2 lines
113 KiB
Plaintext
2 lines
113 KiB
Plaintext
/*! For license information please see 32063.dae7036b.js.LICENSE.txt */
|
|
!function(e,t){"object"==typeof module&&"object"==typeof module.exports?t():"function"==typeof define&&define.amd?define([],t):(e="undefined"!=typeof globalThis?globalThis:e||self)&&t()}(this,function(){"use strict";"object"==typeof window&&(window.openRedirect={version:"1.2.20",webpackPluginVersion:"3.4.22",reportOnly:!1})}),!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).xss={})}(this,function(e){"use strict";var t=function(){return(t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function n(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}var r=/[^a-zA-Z0-9\\_:.-]/gim,i=/</g,o=/>/g,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,d=/u\s*r\s*l\s*\(.*/gi,f=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,h=/"/g,p=function(e){return e.replace(i,"<").replace(o,">")},g={indexOf:function(e,t){var n,r;for(n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return -1},forEach:function(e,t,n){var r,i;for(r=0,i=e.length;r<i;r++)t.call(n,e[r],r,e)},some:function(e,t,n){var r,i;for(r=0,i=e.length;r<i;r++)if(t.call(n,e[r],r,e))return!0;return!1},trim:function(e){return e.replace(/(^\s*)|(\s*$)/g,"")},includes:function(e,t){if("string"==typeof e)return -1!==e.indexOf(t);for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1},spaceIndex:function(e){var t=/\s|\n|\t/.exec(e);return t?t.index:-1},uniq:function(e){for(var t={},n=[],r=0;r<e.length;r++)t[e[r]]||(n.push(e[r]),t[e[r]]=!0);return n},from:function(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n]);return t},keys:function(e){var t=[];for(var n in e)t.push(n);return t}};function y(e){return null==e}function m(e){var t;return'"'===(t=e)[0]&&'"'===t[t.length-1]||"'"===t[0]&&"'"===t[t.length-1]?e.substr(1,e.length-2):e}function b(e){var t,n,r,i,o,s,a,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c="",u=0;for(e=function(e){e=e.replace(/rn/g,"n");for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r>127&&r<2048?t+=String.fromCharCode(r>>6|192)+String.fromCharCode(63&r|128):t+=String.fromCharCode(r>>12|224)+String.fromCharCode(r>>6&63|128)+String.fromCharCode(63&r|128)}return t}(e);u<e.length;)i=(t=e.charCodeAt(u++))>>2,o=(3&t)<<4|(n=e.charCodeAt(u++))>>4,s=(15&n)<<2|(r=e.charCodeAt(u++))>>6,a=63&r,isNaN(n)?s=a=64:isNaN(r)&&(a=64),c=c+l.charAt(i)+l.charAt(o)+l.charAt(s)+l.charAt(a);return c}function w(e){var t,n,r,i,o,s,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="",c=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");c<e.length;)t=a.indexOf(e.charAt(c++))<<2|(i=a.indexOf(e.charAt(c++)))>>4,n=(15&i)<<4|(o=a.indexOf(e.charAt(c++)))>>2,r=(3&o)<<6|(s=a.indexOf(e.charAt(c++))),l+=String.fromCharCode(t),64!==o&&(l+=String.fromCharCode(n)),64!==s&&(l+=String.fromCharCode(r));return function(e){for(var t="",n=0,r=0,i=0,o=0;n<e.length;)(r=e.charCodeAt(n))<128?(t+=String.fromCharCode(r),n++):r>191&&r<224?(t+=String.fromCharCode((31&r)<<6|63&(o=e.charCodeAt(n+1))),n+=2):(o=e.charCodeAt(n+1),t+=String.fromCharCode((15&r)<<12|(63&o)<<6|63&(i=e.charCodeAt(n+2))),n+=3);return t}(l)}function v(e,t,n){var r="",i=0,o=!1,s=!1,a=0,l=e.length,c="",u="";e:for(a=0;a<l;a++){var d=e.charAt(a);if(!1===o){if("<"===d){o=a;continue}}else if(!1===s){if("<"===d){r+=n(e.slice(i,a)),o=a,i=a;continue}if(">"===d||a===l-1){r+=n(e.slice(i,o)),c=function(e){var t,n=g.spaceIndex(e);return t=-1===n?e.slice(1,-1):e.slice(1,n+1),"/"===(t=g.trim(t).toLowerCase()).slice(0,1)&&(t=t.slice(1)),"/"===t.slice(-1)&&(t=t.slice(0,-1)),t}(u=e.slice(o,a+1)),r+=t(o,r.length,c,u,"</"===u.slice(0,2)),i=a+1,o=!1;continue}if('"'===d||"'"===d)for(var f=1,h=e.charAt(a-f);""===h.trim()||"="===h;){if("="===h){s=d;continue e}h=e.charAt(a-++f)}}else if(d===s){s=!1;continue}}return i<l&&(r+=n(e.substr(i))),r}function E(e,t){var n=0,i=0,o=[],s=!1,a=e.length;function l(e,n){if(!((e=(e=g.trim(e)).replace(r,"").toLowerCase()).length<1)){var i=t(e,n||"");i&&o.push(i)}}for(var c=0;c<a;c++){var u=e.charAt(c),d=void 0;if(!1!==s||"="!==u){if(!1===s||c!==i){if(/\s|\n|\t/.test(u)){if(e=e.replace(/\s|\n|\t/g," "),!1===s){if(-1===(d=function(e,t){for(;t<e.length;t++){var n=e[t];if(" "!==n)return"="===n?t:-1}return -1}(e,c))){l(g.trim(e.slice(n,c))),s=!1,n=c+1;continue}c=d-1;continue}if(-1===(d=function(e,t){for(;t>0;t--){var n=e[t];if(" "!==n)return"="===n?t:-1}return -1}(e,c-1))){l(s,m(g.trim(e.slice(n,c)))),s=!1,n=c+1;continue}}}else{if(-1===(d=e.indexOf(u,c+1)))break;l(s,g.trim(e.slice(i+1,d))),s=!1,n=(c=d)+1}}else s=e.slice(n,c),n=c+1,i='"'===e.charAt(n)||"'"===e.charAt(n)?n:function(e,t){for(;t<e.length;t++){var n=e[t];if(" "!==n)return"'"===n||'"'===n?t:-1}return -1}(e,c+1)}return n<e.length&&(!1===s?l(e.slice(n)):l(s,m(g.trim(e.slice(n))))),g.trim(o.join(" "))}function S(e,t,n){if(n=function(e){return e=function(e){for(var t="",n=0,r=e.length;n<r;n++)t+=32>e.charCodeAt(n)?" ":e.charAt(n);return g.trim(t)}(e=(e=(e=e.replace(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&&(f.lastIndex=0,f.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(h,"""))}(n)}var _=function(e){return"string"==typeof e?e.replace(/'/g,'"').replace('=""',"").replace(/\s+/g,"").toLowerCase():""},A=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=S,t.escapeHtml=p,this.options=Object.assign(t,e)}return e.prototype.process=function(e){if(!(e=(e=e||"").toString()))return"";var t,n,r,i,o,s,a=this.options,l=a.whiteList,c=a.onTag,u=a.onIgnoreTag,d=a.onTagAttr,f=a.onIgnoreTagAttr,h=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<e.length;){var r=e.indexOf("\x3c!--",n);if(-1===r){t+=e.slice(n);break}t+=e.slice(n,r);var i=e.indexOf("--\x3e",r);if(-1===i)break;n=i+3}return t}(e));var y=!1;a.stripIgnoreTagBody&&(n=a.stripIgnoreTagBody,"function"!=typeof(r=u)&&(r=function(){}),i=!Array.isArray(n),o=[],s=!1,u=(y={onIgnoreTag:function(e,t,a){var l;if(l=e,i||-1!==g.indexOf(n,l)){if(a.isClosing){var c="[/removed]",u=a.position+c.length;return o.push([!1!==s?s:a.position,u]),s=!1,c}return s||(s=a.position),"[removed]"}return r(e,t,a)},remove:function(e){var t="",n=0;return g.forEach(o,function(r){t+=e.slice(n,r[0]),n=r[1]}),t+=e.slice(n)}}).onIgnoreTag);var m=v(e,function(e,t,n,r,i){var o={sourcePosition:e,position:t,isClosing:i,isWhite:Object.prototype.hasOwnProperty.call(l,n)},s=c(n,r,o);if(null!=s)return s;if(o.isWhite){if(o.isClosing)return"</".concat(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}}(r),y=l[n],m=E(a.html,function(e,t){var r=-1!==g.indexOf(y,e),i=d(n,e,t,r);return null==i?r?(t=h(n,e,t,null))?"".concat(e,'="').concat(t,'"'):e:null==(i=f(n,e,t,r))?void 0:i:i});return r="<".concat(n),m&&(r+=" ".concat(m)),a.closing&&(r+=" /"),r+=">"}return null==(s=u(n,r,o))?p(r):s},p);return y&&(m=y.remove(m)),m},e}(),R=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")(),C=new(function(){function e(){var e=this;this.batchData=[],this.uniqKeys=new Set,this.timeout=2e3,this.lock=!1,this.getSlardarBid=function(){var t,n,r="douyin_web";if(!g.includes(r,"bid"))return r;if(e.config&&e.config.bid)return e.config.bid;if(R&&R._xssBid)return R._xssBid;if(R&&R.slardar&&"function"==typeof R.slardar.config){var i=(R.slardar.config()||{}).bid;if(i)return i}if(R&&R.Slardar&&"function"==typeof R.Slardar.config){var o=(R.Slardar.config()||{}).bid;if(o)return o}return(null===(n=null===(t=null==R?void 0:R.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==R?void 0:R.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),R.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(R.fetch&&e.collectKey){var n="object"==typeof window?window.location.href:"SSR";e.documentUrl=n;var r={age:Math.floor(Date.now()),type:"xss",url:n,body:e,"user-agent":""};"enforce"===e.disposition&&"SSR"!==n||(r.url=t),"SSR"===n&&(r.url="SSR___".concat(r.url),r.body.ssr=!0),this.push(r)}},e}()),O=function(e){for(var t=0,n=function(n){Array.isArray(e[n])?0===e[n].length?delete e[n]:(e[n]=g.from(g.uniq(e[n])),t+=e[n].length):0===g.keys(e[n]).length?delete e[n]:g.keys(e[n]).forEach(function(r){e[n][r]=g.from(g.uniq(e[n][r])),t+=e[n][r].length})},r=0,i=g.keys(e);r<i.length;r++)n(i[r]);return{count:t,ret:e}};function x(e,t){return C.setConfig(t),new A(t).process(e)}function T(e){var t,n=(t=/\s|\n|\t/.exec(e))?t.index:-1;if(-1===n)return{html:"",closing:"/"===e[e.length-2]};var r="/"===(e=e.slice(n+1,-1).trim())[e.length-1];return r&&(e=e.slice(0,-1).trim()),{html:e,closing:r}}var I=function(e){return -1===(e=(e=(e=(e=e.replace(/:/gi,":")).replace(/&tab;/gi,"")).replace(/&newline;/gi,"")).replace(/(\t|\n|\r)/g,"")).indexOf("&#")?e.trim().toLowerCase():e.trim().replace(/&#(?:(x)([0-9a-f]+)|([0-9]+));?/gi,function(e,t,n,r){return String.fromCharCode(t?parseInt(n,16):parseInt(r))}).replace(/(\t|\n|\r)/g,"").toLowerCase()};function L(e,t){if(void 0===e&&(e=""),"string"!=typeof e)return!0;if(e=I(e),g.includes(e,"base64")&&!function(e){if(""===e||""===e.trim())return!0;try{return!g.includes(e,"data:text/html;base64")}catch(e){return!0}}(e))return t&&t("data:text/html;base64"),!1;var n=["expression(","behavior:","view-source:"];if(g.some(n,function(t){return -1!==e.indexOf(t)}))return g.forEach(n,function(n){-1!==e.indexOf(n)&&t&&t(n)}),!1;var r=["data:application","data:javascript","data:text/html","data:texthtml"];if(g.some(r,function(t){return -1!==e.indexOf(t)}))return g.forEach(r,function(n){-1!==e.indexOf(n)&&t&&t(n)}),!1;if(e.indexOf("javascript:")>0)return t&&t("javascript:"),!1;if(/^javascript:/i.test(e)){var i=e.slice(11).replace(/\s/g,"").trim();return!!g.some(["void","void(0)","void0","false","undefined",";"],function(e){return e===i})||(t&&t("javascript:"),!1)}return!0}var N=function(e,t){var n,r,i="<%= isSaveValidUrl =>";if("string"!=typeof e||(r=Number("<%= urlLimit =>"),void 0!==n&&(r=n),"NaN"!==e.toString()&&-1!==r&&e.length>=r)||L(e,t))return e;try{if(!0===(i=JSON.parse(i))||"true"===i){var o=new URL(e);return o.origin+o.pathname}}catch(e){}return"#"};function k(e,t,r){if(void 0===e&&(e=""),void 0===t&&(t=[]),"string"!=typeof e)return!0;if(!L(e=I(e)))return!1;var i,o={url:(i=e.match(/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/)||[])[0],scheme:i[1],slash:i[2],host:i[3],port:i[4],path:i[5],query:i[6],hash:i[7]},s=o.scheme,a=o.host;return r?!!r(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 j={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:[]},D={collect:null,initCollect:function(){this.collect={whiteList:{},filterProtocol:[]}},removeCollect:function(){var e=O(this.collect),t=e.count,n=e.ret;return this.collect=null,{collectKey:0===t?null:JSON.stringify(n),collectMode:"white"}},onIgnoreTagAttr:function(e,t,r){return e&&g.indexOf(["href","src"],t)>-1?D.domainWhiteList&&Array.isArray(D.domainWhiteList)&&D.domainWhiteList.length>0&&!k(r,n([],D.domainWhiteList,!0))?"":"".concat(t,'="').concat(N(r,function(e){var t;null===(t=D.collect)||void 0===t||t.filterProtocol.push(e)}),'"'):e&&(g.indexOf(["style","class","id"],t)>-1||t.indexOf("data-")>-1)?"".concat(t,'="').concat(r,'"'):(D.collect.whiteList[e]=D.collect.whiteList[e]||[],void D.collect.whiteList[e].push(t))},onIgnoreTag:function(e,t){if("style"===e)return t;v(t,function(e,t,n,r){E(T(r).html.replace("/",""),function(e){D.collect.whiteList[n]=D.collect.whiteList[n]||[],D.collect.whiteList[n].push(e)})},p)},whiteList:j,mergeWhiteList:function(e){for(var t,n={},r=0,i=g.keys(j);r<i.length;r++)n[t=i[r]]=g.from(j[t]);for(var o=0,s=g.keys(e);o<s.length;o++)n[t=s[o]]=t in j?j[t].concat(e[t]):g.from(e[t]);return n},setWhiteList:function(e){for(var t=0,n=g.keys(e);t<n.length;t++){var r=n[t];this.whiteList[r]=r in j?j[r].concat(e[r]):g.from(e[r])}}};try{var P={},B="merge";g.includes(B,"override")&&(D.whiteList=P.whiteList),g.includes(B,"merge")&&D.setWhiteList(P.whiteList)}catch(e){}var U=function(e,t){for(var n={},r=0,i=g.keys(e);r<i.length;r++){var o=i[r];Array.isArray(e[o])?n[o]=g.from(e[o]):n[o]=U({},e[o])}for(var s=0,a=g.keys(t);s<a.length;s++)(o=a[s])in e?Array.isArray(e[o])?n[o]=e[o].concat(t[o]):n[o]=U(e[o],t[o]):Array.isArray(t[o])?n[o]=g.from(t[o]):n[o]=U({},t[o]);return n},M={blackList:{a:["folder"],meta:["content"],iframe:["srcdoc"],input:["pattern"],vmlframe:["xmlns"]},blackTags:["script","xml","embed","isindex","object","base","set","handler","animate","payload","import"],blackAttrs:["charset","ns","namespace","formaction","xlink:href","xmlns:xlink","handler","repeat","repeat-start","repeat-end"],blackAttrRegExps:[/^on/],filterList:{param:["value"],video:["poster"],form:["action"]},filterAttrs:["href","src","background","style","dynsrc","lowsrc","content"]};try{var F={};F.blackAttrRegExps&&(F.blackAttrRegExps=F.blackAttrRegExps.map(function(e){return new RegExp(e.toString().slice(1,e.toString().length-1))}));var K="merge";g.includes(K,"override")&&(M=F),g.includes(K,"merge")&&(M=U(M,F))}catch(e){}var W={mode:"black",whiteList:{},blackConfig:M,collect:null,initCollect:function(){W.collect={blackList:{},blackTags:[],blackAttrs:[],blackAttrRegExps:[],filterAttrs:[],filterList:{},filterProtocol:[]}},removeCollect:function(){var e=O(W.collect),t=e.count,n=e.ret;return W.collect=null,{collectKey:0===t?null:JSON.stringify(n),collectMode:"black"}},onIgnoreTag:function(e,t){var n;if(!g.includes(M.blackTags,e))return v(t,function(e,t,n,r,i){if(-1!==n.indexOf("/"))return p(r);if(i)return"</".concat(n,">");var o=T(r),s=E(o.html,function(e,t){var r,i=0;if(M.blackList[n]&&g.includes(M.blackList[n],e)&&(W.collect.blackList[n]=W.collect.blackList[n]||[],W.collect.blackList[n].push(e),i++),M.blackAttrRegExps.length&&M.blackAttrRegExps.some(function(t){return t.test(e)})&&g.forEach(M.blackAttrRegExps,function(t){t.test(e)&&(W.collect.blackAttrRegExps.push("".concat(t.toString(),"->").concat(e)),i++)}),M.blackAttrs.length&&g.includes(M.blackAttrs,e)&&(M.blackAttrs.push(e),i++),!i){if(M.filterList&&M.filterList[n]&&g.includes(M.filterList[n],e)){var o=N(t,function(e){var t;null===(t=W.collect)||void 0===t||t.filterProtocol.push(e)});return o!==t&&(W.collect.filterList[n]=W.collect.filterList[n]||[],W.collect.filterList[n].push(e)),t?"".concat(e,"='").concat(o,"'"):e}return M.filterAttrs&&g.includes(M.filterAttrs,e)?((o=N(t,function(e){var t;null===(t=W.collect)||void 0===t||t.filterProtocol.push(e)}))!==t&&(null===(r=W.collect)||void 0===r||r.filterAttrs.push(e)),t?"".concat(e,"='").concat(o,"'"):e):t?"".concat(e,"='").concat(t,"'"):e}});return r="<".concat(n),s&&(r+=" ".concat(s)),o.closing&&(r+=" /"),r+=">"},p);null===(n=W.collect)||void 0===n||n.blackTags.push(e)}},Z=function(e){var t=e.reportOnly,n=void 0===t||t,r=e.block;return n&&"all"===n?"report":("string"==typeof n&&("true"===n&&(n=!0),"false"===n&&(n=!1)),r?"enforce":n?"report":"enforce")},$=function(e){return function(n,r,i){if(!n||"string"!=typeof n)return n;var o=r;e===x&&(o=D).initCollect();var s=e(n,o);if(_(s)===_(n))return n;if(!i)return s;var a=i.logType,l=Z(i),c=o.removeCollect();return C.report(t(t({type:a,disposition:l},c),{sourceText:b(n),filterText:b(s)})),"enforce"===l?s:n}},H=$(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 A(t).process(e)}),z=$(x),G=function(e,t,n){var r=[],i=N(e,function(e){r.push(e)});if(i===e)return e;r=g.from(g.uniq(r));var o=t||n||{};if(!o)return i;var s=o.logType,a=Z(n);return C.report({type:s,disposition:a,collectKey:r.join("___"),collectData:JSON.stringify(r),collectMode:"black",sourceText:b(e),filterText:b(i)}),"enforce"===a?i:e},V=R._xssProject||{},Y=R.xssNamespace||{},X="3.0.26",J={FilterXSS:A,version:X,webpackPluginVersion:"<%= webpackPluginVersion =>",reportOnly:"<%= reportOnly =>",filterXSS:H,_filterXSS:z,filterUrl:G,Config:D,BlackConfig:W,project:V,setProjectName:function(e){V[e]=this,R._xssProjectName=e}};Y.douyin_web=J,R.xssNamespace=Y,R.Math&&!R.Math.xssNamespace&&(R.Math.xssNamespace=Y),V[X]=J,R.globalThis=R,R.getFilterXss=function(){return void 0!==this._xssProjectName?this._xssProject[this._xssProjectName]:J},R.xss=J,R.isSafeUrl=k,R.isSafeDomain=k,R.isSafeProtocol=L,R._xssProject=V,R._xssProjectName&&(V[R._xssProjectName]=J);var q=J.setProjectName.bind(J);e.BlackConfig=W,e.Config=D,e.FilterXSS=A,e._filterXSS=z,e.filterUrl=G,e.filterXSS=H,e.isSafeDomain=k,e.isSafeProtocol=L,e.isSafeUrl=k,e.project=V,e.setProjectName=q,e.setXssNamespace=function(e){var t=e.appId,n=e.bid,r=e.region;Y[t]=J;D.bid=n,D.region=r,D.enabled=!0},e.xssNamespace=Y,Object.defineProperty(e,"__esModule",{value:!0})}),(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["32063"],{534569:function(e,t,n){"use strict";n.d(t,{Ef:function(){return o},P7:function(){return r},eH:function(){return i}});var r='\n<!DOCTYPE html>\n<html lang="en" style="overflow: hidden;">\n<head>\n <meta charset="UTF-8">\n <meta name="viewport" content="width=device-width, initial-scale=1.0">\n <title>警告</title>\n</head>\n<body style="margin: 0; padding: 0; height: 100vh; display: flex; justify-content: center; align-items: center; text-align: center; color: #fff; background: #333;">\n 当前页面地址不符合安全策略\n</body>\n</html>\n',i='\n<!DOCTYPE html>\n<html lang="en" style="overflow: hidden;">\n<head>\n <meta charset="UTF-8">\n <meta name="viewport" content="width=device-width, initial-scale=1.0">\n <title>提示</title>\n</head>\n<body style="margin: 0; padding: 0; height: 100vh; display: flex; justify-content: center; align-items: center; text-align: center; color: #fff; background: #333;">\n 加载失败,请稍后重试\n</body>\n</html>\n',o='\n<!DOCTYPE html>\n<html lang="en" style="overflow: hidden;">\n<head>\n <meta charset="UTF-8">\n <meta name="viewport" content="width=device-width, initial-scale=1.0">\n <title>提示</title>\n</head>\n<body style="margin: 0; padding: 0; height: 100vh; display: flex; justify-content: center; align-items: center; text-align: center; color: #fff; background: #333;">\n 加载失败,请前往手机端查看\n</body>\n</html>\n'},42251:function(e,t,n){"use strict";n.d(t,{I:function(){return d},O:function(){return c}});let r=/ANGLE\s+\((?:[^,]+,\s+)?([^,/]+)?(?:[^,]*)(?:[,\s]+)(Direct\S+|OpenGL[\d.\s]+)/,i=/ANGLE\s+\((?:[^,]+,\s+)?([^,]+)?(?:[,\s]+)(Direct\S+|OpenGL[\d.\s]+)/,o=/ANGLE\s+\((?:[^,]+,\s+)?(?:[^:]+:\s+)?([^,]+)?(?:[,\s]+)(Direct\S+|OpenGL[\d.\s]+)?/,s="OpenGL Engine",a="Unknow";var l,c=((l=c||{}).CpuDeriver="CpuDeriver",l.Intel="Intel",l.Nvidia="NVIDIA",l.Amd="AMD",l.Apple="Apple",l.Adreno="Adreno",l[l.Unknow=a]="Unknow",l);function u(e){return"NVIDIA"===e?4318:"AMD"===e?4098:"Intel"===e?32902:0}function d(e){let t=function(e){let t=/(SwiftShader|Intel|NVIDIA|AMD|Radeon|Apple|Adreno)/.exec(e);return t?"Radeon"===t[0]?"AMD":"SwiftShader"===t[0]?"CpuDeriver":t[0]:c.Unknow}(e);if(t===c.Unknow||"CpuDeriver"===t)return{vendor:t,vendorId:0,model:e,backupModel:e,api:a};if(/^ANGLE/.test(e)){var n,l;let c,d,f,h;return n=t,l=e,d=a,f=a,h=a,("Intel"===n||"NVIDIA"===n)&&(c=r.exec(l)),("AMD"===n||"Adreno"===n)&&(c=i.exec(l)),"Apple"===n&&(c=o.exec(l)),(null==c?void 0:c[1])&&(d=c[1].replace(/(AMD|NVIDIA)/,"").trim()),(null==c?void 0:c[2])&&(h=c[2].trim()),d=d.split("(0x00")[0].trim(),f="Intel"===n?d=d.split(s)[0].trim():d.split(s)[0].trim(),{vendor:n,vendorId:u(n),model:d,backupModel:f,api:h}}return"Intel"===t?{vendor:t,vendorId:u(t),model:e.split(s)[0].trim(),backupModel:e.split(s)[0].trim(),api:a}:{vendor:t,vendorId:u(t),model:e.replace(/(AMD|NVIDIA)/,"").trim(),backupModel:e.split(s)[0].replace(/(AMD|NVIDIA)/,"").trim(),api:a}}},388910:function(e,t,n){"use strict";function r(e){let t={};for(let n in e){if(!!Object.prototype.hasOwnProperty.call(e,n))t[n]="number"==typeof e[n]?e[n]:e[n].val}return t}n.d(t,{Z:function(){return r}})},949868:function(e,t,n){"use strict";var r;let i=n(282802),o=n(473268),s="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=l;t.INSPECT_MAX_BYTES=50;l.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),!l.TYPED_ARRAY_SUPPORT&&"undefined"!=typeof console&&console.error;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return d(e)}return c(e,t,n)}function c(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!l.isEncoding(t))throw TypeError("Unknown encoding: "+t);let n=0|g(e,t),r=a(n),i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(U(e,Uint8Array)){let t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(U(e,ArrayBuffer)||e&&U(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(U(e,SharedArrayBuffer)||e&&U(e.buffer,SharedArrayBuffer)))return h(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return l.from(r,t,n);let i=function(e){if(l.isBuffer(e)){let t=0|p(e.length),n=a(t);return 0===n.length?n:(e.copy(n,0,0,t),n)}if(void 0!==e.length)return"number"!=typeof e.length||M(e.length)?a(0):f(e);if("Buffer"===e.type&&Array.isArray(e.data))return f(e.data)}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array);function d(e){return u(e),a(e<0?0:0|p(e))}l.alloc=function(e,t,n){var r,i,o;return r=e,i=t,o=n,(u(r),r<=0)?a(r):void 0!==i?"string"==typeof o?a(r).fill(i,o):a(r).fill(i):a(r)},l.allocUnsafe=function(e){return d(e)},l.allocUnsafeSlow=function(e){return d(e)};function f(e){let t=e.length<0?0:0|p(e.length),n=a(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function h(e,t,n){let r;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),l.prototype),r}function p(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+"7fffffff bytes");return 0|e}function g(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||U(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return D(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return P(e).length;default:if(i)return r?-1:D(e).length;t=(""+t).toLowerCase(),i=!0}}function y(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0))return"";for(!e&&(e="utf8");;)switch(e){case"hex":return function(e,t,n){let r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i="";for(let r=t;r<n;++r)i+=F[e[r]];return i}(this,t,n);case"utf8":case"utf-8":return v(this,t,n);case"ascii":return function(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}(this,t,n);case"latin1":case"binary":return function(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}(this,t,n);case"base64":return function(e,t,n){return 0===t&&n===e.length?i.fromByteArray(e):i.fromByteArray(e.slice(t,n))}(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,n){let r=e.slice(t,n),i="";for(let e=0;e<r.length-1;e+=2)i+=String.fromCharCode(r[e]+256*r[e+1]);return i}(this,t,n);default:if(r)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function m(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}function b(e,t,n,r,i){if(0===e.length)return -1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),function(e){return e!=e}(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return -1;n=e.length-1}else if(n<0){if(!i)return -1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:w(e,t,n,r,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)return i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n);return w(e,[t],n,r,i)}throw TypeError("val must be string, number or Buffer")}function w(e,t,n,r,i){let o,s=1,a=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;s=2,a/=2,l/=2,n/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){let r=-1;for(o=n;o<a;o++)if(c(e,o)===c(t,-1===r?0:o-r)){if(-1===r&&(r=o),o-r+1===l)return r*s}else -1!==r&&(o-=o-r),r=-1}else for(n+l>a&&(n=a-l),o=n;o>=0;o--){let n=!0;for(let r=0;r<l;r++)if(c(e,o+r)!==c(t,r)){n=!1;break}if(n)return o}return -1}l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(U(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),U(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){let n;if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);if(void 0===t)for(n=0,t=0;n<e.length;++n)t+=e[n].length;let r=l.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){let t=e[n];if(U(t,Uint8Array))i+t.length>r.length?(!l.isBuffer(t)&&(t=l.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else if(l.isBuffer(t))t.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=t.length}return r},l.byteLength=g,l.prototype._isBuffer=!0,l.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)m(this,t,t+1);return this},l.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},l.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},l.prototype.toString=function(){let e=this.length;return 0===e?"":0==arguments.length?v(this,0,e):y.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){let e="",n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},s&&(l.prototype[s]=l.prototype.inspect),l.prototype.compare=function(e,t,n,r,i){if(U(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;let o=i-r,s=n-t,a=Math.min(o,s),c=this.slice(r,i),u=e.slice(t,n);for(let e=0;e<a;++e)if(c[e]!==u[e]){o=c[e],s=u[e];break}return o<s?-1:s<o?1:0},l.prototype.includes=function(e,t,n){return -1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return b(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return b(this,e,t,n,!1)};l.prototype.write=function(e,t,n,r){var i,o,s,a,l,c,u,d,f,h,p,g,y,m,b,w;if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let v=this.length-t;if((void 0===n||n>v)&&(n=v),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");!r&&(r="utf8");let E=!1;for(;;)switch(r){case"hex":return function(e,t,n,r){let i;n=Number(n)||0;let o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;let s=t.length;for(r>s/2&&(r=s/2),i=0;i<r;++i){let r=parseInt(t.substr(2*i,2),16);if(function(e){return e!=e}(r))break;e[n+i]=r}return i}(this,e,t,n);case"utf8":case"utf-8":;return i=this,o=e,s=t,a=n,B(D(o,i.length-s),i,s,a);case"ascii":case"latin1":case"binary":;return l=this,c=e,u=t,d=n,B(function(e){let t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(c),l,u,d);case"base64":;return f=this,h=e,p=t,g=n,B(P(h),f,p,g);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":;return y=this,m=e,b=t,w=n,B(function(e,t){let n,r,i;let o=[];for(let s=0;s<e.length&&!((t-=2)<0);++s)r=(n=e.charCodeAt(s))>>8,i=n%256,o.push(i),o.push(r);return o}(m,y.length-b),y,b,w);default:if(E)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),E=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function v(e,t,n){n=Math.min(e.length,n);let r=[],i=t;for(;i<n;){let t=e[i],o=null,s=t>239?4:t>223?3:t>191?2:1;if(i+s<=n){let n,r,a,l;switch(s){case 1:t<128&&(o=t);break;case 2:(192&(n=e[i+1]))==128&&(l=(31&t)<<6|63&n)>127&&(o=l);break;case 3:n=e[i+1],r=e[i+2],(192&n)==128&&(192&r)==128&&(l=(15&t)<<12|(63&n)<<6|63&r)>2047&&(l<55296||l>57343)&&(o=l);break;case 4:n=e[i+1],r=e[i+2],a=e[i+3],(192&n)==128&&(192&r)==128&&(192&a)==128&&(l=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&a)>65535&&l<1114112&&(o=l)}}null===o?(o=65533,s=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=s}return function(e){let t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);let n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}function E(e,t,n){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>n)throw RangeError("Trying to access beyond buffer length")}function S(e,t,n,r,i,o){if(!l.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw RangeError('"value" argument is out of bounds');if(n+r>e.length)throw RangeError("Index out of range")}function _(e,t,n,r,i){L(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=s,s>>=8,e[n++]=s,s>>=8,e[n++]=s,s>>=8,e[n++]=s,n}function A(e,t,n,r,i){L(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=s,s>>=8,e[n+2]=s,s>>=8,e[n+1]=s,s>>=8,e[n]=s,n+8}function R(e,t,n,r,i,o){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function C(e,t,n,r,i){return t=+t,n>>>=0,!i&&R(e,t,n,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,n,r,23,4),n+4}function O(e,t,n,r,i){return t=+t,n>>>=0,!i&&R(e,t,n,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){let n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);let r=this.subarray(e,t);return Object.setPrototypeOf(r,l.prototype),r},l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,!n&&E(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return r},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,!n&&E(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,!t&&E(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,!t&&E(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,!t&&E(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,!t&&E(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,!t&&E(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readBigUInt64LE=K(function(e){N(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&k(e,this.length-8);let r=t+256*this[++e]+65536*this[++e]+16777216*this[++e],i=this[++e]+256*this[++e]+65536*this[++e]+16777216*n;return BigInt(r)+(BigInt(i)<<BigInt(32))}),l.prototype.readBigUInt64BE=K(function(e){N(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&k(e,this.length-8);let r=16777216*t+65536*this[++e]+256*this[++e]+this[++e],i=16777216*this[++e]+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(i)}),l.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,!n&&E(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,!n&&E(e,t,this.length);let r=t,i=1,o=this[e+--r];for(;r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},l.prototype.readInt8=function(e,t){return(e>>>=0,!t&&E(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,!t&&E(e,2,this.length);let n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){e>>>=0,!t&&E(e,2,this.length);let n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return e>>>=0,!t&&E(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,!t&&E(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readBigInt64LE=K(function(e){N(e>>>=0,"offset");let t=this[e],n=this[e+7];return(void 0===t||void 0===n)&&k(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24))<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+16777216*this[++e])}),l.prototype.readBigInt64BE=K(function(e){N(e>>>=0,"offset");let t=this[e],n=this[e+7];return(void 0===t||void 0===n)&&k(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<<BigInt(32))+BigInt(16777216*this[++e]+65536*this[++e]+256*this[++e]+n)}),l.prototype.readFloatLE=function(e,t){return e>>>=0,!t&&E(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,!t&&E(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,!t&&E(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,!t&&E(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;S(this,e,t,n,r,0)}let i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;S(this,e,t,n,r,0)}let i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,!n&&S(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,!n&&S(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,!n&&S(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,!n&&S(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,!n&&S(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigUInt64LE=K(function(e,t=0){return _(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=K(function(e,t=0){return A(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=Math.pow(2,8*n-1);S(this,e,t,n,r-1,-r)}let i=0,o=1,s=0;for(this[t]=255&e;++i<n&&(o*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/o>>0)-s&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=Math.pow(2,8*n-1);S(this,e,t,n,r-1,-r)}let i=n-1,o=1,s=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/o>>0)-s&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,!n&&S(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,!n&&S(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,!n&&S(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,!n&&S(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,!n&&S(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigInt64LE=K(function(e,t=0){return _(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=K(function(e,t=0){return A(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeFloatLE=function(e,t,n){return C(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return C(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return O(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return O(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(!l.isBuffer(e))throw TypeError("argument should be a Buffer");if(!n&&(n=0),!r&&0!==r&&(r=this.length),t>=e.length&&(t=e.length),!t&&(t=0),r>0&&r<n&&(r=n),r===n||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);let i=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},l.prototype.fill=function(e,t,n,r){let i;if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===e.length){let t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw RangeError("Out of range index");if(n<=t)return this;if(t>>>=0,n=void 0===n?this.length:n>>>0,!e&&(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{let o=l.isBuffer(e)?e:l.from(e,r),s=o.length;if(0===s)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=o[i%s]}return this};let x={};function T(e,t,n){x[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function I(e){let t="",n=e.length,r="-"===e[0]?1:0;for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}T("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),T("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),T("ERR_OUT_OF_RANGE",function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>4294967296?i=I(String(n)):"bigint"==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=I(i)),i+="n"),r+=` It must be ${t}. Received ${i}`},RangeError);function L(e,t,n,r,i,o){var s,a,l;if(e>n||e<t){let r;let i="bigint"==typeof t?"n":"";throw r=o>3?0===t||t===BigInt(0)?`>= 0${i} and < 2${i} ** ${(o+1)*8}${i}`:`>= -(2${i} ** ${(o+1)*8-1}${i}) and < 2 ** ${(o+1)*8-1}${i}`:`>= ${t}${i} and <= ${n}${i}`,new x.ERR_OUT_OF_RANGE("value",r,e)}s=r,a=i,l=o,N(a,"offset"),(void 0===s[a]||void 0===s[a+l])&&k(a,s.length-(l+1))}function N(e,t){if("number"!=typeof e)throw new x.ERR_INVALID_ARG_TYPE(t,"number",e)}function k(e,t,n){if(Math.floor(e)!==e)throw N(e,n),new x.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new x.ERR_BUFFER_OUT_OF_BOUNDS;throw new x.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}let j=/[^+/0-9A-Za-z-_]/g;function D(e,t){let n;t=t||1/0;let r=e.length,i=null,o=[];for(let s=0;s<r;++s){if((n=e.charCodeAt(s))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return o}function P(e){return i.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(j,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function B(e,t,n,r){let i;for(i=0;i<r&&!(i+n>=t.length)&&!(i>=e.length);++i)t[i+n]=e[i];return i}function U(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function M(e){return e!=e}let F=function(){let e="0123456789abcdef",t=Array(256);for(let n=0;n<16;++n){let r=16*n;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function K(e){return"undefined"==typeof BigInt?W:e}function W(){throw Error("BigInt not supported")}},784197:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(588736),i=n(527400),o=n(28839),s=n(888450),a=n(144256),l=n(557094);function c(e,t){(0,a.Z)(1,arguments);var n,c,u,d,f,h,p,g,y=(0,r.j)(),m=(0,l.Z)(null!==(n=null!==(c=null!==(u=null!==(d=null==t?void 0:t.weekStartsOn)&&void 0!==d?d:null==t?void 0:null===(f=t.locale)||void 0===f?void 0:null===(h=f.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==u?u:y.weekStartsOn)&&void 0!==c?c:null===(p=y.locale)||void 0===p?void 0:null===(g=p.options)||void 0===g?void 0:g.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var b=(0,i.Z)(e);if(isNaN(b))return NaN;var w=m-(0,o.Z)((0,s.Z)(e));return w<=0&&(w+=7),Math.ceil((b-w)/7)+1}},832689:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(211084),i=n(773425),o=n(888450),s=n(144256);function a(e,t){return(0,s.Z)(1,arguments),(0,r.Z)((0,i.Z)(e),(0,o.Z)(e),t)+1}},820765:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(557094),i=n(889266),o=n(144256);function s(e,t){(0,o.Z)(2,arguments);var n=(0,r.Z)(t);return(0,i.Z)(e,-n)}},53316:function(e,t,n){"use strict";var r=n(177405).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(615526)),o={date:(0,i.default)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,i.default)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,i.default)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};t.default=o,e.exports=t.default},223283:function(e,t,n){var r=n(489527),i=n(830110),o=n(126243),s=n(408559),a=n(472257);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=s,l.prototype.set=a,e.exports=l},887316:function(e,t,n){var r=n(956823).Uint8Array;e.exports=r},997292:function(e,t,n){var r=n(222121),i=n(48946);e.exports=function(e,t){return r(e,i(e),t)}},498528:function(e,t,n){var r=n(281148),i=n(511791);e.exports=function(e){return r(function(t,n){var r=-1,o=n.length,s=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(s=e.length>3&&"function"==typeof s?(o--,s):void 0,a&&i(n[0],n[1],a)&&(s=o<3?void 0:s,o=1),t=Object(t);++r<o;){var l=n[r];l&&e(t,l,r,s)}return t})}},130579:function(e,t,n){var r=n(617883);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},404152:function(e,t,n){var r=n(694859);e.exports=function(e){return null==e?"":r(e)}},847732:function(e,t,n){"use strict";n.r(t)},436948:function(e,t,n){"use strict";n.r(t)},93223:function(e,t,n){"use strict";n(374954),n(932651),n(490629);var r=n(101199),i=n(469935),o=n.n(i),s=n(622689),a=n.n(s),l=n(70106),c=n(559748),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};class d extends r.PureComponent{renderIndicatorContent(){let{total:e,theme:t,size:n,activeIndex:i}=this.props,s=[];for(let a=0;a<e;a++)s.push(r.createElement("span",{key:a,"data-index":a,className:o()([`${l.UX.CAROUSEL_INDICATOR}-item`],{[`${l.UX.CAROUSEL_INDICATOR}-item-active`]:a===i,[`${l.UX.CAROUSEL_INDICATOR}-item-${t}`]:t,[`${l.UX.CAROUSEL_INDICATOR}-item-${n}`]:n}),onClick:()=>this.handleIndicatorClick(a),onMouseEnter:()=>this.handleIndicatorHover(a)}));return s}render(){let e=this.props,{type:t,size:n,theme:i,style:s,className:a,position:d}=e,f=u(e,["type","size","theme","style","className","position"]),h=o()(a,{[l.UX.CAROUSEL_INDICATOR]:!0,[`${l.UX.CAROUSEL_INDICATOR}-${t}`]:t,[`${l.UX.CAROUSEL_INDICATOR}-${d}`]:d}),p=this.renderIndicatorContent();return r.createElement("div",Object.assign({className:h,style:s},(0,c.Z)(f)),p)}constructor(){super(...arguments),this.onIndicatorChange=e=>{this.props.onIndicatorChange(e)},this.handleIndicatorClick=e=>{let{trigger:t}=this.props;"click"===t&&this.onIndicatorChange(e)},this.handleIndicatorHover=e=>{let{trigger:t}=this.props;"hover"===t&&this.onIndicatorChange(e)}}}d.propTypes={activeKey:a().number,className:a().string,position:a().oneOf(l.j2.POSITION_MAP),size:a().oneOf(l.j2.SIZE),style:a().object,theme:a().oneOf(l.j2.THEME_MAP),total:a().number,onIndicatorChange:a().func,type:a().oneOf(l.j2.TYPE_MAP),trigger:a().oneOf(l.j2.TRIGGER)},t.Z=d},492839:function(e,t,n){"use strict";n.d(t,{Ar:function(){return i},f5:function(){return a},kn:function(){return s},mC:function(){return o}});var r=n(101199);let i=r.createContext({});i.displayName="FormState";let o=r.createContext({});o.displayName="FormApi";let s=r.createContext({});s.displayName="FormUpdater";let a=r.createContext({shouldUseInitValue:!0})},289871:function(e,t,n){"use strict";n(932651);var r=n(876553),i=n.n(r),o=n(101199),s=n(533833),a=n(426337),l=n(469935),c=n.n(l),u=n(22382),d=n(622689),f=n.n(d),h=n(678503);class p extends a.Z{get adapter(){let e=()=>{var e;return null!==(e=this.props.params.container)&&void 0!==e?e:this.container.current};return Object.assign(Object.assign({},super.adapter),{getContainer:e,getLoadParams:()=>Object.assign({container:e(),renderer:"svg",loop:!0,autoplay:!0},this.props.params)})}componentDidMount(){var e,t;super.componentDidMount(),null===(t=(e=this.props).getAnimationInstance)||void 0===t||t.call(e,this.foundation.animation)}componentDidUpdate(e,t,n){!i()(e.params,this.props.params)&&this.foundation.handleParamsUpdate()}get wrapperStyle(){return Object.assign({width:this.props.width,height:this.props.height},this.props.style)}get wrapperClassName(){return c()(u.UX.PREFIX,this.props.className)}render(){return this.props.params.container?null:o.createElement("div",Object.assign({ref:this.container,style:this.wrapperStyle,className:this.wrapperClassName},this.getDataAttr(this.props)))}constructor(e){super(e),this.container=o.createRef(),this.foundation=new s.Z(this.adapter)}}p.__SemiComponentName__="Lottie",p.getLottie=s.Z.getLottie,p.defaultProps=(0,h.GW)(p.__SemiComponentName__),p.propTypes={className:f().string,style:f().object,width:f().string,height:f().string,params:f().object,getAnimationInstance:f().func},t.Z=p},638297:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}}),n(490629),n(932651),n(706056);var r=n(198412),i=n.n(r),o=n(934198),s=n.n(o),a=n(426337),l=n(101199),c=n(622689),u=n.n(c),d=n(469935),f=n.n(d);n(985650);var h=n(109841),p=n(200516),g=n(318330),y=n(63793),m=n(343388),b=n(739697),w=n(438136),v=n(549644),E=n(742916),S=n(371648);class _ extends a.Z{_invokeContextFunc(e){if(e&&this.context&&"function"==typeof this.context[e]){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return this.context[e](...n)}return null}get adapter(){var e=this;return Object.assign(Object.assign({},super.adapter),{updateIsHovered:e=>this.setState({isHovered:e}),getOpenKeys:()=>this.context&&this.context.openKeys,getOpenKeysIsControlled:()=>this.context&&this.context.openKeysIsControlled,getCanUpdateOpenKeys:()=>this.context&&this.context.canUpdateOpenKeys,updateOpen:e=>this._invokeContextFunc(e?"addOpenKeys":"removeOpenKeys",this.props.itemKey),notifyGlobalOpenChange:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e._invokeContextFunc("onOpenChange",...n)},notifyGlobalOnSelect:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e._invokeContextFunc("onSelect",...n)},notifyGlobalOnClick:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e._invokeContextFunc("onClick",...n)},getIsSelected:e=>!!(!(0,h.Z)(e)&&i()(this.context,"selectedKeys",[]).includes(String(e))),getIsOpen:()=>{let{itemKey:e}=this.props;return!!(this.context&&this.context.openKeys&&this.context.openKeys.includes(this.props.itemKey))}})}renderIcon(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,{prefixCls:o}=this.context,s="large";t===g.j2.ICON_POS_RIGHT&&(s="default");let a=f()(`${o}-item-icon`,{[`${o}-item-icon-toggle-${this.context.toggleIconPosition}`]:r,[`${o}-item-icon-info`]:!r}),c=this.adapter.getIsOpen(),u=l.isValidElement(e)?n?l.createElement(S.Z,{animationState:c?"enter":"leave",startClassName:`${g.UX.PREFIX}-icon-rotate-${c?"180":"0"}`},t=>{let{animationClassName:n}=t;return l.cloneElement(e,{size:s,className:n})}):l.cloneElement(e,{size:s}):null;return l.createElement("i",{key:i,className:a},u)}renderTitleDiv(){let{text:e,icon:t,itemKey:n,indent:r,disabled:i,level:o,expandIcon:a}=this.props,{mode:c,isInSubNav:u,isCollapsed:d,prefixCls:h,subNavMotion:p,limitIndent:b}=this.context,w=this.adapter.getIsOpen(),v=f()(`${h}-sub-title`,{[`${h}-sub-title-selected`]:this.adapter.getIsSelected(n),[`${h}-sub-title-disabled`]:i}),E=!1,S="";d?S=u?l.createElement(y.Z,null):null:c===g.j2.MODE_HORIZONTAL?S=u?l.createElement(y.Z,{"aria-hidden":!0}):a||l.createElement(m.Z,{"aria-hidden":!0}):(p&&(E=!0),S=a||l.createElement(m.Z,{"aria-hidden":!0}));let _=null;c===g.j2.MODE_VERTICAL&&!b&&!d&&(_=s()(t&&!r?o:o-1,e=>this.renderIcon(null,g.j2.ICON_POS_RIGHT,!1,!1,e)));let A=!d&&u&&c===g.j2.MODE_HORIZONTAL||d&&u;return l.createElement("div",{role:"menuitem",tabIndex:A?-1:0,ref:this.setTitleRef,className:v,onClick:this.handleClick,onKeyPress:this.handleKeyPress,"aria-expanded":w?"true":"false"},l.createElement("div",{className:`${h}-item-inner`},_,this.context.toggleIconPosition===g.j2.TOGGLE_ICON_LEFT&&this.renderIcon(S,g.j2.ICON_POS_RIGHT,E,!0,"key-toggle-position-left"),t||r||u&&c!==g.j2.MODE_HORIZONTAL?this.renderIcon(t,g.j2.ICON_POS_LEFT,!1,!1,"key-inSubNav-position-left"):null,l.createElement("span",{className:`${h}-item-text`},e),this.context.toggleIconPosition===g.j2.TOGGLE_ICON_RIGHT&&this.renderIcon(S,g.j2.ICON_POS_RIGHT,E,!0,"key-toggle-position-right")))}renderSubUl(){let{children:e,maxHeight:t}=this.props,{isCollapsed:n,mode:r,subNavMotion:i,prefixCls:o}=this.context,s=this.adapter.getIsOpen(),a=r===g.j2.MODE_HORIZONTAL,c=f()(`${o}-sub`,{[`${o}-sub-open`]:s,[`${o}-sub-popover`]:n||a}),u=l.createElement(E.Z,{motion:i,isOpen:s,keepDOM:!1,fade:!0},n?null:l.createElement("ul",{className:c},e));return a?null:i?u:s&&!n?l.createElement("ul",{className:c},e):null}wrapDropdown(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e,{children:n,dropdownStyle:r,disabled:i,subDropdownProps:o,dropdownProps:s}=this.props,{mode:a,isInSubNav:c,isCollapsed:u,subNavCloseDelay:d,subNavOpenDelay:h,prefixCls:p,getPopupContainer:y}=this.context,m=this.adapter.getIsOpen(),b=this.adapter.getOpenKeysIsControlled(),v=f()({[`${p}-popover`]:u}),E={trigger:"hover",style:r};return b&&(E.trigger="custom",E.visible=m),y&&(E.getPopupContainer=y),(u||a===g.j2.MODE_HORIZONTAL)&&(t=i?t:l.createElement(w.Z,Object.assign({className:v,render:l.createElement(w.Z.Menu,null,n),position:a!==g.j2.MODE_HORIZONTAL||c?"rightTop":"bottomLeft",mouseEnterDelay:h,mouseLeaveDelay:d,onVisibleChange:this.handleDropdownVisible},s||o,E),t)),t}render(){let{itemKey:e,style:t,onMouseEnter:n,onMouseLeave:r,disabled:i,text:o}=this.props,{mode:s,isCollapsed:a,prefixCls:c}=this.context,u=this.renderTitleDiv(),d=this.renderSubUl();return(a||s===g.j2.MODE_HORIZONTAL)&&(u=this.wrapDropdown(u)),l.createElement(b.Z,{style:t,isSubNav:!0,itemKey:e,forwardRef:this.setItemRef,isCollapsed:a,className:`${c}-sub-wrap`,onMouseEnter:n,onMouseLeave:r,disabled:i,text:o},l.createElement(v.Z.Provider,{value:Object.assign(Object.assign({},this.context),{isInSubNav:!0})},u,d))}constructor(e){super(e),this.setItemRef=e=>{e&&e.current?this.itemRef=e:this.itemRef={current:e}},this.setTitleRef=e=>{e&&e.current?this.titleRef=e:this.titleRef={current:e}},this.handleClick=e=>{this.foundation.handleClick(e&&e.nativeEvent,this.titleRef&&this.titleRef.current)},this.handleKeyPress=e=>{this.foundation.handleKeyPress(e&&e.nativeEvent,this.titleRef&&this.titleRef.current)},this.handleDropdownVisible=e=>this.foundation.handleDropdownVisibleChange(e),this.state={isHovered:!1},this.adapter.setCache("firstMounted",!0),this.titleRef=l.createRef(),this.itemRef=l.createRef(),this.foundation=new p.Z(this.adapter)}}_.contextType=v.Z,_.propTypes={itemKey:u().oneOfType([u().string,u().number]),text:u().oneOfType([u().string,u().node]),isOpen:u().bool,isCollapsed:u().bool,indent:u().oneOfType([u().bool,u().number]),children:u().node,style:u().object,icon:u().node,maxHeight:u().number,onMouseEnter:u().func,onMouseLeave:u().func,disabled:u().bool,level:u().number},_.defaultProps={level:0,indent:!1,isCollapsed:!1,isOpen:!1,maxHeight:g.KT.DEFAULT_SUBNAV_MAX_HEIGHT,disabled:!1}},619050:function(e,t,n){"use strict";n(932651);var r=n(795233),i=n.n(r),o=n(390063),s=n.n(o),a=n(101199),l=n(469935),c=n.n(l),u=n(622689),d=n.n(u),f=n(230720),h=n(932083),p=n(104200),g=n(266890);n(617906);var y=n(109841),m=n(678503),b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let w=h.j2.POSITION_SET,v=h.j2.TRIGGER_SET;class E extends a.PureComponent{render(){let e=this.props,{children:t,prefixCls:n,showArrow:r,arrowStyle:i={},arrowBounding:o,position:s,style:l,trigger:c}=e,u=b(e,["children","prefixCls","showArrow","arrowStyle","arrowBounding","position","style","trigger"]),{spacing:d}=this.props,f=!!r&&a.createElement(g.Z,Object.assign({},{position:s,className:"",popStyle:l,arrowStyle:i}));return(0,y.Z)(d)&&(d=r?h.KT.SPACING_WITH_ARROW:h.KT.SPACING),a.createElement(p.Z,Object.assign({guardFocus:!0,ref:this.tooltipRef},u,{trigger:c,position:s,style:l,content:this.renderPopCard,prefixCls:n,spacing:d,showArrow:f,arrowBounding:o,role:"click"===c||"custom"===c?"dialog":"tooltip"}),t)}constructor(e){super(e),this.focusTrigger=()=>{var e;null===(e=this.tooltipRef.current)||void 0===e||e.focusTrigger()},this.renderPopCard=e=>{let{initialFocusRef:t}=e,{content:n,contentClassName:r,prefixCls:i}=this.props,{direction:o}=this.context,s=c()(i,r,{[`${i}-rtl`]:"rtl"===o}),l=this.renderContentNode({initialFocusRef:t,content:n});return a.createElement("div",{className:s},a.createElement("div",{className:`${i}-content`},l))},this.renderContentNode=e=>{let{initialFocusRef:t,content:n}=e;return s()(n)?n({initialFocusRef:t}):n},this.tooltipRef=a.createRef()}}E.contextType=f.Z,E.propTypes={children:d().node,content:d().oneOfType([d().node,d().func]),visible:d().bool,autoAdjustOverflow:d().bool,motion:d().bool,position:d().oneOf(w),margin:d().oneOfType([d().number,d().object]),mouseEnterDelay:d().number,mouseLeaveDelay:d().number,trigger:d().oneOf(v).isRequired,contentClassName:d().oneOfType([d().string,d().array]),onVisibleChange:d().func,onClickOutSide:d().func,style:d().object,spacing:d().oneOfType([d().number,d().object]),zIndex:d().number,showArrow:d().bool,arrowStyle:d().shape({borderColor:d().string,backgroundColor:d().string,borderOpacity:d().oneOfType([d().string,d().number])}),arrowPointAtCenter:d().bool,arrowBounding:d().object,prefixCls:d().string,guardFocus:d().bool,disableArrowKeyDown:d().bool},E.__SemiComponentName__="Popover",E.defaultProps=(0,m.GW)(E.__SemiComponentName__,{arrowBounding:h.KT.ARROW_BOUNDING,showArrow:!1,autoAdjustOverflow:!0,zIndex:h.KT.DEFAULT_Z_INDEX,motion:!0,trigger:"hover",cancelText:"No",okText:"Yes",position:"bottom",prefixCls:h.UX.PREFIX,onClickOutSide:i(),onEscKeyDown:i(),closeOnEsc:!0,returnFocusOnClose:!0,guardFocus:!0,disableFocusListener:!0}),t.Z=E},925949:function(e,t,n){"use strict";n(932651),n(490629),n(591964),n(374954),n(706056),n(240148),n(759943);var r=n(779020),i=n.n(r),o=n(812958),s=n.n(o),a=n(390063),l=n.n(a),c=n(793572),u=n.n(c),d=n(285406),f=n.n(d),h=n(853647),p=n.n(h),g=n(757986),y=n.n(g),m=n(350856),b=n.n(m),w=n(51692),v=n.n(w),E=n(9588),S=n.n(E),_=n(260611),A=n.n(_),R=n(284118),C=n.n(R),O=n(795233),x=n.n(O),T=n(198412),I=n.n(T),L=n(101199),N=n(622689),k=n.n(N),j=n(469935),D=n.n(j),P=n(553827),B=n(849662),U=n(570811),M=n(278766);n(636513);var F=n(180007),K=n(426337),W=n(209873),Z=n(328273),$=n(571446),H=n(260813),z=n(23496),G=n(821811),V=n(167271),Y=n(825005),X=n(30750),J=n(588671),q=n(184861),Q=n(521747),ee=n(37827),et=n(678503),en=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};class er extends K.Z{get adapter(){var e=this;return Object.assign(Object.assign({},super.adapter),{resetScrollY:()=>{this.bodyWrapRef.current&&(this.bodyWrapRef.current.scrollTop=0)},setSelectedRowKeys:e=>{this.setState({rowSelection:Object.assign(Object.assign({},this.state.rowSelection),{selectedRowKeys:[...e],selectedRowKeysSet:new Set(e)})})},setDisabledRowKeys:e=>{this.setState({disabledRowKeys:e,disabledRowKeysSet:new Set(e)})},setCurrentPage:e=>{let{pagination:t}=this.state;"object"==typeof t?this.setState({pagination:Object.assign(Object.assign({},t),{currentPage:e})}):this.setState({pagination:{currentPage:e}})},setPagination:e=>this.setState({pagination:e}),setGroups:e=>this.setState({groups:e}),setDataSource:e=>this.setState({dataSource:e}),setExpandedRowKeys:e=>this.setState({expandedRowKeys:[...e]}),setQuery:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=[...e.state.queries];n=(0,P.BX)(t,n),e.setState({queries:n})},setQueries:e=>this.setState({queries:e}),setFlattenData:e=>this.setState({flattenData:e}),setAllRowKeys:e=>this.setState({allRowKeys:e}),setHoveredRowKey:e=>{this.store.setState({hoveredRowKey:e})},setCachedFilteredSortedDataSource:e=>{this.cachedFilteredSortedDataSource=e},setCachedFilteredSortedRowKeys:e=>{this.cachedFilteredSortedRowKeys=e,this.cachedFilteredSortedRowKeysSet=new Set(e)},setAllDisabledRowKeys:e=>{let t=new Set(e);this.setState({allDisabledRowKeys:e,allDisabledRowKeysSet:t})},getCurrentPage:()=>I()(this.state,"pagination.currentPage",1),getCurrentPageSize:()=>I()(this.state,"pagination.pageSize",M.KT.DEFAULT_PAGE_SIZE),getCachedFilteredSortedDataSource:()=>this.cachedFilteredSortedDataSource,getCachedFilteredSortedRowKeys:()=>this.cachedFilteredSortedRowKeys,getCachedFilteredSortedRowKeysSet:()=>this.cachedFilteredSortedRowKeysSet,getAllDisabledRowKeys:()=>this.state.allDisabledRowKeys,getAllDisabledRowKeysSet:()=>this.state.allDisabledRowKeysSet,notifyFilterDropdownVisibleChange:(e,t)=>this._invokeColumnFn(t,"onFilterDropdownVisibleChange",e),notifyChange:function(){return e.props.onChange(...arguments)},notifyExpand:function(){return e.props.onExpand(...arguments)},notifyExpandedRowsChange:function(){return e.props.onExpandedRowsChange(...arguments)},notifySelect:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e._invokeRowSelection("onSelect",...n)},notifySelectAll:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e._invokeRowSelection("onSelectAll",...n)},notifySelectInvert:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e._invokeRowSelection("onSelectInvert",...n)},notifySelectionChange:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e._invokeRowSelection("onChange",...n)},isAnyColumnFixed:e=>v()(this.getColumns(e||this.props.columns,this.props.children),e=>!!e.fixed),useFixedHeader:()=>{let{scroll:e,sticky:t}=this.props;return!!I()(e,"y")||!!t||!1},getTableLayout:()=>{let e=!1,{flattenColumns:t}=this.state;return Array.isArray(t)&&(e=t.some(e=>!!e.ellipsis||!!e.fixed)),this.adapter.useFixedHeader()&&(e=!0),e?"fixed":"auto"},setHeadWidths:function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;!(0,P.zH)(e.state.headWidths[n],t)&&e.setState(e=>{let r=[...e.headWidths];return r[n]=[...t],{headWidths:r}})},getHeadWidths:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e.state.headWidths.length&&"number"==typeof t?(e.state.headWidths[t]||[]).map(e=>e.width):[]},getCellWidths:function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Array.isArray(t)&&t.length&&Array.isArray(n=null==n&&e.state.headWidths.length?y()(e.state.headWidths):[])&&n.length?t.reduce((e,t)=>{let i=t.key===M.j2.DEFAULT_KEY_COLUMN_SCROLLBAR&&r?null:A()(n,e=>e&&null!=e.key&&e.key===t.key);return i&&e.push(i.width),e},[]):[]},mergedRowExpandable:e=>{let{expandedRowRender:t,childrenRecordName:n,rowExpandable:r}=this.props,i=I()(e,n),o="function"==typeof t,s="function"==typeof r,a=Array.isArray(i)&&i.length,l=s&&r(e);return(o||a)&&(!s||l)||!(o||a)&&l},isAnyColumnUseFullRender:e=>v()(e,e=>!!e.useFullRender),getNormalizeColumns:()=>this.normalizeColumns,getHandleColumns:()=>this.handleColumns,getMergePagination:()=>this.mergePagination,setBodyHasScrollbar:e=>{e!==this.state.bodyHasScrollBar&&this.setState({bodyHasScrollBar:e})},stopPropagation(e){e&&"object"==typeof e&&("function"==typeof e.stopPropagation&&e.stopPropagation(),e.nativeEvent&&"function"==typeof e.nativeEvent.stopPropagation?e.nativeEvent.stopPropagation():"function"==typeof e.stopImmediatePropagation&&e.stopImmediatePropagation())}})}static getDerivedStateFromProps(e,t){let n={},{rowSelection:r,dataSource:i,childrenRecordName:o,rowKey:a,pagination:c}=e;if(e.columns&&e.children&&ee.kg.warn("columns should not given by object and children at the same time"),e.columns&&e.columns!==t.cachedColumns){let r=(0,P.L8)(e.columns);n.flattenColumns=r,n.queries=(0,ee.Vv)(t.queries,r,null,!1),n.cachedColumns=e.columns,n.cachedChildren=null}else if(e.children&&e.children!==t.cachedChildren){let r=(0,$.Z)(e.children),i=(0,P.L8)(r),o=(0,ee.Vv)(t.queries,i,null,!1);n.flattenColumns=i,n.queries=[...o],n.cachedColumns=[...r],n.cachedChildren=e.children}if(r!==t.prePropRowSelection){let e={};s()(t.rowSelection)&&(e=Object.assign(Object.assign({},e),t.rowSelection)),s()(r)&&(e=Object.assign(Object.assign({},e),r));let c=I()(r,"selectedRowKeys"),u=I()(r,"getCheckboxProps");if(c&&Array.isArray(c)&&(e.selectedRowKeysSet=new Set(c)),l()(u)){let e=(0,P.zq)({dataSource:i,getCheckboxProps:u,childrenRecordName:o,rowKey:a}),t=new Set(e);n.disabledRowKeys=e,n.disabledRowKeysSet=t,n.allDisabledRowKeys=e,n.allDisabledRowKeysSet=t}n.rowSelection=e,n.prePropRowSelection=r}if(c!==t.prePagination){let e={};s()(t.pagination)&&(e=Object.assign(Object.assign({},e),t.pagination)),s()(c)&&(e=Object.assign(Object.assign({},e),c)),n.pagination=e,n.prePagination=c}return n}componentDidMount(){super.componentDidMount(),this.setScrollPosition("left"),(this.adapter.isAnyColumnFixed()||this.props.showHeader&&this.adapter.useFixedHeader())&&(this.handleWindowResize(),window.addEventListener("resize",this.debouncedWindowResize))}componentDidUpdate(e,t){let{dataSource:n,expandedRowKeys:r,expandAllRows:i,expandAllGroupRows:o,virtualized:a,components:l,pagination:c}=this.props,{pagination:u,queries:d,cachedColumns:f,cachedChildren:h,groups:p}=this.state,g={};if(this._warnIfNoKey(),Array.isArray(r)&&r!==e.expandedRowKeys&&this.setState({expandedRowKeys:r}),(l!==e.components||a!==e.virtualized)&&this.setState({components:(0,ee.xM)(l,a)}),(i!==e.expandAllRows||o!==e.expandAllGroupRows)&&this.foundation.initExpandedRowKeys({groups:p}),n!==e.dataSource||f!==t.cachedColumns||h!==t.cachedChildren){let e=[...n],t=this.foundation.getFilteredSortedDataSource(e,d),r=this.foundation.getAllDisabledRowKeys(t);this.foundation.setCachedFilteredSortedDataSource(t),this.foundation.setAllDisabledRowKeys(r),g.dataSource=t,this.props.groupBy&&(g.groups=null)}if(n!==e.dataSource&&(g.pagination=s()(u)?Object.assign(Object.assign({},u),{currentPage:s()(c)&&c.currentPage?c.currentPage:1}):u),Object.keys(g).length){let{pagination:e=null,queries:t=null,dataSource:n=null}=g,r=this.foundation.getCurrentPageData(n,e,t);for(let e of(this.adapter.setAllRowKeys(r.allRowKeys),this.adapter.setDisabledRowKeys(r.disabledRowKeys),"dataSource"in g&&((this.props.defaultExpandAllRows&&r.groups&&r.groups.size||this.props.expandAllRows||this.props.expandAllGroupRows)&&this.foundation.initExpandedRowKeys(r),g.pagination=r.pagination),Object.keys(g)))this.setState({[e]:r[e]})}(this.adapter.isAnyColumnFixed()||this.props.showHeader&&this.adapter.useFixedHeader())&&!this.debouncedWindowResize&&window.addEventListener("resize",this.debouncedWindowResize)}componentWillUnmount(){super.componentWillUnmount(),this.debouncedWindowResize&&(window.removeEventListener("resize",this.debouncedWindowResize),this.debouncedWindowResize.cancel(),this.debouncedWindowResize=null)}render(){let e,t=this.props,{scroll:n,prefixCls:r,className:i,style:o={},bordered:s,id:a,pagination:l,virtualized:c,size:u,renderPagination:d,getVirtualizedListRef:f,loading:h,hideExpandedColumn:p,rowSelection:g}=t,y=en(t,["scroll","prefixCls","className","style","bordered","id","pagination","virtualized","size","renderPagination","getVirtualizedListRef","loading","hideExpandedColumn","rowSelection"]),{rowSelection:m,expandedRowKeys:b,headWidths:w,tableWidth:v,pagination:E,dataSource:S,queries:_,cachedColumns:A,bodyHasScrollBar:R}=this.state;if(o=Object.assign({},o),this.adapter.isAnyColumnUseFullRender(_))e=this.handleColumns(_,A);else{let t=g&&!I()(g,"hidden");e=this.foundation.memoizedWithFnsColumns(_,A,t,p,R)}let C=this.foundation.memoizedFilterColumns(e),O=this.foundation.memoizedFlattenFnsColumns(e),x=this.adapter.isAnyColumnFixed(e),T=Object.assign(Object.assign(Object.assign({},y),this.state),{virtualized:c,scroll:n,prefixCls:r,size:u,hideExpandedColumn:p,columns:e,anyColumnFixed:x,rowExpandable:this.mergedRowExpandable,pagination:E,dataSource:S,rowSelection:m,expandedRowKeys:b,renderExpandIcon:this.renderExpandIcon,filteredColumns:C}),N=I()(n,"x"),k=I()(n,"y");c&&"number"!=typeof o.width&&(o.width=N);let j=D()({[`${r}-${M.j2.SIZE_SMALL}`]:u===M.j2.SIZE_SMALL,[`${r}-${M.j2.SIZE_MIDDLE}`]:u===M.j2.SIZE_MIDDLE,[`${r}-virtualized`]:!!c,[`${r}-bordered`]:s,[`${r}-fixed-header`]:!!k,[`${r}-scroll-position-left`]:["both","left"].includes(this.position),[`${r}-scroll-position-right`]:["both","right"].includes(this.position)}),P=E&&l?this.renderPagination(E,d):null,B=I()(l,"position","bottom"),U=Object.assign(Object.assign({},this.context),{headWidths:w,tableWidth:v,anyColumnFixed:x,flattenedColumns:O,renderExpandIcon:this.renderExpandIcon,renderSelection:this.renderSelection,setHeadWidths:this.setHeadWidths,getHeadWidths:this.getHeadWidths,getCellWidths:this.getCellWidths,handleRowExpanded:this.handleRowExpanded,getVirtualizedListRef:f,setBodyHasScrollbar:this.setBodyHasScrollbar}),K=this.getDataAttr(y);return L.createElement("div",Object.assign({ref:this.rootWrapRef,className:D()(i,`${r}-wrapper`,`${r}-wrapper-${T.direction}`),"data-column-fixed":x,style:o,id:a},K),L.createElement(z.Z,Object.assign({},U,{direction:T.direction}),L.createElement(F.Z,{spinning:h,size:"large"},L.createElement("div",{ref:this.wrapRef,className:j},L.createElement(L.Fragment,{key:"pagination-top"},["top","both"].includes(B)?P:null),this.renderTitle({title:T.title,dataSource:T.dataSource,prefixCls:T.prefixCls}),L.createElement("div",{className:`${r}-container`},this.renderMainTable(Object.assign({},T))),L.createElement(L.Fragment,{key:"pagination-bottom"},["bottom","both"].includes(B)?P:null)))))}constructor(e,t){var n;super(e),n=this,this._warnIfNoKey=()=>{(this.props.rowSelection||this.props.expandedRowRender)&&v()(this.props.dataSource,e=>null==this.foundation.getRecordKey(e))&&ee.kg.error('You must specify a key for each element in the dataSource or use "rowKey" to specify an attribute name as the primary key!')},this._invokeRowSelection=function(e){let t=I()(n.state,["rowSelection",e]);if("function"==typeof t){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];t(...i)}},this._invokeColumnFn=function(e,t){if(e&&t){let s=n.foundation.getQuery(e),a=I()(s,t,null);if("function"==typeof a){for(var r=arguments.length,i=Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];a(...i)}}},this._cacheHeaderRef=e=>{this.headerWrapRef.current=e},this.getCurrentPageData=()=>{let e=this.foundation.getCurrentPageData(),t=["dataSource","groups"].reduce((t,n)=>(e[n]&&(t[n]=e[n]),t),{});return(0,et.Xh)(t)},this.getColumns=(e,t)=>Array.isArray(e)&&e&&e.length?e:(0,$.Z)(t),this.getCellWidths=function(){return n.foundation.getCellWidths(...arguments)},this.setHeadWidths=function(){return n.foundation.setHeadWidths(...arguments)},this.getHeadWidths=function(){return n.foundation.getHeadWidths(...arguments)},this.mergedRowExpandable=function(){return n.foundation.mergedRowExpandable(...arguments)},this.setBodyHasScrollbar=function(){return n.foundation.setBodyHasScrollbar(...arguments)},this.handleWheel=e=>{let{scroll:t={}}=this.props;if(window.navigator.userAgent.match(/Trident\/7\./)&&t.y){e.preventDefault();let t=e.deltaY,{target:n}=e,r=this.bodyWrapRef.current,i=0;i=this.lastScrollTop?this.lastScrollTop+t:t,r&&n!==r&&(r.scrollTop=i)}},this.handleBodyScrollLeft=e=>{if(e.currentTarget!==e.target)return;let{target:t}=e,n=this.headerWrapRef.current,r=this.bodyWrapRef.current;t.scrollLeft!==this.lastScrollLeft&&(t===r&&n?n.scrollLeft=t.scrollLeft:t===n&&r&&(r.scrollLeft=t.scrollLeft),this.setScrollPositionClassName()),this.lastScrollLeft=t.scrollLeft},this.handleWindowResize=()=>{this.syncTableWidth(),this.setScrollPositionClassName()},this.handleBodyScrollTop=e=>{let{target:t}=e;if(e.currentTarget!==t)return;let{scroll:n={}}=this.props,r=this.headerWrapRef.current,i=this.bodyWrapRef.current;if(t.scrollTop!==this.lastScrollTop&&n.y&&t!==r){let{scrollTop:e}=t;i&&t!==i&&(i.scrollTop=e)}this.lastScrollTop=t.scrollTop},this.handleBodyScroll=e=>{this.handleBodyScrollLeft(e),this.handleBodyScrollTop(e)},this.setScrollPosition=e=>{let{prefixCls:t}=this.props,n=[`${t}-scroll-position-both`,`${t}-scroll-position-middle`,`${t}-scroll-position-left`,`${t}-scroll-position-right`];this.scrollPosition=e;let r=this.wrapRef.current;if(r&&r.nodeType){if("both"===e){let e=[`${t}-scroll-position-left`,`${t}-scroll-position-right`];r.classList.remove(...u()(n,e)),r.classList.add(...e)}else{let i=[`${t}-scroll-position-${e}`];r.classList.remove(...u()(n,i)),r.classList.add(...i)}}},this.setScrollPositionClassName=()=>{let e=this.bodyWrapRef.current;if(e&&e.children&&e.children.length){let t=0===e.scrollLeft,n=Math.abs(e.scrollLeft)+1>=e.children[0].getBoundingClientRect().width-e.getBoundingClientRect().width;t&&n?this.setScrollPosition("both"):t?this.setScrollPosition("left"):n?this.setScrollPosition("right"):"middle"!==this.scrollPosition&&this.setScrollPosition("middle")}},this.syncTableWidth=()=>{this.rootWrapRef&&this.rootWrapRef.current&&this.setState({tableWidth:this.rootWrapRef.current.getBoundingClientRect().width})},this.renderSelection=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2?arguments[2]:void 0,{rowSelection:i,allDisabledRowKeysSet:o}=n.state;if(i&&"object"==typeof i){let{selectedRowKeys:s=[],selectedRowKeysSet:a=new Set,getCheckboxProps:c,disabled:u,renderCell:d}=i,f=n.cachedFilteredSortedRowKeys,h=n.cachedFilteredSortedRowKeysSet,p=n.foundation.allIsSelected(a,o,f),g=n.foundation.hasRowSelected(s,h)&&!p;if(t){let r=I()(i,"key",M.j2.DEFAULT_KEY_COLUMN_SELECTION),o=L.createElement(G.Z,{"aria-label":`${p?"Deselect":"Select"} all rows`,disabled:u,key:r,selected:p,indeterminate:g,onChange:(e,t)=>{n.toggleSelectAllRow(e,t)}});return l()(d)?d({selected:p,record:e,originNode:o,inHeader:t,disabled:u,indeterminate:g,selectAll:(e,t)=>n.toggleSelectAllRow(e,t)}):o}{let t=n.foundation.getRecordKey(e),i=a.has(t),o=L.createElement(G.Z,{"aria-label":`${i?"Deselect":"Select"} this row`,getCheckboxProps:()=>"function"==typeof c?c(e):{},selected:i,onChange:(e,r)=>n.toggleSelectRow(e,t,r)});return l()(d)?d({selected:i,record:e,index:r,originNode:o,inHeader:!1,disabled:u,indeterminate:g,selectRow:(e,r)=>n.toggleSelectRow(e,t,r)}):o}}return null},this.renderRowSelectionCallback=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return n.renderSelection(t,!1,r)},this.renderTitleSelectionCallback=()=>this.renderSelection(void 0,!0),this.normalizeSelectionColumn=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{rowSelection:t,prefixCls:r}=e,i={};return t&&(i={key:M.j2.DEFAULT_KEY_COLUMN_SELECTION},s()(t)&&(i=Object.assign(Object.assign({},i),f()(t,["selectedRowKeys","selectedRowKeysSet"]))),i.className=D()(i.className,`${r}-column-selection`),i.title=n.renderTitleSelectionCallback,i.render=n.renderRowSelectionCallback),i},this.normalizeScrollbarColumn=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{scrollbarWidth:t=0}=e;return{key:M.j2.DEFAULT_KEY_COLUMN_SCROLLBAR,width:t,fixed:"right"}},this.renderExpandIcon=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,{expandedRowKeys:i}=n.state,{expandIcon:o}=n.props,s="string"==typeof r||"number"==typeof r?r:n.foundation.getRecordKey(e);return L.createElement(J.Z,{key:s,componentType:t?"tree":"expand",expanded:C()(i,s),expandIcon:o,onClick:(e,t)=>n.handleRowExpanded(e,s,t)})},this.handleRowExpanded=function(){return n.foundation.handleRowExpanded(...arguments)},this.normalizeExpandColumn=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=null,{prefixCls:r,expandCellFixed:i,expandIcon:o}=e;return(t={fixed:i,key:M.j2.DEFAULT_KEY_COLUMN_EXPAND}).className=D()(t.className,`${r}-column-expand`),t.render=!1!==o?function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];let e=arguments.length>1?arguments[1]:void 0;return arguments.length>2&&arguments[2],n.adapter.mergedRowExpandable(e)?n.renderExpandIcon(e):null}:()=>null,t},this.addFnsInColumn=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{prefixCls:t}=n.props;if(e&&(e.sorter||e.filters||e.onFilter||e.useFullRender)){let r="function"==typeof e.sorter||!0===e.sorter,i=Array.isArray(e.filters)&&e.filters.length||(0,L.isValidElement)(e.filterDropdown)||"function"==typeof e.renderFilterDropdown,o=!1,s=!("sortOrder"in e)&&!0===e.showSortTip,{dataIndex:a,title:l,useFullRender:c}=e,u=r&&!i&&!c,d=n.foundation.getQuery(a),h={},p=[];c&&(h.selection=n.renderSelection(null,!0));let g=I()(d,"sortOrder"),y=I()(d,"defaultSortOrder",!1),m=n.foundation.isSortOrderValid(g)?g:y,b=(0,P.Bi)(e.ellipsis),w="function"!=typeof l&&L.createElement("span",{className:`${t}-row-head-title`,key:M.j2.DEFAULT_KEY_COLUMN_TITLE,title:b&&"string"==typeof l?l:void 0},l);if(r){let t=L.createElement(X.Z,{key:M.j2.DEFAULT_KEY_COLUMN_SORTER,sortOrder:m,sortIcon:e.sortIcon,onClick:c||i?t=>n.foundation.handleSort(e,t):null,title:w,showTooltip:!u&&s});c&&(h.sorter=t),o=!0,p.push(t)}else p.push(w);let v=I()(d,"filteredValue"),E=I()(d,"defaultFilteredValue");if(i){let e=L.createElement(Y.Z,Object.assign({key:M.j2.DEFAULT_KEY_COLUMN_FILTER},f()(d,"children"),{filteredValue:v||E,onFilterDropdownVisibleChange:e=>n.foundation.toggleShowFilter(a,e),onSelect:e=>n.foundation.handleFilterSelect(a,e)}));c&&(h.filter=e),o=!0,p.push(e)}let S="function"==typeof l?()=>l(h):o?L.createElement("div",{className:`${t}-operate-wrapper`},p):p;e=Object.assign(Object.assign({},e),{title:S}),u&&(e.clickToSort=t=>{n.foundation.handleSort(e,t,!0)},e.mouseDown=n.foundation.handleMouseDown,e.sortOrder=m,e.showSortTip=s)}return e},this.toggleSelectRow=(e,t,n)=>{this.foundation.handleSelectRow(t,e,n)},this.toggleSelectAllRow=(e,t)=>{this.foundation.handleSelectAllRow(e,t)},this.renderPagination=(e,t)=>{if(!e)return null;let n=this.foundation.memoizedPagination(e);return L.createElement(W.Z,{componentName:"Table"},e=>{let r=this.foundation.formatPaginationInfo(n,e.pageText);return L.createElement(V.Z,{info:r,pagination:n,renderPagination:t})})},this.renderTitle=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{title:t}=e,{prefixCls:n,dataSource:r}=e;return"function"==typeof t&&(t=t(r)),(0,L.isValidElement)(t)||"string"==typeof t?L.createElement("div",{className:`${n}-title`,"x-semi-prop":"title"},t):null},this.renderEmpty=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{prefixCls:t,empty:r,dataSource:i}=e,o=`${t}-placeholder`;return n.foundation.isEmpty(i)?L.createElement(W.Z,{componentName:"Table",key:"emptyText"},(e,n)=>L.createElement("div",{className:o},L.createElement("div",{className:`${t}-empty`,"x-semi-prop":"empty"},r||e.emptyText))):null},this.renderFooter=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{footer:t}=e,{prefixCls:n,dataSource:r}=e;return"function"==typeof t&&(t=t(r)),(0,L.isValidElement)(t)||"string"==typeof t?L.createElement("div",{className:`${n}-footer`,key:"footer","x-semi-prop":"footer"},t):null},this.renderMainTable=e=>{let t=this.adapter.useFixedHeader(),n=this.renderEmpty(e);return[this.renderTable(Object.assign(Object.assign({},e),{fixed:!1,useFixedHeader:t,headerRef:this._cacheHeaderRef,bodyRef:this.bodyWrapRef,includeHeader:!t,emptySlot:n})),this.renderFooter(e)]},this.renderTable=e=>{let{columns:t,filteredColumns:n,fixed:r,useFixedHeader:i,scroll:o,prefixCls:s,anyColumnFixed:a,includeHeader:l,showHeader:c,components:u,headerRef:d,bodyRef:h,onHeaderRow:p,rowSelection:g,dataSource:y,bodyHasScrollBar:m,disabledRowKeysSet:b,sticky:w}=e,v=I()(g,"selectedRowKeysSet",new Set),E=this.adapter.getTableLayout(),S=r||i?L.createElement(q.Z,{key:"head",tableLayout:E,ref:d,columns:n,prefixCls:s,fixed:r,handleBodyScroll:this.handleBodyScrollLeft,components:u,scroll:o,showHeader:c,selectedRowKeysSet:v,onHeaderRow:p,dataSource:y,bodyHasScrollBar:m,sticky:w}):null;return[S,L.createElement(Q.Z,Object.assign({},f()(e,["rowSelection","headWidths"]),{key:"body",ref:h,columns:n,fixed:r,prefixCls:s,handleWheel:this.handleWheel,handleBodyScroll:this.handleBodyScroll,anyColumnFixed:a,tableLayout:E,includeHeader:l,showHeader:c,scroll:o,components:u,store:this.store,selectedRowKeysSet:v,disabledRowKeysSet:b}))]},this.handleColumns=(e,t)=>{let{hideExpandedColumn:r,scroll:i,prefixCls:o,expandCellFixed:s,expandIcon:a,rowSelection:l}=this.props,c="children",u=(0,et.Xh)(t),d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];Array.isArray(e)&&e.length&&p()(e,(e,t,r)=>{let i=n.addFnsInColumn(e),o=e[c];if(Array.isArray(o)&&o.length){let e=[...o];d(e),i[c]=e}r[t]=i})};if(d(u),!r){let e=this.normalizeExpandColumn({prefixCls:o,expandCellFixed:s,expandIcon:a}),t=S()(u,e=>e.key===M.j2.DEFAULT_KEY_COLUMN_EXPAND);e&&(t>-1?u[t]=Object.assign(Object.assign({},e),u[t]):u="right"===e.fixed?[...u,e]:[e,...u])}if(l&&!I()(l,"hidden")){let e=S()(u,e=>e.key===M.j2.DEFAULT_KEY_COLUMN_SELECTION),t=this.normalizeSelectionColumn({rowSelection:l,prefixCls:o});e>-1?u[e]=Object.assign(Object.assign({},t),u[e]):u="right"===t.fixed?[...u,t]:[t,...u]}return(0,P.Ac)(u),u},this.normalizeColumns=(e,t)=>(0,et.Xh)(this.getColumns(e,t)),this.mergePagination=e=>Object.assign({onChange:this.foundation.setPage},e),this.foundation=new U.Z(this.adapter);let r=this.getColumns(e.columns,e.children),o=(0,P.L8)(r),a=U.Z.initColumnsFilteredValueAndSorterOrder((0,et.Xh)(o)),c=this.foundation.getFilteredSortedDataSource(this.props.dataSource,a),d=i()(this.props.pagination)?this.props.pagination:{},h=this.foundation.getCurrentPageData(c,d,a);this.state={cachedColumns:r,cachedChildren:e.children,flattenColumns:o,components:(0,ee.xM)(e.components,e.virtualized),queries:a,dataSource:h.dataSource,flattenData:[],expandedRowKeys:[...e.expandedRowKeys||[],...e.defaultExpandedRowKeys||[]],rowSelection:e.rowSelection?s()(e.rowSelection)?Object.assign({},e.rowSelection):{}:null,pagination:h.pagination,groups:null,allRowKeys:[],disabledRowKeys:[],disabledRowKeysSet:new Set,allDisabledRowKeys:[],allDisabledRowKeysSet:new Set,headWidths:[],bodyHasScrollBar:!1,prePropRowSelection:void 0,prePagination:void 0},this.rootWrapRef=(0,L.createRef)(),this.wrapRef=(0,L.createRef)(),this.bodyWrapRef=(0,L.createRef)(),this.headerWrapRef=(0,L.createRef)(),this.store=new B.Z({hoveredRowKey:null}),this.debouncedWindowResize=b()(this.handleWindowResize,150),this.cachedFilteredSortedDataSource=[],this.cachedFilteredSortedRowKeys=[],this.cachedFilteredSortedRowKeysSet=new Set}}er.contextType=H.Z,er.propTypes={className:k().string,style:k().object,prefixCls:k().string,components:k().any,bordered:k().bool,loading:k().bool,size:k().oneOf(M.j2.SIZES),tableLayout:k().oneOf(M.j2.LAYOUTS),columns:k().arrayOf(k().shape(Z.Z)),hideExpandedColumn:k().bool,id:k().string,expandIcon:k().oneOfType([k().bool,k().func,k().node]),expandCellFixed:k().oneOf(M.j2.FIXED_SET),title:k().oneOfType([k().string,k().node,k().func]),onHeaderRow:k().func,showHeader:k().bool,indentSize:k().number,rowKey:k().oneOfType([k().func,k().string,k().number]),onRow:k().func,onExpandedRowsChange:k().func,onExpand:k().func,rowExpandable:k().func,expandedRowRender:k().func,expandedRowKeys:k().array,defaultExpandAllRows:k().bool,expandAllRows:k().bool,defaultExpandAllGroupRows:k().bool,expandAllGroupRows:k().bool,defaultExpandedRowKeys:k().array,pagination:k().oneOfType([k().object,k().bool]),renderPagination:k().func,footer:k().oneOfType([k().func,k().string,k().node]),empty:k().node,dataSource:k().array,childrenRecordName:k().string,rowSelection:k().oneOfType([k().object,k().bool]),onChange:k().func,scroll:k().shape({x:k().oneOfType([k().number,k().string,k().bool]),y:k().oneOfType([k().number,k().string])}),groupBy:k().oneOfType([k().string,k().number,k().func]),renderGroupSection:k().oneOfType([k().func]),onGroupedRow:k().func,clickGroupedRowToExpand:k().bool,virtualized:k().oneOfType([k().object,k().bool]),dropdownPrefixCls:k().string,expandRowByClick:k().bool,getVirtualizedListRef:k().func},er.defaultProps={tableLayout:"",dataSource:[],prefixCls:M.UX.PREFIX,rowSelection:null,className:"",childrenRecordName:"children",size:"default",loading:!1,bordered:!1,expandCellFixed:!1,hideExpandedColumn:!0,showHeader:!0,indentSize:M.KT.DEFAULT_INDENT_WIDTH,onChange:x(),pagination:!0,rowKey:"key",defaultExpandedRowKeys:[],defaultExpandAllRows:!1,defaultExpandAllGroupRows:!1,expandAllRows:!1,expandAllGroupRows:!1,onFilterDropdownVisibleChange:x(),onExpand:x(),onExpandedRowsChange:x(),expandRowByClick:!1},t.Z=er},805722:function(e,t,n){"use strict";n(932651),n(490629);var r=n(101199),i=n(469935),o=n.n(i),s=n(622689),a=n.n(s);n(391909);var l=n(16979),c=n(559748),u=n(230720),d=n(434639),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let h=l.U.PREFIX;class p extends r.PureComponent{render(){let e;let t=this.props,{children:n,className:i,style:s,mode:a,dataSource:l}=t,u=f(t,["children","className","style","mode","dataSource"]),p=o()(h,i,{[`${h}-${a}`]:a});if(l&&l.length){let t=l.map((e,t)=>r.createElement(d.Z,Object.assign({key:`timeline-item-${t}`},e),e.content));e=this.addClassName(t)}let g=e||this.addClassName(n);return r.createElement("ul",Object.assign({"aria-label":this.props["aria-label"],style:s,className:p},(0,c.Z)(u)),g)}constructor(){super(...arguments),this.getPosCls=(e,t)=>{let{mode:n}=this.props;if("alternate"===n)return e.props.position?`${h}-item-${e.props.position}`:t%2==0?`${h}-item-left`:`${h}-item-right`;if("center"===n)return e.props.position?`${h}-item-${e.props.position}`:`${h}-item-left`;return"left"===n||"right"===n?`${h}-item-${n}`:e.props.position?`${h}-item-${e.props.position}`:""},this.addClassName=e=>r.Children.map(e,(e,t)=>r.isValidElement(e)?r.cloneElement(e,{className:o()(e.props.className,this.getPosCls(e,t))}):e)}}p.contextType=u.Z,p.Item=d.Z,p.propTypes={mode:a().oneOf(l.j.MODE),className:a().string,style:a().object,dataSource:a().array},p.defaultProps={mode:"left"},t.Z=p},891134:function(e,t,n){"use strict";let r;n(240148),n(759943);var i=n(285406),o=n.n(i);function s(e){if(!e)return 0;let t=e.match(/^\d*(\.\d*)?/);return t?Number(t[0]):0}t.Z=function(e,t){var n;let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3?arguments[3]:void 0,l=arguments.length>4?arguments[4]:void 0,c=arguments.length>5?arguments[5]:void 0,u=arguments.length>6?arguments[6]:void 0,d=arguments.length>7?arguments[7]:void 0;if(0===i.length)return"";!r&&((r=document.createElement("div")).setAttribute("aria-hidden","true"),document.body.appendChild(r));let f=window.getComputedStyle(e);let h=(n=f,Array.prototype.slice.apply(n).map(e=>`${e}: ${n.getPropertyValue(e)};`).join("")),p=Math.round(s(f.lineHeight)*(t+1)+s(f.paddingTop)+s(f.paddingBottom));function g(){let e=r.scrollWidth<=r.offsetWidth,n=r.scrollHeight<p;return 1===t?e&&n:n}r.setAttribute("style",h),r.style.position="fixed",r.style.left="0","auto"===f.getPropertyValue("width")&&e.offsetWidth&&(r.style.width=`${e.offsetWidth}px`),r.style.height="auto",r.style.top="-999999px",r.style.zIndex="-1000",d&&(r.style.fontWeight="600"),r.style.textOverflow="clip",r.style.webkitLineClamp="none",r.innerHTML="";let y=document.createElement("span"),m=document.createTextNode(i);if(y.appendChild(m),c.length>0){let e=document.createTextNode(c);y.appendChild(e)}r.appendChild(y),Object.values(o()(a,"expand")).map(e=>e&&r.appendChild(e.cloneNode(!0)));function b(e,t){let n=e.length;return t?"end"===u?e.slice(0,t)+l:e.slice(0,t)+l+e.slice(n-t,n):l}let w=i;return!g()&&(r.innerHTML="",r.appendChild(y),Object.values(a).map(e=>e&&r.appendChild(e.cloneNode(!0))),w=function e(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n.length,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,s=Math.floor((r+i)/2),a=b(n,s);if(t.textContent=a,r>=i-1&&i>0)for(let e=i;e>=r;e-=1){let r=b(n,e);if(t.textContent=r,g())return r}else if(0===i)return l;return g()?e(t,n,s,i,s):e(t,n,r,s,o)}(m,i,0,"middle"===u?Math.floor(i.length/2):i.length)),r.innerHTML="",w}},374315:function(e,t,n){"use strict";n.d(t,{Vs:function(){return m},Xt:function(){return y},_w:function(){return p},b3:function(){return i},cL:function(){return d},gn:function(){return b},j6:function(){return g},tL:function(){return f},vJ:function(){return h}});var r=n(480333);n(374954),n(490629),n(228983),n(759943),n(527553),n(190932),n(808483),n(126159),n(100832),n(825666),n(943281),n(82726),n(656562),n(992871),n(414931);class i{constructor(){(0,r._)(this,"version",0),(0,r._)(this,"streams",[]),(0,r._)(this,"isMaster",!0)}}let o="AUDIO",s="SUBTITLE",a="org.w3.clearkey",l=["urn:uuid:94ce86fb-07ff-4f43-adb8-93d2fa968ca2","com.apple.streamingkeydelivery"],c=["urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed","com.widevine.alpha","com.widevine"],u=["urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95","com.microsoft.playready"];class d{constructor(){(0,r._)(this,"id",0),(0,r._)(this,"url",""),(0,r._)(this,"default",!1),(0,r._)(this,"autoSelect",!1),(0,r._)(this,"forced",!1),(0,r._)(this,"group",""),(0,r._)(this,"name",""),(0,r._)(this,"lang",""),(0,r._)(this,"segments",[]),(0,r._)(this,"endSN",0)}}class f extends d{constructor(...e){super(...e),(0,r._)(this,"mediaType",o),(0,r._)(this,"channels",0)}}class h extends d{constructor(...e){super(...e),(0,r._)(this,"mediaType",s)}}class p{constructor(){(0,r._)(this,"id",0),(0,r._)(this,"bitrate",0),(0,r._)(this,"width",0),(0,r._)(this,"height",0),(0,r._)(this,"name",""),(0,r._)(this,"url",""),(0,r._)(this,"audioCodec",""),(0,r._)(this,"videoCodec",""),(0,r._)(this,"textCodec",""),(0,r._)(this,"audioGroup",""),(0,r._)(this,"audioStreams",[]),(0,r._)(this,"subtitleStreams",[]),(0,r._)(this,"closedCaptionsStream",[])}}class g{constructor(){(0,r._)(this,"version",0),(0,r._)(this,"url",""),(0,r._)(this,"type",""),(0,r._)(this,"startCC",0),(0,r._)(this,"endCC",0),(0,r._)(this,"startSN",0),(0,r._)(this,"endSN",0),(0,r._)(this,"totalDuration",0),(0,r._)(this,"targetDuration",0),(0,r._)(this,"partTargetDuration",0),(0,r._)(this,"canSkipUntil",0),(0,r._)(this,"canSkipDateRanges",!1),(0,r._)(this,"skippedSegments",0),(0,r._)(this,"canBlockReload",!1),(0,r._)(this,"partHoldBack",0),(0,r._)(this,"live",!0),(0,r._)(this,"lowLatency",!1),(0,r._)(this,"endPartIndex",0),(0,r._)(this,"segments",[]),(0,r._)(this,"dateRanges",{}),(0,r._)(this,"skippedSegments",0)}}class y{get end(){return this.start+this.duration}setTrackExist(e,t){this.hasVideo=e,this.hasAudio=t}setByteRange(e,t){this.byteRange=[0];let n=e.split("@");1===n.length&&t&&t.byteRange?(this.byteRange[0]=t.byteRange[1]||0,this.byteRange[0]&&(this.byteRange[0]+=1)):this.byteRange[0]=parseInt(n[1]),this.byteRange[1]=this.byteRange[0]+parseInt(n[0])-1}constructor(e){(0,r._)(this,"sn",0),(0,r._)(this,"cc",0),(0,r._)(this,"url",""),(0,r._)(this,"parentUrl",""),(0,r._)(this,"title",""),(0,r._)(this,"start",0),(0,r._)(this,"duration",0),(0,r._)(this,"dataTime",""),(0,r._)(this,"key",null),(0,r._)(this,"byteRange",null),(0,r._)(this,"isInitSegment",!1),(0,r._)(this,"initSegment",null),(0,r._)(this,"isLast",!1),(0,r._)(this,"hasAudio",!1),(0,r._)(this,"hasVideo",!1),(0,r._)(this,"independent",!1),(0,r._)(this,"partIndex",0),this.parentUrl=e}}class m{clone(e){let t=new m(this);return null!=e&&t.setIVFromSN(e),t}setIVFromSN(e){if(!this.iv&&"AES-128"===this.method&&"number"==typeof e&&this.url){this.iv=new Uint8Array(16);for(let t=12;t<16;t++)this.iv[t]=e>>8*(15-t)&255}}isSegmentEncrypted(){let{method:e}=this;return"AES-128"===e}isValidKeySystem(){return!!((function e(t){let n=[];for(let r=0;r<t.length;r++)Array.isArray(t[r])?n=n.concat(e(t[r])):n.push(t[r]);return n})([a,l,c,u]).indexOf(this.keyFormat)>-1&&["SAMPLE-AES","SAMPLE-AES-CENC","SAMPLE-AES-CTR"].indexOf(this.method)>-1)||!1}isSupported(){return!!this.method&&(!!this.isSegmentEncrypted()||!!this.isValidKeySystem()||!1)}constructor(e){(0,r._)(this,"method",""),(0,r._)(this,"url",""),(0,r._)(this,"iv",null),(0,r._)(this,"keyFormat",""),(0,r._)(this,"keyFormatVersions",""),e instanceof m&&(this.method=e.method,this.url=e.url,this.keyFormat=e.keyFormat,this.keyFormatVersions=e.keyFormatVersions,e.iv&&(this.iv=new Uint8Array(e.iv)))}}class b{addDirectives(e){let t=new self.URL(e);return void 0!==this.msn&&t.searchParams.set("_HLS_msn",this.msn.toString()),this.part&&t.searchParams.set("_HLS_part",this.part.toString()),this.skip&&t.searchParams.set("_HLS_skip",this.skip),t.href}constructor(e,t,n){this.msn=e,this.part=t,this.skip=n}}},773897:function(e,t,n){"use strict";n.d(t,{i:function(){return o}}),n(932651);var r=n(276826),i=n(666770);function o(e){return Object.assign({plugins:[i.Z]},(0,r.FW)(e),e)}},34768:function(e,t,n){"use strict";n.d(t,{Zo:function(){return r}});var r={ISREADY:"up_isready",STARTPLAY:"up_startplay",TRANSMIT_LOG:"up_getlog",PROTOCOL_CONFIG:"up_protocolconfig",MEDIACODEC_CONFIG:"up_veconfig",LOAD_STREAM:"up_loadstream",SEAMLESS_LOAD_STREAM:"up_seamlessloadstream",CANCEL_SWITCH:"up_cancelswitch",PLAY:"up_play",PAUSE:"up_pause",MUTED_SET:"up_mutedset",LOOP_CHANGE:"up_loopchange",CURRENT_TIME:"up_currenttime",PLAYBACKRATE:"up_playbackrate",WRITABLE:"up_writable",FREQUENT_STATISTICS:"up_frequentstatistics",ERROR:"up_error",PROCESS_ERROR:"up_process_error",VISIBILITYSTATE:"up_process_visibilityState",RESET:"up_reset",SR_RUNNING:"up_srrunning",RESUME_PROCESSOR:"up_resume_processor",MESSAGE_EVENT_RECEIVESUCCESS:"down_e_receivesuccess",MESSAGE_EVENT_ISREADY:"down_e_ready",MESSAGE_EVENT_LOADEDMETADATA:"down_e_loadedmetadata",MESSAGE_EVENT_DURATIONCHANGE:"down_e_durationchange",MESSAGE_EVENT_WAITING:"down_e_waiting",MESSAGE_EVENT_SEEKING:"down_e_seeking",MESSAGE_EVENT_SEEKED:"down_e_seeked",MESSAGE_EVENT_PROGRESS:"down_e_progress",MESSAGE_EVENT_TIMEUPDATE:"down_e_timeupdate",MESSAGE_EVENT_ENDED:"down_ended",MESSAGE_EVENT_RATECHANGE:"down_e_ratechange",MESSAGE_TRANS_LOG:"down_translog",MESSAGE_INIT_RENDER:"down_initrender",MESSAGE_FIRSTFRAME:"down_firstframe",MESSAGE_STATISTICS:"down_statistics",MESSAGE_EVENT_VEERROR:"down_e_veerror",MESSAGE_EVENT_DROPFRAMES:"down_e_dropframes",MESSAGE_EVENT_CANPLAY:"down_e_canplay",MESSAGE_EVENT_PLAYING:"down_e_playing",MESSAGE_EVENT_SEGMENT_DONE:"down_e_segment_done",MESSAGE_EVENT_PRELOAD_CACHE:"down_e_preload_cache",SRSTATE_CHANGE:"srstate_change",URLCHANGE:"urlchange",DESTROY:"destroy",VOLUMEBALANCE_UPDATE:"volumebalance_update",DOWN_WRITABLE:"down_writable",VOLUMEBALANCE_DATA:"volumebalance_data",workerinit:"f-workerinit",startload:"f-startload",firstbyte:"f-firstbyte",loadmeta:"f-loadmeta",metaparse:"f-metaparse",addmeta:"f-addmeta",videodecodeinits:"f-videodecodeinits",audiodecodeinits:"f-audiodecodeinits",videodecodeinited:"f-videodecodeinited",audiodecodeinited:"f-audiodecodeinited",appendvideodata:"f-appendvideodata",startdecodevideo:"f-startdecodevideo",outputvideo:"f-outputvideo",writevideo:"f-writevideo",writeready:"f-writeready",AV_UNSYNC:"av-unsync",SDP_LOAD:"sdp-load",SDP_DISCONNECT:"sdp-disconnect",SDP_TRANSFORM:"sdp-transform",AV_CODEC_INFO:"av-codec-info",RTM_STATS:"rtm-stats",RTM_RESPONSE_HEADERS:"rtm-response-headers",RTM_TTFB:"rtm-ttfb",RTM_SAMPLE_RATE_CHANGE:"rtm-sample-rate-change",RTM_WEBTS_PRELOAD:"up_rtm_webts_preload",RTM_WEBTS_CANCEL_PRELOADED:"up_rtm_webts_cancel_preloaded",RTM_WEBTS_CLEAR_PRELOADED:"up_rtm_webts_clear_preloaded"}},615919:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var r=n(480333);class i{constructor(e,t,n,i){(0,r._)(this,"duration",1024),(0,r._)(this,"flag",{dependsOn:2,isNonSyncSample:0}),(0,r._)(this,"keyframe",!0),this.originPts=this.pts=this.dts=e,this.data=t,this.size=t.byteLength,this.sampleOffset=i,n&&(this.duration=n)}}},103772:function(e,t,n){"use strict";n.d(t,{C:function(){return i},q:function(){return r}});let r=["top","right","bottom","left","topRight","bottomRight","bottomLeft","topLeft"],i={width:"auto",height:"auto"}},750240:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(856445);class i extends r.Z{}},120107:function(e,t,n){"use strict";n(932651);var r=n(856445);class i extends r.Z{static get spinDefaultAdapter(){return{getProp:()=>void 0,setLoading:e=>void 0}}updateLoadingIfNeedDelay(){let{spinning:e,delay:t}=this._adapter.getProps(),{delay:n}=this._adapter.getStates();if(n){let n=this;this._timer=setTimeout(()=>{n._adapter.setState({loading:e,delay:0})},t)}}destroy(){this._timer&&(clearTimeout(this._timer),this._timer=null)}constructor(e){super(Object.assign(Object.assign({},i.spinDefaultAdapter),e))}}t.Z=i},355562:function(e,t,n){"use strict";n(76375);var r=n(228901)},609301:function(e,t,n){"use strict";n.d(t,{z0:function(){return o}});var r=n(731343);function i(e){e()}function o(e){!e&&(e=i),(0,r.configure)({reactionScheduler:e})}},576296:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(508881);function i(e,t){for(;!({}).hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}},739809:function(e,t,n){"use strict";n.d(t,{X:function(){return d}});var r=n(29394),i=n(368183),o=n(463334),s=n(13202),a=n(187486);let l={tokenize:function(e,t,n){return function(i){return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),e.attempt(r.w,t,n)}},partial:!0},c="https://github.com/micromark/micromark-extension-mdxjs-esm",u=new Set(["ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ImportDeclaration"]);function d(e){let t={tokenize:function(t,d,f){let h=this,p=h.parser.definedModuleSpecifiers||(h.parser.definedModuleSpecifiers=[]),g=this.events.length+1,y="";return h.interrupt?f:function(e){return h.now().column>1?f(e):(t.enter("mdxjsEsm"),t.enter("mdxjsEsmData"),t.consume(e),y+=String.fromCharCode(e),m)};function m(e){return(0,i.jv)(e)?(t.consume(e),y+=String.fromCharCode(e),m):("import"===y||"export"===y)&&32===e?(t.consume(e),b):f(e)}function b(e){return null===e||(0,i.Ch)(e)?(t.exit("mdxjsEsmData"),w(e)):(t.consume(e),b)}function w(e){return null===e?E(e):(0,i.Ch)(e)?t.check(l,E,v)(e):(t.enter("mdxjsEsmData"),b(e))}function v(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),w}function E(i){let l=(0,o.A)(h.events.slice(g),{acorn:n,acornOptions:r,tokenTypes:["mdxjsEsmData"],prefix:p.length>0?"var "+p.join(",")+"\n":""});if(l.error){if(null!==i&&l.swallow)return v(i);let e=new a.$("Could not parse import/exports with acorn",{cause:l.error,place:{line:l.error.loc.line,column:l.error.loc.column+1,offset:l.error.pos},ruleId:"acorn",source:"micromark-extension-mdxjs-esm"});throw e.url=c+"#could-not-parse-importexports-with-acorn",e}p.length>0&&l.estree.body.shift();let f=-1;for(;++f<l.estree.body.length;){let e=l.estree.body[f];if(!u.has(e.type)){let t=new a.$("Unexpected `"+e.type+"` in code: only import/exports are supported",{place:(0,s.t)(e),ruleId:"non-esm",source:"micromark-extension-mdxjs-esm"});throw t.url=c+"#unexpected-type-in-code-only-importexports-are-supported",t}if("ImportDeclaration"===e.type&&!h.interrupt){let t=-1;for(;++t<e.specifiers.length;){let n=e.specifiers[t];p.push(n.local.name)}}}return Object.assign(t.exit("mdxjsEsm"),e.addResult?{estree:l.estree}:void 0),d(i)}},concrete:!0};if(!e||!e.acorn||!e.acorn.parse)throw Error("Expected an `acorn` instance passed in as `options.acorn`");let n=e.acorn,r=Object.assign({ecmaVersion:2024,sourceType:"module"},e.acornOptions,{locations:!0});return{flow:{101:t,105:t}}}},894425:function(e,t,n){"use strict";n.d(t,{d:function(){return i}});let r=/[\0\t\n\r]/g;function i(){let e,t=1,n="",i=!0;return function(o,s,a){let l,c,u,d,f;let h=[];for(o=n+("string"==typeof o?o.toString():new TextDecoder(s||void 0).decode(o)),u=0,n="",i&&(65279===o.charCodeAt(0)&&u++,i=void 0);u<o.length;){if(r.lastIndex=u,d=(l=r.exec(o))&&void 0!==l.index?l.index:o.length,f=o.charCodeAt(d),!l){n=o.slice(u);break}if(10===f&&u===d&&e)h.push(-3),e=void 0;else switch(e&&(h.push(-5),e=void 0),u<d&&(h.push(o.slice(u,d)),t+=d-u),f){case 0:h.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),h.push(-2);t++<c;)h.push(-1);break;case 10:h.push(-4),t=1;break;default:e=!0,t=1}u=d+1}return a&&(e&&h.push(-5),n&&h.push(n),h.push(null)),h}}},411142:function(e,t,n){"use strict";function r(e){return e}n.d(t,{$:function(){return r}})},625320:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});let r=e=>{let t;let n=new Set,r=(e,r)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let e=t;t=(null!=r?r:"object"!=typeof i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,o={setState:r,getState:i,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>n.clear()};return t=e(r,i,o),o},i=e=>e?r(e):r},324219:function(e,t,n){"use strict";let r;n.d(t,{Cy:function(){return m},Ic:function(){return h},Px:function(){return b},XY:function(){return f},pU:function(){return p}});var i,o,s,a,l,c,u=n(480333);n(302356),n(374954),n(190932),n(808483),n(126159),n(100832),n(825666),n(943281),n(82726),n(490629),n(932651),n(414931),n(527553),n(76375);let d=(null===(i="undefined"!=typeof globalThis?globalThis:void 0)||void 0===i?void 0:i.crypto)||(null===(o="undefined"!=typeof window?window:void 0)||void 0===o?void 0:o.crypto)||(null===(s="undefined"!=typeof window?window:void 0)||void 0===s?void 0:s.crypto)||(null===(a="undefined"!=typeof self?self:void 0)||void 0===a?void 0:a.crypto)||(null===(c="undefined"!=typeof frames?frames:void 0)||void 0===c?void 0:null===(l=c[0])||void 0===l?void 0:l.crypto);r=d?e=>{let t=[];for(let n=0;n<e;n+=4)t.push(d.getRandomValues(new Uint32Array(1))[0]);return new h(t,e)}:e=>{let t=[],n=e=>{let t=e,n=987654321;return()=>{let e=((n=36969*(65535&n)+(n>>16)&4294967295)<<16)+(t=18e3*(65535&t)+(t>>16)&4294967295)&4294967295;return e/=4294967296,(e+=.5)*(Math.random()>.5?1:-1)}};for(let r=0,i;r<e;r+=4){let e=n(4294967296*(i||Math.random()));i=987654071*e(),t.push(4294967296*e()|0)}return new h(t,e)};class f{static create(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return new this(...t)}mixIn(e){return Object.assign(this,e)}clone(){let e=new this.constructor;return Object.assign(e,this),e}}class h extends f{toString(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return e.stringify(this)}concat(e){let t=this.words,n=e.words,r=this.sigBytes,i=e.sigBytes;if(this.clamp(),r%4)for(let e=0;e<i;e+=1){let i=n[e>>>2]>>>24-e%4*8&255;t[r+e>>>2]|=i<<24-(r+e)%4*8}else for(let e=0;e<i;e+=4)t[r+e>>>2]=n[e>>>2];return this.sigBytes+=i,this}clamp(){let{words:e,sigBytes:t}=this;e[t>>>2]&=4294967295<<32-t%4*8,e.length=Math.ceil(t/4)}clone(){let e=super.clone.call(this);return e.words=this.words.slice(0),e}constructor(e=[],t=4*e.length){super();let n=e;if(n instanceof ArrayBuffer&&(n=new Uint8Array(n)),(n instanceof Int8Array||n instanceof Uint8ClampedArray||n instanceof Int16Array||n instanceof Uint16Array||n instanceof Int32Array||n instanceof Uint32Array||n instanceof Float32Array||n instanceof Float64Array)&&(n=new Uint8Array(n.buffer,n.byteOffset,n.byteLength)),n instanceof Uint8Array){let e=n.byteLength,t=[];for(let r=0;r<e;r+=1)t[r>>>2]|=n[r]<<24-r%4*8;this.words=t,this.sigBytes=e}else this.words=e,this.sigBytes=t}}(0,u._)(h,"random",r);let p={stringify(e){let{words:t,sigBytes:n}=e,r=[];for(let e=0;e<n;e+=1){let n=t[e>>>2]>>>24-e%4*8&255;r.push((n>>>4).toString(16)),r.push((15&n).toString(16))}return r.join("")},parse(e){let t=e.length,n=[];for(let r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new h(n,t/2)}},g={stringify(e){let{words:t,sigBytes:n}=e,r=[];for(let e=0;e<n;e+=1){let n=t[e>>>2]>>>24-e%4*8&255;r.push(String.fromCharCode(n))}return r.join("")},parse(e){let t=e.length,n=[];for(let r=0;r<t;r+=1)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new h(n,t)}},y={stringify(e){try{return decodeURIComponent(escape(g.stringify(e)))}catch(e){throw Error("Malformed UTF-8 data")}},parse:e=>g.parse(unescape(encodeURIComponent(e)))};class m extends f{reset(){this._data=new h,this._nDataBytes=0}_append(e){let t=e;"string"==typeof t&&(t=y.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_process(e){let t;let{_data:n,blockSize:r}=this,i=n.words,o=n.sigBytes,s=o/(4*r),a=(s=e?Math.ceil(s):Math.max((0|s)-this._minBufferSize,0))*r,l=Math.min(4*a,o);if(a){for(let e=0;e<a;e+=r)this._doProcessBlock(i,e);t=i.splice(0,a),n.sigBytes-=l}return new h(t,l)}clone(){let e=super.clone.call(this);return e._data=this._data.clone(),e}constructor(){super(),this._minBufferSize=0}}class b extends m{static _createHelper(e){return(t,n)=>new e(n).finalize(t)}static _createHmacHelper(e){return(t,n)=>new w(e,n).finalize(t)}reset(){super.reset.call(this),this._doReset()}update(e){return this._append(e),this._process(),this}finalize(e){return e&&this._append(e),this._doFinalize()}constructor(e){super(),this.blockSize=16,this.cfg=Object.assign(new f,e),this.reset()}}class w extends f{reset(){let e=this._hasher;e.reset(),e.update(this._iKey)}update(e){return this._hasher.update(e),this}finalize(e){let t=this._hasher,n=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(n))}constructor(e,t){super();let n=new e;this._hasher=n;let r=t;"string"==typeof r&&(r=y.parse(r));let i=n.blockSize,o=4*i;r.sigBytes>o&&(r=n.finalize(t)),r.clamp();let s=r.clone();this._oKey=s;let a=r.clone();this._iKey=a;let l=s.words,c=a.words;for(let e=0;e<i;e+=1)l[e]^=1549556828,c[e]^=909522486;s.sigBytes=o,a.sigBytes=o,this.reset()}}},760100:function(e,t,n){"use strict";n.d(t,{D:function(){return o}}),n(374954);var r=n(324219);let i=(e,t,n)=>{let i=[],o=0;for(let r=0;r<t;r+=1)if(r%4){let t=n[e.charCodeAt(r-1)]<<r%4*2,s=t|n[e.charCodeAt(r)]>>>6-r%4*2;i[o>>>2]|=s<<24-o%4*8,o+=1}return r.Ic.create(i,o)},o={stringify(e){let{words:t,sigBytes:n}=e,r=this._map;e.clamp();let i=[];for(let e=0;e<n;e+=3){let o=t[e>>>2]>>>24-e%4*8&255,s=t[e+1>>>2]>>>24-(e+1)%4*8&255,a=o<<16|s<<8|t[e+2>>>2]>>>24-(e+2)%4*8&255;for(let t=0;t<4&&e+.75*t<n;t+=1)i.push(r.charAt(a>>>6*(3-t)&63))}let o=r.charAt(64);if(o)for(;i.length%4;)i.push(o);return i.join("")},parse(e){let t=e.length,n=this._map,r=this._reverseMap;if(!r){this._reverseMap=[],r=this._reverseMap;for(let e=0;e<n.length;e+=1)r[n.charCodeAt(e)]=e}let o=n.charAt(64);if(o){let n=e.indexOf(o);-1!==n&&(t=n)}return i(e,t,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}}]); |