2 lines
137 KiB
Plaintext
2 lines
137 KiB
Plaintext
/*! For license information please see 66260.4da9bbfe.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,a=/&#([a-zA-Z0-9]*);?/gim,s=/"/g,l=/:?/gim,u=/&newline;?/gim,c=/((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,A=/"/g,p=function(e){return e.replace(n,"<").replace(o,">")},f={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 m(e){var t;return'"'===(t=e)[0]&&'"'===t[t.length-1]||"'"===t[0]&&"'"===t[t.length-1]?e.substr(1,e.length-2):e}function v(e){var t,r,i,n,o,a,s,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u="",c=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);c<e.length;)n=(t=e.charCodeAt(c++))>>2,o=(3&t)<<4|(r=e.charCodeAt(c++))>>4,a=(15&r)<<2|(i=e.charCodeAt(c++))>>6,s=63&i,isNaN(r)?a=s=64:isNaN(i)&&(s=64),u=u+l.charAt(n)+l.charAt(o)+l.charAt(a)+l.charAt(s);return u}function y(e){var t,r,i,n,o,a,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="",u=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");u<e.length;)t=s.indexOf(e.charAt(u++))<<2|(n=s.indexOf(e.charAt(u++)))>>4,r=(15&n)<<4|(o=s.indexOf(e.charAt(u++)))>>2,i=(3&o)<<6|(a=s.indexOf(e.charAt(u++))),l+=String.fromCharCode(t),64!==o&&(l+=String.fromCharCode(r)),64!==a&&(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,a=!1,s=0,l=e.length,u="",c="";e:for(s=0;s<l;s++){var h=e.charAt(s);if(!1===o){if("<"===h){o=s;continue}}else if(!1===a){if("<"===h){i+=r(e.slice(n,s)),o=s,n=s;continue}if(">"===h||s===l-1){i+=r(e.slice(n,o)),u=function(e){var t,r=f.spaceIndex(e);return t=-1===r?e.slice(1,-1):e.slice(1,r+1),"/"===(t=f.trim(t).toLowerCase()).slice(0,1)&&(t=t.slice(1)),"/"===t.slice(-1)&&(t=t.slice(0,-1)),t}(c=e.slice(o,s+1)),i+=t(o,i.length,u,c,"</"===c.slice(0,2)),n=s+1,o=!1;continue}if('"'===h||"'"===h)for(var d=1,A=e.charAt(s-d);""===A.trim()||"="===A;){if("="===A){a=h;continue e}A=e.charAt(s-++d)}}else if(h===a){a=!1;continue}}return n<l&&(i+=r(e.substr(n))),i}function w(e,t){var r=0,n=0,o=[],a=!1,s=e.length;function l(e,r){if(!((e=(e=f.trim(e)).replace(i,"").toLowerCase()).length<1)){var n=t(e,r||"");n&&o.push(n)}}for(var u=0;u<s;u++){var c=e.charAt(u),h=void 0;if(!1!==a||"="!==c){if(!1===a||u!==n){if(/\s|\n|\t/.test(c)){if(e=e.replace(/\s|\n|\t/g," "),!1===a){if(-1===(h=function(e,t){for(;t<e.length;t++){var r=e[t];if(" "!==r)return"="===r?t:-1}return -1}(e,u))){l(f.trim(e.slice(r,u))),a=!1,r=u+1;continue}u=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,u-1))){l(a,m(f.trim(e.slice(r,u)))),a=!1,r=u+1;continue}}}else{if(-1===(h=e.indexOf(c,u+1)))break;l(a,f.trim(e.slice(n+1,h))),a=!1,r=(u=h)+1}}else a=e.slice(r,u),r=u+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,u+1)}return r<e.length&&(!1===a?l(e.slice(r)):l(a,m(f.trim(e.slice(r))))),f.trim(o.join(" "))}function _(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 f.trim(t)}(e=(e=(e=e.replace(s,'"')).replace(a,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(u," "))}(r),"href"===t||"src"===t){if("#"===(r=f.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(c.lastIndex=0,c.test(r))return""}else if("style"===t&&(d.lastIndex=0,d.test(r)||(h.lastIndex=0,h.test(r)&&(c.lastIndex=0,c.test(r)))))return"";return r=function(e){return e=p(e=e.replace(A,"""))}(r)}var x=function(e){return"string"==typeof e?e.replace(/'/g,'"').replace('=""',"").replace(/\s+/g,"").toLowerCase():""},S=function(){function e(e){var t=function(e){var t={};for(var 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=_,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,a,s=this.options,l=s.whiteList,u=s.onTag,c=s.onIgnoreTag,h=s.onTagAttr,d=s.onIgnoreTagAttr,A=s.safeAttrValue,p=s.escapeHtml;s.stripBlankChar&&(e=(t=(t=e.split("")).filter(function(e){var t=e.charCodeAt(0);return!(127===t||t<=31&&10!==t&&13!==t)})).join("")),s.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;s.stripIgnoreTagBody&&(r=s.stripIgnoreTagBody,"function"!=typeof(i=c)&&(i=function(){}),n=!Array.isArray(r),o=[],a=!1,c=(g={onIgnoreTag:function(e,t,s){var l;if(l=e,n||-1!==f.indexOf(r,l)){if(s.isClosing){var u="[/removed]",c=s.position+u.length;return o.push([!1!==a?a:s.position,c]),a=!1,u}return a||(a=s.position),"[removed]"}return i(e,t,s)},remove:function(e){var t="",r=0;return f.forEach(o,function(i){t+=e.slice(r,i[0]),r=i[1]}),t+=e.slice(r)}}).onIgnoreTag);var m=b(e,function(e,t,r,i,n){var o={sourcePosition:e,position:t,isClosing:n,isWhite:Object.prototype.hasOwnProperty.call(l,r)},a=u(r,i,o);if(null!=a)return a;if(o.isWhite){if(o.isClosing)return"</".concat(r,">");var s=function(e){var t=f.spaceIndex(e);if(-1===t)return{html:"",closing:"/"===e[e.length-2]};var r="/"===(e=f.trim(e.slice(t+1,-1)))[e.length-1];return r&&(e=f.trim(e.slice(0,-1))),{html:e,closing:r}}(i),g=l[r],m=w(s.html,function(e,t){var i=-1!==f.indexOf(g,e),n=h(r,e,t,i);return null==n?i?(t=A(r,e,t,null))?"".concat(e,'="').concat(t,'"'):e:null==(n=d(r,e,t,i))?void 0:n:n});return i="<".concat(r),m&&(i+=" ".concat(m)),s.closing&&(i+=" /"),i+=">"}return null==(a=c(r,i,o))?p(i):a},p);return g&&(m=g.remove(m)),m},e}(),P=Function("\nvar _checkXSS = function (it) {\n return it && it.Math == Math && it;\n};\nreturn _checkXSS(typeof globalThis === 'object' && globalThis) ||\n_checkXSS(typeof window === 'object' && window) ||\n_checkXSS(typeof self === 'object' && self) ||\n_checkXSS(typeof global === 'object' && global) ||\nFunction('return this')();\n")(),k=new(function(){function e(){var e=this;this.batchData=[],this.uniqKeys=new Set,this.timeout=2e3,this.lock=!1,this.getSlardarBid=function(){var t,r,i="douyin_web";if(!f.includes(i,"bid"))return i;if(e.config&&e.config.bid)return e.config.bid;if(P&&P._xssBid)return P._xssBid;if(P&&P.slardar&&"function"==typeof P.slardar.config){var n=(P.slardar.config()||{}).bid;if(n)return n}if(P&&P.Slardar&&"function"==typeof P.Slardar.config){var o=(P.Slardar.config()||{}).bid;if(o)return o}return(null===(r=null===(t=null==P?void 0:P.Slardar)||void 0===t?void 0:t._baseParams)||void 0===r?void 0:r.bid)||"argus"},this.getConfigRegion=function(){var t;return f.includes("cn","region")?e.config&&e.config.region?e.config.region:((null===(t=null==P?void 0:P.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),P.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(P.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]=f.from(f.uniq(e[r])),t+=e[r].length):0===f.keys(e[r]).length?delete e[r]:f.keys(e[r]).forEach(function(i){e[r][i]=f.from(f.uniq(e[r][i])),t+=e[r][i].length})},i=0,n=f.keys(e);i<n.length;i++)r(n[i]);return{count:t,ret:e}};function L(e,t){return k.setConfig(t),new S(t).process(e)}function R(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 I=function(e){return -1===(e=(e=(e=(e=e.replace(/:/gi,":")).replace(/&tab;/gi,"")).replace(/&newline;/gi,"")).replace(/(\t|\n|\r)/g,"")).indexOf("&#")?e.trim().toLowerCase():e.trim().replace(/&#(?:(x)([0-9a-f]+)|([0-9]+));?/gi,function(e,t,r,i){return String.fromCharCode(t?parseInt(r,16):parseInt(i))}).replace(/(\t|\n|\r)/g,"").toLowerCase()};function E(e,t){if(void 0===e&&(e=""),"string"!=typeof e)return!0;if(e=I(e),f.includes(e,"base64")&&!function(e){if(""===e||""===e.trim())return!0;try{return!f.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(f.some(r,function(t){return -1!==e.indexOf(t)}))return f.forEach(r,function(r){-1!==e.indexOf(r)&&t&&t(r)}),!1;var i=["data:application","data:javascript","data:text/html","data:texthtml"];if(f.some(i,function(t){return -1!==e.indexOf(t)}))return f.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!!f.some(["void","void(0)","void0","false","undefined",";"],function(e){return e===n})||(t&&t("javascript:"),!1)}return!0}var j=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)||E(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 N(e,t,i){if(void 0===e&&(e=""),void 0===t&&(t=[]),"string"!=typeof e)return!0;if(!E(e=I(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]},a=o.scheme,s=o.host;return i?!!i(e):!(!a||!s)&&(!f.includes(["http","https","file"],a)||("object"==typeof window&&window&&(t=r(r([],t,!0),[location.host],!1)),f.some(t,function(e){return!!(e instanceof RegExp&&e.test(s))||e===s})))}var O={a:["target","title","spellcheck","rel"],canvas:[],abbr:["title"],address:[],area:["shape","coords","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:["dir"],dl:[],dt:[],em:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["alt","title","width","height","decoding"],ins:["datetime"],li:[],mark:[],nav:[],ol:["start"],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],sup:[],delete:[],form:[],strong:[],mask:["maskunits","x","y","width","height","fill"],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],wbr:[],video:["autoplay","controls","loop","preload","height","width"],svg:["viewBox","version","xmlns","fill","width","height","stroke","stroke-width","style"],path:["d","fill","opacity","stroke","p-id","fill-rule","clip-rule","stroke-width","stroke-linecap","stroke-linejoin","fill-opacity","mask"],rect:["x","y","width","height","fill","stroke","rx"],g:[]},D={collect:null,initCollect:function(){this.collect={whiteList:{},filterProtocol:[]}},removeCollect:function(){var e=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&&f.indexOf(["href","src"],t)>-1?D.domainWhiteList&&Array.isArray(D.domainWhiteList)&&D.domainWhiteList.length>0&&!N(i,r([],D.domainWhiteList,!0))?"":"".concat(t,'="').concat(j(i,function(e){var t;null===(t=D.collect)||void 0===t||t.filterProtocol.push(e)}),'"'):e&&(f.indexOf(["style","class","id"],t)>-1||t.indexOf("data-")>-1)?"".concat(t,'="').concat(i,'"'):(D.collect.whiteList[e]=D.collect.whiteList[e]||[],void D.collect.whiteList[e].push(t))},onIgnoreTag:function(e,t){if("style"===e)return t;b(t,function(e,t,r,i){w(R(i).html.replace("/",""),function(e){D.collect.whiteList[r]=D.collect.whiteList[r]||[],D.collect.whiteList[r].push(e)})},p)},whiteList:O,mergeWhiteList:function(e){for(var t,r={},i=0,n=f.keys(O);i<n.length;i++)r[t=n[i]]=f.from(O[t]);for(var o=0,a=f.keys(e);o<a.length;o++)r[t=a[o]]=t in O?O[t].concat(e[t]):f.from(e[t]);return r},setWhiteList:function(e){for(var t=0,r=f.keys(e);t<r.length;t++){var i=r[t];this.whiteList[i]=i in O?O[i].concat(e[i]):f.from(e[i])}}};try{var M={},T="merge";f.includes(T,"override")&&(D.whiteList=M.whiteList),f.includes(T,"merge")&&D.setWhiteList(M.whiteList)}catch(e){}var H=function(e,t){for(var r={},i=0,n=f.keys(e);i<n.length;i++){var o=n[i];Array.isArray(e[o])?r[o]=f.from(e[o]):r[o]=H({},e[o])}for(var a=0,s=f.keys(t);a<s.length;a++)(o=s[a])in e?Array.isArray(e[o])?r[o]=e[o].concat(t[o]):r[o]=H(e[o],t[o]):Array.isArray(t[o])?r[o]=f.from(t[o]):r[o]=H({},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 z={};z.blackAttrRegExps&&(z.blackAttrRegExps=z.blackAttrRegExps.map(function(e){return new RegExp(e.toString().slice(1,e.toString().length-1))}));var Z="merge";f.includes(Z,"override")&&(B=z),f.includes(Z,"merge")&&(B=H(B,z))}catch(e){}var W={mode:"black",whiteList:{},blackConfig:B,collect:null,initCollect:function(){W.collect={blackList:{},blackTags:[],blackAttrs:[],blackAttrRegExps:[],filterAttrs:[],filterList:{},filterProtocol:[]}},removeCollect:function(){var e=C(W.collect),t=e.count,r=e.ret;return W.collect=null,{collectKey:0===t?null:JSON.stringify(r),collectMode:"black"}},onIgnoreTag:function(e,t){var r;if(!f.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=R(i),a=w(o.html,function(e,t){var i,n=0;if(B.blackList[r]&&f.includes(B.blackList[r],e)&&(W.collect.blackList[r]=W.collect.blackList[r]||[],W.collect.blackList[r].push(e),n++),B.blackAttrRegExps.length&&B.blackAttrRegExps.some(function(t){return t.test(e)})&&f.forEach(B.blackAttrRegExps,function(t){t.test(e)&&(W.collect.blackAttrRegExps.push("".concat(t.toString(),"->").concat(e)),n++)}),B.blackAttrs.length&&f.includes(B.blackAttrs,e)&&(B.blackAttrs.push(e),n++),!n){if(B.filterList&&B.filterList[r]&&f.includes(B.filterList[r],e)){var o=j(t,function(e){var t;null===(t=W.collect)||void 0===t||t.filterProtocol.push(e)});return o!==t&&(W.collect.filterList[r]=W.collect.filterList[r]||[],W.collect.filterList[r].push(e)),t?"".concat(e,"='").concat(o,"'"):e}return B.filterAttrs&&f.includes(B.filterAttrs,e)?((o=j(t,function(e){var t;null===(t=W.collect)||void 0===t||t.filterProtocol.push(e)}))!==t&&(null===(i=W.collect)||void 0===i||i.filterAttrs.push(e)),t?"".concat(e,"='").concat(o,"'"):e):t?"".concat(e,"='").concat(t,"'"):e}});return i="<".concat(r),a&&(i+=" ".concat(a)),o.closing&&(i+=" /"),i+=">"},p);null===(r=W.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")},G=function(e){return function(r,i,n){if(!r||"string"!=typeof r)return r;var o=i;e===L&&(o=D).initCollect();var a=e(r,o);if(x(a)===x(r))return r;if(!n)return a;var s=n.logType,l=V(n),u=o.removeCollect();return k.report(t(t({type:s,disposition:l},u),{sourceText:v(r),filterText:v(a)})),"enforce"===l?a:r}},F=G(function(e,t){return void 0===t&&(t={}),t&&t.whiteList||(t.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}),new S(t).process(e)}),Q=G(L),U=function(e,t,r){var i=[],n=j(e,function(e){i.push(e)});if(n===e)return e;i=f.from(f.uniq(i));var o=t||r||{};if(!o)return n;var a=o.logType,s=V(r);return k.report({type:a,disposition:s,collectKey:i.join("___"),collectData:JSON.stringify(i),collectMode:"black",sourceText:v(e),filterText:v(n)}),"enforce"===s?n:e},Y=P._xssProject||{},J=P.xssNamespace||{},X="3.0.26",q={FilterXSS:S,version:X,webpackPluginVersion:"<%= webpackPluginVersion =>",reportOnly:"<%= reportOnly =>",filterXSS:F,_filterXSS:Q,filterUrl:U,Config:D,BlackConfig:W,project:Y,setProjectName:function(e){Y[e]=this,P._xssProjectName=e}};J.douyin_web=q,P.xssNamespace=J,P.Math&&!P.Math.xssNamespace&&(P.Math.xssNamespace=J),Y[X]=q,P.globalThis=P,P.getFilterXss=function(){return void 0!==this._xssProjectName?this._xssProject[this._xssProjectName]:q},P.xss=q,P.isSafeUrl=N,P.isSafeDomain=N,P.isSafeProtocol=E,P._xssProject=Y,P._xssProjectName&&(Y[P._xssProjectName]=q);var K=q.setProjectName.bind(q);e.BlackConfig=W,e.Config=D,e.FilterXSS=S,e._filterXSS=Q,e.filterUrl=U,e.filterXSS=F,e.isSafeDomain=N,e.isSafeProtocol=E,e.isSafeUrl=N,e.project=Y,e.setProjectName=K,e.setXssNamespace=function(e){var t=e.appId,r=e.bid,i=e.region;J[t]=q;D.bid=r,D.region=i,D.enabled=!0},e.xssNamespace=J,Object.defineProperty(e,"__esModule",{value:!0})}),(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["66260"],{467157: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",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 1a2 2 0 0 0-2 2v18c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2V8.41A2 2 0 0 0 20.41 7L15 1.59A2 2 0 0 0 13.59 1H5Zm8 2H5v18h14V9h-5a1 1 0 0 1-1-1V3Zm4.59 4L15 4.41V7h2.59Zm-6.09 5a.5.5 0 0 0-.5.5v1c0 .28.22.5.5.5h5a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-5Zm-4.5.5c0-.28.22-.5.5-.5h1c.28 0 .5.22.5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm4.5 3.5a.5.5 0 0 0-.5.5v1c0 .28.22.5.5.5h5a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-5Zm-4.5.5c0-.28.22-.5.5-.5h1c.28 0 .5.22.5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Z",fill:"currentColor"}))},"brief_stroked");t.Z=o},848202: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:"M2 5v14a3 3 0 0 0 3 3h7.1a7.02 7.02 0 0 1-1.43-2H6a2 2 0 0 1-2-2V8a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2.67c.75.36 1.43.85 2 1.43V5a3 3 0 0 0-3-3H5a3 3 0 0 0-3 3Z",fill:"currentColor"}),i.createElement("path",{d:"M16 10h1c-.54 0-1.06.06-1.57.18A1 1 0 0 1 16 10Z",fill:"currentColor"}),i.createElement("path",{d:"M13.5 10.94a1 1 0 0 0-1-.94h-1a1 1 0 0 0-1 1v1a1 1 0 0 0 .77.97 7.03 7.03 0 0 1 2.23-2.03Z",fill:"currentColor"}),i.createElement("path",{d:"M7 10a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1H7Z",fill:"currentColor"}),i.createElement("path",{d:"M6 16a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-1Z",fill:"currentColor"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 17a5 5 0 1 1-10 0 5 5 0 0 1 10 0Zm-4-2a1 1 0 1 0-2 0v2c0 .27.1.52.3.7l1.5 1.5a1 1 0 0 0 1.4-1.4L18 16.58V15Z",fill:"currentColor"}))},"calendar_clock");t.Z=o},193435: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:"M15.501 22.0005C14.6725 22.0005 14.001 21.3289 14.001 20.5005V15.5005C14.001 14.6721 14.6725 14.0005 15.501 14.0005H20.501C21.3294 14.0005 22.001 14.6721 22.001 15.5005V20.5005C22.001 21.3289 21.3294 22.0005 20.501 22.0005L15.501 22.0005Z",fill:"currentColor"}),i.createElement("path",{d:"M5.50098 22.0005C3.56798 22.0005 2.00098 20.4335 2.00098 18.5005V15.5005V5.50049C2.00098 3.56749 3.56798 2.00049 5.50098 2.00049H15.501H18.501C20.434 2.00049 22.001 3.56749 22.001 5.50049V9.75038C22.001 10.5788 21.3294 11.2504 20.501 11.2504C19.6726 11.2504 19.001 10.5788 19.001 9.75038V5.50049C19.001 5.22435 18.7771 5.00049 18.501 5.00049H15.501H5.50098C5.22483 5.00049 5.00098 5.22435 5.00098 5.50049V15.5005V18.5005C5.00098 18.7766 5.22483 19.0005 5.50098 19.0005H9.74999C10.5784 19.0005 11.25 19.6721 11.25 20.5005C11.25 21.3289 10.5784 22.0005 9.74999 22.0005H5.50098Z",fill:"currentColor"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.52045 7.18658C7.12993 7.57711 7.12994 8.21026 7.52046 8.60078L10.4702 11.5505L9.64175 11.5505C9.08946 11.5505 8.64175 11.9982 8.64175 12.5505C8.64175 13.1028 9.08946 13.5505 9.64175 13.5505L12.8844 13.5505C13.4367 13.5505 13.8844 13.1028 13.8844 12.5505L13.8844 9.30788C13.8844 8.75559 13.4367 8.30788 12.8844 8.30788C12.3321 8.30788 11.8844 8.7556 11.8844 9.30788L11.8844 10.1363L8.93467 7.18657C8.54414 6.79604 7.91097 6.79605 7.52045 7.18658V7.18658Z",fill:"currentColor"}))},"mini_player");t.Z=o},59850:function(e,t,r){"use strict";var i=r(101199);t.Z=function(e){var t=(0,i.useRef)();return t.current=e,(0,i.useCallback)(function(){var e=t.current;return e&&e.apply(void 0,arguments)},[t])}},204863:function(e,t,r){"use strict";r.d(t,{A:function(){return ep}});var i=r(101199),n=r(949868).Buffer,o=function(){return(o=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 a(e,t){var r={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}var s,l={},u=["webp","avif","heic","jpeg","png"],c={formats:["webp"],imageSizes:[480,750,1080,1366,1920],quality:75,loading:"lazy",lazyBoundary:"200px",placeholder:"empty",width:void 0,height:void 0,src:"",layout:void 0,loader:function(e){return e.src},unoptimized:!1,lazyRoot:void 0,errorDataURL:void 0,error:void 0,objectFit:void 0,objectPosition:void 0,plugins:[],pluginProps:{}},h={webp:"awebp",heic:"heif",avif:"avis",jpeg:"jpeg",png:"png",image:"image"},d={boxSizing:"border-box",display:"block",overflow:"hidden",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},A={boxSizing:"border-box",display:"block",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},p={display:"block",maxWidth:"100%",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},f={position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",padding:0,border:"none",margin:"auto",display:"block",width:0,height:0,minWidth:"100%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%"},g=function(){return"undefined"==typeof window},m=g()||"undefined"==typeof navigator?"":(null!=(s=navigator.userAgent)?s:"").toLocaleLowerCase(),v=function(e){return 0<=e.indexOf("safari")&&0>e.indexOf("chrome")||/iphone|ipad/.test(e)&&0<=e.indexOf("mobile")},y=function(e,t){var r;return Promise.race([e,new Promise(function(e,i){r=setTimeout(function(){i(Error("Promise timed out after ".concat(t,"ms")))},t)})]).finally(function(){r&&clearTimeout(r)})},b=function(e,t,r,i){return new(r=r||Promise)(function(n,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?n(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})},w=function(e,t){var r,i,n,o={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]},a={next:s(0),throw:s(1),return:s(2)};return"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){var u=[s,l];if(r)throw TypeError("Generator is already executing.");for(;o=a&&u[a=0]?0:o;)try{if(r=1,i&&(n=2&u[0]?i.return:u[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,u[1])).done)return n;switch(i=0,(u=n?[2&u[0],n.value]:u)[0]){case 0:case 1:n=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,i=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(n=0<(n=o.trys).length&&n[n.length-1])&&(6===u[0]||2===u[0])){o=0;continue}if(3===u[0]&&(!n||u[1]>n[0]&&u[1]<n[3]))o.label=u[1];else if(6===u[0]&&o.label<n[1])o.label=n[1],n=u;else{if(!(n&&o.label<n[2])){n[2]&&o.ops.pop(),o.trys.pop();continue}o.label=n[2],o.ops.push(u)}}u=t.call(e,o)}catch(e){u=[6,e],i=0}finally{r=n=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}},_={webp:{base64:"data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvn8AnAAdQiUpUov+BiOh/AAA=",height:160},heic:{base64:"data:image/heic;base64,AAAAHGZ0eXBtaWYxAAAAAG1pZjFoZWljaGV2YwAAASVtZXRhAAAAAAAAACFoZGxyAAAAAAAAAABwaWN0AAAAAAAAAAAAAAAAAAAAAA5waXRtAAAAAAABAAAAI2lpbmYAAAAAAAEAAAAVaW5mZQIAAAAAAQAAaHZjMQAAAACjaXBycAAAAIZpcGNvAAAAamh2Y0MBAWAAAAAAAAAAAAAe8AD8/fj4AAAPAyAAAQAYQAEMAf//AWAAAAMAAAMAAAMAAAMAHvAkIQABAB1CAQEBYAAAAwAAAwAAAwAAAwAeoDSBp3eX5JMrICIAAQAHRAHBLGDEgAAAABRpc3BlAAAAAAAAAGQAAABkAAAAFWlwbWEAAAAAAAAAAQABAoECAAAAJGlsb2MBAAAAREAAAQABAAAAAAAAAUkAAQAAAAAAAAAgAAAAKG1kYXQAAAAcJgGvJRNg+cJYeUBAgVGpfj2xh5SigAAENABAQA==",height:100},avif:{base64:"data:image/avif;base64,AAAALGZ0eXBhdmlzAAAAAGF2aWZhdmlzbXNmMWlzbzhtaWYxbWlhZk1BMUEAAAElbWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAAAiaWxvYwAAAABEQAABAAIAAAAABgAAAQAAACUAAAAYAAAAKGlpbmYAAAAAAAEAAAAaaW5mZQIAAAAAAgAAYXYwMUFscGhhAAAAAAxpcmVmAAAAAAAAAI1pcHJwAAAAbmlwY28AAAAUaXNwZQAAAAAAAAABAAAAAQAAAA5waXhpAAAAAAEIAAAADGF2MUOBABwAAAAAOGF1eEMAAAAAdXJuOm1wZWc6bXBlZ0I6Y2ljcDpzeXN0ZW1zOmF1eGlsaWFyeTphbHBoYQAAAAAXaXBtYQAAAAAAAAABAAIEAQKDBAAABKdtb292AAAAbG12aGQAAAAA4GrKgOBqyoAAAABkAAAAZAABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAACGXRyYWsAAABcdGtoZAAAAAHgasqA4GrL+AAAAAEAAAAAAAAAZAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAQAAAAEAAAAAAbVtZGlhAAAAIG1kaGQAAAAA4GrKgOBqyoAAAABkAAAAZFXEAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAABZW1pbmYAAAAUdm1oZAAAAAEAAAAAAAAAAAAAACRkaW5mAAAAHGRyZWYAAAAAAAAAAQAAAAx1cmwgAAAAAQAAASVzdGJsAAAAlXN0c2QAAAAAAAAAAQAAAIVhdjAxAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAEAAQBIAAAASAAAAAAAAAABCkFPTSBDb2RpbmcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGP//AAAADGF2MUOBIAAAAAAAE2NvbHJuY2x4AAEADQAGgAAAABBjY3N0AAAAAHwAAAAAAAAYc3R0cwAAAAAAAAABAAAAAgAAADIAAAAUc3RzcwAAAAAAAAABAAAAAQAAAChzdHNjAAAAAAAAAAIAAAABAAAAAQAAAAEAAAACAAAAAQAAAAEAAAAcc3RzegAAAAAAAAAAAAAAAgAAACUAAAAaAAAAGHN0Y28AAAAAAAAAAgAABgAAAAY9AAACGnRyYWsAAABcdGtoZAAAAAHgasqA4GrL+AAAAAIAAAAAAAAAZAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAQAAAAEAAAAAABR0cmVmAAAADGF1eGwAAAABAAABom1kaWEAAAAgbWRoZAAAAADgasqA4GrKgAAAAGQAAABkVcQAAAAAAChoZGxyAAAAAAAAAABwaWN0AAAAAAAAAAAAAAAAbGliYXZpZgAAAAFSbWluZgAAABR2bWhkAAAAAQAAAAAAAAAAAAAAJGRpbmYAAAAcZHJlZgAAAAAAAAABAAAADHVybCAAAAABAAABEnN0YmwAAACCc3RzZAAAAAAAAAABAAAAcmF2MDEAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAQABAEgAAABIAAAAAAAAAAEKQU9NIENvZGluZwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY//8AAAAMYXYxQ4EAHAAAAAAQY2NzdAAAAAB8AAAAAAAAGHN0dHMAAAAAAAAAAQAAAAIAAAAyAAAAFHN0c3MAAAAAAAAAAQAAAAEAAAAoc3RzYwAAAAAAAAACAAAAAQAAAAEAAAABAAAAAgAAAAEAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAAYAAAAEAAAABhzdGNvAAAAAAAAAAIAAAYlAAAGVwAAAG9tZGF0EgAKCyAAAAAAffyQENBpMhQQALAAAAJAAAAAeUzeCGsZI8iw4BIACggAAAAAAH38lTIKEACAAAAY3qKVUBIAMhYwA8CAAABGsAAAAkAAIAAeeln6XS7gEgAyDDADwIAAAEaABACRkAAAAENmcmVlSXNvTWVkaWEgRmlsZSBQcm9kdWNlZCB3aXRoIEdQQUMgMi4yLXJldjAtZ2FiMDEyYmJmLW1hc3RlcgA=",height:1}},x={},S={},P=function(e,t){var r;return x[e]||S[e]||(r=new Promise(function(r){return b(void 0,void 0,void 0,function(){var i,n,o,a,s;return w(this,function(l){switch(l.label){case 0:for(n=new Uint8Array((i=atob(a=_[e].base64.split(",")[1])).length),o=0;o<i.length;o++)n[o]=i.charCodeAt(o);if(!t.heifDecoder)return r(!1),[2];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,y(t.heifDecoder.addMetaTask({buffer:n}),1e3)];case 2:return r(s=(a=l.sent().data).height===_[e].height),x[e]=s,[3,4];case 3:return s=l.sent(),x[e]=!1,r(!1),[3,4];case 4:return[2]}})})}),S[e]=r)},k=function(e,t){if(!u.includes(e))return!1;if("jpeg"===e||"png"===e)return!0;if(!_[e])return!1;if("heic"===e){if(!t.tryHeif)return!1;var r=function(){var e=function(e){if("undefined"==typeof window||!("undefined"!=typeof localStorage&&localStorage&&"function"==typeof localStorage.getItem))return null;var t=localStorage.getItem(e);if(!t)return null;try{return JSON.parse(t)}catch(e){return null}}("$imagex_heif_format_cache")||{},t=e.__user_agent,r=e.__timestamp,e=e.__support_heic__,i=Date.now();if(!(r&&864e5<i-r)&&t===m)return e}();if(void 0!==r)return r}return new Promise(function(r){return b(void 0,void 0,void 0,function(){var i,n;return w(this,function(o){switch(o.label){case 0:return("undefined"==typeof window&&r(!1),void 0===window["__support_".concat(e,"__")])?[3,1]:(r(!!window["__support_".concat(e,"__")]),[3,5]);case 1:var a;return _[e].prerequisite&&!_[e].prerequisite()?(window["__support_".concat(e,"__")]=!1,r(!1),[2]):[4,(a=e,new Promise(function(e){var t=new Image;t.onload=function(){e((null==t?void 0:t.height)===_[a].height)},t.onerror=function(){window["__support_".concat(a,"__")]=!1,e(!1)},t.src=_[a].base64}))];case 2:return(i=o.sent())?(r(!0),[3,5]):[3,3];case 3:return[4,P(e,t)];case 4:r(n=o.sent()),window["__support_".concat(e,"__")]=i||n,o.label=5;case 5:return[2]}})})})},C=function(e,t){var r,i;return e=e.filter(function(e){return"heic"!==e}),(void 0!==(r=t)?v(r.toLocaleLowerCase()):!g()&&v(m))||"empty"===t?"image":(void 0!==(i=t)?0<=i.toLocaleLowerCase().indexOf("firefox"):!g()&&0<=m.indexOf("firefox"))?e.filter(function(e){return"avif"!==e})[0]||"image":e[0]||"image"};function L(e){return"CANVAS"===e.tagName}function R(e){return"IMG"===e.tagName}var I=/^(.+)~(tplv-[a-zA-Z0-9]{2,10}-.+)\.([a-zA-Z]+)\??(.*)$/,E={protocol:"http://",domain:"",src:"",search:""},j={protocol:"http://",domain:"",src:"",search:"",template:"",suffix:""},N=new Set,O=function(e){try{var t=e.startsWith("http")?e:(e.startsWith("//")?"https:":"http://").concat(e),r=new URL(t),i=I.exec(r.pathname.slice(1));return{protocol:r.protocol,domain:r.hostname,src:i[1],template:i[2],suffix:i[3],search:r.search}}catch(e){return j}},D=function(e){try{var t=e.startsWith("http")?e:(e.startsWith("//")?"https:":"http://").concat(e),r=new URL(t);return{protocol:r.protocol,domain:r.hostname,src:r.pathname.slice(1),search:r.search}}catch(e){return E}},M=function(e,t,r,i,n){var o;return n?{widths:e,kind:"w"}:"fill"===r?{widths:Array.from(new Set([o=(null==(n=null==i?void 0:i.parentElement)?void 0:n.clientWidth)||0,2*o].map(function(t){return 0<e.length?e.find(function(e){return t<=e})||e[e.length-1]:t}))),kind:"x"}:"responsive"===r?(o=(null==(n=null==i?void 0:i.parentElement)?void 0:n.clientWidth)||0,{widths:Array.from(new Set([r=Math.max(o-(i=parseInt((null==(n=null==(r=null==i?void 0:i.parentElement)?void 0:r.style)?void 0:n.paddingLeft)||"0")+parseInt((null==(n=null==(r=null==i?void 0:i.parentElement)?void 0:r.style)?void 0:n.paddingRight)||"0")),0),2*r].map(function(t){return 0<e.length?e.find(function(e){return t<=e})||e[e.length-1]:t}))),kind:"x"}):void 0!==t?{widths:Array.from(new Set([t,2*t].map(function(t){return 0<e.length?e.find(function(e){return t<=e})||e[e.length-1]:t}))),kind:"x"}:{widths:[0],kind:"x"}},T=function(e){var t,r,i,n,o,a,s,l,u,c,h,d,A,p,f=e.src,g=e.unoptimized,m=e.layout,v=e.quality,y=e.sizes,b=e.loader,w=e.imageSizes,_=e.format,x=void 0===_?"image":_,_=e.width,e=e.wrapperElement;return f?g?{src:f}:(w=(g=M(w,_,m,e,y)).widths,i=g.kind,(t=f,I.test(t))?(n=(_=O(f)).src,o=_.protocol,a=_.domain,s=_.suffix,l=_.template,u=_.search,w.length<=1?{srcSet:b({src:n,width:w[0]||0,quality:v,format:x,extra:{suffix:s,template:l,search:u,protocol:o,domain:a,origin:f}}),src:b({src:n,width:w[0]||0,quality:v,format:x,extra:{suffix:s,template:l,search:u,protocol:o,domain:a,origin:f}})}:{srcSet:w.map(function(e,t){return"".concat(b({src:n,width:e,quality:v,format:x,extra:{suffix:s,template:l,search:u,protocol:o,domain:a,origin:f}})," ").concat("w"===i?e:t+1).concat(i)}).join(", "),sizes:"w"===i?y:void 0,src:b({src:n,quality:v,format:x,width:w[w.length-1],extra:{suffix:s,template:l,search:u,protocol:o,domain:a,origin:f}})}):(r=f).startsWith("tos://")||r.startsWith("TOS://")?(c=f.slice(6),w.length<=1?{srcSet:b({src:c,width:w[0]||0,quality:v,format:x,extra:{origin:f}}),src:b({src:c,width:w[0]||0,quality:v,format:x,extra:{origin:f}})}:{srcSet:w.map(function(e,t){return"".concat(b({src:c,width:e,quality:v,format:x,extra:{origin:f}})," ").concat("w"===i?e:t+1).concat(i)}).join(", "),sizes:"w"===i?y:void 0,src:b({src:c,quality:v,format:x,width:w[w.length-1],extra:{origin:f}})}):(h=(m=D(f)).src,d=m.protocol,A=m.domain,p=m.search,w.length<=1?{srcSet:b({src:h,width:w[0]||0,quality:v,format:x,extra:{protocol:d,domain:A,search:p,origin:f}}),src:b({src:h,width:w[0]||0,quality:v,format:x,extra:{protocol:d,domain:A,search:p,origin:f}})}:{srcSet:w.map(function(e,t){return"".concat(b({src:h,width:e,quality:v,format:x,extra:{protocol:d,domain:A,search:p,origin:f}})," ").concat("w"===i?e:t+1).concat(i)}).join(", "),sizes:"w"===i?y:void 0,src:b({src:f,quality:v,format:x,width:w[w.length-1],extra:{protocol:d,domain:A,search:p,origin:f}})})):{src:""}},H=function(e,t,r,i){var n;R(e)?!e||null!=(n=e.src)&&n.startsWith("data:image")||e["loaded-src"]===e.src||(e["loaded-src"]=e.src,("decode"in e?e.decode():Promise.resolve()).catch(function(){}).then(function(){var n;e.parentNode&&(N.add(e.src),"empty"!==r&&t(!0),i)&&(n=e.naturalWidth,i({naturalWidth:n,naturalHeight:e.naturalHeight}))})):L(e)&&e&&e["loaded-src"]!==e.dataset.loadedSrc&&(e["loaded-src"]=e.dataset.loadedSrc,"empty"!==r&&t(!0),i)&&i({naturalWidth:Number(e.dataset.naturalWidth),naturalHeight:Number(e.dataset.naturalHeight)})},B=function(e,t){var r;return void 0!==e&&void 0!==t?"data:image/svg+xml;base64,".concat((r='<svg width="'.concat(e,'" height="').concat(t,'" version="1.1" xmlns="http://www.w3.org/2000/svg"></svg>'),"undefined"!=typeof btoa?btoa(r):void 0!==n?n.from(r,"base64").toString():"")):"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"},z="undefined"!=typeof window&&void 0!==window.IntersectionObserver,Z=new Map,W=[],V=function(e){var t,r={root:e.root||null,margin:e.rootMargin||""},i=W.find(function(e){return e.root===r.root&&e.margin===r.margin});return i?Z.get(i):(t=new Map,e={id:r,observer:i=new window.IntersectionObserver(function(e){e.forEach(function(e){var r=t.get(e.target),e=e.isIntersecting||0<e.intersectionRatio;r&&e&&r(e)})},e),elements:t},W.push(r),Z.set(r,e),e)},G=function(e,t,r){var r=V(r),i=r.id,n=r.observer,o=r.elements;return o.set(e,t),n.observe(e),function(){var t;o.delete(e),n.unobserve(e),0===o.size&&(n.disconnect(),Z.delete(i),-1<(t=W.findIndex(function(e){return e.root===i.root&&e.margin===i.margin})))&&W.splice(t,1)}};function F(e){return(F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Q=function(e){return Y(e)?(U(e)?e.default:e).src:e},U=function(e){return void 0!==e.default},Y=function(e){return"object"===F(e)&&(U(e)||void 0!==e.src)},J=function(e,t,r){var i,n,o={},a={},s=!1;return"fill"===e?(o.display="block",o.position="absolute",o.top=0,o.left=0,o.bottom=0,o.right=0):void 0!==t&&void 0!==r&&("intrinsic"===e?(o.display="inline-block",o.position="relative",s=!0,a.maxWidth=o.maxWidth="100%",i="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27".concat(t,"%27%20height=%27").concat(r,"%27/%3e")):"responsive"===e?(n=isNaN(n=r/t)?"100%":"".concat(100*n,"%"),o.display="block",o.position="relative",s=!0,a.paddingTop=n):"fixed"===e&&(o.display="inline-block",o.position="relative",o.width="".concat(t,"px"),o.height="".concat(r,"px"))),{hasSizer:s,sizerSvgUrl:i,sizerStyle:Object.assign({},A,a),wrapperStyle:Object.assign({},d,o),sizerImgStyle:p}},X=function(e){return Object.keys(e.hooks).forEach(function(t){e.hooks[t]&&(e.hooks[t]=e.hooks[t].bind(e.context))}),e},q=function(e,t,r,i){return new(r=r||Promise)(function(n,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?n(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})},K=function(e,t){var r,i,n,o={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]},a={next:s(0),throw:s(1),return:s(2)};return"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){var u=[s,l];if(r)throw TypeError("Generator is already executing.");for(;o=a&&u[a=0]?0:o;)try{if(r=1,i&&(n=2&u[0]?i.return:u[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,u[1])).done)return n;switch(i=0,(u=n?[2&u[0],n.value]:u)[0]){case 0:case 1:n=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,i=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(n=0<(n=o.trys).length&&n[n.length-1])&&(6===u[0]||2===u[0])){o=0;continue}if(3===u[0]&&(!n||u[1]>n[0]&&u[1]<n[3]))o.label=u[1];else if(6===u[0]&&o.label<n[1])o.label=n[1],n=u;else{if(!(n&&o.label<n[2])){n[2]&&o.ops.pop(),o.trys.pop();continue}o.label=n[2],o.ops.push(u)}}u=t.call(e,o)}catch(e){u=[6,e],i=0}finally{r=n=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}},$=function(e,t,r,i){return new(r=r||Promise)(function(n,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?n(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})},ee=function(e,t){var r,i,n,o={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]},a={next:s(0),throw:s(1),return:s(2)};return"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){var u=[s,l];if(r)throw TypeError("Generator is already executing.");for(;o=a&&u[a=0]?0:o;)try{if(r=1,i&&(n=2&u[0]?i.return:u[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,u[1])).done)return n;switch(i=0,(u=n?[2&u[0],n.value]:u)[0]){case 0:case 1:n=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,i=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(n=0<(n=o.trys).length&&n[n.length-1])&&(6===u[0]||2===u[0])){o=0;continue}if(3===u[0]&&(!n||u[1]>n[0]&&u[1]<n[3]))o.label=u[1];else if(6===u[0]&&o.label<n[1])o.label=n[1],n=u;else{if(!(n&&o.label<n[2])){n[2]&&o.ops.pop(),o.trys.pop();continue}o.label=n[2],o.ops.push(u)}}u=t.call(e,o)}catch(e){u=[6,e],i=0}finally{r=n=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}},et=function(){return(et=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)},er=function(e,t,r,i){return new(r=r||Promise)(function(n,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?n(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})},ei=function(e,t){var r,i,n,o={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]},a={next:s(0),throw:s(1),return:s(2)};return"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){var u=[s,l];if(r)throw TypeError("Generator is already executing.");for(;o=a&&u[a=0]?0:o;)try{if(r=1,i&&(n=2&u[0]?i.return:u[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,u[1])).done)return n;switch(i=0,(u=n?[2&u[0],n.value]:u)[0]){case 0:case 1:n=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,i=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(n=0<(n=o.trys).length&&n[n.length-1])&&(6===u[0]||2===u[0])){o=0;continue}if(3===u[0]&&(!n||u[1]>n[0]&&u[1]<n[3]))o.label=u[1];else if(6===u[0]&&o.label<n[1])o.label=n[1],n=u;else{if(!(n&&o.label<n[2])){n[2]&&o.ops.pop(),o.trys.pop();continue}o.label=n[2],o.ops.push(u)}}u=t.call(e,o)}catch(e){u=[6,e],i=0}finally{r=n=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}},en=function(e,t,r,i){return new(r=r||Promise)(function(n,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?n(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})},eo=function(e,t){var r,i,n,o={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]},a={next:s(0),throw:s(1),return:s(2)};return"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){var u=[s,l];if(r)throw TypeError("Generator is already executing.");for(;o=a&&u[a=0]?0:o;)try{if(r=1,i&&(n=2&u[0]?i.return:u[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,u[1])).done)return n;switch(i=0,(u=n?[2&u[0],n.value]:u)[0]){case 0:case 1:n=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,i=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(n=0<(n=o.trys).length&&n[n.length-1])&&(6===u[0]||2===u[0])){o=0;continue}if(3===u[0]&&(!n||u[1]>n[0]&&u[1]<n[3]))o.label=u[1];else if(6===u[0]&&o.label<n[1])o.label=n[1],n=u;else{if(!(n&&o.label<n[2])){n[2]&&o.ops.pop(),o.trys.pop();continue}o.label=n[2],o.ops.push(u)}}u=t.call(e,o)}catch(e){u=[6,e],i=0}finally{r=n=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}},ea=function(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))[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))},es=function(){},el=function(){function e(t,r){this.params={context:{},imageProps:{},intersectionProps:{},domProps:{}},this.taskQueue=Promise.resolve();var i=null==(i=t.plugins||[])?void 0:i.map(function(t){var r=e.registeredPlugin.find(function(e){return e.pluginName===t});if(r)return r();throw Error("Plugin [".concat(t,"] has not registered."))});this.plugins=ea([X({name:"adapt",priority:100,context:{format:"image"},hooks:{created:function(e){var t,r,i=e.props,n=e.params;return q(this,void 0,void 0,function(){var e;return K(this,function(o){switch(o.label){case 0:return i.ssr?(this.format=C(null!=(t=i.formats)?t:[],i.ua),n.context.format=this.format,[3,3]):[3,1];case 1:var a,s;return e=this,[4,(a=null!=(t=i.formats)?t:[],s=n.context,b(void 0,void 0,void 0,function(){return w(this,function(e){switch(e.label){case 0:return[4,new Promise(function(e){b(void 0,void 0,void 0,function(){var t,r,i;return w(this,function(n){switch(n.label){case 0:"undefined"==typeof window&&e("image"),t=0,r=a,n.label=1;case 1:return t<r.length?[4,k(i=r[t],s)]:[3,4];case 2:if(n.sent())return e(i),[3,4];n.label=3;case 3:return t++,[3,1];case 4:return e("image"),[2]}})})})];case 1:return[2,e.sent()]}})}))];case 2:e.format=o.sent(),n.context.format=this.format,n.domProps.useCanvas=!(null==(r=n.context.canvasRenderFormat)||!r.has(this.format)),o.label=3;case 3:return[2]}})})},beforeRender:function(e){return e.props,e.params,q(this,void 0,void 0,function(){return K(this,function(e){return[2]})})}}}),X({name:"lazyload",priority:200,context:{isIntersected:!1,root:null,unobserve:void 0,setTarget:void 0},hooks:{created:function(e){return $(this,void 0,void 0,function(){return ee(this,function(e){return[2]})})},beforeRender:function(e,t){var r,i=e.props,n=e.params;return $(this,void 0,void 0,function(){var e,o,a,s,l,u,c=this;return ee(this,function(h){return this.root=null!=(r=i.lazyRoot)?r:null,o=Q(i.src),e="lazy"===i.loading||void 0===i.loading,(o.startsWith("data:")||o.startsWith("blob:"))&&(e=!1),"undefined"!=typeof window&&N.has(o)&&(e=!1),o=(!e||this.isIntersected)&&!!i.src,a=i.lazyRoot,s=i.lazyBoundary,u=!e,l=!z||u,this.root=null!=(r=i.lazyRoot)?r:null,u=function(r){c.unobserve&&(c.unobserve(),c.unobserve=void 0),l||c.isIntersected||null!=r&&r.tagName&&(c.unobserve=G(r,function(r){r&&(c.isIntersected=r,n.intersectionProps.isVisible=(!e||c.isIntersected)&&!!i.src,t())},{root:a,rootMargin:s}))},n.intersectionProps={isVisible:o,setTarget:u,resetIntersected:function(){c.isIntersected=!1,n.intersectionProps.isVisible=(!e||c.isIntersected)&&!!i.src,t()}},[2]})})}}}),X({name:"img",priority:300,context:{},hooks:{created:function(e){return e.props,e.params,er(this,void 0,void 0,function(){return ei(this,function(e){return[2]})})},beforeRender:function(e){var t=e.props,r=e.params;return er(this,void 0,void 0,function(){var e,i;return ei(this,function(n){return i=(e=Q(t.src)).startsWith("data:")||e.startsWith("blob:")||!!t.unoptimized,r.imageProps=et(et({},T({src:e,unoptimized:i,layout:t.layout,quality:t.quality,sizes:t.sizes,loader:t.loader,imageSizes:t.imageSizes,format:h[r.context.format],width:t.width,height:t.height,wrapperElement:t.wrapperElement})),{srcString:e,unoptimized:i}),[2]})})}}})],i,!0).sort(function(e,t){return e.priority-t.priority}),this.props=t,this.updateExternalState=r}return e.use=function(t){e.registeredPlugin.push(t)},e.prototype.updateProps=function(e){return en(this,void 0,void 0,function(){var t,r=this;return eo(this,function(i){return this.props=e,t=this.taskQueue.then(function(){return r.runHooks("created")}).then(function(){return r.runHooks("beforeRender")}),this.taskQueue=t.then(es,es),[2,t.then()]})})},e.prototype.runHooks=function(e){return en(this,void 0,void 0,function(){var t,r=this;return eo(this,function(i){switch(i.label){case 0:return t=this.getContext(),[4,Promise.all(this.plugins.reverse().map(function(i){return en(r,void 0,void 0,function(){var r,n;return eo(this,function(o){switch(o.label){case 0:return[4,null==(n=(r=i.hooks)[e])?void 0:n.call(r,t,this.update.bind(this))];case 1:return o.sent(),[2]}})})}))];case 1:return i.sent(),this.update(),[2]}})})},e.prototype.getContext=function(){return{props:this.props,params:this.params}},e.prototype.update=function(){this.updateExternalState(this.params)},e.registeredPlugin=[],e}(),eu=function(e){var t=e.imgStyle,r=e.errorDataURL,n=e.alt,e=e.error;return e?i.createElement("div",{style:{width:"100%",height:"100%",position:"absolute",top:0,left:0}},e):i.createElement("div",{style:o(o({},t||{}),{color:"#C9CDD4",backgroundColor:"#F7F8FA",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"})},i.createElement("div",{style:{maxWidth:"100%",maxHeight:"100%",width:"100%",lineHeight:0,fontSize:0,textAlign:"center"}},i.createElement("img",{style:{maxWidth:"60%",verticalAlign:"middle"},src:r||"data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiBzdHJva2U9IiNDOUNERDQiIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgc3Ryb2tlLXdpZHRoPSI0IiB2aWV3Qm94PSIwIDAgNDggNDgiIGFyaWEtaGlkZGVuPSJ0cnVlIiBmb2N1c2FibGU9ImZhbHNlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48cGF0aCBkPSJNNDEgMjZWOWEyIDIgMCAwIDAtMi0ySDlhMiAyIDAgMCAwLTIgMnYzMGEyIDIgMCAwIDAgMiAyaDE3Ij48L3BhdGg+PHBhdGggZD0ibTI0IDMzIDktOC41VjI3cy0yIDEtMy41IDIuNUMyNy44NDEgMzEuMTU5IDI3IDMzIDI3IDMzaC0zWm0wIDAtMy41LTQuNUwxNyAzM2g3WiI+PC9wYXRoPjxwYXRoIGZpbGw9IiNDOUNERDQiIHN0cm9rZT0ibm9uZSIgZD0iTTIwLjUgMjguNSAxNyAzM2g3bC0zLjUtNC41Wk0zMyAyNC41IDI0IDMzaDNzLjg0MS0xLjg0MSAyLjUtMy41QzMxIDI4IDMzIDI3IDMzIDI3di0yLjVaIj48L3BhdGg+PHBhdGggZmlsbD0iI0M5Q0RENCIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9Im5vbmUiIGQ9Ik00NiAzOGE4IDggMCAxIDEtMTYgMCA4IDggMCAwIDEgMTYgMFptLTQuOTUtNC43ODIgMS43NCAxLjc0LTMuMDQ1IDMuMDQ2IDMuMDQ2IDMuMDQ2LTEuNzQgMS43NC0zLjA0Ny0zLjA0NS0zLjA0NiAzLjA0Ni0xLjc0LTEuNzQgMy4wNDYtMy4wNDctMy4wNDYtMy4wNDYgMS43NC0xLjc0IDMuMDQ2IDMuMDQ2IDMuMDQ2LTMuMDQ2WiIgY2xpcC1ydWxlPSJldmVub2RkIj48L3BhdGg+PHBhdGggZD0iTTE3IDE1aC0ydjJoMnYtMloiPjwvcGF0aD48L3N2Zz4="})),n?i.createElement("div",{style:{fontSize:"12px",lineHeight:1.667,textAlign:"center",padding:"8px 16px",width:"100%",overflow:"hidden",textOverflow:"ellipsis"}},n):null)},ec={"imagex-type":"react","imagex-version":"0.0.0-feat-viewer-heif-support-20250516072926"},eh=function(e){function t(e){"empty"!==m&&g(!0),D(ed(e))}function r(e){return M(ed(e))}var n=e.src,s=e.imageProps,l=e.srcString,u=e.unoptimized,c=e.layout,h=e.placeholderStyle,d=e.imgStyle,A=e.isVisible,p=e.width,f=e.height,g=e.setPlaceholderComplete,m=e.placeholder,v=e.setTarget,y=e.onLoadingComplete,b=e.onLoad,w=e.onError,_=e.errorDataURL,x=e.error,S=e.alt,P=e.useCanvas,k=e.setCanvasEl,C=e.context,I=e.ssr,E=(e.ua,a(e,["src","imageProps","srcString","unoptimized","layout","placeholderStyle","imgStyle","isVisible","width","height","setPlaceholderComplete","placeholder","setTarget","onLoadingComplete","onLoad","onError","errorDataURL","error","alt","useCanvas","setCanvasEl","context","ssr","ua"])),j=(0,i.useState)(!1),N=j[0],O=j[1],j=function(e){var t=(0,i.useRef)(null);return(0,i.useCallback)(function(r){t.current&&(t.current(),t.current=null),r&&(t.current=e(r))},[e])}(function(e){if(e)return v(e),R(e)&&null!=e&&e.complete?H(e,g,m,y):L(e)&&(null!=k&&k(e),e.addEventListener("load",t),e.addEventListener("error",r)),function(){e.removeEventListener("load",t),e.removeEventListener("error",r)}}),A=o(o({},E),A?{src:s.src,srcSet:s.srcSet,sizes:s.sizes}:{src:n}),D=function(e){O(!1),H(e.currentTarget,g,m,y),null!=b&&b(e)},M=function(e){"empty"!==m&&l&&(g(!0),O(!0)),null!=w&&w(e)},N=N&&"raw"!==c,I=I||!1!==(null==C?void 0:C.tryHeif)&&(!0!==(null==C?void 0:C.tryHeif)||"heic"===C.format)?{}:((c={})["data-heif-demotion"]=1,c);return s&&u?i.createElement(i.Fragment,null,i.createElement("img",o({ref:j,decoding:"async",style:o(o({},d),h),width:p,height:f},ec,A,I,{onLoad:D,onError:M})),N?i.createElement(eu,{imgStyle:d,alt:S,errorDataURL:_,error:x}):null):s&&!s.srcString?i.createElement("img",o({},E,{src:n,style:o(o({},d),h),width:p,height:f},ec)):s&&P?i.createElement(i.Fragment,null,i.createElement("canvas",o({ref:j,style:o(o({},d),h),width:p,height:f,className:e.className},ec,I)),N?i.createElement(eu,{imgStyle:d,alt:S,errorDataURL:_,error:x}):null):i.createElement(i.Fragment,null,i.createElement("img",o({ref:j,decoding:"async",style:o(o({},d),h),width:p,height:f},ec,A,I,{onLoad:D,onError:M})),N?i.createElement(eu,{imgStyle:d,alt:S,errorDataURL:_,error:x}):null)};function ed(e){var t=!1,r=!1;return{nativeEvent:e,currentTarget:e.currentTarget,target:e.target,bubbles:e.bubbles,cancelable:e.cancelable,defaultPrevented:e.defaultPrevented,eventPhase:e.eventPhase,isTrusted:e.isTrusted,preventDefault:function(){t=!0,e.preventDefault()},isDefaultPrevented:function(){return t},stopPropagation:function(){r=!0,e.stopPropagation()},isPropagationStopped:function(){return r},persist:function(){},timeStamp:e.timeStamp,type:e.type}}var eA=i.memo(function(e){function t(e){m(o({},e.imageProps)),y(o({},e.intersectionProps)),w(o({},e.domProps)),x(o({},e.context))}function r(e){var t;null!=(t=null==v?void 0:v.setTarget)&&t.call(v,e)}var n,s,u,h=Object.assign({},c,l,e),d=(0,i.useRef)(),e=(0,i.useState)(!1),A=e[0],e=e[1],p=(0,i.useState)({}),g=p[0],m=p[1],p=(0,i.useState)(null),v=p[0],y=p[1],p=(0,i.useState)(null),b=p[0],w=p[1],p=(0,i.useState)(null),_=p[0],x=p[1],S=(0,i.useRef)(null),p=(0,i.useState)(),P=p[0],p=p[1],k=h.layout||(h.sizes?"responsive":"intrinsic"),C=J(k,h.width,h.height),L=(n=k,s={placeholder:h.placeholder,placeholderComplete:A},u={objectFit:h.objectFit,objectPosition:h.objectPosition},{layoutStyle:"raw"===n?{}:Object.assign({},f,u),placeholderStyle:"empty"===s.placeholder||s.placeholderComplete?{}:{filter:"blur(20px)",backgroundSize:u.objectFit||"cover",backgroundImage:'url("'.concat("skeleton"===s.placeholder?"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwLDAsMjAlLDEwMCUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgPGRlZnM+CiAgICA8bGluZWFyR3JhZGllbnQgaWQ9ImciPgogICAgICA8c3RvcCBzdG9wLWNvbG9yPSIjRjJGM0Y1IiBvZmZzZXQ9IjI1JSIgLz4KICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iI0U1RTZFQiIgb2Zmc2V0PSIzNyUiIC8+CiAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiNGMkYzRjUiIG9mZnNldD0iNjMlIiAvPgogICAgPC9saW5lYXJHcmFkaWVudD4KICA8L2RlZnM+CiAgPHJlY3QgaWQ9InIiIHdpZHRoPSI0MDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZykiIC8+CiAgPGFuaW1hdGUgeGxpbms6aHJlZj0iI3IiIGF0dHJpYnV0ZU5hbWU9IngiIGZyb209Ii0zMDAlIiB0bz0iMCUiIGR1cj0iMS41cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiICAvPgo8L3N2Zz4=":s.placeholder,'")'),backgroundPosition:u.objectPosition||"0% 0%"}}),R=(0,i.useMemo)(function(){return{formats:h.formats,src:h.src,unoptimized:h.unoptimized,layout:k,quality:h.quality,sizes:h.sizes,loader:h.loader,loading:h.loading,imageSizes:h.imageSizes,width:h.width,height:h.height,wrapperElement:S.current,lazyRoot:h.lazyRoot,lazyBoundary:h.lazyBoundary,plugins:h.plugins,pluginProps:h.pluginProps,useCanvas:!(null==b||!b.useCanvas),canvas:P,ssr:h.ssr,ua:h.ua}},[h.formats,h.src,h.unoptimized,k,h.quality,h.sizes,h.loader,h.imageSizes,h.width,h.height,h.lazyRoot,h.lazyBoundary,h.plugins,h.pluginProps,P,h.ssr,h.ua]),I=(h.lazyBoundary,h.lazyRoot,h.onLoadingComplete,h.unoptimized,h.src,h.objectFit,h.objectPosition,h.loading,h.pluginProps,h.plugins,h.loader,h.imageSizes,a(h,["lazyBoundary","lazyRoot","onLoadingComplete","unoptimized","src","objectFit","objectPosition","loading","pluginProps","plugins","loader","imageSizes"])),A=(0,i.useMemo)(function(){return o(o({},I),{src:B(h.width,h.height),imageProps:g,context:_,srcString:null==g?void 0:g.srcString,isVisible:null==v?void 0:v.isVisible,unoptimized:null==g?void 0:g.unoptimized,errorDataURL:h.errorDataURL,placeholderStyle:L.placeholderStyle,imgStyle:Object.assign({},h.style,L.layoutStyle),width:h.width,height:h.height,layout:k,useCanvas:null==b?void 0:b.useCanvas})},[k,g,L.layoutStyle,L.placeholderStyle,null==v?void 0:v.isVisible,null==b?void 0:b.useCanvas,h]);return(0,i.useEffect)(function(){d.current||(d.current=new el(R,t)),d.current.updateProps(R)},[R,!(null==v||!v.isVisible)]),(0,i.useEffect)(function(){var e;null!=(e=null==v?void 0:v.resetIntersected)&&e.call(v)},[null==g?void 0:g.srcString]),"raw"===k?i.createElement(eh,o({},A,{setPlaceholderComplete:e,setTarget:r,error:h.error,onLoad:h.onLoad,onError:h.onError,onLoadingComplete:h.onLoadingComplete,setCanvasEl:p})):i.createElement("span",{ref:S,style:C.wrapperStyle},C.hasSizer?i.createElement("span",{style:C.sizerStyle},C.sizerSvgUrl?i.createElement("img",{style:C.sizerImgStyle,alt:"sizer","aria-hidden":!0,src:C.sizerSvgUrl}):null):null,i.createElement(eh,o({},A,{setPlaceholderComplete:e,setTarget:r,error:h.error,onLoad:h.onLoad,onError:h.onError,onLoadingComplete:h.onLoadingComplete,setCanvasEl:p})))}),ep=(eA.usePlugin=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];el.use.apply(el,e)},eA)},996643:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UAComponent=void 0;let i=r(547646);class n extends i.CustomComponent{getValue(){let e="";return"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.userAgent)&&(e=navigator.userAgent),e}}t.UAComponent=n},602767:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.x64Hash128=void 0;let i=r(66472);t.x64Hash128=i.murmurX64Hash128},684667:function(e){"use strict";e.exports=function(e,t){for(var r=Array(arguments.length-1),i=0,n=2,o=!0;n<arguments.length;)r[i++]=arguments[n++];return new Promise(function(n,a){r[i]=function(e){if(o){if(o=!1,e)a(e);else{for(var t=Array(arguments.length-1),r=0;r<t.length;)t[r++]=arguments[r];n.apply(null,t)}}};try{e.apply(t||null,r)}catch(e){o&&(o=!1,a(e))}})}},205859:function(e,t){"use strict";t.Z=!1},483803:function(e,t,r){"use strict";r.d(t,{_:function(){return s}});var i=r(315355),n=r(919209),o=r(272787),a=r(38361),s=function(){function e(){(0,i.Z)(this,e),(0,o.Z)(this,"incompatibleTokens",void 0),(0,o.Z)(this,"priority",void 0),(0,o.Z)(this,"subPriority",void 0)}return(0,n.Z)(e,[{key:"run",value:function(e,t,r,i){var n=this.parse(e,t,r,i);return n?{setter:new a.gr(n.value,this.validate,this.set,this.priority,this.subPriority),rest:n.rest}:null}},{key:"validate",value:function(e,t,r){return!0}}]),e}()},799599:function(e,t,r){"use strict";var i=r(177405).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(142945)),o=i(r(185086)),a={ordinalNumber:(0,o.default)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,n.default)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,n.default)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,n.default)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,n.default)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,n.default)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};t.default=a,e.exports=t.default},247390:function(e,t,r){"use strict";var i=r(666599);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an Object");return e}},254091:function(e,t,r){var i=r(518869)(r(956823),"Map");e.exports=i},793116:function(e){e.exports=function(e,t){for(var r=-1,i=null==e?0:e.length;++r<i&&!1!==t(e[r],r,e););return e}},117161:function(e){e.exports=function(e,t,r,i){for(var n=e.length,o=r+(i?1:-1);i?o--:++o<n;)if(t(e[o],o,e))return o;return -1}},543860:function(e,t,r){var i=r(469616),n=r(488706),o=r(412818),a=r(812958),s=r(746170);e.exports=function(e,t,r,l){if(!a(e))return e;t=n(t,e);for(var u=-1,c=t.length,h=c-1,d=e;null!=d&&++u<c;){var A=s(t[u]),p=r;if("__proto__"===A||"constructor"===A||"prototype"===A)break;if(u!=h){var f=d[A];void 0===(p=l?l(f,A,d):void 0)&&(p=a(f)?f:o(t[u+1])?[]:{})}i(d,A,p),d=d[A]}return e}},757986:function(e,t,r){var i=r(617883),n=1/0;e.exports=function(e){return(null==e?0:e.length)?i(e,n):[]}},639763:function(e){"use strict";var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=!function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var i=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==i.join(""))return!1;var n={};if("abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},n)).join(""))return!1;return!0}catch(e){return!1}}()?function(e,n){for(var o,a,s=function(e){if(null==e)throw TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var u in o=Object(arguments[l]),o)r.call(o,u)&&(s[u]=o[u]);if(t){a=t(o);for(var c=0;c<a.length;c++)i.call(o,a[c])&&(s[a[c]]=o[a[c]])}}return s}:Object.assign},536798:function(){!function(){if("undefined"!=typeof Prism&&"undefined"!=typeof document){var e="line-numbers",t=/\n(?!$)/g,r=Prism.plugins.lineNumbers={getLine:function(t,r){if("PRE"===t.tagName&&t.classList.contains(e)){var i=t.querySelector(".line-numbers-rows");if(i){var n=parseInt(t.getAttribute("data-start"),10)||1,o=n+(i.children.length-1);r<n&&(r=n),r>o&&(r=o);var a=r-n;return i.children[a]}}},resize:function(e){n([e])},assumeViewportIndependence:!0},i=void 0;window.addEventListener("resize",function(){r.assumeViewportIndependence&&i===window.innerWidth||(i=window.innerWidth,n(Array.prototype.slice.call(document.querySelectorAll("pre.line-numbers"))))}),Prism.hooks.add("complete",function(r){if(r.code){var i=r.element,o=i.parentNode;if(o&&/pre/i.test(o.nodeName)&&!i.querySelector(".line-numbers-rows")&&Prism.util.isActive(i,e)){i.classList.remove(e),o.classList.add(e);var a,s=r.code.match(t),l=Array((s?s.length+1:1)+1).join("<span></span>");(a=document.createElement("span")).setAttribute("aria-hidden","true"),a.className="line-numbers-rows",a.innerHTML=l,o.hasAttribute("data-start")&&(o.style.counterReset="linenumber "+(parseInt(o.getAttribute("data-start"),10)-1)),r.element.appendChild(a),n([o]),Prism.hooks.run("line-numbers",r)}}}),Prism.hooks.add("line-numbers",function(e){e.plugins=e.plugins||{},e.plugins.lineNumbers=!0})}function n(e){if(0!=(e=e.filter(function(e){var t=(e?window.getComputedStyle?getComputedStyle(e):e.currentStyle||null:null)["white-space"];return"pre-wrap"===t||"pre-line"===t})).length){var r=e.map(function(e){var r=e.querySelector("code"),i=e.querySelector(".line-numbers-rows");if(r&&i){var n=e.querySelector(".line-numbers-sizer"),o=r.textContent.split(t);n||((n=document.createElement("span")).className="line-numbers-sizer",r.appendChild(n)),n.innerHTML="0",n.style.display="block";var a=n.getBoundingClientRect().height;return n.innerHTML="",{element:e,lines:o,lineHeights:[],oneLinerHeight:a,sizer:n}}}).filter(Boolean);r.forEach(function(e){var t=e.sizer,r=e.lines,i=e.lineHeights,n=e.oneLinerHeight;i[r.length-1]=void 0,r.forEach(function(e,r){if(e&&e.length>1){var o=t.appendChild(document.createElement("span"));o.style.display="block",o.textContent=e}else i[r]=n})}),r.forEach(function(e){for(var t=e.sizer,r=e.lineHeights,i=0,n=0;n<r.length;n++)void 0===r[n]&&(r[n]=t.children[i++].getBoundingClientRect().height)}),r.forEach(function(e){var t=e.sizer,r=e.element.querySelector(".line-numbers-rows");t.style.display="none",t.innerHTML="",e.lineHeights.forEach(function(e,t){r.children[t].style.height=e+"px"})})}}}()},999878:function(e,t,r){"use strict";e.exports=h;var i,n=r(570581),o=n.LongBits,a=n.base64,s=n.utf8;function l(e,t,r){this.fn=e,this.len=t,this.next=void 0,this.val=r}function u(){}function c(e){this.head=e.head,this.tail=e.tail,this.len=e.len,this.next=e.states}function h(){this.len=0,this.head=new l(u,0,0),this.tail=this.head,this.states=null}var d=function(){return n.Buffer?function(){return(h.create=function(){return new i})()}:function(){return new h}};function A(e,t,r){t[r]=255&e}h.create=d(),h.alloc=function(e){return new n.Array(e)},n.Array!==Array&&(h.alloc=n.pool(h.alloc,n.Array.prototype.subarray)),h.prototype._push=function(e,t,r){return this.tail=this.tail.next=new l(e,t,r),this.len+=t,this};function p(e,t){this.len=e,this.next=void 0,this.val=t}function f(e,t,r){for(;e.hi;)t[r++]=127&e.lo|128,e.lo=(e.lo>>>7|e.hi<<25)>>>0,e.hi>>>=7;for(;e.lo>127;)t[r++]=127&e.lo|128,e.lo=e.lo>>>7;t[r++]=e.lo}function g(e,t,r){t[r]=255&e,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24}p.prototype=Object.create(l.prototype),p.prototype.fn=function(e,t,r){for(;e>127;)t[r++]=127&e|128,e>>>=7;t[r]=e},h.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new p((e>>>=0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this},h.prototype.int32=function(e){return e<0?this._push(f,10,o.fromNumber(e)):this.uint32(e)},h.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)},h.prototype.uint64=function(e){var t=o.from(e);return this._push(f,t.length(),t)},h.prototype.int64=h.prototype.uint64,h.prototype.sint64=function(e){var t=o.from(e).zzEncode();return this._push(f,t.length(),t)},h.prototype.bool=function(e){return this._push(A,1,e?1:0)},h.prototype.fixed32=function(e){return this._push(g,4,e>>>0)},h.prototype.sfixed32=h.prototype.fixed32,h.prototype.fixed64=function(e){var t=o.from(e);return this._push(g,4,t.lo)._push(g,4,t.hi)},h.prototype.sfixed64=h.prototype.fixed64,h.prototype.float=function(e){return this._push(n.float.writeFloatLE,4,e)},h.prototype.double=function(e){return this._push(n.float.writeDoubleLE,8,e)};var m=n.Array.prototype.set?function(e,t,r){t.set(e,r)}:function(e,t,r){for(var i=0;i<e.length;++i)t[r+i]=e[i]};h.prototype.bytes=function(e){var t=e.length>>>0;if(!t)return this._push(A,1,0);if(n.isString(e)){var r=h.alloc(t=a.length(e));a.decode(e,r,0),e=r}return this.uint32(t)._push(m,t,e)},h.prototype.string=function(e){var t=s.length(e);return t?this.uint32(t)._push(s.write,t,e):this._push(A,1,0)},h.prototype.fork=function(){return this.states=new c(this),this.head=this.tail=new l(u,0,0),this.len=0,this},h.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new l(u,0,0),this.len=0),this},h.prototype.ldelim=function(){var e=this.head,t=this.tail,r=this.len;return this.reset().uint32(r),r&&(this.tail.next=e.next,this.tail=t,this.len+=r),this},h.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),r=0;e;)e.fn(e.val,t,r),r+=e.len,e=e.next;return t},h._configure=function(e){i=e,h.create=d(),i._configure()}},707285:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var i=r(678305),n=r(697233),o=r(29245),a=r(209653);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!==s(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!==s(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===s(t)?t:String(t)}(i.key),i)}}function u(){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=h(e)););return e}(e,t);if(i){var n=Object.getOwnPropertyDescriptor(i,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}}).apply(this,arguments)}function c(e,t){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(f,e);var t,r,o,d,A,p=(t=f,r=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,i=h(t);return e=r?Reflect.construct(i,arguments,h(this).constructor):i.apply(this,arguments),function(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function f(){return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,f),p.apply(this,arguments)}return o=f,d=[{key:"beforeCreate",value:function(e){"boolean"==typeof e.player.config.screenShot&&(e.config.disable=!e.player.config.screenShot)}},{key:"afterCreate",value:function(){u(h(f.prototype),"afterCreate",this).call(this),this.createCanvas(),this.appendChild(".xgplayer-icon",this.icons.screenshotIcon);var e=this.config;this.initSize=function(t){e.fitVideo&&(e.width=t.vWidth,e.height=t.vHeight)},this.once(i.km,this.initSize)}},{key:"onPluginsReady",value:function(){this.show(),this.onClickBtn=this.onClickBtn.bind(this),this.bind(["click","touchend"],this.onClickBtn)}},{key:"saveScreenShot",value:function(e,t){var r=document.createElement("a");r.href=e,r.download=t;var i=document.createEvent("MouseEvents");i.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),r.dispatchEvent(i)}},{key:"createCanvas",value:function(e,t){var r=document.createElement("canvas");this.canvasCtx=r.getContext("2d"),this.canvas=r,r.width=e||this.config.width,r.height=t||this.config.height,this.config.canvasAdded&&this.player.root.appendChild(r)}},{key:"onClickBtn",value:function(e){var t=this;e.preventDefault(),e.stopPropagation(),this.emitUserAction(e,"shot"),this.shot().then(function(e){t.emit(i.xO,e),t.saveScreenShot(e,t.config.name+t.config.format)})}},{key:"shotArea",value:function(e,t,r,i){var n=this,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{quality:.92,type:"image/png"},s=this.config,l=this.player,u=o.quality||s.quality,c=o.type||s.type,h=l.video||l.media,d=this.canvas;return new Promise(function(o){var s=n.canvasCtx;d.width=r,d.height=i;var l=(0,a.Y)(h),A=l.isContain,p=l.isCover;if(A){var f=h.videoHeight/h.videoWidth,g=h.clientHeight/h.clientWidth,m=f;m=g>f?h.videoWidth/h.clientWidth:h.videoHeight/h.clientHeight,d.width=r,d.height=i,s.drawImage(h,e*m,t*m,r*m,i*m,0,0,r,i),o(d.toDataURL(c,u))}else if(p){var v=(0,a.I)(h.clientWidth,h.clientHeight,h.videoWidth,h.videoHeight),y=v.source,b=v.destination;d.width=b.width,d.height=b.height,s.drawImage(h,y.x,y.y,y.width,y.height,b.x,b.y,b.width,b.height);var w=d.toDataURL("image/png"),_=new Image(b.width,b.height);_.src=w,_.onload=function(){s.clearRect(0,0,d.width,d.height),d.width=r,d.height=i,s.drawImage(_,e,t,r,i,0,0,r,i),_.onload=null},s.drawImage(h,e,t,r,i,0,0,r,i),o(d.toDataURL(c,u))}})}},{key:"shot",value:function(e,t){var r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{quality:.92,type:"image/png"},n=this.config,o=this.player,a=i.quality||n.quality,s=i.type||n.type;return new Promise(function(i,l){r.canvas?(r.canvas.width=e||n.width,r.canvas.height=t||n.height):r.createCanvas(e,t),r.canvasCtx.drawImage(o.video,0,0,e||n.width,t||n.height);var u=r.canvas.toDataURL(s,a).replace(s,"image/octet-stream");i(u=u.replace(/^data:image\/[^;]+/,"data:application/octet-stream"))})}},{key:"registerIcons",value:function(){return{screenshotIcon:null}}},{key:"destroy",value:function(){u(h(f.prototype),"destroy",this).call(this),this.unbind(["click","touchend"],this.onClickBtn),this.off(i.km,this.initSize)}},{key:"render",value:function(){if(!this.config.disable&&!!this.config.showIcon){var e=this.icons.screenshotIcon?"xgplayer-icon":"xgplayer-icon btn-text",t="SCREENSHOT";return'\n <xg-icon class="xgplayer-shot">\n <div class="'.concat(e,'">\n ').concat(this.icons.screenshotIcon?"":'<span lang-key="'.concat(this.i18nKeys[t],'">').concat(this.i18n[t],"</span>")," \n </div>\n </xg-icon>")}}}],A=[{key:"pluginName",get:function(){return"screenShot"}},{key:"defaultConfig",get:function(){return{position:n.kd.CONTROLS_RIGHT,index:5,quality:.92,type:"image/png",format:".png",width:600,height:337,fitVideo:!0,disable:!1,name:"screenshot",showIcon:!0,canvasCreated:!1,canvasAdded:!1}}}],d&&l(o.prototype,d),A&&l(o,A),Object.defineProperty(o,"prototype",{writable:!1}),f}(o.Z)},358194:function(e,t,r){"use strict";r.r(t)},833255:function(e,t,r){"use strict";r.r(t)},398812:function(e,t,r){"use strict";r.r(t)},436808:function(e,t){"use strict";t.Z=e=>{let{index:t,data:r,style:i}=e,{visibleOptions:n,renderOption:o}=r;return o(n[t],t,i)}},400937:function(e,t,r){"use strict";r(932651);var i=r(101199),n=r(392129),o=r(859725);t.Z=e=>i.createElement(n.Z.Title,Object.assign({heading:5,className:`${o.U.PREFIX}-component-header`},e))},917966:function(e,t,r){"use strict";r.d(t,{Dx:function(){return m},Ee:function(){return g},nv:function(){return y},qE:function(){return f},zx:function(){return v}}),r(932651),r(490629);var i=r(101199),n=r(469935),o=r.n(n),a=r(622689),s=r.n(a),l=r(548924),u=r(14010);r(225511);var 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 h=u.j.SIZE,d=u.j.SHAPE,A=e=>t=>r=>i.createElement(t,Object.assign({type:e},r));class p extends i.PureComponent{render(){let e=this.props,{prefixCls:t,className:r,type:n,size:a,shape:s}=e,l=c(e,["prefixCls","className","type","size","shape"]),u=o()(r,`${t}-${n}`,{[`${t}-${n}-${a}`]:"AVATAR"===n.toUpperCase()},{[`${t}-${n}-${s}`]:"AVATAR"===n.toUpperCase()});return i.createElement("div",Object.assign({className:u},l))}}p.propTypes={type:s().string,prefixCls:s().string,style:s().object,className:s().string,size:s().oneOf(h),shape:s().oneOf(d)},p.defaultProps={prefixCls:l.U.PREFIX,size:"medium",shape:"circle"};let f=A("avatar")(p),g=A("image")(p),m=A("title")(p),v=A("button")(p);class y extends i.PureComponent{render(){let{prefixCls:e,className:t,style:r,rows:n}=this.props,a=o()(t,`${e}-paragraph`);return i.createElement("ul",{className:a,style:r},[...Array(n)].map((e,t)=>i.createElement("li",{key:t})))}}y.propTypes={rows:s().number,prefixCls:s().string,style:s().object,className:s().string},y.defaultProps={prefixCls:l.U.PREFIX,rows:4}},189921:function(e,t,r){"use strict";r(932651);var i=r(101199),n=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};t.Z=e=>{let{className:t,style:r}=e,o=n(e,["className","style"]);return i.createElement("svg",Object.assign({"aria-hidden":!0,className:t,style:r},o,{width:"24",height:"7",viewBox:"0 0 24 7",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}),i.createElement("path",{d:"M24 0V1C20 1 18.5 2 16.5 4C14.5 6 14 7 12 7C10 7 9.5 6 7.5 4C5.5 2 4 1 0 1V0H24Z"}))}},511979:function(e,t,r){"use strict";r.d(t,{C:function(){return o}});var i=r(480333);r(88856),r(679308);var n=r(734362);class o{register(e){if(!e.sampleRate&&(e.sampleRate=e.ctx.sampleRate),void 0===e.channelCount){var t;e.channelCount=(null===(t=e.track)||void 0===t?void 0:t.getSettings().channelCount)||0}this.store.register(e),this.setStatus(e,"idle")}setStatus(e,t){var r;let i="string"==typeof e?e:e.id,n=this.store.get(i);if(!!n)(null===(r=n.ctx)||void 0===r?void 0:r.state)==="running"&&"idle"===t?n.ctx.suspend().then(()=>{this.store.setStatus(i,t)}).catch(e=>{var t;null===(t=n.ctx)||void 0===t||t.close().catch(()=>{}).finally(()=>{this.store.delete(i)})}):this.store.setStatus(i,t)}hasIdleTracks(e,t){return this.store.hasIdleTracks(e,t)}getIdleTracks(e,t){return this.store.getIdleTracks(e,t)}get(e){if("string"==typeof e)return this.store.get(e)}constructor(e="playerActxs"){(0,i._)(this,"store",void 0),this.store=new n.h(e)}}},130847:function(e,t,r){"use strict";r(706056),r(932651),r(374954),r(490629),r(414931);var i=r(812958),n=r.n(i),o=r(92122),a=r.n(o),s=r(243392),l=r.n(s),u=r(22186),c=r.n(u),h=r(856445),d=r(182811),A=r(108220);class p extends h.Z{init(){let e;this._setDropdownWidth();let{defaultOpen:t,data:r,defaultValue:i,value:n}=this.getProps();if(r&&r.length){let e=this._generateList(r);this._adapter.updateOptionList(e)}t&&this.openDropdown(),void 0!==i&&(e=i),void 0!==n&&(e=n),void 0!==e&&this.handleValueChange(e)}destroy(){this._adapter.unregisterClickOutsideHandler()}_setDropdownWidth(){let e;let{style:t,dropdownMatchSelectWidth:r}=this.getProps();r&&(e=t&&l()(t.width)?t.width:t&&c()(t.width)&&!t.width.includes("%")?t.width:this._adapter.getTriggerWidth(),this._adapter.setOptionWrapperWidth(e))}handleInputClick(e){let{options:t}=this.getStates(),{disabled:r}=this.getProps();!r&&(this.isPanelOpen?this.closeDropdown():this.openDropdown())}openDropdown(){this.isPanelOpen=!0,this._adapter.toggleListVisible(!0),this._setDropdownWidth(),this._adapter.registerClickOutsideHandler(e=>this.closeDropdown(e)),this._adapter.notifyDropdownVisibleChange(!0),this._modifyFocusIndexOnPanelOpen()}closeDropdown(e){this.isPanelOpen=!1,this._adapter.toggleListVisible(!1),this._adapter.unregisterClickOutsideHandler(),this._adapter.notifyDropdownVisibleChange(!1)}_generateList(e){let{renderItem:t}=this.getProps(),r=[];return e&&e.length&&e.forEach((e,i)=>{let o=String(new Date().getTime())+i,s={};c()(e)||l()(e)?s={value:e,key:o,label:e,show:!0}:n()(e)&&!a()(e.value)&&(s=Object.assign({show:!0},e)),t&&"function"==typeof t&&(s.label=t(e)),r.push(s)}),r}handleSearch(e){this._adapter.updateInputValue(e),this._adapter.notifySearch(e),this._adapter.notifyChange(e),this._modifyFocusIndex(e),!this.isPanelOpen&&this.openDropdown()}handleSelect(e,t){let{renderSelectedItem:r}=this.getProps(),i="";r&&"function"==typeof r?(i=r(e),(0,d.Z)("string"!=typeof i,"Warning: [Semi AutoComplete] renderSelectedItem must return string, please check your function return")):i=e.value,this._isControlledComponent()?(this.closeDropdown(),this.notifySelect(e)):(this._adapter.updateInputValue(i),this.updateSelection(e),this.notifySelect(e),this.closeDropdown()),this._adapter.notifyChange(i),this._adapter.updateFocusIndex(t)}updateSelection(e){let t=new Map;e&&t.set(e.label,e),this._adapter.updateSelection(t)}notifySelect(e){this._backwardLabelInValue()?this._adapter.notifySelect(e):this._adapter.notifySelect(e.value)}_backwardLabelInValue(){let{onSelectWithObject:e}=this.getProps();return e}handleDataChange(e){let t=this._generateList(e);this._adapter.updateOptionList(t),this._adapter.rePositionDropdown()}handleValueChange(e){let{data:t,defaultActiveFirstOption:r}=this.getProps(),i="";i=this._backwardLabelInValue()&&"[object Object]"===Object.prototype.toString.call(e)?e.value:e;let n=this._getRenderSelectedItem(),o=this._generateList(t),a=o.length?o.filter(e=>n(e)===i):[],s=a.length,l=o.findIndex(e=>n(e)===i),u="";u=s?n(a=a[0]):n(this._backwardLabelInValue()?e:{label:i,value:i}),this._adapter.updateInputValue(u),this.updateSelection(s?a:null),-1===l&&r?this._adapter.updateFocusIndex(0):this._adapter.updateFocusIndex(l)}_modifyFocusIndex(e){let{focusIndex:t}=this.getStates(),{data:r,defaultActiveFirstOption:i}=this.getProps(),n=-1;if(e){let t=this._getRenderSelectedItem();n=this._generateList(r).findIndex(r=>t(r)===e)}-1===n&&i?0!==t&&this._adapter.updateFocusIndex(0):n!==t&&this._adapter.updateFocusIndex(n)}_modifyFocusIndexOnPanelOpen(){let{inputValue:e}=this.getStates();this._modifyFocusIndex(e)}_getRenderSelectedItem(){let{renderSelectedItem:e}=this.getProps();return void 0===e?e=e=>null==e?void 0:e.value:e&&typeof e,e}handleClear(){this._adapter.notifyClear()}bindKeyBoardEvent(){this._keydownHandler=e=>{this._handleKeyDown(e)},this._adapter.registerKeyDown(this._keydownHandler)}_handleKeyDown(e){let t=e.keyCode,{visible:r}=this.getStates();switch(t){case A.ZP.UP:e.preventDefault(),this._handleArrowKeyDown(-1);break;case A.ZP.DOWN:e.preventDefault(),this._handleArrowKeyDown(1);break;case A.ZP.ENTER:e.preventDefault(),this._handleEnterKeyDown();break;case A.ZP.ESC:case A.ZP.TAB:this.closeDropdown()}this._adapter.notifyKeyDown(e)}_getEnableFocusIndex(e){let{focusIndex:t,options:r}=this.getStates(),i=r.filter(e=>e.show),n=i.length,o=t+e;if(o<0&&(o=n-1),o>=n&&(o=0),e>0){let e=-1;for(let t=0;t<i.length&&(!i[t].disabled&&(e=t),!(e>=o));t++);o=e}else{let e=i.length;for(let t=n-1;t>=0&&(!i[t].disabled&&(e=t),!(e<=o));t--);o=e}this._adapter.updateFocusIndex(o),this._adapter.updateScrollTop(o)}_handleArrowKeyDown(e){let{visible:t}=this.getStates();t?this._getEnableFocusIndex(e):this.openDropdown()}_handleEnterKeyDown(){let{visible:e,options:t,focusIndex:r}=this.getStates();if(e){if(void 0!==r&&-1!==r&&0!==t.length){let e=t.filter(e=>e.show)[r];this.handleSelect(e,r)}else this.closeDropdown()}else this.openDropdown()}handleOptionMouseEnter(e){this._adapter.updateFocusIndex(e)}handleFocus(e){this.bindKeyBoardEvent(),this._adapter.notifyFocus(e)}handleBlur(e){this._persistEvent(e),this._adapter.notifyBlur(e)}constructor(e){super(Object.assign({},e)),this.isPanelOpen=!1}}t.Z=p},98512:function(e,t,r){"use strict";r.d(t,{U:function(){return n}});var i=r(707852);let n={PREFIX:`${i.T}-collapsible`}},961768:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}}),r(932651);var i=r(812958),n=r.n(i),o=r(856445);class a extends o.Z{constructor(e){super(Object.assign({},e)),this.handleClick=e=>{let{imageID:t,preview:r}=this.getProps();if(!!r)if(this._adapter.getIsInGroup()){let{setCurrentIndex:e,handleVisibleChange:r}=this._adapter.getContexts();e(t),r(!0)}else this.handlePreviewVisibleChange(!0)},this.handleLoaded=e=>{let{onLoad:t}=this.getProps();t&&t(e),this.setState({loadStatus:"success"})},this.handleError=e=>{let{onError:t}=this.getProps();t&&t(e),this.setState({loadStatus:"error"})},this.handlePreviewVisibleChange=e=>{let{preview:t}=this.getProps();if(n()(t)){let{onVisibleChange:r}=t;r&&r(e),!("visible"in t)&&this.setState({previewVisible:e})}else this.setState({previewVisible:e})}}}},780406:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}}),r(14275),r(759943),r(683656),r(559561),r(932651),r(706056);var i=r(85079),n=r.n(i),o=r(198412),a=r.n(o),s=r(856445),l=r(114376);let u={TOP:/top/i,RIGHT:/right/i,BOTTOM:/bottom/i,LEFT:/left/i},c={left:0,top:0,height:0,width:0,scrollLeft:0,scrollTop:0};class h extends s.Z{init(){let{wrapperId:e}=this.getProps();this._mounted=!0,this._bindEvent(),this._shouldShow(),this._initContainerPosition(),!e&&this._adapter.setId()}destroy(){this._mounted=!1,this.unBindEvent()}_bindEvent(){let e=this.getProp("trigger"),{triggerEventSet:t,portalEventSet:r}=this._generateEvent(e);this._bindTriggerEvent(t),this._bindPortalEvent(r),this._bindResizeEvent()}unBindEvent(){this._adapter.unregisterClickOutsideHandler(),this.unBindResizeEvent(),this.unBindScrollEvent(),clearTimeout(this._timer)}_bindTriggerEvent(e){this._adapter.registerTriggerEvent(e)}_bindPortalEvent(e){this._adapter.registerPortalEvent(e)}_bindResizeEvent(){this._adapter.registerResizeHandler(this.onResize)}unBindResizeEvent(){this._adapter.unregisterResizeHandler(this.onResize)}_adjustPos(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"reverse",i=arguments.length>3?arguments[3]:void 0;switch(r){case"reverse":default:return this._reversePos(e,t);case"expand":return this._expandPos(e,i);case"reduce":return this._reducePos(e)}}_reversePos(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t){if(u.TOP.test(e))return e.replace("top","bottom").replace("Top","Bottom");if(u.BOTTOM.test(e))return e.replace("bottom","top").replace("Bottom","Top")}else if(u.LEFT.test(e))return e.replace("left","right").replace("Left","Right");else if(u.RIGHT.test(e))return e.replace("right","left").replace("Right","Left");return e}_expandPos(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return e.concat(t)}_reducePos(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=["Top","Bottom","Left","Right"].find(t=>e.endsWith(t));return t?e.replace(t,""):e}clearDelayTimer(){this._timer&&(clearTimeout(this._timer),this._timer=null)}_generateEvent(e){let t=this._adapter.getEventName(),r={[t.keydown]:e=>{this._handleTriggerKeydown(e)}},i={};switch(e){case"focus":r[t.focus]=()=>{this.delayShow()},r[t.blur]=()=>{this.delayHide()},i=r;break;case"click":r[t.click]=()=>{this.show()},i={};break;case"hover":r[t.mouseEnter]=()=>{this.setCache("isClickToHide",!1),this.delayShow()},r[t.mouseLeave]=()=>{this.delayHide()},r[t.focus]=()=>{let{disableFocusListener:e}=this.getProps();e||this.delayShow()},r[t.blur]=()=>{let{disableFocusListener:e}=this.getProps();e||this.delayHide()},i=Object.assign({},r),this.getProp("clickToHide")&&(i[t.click]=()=>{this.setCache("isClickToHide",!0),this.hide()},i[t.mouseEnter]=()=>{if(!this.getCache("isClickToHide"))this.delayShow()});break;case"custom":break;case"contextMenu":r[t.contextMenu]=e=>{e.preventDefault(),this.show()}}return{triggerEventSet:r,portalEventSet:i}}_shouldShow(){this.getProp("visible")&&this.show()}_togglePortalVisible(e){let t=this.getState("visible"),r=this.getState("isInsert");(t!==e||r!==e)&&this._adapter.togglePortalVisible(e,()=>{e&&this._adapter.setInitialFocus(),this._adapter.notifyVisibleChange(e)})}_roundPixel(e){return"number"==typeof e?Math.round(e):e}calcTransformOrigin(e,t,r,i){if(e&&t&&null!=r&&null!=i){if(this.getProp("transformFromCenter")){if(["topLeft","bottomLeft"].includes(e))return`${this._roundPixel(t.width/2)}px ${-(100*i)}%`;if(["topRight","bottomRight"].includes(e))return`calc(100% - ${this._roundPixel(t.width/2)}px) ${-(100*i)}%`;if(["leftTop","rightTop"].includes(e))return`${-(100*r)}% ${this._roundPixel(t.height/2)}px`;if(["leftBottom","rightBottom"].includes(e))return`${-(100*r)}% calc(100% - ${this._roundPixel(t.height/2)}px)`}return`${-(100*r)}% ${-(100*i)}%`}return null}calcPosStyle(e){var t;let r,i;let{spacing:o,isOverFlow:s}=e,{innerWidth:l}=window,u=(n()(e.triggerRect)?e.triggerRect:this._adapter.getTriggerBounding())||Object.assign({},c),h=(n()(e.containerRect)?e.containerRect:this._adapter.getPopupContainerRect())||Object.assign({},c),d=(n()(e.wrapperRect)?e.wrapperRect:this._adapter.getWrapperBounding())||Object.assign({},c),A=null!=e.position?e.position:this.getProp("position"),p=null!=o?o:this.getProp("spacing"),{arrowPointAtCenter:f,showArrow:g,arrowBounding:m}=this.getProps(),v=g&&f,y=p,b=0;if("number"!=typeof p){let e=A.includes("top")||A.includes("bottom");y=e?p.y:p.x,b=e?p.x:p.y}let w=a()(m,"width",24),_=a()(m,"width",24),x=a()(m,"offsetY",0),S=0,P=0,k=u.left+u.width/2,C=u.top+u.height/2,L=6+w/2,R=6+_/2,I=d.height-h.height,E=d.width-h.width,j=I>0?I:0,N=E>0?E:0,O=s&&s[0],D=s&&s[1],M=k-h.left<h.right-k,T=C-h.top<h.bottom-C,H=d.width>l,B=Math.abs((null==d?void 0:d.width)-(null===(t=this._adapter.getContainer())||void 0===t?void 0:t.clientWidth))>1;switch(B&&(y=y*d.width/this._adapter.getContainer().clientWidth),A){case"top":r=D?M?h.left+d.width/2:h.right-d.width/2+N:k+b,i=O?h.bottom+j:u.top-y,S=-.5,P=-1;break;case"topLeft":r=D?H?h.left:h.right-d.width:v?k-L+b:u.left+b,i=O?h.bottom+j:u.top-y,P=-1;break;case"topRight":r=D?h.right+N:v?k+L+b:u.right+b,i=O?h.bottom+j:u.top-y,P=-1,S=-1;break;case"left":r=D?h.right+N-y+L:u.left-y,i=O?T?h.top+d.height/2:h.bottom-d.height/2+j:C+b,S=-1,P=-.5;break;case"leftTop":r=D?h.right+N-y+L:u.left-y,i=O?h.top:v?C-R+b:u.top+b,S=-1;break;case"leftBottom":r=D?h.right+N-y+L:u.left-y,i=O?h.bottom+j:v?C+R+b:u.bottom+b,S=-1,P=-1;break;case"bottom":r=D?M?h.left+d.width/2:h.right-d.width/2+N:k+b,i=O?h.top+R-y:u.top+u.height+y,S=-.5;break;case"bottomLeft":r=D?H?h.left:h.right-d.width:v?k-L+b:u.left+b,i=O?h.top+R-y:u.top+u.height+y;break;case"bottomRight":r=D?h.right+N:v?k+L+b:u.right+b,i=O?h.top+R-y:u.top+u.height+y,S=-1;break;case"right":r=D?h.left-y+L:u.right+y,i=O?T?h.top+d.height/2:h.bottom-d.height/2+j:C+b,P=-.5;break;case"rightTop":r=D?h.left-y+L:u.right+y,i=O?h.top:v?C-R+b:u.top+b;break;case"rightBottom":r=D?h.left-y+L:u.right+y,i=O?h.bottom+j:v?C+R+b:u.bottom+b,P=-1;break;case"leftTopOver":r=u.left-y,i=u.top-y;break;case"rightTopOver":r=u.right+y,i=u.top-y,S=-1;break;case"leftBottomOver":r=u.left-y,i=u.bottom+y,P=-1;break;case"rightBottomOver":r=u.right+y,i=u.bottom+y,S=-1,P=-1}let z=this.calcTransformOrigin(A,u,S,P),Z=this._adapter.containerIsBody();if(r-=h.left,i-=h.top,B&&(r/=d.width/this._adapter.getContainer().clientWidth),B&&(i/=d.height/this._adapter.getContainer().clientHeight),Z&&!this._adapter.containerIsRelativeOrAbsolute()){let e=this._adapter.getDocumentElementBounding();r+=h.left-e.left,i+=h.top-e.top}r=Z?r:r+h.scrollLeft,i=Z?i:i+h.scrollTop;let W=u.height;if(this.getProp("showArrow")&&!f&&W<=(_/2+x)*2){let e=W/2-(x+_/2);(A.includes("Top")||A.includes("Bottom"))&&!A.includes("Over")&&(i=A.includes("Top")?i+e:i-e)}let V={left:this._roundPixel(r),top:this._roundPixel(i)},G="";return null!=S&&(G+=`translateX(${100*S}%) `,Object.defineProperty(V,"translateX",{enumerable:!1,value:S})),null!=P&&(G+=`translateY(${100*P}%) `,Object.defineProperty(V,"translateY",{enumerable:!1,value:P})),null!=z&&(V.transformOrigin=z),G&&(V.transform=G),V}isLR(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.includes("left")||e.includes("right")}isTB(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.includes("top")||e.includes("bottom")}isReverse(e,t,r){return e<r&&t>r}isOverFlow(e,t,r){return e<r&&t<r}isHalfOverFlow(e,t,r){return e<r||t<r}isHalfAllEnough(e,t,r){return e>=r||t>=r}getReverse(e,t,r,i){return e&&i||r}adjustPosIfNeed(e,t,r,i,n){let{innerWidth:o,innerHeight:a}=window,{margin:s}=this.getProps(),l="number"==typeof s?s:s.marginLeft,u="number"==typeof s?s:s.marginTop,c="number"==typeof s?s:s.marginRight,h="number"==typeof s?s:s.marginBottom,d=!1,A=!1,p=this.getProp("spacing"),f=p,g=0;if("number"!=typeof p){let t=e.includes("top")||e.includes("bottom");f=t?p.y:p.x,g=t?p.x:p.y}if(i.width>0&&i.height>0){let t=r.left,s=r.right,p=r.top,m=r.bottom,v=o-t,y=a-p,b=o-s,w=a-m,_=i.width>r.width,x=i.height>r.height,S=p-u<i.height+f&&w-h>i.height+f,P=t-l<i.width+f&&b-c>i.width+f,k=w-h<i.height+f&&p-u>i.height+f,C=b-c<i.width+f&&t-l>i.width+f;y-h<i.height+f&&i.height,m-u<i.height+f&&i.height;let L=y<i.height+g&&m>i.height+g,R=m<i.height+g&&y>i.height+g,I=v<i.width+g&&s>i.width+g,E=s<i.width+g&&v>i.width+g,j=y<i.height+f&&m>i.height+f,N=m<i.height+f&&y>i.height+f,O=v<i.width&&s>i.width,D=s<i.width&&v>i.width,M=p-n.top,T=t-n.left,H=M+r.height,B=T+r.width,z=n.bottom-m,Z=n.right-s,W=z+r.height,V=Z+r.width,G=this.isReverse(M-u,z-h,i.height+f),F=this.isReverse(T-l,Z-c,i.width+f),Q=this.isReverse(z-h,M-u,i.height+f),U=this.isReverse(Z-c,T-l,i.width+f);this.isReverse(W-h,H-u,i.height+f),this.isReverse(H-u,W-h,i.height+f);let Y=this.isReverse(W,H,i.height+g),J=this.isReverse(H,W,i.height+g),X=this.isReverse(V,B,i.width+g),q=this.isReverse(B,V,i.width+g),K=r.height/2,$=r.width/2,ee=this.isOverFlow(p-u,w-h,i.height+f),et=this.isOverFlow(t-l,b-c,i.width+f),er=this.isOverFlow(m-u,y-h,i.height+f),ei=this.isOverFlow(s-l,v-c,i.width+f),en=this.isHalfOverFlow(m-K,y-K,(i.height+g)/2),eo=this.isHalfOverFlow(s-$,v-$,(i.width+g)/2),ea=this.isHalfAllEnough(m-K,y-K,(i.height+g)/2),es=this.isHalfAllEnough(s-$,v-$,(i.width+g)/2),el=this.isOverFlow(M-u,z-h,i.height+f),eu=this.isOverFlow(T-l,Z-c,i.width+f),ec=this.isOverFlow(H-u,W-h,i.height+f),eh=this.isOverFlow(B-l,V-c,i.width+f),ed=this.isHalfOverFlow(H-K,W-K,(i.height+g)/2),eA=this.isHalfOverFlow(B-$,V-$,(i.width+g)/2),ep=this.isHalfAllEnough(H-K,W-K,(i.height+g)/2),ef=this.isHalfAllEnough(B-$,V-$,(i.width+g)/2),eg=this.getReverse(ee,el,S,G),em=this.getReverse(et,eu,P,F),ev=this.getReverse(ee,el,k,Q),ey=this.getReverse(et,eu,C,U),eb=this.getReverse(er,ec,L,Y),ew=this.getReverse(er,ec,R,J),e_=this.getReverse(ei,eh,I,X),ex=this.getReverse(ei,eh,E,q),eS=en&&ed,eP=eo&&eA;switch(e){case"top":eg&&(e=this._adjustPos(e,!0)),eP&&(e_||ex)&&(e=this._adjustPos(e,!0,"expand",e_?"Right":"Left"));break;case"topLeft":eg&&(e=this._adjustPos(e,!0)),e_&&_&&(e=this._adjustPos(e)),A&&(es||ef)&&(e=this._adjustPos(e,!0,"reduce"));break;case"topRight":eg&&(e=this._adjustPos(e,!0)),ex&&_&&(e=this._adjustPos(e)),A&&(es||ef)&&(e=this._adjustPos(e,!0,"reduce"));break;case"left":em&&(e=this._adjustPos(e)),eS&&(eb||ew)&&(e=this._adjustPos(e,!1,"expand",eb?"Bottom":"Top"));break;case"leftTop":em&&(e=this._adjustPos(e)),eb&&x&&(e=this._adjustPos(e,!0)),d&&(ea||ep)&&(e=this._adjustPos(e,!1,"reduce"));break;case"leftBottom":em&&(e=this._adjustPos(e)),ew&&x&&(e=this._adjustPos(e,!0)),d&&(ea||ep)&&(e=this._adjustPos(e,!1,"reduce"));break;case"bottom":ev&&(e=this._adjustPos(e,!0)),eP&&(e_||ex)&&(e=this._adjustPos(e,!0,"expand",e_?"Right":"Left"));break;case"bottomLeft":ev&&(e=this._adjustPos(e,!0)),e_&&_&&(e=this._adjustPos(e)),A&&(es||ef)&&(e=this._adjustPos(e,!0,"reduce"));break;case"bottomRight":ev&&(e=this._adjustPos(e,!0)),ex&&_&&(e=this._adjustPos(e)),A&&(es||ef)&&(e=this._adjustPos(e,!0,"reduce"));break;case"right":ey&&(e=this._adjustPos(e)),eS&&(eb||ew)&&(e=this._adjustPos(e,!1,"expand",eb?"Bottom":"Top"));break;case"rightTop":ey&&(e=this._adjustPos(e)),eb&&x&&(e=this._adjustPos(e,!0)),d&&(ea||ep)&&(e=this._adjustPos(e,!1,"reduce"));break;case"rightBottom":ey&&(e=this._adjustPos(e)),ew&&x&&(e=this._adjustPos(e,!0)),d&&(ea||ep)&&(e=this._adjustPos(e,!1,"reduce"));break;case"leftTopOver":j&&(e=this._adjustPos(e,!0)),O&&(e=this._adjustPos(e));break;case"leftBottomOver":N&&(e=this._adjustPos(e,!0)),O&&(e=this._adjustPos(e));break;case"rightTopOver":j&&(e=this._adjustPos(e,!0)),D&&(e=this._adjustPos(e));break;case"rightBottomOver":N&&(e=this._adjustPos(e,!0)),D&&(e=this._adjustPos(e))}this.isTB(e)&&(d=ee&&el,A="top"===e||"bottom"===e?eo&&eA||s<0||b<0:ei&&eh||s<0||b<0),this.isLR(e)&&(A=et&&eu,d="left"===e||"right"===e?en&&ed||p<0||y<0:er&&ec||p<0||y<0)}return{position:e,isHeightOverFlow:d,isWidthOverFlow:A}}_bindScrollEvent(){this._adapter.registerScrollHandler(()=>this.calcPosition())}unBindScrollEvent(){this._adapter.unregisterScrollHandler()}_initContainerPosition(){this._adapter.updateContainerPosition()}_handleTriggerKeydown(e){let{closeOnEsc:t,disableArrowKeyDown:r}=this.getProps(),i=this._adapter.getContainer(),n=this._adapter.getFocusableElements(i),o=n.length;switch(e&&e.key){case"Escape":(0,l.Jt)(e),t&&this._handleEscKeyDown(e);break;case"ArrowUp":!r&&o&&this._handleTriggerArrowUpKeydown(n,e);break;case"ArrowDown":!r&&o&&this._handleTriggerArrowDownKeydown(n,e)}}focusTrigger(){let{trigger:e,returnFocusOnClose:t,preventScroll:r}=this.getProps();if(t&&"custom"!==e){let e=this._adapter.getTriggerNode();e&&"focus"in e&&e.focus({preventScroll:r})}}_handleEscKeyDown(e){let{trigger:t}=this.getProps();"custom"!==t&&(this.focusTrigger(),this.hide()),this._adapter.notifyEscKeydown(e)}_handleContainerTabKeyDown(e,t){let{preventScroll:r}=this.getProps(),i=this._adapter.getActiveElement();e[e.length-1]===i&&(e[0].focus({preventScroll:r}),t.preventDefault())}_handleContainerShiftTabKeyDown(e,t){let{preventScroll:r}=this.getProps(),i=this._adapter.getActiveElement();e[0]===i&&(e[e.length-1].focus({preventScroll:r}),t.preventDefault())}_handleTriggerArrowDownKeydown(e,t){let{preventScroll:r}=this.getProps();e[0].focus({preventScroll:r}),t.preventDefault()}_handleTriggerArrowUpKeydown(e,t){let{preventScroll:r}=this.getProps();e[e.length-1].focus({preventScroll:r}),t.preventDefault()}constructor(e){var t;super(Object.assign({},e)),t=this,this.removePortal=()=>{this._adapter.removePortal()},this.setDisplayNone=(e,t)=>{this._adapter.setDisplayNone(e,t)},this.updateStateIfCursorOnTrigger=e=>{var t,r;if(null===(t=null==e?void 0:e.matches)||void 0===t?void 0:t.call(e,":hover")){let e=this._adapter.getEventName(),t=this.getState("triggerEventSet");null===(r=t[e.mouseEnter])||void 0===r||r.call(t)}},this.onResize=()=>{if(!!this.getState("visible"))this.calcPosition()},this.delayShow=()=>{let e=this.getProp("mouseEnterDelay");this.clearDelayTimer(),e>0?this._timer=setTimeout(()=>{this.show(),this.clearDelayTimer()},e):this.show()},this.show=()=>{if(this._adapter.getAnimatingState())return;let e=this.getProp("content"),t=this.getProp("trigger"),r=this.getProp("clickTriggerToHide"),{visible:i,displayNone:n}=this.getStates();if(n&&this.setDisplayNone(!1),!i){if(this.clearDelayTimer(),this._adapter.on("portalInserted",()=>{this.calcPosition()}),"hover"===t){let e=()=>{var r;let i=this._adapter.getTriggerDOM();t&&!(null===(r=null==i?void 0:i.matches)||void 0===r?void 0:r.call(i,":hover"))&&this.hide(),this._adapter.off("portalInserted",e)};this._adapter.on("portalInserted",e)}this._adapter.on("positionUpdated",()=>{this._togglePortalVisible(!0)}),this._adapter.insertPortal(e,{left:-9999,top:-9999}),"custom"===t&&this._adapter.registerClickOutsideHandler(()=>{}),("click"===t||r||"contextMenu"===t)&&this._adapter.registerClickOutsideHandler(this.hide),this._bindScrollEvent(),this._bindResizeEvent()}},this.calcPosition=function(e,r,i){let o=!(arguments.length>3)||void 0===arguments[3]||arguments[3];e=(n()(e)?t._adapter.getTriggerBounding():e)||Object.assign({},c),i=(n()(i)?t._adapter.getPopupContainerRect():i)||Object.assign({},c),r=(n()(r)?t._adapter.getWrapperBounding():r)||Object.assign({},c);let a=t.calcPosStyle({triggerRect:e,wrapperRect:r,containerRect:i}),s=t.getProp("position");if(t.getProp("autoAdjustOverflow")){let{position:n,isHeightOverFlow:o,isWidthOverFlow:l}=t.adjustPosIfNeed(s,a,e,r,i);(s!==n||o||l)&&(s=n,a=t.calcPosStyle({triggerRect:e,wrapperRect:r,containerRect:i,position:s,spacing:null,isOverFlow:[o,l]}))}return o&&t._mounted&&t._adapter.setPosition(Object.assign(Object.assign({},a),{position:s})),a},this.delayHide=()=>{let e=this.getProp("mouseLeaveDelay");this.clearDelayTimer(),e>0?this._timer=setTimeout(()=>{this.hide(),this.clearDelayTimer()},e):this.hide()},this.hide=()=>{this.clearDelayTimer(),this._togglePortalVisible(!1),this._adapter.off("portalInserted"),this._adapter.off("positionUpdated")},this.handleContainerKeydown=e=>{let{guardFocus:t,closeOnEsc:r}=this.getProps();switch(e&&e.key){case"Escape":r&&this._handleEscKeyDown(e);break;case"Tab":if(t){let t=this._adapter.getContainer(),r=this._adapter.getFocusableElements(t);r.length&&(e.shiftKey?this._handleContainerShiftTabKeyDown(r,e):this._handleContainerTabKeyDown(r,e))}}},this._timer=null}}},548602:function(e,t,r){"use strict";r(932651);var i=r(101199);function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e}).apply(this,arguments)}let o=i.forwardRef(function(e,t){return i.createElement("svg",n({viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,ref:t},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 14.75C14.4142 14.75 14.75 14.4142 14.75 14V8.5C14.75 8.08579 14.4142 7.75 14 7.75C13.5858 7.75 13.25 8.08579 13.25 8.5V13.25H8.5C8.08579 13.25 7.75 13.5858 7.75 14C7.75 14.4142 8.08579 14.75 8.5 14.75H14ZM17.25 23.5C17.25 23.9142 17.5858 24.25 18 24.25C18.4142 24.25 18.75 23.9142 18.75 23.5V18.75H23.5C23.9142 18.75 24.25 18.4142 24.25 18C24.25 17.5858 23.9142 17.25 23.5 17.25H18C17.5858 17.25 17.25 17.5858 17.25 18V23.5Z",fill:"currentColor"}))});o.elementType="Icon",t.Z=o},846766:function(e,t,r){"use strict";r.d(t,{FW:function(){return n},Kj:function(){return o},Px:function(){return a}});var i=r(629686);function n(e){return(0,i._)({onReport:()=>{}},e)}function o(e){let{player:t,project_key:r,user_id:n,device_id:o,user_unique_id:a,app_name:s,cdn_ip:l,aid:u,is_preview:c,codec_type:h,ext:d,product_line:A="live"}=e;return(0,i._)({project_key:r,product_line:A,live_sdk_version:"2",player_sdk_version:t.version,logger_version:"0.11.16",report_version:"5",user_id:n,device_id:o,uuid:a,app_name:s,cdn_ip:l,is_wasm:0,review_is_live:2,aid:u,live_id:`${u}-${n}-${Date.now()}`,is_preview:c?1:0,codec_type:h||"h264",is_encrypted:0,ua:navigator.userAgent,href:window.location.href,fps:-1,logger_init_time:Date.now(),dpr:devicePixelRatio||1},d)}function a(e){return{start_play:{start_play_time:0,event_key:"start_play"},first_frame:{start:0,first_frame_view:0,event_key:"first_frame",first_sei_delay:0,ntp_sync:0,ntp_delta:0,ttfb:-1,ttdb:-1,ttfb_end:0},first_frame_failed:{code:void 0,msg:"",event_key:"first_frame_failed"},stall:{reason:0,stall_start:0,stall_end:0,ready_state:0,event_key:"stall"},play_stop:{code:0,stop_time:0,drop_percent:0,is_stream_received:0,stall_count:0,stall_time:0,retry_count:0,duration:0,stall_count_per_100sec:0,stall_time_per_100sec:0,event_key:"play_stop",dns_parse_time:-1,redirect:-1,ttfb:-1,buffered:[],is_firstframe_received:0,meta:null},playing:{index:0,stall_count:0,stall_time:0,play_time:1e4,retry_count:0,is_last:0,video_buffer_time:0,audio_buffer_time:0,speed_switch_count:0,speed_switch_info:"none",download_speed:0,decode_fps:0,render_fps:0,drop_count:0,drop_percent:0,sei_source:"",sei_delay:0,ntp_sync:0,ntp_delta:0,event_key:"playing",stop_time:0,duration:0,stall_count_per_100sec:0,stall_time_per_100sec:0,rtm_network:[]},play_error:{code:void 0,info:"",event_key:"play_error"},play_low_decode:{fps:-1,decode_fps:-1,bitrate:-1,url:-1,msg:"",event_key:"play_low_decode"},play_av_unsync:{aDts:-1,vDts:-1,frameLength:-1,currentTime:-1,duration:0,event_key:"play_av_unsync"},play_loadstream:{loadstream_url:"",event_key:"play_loadstream"},play_stream_loaded:{event_key:"play_stream_loaded"},play_metadata_loaded:{metadata_type:"",event_key:"play_metadata_loaded"},play_demux_error:{msg:"",event_key:"play_demux_error"},play_stream_discontinue:{type:"",dts:-1,event_key:"play_stream_discontinue"},pause:{event_key:"pause"},play_url_change:{event_key:"play_url_change"},play_result:{event_key:"play_result",result:0,threshold:e.playResultThreshold||25e3,is_threshold:0,start:0},play_ended:{event_key:"play_ended"},play_chase_frame:{event_key:"play_chase_frame"},play_audio_gap:{event_key:"play_audio_gap"},play_audio_overlap:{event_key:"play_audio_overlap"},degrade:{event_key:"degrade"},worker_message:{event_key:"worker_message"}}}},798324:function(e,t,r){"use strict";var i=r(480333);r(490629),r(706056);var n=r(805289),o=r(292948),a=r(299690);class s extends o.Sy{afterPlayerInit(){this._player.on("error",this.handleDegrade),this._player.on(a.le.METADATA,this.handleMetaDataLoaded)}beforeDestroy(){this._player.off("error",this.handleDegrade),this._player.off(a.le.METADATA,this.handleMetaDataLoaded)}constructor(...e){super(...e),(0,i._)(this,"codecType",""),(0,i._)(this,"handleDegrade",e=>{if(!!this.codecType.includes("avc"))["decode",3e3,3001,3002,3003,3004,3005,4e3,5e3,5001,5002,5003,5004].includes(e.code)&&this._player._changeCore(n.ry,{})}),(0,i._)(this,"handleMetaDataLoaded",e=>{let{trackType:t,codec:r}=e;"video"===t&&(this.codecType=r)})}}(0,i._)(s,"pluginName","degrade")},165384:function(e,t,r){"use strict";r(679308),r.e("29259").then(r.bind(r,925881))},735222:function(e,t,r){"use strict";r(679308),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,589852)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,522573)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,735608)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,825710)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,671195)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,66425)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,787831)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,595980)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,619619)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,138440)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,915669)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,571508)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,869275)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,26604)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,415134)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,945173)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,621401)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,695755)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,526317)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,530266)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,586441)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,983190)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,304495)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,310443)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,105345)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,180388)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,766903)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,364759)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,631214)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,24913)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,893933)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,140939)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,524491)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,315659)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,51600)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,522030)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,865525)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,593870)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,130289)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,497409)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,631056)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,588386)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,93458)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,225479)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,769591)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,124653))},882742:function(e,t,r){"use strict";function i(){}function n(){}r.d(t,{ok:function(){return i},t1:function(){return n}})},587957:function(e,t,r){"use strict";r.d(t,{B:function(){return n}});let i={};function n(e,t){let r=t||i,n="boolean"!=typeof r.includeImageAlt||r.includeImageAlt;return o(e,n,"boolean"!=typeof r.includeHtml||r.includeHtml)}function o(e,t,r){if(function(e){return!!(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||r?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return a(e.children,t,r)}return Array.isArray(e)?a(e,t,r):""}function a(e,t,r){let i=[],n=-1;for(;++n<e.length;)i[n]=o(e[n],t,r);return i.join("")}},358498:function(e,t,r){"use strict";r.d(t,{m:function(){return o}});var i=r(890131),n=r(368183);let o={continuation:{tokenize:function(e,t,r){let a=this;return function(t){return(0,n.xz)(t)?(0,i.f)(e,s,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):s(t)};function s(i){return e.attempt(o,t,r)(i)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,r){let i=this;return function(t){if(62===t){let r=i.containerState;return!r.open&&(e.enter("blockQuote",{_container:!0}),r.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return r(t)};function o(r){return(0,n.xz)(r)?(e.enter("blockQuotePrefixWhitespace"),e.consume(r),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(r))}}}},951797:function(e,t,r){"use strict";r.d(t,{k:function(){return o}});var i=r(890131),n=r(368183);let o={tokenize:function(e){let t;let r=e.attempt(this.parser.constructs.contentInitial,function(t){if(null===t){e.consume(t);return}return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,i.f)(e,r,"linePrefix")},function(t){return e.enter("paragraph"),o(t)});return r;function o(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return(0,n.Ch)(r)?(e.consume(r),e.exit("chunkText"),o):(e.consume(r),t)}(r)}}}},28255:function(e,t,r){"use strict";r.d(t,{P:function(){return o}});var i=r(355965),n=r(339342);let o=(0,i.U)({properties:{ariaActiveDescendant:null,ariaAtomic:n.booleanish,ariaAutoComplete:null,ariaBusy:n.booleanish,ariaChecked:n.booleanish,ariaColCount:n.number,ariaColIndex:n.number,ariaColSpan:n.number,ariaControls:n.spaceSeparated,ariaCurrent:null,ariaDescribedBy:n.spaceSeparated,ariaDetails:null,ariaDisabled:n.booleanish,ariaDropEffect:n.spaceSeparated,ariaErrorMessage:null,ariaExpanded:n.booleanish,ariaFlowTo:n.spaceSeparated,ariaGrabbed:n.booleanish,ariaHasPopup:null,ariaHidden:n.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:n.spaceSeparated,ariaLevel:n.number,ariaLive:null,ariaModal:n.booleanish,ariaMultiLine:n.booleanish,ariaMultiSelectable:n.booleanish,ariaOrientation:null,ariaOwns:n.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:n.number,ariaPressed:n.booleanish,ariaReadOnly:n.booleanish,ariaRelevant:null,ariaRequired:n.booleanish,ariaRoleDescription:n.spaceSeparated,ariaRowCount:n.number,ariaRowIndex:n.number,ariaRowSpan:n.number,ariaSelected:n.booleanish,ariaSetSize:n.number,ariaSort:null,ariaValueMax:n.number,ariaValueMin:n.number,ariaValueNow:n.number,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()})},368229:function(e,t,r){"use strict";r.d(t,{e:function(){return n},g:function(){return i}});let i=()=>{var e;return e="undefined"!=typeof performance&&"undefined"!=typeof PerformanceObserver,e},n=function(e){let{entryType:t="middleware",renderStage:r="hydrate"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{entryType:"middleware",renderStage:"hydrate"};return e?"middleware"===t||"custom"===t?{durationMark:`${e}_duration`,startMark:`${e}_start`,endMark:`${e}_end`}:"fetcher"===t?{durationMark:`fetcher_${e}_duration`,startMark:`fetcher_${e}_start`,endMark:`fetcher_${e}_end`}:"hydrate"===r?{durationMark:`${e}_hydrate_duration`,startMark:`${e}_hydrate_start`,endMark:`${e}_hydrate_end`}:{durationMark:`${e}_ssr_duration`,startMark:`${e}_ssr_start`,endMark:`${e}_ssr_end`}:{durationMark:void 0,startMark:void 0,endMark:void 0}}},726165:function(e,t,r){"use strict";r.d(t,{M:function(){return a}});var i=r(629686),n=r(402748);r(490629),r(181365);var o=r(338554);r(101199);let a=e=>{let t=new Map,r=0;return new Proxy(t,{get(t,a,s){if("set"===a)return function(e,o){var a;let s=t.get(e);if(!s){r+=1;let a=`${e}_${r}`;return t.set(e,(0,n._)((0,i._)({},o),{cacheKey:a,key:e}))}return t.set(e,(0,n._)((0,i._)({},s,o),{cacheKey:null!==(a=s.cacheKey)&&void 0!==a?a:s.as,key:e}))};if("delete"===a)return function(r){let i=t.get(r);return i&&(0,o.Lt)({as:i.as,serverRouteCache:e.serverRouteCache,patternToCacheKeyCache:e.patternToCacheKeyCache}),t.delete(r)};let l=Reflect.get(t,a,s);return"function"==typeof l?l.bind(t):l}})}},884051:function(e,t,r){"use strict";r.r(t),r.d(t,{useServerProps:function(){return o}});var i=r(101199),n=r(199775);function o(){let e=(0,i.useContext)(n.ServerPropsContext);return e?{serverProps:e.serverProps,setServerProps:e.setServerProps}:{}}r(320165)},347506:function(e){"use strict";e.exports=JSON.parse('[{"caseSensitive":false,"path":"","rawRoute":"route","element":"/src/routes/route.tsx","__chunkName":"routes-route","loadingElement":"/src/routes/loading.tsx"},{"caseSensitive":false,"path":"AiSearch","rawRoute":"AiSearch/route","element":"/src/routes/AiSearch/route.tsx","__chunkName":"routes-AiSearch-route"},{"caseSensitive":false,"path":"Chat","rawRoute":"Chat/route","element":"/src/routes/Chat/route.tsx","__chunkName":"routes-Chat-route","loadingElement":"/src/routes/Chat/loading.tsx"},{"caseSensitive":false,"path":"Downloadpage","rawRoute":"Downloadpage/route","element":"/src/routes/Downloadpage/route.tsx","__chunkName":"routes-Downloadpage-route"},{"caseSensitive":false,"path":"Follow","rawRoute":"Follow/route","element":"/src/routes/Follow/route.tsx","__chunkName":"routes-Follow-route"},{"caseSensitive":false,"path":"Friend","rawRoute":"Friend/route","element":"/src/routes/Friend/route.tsx","__chunkName":"routes-Friend-route"},{"caseSensitive":false,"path":"GameActivityDetail","rawRoute":"GameActivityDetail/route","element":"/src/routes/GameActivityDetail/route.tsx","__chunkName":"routes-GameActivityDetail-route"},{"caseSensitive":false,"path":"Help","rawRoute":"Help/route","element":"/src/routes/Help/route.tsx","__chunkName":"routes-Help-route"},{"caseSensitive":false,"path":"Hot","rawRoute":"Hot/route","element":"/src/routes/Hot/route.tsx","__chunkName":"routes-Hot-route"},{"caseSensitive":false,"path":"LogTrace","rawRoute":"LogTrace/route","element":"/src/routes/LogTrace/route.tsx","__chunkName":"routes-LogTrace-route"},{"caseSensitive":false,"path":"LynxFeedBack","rawRoute":"LynxFeedBack/route","element":"/src/routes/LynxFeedBack/route.tsx","__chunkName":"routes-LynxFeedBack-route"},{"caseSensitive":false,"path":"LynxImEntry","rawRoute":"LynxImEntry/route","element":"/src/routes/LynxImEntry/route.tsx","__chunkName":"routes-LynxImEntry-route"},{"caseSensitive":false,"path":"LynxLoading","rawRoute":"LynxLoading/route","element":"/src/routes/LynxLoading/route.tsx","__chunkName":"routes-LynxLoading-route"},{"caseSensitive":false,"path":"LynxLogin","rawRoute":"LynxLogin/route","element":"/src/routes/LynxLogin/route.tsx","__chunkName":"routes-LynxLogin-route"},{"caseSensitive":false,"path":"LynxModalVideo","rawRoute":"LynxModalVideo/route","element":"/src/routes/LynxModalVideo/route.tsx","__chunkName":"routes-LynxModalVideo-route"},{"caseSensitive":false,"path":"LynxNoticeEntry","rawRoute":"LynxNoticeEntry/route","element":"/src/routes/LynxNoticeEntry/route.tsx","__chunkName":"routes-LynxNoticeEntry-route"},{"caseSensitive":false,"path":"LynxPostDropdown","rawRoute":"LynxPostDropdown/route","element":"/src/routes/LynxPostDropdown/route.tsx","__chunkName":"routes-LynxPostDropdown-route"},{"caseSensitive":false,"path":"LynxPrivacy","rawRoute":"LynxPrivacy/route","element":"/src/routes/LynxPrivacy/route.tsx","__chunkName":"routes-LynxPrivacy-route"},{"caseSensitive":false,"path":"LynxRecharge","rawRoute":"LynxRecharge/route","element":"/src/routes/LynxRecharge/route.tsx","__chunkName":"routes-LynxRecharge-route"},{"caseSensitive":false,"path":"LynxReport","rawRoute":"LynxReport/route","element":"/src/routes/LynxReport/route.tsx","__chunkName":"routes-LynxReport-route"},{"caseSensitive":false,"path":"LynxRiskControl","rawRoute":"LynxRiskControl/route","element":"/src/routes/LynxRiskControl/route.tsx","__chunkName":"routes-LynxRiskControl-route"},{"caseSensitive":false,"path":"LynxSettingsPanel","rawRoute":"LynxSettingsPanel/route","element":"/src/routes/LynxSettingsPanel/route.tsx","__chunkName":"routes-LynxSettingsPanel-route"},{"caseSensitive":false,"path":"LynxShortcut","rawRoute":"LynxShortcut/route","element":"/src/routes/LynxShortcut/route.tsx","__chunkName":"routes-LynxShortcut-route"},{"caseSensitive":false,"path":"LynxUserMenuPanel","rawRoute":"LynxUserMenuPanel/route","element":"/src/routes/LynxUserMenuPanel/route.tsx","__chunkName":"routes-LynxUserMenuPanel-route"},{"caseSensitive":false,"path":"LynxWallpaper","rawRoute":"LynxWallpaper/route","element":"/src/routes/LynxWallpaper/route.tsx","__chunkName":"routes-LynxWallpaper-route"},{"caseSensitive":false,"path":"MicroGame","rawRoute":"MicroGame/route","element":"/src/routes/MicroGame/route.tsx","__chunkName":"routes-MicroGame-route"},{"caseSensitive":false,"path":"Preloadclient","rawRoute":"Preloadclient/route","element":"/src/routes/Preloadclient/route.tsx","__chunkName":"routes-Preloadclient-route"},{"caseSensitive":false,"path":"Recommend","rawRoute":"Recommend/route","element":"/src/routes/Recommend/route.tsx","__chunkName":"routes-Recommend-route","loadingElement":"/src/routes/Recommend/loading.tsx"},{"caseSensitive":false,"path":"Series","rawRoute":"Series/route","element":"/src/routes/Series/route.tsx","__chunkName":"routes-Series-route"},{"caseSensitive":false,"path":"Shipin","rawRoute":"Shipin/route","element":"/src/routes/Shipin/route.tsx","__chunkName":"routes-Shipin-route"},{"caseSensitive":false,"path":"VS","rawRoute":"VS/route","element":"/src/routes/VS/route.tsx","__chunkName":"routes-VS-route"},{"caseSensitive":false,"path":"Wallpaper","rawRoute":"Wallpaper/route","element":"/src/routes/Wallpaper/route.tsx","__chunkName":"routes-Wallpaper-route"},{"caseSensitive":false,"path":"ZhuanTi","rawRoute":"ZhuanTi/route","element":"/src/routes/ZhuanTi/route.tsx","__chunkName":"routes-ZhuanTi-route"},{"caseSensitive":false,"path":"Activity/:id","rawRoute":"Activity/[id]/route","element":"/src/routes/Activity/[id]/route.tsx","__chunkName":"routes-Activity-id-route"},{"caseSensitive":false,"path":"AiSearch/share","rawRoute":"AiSearch/share/route","element":"/src/routes/AiSearch/share/route.tsx","__chunkName":"routes-AiSearch-share-route"},{"caseSensitive":false,"path":"Article/:id","rawRoute":"Article/[id]/route","element":"/src/routes/Article/[id]/route.tsx","__chunkName":"routes-Article-id-route","loadingElement":"/src/routes/Article/[id]/loading.tsx"},{"caseSensitive":false,"path":"Collection/:id","rawRoute":"Collection/[id]/route","element":"/src/routes/Collection/[id]/route.tsx","__chunkName":"routes-Collection-id-route"},{"caseSensitive":false,"path":"Creatorvideo/:id","rawRoute":"Creatorvideo/[id]/route","element":"/src/routes/Creatorvideo/[id]/route.tsx","__chunkName":"routes-Creatorvideo-id-route"},{"caseSensitive":false,"path":"Downloadpage/:pageInfo","rawRoute":"Downloadpage/[pageInfo]/route","element":"/src/routes/Downloadpage/[pageInfo]/route.tsx","__chunkName":"routes-Downloadpage-pageInfo-route"},{"caseSensitive":false,"path":"Hashtag/:id","rawRoute":"Hashtag/[id]/route","element":"/src/routes/Hashtag/[id]/route.tsx","__chunkName":"routes-Hashtag-id-route"},{"caseSensitive":false,"path":"Hot/:id","rawRoute":"Hot/[id]/route","element":"/src/routes/Hot/[id]/route.tsx","__chunkName":"routes-Hot-id-route"},{"caseSensitive":false,"path":"Htmlmap/:pageInfo","rawRoute":"Htmlmap/[pageInfo]/route","element":"/src/routes/Htmlmap/[pageInfo]/route.tsx","__chunkName":"routes-Htmlmap-pageInfo-route"},{"caseSensitive":false,"path":"Jingxuan/:tag?","rawRoute":"Jingxuan/[[tag]]/route","element":"/src/routes/Jingxuan/[[tag]]/route.tsx","__chunkName":"routes-Jingxuan-tag-route","loadingElement":"/src/routes/Jingxuan/[[tag]]/loading.tsx"},{"caseSensitive":false,"path":"LVDetail/:id","rawRoute":"LVDetail/[id]/route","element":"/src/routes/LVDetail/[id]/route.tsx","__chunkName":"routes-LVDetail-id-route"},{"caseSensitive":false,"path":"Light/:id","rawRoute":"Light/[id]/route","element":"/src/routes/Light/[id]/route.tsx","__chunkName":"routes-Light-id-route"},{"caseSensitive":false,"path":"Live/:webrid","rawRoute":"Live/[webrid]/route","element":"/src/routes/Live/[webrid]/route.tsx","__chunkName":"routes-Live-webrid-route"},{"caseSensitive":false,"path":"Music/:id","rawRoute":"Music/[id]/route","element":"/src/routes/Music/[id]/route.tsx","__chunkName":"routes-Music-id-route"},{"caseSensitive":false,"path":"Musicplaylist/:id","rawRoute":"Musicplaylist/[id]/route","element":"/src/routes/Musicplaylist/[id]/route.tsx","__chunkName":"routes-Musicplaylist-id-route"},{"caseSensitive":false,"path":"Note/:id","rawRoute":"Note/[id]/route","element":"/src/routes/Note/[id]/route.tsx","__chunkName":"routes-Note-id-route","loadingElement":"/src/routes/Note/[id]/loading.tsx"},{"caseSensitive":false,"path":"Search/:keyword","rawRoute":"Search/[keyword]/route","element":"/src/routes/Search/[keyword]/route.tsx","__chunkName":"routes-Search-keyword-route"},{"caseSensitive":false,"path":"Shipin/:id","rawRoute":"Shipin/[id]/route","element":"/src/routes/Shipin/[id]/route.tsx","__chunkName":"routes-Shipin-id-route"},{"caseSensitive":false,"path":"Topic/:id","rawRoute":"Topic/[id]/route","element":"/src/routes/Topic/[id]/route.tsx","__chunkName":"routes-Topic-id-route"},{"caseSensitive":false,"path":"User/:id","rawRoute":"User/[id]/route","element":"/src/routes/User/[id]/route.tsx","__chunkName":"routes-User-id-route"},{"caseSensitive":false,"path":"Video/:id","rawRoute":"Video/[id]/route","element":"/src/routes/Video/[id]/route.tsx","__chunkName":"routes-Video-id-route","loadingElement":"/src/routes/Video/[id]/loading.tsx"},{"caseSensitive":false,"path":"VsChannel/:channel","rawRoute":"VsChannel/[channel]/route","element":"/src/routes/VsChannel/[channel]/route.tsx","__chunkName":"routes-VsChannel-channel-route"},{"caseSensitive":false,"path":"VsDetail/:id","rawRoute":"VsDetail/[id]/route","element":"/src/routes/VsDetail/[id]/route.tsx","__chunkName":"routes-VsDetail-id-route","loadingElement":"/src/routes/VsDetail/[id]/loading.tsx"},{"caseSensitive":false,"path":"Wallpaper/:id","rawRoute":"Wallpaper/[id]/route","element":"/src/routes/Wallpaper/[id]/route.tsx","__chunkName":"routes-Wallpaper-id-route"},{"caseSensitive":false,"path":"ZhuanTi/:id","rawRoute":"ZhuanTi/[id]/route","element":"/src/routes/ZhuanTi/[id]/route.tsx","__chunkName":"routes-ZhuanTi-id-route"},{"caseSensitive":false,"path":"Collection/:id/:episode","rawRoute":"Collection/[id]/[episode]/route","element":"/src/routes/Collection/[id]/[episode]/route.tsx","__chunkName":"routes-Collection-id-episode-route"},{"caseSensitive":false,"path":"Hashtag/:id/:page","rawRoute":"Hashtag/[id]/[page]/route","element":"/src/routes/Hashtag/[id]/[page]/route.tsx","__chunkName":"routes-Hashtag-id-page-route"},{"caseSensitive":false,"path":"Hashtag/:id/hot","rawRoute":"Hashtag/[id]/hot/route","element":"/src/routes/Hashtag/[id]/hot/route.tsx","__chunkName":"routes-Hashtag-id-hot-route"},{"caseSensitive":false,"path":"Hashtag/:id/new","rawRoute":"Hashtag/[id]/new/route","element":"/src/routes/Hashtag/[id]/new/route.tsx","__chunkName":"routes-Hashtag-id-new-route"},{"caseSensitive":false,"path":"Hot/:id/:topic","rawRoute":"Hot/[id]/[topic]/route","element":"/src/routes/Hot/[id]/[topic]/route.tsx","__chunkName":"routes-Hot-id-topic-route"},{"caseSensitive":false,"path":"Hot/detail/:id","rawRoute":"Hot/detail/[id]/route","element":"/src/routes/Hot/detail/[id]/route.tsx","__chunkName":"routes-Hot-detail-id-route"},{"caseSensitive":false,"path":"Mall/item/:id","rawRoute":"Mall/item/[id]/route","element":"/src/routes/Mall/item/[id]/route.tsx","__chunkName":"routes-Mall-item-id-route"},{"caseSensitive":false,"path":"Shipin/fenlei/:page","rawRoute":"Shipin/fenlei/[page]/route","element":"/src/routes/Shipin/fenlei/[page]/route.tsx","__chunkName":"routes-Shipin-fenlei-page-route"},{"caseSensitive":false,"path":"ZhuanTi/fenlei/:page","rawRoute":"ZhuanTi/fenlei/[page]/route","element":"/src/routes/ZhuanTi/fenlei/[page]/route.tsx","__chunkName":"routes-ZhuanTi-fenlei-page-route"},{"caseSensitive":false,"path":"Hashtag/:id/hot/:page","rawRoute":"Hashtag/[id]/hot/[page]/route","element":"/src/routes/Hashtag/[id]/hot/[page]/route.tsx","__chunkName":"routes-Hashtag-id-hot-page-route"},{"caseSensitive":false,"path":"Hashtag/:id/new/:page","rawRoute":"Hashtag/[id]/new/[page]/route","element":"/src/routes/Hashtag/[id]/new/[page]/route.tsx","__chunkName":"routes-Hashtag-id-new-page-route"},{"path":"*","route":"404","caseSensitive":false,"__notFound":true,"__chunkName":"routes-404","element":"/src/routes/404.tsx"}]')}}]); |