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

2 lines
88 KiB
Plaintext

/*! For license information please see 27603.cb485636.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,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function r(e,t,r){if(r||2==arguments.length)for(var n,i=0,s=t.length;i<s;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}var n=/[^a-zA-Z0-9\\_:.-]/gim,i=/</g,s=/>/g,o=/&#([a-zA-Z0-9]*);?/gim,a=/&quot;/g,c=/&colon;?/gim,l=/&newline;?/gim,u=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,h=/u\s*r\s*l\s*\(.*/gi,d=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,f=/"/g,p=function(e){return e.replace(i,"&lt;").replace(s,"&gt;")},g={indexOf:function(e,t){var r,n;for(r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return -1},forEach:function(e,t,r){var n,i;for(n=0,i=e.length;n<i;n++)t.call(r,e[n],n,e)},some:function(e,t,r){var n,i;for(n=0,i=e.length;n<i;n++)if(t.call(r,e[n],n,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=[],n=0;n<e.length;n++)t[e[n]]||(r.push(e[n]),t[e[n]]=!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 m(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 y(e){var t,r,n,i,s,o,a,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="",u=0;for(e=function(e){e=e.replace(/rn/g,"n");for(var t="",r=0;r<e.length;r++){var n=e.charCodeAt(r);n<128?t+=String.fromCharCode(n):n>127&&n<2048?t+=String.fromCharCode(n>>6|192)+String.fromCharCode(63&n|128):t+=String.fromCharCode(n>>12|224)+String.fromCharCode(n>>6&63|128)+String.fromCharCode(63&n|128)}return t}(e);u<e.length;)i=(t=e.charCodeAt(u++))>>2,s=(3&t)<<4|(r=e.charCodeAt(u++))>>4,o=(15&r)<<2|(n=e.charCodeAt(u++))>>6,a=63&n,isNaN(r)?o=a=64:isNaN(n)&&(a=64),l=l+c.charAt(i)+c.charAt(s)+c.charAt(o)+c.charAt(a);return l}function b(e){var t,r,n,i,s,o,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c="",l=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");l<e.length;)t=a.indexOf(e.charAt(l++))<<2|(i=a.indexOf(e.charAt(l++)))>>4,r=(15&i)<<4|(s=a.indexOf(e.charAt(l++)))>>2,n=(3&s)<<6|(o=a.indexOf(e.charAt(l++))),c+=String.fromCharCode(t),64!==s&&(c+=String.fromCharCode(r)),64!==o&&(c+=String.fromCharCode(n));return function(e){for(var t="",r=0,n=0,i=0,s=0;r<e.length;)(n=e.charCodeAt(r))<128?(t+=String.fromCharCode(n),r++):n>191&&n<224?(t+=String.fromCharCode((31&n)<<6|63&(s=e.charCodeAt(r+1))),r+=2):(s=e.charCodeAt(r+1),t+=String.fromCharCode((15&n)<<12|(63&s)<<6|63&(i=e.charCodeAt(r+2))),r+=3);return t}(c)}function _(e,t,r){var n="",i=0,s=!1,o=!1,a=0,c=e.length,l="",u="";e:for(a=0;a<c;a++){var h=e.charAt(a);if(!1===s){if("<"===h){s=a;continue}}else if(!1===o){if("<"===h){n+=r(e.slice(i,a)),s=a,i=a;continue}if(">"===h||a===c-1){n+=r(e.slice(i,s)),l=function(e){var t,r=g.spaceIndex(e);return t=-1===r?e.slice(1,-1):e.slice(1,r+1),"/"===(t=g.trim(t).toLowerCase()).slice(0,1)&&(t=t.slice(1)),"/"===t.slice(-1)&&(t=t.slice(0,-1)),t}(u=e.slice(s,a+1)),n+=t(s,n.length,l,u,"</"===u.slice(0,2)),i=a+1,s=!1;continue}if('"'===h||"'"===h)for(var d=1,f=e.charAt(a-d);""===f.trim()||"="===f;){if("="===f){o=h;continue e}f=e.charAt(a-++d)}}else if(h===o){o=!1;continue}}return i<c&&(n+=r(e.substr(i))),n}function E(e,t){var r=0,i=0,s=[],o=!1,a=e.length;function c(e,r){if(!((e=(e=g.trim(e)).replace(n,"").toLowerCase()).length<1)){var i=t(e,r||"");i&&s.push(i)}}for(var l=0;l<a;l++){var u=e.charAt(l),h=void 0;if(!1!==o||"="!==u){if(!1===o||l!==i){if(/\s|\n|\t/.test(u)){if(e=e.replace(/\s|\n|\t/g," "),!1===o){if(-1===(h=function(e,t){for(;t<e.length;t++){var r=e[t];if(" "!==r)return"="===r?t:-1}return -1}(e,l))){c(g.trim(e.slice(r,l))),o=!1,r=l+1;continue}l=h-1;continue}if(-1===(h=function(e,t){for(;t>0;t--){var r=e[t];if(" "!==r)return"="===r?t:-1}return -1}(e,l-1))){c(o,v(g.trim(e.slice(r,l)))),o=!1,r=l+1;continue}}}else{if(-1===(h=e.indexOf(u,l+1)))break;c(o,g.trim(e.slice(i+1,h))),o=!1,r=(l=h)+1}}else o=e.slice(r,l),r=l+1,i='"'===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,l+1)}return r<e.length&&(!1===o?c(e.slice(r)):c(o,v(g.trim(e.slice(r))))),g.trim(s.join(" "))}function x(e,t,r){if(r=function(e){return e=function(e){for(var t="",r=0,n=e.length;r<n;r++)t+=32>e.charCodeAt(r)?" ":e.charAt(r);return g.trim(t)}(e=(e=(e=e.replace(a,'"')).replace(o,function(e,t){return"x"===t[0]||"X"===t[0]?String.fromCharCode(parseInt(t.substr(1),16)):String.fromCharCode(parseInt(t,10))})).replace(c,":").replace(l," "))}(r),"href"===t||"src"===t){if("#"===(r=g.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&&(d.lastIndex=0,d.test(r)||(h.lastIndex=0,h.test(r)&&(u.lastIndex=0,u.test(r)))))return"";return r=function(e){return e=p(e=e.replace(f,"&quot;"))}(r)}var w=function(e){return"string"==typeof e?e.replace(/'/g,'"').replace('=""',"").replace(/\s+/g,"").toLowerCase():""},A=function(){function e(e){var t=function(e){var t={};for(var 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,n,i,s,o,a=this.options,c=a.whiteList,l=a.onTag,u=a.onIgnoreTag,h=a.onTagAttr,d=a.onIgnoreTagAttr,f=a.safeAttrValue,p=a.escapeHtml;a.stripBlankChar&&(e=(t=(t=e.split("")).filter(function(e){var t=e.charCodeAt(0);return!(127===t||t<=31&&10!==t&&13!==t)})).join("")),a.allowCommentTag||(e=function(e){for(var t="",r=0;r<e.length;){var n=e.indexOf("\x3c!--",r);if(-1===n){t+=e.slice(r);break}t+=e.slice(r,n);var i=e.indexOf("--\x3e",n);if(-1===i)break;r=i+3}return t}(e));var m=!1;a.stripIgnoreTagBody&&(r=a.stripIgnoreTagBody,"function"!=typeof(n=u)&&(n=function(){}),i=!Array.isArray(r),s=[],o=!1,u=(m={onIgnoreTag:function(e,t,a){var c;if(c=e,i||-1!==g.indexOf(r,c)){if(a.isClosing){var l="[/removed]",u=a.position+l.length;return s.push([!1!==o?o:a.position,u]),o=!1,l}return o||(o=a.position),"[removed]"}return n(e,t,a)},remove:function(e){var t="",r=0;return g.forEach(s,function(n){t+=e.slice(r,n[0]),r=n[1]}),t+=e.slice(r)}}).onIgnoreTag);var v=_(e,function(e,t,r,n,i){var s={sourcePosition:e,position:t,isClosing:i,isWhite:Object.prototype.hasOwnProperty.call(c,r)},o=l(r,n,s);if(null!=o)return o;if(s.isWhite){if(s.isClosing)return"</".concat(r,">");var a=function(e){var t=g.spaceIndex(e);if(-1===t)return{html:"",closing:"/"===e[e.length-2]};var r="/"===(e=g.trim(e.slice(t+1,-1)))[e.length-1];return r&&(e=g.trim(e.slice(0,-1))),{html:e,closing:r}}(n),m=c[r],v=E(a.html,function(e,t){var n=-1!==g.indexOf(m,e),i=h(r,e,t,n);return null==i?n?(t=f(r,e,t,null))?"".concat(e,'="').concat(t,'"'):e:null==(i=d(r,e,t,n))?void 0:i:i});return n="<".concat(r),v&&(n+=" ".concat(v)),a.closing&&(n+=" /"),n+=">"}return null==(o=u(r,n,s))?p(n):o},p);return m&&(v=m.remove(v)),v},e}(),T=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")(),S=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,n="douyin_web";if(!g.includes(n,"bid"))return n;if(e.config&&e.config.bid)return e.config.bid;if(T&&T._xssBid)return T._xssBid;if(T&&T.slardar&&"function"==typeof T.slardar.config){var i=(T.slardar.config()||{}).bid;if(i)return i}if(T&&T.Slardar&&"function"==typeof T.Slardar.config){var s=(T.Slardar.config()||{}).bid;if(s)return s}return(null===(r=null===(t=null==T?void 0:T.Slardar)||void 0===t?void 0:t._baseParams)||void 0===r?void 0:r.bid)||"argus"},this.getConfigRegion=function(){var t;return g.includes("cn","region")?e.config&&e.config.region?e.config.region:((null===(t=null==T?void 0:T.gfdatav1)||void 0===t?void 0:t.region)||"cn").toLowerCase():"cn"},this.gerReportUrl=function(){var t={cn:b("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boe:b("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),ttp:b("aHR0cHM6Ly9tb24udXMudGlrdG9rdi5jb20vbW9uaXRvcl9icm93c2VyL2NvbGxlY3QvYmF0Y2gvc2VjdXJpdHkvP2JpZD0="),va:b("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),maliva:b("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),sg:b("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boei18n:b("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),T.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(T.fetch&&e.collectKey){var r="object"==typeof window?window.location.href:"SSR";e.documentUrl=r;var n={age:Math.floor(Date.now()),type:"xss",url:r,body:e,"user-agent":""};"enforce"===e.disposition&&"SSR"!==r||(n.url=t),"SSR"===r&&(n.url="SSR___".concat(n.url),n.body.ssr=!0),this.push(n)}},e}()),k=function(e){for(var t=0,r=function(r){Array.isArray(e[r])?0===e[r].length?delete e[r]:(e[r]=g.from(g.uniq(e[r])),t+=e[r].length):0===g.keys(e[r]).length?delete e[r]:g.keys(e[r]).forEach(function(n){e[r][n]=g.from(g.uniq(e[r][n])),t+=e[r][n].length})},n=0,i=g.keys(e);n<i.length;n++)r(i[n]);return{count:t,ret:e}};function L(e,t){return S.setConfig(t),new A(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 n="/"===(e=e.slice(r+1,-1).trim())[e.length-1];return n&&(e=e.slice(0,-1).trim()),{html:e,closing:n}}var C=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,n){return String.fromCharCode(t?parseInt(r,16):parseInt(n))}).replace(/(\t|\n|\r)/g,"").toLowerCase()};function R(e,t){if(void 0===e&&(e=""),"string"!=typeof e)return!0;if(e=C(e),g.includes(e,"base64")&&!function(e){if(""===e||""===e.trim())return!0;try{return!g.includes(e,"data:text/html;base64")}catch(e){return!0}}(e))return t&&t("data:text/html;base64"),!1;var r=["expression(","behavior:","view-source:"];if(g.some(r,function(t){return -1!==e.indexOf(t)}))return g.forEach(r,function(r){-1!==e.indexOf(r)&&t&&t(r)}),!1;var n=["data:application","data:javascript","data:text/html","data:texthtml"];if(g.some(n,function(t){return -1!==e.indexOf(t)}))return g.forEach(n,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 i=e.slice(11).replace(/\s/g,"").trim();return!!g.some(["void","void(0)","void0","false","undefined",";"],function(e){return e===i})||(t&&t("javascript:"),!1)}return!0}var D=function(e,t){var r,n,i="<%= isSaveValidUrl =>";if("string"!=typeof e||(n=Number("<%= urlLimit =>"),void 0!==r&&(n=r),"NaN"!==e.toString()&&-1!==n&&e.length>=n)||R(e,t))return e;try{if(!0===(i=JSON.parse(i))||"true"===i){var s=new URL(e);return s.origin+s.pathname}}catch(e){}return"#"};function O(e,t,n){if(void 0===e&&(e=""),void 0===t&&(t=[]),"string"!=typeof e)return!0;if(!R(e=C(e)))return!1;var i,s={url:(i=e.match(/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/)||[])[0],scheme:i[1],slash:i[2],host:i[3],port:i[4],path:i[5],query:i[6],hash:i[7]},o=s.scheme,a=s.host;return n?!!n(e):!(!o||!a)&&(!g.includes(["http","https","file"],o)||("object"==typeof window&&window&&(t=r(r([],t,!0),[location.host],!1)),g.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:[]},M={collect:null,initCollect:function(){this.collect={whiteList:{},filterProtocol:[]}},removeCollect:function(){var e=k(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,n){return e&&g.indexOf(["href","src"],t)>-1?M.domainWhiteList&&Array.isArray(M.domainWhiteList)&&M.domainWhiteList.length>0&&!O(n,r([],M.domainWhiteList,!0))?"":"".concat(t,'="').concat(D(n,function(e){var t;null===(t=M.collect)||void 0===t||t.filterProtocol.push(e)}),'"'):e&&(g.indexOf(["style","class","id"],t)>-1||t.indexOf("data-")>-1)?"".concat(t,'="').concat(n,'"'):(M.collect.whiteList[e]=M.collect.whiteList[e]||[],void M.collect.whiteList[e].push(t))},onIgnoreTag:function(e,t){if("style"===e)return t;_(t,function(e,t,r,n){E(P(n).html.replace("/",""),function(e){M.collect.whiteList[r]=M.collect.whiteList[r]||[],M.collect.whiteList[r].push(e)})},p)},whiteList:N,mergeWhiteList:function(e){for(var t,r={},n=0,i=g.keys(N);n<i.length;n++)r[t=i[n]]=g.from(N[t]);for(var s=0,o=g.keys(e);s<o.length;s++)r[t=o[s]]=t in N?N[t].concat(e[t]):g.from(e[t]);return r},setWhiteList:function(e){for(var t=0,r=g.keys(e);t<r.length;t++){var n=r[t];this.whiteList[n]=n in N?N[n].concat(e[n]):g.from(e[n])}}};try{var I={},U="merge";g.includes(U,"override")&&(M.whiteList=I.whiteList),g.includes(U,"merge")&&M.setWhiteList(I.whiteList)}catch(e){}var j=function(e,t){for(var r={},n=0,i=g.keys(e);n<i.length;n++){var s=i[n];Array.isArray(e[s])?r[s]=g.from(e[s]):r[s]=j({},e[s])}for(var o=0,a=g.keys(t);o<a.length;o++)(s=a[o])in e?Array.isArray(e[s])?r[s]=e[s].concat(t[s]):r[s]=j(e[s],t[s]):Array.isArray(t[s])?r[s]=g.from(t[s]):r[s]=j({},t[s]);return r},Y={blackList:{a:["folder"],meta:["content"],iframe:["srcdoc"],input:["pattern"],vmlframe:["xmlns"]},blackTags:["script","xml","embed","isindex","object","base","set","handler","animate","payload","import"],blackAttrs:["charset","ns","namespace","formaction","xlink:href","xmlns:xlink","handler","repeat","repeat-start","repeat-end"],blackAttrRegExps:[/^on/],filterList:{param:["value"],video:["poster"],form:["action"]},filterAttrs:["href","src","background","style","dynsrc","lowsrc","content"]};try{var F={};F.blackAttrRegExps&&(F.blackAttrRegExps=F.blackAttrRegExps.map(function(e){return new RegExp(e.toString().slice(1,e.toString().length-1))}));var V="merge";g.includes(V,"override")&&(Y=F),g.includes(V,"merge")&&(Y=j(Y,F))}catch(e){}var H={mode:"black",whiteList:{},blackConfig:Y,collect:null,initCollect:function(){H.collect={blackList:{},blackTags:[],blackAttrs:[],blackAttrRegExps:[],filterAttrs:[],filterList:{},filterProtocol:[]}},removeCollect:function(){var e=k(H.collect),t=e.count,r=e.ret;return H.collect=null,{collectKey:0===t?null:JSON.stringify(r),collectMode:"black"}},onIgnoreTag:function(e,t){var r;if(!g.includes(Y.blackTags,e))return _(t,function(e,t,r,n,i){if(-1!==r.indexOf("/"))return p(n);if(i)return"</".concat(r,">");var s=P(n),o=E(s.html,function(e,t){var n,i=0;if(Y.blackList[r]&&g.includes(Y.blackList[r],e)&&(H.collect.blackList[r]=H.collect.blackList[r]||[],H.collect.blackList[r].push(e),i++),Y.blackAttrRegExps.length&&Y.blackAttrRegExps.some(function(t){return t.test(e)})&&g.forEach(Y.blackAttrRegExps,function(t){t.test(e)&&(H.collect.blackAttrRegExps.push("".concat(t.toString(),"->").concat(e)),i++)}),Y.blackAttrs.length&&g.includes(Y.blackAttrs,e)&&(Y.blackAttrs.push(e),i++),!i){if(Y.filterList&&Y.filterList[r]&&g.includes(Y.filterList[r],e)){var s=D(t,function(e){var t;null===(t=H.collect)||void 0===t||t.filterProtocol.push(e)});return s!==t&&(H.collect.filterList[r]=H.collect.filterList[r]||[],H.collect.filterList[r].push(e)),t?"".concat(e,"='").concat(s,"'"):e}return Y.filterAttrs&&g.includes(Y.filterAttrs,e)?((s=D(t,function(e){var t;null===(t=H.collect)||void 0===t||t.filterProtocol.push(e)}))!==t&&(null===(n=H.collect)||void 0===n||n.filterAttrs.push(e)),t?"".concat(e,"='").concat(s,"'"):e):t?"".concat(e,"='").concat(t,"'"):e}});return n="<".concat(r),o&&(n+=" ".concat(o)),s.closing&&(n+=" /"),n+=">"},p);null===(r=H.collect)||void 0===r||r.blackTags.push(e)}},Z=function(e){var t=e.reportOnly,r=void 0===t||t,n=e.block;return r&&"all"===r?"report":("string"==typeof r&&("true"===r&&(r=!0),"false"===r&&(r=!1)),n?"enforce":r?"report":"enforce")},$=function(e){return function(r,n,i){if(!r||"string"!=typeof r)return r;var s=n;e===L&&(s=M).initCollect();var o=e(r,s);if(w(o)===w(r))return r;if(!i)return o;var a=i.logType,c=Z(i),l=s.removeCollect();return S.report(t(t({type:a,disposition:c},l),{sourceText:y(r),filterText:y(o)})),"enforce"===c?o:r}},B=$(function(e,t){return void 0===t&&(t={}),t&&t.whiteList||(t.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}),new A(t).process(e)}),z=$(L),X=function(e,t,r){var n=[],i=D(e,function(e){n.push(e)});if(i===e)return e;n=g.from(g.uniq(n));var s=t||r||{};if(!s)return i;var o=s.logType,a=Z(r);return S.report({type:o,disposition:a,collectKey:n.join("___"),collectData:JSON.stringify(n),collectMode:"black",sourceText:y(e),filterText:y(i)}),"enforce"===a?i:e},G=T._xssProject||{},W=T.xssNamespace||{},J="3.0.26",K={FilterXSS:A,version:J,webpackPluginVersion:"<%= webpackPluginVersion =>",reportOnly:"<%= reportOnly =>",filterXSS:B,_filterXSS:z,filterUrl:X,Config:M,BlackConfig:H,project:G,setProjectName:function(e){G[e]=this,T._xssProjectName=e}};W.douyin_web=K,T.xssNamespace=W,T.Math&&!T.Math.xssNamespace&&(T.Math.xssNamespace=W),G[J]=K,T.globalThis=T,T.getFilterXss=function(){return void 0!==this._xssProjectName?this._xssProject[this._xssProjectName]:K},T.xss=K,T.isSafeUrl=O,T.isSafeDomain=O,T.isSafeProtocol=R,T._xssProject=G,T._xssProjectName&&(G[T._xssProjectName]=K);var q=K.setProjectName.bind(K);e.BlackConfig=H,e.Config=M,e.FilterXSS=A,e._filterXSS=z,e.filterUrl=X,e.filterXSS=B,e.isSafeDomain=O,e.isSafeProtocol=R,e.isSafeUrl=O,e.project=G,e.setProjectName=q,e.setXssNamespace=function(e){var t=e.appId,r=e.bid,n=e.region;W[t]=K;M.bid=r,M.region=n,M.enabled=!0},e.xssNamespace=W,Object.defineProperty(e,"__esModule",{value:!0})}),(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["27603"],{503830:function(e,t,r){"use strict";var n=r(101199),i=r(994298);let s=(0,i.A)(function(e){return n.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),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.38 4.4c.51-.53 1.34-.53 1.84 0l6.4 6.64c.5.53.5 1.39 0 1.92l-6.4 6.64c-.5.53-1.33.53-1.84 0a1.4 1.4 0 0 1 0-1.91L9.86 12 4.38 6.31a1.4 1.4 0 0 1 0-1.91Z",fill:"currentColor"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.38 4.4c.51-.53 1.33-.53 1.84 0l6.4 6.64c.5.53.5 1.39 0 1.92l-6.4 6.64c-.5.53-1.33.53-1.84 0a1.4 1.4 0 0 1 0-1.91L16.86 12l-5.48-5.69a1.4 1.4 0 0 1 0-1.91Z",fill:"currentColor"}))},"double_chevron_right");t.Z=s},204342:function(e,t,r){"use strict";var n=r(101199),i=r(994298);let s=(0,i.A)(function(e){return n.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),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 12a8 8 0 0 1 13.66-5.66c.28.28.68.71 1.09 1.16H16a1 1 0 1 0 0 2h4.5a1 1 0 0 0 1-1V4a1 1 0 1 0-2 0v1.9a37.8 37.8 0 0 0-.93-.97 10 10 0 1 0 0 14.14 1 1 0 1 0-1.41-1.41A8 8 0 0 1 3.5 12Z",fill:"currentColor"}))},"redo_stroked");t.Z=s},728078:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebGLImageHashComponent=void 0;let n=r(602767),i=r(190290),s=r(547646);class o extends s.CustomComponent{getValue(){var e,t,r,s;let o=(0,i.getWebGLContext)(),a=null===(e=null==o?void 0:o.createBuffer)||void 0===e?void 0:e.call(o),c=null===(t=null==o?void 0:o.createProgram)||void 0===t?void 0:t.call(o),l=null===(r=null==o?void 0:o.createShader)||void 0===r?void 0:r.call(o,o.VERTEX_SHADER),u=null===(s=null==o?void 0:o.createShader)||void 0===s?void 0:s.call(o,o.FRAGMENT_SHADER);if(!o||!a||!c||!l||!u||"undefined"==typeof Uint8Array)return"";let h="";try{o.bindBuffer(o.ARRAY_BUFFER,a),o.bufferData(o.ARRAY_BUFFER,new Float32Array([-.2,-.9,0,.4,-.26,0,0,.7321,0]),o.STATIC_DRAW);o.shaderSource(l,"attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}"),o.compileShader(l),o.shaderSource(u,"precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}"),o.compileShader(u),o.attachShader(c,l),o.attachShader(c,u),o.linkProgram(c),o.useProgram(c);let e=o.getAttribLocation(c,"attrVertex"),t=o.getUniformLocation(c,"uniformOffset");o.enableVertexAttribArray(e),o.vertexAttribPointer(e,3,o.FLOAT,!1,0,0),o.uniform2f(t,1,1),o.drawArrays(o.TRIANGLE_STRIP,0,3);let r=new Uint8Array(131072);o.readPixels(0,0,256,128,o.RGBA,o.UNSIGNED_BYTE,r);let i=JSON.stringify(r).replace(/,?"[0-9]+":/g,"").replace(/^{[0]+}$/g,"");h=(0,n.x64Hash128)(i)}finally{return h}}}t.WebGLImageHashComponent=o},782996:function(e,t,r){var n,i;n=0,i=function(e){var t;return t=e.lib.WordArray,e.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var i=[],s=0;s<r;s+=3){for(var o=(t[s>>>2]>>>24-s%4*8&255)<<16|(t[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|t[s+2>>>2]>>>24-(s+2)%4*8&255,a=0;a<4&&s+.75*a<r;a++)i.push(n.charAt(o>>>6*(3-a)&63))}var c=n.charAt(64);if(c)for(;i.length%4;)i.push(c);return i.join("")},parse:function(e){var r=e.length,n=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var s=0;s<n.length;s++)i[n.charCodeAt(s)]=s}var o=n.charAt(64);if(o){var a=e.indexOf(o);-1!==a&&(r=a)}return function(e,r,n){for(var i=[],s=0,o=0;o<r;o++)if(o%4){var a=n[e.charCodeAt(o-1)]<<o%4*2|n[e.charCodeAt(o)]>>>6-o%4*2;i[s>>>2]|=a<<24-s%4*8,s++}return t.create(i,s)}(e,r,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},e.enc.Base64},e.exports=i(r(776340))},85064:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isProtectedDayOfYearToken=function(e){return -1!==r.indexOf(e)},t.isProtectedWeekYearToken=function(e){return -1!==n.indexOf(e)},t.throwProtectedError=function(e,t,r){if("YYYY"===e)throw RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));else if("DD"===e)throw RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))};var r=["D","DD"],n=["YY","YYYY"]},283791:function(e){"use strict";var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(e,t){return new Promise(function(r,n){function i(r){e.removeListener(t,s),n(r)}function s(){"function"==typeof e.removeListener&&e.removeListener("error",i),r([].slice.call(arguments))}g(e,t,s,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&g(e,"error",t,r)}(e,i,{once:!0})})},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var o=10;function a(e){if("function"!=typeof e)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function l(e,t,r,n){if(a(r),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),l=o[t]),void 0===l)l=o[t]=r,++e._eventsCount;else if("function"==typeof l?l=o[t]=n?[r,l]:[l,r]:n?l.unshift(r):l.push(r),(s=c(e))>0&&l.length>s&&!l.warned){l.warned=!0;var i,s,o,l,u=Error("Possible EventEmitter memory leak detected. "+l.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=l.length,i=0}return e}function u(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=u.bind(n);return i.listener=r,n.wrapFn=i,i}function d(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):p(i,i.length)}function f(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function p(e,t){for(var r=Array(t),n=0;n<t;++n)r[n]=e[n];return r}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return o},set:function(e){if("number"!=typeof e||e<0||i(e))throw RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");o=e}}),s.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return c(this)},s.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var i="error"===e,s=this._events;if(void 0!==s)i=i&&void 0===s.error;else if(!i)return!1;if(i){if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var o,a=Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var c=s[e];if(void 0===c)return!1;if("function"==typeof c)n(c,this,t);else{for(var l=c.length,u=p(c,l),r=0;r<l;++r)n(u[r],this,t)}return!0},s.prototype.addListener=function(e,t){return l(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return l(this,e,t,!0)},s.prototype.once=function(e,t){return a(t),this.on(e,h(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return a(t),this.prependListener(e,h(this,e,t)),this},s.prototype.removeListener=function(e,t){var r,n,i,s,o;if(a(t),void 0===(n=this._events)||void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(i=-1,s=r.length-1;s>=0;s--)if(r[s]===t||r[s].listener===t){o=r[s].listener,i=s;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,o||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0==arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0==arguments.length){var i,s=Object.keys(r);for(n=0;n<s.length;++n)"removeListener"!==(i=s[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},s.prototype.listeners=function(e){return d(this,e,!0)},s.prototype.rawListeners=function(e){return d(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):f.call(e,t)},s.prototype.listenerCount=f,s.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]};function g(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else if("function"==typeof e.addEventListener)e.addEventListener(t,function i(s){n.once&&e.removeEventListener(t,i),r(s)});else throw TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}},568558:function(e,t,r){var n=r(659690),i=r(610972);e.exports=function e(t,r,s,o,a){return t===r||(null!=t&&null!=r&&(i(t)||i(r))?n(t,r,s,o,e,a):t!=t&&r!=r)}},408559:function(e,t,r){var n=r(182892);e.exports=function(e){return n(this.__data__,e)>-1}},773413:function(e,t,r){var n=r(96525),i=r(223283),s=r(254091);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(s||i),string:new n}}},956731:function(){!function(e){var t=e.util.clone(e.languages.javascript),r=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,n=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,i=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function s(e,t){return RegExp(e=e.replace(/<S>/g,function(){return r}).replace(/<BRACES>/g,function(){return n}).replace(/<SPREAD>/g,function(){return i}),t)}i=s(i).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=s(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:s(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:s(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(o).join(""):""},a=function(t){for(var r=[],n=0;n<t.length;n++){var i=t[n],s=!1;if("string"!=typeof i&&("tag"===i.type&&i.content[0]&&"tag"===i.content[0].type?"</"===i.content[0].content[0].content?r.length>0&&r[r.length-1].tagName===o(i.content[0].content[1])&&r.pop():"/>"===i.content[i.content.length-1].content||r.push({tagName:o(i.content[0].content[1]),openedBraces:0}):r.length>0&&"punctuation"===i.type&&"{"===i.content?r[r.length-1].openedBraces++:r.length>0&&r[r.length-1].openedBraces>0&&"punctuation"===i.type&&"}"===i.content?r[r.length-1].openedBraces--:s=!0),(s||"string"==typeof i)&&r.length>0&&0===r[r.length-1].openedBraces){var c=o(i);n<t.length-1&&("string"==typeof t[n+1]||"plain-text"===t[n+1].type)&&(c+=o(t[n+1]),t.splice(n+1,1)),n>0&&("string"==typeof t[n-1]||"plain-text"===t[n-1].type)&&(c=o(t[n-1])+c,t.splice(n-1,1),n--),t[n]=new e.Token("plain-text",c,null,c)}i.content&&"string"!=typeof i.content&&a(i.content)}};e.hooks.add("after-tokenize",function(e){if("jsx"===e.language||"tsx"===e.language)a(e.tokens)})}(Prism)},22813:function(e,t,r){"use strict";e.exports=i;var n=r(570581);function i(e,t,r){if("function"!=typeof e)throw TypeError("rpcImpl must be a function");n.EventEmitter.call(this),this.rpcImpl=e,this.requestDelimited=!!t,this.responseDelimited=!!r}(i.prototype=Object.create(n.EventEmitter.prototype)).constructor=i,i.prototype.rpcCall=function e(t,r,i,s,o){if(!s)throw TypeError("request must be specified");var a=this;if(!o)return n.asPromise(e,a,t,r,i,s);if(!a.rpcImpl){setTimeout(function(){o(Error("already ended"))},0);return}try{return a.rpcImpl(t,r[a.requestDelimited?"encodeDelimited":"encode"](s).finish(),function(e,r){if(e)return a.emit("error",e,t),o(e);if(null===r){a.end(!0);return}if(!(r instanceof i))try{r=i[a.responseDelimited?"decodeDelimited":"decode"](r)}catch(e){return a.emit("error",e,t),o(e)}return a.emit("data",r,t),o(null,r)})}catch(e){a.emit("error",e,t),setTimeout(function(){o(e)},0);return}},i.prototype.end=function(e){return this.rpcImpl&&(!e&&this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},555023:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={DEFAULT:"xgplayer",DEFAULT_SKIN:"xgplayer-skin-default",ENTER:"xgplayer-is-enter",PAUSED:"xgplayer-pause",PLAYING:"xgplayer-playing",ENDED:"xgplayer-ended",CANPLAY:"xgplayer-canplay",LOADING:"xgplayer-isloading",ERROR:"xgplayer-is-error",REPLAY:"xgplayer-replay",NO_START:"xgplayer-nostart",ACTIVE:"xgplayer-inactive",FULLSCREEN:"xgplayer-is-fullscreen",CSS_FULLSCREEN:"xgplayer-is-cssfullscreen",PARENT_FULLSCREEN:"xgplayer-fullscreen-parent",ROTATE_FULLSCREEN:"xgplayer-rotate-fullscreen",PARENT_ROTATE_FULLSCREEN:"xgplayer-rotate-parent",INNER_FULLSCREEN:"xgplayer-inner-fullscreen",NO_CONTROLS:"no-controls",FLEX_CONTROLS:"flex-controls",CONTROLS_FOLLOW:"controls-follow",AUTOHIDE:"xgplayer_autohide",NOT_ALLOW_AUTOPLAY:"not-allow-autoplay",SEEKING:"seeking",PC:"xgplayer-pc",MOBILE:"xgplayer-mobile",MINI:"xgplayer-mini"}},14790:function(e,t,r){"use strict";r.r(t)},577915:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(795233),i=r.n(n),s=r(101199),o=r(469935),a=r.n(o);r(26565);var c=r(240054),l=r(104200),u=r(27275);let h=c.U.PREFIX;class d extends s.Component{render(){let{vertical:e,width:t,height:r,showTooltip:n,max:i,value:o,theme:c}=this.props,{movingInfo:d,isHovering:f}=this.state,p=s.createElement("div",{onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onMouseMove:this.handleMouseMove,className:a()(`${h}-slider-wrapper`,{[`${h}-slider-wrapper-vertical`]:e,[`${h}-slider-wrapper-horizontal`]:!e})},s.createElement("div",{ref:this.sliderRef,className:a()(`${h}-slider`,`${h}-slider-${c}`,{[`${h}-slider-vertical`]:e,[`${h}-slider-horizontal`]:!e}),style:{width:e?f?8:4:t,height:e?r:f?8:4}},s.createElement("div",{className:a()(`${h}-slider-progress`,{[`${h}-slider-progress-vertical`]:e,[`${h}-slider-progress-horizontal`]:!e}),style:{height:e?`${o/i*100}%`:"100%",width:e?"100%":`${o/i*100}%`}}),s.createElement("div",{ref:this.handleRef,className:a()(`${h}-slider-dot`),style:{left:e?"50%":`calc(${o/i*100}% - 8px)`,bottom:e?`calc(${o/i*100}% - 8px)`:void 0,top:e?void 0:"50%",transform:e?"translateX(-50%)":"translateY(-50%)",opacity:f?1:0,transition:"opacity 0.2s",pointerEvents:"none"}})));return n?s.createElement(l.Z,{position:e?"right":"top",autoAdjustOverflow:!0,content:(0,u.m)((null==d?void 0:d.progress)*i),style:{[e?"top":"left"]:null==d?void 0:d.offset}},p):p}constructor(e){var t;super(e),t=this,this.handleMouseEnter=e=>{this.setState({isHovering:!0}),this.handleMouseEvent(e,!1)},this.handleMouseDown=e=>{this.setState({isDragging:!0}),this.handleMouseEvent(e,!0)},this.handleMouseUp=()=>{this.state.isDragging&&this.setState({isDragging:!1})},this.handleMouseEvent=function(e){let r=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!t.sliderRef.current||t.props.disabled)return;let n=t.sliderRef.current.getBoundingClientRect(),i=t.props.vertical?n.bottom-e.clientY:e.clientX-n.left,s=Math.min(Math.max(i/(t.props.vertical?n.height:n.width),0),1),o=s*t.props.max;r&&(t.state.isDragging||"mousedown"===e.type)&&t.props.onChange(o),t.setState({movingInfo:{progress:s,offset:t.props.vertical?i-n.height/2:i-n.width/2}})},this.handleMouseMove=e=>{this.handleMouseEvent(e,!0)},this.handleMouseLeave=()=>{this.setState({isHovering:!1,isDragging:!1})},this.state={isDragging:!1,isHovering:!1,movingInfo:null},this.sliderRef=s.createRef(),this.handleRef=s.createRef()}}d.defaultProps={value:0,onChange:i(),max:100,vertical:!1,width:"100%",height:4,showTooltip:!0,disabled:!1,theme:"dark"}},733305:function(e,t,r){"use strict";r.d(t,{QC:function(){return p},sp:function(){return g}}),r(228983),r(759943),r(968336),r(706056);var n=r(101199),i=r(506592),s=r(467157),o=r(329206),a=r(228968),c=r(469935),l=r.n(c),u=r(48795);let{PREFIX_ATTACHMENT:h}=a.U,{PIC_SUFFIX_ARRAY:d,PIC_PREFIX:f}=a.j,p=n.memo(e=>{let{url:t,name:r,size:i,type:o}=e;return n.createElement("a",{href:t,target:"_blank",className:`${h}-file`,rel:"noreferrer"},n.createElement(s.Z,{size:"extra-large",className:`${h}-file-icon`}),n.createElement("div",{className:`${h}-file-info`},n.createElement("span",{className:`${h}-file-title`},r),n.createElement("span",{className:`${h}-file-metadata`},n.createElement("span",{className:`${h}-file-type`},o),o?" \xb7 ":"",i)))}),g=n.memo(e=>{let{src:t}=e;return n.createElement(i.ZP,{className:`${h}-img`,width:60,height:60,src:t})}),m=n.memo(e=>{let{attachment:t,onClear:r,showClear:i=!0,className:s}=e;return n.createElement("div",{className:l()(h,{[s]:s})},t.map(e=>{var t,s,a,c;let{percent:l,status:m}=e,v=null==e?void 0:e.name.split(".").pop(),y=(null===(s=null===(t=null==e?void 0:e.fileInstance)||void 0===t?void 0:t.type)||void 0===s?void 0:s.startsWith(f))||d.includes(v),b=null!=v?v:null===(c=null===(a=null==e?void 0:e.fileInstance)||void 0===a?void 0:a.type)||void 0===c?void 0:c.split("/").pop();return n.createElement("div",{className:`${h}-item`,key:e.uid},y?n.createElement(g,{src:e.url}):n.createElement(p,{url:e.url,name:e.name,size:e.size,type:b}),i&&n.createElement(o.Z,{size:"large",className:`${h}-clear`,onClick:()=>{r&&r(e)}}),!(100===l||void 0===l)&&"uploading"===m&&n.createElement(u.Progress,{percent:l,type:"circle",size:"small",width:30,className:`${h}-process`,"aria-label":"upload progress"}))}))});t.ZP=m},600436:function(e,t,r){"use strict";let n=r(101199).createContext(null);t.Z=n},34529:function(e,t,r){"use strict";r(932651);var n=r(101199),i=r(392129),s=r(859725);t.Z=e=>n.createElement(i.Z.Title,Object.assign({heading:4,className:`${s.U.PREFIX}-component-header`},e))},666282:function(e,t,r){"use strict";r.d(t,{h:function(){return u}});var n=r(480333);r(76375),r(374954),r(490629);var i=r(358844),s=r(699634),o=r(590926),a=r(309991),c=r(835054);let l=new a.Yd("TsDemuxer");class u{demux(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],{audioTrack:n,videoTrack:i,metadataTrack:s}=this;t&&(this._pmtId=-1,i.reset(),n.reset(),s.reset()),!r||t?(this._remainingPacketData=null,this._videoPesData=[],this._audioPesData=[]):(i.samples=[],n.samples=[],s.seiSamples=[],i.warnings=[],n.warnings=[],this._remainingPacketData&&(e=(0,a.gJ)(this._remainingPacketData,e),this._remainingPacketData=null));let u=e.length,h=u%188;h&&(this._remainingPacketData=e.subarray(u-h),u-=h);let d=i.pid,f=n.pid;for(let t=0;t<u;t+=188){let r;if(71!==e[t])throw Error("TS packet did not start with 0x47");let s=!!(64&e[t+1]),a=((31&e[t+1])<<8)+e[t+2];if((48&e[t+3])>>4>1){if((r=t+5+e[t+4])===t+188)continue}else r=t+4;switch(a){case 0:s&&(r+=e[r]+1),this._pmtId=(31&e[r+10])<<8|e[r+11];break;case this._pmtId:{s&&(r+=e[r]+1);let t=r+3+((15&e[r+1])<<8|e[r+2])-4,a=(15&e[r+10])<<8|e[r+11];for(r+=12+a;r<t;){let t=(31&e[r+1])<<8|e[r+2];switch(e[r]){case 15:n.pid=f=t;break;case 3:case 4:-1===n.pid&&(n.pid=f=t,n.codecType=c.yQ.MP3);break;case 27:if(-1!==d)break;i.codecType=o._e.AVC,i.pid=d=t;break;case 36:if(-1!==d)break;i.codecType=o._e.HEVC,i.pid=d=t;break;default:l.warn(`Unsupported stream. type: ${e[r]}, pid: ${t}`)}r+=((15&e[r+3])<<8|e[r+4])+5}}break;case d:s&&this._videoPesData.length&&this._parseVideoData(),this._videoPesData.push(e.subarray(r,t+188));break;case f:s&&this._audioPesData.length&&this._parseAudioData(),this._audioPesData.push(e.subarray(r,t+188));break;case 17:case 8191:break;default:l.warn(`Unknown pid: ${a}`)}}return this._parseVideoData(),this._parseAudioData(),n.formatTimescale=i.formatTimescale=i.timescale=s.timescale=9e4,n.timescale=n.sampleRate||0,{videoTrack:i,audioTrack:n,metadataTrack:s}}fix(e,t,r){return this._fixer.fix(e,t,r),{videoTrack:this.videoTrack,audioTrack:this.audioTrack,metadataTrack:this.metadataTrack}}demuxAndFix(e,t,r,n){return this.demux(e,t,r),this.fix(n,t,r)}static probe(e){return!!e.length&&71===e[0]&&71===e[188]&&71===e[376]}_parseVideoData(){if(!this._videoPesData.length)return;let e=u._parsePES((0,a.gJ)(...this._videoPesData));if(!e){l.warn("Cannot parse video pes",this._videoPesData);return}let t=s.lE.parseAnnexB(e.data);t?this._createVideoSample(t,e.pts,e.dts):l.warn("Cannot parse avc units",e),this._videoPesData=[]}_createVideoSample(e,t,r){if(!e.length)return;let n=this.videoTrack,i=n.codecType===o._e.HEVC,a=new o._A(t,r);e.forEach(e=>{let r=i?e[0]>>>1&63:31&e[0];switch(r){case 5:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:if(!i&&5!==r||i&&5===r)break;a.setToKeyframe(),this._gopId++;break;case 6:case 39:case 40:if(!i&&6!==r||i&&6===r)break;this.metadataTrack.seiSamples.push(new o.FO(s.lE.parseSEI(s.lE.removeEPB(e),i),t));return;case 32:if(!i)break;if(!n.vps.length){let t=s.VB.parseVPS(s.lE.removeEPB(e),n.hvcC);n.hvcC=n.hvcC||t,n.vps=[e]}break;case 7:case 33:if(!i&&7!==r||i&&7===r)break;if(!n.sps.length){let t=s.lE.removeEPB(e),r=i?s.VB.parseSPS(t,n.hvcC):s.xW.parseSPS(t);n.sps=[e],n.hvcC=n.hvcC||r.hvcC,n.codec=r.codec,n.width=r.width,n.height=r.height,n.sarRatio=r.sarRatio,n.fpsNum=r.fpsNum,n.fpsDen=r.fpsDen}break;case 8:case 34:if(!i&&8!==r||i&&8===r)break;!n.pps.length&&(n.pps=[e]);break;case 9:case 35:break;case 38:if(i){let t=!1;for(let r=2;r<e.byteLength;r++)if(255===e[r]){t=!0;break}if(!t)return}}a.units.push(e)}),a.gopId=this._gopId,this._pushVideoSample(n,a)}_pushVideoSample(e,t){if(t.units.length){if(null===t.pts||void 0===t.pts){l.warn("Video sample no pts",t);let r=e.samples[e.samples.length-1];r?(t.pts=r.pts,t.dts=r.dts):l.warn("Drop video sample",t)}else e.samples.push(t)}}_parseAudioData(){if(!this._audioPesData.length)return;let e=u._parsePES((0,a.gJ)(...this._audioPesData));if(!e){l.warn("Cannot parse audio pes",this._audioPesData);return}switch(this.audioTrack.codecType){case c.yQ.AAC:this._parseAacData(e);break;case c.yQ.MP3:this._parseMPEG(e)}this._audioPesData=[]}_parseAacData(e){let t=this.audioTrack,r=e.pts;if(null==r){if(l.warn("AAC pes not pts",t),!t.samples.length||!t.sampleRate)return;r=t.samples[t.samples.length-1].pts+s.Wc.getFrameDuration(t.sampleRate)}let n=s.Wc.parseADTS(e.data,r);n?(t.codec=n.codec,t.channelCount=n.channelCount,t.sampleRate=n.sampleRate,t.objectType=n.objectType,t.sampleRateIndex=n.samplingFrequencyIndex,t.config=n.config,t.samples.push(...n.frames.map(e=>new o.Xw(e.pts,e.data))),n.skip&&l.warn(`Skip aac adts ${n.skip} bits`),n.remaining&&l.warn(`Remaining aac adts ${n.remaining} bits`)):l.warn("Cannot parse aac adts",e)}_parseMPEG(e){let t=e.data,r=t.length,n=0,i=0,o=e.pts;if(void 0===o){l.warn("[tsdemuxer]: MPEG PES unknown PTS");return}for(;i<r;)if(s.e3.isHeader(t,i)){let e=s.e3.appendFrame(this.audioTrack,t,i,o,n);if(e)i+=e.length,n++;else break}else i++}static _parsePES(e){let t,r;let n=e[8];if(null==n||e.length<n+9||1!=(e[0]<<16|e[1]<<8|e[2]))return;let i=(e[4]<<8)+e[5];if(i&&i>e.length-6)return;let s=e[7];return 192&s&&(t=(14&e[9])*536870912+(255&e[10])*4194304+(254&e[11])*16384+(255&e[12])*128+(254&e[13])/2,64&s?t-(r=(14&e[14])*536870912+(255&e[15])*4194304+(254&e[16])*16384+(255&e[17])*128+(254&e[18])/2)>54e5&&(t=r):r=t),{data:e.subarray(9+n),pts:t,dts:r}}constructor(e,t,r,s={}){(0,n._)(this,"_pmtId",-1),(0,n._)(this,"_remainingPacketData",null),(0,n._)(this,"_videoPesData",[]),(0,n._)(this,"_audioPesData",[]),(0,n._)(this,"_gopId",0),this.videoTrack=e||new o.qT,this.audioTrack=t||new o.WP,this.metadataTrack=r||new o.m$,this._fixer=new i.n(this.videoTrack,this.audioTrack,this.metadataTrack,s)}}},734144:function(e,t,r){"use strict";r.d(t,{b:function(){return l}});var n=r(480333);r(591964),r(190932),r(808483),r(126159),r(100832),r(825666),r(943281),r(82726),r(490629),r(374954),r(561433);var i=r(455195),s=r(401460);let o=4294967296-1,a="video",c="hevc";class l{static box(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];let i=8+(r=r.filter(Boolean)).reduce((e,t)=>e+t.byteLength,0),s=new Uint8Array(i);s[0]=i>>24&255,s[1]=i>>16&255,s[2]=i>>8&255,s[3]=255&i,s.set(e,4);let o=8;return r.forEach(e=>{s.set(e,o),o+=e.byteLength}),s}static ftyp(e){return e.find(e=>e.codecType===c)?l.FTYPHEV1:l.FTYPAVC1}static initSegment(e){let t=l.ftyp(e);return(0,i.gJ)(t,l.moov(e))}static pssh(e){let t=new Uint8Array([1,0,0,0].concat([16,119,239,236,192,178,77,2,172,227,60,30,82,226,251,75],[0,0,0,1],(0,i.Qc)(e.kid),[0,0,0,0]));return l.box(l.types.pssh,t)}static moov(e){if(!e[0].useEME||!e[0].encv&&!e[0].enca)return l.box(l.types.moov,l.mvhd(e[0].mvhdDurtion||e[0].duration,e[0].mvhdTimecale||e[0].timescale),...e.map(e=>l.trak(e)),l.mvex(e));{!e[0].pssh&&(e[0].pssh={kid:e[0].kid});let t=this.pssh(e[0].pssh);return l.box(l.types.moov,l.mvhd(e[0].mvhdDurtion||e[0].duration,e[0].mvhdTimecale||e[0].timescale),l.mvex(e),...e.map(e=>l.trak(e)),t)}}static mvhd(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:9e4;return l.box(l.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,t>>24&255,t>>16&255,t>>8&255,255&t,e>>24&255,e>>16&255,e>>8&255,255&e,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}static trak(e){return l.box(l.types.trak,l.tkhd(e.id,e.tkhdDuration||0,e.width,e.height),l.mdia(e))}static tkhd(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return l.box(l.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,e>>24&255,e>>16&255,e>>8&255,255&e,0,0,0,0,t>>24&255,t>>16&255,t>>8&255,255&t,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,r>>8&255,255&r,0,0,n>>8&255,255&n,0,0]))}static mdia(e){return l.box(l.types.mdia,l.mdhd(e.duration,e.timescale),l.hdlr(e.type),l.minf(e))}static mdhd(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:9e4;return l.box(l.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,t>>24&255,t>>16&255,t>>8&255,255&t,e>>24&255,e>>16&255,e>>8&255,255&e,85,196,0,0]))}static hdlr(e){return l.box(l.types.hdlr,l.HDLR_TYPES[e])}static minf(e){return l.box(l.types.minf,e.type===a?l.VMHD:l.SMHD,l.DINF,l.stbl(e))}static stbl(e){let t=[];return e&&e.ext&&e.ext.stss&&t.push(l.stss(e.ext.stss.entries)),l.box(l.types.stbl,l.stsd(e),l.STTS,t[0],l.STSC,l.STSZ,l.STCO)}static stsd(e){let t;return t="audio"===e.type?e.useEME&&e.enca?l.enca(e):l.mp4a(e):e.useEME&&e.encv?l.encv(e):e.av1C?l.av01(e):l.avc1hev1(e),l.box(l.types.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),t)}static enca(e){let t=e.enca.channelCount,r=e.enca.sampleRate,n=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t,0,16,0,0,0,0,r>>8&255,255&r,0,0]),i=l.esds(e.config),s=l.sinf(e.enca);return l.box(l.types.enca,n,i,s)}static encv(e){let t=e.sps.length>0?e.sps[0]:[],r=e.pps.length>0?e.pps[0]:[],n=e.width,i=e.height,s=e.sarRatio[0],o=e.sarRatio[1],a=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,n>>8&255,255&n,i>>8&255,255&i,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),c=new Uint8Array([1,t[1],t[2],t[3],255,225,t.length>>>8&255,255&t.length].concat(...t).concat([1,r.length>>>8&255,255&r.length]).concat(...r)),u=new Uint8Array([0,0,88,57,0,15,200,192,0,4,86,72]),h=l.sinf(e.encv),d=new Uint8Array([s>>24,s>>16&255,s>>8&255,255&s,o>>24,o>>16&255,o>>8&255,255&o]);return l.box(l.types.encv,a,l.box(l.types.avcC,c),l.box(l.types.btrt,u),h,l.box(l.types.pasp,d))}static schi(e){let t=new Uint8Array([]),r=l.tenc(e);return l.box(l.types.schi,t,r)}static tenc(e){let t=new Uint8Array([0,0,0,0,0,0,255&e.default_IsEncrypted,255&e.default_IV_size].concat((0,i.Qc)(e.default_KID)));return l.box(l.types.tenc,t)}static sinf(e){let t=new Uint8Array([]),r=new Uint8Array([e.data_format.charCodeAt(0),e.data_format.charCodeAt(1),e.data_format.charCodeAt(2),e.data_format.charCodeAt(3)]),n=new Uint8Array([0,0,0,0,99,101,110,99,0,1,0,0]),i=l.schi(e);return l.box(l.types.sinf,t,l.box(l.types.frma,r),l.box(l.types.schm,n),i)}static av01(e){return l.box(l.types.av01,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,e.width>>8&255,255&e.width,e.height>>8&255,255&e.height,0,72,0,0,0,72,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),e.av1C,e.colr)}static avc1hev1(e){let t=e.codecType===c,r=t?l.types.hvc1:l.types.avc1,n=t?l.hvcC(e):l.avcC(e),i=[new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,e.width>>8&255,255&e.width,e.height>>8&255,255&e.height,0,72,0,0,0,72,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),n];return t?i.push(l.box(l.types.fiel,new Uint8Array([1,0]))):e.sarRatio&&e.sarRatio.length>1&&i.push(l.pasp(e.sarRatio)),l.box(r,...i)}static avcC(e){let t;let r=[],n=[];return e.sps.forEach(e=>{t=e.byteLength,r.push(t>>>8&255),r.push(255&t),r.push(...e)}),e.pps.forEach(e=>{t=e.byteLength,n.push(t>>>8&255),n.push(255&t),n.push(...e)}),l.box(l.types.avcC,new Uint8Array([1,r[3],r[4],r[5],255,224|e.sps.length].concat(...r).concat([e.pps.length]).concat(...n)))}static hvcC(e){let t;let r=e.hvcC;if(r instanceof ArrayBuffer||r instanceof Uint8Array)return r;let{vps:n,sps:i,pps:s}=e;if(r){let e=r.generalProfileCompatibilityFlags,o=r.generalConstraintIndicatorFlags,a=(n.length&&1)+(i.length&&1)+(s.length&&1);t=[1,r.generalProfileSpace<<6|r.generalTierFlag<<5|r.generalProfileIdc,e>>>24,e>>>16,e>>>8,e,o[0],o[1],o[2],o[3],o[4],o[5],r.generalLevelIdc,240,0,252,252|r.chromaFormatIdc,248|r.bitDepthLumaMinus8,248|r.bitDepthChromaMinus8,0,0,r.numTemporalLayers<<3|r.temporalIdNested<<2|3,a];let c=e=>{t.push(e.length>>8,e.length),t.push(...e)};n.length&&(t.push(160,0,n.length),n.forEach(c)),i.length&&(t.push(161,0,i.length),i.forEach(c)),s.length&&(t.push(162,0,s.length),s.forEach(c))}else t=[1,1,96,0,0,0,144,0,0,0,0,0,93,240,0,252,253,248,248,0,0,15,3,160,0,1,0,24,64,1,12,1,255,255,1,96,0,0,3,0,144,0,0,3,0,0,3,0,93,153,152,9,161,0,1,0,45,66,1,1,1,96,0,0,3,0,144,0,0,3,0,0,3,0,93,160,2,128,128,45,22,89,153,164,147,43,154,128,128,128,130,0,0,3,0,2,0,0,3,0,50,16,162,0,1,0,7,68,1,193,114,180,98,64];return l.box(l.types.hvcC,new Uint8Array(t))}static pasp(e){let[t,r]=e;return l.box(l.types.pasp,new Uint8Array([t>>24,t>>16&255,t>>8&255,255&t,r>>24,r>>16&255,r>>8&255,255&r]))}static mp4a(e){return l.box(l.types.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,e.channelCount,0,16,0,0,0,0,e.sampleRate>>8&255,255&e.sampleRate,0,0]),e.config.length?l.esds(e.config):void 0)}static esds(e){let t=e.length;return l.box(l.types.esds,new Uint8Array([0,0,0,0,3,23+t,0,0,0,4,15+t,64,21,0,6,0,0,0,218,192,0,0,218,192,5].concat([t]).concat(e).concat([6,1,2])))}static mvex(e){return l.box(l.types.mvex,...e.map(e=>l.trex(e.id)))}static trex(e){return l.box(l.types.trex,new Uint8Array([0,0,0,0,e>>24,e>>16&255,e>>8&255,255&e,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))}static trex1(e){return l.box(l.types.trex,new Uint8Array([0,0,0,0,e>>24,e>>16&255,e>>8&255,255&e,0,0,0,1,0,0,2,0,0,0,0,0,0,1,0,0]))}static trex2(e){return l.box(l.types.trex,new Uint8Array([0,0,0,0,e>>24,e>>16&255,e>>8&255,255&e,0,0,0,1,0,0,4,0,0,0,0,0,2,0,0,0]))}static moof(e){return l.box(l.types.moof,l.mfhd(e[0].samples?e[0].samples[0].gopId:0),...e.map(e=>l.traf(e)))}static mfhd(e){return l.box(l.types.mfhd,new Uint8Array([0,0,0,0,e>>24,e>>16&255,e>>8&255,255&e]))}static traf(e){let t=l.tfhd(e.id),r=l.tfdt(e,e.baseMediaDecodeTime),n=0;if(e.isVideo&&e.videoSenc&&e.videoSenc.forEach(function(e){n+=8,e.subsamples&&e.subsamples.length&&(n+=2+6*e.subsamples.length)}),e.videoSencLength=n,e.useEME&&(e.isVideoEncryption||e.isAudioEncryption)){if(e.isVideoEncryption){if(e.isVideo){let n=l.saiz(e),i=l.saio(e),s=l.trun1(e),o=l.senc(e);return l.box(l.types.traf,t,r,n,i,s,o)}if(e.isAudioEncryption){let n=l.sbgp(),i=l.saiz(e),s=l.saio(e),o=l.senc(e),a=l.trun1(e);return l.box(l.types.traf,t,r,n,i,s,o,a)}{let n=l.sbgp(),i=l.trun1(e);return l.box(l.types.traf,t,r,n,i)}}else{if(e.isVideo){let n=l.trun1(e);return l.box(l.types.traf,t,r,n)}{let n=l.sbgp(),i=l.saiz(e),s=l.saio(e),o=l.senc(e),a=l.trun1(e);return l.box(l.types.traf,t,r,n,i,s,o,a)}}}{let n=l.sdtp(e);return l.box(l.types.traf,t,r,n,l.trun(e.samples,n.byteLength+76))}}static sdtp(e){let t=new s.Z;return e.samples.forEach(r=>{t.write(new Uint8Array(e.isVideo?[r.keyframe?32:16]:[16]))}),l.box(l.types.sdtp,this.extension(0,0),t.buffer)}static trun1(e){let t=new s.Z,r=s.Z.writeUint32(e.samples.length),n=null;if(e.isVideo){let t=e.videoSencLength;n=s.Z.writeUint32(16*e.samples.length+t+149),!e.isVideoEncryption&&e.isAudioEncryption&&(n=s.Z.writeUint32(16*e.samples.length+92))}else{let t=12*e.samples.length+124;e.isAudioEncryption&&(t=12*e.samples.length+8*e.audioSenc.length+177),n=s.Z.writeUint32(t)}return e.samples.forEach(r=>{t.write(s.Z.writeUint32(r.duration)),t.write(s.Z.writeUint32(r.size)),t.write(s.Z.writeUint32(r.keyframe?33554432:65536)),e.isVideo&&t.write(s.Z.writeUint32(r.cts?r.cts:0))}),l.box(l.types.trun,this.extension(0,e.flags),r,n,t.buffer)}static senc(e){let t=new s.Z,r=e.samples.length,n=e.isVideo?16:8,i=e.isVideo?2:0,o=[],a=0;return e.isVideo?(o=e.videoSenc,a=e.videoSencLength):o=e.audioSenc,a=a||n*r,t.write(s.Z.writeUint32(16+a),l.types.senc,this.extension(0,i)),t.write(s.Z.writeUint32(r)),o.forEach(e=>{for(let r=0;r<e.InitializationVector.length;r++)t.write(new Uint8Array([e.InitializationVector[r]]));e.subsamples&&e.subsamples.length&&(t.write(s.Z.writeUint16(e.subsamples.length)),e.subsamples.forEach(e=>{t.write(s.Z.writeUint16(e.BytesOfClearData)),t.write(s.Z.writeUint32(e.BytesOfProtectedData))}))}),t.buffer}static saio(e){let t=12*e.samples.length+141;!e.isVideo&&e.isAudioEncryption&&(t=149);let r=new Uint8Array([1,0,0,0,0,0,0,1,0,0,0,0,t>>24&255,t>>16&255,t>>8&255,255&t]);return l.box(l.types.saio,r)}static saiz(e){let t=e.samples.length,r=new Uint8Array([0,0,0,0,16,t>>24&255,t>>16&255,t>>8&255,255&t]);return l.box(l.types.saiz,r)}static sbgp(){let e=new Uint8Array([114,111,108,108,0,0,0,1,0,0,1,25,0,0,0,1]);return l.box(l.types.sbgp,this.extension(0,0),e)}static extension(e,t){return new Uint8Array([e,t>>16&255,t>>8&255,255&t])}static tfhd(e){return l.box(l.types.tfhd,new Uint8Array([0,0,0,0,e>>24,e>>16&255,e>>8&255,255&e]))}static tfdt(e,t){let r=Math.floor(t/(o+1)),n=Math.floor(t%(o+1));return e.useEME&&(e.isVideoEncryption||e.isAudioEncryption)?l.box(l.types.tfdt,new Uint8Array([0,0,0,0,n>>24,n>>16&255,n>>8&255,255&n])):l.box(l.types.tfdt,new Uint8Array([1,0,0,0,r>>24,r>>16&255,r>>8&255,255&r,n>>24,n>>16&255,n>>8&255,255&n]))}static trun(e,t){let r=e.length,n=12+16*r;t+=8+n;let i=new Uint8Array(n);i.set([0,0,15,1,r>>>24&255,r>>>16&255,r>>>8&255,255&r,t>>>24&255,t>>>16&255,t>>>8&255,255&t],0);for(let t=0;t<r;t++){let{duration:r,size:n,flag:s={},cts:o=0}=e[t];i.set([r>>>24&255,r>>>16&255,r>>>8&255,255&r,n>>>24&255,n>>>16&255,n>>>8&255,255&n,s.isLeading<<2|(null===s.dependsOn||void 0===s.dependsOn?1:s.dependsOn),s.isDependedOn<<6|s.hasRedundancy<<4|s.paddingValue<<1|(null===s.isNonSyncSample||void 0===s.isNonSyncSample?1:s.isNonSyncSample),61440&s.degradationPriority,15&s.degradationPriority,o>>>24&255,o>>>16&255,o>>>8&255,255&o],12+16*t)}return l.box(l.types.trun,i)}static moovMP4(e){return l.box(l.types.moov,l.mvhd(e[0].duration,e[0].timescale),...e.map(e=>l.trackMP4(e)))}static trackMP4(e){return l.box(l.types.trak,l.tkhd(e.id,e.duration,e.width,e.height),l.mdiaMP4(e))}static mdiaMP4(e){return l.box(l.types.mdia,l.mdhd(e.duration,e.timescale),l.hdlr(e.type),l.minfMP4(e))}static minfMP4(e){return l.box(l.types.minf,e.type===a?l.VMHD:l.SMHD,l.DINF,l.stblMP4(e))}static stblMP4(e){let{ext:t}=e,r=[l.stsd(e),l.stts(t.stts),l.stsc(t.stsc),l.stsz(t.stsz),l.stco(t.stco)];return t.stss.length&&r.push(l.stss(t.stss)),t.ctts.length&&r.push(l.ctts(t.ctts)),l.box(l.types.stbl,...r)}static stts(e){let t=e.length,r=new Uint8Array(8*t),n=0;return e.forEach(e=>{let{value:t,count:i}=e;r.set([i>>24,i>>16&255,i>>8&255,255&i,t>>24,t>>16&255,t>>8&255,255&t],n),n+=8}),l.box(l.types.stts,(0,i.gJ)(new Uint8Array([0,0,0,0,t>>24,t>>16&255,t>>8&255,255&t]),r))}static stsc(e){let t=e.length,r=new Uint8Array(12*t),n=0;return e.forEach(e=>{let{firstChunk:t,samplesPerChunk:i,sampleDescIndex:s}=e;r.set([t>>24,t>>16&255,t>>8&255,255&t,i>>24,i>>16&255,i>>8&255,255&i,s>>24,s>>16&255,s>>8&255,255&s],n),n+=12}),l.box(l.types.stsc,(0,i.gJ)(new Uint8Array([0,0,0,0,t>>24,t>>16&255,t>>8&255,255&t]),r))}static stsz(e){let t=e.length,r=new Uint8Array(4*t),n=0;return e.forEach(e=>{r.set([e>>24,e>>16&255,e>>8&255,255&e],n),n+=4}),l.box(l.types.stsz,(0,i.gJ)(new Uint8Array([0,0,0,0,0,0,0,0,t>>24,t>>16&255,t>>8&255,255&t]),r))}static stco(e){let t=e.length,r=new Uint8Array(4*t),n=0;return e.forEach(e=>{r.set([e>>24,e>>16&255,e>>8&255,255&e],n),n+=4}),l.box(l.types.stco,(0,i.gJ)(new Uint8Array([0,0,0,0,t>>24,t>>16&255,t>>8&255,255&t]),r))}static stss(e){let t=e.length,r=new Uint8Array(4*t),n=0;return e.forEach(e=>{r.set([e>>24,e>>16&255,e>>8&255,255&e],n),n+=4}),l.box(l.types.stss,(0,i.gJ)(new Uint8Array([0,0,0,0,t>>24,t>>16&255,t>>8&255,255&t]),r))}static ctts(e){let t=e.length,r=new Uint8Array(8*t),n=0;return e.forEach(e=>{let{value:t,count:i}=e;r.set([i>>24,i>>16&255,i>>8&255,255&i,t>>24,t>>16&255,t>>8&255,255&t],n),n+=8}),l.box(l.types.ctts,(0,i.gJ)(new Uint8Array([0,0,0,0,t>>24,t>>16&255,t>>8&255,255&t]),r))}static styp(){return l.box(l.types.styp,new Uint8Array([109,115,100,104,0,0,0,0,109,115,100,104,109,115,105,120]))}static sidx(e){let t=e.timescale,r=e.samples[0].duration,n=r*e.samples.length,i=e.samples[0].sampleOffset*r,s=8;e.samples.forEach(e=>{s+=e.size});let o=0;if(e.isVideo){let t,r=0;e.videoSenc&&(t=e.videoSenc),e.isVideo&&t.forEach(e=>{r+=8,e.subsamples&&e.subsamples.length&&(r+=2+6*e.subsamples.length)}),e.videoSencLength=r,o=s+141+16*e.samples.length+r,e.useEME&&e.isAudioEncryption&&!e.isVideoEncryption&&(o=s+16*e.samples.length+84)}else o=s+116+12*e.samples.length,e.useEME&&e.isAudioEncryption&&(o=s+169+12*e.samples.length+8*e.audioSenc.length);let a=new Uint8Array([0,0,0,0,0,0,0,255&e.id,t>>24&255,t>>16&255,t>>8&255,255&t,i>>24&255,i>>16&255,i>>8&255,255&i,0,0,0,0,0,0,0,1,0,o>>16&255,o>>8&255,255&o,n>>24&255,n>>16&255,n>>8&255,255&n,144,0,0,0]);return l.box(l.types.sidx,a)}static mdat(e){return l.box(l.types.mdat,e)}}(0,n._)(l,"types",["av01","av1C","avc1","avcC","hvc1","hvcC","dinf","dref","esds","ftyp","hdlr","mdat","mdhd","mdia","mfhd","minf","moof","moov","mp4a","mvex","mvhd","pasp","stbl","stco","stsc","stsd","stsz","stts","tfdt","tfhd","traf","trak","trex","tkhd","vmhd","smhd","ctts","stss","styp","pssh","sidx","sbgp","saiz","saio","senc","trun","encv","enca","sinf","btrt","frma","tenc","schm","schi","mehd","fiel","sdtp"].reduce((e,t)=>(e[t]=[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)],e),Object.create(null))),(0,n._)(l,"HDLR_TYPES",{video:new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),audio:new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0])}),(0,n._)(l,"FTYPAVC1",l.box(l.types.ftyp,new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]))),(0,n._)(l,"FTYPHEV1",l.box(l.types.ftyp,new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,104,101,118,49]))),(0,n._)(l,"DINF",l.box(l.types.dinf,l.box(l.types.dref,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1])))),(0,n._)(l,"VMHD",l.box(l.types.vmhd,new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]))),(0,n._)(l,"SMHD",l.box(l.types.smhd,new Uint8Array([0,0,0,0,0,0,0,0]))),(0,n._)(l,"StblTable",new Uint8Array([0,0,0,0,0,0,0,0])),(0,n._)(l,"STTS",l.box(l.types.stts,l.StblTable)),(0,n._)(l,"STSC",l.box(l.types.stsc,l.StblTable)),(0,n._)(l,"STSZ",l.box(l.types.stsz,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]))),(0,n._)(l,"STCO",l.box(l.types.stco,l.StblTable))},806130:function(e,t,r){"use strict";r.d(t,{i:function(){return o}});var n=r(629686),i=r(402748),s=r(990958);function o(e){var t;return(0,i._)((0,n._)({timeout:3e3,request:null,onTimeout:void 0,onProgress:void 0,transformRequest:void 0,transformResponse:void 0,transformError:void 0,responseType:s.UN.ARRAY_BUFFER,range:void 0,url:void 0,params:void 0,method:"GET",headers:{},body:void 0,mode:void 0,credentials:void 0,cache:void 0,redirect:void 0,referrer:void 0,referrerPolicy:void 0,integrity:void 0,onProcessMinLen:0,maxReaderInterval:3e3},e),{retryConfig:{retryCount:(null==(t=e.retryConfig)?void 0:t.retryCount)||2,retryDelay:(null==t?void 0:t.retryDelay)||1e3,noRetryList:(null==t?void 0:t.noRetryList)||[]}})}},116892:function(e,t,r){"use strict";r(932651),r(706056);var n=r(856445),i=r(630808),s=r.n(i),o=r(469935),a=r.n(o);r(536798),s().manual=!0;class c extends n.Z{constructor(e){super(Object.assign({},e)),this.highlightCode=(e,t)=>{let r=e.className,n=`language-${t}`;!r.includes(n)&&(r=a()(r,n)),this.getProp("lineNumber")&&(r=a()(r,"line-numbers")),e.className=r,s().highlightElement(e,!1)}}}t.Z=c},109242:function(e,t,r){"use strict";r.d(t,{KT:function(){return l},UX:function(){return a},j2:function(){return c}}),r(932651);var n=r(707852),i=r(601820),s=r(932083);let o={DAY_TODAY:`${n.T}-datepicker-day-today`,DAY_IN_RANGE:`${n.T}-datepicker-day-inrange`,DAY_HOVER:`${n.T}-datepicker-day-inhover`,DAY_SELECTED:`${n.T}-datepicker-day-selected`,DAY_SELECTED_START:`${n.T}-datepicker-day-selected-start`,DAY_SELECTED_END:`${n.T}-datepicker-day-selected-end`,DAY_DISABLED:`${n.T}-datepicker-day-disabled`,DAY_HOVER_DAY:`${n.T}-datepicker-day-hoverday`,DAY_HOVER_DAY_OFFSET:`${n.T}-datepicker-day-hoverday-offset`,DAY_IN_OFFSET_RANGE:`${n.T}-datepicker-day-inoffsetrange`,DAY_SELECTED_RANGE_HOVER:`${n.T}-datepicker-day-selectedrange-hover`,DAY_OFFSET_RANGE_START:`${n.T}-datepicker-day-offsetrange-start`,DAY_OFFSET_RANGE_END:`${n.T}-datepicker-day-offsetrange-end`,DAY_SELECTED_START_AFTER_HOVER:`${n.T}-datepicker-day-selected-start-afterhover`,DAY_SELECTED_END_BEFORE_HOVER:`${n.T}-datepicker-day-selected-end-beforehover`,DAY_HOVER_DAY_BEFORE_RANGE:`${n.T}-datepicker-day-hoverday-beforerange`,DAY_HOVER_DAY_AFTER_RANGE:`${n.T}-datepicker-day-hoverday-afterrange`,DAY_HOVER_DAY_IN_RANGE:`${n.T}-datepicker-day-hoverday-inrange`,DAY_HOVER_DAY_AROUND_SINGLE_SELECTED:`${n.T}-datepicker-day-hoverday-around-singleselected`},a=Object.assign({PREFIX:`${n.T}-datepicker`,NAVIGATION:`${n.T}-datepicker-navigation`,PANEL_YAM:`${n.T}-datepicker-panel-yam`,MONTH:`${n.T}-datepicker-month`,WEEKDAY:`${n.T}-datepicker-weekday`,WEEKS:`${n.T}-datepicker-weeks`,WEEK:`${n.T}-datepicker-week`,DAY:`${n.T}-datepicker-day`},o),c=Object.assign({DEFAULT_SEPARATOR_MULTIPLE:",",DEFAULT_SEPARATOR_RANGE:" ~ ",SIZE_SET:["small","default","large"],TYPE_SET:["date","dateRange","year","month","monthRange","dateTime","dateTimeRange"],PRESET_POSITION_SET:["left","right","top","bottom"],DENSITY_SET:["default","compact"],PANEL_TYPE_LEFT:"left",PANEL_TYPE_RIGHT:"right",STATUS:i.L,POSITION_SET:s.j2.POSITION_SET,POSITION_INLINE_INPUT:"leftTopOver"},{FORMAT_FULL_DATE:"yyyy-MM-dd",FORMAT_TIME_PICKER:"HH:mm:ss",FORMAT_DATE_TIME:"yyyy-MM-dd HH:mm:ss",FORMAT_YEAR_MONTH:"yyyy-MM"}),l={WEEK_START_ON:0,WEEK_HEIGHT:36,SPACING:s.KT.SPACING,SPACING_INSET_INPUT:1}},747260:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}}),r(76375),r(932651);var n=r(856445);function i(e,t,r){return Math.min(Math.max(e,t),r)}class s extends n.Z{get constrainer(){return this._adapter.getConstrainer()}get handler(){return this._adapter.getHandler()}init(){let e=this._adapter.getDragElement();if(!e)throw Error("drag element must be a valid element");this.element=e,this.element.style.position="absolute",this.handler.style.cursor="move",this._registerStartEvent()}destroy(){this._unRegisterStartEvent(),this._unRegisterEvent()}_unRegisterEvent(){this._unRegisterDocMouseEvent(),this._unRegisterDocTouchEvent()}_calcMoveRange(){if(this.constrainer){let e=this.element.offsetParent,t=0,r=0;for(;e!==this.constrainer&&null!==e;)t-=e.offsetLeft,r-=e.offsetTop,e=e.offsetParent;this.xMin=t,this.xMax=t+this.constrainer.offsetWidth-this.element.offsetWidth,this.yMin=r,this.yMax=r+this.constrainer.offsetHeight-this.element.offsetHeight}}_allowMove(e){let{allowMove:t,allowInputDrag:r}=this.getProps();if(!r){let t=e.target.tagName.toLowerCase();if("input"===t||"textarea"===t)return}return!t||t(e,this.element)}constructor(e){super(Object.assign({},e)),this._registerStartEvent=()=>{this.handler.addEventListener("mousedown",this.onMouseDown),this.handler.addEventListener("touchstart",this.onTouchStart)},this._unRegisterStartEvent=()=>{this.handler.removeEventListener("mousedown",this.onMouseDown),this.handler.removeEventListener("touchstart",this.onTouchStart)},this._registerDocMouseEvent=()=>{document.addEventListener("mousemove",this._onMouseMove),document.addEventListener("mouseup",this._onMouseUp)},this._unRegisterDocMouseEvent=()=>{document.removeEventListener("mousemove",this._onMouseMove),document.removeEventListener("mouseup",this._onMouseUp)},this._registerDocTouchEvent=()=>{document.addEventListener("touchend",this._onTouchEnd),document.addEventListener("touchmove",this._onTouchMove),document.addEventListener("touchcancel",this._onTouchCancel)},this._unRegisterDocTouchEvent=()=>{document.removeEventListener("touchend",this._onTouchEnd),document.removeEventListener("touchmove",this._onTouchMove),document.removeEventListener("touchcancel",this._onTouchCancel)},this._calcOffset=e=>{this.startOffsetX=e.clientX-this.element.offsetLeft,this.startOffsetY=e.clientY-this.element.offsetTop},this._preventDefault=e=>{e.preventDefault()},this.onMouseDown=e=>{if(this._calcMoveRange(),this._adapter.notifyMouseDown(e),!!this._allowMove(e))this._registerDocMouseEvent(),this._calcOffset(e),this._preventDefault(e)},this.onTouchStart=e=>{if(this._calcMoveRange(),this._adapter.notifyTouchStart(e),!this._allowMove(e))return;this._registerDocTouchEvent();let t=e.targetTouches[0];this._calcOffset(t),this._preventDefault(e)},this._changePos=e=>{let{customMove:t}=this.getProps(),r=e.clientX-this.startOffsetX,n=e.clientY-this.startOffsetY;this.constrainer&&(r=i(r,this.xMin,this.xMax),n=i(n,this.yMin,this.yMax)),requestAnimationFrame(()=>{if(t){t(this.element,n,r);return}this.element.style.top=n+"px",this.element.style.left=r+"px"})},this._onMouseMove=e=>{this._adapter.notifyMouseMove(e),this._changePos(e)},this._onTouchMove=e=>{this._adapter.notifyTouchMove(e);let t=e.targetTouches[0];this._changePos(t)},this._onMouseUp=e=>{this._adapter.notifyMouseUp(e),this._unRegisterDocMouseEvent()},this._onTouchEnd=e=>{this._adapter.notifyTouchEnd(e),this._unRegisterDocTouchEvent()},this._onTouchCancel=e=>{this._adapter.notifyTouchCancel(e),this._unRegisterDocTouchEvent()}}}},359838:function(e,t,r){"use strict";r.d(t,{U:function(){return i}});var n=r(707852);let i={PREFIX:`${n.T}-empty`}},24931:function(e,t,r){"use strict";r.d(t,{L:function(){return o}});var n=r(480333);r(374954),r(490629),r(679308);var i=r(486088);function s(e,t){e.isUserActive=t,e.emit(i.F.USER_ACTIVE_CHANGE,t)}class o{add(e){this._instanceSet.add(e),1===this._instanceSet.size&&s(e,!0)}remove(e){this._instanceSet.delete(e)}forEach(e){this._instanceSet.forEach(e)}findAll(e){let t=[];for(let r of this._instanceSet)("function"!=typeof e||e(r))&&t.push(r);return t}async iterate(e){let t=this._instanceSet.values(),r=0;for(let n of t)if(!0===await e(n,r++))break}setActive(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!t){for(let t of this._instanceSet)if(t.playerId===e){s(t,!1);break}return}for(let r of this._instanceSet)r.playerId===e?(r.isInstNext=!1,s(r,t)):s(r,!1)}getActiveId(){for(let e of this._instanceSet)if(e.isUserActive)return e.playerId}setNext(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!t){for(let t of this._instanceSet)if(t.playerId===e){t.isInstNext=!1,t.emit(i.F.NEXT_INST_CHANGE,!1);break}return}for(let t of this._instanceSet)t.playerId===e?(t.isInstNext=!0,s(t,!1)):t.isInstNext=!1,t.emit(i.F.NEXT_INST_CHANGE,t.isInstNext)}constructor(){(0,n._)(this,"_instanceSet",new Set)}}},409842:function(e,t,r){"use strict";r(101199)},767343:function(e,t,r){"use strict";r(679308),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,522573)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,735608)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,825710)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,671195)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,66425)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,787831)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,595980)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,619619)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,138440)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,915669)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,571508)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,869275)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,26604)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,415134)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,945173)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,621401)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,695755)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,526317)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,530266)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,586441)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,983190)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,304495)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,310443)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,105345)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,180388)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,766903)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,364759)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,631214)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,24913)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,893933)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,140939)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,524491)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,315659)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,51600)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,522030)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,865525)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,593870)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,130289)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,497409)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,631056)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,588386)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,93458)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,225479)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,769591)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,124653)),Promise.all([r.e("74792"),r.e("41162"),r.e("42794"),r.e("27195"),r.e("95803")]).then(r.bind(r,170417))},120587:function(e,t,r){var n=r(321669).default;function i(){"use strict";e.exports=i=function(){return r},e.exports.__esModule=!0,e.exports.default=e.exports;var t,r={},s=Object.prototype,o=s.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function h(e,t,r,n){return Object.defineProperty(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n})}try{h({},"")}catch(e){h=function(e,t,r){return e[t]=r}}function d(e,r,n,i){var s,o,a,c,l=Object.create((r&&r.prototype instanceof g?r:g).prototype);return h(l,"_invoke",(s=e,o=n,a=new S(i||[]),c=1,function(e,r){if(3===c)throw Error("Generator is already running");if(4===c){if("throw"===e)throw r;return{value:t,done:!0}}for(a.method=e,a.arg=r;;){var n=a.delegate;if(n){var i=function e(r,n){var i=n.method,s=r.i[i];if(s===t)return n.delegate=null,"throw"===i&&r.i.return&&(n.method="return",n.arg=t,e(r,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+i+"' method")),p;var o=f(s,r.i,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,p;var a=o.arg;return a?a.done?(n[r.r]=a.value,n.next=r.n,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,p):a:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,p)}(n,a);if(i){if(i===p)continue;return i}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(1===c)throw c=4,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=3;var l=f(s,o,a);if("normal"===l.type){if(c=a.done?4:2,l.arg===p)continue;return{value:l.arg,done:a.done}}"throw"===l.type&&(c=4,a.method="throw",a.arg=l.arg)}}),!0),l}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=d;var p={};function g(){}function m(){}function v(){}var y={};h(y,c,function(){return this});var b=Object.getPrototypeOf,_=b&&b(b(k([])));_&&_!==s&&o.call(_,c)&&(y=_);var E=v.prototype=g.prototype=Object.create(y);function x(e){["next","throw","return"].forEach(function(t){h(e,t,function(e){return this._invoke(t,e)})})}function w(e,t){var r;h(this,"_invoke",function(i,s){function a(){return new t(function(r,a){!function r(i,s,a,c){var l=f(e[i],e,s);if("throw"!==l.type){var u=l.arg,h=u.value;return h&&"object"==n(h)&&o.call(h,"__await")?t.resolve(h.__await).then(function(e){r("next",e,a,c)},function(e){r("throw",e,a,c)}):t.resolve(h).then(function(e){u.value=e,a(u)},function(e){return r("throw",e,a,c)})}c(l.arg)}(i,s,r,a)})}return r=r?r.then(a,a):a()},!0)}function A(e){this.tryEntries.push(e)}function T(e){var r=e[4]||{};r.type="normal",r.arg=t,e[4]=r}function S(e){this.tryEntries=[[-1]],e.forEach(A,this),this.reset(!0)}function k(e){if(null!=e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,s=function r(){for(;++i<e.length;)if(o.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return s.next=s}}throw TypeError(n(e)+" is not iterable")}return m.prototype=v,h(E,"constructor",v),h(v,"constructor",m),m.displayName=h(v,u,"GeneratorFunction"),r.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},r.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,h(e,u,"GeneratorFunction")),e.prototype=Object.create(E),e},r.awrap=function(e){return{__await:e}},x(w.prototype),h(w.prototype,l,function(){return this}),r.AsyncIterator=w,r.async=function(e,t,n,i,s){void 0===s&&(s=Promise);var o=new w(d(e,t,n,i),s);return r.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},x(E),h(E,u,"Generator"),h(E,c,function(){return this}),h(E,"toString",function(){return"[object Generator]"}),r.keys=function(e){var t=Object(e),r=[];for(var n in t)r.unshift(n);return function e(){for(;r.length;)if((n=r.pop())in t)return e.value=n,e.done=!1,e;return e.done=!0,e}},r.values=k,S.prototype={constructor:S,reset:function(e){if(this.prev=this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0][4];if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(t){o.type="throw",o.arg=e,r.next=t}for(var i=r.tryEntries.length-1;i>=0;--i){var s=this.tryEntries[i],o=s[4],a=this.prev,c=s[1],l=s[2];if(-1===s[0])return n("end"),!1;if(!c&&!l)throw Error("try statement without catch or finally");if(null!=s[0]&&s[0]<=a){if(a<c)return this.method="next",this.arg=t,n(c),!0;if(a<l)return n(l),!1}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n[0]>-1&&n[0]<=this.prev&&this.prev<n[2]){var i=n;break}}i&&("break"===e||"continue"===e)&&i[0]<=t&&t<=i[2]&&(i=null);var s=i?i[4]:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i[2],p):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r[2]===e)return this.complete(r[4],r[3]),T(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r[0]===e){var n=r[4];if("throw"===n.type){var i=n.arg;T(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={i:k(e),r:r,n:n},"next"===this.method&&(this.arg=t),p}},r}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},9617:function(e,t,r){"use strict";r.d(t,{n:function(){return o}});var n=r(156912),i=r(75924),s=r(645361);function o(e,t,r){let o=(0,s.O)((r||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let r=!e[0]||Array.isArray(e[0])?e:[e],i=-1;for(;++i<r.length;){let e=r[i];t.push([function(e){return"string"==typeof e?RegExp((0,n.Z)(e),"g"):e}(e[0]),function(e){return"function"==typeof e?e:function(){return e}}(e[1])])}return t}(t),c=-1;for(;++c<a.length;)(0,i.S4)(e,"text",l);function l(e,t){let r,n=-1;for(;++n<t.length;){let e=t[n],i=r?r.children:void 0;if(o(e,i?i.indexOf(e):void 0,r))return;r=e}if(r)return function(e,t){let r=t[t.length-1],n=a[c][0],i=a[c][1],s=0,o=r.children.indexOf(e),l=!1,u=[];n.lastIndex=0;let h=n.exec(e.value);for(;h;){let r=h.index,o={index:h.index,input:h.input,stack:[...t,e]},a=i(...h,o);if("string"==typeof a&&(a=a.length>0?{type:"text",value:a}:void 0),!1===a?n.lastIndex=r+1:(s!==r&&u.push({type:"text",value:e.value.slice(s,r)}),Array.isArray(a)?u.push(...a):a&&u.push(a),s=r+h[0].length,l=!0),!n.global)break;h=n.exec(e.value)}return l?(s<e.value.length&&u.push({type:"text",value:e.value.slice(s)}),r.children.splice(o,1,...u)):u=[e],o+u.length}(e,t)}}},145552:function(e,t,r){"use strict";r.d(t,{w:function(){return n}});let n=(0,r(645361).O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"])},125119:function(e,t,r){"use strict";function n(e,t){return t in e?e[t]:t}r.d(t,{C:function(){return n}})},124653:function(e,t,r){"use strict";r.r(t),r.d(t,{ServerRouteCacheProvider:function(){return o},useServerRouteCache:function(){return a}}),r(490629);var n=r(320165),i=r(101199);let s=(0,i.createContext)({}),o=e=>{let{children:t}=e,r=(0,i.useRef)(new Map),o=(0,i.useRef)(new Map),a=(0,i.useRef)([]);return(0,n.jsx)(s.Provider,{value:{serverRouteCache:r,patternToCacheKeyCache:o,matchPatternsCache:a},children:t})},a=()=>(0,i.useContext)(s)},215303:function(e,t,r){"use strict";r.d(t,{Gn:function(){return h},Qt:function(){return d},T8:function(){return a},lU:function(){return u},nq:function(){return l}}),r(932651),r(490629),r(374954),r(414931);var n=r(873781),i=r(278685),s=r(708385);class o extends n.Cy{static createEncryptor(e,t){return this.create(this._ENC_XFORM_MODE,e,t)}static createDecryptor(e,t){return this.create(this._DEC_XFORM_MODE,e,t)}static _createHelper(e){let t=e=>"string"==typeof e?p:f;return{encrypt:(r,n,i)=>t(n).encrypt(e,r,n,i),decrypt:(r,n,i)=>t(n).decrypt(e,r,n,i)}}reset(){super.reset.call(this),this._doReset()}process(e){return this._append(e),this._process()}finalize(e){return e&&this._append(e),this._doFinalize()}constructor(e,t,r){super(),this.cfg=Object.assign(new n.XY,r),this._xformMode=e,this._key=t,this.reset()}}o._ENC_XFORM_MODE=1,o._DEC_XFORM_MODE=2,o.keySize=4,o.ivSize=4;class a extends n.XY{static createEncryptor(e,t){return this.Encryptor.create(e,t)}static createDecryptor(e,t){return this.Decryptor.create(e,t)}constructor(e,t){super(),this._cipher=e,this._iv=t}}function c(e,t,r){let n;let i=this._iv;i?(n=i,this._iv=void 0):n=this._prevBlock;for(let i=0;i<r;i+=1)e[t+i]^=n[i]}class l extends a{}l.Encryptor=class extends l{processBlock(e,t){let r=this._cipher,{blockSize:n}=r;c.call(this,e,t,n),r.encryptBlock(e,t),this._prevBlock=e.slice(t,t+n)}},l.Decryptor=class extends l{processBlock(e,t){let r=this._cipher,{blockSize:n}=r,i=e.slice(t,t+n);r.decryptBlock(e,t),c.call(this,e,t,n),this._prevBlock=i}};let u={pad(e,t){let r=4*t,i=r-e.sigBytes%r,s=i<<24|i<<16|i<<8|i,o=[];for(let e=0;e<i;e+=4)o.push(s);let a=n.Ic.create(o,i);e.concat(a)},unpad(e){let t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}};class h extends o{reset(){let e;super.reset.call(this);let{cfg:t}=this,{iv:r,mode:n}=t;this._xformMode===this.constructor._ENC_XFORM_MODE?e=n.createEncryptor:(e=n.createDecryptor,this._minBufferSize=1),this._mode=e.call(n,this,r&&r.words),this._mode.__creator=e}_doProcessBlock(e,t){this._mode.processBlock(e,t)}_doFinalize(){let e;let{padding:t}=this.cfg;return this._xformMode===this.constructor._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e}constructor(e,t,r){super(e,t,Object.assign({mode:l,padding:u},r)),this.blockSize=4}}class d extends n.XY{toString(e){return(e||this.formatter).stringify(this)}constructor(e){super(),this.mixIn(e)}}class f extends n.XY{static encrypt(e,t,r,i){let s=Object.assign(new n.XY,this.cfg,i),o=e.createEncryptor(r,s),a=o.finalize(t),c=o.cfg;return d.create({ciphertext:a,key:r,iv:c.iv,algorithm:e,mode:c.mode,padding:c.padding,blockSize:o.blockSize,formatter:s.format})}static decrypt(e,t,r,i){let s=t,o=Object.assign(new n.XY,this.cfg,i);return s=this._parse(s,o.format),e.createDecryptor(r,o).finalize(s.ciphertext)}static _parse(e,t){return"string"==typeof e?t.parse(e,this):e}}f.cfg=Object.assign(new n.XY,{format:{stringify(e){let t;let{ciphertext:r,salt:s}=e;return(t=s?n.Ic.create([1398893684,1701076831]).concat(s).concat(r):r).toString(i.D)},parse(e){let t;let r=i.D.parse(e),s=r.words;return 1398893684===s[0]&&1701076831===s[1]&&(t=n.Ic.create(s.slice(2,4)),s.splice(0,4),r.sigBytes-=16),d.create({ciphertext:r,salt:t})}}});class p extends f{static encrypt(e,t,r,i){let s=Object.assign(new n.XY,this.cfg,i),o=s.kdf.execute(r,e.keySize,e.ivSize);s.iv=o.iv;let a=f.encrypt.call(this,e,t,o.key,s);return a.mixIn(o),a}static decrypt(e,t,r,i){let s=t,o=Object.assign(new n.XY,this.cfg,i);s=this._parse(s,o.format);let a=o.kdf.execute(r,e.keySize,e.ivSize,s.salt);return o.iv=a.iv,f.decrypt.call(this,e,s,a.key,o)}}p.cfg=Object.assign(f.cfg,{kdf:{execute(e,t,r,i){let o=i;!o&&(o=n.Ic.random(8));let a=s.E.create({keySize:t+r}).compute(e,o),c=n.Ic.create(a.words.slice(t),4*r);return a.sigBytes=4*t,d.create({key:a,iv:c,salt:o})}}})}}]);