2 lines
76 KiB
Plaintext
2 lines
76 KiB
Plaintext
/*! For license information please see 13385.289539f5.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,c=/:?/gim,l=/&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,">")},m={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 g(e){return null==e}function v(e){var t;return'"'===(t=e)[0]&&'"'===t[t.length-1]||"'"===t[0]&&"'"===t[t.length-1]?e.substr(1,e.length-2):e}function b(e){var t,n,r,i,o,s,a,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="",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),l=l+c.charAt(i)+c.charAt(o)+c.charAt(s)+c.charAt(a);return l}function y(e){var t,n,r,i,o,s,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c="",l=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");l<e.length;)t=a.indexOf(e.charAt(l++))<<2|(i=a.indexOf(e.charAt(l++)))>>4,n=(15&i)<<4|(o=a.indexOf(e.charAt(l++)))>>2,r=(3&o)<<6|(s=a.indexOf(e.charAt(l++))),c+=String.fromCharCode(t),64!==o&&(c+=String.fromCharCode(n)),64!==s&&(c+=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}(c)}function _(e,t,n){var r="",i=0,o=!1,s=!1,a=0,c=e.length,l="",u="";e:for(a=0;a<c;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===c-1){r+=n(e.slice(i,o)),l=function(e){var t,n=m.spaceIndex(e);return t=-1===n?e.slice(1,-1):e.slice(1,n+1),"/"===(t=m.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,l,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<c&&(r+=n(e.substr(i))),r}function w(e,t){var n=0,i=0,o=[],s=!1,a=e.length;function c(e,n){if(!((e=(e=m.trim(e)).replace(r,"").toLowerCase()).length<1)){var i=t(e,n||"");i&&o.push(i)}}for(var l=0;l<a;l++){var u=e.charAt(l),d=void 0;if(!1!==s||"="!==u){if(!1===s||l!==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,l))){c(m.trim(e.slice(n,l))),s=!1,n=l+1;continue}l=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,l-1))){c(s,v(m.trim(e.slice(n,l)))),s=!1,n=l+1;continue}}}else{if(-1===(d=e.indexOf(u,l+1)))break;c(s,m.trim(e.slice(i+1,d))),s=!1,n=(l=d)+1}}else s=e.slice(n,l),n=l+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,l+1)}return n<e.length&&(!1===s?c(e.slice(n)):c(s,v(m.trim(e.slice(n))))),m.trim(o.join(" "))}function C(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 m.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(c,":").replace(l," "))}(n),"href"===t||"src"===t){if("#"===(n=m.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 S=function(e){return"string"==typeof e?e.replace(/'/g,'"').replace('=""',"").replace(/\s+/g,"").toLowerCase():""},T=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=C,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,c=a.whiteList,l=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 g=!1;a.stripIgnoreTagBody&&(n=a.stripIgnoreTagBody,"function"!=typeof(r=u)&&(r=function(){}),i=!Array.isArray(n),o=[],s=!1,u=(g={onIgnoreTag:function(e,t,a){var c;if(c=e,i||-1!==m.indexOf(n,c)){if(a.isClosing){var l="[/removed]",u=a.position+l.length;return o.push([!1!==s?s:a.position,u]),s=!1,l}return s||(s=a.position),"[removed]"}return r(e,t,a)},remove:function(e){var t="",n=0;return m.forEach(o,function(r){t+=e.slice(n,r[0]),n=r[1]}),t+=e.slice(n)}}).onIgnoreTag);var v=_(e,function(e,t,n,r,i){var o={sourcePosition:e,position:t,isClosing:i,isWhite:Object.prototype.hasOwnProperty.call(c,n)},s=l(n,r,o);if(null!=s)return s;if(o.isWhite){if(o.isClosing)return"</".concat(n,">");var a=function(e){var t=m.spaceIndex(e);if(-1===t)return{html:"",closing:"/"===e[e.length-2]};var n="/"===(e=m.trim(e.slice(t+1,-1)))[e.length-1];return n&&(e=m.trim(e.slice(0,-1))),{html:e,closing:n}}(r),g=c[n],v=w(a.html,function(e,t){var r=-1!==m.indexOf(g,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),v&&(r+=" ".concat(v)),a.closing&&(r+=" /"),r+=">"}return null==(s=u(n,r,o))?p(r):s},p);return g&&(v=g.remove(v)),v},e}(),x=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")(),k=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(!m.includes(r,"bid"))return r;if(e.config&&e.config.bid)return e.config.bid;if(x&&x._xssBid)return x._xssBid;if(x&&x.slardar&&"function"==typeof x.slardar.config){var i=(x.slardar.config()||{}).bid;if(i)return i}if(x&&x.Slardar&&"function"==typeof x.Slardar.config){var o=(x.Slardar.config()||{}).bid;if(o)return o}return(null===(n=null===(t=null==x?void 0:x.Slardar)||void 0===t?void 0:t._baseParams)||void 0===n?void 0:n.bid)||"argus"},this.getConfigRegion=function(){var t;return m.includes("cn","region")?e.config&&e.config.region?e.config.region:((null===(t=null==x?void 0:x.gfdatav1)||void 0===t?void 0:t.region)||"cn").toLowerCase():"cn"},this.gerReportUrl=function(){var t={cn:y("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boe:y("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),ttp:y("aHR0cHM6Ly9tb24udXMudGlrdG9rdi5jb20vbW9uaXRvcl9icm93c2VyL2NvbGxlY3QvYmF0Y2gvc2VjdXJpdHkvP2JpZD0="),va:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),maliva:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),sg:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boei18n:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9")}[e.getConfigRegion()];if(t)return t+e.getSlardarBid()}}return e.prototype.setConfig=function(e){this.config=e},e.prototype.upload=function(){var e=this,t=this.gerReportUrl();!this.lock&&t&&0!==this.batchData.length&&(this.lock=!0,setTimeout(function(){var n=e.batchData.slice(0,100);e.batchData=e.batchData.slice(100),x.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(x.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}()),R=function(e){for(var t=0,n=function(n){Array.isArray(e[n])?0===e[n].length?delete e[n]:(e[n]=m.from(m.uniq(e[n])),t+=e[n].length):0===m.keys(e[n]).length?delete e[n]:m.keys(e[n]).forEach(function(r){e[n][r]=m.from(m.uniq(e[n][r])),t+=e[n][r].length})},r=0,i=m.keys(e);r<i.length;r++)n(i[r]);return{count:t,ret:e}};function j(e,t){return k.setConfig(t),new T(t).process(e)}function E(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 P=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 I(e,t){if(void 0===e&&(e=""),"string"!=typeof e)return!0;if(e=P(e),m.includes(e,"base64")&&!function(e){if(""===e||""===e.trim())return!0;try{return!m.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(m.some(n,function(t){return -1!==e.indexOf(t)}))return m.forEach(n,function(n){-1!==e.indexOf(n)&&t&&t(n)}),!1;var r=["data:application","data:javascript","data:text/html","data:texthtml"];if(m.some(r,function(t){return -1!==e.indexOf(t)}))return m.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!!m.some(["void","void(0)","void0","false","undefined",";"],function(e){return e===i})||(t&&t("javascript:"),!1)}return!0}var O=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)||I(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 L(e,t,r){if(void 0===e&&(e=""),void 0===t&&(t=[]),"string"!=typeof e)return!0;if(!I(e=P(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)&&(!m.includes(["http","https","file"],s)||("object"==typeof window&&window&&(t=n(n([],t,!0),[location.host],!1)),m.some(t,function(e){return!!(e instanceof RegExp&&e.test(a))||e===a})))}var A={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:[]},N={collect:null,initCollect:function(){this.collect={whiteList:{},filterProtocol:[]}},removeCollect:function(){var e=R(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&&m.indexOf(["href","src"],t)>-1?N.domainWhiteList&&Array.isArray(N.domainWhiteList)&&N.domainWhiteList.length>0&&!L(r,n([],N.domainWhiteList,!0))?"":"".concat(t,'="').concat(O(r,function(e){var t;null===(t=N.collect)||void 0===t||t.filterProtocol.push(e)}),'"'):e&&(m.indexOf(["style","class","id"],t)>-1||t.indexOf("data-")>-1)?"".concat(t,'="').concat(r,'"'):(N.collect.whiteList[e]=N.collect.whiteList[e]||[],void N.collect.whiteList[e].push(t))},onIgnoreTag:function(e,t){if("style"===e)return t;_(t,function(e,t,n,r){w(E(r).html.replace("/",""),function(e){N.collect.whiteList[n]=N.collect.whiteList[n]||[],N.collect.whiteList[n].push(e)})},p)},whiteList:A,mergeWhiteList:function(e){for(var t,n={},r=0,i=m.keys(A);r<i.length;r++)n[t=i[r]]=m.from(A[t]);for(var o=0,s=m.keys(e);o<s.length;o++)n[t=s[o]]=t in A?A[t].concat(e[t]):m.from(e[t]);return n},setWhiteList:function(e){for(var t=0,n=m.keys(e);t<n.length;t++){var r=n[t];this.whiteList[r]=r in A?A[r].concat(e[r]):m.from(e[r])}}};try{var D={},M="merge";m.includes(M,"override")&&(N.whiteList=D.whiteList),m.includes(M,"merge")&&N.setWhiteList(D.whiteList)}catch(e){}var U=function(e,t){for(var n={},r=0,i=m.keys(e);r<i.length;r++){var o=i[r];Array.isArray(e[o])?n[o]=m.from(e[o]):n[o]=U({},e[o])}for(var s=0,a=m.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]=m.from(t[o]):n[o]=U({},t[o]);return n},Z={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 B={};B.blackAttrRegExps&&(B.blackAttrRegExps=B.blackAttrRegExps.map(function(e){return new RegExp(e.toString().slice(1,e.toString().length-1))}));var F="merge";m.includes(F,"override")&&(Z=B),m.includes(F,"merge")&&(Z=U(Z,B))}catch(e){}var V={mode:"black",whiteList:{},blackConfig:Z,collect:null,initCollect:function(){V.collect={blackList:{},blackTags:[],blackAttrs:[],blackAttrRegExps:[],filterAttrs:[],filterList:{},filterProtocol:[]}},removeCollect:function(){var e=R(V.collect),t=e.count,n=e.ret;return V.collect=null,{collectKey:0===t?null:JSON.stringify(n),collectMode:"black"}},onIgnoreTag:function(e,t){var n;if(!m.includes(Z.blackTags,e))return _(t,function(e,t,n,r,i){if(-1!==n.indexOf("/"))return p(r);if(i)return"</".concat(n,">");var o=E(r),s=w(o.html,function(e,t){var r,i=0;if(Z.blackList[n]&&m.includes(Z.blackList[n],e)&&(V.collect.blackList[n]=V.collect.blackList[n]||[],V.collect.blackList[n].push(e),i++),Z.blackAttrRegExps.length&&Z.blackAttrRegExps.some(function(t){return t.test(e)})&&m.forEach(Z.blackAttrRegExps,function(t){t.test(e)&&(V.collect.blackAttrRegExps.push("".concat(t.toString(),"->").concat(e)),i++)}),Z.blackAttrs.length&&m.includes(Z.blackAttrs,e)&&(Z.blackAttrs.push(e),i++),!i){if(Z.filterList&&Z.filterList[n]&&m.includes(Z.filterList[n],e)){var o=O(t,function(e){var t;null===(t=V.collect)||void 0===t||t.filterProtocol.push(e)});return o!==t&&(V.collect.filterList[n]=V.collect.filterList[n]||[],V.collect.filterList[n].push(e)),t?"".concat(e,"='").concat(o,"'"):e}return Z.filterAttrs&&m.includes(Z.filterAttrs,e)?((o=O(t,function(e){var t;null===(t=V.collect)||void 0===t||t.filterProtocol.push(e)}))!==t&&(null===(r=V.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=V.collect)||void 0===n||n.blackTags.push(e)}},q=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")},z=function(e){return function(n,r,i){if(!n||"string"!=typeof n)return n;var o=r;e===j&&(o=N).initCollect();var s=e(n,o);if(S(s)===S(n))return n;if(!i)return s;var a=i.logType,c=q(i),l=o.removeCollect();return k.report(t(t({type:a,disposition:c},l),{sourceText:b(n),filterText:b(s)})),"enforce"===c?s:n}},W=z(function(e,t){return void 0===t&&(t={}),t&&t.whiteList||(t.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}),new T(t).process(e)}),J=z(j),$=function(e,t,n){var r=[],i=O(e,function(e){r.push(e)});if(i===e)return e;r=m.from(m.uniq(r));var o=t||n||{};if(!o)return i;var s=o.logType,a=q(n);return k.report({type:s,disposition:a,collectKey:r.join("___"),collectData:JSON.stringify(r),collectMode:"black",sourceText:b(e),filterText:b(i)}),"enforce"===a?i:e},H=x._xssProject||{},K=x.xssNamespace||{},X="3.0.26",Y={FilterXSS:T,version:X,webpackPluginVersion:"<%= webpackPluginVersion =>",reportOnly:"<%= reportOnly =>",filterXSS:W,_filterXSS:J,filterUrl:$,Config:N,BlackConfig:V,project:H,setProjectName:function(e){H[e]=this,x._xssProjectName=e}};K.douyin_web=Y,x.xssNamespace=K,x.Math&&!x.Math.xssNamespace&&(x.Math.xssNamespace=K),H[X]=Y,x.globalThis=x,x.getFilterXss=function(){return void 0!==this._xssProjectName?this._xssProject[this._xssProjectName]:Y},x.xss=Y,x.isSafeUrl=L,x.isSafeDomain=L,x.isSafeProtocol=I,x._xssProject=H,x._xssProjectName&&(H[x._xssProjectName]=Y);var G=Y.setProjectName.bind(Y);e.BlackConfig=V,e.Config=N,e.FilterXSS=T,e._filterXSS=J,e.filterUrl=$,e.filterXSS=W,e.isSafeDomain=L,e.isSafeProtocol=I,e.isSafeUrl=L,e.project=H,e.setProjectName=G,e.setXssNamespace=function(e){var t=e.appId,n=e.bid,r=e.region;K[t]=Y;N.bid=n,N.region=r,N.enabled=!0},e.xssNamespace=K,Object.defineProperty(e,"__esModule",{value:!0})}),(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["13385"],{877004:function(e,t,n){"use strict";var r=n(101199),i=n(994298);let o=(0,i.A)(function(e){return r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 2a8.5 8.5 0 1 0 4.86 15.48l4.08 4.08a1.5 1.5 0 1 0 2.12-2.12l-4.08-4.08A8.5 8.5 0 0 0 10.5 2ZM5 10.5a5.5 5.5 0 1 1 11 0 5.5 5.5 0 0 1-11 0Z",fill:"currentColor"}))},"search");t.Z=o},87853:function(e,t,n){"use strict";var r=n(101199),i=n(994298);let o=(0,i.A)(function(e){return r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3a1 1 0 0 0-1.62-.78L4.65 7H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2.65l5.73 4.78A1 1 0 0 0 12 21V3Zm4.07 5.45a1.5 1.5 0 1 0-2.14 2.1 1.99 1.99 0 0 1 0 2.8 1.5 1.5 0 0 0 2.14 2.1 4.99 4.99 0 0 0 0-7Z",fill:"currentColor"}))},"volume_1");t.Z=o},782499:function(e,t,n){"use strict";n.d(t,{CH:function(){return f},_i:function(){return u},o5:function(){return l},s0:function(){return d}});var r=n(796616),i=n(600737),o=n(239202),s=n(934057),a=new o.Yd("event"),c={},l=function(e,t){null!==(o=c[e])&&void 0!==o||(c[e]=[]);var n=!0,r=!1,i=void 0;try{for(var o,s,l=c[e][Symbol.iterator]();!(n=(s=l.next()).done);n=!0)if(s.value.containerID===t.containerID){a.warn('当前页面已监听 "'.concat(e,'" 事件'));return}}catch(e){r=!0,i=e}finally{try{!n&&null!=l.return&&l.return()}finally{if(r)throw i}}a.info("监听事件 ".concat(e,": ").concat(t.containerID)),c[e].push(t)},u=function(e,t){var n;if(!!(null===(n=c[e])||void 0===n?void 0:n.length))a.info("取消监听事件 ".concat(e,": ").concat(t)),c[e]=(c[e]||[]).filter(function(e){return e.containerID!==t})},d=function(e,t){var n,r;if(!!(null===(n=c[e])||void 0===n?void 0:n.length)||!!(null===(r=c["*"])||void 0===r?void 0:r.length))a.info("触发事件 ".concat(e)),c[e]&&(c[e]=c[e].filter(function(n){return n.sendEvent(e,t),!n.once})),c["*"]&&(c["*"]=c["*"].filter(function(n){return n.sendEvent(e,t),!n.once}))},f=function(e,t){var n={__msg_type:"event",__event_id:e,__params:t};document.querySelectorAll('[data-container-id^="'.concat(i.TO,'"]')).forEach(function(i){var o=i.dataset.containerId||i.getAttribute("data-container-id")||"";if(o&&(0,s.En)(o)){var a=(0,s.NP)(o,e);if(a.length){var c=[];a.forEach(function(e){i.contentWindow.postMessage({type:"executeCallback",callbackID:e.id,params:t},"*"),e.once&&c.push(e.id)}),c.length&&(0,s.t$)(o,e,c)}}else i.contentWindow.postMessage({type:r.rG,data:JSON.stringify(n)},"*")})}},11453:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(726588),i=n(144256);function o(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(e),o=(0,r.Z)(t);return n.getFullYear()===o.getFullYear()&&n.getMonth()===o.getMonth()}},580227:function(e,t,n){"use strict";var r=n(177405).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){(0,f.default)(2,arguments);var r,_,w,C,S,T,x,k,R,j,E,P,I,O,L,A,N,D,M=String(t),U=(0,h.getDefaultOptions)(),Z=null!==(r=null!==(_=null==n?void 0:n.locale)&&void 0!==_?_:U.locale)&&void 0!==r?r:p.default,B=(0,d.default)(null!==(w=null!==(C=null!==(S=null!==(T=null==n?void 0:n.firstWeekContainsDate)&&void 0!==T?T:null==n?void 0:null===(x=n.locale)||void 0===x?void 0:null===(k=x.options)||void 0===k?void 0:k.firstWeekContainsDate)&&void 0!==S?S:U.firstWeekContainsDate)&&void 0!==C?C:null===(R=U.locale)||void 0===R?void 0:null===(j=R.options)||void 0===j?void 0:j.firstWeekContainsDate)&&void 0!==w?w:1);if(!(B>=1&&B<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var F=(0,d.default)(null!==(E=null!==(P=null!==(I=null!==(O=null==n?void 0:n.weekStartsOn)&&void 0!==O?O:null==n?void 0:null===(L=n.locale)||void 0===L?void 0:null===(A=L.options)||void 0===A?void 0:A.weekStartsOn)&&void 0!==I?I:U.weekStartsOn)&&void 0!==P?P:null===(N=U.locale)||void 0===N?void 0:null===(D=N.options)||void 0===D?void 0:D.weekStartsOn)&&void 0!==E?E:0);if(!(F>=0&&F<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!Z.localize)throw RangeError("locale must contain localize property");if(!Z.formatLong)throw RangeError("locale must contain formatLong property");var V=(0,s.default)(e);if(!(0,i.default)(V))throw RangeError("Invalid time value");var q=(0,l.default)(V),z=(0,o.default)(V,q),W={firstWeekContainsDate:B,weekStartsOn:F,locale:Z,_originalDate:V};return M.match(g).map(function(e){var t=e[0];return"p"===t||"P"===t?(0,c.default[t])(e,Z.formatLong):e}).join("").match(m).map(function(r){if("''"===r)return"'";var i=r[0];if("'"===i)return function(e){var t=e.match(v);return t?t[1].replace(b,"'"):e}(r);var o=a.default[i];if(o)return!(null!=n&&n.useAdditionalWeekYearTokens)&&(0,u.isProtectedWeekYearToken)(r)&&(0,u.throwProtectedError)(r,t,String(e)),!(null!=n&&n.useAdditionalDayOfYearTokens)&&(0,u.isProtectedDayOfYearToken)(r)&&(0,u.throwProtectedError)(r,t,String(e)),o(z,r,Z.localize,W);if(i.match(y))throw RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");return r}).join("")};var i=r(n(792139)),o=r(n(116439)),s=r(n(452811)),a=r(n(405007)),c=r(n(15413)),l=r(n(995863)),u=n(85064),d=r(n(678296)),f=r(n(826204)),h=n(423305),p=r(n(205647)),m=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,g=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,v=/^'([^]*?)'?$/,b=/''/g,y=/[a-zA-Z]/;e.exports=t.default},199900:function(e,t,n){var r=n(679197),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},149155:function(e,t,n){var r=n(956823)["__core-js_shared__"];e.exports=r},776458:function(e,t,n){"use strict";n.r(t)},283433:function(e,t){"use strict";t.Z=new class e{constructor(){this.config={}}}},525528:function(e,t,n){"use strict";n(932651),n(490629);var r=n(795233),i=n.n(r),o=n(22186),s=n.n(o),a=n(849191),c=n.n(a),l=n(101199),u=n(622689),d=n.n(u),f=n(469935),h=n.n(f),p=n(975044),m=n(669067),g=n(109841),v=n(6433),b=n(37891),y=n(426337),_=n(574102),w=n(653552),C=n(343388);n(600783);var S=n(209873),T=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 x extends y.Z{get adapter(){var e=this;return Object.assign(Object.assign({},super.adapter),{setValue:(e,t)=>this.setState({value:e},t),setNumber:(e,t)=>this.setState({number:e},t),setFocusing:(e,t)=>this.setState({focusing:e},t),setHovering:e=>this.setState({hovering:e}),notifyChange:function(){return e.props.onChange(...arguments)},notifyNumberChange:function(){return e.props.onNumberChange(...arguments)},notifyBlur:e=>this.props.onBlur(e),notifyFocus:e=>this.props.onFocus(e),notifyUpClick:(e,t)=>this.props.onUpClick(e,t),notifyDownClick:(e,t)=>this.props.onDownClick(e,t),notifyKeyDown:e=>this.props.onKeyDown(e),registerGlobalEvent:(e,t)=>{e&&"function"==typeof t&&(this.adapter.unregisterGlobalEvent(e),this.adapter.setCache(e,t),document.addEventListener(e,t))},unregisterGlobalEvent:e=>{if(e){let t=this.adapter.getCache(e);document.removeEventListener(e,t),this.adapter.setCache(e,null)}},getInputCharacter:e=>this.inputNode.value[e],recordCursorPosition:()=>{try{this.inputNode&&(this.cursorStart=this.inputNode.selectionStart,this.cursorEnd=this.inputNode.selectionEnd,this.currentValue=this.inputNode.value,this.cursorBefore=this.inputNode.value.substring(0,this.cursorStart),this.cursorAfter=this.inputNode.value.substring(this.cursorEnd))}catch(e){}},restoreByAfter:e=>{if((0,g.Z)(e))return!1;let t=this.inputNode.value,n=t.lastIndexOf(e);return -1!==n&&n+e.length===t.length&&(this.adapter.fixCaret(n,n),!0)},restoreCursor:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.cursorAfter;return!(0,g.Z)(t)&&Array.prototype.some.call(t,(n,r)=>{let i=t.substring(r);return e.adapter.restoreByAfter(i)})},fixCaret:(e,t)=>{if(void 0!==e&&void 0!==t&&!!this.inputNode&&!!this.inputNode.value)try{let n=this.inputNode.selectionStart,r=this.inputNode.selectionEnd;(e!==n||t!==r)&&this.inputNode.setSelectionRange(e,t)}catch(e){}},setClickUpOrDown:e=>{this.clickUpOrDown=e},updateStates:(e,t)=>{this.setState(e,t)}})}componentDidUpdate(e){let t;let{value:n,preventScroll:r}=this.props,{focusing:i}=this.state;if(n!==e.value&&!(0,v.Z)(n,e.value)){if((0,g.Z)(n)||""===n)t="",this.foundation.updateStates({value:t,number:null});else{let e=n;"number"==typeof n&&(e=this.foundation.doFormat(n));let r=this.foundation.doParse(e,!1,!0,!0),o="number"==typeof n?n:this.foundation.doParse(e,!1,!1,!1);if(i){if(this.foundation.isValidNumber(r)&&r!==this.state.number){let e={number:r};this.clickUpOrDown&&(e.value=this.foundation.doFormat(e.number,!0),t=e.value),this.foundation.updateStates(e,()=>this.adapter.restoreCursor())}else c()(o)?this.foundation.updateStates({value:e}):(t=this.foundation.doFormat(o,!1),this.foundation.updateStates({value:t}))}else this.foundation.isValidNumber(r)?(t=this.foundation.doFormat(r,!0,!0),this.foundation.updateStates({number:r,value:t})):(t="",this.foundation.updateStates({number:null,value:t}))}if(t&&s()(t)&&t!==String(this.props.value)){if(this.foundation._isCurrency()){let e=this.foundation.doParse(t);e!==("string"==typeof this.props.value?this.foundation.doParse(this.props.value):this.props.value)&&this.foundation.notifyChange(t,null)}else this.foundation.notifyChange(t,null)}}if(!!this.clickUpOrDown)this.props.keepFocus&&this.state.focusing&&document.activeElement!==this.inputNode&&this.inputNode.focus({preventScroll:r})}render(){let e=this.props,{disabled:t,className:n,prefixCls:r,min:i,max:o,step:s,shiftStep:a,precision:c,formatter:u,parser:d,forwardedRef:f,onUpClick:m,onDownClick:g,pressInterval:v,pressTimeout:b,suffix:y,size:_,hideButtons:w,innerButtons:C,style:S,onNumberChange:x,keepFocus:k,defaultValue:R}=e,j=T(e,["disabled","className","prefixCls","min","max","step","shiftStep","precision","formatter","parser","forwardedRef","onUpClick","onDownClick","pressInterval","pressTimeout","suffix","size","hideButtons","innerButtons","style","onNumberChange","keepFocus","defaultValue"]),{value:E,number:P}=this.state,I=h()(n,`${r}-number`,{[`${r}-number-size-${_}`]:_}),O=this.renderButtons(),L={"aria-disabled":t,step:s};return P&&(L["aria-valuenow"]=P),o!==1/0&&(L["aria-valuemax"]=o),i!==-1/0&&(L["aria-valuemin"]=i),l.createElement("div",{className:I,style:S,onMouseMove:e=>this.handleInputMouseMove(e),onMouseEnter:e=>this.handleInputMouseEnter(e),onMouseLeave:e=>this.handleInputMouseLeave(e)},l.createElement(p.Z,Object.assign({role:"spinbutton"},L,j,{size:_,disabled:t,ref:this.setInputRef,value:E,onFocus:this.handleInputFocus,onChange:this.handleInputChange,onBlur:this.handleInputBlur,onKeyDown:this.handleInputKeyDown,suffix:this.renderSuffix()})),w||C?null:O)}constructor(e){super(e),this.setInputRef=e=>{let{forwardedRef:t}=this.props;this.inputNode=e,t&&"object"==typeof t?t.current=e:"function"==typeof t&&t(e)},this.handleInputFocus=e=>this.foundation.handleInputFocus(e),this.handleInputChange=(e,t)=>this.foundation.handleInputChange(e,t),this.handleInputBlur=e=>this.foundation.handleInputBlur(e),this.handleInputKeyDown=e=>this.foundation.handleInputKeyDown(e),this.handleInputMouseEnter=e=>this.foundation.handleInputMouseEnter(e),this.handleInputMouseLeave=e=>this.foundation.handleInputMouseLeave(e),this.handleInputMouseMove=e=>this.foundation.handleInputMouseMove(e),this.handleUpClick=e=>this.foundation.handleUpClick(e),this.handleDownClick=e=>this.foundation.handleDownClick(e),this.handleMouseUp=e=>this.foundation.handleMouseUp(e),this.handleMouseLeave=e=>this.foundation.handleMouseLeave(e),this.renderButtons=()=>{let{prefixCls:e,disabled:t,innerButtons:n,max:r,min:o}=this.props,{hovering:s,focusing:a,number:c}=this.state,u=t||c===r,d=t||c===o,f=h()(`${e}-number-suffix-btns`,{[`${e}-number-suffix-btns-inner`]:n,[`${e}-number-suffix-btns-inner-hover`]:n&&s&&!a}),p=h()(`${e}-number-button`,`${e}-number-button-up`,{[`${e}-number-button-up-disabled`]:t,[`${e}-number-button-up-not-allowed`]:u}),m=h()(`${e}-number-button`,`${e}-number-button-down`,{[`${e}-number-button-down-disabled`]:t,[`${e}-number-button-down-not-allowed`]:d});return l.createElement("div",{className:f},l.createElement("span",{className:p,onMouseDown:u?i():this.handleUpClick,onMouseUp:this.handleMouseUp,onMouseLeave:this.handleMouseLeave},l.createElement(w.Z,{size:"extra-small"})),l.createElement("span",{className:m,onMouseDown:d?i():this.handleDownClick,onMouseUp:this.handleMouseUp,onMouseLeave:this.handleMouseLeave},l.createElement(C.Z,{size:"extra-small"})))},this.renderSuffix=()=>{let{innerButtons:e,suffix:t}=this.props,{hovering:n,focusing:r}=this.state;return e&&(n||r)?this.renderButtons():t},this.state={value:"",number:null,focusing:!!e.autofocus,hovering:!1},this.inputNode=null,this.foundation=new b.Z(this.adapter),this.clickUpOrDown=!1}}x.propTypes={"aria-label":d().string,"aria-labelledby":d().string,"aria-invalid":d().bool,"aria-errormessage":d().string,"aria-describedby":d().string,"aria-required":d().bool,autofocus:d().bool,clearIcon:d().node,className:d().string,defaultValue:d().oneOfType([d().number,d().string]),disabled:d().bool,formatter:d().func,forwardedRef:d().any,hideButtons:d().bool,innerButtons:d().bool,insetLabel:d().node,insetLabelId:d().string,keepFocus:d().bool,max:d().number,min:d().number,parser:d().func,precision:d().number,prefixCls:d().string,pressInterval:d().number,pressTimeout:d().number,preventScroll:d().bool,shiftStep:d().number,showCurrencySymbol:d().bool,step:d().number,style:d().object,suffix:d().any,value:d().oneOfType([d().number,d().string]),onBlur:d().func,onChange:d().func,onDownClick:d().func,onKeyDown:d().func,onNumberChange:d().func,onUpClick:d().func},x.defaultProps={forwardedRef:i(),innerButtons:!1,keepFocus:!1,max:1/0,min:-1/0,prefixCls:_.UX.PREFIX,pressInterval:_.KT.DEFAULT_PRESS_TIMEOUT,pressTimeout:_.KT.DEFAULT_PRESS_TIMEOUT,shiftStep:_.KT.DEFAULT_SHIFT_STEP,showCurrencySymbol:!0,size:_.j2.DEFAULT_SIZE,step:_.KT.DEFAULT_STEP,onBlur:i(),onChange:i(),onDownClick:i(),onFocus:i(),onKeyDown:i(),onNumberChange:i(),onUpClick:i()},t.Z=(0,m.zA)(l.forwardRef(function(e,t){return l.createElement(S.Z,{componentName:"InputNumber"},(n,r,i,o)=>l.createElement(x,Object.assign({localeCode:r,defaultCurrency:o},e,{forwardedRef:t})))}),x)},30750:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}}),n(932651);var r=n(795233),i=n.n(r),o=n(101199),s=n(622689),a=n.n(s),c=n(469935),l=n.n(c),u=n(617369),d=n(678446),f=n(278766),h=n(104200),p=n(779778),m=n(37827),g=n(209873);class v extends o.PureComponent{render(){let{prefixCls:e,onClick:t,sortOrder:n,style:r,title:i,sortIcon:s,showTooltip:a}=this.props,c="default",v=l()(`${e}-column-sorter-up`,{on:n===f.j2.SORT_DIRECTIONS["0"]}),b=l()(`${e}-column-sorter-down`,{on:n===f.j2.SORT_DIRECTIONS["1"]}),y={"aria-label":`Current sort order is ${n?`${n}ing`:"none"}`,"aria-roledescription":"Sort data with this column"};return o.createElement("div",Object.assign({role:"button"},y,{tabIndex:-1,className:`${e}-column-sorter-wrapper`,onClick:t,onKeyPress:e=>(0,p.Z)(e)&&t(e)}),i,(()=>{if("function"==typeof s)return s({sortOrder:n});{let t=o.createElement("div",{style:r,className:`${e}-column-sorter`},o.createElement("span",{className:`${v}`},o.createElement(u.Z,{size:c})),o.createElement("span",{className:`${b}`},o.createElement(d.Z,{size:c})));if(a){let e=(0,m.mC)(n);return o.createElement(g.Z,{componentName:"Table"},(n,r)=>o.createElement(h.Z,{content:n[e]},t))}return t}})())}}v.propTypes={className:a().string,style:a().object,onClick:a().func,prefixCls:a().string,sortOrder:a().oneOfType([a().string,a().bool]),sortIcon:a().func,showTooltip:a().bool},v.defaultProps={prefixCls:f.UX.PREFIX,onClick:i(),sortOrder:!1,showTooltip:!1}},997588:function(e,t,n){"use strict";n.d(t,{J_:function(){return o},Kn:function(){return i}}),n(414931);let r=Object.prototype.toString;function i(e){return null!==e&&"object"==typeof e}function o(e){return"[object Date]"===r.call(e)}},805250:function(e,t,n){"use strict";n.d(t,{gp:function(){return p},yZ:function(){return h}});var r=n(480333);n(679308),n(490629);var i=n(216308),o=n(274402),s=n(487359),a=n(549816),c=n(453412),l=n(403278),u=n(693100),d=n(487792),f={CONNECTING:"connecting",CONNECTED:"connected",DISCONNECTED:"disconnected"};let h="invoke destroy()";class p extends i.Z{async connect(e,t){var n,r;p.checkSupported();let i=Date.now();this._logger.log("connect",e),this._setState(f.CONNECTING),this._loadRtmResult=(0,u.$p)(e),this.url=(null===(n=this._loadRtmResult)||void 0===n?void 0:n.url)||e,this._isPreload=!!this._loadRtmResult,this._loadRtmResult?d.K.mark(e,"playStart"):this._loadRtmResult=(0,u.Qu)(e,t,{isPreload:!1});let o=await this._loadRtmResult.preloadPromise.catch(e=>{if(this._destroyed){this._logger.log("preloadPromise rejected after destroy, ignored",null==e?void 0:e.message);return}throw e});if(!o||this._destroyed){this._logger.log("stop... peerconnection is destroyed.");return}this.url=o.url,this.emit("responseHeaders",{elapsed:Date.now()-i,headers:(0,l.u8)(null===(r=o.response)||void 0===r?void 0:r.headers)});let s=o.peer;this._peer=s,d.K.bindPeerConnection(e,s),this._audioTransceicer=o.audioTransceicer,this._videoTransceicer=o.videoTransceicer,this._videoPayloadMap=o.videoPayloadMap,this._audioPayloadMap=o.audioPayloadMap,this._initAudioEncodedTransform(this._audioTransceicer),this._videoTransceicer&&this._initVideoEncodedTransform(this._videoTransceicer);let c=o.sdp,h=o.hasNativeAAC;return this.emit("avCodecInfo",{video:this._videoPayloadMap,audio:this._audioPayloadMap,fastSyncNegotiated:o.fastSyncNegotiated}),new Promise(async(n,r)=>{if(!c)throw new a.Z(a.t.OTHER,"answer sdp is empty");this._connectReject=r,this._connectTimer=setTimeout(()=>{var e;null===(e=this._connectReject)||void 0===e||e.call(this,new a.Z(a.t.NETWORK_TIMEOUT,"peerconnection timeout")),delete this._connectReject,delete this._connectTimer},t.loadTimeout||5e3);let l=()=>{this._logger.log("ice connection state change",s.iceConnectionState)},u=()=>{if("failed"===s.iceConnectionState||"closed"===s.iceConnectionState||"failed"===s.connectionState){var t;null===(t=this._connectReject)||void 0===t||t.call(this,new a.Z(a.t.RTM_ICE_FAILED,`pc.connectionstatechange -> ${s.connectionState}, ice -> ${s.iceConnectionState}`)),delete this._connectReject,void 0!==this._connectTimer&&(clearTimeout(this._connectTimer),delete this._connectTimer),this._setState(f.DISCONNECTED)}else if("connected"===s.connectionState){this._setState(f.CONNECTED),n();let t=Date.now()-i;this.emit("ttfb",t),this._logger.log("[RTM Metrics] PeerConnection已连接, TTFB:",t),d.K.mark(e,"dtlsConnected");let r=d.K.buildReport(e);r&&this.emit("rtm_timing",{is_preload:this._isPreload?1:0,report_start_time:r.startAt,play_start_time:d.K.getMarkTime(e,"playStart"),dtls_connected_time:d.K.getMarkTime(e,"dtlsConnected"),create_offer:r.preloadPhases.createOffer,set_local_description:r.preloadPhases.setLocalDescription,http_signaling:r.playPhases.httpSignaling,preload_play_overlap:r.playPhases.preloadPlayOverlap,http_signaling_raw:r.preloadPhases.httpSignaling,http_signaling_total:r.preloadPhases.httpSignalingTotal,http_request_count:r.preloadPhases.httpRequestCount,wait_preload:r.playPhases.waitPreload,set_remote_description:r.playPhases.setRemote,wait_ice_checking:r.playPhases.waitIceChecking,play_to_dtls:r.playPhases.playToDtls,timing_sum_before_first_frame:r.playPhases.additiveKnownPhases,ice_negotiation:r.playPhases.iceNegotiation,dtls_handshake:r.playPhases.dtlsHandshake,has_native_aac:h?1:0,fast_sync:o.fastSyncNegotiated?1:0}),void 0!==this._connectTimer&&(clearTimeout(this._connectTimer),delete this._connectTimer),this._startGetAVBitrate()}};s.addEventListener("iceconnectionstatechange",l),s.addEventListener("connectionstatechange",u),this._clearPeerListeners=()=>{s.removeEventListener("iceconnectionstatechange",l),s.removeEventListener("connectionstatechange",u),s.oniceconnectionstatechange=null,s.onconnectionstatechange=null},d.K.mark(e,"setRemoteStart"),await s.setRemoteDescription({type:"answer",sdp:c}).catch(e=>{var t;null===(t=this._connectReject)||void 0===t||t.call(this,new a.Z(a.t.RTM_SET_DESCRIPTION_ERROR,`set remote description error ${e.message}`)),delete this._connectReject,void 0!==this._connectTimer&&(clearTimeout(this._connectTimer),delete this._connectTimer)}),d.K.mark(e,"setRemoteEnd")})}disconnect(){var e,t,n,r,i;this._logger.log("disconnect"),this._destroyed=!0,delete this.url,super.offAll(),this._stopGetAVBitrate(),clearTimeout(this._reportTransportTimer),delete this._reportTransportTimer,void 0!==this._connectTimer&&(clearTimeout(this._connectTimer),delete this._connectTimer),null===(e=this._clearPeerListeners)||void 0===e||e.call(this),delete this._clearPeerListeners,null===(t=this._peer)||void 0===t||t.close(),delete this._peer,null===(n=this._loadRtmResult)||void 0===n||n.cancel(),(null===(r=this._loadRtmResult)||void 0===r?void 0:r.url)&&d.K.endSession(this._loadRtmResult.url,this._loadRtmResult.timingInstanceId),delete this._loadRtmResult,delete this._audioTransceicer,delete this._videoTransceicer,this._videoPayloadMap={},this._audioPayloadMap={},null===(i=this._connectReject)||void 0===i||i.call(this,new a.Z(a.t.OTHER,h)),delete this._connectReject}getVideoCodec(e){return this._videoPayloadMap[e]}getAudioCodec(e){return this._audioPayloadMap[e]}_setState(e){this._state!==e&&(this._state=e,this.emit("stateChange",e),this._logger.log("RTM PeerStateChange ==>",e))}async _startGetAVBitrate(){var e,t,n,r;let[i,o]=await Promise.all([(0,c.At)(null===(t=this._videoTransceicer)||void 0===t?void 0:null===(e=t.receiver)||void 0===e?void 0:e.getStats()),(0,c.cX)(null===(r=this._audioTransceicer)||void 0===r?void 0:null===(n=r.receiver)||void 0===n?void 0:n.getStats())]);if(this._preAudioStats&&this._preVideoStats){let e=(0,c.IE)(this._preVideoStats,i),t=(0,c.xt)(this._preAudioStats,o);this.emit("stats",{audio:t,video:e})}!this._destroyed&&(this._preVideoStats=i,this._preAudioStats=o,this._reportAVBitrateTimer=window.setTimeout(()=>{this._startGetAVBitrate()},2e3))}_stopGetAVBitrate(){clearTimeout(this._reportAVBitrateTimer),delete this._reportAVBitrateTimer}async _reportTransportStats(){var e,t,n;let r=await (null===(e=this._peer)||void 0===e?void 0:e.getStats()),i={};if(null==r||r.forEach(e=>{"transport"===e.type?(i.dtls_state=e.dtlsState,i.bytes_received=e.bytesReceived,i.bytes_sent=e.bytesSent,i.ice_state=e.iceState,i.packets_received=e.packetsReceived,i.packets_sent=e.packetsSent,i.selected_candidate_pair_changes=e.selectedCandidatePairChanges):"local-candidate"===e.type||"remote-candidate"===e.type?i.candidates_info=[...i.candidates_info||[],{id:e.id,is_remote:e.isRemote,port:e.port,protocol:e.protocol,candidate_type:e.candidateType,priority:e.priority,network_type:e.networkType,candidate_ip:e.ip}]:"candidate-pair"===e.type&&(i.candidatePairsInfo={},i.candidatePairsInfo.candidate_state=e.state,i.candidatePairsInfo.writable_state=e.writable,i.candidatePairsInfo.sent_ping_requests_total=e.requestsSent,i.candidatePairsInfo.recv_ping_requests=e.requestsReceived,i.candidatePairsInfo.sent_ping_responses=e.responsesSent,i.candidatePairsInfo.recv_ping_responses=e.responsesReceived,i.candidatePairsInfo.current_rtt=e.currentRoundTripTime,i.candidatePairsInfo.total_rtt=e.totalRoundTripTime,["localCandidateId","remoteCandidateId","bytesSent","bytesReceived","availableOutgoingBitrate","availableIncomingBitrate","bytesDiscardedOnSend","consentRequestsSent","packetsDiscardedOnSend","lastPacketReceivedTimestamp","lastPacketSentTimestamp"].forEach(t=>{void 0!==e[t]&&(i.candidatePairsInfo[(0,o.EB)(t)]=e[t])}))}),Object.keys(i).length,!this._destroyed){let e=(null===(t=this._peer)||void 0===t?void 0:t.iceConnectionState)==="connected"&&(null===(n=this._peer)||void 0===n?void 0:n.connectionState)==="connected";this._reportTransportTimer=setTimeout(()=>{this._reportTransportStats()},e?5e3:1e3)}}static isSupported(){try{return p.checkSupported(),!0}catch(e){return!1}}static checkSupported(){if(!window.RTCPeerConnection)throw new a.Z(a.t.RTM_NOT_SUPPORTED,"RTCPeerConnection is not defined");if("function"!=typeof window.RTCPeerConnection.prototype.addTransceiver)throw new a.Z(a.t.RTM_NOT_SUPPORTED,"addTransceiver is not a function");if(!(0,o.GH)())throw new a.Z(a.t.RTM_NOT_SUPPORTED,"EncodedTransform is not supported")}_initVideoEncodedTransform(e){if(!e.receiver)throw new a.Z(a.t.RTM_NOT_SUPPORTED,"no receiver found when trying to bind encodedTransform");let{readable:t,writable:n}=e.receiver.createEncodedStreams();this.emit("readable_writable",{type:"video",readable:t,writable:n})}_initAudioEncodedTransform(e){if(!e.receiver)throw new a.Z(a.t.RTM_NOT_SUPPORTED,"no receiver found when trying to bind encodedTransform");let{readable:t,writable:n}=e.receiver.createEncodedStreams();this.emit("readable_writable",{type:"audio",readable:t,writable:n})}constructor(...e){super(...e),(0,r._)(this,"_logger",new s.ZP("RTMPeerConnection")),(0,r._)(this,"_peer",void 0),(0,r._)(this,"_audioTransceicer",void 0),(0,r._)(this,"_videoTransceicer",void 0),(0,r._)(this,"_videoPayloadMap",{}),(0,r._)(this,"_audioPayloadMap",{}),(0,r._)(this,"_state",void 0),(0,r._)(this,"_destroyed",!1),(0,r._)(this,"_reportTransportTimer",void 0),(0,r._)(this,"_connectReject",void 0),(0,r._)(this,"_connectTimer",void 0),(0,r._)(this,"_clearPeerListeners",void 0),(0,r._)(this,"_loadRtmResult",void 0),(0,r._)(this,"_isPreload",!1),(0,r._)(this,"url",void 0),(0,r._)(this,"_reportAVBitrateTimer",void 0),(0,r._)(this,"_preVideoStats",void 0),(0,r._)(this,"_preAudioStats",void 0)}}},277030:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}}),n(706056),n(228983),n(759943),n(490629),n(932651);var r=n(198412),i=n.n(r),o=n(5784),s=n.n(o),a=n(812958),c=n.n(a),l=n(92184),u=n(856445),d=n(316922),f=n(372038),h=n(526540),p=n(646073),m=n(109242),g=n(136064),v=n(368923),b=n(64360),y=n(214684);let _="Enter";class w extends u.Z{init(){}destroy(){}handleClick(e){this._adapter.notifyClick(e)}handleChange(e,t){this._adapter.notifyChange(e,t)}handleInputComplete(e){e.key===_&&this._adapter.notifyEnter(e.target.value)}handleInputClear(e){this._adapter.notifyClear(e)}handleRangeInputClear(e){this.stopPropagation(e),this._adapter.notifyRangeInputClear(e)}handleRangeInputEnterPress(e,t){e.key===_&&this._adapter.notifyEnter(t)}handleRangeInputEndKeyPress(e){"Tab"===e.key&&this._adapter.notifyTabPress(e)}handleRangeInputFocus(e,t){this._adapter.notifyRangeInputFocus(e,t)}formatShowText(e,t){let{type:n,dateFnsLocale:r,format:i,rangeSeparator:o}=this._adapter.getProps(),s=t||i||(0,f.E)(n),a="";switch(n){case"date":case"dateTime":case"month":a=(0,d.j)(e,s,void 0,r);break;case"dateRange":case"dateTimeRange":case"monthRange":a=(0,d.j)(e,s,{groupSize:2,groupInnerSeparator:o},r)}return a}handleInsetInputChange(e){let{value:t,valuePath:n,insetInputValue:r}=e,{format:i,type:o,rangeSeparator:a}=this._adapter.getProps(),c=(0,h.Z)({type:o,format:i}),l=s()((0,y.ZP)(r),n,t),u=this.concatInsetInputValue({insetInputValue:l}),d=(0,p.Z)({inputValue:u,type:o,rangeSeparator:a}),f=this._autoFillTimeToInsetInputValue({insetInputValue:d,valuePath:n,format:c}),m=this.concatInsetInputValue({insetInputValue:f});this._adapter.notifyInsetInputChange({insetInputValue:f,format:c,insetInputStr:m})}_autoFillTimeToInsetInputValue(e){let{valuePath:t,insetInputValue:n,format:r}=e,{type:o,defaultPickerValue:s,dateFnsLocale:a}=this._adapter.getProps(),c=(0,y.ZP)(n),{nowDate:u,nextDate:d}=(0,g.Z)({defaultPickerValue:s,format:r,dateFnsLocale:a});if(o.includes("Time")){let e="",n=i()(r.split(" "),"0",m.j2.FORMAT_FULL_DATE),o=i()(r.split(" "),"1",m.j2.FORMAT_TIME_PICKER);switch(t){case"monthLeft.dateInput":let s=c.monthLeft.dateInput;if(!c.monthLeft.timeInput&&s.length===n.length){let t=(0,v.h)(c.monthLeft.dateInput,n);(0,b.Z)(t)&&(e=(0,l.Z)(u,o),c.monthLeft.timeInput=e)}break;case"monthRight.dateInput":let a=c.monthRight.dateInput;if(!c.monthRight.timeInput&&a.length===n.length){let t=(0,v.h)(a,n);(0,b.Z)(t)&&(e=(0,l.Z)(d,o),c.monthRight.timeInput=e)}}}return c}getInsetInputPlaceholder(){let e,t;let{type:n,format:r,rangeSeparator:i}=this._adapter.getProps(),o=(0,h.Z)({type:n,format:r});switch(n){case"date":case"month":case"dateRange":e=o;break;case"dateTime":case"dateTimeRange":[e,t]=o.split(" ");break;case"monthRange":e=o+i+o}return{datePlaceholder:e,timePlaceholder:t}}getInsetInputValue(e){let{value:t,insetInputValue:n}=e,{type:r,rangeSeparator:i,format:o}=this._adapter.getProps(),s="";if(c()(n))s=this.concatInsetInputValue({insetInputValue:n});else{let e=(0,h.Z)({format:o,type:r});s=this.formatShowText(t,e)}return(0,p.Z)({inputValue:s,type:r,rangeSeparator:i})}concatInsetDateAndTime(e){let{date:t,time:n}=e;return`${t} ${n}`}concatInsetDateRange(e){let{rangeStart:t,rangeEnd:n}=e,{rangeSeparator:r}=this._adapter.getProps();return`${t}${r}${n}`}concatInsetInputValue(e){let{insetInputValue:t}=e,{type:n}=this._adapter.getProps(),r="";switch(n){case"date":case"month":case"monthRange":r=t.monthLeft.dateInput;break;case"dateRange":r=this.concatInsetDateRange({rangeStart:t.monthLeft.dateInput,rangeEnd:t.monthRight.dateInput});break;case"dateTime":r=this.concatInsetDateAndTime({date:t.monthLeft.dateInput,time:t.monthLeft.timeInput});break;case"dateTimeRange":let i=this.concatInsetDateAndTime({date:t.monthLeft.dateInput,time:t.monthLeft.timeInput}),o=this.concatInsetDateAndTime({date:t.monthRight.dateInput,time:t.monthRight.timeInput});r=this.concatInsetDateRange({rangeStart:i,rangeEnd:o})}return r}constructor(e){super(Object.assign({},e))}}},183652:function(e,t,n){var r,i,o=n(777296);n(313036),n(679308),n(705200),n(490917),n(416175),n(490629),n(414931),n(76375),n(374954),n(559352),n(683656),n(759943),n(520995),n(362051),n(240148),n(374285),n(566071),n(14275),n(112459),n(228983),n(992871),r=window,i=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t||4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,(function(t){return e[t]}).bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./index.js")}({"./index.js":function(e,t,n){e.exports=n("./lib/axios.js")},"./lib/adapters/xhr.js":function(e,t,n){"use strict";var r=n("./lib/utils.js"),i=n("./lib/core/settle.js"),o=n("./lib/helpers/cookies.js"),s=n("./lib/helpers/buildURL.js"),a=n("./lib/core/buildFullPath.js"),c=n("./lib/helpers/parseHeaders.js"),l=n("./lib/helpers/isURLSameOrigin.js"),u=n("./lib/core/createError.js"),d=n("./lib/defaults.js"),f=n("./lib/cancel/Cancel.js");e.exports=function(e){return new Promise(function(t,n){var h,p=e.data,m=e.headers,g=e.responseType;function v(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}r.isFormData(p)&&delete m["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var y=e.auth.username||"",_=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(y+":"+_)}var w=a(e.baseURL,e.url);function C(){if(!!b){var r="getAllResponseHeaders"in b?c(b.getAllResponseHeaders()):null;i(function(e){t(e),v()},function(e){n(e),v()},{data:g&&"text"!==g&&"json"!==g?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:r,config:e,request:b}),b=null}}if(b.open(e.method.toUpperCase(),s(w,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=C:b.onreadystatechange=function(){if(!!b&&4===b.readyState&&(0!==b.status||!!(b.responseURL&&0===b.responseURL.indexOf("file:"))))setTimeout(C)},b.onabort=function(){if(!!b)n(u("Request aborted",e,"ECONNABORTED",b)),b=null},b.onerror=function(){n(u("Network Error",e,null,b)),b=null},b.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded",r=e.transitional||d.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",b)),b=null},r.isStandardBrowserEnv()){var S=(e.withCredentials||l(w))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;S&&(m[e.xsrfHeaderName]=S)}"setRequestHeader"in b&&r.forEach(m,function(e,t){void 0===p&&"content-type"===t.toLowerCase()?delete m[t]:b.setRequestHeader(t,e)}),!r.isUndefined(e.withCredentials)&&(b.withCredentials=!!e.withCredentials),g&&"json"!==g&&(b.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&b.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(h=function(e){if(!!b)n(!e||e&&e.type?new f("canceled"):e),b.abort(),b=null},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h))),!p&&(p=null),b.send(p)})}},"./lib/axios.js":function(e,t,n){"use strict";var r=n("./lib/utils.js"),i=n("./lib/helpers/bind.js"),o=n("./lib/core/Axios.js"),s=n("./lib/core/mergeConfig.js"),a=n("./lib/defaults.js"),c=function e(t){var n=new o(t),a=i(o.prototype.request,n);return r.extend(a,o.prototype,n),r.extend(a,n),a.create=function(n){return e(s(t,n))},a}(a);c.Axios=o,c.Cancel=n("./lib/cancel/Cancel.js"),c.CancelToken=n("./lib/cancel/CancelToken.js"),c.isCancel=n("./lib/cancel/isCancel.js"),c.VERSION=n("./lib/env/data.js").version,c.all=function(e){return Promise.all(e)},c.spread=n("./lib/helpers/spread.js"),c.isAxiosError=n("./lib/helpers/isAxiosError.js"),e.exports=c,e.exports.default=c},"./lib/cancel/Cancel.js":function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},"./lib/cancel/CancelToken.js":function(e,t,n){"use strict";var r=n("./lib/cancel/Cancel.js");function i(e){if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});var t,n=this;this.promise.then(function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}}),this.promise.then=function(e){var t,r=new Promise(function(e){n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e){if(!n.reason)n.reason=new r(e),t(n.reason)})}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]},i.prototype.unsubscribe=function(e){if(!!this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},i.source=function(){var e;return{token:new i(function(t){e=t}),cancel:e}},e.exports=i},"./lib/cancel/isCancel.js":function(e,t,n){"use strict";e.exports=function(e){return!!(e&&e.__CANCEL__)}},"./lib/core/Axios.js":function(e,t,n){"use strict";var r=n("./lib/utils.js"),i=n("./lib/helpers/buildURL.js"),o=n("./lib/core/InterceptorManager.js"),s=n("./lib/core/dispatchRequest.js"),a=n("./lib/core/mergeConfig.js"),c=n("./lib/helpers/validator.js"),l=c.validators;function u(e){this.defaults=e,this.interceptors={request:new o,response:new o}}u.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},(e=a(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t,n=e.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var r=[],i=!0;this.interceptors.request.forEach(function(t){if("function"!=typeof t.runWhen||!1!==t.runWhen(e))i=i&&t.synchronous,r.unshift(t.fulfilled,t.rejected)});var o=[];if(this.interceptors.response.forEach(function(e){o.push(e.fulfilled,e.rejected)}),!i){var u=[s,void 0];for(Array.prototype.unshift.apply(u,r),u=u.concat(o),t=Promise.resolve(e);u.length;)t=t.then(u.shift(),u.shift());return t}for(var d=e;r.length;){var f=r.shift(),h=r.shift();try{d=f(d)}catch(e){h(e);break}}try{t=s(d)}catch(e){return Promise.reject(e)}for(;o.length;)t=t.then(o.shift(),o.shift());return t},u.prototype.getUri=function(e){return i((e=a(this.defaults,e)).url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],function(e){u.prototype[e]=function(t,n){return this.request(a(n||{},{method:e,url:t,data:(n||{}).data}))}}),r.forEach(["post","put","patch"],function(e){u.prototype[e]=function(t,n,r){return this.request(a(r||{},{method:e,url:t,data:n}))}}),e.exports=u},"./lib/core/InterceptorManager.js":function(e,t,n){"use strict";var r=n("./lib/utils.js");function i(){this.handlers=[]}i.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=i},"./lib/core/buildFullPath.js":function(e,t,n){"use strict";var r=n("./lib/helpers/isAbsoluteURL.js"),i=n("./lib/helpers/combineURLs.js");e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},"./lib/core/createError.js":function(e,t,n){"use strict";var r=n("./lib/core/enhanceError.js");e.exports=function(e,t,n,i,o){return r(Error(e),t,n,i,o)}},"./lib/core/dispatchRequest.js":function(e,t,n){"use strict";var r=n("./lib/utils.js"),i=n("./lib/core/transformData.js"),o=n("./lib/cancel/isCancel.js"),s=n("./lib/defaults.js"),a=n("./lib/cancel/Cancel.js");function c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new a("canceled")}e.exports=function(e){return c(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||s.adapter)(e).then(function(t){return c(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t},function(t){return!o(t)&&(c(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},"./lib/core/enhanceError.js":function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},"./lib/core/mergeConfig.js":function(e,t,n){"use strict";var r=n("./lib/utils.js");e.exports=function(e,t){t=t||{};var n={};function i(e,t){if(r.isPlainObject(e)&&r.isPlainObject(t))return r.merge(e,t);if(r.isPlainObject(t))return r.merge({},t);if(r.isArray(t))return t.slice();return t}function o(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:i(void 0,e[n]):i(e[n],t[n])}function s(e){if(!r.isUndefined(t[e]))return i(void 0,t[e])}function a(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:i(void 0,e[n]):i(void 0,t[n])}function c(n){return n in t?i(e[n],t[n]):n in e?i(void 0,e[n]):void 0}var l={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:c};return r.forEach(Object.keys(e).concat(Object.keys(t)),function(e){var t=l[e]||o,i=t(e);r.isUndefined(i)&&t!==c||(n[e]=i)}),n}},"./lib/core/settle.js":function(e,t,n){"use strict";var r=n("./lib/core/createError.js");e.exports=function(e,t,n){var i=n.config.validateStatus;!n.status||!i||i(n.status)?e(n):t(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},"./lib/core/transformData.js":function(e,t,n){"use strict";var r=n("./lib/utils.js"),i=n("./lib/defaults.js");e.exports=function(e,t,n){var o=this||i;return r.forEach(n,function(n){e=n.call(o,e,t)}),e}},"./lib/defaults.js":function(e,t,n){"use strict";var r,i=n("./lib/utils.js"),s=n("./lib/helpers/normalizeHeaderName.js"),a=n("./lib/core/enhanceError.js"),c={"Content-Type":"application/x-www-form-urlencoded"};function l(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:("undefined"!=typeof XMLHttpRequest?r=n("./lib/adapters/xhr.js"):void 0!==o&&"[object process]"===Object.prototype.toString.call(o)&&(r=n("./lib/adapters/xhr.js")),r),transformRequest:[function(e,t){return(s(t,"Accept"),s(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e))?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)||t&&"application/json"===t["Content-Type"]?(l(t,"application/json"),function(e,t,n){if(i.isString(e))try{return(0,JSON.parse)(e),i.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||u.transitional,n=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,o=!n&&"json"===this.responseType;if(o||r&&i.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(o){if("SyntaxError"===e.name)throw a(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],function(e){u.headers[e]={}}),i.forEach(["post","put","patch"],function(e){u.headers[e]=i.merge(c)}),e.exports=u},"./lib/env/data.js":function(e,t){e.exports={version:"0.22.0"}},"./lib/helpers/bind.js":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},"./lib/helpers/buildURL.js":function(e,t,n){"use strict";var r=n("./lib/utils.js");function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var o,s=[];r.forEach(t,function(e,t){if(null!=e)r.isArray(e)?t+="[]":e=[e],r.forEach(e,function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),s.push(i(t)+"="+i(e))})}),o=s.join("&")}if(o){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},"./lib/helpers/combineURLs.js":function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},"./lib/helpers/cookies.js":function(e,t,n){"use strict";var r=n("./lib/utils.js");e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,s){var a=[];a.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(i)&&a.push("path="+i),r.isString(o)&&a.push("domain="+o),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},"./lib/helpers/isAbsoluteURL.js":function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},"./lib/helpers/isAxiosError.js":function(e,t,n){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},"./lib/helpers/isURLSameOrigin.js":function(e,t,n){"use strict";var r=n("./lib/utils.js");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},"./lib/helpers/normalizeHeaderName.js":function(e,t,n){"use strict";var r=n("./lib/utils.js");e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},"./lib/helpers/parseHeaders.js":function(e,t,n){"use strict";var r=n("./lib/utils.js"),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,s={};return e?(r.forEach(e.split("\n"),function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(!(s[t]&&i.indexOf(t)>=0))"set-cookie"===t?s[t]=(s[t]?s[t]:[]).concat([n]):s[t]=s[t]?s[t]+", "+n:n}}),s):s}},"./lib/helpers/spread.js":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"./lib/helpers/validator.js":function(e,t,n){"use strict";var r=n("./lib/env/data.js").version,i={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){i[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var o={};i.transitional=function(e,t,n){return function(i,s,a){if(!1===e)throw Error("[Axios v"+r+"] Transitional option '"+s+"'"+(" has been removed"+(t?" in "+t:""))+(n?". "+n:""));return t&&!o[s]&&(o[s]=!0),!e||e(i,s,a)}};e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var o=r[i],s=t[o];if(s){var a=e[o],c=void 0===a||s(a,o,e);if(!0!==c)throw TypeError("option "+o+" must be "+c);continue}if(!0!==n)throw Error("Unknown option "+o)}},validators:i}},"./lib/utils.js":function(e,t,n){"use strict";var r=n("./lib/helpers/bind.js"),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function s(e){return void 0===e}function a(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function l(e){return"[object Function]"===i.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:function(e){return null!==e&&!s(e)&&null!==e.constructor&&!s(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){var t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:a,isPlainObject:c,isUndefined:s,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:l,isStream:function(e){return a(e)&&l(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:u,merge:function e(){var t={};function n(n,r){c(t[r])&&c(n)?t[r]=e(t[r],n):c(n)?t[r]=e({},n):o(n)?t[r]=n.slice():t[r]=n}for(var r=0,i=arguments.length;r<i;r++)u(arguments[r],n);return t},extend:function(e,t,n){return u(t,function(t,i){n&&"function"==typeof t?e[i]=r(t,n):e[i]=t}),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}}})},e.exports=i()},634771:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},708392:function(e,t,n){"use strict";n.d(t,{K:function(){return r}});let r=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"]},595429:function(e,t,n){"use strict";n.d(t,{r:function(){return s}});var r=n(890131),i=n(368183);let o={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o):n(t)};function o(t){return(0,i.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),s):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),s):n(t)}function s(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),c):n(t)}function c(r){return(0,i.Ch)(r)?t(r):(0,i.xz)(r)?e.check({tokenize:a},t,n)(r):n(r)}}};function s(){return{text:{91:o}}}function a(e,t,n){return(0,r.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}},41815:function(e,t,n){"use strict";let r,i,o;var s=n(629686),a=n(402748);n(679308),n(76375),n(374954),n(490629),n(302356),n(362051),n(656562),n(992871),n(112459),n(759943),n(414931);var c=n(320165),l=n(199775),u=n(100018),d=n(101199),f=n(391948),h=n(231999),p=n(999810),m=n(406848),g=n(338554),v=n(816705);let b=new TextEncoder,y=!1,_=!1;function w(e){if(0===e[0])r=[];else{if(!r)throw Error("Unexpected server data: missing bootstrap script.");i?i.enqueue("string"==typeof e[1]?b.encode(e[1]):e[1]):r.push(e[1])}}let C=self.__pace_f=self.__pace_f||[];C.forEach(w),C.push=w;let S=new Map;self.__pace_rsc_cache=S;self.__createFromFetch=h.createFromFetch,self.__pace_call_server=async(e,t)=>{let n=await (0,h.encodeReply)(t),r=encodeURIComponent(JSON.stringify({action:e})),i=`${m.eu}?state=${r}`,[o]=await (0,h.createFromFetch)(fetch(i,{method:"POST",body:n}));return o};let T=function(){i&&!_&&(self.initialRscFlightDataEnd&&i.close(),_=!0,r=void 0),y=!0};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",T,!1):setTimeout(T);try{o=new ReadableStream({start(e){!function(e){if(r&&(r.forEach(t=>{e.enqueue("string"==typeof t?b.encode(t):t)}),y&&!_)){var t;if(null===(t=e).desiredSize||t.desiredSize<0)e.error(Error("The connection to the page was unexpectedly closed, possibly due to the stop button being clicked, loss of Wi-Fi, or an unstable internet connection."));else e.close();_=!0,r=void 0}i=e}(e)}})}catch(e){}let x=(0,d.memo)(e=>{let{cacheKey:t}=e;(0,d.useEffect)(()=>{S.delete(t)});let n=function(e){let t=S.get(e);if(t)return t;if(o&&!window.__RENDER_CSR__)t=(0,h.createFromReadableStream)(o),o=null;else if(window.__pace_stream_register){let e;let n=new TextEncoder;o=new ReadableStream({start(t){e=t}}),t=(0,h.createFromFetch)(Promise.resolve({body:o})),window.__pace_stream_register(t=>{let{chunk:r,isEnd:i}=t;if(i){e.close();return}e.enqueue(n.encode(r))})}else{let n=`${m.Yb}?state=${encodeURIComponent(e)}`;t=(0,h.createFromFetch)(fetch(n))}return S.set(e,t),t}(t);return(0,d.use)(n)}),k=e=>(0,c.jsx)(c.Fragment,{children:e.children}),R=d.Fragment;(0,p.s)({RootComponent:(0,c.jsx)(function(e){let[t,n]=(0,d.useState)({pathname:window.location.pathname,search:window.location.search,type:"initial",matchPatterns:(0,g.FR)(location.pathname).matchPatterns,intersection:0}),r=(0,d.useRef)(t);r.current=t;let i=(0,d.useRef)(),{type:o,timestamp:f}=t,h=(0,d.useMemo)(()=>{if("initial"===o){let e=(0,v.g)(r.current);return i.current=e,e}return i.current},[o,f]);return(0,c.jsx)(l.ServerPropsProvider,{serverProps:t,setServerProps:n,children:(0,c.jsx)(k,{setServerProps:n,children:(0,c.jsx)(u.D,{children:(0,c.jsx)(x,(0,a._)((0,s._)({},e),{cacheKey:h}))})})})},{}),container:document.getElementById("root"),renderer:(e,t,r)=>{var i;i="/*#__PACE_BEGIN_RENDER__*/",self[i]=i,(0,d.startTransition)(()=>{if(window.__RENDER_CSR__)(0,f.createRoot)(t).render((0,c.jsx)(d.Suspense,{fallback:null,children:e}));else{let i=()=>(0,f.hydrateRoot)(t,(0,c.jsx)(R,{children:(0,c.jsx)(d.Suspense,{fallback:null,children:e})}),r);self.__pace_start_hydration?self.__pace_start_hydration.p.then(()=>{(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Promise.all(e.map(e=>n.e(e))).catch(e=>{})})(self.bootstrapChunkIds).then(()=>{i()})}):i()}})}})}}]); |