douxiaoyun.js/profiles/douyin-profile/Default/Cache/Cache_Data/f_0003aa
2026-07-17 22:23:39 +08:00

12 lines
85 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! For license information please see 38957.981bd810.js.LICENSE.txt */
!function(e,t){"object"==typeof module&&"object"==typeof module.exports?t():"function"==typeof define&&define.amd?define([],t):(e="undefined"!=typeof globalThis?globalThis:e||self)&&t()}(this,function(){"use strict";"object"==typeof window&&(window.openRedirect={version:"1.2.20",webpackPluginVersion:"3.4.22",reportOnly:!1})}),!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).xss={})}(this,function(e){"use strict";var t=function(){return(t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function n(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}var r=/[^a-zA-Z0-9\\_:.-]/gim,i=/</g,o=/>/g,a=/&#([a-zA-Z0-9]*);?/gim,s=/&quot;/g,l=/&colon;?/gim,c=/&newline;?/gim,u=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,f=/u\s*r\s*l\s*\(.*/gi,d=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,h=/"/g,p=function(e){return e.replace(i,"&lt;").replace(o,"&gt;")},g={indexOf:function(e,t){var n,r;for(n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return -1},forEach:function(e,t,n){var r,i;for(r=0,i=e.length;r<i;r++)t.call(n,e[r],r,e)},some:function(e,t,n){var r,i;for(r=0,i=e.length;r<i;r++)if(t.call(n,e[r],r,e))return!0;return!1},trim:function(e){return e.replace(/(^\s*)|(\s*$)/g,"")},includes:function(e,t){if("string"==typeof e)return -1!==e.indexOf(t);for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1},spaceIndex:function(e){var t=/\s|\n|\t/.exec(e);return t?t.index:-1},uniq:function(e){for(var t={},n=[],r=0;r<e.length;r++)t[e[r]]||(n.push(e[r]),t[e[r]]=!0);return n},from:function(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n]);return t},keys:function(e){var t=[];for(var n in e)t.push(n);return t}};function m(e){return null==e}function v(e){var t;return'"'===(t=e)[0]&&'"'===t[t.length-1]||"'"===t[0]&&"'"===t[t.length-1]?e.substr(1,e.length-2):e}function y(e){var t,n,r,i,o,a,s,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c="",u=0;for(e=function(e){e=e.replace(/rn/g,"n");for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r>127&&r<2048?t+=String.fromCharCode(r>>6|192)+String.fromCharCode(63&r|128):t+=String.fromCharCode(r>>12|224)+String.fromCharCode(r>>6&63|128)+String.fromCharCode(63&r|128)}return t}(e);u<e.length;)i=(t=e.charCodeAt(u++))>>2,o=(3&t)<<4|(n=e.charCodeAt(u++))>>4,a=(15&n)<<2|(r=e.charCodeAt(u++))>>6,s=63&r,isNaN(n)?a=s=64:isNaN(r)&&(s=64),c=c+l.charAt(i)+l.charAt(o)+l.charAt(a)+l.charAt(s);return c}function b(e){var t,n,r,i,o,a,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="",c=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");c<e.length;)t=s.indexOf(e.charAt(c++))<<2|(i=s.indexOf(e.charAt(c++)))>>4,n=(15&i)<<4|(o=s.indexOf(e.charAt(c++)))>>2,r=(3&o)<<6|(a=s.indexOf(e.charAt(c++))),l+=String.fromCharCode(t),64!==o&&(l+=String.fromCharCode(n)),64!==a&&(l+=String.fromCharCode(r));return function(e){for(var t="",n=0,r=0,i=0,o=0;n<e.length;)(r=e.charCodeAt(n))<128?(t+=String.fromCharCode(r),n++):r>191&&r<224?(t+=String.fromCharCode((31&r)<<6|63&(o=e.charCodeAt(n+1))),n+=2):(o=e.charCodeAt(n+1),t+=String.fromCharCode((15&r)<<12|(63&o)<<6|63&(i=e.charCodeAt(n+2))),n+=3);return t}(l)}function x(e,t,n){var r="",i=0,o=!1,a=!1,s=0,l=e.length,c="",u="";e:for(s=0;s<l;s++){var f=e.charAt(s);if(!1===o){if("<"===f){o=s;continue}}else if(!1===a){if("<"===f){r+=n(e.slice(i,s)),o=s,i=s;continue}if(">"===f||s===l-1){r+=n(e.slice(i,o)),c=function(e){var t,n=g.spaceIndex(e);return t=-1===n?e.slice(1,-1):e.slice(1,n+1),"/"===(t=g.trim(t).toLowerCase()).slice(0,1)&&(t=t.slice(1)),"/"===t.slice(-1)&&(t=t.slice(0,-1)),t}(u=e.slice(o,s+1)),r+=t(o,r.length,c,u,"</"===u.slice(0,2)),i=s+1,o=!1;continue}if('"'===f||"'"===f)for(var d=1,h=e.charAt(s-d);""===h.trim()||"="===h;){if("="===h){a=f;continue e}h=e.charAt(s-++d)}}else if(f===a){a=!1;continue}}return i<l&&(r+=n(e.substr(i))),r}function w(e,t){var n=0,i=0,o=[],a=!1,s=e.length;function l(e,n){if(!((e=(e=g.trim(e)).replace(r,"").toLowerCase()).length<1)){var i=t(e,n||"");i&&o.push(i)}}for(var c=0;c<s;c++){var u=e.charAt(c),f=void 0;if(!1!==a||"="!==u){if(!1===a||c!==i){if(/\s|\n|\t/.test(u)){if(e=e.replace(/\s|\n|\t/g," "),!1===a){if(-1===(f=function(e,t){for(;t<e.length;t++){var n=e[t];if(" "!==n)return"="===n?t:-1}return -1}(e,c))){l(g.trim(e.slice(n,c))),a=!1,n=c+1;continue}c=f-1;continue}if(-1===(f=function(e,t){for(;t>0;t--){var n=e[t];if(" "!==n)return"="===n?t:-1}return -1}(e,c-1))){l(a,v(g.trim(e.slice(n,c)))),a=!1,n=c+1;continue}}}else{if(-1===(f=e.indexOf(u,c+1)))break;l(a,g.trim(e.slice(i+1,f))),a=!1,n=(c=f)+1}}else a=e.slice(n,c),n=c+1,i='"'===e.charAt(n)||"'"===e.charAt(n)?n:function(e,t){for(;t<e.length;t++){var n=e[t];if(" "!==n)return"'"===n||'"'===n?t:-1}return -1}(e,c+1)}return n<e.length&&(!1===a?l(e.slice(n)):l(a,v(g.trim(e.slice(n))))),g.trim(o.join(" "))}function _(e,t,n){if(n=function(e){return e=function(e){for(var t="",n=0,r=e.length;n<r;n++)t+=32>e.charCodeAt(n)?" ":e.charAt(n);return g.trim(t)}(e=(e=(e=e.replace(s,'"')).replace(a,function(e,t){return"x"===t[0]||"X"===t[0]?String.fromCharCode(parseInt(t.substr(1),16)):String.fromCharCode(parseInt(t,10))})).replace(l,":").replace(c," "))}(n),"href"===t||"src"===t){if("#"===(n=g.trim(n)))return"#";if("http://"!==n.substr(0,7)&&"https://"!==n.substr(0,8)&&"mailto:"!==n.substr(0,7)&&"tel:"!==n.substr(0,4)&&"data:image/"!==n.substr(0,11)&&"ftp://"!==n.substr(0,6)&&"./"!==n.substr(0,2)&&"../"!==n.substr(0,3)&&"#"!==n[0]&&"/"!==n[0])return""}else if("background"===t){if(u.lastIndex=0,u.test(n))return""}else if("style"===t&&(d.lastIndex=0,d.test(n)||(f.lastIndex=0,f.test(n)&&(u.lastIndex=0,u.test(n)))))return"";return n=function(e){return e=p(e=e.replace(h,"&quot;"))}(n)}var S=function(e){return"string"==typeof e?e.replace(/'/g,'"').replace('=""',"").replace(/\s+/g,"").toLowerCase():""},C=function(){function e(e){var t=function(e){var t={};for(var n in e)t[n]=e[n];return t}(e||{});t.stripIgnoreTag&&(t.onIgnoreTag,t.onIgnoreTag=function(){return""}),t.whiteList={},t.onTag=function(){},t.onTagAttr=function(){},t.onIgnoreTag=function(){},t.onIgnoreTagAttr=function(){},t.safeAttrValue=_,t.escapeHtml=p,this.options=Object.assign(t,e)}return e.prototype.process=function(e){if(!(e=(e=e||"").toString()))return"";var t,n,r,i,o,a,s=this.options,l=s.whiteList,c=s.onTag,u=s.onIgnoreTag,f=s.onTagAttr,d=s.onIgnoreTagAttr,h=s.safeAttrValue,p=s.escapeHtml;s.stripBlankChar&&(e=(t=(t=e.split("")).filter(function(e){var t=e.charCodeAt(0);return!(127===t||t<=31&&10!==t&&13!==t)})).join("")),s.allowCommentTag||(e=function(e){for(var t="",n=0;n<e.length;){var r=e.indexOf("\x3c!--",n);if(-1===r){t+=e.slice(n);break}t+=e.slice(n,r);var i=e.indexOf("--\x3e",r);if(-1===i)break;n=i+3}return t}(e));var m=!1;s.stripIgnoreTagBody&&(n=s.stripIgnoreTagBody,"function"!=typeof(r=u)&&(r=function(){}),i=!Array.isArray(n),o=[],a=!1,u=(m={onIgnoreTag:function(e,t,s){var l;if(l=e,i||-1!==g.indexOf(n,l)){if(s.isClosing){var c="[/removed]",u=s.position+c.length;return o.push([!1!==a?a:s.position,u]),a=!1,c}return a||(a=s.position),"[removed]"}return r(e,t,s)},remove:function(e){var t="",n=0;return g.forEach(o,function(r){t+=e.slice(n,r[0]),n=r[1]}),t+=e.slice(n)}}).onIgnoreTag);var v=x(e,function(e,t,n,r,i){var o={sourcePosition:e,position:t,isClosing:i,isWhite:Object.prototype.hasOwnProperty.call(l,n)},a=c(n,r,o);if(null!=a)return a;if(o.isWhite){if(o.isClosing)return"</".concat(n,">");var s=function(e){var t=g.spaceIndex(e);if(-1===t)return{html:"",closing:"/"===e[e.length-2]};var n="/"===(e=g.trim(e.slice(t+1,-1)))[e.length-1];return n&&(e=g.trim(e.slice(0,-1))),{html:e,closing:n}}(r),m=l[n],v=w(s.html,function(e,t){var r=-1!==g.indexOf(m,e),i=f(n,e,t,r);return null==i?r?(t=h(n,e,t,null))?"".concat(e,'="').concat(t,'"'):e:null==(i=d(n,e,t,r))?void 0:i:i});return r="<".concat(n),v&&(r+=" ".concat(v)),s.closing&&(r+=" /"),r+=">"}return null==(a=u(n,r,o))?p(r):a},p);return m&&(v=m.remove(v)),v},e}(),T=Function("\nvar _checkXSS = function (it) {\n return it && it.Math == Math && it;\n};\nreturn _checkXSS(typeof globalThis === 'object' && globalThis) ||\n_checkXSS(typeof window === 'object' && window) ||\n_checkXSS(typeof self === 'object' && self) ||\n_checkXSS(typeof global === 'object' && global) ||\nFunction('return this')();\n")(),O=new(function(){function e(){var e=this;this.batchData=[],this.uniqKeys=new Set,this.timeout=2e3,this.lock=!1,this.getSlardarBid=function(){var t,n,r="douyin_web";if(!g.includes(r,"bid"))return r;if(e.config&&e.config.bid)return e.config.bid;if(T&&T._xssBid)return T._xssBid;if(T&&T.slardar&&"function"==typeof T.slardar.config){var i=(T.slardar.config()||{}).bid;if(i)return i}if(T&&T.Slardar&&"function"==typeof T.Slardar.config){var o=(T.Slardar.config()||{}).bid;if(o)return o}return(null===(n=null===(t=null==T?void 0:T.Slardar)||void 0===t?void 0:t._baseParams)||void 0===n?void 0:n.bid)||"argus"},this.getConfigRegion=function(){var t;return g.includes("cn","region")?e.config&&e.config.region?e.config.region:((null===(t=null==T?void 0:T.gfdatav1)||void 0===t?void 0:t.region)||"cn").toLowerCase():"cn"},this.gerReportUrl=function(){var t={cn:b("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boe:b("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),ttp:b("aHR0cHM6Ly9tb24udXMudGlrdG9rdi5jb20vbW9uaXRvcl9icm93c2VyL2NvbGxlY3QvYmF0Y2gvc2VjdXJpdHkvP2JpZD0="),va:b("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),maliva:b("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),sg:b("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boei18n:b("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9")}[e.getConfigRegion()];if(t)return t+e.getSlardarBid()}}return e.prototype.setConfig=function(e){this.config=e},e.prototype.upload=function(){var e=this,t=this.gerReportUrl();!this.lock&&t&&0!==this.batchData.length&&(this.lock=!0,setTimeout(function(){var n=e.batchData.slice(0,100);e.batchData=e.batchData.slice(100),T.fetch(t,{method:"post",body:JSON.stringify(n),headers:{"Content-Type":"application/json"}}).catch(function(e){}),e.lock=!1,e.upload()},this.timeout))},e.prototype.generateKey=function(e){return e.collectKey?[e.collectMode,e.collectKey].join("___"):""},e.prototype.push=function(e){this.batchData.push(e),this.upload()},e.prototype.report=function(e){var t=this.generateKey(e);if(T.fetch&&e.collectKey){var n="object"==typeof window?window.location.href:"SSR";e.documentUrl=n;var r={age:Math.floor(Date.now()),type:"xss",url:n,body:e,"user-agent":""};"enforce"===e.disposition&&"SSR"!==n||(r.url=t),"SSR"===n&&(r.url="SSR___".concat(r.url),r.body.ssr=!0),this.push(r)}},e}()),I=function(e){for(var t=0,n=function(n){Array.isArray(e[n])?0===e[n].length?delete e[n]:(e[n]=g.from(g.uniq(e[n])),t+=e[n].length):0===g.keys(e[n]).length?delete e[n]:g.keys(e[n]).forEach(function(r){e[n][r]=g.from(g.uniq(e[n][r])),t+=e[n][r].length})},r=0,i=g.keys(e);r<i.length;r++)n(i[r]);return{count:t,ret:e}};function A(e,t){return O.setConfig(t),new C(t).process(e)}function k(e){var t,n=(t=/\s|\n|\t/.exec(e))?t.index:-1;if(-1===n)return{html:"",closing:"/"===e[e.length-2]};var r="/"===(e=e.slice(n+1,-1).trim())[e.length-1];return r&&(e=e.slice(0,-1).trim()),{html:e,closing:r}}var L=function(e){return -1===(e=(e=(e=(e=e.replace(/&colon;/gi,":")).replace(/&tab;/gi,"")).replace(/&newline;/gi,"")).replace(/(\t|\n|\r)/g,"")).indexOf("&#")?e.trim().toLowerCase():e.trim().replace(/&#(?:(x)([0-9a-f]+)|([0-9]+));?/gi,function(e,t,n,r){return String.fromCharCode(t?parseInt(n,16):parseInt(r))}).replace(/(\t|\n|\r)/g,"").toLowerCase()};function M(e,t){if(void 0===e&&(e=""),"string"!=typeof e)return!0;if(e=L(e),g.includes(e,"base64")&&!function(e){if(""===e||""===e.trim())return!0;try{return!g.includes(e,"data:text/html;base64")}catch(e){return!0}}(e))return t&&t("data:text/html;base64"),!1;var n=["expression(","behavior:","view-source:"];if(g.some(n,function(t){return -1!==e.indexOf(t)}))return g.forEach(n,function(n){-1!==e.indexOf(n)&&t&&t(n)}),!1;var r=["data:application","data:javascript","data:text/html","data:texthtml"];if(g.some(r,function(t){return -1!==e.indexOf(t)}))return g.forEach(r,function(n){-1!==e.indexOf(n)&&t&&t(n)}),!1;if(e.indexOf("javascript:")>0)return t&&t("javascript:"),!1;if(/^javascript:/i.test(e)){var i=e.slice(11).replace(/\s/g,"").trim();return!!g.some(["void","void(0)","void0","false","undefined",";"],function(e){return e===i})||(t&&t("javascript:"),!1)}return!0}var E=function(e,t){var n,r,i="<%= isSaveValidUrl =>";if("string"!=typeof e||(r=Number("<%= urlLimit =>"),void 0!==n&&(r=n),"NaN"!==e.toString()&&-1!==r&&e.length>=r)||M(e,t))return e;try{if(!0===(i=JSON.parse(i))||"true"===i){var o=new URL(e);return o.origin+o.pathname}}catch(e){}return"#"};function j(e,t,r){if(void 0===e&&(e=""),void 0===t&&(t=[]),"string"!=typeof e)return!0;if(!M(e=L(e)))return!1;var i,o={url:(i=e.match(/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/)||[])[0],scheme:i[1],slash:i[2],host:i[3],port:i[4],path:i[5],query:i[6],hash:i[7]},a=o.scheme,s=o.host;return r?!!r(e):!(!a||!s)&&(!g.includes(["http","https","file"],a)||("object"==typeof window&&window&&(t=n(n([],t,!0),[location.host],!1)),g.some(t,function(e){return!!(e instanceof RegExp&&e.test(s))||e===s})))}var P={a:["target","title","spellcheck","rel"],canvas:[],abbr:["title"],address:[],area:["shape","coords","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:["dir"],dl:[],dt:[],em:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["alt","title","width","height","decoding"],ins:["datetime"],li:[],mark:[],nav:[],ol:["start"],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],sup:[],delete:[],form:[],strong:[],mask:["maskunits","x","y","width","height","fill"],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],wbr:[],video:["autoplay","controls","loop","preload","height","width"],svg:["viewBox","version","xmlns","fill","width","height","stroke","stroke-width","style"],path:["d","fill","opacity","stroke","p-id","fill-rule","clip-rule","stroke-width","stroke-linecap","stroke-linejoin","fill-opacity","mask"],rect:["x","y","width","height","fill","stroke","rx"],g:[]},R={collect:null,initCollect:function(){this.collect={whiteList:{},filterProtocol:[]}},removeCollect:function(){var e=I(this.collect),t=e.count,n=e.ret;return this.collect=null,{collectKey:0===t?null:JSON.stringify(n),collectMode:"white"}},onIgnoreTagAttr:function(e,t,r){return e&&g.indexOf(["href","src"],t)>-1?R.domainWhiteList&&Array.isArray(R.domainWhiteList)&&R.domainWhiteList.length>0&&!j(r,n([],R.domainWhiteList,!0))?"":"".concat(t,'="').concat(E(r,function(e){var t;null===(t=R.collect)||void 0===t||t.filterProtocol.push(e)}),'"'):e&&(g.indexOf(["style","class","id"],t)>-1||t.indexOf("data-")>-1)?"".concat(t,'="').concat(r,'"'):(R.collect.whiteList[e]=R.collect.whiteList[e]||[],void R.collect.whiteList[e].push(t))},onIgnoreTag:function(e,t){if("style"===e)return t;x(t,function(e,t,n,r){w(k(r).html.replace("/",""),function(e){R.collect.whiteList[n]=R.collect.whiteList[n]||[],R.collect.whiteList[n].push(e)})},p)},whiteList:P,mergeWhiteList:function(e){for(var t,n={},r=0,i=g.keys(P);r<i.length;r++)n[t=i[r]]=g.from(P[t]);for(var o=0,a=g.keys(e);o<a.length;o++)n[t=a[o]]=t in P?P[t].concat(e[t]):g.from(e[t]);return n},setWhiteList:function(e){for(var t=0,n=g.keys(e);t<n.length;t++){var r=n[t];this.whiteList[r]=r in P?P[r].concat(e[r]):g.from(e[r])}}};try{var N={},F="merge";g.includes(F,"override")&&(R.whiteList=N.whiteList),g.includes(F,"merge")&&R.setWhiteList(N.whiteList)}catch(e){}var z=function(e,t){for(var n={},r=0,i=g.keys(e);r<i.length;r++){var o=i[r];Array.isArray(e[o])?n[o]=g.from(e[o]):n[o]=z({},e[o])}for(var a=0,s=g.keys(t);a<s.length;a++)(o=s[a])in e?Array.isArray(e[o])?n[o]=e[o].concat(t[o]):n[o]=z(e[o],t[o]):Array.isArray(t[o])?n[o]=g.from(t[o]):n[o]=z({},t[o]);return n},D={blackList:{a:["folder"],meta:["content"],iframe:["srcdoc"],input:["pattern"],vmlframe:["xmlns"]},blackTags:["script","xml","embed","isindex","object","base","set","handler","animate","payload","import"],blackAttrs:["charset","ns","namespace","formaction","xlink:href","xmlns:xlink","handler","repeat","repeat-start","repeat-end"],blackAttrRegExps:[/^on/],filterList:{param:["value"],video:["poster"],form:["action"]},filterAttrs:["href","src","background","style","dynsrc","lowsrc","content"]};try{var Z={};Z.blackAttrRegExps&&(Z.blackAttrRegExps=Z.blackAttrRegExps.map(function(e){return new RegExp(e.toString().slice(1,e.toString().length-1))}));var $="merge";g.includes($,"override")&&(D=Z),g.includes($,"merge")&&(D=z(D,Z))}catch(e){}var W={mode:"black",whiteList:{},blackConfig:D,collect:null,initCollect:function(){W.collect={blackList:{},blackTags:[],blackAttrs:[],blackAttrRegExps:[],filterAttrs:[],filterList:{},filterProtocol:[]}},removeCollect:function(){var e=I(W.collect),t=e.count,n=e.ret;return W.collect=null,{collectKey:0===t?null:JSON.stringify(n),collectMode:"black"}},onIgnoreTag:function(e,t){var n;if(!g.includes(D.blackTags,e))return x(t,function(e,t,n,r,i){if(-1!==n.indexOf("/"))return p(r);if(i)return"</".concat(n,">");var o=k(r),a=w(o.html,function(e,t){var r,i=0;if(D.blackList[n]&&g.includes(D.blackList[n],e)&&(W.collect.blackList[n]=W.collect.blackList[n]||[],W.collect.blackList[n].push(e),i++),D.blackAttrRegExps.length&&D.blackAttrRegExps.some(function(t){return t.test(e)})&&g.forEach(D.blackAttrRegExps,function(t){t.test(e)&&(W.collect.blackAttrRegExps.push("".concat(t.toString(),"->").concat(e)),i++)}),D.blackAttrs.length&&g.includes(D.blackAttrs,e)&&(D.blackAttrs.push(e),i++),!i){if(D.filterList&&D.filterList[n]&&g.includes(D.filterList[n],e)){var o=E(t,function(e){var t;null===(t=W.collect)||void 0===t||t.filterProtocol.push(e)});return o!==t&&(W.collect.filterList[n]=W.collect.filterList[n]||[],W.collect.filterList[n].push(e)),t?"".concat(e,"='").concat(o,"'"):e}return D.filterAttrs&&g.includes(D.filterAttrs,e)?((o=E(t,function(e){var t;null===(t=W.collect)||void 0===t||t.filterProtocol.push(e)}))!==t&&(null===(r=W.collect)||void 0===r||r.filterAttrs.push(e)),t?"".concat(e,"='").concat(o,"'"):e):t?"".concat(e,"='").concat(t,"'"):e}});return r="<".concat(n),a&&(r+=" ".concat(a)),o.closing&&(r+=" /"),r+=">"},p);null===(n=W.collect)||void 0===n||n.blackTags.push(e)}},U=function(e){var t=e.reportOnly,n=void 0===t||t,r=e.block;return n&&"all"===n?"report":("string"==typeof n&&("true"===n&&(n=!0),"false"===n&&(n=!1)),r?"enforce":n?"report":"enforce")},J=function(e){return function(n,r,i){if(!n||"string"!=typeof n)return n;var o=r;e===A&&(o=R).initCollect();var a=e(n,o);if(S(a)===S(n))return n;if(!i)return a;var s=i.logType,l=U(i),c=o.removeCollect();return O.report(t(t({type:s,disposition:l},c),{sourceText:y(n),filterText:y(a)})),"enforce"===l?a:n}},H=J(function(e,t){return void 0===t&&(t={}),t&&t.whiteList||(t.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}),new C(t).process(e)}),V=J(A),X=function(e,t,n){var r=[],i=E(e,function(e){r.push(e)});if(i===e)return e;r=g.from(g.uniq(r));var o=t||n||{};if(!o)return i;var a=o.logType,s=U(n);return O.report({type:a,disposition:s,collectKey:r.join("___"),collectData:JSON.stringify(r),collectMode:"black",sourceText:y(e),filterText:y(i)}),"enforce"===s?i:e},B=T._xssProject||{},Y=T.xssNamespace||{},q="3.0.26",G={FilterXSS:C,version:q,webpackPluginVersion:"<%= webpackPluginVersion =>",reportOnly:"<%= reportOnly =>",filterXSS:H,_filterXSS:V,filterUrl:X,Config:R,BlackConfig:W,project:B,setProjectName:function(e){B[e]=this,T._xssProjectName=e}};Y.douyin_web=G,T.xssNamespace=Y,T.Math&&!T.Math.xssNamespace&&(T.Math.xssNamespace=Y),B[q]=G,T.globalThis=T,T.getFilterXss=function(){return void 0!==this._xssProjectName?this._xssProject[this._xssProjectName]:G},T.xss=G,T.isSafeUrl=j,T.isSafeDomain=j,T.isSafeProtocol=M,T._xssProject=B,T._xssProjectName&&(B[T._xssProjectName]=G);var K=G.setProjectName.bind(G);e.BlackConfig=W,e.Config=R,e.FilterXSS=C,e._filterXSS=V,e.filterUrl=X,e.filterXSS=H,e.isSafeDomain=j,e.isSafeProtocol=M,e.isSafeUrl=j,e.project=B,e.setProjectName=K,e.setXssNamespace=function(e){var t=e.appId,n=e.bid,r=e.region;Y[t]=G;R.bid=n,R.region=r,R.enabled=!0},e.xssNamespace=Y,Object.defineProperty(e,"__esModule",{value:!0})}),(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["38957"],{486247:function(e,t,n){"use strict";var r=n(101199),i=n(994298);let o=(0,i.A)(function(e){return r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.36 5.64a3 3 0 0 0-4.24 0L12 7.76a1 1 0 1 1-1.41-1.42l2.12-2.12a5 5 0 0 1 7.07 7.07l-2.12 2.12A1 1 0 0 1 16.24 12l2.12-2.12a3 3 0 0 0 0-4.24ZM5.64 18.36a3 3 0 0 0 4.24 0L12 16.24a1 1 0 0 1 1.41 1.42l-2.12 2.12a5 5 0 0 1-7.07-7.07l2.12-2.12A1 1 0 0 1 7.76 12l-2.12 2.12a3 3 0 0 0 0 4.24Zm9.9-8.48a1 1 0 0 0-1.42-1.42l-5.66 5.66a1 1 0 1 0 1.42 1.42l5.66-5.66Z",fill:"currentColor"}))},"chain_stroked");t.Z=o},152981:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Duration=void 0;t.Duration=class e{constructor(){this.time=Date.now()}stop(){return Date.now()-this.time}}},739054:function(e,t,n){"use strict";n.d(t,{C:function(){return c},i:function(){return l}});var r=Object.defineProperty,i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,s=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,l=(e,t)=>{for(var n in t||(t={}))o.call(t,n)&&s(e,n,t[n]);if(i)for(var n of i(t))a.call(t,n)&&s(e,n,t[n]);return e},c=(e,t,n)=>new Promise((r,i)=>{var o=e=>{try{s(n.next(e))}catch(e){i(e)}},a=e=>{try{s(n.throw(e))}catch(e){i(e)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(o,a);s((n=n.apply(e,t)).next())})},169136:function(e,t,n){"use strict";n.d(t,{g:function(){return r}});let r=function(e=1e3){return new Promise(t=>{"undefined"!=typeof window?window.setTimeout(()=>{t()},e):t()})}},639409:function(e,t){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){this.hook=e,this.subscribers=new Set}return e.prototype.notify=function(){var e,t;try{for(var r=n(this.subscribers),i=r.next();!i.done;i=r.next())(0,i.value)(this.data)}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},e}();t.Container=r},873064:function(e,t,n){var r=n(695707),i=n(749148),o=n(431356),a=n(20833),s=n(412818),l=n(778457),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),u=!n&&i(e),f=!n&&!u&&a(e),d=!n&&!u&&!f&&l(e),h=n||u||f||d,p=h?r(e.length,String):[],g=p.length;for(var m in e)(t||c.call(e,m))&&!(h&&("length"==m||f&&("offset"==m||"parent"==m)||d&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,g)))&&p.push(m);return p}},617883:function(e,t,n){var r=n(294089),i=n(700953);e.exports=function e(t,n,o,a,s){var l=-1,c=t.length;for(o||(o=i),s||(s=[]);++l<c;){var u=t[l];n>0&&o(u)?n>1?e(u,n-1,o,a,s):r(s,u):!a&&(s[s.length]=u)}return s}},605782:function(e,t,n){var r=n(488706),i=n(749148),o=n(431356),a=n(412818),s=n(331085),l=n(746170);e.exports=function(e,t,n){t=r(t,e);for(var c=-1,u=t.length,f=!1;++c<u;){var d=l(t[c]);if(!(f=null!=e&&n(e,d)))break;e=e[d]}return f||++c!=u?f:!!(u=null==e?0:e.length)&&s(u)&&a(d,u)&&(o(e)||i(e))}},55607:function(e,t,n){var r=n(431356),i=n(187985),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||i(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},187232:function(e,t,n){var r=n(518869)(Object,"create");e.exports=r},354784:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case f:case o:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case c:case d:case m:case g:case l:return e;default:return t}}case i:return t}}}function _(e){return w(e)===f}t.AsyncMode=u,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=o,t.Lazy=m,t.Memo=g,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return _(e)||w(e)===u},t.isConcurrentMode=_,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===m},t.isMemo=function(e){return w(e)===g},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===s||e===a||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===y||e.$$typeof===b||e.$$typeof===x||e.$$typeof===v)},t.typeOf=w},493272:function(e,t,n){"use strict";n.d(t,{S_:function(){return L},t7:function(){return M}});var r=n(900121),i=n(732905),o=n(771765),a=n(620930),s=n(101199),l="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function c(e){cancelAnimationFrame(e.id)}function u(e,t){var n=l(),r={id:requestAnimationFrame(function i(){l()-n>=t?e.call(null):r.id=requestAnimationFrame(i)})};return r}var f=-1;function d(e){if(void 0===e&&(e=!1),-1===f||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),f=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return f}var h=null;function p(e){if(void 0===e&&(e=!1),null===h||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),i=r.style;i.width="100px",i.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?h="positive-descending":(t.scrollLeft=1,h=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t)}return h}var g=function(e){var t=e.columnIndex;return e.data,e.rowIndex+":"+t},m=function(e,t){e.children,e.direction,e.height,e.innerTagName,e.outerTagName,e.overscanColumnsCount,e.overscanCount,e.overscanRowsCount,e.width,t.instance},v=function(e,t){var n=e.rowCount,r=t.rowMetadataMap,i=t.estimatedRowHeight,o=t.lastMeasuredRowIndex,a=0;if(o>=n&&(o=n-1),o>=0){var s=r[o];a=s.offset+s.size}var l=n-o-1;return a+l*i},y=function(e,t){var n=e.columnCount,r=t.columnMetadataMap,i=t.estimatedColumnWidth,o=t.lastMeasuredColumnIndex,a=0;if(o>=n&&(o=n-1),o>=0){var s=r[o];a=s.offset+s.size}var l=n-o-1;return a+l*i},b=function(e,t,n,r){var i,o,a;if("column"===e?(i=r.columnMetadataMap,o=t.columnWidth,a=r.lastMeasuredColumnIndex):(i=r.rowMetadataMap,o=t.rowHeight,a=r.lastMeasuredRowIndex),n>a){var s=0;if(a>=0){var l=i[a];s=l.offset+l.size}for(var c=a+1;c<=n;c++){var u=o(c);i[c]={offset:s,size:u},s+=u}"column"===e?r.lastMeasuredColumnIndex=n:r.lastMeasuredRowIndex=n}return i[n]},x=function(e,t,n,r,i,o){for(;i<=r;){var a=i+Math.floor((r-i)/2),s=b(e,t,a,n).offset;if(s===o)return a;s<o?i=a+1:s>o&&(r=a-1)}return i>0?i-1:0},w=function(e,t,n,r,i){for(var o="column"===e?t.columnCount:t.rowCount,a=1;r<o&&b(e,t,r,n).offset<i;)r+=a,a*=2;return x(e,t,n,Math.min(r,o-1),Math.floor(r/2),i)},_=function(e,t){return e};function S(e){var t,n=e.getItemOffset,l=e.getEstimatedTotalSize,f=e.getItemSize,h=e.getOffsetForIndexAndAlignment,g=e.getStartIndexForOffset,m=e.getStopIndexForStartIndex,v=e.initInstanceProps,y=e.shouldResetStyleCacheOnItemSizeChange,b=e.validateProps;return(t=function(e){function t(t){var r;return(r=e.call(this,t)||this)._instanceProps=v(r.props,(0,i.Z)(r)),r._outerRef=void 0,r._resetIsScrollingTimeoutId=null,r.state={instance:(0,i.Z)(r),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof r.props.initialScrollOffset?r.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},r._callOnItemsRendered=void 0,r._callOnItemsRendered=(0,a.Z)(function(e,t,n,i){return r.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:n,visibleStopIndex:i})}),r._callOnScroll=void 0,r._callOnScroll=(0,a.Z)(function(e,t,n){return r.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:n})}),r._getItemStyle=void 0,r._getItemStyle=function(e){var t,i=r.props,o=i.direction,a=i.itemSize,s=i.layout,l=r._getItemStyleCache(y&&a,y&&s,y&&o);if(l.hasOwnProperty(e))t=l[e];else{var c=n(r.props,e,r._instanceProps),u=f(r.props,e,r._instanceProps),d="horizontal"===o||"horizontal"===s,h="rtl"===o,p=d?c:0;l[e]=t={position:"absolute",left:h?void 0:p,right:h?p:void 0,top:d?0:c,height:d?"100%":u,width:d?u:"100%"}}return t},r._getItemStyleCache=void 0,r._getItemStyleCache=(0,a.Z)(function(e,t,n){return{}}),r._onScrollHorizontal=function(e){var t=e.currentTarget,n=t.clientWidth,i=t.scrollLeft,o=t.scrollWidth;r.setState(function(e){if(e.scrollOffset===i)return null;var t=r.props.direction,a=i;if("rtl"===t)switch(p()){case"negative":a=-i;break;case"positive-descending":a=o-n-i}return a=Math.max(0,Math.min(a,o-n)),{isScrolling:!0,scrollDirection:e.scrollOffset<a?"forward":"backward",scrollOffset:a,scrollUpdateWasRequested:!1}},r._resetIsScrollingDebounced)},r._onScrollVertical=function(e){var t=e.currentTarget,n=t.clientHeight,i=t.scrollHeight,o=t.scrollTop;r.setState(function(e){if(e.scrollOffset===o)return null;var t=Math.max(0,Math.min(o,i-n));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}},r._resetIsScrollingDebounced)},r._outerRefSetter=function(e){var t=r.props.outerRef;r._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},r._resetIsScrollingDebounced=function(){null!==r._resetIsScrollingTimeoutId&&c(r._resetIsScrollingTimeoutId),r._resetIsScrollingTimeoutId=u(r._resetIsScrolling,150)},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},function(){r._getItemStyleCache(-1,null)})},r}(0,o.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return C(e,t),b(e),null};var x=t.prototype;return x.scrollTo=function(e){e=Math.max(0,e),this.setState(function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},x.scrollToItem=function(e,t){void 0===t&&(t="auto");var n=this.props,r=n.itemCount,i=n.layout,o=this.state.scrollOffset;e=Math.max(0,Math.min(e,r-1));var a=0;if(this._outerRef){var s=this._outerRef;a="vertical"===i?s.scrollWidth>s.clientWidth?d():0:s.scrollHeight>s.clientHeight?d():0}this.scrollTo(h(this.props,e,t,o,this._instanceProps,a))},x.componentDidMount=function(){var e=this.props,t=e.direction,n=e.initialScrollOffset,r=e.layout;if("number"==typeof n&&null!=this._outerRef){var i=this._outerRef;"horizontal"===t||"horizontal"===r?i.scrollLeft=n:i.scrollTop=n}this._callPropsCallbacks()},x.componentDidUpdate=function(){var e=this.props,t=e.direction,n=e.layout,r=this.state,i=r.scrollOffset;if(r.scrollUpdateWasRequested&&null!=this._outerRef){var o=this._outerRef;if("horizontal"===t||"horizontal"===n){if("rtl"===t)switch(p()){case"negative":o.scrollLeft=-i;break;case"positive-ascending":o.scrollLeft=i;break;default:var a=o.clientWidth,s=o.scrollWidth;o.scrollLeft=s-a-i}else o.scrollLeft=i}else o.scrollTop=i}this._callPropsCallbacks()},x.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&c(this._resetIsScrollingTimeoutId)},x.render=function(){var e=this.props,t=e.children,n=e.className,i=e.direction,o=e.height,a=e.innerRef,c=e.innerElementType,u=e.innerTagName,f=e.itemCount,d=e.itemData,h=e.itemKey,p=void 0===h?_:h,g=e.layout,m=e.outerElementType,v=e.outerTagName,y=e.style,b=e.useIsScrolling,x=e.width,w=this.state.isScrolling,S="horizontal"===i||"horizontal"===g,C=S?this._onScrollHorizontal:this._onScrollVertical,T=this._getRangeToRender(),O=T[0],I=T[1],A=[];if(f>0)for(var k=O;k<=I;k++)A.push((0,s.createElement)(t,{data:d,key:p(k,d),index:k,isScrolling:b?w:void 0,style:this._getItemStyle(k)}));var L=l(this.props,this._instanceProps);return(0,s.createElement)(m||v||"div",{className:n,onScroll:C,ref:this._outerRefSetter,style:(0,r.Z)({position:"relative",height:o,width:x,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:i},y)},(0,s.createElement)(c||u||"div",{children:A,ref:a,style:{height:S?"100%":L,pointerEvents:w?"none":void 0,width:S?L:"100%"}}))},x._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],r=e[2],i=e[3];this._callOnItemsRendered(t,n,r,i)}if("function"==typeof this.props.onScroll){var o=this.state,a=o.scrollDirection,s=o.scrollOffset,l=o.scrollUpdateWasRequested;this._callOnScroll(a,s,l)}},x._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,i=r.isScrolling,o=r.scrollDirection,a=r.scrollOffset;if(0===t)return[0,0,0,0];var s=g(this.props,a,this._instanceProps),l=m(this.props,s,a,this._instanceProps);return[Math.max(0,s-(i&&"backward"!==o?1:Math.max(1,n))),Math.max(0,Math.min(t-1,l+(i&&"forward"!==o?1:Math.max(1,n)))),s,l]},t}(s.PureComponent)).defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var C=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},T=function(e,t,n){var r=e.itemSize,i=n.itemMetadataMap,o=n.lastMeasuredIndex;if(t>o){var a=0;if(o>=0){var s=i[o];a=s.offset+s.size}for(var l=o+1;l<=t;l++){var c=r(l);i[l]={offset:a,size:c},a+=c}n.lastMeasuredIndex=t}return i[t]},O=function(e,t,n){var r=t.itemMetadataMap,i=t.lastMeasuredIndex;return(i>0?r[i].offset:0)>=n?I(e,t,i,0,n):A(e,t,Math.max(0,i),n)},I=function(e,t,n,r,i){for(;r<=n;){var o=r+Math.floor((n-r)/2),a=T(e,o,t).offset;if(a===i)return o;a<i?r=o+1:a>i&&(n=o-1)}return r>0?r-1:0},A=function(e,t,n,r){for(var i=e.itemCount,o=1;n<i&&T(e,n,t).offset<r;)n+=o,o*=2;return I(e,t,Math.min(n,i-1),Math.floor(n/2),r)},k=function(e,t){var n=e.itemCount,r=t.itemMetadataMap,i=t.estimatedItemSize,o=t.lastMeasuredIndex,a=0;if(o>=n&&(o=n-1),o>=0){var s=r[o];a=s.offset+s.size}var l=n-o-1;return a+l*i},L=S({getItemOffset:function(e,t,n){return T(e,t,n).offset},getItemSize:function(e,t,n){return n.itemMetadataMap[t].size},getEstimatedTotalSize:k,getOffsetForIndexAndAlignment:function(e,t,n,r,i,o){var a=e.direction,s=e.height,l=e.layout,c=e.width,u="horizontal"===a||"horizontal"===l?c:s,f=T(e,t,i),d=Math.max(0,Math.min(k(e,i)-u,f.offset)),h=Math.max(0,f.offset-u+f.size+o);switch("smart"===n&&(n=r>=h-u&&r<=d+u?"auto":"center"),n){case"start":return d;case"end":return h;case"center":return Math.round(h+(d-h)/2);default:if(r>=h&&r<=d)return r;if(r<h)return h;else return d}},getStartIndexForOffset:function(e,t,n){return O(e,n,t)},getStopIndexForStartIndex:function(e,t,n,r){for(var i=e.direction,o=e.height,a=e.itemCount,s=e.layout,l=e.width,c=T(e,t,r),u=n+("horizontal"===i||"horizontal"===s?l:o),f=c.offset+c.size,d=t;d<a-1&&f<u;)f+=T(e,++d,r).size;return d},initInstanceProps:function(e,t){var n={itemMetadataMap:{},estimatedItemSize:e.estimatedItemSize||50,lastMeasuredIndex:-1};return t.resetAfterIndex=function(e,r){void 0===r&&(r=!0),n.lastMeasuredIndex=Math.min(n.lastMeasuredIndex,e-1),t._getItemStyleCache(-1),r&&t.forceUpdate()},n},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){e.itemSize}}),M=S({getItemOffset:function(e,t){return t*e.itemSize},getItemSize:function(e,t){return e.itemSize},getEstimatedTotalSize:function(e){var t=e.itemCount;return e.itemSize*t},getOffsetForIndexAndAlignment:function(e,t,n,r,i,o){var a=e.direction,s=e.height,l=e.itemCount,c=e.itemSize,u=e.layout,f=e.width,d="horizontal"===a||"horizontal"===u?f:s,h=Math.max(0,l*c-d),p=Math.min(h,t*c),g=Math.max(0,t*c-d+c+o);switch("smart"===n&&(n=r>=g-d&&r<=p+d?"auto":"center"),n){case"start":return p;case"end":return g;case"center":var m=Math.round(g+(p-g)/2);if(m<Math.ceil(d/2))return 0;if(m>h+Math.floor(d/2))return h;else return m;default:if(r>=g&&r<=p)return r;if(r<g)return g;else return p}},getStartIndexForOffset:function(e,t){return Math.max(0,Math.min(e.itemCount-1,Math.floor(t/e.itemSize)))},getStopIndexForStartIndex:function(e,t,n){var r=e.direction,i=e.height,o=e.itemCount,a=e.itemSize,s=e.layout,l=e.width,c=Math.ceil((("horizontal"===r||"horizontal"===s?l:i)+n-t*a)/a);return Math.max(0,Math.min(o-1,t+c-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.itemSize}})},502571:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkIsCurrentVideo=function(e,t,n){if(!!e){var r=e.getAttribute(n);return!!r&&r===t&&("VIDEO"===e.tagName||"AUDIO"===e.tagName)||!1}},t.debounce=u,t.default=void 0,t.getLang=function(){var e=(document.documentElement.getAttribute("lang")||navigator.language||"zh-cn").toLocaleLowerCase();return"zh-cn"===e&&(e="zh"),e},t.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw TypeError("Expected a function");return c(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),u(e,t,{leading:r,trailing:i,maxWait:t})};var r=o(n(159957)),i=o(n(61928));function o(e){return e&&e.__esModule?e:{default:e}}function a(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}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l={};t.default=l,l.createDom=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=document.createElement(e);return i.className=r,i.innerHTML=t,Object.keys(n).forEach(function(t){var r=n[t];"video"===e||"audio"===e||"live-video"===e?r&&i.setAttribute(t,r):i.setAttribute(t,r)}),i},l.createDomFromHtml=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var i=document.createElement("div");i.innerHTML=e;var o=i.children;if(i=null,o.length>0)return o=o[0],n&&l.addClass(o,n),t&&Object.keys(t).forEach(function(e){o.setAttribute(e,t[e])}),o;return null}catch(e){return r.default.logError("util.createDomFromHtml",e),null}},l.hasClass=function(e,t){if(!e||!t)return!1;try{return Array.prototype.some.call(e.classList,function(e){return e===t})}catch(r){var n=e.className&&"object"===s(e.className)?e.getAttribute("class"):e.className;return n&&!!n.match(RegExp("(\\s|^)"+t+"(\\s|$)"))}},l.addClass=function(e,t){if(!!e&&!!t)try{t.replace(/(^\s+|\s+$)/g,"").split(/\s+/g).forEach(function(t){t&&e.classList.add(t)})}catch(n){!l.hasClass(e,t)&&(e.className&&"object"===s(e.className)?e.setAttribute("class",e.getAttribute("class")+" "+t):e.className+=" "+t)}},l.removeClass=function(e,t){if(!!e&&!!t)try{t.replace(/(^\s+|\s+$)/g,"").split(/\s+/g).forEach(function(t){t&&e.classList.remove(t)})}catch(n){l.hasClass(e,t)&&t.split(/\s+/g).forEach(function(t){var n=RegExp("(\\s|^)"+t+"(\\s|$)");e.className&&"object"===s(e.className)?e.setAttribute("class",e.getAttribute("class").replace(n," ")):e.className=e.className.replace(n," ")})}},l.toggleClass=function(e,t){if(!!e)t.split(/\s+/g).forEach(function(t){l.hasClass(e,t)?l.removeClass(e,t):l.addClass(e,t)})},l.classNames=function(){for(var e=arguments,t=[],n=function(n){"String"===l.typeOf(e[n])?t.push(e[n]):"Object"===l.typeOf(e[n])&&Object.keys(e[n]).map(function(r){e[n][r]&&t.push(r)})},r=0;r<arguments.length;r++)n(r);return t.join(" ")},l.findDom=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,n=arguments.length>1?arguments[1]:void 0;try{e=t.querySelector(n)}catch(i){r.default.logError("util.findDom",i),0===n.indexOf("#")&&(e=t.getElementById(n.slice(1)))}return e},l.getCss=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,!1)[t]},l.padStart=function(e,t,n){for(var r=String(n),i=t>>0,o=Math.ceil(i/r.length),a=[],s=String(e);o--;)a.push(r);return a.join("").substring(0,i-s.length)+s},l.format=function(e){if(window.isNaN(e))return"";e=Math.round(e);var t=l.padStart(Math.floor(e/3600),2,0),n=l.padStart(Math.floor((e-3600*t)/60),2,0),r=l.padStart(Math.floor(e-3600*t-60*n),2,0);return("00"===t?[n,r]:[t,n,r]).join(":")},l.event=function(e){if(e.touches){var t=e.touches[0]||e.changedTouches[0];e.clientX=t.clientX||0,e.clientY=t.clientY||0,e.offsetX=t.pageX-t.target.offsetLeft,e.offsetY=t.pageY-t.target.offsetTop}e._target=e.target||e.srcElement},l.typeOf=function(e){return Object.prototype.toString.call(e).match(/([^\s.*]+)(?=]$)/g)[0]},l.deepCopy=function(e,t){if("Object"===l.typeOf(t)&&"Object"===l.typeOf(e))return Object.keys(t).forEach(function(n){"Object"!==l.typeOf(t[n])||t[n]instanceof Node?"Array"===l.typeOf(t[n])?e[n]="Array"===l.typeOf(e[n])?e[n].concat(t[n]):t[n]:e[n]=t[n]:void 0===e[n]||void 0===e[n]?e[n]=t[n]:l.deepCopy(e[n],t[n])}),e},l.deepMerge=function(e,t){return Object.keys(t).map(function(n){if("Array"===l.typeOf(t[n])&&"Array"===l.typeOf(e[n])){if("Array"===l.typeOf(e[n])){var r,i;(r=e[n]).push.apply(r,function(e){if(Array.isArray(e))return a(e)}(i=t[n])||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(i)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}}(i)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}}else l.typeOf(e[n])!==l.typeOf(t[n])||null===e[n]||"Object"!==l.typeOf(e[n])||t[n]instanceof window.Node?null!==t[n]&&(e[n]=t[n]):l.deepMerge(e[n],t[n])}),e},l.getBgImage=function(e){var t=(e.currentStyle||window.getComputedStyle(e,null)).backgroundImage;if(!t||"none"===t)return"";var n=document.createElement("a");return n.href=t.replace(/url\("|"\)/g,""),n.href},l.copyDom=function(e){if(!e||1!==e.nodeType)return"";var t=document.createElement(e.tagName);return Array.prototype.forEach.call(e.attributes,function(e){t.setAttribute(e.name,e.value)}),e.innerHTML&&(t.innerHTML=e.innerHTML),t},l.setInterval=function(e,t,n,r){!e._interval[t]&&(e._interval[t]=window.setInterval(n.bind(e),r))},l.clearInterval=function(e,t){clearInterval(e._interval[t]),e._interval[t]=null},l.setTimeout=function(e,t,n){!e._timers&&(e._timers=[]);var r=setTimeout(function(){t(),l.clearTimeout(e,r)},n);return e._timers.push(r),r},l.clearTimeout=function(e,t){var n=e._timers;if("Array"===l.typeOf(n)){for(var r=0;r<n.length;r++)if(n[r]===t){n.splice(r,1),clearTimeout(t);break}}else clearTimeout(t)},l.clearAllTimers=function(e){var t=e._timers;"Array"===l.typeOf(t)&&(t.map(function(e){clearTimeout(e)}),e._timerIds=[])},l.createImgBtn=function(e,t,n,r){var i,o,a,s=l.createDom("xg-".concat(e),"",{},"xgplayer-".concat(e,"-img"));return s.style.backgroundImage='url("'.concat(t,'")'),n&&r&&(["px","rem","em","pt","dp","vw","vh","vm","%"].every(function(e){return!(n.indexOf(e)>-1&&r.indexOf(e)>-1)||(i=parseFloat(n.slice(0,n.indexOf(e)).trim()),o=parseFloat(r.slice(0,r.indexOf(e)).trim()),a=e,!1)}),s.style.width="".concat(i).concat(a),s.style.height="".concat(o).concat(a),s.style.backgroundSize="".concat(i).concat(a," ").concat(o).concat(a),"start"===e?s.style.margin="-".concat(o/2).concat(a," auto auto -").concat(i/2).concat(a):s.style.margin="auto 5px auto 5px"),s},l.Hex2RGBA=function(e,t){var n=[];if(/^\#[0-9A-F]{3}$/i.test(e)){var r="#";e.replace(/[0-9A-F]/ig,function(e){r+=e+e}),e=r}return/^#[0-9A-F]{6}$/i.test(e)?(e.replace(/[0-9A-F]{2}/ig,function(e){n.push(parseInt(e,16))}),"rgba(".concat(n.join(","),", ").concat(t,")")):"rgba(255, 255, 255, 0.1)"},l.getFullScreenEl=function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement},l.checkIsFunction=function(e){return e&&"function"==typeof e},l.checkIsObject=function(e){return null!==e&&"object"===s(e)},l.hide=function(e){e.style.display="none"},l.show=function(e,t){e.style.display=t||"block"},l.isUndefined=function(e){if(null==e)return!0},l.setStyleFromCsstext=function(e,t){if(!!t)"String"===l.typeOf(t)?t.replace(/\s+/g,"").split(";").map(function(t){if(t){var n=t.split(":");n.length>1&&(e.style[n[0]]=n[1])}}):Object.keys(t).map(function(n){e.style[n]=t[n]})};function c(e){var t=s(e);return null!==e&&("object"===t||"function"===t)}function u(e,t,n){var r,i,o,a,s,l,u=0,f=!1,d=!1,h=!0,p=!t&&0!==t&&"function"==typeof window.requestAnimationFrame;if("function"!=typeof e)throw TypeError("Expected a function");function g(t){var n=r,o=i;return r=i=void 0,u=t,a=e.apply(o,n)}function m(e,t){return p?(window.cancelAnimationFrame(s),window.requestAnimationFrame(e)):setTimeout(e,t)}t=+t||0,c(n)&&(f=!!n.leading,o=(d="maxWait"in n)?Math.max(+n.maxWait||0,t):o,h="trailing"in n?!!n.trailing:h);function v(e){var n=e-l,r=e-u;return void 0===l||n>=t||n<0||d&&r>=o}function y(){var e,n,r,i,a=Date.now();if(v(a))return b(a);s=m(y,(n=(e=a)-l,r=e-u,i=t-n,d?Math.min(i,o-r):i))}function b(e){return(s=void 0,h&&r)?g(e):(r=i=void 0,a)}function x(){for(var e,n=Date.now(),o=v(n),c=arguments.length,h=Array(c),p=0;p<c;p++)h[p]=arguments[p];if(r=h,i=this,l=n,o){if(void 0===s){;return u=e=l,s=m(y,t),f?g(e):a}if(d)return s=m(y,t),g(l)}return void 0===s&&(s=m(y,t)),a}return x.cancel=function(){void 0!==s&&!function(e){if(p)return window.cancelAnimationFrame(e);clearTimeout(e)}(s),u=0,r=l=i=s=void 0},x.flush=function(){return void 0===s?a:b(Date.now())},x.pending=function(){return void 0!==s},x}l.filterStyleFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["width","height","top","left","bottom","right","position","z-index","padding","margin","transform"],n=e.style.cssText;if(!n)return{};var r=n.replace(/\s+/g,"").split(";"),i={},o={};return r.map(function(e){if(e){var n=e.split(":");n.length>1&&(function(e,t){for(var n=0,r=t.length;n<r;n++)if(e.indexOf(t[n])>-1)return!0;return!1}(n[0],t)?i[n[0]]=n[1]:o[n[0]]=n[1])}}),e.setAttribute("style",""),Object.keys(o).map(function(t){e.style[t]=o[t]}),i},l.getStyleFromCsstext=function(e){var t=e.style.cssText;if(!t)return{};var n=t.replace(/\s+/g,"").split(";"),r={};return n.map(function(e){if(e){var t=e.split(":");t.length>1&&(r[t[0]]=t[1])}}),r},l.preloadImg=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if(!!e){var r=new window.Image;r.onload=function(e){r=null,t&&t(e)},r.onerror=function(e){r=null,n&&n(e)},r.src=e}},l.stopPropagation=function(e){e&&(e.stopPropagation(),e.cancelable&&e.preventDefault())},l.scrollTop=function(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0},l.scrollLeft=function(){return window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0},l.checkTouchSupport=function(){return"ontouchstart"in window},l.getBuffered2=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.5,n=[],r=0;r<e.length;r++)n.push({start:.5>e.start(r)?0:e.start(r),end:e.end(r)});n.sort(function(e,t){var n=e.start-t.start;return n?n:t.end-e.end});var o=[];if(t)for(var a=0;a<n.length;a++){var s=o.length;if(s){var l=o[s-1].end;n[a].start-l<t?n[a].end>l&&(o[s-1].end=n[a].end):o.push(n[a])}else o.push(n[a])}else o=n;return new i.default(o)},l.getBufferByCurrentTime=function(e,t){var n={start:0,end:0,include:0,diff:0,cur:t};if(!e||e.length<1)return n;for(var r=-1,i=-1,o=parseInt(1e3*t,10),a=e.length-1;a>-1;a--){var s=parseInt(1e3*e.start(a),10),l=parseInt(1e3*e.end(a),10);if(o>=s&&o<=l){n.include=1,n.start=s/1e3,n.end=l/1e3,n.diff=(l-o)/1e3;break}o<s&&(r<0||s-o<r)?(r=(s-o)/1e3,i=a):o>l&&(r<0||o-l<r)&&(r=(o-l)/1e3,i=a)}return 1!==n.include&&(i<0&&(i=e.length-1),n.start=parseInt(1e3*e.start(i),10)/1e3,n.end=parseInt(1e3*e.end(i),10)/1e3,n.diff=(parseInt(1e3*n.end,10)-o)/1e3),n},l.getEventPos=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e.touches&&e.touches.length>0&&(e=e.touches[0]),{x:e.x/t,y:e.y/t,clientX:e.clientX/t,clientY:e.clientY/t,offsetX:e.offsetX/t,offsetY:e.offsetY/t,pageX:e.pageX/t,pageY:e.pageY/t}},l.requestAnimationFrame=function(e){var t=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame;if(t)return t(e)},l.getHostFromUrl=function(e){if("String"!==l.typeOf(e))return"";var t=e.split("/"),n="";return t.length>3&&t[2]&&(n=t[2]),n},l.cancelAnimationFrame=function(e){var t=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.cancelRequestAnimationFrame;t&&t(e)},l.isMSE=function(e){return e.media&&(e=e.media),!!(e&&e instanceof HTMLMediaElement)&&(/^blob/.test(e.currentSrc)||/^blob/.test(e.src))},l.isBlob=function(e){return"string"==typeof e&&/^blob/.test(e)},l.generateSessionId=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=new Date().getTime();try{e=parseInt(e)}catch(t){e=0}return t+=e,window.performance&&"function"==typeof window.performance.now&&(t+=parseInt(window.performance.now())),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var n=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"===e?n:3&n|8).toString(16)})},l.adjustTimeByDuration=function(e,t,n){return t&&e?e>t||n&&e<t?t:e:e},l.getTransformStyle=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{x:0,y:0,scale:1,rotate:0},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={scale:"".concat(e.scale||1),translate:"".concat(e.x||0,"%, ").concat(e.y||0,"%"),rotate:"".concat(e.rotate||0,"deg")};return Object.keys(n).forEach(function(e){var r=RegExp("".concat(e,"\\([^\\(]+\\)"),"g"),i="".concat(e,"(").concat(n[e],")");r.test(t)?(r.lastIndex=-1,t=t.replace(r,i)):t+="".concat(i," ")}),t},l.convertDeg=function(e){return 1>=Math.abs(e)?360*e:e%360}},26565:function(e,t,n){"use strict";n.r(t)},68823:function(e,t,n){"use strict";n.r(t)},225511:function(e,t,n){"use strict";n.r(t)},983190:function(e,t,n){"use strict";n.r(t)},415134:function(e,t,n){"use strict";n.r(t)},631056:function(e,t,n){"use strict";n.r(t)},219311:function(e,t,n){"use strict";n.d(t,{g:function(){return d}}),n(932651),n(490629);var r=n(101199),i=n(469935),o=n.n(i),a=n(622689),s=n.n(a),l=n(141358);n(860276);var c=n(678503),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let f=["xxl","xl","lg","md","sm","xs"],d=r.createContext(null),h={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"};class p extends r.Component{componentDidMount(){this.unRegisters=Object.keys(h).map(e=>(0,c.ql)(h[e],{match:()=>{if("object"==typeof this.props.gutter)this.setState(t=>({screens:Object.assign(Object.assign({},t.screens),{[e]:!0})}))},unmatch:()=>{if("object"==typeof this.props.gutter)this.setState(t=>({screens:Object.assign(Object.assign({},t.screens),{[e]:!1})}))}}))}componentWillUnmount(){this.unRegisters.forEach(e=>e())}getGutter(){let{gutter:e=0}=this.props,t=[0,0];return(Array.isArray(e)?e.slice(0,2):[e,0]).forEach((e,n)=>{if("object"==typeof e)for(let r=0;r<f.length;r++){let i=f[r];if(this.state.screens[i]&&void 0!==e[i]){t[n]=e[i];break}}else t[n]=e||0}),t}render(){let e=this.props,{prefixCls:t,type:n,justify:i,align:a,className:s,style:l,children:c}=e,f=u(e,["prefixCls","type","justify","align","className","style","children"]),h=this.getGutter(),p=`${t}-row`,g=o()({[p]:"flex"!==n,[`${p}-${n}`]:n,[`${p}-${n}-${i}`]:n&&i,[`${p}-${n}-${a}`]:n&&a},s),m=Object.assign(Object.assign(Object.assign({},h[0]>0?{marginLeft:-(h[0]/2),marginRight:-(h[0]/2)}:{}),h[1]>0?{marginTop:-(h[1]/2),marginBottom:-(h[1]/2)}:{}),l),v=Object.assign({},f);return delete v.gutter,r.createElement(d.Provider,{value:{gutters:h}},r.createElement("div",Object.assign({},v,{className:g,style:m,"x-semi-prop":"children"}),c))}constructor(){super(...arguments),this.state={screens:{xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}},this.unRegisters=[]}}p.propTypes={type:s().oneOf(["flex"]),align:s().oneOf(["top","middle","bottom"]),justify:s().oneOf(["start","end","center","space-around","space-between"]),className:s().string,style:s().object,children:s().node,gutter:s().oneOfType([s().object,s().number,s().array]),prefixCls:s().string},p.defaultProps={prefixCls:l.U.PREFIX},p.RowContext={gutters:s().any},t.Z=p},17558:function(e,t,n){"use strict";n(932651);var r=n(101199),i=n(392129),o=n(859725);t.Z=e=>r.createElement(i.Z.Title,Object.assign({heading:3,className:`${o.U.PREFIX}-component-header`},e))},495807:function(e,t,n){"use strict";n.d(t,{AQ:function(){return y},Au:function(){return b},ZP:function(){return p},cw:function(){return g},oF:function(){return v},vq:function(){return m}}),n(932651),n(490629),n(374954);var r=n(285406),i=n.n(r),o=n(101199),a=n(890710),s=n(136636),l=n(750066);n(85310);var c=n(279426),u=n(953847),f=n(709544),d=n(724409),h=n(497506);function p(e){let t=document.createElement("div");document.body.appendChild(t);let n=Object.assign({},e),r=()=>{a.unmountComponentAtNode(t)&&t.parentNode&&t.parentNode.removeChild(t);for(let e=0;e<s.e.length;e++)if(s.e[e]===c){s.e.splice(e,1);break}};function i(n){let{afterClose:i}=n;a.render(o.createElement(l.Z,Object.assign({},n,{afterClose:function(){null==i||i(...arguments),r()},motion:e.motion})),t)}function c(){i(n=Object.assign(Object.assign({},n),{visible:!1}))}return i(n),s.e.push(c),{destroy:c,update:function(e){i(n=Object.assign(Object.assign({},n),e))}}}function g(e){return Object.assign({type:"info",icon:o.createElement(c.Z,null)},e)}function m(e){return Object.assign({type:"success",icon:o.createElement(u.Z,null)},e)}function v(e){return Object.assign({type:"warning",icon:o.createElement(f.Z,null)},e)}function y(e){return Object.assign({type:"error",icon:o.createElement(d.Z,null),okButtonProps:Object.assign({type:"danger"},e.okButtonProps)},i()(e,["okButtonProps"]))}function b(e){return Object.assign({type:"confirm",icon:o.createElement(h.Z,null)},e)}},506688:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}}),n(932651);var r=n(101199),i=n(622689),o=n.n(i),a=n(469935),s=n.n(a),l=n(839467),c=n(683316);let u=l.U.PREFIX;class f extends r.PureComponent{render(){let{className:e}=this.props,t=s()(e,`${u}-paragraph`);return r.createElement(c.Z,Object.assign({component:"p"},this.props,{className:t}))}}f.propTypes={copyable:o().oneOfType([o().object,o().bool]),delete:o().bool,disabled:o().bool,ellipsis:o().oneOfType([o().object,o().bool]),mark:o().bool,link:o().oneOfType([o().object,o().bool]),underline:o().bool,strong:o().bool,type:o().oneOf(l.j.TYPE),size:o().oneOf(l.j.SIZE),spacing:o().oneOf(l.j.SPACING),style:o().object,className:o().string,component:o().string},f.defaultProps={copyable:!1,delete:!1,disabled:!1,ellipsis:!1,mark:!1,underline:!1,strong:!1,link:!1,type:"primary",size:"normal",spacing:"normal",style:{},className:""}},148079:function(e,t,n){"use strict";n.d(t,{j:function(){return l}});var r=n(480333);n(679308),n(190932),n(808483),n(126159),n(100832),n(825666),n(943281),n(82726);var i=n(976358),o=n(413485),a=n(669839),s=n(487359);class l{load(e){var t;let{url:n,stream:r,vid:s,timeout:l,responseType:c,onProgress:u,index:f,onTimeout:d,onCancel:h,range:p,transformResponse:g,request:m,params:v,method:y,headers:b,body:x,mode:w,credentials:_,cache:S,redirect:C,referrer:T,referrerPolicy:O,onProcessMinLen:I,retry:A,retryDelay:k,priOptions:L}=e;this._aborted=!1,this._onProcessMinLen=I,this._onCancel=h,this._abortController="undefined"!=typeof AbortController?new AbortController:void 0,this._running=!0,this._index=f,this._range=p||[0,0],this._vid=s||n,this._priOptions=L||{};let M={method:y,headers:b,body:x,mode:w,credentials:_,cache:S,redirect:C,referrer:T,referrerPolicy:O,signal:null===(t=this._abortController)||void 0===t?void 0:t.signal},E=!1;clearTimeout(this._timeoutTimer),this.url=n,n=(0,o.G7)(n,v);let j=(0,o.Gu)(p);j&&(b=m?m.headers:M.headers=M.headers||(Headers?new Headers:{}),Headers&&b instanceof Headers?b.append("Range",j):b.Range=j),l&&(this._timeoutTimer=setTimeout(()=>{if(E=!0,this.cancel(),d){let e=new i.C(n,M,null,"timeout");e.isTimeout=!0,d(e,{index:this._index,range:this._range,vid:this._vid,priOptions:this._priOptions})}},l));let P=Date.now();return this._logger.debug("[fetch load start], index,",f,",range,",p),new Promise((t,s)=>{(r?new Promise(e=>{let t=new Response(r);Object.defineProperty(t,"url",{value:n}),e(t)}):fetch(m||n,m?void 0:M)).then(async e=>{let r;if(clearTimeout(this._timeoutTimer),this._aborted||!this._running)return;if(g&&(e=g(e,n)||e),!e.ok)throw new i.C(n,M,e,"bad network response");let l=Date.now();if(c===a.U.TEXT)r=await e.text(),this._running=!1;else if(c===a.U.JSON)r=await e.json(),this._running=!1;else{if(u){this.resolve=t,this.reject=s,this._loadChunk(e,u,P,l);return}r=new Uint8Array(r=await e.arrayBuffer()),this._running=!1}this._logger.debug("[fetch load end], index,",f,",range,",p),t((0,o.rO)(r,!0,e,e.headers.get("Content-Length"),e.headers.get("age"),P,l,f,p,this._vid,this._priOptions))}).catch(r=>{if(clearTimeout(this._timeoutTimer),!this._aborted&&"cancel"!==r||E){if(this._running=!1,this._retryCount++,this._retryCount<=A){clearTimeout(this._retryTimer),this._logger.debug("[task request setTimeout],retry",this._retryCount),this._retryTimer=setTimeout(()=>{this.load(e).then(t).catch(s)},k);return}(r=r instanceof i.C?r:new i.C(n,M,null,E?"timeout":null==r?void 0:r.message)).startTime=P,r.endTime=Date.now(),r.isTimeout=E,r.options={index:this._index,range:this._range,vid:this._vid,priOptions:this._priOptions},s(r)}})})}async cancel(){if(!this._aborted){if(this._aborted=!0,this._running=!1,this._reader){try{await this._reader.cancel()}catch(e){}this._reader=void 0}if(this._abortController){try{this._abortController.abort("cancel")}catch(e){}this._abortController=void 0}clearTimeout(this._noDataTimer),clearTimeout(this._timeoutTimer),this._onCancel&&this._onCancel({index:this._index,range:this._range,vid:this._vid,priOptions:this._priOptions})}}_loadChunk(e,t,n,r){let a,s,l;if(!e.body||!e.body.getReader){this._running=!1;let t=new i.C(e.url,null,e,"onProgress of bad response.body.getReader");t.options={index:this._index,range:this._range,vid:this._vid,priOptions:this._priOptions},this.reject(t);return}this._onProcessMinLen>0&&(this._cache=new Uint8Array(2097152),this._writeIdx=0);let c=this._reader=e.body.getReader(),u=async()=>{var i;let f;s=Date.now(),this._noDataTimer=setTimeout(()=>{!this._aborted&&(this.cancel(),this._running=!1),this.reject({isTimeout:!1})},3e3);try{a=await c.read(),l=Date.now()}catch(e){l=Date.now(),clearTimeout(this._noDataTimer),!this._aborted&&(this._running=!1,e.options={index:this._index,range:this._range,vid:this._vid,priOptions:this._priOptions},this.reject(e));return}clearTimeout(this._noDataTimer);let d=((null===(i=this._range)||void 0===i?void 0:i.length)>0?this._range[0]:0)+this._receivedLength;if(this._aborted){this._running=!1,t(void 0,!1,{range:[d,d],vid:this._vid,index:this._index,startTime:s,endTime:l,st:n,firstByteTime:r,priOptions:this._priOptions},e);return}let h=a.value?a.value.byteLength:0;if(this._receivedLength+=h,this._onProcessMinLen>0){if(this._writeIdx+h>=this._onProcessMinLen||a.done)(f=new Uint8Array(this._writeIdx+h)).set(this._cache.slice(0,this._writeIdx),0),h>0&&f.set(a.value,this._writeIdx),this._writeIdx=0,this._logger.debug("【fetchLoader,onProgress enough】,done,",a.done,",len,",f.byteLength,", writeIdx,",this._writeIdx);else if(h>0&&this._writeIdx+h<2097152)this._cache.set(a.value,this._writeIdx),this._writeIdx+=h,this._logger.debug("【fetchLoader,onProgress cache】,len,",h,", writeIdx,",this._writeIdx);else if(h>0){let e=new Uint8Array(this._writeIdx+h+2048);this._logger.debug("【fetchLoader,onProgress extra start】,size,",this._writeIdx+h+2048,", datalen,",h,", writeIdx,",this._writeIdx),e.set(this._cache.slice(0,this._writeIdx),0),h>0&&e.set(a.value,this._writeIdx),this._writeIdx+=h,delete this._cache,this._cache=e,this._logger.debug("【fetchLoader,onProgress extra end】,len,",h,", writeIdx,",this._writeIdx)}}else f=a.value;(f&&f.byteLength>0||a.done)&&t(f,a.done,{range:[this._range[0]+this._receivedLength-(f?f.byteLength:0),this._range[0]+this._receivedLength],vid:this._vid,index:this._index,startTime:s,endTime:l,st:n,firstByteTime:r,priOptions:this._priOptions},e),a.done?(this._running=!1,this._logger.debug("[fetchLoader onProgress end],task,",this._range,",done,",a.done),this.resolve((0,o.rO)(a,!0,e,e.headers.get("Content-Length"),e.headers.get("age"),n,r,this._index,this._range,this._vid,this._priOptions))):u()};u()}get receiveLen(){return this._receivedLength}get running(){return this._running}set running(e){this._running=e}static isSupported(){return"undefined"!=typeof fetch}constructor(){(0,r._)(this,"_abortController",void 0),(0,r._)(this,"_timeoutTimer",null),(0,r._)(this,"_reader",void 0),(0,r._)(this,"_aborted",!1),(0,r._)(this,"_index",-1),(0,r._)(this,"_range",[0,0]),(0,r._)(this,"_receivedLength",0),(0,r._)(this,"_running",!1),(0,r._)(this,"_logger",new s.ZP("FetchLoader")),(0,r._)(this,"_vid",""),(0,r._)(this,"_retryCount",0),(0,r._)(this,"_retryTimer",void 0),(0,r._)(this,"_onProcessMinLen",0),(0,r._)(this,"_onCancel",void 0),(0,r._)(this,"_priOptions",null),(0,r._)(this,"_cache",void 0),(0,r._)(this,"resolve",void 0),(0,r._)(this,"reject",void 0),(0,r._)(this,"_writeIdx",0),(0,r._)(this,"url",""),(0,r._)(this,"_finnalUrl",""),(0,r._)(this,"_noDataTimer",null)}}},383381:function(e,t,n){"use strict";n.d(t,{N:function(){return h}});var r=n(480333);n(76375),n(374954),n(706056),n(559352);var i=n(644943),o=n(125393),a=n(792973),s=n(86126),l=n(810166),c=n(487359),u=n(455195),f=n(759936);let d=new c.ZP("FlvDemuxer");class h{set awManager(e){this._awManager=e,this.descryptor&&(this.descryptor.awManager=e)}get awManager(){return this._awManager}demux(e){let t,n,r,i,o,s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=!(arguments.length>2)||void 0===arguments[2]||arguments[2],{audioTrack:c,videoTrack:f,metadataTrack:p}=this;if((s||!l)&&(this._remainingData=null),s&&(this._headerParsed=!1),s?(f.reset(),c.reset(),p.reset()):(f.samples=[],c.samples=[],p.seiSamples=[],p.flvScriptSamples=[],f.warnings=[],c.warnings=[],this._remainingData&&(e=(0,u.gJ)(this._remainingData,e),this._remainingData=null)),!e.length)return{videoTrack:f,audioTrack:c,metadataTrack:p};let g=0;if(!this._headerParsed){if(!h.probe(e))throw Error("Invalid flv file");c.present=(4&e[4])>>>2!=0,f.present=(1&e[4])!=0,this._headerParsed=!0,g=(0,a.Bh)(e,5)+4}let m=e.length;for(;g+15<m&&(t=e[g],n=e[g+1]<<16|e[g+2]<<8|e[g+3],!(g+15+n>m));){;r=(e[g+7]<<24>>>0)+(e[g+4]<<16)+(e[g+5]<<8)+e[g+6],g+=11,i=e.subarray(g,g+n),8===t?this._parseAudio(i,r):9===t?this._parseVideo(i,r):18===t?this._parseScript(i,r):d.warn(`Invalid tag type: ${t}`),g+=n,(o=(0,a.Bh)(e,g))!==11+n&&d.warn(`Invalid PrevTagSize ${o} (${11+n})`),g+=4}return g<m&&(this._remainingData=e.subarray(g)),c.formatTimescale=f.formatTimescale=f.timescale=p.timescale=1e3,c.timescale=c.sampleRate||0,!c.exist()&&c.hasSample()&&c.reset(),!f.exist()&&f.hasSample()&&f.reset(),{videoTrack:f,audioTrack:c,metadataTrack:p}}fix(e,t,n){return this._fixer.fix(e,t,n),{videoTrack:this.videoTrack,audioTrack:this.audioTrack,metadataTrack:this.metadataTrack}}demuxAndFix(e,t,n,r){this.demux(e,t,n);let i=this.isnewPlayer&&this.metaChange;return n=!i&&n,this.fix(r,t||i,n)}static probe(e){return 70===e[0]&&76===e[1]&&86===e[2]&&1===e[3]&&(0,a.Bh)(e,5)>=9}_parseAudio(e,t){if(!e.length)return;let n=(240&e[0])>>>4,r=this.audioTrack;if(10!==n&&7!==n&&8!==n){d.warn(`Unsupported sound format: ${n}`),r.reset();return}if(10!==n){let t=(12&e[0])>>2,n=(2&e[0])>>1,i=1&e[0];r.sampleRate=h.AUDIO_RATE[t],r.sampleSize=n?16:8,r.channelCount=i+1}10===n?this._parseAac(e,t):this._parseG711(e,t,n)}_parseG711(e,t,n){let r=this.audioTrack;r.codecType=7===n?i.yQ.G711PCMA:i.yQ.G711PCMU,r.sampleRate=8e3,r.codec=r.codecType,r.samples.push(new i.Xw(t,e.subarray(1)))}_parseAac(e,t){let n=this.audioTrack;if(n.codecType=i.yQ.AAC,0===e[1]){let t=s.Wc.parseAudioSpecificConfig(e.subarray(2));t?(n.codec=t.codec,n.channelCount=t.channelCount,n.sampleRate=t.sampleRate,n.config=t.config,n.objectType=t.objectType,n.sampleRateIndex=t.samplingFrequencyIndex):(n.reset(),d.warn("Cannot parse AudioSpecificConfig",e))}else if(1===e[1]){if(null==t)return;e=e.slice(2,e.length),e=this.descrypt(e),n.samples.push(new i.Xw(t,e))}else d.warn(`Unknown AACPacketType: ${e[1]}`)}_parseVideo(e,t){if(e.length<6)return;let n=(240&e[0])>>>4,r=15&e[0],o=this.videoTrack;if(7!==r&&12!==r){o.reset(),d.warn(`Unsupported codecId: ${r}`);return}let a=12===r;o.codecType=a?i._e.HEVC:i._e.AVC;let l=e[1],c=(e[2]<<16|e[3]<<8|e[4])<<8>>8;if(0===l){let t=e.subarray(5),n=o.sps.length,r=a?s.VB.parseHEVCDecoderConfigurationRecord(t):s.xW.parseAVCDecoderConfigurationRecord(t);if(r){let{hvcC:e,sps:t,ppsArr:i,spsArr:a,vpsArr:s,nalUnitSize:l}=r;e&&(o.hvcC=o.hvcC||e),t&&(o.codec=t.codec,o.width=t.width,o.height=t.height,o.sarRatio=t.sarRatio,o.fpsNum=t.fpsNum,o.fpsDen=t.fpsDen),a.length&&(o.sps=a),i.length&&(o.pps=i),s&&s.length&&(o.vps=s),l&&(o.nalUnitSize=l),n&&(this.metaChange=!0,this.videoMetaIndex++)}else d.warn(`Cannot parse ${a?"HEVC":"AVC"}DecoderConfigurationRecord`,e)}else if(1===l){let r=s.lE.parseAvcC(e.subarray(5),o.nalUnitSize);if((r=this._checkAddMetaNalToUnits(a,r,o))&&r.length){let e=[],l=!1;r.forEach(n=>{let r=a?n[0]>>>1&63:31&n[0];switch((a&&[0,1,2,3,4,5,6,7,8,9,16,17,18,19,20,21].includes(r)||!a&&[1,5].includes(r))&&(n=this.getSourceUnit(n),n=this.descryptVideo(n)),r){case 5:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:if(e.push(n),!a&&5!==r||a&&5===r)break;l=!0;break;case 6:case 39:case 40:if(!a&&6!==r||a&&6===r){e.push(n);break}this.metadataTrack.seiSamples.push(new i.FO(s.lE.parseSEI(s.lE.removeEPB(n),a),t+c));break;default:this.isnewPlayer?![7,8,32,33,34,35,38].includes(r)&&e.push(n):e.push(n)}});let u=new i._A(t+c,t,e,this.videoMetaIndex);(1===n||l)&&u.setToKeyframe(),o.samples.push(u),u.keyframe&&this._gopId++,u.gopId=this._gopId}else d.warn("Cannot parse NALUs",e)}else 2===l||d.warn(`Unknown AVCPacketType: ${l}`)}_checkAddMetaNalToUnits(e,t,n){return!e||!this._needAddMetaBeforeKeyFrameNal||t.map(e=>e[0]>>>1&63).includes(32)?(this._needAddMetaBeforeKeyFrameNal=!1,t):(t.unshift(n.pps[0]),t.unshift(n.sps[0]),t.unshift(n.vps[0]),t.filter(Boolean))}_parseScript(e,t){let{onMetaData:n}=l.L.parse(e)||{};if(this.metadataTrack.flvScriptSamples.push(new i._$(n,t)),!n){this.descryptor=null;return}n.encrypt_method&&"SAMPLE-AES"===n.encrypt_method?(this.descryptor=new f.Z,this.descryptor.awManager=this._awManager,this.getSourceUnit=a.N1):"SAMPLE-AES"!==n.encrypt_method&&(this.descryptor=null)}descrypt(e){return this.descryptor?this.descryptor.descrypt(e):e}constructor(e,t,n){(0,r._)(this,"_headerParsed",!1),(0,r._)(this,"_remainingData",null),(0,r._)(this,"_gopId",0),(0,r._)(this,"_needAddMetaBeforeKeyFrameNal",!0),(0,r._)(this,"isnewPlayer",!1),(0,r._)(this,"descryptVideo",e=>this.descryptor?this.descryptor.descryptVideo(e):e),this.videoTrack=e||new i.qT,this.audioTrack=t||new i.WP,this.metadataTrack=n||new i.m$,this._fixer=new o.S(this.videoTrack,this.audioTrack,this.metadataTrack),this.getSourceUnit=e=>e,this.videoMetaIndex=0}}(0,r._)(h,"AUDIO_RATE",[5500,11e3,22e3,44e3])},556871:function(e,t,n){"use strict";n.d(t,{UX:function(){return i},j2:function(){return o}});var r=n(707852);let i={PREFIX:`${r.T}-badge`},o={TYPE_SET:["success","primary","secondary","tertiary","warning","danger"],THEME_SET:["solid","light","inverted"],POS_SET:["leftTop","leftBottom","rightTop","rightBottom"]}},136064:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(889266),i=n(64360),o=n(368923),a=n(550625);function s(e){let{defaultPickerValue:t,format:n,dateFnsLocale:s}=e,l=Array.isArray(t)?t[0]:t,c=Array.isArray(t)?t[1]:void 0;switch(!0){case(0,i.Z)(l):break;case(0,a.Z)(l):l=new Date(l);break;case"string"==typeof l:l=(0,o.h)(l,n,void 0,s);break;default:l=new Date}switch(!0){case(0,i.Z)(c):break;case(0,a.Z)(c):c=new Date(c);break;case"string"==typeof c:c=(0,o.h)(c,n,void 0,s);break;default:c=(0,r.Z)(l,1)}return{nowDate:l,nextDate:c}}},49366:function(e,t,n){"use strict";n(932651);var r=n(101199);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let o=r.forwardRef(function(e,t){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,ref:t},e),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12ZM22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM12 7C11.4501 7 11.0066 7.45003 11.0145 7.9999L11.0886 13.1017C11.0958 13.5999 11.5017 14 12 14C12.4983 14 12.9043 13.5999 12.9115 13.1017L12.9855 7.99989C12.9935 7.45003 12.5499 7 12 7ZM13.1 16.1C13.1 16.7075 12.6075 17.2 12 17.2C11.3925 17.2 10.9 16.7075 10.9 16.1C10.9 15.4925 11.3925 15 12 15C12.6075 15 13.1 15.4925 13.1 16.1Z",fill:"currentColor"}))});o.elementType="Icon",t.Z=o},172645:function(e,t,n){"use strict";var r=n(629686),i=n(402748),o=n(320165),a=n(509608),s=n(693653),l=n(756863),c=n(101199);(0,s.n)(e=>{let{playerRef:t}=(0,c.useContext)(a.E),n=(0,c.useRef)(null);return(0,c.useEffect)(()=>(t.current.plugins.miniscreen=n.current,()=>{var e;null===(e=t.current)||void 0===e||delete e.plugins.miniscreen}),[]),(0,o.jsx)(l.Q,(0,i._)((0,r._)({},e),{ref:n}))})},243970:function(e,t,n){"use strict";n.d(t,{Cm:function(){return r.Cm},Gz:function(){return r.Gz},Mf:function(){return a.M},Zh:function(){return r.Zh},ar:function(){return r.ar},hj:function(){return r.hj},kN:function(){return r.kN},l1:function(){return r.l1},nl:function(){return i.n},o:function(){return r.o},rW:function(){return i.r},xQ:function(){return r.xQ},xr:function(){return o.x}});var r=n(789165);n(490729),n(382344),n(880421),n(802924),n(639531);var i=n(693653);n(756863);var o=n(131876);n(621519),n(319628),n(507058),n(784252);var a=n(270406);n(166637)},541156:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(629686),i=n(402748),o=n(320165);n(101199);var a=e=>(0,o.jsx)("svg",(0,i._)((0,r._)({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20"},e),{children:(0,o.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M3.99 3.49a1 1 0 0 1 1.414 0L10 8.085l4.596-4.595a1 1 0 1 1 1.414 1.414L11.414 9.5l4.596 4.596a1 1 0 0 1 .084 1.32l-.084.094a1 1 0 0 1-1.414 0L10 10.914 5.404 15.51a1 1 0 0 1-1.414-1.414L8.585 9.5 3.99 4.904a1 1 0 0 1-.084-1.32z"})}))},224585:function(e,t,n){"use strict";n.d(t,{G:function(){return g},f:function(){return m}});var r=n(480333);n(490629);var i=n(292948),o=n(818266),a=n(934180);n(735608);var s=Object.defineProperty,l=Object.getOwnPropertyDescriptor;let c="douyin-player-controls-autohide",u="douyin-player-controls-hide",f="douyin-player-margin-controls",d="douyin-player-controls",h=(e,t)=>Number(e.dataset.index||t),p=(e,t,n)=>(e-t)*n>=0;class g extends i.di{render(){let{hide:e}=this._config,t=d+(e?" "+u:"");return`
<slot>
<div class="douyin-player-top-bar"></div>
<div class="${t}">
<div class="${d}-inner">
<div class="${d}-left"></div>
<div class="${d}-right"></div>
</div>
</div>
</slot>
`}afterPlayerInit(){if(!this._inited){if(this._inited=!0,this._config.marginControls){this._root.classList.add(f);let e=this._player.media,t=this._videoContainer=document.createElement("div");t.classList.add("douyin-player-video-container"),e.after(t),t.appendChild(e)}else if(this._config.autoHide){this.el.parentElement.classList.add(c);let e=this.el.querySelector("."+d);e.addEventListener("mouseenter",this._onMouseEnter),e.addEventListener("mouseleave",this._onMouseLeave)}}}configDidUpdate(e,t){this._config.autoHide?this.el.parentElement.classList.add(c):this.el.parentElement.classList.remove(c),this._config.hide?this.el.classList.add(u):this.el.classList.remove(u)}beforeDestroy(){if(this._root.classList.remove(f),this._config.marginControls){let e=this._player.media;this._videoContainer.after(e),this._videoContainer.remove()}this.el.parentElement.classList.remove(c);let e=this.el.querySelector("."+d);e.removeEventListener("mouseenter",this._onMouseEnter),e.removeEventListener("mouseleave",this._onMouseLeave)}addChild(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.P.CONTROL_RIGHT,n=arguments.length>2?arguments[2]:void 0,r=this.el.querySelector(`.douyin-player-controls-${t===o.P.CONTROL_LEFT?"left":"right"}`);if(!r.childElementCount||void 0===n){r.appendChild(e);return}let i=t===o.P.CONTROL_RIGHT&&!this._config.orderCounterintuitive,a=i?"-1":"Infinity",s=i?1:-1;for(let t=0;t<r.children.length;t++)if(p(n,h(r.children[t],a),s)){r.children[t].before(e);return}r.appendChild(e)}constructor(...e){super(...e),(0,r._)(this,"_videoContainer",void 0),(0,r._)(this,"_onMouseEnter",()=>{this.el.parentElement.classList.remove(c)}),(0,r._)(this,"_onMouseLeave",()=>{this._config.autoHide&&this.el.parentElement.classList.add(c)})}}(0,r._)(g,"pluginName","controls"),((e,t,n,r)=>{for(var i=r>1?void 0:r?l(t,n):t,o,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&s(t,n,i)})([(0,a.I)(["pluginsConfig.controls.autoHide","pluginsConfig.controls.hide"])],g.prototype,"configDidUpdate",1);let m=e=>e instanceof g},513972:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,e.exports=t.default},69467:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var i=function(e){if(!r[e]){var t=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z"));r[e]="06/25/2014, 00:00:00"===t||"06/25/2014 00:00:00"===t?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return r[e]}(t);return i.formatToParts?function(e,t){try{for(var r=e.formatToParts(t),i=[],o=0;o<r.length;o++){var a=n[r[o].type];a>=0&&(i[a]=parseInt(r[o].value,10))}return i}catch(e){if(e instanceof RangeError)return[NaN];throw e}}(i,e):function(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[r[3],r[1],r[2],r[4],r[5],r[6]]}(i,e)};var n={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};e.exports=t.default},147979:function(e,t,n){"use strict";function r(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}n.d(t,{Z:function(){return r}})},754478:function(e,t,n){"use strict";n.d(t,{S:function(){return o}});var r=n(890131),i=n(368183);let o={name:"codeIndented",tokenize:function(e,t,n){let o=this;return function(t){return e.enter("codeIndented"),(0,r.f)(e,s,"linePrefix",5)(t)};function s(e){let t=o.events[o.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?l(e):n(e)}function l(t){return null===t?c(t):(0,i.Ch)(t)?e.attempt(a,l,c)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,i.Ch)(n)?(e.exit("codeFlowValue"),l(n)):(e.consume(n),t)}(t))}function c(n){return e.exit("codeIndented"),t(n)}}},a={partial:!0,tokenize:function(e,t,n){let o=this;return a;function a(t){return o.parser.lazy[o.now().line]?n(t):(0,i.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(0,r.f)(e,s,"linePrefix",5)(t)}function s(e){let r=o.events[o.events.length-1];return r&&"linePrefix"===r[1].type&&r[2].sliceSerialize(r[1],!0).length>=4?t(e):(0,i.Ch)(e)?a(e):n(e)}}}},802917:function(e,t,n){"use strict";n.d(t,{v:function(){return a}});var r=n(368183),i=n(890131),o=n(359778);function a(e,t){return{concrete:!0,name:"mdxJsxFlowTag",tokenize:function(n,a,s){let l=this;return c;function c(e){return u(e)}function u(r){return o.r.call(l,n,f,s,e,t.acornOptions,t.addResult,!1,"mdxJsxFlowTag","mdxJsxFlowTagMarker","mdxJsxFlowTagClosingMarker","mdxJsxFlowTagSelfClosingMarker","mdxJsxFlowTagName","mdxJsxFlowTagNamePrimary","mdxJsxFlowTagNameMemberMarker","mdxJsxFlowTagNameMember","mdxJsxFlowTagNamePrefixMarker","mdxJsxFlowTagNameLocal","mdxJsxFlowTagExpressionAttribute","mdxJsxFlowTagExpressionAttributeMarker","mdxJsxFlowTagExpressionAttributeValue","mdxJsxFlowTagAttribute","mdxJsxFlowTagAttributeName","mdxJsxFlowTagAttributeNamePrimary","mdxJsxFlowTagAttributeNamePrefixMarker","mdxJsxFlowTagAttributeNameLocal","mdxJsxFlowTagAttributeInitializerMarker","mdxJsxFlowTagAttributeValueLiteral","mdxJsxFlowTagAttributeValueLiteralMarker","mdxJsxFlowTagAttributeValueLiteralValue","mdxJsxFlowTagAttributeValueExpression","mdxJsxFlowTagAttributeValueExpressionMarker","mdxJsxFlowTagAttributeValueExpressionValue")(r)}function f(e){return(0,r.xz)(e)?(0,i.f)(n,d,"whitespace")(e):d(e)}function d(e){let t;let i=l.parser.constructs.flow[123];for(let e of Array.isArray(i)?i:i?[i]:[])if("mdxFlowExpression"===e.name){t=e;break}return 60===e?u(e):123===e&&t?n.attempt(t,d,s)(e):null===e||(0,r.Ch)(e)?a(e):s(e)}}}}},614867:function(e,t,n){"use strict";n.d(t,{_:function(){return o}});var r=n(252819),i=n(61340);function o(e){let t,n,o,a,s,l,c;let u={},f=-1,d=new i.U(e);for(;++f<d.length;){for(;f in u;)f=u[f];if(t=d.get(f),f&&"chunkFlow"===t[1].type&&"listItemPrefix"===d.get(f-1)[1].type&&(l=t[1]._tokenizer.events,(o=0)<l.length&&"lineEndingBlank"===l[o][1].type&&(o+=2),o<l.length&&"content"===l[o][1].type))for(;++o<l.length&&"content"!==l[o][1].type;){;"chunkText"===l[o][1].type&&(l[o][1]._isInFirstContentOfListItem=!0,o++)}if("enter"===t[0])t[1].contentType&&(Object.assign(u,function(e,t){let n,r;let i=e.get(t)[1],o=e.get(t)[2],a=t-1,s=[],l=i._tokenizer;!l&&(l=o.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));let c=l.events,u=[],f={},d=-1,h=i,p=0,g=0,m=[0];for(;h;){for(;e.get(++a)[1]!==h;);s.push(a),!h._tokenizer&&(n=o.sliceStream(h),!h.next&&n.push(null),r&&l.defineSkip(h.start),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(n),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),r=h,h=h.next}for(h=i;++d<c.length;)"exit"===c[d][0]&&"enter"===c[d-1][0]&&c[d][1].type===c[d-1][1].type&&c[d][1].start.line!==c[d][1].end.line&&(g=d+1,m.push(g),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(l.events=[],h?(h._tokenizer=void 0,h.previous=void 0):m.pop(),d=m.length;d--;){let t=c.slice(m[d],m[d+1]),n=s.pop();u.push([n,n+t.length-1]),e.splice(n,2,t)}for(u.reverse(),d=-1;++d<u.length;)f[p+u[d][0]]=p+u[d][1],p+=u[d][1]-u[d][0]-1;return f}(d,f)),f=u[f],c=!0);else if(t[1]._container){for(o=f,n=void 0;o--;)if("lineEnding"===(a=d.get(o))[1].type||"lineEndingBlank"===a[1].type)"enter"===a[0]&&(n&&(d.get(n)[1].type="lineEndingBlank"),a[1].type="lineEnding",n=o);else if("linePrefix"===a[1].type||"listItemIndent"===a[1].type);else break;n&&(t[1].end={...d.get(n)[1].start},(s=d.slice(n,f)).unshift(t),d.splice(n,f-n+1,s))}}return(0,r.d)(e,0,Number.POSITIVE_INFINITY,d.slice(0)),!c}},633583:function(e,t,n){"use strict";n.d(t,{S:function(){return i}});var r=n(125119);function i(e,t){return(0,r.C)(e,t.toLowerCase())}},338554:function(e,t,n){"use strict";n.d(t,{FR:function(){return O},Gw:function(){return M},Lt:function(){return E},iU:function(){return k},jt:function(){return L},sH:function(){return I}}),n(374954),n(490629),n(117232);var r,i,o,a,s,l,c,u,f=n(650639),d=n(101199),h=n(406848),p=n(347506),g=n(411343),m=n(889938),v=n(239501),y=n(711924),b=Date.now,x=function(){try{var e=(0,v.g)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var w=(r=x?function(e,t){var n;return x(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0})}:v.a,i=0,o=0,function(){var e=b(),t=16-(e-o);if(o=e,t>0){if(++i>=800)return arguments[0]}else i=0;return r.apply(void 0,arguments)}),_=Math.max,S=Math.min;function C(e){var t;return(t=e,(0,v.i)(t)&&(0,v.c)(t))?e:[]}var T=w((l=a=function(e){var t=(0,v.d)(e,C);return t.length&&t[0]===e[0]?function(e,t,n){for(var r=(0,y.b),i=e[0].length,o=e.length,a=o,s=Array(o),l=1/0,c=[];a--;){var u=e[a];l=S(u.length,l),s[a]=!n&&(t||i>=120&&u.length>=120)?new v.S(a&&u):void 0}u=e[0];var f=-1,d=s[0];t:for(;++f<i&&c.length<l;){var h=u[f],p=t?t(h):h;if(h=n||0!==h?h:0,!(d?(0,v.f)(d,p):r(c,p,n))){for(a=o;--a;){var g=s[a];if(!(g?(0,v.f)(g,p):r(e[a],p,n)))continue t}d&&d.push(p),c.push(h)}}return c}(t):[]},c=void 0,u=v.a,c=_(void 0===c?l.length-1:c,0),function(){for(var e=arguments,t=-1,n=_(e.length-c,0),r=Array(n);++t<n;)r[t]=e[c+t];t=-1;for(var i=Array(c+1);++t<c;)i[t]=e[t];return i[c]=u(r),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(l,this,i)}),a+"");let O=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p,r=(0,f.b)(n,{pathname:t},h.EZ);return{matchPatterns:null!==(e=(0,g.g)(null!=r?r:[]))&&void 0!==e?e:[]}},I=e=>{var t,n;let r=[],i=null===(t=O(e))||void 0===t?void 0:t.matchPatterns;return r=null===(n=(0,m.W)(e))||void 0===n?void 0:n.matchPatterns,1===i.length&&"*"===i[0]&&(i=[]),Array.from(new Set(i.concat(r))).sort((e,t)=>(0,g.c)(e)-(0,g.c)(t))},A=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e[e.length-2]},k=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=T(e,t).length;return n===t.length&&t.length>1?Math.max(n-1,0):n},L=e=>{let{serverRouteCache:t,matchPatterns:n,patternToCacheKeyCache:r}=e,i=A(n);i&&(null==t||t.current.delete(`${i}|outlet`));let o=n[n.length-1];i&&(null==t||t.current.delete(o));let a=null==r?void 0:r.current.get(o);self.__pace_rsc_cache.delete(a)},M=e=>{let{next:t,serverProps:n,serverElement:r,serverRouteCache:i}=e;"initial"===n.type&&r&&t.as&&(null==i||i.current.set(t.as,(0,d.cloneElement)(r,{pattern:t.as})))},E=e=>{let{as:t,serverRouteCache:n,patternToCacheKeyCache:r}=e,i=null==r?void 0:r.current.get(t);t&&(null==n||n.current.delete(t)),t&&(null==n||n.current.delete(`${t}|outlet`)),i&&self.__pace_rsc_cache.delete(i)}}}]);