mono/reference/tiktok/files/webapp-desktop.839614ee.js
2026-01-29 18:35:51 +01:00

1 line
428 KiB
JavaScript

(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([["93324"],{93140:function(e,t,n){"use strict";e.exports=n.p+"static/assets/pa_prompt.08a5744b.css"},47910:function(e,t,n){"use strict";var r=n(5377),o=n(45996),i=n(2787);n(40099),t.A=function(e){return(0,i.FD)("svg",(0,o._)((0,r._)({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 118 42"},e),{children:[(0,i.Y)("path",{fill:"#25F4EE",d:"M9.875 16.842v-1.119A9 9 0 0 0 8.7 15.64c-4.797-.006-8.7 3.9-8.7 8.708a8.7 8.7 0 0 0 3.718 7.134A8.68 8.68 0 0 1 1.38 25.55c0-4.737 3.794-8.598 8.495-8.707"}),(0,i.Y)("path",{fill:"#25F4EE",d:"M10.086 29.526c2.14 0 3.89-1.707 3.967-3.83l.006-18.968h3.463a7 7 0 0 1-.11-1.202h-4.726l-.006 18.969a3.98 3.98 0 0 1-3.967 3.829 3.9 3.9 0 0 1-1.846-.46 3.95 3.95 0 0 0 3.22 1.662m13.905-16.36v-1.055a6.5 6.5 0 0 1-3.583-1.068 6.57 6.57 0 0 0 3.583 2.123"}),(0,i.Y)("path",{fill:"#FE2C55",d:"M20.409 11.044a6.54 6.54 0 0 1-1.616-4.316h-1.265a6.56 6.56 0 0 0 2.88 4.316M8.706 20.365a3.98 3.98 0 0 0-3.973 3.976c0 1.528.869 2.858 2.134 3.523a3.94 3.94 0 0 1-.754-2.321 3.98 3.98 0 0 1 3.973-3.976c.409 0 .805.07 1.175.185v-4.833a9 9 0 0 0-1.175-.083c-.07 0-.134.006-.204.006v3.708a4 4 0 0 0-1.176-.185"}),(0,i.Y)("path",{fill:"#FE2C55",d:"M23.992 13.166v3.676c-2.453 0-4.727-.786-6.58-2.116v9.622c0 4.8-3.902 8.713-8.706 8.713a8.67 8.67 0 0 1-4.988-1.579 8.7 8.7 0 0 0 6.368 2.781c4.797 0 8.707-3.906 8.707-8.714v-9.621a11.25 11.25 0 0 0 6.579 2.116v-4.73q-.72-.002-1.38-.148"}),(0,i.Y)("path",{fill:"#000",d:"M17.413 24.348v-9.622a11.25 11.25 0 0 0 6.58 2.116v-3.676a6.57 6.57 0 0 1-3.584-2.123 6.6 6.6 0 0 1-2.888-4.315H14.06l-.006 18.968a3.98 3.98 0 0 1-3.967 3.83A3.99 3.99 0 0 1 6.86 27.87a3.99 3.99 0 0 1-2.133-3.523A3.98 3.98 0 0 1 8.7 20.372c.409 0 .805.07 1.175.185v-3.708c-4.701.103-8.495 3.964-8.495 8.701 0 2.29.888 4.373 2.338 5.933a8.67 8.67 0 0 0 4.988 1.58c4.798 0 8.707-3.913 8.707-8.714m12.635-11.17h14.775l-1.355 4.232h-3.832v15.644h-4.778V17.41l-4.804.006zm38.984 0h15.12l-1.355 4.232h-4.17v15.644h-4.785V17.41l-4.804.006zM45.73 19.502h4.733v13.553h-4.708zm6.617-6.374h4.733v9.257l4.689-4.61h5.646l-5.934 5.76 6.644 9.52h-5.213l-4.433-6.598-1.405 1.362v5.236H52.34V13.128zm50.143 0h4.734v9.257l4.688-4.61h5.647l-5.934 5.76 6.643 9.52h-5.206l-4.433-6.598-1.405 1.362v5.236h-4.734zm-54.397 4.826a2.384 2.384 0 0 0 2.382-2.384 2.384 2.384 0 1 0-2.382 2.384"}),(0,i.Y)("path",{fill:"#25F4EE",d:"M83.545 24.942a8.11 8.11 0 0 1 7.473-8.087 9 9 0 0 0-.709-.026c-4.478 0-8.106 3.631-8.106 8.113s3.628 8.113 8.106 8.113c.21 0 .498-.013.71-.026-4.178-.326-7.475-3.823-7.475-8.087"}),(0,i.Y)("path",{fill:"#FE2C55",d:"M92.858 16.83c-.217 0-.505.012-.716.025a8.11 8.11 0 0 1 7.468 8.087 8.11 8.11 0 0 1-7.468 8.087c.211.02.499.026.716.026 4.478 0 8.106-3.631 8.106-8.113s-3.628-8.113-8.106-8.113"}),(0,i.Y)("path",{fill:"#000",d:"M91.58 28.887a3.94 3.94 0 0 1-3.94-3.945 3.94 3.94 0 1 1 7.882 0c0 2.18-1.77 3.945-3.942 3.945m0-12.058c-4.477 0-8.106 3.631-8.106 8.113s3.629 8.113 8.106 8.113 8.106-3.631 8.106-8.113-3.628-8.113-8.106-8.113"})]}))}},28758:function(e,t,n){"use strict";var r=n(5377),o=n(45996),i=n(2787);n(40099),t.A=function(e){return(0,i.FD)("svg",(0,o._)((0,r._)({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 118 30"},e),{children:[(0,i.Y)("path",{fill:"#25F4EE",d:"M9.875 11.842v-1.119A9 9 0 0 0 8.7 10.64c-4.797-.006-8.7 3.9-8.7 8.708a8.7 8.7 0 0 0 3.718 7.134A8.68 8.68 0 0 1 1.38 20.55c0-4.737 3.794-8.598 8.495-8.707"}),(0,i.Y)("path",{fill:"#25F4EE",d:"M10.087 24.526c2.14 0 3.89-1.707 3.966-3.83l.007-18.968h3.462a7 7 0 0 1-.109-1.202h-4.727l-.006 18.968a3.98 3.98 0 0 1-3.967 3.83 3.9 3.9 0 0 1-1.846-.46 3.95 3.95 0 0 0 3.22 1.662m13.905-16.36V7.111a6.5 6.5 0 0 1-3.584-1.067 6.57 6.57 0 0 0 3.584 2.122"}),(0,i.Y)("path",{fill:"#FE2C55",d:"M20.41 6.044a6.54 6.54 0 0 1-1.617-4.316h-1.265a6.56 6.56 0 0 0 2.881 4.316M8.707 15.365a3.98 3.98 0 0 0-3.974 3.976c0 1.528.87 2.858 2.134 3.523a3.94 3.94 0 0 1-.754-2.321 3.98 3.98 0 0 1 3.973-3.976c.41 0 .805.07 1.176.185v-4.833a9 9 0 0 0-1.176-.083c-.07 0-.134.006-.204.006v3.708a4 4 0 0 0-1.175-.185"}),(0,i.Y)("path",{fill:"#FE2C55",d:"M23.992 8.166v3.676a11.25 11.25 0 0 1-6.579-2.116v9.622c0 4.8-3.903 8.713-8.706 8.713a8.67 8.67 0 0 1-4.99-1.579 8.7 8.7 0 0 0 6.37 2.781c4.797 0 8.706-3.906 8.706-8.714v-9.621a11.25 11.25 0 0 0 6.579 2.116v-4.73q-.718-.002-1.38-.148"}),(0,i.Y)("path",{fill:"#fff",d:"M17.413 19.348V9.726a11.25 11.25 0 0 0 6.58 2.116V8.166a6.57 6.57 0 0 1-3.584-2.122 6.6 6.6 0 0 1-2.887-4.316h-3.463l-.006 18.968a3.98 3.98 0 0 1-3.967 3.83 3.99 3.99 0 0 1-3.225-1.656 3.99 3.99 0 0 1-2.134-3.523A3.98 3.98 0 0 1 8.7 15.372c.409 0 .805.07 1.176.185v-3.708c-4.702.103-8.496 3.964-8.496 8.701 0 2.29.888 4.373 2.338 5.933a8.67 8.67 0 0 0 4.989 1.58c4.797 0 8.706-3.913 8.706-8.715M30.048 8.179h14.775l-1.355 4.232h-3.832v15.644h-4.778V12.41l-4.804.006zm38.984 0h15.12l-1.354 4.232h-4.172v15.644h-4.784V12.41l-4.803.006zM45.73 14.502h4.733v13.553h-4.708zm6.617-6.374h4.733v9.257l4.689-4.61h5.647l-5.934 5.76 6.643 9.52h-5.213l-4.433-6.598-1.405 1.362v5.236h-4.733V8.128zm50.143 0h4.734v9.257l4.688-4.61h5.647l-5.934 5.76 6.643 9.52h-5.206l-4.433-6.598-1.405 1.362v5.236h-4.734zm-54.396 4.826a2.384 2.384 0 1 0-.002-4.771 2.384 2.384 0 0 0 .002 4.771"}),(0,i.Y)("path",{fill:"#25F4EE",d:"M83.545 19.942a8.11 8.11 0 0 1 7.473-8.087 9 9 0 0 0-.709-.026c-4.478 0-8.106 3.631-8.106 8.113s3.628 8.113 8.106 8.113c.21 0 .498-.013.71-.026-4.178-.326-7.475-3.823-7.475-8.087"}),(0,i.Y)("path",{fill:"#FE2C55",d:"M92.858 11.83c-.217 0-.505.012-.715.025a8.11 8.11 0 0 1 7.467 8.087 8.11 8.11 0 0 1-7.467 8.087c.21.02.498.026.715.026 4.478 0 8.106-3.631 8.106-8.113s-3.628-8.113-8.106-8.113"}),(0,i.Y)("path",{fill:"#fff",d:"M91.58 23.887a3.94 3.94 0 0 1-3.94-3.945 3.94 3.94 0 1 1 7.882 0c0 2.18-1.77 3.945-3.941 3.945m0-12.058c-4.477 0-8.105 3.631-8.105 8.113s3.628 8.113 8.106 8.113 8.106-3.631 8.106-8.113-3.629-8.113-8.106-8.113"})]}))}},48631:function(e,t,n){"use strict";n.d(t,{Yg:function(){return F},tL:function(){return B},aZ:function(){return p},Ay:function(){return H},W9:function(){return u}});var r,o,i,a,s,c,u,l,d,p,f,v,g,h=n(95170),m=n(79262),_=n(72516),y=n(26089);function b(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,o)}function w(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){b(i,r,o,a,s,"next",e)}function s(e){b(i,r,o,a,s,"throw",e)}a(void 0)})}}var k=new(function(){function e(){return(0,h._)(this,e),this._actionFactoryMap={},e._instance||(e._instance=this),e._instance}var t=e.prototype;return t.init=function(e){this._actionFactoryMap={},this._actionConfig=e},t.registerActionFactory=function(e,t){this._actionFactoryMap[e]=t},t._createAction=function(e){if(!Object.prototype.hasOwnProperty.call(this._actionFactoryMap,e))throw Error("[ActionManager]: ".concat(e," not registered"));var t=this._actionFactoryMap[e].createAction();return t.init(this._actionConfig),t},t.executeAction=function(e){var t=this;return w(function(){var n,r;return(0,_.__generator)(this,function(o){switch(o.label){case 0:try{n=t._createAction(e.processor)}catch(t){return y.LoggingModule.error("[Action ".concat(e.processor,"]: create error"),t),[2]}o.label=1;case 1:return o.trys.push([1,3,,4]),[4,n.execute(e.params)];case 2:return o.sent(),[3,4];case 3:return r=o.sent(),y.LoggingModule.error("[Action ".concat(e.processor,"]: execute error"),r),[3,4];case 4:return n.destruct(),[2]}})})()},t.executeActions=function(e){var t=this;return w(function(){var n,r,o,i,a,s,c,u;return(0,_.__generator)(this,function(l){switch(l.label){case 0:n=e.action_list,r=!0,o=!1,i=void 0,l.label=1;case 1:l.trys.push([1,6,7,8]),a=n[Symbol.iterator](),l.label=2;case 2:if(r=(s=a.next()).done)return[3,5];return c=s.value,[4,t.executeAction(c)];case 3:l.sent(),l.label=4;case 4:return r=!0,[3,2];case 5:return[3,8];case 6:return u=l.sent(),o=!0,i=u,[3,8];case 7:try{r||null==a.return||a.return()}finally{if(o)throw i}return[7];case 8:return[2]}})})()},t.destruct=function(){this._actionFactoryMap={},y.LoggingModule.info("[ActionManager]: destruct")},e}()),P=n(62481);function T(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,o)}var S=(0,n(24683).V)().imFrontier,E=new(function(){function e(){(0,h._)(this,e),this._sdk=null}var t=e.prototype;return t.init=function(e){var t,r=this;return(t=function(){var t,o,i,a,s,c,u,l,d;return(0,_.__generator)(this,function(p){switch(p.label){case 0:if(null!==r._sdk)return y.LoggingModule.info("[CommunicationReceiver]: SyncSdk isInitiated!"),[2];t=e.uid,o=e.wid,i=e.debug,a=e.slardarInstance,s=e.teaInstance,u=(c=!!t)?"67":"85",l={apiUrl:"https://www.tiktok.com",uid:c?t:"0",did:c?t:o.toString(),aid:1988,frontier:{url:S,appKey:"e252eea4204adef812c32f35a4b80f4b",fpid:32,service:0x2000051,method:2},debug:i,slardar:a,tea:s},p.label=1;case 1:return p.trys.push([1,4,,5]),[4,n.e("64887").then(n.bind(n,35242))];case 2:return r._sdk=new(p.sent()).SyncSdk(l),[4,r._sdk.init()];case 3:return p.sent(),r._sdk.registerBusiness(u,function(t){var n=new TextDecoder().decode(t.data);y.LoggingModule.info("[CommunicationServiceSDK]: CommunicationReceiver received data ".concat(n)),e.onReceiveData(n)}),[3,5];case 4:return d=p.sent(),y.LoggingModule.error("[CommunicationServiceSDK]: CommunicationReceiver init and register bytesync failed: ".concat(d)),[3,5];case 5:return[2]}})},function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(e){T(i,r,o,a,s,"next",e)}function s(e){T(i,r,o,a,s,"throw",e)}a(void 0)})})()},t.destruct=function(){y.LoggingModule.info("[CommunicationServiceSDK]: CommunicationReceiver destruct"),this._sdk&&(this._sdk.dispose(),this._sdk=null)},e}());(r=u||(u={})).POPUP="PopupShowProcessor",r.SCREEN_TIME="ScreenTimeProcessor",r.LOGOUT="LogoutProcessor",r.REDIRECT="RedirectProcessor",r.PPF="PPFProcessor",r.PPFRefresh="PPFRefreshProcessor",(o=l||(l={})).POPUP_V2="POPUP_V2",o.COMMUNICATION="COMMUNICATION";(i=d||(d={})).PRODUCTION="production",i.DEV="dev",i.BOE="boe",(a=p||(p={}))[a.COLD_START=0]="COLD_START",a[a.PULL=4]="PULL",(s=f||(f={})).US_EAST="US-East",s.US_EASTRED="US-EastRed",s.SINGAPORE_CENTRAL="Singapore-Central",s.EU_TTP="EU-TTP",s.EU_TTP2="EU-TTP2",s.US_TTP="US-TTP",s.US_TTP2="US-TTP2";var A=n(48748),L=n(7120);function C(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,o)}var O=function(e){function t(){return(0,h._)(this,t),(0,A._)(this,t,arguments)}(0,L._)(t,e);var n=t.prototype;return n.getAPIPath=function(){return"/tiktok/popup/dispatch/v1"},n.processData=function(e){if(e&&(e.policy_notices||e.popup_responses))return{schema_version:"",message_id:"",create_time:"",action_list:[{processor:u.POPUP,params:JSON.stringify(e),necessary:!0}]}},t}(function(){function e(){(0,h._)(this,e),this.apiDomain="",this.dataLoaderEndpoint="",this.apiPath=this.getAPIPath()}var t=e.prototype;return t.init=function(e){this.apiDomain=e.apiDomain,this.dataLoaderEndpoint="".concat(this.apiDomain).concat(this.apiPath)},t._fetch=function(e,t){return y.LoggingModule.info("[CommunicationLoaderModule]: fetch ",this.dataLoaderEndpoint),y.ServiceModule.sendRequest(this.dataLoaderEndpoint,"GET",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({scene:e},t))},t.loadData=function(e,t){var n,r=this;return(n=function(){var n,o,i;return(0,_.__generator)(this,function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,r._fetch(e,t)];case 1:if(0===(null!=(o=null==(n=a.sent())?void 0:n.data)?o:{}).status_code)return[2,r.processData(o)];return y.LoggingModule.error("[CommunicationLoaderModule]: fetch - invalid response",n),[2,void 0];case 2:return i=a.sent(),y.LoggingModule.error("[CommunicationLoaderModule]: fetch - fail to fetch",i),[2,void 0];case 3:return[2]}})},function(){var e=this,t=arguments;return new Promise(function(r,o){var i=n.apply(e,t);function a(e){C(i,r,o,a,s,"next",e)}function s(e){C(i,r,o,a,s,"throw",e)}a(void 0)})})()},t.destruct=function(){},e}()),I=function(e){var t={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=e[n];void 0!==r&&(t[n]=String(r))}return t},x=n(35383);(c=v||(v={})).SDK_INIT="sdk_init",c.EXECUTE="execute",c.SEND_CALLBACK="send_callback";var N=(g={},(0,x._)(g,"sdk_init","pns_communication_service_init"),(0,x._)(g,"execute","pns_communication_service_execute"),(0,x._)(g,"send_callback","pns_communication_service_send_callback"),g);function D(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,o)}function M(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){D(i,r,o,a,s,"next",e)}function s(e){D(i,r,o,a,s,"throw",e)}a(void 0)})}}var R=new(function(){function e(){var t,n,r=this;(0,h._)(this,e),this._isInitialized=!1,this._actionExecutionInProgress=!1,this._isActionExecuting=function(){return!!r._actionExecutionInProgress&&(y.LoggingModule.info("[CommunicationServiceSDK]: actionExecutionInProgress is true!"),!0)};var o=this;this.execute=(t=M(function(e,t){var n,r,i;return(0,_.__generator)(this,function(a){switch(a.label){case 0:if(!o._isInitialized||o._isActionExecuting())return[2];y.LoggingModule.reportCUJ(v.EXECUTE,P.PY.START),a.label=1;case 1:return a.trys.push([1,4,,5]),o._actionExecutionInProgress=!0,y.LoggingModule.reportCUJ(v.EXECUTE,P.PY.IN_PROGRESS,{stepName:"LOAD_DATA_START"}),[4,null==(n=o._dataLoader)?void 0:n.loadData(e,t)];case 2:if(r=a.sent(),y.LoggingModule.reportCUJ(v.EXECUTE,P.PY.IN_PROGRESS,{stepName:"LOAD_DATA_FINISH"}),!r)return o._actionExecutionInProgress=!1,y.LoggingModule.reportCUJ(v.EXECUTE,P.PY.FINISH),[2];return[4,k.executeActions(r)];case 3:return a.sent(),o.onActionsComplete(),o._actionExecutionInProgress=!1,y.LoggingModule.reportCUJ(v.EXECUTE,P.PY.FINISH),[3,5];case 4:return i=a.sent(),o._actionExecutionInProgress=!1,y.LoggingModule.reportCUJ(v.EXECUTE,P.PY.FAILURE,{error:i}),[3,5];case 5:return[2]}})}),function(e,n){return t.apply(this,arguments)});var i=this;return this._executeActions=(n=M(function(e){var t;return(0,_.__generator)(this,function(n){switch(n.label){case 0:if(i._isActionExecuting())return[2];return i._actionExecutionInProgress=!0,t=JSON.parse(e),[4,k.executeActions(t)];case 1:return n.sent(),i.onActionsComplete(),i._actionExecutionInProgress=!1,[2]}})}),function(e){return n.apply(this,arguments)}),e._instance||(e._instance=this),e._instance}var t=e.prototype;return t.init=function(e){var t;if(!this._isInitialized){y.LoggingModule.init({debug:null!=(t=e.debug)&&t,monitorModuleConfig:{teaEventNameFormatter:function(e){return N[e]}}},{region:e.deploymentRegion,bid:"pns_communication_service",appId:e.appId,mode:e.mode,debug:e.debug,consumerBid:e.scene,version:"1.0.1"}),y.LoggingModule.reportCUJ(v.SDK_INIT,P.PY.START);try{this._isInitialized=!0,this._dataLoader=new O,this._dataLoader.init(e),this._callbackAPI="".concat(e.apiDomain).concat("/tiktok/popup/callback/v1"),k.init({lang:e.lang}),E.init(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({onReceiveData:this._executeActions},e)),y.ServiceModule.init({domain:e.apiDomain,commonParams:{region:e.region,priority_region:e.region,aid:e.appId,device_id:e.wid,app_language:e.lang,device_platform:e.isMobile?"web_mobile":"web_pc"}}),this._onComplete=e.onComplete,y.LoggingModule.reportCUJ(v.SDK_INIT,P.PY.FINISH)}catch(e){y.LoggingModule.reportCUJ(v.SDK_INIT,P.PY.FAILURE,{error:e})}}},t.isInitialized=function(){return y.LoggingModule.info("[CommunicationServiceSDK]: SDK isInitialized!"),this._isInitialized},t.registerActionFactory=function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=e[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var a=o.value;k.registerActionFactory(a.key,a.instance)}}catch(e){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}},t.onActionsComplete=function(){y.LoggingModule.info("[CommunicationServiceSDK]: onActionsComplete"),this._onComplete&&this._onComplete()},t.sendCallbackRequest=function(e){var t=this;return M(function(){var n,r;return(0,_.__generator)(this,function(o){switch(o.label){case 0:y.LoggingModule.reportCUJ(v.SEND_CALLBACK,P.PY.START),o.label=1;case 1:return o.trys.push([1,3,,4]),n=(void 0===e?"undefined":(0,m._)(e))==="object"?new URLSearchParams(I(e)):e,[4,y.ServiceModule.sendRequest(t._callbackAPI,"POST",n,{headers:{"Content-Type":"application/x-www-form-urlencoded"}})];case 2:return o.sent(),y.LoggingModule.info("[Action]: sendCallback success"),y.LoggingModule.reportCUJ(v.SEND_CALLBACK,P.PY.FINISH),[3,4];case 3:return r=o.sent(),y.LoggingModule.error("[Action]: sendCallback error",r),y.LoggingModule.reportCUJ(v.SEND_CALLBACK,P.PY.FAILURE,{error:r}),[3,4];case 4:return[2]}})})()},t.destruct=function(){y.LoggingModule.info("[CommunicationServiceSDK]: destruct"),y.ServiceModule.destruct(),y.LoggingModule.destruct(),k.destruct(),E.destruct(),this._dataLoader=void 0,this._isInitialized=!1},e}()),j=n(41386);function U(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,o)}var F=function(){function e(){var t,n,r=this;(0,h._)(this,e),this.lang="";var o=this;this.execute=(t=function(e){return(0,_.__generator)(this,function(t){o.processData(e);try{o.executeAction()}catch(e){if((0,j._)(e,Error))return[2,Promise.reject(e)];return[2,Promise.reject(Error("[Action ".concat(o._actionType,"]: execute fail with unknown error")))]}return[2,new Promise(function(e){o._executionResolve=e})]})},n=function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(e){U(i,r,o,a,s,"next",e)}function s(e){U(i,r,o,a,s,"throw",e)}a(void 0)})},function(e){return n.apply(this,arguments)}),this.completeAction=function(){r._executionResolve?r._executionResolve():y.LoggingModule.error("[Action ".concat(r._actionType,"]: try to complete action before execution"));try{var e;null==(e=r.onActionComplete)||e.call(r)}catch(e){(0,j._)(e,Error)?y.LoggingModule.error("[Action ".concat(r._actionType,"]: onActionComplete fail with error: ").concat(e.message)):y.LoggingModule.error("[Action ".concat(r._actionType,"]: onActionComplete fail with unknown error"))}},this._actionType=this.getActionType(),this.dataModel=null}var t=e.prototype;return t.init=function(e){this.lang=e.lang},t.destruct=function(){y.LoggingModule.info("[Action ".concat(this._actionType,"]: destruct")),this.dataModel=null},e}(),B=function e(){(0,h._)(this,e)},H=R},62481:function(e,t,n){"use strict";n.d(t,{Gy:function(){return K},PY:function(){return d},tH:function(){return W},V7:function(){return z},Wk:function(){return H},Q_:function(){return B}});var r,o,i,a,s,c,u,l,d,p,f,v=n(95170);(r=c||(c={})).CUSTOM="CUSTOM",r.ACTUAL_FMP="ACTUAL_FMP",(o=u||(u={})).ABORT="ABORT",o.CRASH="CRASH",(i=l||(l={})).normal="normal",i.noRecord="noRecord",i.noInternet="noInternet",i.error="error",(a=d||(d={})).START="START",a.IN_PROGRESS="IN_PROGRESS",a.FAILURE="FAILURE",a.FINISH="FINISH",a.ABORT="ABORT";var g=n(54333),h=function(){if("undefined"==typeof window||void 0===window.performance||"function"!=typeof window.performance.getEntriesByType)return{};var e=window.performance.getEntriesByType("mark").filter(function(e){return e.name.startsWith("pns_privacy_product_mark")}),t=window.performance.getEntriesByType("measure").filter(function(e){return e.name.startsWith("pns_privacy_product_duration")});return(0,g._)(e).concat((0,g._)(t)).map(function(e){return{duration:e.duration,entryType:e.entryType,name:e.name,startTime:e.startTime}}).reduce(function(e,t){return e[t.name]="mark"===t.entryType?Math.floor(t.startTime):Math.floor(t.duration),e},{})},m=function(){if("undefined"==typeof window||void 0===window.performance||"function"!=typeof window.performance.measure||"function"!=typeof window.performance.getEntriesByName)return -1;window.performance.measure("DCL","fetchStart","domContentLoadedEventEnd");var e=window.performance.getEntriesByName("DCL");return e.length>0?e[0].duration:-1},_=function(e,t){e("sendCustomPerfMetric",{name:"actual_fmp",value:t})},y=function(){var e,t,n="unknown",r=null!=(t=null==(e=navigator)?void 0:e.userAgent)?t:"";return/android|Android/i.test(r)&&(n="Android"),/iPhone|iPad|iPod|iOS/i.test(r)&&(n="iOS"),{os:n,isAndroid:"Android"===n,isIOS:"iOS"===n}},b=function(e,t){if(t){var n,r,o,i,a,s,c,u,l={method:e,params:t};if("undefined"!=typeof NativeModules){var d,p,f=null==(p=NativeModules)||null==(d=p.hybridMonitor)?void 0:d.request;null==f||f(l,function(){});return}var v=y();v.isIOS?null==(a=window)||null==(i=a.webkit)||null==(o=i.messageHandlers)||null==(r=o.bdhmRequest)||null==(n=r.postMessage)||n.call(r,l):v.isAndroid&&(null==(u=window)||null==(c=u.iesJsBridgeTransferMonitor)||null==(s=c.request)||s.call(c,JSON.stringify(l)))}},w=function(e,t,n){b("timing.mark",{key:e,value:void 0===t?Date.now():t,description:n||""})},k=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"undefined"==typeof location||"undefined"==typeof URLSearchParams?"":new URLSearchParams(location.search).get(e)||t},P=function(){var e,t;return{scm_version:"undefined"==typeof window?"":null!=(t=null==(e=window.gfdatav1)?void 0:e.ver)?t:"",path:"undefined"==typeof location?"":location.pathname,enter_from:k("enter_from"),host:"undefined"==typeof location?"":location.host}};function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function S(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var E={pageCrash:!1,cuj:!1},A=function e(){var t=this;(0,v._)(this,e),this.slardarWindowGlobalName="",this.slardarHybridGlobalName="",this._shouldReportJSError={pageCrash:!1,cuj:!1},this.initSlardar=function(e){try{var n=null!=e?e:{},r=n.slardarContainer,o=n.slardarWindowGlobalName,i=n.slardarHybridGlobalName,a=n.sparkMonitor,s=n.reportActualFMP,c=n.shouldReportJSError;"string"==typeof o&&(t.slardarWindowGlobalName=o),"string"==typeof i&&(t.slardarHybridGlobalName=i),"function"==typeof s&&(t.reportTTAPActualFMP=s),void 0!==a&&(t.sparkMonitor=a),void 0!==r&&"function"==typeof r.sendEvent&&"function"==typeof r.reportActualFMP&&(t.slardarContainer=r),t._shouldReportJSError=T({},E,null!=c?c:{})}catch(e){}},this.initJSB=function(e){t.jsbBridge=e},this.sendEvent=function(e){try{var n,r;if(t.slardarWindowGlobalName&&"function"==typeof(null==(n=window)?void 0:n[t.slardarWindowGlobalName])&&window[t.slardarWindowGlobalName]("sendEvent",null!=e?e:{}),t.slardarHybridGlobalName&&"function"==typeof(null==(r=window)?void 0:r[t.slardarHybridGlobalName])){var o=null!=e?e:{},i=o.name,a=o.categories,s=S(o,["name","categories"]);window[t.slardarHybridGlobalName]("emit","custom",T({eventName:void 0===i?"":i,level:0,category:a},s))}t.slardarContainer&&t.slardarContainer.sendEvent(e)}catch(e){}},this._sendError=function(e,n){if(t._shouldReportJSError)try{var r,o;if(t.slardarWindowGlobalName&&"function"==typeof(null==(r=window)?void 0:r[t.slardarWindowGlobalName])&&window[t.slardarWindowGlobalName]("captureException",e,n),t.slardarHybridGlobalName&&"function"==typeof(null==(o=window)?void 0:o[t.slardarHybridGlobalName])){var i=null!=n?n:{},a=i.name,s=S(i,["name"]);window[t.slardarHybridGlobalName]("captureException",e,T({eventName:void 0===a?"":a,level:0},s))}t.slardarContainer&&"function"==typeof t.slardarContainer.captureException&&t.slardarContainer.captureException(e,n)}catch(e){}},this.sendPageCrashError=function(e,n){t._shouldReportJSError.pageCrash&&t._sendError(e,n)},this.sendCUJError=function(e,n){t._shouldReportJSError.cuj&&t._sendError(e,n)},this.teaReport=function(e){var n,r;"undefined"!=typeof window&&"function"==typeof(null==(n=window)?void 0:n.collectEvent)&&(null==(r=window)||r.collectEvent(e.name,T({},e.metrics,e.categories,P()))),t.jsbBridge&&t.jsbBridge.x.reportAppLog({eventName:e.name,params:T({},e.metrics,e.categories,P())})},this.resetTeaModule=function(){t.jsbBridge=void 0},this.resetSlardarModule=function(){t.slardarContainer=void 0,t.slardarWindowGlobalName="",t.slardarHybridGlobalName="",t.sparkMonitor=void 0,t.reportTTAPActualFMP=void 0}};(s=f||(f={})).FBJS="pns_privacy_product_mark_fbjs",s.AFMP="pns_privacy_product_mark_afmp";var L=(null==(p=performance.timing)?void 0:p.navigationStart)||performance.timeOrigin;function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function O(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var I=function(){function e(t){var n=this,r=this;(0,v._)(this,e),this._hasReportedActualFMP=!1,this._hasReportedFBJS=!1,this.reportFBJS=function(){if(!n._hasReportedFBJS){n._hasReportedFBJS=!0;var e,t,r,o,i=Date.now();window.TTAP_APPPARSE_STARTTIME=i,"function"==typeof(null==(e=n._trackingContext.sparkMonitor)?void 0:e.mark)?n._trackingContext.sparkMonitor.mark("fbjs"):n._trackingContext.slardarHybridGlobalName&&"function"==typeof(null==(t=window)?void 0:t[n._trackingContext.slardarHybridGlobalName])&&w("fbjs"),null==(o=performance)||null==(r=o.mark)||r.call(o,"pns_privacy_product_mark_fbjs"),n._trackingContext.sendEvent({name:f.FBJS,metrics:{cost_ms:i-L},categories:C({},P())})}},this.reportActualFMP=function(){var e,t,n,o,i,a,s,c,u,d,p,v=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.normal;if(!r._hasReportedActualFMP){r._hasReportedActualFMP=!0;var g=[l.normal,l.noRecord].includes(v),y=Date.now();null==(t=performance)||null==(e=t.mark)||e.call(t,"pns_privacy_product_mark_afmp"),g&&("function"==typeof(null==(i=r._trackingContext.sparkMonitor)?void 0:i.mark)?r._trackingContext.sparkMonitor.mark("fmp"):r._trackingContext.slardarHybridGlobalName&&"function"==typeof(null==(a=window)?void 0:a[r._trackingContext.slardarHybridGlobalName])&&w("fmp"),"function"==typeof(null==(s=r._trackingContext)?void 0:s.reportTTAPActualFMP)?r._trackingContext.reportTTAPActualFMP():r._trackingContext.slardarWindowGlobalName&&"function"==typeof(null==(c=window)?void 0:c[r._trackingContext.slardarWindowGlobalName])&&_(null==(u=window)?void 0:u[r._trackingContext.slardarWindowGlobalName],y-L)),r._trackingContext.slardarHybridGlobalName&&"function"==typeof(null==(n=window)?void 0:n[r._trackingContext.slardarHybridGlobalName])&&(null==(p=window)||null==(d=p[r._trackingContext.slardarHybridGlobalName])||d.call(p,"sendCustomPerfMetric",{name:"actual_fmp",value:y-L})),r._trackingContext.sendEvent({name:f.AFMP,metrics:O(C({costMs:y-L},h()),{pns_privacy_product_mark_dcl:m()}),categories:C({isSuccess:g?"1":"0",scene:v},P())}),r._trackingContext.teaReport({name:f.AFMP,metrics:O(C({costMs:y-L},h()),{pns_privacy_product_mark_dcl:m()}),categories:{isSuccess:g?"1":"0",scene:v}}),"function"==typeof(null==(o=r._trackingContext.slardarContainer)?void 0:o.reportActualFMP)&&r._trackingContext.slardarContainer.reportActualFMP()}},this._trackingContext=t}return e.prototype.resetForSPA=function(){this._hasReportedActualFMP=!1},e}(),x=n(35383),N=n(79262),D=function(){var e,t,n;return(null==(t=performance)||null==(e=t.timing)?void 0:e.navigationStart)||(null==(n=performance)?void 0:n.timeOrigin)},M=function(e){var t=0;try{performance.mark("error"),t=performance.measure("navigationStart_to_error","navigationStart","error").duration,performance.clearMarks("error"),performance.clearMeasures("navigationStart_to_error")}catch(e){t=Date.now()-D()}(void 0===e?"undefined":(0,N._)(e))==="object"&&(e._triggerTime=t)},R=function(){var e;if(null==(e=console)?void 0:e.error){var t=console.error;console.error=function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];M(e),t.apply(void 0,[e].concat((0,g._)(r)))}}},j=function(){window._bound_error_time||(window._bound_error_time=!0,R())},U=function(){function e(t){var n=this,r=this;(0,v._)(this,e),this._hasReportedPageReady=!1,this._hasReportedPageCrash=!1,this._hasReportedUserDrop=!1,this._pageReadyTimestamp=-1,this._cuj={},this.reportPageReady=function(){if(!n._hasReportedPageReady&&!n._hasReportedUserDrop&&!n._hasReportedPageCrash){n._hasReportedPageReady=!0;var e=0;try{performance.mark("pageReady"),e=performance.measure("navigationStart_to_pageReady","navigationStart","pageReady").duration}catch(t){e=Date.now()-D()}n._pageReadyTimestamp=e,n._trackingContext.sendEvent({name:"page_ready",metrics:{time:e}})}},this.reportUserDrop=function(){if(!n._hasReportedPageReady&&!n._hasReportedUserDrop){n._hasReportedUserDrop=!0;var e=0;try{performance.mark("userDrop"),e=performance.measure("navigationStart_to_userDrop","navigationStart","userDrop").duration}catch(t){e=Date.now()-D()}n._trackingContext.sendEvent({name:"user_drop",metrics:{time:e},categories:{reason:n._hasReportedPageCrash?u.CRASH:u.ABORT}})}},this.reportPageCrash=function(e){var t,n,o,i,a,s,c=arguments.length>1&&void 0!==arguments[1]&&arguments[1],u=arguments.length>2?arguments[2]:void 0;if(!r._hasReportedUserDrop&&!r._hasReportedPageCrash){r._hasReportedPageCrash=!0;var l=null!=e?e:{},d=l.name,p=l.message,f=l.stack,v=l._triggerTime,g=0;try{performance.mark("pageCrashReporting"),g=performance.measure("navigationStart_to_pageCrashReporting","navigationStart","pageCrashReporting").duration}catch(e){g=Date.now()-D()}var h=c?void 0===v?0:v:g,m=h<r._pageReadyTimestamp||!r._hasReportedPageReady,_=g<r._pageReadyTimestamp||!r._hasReportedPageReady;r._trackingContext.sendEvent({name:"page_crash",metrics:{time:null!=h?h:0},categories:{isTriggeredBeforePageReady:m,isReportedBeforePageReady:_,name:void 0===d?"":d,message:null!=(i=null==p||null==(t=p.substring)?void 0:t.call(p,0,256))?i:"",stack:null!=(a=null==f||null==(n=f.substring)?void 0:n.call(f,0,256))?a:"",componentStack:null!=(s=null==u||null==(o=u.substring)?void 0:o.call(u,0,256))?s:""}}),e&&r._trackingContext.sendPageCrashError(e,{name:"page_crash",isTriggeredBeforePageReady:""+m,isReportedBeforePageReady:""+_})}},this.reportCUJ=function(e,t,r){var o,i,a,s,c,u,l,p="cuj_".concat(e,"_").concat(d.START),f="cuj_".concat(e,"_").concat(t).replace(/\s/g,"_"),v=0,g=0;try{performance.mark(f),v=performance.measure("navigationStart_to_".concat(f),"navigationStart",f).duration,g=performance.measure("".concat(p,"_to_").concat(f),p,f).duration}catch(r){if(v=Date.now()-D(),t===d.START)n._cuj[e]=(0,x._)({},d.START,Date.now()),g=0;else{if(!n._cuj[e])return;n._cuj[e][t]=Date.now(),g=n._cuj[e][t]-(null!=(a=n._cuj[e][d.START])?a:0)}}var h=null!=r?r:{},m=h.error,_=h.detail,y=h.stepName,b="string"==typeof m?m:null!=(s=null==m?void 0:m.toString())?s:"",w=_||(null!=(c=null==m?void 0:m.stack)?c:"");n._trackingContext.sendEvent({name:"pns_cuj",metrics:{timestamp:v,duration:g},categories:{status:t,name:e,stepName:y,error:null!=(u=null==b||null==(o=b.substring)?void 0:o.call(b,0,256))?u:"",detail:null!=(l=null==w||null==(i=w.substring)?void 0:i.call(w,0,256))?l:""}}),t===d.FAILURE&&m&&n._trackingContext.sendCUJError(m,{stepName:y,cujName:e,status:t,name:"pns_cuj"})},this._trackingContext=t}return e.prototype.resetForSPA=function(){this._hasReportedPageReady=!1,this._hasReportedPageCrash=!1,this._hasReportedUserDrop=!1,this._pageReadyTimestamp=-1,this._cuj={}},e}(),F={},B=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=!1,n=function(){function e(){var n,r=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=this;return(0,v._)(this,e),this._pageReadyTiming=c.ACTUAL_FMP,this.init=function(e){try{if(t)return;t=!0;var n=null!=e?e:{},o=n.slardarContainer,i=n.slardarWindowGlobalName,a=n.slardarHybridGlobalName,s=n.sparkMonitor,u=n.reportActualFMP,l=n.pageReadyTiming,d=void 0===l?c.CUSTOM:l,p=n.jsbBridge,f=n.shouldReportJSError,v=n.shouldRegisterUserDrop;r._pageReadyTiming=d,r._trackingContext.initSlardar({slardarContainer:o,slardarWindowGlobalName:i,slardarHybridGlobalName:a,sparkMonitor:s,reportActualFMP:u,shouldReportJSError:void 0===f?{}:f}),p&&r._trackingContext.initJSB(p),j(),(void 0===v||v)&&r._registerUserDropEvent()}catch(e){}},this._registerUserDropEvent=function(){window.addEventListener("beforeunload",r.reportUserDrop,!0)},this.reportPageReady=function(e){r._stabilityTracker.reportPageReady(),r._pageReadyTiming===c.ACTUAL_FMP&&r._perfTracker.reportActualFMP(e)},this.reportUserDrop=function(){r._stabilityTracker.reportUserDrop()},this.reportPageCrash=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0;i._stabilityTracker.reportPageCrash(e,t,n)},this.reportFBJS=function(){r._perfTracker.reportFBJS()},this.reportActualFMP=function(e){r._perfTracker.reportActualFMP(e)},this.reportCUJ=function(e,t,n){r._stabilityTracker.reportCUJ(e,t,n)},o?(F[o]=this,n=this):(e._instance||(e._instance=this),n=e._instance),this._trackingContext=new A,this._perfTracker=new I(this._trackingContext),this._stabilityTracker=new U(this._trackingContext),n}var n=e.prototype;return n.resetForSPA=function(){this._stabilityTracker.resetForSPA(),this._perfTracker.resetForSPA()},n.reset=function(){this.resetForSPA(),t=!1,this._trackingContext.resetSlardarModule(),this._trackingContext.resetTeaModule()},n.isInitialized=function(){return t},e}();return e?(F[e]||(F[e]=new n(e)),F[e]):new n},H=B(),Y=n(48748),V=n(7120),q=n(24643),G=n(40099),W=function(e){function t(e){var n;return(0,v._)(this,t),(n=(0,Y._)(this,t,[e])).state={hasError:!1},n}(0,V._)(t,e);var n=t.prototype;return n.componentDidCatch=function(e,t){!1!==this.props.shouldReport&&H.reportPageCrash(e,!0,t.componentStack),this.props.onError&&this.props.onError(e,t)},n.render=function(){if(this.state.hasError){var e;return null!=(e=this.props.fallback)?e:(0,q.jsx)("div",{})}return this.props.children},t.getDerivedStateFromError=function(){return{hasError:!0}},t}(G.Component),z=function(e){var t=e.children,n=e.cujName,r=e.shouldReportPageCrush,o=e.fallback,i=(0,G.useCallback)(function(e){n&&H.reportCUJ(n,d.FAILURE,{error:e})},[n]);return(0,q.jsx)(W,{shouldReport:void 0!==r&&r,fallback:o,onError:i,children:t})},K=function(){(0,G.useEffect)(function(){setTimeout(function(){H.reportPageReady()},0)},[])}},26089:function(e,t,n){"use strict";n.d(t,{ServiceModule:function(){return M},MonitorModule:function(){return T},LoggingModule:function(){return E}});var r,o,i,a,s,c,u=n(48748),l=n(95170),d=n(7120),p=n(41386),f=n(48640),v=n(62481),g=n(60012),h="0.0.0",m="pns_sdk_common_modules";(r=a||(a={})).US_EAST="US-East",r.US_EASTRED="US-EastRed",r.SINGAPORE_CENTRAL="Singapore-Central",r.EU_TTP="EU-TTP",r.EU_TTP2="EU-TTP2",r.US_TTP="US-TTP",r.US_TTP2="US-TTP2",(o=s||(s={})).PRODUCTION="production",o.DEV="dev",o.BOE="boe";var _=function e(t,n){var r,o,i=this;(0,l._)(this,e),this.sendEvent=function(e){i._client&&i._client.sendEvent&&i._client.sendEvent(e)},this.reportActualFMP=function(){};var c=(null!=t?t:{}).slardar,u=null!=n?n:{},d=u.region,p=void 0===d?a.US_EAST:d,f=u.bid,v=u.mode,_=void 0===v?s.PRODUCTION:v,y=u.consumerBid,b=u.version;this._client=(0,g.createBrowserClient)();var w={};switch(p){case a.US_EASTRED:case a.EU_TTP:case a.EU_TTP2:w={domain:"https://mon-i18n.tiktokv.com",pluginPathPrefix:"https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/slardar/fe/sdk-web/plugins"};break;case a.US_TTP:case a.US_TTP2:w={domain:"https://mon16-normal-useast5.tiktokv.us",pluginPathPrefix:"https://lf16-cdn-tos.tiktokcdn-us.com/obj/static-tx/slardar/fe/sdk-web/plugins"};break;case a.US_EAST:case a.SINGAPORE_CENTRAL:default:w={domain:"https://mon.tiktokv.com",pluginPathPrefix:"https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/slardar/fe/sdk-web/plugins"}}this._client&&(this._client("init",(r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},w,c),o=o={bid:void 0===f?m:f,pid:y||window.location.href,release:void 0===b?h:b,env:_,plugins:{pageview:!1,jsError:!1,tti:!1,performance:!1,resource:!1,ajax:!1,fetch:!1,fmp:!1,blankScreen:!1}},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(o)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}),r)),this._client("start"))},y=function(e,t){var n=null;if((null==e?void 0:e.slardar)!==!1)try{n=new _(e,t)}catch(e){}return n},b=n(80249);function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}var k=function(e){var t={};switch(e){case a.US_EASTRED:t={channel:"in",channel_type:"tcpy",channel_domain:"https://mcs-i18n.tiktok.com"};break;case a.EU_TTP:t={channel:"ie",channel_type:"ttp",channel_domain:"https://mcs-ie.tiktokw.eu"};break;case a.EU_TTP2:t={channel:"ie2",channel_type:"ttp",channel_domain:"https://mcs-ie2.tiktokw.eu"};break;case a.US_TTP:t={channel_type:"ttp",channel_domain:"https://mcs.tiktokv.us"};break;case a.US_TTP2:t={channel_type:"ttp",channel_domain:"https://mcs.tiktokw.us"};break;case a.SINGAPORE_CENTRAL:t={channel:"sg",channel_type:"tcpy",channel_domain:"https://mcs-sg.tiktokv.com"};break;case a.US_EAST:t={channel:"va",channel_type:"tcpy",channel_domain:"https://mcs-va.tiktokv.com"}}return t},P=function(e,t){var n=null;if((null==e?void 0:e.tea)!==!1)try{var r=(null!=e?e:{}).tea,o=null!=t?t:{},i=o.appId,a=o.region,s=o.debug,c=k(a),u=w({},c,null!=r?r:{});u&&u.channel_type&&(u.channel||u.channel_domain)&&((n=new b.Collector("".concat(m,"_").concat(h,"_").concat(Date.now()))).init(w({app_id:null!=i?i:1988,log:s},u)),n.start())}catch(e){}return n},T=function e(t){var n=this;(0,l._)(this,e),this._tea=null,this._slardar=null,this._useSingleton=!1,this._isInitialized=!1,this.init=function(e,t){if(!n._isInitialized){n._isInitialized=!0;var r=null!=t?t:{},o=r.bid,i=r.version;n._name="".concat(void 0===o?m:o,"_").concat(void 0===i?h:i,"_").concat(Date.now()),n._trackingModule=n._useSingleton?v.Wk:(0,v.Q_)(n._name),n._tea=P(e,t),n._teaEventNameFormatter=null==e?void 0:e.teaEventNameFormatter,n._slardar=y(e,t),n._slardar&&n._trackingModule.init({slardarContainer:n._slardar})}},this.reportCUJ=function(e,t,r){if(e)try{if(n._trackingModule.reportCUJ(e,t,r),n._tea){var o,i;n._tea.event(null!=(i=null==(o=n._teaEventNameFormatter)?void 0:o.call(n,e))?i:e,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({status:t},null!=r?r:{}))}}catch(e){}},this._useSingleton=null!=t&&t},S=function(){function e(){(0,l._)(this,e),this.debug=!1,this.meta={}}var t=e.prototype;return t.init=function(e){this.debug=e.debug,this.meta=e.meta},t.send=function(e){},t.info=function(e,t){},t.warn=function(e,t){},t.error=function(e,t){},t.getMeta=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return{}},t.destruct=function(){},e}();(i=c||(c={})).INFO="info",i.WARN="warn",i.ERROR="error";var E=new(function(e){function t(){var e;return(0,l._)(this,t),(e=(0,u._)(this,t))._monitorModule=new T,e.debug=!1,t._instance||(t._instance=e),(0,f._)(e,t._instance)}(0,d._)(t,e);var n=t.prototype;return n.init=function(e,t){this.meta=e.meta,this.debug=e.debug,e.monitorModuleConfig&&this._monitorModule.init(e.monitorModuleConfig,t),e.customLoggingModule&&(0,p._)(e.customLoggingModule,S)?this._customLogger=e.customLoggingModule:this.warn("[LoggingModule]: init - incorrect implementation of LoggingModule")},n.sendDebugMessage=function(e){if(this.debug){var t=e.level;console[t](e.message,e);try{chrome.runtime.sendMessage(e)}catch(e){}}},n.send=function(e){this.sendDebugMessage(e)},n.getMeta=function(){return this.meta},n.info=function(e,t){var n;"function"==typeof(null==(n=this._customLogger)?void 0:n.info)&&this._customLogger.info(e,t),this.send({message:e,level:c.INFO,meta:this.meta,data:t})},n.warn=function(e,t){var n;"function"==typeof(null==(n=this._customLogger)?void 0:n.warn)&&this._customLogger.warn(e,t),this.send({message:e,level:c.WARN,meta:this.meta,data:t})},n.error=function(e,t){var n;"function"==typeof(null==(n=this._customLogger)?void 0:n.error)&&this._customLogger.error(e,t),this.send({message:e,level:c.ERROR,meta:this.meta,data:t})},n.destruct=function(){var e;"function"==typeof(null==(e=this._customLogger)?void 0:e.destruct)&&this._customLogger.destruct()},n.reportCUJ=function(e,t,n){this._monitorModule.reportCUJ(e,t,n)},t}(S)),A=n(6586),L=n(79262),C=n(4237),O=n(84650),I=n.n(O);function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}var N=/^(https?:\/\/)/,D=function(e){if(!e)return"";var t=new URLSearchParams;return Object.entries(e).forEach(function(e){var n=(0,A._)(e,2),r=n[0],o=n[1];Array.isArray(o)?o.forEach(function(e){t.append(r,e)}):null!=o&&t.append(r,o)}),t.toString()},M=new function e(){var t=this;return(0,l._)(this,e),this.init=function(e){E.info("[ServiceModule]: init"),t._domain=e.domain||"https://www.tiktok.com",t._commonParams=e.commonParams||{}},this.sendRequest=function(e,n,r,o){var i=new URL(N.test(e)?e:"".concat(t._domain).concat(e)),a=Array.from(i.searchParams.entries()).reduce(function(e,t){var n=(0,A._)(t,2),r=n[0],o=n[1];return(void 0!==o||""!==o)&&(e[r]=o),e},{}),s=null!=o?o:{},c=s.params,u=s.timeout,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(s,["params","timeout"]),d=x({},t._commonParams,a,null!=c?c:{});"GET"===n&&r&&(void 0===r?"undefined":(0,L._)(r))==="object"&&(d=x({},d,r));var p=new URLSearchParams(D(d)),f=new URL("".concat(i.origin).concat(i.pathname,"?").concat(p.toString())),v=(0,C.A)({},l,{method:n,timeout:null!=u?u:0,data:r});return E.info("[ServiceModule]: sendRequest start",v),I()(f.href,v).then(function(e){return E.info("[ServiceModule]: sendRequest finish",e),e}).catch(function(e){throw E.error("[ServiceModule]: sendRequest error",e),e})},this.destruct=function(){E.info("[ServiceModule]: destruct")},e._instance||(e._instance=this),e._instance}},44404:function(e,t,n){var r,o,i=n(41386),a=n(79262);r=this,o=function(){"use strict";function e(e,t){if(!i._(e,t))throw TypeError("Cannot call a class as a function")}function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function n(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function r(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var a=new(function(){function t(){e(this,t),this._prefix="[TikTok desktop app SDK Monitor]: "}return n(t,[{key:"log",value:function(e){console.log(this._prefix,e)}},{key:"info",value:function(e){console.info(this._prefix,e)}},{key:"warn",value:function(e){console.warn(this._prefix,e)}},{key:"error",value:function(e){console.error(this._prefix,e)}}]),t}()),s=function(){return"undefined"==typeof window},c=function(e,t,n){var r=function(e,t){for(var n=0;n<e.length||n<t.length;++n){var r=0,o=0;if(n<e.length&&(r=parseInt(e[n],10)),n<t.length&&(o=parseInt(t[n],10)),r>o)return 1;if(r<o)return -1}return 0}(e.split("."),n.split("."));return"=="===t&&0===r||">"===t&&r>0||">="===t&&r>=0||"<"===t&&r<0||"<="===t&&r<=0},u=new(function(){function t(){e(this,t),this._methodRuleMap={}}return n(t,[{key:"registerMethodRules",value:function(e){var t=e.map,n=void 0===t?"":t,r=e.target;n?this._methodRuleMap[n]=void 0===r?[]:r:a.error("register method rules error")}},{key:"getRuntimeOS",value:function(){if(s())return"ssr";var e="Win32"===(null==navigator?void 0:navigator.platform)||"Windows"===(null==navigator?void 0:navigator.platform),t="Mac68K"===(null==navigator?void 0:navigator.platform)||"MacPPC"===(null==navigator?void 0:navigator.platform)||"Macintosh"===(null==navigator?void 0:navigator.platform)||"MacIntel"===(null==navigator?void 0:navigator.platform),n="X11"===(null==navigator?void 0:navigator.platform)&&!e&&!t,r=String(null==navigator?void 0:navigator.platform).indexOf("Linux")>-1;return t?"mac":n?"unix":r?"linux":e?"windows":"unknown"}},{key:"getRuntimeVersion",value:function(){var e,t,n;return s()?(a.error("can't get client version in ssr"),""):(null==(n=null==(t=null==(e=null==window?void 0:window.TTE_ENV)?void 0:e.initPageStore)?void 0:t.page)?void 0:n.version)||""}},{key:"checkOS",value:function(e){return!e||"*"===e||this.getRuntimeOS()===e}},{key:"checkMethodAvailable",value:function(e){var t,n,r;return!!this.checkInClient()&&void 0!==(null==(r=null==(n=null==(t=null==window?void 0:window.TTE_ENV)?void 0:t.bridge)?void 0:n.EVENTS)?void 0:r.TO_MAIN_EVENT_TYPES[e])}},{key:"canIUse",value:function(e){return{code:0,data:{isAvailable:this.checkMethodAvailable(e)}}}},{key:"checkVersion",value:function(e){var t,n,o,i,a,s,u;return!e||(t=this.getRuntimeVersion(),a=void 0===(i=(n=e.split("-"),o=function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(n,2)||r(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0])?"":i,u=void 0===(s=o[1])?"":s,!a&&!u||(a?u?c(t,">=",a)&&c(t,"<=",u):c(t,">=",a):c(t,"<=",u)))}},{key:"checkDetail",value:function(e){if(!e||0===e.length)return!0;var t,n=!1,o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=r(e))){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}(e);try{for(o.s();!(t=o.n()).done;){var i=t.value.os;if(n=this.checkOS(i))break}}catch(e){o.e(e)}finally{o.f()}return n}},{key:"checkRule",value:function(e){var t=e.target;return!e||!!this.checkDetail(void 0===t?[]:t)}},{key:"on",value:function(e,t){return this.checkInClient()?window.TTE_ENV.bridge.on(e,t):(a.warn("turn on listening to ".concat(e," failed, env is not in client.")),!1)}},{key:"off",value:function(e,t){return this.checkInClient()?window.TTE_ENV.bridge.off(e,t):(a.warn("turn off listening to ".concat(e," failed, env is not in client.")),!1)}},{key:"checkInClient",value:function(){var e;return!s()&&void 0!==(null==(e=null==window?void 0:window.TTE_ENV)?void 0:e.bridge)}},{key:"call",value:function(e){var t=this,n=e.params,r=void 0===n?{}:n,o=e.method,i=e.rule,s=e.transParameters,c=void 0!==s&&s;return new Promise(function(e){var n={code:-9,data:null,msg:"Something went wrong. maybe polyfill."};try{if(!t.checkInClient()){var s="WARN:[".concat(o,"]The current environment is not inside the client.");return n.code=-2,n.msg=s,a.warn(s),void e(n)}if(!t.checkMethodAvailable(o)){var u="WARN: [".concat(o,"]The current system doesn't support this method.");return n.code=-3,n.msg=u,a.warn(u),void e(n)}if(!t.checkRule(i)){var l="WARN: [".concat(o,"]The method invocation environment does not meet the rules.");return n.code=-3,n.msg=l,a.warn(l),void e(n)}}catch(t){var d="Bridge SDK Inner Error: ".concat(o,"-{").concat(JSON.stringify(r),"}. ").concat(t.message," | ").concat(t.stack);return a.error(d),n.msg=d,n.code=-5,void e(n)}window.TTE_ENV.bridge.invoke(o,c?r:{data:r}).then(function(t){var r,o,i;void 0!==(null==t?void 0:t._to_sdk)?(n.code=null!=(r=t._to_sdk.code)?r:n.code,n.data=null!=(o=t.data)?o:null,n.msg=null!=(i=t._to_sdk.msg)?i:"success"):(n.code=0,n.data=t,n.msg="success"),e(n)}).catch(function(t){var i="Bridge SDK Execute Failed: ".concat(o,"-{").concat(JSON.stringify(r),"}}. ").concat(t.message," | ").concat(t.stack);n.code=-1,n.msg=t.message,a.error(i),e(n)})})}}]),t}());function l(e){Object.keys(e).forEach(function(t){var n,r=(null==(n=e[t])?void 0:n.rule)||{};u.registerMethodRules(r)})}var d={target:[{os:"*"}],map:"app.getVersion"};function p(){return u.call({rule:d,method:"GET_VERSION"})}p.rule=d;var f={target:[{os:"*"}],map:"app.setAlwaysOnTop"};function v(e){return u.call({rule:f,method:"SET_ALWAYS_ON_TOP",params:e,transParameters:!0})}v.rule=f;var g={target:[{os:"*"}],map:"app.changeToOriginalMode"};function h(){return u.call({rule:g,method:"CHANGE_TO_ORIGINAL_MODE"})}h.rule=g;var m={target:[{os:"*"}],map:"app.changeToSmallMode"};function _(){return u.call({rule:m,method:"CHANGE_TO_SMALL_MODE"})}_.rule=m;var y={target:[{os:"*"}],map:"app.isAlwaysOnTop"};function b(){return u.call({rule:y,method:"IS_ALWAYS_ON_TOP"})}b.rule=y;var w={target:[{os:"*"}],map:"app.mainWindowMoveTop"};function k(){return u.call({rule:w,method:"MAIN_WINDOW_MOVE_TOP"})}k.rule=w;var P={target:[{os:"*"}],map:"app.minimize"};function T(){return u.call({rule:P,method:"WINDOW_MIN"})}T.rule=P;var S={target:[{os:"*"}],map:"app.handlePageReady"};function E(){return u.call({rule:S,method:"PAGE_READY"})}E.rule=S;var A={target:[{os:"*"}],map:"app.maximize"};function L(){return u.call({rule:A,method:"WINDOW_MAX"})}L.rule=A;var C={target:[{os:"*"}],map:"app.canGoBack"};function O(){return u.call({rule:C,method:"CAN_GO_BACK"})}O.rule=C;var I={target:[{os:"*"}],map:"app.clearCookie"};function x(){return u.call({rule:I,method:"CLEAR_COOKIE"})}x.rule=I;var N={target:[{os:"*"}],map:"app.getWid"};function D(){return u.call({rule:N,method:"GET_WID"})}D.rule=N;var M={target:[{os:"*"}],map:"app.closeParent"};function R(){return u.call({rule:M,method:"CLOSE_PARENT"})}R.rule=M;var j={target:[{os:"*"}],map:"app.closeWindow"};function U(){return u.call({rule:j,method:"WINDOW_CLOSE"})}U.rule=j;var F={target:[{os:"*"}],map:"app.getAllClientLog"};function B(){return u.call({rule:F,method:"GET_ALL_CLIENT_LOG"})}B.rule=F;var H={target:[{os:"*"}],map:"app.getAppConfigItem"};function Y(e){return u.call({rule:H,method:"GET_APP_CONFIG_ITEM",params:e})}Y.rule=H;var V={target:[{os:"*"}],map:"app.goBack"};function q(){return u.call({rule:V,method:"GO_BACK"})}q.rule=V;var G={target:[{os:"*"}],map:"app.getPageStore"};function W(){return u.call({rule:G,method:"GET_PAGE_STORE"})}W.rule=G;var z={target:[{os:"*"}],map:"app.getSettings"};function K(){return u.call({rule:z,method:"GET_SETTINGS"})}K.rule=z;var J={target:[{os:"*"}],map:"app.isFull"};function Z(){return u.call({rule:J,method:"WINDOW_IS_FULL"})}Z.rule=J;var Q={target:[{os:"*"}],map:"app.openWallpaperWindow"};function $(){return u.call({rule:Q,method:"OPEN_WALLPAPER_WINDOW"})}$.rule=Q;var X={target:[{os:"*"}],map:"app.getChannelId"};function ee(){return u.call({rule:X,method:"GET_CHANNEL_ID"})}ee.rule=X;var et={target:[{os:"*"}],map:"app.reload"};function en(){return u.call({rule:et,method:"RELOAD"})}en.rule=et;var er={target:[{os:"mac"}],map:"app.setFullScreenable"};function eo(e){return u.call({rule:er,method:"SET_FULL_SCREENABLE",params:e,transParameters:!0})}eo.rule=er;var ei={target:[{os:"*"}],map:"app.getAllWindowData"};function ea(){return u.call({rule:ei,method:"GET_ALL_WINDOW_DATA"})}ea.rule=ei;var es={target:[{os:"*"}],map:"app.reloadWindowFromId"};function ec(){return u.call({rule:es,method:"RELOAD_FROM_ID"})}ec.rule=es;var eu={target:[{os:"*"}],map:"app.reportStat"};function el(e){return u.call({rule:eu,method:"REPORT_STAT",params:e,transParameters:!0})}el.rule=eu;var ed={target:[{os:"*"}],map:"app.setAppConfigItem"};function ep(e){return u.call({rule:ed,method:"SET_APP_CONFIG_ITEM",params:e})}ep.rule=ed;var ef={target:[{os:"*"}],map:"app.setAutoStart"};function ev(e){return u.call({rule:ef,method:"SET_AUTO_START",params:e})}ev.rule=ef;var eg={target:[{os:"*"}],map:"app.setCloseToTray"};function eh(e){return u.call({rule:eg,method:"SET_CLOSE_TO_TRAY",params:e})}eh.rule=eg;var em={target:[{os:"*"}],map:"app.setMiniMizeToTray"};function e_(e){return u.call({rule:em,method:"SET_MINIMIZE_TO_TRAY",params:e})}e_.rule=em;var ey={target:[{os:"*"}],map:"app.showAbout"};function eb(e){return u.call({rule:ey,method:"WINDOW_SHOW_ABOUT",params:e})}eb.rule=ey;var ew={target:[{os:"*"}],map:"app.syncLoginState"};function ek(e){return u.call({rule:ew,method:"SYNC_LOGIN_STATE",params:e,transParameters:!0})}ek.rule=ew;var eP={target:[{os:"*"}],map:"app.themeChange"};function eT(e){return u.call({rule:eP,method:"THEME_CHANGE",params:e})}eT.rule=eP;var eS={target:[{os:"*"}],map:"app.getAllDisplays"};function eE(){return u.call({rule:eS,method:"GET_ALL_DISPLAYS"})}eE.rule=eS;var eA={target:[{os:"*"}],map:"app.getPrimaryDisplay"};function eL(){return u.call({rule:eA,method:"GET_PRIMARY_DISPLAY"})}eL.rule=eA;var eC={target:[{os:"*"}],map:"app.navigationGoBack"};function eO(){return u.call({rule:eC,method:"NAVIGATION_GO_BACK"})}eO.rule=eC;var eI={target:[{os:"windows"}],map:"app.getAutoStart"};function ex(){return u.call({rule:eI,method:"GET_AUTO_START"})}ex.rule=eI;var eN={target:[{os:"*"}],map:"app.showUpdateModal"};function eD(){return u.call({rule:eN,method:"SHOW_UPDATE_MODAL"})}eD.rule=eN;var eM={target:[{os:"*"}],map:"app.getIsUpdatePackageReady"};function eR(){return u.call({rule:eM,method:"GET_IS_UPDATE_PACKAGE_READY"})}eR.rule=eM;var ej={target:[{os:"*"}],map:"app.getClientUpdateInfo"};function eU(){return u.call({rule:ej,method:"GET_CLIENT_UPDATE_INFO"})}eU.rule=ej;var eF={target:[{os:"*"}],map:"app.quitUpdateTip"};function eB(){return u.call({rule:eF,method:"QUIT_UPDATE_TIP"})}eB.rule=eF;var eH={target:[{os:"mac"}],map:"app.getMediaAccessStatus"};function eY(e){return u.call({rule:eH,method:"GET_MEDIA_ACCESS_STATUS",params:e,transParameters:!0})}eY.rule=eH;var eV={target:[{os:"mac"}],map:"app.askForMediaAccess"};function eq(e){return u.call({rule:eV,method:"ASK_FOR_MEDIA_ACCESS",params:e,transParameters:!0})}eq.rule=eV;var eG={target:[{os:"mac"}],map:"app.getIsMas"};function eW(){return u.call({rule:eG,method:"GET_IS_MAS"})}eW.rule=eG;var ez={target:[{os:"*"}],map:"app.getIsFrontShow"};function eK(){return u.call({rule:ez,method:"GET_IS_FRONT_SHOW"})}eK.rule=ez;var eJ={target:[{os:"*"}],map:"app.downloadWallpaper"};function eZ(e){return u.call({rule:eJ,method:"DOWNLOAD_WALLPAPER",params:e,transParameters:!0})}eZ.rule=eJ;var eQ={target:[{os:"*"}],map:"app.getStoreItem"};function e$(e){return u.call({rule:eQ,method:"GET_STORE_ITEM",params:e,transParameters:!0})}e$.rule=eQ;var eX={target:[{os:"*"}],map:"app.setStoreItem"};function e0(e){return u.call({rule:eX,method:"SET_STORE_ITEM",params:e,transParameters:!0})}e0.rule=eX;var e1={target:[{os:"*"}],map:"app.getMetrics"};function e2(){return u.call({rule:e1,method:"GET_METRICS"})}e2.rule=e1;var e5={target:[{os:"*"}],map:"app.printFirstFeedShow"};function e4(e){return u.call({rule:e5,method:"printFirstFeedShow",params:e,transParameters:!0})}e4.rule=e5;var e3={target:[{os:"windows"}],map:"app.getHardwareDecodeState"};function e6(){return u.call({rule:e3,method:"getHardwareDecodeState"})}e6.rule=e3;var e8={target:[{os:"*"}],map:"app.isTopWebview"};function e7(){return u.call({rule:e8,method:"isTopWebview"})}e7.rule=e8;var e9={target:[{os:"*"}],map:"app.getVolumeInfo"};function te(){return u.call({rule:e9,method:"getVolumeInfo"})}te.rule=e9;var tt={target:[{os:"*"}],map:"app.openInternalBrowser"};function tn(e){return u.call({rule:tt,method:"openInternalBrowser",params:e,transParameters:!0})}tn.rule=tt;var tr={target:[{os:"*"}],map:"app.mainWindowShowView"};function to(){return u.call({rule:tr,method:"mainWindowShowView"})}to.rule=tr;var ti={target:[{os:"*"}],map:"app.langChange"};function ta(e){return u.call({rule:ti,method:"LANG_CHANGE",params:e})}ta.rule=ti;var ts={target:[{os:"*"}],map:"app.downloadVideo"};function tc(e){return u.call({rule:ts,method:"DOWNLOAD_VIDEO",params:e})}tc.rule=ts;var tu={getVersion:p,setAlwaysOnTop:v,changeToOriginalMode:h,changeToSmallMode:_,isAlwaysOnTop:b,mainWindowMoveTop:k,minimize:T,handlePageReady:E,maximize:L,canGoBack:O,clearCookie:x,getWid:D,closeParent:R,closeWindow:U,getAllClientLog:B,getAppConfigItem:Y,goBack:q,getPageStore:W,getSettings:K,isFull:Z,openWallpaperWindow:$,getChannelId:ee,reload:en,setFullScreenable:eo,getAllWindowData:ea,reloadWindowFromId:ec,reportStat:el,setAppConfigItem:ep,setAutoStart:ev,setCloseToTray:eh,setMiniMizeToTray:e_,showAbout:eb,syncLoginState:ek,themeChange:eT,getAllDisplays:eE,getPrimaryDisplay:eL,navigationGoBack:eO,getAutoStart:ex,showUpdateModal:eD,getIsUpdatePackageReady:eR,getClientUpdateInfo:eU,quitUpdateTip:eB,getMediaAccessStatus:eY,askForMediaAccess:eq,getIsMas:eW,getIsFrontShow:eK,downloadWallpaper:eZ,getStoreItem:e$,setStoreItem:e0,getMetrics:e2,printFirstFeedShow:e4,getHardwareDecodeState:e6,isTopWebview:e7,getVolumeInfo:te,openInternalBrowser:tn,mainWindowShowView:to,langChange:ta,downloadVideo:tc};l(tu);var tl={target:[{os:"*"}],map:"user.getUserUniqueId"};function td(){return u.call({rule:tl,method:"GET_USER_UNIQUE_ID"})}td.rule=tl;var tp={target:[{os:"*"}],map:"user.getCsrInitialData"};function tf(){return u.call({rule:tp,method:"getCsrInitialData"})}tf.rule=tp;var tv={getUserUniqueId:td,getCsrInitialData:tf};return l(tv),{app:tu,user:tv,util:{canIUse:u.canIUse.bind(u),isClient:u.checkInClient,sdkVersion:"0.0.0"},on:u.on.bind(u),off:u.off.bind(u)}},"object"==a._(t)?e.exports=o():"function"==typeof define&&define.amd?define(o):(r="undefined"!=typeof globalThis?globalThis:r||self).clientBridge=o()},99247:function(e,t,n){"use strict";n.d(t,{Fd:function(){return eM},J:function(){return c},IC:function(){return ec},Vq:function(){return l},Uc:function(){return d},GP:function(){return eD}});var r,o,i,a,s,c,u,l,d,p,f,v=n(8707),g=n(6586),h=n(24643),m=n(40099),_=n(21566),y=n(12751),b=(0,y.default)("div",{target:"e18jqc4v0",label:"5e6d46e3--DivBannerContainer"})({width:"100vw",left:0,position:"fixed",display:"flex",justifyContent:"center",boxShadow:"0 2px 8px rgba(0, 0, 0, .06)",":after":{content:'""',background:"rgba(33, 33, 33, .08)",position:"absolute",left:"0",bottom:"0",width:"100%",height:"1px",transform:"scaleY(0.5)"}}),w=(0,y.default)("div",{target:"e18jqc4v1",label:"5e6d46e3--DivBannerWrapper"})({padding:"12px 12px 12px 16px",display:"flex",justifyContent:"space-between",gap:"8px"}),k=(0,y.default)("div",{target:"e18jqc4v2",label:"5e6d46e3--DivLeftContainer"})({display:"flex",alignItems:"center",gap:"16px"}),P=(0,y.default)("div",{target:"e18jqc4v3",label:"5e6d46e3--DivRightContainer"})({display:"flex",alignItems:"flex-start",gap:"24px"}),T=(0,y.default)("div",{target:"e18jqc4v4",label:"5e6d46e3--DivContentWrapper"})({alignSelf:"center",lineHeight:"18px"}),S=(0,y.default)("div",{target:"e18jqc4v5",label:"5e6d46e3--DivButton"})({margin:"9px 0"});(r=c||(c={})).EXTERNAL="external",r.INTERNAL="internal",r.SUB_POPUP="sub_popup",(o=u||(u={})).POP="pop",o.PC_BANNER="pc_banner",o.MOBILE_BANNER="mobile_banner",o.WEBVIEW="webview",(i=l||(l={})).TEXT="text",i.LINK="link",i.BUTTON="button",(a=d||(d={})).LINK_INTERNAL="link_internal",a.LINK_EXTERNAL="link_external",a.SUB_POP_UP="sub_pop_up",a.UPDATE_CONSENT="update_consent",a.FETCH_CMPL_SETTING="fetch_cmpl_setting",a.UPGRADE="upgrade",(s=p||(p={})).FULLSCREEN="fullscreen",s.POP="pop",s.BOTTOM="bottom";var E=n(95170),A=new(function(){function e(){return(0,E._)(this,e),this._renderMapping={},this._visibilityMap={},e._instance||(e._instance=this),e._instance}var t=e.prototype;return t.registerBlockCells=function(e,t){this._renderMapping[e]=t},t.cellByType=function(e){return this._renderMapping[e]},t.registerVisibility=function(e,t){this._visibilityMap[e]=t},t.close=function(e){this._visibilityMap[e](!1)},t.handleAction=function(e,t,n){if(null==n||n.onAction(e),e.dismiss&&(this.close(t.business),null==n||n.onDismiss()),e.actionType===d.LINK_EXTERNAL||e.actionType===d.LINK_INTERNAL)if(!e.link||!(e.link.length>0))return"Action: Link url invalid.";else window.open(e.link,e.actionType===d.LINK_EXTERNAL?"_blank":"_self")},e}()),L=function(){function e(t,n,r,o){(0,E._)(this,e),this._meta=t,this._block=n,this._customizedCallback=o,this._logger=r}var t=e.prototype;return t.onDisplay=function(){var e,t;null==(t=this._customizedCallback)||null==(e=t.onDisplay)||e.call(t,this._meta),this._logger.onDisplay()},t.onDismiss=function(){var e,t;null==(t=this._customizedCallback)||null==(e=t.onDismiss)||e.call(t,this._meta),this._logger.onDismiss()},t.onAction=function(e){var t,n;null==(n=this._customizedCallback)||null==(t=n.onAction)||t.call(n,this._meta,e),this._logger.onAction(e)},t.onError=function(e){var t,n;null==(n=this._customizedCallback)||null==(t=n.onError)||t.call(n,this._meta,e),this._logger.onError(e)},e}(),C=n(35383);(f||(f={})).INTERACT="interact";var O=(0,C._)({},"interact","pns_communication_service_popup_execute"),I=new(n(26089)).MonitorModule(!0),x=n(62481);function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function D(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var M="pns_web_popup_show",R="pns_web_popup_dismiss",j="pns_web_popup_click",U=function(){function e(t,n,r){(0,E._)(this,e),this._report=r,this._eventParam=D(N({},t),{style:n.style})}var t=e.prototype;return t.onDisplay=function(){var e;null==(e=this._report)||e.call(this,M,N({},this._eventParam)),I.reportCUJ(f.INTERACT,x.PY.START,{stepName:M})},t.onDismiss=function(){var e;null==(e=this._report)||e.call(this,R,N({},this._eventParam)),I.reportCUJ(f.INTERACT,x.PY.FINISH,{stepName:R})},t.onAction=function(e){var t;null==(t=this._report)||t.call(this,j,D(N({},this._eventParam),{action:e.actionType})),I.reportCUJ(f.INTERACT,(null==e?void 0:e.dismiss)?x.PY.IN_PROGRESS:x.PY.FINISH,{stepName:j})},t.onError=function(e){var t;null==(t=this._report)||t.call(this,"pns_web_popup_error",D(N({},this._eventParam),{errMsg:e})),I.reportCUJ(f.INTERACT,x.PY.FAILURE,{error:e})},e}();function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function B(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var H={style:u.MOBILE_BANNER},Y=function(e){var t,n,r=e.content,o=e.open,i=e.colorScheme,a=e.config,s=e.eventReport,u=e.meta,d=e.callback;if(!o)return null;var p=(0,m.useMemo)(function(){return new U(u,H,s)},[u,s]),f=(0,m.useMemo)(function(){return new L(u,H,p,d)},[u,p,d]);(0,m.useEffect)(function(){f.onDisplay()},[]);var v=r.buttons,g=r.icon,y=r.iconDark,E=r.body,C=r.title,O=r.eventInfo,I=(0,m.useRef)(null),x=(0,m.useCallback)(function(e){if("Enter"===e.key||" "===e.key){var t;e.preventDefault(),e.stopPropagation(),null==(t=I.current)||t.click()}},[]),N="dark"===i?y:g;return(0,h.jsx)(b,{role:"alert",style:{top:null!=(t=null==a?void 0:a.topOffset)?t:"0",zIndex:null!=(n=null==a?void 0:a.zIndex)?n:999,backgroundColor:"var(--ui-sheet-backdrop-1)"},children:(0,h.jsxs)(w,{children:[(0,h.jsxs)(k,{children:[N&&(0,h.jsx)("img",{alt:"icon",src:N.url,height:N.height,width:N.width}),(0,h.jsxs)(T,{children:[C&&(0,h.jsx)(_.Fm,{as:"h4",size:15,color:"UIShapeText1OnNeutral",weight:"medium",children:C}),(0,h.jsx)(_.Fm,{as:"p",size:15,color:"UIShapeText1OnNeutral",children:null==E?void 0:E.map(function(e){var t;return e.type===l.TEXT?e.text:(0,h.jsx)(_.QKx,{color:"UIShapeText1OnNeutral",label:e.text,href:null!=(t=e.link)?t:"",target:e.linkType===c.EXTERNAL?"_blank":"_self",onClick:function(t){if(e.action)t.preventDefault(),A.handleAction(e.action,u,f);else{var n;null==s||s(ea,B(F({},O),{button_info:e.text})),null==(n=e.onClick)||n.call(e)}},weight:"medium"},e.text)})})]})]}),(0,h.jsx)(P,{children:null==v?void 0:v.map(function(e){return e.isCloseStyle?(0,h.jsx)("div",{onClick:function(){if(e.action)A.handleAction(e.action,u,f);else{var t;null==s||s(ea,B(F({},O),{button_info:e.text})),null==(t=e.onClick)||t.call(e)}},onKeyDown:x,ref:I,tabIndex:0,role:"button",children:(0,h.jsx)(_.gn,{size:"24px",style:{cursor:"pointer"},color:"BrandTikTokBackground"})},e.text):(0,h.jsx)(S,{children:(0,h.jsx)(_.I05,{label:e.text,shape:"borderless",variant:"primary",onClick:function(){if(e.action)A.handleAction(e.action,u,f);else{var t;null==s||s(ea,B(F({},O),{button_info:e.text})),null==(t=e.onClick)||t.call(e)}}})},e.text)})})]})})},V=(0,y.default)("div",{target:"e16f7g5a0",label:"5e6d46e3--DivBannerContainer"})(function(e){return e.theme,{width:"100vw",left:"0",marginTop:"1px",position:"fixed",boxShadow:"0 2px 8px rgba(0, 0, 0, .06)",display:"flex",justifyContent:"center",":after":{content:'""',background:"rgba(33, 33, 33, .08)",position:"absolute",left:"0",bottom:"0",width:"100%",height:"1px",transform:"scaleY(0.5)"}}}),q=(0,y.default)("div",{target:"e16f7g5a1",label:"5e6d46e3--DivBannerWrapper"})({width:1150,maxWidth:1150,padding:"16px 24px",display:"flex",justifyContent:"space-between",gap:"24px"}),G=(0,y.default)("div",{target:"e16f7g5a2",label:"5e6d46e3--DivLeftContainer"})({display:"flex",alignItems:"center",gap:"16px"}),W=(0,y.default)("div",{target:"e16f7g5a3",label:"5e6d46e3--DivRightContainer"})([{display:"flex",alignItems:"center",gap:"24px"}]),z=(0,y.default)("div",{target:"e16f7g5a4",label:"5e6d46e3--DivContentWrapper"})({alignSelf:"center"}),K=(0,y.default)("div",{target:"e16f7g5a5",label:"5e6d46e3--DivButton"})({margin:"9px 0"});function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function Z(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var Q={style:u.PC_BANNER},$=function(e){var t,n,r=e.content,o=e.open,i=e.colorScheme,a=e.config,s=e.eventReport,u=e.meta,d=e.callback;if(!o)return null;var p=(0,m.useMemo)(function(){return new U(u,Q,s)},[u,s]),f=(0,m.useMemo)(function(){return new L(u,Q,p,d)},[u,p,d]);(0,m.useEffect)(function(){f.onDisplay()},[]);var v=r.buttons,g=r.icon,y=r.iconDark,b=r.body,w=r.title,k=r.eventInfo,P=(0,m.useRef)(null),T=(0,m.useCallback)(function(e){if("Enter"===e.key||" "===e.key){var t;e.preventDefault(),e.stopPropagation(),null==(t=P.current)||t.click()}},[]),S="dark"===i?y:g;return(0,h.jsx)(V,{role:"alert",style:{top:null!=(t=null==a?void 0:a.topOffset)?t:"59px",zIndex:null!=(n=null==a?void 0:a.zIndex)?n:999,backgroundColor:"var(--brand-tiktok-background)"},children:(0,h.jsxs)(q,{children:[(0,h.jsxs)(G,{children:[S&&(0,h.jsx)("img",{alt:"icon",src:S.url,height:S.height,width:S.width}),(0,h.jsxs)(z,{children:[w&&(0,h.jsx)(_.Fm,{as:"h4",color:"UIText1",size:16,weight:"medium",children:w}),b&&(0,h.jsx)(_.Fm,{as:"p",size:16,weight:"medium",color:"UIText2",children:b.map(function(e){var t;return e.type===l.TEXT?e.text:(0,h.jsx)(_.QKx,{color:"UIText1Display",label:e.text,href:null!=(t=e.link)?t:"",target:e.linkType===c.EXTERNAL?"_blank":"_self",onClick:function(t){if(e.action)t.preventDefault(),A.handleAction(e.action,u,f);else{var n;null==s||s(ea,Z(J({},k),{button_info:e.text})),null==(n=e.onClick)||n.call(e)}},weight:"medium"},e.text)})})]})]}),(0,h.jsx)(W,{children:null==v?void 0:v.map(function(e){return e.isCloseStyle?(0,h.jsx)("div",{onClick:function(){if(e.action)A.handleAction(e.action,u,f);else{var t;null==s||s(ea,Z(J({},k),{button_info:e.text})),null==(t=e.onClick)||t.call(e)}},onKeyDown:T,ref:P,tabIndex:0,role:"button",children:(0,h.jsx)(_.gn,{size:"24px",style:{cursor:"pointer"}})},e.text):(0,h.jsx)(K,{children:(0,h.jsx)(_.I05,{label:e.text,shape:"borderless",variant:"primary",onClick:function(){if(e.action)A.handleAction(e.action,u,f);else{var t;null==s||s(ea,Z(J({},k),{button_info:e.text})),null==(t=e.onClick)||t.call(e)}}})},e.text)})})]})})},X=(0,y.default)("div",{target:"ewjfeyd0",label:"5e6d46e3--ButtonContainer"})({display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center",gap:"8px",padding:"0 24px"}),ee=(0,y.default)("img",{target:"ewjfeyd1",label:"5e6d46e3--Img"})({display:"block",margin:"8px auto"});function et(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function en(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var er={style:u.POP},eo=function(e){var t,n,r=e.content,o=r.icon,i=r.iconDark,a=r.buttons,s=r.body,u=r.title,d=r.eventInfo,p=e.meta,f=e.callback,v=e.eventReport,g="dark"===e.colorScheme?i:o,y=(0,m.useMemo)(function(){return new U(p,er,v)},[p,v]),b=(0,m.useMemo)(function(){return new L(p,er,y,f)},[p,y,f]);return(0,m.useEffect)(function(){b.onDisplay()},[]),(0,h.jsxs)(_.nOL,{open:e.open,onOpenChange:function(){},style:{padding:"32px 0",zIndex:null!=(n=null==(t=e.config)?void 0:t.zIndex)?n:9999},children:[g&&(0,h.jsx)(ee,{src:g.url,height:g.height,width:g.width}),u&&(0,h.jsx)(_.Fm,{as:"h2",align:"center",size:20,weight:"bold",style:{wordBreak:"break-word",lineHeight:"24px",padding:"0 20px"},children:u}),(null==s?void 0:s.length)&&(0,h.jsx)(_.Fm,{as:"p",size:15,align:"center",style:{lineHeight:"18px",padding:"7px 24px 24px",whiteSpace:"pre-wrap"},children:s.map(function(t){var n;return t.type===l.TEXT?t.text:(0,h.jsx)(_.QKx,{color:"UIText1Display",weight:"medium",label:t.text,href:null!=(n=t.link)?n:"",target:t.linkType===c.EXTERNAL?"_blank":"_self",onClick:function(n){if(t.action)n.preventDefault(),A.handleAction(t.action,p,b);else{var r,o;null==(r=e.eventReport)||r.call(e,ea,en(et({},d),{button_info:t.text})),null==(o=t.onClick)||o.call(t)}}},t.text)})}),(null==a?void 0:a.length)&&(0,h.jsx)(X,{children:a.map(function(t){return(0,h.jsx)(_.I05,{style:t.isBold?{fontWeight:"bold"}:{},label:t.text,variant:t.isHighlight?"primary":"secondary",onClick:function(){if(t.action)A.handleAction(t.action,p,b);else{var n,r;null==(n=e.eventReport)||n.call(e,ea,en(et({},d),{button_info:t.text})),null==(r=t.onClick)||r.call(t)}}},t.text)})})]})},ei=n(49174),ea="qa_tns_general_dialog_click";function es(){return(0,h.jsx)("link",{rel:"stylesheet",href:ei})}var ec=function(e){var t,n=(0,g._)((0,m.useState)(null),2),r=n[0],o=n[1],i=e.eventReport,a=e.noFetchDataAtInit,s=e.SDKConfig,c=e.visible,u=e.onReadyToClose,l=e.onReadyToShow,d=e.colorScheme,p=e.textDirection,f=e.componentConfig;if((0,m.useEffect)(function(){return v.default.init(s),a||v.default.fetchPopupData().catch(null),v.default.addEventListener(v.LifeCycleEventName.popupDataReady,function(){v.default.getPopupData()&&(o(v.default.getPopupData()),l())}),v.default.addEventListener(v.LifeCycleEventName.afterNavigateToNextPopup,function(){o(v.default.getPopupData())}),v.default.addEventListener(v.LifeCycleEventName.allPopupsCompleted,function(){u()}),function(){v.default.destruct()}},[]),(0,m.useEffect)(function(){c&&r&&i&&i("tns_general_dialog_show",r.eventInfo)},[c]),!r)return null;var y={business:"",popup_id:"",policyVersion:""},b=r.popupType,w=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(r,["popupType"]);switch(b){case v.PopupType.MOBILE_BANNER:t=(0,h.jsx)(Y,{colorScheme:d,content:w,open:c,config:null==f?void 0:f.mBanner,meta:y,eventReport:i});break;case v.PopupType.PC_BANNER:t=(0,h.jsx)($,{colorScheme:d,content:w,open:c,config:null==f?void 0:f.pcBanner,meta:y,eventReport:i});break;case v.PopupType.POP:default:t=(0,h.jsx)(eo,{colorScheme:d,content:w,open:c,config:null==f?void 0:f.popup,meta:y,eventReport:i})}return(0,h.jsxs)(_.juU,{colorSchemePreference:d,textDirection:p,children:[(0,h.jsx)(es,{}),t]})},eu=(0,y.default)("div",{target:"e1fj24880",label:"5e6d46e3--FullScreenView"})(function(e){return e.theme,{width:"100vw",height:"100vh",overflow:"auto",padding:"32px 16px",zIndex:"9999",position:"fixed",top:0,left:0}}),el=(0,y.default)("div",{target:"e1fj24881",label:"5e6d46e3--ContainerView"})({display:"flex",flexDirection:"column"}),ed=(0,y.default)("div",{target:"e1fj24882",label:"5e6d46e3--TopContainerView"})({padding:0,width:"100%"}),ep=(0,y.default)("div",{target:"e1fj24883",label:"5e6d46e3--BottomContainerView"})({padding:0,alignSelf:"flex-end",width:"100%"}),ef=(0,y.default)("div",{target:"e1fj24884",label:"5e6d46e3--ScrolledContainerView"})({flexGrow:1,overflowY:"auto",padding:0}),ev=(0,y.default)("div",{target:"e1fj24885",label:"5e6d46e3--ButtonGroup"})({display:"flex",gap:"16px"}),eg=(0,y.default)("div",{target:"e1fj24886",label:"5e6d46e3--ButtonItem"})({flex:1}),eh={subtext:"UIText2",description:"UIText3"},em={center:"center",right:"end"},e_={"H1-Regular":{size:24,weight:"normal"},"H1-Medium":{size:24,weight:"medium"},"H1-Bold":{size:24,weight:"bold"},"H2-Regular":{size:20,weight:"normal"},"H2-Medium":{size:20,weight:"medium"},"H2-Bold":{size:20,weight:"bold"},"H3-Regular":{size:17,weight:"normal"},"H3-Medium":{size:17,weight:"medium"},"H3-Bold":{size:17,weight:"bold"},"H4-Regular":{size:15,weight:"normal"},"H4-Medium":{size:15,weight:"medium"},"H4-Bold":{size:15,weight:"bold"},"P1-Regular":{size:14,weight:"normal"},"P1-Medium":{size:14,weight:"medium"},"P1-Bold":{size:14,weight:"bold"},"P2-Regular":{size:13,weight:"normal"},"P2-Medium":{size:13,weight:"medium"},"P2-Bold":{size:13,weight:"bold"},"P3-Regular":{size:12,weight:"normal"},"P3-Medium":{size:12,weight:"medium"},"P3-Bold":{size:12,weight:"bold"},"SmallText1-Regular":{size:11,weight:"normal"},"SmallText1-Medium":{size:11,weight:"medium"},"SmallText1-Bold":{size:11,weight:"bold"},"SmallText2-Regular":{size:10,weight:"normal"},"SmallText2-Medium":{size:10,weight:"medium"},"SmallText2-Bold":{size:10,weight:"bold"},"Headline-Regular":{size:16,weight:"normal"},"Headline-Medium":{size:16,weight:"medium"},"Headline-Bold":{size:16,weight:"bold"},"Longform-Regular":{size:16,weight:"normal"},"Longform-Medium":{size:16,weight:"medium"},"Longform-Bold":{size:16,weight:"bold"},"LargeTitle-Regular":{size:32,weight:"normal"},"LargeTitle-Medium":{size:32,weight:"medium"},"LargeTitle-Bold":{size:32,weight:"bold"}},ey=function(e){var t,n,r,o,i,a=e.meta,s=e.content,c=e.callback,u=null!=(t=eh[s.subtype])?t:"UIText1",l=null!=(r=e_[null!=(n=s.font)?n:"P2-REGULAR"])?r:{size:13,weight:"normal"},d=null!=(i=em[null!=(o=s.align)?o:"left"])?i:"start",p=(0,m.useMemo)(function(){return function(e,t){var n=e.bodyLinks;if(!e.text||0===e.text.length)throw Error("TextBlock content is empty.");if(!n||0===n.length)return[{type:"text",name:e.text}];var r=[],o=/%s/g,i=e.text,a=0;return n.forEach(function(e){var t=e.name,n=e.action,s=o.exec(i);if(!s)throw Error("TextBlock link text can not match.");r.push({type:"text",name:i.slice(a,s.index)}),r.push({type:"link",name:t,action:n}),a=Number(s.index)+s[0].length}),r.push({type:"text",name:i.slice(a)}),r}(s,0)},[s,c]),f=(0,m.useCallback)(function(e){if(e.action){var t=A.handleAction(e.action,a,c);t&&c.onError(t)}else c.onError("TextBlock link action is empty.")},[c,a]);return(0,h.jsx)(_.Fm,{align:d,size:l.size,color:u,weight:l.weight,as:"div",children:p.length>0?p.map(function(e,t){return"text"===e.type?e.name:(0,h.jsx)(_.QKx,{color:"UIText1Display",weight:"medium",label:e.name,href:"",target:"_blank",onClick:function(t){t.preventDefault(),f(e)}},t)}):""})},eb={primary:"primary",secondary:"secondary",borderless:"secondary",destructive:"primary"},ew={primary:"default",secondary:"default",borderless:"borderless",destructive:"borderless"},ek=function(e){var t,n,r,o,i=e.meta,a=e.buttonElement,s=e.callback,c=a.action,u=null!=(t=a.text)?t:"";if(!c)throw Error("ButtonBlock no action found.");if(!u.length)throw Error("ButtonBlock title is empty.");var l=a.subtype,d=null!=(n=eb[l])?n:"primary",p=null!=(r=ew[l])?r:"default",f=(0,m.useCallback)(function(){var e=A.handleAction(c,i,s);e&&s.onError(e)},[s,i,c]);return(0,h.jsx)(_.I05,{label:u,variant:d,shape:p,style:{width:"100%"},onClick:f},null!=(o=a.groupId)?o:"")};A.registerBlockCells("info",function(e){var t,n,r=e.colorScheme,o=e.meta,i=e.block,a=e.callback,s=null==(t=i.elements)?void 0:t.get("content");if(!s)throw Error("InfoBlock content is empty.");var c="dark"===r?s.iconUrlDark:s.iconUrl,u=null!=(n=s.iconStyle)?n:124,l=s.subtype;return["text","subtext","description"].includes(l)?(0,h.jsx)(ey,{meta:o,content:s,callback:a}):"divider"===l?(0,h.jsx)("hr",{}):"image"===l?(0,h.jsx)("div",{style:{display:"flex",alignItems:"center",padding:0},children:(0,h.jsx)("img",{src:c,height:u,width:"100%"})}):null}),A.registerBlockCells("action",function(e){var t=e.meta,n=e.block,r=e.callback,o=Array.from(n.elements||new Map);if(!o.some(function(e){return["action_right","action_center","action_left"].includes((0,g._)(e,1)[0])}))throw Error("ActionBlock no button found.");return(0,h.jsx)(ev,{children:o.map(function(e){var n=(0,g._)(e,2),o=n[0],i=n[1];return(0,h.jsx)(eg,{children:(0,h.jsx)(ek,{meta:t,buttonElement:i,callback:r})},o)})})});var eP=function(e){var t=e.position,n=e.colorScheme,r=e.meta,o=e.blocks,i=e.callback;return(0,h.jsx)({top:ed,middle:ef,bottom:ep}[t],{children:o.map(function(e,t){var o,a,s,c,u,l,d,p,f=A.cellByType(e.type);if(!f)throw Error("No block cell registered for type: ".concat(e.type));var v=e.format,g="".concat(null!=(o=v.paddingTop)?o:0,"px ").concat(null!=(a=v.paddingRight)?a:0,"px \n ").concat(null!=(s=v.paddingBottom)?s:0,"px ").concat(null!=(c=v.paddingLeft)?c:0,"px"),m="".concat(null!=(u=v.marginTop)?u:0,"px ").concat(null!=(l=v.marginRight)?l:0,"px \n ").concat(null!=(d=v.marginBottom)?d:0,"px ").concat(null!=(p=v.marginLeft)?p:0,"px");return(0,h.jsx)("div",{style:{padding:g,margin:m},children:(0,h.jsx)(f,{colorScheme:n,meta:r,block:e,callback:i})},t)})})},eT=function(e){var t=e.blockData,n=e.metaData;if("dialog"===t.style)return null;var r=(0,m.useCallback)(function(){A.close(n.business)},[]),o=t.upperLeftBack?(0,h.jsx)(_.PH3,{icon:(0,h.jsx)(_.WZi,{}),onClick:r}):null,i=t.upperLeftBack?(0,h.jsx)(_.PH3,{icon:(0,h.jsx)(_.gn,{}),onClick:r}):null;return(0,h.jsx)(_.Gil,{title:"",hideSeparator:!0,leading:o,style:{},trailing:i,hideBackground:!0})},eS=function(e){var t=e.colorScheme,n=e.metaData,r=e.blockData,o=e.blockCallback,i=r.style===p.FULLSCREEN?"100vh":"80vh",a=r.style===p.FULLSCREEN?"100%":"",s=r.style;(0,m.useEffect)(function(){o.onDisplay()},[]);var c=(0,h.jsxs)(el,{style:{maxHeight:i,height:a},children:[(0,h.jsx)(eT,{metaData:n,blockData:r,callback:o}),(0,h.jsx)(eP,{position:"top",colorScheme:t,meta:n,blocks:r.topPinnedBlocks,callback:o}),(0,h.jsx)(eP,{position:"middle",colorScheme:t,meta:n,blocks:r.blocks,callback:o}),(0,h.jsx)(eP,{position:"bottom",colorScheme:t,meta:n,blocks:r.bottomPinnedBlocks,callback:o})]});switch(s){case p.BOTTOM:return(0,h.jsx)(_.jdl,{open:!0,onOpenChange:function(){},style:{padding:"32px 16px",zIndex:9999},children:c});case p.FULLSCREEN:return(0,h.jsx)(eu,{style:{visibility:"visible",backgroundColor:"var(--brand-tiktok-background)"},children:c});case p.POP:default:return(0,h.jsx)(_.nOL,{open:!0,onOpenChange:function(){},style:{padding:"32px 16px",zIndex:9999},children:c})}},eE=function(e){var t=e.eventReport,n=e.colorScheme,r=e.blockData,o=e.metaData,i=e.callback,a=(0,m.useMemo)(function(){return new U(o,r,t)},[o,r,t]),s=(0,m.useMemo)(function(){return new L(o,r,a,i)},[o,r,a,i]);return(0,h.jsx)(x.tH,{shouldReport:!1,onError:function(e){return s.onError(e.toString())},children:(0,h.jsx)(eS,{colorScheme:n,metaData:o,blockData:r,blockCallback:s})})};function eA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}var eL=function(e){var t=e.monitorConfig,n=void 0===t?{}:t,r=n.config,o=n.sdkConfig,i=e.children;return(0,m.useMemo)(function(){var e,t,n;I.init(eA({teaEventNameFormatter:function(e){return O[e]}},r),(t=eA({bid:null!=(e=null==o?void 0:o.bid)?e:"pns_communication_service",version:"1.0.0",appId:1988},o),n=n={region:null==o?void 0:o.deploymentRegion},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))},[]),(0,h.jsx)(x.V7,{cujName:f.INTERACT,children:i})};function eC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function eO(){return(0,h.jsx)("link",{rel:"stylesheet",href:ei})}var eI=function(e){var t=e.pnsPopupConfig,n=e.eventReport,r=e.colorScheme,o=e.textDirection;return(0,m.useEffect)(function(){null==n||n("pns_web_popup_request",{type:"popup"})},[]),t.blockData?(0,h.jsxs)(_.juU,{colorSchemePreference:r,textDirection:o,children:[(0,h.jsx)(eO,{}),(0,h.jsx)(eE,{eventReport:n,colorScheme:r,blockData:t.blockData,metaData:t.metaData,callback:t.callback})]}):null},ex=function(e){var t,n,r=e.pnsPopupConfig,o=e.eventReport,i=e.colorScheme,a=e.textDirection,s=e.componentConfig,c=null,l=null;if(r.popupData)switch(l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(n=r.popupData,["popupType"]),t=n.popupType){case u.MOBILE_BANNER:c=(0,h.jsx)(Y,{colorScheme:i,content:l,open:!0,config:null==s?void 0:s.mBanner,meta:r.metaData,eventReport:o,callback:r.callback});break;case u.PC_BANNER:c=(0,h.jsx)($,{colorScheme:i,content:l,open:!0,config:null==s?void 0:s.pcBanner,meta:r.metaData,eventReport:o,callback:r.callback});break;case u.POP:default:c=(0,h.jsx)(eo,{colorScheme:i,content:l,open:!0,config:null==s?void 0:s.popup,meta:r.metaData,eventReport:o,callback:r.callback})}return(0,m.useEffect)(function(){null==o||o("pns_web_popup_request",{type:t})},[]),(0,h.jsxs)(_.juU,{colorSchemePreference:i,textDirection:a,children:[(0,h.jsx)(eO,{}),c]})},eN=function(e){var t=e.pnsPopupConfig,n=(0,g._)((0,m.useState)(!0),2),r=n[0],o=n[1];if((0,m.useEffect)(function(){A.registerVisibility(t.metaData.business,o)},[]),!r)return null;var i=null;return t.blockData&&(i=(0,h.jsx)(eI,eC({},e))),t.popupData&&(i=(0,h.jsx)(ex,eC({},e))),i},eD=function(e){return(0,h.jsx)(eL,{monitorConfig:e.monitorConfig,children:(0,h.jsx)(eN,eC({},e))})},eM=v.default.fetchPopupData},8707:function(e,t,n){"use strict";n.d(t,{PopupType:function(){return g},POPUP_API_V1:function(){return C},default:function(){return q},LifeCycleEventName:function(){return b}});var r,o,i,a,s,c,u,l,d,p,f,v,g,h,m,_,y,b,w,k,P,T,S,E,A=n(95170);(r=g||(g={})).POP="pop",r.PC_BANNER="pc_banner",r.MOBILE_BANNER="mobile_banner",r.WEBVIEW="webview",(o=h||(h={})).V1="v1",o.V2="v2",o.CUSTOMIZED="customized",(i=m||(m={})).TEXT="text",i.LINK="link",i.BUTTON="button",(a=_||(_={})).EXTERNAL="external",a.INTERNAL="internal",a.SUB_POPUP="sub_popup",(s=y||(y={})).INFO="info",s.WARN="warn",s.ERROR="error";var L="/tiktok/popup/dispatch/v1",C="/api/policy/notice/",O="/tiktok/popup/callback/v1";(c=b||(b={})).initError="initError",c.beforeFetchData="beforeFetchData",c.afterFetchData="afterFetchData",c.fetchDataError="fetchDataError",c.popupDataReady="popupDataReady",c.processDataError="processDataError",c.beforeSendCallback="beforeSendCallback",c.afterSendCallback="afterSendCallback",c.sendCallbackError="sendCallbackError",c.beforeNavigateToNextPopup="beforeNavigateToNextPopup",c.afterNavigateToNextPopup="afterNavigateToNextPopup",c.allPopupsCompleted="allPopupsCompleted",c.beforeDestruct="beforeDestruct";var I=n(26089),x=n(54333),N=n(79262),D=n(72516);function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function R(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function j(e){var t=e.link,n=e.lang;return t.replace("${locale}",n)}function U(e){if(e)return{url:e,width:"auto",height:"48px"}}function F(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,o)}(u=w||(w={})).CALLBACK="callback",u.H5="h5",(l=k||(k={}))[l.POPUP_STYLE_ENUM_BOTTOM=0]="POPUP_STYLE_ENUM_BOTTOM",l[l.POPUP_STYLE_ENUM_POP=1]="POPUP_STYLE_ENUM_POP",l[l.POPUP_STYLE_ENUM_FULLSCREEN=2]="POPUP_STYLE_ENUM_FULLSCREEN",l[l.POPUP_STYLE_ENUM_WEBVIEW=3]="POPUP_STYLE_ENUM_WEBVIEW",l[l.POPUP_STYLE_ENUM_PC_BANNER=4]="POPUP_STYLE_ENUM_PC_BANNER",l[l.POPUP_STYLE_ENUM_MOBILE_BANNER=5]="POPUP_STYLE_ENUM_MOBILE_BANNER",(d=P||(P={}))[d.LINK_TYPE_ENUM_INTERNAL=0]="LINK_TYPE_ENUM_INTERNAL",d[d.LINK_TYPE_ENUM_EXTERNAL=1]="LINK_TYPE_ENUM_EXTERNAL",d[d.LINK_TYPE_ENUM_SUB_POPUP=2]="LINK_TYPE_ENUM_SUB_POPUP",d[d.LINK_TYPE_UPGRADE=3]="LINK_TYPE_UPGRADE",(p=T||(T={}))[p.POPUP_OPERATION_ENUM_LEGACY_0=0]="POPUP_OPERATION_ENUM_LEGACY_0",p[p.POPUP_OPERATION_ENUM_LEGACY_1=1]="POPUP_OPERATION_ENUM_LEGACY_1",p[p.POPUP_OPERATION_ENUM_LEGACY_2=2]="POPUP_OPERATION_ENUM_LEGACY_2",p[p.POPUP_OPERATION_ENUM_LEGACY_3=3]="POPUP_OPERATION_ENUM_LEGACY_3",p[p.POPUP_OPERATION_ENUM_LEGACY_4_AGREE=4]="POPUP_OPERATION_ENUM_LEGACY_4_AGREE",p[p.POPUP_OPERATION_ENUM_LEGACY_5_REMIND_ME_LATER=5]="POPUP_OPERATION_ENUM_LEGACY_5_REMIND_ME_LATER",p[p.POPUP_OPERATION_ENUM_LEGACY_7_LEARN_MORE=6]="POPUP_OPERATION_ENUM_LEGACY_7_LEARN_MORE",p[p.POPUP_OPERATION_ENUM_LEGACY_8_CONFIRM=7]="POPUP_OPERATION_ENUM_LEGACY_8_CONFIRM",p[p.POPUP_OPERATION_ENUM_LEGACY_9_NOT_NOW=8]="POPUP_OPERATION_ENUM_LEGACY_9_NOT_NOW",p[p.POPUP_OPERATION_ENUM_LEGACY_10_DOWNLOAD_YOUR_DATA=9]="POPUP_OPERATION_ENUM_LEGACY_10_DOWNLOAD_YOUR_DATA",p[p.POPUP_OPERATION_ENUM_LEGACY_11_SUBMIT_APPEAL=10]="POPUP_OPERATION_ENUM_LEGACY_11_SUBMIT_APPEAL",p[p.POPUP_OPERATION_ENUM_LEGACY_20_DOWNLOAD_YOUR_DATA=11]="POPUP_OPERATION_ENUM_LEGACY_20_DOWNLOAD_YOUR_DATA",p[p.POPUP_OPERATION_ENUM_LEGACY_100_GOT_IT=12]="POPUP_OPERATION_ENUM_LEGACY_100_GOT_IT",p[p.POPUP_OPERATION_ENUM_LEGACY_101_LEARN_MORE=13]="POPUP_OPERATION_ENUM_LEGACY_101_LEARN_MORE",p[p.POPUP_OPERATION_ENUM_LEGACY_200_LEARN_MORE=14]="POPUP_OPERATION_ENUM_LEGACY_200_LEARN_MORE",(f=S||(S={}))[f.ACTION_TYPE_ENUM_CALLBACK=0]="ACTION_TYPE_ENUM_CALLBACK",f[f.ACTION_TYPE_ENUM_UPDATE_CONSENT=1]="ACTION_TYPE_ENUM_UPDATE_CONSENT",f[f.ACTION_TYPE_ENUM_FETCH_COMPLIANCE_SETTING=2]="ACTION_TYPE_ENUM_FETCH_COMPLIANCE_SETTING",(v=E||(E={}))[v.POPUP_CALLBACK_TYPE_ENUM_UNKNOWN=0]="POPUP_CALLBACK_TYPE_ENUM_UNKNOWN",v[v.POPUP_CALLBACK_TYPE_ENUM_USER_ID=1]="POPUP_CALLBACK_TYPE_ENUM_USER_ID",v[v.POPUP_CALLBACK_TYPE_ENUM_DEVICE_ID=2]="POPUP_CALLBACK_TYPE_ENUM_DEVICE_ID";var B=new(function(){function e(){var t,n,r=this;(0,A._)(this,e),this.callbackFunctionV1=function(e,t,n,o){return function(){t&&r._sendCallback(n).then(function(){I.LoggingModule.info("[PopupModule]: send callback finished")}).catch(function(e){I.LoggingModule.error("[PopupModule]: send callback fail",e)}),o&&(o.linkType===_.EXTERNAL?window.open(o.link):window.location.href=o.link),e&&r._navigateToNextPopup()}},this.callbackFunctionV2=function(e,t,n,o){return function(){if((null==n?void 0:n.actions)&&n.actions.includes(S.ACTION_TYPE_ENUM_CALLBACK)&&r._sendCallback({business:e.business,version:e.version,style:t,extra:n.extra,operation:n.operation}).then(function(){I.LoggingModule.info("[PopupModule]: send callback finished")}).catch(function(e){I.LoggingModule.error("[PopupModule]: send callback fail",e)}),o&&(null==n?void 0:n.link)){var i=j({link:n.link,lang:r._lang});n.link_type===P.LINK_TYPE_ENUM_EXTERNAL?window.open(i):window.location.href=i}(null==n?void 0:n.dismiss_all)?r._completeAllPopups():(null==n?void 0:n.dismiss)&&r._navigateToNextPopup()}};var o=this;return this._sendCallback=(t=function(e){var t,n;return(0,D.__generator)(this,function(r){switch(r.label){case 0:o._beforeSendCallback(),r.label=1;case 1:return r.trys.push([1,3,,4]),t=(void 0===e?"undefined":(0,N._)(e))==="object"?new URLSearchParams(e):e,[4,I.ServiceModule.sendRequest(o._callbackApi,"POST",t,{headers:{"Content-Type":"application/x-www-form-urlencoded"}})];case 2:return r.sent(),o._afterSendCallback(!0),[3,4];case 3:return n=r.sent(),o._afterSendCallback(!1,n),[3,4];case 4:return[2]}})},n=function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(e){F(i,r,o,a,s,"next",e)}function s(e){F(i,r,o,a,s,"throw",e)}a(void 0)})},function(e){return n.apply(this,arguments)}),e._instance||(e._instance=this),e._instance}var t=e.prototype;return t.init=function(e,t){I.LoggingModule.info("[PopupModule]: init",e),this._lang=e.lang,this._popupApi=e.apiPath||L,this._callbackApi=e.callbackApiPath||O,this._scene=e.scene||0,this._dataProcessor=e.dataProcessor||h.V2,this._customizedProcessor=e.customizeDataProcessor,this._navigateToNextPopup=t.navigateToNextPopup,this._completeAllPopups=t.completeAllPopups,this._beforeSendCallback=t.beforeSendCallback,this._afterSendCallback=t.afterSendCallback,this._adjustAPIConfig()},t._adjustAPIConfig=function(){this._popupApi===L?(this._callbackApi=O,this._dataProcessor=h.V2):this._popupApi===C&&(this._callbackApi="/api/policy/notice/approve/",this._dataProcessor=h.V1)},t.fetch=function(e){return I.LoggingModule.info("[PopupModule]: fetch ",this._popupApi),I.ServiceModule.sendRequest(this._popupApi,"GET",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({scene:this._scene},e))},t.processData=function(e){switch(I.LoggingModule.info("[PopupModule]: process data",e),this._dataProcessor){case h.V1:return this._processV1Data(e.data);case h.V2:return this._processV2Data(e.data);case h.CUSTOMIZED:return this._processCustomizedData(e);default:return this._processV2Data(e.data)}},t._processV1Data=function(e){var t=this,n="string"==typeof e?JSON.parse(e):e;I.LoggingModule.info("[PopupModule]: process V1 response",n);var r=null==n?void 0:n.policy_notices;if(!r||0===r.length)return[];var o=[];return r.forEach(function(e){if(e){var n={business:e.business,policy_version:e.policy_version,style:e.style,scene:t._scene},r={eventInfo:{style:e.style,business:e.business},popupType:e.style,title:e.title,icon:U(e.icon_url),iconDark:U(e.icon_url_dark),body:function(e){var t=e.lang,n=e.body,r=e.bodyLinks,o=e.popupMeta,i=e.callback;if(n){if(!r||0===r.length)return[{type:m.TEXT,text:n}];var a=[],s=0,c=/%s/g;return r.forEach(function(e){var r=e.name,u=e.link,l=void 0===u?"":u,d=e.operation,p=e.dismiss,f=e.approve,v=e.new_web_tab,g=e.extra,h=e.link_type,y=c.exec(n);if(y){var b=j({link:l,lang:t}),k=h===w.CALLBACK||f,P={type:l?m.LINK:m.BUTTON,text:r,link:b,linkType:v?_.EXTERNAL:_.INTERNAL,onClick:i(!!(f||p),!!k,R(M({},o),{extra:g,operation:null==d?void 0:d.toString()}))};a.push({type:m.TEXT,text:n.slice(s,y.index)}),a.push(P),s=Number(y.index)+y[0].length}}),a.push({type:m.TEXT,text:n.slice(s)}),a}}({lang:t._lang,body:e.body,bodyLinks:e.body_link_list,popupMeta:n,callback:t.callbackFunctionV1}),buttons:function(e){var t=e.lang,n=e.first_button_highlight,r=e.rawButtons,o=e.popupMeta,i=e.callback;if(0!==r.length){var a=[];return r.forEach(function(e,r){var s=e.text,c=e.is_bold,u=e.link_type,l=e.link,d=e.extra,p=e.approve,f=e.operation,v=e.dismiss,g=e.dismiss_all,h=e.new_web_tab,m=e.is_close_style,y=u===w.CALLBACK||p,b={text:s,isCloseStyle:m,isBold:!!c,isHighlight:0===r&&n,link:l?j({link:l,lang:t}):void 0,linkType:h?_.EXTERNAL:_.INTERNAL,onClick:i(!!(p||v||g),!!y,R(M({},o),{extra:d,operation:null==f?void 0:f.toString()}),l?{link:j({link:l,lang:t}),linkType:h?_.EXTERNAL:_.INTERNAL}:void 0)};a.push(b)}),a}}({lang:t._lang,first_button_highlight:!!e.first_button_highlight,rawButtons:e.actions||[],popupMeta:n,callback:t.callbackFunctionV1})};o.push(r)}}),o},t._processV2Data=function(e){var t=this,n="string"==typeof e?JSON.parse(e):e;return I.LoggingModule.info("[PopupModule]: process V2 response",n),n.popup_responses.map(function(e){var n=e.popup_ui,r=e.popup_meta;return{eventInfo:{style:n.style,business:r.business},popupType:function(e){switch(e){case k.POPUP_STYLE_ENUM_PC_BANNER:return g.PC_BANNER;case k.POPUP_STYLE_ENUM_MOBILE_BANNER:return g.MOBILE_BANNER;case k.POPUP_STYLE_ENUM_WEBVIEW:return g.WEBVIEW;case k.POPUP_STYLE_ENUM_POP:default:return g.POP}}(n.style),icon:U(n.icon_url),iconDark:U(n.icon_url_dark),title:n.title,buttons:function(e){var t=e.rawButtons,n=e.popupMeta,r=e.style,o=e.callback;if(t){var i=[];return t.forEach(function(e){var t={text:e.text,isBold:!!e.is_bold,isHighlight:!!e.is_highlight,callback:o(n,r,e.action,!0)};i.push(t)}),i}}({rawButtons:n.buttons,popupMeta:r,style:n.style,callback:t.callbackFunctionV2}),body:function(e){var t=e.lang,n=e.body,r=e.bodyLinks,o=e.popupMeta,i=e.style,a=e.callback;if(n){if(!r||0===r.length||!/%s/.test(n))return[{type:m.TEXT,text:n}];var s=/%s/g,c=[],u=0;return r.forEach(function(e){var r,l=e.text,d=e.action,p=s.exec(n);if(p){var f=M({type:(null==d?void 0:d.link)?m.LINK:m.BUTTON,text:l},(null==d?void 0:d.link)&&{link:j({link:d.link,lang:t}),linkType:d.link_type===P.LINK_TYPE_ENUM_EXTERNAL?_.EXTERNAL:_.INTERNAL},(null==d||null==(r=d.actions)?void 0:r.includes(S.ACTION_TYPE_ENUM_CALLBACK))&&{callback:a(o,i,d,!1)});c.push({type:m.TEXT,text:n.slice(u,p.index)}),c.push(f),u=Number(p.index)+p[0].length}}),c.push({type:m.TEXT,text:n.slice(u)}),c}}({lang:t._lang,body:n.body,bodyLinks:n.body_links,popupMeta:e.popup_meta,style:n.style,callback:t.callbackFunctionV2})}})},t._processCustomizedData=function(e){if(I.LoggingModule.info("[PopupModule]: process customized response"),!e||!this._customizedProcessor)return[];try{return this._customizedProcessor(e)}catch(e){I.LoggingModule.error("[PopupModule]: process customized response fail",e)}return[]},t.destruct=function(){I.LoggingModule.info("[PopupModule]: destruct")},e}()),H=new(function(){function e(){var t=this;return(0,A._)(this,e),this._eventListeners=new Map,this._currentPopupIndex=-1,this._popupData=[],this.dispatchEvent=function(e){if(I.LoggingModule.info("[LifeCycleModule]: dispatch start - ",e),t._currentEvent.has(e))return void I.LoggingModule.error("[LifeCycleModule]: Dispatch is already in process",{currentEvent:(0,x._)(t._currentEvent),upcomingEvent:e});t._currentEvent.add(e);var n=t._eventListeners.get(e);n&&n.forEach(function(t){try{t()}catch(t){I.LoggingModule.warn("[LifeCycleModule]: error executing listener for event: ".concat(e),t)}}),t._currentEvent.delete(e),I.LoggingModule.info("[LifeCycleModule]: dispatch finish - ",e)},this.beforeSendCallback=function(){I.LoggingModule.info("[LifeCycleModule]: before sendCallback"),t.dispatchEvent(b.beforeSendCallback)},this.afterSendCallback=function(e,n){e?(I.LoggingModule.info("[LifeCycleModule]: after sendCallback"),t.dispatchEvent(b.afterSendCallback)):(I.LoggingModule.error("[LifeCycleModule]: send callback failure",n),t.dispatchEvent(b.sendCallbackError))},this.navigateToNextPopup=function(){I.LoggingModule.info("[LifeCycleModule]: navigate to next popup"),t._currentPopupIndex+1<t._popupData.length?t._currentPopupIndex=t._currentPopupIndex+1:(I.LoggingModule.warn("[LifeCycleModule]: navigate to next popup failure - no next popup"),t.dispatchEvent(b.allPopupsCompleted))},this.completeAllPopups=function(){I.LoggingModule.info("[LifeCycleModule]: complete all popup"),t._currentPopupIndex=t._popupData.length},e._instance||(e._instance=this),e._instance}var t=e.prototype;return t.init=function(e){I.LoggingModule.info("[LifeCycleModule]: init"),I.LoggingModule.info("[LifeCycleModule]: init Popup module"),B.init(e,{navigateToNextPopup:this.navigateToNextPopup,completeAllPopups:this.completeAllPopups,beforeSendCallback:this.beforeSendCallback,afterSendCallback:this.afterSendCallback}),this._currentEvent=new Set},t.addEventListener=function(e,t){I.LoggingModule.info("[LifeCycleModule]: add event listener to ",e);var n=this._eventListeners.get(e)||[];this._eventListeners.set(e,(0,x._)(n).concat([t]))},t.removeEventListener=function(e,t){I.LoggingModule.info("[LifeCycleModule]: remove event listener from ",e);var n=this._eventListeners.get(e);if(n){var r=n.filter(function(e){return e!==t});this._eventListeners.set(e,r)}},t.removeAllEventListeners=function(e){I.LoggingModule.info("[LifeCycleModule]: remove all event listeners from ",e),this._eventListeners.set(e,[])},t.fetchPopupData=function(e){var t=this;return I.LoggingModule.info("[LifeCycleModule]: fetch popup data"),this.dispatchEvent(b.beforeFetchData),B.fetch(e).then(function(e){t.dispatchEvent(b.afterFetchData),I.LoggingModule.info("[LifeCycleModule]: fetch popup data done, start processing response"),t.processData(e)}).catch(function(e){I.LoggingModule.error("[LifeCycleModule]: fetch failure - ",e),t.dispatchEvent(b.fetchDataError)})},t.processData=function(e){try{var t=B.processData(e);(null==t?void 0:t.length)?(I.LoggingModule.info("[LifeCycleModule]: process response done, popup data ready"),this._currentPopupIndex=0,this._popupData=t,this.dispatchEvent(b.popupDataReady)):I.LoggingModule.info("[LifeCycleModule]: process popup response done, no popup data")}catch(e){I.LoggingModule.error("[LifeCycleModule]: process popup response error - ",e)}},t.hasPopupData=function(){return I.LoggingModule.info("[LifeCycleModule]: has popup data"),this._popupData.length>0},t.getAllPopupData=function(){return I.LoggingModule.info("[LifeCycleModule]: get all popup data"),this._popupData},t.getCurrentPopupData=function(){return I.LoggingModule.info("[LifeCycleModule]: get current popup data"),this._popupData[this._currentPopupIndex]},t.hasNextPopup=function(){I.LoggingModule.info("[LifeCycleModule]: has next popup");var e=this._popupData.length,t=this._currentPopupIndex+1;return 0!==this._popupData.length&&t<e},t.destruct=function(){I.LoggingModule.info("[LifeCycleModule]: destruct"),B.destruct(),this._currentPopupIndex=-1,this._popupData=[],this._currentEvent.clear()},e}());function Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}var V={appId:-1,region:"",wid:-1,lang:"en",isDebug:!1,isMobile:!1,apiDomain:"",apiPath:L,callbackApiPath:O,dataProcessor:h.V2,scene:0,timeout:1e3},q=new(function(){function e(){return(0,A._)(this,e),this._isInitialized=!1,e._instance||(e._instance=this),e._instance}var t=e.prototype;return t.init=function(e){if(!this._isInitialized){var t=Y({},V,e);I.LoggingModule.init(Y({debug:!!t.isDebug,meta:{appID:t.appId,wid:t.wid,lang:t.lang}},t.logging&&{customLoggingModule:t.logging})),I.LoggingModule.info("[SDK]: init global module"),I.ServiceModule.init({domain:t.apiDomain,commonParams:{region:t.region,priority_region:t.region,aid:t.appId,device_id:t.wid,app_language:t.lang,device_platform:t.isMobile?"web_mobile":"web_pc"}}),H.init(t),B.init(t,{navigateToNextPopup:H.navigateToNextPopup,completeAllPopups:H.completeAllPopups,beforeSendCallback:H.beforeSendCallback,afterSendCallback:H.afterSendCallback}),this._isInitialized=!0}},t.fetchPopupData=function(e){return I.LoggingModule.info("[SDK]: fetch popup data"),H.fetchPopupData(e)},t.hasPopupData=function(){return I.LoggingModule.info("[SDK]: has popup data"),H.hasPopupData()},t.getPopupData=function(){return(I.LoggingModule.info("[SDK]: get popup data"),this.hasPopupData())?H.getCurrentPopupData():null},t.hasNextPopup=function(){return I.LoggingModule.info("[SDK]: has next popup"),H.hasNextPopup()},t.addEventListener=function(e,t){if(I.LoggingModule.info("[SDK]: addEventListener"),!e||!b[e]||"function"!=typeof t){var n="[SDK]: addEventListener - invalid param for adding new event listener";I.LoggingModule.error(n,Error(n));return}H.addEventListener(e,t)},t.removeEventListener=function(e,t){if(I.LoggingModule.info("[SDK]: removeEventListener"),!e||!b[e]||"function"!=typeof t)return void I.LoggingModule.warn("[SDK]: removeEventListener - invalid param for removing event listener");H.removeEventListener(e,t)},t.removeAllEventListeners=function(e){if(I.LoggingModule.info("[SDK]: removeAllEventListener"),!e||!b[e])return void I.LoggingModule.warn("[SDK]: removeEventListener - invalid param for removing all event listener");H.removeAllEventListeners(e)},t.destruct=function(){I.LoggingModule.info("[SDK]: destruct");var e=!0,t=!1,n=void 0;try{for(var r,o=Object.keys(b)[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){var i=b[r.value];this.removeAllEventListeners(i)}}catch(e){t=!0,n=e}finally{try{e||null==o.return||o.return()}finally{if(t)throw n}}H.destruct(),I.ServiceModule.destruct(),I.LoggingModule.destruct(),this._isInitialized=!1},e}())},55169:function(e,t,n){"use strict";n.d(t,{Ay:function(){return I},PD:function(){return C},Qx:function(){return A},Rq:function(){return O}});var r=n(5377),o=n(45996),i=n(47236),a=n(40099),s=Symbol.for("visible_render_strategy"),c=function(e){var t=e.id,n=e.emitter;return(0,a.useEffect)(function(){if(!n.isTriggered(s)){var e=document.getElementById(t);if(e){var r=new IntersectionObserver(function(e){var t=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(t=(a=c.next()).done);t=!0)if(a.value.isIntersecting){r.disconnect(),n.emit(s);break}}catch(e){o=!0,i=e}finally{try{t||null==c.return||c.return()}finally{if(o)throw i}}});return r.observe(e),function(){r.disconnect()}}}},[t,n]),null},u=n(24643),l=n(24230),d=n(79066),p=n(95170),f=n(72516),v=function(){function e(){(0,p._)(this,e),this._triggeredEvents=new Set,this._activeListeners=new Map}var t=e.prototype;return t.isTriggered=function(e){return this._triggeredEvents.has(e)},t.emit=function(e){var t=this._activeListeners.get(e);t&&t.forEach(function(e){return e()}),this._activeListeners.delete(e),this._triggeredEvents.add(e)},t.on=function(e,t){var n=this;if(this.isTriggered(e))t();else{var r,o=null!=(r=this._activeListeners.get(e))?r:new Set;o.add(t),this._activeListeners.set(e,o)}return{dispose:function(){return n.off(e,t)}}},t.off=function(e,t){var n=this._activeListeners.get(e);null==n||n.delete(t)},t.resetEvent=function(e){this._triggeredEvents.delete(e)},t.waitFor=function(e){return(0,d._)(function(){var t;return(0,f.__generator)(this,function(n){return t=this,[2,new Promise(function(n){t.on(e,n)})]})}).call(this)},e}(),g=n(48748),h=n(7120),m=function(e){function t(e){return(0,p._)(this,t),(0,g._)(this,t,[null!=e?e:"Lazy load component timeout."])}return(0,h._)(t,e),t}((0,n(112)._)(Error)),_=n(57971),y=n.n(_),b=new Map;function w(e){return(0,d._)(function(){var t,n,r,o,i,a,s;return(0,f.__generator)(this,function(c){switch(c.label){case 0:t=!0,n=!1,r=void 0,c.label=1;case 1:c.trys.push([1,8,9,10]),o=e[Symbol.iterator](),c.label=2;case 2:if(t=(i=o.next()).done)return[3,7];if("function"!=typeof(a=i.value))return[3,4];return[4,a()];case 3:return c.sent(),[3,6];case 4:return[4,a];case 5:c.sent(),c.label=6;case 6:return t=!0,[3,2];case 7:return[3,10];case 8:return s=c.sent(),n=!0,r=s,[3,10];case 9:try{t||null==o.return||o.return()}finally{if(n)throw r}return[7];case 10:return[2]}})})()}function k(e,t){return function(){return(0,d._)(function(){return(0,f.__generator)(this,function(n){switch(n.label){case 0:return[4,e.waitFor(t)];case 1:return n.sent(),[2]}})})()}}function P(e){return function(){return(0,d._)(function(){var t;return(0,f.__generator)(this,function(n){return[2,new Promise(function(n){t=setTimeout(function(){n()},e)}).finally(function(){return clearTimeout(t)})]})})()}}var T=function(){return new Promise(function(){})},S=function(){return Promise.resolve()};function E(e,t,n,o){return function(i){return(0,d._)(function(){var a,c,u,l,p,v,g,h,_,E,A,L,C;return(0,f.__generator)(this,function(O){switch(O.label){case 0:var I;if(null==i?void 0:i.__chunkExtractor)return[2,n(i)];return c=function(){return(0,d._)(function(){return(0,f.__generator)(this,function(e){switch(e.label){case 0:return[4,n(i)];case 1:return a=e.sent(),[2]}})})()},u=S,l=T,p=[],g=(v=(0,r._)({},null==o?void 0:o.defaultProps,i)).timeout,h=v.raceTime,_=v.delayTime,E=v.renderEvent,A=v.renderStrategy,"number"==typeof g&&(u=function(){return(0,d._)(function(){var e;return(0,f.__generator)(this,function(t){return[2,new Promise(function(t,n){e=setTimeout(function(){n(new m("Load lazy component timeout."))},g)}).finally(function(){return clearTimeout(e)})]})})()}),"number"==typeof h&&(l=P(h)),"number"==typeof _&&p.push(P(_)),(null==o?void 0:o.dependencyScripts)&&Array.isArray(o.dependencyScripts)&&p.push((I=o.dependencyScripts,function(){return(0,d._)(function(){return(0,f.__generator)(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,Promise.all(I.map(function(e){return(0,d._)(function(){var t;return(0,f.__generator)(this,function(n){return b.has(e)?[2,b.get(e)]:(t=new Promise(function(t,n){y()(e,function(r){r?(b.delete(e),n(r)):t()})}),b.set(e,t),[2,t])})})()}))];case 1:return e.sent(),[3,3];case 2:return console.error("Load script error:",e.sent()),[3,3];case 3:return[2]}})})()})),"idle"===(L=A)?p.push(function(){return(0,d._)(function(){return(0,f.__generator)(this,function(e){return[2,new Promise(function(e,t){requestIdleCallback(function(){e()})})]})})()}):"visible"===L?p.push(k(t,s)):"custom"===L&&E&&p.push(k(e,E)),C=Promise.race([l(),w(p)]),[4,Promise.all([w([C,c]),u()])];case 1:if(O.sent(),!(null==a?void 0:a.default))throw Error("Default of module should be component.");return[2,a]}})})()}}var A=new v,L=new Set([A]),C={emit:function(e){L.forEach(function(t){return t.emit(e)})},resetEvent:function(e){L.forEach(function(t){return t.resetEvent(e)})}};function O(e,t){var n,s=new v;L.add(s);var l=e;if("function"!=typeof e){var d=E(A,s,l=e.importAsync,t);n=(0,o._)((0,r._)({},e),{importAsync:d})}else n=E(A,s,e,t);return!function(e,t,n,r){var o=function(){t({}).catch(function(e){console.error("Load resource error",{error:e?e.message:e})})};if("preload"===e)return o();"custom"===e&&r&&n.on(r,function(){o()})}(null==t?void 0:t.resourceStrategy,l,A,null==t?void 0:t.loadEvent),function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(n.dependencyScripts)try{!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"preload",n=!0,r=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value,c=document.createElement("link");c.href=s,c.rel=t,c.as="script",document.head.appendChild(c)}}catch(e){r=!0,o=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}}(n.dependencyScripts)}catch(e){console.error("Link script error:",e)}return(0,a.forwardRef)(function(n,i){var s=n.intersectionId,l=s?(0,u.jsx)(c,{id:s,emitter:t}):null;return(0,u.jsxs)(a.Fragment,{children:[l,(0,u.jsx)(e,(0,o._)((0,r._)({},n),{ref:i}))]})})}((0,i.Ay)(n,t),s,t)}var I=O},10874:function(e,t,n){"use strict";n.r(t),n.d(t,{Redirect:function(){return h},useRouteError:function(){return T},Prompt:function(){return g},useParams:function(){return d},useHistory:function(){return c},CustomRouterContext:function(){return a},DeclaredLinkPathsContext:function(){return s},Link:function(){return f},NavLink:function(){return v},getRouterState:function(){return C},RouteCondition:function(){return k},mergeRouterState:function(){return I},replaceRouterState:function(){return O},useRouteMatch:function(){return l},matchPath:function(){return p},useLocation:function(){return u},CompatRouter:function(){return P}});var r=n(40099),o=n(11060),i=n(99179),a=(0,r.createContext)(null),s=(0,r.createContext)(null);function c(){var e,t=(0,r.useContext)(a),n=(0,o.useHistory)();return null!=(e=null==t?void 0:t.history)?e:n}function u(){var e,t=(0,r.useContext)(a),n=(0,o.useLocation)();return null!=(e=null==t?void 0:t.location)?e:n}var l=o.useRouteMatch,d=o.useParams,p=o.matchPath,f=i.Link,v=i.NavLink,g=o.Prompt,h=o.Redirect,m=n(16327),_=n(24643),y=n(26475),b=n(72828),w=n.n(b),k=function(e){var t=e.children,n=e.reverse,i=e.render,a=(0,m._)(e,["children","reverse","render"]),s=(0,o.useLocation)(),c=(0,o.matchPath)(s.pathname,a);return"function"==typeof i?(0,_.jsxs)(r.Fragment,{children:[i({match:c})," "]}):(n?c:!c)?null:(0,_.jsx)(r.Fragment,{children:t})},P=function(e){var t=e.createRouter,n=e.historyPaths,r=e.children;if(t)throw Error("Can't pass createRouter in react-router v5.");var i=function(e,t){var n=(0,y.zR)(void 0);function r(t){return function(r,o){var i=function(e){if("string"==typeof e){var t=new URL(e,window.location.origin);return{pathname:t.pathname,href:t.href}}var n=e.pathname,r=void 0===n?"":n,o=e.search,i=e.hash;return{pathname:r,href:"".concat(r).concat(void 0===o?"":o).concat(void 0===i?"":i)}}(r),a=i.pathname,s=i.href;e.some(function(e){return w()(e).test(a)})?t?n.replace(r,o):n.push(r,o):t?window.location.replace(s):window.location.assign(s)}}return Object.create(n,{push:{enumerable:!0,value:r(!1)},replace:{enumerable:!0,value:r(!0)}})}(null!=n?n:[]);return(0,_.jsx)(o.Router,{history:i,children:r})},T=function(){throw Error("useRouteError is not supported in react-router v5")},S=n(35383),E=n(5377),A=n(45996),L="state";function C(){var e=window.history.state;return null==e?void 0:e[L]}function O(e,t){var n=window.history.state,r=(0,A._)((0,E._)({},n),(0,S._)({},L,e));window.history.replaceState(r,null!=t?t:"")}function I(e,t){var n=window.history.state,r=null==n?void 0:n[L],o=(0,A._)((0,E._)({},n),(0,S._)({},L,(0,E._)({},r,e)));window.history.replaceState(o,null!=t?t:"")}},77461:function(e,t,n){"use strict";n(3262),console.info("Reflect is polyfilled, using `@abraham/reflection`.")},9152:function(e,t,n){"use strict";n.d(t,{GC:function(){return D},Ak:function(){return I},VB:function(){return O},xX:function(){return x}});var r=n(48748),o=n(95170),i=n(7120),a=n(54333),s=n(79262),c=n(23999),u=n(19293),l=n(62564),d=n(68710),p=n(98812),f=n(95719),v=n(78990),g=n(82379),h=n(1455),m=n(81314),_=n(10829),y=n(70798),b=n(35144),w=n(5377),k=n(45996),P=n(84772),T=n(96062);function S(e,t){if(("undefined"==typeof Reflect?"undefined":(0,s._)(Reflect))==="object"&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}var E=function(){function e(t){(0,o._)(this,e),this.fetch=t}var t=e.prototype;return t.postScheduleRecord=function(e){return this.fetch.post("/api/v1/post_schedule/ack/",{query:(0,k._)((0,w._)({},e),{tt_csrf_token:this.fetch.csrfToken})})},t.updateRedDot=function(e){return this.fetch.post("/api/reddot/report",{query:(0,w._)({},e)})},t.queryLongVideoTooltipVisibility=function(e){return this.fetch.post("/tiktok/popup/display/v1/",{query:(0,w._)({},e)})},t.updateLongVideoToolTipVisibility=function(e){return this.fetch.post("/tiktok/popup/report/v1/",{query:(0,w._)({},e)})},e}();E=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if(("undefined"==typeof Reflect?"undefined":(0,s._)(Reflect))==="object"&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}([(0,P._q)(),S("design:type",Function),S("design:paramtypes",[void 0===T.p?Object:T.p])],E);var A=n(90950);function L(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if(("undefined"==typeof Reflect?"undefined":(0,s._)(Reflect))==="object"&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function C(e,t){if(("undefined"==typeof Reflect?"undefined":(0,s._)(Reflect))==="object"&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}var O="upload-long-video",I="series-tip",x="upload-podcast",N=function(){var e,t,n,r,o=(0,b.x)();return!!(null==o||null==(r=o.abTestVersion)||null==(n=r.abTestApp)||null==(t=n.parameters)||null==(e=t.tiktok)?void 0:e.long_video_popup_display_optimization)},D=function(e){function t(e,n){var i,a,s,c,u,l;return(0,o._)(this,t),(i=(0,r._)(this,t)).service=e,i.home=n,i.defaultState={tooltipPriority:A.k.DesktopDownloadTip,uploadTooltipType:0,maxPublishVideoDuration:-60,redDot:null!=(l=null==(u=i.home)||null==(c=u.state)||null==(s=c.appContext)||null==(a=s.user)?void 0:a.redDot)?l:[]},i}(0,i._)(t,e);var n=t.prototype;return n.setUploadLongVideoTooltip=function(e,t){var n=t.hasLongVideoPermission,r=t.uploadProfileMaxPublishVideoDuration,o=t.hasPosted1MinPlusVideo,i=window.location.pathname.includes("/upload");if(n&&o&&!m.bc.getItem(O)&&!i&&r>0){e.tooltipPriority=A.k.Upload,e.uploadTooltipType=1,e.maxPublishVideoDuration=r;return}},n.triggerUploadLongVideoTooltip=function(e){if(!window.location.pathname.includes("/upload")){var t,n,r=(0,b.x)();e.tooltipPriority=A.k.Upload,e.uploadTooltipType=1,e.maxPublishVideoDuration=null!=(n=null==(t=r.user)?void 0:t.longVideoMinutes)?n:0}},n.setTooltipPriority=function(e,t){e.tooltipPriority=t},n.deleteTypeRedDot=function(e,t){var n=(0,a._)(e.redDot),r=n.indexOf(t);n.splice(r,1),e.redDot=n},n.checkLongVideoTooltipStatus=function(e){var t=this;return e.pipe((0,l.T)(function(){var e,n,r=(0,b.x)(),o=null!=(u=null==(i=r.user)?void 0:i.longVideoMinutes)?u:0;if(!N()){var i,a,s,c,u,l,d,p,f,v=!!((null==(l=r.user)?void 0:l.longVideoMinutes)&&(null==(d=r.user)?void 0:d.longVideoMinutes)>1),g=!!(null==(f=(null==(p=r.abTestVersion)?void 0:p.parameters).tiktok)?void 0:f.has_posted_1minplus);return t.getActions().setUploadLongVideoTooltip({hasLongVideoPermission:v,uploadProfileMaxPublishVideoDuration:o,hasPosted1MinPlusVideo:g})}var h=parseInt(null!=(e=null==r||null==(s=r.user)||null==(a=s.longVideoPopupDisplayedStatus)?void 0:a.display_history)?e:"-1",10),m=parseInt(null!=(n=localStorage.getItem("longvideo_popup_already_displayed_local_".concat(null==r||null==(c=r.user)?void 0:c.uid)))?n:"-1",10),_=null,y=!1;return(-1===h&&-1!==m?(y=!0,_=m):_=h,_<o)?t.getActions().queryLongVideoTooltip({permission_type:o}):y?t.getActions().updateLongVideoTooltip({permission_type:_}):t.noop()}))},n.queryLongVideoTooltip=function(e){var t=this;return e.pipe((0,d.Z)(function(e){return t.service.queryLongVideoTooltipVisibility({permission_type:e.permission_type}).pipe((0,p.H)(function(n){return n&&0===n.status_code&&n.need_to_display?(0,c.of)(t.getActions().triggerUploadLongVideoTooltip(),t.getActions().updateLongVideoTooltip({permission_type:e.permission_type})):(0,c.of)(t.noop())}))}))},n.updateLongVideoTooltip=function(e){var t=this;return e.pipe((0,d.Z)(function(e){return t.service.updateLongVideoToolTipVisibility({permission_type:e.permission_type}).pipe((0,l.T)(function(n){if(n&&0===n.status_code){var r,o=(0,b.x)();try{localStorage.setItem("longvideo_popup_already_displayed_local_".concat(null==o||null==(r=o.user)?void 0:r.uid),"".concat(e.permission_type))}catch(e){}}return t.noop()}))}))},n.postScheduleRecord=function(e){var t=this;return e.pipe((0,d.Z)(function(e){return t.service.postScheduleRecord(e).pipe((0,l.T)(function(){return t.noop()}))}))},n.updateRedDot=function(e){var t=this;return e.pipe((0,d.Z)(function(e){var n=e.redirect,r=e.type,o=e.isElectronApp,i=void 0!==o&&o;return t.service.updateRedDot({type:r}).pipe((0,f.M)(function(){n&&(i?window.open(n,"_blank"):location.href=n)}),(0,l.T)(function(){return t.getActions().deleteTypeRedDot(r)}))}))},t}(v.E);L([(0,g.h5)(),C("design:type",Function),C("design:paramtypes",["undefined"==typeof HeaderModuleState?Object:HeaderModuleState,Object]),C("design:returntype",void 0)],D.prototype,"setUploadLongVideoTooltip",null),L([(0,g.h5)(),C("design:type",Function),C("design:paramtypes",["undefined"==typeof HeaderModuleState?Object:HeaderModuleState]),C("design:returntype",void 0)],D.prototype,"triggerUploadLongVideoTooltip",null),L([(0,g.h5)(),C("design:type",Function),C("design:paramtypes",["undefined"==typeof HeaderModuleState?Object:HeaderModuleState,void 0===A.k?Object:A.k]),C("design:returntype",void 0)],D.prototype,"setTooltipPriority",null),L([(0,g.h5)(),C("design:type",Function),C("design:paramtypes",["undefined"==typeof HeaderModuleState?Object:HeaderModuleState,void 0===y.B?Object:y.B]),C("design:returntype",void 0)],D.prototype,"deleteTypeRedDot",null),L([(0,g.Mj)(),C("design:type",Function),C("design:paramtypes",[void 0===u.c?Object:u.c]),C("design:returntype",void 0)],D.prototype,"checkLongVideoTooltipStatus",null),L([(0,g.Mj)(),C("design:type",Function),C("design:paramtypes",[void 0===u.c?Object:u.c]),C("design:returntype",void 0)],D.prototype,"queryLongVideoTooltip",null),L([(0,g.Mj)(),C("design:type",Function),C("design:paramtypes",[void 0===u.c?Object:u.c]),C("design:returntype",void 0)],D.prototype,"updateLongVideoTooltip",null),L([(0,g.Mj)(),C("design:type",Function),C("design:paramtypes",[void 0===u.c?Object:u.c]),C("design:returntype",void 0)],D.prototype,"postScheduleRecord",null),L([(0,g.Mj)(),C("design:type",Function),C("design:paramtypes",[void 0===u.c?Object:u.c]),C("design:returntype",void 0)],D.prototype,"updateRedDot",null),D=L([(0,h.nV)("Header"),C("design:type",Function),C("design:paramtypes",[void 0===E?Object:E,void 0===_.L?Object:_.L])],D)},43767:function(e,t,n){"use strict";n.d(t,{Db:function(){return x},L2:function(){return O},YS:function(){return E},oY:function(){return L},r7:function(){return C}});var r=n(5377),o=n(45996),i=n(6586),a=n(54333),s=n(40099),c=n(10874),u=n(95794),l=n(51794),d=n(88947),p=n(61735),f=n(17505),v=n(37706),g=n(93844),h=n(43264),m=n(54520),_=n(66772),y=n(41199),b=n(23680),w=n(69309),k=n(90092),P=n(90950),T="auto_show",S=[{title:"terms",key:"terms-of-service",href:""},{title:"privacy",key:"privacy-policy-row",href:""},{title:"accessibility",key:"accessibility",href:""},{title:"copyright",key:"copyright-policy",href:""}];function E(){return!!(0,c.useLocation)().pathname.startsWith("/coin")}function A(){var e=(0,u._S)(l._),t=e?JSON.parse(e):{date:"",count:0},n=t.count,r=t.date;return{todayShowed:new Date().toDateString()===new Date(Number(r)).toDateString(),count:n}}function L(){var e=(0,c.useLocation)().pathname,t=(0,d.Fj)(e)||(0,d.Tc)(e);return(0,p.Ig)()&&t||(0,d.eg)(e)}function C(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=(0,s.useRef)(0),n=(0,s.useRef)(0),r=(0,s.useRef)(0),o=(0,s.useRef)(!1),a=(0,i._)((0,s.useState)(!1),2),c=a[0],d=a[1],p=(0,k.N)(P.k.DesktopDownloadTip),f=p.tooltipPriority,v=p.handlePopoverEnd,g=p.handlePopoverInitial;(0,s.useEffect)(function(){f===P.k.DesktopDownloadTip&&o.current&&(d(!0),r.current=window.setTimeout(function(){d(!1),v(),o.current=!1},5e3))},[f]);var h=(0,s.useCallback)(function(e){e!==T?d(!0):f===P.k.DesktopDownloadTip&&(d(!0),r.current=window.setTimeout(function(){d(!1),v(),o.current=!1},5e3)),window.clearTimeout(n.current),window.clearTimeout(t.current);var i=A(),a=i.todayShowed,s=i.count;!a&&s<5&&(0,u.AP)(l._,JSON.stringify({date:new Date().getTime(),count:s+1}))},[]);return(0,s.useEffect)(function(){var e=A(),t=e.todayShowed,i=e.count;return o.current=!t&&i<5,o.current?n.current=window.setTimeout(function(){g(),h(T)},3e3):v(),function(){window.clearTimeout(n.current),window.clearTimeout(r.current)}},[]),{active:c,handleMouseEnter:h,handleMouseLeave:(0,s.useCallback)(function(){t.current=window.setTimeout(function(){d(!1)},e)},[e]),handleEndAutoShow:(0,s.useCallback)(function(){(0,u.AP)(l._,JSON.stringify({date:new Date().getTime(),count:6}))},[])}}function O(e){var t=new Date,n={redirect_url:"undefined"==typeof window?"":window.location.href,loginPath:y.tH.linkPhoneOrEmail,isLinkPhoneOrEmail:!0},r=(0,f.ZOE)(),o=(0,v.K)(n);(0,s.useEffect)(function(){if(!function(){var e=(0,u._S)(l.gM),t=new Date;if(e){var n=new Date(parseInt(e,10));if((n.getDate()===t.getDate()||n.getDate()===t.getDate()-1)&&n.getMonth()===t.getMonth()&&n.getFullYear()===t.getFullYear())return!0}return!1}()&&e&&r)try{o(),w._.handleLinkPhoneOrEmailPopupShow({enterMethod:"periodic"}),(0,u.AP)(l.gM,t.getTime().toString())}catch(e){console.log("show link phone pop up failed")}},[e,r])}function I(e){var t;return e?(0,o._)((0,r._)({},e),{children:null!=(t=null==e?void 0:e.children.filter(function(e){var t=e.placements,n=void 0===t?[]:t;return 0===n.length||n.includes("sidebar")}))?t:[]}):void 0}function x(){var e,t,n=(0,g.s)(),i=(null!=(e=(0,h.W)(function(){return["language"]},[]))?e:{}).language,c=void 0===i?"en":i,u=null!=(t=(0,m.TQ)("enable_privacy_center"))&&t,l=(0,b.P)(_.$,{selector:function(e){var t,r;return{$legalList:null==(t=e.bizContext)?void 0:t.navList.find(function(e){return e.title===n("Legal")}),navList:null==(r=e.bizContext)?void 0:r.navList}},dependencies:[]}),d=l.navList,p=void 0===d?[]:d,f=l.$legalList,v=S.find(function(e){return"privacy"===e.title});v&&(v.title=u?"Privacy Policy":"privacy");var y=(0,s.useMemo)(function(){var e=[{title:n("help"),key:"help-center",href:"https://support.tiktok.com/".concat(c)},{title:n("safety"),key:"safety-center",href:"https://www.tiktok.com/safety?lang=".concat(c)}].concat((0,a._)(S.reduce(function(e,t){var i,a,s,l=(null!=(i=null==f?void 0:f.children)?i:[]).map(function(e){return e.key}).indexOf(t.key);return"accessibility"===t.key&&e.push({title:"Accessibility",key:"accessibility",href:"https://www.tiktok.com/accessibility/".concat(c)}),"copyright-policy"===t.key&&(u&&e.push({title:n("privacyCenter_webFooter_resourcesPrivacy_navLink"),key:"privacy-center",href:"https://www.tiktok.com/privacy/overview/".concat(c,"?enter_method=webapp_desktop")}),e.push({title:"Creator Academy",key:"create-portal",href:"https://www.tiktok.com/creator-academy"}),e.push({title:n("Community Guidelines"),key:"community-guidelines",href:"https://www.tiktok.com/community-guidelines?lang=".concat(c)})),l>=0&&e.push((0,o._)((0,r._)({},t),{title:n(t.title),href:null!=(s=null==f||null==(a=f.children)?void 0:a[l].href)?s:""})),e},[]))),t=I(p[0]),i=I(p[1]);return{pageList:t?{title:n("hca_web_Company",void 0,t.title),children:t.children}:void 0,programList:i?{title:n("hca_web_Program",void 0,i.title),children:i.children}:void 0,legalList:f?{title:n("hca_web_TermsAndPolicies",void 0,"Terms & Policies"),children:e}:void 0}},[f,c,p,n]);return{pageList:y.pageList,programList:y.programList,legalList:y.legalList}}},90092:function(e,t,n){"use strict";n.d(t,{N:function(){return c}});var r=n(6586),o=n(40099),i=n(77443),a=n(9152),s=n(90950);function c(e){var t=(0,r._)((0,i.S)(a.GC),2),n=t[0],c=n.tooltipPriority,u=n.maxPublishVideoDuration,l=t[1],d=(0,o.useRef)(!1),p=(0,o.useCallback)(function(){if(e!==c)s.N.remove(e);else{var t=s.N.end(e);t&&l.setTooltipPriority(t)}},[c]),f=(0,o.useCallback)(function(){s.N.start(e)},[]);return d.current||(s.N.add(e),d.current=!0),(0,o.useEffect)(function(){return function(){s.N.clean()}},[]),{tooltipPriority:c,maxPublishVideoDuration:u,handlePopoverInitial:f,handlePopoverEnd:p}}},90950:function(e,t,n){"use strict";n.d(t,{N:function(){return s},k:function(){return a}});var r,o=n(95170),i=n(54333),a=((r={})[r.None=0]="None",r[r.PromotePopupTip=1]="PromotePopupTip",r[r.DesktopDownloadTip=2]="DesktopDownloadTip",r[r.LoginTip=3]="LoginTip",r[r.Upload=4]="Upload",r[r.Inbox=5]="Inbox",r[r.Series=6]="Series",r[r.DarkMode=7]="DarkMode",r[r.EditProfile=8]="EditProfile",r[r.LiveCreatorTooltip=9]="LiveCreatorTooltip",r[r.LiveChatTooltip=10]="LiveChatTooltip",r),s=new(function(){function e(){(0,o._)(this,e),this.priorityKeys=[],this.endPriorityKeys=[]}var t=e.prototype;return t.start=function(e){this.endPriorityKeys.filter(function(t){return t!==e})},t.end=function(e){var t=this;if(!this.endPriorityKeys.includes(e)){this.endPriorityKeys.push(e);var n=this.priorityKeys.find(function(e){return!t.endPriorityKeys.includes(e)});if(n)return n}return null},t.remove=function(e){this.priorityKeys.filter(function(t){return t!==e})},t.add=function(e){this.priorityKeys.includes(e)||(this.priorityKeys=(0,i._)(this.priorityKeys).concat([e]).sort(function(e,t){return e-t}))},t.clean=function(){this.priorityKeys=[],this.endPriorityKeys=[]},e}())},10625:function(e,t,n){"use strict";n.d(t,{p:function(){return s}});var r=n(54333),o=n(71111),i=n(37633),a=n(30695);function s(e){for(var t=arguments.length,n=Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];return(0,i.U)(e,function(){var t=o.atom.apply(void 0,(0,r._)(n));return t.debugLabel=(0,a.Lr)(e).id,t})}},82761:function(e,t,n){"use strict";n.d(t,{$:function(){return i}});var r=n(40099),o=n(37633);function i(e){return function(t){return(0,o.U)(e,function(){return(0,r.createContext)(t)})}}},37633:function(e,t,n){"use strict";n.d(t,{c:function(){return u},U:function(){return c}});var r=n(87827),o=n(54333),i=n(34966),a=n(30695),s=new Map;function c(e,t){var n="function"==typeof t?t:function(){return t};if(!(0,i.Sr)())return n();var r,o=(0,a.Lr)(e),c=o.scope,u=o.id;if(s.has(c)?r=s.get(c):(r=new Map,s.set(c,r)),r.has(u))return r.get(u);var l=n();return r.set(u,l),l}function u(e,t){return c(e,function(){var e=t.args,n=t.factory,i=t.ctor;if(n)return n.apply(void 0,(0,o._)(e));if(i)return(0,r._)(i,(0,o._)(e));throw Error("Opts must have factory or ctor when call createSingletonWith.")})}},34966:function(e,t,n){"use strict";n.d(t,{Q9:function(){return i},RJ:function(){return o},Sr:function(){return a}});var r=!1;function o(){r=!0}function i(){r=!1}function a(){return r}},30695:function(e,t,n){"use strict";n.d(t,{Lr:function(){return i}});var r="__default_scope__",o="__default_version__";function i(e){var t,n,i,a,s,c,u;return"string"==typeof e?(t=e.indexOf("@"),n=e.lastIndexOf("~"),i=e,a=r,s=o,-1!==t&&(i=e.slice(0,t),n>t?(a=e.slice(t,n),s=e.slice(n)):a=e.slice(t)),{id:i,scope:a,version:s}):{id:e[0],scope:null!=(c=e[1])?c:r,version:null!=(u=e[2])?u:o}}},90900:function(e,t,n){"use strict";n.d(t,{B:function(){return u}});var r=n(96815),o=n(54333),i=n(72828),a=n.n(i),s={},c=0;function u(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=(t="string"==typeof n||Array.isArray(n)?{path:n}:n).path,u=t.exact,l=void 0!==u&&u,d=t.strict,p=void 0!==d&&d,f=t.sensitive,v=void 0!==f&&f,g=Array.isArray(i)?(0,o._)(i):[i];return g.length?g.reduce(function(t,n){if(!n&&""!==n)return null;if(t)return t;var o=function(e,t){var n="".concat(t.end).concat(t.strict).concat(t.sensitive),r=s[n]||(s[n]={});if(r[e])return r[e];var o=[],i={regexp:a()(e,o,t),keys:o};return c<1e4&&(r[e]=i,c++),i}(n,{end:l,strict:p,sensitive:v}),i=o.regexp,u=o.keys,d=i.exec(e);if(!d)return null;var f=(0,r._)(d),g=f[0],h=f.slice(1),m=e===g;return l&&!m?null:{path:n,url:"/"===n&&""===g?"/":g,isExact:m,params:u.reduce(function(e,t,n){return e[t.name]=h[n],e},{})}},null):null}},74034:function(e,t,n){"use strict";n.d(t,{I5:function(){return O},PR:function(){return C},az:function(){return L}});var r=n(79066),o=n(6586),i=n(72516),a=n(13326),s=n.n(a),c=n(21987),u=n(81314),l=n(6910),d=n(64975),p=n(54520),f=n(57007),v=n(80897),g=n(72159),h=n(40841),m=n(17505),_=n(15771),y=n(95794),b=n(51794),w=n(21716),k=n(47779),P=n(89786),T=n(17832),S=n(65030),E=n(32540),A=n(75434);function L(e){var t,n,a,s,_,y,b,w,P,S,A=e.user,L=e.wid,C=u.lL.getStorage(),O=C.cacheUid,I=C.cacheWid,x=C.itemList,N=C.pageName,D=C.log_pb;u.lL.removeAll();var M=(0,l.Mc)({itemList:x,cacheUid:O,cacheWid:I,wid:L,uid:null==A?void 0:A.uid}),R=M.status,j=M.validItemList;[l.Rv.CacheValid,l.Rv.CacheUpdateSuccess,l.Rv.NoCacheWithUpdatedPush,l.Rv.FetchThroughRPC].includes(R)&&(t=j,n=D,(0,T.HG)().setListFromCache({itemList:t,statusCode:f.s.Ok,log_pb:n}),function(e){var t,n=null!=(t=(0,p.d)("desktop_bundle_opt"))?t:"v0";if(e){if("v1"===n){var r=new Image;r.fetchPriority="high",r.src=e;return}var o=document.createElement("link");o.rel="prefetch",o.href=e,document.head.appendChild(o)}}(null!=(w=null==(s=t[0])||null==(a=s.video)?void 0:a.originCover)?w:null==(b=t[0])||null==(y=b.video)||null==(_=y.zoomCover)?void 0:_["720"])),R===l.Rv.CacheValid&&(P=j,S=(0,T.HG)(),c.l.getInstance(v.j).checkItemValidation({itemIds:P.map(function(e){return e.id}).join(",")}).subscribe({next:function(e){var t=e.statusCode,n=e.availabities;if(t===f.s.Ok){var r=0;(void 0===n?[]:n).forEach(function(e){var t=e.id;e.available||(r++,S.setDeleteVideo(t))}),0!==r&&(0,d.Ao)(P.length,r)}},error:function(e){console.error("Error Occur when deleting invalid video",e)}})),R===l.Rv.UserChange&&function(){(0,r._)(function(){var e,t,n,r,a,s,c,u,l,d,p,v,_,y,b,w,P,S,A=arguments;return(0,i.__generator)(this,function(i){switch(i.label){case 0:if(!(a=null==(e=(A.length>0&&void 0!==A[0]?A[0]:[])[0])?void 0:e.id))return[2];return s=(0,k.qm)(),[4,Promise.all([(0,g.x)(),(0,h.zI)()])];case 1:u=(c=o._.apply(void 0,[i.sent(),2]))[0],l=c[1],d=(0,T.HG)(),p=(null==(t=l.abTestVersion)?void 0:t.versionName)?null==(r=l.abTestVersion)||null==(n=r.versionName)?void 0:n.split(","):[],v=(0,m.oc)(),i.label=2;case 2:return i.trys.push([2,4,,5]),[4,(0,E.d1)({itemId:a,language:s,coverFormat:null==(_=u.videoCoverSettings)?void 0:_.format,clientABVersions:p,video_encoding:v})];case 3:return P=(w=null!=(b=i.sent())?b:{statusCode:f.s.UnknownError}).statusCode,S=null==(y=w.itemInfo)?void 0:y.itemStruct,P===f.s.Ok&&S&&d.setListFromCache({itemList:[S],statusCode:f.s.Ok}),[3,5];case 4:return console.error("Error Occur when updating item detail",i.sent()),[3,5];case 5:return[2]}})}).apply(this,arguments)}(x),(0,d.Pv)(R,void 0===N?"unknown":N)}function C(e,t){setTimeout(function(){"requestIdleCallback"in window?window.requestIdleCallback(function(){return I(e,t)}):I(e,t)},3e3)}function O(e,t){I(e,t)}function I(e,t){return(0,r._)(function(){var n,r,a,p,T,E,L;return(0,i.__generator)(this,function(i){switch(i.label){case 0:if(u.lL.getItem("itemList"))return[2];return n=(0,k.qm)(),r=c.l.getInstance(v.j),[4,Promise.all([(0,g.x)(),(0,h.zI)(n)])];case 1:return p=(a=o._.apply(void 0,[i.sent(),2]))[0].videoCoverSettings,T=a[1].abTestVersion,E=(0,_.mx)(T,e),L=(0,m.oc)(),r.getFeedCacheList({count:3,language:n,coverFormat:null==p?void 0:p.format,isNonPersonalized:E,vv_count_fyp:parseInt((0,y._S)(S.Bu,"0"),10)||0,vv_count:parseInt((0,y._S)(S.$H,"0"),10)||0,cpu_core_number:"undefined"!=typeof navigator&&navigator.hardwareConcurrency?navigator.hardwareConcurrency:0,dark_mode:"dark"===(0,A.MJ)(b.n9)&&"1"===(0,A.MJ)(b.HF),time_of_day:new Date().getHours(),day_of_week:new Date().getDay(),clientABVersions:null==T?void 0:T.versionName,video_encoding:L}).subscribe({next:function(n){var r=n.statusCode,o=n.itemList,i=void 0===o?[]:o,a=n.log_pb;if(r===f.s.Ok){var c,p,v,g,h=null==(g=i.slice)?void 0:g.call(i,0,3);u.lL.setItem("itemList",h),u.lL.setItem("log_pb",a),c=e,p=t,u.lL.setItem("cacheUid",c),u.lL.setItem("cacheWid",p),v=(0,P.kv)(window.location.pathname),u.lL.setItem("pageName",null==v?void 0:v.name),function(e){try{s().remove(w.n2,{domain:"www.tiktok.com"});var t=JSON.stringify({expireTimestamp:(0,l._1)(e),itemIds:e.map(function(e){return e.id})}),n=(0,m.tUU)(),r=n.extendDays,o=n.shouldExtendExpiration;s().set(w.n2,t,{secure:!0,expires:o?r:5,domain:"www.tiktok.com"})}catch(e){console.warn("[Cookie] Set Feed Cache Cookie Error: ".concat(e))}}(h)}else(0,d.dG)(r);(0,d.bA)(r)},error:function(){(0,d.dG)(f.s.NetError),(0,d.bA)(f.s.NetError)}}),[2]}})})()}},61724:function(e,t,n){"use strict";n.d(t,{EL:function(){return l},Ft:function(){return h},LQ:function(){return _},Pk:function(){return d},QY:function(){return g},YL:function(){return f},f$:function(){return p},h5:function(){return w},iP:function(){return y},jN:function(){return u},rI:function(){return b},uA:function(){return s},xH:function(){return m},xW:function(){return v},yw:function(){return c}});var r=n(72961),o=n(43264),i=n(54520),a=n(17505),s=function(){var e,t=(0,r.L$)((0,o.W)(function(){return["abTestVersion"]},[])).abTestVersion,n=null!=(e=(0,i.qt)(t,"immersive_player"))?e:"v0";return{enableImmersivePlayer:"v0"!==n,isCommentsDefaultOpen:"v1"===n||"v3"===n,hasForcedDarkMode:"v3"===n||"v4"===n}},c=function(){var e,t=(0,r.L$)((0,o.W)(function(){return["abTestVersion"]},[])).abTestVersion;return{preloadThreshold:Number(null!=(e=(0,i.qt)(t,"preload_with_left"))?e:"0")}},u=function(){var e,t=(0,r.L$)((0,o.W)(function(){return["abTestVersion"]},[])).abTestVersion,n=null!=(e=(0,i.qt)(t,"fyp_comments_panel"))?e:"v0",s=!(0,a.Vv$)().isInProductHoldout;return{hasNewCommentsDesign:s,hasSidebar:s,isDefaultOpen:"v2"===n,isSessionStateControlled:"v3"===n}},l=function(){var e=(0,r.L$)((0,o.W)(function(){return["abTestVersion"]},[])).abTestVersion;return"v1"===(0,i.qt)(e,"image_fetch_priority")},d=function(){var e,t=(0,r.L$)((0,o.W)(function(){return["abTestVersion"]},[])).abTestVersion;return{isInAppStyleShareExperiment:"v0"!==(null!=(e=(0,i.qt)(t,"app_style_share"))?e:"v0")}},p=function(){var e,t=(0,r.L$)((0,o.W)(function(){return["abTestVersion"]},[])).abTestVersion;return"v0"!==(null!=(e=(0,i.qt)(t,"cds_grid_layout"))?e:"v0")},f=function(){var e,t=(0,r.L$)((0,o.W)(function(){return["abTestVersion"]},[])).abTestVersion;return{isInFypResumeProgressExperiment:"v0"!==(null!=(e=(0,i.qt)(t,"fyp_resume_progress"))?e:"v0")}},v=function(){var e;return{isInWebappPerfPageSwitchExperiment:"v0"!==(null!=(e=(0,i.d)("webapp_perf_page_switch"))?e:"v0")}},g=function(){var e,t=(0,r.L$)((0,o.W)(function(){return["abTestVersion"]},[])).abTestVersion;return{shouldUpdateCommentsUrl:"v0"===(null!=(e=(0,i.qt)(t,"comments_panel_url"))?e:"v0")}},h=function(){var e,t=(0,r.L$)((0,o.W)(function(){return["abTestVersion"]},[])).abTestVersion;return{isInPictureCommentsExperiment:"v0"!==(null!=(e=(0,i.qt)(t,"webapp_picture_comments"))?e:"v0")}},m=function(){var e,t=(0,r.L$)((0,o.W)(function(){return["abTestVersion"]},[])).abTestVersion;return{isInDesktopLandingOptExperiment:"v0"!==(null!=(e=(0,i.qt)(t,"desktop_landing_opt"))?e:"v0")}},_=function(){var e,t=(0,r.L$)((0,o.W)(function(){return["abTestVersion"]},[])).abTestVersion;return"v1"===(null!=(e=(0,i.qt)(t,"live_stream_snapshot"))?e:"v0")},y=function(){var e,t=(0,r.L$)((0,o.W)(function(){return["abTestVersion","user"]},[])),n=t.abTestVersion,a=t.user,s=null!=(e=(0,i.qt)(n,"webapp_fyp_prefetching_feed"))?e:"v0";return{isInWebappFypPrefetchingFeedExperiment:"v0"!==s&&!a,shouldManualReload:"v2"===s&&!a,isInPrefetchFYPV1:"v1"===s,isInPrefetchFYPV2:"v2"===s}},b=function(){var e,t=(0,r.L$)((0,o.W)(function(){return["abTestVersion"]},[])).abTestVersion,n=null!=(e=(0,i.qt)(t,"webapp_suggested_accounts"))?e:"v0";return{isInWebappSuggestedAccountsAbExperiment:"v0"!==n,suggestedAccountsCardV1:"v1"===n,suggestedAccountsCardV2:"v2"===n,suggestedAccountsChipsV1:"v3"===n,suggestedAccountsChipsV2:"v4"===n,showCard:"v1"===n||"v2"===n}},w=function(){var e,t=(0,r.L$)((0,o.W)(function(){return["abTestVersion"]},[])).abTestVersion;return{isInVirtualListExperiment:"v0"!==(null!=(e=(0,i.qt)(t,"virtual_list_experiment"))?e:"v0")}}},47:function(e,t,n){"use strict";n.d(t,{YH:function(){return u},eK:function(){return a},no:function(){return c},s0:function(){return s}});var r=n(11060),o=n(76446),i=n(88947),a=function(){var e=(0,r.useLocation)().pathname,t=(0,i.cj)(e);return t?{isUserPage:t,pageType:o.g.User}:{isUserPage:t}},s=function(){var e=(0,r.useLocation)().pathname;return{isDetailPage:(0,i.Iy)(e)||(0,i.nq)(e)||(0,i.Ke)(e)||(0,i.cj)(e)||(0,i.LC)(e)||(0,i.Fj)(e)||(0,i.vb)(e)||(0,i.Ds)(e)||(0,i.eD)(e)}},c=function(){var e=(0,r.useLocation)().pathname;return{isSearchPage:(0,i.a1)(e)||(0,i.ZG)(e)||(0,i.ie)(e)||(0,i.q$)(e)||(0,i.N6)(e)}},u=function(){var e=(0,r.useLocation)().pathname;return{isFeedbackPage:(0,i.hh)(e)}}},73589:function(e,t,n){"use strict";n.d(t,{x:function(){return i}});var r=n(5377),o=n(41150),i=(0,n(55169).Rq)({resolved:{},chunkName:function(){return"item-list-cache"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return n.e("82403").then(n.bind(n,67530))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 67530}},(0,r._)({},o.PW))},15256:function(e,t,n){"use strict";n.d(t,{SI:function(){return i},T:function(){return o},Y5:function(){return r},dv:function(){return a}});var r=[n(47779).i_.WebApp],o=new Map,i=0,a=2},66417:function(e,t,n){"use strict";var r,o,i,a,s,c,u,l=n(79066),d=n(72516),p=n(34966);"undefined"!=typeof window&&(window.TTAP_APPPARSE_STARTTIME=Date.now()),(0,p.RJ)(),n(77461);var f=n(39394),v=n(98556),g=n(84897),h=n(41919),m=n(62448),_=n(5377),y=n(45996),b=n(2787),w=n(18499);n(7073);var k=n(26402),P=n(47236),T=n(21987),S=n(20146),E=n(69513),A=n(62100),L=n(38632),C=n(40099),O=n(20894),I=n(89379),x=n(82499),N=(0,C.createContext)({onLocationChange:E.A}),D=n(63822),M=n(27014),R=n(20065),j=n(43276),U=n(47779),F=n(53975),B=n(31560),H=n(56605),Y=n(51756),V=n(11186),q=n(77761);function G(e){var t=e.jotaiStore,n=e.disableInlineSlardar,r=e.slardarContext,o=e.children,i=e.csr,a=(0,C.useMemo)(function(){var e=null!=o?o:(0,b.Y)(C.Fragment,{});return(0,A.ZB)(e,t?{jotaiStore:t}:void 0)},[o,t]);if(i)return(0,b.Y)(N.Provider,{value:r,children:(0,b.Y)(q.u.Provider,{value:{enable:!n,enableInlineScript:!1},children:(0,b.Y)(a,{})})});var s=(0,Y.A)({key:"tiktok"});return(0,b.Y)(N.Provider,{value:r,children:(0,b.Y)(q.u.Provider,{value:{enable:!n},children:(0,b.Y)(V.C,{value:s,children:(0,b.Y)(a,{})})})})}var W=n(54333),z=n(42107),K=n(24643),J=(0,n(82761).$)("SVGSpriteContext@tiktok/isomorphic")({sprites:new Map,add:E.A,remove:function(){return!1},serialize:function(){return""}}),Z=function(e){var t=e.context,n=e.children;return(0,K.jsx)(J.Provider,{value:t,children:n})},Q=n(95170),$=n(6586),X=function(){function e(){(0,Q._)(this,e),this.sprites=new Map,this.domParser=new DOMParser;var t=document.querySelector("#svg-sprite-container");t?this.$root=t:(this.$root=this.domParser.parseFromString("<svg ".concat(e.defaultConfig.map(function(e){var t=(0,$._)(e,2),n=t[0],r=t[1];return"".concat(n,'="').concat(r,'"')}).join(" "),"></svg>"),"image/svg+xml").childNodes[0],document.body.prepend(this.$root)),this.restore()}var t=e.prototype;return t.add=function(e){var t=e.id,n=e.content;if(this.sprites.has(t)){var r=this.sprites.get(t),o=r.initialCount,i=void 0===o?0:o,a=r.count,s=r.content;return i>0?void this.sprites.set(t,{initialCount:i-1,count:a,content:s}):void this.sprites.set(t,{count:a+1,content:s})}this.sprites.set(t,{count:1,content:n});var c=this.domParser.parseFromString(n,"text/xml");c.firstChild&&this.$root.appendChild(c.firstChild)},t.remove=function(e){if(this.sprites.has(e)){var t=this.sprites.get(e),n=t.count,r=t.content;if(n>1)return void this.sprites.set(e,{count:n-1,content:r});this.sprites.delete(e);var o=this.$root.querySelector("#".concat(e));o&&o.remove()}},t.serialize=function(){return this.$root.innerHTML},t.restore=function(){var e=this;this.$root.hasChildNodes()&&this.$root.childNodes.forEach(function(t){if("symbol"===t.tagName){var n,r,o=null!=(n=t.getAttribute("id"))?n:"",i=Number(null!=(r=t.getAttribute("data-count"))?r:"0");e.sprites.set(o,{initialCount:i,count:i,content:t.outerHTML})}})},e}();X.defaultConfig=[["xmlns","http://www.w3.org/2000/svg"],["xmlns:xlink","http://www.w3.org/1999/xlink"],["style","position: absolute; width: 0; height: 0"],["aria-hidden","true"],["id","svg-sprite-container"]];var ee=n(16327),et=n(10874),en=n(74158),er=n(76794),eo=n(54366),ei=n(28591),ea=n(11110);function es(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{Component:e,props:t}}function ec(e){var t=e.children,n=e.provisions,r=(0,b.Y)(C.Fragment,{children:t});return(0,W._)(n).reverse().reduce(function(e,t){var n=t.Component,r=t.props;return(0,b.Y)(n,(0,y._)((0,_._)({},r),{children:e}))},r)}var eu=n(12751),el=n(71615),ed=n(42825);function ep(){window.location.reload()}function ef(){return(0,b.Y)(el.A,{width:90,height:90,fill:"rgba(128, 130, 133, 1)"})}var ev=(0,eu.default)("div",{target:"e1osj5a10",label:"5e6d46e3--DivContainer"})({height:"100vh",display:"flex",flexDirection:"column"});function eg(){var e=(0,C.useContext)(F.Ss).t;return(0,b.Y)(ev,{children:(0,b.Y)(ed.W,{isFullScreen:!0,onButtonClick:ep,iconElem:ef,title:e("Page not available",{},"Page not available"),desc:e("server_error_sub",{},"Sorry about that! Please try again later."),buttonText:e("try_again_btn",{},"Try again")})})}var eh=n(22980),em=n(27050),e_=n.n(em)()("webapp-launcher").extend("provider");function ey(e){e_("SigiProvider Rendered");var t=e.children,n=(0,et.useHistory)();return(0,b.Y)(eh.j,{history:n,children:t})}var eb=n(21355),ew=n(85943),ek=n(6491),eP=n(77226),eT=n(19960),eS=n(17505),eE=n(27488),eA=n(83691),eL=n(66772),eC=n(88947),eO=n(24809),eI=n(51794),ex=n(75434),eN=n(22349),eD=n(66463),eM=n(95794),eR=n(19642),ej=function(e){var t,n=e.children,r=e.isDarkModeFromExternal;e_("AppThemingProvider Rendered");var o=(0,eS.Vv$)().isInProductHoldout,i=(0,eS.WE4)(),a=i.baseExpId,s=i.isInAutoDarkModeControl,c=i.isInAutoDarkModeTreatment,u=i.isInAutoDarkModeExperiment,p=(0,eN.OC)(),f=(0,eS.Pl8)(),v=f.isInBasicTreatment,g=f.isInVerification,h=(0,eS.JBK)().hasFypLoadingOpt1,m=(0,eE.TJ)(),_=(0,eR.J3)(),y=(0,eD.w)("default_auto_scroll").isInTreatment,w=(null!=(t=(0,eA.U)())?t:{}).appContext,k=null!=w?w:{},P=k.user,T=k.region,S=(0,ek.useModuleState)(eL.$,{selector:function(e){var t,n,r;return{isMobile:null==(t=e.bizContext)?void 0:t.isMobile,hashedIP:null==(n=e.bizContext)?void 0:n.hashedIP,vgeo:null==(r=e.bizContext)?void 0:r.vgeo}},dependencies:[]}),E=S.isMobile,A=S.hashedIP,L=S.vgeo,O=(0,et.useLocation)(),I=O.pathname,x=O.search,N=(0,eC.bc)(I,x)&&!E,D=(0,eC.$p)(I)&&!E,M=(0,eC.xj)(I),R=(0,eO.sy)(),j=(0,$._)((0,C.useState)(void 0!==r?r?eo.BR.Dark:eo.BR.Light:(0,ex.MJ)(eI.n9)||eo.BR.Light),2),U=j[0],F=j[1],B=function(e){F(e),ew.A.set(eI.n9,e,eI.Ah)},H=function(){if(D)return!0;if(!N)return"1"===(0,ex.MJ)(eI.HF)&&ew.A.set(eI.HF,"0",eI.Ah),B(eo.BR.Light),u&&p.disqualifyForInference(a,"app_init","launcher","not_dark_mode_page"),!1;if("1"===(0,ex.MJ)(eI.HF)&&(u&&p.disqualifyForInference(a,"app_init","launcher","manually_set"),U===eo.BR.Dark||U===eo.BR.Light))return U===eo.BR.Dark;var e=!1;try{e=null==(t=(0,eb.A)())?void 0:t.dark;var t,n,r,i=null==(r=Intl.DateTimeFormat())||null==(n=r.resolvedOptions())?void 0:n.timeZone;eP.f.event("auto_dark_mode_timezone_info",{info_msg:"Local Time Zone: ".concat(i)})}catch(t){console.error("Error: Unable to determine theme from timezone. Falling back to local time-based method.",t);var l,d,f=null==(d=Intl.DateTimeFormat())||null==(l=d.resolvedOptions())?void 0:l.timeZone;eP.f.event("auto_dark_mode_timezone_error",{error_msg:"Local Time Zone: ".concat(f)});var v=new Date().getHours();e=v<6||v>=18}var g=(0,ex.MJ)(eI.tS);if(M)return(u&&p.disqualifyForInference(a,"app_init","launcher","basic_dark_mode_page"),g)?(B(g===eI.CV.DarkTheme?eo.BR.Dark:eo.BR.Light),g===eI.CV.DarkTheme):(B(M?eo.BR.Dark:eo.BR.Light),M);if(o)return B(eo.BR.System),R;if(!u)return B(eo.BR.Auto),!!R||e;try{p.maybeTriggerInference({projectName:a,vgeo:L,user:P,enterMethod:"app_init",pageName:"launcher"})}catch(e){console.error("Error. Unable to trigger inference for auto dark mode: ",e)}return s?(B(eo.BR.System),R):c?(B(eo.BR.Auto),!!R||e):(B(g===eI.CV.DarkTheme?eo.BR.Dark:eo.BR.Light),g===eI.CV.DarkTheme)},Y=(0,$._)((0,C.useState)(D),2),V=Y[0],q=Y[1],G=function(e){q(e),ew.A.set(eI.tS,e?eI.CV.DarkTheme:eI.CV.LightTheme,eI.Ah)};(0,C.useEffect)(function(){G(H())},[N,M,R,U,s]),(0,C.useEffect)(function(){""===(0,eM._S)("auto_scroll")&&_.setAutoScroll(y)},[y,_]),(0,C.useEffect)(function(){h||(0,l._)(function(){return(0,d.__generator)(this,function(e){switch(e.label){case 0:if(!(v||g))return[3,2];return[4,m.maybeGenerateAndReportGlobalWidInfo({isLanding:!0,enterMethod:"app_launch",hashedIP:null!=A?A:"",region:null!=T?T:""})];case 1:e.sent(),e.label=2;case 2:if(!(g&&(0,eT.uh)(void 0,!!P)))return[3,4];return[4,m.maybeGenerateAndReportGlobalWidInfo({isLanding:!0,enterMethod:"post_guest_mode",hashedIP:null!=A?A:"",region:null!=T?T:""})];case 3:e.sent(),e.label=4;case 4:return(v||g)&&m.setLandingPageETSentFlag({hasReportedOnLanding:!0}),[2]}})})()},[P,v,g,m,eT.uh]);var W=void 0!==r?r:V,z=(0,C.useMemo)(function(){return{value:W,toggle:G,currentThemeOption:U,setCurrentThemeOption:B}},[W,U]);return(0,b.Y)(eo.xm.Provider,{value:z,children:n})},eU=n(73580),eF=n(48748),eB=n(7120),eH=function(e){function t(){for(var e,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(0,Q._)(this,t),(e=(0,eF._)(this,t,(0,W._)(r))).state={hasError:!1},e}(0,eB._)(t,e);var n=t.prototype;return n.componentDidCatch=function(e,t){(0,this.props.onCatchError)(e,t)},n.render=function(){return this.state.hasError?(0,b.Y)(V.a,{theme:eo.pz,children:(0,b.Y)(eg,{})}):this.props.children},t.getDerivedStateFromError=function(){return{hasError:!0}},t}(C.Component);function eY(){var e=(0,et.useRouteError)();if(e)throw e;return null}var eV=function(e){var t=e.children,n=e.initialNamespaces,r=e.errorStateComponent,o=e.t,i=(0,$._)((0,er.Dh)(ea.Ow),1)[0],a=(0,C.useContext)(N).onLocationChange,s=(0,et.useHistory)();(0,C.useEffect)(function(){return s.listen(function(e){return a(e)})},[s,a]);var c=(0,C.useMemo)(function(){return{lang:i.language,initialNamespaces:n,t:o,clusterRegion:null==i?void 0:i.clusterRegion}},[i.language,n,o,null==i?void 0:i.clusterRegion]),u=(0,C.useMemo)(function(){return[es(ei.HelmetProvider),es(en.E3,c),es(ey),es(ej)]},[c]);return i?(0,b.Y)(ec,{provisions:u,children:t}):(0,b.Y)(V.a,{theme:eo.pz,children:null!=r?r:(0,b.Y)(eg,{})})},eq=function(e){var t,n=e.supportRoutes,r=e.children,o=e.Outlet,i=e.routerProps,a=(0,ee._)(e,["supportRoutes","children","Outlet","routerProps"]),s=(0,eU.Nj)(I.V$);(0,C.useEffect)(function(){var e;(null==(e=history)?void 0:e.scrollRestoration)&&(history.scrollRestoration="manual")});var c=(0,C.useCallback)(function(e){try{s.captureMessage(e,k.$b.P0,{fromLauncher:"1"})}catch(e){console.error("Error occurs when reporting error:",e)}},[s]),u=(0,C.useMemo)(function(){return(null==i?void 0:i.routes)&&o?[{id:"@tiktok/fe-shared_RootLayout",element:(0,b.Y)(eV,(0,y._)((0,_._)({},a),{children:(0,b.Y)(o,{})})),children:i.routes,errorElement:(0,b.Y)(eY,{})}]:null},[null==i?void 0:i.routes,o,a]);return i&&u?(0,b.Y)(C.StrictMode,{children:(0,b.Y)(eH,{onCatchError:c,children:(0,b.Y)(et.CompatRouter,(0,y._)((0,_._)({},i),{historyPaths:null!=(t=i.historyPaths)?t:n,routes:u}))})}):(0,b.Y)(C.StrictMode,{children:(0,b.Y)(eH,{onCatchError:c,children:(0,b.Y)(et.CompatRouter,{historyPaths:n,children:(0,b.Y)(eV,(0,y._)((0,_._)({},a),{children:r}))})})})},eG=n(32049),eW=n(89786),ez=n(59527),eK=n(1366),eJ=n(64781),eZ=n(43264),eQ=n(55169),e$=n(61681),eX=n(40841),e0=n(57839),e1=n(12346),e2=n(43767),e5=n(81460),e4=n(11060),e3=(0,W._)(Object.entries(eW.OZ).filter(function(e){var t=(0,$._)(e,2),n=t[0];return t[1],n.startsWith("setting")}).flatMap(function(e){var t=(0,$._)(e,2);return t[0],t[1]})).concat([eW.OZ.feedback,eW.OZ.feedbackReport,eW.OZ.feedbackHistory,eW.OZ.upload,eW.OZ.download],(0,W._)(eW.OZ.downloadWithLang),[eW.OZ.downloadVideo],(0,W._)(eW.OZ.downloadVideoWithLang)),e6=function(){var e=(0,e2.oY)(),t=(0,eS.rlS)(),n=(0,W._)(e3);return t||n.push(eW.OZ.messages),(0,e4.useRouteMatch)(n)||e},e8=n(73589),e7=n(2745),e9=n(37999),te=n(54520),tt=n(55778),tn=n(77443),tr=n(53036),to=n(15926),ti=n(35144),ta=n(45275),ts=n(70873),tc=(0,eu.default)("div",{target:"e1xohqar0",label:"5e6d46e3--DivErrorBoundaryContainer"})({height:"100vh",display:"flex",flexDirection:"column"}),tu=function(e){function t(){for(var e,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(0,Q._)(this,t),(e=(0,eF._)(this,t,(0,W._)(r))).state={isNetOffline:!1,hasError:!1},e.handleOnlineStatusChange=function(){e.setState({isNetOffline:!navigator.onLine})},e}(0,eB._)(t,e);var n=t.prototype;return n.componentDidMount=function(){window.addEventListener("online",this.handleOnlineStatusChange),window.addEventListener("offline",this.handleOnlineStatusChange)},n.componentWillUnmount=function(){window.removeEventListener("online",this.handleOnlineStatusChange),window.removeEventListener("offline",this.handleOnlineStatusChange)},n.handleRetry=function(){window.location.reload()},n.componentDidCatch=function(e,t){(0,this.props.onCatchError)(e,t),this.setState({hasError:!0})},n.render=function(){var e=this.state,t=e.isNetOffline,n=e.hasError,r=this.props,o=r.children,i=r.isMobile,a=this.context.t;if(t||n){var s=this.text,c=s.title,u=s.desc,l=s.button;return i?(0,b.Y)(tc,{children:(0,b.Y)(ed.W,{brightness:eo.YQ.Dark,isFullScreen:!0,iconElem:this.iconElem,title:a(c),desc:a(u),buttonText:a(l),onButtonClick:this.handleRetry})}):(0,b.Y)(ed.W,{isFullScreen:!0,onButtonClick:this.handleRetry,iconElem:this.iconElem,title:a(c),desc:a(u),buttonText:a(l)})}return o},(0,ta._)(t,[{key:"iconElem",get:function(){return this.state.hasError?(0,b.Y)(el.A,{width:90,height:90,fill:"rgba(128, 130, 133, 1)"}):(0,b.Y)(ts.A,{width:90,height:90,fill:"rgba(128, 130, 133, 1)"})}},{key:"text",get:function(){return this.state.hasError?{title:"Page not available",desc:"server_error_sub",button:"try_again_btn"}:{title:"network_error_title",desc:"network_error_sub",button:"try_again_btn"}}}]),t}(C.Component);tu.contextType=F.Ss;var tl=n(79262),td=n(84772),tp=n(56904),tf=n(96062);function tv(e,t){if(("undefined"==typeof Reflect?"undefined":(0,tl._)(Reflect))==="object"&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}var tg=function(){function e(t){(0,Q._)(this,e),this.fetch=t}return e.prototype.reportRenderError=function(e){return this.fetch.get("/node-webapp/page/error",{query:{page:e},baseUrlType:tp.Z4.FixedWww})},e}();tg=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if(("undefined"==typeof Reflect?"undefined":(0,tl._)(Reflect))==="object"&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}([(0,td._q)(),tv("design:type",Function),tv("design:paramtypes",[void 0===tf.p?Object:tf.p])],tg);var th=n(37786),tm=function(e){(0,C.useEffect)(function(){if(e){var t,n,r=new AbortController,o=!1,i={touchstart:function(e){n=void 0,t=e.targetTouches[0].clientY},touchmove:function(e){n=e.targetTouches[0].clientY},touchend:function(){if(o||(th.O.handleCommonTap(),o=!0),t&&n){var e=t-n;(e>50||e<-50)&&(th.O.handleCommonScroll(),r.abort())}}};return Object.keys(i).forEach(function(e){window.addEventListener(e,i[e],{signal:r.signal,capture:!0})}),function(){r.abort(),Object.keys(i).forEach(function(e){window.removeEventListener(e,i[e])})}}var a={click:function(){th.O.handleCommonClick()},scroll:function(){th.O.handleCommonScroll()},mousemove:function(){th.O.handleCommonMousemove()}};return Object.keys(a).forEach(function(e){window.addEventListener(e,a[e],{once:!0,capture:!0})}),function(){Object.keys(a).forEach(function(e){window.removeEventListener(e,a[e])})}},[])},t_=n(83980);function ty(e){e_("GlobalModalProvider Rendered");var t=(0,t_.li)(),n=t.GlobalModalProvider,r=t.value;return(0,b.Y)(n,{value:r,children:e.children})}var tb=n(75431);function tw(e){e_("ThemeProvider Rendered");var t=e.isMobile,n=e.children,r=e.extraGlobalStyles,o=(0,C.useMemo)(function(){return(0,ti.x)()},[]),i=(0,C.useContext)(eo.xm).value,a=(0,C.useMemo)(function(){return(0,eo.O4)({isDark:i,isMobile:t,lang:null==o?void 0:o.language})},[i,t,null==o?void 0:o.language]);return(0,b.FD)(V.a,{theme:a,children:[(0,b.Y)(tb.Global,{styles:{".link-a11y-focus":{"&:focus":{outline:"none"},"&:focus-visible":{outline:"2px solid ".concat(a.colors.Negative)},"&.auto-outline-style:focus-visible":{outline:"2px auto ".concat(a.colors.Negative," !important")}}}}),r?(0,b.Y)(tb.Global,{styles:r(a)}):null,n]})}var tk=n(21566),tP=n(82123),tT=n(30234),tS=n(72961),tE=n(13610);function tA(e){var t=(0,tT.m)().isRTL,n=(0,C.useContext)(eo.xm).value,r=(0,tS.L$)((0,tE.U)(function(){return["isAndroid","isIOS"]},[])),o=r.isAndroid,i=r.isIOS;return(0,b.Y)(tL,{children:(0,b.Y)(tP.vN,{theme:n?"dark":"light",textDirection:t?"rtl":"ltr",platform:o?"android":i?"iOS":"desktop",children:e.children})})}function tL(e){e_("TUXProvider Rendered");var t=(0,tT.m)().isRTL,n=(0,C.useContext)(eo.xm).value;return(0,b.Y)(tk.juU,{colorSchemePreference:n?"dark":"light",textDirection:t?"rtl":"ltr",zIndexConfig:eo.pz.zIndex,children:e.children})}var tC=n(35383),tO=[{"@font-face":{fontFamily:"TikTokFont",src:'local("TikTokFont-Regular"), url(https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok_fonts/TikTokFont-Regular.woff2?_default_font=1&v=2)\n format("woff2"),\n url(https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok_fonts/TikTokFont-Regular.woff?_default_font=1&v=2)\n format("woff"),\n url(https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok_fonts/TikTokFont-Regular.otf?_default_font=1&v=2)\n format("opentype")',fontWeight:400,fontStyle:"normal",fontDisplay:"fallback"}},{"@font-face":{fontFamily:"TikTokFont",src:'local("TikTokFont-Medium"), url(https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok_fonts/TikTokFont-Semibold.woff2?_default_font=1&v=2)\n format("woff2"),\n url(https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok_fonts/TikTokFont-Semibold.woff?_default_font=1&v=2)\n format("woff"),\n url(https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok_fonts/TikTokFont-Semibold.otf?_default_font=1&v=2)\n format("opentype")',fontWeight:500,fontStyle:"normal",fontDisplay:"fallback"}},{"@font-face":{fontFamily:"TikTokFont",src:'local("TikTokFont-Medium"), url(https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok_fonts/TikTokFont-Semibold.woff2?_default_font=1&v=2)\n format("woff2"),\n url(https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok_fonts/TikTokFont-Semibold.woff?_default_font=1&v=2)\n format("woff"),\n url(https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok_fonts/TikTokFont-Semibold.otf?_default_font=1&v=2)\n format("opentype")',fontWeight:600,fontStyle:"normal",fontDisplay:"fallback"}},{"@font-face":{fontFamily:"TikTokFont",src:'local("TikTokFont-Bold"), url(https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok_fonts/TikTokFont-Bold.woff2?_default_font=1&v=2)\n format("woff2"),\n url(https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok_fonts/TikTokFont-Bold.woff?_default_font=1&v=2)\n format("woff"),\n url(https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok_fonts/TikTokFont-Bold.otf?_default_font=1&v=2)\n format("opentype")',fontWeight:700,fontStyle:"normal",fontDisplay:"fallback"}},{"@font-face":{fontFamily:"TikTokDisplayFont",src:'url(https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok_fonts/TikTokDisplayFont-Regular.woff2?_default_font=1&v=2)\n format("woff2"),\n url(https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok_fonts/TikTokDisplayFont-Regular.woff?_default_font=1&v=2)\n format("woff"),\n url(https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok_fonts/TikTokDisplayFont-Regular.otf?_default_font=1&v=2)\n format("opentype")',fontWeight:400,fontStyle:"normal",fontDisplay:"fallback"}},{"@font-face":{fontFamily:"TikTokDisplayFont",src:'url(https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok_fonts/TikTokDisplayFont-Semibold.woff2?_default_font=1&v=2)\n format("woff2"),\n url(https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok_fonts/TikTokDisplayFont-Semibold.woff?_default_font=1&v=2)\n format("woff"),\n url(https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok_fonts/TikTokDisplayFont-Semibold.otf?_default_font=1&v=2)\n format("opentype")',fontWeight:500,fontStyle:"normal",fontDisplay:"fallback"}},{"@font-face":{fontFamily:"TikTokDisplayFont",src:'url(https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok_fonts/TikTokDisplayFont-Semibold.woff2?_default_font=1&v=2)\n format("woff2"),\n url(https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok_fonts/TikTokDisplayFont-Semibold.woff?_default_font=1&v=2)\n format("woff"),\n url(https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok_fonts/TikTokDisplayFont-Semibold.otf?_default_font=1&v=2)\n format("opentype")',fontWeight:600,fontStyle:"normal",fontDisplay:"fallback"}},{"@font-face":{fontFamily:"TikTokDisplayFont",src:'url(https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok_fonts/TikTokDisplayFont-Bold.woff2?_default_font=1&v=2)\n format("woff2"),\n url(https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok_fonts/TikTokDisplayFont-Bold.woff?_default_font=1&v=2)\n format("woff"),\n url(https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/tiktok_fonts/TikTokDisplayFont-Bold.otf?_default_font=1&v=2)\n format("opentype")',fontWeight:700,fontStyle:"normal",fontDisplay:"fallback"}}],tI=".tw-only",tx=[{"*, *::before, *::after":{boxSizing:"border-box",userSelect:"unset"},"body,h1,h2,h3,h4,p,figure,blockquote,dl,dd":{margin:0},'ul[role="list"], ol[role="list"]':{listStyle:"none"},"html:focus-within":{scrollBehavior:"smooth"},body:{minHeight:"100vh",textRendering:"optimizeSpeed",lineHeight:1.5},"a:not([class])":{textDecorationSkipInk:"auto"},"img, picture":{maxWidth:"100%",display:"block"},"input,button,textarea,select":{font:"inherit"},"@media (prefers-reduced-motion: reduce)":{"html:focus-within":{scrollBehavior:"auto"},"*,*::before,*::after":{animationDuration:"0.01ms !important",animationIterationCount:"1 !important",transitionDuration:"0.01ms !important",scrollBehavior:"auto !important"}},"@supports (-webkit-touch-callout: none)":{body:{minHeight:"-webkit-fill-available"}}}];function tN(e){var t,n=e.isMobile,r=e.delayFonts,o=(0,C.useContext)(eo.xm).value,i=(0,tT.m)().isRTL,a=(0,C.useMemo)(function(){return(0,ti.x)()},[]),s=(t={isDark:o,lang:null==a?void 0:a.language,isMobile:n,withFonts:!(void 0!==r&&r)},(0,C.useMemo)(function(){return function(e,t){var n,r=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return[tx,{body:(n={fontFamily:r?e.fontFamilies.TikTokFont:void 0,fontSize:e.text.fontSize,color:e.colors.TextPrimary,backgroundColor:e.colors.BGPrimary,direction:e.direction,a:{color:e.colors.TextPrimary,transition:"color 250ms",textDecoration:"none",cursor:"pointer"}},(0,tC._)(n,"a:where(".concat(tI,"),:where(").concat(tI,") a"),{transition:"all 0s ease 0s"}),(0,tC._)(n,"a:visited",{color:e.colors.TextPrimary}),(0,tC._)(n,"a:where(".concat(tI,"):visited,:where(").concat(tI,") a:visited"),{color:"inherit"}),(0,tC._)(n,"a:hover",{color:e.colors.TextPrimary,textDecoration:"underline"}),(0,tC._)(n,"a:where(".concat(tI,"):hover,:where(").concat(tI,") a:hover"),{color:"inherit",textDecoration:"inherit"}),(0,tC._)(n,"a:active",{color:e.colors.TextPrimary}),(0,tC._)(n,"a:where(".concat(tI,"):active,:where(").concat(tI,") a:active"),{color:"inherit"}),(0,tC._)(n,"a:focus",{color:e.colors.TextPrimary}),(0,tC._)(n,"a:where(".concat(tI,"):focus,:where(").concat(tI,") a:focus"),{color:"inherit"}),(0,tC._)(n,"input",{"::-ms-clear":{display:"none",width:0,height:0},"::-ms-reveal":{display:"none",width:0,height:0},"::-webkit-search-decoration, ::-webkit-search-cancel-button, ::-webkit-search-results-button, ::-webkit-search-results-decoration":{display:"none"}}),(0,tC._)(n,"&.hidden",{overflow:"hidden",display:"block"}),(0,tC._)(n,"WebkitFontSmoothing","antialiased"),(0,tC._)(n,"a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, body, canvas, caption, center, cite, code, dd, del, details, dfn, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav, object, ol, output, p, pre, q, ruby, s, samp, section, small, span, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, time, tr, tt, u, ul, var, video",{fontFamily:r?e.fontFamilies.TikTokFont:void 0}),(0,tC._)(n,"strong",{fontWeight:700}),n)}].concat((0,W._)(r?tO:[]),[{html:t?{}:{body:{overflowY:"overlay"},"*":{"::-webkit-scrollbar":{borderRadius:"0",width:"8px"},"::-webkit-scrollbar-track":{borderRadius:"0",backgroundColor:"rgba(0, 0, 0, 0)"},"::-webkit-scrollbar-thumb":{borderRadius:"4px",backgroundColor:e.colors.BGPlaceholderDefault}}}}])}((0,eo.O4)(t),t.isMobile,t.withFonts)},[t])),c=(0,tk.N9v)({colorSchemePreference:o?"dark":"light",textDirection:i?"rtl":"ltr"});return(0,b.Y)(tb.Global,(0,_._)({styles:s},c))}var tD=n(49748);function tM(e){return(0,b.Y)(tj,(0,y._)((0,_._)({},e),{TUXProvider:tA,children:e.children}))}function tR(){var e=(0,$._)((0,tD.A)(!1),3),t=e[1],r=e[2],o=(0,$._)((0,tD.A)(!1),2),i=o[0],a=o[1],s=(0,C.useCallback)(function(){t(!0),window.postMessage({loginBridgeEvtType:"INT_LOG_IN_OUT_CHUNK_OK"})},[]),c=(0,C.useMemo)(function(){return(0,C.lazy)(function(){return Promise.all([n.e("77877"),n.e("97556"),n.e("56974"),n.e("57409"),n.e("87417"),n.e("82533"),n.e("80730")]).then(n.bind(n,39538)).then(function(e){return{default:e.LogInOutPrelude}})})},[]);return(0,C.useEffect)(function(){window.addEventListener("message",function(e){var t;(null==(t=e.data)?void 0:t.loginBridgeEvtType)==="INT_LOG_IN_OUT_BRIDGE"&&(a(!0),r()&&s())})},[]),i?(0,b.Y)(C.Suspense,{fallback:null,children:(0,b.Y)(c,{onReady:s})}):null}function tj(e){var t=e.children,n=e.isMobile,r=e.path2PidFunc,o=e.delayFonts,i=void 0!==o&&o,a=e.delayIdcRequestTime,s=void 0===a?0:a,c=e.disableBoundary,u=e.TUXProvider,l=(0,$._)((0,tn.S)(eL.$,{selector:function(e){return{bizContext:e.bizContext&&(0,tr.A)(e.bizContext,"statusCode"),bizInitialized:e.initialized}},dependencies:[]}),1)[0],d=(0,et.useLocation)().pathname,p=(0,eU.Nj)(to.o),f=(0,C.useMemo)(function(){return(0,ti.x)()},[]),v=(0,C.useRef)(null);(0,C.useEffect)(function(){var e,t=f.user,n=f.isTTwidDecryptedFail,r=f.wid;n&&eP.f.sendEvent("check_ttwid_error",{error_msg:"isTTwidDecryptedFail from server"}),(null==(e=l.bizContext)?void 0:e.isBot)||p.checkTTwid(),t&&(s?v.current=window.setTimeout(function(){p.initTargetIdcRequest().subscribe()},s):p.initTargetIdcRequest().subscribe());var o="ttwid",i=(0,eT._S)(o,"");return i&&i!==r&&eP.f.sendEvent("check_ttwid_error",{error_msg:"appcontext ttwid is different from local storage"}),(0,eT.AP)(o,r),function(){v.current&&window.clearTimeout(v.current)}},[]),tm(n);var g=(0,eU.Nj)(I.V$),h=(0,eU.Nj)(tg),m=(0,C.useMemo)(function(){return r(d)},[d]),_=(0,C.useCallback)(function(e,t){try{h.reportRenderError(m);var n=t.componentStack;e.message="Page render Error: ".concat(e.message),g.reportCrash(e,{errorName:k.$P.PageRenderError,level:"error"},{version:C.version,componentStack:n}),console.info("Error occurs in render time:",e),console.info("Error occurs in component:",n)}catch(e){console.error("Error occurs when reporting error:",e)}},[h,m,g]),y=(0,C.useMemo)(function(){return[es(ty),es(u),es(tw,{isMobile:n}),es(tu,{onCatchError:_,isMobile:n})]},[n]);return void 0!==c&&c?(0,b.FD)(ec,{provisions:y,children:[(0,b.Y)(tR,{}),(0,b.Y)(tN,{isMobile:n,withFonts:!i}),t]}):(0,b.Y)(ec,{provisions:y,children:(0,b.FD)(tu,{onCatchError:_,isMobile:n,children:[(0,b.Y)(tN,{isMobile:n,withFonts:!i}),(0,b.Y)(tR,{}),t]})})}var tU=n(66068),tF=n(49174),tB=n(77954),tH=(0,b.Y)(function(e){return(0,b.FD)("svg",(0,y._)((0,_._)({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 88 88"},e),{children:[(0,b.FD)("g",{fillRule:"evenodd",clipPath:"url(#a)",clipRule:"evenodd",children:[(0,b.Y)("path",{fill:"#25F4EE",d:"M59.338 5.009A20.2 20.2 0 0 1 58.712 0H44.313v57.2c0 6.596-5.325 11.943-11.894 11.943-6.57 0-11.894-5.347-11.894-11.943s5.325-11.943 11.894-11.943c1.313 0 2.575.214 3.756.608V30.432a27 27 0 0 0-3.756-.26C17.552 30.171 5.5 42.271 5.5 57.2s12.052 27.029 26.919 27.029c14.658 0 26.586-11.763 26.919-26.4V28.56a34.17 34.17 0 0 0 19.407 6.011V20.114c-9.342 0-17.19-6.42-19.407-15.105"}),(0,b.Y)("path",{fill:"#000",d:"M63.093 8.781a20.2 20.2 0 0 1-.626-5.009H48.069v57.2c0 6.596-5.326 11.943-11.895 11.943S24.28 67.568 24.28 60.972 29.605 49.03 36.174 49.03c1.313 0 2.575.214 3.756.608V34.205a27 27 0 0 0-3.756-.261c-14.867 0-26.919 12.1-26.919 27.028s12.052 27.029 26.92 27.029c14.657 0 26.585-11.763 26.918-26.4V32.333a34.17 34.17 0 0 0 19.407 6.01V23.888c-9.342 0-17.19-6.42-19.407-15.106"}),(0,b.Y)("path",{fill:"#FE2C55",d:"M59.063 3.77q.117.626.274 1.237a20.14 20.14 0 0 0 7.24 10.972 20.07 20.07 0 0 1-4.11-12.208zm19.68 19.762V34.57a34.17 34.17 0 0 1-19.406-6.011v29.268c-.333 14.637-12.261 26.4-26.919 26.4a26.74 26.74 0 0 1-17.069-6.128c4.937 6.044 12.432 9.9 20.824 9.9 14.658 0 26.587-11.763 26.92-26.4V32.331a34.17 34.17 0 0 0 19.406 6.01V23.886a20 20 0 0 1-3.755-.353m-42.569 10.41v11.921a11.8 11.8 0 0 0-3.756-.608c-6.569 0-11.894 5.347-11.894 11.943 0 4.263 2.224 8.004 5.57 10.117a11.9 11.9 0 0 1-1.815-6.344c0-6.596 5.325-11.943 11.894-11.943 1.313 0 2.576.213 3.756.607V34.203a27 27 0 0 0-3.755-.261"})]}),(0,b.Y)("defs",{children:(0,b.Y)("clipPath",{id:"a",children:(0,b.Y)("path",{fill:"#fff",d:"M0 0h88v88H0z"})})})]}))},{style:{margin:"auto",width:"77px",height:"88px"}});function tY(){return(0,b.Y)("link",{rel:"stylesheet",href:tU})}function tV(){return(0,b.Y)("link",{rel:"stylesheet",href:tF})}function tq(){return(0,b.Y)("link",{rel:"stylesheet",href:tB})}var tG=function(e){var t,n=e.children,r=null!=(t=(0,te.d)("desktop_bundle_opt"))?t:"v0";return(0,b.FD)(tM,{isMobile:!1,loading:tH,path2PidFunc:tt.oN,delayIdcRequestTime:"v1"===r?8e3:void 0,children:[(0,b.Y)(tY,{}),(0,b.Y)(tV,{}),(0,b.Y)(tq,{}),n]})},tW=n(23047),tz=n(29033),tK=function(e){var t=e.children,n=(0,e2.oY)(),r=(0,eS.mf1)().isInAppNotificationEnabled,o=(0,eS.pCP)().isFyfProfileUjEnabled,i=(0,eS.oJN)().enableFYPSideNavPreloadAndCache,a=(0,eS.Vs9)().enableFYPCache,s=e6(),c=(0,e7.vV)().bodyContainerMaxWidth,u=(0,e0.H)().popupHeight;return(0,b.FD)(tG,{children:[(0,b.Y)(e1.J,{}),(0,b.Y)(tW.d0,{}),r&&(0,b.Y)(e5.t,{fallback:null,children:(0,b.Y)(tW.y2,{})}),(o||i||a)&&(0,b.Y)(e5.t,{fallback:null,children:(0,b.Y)(e8.x,{})}),(0,b.Y)(tW.LZ,{}),(0,b.FD)(e9.N$,{isHideSideComponent:n,extraTop:u,maxWidth:c,children:[!s&&(0,b.Y)(tW.C9,{}),t]}),(0,b.Y)(tz._,{}),(0,b.Y)(tW.YT,{})]})},tJ=n(29208),tZ=n(78467),tQ=n(28331),t$=n(23537),tX=n(77960),t0=n(47599),t1=n(13741),t2=n(32932),t5=n(23600),t4=n(38459),t3=n(44682),t6=n(41171),t8=n(26601),t7=n(34654),t9=n(5943),ne=n(15064),nt=n(52228),nn=n(51983),nr=n(31175),no=n(83623),ni=n(12820),na=n(8547),ns=n(69761),nc=n(1164),nu=n(82055),nl=n(80348),nd=n(57264),np=n(40287),nf=n(27688),nv=n(27064),ng=n(8226),nh=n(2681);function nm(e){var t=e.location,n=(0,C.useMemo)(function(){return{pathname:t.pathname.replace(/\/\/+/g,"/"),search:t.search}},[t.pathname,t.search]);return(0,b.Y)(e4.Redirect,{to:n})}var n_=function(){return(0,b.FD)(e4.Switch,{children:[(0,b.Y)(e4.Route,{path:"(.*//+.*)",exact:!0,strict:!0,component:nm}),(0,b.Y)(e4.Route,{exact:!0,path:eW.OZ.following,component:tQ.oF}),(0,b.Y)(e4.Route,{exact:!0,path:eW.OZ.friends,component:t$.m}),(0,b.Y)(e4.Route,{path:eW.OZ.searchHome,component:tX.v}),(0,b.Y)(e4.Route,{exact:!0,path:eW.OZ.user,component:t0.KJ}),(0,b.Y)(e4.Route,{exact:!0,path:eW.OZ.challenge,component:t1.MM}),(0,b.Y)(e4.Route,{exact:!0,path:eW.OZ.expansion,component:t2.M}),(0,b.Y)(e4.Route,{exact:!0,path:[eW.OZ.trendingDetail,eW.OZ.trendingDetailWithinDiscover],component:t5.v}),(0,b.Y)(e4.Route,{exact:!0,path:[eW.OZ.video,eW.OZ.photo],component:t4.C}),(0,b.Y)(e4.Route,{exact:!0,path:eW.OZ.musicPlaylist,component:t3.N}),(0,b.Y)(e4.Route,{exact:!0,path:eW.OZ.music,component:t6.Mj}),(0,b.Y)(e4.Route,{exact:!0,path:eW.OZ.effect,component:t8.M}),(0,b.Y)(e4.Route,{exact:!0,path:tJ.qk,component:t7.x}),(0,b.Y)(e4.Route,{exact:!0,path:eW.OZ.topics,component:t9.n}),(0,b.Y)(e4.Route,{exact:!0,path:eW.OZ.question,component:ne.vN}),(0,b.Y)(e4.Route,{exact:!0,path:eW.OZ.messages,component:nt.B}),(0,b.Y)(e4.Route,{exact:!0,path:eW.OZ.discover,component:nn.w}),(0,b.Y)(e4.Route,{exact:!0,path:eW.OZ.channel,component:nr.c3}),(0,b.Y)(e4.Route,{exact:!0,path:eW.OZ.find,component:no.ko}),(0,b.Y)(e4.Route,{path:eW.OZ.setting,component:ni.B}),(0,b.Y)(e4.Route,{exact:!0,path:eW.OZ.upload,component:na._}),(0,b.Y)(e4.Route,{exact:!0,path:eW.OZ.feedbackReport,component:ns.S}),(0,b.Y)(e4.Route,{exact:!0,path:eW.OZ.feedbackHistory,component:ns.S}),(0,b.Y)(e4.Route,{exact:!0,path:eW.OZ.feedback,component:ns.G}),(0,b.Y)(e4.Route,{exact:!0,path:eW.OZ.poi,component:nc.pB}),(0,b.Y)(e4.Route,{exact:!0,path:eW.OZ.travelCategory,component:nu.ve}),(0,b.Y)(e4.Route,{exact:!0,path:eW.OZ.travel,component:nl.JC}),(0,b.Y)(e4.Route,{exact:!0,path:eW.OZ.collection,component:nd.pM}),(0,b.Y)(e4.Route,{exact:!0,path:eW.OZ.explore,component:np.K}),(0,b.Y)(e4.Route,{exact:!0,path:eW.OZ.videoPlaylist,component:nf.UC}),(0,b.Y)(e4.Route,{exact:!0,path:[eW.OZ.download].concat((0,W._)(eW.OZ.downloadWithLang)),component:nv.f5}),(0,b.Y)(e4.Route,{exact:!0,path:[eW.OZ.downloadVideo].concat((0,W._)(eW.OZ.downloadVideoWithLang)),component:ng.W}),(0,b.Y)(e4.Route,{exact:!0,path:eW.OZ.oauthSpotify,component:nh.G}),(0,b.Y)(e4.Route,{path:"*",component:tZ.a})]})};function ny(){window.location.reload()}eQ.Qx.on(e$.bL,function(){return(0,l._)(function(){var e,t,r;return(0,d.__generator)(this,function(o){switch(o.label){case 0:return[4,(0,eX.zI)()];case 1:if((null==(t=o.sent().abTestVersion)||null==(e=t.parameters.login_vmok)?void 0:e.vid)!=="v1")return[3,3];return[4,Promise.all([n.e("5440"),n.e("86310"),n.e("28149")]).then(n.bind(n,86396))];case 2:if("function"==typeof(r=o.sent().default))try{r()}catch(e){console.error("loading vmok init chunk failed: ",e)}o.label=3;case 3:return[2]}})})()});var nb=function(){var e,t=(0,eZ.W)(function(){return["user"]},[]),n=(0,C.useContext)(F.Ss).t;return(null==t||null==(e=t.user)?void 0:e.ftcUser)?(0,b.Y)(V.a,{theme:eo.pz,children:(0,b.Y)(ed.W,{isFullScreen:!0,onButtonClick:ny,iconElem:(0,b.Y)(el.A,{width:90,height:90,fill:"rgba(128, 130, 133, 1)"}),title:n("Page not available"),desc:n("server_error_sub"),buttonText:n("try_again_btn")})}):(0,b.Y)(tK,{children:(0,b.Y)(n_,{})})},nw=(0,z.A)(Object.values(eW.OZ)),nk=new X,nP=[eW.eU.find,eW.eU.expansion,eW.eU.channel],nT=[eW.OZ.find,eW.OZ.channel,eW.OZ.expansion],nS=[eW.eU.download,eW.eU.downloadWithLang],nE=[eW.OZ.download].concat((0,W._)(eW.OZ.downloadWithLang)),nA=nw.filter(function(e){return!nT.includes(e)}),nL=n(25406),nC=n(62481),nO=n(94946),nI=n(2033),nx=n(24683),nN=n(93085),nD="__$UNIVERSAL_DATA$__",nM=n(94553),nR={video:nM.L.Video,photo:nM.L.PhotoVideo,user:nM.L.User,music:nM.L.Music,effect:nM.L.Effect,challenge:nM.L.Challenge,home:nM.L.Trending,foryou:nM.L.Trending,foryouWithLang:nM.L.Trending,following:nM.L.Following,friends:nM.L.Friends,topics:nM.L.Topics,expansion:nM.L.Expansion,searchHome:nM.L.GeneralSearch,searchUser:nM.L.SearchUser,searchVideo:nM.L.SearchVideo,searchPhoto:nM.L.SearchPhoto,discover:nM.L.Discover,setting:nM.L.Setting,settingBlockList:nM.L.Setting,settingDownLoadYourData:nM.L.Setting,settingKeywordFiltering:nM.L.Setting,settingAdPrivacyPersonalizedAds:nM.L.Setting,settingAdPrivacyPersonalizedAdsInferredByTikTokTopics:nM.L.Setting,settingAdPrivacyPersonalizedAdsYourChoicesTopics:nM.L.Setting,settingAdPrivacyPersonalizedAdsAllTopics:nM.L.Setting,settingAdvertiserSettings:nM.L.Setting,settingDisconnectAdvertisers:nM.L.Setting,settingDisconnectAdvertisersDetails:nM.L.Setting,feedback:nM.L.Feedback,feedbackHistory:nM.L.FeedbackHistory,feedbackReport:nM.L.FeedbackReport,support:nM.L.Support,find:nM.L.Find,question:nM.L.QADetail,musicPlaylist:nM.L.Playlist,poi:nM.L.Poi,poiCategory:nM.L.PoiCategory,travel:nM.L.Poi,travelCategory:nM.L.PoiCategory,collection:nM.L.Collection,messages:nM.L.Messages,channel:nM.L.Channel,profile:nM.L.Profile,inbox:nM.L.Inbox,explore:nM.L.Explore,videoPlaylist:nM.L.WebAppVideoPlaylist,searchReminder:"search_reminder",searchLive:nM.L.SearchLive,upload:nM.L.Upload,settingDailyScreenTimeEdit:nM.L.Setting,settingTimeBreakEdit:nM.L.Setting,settingSleepReminderEdit:nM.L.Setting,download:nM.L.Download,downloadWithLang:nM.L.Download,downloadVideo:nM.L.DownloadVideo,downloadVideoWithLang:nM.L.DownloadVideo,trendingDetail:nM.L.TrendingDetail,trendingDetailWithinDiscover:nM.L.TrendingDetail,oauthSpotify:nM.L.OauthSpotify,creatorsearchinsights:nM.L.CreatorSearchInsights,creatorsearchinsightsDetail:nM.L.CreatorSearchInsightsDetail,creatorsearchinsightsSearch:nM.L.CreatorSearchInsightsSearch,creatorsearchinsightsFavorites:nM.L.CreatorSearchInsightsFavorites,creatorsearchinsightsAnalytics:nM.L.CreatorSearchInsightsAnalytics,creatorsearchinsightsAcademy:nM.L.CreatorSearchInsightsAcademy},nj=n(64124),nU=n(72159),nF=n(22160),nB=n(8561),nH=n(27155),nY=n(80514),nV=n(74034),nq=n(65362),nG=n(96048),nW=n(15256),nz=n(92908),nK=n(13118),nJ=n(33932),nZ=n(3084);U.i_.WebApp;var nQ={video:nM.L.Video,photo:nM.L.PhotoVideo,user:nM.L.User,music:nM.L.Music,effect:nM.L.Effect,challenge:nM.L.Challenge,home:nM.L.Trending,foryou:nM.L.Trending,foryouWithLang:nM.L.Trending,following:nM.L.Following,friends:nM.L.Friends,topics:nM.L.Topics,expansion:nM.L.Expansion,searchHome:nM.L.GeneralSearch,searchUser:nM.L.SearchUser,searchVideo:nM.L.SearchVideo,searchPhoto:nM.L.SearchPhoto,discover:nM.L.Discover,setting:nM.L.Setting,settingBlockList:nM.L.Setting,settingDownLoadYourData:nM.L.Setting,settingKeywordFiltering:nM.L.Setting,settingAdPrivacyPersonalizedAds:nM.L.Setting,settingAdPrivacyPersonalizedAdsInferredByTikTokTopics:nM.L.Setting,settingAdPrivacyPersonalizedAdsYourChoicesTopics:nM.L.Setting,settingAdPrivacyPersonalizedAdsAllTopics:nM.L.Setting,settingAdvertiserSettings:nM.L.Setting,settingDisconnectAdvertisers:nM.L.Setting,settingDisconnectAdvertisersDetails:nM.L.Setting,feedback:nM.L.Feedback,feedbackHistory:nM.L.FeedbackHistory,feedbackReport:nM.L.FeedbackReport,support:nM.L.Support,find:nM.L.Find,question:nM.L.QADetail,musicPlaylist:nM.L.Playlist,poi:nM.L.Poi,poiCategory:nM.L.PoiCategory,travel:nM.L.Poi,travelCategory:nM.L.PoiCategory,collection:nM.L.Collection,messages:nM.L.Messages,channel:nM.L.Channel,profile:nM.L.Profile,inbox:nM.L.Inbox,explore:nM.L.Explore,videoPlaylist:nM.L.WebAppVideoPlaylist,searchReminder:"search_reminder",searchLive:nM.L.SearchLive,upload:nM.L.Upload,settingDailyScreenTimeEdit:nM.L.Setting,settingTimeBreakEdit:nM.L.Setting,settingSleepReminderEdit:nM.L.Setting,download:nM.L.Download,downloadWithLang:nM.L.Download,downloadVideo:nM.L.DownloadVideo,downloadVideoWithLang:nM.L.DownloadVideo,trendingDetail:nM.L.TrendingDetail,trendingDetailWithinDiscover:nM.L.TrendingDetail,oauthSpotify:nM.L.OauthSpotify,creatorsearchinsights:nM.L.CreatorSearchInsights,creatorsearchinsightsDetail:nM.L.CreatorSearchInsightsDetail,creatorsearchinsightsSearch:nM.L.CreatorSearchInsightsSearch,creatorsearchinsightsFavorites:nM.L.CreatorSearchInsightsFavorites,creatorsearchinsightsAnalytics:nM.L.CreatorSearchInsightsAnalytics,creatorsearchinsightsAcademy:nM.L.CreatorSearchInsightsAcademy},n$=function(){try{var e=(0,eW.kv)(window.location.pathname);!function(){try{var t=performance.now();try{var n=new nJ.r({decodeImgUrl:""}).scoreSync({ignoreCachedImg:!0}).performance;if(n&&(void 0===n?"undefined":(0,tl._)(n))==="object"&&"score"in n){var r=n.score;"number"==typeof r&&(r=parseFloat(r.toFixed(2)),(0,nz.lu)().updateHardwareScore(r),eP.f.config({commonHeaderConfig:{"header.custom":{hardware_score:r}}}))}}catch(t){nK.z.handleDeviceScoreError({type:"hardware",page_name:e?nQ[e.name]:""})}var o=performance.now();nK.z.handleDeviceScoreTIme({duration:Math.ceil(o-t),type:"hardware",page_name:e?nQ[e.name]:""});var i=performance.now();try{var a=nZ.M.getDeviceScore().score;if("number"==typeof a){var s=parseFloat(a.toFixed(2));(0,nz.lu)().updateTotalDeviceScore(a),eP.f.config({commonHeaderConfig:{"header.custom":{total_score:s}}})}}catch(t){nK.z.handleDeviceScoreError({type:"total",page_name:e?nQ[e.name]:""})}var c=performance.now();nK.z.handleDeviceScoreTIme({duration:Math.ceil(c-i),type:"total",page_name:e?nQ[e.name]:""})}catch(e){console.error("Error in retrieveScore:",e)}}()}catch(e){console.error("Error in setDeviceScore",e)}},nX=function(){r=(0,nI.V)()},n0=function(){o=(0,nI.V)(),(0,f.OA)({duration:o-r})},n1=(0,g.d)(),n2=(0,H.YI)(ea.Ow);i=function(){var e,t=(0,eG.fU)()?"/":window.location.pathname,n=nA,r=null==(e=(0,eW.jN)(t))?void 0:e.name;r&&nP.includes(r)&&(n=nT),r&&nS.includes(r)&&(n=nE);var o=nb,i=(0,g.d)();if(i){var a=window.__registerSEOAddon__;a&&(o=a(o,{isFromGoogle:"google"===(0,ez.q)(),isFromSearchEngine:i}))}return(0,b.Y)(eK.QueryProvider,{apiConfigs:(0,eJ.H$)(),children:(0,b.Y)(eq,{supportRoutes:n,children:(0,b.Y)(Z,{context:nk,children:(0,b.Y)(o,{})})})})},c=(a={appName:"desktop",beforeStart:function(){return(0,l._)(function(){var e,t;return(0,d.__generator)(this,function(n){switch(n.label){case 0:if(e="v0",n2&&((0,ti.D)(n2),e=null!=(t=(0,te.d)("page_loading_tiny_changes"))?t:"v0"),"v2"!==e&&"v4"!==e)return[3,1];return"requestIdleCallback"in window?window.requestIdleCallback(function(){(0,h.t6)()}):(0,h.t6)(),[3,3];case 1:return[4,(0,h.t6)()];case 2:n.sent(),n.label=3;case 3:return[2]}})})()},nss:nW.Y5,slardarOption:{bid:m.Gu,extractPid:e7.wI,disableToggleLoginSlardar:!0,ttapOption:{isSpa:!0,includeApiUrl:["/api/recommend/item_list/","/api/item/detail/","/api/following/item_list/","/api/user/detail/","/api/post/item_list/","/api/music/item_list/","/api/topic/item_list/","/node/report/inbox/list/","/node/report/inbox/detail/","/api/explore/item_list/"]}},beforeRender:function(e){var t=e.slardarUtils;return(0,l._)(function(){var e;return(0,d.__generator)(this,function(r){switch(r.label){case 0:var o,i,a,s,c,u,p,g,h,m,y,b,w,k,P,S,E;return nX(),c=(0,nx.V)(),u=(0,x.xq)(),p=function(e,t){if(!window[nD]){var n,r,o,i,a={};try{a=JSON.parse(null!=(i=null==(o=document.getElementById("__UNIVERSAL_DATA_FOR_REHYDRATION__"))?void 0:o.textContent)?i:"{}")}catch(e){console.error("error while parsing rehydration data")}window[nD]=a}return null!=(n=null==(r=window[nD].__DEFAULT_SCOPE__)?void 0:r[e])?n:null}("webapp.biz-context"),g=(0,nN.A)(null==p?void 0:p.solariaPortrait,function(e){return Number(e)}),h=u.user,m=u.wid,y=u.region,b=u.odinId,w=u.webIdCreatedTime,k=u.language,P=u.abTestVersion,S=(0,eW.kv)(window.location.pathname),E=null==P||null==(i=P.parameters)||null==(o=i.page_loading_tiny_changes)?void 0:o.vid,eP.f.config({initConfig:{channel_domain:c.tea,ab_channel_domain:c.libraWebSDK,channel_type:null!=(a=c.teaChannelType)?a:"tcpy",channel:c.teaChannel,id:1988,reportTime:"v3"===E||"v4"===E?200:void 0,autotrack:{custom:"tea",text:!0,svg:!0}},commonHeaderConfig:{region:y,user_id:null!=(s=null==h?void 0:h.uid)?s:b,user_is_login:!!h,user_unique_id:m,device_id:m,user_type:12,"header.custom":(0,_._)({session_id:eP.f.getSessionId(m),webid_created_time:w,app_language:k,page_name:S?nR[S.name]:""},g,eP.f.initDimensionalData)}}),nO.l.init({sender:function(e,t){eP.f.event(e,t,!1)},device:"pc",pageName:S?nR[S.name]:""}),(0,f.jT)(),[4,(0,l._)(function(){var e,t,n,r,o,i,a,s,c,u,l,p,f,g,h,m,_,y,b,w,k,P,S,E,A,L,C,O,x,N,D,M,R,j,F,B,Y,V,q,G,W,z,K,J,Z,Q,X,ee,et,en,er;return(0,d.__generator)(this,function(d){switch(d.label){case 0:if(t=null==(e=(0,eW.CA)(window.location.pathname))?void 0:e.name,n=T.l.getInstance(I.V$),t!==eW.eU.user)return[3,2];return a=(0,U.qm)(),[4,Promise.all([(0,eX.zI)(a),(0,nU.x)(a)])];case 1:if(c=(s=$._.apply(void 0,[d.sent(),2]))[0],u=s[1],l=new URLSearchParams(location.search),(null==c||null==(i=c.abTestVersion)||null==(o=i.parameters)||null==(r=o.foryou_prefetch)?void 0:r.vid)==="v2"||"v2"===l.get("foryou_prefetch"))return[2];p=(0,eS.oc)(),(f=(0,H.YI)(nj.gA.userDetail))&&(y=void 0===(_=(null!=(m=null==(g=f.userInfo)?void 0:g.user)?m:{}).secUid)?"":_,(0,nF.dz)(y),(0,nF.bg)(y,null==(h=u.videoCoverSettings)?void 0:h.format,p)),d.label=2;case 2:if(t!==eW.eU.poi||!(w=(null!=(b=null==e?void 0:e.matchedParams)?b:{id:""}).id))return[3,4];return[4,(0,nU.x)((0,U.qm)())];case 3:k=d.sent(),(0,nF.hX)(w,k.isBot?nB.pf.SEO_POI_DETAIL:nB.pf.WEBAPP_POI_DETAIL),d.label=4;case 4:if(t!==eW.eU.travel||!(S=(null!=(P=null==e?void 0:e.matchedParams)?P:{id:""}).id))return[3,6];return A=Object.values(nH.Wk).slice(0,3).map(function(e){return e.idlType}),L=(0,U.qm)(),[4,Promise.all([(0,eX.zI)(L),(0,nU.x)(L),(0,nY.e)()])];case 5:O=(C=$._.apply(void 0,[d.sent(),3]))[0],x=C[1],N=C[2],D={appId:O.appId,region:O.region,coverFormat:null==(E=x.videoCoverSettings)?void 0:E.format,clientAbVersionIds:N},(0,nF.UM)({poiId:S},D,A),d.label=6;case 6:if(t!==eW.eU.travelCategory||(j=(R=null!=(M=null==e?void 0:e.matchedParams)?M:{id:"",category:""}).id,F=R.category,!(j&&F)))return[3,8];return Y=(0,nH.xG)(F).idlType,V=[,,,].fill(null).map(function(e,t){return nH.Wk[F].subTitles[t].idlType}),q=(0,U.qm)(),[4,Promise.all([(0,eX.zI)(q),(0,nU.x)(q),(0,nY.e)()])];case 7:W=(G=$._.apply(void 0,[d.sent(),3]))[0],z=G[1],K=G[2],J={appId:W.appId,region:W.region,coverFormat:null==(B=z.videoCoverSettings)?void 0:B.format,clientAbVersionIds:K},(0,nF.UM)({poiId:j,subCategoryType:Y},J,V),d.label=8;case 8:return t===eW.eU.video&&(Z=(0,H.YI)(nj.gA.videoDetail),n.emitEvent("prefetch_data",{video_detail:1},{}),Z&&(et=null==Z||null==(ee=Z.itemInfo)||null==(X=ee.itemStruct)||null==(Q=X.video)?void 0:Q.originCover,n.emitEvent("prefetch_data",{video_detail:1},{status:"success"}),et&&(en=Date.now(),v.A.reportCoreResourceLoadStart(),(er=new Image).src=et,er.onload=function(){n.reportCustomRequest({name:"prefetch_image",startTime:en,endTime:Date.now()}),v.A.reportCoreResourceLoadEnd()}))),[2]}})})()];case 1:return r.sent(),Object.keys(nj.gA).forEach(function(e){return(0,nj.iq)(e)}),(0,f.AW)(),(0,f.LY)(),n$(),[4,(0,l._)(function(){var e,t,n,r,o,i;return(0,d.__generator)(this,function(a){switch(a.label){case 0:var s,c;if(!((null==(s=document.querySelector("#app"))?void 0:s.dataset.csr)==="1"&&["foryou","foryouWithLang","home"].includes(null==(c=(0,eW.kv)(window.location.pathname))?void 0:c.name)))return[3,2];return e=(0,U.qm)(),[4,(0,eX.zI)(e)];case 1:n=(t=a.sent()).user,r=t.wid,i=null!=(o=(0,te.d)("preload_priority"))?o:"v0";try{(0,nV.az)({user:n,wid:r}),"v0"===i&&(0,nV.PR)(null==n?void 0:n.uid,r)}catch(e){console.warn("[Error]feed cache logic error:",e)}a.label=2;case 2:return[2]}})})()];case 2:return r.sent(),[4,(0,l._)(function(){var e,t,n,r;return(0,d.__generator)(this,function(o){switch(o.label){case 0:return e="",(t=(0,x.xq)())&&(e=t.region),[4,(0,nU.x)((0,U.qm)())];case 1:return n=o.sent(),(0,nq.hd)("webapp-desktop",null!=(r=n.isTTP)?r:"US"===e),[2]}})})()];case 3:if(r.sent(),nL.Mh.inject(),v.A.reportPageRequest(),v.A.reportDomResourceLoad(),!n1)return[3,5];return[4,Promise.all([n.e("96775","high"),n.e("12670","high")]).then(n.bind(n,95873))];case 4:window.__registerSEOAddon__=r.sent().registerSEOAddon,r.label=5;case 5:return"/setting"===location.pathname&&(null==t||null==(e=t.slardar)?void 0:e._slardar)&&nC.Wk.init({slardarContainer:t.slardar._slardar,shouldReportJSError:{pageCrash:!0,cuj:!0}}),[2]}})})()},afterRender:function(){var e;v.A.reportAppInitialized(),n0(),e=T.l.getInstance(I.V$),nG.P.on("consume_prefetch_data",function(t,n,r){e.emitEvent("consume_prefetch_data",{now:t},{status:n,from:r})}),nG.P.on("consume_prefetch_data_error",function(t,n){e.emitEvent("consume_prefetch_data",{now:performance.now()},{status:"fail",from:n})})}}).beforeRender,u=a.afterRender,(0,l._)(function(){var e,t,n,r,o,p;return(0,d.__generator)(this,function(f){switch(f.label){case 0:return[4,(0,l._)(function(){var e,t,n,r,o,i,s,c,u,p,f,v,g,h,m,y;return(0,d.__generator)(this,function(b){var w,k,C,N;switch(b.label){case 0:return Object.getPrototypeOf(T.l).constructor.prototype.createChild=function(e){return T.l.addProviders(e),T.l},e=(0,L.S)(),n=void 0===(t=a.beforeStart)?E.A:t,r=a.defaultNS,o=a.nss,i=a.customInitBiz,s=a.slardarOption,c=a.appName,u=a.missingKeyHandler,f=void 0!==(p=a.asyncSlardarPre)&&p,[4,(0,M._)()];case 1:return b.sent(),(0,S.a)(),(0,A.sF)(e),v=(0,U.qm)(),[4,Promise.all([(0,x.eE)(v),(w=v,k=o,(0,l._)(function(){var e,t;return(0,d.__generator)(this,function(n){switch(n.label){case 0:if(n.trys.push([0,3,,4]),(0,H.YI)(F.rv))return[3,2];return e={},[4,Promise.all(k.map(function(t){return(0,R.gW)(t,w).then(function(n){e[t]=n})}))];case 1:n.sent(),(0,H.A7)(F.rv,e),n.label=2;case 2:return[3,4];case 3:return t=n.sent(),console.error("[Fetch Error]: translation data fetch failed: ".concat(t)),[3,4];case 4:return[2]}})})()),function(){var e=(0,H.YI)("webapp.browserRedirect-context");if(e){var t=T.l.getInstance(I.V$);try{window.history.replaceState(window.history.state,"",e.browserRedirectUrl),t.emitEvent("seo.browser-redirect.succeed",{count:1},{})}catch(e){t.emitEvent("seo.browser-redirect.error",{count:1},{})}}}(),i?Promise.resolve():(0,O.a)(c),(0,B.Zi)(),n(),(0,P.ai)(),(0,R.Dy)(v,r,u)])];case 2:b.sent(),C=v,(N=(0,H.YI)(F.rv))?(0,R.EK)(N,C):console.error("[Error]: No translation data to be added"),T.l.addProvider({provide:F.hp,useValue:D.default.t}),b.label=3;case 3:if(b.trys.push([3,11,,12]),h=function(e){return(0,l._)(function(){return(0,d.__generator)(this,function(t){switch(t.label){case 0:return[4,(0,l._)(function(){var t,n,r,o;return(0,d.__generator)(this,function(i){switch(i.label){case 0:return[4,(0,l._)(function(){var t;return(0,d.__generator)(this,function(n){switch(n.label){case 0:if("function"!=typeof e)return[3,2];return[4,e()];case 1:return t=n.sent(),[3,3];case 2:t=e,n.label=3;case 3:return[2,t]}})})()];case 1:return t=i.sent(),n=(0,x.xq)(),[4,(0,O.h)()];case 2:return r=i.sent(),o=T.l.getInstance(I.V$),[2,I.V$.start(o,(0,_._)({appContext:n,bizContext:r,initLocation:window.location.pathname},t))]}})})()];case 1:return g=t.sent(),(0,j.JI)(null==g?void 0:g.slardar),[2]}})})()},!s)return[3,10];if(!f)return[3,8];if(!window.SlardarClient)return[3,5];return[4,h(s)];case 4:return b.sent(),[3,7];case 5:if(!(m=document.querySelector('script[src*="slardar.web.pre.js"]')))return[3,7];return[4,new Promise(function(e){m.onload=function(){return(0,l._)(function(){return(0,d.__generator)(this,function(t){switch(t.label){case 0:return[4,h(s)];case 1:return t.sent(),e(),[2]}})})()}})];case 6:b.sent(),b.label=7;case 7:return[3,10];case 8:return[4,h(s)];case 9:b.sent(),b.label=10;case 10:return[3,12];case 11:return console.error(b.sent()),[3,12];case 12:return[2,{slardarUtils:g,jotaiStore:e,rootProps:{jotaiStore:e,disableInlineSlardar:void 0!==s,slardarContext:{onLocationChange:null!=(y=null==g?void 0:g.handleLocationChange)?y:E.A}}}]}})})()];case 1:return s=(e=f.sent()).slardarUtils,t=e.rootProps,n=e.jotaiStore,[4,null==c?void 0:c({jotaiStore:n,slardarUtils:s})];case 2:return f.sent(),null==s||s.slardar.reportRenderStart(),o=(null==(r=document.querySelector("#app"))?void 0:r.dataset.csr)==="1",p=(0,b.Y)(G,(0,y._)((0,_._)({},t),{csr:o,children:(0,b.Y)(i,{})})),o?(0,w.render)(p,r):(0,w.hydrate)(p,r),null==s||s.slardar.reportRenderEnd(),[4,null==u?void 0:u()];case 3:return f.sent(),[2]}})})().catch(function(e){var t,n;console.error(e),null==s||null==(n=s.slardar)||null==(t=n.captureMessage)||t.call(n,e,k.$b.P0,{fromLauncher:"1"})})},31506:function(e,t,n){"use strict";n.d(t,{$:function(){return d}});var r=n(6586),o=n(54333),i=n(90160),a=n(11060),s=n(89786),c=n(54520),u=n(32049),l=n(75434),d=function(){try{var e,t=null!=(e=(0,c.d)("nav_phase_3"))?e:"v0",n="v1"===(0,c.d)("enable_dm_side_nav"),d=(0,u.fU)()?(0,l.yK)().request.path:window.location.pathname;if((0,a.matchPath)(d,{path:(0,o._)(Object.entries(s.OZ).filter(function(e){var t=(0,r._)(e,2),n=t[0];return t[1],n.startsWith("setting")}).flatMap(function(e){var t=(0,r._)(e,2);return t[0],t[1]})).concat([s.OZ.feedback,s.OZ.feedbackReport,s.OZ.feedbackHistory,s.OZ.upload],(0,o._)(n?[]:[s.OZ.messages])),exact:!0}))return i.uF;return"v0"!==t?0:i.uF}catch(e){return i.uF}}},2745:function(e,t,n){"use strict";n.d(t,{xS:function(){return B},zd:function(){return R},wI:function(){return U},nI:function(){return Y},vV:function(){return M},Gf:function(){return q},G4:function(){return V},xG:function(){return D},cf:function(){return F},YB:function(){return H}});var r=n(6586),o=n(54333),i=n(40099),a=n(11060),s=n(54366),c=n(77443),u=n(89786),l=n(17505),d=n(94553),p=n(72961),f=n(43264),v=n(13610),g=n(54520),h=n(78790),m=n(47),_=n(5377),y=n(45996),b=n(4676),w=n(10625),k={windowHeight:"undefined"!=typeof window?window.innerHeight:0,windowWidth:"undefined"!=typeof window?window.innerWidth:0},P=(0,w.p)("windowAtom@tiktok/webapp-desktop",k);P.debugLabel="windowAtom";var T=(0,b.i)(P,function(e,t){return{updateWindowSize:function(){t(P,function(e){return(0,y._)((0,_._)({},e),{windowHeight:window.innerHeight,windowWidth:window.innerWidth})})}}}),S=(T.useServiceState,T.useServiceDispatchers,T.useAtomService);T.getStaticApi;var E=n(80133),A=n(77226),L=n(15659),C=n(59510),O=n(38117),I=n(82499),x=n(59952),N=n(74034),D=240,M=function(){var e=(0,l.vYE)().isInNavPhase3,t=!(0,m.YH)().isFeedbackPage,n=e?16*Number.parseFloat(O.pJ):D;return{sideNavWidth:t?n:void 0,bodyContainerMaxWidth:t?"100%":void 0}},R=function(e){var t=(0,i.useContext)(s.xm).value;return(0,s.O4)({isDark:t,lang:e}).colors.Negative},j={video:d.L.Video,photo:d.L.PhotoVideo,user:[d.L.User,d.L.Profile],music:d.L.Music,effect:d.L.Effect,challenge:d.L.Challenge,channel:d.L.Channel,find:d.L.Find,home:d.L.Trending,foryouWithLang:d.L.Trending,foryou:d.L.Trending,following:d.L.Following,friends:d.L.Friends,topics:[d.L.Topics],expansion:d.L.Expansion,searchHome:d.L.GeneralSearch,searchUser:d.L.SearchUser,searchVideo:d.L.SearchVideo,searchPhoto:d.L.SearchPhoto,searchLive:d.L.SearchLive,searchReminder:d.L.GeneralSearch,discover:d.L.Discover,setting:d.L.Setting,feedback:d.L.Feedback,feedbackHistory:d.L.FeedbackHistory,feedbackReport:d.L.FeedbackReport,support:d.L.Support,upload:d.L.Upload,question:d.L.QADetail,musicPlaylist:d.L.Playlist,messages:d.L.Messages,settingBlockList:d.L.Setting,settingDownLoadYourData:d.L.Setting,settingKeywordFiltering:d.L.Setting,settingDailyScreenTimeEdit:d.L.Setting,settingTimeBreakEdit:d.L.Setting,settingSleepReminderEdit:d.L.Setting,settingAdPrivacyPersonalizedAds:d.L.Setting,settingAdPrivacyPersonalizedAdsInferredByTikTokTopics:d.L.Setting,settingAdPrivacyPersonalizedAdsYourChoicesTopics:d.L.Setting,settingAdPrivacyPersonalizedAdsAllTopics:d.L.Setting,settingAdvertiserSettings:d.L.Setting,settingDisconnectAdvertisers:d.L.Setting,settingDisconnectAdvertisersDetails:d.L.Setting,profile:d.L.Profile,inbox:d.L.Inbox,explore:d.L.Explore,videoPlaylist:d.L.WebAppVideoPlaylist,poi:d.L.Poi,poiCategory:d.L.PoiCategory,travel:d.L.Poi,travelCategory:d.L.PoiCategorySlardar,collection:d.L.Collection,download:d.L.Download,downloadWithLang:d.L.Download,downloadVideo:d.L.DownloadVideo,downloadVideoWithLang:d.L.DownloadVideo,trendingDetail:d.L.TrendingDetail,trendingDetailWithinDiscover:d.L.TrendingDetail,oauthSpotify:d.L.OauthSpotify,creatorsearchinsights:d.L.CreatorSearchInsights,creatorsearchinsightsDetail:d.L.CreatorSearchInsightsDetail,creatorsearchinsightsSearch:d.L.CreatorSearchInsightsSearch,creatorsearchinsightsFavorites:d.L.CreatorSearchInsightsFavorites,creatorsearchinsightsAnalytics:d.L.CreatorSearchInsightsAnalytics,creatorsearchinsightsAcademy:d.L.CreatorSearchInsightsAcademy},U=function(e,t){var n,r=(0,u.kv)(e),o=t?t.user:null==(n=(0,I.xq)())?void 0:n.user;if(!r)return d.L.Unknown;var i=j[r.name];if(!Array.isArray(i))return i;if("user"===r.name){var a=null==e?void 0:e.slice(2),s=null==a?void 0:a.toLowerCase();return o&&(s&&(null==s?void 0:s.match(o.uniqueId))||a&&(null==a?void 0:a.match(o.secUid)))?i[1]:i[0]}if("topics"===r.name){var c=null==e?void 0:e.slice(8);return"".concat(i[0],"_").concat(c).toLowerCase()}return d.L.Unknown},F=function(){var e=(0,i.useRef)(null),t=(0,a.useLocation)().pathname,n=(0,p.L$)((0,f.W)(function(){return["user"]},[])).user;if(e.current)return e.current;var r=U(t,{user:n});return e.current=r,r},B=function(){var e,t,n,o=(0,p.L$)((0,f.W)(function(){return["user"]},[])).user,a=(0,r._)((0,c.S)(E.J),2),s=a[0],u=a[1],l=s.privacyAccountPromptConfig,d=s.restrictionSetting,v=s.effectedCount,g=l.variant,h=l.showNewPrompt,m=l.selectPrivateByDefault,_=(null==d||null==(n=d.privacy_restriction)||null==(t=n.account)||null==(e=t.private_account)?void 0:e.tips_type)===5;return(0,i.useEffect)(function(){o&&(u.getComplianceSetting({user:o}),u.getRestrictionAndEffectedCountSettings())},[u,o]),{privacyAccountPromptVariant:g,showNewPrompt:h,selectPrivateByDefault:m,isUKU18:_,effectedCountSetting:v}},H=function(){var e,t,n=(0,p.L$)((0,f.W)(function(){return["user"]},[])).user,r=(0,v.y)().bizContext,a=(null!=(e=(0,f.W)(function(){return["abTestVersion"]},[]))?e:{}).abTestVersion,s=null!=(t=(0,g.qt)(a,"webapp_switch_account"))?t:"v1";(0,i.useEffect)(function(){var e,t,i=JSON.parse(null!=(e=localStorage.getItem("multi-account-info"))?e:'{"data":[]}').data;n&&"v1"!==s&&n.hasIMPermission&&localStorage.setItem("multi-account-info",JSON.stringify({data:(0,o._)(i.filter(function(e){return e.secUid!==n.secUid})).concat([{secUid:n.secUid,uniqueId:n.uniqueId,nickName:n.nickName,avatarUrl:n.avatarUri[0],lastActiveTime:Date.now(),userRegion:null!=(t=null==r?void 0:r.idc)?t:""}]).sort(function(e,t){return e.lastActiveTime<t.lastActiveTime?1:e.lastActiveTime>t.lastActiveTime?-1:0})}))},[null==r?void 0:r.idc,s,n])};function Y(){var e=(0,i.useCallback)(function(){A.f.event("enter_picture_in_picture")},[]);(0,i.useEffect)(function(){return window.addEventListener("enterpictureinpicture",e),function(){window.removeEventListener("enterpictureinpicture",e)}},[e])}var V=function(){var e=(0,x.RT)(),t=(0,r._)(S(),2),n=t[0],o=n.windowHeight,a=n.windowWidth,s=t[1],c=(0,h.Dy)(),u=(0,i.useCallback)((0,C.A)(function(){(0,L.T)({windowObj:window,playMode:e,width_before:a,height_before:o}),s.updateWindowSize()},1e3),[o,a,e,s,c]);(0,i.useEffect)(function(){return window.addEventListener("resize",u),function(){window.removeEventListener("resize",u)}},[u])},q=function(){var e=(0,l.JAg)().isPreloadPrioritize,t=(0,p.L$)((0,f.W)(function(){return["user","wid"]},[])),n=t.user,r=t.wid;(0,i.useEffect)(function(){e&&(0,N.I5)(null==n?void 0:n.uid,r)},[])}},29033:function(e,t,n){"use strict";n.d(t,{_:function(){return C}});var r=n(5377),o=n(6586),i=n(2787),a=n(40099),s=n(28591),c=n(11060),u=n(26869),l=n(17505),d=n(10829),p=n(72961),f=n(79097),v=n(61735),g=n(57839),h=n(27561),m=n(13420),_=n(86297),y=n(41150),b=n(23680),w=n(50173),k=n(59952),P=n(55169),T=n(93140),S=n(61724),E=n(65517),A=(0,P.Ay)({resolved:{},chunkName:function(){return"tiktok-fe-shared-dist-ad-pc-components-ad-violation-appeal-modal"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("96821"),n.e("41685"),n.e("84673"),n.e("20853"),n.e("79447"),n.e("56376"),n.e("71522"),n.e("85820"),n.e("52861"),n.e("87160")]).then(n.bind(n,57936))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 57936}},(0,r._)({},y.C8)),L=(0,P.Ay)({resolved:{},chunkName:function(){return"tiktok-fe-shared-dist-tns-pc-components-violation-appeal-modal"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("96821"),n.e("41685"),n.e("84673"),n.e("79447"),n.e("56376"),n.e("71522"),n.e("52861"),n.e("82205"),n.e("23508")]).then(n.bind(n,61338))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 61338}},(0,r._)({},y.C8)),C=function(){var e,t=(0,l.Vv$)().isInProductHoldout,n=(0,l.lZ1)(),r=n.shouldResetResolution,y=n.allowSelectResolution,P=n.useStoredResolution,C=(0,S.xH)().isInDesktopLandingOptExperiment,O=(0,b.P)(d.L,{selector:function(e){return{appContext:e.appContext}},dependencies:[]}).appContext,I=(0,p.L$)(O).user,x=(0,f._y)(),N=x.setIsPopupPriorityReady,D=x.clearReadyListOnRouteChange,M=(0,k.nr)(),R=(0,v.Ig)(),j=(0,c.useLocation)(),U=(0,g.H)(),F=U.handlePopupHide,B=U.handlePopupShow,H=(0,a.useRef)(!0),Y=(0,o._)((0,a.useState)(!1),2),V=Y[0],q=Y[1],G=(0,a.useMemo)(function(){return(0,u.parse)(j.search)},[j.search]);if((0,h.Du)(!1),(0,a.useEffect)(function(){H.current?H.current=!1:D()},[D,j]),(0,w.AR)(I),G.show_promote||V||(N(m.H.PromotePopupTip),q(!0)),!C){try{e="undefined"!=typeof window?localStorage.getItem("resolution_auto"):void 0}catch(t){e=void 0}if(r&&e){try{localStorage.removeItem("resolution")}catch(e){}M.setDefaultResolution("auto")}else P&&y&&M.setDefaultResolution(null!=e?e:"auto")}return(0,a.useEffect)(function(){if(C){var e;try{e="undefined"!=typeof window?localStorage.getItem("resolution_auto"):void 0}catch(t){e=void 0}if(r&&e){try{localStorage.removeItem("resolution")}catch(e){}M.setDefaultResolution("auto")}else P&&y&&M.setDefaultResolution(null!=e?e:"auto")}},[]),(0,i.FD)(i.FK,{children:[(0,i.Y)(s.Helmet,{children:(0,i.Y)("link",{rel:"stylesheet",as:"style",href:T})}),(0,i.Y)(L,{}),(0,i.Y)(A,{}),!R&&(0,i.Y)(_.H,{onShow:B,onHide:F}),!t&&(0,i.Y)(E.j,{})]})}},23047:function(e,t,n){"use strict";n.d(t,{C9:function(){return u},LZ:function(){return c},YT:function(){return l},d0:function(){return d},y2:function(){return p}});var r=n(5377),o=n(2787),i=n(41150),a=n(55169),s=n(17699),c=(0,a.Ay)({resolved:{},chunkName:function(){return"header-island"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("96821"),n.e("41685"),n.e("84673"),n.e("20853"),n.e("79447"),n.e("56376"),n.e("2536"),n.e("70084"),n.e("34807"),n.e("97556"),n.e("10879"),n.e("34200"),n.e("71522"),n.e("11054"),n.e("85820"),n.e("98905"),n.e("52861"),n.e("89828"),n.e("5244"),n.e("82205"),n.e("68215"),n.e("74314"),n.e("62477"),n.e("45711"),n.e("36114"),n.e("41583"),n.e("7436"),n.e("40895")]).then(n.bind(n,84631))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 84631}},(0,r._)({fallback:(0,o.Y)(s.R,{})},i.KE)),u=(0,a.Ay)({resolved:{},chunkName:function(){return"side-nav-island"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("96821"),n.e("41685"),n.e("84673"),n.e("20853"),n.e("79447"),n.e("56376"),n.e("70084"),n.e("34807"),n.e("97556"),n.e("10879"),n.e("34200"),n.e("88859"),n.e("57467"),n.e("71522"),n.e("11054"),n.e("85820"),n.e("98905"),n.e("52861"),n.e("89828"),n.e("97775"),n.e("67970"),n.e("5244"),n.e("82205"),n.e("68215"),n.e("74314"),n.e("62477"),n.e("45711"),n.e("36114"),n.e("41583"),n.e("7436"),n.e("20486"),n.e("64513")]).then(n.bind(n,15245))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 15245}},(0,r._)({fallback:(0,o.Y)(s.m,{})},i.KE)),l=(0,a.Ay)({resolved:{},chunkName:function(){return"bottom-side-effect-island"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("96821"),n.e("49871"),n.e("41685"),n.e("84673"),n.e("79447"),n.e("2536"),n.e("88859"),n.e("12035"),n.e("71522"),n.e("60248"),n.e("89650"),n.e("74314"),n.e("13427"),n.e("58527")]).then(n.bind(n,83012))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 83012}},(0,r._)({},i.KE)),d=(0,a.Ay)({resolved:{},chunkName:function(){return"head-side-effect-island"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("41685"),n.e("84673"),n.e("98007"),n.e("71522"),n.e("61069"),n.e("83908")]).then(n.bind(n,10448))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 10448}},(0,r._)({},i.KE)),p=(0,a.Ay)({resolved:{},chunkName:function(){return"notification-side-effect-island"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("41685"),n.e("68215"),n.e("87739")]).then(n.bind(n,51175))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 51175}},(0,r._)({},i.KE))},17699:function(e,t,n){"use strict";n.d(t,{R:function(){return C},m:function(){return O}});var r=n(2787),o=n(11186),i=n(17505),a=n(43767),s=n(12751),c=n(90160),u=n(84287),l=(0,s.default)("div",{target:"e1i0ece0",label:"5e6d46e3--DivSkeletonHeaderContainer"})(function(e){var t=e.theme.colors;return[{display:"flex",justifyContent:"space-around",boxShadow:"0px 1px 1px ".concat(t.ShadowPrimary),height:c.uF,width:"100%",top:0,position:"fixed",alignItems:"center",background:t.BGPrimary,zIndex:u.s.Header}]}),d=(0,s.default)("div",{target:"e1i0ece1",label:"5e6d46e3--DivSkeletonHeaderWrapper"})({width:"100%",display:"flex",height:"100%",flexDirection:"row",justifyContent:"space-between",alignItems:"center"},function(e){return e.expand?{}:{maxWidth:c.hj}},function(e){var t=e.theme.direction;return(0,c.mp)({direction:t,paddingStart:"20px",paddingEnd:"24px"})}),p=(0,s.default)(d,{target:"e1i0ece2",label:"5e6d46e3--StyledDivSkeletonHeaderWrapperV2"})([{maxWidth:"100%"},function(e){var t=e.theme.direction;return(0,c.mp)({direction:t,paddingStart:"16px",paddingEnd:"24px"})}]),f=n(40099),v=n(89786),g=n(47910),h=n(28758),m=n(5377),_=n(45996),y=(0,s.default)("a",{target:"e10q4wzc0",label:"5e6d46e3--ALogo"})({fontSize:0});y.defaultProps=(0,_._)((0,m._)({},y.defaultProps),{"data-e2e":"tiktok-logo"});var b=(0,f.memo)(function(e){var t=e.isDark,n=(0,f.useMemo)(function(){return t?(0,r.Y)(h.A,{height:42,width:118}):(0,r.Y)(g.A,{height:42,width:118})},[t]);return(0,r.Y)(y,{to:v.OZ.home,style:{position:"relative"},children:n})}),w=n(81825),k=(0,s.default)("div",{target:"e1c3fxdz0",label:"5e6d46e3--DivContainer"})(function(e){return{display:"flex",flexDirection:"row",alignItems:"center",padding:"12px 16px",background:e.theme.colors.BGInput,borderRadius:"92px",position:"relative",overflow:"hidden",zIndex:1,margin:0}}),P=(0,s.default)("div",{target:"e1c3fxdz1",label:"5e6d46e3--DivInputPlaceholder"})({width:"292px",height:"22px"}),T=(0,s.default)("span",{target:"e1c3fxdz2",label:"5e6d46e3--SpanSpliter"})(function(e){return{width:"1px",height:"28px",margin:"-3px 0",background:e.theme.colors.LineSecondary}}),S=(0,s.default)(w.A,{target:"e1c3fxdz4",label:"5e6d46e3--StyledMagnifyingGlass"})({display:"block",margin:"-1px 0",marginInlineStart:"12px"}),E=function(){var e=(0,o.u)().colors;return(0,r.FD)(k,{children:[(0,r.Y)(P,{}),(0,r.Y)(T,{}),(0,r.Y)(S,{fill:e.TextQuaternary,width:24,height:24})]})},A=n(9058),L=n(98164),C=function(){var e=(0,o.u)().isDark,t=(0,a.oY)(),n=(0,i.vYE)().showFullSideNav;return t||n?null:(0,r.Y)(l,{children:(0,r.FD)(p,{children:[(0,r.Y)(b,{isDark:e}),(0,r.Y)(E,{}),(0,r.Y)(A.EA.Avatar,{style:{width:32,height:32}})]})})},O=function(){return(0,r.FD)(L.Ws,{children:[(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{}),(0,r.Y)(L.Hj,{})]})}},98164:function(e,t,n){"use strict";n.d(t,{Hj:function(){return p},V$:function(){return u},Ws:function(){return d},is:function(){return l}});var r,o=n(35383),i=n(7114),a=n(12751),s=n(90160),c=n(84287),u=(0,a.default)("div",{target:"exvoppb0",label:"5e6d46e3--DivSideNavContainer"})({}),l=(0,a.default)("div",{target:"exvoppb1",label:"5e6d46e3--DivSideNavMask"})(function(e){var t=e.status,n=e.theme.colors;return(0,s.jJ)({max:s.I9.Pad-1,style:[{position:"fixed",inset:"".concat(s.uF-1,"px 0 0"),zIndex:c.s.SideNav,backgroundColor:n.ConstBGInverse2,opacity:+(t===i.ns||t===i._K)},t===i.ns||t===i.ze?{transition:"all 0.3s"}:null,t===i.kp?{pointerEvents:"none"}:null]})}),d=(0,a.default)("div",{target:"exvoppb2",label:"5e6d46e3--DivSkeletonSideNavContainer"})((r={position:"relative",height:"100%",width:240,flex:"0 0 ".concat(240,"px"),display:"flex",flexDirection:"column"},(0,o._)(r,"@media screen and (max-width: ".concat(1071,"px)"),{width:72,flex:"0 0 ".concat(72,"px")}),(0,o._)(r,"padding","16px"),(0,o._)(r,"maxHeight","calc(100vh - ".concat(s.uF,"px)")),(0,o._)(r,"overflow","hidden"),r)),p=(0,a.default)("div",{target:"exvoppb3",label:"5e6d46e3--SkeletonItem"})(function(e){return{width:"100%",padding:"16px",background:e.theme.colors.BGPlaceholderDefault,borderRadius:"4px",height:32,margin:"16px 0 0 0",opacity:.8}})},37999:function(e,t,n){"use strict";n.d(t,{H6:function(){return w},K6:function(){return b},N$:function(){return y}});var r=n(5377),o=n(45996),i=n(2787),a=n(40099),s=n(11060),c=n(75431),u=n(12751),l=n(21566),d=n(61735),p=n(17505),f=n(88947),v=n(90160),g=n(31506),h=(0,u.default)("div",{target:"e1pgfmdu0",label:"5e6d46e3--BaseBodyContainer"})(function(e){var t=e.extraTop,n=e.maxWidth,r=e.isHideSideComponent,o=e.width;return{marginTop:r?0:(0,g.$)()+(void 0===t?0:t),display:"flex",width:null!=o?o:"100vw",maxWidth:null!=n?n:v.hj,justifyContent:"space-between",alignSelf:"center",flex:"1 1 auto"}},function(e){var t=e.theme.colors,n=e.backgroundColor;return[{backgroundColor:t.BGPrimary},n&&{backgroundColor:n}]}),m=(0,u.default)(h,{target:"e1pgfmdu1",label:"5e6d46e3--KEPBodyContainer"})({maxWidth:"unset",justifyContent:"start"}),_=(0,u.default)(h,{target:"e1pgfmdu2",label:"5e6d46e3--BusinessSuiteBodyContainer"})({width:"100%"}),y=(0,a.memo)(function(e){var t=(0,s.useLocation)().pathname,n=(0,d.Ig)(),a=(0,p.vYE)().isInNavPhase3,c=h;return(0,f.pz)(t)&&(c=m),n&&(c=_),(0,i.Y)(c,(0,o._)((0,r._)({},e),{backgroundColor:a?l.Tj4.UIPageFlat1:void 0}))}),b=(0,u.default)("div",{target:"e1pgfmdu3",label:"5e6d46e3--DivJotaiDevtoolsWrapper"})({".jotai-devtools-trigger-button":{position:"fixed",borderRadius:"50%",borderWidth:0,width:"4rem",height:"4rem"}}),w=function(e){return(0,c.css)("*[role='button'],*[role='link'],*[role='switch'],*[tabindex],button[aria-label],button[aria-labelledby],button[aria-pressed],button[aria-expanded],button[role='tab'],a[aria-label]{&:focus{outline:none;}&:focus-visible{outline:2px solid ",e,";}},*[role='button'],button[aria-label],button[aria-labelledby],button[aria-pressed],button[aria-expanded]{&:focus-visible{outline-offset:1px;}},li[role='option']{&:focus-visible{outline-style:auto;}}","5e6d46e3--getA11yFocusStyles")}},79887:function(e,t,n){"use strict";n.d(t,{F:function(){return m}});var r=n(48748),o=n(95170),i=n(7120),a=n(72516),s=n(78990),c=n(82379),u=n(69446),l=n(61157),d=n(23999),p=n(19293),f=n(35572),v=n(68710),g=n(68088),h=n(46149),m=function(e){function t(e){var n;return(0,o._)(this,t),(n=(0,r._)(this,t)).service=e,n.defaultState={userSetting:{privateAccount:!1,adAuthorization:!1,proAccountStatus:0,pushSettings:void 0}},n}(0,i._)(t,e);var n=t.prototype;return n.setUserSetting=function(e,t){e.userSetting=t},n.setPrivateAccountStatus=function(e,t){e.userSetting.privateAccount=t},n.getUserSetting=function(e){var t=this;return e.pipe((0,f.p)(function(){return t.service.getUserSetting().pipe((0,v.Z)(function(e){var n=e.settings,r=void 0===n?{}:n,o=r.privateAccount,i=r.adAuthorization,a=r.proAccountStatus,s=r.pushSettings;return(0,d.of)(t.getActions().setUserSetting({privateAccount:void 0!==o&&o,adAuthorization:void 0!==i&&i,proAccountStatus:void 0===a?0:a,pushSettings:s}))}))}))},t}(s.E);(0,a.__decorate)([(0,c.uk)(),(0,a.__metadata)("design:type",void 0===p.c?Object:p.c)],m.prototype,"dispose$",void 0),(0,a.__decorate)([(0,c.h5)(),(0,a.__metadata)("design:type",Function),(0,a.__metadata)("design:paramtypes",[void 0===l.Draft?Object:l.Draft,void 0===h.o?Object:h.o]),(0,a.__metadata)("design:returntype",void 0)],m.prototype,"setUserSetting",null),(0,a.__decorate)([(0,c.h5)(),(0,a.__metadata)("design:type",Function),(0,a.__metadata)("design:paramtypes",[void 0===l.Draft?Object:l.Draft,Boolean]),(0,a.__metadata)("design:returntype",void 0)],m.prototype,"setPrivateAccountStatus",null),(0,a.__decorate)([(0,c.Mj)(),(0,a.__metadata)("design:type",Function),(0,a.__metadata)("design:paramtypes",[void 0===p.c?Object:p.c]),(0,a.__metadata)("design:returntype",void 0)],m.prototype,"getUserSetting",null),m=(0,a.__decorate)([(0,u.n)("SettingModule"),(0,a.__metadata)("design:type",Function),(0,a.__metadata)("design:paramtypes",[void 0===g.q?Object:g.q])],m)},68088:function(e,t,n){"use strict";n.d(t,{q:function(){return c}});var r=n(95170),o=n(72516),i=n(63599),a=n(56904),s=n(96062),c=function(){function e(t){(0,r._)(this,e),this.fetch=t}var t=e.prototype;return t.getUserSetting=function(){return this.fetch.get("/api/user/settings/",{query:{aid:"1988"},baseUrlType:a.Z4.FixedWww})},t.getShowChangeRegion=function(){return this.fetch.get("/tiktok/region/change/status/get/v1",{query:{},baseUrlType:a.Z4.FixedWww})},t.getOrgAccountStatus=function(){return this.fetch.get("/passport/account/info/v2/",{query:{},baseUrlType:a.Z4.FixedWww})},e}();c=(0,o.__decorate)([(0,i._)(),(0,o.__metadata)("design:type",Function),(0,o.__metadata)("design:paramtypes",[void 0===s.p?Object:s.p])],c)},80133:function(e,t,n){"use strict";n.d(t,{J:function(){return K}});var r=n(48748),o=n(95170),i=n(7120),a=n(5377),s=n(45996),c=n(6586),u=n(54333),l=n(72516),d=n(78990),p=n(82379),f=n(69446),v=n(2999),g=n(61157),h=n(23999),m=n(63700),_=n(19293),y=n(35572),b=n(95719),w=n(68710),k=n(74690),P=n(80339),T=n(76435),S=n(20259),E=n(24451),A=n(82970),L=n(57007),C=n(9659),O=n(69372),I=n(53975),x=n(36075),N=n(39825),D=n(8561),M=n(82643),R=n(35702),j=n(62481),U=n(79887),F=n(68088),B=n(46149),H=n(15080),Y=n(35383),V=n(63599),q=n(56904),G=n(96062),W=function(){function e(t){(0,o._)(this,e),this.fetch=t}var t=e.prototype;return t.commitUserSetting=function(e,t){return this.fetch.post("/api/privacy/user/private_account/update/v1",{query:(0,s._)((0,a._)({},e),{tt_csrf_token:this.fetch.csrfToken}),headers:(0,Y._)({},q.nk,this.fetch.csrfToken),body:t,baseUrlType:q.Z4.FixedWww})},t.getComplianceSetting=function(){return this.fetch.get("/api/compliance/settings/",{baseUrlType:q.Z4.FixedWww})},t.getBlockList=function(e){return this.fetch.get("/api/block/user_list/",{query:{offset:e,count:20},baseUrlType:q.Z4.FixedWww})},t.getRestrictionSetting=function(){return this.fetch.get("/api/privacy/setting/restriction/v1/",{baseUrlType:q.Z4.FixedWww})},t.getPrivacyEffectedCountSetting=function(){return this.fetch.get("/api/privacy/user/effected_count/v1",{baseUrlType:q.Z4.FixedWww})},e}();W=(0,l.__decorate)([(0,V._)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===G.p?Object:G.p])],W);var z=n(62700),K=function(e){function t(e,n,i,a,s){var c;return(0,o._)(this,t),(c=(0,r._)(this,t)).service=e,c.user=n,c.settingModule=i,c.settingService=a,c.t=s,c.defaultState={statusCode:L.s.Ok,loading:!1,initialized:!1,complianceDisable:!1,complianceFamily:!1,complianceSettingStatusCode:L.s.Ok,privacyBCLimitModalOn:!1,privacyOffConfirmModalOn:!1,privacyOnAlertModalOn:!1,privacyEndLiveModalOn:!1,privacyAccountPromptConfig:{variant:null,showNewPrompt:!1,selectPrivateByDefault:!0},blockList:{list:[],hasMore:!0,offset:"0",loading:!1},isBlockLoading:!1,isChangeRegionEnabled:!1,regionStatus:"",storeRegion:"",regionName:"",restrictionSetting:void 0,effectedCount:void 0,isPrivacyAccount:!1,isNonEditableRegion:!1,isOrgAccount:!1},c}(0,i._)(t,e);var n=t.prototype;return n.setLoading=function(e,t){e.loading=t.loading},n.setStatusCode=function(e,t){e.statusCode=t.statusCode},n.setComplianceStatusCode=function(e,t){e.complianceSettingStatusCode=t.complianceSettingStatusCode},n.setComplianceDisable=function(e,t){e.complianceDisable=t},n.setComplianceFamily=function(e,t){e.complianceFamily=t},n.setPrivacyAccountPromptConfig=function(e,t){e.privacyAccountPromptConfig=t},n.setPrivacyRestrictionConfig=function(e,t){e.restrictionSetting=t},n.setPrivacyEffectCount=function(e,t){e.effectedCount=t},n.setInitialized=function(e,t){e.initialized=t},n.setPrivacyBCLimitModalOn=function(e,t){e.privacyBCLimitModalOn=t},n.setPrivacyOffConfirmModalOn=function(e,t){e.privacyOffConfirmModalOn=t},n.setPrivacyOnAlertModalOn=function(e,t){e.privacyOnAlertModalOn=t},n.setPrivacyEndLiveModalOn=function(e,t){e.privacyEndLiveModalOn=t},n.setBlockList=function(e,t){var n=t.list,r=t.offset,o=t.hasMore,i=t.loading,a=e.blockList.list,s=n.filter(function(e){return -1===a.indexOf(e)});e.blockList={list:(0,u._)(a).concat((0,u._)(s)),offset:r,hasMore:o,loading:i}},n.setBlockListLoading=function(e,t){e.blockList.loading=t},n.setIsBlockLoading=function(e,t){e.isBlockLoading=t},n.setIsChangeRegionEnabled=function(e,t){e.isChangeRegionEnabled=t},n.setRegionStatus=function(e,t){e.regionStatus=t},n.setStoreRegion=function(e,t){e.storeRegion=t},n.setRegionName=function(e,t){e.regionName=t},n.setIsPrivacyAccount=function(e,t){e.isPrivacyAccount=t},n.setIsNonEditableRegion=function(e,t){e.isNonEditableRegion=t},n.setIsOrgAccount=function(e,t){e.isOrgAccount=t},n.postCommitChangePrivacySetting=function(e){var t=this;return e.pipe((0,y.p)(function(e){var n=e.query,r=e.data,o=e.status;return t.service.commitUserSetting(n,r).pipe((0,b.M)(function(e){(null==e?void 0:e.status_code)===L.s.PrivateAccountLimitByBC?console.warn("bc limit"):(null==e?void 0:e.status_code)===L.s.PnsPnsPrivateAccountLimitByLiveOn?(console.warn("live on limit"),M.X.handleShowLiveChangePrivacyAccountPopUp()):(null==e?void 0:e.status_code)===L.s.Ok?(R.F.destroy(),R.F.open({content:t.t("settings_updated"),duration:3,type:"success",widthType:"half"}),M.X.handlePrivateAccountChange(o),"1"===n.value?j.Wk.reportCUJ(z.c.CONVERT_TO_PRIVATE_ACCOUNT,j.PY.FINISH):j.Wk.reportCUJ(z.c.CONVERT_TO_PUBLIC_ACCOUNT,j.PY.FINISH)):(R.F.destroy(),R.F.open({content:(null==e?void 0:e.status_msg)||t.t("server_error_title"),duration:3,type:"fail",widthType:"half"}),"1"===n.value?j.Wk.reportCUJ(z.c.CONVERT_TO_PRIVATE_ACCOUNT,j.PY.FAILURE):j.Wk.reportCUJ(z.c.CONVERT_TO_PUBLIC_ACCOUNT,j.PY.FAILURE))}),(0,w.Z)(function(e){var n=[t.getActions().setLoading({loading:!1}),t.getActions().setStatusCode({statusCode:null==e?void 0:e.status_code})];return(null==e?void 0:e.status_code)===L.s.PrivateAccountLimitByBC?n.push(t.getActions().setPrivacyBCLimitModalOn(!0)):(null==e?void 0:e.status_code)===L.s.PnsPnsPrivateAccountLimitByLiveOn?n.push(t.getActions().setPrivacyEndLiveModalOn(!0)):(null==e?void 0:e.status_code)===L.s.Ok&&(n.push(t.settingModule.getActions().setPrivateAccountStatus(o)),n.push(t.getActions().setIsPrivacyAccount(o))),h.of.apply(void 0,(0,u._)(n))}),(0,k.Z)(t.getActions().setLoading({loading:!0})),(0,P.q)(t.getActions().setLoading({loading:!1})),(0,T.Q)(t.dispose$),(0,S.W)(function(){return R.F.destroy(),R.F.open({content:t.t("server_error_title"),duration:3,type:"fail",widthType:"half"}),"1"===n.value?j.Wk.reportCUJ(z.c.CONVERT_TO_PRIVATE_ACCOUNT,j.PY.FAILURE):j.Wk.reportCUJ(z.c.CONVERT_TO_PUBLIC_ACCOUNT,j.PY.FAILURE),(0,h.of)(t.getActions().setLoading({loading:!1}),t.getActions().setStatusCode({statusCode:L.s.UnknownError}))}))}))},n.getUserSetting=function(e){var t=this;return e.pipe((0,y.p)(function(e){var n=e.callback,r=e.switchStatus;return t.settingService.getUserSetting().pipe((0,w.Z)(function(e){var o=e.settings,i=void 0===o?{}:o,a=i.privateAccount,s=void 0!==a&&a,c=i.adAuthorization,l=i.proAccountStatus,d=i.pushSettings,p=[t.settingModule.getActions().setUserSetting({privateAccount:s,adAuthorization:void 0!==c&&c,proAccountStatus:void 0===l?0:l,pushSettings:d}),t.getActions().setInitialized(!0)];return null==n||n(r,s,t.state.complianceFamily,(0,H.f)(i),t.state.complianceDisable),h.of.apply(void 0,(0,u._)(p))}))}))},n.getShowRegionChangeSetting=function(e){var t=this;return e.pipe((0,E.E)(this.settingModule.state$),(0,y.p)(function(){return t.settingService.getShowChangeRegion().pipe((0,b.M)(function(e){e.status_code!==L.s.Ok&&console.error("get region change setting error: ",e.status_code)}),(0,w.Z)(function(e){var n,r,o,i=null!=(n=e.is_change_region_enabled)&&n,a=e.localized_country||"",s=null!=(r=e.status_event)?r:"",c=null!=(o=e.region_name)?o:"",u="whitelist_country"===e.status_event;return(0,h.of)(t.getActions().setIsChangeRegionEnabled(i),t.getActions().setRegionStatus(s),t.getActions().setStoreRegion(a),t.getActions().setRegionName(c),t.getActions().setIsNonEditableRegion(u))}),(0,C.n)({}))}))},n.getComplianceSetting=function(e){var t=this;return e.pipe((0,E.E)(this.settingModule.state$),(0,y.p)(function(e){var n=(0,c._)(e,2),r=n[0],o=r.switchStatus,i=r.user,a=r.callback,s=n[1];return t.service.getComplianceSetting().pipe((0,b.M)(function(e){(null==e?void 0:e.status_code)!==L.s.Ok&&console.error("get compliance setting error: ",null==e?void 0:e.status_code)}),(0,w.Z)(function(e){var n=null==e?void 0:e.status_code,r=[t.getActions().setComplianceStatusCode({complianceSettingStatusCode:null==e?void 0:e.status_code})];if(n!==L.s.Ok)c=h.of.apply(void 0,(0,u._)(r).concat([t.getActions().setComplianceDisable(!1)]));else{var c,l,d,p,f,v,g,_,y,b=null==e||null==(p=e.private_settings)||null==(d=p.account)||null==(l=d.private_account)?void 0:l.show_type,w=null==(_=(null!=(y=null==e||null==(g=e.private_settings)||null==(v=g.account)||null==(f=v.private_account)?void 0:f.values)?y:[]).find(function(e){return 0===e.value}))?void 0:_.res_type,k=(0,O.pn)(null==e?void 0:e.private_account_prompt,null==e?void 0:e.private_account_prompt_type);c=(0,m.h)(h.of.apply(void 0,(0,u._)(r).concat([t.getActions().setComplianceFamily(2===w),t.getActions().setComplianceDisable(0!==b),t.getActions().setPrivacyAccountPromptConfig({variant:k.privacyAccountPromptVariant,showNewPrompt:k.showNewPrompt,selectPrivateByDefault:void 0!==e.private_account_prompt&&8!==e.private_account_prompt})])),t.getUserSetting((0,h.of)({switchStatus:o,callback:a})))}return c.pipe((0,T.Q)(t.dispose$),(0,S.W)(function(){var e;return R.F.destroy(),R.F.open({content:t.t("server_error_title"),duration:3,widthType:"half"}),(0,h.of)(t.getActions().setComplianceStatusCode({complianceSettingStatusCode:L.s.UnknownError}),t.settingModule.getActions().setUserSetting({privateAccount:null!=(e=null==i?void 0:i.isPrivateAccount)&&e,adAuthorization:s.userSetting.adAuthorization,proAccountStatus:s.userSetting.proAccountStatus}))}))}))}))},n.getBlockList=function(e){var t=this;return e.pipe((0,y.p)(function(e){var n=e.offset;return t.service.getBlockList(void 0===n?"0":n).pipe((0,y.p)(function(e){var n=e.userList,r=void 0===n?[]:n,o=e.offset,i=e.hasMore,c=r.map(function(e){return e.user.uniqueId});return(0,h.of)(t.getActions().setBlockList({list:c,hasMore:i,offset:o,loading:!1}),t.user.getActions().multiSetUser(r.map(function(e){var t=e.user;return(0,s._)((0,a._)({},t),{relation:D.yf.BLOCK})})),t.user.getActions().multiSetUserStats(r.map(function(e){var t=e.user,n=e.stats;return{uniqueId:t.uniqueId,stats:n}})))}),(0,k.Z)(t.getActions().setBlockListLoading(!0)))}))},n.getRestrictionAndEffectedCountSettings=function(e){var t=this;return e.pipe((0,y.p)(function(){return(0,A.z)([t.service.getRestrictionSetting(),t.service.getPrivacyEffectedCountSetting()]).pipe((0,b.M)(function(e){var t=(0,c._)(e,2),n=t[0],r=t[1];(null==n?void 0:n.status_code)!==L.s.Ok&&console.error("get restriction setting error: ",null==n?void 0:n.status_code),(null==r?void 0:r.status_code)!==L.s.Ok&&console.error("get effected count error: ",null==r?void 0:r.status_code)}),(0,w.Z)(function(e){var n,r,o,i,a,s,u,l,d,p,f,v,g,m,_,y,b,w,k,P,T,S,E,A,L,C,O,I,x=(0,c._)(e,2),N=x[0],D=x[1];return(0,h.of)(t.getActions().setPrivacyRestrictionConfig(N),t.getActions().setIsPrivacyAccount((null==N||null==(n=N.privacy_settings)?void 0:n.private_account)===1),t.getActions().setPrivacyEffectCount({download:{control:Number(null!=(w=null==D||null==(r=D.no_pa_control_settings)?void 0:r.download)?w:-1)},stitch:{control:Number(null!=(k=null==D||null==(o=D.no_pa_control_settings)?void 0:o.stitch)?k:0),onCount:Number(null!=(P=null==D||null==(a=D.interaction_video_count)||null==(i=a.stitch)?void 0:i.video_on_count)?P:0),offCount:Number(null!=(T=null==D||null==(u=D.interaction_video_count)||null==(s=u.stitch)?void 0:s.video_off_count)?T:0)},duet:{control:Number(null!=(S=null==D||null==(l=D.no_pa_control_settings)?void 0:l.duet)?S:0),onCount:Number(null!=(E=null==D||null==(p=D.interaction_video_count)||null==(d=p.duet)?void 0:d.video_on_count)?E:0),offCount:Number(null!=(A=null==D||null==(v=D.interaction_video_count)||null==(f=v.duet)?void 0:f.video_off_count)?A:0)},reuse:{control:Number(null!=(L=null==D||null==(g=D.no_pa_control_settings)?void 0:g.content_reuse_permission)?L:-1),onCount:Number(null!=(C=null==D||null==(_=D.interaction_video_count)||null==(m=_.content_reuse_permission)?void 0:m.video_on_count)?C:0),offCount:Number(null!=(O=null==D||null==(b=D.interaction_video_count)||null==(y=b.content_reuse_permission)?void 0:y.video_off_count)?O:0)},permissionInfoLimit:!!(null!=(I=null==D?void 0:D.remove_reuse_download_reminder)&&I)}))}))}))},n.getOrgAccountStatus=function(e){var t=this;return e.pipe((0,E.E)(this.settingModule.state$),(0,y.p)(function(){return t.settingService.getOrgAccountStatus().pipe((0,b.M)(function(e){if("success"!==e.message){var t;console.error("get region change setting error: ",null==(t=e.data)?void 0:t.description)}}),(0,w.Z)(function(e){var n,r=null!=(n=e.data.is_org_tt_account)&&n;return(0,h.of)(t.getActions().setIsOrgAccount(r))}),(0,C.n)({}))}))},t}(d.E);(0,l.__decorate)([(0,p.uk)(),(0,l.__metadata)("design:type",void 0===_.c?Object:_.c)],K.prototype,"dispose$",void 0),(0,l.__decorate)([(0,p.h5)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===g.Draft?Object:g.Draft,Object]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"setLoading",null),(0,l.__decorate)([(0,p.h5)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===g.Draft?Object:g.Draft,Object]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"setStatusCode",null),(0,l.__decorate)([(0,p.h5)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===g.Draft?Object:g.Draft,Object]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"setComplianceStatusCode",null),(0,l.__decorate)([(0,p.h5)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===g.Draft?Object:g.Draft,Boolean]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"setComplianceDisable",null),(0,l.__decorate)([(0,p.h5)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===g.Draft?Object:g.Draft,Boolean]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"setComplianceFamily",null),(0,l.__decorate)([(0,p.h5)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===g.Draft?Object:g.Draft,Object]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"setPrivacyAccountPromptConfig",null),(0,l.__decorate)([(0,p.h5)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===g.Draft?Object:g.Draft,void 0===B.v?Object:B.v]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"setPrivacyRestrictionConfig",null),(0,l.__decorate)([(0,p.h5)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===g.Draft?Object:g.Draft,"undefined"==typeof EffectedCountStruct?Object:EffectedCountStruct]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"setPrivacyEffectCount",null),(0,l.__decorate)([(0,p.h5)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===g.Draft?Object:g.Draft,Boolean]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"setInitialized",null),(0,l.__decorate)([(0,p.h5)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===g.Draft?Object:g.Draft,Boolean]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"setPrivacyBCLimitModalOn",null),(0,l.__decorate)([(0,p.h5)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===g.Draft?Object:g.Draft,Boolean]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"setPrivacyOffConfirmModalOn",null),(0,l.__decorate)([(0,p.h5)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===g.Draft?Object:g.Draft,Boolean]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"setPrivacyOnAlertModalOn",null),(0,l.__decorate)([(0,p.h5)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===g.Draft?Object:g.Draft,Boolean]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"setPrivacyEndLiveModalOn",null),(0,l.__decorate)([(0,p.h5)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===g.Draft?Object:g.Draft,"undefined"==typeof BlockList?Object:BlockList]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"setBlockList",null),(0,l.__decorate)([(0,p.h5)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===g.Draft?Object:g.Draft,Boolean]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"setBlockListLoading",null),(0,l.__decorate)([(0,p.h5)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===g.Draft?Object:g.Draft,Boolean]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"setIsBlockLoading",null),(0,l.__decorate)([(0,p.h5)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===g.Draft?Object:g.Draft,Boolean]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"setIsChangeRegionEnabled",null),(0,l.__decorate)([(0,p.h5)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===g.Draft?Object:g.Draft,String]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"setRegionStatus",null),(0,l.__decorate)([(0,p.h5)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===g.Draft?Object:g.Draft,String]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"setStoreRegion",null),(0,l.__decorate)([(0,p.h5)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===g.Draft?Object:g.Draft,String]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"setRegionName",null),(0,l.__decorate)([(0,p.h5)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===g.Draft?Object:g.Draft,Boolean]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"setIsPrivacyAccount",null),(0,l.__decorate)([(0,p.h5)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===g.Draft?Object:g.Draft,Boolean]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"setIsNonEditableRegion",null),(0,l.__decorate)([(0,p.h5)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===g.Draft?Object:g.Draft,Boolean]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"setIsOrgAccount",null),(0,l.__decorate)([(0,p.Mj)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===_.c?Object:_.c]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"postCommitChangePrivacySetting",null),(0,l.__decorate)([(0,p.Mj)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===_.c?Object:_.c]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"getUserSetting",null),(0,l.__decorate)([(0,p.Mj)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===_.c?Object:_.c]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"getShowRegionChangeSetting",null),(0,l.__decorate)([(0,p.Mj)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===_.c?Object:_.c]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"getComplianceSetting",null),(0,l.__decorate)([(0,p.Mj)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===_.c?Object:_.c]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"getBlockList",null),(0,l.__decorate)([(0,p.Mj)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===_.c?Object:_.c]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"getRestrictionAndEffectedCountSettings",null),(0,l.__decorate)([(0,p.Mj)(),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===_.c?Object:_.c]),(0,l.__metadata)("design:returntype",void 0)],K.prototype,"getOrgAccountStatus",null),K=(0,l.__decorate)([(0,f.n)("SettingPrivacy"),(0,l.__param)(4,(0,v.y)(I.hp)),(0,l.__metadata)("design:type",Function),(0,l.__metadata)("design:paramtypes",[void 0===W?Object:W,void 0===x.U?Object:x.U,void 0===U.F?Object:U.F,void 0===F.q?Object:F.q,void 0===N.I18NTranslate?Object:N.I18NTranslate])],K)},46149:function(){},15080:function(e,t,n){"use strict";n.d(t,{E:function(){return i},f:function(){return o}});var r=n(44805),o=function(e){var t=e.adAuthorization;return 3===e.proAccountStatus?"BA":t?"AD":"NONE"},i=function(){return r.FCM.isAvailable()&&"Notification"in window}},65517:function(e,t,n){"use strict";n.d(t,{j:function(){return r}});var r=(0,n(55169).Ay)({resolved:{},chunkName:function(){return"stories-player"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("96821"),n.e("41685"),n.e("84673"),n.e("20853"),n.e("17214"),n.e("34807"),n.e("83959"),n.e("71522"),n.e("11054"),n.e("60248"),n.e("85820"),n.e("98905"),n.e("67366"),n.e("89650"),n.e("32814"),n.e("51647"),n.e("43261"),n.e("97775"),n.e("71494"),n.e("5244"),n.e("42271"),n.e("52471"),n.e("53437"),n.e("42081")]).then(n.bind(n,70701))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 70701}})},13741:function(e,t,n){"use strict";n.d(t,{MM:function(){return r}});var r=(0,n(47236).Ay)({resolved:{},chunkName:function(){return"challenge"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("20853"),n.e("11482"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("85820"),n.e("98905"),n.e("67366"),n.e("87051"),n.e("89650"),n.e("51647"),n.e("65537"),n.e("16298"),n.e("43261"),n.e("76378"),n.e("23012"),n.e("21477"),n.e("41783")]).then(n.bind(n,10068))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 10068}})},31175:function(e,t,n){"use strict";n.d(t,{c3:function(){return r}});var r=(0,n(47236).Ay)({resolved:{},chunkName:function(){return"channel"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("96821"),n.e("41685"),n.e("84673"),n.e("20853"),n.e("79447"),n.e("56376"),n.e("2536"),n.e("70084"),n.e("48462"),n.e("99693"),n.e("71522"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("85820"),n.e("98905"),n.e("67366"),n.e("52861"),n.e("87051"),n.e("89650"),n.e("32814"),n.e("51647"),n.e("89828"),n.e("4722"),n.e("65537"),n.e("16298"),n.e("32132"),n.e("76378"),n.e("76251"),n.e("28303"),n.e("39444"),n.e("237")]).then(n.bind(n,48181))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 48181}})},57264:function(e,t,n){"use strict";n.d(t,{pM:function(){return r}});var r=(0,n(47236).Ay)({resolved:{},chunkName:function(){return"collection"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("20853"),n.e("49210"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("85820"),n.e("98905"),n.e("67366"),n.e("87051"),n.e("89650"),n.e("51647"),n.e("65537"),n.e("16298"),n.e("87758"),n.e("15728")]).then(n.bind(n,19637))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 19637}})},51983:function(e,t,n){"use strict";n.d(t,{w:function(){return r}});var r=(0,n(47236).Ay)({resolved:{},chunkName:function(){return"discover"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("20853"),n.e("40886"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("85820"),n.e("98905"),n.e("67366"),n.e("87051"),n.e("89650"),n.e("65537"),n.e("16298"),n.e("67239")]).then(n.bind(n,36480))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 36480}})},8226:function(e,t,n){"use strict";n.d(t,{W:function(){return r}});var r=(0,n(47236).Ay)({resolved:{},chunkName:function(){return"download-video"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("49871"),n.e("20853"),n.e("99693"),n.e("70463"),n.e("21785"),n.e("49352"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("85820"),n.e("98905"),n.e("67366"),n.e("87051"),n.e("89650"),n.e("32814"),n.e("51647"),n.e("4722"),n.e("28303"),n.e("59503"),n.e("19934"),n.e("26518")]).then(n.bind(n,61433))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 61433}})},27064:function(e,t,n){"use strict";n.d(t,{f5:function(){return c}});var r=n(2787),o=n(11060),i=n(47236),a=(0,i.Ay)({resolved:{},chunkName:function(){return"download"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("70463"),n.e("21785"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("83416")]).then(n.bind(n,46304))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 46304}}),s=(0,i.Ay)({resolved:{},chunkName:function(){return"redesign-download-redesign"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("46063"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("10722")]).then(n.bind(n,82366))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 82366}}),c=function(){return new URLSearchParams((0,o.useLocation)().search).has("redesign")?(0,r.Y)(s,{}):(0,r.Y)(a,{})}},26601:function(e,t,n){"use strict";n.d(t,{M:function(){return r}});var r=(0,n(47236).Ay)({resolved:{},chunkName:function(){return"effect"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("41685"),n.e("20853"),n.e("70018"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("85820"),n.e("98905"),n.e("67366"),n.e("87051"),n.e("89650"),n.e("51647"),n.e("65537"),n.e("16298"),n.e("43261"),n.e("76378"),n.e("23012"),n.e("21477"),n.e("18055"),n.e("84093")]).then(n.bind(n,53021))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 53021}})},40287:function(e,t,n){"use strict";n.d(t,{K:function(){return r}});var r=(0,n(47236).Ay)({resolved:{},chunkName:function(){return"explore"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("41685"),n.e("84673"),n.e("20853"),n.e("17214"),n.e("29332"),n.e("71522"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("85820"),n.e("98905"),n.e("67366"),n.e("87051"),n.e("89650"),n.e("51647"),n.e("65537"),n.e("16298"),n.e("43261"),n.e("76378"),n.e("23012"),n.e("21477"),n.e("54852"),n.e("29157")]).then(n.bind(n,48963))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 48963}})},69761:function(e,t,n){"use strict";n.d(t,{G:function(){return o},S:function(){return i}});var r=n(47236),o=(0,r.Ay)({resolved:{},chunkName:function(){return"faq"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("20853"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("84879"),n.e("65642")]).then(n.bind(n,17600))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 17600}}),i=(0,r.Ay)({resolved:{},chunkName:function(){return"report"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("41685"),n.e("84673"),n.e("20853"),n.e("79447"),n.e("56376"),n.e("74664"),n.e("71522"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("98905"),n.e("52861"),n.e("89828"),n.e("84879"),n.e("23322")]).then(n.bind(n,84470))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 84470}})},83623:function(e,t,n){"use strict";n.d(t,{ko:function(){return r}});var r=(0,n(47236).Ay)({resolved:{},chunkName:function(){return"find"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("96821"),n.e("41685"),n.e("84673"),n.e("20853"),n.e("79447"),n.e("56376"),n.e("2536"),n.e("70084"),n.e("48462"),n.e("99693"),n.e("71522"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("85820"),n.e("98905"),n.e("67366"),n.e("52861"),n.e("87051"),n.e("89650"),n.e("32814"),n.e("51647"),n.e("89828"),n.e("4722"),n.e("65537"),n.e("16298"),n.e("32132"),n.e("76378"),n.e("76251"),n.e("28303"),n.e("39444"),n.e("59503"),n.e("53570"),n.e("92275")]).then(n.bind(n,81540))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 81540}})},28331:function(e,t,n){"use strict";n.d(t,{oF:function(){return r}});var r=(0,n(47236).Ay)({resolved:{},chunkName:function(){return"following"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("96821"),n.e("20853"),n.e("17214"),n.e("63141"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("85820"),n.e("98905"),n.e("67366"),n.e("87051"),n.e("89650"),n.e("32814"),n.e("51647"),n.e("65537"),n.e("16298"),n.e("43261"),n.e("23012"),n.e("98778"),n.e("97775"),n.e("71494"),n.e("42271"),n.e("52471"),n.e("52748"),n.e("84363"),n.e("43057"),n.e("28225")]).then(n.bind(n,16651))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 16651}})},34654:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});var r=(0,n(55169).Ay)({resolved:{},chunkName:function(){return"foryou.islands"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("96821"),n.e("20853"),n.e("17214"),n.e("63141"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("85820"),n.e("98905"),n.e("67366"),n.e("87051"),n.e("89650"),n.e("32814"),n.e("65537"),n.e("16298"),n.e("43261"),n.e("23012"),n.e("98778"),n.e("97775"),n.e("71494"),n.e("42271"),n.e("52471"),n.e("52748"),n.e("84363"),n.e("43057"),n.e("12022")]).then(n.bind(n,44070))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 44070}},{})},23537:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});var r=(0,n(47236).Ay)({resolved:{},chunkName:function(){return"friends"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("96821"),n.e("20853"),n.e("17214"),n.e("63141"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("85820"),n.e("98905"),n.e("67366"),n.e("87051"),n.e("89650"),n.e("32814"),n.e("51647"),n.e("65537"),n.e("16298"),n.e("43261"),n.e("23012"),n.e("98778"),n.e("97775"),n.e("71494"),n.e("42271"),n.e("52471"),n.e("52748"),n.e("84363"),n.e("43057"),n.e("70835")]).then(n.bind(n,48315))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 48315}})},23600:function(e,t,n){"use strict";n.d(t,{v:function(){return a}});var r=n(47236),o=n(4601),i=(0,r.Ay)({resolved:{},chunkName:function(){return"kap"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("20853"),n.e("99693"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("85820"),n.e("98905"),n.e("67366"),n.e("87051"),n.e("89650"),n.e("32814"),n.e("51647"),n.e("4722"),n.e("28303"),n.e("59503"),n.e("19934"),n.e("5186")]).then(n.bind(n,86077))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 86077}}),a=(0,o.F)(i)},32932:function(e,t,n){"use strict";n.d(t,{M:function(){return r}});var r=(0,n(47236).Ay)({resolved:{},chunkName:function(){return"kep"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("96821"),n.e("41685"),n.e("84673"),n.e("20853"),n.e("79447"),n.e("56376"),n.e("2536"),n.e("70084"),n.e("48462"),n.e("99693"),n.e("71522"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("85820"),n.e("98905"),n.e("67366"),n.e("52861"),n.e("87051"),n.e("89650"),n.e("32814"),n.e("51647"),n.e("89828"),n.e("4722"),n.e("65537"),n.e("16298"),n.e("32132"),n.e("76378"),n.e("76251"),n.e("28303"),n.e("39444"),n.e("59503"),n.e("53570"),n.e("11526")]).then(n.bind(n,29512))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 29512}})},52228:function(e,t,n){"use strict";n.d(t,{B:function(){return r}});var r=(0,n(47236).Ay)({resolved:{},chunkName:function(){return"messages"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("96821"),n.e("41685"),n.e("84673"),n.e("20853"),n.e("79447"),n.e("56376"),n.e("34807"),n.e("95056"),n.e("71522"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("85820"),n.e("98905"),n.e("67366"),n.e("52861"),n.e("87051"),n.e("89650"),n.e("65537"),n.e("16298"),n.e("97775"),n.e("5244"),n.e("82205"),n.e("20486"),n.e("63348")]).then(n.bind(n,54590))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 54590}})},41171:function(e,t,n){"use strict";n.d(t,{Mj:function(){return r}});var r=(0,n(47236).Ay)({resolved:{},chunkName:function(){return"music"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("20853"),n.e("40886"),n.e("37307"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("85820"),n.e("98905"),n.e("67366"),n.e("87051"),n.e("89650"),n.e("51647"),n.e("65537"),n.e("16298"),n.e("32132"),n.e("43261"),n.e("76378"),n.e("23012"),n.e("21477"),n.e("25405")]).then(n.bind(n,92624))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 92624}})},2681:function(e,t,n){"use strict";n.d(t,{G:function(){return r}});var r=(0,n(47236).Ay)({resolved:{},chunkName:function(){return"oauth-spotify"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return n.e("93122").then(n.bind(n,66040))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 66040}})},44682:function(e,t,n){"use strict";n.d(t,{N:function(){return r}});var r=(0,n(47236).Ay)({resolved:{},chunkName:function(){return"playlist"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("20853"),n.e("40886"),n.e("36200"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("85820"),n.e("98905"),n.e("67366"),n.e("87051"),n.e("89650"),n.e("51647"),n.e("65537"),n.e("16298"),n.e("56634")]).then(n.bind(n,46995))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 46995}})},82055:function(e,t,n){"use strict";n.d(t,{ve:function(){return r}});var r=(0,n(47236).Ay)({resolved:{},chunkName:function(){return"poi-category"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("96821"),n.e("41685"),n.e("84673"),n.e("20853"),n.e("79447"),n.e("56376"),n.e("2536"),n.e("70084"),n.e("48462"),n.e("2266"),n.e("71522"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("85820"),n.e("98905"),n.e("67366"),n.e("52861"),n.e("87051"),n.e("89650"),n.e("32814"),n.e("51647"),n.e("89828"),n.e("4722"),n.e("65537"),n.e("16298"),n.e("32132"),n.e("76378"),n.e("76251"),n.e("28303"),n.e("39444"),n.e("52899")]).then(n.bind(n,80287))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 80287}})},1164:function(e,t,n){"use strict";n.d(t,{pB:function(){return r}});var r=(0,n(47236).Ay)({resolved:{},chunkName:function(){return"poi"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("20853"),n.e("11054"),n.e("60248"),n.e("85820"),n.e("98905"),n.e("67366"),n.e("87051"),n.e("89650"),n.e("65537"),n.e("16298"),n.e("15814"),n.e("99770")]).then(n.bind(n,68698))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 68698}})},15064:function(e,t,n){"use strict";n.d(t,{vN:function(){return r}});var r=(0,n(47236).Ay)({resolved:{},chunkName:function(){return"question"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("20853"),n.e("5404"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("85820"),n.e("98905"),n.e("67366"),n.e("87051"),n.e("89650"),n.e("51647"),n.e("65537"),n.e("16298"),n.e("43261"),n.e("76378"),n.e("23012"),n.e("21477"),n.e("87758"),n.e("52036")]).then(n.bind(n,52627))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 52627}})},77960:function(e,t,n){"use strict";n.d(t,{v:function(){return r}});var r=(0,n(47236).Ay)({resolved:{},chunkName:function(){return"search"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("41685"),n.e("84673"),n.e("20853"),n.e("79447"),n.e("56376"),n.e("70084"),n.e("65514"),n.e("37869"),n.e("22908"),n.e("71522"),n.e("11054"),n.e("60248"),n.e("85820"),n.e("98905"),n.e("67366"),n.e("52861"),n.e("87051"),n.e("89650"),n.e("89828"),n.e("65537"),n.e("16298"),n.e("43261"),n.e("76378"),n.e("23012"),n.e("21477"),n.e("63716"),n.e("88098"),n.e("62477"),n.e("22677"),n.e("16328")]).then(n.bind(n,79633))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 79633}})},62700:function(e,t,n){"use strict";n.d(t,{c:function(){return r}});var r={CONVERT_TO_PUBLIC_ACCOUNT:"convert_to_public_account",CONVERT_TO_PRIVATE_ACCOUNT:"convert_to_private_account"}},12820:function(e,t,n){"use strict";n.d(t,{B:function(){return r}});var r=(0,n(47236).Ay)({resolved:{},chunkName:function(){return"setting"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("41685"),n.e("84673"),n.e("97556"),n.e("56974"),n.e("57409"),n.e("52763"),n.e("10879"),n.e("23444"),n.e("71522"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("87417"),n.e("82533"),n.e("61069"),n.e("12491"),n.e("13427"),n.e("74266")]).then(n.bind(n,69722))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 69722}})},5943:function(e,t,n){"use strict";n.d(t,{n:function(){return r}});var r=(0,n(47236).Ay)({resolved:{},chunkName:function(){return"topics"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("96821"),n.e("20853"),n.e("17214"),n.e("63141"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("85820"),n.e("98905"),n.e("67366"),n.e("87051"),n.e("89650"),n.e("32814"),n.e("65537"),n.e("16298"),n.e("43261"),n.e("23012"),n.e("98778"),n.e("97775"),n.e("71494"),n.e("42271"),n.e("52471"),n.e("52748"),n.e("84363"),n.e("43057"),n.e("62300"),n.e("75860")]).then(n.bind(n,87765))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 87765}},{resolveComponent:function(e){return e.Topics}})},80348:function(e,t,n){"use strict";n.d(t,{JC:function(){return r}});var r=(0,n(47236).Ay)({resolved:{},chunkName:function(){return"travel"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("20853"),n.e("11054"),n.e("60248"),n.e("85820"),n.e("98905"),n.e("67366"),n.e("87051"),n.e("89650"),n.e("65537"),n.e("16298"),n.e("15814"),n.e("49816")]).then(n.bind(n,60885))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 60885}})},8547:function(e,t,n){"use strict";n.d(t,{_:function(){return r}});var r=(0,n(47236).Ay)({resolved:{},chunkName:function(){return"upload"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("41685"),n.e("84673"),n.e("71522"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("74314"),n.e("31109")]).then(n.bind(n,26083))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 26083}})},47599:function(e,t,n){"use strict";n.d(t,{KJ:function(){return r}});var r=(0,n(55169).Ay)({resolved:{},chunkName:function(){return"user"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("96821"),n.e("41685"),n.e("84673"),n.e("20853"),n.e("34807"),n.e("56974"),n.e("29332"),n.e("55299"),n.e("71522"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("85820"),n.e("98905"),n.e("67366"),n.e("87051"),n.e("89650"),n.e("51647"),n.e("65537"),n.e("16298"),n.e("43261"),n.e("76378"),n.e("23012"),n.e("97775"),n.e("21477"),n.e("5244"),n.e("87417"),n.e("87758"),n.e("76328"),n.e("54852"),n.e("78603")]).then(n.bind(n,88652))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 88652}})},27688:function(e,t,n){"use strict";n.d(t,{UC:function(){return r}});var r=(0,n(47236).Ay)({resolved:{},chunkName:function(){return"video-playlist"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("77877"),n.e("96821"),n.e("41685"),n.e("20853"),n.e("2536"),n.e("97965"),n.e("93833"),n.e("11054"),n.e("60248"),n.e("4004"),n.e("85820"),n.e("98905"),n.e("67366"),n.e("87051"),n.e("89650"),n.e("32814"),n.e("51647"),n.e("4722"),n.e("65537"),n.e("16298"),n.e("87758"),n.e("32582"),n.e("18708")]).then(n.bind(n,99554))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 99554}})},38459:function(e,t,n){"use strict";n.d(t,{C:function(){return r}});var r=(0,n(47236).Ay)({resolved:{},chunkName:function(){return"video"},isReady:function(e){var t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:function(){return Promise.all([n.e("11054"),n.e("60248"),n.e("4004"),n.e("89650"),n.e("52471"),n.e("72437")]).then(n.bind(n,52324))},requireAsync:function(e){var t=this,n=this.resolve(e);return this.resolved[n]=!1,this.importAsync(e).then(function(e){return t.resolved[n]=!0,e})},requireSync:function(e){return n(this.resolve(e))},resolve:function(){return 52324}})},32540:function(e,t,n){"use strict";n.d(t,{V2:function(){return h},d1:function(){return g}});var r=n(79066),o=n(6586),i=n(72516),a=n(17505),s=n(80514),c=n(75434),u=n(91402),l=n(64124),d=n(42646),p=n(56904),f=n(77214),v=n(57248),g=(0,u.M)({csr:function(e,t){return(0,r._)(function(){var n,r,a,c,u;return(0,i.__generator)(this,function(i){switch(i.label){case 0:if(r=(0,l.Ni)("videoDetail"))return[2,r];return[4,(0,s.e)()];case 1:return e.clientABVersions=i.sent(),[4,Promise.all([d.h.get("/api/item/detail/",{query:e,baseUrlType:p.Z4.FixedWww}),t?(0,f.mx)().getVideoTranslation(e.itemId,t):Promise.resolve(void 0)])];case 2:return c=(a=o._.apply(void 0,[i.sent(),2]))[0],u=a[1],v.l6.mergeItemStructWithTranslation(null==(n=c.itemInfo)?void 0:n.itemStruct,u,t),[2,c]}})})()},ssr:function(e,t){return(0,r._)(function(){var n,r,a,s,u,l,d,p,g,h,m,_,y,b,w,k;return(0,i.__generator)(this,function(i){switch(i.label){case 0:return s=(0,c.yK)(),l=void 0===(u=e.itemId)?"":u,d=e.coverFormat,g=void 0===(p=e.clientABVersions)?[]:p,[4,Promise.all([s.service.webapp.data.getVideoDetail(l,void 0,void 0,d,g),s.service.sharedSeo.isBot(),t?(0,f.mx)().getVideoTranslation(e.itemId,t):Promise.resolve(void 0)])];case 1:if(m=(h=o._.apply(void 0,[i.sent(),3]))[0],_=h[1],y=h[2],v.l6.mergeItemStructWithTranslation(null==(n=m.itemInfo)?void 0:n.itemStruct,y,t),b=m.statusCode,k=(w=null==(a=m.itemInfo)||null==(r=a.itemStruct)?void 0:r.subVideoMeta)&&!w.isAvailable,_)return k||b>=10200&&b<10300?s._statusCode=404:0!==b&&(s._statusCode=500),[2,m];return 0!==b&&10216!==b&&(s._statusCode=404),[2,m]}})})()}}),h=(0,u.M)({csr:function(e){},ssr:function(e){(0,c.yK)().service.redirectChecker.checkVideoPageUniqueId(e)}});(0,u.M)({csr:function(e){},ssr:function(e){var t=(0,c.yK)(),n=(0,a.lYd)().shouldStoryDetailRedirect,r=t.URL,o=r.pathname,i=r.search,s=/^\/@(.+)\/video\/(\d+)/.exec(o),u=null==s?void 0:s[2],l=e.itemInfo,d=!!(null==l?void 0:l.itemStruct.story);if(n&&d&&u){var p=i.startsWith("?")?i.slice(1):i,f="/following?story_id=".concat(u).concat(p?"&".concat(p):"");t.redirect(f)}}})},39394:function(e,t,n){"use strict";n.d(t,{AW:function(){return u},LY:function(){return l},OA:function(){return s},jT:function(){return a},mc:function(){return c}});var r=n(94946),o=n(2033),i=n(81791);function a(e){var t=null!=e?e:{},n=t.customParams,i=t.option,a=Object.assign({timer_from_ttfb:(0,o.V)()-(0,o.MZ)()},n);r.l.send("arm_browser_render",a,i)}function s(e){var t=e.duration,n=e.customParams,o=e.option,i=Object.assign({timer_render:t},n);r.l.send("arm_render_finish",i,o)}function c(e){var t=null!=e?e:{},n=t.customParams,o=t.option;r.l.send("arm_core_content_ready",Object.assign({},n),o)}function u(e){var t=null!=e?e:{},n=t.customParams,o=t.option;(0,i.fK)(function(e){var t=e.name,i=e.value;if("LCP"===t){var a=Object.assign({timer_lcp:Math.ceil(i)},n);r.l.send("arm_lcp",a,o)}else console.warn("Do not get LCP metric in onLCP callback")})}function l(e){var t=null!=e?e:{},n=t.customParams,o=t.option;window.addEventListener("beforeunload",function e(){r.l.send("arm_bounce",Object.assign({},n),o),window.removeEventListener("beforeunload",e)})}},94946:function(e,t,n){"use strict";n.d(t,{l:function(){return s}});var r=n(95170),o=n(37633),i=n(2033),a=function(){function e(){(0,r._)(this,e),this.allowRepeat=!1,this.eventAlreadySent={},this.stop=!1}var t=e.prototype;return t.init=function(e){var t=e.pageName,n=e.device,r=e.sender,o=e.sendConfig;this.sender=r,this.path=window.location.pathname,this.pageName=t,this.device=n,o&&this.handleConfigGlobal(o)},t.config=function(e){var t=e.sender;this.sender=t},t.getCommonParams=function(e,t){var n,r,o,a;return{page_name:null!=(r=null!=(n=this.pageName)?n:e)?r:"",last_event:null!=(o=this.lastEvent)?o:"",duration:(0,i.V)(),device:null!=(a=this.device)?a:"",userAgent:null!=t?t:window.navigator.userAgent}},t.send=function(e,t,n){if(!this.sender)return void console.error("Send ARM events before initialized");((null==n?void 0:n.forceSend)||this.allowSend(e))&&this.sender(e,Object.assign(Object.assign({},t),this.getCommonParams())),this.updateStatus(e),this.lastEvent=e},t.handleConfigGlobal=function(e){var t=e.allowRepeat;this.allowRepeat=t},t.allowSend=function(e){var t=this.stop,n=this.path,r=this.allowRepeat,o=this.eventAlreadySent,i=window.location.pathname;return!(t||i!==n||!r&&o[e])},t.updateStatus=function(e){var t=window.location.pathname;this.stop=this.stop||t!==this.path,this.eventAlreadySent[e]=!0},e}(),s=(0,o.U)("ArmLogger@tiktok/arm-logger",function(){return new a})},2033:function(e,t,n){"use strict";n.d(t,{MZ:function(){return r},V:function(){return o}}),n(81791);var r=function(){var e,t,n,r=null==(t=null==(e=window.performance)?void 0:e.getEntriesByType)?void 0:t.call(e,"navigation")[0];return Math.ceil(null!=(n=null==r?void 0:r.responseStart)?n:0)},o=function(){return Math.ceil(performance.now())}},95164:function(e,t,n){"use strict";n.d(t,{E:function(){return u},c:function(){return a}});var r,o,i,a,s,c=n(35383);(r=i||(i={})).ROW="https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/secsdk/secsdk-lastest.umd.js",r.TTP="https://lf16-cdn-tos.tiktokcdn-us.com/obj/static-tx/secsdk/secsdk-lastest.umd.js",(o=a||(a={})).Acrawler="acrawler",o.SecSdkSG="secsdk_sg",o.SecSdkVA="secsdk_va",o.SecSdkTTP="secsdk_ttp";var u=(s={},(0,c._)(s,"acrawler","https://lf16-tiktok-web.tiktokcdn-us.com/obj/tiktok-web-tx/webmssdk/2.0.0.221/webmssdk.js"),(0,c._)(s,"secsdk_sg","https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/secsdk/secsdk-lastest.umd.js"),(0,c._)(s,"secsdk_va","https://sf16-website-login.neutral.ttwstatic.com/obj/tiktok_web_login_static/secsdk/secsdk-lastest.umd.js"),(0,c._)(s,"secsdk_ttp","https://lf16-cdn-tos.tiktokcdn-us.com/obj/static-tx/secsdk/secsdk-lastest.umd.js"),s)},31560:function(e,t,n){"use strict";n.d(t,{yw:function(){return c},D9:function(){return l},BJ:function(){return d},Zi:function(){return u},$U:function(){return s},Bl:function(){return a}});var r=n(72516),o=n(95164);n(24643);var i="script-manager";function a(e){var t,n,r,o={imports:{}};try{o=JSON.parse(null!=(n=null==(t=document.querySelector("#".concat(i)))?void 0:t.innerHTML)?n:"")}catch(e){console.error("[Init failed]: sdk config is invalid")}return null!=(r=o.imports[e])?r:""}function s(e){return(0,r.__awaiter)(this,void 0,void 0,function(){var t,n;return(0,r.__generator)(this,function(r){return t=a(e.moduleId),(n=document.createElement("script")).src=t,n.async=!0,[2,new Promise(function(e,r){var o;if(!t)return void r(Error("empty script src"));n.parentNode&&(null==(o=document.parentNode)||o.removeChild(n)),document.body.appendChild(n),n.addEventListener("load",function(){e(!0)}),n.addEventListener("error",function(){r(Error("load script failed"))})})]})})}function c(e){var t=a(e.moduleId);return!!document.querySelector('script[src="'.concat(t,'"]'))}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/node-webapp/api/importmap";return(0,r.__awaiter)(this,void 0,void 0,function(){var t,n;return(0,r.__generator)(this,function(r){switch(r.label){case 0:if(document.querySelector("#".concat(i)))return[2];t={imports:{}},(n=document.createElement("script")).type="application/json",n.id=i,r.label=1;case 1:return r.trys.push([1,4,,5]),[4,window.fetch.call(null,e,{method:"Get",redirect:"error"})];case 2:return[4,r.sent().json()];case 3:return t={imports:r.sent().imports},[3,5];case 4:return r.sent(),t={imports:o.E},[3,5];case 5:return n.innerText=JSON.stringify(t),document.head.appendChild(n),[2]}})})}function l(e){var t="secsdk_sg";switch(e){case"MALI_VA":t="secsdk_va";break;case"TTP":t="secsdk_ttp";break;default:t="secsdk_sg"}return t}function d(){return"acrawler"}},84772:function(e,t,n){"use strict";n.d(t,{_q:function(){return s}});var r=n(63599),o=n(34966),i=n(37633);function a(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var s=function(e){if(!(0,o.Sr)()||!(null==e?void 0:e.name)){var t=null!=e?e:{},n=(t.name,a(t,["name"]));return(0,r._)(n)}return function(t){return(0,i.U)("".concat(e.name),function(){e.name;var n=a(e,["name"]);return(0,r._)(n)(t)})}}},1455:function(e,t,n){"use strict";n.d(t,{nV:function(){return i}});var r=n(69446),o=n(37633);function i(e){return function(t){return(0,o.U)("".concat(e,"_sigi_module@tiktok-fe/sigi-compat"),function(){return(0,r.n)(e)(t)})}}},64781:function(e,t,n){"use strict";n.d(t,{uv:function(){return D},qZ:function(){return M},IX:function(){return V},su:function(){return s},eS:function(){return Y},iB:function(){return A},H$:function(){return K},nK:function(){return N}});var r,o,i,a,s,c,u,l,d=n(79066),p=n(5377),f=n(45996),v=n(54333),g=n(72516),h=n(1366),m=n(48748),_=n(95170),y=n(7120),b=n(41386),w=function(e){function t(e,n){var r;return(0,_._)(this,t),(r=(0,m._)(this,t,[e])).name="ApiError",r.code=n,r}return(0,y._)(t,e),t}((0,n(112)._)(Error)),k=function(e){if((0,b._)(e,w)){var t;return null!=(t=e.code)?t:-1}return -1};(r=s||(s={}))[r.NIL=-255]="NIL",r[r.UnknownError=-1]="UnknownError",r[r.Ok=0]="Ok",r[r.ReportLiveFailed=90002]="ReportLiveFailed",r[r.VerifyCode=1e4]="VerifyCode",r[r.VideoLikeFreq=2150]="VideoLikeFreq",r[r.VideoLikeFreq2=2210]="VideoLikeFreq2",r[r.VideoUnavailableDeleted=2054]="VideoUnavailableDeleted",r[r.AdVideoUnavailableChange=2752]="AdVideoUnavailableChange",r[r.CommentBanCode=22]="CommentBanCode",r[r.CommentLikePermissionDisable=3002043]="CommentLikePermissionDisable",r[r.SearchSensitiveCode=403]="SearchSensitiveCode",r[r.SearchYoungCode=203]="SearchYoungCode",r[r.SmsInvalidNumber=-1]="SmsInvalidNumber",r[r.SmsSlideVerify=-4]="SmsSlideVerify",r[r.FypVideoListLimit=10404]="FypVideoListLimit",r[r.ClientPageError=450]="ClientPageError",r[r.LiveNeedLogin=10119]="LiveNeedLogin",r[r.SharkBlock=10114]="SharkBlock",r[r.SharkSlide=10113]="SharkSlide",r[r.NetError=10111]="NetError",r[r.ServerErrorNot500=10101]="ServerErrorNot500",r[r.VideoRisk=10228]="VideoRisk",r[r.VideoRMask=10229]="VideoRMask",r[r.VideoRiskMask=10230]="VideoRiskMask",r[r.VideoNeedRecheck=10227]="VideoNeedRecheck",r[r.VideoUnshelveByMusic=10220]="VideoUnshelveByMusic",r[r.VideoNotExist=10204]="VideoNotExist",r[r.VideoAbnormal=10215]="VideoAbnormal",r[r.VideoLowAgeM=10213]="VideoLowAgeM",r[r.VideoLowAgeT=10214]="VideoLowAgeT",r[r.VideoFirstReviewUnshelve=10217]="VideoFirstReviewUnshelve",r[r.VideoPrivateByUser=10216]="VideoPrivateByUser",r[r.VideoGeofenceBlock=10231]="VideoGeofenceBlock",r[r.VideoPhoto=10239]="VideoPhoto",r[r.VideoFriendsOnly=10240]="VideoFriendsOnly",r[r.VideoDeleted=10241]="VideoDeleted",r[r.VideoUserBlockedByAuthor=10242]="VideoUserBlockedByAuthor",r[r.VideoSubscribersOnly=203005]="VideoSubscribersOnly",r[r.HashtagNotExist=10205]="HashtagNotExist",r[r.HashtagUnshelve=10212]="HashtagUnshelve",r[r.HashtagSensitivityWord=10211]="HashtagSensitivityWord",r[r.HashtagBlackList=10209]="HashtagBlackList",r[r.UserInboxFollowBan=24]="UserInboxFollowBan",r[r.UserNotExist=10202]="UserNotExist",r[r.UserBan=10221]="UserBan",r[r.UserPrivate=10222]="UserPrivate",r[r.UserNotLogin=10102]="UserNotLogin",r[r.UserFtc=10223]="UserFtc",r[r.UserUniqueSensitivity=10225]="UserUniqueSensitivity",r[r.QuestionNotAvailable=10236]="QuestionNotAvailable",r[r.MusicNotExist=10203]="MusicNotExist",r[r.MusicUnshelve=10218]="MusicUnshelve",r[r.MusicNoCopyright=10219]="MusicNoCopyright",r[r.MusicUnavailable=202001]="MusicUnavailable",r[r.PlaceNotExist=205001]="PlaceNotExist",r[r.PlaceOffline=205002]="PlaceOffline",r[r.PlaceUnavailableInRegion=205003]="PlaceUnavailableInRegion",r[r.GameNotExist=10224]="GameNotExist",r[r.LiveNotExist=10210]="LiveNotExist",r[r.GoLiveRoomBaned=10018]="GoLiveRoomBaned",r[r.GoLiveBaned=4003035]="GoLiveBaned",r[r.LiveRoomPrepare=30019]="LiveRoomPrepare",r[r.LiveRoomEnd=30003]="LiveRoomEnd",r[r.LiveRoomBan=30012]="LiveRoomBan",r[r.LiveNoGatedAuth=4003043]="LiveNoGatedAuth",r[r.LiveNoAgeGatedAuth=4003110]="LiveNoAgeGatedAuth",r[r.LivePaidEvent=4003072]="LivePaidEvent",r[r.LiveSubscriberOnly=4003135]="LiveSubscriberOnly",r[r.LiveSuicideCase=2403]="LiveSuicideCase",r[r.LiveSensitiveTitle=50004]="LiveSensitiveTitle",r[r.LiveRoomBaned=10018]="LiveRoomBaned",r[r.LiveEnterRoomNeedLogin=20003]="LiveEnterRoomNeedLogin",r[r.LiveAccountUnderRiskControl=20063]="LiveAccountUnderRiskControl",r[r.LiveHitBanStrategy=30009]="LiveHitBanStrategy",r[r.LiveOBSAccessRecalled=4003105]="LiveOBSAccessRecalled",r[r.LiveUserNotFound=0x12f5c2f]="LiveUserNotFound",r[r.EffectNotExist=10208]="EffectNotExist",r[r.PlaylistNotExist=10233]="PlaylistNotExist",r[r.PlaylistInTrill=10234]="PlaylistInTrill",r[r.VideoPlaylistUnavailable=10243]="VideoPlaylistUnavailable",r[r.VideoPlaylistIsEmpty=10244]="VideoPlaylistIsEmpty",r[r.PrivateAccountLimitByBC=3026002]="PrivateAccountLimitByBC",r[r.PnsPnsPrivateAccountLimitByLiveOn=3026006]="PnsPnsPrivateAccountLimitByLiveOn",r[r.BlockedAndLogout=56009]="BlockedAndLogout",r[r.CreatePlaylistWithRiskError=206001]="CreatePlaylistWithRiskError",r[r.VideoPlaylistVisibleToCreator=206002]="VideoPlaylistVisibleToCreator",r[r.AddPlaylistVideoWithRiskError=206003]="AddPlaylistVideoWithRiskError",r[r.VideoPlaylistUnavailableToVisitor=206004]="VideoPlaylistUnavailableToVisitor",r[r.VideoPlaylistDeleted=206005]="VideoPlaylistDeleted",(o=c||(c={}))[o.Hot=0]="Hot",o[o.Relation=1]="Relation",o[o.Fresh=2]="Fresh",o[o.Post=3]="Post",o[o.Favorite=4]="Favorite",o[o.Challenge=5]="Challenge",o[o.Music=6]="Music",o[o.Category=7]="Category",o[o.MusicFresh=8]="MusicFresh",o[o.ChallengeFresh=9]="ChallengeFresh",o[o.Follow=10]="Follow",o[o.Trending=18]="Trending",o[o.TitleRecommend=20]="TitleRecommend",o[o.Nearby=21]="Nearby",o[o.Search=23]="Search",o[o.HotVideo=24]="HotVideo",o[o.HotMusic=25]="HotMusic",o[o.FollowerList=26]="FollowerList",o[o.Inbox=33]="Inbox",o[o.Live=27]="Live";var P=function(e,t,n){},T=n(35383),S=n(42646),E=n(56904);function A(e){return(0,d._)(function(){var t,n,r;return(0,g.__generator)(this,function(o){switch(o.label){case 0:if(!e.subTopicId)return[3,2];return[4,S.h.post("/tiktok/v1/creator/ai_comment/topic_detail",{query:{item_id:e.itemID,topic_cluster_id:e.subTopicId,cursor:e.cursor},baseUrlType:2})];case 1:case 3:return t=o.sent(),[3,5];case 2:if(!e.subCategory)return[3,4];return[4,S.h.post("/tiktok/v1/creator/ai_comment/category_detail",{query:{item_id:e.itemID,category_type:e.subCategory,cursor:e.cursor},baseUrlType:2})];case 4:throw Error("subTopicId and subCategory cannot be empty at the same time");case 5:return[2,{status_code:null!=(n=t.status_code)?n:-1,status_msg:t.status_msg,comments:t.comment_list,cursor:null!=(r=t.cursor)?r:0,has_more:+!!t.has_more,reply_style:2}]}})})()}function L(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.reduce(function(e,n){var r=n.reply_comment,o=n.cid;return r&&(0,h.setDataForQueryByKey)(["comment","reply",o],function(){return{pageParams:[r.length],pages:[{cursor:"".concat(r.length),comments:r,hasMore:!0}]}}),e.comments.push(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,f._)((0,p._)({},e),{logId:t.logId})}(n,t)),e},{comments:[]})}(i=u||(u={}))[i.Like=1]="Like",i[i.Unlike=2]="Unlike";var C=function(e){return(0,d._)(function(){var t,n,r,o,i,a,s,c,u,l,v,m,_,y,b;return(0,g.__generator)(this,function(k){switch(k.label){case 0:t=e.aweme_id,r=void 0===(n=e.cursor)?"0":n,o=e.insert_ids,i=e.isNonPersonalized,a=e.subTopicId,s=e.subCategory,k.label=1;case 1:if(k.trys.push([1,6,,7]),!(a||s))return[3,3];return[4,A({itemID:t,subTopicId:a,subCategory:s,cursor:r})];case 2:return u=k.sent(),[3,5];case 3:var T;return[4,(T={insert_ids:"0"===r?o:void 0,aweme_id:t,cursor:r,is_non_personalized:i},(0,d._)(function(){return(0,g.__generator)(this,function(e){return[2,S.h.get("/api/comment/list/",{query:(0,f._)((0,p._)({},T),{count:20}),baseUrlType:2})]})})())];case 4:u=k.sent(),k.label=5;case 5:if(P(u.status_code,[0]),0===u.status_code&&(null==(c=u.comments)?void 0:c.length)){if(m=L(u.comments,{logId:null==(l=u.log_pb)?void 0:l.impr_id}).comments,y=new Set((null!=(_=null==(v=(0,h.getDataForQueryByKey)(["comment",t]))?void 0:v.pages.flatMap(function(e){return e.cursor!==u.cursor?e.comments:[]}))?_:[]).map(function(e){return e.cid})),0===(b=m.filter(function(e){return!y.has(e.cid)})).length&&u.has_more)return[2,C({aweme_id:t,cursor:u.cursor.toString(),insert_ids:o,isNonPersonalized:i})];return[2,{comments:b,hasMore:!!u.has_more,cursor:u.cursor,isFirstLoad:0===Number(r),total:u.total}]}throw new w("Comment fetch returned no new comments",u.status_code);case 6:return k.sent(),[2,{comments:[],hasMore:!0,cursor:r,isFirstLoad:0===Number(r),total:0}];case 7:return[2]}})})()},O=function(e){return(0,d._)(function(){var t,n,r,o,i,a,s,c,u,l,m,_;return(0,g.__generator)(this,function(y){switch(y.label){case 0:t=e.itemId,n=e.cid,o=void 0===(r=e.cursor)?"0":r,y.label=1;case 1:var b;return y.trys.push([1,3,,4]),[4,(b={comment_id:n,item_id:t,cursor:o},(0,d._)(function(){return(0,g.__generator)(this,function(e){return[2,S.h.get("/api/comment/list/reply/",{query:(0,f._)((0,p._)({},b),{count:3}),baseUrlType:2})]})})())];case 2:if(P((i=y.sent()).status_code,[0]),0===i.status_code){if(c=L(i.comments,{logId:null==(a=i.log_pb)?void 0:a.impr_id}).comments,u=["comment","reply",n],m=new Set((null!=(l=null==(s=(0,h.getDataForQueryByKey)(u))?void 0:s.pages.flatMap(function(e){return e.cursor!==i.cursor?e.comments:[]}))?l:[]).map(function(e){return e.cid})),0===(_=c.filter(function(e){return!m.has(e.cid)})).length&&i.has_more)return[2,O({itemId:t,cid:n,cursor:i.cursor.toString()})];return[2,{comments:(0,v._)(_),cursor:i.cursor,hasMore:1===i.has_more}]}throw new w("Failed to save reply list");case 3:return y.sent(),[2,{cursor:o,comments:[],hasMore:!0}];case 4:return[2]}})})()},I=function(e){return function(t){return(0,d._)(function(){var n,r,o,i;return(0,g.__generator)(this,function(a){switch(a.label){case 0:if(n=t.itemId,r=t.like,o=t.cid,i=t.parentCid,e&&!i)throw new w("Reply comments need a parentCid to be provided");a.label=1;case 1:var s;return a.trys.push([1,3,,4]),[4,(s={aweme_id:n,cid:o,digg_type:r?1:2},(0,d._)(function(){return(0,g.__generator)(this,function(e){return[2,S.h.post("/api/comment/digg/",{query:(0,f._)((0,p._)({},s),{channel_id:0}),headers:(0,T._)({},E.nk,S.h.csrfToken),baseUrlType:2})]})})())];case 2:return[2,{statusCode:a.sent().status_code}];case 3:return[2,{statusCode:k(a.sent())}];case 4:return[2]}})})()}},x=function(e){return(0,d._)(function(){var t,n,r,o,i,a;return(0,g.__generator)(this,function(s){switch(s.label){case 0:t=e.itemId,n=e.cid,r=e.parentCid,s.label=1;case 1:var c;return s.trys.push([1,3,,4]),[4,(c={cid:n},(0,d._)(function(){return(0,g.__generator)(this,function(e){return[2,S.h.post("/api/comment/delete/",{query:c,baseUrlType:2,headers:(0,T._)({},E.nk,S.h.csrfToken)})]})})())];case 2:if(0!==(o=s.sent()).status_code)throw new w(o.msg,o.status_code);return r&&(i=["comment",t],a=function(e){if(void 0===e)throw new w("Problem encountered with updating comment count");return{pageParams:e.pageParams,pages:e.pages.map(function(e){return(0,f._)((0,p._)({},e),{comments:e.comments.map(function(e){return e.cid===r?(0,f._)((0,p._)({},e),{reply_comment_total:Number(e.reply_comment_total)-1}):e})})})}},(0,h.setDataForQueryByKey)(i,a),R(t,a)),[2,{statusCode:o.status_code}];case 3:return[2,{statusCode:k(s.sent())}];case 4:return[2]}})})()},N=function(e){var t=e.comment.aweme_id,n=(0,h.getDataForQueryByKey)(["comment",t]);return n?{pageParams:n.pageParams,pages:[{cursor:n.pages[0].cursor,comments:[e.comment].concat((0,v._)(n.pages[0].comments)),hasMore:n.pages[0].hasMore,isFirstLoad:n.pages[0].isFirstLoad}].concat((0,v._)(n.pages.slice(1)))}:{pageParams:[1],pages:[{cursor:1,comments:[e.comment],hasMore:!0,isFirstLoad:!0}]}},D=function(e){var t=e.awemeId,n=e.parentCid,r=(0,h.getDataForQueryByKey)(["comment",t]),o=function(e){if(!e)throw new w("cannot reply to a comment when there are no comments");return{pageParams:e.pageParams,pages:e.pages.map(function(e){return(0,f._)((0,p._)({},e),{comments:e.comments.map(function(e){return e.cid===n?(0,f._)((0,p._)({},e),{reply_comment_total:e.reply_comment_total?Number(e.reply_comment_total)+1:1}):e})})})}};return R(t,o),o(r)},M=function(e){var t=e.parentCid,n=(0,h.getDataForQueryByKey)(["comment","reply",t]);return n?{pageParams:n.pageParams,pages:[{cursor:n.pages[0].cursor,comments:[e.reply].concat((0,v._)(n.pages[0].comments)),hasMore:n.pages[0].hasMore,isFirstLoad:n.pages[0].isFirstLoad}].concat((0,v._)(n.pages.slice(1)))}:{pageParams:[1],pages:[{cursor:1,comments:[e.reply],hasMore:!0,isFirstLoad:!0}]}};function R(e,t){var n=!0,r=!1,o=void 0;try{for(var i,a=[["comment",e,"ai-sub-topic-comments"],["comment",e,"ai-sub-category-comments"]][Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value;(0,h.setDataForQueriesByQueryFilter)({queryKey:s},function(e){return e?t(e):e})}}catch(e){r=!0,o=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}}var j=function(e){var t=["comment",e.videoId];return e.subTopicId&&t.push("ai-sub-topic-comments",e.subTopicId),e.subCategory&&t.push("ai-sub-category-comments","category-enum-".concat(e.subCategory)),t},U=function(e){return["comment","reply",e.commentId]},F={query:{fetchComment:{queryKeys:j,queryFn:C,infinite:!0},fetchAICommentTopics:{queryKeys:function(e){return["ai-comment-topics",e.itemId]},queryFn:function(e){return(0,d._)(function(){var t,n,r,o,i;return(0,g.__generator)(this,function(a){switch(a.label){case 0:t=e.itemId,r=void 0===(n=e.locale)?"en":n,a.label=1;case 1:var s;return a.trys.push([1,3,,4]),[4,(s={item_id:t,locale:r},(0,d._)(function(){return(0,g.__generator)(this,function(e){return[2,S.h.post("/tiktok/v1/creator/ai_comment/topic_overview",{query:s,baseUrlType:2})]})})())];case 2:if(P(null!=(i=(o=a.sent()).status_code)?i:-1,[0]),0!==o.status_code)throw new w(o.status_msg,o.status_code);return[2,o];case 3:return[2,{status_code:k(a.sent())}];case 4:return[2]}})})()}}},mutation:{postCommentLike:{queryKeys:j,mutationFn:I(!1),optimisticUpdate:function(e){var t=e.itemId,n=e.cid,r=e.like,o=e.isVideoAuthor,i=(0,h.getDataForQueryByKey)(["comment",t]),a=function(e){if(!e)throw new w("Tried to like a comment that could not be found in query cache");return{pageParams:e.pageParams,pages:e.pages.map(function(e){return(0,f._)((0,p._)({},e),{comments:e.comments.map(function(e){return e.cid===n?(0,f._)((0,p._)({},e),{user_digged:r?1:2,digg_count:r?e.digg_count+1:e.digg_count-1,is_author_digged:o?r:e.is_author_digged}):e})})})}};return R(t,a),a(i)}},postCommentDelete:{queryKeys:j,mutationFn:x,optimisticUpdate:function(e){var t=e.itemId,n=e.cid,r=(0,h.getDataForQueryByKey)(["comment",t]),o=function(e){if(!e)throw new w("Tried to delete a video that could not be found in query cache");return{pageParams:e.pageParams,pages:e.pages.map(function(e){return(0,f._)((0,p._)({},e),{comments:e.comments.flatMap(function(e){return e.cid===n?[]:e})})})}};return R(t,o),o(r)}}}},B={query:{fetchReply:{queryKeys:U,queryFn:O,infinite:!0}},mutation:{postReplyLike:{queryKeys:U,mutationFn:I(!0),optimisticUpdate:function(e){var t=e.cid,n=e.parentCid,r=e.like,o=e.isVideoAuthor;if(!n)throw new w("Reply comments need a parentCid to be provided");var i=(0,h.getDataForQueryByKey)(["comment","reply",n]);if(!i)throw new w("Tried to like a comment that could not be found in query cache");return{pageParams:i.pageParams,pages:i.pages.map(function(e){return(0,f._)((0,p._)({},e),{comments:e.comments.map(function(e){return e.cid===t?(0,f._)((0,p._)({},e),{user_digged:+!!r,digg_count:r?e.digg_count+1:e.digg_count-1,is_author_digged:o?r:e.is_author_digged}):e})})})}}},postReplyDelete:{queryKeys:U,mutationFn:x,optimisticUpdate:function(e){var t=e.cid,n=e.parentCid;if(!n)throw new w("Reply comments need a parentComment to be provided");var r=(0,h.getDataForQueryByKey)(["comment","reply",n]);if(!r)throw new w("Could not find reply list for this comment");return{pageParams:r.pageParams,pages:r.pages.map(function(e){return(0,f._)((0,p._)({},e),{comments:e.comments.flatMap(function(e){return e.cid===t?[]:e})})})}}}}};function H(e){var t=e.relation,n=e.handleIsUnfollow,r=e.handleIsFollow;switch(t){case 0:case -1:case 4:case 5:case 6:return n();default:return r()}}(a=l||(l={}))[a.FollowNormal=0]="FollowNormal",a[a.FollowPrivate=1]="FollowPrivate",a[a.FollowFollower=2]="FollowFollower",a[a.Unfollow=3]="Unfollow";var Y=function(e){var t,n,r,o=e.uniqueId,i=(0,h.getDataForQueryByKey)(["user",o]);if(!i)throw new w("target user does not exist",10202);return(0,f._)((0,p._)({},i),{user:(0,f._)((0,p._)({},i.user),{relation:function(e){var t,n,r=e.current;switch(H({relation:null!=(n=(t=e.targetUser).relation)?n:-1,handleIsUnfollow:function(){var e;return t.privateAccount?1:(null==(e=t.extraInfo)?void 0:e.followed)||6===t.relation?2:0},handleIsFollow:function(){return 3}})){case 3:return 0;case 0:return H({relation:r,handleIsFollow:function(){return r},handleIsUnfollow:function(){return 1}});case 1:return H({relation:r,handleIsFollow:function(){return r},handleIsUnfollow:function(){return 3}});case 2:return H({relation:r,handleIsFollow:function(){return r},handleIsUnfollow:function(){return 2}});default:return H({relation:r,handleIsFollow:function(){return r},handleIsUnfollow:function(){return -1}})}}({current:i.user.relation,targetUser:i.user}),extraInfo:(0,f._)((0,p._)({},i.user.extraInfo),{followed:(t=i.user.relation,n=null==(r=i.user.extraInfo)?void 0:r.followed,2===t||6===t||5!==t&&n)})})})},V=function(e){var t=e.uniqueId,n=e.isBlock,r=(0,h.getDataForQueryByKey)(["user",t]);if(!r)throw new w("target user does not exist",10202);return(0,f._)((0,p._)({},r),{user:(0,f._)((0,p._)({},r.user),{relation:4*!n})})},q=function(e){return["user",e.uniqueId]},G={query:{getUserDetail:{queryKeys:q,queryFn:function(e){return(0,d._)(function(){var t;return(0,g.__generator)(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,(0,d._)(function(){return(0,g.__generator)(this,function(t){return[2,S.h.get("/api/user/detail/",{query:e,baseUrlType:2})]})})()];case 1:if((0===(t=n.sent()).statusCode||10222===t.statusCode)&&t.userInfo)return[2,{user:(0,f._)((0,p._)({uniqueIdModifyTime:0},t.userInfo.user),{extraInfo:{statusCode:t.statusCode}}),stats:(0,f._)((0,p._)({},t.userInfo.stats),{needFix:!1})}];throw new w("Get user detail failed",t.statusCode);case 2:throw n.sent();case 3:return[2]}})})()},infinite:!1}},mutation:{postCommitFollowUser:{queryKeys:q,mutationFn:function(e){return(0,d._)(function(){var t,n,r,o,i,a,s,c,u,l,v,m,_,y,k,A;return(0,g.__generator)(this,function(L){var C,O;switch(L.label){case 0:if(L.trys.push([0,5,,6]),t=e.uniqueId,n=e.useFollowV2,r=["user",t],!(o=(0,h.getDataForQueryByKey)(r)))throw new w("target user does not exist",10202);if(a=(i=o.user).id,c=void 0===(s=i.secUid)?"":s,l={type:+(1===(u=H({relation:i.relation,handleIsUnfollow:function(){return 0},handleIsFollow:function(){return 1}}))),action_type:+(1===u),user_id:a,sec_user_id:c,from:18,channel_id:0,from_pre:0},!n)return[3,2];return[4,(C=l,(0,d._)(function(){return(0,g.__generator)(this,function(e){return[2,S.h.post("/api/follow/",{signal:new AbortController().signal,query:(0,f._)((0,p._)({},C),{fromWeb:1}),baseUrlType:2,headers:(0,T._)({},E.nk,S.h.csrfToken)})]})})())];case 1:return m=L.sent(),[3,4];case 2:return[4,(O=l,(0,d._)(function(){return(0,g.__generator)(this,function(e){return[2,S.h.post("/api/commit/follow/user/",{query:(0,f._)((0,p._)({},O),{fromWeb:1}),baseUrlType:2,headers:(0,T._)({},E.nk,S.h.csrfToken)})]})})())];case 3:m=L.sent(),L.label=4;case 4:if(_=(v=m).status_code,y=v.follow_status,24===_)throw new w("inbox_follow_failed_banned",24);if(-1===_)throw new w("inbox_follow_failed_noconnection",-1);if(0!==_)throw new w("inbox_follow_failed_other",_);else P(_,[24,-1,0]);return[2,{statusCode:_,followStatus:y}];case 5:if(k=L.sent(),(0,b._)(k,w))return[2,{statusCode:null!=(A=k.code)?A:-1,followStatus:-1}];return[2,{statusCode:-1,followStatus:-1}];case 6:return[2]}})})()},optimisticUpdate:Y},blockOrUnblockUser:{queryKeys:q,mutationFn:function(e){return(0,d._)(function(){var t,n;return(0,g.__generator)(this,function(r){switch(r.label){case 0:var o;return r.trys.push([0,2,,3]),[4,(o={sec_user_id:e.secUid,block_type:+!e.isBlock},(0,d._)(function(){return(0,g.__generator)(this,function(e){return[2,S.h.post("/api/user/block/",{query:(0,f._)((0,p._)({},o),{source:3}),baseUrlType:2,headers:(0,T._)({},E.nk,S.h.csrfToken)})]})})())];case 1:return[2,r.sent().status_code];case 2:if(t=r.sent(),(0,b._)(t,w))return[2,null!=(n=t.code)?n:-1];return[2,-1];case 3:return[2]}})})()},optimisticUpdate:V}}},W=n(47779),z={query:{getRelatedVideoList:{queryKeys:function(e){return["video","related",e.itemId]},queryFn:function(e){return(0,d._)(function(){var t,n,r,o,i;return(0,g.__generator)(this,function(a){switch(a.label){case 0:var s;return t=e.itemId,n=e.language,r=e.isNonPersonalized,o=e.coverFormat,[4,(s={aid:1988,count:16,itemID:t,language:(0,W.uk)(n),coverFormat:o,isNonPersonalized:r},S.h.get("/api/related/item_list/",{query:s,baseUrlType:2}))];case 1:return i=a.sent(),[2,(0,f._)((0,p._)({},i),{hasMore:!0})]}})})()}}}},K=function(){return[F,B,G,z]}},81460:function(e,t,n){"use strict";n.d(t,{t:function(){return a}});var r=n(48748),o=n(95170),i=n(7120),a=function(e){function t(e){var n;return(0,o._)(this,t),(n=(0,r._)(this,t,[e])).state={hasError:!1},n}(0,i._)(t,e);var n=t.prototype;return n.componentDidCatch=function(e,t){var n,r;null==(n=(r=this.props).errorSideEffect)||n.call(r,e,t)},n.render=function(){return this.state.hasError?this.props.fallback:this.props.children},t.getDerivedStateFromError=function(){return{hasError:!0}},t}(n(40099).Component)},98556:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var r,o,i=n(54333),a=new Map,s=function(e){var t=a.get(e);if(t)return t;var n=performance.mark(e);return a.set(e,n),n},c=function(e){for(var t,n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var s=a.get(e);if(s)return s;var c=(t=performance).measure.apply(t,[e].concat((0,i._)(r)));return a.set(e,c),c},u={reportAppInitialized:function(){if(null!=o||(o=performance.getEntriesByName("RenderStart")[0]),o){var e=s("AppInitEnd");c("AppInit",{start:o.startTime+o.duration,end:e.startTime})}},reportCoreRender:function(){var e=a.get("PageInitEnd");if(e){var t=s("CoreRendered");c("CoreRender",{start:e.startTime,end:t.startTime})}},reportCoreResourceLoadStart:function(){s("CoreResourceLoadStart")},reportCoreResourceLoadEnd:function(){var e=a.get("CoreResourceLoadStart");if(e){var t=s("CoreResourceLoadEnd");c("CoreResourceLoad",{start:e.startTime,end:t.startTime})}},reportDomResourceLoad:function(){null!=r||(r=performance.getEntriesByType("navigation")[0]),r&&c("DomResourceLoad",{start:r.responseEnd,end:r.loadEventEnd})},reportFirstScreenApiEnd:function(){s("FirstScreenApiEnd"),c("FirstScreenApi","FirstScreenApiStart","FirstScreenApiEnd")},reportFirstScreenApiStart:function(){s("FirstScreenApiStart")},reportPageInitialized:function(){var e=a.get("AppInitEnd");if(e){var t=s("PageInitEnd");c("PageInit",{start:e.startTime,end:t.startTime})}},reportPageRequest:function(){null!=r||(r=performance.getEntriesByType("navigation")[0]),r&&c("PageRequest",{start:r.startTime,end:r.responseEnd})}}},28202:function(e,t,n){"use strict";n.d(t,{ET:function(){return o},FR:function(){return r}});var r="webapp.a-b",o="b_c"},13071:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});var r="473824"},10791:function(e,t,n){"use strict";n.d(t,{$m:function(){return s},_v:function(){return c},s0:function(){return i}});var r,o,i,a,s=["AT","BE","BG","HR","CY","CZ","DE","DK","EE","EL","FI","FR","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE","NO","IS","LI"],c=s.concat(["GB","CH"]);(r=i||(i={})).DEFAULT="DEFAULT",r.SG="ALL_SG",r.VA="MALI_VA",r.TTP="TTP",r.BOE="BOE",(o=a||(a={})).DEFAULT="DEFAULT",o.BOE="BOE",o.US_BOE="US_BOE",o.SG="ALL_SG",o.VA="MALI_VA",o.TTP="TTP",o.EU_TTP="EU_TTP",o.US_TTP="US_TTP",o.US_TTP2="US_TTP2"},30854:function(e,t,n){"use strict";n.d(t,{G:function(){return u},UH:function(){return i},q7:function(){return o},tt:function(){return c}});var r=n(54333),o=["AT","BE","BG","HR","CY","CZ","DE","DK","EE","EL","FI","FR","GB","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE","NO","IS","LI"],i=["AO","BF","BI","BJ","BW","CD","CF","CG","CI","CM","CV","ER","ET","GA","GH","GM","GN","GQ","GW","KE","KM","LR","LS","MG","ML","MU","MW","MZ","NA","NE","NG","RW","SC","SD","SL","SN","SO","SS","ST","SZ","TD","TG","TZ","UG","ZM","ZW"];(0,r._)(i).concat(["ZA"]);var a=["SA","KW","MA","IQ","TH","PH","KH","ZA","AR","VN","MX","TR","AE","MY","PK","IL","PE","EG","CL","CO","ID","QA","BR","BY","LB","OM","UY","JO","BD","BH","CR","DO","EC","GT","KZ","PA"],s=["AL","DZ","AO","AG","AM","AW","AZ","BS","BZ","BJ","BM","BO","BA","BW","VG","BF","CM","CV","KY","TD","KM","CD","CI","DJ","DM","SV","ER","FJ","GA","GM","GE","GH","GD","GN","GW","HT","HN","JM","KE","KG","LA","LR","LY","MO","MV","ML","MU","FM","MD","MZ","NA","NP","NI","NE","NG","MK","PG","PY","RW","WS","SN","RS","SC","SL","SB","SO","LK","KN","LC","SD","SR","TJ","TZ","TG","TO","TT","TN","TM","TC","UG","UZ","VU","VE","YE","ZM","ZW","CG","ET","RU","TW","UA"];(0,r._)(a).concat((0,r._)(s)),(0,r._)(a).concat((0,r._)(s),(0,r._)(["MM","US"]));var c=["JP","KR"],u=["ES","DE","PT"]},81622:function(e,t,n){"use strict";n.d(t,{Lq:function(){return i},Nm:function(){return d},TZ:function(){return u},Uy:function(){return a},WU:function(){return p},k9:function(){return s},wX:function(){return l}});var r=n(6586),o=n(54333),i="5dc26cf008d511e9b571e1bc0c9e23b5",a="3f4a780066b911eba8eda5a15496ac5a",s="2e1fcc60aeaa11e99ef535aeebd27c9b",c={az:{displayName:"Az\u0259rbaycan",alias:[]},"id-ID":{displayName:"Bahasa Indonesia",alias:["id","id-id","in-id","in"]},"ms-MY":{displayName:"Bahasa Melayu",alias:["ms","ms-bn","ms-my"]},"jv-ID":{displayName:"Basa Jawa",alias:["jv","jv-jv"]},ca:{displayName:"Catal\xe0",alias:[]},"ceb-PH":{displayName:"Cebuano",alias:["ceb","ceb-ph"]},"cs-CZ":{displayName:"\u010Ce\u0161tina",alias:["cs","cs-cz"]},da:{displayName:"Dansk",alias:[]},"de-DE":{displayName:"Deutsch",alias:["de","de-at","de-ch","de-de","de-li","de-lu"]},et:{displayName:"Eesti",alias:[]},"en-GB":{displayName:"English (UK)",alias:["en-pk","en-bd","en-bt","en-bn","en-kh","en-la","en-mm","en-np","en-lk","af","en-au","en-nz","en-sg","en-ag","en-ai","en-bb","en-bm","en-bs","en-bw","en-bz","en-dm","en-fj","en-gd","en-gh","en-gm","en-gy","en-in","en-ie","en-jm","en-rw","en-kn","en-ky","en-lc","si-lk","en-ms","en-my","en-mt","en-mu","en-mw","en-na","en-ng","ne-np","en-nr","en-pg","en-sb","en-za","en-sc","en-sl","en-tc","en-to","en-tt","en-vc","en-vg","en-vu","en-zm","en-zw","en-sz","en-hk","en-mo"]},en:{displayName:"English (US)",alias:[]},es:{displayName:"Espa\xf1ol",alias:["es-es","es-gq","es-ad"]},"es-419":{displayName:"Espa\xf1ol (Latinoam\xe9rica)",alias:["es"]},"fil-PH":{displayName:"Filipino",alias:["fil","tl-ph","tl","fil-ph"]},fr:{displayName:"Fran\xe7ais",alias:["fr-be","fr-ch","fr-fr","fr-lu","fr-mc"]},"fr-CA":{displayName:"Fran\xe7ais (Canada)",alias:["fr-ca"]},ga:{displayName:"Gaeilge",alias:[]},hr:{displayName:"Hrvatski",alias:[]},is:{displayName:"\xcdslenska",alias:[]},"it-IT":{displayName:"Italiano",alias:["it","it-ch","it-it"]},sw:{displayName:"Kiswahili",alias:[]},lv:{displayName:"Latvie\u0161u",alias:[]},lt:{displayName:"Lietuvi\u0173",alias:[]},"hu-HU":{displayName:"Magyar",alias:["hu","hu-hu"]},"nl-NL":{displayName:"Nederlands",alias:["nl","nl-be","nl-nl"]},nb:{displayName:"norsk (bokm\xe5l)",alias:[]},uz:{displayName:"O\u02BBzbek",alias:[]},"pl-PL":{displayName:"Polski",alias:["pl","pl-pl"]},pt:{displayName:"Portugu\xeas",alias:["pu"]},"pt-BR":{displayName:"Portugu\xeas (Brasil)",alias:["pt_BR","pt-br"]},"ro-RO":{displayName:"Rom\xe2n\u0103",alias:["ro","ro-ro"]},sq:{displayName:"Shqip",alias:[]},sk:{displayName:"Sloven\u010Dina",alias:[]},sl:{displayName:"Sloven\u0161\u010Dina",alias:[]},"fi-FI":{displayName:"Suomi",alias:["fi","fi-fi"]},"sv-SE":{displayName:"Svenska",alias:["sv","sv-se"]},"vi-VN":{displayName:"Ti\u1EBFng Vi\u1EC7t",alias:["vi","vi-vn"]},"tr-TR":{displayName:"T\xfcrk\xe7e",alias:["tr","tr-tr"]},"el-GR":{displayName:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",alias:["el","el-gr"]},bg:{displayName:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438",alias:[]},kk:{displayName:"\u049A\u0430\u0437\u0430\u049B\u0448\u0430",alias:[]},"ru-RU":{displayName:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",alias:["ru","ru-ru"]},"uk-UA":{displayName:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",alias:["uk","uk-ua"]},"he-IL":{displayName:"\u05E2\u05D1\u05E8\u05D9\u05EA",alias:["he","he-il","iw"]},ur:{displayName:"\u0627\u0631\u062F\u0648",alias:[]},ar:{displayName:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",alias:["ar-ae","ar-bh","ar-dz","ar-eg","ar-iq","ar-jo","ar-kw","ar-lb","ar-ly","ar-ma","ar-om","ar-qa","ar-sa","ar-sy","ar-tn","ar-ye"]},"hi-IN":{displayName:"\u0939\u093F\u0902\u0926\u0940",alias:["hi","hi-in"]},"bn-IN":{displayName:"\u09AC\u09BE\u0982\u09B2\u09BE",alias:["bn","bn-in"]},"th-TH":{displayName:"\u0E20\u0E32\u0E29\u0E32\u0E44\u0E17\u0E22",alias:["th","th-th"]},"my-MM":{displayName:"\u1019\u103C\u1014\u103A\u1019\u102C",alias:["my","my","my-mm"]},"km-KH":{displayName:"\u1781\u17D2\u1798\u17C2\u179A",alias:["km","km-kh"]},"ja-JP":{displayName:"\u65E5\u672C\u8A9E",alias:["ja","ja-jpan","ja-jp"]},"zh-Hant-TW":{displayName:"\u4E2D\u6587 (\u7E41\u9AD4)",alias:["zh","zh_Hant","zh_TW","zh-tw","zh-hk","zh-Hant","zh-hant-tw"]},"zh-Hans":{displayName:"\u4E2D\u6587 (\u7B80\u4F53)",alias:["zh-hans","zh_hans","zh_Hans","zh-cn","zh-sg"]},"ko-KR":{displayName:"\uD55C\uAD6D\uC5B4",alias:["ko","ko-kr","ko-kore"]}},u=new Map(Object.entries(c).map(function(e){var t=(0,r._)(e,2),n=t[0],i=t[1].alias;return[n].concat((0,o._)(i))}).reduce(function(e,t){var n=t[0];return t.forEach(function(t){e.push([t.toLocaleLowerCase(),n])}),e},[])),l=Object.entries(c).map(function(e){var t=(0,r._)(e,2),n=t[0];return{label:t[1].displayName,value:n}}),d="en",p="tiktok_webapp_lang"},65354:function(e,t,n){"use strict";n.d(t,{i:function(){return r}});var r="tea_sid"},33877:function(e,t,n){"use strict";n.d(t,{C:function(){return r},U:function(){return o}});var r="https://www.tiktok.com",o="https://sf-static.tiktokcdn.com/obj/eden-sg/uhtyvueh7nulogpoguhm/tiktok-icon2.png"},94553:function(e,t,n){"use strict";var r,o;n.d(t,{L:function(){return r}}),(o=r||(r={})).Trending="homepage_hot",o.Discover="discovery",o.Inbox="homepage_message",o.Profile="personal_homepage",o.User="others_homepage",o.Music="single_song",o.Effect="effect_detail",o.Challenge="challenge",o.Collection="collection",o.Video="video_detail",o.PhotoVideo="graphic_detail",o.Setting="setting",o.Report="report",o.ReportAd="report_ad",o.Error="page_404",o.Analytics="insight_page",o.Following="homepage_follow",o.Friends="friends_page",o.Feedback="feedback",o.FeedbackReport="feedback_report",o.FeedbackHistory="feedback_history",o.Support="support",o.Upload="upload",o.AgeVerification="AGE_VERIFICATION",o.Topics="topic",o.Poi="place",o.PoiCategory="place",o.Explore="explore_page",o.Live="live_detail",o.LiveEmbedDetail="live_embed_detail",o.GoLive="live_take",o.LiveDiscover="live_discover",o.LiveReferralHost="live_referral_host",o.LiveReferralHostLogin="live_referral_host_login",o.LiveReferralHostAccept="live_referral_host_accept",o.LiveReferralHostWrong="live_referral_host_wrong",o.LiveReferralHostFaq="live_referral_host_faq",o.LiveEvent="live_event",o.LiveEventAggregation="live_event_aggregation",o.LiveCategory="live_catalog",o.LiveSingleGameCategory="each_game_catalog",o.LiveSingleLifestyleCategory="each_lifestyle_catalog",o.LiveSingleActionCategory="each_action_catalog",o.LiveExplore="seo_catalog",o.LiveMobile="live_detail_mobile",o.LiveDiscoverMobile="live_discover_mobile",o.LiveEventMobile="live_event_mobile",o.LiveEventAggregationMobile="live_event_aggregation_mobile",o.LiveCategoryMobile="live_catalog_mobile",o.LiveSingleGameCategoryMobile="each_game_catalog_mobile",o.LiveSingleLifestyleCategoryMobile="each_lifestyle_catalog_mobile",o.LiveSingleActionCategoryMobile="each_action_catalog_mobile",o.LiveExploreMobile="seo_catalog_mobile",o.LiveMenaActionMobile="live_mena_action_mobile",o.SharingLive="reflow_live",o.SharingLiveEvent="reflow_live_event",o.SearchReflow="search_reflow",o.SharingVideo="reflow_video",o.SharingPhoto="reflow_graphic",o.SharingStoreRedirect="reflow_store_redirect",o.SharingMusic="reflow_music",o.SharingChallenge="reflow_challenge",o.SharingSticker="reflow_sticker",o.SharingUser="reflow_user",o.SharingCollection="reflow_collection",o.SharingGroup="reflow_group",o.SharingInvite="reflow_now_link",o.SharingPost="reflow_now_photo",o.SharingProfile="reflow_now_others",o.NowError="reflow_now_guaranteed",o.SharingPast="reflow_now_photo_unavailable",o.SharingChat="reflow_chat_invitation",o.QADetail="qa_detail",o.QADetailReflow="reflow_qa_detail",o.VideoPlaylist="reflow_video_playlist",o.WebAppVideoPlaylist="playlist",o.GeneralSearch="general_search",o.SearchUser="search_user",o.SearchVideo="search_video",o.SearchLive="search_live",o.SearchPhoto="search_photo",o.SuicidePrevention="suicide_prevention",o.Messages="messages",o.Recharge="live_recharge",o.RechargeReferral="live_referral",o.CoinRedeem="coin_redeem",o.RechargeCashier="live_recharge_cashier",o.VerifyIdentity="verify_identity",o.PIAppealForm="pi_appeal_form",o.RewardOnboarding="reward_onboarding",o.RechargePaymentCode="live_recharge_payment_code",o.Exchange="live_exchange",o.unavailable="live_unavailable",o.Transaction="live_transaction",o.Expansion="discover_kw",o.Channel="channel",o.Find="find",o.Product="ecommerce_kep",o.Playlist="music_playlist",o.StudioDownload="studio_download",o.StudioFaq="studio_faq",o.Subscription="subscription",o.VideoTT4D="video_tt4d",o.LiveGiftCpcFaq="live_gift_cpc_faq",o.TaxVAT="tax_vat",o.TaxVatInput="tax_vat_input",o.TaxVatInfo="tax_vat_info",o.SelfBilling="tax_self_billing",o.TaxWhtInput="tax_wht_input",o.TaxWhtInfo="tax_wht_info",o.TaxW9Select="tax_w9_select",o.TaxW9Individual="tax_w9_individual",o.TaxW9Entity="tax_w9_entity",o.TaxW9Info="tax_w9_info",o.TaxW8Input="tax_w8_input",o.TaxW8Info="tax_w8_info",o.TaxComplete="tax_complete",o.TaxOverview="tax_overview",o.TaxW9Certify="tax_w9_certify",o.Kyc="kyc",o.kycLoading="kyc_loading",o.kycPoa="kyc_poa",o.KycDetails="kyc_detail",o.LivePopoutModerator="live_mod_popout",o.PeriodicDashboard="periodic_dashboard",o.PeriodicPastPayout="periodic_past_payout",o.PeriodicTransaction="periodic_transaction",o.OauthSpotify="oauth_spotify",o.Login="login",o.Signup="signup",o.HelpPage="tns_show_ssh_tips_support_page",o.ViolationAppeal="violation_appeal",o.PrivacyPrompt="privacy_prompt",o.Unknown="unknown",o.DelayStartUntilManuallyCalled="delay_start_until_manually_called",o.PoiCategorySlardar="place_category",o.Download="download",o.DownloadVideo="download_video",o.TrendingDetail="discover_pro",o.MiniApk="lite_miniapk_download",o.StableVideo="VideoContent",o.StableImage="ImgContent",o.CreatorSearchInsights="inspiration_homepage",o.CreatorSearchInsightsDetail="inspiration_detail",o.CreatorSearchInsightsSearch="inspiration_search",o.CreatorSearchInsightsFavorites="inspiration_favorites",o.CreatorSearchInsightsAnalytics="inspiration_analytics",o.CreatorSearchInsightsAcademy="inspiration_academy"},99805:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});var r="seo.abtest"},94209:function(e,t,n){"use strict";n.d(t,{c:function(){return r}});var r=[{routeName:"expansion",pageType:104},{routeName:"messages",pageType:13},{routeName:"searchUser",pageType:106},{routeName:"videoPlaylist",pageType:108},{routeName:"searchLive",pageType:123},{routeName:"following",pageType:11},{routeName:"challenge",pageType:3},{routeName:"poi",pageType:18},{routeName:"collection",pageType:121},{routeName:"searchHome",pageType:105},{routeName:"effect",pageType:129},{routeName:"searchVideo",pageType:107},{routeName:"music",pageType:4},{routeName:"friends",pageType:20}]},11110:function(e,t,n){"use strict";n.d(t,{Ow:function(){return o}}),n(24643);var r=n(82761),o="webapp.app-context";(0,r.$)("AppContext@tiktok/isomorphic")(null)},93116:function(e,t,n){"use strict";n.d(t,{K:function(){return r}});var r="webapp.biz-context"},53975:function(e,t,n){"use strict";n.d(t,{Ss:function(){return a},hp:function(){return s},rv:function(){return c}}),n(24643);var r=n(43274),o=n(45207),i=n(37633),a=(0,n(82761).$)("I18nContextV2@tiktok/isomorphic")({t:function(e,t,n){return n&&"string"==typeof n?n:e},hasLoaded:o.A,loadStarling:o.A,initialNamespaces:[],lang:""}),s=(0,i.U)("I18nInjectionToken@tiktok/isomorphic",function(){return new r.n("i18n")}),c="webapp.i18n-translation"},47779:function(e,t,n){"use strict";n.d(t,{qm:function(){return p},uk:function(){return c},i_:function(){return o}}),n(26869);var r,o,i=n(75434),a=n(81622),s=/(facebookexternalhit|whatsapp|twitterbot|developers\.snap\.com\/robots|Linespider|LinkedInBot|Discordbot|TelegramBot|LarkBot|vk\.com\/dev\/Share)|redditbot/i;(r=o||(o={})).WebApp="Webapp",r.Analytics="MT_Analytics",r.Reflow="MT_Reflow",r.Login="WebApp_Login",r.POI="poi_web",r.RechargeReferral="Webapp_recharge_referral",r.AccountServer="account_server";var c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"zh-Hans"===e?e:e.split("-")[0].replace("zh","zh-Hant")||e||a.Nm};function u(e){return Array.isArray(e)?e[e.length-1]:null!=e?e:""}function l(e){var t=u(e).toLocaleLowerCase();return!!t&&a.TZ.has(t)}function d(e){var t,n,r=u(e).toLocaleLowerCase();if(l(r))return null!=(t=a.TZ.get(r))?t:a.Nm;var o=c(r).toLowerCase();return null!=(n=a.TZ.get(o))?n:a.Nm}function p(e){var t=(0,i.xw)(),n=t.pathname,r=t.query,o=(0,i.T6)(),c=o.userAgent,u=o.acceptLanguage,p=(null!=e?e:n).split("/")[1];if(((w=null!=e?e:n).startsWith("/download")||w.startsWith("/download-video"))&&(p=(null!=e?e:n).split("/")[2]),p&&l(p))return d(p);var f=r.lang,v=r.langCountry,g=r.language,h=r.sharer_language,m=[v,f,g];s.test(c)&&m.push(h);var _=!0,y=!1,b=void 0;try{for(var w,k,P,T,S=m[Symbol.iterator]();!(_=(T=S.next()).done);_=!0){var E=T.value;if(E&&l(E))return d(E)}}catch(e){y=!0,b=e}finally{try{_||null==S.return||S.return()}finally{if(y)throw b}}var A=(0,i.MJ)(a.WU);if(A&&l(A))return d(A);var L=null==(k=c.match(/ByteFullLocale\/([\w\-_]+)/))?void 0:k[1];if(L&&l(L))return d(L);var C=null==(P=c.match(/ByteLocale\/([\w\-_]+)/))?void 0:P[1];if(C&&l(C))return d(C);var O=!0,I=!1,x=void 0;try{for(var N,D=u[Symbol.iterator]();!(O=(N=D.next()).done);O=!0){var M=N.value;if(M&&l(M))return d(M)}}catch(e){I=!0,x=e}finally{try{O||null==D.return||D.return()}finally{if(I)throw x}}return h&&l(h)?d(h):/yandex\.com\/bots/i.test(c)?d("ru-RU"):a.Nm}},55787:function(e,t,n){"use strict";n.d(t,{KJ:function(){return l},Ny:function(){return d},R0:function(){return c},qu:function(){return u}});var r=/\(i[^;]+;( U;)? CPU.+Mac OS X/,o=/Android|android|Adr/,i=/X11/,a=/\(Macintosh; Intel /,s=/Win\d{2}|Windows/;function c(e){return e.length>1e3?"unknown":o.test(e)?"android":i.test(e)?"linux":r.test(e)?"ios":a.test(e)?"mac":s.test(e)?"windows":"unknown"}function u(e){return!(e.length>1e3)&&r.test(e)}function l(e){return o.test(e)}function d(e){return u(e)||l(e)}},87998:function(e,t,n){"use strict";n.d(t,{Nw:function(){return function e(t,n){var o,s,c,u=(null!=n?n:{}).defaultPath;if((0,r.A)(t))return void 0===u?"":u;if(null==(o=t.author)?void 0:o.uniqueId)return e({uniqueId:null==(s=t.author)?void 0:s.uniqueId,secUid:null==(c=t.author)?void 0:c.secUid,videoId:t.id,isPhotomode:void 0!==t.imagePost},n);var l=t.uniqueId,d=void 0===l?"":l,p=t.secUid,f=t.videoId;return t.isPhotomode?a({uniqueId:d,videoId:f,secUid:p}):i({uniqueId:d,videoId:f,secUid:p})}},PR:function(){return s},p0:function(){return c}});var r=n(56110);function o(e){var t=e.uniqueId,n=e.secUid;return!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e&&!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return t?/^[0-9]*$/.test(e):/^[0-9]+$/.test(e)}(e)&&!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e&&/[^a-zA-Z0-9\_\.]/.test(e)}(e)&&e.length<=25}(t)?n:t}var i=function(e){var t=e.uniqueId,n=e.secUid,r=e.videoId,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",a=o({uniqueId:t,secUid:n});return a&&r?"/@".concat(a,"/video/").concat(r):i},a=function(e){var t=e.uniqueId,n=e.secUid,r=e.videoId,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",a=o({uniqueId:t,secUid:n});return a&&r?"/@".concat(a,"/photo/").concat(r):i};function s(e){if(!e)return"";var t=e.nlpLanguage;return"/".concat(null!=t?t:"en","/trending/detail/").concat(e.uniqueWord)}function c(e){var t=e.region,n=e.uniqueWord;if(!n||!t)return"";var r="US"===t?"":"/".concat(t.toLowerCase());return"/shop".concat(r,"/product/").concat(n)}},31292:function(e,t,n){"use strict";function r(e){var t=0;return e&&e.forEach(function(e){var n,r;t+=null!=(r=null==(n=null==e?void 0:e.stats)?void 0:n.playCount)?r:0}),t}function o(e,t){return i(e)}function i(e){var t=["in","on","with","by","for","at","about","under","of","to","into","from","within","throughout","inside","outside","without","beside","behind","around","over","among","and","or"];return a(e).replace(/-/g," ").toLocaleLowerCase().split(" ").map(function(e){return"tiktok"===e?"TikTok":t.indexOf(e)>=0?e:e.charAt(0).toUpperCase()+e.slice(1)}).join(" ")}function a(e){return e?e.replace(/\x20/g,"-").toLocaleLowerCase():""}function s(e){switch(!0){case e<727:return 4;case e>=727&&e<927:return 6;case e>=927&&e<1295:return 8;case e>=1295&&e<1495:return 10;case e>=1495&&e<1695:return 12;case e>=1695&&e<1895:return 14;default:return 16}}function c(e){var t;return e&&e.length<=0?"":null!=(t=null==e?void 0:e.slice(0,6).map(function(e){return i(e)}).join(", "))?t:""}function u(e){return e.length<=0?[]:e.map(function(e){var t=e.pageType,n=e.keyword;switch(t){case 1:return{keyword:n,linkPath:"/channel/".concat(n)};case 2:return{keyword:n,linkPath:"/find/".concat(n)};case 0:return{keyword:n,linkPath:"/discover/".concat(n)};default:return{keyword:n,linkPath:""}}})}n.d(t,{K6:function(){return d},Kk:function(){return u},Mh:function(){return s},Of:function(){return a},Sq:function(){return i},XH:function(){return p},Zo:function(){return r},gW:function(){return c},pS:function(){return l},zh:function(){return o}});var l=function(e){return""===e?e:e.replace(RegExp("[\\ufff0-\\uffff]","g"),"").replace(/-/g," ")},d=function(e){return e+Date.now().toString()},p=function(){var e=new Date,t=e.getDay(),n=new Date(e);n.setDate(e.getDate()-(0===t?6:t-1));var r=function(e){var t=e.getFullYear(),n=String(e.getMonth()+1).padStart(2,"0"),r=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(n,"-").concat(r)};return{today:r(e),monday:r(n),ISOMonday:n.toISOString()}}},22876:function(e,t,n){"use strict";function r(e){return!!e&&/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(e)}n.d(t,{a:function(){return r}})},35144:function(e,t,n){"use strict";n.d(t,{D:function(){return a},x:function(){return i}});var r=(0,n(37633).U)("GLOBAL_STORE@tiktok/isomorphic",function(){return new Map}),o="WEBAPP_APP_CONTEXT",i=function(){var e=r.get(o);return e||console.error("Consume appContext before init"),e},a=function(e){r.get(o)&&console.warn("AppContext will be overwritten"),r.set(o,e)}},80514:function(e,t,n){"use strict";n.d(t,{e:function(){return u},v:function(){return c}});var r=n(79066),o=n(54333),i=n(72516),a="__$UNIVERSAL_DATA$__";function s(e,t){if(!window[a]){var n,r,o,i,s={};try{s=JSON.parse(null!=(r=null==(n=document.getElementById("__UNIVERSAL_DATA_FOR_REHYDRATION__"))?void 0:n.textContent)?r:"{}")}catch(e){console.error("error while parsing rehydration data")}window[a]=s}return null!=(i=null==(o=window[a][null!=t?t:"__DEFAULT_SCOPE__"])?void 0:o[e])?i:null}function c(){var e,t,n,r,i,a=s("webapp.app-context"),c=null==a?void 0:a.abTestVersion,u=s("seo.abtest"),l=Object.keys(null!=(t=null==(e=null==c?void 0:c.parameters)?void 0:e.clientABVersions)?t:{}),d=Object.keys(null!=(r=null==(n=null==u?void 0:u.parameters)?void 0:n.clientABVersions)?r:{}),p=null!=(i=null==u?void 0:u.vidList)?i:[];return Array.from(new Set((0,o._)(l).concat((0,o._)(d),(0,o._)(p))))}function u(){return(0,r._)(function(){return(0,i.__generator)(this,function(e){return[2,c()]})})()}},24683:function(e,t,n){"use strict";n.d(t,{V:function(){return i}});var r={kind:"m",captcha:"",imApi:"https://im-api-va.tiktok.com",imFrontier:"wss://im-ws-va.tiktok.com/ws/v2",mTApi:"https://m.tiktok.com",rootApi:"https://www.tiktok.com",secSDK:"",slardar:"mon.tiktokv.com",starling:"https://starling-va.tiktokv.com",tea:"https://mcs-va.tiktokv.com",teaChannel:"va",teaChannelType:"tcpy",libraWebSDK:"https://libraweb-va.tiktok.com",webcastApi:"https://webcast.tiktok.com",webcastRootApi:"https://webcast.tiktok.com",tcc:"https://sf-tcc-config.tiktokcdn.com/obj/tcc-config-web-maliva/",locationApi:"https://location-va.tiktokv.com"},o=null,i=function(){var e,t;if(o)return o;try{var n=JSON.parse(null!=(t=null==(e=document.querySelector("#".concat("api-domains")))?void 0:e.innerHTML)?t:"");if(n)return o=n,n;return r}catch(e){return r}}},82204:function(e,t,n){"use strict";n.d(t,{c:function(){return i}});var r={vregion:"Singapore-Central",vgeo:"VGeo-ROW"},o=null,i=function(){var e,t;if(o)return o;try{var n=JSON.parse(null!=(t=null==(e=document.querySelector("#".concat("service-region")))?void 0:e.innerHTML)?t:"");if(n)return o=n,n;return r}catch(e){return r}}},38117:function(e,t,n){"use strict";n.d(t,{$O:function(){return a},Fd:function(){return s},dK:function(){return o},dl:function(){return i},in:function(){return c},nk:function(){return l},pJ:function(){return r},xV:function(){return u}});var r="15rem",o="4.5rem",i="20rem",a="24rem",s=400,c="4.5rem",u="--side-nav-width",l="var(".concat(u,")")},82499:function(e,t,n){"use strict";n.d(t,{eE:function(){return g},xq:function(){return h}});var r=n(79066),o=n(5377),i=n(45996),a=n(72516),s=n(21987),c=n(40841),u=n(10829),l=n(11110),d=n(35144),p=n(56605),f=n(87803),v=n(83751);function g(e){return(0,r._)(function(){var t,n,g;return(0,a.__generator)(this,function(h){switch(h.label){case 0:if(h.trys.push([0,4,,5]),t=(0,p.YI)(l.Ow))return[3,2];return[4,(0,c.zI)(e)];case 1:if((null==(n=h.sent())?void 0:n.statusCode)!==0)throw Error("AppContext API response statusCode is not 0");t=n,(0,p.A7)(l.Ow,n),h.label=2;case 2:var m;return(0,d.D)(t),[4,(m=t,(0,r._)(function(){var e;return(0,a.__generator)(this,function(t){switch(t.label){case 0:return(e=s.l.getInstance(u.L)).state.initialized||[e.getActions().setAppContext((0,i._)((0,o._)({},m),{statusCode:0})),e.getActions().setLang(m.language),e.getActions().setInitialized(!0)].map(function(t){return e.store.dispatch(t)}),(0,r._)(function(){var e,t,n,r;return(0,a.__generator)(this,function(o){switch(o.label){case 0:if((null==(t=m.abTestVersion)||null==(e=t.parameters.search_add_non_personalized_switch)?void 0:e.vid)!=="v2")return[3,2];return[4,(0,v.nH)().init({})];case 1:o.sent(),o.label=2;case 2:if((null==(r=m.abTestVersion)||null==(n=r.parameters[f.W$])?void 0:n.vid)!=="v2")return[3,4];return[4,(0,v.nH)().init({isFeed:!0})];case 3:o.sent(),o.label=4;case 4:return[2]}})})(),[4,new Promise(function(t){e.state$.subscribe(function(e){e.initialized&&t()})})];case 1:return t.sent(),[2]}})})())];case 3:return h.sent(),[3,5];case 4:return g=h.sent(),console.error("[Fetch Base App Context Error]: ".concat(g)),[3,5];case 5:return[2]}})})()}function h(){return(0,p.YI)(l.Ow)}},25406:function(e,t,n){"use strict";n.d(t,{Mh:function(){return h},VU:function(){return m},le:function(){return _}});var r=n(95170),o=n(5377),i=n(45996),a=n(16327),s=n(79262),c=n(26869),u=n(84772),l=n(2999),d=n(89379),p=n(26402);function f(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if(("undefined"==typeof Reflect?"undefined":(0,s._)(Reflect))==="object"&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function v(e,t){if(("undefined"==typeof Reflect?"undefined":(0,s._)(Reflect))==="object"&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function g(e,t){return function(n,r){t(n,r,e)}}var h=(0,d.Yr)("@tiktok/login"),m=function(){function e(t){var n=this;(0,r._)(this,e),this.service=t,this.defaultMetrics={count:1},this.currentMethod=null,this.setCurrentRequestMethod=function(e){n.currentMethod=e},this.handleRequestResultReport=function(e){if(n.currentMethod){var t=e.error_code,r=e.function_type,s=(0,a._)(e,["error_code","function_type"]);n.service.emitEvent(n.currentMethod,n.defaultMetrics,(0,i._)((0,o._)({error_code:String(void 0===t?0:t)},s),{function_type:r||n.getFunctionType(n.currentMethod,e)}))}},this.handleThirdGetToken=function(e){n.setCurrentRequestMethod("thirdGetToken"),n.handleRequestResultReport(e)},this.qrCodeShow=function(){n.emitEvent("qrcode_show")},this.scanQrCode=function(){n.emitEvent("scan_qrcode")},this.qrCodeShortenFailed=function(e){n.service.emitEvent("qrcode_shorten_fail",n.defaultMetrics,e)},this.handleUserRegionEscape=function(e){n.service.emitEvent("userRegionEscape",n.defaultMetrics,e)},this.oneTapBtnShow=function(){n.emitEvent("oneTapLoginBtnShow")},this.oneTapFailToOpenApp=function(e){n.emitEvent("oneTapFailToOpenApp",e)},this.oneTapLoginPollingPopupShow=function(e){n.emitEvent("oneTapLoginPollingPopupShow",e)},this.oneTapLoginFailurePopupShow=function(e){n.emitEvent("oneTapLoginFailurePopupShow",e)},this.oneTapLoginSuccessPopupShow=function(e){n.emitEvent("oneTapLoginSuccessPopupShow",e)},this.oneTapLoginSuccessPopupClick=function(e){n.emitEvent("oneTapLoginSuccessPopupClick",{type:e})},this.oneTapLoginDetailsEvent=function(e){n.emitEvent("oneTapLoginDetails",e)}}var t=e.prototype;return t.sendLoginClickToNotifyDurationPerfMetric=function(e){this.service.sendCustomPerfMetric(p.Pl.LoginClickToNotifyDuration,e)},t.emitEvent=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.service.emitEvent(e,this.defaultMetrics,t)},t.getFunctionType=function(e,t){switch(e){case"sendPhoneCode":case"smsLogin":case"passwordLogin":case"thirdLogin":case"getQrCodeUrl":case"checkQrconnect":case"getOauthConfig":case"cancelDeleteAccount":case"thirdGetToken":return"login";case"notLoginSendCode":case"smsVerify":case"verifyPwdWithoutLogin":case"thirdVerify":return"verify";case"validateMobileCodeForLogin":case"validateEmailCodeForLogin":case"validateMobileCodeForReset":case"verifySendEmailCode":case"sendEmailCodeForLogin":case"emailCodeLogin":return"twostep";case"sendPhoneCodeWithType":return String(t.type).match(/13|12/)?"twostep":"reset";case"sendPhoneCodeForResetPwd":case"sendEmailCodeForResetPwd":case"resetPwdLoginByEmail":case"changePwdByMobile":return"reset";case"sendEmailCodeForForceResetPwd":case"sendPhoneCodeForForceResetPwd":case"validatePhoneCodeForForceReset":case"validateEmailCodeForForceReset":case"forceResetPwdByMobileTicket":case"forceResetPwdByEmailTicket":return"forcereset";case"sendEmailCodeForSignup":case"smsLoginContinue":case"usernameRegister":case"setAccount":case"emailRegister":return"signup";case"oidcPrepare":case"oidcLogin":case"checkOneTapState":case"getOneTapToken":return"onetap";default:return"ttp"}},e}();m=f([(0,u._q)({name:"LoginSlardar@tiktok/login"}),g(0,(0,l.y)(h.INJECTION_TOKEN)),v("design:type",Function),v("design:paramtypes",[void 0===d.V$?Object:d.V$])],m);var _=function(){function e(t){var n=this;(0,r._)(this,e),this.service=t,this.defaultMetrics={count:1},this.uiStyle="full_screen",this.enterMethod="login",this.enterFrom="login",this.platform="unknown",this.setUiStyle=function(e){n.uiStyle=e}}var t=e.prototype;return t.setPlatform=function(e){this.platform=e},t.setEnterMethod=function(e){this.enterMethod=e},t.setEnterFrom=function(e){var t=(0,c.parse)(location.search);this.enterFrom=e||t.enter_from||"unknown"},t.loginNotify=function(){this.emitEvent("login_notify")},t.clickLoginOption=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.isSignUp,n=e.one_tap_token_source;this.emitEvent("click_login_button",{tags:{platform:this.platform,is_register:this.getIsRegisterParam(t),one_tap_token_source:n||""}})},t.loginSubmit=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.signUp,n=e.forgetPwd,r=e.one_tap_token_source;this.emitEvent("login_submit",{tags:{platform:this.platform,is_register:this.getIsRegisterParam(t),is_forget_password:this.getIsForgetPasswordParam(n),one_tap_token_source:r||""}})},t.loginSuccess=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.signUp,n=e.forgetPwd,r=e.one_tap_token_source;this.emitEvent("login_success",{tags:{platform:this.platform,is_register:this.getIsRegisterParam(t),is_forget_password:this.getIsForgetPasswordParam(n),one_tap_token_source:r||""}})},t.loginFailure=function(e){var t=e.signUp,n=e.errorCode,r=e.errorMsg,o=e.forgetPwd,i=e.platform,a=void 0===i?this.platform:i,s=e.one_tap_token_source;this.emitEvent("login_failure",{tags:{platform:a,is_register:this.getIsRegisterParam(t),error_code:String(n),is_forget_password:this.getIsForgetPasswordParam(o),error_message:null!=r?r:"",one_tap_token_source:s||""}})},t.logout=function(e){var t;this.emitEvent("monitor_logout",{tags:{status:String(e.status),error_code:String(e.error_code),error_desc:null!=(t=e.error_desc)?t:""}})},t.logoutSubmit=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.emitEvent("logout_submit",{tags:e})},t.logoutCancel=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.emitEvent("logout_cancel",{tags:e})},t.signUpNotify=function(){this.emitEvent("signup_notify")},t.emitEvent=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.metrics,r=t.tags;this.service.emitEvent(e,(0,o._)({},this.defaultMetrics,n),(0,o._)({ui_style:this.uiStyle,enter_method:this.enterMethod,enter_from:this.enterFrom},r))},t.getIsRegisterParam=function(e){return e?"1":"0"},t.getIsForgetPasswordParam=function(e){return e?"1":"0"},e}();_=f([(0,u._q)({name:"SLOSlardarReports@tiktok/login"}),g(0,(0,l.y)(h.INJECTION_TOKEN)),v("design:type",Function),v("design:paramtypes",[void 0===d.V$?Object:d.V$])],_)},1366:function(e,t,n){"use strict";n.d(t,{QueryProvider:function(){return j},getDataForQueryByKey:function(){return g},setDataForQueriesByQueryFilter:function(){return _},setDataForQueryByKey:function(){return m},performManualOptimisticUpdate:function(){return k},useData:function(){return H},useMutateAction:function(){return V},useWebAppQuery:function(){return B},useDataWithInfinite:function(){return Y}});var r,o,i,a,s=n(24643),c=n(29880),u=function(e){var t={query:{},mutation:{}},n=!0,r=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value;Object.assign(t.query,s.query),Object.assign(t.mutation,s.mutation)}}catch(e){r=!0,o=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}return t},l=n(72516);function d(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,o)}function p(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){d(i,r,o,a,s,"next",e)}function s(e){d(i,r,o,a,s,"throw",e)}a(void 0)})}}var f=new(n(10167)).E({defaultOptions:{queries:{staleTime:1/0}}}),v=function(e){try{var t=f.getQueryData(e);if(!t)throw Error("Failed to get query data for key ".concat(e,". Verify your query key"));return t}catch(e){}},g=function(e){try{var t=f.getQueryData(e);if(!t)throw Error("Failed to get query data for key ".concat(e,". Verify your query key"));return t}catch(e){}},h=function(e,t){try{return f.setQueryData(e,t)}catch(t){throw Error("Failed to set query data for key ".concat(e,". Verify your query key"))}},m=function(e,t){try{return f.setQueryData(e,t)}catch(t){throw Error("Failed to set query data for key ".concat(e,". Verify your query key"))}},_=function(e,t){try{return f.setQueriesData(e,t)}catch(e){throw Error("Failed to set queries data.".concat(JSON.stringify(e)," Verify your query filter"))}},y=(r=p(function(e,t){var n;return(0,l.__generator)(this,function(r){switch(r.label){case 0:return[4,f.cancelQueries(e)];case 1:return r.sent(),n=v(e),h(e,t),[2,n]}})}),function(e,t){return r.apply(this,arguments)}),b=function(e,t){h(e,t)},w=(o=p(function(e){return(0,l.__generator)(this,function(e){return[2]})}),function(e){return o.apply(this,arguments)});p(function(e){return(0,l.__generator)(this,function(t){switch(t.label){case 0:return[4,f.invalidateQueries(e)];case 1:return t.sent(),[2]}})});var k=(i=p(function(e,t){return(0,l.__generator)(this,function(n){switch(n.label){case 0:return[4,f.cancelQueries(e)];case 1:return n.sent(),h(e,t),[2]}})}),function(e,t){return i.apply(this,arguments)}),P=n(95170),T=n(9933),S=n(12919),E=n(74882);function A(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,o)}function L(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){A(i,r,o,a,s,"next",e)}function s(e){A(i,r,o,a,s,"throw",e)}a(void 0)})}}function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function O(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var I=function e(t){var n,r,o=this;(0,P._)(this,e),this.useData=function(e){var t=e.query,n=e.queryKeyParams,r=e.queryParams,i=o.webappConfig.query[t],a=i.queryKeys(n);return(0,T.I)({queryKey:a,queryFn:L(function(){return(0,l.__generator)(this,function(e){return[2,i.queryFn(r)]})})})},this.useDataWithInfinite=function(e){var t,n=e.query,r=e.queryKeyParams,i=e.queryParams,a=e.options,s=o.webappConfig.query[n],c=s.queryKeys(r);return(0,S.q)(C({queryKey:c,queryFn:(t=L(function(e){var t;return(0,l.__generator)(this,function(n){var r,o;return t=e.pageParam,[2,s.queryFn((r=C({},i),o=o={cursor:t},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(o)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}),r))]})}),function(e){return t.apply(this,arguments)}),getNextPageParam:function(e){return e.hasMore?e.cursor:void 0}},a))},this.useMutateAction=function(e){var t,n,r=e.mutatorName,i=e.options,a=o.webappConfig.mutation[r],s=a.mutationFn,c="queryKeys"in a&&null!=(n=null==(t=a.queryKeys)?void 0:t.call(a,e.queryKeyParams))?n:[];return(0,E.n)(C({mutationFn:s},"optimisticUpdate"in a?{onMutate:function(e){var t;return y(c,null==(t=a.optimisticUpdate)?void 0:t.call(a,e))},onError:function(e){return b(c,e)},onSettled:function(){return w(c)}}:{},i))};var i=this;this.prefetchQuery=(n=L(function(e){var t,n,r,o,a,s;return(0,l.__generator)(this,function(c){return t=e.query,n=e.queryKeyParams,r=e.queryParams,o=O(e,["query","queryKeyParams","queryParams"]),s=(a=i.webappConfig.query[t]).queryKeys(n),[2,f.prefetchQuery(C({queryKey:s,queryFn:function(){return a.queryFn(r)}},o))]})}),function(e){return n.apply(this,arguments)});var a=this;this.prefetchInfiniteQuery=(r=L(function(e){var t,n,r,o,i,s;return(0,l.__generator)(this,function(c){return t=e.query,n=e.queryKeyParams,r=e.queryParams,o=O(e,["query","queryKeyParams","queryParams"]),s=(i=a.webappConfig.query[t]).queryKeys(n),[2,f.prefetchInfiniteQuery(C({queryKey:s,queryFn:function(){return i.queryFn(r)}},o))]})}),function(e){return r.apply(this,arguments)}),this.webappConfig=u(t)},x=n(40099),N=n(82761),D=!1,M=function(){return D||(a=(0,N.$)("queryContext@tiktok-fe/webapp-query")({}),D=!0),a},R=function(){return(0,x.useContext)(M())},j=function(e){var t=e.children,n=new I(e.apiConfigs),r=M();return(0,s.jsx)(c.Ht,{client:f,children:(0,s.jsxs)(r.Provider,{value:n,children:[t," "]})})};function U(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,o)}function F(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){U(i,r,o,a,s,"next",e)}function s(e){U(i,r,o,a,s,"throw",e)}a(void 0)})}}n(66628);var B=function(){return R()},H=function(e){return(0,R().useData)(e)},Y=function(e){return(0,R().useDataWithInfinite)(e)},V=function(e){return(0,R().useMutateAction)(e)};F(function(e,t){var n;return(0,l.__generator)(this,function(r){return n=R().prefetchQuery,(0,x.useEffect)(function(){n(e)},t),[2]})}),F(function(e,t){var n;return(0,l.__generator)(this,function(r){return n=R().prefetchInfiniteQuery,(0,x.useEffect)(function(){n(e)},t),[2]})})},32078:function(){},66628:function(e,t,n){"use strict";var r=n(8757);n.o(r,"useWebAppQuery")&&n.d(t,{useWebAppQuery:function(){return r.useWebAppQuery}}),n.o(r,"useData")&&n.d(t,{useData:function(){return r.useData}}),n.o(r,"useDataWithInfinite")&&n.d(t,{useDataWithInfinite:function(){return r.useDataWithInfinite}}),n.o(r,"useMutateAction")&&n.d(t,{useMutateAction:function(){return r.useMutateAction}});var o=n(21133);n.o(o,"useWebAppQuery")&&n.d(t,{useWebAppQuery:function(){return o.useWebAppQuery}}),n.o(o,"useData")&&n.d(t,{useData:function(){return o.useData}}),n.o(o,"useDataWithInfinite")&&n.d(t,{useDataWithInfinite:function(){return o.useDataWithInfinite}}),n.o(o,"useMutateAction")&&n.d(t,{useMutateAction:function(){return o.useMutateAction}});var i=n(32078);n.o(i,"useWebAppQuery")&&n.d(t,{useWebAppQuery:function(){return i.useWebAppQuery}}),n.o(i,"useData")&&n.d(t,{useData:function(){return i.useData}}),n.o(i,"useDataWithInfinite")&&n.d(t,{useDataWithInfinite:function(){return i.useDataWithInfinite}}),n.o(i,"useMutateAction")&&n.d(t,{useMutateAction:function(){return i.useMutateAction}})},8757:function(){},21133:function(){},39615:function(e,t,n){"use strict";n.d(t,{Ad:function(){return m},CB:function(){return P},E7:function(){return S},Fq:function(){return l},MG:function(){return w},OT:function(){return b},Wx:function(){return d},YF:function(){return h},Zi:function(){return u},_d:function(){return i},ab:function(){return k},bb:function(){return v},c:function(){return c},f6:function(){return p},k2:function(){return L},kV:function(){return y},kd:function(){return A},nV:function(){return a},nm:function(){return s},oe:function(){return E},p$:function(){return f},uM:function(){return g},wv:function(){return _},x2:function(){return T}});var r,o,i=10204,a=10215,s=10217,c=10216,u=10231,l=10240,d=10241,p=10242,f=203005,v=10205,g=10212,h=10211,m=10209,_=10202,y=10221,b=10222,w=10102,k=10223,P=10203,T=10218,S=10219,E=205001,A=205002,L=205003;(r=o||(o={}))[r.Aborted=1]="Aborted",r[r.Network=2]="Network",r[r.Decode=3]="Decode",r[r.SrcNotSupported=4]="SrcNotSupported"},67792:function(e,t,n){"use strict";n.d(t,{A6:function(){return S},AQ:function(){return o},Cb:function(){return h},E_:function(){return f},Ec:function(){return p},F4:function(){return u},Gj:function(){return m},IP:function(){return l},MA:function(){return d},Mt:function(){return c},OZ:function(){return T},Sg:function(){return v},TB:function(){return _},UN:function(){return b},W4:function(){return L},Wf:function(){return a},Zt:function(){return O},_0:function(){return w},ai:function(){return g},dW:function(){return D},e4:function(){return r},er:function(){return P},kl:function(){return C},sF:function(){return k},sP:function(){return y},uZ:function(){return i},wQ:function(){return A},wk:function(){return x},wl:function(){return s},yI:function(){return I},yN:function(){return E},z6:function(){return N}});var r="TikTok",o="https://www.tiktok.com",i="https://www.tiktok.com/#website",a="TikTok - trends start here. On a device or on the web, viewers can watch and discover millions of personalized short videos. Download the app to get started.",s="TikTok - Make Your Day",c="https://www.tiktok.com/search?q={search_term_string}",u="tiktok://search?keyword={search_term_string}",l="required name=search_term_string",d="Watch trending videos for you",p="https://www.tiktok.com/foryou",f="/foryou",v="https://www.tiktok.com/#foryou",g="It starts on TikTok. Join the millions of viewers discovering content and creators on TikTok \u2014 available on the web or on your mobile device.",h="/following",m="/coin",_="https://www.tiktok.com/search/campaign",y="https://www.tiktok.com/find",b="Discover popular videos",w="https://www.tiktok.com/discover",k="https://www.tiktok.com/tag",P="https://www.tiktok.com/#discover",T="On your device or on the web, join millions of viewers on the fastest growing video app. Download TikTok to discover new creators, search popular hashtags, and watch trending videos.",S="https://www.tiktok.com/#organization",E=["https://www.instagram.com/tiktok/","https://www.facebook.com/tiktok","https://www.twitter.com/tiktok_us","https://www.youtube.com/channel/UChPd_WHrv3O-XAXXHLixs7g"],A=["https://www.instagram.com/tiktok_kr/","https://www.facebook.com/tiktok","https://twitter.com/TiktokKR","https://www.youtube.com/c/tiktokkr","https://post.naver.com/my.naver?memberNo=52184197"],L="Discover",C={INDEX:"index, follow",NO_INDEX:"noindex, follow",IMAGE_PREVIEW_LARGE:"max-image-preview:large"},O="/live",I="/live/producer",x="/live/event",N="/studio/download",D="/studio/faq"},18064:function(e,t,n){"use strict";n.d(t,{TN:function(){return X},Wq:function(){return ee}});var r=n(54333),o=n(18217),i=n(71095),a=n(11741),s=n(60194),c=n(33877),u=n(67792),l=n(83869),d=[{processType:s.k.SERPProcessType.META_PATH,targetId:103,content:function(e){var t=e.t,n=[t("SERP discover title"),t("TikTok i18n keywords")].join(",");return{title:t("SEO_discover_title"),keywords:n,description:t("SEO_discover_desc"),robotsContent:u.kl.INDEX,canonicalHref:"".concat(u.AQ,"/discover"),applicableDevice:"pc, mobile"}}},{processType:s.k.SERPProcessType.JSONLD_PATH,targetId:103,content:function(e){var t=e.language,n={"@id":u.er,url:u._0,name:u.UN,description:u.OZ,publisher:(0,l.xM)(c.C,void 0===t?"en":t)},r=(0,l.SH)([{url:c.C,name:u.e4},{url:u._0,name:u.UN}]);return[[a.Y.JsonldType.WebSite,n],[a.Y.JsonldType.BreadcrumbList,r]]}}],p=[{processType:s.k.SERPProcessType.META_PATH,targetId:11,content:function(e){var t=e.language,n=e.t;return{title:n("SEO_following_title"),keywords:n("TikTok i18n keywords"),description:n("SEO_following_desc"),robotsContent:u.kl.INDEX,canonicalHref:"".concat(u.AQ).concat(u.Cb,"?lang=").concat(void 0===t?"en":t),applicableDevice:"pc, mobile"}}}],f=n(93628),v=n(72176),g=n(33765),h=n(73767),m=n(65156),_=n(60072),y=n(19619),b=[{processType:s.k.SERPProcessType.META_PATH,targetId:16,content:function(e){var t=e.questionInfo,n=e.t,r=(0,m.F)(e),o=null!=t?t:{},i=o.id,a=void 0===i?"":i,s=o.content,l=void 0===s?"":s,d=o.videoCount,p=r&&l&&a,f=p?n("SEO_qa_title_1",{question:l}):"",v=[n("TikTok i18n keywords")].join(","),g=p?n("SEO_qa_desc_1",{question:l,number:(0,_.D1)(d)}):"",h=(0,y.WD)({questionContent:l,questionId:a});return{title:f,keywords:v,description:g,canonicalHref:p?"".concat(c.C).concat(h):"",robotsContent:p?u.kl.INDEX:u.kl.NO_INDEX,applicableDevice:"pc, mobile"}}},{processType:s.k.SERPProcessType.JSONLD_PATH,targetId:16,content:function(e){var t=e.questionInfo,n=e.seoProps,r=null!=n?n:{},o=r.itemList,i=r.metaParams,s=null!=t?t:{},d=s.id,p=void 0===d?"":d,f=s.content,v=void 0===f?"":f,g=(0,m.F)(e)&&v&&p,h=(null!=i?i:{}).title,_=(0,y.WD)({questionContent:v,questionId:p}),b="".concat(c.C).concat(_),w=(0,l.SH)(g?[{url:c.C,name:u.e4},{url:b,name:null!=h?h:"".concat(v," | TikTok Q&A")}]:[{url:c.C,name:u.e4}]);return[[a.Y.JsonldType.Page,{"@type":"ItemPage","@id":b}],[a.Y.JsonldType.ItemList,null!=o?o:{}],[a.Y.JsonldType.BreadcrumbList,w]]}}],w=[{processType:s.k.SERPProcessType.META_PATH,targetId:105,content:function(e){var t=e.pathname,n=e.input_keyword,r=e.t,o=r("SEO_search_title",{searchkeywords:"'".concat(n,"'")}),i=r("SEO_search_desc",{searchkeywords:"'".concat(n,"'")});return{title:o,keywords:[n,"tiktok search",r("TikTok i18n keywords")].join(","),description:i,robotsContent:u.kl.INDEX,canonicalHref:"".concat(u.AQ).concat(void 0===t?"/search":t,"?q=").concat(n),applicableDevice:"pc, mobile"}}}],k=n(1807),P=n(36342),T=[{processType:s.k.SERPProcessType.META_PATH,targetId:116,content:function(e){var t=e.language,n=e.t;return{title:n("SEO_Recharge_title"),keywords:"recharge, coins recharge, get coins, TikTok, \u30C6\u30A3\u30C3\u30AF\u30C8\u30C3\u30AF, tik tok, tick tock, tic tok, tic toc, tictok, \u0442\u0438\u043A \u0442\u043E\u043A, ticktock",description:n("SEO_Recharge_desc"),robotsContent:u.kl.INDEX,canonicalHref:"".concat(u.AQ).concat(u.Gj,"?lang=").concat(void 0===t?"en":t),applicableDevice:"pc, mobile"}}}],S=[{processType:s.k.SERPProcessType.META_PATH,targetId:111,content:function(e){var t=e.language,n=e.t,r=e.contentInfo,o=e.eventName;return{title:r?n("search_on_tiktok",{eventname:null==r?void 0:r.query,ns:"MT_Reflow"}):n("offline_title",{ns:"MT_Reflow"}),keywords:"".concat(n("landing_page_key_word_1",{ns:"MT_Reflow"}),",").concat(null==r?void 0:r.query),description:r?n("outapp_copywriter",{eventname:null==r?void 0:r.query,ns:"MT_Reflow"}):n("expiration_reminder",{ns:"MT_Reflow"}),robotsContent:u.kl.INDEX,canonicalHref:"".concat(u.TB,"/").concat(o,"?lang=").concat(void 0===t?"en":t),applicableDevice:"pc, mobile"}}}];function E(e){return/^\/tag\/.+/.test(e)}var A=[{processType:s.k.SERPProcessType.META_PATH,targetId:104,content:function(e){var t=e.keyword,n=e.t,r=e.detailResponse,o=e.pathname,i=(null!=r?r:{}).word,a=(void 0===i?{language:void 0}:i).content,s=(void 0===a?"":a).replace(/-/g," ");return{title:n("seo_serp_expansion_title",{expansion_keywords:s}),keywords:"".concat(s,", ").concat(n("TikTok i18n keywords")),description:"".concat(n("seo_serp_expansion_num1",{expansion_keywords:s})),canonicalHref:L(t,void 0===o?"":o),robotsContent:"index, follow",applicableDevice:"pc, mobile"}}},{processType:s.k.SERPProcessType.JSONLD_PATH,targetId:104,content:function(e){var t,n,r=e.keyword,o=void 0===r?"":r,i=e.seoProps,s=void 0===i?{}:i,d=s.itemList,p=s.abtest,f=e.pathname,v=void 0===f?"":f,g=E(v)?"".concat(u.sF,"/").concat(o):"".concat(u._0,"/").concat(o),h=E(v)?u.sF:u._0,m=null!=(n=null==(t=null==p?void 0:p.parameters.kep_collection_page_modified_date)?void 0:t.vid)?n:"v0",_=E(v)?"Challenge":u.W4,y=(0,l.tl)(m,L(o,v)),b=(0,l.SH)([{url:c.C,name:u.e4},{url:h,name:_},{url:g,name:o}]);return[[a.Y.JsonldType.Page,y],[a.Y.JsonldType.BreadcrumbList,b],[a.Y.JsonldType.ItemList,null!=d?d:{}]]}}];function L(e,t){return/^\/tag\/.+/.test(t)?"".concat(u.sF,"/").concat(e):"".concat(u._0,"/").concat(e)}var C=[{processType:s.k.SERPProcessType.META_PATH,targetId:14,content:function(e){var t,n=e.language,r=e.t,o=e.user,i=null!=(t=null==o?void 0:o.uniqueId)?t:"",a=[null==o?void 0:o.nickName,"@".concat(i),"live","live room","tiktok search",r("TikTok i18n keywords")].join(", ");return{title:r("SEO_live_title",{username:i}),keywords:a,description:r("SEO_live_title",{username:i}),robotsContent:u.kl.INDEX,canonicalHref:"".concat(u.AQ).concat(u.yI,"?lang=").concat(void 0===n?"en":n),applicableDevice:"pc, mobile"}}}],O=[{processType:s.k.SERPProcessType.META_PATH,targetId:15,content:function(e){var t=e.t;return{title:t("SEO_live_discover_title"),keywords:"live, live stream, TikTok, \u30C6\u30A3\u30C3\u30AF\u30C8\u30C3\u30AF, tik tok, tick tock, tic tok, tic toc, tictok, \u0442\u0438\u043A \u0442\u043E\u043A, ticktock",description:t("SEO_live_discover_desc"),robotsContent:u.kl.INDEX,canonicalHref:"".concat(u.AQ).concat(u.Zt),applicableDevice:"pc, mobile"}}}],I=[{processType:s.k.SERPProcessType.META_PATH,targetId:12,content:function(e){var t,n,r,o,i=e.t,a=e.userInfo,s=e.LiveRoomInfo,l=e.event,d=null!=(t=null==s?void 0:s.title)?t:"",p=null==s?void 0:s.status,f=null!=(r=null==(n=null==a?void 0:a.user)?void 0:n.uniqueId)?r:"",v=null==(o=null==a?void 0:a.user)?void 0:o.nickname,g="".concat(v," (@").concat(f,")"),h=[v,"@".concat(f),"live","live room","tiktok search",i("TikTok i18n keywords")].join(", "),m=(0,y.G2)({uniqueId:f}),_="".concat(c.C).concat(m),b=i("SEO_live_title",{username:g}),w="".concat(d?"".concat(d,". "):"").concat(i("SEO_live_desc",{username:g}));return 2!==p&&l&&(w="".concat(i("SEO_live_desc2",{event_name:null==l?void 0:l.title,username:g}))),{title:b,keywords:h,description:w,robotsContent:u.kl.INDEX,canonicalHref:_,applicableDevice:"pc, mobile"}}},{processType:s.k.SERPProcessType.JSONLD_PATH,targetId:12,content:function(e){e.t;var t,n,r,o,i=e.userInfo,a=e.seoProps,s=e.event,d=(null!=a?a:{}).videoObject,p=null!=(n=null==(t=null==i?void 0:i.user)?void 0:t.uniqueId)?n:"",f=null!=(o=null==(r=null==i?void 0:i.user)?void 0:r.nickname)?o:"",v=(0,y.G2)({uniqueId:p}),g="".concat(c.C).concat(v),h=(0,y.fJ)({uniqueId:p}),m="".concat(c.C).concat(h),_=(0,y.$2)(p)?"".concat(f," (@").concat(p,")"):"".concat(f),b=s?{"@type":"Event",name:s.title,url:g,description:s.description,startDate:new Date(1e3*Number(s.startTime)).toISOString(),endDate:new Date((Number(s.startTime)+Number(s.duration))*1e3).toISOString(),eventStatus:"http://schema.org/EventScheduled",eventAttendanceMode:"http://schema.org/OnlineEventAttendanceMode",location:{"@type":"VirtualLocation",url:g},Organizer:{"@type":"Organization",name:f,alternateName:p,url:m}}:null,w=(0,l.SH)([{url:c.C,name:u.e4},{url:m,name:_},{url:g,name:"LIVE"}]),k=[];return b&&k.push(["Event",b]),k.push(["BreadcrumbList",w]),d&&k.push(["VideoObject",null!=d?d:{}]),k}}],x=[{processType:s.k.SERPProcessType.META_PATH,targetId:17,content:function(e){var t=e.mc_info,n=e.status_code,r=e.t,o=null!=t?t:{},i=o.id_str,a=o.name,s=void 0===a?"":a,c=0===n&&""!==s,l=r("playlist_sharing_metatitle",{playlist_name:s}),d=[s,r("TikTok i18n keywords")].join(","),p=r("playlist_sharing_metadescription",{playlist_name:s}),f="".concat(u.AQ,"/playlist-music/").concat(s,"-").concat(void 0===i?"":i),v=c?u.kl.INDEX:u.kl.NO_INDEX;return c||(l="",p=""),{title:l,keywords:d,description:p,canonicalHref:f,robotsContent:v,applicableDevice:"pc, mobile"}}}],N=a.Y.JsonldType,D=new Map([["animals",{titleI18NKey:"SEO_foryou_animals_title",descriptionI18NKey:"SEO_foryou_animals_desc"}],["beauty",{titleI18NKey:"SEO_foryou_beauty_title",descriptionI18NKey:"SEO_foryou_beauty_desc"}],["comedy",{titleI18NKey:"SEO_foryou_comedy_title",descriptionI18NKey:"SEO_foryou_comedy_desc"}],["dance",{titleI18NKey:"SEO_foryou_dance_title",descriptionI18NKey:"SEO_foryou_dance_desc"}],["food",{titleI18NKey:"SEO_foryou_food_title",descriptionI18NKey:"SEO_foryou_food_desc"}],["gaming",{titleI18NKey:"SEO_foryou_gaming_title",descriptionI18NKey:"SEO_foryou_gaming_desc"}],["sports",{titleI18NKey:"SEO_foryou_sports_title",descriptionI18NKey:"SEO_foryou_sports_desc"}]]),M=[{processType:s.k.SERPProcessType.META_PATH,targetId:113,content:function(e){var t,n=e.language,r=e.t,o=e.topic,i=null!=(t=D.get(o))?t:{},a=i.titleI18NKey,s=void 0===a?"":a,c=i.descriptionI18NKey,l=void 0===c?"":c;return s&&l?{title:r(s),keywords:r("TikTok i18n keywords"),description:r(l),robotsContent:u.kl.INDEX,canonicalHref:"".concat(u.AQ,"/topics/").concat(o,"?lang=").concat(void 0===n?"en":n),applicableDevice:"pc, mobile"}:{}}},{processType:s.k.SERPProcessType.JSONLD_PATH,targetId:113,content:function(e){var t=e.seoProps,n=(void 0===t?{}:t).itemList;return[[N.ItemList,null!=n?n:{}]]}}],R=[{processType:s.k.SERPProcessType.META_PATH,targetId:114,content:function(e){var t=e.t,n=e.eventTitle,r=void 0===n?"":n,o=e.eventId,i=e.subscriberCount;return{title:t("share_live_event_title",{"Event Topic":r}).replace("{Event Topic}",r),keywords:"live, live event, TikTok, \u30C6\u30A3\u30C3\u30AF\u30C8\u30C3\u30AF, tik tok, tick tock, tic tok, tic toc, tictok, \u0442\u0438\u043A \u0442\u043E\u043A, ticktock",description:t("share_live_event_desc",{number:void 0===i?"":i}),robotsContent:u.kl.INDEX,canonicalHref:"".concat(u.AQ).concat(u.wk,"/").concat(void 0===o?"":o),applicableDevice:"pc, mobile"}}}],j=n(89786),U=n(68654),F=[{processType:s.k.SERPProcessType.META_PATH,targetId:119,content:function(e){var t,n,r=e.t,o=e.mixInfo,i=0===e.statusCode,a="@".concat(null==(t=null==o?void 0:o.creator)?void 0:t.uniqueId),s=null!=(n=null==o?void 0:o.name)?n:"Untitled playlist";return{title:r("playlist_share_title",{Playlist_name:s,username:a},"Playlist ".concat(s," created by ").concat(a)),description:r("playlist_share_desc",{},"Enjoy a curated video list and find more videos on TikTok!"),canonicalHref:i?"".concat(c.C,"/").concat(a,"/playlist/").concat(null==o?void 0:o.name,"-").concat(null==o?void 0:o.id):c.C,robotsContent:i?u.kl.INDEX:u.kl.NO_INDEX,applicableDevice:"mobile"}}},{processType:s.k.SERPProcessType.JSONLD_PATH,targetId:119,content:function(e){var t,n,r,o,i,s,l,d=e.seoProps,p=(void 0===d?{}:d).itemList,f=e.mixInfo,v=e.t;if(!(null==f?void 0:f.id))return[];var g="".concat(c.C).concat(j.$T.videoPlaylist({uniqueId:null!=(n=null==(t=f.creator)?void 0:t.uniqueId)?n:"",content:null!=(r=f.name)?r:"",id:f.id})),h="".concat(c.C).concat(j.$T.user({uniqueId:null!=(i=null==(o=f.creator)?void 0:o.uniqueId)?i:""})),m=f.creator,_=(null==m?void 0:m.uniqueId)?"".concat(null==m?void 0:m.nickname," (@").concat(null==m?void 0:m.uniqueId,")"):"".concat(null==m?void 0:m.nickname),y=v((null==(s=f.creator)?void 0:s.verified)?"user_SEO_official_title1":"user_SEO_title1",{username:_});return[[a.Y.JsonldType.Page,{"@type":"ItemPage","@id":g}],[a.Y.JsonldType.ItemList,null!=p?p:{}],[U.e.type,new U.e([{url:c.C,name:u.e4},{url:h,name:y},{url:g,name:null!=(l=f.name)?l:"playlist"}])]]}}],B=[{processType:s.k.SERPProcessType.META_PATH,targetId:6,content:function(e){var t,n,r,o,i=e.stickerInfo,a=(void 0===i?{}:i).sticker,s=e.t;return a?{title:s("share_effect_title",{sticker_name:a.name}),description:s("share_sticker_desc",{sticker_desc:a.desc,number:(0,_.D1)(null!=(n=null==(t=a.stickerStats)?void 0:t.useCount)?n:0),num:null!=(o=null==(r=a.stickerStats)?void 0:r.useCount)?o:0}),robotsContent:u.kl.INDEX,canonicalHref:"".concat(c.C,"/sticker/").concat(a.name,"-").concat(a.id),applicableDevice:"mobile"}:{title:s("share_sticker_preset"),description:"",robotsContent:u.kl.NO_INDEX,applicableDevice:"mobile"}}}],H=n(39615),Y=n(58425);function V(e,t,n){return"/".concat(n?"place":"travel","/").concat(t.replace(/\s/g,"-"),"-").concat(e)}var q=[{processType:s.k.SERPProcessType.META_PATH,targetId:18,content:function(e){var t,n=e.poiInfo,r=e.statusCode,o=e.t,i=e.isUs,a=e.isRegion,s=e.relatedWordList,c=e.isPlacePath,l=(null!=n?n:{}).poi,d=void 0===l?{}:l,p=d.id,f=d.name,v=void 0===f?"":f,g=d.indexEnabled,h=(null!=(t=null==n?void 0:n.stats)?t:{}).videoCount,m=V(void 0===p?"":p,v,c),y="".concat(u.AQ).concat(m),b=void 0!==g&&g?u.kl.INDEX:u.kl.NO_INDEX;if(i&&(null==n?void 0:n.poi.allLevelGeoPoiInfo)){var w,k,P,T,S=n.poi.allLevelGeoPoiInfo,E=(null==(w=S.L1GeoPoiInfo)?void 0:w.PoiName)?S.L1GeoPoiInfo.PoiName:(null==(k=S.L0PoiGeoInfo)?void 0:k.PoiName)?S.L0PoiGeoInfo.PoiName:"",A=(T=Object.keys(S)).length&&(null==(P=S[T[T.length-1]])?void 0:P.PoiName)||"",L=s?(0,Y.o8)(s).splice(0,20).join(","):"",C=o("basicPoi_metaTdk_title",{poiName:v}),O=a?o("basicPoi_metaTdk_regional_desc",{videoCount:h,regionalPoiName:v}):o("basicPoi_metaTdk_store_desc",{poiName:v,l1PoiName:E,videoCount:h});return{title:C,keywords:a?o("basicPoi_metaTdk_keyword",{poiName:v,relatedKeyword:L}):o("basicPoi_metaTdk_storeSite",{poiName:v,currentRegionalPoiName:A,currentL1RegionalPoiName:E,ttTypeNameMedium:n.poi.ttTypeNameMedium,ttTypeNameSuper:n.poi.ttTypeNameSuper,ttTypeNameTiny:n.poi.ttTypeNameTiny}),description:O,canonicalHref:y,robotsContent:b,applicableDevice:"pc"}}var I="".concat(v," | ").concat(o("poidetails_tiktokplaces")),x="".concat((0,_.D1)(h)," ").concat(o("videos_"),". ").concat(o("poidetails_location_name_placehldtwo").replace("{ }",v));switch(r){case H.kd:case H.oe:I=o("poisuggest_placeuna_title_1"),x="";break;case H.k2:I=o("err_feature_unavailable"),x=""}return{title:I,keywords:"",description:x,canonicalHref:y,robotsContent:b,applicableDevice:"pc"}}},{processType:s.k.SERPProcessType.JSONLD_PATH,targetId:18,content:function(e){var t,n=e.poiInfo,o=e.seoProps,i=(e.t,e.isUs),s=e.isPlacePath,d=e.noStructureData,p=null!=o?o:{},f=p.itemList,v=p.metaParams,g=p.videoObject;if(!(null==n?void 0:n.poi)||d)return[];var h=null!=(t=n.poi)?t:{},m=h.name,_=void 0===m?"":m,y=h.id,b=h.allLevelGeoPoiInfo,w=(null!=v?v:{}).title,k=V(void 0===y?"":y,_,void 0!==s&&s),P="".concat(c.C).concat(k),T=(0,l.SH)([{url:c.C,name:u.e4}].concat((0,r._)(i?(0,Y.Pi)(b):[]),[{url:P,name:null!=w?w:"".concat(_," | TikTok")}]));return[[a.Y.JsonldType.Page,{"@type":"CollectionPage","@id":P}],[a.Y.JsonldType.ItemList,null!=f?f:{}],[a.Y.JsonldType.BreadcrumbList,T],[a.Y.JsonldType.VideoObject,null!=g?g:{}]]}}],G=n(12886),W=[{processType:s.k.SERPProcessType.META_PATH,targetId:130,content:function(e){var t=e.t;return{title:t("pm_mt_ls_download_button"),description:t("SEO TikTok Description"),robotsContent:u.kl.INDEX,canonicalHref:"".concat(u.AQ).concat(u.z6),applicableDevice:"pc, mobile"}}}],z=[{processType:s.k.SERPProcessType.META_PATH,targetId:131,content:function(e){var t=e.t;return{title:t("pm_mt_ls_download_button"),description:t("SEO TikTok Description"),robotsContent:u.kl.INDEX,canonicalHref:"".concat(u.AQ).concat(u.dW),applicableDevice:"pc, mobile"}}}],K=n(31292),J=n(87998),Z=[{processType:s.k.SERPProcessType.META_PATH,targetId:132,content:function(e){var t,n,r,o,i,a,s,c,l,d=e.relatedKeywordsResponse,p=e.detailResponse,f=e.t,v=e.region,g=null!=(c=null==p?void 0:p.wordDetail)?c:{},h=g.formattedWord,m=void 0===h?"":h,_=g.uniqueWord,y=void 0===_?"":_;if(!y)return{robotsContent:"noindex, nofollow"};var b=(null!=(l=null==d?void 0:d.relatedKeywords)?l:[]).map(function(e){return e.formattedWord}),w=(t=f,n=m,t("seo_tts_selected_title",{s_keywords:(0,K.zh)(n)})),k=(r=f,o=m,r("seo_tts_selected_desc",{s_keywords:(0,K.zh)(o)})),P=(i=f,a=m,s=b,i("seo_tts_selected_keywords",{keywords:"".concat((0,K.zh)(a),", ").concat(Q(s).join(", "))})),T=(0,J.p0)({region:v,uniqueWord:y});return{title:w,keywords:P,description:k,canonicalHref:"".concat(u.AQ).concat(T),robotsContent:"index, follow",applicableDevice:"pc, mobile"}}},{processType:s.k.SERPProcessType.JSONLD_PATH,targetId:132,content:function(e){var t,n,r,o=e.detailResponse,i=e.seoProps,s=void 0===i?{}:i,c=s.itemList,d=s.abtest,p=e.region,f=(null!=(t=null==o?void 0:o.wordDetail)?t:{}).uniqueWord,v=null!=(r=null==(n=null==d?void 0:d.parameters.kep_collection_page_modified_date)?void 0:n.vid)?r:"v0",g=(0,J.p0)({region:p,uniqueWord:void 0===f?"":f}),h="".concat(u.AQ).concat(g),m=(0,l.tl)(v,h);return[[a.Y.JsonldType.Page,m],[a.Y.JsonldType.ItemList,null!=c?c:{}]]}}],Q=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;return e.slice(0,t).map(function(e){return(0,K.zh)(e)})},$=n(93427),X=(0,r._)(o.Dj).concat((0,r._)(i.F),(0,r._)(d),(0,r._)(p),(0,r._)(f.c),(0,r._)(v.I),(0,r._)(g.H),(0,r._)(h.X),(0,r._)(b),(0,r._)(w),(0,r._)(k.f),(0,r._)(P.z),(0,r._)(T),(0,r._)(S),(0,r._)(A),(0,r._)(C),(0,r._)(O),(0,r._)(I),(0,r._)(x),(0,r._)(M),(0,r._)(R),(0,r._)(F),(0,r._)(B),(0,r._)(q),(0,r._)(Y.Nr),(0,r._)(G.g),(0,r._)(W),(0,r._)(z),(0,r._)(Z),(0,r._)($.Hm)),ee=[]},68654:function(e,t,n){"use strict";n.d(t,{e:function(){return a}});var r=n(95170),o=n(35383),i="BreadcrumbList",a=function e(t,n){(0,r._)(this,e),this["@type"]=i,this.itemListElement=t.reduce(function(e,t,n){var r,i,a=t.url,s=t.name;return e.push((i={},(0,o._)(i,"@type","ListItem"),(0,o._)(i,"position",n+1),(0,o._)(i,"item",(r={},(0,o._)(r,"@type","Thing"),(0,o._)(r,"@id",a),(0,o._)(r,"name",s),r)),i)),e},[])};a.type=i},71095:function(e,t,n){"use strict";n.d(t,{F:function(){return d}});var r=n(11741),o=n(60194),i=n(31292),a=n(33877),s=n(89786),c=n(67792),u=n(60072),l=n(83869),d=[{processType:o.k.SERPProcessType.META_PATH,targetId:122,content:function(e){var t,n,r,o=e.keyword,c=e.t,l=e.wordDetailResponse,d=e.itemResponse,p=e.wordListResponse;if(!o)return{robotsContent:"noindex, nofollow"};var f=null!=(n=null==(t=null==l?void 0:l.wordDetail)?void 0:t.uniqueWord)?n:"",v=(0,i.zh)(o),g="".concat(v," | TikTok"),h=(0,u.D1)((0,i.Zo)(null!=(r=null==d?void 0:d.videoList)?r:[])),m=null==p?void 0:p.relatedKeywords,_=c("seo_aggre_metadesc1",{views:h,keywords:v}),y=m?(0,i.gW)(m.map(function(e){return e.formattedWord})):"";y&&(_+=" ".concat(c("seo_aggre_metadesc2",{related_search_keywords:y})));var b=v;return y&&(b+=", ".concat(y)),{title:g,keywords:b,description:_,canonicalHref:"".concat(a.C).concat(s.$T.channel({name:f})),robotsContent:"index, follow",applicableDevice:"pc, mobile"}}},{processType:o.k.SERPProcessType.JSONLD_PATH,targetId:122,content:function(e){var t=e.keyword,n=e.seoProps,o=(void 0===n?{}:n).itemList;if(!t)return[];var u=(0,i.zh)(t),d=t.replace(/\x20/g,"-").toLocaleLowerCase(),p="".concat(a.C).concat(s.$T.channel({name:d})),f=(0,l.SH)([{url:a.C,name:c.e4},{url:p,name:u}]);return[[r.Y.JsonldType.Page,{"@type":"CollectionPage","@id":p}],[r.Y.JsonldType.BreadcrumbList,f],[r.Y.JsonldType.ItemList,null!=o?o:{}]]}}]},12886:function(e,t,n){"use strict";n.d(t,{g:function(){return d}});var r=n(11741),o=n(60194),i=n(33877),a=n(67792),s=n(19619),c=n(65156),u=n(83869);function l(e,t,n){var r=(0,s.fJ)({uniqueId:e});return t&&n?"".concat(r,"/collection/").concat(t,"-").concat(n):r}var d=[{processType:o.k.SERPProcessType.META_PATH,targetId:121,content:function(e){var t=e.t,n=e.collectionInfo,r=null!=n?n:{},o=r.userName,i=void 0===o?"":o,s=r.name,u=void 0===s?"":s,d=r.collectionId,p=(0,c.F)(e),f=(0,c.y)(e),v=t("shared_collection_other_apps_title",void 0,"Collection %1$s created by %s").replace("%1$s",u).replace("%s",i),g=t("shared_collection_other_apps_description",void 0,"Watch amazing videos in this curated collection %1$s").replace("%1$s",u),h=p&&!f?a.kl.INDEX:a.kl.NO_INDEX,m=l(i,u,String(void 0===d?"":d));return{title:v,keywords:void 0,description:g,robotsContent:h,canonicalHref:"".concat(a.AQ).concat(m),applicableDevice:"pc, mobile"}}},{processType:o.k.SERPProcessType.JSONLD_PATH,targetId:121,content:function(e){if(!(0,c.F)(e))return[];var t=e.collectionInfo,n=e.seoProps,o=e.t,d=(null!=n?n:{}).itemList,p=null!=t?t:{},f=p.userName,v=void 0===f?"":f,g=p.name,h=void 0===g?"":g,m=p.collectionId,_=(0,s.fJ)({uniqueId:v}),y="".concat(i.C).concat(_),b="".concat(v),w=l(v,h,String(m)),k="".concat(i.C).concat(w),P=o("shared_collection_other_apps_title",void 0,"Collection %1$s created by %s").replace("%1$s",h).replace("%s",v),T=(0,u.SH)([{url:i.C,name:a.e4},{url:y,name:"".concat(b," | TikTok")},{url:k,name:null!=P?P:""}]);return[[r.Y.JsonldType.Page,{"@type":"ItemPage","@id":k}],[r.Y.JsonldType.BreadcrumbList,T],[r.Y.JsonldType.ItemList,null!=d?d:{}]]}}]},19584:function(e,t,n){"use strict";function r(e){return"".concat(e," | TikTok")}n.d(t,{s:function(){return r}})},18217:function(e,t,n){"use strict";n.d(t,{Dj:function(){return d}});var r=n(60194),o=n(11741),i=n(31292),a=n(33877),s=n(67792),c=n(60072),u=n(83869),l=n(19584),d=[{processType:r.k.SERPProcessType.META_PATH,targetId:124,content:function(e){var t,n,r,o=e.keyword,a=e.t,u=e.itemResponse,l=e.expansionResponse,d=e.detailResponse,f=e.seoProps,v=void 0===f?{}:f,g=v.isKEPInFindUI,h=v.abtest,m=v.removeRelatedKeywordsInDesc,_=v.customTDK,y=null!=_?_:{},b=y.description,w=y.keywords,k=(void 0===w?[]:w).join(", "),P=null!=(n=null==(t=null==d?void 0:d.wordDetail)?void 0:t.formattedWord)?n:"",T=(0,i.zh)(P,h);if(!T)return{robotsContent:"noindex, nofollow"};var S=o.replace(/\x20/g,"-").toLocaleLowerCase(),E=p(T),A=(0,c.D1)((0,i.Zo)(null!=(r=null==u?void 0:u.videoList)?r:[])),L=null==l?void 0:l.relatedKeywords,C=(void 0===b?"":b)||"".concat(a("seo_aggre_metadesc1",{views:A,keywords:T})," "),O=L?(0,i.gW)(L.map(function(e){return e.formattedWord})):"";!m&&O&&(C+="".concat(a("seo_aggre_metadesc2",{related_search_keywords:O})));var I=T;k?I+=", ".concat(k):O&&(I+=", ".concat(O));var x="".concat(s._0,"/").concat(o),N="".concat(s.sP,"/").concat(S);return{title:E,keywords:I,description:C,canonicalHref:void 0!==g&&g?x:N,robotsContent:"index, follow",applicableDevice:"pc, mobile"}}},{processType:r.k.SERPProcessType.JSONLD_PATH,targetId:124,content:function(e){var t,n,r,i,c,l=e.keyword,d=void 0===l?"":l,p=e.seoProps,f=void 0===p?{}:p,v=f.itemList,g=f.metaParams,h=f.isKEPInFindUI,m=void 0!==h&&h,_=f.abtest,y=e.itemResponse,b=m?s._0:s.sP,w="".concat(b).concat(d?"/".concat(d):""),k=null!=(n=null==(t=null==_?void 0:_.parameters.kep_collection_page_modified_date)?void 0:t.vid)?n:"v0",P=null!=g?g:{},T=P.title,S=P.description,E=P.keywords,A=null!=(i=null==(r=null==y?void 0:y.videoList)?void 0:r[0].video.id)?i:"",L=!!(null==(c=null==_?void 0:_.parameters.kep_jsonld)?void 0:c.updateCollectionId),C=L?{name:T,description:S,image:(0,u.DE)(A)[0],url:w,keywords:E,mainEntity:{"@id":w}}:{},O=(0,u.tl)(k,w,C);L&&v&&(v.id=w);var I=m?(0,u.SH)([{url:a.C,name:s.e4},{url:s._0,name:s.W4},{url:"".concat(s._0,"/").concat(d),name:d}]):(0,u.SH)([{url:a.C,name:s.e4},{url:"".concat(s.sP,"/").concat(d),name:d}]);return[[o.Y.JsonldType.Page,O],[o.Y.JsonldType.BreadcrumbList,I],[o.Y.JsonldType.ItemList,null!=v?v:{}]]}}],p=l.s},93628:function(e,t,n){"use strict";n.d(t,{c:function(){return c}});var r=n(11741),o=n(60194),i=n(33877),a=n(67792),s=n(83869),c=[{processType:o.k.SERPProcessType.META_PATH,targetId:5,content:function(e){var t=e.language,n=e.t,r=["TikTok Trends","TikTok Trending","Trending Videos","Trending Hashtags","TikTok i18n keywords"].map(function(e){return n(e)}).join(",");return{title:n("SEO_trending_title"),keywords:r,description:n("SEO_trending_desc"),robotsContent:a.kl.INDEX,canonicalHref:"".concat(a.AQ).concat(a.E_,"?lang=").concat(void 0===t?"en":t),applicableDevice:"pc, mobile"}}},{processType:o.k.SERPProcessType.JSONLD_PATH,targetId:5,content:function(e){var t=e.seoProps,n=(void 0===t?{}:t).itemList,o=e.language,c={"@id":a.Sg,url:a.Ec,name:a.MA,description:a.ai,publisher:(0,s.xM)(i.C,void 0===o?"en":o)},u=(0,s.SH)([{url:i.C,name:a.e4},{url:a.Ec,name:a.MA}]);return[[r.Y.JsonldType.WebSite,c],[r.Y.JsonldType.BreadcrumbList,u],[r.Y.JsonldType.ItemList,null!=n?n:{}]]}}]},72176:function(e,t,n){"use strict";n.d(t,{I:function(){return f},j:function(){return p}});var r=n(11741),o=n(60194),i=n(33877),a=n(67792),s=n(39615),c=n(65156),u=n(19619),l=n(60072),d=n(83869);function p(e){var t,n,r,o,i,d,p,f,v,g,h,m,_,y,b,w,k,P,T,S,E,A,L,C,O,I,x,N=null==(x=null==(I=null==(O=e.seoProps)?void 0:O.abtest)?void 0:I.parameters.hashtag_page_related_hashtag_tdk)?void 0:x.vid,D=e.t,M=e.statusCode,R=e.challengeInfo,j=(0,c.F)(e),U=null!=R?R:{},F=U.challenge,B=void 0===F?{}:F,H=B.title,Y=void 0===H?"":H,V=B.desc,q=U.statsV2,G=(void 0===q?{}:q).videoCount,W="".concat(Y),z=D("seo_serp_hashtag_title",{hashtag:W}),K=(t=e,n=N,t.t,r=t.relatedChallengeList,"v3"===n||"v4"===n?(0,l.$C)(void 0===r?[]:r):void 0),J=(o=e,i=void 0===G?"":G,d=W,p=void 0===V?"":V,f=N,h=o.challengeInfo,m=o.seoProps,_=o.t,y=o.relatedChallengeList,w=(b=null!=(v=null==h?void 0:h.challengeAnnouncement)?v:{}).title,k=b.body,P="".concat((0,l._9)(null!=w?w:"")," ").concat((0,l._9)(null!=k?k:"")).trim(),S=_("seo_serp_hashtag_desc",{tagText:null!=(T=null!=(g=null==h?void 0:h.challenge.splitTitle)?g:null==m?void 0:m.splitTitle)?T:d}),E=_("playlist_webapp_profileview_playlists_numbervid",{num:i,number:(0,l.D1)(i)}),A=_("seo_serp_hashtag_desc1",{hashtag:d}),L="".concat(S).concat(Number(i)>1e3?"".concat(E," "):"").concat(A).concat(P?"".concat(P," "):"").concat((0,l._9)(p)),C=(0,l.$C)(void 0===y?[]:y),"v2"===f||"v4"===f?"".concat(L," ").concat(C):"".concat(L)),Z=j&&Y,Q=Z?"".concat(a.AQ).concat((0,u.hw)({tagName:Y})):"",$=Z?a.kl.INDEX:a.kl.NO_INDEX;switch(M){case s.bb:case s.Ad:case s.YF:case s.uM:z=D("err_tag"),J=""}return{title:z,keywords:K,description:J,canonicalHref:Q,robotsContent:$,applicableDevice:"pc, mobile"}}var f=[{processType:o.k.SERPProcessType.META_PATH,targetId:3,content:p},{processType:o.k.SERPProcessType.JSONLD_PATH,targetId:3,content:function(e){var t,n,o=e.challengeInfo,s=e.seoProps,c=void 0===s?{}:s,l=c.itemList,p=c.metaParams,f=(null!=(t=null==o?void 0:o.challenge)?t:{}).title,v=void 0===f?"":f,g="".concat(i.C).concat((0,u.hw)({tagName:v})),h=null!=(n=null==p?void 0:p.title)?n:"#".concat(v," | TikTok"),m=(0,d.SH)([{url:i.C,name:a.e4},{url:g,name:h}]);return[[r.Y.JsonldType.Page,{"@type":"ItemPage","@id":g}],[r.Y.JsonldType.ItemList,null!=l?l:{}],[r.Y.JsonldType.BreadcrumbList,m]]}}]},33765:function(e,t,n){"use strict";n.d(t,{H:function(){return c}});var r=n(11741),o=n(60194),i=n(33877),a=n(67792),s=n(83869),c=[{processType:o.k.SERPProcessType.META_PATH,targetId:101,content:function(e){var t=e.language,n=e.t,r=[n("SEO TikTok Keyword"),n("TikTok i18n keywords for home")].join(",");return{title:n("SEO_homepage_title"),keywords:r,description:n("SEO_homepage_desc"),robotsContent:a.kl.INDEX,canonicalHref:"".concat(a.AQ,"/").concat(void 0===t?"en":t,"/"),applicableDevice:"pc, mobile"}}},{processType:o.k.SERPProcessType.JSONLD_PATH,targetId:101,content:function(e){var t=e.language,n=void 0===t?"en":t,o="".concat(i.C,"/").concat(n,"/"),c={"@id":a.uZ,url:o,name:a.wl,description:a.Wf,publisher:(0,s.xM)(o,n),potentialAction:[{"@type":"SearchAction",target:a.Mt,"query-input":a.IP},{"@type":"SearchAction",target:a.F4,"query-input":a.IP}]};return[[r.Y.JsonldType.WebSite,c]]}}]},73767:function(e,t,n){"use strict";n.d(t,{I:function(){return p},X:function(){return f}});var r=n(11741),o=n(60194),i=n(33877),a=n(67792),s=n(39615),c=n(65156),u=n(60072),l=n(19619),d=n(83869);function p(e){var t,n,r=e.musicInfo,o=e.statusCode,i=e.t,d=(0,c.F)(e),p=(null!=r?r:{}).music,f=void 0===p?{}:p,v=f.id,g=void 0===v?"":v,h=f.title,m=void 0===h?"":h,_=f.authorName,y=void 0===_?"":_,b=f.scheduleSearchTime,w=void 0===b?0:b,k=(null!=(t=null==r?void 0:r.stats)?t:{}).videoCount,P=i("seo_serp_music_title",{musicName:m,authorName:y});n=i(m.toLowerCase().endsWith("song")?"seo_serp_music_desc3":"seo_serp_music_desc",{musicName:m,authorName:y});var T=i("seo_serp_music_desc1",{video_count:(0,u.D1)(k)}),S=i("seo_serp_music_desc2",{musicName:m}),E="";E=k&&k>=1e3?"".concat(n," ").concat(T," ").concat(S):"".concat(n," ").concat(S);var A=!0;if(0!==w){var L=Number(new Date);A=1e3*Number(w)<=L}var C=d&&m&&g,O=(0,l.pH)({musicName:m,musicId:g}),I=C?"".concat(a.AQ).concat(O):"",x=C&&A?a.kl.INDEX:a.kl.NO_INDEX;switch(o){case s.CB:case s.x2:P=i("err_sound"),E="";break;case s.E7:P=i("err_sound_copy"),E=""}return{title:P,keywords:void 0,description:E,canonicalHref:I,robotsContent:x,applicableDevice:"pc, mobile"}}var f=[{processType:o.k.SERPProcessType.META_PATH,targetId:4,content:p},{processType:o.k.SERPProcessType.JSONLD_PATH,targetId:4,content:function(e){var t,n=e.musicInfo,o=e.seoProps;e.t;var s=null!=o?o:{},c=s.itemList,u=s.metaParams;if(!(null==n?void 0:n.music))return[];var p=null!=(t=n.music)?t:{},f=p.title,v=void 0===f?"":f,g=p.id,h=p.authorName,m=null!=u?u:{},_=m.title,y=m.description,b=(0,l.pH)({musicName:v,musicId:void 0===g?"":g}),w="".concat(i.C).concat(b),k=null!=_?_:"".concat(v,"(").concat(void 0===h?"":h,") | TikTok"),P=(0,d.SH)([{url:i.C,name:a.e4},{url:w,name:k}]),T=(0,d.Df)(n.music,{description:y});return[[r.Y.JsonldType.Page,{"@type":"ItemPage","@id":w}],[r.Y.JsonldType.ItemList,null!=c?c:{}],[r.Y.JsonldType.BreadcrumbList,P],[r.Y.JsonldType.MusicRecording,T]]}}]},58425:function(e,t,n){"use strict";n.d(t,{Nr:function(){return _},Pi:function(){return m},SY:function(){return g},o8:function(){return f}});var r=n(54333),o=n(11741),i=n(60194),a=n(31292),s=n(33877),c=n(67792),u=n(39615),l=n(27155),d=n(60072),p=n(83869);function f(e){var t=e.relatedWordList;return(void 0===t?[]:t).map(function(e){return e.content})}function v(e,t,n){return"/".concat(n?"place":"travel","/").concat(t.replace(/ /g,"-"),"-").concat(e)}function g(e,t){var n,r=null==(n=l.Wk[e])?void 0:n.subTitles;return r?r.map(function(e){var n=e.display.endsWith("downtown")?"".concat(e.display," ").concat(t):"".concat(e.display," in ").concat(t);return{i18nTitle:e.title,title:n}}):[]}function h(e){return{url:"".concat(c.AQ).concat(v(String(null==e?void 0:e.PoiId)||"",(null==e?void 0:e.PoiName)||"")),name:"".concat((null==e?void 0:e.PoiName)||""," | TikTok")}}function m(e){return e?[e.L0PoiGeoInfo,e.L1GeoPoiInfo,e.L2GeoPoiInfo,e.L3GeoPoiInfo,e.L4GeoPoiInfo].filter(function(e){return void 0!==e}).map(h):[]}var _=[{processType:i.k.SERPProcessType.META_PATH,targetId:125,content:function(e){var t,n,r,o,i,s=e.poiInfo,p=e.statusCode,g=e.subcategoryPath,h=void 0===g?"":g,m=e.items,_=e.t,y=e.relatedWordList,b=e.isPlacePath,w=(null!=s?s:{}).poi,k=void 0===w?{}:w,P=k.id,T=k.name,S=void 0===T?"":T,E=k.allLevelGeoPoiInfo,A=k.indexEnabled,L=(0,d.D1)((0,a.Zo)(null!=m?m:[])),C=(null==(r=l.Wk[h])?void 0:r.display)||"",O=".";(null==(o=null==E?void 0:E.L1GeoPoiInfo)?void 0:o.PoiName)?O=E.L1GeoPoiInfo.PoiName:(null==(i=null==E?void 0:E.L0PoiGeoInfo)?void 0:i.PoiName)&&(O=E.L0PoiGeoInfo.PoiName);var I=(n=null==(t=l.Wk[h])?void 0:t.subTitles)?n.map(function(e){var t=e.display;return t.endsWith("downtown")?"".concat(t," ").concat(S):"".concat(t," in ").concat(S)}):[],x=y?f(y).splice(0,20).join(","):"",N=_("basicPoi_task2_metaTdk_title",{subcategoryName:C,poiName:S}),D=_("basicPoi_task2_metaTdk_desc",{subcategoryName:C,poiName:S,upperLevelPoiName:O,views:L,subtitle1:I[0],subtitle2:I[1],subtitle3:I[2],subtitle4:I[3]}),M=_("basicPoi_task2_metaTdk_keyword",{keywords:N,relatedSearch:x}),R=v(void 0===P?"":P,S,b),j="".concat(c.AQ).concat(R,"/").concat(h),U=void 0!==A&&A?c.kl.INDEX:c.kl.NO_INDEX;switch(p){case u.kd:case u.oe:N=_("poisuggest_placeuna_title_1"),D="",M="";break;case u.k2:N=_("err_feature_unavailable"),D="",M=""}return{title:N,keywords:M,description:D,canonicalHref:j,robotsContent:U,applicableDevice:"pc"}}},{processType:i.k.SERPProcessType.JSONLD_PATH,targetId:125,content:function(e){var t,n,i=e.poiInfo,a=e.seoProps,u=e.subcategoryPath,d=void 0===u?"":u,f=e.isPlacePath;e.t;var g=null!=a?a:{},h=g.itemList,_=g.videoObject;if(!(null==i?void 0:i.poi))return[];var y=null!=(t=i.poi)?t:{},b=y.name,w=void 0===b?"":b,k=y.id,P=y.allLevelGeoPoiInfo,T=(null==(n=l.Wk[d])?void 0:n.display)||"",S=v(void 0===k?"":k,w,void 0!==f&&f),E="".concat(s.C).concat(S,"/").concat(d),A="".concat(T," in ").concat(w," | TikTok"),L=(0,p.SH)([{url:s.C,name:c.e4}].concat((0,r._)(m(P)),[{url:"".concat(s.C).concat(S),name:"".concat(w," | TikTok")},{url:E,name:A}]));return[[o.Y.JsonldType.Page,{"@type":"CollectionPage","@id":E}],[o.Y.JsonldType.ItemList,null!=h?h:{}],[o.Y.JsonldType.BreadcrumbList,L],[o.Y.JsonldType.VideoObject,null!=_?_:{}]]}}]},93427:function(e,t,n){"use strict";n.d(t,{Hm:function(){return u}});var r=n(60194),o=n(11741),i=n(31292),a=n(67792),s=n(87998),c=n(19584),u=[{processType:r.k.SERPProcessType.META_PATH,targetId:133,content:function(e){var t,n,r=e.t,o=e.detailResponse,u=e.seoProps,l=(void 0===u?{}:u).abtest,d=null!=(n=null==(t=null==o?void 0:o.wordDetail)?void 0:t.formattedWord)?n:"",p=(0,i.zh)(d,l);if(!p)return{robotsContent:"noindex, nofollow"};var f="".concat(r("seo_kep_metaTitle",{s_title:p})),v="".concat(r("seo_kep_news_metaDesc",{s_title:p})," "),g=(0,c.s)(p),h=(0,s.PR)(null==o?void 0:o.wordDetail);return{title:g,keywords:v,description:f,canonicalHref:"".concat(a.AQ).concat(h),robotsContent:"index, follow",applicableDevice:"pc, mobile"}}},{processType:r.k.SERPProcessType.JSONLD_PATH,targetId:133,content:function(e){var t=e.detailResponse,n=e.seoProps,r=(void 0===n?{}:n).itemList,c=(0,s.PR)(null==t?void 0:t.wordDetail),u="".concat(a.AQ).concat(c),l=(0,i.XH)().monday;return[[o.Y.JsonldType.Page,{"@type":"CollectionPage","@id":u,dateModified:l}],[o.Y.JsonldType.ItemList,null!=r?r:{}]]}}]},1807:function(e,t,n){"use strict";n.d(t,{f:function(){return E}});var r=n(11741),o=n(60194),i=n(33877),a=n(67792),s=n(39615),c=n(65156),u=n(19619),l=n(60072),d=n(6586),p=function(e,t){if(0!==e.length){var n=e[0],r=e[0],o=new Map,i=new Set(t),a=!0,s=!1,c=void 0;try{for(var u,l,p,f=e[Symbol.iterator]();!(a=(p=f.next()).done);a=!0){var v=p.value;if(v.createTime>n.createTime&&(n=v),((null==(u=v.stats)?void 0:u.playCount)||0)>((null==(l=r.stats)?void 0:l.playCount)||0)&&(r=v),v.contents){var g=!0,h=!1,m=void 0;try{for(var _,y=v.contents[Symbol.iterator]();!(g=(_=y.next()).done);g=!0){var b=_.value,w=!0,k=!1,P=void 0;try{for(var T,S=(b.textExtra||[])[Symbol.iterator]();!(w=(T=S.next()).done);w=!0){var E=T.value.hashtagName;if(E&&!i.has(E)){var A=o.get(E)||0;o.set(E,A+1)}}}catch(e){k=!0,P=e}finally{try{w||null==S.return||S.return()}finally{if(k)throw P}}}}catch(e){h=!0,m=e}finally{try{g||null==y.return||y.return()}finally{if(h)throw m}}}}}catch(e){s=!0,c=e}finally{try{a||null==f.return||f.return()}finally{if(s)throw c}}var L=Array.from(o.entries()).sort(function(e,t){return t[1]-e[1]}).slice(0,3).map(function(e){return(0,d._)(e,1)[0]});return{mostRecentTitle:n.desc.length>20?"".concat(n.desc.slice(0,20),"..."):n.desc,mostPopularTitle:r.desc.length>20?"".concat(r.desc.slice(0,20),"..."):r.desc,topTags:L}}},f=n(68654),v=n(95170),g=n(35383),h=n(89786),m=n(83869),_="InteractionCounter",y=function e(t,n){(0,v._)(this,e),this["@type"]=_,this.interactionType={"@type":"http://schema.org/".concat(t.type)},this.userInteractionCount=t.count};y.type=_;var b="ProfilePage",w=function e(t,n,r,o){(0,v._)(this,e),this["@type"]=b;var a,s,c,u=h.$T.user({uniqueId:t.uniqueId}),l="".concat(i.C).concat(u),d=null==(a=null==o?void 0:o.parameters.user_structure_data_long_term)?void 0:a.vid;this.mainEntity=(c={},(0,g._)(c,"@id",l),(0,g._)(c,"@type","Person"),(0,g._)(c,"name",null!=(s=null==t?void 0:t.nickname)?s:""),(0,g._)(c,"image",(0,m.nE)(t.id)),(0,g._)(c,"description",t.signature),(0,g._)(c,"alternateName",t.uniqueId),(0,g._)(c,"url",l),(0,g._)(c,"sameAs",t.bioLink&&t.bioLink.link?[t.bioLink.link]:void 0),(0,g._)(c,"knowsLanguage",t.language),(0,g._)(c,"nationality",t.region),(0,g._)(c,"interactionStatistic",[new y({type:"LikeAction",count:Number(n.heart)||n.heartCount},r),new y({type:"FollowAction",count:n.followerCount},r)]),c),"v1"!==d&&(this.mainEntity.disambiguatingDescription=t.verified?"verified":"",this.mainEntity.identifier=t.uniqueId,this.mainEntity["@type"]=1===t.isOrganization?"Organization":"Person",delete this.mainEntity["@id"]),t.verified&&(this.mainEntity.reviewedBy=m.A_)};w.type=b;var k="ItemList",P=function e(t,n){(0,v._)(this,e),this["@type"]=k,this.itemListElement=t.map(function(e,t){return Object.assign({position:t+1},e)})};P.type=k;var T="MusicRecording",S=function e(t,n,r){(0,v._)(this,e),this["@type"]=T;var o,a,s,c=h.$T.music({id:t.id,title:t.title});this.url="".concat(i.C).concat(c),this.name=t.title,this.description=r.t("music_SEO_desc3",{musicName:t.title,authorName:t.authorName,posts:(0,l.D1)(n.videoCount)}),this.image=t.coverMedium,this.duration=(0,l.NI)(null!=(o=t.duration)?o:0),this.byArtist={"@type":"Person",name:[null!=(a=t.authorName)?a:""]},this.inAlbum={"@type":"MusicAlbum",name:null!=(s=t.album)?s:""}};S.type=T;var E=[{processType:o.k.SERPProcessType.META_PATH,targetId:1,content:function(e){var t,n,r,o,i,d,f=e.userInfo,v=void 0===f?{}:f,g=e.statusCode,h=e.t,m=e.seoProps,_=void 0===m?{}:m,y=_.abtest,b=_.userPageTagBlackList,w=e.items,k=e.hasFutureLiveEvent,P=(0,c.F)(e),T=v.user,S=void 0===T?{}:T,E=S.verified,A=void 0!==E&&E,L=S.nickname,C=void 0===L?"":L,O=S.uniqueId,I=void 0===O?"":O,x=S.signature,N=S.roomId,D=v.stats,M=void 0===D?{}:D,R=M.heart,j=void 0===R?0:R,U=M.followerCount,F=void 0===U?0:U,B=(0,u.$2)(I),H=(0,l.Ug)(C,I),Y=(0,u.fJ)({secUid:"",uniqueId:I}),V=P&&C&&B,q=V?a.kl.INDEX:a.kl.NO_INDEX;q=[q,a.kl.IMAGE_PREVIEW_LARGE].join(", ");var G=V?"".concat(a.AQ).concat(Y):"",W=A?"seo_serp_user2_title":"seo_serp_user1_title";(null==(t=null==y?void 0:y.parameters.user_tdk_improvement)?void 0:t.vid)==="v1"&&(null==(n=null==y?void 0:y.parameters.user_tdk_improvement)?void 0:n.mode)!=="desc"&&(W="seo_serp_user1_title");var z=h(W,{username:H}),K=(0,l._9)(void 0===x?"":x),J=h("seo_serp_user_desc",{username:H});if(j>20&&(J+=h("seo_serp_user_desc1",{heart:(0,l.D1)(Number(j))})),F>20&&(J+=h("seo_serp_user_desc2",{follower:(0,l.D1)(F)})),J+="".concat(K).concat(K&&!(0,l.Ch)(K)?".":""),(null==(r=null==y?void 0:y.parameters.user_tdk_improvement)?void 0:r.vid)==="v1"&&(null==(o=null==y?void 0:y.parameters.user_tdk_improvement)?void 0:o.mode)!=="title"&&(F>1e3||A)&&w&&w.length>2){var Z=null!=(i=p(w,void 0===b?[]:b))?i:{},Q=Z.mostPopularTitle,$=Z.mostRecentTitle,X=Z.topTags;J+=h("seo_tdkImprove_body",{s_nickname:C,most_recent_video_title_1:void 0===$?"":$,hot_video_title2:void 0===Q?"":Q,followers_count:(0,l.D1)(F),tags:(void 0===X?[]:X).join(", "),num:F},J)}else J+=h("seo_serp_user_desc3",{username:H});switch(((void 0===N?"":N)||void 0!==k&&k)&&(null==(d=null==y?void 0:y.parameters.user_live_seo)?void 0:d.vid)==="v2"&&(z=h("seo_liveEntry_header",{s_nickname:H}),J=h("seo_liveEntry_desc",{s_liveTitle:"".concat(C," is LIVE now"),s_desc:J})),g){case s.wv:case s.kV:case s.MG:case s.ab:z=h("err_user"),J="";break;case s.OT:z=h("err_user_private"),J=""}return{title:z,keywords:void 0,description:J,canonicalHref:G,robotsContent:q,applicableDevice:"pc, mobile"}}},{processType:o.k.SERPProcessType.JSONLD_PATH,targetId:1,content:function(e){var t,n,o=e.userInfo,s=e.seoProps,c=void 0===s?{}:s,l=c.itemList,d=c.abtest,p=e.musicList,v=void 0===p?[]:p,g=e.t;if(!(null==(t=null==o?void 0:o.user)?void 0:t.uniqueId))return[];var h=o.user,m=h.nickname,_=h.uniqueId,y=void 0===_?"":_,b=h.secUid,k=(0,u.fJ)({secUid:null!=b?b:"",uniqueId:y}),T="".concat(i.C).concat(k),E=(0,u.$2)(y)?"".concat(m," (@").concat(y,")"):"".concat(m),A="".concat(E," | TikTok"),L="v1"===(null==(n=null==d?void 0:d.parameters.user_structure_data_long_term)?void 0:n.vid)?[[r.Y.JsonldType.ItemList,null!=l?l:{}],[f.e.type,new f.e([{url:i.C,name:a.e4},{url:T,name:A}])],[w.type,new w(o.user,o.stats,void 0,d)]]:[[w.type,new w(o.user,o.stats,void 0,d)],[f.e.type,new f.e([{url:i.C,name:a.e4},{url:T,name:A}])],[r.Y.JsonldType.ItemList,null!=l?l:{}]];return v.length&&L.push([P.type,new P(v.filter(function(e){return e.stats}).slice(0,9).map(function(e){return new S(e.music,e.stats,{t:g})})),{name:"MusicRecordingItemList"}]),L}}]},36342:function(e,t,n){"use strict";n.d(t,{G:function(){return b},z:function(){return w}});var r=n(11741),o=n(60194),i=n(33877),a=n(75434),s=n(67792),c=n(39615),u=n(65156),l=n(19619),d=n(60072),p=n(54333),f=function(e){var t=e.__,n=e._i18n,r=e.usernameTag,o=e.musicTag,i=e.diggCount,a=e.commentCount,s=e.stickersOnItem,c=e.videoText,u=e.topSearchQueryAfterViewWord,l=e.customDescription,p=(0,d.qV)(s,[4],3).join(" | "),f=(0,d.qV)(s,[9],3).join(" "),v=i>=20?t("seo_serp_videotxt_desc1",n({likes:(0,d.D1)(i)})):"",g=a>=20?t("seo_serp_videotxt_desc2",n({comments:(0,d.D1)(a)})):"",h=l||c,m=t("seo_serp_videotxt_desc3",n({username:r,videoText:h})),_=u?t("seo_serp_searchQuery_desc",{searchQueryAfterView:u}).concat(" "):"",y=t("seo_serp_musicName_desc",n({musicName:o})),b=[p].filter(function(e){return!!e}).join(". "),w=[f].filter(function(e){return!!e}).join(". "),k=0===h.length?m.replace(': ""',""):m,P=0===l.length?"".concat(_).concat(w).concat(b).concat(y):"";return"".concat(v).concat(g).concat(k).concat(P)},v=function(e){var t=e.searchQueryAfterViewList,n=e.customKeywords,r="";return n?r=n:t.length>0&&(r=t.slice(0,10).join(",")),r},g=function(e,t){var n=0,r=[];return(0,p._)(e).forEach(function(e){var o=e.length;o+n<=t&&(n+=o,r.push(e))}),r.join("")},h=function(e){var t=e.__,n=e._i18n,r=e.videoText,o=e.usernameTag,i=e.musicTag,a=e.topSearchQueryAfterViewWord,s=e.customTitle,c=r.length,u="";return s?u="".concat(s," | TikTok"):r&&a?u=t("serp_videoText_searchQuery_title",n({videoText:c>70?"".concat(g(r,70),"..."):r,searchQueryAfterView:a})):a&&!r?u=t("serp_videoText_searchQuery_title2",n({username:o,searchQueryAfterView:a})):!a&&r?u=t("seo_serp_videotxt_title",n({videoText:c>70?"".concat(g(r,70),"..."):r})):a||r||(u=t("seo_serp_videotxt_title2",n({username:o,musicName:i}))),u},m=n(57248),_=n(83869),y=n(89786);function b(e){var t,n,r,o,i,a,p,g,m,_,y=e.itemInfo,b=e.statusCode,w=e.seoProps,k=e.t,P=null!=w?w:{},T=P.preferredLanguage,S=P.customTDK,E=P.translatedLang,A=null!=S?S:{},L=A.title,C=A.description,O=A.keywords,I=(0,u.F)(e);if((0,u.y)(e))return{};var x=null!=(n=null==y?void 0:y.itemStruct)?n:{},N=x.id,D=x.desc,M=x.stickersOnItem,R=x.stats,j=null!=R?R:{},U=j.diggCount,F=j.commentCount,B=null!=(o=null==(r=null==y?void 0:y.itemStruct)?void 0:r.author)?o:{},H=B.nickname,Y=B.uniqueId,V=null!=(a=null==(i=null==y?void 0:y.itemStruct)?void 0:i.music)?a:{},q=V.title,G=V.authorName,W=null!=(g=null==(p=null==y?void 0:y.itemStruct)?void 0:p.suggestedWords)?g:[],z=W.length>0?W[0]:"",K=null!=(_=null==(m=null==y?void 0:y.itemStruct)?void 0:m.indexEnabled)&&_,J=(0,l.$2)(Y),Z=(0,d.Ug)(H,Y),Q=D?(0,d._9)(D):"",$=(0,d.E)(q,null!=G?G:""),X=(t=T?{lng:T}:{},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign(Object.assign({},e),t)}),ee=h({__:k,_i18n:X,preferredLanguage:T,videoText:Q,usernameTag:Z,musicTag:$,topSearchQueryAfterViewWord:z,customTitle:void 0===L?"":L}),et=v({searchQueryAfterViewList:W,customKeywords:(void 0===O?[]:O).join(", ")}),en=f({__:k,_i18n:X,usernameTag:Z,musicTag:$,diggCount:void 0===U?0:U,commentCount:void 0===F?0:F,stickersOnItem:void 0===M?[]:M,videoText:Q,topSearchQueryAfterViewWord:z,customDescription:void 0===C?"":C}),er=I&&H&&J&&N,eo=!!(null==y?void 0:y.itemStruct.imagePost),ei=er?eo?"".concat(s.AQ,"/@").concat(Y,"/photo/").concat(N):"".concat(s.AQ,"/@").concat(Y,"/video/").concat(N):"";E&&(ei+="?lang=".concat(E));var ea=er&&K?s.kl.INDEX:s.kl.NO_INDEX;switch(ea=[ea,s.kl.IMAGE_PREVIEW_LARGE].join(", "),b){case c.Zi:ee=k("err_vid_geo"),en="";break;case c.c:case c._d:case c.nV:case c.nm:case c.Fq:case c.Wx:case c.f6:ee=k("err_vid"),en="";break;case c.p$:ee=k("subVideo_outApp_sharing_title",{creator:H}),en=""}return{title:ee,keywords:et,description:en,canonicalHref:ei,robotsContent:ea,applicableDevice:"pc, mobile"}}var w=[{processType:o.k.SERPProcessType.META_PATH,targetId:0,content:b},{processType:o.k.SERPProcessType.JSONLD_PATH,targetId:0,content:function(e){var t,n,o,c,d,p,f=(0,u.F)(e),v=(0,a.xw)().query;if(!f)return[];var g=e.itemInfo,h=e.seoProps,b=e.t,w=null!=h?h:{},k=w.abtest,P=w.metaParams,T=w.videoObject,S=w.customTDK,E=w.socialMediaPosting;if((0,m._p)(k,v.lang).removeVideoObjectAndHTML)return[];var A=null!=S?S:{},L=A.title,C=A.description,O=A.keywords,I=null!=(t=null==g?void 0:g.itemStruct)?t:{},x=I.id,N=I.desc,D=null!=(o=null==(n=null==g?void 0:g.itemStruct)?void 0:n.author)?o:{},M=D.nickname,R=D.uniqueId,j=D.secUid,U=D.verified;if(!x||!R)return[];var F=(0,l.fJ)({secUid:j,uniqueId:R}),B="".concat(i.C).concat(F),H=b(U?"user_SEO_official_title1":"user_SEO_title1",{username:(0,l.$2)(R)?"".concat(M," (@").concat(R,")"):"".concat(M)}),Y=(null==g?void 0:g.itemStruct.imagePost)?y.$T.photo({id:x,uniqueId:R}):y.$T.video({id:x,uniqueId:R}),V="".concat(i.C).concat(Y),q=null!=(c=null==P?void 0:P.title)?c:N,G=q&&H?(0,_.SH)([{url:i.C,name:s.e4},{url:B,name:H},{url:V,name:q}]):{},W=null!=(p=null==(d=null==k?void 0:k.parameters.video_schema_title)?void 0:d.vid)?p:"v0",z=[];return z.push([r.Y.JsonldType.Page,{"@type":"ItemPage","@id":V}]),z.push([r.Y.JsonldType.BreadcrumbList,G]),T&&(L&&(T.name=L),O&&O.length>0&&(T.keywords=O.join(", ")),C&&(T.description="".concat(C," ").concat(T.description)),"v1"===W&&(T.name="".concat(T.creator.name," (@").concat(T.creator.alternateName,") - ").concat(T.name)),z.push([r.Y.JsonldType.VideoObject,null!=T?T:{}])),E&&(L&&(E.headline=L),C&&(E.articleBody="".concat(C," ").concat(E.articleBody)),z.push([r.Y.JsonldType.SocialMediaPosting,null!=E?E:{}])),z}}]},90651:function(e,t,n){"use strict";n.d(t,{d:function(){return p},y:function(){return d}});var r=n(54333),o=n(60194),i=new Set([o.k.SERPProcessType.JSONLD_PATH,o.k.SERPProcessType.META_PATH]),a=new Set([o.k.SERPProcessType.JSONLD_EXP,o.k.SERPProcessType.META_EXP]),s=new Set([o.k.SERPProcessType.JSONLD_PAGE,o.k.SERPProcessType.META_PAGE]),c=new Set([o.k.SERPProcessType.META_EXP,o.k.SERPProcessType.META_PAGE,o.k.SERPProcessType.META_PATH]),u=new Set([o.k.SERPProcessType.JSONLD_EXP,o.k.SERPProcessType.JSONLD_PAGE,o.k.SERPProcessType.JSONLD_PATH]),l=function(e,t){var n,o=t.seoProps,c=void 0===o?{}:o,u=c.pageId,l=c.pageType,d=c.abtest,p=null!=(n=null==d?void 0:d.vidList)?n:[],f=e.filter(function(e){return i.has(e.processType)&&e.targetId===l}),v=e.filter(function(e){return a.has(e.processType)&&p.includes(e.targetId.toString())}),g=e.filter(function(e){return s.has(e.processType)&&e.targetId===u});return(0,r._)(f).concat((0,r._)(v),(0,r._)(g))};function d(e,t){return l(t,e).filter(function(e){return c.has(e.processType)}).reduce(function(e,t){var n,r,o=t.content(e),i=null!=(r=null==(n=e.seoProps)?void 0:n.metaParams)?r:{};return Object.assign(Object.assign({},e),{seoProps:Object.assign(Object.assign({},e.seoProps),{metaParams:Object.assign(Object.assign({},i),o)})})},e)}function p(e,t){return l(t,e).filter(function(e){return u.has(e.processType)}).reduce(function(e,t){var n,o,i=t.content(e),a=null!=(o=null==(n=e.seoProps)?void 0:n.jsonldList)?o:[];return Object.assign(Object.assign({},e),{seoProps:Object.assign(Object.assign({},e.seoProps),{jsonldList:(0,r._)(a).concat((0,r._)(i))})})},e)}},60072:function(e,t,n){"use strict";n.d(t,{$C:function(){return l},Ch:function(){return g},D1:function(){return c},E:function(){return p},NI:function(){return v},Ug:function(){return d},_9:function(){return u},qV:function(){return f}});var r=n(54333),o=n(94810).A.isRealUniqueId;function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Math.round(Number("".concat(Number(e),"e").concat(t)))/Math.pow(10,t)}var a=1e9,s=BigInt(0x100000000);function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=Number(e);return t<0&&(t=Number(s+BigInt(e))),t<1e4?t.toString():t<999999?"".concat(i(t/1e3)).concat("K"):t<a-1?"".concat(i(t/1e6)).concat("M"):"".concat(i(t/a)).concat("B")}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.split(/(?:\r\n|\n|\r)/).map(function(e){return e.replace(/^\s+/gm,"")}).join(" ").trim()}function l(e){return"".concat(e.slice(0,10).map(function(e){return e.challenge.title.replace("#","")}).join(" "))}var d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return o(t)?"".concat(e," (@").concat(t,")"):"".concat(e)};function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.replace(" - ".concat(t),"")+(t?" - ".concat(t):"")}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,o=[];e.forEach(function(e){var n=e.stickerType,i=e.stickerText,a=void 0===i?[]:i;-1!==t.indexOf(null!=n?n:0)&&(null==a?void 0:a.length)&&o.push.apply(o,(0,r._)(a))});var i=o.length;return n>0&&i>n&&(o.splice(n,i-n),o.push("...")),o}function v(e){if(0===e)return"";var t=Math.floor(e/60),n=t%60,r=Math.floor(t/60),o=r%24,i=Math.floor(r/24),a="P";return i>0&&(a+="".concat(i,"D")),a+="T",o>0&&(a+="".concat(o,"H")),n>0&&(a+="".concat(n,"M")),a+="".concat(e%60,"S")}function g(e){return/([!@&/\\#,+()$~%.'":*?<>{}!?。]$)/.test(e)}},19619:function(e,t,n){"use strict";n.d(t,{$2:function(){return o},G2:function(){return s},WD:function(){return l},fJ:function(){return a},hw:function(){return c},l3:function(){return i},pH:function(){return u}});var r=n(94810);r.A.isPureNumber,r.A.hasIllegalText;var o=r.A.isRealUniqueId,i=r.A.getPureUniqueId;r.A.purifyMusicName;var a=r.h.getPureUserPath,s=r.h.getPureLivePath,c=(r.h.getPureVideoPath,r.h.getPureTagPath),u=r.h.getPureMusicPath,l=(r.h.getPureStickerPath,r.h.getPureQuestionPath)},83869:function(e,t,n){"use strict";n.d(t,{A_:function(){return h},DE:function(){return v},Df:function(){return d},SH:function(){return u},nE:function(){return g},tl:function(){return m},xM:function(){return l}});var r=n(94810),o=n(11741),i=n(33877),a=n(31292),s=n(67792),c=n(60072);function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return{itemListElement:e.reduce(function(e,t,n){var r=t.url,i=t.name;return e.push({"@type":o.Y.JsonldType.ListItem,position:n+1,item:{"@type":"Thing","@id":r,name:i}}),e},[])}}function l(e,t){var n=/ko/.test(t)?s.wQ:s.yN;return{"@type":"Organization","@id":s.A6,name:s.e4,url:e,sameAs:n,logo:{"@type":"ImageObject",url:i.U}}}function d(e,t){var n,o=e.title,a=void 0===o?"":o,s=e.id,u=e.authorName,l=void 0===u?"":u,d=e.coverMedium,p=e.duration,f=void 0===p?0:p,v=e.album,g=void 0===v?"":v,h=r.h.getPureMusicPath({musicName:a,musicId:void 0===s?"":s});return{url:"".concat(i.C).concat(h),name:a,description:null!=(n=null==t?void 0:t.description)?n:"",image:void 0===d?"":d,duration:(0,c.NI)(null!=f?f:0),byArtist:{"@type":"Person",name:[null!=l?l:""]},inAlbum:{"@type":"MusicAlbum",name:null!=g?g:""}}}var p="1988",f="".concat(i.C,"/api/img");function v(e){return e?["".concat(f,"/?itemId=").concat(e,"&location=").concat("0","&aid=").concat(p)]:[]}function g(e){return e?"".concat(f,"/?userId=").concat(e,"&location=").concat("2","&aid=").concat(p):void 0}var h={"@type":"Organization",name:"TikTok",url:"www.tiktok.com"},m=function(e,t,n){var r={"@type":"CollectionPage","@id":t};if("v0"===e)return Object.assign(Object.assign({},r),n);var o=(0,a.XH)(),i=o.today,s=o.monday;return Object.assign(Object.assign(Object.assign({},r),n),{dateModified:"v1"===e?i:s})}},65156:function(e,t,n){"use strict";function r(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.statusCode,r=void 0===n?0:n;return 0===r||10229===(e=r)||10230===e}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.statusCode,n=void 0===t?0:t;return 10216===n||2040001===n}n.d(t,{F:function(){return r},y:function(){return o}})},27155:function(e,t,n){"use strict";n.d(t,{Am:function(){return d},Cc:function(){return m},Eo:function(){return h},R:function(){return _},Ri:function(){return a},Rx:function(){return u},SW:function(){return f},V3:function(){return i},WG:function(){return l},Wk:function(){return s},lv:function(){return o},xG:function(){return p},yh:function(){return g}});var r="place",o="place",i="travel",a="travel",s={"things-to-do":{display:"Things to do",title:"basicPoi_toDoList_region",entry:"basicPoi_toDoList",popularListDisplay:"popular sightseeings in",popularListTitle:"seo_popular_sightseeing",idlType:0,subTitles:[{display:"Sightseeings",title:"basicPoi_sightSeeing",idlType:1},{display:"Outdoor activities",title:"basicPoi_outdoorActivities",idlType:2},{display:"Nightlife",title:"basicPoi_nightLife",idlType:3},{display:"Family friendly activities",title:"basicPoi_familyFriendly",idlType:4}]},"best-restaurants":{display:"Best restaurants",title:"basicPoi_bestRestaurant_region",entry:"basicPoi_foodNDrinks",popularListDisplay:"popular restaurants in",popularListTitle:"seo_popular_restaurant",idlType:1,subTitles:[{display:"Best brunch restaurants",title:"basicPoi_brunchRestaurants",idlType:6},{display:"Best fine dining restaurants",title:"basicPoi_fineDining",idlType:7},{display:"Best seafood restaurants",title:"basicPoi_seaFood",idlType:8},{display:"Best vegan restaurants",title:"basicPoi_veganRestaurants",idlType:9}]},hotels:{display:"Hotels",title:"basicPoi_hotels_region",entry:"basicPoi_hotels",popularListDisplay:"popular hotels in",popularListTitle:"seo_popular_hotel",idlType:2,subTitles:[{display:"Hotels in downtown",title:"basicPoi_downtownHotels",idlType:11},{display:"Pet friendly hotels",title:"basicPoi_petFriendly",idlType:12},{display:"Airbnbs",title:"basicPoi_airbnbs",idlType:13},{display:"Luxury hotels",title:"basicPoi_luxuryHotels",idlType:14}]},parks:{display:"Parks",title:"basicPoi_parks_region",entry:"basicPoi_parks",popularListDisplay:"popular parks in",popularListTitle:"seo_popular_park",idlType:4,subTitles:[{display:"Amusement parks",title:"basicPoi_amusementParks",idlType:16},{display:"Dog parks",title:"basicPoi_dogParks",idlType:17},{display:"Skate parks",title:"basicPoi_skateParks",idlType:18},{display:"Indoor parks",title:"basicPoi_indoorParks",idlType:19}]},shopping:{display:"Shopping",title:"basicPoi_shopping_region",entry:"basicPoi_shopping",popularListDisplay:"popular shopping malls in",popularListTitle:"seo_popular_shoppingMall",idlType:3,subTitles:[{display:"Shopping malls",title:"basicPoi_shoppingMalls",idlType:21},{display:"Shopping in downtown",title:"basicPoi_downtownShopping",idlType:22},{display:"Vintage shopping",title:"basicPoi_vintageShopping",idlType:23},{display:"Gift shops",title:"basicPoi_giftShops",idlType:24}]}};function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?e.replace(/([\[\]\,.?"\(\)+_*\/\\&\$#^@!%~`<>:;\{\}?,。·!¥……()+{}【】、|《》]|(?!\s)'\s+|\s+'(?!\s))/gi,"").trim().replace(/(\s+)-(\s+)/gi," ").replace(/\s+|・/gi,"-"):""}function u(){return Object.values(s).map(function(e){return{title:e.display,i18nTitle:e.title}})}function l(e,t){var n=d(e,t,{path:a});return Object.keys(s).map(function(e){return"".concat(n,"/").concat(e)})}function d(e,t,n){var r=null!=n?n:{},o=r.path,i=r.lang;return"/".concat(void 0===o?"travel":o,"/").concat(c(t),"-").concat(e).concat(i?"?language=".concat(i):"")}var p=function(e){return s[e.toLowerCase()]},f=function(e){return e?{isUS:"6252001"===e.countryCode,isRegional:1===e.type}:{isUS:!1,isRegional:!1}};Object.keys(s);var v=function(e,t){if(!e.poiInfo)return"";var n=null!=t?t:{},r=n.path,o=n.category,i=d(e.poiInfo.poi.id,e.poiInfo.poi.name,{path:r});return"".concat(i).concat(o?"/".concat(o.toLocaleLowerCase()):"")};function g(e){var t=e.poi,n=e.category,s=e.path;if(n)return{pageType:"subcategory",pagePath:a};if(!t)return{pageType:"nonUs",pagePath:r};var c=f(t),u=c.isUS,l=c.isRegional;return u?l?{pageType:"regional",pagePath:"place"===s?o:i}:{pageType:"store",pagePath:o}:{pageType:"nonUs",pagePath:r}}function h(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,s=null!=i?i:{},u=s.category,l=s.path,d=void 0===l?"travel":l,p="place"===d;if(!e||0!==e.statusCode)return{instruction:"redirect",code:r?404:301};var f=g({poi:null==(t=e.poiInfo)?void 0:t.poi,category:u,path:d}),h=f.pageType,m=f.pagePath;return"nonUs"===h?{instruction:"moveOn"}:!p&&"store"===h||p&&"subcategory"===h?{instruction:"redirect",code:404}:!r&&u&&u!==u.toLocaleLowerCase()?{instruction:"redirect",code:301,redirectUrl:v(e,{path:a,category:u})}:o!==c(null==(n=e.poiInfo)?void 0:n.poi.name)?{instruction:"redirect",code:301,redirectUrl:v(e,{path:m,category:u})}:{instruction:"moveOn"}}function m(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0;return e.some(function(e){var t;return 0!==e.statusCode||(null==(t=e.itemList)?void 0:t.length)===0})?t?{instruction:"redirect",code:n?404:301}:{instruction:"loadMore"}:{instruction:"moveOn"}}function _(e){var t=!0,n=!1,r=void 0;try{for(var o,i=e[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var a=o.value;if("redirect"===a.instruction)return a}}catch(e){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}var s=!0,c=!1,u=void 0;try{for(var l,d=e[Symbol.iterator]();!(s=(l=d.next()).done);s=!0){var p=l.value;if("loadMore"===p.instruction)return p}}catch(e){c=!0,u=e}finally{try{s||null==d.return||d.return()}finally{if(c)throw u}}return{instruction:"moveOn"}}},57248:function(e,t,n){"use strict";function r(e,t){var n,r=null==e?void 0:e.parameters.video_translation,o=(null==r?void 0:r.vid)==="v1",i=(null==r?void 0:r.allowedLanguage)?r.allowedLanguage.includes(null!=t?t:""):!!t,a=o&&i;return{inAB:a,translateTo:a?null==t?void 0:t.split("-")[0]:void 0,commentLimit:i&&(null==r?void 0:r.commentLimit)?r.commentLimit:0,updateInLangAndComment:i&&(null==r?void 0:r.updateInLangAndComment),updateStableUrl:i&&(null==r?void 0:r.updateStableUrl),removeHreflang:null!=(n=null==r?void 0:r.removeHreflang)?n:[],removeVideoObjectAndHTML:i&&(null==r?void 0:r.removeVideoObjectAndHTML)}}n.d(t,{_p:function(){return r},l6:function(){return o}});var o={mergeItemStructWithTranslation:function(e,t,n){var r,o;e&&t&&t&&(t.description||t.subtitleUrl||t.textStickerList&&t.textStickerList.length>0||t.subtitleText)&&(e.__TRANSLATE_TO__=n,e.__TRANSLATION__=t,t.description&&(e.desc=t.description,e.textExtra=[],e.contents=[]),t.subtitleText&&(e.__TRANSLATED_SUBTITLE__=t.subtitleText,e.video.subtitleInfos=[]),(o=t.subtitleUrl)&&/https:\/\/.+\//.test(o)&&(e.video.subtitleInfos=[{Url:t.subtitleUrl,UrlExpire:null!=(r=t.subtitleUrlExpire)?r:new Date().getTime()/1e3+9999,Format:"webvtt",Version:"1"}]),t.textStickerList&&(e.__TRANSLATED_STICKER__=t.textStickerList,e.stickersOnItem=[{stickerText:t.textStickerList,stickerType:4}]))},isItemTranslated:function(e){return e.__TRANSLATE_TO__},getTranslation:function(e){return e.__TRANSLATION__},getTextSticker:function(e){var t;return null!=(t=e.__TRANSLATED_STICKER__)?t:[]},getSubtitle:function(e){return e.__TRANSLATED_SUBTITLE__},restoreSubtitleInfos:function(e){if("undefined"!=typeof window&&"undefined"!=typeof document&&e){var t=e.__TRANSLATED_SUBTITLE__,n=e.video.subtitleInfos&&e.video.subtitleInfos.length>0;if(t&&!n){var r=new Blob([t],{type:"text/vtt"}),o=URL.createObjectURL(r);e.video.subtitleInfos=[{Url:o,UrlExpire:new Date().getTime()/1e3+9999,Format:"webvtt",Version:"1"}]}}}}},75434:function(e,t,n){"use strict";n.d(t,{MJ:function(){return c},T6:function(){return a},mH:function(){return l},xw:function(){return s},yK:function(){return u}});var r=n(54333),o=n(85943),i=n(26869);function a(){return{userAgent:window.navigator.userAgent||"",acceptLanguage:window.navigator.languages||[],referrer:document.referrer||""}}function s(){return{hostname:window.location.hostname||"",pathname:window.location.pathname||"",query:(0,i.parse)(window.location.search)}}function c(e){return o.A.get(e)}function u(){throw Error("this function only works on server side")}function l(){return console}["debug","info","warn","error"].reduce(function(e,t){return e[t]=function(){for(var e,n=arguments.length,o=Array(n),a=0;a<n;a++)o[a]=arguments[a];(0,i.parse)(window.location.search).debug&&(e=console)[t].apply(e,["[DebugLogger]:"].concat((0,r._)(o)))},e},{})},91402:function(e,t,n){"use strict";function r(e){return e.csr}n.d(t,{M:function(){return r}})},88491:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(21987),o=function(){return r.l}},54160:function(e,t,n){"use strict";n.d(t,{E:function(){return c}});var r=n(48748),o=n(95170),i=n(7120),a=n(78990),s=n(27112),c=function(e){function t(){var e;return(0,o._)(this,t),e=(0,r._)(this,t,arguments),e.terminate=function(t){return{type:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return s.p8+e}(t),payload:null,store:e.store}},e}return(0,i._)(t,e),t}(a.E)},28680:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var r=n(21987),o=new WeakMap,i=function(e){if("undefined"==typeof window)return void console.warn("[Warning]: Unexpctedly get injectable instance in SSR runtime, will return null instead.");if(!o.has(e)){var t=r.l.getInstance(e);if(!t)return void console.error("Instance has not mounted for Class: ".concat(e.constructor.name));o.set(e,t)}return o.get(e)}},77443:function(e,t,n){"use strict";n.d(t,{S:function(){return i},w:function(){return a}});var r=n(73580),o=n(23680);function i(e,t){return[(0,o.P)(e,t),a(e)]}function a(e){return(0,r.Nj)(e).dispatchers}},23680:function(e,t,n){"use strict";n.d(t,{P:function(){return v}});var r=n(6586),o=n(73580),i=n(71111),a=n(40099),s=n(28103),c=n(1475),u=n(95719),l=n(79262);function d(e,t){if(e===t)return!0;if((void 0===e?"undefined":(0,l._)(e))!=="object"||null===e||(void 0===t?"undefined":(0,l._)(t))!=="object"||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;var o=Object.prototype.hasOwnProperty,i=!0,a=!1,s=void 0;try{for(var c,u=n[Symbol.iterator]();!(i=(c=u.next()).done);i=!0){var d=c.value;if(!o.call(t,d)||e[d]!==t[d])return!1}}catch(e){a=!0,s=e}finally{try{i||null==u.return||u.return()}finally{if(a)throw s}}return!0}var p=n(80475),f=(0,i.atom)(null);function v(e,t){var n,l,v,g,h,m,_,y,b=e.jotaiAtom,w="jotaiAtom"in e;e.jotaiAtom&&(e.jotaiAtom.__SIGI_MODULE__=e);var k=function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:d,i=n||[],l=(0,a.useRef)(),p=(0,a.useRef)(),f=(0,a.useRef)();o(p.current,i)||(f.current=null!=t?t:s.D,l.current=f.current(e.state)),p.current=i;var v=(0,r._)((0,a.useReducer)(function(e){return e+1},0),2)[1],g=(0,a.useCallback)(function(e){var t=f.current(e);o(l.current,t)||(l.current=t,v())},[]),h=(0,a.useCallback)(function(){return e.state$.pipe((0,c.i)(1),(0,u.M)(g)).subscribe()},[e,g]),m=(0,a.useMemo)(function(){return h()},[h]);return(0,a.useEffect)(function(){var e=m.closed?h():m;return function(){e.unsubscribe()}},[m,h]),l.current}((0,o.Nj)(e).store,null==t?void 0:t.selector,null==t?void 0:t.dependencies,null==t?void 0:t.equalFn),P=(n=null!=b?b:f,l={selector:function(e){var n;return e?null!=(n=null==t?void 0:t.selector(e))?n:e:null},equalityFn:d},v=(0,i.useStore)(l),m=void 0===(h=(g=null!=l?l:{}).equalityFn)?Object.is:h,_=g.selector,y=function(){return v.get(n)},(0,p.useSyncExternalStoreWithSelector)(function(e){return v.sub(n,e)},y,y,null!=_?_:function(e){return e},m));return w?P:k}},91337:function(e,t,n){"use strict";n.d(t,{zq:function(){return o}});var r=n(61185);function o(){if(!window[r.DA]){var e,t,n={};try{n=JSON.parse(null!=(t=null==(e=document.getElementById(r.xD))?void 0:e.textContent)?t:"{}"),window[r.DA]=n}catch(e){console.error("error while parsing rehydration data"),window[r.DA]={}}}return window[r.DA][r.LH]}},61185:function(e,t,n){"use strict";n.d(t,{$9:function(){return s},DA:function(){return o},LH:function(){return i},cc:function(){return a},xD:function(){return r}});var r="__UNIVERSAL_DATA_FOR_REHYDRATION__",o="__$UNIVERSAL_DATA$__",i="__DEFAULT_SCOPE__",a=Symbol("i"),s=Symbol("s")},76794:function(e,t,n){"use strict";n.d(t,{Dh:function(){return s}});var r=n(6586),o=n(4237),i=n(40099),a=n(61185);function s(e,t,n){var s="",c="";"string"==typeof e?s=e:(s=e.key,c=e.scope);var u=(0,r._)((0,i.useState)(function(){if(!window[a.DA]||window[a.DA][a.cc]){var e,r,i,u,l={};try{l=JSON.parse(null!=(r=null==(e=document.getElementById(a.xD))?void 0:e.textContent)?r:"{}")}catch(e){console.error("error while parsing rehydration data")}window[a.DA]=window[a.DA]||{},window[a.DA][a.cc]=!1,window[a.DA][a.$9]=!0,window[a.DA]=(0,o.A)(window[a.DA],l)}var d=window[a.DA],p=c||a.LH,f=null!=(u=null==(i=d[p])?void 0:i[s])?u:void 0;if(void 0===f)return t;if(null==n?void 0:n.volatile){var v="".concat(s,"_volatile");d[p][v]=f,d[p][s]=void 0}return f}),2);return[u[0],u[1],function(){return null}]}},56605:function(e,t,n){"use strict";n.d(t,{A7:function(){return a},YI:function(){return i}});var r=n(35383);n(40099);var o=n(61185);function i(e,t){if(!window[o.DA]){var n,r,i,a,s={};try{s=JSON.parse(null!=(r=null==(n=document.getElementById(o.xD))?void 0:n.textContent)?r:"{}")}catch(e){console.error("error while parsing rehydration data")}window[o.DA]=s}return null!=(a=null==(i=window[o.DA][null!=t?t:o.LH])?void 0:i[e])?a:null}function a(e,t){if(null==(n=window[o.DA])?void 0:n[o.$9])throw Error("set universal data is not allowed after ReactDom kicked in");var n,i,a="",s="";"string"==typeof e?a=e:(a=e.key,s=null!=(i=e.scope)?i:""),window[o.DA]=window[o.DA]||(0,r._)({},o.cc,!0),function(e,t,n){for(var r=e,o=0;r&&o<t.length-1;){var i=t[o];r[i]=r[i]||{},r=r[i],o++}r&&(r[t[o]]=n)}(window[o.DA],[s||o.LH,a],t)}},93305:function(e,t,n){"use strict";n.d(t,{J:function(){return o},Z:function(){return r}});var r={Positive:"rgba(11, 224, 155, 1)",Negative:"rgba(255, 76, 58, 1)",ToastDefault:"rgba(84, 84, 84, .92)",ToastNegative:"rgba(255, 76, 58, .92)",Secondary:"rgba(32, 213, 236, 1)",TUXSecondary2:"rgba(16, 162, 197, 1)",Positive2:"rgba(79, 171, 126, 1)",ConstTextInverse:"rgba(255, 255, 255, 1)",ConstTextInverse2:"rgba(255, 255, 255, .9)",ConstTextInverse3:"rgba(255, 255, 255, .75)",ConstTextInverse4:"rgba(255, 255, 255, .5)",ConstTextInverse5:"rgba(255, 255, 255, .34)",ConstTextPrimary:"rgba(22, 24, 35, 1)",ConstBGInverse:"rgba(0, 0, 0, 1)",ConstBGInverse2:"rgba(0, 0, 0, .6)",ConstBGInverse3:"rgba(37, 37, 37, .6)",ConstBGInverse4:"rgba(84, 84, 84, .5)",TUXBGCreation:"rgba(0, 0, 0, 1)",BGCreation2:"rgba(27, 27, 27, 1)",BGCreation5:"rgba(0, 0, 0, .15)",ConstBGMat:"rgba(255, 255, 255, .2)",ConstBGContainer:"rgba(255, 255, 255, .12)",ConstBGContainer2:"rgba(255, 255, 255, .08)",ConstBGContainer3:"rgba(255, 255, 255, .04)",ConstBGPlaceholderOpaque:"rgba(241, 241, 241, 1)",ConstBGInverseOpaque:"rgba(37, 37, 37, 1)",ConstBGInverse1:"rgba(56, 56, 56, .95)",ConstLineInverse:"rgba(255, 255, 255, .2)",ConstLineInverse2:"rgba(255, 255, 255, .12)",SDPrimary:"rgba(0, 0, 0, .8)",AssistColorYellow:"rgba(250, 206, 21, 1)",Primary:"rgba(254, 44, 85, 1)",Link:"rgba(254, 44, 85, 1)",Primary2:"rgba(22, 24, 35, 1)",TextPrimary:"rgba(22, 24, 35, 1)",TextSecondary:"rgba(22, 24, 35, .75)",TextTertiary:"rgba(22, 24, 35, .5)",TextQuaternary:"rgba(22, 24, 35, .34)",BGBase:"rgba(245, 245, 245, 1)",BGPrimary:"rgba(255, 255, 255, 1)",BGSecondary:"rgba(255, 255, 255, 1)",BGTertiary:"rgba(255, 255, 255, 1)",BGQuaternary:"rgba(255, 255, 255, 1)",BGQuinary:"rgba(255, 255, 255, 1)",BGSecondary2:"rgba(255, 255, 255, 1)",BGTertiary2:"rgba(255, 255, 255, 1)",BGPlaceholderDefault:"rgba(22, 24, 35, .06)",BGPlaceholderOpaque:"rgba(241, 241, 241, 1)",BGInput:"rgba(22, 24, 35, .06)",BGInput2:"rgba(22, 24, 35, .06)",BGView:"rgba(22, 24, 35, .03)",BGCreation3:"rgba(248, 248, 248, 1)",BGCreation4:"rgba(255, 255, 255, 1)",BGHover:"rgba(22, 24, 35, .06)",BGBrand:"rgba(254, 44, 85, .06)",LinePrimary:"rgba(22, 24, 35, .2)",LineSecondary:"rgba(22, 24, 35, .12)",LineInput:"rgba(22, 24, 35, .5)",LinePrimary2:"rgba(22, 24, 35, .2)",LineSecondary2:"rgba(22, 24, 35, .12)",TUXLineSecondary3:"rgba(22, 24, 35, .12)",LineDarker:"rgba(22, 24, 35, .12)",SDSecondary:"rgba(0, 0, 0, .5)",SDTertiary:"rgba(0, 0, 0, .2)",UIText1:"rgba(0, 0, 0, 1)",UIText2:"rgba(0, 0, 0, .65)",UIText3:"rgba(0, 0, 0, .48)",UITextPlaceholder:"rgba(0, 0, 0, .34)",UITextDanger:"rgba(218, 49, 35, 1)",UIShapeNeutral3:"rgba(0, 0, 0, 0.12)",Secondary2:"rgba(0, 198, 233, 1.0)",Link2:"rgba(254, 44, 85, 1.0)",Link3:"rgba(254, 44, 85, 1.0)",TextTertiary2:"rgba(22, 24, 35, 0.5)",TextReverse:"rgba(22, 24, 35, 1.0)",TextReverse2:"rgba(22, 24, 35, 0.75)",TextReverse3:"rgba(22, 24, 35, 0.5)",TextReverse4:"rgba(22, 24, 35, 0.34)",BGPrimary2:"rgba(255, 255, 255, 1.0)",BGView2:"rgba(22, 24, 35, 0.03)",BGCreation:"rgba(18, 18, 18, 1.0)",BGInverse3:"rgba(37, 37, 37, 0.6)",BGReverse:"rgba(255, 255, 255, 1.0)",BGReverse2:"rgba(255, 255, 255, 0.9)",ShadowPrimary:"rgba(0, 0, 0, 0.12)",ShadowSecondary:"rgba(0, 0, 0, 0.06)",LineSecondary3:"rgba(22, 24, 35, 0.03)",LineReverse2:"rgba(22, 24, 35, 0.12)",LineReverse3:"rgba(22, 24, 35, 0.12)",LineInverse:"rgba(22, 24, 35, 0.2)",TagGreenText:"rgba(89, 128, 108, 1.0)",TagGreenBG:"rgba(239, 245, 242, 1.0)",TagPurpleText:"rgba(128, 89, 121, 1.0)",TagPurpleBG:"rgba(246, 240, 245, 1.0)",TagBrownText:"rgba(128, 89, 89, 1.0)",TagBrownBG:"rgba(245, 240, 240, 1.0)",LiveColorStart:"rgba(255, 23, 100, 1.0)",LiveColorEnd:"rgba(237, 52, 149, 1.0)",ConstSecondary:"rgba(32, 213, 236, 1.0)",ConstSecondary2:"rgba(16, 162, 197, 1.0)",BGMessageIcon:"rgb(241, 241, 242)",BGMessageOperateHover:"rgba(196, 196, 196, .425)",TextTertiaryAlt:"rgba(22, 24, 35, 0.6)",AssistColorAzure:"rgba(43, 93, 185, 1)",UIShapeNeutral4:"rgba(0, 0, 0, 0.05)",UISheetFlat3:"rgba(255, 255, 255, 1)"},o={Positive:"rgba(11, 224, 155, 1)",Negative:"rgba(255, 76, 58, 1)",ToastDefault:"rgba(84, 84, 84, .92)",ToastNegative:"rgba(255, 76, 58, .92)",Secondary:"rgba(32, 213, 236, 1)",TUXSecondary2:"rgba(16, 162, 197, 1)",Positive2:"rgba(79, 171, 126, 1)",ConstTextInverse:"rgba(255, 255, 255, 1)",ConstTextInverse2:"rgba(255, 255, 255, .9)",ConstTextInverse3:"rgba(255, 255, 255, .75)",ConstTextInverse4:"rgba(255, 255, 255, .5)",ConstTextInverse5:"rgba(255, 255, 255, .34)",ConstTextPrimary:"rgba(22, 24, 35, 1)",ConstBGInverse:"rgba(0, 0, 0, 1)",ConstBGInverse2:"rgba(0, 0, 0, .6)",ConstBGInverse3:"rgba(37, 37, 37, .6)",ConstBGInverse4:"rgba(84, 84, 84, .5)",TUXBGCreation:"rgba(0, 0, 0, 1)",BGCreation2:"rgba(27, 27, 27, 1)",BGCreation5:"rgba(0, 0, 0, .15)",ConstBGMat:"rgba(255, 255, 255, .2)",ConstBGContainer:"rgba(255, 255, 255, .12)",ConstBGContainer2:"rgba(255, 255, 255, .08)",ConstBGContainer3:"rgba(255, 255, 255, .04)",ConstBGPlaceholderOpaque:"rgba(241, 241, 241, 1)",ConstBGInverseOpaque:"rgba(37, 37, 37, 1)",ConstBGInverse1:"rgba(56, 56, 56, .95)",ConstLineInverse:"rgba(255, 255, 255, .2)",ConstLineInverse2:"rgba(255, 255, 255, .12)",SDPrimary:"rgba(0, 0, 0, .8)",AssistColorYellow:"rgba(250, 206, 21, 1)",Primary:"rgba(255, 59, 92, 1)",Link:"rgba(255, 59, 92, 1)",Primary2:"rgba(255, 255, 255, .9)",TextPrimary:"rgba(255, 255, 255, .9)",TextSecondary:"rgba(255, 255, 255, .75)",TextTertiary:"rgba(255, 255, 255, .5)",TextQuaternary:"rgba(255, 255, 255, .34)",BGBase:"rgba(0, 0, 0, 1)",BGPrimary:"rgba(18, 18, 18, 1)",BGSecondary:"rgba(37, 37, 37, 1)",BGTertiary:"rgba(46, 46, 46, 1)",BGQuaternary:"rgba(56, 56, 56, 1)",BGQuinary:"rgba(75, 75, 75, 1)",BGSecondary2:"rgba(255, 255, 255, .08)",BGTertiary2:"rgba(255, 255, 255, .12)",BGPlaceholderDefault:"rgba(255, 255, 255, .08)",BGPlaceholderOpaque:"rgba(37, 37, 37, 1)",BGInput:"rgba(255, 255, 255, .12)",BGInput2:"rgba(255, 255, 255, .08)",BGView:"rgba(255, 255, 255, .04)",BGCreation3:"rgba(18, 18, 18, 1)",BGCreation4:"rgba(27, 27, 27, 1)",BGHover:"rgba(255, 255, 255, .9)",BGBrand:"rgba(254, 44, 85, .34)",LinePrimary:"rgba(255, 255, 255, 0)",LineSecondary:"rgba(255, 255, 255, .12)",LineInput:"rgba(255, 255, 255, .5)",LinePrimary2:"rgba(255, 255, 255, .2)",LineSecondary2:"rgba(255, 255, 255, 0)",TUXLineSecondary3:"rgba(255, 255, 255, .5)",LineDarker:"rgba(0, 0, 0, .6)",SDSecondary:"rgba(0, 0, 0, .68)",SDTertiary:"rgba(0, 0, 0, .5)",UIText1:"rgba(246, 246, 246, 1)",UIText2:"rgba(255, 255, 255, .88)",UIText3:"rgba(255, 255, 255, .6)",UITextPlaceholder:"rgba(255, 255, 255, .4)",UITextDanger:"rgba(255, 118, 96, 1)",UIShapeNeutral3:"rgba(255, 255, 255, 0.19);",Secondary2:"rgba(0, 198, 233, 1.0)",Link2:"rgba(255, 59, 92, 1.0)",Link3:"rgba(255, 59, 92, 1.0)",TextTertiary2:"rgba(255, 255, 255, 0.75)",TextReverse:"rgba(255, 255, 255, 0.9)",TextReverse2:"rgba(255, 255, 255, 0.75)",TextReverse3:"rgba(255, 255, 255, 0.5)",TextReverse4:"rgba(255, 255, 255, 0.34)",BGPrimary2:"rgba(255, 255, 255, 0.04)",BGView2:"rgba(255, 255, 255, 0.0)",BGCreation:"rgba(18, 18, 18, 1.0)",BGInverse3:"rgba(37, 37, 37, 0.6)",BGReverse:"rgba(18, 18, 18, 1.0)",BGReverse2:"rgba(18, 18, 18, 0.9)",ShadowPrimary:"rgba(255, 255, 255, 0.12)",ShadowSecondary:"rgba(0, 0, 0, 0.06)",LineSecondary3:"rgba(255, 255, 255, 0.0)",LineReverse2:"rgba(255, 255, 255, 0.12)",LineReverse3:"rgba(255, 255, 255, 0.0)",LineInverse:"rgba(255, 255, 255, 0.0)",TagGreenText:"rgba(178, 255, 217, 1.0)",TagGreenBG:"rgba(89, 128, 102, 1.0)",TagPurpleText:"rgba(255, 178, 217, 1.0)",TagPurpleBG:"rgba(128, 89, 108, 1.0)",TagBrownText:"rgba(255, 179, 179, 1.0)",TagBrownBG:"rgba(128, 89, 89, 1.0)",LiveColorStart:"rgba(255, 23, 100, 1.0)",LiveColorEnd:"rgba(237, 52, 149, 1.0)",ConstSecondary:"rgba(32, 213, 236, 1)",ConstSecondary2:"rgba(16, 162, 197, 1)",BGMessageIcon:"rgba(255, 255, 255, 0.08)",BGMessageOperateHover:"rgba(255, 255, 255, 0.12)",TextTertiaryAlt:"rgba(255, 255, 255, 0.6)",AssistColorAzure:"rgba(143, 190, 233, 1)",UIShapeNeutral4:"rgba(255, 255, 255, 0.13)",UISheetFlat3:"rgba(58, 58, 58, 1)"}},54366:function(e,t,n){"use strict";n.d(t,{xm:function(){return h},BR:function(){return a},O4:function(){return g},pz:function(){return v},YQ:function(){return i}});var r,o,i,a,s=n(6586),c=n(79262),u=n(69513),l=n(82761),d=n(93305),p={TikTokFont:'"IBM Plex Sans", TikTokFont, Arial, Tahoma, PingFangSC, sans-serif',TikTokDisplayFont:'"IBM Plex Sans", TikTokDisplayFont, Arial, Tahoma, PingFangSC, sans-serif'},f={P0:{fontSize:"24px",lineHeight:"32px"},P1:{fontSize:"18px",lineHeight:"25px"},P2:{fontSize:"16px",lineHeight:"22px"},P3:{fontSize:"14px",lineHeight:"20px"},P4:{fontSize:"12px",lineHeight:"17px"},H0:{fontSize:"96px",lineHeight:"115px"},H1:{fontSize:"72px",lineHeight:"86px"},H2:{fontSize:"56px",lineHeight:"68px"},H3:{fontSize:"32px",lineHeight:"38px"},H4:{fontSize:"24px",lineHeight:"28px"},H5:{fontSize:"18px",lineHeight:"22px"},H6:{fontSize:"14px",lineHeight:"17px"}};(r=i||(i={}))[r.Dark=0]="Dark",r[r.Bright=1]="Bright",r[r.System=2]="System";var v={isMobile:!1,direction:"ltr",isDark:!1,colors:d.Z,link:{color:"#0078d4",hoverColor:"#004578",activeColor:"#004578",focusColor:"#0078d4",visitedColor:"#0078d4"},selection:{background:"rgba(141, 214, 249, 0.35)"},text:{fontFamily:'"TikTokDisplayFont", PingFangSC, sans-serif',fontSize:"14px",color:"#000"},border:{radius:"3px"},boxShadowBase:"0 1.6px 3.6px 0 rgba(0,0,0,.132), 0 0.3px 0.9px 0 rgba(0,0,0,.108)",markdown:{blockquote:{color:"#4e7182",backgroundColor:"#eaf8ff"},inlineCode:{color:"hotpink",background:"rgba(70, 94, 105, 0.05)"}},zIndex:{background:0,default:1,overlay:3e3,dropdown:3100,modal:3500,popover:4e3,tooltip:4500,toast:5500},typography:{P0:{fontSize:"24px",lineHeight:"30px"},P1:{fontSize:"18px",lineHeight:"24px"},P2:{fontSize:"16px",lineHeight:"21px"},P3:{fontSize:"14px",lineHeight:"18px"},P4:{fontSize:"12px",lineHeight:"16px"},H0:{fontSize:"96px",lineHeight:"110px"},H1:{fontSize:"72px",lineHeight:"83px"},H2:{fontSize:"56px",lineHeight:"64px"},H3:{fontSize:"32px",lineHeight:"38px"},H4:{fontSize:"24px",lineHeight:"30px"},H5:{fontSize:"18px",lineHeight:"24px"},H6:{fontSize:"14px",lineHeight:"18px"}},fontFamilies:{TikTokFont:"TikTokFont, Arial, Tahoma, PingFangSC, sans-serif",TikTokDisplayFont:"TikTokDisplayFont, Arial, Tahoma, PingFangSC, sans-serif"},fontWeights:{normal:400,medium:500,semiBold:600,bold:700}};function g(e){var t=e.isDark,n=e.isMobile,r=e.lang,o={};return t&&(o.colors=d.J,o.isDark=!0),n&&(o.typography=f),"vi-VN"===r?o.fontFamilies=p:("ar"===r||"he-IL"===r||"ur"===r)&&(o.direction="rtl"),o.isMobile=n,function e(t,n){var r=Object.create(null),o=!0,i=!1,a=void 0;try{for(var u,l,d=Object.entries(t)[Symbol.iterator]();!(o=(l=d.next()).done);o=!0){var p=(0,s._)(l.value,2),f=p[0],v=p[1],g=n[f];(void 0===g?"undefined":(0,c._)(g))==="object"?r[f]=e(v,g):r[f]=null!=(u=n[f])?u:v}}catch(e){i=!0,a=e}finally{try{o||null==d.return||d.return()}finally{if(i)throw a}}return r}(v,o)}(o=a||(a={})).System="system",o.Auto="auto",o.Dark="dark",o.Light="light";var h=(0,l.$)("DarkThemeToggleContext@tiktok/theme")({value:!1,toggle:u.A,currentThemeOption:"light",setCurrentThemeOption:u.A})},90160:function(e,t,n){"use strict";n.d(t,{AB:function(){return c},Ee:function(){return h},I9:function(){return o},PR:function(){return l},RE:function(){return b},WA:function(){return f},WB:function(){return v},hj:function(){return s},jJ:function(){return g},m4:function(){return d},mp:function(){return _},oO:function(){return p},t7:function(){return y},uF:function(){return a},zy:function(){return u}});var r,o,i=n(35383),a=60,s=1150,c={":hover, :active, :link":{textDecoration:"none"}};function u(e){var t,n=e.theme,r=e.typography,o=e.color,i=e.fontFamily,a=e.fontWeight,s=e.isLink,c=void 0!==s&&s&&o?{":hover, :active, :link, :visited":{color:n.colors[o]}}:null;return r&&(t=20>Number(n.typography[r].fontSize.replace("px",""))?n.fontFamilies.TikTokFont:n.fontFamilies.TikTokDisplayFont),[{color:o&&n.colors[o],fontFamily:null!=t?t:i,fontWeight:a&&n.fontWeights[a]},r?n.typography[r]:void 0,c]}var l={textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},d=function(e){return{display:"-webkit-box",overflow:"hidden",textOverflow:"ellipsis",lineClamp:e,boxOrient:"vertical",WebkitLineClamp:e,WebkitBoxOrient:"vertical"}},p=function(e){var t=e.theme,n=e.isUiOptimise;return void 0!==n&&n?{backgroundColor:t.colors.ConstBGInverse4,":hover":{backgroundColor:t.colors.ConstBGInverse3}}:{}},f={border:"none",background:"none",outline:"none",padding:0},v=function(e){var t;return t={position:"absolute",left:"0"},(0,i._)(t,e,"0"),(0,i._)(t,"width","100%"),(0,i._)(t,"height","1px"),(0,i._)(t,"transform","scaleY(0.5)"),t};function g(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.map(function(e){var t=e.max,n=e.min,r=e.orientation,o=e.minAspectRatio,a=e.aspectRatio,s=e.maxAspectRatio,c=e.style;if(!t&&!n&&!a)return{};var u="@media screen";return"number"==typeof n&&(u+=" and (min-width: ".concat(n,"px)")),"number"==typeof t&&(u+=" and (max-width: ".concat(t,"px)")),"string"==typeof r&&(u+=" and (orientation: ".concat(r,")")),"string"==typeof o&&(u+=" and (min-aspect-ratio: ".concat(o,")")),"string"==typeof a&&(u+=" and (aspect-ratio: ".concat(a,")")),"string"==typeof s&&(u+=" and (max-aspect-ratio: ".concat(s,")")),(0,i._)({},u,void 0===c?{}:c)})}function h(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.map(function(e){var t=e.max,n=e.min,r=e.orientation,o=e.minAspectRatio,a=e.aspectRatio,s=e.maxAspectRatio,c=e.style;if(!t&&!n&&!a)return{};var u="@media screen";return"number"==typeof n&&(u+=" and (min-height: ".concat(n,"px)")),"number"==typeof t&&(u+=" and (max-height: ".concat(t,"px)")),"string"==typeof r&&(u+=" and (orientation: ".concat(r,")")),"string"==typeof o&&(u+=" and (min-aspect-ratio: ".concat(o,")")),"string"==typeof a&&(u+=" and (aspect-ratio: ".concat(a,")")),"string"==typeof s&&(u+=" and (max-aspect-ratio: ".concat(s,")")),(0,i._)({},u,void 0===c?{}:c)})}(r=o||(o={}))[r.Laptop=1920]="Laptop",r[r.MediumScreen=1536]="MediumScreen",r[r.HeaderWidth=1080]="HeaderWidth",r[r.NarrowLaptop=1072]="NarrowLaptop",r[r.LandscapePad=992]="LandscapePad",r[r.Pad=768]="Pad",r[r.Phone=480]="Phone";var m={ltr:{end:"right",start:"left",marginEnd:"marginRight",marginStart:"marginLeft",paddingEnd:"paddingRight",paddingStart:"paddingLeft"},rtl:{end:"left",start:"right",marginEnd:"marginLeft",marginStart:"marginRight",paddingEnd:"paddingLeft",paddingStart:"paddingRight"}};function _(e){var t=e.direction,n=e.marginEnd,r=e.marginStart,o=e.end,i=e.start,a=e.textAlign,s=e.paddingEnd,c=e.paddingStart,u=m[t],l={};return a&&(l.textAlign=y(t,a)),n&&(l[u.marginEnd]=n),r&&(l[u.marginStart]=r),i&&(l[u.start]=i),o&&(l[u.end]=o),s&&(l[u.paddingEnd]=s),c&&(l[u.paddingStart]=c),l}function y(e,t){return m[e][t]}function b(e){var t=e.theme,n=e.hover,r=void 0===n?t.colors.BGView:n,o=e.active;return{transition:"background ease-in-out 200ms",":hover":{background:r},":active":{background:void 0===o?t.colors.BGInput:o}}}},84287:function(e,t,n){"use strict";var r,o;n.d(t,{s:function(){return r}}),(o=r||(r={}))[o.Popup=1]="Popup",o[o.PopupOpt=2]="PopupOpt",o[o.LivePanel=1]="LivePanel",o[o.HeaderPopup=2]="HeaderPopup",o[o.CardCover=2]="CardCover",o[o.LiveCardCoverLink=3]="LiveCardCoverLink",o[o.LiveChatRoom=4]="LiveChatRoom",o[o.LiveChatRoomBottomSection=5]="LiveChatRoomBottomSection",o[o.FixedBottom=7]="FixedBottom",o[o.Header=3e3]="Header",o[o.HeaderHamburger=99]="HeaderHamburger",o[o.Banner=999]="Banner",o[o.CookieBanner=10001]="CookieBanner",o[o.SideNav=99]="SideNav",o[o.SideNavHint=100]="SideNavHint",o[o.BrowserMode=3e3]="BrowserMode",o[o.Overlay=3001]="Overlay",o[o.Modal=3001]="Modal",o[o.LoginPopup=401]="LoginPopup",o[o.SwiperOnboarding=10009]="SwiperOnboarding",o[o.ModalLogin=10010]="ModalLogin",o[o.ContextMenu=10500]="ContextMenu",o[o.ModalGoogleOneTap=100]="ModalGoogleOneTap"},70043:function(e,t,n){"use strict";n.d(t,{y:function(){return h}});var r=n(72516),o=n(24643),i=n(40099),a=n(21207),s=n(81322),c=n(12751),u="rgb(208, 209, 211)",l=function(e){var t=e.theme;switch(e.buttonTheme){case"default":return{borderWidth:"1px",borderStyle:"solid",borderRadius:"4px",color:t.colors.TextPrimary,borderColor:t.colors.LineSecondary2,backgroundColor:t.colors.BGSecondary2,":hover":{borderColor:u,backgroundColor:t.colors.BGCreation3},":active":{borderColor:u,backgroundColor:t.colors.BGMessageIcon},":disabled":{borderColor:"rgb(227, 227, 229)",backgroundColor:t.colors.BGSecondary2,color:t.colors.TextQuaternary}};case"line":return{borderWidth:"1px",borderStyle:"solid",borderRadius:"4px",color:t.colors.Primary,borderColor:t.colors.Primary,backgroundColor:t.colors.BGSecondary2,":hover":{backgroundColor:"rgba(254, 44, 85, 0.06)"},":active":{backgroundColor:"rgba(254, 44, 85, 0.16)"},":disabled":{borderColor:t.colors.LineSecondary2,backgroundColor:t.colors.BGSecondary2,color:t.colors.TextQuaternary,pointerEvents:"none"}};case"primary":return{borderRadius:"4px",border:"none",color:t.colors.ConstTextInverse,backgroundColor:t.colors.Primary,":hover":{background:"linear-gradient(0deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.06)), #FE2C55"},":active":{background:"linear-gradient(0deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)), #FE2C55"},":disabled":{border:"none",color:t.colors.TextQuaternary,backgroundColor:t.colors.BGInput2,pointerEvents:"none"}};case"round":return{borderRadius:"52px",border:"none",color:t.colors.ConstTextInverse,backgroundColor:t.colors.ToastDefault,":hover":{},":active":{},":disabled":{}};default:return{":hover":{},":active":{},":disabled":{}}}},d=function(e){var t=e.theme,n=e.buttonTheme,r=function(e){return{":focus-visible":{outline:"2px solid ".concat(null!=e?e:t.colors.Negative),outlineOffset:"1px"}}};switch(n){case"default":case"round":case"line":default:return r();case"primary":return r("rgba(24, 27, 105, 1.0)")}},p="TikTokFont, PingFangSC, sans-serif",f="TikTokDisplayFont, PingFangSC, sans-serif",v={largeNew:{minWidth:"120px",minHeight:"46px",fontSize:"16px",lineHeight:"22px",fontWeight:700,fontFamily:p},large:{minWidth:"168px",minHeight:"48px",fontSize:"18px",lineHeight:"25px",fontWeight:600,fontFamily:f},medium:{minWidth:"164px",minHeight:"36px",fontSize:"18px",lineHeight:"25px",fontWeight:600,fontFamily:f},small:{minWidth:"106px",minHeight:"28px",fontSize:"16px",lineHeight:"22px",fontWeight:600,fontFamily:p},tiny:{minWidth:"96px",minHeight:"28px",fontFamily:p,fontSize:"14px",lineHeight:"17px",fontWeight:600}},g=(0,c.default)("button",{shouldForwardProp:function(e){return(0,s.A)(e)&&"loading"!==e},target:"ebef5j00",label:"5e6d46e3--Button"})(function(e){var t=e.buttonTheme,n=void 0===t?"default":t,r=e.size,o=e.theme,i=e.loading;return[l({theme:o,buttonTheme:n}),v[void 0===r?"large":r],{display:"flex",position:"relative",alignItems:"center",justifyContent:"center",padding:"6px 8px",userSelect:"none",cursor:"pointer",boxSizing:"border-box",":focus":{outline:"none"}},Object.assign({},void 0!==i&&i?{color:"transparent",pointerEvents:"none"}:{}),d({theme:o,buttonTheme:n})]}),h=(0,i.memo)(function(e){var t=e.buttonTheme,n=e.size,i=e.type,s=e.loading,c=void 0!==s&&s,u=e.loadingTheme,l=e.loadingSize,d=e.loadingFill,p=e.children,f=e.e2eTag,v=(0,r.__rest)(e,["buttonTheme","size","type","loading","loadingTheme","loadingSize","loadingFill","children","e2eTag"]);return(0,o.jsxs)(g,Object.assign({type:void 0===i?"button":i,buttonTheme:t,loading:c,size:n,"data-e2e":f},v,{children:[p,c&&(0,o.jsx)(a.h,{style:{position:"absolute",top:"50%",transform:"translateY(-50%)"},theme:void 0===u?"primary":u,size:void 0===l?"medium":l,fill:d})]}))})},21207:function(e,t,n){"use strict";n.d(t,{h:function(){return p}});var r=n(24643),o=n(11186),i=n(40099),a=n(75431),s=n(12751),c=(0,s.default)("div",{target:"ebfn31k0",label:"5e6d46e3--DivContainer"})(function(e){return{display:"flex",flexDirection:"column",alignItems:e.center?"center":"flex-start"}}),u=(0,a.keyframes)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}},"label:5e6d46e3--ringAnimation"),l=(0,s.default)("svg",{target:"ebfn31k1",label:"5e6d46e3--SvgBox"})({margin:"0 !important",fill:"none",animation:"".concat(u," 1s linear infinite")}),d={small:16,medium:18,large:20},p=(0,i.memo)(function(e){var t=e.theme,n=void 0===t?"primary":t,a=e.size,s=void 0===a?"medium":a,u=e.center,p=e.style,f=e.fill,v=void 0===f?"":f,g=(0,o.u)().colors,h=(0,i.useMemo)(function(){var e=g.BGCreation,t=g.BGPrimary,r=g.Primary;return v||({white:e,primary:t,transparent:r})[n]},[g,v,n]),m="string"==typeof s?d[s]:s,_=Object.assign(Object.assign({},void 0===p?{}:p),{width:m,height:m});return(0,r.jsx)(c,Object.assign({center:void 0!==u&&u,style:_},{children:(0,r.jsx)(l,Object.assign({width:m,height:m,viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",fill:h,d:"M0 9C0 4.02944 4.02944 0 9 0C13.9706 0 18 4.02944 18 9C18 9.82843 17.3284 10.5 16.5 10.5C15.6716 10.5 15 9.82843 15 9C15 5.68629 12.3137 3 9 3C5.68629 3 3 5.68629 3 9C3 12.3137 5.68629 15 9 15C10.415 15 11.7119 14.512 12.7375 13.6941C13.3852 13.1775 14.329 13.2838 14.8455 13.9315C15.3621 14.5792 15.2558 15.5229 14.6081 16.0395C13.0703 17.266 11.1188 18 9 18C4.02944 18 0 13.9706 0 9Z"})}))}))})},9058:function(e,t,n){"use strict";n.d(t,{NH:function(){return w},eg:function(){return b},sH:function(){return k},EA:function(){return _},aw:function(){return y}});var r=n(72516),o=n(24643),i=n(75431),a=n(12751),s=n(90160),c=(0,i.keyframes)({"0%":{backgroundPositionX:"200%"},"100%":{backgroundPositionX:"-150%"}},"label:5e6d46e3--skeletonAnimationWave"),u=(0,a.default)("div",{target:"elko6a0",label:"5e6d46e3--DivBaseComponent"})(function(e){return{backgroundColor:e.theme.colors.BGPlaceholderDefault,borderRadius:"4px",backgroundImage:"linear-gradient(90deg, rgba(22, 24, 35, 0) 0%, rgba(22, 24, 35, .04) 50%, rgba(22, 24, 35, 0) 100%)",backgroundSize:"200% 100%",backgroundRepeat:"no-repeat",width:"100%",height:"100%"}}),l=(0,a.default)("div",{target:"elko6a1",label:"5e6d46e3--DivComponent"})({width:"100%"}),d=(0,a.default)(u,{target:"elko6a2",label:"5e6d46e3--StyledAvatar"})({borderRadius:"100%",animation:"".concat(c," cubic-bezier(0, 0, 1, 1) 1.5s infinite")}),p=(0,a.default)(u,{target:"elko6a3",label:"5e6d46e3--StyledTitle"})({height:"16px",width:"40%",animation:"".concat(c," cubic-bezier(0, 0, 1, 1) 1.5s infinite")}),f=(0,a.default)(u,{target:"elko6a4",label:"5e6d46e3--StyledParagraph"})(function(e){var t=e.theme;return[{backgroundColor:"transparent",backgroundImage:"unset"},(0,s.mp)({direction:t.direction})]}),v=(0,a.default)(u,{target:"elko6a5",label:"5e6d46e3--StyledParagraphLine"})(function(e){var t=e.shrinkLastLine;return{height:"12px",animation:"".concat(c," cubic-bezier(0, 0, 1, 1) 1.5s infinite"),":last-child":{width:void 0===t||t?"60%":"100%",marginTop:"12px"},":not(:last-child)":{marginBottom:"8px"}}}),g=(0,a.default)(u,{target:"elko6a6",label:"5e6d46e3--StyledVideoCover"})({minHeight:"100px",animation:"".concat(c," cubic-bezier(0, 0, 1, 1) 1.5s infinite")}),h=(0,a.default)(u,{target:"elko6a7",label:"5e6d46e3--StyledButton"})({height:"36px",width:"164px",animation:"".concat(c," cubic-bezier(0, 0, 1, 1) 1.5s infinite")}),m=(0,a.default)(u,{target:"elko6a8",label:"5e6d46e3--StyledTextBox"})({height:"36px",width:"164px",animation:"".concat(c," cubic-bezier(0, 0, 1, 1) 1.5s infinite")});function _(e){var t=e.children,n=e.style,i=e.className,a=(0,r.__rest)(e,["children","style","className"]);return(0,o.jsx)(l,Object.assign({style:n,className:i},a,{children:t}))}function y(e){for(var t=e.lines,n=void 0===t?2:t,i=e.shrinkLastLine,a=void 0===i||i,s=e.style,c=e.className,u=(0,r.__rest)(e,["lines","shrinkLastLine","style","className"]),l=[],d=0;d<n;++d)l.push((0,o.jsx)(v,{shrinkLastLine:a},d));return(0,o.jsx)(f,Object.assign({style:s,className:c},u,{children:l}))}function b(e){var t=e.style,n=e.className,i=(0,r.__rest)(e,["style","className"]);return(0,o.jsx)(p,Object.assign({style:t,className:n},i))}function w(e){var t=e.style,n=e.className,i=(0,r.__rest)(e,["style","className"]);return(0,o.jsx)(d,Object.assign({style:t,className:n},i))}function k(e){var t=e.style,n=e.className,i=(0,r.__rest)(e,["style","className"]);return(0,o.jsx)(g,Object.assign({style:t,className:n},i))}_.Paragraph=y,_.Title=b,_.Avatar=w,_.VideoCover=k,_.Button=function(e){var t=e.style,n=e.className,i=(0,r.__rest)(e,["style","className"]);return(0,o.jsx)(h,Object.assign({style:t,className:n},i))},_.TextBox=function(e){var t=e.style,n=e.className,i=(0,r.__rest)(e,["style","className"]);return(0,o.jsx)(m,Object.assign({style:t,className:n},i))}},35702:function(e,t,n){"use strict";n.d(t,{F:function(){return y}});var r,o=n(24643),i=n(22994),a=n(78629),s=n(75431),c=n(12751),u=(0,s.keyframes)({"0%":{transform:"translateY(0%)",transformOrigin:"0 0",opacity:"1"},"100%":{transform:"translateY(-100%)",transformOrigin:"0 0",opacity:"0"}},"label:5e6d46e3--MOVE_OUT"),l=(0,s.keyframes)({"0%":{transform:"translateY(-100%)",transformOrigin:"0 0",opacity:"0"},"100%":{transform:"translateY(0%)",transformOrigin:"0 0",opacity:"1"}},"label:5e6d46e3--MOVE_IN"),d=(0,a.AH)({"&-enter":{opacity:"0"},"&-enter-active":{animationName:l,animationDuration:"0.3s"},"&-leave-active":{animationName:u,animationDuration:"0.3s"}},"label:5e6d46e3--TRANSITION_NAME"),p=(0,a.AH)({fontFamily:"TikTokFont, PingFangSC, sans-serif",fontWeight:600,position:"fixed",top:"16px",left:"0px",color:"#fff",zIndex:3003,width:"100%",pointerEvents:"none",userSelect:"none","&-notice":{padding:"8px 0",textAlign:"center",":first-of-type":{marginTop:"-8px"}},"&-notice-content":{backgroundColor:"rgba(84, 84, 84, 0.92)",display:"inline-block",padding:"10px 8px",pointerEvents:"all",maxWidth:"100%",borderRadius:"2px"}},"label:5e6d46e3--PREFIX_CLASS"),f={auto:{},full:{width:"100vw",borderRadius:"0"},padding:{width:"calc(100vw - 40px)",margin:"0 auto"},half:{width:"50vw"}},v=(0,c.default)("div",{target:"eyk2v6r0",label:"5e6d46e3--DivMessageContainer"})(function(e){var t=e.widthType,n=e.isRTL;return[f[void 0===t?"auto":t],{direction:n?"rtl":"ltr"}]}),g=[],h=1,m={prefixCls:p,transitionName:d,style:{top:void 0},getContainer:void 0,maxCount:void 0,type:"default"},_={success:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3Ljg0MDQgNi44NTk4NkMxOC4wMzc3IDYuNjYyMDcgMTguMzU4NyA2LjY2NDI1IDE4LjU1MzMgNi44NjQ3MUwxOS40NTc0IDcuNzk2MjlDMTkuNjQ3NSA3Ljk5MjE3IDE5LjY0NTQgOC4zMDQzMiAxOS40NTI2IDguNDk3NTlMMTAuNTU4MiAxNy40MTYzQzEwLjEwNSAxNy44NzA3IDkuMzczMzMgMTcuODU5NiA4LjkzMzY2IDE3LjM5MTZMNC44MzY4MSAxMy4wMzA2QzQuNjQ5OTEgMTIuODMxNyA0LjY1NzExIDEyLjUxOTYgNC44NTI5OSAxMi4zMjk1TDUuNzgzNzQgMTEuNDI2MUM1Ljk4NDE4IDExLjIzMTUgNi4zMDUxNCAxMS4yMzg5IDYuNDk2MzkgMTEuNDQyNUw5Ljc4MjE0IDE0Ljk0MDFMMTcuODQwNCA2Ljg1OTg2WiIgZmlsbD0iIzBCRTA5QiIvPgo8L3N2Zz4K",fail:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iMjYiIHZpZXdCb3g9IjAgMCAyNiAyNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTEuNDY4IDEzTDcuMjAwNCA4LjczMjM4QzYuOTg4ODYgOC41MjA4NSA2Ljk4ODg2IDguMTc3ODggNy4yMDA0IDcuOTY2MzVMNy45NjY0MyA3LjIwMDMyQzguMTc3OTcgNi45ODg3OCA4LjUyMDkzIDYuOTg4NzggOC43MzI0NiA3LjIwMDMyTDEzLjAwMDEgMTEuNDY3OUwxNy4yNjc3IDcuMjAwMzJDMTcuNDc5MiA2Ljk4ODc4IDE3LjgyMjIgNi45ODg3OCAxOC4wMzM3IDcuMjAwMzJMMTguNzk5OCA3Ljk2NjM1QzE5LjAxMTMgOC4xNzc4OCAxOS4wMTEzIDguNTIwODUgMTguNzk5OCA4LjczMjM4TDE0LjUzMjEgMTNMMTguNzk5OCAxNy4yNjc2QzE5LjAxMTMgMTcuNDc5MiAxOS4wMTEzIDE3LjgyMjEgMTguNzk5OCAxOC4wMzM3TDE4LjAzMzcgMTguNzk5N0MxNy44MjIyIDE5LjAxMTIgMTcuNDc5MiAxOS4wMTEyIDE3LjI2NzcgMTguNzk5N0wxMy4wMDAxIDE0LjUzMjFMOC43MzI0NiAxOC43OTk3QzguNTIwOTMgMTkuMDExMiA4LjE3Nzk3IDE5LjAxMTIgNy45NjY0MyAxOC43OTk3TDcuMjAwNCAxOC4wMzM3QzYuOTg4ODYgMTcuODIyMSA2Ljk4ODg2IDE3LjQ3OTIgNy4yMDA0IDE3LjI2NzZMMTEuNDY4IDEzWiIgZmlsbD0iI0ZGNEMzQSIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwIj4KPHJlY3Qgd2lkdGg9IjI2IiBoZWlnaHQ9IjI2IiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo="},y={open:function(e){var t=void 0!==e.duration?e.duration:3,n=e.key||h++,a=new Promise(function(a){var s,c,u={key:n,duration:t,className:e.className,content:(0,o.jsxs)(v,Object.assign({isRTL:e.isRTL,widthType:e.widthType,"data-e2e":e.e2eTag,role:"alert",style:Object.assign({display:"flex",justifyContent:"center",alignItems:"center"},null!=(s=e.style)?s:{})},{children:[e.type&&"default"!==e.type&&(0,o.jsx)("img",{src:_[e.type],style:Object.assign({width:"24px",height:"24px"},e.isRTL?{marginLeft:"8px"}:{marginRight:"8px"}),"aria-hidden":"true"}),(0,o.jsx)("span",{children:e.content})]})),onClose:function(){return"function"==typeof e.onClose&&e.onClose(),a(!0)}};if(e.getContainer)return void i.A.newInstance(Object.assign(Object.assign({},m),{style:{position:null!=(c=e.getContainerPosition)?c:"absolute",top:void 0},getContainer:e.getContainer}),function(e){e.notice(u),g.push(e)});!function(e){if(r)return e(r);i.A.newInstance(Object.assign({},m),function(t){if(r)return void e(r);r=t,e(t),g.push(t)})}(function(e){e.notice(u)})}),s=function(){r&&r.removeNotice(n)};return s.then=function(e,t){return a.then(e,t)},s.promise=a,s},destroy:function(){r&&(r.destroy(),r=null),g.length>0&&(g.forEach(function(e){return e.destroy()}),g=[])}}},65362:function(e,t,n){"use strict";n.d(t,{AX:function(){return d},Az:function(){return _},J:function(){return b},Tb:function(){return c},bp:function(){return v},fU:function(){return s},hd:function(){return p},mY:function(){return f},ng:function(){return y},vk:function(){return m},xk:function(){return u},y8:function(){return l}});var r=n(54333),o=n(76205),i=n(3084),a=-1;function s(){return"undefined"==typeof window||"undefined"==typeof document}function c(e){for(var t,n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];!s()&&(a<0&&(a=+!!location.search.includes("ttplayer_debug=1")),a&&(t=console).log.apply(t,["[MultiMedia1][".concat(e,"]")].concat((0,r._)(o))))}function u(){return a>0}var l=function(e){if(!e)return!1;var t=e.videoWidth,n=e.videoHeight;return 0===t&&0===n&&(i.a.focusDisableHevc({hevcMsg:"width and height is 0",hevcCode:2}),!0)},d=function(e){try{var t=e.message,n=e.errorCode,r=e.errorMessage,o=(void 0===t?"":t)||(void 0===r?"":r);if(o.includes("is unsupported"))return i.a.focusDisableHevc({hevcMsg:o,hevcCode:void 0===n?1:n}),!0;return!1}catch(e){return!1}},p=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{i.a.hevcDeviceDetect(t,"webapp-mobile"===e?1:2)}catch(e){}};function f(){return i.a.getInstance().hevcRobustnessResult}var v=function(e){if(!e||"string"!=typeof e)return 0;var t=0;try{var n=RegExp("(\\?|&)expire=([^&]*)(&|$)"),r=e.match(n);if(null!==r)t=parseInt(r[2],10);else{var o=e.split("/");o.length>5&&8===o[4].length&&(t=parseInt(o[4],16))}if(t>0){var i=parseInt(String(new Date().getTime()/1e3),10);return t<i?1:2}return 0}catch(e){return 0}},g="-1",h=["avc1.42E01E, mp4a.40.2","avc1.58A01E, mp4a.40.2","avc1.4D401E, mp4a.40.2","avc1.64001E, mp4a.40.2","avc1.42E01E","mp4v.20.8","avc1.42E01E, mp4a.40.2","avc1.58A01E, mp4a.40.2","avc1.4D401E, mp4a.40.2","avc1.64001E, mp4a.40.2","mp4v.20.8, mp4a.40.2","mp4v.20.240, mp4a.40.2"];function m(){try{var e={isSupport:!1,mime:""};if("undefined"==typeof document)return"0";if("-1"!==g&&"-2"!==g)return g;var t=document.createElement("video");"function"==typeof t.canPlayType&&h.map(function(n){(null==t?void 0:t.canPlayType('video/mp4; codecs="'.concat(n,'"')))==="probably"&&(e.isSupport=!0,e.mime+="||".concat(n))});var n=e.isSupport?"1":"0";return g=n,t=null,n}catch(e){return"-2"}}var _=function(e){if(isNaN(e))return"00:00";var t=Math.floor(e/3600),n=(t<10?"0":"")+t.toString(),r="0".concat(Math.floor(e/60%60)).slice(-2),o="0".concat(Math.floor(e%60)).slice(-2);return 0===t?"".concat(r,":").concat(o):"".concat(n,":").concat(r,":").concat(o)},y=(0,o.A)(function(){if(s())return!1;var e,t,n,r,o,i=window.navigator.userAgent;if(/iPad|iPhone|iPod/.test(i))try{var a=document.createElement("video");return[a.canPlayType('video/mp4; codecs="hvc1.1.L0.0"'),a.canPlayType('video/mp4;codecs="hev1.1.6.L120.90"'),a.canPlayType('video/mp4;codecs="hev1.2.4.L120.90"'),a.canPlayType('video/mp4;codecs="hev1.3.E.L120.90"'),a.canPlayType('video/mp4;codecs="hev1.4.10.L120.90"')].some(function(e){return"probably"===e||"maybe"===e})}catch(e){return!1}return!!(null==(e=window)?void 0:e.MediaSource)&&((null==(t=window)?void 0:t.MediaSource.isTypeSupported('video/mp4;codecs="hev1.1.6.L120.90"'))||(null==(n=window)?void 0:n.MediaSource.isTypeSupported('video/mp4;codecs="hev1.2.4.L120.90"'))||(null==(r=window)?void 0:r.MediaSource.isTypeSupported('video/mp4;codecs="hev1.3.E.L120.90"'))||(null==(o=window)?void 0:o.MediaSource.isTypeSupported('video/mp4;codecs="hev1.4.10.L120.90"')))});function b(e){if(!(null==e?void 0:e.videoQuality)||!e.definition)return"unknown_definition";var t=e.videoQuality,n=e.definition;return"".concat(t,"_").concat(n.substring(0,n.length-1),"_0")}}},function(e){e.O(0,["18754","3813","45023","5440","62923","63657","64905","65257","76233","77877","78353","79232","96821"],function(){return e(e.s=66417)}),e.O()}]);