/*! For license information please see 99292.db6f83e7.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,i=arguments.length;n/g,a=/&#([a-zA-Z0-9]*);?/gim,s=/"/g,l=/:?/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,d=/u\s*r\s*l\s*\(.*/gi,h=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,f=/"/g,p=function(e){return e.replace(r,"<").replace(o,">")},b={indexOf:function(e,t){var n,i;for(n=0,i=e.length;n127&&i<2048?t+=String.fromCharCode(i>>6|192)+String.fromCharCode(63&i|128):t+=String.fromCharCode(i>>12|224)+String.fromCharCode(i>>6&63|128)+String.fromCharCode(63&i|128)}return t}(e);u>2,o=(3&t)<<4|(n=e.charCodeAt(u++))>>4,a=(15&n)<<2|(i=e.charCodeAt(u++))>>6,s=63&i,isNaN(n)?a=s=64:isNaN(i)&&(s=64),c=c+l.charAt(r)+l.charAt(o)+l.charAt(a)+l.charAt(s);return c}function w(e){var t,n,i,r,o,a,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="",c=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");c>4,n=(15&r)<<4|(o=s.indexOf(e.charAt(c++)))>>2,i=(3&o)<<6|(a=s.indexOf(e.charAt(c++))),l+=String.fromCharCode(t),64!==o&&(l+=String.fromCharCode(n)),64!==a&&(l+=String.fromCharCode(i));return function(e){for(var t="",n=0,i=0,r=0,o=0;n191&&i<224?(t+=String.fromCharCode((31&i)<<6|63&(o=e.charCodeAt(n+1))),n+=2):(o=e.charCodeAt(n+1),t+=String.fromCharCode((15&i)<<12|(63&o)<<6|63&(r=e.charCodeAt(n+2))),n+=3);return t}(l)}function y(e,t,n){var i="",r=0,o=!1,a=!1,s=0,l=e.length,c="",u="";e:for(s=0;s"===d||s===l-1){i+=n(e.slice(r,o)),c=function(e){var t,n=b.spaceIndex(e);return t=-1===n?e.slice(1,-1):e.slice(1,n+1),"/"===(t=b.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)),i+=t(o,i.length,c,u,"0;t--){var n=e[t];if(" "!==n)return"="===n?t:-1}return -1}(e,c-1))){l(a,g(b.trim(e.slice(n,c)))),a=!1,n=c+1;continue}}}else{if(-1===(d=e.indexOf(u,c+1)))break;l(a,b.trim(e.slice(r+1,d))),a=!1,n=(c=d)+1}}else a=e.slice(n,c),n=c+1,r='"'===e.charAt(n)||"'"===e.charAt(n)?n:function(e,t){for(;te.charCodeAt(n)?" ":e.charAt(n);return b.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=b.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&&(h.lastIndex=0,h.test(n)||(d.lastIndex=0,d.test(n)&&(u.lastIndex=0,u.test(n)))))return"";return n=function(e){return e=p(e=e.replace(f,"""))}(n)}var C=function(e){return"string"==typeof e?e.replace(/'/g,'"').replace('=""',"").replace(/\s+/g,"").toLowerCase():""},E=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=k,t.escapeHtml=p,this.options=Object.assign(t,e)}return e.prototype.process=function(e){if(!(e=(e=e||"").toString()))return"";var t,n,i,r,o,a,s=this.options,l=s.whiteList,c=s.onTag,u=s.onIgnoreTag,d=s.onTagAttr,h=s.onIgnoreTagAttr,f=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");var s=function(e){var t=b.spaceIndex(e);if(-1===t)return{html:"",closing:"/"===e[e.length-2]};var n="/"===(e=b.trim(e.slice(t+1,-1)))[e.length-1];return n&&(e=b.trim(e.slice(0,-1))),{html:e,closing:n}}(i),m=l[n],g=x(s.html,function(e,t){var i=-1!==b.indexOf(m,e),r=d(n,e,t,i);return null==r?i?(t=f(n,e,t,null))?"".concat(e,'="').concat(t,'"'):e:null==(r=h(n,e,t,i))?void 0:r:r});return i="<".concat(n),g&&(i+=" ".concat(g)),s.closing&&(i+=" /"),i+=">"}return null==(a=u(n,i,o))?p(i):a},p);return m&&(g=m.remove(g)),g},e}(),S=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")(),T=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,i="douyin_web";if(!b.includes(i,"bid"))return i;if(e.config&&e.config.bid)return e.config.bid;if(S&&S._xssBid)return S._xssBid;if(S&&S.slardar&&"function"==typeof S.slardar.config){var r=(S.slardar.config()||{}).bid;if(r)return r}if(S&&S.Slardar&&"function"==typeof S.Slardar.config){var o=(S.Slardar.config()||{}).bid;if(o)return o}return(null===(n=null===(t=null==S?void 0:S.Slardar)||void 0===t?void 0:t._baseParams)||void 0===n?void 0:n.bid)||"argus"},this.getConfigRegion=function(){var t;return b.includes("cn","region")?e.config&&e.config.region?e.config.region:((null===(t=null==S?void 0:S.gfdatav1)||void 0===t?void 0:t.region)||"cn").toLowerCase():"cn"},this.gerReportUrl=function(){var t={cn:w("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boe:w("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),ttp:w("aHR0cHM6Ly9tb24udXMudGlrdG9rdi5jb20vbW9uaXRvcl9icm93c2VyL2NvbGxlY3QvYmF0Y2gvc2VjdXJpdHkvP2JpZD0="),va:w("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),maliva:w("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),sg:w("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boei18n:w("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),S.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(S.fetch&&e.collectKey){var n="object"==typeof window?window.location.href:"SSR";e.documentUrl=n;var i={age:Math.floor(Date.now()),type:"xss",url:n,body:e,"user-agent":""};"enforce"===e.disposition&&"SSR"!==n||(i.url=t),"SSR"===n&&(i.url="SSR___".concat(i.url),i.body.ssr=!0),this.push(i)}},e}()),P=function(e){for(var t=0,n=function(n){Array.isArray(e[n])?0===e[n].length?delete e[n]:(e[n]=b.from(b.uniq(e[n])),t+=e[n].length):0===b.keys(e[n]).length?delete e[n]:b.keys(e[n]).forEach(function(i){e[n][i]=b.from(b.uniq(e[n][i])),t+=e[n][i].length})},i=0,r=b.keys(e);i0)return t&&t("javascript:"),!1;if(/^javascript:/i.test(e)){var r=e.slice(11).replace(/\s/g,"").trim();return!!b.some(["void","void(0)","void0","false","undefined",";"],function(e){return e===r})||(t&&t("javascript:"),!1)}return!0}var L=function(e,t){var n,i,r="<%= isSaveValidUrl =>";if("string"!=typeof e||(i=Number("<%= urlLimit =>"),void 0!==n&&(i=n),"NaN"!==e.toString()&&-1!==i&&e.length>=i)||N(e,t))return e;try{if(!0===(r=JSON.parse(r))||"true"===r){var o=new URL(e);return o.origin+o.pathname}}catch(e){}return"#"};function j(e,t,i){if(void 0===e&&(e=""),void 0===t&&(t=[]),"string"!=typeof e)return!0;if(!N(e=R(e)))return!1;var r,o={url:(r=e.match(/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/)||[])[0],scheme:r[1],slash:r[2],host:r[3],port:r[4],path:r[5],query:r[6],hash:r[7]},a=o.scheme,s=o.host;return i?!!i(e):!(!a||!s)&&(!b.includes(["http","https","file"],a)||("object"==typeof window&&window&&(t=n(n([],t,!0),[location.host],!1)),b.some(t,function(e){return!!(e instanceof RegExp&&e.test(s))||e===s})))}var I={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:[]},$={collect:null,initCollect:function(){this.collect={whiteList:{},filterProtocol:[]}},removeCollect:function(){var e=P(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,i){return e&&b.indexOf(["href","src"],t)>-1?$.domainWhiteList&&Array.isArray($.domainWhiteList)&&$.domainWhiteList.length>0&&!j(i,n([],$.domainWhiteList,!0))?"":"".concat(t,'="').concat(L(i,function(e){var t;null===(t=$.collect)||void 0===t||t.filterProtocol.push(e)}),'"'):e&&(b.indexOf(["style","class","id"],t)>-1||t.indexOf("data-")>-1)?"".concat(t,'="').concat(i,'"'):($.collect.whiteList[e]=$.collect.whiteList[e]||[],void $.collect.whiteList[e].push(t))},onIgnoreTag:function(e,t){if("style"===e)return t;y(t,function(e,t,n,i){x(_(i).html.replace("/",""),function(e){$.collect.whiteList[n]=$.collect.whiteList[n]||[],$.collect.whiteList[n].push(e)})},p)},whiteList:I,mergeWhiteList:function(e){for(var t,n={},i=0,r=b.keys(I);i");var o=_(i),a=x(o.html,function(e,t){var i,r=0;if(D.blackList[n]&&b.includes(D.blackList[n],e)&&(X.collect.blackList[n]=X.collect.blackList[n]||[],X.collect.blackList[n].push(e),r++),D.blackAttrRegExps.length&&D.blackAttrRegExps.some(function(t){return t.test(e)})&&b.forEach(D.blackAttrRegExps,function(t){t.test(e)&&(X.collect.blackAttrRegExps.push("".concat(t.toString(),"->").concat(e)),r++)}),D.blackAttrs.length&&b.includes(D.blackAttrs,e)&&(D.blackAttrs.push(e),r++),!r){if(D.filterList&&D.filterList[n]&&b.includes(D.filterList[n],e)){var o=L(t,function(e){var t;null===(t=X.collect)||void 0===t||t.filterProtocol.push(e)});return o!==t&&(X.collect.filterList[n]=X.collect.filterList[n]||[],X.collect.filterList[n].push(e)),t?"".concat(e,"='").concat(o,"'"):e}return D.filterAttrs&&b.includes(D.filterAttrs,e)?((o=L(t,function(e){var t;null===(t=X.collect)||void 0===t||t.filterProtocol.push(e)}))!==t&&(null===(i=X.collect)||void 0===i||i.filterAttrs.push(e)),t?"".concat(e,"='").concat(o,"'"):e):t?"".concat(e,"='").concat(t,"'"):e}});return i="<".concat(n),a&&(i+=" ".concat(a)),o.closing&&(i+=" /"),i+=">"},p);null===(n=X.collect)||void 0===n||n.blackTags.push(e)}},B=function(e){var t=e.reportOnly,n=void 0===t||t,i=e.block;return n&&"all"===n?"report":("string"==typeof n&&("true"===n&&(n=!0),"false"===n&&(n=!1)),i?"enforce":n?"report":"enforce")},z=function(e){return function(n,i,r){if(!n||"string"!=typeof n)return n;var o=i;e===O&&(o=$).initCollect();var a=e(n,o);if(C(a)===C(n))return n;if(!r)return a;var s=r.logType,l=B(r),c=o.removeCollect();return T.report(t(t({type:s,disposition:l},c),{sourceText:v(n),filterText:v(a)})),"enforce"===l?a:n}},W=z(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 E(t).process(e)}),V=z(O),G=function(e,t,n){var i=[],r=L(e,function(e){i.push(e)});if(r===e)return e;i=b.from(b.uniq(i));var o=t||n||{};if(!o)return r;var a=o.logType,s=B(n);return T.report({type:a,disposition:s,collectKey:i.join("___"),collectData:JSON.stringify(i),collectMode:"black",sourceText:v(e),filterText:v(r)}),"enforce"===s?r:e},H=S._xssProject||{},Y=S.xssNamespace||{},q="3.0.26",J={FilterXSS:E,version:q,webpackPluginVersion:"<%= webpackPluginVersion =>",reportOnly:"<%= reportOnly =>",filterXSS:W,_filterXSS:V,filterUrl:G,Config:$,BlackConfig:X,project:H,setProjectName:function(e){H[e]=this,S._xssProjectName=e}};Y.douyin_web=J,S.xssNamespace=Y,S.Math&&!S.Math.xssNamespace&&(S.Math.xssNamespace=Y),H[q]=J,S.globalThis=S,S.getFilterXss=function(){return void 0!==this._xssProjectName?this._xssProject[this._xssProjectName]:J},S.xss=J,S.isSafeUrl=j,S.isSafeDomain=j,S.isSafeProtocol=N,S._xssProject=H,S._xssProjectName&&(H[S._xssProjectName]=J);var K=J.setProjectName.bind(J);e.BlackConfig=X,e.Config=$,e.FilterXSS=E,e._filterXSS=V,e.filterUrl=G,e.filterXSS=W,e.isSafeDomain=j,e.isSafeProtocol=N,e.isSafeUrl=j,e.project=H,e.setProjectName=K,e.setXssNamespace=function(e){var t=e.appId,n=e.bid,i=e.region;Y[t]=J;$.bid=n,$.region=i,$.enabled=!0},e.xssNamespace=Y,Object.defineProperty(e,"__esModule",{value:!0})}),(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["99292"],{868620:function(e,t,n){"use strict";n.d(t,{LT:function(){return o.L},i$:function(){return i.i},r3:function(){return a.r},rA:function(){return r.r}});var i=n(754077),r=n(41312),o=n(244770),a=n(325619)},672097:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n("573207"),r=n("830776"),o=n("370588"),a=n("514558"),s=n("760774"),l={code:"en-US",formatDistance:i.Z,formatLong:r.Z,formatRelative:o.Z,localize:a.Z,match:s.Z,options:{weekStartsOn:0,firstWeekContainsDate:1}},c=l},914795:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(557094),r=n(726588),o=n(144256);function a(e,t){(0,o.Z)(2,arguments);var n=(0,r.Z)(e),a=(0,i.Z)(t);return isNaN(a)?new Date(NaN):a?(n.setDate(n.getDate()+a),n):n}},521414:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(726588),r=n(144256);function o(e,t){(0,r.Z)(2,arguments);var n=(0,i.Z)(e).getTime(),o=(0,i.Z)(t.start).getTime(),a=(0,i.Z)(t.end).getTime();if(!(o<=a))throw RangeError("Invalid interval");return n>=o&&n<=a}},956853:function(e,t,n){"use strict";n.d(t,{G:function(){return p}});var i=n(315355),r=n(919209),o=n(732905),a=n(625813),s=n(92833),l=n(272787),c=n(19470),u=n(483803),d=n(443826),h=[31,28,31,30,31,30,31,31,30,31,30,31],f=[31,29,31,30,31,30,31,31,30,31,30,31],p=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(){var e;(0,i.Z)(this,n);for(var r=arguments.length,a=Array(r),s=0;s=1&&t<=f[r]:t>=1&&t<=h[r]}},{key:"set",value:function(e,t,n){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e}}]),n}(u._)},732979:function(e){var t,n;t=0,n=function(){"use strict";var e="millisecond",t="second",n="minute",i="hour",r="week",o="month",a="quarter",s="year",l="date",c="Invalid Date",u=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h=function(e,t,n){var i=String(e);return!i||i.length>=t?e:""+Array(t+1-i.length).join(n)+e},f="en",p={};p[f]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||"th")+"]"}};var b="$isDayjsObject",m=function(e){return e instanceof y||!(!e||!e[b])},g=function e(t,n,i){var r;if(!t)return f;if("string"==typeof t){var o=t.toLowerCase();p[o]&&(r=o),n&&(p[o]=n,r=o);var a=t.split("-");if(!r&&a.length>1)return e(a[0])}else{var s=t.name;p[s]=t,r=s}return!i&&r&&(f=r),r||!i&&f},v=function(e,t){if(m(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new y(n)},w={s:h,z:function(e){var t=-e.utcOffset(),n=Math.abs(t);return(t<=0?"+":"-")+h(Math.floor(n/60),2,"0")+":"+h(n%60,2,"0")},m:function e(t,n){if(t.date()0?2===l.length?typeof l[1]==r?this[l[0]]=l[1].call(this,u):this[l[0]]=l[1]:3===l.length?typeof l[1]!==r||l[1].exec&&l[1].test?this[l[0]]=u?u.replace(l[1],l[2]):void 0:this[l[0]]=u?l[1].call(this,u,l[2]):i:4===l.length&&(this[l[0]]=u?l[3].call(this,u.replace(l[1],l[2])):i):this[l]=u||i}d+=2}},H=function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var r=0;r2&&(e[c]="iPad",e[d]=g),e},this.getEngine=function(){var e={};return e[u]=i,e[f]=i,G.call(e,v,y.engine),e},this.getOS=function(){var e={};return e[u]=i,e[f]=i,G.call(e,v,y.os),x&&!e[u]&&w&&w.platform&&"Unknown"!=w.platform&&(e[u]=w.platform.replace(/chrome os/i,D).replace(/macos/i,Z)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return v},this.setUA=function(e){return v=typeof e===s&&e.length>500?V(e,500):e,this},this.setUA(v),this};J.VERSION="0.7.40",J.BROWSER=B([u,f,l]),J.CPU=B([p]),J.DEVICE=B([c,h,d,b,m,v,g,w,y]),J.ENGINE=J.OS=B([u,f]),typeof t!==o?(e.exports&&(t=e.exports=J),t.UAParser=J):typeof define===r&&define.amd?define(function(){return J}):typeof n!==o&&(n.UAParser=J);var K=typeof n!==o&&(n.jQuery||n.Zepto);if(K&&!K.ua){var Q=new J;K.ua=Q.getResult(),K.ua.get=function(){return Q.getUA()},K.ua.set=function(e){Q.setUA(e);var t=Q.getResult();for(var n in t)K.ua[n]=t[n]}}}("object"==typeof window?window:this)},766410:function(e,t,n){"use strict";n.r(t)},20072:function(e,t,n){"use strict";n.r(t)},428046:function(e,t,n){"use strict";n(932651);var i=n(101199),r=n(622689),o=n.n(r),a=n(430329),s=n(469935),l=n.n(s),c=n(739541),u=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);rt.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n};let d=a.U.PREFIX;class h extends i.PureComponent{render(){let e=this.props,{children:t,className:n,spacing:r,style:o,type:a}=e,s=u(e,["children","className","spacing","style","type"]),h="grid"===a,f=l()(`${d}-group`,n,{[`${d}-group-grid`]:h});return i.createElement(c.Z,Object.assign({spacing:h?0:r,wrap:!0,className:f,style:o},s),t)}}h.propTypes={children:o().node,className:o().string,spacing:o().oneOfType([o().number,o().array]),style:o().object,type:o().oneOf(a.j.TYPE)},h.defaultProps={spacing:16},t.Z=h},873827:function(e,t,n){"use strict";n(932651),n(706056);var i=n(795233),r=n.n(i),o=n(971259),a=n.n(o),s=n(92122),l=n.n(s),c=n(101199),u=n(622689),d=n.n(u),h=n(469935),f=n.n(h),p=n(53803),b=n(365211),m=n(995444),g=n(426337);n(487389);var v=n(261890),w=n(155553);class y extends g.Z{get adapter(){return Object.assign(Object.assign({},super.adapter),{setNativeControlChecked:e=>{this.setState({checked:e})},notifyChange:e=>{let{onChange:t}=this.props;t&&t(e)},generateEvent:(e,t)=>{let{props:n}=this;return{target:Object.assign(Object.assign({},n),{checked:e}),stopPropagation:()=>{t.stopPropagation()},preventDefault:()=>{t.preventDefault()},nativeEvent:{stopImmediatePropagation:()=>{t.nativeEvent&&"function"==typeof t.nativeEvent.stopImmediatePropagation&&t.nativeEvent.stopImmediatePropagation()}}}},getIsInGroup:()=>this.isInGroup(),getGroupValue:()=>this.context&&this.context.checkboxGroup.value||[],notifyGroupChange:e=>{this.context.checkboxGroup.onChange(e)},getGroupDisabled:()=>this.context&&this.context.checkboxGroup.disabled,setAddonId:()=>{this.setState({addonId:(0,w.Ms)({prefix:"addon"})})},setExtraId:()=>{this.setState({extraId:(0,w.Ms)({prefix:"extra"})})},setFocusVisible:e=>{this.setState({focusVisible:e})},focusCheckboxEntity:()=>{this.focus()}})}componentDidUpdate(e){this.props.checked!==e.checked&&(l()(this.props.checked)?this.foundation.setChecked(!1):a()(this.props.checked)&&this.foundation.setChecked(this.props.checked))}isInGroup(){return!!(this.context&&this.context.checkboxGroup&&"value"in this.props)}focus(){this.checkboxEntity&&this.checkboxEntity.focus()}blur(){this.checkboxEntity&&this.checkboxEntity.blur()}render(){let{disabled:e,style:t,prefixCls:n,className:i,indeterminate:r,children:o,onMouseEnter:a,onMouseLeave:s,extra:l,value:u,role:d,tabIndex:h,id:b,type:g}=this.props,{checked:v,addonId:w,extraId:y,focusVisible:x}=this.state,k={checked:v,disabled:e},C=this.isInGroup();if(C){if(this.context.checkboxGroup.value){let e=(this.context.checkboxGroup.value||[]).includes(u);k.checked=e}this.context.checkboxGroup.disabled&&(k.disabled=this.context.checkboxGroup.disabled||this.props.disabled);let{isCardType:e,isPureCardType:t}=this.context.checkboxGroup;k.isCardType=e,k.isPureCardType=t,k.name=this.context.checkboxGroup.name}else k.isPureCardType=g===p.j2.TYPE_PURECARD,k.isCardType=g===p.j2.TYPE_CARD||k.isPureCardType;let E=n||p.gX.PREFIX,S=k.isCardType||k.isPureCardType,T=f()(E,{[`${E}-disabled`]:k.disabled,[`${E}-indeterminate`]:r,[`${E}-checked`]:k.checked,[`${E}-unChecked`]:!k.checked,[`${E}-cardType`]:k.isCardType,[`${E}-cardType_disabled`]:k.disabled&&k.isCardType,[`${E}-cardType_enable`]:!(k.disabled&&k.isCardType),[`${E}-cardType_checked`]:k.isCardType&&k.checked&&!k.disabled,[`${E}-cardType_checked_disabled`]:k.isCardType&&k.checked&&k.disabled,[i]:!!i,[`${E}-focus`]:x&&S}),P=f()(`${E}-extra`,{[`${E}-cardType_extra_noChildren`]:k.isCardType&&!o});C&&this.context.checkboxGroup.name;let O=this.props["x-semi-children-alias"]||"children";return c.createElement("span",Object.assign({role:d,tabIndex:h,style:t,className:T,id:b,onMouseEnter:a,onMouseLeave:s,onClick:this.handleChange,onKeyPress:this.handleEnterPress,"aria-labelledby":this.props["aria-labelledby"]},this.getDataAttr(this.props)),c.createElement(m.Z,Object.assign({},this.props,k,{addonId:o&&w,extraId:l&&y,isPureCardType:k.isPureCardType,ref:e=>{this.checkboxEntity=e},focusInner:x&&!S,onInputFocus:this.handleFocusVisible,onInputBlur:this.handleBlur})),o||l?c.createElement("div",{className:`${E}-content`},o?c.createElement("span",{id:w,className:`${E}-addon`,"x-semi-prop":O},o):null,l?c.createElement("div",{id:y,className:P,"x-semi-prop":"extra"},l):null):null)}constructor(e){super(e),this.handleChange=e=>this.foundation.handleChange(e),this.handleEnterPress=e=>this.foundation.handleEnterPress(e),this.handleFocusVisible=e=>{this.foundation.handleFocusVisible(e)},this.handleBlur=e=>{this.foundation.handleBlur()};this.state={checked:e.checked||e.defaultChecked||!1,addonId:e.addonId,extraId:e.extraId,focusVisible:!1},this.checkboxEntity=null,this.foundation=new b.Z(this.adapter)}}y.contextType=v._,y.propTypes={"aria-describedby":d().string,"aria-errormessage":d().string,"aria-invalid":d().bool,"aria-labelledby":d().string,"aria-required":d().bool,checked:d().bool,defaultChecked:d().bool,disabled:d().bool,indeterminate:d().bool,onChange:d().func,value:d().any,style:d().object,className:d().string,prefixCls:d().string,onMouseEnter:d().func,onMouseLeave:d().func,extra:d().node,index:d().number,"aria-label":d().string,tabIndex:d().number,preventScroll:d().bool,type:d().string},y.defaultProps={defaultChecked:!1,indeterminate:!1,onChange:r(),onMouseEnter:r(),onMouseLeave:r(),type:"default"},y.elementType="Checkbox",t.Z=y},164411:function(e,t,n){"use strict";n(932651);var i=n(101199),r=n(392129),o=n(859725);t.Z=e=>i.createElement(r.Z.Title,Object.assign({heading:2,className:`${o.U.PREFIX}-component-header`},e))},284592:function(e,t,n){"use strict";n(932651);var i=n(101199),r=n(469935),o=n.n(r),a=n(622689),s=n.n(a),l=n(702552),c=n(361965),u=n(426337);let d=c.U.PREFIX;class h extends u.Z{componentDidMount(){this.foundation.init()}componentDidUpdate(e){}componentWillUnmount(){this.foundation.destroy()}get adapter(){return Object.assign(Object.assign({},super.adapter),{registerEvent:()=>{this.resizeHandlerRef.current.addEventListener("mousedown",this.foundation.onMouseDown),this.resizeHandlerRef.current.addEventListener("touchstart",this.foundation.onTouchStart)},unregisterEvent:()=>{this.resizeHandlerRef.current.removeEventListener("mousedown",this.foundation.onMouseDown),this.resizeHandlerRef.current.removeEventListener("touchstart",this.foundation.onTouchStart)}})}render(){let{children:e,style:t,className:n}=this.props;return i.createElement("div",{className:o()(n,d+"-resizableHandler",d+"-resizableHandler-"+this.props.direction),style:Object.assign({},t),ref:this.resizeHandlerRef},e)}constructor(e){super(e),this.state={direction:this.props.direction},this.resizeHandlerRef=(0,i.createRef)(),this.foundation=new l.U(this.adapter)}}h.propTypes={children:s().node,direction:s().string,onResizeStart:s().func,className:s().string,disabled:s().bool,style:s().object},h.defaultProps={},t.Z=h},630747:function(e,t,n){"use strict";n(932651);var i=n(101199),r=n(109841),o=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);rt.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n};let a=-1;t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{id:t,className:n}=e,s=o(e,["id","className"]),l=t;(0,r.Z)(l)&&(l=++a);let c=`linearGradient-${l}`;return i.createElement("svg",Object.assign({},s,{className:n,width:"48",height:"48",viewBox:"0 0 36 36",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,"data-icon":"spin"}),i.createElement("defs",null,i.createElement("linearGradient",{x1:"0%",y1:"100%",x2:"100%",y2:"100%",id:c},i.createElement("stop",{stopColor:"currentColor",stopOpacity:"0",offset:"0%"}),i.createElement("stop",{stopColor:"currentColor",stopOpacity:"0.50",offset:"39.9430698%"}),i.createElement("stop",{stopColor:"currentColor",offset:"100%"}))),i.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},i.createElement("rect",{fillOpacity:"0.01",fill:"none",x:"0",y:"0",width:"36",height:"36"}),i.createElement("path",{d:"M34,18 C34,9.163444 26.836556,2 18,2 C11.6597233,2 6.18078805,5.68784135 3.59122325,11.0354951",stroke:`url(#${c})`,strokeWidth:"4",strokeLinecap:"round"})))}},572843:function(e,t,n){"use strict";var i=n(101199);t.Z=i.createContext(null)},793771:function(e,t,n){"use strict";n.d(t,{D:function(){return g}}),n(706056),n(490629),n(414931),n(932651);var i=n(640525),r=n.n(i),o=n(198412),a=n.n(o),s=n(101199),l=n(622689),c=n.n(l),u=n(469935),d=n.n(u),h=n(278766),f=n(553827),p=n(629283),b=n(260813),m=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);rt.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n};let g={record:c().object,index:c().number,columns:c().array,group:c().object.isRequired,groupKey:c().oneOfType([c().string,c().number]).isRequired,data:c().array,renderGroupSection:c().func,onGroupedRow:c().func,clickGroupedRowToExpand:c().bool,components:c().object,expanded:c().bool,prefixCls:c().string,onExpand:c().func,virtualized:c().oneOfType([c().bool,c().object]),style:c().object,renderExpandIcon:c().func,className:c().string,store:c().object,rowKey:c().oneOfType([c().string,c().number,c().func])};class v extends s.PureComponent{isInnerColumnKey(e){return null!=e&&[h.j2.DEFAULT_KEY_COLUMN_EXPAND,h.j2.DEFAULT_KEY_COLUMN_SELECTION].includes(e)}render(){let{record:e,columns:t=[],prefixCls:n,className:i,expanded:r,renderGroupSection:o,components:a,index:l,store:c,group:u,groupKey:h,virtualized:b,style:g}=this.props,v={},w={},y=null,x="function"==typeof o?o(h,[...u]):null;if((0,s.isValidElement)(x))y=x;else if(x&&"[object Object]"===Object.prototype.toString.call(x)){let{children:e}=x,t=m(x,["children"]);y=e,w=Object.assign({},t)}v.colSpan=(0,f.I2)(t).length;let k=[Object.assign({render:()=>({props:v,children:y})},w)],C=d()(i,`${n}-row-section`,{on:r}),{getCellWidths:E}=this.context,S=E(k,null,!0);return s.createElement(p.Z,{components:a,virtualized:b,index:l,onRow:this.onRow,expanded:r,expandIcon:!0,isSection:!0,record:e,replaceClassName:C,expandableRow:!0,renderExpandIcon:this.renderExpandIcon,rowKey:h,columns:k,store:c,style:g,cellWidths:S})}constructor(){var e;super(...arguments),e=this,this.onRow=function(){let{onGroupedRow:t,clickGroupedRowToExpand:n,onExpand:i,groupKey:r,expanded:o}=e.props,a={};return"function"==typeof t&&Object.assign(a,t(...arguments)),Object.assign(Object.assign({},a),{onClick:e=>{"function"==typeof i&&n&&i(!o,r,e),"function"==typeof a.onClick&&a.onClick(e)}})},this.collectGroupedData=()=>{let{data:e,group:t,rowKey:n}=this.props;return Array.isArray(e)&&e.length&&r()(t)?e.filter(e=>{let i="function"==typeof n?n(e):a()(e,n);return null!=i&&""!==i&&t.has(i)}):[]},this.renderExpandIcon=e=>{let{renderExpandIcon:t,groupKey:n}=this.props;return"function"==typeof t?t(e,!1,n):null}}}v.contextType=b.Z,v.propTypes=g,v.defaultProps={prefixCls:h.UX.PREFIX,components:{body:{row:"tr",cell:"td"}}},t.Z=v},341042:function(e,t,n){"use strict";n(932651);var i=n(101199),r=n(469935),o=n.n(r),a=n(426337),s=n(573797),l=n(335209);n(293714);var c=n(543773),u=n(257014),d=n(326621),h=n(980736),f=n(980485),p=n(713663),b=n(193435),m=n(835245),g=n(87853),v=n(379617),w=n(591986),y=n(9444),x=n(619050),k=n(577915),C=n(438136),E=n(154553),S=n(732399),T=n(109841),P=n(209873),O=n(12929);let _=s.UX.PREFIX;class R extends a.Z{get adapter(){return Object.assign(Object.assign({},super.adapter),{getVideo:()=>this.videoRef.current,getVideoWrapper:()=>this.videoWrapperRef.current,notifyPause:()=>{var e,t;return null===(t=(e=this.props).onPause)||void 0===t?void 0:t.call(e)},notifyPlay:()=>{var e,t;return null===(t=(e=this.props).onPlay)||void 0===t?void 0:t.call(e)},notifyQualityChange:e=>{var t,n;return null===(n=(t=this.props).onQualityChange)||void 0===n?void 0:n.call(t,e)},notifyRateChange:e=>{var t,n;return null===(n=(t=this.props).onRateChange)||void 0===n?void 0:n.call(t,e)},notifyRouteChange:e=>{var t,n;return null===(n=(t=this.props).onRouteChange)||void 0===n?void 0:n.call(t,e)},notifyVolumeChange:e=>{var t,n;return null===(n=(t=this.props).onVolumeChange)||void 0===n?void 0:n.call(t,e)},setBufferedValue:e=>this.setState({bufferedValue:e}),setCurrentTime:e=>this.setState({currentTime:e}),setIsError:e=>this.setState({isError:e}),setIsMirror:e=>this.setState({isMirror:e}),setIsPlaying:e=>this.setState({isPlaying:e}),setMuted:e=>this.setState({muted:e}),setNotificationContent:e=>this.setState({notificationContent:e}),setPlaybackRate:e=>this.setState({playbackRate:e}),setQuality:e=>this.setState({currentQuality:e}),setRoute:e=>this.setState({currentRoute:e}),setShowControls:e=>this.setState({showControls:e}),setShowNotification:e=>this.setState({showNotification:e}),setTotalTime:e=>this.setState({totalTime:e}),setVolume:e=>this.setState({volume:e})})}static getDerivedStateFromProps(e,t){let n={};return!(0,T.Z)(e.src)&&e.src!==t.src&&(n.src=e.src),n}componentDidMount(){this.foundation.init()}componentWillUnmount(){this.foundation.destroy()}render(){let{markers:e,qualityList:t,routeList:n,width:r,height:a,autoPlay:l,style:m,className:g,loop:v,captionsSrc:w,crossOrigin:y,theme:x}=this.props,{isPlaying:k,playbackRate:C,playbackRateList:S,isMirror:T,currentTime:O,totalTime:R,currentQuality:N,currentRoute:L,src:j,bufferedValue:I,showControls:$}=this.state;return i.createElement(P.Z,{componentName:"VideoPlayer"},P=>i.createElement("div",{className:o()(`${_}`,g,{[`${_}-mirror`]:T}),style:Object.assign({width:r,height:a},m),ref:this.videoWrapperRef,onMouseEnter:this.handleMouseEnterWrapper,onMouseLeave:this.handleMouseLeaveWrapper},i.createElement("div",{className:o()(`${_}-wrapper`,{[`${s.UX.PREFIX}-wrapper-${x}`]:x})},i.createElement("video",{ref:this.videoRef,autoPlay:l,loop:v,controls:!1,crossOrigin:y,src:j,onTimeUpdate:this.handleTimeUpdate,onDurationChange:this.handleDurationChange,onClick:()=>{this.foundation.handlePlayOrPause()},onError:this.handleError,onCanPlay:this.handleCanPlay,onWaiting:()=>this.handleWaiting(P),onStalled:()=>this.handleStalled(P),onProgress:this.handleProgress,onEnded:this.handleEnded},i.createElement("track",{kind:"captions",src:w})),this.isResourceNotFound()&&this.renderResourceNotFound(P)),this.renderPoster(),this.renderPauseIcon(),this.renderError(P),this.renderNotification(),i.createElement("div",{className:o()(`${s.UX.PREFIX_CONTROLS}`,{[`${s.UX.PREFIX_CONTROLS}-hide`]:!$})},i.createElement(E.Z,{key:R,value:O,max:R,onChange:this.handleTimeChange,markers:e,bufferedValue:I}),i.createElement("div",{className:o()(`${s.UX.PREFIX_CONTROLS}-menu`)},i.createElement("div",{className:o()(`${s.UX.PREFIX_CONTROLS}-menu-left`)},this.renderIconButton(k?i.createElement(c.Z,null):i.createElement(u.Z,null),k?this.handlePause:this.handlePlay,s.j2.PLAY),this.renderIconButton(i.createElement(d.Z,{rotate:180}),k?this.handlePause:this.handlePlay,s.j2.NEXT),this.renderTime(),this.renderVolume(),this.renderDropdownButton(C,S,this.handleRateChange,s.j2.PLAYBACK_RATE,P)),i.createElement("div",{className:o()(`${s.UX.PREFIX_CONTROLS}-menu-right`)},t&&t.length>0&&this.renderDropdownButton(N,t,this.handleQualityChange,s.j2.QUALITY,P),n&&n.length>0&&this.renderDropdownButton(L,n,this.handleRouteChange,s.j2.ROUTE,P),this.renderIconButton(i.createElement(h.Z,null),()=>this.handleMirror(P),s.j2.MIRROR),this.renderIconButton(this.foundation.checkFullScreen()?i.createElement(f.Z,null):i.createElement(p.Z,null),this.handleFullscreen,s.j2.FULLSCREEN),this.renderIconButton(i.createElement(b.Z,null),this.handlePictureInPicture,s.j2.PICTURE_IN_PICTURE))))))}constructor(e){super(e),this.handleMouseEnterWrapper=()=>{this.foundation.handleMouseEnterWrapper()},this.handleMouseLeaveWrapper=()=>{this.foundation.handleMouseLeaveWrapper()},this.handleTimeChange=e=>{this.foundation.handleTimeChange(e)},this.handleTimeUpdate=()=>{this.foundation.handleTimeUpdate()},this.handleError=()=>{this.foundation.handleError()},this.handlePlay=()=>{this.foundation.handlePlay()},this.handlePause=()=>{this.foundation.handlePause()},this.handleCanPlay=()=>{this.foundation.handleCanPlay()},this.handleWaiting=e=>{this.foundation.handleWaiting(e)},this.handleStalled=e=>{this.foundation.handleStalled(e)},this.handleProgress=()=>{this.foundation.handleProgress()},this.handleEnded=()=>{this.foundation.handleEnded()},this.handleDurationChange=()=>{this.foundation.handleDurationChange()},this.handleVolumeChange=e=>{this.foundation.handleVolumeChange(e)},this.handleVolumeSilent=()=>{this.foundation.handleVolumeSilent()},this.handleRateChange=(e,t)=>{this.foundation.handleRateChange(e,t)},this.handleQualityChange=(e,t)=>{this.foundation.handleQualityChange(e,t)},this.handleRouteChange=(e,t)=>{this.foundation.handleRouteChange(e,t)},this.handleMirror=e=>{this.foundation.handleMirror(e)},this.handleFullscreen=()=>{this.foundation.handleFullscreen()},this.handlePictureInPicture=()=>{this.foundation.handlePictureInPicture()},this.getVolumeIcon=()=>{let{volume:e,muted:t}=this.state;return t?i.createElement(m.Z,null):e<50?i.createElement(g.Z,null):i.createElement(v.Z,null)},this.isResourceNotFound=()=>{let{src:e}=this.props;return(0,T.Z)(e)},this.renderTime=()=>{let{currentTime:e,totalTime:t}=this.state;return this.foundation.shouldShowControlItem(s.j2.TIME)?i.createElement("div",{className:o()(`${s.UX.PREFIX_CONTROLS}-time`)},(0,S.m)(e)," / ",(0,S.m)(t)):null},this.renderResourceNotFound=e=>i.createElement("div",{className:o()(`${_}-resource-not-found`)},e.noResource),this.renderPauseIcon=()=>{let{isPlaying:e,isError:t}=this.state;return e||t?null:i.createElement("div",{className:o()(`${_}-pause`)},i.createElement(w.Z,null))},this.renderError=e=>{let{isError:t}=this.state,{theme:n}=this.props;return t?i.createElement("div",{className:o()(`${_}-error`,{[`${_}-error-${n}`]:n})},i.createElement("div",{className:o()(`${_}-error-svg`)},i.createElement(O.Z,null)),e.videoError):null},this.renderPoster=()=>{let{poster:e}=this.props,{isPlaying:t,currentTime:n,totalTime:r}=this.state;return!t&&e?i.createElement("img",{className:o()(`${_}-poster`,{[`${_}-poster-hide`]:n>0&&n{let{showNotification:e,notificationContent:t}=this.state;return e&&t?i.createElement("div",{className:o()(`${_}-notification`)},this.state.notificationContent):null},this.renderVolume=()=>{let{volume:e,muted:t}=this.state;return this.foundation.shouldShowControlItem(s.j2.VOLUME)?i.createElement(x.Z,{autoAdjustOverflow:!0,position:"top",className:o()(`${s.UX.PREFIX_CONTROLS}-popover`),content:i.createElement("div",{className:o()(`${s.UX.PREFIX_CONTROLS}-volume`)},i.createElement("div",{className:o()(`${s.UX.PREFIX_CONTROLS}-volume-title`)},t?0:e,"%"),i.createElement(k.Z,{value:t?0:e,max:100,vertical:!0,height:120,showTooltip:!1,onChange:this.handleVolumeChange}))},i.createElement(y.Z,{className:o()(`${s.UX.PREFIX_CONTROLS}-menu-item`,`${s.UX.PREFIX_CONTROLS}-menu-button`),theme:"borderless",icon:this.getVolumeIcon(),onClick:this.handleVolumeSilent})):null},this.renderIconButton=(e,t,n)=>this.foundation.shouldShowControlItem(n)?i.createElement(y.Z,{theme:"borderless",className:o()(`${s.UX.PREFIX_CONTROLS}-menu-item`,`${s.UX.PREFIX_CONTROLS}-menu-button`),icon:e,onClick:t}):null,this.renderDropdownButton=(e,t,n,r,a)=>{var l;return this.foundation.shouldShowControlItem(r)?i.createElement(C.Z,{position:"top",className:o()(`${s.UX.PREFIX_CONTROLS}-popup-menu`),render:i.createElement(C.Z.Menu,null,t.map(t=>i.createElement(C.Z.Item,{className:o()(`${s.UX.PREFIX_CONTROLS}-popup-menu-item`),key:t.value,onClick:()=>n(t,a),active:t.value===e},t.label))),onChange:e=>n(e,a)},i.createElement("div",{className:o()(`${s.UX.PREFIX_CONTROLS}-menu-item`,`${s.UX.PREFIX_CONTROLS}-popup`)},null===(l=t.find(t=>t.value===e))||void 0===l?void 0:l.label)):null},this.state={bufferedValue:0,currentQuality:e.defaultQuality||"",currentRoute:e.defaultRoute||"",currentTime:0,isError:!1,isMirror:!1,isPlaying:!1,muted:e.muted,notificationContent:"",playbackRate:e.defaultPlaybackRate||1,playbackRateList:e.playbackRateList,showNotification:!1,showControls:!0,src:e.src||"",totalTime:0,volume:e.muted?0:e.volume},this.videoRef=i.createRef(),this.videoWrapperRef=i.createRef(),this.foundation=new l.Z(this.adapter)}}R.defaultProps={autoPlay:!1,clickToPlay:!0,defaultPlaybackRate:s.KT.DEFAULT_PLAYBACK_RATE,controlsList:[s.j2.PLAY,s.j2.NEXT,s.j2.TIME,s.j2.VOLUME,s.j2.PLAYBACK_RATE,s.j2.QUALITY,s.j2.ROUTE,s.j2.MIRROR,s.j2.FULLSCREEN,s.j2.PICTURE_IN_PICTURE],loop:!1,muted:!1,playbackRateList:s.mw,seekTime:s.KT.DEFAULT_SEEK_TIME,theme:s.j2.DARK,volume:s.KT.DEFAULT_VOLUME},t.Z=R},572369:function(e,t,n){"use strict";n.d(t,{q:function(){return o}});var i=n(480333);n(14275),n(759943);var r=n(835054);class o{reset(){this.sequenceNumber=this.width=this.height=this.fpsDen=this.fpsNum=this.duration=this.baseMediaDecodeTime=this.timescale=0,this.codec="",this.present=!1,this.pid=-1,this.pps=[],this.sps=[],this.vps=[],this.sarRatio=[],this.samples=[],this.warnings=[],this.hvcC=null}get firstDts(){return this.samples.length?this.samples[0].dts:null}get firstPts(){return this.samples.length?this.samples[0].pts:null}get samplesDuration(){if(this.samples.length>0){let e=this.samples[0],t=this.samples[this.samples.length-1];return t.dts-e.dts+t.duration}return 0}exist(){return!!/av01/.test(this.codec)||!!(this.pps.length&&this.sps.length&&this.codec)}hasSample(){return!!this.samples.length}get isEncryption(){return this.isVideoEncryption}constructor(){(0,i._)(this,"id",1),(0,i._)(this,"type",r.Vc.VIDEO),(0,i._)(this,"codecType",r._e.AVC),(0,i._)(this,"pid",-1),(0,i._)(this,"hvcC",void 0),(0,i._)(this,"codec",""),(0,i._)(this,"timescale",0),(0,i._)(this,"formatTimescale",0),(0,i._)(this,"sequenceNumber",0),(0,i._)(this,"baseMediaDecodeTime",0),(0,i._)(this,"baseDts",0),(0,i._)(this,"duration",0),(0,i._)(this,"warnings",[]),(0,i._)(this,"samples",[]),(0,i._)(this,"pps",[]),(0,i._)(this,"sps",[]),(0,i._)(this,"vps",[]),(0,i._)(this,"fpsNum",0),(0,i._)(this,"fpsDen",0),(0,i._)(this,"sarRatio",[]),(0,i._)(this,"width",0),(0,i._)(this,"height",0),(0,i._)(this,"nalUnitSize",4),(0,i._)(this,"present",!1),(0,i._)(this,"isVideoEncryption",!1),(0,i._)(this,"isAudioEncryption",!1),(0,i._)(this,"isVideo",!0),(0,i._)(this,"lastKeyFrameDts",0),(0,i._)(this,"kid",null),(0,i._)(this,"pssh",null),(0,i._)(this,"ext",void 0)}}},734362:function(e,t,n){"use strict";n.d(t,{h:function(){return s}});var i=n(480333);n(274352),n(490629),n(362051),n(374954),n(302356);var r=n(487359),o=n(161231);let a=new r.ZP(`AudioTrackStore(${o.Tb?"Worker":"Main"})`);class s{getStore(){let e=this.store;if((null==e?void 0:e.all)&&Array.isArray(null==e?void 0:e.using))return e;let t={all:{},using:[]};return this.store=t,t}printStore(e){try{let t={all:Object.fromEntries(Object.entries(e.all).map(e=>{let[t,n]=e;return[t,{sampleRate:n.sampleRate,channelCount:n.channelCount}]})),using:e.using};a.log("\uD83D\uDD0AStore changed:",JSON.stringify(t,null,2))}catch(e){}}getTrackKey(e,t){return`${e}-${"number"==typeof t?t:"undefined"}`}register(e){let t=this.getStore(),n=t.all[e.id];t.all[e.id]=e,!n&&this.printStore(t)}setStatus(e,t){let n=this.getStore(),i=n.using.indexOf(e),r=!1;"using"===t?-1===i&&(n.using.push(e),r=!0):-1!==i&&(n.using.splice(i,1),r=!0),r&&this.printStore(n)}get(e){if(!!e)return this.getStore().all[e]}delete(e){if(!e)return;let t=this.getStore();if(t.all[e]){delete t.all[e];let n=t.using.indexOf(e);-1!==n&&t.using.splice(n,1),this.printStore(t)}}getIdleTracks(e,t){if(!t)return[];let n=this.getStore(),i=this.getTrackKey(e,t),r=new Set(n.using);return Object.values(n.all).filter(e=>this.getTrackKey(e.sampleRate,e.channelCount)===i&&!r.has(e.id))}hasIdleTracks(e,t){return this.getIdleTracks(e,t).length>0}getAdaptiveTrack(e,t){let n=this.getIdleTracks(e,t);return n.length>0?n[0]:void 0}clear(){let e=this.getStore();e.all={},e.using=[],a.log("Clear all tracks")}getAll(){return this.getStore().all}getUsingIds(){return[...this.getStore().using]}constructor(e){(0,i._)(this,"storeKey",void 0),(0,i._)(this,"store",{all:{},using:[]}),e&&(this.storeKey=e,globalThis[this.storeKey]=this.store)}}},376665:function(e,t,n){"use strict";n.d(t,{x:function(){return o}}),n(374954);var i=n(632084),r=n(792973);class o{static parseAVCDecoderConfigurationRecord(e){let t,n,r;if(e.length<7)return;let a=(3&e[4])+1,s=[],l=[],c=6,u=31&e[5];for(let r=0;r4;(!(0,r.Z)(s)||l)&&(s=null)}return s}},227741:function(e,t,n){"use strict";n.d(t,{U:function(){return u}});var i=n(629686),r=n(402748);n(490629);var o=n(320165),a=n(509608),s=n(802924),l=n(693653),c=n(101199);let u=(0,l.n)(e=>{let[t,n]=(0,c.useState)({}),{playerRef:l}=(0,c.useContext)(a.E),u=(0,c.useRef)(null);return(0,c.useEffect)(()=>(l.current.plugins.error={updateConfig:n,setError(e){var t;null===(t=u.current)||void 0===t||t.setError(e)}},()=>{var e;null===(e=l.current)||void 0===e||delete e.plugins.error})),(0,o.jsx)(s.X,(0,r._)((0,i._)({},e,t),{ref:u}))})},802924:function(e,t,n){"use strict";n.d(t,{X:function(){return l}}),n(490629);var i=n(320165),r=n(509608),o=n(693653),a=n(705998),s=n(101199);n(533792);let l=(0,o.n)((0,s.forwardRef)((e,t)=>{let{playerRef:n}=(0,s.useContext)(r.E),[o,l]=(0,s.useState)(n.current.error);(0,s.useImperativeHandle)(t,()=>({setError:l}),[]);let c=(0,s.useMemo)(()=>{if(!o)return"";let{code:e}=o,t="";return t=e<2e3?"网络错误":e<3e3?"解复用错误":e<4e3?"解码错误":e<5e3?"worker 执行错误":e<6e3?"render 运行时错误":"不支持的音频/视频格式"},[o]),u=(0,a.DM)(()=>{l(n.current.error)}),d=(0,a.DM)(()=>{l(e=>e?null:e)}),h=(0,a.DM)(()=>{var t;if(!e.beforeRetry||!!e.beforeRetry(o))null===(t=n.current)||void 0===t||t.refresh(),l(e=>e?null:e)});return((0,r.T)(()=>(n.current.on("error",u),n.current.on("canplay",d),()=>{var e,t;null===(e=n.current)||void 0===e||e.off("error",u),null===(t=n.current)||void 0===t||t.off("canplay",d)})),o)?(0,i.jsx)("div",{className:"douyin-player-error",children:(0,i.jsxs)("div",{className:"douyin-player-errornote",children:[(0,i.jsx)("span",{className:"douyin-player-error-text",children:c}),(0,i.jsxs)("span",{className:"douyin-player-error-tips",children:["请试试",(0,i.jsx)("span",{className:"douyin-player-error-refresh",onClick:h,children:"刷新"})]})]})}):null}),!0)},205718:function(e,t,n){"use strict";n(679308),n.e("44685").then(n.bind(n,372319)),n.e("44685").then(n.bind(n,522573)),n.e("44685").then(n.bind(n,735608)),n.e("44685").then(n.bind(n,825710)),n.e("44685").then(n.bind(n,671195)),n.e("44685").then(n.bind(n,66425)),n.e("44685").then(n.bind(n,787831)),n.e("44685").then(n.bind(n,595980)),n.e("44685").then(n.bind(n,619619)),n.e("44685").then(n.bind(n,138440)),n.e("44685").then(n.bind(n,915669)),n.e("44685").then(n.bind(n,571508)),n.e("44685").then(n.bind(n,869275)),n.e("44685").then(n.bind(n,26604)),n.e("44685").then(n.bind(n,415134)),n.e("44685").then(n.bind(n,945173)),n.e("44685").then(n.bind(n,621401)),n.e("44685").then(n.bind(n,695755)),n.e("44685").then(n.bind(n,526317)),n.e("44685").then(n.bind(n,530266)),n.e("44685").then(n.bind(n,586441)),n.e("44685").then(n.bind(n,983190)),n.e("44685").then(n.bind(n,304495)),n.e("44685").then(n.bind(n,310443)),n.e("44685").then(n.bind(n,105345)),n.e("44685").then(n.bind(n,180388)),n.e("44685").then(n.bind(n,766903)),n.e("44685").then(n.bind(n,364759)),n.e("44685").then(n.bind(n,631214)),n.e("44685").then(n.bind(n,24913)),n.e("44685").then(n.bind(n,893933)),n.e("44685").then(n.bind(n,140939)),n.e("44685").then(n.bind(n,524491)),n.e("44685").then(n.bind(n,315659)),n.e("44685").then(n.bind(n,51600)),n.e("44685").then(n.bind(n,522030)),n.e("44685").then(n.bind(n,865525)),n.e("44685").then(n.bind(n,593870)),n.e("44685").then(n.bind(n,130289)),n.e("44685").then(n.bind(n,497409)),n.e("44685").then(n.bind(n,631056)),n.e("44685").then(n.bind(n,588386)),n.e("44685").then(n.bind(n,93458)),n.e("44685").then(n.bind(n,225479)),n.e("44685").then(n.bind(n,769591)),n.e("44685").then(n.bind(n,124653))},979312:function(e,t,n){"use strict";n(679308),n.e("91038").then(n.bind(n,972439))},535795:function(e,t,n){"use strict";n(679308),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,522573)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,735608)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,825710)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,671195)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,66425)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,787831)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,595980)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,619619)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,138440)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,915669)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,571508)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,869275)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,26604)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,415134)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,945173)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,621401)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,695755)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,526317)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,530266)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,586441)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,983190)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,304495)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,310443)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,105345)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,180388)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,766903)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,364759)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,631214)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,24913)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,893933)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,140939)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,524491)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,315659)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,51600)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,522030)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,865525)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,593870)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,130289)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,497409)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,631056)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,588386)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,93458)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,225479)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,769591)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,124653)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("87715"),n.e("23356")]).then(n.bind(n,60994))},298322:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(243831),r=n(973685),o=n(890192),a=n(40298);function s(e){return(0,i.Z)(e)||(0,r.Z)(e)||(0,o.Z)(e)||(0,a.Z)()}},221004:function(e,t,n){"use strict";function i(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}n.d(t,{M:function(){return i}})},959303:function(e,t,n){"use strict";n.d(t,{f:function(){return r}});var i=n(588358);function r(e,t){let n={type:"text",value:(0,i.j)(String(t.value))};return e.patch(t,n),e.applyData(t,n)}},662358:function(e,t,n){"use strict";function i(e){let t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}n.d(t,{c:function(){return i}})},29394:function(e,t,n){"use strict";n.d(t,{w:function(){return o}});var i=n(890131),r=n(368183);let o={partial:!0,tokenize:function(e,t,n){return function(t){return(0,r.xz)(t)?(0,i.f)(e,o,"linePrefix")(t):o(t)};function o(e){return null===e||(0,r.Ch)(e)?t(e):n(e)}}}},308271:function(e,t,n){"use strict";n.d(t,{_:function(){return a}});var i=n(890131),r=n(368183);let o={partial:!0,tokenize:function(e,t,n){let i=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),r)};function r(e){return i.parser.lazy[i.now().line]?n(e):t(e)}}},a={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let a;let s=this,l={partial:!0,tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l};function l(t){return e.enter("codeFencedFence"),(0,r.xz)(t)?(0,i.f)(e,c,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):c(t)}function c(t){return t===a?(e.enter("codeFencedFenceSequence"),function t(s){return s===a?(o++,e.consume(s),t):o>=u?(e.exit("codeFencedFenceSequence"),(0,r.xz)(s)?(0,i.f)(e,d,"whitespace")(s):d(s)):n(s)}(t)):n(t)}function d(i){return null===i||(0,r.Ch)(i)?(e.exit("codeFencedFence"),t(i)):n(i)}}},c=0,u=0;return function(t){return function(t){let o=s.events[s.events.length-1];return c=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,a=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(o){return o===a?(u++,e.consume(o),t):u<3?n(o):(e.exit("codeFencedFenceSequence"),(0,r.xz)(o)?(0,i.f)(e,d,"whitespace")(o):d(o))}(t)}(t)};function d(l){return null===l||(0,r.Ch)(l)?(e.exit("codeFencedFence"),s.interrupt?t(l):e.check(o,f,g)(l)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(o){return null===o||(0,r.Ch)(o)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),d(o)):(0,r.xz)(o)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,i.f)(e,h,"whitespace")(o)):96===o&&o===a?n(o):(e.consume(o),t)}(l))}function h(t){return null===t||(0,r.Ch)(t)?d(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,r.Ch)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(i)):96===i&&i===a?n(i):(e.consume(i),t)}(t))}function f(t){return e.attempt(l,g,p)(t)}function p(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),b}function b(t){return c>0&&(0,r.xz)(t)?(0,i.f)(e,m,"linePrefix",c+1)(t):m(t)}function m(t){return null===t||(0,r.Ch)(t)?e.check(o,f,g)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,r.Ch)(n)?(e.exit("codeFlowValue"),m(n)):(e.consume(n),t)}(t))}function g(n){return e.exit("codeFenced"),t(n)}}}},720458:function(e,t,n){"use strict";function i(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}n.d(t,{o:function(){return i}})},375952:function(e,t,n){"use strict";n.d(t,{v:function(){return a}});var i=n(456187),r=n(720458);let o=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function a(e){return e.replace(o,s)}function s(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return(0,r.o)(n.slice(t?2:1),t?16:10)}return(0,i.T)(n)||e}},81625:function(e,t,n){"use strict";n.d(t,{w:function(){return o}});var i=n(355965),r=n(633583);let o=(0,i.U)({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:r.S})},619842:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(868123);function r(e,t){return e&&"run"in e?async function(n,r){let o=(0,i.Q)(n,{file:r,...t});await e.run(o,r)}:function(n,r){return(0,i.Q)(n,{file:r,...e||t})}}},275438:function(e,t,n){"use strict";n.d(t,{d:function(){return g}}),n(14275),n(759943),n(683656),n(527553),n(76375);var i=n(643253),r=n(239501),o=n(353833),a=/\s/,s=/^\s+/,l=0/0,c=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,d=/^0o[0-7]+$/i,h=parseInt;function f(e){if("number"==typeof e)return e;if((0,o.i)(e))return l;if((0,i.i)(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=(0,i.i)(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=(t=e)?t.slice(0,function(e){for(var t=e.length;t--&&a.test(e.charAt(t)););return t}(t)+1).replace(s,""):t;var r=u.test(e);return r||d.test(e)?h(e.slice(2),r?2:8):c.test(e)?l:+e}var p=function(){return r.r.Date.now()},b=Math.max,m=Math.min;function g(e,t,n){var r,o,a,s,l,c,u=0,d=!1,h=!1,g=!0;if("function"!=typeof e)throw TypeError("Expected a function");function v(t){var n=r,i=o;return r=o=void 0,u=t,s=e.apply(i,n)}t=f(t)||0,(0,i.i)(n)&&(d=!!n.leading,a=(h="maxWait"in n)?b(f(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function w(e){var n=e-c,i=e-u;return void 0===c||n>=t||n<0||h&&i>=a}function y(){var e,n,i,r,o=p();if(w(o))return x(o);l=setTimeout(y,(n=(e=o)-c,i=e-u,r=t-n,h?m(r,a-i):r))}function x(e){return(l=void 0,g&&r)?v(e):(r=o=void 0,s)}function k(){var e,n=p(),i=w(n);if(r=arguments,o=this,c=n,i){if(void 0===l){;return u=e=c,l=setTimeout(y,t),d?v(e):s}if(h)return clearTimeout(l),l=setTimeout(y,t),v(c)}return void 0===l&&(l=setTimeout(y,t)),s}return k.cancel=function(){void 0!==l&&clearTimeout(l),u=0,r=c=o=l=void 0},k.flush=function(){return void 0===l?s:x(p())},k}},199775:function(e,t,n){"use strict";n.r(t),n.d(t,{ServerPropsContext:function(){return r},ServerPropsProvider:function(){return o}});var i=n(320165);let r=(0,n(101199).createContext)(null),o=e=>{let{serverProps:t,setServerProps:n,children:o}=e;return(0,i.jsx)(r.Provider,{value:{setServerProps:n,serverProps:t},children:o})}},524053:function(e,t,n){"use strict";n.d(t,{o:function(){return f}});var i=n(629686),r=n(402748),o=n(811603);n(679308),n(490629);var a=n(320165),s=n(982551),l=n(284476),c=n(411372),u=n(18546),d=n(101199);let h=class extends d.Component{static getDerivedStateFromProps(e,t){if(!t.innerHtml){var n,i,r,o,a;return{id:e.id,IslandComponent:null!==(o=null===(n=h.cache[e.id])||void 0===n?void 0:n.IslandComponent)&&void 0!==o?o:d.Fragment,isHydrated:null!==(a=null===(i=h.cache[e.id])||void 0===i?void 0:i.isHydrated)&&void 0!==a&&a,innerHtml:null===(r=document.getElementById(e.id))||void 0===r?void 0:r.innerHTML}}return null}async hydratorRender(){var e,t,n;let{isHydrated:o,id:a}=this.state;if(o)return;let{load:s}=this.props;let l=(n=await s())&&n.default||n;a&&(h.cache[a]={IslandComponent:l,isHydrated:!0}),this.setState(e=>(0,r._)((0,i._)({},e),{isHydrated:!0,IslandComponent:l})),null===(e=(t=this.props).islandOnload)||void 0===e||e.call(t)}componentDidMount(){let{islandMode:e,islandName:t,islandTimeout:n,id:i}=this.props;"event"===e?this._unregister=(0,s.X)(this.hydratorRender.bind(this),{name:t}):"load"===e?(0,l.I)(this.hydratorRender.bind(this)):"idle"===e?(0,c.i)(this.hydratorRender.bind(this)):"visible"===e&&(0,u.X)(this.hydratorRender.bind(this),{id:i}),"number"==typeof n&&(this._backupTimer=setTimeout(()=>{this.setState(e=>{!e.isHydrated&&this.hydratorRender()})},n))}componentWillUnmount(){var e;this._backupTimer&&clearTimeout(this._backupTimer),null===(e=this._unregister)||void 0===e||e.call(this)}shouldComponentUpdate(e,t){return(!1!==this.state.isHydrated||!1!==t.isHydrated)&&!0}render(){let e=this.props,{id:t,innerRef:n}=e,r=(0,o._)(e,["id","innerRef"]),{isHydrated:s,IslandComponent:l,innerHtml:c}=this.state;return s?(0,a.jsx)("pace-island",{id:t,children:(0,a.jsx)(l,(0,i._)({ref:n},r))}):(0,a.jsx)("pace-island",{id:t,dangerouslySetInnerHTML:{__html:null!=c?c:""},suppressHydrationWarning:!0})}constructor(){super(...arguments),this.state={id:void 0,isHydrated:!1,IslandComponent:d.Fragment,innerHtml:null},this._backupTimer=null,this._unregister=null}},f=h;f.cache={}}}]);