/*! For license information please see 66673.3da5008b.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,s=/&#([a-zA-Z0-9]*);?/gim,a=/"/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,h=/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,f=/"/g,p=function(e){return e.replace(r,"<").replace(o,">")},g={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,s=(15&n)<<2|(i=e.charCodeAt(u++))>>6,a=63&i,isNaN(n)?s=a=64:isNaN(i)&&(a=64),c=c+l.charAt(r)+l.charAt(o)+l.charAt(s)+l.charAt(a);return c}function y(e){var t,n,i,r,o,s,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="",c=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");c>4,n=(15&r)<<4|(o=a.indexOf(e.charAt(c++)))>>2,i=(3&o)<<6|(s=a.indexOf(e.charAt(c++))),l+=String.fromCharCode(t),64!==o&&(l+=String.fromCharCode(n)),64!==s&&(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 C(e,t,n){var i="",r=0,o=!1,s=!1,a=0,l=e.length,c="",u="";e:for(a=0;a"===h||a===l-1){i+=n(e.slice(r,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,a+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(s,v(g.trim(e.slice(n,c)))),s=!1,n=c+1;continue}}}else{if(-1===(h=e.indexOf(u,c+1)))break;l(s,g.trim(e.slice(r+1,h))),s=!1,n=(c=h)+1}}else s=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 g.trim(t)}(e=(e=(e=e.replace(a,'"')).replace(s,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)||(h.lastIndex=0,h.test(n)&&(u.lastIndex=0,u.test(n)))))return"";return n=function(e){return e=p(e=e.replace(f,"""))}(n)}var w=function(e){return"string"==typeof e?e.replace(/'/g,'"').replace('=""',"").replace(/\s+/g,"").toLowerCase():""},S=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=x,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,s,a=this.options,l=a.whiteList,c=a.onTag,u=a.onIgnoreTag,h=a.onTagAttr,d=a.onIgnoreTagAttr,f=a.safeAttrValue,p=a.escapeHtml;a.stripBlankChar&&(e=(t=(t=e.split("")).filter(function(e){var t=e.charCodeAt(0);return!(127===t||t<=31&&10!==t&&13!==t)})).join("")),a.allowCommentTag||(e=function(e){for(var t="",n=0;n");var a=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}}(i),m=l[n],v=_(a.html,function(e,t){var i=-1!==g.indexOf(m,e),r=h(n,e,t,i);return null==r?i?(t=f(n,e,t,null))?"".concat(e,'="').concat(t,'"'):e:null==(r=d(n,e,t,i))?void 0:r:r});return i="<".concat(n),v&&(i+=" ".concat(v)),a.closing&&(i+=" /"),i+=">"}return null==(s=u(n,i,o))?p(i):s},p);return m&&(v=m.remove(v)),v},e}(),E=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")(),A=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(!g.includes(i,"bid"))return i;if(e.config&&e.config.bid)return e.config.bid;if(E&&E._xssBid)return E._xssBid;if(E&&E.slardar&&"function"==typeof E.slardar.config){var r=(E.slardar.config()||{}).bid;if(r)return r}if(E&&E.Slardar&&"function"==typeof E.Slardar.config){var o=(E.Slardar.config()||{}).bid;if(o)return o}return(null===(n=null===(t=null==E?void 0:E.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==E?void 0:E.gfdatav1)||void 0===t?void 0:t.region)||"cn").toLowerCase():"cn"},this.gerReportUrl=function(){var t={cn:y("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boe:y("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),ttp:y("aHR0cHM6Ly9tb24udXMudGlrdG9rdi5jb20vbW9uaXRvcl9icm93c2VyL2NvbGxlY3QvYmF0Y2gvc2VjdXJpdHkvP2JpZD0="),va:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),maliva:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),sg:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boei18n:y("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),E.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(E.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}()),k=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(i){e[n][i]=g.from(g.uniq(e[n][i])),t+=e[n][i].length})},i=0,r=g.keys(e);i0)return t&&t("javascript:"),!1;if(/^javascript:/i.test(e)){var r=e.slice(11).replace(/\s/g,"").trim();return!!g.some(["void","void(0)","void0","false","undefined",";"],function(e){return e===r})||(t&&t("javascript:"),!1)}return!0}var P=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)||L(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 M(e,t,i){if(void 0===e&&(e=""),void 0===t&&(t=[]),"string"!=typeof e)return!0;if(!L(e=T(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]},s=o.scheme,a=o.host;return i?!!i(e):!(!s||!a)&&(!g.includes(["http","https","file"],s)||("object"==typeof window&&window&&(t=n(n([],t,!0),[location.host],!1)),g.some(t,function(e){return!!(e instanceof RegExp&&e.test(a))||e===a})))}var Z={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:[]},j={collect:null,initCollect:function(){this.collect={whiteList:{},filterProtocol:[]}},removeCollect:function(){var e=k(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&&g.indexOf(["href","src"],t)>-1?j.domainWhiteList&&Array.isArray(j.domainWhiteList)&&j.domainWhiteList.length>0&&!M(i,n([],j.domainWhiteList,!0))?"":"".concat(t,'="').concat(P(i,function(e){var t;null===(t=j.collect)||void 0===t||t.filterProtocol.push(e)}),'"'):e&&(g.indexOf(["style","class","id"],t)>-1||t.indexOf("data-")>-1)?"".concat(t,'="').concat(i,'"'):(j.collect.whiteList[e]=j.collect.whiteList[e]||[],void j.collect.whiteList[e].push(t))},onIgnoreTag:function(e,t){if("style"===e)return t;C(t,function(e,t,n,i){_(O(i).html.replace("/",""),function(e){j.collect.whiteList[n]=j.collect.whiteList[n]||[],j.collect.whiteList[n].push(e)})},p)},whiteList:Z,mergeWhiteList:function(e){for(var t,n={},i=0,r=g.keys(Z);i");var o=O(i),s=_(o.html,function(e,t){var i,r=0;if($.blackList[n]&&g.includes($.blackList[n],e)&&(U.collect.blackList[n]=U.collect.blackList[n]||[],U.collect.blackList[n].push(e),r++),$.blackAttrRegExps.length&&$.blackAttrRegExps.some(function(t){return t.test(e)})&&g.forEach($.blackAttrRegExps,function(t){t.test(e)&&(U.collect.blackAttrRegExps.push("".concat(t.toString(),"->").concat(e)),r++)}),$.blackAttrs.length&&g.includes($.blackAttrs,e)&&($.blackAttrs.push(e),r++),!r){if($.filterList&&$.filterList[n]&&g.includes($.filterList[n],e)){var o=P(t,function(e){var t;null===(t=U.collect)||void 0===t||t.filterProtocol.push(e)});return o!==t&&(U.collect.filterList[n]=U.collect.filterList[n]||[],U.collect.filterList[n].push(e)),t?"".concat(e,"='").concat(o,"'"):e}return $.filterAttrs&&g.includes($.filterAttrs,e)?((o=P(t,function(e){var t;null===(t=U.collect)||void 0===t||t.filterProtocol.push(e)}))!==t&&(null===(i=U.collect)||void 0===i||i.filterAttrs.push(e)),t?"".concat(e,"='").concat(o,"'"):e):t?"".concat(e,"='").concat(t,"'"):e}});return i="<".concat(n),s&&(i+=" ".concat(s)),o.closing&&(i+=" /"),i+=">"},p);null===(n=U.collect)||void 0===n||n.blackTags.push(e)}},V=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")},X=function(e){return function(n,i,r){if(!n||"string"!=typeof n)return n;var o=i;e===I&&(o=j).initCollect();var s=e(n,o);if(w(s)===w(n))return n;if(!r)return s;var a=r.logType,l=V(r),c=o.removeCollect();return A.report(t(t({type:a,disposition:l},c),{sourceText:b(n),filterText:b(s)})),"enforce"===l?s:n}},z=X(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 S(t).process(e)}),F=X(I),K=function(e,t,n){var i=[],r=P(e,function(e){i.push(e)});if(r===e)return e;i=g.from(g.uniq(i));var o=t||n||{};if(!o)return r;var s=o.logType,a=V(n);return A.report({type:s,disposition:a,collectKey:i.join("___"),collectData:JSON.stringify(i),collectMode:"black",sourceText:b(e),filterText:b(r)}),"enforce"===a?r:e},B=E._xssProject||{},J=E.xssNamespace||{},Y="3.0.26",G={FilterXSS:S,version:Y,webpackPluginVersion:"<%= webpackPluginVersion =>",reportOnly:"<%= reportOnly =>",filterXSS:z,_filterXSS:F,filterUrl:K,Config:j,BlackConfig:U,project:B,setProjectName:function(e){B[e]=this,E._xssProjectName=e}};J.douyin_web=G,E.xssNamespace=J,E.Math&&!E.Math.xssNamespace&&(E.Math.xssNamespace=J),B[Y]=G,E.globalThis=E,E.getFilterXss=function(){return void 0!==this._xssProjectName?this._xssProject[this._xssProjectName]:G},E.xss=G,E.isSafeUrl=M,E.isSafeDomain=M,E.isSafeProtocol=L,E._xssProject=B,E._xssProjectName&&(B[E._xssProjectName]=G);var Q=G.setProjectName.bind(G);e.BlackConfig=U,e.Config=j,e.FilterXSS=S,e._filterXSS=F,e.filterUrl=K,e.filterXSS=z,e.isSafeDomain=M,e.isSafeProtocol=L,e.isSafeUrl=M,e.project=B,e.setProjectName=Q,e.setXssNamespace=function(e){var t=e.appId,n=e.bid,i=e.region;J[t]=G;j.bid=n,j.region=i,j.enabled=!0},e.xssNamespace=J,Object.defineProperty(e,"__esModule",{value:!0})}),(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["66673"],{343388:function(e,t,n){"use strict";var i=n(101199),r=n(994298);let o=(0,r.A)(function(e){return i.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),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.08 7.6a1.5 1.5 0 0 1 2.12 0l5.66 5.65 5.66-5.65a1.5 1.5 0 1 1 2.12 2.12l-6.72 6.72a1.5 1.5 0 0 1-2.12 0L4.08 9.72a1.5 1.5 0 0 1 0-2.12Z",fill:"currentColor"}))},"chevron_down");t.Z=o},831610:function(e,t,n){"use strict";var i=n(101199),r=n(994298);let o=(0,r.A)(function(e){return i.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),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2a1 1 0 0 0-1-1H6a2 2 0 0 0-2 2v18c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V10a1 1 0 0 0-1-1h-5a2 2 0 0 1-2-2V2ZM7 8a1 1 0 0 1 1-1h1a1 1 0 0 1 0 2H8a1 1 0 0 1-1-1Zm0 5a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1Zm1 4a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2H8Zm11.07-9.5H14.5a1 1 0 0 1-1-1V1.93a.8.8 0 0 1 1.37-.56l4.76 4.76a.8.8 0 0 1-.56 1.37Z",fill:"currentColor"}))},"file");t.Z=o},98013:function(e,t,n){"use strict";n.d(t,{MU:function(){return i},Vp:function(){return r},bG:function(){return o}});var i={KEY_NOT_FOUND:2,SUCCESS:1,FAIL:0,UNAUTHORIZED:-1,UNREGISTERED:-2,INVALID_PARAM:-3,UNKNOWN_HOST:-4,INVALID_RESULT:-5,UNAUTHORIZED_ACCESS:-6,CANCELLED:-7,OPERATION_TIMEOUT:-8,NOT_FOUND:-9,NOT_IMPLEMENTED:-10,HANDLE_ERROR:-11,EXCEPTION_THROWN:-999,UNKNOWN_ERROR:-1e3,NETWORK_UNREACHABLE:-1001,NETWORK_TIMEOUT:-1002,MALFORMED_RESPONSE:-1003,APPID_EMPTY:1001},r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return{code:i.SUCCESS,data:e,msg:t}},o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{code:e,data:n,msg:t}}},771134:function(e,t,n){"use strict";var i=n(954090),r=n(868620),o=n(193078);!function(){function e(){this.crc32=new o.Bi}e.prototype.update=function(e){!(0,r.rA)(e)&&this.crc32.update((0,r.i$)(e))},e.prototype.digest=function(){return(0,i.mG)(this,void 0,void 0,function(){return(0,i.Jh)(this,function(e){return[2,(0,r.LT)(this.crc32.digest())]})})},e.prototype.reset=function(){this.crc32=new o.Bi}}()},435747:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(45898),r=n(729898),o=n(150174);let s=Object.assign(Object.assign({},r.Z.default),{precision:.01});function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((0,o.Z)(t)){let e=(0,i.Z)(t.easing),n="number"==typeof t.duration&&t.duration>0?t.duration:1e3;t=Object.assign(Object.assign({},t),{easing:e,duration:n})}let n=Object.assign(Object.assign(Object.assign({},s),t),{done:!1});if(e&&"object"==typeof e&&"val"in e){if((0,o.Z)(e)){let n=(0,i.Z)(e.easing),r="number"==typeof e.duration&&e.duration>0?e.duration:parseInt(t.duration)||1e3;e=Object.assign(Object.assign({},e),{easing:n,duration:r})}n=Object.assign(Object.assign({},n),e)}else n=Object.assign(Object.assign({},n),{val:e});return n}},646317:function(e,t,n){"use strict";n.d(t,{J:function(){return d}});var i=n(739054),r=n(734835),o=n(392982),s=n(970509),a=n.n(s),l=n(587934);n(832996);var c=a()("im:idl:transport"),u=a()("im:idl:transport-raw"),h=class e{constructor(){this.cachedType={},this.loading=null,this.loadSchema=()=>{if("undefined"!=typeof window)window.requestIdleCallback(()=>{this._loadSchema()})},this._loadSchema=()=>this.loading?this.loading:(this.loading=(0,i.C)(this,null,function*(){if(l.roots.transport){this.root=l.roots.transport,this.loading=Promise.resolve();return}yield(0,r.y)(),yield n.e("14352").then(n.bind(n,193987)),this.root=l.roots.transport,this.loading=Promise.resolve()}),this.loading)}static get instance(){return e.__instance?e.__instance:e.__instance=new e}static addRelation(t,n){e.relation[t]=n,e.relation[n]=t}static setRelation(t){e.relation=(0,i.i)((0,i.i)({},e.relation),null!=t?t:{})}getType(t){let n=t.replace(o.nl,""),i=this.cachedType[n];if(i)return i;try{let i=[e.relation[t],e.relation[n],n,t].filter(e=>e),r=i.map(t=>e.typeHintPrefix.map(e=>`${e}.${t}`)).reduce((e,t)=>e.concat(t)).concat(i);c("search types",r);let o=r.reduce((e,t)=>e&&"function"==typeof e?e:t.split(".").reduce((e,t)=>null==e?void 0:e[t],this.root),void 0);if("function"!=typeof o)throw Error("cannot find type");return o}catch(e){return c(`no current schema[${String(n)}]`),null}}decode(e,t){return(0,i.C)(this,null,function*(){var n,i,r,o,s,a,l,c,u;if(yield this._loadSchema(),t)return this._decode(e,t);let[h,d]=yield this._decodeFrameOrResponse(e),f=null!=(o=null!=(r=null==(i=null==(n=null==d?void 0:d.headers)?void 0:n.find(e=>"X-ByteLink-Cursor"===e.key))?void 0:i.value)?r:h.cursor)?o:"",p=null!=(c=null!=(l=null==(a=null==(s=null==d?void 0:d.headers)?void 0:s.find(e=>"X-ByteLink-InternalExt"===e.key))?void 0:a.value)?l:h.internal_ext)?c:"";return{response:h,frame:d,needAck:null!=(u=h.need_ack)&&u,cursor:f,internalExt:p}})}encode(e,t){return(0,i.C)(this,null,function*(){return yield this._loadSchema(),this._encode(e,t)})}ack(e,t,n){return(0,i.C)(this,null,function*(){var i,r,s,a;let l=null!=(a=null!=(s=null==(r=null==(i=e.headers)?void 0:i.find(e=>"X-ByteLink-InternalExt"===e.key))?void 0:r.value)?s:t.internal_ext)?a:"";return yield this.encode({SeqID:e.SeqID,LogID:e.LogID,service:9999,headers:[{key:"X-ByteLink-InternalExt",value:l},{key:"client_recv_times_ms",value:n.toString()},{key:"client_ack_time_ms",value:Date.now().toString()}],method:1,payload_encoding:"pb",payload_type:o.AG.Ack},"PushFrame")})}ping(e,t){return this.encode({SeqID:e,LogID:e,headers:t?Object.entries(t).map(([e,t])=>({key:e,value:t})):[],service:9999,method:1,payload_type:o.AG.Hb},"PushFrame")}_decodeFrameOrResponse(e){return(0,i.C)(this,null,function*(){try{let t=this._decode(e,"PushFrame"),n=yield this._extractResponse(t);return[this._decode(n,"Response"),t]}catch(t){return[this._decode(e,"Response")]}})}_extractResponse(t){return(0,i.C)(this,null,function*(){var n;return(null==(n=t.headers)?void 0:n.some(e=>"compress_type"===e.key&&"gzip"===e.value))?yield e.unGzip(t.payload):t.payload})}_decode(e,t){let n=this.getType(t);if(!n)return;let i=n.decode(e);return c("decoded success",t,i),u("decoded success",e),i}_encode(e,t){let n=this.getType(t);if(!n)return;let i=n.encode(e).finish();return c("encoded success",t,e),u("encoded success",i),i}};h.VERSION='"0.0.3"',h.relation={},h.typeHintPrefix=["webcast.im"],h.unGzip=(...e)=>(0,i.C)(h,null,function*(){return!h.pako&&(h.pako=n.e("76205").then(n.bind(n,216896))),h.pako.then(t=>t.ungzip(...e))});var d=h},38361:function(e,t,n){"use strict";n.d(t,{GT:function(){return h},gr:function(){return u}});var i=n(732905),r=n(625813),o=n(92833),s=n(315355),a=n(919209),l=n(272787),c=function(){function e(){(0,s.Z)(this,e),(0,l.Z)(this,"priority",void 0),(0,l.Z)(this,"subPriority",0)}return(0,a.Z)(e,[{key:"validate",value:function(e,t){return!0}}]),e}(),u=function(e){(0,r.Z)(n,e);var t=(0,o.Z)(n);function n(e,i,r,o,a){var l;return(0,s.Z)(this,n),(l=t.call(this)).value=e,l.validateValue=i,l.setValue=r,l.priority=o,a&&(l.subPriority=a),l}return(0,a.Z)(n,[{key:"validate",value:function(e,t){return this.validateValue(e,this.value,t)}},{key:"set",value:function(e,t,n){return this.setValue(e,t,this.value,n)}}]),n}(c),h=function(e){(0,r.Z)(n,e);var t=(0,o.Z)(n);function n(){var e;(0,s.Z)(this,n);for(var r=arguments.length,o=Array(r),a=0;a=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCSeconds(n,0),e}}]),n}(c._)},78430:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(557094),r=n(726588),o=n(144256);function s(e,t){(0,o.Z)(2,arguments);var n=(0,r.Z)(e),s=(0,i.Z)(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(s),n)}},615526:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}};e.exports=t.default},558036:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};t.default=function(e,t,i){var r,o=n[e];if(r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=i&&i.addSuffix)return i.comparison&&i.comparison>0?"in "+r:r+" ago";return r},e.exports=t.default},105723:function(e,t,n){var i=n(340378),r=n(333655)(i);e.exports=r},907524:function(e,t,n){var i=n(294089),r=n(431356);e.exports=function(e,t,n){var o=t(e);return r(e)?o:i(o,n(e))}},472458:function(e,t,n){var i=n(557012),r=n(325146),o=n(993902),s=n(728377),a=n(331109),l=n(98795);e.exports=function(e,t,n){var c=-1,u=r,h=e.length,d=!0,f=[],p=f;if(n)d=!1,u=o;else if(h>=200){var g=t?null:a(e);if(g)return l(g);d=!1,u=s,p=new i}else p=t?[]:f;t:for(;++ct.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 b=c.UX.PREFIX,y=e=>{let{fieldSet:t}=e,n=(0,p.Z)(),i=t.map(e=>u.U2(n.errors,e));return(0,l.JY)(i)?null:o.createElement(h.Z,{error:i,showValidateIcon:e.showValidateIcon,isInInputGroup:e.isInInputGroup})};class C extends o.Component{renderLabel(e,t){if(e)return r()(e)?o.createElement(d.Z,{width:t.labelWidth,text:e}):o.createElement(d.Z,Object.assign({width:t.labelWidth},e));return null}render(){let e;let t=this.props,{children:n,label:i,extraText:r,extraTextPosition:s}=t,l=v(t,["children","label","extraText","extraTextPosition"]),c=this.context.getFormProps(["labelPosition","labelWidth","labelAlign","showValidateIcon","wrapperCol","labelCol","disabled"]),u=this.props.labelPosition||c.labelPosition,h=[],d=o.Children.map(n,e=>e&&e.props&&e.props.field?(h.push(e.props.field),o.cloneElement(e,{isInInputGroup:!0})):null),f=a()({[`${b}-field-group`]:!0}),p=c.labelCol,C=c.wrapperCol,_=c.labelAlign,x=p&&C,w=p?`${b}-col-${_}`:"",S=this.renderLabel(i,c),E=o.createElement(g.Z,Object.assign({disabled:c.disabled},l),d),A=o.createElement(y,{fieldSet:h,showValidateIcon:c.showValidateIcon,isInInputGroup:!0}),k=a()(`${b}-field-extra`,{[`${b}-field-extra-string`]:"string"==typeof r,[`${b}-field-extra-middle`]:"middle"===s,[`${b}-field-extra-bottom`]:"bottom"===s}),I=r?o.createElement("div",{className:k,"x-semi-prop":"extraText"},r):null;switch(!0){case!x:e=o.createElement(o.Fragment,null,S,o.createElement("div",null,"middle"===s?I:null,E,"bottom"===s?I:null,A));break;case x&&"top"===u:e=o.createElement(o.Fragment,null,o.createElement("div",{style:{overflow:"hidden"}},o.createElement(m.Z,Object.assign({},p,{className:w}),S)),o.createElement(m.Z,Object.assign({},C),"middle"===s?I:null,E,"bottom"===s?I:null,A));break;case x&&"top"!==u:e=o.createElement(o.Fragment,null,o.createElement(m.Z,Object.assign({},p,{className:w}),S),o.createElement(m.Z,Object.assign({},C),"middle"===s?I:null,E,"bottom"===s?I:null,A))}return o.createElement("div",{"x-label-pos":u,className:f},e)}}C.contextType=f.kn,C.defaultProps={extraTextPosition:"bottom"},t.Z=C},431023:function(e,t,n){"use strict";n(932651);var i=n(812958),r=n.n(i),o=n(243392),s=n.n(o),a=n(22186),l=n.n(a),c=n(101199),u=n(469935),h=n.n(u),d=n(413868),f=n(844949),p=n(612601),g=n(492839),m=n(662801),v=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 b=d.UX.PREFIX;t.Z=e=>{let t,n,i,o,a;let u="top";try{let e=(0,c.useContext)(g.kn).getFormProps(["labelPosition","labelWidth","labelAlign","labelCol","wrapperCol"]);t=e.labelCol,n=e.wrapperCol,i=e.labelWidth,o=e.labelAlign,u=e.labelPosition?e.labelPosition:u}catch(e){}e.labelPosition&&(u=e.labelPosition);let{children:d,label:y,className:C,style:_,error:x,noLabel:w}=e;v(e,["children","label","className","style","error","noLabel"]);let S=t&&n,E=h()({[`${b}-field`]:!0,[`${b}-slot`]:!0},C),A=h()({[`${b}-col-${o}`]:!0});switch(!0){case r()(y)&&!c.isValidElement(y):break;case l()(y)||s()(y):case c.isValidElement(y):y={text:y}}let k=null;{let e={};switch(!0){case r()(x)&&!c.isValidElement(x):e=x;break;case l()(x)||s()(x):case c.isValidElement(x):e={error:x}}k=c.createElement(m.Z,Object.assign({},e))}let I=Object.assign({align:o,width:i},y),O=h()({[`${b}-field-main`]:!0,[`${b}-slot-main`]:!0});switch(!0){case!S&&!w:a=c.createElement(c.Fragment,null,c.createElement(f.Z,Object.assign({},I)),c.createElement("div",{className:O},d,k));break;case!S&&w:a=c.createElement(c.Fragment,null,c.createElement("div",{className:O},d,k));break;case S&&"top"===u:a=c.createElement(c.Fragment,null,c.createElement("div",{style:{overflow:"hidden"}},c.createElement(p.Z,Object.assign({},t,{className:A}),c.createElement(f.Z,Object.assign({},I)))),c.createElement(p.Z,null,d,k));break;case S&&"top"!==u:a=c.createElement(c.Fragment,null,c.createElement(p.Z,Object.assign({},t,{className:A}),c.createElement(f.Z,Object.assign({},I))),c.createElement(p.Z,null,d,k))}return c.createElement("div",{className:E,"x-label-pos":u,style:_},a)}},833958:function(e,t,n){"use strict";n(932651);var i=n(795233),r=n.n(i),o=n(101199),s=n(622689),a=n.n(s),l=n(245897),c=n(426337),u=n(680093),h=n(67495),d=n(469935),f=n.n(d),p=n(100578);class g extends c.Z{get adapter(){return Object.assign(Object.assign({},super.adapter),{setNativeControlChecked:e=>{this.setState({checked:e})},notifyChange:e=>{this.props.onChange(e)}})}componentDidMount(){this.foundation.init()}componentDidUpdate(e){e.checked!==this.props.checked&&this.foundation.setChecked(this.props.checked)}componentWillUnmount(){this.foundation.destroy()}blur(){this.inputEntity.blur()}focus(){let{preventScroll:e}=this.props;this.inputEntity.focus({preventScroll:e})}onChange(e){this.foundation.handleChange(e)}render(){let{disabled:e,mode:t,autoFocus:n,name:i,isButtonRadio:r,isPureCardRadioGroup:s,addonId:a,extraId:l,"aria-label":c,focusInner:h,onInputFocus:d,onInputBlur:g}=this.props,{checked:m}=this.state,v=this.props.prefixCls||u.Gv.PREFIX,b=f()({[`${v}-inner`]:!0,[`${v}-inner-checked`]:!!m,[`${v}-inner-buttonRadio`]:r,[`${v}-inner-pureCardRadio`]:s}),y=f()({[`${v}-focus`]:h,[`${v}-focus-border`]:h&&!m,[`${v}-inner-display`]:!r});return o.createElement("span",{className:b},o.createElement("input",{ref:e=>{this.inputEntity=e},autoFocus:n,type:"advanced"===t?"checkbox":"radio",checked:!!m,disabled:e,onChange:this.onChange,name:i,"aria-label":c,"aria-labelledby":a,"aria-describedby":l,onFocus:d,onBlur:g}),o.createElement("span",{className:y},m?o.createElement(p.Z,null):null))}constructor(e){super(e),this.state={checked:!1},this.foundation=new l.Z(this.adapter),this.onChange=this.onChange.bind(this)}}g.contextType=h.Z,g.propTypes={checked:a().bool,disabled:a().bool,isButtonRadio:a().bool,onChange:a().func,mode:a().oneOf(["advanced",""]),"aria-label":a().string,focusInner:a().bool,onInputFocus:a().func,onInputBlur:a().func,preventScroll:a().bool},g.defaultProps={onChange:r(),isButtonRadio:!1},t.Z=g},571446:function(e,t,n){"use strict";n.d(t,{Z:function(){return function e(t){if(t){let n=[];return a.Children.forEach(t,t=>{if(a.isValidElement(t)&&(t.type===l.Z||"Column"===s()(t,"type.elementType"))){let i=r()(t.props,["children"]);Array.isArray(t.props.children)&&t.props.children.length&&(i.children=e(t.props.children)),n.push(Object.assign({key:t.key},i))}}),n}return[]}}}),n(374954),n(932651);var i=n(285406),r=n.n(i),o=n(198412),s=n.n(o),a=n(101199),l=n(63245)},37827:function(e,t,n){"use strict";let i,r;n.d(t,{OG:function(){return b},Vv:function(){return _},kg:function(){return C},mC:function(){return x},xM:function(){return y}}),n(932651),n(374954);var o=n(236514),s=n.n(o),a=n(260611),l=n.n(a),c=n(497860),u=n.n(c),h=n(869014),d=n.n(h),f=n(979542),p=n(278766),g=n(678503),m=n(553827);let v={position:"absolute",top:"-9999px",width:"50px",height:"50px"};function b(e){return"number"==typeof e?e-p.KT.DEFAULT_CELL_PADDING_LEFT-p.KT.DEFAULT_CELL_PADDING_RIGHT-p.KT.DEFAULT_CELL_BORDER_WIDTH_LEFT-p.KT.DEFAULT_CELL_BORDER_WIDTH_RIGHT-function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"vertical";if("undefined"==typeof document||"undefined"==typeof window)return 0;let t="vertical"===e;if(t&&i)return i;if(!t&&r)return r;let n=document.createElement("div");Object.keys(v).forEach(e=>{n.style[e]=v[e]}),t?n.style.overflowY="scroll":n.style.overflowX="scroll",document.body.appendChild(n);let o=0;return t?i=o=n.offsetWidth-n.clientWidth:r=o=n.offsetHeight-n.clientHeight,document.body.removeChild(n),o}("vertical"):void 0}function y(e,t){return d()({},{table:"table",header:{outer:"table",wrapper:"thead",row:"tr",cell:"th"},body:t?{outer:"div",wrapper:"div",row:"div",cell:"div",colgroup:{wrapper:"div",col:"div"}}:{outer:"table",wrapper:"tbody",row:"tr",cell:"td",colgroup:{wrapper:"colgroup",col:"col"}},footer:{wrapper:"tfoot",row:"tr",cell:"td"}},e)}let C=new f.Z("[@douyinfe/semi-ui Table]");function _(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=!(arguments.length>3)||void 0===arguments[3]||arguments[3],r=[],o=i?g.Xh:u();return s()(t,t=>{t=Object.assign({},t);let i=(0,m.ai)(t,n),s=null!=i&&l()(e,e=>(0,m.ai)(e,n)===i);s?r.push(o(Object.assign(Object.assign({},s),t))):r.push(o(t))}),r}function x(e){switch(e){case p.j2.SORT_DIRECTIONS["0"]:return p.j2.SORT_DIRECTIONS["1"];case p.j2.SORT_DIRECTIONS["1"]:return"cancelSort";default:return p.j2.SORT_DIRECTIONS["0"]}}},219627:function(e,t,n){"use strict";n(932651);var i=n(795233),r=n.n(i),o=n(101199),s=n(469935),a=n.n(s),l=n(622689),c=n.n(l),u=n(230720),h=n(90340),d=n(428924),f=n(426337),p=n(158871),g=n(709544),m=n(953847),v=n(279426),b=n(724409),y=n(170651),C=n(678503);let _=d.UX.PREFIX;class x extends f.Z{get adapter(){return Object.assign(Object.assign({},super.adapter),{notifyWrapperToRemove:e=>{this.props.close(e)},notifyClose:()=>{this.props.onClose()}})}componentDidMount(){this.foundation.init()}componentWillUnmount(){this.foundation.destroy()}close(e){this.foundation.close(e)}renderIcon(){let{type:e,icon:t}=this.props,n={warning:o.createElement(g.Z,null),success:o.createElement(m.Z,null),info:o.createElement(v.Z,null),error:o.createElement(b.Z,null)}[e],i="large",r=a()(`${_}-icon`,`${_}-icon-${e}`);return t?(0,C.ID)(t)?o.cloneElement(t,{size:i,className:`${_}-icon`}):t:e&&n?o.cloneElement(n,{size:i,className:r}):null}render(){let{content:e,type:t,theme:n,showClose:i,textMaxWidth:r,className:s,style:l}=this.props,c=this.props.direction||this.context.direction,u=a()(_,s,{[`${_}-${t}`]:!0,[`${_}-${n}`]:"light"===n,[`${_}-rtl`]:"rtl"===c}),h={};h.maxWidth=r;let d=this.props.positionInList?this.props.positionInList.length-this.props.positionInList.index-1:0,f=o.createElement("div",{ref:this.toastEle,role:"alert","aria-label":`${t||"default"} type`,className:u,style:Object.assign(Object.assign({},l),{transform:`translate3d(0,0,${-10*d}px)`}),onMouseEnter:this.clearCloseTimer,onMouseLeave:this.startCloseTimer,onAnimationStart:this.props.onAnimationStart,onAnimationEnd:this.props.onAnimationEnd},o.createElement("div",{className:`${_}-content`},this.renderIcon(),o.createElement("span",{className:`${_}-content-text`,style:h,"x-semi-prop":"content"},e),i&&o.createElement("div",{className:`${_}-close-button`},o.createElement(p.Z,{onClick:e=>this.close(e),type:"tertiary",icon:o.createElement(y.Z,{"x-semi-prop":"icon"}),theme:"borderless",size:"small"}))));if(!this.props.stack)return f;{let e=this.props.stackExpanded&&this.toastEle.current&&getComputedStyle(this.toastEle.current).height||0;return o.createElement("div",{className:`${_}-zero-height-wrapper`,style:{height:e}},f)}}constructor(e){super(e),this.toastEle=o.createRef(),this.clearCloseTimer=()=>{this.foundation.clearCloseTimer_()},this.startCloseTimer=()=>{this.foundation.startCloseTimer_()},this.restartCloseTimer=()=>{this.foundation.restartCloseTimer()},this.state={},this.foundation=new h.Z(this.adapter)}}x.contextType=u.Z,x.propTypes={onClose:c().func,content:c().node,close:c().func,duration:c().number,theme:c().oneOf(d.j2.themes),type:c().oneOf(d.j2.types),textMaxWidth:c().oneOfType([c().string,c().number]),style:c().object,className:c().string,showClose:c().bool,stack:c().bool,stackExpanded:c().bool,icon:c().node,direction:c().oneOf(d.j2.directions)},x.__SemiComponentName__="Toast",x.defaultProps=(0,C.GW)(x.__SemiComponentName__,{onClose:r(),content:"",close:r(),duration:d.KT.duration,textMaxWidth:450,showClose:!0,stack:!1,stackExpanded:!1,theme:"normal"}),t.Z=x},220442:function(e,t,n){"use strict";n.d(t,{y:function(){return i.y}});var i=n(262126)},125471:function(e,t,n){"use strict";n.d(t,{P:function(){return r},b:function(){return o}});var i=n(480333);class r{set(e,t){this[`_${e}`]=t}start(e){this[`_${e}Start`]=Date.now()}end(e){this[`_${e}End`]=Date.now(),this[`_${e}Cost`]=this[`_${e}Cost`]+(this[`_${e}End`]-this[`_${e}Start`])}get transferCost(){return{ttfbCost:this._ttfb,demuxCost:this._demuxCost,remuxCost:this._remuxCost,appendCost:this._appendCost}}constructor(){(0,i._)(this,"_ttfb",0),(0,i._)(this,"_demuxStart",0),(0,i._)(this,"_demuxEnd",0),(0,i._)(this,"_demuxCost",0),(0,i._)(this,"_remuxStart",0),(0,i._)(this,"_remuxEnd",0),(0,i._)(this,"_remuxCost",0),(0,i._)(this,"_appendStart",0),(0,i._)(this,"_appendEnd",0),(0,i._)(this,"_appendCost",0)}}let o={TTFB:"ttfb",DEMUX:"demux",REMUX:"remux",APPEND:"append"}},70401:function(e,t,n){"use strict";n.d(t,{G:function(){return c}});var i=n(480333),r=n(629686),o=n(141773),s=n(34768),a=n(773897),l=n(603846);class c extends o.v{init(e){if(this._media=e,e.addEventListener("timeupdate",this.handleTimeupdate),e.autoplay){let t=()=>{e.removeEventListener("canplay",t),e.play().catch(()=>{null==e||e.dispatchEvent(new CustomEvent(l.c.AUTOPLAY_WAS_PREVENTED,{}))})};e.addEventListener("canplay",t)}this.initPlugins()}initPlugins(){let{plugins:e}=this.config;e&&(this.plugins=e.map(e=>new e(this))),this.plugins.forEach(e=>{e.afterPlayerInit()})}playBy(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{url:n}=t;this.updateProtoConfig(t),this.emit(s.Zo.URLCHANGE,{url:n}),this._onSwitchURL(t.url),null===(e=this.media)||void 0===e||e.dispatchEvent(new CustomEvent("loadstart",{}))}updateProtoConfig(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,a.i)((0,r._)({},this.config,e));return this.config=t,t}reset(){this.destroy()}get src(){var e;return null===(e=this._media)||void 0===e?void 0:e.src}get buffered(){var e;return null===(e=this.media)||void 0===e?void 0:e.buffered}get currentTime(){var e;return null===(e=this.media)||void 0===e?void 0:e.currentTime}get duration(){var e;return null===(e=this.media)||void 0===e?void 0:e.duration}get media(){return this._media}get speed(){var e;return null===(e=this.media)||void 0===e?void 0:e.playbackRate}set speed(e){this.speed!==e&&(this.media.playbackRate=e)}get bufferLength(){let{currentTime:e=0,buffered:t}=this._media||{};if(!t)return 0;for(let n=0;n=e)return(i-e)*1e3}return 0}play(){var e;return null===(e=this._media)||void 0===e?void 0:e.play()}constructor(e,t){super(),(0,i._)(this,"_media",null),(0,i._)(this,"config",{}),(0,i._)(this,"plugins",[]),(0,i._)(this,"destroy",()=>{var e;this.removeAllListeners(),null===(e=this._media)||void 0===e||e.removeEventListener("timeupdate",this.handleTimeupdate),this.plugins.forEach(e=>{e.destroy()})}),(0,i._)(this,"_onSwitchURL",e=>{var t;this._media&&(this._media.src=e,(null===(t=this.config)||void 0===t?void 0:t.keepStatusAfterSwitch)&&this._keepPauseStatus())}),(0,i._)(this,"_keepPauseStatus",()=>{var e,t;if(!(null===(e=this._media)||void 0===e?void 0:e.paused))return;let n=()=>{var e,t;null===(e=this.media)||void 0===e||e.removeEventListener("canplay",n),null===(t=this._media)||void 0===t||t.pause()};null===(t=this.media)||void 0===t||t.addEventListener("canplay",n)}),(0,i._)(this,"handleTimeupdate",()=>{let e=this.bufferLength;1.1===this.speed?e<=1800&&(this.speed=1):1===this.speed&&e>=2500&&(this.speed=1.1)}),this.config=this.updateProtoConfig(t),this.init(e)}}},455195:function(e,t,n){"use strict";n.d(t,{Eo:function(){return r},Qc:function(){return a},f6:function(){return c},gJ:function(){return s},je:function(){return l},lp:function(){return o}}),n(480333),n(190932),n(808483),n(126159),n(100832),n(825666),n(943281),n(82726),n(591964),n(374954),n(527553),n(414931);var i=n(495312);function r(e){let{loadModuleError:t,lowVideoDecodeCnt:n,workerDisableCnt:r}=i.T.getWebCodecStates();return"undefined"!=typeof MediaStreamTrackGenerator&&"undefined"!=typeof VideoDecoder&&"undefined"!=typeof AudioDecoder&&"undefined"!=typeof EncodedVideoChunk&&"undefined"!=typeof EncodedAudioChunk&&"undefined"!=typeof AudioContext&&!t&&n<((null==e?void 0:e.limitLowVideoDecodeCnt)||Number.MAX_VALUE)&&r<((null==e?void 0:e.limitWorkerDisableCnt)||Number.MAX_VALUE)}function o(){let{preWorkerReady:e}=i.T.getWebCodecStates();return e}function s(){for(var e=arguments.length,t=Array(e),n=0;ne+t.byteLength,0)),r=0;return t.forEach(e=>{i.set(e,r),r+=e.byteLength}),i}function a(e){if(!Array.isArray(e)){let t=[],n="";for(let i=0;iparseInt(e,16))}function l(){try{return parseInt(`${performance.now()}`,10)}catch(e){return new Date().getTime()}}function c(){return Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15)}n(469561)},899983:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n(490629),n(932651);var i=n(856445);class r extends i.Z{initActiveKey(){let{defaultActiveKey:e,activeKey:t,accordion:n}=this.getProps(),i=t||e;return(n&&(i=Array.isArray(i)?i[0]:i),i&&i.length)?i=Array.isArray(i)?i:[i]:[]}handleChange(e,t){let{activeKey:n,accordion:i}=this.getProps(),{activeSet:r}=this.getStates(),o=new Set(r);o.has(e)?o.delete(e):i?o=new Set([e]):o.add(e),this._adapter.handleChange([...o.values()],t),void 0===n&&this._adapter.addActiveKey(o)}constructor(e){super(Object.assign({},e))}}},793545:function(e,t,n){"use strict";n(932651),n(76375);var i=n(856445),r=n(829840);class o extends i.Z{constructor(e){super(Object.assign({},e)),this.handleChangeH=(e,t)=>{let n=Object.assign(Object.assign({},e.hsva),{h:t}),i=(0,r.MA)(n),o=(0,r.A)(n),s={rgba:i,hsva:n,hex:o};this._adapter.notifyChange(s),!this.getProp("value")&&this._adapter.setState({currentColor:s})},this.handleChangeA=(e,t)=>{let n=this._adapter.getProp("alpha");!n&&(t=1);let i=Object.assign(Object.assign({},e.rgba),{a:t}),o=(0,r.s)(i);e={rgba:i,hex:n?o:o.slice(0,7),hsva:Object.assign(Object.assign({},e.hsva),{a:t})},this._adapter.notifyChange(e),!this.getProp("value")&&this._adapter.setState({currentColor:e})},this.getCurrentColor=()=>{let e=this.getProp("value"),t=this.getState("currentColor");return e||t},this.handleChange=(e,t)=>{let n;if("hsva"===t)n={hsva:e,rgba:o.hsvaToRgba(e),hex:o.hsvaToHex(e)};else if("rgba"===t)n={rgba:e,hsva:o.rgbaToHsva(e),hex:o.rgbaToHex(e)};else if("hex"===t)n={hex:e,hsva:o.hexToHsva(e),rgba:o.hexToRgba(e)};else throw Error("format error");this._adapter.notifyChange(n),!this.getProp("value")&&this._adapter.setState({currentColor:n})},this.handleAlphaChangeByHandle=e=>{this.handleChangeA(this.getCurrentColor(),e.a)},this.handleColorChangeByHandle=e=>{this.handleChangeH(this.getCurrentColor(),e.h)},this.getHandlePositionByHSVA=(e,t,n)=>{let{width:i,height:r}=t,o={x:e.s/100*i,y:(1-e.v/100)*r};return{x:o.x-n/2,y:o.y-n/2}},this.getHandlePositionByMousePosition=(e,t,n)=>{let{width:i,height:r}=t;return e.x>i||e.x<0||e.y>r||e.y<0?null:{x:e.x-n/2,y:e.y-n/2}},this.getAlphaHandlePositionByMousePosition=(e,t,n)=>e<0||e>t?null:e-n/2,this.getColorHandlePositionByMousePosition=(e,t,n)=>e<0||e>t?null:e-n/2}}o.hsvaToRgba=r.MA,o.rgbaToHsva=r.S7,o.rgbaToHex=r.s,o.hsvaToHex=r.A,o.hexToRgba=r.a7,o.hexToHsva=r.HW,o.hsvaToHslaString=r.Gg,o.hsvaToHslString=r.ZI,o.rgbaStringToHsva=r.QU,o.rgbaStringToRgba=r.fT,t.Z=o},646073:function(e,t,n){"use strict";function i(e){let t,n,i,r;let{inputValue:o="",rangeSeparator:s,type:a}=e,l={monthLeft:{dateInput:"",timeInput:""},monthRight:{dateInput:"",timeInput:""}};switch(a){case"date":case"month":case"monthRange":l.monthLeft.dateInput=o;break;case"dateRange":[t="",i=""]=o.split(s),l.monthLeft.dateInput=t,l.monthRight.dateInput=i;break;case"dateTime":[t="",n=""]=o.split(" "),l.monthLeft.dateInput=t,l.monthLeft.timeInput=n;break;case"dateTimeRange":let[c="",u=""]=o.split(s);[t="",n=""]=c.split(" "),[i="",r=""]=u.split(" "),l.monthLeft.dateInput=t,l.monthLeft.timeInput=n,l.monthRight.dateInput=i,l.monthRight.timeInput=r}return l}n.d(t,{Z:function(){return i}}),n(490629),n(228983),n(759943)},590608:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}}),n(374954),n(490629),n(706056),n(932651);var i=n(198412),r=n.n(i),o=n(856445),s=n(116183),a=n(318330),l=n(109841);class c extends o.Z{static getZeroParentKeys(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=[];for(var n=arguments.length,i=Array(n>1?n-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"itemKey";if(Array.isArray(t)&&t.length)for(let o of t)if(Array.isArray(o))c.buildItemKeysMap(o,n,[...i],r);else{let t;if(o&&"object"==typeof o&&(t=o[r]||o.props&&o.props[r]),t){n[t]=[...i];let s=null===(e=o.props)||void 0===e?void 0:e.children;if(Array.isArray(o.items)&&o.items.length)c.buildItemKeysMap(o.items,n,[...i,t],r);else if(s){let e=Array.isArray(s)?s:[s];c.buildItemKeysMap(e,n,[...i,t],r)}}}return n}init(e){let{defaultSelectedKeys:t,selectedKeys:n}=this.getProps(),i=n||t||[],{itemKeysMap:r,willOpenKeys:o,formattedItems:s}=this.getCalcState(),a=this.selectLevelZeroParentKeys(r,i);if(i=i.concat(a),"constructor"===e)return{selectedKeys:i,itemKeysMap:r,openKeys:o,items:s};this._adapter.updateSelectedKeys(i,!1),this._adapter.setItemKeysMap(r),this._adapter.updateOpenKeys(o),this._adapter.updateItems(s),this._adapter.setItemsChanged(!0)}getCalcState(){let{itemKeysMap:e,formattedItems:t}=this.getFormattedItems(),n=this.getWillOpenKeys(e);return{itemKeysMap:e,willOpenKeys:n,formattedItems:t}}getFormattedItems(){let{items:e,children:t}=this.getProps(),n=this.formatItems(e),i=Array.isArray(e)&&e.length?n:t;return{itemKeysMap:c.buildItemKeysMap(i),formattedItems:n}}getWillOpenKeys(e){let{defaultOpenKeys:t,openKeys:n,defaultSelectedKeys:i,selectedKeys:r,mode:o}=this.getProps(),{openKeys:s=[]}=this.getStates(),l=n||t||[];if(!(Array.isArray(t)||Array.isArray(n))&&o===a.j2.MODE_VERTICAL&&(Array.isArray(i)||Array.isArray(r))){let t=Array.isArray(r)?r:i;l=Array.from(new Set(l=s.concat(this.getShouldOpenKeys(e,t))))}return[...l]}getShouldOpenKeys(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=new Set;return Array.isArray(t)&&t.length&&t.forEach(t=>{if(t){let i=r()(e,t);Array.isArray(i)&&i.forEach(e=>n.add(e))}}),[...n]}destroy(){}selectLevelZeroParentKeys(e,t){let n=(0,l.Z)(e)?this.getState("itemKeysMap"):e,i=[];if(t.length){for(let e of t)if(Array.isArray(n[e])&&n[e].length){let t=n[e][0];!(0,l.Z)(t)&&i.push(t)}}return i.length?i:[]}formatItems(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[];for(let n of e)t.push(new s.Z(n));return t}handleSelect(e){this._adapter.notifySelect(e)}judgeIfOpen(e,t){let n=!1,i=Array.isArray(e)?e:e&&[e];if(i&&Array.isArray(t)&&t.length){for(let e of t)if(n=i.includes(e.itemKey)||this.judgeIfOpen(i,e.items))break}return n}handleCollapseChange(){let e=!this.getState("isCollapsed");!this._isControlledComponent("isCollapsed")&&this._adapter.setIsCollapsed(e),this._adapter.notifyCollapseChange(e)}handleItemsChange(e){this._adapter.setItemsChanged(e)}constructor(e){super(Object.assign({},e))}}},10334:function(e,t,n){"use strict";n(490629),n(932651);var i=n(856445),r=n(192231);class o extends i.Z{init(){let{currentPage:e,total:t,pageSize:n}=this.getStates();this._updateDisabled({currentPage:e,total:t,pageSize:n}),this._updatePageList({currentPage:e,total:t,pageSize:n}),this._registerEventHandler()}destroy(){this._unregisterEventHandler()}_registerEventHandler(){this._adapter.registerKeyDownHandler(this.handleKeyDown)}_unregisterEventHandler(){this._adapter.unregisterKeyDownHandler(this.handleKeyDown)}_updateDisabled(e){let{currentPage:t,total:n,pageSize:i}=e,r=this._getTotalPageNumber(n,i),o=!1,s=!1;1===t?(o=!0,s=r<2):t===r&&(o=!1,s=!0),this._adapter.setDisabled(o,s)}goPage(e){if("..."===e)return;let{pageSize:t,currentPage:n}=this.getStates(),i=this._isInProps("currentPage");if(e!==n)i||this.updatePage(e),this._adapter.notifyPageChange(e),this._adapter.notifyChange(e,t)}updatePage(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;null==t&&(t=this.getState("total")),null==n&&(n=this.getState("pageSize")),this._updateDisabled({currentPage:e,total:t,pageSize:n}),this._updatePageList({currentPage:e,total:t,pageSize:n}),this._adapter.updateTotal(t),this._adapter.setCurrentPage(e),this._adapter.updatePageSize(n)}updateAllPageNumbers(e,t){let{size:n,hoverShowPageSelect:i,disabled:r}=this.getProps();if("small"===n&&!!i&&!r){let n=Array.from({length:Math.ceil(e/t)},(e,t)=>t+1);this._adapter.updateAllPageNumbers(n)}}goPrev(){let{currentPage:e}=this.getStates();e>1&&this.goPage(e-1)}goNext(){let{currentPage:e,total:t,pageSize:n}=this.getStates();e<=this._getTotalPageNumber(t,n)-1&&this.goPage(e+1)}_updatePageList(e){let{currentPage:t,total:n,pageSize:i}=e,o=[],s=[],a=[],l=this._getTotalPageNumber(n,i),{PAGE_SHOW_MAX:c,REST_PAGE_MAX_SIZE:u}=r.KT;if(l<=c)o=Array.from({length:l},(e,t)=>t+1),s=[],a=[];else switch(!0){case t<4:o=[1,2,3,4,"...",l-1,l],a=Array.from({length:Math.min(l-6,u)},(e,t)=>t+5),s=[];break;case 4===t:o=[1,2,3,4,5,"...",l],a=Array.from({length:Math.min(l-6,u)},(e,t)=>t+6),s=[];break;case 4t+(n-1)),"...",l),a=Array.from({length:Math.min(l-t-2,u)},(e,n)=>t+n+2),s=Array.from({length:Math.min(t-3,u)},(e,t)=>t+2);break;case t-3<=t&&t<=l:let h=Array.from({length:5},(e,t)=>l-(4-t));o=[1,"..."].concat(h),a=[],s=Array.from({length:Math.min(h[0]-2,u)},(e,t)=>t+2)}this._adapter.setPageList({pageList:o,restLeftPageList:s,restRightPageList:a})}changePageSize(e){let{pageSize:t}=this.getStates();this._adapter.updatePageSize(e),this._adapter.notifyPageSizeChange(e);let{total:n,currentPage:i}=this.getStates(),r=Math.ceil(((i-1)*t+1)/e);this.updatePage(r,n,e),i!==r&&this._adapter.notifyPageChange(r),this._adapter.notifyChange(r,e)}handleKeyDown(){}pageSizeInOpts(){let{pageSizeOpts:e}=this.getProps(),{pageSize:t}=this.getStates(),n=[...e];if(-1===n.indexOf(t)){let e=n.findIndex(e=>e>t);n.splice(e,0,t)}return n}handleQuickJumpNumberChange(e){this._adapter.updateQuickJumpPage(e)}_handleQuickJump(e){let t=Number(e),{pageSize:n,total:i}=this.getStates(),r=this._getTotalPageNumber(i,n);if(!Number.isNaN(t))t>r&&(t=r),t<=0&&(t=1),this._adapter.updateQuickJumpPage(""),this.goPage(t)}handleQuickJumpBlur(){let{quickJumpPage:e}=this.getStates();("string"==typeof e&&e||"number"==typeof e)&&this._handleQuickJump(e)}handleQuickJumpEnterPress(e){this._handleQuickJump(e)}_getTotalPageNumber(e,t){return Math.ceil(e/t)}constructor(e){super(Object.assign({},e))}}t.Z=o},51050:function(e,t,n){"use strict";n.d(t,{v:function(){return r}}),n(117232),n(490629),n(228983),n(759943),n(527553),n(414931),n(374954),n(14275),n(683656);var i=n(508187);function r(e,t,n){try{let r=function(e,t,n){if(e.sort((e,t)=>e.percent-t.percent),e[0].percent>t)return i.j.STROKE_DEFAULT;let r=e[e.length-1];if(r.percentr.percent)continue;let a=e[i-1];if(!n)return o(a.color);return function(e,t){let{startColor:n,endColor:i,size:r}=e,o=n.split(""),a=i.split(""),l=[parseInt(`${o[1]}${o[2]}`,16),parseInt(`${a[1]}${a[2]}`,16)],c=[parseInt(`${o[3]}${o[4]}`,16),parseInt(`${a[3]}${a[4]}`,16)],u=[parseInt(`${o[5]}${o[6]}`,16),parseInt(`${a[5]}${a[6]}`,16)],h=[parseInt(`${o[7]}${o[8]}`,16),parseInt(`${a[7]}${a[8]}`,16)],d=(l[0]-l[1])/(r+1),f=(c[0]-c[1])/(r+1),p=(u[0]-u[1])/(r+1),g=(h[0]-h[1])/(r+1);function m(e){let t=Math.round(l[0]-d*(e+1)).toString(16),n=Math.round(c[0]-f*(e+1)).toString(16),i=Math.round(u[0]-p*(e+1)).toString(16),r=`${v(t)}${v(n)}${v(i)}`,o=Math.floor(g*(e+1)+h[1]).toString(16);return s.Hex(`#${r}`,o)}function v(e){return 1===e.length?`0${e}`:0===e.length?"00":e}if(void 0===t){let e=[n];for(let t=0;t8===(e=e.replace("#","")).length?`#${e}`:6===e.length?`#${e}${t||"ff"}`:(3===e.length&&(e=e.split("").map(e=>e+e).join("")),`#${e}${t||"ff"}`),SemiDesignToken(e){if("undefined"==typeof window)return;let t=getComputedStyle(document.body).getPropertyValue(`--semi-${e}`);if(""===t)return;let n=`rgba(${t}, 1)`;return s.RgbA(n)},HslA(e){let t=a.hslA.exec(e),n=parseInt(t[2]),i=parseInt(t[3])/100,r=parseInt(t[4])/100,o=t[5],l=(1-Math.abs(2*r-1))*i,c=l*(1-Math.abs(n/60%2-1)),u=r-l/2,h=0,d=0,f=0;return 0<=n&&n<60?(h=l,d=c,f=0):60<=n&&n<120?(h=c,d=l,f=0):120<=n&&n<180?(h=0,d=l,f=c):180<=n&&n<240?(h=0,d=c,f=l):240<=n&&n<300?(h=c,d=0,f=l):300<=n&&n<360&&(h=l,d=0,f=c),h=Math.round((h+u)*255).toString(16),d=Math.round((d+u)*255).toString(16),f=Math.round((f+u)*255).toString(16),s.utils.pAL(h,d,f,o)},RgbA(e){let t=a.rgbA.exec(e),n=parseInt(t[2],10).toString(16),i=parseInt(t[3],10).toString(16),r=parseInt(t[4],10).toString(16),o=t[5];return s.utils.pAL(n,i,r,o)},utils:{pAL:(e,t,n,i)=>(1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),void 0!==i)?(1==(i=Math.round(255*parseInt(i)).toString(16)).length&&(i="0"+i),"#"+e+t+n+i):"#"+e+t+n}},a={hex:/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,hslA:/(hsl)a?\(\s*?(\d+),?\s*?(\d+)%,?\s*?(\d+)%,?\s*?\/?(\s*?[\d.]+)?\s*?\)/,rgbA:/(rgb)a?\(\s*?(\d+),?\s*?(\d+),?\s*?(\d+),?\s*?\/?(\s*?[\d.]+)?\s*?\)/,semiDesignTokens:/(\w+)?-?(\w+)-?(\d)?/},l={ALONG:["black","white"],SEQUENCE:["amber","blue","cyan","green","grey","indigo","light-blue","light-green","lime","orange","pink","purple","red","teal","violet","yellow"]}},423340:function(e,t,n){"use strict";n.d(t,{Sn:function(){return l},TQ:function(){return a},qY:function(){return c}}),n(932651),n(490629),n(559561),n(780582),n(14275),n(759943);var i=n(350856),r=n.n(i),o=n(104167),s=n(856445);class a extends s.Z{init(){this._adapter.registerEvents()}destroy(){this._adapter.unregisterEvents()}constructor(e){super(Object.assign({},e))}}class l extends s.Z{init(){}destroy(){}constructor(e){super(Object.assign({},e))}}class c extends s.Z{get groupRef(){return this._adapter.getGroupRef()}get groupSize(){let{direction:e}=this.getProps();return"horizontal"===e?this.groupRef.offsetWidth:this.groupRef.offsetHeight}init(){this.direction=this.getProp("direction"),this.itemMinusMap=new Map,this.itemPercentMap=new Map,this.initSpace()}get window(){var e;return null!==(e=this.groupRef.ownerDocument.defaultView)&&void 0!==e?e:null}destroy(){}constructor(e){super(Object.assign({},e)),this.registerEvents=()=>{this._adapter.registerEvents(this.type)},this.unregisterEvents=()=>{this._adapter.unregisterEvents(this.type)},this.onResizeStart=(e,t,n)=>{let i,r;this.type=n;let{clientX:s,clientY:a}=t,l=this._adapter.getItem(e),c=this._adapter.getItem(e+1),u=this.window.getComputedStyle(l),h=this.window.getComputedStyle(c);i=(0,o.os)(u,this.direction)+this.itemMinusMap.get(e),r=(0,o.os)(h,this.direction)+this.itemMinusMap.get(e+1);let d=("horizontal"===this.direction?l.offsetWidth:l.offsetHeight)+this.itemMinusMap.get(e),f=("horizontal"===this.direction?c.offsetWidth:c.offsetHeight)+this.itemMinusMap.get(e+1),p=this.getStates();this.setState({isResizing:!0,originalPosition:{x:s,y:a,lastItemSize:d,nextItemSize:f,lastOffset:i,nextOffset:r},backgroundStyle:Object.assign(Object.assign({},p.backgroundStyle),{cursor:this.window.getComputedStyle(t.target).cursor||"auto"}),curHandler:e}),this.registerEvents();let g=this._adapter.getItemStart(e),m=this._adapter.getItemStart(e+1),[v,b]=(0,o.fl)(this.direction);g&&g(t,v),m&&m(t,b)},this.onMouseMove=e=>{this.onResizing(e)},this.onTouchMove=e=>{e.preventDefault(),this.onResizing(e)},this.onResizing=e=>{let t=this.getStates();if(!t.isResizing)return;let{curHandler:n,originalPosition:i}=t,{x:r,y:s,lastItemSize:a,nextItemSize:l,lastOffset:c,nextOffset:u}=i,{clientX:h,clientY:d}="mouse"===this.type?e:e.targetTouches[0],{direction:f}=this.getProps(),p=this._adapter.getItem(n),g=this._adapter.getItem(n+1),m=this.groupSize,v="horizontal"===f?h-r:d-s,b=a+v,y=l-v,C=(0,o.kQ)(b,this._adapter.getItemMin(n),this._adapter.getItemMax(n),m,c),_=(0,o.kQ)(y,this._adapter.getItemMin(n+1),this._adapter.getItemMax(n+1),m,u);C&&(y=a+l-(b=(0,o.Bl)(b,this._adapter.getItemMin(n),this._adapter.getItemMax(n),m,c))),_&&(b=a+l-(y=(0,o.Bl)(y,this._adapter.getItemMin(n+1),this._adapter.getItemMax(n+1),m,u)));let x=this.itemPercentMap.get(n),w=this.itemPercentMap.get(n+1),S=b/m*100,E=x+w-S;this.itemPercentMap.set(n,S),this.itemPercentMap.set(n+1,E),"horizontal"===f?(p.style.width=`calc(${S}% - ${this.itemMinusMap.get(n)}px)`,g.style.width=`calc(${E}% - ${this.itemMinusMap.get(n+1)}px)`):"vertical"===f&&(p.style.height=`calc(${S}% - ${this.itemMinusMap.get(n)}px)`,g.style.height=`calc(${E}% - ${this.itemMinusMap.get(n+1)}px)`);let A=this._adapter.getItemChange(n),k=this._adapter.getItemChange(n+1),[I,O]=(0,o.fl)(this.direction);A&&A({width:p.offsetWidth,height:p.offsetHeight},e,I),k&&k({width:g.offsetWidth,height:g.offsetHeight},e,O)},this.onResizeEnd=e=>{let{curHandler:t}=this.getStates(),n=this._adapter.getItem(t),i=this._adapter.getItem(t+1),r=this._adapter.getItemEnd(t),s=this._adapter.getItemEnd(t+1),[a,l]=(0,o.fl)(this.direction);r&&r({width:n.offsetWidth,height:n.offsetHeight},e,a),s&&s({width:i.offsetWidth,height:i.offsetHeight},e,l),this.setState({isResizing:!1,curHandler:null}),this.unregisterEvents()},this.initSpace=()=>{let{direction:e}=this.getProps(),t=Array(this._adapter.getHandlerCount()).fill(0),n=this.groupSize;this.totalMinus=0;for(let n=0;n100&&(a=10),r.forEach((t,n)=>{let i=this._adapter.getItem(n),r=t/s*a;this.itemPercentMap.set(n,r),"horizontal"===e?i.style.width=`calc(${r}% - ${this.itemMinusMap.get(n)}px)`:i.style.height=`calc(${r}% - ${this.itemMinusMap.get(n)}px)`})},this.ensureConstraint=r()(()=>{let{direction:e}=this.getProps(),t=this._adapter.getItemCount(),n=!0;for(let i=0;i(0,o.jsx)("svg",(0,r._)((0,i._)({xmlns:"http://www.w3.org/2000/svg",width:33,height:32,fill:"none",viewBox:"0 0 33 32"},e),{children:(0,o.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M10.142 13.75a4 4 0 0 0 4-4v-1.5h-2v1.5a2 2 0 0 1-2 2h-1.5v2h1.5Zm13.5 0a4 4 0 0 1-4-4v-1.5h2v1.5a2 2 0 0 0 2 2h1.5v2h-1.5Zm-9.5 8.5a4 4 0 0 0-4-4h-1.5v2h1.5a2 2 0 0 1 2 2v1.5h2v-1.5Zm9.5-4a4 4 0 0 0-4 4v1.5h2v-1.5a2 2 0 0 1 2-2h1.5v-2h-1.5Z",clipRule:"evenodd"})}))},374371:function(e,t,n){"use strict";n(679308),n.e("36049").then(n.bind(n,801923)),n.e("36049").then(n.bind(n,522573)),n.e("36049").then(n.bind(n,735608)),n.e("36049").then(n.bind(n,825710)),n.e("36049").then(n.bind(n,671195)),n.e("36049").then(n.bind(n,66425)),n.e("36049").then(n.bind(n,787831)),n.e("36049").then(n.bind(n,595980)),n.e("36049").then(n.bind(n,619619)),n.e("36049").then(n.bind(n,138440)),n.e("36049").then(n.bind(n,915669)),n.e("36049").then(n.bind(n,571508)),n.e("36049").then(n.bind(n,869275)),n.e("36049").then(n.bind(n,26604)),n.e("36049").then(n.bind(n,415134)),n.e("36049").then(n.bind(n,945173)),n.e("36049").then(n.bind(n,621401)),n.e("36049").then(n.bind(n,695755)),n.e("36049").then(n.bind(n,526317)),n.e("36049").then(n.bind(n,530266)),n.e("36049").then(n.bind(n,586441)),n.e("36049").then(n.bind(n,983190)),n.e("36049").then(n.bind(n,304495)),n.e("36049").then(n.bind(n,310443)),n.e("36049").then(n.bind(n,105345)),n.e("36049").then(n.bind(n,180388)),n.e("36049").then(n.bind(n,766903)),n.e("36049").then(n.bind(n,364759)),n.e("36049").then(n.bind(n,631214)),n.e("36049").then(n.bind(n,24913)),n.e("36049").then(n.bind(n,893933)),n.e("36049").then(n.bind(n,140939)),n.e("36049").then(n.bind(n,524491)),n.e("36049").then(n.bind(n,315659)),n.e("36049").then(n.bind(n,51600)),n.e("36049").then(n.bind(n,522030)),n.e("36049").then(n.bind(n,865525)),n.e("36049").then(n.bind(n,593870)),n.e("36049").then(n.bind(n,130289)),n.e("36049").then(n.bind(n,497409)),n.e("36049").then(n.bind(n,631056)),n.e("36049").then(n.bind(n,588386)),n.e("36049").then(n.bind(n,93458)),n.e("36049").then(n.bind(n,225479)),n.e("36049").then(n.bind(n,769591)),n.e("36049").then(n.bind(n,124653))},334803:function(e,t,n){"use strict";n(679308),n.e("49447").then(n.bind(n,522573)),n.e("49447").then(n.bind(n,735608)),n.e("49447").then(n.bind(n,825710)),n.e("49447").then(n.bind(n,671195)),n.e("49447").then(n.bind(n,66425)),n.e("49447").then(n.bind(n,787831)),n.e("49447").then(n.bind(n,595980)),n.e("49447").then(n.bind(n,619619)),n.e("49447").then(n.bind(n,138440)),n.e("49447").then(n.bind(n,915669)),n.e("49447").then(n.bind(n,571508)),n.e("49447").then(n.bind(n,869275)),n.e("49447").then(n.bind(n,26604)),n.e("49447").then(n.bind(n,415134)),n.e("49447").then(n.bind(n,945173)),n.e("49447").then(n.bind(n,621401)),n.e("49447").then(n.bind(n,695755)),n.e("49447").then(n.bind(n,526317)),n.e("49447").then(n.bind(n,530266)),n.e("49447").then(n.bind(n,586441)),n.e("49447").then(n.bind(n,983190)),n.e("49447").then(n.bind(n,304495)),n.e("49447").then(n.bind(n,310443)),n.e("49447").then(n.bind(n,105345)),n.e("49447").then(n.bind(n,180388)),n.e("49447").then(n.bind(n,766903)),n.e("49447").then(n.bind(n,364759)),n.e("49447").then(n.bind(n,631214)),n.e("49447").then(n.bind(n,24913)),n.e("49447").then(n.bind(n,893933)),n.e("49447").then(n.bind(n,140939)),n.e("49447").then(n.bind(n,524491)),n.e("49447").then(n.bind(n,315659)),n.e("49447").then(n.bind(n,51600)),n.e("49447").then(n.bind(n,522030)),n.e("49447").then(n.bind(n,865525)),n.e("49447").then(n.bind(n,593870)),n.e("49447").then(n.bind(n,130289)),n.e("49447").then(n.bind(n,497409)),n.e("49447").then(n.bind(n,631056)),n.e("49447").then(n.bind(n,588386)),n.e("49447").then(n.bind(n,93458)),n.e("49447").then(n.bind(n,225479)),n.e("49447").then(n.bind(n,769591)),n.e("49447").then(n.bind(n,124653)),n.e("49447").then(n.bind(n,570150))},198128:function(e,t,n){"use strict";n.d(t,{r:function(){return r}});var i=n(27543);class r extends i.R{constructor(e,t){super(),this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:e=>this.replacement=e},this.enter=e,this.leave=t}visit(e,t,n,i){if(e){let r;if(this.enter){let r=this.should_skip,o=this.should_remove,s=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,e,t,n,i),this.replacement&&(e=this.replacement,this.replace(t,n,i,e)),this.should_remove&&this.remove(t,n,i);let a=this.should_skip,l=this.should_remove;if(this.should_skip=r,this.should_remove=o,this.replacement=s,a)return e;if(l)return null}for(r in e){let t=e[r];if(t&&"object"==typeof t){if(Array.isArray(t))for(let n=0;n{let{pathname:t,search:n,timestamp:i,type:r,intersection:o=0}=e;return JSON.stringify({pathname:t,search:n,timestamp:i,type:r,intersection:"initial"===r?0:o})},r=e=>encodeURIComponent(JSON.stringify({pathname:e.pathname,search:e.search,type:e.type,intersection:e.intersection}))},440755:function(e,t,n){"use strict";n.d(t,{u:function(){return l}}),n(490629),n(374954);var i=n(353833),r=n(239501),o=n(711924),s=n(391257),a=i.S&&1/(0,i.s)(new i.S([,-0]))[1]==1/0?function(e){return new i.S(e)}:s.n;function l(e,t){return e&&e.length?function(e,t,n){var s=-1,l=o.b,c=e.length,u=!0,h=[],d=h;if(c>=200){var f=t?null:a(e);if(f)return(0,i.s)(f);u=!1,l=r.f,d=new r.S}else d=t?[]:h;t:for(;++s0&&void 0!==arguments[0]?arguments[0]:{};try{let{to:t}=e;if(t)return(0,i.f)({to:t}).then(e=>{Promise.all(e.map(e=>n.e(e)))}).catch(e=>{})}catch(e){}}},196155:function(e,t,n){"use strict";n.d(t,{K:function(){return r},W:function(){return o}}),n(679308);let i=Object.getPrototypeOf(r).constructor;async function r(e,t){return new i(String(e))(t)}function o(e,t){return Function(String(e))(t)}}}]);