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

130 lines
90 KiB
Plaintext

/*! For license information please see 42288.6b15cac9.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,r=1,i=arguments.length;r<i;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function r(e,t,r){if(r||2==arguments.length)for(var i,n=0,o=t.length;n<o;n++)!i&&n in t||(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}var i=/[^a-zA-Z0-9\\_:.-]/gim,n=/</g,o=/>/g,s=/&#([a-zA-Z0-9]*);?/gim,a=/&quot;/g,l=/&colon;?/gim,c=/&newline;?/gim,u=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,d=/u\s*r\s*l\s*\(.*/gi,h=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,f=/"/g,p=function(e){return e.replace(n,"&lt;").replace(o,"&gt;")},m={indexOf:function(e,t){var r,i;for(r=0,i=e.length;r<i;r++)if(e[r]===t)return r;return -1},forEach:function(e,t,r){var i,n;for(i=0,n=e.length;i<n;i++)t.call(r,e[i],i,e)},some:function(e,t,r){var i,n;for(i=0,n=e.length;i<n;i++)if(t.call(r,e[i],i,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 r=0;r<e.length;r++)if(e[r]===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={},r=[],i=0;i<e.length;i++)t[e[i]]||(r.push(e[i]),t[e[i]]=!0);return r},from:function(e){for(var t=[],r=0;r<e.length;r++)t.push(e[r]);return t},keys:function(e){var t=[];for(var r in e)t.push(r);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 w(e){var t,r,i,n,o,s,a,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c="",u=0;for(e=function(e){e=e.replace(/rn/g,"n");for(var t="",r=0;r<e.length;r++){var i=e.charCodeAt(r);i<128?t+=String.fromCharCode(i):i>127&&i<2048?t+=String.fromCharCode(i>>6|192)+String.fromCharCode(63&i|128):t+=String.fromCharCode(i>>12|224)+String.fromCharCode(i>>6&63|128)+String.fromCharCode(63&i|128)}return t}(e);u<e.length;)n=(t=e.charCodeAt(u++))>>2,o=(3&t)<<4|(r=e.charCodeAt(u++))>>4,s=(15&r)<<2|(i=e.charCodeAt(u++))>>6,a=63&i,isNaN(r)?s=a=64:isNaN(i)&&(a=64),c=c+l.charAt(n)+l.charAt(o)+l.charAt(s)+l.charAt(a);return c}function y(e){var t,r,i,n,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|(n=a.indexOf(e.charAt(c++)))>>4,r=(15&n)<<4|(o=a.indexOf(e.charAt(c++)))>>2,i=(3&o)<<6|(s=a.indexOf(e.charAt(c++))),l+=String.fromCharCode(t),64!==o&&(l+=String.fromCharCode(r)),64!==s&&(l+=String.fromCharCode(i));return function(e){for(var t="",r=0,i=0,n=0,o=0;r<e.length;)(i=e.charCodeAt(r))<128?(t+=String.fromCharCode(i),r++):i>191&&i<224?(t+=String.fromCharCode((31&i)<<6|63&(o=e.charCodeAt(r+1))),r+=2):(o=e.charCodeAt(r+1),t+=String.fromCharCode((15&i)<<12|(63&o)<<6|63&(n=e.charCodeAt(r+2))),r+=3);return t}(l)}function b(e,t,r){var i="",n=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){i+=r(e.slice(n,a)),o=a,n=a;continue}if(">"===d||a===l-1){i+=r(e.slice(n,o)),c=function(e){var t,r=m.spaceIndex(e);return t=-1===r?e.slice(1,-1):e.slice(1,r+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)),i+=t(o,i.length,c,u,"</"===u.slice(0,2)),n=a+1,o=!1;continue}if('"'===d||"'"===d)for(var h=1,f=e.charAt(a-h);""===f.trim()||"="===f;){if("="===f){s=d;continue e}f=e.charAt(a-++h)}}else if(d===s){s=!1;continue}}return n<l&&(i+=r(e.substr(n))),i}function _(e,t){var r=0,n=0,o=[],s=!1,a=e.length;function l(e,r){if(!((e=(e=m.trim(e)).replace(i,"").toLowerCase()).length<1)){var n=t(e,r||"");n&&o.push(n)}}for(var c=0;c<a;c++){var u=e.charAt(c),d=void 0;if(!1!==s||"="!==u){if(!1===s||c!==n){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 r=e[t];if(" "!==r)return"="===r?t:-1}return -1}(e,c))){l(m.trim(e.slice(r,c))),s=!1,r=c+1;continue}c=d-1;continue}if(-1===(d=function(e,t){for(;t>0;t--){var r=e[t];if(" "!==r)return"="===r?t:-1}return -1}(e,c-1))){l(s,v(m.trim(e.slice(r,c)))),s=!1,r=c+1;continue}}}else{if(-1===(d=e.indexOf(u,c+1)))break;l(s,m.trim(e.slice(n+1,d))),s=!1,r=(c=d)+1}}else s=e.slice(r,c),r=c+1,n='"'===e.charAt(r)||"'"===e.charAt(r)?r:function(e,t){for(;t<e.length;t++){var r=e[t];if(" "!==r)return"'"===r||'"'===r?t:-1}return -1}(e,c+1)}return r<e.length&&(!1===s?l(e.slice(r)):l(s,v(m.trim(e.slice(r))))),m.trim(o.join(" "))}function x(e,t,r){if(r=function(e){return e=function(e){for(var t="",r=0,i=e.length;r<i;r++)t+=32>e.charCodeAt(r)?" ":e.charAt(r);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(l,":").replace(c," "))}(r),"href"===t||"src"===t){if("#"===(r=m.trim(r)))return"#";if("http://"!==r.substr(0,7)&&"https://"!==r.substr(0,8)&&"mailto:"!==r.substr(0,7)&&"tel:"!==r.substr(0,4)&&"data:image/"!==r.substr(0,11)&&"ftp://"!==r.substr(0,6)&&"./"!==r.substr(0,2)&&"../"!==r.substr(0,3)&&"#"!==r[0]&&"/"!==r[0])return""}else if("background"===t){if(u.lastIndex=0,u.test(r))return""}else if("style"===t&&(h.lastIndex=0,h.test(r)||(d.lastIndex=0,d.test(r)&&(u.lastIndex=0,u.test(r)))))return"";return r=function(e){return e=p(e=e.replace(f,"&quot;"))}(r)}var S=function(e){return"string"==typeof e?e.replace(/'/g,'"').replace('=""',"").replace(/\s+/g,"").toLowerCase():""},E=function(){function e(e){var t=function(e){var t={};for(var r in e)t[r]=e[r];return t}(e||{});t.stripIgnoreTag&&(t.onIgnoreTag,t.onIgnoreTag=function(){return""}),t.whiteList={},t.onTag=function(){},t.onTagAttr=function(){},t.onIgnoreTag=function(){},t.onIgnoreTagAttr=function(){},t.safeAttrValue=x,t.escapeHtml=p,this.options=Object.assign(t,e)}return e.prototype.process=function(e){if(!(e=(e=e||"").toString()))return"";var t,r,i,n,o,s,a=this.options,l=a.whiteList,c=a.onTag,u=a.onIgnoreTag,d=a.onTagAttr,h=a.onIgnoreTagAttr,f=a.safeAttrValue,p=a.escapeHtml;a.stripBlankChar&&(e=(t=(t=e.split("")).filter(function(e){var t=e.charCodeAt(0);return!(127===t||t<=31&&10!==t&&13!==t)})).join("")),a.allowCommentTag||(e=function(e){for(var t="",r=0;r<e.length;){var i=e.indexOf("\x3c!--",r);if(-1===i){t+=e.slice(r);break}t+=e.slice(r,i);var n=e.indexOf("--\x3e",i);if(-1===n)break;r=n+3}return t}(e));var g=!1;a.stripIgnoreTagBody&&(r=a.stripIgnoreTagBody,"function"!=typeof(i=u)&&(i=function(){}),n=!Array.isArray(r),o=[],s=!1,u=(g={onIgnoreTag:function(e,t,a){var l;if(l=e,n||-1!==m.indexOf(r,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 i(e,t,a)},remove:function(e){var t="",r=0;return m.forEach(o,function(i){t+=e.slice(r,i[0]),r=i[1]}),t+=e.slice(r)}}).onIgnoreTag);var v=b(e,function(e,t,r,i,n){var o={sourcePosition:e,position:t,isClosing:n,isWhite:Object.prototype.hasOwnProperty.call(l,r)},s=c(r,i,o);if(null!=s)return s;if(o.isWhite){if(o.isClosing)return"</".concat(r,">");var a=function(e){var t=m.spaceIndex(e);if(-1===t)return{html:"",closing:"/"===e[e.length-2]};var r="/"===(e=m.trim(e.slice(t+1,-1)))[e.length-1];return r&&(e=m.trim(e.slice(0,-1))),{html:e,closing:r}}(i),g=l[r],v=_(a.html,function(e,t){var i=-1!==m.indexOf(g,e),n=d(r,e,t,i);return null==n?i?(t=f(r,e,t,null))?"".concat(e,'="').concat(t,'"'):e:null==(n=h(r,e,t,i))?void 0:n:n});return i="<".concat(r),v&&(i+=" ".concat(v)),a.closing&&(i+=" /"),i+=">"}return null==(s=u(r,i,o))?p(i):s},p);return g&&(v=g.remove(v)),v},e}(),k=Function("\nvar _checkXSS = function (it) {\n return it && it.Math == Math && it;\n};\nreturn _checkXSS(typeof globalThis === 'object' && globalThis) ||\n_checkXSS(typeof window === 'object' && window) ||\n_checkXSS(typeof self === 'object' && self) ||\n_checkXSS(typeof global === 'object' && global) ||\nFunction('return this')();\n")(),A=new(function(){function e(){var e=this;this.batchData=[],this.uniqKeys=new Set,this.timeout=2e3,this.lock=!1,this.getSlardarBid=function(){var t,r,i="douyin_web";if(!m.includes(i,"bid"))return i;if(e.config&&e.config.bid)return e.config.bid;if(k&&k._xssBid)return k._xssBid;if(k&&k.slardar&&"function"==typeof k.slardar.config){var n=(k.slardar.config()||{}).bid;if(n)return n}if(k&&k.Slardar&&"function"==typeof k.Slardar.config){var o=(k.Slardar.config()||{}).bid;if(o)return o}return(null===(r=null===(t=null==k?void 0:k.Slardar)||void 0===t?void 0:t._baseParams)||void 0===r?void 0:r.bid)||"argus"},this.getConfigRegion=function(){var t;return m.includes("cn","region")?e.config&&e.config.region?e.config.region:((null===(t=null==k?void 0:k.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 r=e.batchData.slice(0,100);e.batchData=e.batchData.slice(100),k.fetch(t,{method:"post",body:JSON.stringify(r),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(k.fetch&&e.collectKey){var r="object"==typeof window?window.location.href:"SSR";e.documentUrl=r;var i={age:Math.floor(Date.now()),type:"xss",url:r,body:e,"user-agent":""};"enforce"===e.disposition&&"SSR"!==r||(i.url=t),"SSR"===r&&(i.url="SSR___".concat(i.url),i.body.ssr=!0),this.push(i)}},e}()),C=function(e){for(var t=0,r=function(r){Array.isArray(e[r])?0===e[r].length?delete e[r]:(e[r]=m.from(m.uniq(e[r])),t+=e[r].length):0===m.keys(e[r]).length?delete e[r]:m.keys(e[r]).forEach(function(i){e[r][i]=m.from(m.uniq(e[r][i])),t+=e[r][i].length})},i=0,n=m.keys(e);i<n.length;i++)r(n[i]);return{count:t,ret:e}};function T(e,t){return A.setConfig(t),new E(t).process(e)}function P(e){var t,r=(t=/\s|\n|\t/.exec(e))?t.index:-1;if(-1===r)return{html:"",closing:"/"===e[e.length-2]};var i="/"===(e=e.slice(r+1,-1).trim())[e.length-1];return i&&(e=e.slice(0,-1).trim()),{html:e,closing:i}}var O=function(e){return -1===(e=(e=(e=(e=e.replace(/&colon;/gi,":")).replace(/&tab;/gi,"")).replace(/&newline;/gi,"")).replace(/(\t|\n|\r)/g,"")).indexOf("&#")?e.trim().toLowerCase():e.trim().replace(/&#(?:(x)([0-9a-f]+)|([0-9]+));?/gi,function(e,t,r,i){return String.fromCharCode(t?parseInt(r,16):parseInt(i))}).replace(/(\t|\n|\r)/g,"").toLowerCase()};function L(e,t){if(void 0===e&&(e=""),"string"!=typeof e)return!0;if(e=O(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 r=["expression(","behavior:","view-source:"];if(m.some(r,function(t){return -1!==e.indexOf(t)}))return m.forEach(r,function(r){-1!==e.indexOf(r)&&t&&t(r)}),!1;var i=["data:application","data:javascript","data:text/html","data:texthtml"];if(m.some(i,function(t){return -1!==e.indexOf(t)}))return m.forEach(i,function(r){-1!==e.indexOf(r)&&t&&t(r)}),!1;if(e.indexOf("javascript:")>0)return t&&t("javascript:"),!1;if(/^javascript:/i.test(e)){var n=e.slice(11).replace(/\s/g,"").trim();return!!m.some(["void","void(0)","void0","false","undefined",";"],function(e){return e===n})||(t&&t("javascript:"),!1)}return!0}var R=function(e,t){var r,i,n="<%= isSaveValidUrl =>";if("string"!=typeof e||(i=Number("<%= urlLimit =>"),void 0!==r&&(i=r),"NaN"!==e.toString()&&-1!==i&&e.length>=i)||L(e,t))return e;try{if(!0===(n=JSON.parse(n))||"true"===n){var o=new URL(e);return o.origin+o.pathname}}catch(e){}return"#"};function D(e,t,i){if(void 0===e&&(e=""),void 0===t&&(t=[]),"string"!=typeof e)return!0;if(!L(e=O(e)))return!1;var n,o={url:(n=e.match(/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/)||[])[0],scheme:n[1],slash:n[2],host:n[3],port:n[4],path:n[5],query:n[6],hash:n[7]},s=o.scheme,a=o.host;return i?!!i(e):!(!s||!a)&&(!m.includes(["http","https","file"],s)||("object"==typeof window&&window&&(t=r(r([],t,!0),[location.host],!1)),m.some(t,function(e){return!!(e instanceof RegExp&&e.test(a))||e===a})))}var N={a:["target","title","spellcheck","rel"],canvas:[],abbr:["title"],address:[],area:["shape","coords","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:["dir"],dl:[],dt:[],em:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["alt","title","width","height","decoding"],ins:["datetime"],li:[],mark:[],nav:[],ol:["start"],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],sup:[],delete:[],form:[],strong:[],mask:["maskunits","x","y","width","height","fill"],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],wbr:[],video:["autoplay","controls","loop","preload","height","width"],svg:["viewBox","version","xmlns","fill","width","height","stroke","stroke-width","style"],path:["d","fill","opacity","stroke","p-id","fill-rule","clip-rule","stroke-width","stroke-linecap","stroke-linejoin","fill-opacity","mask"],rect:["x","y","width","height","fill","stroke","rx"],g:[]},j={collect:null,initCollect:function(){this.collect={whiteList:{},filterProtocol:[]}},removeCollect:function(){var e=C(this.collect),t=e.count,r=e.ret;return this.collect=null,{collectKey:0===t?null:JSON.stringify(r),collectMode:"white"}},onIgnoreTagAttr:function(e,t,i){return e&&m.indexOf(["href","src"],t)>-1?j.domainWhiteList&&Array.isArray(j.domainWhiteList)&&j.domainWhiteList.length>0&&!D(i,r([],j.domainWhiteList,!0))?"":"".concat(t,'="').concat(R(i,function(e){var t;null===(t=j.collect)||void 0===t||t.filterProtocol.push(e)}),'"'):e&&(m.indexOf(["style","class","id"],t)>-1||t.indexOf("data-")>-1)?"".concat(t,'="').concat(i,'"'):(j.collect.whiteList[e]=j.collect.whiteList[e]||[],void j.collect.whiteList[e].push(t))},onIgnoreTag:function(e,t){if("style"===e)return t;b(t,function(e,t,r,i){_(P(i).html.replace("/",""),function(e){j.collect.whiteList[r]=j.collect.whiteList[r]||[],j.collect.whiteList[r].push(e)})},p)},whiteList:N,mergeWhiteList:function(e){for(var t,r={},i=0,n=m.keys(N);i<n.length;i++)r[t=n[i]]=m.from(N[t]);for(var o=0,s=m.keys(e);o<s.length;o++)r[t=s[o]]=t in N?N[t].concat(e[t]):m.from(e[t]);return r},setWhiteList:function(e){for(var t=0,r=m.keys(e);t<r.length;t++){var i=r[t];this.whiteList[i]=i in N?N[i].concat(e[i]):m.from(e[i])}}};try{var I={},M="merge";m.includes(M,"override")&&(j.whiteList=I.whiteList),m.includes(M,"merge")&&j.setWhiteList(I.whiteList)}catch(e){}var Z=function(e,t){for(var r={},i=0,n=m.keys(e);i<n.length;i++){var o=n[i];Array.isArray(e[o])?r[o]=m.from(e[o]):r[o]=Z({},e[o])}for(var s=0,a=m.keys(t);s<a.length;s++)(o=a[s])in e?Array.isArray(e[o])?r[o]=e[o].concat(t[o]):r[o]=Z(e[o],t[o]):Array.isArray(t[o])?r[o]=m.from(t[o]):r[o]=Z({},t[o]);return r},B={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 U={};U.blackAttrRegExps&&(U.blackAttrRegExps=U.blackAttrRegExps.map(function(e){return new RegExp(e.toString().slice(1,e.toString().length-1))}));var $="merge";m.includes($,"override")&&(B=U),m.includes($,"merge")&&(B=Z(B,U))}catch(e){}var F={mode:"black",whiteList:{},blackConfig:B,collect:null,initCollect:function(){F.collect={blackList:{},blackTags:[],blackAttrs:[],blackAttrRegExps:[],filterAttrs:[],filterList:{},filterProtocol:[]}},removeCollect:function(){var e=C(F.collect),t=e.count,r=e.ret;return F.collect=null,{collectKey:0===t?null:JSON.stringify(r),collectMode:"black"}},onIgnoreTag:function(e,t){var r;if(!m.includes(B.blackTags,e))return b(t,function(e,t,r,i,n){if(-1!==r.indexOf("/"))return p(i);if(n)return"</".concat(r,">");var o=P(i),s=_(o.html,function(e,t){var i,n=0;if(B.blackList[r]&&m.includes(B.blackList[r],e)&&(F.collect.blackList[r]=F.collect.blackList[r]||[],F.collect.blackList[r].push(e),n++),B.blackAttrRegExps.length&&B.blackAttrRegExps.some(function(t){return t.test(e)})&&m.forEach(B.blackAttrRegExps,function(t){t.test(e)&&(F.collect.blackAttrRegExps.push("".concat(t.toString(),"->").concat(e)),n++)}),B.blackAttrs.length&&m.includes(B.blackAttrs,e)&&(B.blackAttrs.push(e),n++),!n){if(B.filterList&&B.filterList[r]&&m.includes(B.filterList[r],e)){var o=R(t,function(e){var t;null===(t=F.collect)||void 0===t||t.filterProtocol.push(e)});return o!==t&&(F.collect.filterList[r]=F.collect.filterList[r]||[],F.collect.filterList[r].push(e)),t?"".concat(e,"='").concat(o,"'"):e}return B.filterAttrs&&m.includes(B.filterAttrs,e)?((o=R(t,function(e){var t;null===(t=F.collect)||void 0===t||t.filterProtocol.push(e)}))!==t&&(null===(i=F.collect)||void 0===i||i.filterAttrs.push(e)),t?"".concat(e,"='").concat(o,"'"):e):t?"".concat(e,"='").concat(t,"'"):e}});return i="<".concat(r),s&&(i+=" ".concat(s)),o.closing&&(i+=" /"),i+=">"},p);null===(r=F.collect)||void 0===r||r.blackTags.push(e)}},V=function(e){var t=e.reportOnly,r=void 0===t||t,i=e.block;return r&&"all"===r?"report":("string"==typeof r&&("true"===r&&(r=!0),"false"===r&&(r=!1)),i?"enforce":r?"report":"enforce")},W=function(e){return function(r,i,n){if(!r||"string"!=typeof r)return r;var o=i;e===T&&(o=j).initCollect();var s=e(r,o);if(S(s)===S(r))return r;if(!n)return s;var a=n.logType,l=V(n),c=o.removeCollect();return A.report(t(t({type:a,disposition:l},c),{sourceText:w(r),filterText:w(s)})),"enforce"===l?s:r}},H=W(function(e,t){return void 0===t&&(t={}),t&&t.whiteList||(t.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}),new E(t).process(e)}),X=W(T),z=function(e,t,r){var i=[],n=R(e,function(e){i.push(e)});if(n===e)return e;i=m.from(m.uniq(i));var o=t||r||{};if(!o)return n;var s=o.logType,a=V(r);return A.report({type:s,disposition:a,collectKey:i.join("___"),collectData:JSON.stringify(i),collectMode:"black",sourceText:w(e),filterText:w(n)}),"enforce"===a?n:e},Y=k._xssProject||{},G=k.xssNamespace||{},J="3.0.26",K={FilterXSS:E,version:J,webpackPluginVersion:"<%= webpackPluginVersion =>",reportOnly:"<%= reportOnly =>",filterXSS:H,_filterXSS:X,filterUrl:z,Config:j,BlackConfig:F,project:Y,setProjectName:function(e){Y[e]=this,k._xssProjectName=e}};G.douyin_web=K,k.xssNamespace=G,k.Math&&!k.Math.xssNamespace&&(k.Math.xssNamespace=G),Y[J]=K,k.globalThis=k,k.getFilterXss=function(){return void 0!==this._xssProjectName?this._xssProject[this._xssProjectName]:K},k.xss=K,k.isSafeUrl=D,k.isSafeDomain=D,k.isSafeProtocol=L,k._xssProject=Y,k._xssProjectName&&(Y[k._xssProjectName]=K);var q=K.setProjectName.bind(K);e.BlackConfig=F,e.Config=j,e.FilterXSS=E,e._filterXSS=X,e.filterUrl=z,e.filterXSS=H,e.isSafeDomain=D,e.isSafeProtocol=L,e.isSafeUrl=D,e.project=Y,e.setProjectName=q,e.setXssNamespace=function(e){var t=e.appId,r=e.bid,i=e.region;G[t]=K;j.bid=r,j.region=i,j.enabled=!0},e.xssNamespace=G,Object.defineProperty(e,"__esModule",{value:!0})}),(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["42288"],{6642:function(e,t,r){"use strict";var i=r(101199),n=r(994298);let o=(0,n.A)(function(e){return i.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),i.createElement("path",{d:"M5 12.5c0-.83.67-1.5 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 5 12.5Z",fill:"currentColor"}))},"checkbox_indeterminate");t.Z=o},138806:function(e,t,r){"use strict";var i=r(101199),n=r(994298);let o=(0,n.A)(function(e){return i.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),i.createElement("path",{d:"m20.56 9.66-7.8 8.97a1 1 0 0 1-1.51 0L3.44 9.66A1 1 0 0 1 4.19 8h15.62a1 1 0 0 1 .75 1.66Z",fill:"currentColor"}))},"tree_triangle_down");t.Z=o},282802:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),r=t[0],i=t[1];return(r+i)*3/4-i},t.toByteArray=function(e){var t,r,o,s,a=l(e),c=a[0],u=a[1];var d=new n((t=0,(c+(r=u))*3/4-r)),h=0,f=u>0?c-4:c;for(s=0;s<f;s+=4)o=i[e.charCodeAt(s)]<<18|i[e.charCodeAt(s+1)]<<12|i[e.charCodeAt(s+2)]<<6|i[e.charCodeAt(s+3)],d[h++]=o>>16&255,d[h++]=o>>8&255,d[h++]=255&o;return 2===u&&(o=i[e.charCodeAt(s)]<<2|i[e.charCodeAt(s+1)]>>4,d[h++]=255&o),1===u&&(o=i[e.charCodeAt(s)]<<10|i[e.charCodeAt(s+1)]<<4|i[e.charCodeAt(s+2)]>>2,d[h++]=o>>8&255,d[h++]=255&o),d},t.fromByteArray=function(e){for(var t,i=e.length,n=i%3,o=[],s=0,a=i-n;s<a;s+=16383)o.push(function(e,t,i){for(var n,o,s=[],a=t;a<i;a+=3){;o=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),s.push(r[(n=o)>>18&63]+r[n>>12&63]+r[n>>6&63]+r[63&n])}return s.join("")}(e,s,s+16383>a?a:s+16383));return 1===n?(t=e[i-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===n&&(t=(e[i-2]<<8)+e[i-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")};for(var r=[],i=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=o.length;s<a;++s)r[s]=o[s],i[o.charCodeAt(s)]=s;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var i=r===t?0:4-r%4;return[r,i]}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},158920:function(e,t,r){"use strict";var i=r(838025);t.Z={y:function(e,t){var r=e.getUTCFullYear(),n=r>0?r:1-r;return(0,i.Z)("yy"===t?n%100:n,t.length)},M:function(e,t){var r=e.getUTCMonth();return"M"===t?String(r+1):(0,i.Z)(r+1,2)},d:function(e,t){return(0,i.Z)(e.getUTCDate(),t.length)},a:function(e,t){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];default:return"am"===r?"a.m.":"p.m."}},h:function(e,t){return(0,i.Z)(e.getUTCHours()%12||12,t.length)},H:function(e,t){return(0,i.Z)(e.getUTCHours(),t.length)},m:function(e,t){return(0,i.Z)(e.getUTCMinutes(),t.length)},s:function(e,t){return(0,i.Z)(e.getUTCSeconds(),t.length)},S:function(e,t){var r=t.length,n=Math.floor(e.getUTCMilliseconds()*Math.pow(10,r-3));return(0,i.Z)(n,t.length)}}},226712:function(e,t,r){"use strict";var i=r(866979),n=r(714145),o=r(781954),s=r(660725),a=r(61117),l={code:"zh-CN",formatDistance:i.Z,formatLong:n.Z,formatRelative:o.Z,localize:s.Z,match:a.Z,options:{weekStartsOn:1,firstWeekContainsDate:4}};t.Z=l},852626:function(e,t,r){"use strict";r.d(t,{Z:function(){return S}});var i=r(634771),n=r(69534),o=r(672097),s=r(647566),a=r(726588),l=r(427058),c=r(519879),u=r(731278),d=r(768587),h=r(557094),f=r(144256),p=r(38361),m=r(186707),g=r(588736),v=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,w=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,y=/^'([^]*?)'?$/,b=/''/g,_=/\S/,x=/[a-zA-Z]/;function S(e,t,r,S){(0,f.Z)(3,arguments);var E=String(e),k=String(t),A=(0,g.j)(),C=null!==(N=null!==(j=null==S?void 0:S.locale)&&void 0!==j?j:A.locale)&&void 0!==N?N:o.Z;if(!C.match)throw RangeError("locale must contain match property");var T=(0,h.Z)(null!==(I=null!==(M=null!==(Z=null!==(B=null==S?void 0:S.firstWeekContainsDate)&&void 0!==B?B:null==S?void 0:null===(U=S.locale)||void 0===U?void 0:null===($=U.options)||void 0===$?void 0:$.firstWeekContainsDate)&&void 0!==Z?Z:A.firstWeekContainsDate)&&void 0!==M?M:null===(F=A.locale)||void 0===F?void 0:null===(V=F.options)||void 0===V?void 0:V.firstWeekContainsDate)&&void 0!==I?I:1);if(!(T>=1&&T<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var P=(0,h.Z)(null!==(W=null!==(H=null!==(X=null!==(z=null==S?void 0:S.weekStartsOn)&&void 0!==z?z:null==S?void 0:null===(Y=S.locale)||void 0===Y?void 0:null===(G=Y.options)||void 0===G?void 0:G.weekStartsOn)&&void 0!==X?X:A.weekStartsOn)&&void 0!==H?H:null===(J=A.locale)||void 0===J?void 0:null===(K=J.options)||void 0===K?void 0:K.weekStartsOn)&&void 0!==W?W:0);if(!(P>=0&&P<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===k)return""===E?(0,a.Z)(r):new Date(NaN);var O={firstWeekContainsDate:T,weekStartsOn:P,locale:C},L=[new p.GT],R=k.match(w).map(function(e){var t=e[0];return t in c.Z?(0,c.Z[t])(e,C.formatLong):e}).join("").match(v),D=[],N,j,I,M,Z,B,U,$,F,V,W,H,X,z,Y,G,J,K,q,Q=(0,n.Z)(R);try{for(Q.s();!(q=Q.n()).done;){var ee=function(){var t=q.value;!(null!=S&&S.useAdditionalWeekYearTokens)&&(0,d.Do)(t)&&(0,d.qp)(t,k,e),!(null!=S&&S.useAdditionalDayOfYearTokens)&&(0,d.Iu)(t)&&(0,d.qp)(t,k,e);var r=t[0],i=m.f[r];if(i){var n=i.incompatibleTokens;if(Array.isArray(n)){var o=D.find(function(e){return n.includes(e.token)||e.token===r});if(o)throw RangeError("The format string mustn't contain `".concat(o.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===i.incompatibleTokens&&D.length>0)throw RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));D.push({token:r,fullToken:t});var s=i.run(E,t,C.match,O);if(!s)return{v:new Date(NaN)};L.push(s.setter),E=s.rest}else{if(r.match(x))throw RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");if("''"===t?t="'":"'"===r&&(t=function(e){return e.match(y)[1].replace(b,"'")}(t)),0!==E.indexOf(t))return{v:new Date(NaN)};E=E.slice(t.length)}}();if("object"===(0,i.Z)(ee))return ee.v}}catch(e){Q.e(e)}finally{Q.f()}if(E.length>0&&_.test(E))return new Date(NaN);var et=L.map(function(e){return e.priority}).sort(function(e,t){return t-e}).filter(function(e,t,r){return r.indexOf(e)===t}).map(function(e){return L.filter(function(t){return t.priority===e}).sort(function(e,t){return t.subPriority-e.subPriority})}).map(function(e){return e[0]}),er=(0,a.Z)(r);if(isNaN(er.getTime()))return new Date(NaN);var ei=(0,s.Z)(er,(0,u.Z)(er)),en={},eo,es=(0,n.Z)(et);try{for(es.s();!(eo=es.n()).done;){var ea=eo.value;if(!ea.validate(ei,O))return new Date(NaN);var el=ea.set(ei,en,O);Array.isArray(el)?(ei=el[0],(0,l.Z)(en,el[1])):ei=el}}catch(e){es.e(e)}finally{es.f()}return ei}},89894:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};t.default=function(e,t,i,n){return r[e]},e.exports=t.default},294089:function(e){e.exports=function(e,t){for(var r=-1,i=t.length,n=e.length;++r<i;)e[n+r]=t[r];return e}},333655:function(e,t,r){var i=r(293137);e.exports=function(e,t){return function(r,n){if(null==r)return r;if(!i(r))return e(r,n);for(var o=r.length,s=t?o:-1,a=Object(r);(t?s--:++s<o)&&!1!==n(a[s],s,a););return r}}},544991:function(e){e.exports=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}},749148:function(e,t,r){var i=r(860970),n=r(610972),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,l=i(function(){return arguments}())?i:function(e){return n(e)&&s.call(e,"callee")&&!a.call(e,"callee")};e.exports=l},481526:function(e,t,r){var i=r(815527),n=r(281148),o=r(770012),s=n(function(e,t){return o(e)?i(e,t):[]});e.exports=s},570581:function(e,t,r){"use strict";function i(e,t,r){for(var i=Object.keys(t),n=0;n<i.length;++n)(void 0===e[i[n]]||!r)&&(e[i[n]]=t[i[n]]);return e}function n(e){function t(e,r){if(!(this instanceof t))return new t(e,r);Object.defineProperty(this,"message",{get:function(){return e}}),Error.captureStackTrace?Error.captureStackTrace(this,t):Object.defineProperty(this,"stack",{value:Error().stack||""}),r&&i(this,r)}return(t.prototype=Object.create(Error.prototype)).constructor=t,Object.defineProperty(t.prototype,"name",{get:function(){return e}}),t.prototype.toString=function(){return this.name+": "+this.message},t}t.asPromise=r(684667),t.base64=r(272003),t.EventEmitter=r(985368),t.float=r(720801),t.inquire=r(676875),t.utf8=r(416882),t.pool=r(821270),t.LongBits=r(582740),t.isNode=!!("undefined"!=typeof window&&window&&window.process&&window.process.versions&&window.process.versions.node),t.global=t.isNode&&window||"undefined"!=typeof window&&window||"undefined"!=typeof self&&self||this,t.emptyArray=Object.freeze?Object.freeze([]):[],t.emptyObject=Object.freeze?Object.freeze({}):{},t.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},t.isString=function(e){return"string"==typeof e||e instanceof String},t.isObject=function(e){return e&&"object"==typeof e},t.isset=t.isSet=function(e,t){var r=e[t];return!!(null!=r&&e.hasOwnProperty(t))&&("object"!=typeof r||(Array.isArray(r)?r.length:Object.keys(r).length)>0)},t.Buffer=function(){try{var e=t.inquire("buffer").Buffer;return e.prototype.utf8Write?e:null}catch(e){return null}}(),t._Buffer_from=null,t._Buffer_allocUnsafe=null,t.newBuffer=function(e){return"number"==typeof e?t.Buffer?t._Buffer_allocUnsafe(e):new t.Array(e):t.Buffer?t._Buffer_from(e):"undefined"==typeof Uint8Array?e:new Uint8Array(e)},t.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,t.Long=t.global.dcodeIO&&t.global.dcodeIO.Long||t.global.Long||t.inquire("long"),t.key2Re=/^true|false|0|1$/,t.key32Re=/^-?(?:0|[1-9][0-9]*)$/,t.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,t.longToHash=function(e){return e?t.LongBits.from(e).toHash():t.LongBits.zeroHash},t.longFromHash=function(e,r){var i=t.LongBits.fromHash(e);return t.Long?t.Long.fromBits(i.lo,i.hi,r):i.toNumber(!!r)},t.merge=i,t.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},t.newError=n,t.ProtocolError=n("ProtocolError"),t.oneOfGetter=function(e){for(var t={},r=0;r<e.length;++r)t[e[r]]=1;return function(){for(var e=Object.keys(this),r=e.length-1;r>-1;--r)if(1===t[e[r]]&&void 0!==this[e[r]]&&null!==this[e[r]])return e[r]}},t.oneOfSetter=function(e){return function(t){for(var r=0;r<e.length;++r)e[r]!==t&&delete this[e[r]]}},t.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},t._configure=function(){var e=t.Buffer;if(!e){t._Buffer_from=t._Buffer_allocUnsafe=null;return}t._Buffer_from=e.from!==Uint8Array.from&&e.from||function(t,r){return new e(t,r)},t._Buffer_allocUnsafe=e.allocUnsafe||function(t){return new e(t)}}},767490:function(e,t,r){"use strict";var i=r(803742),n={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!i(e)&&hasOwnProperty.call(n,typeof e)}},82081:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}}),r(683656),r(759943),r(490629);var i=r(101199),n=r(469935),o=r.n(n),s=r(622689),a=r.n(s),l=r(209873),c=r(307852),u=r(120177);r(233777);let d=`${u.U.PREFIX}-time`;class h extends i.PureComponent{formatTime(e){let{renderTimeDisplay:t}=this.props;if("function"==typeof t)return t(e);{let t=(e,t)=>e.replace("${time}",String(t));return i.createElement(l.Z,{componentName:"Calendar",key:`locale-${e}`},r=>{let i=e<12?t(r.AM,e):t(r.PM,e-12);return 12===e&&(i=t(r.PM,e)),i})}}renderTime(){let{className:e}=this.props,t=o()(e,`${d}`),r=[...Array(24).keys()].map(e=>this.formatTime(e));r.splice(0,1,"");let n=r.map((e,t)=>i.createElement("li",{key:`time-${t}`,className:`${d}-item`},i.createElement("span",null,e)));return i.createElement("div",{className:t},i.createElement("ul",{className:`${d}-items`},n))}render(){return this.renderTime()}}h.propTypes={className:a().string,renderTimeDisplay:a().func},h.contextType=c.Z},846321:function(e,t,r){"use strict";r.d(t,{Z:function(){return O}}),r("932651"),r("112459"),r("759943"),r("683656"),r("121926"),r("490629");var i=r("876553"),n=r.n(i),o=r("101199"),s=r("469935"),a=r.n(s),l=r("340184"),c=r("856445");class u extends c.Z{init(){let e=this.getProps(),t=this._adapter.getEditorRef();this.jsonViewer=new l.h(t,e.value,e.options),this.jsonViewer.emitter.on("customRender",e=>{this._adapter.notifyCustomRender(e.customRenderMap)}),this.jsonViewer.layout(),this.jsonViewer.emitter.on("contentChanged",e=>{var t;this._adapter.notifyChange(null===(t=this.jsonViewer)||void 0===t?void 0:t.getModel().getValue()),this.getState("showSearchBar")&&this.search(this._adapter.getSearchRef().value)})}search(e,t,r,i){var n;let o;let{caseSensitive:s,wholeWord:a,regex:l}=o=void 0!==t||void 0!==r||void 0!==i?{caseSensitive:null!=t&&t,wholeWord:null!=r&&r,regex:null!=i&&i}:this.getState("searchOptions");null===(n=this.jsonViewer)||void 0===n||n.getSearchWidget().search(e,s,a,l)}prevSearch(e){var t,r;void 0===e?null===(t=this.jsonViewer)||void 0===t||t.getSearchWidget().navigateResults(-1):null===(r=this.jsonViewer)||void 0===r||r.getSearchWidget().navigateResults(-e)}nextSearch(e){var t,r;void 0===e?null===(t=this.jsonViewer)||void 0===t||t.getSearchWidget().navigateResults(1):null===(r=this.jsonViewer)||void 0===r||r.getSearchWidget().navigateResults(e)}replace(e){var t;if(!this.getProps().options.readOnly)null===(t=this.jsonViewer)||void 0===t||t.getSearchWidget().replace(e)}replaceAll(e){var t;if(!this.getProps().options.readOnly)null===(t=this.jsonViewer)||void 0===t||t.getSearchWidget().replaceAll(e)}setSearchOptions(e){this._adapter.setSearchOptions(e)}showSearchBar(){this._adapter.showSearchBar()}getSearchResults(){var e;return null===(e=this.jsonViewer)||void 0===e?void 0:e.getSearchWidget().searchResults}constructor(e){super(Object.assign(Object.assign({},u),e)),this.jsonViewer=null}}r("286891");var d=r("448175"),h=r("755673"),f=r("9444"),p=r("975044"),m=r("193122"),g=r("191493"),v=r("508372"),w=r("994298");let y=(0,w.A)(function(e){return o.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),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 5c.63 0 1.2.4 1.41.99l4 11A1.5 1.5 0 1 1 10.09 18l-.55-1.51H5.46l-.55 1.51A1.5 1.5 0 1 1 2.09 17l4-11c.22-.6.78-.99 1.41-.99Zm-.95 8.5h1.9l-.95-2.61-.95 2.61Z",fill:"currentColor"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 3a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1Z",fill:"currentColor"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.99 21a1 1 0 0 1 1-1H21a1 1 0 1 1 0 2H2.99a1 1 0 0 1-1-1Z",fill:"currentColor"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5 5c.83 0 1.5.67 1.5 1.5V10c1.23 0 2.46.34 3.41 1.1 1 .8 1.59 1.98 1.59 3.4s-.6 2.6-1.59 3.4A5.43 5.43 0 0 1 17 19h-2a1 1 0 0 1-1-1V6.5c0-.83.67-1.5 1.5-1.5Zm1.5 8v3c.7 0 1.23-.2 1.54-.45.27-.21.46-.53.46-1.05s-.19-.84-.46-1.06A2.46 2.46 0 0 0 17 13Z",fill:"currentColor"}))},"whole_word");var b=r("151943"),_=r("63793"),x=r("170651"),S=r("877004"),E=r("426337"),k=r("890710"),A=r("209873"),C=function(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)0>t.indexOf(i[n])&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r};let T=d.U.PREFIX;class P extends E.Z{componentDidMount(){this.foundation.init()}componentDidUpdate(e){(!n()(e.options,this.props.options)||this.props.value!==e.value)&&(this.foundation.jsonViewer.dispose(),this.foundation.init())}get adapter(){return Object.assign(Object.assign({},super.adapter),{getEditorRef:()=>this.editorRef.current,getSearchRef:()=>this.searchInputRef.current,notifyChange:e=>{var t,r;null===(r=(t=this.props).onChange)||void 0===r||r.call(t,e)},notifyHover:(e,t)=>{var r,i;return null===(i=(r=this.props).renderTooltip)||void 0===i?void 0:i.call(r,e,t)},notifyCustomRender:e=>{this.setState({customRenderMap:e})},setSearchOptions:e=>{this.setState({searchOptions:Object.assign(Object.assign({},this.state.searchOptions),{[e]:!this.state.searchOptions[e]})},()=>{this.searchHandler()})},showSearchBar:()=>{this.setState({showSearchBar:!this.state.showSearchBar}),this.setState({searchOptions:{caseSensitive:!1,wholeWord:!1,regex:!1}})}})}getValue(){return this.foundation.jsonViewer.getModel().getValue()}format(){this.foundation.jsonViewer.format()}search(e,t,r,i){this.foundation.search(e,t,r,i)}getSearchResults(){return this.foundation.getSearchResults()}prevSearch(e){this.foundation.prevSearch(e)}nextSearch(e){this.foundation.nextSearch(e)}replace(e){this.foundation.replace(e)}replaceAll(e){this.foundation.replaceAll(e)}getStyle(){let{width:e,height:t}=this.props;return{width:e,height:t}}renderSearchBox(){return o.createElement("div",{className:`${T}-search-bar-container`,style:{position:"absolute",top:20,right:20}},this.renderSearchBar(),this.renderReplaceBar())}renderSearchOptions(){let e=[{key:"caseSensitive",icon:g.Z},{key:"regex",icon:v.Z},{key:"wholeWord",icon:y}];return o.createElement("ul",{className:`${T}-search-options`},e.map(e=>{let{key:t,icon:r}=e;return o.createElement("li",{key:t,className:a()(`${T}-search-options-item`,{[`${T}-search-options-item-active`]:this.state.searchOptions[t]})},o.createElement(r,{onClick:()=>this.changeSearchOptions(t)}))}))}renderSearchBar(){return o.createElement(A.Z,{componentName:"JsonViewer"},(e,t)=>o.createElement("div",{className:`${T}-search-bar`},o.createElement(p.Z,{placeholder:e.search,className:`${T}-search-bar-input`,onChange:(e,t)=>{var r;t.preventDefault(),!this.isComposing&&this.searchHandler(),null===(r=this.searchInputRef.current)||void 0===r||r.focus()},onCompositionStart:()=>{this.isComposing=!0},onCompositionEnd:()=>{var e;this.isComposing=!1,this.searchHandler(),null===(e=this.searchInputRef.current)||void 0===e||e.focus()},ref:this.searchInputRef}),this.renderSearchOptions(),o.createElement(h.Z,null,o.createElement(f.Z,{icon:o.createElement(b.Z,null),onClick:e=>{e.preventDefault(),this.foundation.prevSearch()}}),o.createElement(f.Z,{icon:o.createElement(_.Z,null),onClick:e=>{e.preventDefault(),this.foundation.nextSearch()}})),o.createElement(f.Z,{icon:o.createElement(x.Z,null),size:"small",theme:"borderless",type:"tertiary",onClick:()=>this.foundation.showSearchBar()})))}renderReplaceBar(){let{readOnly:e}=this.props.options;return o.createElement(A.Z,{componentName:"JsonViewer"},(t,r)=>o.createElement("div",{className:`${T}-replace-bar`},o.createElement(p.Z,{placeholder:t.replace,className:`${T}-replace-bar-input`,onChange:(e,t)=>{t.preventDefault()},ref:this.replaceInputRef}),o.createElement(f.Z,{style:{width:"fit-content"},disabled:e,onClick:()=>{var e;let t=null===(e=this.replaceInputRef.current)||void 0===e?void 0:e.value;this.foundation.replace(t)}},t.replace),o.createElement(f.Z,{style:{width:"fit-content"},disabled:e,onClick:()=>{var e;let t=null===(e=this.replaceInputRef.current)||void 0===e?void 0:e.value;this.foundation.replaceAll(t)}},t.replaceAll)))}render(){let e=!1,t=this.props,{width:r,className:i,style:n,showSearch:s=!0}=t,l=C(t,["width","className","style","showSearch"]);return o.createElement(o.Fragment,null,o.createElement("div",Object.assign({style:Object.assign(Object.assign(Object.assign({},this.getStyle()),{position:"relative"}),n),className:i},this.getDataAttr(l)),o.createElement("div",{style:Object.assign(Object.assign({},this.getStyle()),{padding:"12px 0"}),ref:this.editorRef,className:a()(T,`${T}-background`)}),s&&o.createElement(m.Z,{onMouseDown:()=>{e=!1},onMouseMove:()=>{e=!0}},o.createElement("div",{style:{position:"absolute",top:0,left:r}},this.state.showSearchBar?this.renderSearchBox():o.createElement(f.Z,{className:`${T}-search-bar-trigger`,onClick:t=>{if(t.preventDefault(),e){t.stopPropagation(),t.preventDefault();return}this.foundation.showSearchBar()},icon:o.createElement(S.Z,null),style:{position:"absolute",top:20,right:20}})))),Array.from(this.state.customRenderMap.entries()).map(e=>{let[t,r]=e;return(0,k.createPortal)(r,t)}))}constructor(e){super(e),this.isComposing=!1,this.searchHandler=()=>{var e;let t=null===(e=this.searchInputRef.current)||void 0===e?void 0:e.value;this.foundation.search(t)},this.changeSearchOptions=e=>{this.foundation.setSearchOptions(e)},this.editorRef=o.createRef(),this.searchInputRef=o.createRef(),this.replaceInputRef=o.createRef(),this.foundation=new u(this.adapter),this.state={searchOptions:{caseSensitive:!1,wholeWord:!1,regex:!1},showSearchBar:!1,customRenderMap:new Map}}}P.defaultProps={width:400,height:400,value:"",options:{readOnly:!1,autoWrap:!0}};var O=P},119353:function(e,t,r){"use strict";let i=r(101199).createContext("normal");t.Z=i},262126:function(e,t,r){"use strict";r.d(t,{y:function(){return m}});var i=r(480333);r(679308),r(374954),r(490629);var n=r(762462),o=r(933647),s=r(822564),a=r(455195),l=r(487359),c=r(906331),u=r(347862),d=r(125471),h=r(742744),f=r(715784);let p=new l.ZP("BufferService");class m{get baseDts(){var e,t;return null===(t=this._demuxer)||void 0===t?void 0:null===(e=t._fixer)||void 0===e?void 0:e._baseDts}get blobUrl(){var e;return null===(e=this._mse)||void 0===e?void 0:e.url}isFull(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.d1.VIDEO;return this._mse.isFull(e)}seamlessSwitch(){this._needInitSegment=!0,this._discontinuity=!0,this._contiguous=!0,this._initSegmentId=""}unContiguous(e){this._contiguous=!1,this._demuxStartTime=e}async reset(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._mse&&!e&&(await this._mse.unbindMedia(),await this._mse.bindMedia(this.flv.media)),this._seiService.reset(),this._needInitSegment=!0,this._discontinuity=!0,this._contiguous=!1,this._sourceCreated=!1,this._initSegmentId=""}async endOfStream(){this._mse&&this._sourceCreated&&await this._mse.endOfStream()}async updateDuration(e){this._mse&&(!this._mse.isOpened&&await this._mse.open(),p.debug("update duration",e),await this._mse.updateDuration(e))}async destroy(){this._mse&&await this._mse.unbindMedia(),this._seiService.reset(),this._mse=void 0,this._softVideo=null,this._remuxer=void 0}async appendBuffer(e){if(this._cachedBuffer&&(e=(0,a.gJ)(this._cachedBuffer,e),this._cachedBuffer=null),this.flv._opts.awManager&&!this.flv._opts.awManager.inited){this._cachedBuffer=e;return}let t=this._demuxer;if(!e||!e.length||!t)return;try{this.flv._transferCost.start(d.b.DEMUX),t.demuxAndFix(e,this._discontinuity,this._contiguous,this._demuxStartTime),this.flv._transferCost.end(d.b.DEMUX)}catch(t){let e=new u.Fc(u.wb.DEMUX,u.wb.SUB_TYPES.FLV,t,null,"");this.flv._emitError({errorType:e.errorType,code:e.errorCode,message:e.message},!0);return}let{videoTrack:r,audioTrack:i,metadataTrack:n}=t,o=r.exist(),s=i.exist();if(this._opts.onlyAudio&&(o=!1,r.present=!1),this._opts.onlyVideo&&(s=!1,i.present=!1),!o&&r.present||!s&&i.present){let t=0,n=o?r:s?i:void 0;if(n&&n.samples.length&&(t=(n.samples[n.samples.length-1].originPts-n.samples[0].originPts)/n.timescale*1e3),t>this._opts.analyzeDuration)p.warn(`analyze duration exceeded, ${t}ms`,n),r.present=o,i.present=s;else{this._cachedBuffer=e;return}}let l=r.type,c=i.type;this._fireEvents(r,i,n),this._discontinuity=!1,this._contiguous=!0,this._demuxStartTime=0;let h=this._mse,f=`${r.codec}/${r.width}/${r.height}/${i.codec}/${i.config}`;if((f!==this._initSegmentId||r.metaChange)&&(this._needInitSegment=!0,this._initSegmentId=f,this._emitMetaParsedEvent(r,i),r.metaChange=!1),h){let e;this._sourceCreated?this._needInitSegment&&(await h.open(),o&&(p.log(`codec: video/mp4;codecs=${r.codec}`),h.createOrChangeSource(l,`video/mp4;codecs=${r.codec}`))):(await h.open(),o&&(p.log(`codec: video/mp4;codecs=${r.codec}`),h.createSource(l,`video/mp4;codecs=${r.codec}`)),s&&(p.log(`codec: audio/mp4;codecs=${i.codec}`),h.createSource(c,`audio/mp4;codecs=${i.codec}`)),this._sourceCreated=!0);try{this._needInitSegment&&!this._opts.mseLowLatency&&(r.duration=this._opts.durationForMSELowLatencyOff*r.timescale,i.duration=this._opts.durationForMSELowLatencyOff*s.timescale),this.flv._transferCost.start(d.b.REMUX),e=this._remuxer.remux(this._needInitSegment),this.flv._transferCost.end(d.b.REMUX)}catch(e){throw new u.Fc(u.wb.REMUX,u.wb.SUB_TYPES.FMP4,e)}if(this._needInitSegment&&!e.videoInitSegment&&!e.audioInitSegment)return;this._needInitSegment=!1;let t=[];return e.videoInitSegment&&t.push(h.append(l,e.videoInitSegment,void 0)),e.audioInitSegment&&t.push(h.append(c,e.audioInitSegment,void 0)),e.videoSegment&&t.push(h.append(l,e.videoSegment,void 0)),e.audioSegment&&t.push(h.append(c,e.audioSegment,void 0)),this.flv._transferCost.start(d.b.APPEND),Promise.all(t).then(()=>{this.flv._transferCost.end(d.b.APPEND)})}}async evictBuffer(e){let t=this.flv.media;if(!this._mse||!this._demuxer||!t||!e||e<0)return;let r=t.currentTime-e;if(!(r<=0)){if(!(c.l.start(c.l.get(t))+1>=r))return this._mse.clearBuffer(0,r).then(()=>{})}}_emitMetaParsedEvent(e,t){var r;let i=!!(null===(r=this._demuxer)||void 0===r?void 0:r.descryptor);e.exist()&&this.flv._player.emit(h.le.METADATA,{trackType:"video",codec:e.codec,codecHeight:e.width,codecWidth:e.height,presentWidth:e.width,presentHeight:e.height,sarRatio:e.sarRatio,isEncrypted:i}),t.exist(),p.debug("track parsed",e,t)}_fireEvents(e,t,r){r.flvScriptSamples.forEach(e=>{p.debug("flvScriptData",e)}),e.samples.forEach(e=>{e.keyframe&&this.flv._player.emit(h.le.KEYFRAME,{pts:e.originPts})}),r.seiSamples.forEach(e=>{if(e.data.size<10)return;if(this._opts.seiOnDemand){this._seiService.addSample(e);return}let t={code:e.data.type,content:e.data.payload,dts:e.originPts,time:e.time};5===t.code&&(t.uuid=e.data.uuid),this.flv._player.emit(h.le.SEI,t)})}constructor(e,t,r={}){(0,i._)(this,"flv",void 0),(0,i._)(this,"_demuxer",new n.NQ),(0,i._)(this,"_remuxer",void 0),(0,i._)(this,"_mse",void 0),(0,i._)(this,"_softVideo",void 0),(0,i._)(this,"_seiService",void 0),(0,i._)(this,"_sourceCreated",!1),(0,i._)(this,"_needInitSegment",!0),(0,i._)(this,"_discontinuity",!0),(0,i._)(this,"_contiguous",!1),(0,i._)(this,"_initSegmentId",""),(0,i._)(this,"_cachedBuffer",void 0),(0,i._)(this,"_demuxStartTime",0),(0,i._)(this,"_opts",void 0),this.flv=e,this._opts=r,this._seiService=new f.Z(this.flv._player),t?this._softVideo=null:(this._demuxer._awManager=e._opts.awManager,this._remuxer=new o.N(this._demuxer.videoTrack,this._demuxer.audioTrack,{}),this._mse=new s.d1(e.media,{preferMMS:!1}),this._mse.bindMedia(e.media))}}},917648:function(e,t,r){"use strict";r.d(t,{g:function(){return f}});var i=r(480333),n=r(629686),o=r(402748);r(104882);var s=r(455195),a=r(289982),l=r(487359),c=r(933647),u=r(86578),d=r(500264);let h=new l.ZP("Transmuxer");class f{transmux(e,t,r,i,l,c){let u=this._demuxer;try{u.demuxAndFix((0,s.gJ)(e,t),r,i,l)}catch(e){throw new a.Fc("demux","HLS",e)}let{videoTrack:h,audioTrack:f,metadataTrack:p}=u,m={codec:h.codec,timescale:h.timescale,firstDts:h.firstDts/h.timescale,firstPts:h.firstPts/h.timescale,duration:h.samplesDuration/h.timescale},g={codec:f.codec,timescale:f.timescale,firstDts:f.firstDts/h.timescale,firstPts:f.firstPts/h.timescale,duration:f.samplesDuration/h.timescale,container:f.container},v=`${h.codec}/${h.width}/${h.height}/${f.codec}/${f.config}`;if(v!==this._initSegmentId&&(this._initSegmentId=v,c=!0),this._fireEvents(h,f,p,r||c),this.hls.emit(d.j.DEMUXED_TRACK,{videoTrack:h,audioTrack:f}),!this._remuxer)return[h,f];c&&this.hls.isLive&&!this.hls.config.mseLowLatency&&(h.duration=this.hls.totalDuration*h.timescale,f.duration=this.hls.totalDuration*f.timescale);try{let{videoInitSegment:e,videoSegment:t,audioInitSegment:r,audioSegment:i}=this._remuxer.remux(c),a=(0,s.gJ)(e,t),l=(0,s.gJ)(r,i);return[a?(0,o._)((0,n._)({},m),{data:a}):void 0,l?(0,o._)((0,n._)({},g),{data:l}):void 0]}catch(e){throw new a.Fc("remux","FMP4",e)}}_fireEvents(e,t,r,i){let s=`discontinuity: ${i}`;[e,t].forEach(e=>{var t;(null===(t=e.samples)||void 0===t?void 0:t.length)&&(s+=`; ${e.samples.length} ${e.type===u.Vc.VIDEO?"video":"audio"} samples, firstDts/firstPts/duration: ${(e.firstDts/e.timescale).toFixed(3)}/${(e.firstPts/e.timescale).toFixed(3)}/${(e.samplesDuration/e.timescale).toFixed(3)}`),i&&e.exist()&&this.hls.emit(d.j.METADATA_PARSED,{type:e.type,track:e,meta:(0,n._)({codec:e.codec,timescale:e.timescale,baseDts:e.baseDts},e.type===u.Vc.VIDEO?{width:e.width,height:e.height,sarRatio:e.sarRatio}:{codec:e.codec,channelCount:e.channelCount,sampleRate:e.sampleRate})})}),h.debug(s),e.warnings.forEach(e=>{let t;switch(e.type){case u.Bc.LARGE_AV_SHIFT:t=d.j.LARGE_AV_FIRST_FRAME_GAP_DETECT;break;case u.Bc.LARGE_VIDEO_GAP:t=d.j.LARGE_VIDEO_DTS_GAP_DETECT;break;case u.Bc.LARGE_VIDEO_GAP_BETWEEN_CHUNK:t=d.j.MAX_DTS_DELTA_WITH_NEXT_SEGMENT_DETECT}t&&this.hls.emit(d.j.STREAM_EXCEPTION,(0,o._)((0,n._)({},e),{type:t})),h.warn("video exception",e)}),t.warnings.forEach(e=>{let t;switch(e.type){case u.Bc.LARGE_AUDIO_GAP:t=d.j.LARGE_AUDIO_DTS_GAP_DETECT;break;case u.Bc.AUDIO_FILLED:t=d.j.AUDIO_GAP_DETECT;break;case u.Bc.AUDIO_DROPPED:t=d.j.AUDIO_OVERLAP_DETECT}t&&this.hls.emit(d.j.STREAM_EXCEPTION,(0,o._)((0,n._)({},e),{type:t})),h.warn("audio exception",e)}),e.samples.forEach(e=>{e.keyframe&&this.hls.emit(d.j.KEYFRAME,{pts:e.pts})}),r.seiSamples.forEach(e=>{this.hls.emit(d.j.SEI,(0,o._)((0,n._)({},e),{originPts:e.originPts/90,sei:{code:e.data.type,content:e.data.payload,dts:e.pts}}))})}constructor(e,t,r,n){(0,i._)(this,"_initSegmentId",""),this.hls=e,this._demuxer=new u.ht(null,null,null,n),this._isMP4=t,r&&(this._remuxer=new c.N(this._demuxer.videoTrack,this._demuxer.audioTrack))}}},906331:function(e,t,r){"use strict";r.d(t,{l:function(){return i}}),r(374954),r(591964);class i{static start(e){return!e||!e.length||1===e.length&&e.end(0)-e.start(0)<1e-6||1===e.length&&0>e.start(0)?0:e.start(0)}static end(e){return!e||!e.length||1===e.length&&e.end(0)-e.start(0)<1e-6?0:e.end(e.length-1)}static get(e){if(e)try{return e.buffered}catch(e){}}static buffers(e,t){if(!e||!e.length)return[];let r=[];for(let i=0,n=e.length;i<n;i++){let n=r.length;if(n&&t){let o=r[n-1],s=o[1];if(e.start(i)-s<=t){let t=e.end(i);t>s&&(o[1]=t)}else r.push([e.start(i),e.end(i)])}else r.push([e.start(i),e.end(i)])}return r}static totalLength(e){return e&&e.length?e.reduce((e,t)=>e+=t[1]-t[0],0):0}static info(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e||!e.length)return{start:0,end:0,buffers:[]};let n=0,o=0,s=0,a=0,l=0,c=0,u=0,d=i.buffers(e,r);for(let e=0,i=d.length;e<i;e++){let i=d[e];if(t+r>=i[0]&&t<=i[1])n=i[0],o=i[1],s=e;else if(t+r<i[0]){a=i[0],l=i[1];break}else t+r>i[1]&&(c=i[0],u=i[1])}return{start:n,end:o,index:s,buffers:d,nextStart:a,nextEnd:l,prevStart:c,prevEnd:u,currentTime:t,behind:t-n,remaining:o?o-t:0,length:i.totalLength&&i.totalLength(d)}}static isBuffered(e,t){if(e){let r=i.get(e);if(null==r?void 0:r.length){for(let e=0;e<r.length;e++)if(t>=r.start(e)&&t<=r.end(e))return!0}}return!1}}},547227:function(e,t,r){"use strict";r.d(t,{Qu:function(){return m},lS:function(){return g}});var i=r(629686),n=r(402748);r(490629),r(228983),r(759943),r(683656),r(362051);var o=r(549816),s=r(274402),a=r(870466),l=r(990958),c=r(235226),u=r(487359),d=r(487792);let h=new u.ZP("RtmPreload"),f=new Map,p="answer sdp has no audio",m=function(e,t){var r;let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{isPreload:c=!0,preferredSampleRate:u}=l,m=!!(null===(r=t.ab)||void 0===r?void 0:r.enable_aac_codecs);h.log("loadRTM",`{ loadTime: ${t.loadTimeout}, isPreload: ${c}, preferredSampleRate: ${u} }, enableAACCodecs: ${m}`);let v=d.K.startSession(e);!c&&d.K.mark(e,"playStart");let w=u||48e3,y=!1,b=new o.Z(o.t.RTM_NOT_SUPPORTED,"loadRTM aborted"),_={pc:new RTCPeerConnection((0,i._)({encodedInsertableStreams:!0},m?{enableAACDecode:!0}:{})),fetchLoader:new a.FetchLoader,url:e},x=g((0,n._)((0,i._)({},_),{aacSampleRate:w}),t).catch(r=>{if(y)throw b;if((null==r?void 0:r.message)===p){var o;let a=44100===w?48e3:44100;if(h.log(`get answer sdp ${w} error, fallback to ${a}`,r),null===(o=_.pc)||void 0===o||o.close(),_.pc=new RTCPeerConnection((0,i._)({encodedInsertableStreams:!0},m?{enableAACDecode:!0}:{})),y)throw _.pc.close(),b;let l=(0,s.zN)(e)._session_id;return g((0,n._)((0,i._)({},_),{url:l?e.replace(l,`${l}-${a/100}`):e,aacSampleRate:a}),t)}throw r}).then(e=>{if(y)throw e.peer.close(),b;return e});return{url:e,timingInstanceId:v,preloadPromise:x,cancel:()=>{if(y)return;y=!0,h.log("cancel preloadRTM");let t=e.split("?")[0];f.delete(t),_.pc.close(),_.fetchLoader.cancel()}}},g=async(e,t)=>{var r,i,n,a,u,f,m;let g,{url:v,aacSampleRate:w,pc:y,fetchLoader:b}=e,_="1"===(0,s.zN)(v).only_audio,x=y.addTransceiver("audio",{direction:"recvonly"});!_&&(g=y.addTransceiver("video",{direction:"recvonly"})),d.K.mark(v,"createOfferStart");let S=await y.createOffer();if(d.K.mark(v,"createOfferEnd"),!S.sdp)throw new o.Z(o.t.RTM_NOT_SUPPORTED,"offer sdp is empty");d.K.mark(v,"setLocalStart"),await y.setLocalDescription({type:"offer",sdp:S.sdp}),d.K.mark(v,"setLocalEnd");let E=new c.$F,k=/_?session_id=([^&$]+)/.exec(v),A=k?k[1]:Date.now()+"",C=(0,s.v7)();h.log("fastSync check — ab.enable_fast_sync:",null===(r=t.ab)||void 0===r?void 0:r.enable_fast_sync,"hdrExtSupported:",C);let T=E.genOfferSdp(S.sdp,w,!!(null===(i=t.ab)||void 0===i?void 0:i.enable_fast_sync)&&C);d.K.mark(v,"httpStart");let P=await b.load({url:v,method:"POST",headers:{"Content-Type":"application/json"},responseType:l.UN.JSON,body:JSON.stringify({sessionId:A,version:"1.0-html",localSdp:{type:"offer",sdp:T}}),timeout:t.loadTimeout,retry:t.retryCount,retryDelay:t.retryDelay}).catch(e=>{var t,r;throw new o.Z(o.t.NETWORK,`http code ${null==e?void 0:null===(t=e.response)||void 0===t?void 0:t.status}(${(null==e?void 0:null===(r=e.response)||void 0===r?void 0:r.statusText)||e.message})`)});if(d.K.mark(v,"httpEnd"),(null==P?void 0:null===(n=P.data)||void 0===n?void 0:n.code)!==200||"string"!=typeof(null==P?void 0:null===(u=P.data)||void 0===u?void 0:null===(a=u.remoteSdp)||void 0===a?void 0:a.sdp))throw new o.Z(o.t.NETWORK,`code: ${null==P?void 0:null===(f=P.data)||void 0===f?void 0:f.code}, message:${null==P?void 0:null===(m=P.data)||void 0===m?void 0:m.message}`);try{(0,c.kB)(T,P.data.remoteSdp.sdp)}catch(e){throw new o.Z(o.t.RTM_NOT_SUPPORTED,e.message)}let O=E.parseAnswerSdp(P.data.remoteSdp.sdp);if(!E.hasAudio)throw new o.Z(o.t.RTM_NOT_SUPPORTED,p);if(!_&&!E.hasVideo)throw new o.Z(o.t.RTM_NOT_SUPPORTED,"answer sdp has no video");return{peer:y,url:v,audioTransceicer:x,videoTransceicer:g,response:P.response,sdp:O,videoPayloadMap:E.videoPayloadMap,audioPayloadMap:E.audioPayloadMap,aacSampleRate:w,hasNativeAAC:E.hasNativeAAC,fastSyncNegotiated:E.fastSyncNegotiated}}},53803:function(e,t,r){"use strict";r.d(t,{OG:function(){return o},gX:function(){return n},j2:function(){return s}});var i=r(707852);let n={PREFIX:`${i.T}-checkbox`,INNER:`${i.T}-checkbox-inner`,TEXT:`${i.T}-checkbox-text`,INPUT:`${i.T}-checkbox-input`,CHECKED:`${i.T}-checkbox-checked`,DISABLED:`${i.T}-checkbox-disabled`,BUTTON:`${i.T}-checkbox-button`,WRAPPER:""},o={PREFIX:`${i.T}-checkboxGroup`,INNER:`${i.T}-checkboxGroup-inner`,TEXT:`${i.T}-checkboxGroup-text`,INPUT:`${i.T}-checkboxGroup-input`,CHECKED:`${i.T}-checkboxGroup-checked`,DISABLED:`${i.T}-checkboxGroup-disabled`},s={DIRECTION_SET:["horizontal","vertical"],TYPE_DEFAULT:"default",TYPE_CARD:"card",TYPE_PURECARD:"pureCard",DEFAULT_DIRECTION:"vertical"}},318330:function(e,t,r){"use strict";r.d(t,{KT:function(){return l},UX:function(){return s},j2:function(){return a}});var i=r(707852);let n="horizontal",o="vertical",s={PREFIX:`${i.T}-navigation`},a={MODE:[o,n],MODE_VERTICAL:o,MODE_HORIZONTAL:n,ICON_POS_LEFT:"left",ICON_POS_RIGHT:"right",DEFAULT_LOGO_ICON_SIZE:"extra-large",TOGGLE_ICON_LEFT:"left",TOGGLE_ICON_RIGHT:"right"},l={DEFAULT_SUBNAV_MAX_HEIGHT:999,DEFAULT_TOOLTIP_SHOW_DELAY:0,DEFAULT_TOOLTIP_HIDE_DELAY:100,DEFAULT_SUBNAV_OPEN_DELAY:0,DEFAULT_SUBNAV_CLOSE_DELAY:100}},331609:function(e,t,r){"use strict";r.d(t,{Z:function(){return o},_:function(){return s}}),r(706056),r(490629),r(932651);var i=r(856445),n=r(182811);class o extends i.Z{init(){let{autoFocus:e,disabled:t}=this.getProps();e&&!t&&this._adapter.focus()}_getScroll(e,t){let r=t?e.pageYOffset:e.pageXOffset,i=t?"scrollTop":"scrollLeft";if("number"!=typeof r){let t=e.document;"number"!=typeof(r=t.documentElement[i])&&(r=t.body[i])}return r}_getClientPosition(e){let t,r;let i=e.ownerDocument,{body:n}=i,o=i&&i.documentElement,s=e.getBoundingClientRect();return t=s.left,r=s.top,t-=o.clientLeft||n.clientLeft||0,{left:t,top:r-=o.clientTop||n.clientTop||0}}_getOffsetLeft(e){let t=this._getClientPosition(e),r=e.ownerDocument,i=r.defaultView||r.parentWindow;return t.left+=this._getScroll(i),t.left}getStarValue(e,t){let{allowHalf:r}=this.getProps(),i="rtl"===this._adapter.getContext("direction"),n=e+1;if(r){let r=this._adapter.getStarDOM(e),o=this._getOffsetLeft(r),s=r.clientWidth;i&&t-o>s/2?n-=.5:!i&&t-o<s/2&&(n-=.5)}return n}handleHover(e,t){let r=this.getStarValue(t,e.pageX),{clearedValue:i,hoverValue:n}=this.getStates();r!==n&&r!==i&&this._adapter.notifyHoverChange(r,null)}handleMouseLeave(){this._adapter.notifyHoverChange(void 0,null)}handleClick(e,t){let{allowClear:r}=this.getProps(),{value:i}=this.getStates(),n=this.getStarValue(t,e.pageX),o=!!r&&n===i;this._adapter.updateValue(o?0:n),o?this._adapter.notifyHoverChange(void 0,n):this._adapter.clearValue(null)}handleFocus(e){this._adapter.notifyFocus(e)}handleBlur(e){this._adapter.notifyBlur(e)}handleKeyDown(e,t){let r,i;let{key:n}=e,{count:o,allowHalf:s}=this.getProps(),a="rtl"===this._adapter.getContext("direction"),l=s?.5:1;"ArrowRight"===n||"ArrowUp"===n?r=t+(a?-l:l):("ArrowLeft"===n||"ArrowDown"===n)&&(r=t+(a?l:-l)),i=r>o?0:r<0?o:r,["ArrowRight","ArrowUp","ArrowLeft","ArrowDown"].includes(n)&&(this._adapter.notifyKeyDown(e),this._adapter.updateValue(i),this.changeFocusStar(i,e),e.preventDefault(),this._adapter.notifyHoverChange(void 0,null))}changeFocusStar(e,t){let{count:r,allowHalf:i,preventScroll:n}=this.getProps(),o=Math.ceil(e)-1,s=[...t.currentTarget.childNodes].map(e=>e.childNodes[0].childNodes);o<0?s[r][0].focus({preventScroll:n}):s[o][i?10*e%10==5?0:1:0].focus({preventScroll:n})}constructor(e){super(Object.assign(Object.assign({},o.defaultAdapter),e)),this.handleStarFocusVisible=e=>{let{target:t}=e,{count:r}=this.getProps();try{t.matches(":focus-visible")&&this._adapter.setEmptyStarFocusVisible(!0)}catch(e){(0,n.Z)(!0,"Warning: [Semi Rating] The current browser does not support the focus-visible")}},this.handleStarBlur=e=>{let{emptyStarFocusVisible:t}=this.getStates();t&&this._adapter.setEmptyStarFocusVisible(!1)}}}class s extends i.Z{constructor(e){super(Object.assign(Object.assign({},s.defaultAdapter),e)),this.handleFocusVisible=(e,t)=>{let{target:r}=e;try{r.matches(":focus-visible")&&("first"===t?this._adapter.setFirstStarFocus(!0):this._adapter.setSecondStarFocus(!0))}catch(e){(0,n.Z)(!0,"Warning: [Semi Rating] The current browser does not support the focus-visible")}},this.handleBlur=(e,t)=>{let{firstStarFocus:r,secondStarFocus:i}=this.getStates();"first"===t?r&&this._adapter.setFirstStarFocus(!1):i&&this._adapter.setSecondStarFocus(!1)}}}},878255:function(e,t,r){"use strict";r.d(t,{c:function(){return o}}),r(490629);var i=r(640525),n=r.n(i);function o(e,t){if(e===t)t=new Set(t);if(n()(e)&&e.size&&n()(t)&&t.size)for(let r of t)e.has(r)&&e.delete(r);return e}},705998:function(e,t,r){"use strict";r.d(t,{DM:function(){return o},K7:function(){return s},rf:function(){return n}}),r(490629);var i=r(101199);let n=(e,t)=>{let r=(0,i.useRef)(!1);(0,i.useEffect)(()=>r.current?e():(r.current=!0,()=>{}),t)};function o(e){let t=(0,i.useRef)(e);return t.current=e,(0,i.useCallback)(function(){for(var e,r=arguments.length,i=Array(r),n=0;n<r;n++)i[n]=arguments[n];return null===(e=t.current)||void 0===e?void 0:e.call(t,...i)},[])}let s=(e,t)=>{(0,i.useEffect)(()=>{if(!t)return;let r=r=>{let{tagName:i,contentEditable:n}=r.target;if("INPUT"!==i&&"TEXTAREA"!==i&&"true"!==n)r.code===t&&e(r)};return document.addEventListener("keydown",r),()=>{document.removeEventListener("keydown",r)}},[t,e])}},457108:function(e,t,r){"use strict";r(679308),Promise.all([r.e("23634"),r.e("21133"),r.e("48970")]).then(r.bind(r,924843))},536688:function(e,t,r){"use strict";r(679308),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,522573)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,735608)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,825710)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,671195)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,66425)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,787831)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,595980)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,619619)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,138440)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,915669)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,571508)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,869275)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,26604)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,415134)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,945173)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,621401)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,695755)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,526317)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,530266)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,586441)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,983190)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,304495)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,310443)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,105345)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,180388)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,766903)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,364759)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,631214)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,24913)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,893933)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,140939)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,524491)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,315659)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,51600)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,522030)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,865525)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,593870)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,130289)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,497409)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,631056)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,588386)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,93458)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,225479)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,769591)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,124653)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,605527))},319135:function(e,t,r){"use strict";let i,n,o,s,a,l;r.d(t,{R_:function(){return b},en:function(){return v}});let{stringify:c}=JSON;if(!String.prototype.repeat)throw Error("String.prototype.repeat is undefined, see https://github.com/davidbonnet/astring#installation");if(!String.prototype.endsWith)throw Error("String.prototype.endsWith is undefined, see https://github.com/davidbonnet/astring#installation");let u={"||":2,"??":3,"&&":4,"|":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13},d={ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,PrivateIdentifier:20,Literal:18,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,ChainExpression:19,CallExpression:19,NewExpression:19,ArrowFunctionExpression:17,ClassExpression:17,FunctionExpression:17,ObjectExpression:17,UpdateExpression:16,UnaryExpression:15,AwaitExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,AssignmentExpression:3,YieldExpression:2,RestElement:1};function h(e,t){let{generator:r}=e;if(e.write("("),null!=t&&t.length>0){r[t[0].type](t[0],e);let{length:i}=t;for(let n=1;n<i;n++){let i=t[n];e.write(", "),r[i.type](i,e)}}e.write(")")}function f(e,t,r,i){let n=e.expressionsPrecedence[t.type];if(17===n)return!0;let o=e.expressionsPrecedence[r.type];return n!==o?!i&&15===n&&14===o&&"**"===r.operator||n<o:(13===n||14===n)&&("**"===t.operator&&"**"===r.operator?!i:13===n&&13===o&&("??"===t.operator||"??"===r.operator)||(i?u[t.operator]<=u[r.operator]:u[t.operator]<u[r.operator]))}function p(e,t,r,i){let{generator:n}=e;f(e,t,r,i)?(e.write("("),n[t.type](t,e),e.write(")")):n[t.type](t,e)}function m(e,t,r,i){let{length:n}=t;for(let o=0;o<n;o++){let n=t[o];e.write(r),"L"===n.type[0]?e.write("// "+n.value.trim()+"\n",n):(e.write("/*"),!function(e,t,r,i){let n=t.split("\n"),o=n.length-1;if(e.write(n[0].trim()),o>0){e.write(i);for(let t=1;t<o;t++)e.write(r+n[t].trim()+i);e.write(r+n[o].trim())}}(e,n.value,r,i),e.write("*/"+i))}}function g(e,t){let{generator:r}=e,{declarations:i}=t;e.write(t.kind+" ");let{length:n}=i;if(n>0){r.VariableDeclarator(i[0],e);for(let t=1;t<n;t++)e.write(", "),r.VariableDeclarator(i[t],e)}}let v={Program(e,t){let r=t.indent.repeat(t.indentLevel),{lineEnd:i,writeComments:n}=t;n&&null!=e.comments&&m(t,e.comments,r,i);let o=e.body,{length:s}=o;for(let e=0;e<s;e++){let s=o[e];n&&null!=s.comments&&m(t,s.comments,r,i),t.write(r),this[s.type](s,t),t.write(i)}n&&null!=e.trailingComments&&m(t,e.trailingComments,r,i)},BlockStatement:l=function(e,t){let r=t.indent.repeat(t.indentLevel++),{lineEnd:i,writeComments:n}=t,o=r+t.indent;t.write("{");let s=e.body;if(null!=s&&s.length>0){t.write(i),n&&null!=e.comments&&m(t,e.comments,o,i);let{length:a}=s;for(let e=0;e<a;e++){let r=s[e];n&&null!=r.comments&&m(t,r.comments,o,i),t.write(o),this[r.type](r,t),t.write(i)}t.write(r)}else n&&null!=e.comments&&(t.write(i),m(t,e.comments,o,i),t.write(r));n&&null!=e.trailingComments&&m(t,e.trailingComments,o,i),t.write("}"),t.indentLevel--},ClassBody:l,StaticBlock(e,t){t.write("static "),this.BlockStatement(e,t)},EmptyStatement(e,t){t.write(";")},ExpressionStatement(e,t){let r=t.expressionsPrecedence[e.expression.type];17===r||3===r&&"O"===e.expression.left.type[0]?(t.write("("),this[e.expression.type](e.expression,t),t.write(")")):this[e.expression.type](e.expression,t),t.write(";")},IfStatement(e,t){t.write("if ("),this[e.test.type](e.test,t),t.write(") "),this[e.consequent.type](e.consequent,t),null!=e.alternate&&(t.write(" else "),this[e.alternate.type](e.alternate,t))},LabeledStatement(e,t){this[e.label.type](e.label,t),t.write(": "),this[e.body.type](e.body,t)},BreakStatement(e,t){t.write("break"),null!=e.label&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},ContinueStatement(e,t){t.write("continue"),null!=e.label&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},WithStatement(e,t){t.write("with ("),this[e.object.type](e.object,t),t.write(") "),this[e.body.type](e.body,t)},SwitchStatement(e,t){let r=t.indent.repeat(t.indentLevel++),{lineEnd:i,writeComments:n}=t;t.indentLevel++;let o=r+t.indent,s=o+t.indent;t.write("switch ("),this[e.discriminant.type](e.discriminant,t),t.write(") {"+i);let{cases:a}=e,{length:l}=a;for(let e=0;e<l;e++){let r=a[e];n&&null!=r.comments&&m(t,r.comments,o,i),r.test?(t.write(o+"case "),this[r.test.type](r.test,t),t.write(":"+i)):t.write(o+"default:"+i);let{consequent:l}=r,{length:c}=l;for(let e=0;e<c;e++){let r=l[e];n&&null!=r.comments&&m(t,r.comments,s,i),t.write(s),this[r.type](r,t),t.write(i)}}t.indentLevel-=2,t.write(r+"}")},ReturnStatement(e,t){t.write("return"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t)),t.write(";")},ThrowStatement(e,t){t.write("throw "),this[e.argument.type](e.argument,t),t.write(";")},TryStatement(e,t){if(t.write("try "),this[e.block.type](e.block,t),e.handler){let{handler:r}=e;null==r.param?t.write(" catch "):(t.write(" catch ("),this[r.param.type](r.param,t),t.write(") ")),this[r.body.type](r.body,t)}e.finalizer&&(t.write(" finally "),this[e.finalizer.type](e.finalizer,t))},WhileStatement(e,t){t.write("while ("),this[e.test.type](e.test,t),t.write(") "),this[e.body.type](e.body,t)},DoWhileStatement(e,t){t.write("do "),this[e.body.type](e.body,t),t.write(" while ("),this[e.test.type](e.test,t),t.write(");")},ForStatement(e,t){if(t.write("for ("),null!=e.init){let{init:r}=e;"V"===r.type[0]?g(t,r):this[r.type](r,t)}t.write("; "),e.test&&this[e.test.type](e.test,t),t.write("; "),e.update&&this[e.update.type](e.update,t),t.write(") "),this[e.body.type](e.body,t)},ForInStatement:i=function(e,t){t.write(`for ${e.await?"await ":""}(`);let{left:r}=e;"V"===r.type[0]?g(t,r):this[r.type](r,t),t.write("I"===e.type[3]?" in ":" of "),this[e.right.type](e.right,t),t.write(") "),this[e.body.type](e.body,t)},ForOfStatement:i,DebuggerStatement(e,t){t.write("debugger;",e)},FunctionDeclaration:n=function(e,t){t.write((e.async?"async ":"")+(e.generator?"function* ":"function ")+(e.id?e.id.name:""),e),h(t,e.params),t.write(" "),this[e.body.type](e.body,t)},FunctionExpression:n,VariableDeclaration(e,t){g(t,e),t.write(";")},VariableDeclarator(e,t){this[e.id.type](e.id,t),null!=e.init&&(t.write(" = "),this[e.init.type](e.init,t))},ClassDeclaration(e,t){if(t.write("class "+(e.id?`${e.id.name} `:""),e),e.superClass){t.write("extends ");let{superClass:r}=e,{type:i}=r,n=t.expressionsPrecedence[i];("C"!==i[0]||"l"!==i[1]||"E"!==i[5])&&(17===n||n<t.expressionsPrecedence.ClassExpression)?(t.write("("),this[e.superClass.type](r,t),t.write(")")):this[r.type](r,t),t.write(" ")}this.ClassBody(e.body,t)},ImportDeclaration(e,t){t.write("import ");let{specifiers:r,attributes:i}=e,{length:n}=r,o=0;if(n>0){for(;o<n;){o>0&&t.write(", ");let e=r[o],i=e.type[6];if("D"===i)t.write(e.local.name,e),o++;else if("N"===i)t.write("* as "+e.local.name,e),o++;else break}if(o<n){for(t.write("{");;){let e=r[o],{name:i}=e.imported;if(t.write(i,e),i!==e.local.name&&t.write(" as "+e.local.name),++o<n)t.write(", ");else break}t.write("}")}t.write(" from ")}if(this.Literal(e.source,t),i&&i.length>0){t.write(" with { ");for(let e=0;e<i.length;e++)this.ImportAttribute(i[e],t),e<i.length-1&&t.write(", ");t.write(" }")}t.write(";")},ImportAttribute(e,t){this.Identifier(e.key,t),t.write(": "),this.Literal(e.value,t)},ImportExpression(e,t){t.write("import("),this[e.source.type](e.source,t),t.write(")")},ExportDefaultDeclaration(e,t){t.write("export default "),this[e.declaration.type](e.declaration,t),null!=t.expressionsPrecedence[e.declaration.type]&&"F"!==e.declaration.type[0]&&t.write(";")},ExportNamedDeclaration(e,t){if(t.write("export "),e.declaration)this[e.declaration.type](e.declaration,t);else{t.write("{");let{specifiers:r}=e,{length:i}=r;if(i>0)for(let e=0;;){let n=r[e],{name:o}=n.local;if(t.write(o,n),o!==n.exported.name&&t.write(" as "+n.exported.name),++e<i)t.write(", ");else break}if(t.write("}"),e.source&&(t.write(" from "),this.Literal(e.source,t)),e.attributes&&e.attributes.length>0){t.write(" with { ");for(let r=0;r<e.attributes.length;r++)this.ImportAttribute(e.attributes[r],t),r<e.attributes.length-1&&t.write(", ");t.write(" }")}t.write(";")}},ExportAllDeclaration(e,t){if(null!=e.exported?t.write("export * as "+e.exported.name+" from "):t.write("export * from "),this.Literal(e.source,t),e.attributes&&e.attributes.length>0){t.write(" with { ");for(let r=0;r<e.attributes.length;r++)this.ImportAttribute(e.attributes[r],t),r<e.attributes.length-1&&t.write(", ");t.write(" }")}t.write(";")},MethodDefinition(e,t){e.static&&t.write("static ");let r=e.kind[0];("g"===r||"s"===r)&&t.write(e.kind+" "),e.value.async&&t.write("async "),e.value.generator&&t.write("*"),e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),h(t,e.value.params),t.write(" "),this[e.value.body.type](e.value.body,t)},ClassExpression(e,t){this.ClassDeclaration(e,t)},ArrowFunctionExpression(e,t){t.write(e.async?"async ":"",e);let{params:r}=e;null!=r&&(1===r.length&&"I"===r[0].type[0]?t.write(r[0].name,r[0]):h(t,e.params)),t.write(" => "),"O"===e.body.type[0]?(t.write("("),this.ObjectExpression(e.body,t),t.write(")")):this[e.body.type](e.body,t)},ThisExpression(e,t){t.write("this",e)},Super(e,t){t.write("super",e)},RestElement:o=function(e,t){t.write("..."),this[e.argument.type](e.argument,t)},SpreadElement:o,YieldExpression(e,t){t.write(e.delegate?"yield*":"yield"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t))},AwaitExpression(e,t){t.write("await ",e),p(t,e.argument,e)},TemplateLiteral(e,t){let{quasis:r,expressions:i}=e;t.write("`");let{length:n}=i;for(let e=0;e<n;e++){let n=i[e],o=r[e];t.write(o.value.raw,o),t.write("${"),this[n.type](n,t),t.write("}")}let o=r[r.length-1];t.write(o.value.raw,o),t.write("`")},TemplateElement(e,t){t.write(e.value.raw,e)},TaggedTemplateExpression(e,t){p(t,e.tag,e),this[e.quasi.type](e.quasi,t)},ArrayExpression:a=function(e,t){if(t.write("["),e.elements.length>0){let{elements:r}=e,{length:i}=r;for(let e=0;;){let n=r[e];if(null!=n&&this[n.type](n,t),++e<i)t.write(", ");else{null==n&&t.write(", ");break}}}t.write("]")},ArrayPattern:a,ObjectExpression(e,t){let r=t.indent.repeat(t.indentLevel++),{lineEnd:i,writeComments:n}=t,o=r+t.indent;if(t.write("{"),e.properties.length>0){t.write(i),n&&null!=e.comments&&m(t,e.comments,o,i);let s=","+i,{properties:a}=e,{length:l}=a;for(let e=0;;){let r=a[e];if(n&&null!=r.comments&&m(t,r.comments,o,i),t.write(o),this[r.type](r,t),++e<l)t.write(s);else break}t.write(i),n&&null!=e.trailingComments&&m(t,e.trailingComments,o,i),t.write(r+"}")}else n?null!=e.comments?(t.write(i),m(t,e.comments,o,i),null!=e.trailingComments&&m(t,e.trailingComments,o,i),t.write(r+"}")):null!=e.trailingComments?(t.write(i),m(t,e.trailingComments,o,i),t.write(r+"}")):t.write("}"):t.write("}");t.indentLevel--},Property(e,t){e.method||"i"!==e.kind[0]?this.MethodDefinition(e,t):(!e.shorthand&&(e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),t.write(": ")),this[e.value.type](e.value,t))},PropertyDefinition(e,t){if(e.static&&t.write("static "),e.computed&&t.write("["),this[e.key.type](e.key,t),e.computed&&t.write("]"),null==e.value){"F"!==e.key.type[0]&&t.write(";");return}t.write(" = "),this[e.value.type](e.value,t),t.write(";")},ObjectPattern(e,t){if(t.write("{"),e.properties.length>0){let{properties:r}=e,{length:i}=r;for(let e=0;;)if(this[r[e].type](r[e],t),++e<i)t.write(", ");else break}t.write("}")},SequenceExpression(e,t){h(t,e.expressions)},UnaryExpression(e,t){if(e.prefix){let{operator:r,argument:i,argument:{type:n}}=e;t.write(r);let o=f(t,i,e);!o&&(r.length>1||"U"===n[0]&&("n"===n[1]||"p"===n[1])&&i.prefix&&i.operator[0]===r&&("+"===r||"-"===r))&&t.write(" "),o?(t.write(r.length>1?" (":"("),this[n](i,t),t.write(")")):this[n](i,t)}else this[e.argument.type](e.argument,t),t.write(e.operator)},UpdateExpression(e,t){e.prefix?(t.write(e.operator),this[e.argument.type](e.argument,t)):(this[e.argument.type](e.argument,t),t.write(e.operator))},AssignmentExpression(e,t){this[e.left.type](e.left,t),t.write(" "+e.operator+" "),this[e.right.type](e.right,t)},AssignmentPattern(e,t){this[e.left.type](e.left,t),t.write(" = "),this[e.right.type](e.right,t)},BinaryExpression:s=function(e,t){let r="in"===e.operator;r&&t.write("("),p(t,e.left,e,!1),t.write(" "+e.operator+" "),p(t,e.right,e,!0),r&&t.write(")")},LogicalExpression:s,ConditionalExpression(e,t){let{test:r}=e,i=t.expressionsPrecedence[r.type];17===i||i<=t.expressionsPrecedence.ConditionalExpression?(t.write("("),this[r.type](r,t),t.write(")")):this[r.type](r,t),t.write(" ? "),this[e.consequent.type](e.consequent,t),t.write(" : "),this[e.alternate.type](e.alternate,t)},NewExpression(e,t){t.write("new ");let r=t.expressionsPrecedence[e.callee.type];17===r||r<t.expressionsPrecedence.CallExpression||function(e){let t=e;for(;null!=t;){let{type:e}=t;if("C"===e[0]&&"a"===e[1])return!0;if("M"!==e[0]||"e"!==e[1]||"m"!==e[2])return!1;else t=t.object}}(e.callee)?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),h(t,e.arguments)},CallExpression(e,t){let r=t.expressionsPrecedence[e.callee.type];17===r||r<t.expressionsPrecedence.CallExpression?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),e.optional&&t.write("?."),h(t,e.arguments)},ChainExpression(e,t){this[e.expression.type](e.expression,t)},MemberExpression(e,t){let r=t.expressionsPrecedence[e.object.type];17===r||r<t.expressionsPrecedence.MemberExpression?(t.write("("),this[e.object.type](e.object,t),t.write(")")):this[e.object.type](e.object,t),e.computed?(e.optional&&t.write("?."),t.write("["),this[e.property.type](e.property,t),t.write("]")):(e.optional?t.write("?."):t.write("."),this[e.property.type](e.property,t))},MetaProperty(e,t){t.write(e.meta.name+"."+e.property.name,e)},Identifier(e,t){t.write(e.name,e)},PrivateIdentifier(e,t){t.write(`#${e.name}`,e)},Literal(e,t){null!=e.raw?t.write(e.raw,e):null!=e.regex?this.RegExpLiteral(e,t):null!=e.bigint?t.write(e.bigint+"n",e):t.write(c(e.value),e)},RegExpLiteral(e,t){let{regex:r}=e;t.write(`/${r.pattern}/${r.flags}`,e)}},w={};class y{constructor(e){let t=null==e?w:e;this.output="",null!=t.output?(this.output=t.output,this.write=this.writeToStream):this.output="",this.generator=null!=t.generator?t.generator:v,this.expressionsPrecedence=null!=t.expressionsPrecedence?t.expressionsPrecedence:d,this.indent=null!=t.indent?t.indent:" ",this.lineEnd=null!=t.lineEnd?t.lineEnd:"\n",this.indentLevel=null!=t.startingIndentLevel?t.startingIndentLevel:0,this.writeComments=!!t.comments&&t.comments,null!=t.sourceMap&&(this.write=null==t.output?this.writeAndMap:this.writeToStreamAndMap,this.sourceMap=t.sourceMap,this.line=1,this.column=0,this.lineEndSize=this.lineEnd.split("\n").length-1,this.mapping={original:null,generated:this,name:void 0,source:t.sourceMap.file||t.sourceMap._file})}write(e){this.output+=e}writeToStream(e){this.output.write(e)}writeAndMap(e,t){this.output+=e,this.map(e,t)}writeToStreamAndMap(e,t){this.output.write(e),this.map(e,t)}map(e,t){if(null!=t){let{type:r}=t;if("L"===r[0]&&"n"===r[2]){this.column=0,this.line++;return}if(null!=t.loc){let{mapping:e}=this;e.original=t.loc.start,e.name=t.name,this.sourceMap.addMapping(e)}if("T"===r[0]&&"E"===r[8]||"L"===r[0]&&"i"===r[1]&&"string"==typeof t.value){let{length:t}=e,{column:r,line:i}=this;for(let n=0;n<t;n++)"\n"===e[n]?(r=0,i++):r++;this.column=r,this.line=i;return}}let{length:r}=e,{lineEnd:i}=this;r>0&&(this.lineEndSize>0&&(1===i.length?e[r-1]===i:e.endsWith(i))?(this.line+=this.lineEndSize,this.column=0):this.column+=r)}toString(){return this.output}}function b(e,t){let r=new y(t);return r.generator[e.type](e,r),r.output}},728927:function(e,t,r){"use strict";function i(e,t){let r=String(e.value||"");if(r){let i={type:"Literal",value:r};t.inherit(e,i);let n={type:"JSXExpressionContainer",expression:i};return t.patch(e,n),n}}r.d(t,{f:function(){return i}})},480650:function(e,t,r){"use strict";function i(e,t){let r=String(e),i=r.indexOf(t),n=i,o=0,s=0;if("string"!=typeof t)throw TypeError("Expected substring");for(;-1!==i;)i===n?++o>s&&(s=o):o=1,n=i+t.length,i=r.indexOf(t,n);return s}r.d(t,{J:function(){return i}})},243231:function(e,t,r){"use strict";r.d(t,{$:function(){return s},t:function(){return a}});var i=r(735939),n=r(465838),o=r(600687);function s(){return[(0,i.T)(),(0,n.X)(),(0,o.V)()]}function a(e){return{extensions:[(0,i.n)(),(0,n.q)(e),(0,o.U)()]}}},246941:function(e,t,r){"use strict";function i(e,t){let r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}r.d(t,{K:function(){return i}})},984015:function(e,t,r){"use strict";r.d(t,{K:function(){return n}});var i=r(343894);function n(e,t){let r=e.all(t),n=r.shift(),o=[];if(n){let r={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],r),o.push(r)}if(r.length>0){let n={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},s=(0,i.Pk)(t.children[1]),a=(0,i.rb)(t.children[t.children.length-1]);s&&a&&(n.position={start:s,end:a}),o.push(n)}let s={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,s),e.applyData(t,s)}},713313:function(e,t,r){"use strict";r.d(t,{T:function(){return n}});var i=r(419416);function n(e,t,r){let n=(0,i.r)(e),o=(0,i.r)(t);return void 0===n?void 0===o?"_"===r?{inside:!0,outside:!0}:{inside:!1,outside:!1}:1===o?{inside:!0,outside:!0}:{inside:!1,outside:!0}:1===n?void 0===o?{inside:!1,outside:!1}:1===o?{inside:!0,outside:!0}:{inside:!1,outside:!1}:void 0===o?{inside:!1,outside:!1}:1===o?{inside:!0,outside:!1}:{inside:!1,outside:!1}}},34159:function(e,t,r){"use strict";r.d(t,{o:function(){return n}});var i=r(587957);function n(e,t){let r=(0,i.B)(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}},872072:function(e,t,r){"use strict";r.d(t,{F:function(){return i}});let i={name:"labelStartLink",resolveAll:r(473818).Z.resolveAll,tokenize:function(e,t,r){let i=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),n};function n(e){return 94===e&&"_hiddenFootnoteSupport"in i.parser.constructs?r(e):t(e)}}}},506887:function(e,t,r){"use strict";r.d(t,{z:function(){return s}});var i=r(629686),n=r(811603);r(490629);var o=r(368229);let s=new class e{mark(e,t){try{if((0,o.g)())return this.tags.add(e),window.performance.mark(e,t)}catch(e){}return null}markStart(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{once:!1,detail:{entryType:"custom"}};var{once:r=!1,detail:s={entryType:"custom"}}=t,a=(0,n._)(t,["once","detail"]);try{let{entryType:t}=s,{startMark:n}=(0,o.e)(e,{entryType:t}),l=(0,i._)({once:r,detail:s},a);return r?this.markOnce(n,l):this.mark(n,l)}catch(e){}return null}markEnd(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{once:!1,detail:{entryType:"custom"}};var{once:r=!1,detail:s={entryType:"custom"}}=t,a=(0,n._)(t,["once","detail"]);try{let{entryType:t}=s,n=(0,i._)({once:r,detail:s},a),{endMark:l,startMark:c,durationMark:u}=(0,o.e)(e,{entryType:t}),d=r?this.markOnce(l,n):this.mark(l,n);return d&&(this.tags.add(u),window.performance.measure(u,{start:c,end:l,detail:s})),d}catch(e){}return null}markOnce(e,t){if(!this.tags.has(e))return this.mark(e,t)}takeRecords(){try{if((0,o.g)()){let e=window.performance.getEntriesByType("mark"),t=window.performance.getEntriesByType("measure");return[...e,...t].filter(e=>this.tags.has(e.name))}}catch(e){}return[]}constructor(){this.tags=new Set}}},398206:function(e,t,r){"use strict";r.r(t),r.d(t,{NotFoundPage:function(){return d}}),r(302356),r(759943),r(320165),r(101199);var i=r(411343),n=r(406848),o=r(440755);let s=()=>`
<style>
:host {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 99999;
--monospace: Inter, Avenir, Helvetica, Arial, sans-serif;
--yellow: #e2aa53;
}
.notfound {
width: 100vw;
height: 100vh;
position: relative;
overflow: hidden;
background-color: #1a1a1a;
font-family: var(--monospace)
}
.layout {
width: 90%;
margin: 0 auto;
display: flex;
height: 100%;
align-items: center;
justify-content: space-around;
position: relative;
z-index: 2;
}
.background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}
.background img {
object-fit: cover;
}
.code {
font-size: 256px;
padding: 0;
margin: 0;
color: #fff;
}
.config-option {
font-size: 13px;
font-family: var(--monospace);
color: var(--yellow);
}
.panel {
min-width: 600px;
height: 400px;
display: flex;
flex-direction: column;
background-color: rgb(17, 19, 23);
border-radius: 12px;
padding: 40px 40px 12px 40px;
text-align: left;
box-shadow: 4px 12px 40px 6px rgb(0 0 0 / 9%), inset 0 0 1px 1px hsl(0deg 0% 100% / 5%);
}
.title {
padding: 0px;
margin: 0px;
font-weight: 700;
color: #fff;
}
.desc {
padding: 0;
margin: 0;
color: rgb(231, 231, 231);
font-weight: 600;
}
.routes {
list-style: none;
text-align: left;
padding: 0px;
margin-top: 24px;
overflow: auto;
}
a {
cursor: pointer;
font-weight: 500;
color: #646cff;
text-decoration: inherit;
}
a:hover {
color: #535bf2;
}
</style>
<div class="notfound">
<div
class="layout"
>
<h1
class="code"
>
404
</h1>
<div
class="panel"
>
<h3
class="title"
>
Available routes
</h3>
<p class="desc">
Looks like <span class="pathname"></span> not found.
</p>
<ul class="routes">
list
</ul>
</div>
</div>
<div
class="background"
>
<img
width="100%"
height="100%"
src="https://realme-ten.vercel.app/api/v1/webgradients.svg?title=&subtitle=&desc=&radialgradiets=true&webgradientsName=HappyFisher"
/>
</div>
</div>
`,a=/(?:[a-zA-Z]:\\|\/).*?:\d+:\d+/g,{HTMLElement:l=class{}}=globalThis;class c extends l{html(e,t){this.root.querySelector(e).innerHTML=t}text(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.root.querySelector(e);if(r){let e,r=0;for(a.lastIndex=0;e=a.exec(t);){let{0:n,index:o}=e;if(null!=o){let e=t.slice(r,o);i.appendChild(document.createTextNode(e));let s=document.createElement("a");s.textContent=n,s.className="file-link",i.appendChild(s),r+=e.length+n.length}}}else i.textContent=t}close(){var e;null===(e=this.parentNode)||void 0===e||e.removeChild(this)}constructor(e,t){super(),this.root=this.attachShadow({mode:"open"}),this.root.innerHTML=s();let r=(0,o.u)((0,i.f)(e),"path").map(e=>{var t;return`<li key={route.path}><a>${(0,i.j)(n.EZ,null!==(t=e.path)&&void 0!==t?t:"")}</a></li>`});this.html(".routes",r.join("\n")),this.text(".pathname",t),this.root.querySelector(".notfound").addEventListener("click",e=>{e.stopPropagation()}),this.addEventListener("click",()=>{this.close()})}}let u="pace-not-found",d=e=>null},566928:function(e,t,r){"use strict";r.d(t,{M:function(){return o},d:function(){return s}});var i=r(654481),n=r(392625);function o(e,t){let{file:r,options:o}=(0,i.r)(e,t);return(0,n.A)(o).process(r)}function s(e,t){let{file:r,options:o}=(0,i.r)(e,t);return(0,n.A)(o).processSync(r)}},32879:function(e,t,r){"use strict";r.d(t,{E:function(){return o}}),r(932651);var i=r(324219),n=r(223981);class o extends i.XY{compute(e,t){let r;let{cfg:n}=this,o=n.hasher.create(),s=i.Ic.create(),a=s.words,{keySize:l,iterations:c}=n;for(;a.length<l;){r&&o.update(r),r=o.update(e).finalize(t),o.reset();for(let e=1;e<c;e+=1)r=o.finalize(r),o.reset();s.concat(r)}return s.sigBytes=4*l,s}constructor(e){super(),this.cfg=Object.assign(new i.XY,{keySize:4,hasher:n.pt,iterations:1},e)}}}}]);