New Note 1844

/*! For license information please see content.js.LICENSE.txt */ 

(()=>{var e,t,n={184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},470:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return void 0===r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,c,u,d=arguments[0],f=1,p=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},f=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});f<p;++f)if(null!=(t=arguments[f]))for(n in t)r=l(d,n),d!==(o=l(t,n))&&(h&&o&&(a(o)||(c=i(o)))?(c?(c=!1,u=r&&i(r)?r:[]):u=r&&a(r)?r:{},s(d,{name:n,newValue:e(h,u,o)})):void 0!==o&&s(d,{name:n,newValue:o}));return d}},679:(e,t,n)=>{"use strict";var r=n(864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var E=a[g];if(!(i[E]||r&&r[E]||m&&m[E]||s&&s[E])){var v=f(n,E);try{c(t,E,v)}catch(e){}}}}return t}},139:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var d=1,f=1;function p(e){var t=e.match(n);t&&(d+=t.length);var r=e.lastIndexOf("\n");f=~r?e.length-r:f+e.length}function h(){var e={line:d,column:f};return function(t){return t.position=new m(e),y(),t}}function m(e){this.start=e,this.end={line:d,column:f},this.source=l.source}m.prototype.content=e;var g=[];function E(t){var n=new Error(l.source+":"+d+":"+f+": "+t);if(n.reason=t,n.filename=l.source,n.line=d,n.column=f,n.source=e,!l.silent)throw n;g.push(n)}function v(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function y(){v(r)}function b(e){var t;for(e=e||[];t=T();)!1!==t&&e.push(t);return e}function T(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return E("End of comment missing");var r=e.slice(2,n-2);return f+=2,p(r),e=e.slice(n),f+=2,t({type:"comment",comment:r})}}function _(){var e=h(),n=v(o);if(n){if(T(),!v(i))return E("property missing ':'");var r=v(a),l=e({type:"declaration",property:u(n[0].replace(t,c)),value:r?u(r[0].replace(t,c)):c});return v(s),l}}return y(),function(){var e,t=[];for(b(t);e=_();)!1!==e&&(t.push(e),b(t));return t}()}},705:(e,t,n)=>{var r=n(639).Symbol;e.exports=r},239:(e,t,n)=>{var r=n(705),o=n(607),i=n(333),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},561:(e,t,n)=>{var r=n(990),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},957:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},607:(e,t,n)=>{var r=n(705),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},333:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},639:(e,t,n)=>{var r=n(957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},990:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},279:(e,t,n)=>{var r=n(218),o=n(771),i=n(841),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,c,u,d,f,p,h=0,m=!1,g=!1,E=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var n=l,r=c;return l=c=void 0,h=t,d=e.apply(r,n)}function y(e){var n=e-p;return void 0===p||n>=t||n<0||g&&e-h>=u}function b(){var e=o();if(y(e))return T(e);f=setTimeout(b,function(e){var n=t-(e-p);return g?s(n,u-(e-h)):n}(e))}function T(e){return f=void 0,E&&l?v(e):(l=c=void 0,d)}function _(){var e=o(),n=y(e);if(l=arguments,c=this,p=e,n){if(void 0===f)return function(e){return h=e,f=setTimeout(b,t),m?v(e):d}(p);if(g)return clearTimeout(f),f=setTimeout(b,t),v(p)}return void 0===f&&(f=setTimeout(b,t)),d}return t=i(t)||0,r(n)&&(m=!!n.leading,u=(g="maxWait"in n)?a(i(n.maxWait)||0,t):u,E="trailing"in n?!!n.trailing:E),_.cancel=function(){void 0!==f&&clearTimeout(f),h=0,l=p=c=f=void 0},_.flush=function(){return void 0===f?d:T(o())},_}},218:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},793:(e,t,n)=>{var r=n(239),o=n(5);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},771:(e,t,n)=>{var r=n(639);e.exports=function(){return r.Date.now()}},493:(e,t,n)=>{var r=n(279),o=n(218);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},841:(e,t,n)=>{var r=n(561),o=n(218),i=n(793),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},448:(e,t,n)=>{"use strict";var r=n(294),o=n(840);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function m(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var E=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function y(e,t,n,r){var o=g.hasOwnProperty(t)?g[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(E,v);g[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(E,v);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(E,v);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var b=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,T=Symbol.for("react.element"),_=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),k=Symbol.for("react.provider"),N=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),D=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var R=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var L=Symbol.iterator;function P(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=L&&e[L]||e["@@iterator"])?e:null}var M,B=Object.assign;function F(e){if(void 0===M)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);M=t&&t[1]||""}return"\n"+M+e}var U=!1;function H(e,t){if(!e||U)return"";U=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s]){var l="\n"+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{U=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function j(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=H(e.type,!1);case 11:return e=H(e.type.render,!1);case 1:return e=H(e.type,!0);default:return""}}function G(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case A:return"Fragment";case _:return"Portal";case C:return"Profiler";case S:return"StrictMode";case x:return"Suspense";case O:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case N:return(e.displayName||"Context")+".Consumer";case k:return(e._context.displayName||"Context")+".Provider";case I:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case w:return null!==(t=e.displayName||null)?t:G(e.type)||"Memo";case D:t=e._payload,e=e._init;try{return G(e(t))}catch(e){}}return null}function Q(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return G(t);case 8:return t===S?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function z(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Y(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function V(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function q(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function K(e,t){var n=t.checked;return B({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function X(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=z(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function $(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function J(e,t){$(e,t);var n=z(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,z(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Z(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+z(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return B({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:z(n)}}function ie(e,t){var n=z(t.value),r=z(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var Ee=B({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ve(e,t){if(t){if(Ee[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function ye(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var be=null;function Te(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var _e=null,Ae=null,Se=null;function Ce(e){if(e=bo(e)){if("function"!=typeof _e)throw Error(i(280));var t=e.stateNode;t&&(t=_o(t),_e(e.stateNode,e.type,t))}}function ke(e){Ae?Se?Se.push(e):Se=[e]:Ae=e}function Ne(){if(Ae){var e=Ae,t=Se;if(Se=Ae=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function Ie(e,t){return e(t)}function xe(){}var Oe=!1;function we(e,t,n){if(Oe)return e(t,n);Oe=!0;try{return Ie(e,t,n)}finally{Oe=!1,(null!==Ae||null!==Se)&&(xe(),Ne())}}function De(e,t){var n=e.stateNode;if(null===n)return null;var r=_o(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var Re=!1;if(u)try{var Le={};Object.defineProperty(Le,"passive",{get:function(){Re=!0}}),window.addEventListener("test",Le,Le),window.removeEventListener("test",Le,Le)}catch(ue){Re=!1}function Pe(e,t,n,r,o,i,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var Me=!1,Be=null,Fe=!1,Ue=null,He={onError:function(e){Me=!0,Be=e}};function je(e,t,n,r,o,i,a,s,l){Me=!1,Be=null,Pe.apply(He,arguments)}function Ge(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Qe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function ze(e){if(Ge(e)!==e)throw Error(i(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ge(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return ze(o),e;if(a===r)return ze(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=a;break}if(l===r){s=!0,r=o,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=o;break}if(l===r){s=!0,r=a,n=o;break}l=l.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?Ye(e):null}function Ye(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ye(e);if(null!==t)return t;e=e.sibling}return null}var Ve=o.unstable_scheduleCallback,qe=o.unstable_cancelCallback,Ke=o.unstable_shouldYield,Xe=o.unstable_requestPaint,$e=o.unstable_now,Je=o.unstable_getCurrentPriorityLevel,Ze=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~o;0!==s?r=dt(s):0!==(i&=a)&&(r=dt(i))}else 0!==(a=n&~o)?r=dt(a):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!=(4194240&i)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ct;return 0==(4194240&(ct<<=1))&&(ct=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Et(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var yt=0;function bt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var Tt,_t,At,St,Ct,kt=!1,Nt=[],It=null,xt=null,Ot=null,wt=new Map,Dt=new Map,Rt=[],Lt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Pt(e,t){switch(e){case"focusin":case"focusout":It=null;break;case"dragenter":case"dragleave":xt=null;break;case"mouseover":case"mouseout":Ot=null;break;case"pointerover":case"pointerout":wt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Dt.delete(t.pointerId)}}function Mt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=bo(t))&&_t(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Bt(e){var t=yo(e.target);if(null!==t){var n=Ge(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Qe(n)))return e.blockedOn=t,void Ct(e.priority,(function(){At(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ft(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Kt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=bo(n))&&_t(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);be=r,n.target.dispatchEvent(r),be=null,t.shift()}return!0}function Ut(e,t,n){Ft(e)&&n.delete(t)}function Ht(){kt=!1,null!==It&&Ft(It)&&(It=null),null!==xt&&Ft(xt)&&(xt=null),null!==Ot&&Ft(Ot)&&(Ot=null),wt.forEach(Ut),Dt.forEach(Ut)}function jt(e,t){e.blockedOn===t&&(e.blockedOn=null,kt||(kt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Ht)))}function Gt(e){function t(t){return jt(t,e)}if(0<Nt.length){jt(Nt[0],e);for(var n=1;n<Nt.length;n++){var r=Nt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==It&&jt(It,e),null!==xt&&jt(xt,e),null!==Ot&&jt(Ot,e),wt.forEach(t),Dt.forEach(t),n=0;n<Rt.length;n++)(r=Rt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Rt.length&&null===(n=Rt[0]).blockedOn;)Bt(n),null===n.blockedOn&&Rt.shift()}var Qt=b.ReactCurrentBatchConfig,zt=!0;function Wt(e,t,n,r){var o=yt,i=Qt.transition;Qt.transition=null;try{yt=1,Vt(e,t,n,r)}finally{yt=o,Qt.transition=i}}function Yt(e,t,n,r){var o=yt,i=Qt.transition;Qt.transition=null;try{yt=4,Vt(e,t,n,r)}finally{yt=o,Qt.transition=i}}function Vt(e,t,n,r){if(zt){var o=Kt(e,t,n,r);if(null===o)zr(e,t,r,qt,n),Pt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return It=Mt(It,e,t,n,r,o),!0;case"dragenter":return xt=Mt(xt,e,t,n,r,o),!0;case"mouseover":return Ot=Mt(Ot,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return wt.set(i,Mt(wt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Dt.set(i,Mt(Dt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Pt(e,r),4&t&&-1<Lt.indexOf(e)){for(;null!==o;){var i=bo(o);if(null!==i&&Tt(i),null===(i=Kt(e,t,n,r))&&zr(e,t,r,qt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else zr(e,t,r,null,n)}}var qt=null;function Kt(e,t,n,r){if(qt=null,null!==(e=yo(e=Te(r))))if(null===(t=Ge(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Qe(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return qt=e,null}function Xt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Je()){case Ze:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var $t=null,Jt=null,Zt=null;function en(){if(Zt)return Zt;var e,t,n=Jt,r=n.length,o="value"in $t?$t.value:$t.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Zt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return B(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,ln,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=on(cn),dn=B({},cn,{view:0,detail:0}),fn=on(dn),pn=B({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(an=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=an=0,ln=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),hn=on(pn),mn=on(B({},pn,{dataTransfer:0})),gn=on(B({},dn,{relatedTarget:0})),En=on(B({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=B({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yn=on(vn),bn=on(B({},cn,{data:0})),Tn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_n={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},An={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=An[e])&&!!t[e]}function Cn(){return Sn}var kn=B({},dn,{key:function(e){if(e.key){var t=Tn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?_n[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Nn=on(kn),In=on(B({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),xn=on(B({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),On=on(B({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),wn=B({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Dn=on(wn),Rn=[9,13,27,32],Ln=u&&"CompositionEvent"in window,Pn=null;u&&"documentMode"in document&&(Pn=document.documentMode);var Mn=u&&"TextEvent"in window&&!Pn,Bn=u&&(!Ln||Pn&&8<Pn&&11>=Pn),Fn=String.fromCharCode(32),Un=!1;function Hn(e,t){switch(e){case"keyup":return-1!==Rn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Gn=!1;var Qn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function zn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Qn[e.type]:"textarea"===t}function Wn(e,t,n,r){ke(r),0<(t=Yr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Yn=null,Vn=null;function qn(e){Fr(e,0)}function Kn(e){if(V(To(e)))return e}function Xn(e,t){if("change"===e)return t}var $n=!1;if(u){var Jn;if(u){var Zn="oninput"in document;if(!Zn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Zn="function"==typeof er.oninput}Jn=Zn}else Jn=!1;$n=Jn&&(!document.documentMode||9<document.documentMode)}function tr(){Yn&&(Yn.detachEvent("onpropertychange",nr),Vn=Yn=null)}function nr(e){if("value"===e.propertyName&&Kn(Vn)){var t=[];Wn(t,Vn,e,Te(e)),we(qn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Vn=n,(Yn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Kn(Vn)}function ir(e,t){if("click"===e)return Kn(t)}function ar(e,t){if("input"===e||"change"===e)return Kn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function lr(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!sr(e[o],t[o]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=q();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=q((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=ur(n,i);var a=ur(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=u&&"documentMode"in document&&11>=document.documentMode,gr=null,Er=null,vr=null,yr=!1;function br(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;yr||null==gr||gr!==q(r)||("selectionStart"in(r=gr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&lr(vr,r)||(vr=r,0<(r=Yr(Er,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function Tr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var _r={animationend:Tr("Animation","AnimationEnd"),animationiteration:Tr("Animation","AnimationIteration"),animationstart:Tr("Animation","AnimationStart"),transitionend:Tr("Transition","TransitionEnd")},Ar={},Sr={};function Cr(e){if(Ar[e])return Ar[e];if(!_r[e])return e;var t,n=_r[e];for(t in n)if(n.hasOwnProperty(t)&&t in Sr)return Ar[e]=n[t];return e}u&&(Sr=document.createElement("div").style,"AnimationEvent"in window||(delete _r.animationend.animation,delete _r.animationiteration.animation,delete _r.animationstart.animation),"TransitionEvent"in window||delete _r.transitionend.transition);var kr=Cr("animationend"),Nr=Cr("animationiteration"),Ir=Cr("animationstart"),xr=Cr("transitionend"),Or=new Map,wr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Dr(e,t){Or.set(e,t),l(t,[e])}for(var Rr=0;Rr<wr.length;Rr++){var Lr=wr[Rr];Dr(Lr.toLowerCase(),"on"+(Lr[0].toUpperCase()+Lr.slice(1)))}Dr(kr,"onAnimationEnd"),Dr(Nr,"onAnimationIteration"),Dr(Ir,"onAnimationStart"),Dr("dblclick","onDoubleClick"),Dr("focusin","onFocus"),Dr("focusout","onBlur"),Dr(xr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Pr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Mr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Pr));function Br(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,s,l,c){if(je.apply(this,arguments),Me){if(!Me)throw Error(i(198));var u=Be;Me=!1,Be=null,Fe||(Fe=!0,Ue=u)}}(r,t,void 0,e),e.currentTarget=null}function Fr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;Br(o,s,c),i=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;Br(o,s,c),i=l}}}if(Fe)throw e=Ue,Fe=!1,Ue=null,e}function Ur(e,t){var n=t[go];void 0===n&&(n=t[go]=new Set);var r=e+"__bubble";n.has(r)||(Qr(t,e,2,!1),n.add(r))}function Hr(e,t,n){var r=0;t&&(r|=4),Qr(n,e,r,t)}var jr="_reactListening"+Math.random().toString(36).slice(2);function Gr(e){if(!e[jr]){e[jr]=!0,a.forEach((function(t){"selectionchange"!==t&&(Mr.has(t)||Hr(t,!1,e),Hr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[jr]||(t[jr]=!0,Hr("selectionchange",!1,t))}}function Qr(e,t,n,r){switch(Xt(t)){case 1:var o=Wt;break;case 4:o=Yt;break;default:o=Vt}n=o.bind(null,t,n,e),o=void 0,!Re||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function zr(e,t,n,r,o){var i=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=yo(s)))return;if(5===(l=a.tag)||6===l){r=i=a;continue e}s=s.parentNode}}r=r.return}we((function(){var r=i,o=Te(n),a=[];e:{var s=Or.get(e);if(void 0!==s){var l=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=Nn;break;case"focusin":c="focus",l=gn;break;case"focusout":c="blur",l=gn;break;case"beforeblur":case"afterblur":l=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=xn;break;case kr:case Nr:case Ir:l=En;break;case xr:l=On;break;case"scroll":l=fn;break;case"wheel":l=Dn;break;case"copy":case"cut":case"paste":l=yn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=In}var u=0!=(4&t),d=!u&&"scroll"===e,f=u?null!==s?s+"Capture":null:s;u=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=De(h,f))&&u.push(Wr(h,m,p)))),d)break;h=h.return}0<u.length&&(s=new l(s,c,null,n,o),a.push({event:s,listeners:u}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===be||!(c=n.relatedTarget||n.fromElement)||!yo(c)&&!c[mo])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?yo(c):null)&&(c!==(d=Ge(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=hn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=In,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==l?s:To(l),p=null==c?s:To(c),(s=new u(m,h+"leave",l,n,o)).target=d,s.relatedTarget=p,m=null,yo(o)===r&&((u=new u(f,h+"enter",c,n,o)).target=p,u.relatedTarget=d,m=u),d=m,l&&c)e:{for(f=c,h=0,p=u=l;p;p=Vr(p))h++;for(p=0,m=f;m;m=Vr(m))p++;for(;0<h-p;)u=Vr(u),h--;for(;0<p-h;)f=Vr(f),p--;for(;h--;){if(u===f||null!==f&&u===f.alternate)break e;u=Vr(u),f=Vr(f)}u=null}else u=null;null!==l&&qr(a,s,l,u,!1),null!==c&&null!==d&&qr(a,d,c,u,!0)}if("select"===(l=(s=r?To(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Xn;else if(zn(s))if($n)g=ar;else{g=or;var E=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=ir);switch(g&&(g=g(e,r))?Wn(a,g,n,o):(E&&E(e,s,r),"focusout"===e&&(E=s._wrapperState)&&E.controlled&&"number"===s.type&&ee(s,"number",s.value)),E=r?To(r):window,e){case"focusin":(zn(E)||"true"===E.contentEditable)&&(gr=E,Er=r,vr=null);break;case"focusout":vr=Er=gr=null;break;case"mousedown":yr=!0;break;case"contextmenu":case"mouseup":case"dragend":yr=!1,br(a,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":br(a,n,o)}var v;if(Ln)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else Gn?Hn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(Bn&&"ko"!==n.locale&&(Gn||"onCompositionStart"!==y?"onCompositionEnd"===y&&Gn&&(v=en()):(Jt="value"in($t=o)?$t.value:$t.textContent,Gn=!0)),0<(E=Yr(r,y)).length&&(y=new bn(y,e,null,n,o),a.push({event:y,listeners:E}),v?y.data=v:null!==(v=jn(n))&&(y.data=v))),(v=Mn?function(e,t){switch(e){case"compositionend":return jn(t);case"keypress":return 32!==t.which?null:(Un=!0,Fn);case"textInput":return(e=t.data)===Fn&&Un?null:e;default:return null}}(e,n):function(e,t){if(Gn)return"compositionend"===e||!Ln&&Hn(e,t)?(e=en(),Zt=Jt=$t=null,Gn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Bn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Yr(r,"onBeforeInput")).length&&(o=new bn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=v))}Fr(a,t)}))}function Wr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Yr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=De(e,n))&&r.unshift(Wr(e,i,o)),null!=(i=De(e,t))&&r.push(Wr(e,i,o))),e=e.return}return r}function Vr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function qr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,o?null!=(l=De(n,i))&&a.unshift(Wr(n,l,s)):o||null!=(l=De(n,i))&&a.push(Wr(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Kr=/\r\n?/g,Xr=/\u0000|\uFFFD/g;function $r(e){return("string"==typeof e?e:""+e).replace(Kr,"\n").replace(Xr,"")}function Jr(e,t,n){if(t=$r(t),$r(e)!==t&&n)throw Error(i(425))}function Zr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,io="function"==typeof Promise?Promise:void 0,ao="function"==typeof queueMicrotask?queueMicrotask:void 0!==io?function(e){return io.resolve(null).then(e).catch(so)}:ro;function so(e){setTimeout((function(){throw e}))}function lo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Gt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Gt(t)}function co(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function uo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,ho="__reactProps$"+fo,mo="__reactContainer$"+fo,go="__reactEvents$"+fo,Eo="__reactListeners$"+fo,vo="__reactHandles$"+fo;function yo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mo]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uo(e);null!==e;){if(n=e[po])return n;e=uo(e)}return t}n=(e=n).parentNode}return null}function bo(e){return!(e=e[po]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function To(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function _o(e){return e[ho]||null}var Ao=[],So=-1;function Co(e){return{current:e}}function ko(e){0>So||(e.current=Ao[So],Ao[So]=null,So--)}function No(e,t){So++,Ao[So]=e.current,e.current=t}var Io={},xo=Co(Io),Oo=Co(!1),wo=Io;function Do(e,t){var n=e.type.contextTypes;if(!n)return Io;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ro(e){return null!=(e=e.childContextTypes)}function Lo(){ko(Oo),ko(xo)}function Po(e,t,n){if(xo.current!==Io)throw Error(i(168));No(xo,t),No(Oo,n)}function Mo(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,Q(e)||"Unknown",o));return B({},n,r)}function Bo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Io,wo=xo.current,No(xo,e),No(Oo,Oo.current),!0}function Fo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Mo(e,t,wo),r.__reactInternalMemoizedMergedChildContext=e,ko(Oo),ko(xo),No(xo,e)):ko(Oo),No(Oo,n)}var Uo=null,Ho=!1,jo=!1;function Go(e){null===Uo?Uo=[e]:Uo.push(e)}function Qo(){if(!jo&&null!==Uo){jo=!0;var e=0,t=yt;try{var n=Uo;for(yt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Uo=null,Ho=!1}catch(t){throw null!==Uo&&(Uo=Uo.slice(e+1)),Ve(Ze,Qo),t}finally{yt=t,jo=!1}}return null}var zo=[],Wo=0,Yo=null,Vo=0,qo=[],Ko=0,Xo=null,$o=1,Jo="";function Zo(e,t){zo[Wo++]=Vo,zo[Wo++]=Yo,Yo=e,Vo=t}function ei(e,t,n){qo[Ko++]=$o,qo[Ko++]=Jo,qo[Ko++]=Xo,Xo=e;var r=$o;e=Jo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,$o=1<<32-at(t)+o|n<<o|r,Jo=i+e}else $o=1<<i|n<<o|r,Jo=e}function ti(e){null!==e.return&&(Zo(e,1),ei(e,1,0))}function ni(e){for(;e===Yo;)Yo=zo[--Wo],zo[Wo]=null,Vo=zo[--Wo],zo[Wo]=null;for(;e===Xo;)Xo=qo[--Ko],qo[Ko]=null,Jo=qo[--Ko],qo[Ko]=null,$o=qo[--Ko],qo[Ko]=null}var ri=null,oi=null,ii=!1,ai=null;function si(e,t){var n=wc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function li(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=co(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Xo?{id:$o,overflow:Jo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=wc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function ci(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function ui(e){if(ii){var t=oi;if(t){var n=t;if(!li(e,t)){if(ci(e))throw Error(i(418));t=co(n.nextSibling);var r=ri;t&&li(e,t)?si(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(ci(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function di(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function fi(e){if(e!==ri)return!1;if(!ii)return di(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(ci(e))throw pi(),Error(i(418));for(;t;)si(e,t),t=co(t.nextSibling)}if(di(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=co(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?co(e.stateNode.nextSibling):null;return!0}function pi(){for(var e=oi;e;)e=co(e.nextSibling)}function hi(){oi=ri=null,ii=!1}function mi(e){null===ai?ai=[e]:ai.push(e)}var gi=b.ReactCurrentBatchConfig;function Ei(e,t){if(e&&e.defaultProps){for(var n in t=B({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var vi=Co(null),yi=null,bi=null,Ti=null;function _i(){Ti=bi=yi=null}function Ai(e){var t=vi.current;ko(vi),e._currentValue=t}function Si(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ci(e,t){yi=e,Ti=bi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(ys=!0),e.firstContext=null)}function ki(e){var t=e._currentValue;if(Ti!==e)if(e={context:e,memoizedValue:t,next:null},null===bi){if(null===yi)throw Error(i(308));bi=e,yi.dependencies={lanes:0,firstContext:e}}else bi=bi.next=e;return t}var Ni=null;function Ii(e){null===Ni?Ni=[e]:Ni.push(e)}function xi(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Ii(t)):(n.next=o.next,o.next=n),t.interleaved=n,Oi(e,r)}function Oi(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var wi=!1;function Di(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ri(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Li(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Pi(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Il)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Oi(e,n)}return null===(o=r.interleaved)?(t.next=t,Ii(r)):(t.next=o.next,o.next=t),r.interleaved=t,Oi(e,n)}function Mi(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}function Bi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Fi(e,t,n,r){var o=e.updateQueue;wi=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,c=l.next;l.next=null,null===a?i=c:a.next=c,a=l;var u=e.alternate;null!==u&&((s=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(null!==i){var d=o.baseState;for(a=0,u=c=l=null,s=i;;){var f=s.lane,p=s.eventTime;if((r&f)===f){null!==u&&(u=u.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,m=s;switch(f=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(p,d,f):h))break e;d=B({},d,f);break e;case 2:wi=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=p,l=d):u=u.next=p,a|=f;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(f=s).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===u&&(l=d),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Ml|=a,e.lanes=a,e.memoizedState=d}}function Ui(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(i(191,o));o.call(r)}}}var Hi=(new r.Component).refs;function ji(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:B({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Gi={isMounted:function(e){return!!(e=e._reactInternals)&&Ge(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ec(),o=tc(e),i=Li(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=Pi(e,i,o))&&(nc(t,e,o,r),Mi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ec(),o=tc(e),i=Li(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=Pi(e,i,o))&&(nc(t,e,o,r),Mi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ec(),r=tc(e),o=Li(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Pi(e,o,r))&&(nc(t,e,r,n),Mi(t,e,r))}};function Qi(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(o,i))}function zi(e,t,n){var r=!1,o=Io,i=t.contextType;return"object"==typeof i&&null!==i?i=ki(i):(o=Ro(t)?wo:xo.current,i=(r=null!=(r=t.contextTypes))?Do(e,o):Io),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Gi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Wi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Gi.enqueueReplaceState(t,t.state,null)}function Yi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Hi,Di(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=ki(i):(i=Ro(t)?wo:xo.current,o.context=Do(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(ji(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Gi.enqueueReplaceState(o,o.state,null),Fi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Vi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;t===Hi&&(t=o.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function qi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ki(e){return(0,e._init)(e._payload)}function Xi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Rc(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Bc(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){var i=n.type;return i===A?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===D&&Ki(i)===t.type)?((r=o(t,n.props)).ref=Vi(e,t,n),r.return=e,r):((r=Lc(n.type,n.key,n.props,null,e.mode,r)).ref=Vi(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Fc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Pc(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Bc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case T:return(n=Lc(t.type,t.key,t.props,null,e.mode,n)).ref=Vi(e,null,t),n.return=e,n;case _:return(t=Fc(t,e.mode,n)).return=e,t;case D:return f(e,(0,t._init)(t._payload),n)}if(te(t)||P(t))return(t=Pc(t,e.mode,n,null)).return=e,t;qi(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case T:return n.key===o?c(e,t,n,r):null;case _:return n.key===o?u(e,t,n,r):null;case D:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||P(n))return null!==o?null:d(e,t,n,r,null);qi(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case T:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case _:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case D:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||P(r))return d(t,e=e.get(n)||null,r,o,null);qi(t,r)}return null}function m(o,i,s,l){for(var c=null,u=null,d=i,m=i=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var E=p(o,d,s[m],l);if(null===E){null===d&&(d=g);break}e&&d&&null===E.alternate&&t(o,d),i=a(E,i,m),null===u?c=E:u.sibling=E,u=E,d=g}if(m===s.length)return n(o,d),ii&&Zo(o,m),c;if(null===d){for(;m<s.length;m++)null!==(d=f(o,s[m],l))&&(i=a(d,i,m),null===u?c=d:u.sibling=d,u=d);return ii&&Zo(o,m),c}for(d=r(o,d);m<s.length;m++)null!==(g=h(d,o,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),i=a(g,i,m),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach((function(e){return t(o,e)})),ii&&Zo(o,m),c}function g(o,s,l,c){var u=P(l);if("function"!=typeof u)throw Error(i(150));if(null==(l=u.call(l)))throw Error(i(151));for(var d=u=null,m=s,g=s=0,E=null,v=l.next();null!==m&&!v.done;g++,v=l.next()){m.index>g?(E=m,m=null):E=m.sibling;var y=p(o,m,v.value,c);if(null===y){null===m&&(m=E);break}e&&m&&null===y.alternate&&t(o,m),s=a(y,s,g),null===d?u=y:d.sibling=y,d=y,m=E}if(v.done)return n(o,m),ii&&Zo(o,g),u;if(null===m){for(;!v.done;g++,v=l.next())null!==(v=f(o,v.value,c))&&(s=a(v,s,g),null===d?u=v:d.sibling=v,d=v);return ii&&Zo(o,g),u}for(m=r(o,m);!v.done;g++,v=l.next())null!==(v=h(m,o,g,v.value,c))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),s=a(v,s,g),null===d?u=v:d.sibling=v,d=v);return e&&m.forEach((function(e){return t(o,e)})),ii&&Zo(o,g),u}return function e(r,i,a,l){if("object"==typeof a&&null!==a&&a.type===A&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case T:e:{for(var c=a.key,u=i;null!==u;){if(u.key===c){if((c=a.type)===A){if(7===u.tag){n(r,u.sibling),(i=o(u,a.props.children)).return=r,r=i;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===D&&Ki(c)===u.type){n(r,u.sibling),(i=o(u,a.props)).ref=Vi(r,u,a),i.return=r,r=i;break e}n(r,u);break}t(r,u),u=u.sibling}a.type===A?((i=Pc(a.props.children,r.mode,l,a.key)).return=r,r=i):((l=Lc(a.type,a.key,a.props,null,r.mode,l)).ref=Vi(r,i,a),l.return=r,r=l)}return s(r);case _:e:{for(u=a.key;null!==i;){if(i.key===u){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Fc(a,r.mode,l)).return=r,r=i}return s(r);case D:return e(r,i,(u=a._init)(a._payload),l)}if(te(a))return m(r,i,a,l);if(P(a))return g(r,i,a,l);qi(r,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=Bc(a,r.mode,l)).return=r,r=i),s(r)):n(r,i)}}var $i=Xi(!0),Ji=Xi(!1),Zi={},ea=Co(Zi),ta=Co(Zi),na=Co(Zi);function ra(e){if(e===Zi)throw Error(i(174));return e}function oa(e,t){switch(No(na,t),No(ta,e),No(ea,Zi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ko(ea),No(ea,t)}function ia(){ko(ea),ko(ta),ko(na)}function aa(e){ra(na.current);var t=ra(ea.current),n=le(t,e.type);t!==n&&(No(ta,e),No(ea,n))}function sa(e){ta.current===e&&(ko(ea),ko(ta))}var la=Co(0);function ca(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ua=[];function da(){for(var e=0;e<ua.length;e++)ua[e]._workInProgressVersionPrimary=null;ua.length=0}var fa=b.ReactCurrentDispatcher,pa=b.ReactCurrentBatchConfig,ha=0,ma=null,ga=null,Ea=null,va=!1,ya=!1,ba=0,Ta=0;function _a(){throw Error(i(321))}function Aa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function Sa(e,t,n,r,o,a){if(ha=a,ma=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fa.current=null===e||null===e.memoizedState?ss:ls,e=n(r,o),ya){a=0;do{if(ya=!1,ba=0,25<=a)throw Error(i(301));a+=1,Ea=ga=null,t.updateQueue=null,fa.current=cs,e=n(r,o)}while(ya)}if(fa.current=as,t=null!==ga&&null!==ga.next,ha=0,Ea=ga=ma=null,va=!1,t)throw Error(i(300));return e}function Ca(){var e=0!==ba;return ba=0,e}function ka(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ea?ma.memoizedState=Ea=e:Ea=Ea.next=e,Ea}function Na(){if(null===ga){var e=ma.alternate;e=null!==e?e.memoizedState:null}else e=ga.next;var t=null===Ea?ma.memoizedState:Ea.next;if(null!==t)Ea=t,ga=e;else{if(null===e)throw Error(i(310));e={memoizedState:(ga=e).memoizedState,baseState:ga.baseState,baseQueue:ga.baseQueue,queue:ga.queue,next:null},null===Ea?ma.memoizedState=Ea=e:Ea=Ea.next=e}return Ea}function Ia(e,t){return"function"==typeof t?t(e):t}function xa(e){var t=Na(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=ga,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var l=s=null,c=null,u=a;do{var d=u.lane;if((ha&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=f,s=r):c=c.next=f,ma.lanes|=d,Ml|=d}u=u.next}while(null!==u&&u!==a);null===c?s=r:c.next=l,sr(r,t.memoizedState)||(ys=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,ma.lanes|=a,Ml|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Oa(e){var t=Na(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);sr(a,t.memoizedState)||(ys=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function wa(){}function Da(e,t){var n=ma,r=Na(),o=t(),a=!sr(r.memoizedState,o);if(a&&(r.memoizedState=o,ys=!0),r=r.queue,za(Pa.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==Ea&&1&Ea.memoizedState.tag){if(n.flags|=2048,Ua(9,La.bind(null,n,r,o,t),void 0,null),null===xl)throw Error(i(349));0!=(30&ha)||Ra(n,t,o)}return o}function Ra(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ma.updateQueue)?(t={lastEffect:null,stores:null},ma.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function La(e,t,n,r){t.value=n,t.getSnapshot=r,Ma(t)&&Ba(e)}function Pa(e,t,n){return n((function(){Ma(t)&&Ba(e)}))}function Ma(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(e){return!0}}function Ba(e){var t=Oi(e,1);null!==t&&nc(t,e,1,-1)}function Fa(e){var t=ka();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ia,lastRenderedState:e},t.queue=e,e=e.dispatch=ns.bind(null,ma,e),[t.memoizedState,e]}function Ua(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ma.updateQueue)?(t={lastEffect:null,stores:null},ma.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ha(){return Na().memoizedState}function ja(e,t,n,r){var o=ka();ma.flags|=e,o.memoizedState=Ua(1|t,n,void 0,void 0===r?null:r)}function Ga(e,t,n,r){var o=Na();r=void 0===r?null:r;var i=void 0;if(null!==ga){var a=ga.memoizedState;if(i=a.destroy,null!==r&&Aa(r,a.deps))return void(o.memoizedState=Ua(t,n,i,r))}ma.flags|=e,o.memoizedState=Ua(1|t,n,i,r)}function Qa(e,t){return ja(8390656,8,e,t)}function za(e,t){return Ga(2048,8,e,t)}function Wa(e,t){return Ga(4,2,e,t)}function Ya(e,t){return Ga(4,4,e,t)}function Va(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function qa(e,t,n){return n=null!=n?n.concat([e]):null,Ga(4,4,Va.bind(null,t,e),n)}function Ka(){}function Xa(e,t){var n=Na();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Aa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function $a(e,t){var n=Na();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Aa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ja(e,t,n){return 0==(21&ha)?(e.baseState&&(e.baseState=!1,ys=!0),e.memoizedState=n):(sr(n,t)||(n=mt(),ma.lanes|=n,Ml|=n,e.baseState=!0),t)}function Za(e,t){var n=yt;yt=0!==n&&4>n?n:4,e(!0);var r=pa.transition;pa.transition={};try{e(!1),t()}finally{yt=n,pa.transition=r}}function es(){return Na().memoizedState}function ts(e,t,n){var r=tc(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(e))os(t,n);else if(null!==(n=xi(e,t,n,r))){nc(n,e,r,ec()),is(n,t,r)}}function ns(e,t,n){var r=tc(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(e))os(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,sr(s,a)){var l=t.interleaved;return null===l?(o.next=o,Ii(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=xi(e,t,o,r))&&(nc(n,e,r,o=ec()),is(n,t,r))}}function rs(e){var t=e.alternate;return e===ma||null!==t&&t===ma}function os(e,t){ya=va=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function is(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var as={readContext:ki,useCallback:_a,useContext:_a,useEffect:_a,useImperativeHandle:_a,useInsertionEffect:_a,useLayoutEffect:_a,useMemo:_a,useReducer:_a,useRef:_a,useState:_a,useDebugValue:_a,useDeferredValue:_a,useTransition:_a,useMutableSource:_a,useSyncExternalStore:_a,useId:_a,unstable_isNewReconciler:!1},ss={readContext:ki,useCallback:function(e,t){return ka().memoizedState=[e,void 0===t?null:t],e},useContext:ki,useEffect:Qa,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ja(4194308,4,Va.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ja(4194308,4,e,t)},useInsertionEffect:function(e,t){return ja(4,2,e,t)},useMemo:function(e,t){var n=ka();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ka();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ts.bind(null,ma,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ka().memoizedState=e},useState:Fa,useDebugValue:Ka,useDeferredValue:function(e){return ka().memoizedState=e},useTransition:function(){var e=Fa(!1),t=e[0];return e=Za.bind(null,e[1]),ka().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ma,o=ka();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===xl)throw Error(i(349));0!=(30&ha)||Ra(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Qa(Pa.bind(null,r,a,e),[e]),r.flags|=2048,Ua(9,La.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=ka(),t=xl.identifierPrefix;if(ii){var n=Jo;t=":"+t+"R"+(n=($o&~(1<<32-at($o)-1)).toString(32)+n),0<(n=ba++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=Ta++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ls={readContext:ki,useCallback:Xa,useContext:ki,useEffect:za,useImperativeHandle:qa,useInsertionEffect:Wa,useLayoutEffect:Ya,useMemo:$a,useReducer:xa,useRef:Ha,useState:function(){return xa(Ia)},useDebugValue:Ka,useDeferredValue:function(e){return Ja(Na(),ga.memoizedState,e)},useTransition:function(){return[xa(Ia)[0],Na().memoizedState]},useMutableSource:wa,useSyncExternalStore:Da,useId:es,unstable_isNewReconciler:!1},cs={readContext:ki,useCallback:Xa,useContext:ki,useEffect:za,useImperativeHandle:qa,useInsertionEffect:Wa,useLayoutEffect:Ya,useMemo:$a,useReducer:Oa,useRef:Ha,useState:function(){return Oa(Ia)},useDebugValue:Ka,useDeferredValue:function(e){var t=Na();return null===ga?t.memoizedState=e:Ja(t,ga.memoizedState,e)},useTransition:function(){return[Oa(Ia)[0],Na().memoizedState]},useMutableSource:wa,useSyncExternalStore:Da,useId:es,unstable_isNewReconciler:!1};function us(e,t){try{var n="",r=t;do{n+=j(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function ds(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}var fs="function"==typeof WeakMap?WeakMap:Map;function ps(e,t,n){(n=Li(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){zl||(zl=!0,Wl=r)},n}function hs(e,t,n){(n=Li(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Yl?Yl=new Set([this]):Yl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ms(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fs;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Cc.bind(null,e,t,n),t.then(e,e))}function gs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function Es(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Li(-1,1)).tag=2,Pi(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var vs=b.ReactCurrentOwner,ys=!1;function bs(e,t,n,r){t.child=null===e?Ji(t,null,n,r):$i(t,e.child,n,r)}function Ts(e,t,n,r,o){n=n.render;var i=t.ref;return Ci(t,o),r=Sa(e,t,n,r,i,o),n=Ca(),null===e||ys?(ii&&n&&ti(t),t.flags|=1,bs(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,zs(e,t,o))}function _s(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||Dc(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Lc(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,As(e,t,i,r,o))}if(i=e.child,0==(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(a,r)&&e.ref===t.ref)return zs(e,t,o)}return t.flags|=1,(e=Rc(i,r)).ref=t.ref,e.return=t,t.child=e}function As(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(lr(i,r)&&e.ref===t.ref){if(ys=!1,t.pendingProps=r=i,0==(e.lanes&o))return t.lanes=e.lanes,zs(e,t,o);0!=(131072&e.flags)&&(ys=!0)}}return ks(e,t,n,r,o)}function Ss(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},No(Rl,Dl),Dl|=n;else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,No(Rl,Dl),Dl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,No(Rl,Dl),Dl|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,No(Rl,Dl),Dl|=r;return bs(e,t,o,n),t.child}function Cs(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ks(e,t,n,r,o){var i=Ro(n)?wo:xo.current;return i=Do(t,i),Ci(t,o),n=Sa(e,t,n,r,i,o),r=Ca(),null===e||ys?(ii&&r&&ti(t),t.flags|=1,bs(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,zs(e,t,o))}function Ns(e,t,n,r,o){if(Ro(n)){var i=!0;Bo(t)}else i=!1;if(Ci(t,o),null===t.stateNode)Qs(e,t),zi(t,n,r),Yi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;"object"==typeof c&&null!==c?c=ki(c):c=Do(t,c=Ro(n)?wo:xo.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==c)&&Wi(t,a,r,c),wi=!1;var f=t.memoizedState;a.state=f,Fi(t,r,a,o),l=t.memoizedState,s!==r||f!==l||Oo.current||wi?("function"==typeof u&&(ji(t,n,u,r),l=t.memoizedState),(s=wi||Qi(t,n,s,r,f,l,c))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Ri(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Ei(t.type,s),a.props=c,d=t.pendingProps,f=a.context,"object"==typeof(l=n.contextType)&&null!==l?l=ki(l):l=Do(t,l=Ro(n)?wo:xo.current);var p=n.getDerivedStateFromProps;(u="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==d||f!==l)&&Wi(t,a,r,l),wi=!1,f=t.memoizedState,a.state=f,Fi(t,r,a,o);var h=t.memoizedState;s!==d||f!==h||Oo.current||wi?("function"==typeof p&&(ji(t,n,p,r),h=t.memoizedState),(c=wi||Qi(t,n,c,r,f,h,l)||!1)?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Is(e,t,n,r,i,o)}function Is(e,t,n,r,o,i){Cs(e,t);var a=0!=(128&t.flags);if(!r&&!a)return o&&Fo(t,n,!1),zs(e,t,i);r=t.stateNode,vs.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=$i(t,e.child,null,i),t.child=$i(t,null,s,i)):bs(e,t,s,i),t.memoizedState=r.state,o&&Fo(t,n,!0),t.child}function xs(e){var t=e.stateNode;t.pendingContext?Po(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Po(0,t.context,!1),oa(e,t.containerInfo)}function Os(e,t,n,r,o){return hi(),mi(o),t.flags|=256,bs(e,t,n,r),t.child}var ws,Ds,Rs,Ls,Ps={dehydrated:null,treeContext:null,retryLane:0};function Ms(e){return{baseLanes:e,cachePool:null,transitions:null}}function Bs(e,t,n){var r,o=t.pendingProps,a=la.current,s=!1,l=0!=(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),No(la,1&a),null===e)return ui(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=o.children,e=o.fallback,s?(o=t.mode,s=t.child,l={mode:"hidden",children:l},0==(1&o)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=Mc(l,o,0,null),e=Pc(e,o,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ms(n),t.memoizedState=Ps,e):Fs(t,l));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,s){if(n)return 256&t.flags?(t.flags&=-257,Us(e,t,s,r=ds(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Mc({mode:"visible",children:r.children},o,0,null),(a=Pc(a,o,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!=(1&t.mode)&&$i(t,e.child,null,s),t.child.memoizedState=Ms(s),t.memoizedState=Ps,a);if(0==(1&t.mode))return Us(e,t,s,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,Us(e,t,s,r=ds(a=Error(i(419)),r,void 0))}if(l=0!=(s&e.childLanes),ys||l){if(null!==(r=xl)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|s))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Oi(e,o),nc(r,e,o,-1))}return mc(),Us(e,t,s,r=ds(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Nc.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=co(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(qo[Ko++]=$o,qo[Ko++]=Jo,qo[Ko++]=Xo,$o=e.id,Jo=e.overflow,Xo=t),t=Fs(t,r.children),t.flags|=4096,t)}(e,t,l,o,r,a,n);if(s){s=o.fallback,l=t.mode,r=(a=e.child).sibling;var c={mode:"hidden",children:o.children};return 0==(1&l)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=c,t.deletions=null):(o=Rc(a,c)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=Rc(r,s):(s=Pc(s,l,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,l=null===(l=e.child.memoizedState)?Ms(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Ps,o}return e=(s=e.child).sibling,o=Rc(s,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Fs(e,t){return(t=Mc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Us(e,t,n,r){return null!==r&&mi(r),$i(t,e.child,null,n),(e=Fs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Hs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Si(e.return,t,n)}function js(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Gs(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(bs(e,t,r.children,n),0!=(2&(r=la.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Hs(e,n,t);else if(19===e.tag)Hs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(No(la,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ca(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),js(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ca(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}js(t,!0,n,null,i);break;case"together":js(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Qs(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function zs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ml|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Rc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Rc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ws(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ys(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Vs(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ys(t),null;case 1:case 17:return Ro(t.type)&&Lo(),Ys(t),null;case 3:return r=t.stateNode,ia(),ko(Oo),ko(xo),da(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ai&&(ac(ai),ai=null))),Ds(e,t),Ys(t),null;case 5:sa(t);var o=ra(na.current);if(n=t.type,null!==e&&null!=t.stateNode)Rs(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Ys(t),null}if(e=ra(ea.current),fi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[po]=t,r[ho]=a,e=0!=(1&t.mode),n){case"dialog":Ur("cancel",r),Ur("close",r);break;case"iframe":case"object":case"embed":Ur("load",r);break;case"video":case"audio":for(o=0;o<Pr.length;o++)Ur(Pr[o],r);break;case"source":Ur("error",r);break;case"img":case"image":case"link":Ur("error",r),Ur("load",r);break;case"details":Ur("toggle",r);break;case"input":X(r,a),Ur("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Ur("invalid",r);break;case"textarea":oe(r,a),Ur("invalid",r)}for(var l in ve(n,a),o=null,a)if(a.hasOwnProperty(l)){var c=a[l];"children"===l?"string"==typeof c?r.textContent!==c&&(!0!==a.suppressHydrationWarning&&Jr(r.textContent,c,e),o=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==a.suppressHydrationWarning&&Jr(r.textContent,c,e),o=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Ur("scroll",r)}switch(n){case"input":Y(r),Z(r,a,!0);break;case"textarea":Y(r),ae(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Zr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[po]=t,e[ho]=r,ws(e,t,!1,!1),t.stateNode=e;e:{switch(l=ye(n,r),n){case"dialog":Ur("cancel",e),Ur("close",e),o=r;break;case"iframe":case"object":case"embed":Ur("load",e),o=r;break;case"video":case"audio":for(o=0;o<Pr.length;o++)Ur(Pr[o],e);o=r;break;case"source":Ur("error",e),o=r;break;case"img":case"image":case"link":Ur("error",e),Ur("load",e),o=r;break;case"details":Ur("toggle",e),o=r;break;case"input":X(e,r),o=K(e,r),Ur("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=B({},r,{value:void 0}),Ur("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Ur("invalid",e)}for(a in ve(n,o),c=o)if(c.hasOwnProperty(a)){var u=c[a];"style"===a?ge(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===a?"string"==typeof u?("textarea"!==n||""!==u)&&fe(e,u):"number"==typeof u&&fe(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Ur("scroll",e):null!=u&&y(e,a,u,l))}switch(n){case"input":Y(e),Z(e,r,!1);break;case"textarea":Y(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+z(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Zr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ys(t),null;case 6:if(e&&null!=t.stateNode)Ls(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(n=ra(na.current),ra(ea.current),fi(t)){if(r=t.stateNode,n=t.memoizedProps,r[po]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Jr(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jr(r.nodeValue,n,0!=(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=t,t.stateNode=r}return Ys(t),null;case 13:if(ko(la),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&0!=(1&t.mode)&&0==(128&t.flags))pi(),hi(),t.flags|=98560,a=!1;else if(a=fi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[po]=t}else hi(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ys(t),a=!1}else null!==ai&&(ac(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&la.current)?0===Ll&&(Ll=3):mc())),null!==t.updateQueue&&(t.flags|=4),Ys(t),null);case 4:return ia(),Ds(e,t),null===e&&Gr(t.stateNode.containerInfo),Ys(t),null;case 10:return Ai(t.type._context),Ys(t),null;case 19:if(ko(la),null===(a=t.memoizedState))return Ys(t),null;if(r=0!=(128&t.flags),null===(l=a.rendering))if(r)Ws(a,!1);else{if(0!==Ll||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=ca(e))){for(t.flags|=128,Ws(a,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return No(la,1&la.current|2),t.child}e=e.sibling}null!==a.tail&&$e()>Gl&&(t.flags|=128,r=!0,Ws(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ca(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Ws(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!ii)return Ys(t),null}else 2*$e()-a.renderingStartTime>Gl&&1073741824!==n&&(t.flags|=128,r=!0,Ws(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=a.last)?n.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=$e(),t.sibling=null,n=la.current,No(la,r?1&n|2:1&n),t):(Ys(t),null);case 22:case 23:return dc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Dl)&&(Ys(t),6&t.subtreeFlags&&(t.flags|=8192)):Ys(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function qs(e,t){switch(ni(t),t.tag){case 1:return Ro(t.type)&&Lo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ia(),ko(Oo),ko(xo),da(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return sa(t),null;case 13:if(ko(la),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ko(la),null;case 4:return ia(),null;case 10:return Ai(t.type._context),null;case 22:case 23:return dc(),null;default:return null}}ws=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ds=function(){},Rs=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ra(ea.current);var i,a=null;switch(n){case"input":o=K(e,o),r=K(e,r),a=[];break;case"select":o=B({},o,{value:void 0}),r=B({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Zr)}for(u in ve(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var c=r[u];if(l=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(i in l)!l.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&l[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(a||(a=[]),a.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(a=a||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(a=a||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Ur("scroll",e),a||l===c||(a=[])):(a=a||[]).push(u,c))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},Ls=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ks=!1,Xs=!1,$s="function"==typeof WeakSet?WeakSet:Set,Js=null;function Zs(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Sc(e,t,n)}else n.current=null}function el(e,t,n){try{n()}catch(n){Sc(e,t,n)}}var tl=!1;function nl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&el(t,n,i)}o=o.next}while(o!==r)}}function rl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ol(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function il(e){var t=e.alternate;null!==t&&(e.alternate=null,il(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[po],delete t[ho],delete t[go],delete t[Eo],delete t[vo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function al(e){return 5===e.tag||3===e.tag||4===e.tag}function sl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||al(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ll(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Zr));else if(4!==r&&null!==(e=e.child))for(ll(e,t,n),e=e.sibling;null!==e;)ll(e,t,n),e=e.sibling}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}var ul=null,dl=!1;function fl(e,t,n){for(n=n.child;null!==n;)pl(e,t,n),n=n.sibling}function pl(e,t,n){if(it&&"function"==typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(e){}switch(n.tag){case 5:Xs||Zs(n,t);case 6:var r=ul,o=dl;ul=null,fl(e,t,n),dl=o,null!==(ul=r)&&(dl?(e=ul,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ul.removeChild(n.stateNode));break;case 18:null!==ul&&(dl?(e=ul,n=n.stateNode,8===e.nodeType?lo(e.parentNode,n):1===e.nodeType&&lo(e,n),Gt(e)):lo(ul,n.stateNode));break;case 4:r=ul,o=dl,ul=n.stateNode.containerInfo,dl=!0,fl(e,t,n),ul=r,dl=o;break;case 0:case 11:case 14:case 15:if(!Xs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!=(2&i)||0!=(4&i))&&el(n,t,a),o=o.next}while(o!==r)}fl(e,t,n);break;case 1:if(!Xs&&(Zs(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Sc(n,t,e)}fl(e,t,n);break;case 21:fl(e,t,n);break;case 22:1&n.mode?(Xs=(r=Xs)||null!==n.memoizedState,fl(e,t,n),Xs=r):fl(e,t,n);break;default:fl(e,t,n)}}function hl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new $s),t.forEach((function(t){var r=Ic.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ml(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:ul=l.stateNode,dl=!1;break e;case 3:case 4:ul=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===ul)throw Error(i(160));pl(a,s,o),ul=null,dl=!1;var c=o.alternate;null!==c&&(c.return=null),o.return=null}catch(e){Sc(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gl(t,e),t=t.sibling}function gl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ml(t,e),El(e),4&r){try{nl(3,e,e.return),rl(3,e)}catch(t){Sc(e,e.return,t)}try{nl(5,e,e.return)}catch(t){Sc(e,e.return,t)}}break;case 1:ml(t,e),El(e),512&r&&null!==n&&Zs(n,n.return);break;case 5:if(ml(t,e),El(e),512&r&&null!==n&&Zs(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(t){Sc(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===a.type&&null!=a.name&&$(o,a),ye(l,s);var u=ye(l,a);for(s=0;s<c.length;s+=2){var d=c[s],f=c[s+1];"style"===d?ge(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):y(o,d,f,u)}switch(l){case"input":J(o,a);break;case"textarea":ie(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ne(o,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[ho]=a}catch(t){Sc(e,e.return,t)}}break;case 6:if(ml(t,e),El(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){Sc(e,e.return,t)}}break;case 3:if(ml(t,e),El(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Gt(t.containerInfo)}catch(t){Sc(e,e.return,t)}break;case 4:default:ml(t,e),El(e);break;case 13:ml(t,e),El(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(jl=$e())),4&r&&hl(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Xs=(u=Xs)||d,ml(t,e),Xs=u):ml(t,e),El(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&0!=(1&e.mode))for(Js=e,d=e.child;null!==d;){for(f=Js=d;null!==Js;){switch(h=(p=Js).child,p.tag){case 0:case 11:case 14:case 15:nl(4,p,p.return);break;case 1:Zs(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Sc(r,n,e)}}break;case 5:Zs(p,p.return);break;case 22:if(null!==p.memoizedState){Tl(f);continue}}null!==h?(h.return=p,Js=h):Tl(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,u?"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=f.stateNode,s=null!=(c=f.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,l.style.display=me("display",s))}catch(t){Sc(e,e.return,t)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(t){Sc(e,e.return,t)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:ml(t,e),El(e),4&r&&hl(e);case 21:}}function El(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(al(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),cl(e,sl(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;ll(e,sl(e),a);break;default:throw Error(i(161))}}catch(t){Sc(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vl(e,t,n){Js=e,yl(e,t,n)}function yl(e,t,n){for(var r=0!=(1&e.mode);null!==Js;){var o=Js,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Ks;if(!a){var s=o.alternate,l=null!==s&&null!==s.memoizedState||Xs;s=Ks;var c=Xs;if(Ks=a,(Xs=l)&&!c)for(Js=o;null!==Js;)l=(a=Js).child,22===a.tag&&null!==a.memoizedState?_l(o):null!==l?(l.return=a,Js=l):_l(o);for(;null!==i;)Js=i,yl(i,t,n),i=i.sibling;Js=o,Ks=s,Xs=c}bl(e)}else 0!=(8772&o.subtreeFlags)&&null!==i?(i.return=o,Js=i):bl(e)}}function bl(e){for(;null!==Js;){var t=Js;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Xs||rl(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Xs)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Ei(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Ui(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Ui(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Gt(f)}}}break;default:throw Error(i(163))}Xs||512&t.flags&&ol(t)}catch(e){Sc(t,t.return,e)}}if(t===e){Js=null;break}if(null!==(n=t.sibling)){n.return=t.return,Js=n;break}Js=t.return}}function Tl(e){for(;null!==Js;){var t=Js;if(t===e){Js=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Js=n;break}Js=t.return}}function _l(e){for(;null!==Js;){var t=Js;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rl(4,t)}catch(e){Sc(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){Sc(t,o,e)}}var i=t.return;try{ol(t)}catch(e){Sc(t,i,e)}break;case 5:var a=t.return;try{ol(t)}catch(e){Sc(t,a,e)}}}catch(e){Sc(t,t.return,e)}if(t===e){Js=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Js=s;break}Js=t.return}}var Al,Sl=Math.ceil,Cl=b.ReactCurrentDispatcher,kl=b.ReactCurrentOwner,Nl=b.ReactCurrentBatchConfig,Il=0,xl=null,Ol=null,wl=0,Dl=0,Rl=Co(0),Ll=0,Pl=null,Ml=0,Bl=0,Fl=0,Ul=null,Hl=null,jl=0,Gl=1/0,Ql=null,zl=!1,Wl=null,Yl=null,Vl=!1,ql=null,Kl=0,Xl=0,$l=null,Jl=-1,Zl=0;function ec(){return 0!=(6&Il)?$e():-1!==Jl?Jl:Jl=$e()}function tc(e){return 0==(1&e.mode)?1:0!=(2&Il)&&0!==wl?wl&-wl:null!==gi.transition?(0===Zl&&(Zl=mt()),Zl):0!==(e=yt)?e:e=void 0===(e=window.event)?16:Xt(e.type)}function nc(e,t,n,r){if(50<Xl)throw Xl=0,$l=null,Error(i(185));Et(e,n,r),0!=(2&Il)&&e===xl||(e===xl&&(0==(2&Il)&&(Bl|=n),4===Ll&&sc(e,wl)),rc(e,r),1===n&&0===Il&&0==(1&t.mode)&&(Gl=$e()+500,Ho&&Qo()))}function rc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),s=1<<a,l=o[a];-1===l?0!=(s&n)&&0==(s&r)||(o[a]=pt(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var r=ft(e,e===xl?wl:0);if(0===r)null!==n&&qe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&qe(n),1===t)0===e.tag?function(e){Ho=!0,Go(e)}(lc.bind(null,e)):Go(lc.bind(null,e)),ao((function(){0==(6&Il)&&Qo()})),n=null;else{switch(bt(r)){case 1:n=Ze;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=xc(n,oc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function oc(e,t){if(Jl=-1,Zl=0,0!=(6&Il))throw Error(i(327));var n=e.callbackNode;if(_c()&&e.callbackNode!==n)return null;var r=ft(e,e===xl?wl:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=gc(e,r);else{t=r;var o=Il;Il|=2;var a=hc();for(xl===e&&wl===t||(Ql=null,Gl=$e()+500,fc(e,t));;)try{vc();break}catch(t){pc(e,t)}_i(),Cl.current=a,Il=o,null!==Ol?t=0:(xl=null,wl=0,t=Ll)}if(0!==t){if(2===t&&(0!==(o=ht(e))&&(r=o,t=ic(e,o))),1===t)throw n=Pl,fc(e,0),sc(e,r),rc(e,$e()),n;if(6===t)sc(e,r);else{if(o=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!sr(i(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=gc(e,r))&&(0!==(a=ht(e))&&(r=a,t=ic(e,a))),1===t))throw n=Pl,fc(e,0),sc(e,r),rc(e,$e()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:Tc(e,Hl,Ql);break;case 3:if(sc(e,r),(130023424&r)===r&&10<(t=jl+500-$e())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){ec(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(Tc.bind(null,e,Hl,Ql),t);break}Tc(e,Hl,Ql);break;case 4:if(sc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>o&&(o=s),r&=~a}if(r=o,10<(r=(120>(r=$e()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Sl(r/1960))-r)){e.timeoutHandle=ro(Tc.bind(null,e,Hl,Ql),r);break}Tc(e,Hl,Ql);break;default:throw Error(i(329))}}}return rc(e,$e()),e.callbackNode===n?oc.bind(null,e):null}function ic(e,t){var n=Ul;return e.current.memoizedState.isDehydrated&&(fc(e,t).flags|=256),2!==(e=gc(e,t))&&(t=Hl,Hl=n,null!==t&&ac(t)),e}function ac(e){null===Hl?Hl=e:Hl.push.apply(Hl,e)}function sc(e,t){for(t&=~Fl,t&=~Bl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function lc(e){if(0!=(6&Il))throw Error(i(327));_c();var t=ft(e,0);if(0==(1&t))return rc(e,$e()),null;var n=gc(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=ic(e,r))}if(1===n)throw n=Pl,fc(e,0),sc(e,t),rc(e,$e()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Tc(e,Hl,Ql),rc(e,$e()),null}function cc(e,t){var n=Il;Il|=1;try{return e(t)}finally{0===(Il=n)&&(Gl=$e()+500,Ho&&Qo())}}function uc(e){null!==ql&&0===ql.tag&&0==(6&Il)&&_c();var t=Il;Il|=1;var n=Nl.transition,r=yt;try{if(Nl.transition=null,yt=1,e)return e()}finally{yt=r,Nl.transition=n,0==(6&(Il=t))&&Qo()}}function dc(){Dl=Rl.current,ko(Rl)}function fc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Ol)for(n=Ol.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Lo();break;case 3:ia(),ko(Oo),ko(xo),da();break;case 5:sa(r);break;case 4:ia();break;case 13:case 19:ko(la);break;case 10:Ai(r.type._context);break;case 22:case 23:dc()}n=n.return}if(xl=e,Ol=e=Rc(e.current,null),wl=Dl=t,Ll=0,Pl=null,Fl=Bl=Ml=0,Hl=Ul=null,null!==Ni){for(t=0;t<Ni.length;t++)if(null!==(r=(n=Ni[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Ni=null}return e}function pc(e,t){for(;;){var n=Ol;try{if(_i(),fa.current=as,va){for(var r=ma.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}va=!1}if(ha=0,Ea=ga=ma=null,ya=!1,ba=0,kl.current=null,null===n||null===n.return){Ll=1,Pl=t,Ol=null;break}e:{var a=e,s=n.return,l=n,c=t;if(t=wl,l.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,d=l,f=d.tag;if(0==(1&d.mode)&&(0===f||11===f||15===f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=gs(s);if(null!==h){h.flags&=-257,Es(h,s,l,0,t),1&h.mode&&ms(a,u,t),c=u;var m=(t=h).updateQueue;if(null===m){var g=new Set;g.add(c),t.updateQueue=g}else m.add(c);break e}if(0==(1&t)){ms(a,u,t),mc();break e}c=Error(i(426))}else if(ii&&1&l.mode){var E=gs(s);if(null!==E){0==(65536&E.flags)&&(E.flags|=256),Es(E,s,l,0,t),mi(us(c,l));break e}}a=c=us(c,l),4!==Ll&&(Ll=2),null===Ul?Ul=[a]:Ul.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Bi(a,ps(0,c,t));break e;case 1:l=c;var v=a.type,y=a.stateNode;if(0==(128&a.flags)&&("function"==typeof v.getDerivedStateFromError||null!==y&&"function"==typeof y.componentDidCatch&&(null===Yl||!Yl.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t,Bi(a,hs(a,l,t));break e}}a=a.return}while(null!==a)}bc(n)}catch(e){t=e,Ol===n&&null!==n&&(Ol=n=n.return);continue}break}}function hc(){var e=Cl.current;return Cl.current=as,null===e?as:e}function mc(){0!==Ll&&3!==Ll&&2!==Ll||(Ll=4),null===xl||0==(268435455&Ml)&&0==(268435455&Bl)||sc(xl,wl)}function gc(e,t){var n=Il;Il|=2;var r=hc();for(xl===e&&wl===t||(Ql=null,fc(e,t));;)try{Ec();break}catch(t){pc(e,t)}if(_i(),Il=n,Cl.current=r,null!==Ol)throw Error(i(261));return xl=null,wl=0,Ll}function Ec(){for(;null!==Ol;)yc(Ol)}function vc(){for(;null!==Ol&&!Ke();)yc(Ol)}function yc(e){var t=Al(e.alternate,e,Dl);e.memoizedProps=e.pendingProps,null===t?bc(e):Ol=t,kl.current=null}function bc(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Vs(n,t,Dl)))return void(Ol=n)}else{if(null!==(n=qs(n,t)))return n.flags&=32767,void(Ol=n);if(null===e)return Ll=6,void(Ol=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Ol=t);Ol=t=e}while(null!==t);0===Ll&&(Ll=5)}function Tc(e,t,n){var r=yt,o=Nl.transition;try{Nl.transition=null,yt=1,function(e,t,n,r){do{_c()}while(null!==ql);if(0!=(6&Il))throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===xl&&(Ol=xl=null,wl=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Vl||(Vl=!0,xc(tt,(function(){return _c(),null}))),a=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||a){a=Nl.transition,Nl.transition=null;var s=yt;yt=1;var l=Il;Il|=4,kl.current=null,function(e,t){if(eo=zt,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var s=0,l=-1,c=-1,u=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==o&&3!==f.nodeType||(l=s+o),f!==a||0!==r&&3!==f.nodeType||(c=s+r),3===f.nodeType&&(s+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++u===o&&(l=s),p===a&&++d===r&&(c=s),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},zt=!1,Js=t;null!==Js;)if(e=(t=Js).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Js=e;else for(;null!==Js;){t=Js;try{var m=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,E=m.memoizedState,v=t.stateNode,y=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:Ei(t.type,g),E);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var b=t.stateNode.containerInfo;1===b.nodeType?b.textContent="":9===b.nodeType&&b.documentElement&&b.removeChild(b.documentElement);break;default:throw Error(i(163))}}catch(e){Sc(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Js=e;break}Js=t.return}m=tl,tl=!1}(e,n),gl(n,e),hr(to),zt=!!eo,to=eo=null,e.current=n,vl(n,e,o),Xe(),Il=l,yt=s,Nl.transition=a}else e.current=n;if(Vl&&(Vl=!1,ql=e,Kl=o),a=e.pendingLanes,0===a&&(Yl=null),function(e){if(it&&"function"==typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode),rc(e,$e()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(zl)throw zl=!1,e=Wl,Wl=null,e;0!=(1&Kl)&&0!==e.tag&&_c(),a=e.pendingLanes,0!=(1&a)?e===$l?Xl++:(Xl=0,$l=e):Xl=0,Qo()}(e,t,n,r)}finally{Nl.transition=o,yt=r}return null}function _c(){if(null!==ql){var e=bt(Kl),t=Nl.transition,n=yt;try{if(Nl.transition=null,yt=16>e?16:e,null===ql)var r=!1;else{if(e=ql,ql=null,Kl=0,0!=(6&Il))throw Error(i(331));var o=Il;for(Il|=4,Js=e.current;null!==Js;){var a=Js,s=a.child;if(0!=(16&Js.flags)){var l=a.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Js=u;null!==Js;){var d=Js;switch(d.tag){case 0:case 11:case 15:nl(8,d,a)}var f=d.child;if(null!==f)f.return=d,Js=f;else for(;null!==Js;){var p=(d=Js).sibling,h=d.return;if(il(d),d===u){Js=null;break}if(null!==p){p.return=h,Js=p;break}Js=h}}}var m=a.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var E=g.sibling;g.sibling=null,g=E}while(null!==g)}}Js=a}}if(0!=(2064&a.subtreeFlags)&&null!==s)s.return=a,Js=s;else e:for(;null!==Js;){if(0!=(2048&(a=Js).flags))switch(a.tag){case 0:case 11:case 15:nl(9,a,a.return)}var v=a.sibling;if(null!==v){v.return=a.return,Js=v;break e}Js=a.return}}var y=e.current;for(Js=y;null!==Js;){var b=(s=Js).child;if(0!=(2064&s.subtreeFlags)&&null!==b)b.return=s,Js=b;else e:for(s=y;null!==Js;){if(0!=(2048&(l=Js).flags))try{switch(l.tag){case 0:case 11:case 15:rl(9,l)}}catch(e){Sc(l,l.return,e)}if(l===s){Js=null;break e}var T=l.sibling;if(null!==T){T.return=l.return,Js=T;break e}Js=l.return}}if(Il=o,Qo(),it&&"function"==typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(e){}r=!0}return r}finally{yt=n,Nl.transition=t}}return!1}function Ac(e,t,n){e=Pi(e,t=ps(0,t=us(n,t),1),1),t=ec(),null!==e&&(Et(e,1,t),rc(e,t))}function Sc(e,t,n){if(3===e.tag)Ac(e,e,n);else for(;null!==t;){if(3===t.tag){Ac(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Yl||!Yl.has(r))){t=Pi(t,e=hs(t,e=us(n,e),1),1),e=ec(),null!==t&&(Et(t,1,e),rc(t,e));break}}t=t.return}}function Cc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ec(),e.pingedLanes|=e.suspendedLanes&n,xl===e&&(wl&n)===n&&(4===Ll||3===Ll&&(130023424&wl)===wl&&500>$e()-jl?fc(e,0):Fl|=n),rc(e,t)}function kc(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ut,0==(130023424&(ut<<=1))&&(ut=4194304)));var n=ec();null!==(e=Oi(e,t))&&(Et(e,t,n),rc(e,n))}function Nc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),kc(e,n)}function Ic(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),kc(e,n)}function xc(e,t){return Ve(e,t)}function Oc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function wc(e,t,n,r){return new Oc(e,t,n,r)}function Dc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Rc(e,t){var n=e.alternate;return null===n?((n=wc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Lc(e,t,n,r,o,a){var s=2;if(r=e,"function"==typeof e)Dc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case A:return Pc(n.children,o,a,t);case S:s=8,o|=8;break;case C:return(e=wc(12,n,t,2|o)).elementType=C,e.lanes=a,e;case x:return(e=wc(13,n,t,o)).elementType=x,e.lanes=a,e;case O:return(e=wc(19,n,t,o)).elementType=O,e.lanes=a,e;case R:return Mc(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case k:s=10;break e;case N:s=9;break e;case I:s=11;break e;case w:s=14;break e;case D:s=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=wc(s,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Pc(e,t,n,r){return(e=wc(7,e,r,t)).lanes=n,e}function Mc(e,t,n,r){return(e=wc(22,e,r,t)).elementType=R,e.lanes=n,e.stateNode={isHidden:!1},e}function Bc(e,t,n){return(e=wc(6,e,null,t)).lanes=n,e}function Fc(e,t,n){return(t=wc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Uc(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Hc(e,t,n,r,o,i,a,s,l){return e=new Uc(e,t,n,s,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=wc(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Di(i),e}function jc(e){if(!e)return Io;e:{if(Ge(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ro(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(Ro(n))return Mo(e,n,t)}return t}function Gc(e,t,n,r,o,i,a,s,l){return(e=Hc(n,r,!0,e,0,i,0,s,l)).context=jc(null),n=e.current,(i=Li(r=ec(),o=tc(n))).callback=null!=t?t:null,Pi(n,i,o),e.current.lanes=o,Et(e,o,r),rc(e,r),e}function Qc(e,t,n,r){var o=t.current,i=ec(),a=tc(o);return n=jc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Li(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Pi(o,t,a))&&(nc(e,o,a,i),Mi(e,o,a)),a}function zc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Wc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Yc(e,t){Wc(e,t),(e=e.alternate)&&Wc(e,t)}Al=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Oo.current)ys=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return ys=!1,function(e,t,n){switch(t.tag){case 3:xs(t),hi();break;case 5:aa(t);break;case 1:Ro(t.type)&&Bo(t);break;case 4:oa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;No(vi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(No(la,1&la.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Bs(e,t,n):(No(la,1&la.current),null!==(e=zs(e,t,n))?e.sibling:null);No(la,1&la.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return Gs(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),No(la,la.current),r)break;return null;case 22:case 23:return t.lanes=0,Ss(e,t,n)}return zs(e,t,n)}(e,t,n);ys=0!=(131072&e.flags)}else ys=!1,ii&&0!=(1048576&t.flags)&&ei(t,Vo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Qs(e,t),e=t.pendingProps;var o=Do(t,xo.current);Ci(t,n),o=Sa(null,t,r,e,o,n);var a=Ca();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ro(r)?(a=!0,Bo(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Di(t),o.updater=Gi,t.stateNode=o,o._reactInternals=t,Yi(t,r,e,n),t=Is(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),bs(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Qs(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return Dc(e)?1:0;if(null!=e){if((e=e.$$typeof)===I)return 11;if(e===w)return 14}return 2}(r),e=Ei(r,e),o){case 0:t=ks(null,t,r,e,n);break e;case 1:t=Ns(null,t,r,e,n);break e;case 11:t=Ts(null,t,r,e,n);break e;case 14:t=_s(null,t,r,Ei(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,ks(e,t,r,o=t.elementType===r?o:Ei(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ns(e,t,r,o=t.elementType===r?o:Ei(r,o),n);case 3:e:{if(xs(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,Ri(e,t),Fi(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Os(e,t,r,n,o=us(Error(i(423)),t));break e}if(r!==o){t=Os(e,t,r,n,o=us(Error(i(424)),t));break e}for(oi=co(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=Ji(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(hi(),r===o){t=zs(e,t,n);break e}bs(e,t,r,n)}t=t.child}return t;case 5:return aa(t),null===e&&ui(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,s=o.children,no(r,o)?s=null:null!==a&&no(r,a)&&(t.flags|=32),Cs(e,t),bs(e,t,s,n),t.child;case 6:return null===e&&ui(t),null;case 13:return Bs(e,t,n);case 4:return oa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=$i(t,null,r,n):bs(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Ts(e,t,r,o=t.elementType===r?o:Ei(r,o),n);case 7:return bs(e,t,t.pendingProps,n),t.child;case 8:case 12:return bs(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,s=o.value,No(vi,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===o.children&&!Oo.current){t=zs(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===a.tag){(c=Li(-1,n&-n)).tag=2;var u=a.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}a.lanes|=n,null!==(c=a.alternate)&&(c.lanes|=n),Si(a.return,n,t),l.lanes|=n;break}c=c.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(i(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Si(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}bs(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ci(t,n),r=r(o=ki(o)),t.flags|=1,bs(e,t,r,n),t.child;case 14:return o=Ei(r=t.type,t.pendingProps),_s(e,t,r,o=Ei(r.type,o),n);case 15:return As(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ei(r,o),Qs(e,t),t.tag=1,Ro(r)?(e=!0,Bo(t)):e=!1,Ci(t,n),zi(t,r,o),Yi(t,r,o,n),Is(null,t,r,!0,e,n);case 19:return Gs(e,t,n);case 22:return Ss(e,t,n)}throw Error(i(156,t.tag))};var Vc="function"==typeof reportError?reportError:function(e){};function qc(e){this._internalRoot=e}function Kc(e){this._internalRoot=e}function Xc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function $c(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Jc(){}function Zc(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"==typeof o){var s=o;o=function(){var e=zc(a);s.call(e)}}Qc(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=zc(a);i.call(e)}}var a=Gc(t,r,e,0,null,!1,0,"",Jc);return e._reactRootContainer=a,e[mo]=a.current,Gr(8===e.nodeType?e.parentNode:e),uc(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var s=r;r=function(){var e=zc(l);s.call(e)}}var l=Hc(e,0,!1,null,0,!1,0,"",Jc);return e._reactRootContainer=l,e[mo]=l.current,Gr(8===e.nodeType?e.parentNode:e),uc((function(){Qc(t,l,n,r)})),l}(n,t,e,o,r);return zc(a)}Kc.prototype.render=qc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Qc(e,t,null,null)},Kc.prototype.unmount=qc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;uc((function(){Qc(null,e,null,null)})),t[mo]=null}},Kc.prototype.unstable_scheduleHydration=function(e){if(e){var t=St();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Rt.length&&0!==t&&t<Rt[n].priority;n++);Rt.splice(n,0,e),0===n&&Bt(e)}},Tt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(vt(t,1|n),rc(t,$e()),0==(6&Il)&&(Gl=$e()+500,Qo()))}break;case 13:uc((function(){var t=Oi(e,1);if(null!==t){var n=ec();nc(t,e,1,n)}})),Yc(e,1)}},_t=function(e){if(13===e.tag){var t=Oi(e,134217728);if(null!==t)nc(t,e,134217728,ec());Yc(e,134217728)}},At=function(e){if(13===e.tag){var t=tc(e),n=Oi(e,t);if(null!==n)nc(n,e,t,ec());Yc(e,t)}},St=function(){return yt},Ct=function(e,t){var n=yt;try{return yt=e,t()}finally{yt=n}},_e=function(e,t,n){switch(t){case"input":if(J(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=_o(r);if(!o)throw Error(i(90));V(r),J(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Ie=cc,xe=uc;var eu={usingClientEntryPoint:!1,Events:[bo,To,_o,ke,Ne,cc]},tu={findFiberByHostInstance:yo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},nu={bundleType:tu.bundleType,version:tu.version,rendererPackageName:tu.rendererPackageName,rendererConfig:tu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:b.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:tu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ru=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ru.isDisabled&&ru.supportsFiber)try{ot=ru.inject(nu),it=ru}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Xc(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:_,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Xc(e))throw Error(i(299));var n=!1,r="",o=Vc;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Hc(e,1,!1,null,0,n,0,r,o),e[mo]=t.current,Gr(8===e.nodeType?e.parentNode:e),new qc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=We(t))?null:e.stateNode},t.flushSync=function(e){return uc(e)},t.hydrate=function(e,t,n){if(!$c(t))throw Error(i(200));return Zc(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Xc(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",s=Vc;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Gc(t,null,e,1,null!=n?n:null,o,0,a,s),e[mo]=t.current,Gr(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Kc(t)},t.render=function(e,t,n){if(!$c(t))throw Error(i(200));return Zc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!$c(e))throw Error(i(40));return!!e._reactRootContainer&&(uc((function(){Zc(null,null,e,!1,(function(){e._reactRootContainer=null,e[mo]=null}))})),!0)},t.unstable_batchedUpdates=cc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!$c(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return Zc(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},745:(e,t,n)=>{"use strict";var r=n(935);t.s=r.createRoot,r.hydrateRoot},935:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){}}(),e.exports=n(448)},921:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,E=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,b=n?Symbol.for("react.scope"):60119;function T(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case g:case m:case l:return e;default:return t}}case o:return t}}}function _(e){return T(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return _(e)||T(e)===u},t.isConcurrentMode=_,t.isContextConsumer=function(e){return T(e)===c},t.isContextProvider=function(e){return T(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return T(e)===f},t.isFragment=function(e){return T(e)===i},t.isLazy=function(e){return T(e)===g},t.isMemo=function(e){return T(e)===m},t.isPortal=function(e){return T(e)===o},t.isProfiler=function(e){return T(e)===s},t.isStrictMode=function(e){return T(e)===a},t.isSuspense=function(e){return T(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===v||e.$$typeof===y||e.$$typeof===b||e.$$typeof===E)},t.typeOf=T},864:(e,t,n)=>{"use strict";e.exports=n(921)},359:(e,t)=>{"use strict";var n=60103,r=60106,o=60107,i=60108,a=60114,s=60109,l=60110,c=60112,u=60113,d=60120,f=60115,p=60116,h=60121,m=60122,g=60117,E=60129,v=60131;if("function"==typeof Symbol&&Symbol.for){var y=Symbol.for;n=y("react.element"),r=y("react.portal"),o=y("react.fragment"),i=y("react.strict_mode"),a=y("react.profiler"),s=y("react.provider"),l=y("react.context"),c=y("react.forward_ref"),u=y("react.suspense"),d=y("react.suspense_list"),f=y("react.memo"),p=y("react.lazy"),h=y("react.block"),m=y("react.server.block"),g=y("react.fundamental"),E=y("react.debug_trace_mode"),v=y("react.legacy_hidden")}function b(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case a:case i:case u:case d:return e;default:switch(e=e&&e.$$typeof){case l:case c:case p:case f:case s:return e;default:return t}}case r:return t}}}t.isContextConsumer=function(e){return b(e)===l}},973:(e,t,n)=>{"use strict";e.exports=n(359)},251:(e,t,n)=>{"use strict";var r=n(294),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:s.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},408:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function E(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function v(){}function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}E.prototype.isReactComponent={},E.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},E.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=E.prototype;var b=y.prototype=new v;b.constructor=y,m(b,E.prototype),b.isPureReactComponent=!0;var T=Array.isArray,_=Object.prototype.hasOwnProperty,A={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var o,i={},a=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)_.call(t,o)&&!S.hasOwnProperty(o)&&(i[o]=t[o]);var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===i[o]&&(i[o]=l[o]);return{$$typeof:n,type:e,key:a,ref:s,props:i,_owner:A.current}}function k(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var N=/\/+/g;function I(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function x(e,t,o,i,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return a=a(l=e),e=""===i?"."+I(l,0):i,T(a)?(o="",null!=e&&(o=e.replace(N,"$&/")+"/"),x(a,t,o,"",(function(e){return e}))):null!=a&&(k(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(N,"$&/")+"/")+e)),t.push(a)),1;if(l=0,i=""===i?".":i+":",T(e))for(var c=0;c<e.length;c++){var u=i+I(s=e[c],c);l+=x(s,t,o,u,a)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=x(s=s.value,t,o,u=i+I(s,c++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function O(e,t,n){if(null==e)return e;var r=[],o=0;return x(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function w(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var D={current:null},R={transition:null},L={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:R,ReactCurrentOwner:A};t.Children={map:O,forEach:function(e,t,n){O(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return O(e,(function(){t++})),t},toArray:function(e){return O(e,(function(e){return e}))||[]},only:function(e){if(!k(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=E,t.Fragment=o,t.Profiler=a,t.PureComponent=y,t.StrictMode=i,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=m({},e.props),i=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=A.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)_.call(t,c)&&!S.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];o.children=l}return{$$typeof:n,type:e.type,key:i,ref:a,props:o,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=k,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:w}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=R.transition;R.transition={};try{e()}finally{R.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return D.current.useCallback(e,t)},t.useContext=function(e){return D.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return D.current.useDeferredValue(e)},t.useEffect=function(e,t){return D.current.useEffect(e,t)},t.useId=function(){return D.current.useId()},t.useImperativeHandle=function(e,t,n){return D.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return D.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return D.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return D.current.useMemo(e,t)},t.useReducer=function(e,t,n){return D.current.useReducer(e,t,n)},t.useRef=function(e){return D.current.useRef(e)},t.useState=function(e){return D.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return D.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return D.current.useTransition()},t.version="18.2.0"},294:(e,t,n)=>{"use strict";e.exports=n(408)},893:(e,t,n)=>{"use strict";e.exports=n(251)},53:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>i(l,n))c<o&&0>i(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<o&&0>i(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,f=null,p=3,h=!1,m=!1,g=!1,E="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var t=r(u);null!==t;){if(null===t.callback)o(u);else{if(!(t.startTime<=e))break;o(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function T(e){if(g=!1,b(e),!m)if(null!==r(c))m=!0,R(_);else{var t=r(u);null!==t&&L(T,t.startTime-e)}}function _(e,n){m=!1,g&&(g=!1,v(k),k=-1),h=!0;var i=p;try{for(b(n),f=r(c);null!==f&&(!(f.expirationTime>n)||e&&!x());){var a=f.callback;if("function"==typeof a){f.callback=null,p=f.priorityLevel;var s=a(f.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?f.callback=s:f===r(c)&&o(c),b(n)}else o(c);f=r(c)}if(null!==f)var l=!0;else{var d=r(u);null!==d&&L(T,d.startTime-n),l=!1}return l}finally{f=null,p=i,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var A,S=!1,C=null,k=-1,N=5,I=-1;function x(){return!(t.unstable_now()-I<N)}function O(){if(null!==C){var e=t.unstable_now();I=e;var n=!0;try{n=C(!0,e)}finally{n?A():(S=!1,C=null)}}else S=!1}if("function"==typeof y)A=function(){y(O)};else if("undefined"!=typeof MessageChannel){var w=new MessageChannel,D=w.port2;w.port1.onmessage=O,A=function(){D.postMessage(null)}}else A=function(){E(O,0)};function R(e){C=e,S||(S=!0,A())}function L(e,n){k=E((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,R(_))},t.unstable_forceFrameRate=function(e){0>e||125<e||(N=0<e?Math.floor(1e3/e):5)},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,n(u,e),null===r(c)&&e===r(u)&&(g?(v(k),k=-1):g=!0,L(T,i-a))):(e.sortIndex=s,n(c,e),m||h||(m=!0,R(_))),e},t.unstable_shouldYield=x,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},840:(e,t,n)=>{"use strict";e.exports=n(53)},848:(e,t,n)=>{var r=n(139);function o(e,t){var n,o=null;if(!e||"string"!=typeof e)return o;for(var i,a,s=r(e),l="function"==typeof t,c=0,u=s.length;c<u;c++)i=(n=s[c]).property,a=n.value,l?t(i,a,n):a&&(o||(o={}),o[i]=a);return o}e.exports=o,e.exports.default=o}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return n[e](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,o.d(i,a),i},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};o.r(e),o.d(e,{U6:()=>$o,_P:()=>Jo,gX:()=>Zo,Ky:()=>ei,AB:()=>ti,Yq:()=>ni,XG:()=>ri,U5:()=>oi,W7:()=>ii,SZ:()=>ai,xv:()=>si,nC:()=>li,er:()=>ci,$i:()=>ui,JU:()=>di,AK:()=>fi,Up:()=>pi,EX:()=>hi,eP:()=>mi,LH:()=>gi,$s:()=>Ei,HZ:()=>vi,cK:()=>yi,UO:()=>bi,Fs:()=>Ti,KF:()=>_i,al:()=>Ai,xk:()=>Si,po:()=>Ci,HD:()=>ki,G9:()=>Ni,H:()=>Ii,Sb:()=>xi,o:()=>Oi,$Z:()=>wi,B:()=>Di,pb:()=>Ri,cu:()=>Li,Lc:()=>Pi,qb:()=>Mi,On:()=>Bi,V_:()=>Fi,ww:()=>Ui,GI:()=>Hi,wW:()=>ji,G3:()=>Gi,fg:()=>Qi,or:()=>zi,Zh:()=>Wi,Ij:()=>Yi,Jf:()=>Vi,Cc:()=>qi,hE:()=>Ki,ic:()=>Xi,OD:()=>$i,GC:()=>Ji,NO:()=>Zi,H4:()=>ea,lW:()=>ta,O2:()=>na,wh:()=>ra,f6:()=>oa,eL:()=>ia,q4:()=>aa,sZ:()=>sa,$Q:()=>la,sh:()=>ca,EA:()=>ua});var t={};o.r(t),o.d(t,{boolean:()=>oh,booleanish:()=>ih,commaOrSpaceSeparated:()=>uh,commaSeparated:()=>ch,number:()=>sh,overloadedBoolean:()=>ah,spaceSeparated:()=>lh});var n={};o.r(n),o.d(n,{attentionMarkers:()=>Bg,contentInitial:()=>wg,disable:()=>Fg,document:()=>Og,flow:()=>Rg,flowInitial:()=>Dg,insideSpan:()=>Mg,string:()=>Lg,text:()=>Pg});var r=o(294),i=o.t(r,2),a=o(745);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},s(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e){var t=function(e,t){if("object"!==s(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===s(t)?t:String(t)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,c(r.key),r)}}function d(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}function h(e,t){if("function"!=typeof t&&null!==t)throw new 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&&p(e,t)}function m(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(e)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function E(e,t,n){return(t=c(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e){if(Array.isArray(e))return e}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function b(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function T(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _(e){return v(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||b(e)||T()}function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var C={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]}},k=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};l(this,e),this.init(t,n)}return d(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||C,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,S(S({},{prefix:"".concat(this.prefix,":").concat(t,":")}),this.options))}},{key:"clone",value:function(t){return(t=t||this.options).prefix=t.prefix||this.prefix,new e(this.logger,t)}}]),e}(),N=new k,I=function(){function e(){l(this,e),this.observers={}}return d(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&[].concat(this.observers[e]).forEach((function(e){e.apply(void 0,n)}));this.observers["*"]&&[].concat(this.observers["*"]).forEach((function(t){t.apply(t,[e].concat(n))}))}}]),e}();function x(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function O(e){return null==e?"":""+e}function w(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}for(var i="string"!=typeof t?[].concat(t):t.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return o()?{}:{obj:e,k:r(i.shift())}}function D(e,t,n){var r=w(e,t,Object);r.obj[r.k]=n}function R(e,t){var n=w(e,t),r=n.obj,o=n.k;if(r)return r[o]}function L(e,t,n){var r=R(e,n);return void 0!==r?r:R(t,n)}function P(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):P(e[r],t[r],n):e[r]=t[r]);return e}function M(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var B={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function F(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return B[e]})):e}var U="undefined"!=typeof window&&window.navigator&&void 0===window.navigator.userAgentData&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,H=[" ",",","?","!",";"];function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(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}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m(this,n)}}function z(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),o=e,i=0;i<r.length;++i){if(!o)return;if("string"==typeof o[r[i]]&&i+1<r.length)return;if(void 0===o[r[i]]){for(var a=2,s=r.slice(i,i+a).join(n),l=o[s];void 0===l&&r.length>i+a;)a++,l=o[s=r.slice(i,i+a).join(n)];if(void 0===l)return;if(null===l)return null;if(t.endsWith(s)){if("string"==typeof l)return l;if(s&&"string"==typeof l[s])return l[s]}var c=r.slice(i+a).join(n);return c?z(l,c,n):void 0}o=o[r[i]]}return o}}var W=function(e){h(n,e);var t=Q(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return l(this,n),r=t.call(this),U&&I.call(f(r)),r.data=e||{},r.options=o,void 0===r.options.keySeparator&&(r.options.keySeparator="."),void 0===r.options.ignoreJSONStructure&&(r.options.ignoreJSONStructure=!0),r}return d(n,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."));var s=R(this.data,a);return s||!i||"string"!=typeof n?s:z(this.data&&this.data[e]&&this.data[e][t],n,o)}},{key:"addResource",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=this.options.keySeparator;void 0===i&&(i=".");var a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(r=t,t=(a=e.split("."))[1]),this.addNamespaces(t),D(this.data,a,r),o.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in n)"string"!=typeof n[o]&&"[object Array]"!==Object.prototype.toString.apply(n[o])||this.addResource(e,t,o,n[o],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(a=e.split("."))[1]),this.addNamespaces(t);var s=R(this.data,a)||{};r?P(s,n,o):s=G(G({},s),n),D(this.data,a,s),i.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?G(G({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((function(e){return t[e]&&Object.keys(t[e]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),n}(I),Y={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,o){var i=this;return e.forEach((function(e){i.processors[e]&&(t=i.processors[e].process(t,n,r,o))})),t}};function V(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?V(Object(n),!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function K(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(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}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m(this,n)}}var X={},$=function(e){h(n,e);var t=K(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return l(this,n),r=t.call(this),U&&I.call(f(r)),function(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e])}))}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,f(r)),r.options=o,void 0===r.options.keySeparator&&(r.options.keySeparator="."),r.logger=N.create("translator"),r}return d(n,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS||[],i=n&&e.indexOf(n)>-1,a=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,n){t=t||"",n=n||"";var r=H.filter((function(e){return t.indexOf(e)<0&&n.indexOf(e)<0}));if(0===r.length)return!0;var o=new RegExp("(".concat(r.map((function(e){return"?"===e?"\\?":e})).join("|"),")")),i=!o.test(e);if(!i){var a=e.indexOf(n);a>0&&!o.test(e.substring(0,a))&&(i=!0)}return i}(e,n,r));if(i&&!a){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:o};var l=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(l[0])>-1)&&(o=l.shift()),e=l.join(r)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}}},{key:"translate",value:function(e,t,r){var o=this;if("object"!==s(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var i=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,a=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,l=this.extractFromKey(e[e.length-1],t),c=l.key,u=l.namespaces,d=u[u.length-1],f=t.lng||this.language,p=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f&&"cimode"===f.toLowerCase()){if(p){var h=t.nsSeparator||this.options.nsSeparator;return i?(m.res="".concat(d).concat(h).concat(c),m):"".concat(d).concat(h).concat(c)}return i?(m.res=c,m):c}var m=this.resolve(e,t),g=m&&m.res,E=m&&m.usedKey||c,v=m&&m.exactUsedKey||c,y=Object.prototype.toString.apply(g),b=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,T=!this.i18nFormat||this.i18nFormat.handleAsObject;if(T&&g&&("string"!=typeof g&&"boolean"!=typeof g&&"number"!=typeof g)&&["[object Number]","[object Function]","[object RegExp]"].indexOf(y)<0&&("string"!=typeof b||"[object Array]"!==y)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var _=this.options.returnedObjectHandler?this.options.returnedObjectHandler(E,g,q(q({},t),{},{ns:u})):"key '".concat(c," (").concat(this.language,")' returned an object instead of string.");return i?(m.res=_,m):_}if(a){var A="[object Array]"===y,S=A?[]:{},C=A?v:E;for(var k in g)if(Object.prototype.hasOwnProperty.call(g,k)){var N="".concat(C).concat(a).concat(k);S[k]=this.translate(N,q(q({},t),{joinArrays:!1,ns:u})),S[k]===N&&(S[k]=g[k])}g=S}}else if(T&&"string"==typeof b&&"[object Array]"===y)(g=g.join(b))&&(g=this.extendTranslation(g,e,t,r));else{var I=!1,x=!1,O=void 0!==t.count&&"string"!=typeof t.count,w=n.hasDefaultValue(t),D=O?this.pluralResolver.getSuffix(f,t.count,t):"",R=t["defaultValue".concat(D)]||t.defaultValue;!this.isValidLookup(g)&&w&&(I=!0,g=R),this.isValidLookup(g)||(x=!0,g=c);var L=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&x?void 0:g,P=w&&R!==g&&this.options.updateMissing;if(x||I||P){if(this.logger.log(P?"updateKey":"missingKey",f,d,c,P?R:g),a){var M=this.resolve(c,q(q({},t),{},{keySeparator:!1}));M&&M.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var B=[],F=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&F&&F[0])for(var U=0;U<F.length;U++)B.push(F[U]);else"all"===this.options.saveMissingTo?B=this.languageUtils.toResolveHierarchy(t.lng||this.language):B.push(t.lng||this.language);var H=function(e,n,r){var i=w&&r!==g?r:L;o.options.missingKeyHandler?o.options.missingKeyHandler(e,d,n,i,P,t):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(e,d,n,i,P,t),o.emit("missingKey",e,d,n,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&O?B.forEach((function(e){o.pluralResolver.getSuffixes(e,t).forEach((function(n){H([e],c+n,t["defaultValue".concat(n)]||R)}))})):H(B,c,R))}g=this.extendTranslation(g,e,t,m,r),x&&g===c&&this.options.appendNamespaceToMissingKey&&(g="".concat(d,":").concat(c)),(x||I)&&this.options.parseMissingKeyHandler&&(g="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(d,":").concat(c):c,I?g:void 0):this.options.parseMissingKeyHandler(g))}return i?(m.res=g,m):g}},{key:"extendTranslation",value:function(e,t,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,q(q({},this.options.interpolation.defaultVariables),n),r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(q(q({},n),{interpolation:q(q({},this.options.interpolation),n.interpolation)}));var a,s="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){var l=e.match(this.interpolator.nestingRegexp);a=l&&l.length}var c=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(c=q(q({},this.options.interpolation.defaultVariables),c)),e=this.interpolator.interpolate(e,c,n.lng||this.language,n),s){var u=e.match(this.interpolator.nestingRegexp);a<(u&&u.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return o&&o[0]===r[0]&&!n.context?(i.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):i.translate.apply(i,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var d=n.postProcess||this.options.postProcess,f="string"==typeof d?[d]:d;return null!=e&&f&&f.length&&!1!==n.applyPostProcessor&&(e=Y.handle(f,e,t,this.options&&this.options.postProcessPassResolved?q({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,o,i,a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!a.isValidLookup(t)){var l=a.extractFromKey(e,s),c=l.key;n=c;var u=l.namespaces;a.options.fallbackNS&&(u=u.concat(a.options.fallbackNS));var d=void 0!==s.count&&"string"!=typeof s.count,f=d&&!s.ordinal&&0===s.count&&a.pluralResolver.shouldUseIntlApi(),p=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,h=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);u.forEach((function(e){a.isValidLookup(t)||(i=e,!X["".concat(h[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(i)&&(X["".concat(h[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(h.join(", "),'" won\'t get resolved as namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach((function(n){if(!a.isValidLookup(t)){o=n;var i,l=[c];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(l,c,n,e,s);else{var u;d&&(u=a.pluralResolver.getSuffix(n,s.count,s));var h="".concat(a.options.pluralSeparator,"zero");if(d&&(l.push(c+u),f&&l.push(c+h)),p){var m="".concat(c).concat(a.options.contextSeparator).concat(s.context);l.push(m),d&&(l.push(m+u),f&&l.push(m+h))}}for(;i=l.pop();)a.isValidLookup(t)||(r=i,t=a.getResource(n,e,i,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,12)&&void 0!==e[n])return!0;return!1}}]),n}(I);function J(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Z=function(){function e(t){l(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=N.create("languageUtils")}return d(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=J(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=J(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=J(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(r))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],i=function(e){e&&(n.isSupportedCode(e)?o.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),r.forEach((function(e){o.indexOf(e)<0&&i(n.formatLanguageCode(e))})),o}}]),e}(),ee=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],te={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},ne=["v1","v2","v3"],re={zero:0,one:1,two:2,few:3,many:4,other:5};var oe=function(){function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};l(this,e),this.languageUtils=t,this.options=r,this.logger=N.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(n={},ee.forEach((function(e){e.lngs.forEach((function(t){n[t]={numbers:e.nr,plurals:te[e.fc]}}))})),n)}return d(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((function(e){return"".concat(t).concat(e)}))}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((function(e,t){return re[e]-re[t]})).map((function(e){return"".concat(t.options.prepend).concat(e)})):r.numbers.map((function(r){return t.getSuffix(e,r,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),o=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===o?o="plural":1===o&&(o=""));var i=function(){return n.options.prepend&&o.toString()?n.options.prepend+o.toString():o.toString()};return"v1"===this.options.compatibilityJSON?1===o?"":"number"==typeof o?"_plural_".concat(o.toString()):i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!ne.includes(this.options.compatibilityJSON)}}]),e}();function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var se=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l(this,e),this.logger=N.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return d(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:F,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?M(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?M(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?M(t.nestingPrefix):t.nestingPrefixEscaped||M("$t("),this.nestingSuffix=t.nestingSuffix?M(t.nestingSuffix):t.nestingSuffixEscaped||M(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var o,i,a,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}var u=function(e){if(e.indexOf(s.formatSeparator)<0){var o=L(t,l,e);return s.alwaysFormat?s.format(o,void 0,n,ae(ae(ae({},r),t),{},{interpolationkey:e})):o}var i=e.split(s.formatSeparator),a=i.shift().trim(),c=i.join(s.formatSeparator).trim();return s.format(L(t,l,a),c,n,ae(ae(ae({},r),t),{},{interpolationkey:a}))};this.resetRegExp();var d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,f=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return c(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?c(s.escape(e)):c(e)}}].forEach((function(t){for(a=0;o=t.regex.exec(e);){var n=o[1].trim();if(void 0===(i=u(n)))if("function"==typeof d){var l=d(e,o,r);i="string"==typeof l?l:""}else if(r&&r.hasOwnProperty(n))i="";else{if(f){i=o[0];continue}s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),i=""}else"string"==typeof i||s.useRawValueToEscape||(i=O(i));var c=t.safeValue(i);if(e=e.replace(o[0],c),f?(t.regex.lastIndex+=i.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++a>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,o=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=ae({},i);function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),o="{".concat(r[1]);e=r[0];var i=(o=this.interpolate(o,a)).match(/'/g),s=o.match(/"/g);(i&&i.length%2==0&&!s||s.length%2!=0)&&(o=o.replace(/'/g,'"'));try{a=JSON.parse(o),t&&(a=ae(ae({},t),a))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(o)}return delete a.defaultValue,e}for(a.applyPostProcessor=!1,delete a.defaultValue;n=this.nestingRegexp.exec(e);){var l=[],c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var u=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=u.shift(),l=u,c=!0}if((r=t(s.call(this,n[1].trim(),a),a))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=O(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),c&&(r=l.reduce((function(e,t){return o.format(e,t,i.lng,ae(ae({},i),{},{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?le(Object(n),!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):le(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ue(e){var t={};return function(n,r,o){var i=r+JSON.stringify(o),a=t[i];return a||(a=e(r,o),t[i]=a),a(n)}}var de=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l(this,e),this.logger=N.create("formatter"),this.options=t,this.formats={number:ue((function(e,t){var n=new Intl.NumberFormat(e,t);return function(e){return n.format(e)}})),currency:ue((function(e,t){var n=new Intl.NumberFormat(e,ce(ce({},t),{},{style:"currency"}));return function(e){return n.format(e)}})),datetime:ue((function(e,t){var n=new Intl.DateTimeFormat(e,ce({},t));return function(e){return n.format(e)}})),relativetime:ue((function(e,t){var n=new Intl.RelativeTimeFormat(e,ce({},t));return function(e){return n.format(e,t.range||"day")}})),list:ue((function(e,t){var n=new Intl.ListFormat(e,ce({},t));return function(e){return n.format(e)}}))},this.init(t)}return d(e,[{key:"init",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"addCached",value:function(e,t){this.formats[e.toLowerCase().trim()]=ue(t)}},{key:"format",value:function(e,t,n,r){var o=this,i=t.split(this.formatSeparator).reduce((function(e,t){var i=function(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var o=r[1].substring(0,r[1].length-1);"currency"===t&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):"relativetime"===t&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach((function(e){if(e){var t=_(e.split(":")),r=t[0],o=t.slice(1).join(":").trim().replace(/^'+|'+$/g,"");n[r.trim()]||(n[r.trim()]=o),"false"===o&&(n[r.trim()]=!1),"true"===o&&(n[r.trim()]=!0),isNaN(o)||(n[r.trim()]=parseInt(o,10))}}))}return{formatName:t,formatOptions:n}}(t),a=i.formatName,s=i.formatOptions;if(o.formats[a]){var l=e;try{var c=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},u=c.locale||c.lng||r.locale||r.lng||n;l=o.formats[a](e,u,ce(ce(ce({},s),r),c))}catch(e){o.logger.warn(e)}return l}return o.logger.warn("there was no format function for ".concat(a)),e}),e);return i}}]),e}();function fe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fe(Object(n),!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function he(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(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}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m(this,n)}}var me=function(e){h(n,e);var t=he(n);function n(e,r,o){var i,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return l(this,n),i=t.call(this),U&&I.call(f(i)),i.backend=e,i.store=r,i.services=o,i.languageUtils=o.languageUtils,i.options=a,i.logger=N.create("backendConnector"),i.waitingReads=[],i.maxParallelReads=a.maxParallelReads||10,i.readingCalls=0,i.maxRetries=a.maxRetries>=0?a.maxRetries:5,i.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(o,a.backend,a),i}return d(n,[{key:"queueLoad",value:function(e,t,n,r){var o=this,i={},a={},s={},l={};return e.forEach((function(e){var r=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&o.store.hasResourceBundle(e,t)?o.state[s]=2:o.state[s]<0||(1===o.state[s]?void 0===a[s]&&(a[s]=!0):(o.state[s]=1,r=!1,void 0===a[s]&&(a[s]=!0),void 0===i[s]&&(i[s]=!0),void 0===l[t]&&(l[t]=!0)))})),r||(s[e]=!0)})),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),o=r[0],i=r[1];t&&this.emit("failedLoading",o,i,t),n&&this.store.addResourceBundle(o,i,n),this.state[e]=t?-1:2;var a={};this.queue.forEach((function(n){!function(e,t,n,r){var o=w(e,t,Object),i=o.obj,a=o.k;i[a]=i[a]||[],r&&(i[a]=i[a].concat(n)),r||i[a].push(n)}(n.loaded,[o],i),function(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((function(e){a[e]||(a[e]={});var t=n.loaded[e];t.length&&t.forEach((function(t){void 0===a[e][t]&&(a[e][t]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;return e.length?this.readingCalls>=this.maxParallelReads?void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:o,wait:i,callback:a}):(this.readingCalls++,this.backend[n](e,t,(function(s,l){if(r.readingCalls--,r.waitingReads.length>0){var c=r.waitingReads.shift();r.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}s&&l&&o<r.maxRetries?setTimeout((function(){r.read.call(r,e,t,n,o+1,2*i,a)}),i):a(s,l)}))):a(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var i=this.queueLoad(e,t,r,o);if(!i.toLoad.length)return i.pending.length||o(),null;i.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),o=r[0],i=r[1];this.read(o,i,"read",void 0,void 0,(function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(i," for language ").concat(o," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(i," for language ").concat(o),a),t.loaded(e,r,a)}))}},{key:"saveMissing",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,pe(pe({},i),{},{isUpdate:o})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),n}(I);function ge(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ee(Object(n),!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ye(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(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}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m(this,n)}}function be(){}var Te=function(e){h(n,e);var t=ye(n);function n(){var e,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;if(l(this,n),e=t.call(this),U&&I.call(f(e)),e.options=ge(o),e.services={},e.logger=N,e.modules={external:[]},r=f(e),Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach((function(e){"function"==typeof r[e]&&(r[e]=r[e].bind(r))})),i&&!e.isInitialized&&!o.isClone){if(!e.options.initImmediate)return e.init(o,i),m(e,f(e));setTimeout((function(){e.init(o,i)}),0)}return e}return d(n,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));var r={debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===s(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===s(e[2])||"object"===s(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}};function o(e){return e?"function"==typeof e?new e:e:null}if(this.options=ve(ve(ve({},r),this.options),ge(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=ve(ve({},r.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){var i;this.modules.logger?N.init(o(this.modules.logger),this.options):N.init(null,this.options),this.modules.formatter?i=this.modules.formatter:"undefined"!=typeof Intl&&(i=de);var a=new Z(this.options);this.store=new W(this.options.resources,this.options);var l=this.services;l.logger=N,l.resourceStore=this.store,l.languageUtils=a,l.pluralResolver=new oe(a,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!i||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(l.formatter=o(i),l.formatter.init(l,this.options),this.options.interpolation.format=l.formatter.format.bind(l.formatter)),l.interpolator=new se(this.options),l.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},l.backendConnector=new me(o(this.modules.backend),l.resourceStore,l,this.options),l.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))})),this.modules.languageDetector&&(l.languageDetector=o(this.modules.languageDetector),l.languageDetector.init(l,this.options.detection,this.options)),this.modules.i18nFormat&&(l.i18nFormat=o(this.modules.i18nFormat),l.i18nFormat.init&&l.i18nFormat.init(this)),this.translator=new $(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.format=this.options.interpolation.format,n||(n=be),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var c=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);c.length>0&&"dev"!==c[0]&&(this.options.lng=c[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}));["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var u=x(),d=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),u.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?d():setTimeout(d,0),u}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:be,r="string"==typeof e?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase())return n();var o=[],i=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){o.indexOf(e)<0&&o.push(e)}))};if(r)i(r);else this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((function(e){return i(e)}));this.options.preload&&this.options.preload.forEach((function(e){return i(e)})),this.services.backendConnector.load(o,this.options.ns,(function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),n(e)}))}else n(null)}},{key:"reloadResources",value:function(e,t,n){var r=x();return e||(e=this.languages),t||(t=this.options.ns),n||(n=be),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&Y.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t<this.languages.length;t++){var n=this.languages[t];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=x();this.emit("languageChanging",e);var o=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},i=function(i){e||i||!n.services.languageDetector||(i=[]);var a="string"==typeof i?i:n.services.languageUtils.getBestMatchFromCodes(i);a&&(n.language||o(a),n.translator.language||n.translator.changeLanguage(a),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(a)),n.loadResources(a,(function(e){!function(e,i){i?(o(i),n.translator.changeLanguage(i),n.isLanguageChangingTo=void 0,n.emit("languageChanged",i),n.logger.log("languageChanged",i)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,a)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(i):i(e):i(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var r=this,o=function e(t,o){var i;if("object"!==s(o)){for(var a=arguments.length,l=new Array(a>2?a-2:0),c=2;c<a;c++)l[c-2]=arguments[c];i=r.options.overloadTranslationOptionHandler([t,o].concat(l))}else i=ve({},o);i.lng=i.lng||e.lng,i.lngs=i.lngs||e.lngs,i.ns=i.ns||e.ns,i.keyPrefix=i.keyPrefix||n||e.keyPrefix;var u=r.options.keySeparator||".",d=i.keyPrefix?"".concat(i.keyPrefix).concat(u).concat(t):t;return r.t(d,i)};return"string"==typeof e?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=n,o}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],o=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,a);if(void 0!==s)return s}return!!this.hasResourceBundle(r,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!a(r,e)||o&&!a(i,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=x();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=x();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],o=e.filter((function(e){return r.indexOf(e)<0}));return o.length?(this.options.preload=r.concat(o),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:be,o=ve(ve(ve({},this.options),t),{isClone:!0}),i=new n(o);void 0===t.debug&&void 0===t.prefix||(i.logger=i.logger.clone(t));return["store","services","language"].forEach((function(t){i[t]=e[t]})),i.services=ve({},this.services),i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i.translator=new $(i.services,i.options),i.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.emit.apply(i,[e].concat(n))})),i.init(o,r),i.translator.options=i.options,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),n}(I);E(Te,"createInstance",(function(){return new Te(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}));var _e=Te.createInstance();_e.createInstance=Te.createInstance;_e.createInstance,_e.init,_e.loadResources,_e.reloadResources,_e.use,_e.changeLanguage,_e.getFixedT,_e.t,_e.exists,_e.setDefaultNamespace,_e.hasLoadedNamespace,_e.loadNamespaces,_e.loadLanguages;const Ae=_e;var Se=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Ce={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},ke=function(e){return Ce[e]};function Ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ne(Object(n),!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var xe,Oe={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:function(e){return e.replace(Se,ke)}},we=(0,r.createContext)();var De=function(){function e(){l(this,e),this.usedNamespaces={}}return d(e,[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach((function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function Re(){return xe}var Le={type:"3rdParty",init:function(e){!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Oe=Ie(Ie({},Oe),e)}(e.options.react),function(e){xe=e}(e)}};const Pe=new Map,Me=e=>{if(Pe.has(e))return Pe.get(e);const t={get:()=>new Promise((t=>{chrome.storage.local.get([e],(n=>{t(n[e])}))})),set:t=>new Promise(null==t?t=>{chrome.storage.local.remove([e],(()=>{t()}))}:n=>{chrome.storage.local.set({[e]:t},(()=>{n()}))}),assign:t=>new Promise((n=>{chrome.storage.local.get([e],(r=>{const o=t&&"object"==typeof t?{...r[e],...t}:t;chrome.storage.local.set({[e]:o},(()=>{n()}))}))}))};return Pe.set(e,t),t},Be=(e,t)=>{if(Pe.has(e))return Pe.get(e);const n={type:t.type,async get(){const t=(await chrome.storage.local.get([e]))[e];if(!t)return;const n=Object.values(t),r=await chrome.storage.local.get(n),o=this.type===Array?[]:{};return Object.keys(t).forEach((e=>{o[e]=r[t[e]]})),o},async set(t){const n={},r={};if((await chrome.storage.local.get([e]))[e]&&chrome.storage.local.get().then((t=>{const n=Object.keys(t).filter((t=>t.startsWith(`#${e}`)));chrome.storage.local.remove(n).then()})),null==t)return chrome.storage.local.remove(e);for(const[o,i]of Object.entries(t)){const t=`#${e}-${Math.random()}`;n[o]=t,r[t]=i}return chrome.storage.local.set({[e]:n,...r})}};return Pe.set(e,n),n},Fe=(e,t)=>chrome.runtime.sendMessage({type:e,payload:t});let Ue=function(e){return e.MAC="mac",e.WIN="win",e.UNKNOWN="",e}({});function He(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=He(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function je(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=He(e))&&(r&&(r+=" "),r+=t);return r}const Ge="-";function Qe(e){const t=function(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]},o=function(e,t){if(!t)return e;return e.map((([e,n])=>[e,n.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,n])=>[t+e,n]))):e))]))}(Object.entries(e.classGroups),n);return o.forEach((([e,n])=>{Ye(n,r,e,t)})),r}(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:function(e){const n=e.split(Ge);return""===n[0]&&1!==n.length&&n.shift(),ze(n,t)||function(e){if(We.test(e)){const t=We.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}(e)},getConflictingClassGroupIds:function(e,t){const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}}function ze(e,t){if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?ze(e.slice(1),r):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join(Ge);return t.validators.find((({validator:e})=>e(i)))?.classGroupId}const We=/^\[(.+)\]$/;function Ye(e,t,n,r){e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return e.isThemeGetter?void Ye(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach((([e,o])=>{Ye(o,Ve(t,e),n,r)}))}else{(""===e?t:Ve(t,e)).classGroupId=n}}))}function Ve(e,t){let n=e;return t.split(Ge).forEach((e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)})),n}function qe(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function o(o,i){n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)}return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}}const Ke="!";function Xe(e){const t=e.separator,n=1===t.length,r=t[0],o=t.length;return function(e){const i=[];let a,s=0,l=0;for(let c=0;c<e.length;c++){let u=e[c];if(0===s){if(u===r&&(n||e.slice(c,c+o)===t)){i.push(e.slice(l,c)),l=c+o;continue}if("/"===u){a=c;continue}}"["===u?s++:"]"===u&&s--}const c=0===i.length?e:e.substring(l),u=c.startsWith(Ke);return{modifiers:i,hasImportantModifier:u,baseClassName:u?c.substring(1):c,maybePostfixModifierPosition:a&&a>l?a-l:void 0}}}const $e=/\s+/;function Je(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=Ze(e))&&(r&&(r+=" "),r+=t);return r}function Ze(e){if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Ze(e[r]))&&(n&&(n+=" "),n+=t);return n}function et(e,...t){let n,r,o,i=function(s){const l=t.reduce(((e,t)=>t(e)),e());return n=function(e){return{cache:qe(e.cacheSize),splitModifiers:Xe(e),...Qe(e)}}(l),r=n.cache.get,o=n.cache.set,i=a,a(s)};function a(e){const t=r(e);if(t)return t;const i=function(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=new Set;return e.trim().split($e).map((e=>{const{modifiers:t,hasImportantModifier:o,baseClassName:i,maybePostfixModifierPosition:a}=n(e);let s=r(a?i.substring(0,a):i),l=Boolean(a);if(!s){if(!a)return{isTailwindClass:!1,originalClassName:e};if(s=r(i),!s)return{isTailwindClass:!1,originalClassName:e};l=!1}const c=function(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach((e=>{"["===e[0]?(t.push(...n.sort(),e),n=[]):n.push(e)})),t.push(...n.sort()),t}(t).join(":");return{isTailwindClass:!0,modifierId:o?c+Ke:c,classGroupId:s,originalClassName:e,hasPostfixModifier:l}})).reverse().filter((e=>{if(!e.isTailwindClass)return!0;const{modifierId:t,classGroupId:n,hasPostfixModifier:r}=e,a=t+n;return!i.has(a)&&(i.add(a),o(n,r).forEach((e=>i.add(t+e))),!0)})).reverse().map((e=>e.originalClassName)).join(" ")}(e,n);return o(e,i),i}return function(){return i(Je.apply(null,arguments))}}function tt(e){const t=t=>t[e]||[];return t.isThemeGetter=!0,t}const nt=/^\[(?:([a-z-]+):)?(.+)\]$/i,rt=/^\d+\/\d+$/,ot=new Set(["px","full","screen"]),it=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,at=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,st=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,lt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function ct(e){return dt(e)||ot.has(e)||rt.test(e)}function ut(e){return St(e,"length",Ct)}function dt(e){return Boolean(e)&&!Number.isNaN(Number(e))}function ft(e){return St(e,"number",dt)}function pt(e){return Boolean(e)&&Number.isInteger(Number(e))}function ht(e){return e.endsWith("%")&&dt(e.slice(0,-1))}function mt(e){return nt.test(e)}function gt(e){return it.test(e)}const Et=new Set(["length","size","percentage"]);function vt(e){return St(e,Et,kt)}function yt(e){return St(e,"position",kt)}const bt=new Set(["image","url"]);function Tt(e){return St(e,bt,It)}function _t(e){return St(e,"",Nt)}function At(){return!0}function St(e,t,n){const r=nt.exec(e);return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):n(r[2]))}function Ct(e){return at.test(e)}function kt(){return!1}function Nt(e){return st.test(e)}function It(e){return lt.test(e)}Symbol.toStringTag;function xt(){const e=tt("colors"),t=tt("spacing"),n=tt("blur"),r=tt("brightness"),o=tt("borderColor"),i=tt("borderRadius"),a=tt("borderSpacing"),s=tt("borderWidth"),l=tt("contrast"),c=tt("grayscale"),u=tt("hueRotate"),d=tt("invert"),f=tt("gap"),p=tt("gradientColorStops"),h=tt("gradientColorStopPositions"),m=tt("inset"),g=tt("margin"),E=tt("opacity"),v=tt("padding"),y=tt("saturate"),b=tt("scale"),T=tt("sepia"),_=tt("skew"),A=tt("space"),S=tt("translate"),C=()=>["auto",mt,t],k=()=>[mt,t],N=()=>["",ct,ut],I=()=>["auto",dt,mt],x=()=>["","0",mt],O=()=>[dt,ft],w=()=>[dt,mt];return{cacheSize:500,separator:":",theme:{colors:[At],spacing:[ct,ut],blur:["none","",gt,mt],brightness:O(),borderColor:[e],borderRadius:["none","","full",gt,mt],borderSpacing:k(),borderWidth:N(),contrast:O(),grayscale:x(),hueRotate:w(),invert:x(),gap:k(),gradientColorStops:[e],gradientColorStopPositions:[ht,ut],inset:C(),margin:C(),opacity:O(),padding:k(),saturate:O(),scale:O(),sepia:x(),skew:w(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",mt]}],container:["container"],columns:[{columns:[gt]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",mt]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",pt,mt]}],basis:[{basis:C()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",mt]}],grow:[{grow:x()}],shrink:[{shrink:x()}],order:[{order:["first","last","none",pt,mt]}],"grid-cols":[{"grid-cols":[At]}],"col-start-end":[{col:["auto",{span:["full",pt,mt]},mt]}],"col-start":[{"col-start":I()}],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":[At]}],"row-start-end":[{row:["auto",{span:[pt,mt]},mt]}],"row-start":[{"row-start":I()}],"row-end":[{"row-end":I()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",mt]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",mt]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[A]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[A]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",mt,t]}],"min-w":[{"min-w":["min","max","fit",mt,ct]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[gt]},gt,mt]}],h:[{h:[mt,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",ct,mt]}],"max-h":[{"max-h":[mt,t,"min","max","fit"]}],"font-size":[{text:["base",gt,ut]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ft]}],"font-family":[{font:[At]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",mt]}],"line-clamp":[{"line-clamp":["none",dt,ft]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ct,mt]}],"list-image":[{"list-image":["none",mt]}],"list-style-type":[{list:["none","disc","decimal",mt]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[E]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[E]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",ct,ut]}],"underline-offset":[{"underline-offset":["auto",ct,mt]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",mt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",mt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[E]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",yt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",vt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Tt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[E]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[E]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[ct,mt]}],"outline-w":[{outline:[ct,ut]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:N()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[E]}],"ring-offset-w":[{"ring-offset":[ct,ut]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",gt,_t]}],"shadow-color":[{shadow:[At]}],opacity:[{opacity:[E]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",gt,mt]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[y]}],sepia:[{sepia:[T]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[E]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[T]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",mt]}],duration:[{duration:w()}],ease:[{ease:["linear","in","out","in-out",mt]}],delay:[{delay:w()}],animate:[{animate:["none","spin","ping","pulse","bounce",mt]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[pt,mt]}],"translate-x":[{"translate-x":[S]}],"translate-y":[{"translate-y":[S]}],"skew-x":[{"skew-x":[_]}],"skew-y":[{"skew-y":[_]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",mt]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",mt]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",mt]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[ct,ut,ft]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const Ot=et(xt),wt=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}));function Dt(...e){return Ot(je(e))}Ae.use(Le).init({resources:{"en-US":{translation:{AskMe:"Ask me anything",Screenshot:"Screenshot",Chat:"Chat",ClearHistory:"Clear history"}},"zh-CN":{translation:{AskMe:"返回",Screenshot:"截图",Chat:"聊天",ClearHistory:"删除历史"}}},lng:"en-US"});function Rt(e,t){return v(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||b(e,t)||T()}function Lt(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"string"==typeof n[0]&&(n[0]="react-i18next:: ".concat(n[0])),(e=console).warn.apply(e,n)}}var Pt={};function Mt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&Pt[t[0]]||("string"==typeof t[0]&&(Pt[t[0]]=new Date),Lt.apply(void 0,t))}function Bt(e,t,n){e.loadNamespaces(t,(function(){if(e.isInitialized)n();else{e.on("initialized",(function t(){setTimeout((function(){e.off("initialized",t)}),0),n()}))}}))}function Ft(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ut(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ft(Object(n),!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ft(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ht(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.i18n,o=(0,r.useContext)(we)||{},i=o.i18n,a=o.defaultNS,s=n||i||Re();if(s&&!s.reportNamespaces&&(s.reportNamespaces=new De),!s){Mt("You will need to pass in an i18next instance by using initReactI18next");var l=function(e){return Array.isArray(e)?e[e.length-1]:e},c=[l,{},!1];return c.t=l,c.i18n={},c.ready=!1,c}s.options.react&&void 0!==s.options.react.wait&&Mt("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var u=Ut(Ut(Ut({},Oe),s.options.react),t),d=u.useSuspense,f=u.keyPrefix,p=e||a||s.options&&s.options.defaultNS;p="string"==typeof p?[p]:p||["translation"],s.reportNamespaces.addUsedNamespaces&&s.reportNamespaces.addUsedNamespaces(p);var h=(s.isInitialized||s.initializedStoreOnce)&&p.every((function(e){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{precheck:function(t,r){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.languages[0],o=!!t.options&&t.options.fallbackLng,i=t.languages[t.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e)||!t.hasResourceBundle(r,e)&&t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages)&&(!a(r,e)||o&&!a(i,e)))}(e,t,n):(Mt("i18n.languages were undefined or empty",t.languages),!0)}(e,s,u)}));function m(){return s.getFixedT(null,"fallback"===u.nsMode?p:p[0],f)}var g=Rt((0,r.useState)(m),2),E=g[0],v=g[1],y=p.join(),b=function(e,t){var n=(0,r.useRef)();return(0,r.useEffect)((function(){n.current=t?n.current:e}),[e,t]),n.current}(y),T=(0,r.useRef)(!0);(0,r.useEffect)((function(){var e=u.bindI18n,t=u.bindI18nStore;function n(){T.current&&v(m)}return T.current=!0,h||d||Bt(s,p,(function(){T.current&&v(m)})),h&&b&&b!==y&&T.current&&v(m),e&&s&&s.on(e,n),t&&s&&s.store.on(t,n),function(){T.current=!1,e&&s&&e.split(" ").forEach((function(e){return s.off(e,n)})),t&&s&&t.split(" ").forEach((function(e){return s.store.off(e,n)}))}}),[s,y]);var _=(0,r.useRef)(!0);(0,r.useEffect)((function(){T.current&&!_.current&&v(m),_.current=!1}),[s,f]);var A=[E,s,h];if(A.t=E,A.i18n=s,A.ready=h,h)return A;if(!h&&!d)return A;throw new Promise((function(e){Bt(s,p,(function(){e()}))}))}var jt,Gt,Qt=o(184),zt=o.n(Qt);function Wt(){return Wt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wt.apply(this,arguments)}const Yt=function(e){return r.createElement("svg",Wt({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",fill:"none",width:24,height:24,viewBox:"0 0 24 24"},e),jt||(jt=r.createElement("defs",null,r.createElement("clipPath",{id:"master_svg0_1_08822"},r.createElement("rect",{x:0,y:0,width:24,height:24,rx:0})),r.createElement("linearGradient",{x1:0,y1:0,x2:1,y2:1,id:"master_svg1_1_04946"},r.createElement("stop",{offset:"0%",stopColor:"#2244E4",stopOpacity:1}),r.createElement("stop",{offset:"100%",stopColor:"#B25AFF",stopOpacity:1})),r.createElement("linearGradient",{x1:0,y1:0,x2:.8768266439437866,y2:.8507477641105652,id:"master_svg2_1_04748"},r.createElement("stop",{offset:"0%",stopColor:"#5197FF",stopOpacity:1}),r.createElement("stop",{offset:"100%",stopColor:"#2244E4",stopOpacity:1})))),Gt||(Gt=r.createElement("g",{clipPath:"url(#master_svg0_1_08822)"},r.createElement("g",null),r.createElement("g",{transform:"matrix(0.9996573328971863,-0.026176949962973595,0.026176949962973595,0.9996573328971863,-0.06641557975297019,0.051148502275282226)"},r.createElement("path",{d:"M1.92041015625,2.56231689453125L10.36841015625,2.56231689453125C13.17841015625,2.56231689453125,15.45641015625,4.8402968945312494,15.45641015625,7.65031689453125L15.45641015625,11.86946689453125L1.92041015625,11.86946689453125L1.92041015625,2.56231689453125Z",fill:"url(#master_svg1_1_04946)",fillOpacity:1})),r.createElement("g",{transform:"matrix(0.9458485245704651,-0.3246084749698639,0.3246084749698639,0.9458485245704651,-3.8032910725069087,1.2149209024391894)"},r.createElement("path",{d:"M1.73983821585,15.02394490234375C1.71568109375,20.86693490234375,6.44561609375,25.61647490234375,12.28864609375,25.61647490234375L13.03164609375,25.61647490234375C17.76224609375,25.61647490234375,21.59714609375,21.78154490234375,21.59714609375,17.050924902343752C21.59714609375,14.26511490234375,19.33884609375,12.00677490234375,16.553046093749998,12.00677490234375L2.18408409375,12.00677490234375L2.00626009375,12.76424190234375C1.83236179375,13.50499490234375,1.74298398375,14.26306490234375,1.73983821585,15.02394490234375Z",fill:"url(#master_svg2_1_04748)",fillOpacity:1})))))};var Vt,qt;function Kt(){return Kt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Kt.apply(this,arguments)}const Xt=function(e){return r.createElement("svg",Kt({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",fill:"none",width:16,height:16,viewBox:"0 0 16 16"},e),Vt||(Vt=r.createElement("defs",null,r.createElement("clipPath",{id:"master_svg0_1_11819"},r.createElement("rect",{x:0,y:0,width:16,height:16,rx:0})))),qt||(qt=r.createElement("g",{clipPath:"url(#master_svg0_1_11819)"},r.createElement("g",{transform:"matrix(-0.7071067690849304,0.7071067690849304,-0.7071067690849304,-0.7071067690849304,22.176000579018364,-2.128410236278796)"},r.createElement("line",{x1:11.52880859375,y1:2.828594982624054,x2:22.84251594543457,y2:2.828594982624054,fillOpacity:0,strokeOpacity:1,stroke:"currentColor",fill:"none",strokeWidth:1.399999976158142,strokeLinecap:"round",strokeLinejoin:"round"})),r.createElement("g",{transform:"matrix(0.7071067690849304,0.7071067690849304,-0.7071067690849304,0.7071067690849304,4.195324913840523,-1.1856001776850462)"},r.createElement("line",{x1:3.52880859375,y1:3.771405041217804,x2:14.84251594543457,y2:3.771405041217804,fillOpacity:0,strokeOpacity:1,stroke:"currentColor",fill:"none",strokeWidth:1.399999976158142,strokeLinecap:"round",strokeLinejoin:"round"})))))};var $t,Jt;function Zt(){return Zt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zt.apply(this,arguments)}const en=function(e){return r.createElement("svg",Zt({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",fill:"none",width:20,height:20.000001907348633,viewBox:"0 0 20 20.000001907348633"},e),$t||($t=r.createElement("defs",null,r.createElement("clipPath",{id:"master_svg0_1_08606"},r.createElement("rect",{x:0,y:0,width:20,height:20.000001907348633,rx:0})))),Jt||(Jt=r.createElement("g",{clipPath:"url(#master_svg0_1_08606)"},r.createElement("g",null,r.createElement("path",{d:"M6.66667,16.70001298828125L19.1667,16.70001298828125Q19.235599999999998,16.70001298828125,19.3032,16.68651298828125Q19.3708,16.67311298828125,19.4345,16.64671298828125Q19.4982,16.62031298828125,19.5556,16.58201298828125Q19.6129,16.54371298828125,19.6616,16.49491298828125Q19.7104,16.44621298828125,19.7487,16.38891298828125Q19.787,16.33151298828125,19.8134,16.26781298828125Q19.8398,16.20411298828125,19.8532,16.13651298828125Q19.8667,16.068912988281248,19.8667,16.00001298828125Q19.8667,15.93101298828125,19.8532,15.86341298828125Q19.8398,15.79581298828125,19.8134,15.73211298828125Q19.787,15.66841298828125,19.7487,15.61111298828125Q19.7104,15.55371298828125,19.6616,15.50501298828125Q19.6129,15.45621298828125,19.5556,15.41791298828125Q19.4982,15.37961298828125,19.4345,15.35321298828125Q19.3708,15.32691298828125,19.3032,15.31341298828125Q19.235599999999998,15.30001298828125,19.1667,15.30001298828125L6.66667,15.30001298828125Q6.26626,15.30001298828125,5.98313,15.01681298828125Q5.7,14.73371298828125,5.7,14.33331298828125L5.808307,1.83937942828125L5.808333,1.83331328852625Q5.808333,1.77214738828125,5.797725,1.71190898828125Q5.787168,1.65196198828125,5.766423,1.5947369882812499Q5.745677,1.5375109882812499,5.715365,1.48472598828125Q5.685053,1.43194098828125,5.646085,1.38517998828125Q5.607117,1.33841898828125,5.560662,1.29908598828125Q5.514207,1.25975298828125,5.461661,1.22902898828125Q5.409115,1.1983039882812498,5.352054,1.17711098828125Q5.294993,1.15591798828125,5.23513,1.14489298828125Q5.175267,1.13386698828125,5.1144,1.13333898828125L5.108334,1.13331298828125Q5.0471679,1.13331298828125,4.9869292,1.14392098828125Q4.9269821,1.1544779882812501,4.869757,1.17522398828125Q4.812532,1.19596998828125,4.759746,1.22628198828125Q4.706961,1.25659398828125,4.6602,1.29556198828125Q4.613439,1.33452998828125,4.5741060000000004,1.38098398828125Q4.534773,1.42743898828125,4.504049,1.4799849882812501Q4.473325,1.53253198828125,4.452132,1.58959298828125Q4.430939,1.64665398828125,4.419913,1.70651698828125Q4.408887,1.76637928828125,4.40836,1.82724654828125L4.3,14.33331298828125Q4.3,15.31361298828125,4.99318078,16.00681298828125Q5.686362,16.70001298828125,6.66667,16.70001298828125Z",fillRule:"evenodd",fill:"currentColor",fillOpacity:1})),r.createElement("g",null,r.createElement("path",{d:"M14.30019609375,5.66667L14.30019609375,18.1667Q14.30019609375,18.235599999999998,14.31359609375,18.3032Q14.32709609375,18.3708,14.35339609375,18.4345Q14.37979609375,18.4982,14.41809609375,18.5556Q14.45639609375,18.6129,14.50519609375,18.6616Q14.55389609375,18.7104,14.61129609375,18.7487Q14.66859609375,18.787,14.73229609375,18.8134Q14.79599609375,18.8398,14.86359609375,18.8532Q14.93119609375,18.8667,15.00019609375,18.8667Q15.06909609375,18.8667,15.13669609375,18.8532Q15.20429609375,18.8398,15.26799609375,18.8134Q15.33169609375,18.787,15.38909609375,18.7487Q15.44639609375,18.7104,15.49509609375,18.6616Q15.54389609375,18.6129,15.58219609375,18.5556Q15.62049609375,18.4982,15.64689609375,18.4345Q15.67329609375,18.3708,15.68669609375,18.3032Q15.70019609375,18.235599999999998,15.70019609375,18.1667L15.70019609375,5.66667Q15.70019609375,4.686362,15.00699609375,3.99318078Q14.31379609375,3.3,13.33349609375,3.3L0.82742965375,3.40836Q0.7588710937500001,3.408954,0.69173109375,3.4228389999999997Q0.62459009375,3.436724,0.56142009375,3.463373Q0.49824909375,3.490021,0.44145009375,3.52842Q0.38465109375,3.566818,0.33638109375,3.615508Q0.28811209375,3.664198,0.25020609375,3.721328Q0.21230109374999995,3.778458,0.18620109375000005,3.841857Q0.16010209374999995,3.9052558,0.14679909375,3.972514Q0.13349609375000004,4.0397722,0.13349609375000004,4.108333L0.13349609375000004,4.10859L0.13352209375000001,4.1144Q0.13411609375,4.182958,0.14800209374999995,4.250099Q0.16188709375,4.317239,0.18853509375,4.38041Q0.21518409375000003,4.44358,0.25358209374999996,4.500379Q0.29198109375000003,4.557179,0.34067109375,4.605448Q0.38936009375,4.653718,0.44649109375,4.691623Q0.5036210937500001,4.729528,0.5670190937499999,4.755628Q0.63041809375,4.781728,0.69767709375,4.795031Q0.76493489375,4.808333,0.83349609375,4.808333L0.83375218975,4.808333L0.83956253375,4.808307L13.33349609375,4.7Q13.73389609375,4.7,14.01699609375,4.98313Q14.30019609375,5.26626,14.30019609375,5.66667Z",fillRule:"evenodd",fill:"currentColor",fillOpacity:1})))))};function tn(){return tn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tn.apply(this,arguments)}function nn(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function rn(...e){return t=>e.forEach((e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t)))}function on(...e){return(0,r.useCallback)(rn(...e),e)}function an(e,t=[]){let n=[];const o=()=>{const t=n.map((e=>(0,r.createContext)(e)));return function(n){const o=(null==n?void 0:n[e])||t;return(0,r.useMemo)((()=>({[`__scope${e}`]:{...n,[e]:o}})),[n,o])}};return o.scopeName=e,[function(t,o){const i=(0,r.createContext)(o),a=n.length;function s(t){const{scope:n,children:o,...s}=t,l=(null==n?void 0:n[e][a])||i,c=(0,r.useMemo)((()=>s),Object.values(s));return(0,r.createElement)(l.Provider,{value:c},o)}return n=[...n,o],s.displayName=t+"Provider",[s,function(n,s){const l=(null==s?void 0:s[e][a])||i,c=(0,r.useContext)(l);if(c)return c;if(void 0!==o)return o;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},sn(o,...t)]}function sn(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){const o=n.reduce(((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]})),{});return(0,r.useMemo)((()=>({[`__scope${t.scopeName}`]:o})),[o])}};return n.scopeName=t.scopeName,n}var ln=o(935);const cn=(0,r.forwardRef)(((e,t)=>{const{children:n,...o}=e,i=r.Children.toArray(n),a=i.find(fn);if(a){const e=a.props.children,n=i.map((t=>t===a?r.Children.count(e)>1?r.Children.only(null):(0,r.isValidElement)(e)?e.props.children:null:t));return(0,r.createElement)(un,tn({},o,{ref:t}),(0,r.isValidElement)(e)?(0,r.cloneElement)(e,void 0,n):null)}return(0,r.createElement)(un,tn({},o,{ref:t}),n)}));cn.displayName="Slot";const un=(0,r.forwardRef)(((e,t)=>{const{children:n,...o}=e;return(0,r.isValidElement)(n)?(0,r.cloneElement)(n,{...pn(o,n.props),ref:t?rn(t,n.ref):n.ref}):r.Children.count(n)>1?r.Children.only(null):null}));un.displayName="SlotClone";const dn=({children:e})=>(0,r.createElement)(r.Fragment,null,e);function fn(e){return(0,r.isValidElement)(e)&&e.type===dn}function pn(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const hn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce(((e,t)=>{const n=(0,r.forwardRef)(((e,n)=>{const{asChild:o,...i}=e,a=o?cn:t;return(0,r.useEffect)((()=>{window[Symbol.for("radix-ui")]=!0}),[]),(0,r.createElement)(a,tn({},i,{ref:n}))}));return n.displayName=`Primitive.${t}`,{...e,[t]:n}}),{});function mn(e){const t=(0,r.useRef)(e);return(0,r.useEffect)((()=>{t.current=e})),(0,r.useMemo)((()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)}),[])}const gn="dismissableLayer.update",En="dismissableLayer.pointerDownOutside",vn="dismissableLayer.focusOutside";let yn;const bn=(0,r.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Tn=(0,r.forwardRef)(((e,t)=>{var n;const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:s,onInteractOutside:l,onDismiss:c,...u}=e,d=(0,r.useContext)(bn),[f,p]=(0,r.useState)(null),h=null!==(n=null==f?void 0:f.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,m]=(0,r.useState)({}),g=on(t,(e=>p(e))),E=Array.from(d.layers),[v]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),y=E.indexOf(v),b=f?E.indexOf(f):-1,T=d.layersWithOutsidePointerEventsDisabled.size>0,_=b>=y,A=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=mn(e),o=(0,r.useRef)(!1),i=(0,r.useRef)((()=>{}));return(0,r.useEffect)((()=>{const e=e=>{if(e.target&&!o.current){const r={originalEvent:e};function a(){An(En,n,r,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=a,t.addEventListener("click",i.current,{once:!0})):a()}else t.removeEventListener("click",i.current);o.current=!1},r=window.setTimeout((()=>{t.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(r),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}}),[t,n]),{onPointerDownCapture:()=>o.current=!0}}((e=>{const t=e.target,n=[...d.branches].some((e=>e.contains(t)));_&&!n&&(null==a||a(e),null==l||l(e),e.defaultPrevented||null==c||c())}),h),S=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=mn(e),o=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{const e=e=>{if(e.target&&!o.current){An(vn,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)}),[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}((e=>{const t=e.target;[...d.branches].some((e=>e.contains(t)))||(null==s||s(e),null==l||l(e),e.defaultPrevented||null==c||c())}),h);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=mn(e);(0,r.useEffect)((()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)}),[n,t])}((e=>{b===d.layers.size-1&&(null==i||i(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))}),h),(0,r.useEffect)((()=>{if(f)return o&&(0===d.layersWithOutsidePointerEventsDisabled.size&&(yn=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),_n(),()=>{o&&1===d.layersWithOutsidePointerEventsDisabled.size&&(h.body.style.pointerEvents=yn)}}),[f,h,o,d]),(0,r.useEffect)((()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),_n())}),[f,d]),(0,r.useEffect)((()=>{const e=()=>m({});return document.addEventListener(gn,e),()=>document.removeEventListener(gn,e)}),[]),(0,r.createElement)(hn.div,tn({},u,{ref:g,style:{pointerEvents:T?_?"auto":"none":void 0,...e.style},onFocusCapture:nn(e.onFocusCapture,S.onFocusCapture),onBlurCapture:nn(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:nn(e.onPointerDownCapture,A.onPointerDownCapture)}))}));function _n(){const e=new CustomEvent(gn);document.dispatchEvent(e)}function An(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?function(e,t){e&&(0,ln.flushSync)((()=>e.dispatchEvent(t)))}(o,i):o.dispatchEvent(i)}const Sn=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?r.useLayoutEffect:()=>{},Cn=i["useId".toString()]||(()=>{});let kn=0;const Nn=["top","right","bottom","left"],In=Math.min,xn=Math.max,On=Math.round,wn=Math.floor,Dn=e=>({x:e,y:e}),Rn={left:"right",right:"left",bottom:"top",top:"bottom"},Ln={start:"end",end:"start"};function Pn(e,t,n){return xn(e,In(t,n))}function Mn(e,t){return"function"==typeof e?e(t):e}function Bn(e){return e.split("-")[0]}function Fn(e){return e.split("-")[1]}function Un(e){return"x"===e?"y":"x"}function Hn(e){return"y"===e?"height":"width"}function jn(e){return["top","bottom"].includes(Bn(e))?"y":"x"}function Gn(e){return Un(jn(e))}function Qn(e){return e.replace(/start|end/g,(e=>Ln[e]))}function zn(e){return e.replace(/left|right|bottom|top/g,(e=>Rn[e]))}function Wn(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Yn(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Vn(e,t,n){let{reference:r,floating:o}=e;const i=jn(t),a=Gn(t),s=Hn(a),l=Bn(t),c="y"===i,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,f=r[s]/2-o[s]/2;let p;switch(l){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-o.width,y:d};break;default:p={x:r.x,y:r.y}}switch(Fn(t)){case"start":p[a]-=f*(n&&c?-1:1);break;case"end":p[a]+=f*(n&&c?-1:1)}return p}async function qn(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=Mn(t,e),h=Wn(p),m=s[f?"floating"===d?"reference":"floating":d],g=Yn(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),E="floating"===d?{...a.floating,x:r,y:o}:a.reference,v=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),y=await(null==i.isElement?void 0:i.isElement(v))&&await(null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},b=Yn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:E,offsetParent:v,strategy:l}):E);return{top:(g.top-b.top+h.top)/y.y,bottom:(b.bottom-g.bottom+h.bottom)/y.y,left:(g.left-b.left+h.left)/y.x,right:(b.right-g.right+h.right)/y.x}}const Kn=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:c,padding:u=0}=Mn(e,t)||{};if(null==c)return{};const d=Wn(u),f={x:n,y:r},p=Gn(o),h=Hn(p),m=await a.getDimensions(c),g="y"===p,E=g?"top":"left",v=g?"bottom":"right",y=g?"clientHeight":"clientWidth",b=i.reference[h]+i.reference[p]-f[p]-i.floating[h],T=f[p]-i.reference[p],_=await(null==a.getOffsetParent?void 0:a.getOffsetParent(c));let A=_?_[y]:0;A&&await(null==a.isElement?void 0:a.isElement(_))||(A=s.floating[y]||i.floating[h]);const S=b/2-T/2,C=A/2-m[h]/2-1,k=In(d[E],C),N=In(d[v],C),I=k,x=A-m[h]-N,O=A/2-m[h]/2+S,w=Pn(I,O,x),D=!l.arrow&&null!=Fn(o)&&O!=w&&i.reference[h]/2-(O<I?k:N)-m[h]/2<0,R=D?O<I?O-I:O-x:0;return{[p]:f[p]+R,data:{[p]:w,centerOffset:O-w-R,...D&&{alignmentOffset:R}},reset:D}}});const Xn=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...g}=Mn(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const E=Bn(o),v=Bn(s)===s,y=await(null==l.isRTL?void 0:l.isRTL(c.floating)),b=f||(v||!m?[zn(s)]:function(e){const t=zn(e);return[Qn(e),t,Qn(t)]}(s));f||"none"===h||b.push(...function(e,t,n,r){const o=Fn(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}(Bn(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(Qn)))),i}(s,m,h,y));const T=[s,...b],_=await qn(t,g),A=[];let S=(null==(r=i.flip)?void 0:r.overflows)||[];if(u&&A.push(_[E]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=Fn(e),o=Gn(e),i=Hn(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=zn(a)),[a,zn(a)]}(o,a,y);A.push(_[e[0]],_[e[1]])}if(S=[...S,{placement:o,overflows:A}],!A.every((e=>e<=0))){var C,k;const e=((null==(C=i.flip)?void 0:C.index)||0)+1,t=T[e];if(t)return{data:{index:e,overflows:S},reset:{placement:t}};let n=null==(k=S.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:k.placement;if(!n)switch(p){case"bestFit":{var N;const e=null==(N=S.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:N[0];e&&(n=e);break}case"initialPlacement":n=s}if(o!==n)return{reset:{placement:n}}}return{}}}};function $n(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Jn(e){return Nn.some((t=>e[t]>=0))}const Zn=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Mn(e,t);switch(r){case"referenceHidden":{const e=$n(await qn(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Jn(e)}}}case"escaped":{const e=$n(await qn(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:Jn(e)}}}default:return{}}}}};const er=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=Bn(n),s=Fn(n),l="y"===jn(n),c=["left","top"].includes(a)?-1:1,u=i&&l?-1:1,d=Mn(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&"number"==typeof h&&(p="end"===s?-1*h:h),l?{x:p*u,y:f*c}:{x:f*c,y:p*u}}(t,e);return{x:n+o.x,y:r+o.y,data:o}}}},tr=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=Mn(e,t),c={x:n,y:r},u=await qn(t,l),d=jn(Bn(o)),f=Un(d);let p=c[f],h=c[d];if(i){const e="y"===f?"bottom":"right";p=Pn(p+u["y"===f?"top":"left"],p,p-u[e])}if(a){const e="y"===d?"bottom":"right";h=Pn(h+u["y"===d?"top":"left"],h,h-u[e])}const m=s.fn({...t,[f]:p,[d]:h});return{...m,data:{x:m.x-n,y:m.y-r}}}}},nr=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a=(()=>{}),...s}=Mn(e,t),l=await qn(t,s),c=Bn(n),u=Fn(n),d="y"===jn(n),{width:f,height:p}=r.floating;let h,m;"top"===c||"bottom"===c?(h=c,m=u===(await(null==o.isRTL?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(m=c,h="end"===u?"top":"bottom");const g=p-l[h],E=f-l[m],v=!t.middlewareData.shift;let y=g,b=E;if(d){const e=f-l.left-l.right;b=u||v?In(E,e):e}else{const e=p-l.top-l.bottom;y=u||v?In(g,e):e}if(v&&!u){const e=xn(l.left,0),t=xn(l.right,0),n=xn(l.top,0),r=xn(l.bottom,0);d?b=f-2*(0!==e||0!==t?e+t:xn(l.left,l.right)):y=p-2*(0!==n||0!==r?n+r:xn(l.top,l.bottom))}await a({...t,availableWidth:b,availableHeight:y});const T=await o.getDimensions(i.floating);return f!==T.width||p!==T.height?{reset:{rects:!0}}:{}}}};function rr(e){return ar(e)?(e.nodeName||"").toLowerCase():"#document"}function or(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ir(e){var t;return null==(t=(ar(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function ar(e){return e instanceof Node||e instanceof or(e).Node}function sr(e){return e instanceof Element||e instanceof or(e).Element}function lr(e){return e instanceof HTMLElement||e instanceof or(e).HTMLElement}function cr(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof or(e).ShadowRoot)}function ur(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=mr(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function dr(e){return["table","td","th"].includes(rr(e))}function fr(e){const t=pr(),n=mr(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function pr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function hr(e){return["html","body","#document"].includes(rr(e))}function mr(e){return or(e).getComputedStyle(e)}function gr(e){return sr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Er(e){if("html"===rr(e))return e;const t=e.assignedSlot||e.parentNode||cr(e)&&e.host||ir(e);return cr(t)?t.host:t}function vr(e){const t=Er(e);return hr(t)?e.ownerDocument?e.ownerDocument.body:e.body:lr(t)&&ur(t)?t:vr(t)}function yr(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=vr(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=or(o);return i?t.concat(a,a.visualViewport||[],ur(o)?o:[],a.frameElement&&n?yr(a.frameElement):[]):t.concat(o,yr(o,[],n))}function br(e){const t=mr(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=lr(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=On(n)!==i||On(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function Tr(e){return sr(e)?e:e.contextElement}function _r(e){const t=Tr(e);if(!lr(t))return Dn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=br(t);let a=(i?On(n.width):n.width)/r,s=(i?On(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Ar=Dn(0);function Sr(e){const t=or(e);return pr()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Ar}function Cr(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=Tr(e);let a=Dn(1);t&&(r?sr(r)&&(a=_r(r)):a=_r(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==or(e))&&t}(i,n,r)?Sr(i):Dn(0);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){const e=or(i),t=r&&sr(r)?or(r):r;let n=e.frameElement;for(;n&&r&&t!==e;){const e=_r(n),t=n.getBoundingClientRect(),r=mr(n),o=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=i,n=or(n).frameElement}}return Yn({width:u,height:d,x:l,y:c})}function kr(e){return Cr(ir(e)).left+gr(e).scrollLeft}function Nr(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=or(e),r=ir(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const e=pr();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){const t=ir(e),n=gr(e),r=e.ownerDocument.body,o=xn(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=xn(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+kr(e);const s=-n.scrollTop;return"rtl"===mr(r).direction&&(a+=xn(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}(ir(e));else if(sr(t))r=function(e,t){const n=Cr(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=lr(e)?_r(e):Dn(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=Sr(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return Yn(r)}function Ir(e,t){const n=Er(e);return!(n===t||!sr(n)||hr(n))&&("fixed"===mr(n).position||Ir(n,t))}function xr(e,t,n){const r=lr(t),o=ir(t),i="fixed"===n,a=Cr(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=Dn(0);if(r||!r&&!i)if(("body"!==rr(t)||ur(o))&&(s=gr(t)),r){const e=Cr(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=kr(o));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Or(e,t){return lr(e)&&"fixed"!==mr(e).position?t?t(e):e.offsetParent:null}function wr(e,t){const n=or(e);if(!lr(e))return n;let r=Or(e,t);for(;r&&dr(r)&&"static"===mr(r).position;)r=Or(r,t);return r&&("html"===rr(r)||"body"===rr(r)&&"static"===mr(r).position&&!fr(r))?n:r||function(e){let t=Er(e);for(;lr(t)&&!hr(t);){if(fr(t))return t;t=Er(t)}return null}(e)||n}const Dr={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=lr(n),i=ir(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0},s=Dn(1);const l=Dn(0);if((o||!o&&"fixed"!==r)&&(("body"!==rr(n)||ur(i))&&(a=gr(n)),lr(n))){const e=Cr(n);s=_r(n),l.x=e.x+n.clientLeft,l.y=e.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-a.scrollLeft*s.x+l.x,y:t.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:ir,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let r=yr(e,[],!1).filter((e=>sr(e)&&"body"!==rr(e))),o=null;const i="fixed"===mr(e).position;let a=i?Er(e):e;for(;sr(a)&&!hr(a);){const t=mr(a),n=fr(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||ur(a)&&!n&&Ir(e,a))?r=r.filter((e=>e!==a)):o=t,a=Er(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=i[0],s=i.reduce(((e,n)=>{const r=Nr(t,n,o);return e.top=xn(r.top,e.top),e.right=In(r.right,e.right),e.bottom=In(r.bottom,e.bottom),e.left=xn(r.left,e.left),e}),Nr(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:wr,getElementRects:async function(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||wr,i=this.getDimensions;return{reference:xr(t,await o(n),r),floating:{x:0,y:0,...await i(n)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return br(e)},getScale:_r,isElement:sr,isRTL:function(e){return"rtl"===mr(e).direction}};function Rr(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=Tr(e),u=o||i?[...c?yr(c):[],...yr(t)]:[];u.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const d=c&&s?function(e,t){let n,r=null;const o=ir(e);function i(){clearTimeout(n),r&&r.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();const{left:c,top:u,width:d,height:f}=e.getBoundingClientRect();if(s||t(),!d||!f)return;const p={rootMargin:-wn(u)+"px "+-wn(o.clientWidth-(c+d))+"px "+-wn(o.clientHeight-(u+f))+"px "+-wn(c)+"px",threshold:xn(0,In(1,l))||1};let h=!0;function m(e){const t=e[0].intersectionRatio;if(t!==l){if(!h)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),100)}h=!1}try{r=new IntersectionObserver(m,{...p,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(m,p)}r.observe(e)}(!0),i}(c,n):null;let f,p=-1,h=null;a&&(h=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{h&&h.observe(t)}))),n()})),c&&!l&&h.observe(c),h.observe(t));let m=l?Cr(e):null;return l&&function t(){const r=Cr(e);!m||r.x===m.x&&r.y===m.y&&r.width===m.width&&r.height===m.height||n();m=r,f=requestAnimationFrame(t)}(),n(),()=>{u.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),d&&d(),h&&h.disconnect(),h=null,l&&cancelAnimationFrame(f)}}const Lr=(e,t,n)=>{const r=new Map,o={platform:Dr,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=Vn(c,r,l),f=r,p={},h=0;for(let n=0;n<s.length;n++){const{name:i,fn:m}=s[n],{x:g,y:E,data:v,reset:y}=await m({x:u,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=g?g:u,d=null!=E?E:d,p={...p,[i]:{...p[i],...v}},y&&h<=50&&(h++,"object"==typeof y&&(y.placement&&(f=y.placement),y.rects&&(c=!0===y.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):y.rects),({x:u,y:d}=Vn(c,f,l))),n=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:p}})(e,t,{...o,platform:i})},Pr=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&(o=n,{}.hasOwnProperty.call(o,"current"))?null!=n.current?Kn({element:n.current,padding:r}).fn(t):{}:n?Kn({element:n,padding:r}).fn(t):{};var o}});var Mr="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;function Br(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;0!=r--;)if(!Br(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!Br(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function Fr(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ur(e,t){const n=Fr(e);return Math.round(t*n)/n}function Hr(e){const t=r.useRef(e);return Mr((()=>{t.current=e})),t}const jr="Popper",[Gr,Qr]=an(jr),[zr,Wr]=Gr(jr),Yr=e=>{const{__scopePopper:t,children:n}=e,[o,i]=(0,r.useState)(null);return(0,r.createElement)(zr,{scope:t,anchor:o,onAnchorChange:i},n)},Vr="PopperAnchor",qr=(0,r.forwardRef)(((e,t)=>{const{__scopePopper:n,virtualRef:o,...i}=e,a=Wr(Vr,n),s=(0,r.useRef)(null),l=on(t,s);return(0,r.useEffect)((()=>{a.onAnchorChange((null==o?void 0:o.current)||s.current)})),o?null:(0,r.createElement)(hn.div,tn({},i,{ref:l}))})),Kr="PopperContent",[Xr,$r]=Gr(Kr),Jr=(0,r.forwardRef)(((e,t)=>{var n,o,i,a,s,l,c,u;const{__scopePopper:d,side:f="bottom",sideOffset:p=0,align:h="center",alignOffset:m=0,arrowPadding:g=0,avoidCollisions:E=!0,collisionBoundary:v=[],collisionPadding:y=0,sticky:b="partial",hideWhenDetached:T=!1,updatePositionStrategy:_="optimized",onPlaced:A,...S}=e,C=Wr(Kr,d),[k,N]=(0,r.useState)(null),I=on(t,(e=>N(e))),[x,O]=(0,r.useState)(null),w=function(e){const[t,n]=(0,r.useState)(void 0);return Sn((()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver((t=>{if(!Array.isArray(t))return;if(!t.length)return;const r=t[0];let o,i;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,i=t.blockSize}else o=e.offsetWidth,i=e.offsetHeight;n({width:o,height:i})}));return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)}),[e]),t}(x),D=null!==(n=null==w?void 0:w.width)&&void 0!==n?n:0,R=null!==(o=null==w?void 0:w.height)&&void 0!==o?o:0,L=f+("center"!==h?"-"+h:""),P="number"==typeof y?y:{top:0,right:0,bottom:0,left:0,...y},M=Array.isArray(v)?v:[v],B=M.length>0,F={padding:P,boundary:M.filter(Zr),altBoundary:B},{refs:U,floatingStyles:H,placement:j,isPositioned:G,middlewareData:Q}=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:a,floating:s}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[d,f]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=r.useState(o);Br(p,o)||h(o);const[m,g]=r.useState(null),[E,v]=r.useState(null),y=r.useCallback((e=>{e!=A.current&&(A.current=e,g(e))}),[g]),b=r.useCallback((e=>{e!==S.current&&(S.current=e,v(e))}),[v]),T=a||m,_=s||E,A=r.useRef(null),S=r.useRef(null),C=r.useRef(d),k=Hr(c),N=Hr(i),I=r.useCallback((()=>{if(!A.current||!S.current)return;const e={placement:t,strategy:n,middleware:p};N.current&&(e.platform=N.current),Lr(A.current,S.current,e).then((e=>{const t={...e,isPositioned:!0};x.current&&!Br(C.current,t)&&(C.current=t,ln.flushSync((()=>{f(t)})))}))}),[p,t,n,N]);Mr((()=>{!1===u&&C.current.isPositioned&&(C.current.isPositioned=!1,f((e=>({...e,isPositioned:!1}))))}),[u]);const x=r.useRef(!1);Mr((()=>(x.current=!0,()=>{x.current=!1})),[]),Mr((()=>{if(T&&(A.current=T),_&&(S.current=_),T&&_){if(k.current)return k.current(T,_,I);I()}}),[T,_,I,k]);const O=r.useMemo((()=>({reference:A,floating:S,setReference:y,setFloating:b})),[y,b]),w=r.useMemo((()=>({reference:T,floating:_})),[T,_]),D=r.useMemo((()=>{const e={position:n,left:0,top:0};if(!w.floating)return e;const t=Ur(w.floating,d.x),r=Ur(w.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...Fr(w.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,l,w.floating,d.x,d.y]);return r.useMemo((()=>({...d,update:I,refs:O,elements:w,floatingStyles:D})),[d,I,O,w,D])}({strategy:"fixed",placement:L,whileElementsMounted:(...e)=>Rr(...e,{animationFrame:"always"===_}),elements:{reference:C.anchor},middleware:[er({mainAxis:p+R,alignmentAxis:m}),E&&tr({mainAxis:!0,crossAxis:!1,limiter:"partial"===b?(void 0===z&&(z={}),{options:z,fn(e){const{x:t,y:n,placement:r,rects:o,middlewareData:i}=e,{offset:a=0,mainAxis:s=!0,crossAxis:l=!0}=Mn(z,e),c={x:t,y:n},u=jn(r),d=Un(u);let f=c[d],p=c[u];const h=Mn(a,e),m="number"==typeof h?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(s){const e="y"===d?"height":"width",t=o.reference[d]-o.floating[e]+m.mainAxis,n=o.reference[d]+o.reference[e]-m.mainAxis;f<t?f=t:f>n&&(f=n)}if(l){var g,E;const e="y"===d?"width":"height",t=["top","left"].includes(Bn(r)),n=o.reference[u]-o.floating[e]+(t&&(null==(g=i.offset)?void 0:g[u])||0)+(t?0:m.crossAxis),a=o.reference[u]+o.reference[e]+(t?0:(null==(E=i.offset)?void 0:E[u])||0)-(t?m.crossAxis:0);p<n?p=n:p>a&&(p=a)}return{[d]:f,[u]:p}}}):void 0,...F}),E&&Xn({...F}),nr({...F,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{const{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),x&&Pr({element:x,padding:g}),eo({arrowWidth:D,arrowHeight:R}),T&&Zn({strategy:"referenceHidden",...F})]});var z;const[W,Y]=to(j),V=mn(A);Sn((()=>{G&&(null==V||V())}),[G,V]);const q=null===(i=Q.arrow)||void 0===i?void 0:i.x,K=null===(a=Q.arrow)||void 0===a?void 0:a.y,X=0!==(null===(s=Q.arrow)||void 0===s?void 0:s.centerOffset),[$,J]=(0,r.useState)();return Sn((()=>{k&&J(window.getComputedStyle(k).zIndex)}),[k]),(0,r.createElement)("div",{ref:U.setFloating,"data-radix-popper-content-wrapper":"",style:{...H,transform:G?H.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:$,"--radix-popper-transform-origin":[null===(l=Q.transformOrigin)||void 0===l?void 0:l.x,null===(c=Q.transformOrigin)||void 0===c?void 0:c.y].join(" ")},dir:e.dir},(0,r.createElement)(Xr,{scope:d,placedSide:W,onArrowChange:O,arrowX:q,arrowY:K,shouldHideArrow:X},(0,r.createElement)(hn.div,tn({"data-side":W,"data-align":Y},S,{ref:I,style:{...S.style,animation:G?void 0:"none",opacity:null!==(u=Q.hide)&&void 0!==u&&u.referenceHidden?0:void 0}}))))}));function Zr(e){return null!==e}const eo=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:c}=t,u=0!==(null===(n=c.arrow)||void 0===n?void 0:n.centerOffset),d=u?0:e.arrowWidth,f=u?0:e.arrowHeight,[p,h]=to(s),m={start:"0%",center:"50%",end:"100%"}[h],g=(null!==(r=null===(o=c.arrow)||void 0===o?void 0:o.x)&&void 0!==r?r:0)+d/2,E=(null!==(i=null===(a=c.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+f/2;let v="",y="";return"bottom"===p?(v=u?m:`${g}px`,y=-f+"px"):"top"===p?(v=u?m:`${g}px`,y=`${l.floating.height+f}px`):"right"===p?(v=-f+"px",y=u?m:`${E}px`):"left"===p&&(v=`${l.floating.width+f}px`,y=u?m:`${E}px`),{data:{x:v,y}}}});function to(e){const[t,n="center"]=e.split("-");return[t,n]}const no=Yr,ro=qr,oo=Jr;const io=e=>{const{present:t,children:n}=e,o=function(e){const[t,n]=(0,r.useState)(),o=(0,r.useRef)({}),i=(0,r.useRef)(e),a=(0,r.useRef)("none"),s=e?"mounted":"unmounted",[l,c]=function(e,t){return(0,r.useReducer)(((e,n)=>{const r=t[e][n];return null!=r?r:e}),e)}(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,r.useEffect)((()=>{const e=ao(o.current);a.current="mounted"===l?e:"none"}),[l]),Sn((()=>{const t=o.current,n=i.current;if(n!==e){const r=a.current,o=ao(t);if(e)c("MOUNT");else if("none"===o||"none"===(null==t?void 0:t.display))c("UNMOUNT");else{c(n&&r!==o?"ANIMATION_OUT":"UNMOUNT")}i.current=e}}),[e,c]),Sn((()=>{if(t){const e=e=>{const n=ao(o.current).includes(e.animationName);e.target===t&&n&&(0,ln.flushSync)((()=>c("ANIMATION_END")))},n=e=>{e.target===t&&(a.current=ao(o.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}c("ANIMATION_END")}),[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:(0,r.useCallback)((e=>{e&&(o.current=getComputedStyle(e)),n(e)}),[])}}(t),i="function"==typeof n?n({present:o.isPresent}):r.Children.only(n),a=on(o.ref,i.ref);return"function"==typeof n||o.isPresent?(0,r.cloneElement)(i,{ref:a}):null};function ao(e){return(null==e?void 0:e.animationName)||"none"}function so({prop:e,defaultProp:t,onChange:n=(()=>{})}){const[o,i]=function({defaultProp:e,onChange:t}){const n=(0,r.useState)(e),[o]=n,i=(0,r.useRef)(o),a=mn(t);return(0,r.useEffect)((()=>{i.current!==o&&(a(o),i.current=o)}),[o,i,a]),n}({defaultProp:t,onChange:n}),a=void 0!==e,s=a?e:o,l=mn(n);return[s,(0,r.useCallback)((t=>{if(a){const n="function"==typeof t?t(e):t;n!==e&&l(n)}else i(t)}),[a,e,i,l])]}io.displayName="Presence";const lo=(0,r.forwardRef)(((e,t)=>(0,r.createElement)(hn.span,tn({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}})))),co=lo,[uo,fo]=an("Tooltip",[Qr]),po=Qr(),ho="TooltipProvider",mo=700,go="tooltip.open",[Eo,vo]=uo(ho),yo=e=>{const{__scopeTooltip:t,delayDuration:n=mo,skipDelayDuration:o=300,disableHoverableContent:i=!1,children:a}=e,[s,l]=(0,r.useState)(!0),c=(0,r.useRef)(!1),u=(0,r.useRef)(0);return(0,r.useEffect)((()=>{const e=u.current;return()=>window.clearTimeout(e)}),[]),(0,r.createElement)(Eo,{scope:t,isOpenDelayed:s,delayDuration:n,onOpen:(0,r.useCallback)((()=>{window.clearTimeout(u.current),l(!1)}),[]),onClose:(0,r.useCallback)((()=>{window.clearTimeout(u.current),u.current=window.setTimeout((()=>l(!0)),o)}),[o]),isPointerInTransitRef:c,onPointerInTransitChange:(0,r.useCallback)((e=>{c.current=e}),[]),disableHoverableContent:i},a)},bo="Tooltip",[To,_o]=uo(bo),Ao=e=>{const{__scopeTooltip:t,children:n,open:o,defaultOpen:i=!1,onOpenChange:a,disableHoverableContent:s,delayDuration:l}=e,c=vo(bo,e.__scopeTooltip),u=po(t),[d,f]=(0,r.useState)(null),p=function(e){const[t,n]=r.useState(Cn());return Sn((()=>{e||n((e=>null!=e?e:String(kn++)))}),[e]),e||(t?`radix-${t}`:"")}(),h=(0,r.useRef)(0),m=null!=s?s:c.disableHoverableContent,g=null!=l?l:c.delayDuration,E=(0,r.useRef)(!1),[v=!1,y]=so({prop:o,defaultProp:i,onChange:e=>{e?(c.onOpen(),document.dispatchEvent(new CustomEvent(go))):c.onClose(),null==a||a(e)}}),b=(0,r.useMemo)((()=>v?E.current?"delayed-open":"instant-open":"closed"),[v]),T=(0,r.useCallback)((()=>{window.clearTimeout(h.current),E.current=!1,y(!0)}),[y]),_=(0,r.useCallback)((()=>{window.clearTimeout(h.current),y(!1)}),[y]),A=(0,r.useCallback)((()=>{window.clearTimeout(h.current),h.current=window.setTimeout((()=>{E.current=!0,y(!0)}),g)}),[g,y]);return(0,r.useEffect)((()=>()=>window.clearTimeout(h.current)),[]),(0,r.createElement)(no,u,(0,r.createElement)(To,{scope:t,contentId:p,open:v,stateAttribute:b,trigger:d,onTriggerChange:f,onTriggerEnter:(0,r.useCallback)((()=>{c.isOpenDelayed?A():T()}),[c.isOpenDelayed,A,T]),onTriggerLeave:(0,r.useCallback)((()=>{m?_():window.clearTimeout(h.current)}),[_,m]),onOpen:T,onClose:_,disableHoverableContent:m},n))},So="TooltipTrigger",Co=(0,r.forwardRef)(((e,t)=>{const{__scopeTooltip:n,...o}=e,i=_o(So,n),a=vo(So,n),s=po(n),l=on(t,(0,r.useRef)(null),i.onTriggerChange),c=(0,r.useRef)(!1),u=(0,r.useRef)(!1),d=(0,r.useCallback)((()=>c.current=!1),[]);return(0,r.useEffect)((()=>()=>document.removeEventListener("pointerup",d)),[d]),(0,r.createElement)(ro,tn({asChild:!0},s),(0,r.createElement)(hn.button,tn({"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute},o,{ref:l,onPointerMove:nn(e.onPointerMove,(e=>{"touch"!==e.pointerType&&(u.current||a.isPointerInTransitRef.current||(i.onTriggerEnter(),u.current=!0))})),onPointerLeave:nn(e.onPointerLeave,(()=>{i.onTriggerLeave(),u.current=!1})),onPointerDown:nn(e.onPointerDown,(()=>{c.current=!0,document.addEventListener("pointerup",d,{once:!0})})),onFocus:nn(e.onFocus,(()=>{c.current||i.onOpen()})),onBlur:nn(e.onBlur,i.onClose),onClick:nn(e.onClick,i.onClose)})))})),ko="TooltipPortal",[No,Io]=uo(ko,{forceMount:void 0}),xo="TooltipContent",Oo=(0,r.forwardRef)(((e,t)=>{const n=Io(xo,e.__scopeTooltip),{forceMount:o=n.forceMount,side:i="top",...a}=e,s=_o(xo,e.__scopeTooltip);return(0,r.createElement)(io,{present:o||s.open},s.disableHoverableContent?(0,r.createElement)(Lo,tn({side:i},a,{ref:t})):(0,r.createElement)(wo,tn({side:i},a,{ref:t})))})),wo=(0,r.forwardRef)(((e,t)=>{const n=_o(xo,e.__scopeTooltip),o=vo(xo,e.__scopeTooltip),i=(0,r.useRef)(null),a=on(t,i),[s,l]=(0,r.useState)(null),{trigger:c,onClose:u}=n,d=i.current,{onPointerInTransitChange:f}=o,p=(0,r.useCallback)((()=>{l(null),f(!1)}),[f]),h=(0,r.useCallback)(((e,t)=>{const n=e.currentTarget,r={x:e.clientX,y:e.clientY},o=function(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}(r,n.getBoundingClientRect()),i=function(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}(r,o),a=function(e){const t=e.slice();return t.sort(((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0)),function(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const r=e[n];for(;t.length>=2;){const e=t[t.length-1],n=t[t.length-2];if(!((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x)))break;t.pop()}t.push(r)}t.pop();const n=[];for(let t=e.length-1;t>=0;t--){const r=e[t];for(;n.length>=2;){const e=n[n.length-1],t=n[n.length-2];if(!((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x)))break;n.pop()}n.push(r)}return n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}(t)}([...i,...function(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}(t.getBoundingClientRect())]);l(a),f(!0)}),[f]);return(0,r.useEffect)((()=>()=>p()),[p]),(0,r.useEffect)((()=>{if(c&&d){const e=e=>h(e,d),t=e=>h(e,c);return c.addEventListener("pointerleave",e),d.addEventListener("pointerleave",t),()=>{c.removeEventListener("pointerleave",e),d.removeEventListener("pointerleave",t)}}}),[c,d,h,p]),(0,r.useEffect)((()=>{if(s){const e=e=>{const t=e.target,n={x:e.clientX,y:e.clientY},r=(null==c?void 0:c.contains(t))||(null==d?void 0:d.contains(t)),o=!function(e,t){const{x:n,y:r}=e;let o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){const a=t[e].x,s=t[e].y,l=t[i].x,c=t[i].y;s>r!=c>r&&n<(l-a)*(r-s)/(c-s)+a&&(o=!o)}return o}(n,s);r?p():o&&(p(),u())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}}),[c,d,s,u,p]),(0,r.createElement)(Lo,tn({},e,{ref:a}))})),[Do,Ro]=uo(bo,{isInside:!1}),Lo=(0,r.forwardRef)(((e,t)=>{const{__scopeTooltip:n,children:o,"aria-label":i,onEscapeKeyDown:a,onPointerDownOutside:s,...l}=e,c=_o(xo,n),u=po(n),{onClose:d}=c;return(0,r.useEffect)((()=>(document.addEventListener(go,d),()=>document.removeEventListener(go,d))),[d]),(0,r.useEffect)((()=>{if(c.trigger){const e=e=>{const t=e.target;null!=t&&t.contains(c.trigger)&&d()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}}),[c.trigger,d]),(0,r.createElement)(Tn,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:d},(0,r.createElement)(oo,tn({"data-state":c.stateAttribute},u,l,{ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),(0,r.createElement)(dn,null,o),(0,r.createElement)(Do,{scope:n,isInside:!0},(0,r.createElement)(co,{id:c.contentId,role:"tooltip"},i||o))))}));const Po=yo,Mo=Ao,Bo=Co,Fo=Oo;var Uo=o(893);const Ho=Po,jo=Mo,Go=Bo,Qo=r.forwardRef((({className:e,sideOffset:t=4,...n},r)=>(0,Uo.jsx)(Fo,{ref:r,sideOffset:t,className:Dt("tooltip___Ygg33",e),...n})));Qo.displayName=Fo.displayName;let zo=function(e){return e.LOGIN="login",e.LOGOUT="logout",e.HEART_BEAT="heartBeat",e.GET_USER_PROFILE="getUserProfile",e.GET_USER_HISTORY="getUserHistory",e.CLEAR_USER_HISTORY="clearUserHistory",e.POST_USER_SAVE_KEY="postUserSaveKey",e.PATCH_USER_UPDATE_SIDEBAR_SHOW_STATUS="patchUserUpdateSidebarShowStatus",e.UPDATE_USER_CUSTOM_KEY="updateUserCustomKey",e.POST_PROMPT_CREATE_PROMPT="postPromptCreatePrompt",e.POST_PROMPT_DELETE_PROMPT="postPromptDeletePrompt",e.GET_PROMPT_GET_PROMPT_LIST="getPromptGetPromptList",e.GET_PROMPT_GET_TOP_PROMPTS="getPromptGetTopPrompts",e.POST_PROMPT_PIN2_TOP="postPromptPin2Top",e.POST_PROMPT_SORT_PROMPT="postPromptSortPrompt",e.POST_PROMPT_UPDATE_PROMPT="postPromptUpdatePrompt",e.GET_SCREENSHOT="getScreenshot",e.UPLOAD_IMAGE="uploadImage",e.SEND_CHAT_GPT_STREAM="sendChatGptScream",e.START_SCREEN_SHOT_FROM_POPUP="startScreenShotFromPopup",e}({}),Wo=function(e){return e.CONTENT_SCRIPT_HEART_BEAT="contentScriptHb",e.CHANGE_USER_INFO="changeUserInfo",e.GET_STREAM_RES="getStreamRes",e.URL_TO_BASE64="urlToBase64",e.BATCH_IMG_TO_WEBP="batchImgToWebP",e.START_SCREEN_SHOT_FROM_BACKGROUND="startScreenShotFromBackground",e}({}),Yo=function(e){return e.INSTALLATION_TIME="installationTime",e.TOKEN="authorizedToken",e.USER_INFO="userInfo",e.SIDE_BAR_ICON_VISIBLE="sideBarIconVisible",e.SIDE_BAR_POSITION_BOTTOM="sideBarPositionBottom",e}({}),Vo=function(e){return e.PROMPT_LIST="promptList",e.TOP_PROMPT_LIST="topPromptList",e}({});const qo=({visible:e,chatRoomVisible:t,onChangeActionBarVisible:n,onChangeChatRoomVisible:o,onClickScreenShot:i,actionBarBottom:a,setActionBarBottom:s})=>{const{t:l}=Ht(),[c,u]=(0,r.useState)(!1),d=(0,r.useRef)(!1),f=(0,r.useRef)(!1),p=(0,r.useRef)(a),h=()=>{document.removeEventListener("mousemove",m),document.removeEventListener("mouseup",h),f.current=!1,d.current?(u(!1),d.current=!1,Me(Yo.SIDE_BAR_POSITION_BOTTOM).set(p.current)):o(!t)};function m(e){d.current=!0,u(!0),e.clientY<100||(p.current=window.innerHeight-e.clientY,s(p.current))}return(0,Uo.jsxs)("div",{className:zt()("actionBarWrap___qOasH",!e&&"hidden___AL3Ep",t&&"chatRoomActive___Wl6sY"),style:{bottom:a},children:[(0,Uo.jsx)(Ho,{delayDuration:0,children:(0,Uo.jsxs)(jo,{delayDuration:0,children:[(0,Uo.jsx)(Go,{asChild:!0,children:(0,Uo.jsx)("div",{className:zt()("screenShotBtnWrap___orqec"),children:(0,Uo.jsx)("div",{className:zt()("screenShotBtn___J6z48"),onClick:()=>{i()},children:(0,Uo.jsx)(en,{})})})}),(0,Uo.jsx)(Qo,{side:"left",children:l("Screenshot")})]})}),c&&(0,Uo.jsx)("div",{className:"moveMask___eXTJC"}),(0,Uo.jsxs)("div",{className:zt()("actionBtn___F2HNv"),onMouseDownCapture:()=>{f.current=!0,setTimeout((()=>{f.current&&(document.addEventListener("mousemove",m),document.addEventListener("mouseup",h))}),150)},onMouseUpCapture:h,style:c?{pointerEvents:"none"}:{},children:[(0,Uo.jsx)("div",{onClick:e=>{e.stopPropagation(),n(!1),o(!1)},className:"close___h9sO9",children:(0,Uo.jsx)(Xt,{})}),(0,Uo.jsx)("div",{className:"iconWrap___zHp7k",children:(0,Uo.jsx)(Yt,{})}),(0,Uo.jsx)("span",{className:"keyTip___j5GYa",children:"⌘+B"})]})]})};var Ko,Xo,$o="apiInput___qFDWr",Jo="blennyButton___QHrCc",Zo="blennyLink___ue2An",ei="blennyLoading___kkTTD",ti="bottomButton___BFTuD",ni="chatContent____Tr7j",ri="chatTextContent___BWs60",oi="chatTextContentWrap___azfw5",ii="chatroomWrap___eu6Nu",ai="clearButton___bSBv6",si="close___OaspA",li="container___a6kW7",ci="contentContainer___CarRb",ui="contentWrap___KQZ3f",di="disabled___cWyzE",fi="dot___ee5Sf",pi="dragIcon___rOf4B",hi="dropWrap___b3Ktp",mi="edit___hGYgX",gi="ellipsis___L6Zhw",Ei="emptyWrap___C_kiB",vi="failed___5LU8i",yi="gpt___l6fKo",bi="hasImage___kfqWI",Ti="header___I2w4k",_i="headerRight___YE7gR",Ai="hidden___kMQ35",Si="iconWrap___Vm7YO",Ci="imageButton___Lxvqb",ki="imagePreviewButton___VNHN7",Ni="imageWrap___Hg82_",Ii="inputBottomButton___gRKaA",xi="inputImagePosition___MzdT0",Oi="inputWrap___mqKB1",wi="itemsBoxWithBg___HzKfJ",Di="keySetWrap___FMMe3",Ri="list___HdGAy",Li="listBottomButtonWrap___u1mK6",Pi="listContainer___EdqIK",Mi="listItem___QbSvs",Bi="listItemWrap___uJdJf",Fi="loading___Kxu3F",Ui="loadingWrap___BGMq0",Hi="menu___yzKGE",ji="messageMenu___YaDkA",Gi="messageMenuBar___vJTQi",Qi="messageWrap___m1ZDi",zi="or___AVX5r",Wi="previewClose___SsGZ5",Yi="previewImageMask___eDwLV",Vi="promptAndImageWrap___vb5kh",qi="promptButton___amx_A",Ki="promptDropMenu___o37pL",Xi="promptDropdownMask___Adkv1",$i="promptMenuWrap___ZoTrL",Ji="promptText___aJTVp",Zi="saveButton___jX8YO",ea="scrollBox___c6zKu",ta="send___iSrOj",na="spin___bQy21",ra="spinWrap___Yt4mO",oa="stopButton___UXkqj",ia="textArea___Zxu_W",aa="tips___uKCkL",sa="topLoadingWrap___DgJrN",la="topPromptsWrap___tSOrJ",ca="underItem___I5xis",ua="user___gP7O0";function da(){return da=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},da.apply(this,arguments)}const fa=function(e){return r.createElement("svg",da({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",fill:"none",width:16,height:16,viewBox:"0 0 16 16"},e),Ko||(Ko=r.createElement("defs",null,r.createElement("clipPath",{id:"master_svg0_1_45"},r.createElement("rect",{x:0,y:0,width:16,height:16,rx:0})))),Xo||(Xo=r.createElement("g",{clipPath:"url(#master_svg0_1_45)"},r.createElement("g",{transform:"matrix(-0.7071067690849304,0.7071067690849304,-0.7071067690849304,-0.7071067690849304,24.842396589338023,-8.56618055015133)"},r.createElement("line",{x1:14.1953125,y1:.16193848848342896,x2:24.56621265411377,y2:.16193848848342896,fillOpacity:0,strokeOpacity:1,stroke:"#ACAEB8",fill:"none",strokeWidth:1.399999976158142,strokeLinecap:"ROUND",strokeLinejoin:"round"})),r.createElement("g",null,r.createElement("path",{d:"M14.43559609375,0.6726730234375L1.10225109375,5.3393440234375Q0.96558409375,5.3871740234375,0.85911009375,5.4853040234375Q0.75263509375,5.5834240234375,0.69382809375,5.7157440234375Q0.66582709375,5.7787440234375,0.65065509375,5.8460040234375Q0.63548409375,5.9132540234375,0.63372409375,5.9821740234375Q0.63196409375,6.0510940234375,0.64368509375,6.1190340234375Q0.65540509375,6.1869740234375,0.68015409375,6.2513240234375Q0.70490409375,6.3156740234375,0.74173109375,6.3739540234375Q0.77855909375,6.4322440234375,0.82605009375,6.4822240234375Q0.87354009375,6.5322040234375,0.92986909375,6.5719540234375Q0.98619709375,6.6117040234375,1.04919909375,6.6397040234375L6.80317609375,9.1970340234375L9.36049609375,14.9509740234375Q9.41930609375,15.0832740234375,9.52577609375,15.1814740234375Q9.63225609375,15.2795740234375,9.76891609375,15.3273740234375Q9.83398609375,15.3501740234375,9.90225609375,15.3598740234375Q9.97052609375,15.3694740234375,10.03935609375,15.3655740234375Q10.10819609375,15.3617740234375,10.17495609375,15.3445740234375Q10.24171609375,15.3272740234375,10.30383609375,15.2973740234375Q10.36595609375,15.2674740234375,10.42104609375,15.2260740234375Q10.47613609375,15.1845740234375,10.52207609375,15.1331740234375Q10.56801609375,15.0817740234375,10.60305609375,15.0223740234375Q10.63808609375,14.9630740234375,10.66086609375,14.8979740234375L15.32749609375,1.5646190234375Q15.36679609375,1.4523360234375,15.36679609375,1.33337401577174Q15.36679609375,1.2144120234375,15.32749609375,1.1021290234375Q15.28149609375,0.9707070234374999,15.18869609375,0.8668920234374999Q15.09599609375,0.7630770234375,14.97049609375,0.7026730234375Q14.84509609375,0.6422690234375,14.70599609375,0.6344720234375Q14.56699609375,0.6266760234375,14.43559609375,0.6726730234375ZM3.2312460937500003,6.0774640234375L7.61779609375,8.027044023437501Q7.73656609375,8.0798240234375,7.82846609375,8.1717340234375Q7.92037609375,8.2636340234375,7.97316609375,8.3824140234375L9.92273609375,12.7689740234375L13.52589609375,2.4743540234375L3.2312460937500003,6.0774640234375Z",fillRule:"evenodd",fill:"#ACAEB8",fillOpacity:1})))))};var pa,ha;function ma(){return ma=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ma.apply(this,arguments)}const ga=function(e){return r.createElement("svg",ma({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-plus"},e),pa||(pa=r.createElement("line",{x1:12,y1:5,x2:12,y2:19})),ha||(ha=r.createElement("line",{x1:5,y1:12,x2:19,y2:12})))},Ea=e=>{const{t}=Ht();(0,r.useEffect)((()=>{}),[]);return(0,Uo.jsx)("div",{className:zt()("modalMask___XfFym",!e.visible&&"hidden___TIF97"),children:(0,Uo.jsxs)("div",{className:"modalWrap___zIqOa",children:[(0,Uo.jsxs)("div",{className:"header___UtcZE",children:[(0,Uo.jsx)("div",{className:"title___kCCS3",children:e.title}),(0,Uo.jsx)(ga,{className:"close___Ff812",onClick:()=>{e.onClose(!1)}})]}),(0,Uo.jsx)("div",{children:e.children})]})})};const va=e=>(0,Uo.jsx)("input",{type:"text",className:"input___hXUF6",value:e.value,disabled:e.disabled,onChange:t=>e.onChange(t.target.value),placeholder:e.placeholder});const ya=e=>(0,Uo.jsx)("textarea",{className:"input___Q6WG2",value:e.value,onChange:t=>e.onChange(t.target.value),placeholder:e.placeholder});const ba=e=>((0,r.useEffect)((()=>{}),[]),(0,Uo.jsx)("button",{className:zt()(e.customClassName,"button___rxvya"),disabled:e.disabled,onClick:e.onClick,children:e.children}));let Ta=function(e){return e.Unchecked="unchecked",e.Checked="checked",e}({});const _a={name:"",prompt:"",webAccessEnabled:!1},Aa=e=>{const[t,n]=(0,r.useState)(_a);(0,r.useEffect)((()=>{e.visible||n(_a)}),[e.visible]);const o=()=>{e.onClose(!1)};return(0,Uo.jsx)(Ea,{onClose:o,visible:e.visible,title:"New Prompt",children:(0,Uo.jsxs)("div",{className:"content___Z4enf",children:[(0,Uo.jsx)("div",{children:"Name"}),(0,Uo.jsx)("div",{className:"nameInputWrap___Zk08H",children:(0,Uo.jsx)(va,{value:t?.name,onChange:e=>n({...t,name:e})})}),(0,Uo.jsx)("div",{children:"Prompt"}),(0,Uo.jsx)("div",{className:"contentInputWrap___l3Eq8",children:(0,Uo.jsx)(ya,{value:t?.prompt,onChange:e=>n({...t,prompt:e})})}),(0,Uo.jsxs)("div",{className:"sidebarSwitch___IOUe1",children:[(0,Uo.jsx)("div",{children:"Web Access"}),(0,Uo.jsx)("button",{type:"button",role:"switch","aria-checked":t?.webAccessEnabled,onClick:()=>n({...t,webAccessEnabled:!t?.webAccessEnabled}),"data-state":t?.webAccessEnabled?Ta.Checked:Ta.Unchecked,className:"switchButton___chZyT",children:(0,Uo.jsx)("div",{"data-state":t?.webAccessEnabled?Ta.Checked:Ta.Unchecked,className:"switchDot___ViNb7"})})]}),(0,Uo.jsxs)("div",{className:"btnWrap___kEUYg",children:[(0,Uo.jsx)(ba,{onClick:o,customClassName:"closeButton___1ciVu",children:"close"}),(0,Uo.jsx)(ba,{onClick:()=>{e.onClickSave(t)},disabled:!t?.name||!t?.prompt,children:"Save"})]})]})})},Sa=e=>{const[t,n]=(0,r.useState)();(0,r.useEffect)((()=>{n(e.currentEditPrompt)}),[e.currentEditPrompt]);return(0,Uo.jsx)(Ea,{onClose:()=>{e.onClose(!1)},visible:e.visible,title:"Edit Prompt",children:(0,Uo.jsxs)("div",{className:"content___Fd8XO",children:[(0,Uo.jsx)("div",{children:"Name"}),(0,Uo.jsx)("div",{className:"nameInputWrap___Kn09Q",children:(0,Uo.jsx)(va,{value:t?.name,onChange:e=>n({...t,name:e})})}),(0,Uo.jsx)("div",{children:"Prompt"}),(0,Uo.jsx)("div",{className:"contentInputWrap___ZeqYl",children:(0,Uo.jsx)(ya,{value:t?.prompt,onChange:e=>n({...t,prompt:e})})}),(0,Uo.jsxs)("div",{className:"sidebarSwitch___i30nt",children:[(0,Uo.jsx)("div",{children:"Web Access"}),(0,Uo.jsx)("button",{type:"button",role:"switch","aria-checked":t?.webAccessEnabled,onClick:()=>n({...t,webAccessEnabled:!t?.webAccessEnabled}),"data-state":t?.webAccessEnabled?Ta.Checked:Ta.Unchecked,className:"switchButton___rK4R0",children:(0,Uo.jsx)("div",{"data-state":t?.webAccessEnabled?Ta.Checked:Ta.Unchecked,className:"switchDot___tLdJm"})})]}),(0,Uo.jsxs)("div",{className:"btnWrap___HdGBv",children:[(0,Uo.jsx)(ba,{onClick:()=>e.handleDeletePrompt(t?.id),customClassName:"deleteButton___AnOEW",children:"Delete"}),(0,Uo.jsx)(ba,{onClick:()=>{Fe(zo.POST_PROMPT_UPDATE_PROMPT,{id:e.currentEditPrompt?.id,body:{name:t?.name,prompt:t?.prompt,webAccessEnabled:t?.webAccessEnabled}}).then((t=>{e.handleUpdatePrompt({...t})}))},children:"Save"})]})]})})};var Ca,ka;function Na(){return Na=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Na.apply(this,arguments)}const Ia=function(e){return r.createElement("svg",Na({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",fill:"none",width:16,height:16,viewBox:"0 0 16 16"},e),Ca||(Ca=r.createElement("defs",null,r.createElement("clipPath",{id:"master_svg0_1_09537"},r.createElement("rect",{x:0,y:0,width:16,height:16,rx:0})))),ka||(ka=r.createElement("g",{clipPath:"url(#master_svg0_1_09537)"},r.createElement("g",null,r.createElement("path",{d:"M1.3,5.66667L1.3,3Q1.3,2.295837,1.797918,1.797918Q2.295837,1.3,3,1.3L5.66667,1.3Q6.37083,1.3,6.86875,1.797918Q7.36667,2.295837,7.36667,3L7.36667,5.66667Q7.36667,6.37083,6.86875,6.86875Q6.37083,7.36667,5.66667,7.36667L3,7.36667Q2.295837,7.36667,1.797918,6.86875Q1.3,6.37083,1.3,5.66667ZM2.7,5.66667Q2.7,5.966670000000001,3,5.966670000000001L5.66667,5.966670000000001Q5.7909299999999995,5.966670000000001,5.8788,5.8788Q5.966670000000001,5.7909299999999995,5.966670000000001,5.66667L5.966670000000001,3Q5.966670000000001,2.875736,5.8788,2.787868Q5.7909299999999995,2.7,5.66667,2.7L3,2.7Q2.7,2.7,2.7,3L2.7,5.66667Z",fill:"currentColor",fillOpacity:1})),r.createElement("g",null,r.createElement("path",{d:"M8.633251953125,5.66667L8.633251953125,3Q8.633251953125,2.295837,9.131169953125,1.797918Q9.629088953125,1.3,10.333251953125,1.3L12.999921953125,1.3Q13.704081953125,1.3,14.202001953125,1.797918Q14.699921953125,2.295837,14.699921953125,3L14.699921953125,5.66667Q14.699921953125,6.37083,14.202001953125,6.86875Q13.704081953125,7.36667,12.999921953125,7.36667L10.333251953125,7.36667Q9.629088953125,7.36667,9.131169953125,6.86875Q8.633251953125,6.37083,8.633251953125,5.66667ZM10.033251953125,5.66667Q10.033251953125,5.966670000000001,10.333251953125,5.966670000000001L12.999921953125,5.966670000000001Q13.124181953125,5.966670000000001,13.212051953125,5.8788Q13.299921953125,5.7909299999999995,13.299921953125,5.66667L13.299921953125,3Q13.299921953125,2.875736,13.212051953125,2.787868Q13.124181953125,2.7,12.999921953125,2.7L10.333251953125,2.7Q10.033251953125,2.7,10.033251953125,3L10.033251953125,5.66667Z",fill:"currentColor",fillOpacity:1})),r.createElement("g",null,r.createElement("path",{d:"M8.633251953125,12.99998298828125L8.633251953125,10.33331298828125Q8.633251953125,9.62914998828125,9.131169953125,9.13123098828125Q9.629088953125,8.63331298828125,10.333251953125,8.63331298828125L12.999921953125,8.63331298828125Q13.704081953125,8.63331298828125,14.202001953125,9.13123098828125Q14.699921953125,9.62914998828125,14.699921953125,10.33331298828125L14.699921953125,12.99998298828125Q14.699921953125,13.70414298828125,14.202001953125,14.20206298828125Q13.704081953125,14.69998298828125,12.999921953125,14.69998298828125L10.333251953125,14.69998298828125Q9.629088953125,14.69998298828125,9.131169953125,14.20206298828125Q8.633251953125,13.70414298828125,8.633251953125,12.99998298828125ZM10.033251953125,12.99998298828125Q10.033251953125,13.29998298828125,10.333251953125,13.29998298828125L12.999921953125,13.29998298828125Q13.124181953125,13.29998298828125,13.212051953125,13.21211298828125Q13.299921953125,13.12424298828125,13.299921953125,12.99998298828125L13.299921953125,10.33331298828125Q13.299921953125,10.20904898828125,13.212051953125,10.12118098828125Q13.124181953125,10.03331298828125,12.999921953125,10.03331298828125L10.333251953125,10.03331298828125Q10.033251953125,10.03331298828125,10.033251953125,10.33331298828125L10.033251953125,12.99998298828125Z",fill:"currentColor",fillOpacity:1})),r.createElement("g",null,r.createElement("path",{d:"M1.3,12.99998298828125L1.3,10.33331298828125Q1.3,9.62914998828125,1.797918,9.13123098828125Q2.295837,8.63331298828125,3,8.63331298828125L5.66667,8.63331298828125Q6.37083,8.63331298828125,6.86875,9.13123098828125Q7.36667,9.62914998828125,7.36667,10.33331298828125L7.36667,12.99998298828125Q7.36667,13.70414298828125,6.86875,14.20206298828125Q6.37083,14.69998298828125,5.66667,14.69998298828125L3,14.69998298828125Q2.295837,14.69998298828125,1.797918,14.20206298828125Q1.3,13.70414298828125,1.3,12.99998298828125ZM2.7,12.99998298828125Q2.7,13.29998298828125,3,13.29998298828125L5.66667,13.29998298828125Q5.7909299999999995,13.29998298828125,5.8788,13.21211298828125Q5.966670000000001,13.12424298828125,5.966670000000001,12.99998298828125L5.966670000000001,10.33331298828125Q5.966670000000001,10.20904898828125,5.8788,10.12118098828125Q5.7909299999999995,10.03331298828125,5.66667,10.03331298828125L3,10.03331298828125Q2.7,10.03331298828125,2.7,10.33331298828125L2.7,12.99998298828125Z",fill:"currentColor",fillOpacity:1})))))};var xa,Oa;function wa(){return wa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wa.apply(this,arguments)}const Da=function(e){return r.createElement("svg",wa({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-edit"},e),xa||(xa=r.createElement("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"})),Oa||(Oa=r.createElement("path",{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"})))};var Ra,La;function Pa(){return Pa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pa.apply(this,arguments)}const Ma=function(e){return r.createElement("svg",Pa({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",fill:"none",width:16,height:16,viewBox:"0 0 16 16"},e),Ra||(Ra=r.createElement("defs",null,r.createElement("clipPath",{id:"master_svg0_1_10512"},r.createElement("rect",{x:0,y:0,width:16,height:16,rx:0})))),La||(La=r.createElement("g",{clipPath:"url(#master_svg0_1_10512)"},r.createElement("g",null,r.createElement("ellipse",{cx:5.333170592784882,cy:8.000040709972382,rx:.6666666865348816,ry:.6666666865348816,fill:"#DADDEA",fillOpacity:1}),r.createElement("ellipse",{cx:5.333170592784882,cy:8.000040709972382,rx:.6666666865348816,ry:.6666666865348816,fillOpacity:0,strokeOpacity:1,stroke:"currentColor",fill:"none",strokeWidth:1.399999976158142,strokeLinecap:"round",strokeLinejoin:"round"})),r.createElement("g",null,r.createElement("ellipse",{cx:10.666666686534882,cy:8.000040709972382,rx:.6666666865348816,ry:.6666666865348816,fill:"currentColor",fillOpacity:1}),r.createElement("ellipse",{cx:10.666666686534882,cy:8.000040709972382,rx:.6666666865348816,ry:.6666666865348816,fillOpacity:0,strokeOpacity:1,stroke:"currentColor",fill:"none",strokeWidth:1.399999976158142,strokeLinecap:"round",strokeLinejoin:"round"})),r.createElement("g",null,r.createElement("ellipse",{cx:5.333170592784882,cy:3.3332926630973816,rx:.6666666865348816,ry:.6666666865348816,fill:"currentColor",fillOpacity:1}),r.createElement("ellipse",{cx:5.333170592784882,cy:3.3332926630973816,rx:.6666666865348816,ry:.6666666865348816,fillOpacity:0,strokeOpacity:1,stroke:"currentColor",fill:"none",strokeWidth:1.399999976158142,strokeLinecap:"round",strokeLinejoin:"round"})),r.createElement("g",null,r.createElement("ellipse",{cx:10.666666686534882,cy:3.3332926630973816,rx:.6666666865348816,ry:.6666666865348816,fill:"currentColor",fillOpacity:1}),r.createElement("ellipse",{cx:10.666666686534882,cy:3.3332926630973816,rx:.6666666865348816,ry:.6666666865348816,fillOpacity:0,strokeOpacity:1,stroke:"currentColor",fill:"none",strokeWidth:1.399999976158142,strokeLinecap:"round",strokeLinejoin:"round"})),r.createElement("g",null,r.createElement("ellipse",{cx:5.333170592784882,cy:12.666666686534882,rx:.6666666865348816,ry:.6666666865348816,fill:"currentColor",fillOpacity:1}),r.createElement("ellipse",{cx:5.333170592784882,cy:12.666666686534882,rx:.6666666865348816,ry:.6666666865348816,fillOpacity:0,strokeOpacity:1,stroke:"currentColor",fill:"none",strokeWidth:1.399999976158142,strokeLinecap:"round",strokeLinejoin:"round"})),r.createElement("g",null,r.createElement("ellipse",{cx:10.666666686534882,cy:12.666666686534882,rx:.6666666865348816,ry:.6666666865348816,fill:"currentColor",fillOpacity:1}),r.createElement("ellipse",{cx:10.666666686534882,cy:12.666666686534882,rx:.6666666865348816,ry:.6666666865348816,fillOpacity:0,strokeOpacity:1,stroke:"currentColor",fill:"none",strokeWidth:1.399999976158142,strokeLinecap:"round",strokeLinejoin:"round"})))))};var Ba,Fa;function Ua(){return Ua=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ua.apply(this,arguments)}const Ha=function(e){return r.createElement("svg",Ua({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",fill:"none",width:16,height:16,viewBox:"0 0 16 16"},e),Ba||(Ba=r.createElement("defs",null,r.createElement("clipPath",{id:"master_svg0_376_0356"},r.createElement("rect",{x:0,y:0,width:16,height:16,rx:0})))),Fa||(Fa=r.createElement("g",{clipPath:"url(#master_svg0_376_0356)"},r.createElement("g",null,r.createElement("ellipse",{cx:8,cy:8,rx:7,ry:7,fillOpacity:0,strokeOpacity:1,stroke:"currentColor",fill:"none",strokeWidth:1.2000000476837158,strokeLinecap:"ROUND",strokeLinejoin:"round"})),r.createElement("g",{transform:"matrix(0,1,-1,0,11.800000190734863,-2.8000001907348633)"},r.createElement("line",{x1:7.300000190734863,y1:3.899999976158142,x2:14.300000190734863,y2:3.899999976158142,fillOpacity:0,strokeOpacity:1,stroke:"currentColor",fill:"none",strokeWidth:1.2000000476837158,strokeLinecap:"ROUND",strokeLinejoin:"round"})),r.createElement("g",null,r.createElement("line",{x1:4.5,y1:7.899999976158142,x2:11.5,y2:7.899999976158142,fillOpacity:0,strokeOpacity:1,stroke:"currentColor",fill:"none",strokeWidth:1.2000000476837158,strokeLinecap:"ROUND",strokeLinejoin:"round"})))))};var ja,Ga;function Qa(){return Qa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qa.apply(this,arguments)}const za=function(e){return r.createElement("svg",Qa({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-copy"},e),ja||(ja=r.createElement("rect",{x:9,y:9,width:13,height:13,rx:2,ry:2})),Ga||(Ga=r.createElement("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})))};var Wa,Ya;function Va(){return Va=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Va.apply(this,arguments)}const qa=function(e){return r.createElement("svg",Va({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-rotate-cw"},e),Wa||(Wa=r.createElement("polyline",{points:"23 4 23 10 17 10"})),Ya||(Ya=r.createElement("path",{d:"M20.49 15a9 9 0 1 1-2.12-9.36L23 10"})))};var Ka,Xa;function $a(){return $a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$a.apply(this,arguments)}const Ja=function(e){return r.createElement("svg",$a({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",fill:"none",width:20,height:20,viewBox:"0 0 20 20"},e),Ka||(Ka=r.createElement("defs",null,r.createElement("clipPath",{id:"master_svg0_376_0436"},r.createElement("rect",{x:0,y:0,width:20,height:20,rx:4})))),Xa||(Xa=r.createElement("g",{clipPath:"url(#master_svg0_376_0436)"},r.createElement("rect",{x:0,y:0,width:20,height:20,rx:4,fill:"#38C120",fillOpacity:1}),r.createElement("g",{transform:"matrix(0.7071067690849304,0.7071067690849304,-0.7071067690849304,0.7071067690849304,5.3608796171611175,-6.942307872348465)"},r.createElement("g",null,r.createElement("rect",{x:16.060546875,y:3,width:2.000000238418579,height:10,rx:1.0000001192092896,fill:"#FFFFFF",fillOpacity:1})),r.createElement("g",{transform:"matrix(0,0.9999999403953552,-0.9999999403953552,0,29.06054574251175,-7.060545321670389)"},r.createElement("rect",{x:18.060546398162842,y:11,width:2,height:7,rx:1,fill:"#FFFFFF",fillOpacity:1}))),r.createElement("rect",{x:.5,y:.5,width:19,height:19,rx:3.5,fillOpacity:0,strokeOpacity:1,stroke:"#38C120",fill:"none",strokeWidth:1}))))};var Za,es;function ts(){return ts=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ts.apply(this,arguments)}const ns=function(e){return r.createElement("svg",ts({className:"animate-spin -ml-1 mr-3 h-5 w-5 text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),Za||(Za=r.createElement("circle",{opacity:.25,cx:12,cy:12,r:10,stroke:"currentColor",strokeWidth:4})),es||(es=r.createElement("path",{opacity:.75,fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})))};var rs,os;function is(){return is=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},is.apply(this,arguments)}const as=function(e){return r.createElement("svg",is({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",fill:"none",width:16,height:16,viewBox:"0 0 16 16"},e),rs||(rs=r.createElement("defs",null,r.createElement("clipPath",{id:"master_svg0_301_2073"},r.createElement("rect",{x:0,y:0,width:16,height:16,rx:0})))),os||(os=r.createElement("g",{clipPath:"url(#master_svg0_301_2073)"},r.createElement("g",null,r.createElement("path",{d:"M1.3,12L1.3,4Q1.3,2.881624,2.0908117,2.0908117Q2.8816230000000003,1.3,4,1.3L12,1.3Q13.1184,1.3,13.9092,2.0908117Q14.7,2.8816230000000003,14.7,4L14.7,12Q14.7,13.1184,13.9092,13.9092Q13.1184,14.7,12,14.7L4,14.7Q2.8816230000000003,14.7,2.0908117,13.9092Q1.3,13.1184,1.3,12ZM2.7,12Q2.7,12.5385,3.0807599999999997,12.9192Q3.46152,13.3,4,13.3L12,13.3Q12.5385,13.3,12.9192,12.9192Q13.3,12.5385,13.3,12L13.3,4Q13.3,3.46152,12.9192,3.0807599999999997Q12.5385,2.7,12,2.7L4,2.7Q3.46152,2.7,3.0807599999999997,3.0807599999999997Q2.7,3.46152,2.7,4L2.7,12Z",fill:"#3D4150",fillOpacity:1})),r.createElement("g",null,r.createElement("ellipse",{cx:5.6669921875,cy:5.66668701171875,rx:1,ry:1,fillOpacity:0,strokeOpacity:1,stroke:"#3D4150",fill:"none",strokeWidth:1.399999976158142,strokeLinecap:"ROUND",strokeLinejoin:"round"})),r.createElement("g",null,r.createElement("path",{d:"M10.1713678125,6.17171201171875L2.8380328125,13.50504701171875Q2.7395768125,13.60350701171875,2.6862918125,13.73214701171875Q2.6330078125,13.860787011718749,2.6330078125,14.00001701171875Q2.6330078125,14.016847011718749,2.6338158125,14.033647011718749Q2.6400858124999997,14.16400701171875,2.6929148124999998,14.28335701171875Q2.7457438124999998,14.40270701171875,2.8380328125,14.49499701171875Q2.9364898125,14.59344701171875,3.0651288125000002,14.64673701171875Q3.1937688125,14.70001701171875,3.3330078125,14.70001701171875Q3.4722468125,14.70001701171875,3.6008858125,14.64673701171875Q3.7295258125,14.593457011718751,3.8279828125,14.49499701171875L3.8284688125,14.49450701171875L10.6663378125,7.65663601171875L13.5047078125,10.49499701171875Q13.6031078125,10.59344701171875,13.7318078125,10.64673701171875Q13.8604078125,10.70001701171875,13.9997078125,10.70001701171875Q14.1389078125,10.70001701171875,14.2675078125,10.64673701171875Q14.3962078125,10.59344701171875,14.4946078125,10.49499701171875Q14.5931078125,10.396537011718749,14.6464078125,10.26789701171875Q14.6997078125,10.139257011718751,14.6997078125,10.00001701171875Q14.6997078125,9.86077701171875,14.6464078125,9.73214701171875Q14.5931078125,9.60350701171875,14.4946078125,9.50504701171875L11.1613178125,6.17171201171875Q11.062857812499999,6.07325601171875,10.9342178125,6.01997101171875Q10.805577812500001,5.96668701171875,10.6663378125,5.96668701171875Q10.5270978125,5.96668701171875,10.3984678125,6.01997101171875Q10.2698278125,6.07325601171875,10.1713678125,6.17171201171875Z",fillRule:"evenodd",fill:"#3D4150",fillOpacity:1})))))};var ss,ls;function cs(){return cs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cs.apply(this,arguments)}const us=function(e){return r.createElement("svg",cs({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",fill:"none",width:16,height:16,viewBox:"0 0 16 16"},e),ss||(ss=r.createElement("defs",null,r.createElement("clipPath",{id:"master_svg0_507_3055"},r.createElement("rect",{x:0,y:0,width:16,height:16,rx:0})))),ls||(ls=r.createElement("g",{clipPath:"url(#master_svg0_507_3055)"},r.createElement("g",null,r.createElement("ellipse",{cx:8.000650882720947,cy:8.000040531158447,rx:6.666666507720947,ry:6.666666507720947,fillOpacity:0,strokeOpacity:1,stroke:"currentColor",fill:"none",strokeWidth:1.2000000476837158,strokeLinecap:"ROUND",strokeLinejoin:"round"})),r.createElement("g",{transform:"matrix(0.5000743865966797,0.8659824728965759,-0.8659824728965759,0.5000743865966797,9.387977369733562,-4.92881472047884)"},r.createElement("line",{x1:8.962890625,y1:5.066625952720642,x2:16.6150860786438,y2:5.066625952720642,fillOpacity:0,strokeOpacity:1,stroke:"currentColor",fill:"none",strokeWidth:1.2000000476837158,strokeLinecap:"ROUND",strokeLinejoin:"round"})),r.createElement("g",null,r.createElement("line",{x1:6.4609375,y1:5.399999976158142,x2:14.114270210266113,y2:5.399999976158142,fillOpacity:0,strokeOpacity:1,stroke:"currentColor",fill:"none",strokeWidth:1.2000000476837158,strokeLinecap:"ROUND",strokeLinejoin:"round"})),r.createElement("g",{transform:"matrix(0.5000743865966797,-0.8659824728965759,0.8659824728965759,0.5000743865966797,-4.468047098634997,8.927340375375934)"},r.createElement("line",{x1:5.498046875,y1:7.733496069908142,x2:13.150242328643799,y2:7.733496069908142,fillOpacity:0,strokeOpacity:1,stroke:"currentColor",fill:"none",strokeWidth:1.2000000476837158,strokeLinecap:"ROUND",strokeLinejoin:"round"})),r.createElement("g",{transform:"matrix(-0.5000743865966797,-0.8659824728965759,0.8659824728965759,-0.5000743865966797,1.6076667389352224,21.59484307828825)"},r.createElement("line",{x1:7.037109375,y1:9.733373999595642,x2:14.689304828643799,y2:9.733373999595642,fillOpacity:0,strokeOpacity:1,stroke:"currentColor",fill:"none",strokeWidth:1.2000000476837158,strokeLinecap:"ROUND",strokeLinejoin:"round"})),r.createElement("g",{transform:"matrix(-1,1.2246468525851679e-16,-1.2246468525851679e-16,-1,19.078125,20)"},r.createElement("line",{x1:9.5390625,y1:9.399999976158142,x2:17.192395210266113,y2:9.399999976158142,fillOpacity:0,strokeOpacity:1,stroke:"currentColor",fill:"none",strokeWidth:1.2000000476837158,strokeLinecap:"ROUND",strokeLinejoin:"round"})),r.createElement("g",{transform:"matrix(-0.5000743865966797,0.8659824728965759,-0.8659824728965759,-0.5000743865966797,22.392768903257092,2.405818807077594)"},r.createElement("line",{x1:10.501953125,y1:7.066503882408142,x2:18.1541485786438,y2:7.066503882408142,fillOpacity:0,strokeOpacity:1,stroke:"currentColor",fill:"none",strokeWidth:1.2000000476837158,strokeLinecap:"ROUND",strokeLinejoin:"round"})))))};var ds,fs;function ps(){return ps=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ps.apply(this,arguments)}const hs=function(e){return r.createElement("svg",ps({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",fill:"none",width:10,height:10,viewBox:"0 0 10 10"},e),ds||(ds=r.createElement("defs",null,r.createElement("clipPath",{id:"master_svg0_507_13015"},r.createElement("rect",{x:0,y:0,width:10,height:10,rx:0})))),fs||(fs=r.createElement("g",{clipPath:"url(#master_svg0_507_13015)"},r.createElement("g",null,r.createElement("path",{d:"M6.623480023841858,6.691350023841858Q5.774510023841858,7.516570023841858,4.583720023841858,7.516570023841858Q3.368700023841858,7.516570023841858,2.5095400238418577,6.6574200238418575Q1.6503910238418578,5.798260023841858,1.6503910238418578,4.583240023841858Q1.6503910238418578,3.3682100238418577,2.5095400238418577,2.509060023841858Q3.368700023841858,1.6499020238418578,4.583720023841858,1.6499020238418578Q5.798750023841858,1.6499020238418578,6.657900023841858,2.509060023841858Q7.517060023841858,3.3682100238418577,7.517060023841858,4.583240023841858Q7.517060023841858,5.760310023841858,6.710740023841858,6.603400023841858Q6.686280023841858,6.621380023841858,6.6648100238418575,6.642840023841858Q6.642210023841858,6.665450023841858,6.623480023841858,6.691350023841858ZM7.502660023841858,6.915000023841858Q8.317060023841858,5.9177900238418575,8.317060023841858,4.583240023841858Q8.317060023841858,3.036840023841858,7.223590023841858,1.9433700238418579Q6.130120023841858,0.8499023914418579,4.583720023841858,0.849902361641858Q3.037330023841858,0.849902510641858,1.943860023841858,1.9433700238418579Q0.8503906728418579,3.036840023841858,0.850390642841858,4.583240023841858Q0.850390791841858,6.129630023841858,1.943860023841858,7.223100023841858Q3.037330023841858,8.316570023841859,4.583720023841858,8.316570023841859Q5.934080023841858,8.316570023841859,6.939060023841858,7.482770023841858L8.477310023841858,9.021030023841858Q8.505170023841858,9.048880023841859,8.537930023841858,9.070770023841858Q8.570680023841858,9.092660023841859,8.607080023841858,9.107730023841858Q8.643480023841857,9.122810023841858,8.682120023841858,9.130500023841858Q8.720760023841859,9.138180023841858,8.760160023841859,9.138180023841858Q8.799550023841858,9.138180023841858,8.838190023841857,9.130500023841858Q8.876830023841858,9.122810023841858,8.913230023841859,9.107730023841858Q8.949630023841857,9.092660023841859,8.982380023841857,9.070770023841858Q9.015140023841857,9.048880023841859,9.043000023841858,9.021030023841858Q9.070850023841858,8.993170023841857,9.092740023841857,8.960410023841858Q9.114630023841858,8.927650023841858,9.129710023841858,8.891260023841857Q9.144780023841857,8.854860023841859,9.152470023841857,8.816220023841858Q9.160150023841858,8.777580023841857,9.160160023841858,8.738180023841858Q9.160150023841858,8.698790023841859,9.152470023841857,8.660150023841858Q9.144780023841857,8.621510023841857,9.129710023841858,8.585110023841857Q9.114630023841858,8.548710023841858,9.092740023841857,8.515950023841857Q9.070850023841858,8.483200023841858,9.043000023841858,8.455340023841858L7.502660023841858,6.915000023841858ZM4.966410023841858,4.199900023841858L4.966410023841858,3.333150023841858Q4.966410023841858,3.293760023841858,4.958720023841858,3.255120023841858Q4.951030023841858,3.216480023841858,4.935960023841858,3.180080023841858Q4.920880023841858,3.143680023841858,4.898990023841858,3.110930023841858Q4.877110023841858,3.078170023841858,4.849250023841858,3.050310023841858Q4.821390023841857,3.022450023841858,4.788630023841858,3.000570023841858Q4.755880023841858,2.978680023841858,4.719480023841857,2.963600023841858Q4.683080023841858,2.9485300238418577,4.644440023841858,2.940840023841858Q4.605800023841858,2.9331500238418577,4.566410023841858,2.9331500238418577Q4.527010023841858,2.9331500238418577,4.488370023841858,2.940840023841858Q4.449730023841858,2.9485300238418577,4.4133300238418585,2.963600023841858Q4.376930023841858,2.978680023841858,4.344180023841858,3.000570023841858Q4.311420023841858,3.022450023841858,4.283560023841858,3.050310023841858Q4.255710023841858,3.078170023841858,4.233820023841858,3.110930023841858Q4.211930023841858,3.143680023841858,4.196850023841858,3.180080023841858Q4.181780023841858,3.216480023841858,4.174090023841858,3.255120023841858Q4.166410023841857,3.293760023841858,4.166410023841857,3.333150023841858L4.166410023841857,4.199900023841858L3.3343800238418577,4.199900023841858Q3.294980023841858,4.199900023841858,3.256340023841858,4.207590023841858Q3.217700023841858,4.215270023841859,3.181300023841858,4.230350023841858Q3.144900023841858,4.245430023841858,3.112150023841858,4.267310023841858Q3.079390023841858,4.2892000238418575,3.051530023841858,4.317060023841858Q3.023670023841858,4.344920023841858,3.001790023841858,4.377670023841858Q2.979900023841858,4.410430023841858,2.964820023841858,4.4468300238418585Q2.9497500238418577,4.483230023841858,2.942060023841858,4.521870023841858Q2.9343700238418577,4.560510023841858,2.9343700238418577,4.599900023841858Q2.9343700238418577,4.639300023841858,2.942060023841858,4.677940023841858Q2.9497500238418577,4.716580023841858,2.964820023841858,4.752980023841857Q2.979900023841858,4.789370023841858,3.001790023841858,4.822130023841858Q3.023670023841858,4.8548900238418575,3.051530023841858,4.882740023841858Q3.079390023841858,4.910600023841858,3.112150023841858,4.932490023841858Q3.144900023841858,4.954380023841858,3.181300023841858,4.9694500238418575Q3.217700023841858,4.984530023841858,3.256340023841858,4.992220023841858Q3.294980023841858,4.999900023841858,3.3343800238418577,4.999900023841858L4.166410023841857,4.999900023841858L4.166410023841857,5.833150023841858Q4.166410023841857,5.872550023841858,4.174090023841858,5.911190023841858Q4.181780023841858,5.949830023841858,4.196850023841858,5.986230023841858Q4.211930023841858,6.022620023841858,4.233820023841858,6.055380023841858Q4.255710023841858,6.0881400238418575,4.283560023841858,6.116000023841858Q4.311420023841858,6.143850023841858,4.344180023841858,6.165740023841858Q4.376930023841858,6.187630023841858,4.4133300238418585,6.202710023841858Q4.449730023841858,6.217780023841858,4.488370023841858,6.225470023841858Q4.527010023841858,6.233150023841858,4.566410023841858,6.233150023841858Q4.605800023841858,6.233150023841858,4.644440023841858,6.225470023841858Q4.683080023841858,6.217780023841858,4.719480023841857,6.202710023841858Q4.755880023841858,6.187630023841858,4.788630023841858,6.165740023841858Q4.821390023841857,6.143850023841858,4.849250023841858,6.116000023841858Q4.877110023841858,6.0881400238418575,4.898990023841858,6.055380023841858Q4.920880023841858,6.022620023841858,4.935960023841858,5.986230023841858Q4.951030023841858,5.949830023841858,4.958720023841858,5.911190023841858Q4.966410023841858,5.872550023841858,4.966410023841858,5.833150023841858L4.966410023841858,4.999900023841858L5.834380023841858,4.999900023841858Q5.873770023841858,4.999900023841858,5.912410023841858,4.992220023841858Q5.951050023841858,4.984530023841858,5.987450023841858,4.9694500238418575Q6.023850023841858,4.954380023841858,6.056600023841858,4.932490023841858Q6.0893600238418575,4.910600023841858,6.117220023841858,4.882740023841858Q6.145070023841858,4.8548900238418575,6.166960023841858,4.822130023841858Q6.188850023841858,4.789370023841858,6.203930023841858,4.752980023841857Q6.219000023841858,4.716580023841858,6.226690023841858,4.677940023841858Q6.234380023841858,4.639300023841858,6.234380023841858,4.599900023841858Q6.234380023841858,4.560510023841858,6.226690023841858,4.521870023841858Q6.219000023841858,4.483230023841858,6.203930023841858,4.4468300238418585Q6.188850023841858,4.410430023841858,6.166960023841858,4.377670023841858Q6.145070023841858,4.344920023841858,6.117220023841858,4.317060023841858Q6.0893600238418575,4.2892000238418575,6.056600023841858,4.267310023841858Q6.023850023841858,4.245430023841858,5.987450023841858,4.230350023841858Q5.951050023841858,4.215270023841859,5.912410023841858,4.207590023841858Q5.873770023841858,4.199900023841858,5.834380023841858,4.199900023841858L4.966410023841858,4.199900023841858Z",fillRule:"evenodd",fill:"currentColor",fillOpacity:.699999988079071})))))};var ms,gs;function Es(){return Es=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Es.apply(this,arguments)}const vs=function(e){return r.createElement("svg",Es({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",fill:"none",width:16,height:16,viewBox:"0 0 16 16"},e),ms||(ms=r.createElement("defs",null,r.createElement("clipPath",{id:"master_svg0_507_09273"},r.createElement("rect",{x:0,y:0,width:16,height:16,rx:0})))),gs||(gs=r.createElement("g",{clipPath:"url(#master_svg0_507_09273)"},r.createElement("g",null,r.createElement("path",{d:"M12.350828125,14.678927734375L3.6508281250000003,14.678927734375C3.000698125,14.677827734375,2.4739291249999997,14.151027734375,2.472828125,13.500927734375C2.472555125,13.445427734375,2.476231125,13.389927734375,2.483828125,13.334927734375L2.483828125,13.316927734375L3.183828125,8.864927734375L3.101828125,8.864927734375C2.460114125,8.861287734375,1.937897525,8.347497734375,1.923828125,7.705927734375L1.923828125,6.583927734375C1.926938325,5.941997734375,2.441033125,5.419477734375,3.082828125,5.405927734375L5.989828125,5.405927734375L5.989828125,3.325927734375C5.996608125,2.236194734375,6.869338125,1.349726434375,7.958828125,1.325927734375L7.992828125,1.325927734375C9.083648125,1.333812104375,9.970118125,2.208316734375,9.992828125,3.298927734375L9.992828125,5.411927734375L12.878828125,5.411927734375C13.521228125,5.413977734375,14.044328125,5.928677734375,14.056828125,6.570927734375L14.056828125,7.690927734375C14.055928125,8.333307734375001,13.542028125,8.857337734375001,12.899828125,8.870927734375L12.799828125,8.870927734375L13.499828125,13.320927734375C13.596728125,13.955827734375,13.170728125,14.552427734375,12.538828125,14.666927734375L12.520828125,14.666927734375C12.465728125,14.676727734375,12.409828125,14.681727734375,12.353828125,14.681927734375L12.350828125,14.678927734375ZM6.524828125,10.078927734375L6.575828125,10.078927734375L6.593828125,10.091927734375C6.976428125,10.181407734375,7.225378125,10.550687734375,7.164828125,10.938927734375L6.790828125,13.299927734375L12.113828125,13.299927734375L11.413828125,8.865927734375L4.585828125,8.865927734375L3.8858281249999997,13.299927734375L5.2708281249999995,13.299927734375L5.680828125,10.699927734375C5.737668125,10.335067734375,6.052568125,10.066487734375,6.421828125,10.067927734375C6.456338125,10.069067734375,6.490738125,10.072407734375,6.524828125,10.077927734375L6.524828125,10.078927734375ZM3.310828125,7.486927734375L12.690828125,7.486927734375L12.690828125,6.786927734375L10.004828125,6.786927734375L10.004828125,6.802927734375L5.998828125,6.802927734375L5.998828125,6.786927734375L3.310828125,6.786927734375L3.310828125,7.486927734375ZM7.375828125,3.315927734375L7.375828125,5.406927734375L8.626828125,5.406927734375L8.626828125,3.326927734375C8.628138125,2.990867734375,8.362668124999999,2.714327734375,8.026828125,2.701927734375L8.004828125,2.701927734375C7.662778125,2.700757734375,7.382918125,2.9739577343750003,7.375828125,3.315927734375Z",fill:"currentColor",fillOpacity:1})))))};var ys,bs;function Ts(){return Ts=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ts.apply(this,arguments)}const _s=function(e){return r.createElement("svg",Ts({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",fill:"none",width:20,height:20,viewBox:"0 0 20 20"},e),ys||(ys=r.createElement("defs",null,r.createElement("clipPath",{id:"master_svg0_301_654"},r.createElement("rect",{x:0,y:0,width:20,height:20,rx:0})))),bs||(bs=r.createElement("g",{clipPath:"url(#master_svg0_301_654)"},r.createElement("g",null,r.createElement("path",{d:"M3.2,15.83333L3.2,12.5Q3.2,12.431056,3.18655,12.363437Q3.173099,12.295818,3.146716,12.232122Q3.120332,12.168426,3.082029,12.111101Q3.0437250000000002,12.053776,2.994975,12.005025Q2.946224,11.956275,2.888899,11.917971Q2.831574,11.879668,2.767878,11.853284Q2.704182,11.826901,2.6365629999999998,11.81345Q2.568944,11.8,2.5,11.8Q2.431056,11.8,2.3634370000000002,11.81345Q2.295818,11.826901,2.232122,11.853284Q2.168426,11.879668,2.111101,11.917971Q2.053776,11.956275,2.005025,12.005025Q1.956275,12.053776,1.917971,12.111101Q1.8796680000000001,12.168426,1.853284,12.232122Q1.8269009999999999,12.295818,1.81345,12.363437Q1.8,12.431056,1.8,12.5L1.8,15.83333Q1.8,16.81364,2.49318084,17.50682Q3.1863609999999998,18.2,4.16667,18.2L15.8333,18.2Q16.8136,18.2,17.5068,17.50682Q18.2,16.81364,18.2,15.83333L18.2,12.5Q18.2,12.431056,18.186500000000002,12.363437Q18.173099999999998,12.295818,18.1467,12.232122Q18.1203,12.168426,18.082,12.111101Q18.0437,12.053776,17.994999999999997,12.005025Q17.946199999999997,11.956275,17.8889,11.917971Q17.8316,11.879668,17.767899999999997,11.853284Q17.7042,11.826901,17.6366,11.81345Q17.5689,11.8,17.5,11.8Q17.4311,11.8,17.3634,11.81345Q17.2958,11.826901,17.232100000000003,11.853284Q17.1684,11.879668,17.1111,11.917971Q17.053800000000003,11.956275,17.005000000000003,12.005025Q16.9563,12.053776,16.918,12.111101Q16.8797,12.168426,16.8533,12.232122Q16.826900000000002,12.295818,16.8134,12.363437Q16.8,12.431056,16.8,12.5L16.8,15.83333Q16.8,16.23374,16.5169,16.51687Q16.2337,16.8,15.8333,16.8L4.16667,16.8Q3.76626,16.8,3.48313,16.51687Q3.2,16.23374,3.2,15.83333Z",fillRule:"evenodd",fill:"#3D4150",fillOpacity:1})),r.createElement("g",null,r.createElement("path",{d:"M5.339300375,6.1714L5.339009375,6.17169Q5.240553375,6.27015,5.187268375,6.39879Q5.133984375,6.52743,5.133984375,6.66667Q5.133984375,6.68349,5.134792375,6.70029Q5.141062375,6.83066,5.193891375,6.95001Q5.246720375,7.06935,5.339009375,7.16164Q5.437466375,7.2601,5.566106375,7.31338Q5.694745375,7.36667,5.833984375,7.36667Q5.973223375,7.36667,6.101862375,7.31338Q6.230502375,7.2601,6.328959375,7.16164L6.328989375,7.16161L10.000654375,3.489949L13.672344375,7.16164Q13.770804375,7.2601,13.899444375,7.31338Q14.028084375,7.36667,14.167314375,7.36667Q14.306554375,7.36667,14.435194375,7.31338Q14.563834375,7.2601,14.662294375,7.16164Q14.760754375,7.06319,14.814034375,6.93455Q14.867314375,6.8059,14.867314375,6.66667Q14.867314375,6.52743,14.814034375,6.39879Q14.760754375,6.27015,14.662294375,6.17169L10.495624375,2.005025Q10.397174374999999,1.906569,10.268534375,1.853284Q10.139884375000001,1.8,10.000654375,1.8Q9.861414374999999,1.8,9.732774375,1.853284Q9.604134375000001,1.906569,9.505674375,2.005025L5.339300375,6.1714Z",fillRule:"evenodd",fill:"#3D4150",fillOpacity:1})),r.createElement("g",{transform:"matrix(0,1,-1,0,11.666015625,-6.666015625)"},r.createElement("line",{x1:9.166015625,y1:1.800000011920929,x2:19.166015625,y2:1.800000011920929,fillOpacity:0,strokeOpacity:1,stroke:"#3D4150",fill:"none",strokeWidth:1.399999976158142,strokeLinecap:"ROUND",strokeLinejoin:"round"})))))};let As=function(e){return e.USER="user",e.ASSISTANT="assistant",e}({});function Ss(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,p(e,t)}function Cs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ks(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cs(Object(n),!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ns(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Is="function"==typeof Symbol&&Symbol.observable||"@@observable",xs=function(){return Math.random().toString(36).substring(7).split("").join(".")},Os={INIT:"@@redux/INIT"+xs(),REPLACE:"@@redux/REPLACE"+xs(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+xs()}};function ws(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Ds(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(Ns(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(Ns(1));return n(Ds)(e,t)}if("function"!=typeof e)throw new Error(Ns(2));var o=e,i=t,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function u(){if(l)throw new Error(Ns(3));return i}function d(e){if("function"!=typeof e)throw new Error(Ns(4));if(l)throw new Error(Ns(5));var t=!0;return c(),s.push(e),function(){if(t){if(l)throw new Error(Ns(6));t=!1,c();var n=s.indexOf(e);s.splice(n,1),a=null}}}function f(e){if(!ws(e))throw new Error(Ns(7));if(void 0===e.type)throw new Error(Ns(8));if(l)throw new Error(Ns(9));try{l=!0,i=o(i,e)}finally{l=!1}for(var t=a=s,n=0;n<t.length;n++){(0,t[n])()}return e}return f({type:Os.INIT}),(r={dispatch:f,subscribe:d,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw new Error(Ns(10));o=e,f({type:Os.REPLACE})}})[Is]=function(){var e,t=d;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(Ns(11));function n(){e.next&&e.next(u())}return n(),{unsubscribe:t(n)}}})[Is]=function(){return this},e},r}function Rs(e,t){return function(){return t(e.apply(this,arguments))}}function Ls(e,t){if("function"==typeof e)return Rs(e,t);if("object"!=typeof e||null===e)throw new Error(Ns(16));var n={};for(var r in e){var o=e[r];"function"==typeof o&&(n[r]=Rs(o,t))}return n}function Ps(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}var Ms=r.createContext(null);var Bs=function(e){e()},Fs=function(){return Bs};var Us={notify:function(){},get:function(){return[]}};function Hs(e,t){var n,r=Us;function o(){a.onStateChange&&a.onStateChange()}function i(){n||(n=t?t.addNestedSub(o):e.subscribe(o),r=function(){var e=Fs(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}var a={addNestedSub:function(e){return i(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(n)},trySubscribe:i,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=Us)},getListeners:function(){return r}};return a}var js="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect;const Gs=function(e){var t=e.store,n=e.context,o=e.children,i=(0,r.useMemo)((function(){var e=Hs(t);return{store:t,subscription:e}}),[t]),a=(0,r.useMemo)((function(){return t.getState()}),[t]);js((function(){var e=i.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),a!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[i,a]);var s=n||Ms;return r.createElement(s.Provider,{value:i},o)};function Qs(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var zs=o(679),Ws=o.n(zs),Ys=o(973),Vs=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],qs=["reactReduxForwardedRef"],Ks=[],Xs=[null,null];function $s(e,t){var n=e[1];return[t.payload,n+1]}function Js(e,t,n){js((function(){return e.apply(void 0,t)}),n)}function Zs(e,t,n,r,o,i,a){e.current=r,t.current=o,n.current=!1,i.current&&(i.current=null,a())}function el(e,t,n,r,o,i,a,s,l,c){if(e){var u=!1,d=null,f=function(){if(!u){var e,n,f=t.getState();try{e=r(f,o.current)}catch(e){n=e,d=e}n||(d=null),e===i.current?a.current||l():(i.current=e,s.current=e,a.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=f,n.trySubscribe(),f();return function(){if(u=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}}var tl=function(){return[null,0]};function nl(e,t){void 0===t&&(t={});var n=t,o=n.getDisplayName,i=void 0===o?function(e){return"ConnectAdvanced("+e+")"}:o,a=n.methodName,s=void 0===a?"connectAdvanced":a,l=n.renderCountProp,c=void 0===l?void 0:l,u=n.shouldHandleStateChanges,d=void 0===u||u,f=n.storeKey,p=void 0===f?"store":f,h=(n.withRef,n.forwardRef),m=void 0!==h&&h,g=n.context,E=void 0===g?Ms:g,v=Qs(n,Vs),y=E;return function(t){var n=t.displayName||t.name||"Component",o=i(n),a=tn({},v,{getDisplayName:i,methodName:s,renderCountProp:c,shouldHandleStateChanges:d,storeKey:p,displayName:o,wrappedComponentName:n,WrappedComponent:t}),l=v.pure;var u=l?r.useMemo:function(e){return e()};function f(n){var o=(0,r.useMemo)((function(){var e=n.reactReduxForwardedRef,t=Qs(n,qs);return[n.context,e,t]}),[n]),i=o[0],s=o[1],l=o[2],c=(0,r.useMemo)((function(){return i&&i.Consumer&&(0,Ys.isContextConsumer)(r.createElement(i.Consumer,null))?i:y}),[i,y]),f=(0,r.useContext)(c),p=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(f)&&Boolean(f.store);var h=p?n.store:f.store,m=(0,r.useMemo)((function(){return function(t){return e(t.dispatch,a)}(h)}),[h]),g=(0,r.useMemo)((function(){if(!d)return Xs;var e=Hs(h,p?null:f.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[h,p,f]),E=g[0],v=g[1],b=(0,r.useMemo)((function(){return p?f:tn({},f,{subscription:E})}),[p,f,E]),T=(0,r.useReducer)($s,Ks,tl),_=T[0][0],A=T[1];if(_&&_.error)throw _.error;var S=(0,r.useRef)(),C=(0,r.useRef)(l),k=(0,r.useRef)(),N=(0,r.useRef)(!1),I=u((function(){return k.current&&l===C.current?k.current:m(h.getState(),l)}),[h,_,l]);Js(Zs,[C,S,N,l,I,k,v]),Js(el,[d,h,E,m,C,S,N,k,v,A],[h,E,m]);var x=(0,r.useMemo)((function(){return r.createElement(t,tn({},I,{ref:s}))}),[s,t,I]);return(0,r.useMemo)((function(){return d?r.createElement(c.Provider,{value:b},x):x}),[c,x,b])}var h=l?r.memo(f):f;if(h.WrappedComponent=t,h.displayName=f.displayName=o,m){var g=r.forwardRef((function(e,t){return r.createElement(h,tn({},e,{reactReduxForwardedRef:t}))}));return g.displayName=o,g.WrappedComponent=t,Ws()(g,t)}return Ws()(h,t)}}function rl(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function ol(e,t){if(rl(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!Object.prototype.hasOwnProperty.call(t,n[o])||!rl(e[n[o]],t[n[o]]))return!1;return!0}function il(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function al(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function sl(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=al(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=al(o),o=r(t,n)),o},r}}const ll=[function(e){return"function"==typeof e?sl(e):void 0},function(e){return e?void 0:il((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?il((function(t){return function(e,t){var n={},r=function(r){var o=e[r];"function"==typeof o&&(n[r]=function(){return t(o.apply(void 0,arguments))})};for(var o in e)r(o);return n}(e,t)})):void 0}];const cl=[function(e){return"function"==typeof e?sl(e):void 0},function(e){return e?void 0:il((function(){return{}}))}];function ul(e,t,n){return tn({},n,e,t)}const dl=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,a=!1;return function(t,n,s){var l=e(t,n,s);return a?o&&i(l,r)||(r=l):(a=!0,r=l),r}}}(e):void 0},function(e){return e?void 0:function(){return ul}}];var fl=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function pl(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function hl(e,t,n,r,o){var i,a,s,l,c,u=o.areStatesEqual,d=o.areOwnPropsEqual,f=o.areStatePropsEqual,p=!1;function h(o,p){var h,m,g=!d(p,a),E=!u(o,i,p,a);return i=o,a=p,g&&E?(s=e(i,a),t.dependsOnOwnProps&&(l=t(r,a)),c=n(s,l,a)):g?(e.dependsOnOwnProps&&(s=e(i,a)),t.dependsOnOwnProps&&(l=t(r,a)),c=n(s,l,a)):E?(h=e(i,a),m=!f(h,s),s=h,m&&(c=n(s,l,a)),c):c}return function(o,u){return p?h(o,u):(s=e(i=o,a=u),l=t(r,a),c=n(s,l,a),p=!0,c)}}function ml(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,i=Qs(t,fl),a=n(e,i),s=r(e,i),l=o(e,i);return(i.pure?hl:pl)(a,s,l,e,i)}var gl=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function El(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function vl(e,t){return e===t}function yl(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?nl:n,o=t.mapStateToPropsFactories,i=void 0===o?cl:o,a=t.mapDispatchToPropsFactories,s=void 0===a?ll:a,l=t.mergePropsFactories,c=void 0===l?dl:l,u=t.selectorFactory,d=void 0===u?ml:u;return function(e,t,n,o){void 0===o&&(o={});var a=o,l=a.pure,u=void 0===l||l,f=a.areStatesEqual,p=void 0===f?vl:f,h=a.areOwnPropsEqual,m=void 0===h?ol:h,g=a.areStatePropsEqual,E=void 0===g?ol:g,v=a.areMergedPropsEqual,y=void 0===v?ol:v,b=Qs(a,gl),T=El(e,i,"mapStateToProps"),_=El(t,s,"mapDispatchToProps"),A=El(n,c,"mergeProps");return r(d,tn({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:T,initMapDispatchToProps:_,initMergeProps:A,pure:u,areStatesEqual:p,areOwnPropsEqual:m,areStatePropsEqual:E,areMergedPropsEqual:y},b))}}const bl=yl();var Tl;function _l(e,t){var n=(0,r.useState)((function(){return{inputs:t,result:e()}}))[0],o=(0,r.useRef)(!0),i=(0,r.useRef)(n),a=o.current||Boolean(t&&i.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,i.current.inputs))?i.current:{inputs:t,result:e()};return(0,r.useEffect)((function(){o.current=!1,i.current=a}),[a]),a.result}Tl=ln.unstable_batchedUpdates,Bs=Tl;var Al=_l,Sl=function(e,t){return _l((function(){return e}),t)},Cl="Invariant failed";var kl=function(e){var t=e.top,n=e.right,r=e.bottom,o=e.left;return{top:t,right:n,bottom:r,left:o,width:n-o,height:r-t,x:o,y:t,center:{x:(n+o)/2,y:(r+t)/2}}},Nl=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},Il=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},xl={top:0,right:0,bottom:0,left:0},Ol=function(e){var t=e.borderBox,n=e.margin,r=void 0===n?xl:n,o=e.border,i=void 0===o?xl:o,a=e.padding,s=void 0===a?xl:a,l=kl(Nl(t,r)),c=kl(Il(t,i)),u=kl(Il(c,s));return{marginBox:l,borderBox:kl(t),paddingBox:c,contentBox:u,margin:r,border:i,padding:s}},wl=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var n=Number(t);return isNaN(n)&&function(e,t){if(!e)throw new Error(Cl)}(!1),n},Dl=function(e,t){var n,r,o=e.borderBox,i=e.border,a=e.margin,s=e.padding,l=(r=t,{top:(n=o).top+r.y,left:n.left+r.x,bottom:n.bottom+r.y,right:n.right+r.x});return Ol({borderBox:l,border:i,margin:a,padding:s})},Rl=function(e,t){return void 0===t&&(t={x:window.pageXOffset,y:window.pageYOffset}),Dl(e,t)},Ll=function(e,t){var n={top:wl(t.marginTop),right:wl(t.marginRight),bottom:wl(t.marginBottom),left:wl(t.marginLeft)},r={top:wl(t.paddingTop),right:wl(t.paddingRight),bottom:wl(t.paddingBottom),left:wl(t.paddingLeft)},o={top:wl(t.borderTopWidth),right:wl(t.borderRightWidth),bottom:wl(t.borderBottomWidth),left:wl(t.borderLeftWidth)};return Ol({borderBox:e,margin:n,padding:r,border:o})},Pl=function(e){var t=e.getBoundingClientRect(),n=window.getComputedStyle(e);return Ll(t,n)},Ml=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Bl(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||Ml(r)&&Ml(o)))return!1;var r,o;return!0}const Fl=function(e,t){var n;void 0===t&&(t=Bl);var r,o=[],i=!1;return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return i&&n===this&&t(a,o)||(r=e.apply(this,a),i=!0,n=this,o=a),r}};const Ul=function(e){var t=[],n=null,r=function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];t=o,n||(n=requestAnimationFrame((function(){n=null,e.apply(void 0,t)})))};return r.cancel=function(){n&&(cancelAnimationFrame(n),n=null)},r};function Hl(e,t){}Hl.bind(null,"warn"),Hl.bind(null,"error");function jl(){}function Gl(e,t,n){var r=t.map((function(t){var r=function(e,t){return tn({},e,{},t)}(n,t.options);return e.addEventListener(t.eventName,t.fn,r),function(){e.removeEventListener(t.eventName,t.fn,r)}}));return function(){r.forEach((function(e){e()}))}}var Ql=!0,zl="Invariant failed";function Wl(e){this.message=e}function Yl(e,t){if(!e)throw new Wl(Ql?zl:zl+": "+(t||""))}Wl.prototype.toString=function(){return this.message};var Vl=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).callbacks=null,t.unbind=jl,t.onWindowError=function(e){var n=t.getCallbacks();n.isDragging()&&n.tryAbort(),e.error instanceof Wl&&e.preventDefault()},t.getCallbacks=function(){if(!t.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return t.callbacks},t.setCallbacks=function(e){t.callbacks=e},t}Ss(t,e);var n=t.prototype;return n.componentDidMount=function(){this.unbind=Gl(window,[{eventName:"error",fn:this.onWindowError}])},n.componentDidCatch=function(e){if(!(e instanceof Wl))throw e;this.setState({})},n.componentWillUnmount=function(){this.unbind()},n.render=function(){return this.props.children(this.setCallbacks)},t}(r.Component),ql=function(e){return e+1},Kl=function(e,t){var n=e.droppableId===t.droppableId,r=ql(e.index),o=ql(t.index);return n?"\n You have moved the item from position "+r+"\n to position "+o+"\n ":"\n You have moved the item from position "+r+"\n in list "+e.droppableId+"\n to list "+t.droppableId+"\n in position "+o+"\n "},Xl=function(e,t,n){return t.droppableId===n.droppableId?"\n The item "+e+"\n has been combined with "+n.draggableId:"\n The item "+e+"\n in list "+t.droppableId+"\n has been combined with "+n.draggableId+"\n in list "+n.droppableId+"\n "},$l=function(e){return"\n The item has returned to its starting position\n of "+ql(e.index)+"\n"},Jl="\n Press space bar to start a drag.\n When dragging you can use the arrow keys to move the item around and escape to cancel.\n Some screen readers may require you to be in focus mode or to use your pass through key\n",Zl=function(e){return"\n You have lifted an item in position "+ql(e.source.index)+"\n"},ec=function(e){var t=e.destination;if(t)return Kl(e.source,t);var n=e.combine;return n?Xl(e.draggableId,e.source,n):"You are over an area that cannot be dropped on"},tc=function(e){if("CANCEL"===e.reason)return"\n Movement cancelled.\n "+$l(e.source)+"\n ";var t=e.destination,n=e.combine;return t?"\n You have dropped the item.\n "+Kl(e.source,t)+"\n ":n?"\n You have dropped the item.\n "+Xl(e.draggableId,e.source,n)+"\n ":"\n The item has been dropped while not over a drop area.\n "+$l(e.source)+"\n "},nc={x:0,y:0},rc=function(e,t){return{x:e.x+t.x,y:e.y+t.y}},oc=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},ic=function(e,t){return e.x===t.x&&e.y===t.y},ac=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},sc=function(e,t,n){var r;return void 0===n&&(n=0),(r={})[e]=t,r["x"===e?"y":"x"]=n,r},lc=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},cc=function(e,t){return Math.min.apply(Math,t.map((function(t){return lc(e,t)})))},uc=function(e){return function(t){return{x:e(t.x),y:e(t.y)}}},dc=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}},fc=function(e){return[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}]},pc=function(e,t){return t&&t.shouldClipSubject?function(e,t){var n=kl({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return n.width<=0||n.height<=0?null:n}(t.pageMarginBox,e):kl(e)},hc=function(e){var t=e.page,n=e.withPlaceholder,r=e.axis,o=e.frame,i=function(e,t){return t?dc(e,t.scroll.diff.displacement):e}(t.marginBox,o),a=function(e,t,n){var r;return n&&n.increasedBy?tn({},e,((r={})[t.end]=e[t.end]+n.increasedBy[t.line],r)):e}(i,r,n);return{page:t,withPlaceholder:n,active:pc(a,o)}},mc=function(e,t){e.frame||Yl(!1);var n=e.frame,r=oc(t,n.scroll.initial),o=ac(r),i=tn({},n,{scroll:{initial:n.scroll.initial,current:t,diff:{value:r,displacement:o},max:n.scroll.max}});return tn({},e,{frame:i,subject:hc({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:i})})};function gc(e){return Object.values?Object.values(e):Object.keys(e).map((function(t){return e[t]}))}function Ec(e,t){if(e.findIndex)return e.findIndex(t);for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1}function vc(e,t){if(e.find)return e.find(t);var n=Ec(e,t);return-1!==n?e[n]:void 0}function yc(e){return Array.prototype.slice.call(e)}var bc=Fl((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),Tc=Fl((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),_c=Fl((function(e){return gc(e)})),Ac=Fl((function(e){return gc(e)})),Sc=Fl((function(e,t){var n=Ac(t).filter((function(t){return e===t.descriptor.droppableId})).sort((function(e,t){return e.descriptor.index-t.descriptor.index}));return n}));function Cc(e){return e.at&&"REORDER"===e.at.type?e.at.destination:null}function kc(e){return e.at&&"COMBINE"===e.at.type?e.at.combine:null}var Nc=Fl((function(e,t){return t.filter((function(t){return t.descriptor.id!==e.descriptor.id}))})),Ic=function(e,t){return e.descriptor.droppableId===t.descriptor.id},xc={point:nc,value:0},Oc={invisible:{},visible:{},all:[]},wc={displaced:Oc,displacedBy:xc,at:null},Dc=function(e,t){return function(n){return e<=n&&n<=t}},Rc=function(e){var t=Dc(e.top,e.bottom),n=Dc(e.left,e.right);return function(r){if(t(r.top)&&t(r.bottom)&&n(r.left)&&n(r.right))return!0;var o=t(r.top)||t(r.bottom),i=n(r.left)||n(r.right);if(o&&i)return!0;var a=r.top<e.top&&r.bottom>e.bottom,s=r.left<e.left&&r.right>e.right;return!(!a||!s)||(a&&i||s&&o)}},Lc=function(e){var t=Dc(e.top,e.bottom),n=Dc(e.left,e.right);return function(e){return t(e.top)&&t(e.bottom)&&n(e.left)&&n(e.right)}},Pc={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Mc={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Bc=function(e){var t=e.target,n=e.destination,r=e.viewport,o=e.withDroppableDisplacement,i=e.isVisibleThroughFrameFn,a=o?function(e,t){var n=t.frame?t.frame.scroll.diff.displacement:nc;return dc(e,n)}(t,n):t;return function(e,t,n){return!!t.subject.active&&n(t.subject.active)(e)}(a,n,i)&&function(e,t,n){return n(t)(e)}(a,r,i)},Fc=function(e){return Bc(tn({},e,{isVisibleThroughFrameFn:Rc}))},Uc=function(e){return Bc(tn({},e,{isVisibleThroughFrameFn:Lc}))},Hc=function(e,t,n){if("boolean"==typeof n)return n;if(!t)return!0;var r=t.invisible,o=t.visible;if(r[e])return!1;var i=o[e];return!i||i.shouldAnimate};function jc(e){var t=e.afterDragging,n=e.destination,r=e.displacedBy,o=e.viewport,i=e.forceShouldAnimate,a=e.last;return t.reduce((function(e,t){var s=function(e,t){var n=e.page.marginBox,r={top:t.point.y,right:0,bottom:0,left:t.point.x};return kl(Nl(n,r))}(t,r),l=t.descriptor.id;if(e.all.push(l),!Fc({target:s,destination:n,viewport:o,withDroppableDisplacement:!0}))return e.invisible[t.descriptor.id]=!0,e;var c={draggableId:l,shouldAnimate:Hc(l,a,i)};return e.visible[l]=c,e}),{all:[],visible:{},invisible:{}})}function Gc(e){var t=e.insideDestination,n=e.inHomeList,r=e.displacedBy,o=e.destination,i=function(e,t){if(!e.length)return 0;var n=e[e.length-1].descriptor.index;return t.inHomeList?n:n+1}(t,{inHomeList:n});return{displaced:Oc,displacedBy:r,at:{type:"REORDER",destination:{droppableId:o.descriptor.id,index:i}}}}function Qc(e){var t=e.draggable,n=e.insideDestination,r=e.destination,o=e.viewport,i=e.displacedBy,a=e.last,s=e.index,l=e.forceShouldAnimate,c=Ic(t,r);if(null==s)return Gc({insideDestination:n,inHomeList:c,displacedBy:i,destination:r});var u=vc(n,(function(e){return e.descriptor.index===s}));if(!u)return Gc({insideDestination:n,inHomeList:c,displacedBy:i,destination:r});var d=Nc(t,n),f=n.indexOf(u);return{displaced:jc({afterDragging:d.slice(f),destination:r,displacedBy:i,last:a,viewport:o.frame,forceShouldAnimate:l}),displacedBy:i,at:{type:"REORDER",destination:{droppableId:r.descriptor.id,index:s}}}}function zc(e,t){return Boolean(t.effected[e])}var Wc=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.draggable,o=e.draggables,i=e.destination,a=e.insideDestination,s=e.previousImpact,l=e.viewport,c=e.afterCritical,u=s.at;if(u||Yl(!1),"REORDER"===u.type){var d=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.insideDestination,o=e.location;if(!r.length)return null;var i=o.index,a=t?i+1:i-1,s=r[0].descriptor.index,l=r[r.length-1].descriptor.index;return a<s||a>(n?l:l+1)?null:a}({isMovingForward:t,isInHomeList:n,location:u.destination,insideDestination:a});return null==d?null:Qc({draggable:r,insideDestination:a,destination:i,viewport:l,last:s.displaced,displacedBy:s.displacedBy,index:d})}var f=function(e){var t=e.isMovingForward,n=e.destination,r=e.draggables,o=e.combine,i=e.afterCritical;if(!n.isCombineEnabled)return null;var a=o.draggableId,s=r[a].descriptor.index;return zc(a,i)?t?s:s-1:t?s+1:s}({isMovingForward:t,destination:i,displaced:s.displaced,draggables:o,combine:u.combine,afterCritical:c});return null==f?null:Qc({draggable:r,insideDestination:a,destination:i,viewport:l,last:s.displaced,displacedBy:s.displacedBy,index:f})},Yc=function(e){var t=e.afterCritical,n=e.impact,r=e.draggables,o=kc(n);o||Yl(!1);var i=o.draggableId,a=r[i].page.borderBox.center,s=function(e){var t=e.displaced,n=e.afterCritical,r=e.combineWith,o=e.displacedBy,i=Boolean(t.visible[r]||t.invisible[r]);return zc(r,n)?i?nc:ac(o.point):i?o.point:nc}({displaced:n.displaced,afterCritical:t,combineWith:i,displacedBy:n.displacedBy});return rc(a,s)},Vc=function(e,t){return t.margin[e.start]+t.borderBox[e.size]/2},qc=function(e,t,n){return t[e.crossAxisStart]+n.margin[e.crossAxisStart]+n.borderBox[e.crossAxisSize]/2},Kc=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return sc(t.line,n.marginBox[t.end]+Vc(t,r),qc(t,n.marginBox,r))},Xc=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return sc(t.line,n.marginBox[t.start]-function(e,t){return t.margin[e.end]+t.borderBox[e.size]/2}(t,r),qc(t,n.marginBox,r))},$c=function(e){var t=e.impact,n=e.draggable,r=e.draggables,o=e.droppable,i=e.afterCritical,a=Sc(o.descriptor.id,r),s=n.page,l=o.axis;if(!a.length)return function(e){var t=e.axis,n=e.moveInto,r=e.isMoving;return sc(t.line,n.contentBox[t.start]+Vc(t,r),qc(t,n.contentBox,r))}({axis:l,moveInto:o.page,isMoving:s});var c=t.displaced,u=t.displacedBy,d=c.all[0];if(d){var f=r[d];if(zc(d,i))return Xc({axis:l,moveRelativeTo:f.page,isMoving:s});var p=Dl(f.page,u.point);return Xc({axis:l,moveRelativeTo:p,isMoving:s})}var h=a[a.length-1];if(h.descriptor.id===n.descriptor.id)return s.borderBox.center;if(zc(h.descriptor.id,i)){var m=Dl(h.page,ac(i.displacedBy.point));return Kc({axis:l,moveRelativeTo:m,isMoving:s})}return Kc({axis:l,moveRelativeTo:h.page,isMoving:s})},Jc=function(e,t){var n=e.frame;return n?rc(t,n.scroll.diff.displacement):t},Zc=function(e){var t=function(e){var t=e.impact,n=e.draggable,r=e.droppable,o=e.draggables,i=e.afterCritical,a=n.page.borderBox.center,s=t.at;return r&&s?"REORDER"===s.type?$c({impact:t,draggable:n,draggables:o,droppable:r,afterCritical:i}):Yc({impact:t,draggables:o,afterCritical:i}):a}(e),n=e.droppable;return n?Jc(n,t):t},eu=function(e,t){var n=oc(t,e.scroll.initial),r=ac(n);return{frame:kl({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:n,displacement:r}}}};function tu(e,t){return e.map((function(e){return t[e]}))}var nu=function(e){var t=e.pageBorderBoxCenter,n=e.draggable,r=function(e,t){return rc(e.scroll.diff.displacement,t)}(e.viewport,t),o=oc(r,n.page.borderBox.center);return rc(n.client.borderBox.center,o)},ru=function(e){var t=e.draggable,n=e.destination,r=e.newPageBorderBoxCenter,o=e.viewport,i=e.withDroppableDisplacement,a=e.onlyOnMainAxis,s=void 0!==a&&a,l=oc(r,t.page.borderBox.center),c={target:dc(t.page.borderBox,l),destination:n,withDroppableDisplacement:i,viewport:o};return s?function(e){return Bc(tn({},e,{isVisibleThroughFrameFn:(t=e.destination.axis,function(e){var n=Dc(e.top,e.bottom),r=Dc(e.left,e.right);return function(e){return t===Pc?n(e.top)&&n(e.bottom):r(e.left)&&r(e.right)}})}));var t}(c):Uc(c)},ou=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,o=e.draggables,i=e.previousImpact,a=e.viewport,s=e.previousPageBorderBoxCenter,l=e.previousClientSelection,c=e.afterCritical;if(!r.isEnabled)return null;var u=Sc(r.descriptor.id,o),d=Ic(n,r),f=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,o=e.insideDestination,i=e.previousImpact;if(!r.isCombineEnabled)return null;if(!Cc(i))return null;function a(e){var t={type:"COMBINE",combine:{draggableId:e,droppableId:r.descriptor.id}};return tn({},i,{at:t})}var s=i.displaced.all,l=s.length?s[0]:null;if(t)return l?a(l):null;var c=Nc(n,o);if(!l)return c.length?a(c[c.length-1].descriptor.id):null;var u=Ec(c,(function(e){return e.descriptor.id===l}));-1===u&&Yl(!1);var d=u-1;return d<0?null:a(c[d].descriptor.id)}({isMovingForward:t,draggable:n,destination:r,insideDestination:u,previousImpact:i})||Wc({isMovingForward:t,isInHomeList:d,draggable:n,draggables:o,destination:r,insideDestination:u,previousImpact:i,viewport:a,afterCritical:c});if(!f)return null;var p=Zc({impact:f,draggable:n,droppable:r,draggables:o,afterCritical:c});if(ru({draggable:n,destination:r,newPageBorderBoxCenter:p,viewport:a.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:nu({pageBorderBoxCenter:p,draggable:n,viewport:a}),impact:f,scrollJumpRequest:null};var h=oc(p,s),m=function(e){var t=e.impact,n=e.viewport,r=e.destination,o=e.draggables,i=e.maxScrollChange,a=eu(n,rc(n.scroll.current,i)),s=r.frame?mc(r,rc(r.frame.scroll.current,i)):r,l=t.displaced,c=jc({afterDragging:tu(l.all,o),destination:r,displacedBy:t.displacedBy,viewport:a.frame,last:l,forceShouldAnimate:!1}),u=jc({afterDragging:tu(l.all,o),destination:s,displacedBy:t.displacedBy,viewport:n.frame,last:l,forceShouldAnimate:!1}),d={},f={},p=[l,c,u];return l.all.forEach((function(e){var t=function(e,t){for(var n=0;n<t.length;n++){var r=t[n].visible[e];if(r)return r}return null}(e,p);t?f[e]=t:d[e]=!0})),tn({},t,{displaced:{all:l.all,invisible:d,visible:f}})}({impact:f,viewport:a,destination:r,draggables:o,maxScrollChange:h});return{clientSelection:l,impact:m,scrollJumpRequest:h}},iu=function(e){var t=e.subject.active;return t||Yl(!1),t},au=function(e,t){var n=e.page.borderBox.center;return zc(e.descriptor.id,t)?oc(n,t.displacedBy.point):n},su=function(e,t){var n=e.page.borderBox;return zc(e.descriptor.id,t)?dc(n,ac(t.displacedBy.point)):n},lu=Fl((function(e,t){var n=t[e.line];return{value:n,point:sc(e.line,n)}})),cu=function(e,t){return tn({},e,{scroll:tn({},e.scroll,{max:t})})},uu=function(e,t,n){var r=e.frame;Ic(t,e)&&Yl(!1),e.subject.withPlaceholder&&Yl(!1);var o=lu(e.axis,t.displaceBy).point,i=function(e,t,n){var r=e.axis;if("virtual"===e.descriptor.mode)return sc(r.line,t[r.line]);var o=e.subject.page.contentBox[r.size],i=Sc(e.descriptor.id,n).reduce((function(e,t){return e+t.client.marginBox[r.size]}),0)+t[r.line]-o;return i<=0?null:sc(r.line,i)}(e,o,n),a={placeholderSize:o,increasedBy:i,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!r)return tn({},e,{subject:hc({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:e.frame})});var s=i?rc(r.scroll.max,i):r.scroll.max,l=cu(r,s);return tn({},e,{subject:hc({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:l}),frame:l})},du=function(e){var t=e.isMovingForward,n=e.previousPageBorderBoxCenter,r=e.draggable,o=e.isOver,i=e.draggables,a=e.droppables,s=e.viewport,l=e.afterCritical,c=function(e){var t=e.isMovingForward,n=e.pageBorderBoxCenter,r=e.source,o=e.droppables,i=e.viewport,a=r.subject.active;if(!a)return null;var s=r.axis,l=Dc(a[s.start],a[s.end]),c=_c(o).filter((function(e){return e!==r})).filter((function(e){return e.isEnabled})).filter((function(e){return Boolean(e.subject.active)})).filter((function(e){return Rc(i.frame)(iu(e))})).filter((function(e){var n=iu(e);return t?a[s.crossAxisEnd]<n[s.crossAxisEnd]:n[s.crossAxisStart]<a[s.crossAxisStart]})).filter((function(e){var t=iu(e),n=Dc(t[s.start],t[s.end]);return l(t[s.start])||l(t[s.end])||n(a[s.start])||n(a[s.end])})).sort((function(e,n){var r=iu(e)[s.crossAxisStart],o=iu(n)[s.crossAxisStart];return t?r-o:o-r})).filter((function(e,t,n){return iu(e)[s.crossAxisStart]===iu(n[0])[s.crossAxisStart]}));if(!c.length)return null;if(1===c.length)return c[0];var u=c.filter((function(e){return Dc(iu(e)[s.start],iu(e)[s.end])(n[s.line])}));return 1===u.length?u[0]:u.length>1?u.sort((function(e,t){return iu(e)[s.start]-iu(t)[s.start]}))[0]:c.sort((function(e,t){var r=cc(n,fc(iu(e))),o=cc(n,fc(iu(t)));return r!==o?r-o:iu(e)[s.start]-iu(t)[s.start]}))[0]}({isMovingForward:t,pageBorderBoxCenter:n,source:o,droppables:a,viewport:s});if(!c)return null;var u=Sc(c.descriptor.id,i),d=function(e){var t=e.pageBorderBoxCenter,n=e.viewport,r=e.destination,o=e.insideDestination,i=e.afterCritical,a=o.filter((function(e){return Uc({target:su(e,i),destination:r,viewport:n.frame,withDroppableDisplacement:!0})})).sort((function(e,n){var o=lc(t,Jc(r,au(e,i))),a=lc(t,Jc(r,au(n,i)));return o<a?-1:a<o?1:e.descriptor.index-n.descriptor.index}));return a[0]||null}({pageBorderBoxCenter:n,viewport:s,destination:c,insideDestination:u,afterCritical:l}),f=function(e){var t=e.previousPageBorderBoxCenter,n=e.moveRelativeTo,r=e.insideDestination,o=e.draggable,i=e.draggables,a=e.destination,s=e.viewport,l=e.afterCritical;if(!n){if(r.length)return null;var c={displaced:Oc,displacedBy:xc,at:{type:"REORDER",destination:{droppableId:a.descriptor.id,index:0}}},u=Zc({impact:c,draggable:o,droppable:a,draggables:i,afterCritical:l}),d=Ic(o,a)?a:uu(a,o,i);return ru({draggable:o,destination:d,newPageBorderBoxCenter:u,viewport:s.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})?c:null}var f,p=Boolean(t[a.axis.line]<=n.page.borderBox.center[a.axis.line]),h=(f=n.descriptor.index,n.descriptor.id===o.descriptor.id||p?f:f+1),m=lu(a.axis,o.displaceBy);return Qc({draggable:o,insideDestination:r,destination:a,viewport:s,displacedBy:m,last:Oc,index:h})}({previousPageBorderBoxCenter:n,destination:c,draggable:r,draggables:i,moveRelativeTo:d,insideDestination:u,viewport:s,afterCritical:l});if(!f)return null;var p=Zc({impact:f,draggable:r,droppable:c,draggables:i,afterCritical:l});return{clientSelection:nu({pageBorderBoxCenter:p,draggable:r,viewport:s}),impact:f,scrollJumpRequest:null}},fu=function(e){var t=e.at;return t?"REORDER"===t.type?t.destination.droppableId:t.combine.droppableId:null},pu=function(e){var t=e.state,n=e.type,r=function(e,t){var n=fu(e);return n?t[n]:null}(t.impact,t.dimensions.droppables),o=Boolean(r),i=t.dimensions.droppables[t.critical.droppable.id],a=r||i,s=a.axis.direction,l="vertical"===s&&("MOVE_UP"===n||"MOVE_DOWN"===n)||"horizontal"===s&&("MOVE_LEFT"===n||"MOVE_RIGHT"===n);if(l&&!o)return null;var c="MOVE_DOWN"===n||"MOVE_RIGHT"===n,u=t.dimensions.draggables[t.critical.draggable.id],d=t.current.page.borderBoxCenter,f=t.dimensions,p=f.draggables,h=f.droppables;return l?ou({isMovingForward:c,previousPageBorderBoxCenter:d,draggable:u,destination:a,draggables:p,viewport:t.viewport,previousClientSelection:t.current.client.selection,previousImpact:t.impact,afterCritical:t.afterCritical}):du({isMovingForward:c,previousPageBorderBoxCenter:d,draggable:u,isOver:a,draggables:p,droppables:h,viewport:t.viewport,afterCritical:t.afterCritical})};function hu(e){return"DRAGGING"===e.phase||"COLLECTING"===e.phase}function mu(e){var t=Dc(e.top,e.bottom),n=Dc(e.left,e.right);return function(e){return t(e.y)&&n(e.x)}}function gu(e){var t=e.pageBorderBox,n=e.draggable,r=e.droppables,o=_c(r).filter((function(e){if(!e.isEnabled)return!1;var n,r,o=e.subject.active;if(!o)return!1;if(r=o,!((n=t).left<r.right&&n.right>r.left&&n.top<r.bottom&&n.bottom>r.top))return!1;if(mu(o)(t.center))return!0;var i=e.axis,a=o.center[i.crossAxisLine],s=t[i.crossAxisStart],l=t[i.crossAxisEnd],c=Dc(o[i.crossAxisStart],o[i.crossAxisEnd]),u=c(s),d=c(l);return!u&&!d||(u?s<a:l>a)}));return o.length?1===o.length?o[0].descriptor.id:function(e){var t=e.pageBorderBox,n=e.draggable,r=e.candidates,o=n.page.borderBox.center,i=r.map((function(e){var n=e.axis,r=sc(e.axis.line,t.center[n.line],e.page.borderBox.center[n.crossAxisLine]);return{id:e.descriptor.id,distance:lc(o,r)}})).sort((function(e,t){return t.distance-e.distance}));return i[0]?i[0].id:null}({pageBorderBox:t,draggable:n,candidates:o}):null}var Eu=function(e,t){return kl(dc(e,t))};function vu(e){var t=e.displaced,n=e.id;return Boolean(t.visible[n]||t.invisible[n])}var yu=function(e){var t=e.pageOffset,n=e.draggable,r=e.draggables,o=e.droppables,i=e.previousImpact,a=e.viewport,s=e.afterCritical,l=Eu(n.page.borderBox,t),c=gu({pageBorderBox:l,draggable:n,droppables:o});if(!c)return wc;var u=o[c],d=Sc(u.descriptor.id,r),f=function(e,t){var n=e.frame;return n?Eu(t,n.scroll.diff.value):t}(u,l);return function(e){var t=e.draggable,n=e.pageBorderBoxWithDroppableScroll,r=e.previousImpact,o=e.destination,i=e.insideDestination,a=e.afterCritical;if(!o.isCombineEnabled)return null;var s=o.axis,l=lu(o.axis,t.displaceBy),c=l.value,u=n[s.start],d=n[s.end],f=vc(Nc(t,i),(function(e){var t=e.descriptor.id,n=e.page.borderBox,o=n[s.size]/4,i=zc(t,a),l=vu({displaced:r.displaced,id:t});return i?l?d>n[s.start]+o&&d<n[s.end]-o:u>n[s.start]-c+o&&u<n[s.end]-c-o:l?d>n[s.start]+c+o&&d<n[s.end]+c-o:u>n[s.start]+o&&u<n[s.end]-o}));return f?{displacedBy:l,displaced:r.displaced,at:{type:"COMBINE",combine:{draggableId:f.descriptor.id,droppableId:o.descriptor.id}}}:null}({pageBorderBoxWithDroppableScroll:f,draggable:n,previousImpact:i,destination:u,insideDestination:d,afterCritical:s})||function(e){var t=e.pageBorderBoxWithDroppableScroll,n=e.draggable,r=e.destination,o=e.insideDestination,i=e.last,a=e.viewport,s=e.afterCritical,l=r.axis,c=lu(r.axis,n.displaceBy),u=c.value,d=t[l.start],f=t[l.end],p=function(e){var t=e.draggable,n=e.closest,r=e.inHomeList;return n?r&&n.descriptor.index>t.descriptor.index?n.descriptor.index-1:n.descriptor.index:null}({draggable:n,closest:vc(Nc(n,o),(function(e){var t=e.descriptor.id,n=e.page.borderBox.center[l.line],r=zc(t,s),o=vu({displaced:i,id:t});return r?o?f<=n:d<n-u:o?f<=n+u:d<n})),inHomeList:Ic(n,r)});return Qc({draggable:n,insideDestination:o,destination:r,viewport:a,last:i,displacedBy:c,index:p})}({pageBorderBoxWithDroppableScroll:f,draggable:n,destination:u,insideDestination:d,last:i.displaced,viewport:a,afterCritical:s})},bu=function(e,t){var n;return tn({},e,((n={})[t.descriptor.id]=t,n))},Tu=function(e){var t=e.previousImpact,n=e.impact,r=e.droppables,o=fu(t),i=fu(n);if(!o)return r;if(o===i)return r;var a=r[o];if(!a.subject.withPlaceholder)return r;var s=function(e){var t=e.subject.withPlaceholder;t||Yl(!1);var n=e.frame;if(!n)return tn({},e,{subject:hc({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null})});var r=t.oldFrameMaxScroll;r||Yl(!1);var o=cu(n,r);return tn({},e,{subject:hc({page:e.subject.page,axis:e.axis,frame:o,withPlaceholder:null}),frame:o})}(a);return bu(r,s)},_u=function(e){var t=e.state,n=e.clientSelection,r=e.dimensions,o=e.viewport,i=e.impact,a=e.scrollJumpRequest,s=o||t.viewport,l=r||t.dimensions,c=n||t.current.client.selection,u=oc(c,t.initial.client.selection),d={offset:u,selection:c,borderBoxCenter:rc(t.initial.client.borderBoxCenter,u)},f={selection:rc(d.selection,s.scroll.current),borderBoxCenter:rc(d.borderBoxCenter,s.scroll.current),offset:rc(d.offset,s.scroll.diff.value)},p={client:d,page:f};if("COLLECTING"===t.phase)return tn({phase:"COLLECTING"},t,{dimensions:l,viewport:s,current:p});var h=l.draggables[t.critical.draggable.id],m=i||yu({pageOffset:f.offset,draggable:h,draggables:l.draggables,droppables:l.droppables,previousImpact:t.impact,viewport:s,afterCritical:t.afterCritical}),g=function(e){var t=e.draggable,n=e.draggables,r=e.droppables,o=e.previousImpact,i=e.impact,a=Tu({previousImpact:o,impact:i,droppables:r}),s=fu(i);if(!s)return a;var l=r[s];if(Ic(t,l))return a;if(l.subject.withPlaceholder)return a;var c=uu(l,t,n);return bu(a,c)}({draggable:h,impact:m,previousImpact:t.impact,draggables:l.draggables,droppables:l.droppables});return tn({},t,{current:p,dimensions:{draggables:l.draggables,droppables:g},impact:m,viewport:s,scrollJumpRequest:a||null,forceShouldAnimate:!a&&null})};var Au=function(e){var t=e.impact,n=e.viewport,r=e.draggables,o=e.destination,i=e.forceShouldAnimate,a=t.displaced,s=function(e,t){return e.map((function(e){return t[e]}))}(a.all,r);return tn({},t,{displaced:jc({afterDragging:s,destination:o,displacedBy:t.displacedBy,viewport:n.frame,forceShouldAnimate:i,last:a})})},Su=function(e){var t=e.impact,n=e.draggable,r=e.droppable,o=e.draggables,i=e.viewport,a=e.afterCritical,s=Zc({impact:t,draggable:n,draggables:o,droppable:r,afterCritical:a});return nu({pageBorderBoxCenter:s,draggable:n,viewport:i})},Cu=function(e){var t=e.state,n=e.dimensions,r=e.viewport;"SNAP"!==t.movementMode&&Yl(!1);var o=t.impact,i=r||t.viewport,a=n||t.dimensions,s=a.draggables,l=a.droppables,c=s[t.critical.draggable.id],u=fu(o);u||Yl(!1);var d=l[u],f=Au({impact:o,viewport:i,destination:d,draggables:s}),p=Su({impact:f,draggable:c,droppable:d,draggables:s,viewport:i,afterCritical:t.afterCritical});return _u({impact:f,clientSelection:p,state:t,dimensions:a,viewport:i})},ku=function(e){var t=e.draggable,n=e.home,r=e.draggables,o=e.viewport,i=lu(n.axis,t.displaceBy),a=Sc(n.descriptor.id,r),s=a.indexOf(t);-1===s&&Yl(!1);var l,c=a.slice(s+1),u=c.reduce((function(e,t){return e[t.descriptor.id]=!0,e}),{}),d={inVirtualList:"virtual"===n.descriptor.mode,displacedBy:i,effected:u};return{impact:{displaced:jc({afterDragging:c,destination:n,displacedBy:i,last:null,viewport:o.frame,forceShouldAnimate:!1}),displacedBy:i,at:{type:"REORDER",destination:(l=t.descriptor,{index:l.index,droppableId:l.droppableId})}},afterCritical:d}},Nu=function(e){0},Iu=function(e){0},xu=function(e){var t=e.additions,n=e.updatedDroppables,r=e.viewport,o=r.scroll.diff.value;return t.map((function(e){var t=e.descriptor.droppableId,i=function(e){var t=e.frame;return t||Yl(!1),t}(n[t]),a=i.scroll.diff.value,s=function(e){var t=e.draggable,n=e.offset,r=e.initialWindowScroll,o=Dl(t.client,n),i=Rl(o,r);return tn({},t,{placeholder:tn({},t.placeholder,{client:o}),client:o,page:i})}({draggable:e,offset:rc(o,a),initialWindowScroll:r.scroll.initial});return s}))},Ou=function(e){return"SNAP"===e.movementMode},wu=function(e,t,n){var r=function(e,t){return{draggables:e.draggables,droppables:bu(e.droppables,t)}}(e.dimensions,t);return!Ou(e)||n?_u({state:e,dimensions:r}):Cu({state:e,dimensions:r})};function Du(e){return e.isDragging&&"SNAP"===e.movementMode?tn({phase:"DRAGGING"},e,{scrollJumpRequest:null}):e}var Ru={phase:"IDLE",completed:null,shouldFlush:!1},Lu=function(e,t){if(void 0===e&&(e=Ru),"FLUSH"===t.type)return tn({},Ru,{shouldFlush:!0});if("INITIAL_PUBLISH"===t.type){"IDLE"!==e.phase&&Yl(!1);var n=t.payload,r=n.critical,o=n.clientSelection,i=n.viewport,a=n.dimensions,s=n.movementMode,l=a.draggables[r.draggable.id],c=a.droppables[r.droppable.id],u={selection:o,borderBoxCenter:l.client.borderBox.center,offset:nc},d={client:u,page:{selection:rc(u.selection,i.scroll.initial),borderBoxCenter:rc(u.selection,i.scroll.initial),offset:rc(u.selection,i.scroll.diff.value)}},f=_c(a.droppables).every((function(e){return!e.isFixedOnPage})),p=ku({draggable:l,home:c,draggables:a.draggables,viewport:i}),h=p.impact;return{phase:"DRAGGING",isDragging:!0,critical:r,movementMode:s,dimensions:a,initial:d,current:d,isWindowScrollAllowed:f,impact:h,afterCritical:p.afterCritical,onLiftImpact:h,viewport:i,scrollJumpRequest:null,forceShouldAnimate:null}}if("COLLECTION_STARTING"===t.type)return"COLLECTING"===e.phase||"DROP_PENDING"===e.phase?e:("DRAGGING"!==e.phase&&Yl(!1),tn({phase:"COLLECTING"},e,{phase:"COLLECTING"}));if("PUBLISH_WHILE_DRAGGING"===t.type)return"COLLECTING"!==e.phase&&"DROP_PENDING"!==e.phase&&Yl(!1),function(e){var t=e.state,n=e.published;Nu();var r=n.modified.map((function(e){var n=t.dimensions.droppables[e.droppableId];return mc(n,e.scroll)})),o=tn({},t.dimensions.droppables,{},bc(r)),i=Tc(xu({additions:n.additions,updatedDroppables:o,viewport:t.viewport})),a=tn({},t.dimensions.draggables,{},i);n.removals.forEach((function(e){delete a[e]}));var s={droppables:o,draggables:a},l=fu(t.impact),c=l?s.droppables[l]:null,u=s.draggables[t.critical.draggable.id],d=s.droppables[t.critical.droppable.id],f=ku({draggable:u,home:d,draggables:a,viewport:t.viewport}),p=f.impact,h=f.afterCritical,m=c&&c.isCombineEnabled?t.impact:p,g=yu({pageOffset:t.current.page.offset,draggable:s.draggables[t.critical.draggable.id],draggables:s.draggables,droppables:s.droppables,previousImpact:m,viewport:t.viewport,afterCritical:h});Iu();var E=tn({phase:"DRAGGING"},t,{phase:"DRAGGING",impact:g,onLiftImpact:p,dimensions:s,afterCritical:h,forceShouldAnimate:!1});return"COLLECTING"===t.phase?E:tn({phase:"DROP_PENDING"},E,{phase:"DROP_PENDING",reason:t.reason,isWaiting:!1})}({state:e,published:t.payload});if("MOVE"===t.type){if("DROP_PENDING"===e.phase)return e;hu(e)||Yl(!1);var m=t.payload.client;return ic(m,e.current.client.selection)?e:_u({state:e,clientSelection:m,impact:Ou(e)?e.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===t.type){if("DROP_PENDING"===e.phase)return Du(e);if("COLLECTING"===e.phase)return Du(e);hu(e)||Yl(!1);var g=t.payload,E=g.id,v=g.newScroll,y=e.dimensions.droppables[E];if(!y)return e;var b=mc(y,v);return wu(e,b,!1)}if("UPDATE_DROPPABLE_IS_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;hu(e)||Yl(!1);var T=t.payload,_=T.id,A=T.isEnabled,S=e.dimensions.droppables[_];S||Yl(!1),S.isEnabled===A&&Yl(!1);var C=tn({},S,{isEnabled:A});return wu(e,C,!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;hu(e)||Yl(!1);var k=t.payload,N=k.id,I=k.isCombineEnabled,x=e.dimensions.droppables[N];x||Yl(!1),x.isCombineEnabled===I&&Yl(!1);var O=tn({},x,{isCombineEnabled:I});return wu(e,O,!0)}if("MOVE_BY_WINDOW_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;hu(e)||Yl(!1),e.isWindowScrollAllowed||Yl(!1);var w=t.payload.newScroll;if(ic(e.viewport.scroll.current,w))return Du(e);var D=eu(e.viewport,w);return Ou(e)?Cu({state:e,viewport:D}):_u({state:e,viewport:D})}if("UPDATE_VIEWPORT_MAX_SCROLL"===t.type){if(!hu(e))return e;var R=t.payload.maxScroll;if(ic(R,e.viewport.scroll.max))return e;var L=tn({},e.viewport,{scroll:tn({},e.viewport.scroll,{max:R})});return tn({phase:"DRAGGING"},e,{viewport:L})}if("MOVE_UP"===t.type||"MOVE_DOWN"===t.type||"MOVE_LEFT"===t.type||"MOVE_RIGHT"===t.type){if("COLLECTING"===e.phase||"DROP_PENDING"===e.phase)return e;"DRAGGING"!==e.phase&&Yl(!1);var P=pu({state:e,type:t.type});return P?_u({state:e,impact:P.impact,clientSelection:P.clientSelection,scrollJumpRequest:P.scrollJumpRequest}):e}if("DROP_PENDING"===t.type){var M=t.payload.reason;return"COLLECTING"!==e.phase&&Yl(!1),tn({phase:"DROP_PENDING"},e,{phase:"DROP_PENDING",isWaiting:!0,reason:M})}if("DROP_ANIMATE"===t.type){var B=t.payload,F=B.completed,U=B.dropDuration,H=B.newHomeClientOffset;return"DRAGGING"!==e.phase&&"DROP_PENDING"!==e.phase&&Yl(!1),{phase:"DROP_ANIMATING",completed:F,dropDuration:U,newHomeClientOffset:H,dimensions:e.dimensions}}return"DROP_COMPLETE"===t.type?{phase:"IDLE",completed:t.payload.completed,shouldFlush:!1}:e},Pu=function(e){return{type:"LIFT",payload:e}},Mu=function(e){return{type:"PUBLISH_WHILE_DRAGGING",payload:e}},Bu=function(){return{type:"COLLECTION_STARTING",payload:null}},Fu=function(e){return{type:"UPDATE_DROPPABLE_SCROLL",payload:e}},Uu=function(e){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}},Hu=function(e){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}},ju=function(e){return{type:"MOVE",payload:e}},Gu=function(){return{type:"MOVE_UP",payload:null}},Qu=function(){return{type:"MOVE_DOWN",payload:null}},zu=function(){return{type:"MOVE_RIGHT",payload:null}},Wu=function(){return{type:"MOVE_LEFT",payload:null}},Yu=function(){return{type:"FLUSH",payload:null}},Vu=function(e){return{type:"DROP_COMPLETE",payload:e}},qu=function(e){return{type:"DROP",payload:e}},Ku=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};var Xu="cubic-bezier(.2,1,.1,1)",$u={drop:0,combining:.7},Ju={drop:.75},Zu=.2+"s "+"cubic-bezier(0.2, 0, 0, 1)",ed={fluid:"opacity "+Zu,snap:"transform "+Zu+", opacity "+Zu,drop:function(e){var t=e+"s "+Xu;return"transform "+t+", opacity "+t},outOfTheWay:"transform "+Zu,placeholder:"height "+Zu+", width "+Zu+", margin "+Zu},td=function(e){return ic(e,nc)?null:"translate("+e.x+"px, "+e.y+"px)"},nd={moveTo:td,drop:function(e,t){var n=td(e);return n?t?n+" scale("+Ju.drop+")":n:null}},rd=.33,od=.55,id=od-rd,ad=function(e){var t=e.getState,n=e.dispatch;return function(e){return function(r){if("DROP"===r.type){var o=t(),i=r.payload.reason;if("COLLECTING"!==o.phase){if("IDLE"!==o.phase){"DROP_PENDING"===o.phase&&o.isWaiting&&Yl(!1),"DRAGGING"!==o.phase&&"DROP_PENDING"!==o.phase&&Yl(!1);var a=o.critical,s=o.dimensions,l=s.draggables[o.critical.draggable.id],c=function(e){var t=e.draggables,n=e.reason,r=e.lastImpact,o=e.home,i=e.viewport,a=e.onLiftImpact;return r.at&&"DROP"===n?"REORDER"===r.at.type?{impact:r,didDropInsideDroppable:!0}:{impact:tn({},r,{displaced:Oc}),didDropInsideDroppable:!0}:{impact:Au({draggables:t,impact:a,destination:o,viewport:i,forceShouldAnimate:!0}),didDropInsideDroppable:!1}}({reason:i,lastImpact:o.impact,afterCritical:o.afterCritical,onLiftImpact:o.onLiftImpact,home:o.dimensions.droppables[o.critical.droppable.id],viewport:o.viewport,draggables:o.dimensions.draggables}),u=c.impact,d=c.didDropInsideDroppable,f=d?Cc(u):null,p=d?kc(u):null,h={index:a.draggable.index,droppableId:a.droppable.id},m={draggableId:l.descriptor.id,type:l.descriptor.type,source:h,reason:i,mode:o.movementMode,destination:f,combine:p},g=function(e){var t=e.impact,n=e.draggable,r=e.dimensions,o=e.viewport,i=e.afterCritical,a=r.draggables,s=r.droppables,l=fu(t),c=l?s[l]:null,u=s[n.descriptor.droppableId],d=Su({impact:t,draggable:n,draggables:a,afterCritical:i,droppable:c||u,viewport:o});return oc(d,n.client.borderBox.center)}({impact:u,draggable:l,dimensions:s,viewport:o.viewport,afterCritical:o.afterCritical}),E={critical:o.critical,afterCritical:o.afterCritical,result:m,impact:u};if(!ic(o.current.client.offset,g)||Boolean(m.combine)){var v=function(e){var t=e.current,n=e.destination,r=e.reason,o=lc(t,n);if(o<=0)return rd;if(o>=1500)return od;var i=rd+id*(o/1500);return Number(("CANCEL"===r?.6*i:i).toFixed(2))}({current:o.current.client.offset,destination:g,reason:i});n(function(e){return{type:"DROP_ANIMATE",payload:e}}({newHomeClientOffset:g,dropDuration:v,completed:E}))}else n(Vu({completed:E}))}}else n(function(e){return{type:"DROP_PENDING",payload:e}}({reason:i}))}else e(r)}}},sd=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function ld(e){var t=e.onWindowScroll;var n=Ul((function(){t(sd())})),r=function(e){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(t){t.target!==window&&t.target!==window.document||e()}}}(n),o=jl;function i(){return o!==jl}return{start:function(){i()&&Yl(!1),o=Gl(window,[r])},stop:function(){i()||Yl(!1),n.cancel(),o(),o=jl},isActive:i}}var cd=function(e){var t=ld({onWindowScroll:function(t){e.dispatch({type:"MOVE_BY_WINDOW_SCROLL",payload:{newScroll:t}})}});return function(e){return function(n){t.isActive()||"INITIAL_PUBLISH"!==n.type||t.start(),t.isActive()&&function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(n)&&t.stop(),e(n)}}},ud=function(){var e=[];return{add:function(t){var n=setTimeout((function(){return function(t){var n=Ec(e,(function(e){return e.timerId===t}));-1===n&&Yl(!1),e.splice(n,1)[0].callback()}(n)})),r={timerId:n,callback:t};e.push(r)},flush:function(){if(e.length){var t=[].concat(e);e.length=0,t.forEach((function(e){clearTimeout(e.timerId),e.callback()}))}}}},dd=function(e,t){Nu(),t(),Iu()},fd=function(e,t){return{draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t}},pd=function(e,t,n,r){if(e){var o=function(e){var t=!1,n=!1,r=setTimeout((function(){n=!0})),o=function(o){t||n||(t=!0,e(o),clearTimeout(r))};return o.wasCalled=function(){return t},o}(n);e(t,{announce:o}),o.wasCalled()||n(r(t))}else n(r(t))},hd=function(e,t){var n=function(e,t){var n=ud(),r=null,o=function(n){r||Yl(!1),r=null,dd(0,(function(){return pd(e().onDragEnd,n,t,tc)}))};return{beforeCapture:function(t,n){r&&Yl(!1),dd(0,(function(){var r=e().onBeforeCapture;r&&r({draggableId:t,mode:n})}))},beforeStart:function(t,n){r&&Yl(!1),dd(0,(function(){var r=e().onBeforeDragStart;r&&r(fd(t,n))}))},start:function(o,i){r&&Yl(!1);var a=fd(o,i);r={mode:i,lastCritical:o,lastLocation:a.source,lastCombine:null},n.add((function(){dd(0,(function(){return pd(e().onDragStart,a,t,Zl)}))}))},update:function(o,i){var a=Cc(i),s=kc(i);r||Yl(!1);var l=!function(e,t){if(e===t)return!0;var n=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,r=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return n&&r}(o,r.lastCritical);l&&(r.lastCritical=o);var c,u,d=(u=a,!(null==(c=r.lastLocation)&&null==u||null!=c&&null!=u&&c.droppableId===u.droppableId&&c.index===u.index));d&&(r.lastLocation=a);var f=!function(e,t){return null==e&&null==t||null!=e&&null!=t&&e.draggableId===t.draggableId&&e.droppableId===t.droppableId}(r.lastCombine,s);if(f&&(r.lastCombine=s),l||d||f){var p=tn({},fd(o,r.mode),{combine:s,destination:a});n.add((function(){dd(0,(function(){return pd(e().onDragUpdate,p,t,ec)}))}))}},flush:function(){r||Yl(!1),n.flush()},drop:o,abort:function(){if(r){var e=tn({},fd(r.lastCritical,r.mode),{combine:null,destination:null,reason:"CANCEL"});o(e)}}}}(e,t);return function(e){return function(t){return function(r){if("BEFORE_INITIAL_CAPTURE"!==r.type){if("INITIAL_PUBLISH"===r.type){var o=r.payload.critical;return n.beforeStart(o,r.payload.movementMode),t(r),void n.start(o,r.payload.movementMode)}if("DROP_COMPLETE"===r.type){var i=r.payload.completed.result;return n.flush(),t(r),void n.drop(i)}if(t(r),"FLUSH"!==r.type){var a=e.getState();"DRAGGING"===a.phase&&n.update(a.critical,a.impact)}else n.abort()}else n.beforeCapture(r.payload.draggableId,r.payload.movementMode)}}}},md=function(e){return function(t){return function(n){if("DROP_ANIMATION_FINISHED"===n.type){var r=e.getState();"DROP_ANIMATING"!==r.phase&&Yl(!1),e.dispatch(Vu({completed:r.completed}))}else t(n)}}},gd=function(e){var t=null,n=null;return function(r){return function(o){if("FLUSH"!==o.type&&"DROP_COMPLETE"!==o.type&&"DROP_ANIMATION_FINISHED"!==o.type||(n&&(cancelAnimationFrame(n),n=null),t&&(t(),t=null)),r(o),"DROP_ANIMATE"===o.type){var i={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===e.getState().phase&&e.dispatch({type:"DROP_ANIMATION_FINISHED",payload:null})}};n=requestAnimationFrame((function(){n=null,t=Gl(window,[i])}))}}}},Ed=function(e){return function(t){return function(n){if(t(n),"PUBLISH_WHILE_DRAGGING"===n.type){var r=e.getState();"DROP_PENDING"===r.phase&&(r.isWaiting||e.dispatch(qu({reason:r.reason})))}}}},vd=Ps,yd=function(e){var t,n=e.dimensionMarshal,r=e.focusMarshal,o=e.styleMarshal,i=e.getResponders,a=e.announce,s=e.autoScroller;return Ds(Lu,vd(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(Ns(15))},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return r=Ps.apply(void 0,i)(n.dispatch),ks(ks({},n),{},{dispatch:r})}}}((t=o,function(){return function(e){return function(n){"INITIAL_PUBLISH"===n.type&&t.dragging(),"DROP_ANIMATE"===n.type&&t.dropping(n.payload.completed.result.reason),"FLUSH"!==n.type&&"DROP_COMPLETE"!==n.type||t.resting(),e(n)}}}),function(e){return function(){return function(t){return function(n){"DROP_COMPLETE"!==n.type&&"FLUSH"!==n.type&&"DROP_ANIMATE"!==n.type||e.stopPublishing(),t(n)}}}}(n),function(e){return function(t){var n=t.getState,r=t.dispatch;return function(t){return function(o){if("LIFT"===o.type){var i=o.payload,a=i.id,s=i.clientSelection,l=i.movementMode,c=n();"DROP_ANIMATING"===c.phase&&r(Vu({completed:c.completed})),"IDLE"!==n().phase&&Yl(!1),r(Yu()),r({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:a,movementMode:l}});var u={draggableId:a,scrollOptions:{shouldPublishImmediately:"SNAP"===l}},d=e.startPublishing(u),f=d.critical,p=d.dimensions,h=d.viewport;r({type:"INITIAL_PUBLISH",payload:{critical:f,dimensions:p,clientSelection:s,movementMode:l,viewport:h}})}else t(o)}}}}(n),ad,md,gd,Ed,function(e){return function(t){return function(n){return function(r){if(function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(r))return e.stop(),void n(r);if("INITIAL_PUBLISH"===r.type){n(r);var o=t.getState();return"DRAGGING"!==o.phase&&Yl(!1),void e.start(o)}n(r),e.scroll(t.getState())}}}}(s),cd,function(e){var t=!1;return function(){return function(n){return function(r){if("INITIAL_PUBLISH"===r.type)return t=!0,e.tryRecordFocus(r.payload.critical.draggable.id),n(r),void e.tryRestoreFocusRecorded();if(n(r),t){if("FLUSH"===r.type)return t=!1,void e.tryRestoreFocusRecorded();if("DROP_COMPLETE"===r.type){t=!1;var o=r.payload.completed.result;o.combine&&e.tryShiftRecord(o.draggableId,o.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}}(r),hd(i,a))))};var bd=function(e){var t=e.scrollHeight,n=e.scrollWidth,r=e.height,o=e.width,i=oc({x:n,y:t},{x:o,y:r});return{x:Math.max(0,i.x),y:Math.max(0,i.y)}},Td=function(){var e=document.documentElement;return e||Yl(!1),e},_d=function(){var e=Td();return bd({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})},Ad=function(e){var t=e.critical,n=e.scrollOptions,r=e.registry;Nu();var o,i,a,s,l,c,u,d=(o=sd(),i=_d(),a=o.y,s=o.x,l=Td(),c=l.clientWidth,u=l.clientHeight,{frame:kl({top:a,left:s,right:s+c,bottom:a+u}),scroll:{initial:o,current:o,max:i,diff:{value:nc,displacement:nc}}}),f=d.scroll.current,p=t.droppable,h=r.droppable.getAllByType(p.type).map((function(e){return e.callbacks.getDimensionAndWatchScroll(f,n)})),m=r.draggable.getAllByType(t.draggable.type).map((function(e){return e.getDimension(f)})),g={draggables:Tc(m),droppables:bc(h)};return Iu(),{dimensions:g,critical:t,viewport:d}};function Sd(e,t,n){return n.descriptor.id!==t.id&&(n.descriptor.type===t.type&&"virtual"===e.droppable.getById(n.descriptor.droppableId).descriptor.mode)}var Cd,kd,Nd=function(e,t){var n=null,r=function(e){var t=e.registry,n=e.callbacks,r={additions:{},removals:{},modified:{}},o=null,i=function(){o||(n.collectionStarting(),o=requestAnimationFrame((function(){o=null,Nu();var e=r,i=e.additions,a=e.removals,s=e.modified,l=Object.keys(i).map((function(e){return t.draggable.getById(e).getDimension(nc)})).sort((function(e,t){return e.descriptor.index-t.descriptor.index})),c=Object.keys(s).map((function(e){return{droppableId:e,scroll:t.droppable.getById(e).callbacks.getScrollWhileDragging()}})),u={additions:l,removals:Object.keys(a),modified:c};r={additions:{},removals:{},modified:{}},Iu(),n.publish(u)})))};return{add:function(e){var t=e.descriptor.id;r.additions[t]=e,r.modified[e.descriptor.droppableId]=!0,r.removals[t]&&delete r.removals[t],i()},remove:function(e){var t=e.descriptor;r.removals[t.id]=!0,r.modified[t.droppableId]=!0,r.additions[t.id]&&delete r.additions[t.id],i()},stop:function(){o&&(cancelAnimationFrame(o),o=null,r={additions:{},removals:{},modified:{}})}}}({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),o=function(t){n||Yl(!1);var o=n.critical.draggable;"ADDITION"===t.type&&Sd(e,o,t.value)&&r.add(t.value),"REMOVAL"===t.type&&Sd(e,o,t.value)&&r.remove(t.value)},i={updateDroppableIsEnabled:function(r,o){e.droppable.exists(r)||Yl(!1),n&&t.updateDroppableIsEnabled({id:r,isEnabled:o})},updateDroppableIsCombineEnabled:function(r,o){n&&(e.droppable.exists(r)||Yl(!1),t.updateDroppableIsCombineEnabled({id:r,isCombineEnabled:o}))},scrollDroppable:function(t,r){n&&e.droppable.getById(t).callbacks.scroll(r)},updateDroppableScroll:function(r,o){n&&(e.droppable.exists(r)||Yl(!1),t.updateDroppableScroll({id:r,newScroll:o}))},startPublishing:function(t){n&&Yl(!1);var r=e.draggable.getById(t.draggableId),i=e.droppable.getById(r.descriptor.droppableId),a={draggable:r.descriptor,droppable:i.descriptor},s=e.subscribe(o);return n={critical:a,unsubscribe:s},Ad({critical:a,registry:e,scrollOptions:t.scrollOptions})},stopPublishing:function(){if(n){r.stop();var t=n.critical.droppable;e.droppable.getAllByType(t.type).forEach((function(e){return e.callbacks.dragStopped()})),n.unsubscribe(),n=null}}};return i},Id=function(e,t){return"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&(e.completed.result.draggableId!==t&&"DROP"===e.completed.result.reason)},xd=function(e){window.scrollBy(e.x,e.y)},Od=Fl((function(e){return _c(e).filter((function(e){return!!e.isEnabled&&!!e.frame}))})),wd=function(e){var t=e.center,n=e.destination,r=e.droppables;if(n){var o=r[n];return o.frame?o:null}var i=function(e,t){var n=vc(Od(t),(function(t){return t.frame||Yl(!1),mu(t.frame.pageMarginBox)(e)}));return n}(t,r);return i},Dd=.25,Rd=.05,Ld=28,Pd=function(e){return Math.pow(e,2)},Md={stopDampeningAt:1200,accelerateAt:360},Bd=function(e){var t=e.startOfRange,n=e.endOfRange,r=e.current,o=n-t;return 0===o?0:(r-t)/o},Fd=Md.accelerateAt,Ud=Md.stopDampeningAt,Hd=function(e){var t=e.distanceToEdge,n=e.thresholds,r=e.dragStartTime,o=e.shouldUseTimeDampening,i=function(e,t){if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return Ld;if(e===t.startScrollingFrom)return 1;var n=Bd({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),r=Ld*Pd(1-n);return Math.ceil(r)}(t,n);return 0===i?0:o?Math.max(function(e,t){var n=t,r=Ud,o=Date.now()-n;if(o>=Ud)return e;if(o<Fd)return 1;var i=Bd({startOfRange:Fd,endOfRange:r,current:o}),a=e*Pd(i);return Math.ceil(a)}(i,r),1):i},jd=function(e){var t=e.container,n=e.distanceToEdges,r=e.dragStartTime,o=e.axis,i=e.shouldUseTimeDampening,a=function(e,t){return{startScrollingFrom:e[t.size]*Dd,maxScrollValueAt:e[t.size]*Rd}}(t,o);return n[o.end]<n[o.start]?Hd({distanceToEdge:n[o.end],thresholds:a,dragStartTime:r,shouldUseTimeDampening:i}):-1*Hd({distanceToEdge:n[o.start],thresholds:a,dragStartTime:r,shouldUseTimeDampening:i})},Gd=uc((function(e){return 0===e?0:e})),Qd=function(e){var t=e.dragStartTime,n=e.container,r=e.subject,o=e.center,i=e.shouldUseTimeDampening,a={top:o.y-n.top,right:n.right-o.x,bottom:n.bottom-o.y,left:o.x-n.left},s=jd({container:n,distanceToEdges:a,dragStartTime:t,axis:Pc,shouldUseTimeDampening:i}),l=jd({container:n,distanceToEdges:a,dragStartTime:t,axis:Mc,shouldUseTimeDampening:i}),c=Gd({x:l,y:s});if(ic(c,nc))return null;var u=function(e){var t=e.container,n=e.subject,r=e.proposedScroll,o=n.height>t.height,i=n.width>t.width;return i||o?i&&o?null:{x:i?0:r.x,y:o?0:r.y}:r}({container:n,subject:r,proposedScroll:c});return u?ic(u,nc)?null:u:null},zd=uc((function(e){return 0===e?0:e>0?1:-1})),Wd=(Cd=function(e,t){return e<0?e:e>t?e-t:0},function(e){var t=e.current,n=e.max,r=e.change,o=rc(t,r),i={x:Cd(o.x,n.x),y:Cd(o.y,n.y)};return ic(i,nc)?null:i}),Yd=function(e){var t=e.max,n=e.current,r=e.change,o={x:Math.max(n.x,t.x),y:Math.max(n.y,t.y)},i=zd(r),a=Wd({max:o,current:n,change:i});return!a||(0!==i.x&&0===a.x||0!==i.y&&0===a.y)},Vd=function(e,t){return Yd({current:e.scroll.current,max:e.scroll.max,change:t})},qd=function(e,t){var n=e.frame;return!!n&&Yd({current:n.scroll.current,max:n.scroll.max,change:t})},Kd=function(e){var t=e.state,n=e.dragStartTime,r=e.shouldUseTimeDampening,o=e.scrollWindow,i=e.scrollDroppable,a=t.current.page.borderBoxCenter,s=t.dimensions.draggables[t.critical.draggable.id].page.marginBox;if(t.isWindowScrollAllowed){var l=function(e){var t=e.viewport,n=e.subject,r=e.center,o=e.dragStartTime,i=e.shouldUseTimeDampening,a=Qd({dragStartTime:o,container:t.frame,subject:n,center:r,shouldUseTimeDampening:i});return a&&Vd(t,a)?a:null}({dragStartTime:n,viewport:t.viewport,subject:s,center:a,shouldUseTimeDampening:r});if(l)return void o(l)}var c=wd({center:a,destination:fu(t.impact),droppables:t.dimensions.droppables});if(c){var u=function(e){var t=e.droppable,n=e.subject,r=e.center,o=e.dragStartTime,i=e.shouldUseTimeDampening,a=t.frame;if(!a)return null;var s=Qd({dragStartTime:o,container:a.pageMarginBox,subject:n,center:r,shouldUseTimeDampening:i});return s&&qd(t,s)?s:null}({dragStartTime:n,droppable:c,subject:s,center:a,shouldUseTimeDampening:r});u&&i(c.descriptor.id,u)}},Xd=function(e){var t=e.move,n=e.scrollDroppable,r=e.scrollWindow,o=function(e,t){if(!qd(e,t))return t;var r=function(e,t){var n=e.frame;return n&&qd(e,t)?Wd({current:n.scroll.current,max:n.scroll.max,change:t}):null}(e,t);if(!r)return n(e.descriptor.id,t),null;var o=oc(t,r);return n(e.descriptor.id,o),oc(t,o)},i=function(e,t,n){if(!e)return n;if(!Vd(t,n))return n;var o=function(e,t){if(!Vd(e,t))return null;var n=e.scroll.max,r=e.scroll.current;return Wd({current:r,max:n,change:t})}(t,n);if(!o)return r(n),null;var i=oc(n,o);return r(i),oc(n,i)};return function(e){var n=e.scrollJumpRequest;if(n){var r=fu(e.impact);r||Yl(!1);var a=o(e.dimensions.droppables[r],n);if(a){var s=e.viewport,l=i(e.isWindowScrollAllowed,s,a);l&&function(e,n){var r=rc(e.current.client.selection,n);t({client:r})}(e,l)}}}},$d=function(e){var t=e.scrollDroppable,n=e.scrollWindow,r=e.move,o=function(e){var t=e.scrollWindow,n=e.scrollDroppable,r=Ul(t),o=Ul(n),i=null,a=function(e){i||Yl(!1);var t=i,n=t.shouldUseTimeDampening,a=t.dragStartTime;Kd({state:e,scrollWindow:r,scrollDroppable:o,dragStartTime:a,shouldUseTimeDampening:n})};return{start:function(e){Nu(),i&&Yl(!1);var t=Date.now(),n=!1,r=function(){n=!0};Kd({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:r,scrollDroppable:r}),i={dragStartTime:t,shouldUseTimeDampening:n},Iu(),n&&a(e)},stop:function(){i&&(r.cancel(),o.cancel(),i=null)},scroll:a}}({scrollWindow:n,scrollDroppable:t}),i=Xd({move:r,scrollWindow:n,scrollDroppable:t});return{scroll:function(e){"DRAGGING"===e.phase&&("FLUID"!==e.movementMode?e.scrollJumpRequest&&i(e):o.scroll(e))},start:o.start,stop:o.stop}},Jd="data-rbd",Zd={base:kd=Jd+"-drag-handle",draggableId:kd+"-draggable-id",contextId:kd+"-context-id"},ef=function(){var e=Jd+"-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),tf=function(){var e=Jd+"-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),nf={contextId:Jd+"-scroll-container-context-id"},rf=function(e,t){return e.map((function(e){var n=e.styles[t];return n?e.selector+" { "+n+" }":""})).join(" ")},of=function(e){var t,n,r,o=(t=e,function(e){return"["+e+'="'+t+'"]'}),i=(n="\n cursor: -webkit-grab;\n cursor: grab;\n ",{selector:o(Zd.contextId),styles:{always:"\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n touch-action: manipulation;\n ",resting:n,dragging:"pointer-events: none;",dropAnimating:n}}),a=[(r="\n transition: "+ed.outOfTheWay+";\n ",{selector:o(ef.contextId),styles:{dragging:r,dropAnimating:r,userCancel:r}}),i,{selector:o(tf.contextId),styles:{always:"overflow-anchor: none;"}},{selector:"body",styles:{dragging:"\n cursor: grabbing;\n cursor: -webkit-grabbing;\n user-select: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n overflow-anchor: none;\n "}}];return{always:rf(a,"always"),resting:rf(a,"resting"),dragging:rf(a,"dragging"),dropAnimating:rf(a,"dropAnimating"),userCancel:rf(a,"userCancel")}},af="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect,sf=function(){var e=document.querySelector("head");return e||Yl(!1),e},lf=function(e){var t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t};var cf=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function uf(e){return e instanceof cf(e).HTMLElement}function df(e,t){var n="["+Zd.contextId+'="'+e+'"]',r=yc(document.querySelectorAll(n));if(!r.length)return null;var o=vc(r,(function(e){return e.getAttribute(Zd.draggableId)===t}));return o&&uf(o)?o:null}function ff(){var e={draggables:{},droppables:{}},t=[];function n(e){t.length&&t.forEach((function(t){return t(e)}))}function r(t){return e.draggables[t]||null}function o(t){return e.droppables[t]||null}return{draggable:{register:function(t){e.draggables[t.descriptor.id]=t,n({type:"ADDITION",value:t})},update:function(t,n){var r=e.draggables[n.descriptor.id];r&&r.uniqueId===t.uniqueId&&(delete e.draggables[n.descriptor.id],e.draggables[t.descriptor.id]=t)},unregister:function(t){var o=t.descriptor.id,i=r(o);i&&t.uniqueId===i.uniqueId&&(delete e.draggables[o],n({type:"REMOVAL",value:t}))},getById:function(e){var t=r(e);return t||Yl(!1),t},findById:r,exists:function(e){return Boolean(r(e))},getAllByType:function(t){return gc(e.draggables).filter((function(e){return e.descriptor.type===t}))}},droppable:{register:function(t){e.droppables[t.descriptor.id]=t},unregister:function(t){var n=o(t.descriptor.id);n&&t.uniqueId===n.uniqueId&&delete e.droppables[t.descriptor.id]},getById:function(e){var t=o(e);return t||Yl(!1),t},findById:o,exists:function(e){return Boolean(o(e))},getAllByType:function(t){return gc(e.droppables).filter((function(e){return e.descriptor.type===t}))}},subscribe:function(e){return t.push(e),function(){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},clean:function(){e.draggables={},e.droppables={},t.length=0}}}var pf=r.createContext(null),hf=function(){var e=document.body;return e||Yl(!1),e},mf={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},gf=function(e){return"rbd-announcement-"+e};var Ef=0,vf={separator:"::"};function yf(e,t){return void 0===t&&(t=vf),Al((function(){return""+e+t.separator+Ef++}),[t.separator,e])}var bf=r.createContext(null);function Tf(e){0}function _f(e,t){Tf()}function Af(e){var t=(0,r.useRef)(e);return(0,r.useEffect)((function(){t.current=e})),t}var Sf,Cf=27,kf=32,Nf=37,If=38,xf=39,Of=40,wf=((Sf={})[13]=!0,Sf[9]=!0,Sf),Df=function(e){wf[e.keyCode]&&e.preventDefault()},Rf=function(){var e="visibilitychange";return"undefined"==typeof document?e:vc([e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],(function(e){return"on"+e in document}))||e}(),Lf=0,Pf=5;var Mf,Bf={type:"IDLE"};function Ff(e){var t=e.cancel,n=e.completed,r=e.getPhase,o=e.setPhase;return[{eventName:"mousemove",fn:function(e){var t=e.button,n=e.clientX,i=e.clientY;if(t===Lf){var a={x:n,y:i},s=r();if("DRAGGING"===s.type)return e.preventDefault(),void s.actions.move(a);"PENDING"!==s.type&&Yl(!1);var l=s.point;if(c=l,u=a,Math.abs(u.x-c.x)>=Pf||Math.abs(u.y-c.y)>=Pf){var c,u;e.preventDefault();var d=s.actions.fluidLift(a);o({type:"DRAGGING",actions:d})}}}},{eventName:"mouseup",fn:function(e){var o=r();"DRAGGING"===o.type?(e.preventDefault(),o.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:"mousedown",fn:function(e){"DRAGGING"===r().type&&e.preventDefault(),t()}},{eventName:"keydown",fn:function(e){if("PENDING"!==r().type)return e.keyCode===Cf?(e.preventDefault(),void t()):void Df(e);t()}},{eventName:"resize",fn:t},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){"PENDING"===r().type&&t()}},{eventName:"webkitmouseforcedown",fn:function(e){var n=r();"IDLE"===n.type&&Yl(!1),n.actions.shouldRespectForcePress()?t():e.preventDefault()}},{eventName:Rf,fn:t}]}function Uf(){}var Hf=((Mf={})[34]=!0,Mf[33]=!0,Mf[36]=!0,Mf[35]=!0,Mf);function jf(e,t){function n(){t(),e.cancel()}return[{eventName:"keydown",fn:function(r){return r.keyCode===Cf?(r.preventDefault(),void n()):r.keyCode===kf?(r.preventDefault(),t(),void e.drop()):r.keyCode===Of?(r.preventDefault(),void e.moveDown()):r.keyCode===If?(r.preventDefault(),void e.moveUp()):r.keyCode===xf?(r.preventDefault(),void e.moveRight()):r.keyCode===Nf?(r.preventDefault(),void e.moveLeft()):void(Hf[r.keyCode]?r.preventDefault():Df(r))}},{eventName:"mousedown",fn:n},{eventName:"mouseup",fn:n},{eventName:"click",fn:n},{eventName:"touchstart",fn:n},{eventName:"resize",fn:n},{eventName:"wheel",fn:n,options:{passive:!0}},{eventName:Rf,fn:n}]}var Gf={type:"IDLE"},Qf=.15;var zf={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Wf(e,t){if(null==t)return!1;if(Boolean(zf[t.tagName.toLowerCase()]))return!0;var n=t.getAttribute("contenteditable");return"true"===n||""===n||t!==e&&Wf(e,t.parentElement)}function Yf(e,t){var n=t.target;return!!uf(n)&&Wf(e,n)}var Vf=function(e){return kl(e.getBoundingClientRect()).center};var qf=function(){var e="matches";return"undefined"==typeof document?e:vc([e,"msMatchesSelector","webkitMatchesSelector"],(function(e){return e in Element.prototype}))||e}();function Kf(e,t){return null==e?null:e[qf](t)?e:Kf(e.parentElement,t)}function Xf(e,t){return e.closest?e.closest(t):Kf(e,t)}function $f(e,t){var n,r=t.target;if(!((n=r)instanceof cf(n).Element))return null;var o=function(e){return"["+Zd.contextId+'="'+e+'"]'}(e),i=Xf(r,o);return i&&uf(i)?i:null}function Jf(e){e.preventDefault()}function Zf(e){var t=e.expected,n=e.phase,r=e.isLockActive;e.shouldWarn;return!!r()&&t===n}function ep(e){var t=e.lockAPI,n=e.store,r=e.registry,o=e.draggableId;if(t.isClaimed())return!1;var i=r.draggable.findById(o);return!!i&&(!!i.options.isEnabled&&!!Id(n.getState(),o))}function tp(e){var t=e.lockAPI,n=e.contextId,r=e.store,o=e.registry,i=e.draggableId,a=e.forceSensorStop,s=e.sourceEvent;if(!ep({lockAPI:t,store:r,registry:o,draggableId:i}))return null;var l=o.draggable.getById(i),c=function(e,t){var n="["+ef.contextId+'="'+e+'"]',r=vc(yc(document.querySelectorAll(n)),(function(e){return e.getAttribute(ef.id)===t}));return r&&uf(r)?r:null}(n,l.descriptor.id);if(!c)return null;if(s&&!l.options.canDragInteractiveElements&&Yf(c,s))return null;var u=t.claim(a||jl),d="PRE_DRAG";function f(){return l.options.shouldRespectForcePress}function p(){return t.isActive(u)}var h=function(e,t){Zf({expected:e,phase:d,isLockActive:p,shouldWarn:!0})&&r.dispatch(t())}.bind(null,"DRAGGING");function m(e){function n(){t.release(),d="COMPLETED"}function o(t,o){if(void 0===o&&(o={shouldBlockNextClick:!1}),e.cleanup(),o.shouldBlockNextClick){var i=Gl(window,[{eventName:"click",fn:Jf,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(i)}n(),r.dispatch(qu({reason:t}))}return"PRE_DRAG"!==d&&(n(),"PRE_DRAG"!==d&&Yl(!1)),r.dispatch(Pu(e.liftActionArgs)),d="DRAGGING",tn({isActive:function(){return Zf({expected:"DRAGGING",phase:d,isLockActive:p,shouldWarn:!1})},shouldRespectForcePress:f,drop:function(e){return o("DROP",e)},cancel:function(e){return o("CANCEL",e)}},e.actions)}var g={isActive:function(){return Zf({expected:"PRE_DRAG",phase:d,isLockActive:p,shouldWarn:!1})},shouldRespectForcePress:f,fluidLift:function(e){var t=Ul((function(e){h((function(){return ju({client:e})}))}));return tn({},m({liftActionArgs:{id:i,clientSelection:e,movementMode:"FLUID"},cleanup:function(){return t.cancel()},actions:{move:t}}),{move:t})},snapLift:function(){var e={moveUp:function(){return h(Gu)},moveRight:function(){return h(zu)},moveDown:function(){return h(Qu)},moveLeft:function(){return h(Wu)}};return m({liftActionArgs:{id:i,clientSelection:Vf(c),movementMode:"SNAP"},cleanup:jl,actions:e})},abort:function(){Zf({expected:"PRE_DRAG",phase:d,isLockActive:p,shouldWarn:!0})&&t.release()}};return g}var np=[function(e){var t=(0,r.useRef)(Bf),n=(0,r.useRef)(jl),o=Al((function(){return{eventName:"mousedown",fn:function(t){if(!t.defaultPrevented&&t.button===Lf&&!(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)){var r=e.findClosestDraggableId(t);if(r){var o=e.tryGetLock(r,s,{sourceEvent:t});if(o){t.preventDefault();var i={x:t.clientX,y:t.clientY};n.current(),u(o,i)}}}}}}),[e]),i=Al((function(){return{eventName:"webkitmouseforcewillbegin",fn:function(t){if(!t.defaultPrevented){var n=e.findClosestDraggableId(t);if(n){var r=e.findOptionsForDraggable(n);r&&(r.shouldRespectForcePress||e.canGetLock(n)&&t.preventDefault())}}}}}),[e]),a=Sl((function(){n.current=Gl(window,[i,o],{passive:!1,capture:!0})}),[i,o]),s=Sl((function(){"IDLE"!==t.current.type&&(t.current=Bf,n.current(),a())}),[a]),l=Sl((function(){var e=t.current;s(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[s]),c=Sl((function(){var e=Ff({cancel:l,completed:s,getPhase:function(){return t.current},setPhase:function(e){t.current=e}});n.current=Gl(window,e,{capture:!0,passive:!1})}),[l,s]),u=Sl((function(e,n){"IDLE"!==t.current.type&&Yl(!1),t.current={type:"PENDING",point:n,actions:e},c()}),[c]);af((function(){return a(),function(){n.current()}}),[a])},function(e){var t=(0,r.useRef)(Uf),n=Al((function(){return{eventName:"keydown",fn:function(n){if(!n.defaultPrevented&&n.keyCode===kf){var r=e.findClosestDraggableId(n);if(r){var i=e.tryGetLock(r,l,{sourceEvent:n});if(i){n.preventDefault();var a=!0,s=i.snapLift();t.current(),t.current=Gl(window,jf(s,l),{capture:!0,passive:!1})}}}function l(){a||Yl(!1),a=!1,t.current(),o()}}}}),[e]),o=Sl((function(){t.current=Gl(window,[n],{passive:!1,capture:!0})}),[n]);af((function(){return o(),function(){t.current()}}),[o])},function(e){var t=(0,r.useRef)(Gf),n=(0,r.useRef)(jl),o=Sl((function(){return t.current}),[]),i=Sl((function(e){t.current=e}),[]),a=Al((function(){return{eventName:"touchstart",fn:function(t){if(!t.defaultPrevented){var r=e.findClosestDraggableId(t);if(r){var o=e.tryGetLock(r,l,{sourceEvent:t});if(o){var i=t.touches[0],a={x:i.clientX,y:i.clientY};n.current(),f(o,a)}}}}}}),[e]),s=Sl((function(){n.current=Gl(window,[a],{capture:!0,passive:!1})}),[a]),l=Sl((function(){var e=t.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),i(Gf),n.current(),s())}),[s,i]),c=Sl((function(){var e=t.current;l(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[l]),u=Sl((function(){var e={capture:!0,passive:!1},t={cancel:c,completed:l,getPhase:o},r=Gl(window,function(e){var t=e.cancel,n=e.completed,r=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(e){var n=r();if("DRAGGING"===n.type){n.hasMoved=!0;var o=e.touches[0],i={x:o.clientX,y:o.clientY};e.preventDefault(),n.actions.move(i)}else t()}},{eventName:"touchend",fn:function(e){var o=r();"DRAGGING"===o.type?(e.preventDefault(),o.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:"touchcancel",fn:function(e){"DRAGGING"===r().type?(e.preventDefault(),t()):t()}},{eventName:"touchforcechange",fn:function(e){var n=r();"IDLE"===n.type&&Yl(!1);var o=e.touches[0];if(o&&o.force>=Qf){var i=n.actions.shouldRespectForcePress();if("PENDING"!==n.type)return i?n.hasMoved?void e.preventDefault():void t():void e.preventDefault();i&&t()}}},{eventName:Rf,fn:t}]}(t),e),i=Gl(window,function(e){var t=e.cancel,n=e.getPhase;return[{eventName:"orientationchange",fn:t},{eventName:"resize",fn:t},{eventName:"contextmenu",fn:function(e){e.preventDefault()}},{eventName:"keydown",fn:function(e){"DRAGGING"===n().type?(e.keyCode===Cf&&e.preventDefault(),t()):t()}},{eventName:Rf,fn:t}]}(t),e);n.current=function(){r(),i()}}),[c,o,l]),d=Sl((function(){var e=o();"PENDING"!==e.type&&Yl(!1);var t=e.actions.fluidLift(e.point);i({type:"DRAGGING",actions:t,hasMoved:!1})}),[o,i]),f=Sl((function(e,t){"IDLE"!==o().type&&Yl(!1);var n=setTimeout(d,120);i({type:"PENDING",point:t,actions:e,longPressTimerId:n}),u()}),[u,o,i,d]);af((function(){return s(),function(){n.current();var e=o();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),i(Gf))}}),[o,s,i]),af((function(){return Gl(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}])}),[])}];function rp(e){var t=e.contextId,n=e.store,o=e.registry,i=e.customSensors,a=e.enableDefaultSensors,s=[].concat(a?np:[],i||[]),l=(0,r.useState)((function(){return function(){var e=null;function t(){e||Yl(!1),e=null}return{isClaimed:function(){return Boolean(e)},isActive:function(t){return t===e},claim:function(t){e&&Yl(!1);var n={abandon:t};return e=n,n},release:t,tryAbandon:function(){e&&(e.abandon(),t())}}}()}))[0],c=Sl((function(e,t){e.isDragging&&!t.isDragging&&l.tryAbandon()}),[l]);af((function(){var e=n.getState();return n.subscribe((function(){var t=n.getState();c(e,t),e=t}))}),[l,n,c]),af((function(){return l.tryAbandon}),[l.tryAbandon]);var u=Sl((function(e){return ep({lockAPI:l,registry:o,store:n,draggableId:e})}),[l,o,n]),d=Sl((function(e,r,i){return tp({lockAPI:l,registry:o,contextId:t,store:n,draggableId:e,forceSensorStop:r,sourceEvent:i&&i.sourceEvent?i.sourceEvent:null})}),[t,l,o,n]),f=Sl((function(e){return function(e,t){var n=$f(e,t);return n?n.getAttribute(Zd.draggableId):null}(t,e)}),[t]),p=Sl((function(e){var t=o.draggable.findById(e);return t?t.options:null}),[o.draggable]),h=Sl((function(){l.isClaimed()&&(l.tryAbandon(),"IDLE"!==n.getState().phase&&n.dispatch(Yu()))}),[l,n]),m=Sl(l.isClaimed,[l]),g=Al((function(){return{canGetLock:u,tryGetLock:d,findClosestDraggableId:f,findOptionsForDraggable:p,tryReleaseLock:h,isLockClaimed:m}}),[u,d,f,p,h,m]);Tf();for(var E=0;E<s.length;E++)s[E](g)}var op=function(e){return{onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}};function ip(e){return e.current||Yl(!1),e.current}function ap(e){var t=e.contextId,n=e.setCallbacks,o=e.sensors,i=e.nonce,a=e.dragHandleUsageInstructions,s=(0,r.useRef)(null);_f();var l=Af(e),c=Sl((function(){return op(l.current)}),[l]),u=function(e){var t=Al((function(){return gf(e)}),[e]),n=(0,r.useRef)(null);return(0,r.useEffect)((function(){var e=document.createElement("div");return n.current=e,e.id=t,e.setAttribute("aria-live","assertive"),e.setAttribute("aria-atomic","true"),tn(e.style,mf),hf().appendChild(e),function(){setTimeout((function(){var t=hf();t.contains(e)&&t.removeChild(e),e===n.current&&(n.current=null)}))}}),[t]),Sl((function(e){var t=n.current;t&&(t.textContent=e)}),[])}(t),d=function(e){var t=e.contextId,n=e.text,o=yf("hidden-text",{separator:"-"}),i=Al((function(){return"rbd-hidden-text-"+(e={contextId:t,uniqueId:o}).contextId+"-"+e.uniqueId;var e}),[o,t]);return(0,r.useEffect)((function(){var e=document.createElement("div");return e.id=i,e.textContent=n,e.style.display="none",hf().appendChild(e),function(){var t=hf();t.contains(e)&&t.removeChild(e)}}),[i,n]),i}({contextId:t,text:a}),f=function(e,t){var n=Al((function(){return of(e)}),[e]),o=(0,r.useRef)(null),i=(0,r.useRef)(null),a=Sl(Fl((function(e){var t=i.current;t||Yl(!1),t.textContent=e})),[]),s=Sl((function(e){var t=o.current;t||Yl(!1),t.textContent=e}),[]);af((function(){(o.current||i.current)&&Yl(!1);var r=lf(t),l=lf(t);return o.current=r,i.current=l,r.setAttribute(Jd+"-always",e),l.setAttribute(Jd+"-dynamic",e),sf().appendChild(r),sf().appendChild(l),s(n.always),a(n.resting),function(){var e=function(e){var t=e.current;t||Yl(!1),sf().removeChild(t),e.current=null};e(o),e(i)}}),[t,s,a,n.always,n.resting,e]);var l=Sl((function(){return a(n.dragging)}),[a,n.dragging]),c=Sl((function(e){a("DROP"!==e?n.userCancel:n.dropAnimating)}),[a,n.dropAnimating,n.userCancel]),u=Sl((function(){i.current&&a(n.resting)}),[a,n.resting]);return Al((function(){return{dragging:l,dropping:c,resting:u}}),[l,c,u])}(t,i),p=Sl((function(e){ip(s).dispatch(e)}),[]),h=Al((function(){return Ls({publishWhileDragging:Mu,updateDroppableScroll:Fu,updateDroppableIsEnabled:Uu,updateDroppableIsCombineEnabled:Hu,collectionStarting:Bu},p)}),[p]),m=function(){var e=Al(ff,[]);return(0,r.useEffect)((function(){return function(){requestAnimationFrame(e.clean)}}),[e]),e}(),g=Al((function(){return Nd(m,h)}),[m,h]),E=Al((function(){return $d(tn({scrollWindow:xd,scrollDroppable:g.scrollDroppable},Ls({move:ju},p)))}),[g.scrollDroppable,p]),v=function(e){var t=(0,r.useRef)({}),n=(0,r.useRef)(null),o=(0,r.useRef)(null),i=(0,r.useRef)(!1),a=Sl((function(e,n){var r={id:e,focus:n};return t.current[e]=r,function(){var n=t.current;n[e]!==r&&delete n[e]}}),[]),s=Sl((function(t){var n=df(e,t);n&&n!==document.activeElement&&n.focus()}),[e]),l=Sl((function(e,t){n.current===e&&(n.current=t)}),[]),c=Sl((function(){o.current||i.current&&(o.current=requestAnimationFrame((function(){o.current=null;var e=n.current;e&&s(e)})))}),[s]),u=Sl((function(e){n.current=null;var t=document.activeElement;t&&t.getAttribute(Zd.draggableId)===e&&(n.current=e)}),[]);return af((function(){return i.current=!0,function(){i.current=!1;var e=o.current;e&&cancelAnimationFrame(e)}}),[]),Al((function(){return{register:a,tryRecordFocus:u,tryRestoreFocusRecorded:c,tryShiftRecord:l}}),[a,u,c,l])}(t),y=Al((function(){return yd({announce:u,autoScroller:E,dimensionMarshal:g,focusMarshal:v,getResponders:c,styleMarshal:f})}),[u,E,g,v,c,f]);s.current=y;var b=Sl((function(){var e=ip(s);"IDLE"!==e.getState().phase&&e.dispatch(Yu())}),[]),T=Sl((function(){var e=ip(s).getState();return e.isDragging||"DROP_ANIMATING"===e.phase}),[]);n(Al((function(){return{isDragging:T,tryAbort:b}}),[T,b]));var _=Sl((function(e){return Id(ip(s).getState(),e)}),[]),A=Sl((function(){return hu(ip(s).getState())}),[]),S=Al((function(){return{marshal:g,focus:v,contextId:t,canLift:_,isMovementAllowed:A,dragHandleUsageInstructionsId:d,registry:m}}),[t,g,d,v,_,A,m]);return rp({contextId:t,store:y,registry:m,customSensors:o,enableDefaultSensors:!1!==e.enableDefaultSensors}),(0,r.useEffect)((function(){return b}),[b]),r.createElement(bf.Provider,{value:S},r.createElement(Gs,{context:pf,store:y},e.children))}var sp=0;function lp(e){var t=Al((function(){return""+sp++}),[]),n=e.dragHandleUsageInstructions||Jl;return r.createElement(Vl,null,(function(o){return r.createElement(ap,{nonce:e.nonce,contextId:t,setCallbacks:o,dragHandleUsageInstructions:n,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd},e.children)}))}var cp=function(e){return function(t){return e===t}},up=cp("scroll"),dp=cp("auto"),fp=(cp("visible"),function(e,t){return t(e.overflowX)||t(e.overflowY)}),pp=function(e){var t=window.getComputedStyle(e),n={overflowX:t.overflowX,overflowY:t.overflowY};return fp(n,up)||fp(n,dp)},hp=function e(t){return null==t||t===document.body||t===document.documentElement?null:pp(t)?t:e(t.parentElement)},mp=function(e){return{x:e.scrollLeft,y:e.scrollTop}},gp=function e(t){return!!t&&("fixed"===window.getComputedStyle(t).position||e(t.parentElement))},Ep=function(e){return{closestScrollable:hp(e),isFixedOnPage:gp(e)}},vp=function(e){var t=e.ref,n=e.descriptor,r=e.env,o=e.windowScroll,i=e.direction,a=e.isDropDisabled,s=e.isCombineEnabled,l=e.shouldClipSubject,c=r.closestScrollable,u=function(e,t){var n=Pl(e);if(!t)return n;if(e!==t)return n;var r=n.paddingBox.top-t.scrollTop,o=n.paddingBox.left-t.scrollLeft,i=r+t.scrollHeight,a=o+t.scrollWidth,s=Nl({top:r,right:a,bottom:i,left:o},n.border);return Ol({borderBox:s,margin:n.margin,border:n.border,padding:n.padding})}(t,c),d=Rl(u,o),f=function(){if(!c)return null;var e=Pl(c),t={scrollHeight:c.scrollHeight,scrollWidth:c.scrollWidth};return{client:e,page:Rl(e,o),scroll:mp(c),scrollSize:t,shouldClipSubject:l}}(),p=function(e){var t=e.descriptor,n=e.isEnabled,r=e.isCombineEnabled,o=e.isFixedOnPage,i=e.direction,a=e.client,s=e.page,l=e.closest,c=function(){if(!l)return null;var e=l.scrollSize,t=l.client,n=bd({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:t.paddingBox.height,width:t.paddingBox.width});return{pageMarginBox:l.page.marginBox,frameClient:t,scrollSize:e,shouldClipSubject:l.shouldClipSubject,scroll:{initial:l.scroll,current:l.scroll,max:n,diff:{value:nc,displacement:nc}}}}(),u="vertical"===i?Pc:Mc;return{descriptor:t,isCombineEnabled:r,isFixedOnPage:o,axis:u,isEnabled:n,client:a,page:s,frame:c,subject:hc({page:s,withPlaceholder:null,axis:u,frame:c})}}({descriptor:n,isEnabled:!a,isCombineEnabled:s,isFixedOnPage:r.isFixedOnPage,direction:i,client:u,page:d,closest:f});return p},yp={passive:!1},bp={passive:!0},Tp=function(e){return e.shouldPublishImmediately?yp:bp};function _p(e){var t=(0,r.useContext)(e);return t||Yl(!1),t}var Ap=function(e){return e&&e.env.closestScrollable||null};function Sp(){}var Cp={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}},kp=function(e){var t=e.isAnimatingOpenOnMount,n=e.placeholder,r=e.animate,o=function(e){var t=e.isAnimatingOpenOnMount,n=e.placeholder,r=e.animate;return t||"close"===r?Cp:{height:n.client.borderBox.height,width:n.client.borderBox.width,margin:n.client.margin}}({isAnimatingOpenOnMount:t,placeholder:n,animate:r});return{display:n.display,boxSizing:"border-box",width:o.width,height:o.height,marginTop:o.margin.top,marginRight:o.margin.right,marginBottom:o.margin.bottom,marginLeft:o.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:"none"!==r?ed.placeholder:null}};var Np=r.memo((function(e){var t=(0,r.useRef)(null),n=Sl((function(){t.current&&(clearTimeout(t.current),t.current=null)}),[]),o=e.animate,i=e.onTransitionEnd,a=e.onClose,s=e.contextId,l=(0,r.useState)("open"===e.animate),c=l[0],u=l[1];(0,r.useEffect)((function(){return c?"open"!==o?(n(),u(!1),Sp):t.current?Sp:(t.current=setTimeout((function(){t.current=null,u(!1)})),n):Sp}),[o,c,n]);var d=Sl((function(e){"height"===e.propertyName&&(i(),"close"===o&&a())}),[o,a,i]),f=kp({isAnimatingOpenOnMount:c,animate:e.animate,placeholder:e.placeholder});return r.createElement(e.placeholder.tagName,{style:f,"data-rbd-placeholder-context-id":s,onTransitionEnd:d,ref:e.innerRef})})),Ip=r.createContext(null);var xp=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={isVisible:Boolean(t.props.on),data:t.props.on,animate:t.props.shouldAnimate&&t.props.on?"open":"none"},t.onClose=function(){"close"===t.state.animate&&t.setState({isVisible:!1})},t}return Ss(t,e),t.getDerivedStateFromProps=function(e,t){return e.shouldAnimate?e.on?{isVisible:!0,data:e.on,animate:"open"}:t.isVisible?{isVisible:!0,data:t.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(e.on),data:e.on,animate:"none"}},t.prototype.render=function(){if(!this.state.isVisible)return null;var e={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(e)},t}(r.PureComponent),Op={dragging:5e3,dropAnimating:4500},wp=function(e,t){return t?ed.drop(t.duration):e?ed.snap:ed.fluid},Dp=function(e,t){return e?t?$u.drop:$u.combining:null},Rp=function(e){return null!=e.forceShouldAnimate?e.forceShouldAnimate:"SNAP"===e.mode};function Lp(e){return"DRAGGING"===e.type?function(e){var t=e.dimension.client,n=e.offset,r=e.combineWith,o=e.dropping,i=Boolean(r),a=Rp(e),s=Boolean(o),l=s?nd.drop(n,i):nd.moveTo(n);return{position:"fixed",top:t.marginBox.top,left:t.marginBox.left,boxSizing:"border-box",width:t.borderBox.width,height:t.borderBox.height,transition:wp(a,o),transform:l,opacity:Dp(i,s),zIndex:s?Op.dropAnimating:Op.dragging,pointerEvents:"none"}}(e):(t=e,{transform:nd.moveTo(t.offset),transition:t.shouldAnimateDisplacement?null:"none"});var t}function Pp(e){var t=yf("draggable"),n=e.descriptor,o=e.registry,i=e.getDraggableRef,a=e.canDragInteractiveElements,s=e.shouldRespectForcePress,l=e.isEnabled,c=Al((function(){return{canDragInteractiveElements:a,shouldRespectForcePress:s,isEnabled:l}}),[a,l,s]),u=Sl((function(e){var t=i();return t||Yl(!1),function(e,t,n){void 0===n&&(n=nc);var r=window.getComputedStyle(t),o=t.getBoundingClientRect(),i=Ll(o,r),a=Rl(i,n);return{descriptor:e,placeholder:{client:i,tagName:t.tagName.toLowerCase(),display:r.display},displaceBy:{x:i.marginBox.width,y:i.marginBox.height},client:i,page:a}}(n,t,e)}),[n,i]),d=Al((function(){return{uniqueId:t,descriptor:n,options:c,getDimension:u}}),[n,u,c,t]),f=(0,r.useRef)(d),p=(0,r.useRef)(!0);af((function(){return o.draggable.register(f.current),function(){return o.draggable.unregister(f.current)}}),[o.draggable]),af((function(){if(p.current)p.current=!1;else{var e=f.current;f.current=d,o.draggable.update(d,e)}}),[d,o.draggable])}function Mp(e,t,n){_f()}function Bp(e){e.preventDefault()}var Fp=function(e,t){return e===t},Up=function(e){var t=e.combine,n=e.destination;return n?n.droppableId:t?t.droppableId:null};function Hp(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var jp={mapped:{type:"SECONDARY",offset:nc,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Hp(null)}};var Gp=bl((function(){var e,t,n,r=(e=Fl((function(e,t){return{x:e,y:t}})),t=Fl((function(e,t,n,r,o){return{isDragging:!0,isClone:t,isDropAnimating:Boolean(o),dropAnimation:o,mode:e,draggingOver:n,combineWith:r,combineTargetFor:null}})),n=Fl((function(e,n,r,o,i,a,s){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:i,combineWith:a,mode:n,offset:e,dimension:r,forceShouldAnimate:s,snapshot:t(n,o,i,a,null)}}})),function(r,o){if(r.isDragging){if(r.critical.draggable.id!==o.draggableId)return null;var i=r.current.client.offset,a=r.dimensions.draggables[o.draggableId],s=fu(r.impact),l=(u=r.impact).at&&"COMBINE"===u.at.type?u.at.combine.draggableId:null,c=r.forceShouldAnimate;return n(e(i.x,i.y),r.movementMode,a,o.isClone,s,l,c)}var u;if("DROP_ANIMATING"===r.phase){var d=r.completed;if(d.result.draggableId!==o.draggableId)return null;var f=o.isClone,p=r.dimensions.draggables[o.draggableId],h=d.result,m=h.mode,g=Up(h),E=function(e){return e.combine?e.combine.draggableId:null}(h),v={duration:r.dropDuration,curve:Xu,moveTo:r.newHomeClientOffset,opacity:E?$u.drop:null,scale:E?Ju.drop:null};return{mapped:{type:"DRAGGING",offset:r.newHomeClientOffset,dimension:p,dropping:v,draggingOver:g,combineWith:E,mode:m,forceShouldAnimate:null,snapshot:t(m,f,g,E,v)}}}return null}),o=function(){var e=Fl((function(e,t){return{x:e,y:t}})),t=Fl(Hp),n=Fl((function(e,n,r){return void 0===n&&(n=null),{mapped:{type:"SECONDARY",offset:e,combineTargetFor:n,shouldAnimateDisplacement:r,snapshot:t(n)}}})),r=function(e){return e?n(nc,e,!0):null},o=function(t,o,i,a){var s=i.displaced.visible[t],l=Boolean(a.inVirtualList&&a.effected[t]),c=kc(i),u=c&&c.draggableId===t?o:null;if(!s){if(!l)return r(u);if(i.displaced.invisible[t])return null;var d=ac(a.displacedBy.point),f=e(d.x,d.y);return n(f,u,!0)}if(l)return r(u);var p=i.displacedBy.point,h=e(p.x,p.y);return n(h,u,s.shouldAnimate)};return function(e,t){if(e.isDragging)return e.critical.draggable.id===t.draggableId?null:o(t.draggableId,e.critical.draggable.id,e.impact,e.afterCritical);if("DROP_ANIMATING"===e.phase){var n=e.completed;return n.result.draggableId===t.draggableId?null:o(t.draggableId,n.result.draggableId,n.impact,n.afterCritical)}return null}}();return function(e,t){return r(e,t)||o(e,t)||jp}}),{dropAnimationFinished:Ku},null,{context:pf,pure:!0,areStatePropsEqual:Fp})((function(e){var t=(0,r.useRef)(null),n=Sl((function(e){t.current=e}),[]),o=Sl((function(){return t.current}),[]),i=_p(bf),a=i.contextId,s=i.dragHandleUsageInstructionsId,l=i.registry,c=_p(Ip),u=c.type,d=c.droppableId,f=Al((function(){return{id:e.draggableId,index:e.index,type:u,droppableId:d}}),[e.draggableId,e.index,u,d]),p=e.children,h=e.draggableId,m=e.isEnabled,g=e.shouldRespectForcePress,E=e.canDragInteractiveElements,v=e.isClone,y=e.mapped,b=e.dropAnimationFinished;Mp(),Tf(),v||Pp(Al((function(){return{descriptor:f,registry:l,getDraggableRef:o,canDragInteractiveElements:E,shouldRespectForcePress:g,isEnabled:m}}),[f,l,o,E,g,m]));var T=Al((function(){return m?{tabIndex:0,role:"button","aria-describedby":s,"data-rbd-drag-handle-draggable-id":h,"data-rbd-drag-handle-context-id":a,draggable:!1,onDragStart:Bp}:null}),[a,s,h,m]),_=Sl((function(e){"DRAGGING"===y.type&&y.dropping&&"transform"===e.propertyName&&b()}),[b,y]),A=Al((function(){var e=Lp(y),t="DRAGGING"===y.type&&y.dropping?_:null;return{innerRef:n,draggableProps:{"data-rbd-draggable-context-id":a,"data-rbd-draggable-id":h,style:e,onTransitionEnd:t},dragHandleProps:T}}),[a,T,h,y,_,n]),S=Al((function(){return{draggableId:f.id,type:f.type,source:{index:f.index,droppableId:f.droppableId}}}),[f.droppableId,f.id,f.index,f.type]);return p(A,y.snapshot,S)}));function Qp(e){return _p(Ip).isUsingCloneFor!==e.draggableId||e.isClone?r.createElement(Gp,e):null}function zp(e){var t="boolean"!=typeof e.isDragDisabled||!e.isDragDisabled,n=Boolean(e.disableInteractiveElementBlocking),o=Boolean(e.shouldRespectForcePress);return r.createElement(Qp,tn({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:n,shouldRespectForcePress:o}))}var Wp=function(e,t){return e===t.droppable.type},Yp=function(e,t){return t.draggables[e.draggable.id]};var Vp={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:function(){return document.body||Yl(!1),document.body}},qp=bl((function(){var e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},t=tn({},e,{shouldAnimatePlaceholder:!1}),n=Fl((function(e){return{draggableId:e.id,type:e.type,source:{index:e.index,droppableId:e.droppableId}}})),r=Fl((function(r,o,i,a,s,l){var c=s.descriptor.id;if(s.descriptor.droppableId===r){var u=l?{render:l,dragging:n(s.descriptor)}:null,d={isDraggingOver:i,draggingOverWith:i?c:null,draggingFromThisWith:c,isUsingPlaceholder:!0};return{placeholder:s.placeholder,shouldAnimatePlaceholder:!1,snapshot:d,useClone:u}}if(!o)return t;if(!a)return e;var f={isDraggingOver:i,draggingOverWith:c,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:s.placeholder,shouldAnimatePlaceholder:!0,snapshot:f,useClone:null}}));return function(n,o){var i=o.droppableId,a=o.type,s=!o.isDropDisabled,l=o.renderClone;if(n.isDragging){var c=n.critical;if(!Wp(a,c))return t;var u=Yp(c,n.dimensions),d=fu(n.impact)===i;return r(i,s,d,d,u,l)}if("DROP_ANIMATING"===n.phase){var f=n.completed;if(!Wp(a,f.critical))return t;var p=Yp(f.critical,n.dimensions);return r(i,s,Up(f.result)===i,fu(f.impact)===i,p,l)}if("IDLE"===n.phase&&n.completed&&!n.shouldFlush){var h=n.completed;if(!Wp(a,h.critical))return t;var m=fu(h.impact)===i,g=Boolean(h.impact.at&&"COMBINE"===h.impact.at.type),E=h.critical.droppable.id===i;return m?g?e:t:E?e:t}return t}}),{updateViewportMaxScroll:function(e){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e}}},null,{context:pf,pure:!0,areStatePropsEqual:Fp})((function(e){var t=(0,r.useContext)(bf);t||Yl(!1);var n=t.contextId,o=t.isMovementAllowed,i=(0,r.useRef)(null),a=(0,r.useRef)(null),s=e.children,l=e.droppableId,c=e.type,u=e.mode,d=e.direction,f=e.ignoreContainerClipping,p=e.isDropDisabled,h=e.isCombineEnabled,m=e.snapshot,g=e.useClone,E=e.updateViewportMaxScroll,v=e.getContainerForClone,y=Sl((function(){return i.current}),[]),b=Sl((function(e){i.current=e}),[]),T=(Sl((function(){return a.current}),[]),Sl((function(e){a.current=e}),[]));_f();var _=Sl((function(){o()&&E({maxScroll:_d()})}),[o,E]);!function(e){var t=(0,r.useRef)(null),n=_p(bf),o=yf("droppable"),i=n.registry,a=n.marshal,s=Af(e),l=Al((function(){return{id:e.droppableId,type:e.type,mode:e.mode}}),[e.droppableId,e.mode,e.type]),c=(0,r.useRef)(l),u=Al((function(){return Fl((function(e,n){t.current||Yl(!1);var r={x:e,y:n};a.updateDroppableScroll(l.id,r)}))}),[l.id,a]),d=Sl((function(){var e=t.current;return e&&e.env.closestScrollable?mp(e.env.closestScrollable):nc}),[]),f=Sl((function(){var e=d();u(e.x,e.y)}),[d,u]),p=Al((function(){return Ul(f)}),[f]),h=Sl((function(){var e=t.current,n=Ap(e);e&&n||Yl(!1),e.scrollOptions.shouldPublishImmediately?f():p()}),[p,f]),m=Sl((function(e,r){t.current&&Yl(!1);var o=s.current,i=o.getDroppableRef();i||Yl(!1);var a=Ep(i),c={ref:i,descriptor:l,env:a,scrollOptions:r};t.current=c;var u=vp({ref:i,descriptor:l,env:a,windowScroll:e,direction:o.direction,isDropDisabled:o.isDropDisabled,isCombineEnabled:o.isCombineEnabled,shouldClipSubject:!o.ignoreContainerClipping}),d=a.closestScrollable;return d&&(d.setAttribute(nf.contextId,n.contextId),d.addEventListener("scroll",h,Tp(c.scrollOptions))),u}),[n.contextId,l,h,s]),g=Sl((function(){var e=t.current,n=Ap(e);return e&&n||Yl(!1),mp(n)}),[]),E=Sl((function(){var e=t.current;e||Yl(!1);var n=Ap(e);t.current=null,n&&(p.cancel(),n.removeAttribute(nf.contextId),n.removeEventListener("scroll",h,Tp(e.scrollOptions)))}),[h,p]),v=Sl((function(e){var n=t.current;n||Yl(!1);var r=Ap(n);r||Yl(!1),r.scrollTop+=e.y,r.scrollLeft+=e.x}),[]),y=Al((function(){return{getDimensionAndWatchScroll:m,getScrollWhileDragging:g,dragStopped:E,scroll:v}}),[E,m,g,v]),b=Al((function(){return{uniqueId:o,descriptor:l,callbacks:y}}),[y,l,o]);af((function(){return c.current=b.descriptor,i.droppable.register(b),function(){t.current&&E(),i.droppable.unregister(b)}}),[y,l,E,b,a,i.droppable]),af((function(){t.current&&a.updateDroppableIsEnabled(c.current.id,!e.isDropDisabled)}),[e.isDropDisabled,a]),af((function(){t.current&&a.updateDroppableIsCombineEnabled(c.current.id,e.isCombineEnabled)}),[e.isCombineEnabled,a])}({droppableId:l,type:c,mode:u,direction:d,isDropDisabled:p,isCombineEnabled:h,ignoreContainerClipping:f,getDroppableRef:y});var A=r.createElement(xp,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},(function(e){var t=e.onClose,o=e.data,i=e.animate;return r.createElement(Np,{placeholder:o,onClose:t,innerRef:T,animate:i,contextId:n,onTransitionEnd:_})})),S=Al((function(){return{innerRef:b,placeholder:A,droppableProps:{"data-rbd-droppable-id":l,"data-rbd-droppable-context-id":n}}}),[n,l,A,b]),C=g?g.dragging.draggableId:null,k=Al((function(){return{droppableId:l,type:c,isUsingCloneFor:C}}),[l,C,c]);return r.createElement(Ip.Provider,{value:k},s(S,m),function(){if(!g)return null;var e=g.dragging,t=g.render,n=r.createElement(Qp,{draggableId:e.draggableId,index:e.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(function(n,r){return t(n,r,e)}));return ln.createPortal(n,v())}())}));function Kp(e){const t=[],n=String(e||"");let r=n.indexOf(","),o=0,i=!1;for(;!i;){-1===r&&(r=n.length,i=!0);const e=n.slice(o,r).trim();!e&&i||t.push(e),o=r+1,r=n.indexOf(",",o)}return t}function Xp(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}qp.defaultProps=Vp;const $p=/[ \t\n\f\r]/g;function Jp(e){return""===e.replace($p,"")}class Zp{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function eh(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new Zp(n,r,t)}function th(e){return e.toLowerCase()}Zp.prototype.property={},Zp.prototype.normal={},Zp.prototype.space=null;class nh{constructor(e,t){this.property=e,this.attribute=t}}nh.prototype.space=null,nh.prototype.boolean=!1,nh.prototype.booleanish=!1,nh.prototype.overloadedBoolean=!1,nh.prototype.number=!1,nh.prototype.commaSeparated=!1,nh.prototype.spaceSeparated=!1,nh.prototype.commaOrSpaceSeparated=!1,nh.prototype.mustUseProperty=!1,nh.prototype.defined=!1;let rh=0;const oh=dh(),ih=dh(),ah=dh(),sh=dh(),lh=dh(),ch=dh(),uh=dh();function dh(){return 2**++rh}const fh=Object.keys(t);class ph extends nh{constructor(e,n,r,o){let i=-1;if(super(e,n),hh(this,"space",o),"number"==typeof r)for(;++i<fh.length;){const e=fh[i];hh(this,fh[i],(r&t[e])===t[e])}}}function hh(e,t,n){n&&(e[t]=n)}ph.prototype.defined=!0;const mh={}.hasOwnProperty;function gh(e){const t={},n={};let r;for(r in e.properties)if(mh.call(e.properties,r)){const o=e.properties[r],i=new ph(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[th(r)]=r,n[th(i.attribute)]=r}return new Zp(t,n,e.space)}const Eh=gh({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),vh=gh({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function yh(e,t){return t in e?e[t]:t}function bh(e,t){return yh(e,t.toLowerCase())}const Th=gh({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:bh,properties:{xmlns:null,xmlnsXLink:null}}),_h=gh({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:ih,ariaAutoComplete:null,ariaBusy:ih,ariaChecked:ih,ariaColCount:sh,ariaColIndex:sh,ariaColSpan:sh,ariaControls:lh,ariaCurrent:null,ariaDescribedBy:lh,ariaDetails:null,ariaDisabled:ih,ariaDropEffect:lh,ariaErrorMessage:null,ariaExpanded:ih,ariaFlowTo:lh,ariaGrabbed:ih,ariaHasPopup:null,ariaHidden:ih,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:lh,ariaLevel:sh,ariaLive:null,ariaModal:ih,ariaMultiLine:ih,ariaMultiSelectable:ih,ariaOrientation:null,ariaOwns:lh,ariaPlaceholder:null,ariaPosInSet:sh,ariaPressed:ih,ariaReadOnly:ih,ariaRelevant:null,ariaRequired:ih,ariaRoleDescription:lh,ariaRowCount:sh,ariaRowIndex:sh,ariaRowSpan:sh,ariaSelected:ih,ariaSetSize:sh,ariaSort:null,ariaValueMax:sh,ariaValueMin:sh,ariaValueNow:sh,ariaValueText:null,role:null}}),Ah=gh({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:bh,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ch,acceptCharset:lh,accessKey:lh,action:null,allow:null,allowFullScreen:oh,allowPaymentRequest:oh,allowUserMedia:oh,alt:null,as:null,async:oh,autoCapitalize:null,autoComplete:lh,autoFocus:oh,autoPlay:oh,blocking:lh,capture:oh,charSet:null,checked:oh,cite:null,className:lh,cols:sh,colSpan:null,content:null,contentEditable:ih,controls:oh,controlsList:lh,coords:sh|ch,crossOrigin:null,data:null,dateTime:null,decoding:null,default:oh,defer:oh,dir:null,dirName:null,disabled:oh,download:ah,draggable:ih,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:oh,formTarget:null,headers:lh,height:sh,hidden:oh,high:sh,href:null,hrefLang:null,htmlFor:lh,httpEquiv:lh,id:null,imageSizes:null,imageSrcSet:null,inert:oh,inputMode:null,integrity:null,is:null,isMap:oh,itemId:null,itemProp:lh,itemRef:lh,itemScope:oh,itemType:lh,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:oh,low:sh,manifest:null,max:null,maxLength:sh,media:null,method:null,min:null,minLength:sh,multiple:oh,muted:oh,name:null,nonce:null,noModule:oh,noValidate:oh,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:oh,optimum:sh,pattern:null,ping:lh,placeholder:null,playsInline:oh,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:oh,referrerPolicy:null,rel:lh,required:oh,reversed:oh,rows:sh,rowSpan:sh,sandbox:lh,scope:null,scoped:oh,seamless:oh,selected:oh,shadowRootDelegatesFocus:oh,shadowRootMode:null,shape:null,size:sh,sizes:null,slot:null,span:sh,spellCheck:ih,src:null,srcDoc:null,srcLang:null,srcSet:null,start:sh,step:null,style:null,tabIndex:sh,target:null,title:null,translate:null,type:null,typeMustMatch:oh,useMap:null,value:ih,width:sh,wrap:null,align:null,aLink:null,archive:lh,axis:null,background:null,bgColor:null,border:sh,borderColor:null,bottomMargin:sh,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:oh,declare:oh,event:null,face:null,frame:null,frameBorder:null,hSpace:sh,leftMargin:sh,link:null,longDesc:null,lowSrc:null,marginHeight:sh,marginWidth:sh,noResize:oh,noHref:oh,noShade:oh,noWrap:oh,object:null,profile:null,prompt:null,rev:null,rightMargin:sh,rules:null,scheme:null,scrolling:ih,standby:null,summary:null,text:null,topMargin:sh,valueType:null,version:null,vAlign:null,vLink:null,vSpace:sh,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:oh,disableRemotePlayback:oh,prefix:null,property:null,results:sh,security:null,unselectable:null}}),Sh=gh({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:yh,properties:{about:uh,accentHeight:sh,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:sh,amplitude:sh,arabicForm:null,ascent:sh,attributeName:null,attributeType:null,azimuth:sh,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:sh,by:null,calcMode:null,capHeight:sh,className:lh,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:sh,diffuseConstant:sh,direction:null,display:null,dur:null,divisor:sh,dominantBaseline:null,download:oh,dx:null,dy:null,edgeMode:null,editable:null,elevation:sh,enableBackground:null,end:null,event:null,exponent:sh,externalResourcesRequired:null,fill:null,fillOpacity:sh,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ch,g2:ch,glyphName:ch,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:sh,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:sh,horizOriginX:sh,horizOriginY:sh,id:null,ideographic:sh,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:sh,k:sh,k1:sh,k2:sh,k3:sh,k4:sh,kernelMatrix:uh,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:sh,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:sh,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:sh,overlineThickness:sh,paintOrder:null,panose1:null,path:null,pathLength:sh,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:lh,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:sh,pointsAtY:sh,pointsAtZ:sh,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:uh,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:uh,rev:uh,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:uh,requiredFeatures:uh,requiredFonts:uh,requiredFormats:uh,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:sh,specularExponent:sh,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:sh,strikethroughThickness:sh,string:null,stroke:null,strokeDashArray:uh,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:sh,strokeOpacity:sh,strokeWidth:null,style:null,surfaceScale:sh,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:uh,tabIndex:sh,tableValues:null,target:null,targetX:sh,targetY:sh,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:uh,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:sh,underlineThickness:sh,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:sh,values:null,vAlphabetic:sh,vMathematical:sh,vectorEffect:null,vHanging:sh,vIdeographic:sh,version:null,vertAdvY:sh,vertOriginX:sh,vertOriginY:sh,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:sh,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Ch=eh([vh,Eh,Th,_h,Ah],"html"),kh=eh([vh,Eh,Th,_h,Sh],"svg"),Nh=/^data[-\w.:]+$/i,Ih=/-[a-z]/g,xh=/[A-Z]/g;function Oh(e,t){const n=th(t);let r=t,o=nh;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&Nh.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(Ih,Dh);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!Ih.test(e)){let n=e.replace(xh,wh);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=ph}return new o(r,t)}function wh(e){return"-"+e.toLowerCase()}function Dh(e){return e.charAt(1).toUpperCase()}const Rh={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};function Lh(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Ph(e){return e.join(" ").trim()}const Mh=o(848),Bh=Uh("end"),Fh=Uh("start");function Uh(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function Hh(e){return e&&"object"==typeof e?"position"in e||"type"in e?Gh(e.position):"start"in e||"end"in e?Gh(e):"line"in e||"column"in e?jh(e):"":""}function jh(e){return Qh(e&&e.line)+":"+Qh(e&&e.column)}function Gh(e){return jh(e&&e.start)+"-"+jh(e&&e.end)}function Qh(e){return e&&"number"==typeof e?e:1}class zh extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",o={},i=!1;if(t&&(o="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!o.cause&&e&&(i=!0,r=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?o.ruleId=n:(o.source=n.slice(0,e),o.ruleId=n.slice(e+1))}if(!o.place&&o.ancestors&&o.ancestors){const e=o.ancestors[o.ancestors.length-1];e&&(o.place=e.position)}const a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=a?a.line:void 0,this.name=Hh(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=i&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}zh.prototype.file="",zh.prototype.name="",zh.prototype.reason="",zh.prototype.message="",zh.prototype.stack="",zh.prototype.column=void 0,zh.prototype.line=void 0,zh.prototype.ancestors=void 0,zh.prototype.cause=void 0,zh.prototype.fatal=void 0,zh.prototype.place=void 0,zh.prototype.ruleId=void 0,zh.prototype.source=void 0;const Wh={}.hasOwnProperty,Yh=new Map,Vh=/[A-Z]/g,qh=/-([a-z])/g,Kh=new Set(["table","tbody","thead","tfoot","tr"]),Xh=new Set(["td","th"]);function $h(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if("function"!=typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(e,t){return n;function n(n,r,o,i){const a=Array.isArray(o.children),s=Fh(n);return t(r,o,i,a,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}(n,t.jsxDEV)}else{if("function"!=typeof t.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");r=function(e,t,n){return r;function r(e,r,o,i){const a=Array.isArray(o.children)?n:t;return i?a(r,o,i):a(r,o)}}(0,t.jsx,t.jsxs)}const o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?kh:Ch,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},i=Jh(o,e,void 0);return i&&"string"!=typeof i?i:o.create(e,o.Fragment,{children:i||void 0},void 0)}function Jh(e,t,n){if("element"===t.type||"root"===t.type){const r=e.schema;let o=r;"element"===t.type&&"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(o=kh,e.schema=o),e.ancestors.push(t);let i=function(e,t){const n=[];let r=-1;const o=e.passKeys?new Map:Yh;for(;++r<t.children.length;){const i=t.children[r];let a;if(e.passKeys&&"element"===i.type){const e=o.get(i.tagName)||0;a=i.tagName+"-"+e,o.set(i.tagName,e+1)}const s=Jh(e,i,a);void 0!==s&&n.push(s)}return n}(e,t);const a=function(e,t){const n=t[t.length-1],r={};let o;if("properties"in n&&n.properties){let i;for(o in n.properties)if("children"!==o&&Wh.call(n.properties,o)){const a=Zh(e,t,o,n.properties[o]);if(a){const[t,o]=a;e.tableCellAlignToStyle&&"align"===t&&"string"==typeof o&&Xh.has(n.tagName)?i=o:r[t]=o}}if(i){(r.style||(r.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=i}}return r}(e,e.ancestors);let s=e.Fragment;if(e.ancestors.pop(),"element"===t.type)if(i&&Kh.has(t.tagName)&&(i=i.filter((function(e){return"string"!=typeof e||!("object"==typeof(t=e)?"text"===t.type&&Jp(t.value):Jp(t));var t}))),Wh.call(e.components,t.tagName)){const n=t.tagName;s=e.components[n],"string"!=typeof s&&s!==e.Fragment&&e.passNode&&(a.node=t)}else s=t.tagName;if(i.length>0){const e=i.length>1?i:i[0];e&&(a.children=e)}return e.schema=r,e.create(t,s,a,n)}if("text"===t.type)return t.value}function Zh(e,t,n,r){const o=Oh(e.schema,n);if(!(null==r||"number"==typeof r&&Number.isNaN(r))){if(Array.isArray(r)&&(r=o.commaSeparated?Xp(r):Ph(r)),"style"===o.property){let n="object"==typeof r?r:function(e,t,n){const r={};try{Mh(n,o)}catch(n){if(!e.ignoreInvalidStyle){const r=new zh("Cannot parse `style` attribute",{ancestors:t,cause:n,source:"hast-util-to-jsx-runtime",ruleId:"style"});throw r.file=e.filePath||void 0,r.url="https://github.com/syntax-tree/hast-util-to-jsx-runtime#cannot-parse-style-attribute",r}}return r;function o(e,t){let n=e;"--"!==n.slice(0,2)&&("-ms-"===n.slice(0,4)&&(n="ms-"+n.slice(4)),n=n.replace(qh,tm)),r[n]=t}}(e,t,String(r));return"css"===e.stylePropertyNameCase&&(n=function(e){const t={};let n;for(n in e)Wh.call(e,n)&&(t[em(n)]=e[n]);return t}(n)),["style",n]}return["react"===e.elementAttributeNameCase&&o.space?Rh[o.property]||o.property:o.attribute,r]}}function em(e){let t=e.replace(Vh,nm);return"ms-"===t.slice(0,3)&&(t="-"+t),t}function tm(e,t){return t.toUpperCase()}function nm(e){return"-"+e.toLowerCase()}const rm={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},om={};function im(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return am(e.children,t,n)}return Array.isArray(e)?am(e,t,n):""}function am(e,t,n){const r=[];let o=-1;for(;++o<e.length;)r[o]=im(e[o],t,n);return r.join("")}function sm(e,t,n,r){const o=e.length;let i,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);a<r.length;)i=r.slice(a,a+1e4),i.unshift(t,0),e.splice(...i),a+=1e4,t+=1e4}function lm(e,t){return e.length>0?(sm(e,e.length,0,t),e):t}function cm(e){const t={};let n,r,o,i,a,s,l,c=-1;for(;++c<e.length;){for(;c in t;)c=t[c];if(n=e[c],c&&"chunkFlow"===n[1].type&&"listItemPrefix"===e[c-1][1].type&&(s=n[1]._tokenizer.events,o=0,o<s.length&&"lineEndingBlank"===s[o][1].type&&(o+=2),o<s.length&&"content"===s[o][1].type))for(;++o<s.length&&"content"!==s[o][1].type;)"chunkText"===s[o][1].type&&(s[o][1]._isInFirstContentOfListItem=!0,o++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,um(e,c)),c=t[c],l=!0);else if(n[1]._container){for(o=c,r=void 0;o--&&(i=e[o],"lineEnding"===i[1].type||"lineEndingBlank"===i[1].type);)"enter"===i[0]&&(r&&(e[r][1].type="lineEndingBlank"),i[1].type="lineEnding",r=o);r&&(n[1].end=Object.assign({},e[r][1].start),a=e.slice(r,c),a.unshift(n),sm(e,r,c-r+1,a))}}return!l}function um(e,t){const n=e[t][1],r=e[t][2];let o=t-1;const i=[],a=n._tokenizer||r.parser[n.contentType](n.start),s=a.events,l=[],c={};let u,d,f=-1,p=n,h=0,m=0;const g=[m];for(;p;){for(;e[++o][1]!==p;);i.push(o),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),d&&a.defineSkip(p.start),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(u),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<s.length;)"exit"===s[f][0]&&"enter"===s[f-1][0]&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(m=f+1,g.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(a.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),f=g.length;f--;){const t=s.slice(g[f],g[f+1]),n=i.pop();l.unshift([n,n+t.length-1]),sm(e,n,2,t)}for(f=-1;++f<l.length;)c[h+l[f][0]]=h+l[f][1],h+=l[f][1]-l[f][0]-1;return c}const dm={}.hasOwnProperty;function fm(e,t){let n;for(n in t){const r=(dm.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let i;if(o)for(i in o){dm.call(r,i)||(r[i]=[]);const e=o[i];pm(r[i],Array.isArray(e)?e:e?[e]:[])}}}function pm(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);sm(e,0,0,r)}const hm=km(/\p{P}/u),mm=km(/[A-Za-z]/),gm=km(/[\dA-Za-z]/),Em=km(/[#-'*+\--9=?A-Z^-~]/);function vm(e){return null!==e&&(e<32||127===e)}const ym=km(/\d/),bm=km(/[\dA-Fa-f]/),Tm=km(/[!-/:-@[-`{-~]/);function _m(e){return null!==e&&e<-2}function Am(e){return null!==e&&(e<0||32===e)}function Sm(e){return-2===e||-1===e||32===e}const Cm=km(/\s/);function km(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function Nm(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){if(Sm(r))return e.enter(n),a(r);return t(r)};function a(r){return Sm(r)&&i++<o?(e.consume(r),a):(e.exit(n),t(r))}}const Im={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(n){if(null===n)return void e.consume(n);return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Nm(e,t,"linePrefix")}),(function(t){return e.enter("paragraph"),r(t)}));let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):_m(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),o)}}};const xm={tokenize:function(e){const t=this,n=[];let r,o,i,a=0;return s;function s(r){if(a<n.length){const o=n[a];return t.containerState=o[1],e.attempt(o[0].continuation,l,c)(r)}return c(r)}function l(e){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&v();const n=t.events.length;let o,i=n;for(;i--;)if("exit"===t.events[i][0]&&"chunkFlow"===t.events[i][1].type){o=t.events[i][1].end;break}E(a);let s=n;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},o),s++;return sm(t.events,i+1,0,t.events.slice(n)),t.events.length=s,c(e)}return s(e)}function c(o){if(a===n.length){if(!r)return f(o);if(r.currentConstruct&&r.currentConstruct.concrete)return h(o);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Om,u,d)(o)}function u(e){return r&&v(),E(a),f(e)}function d(e){return t.parser.lazy[t.now().line]=a!==n.length,i=t.now().offset,h(e)}function f(n){return t.containerState={},e.attempt(Om,p,h)(n)}function p(e){return a++,n.push([t.currentConstruct,t.containerState]),f(e)}function h(n){return null===n?(r&&v(),E(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:r}),m(n))}function m(n){return null===n?(g(e.exit("chunkFlow"),!0),E(0),void e.consume(n)):_m(n)?(e.consume(n),g(e.exit("chunkFlow")),a=0,t.interrupt=void 0,s):(e.consume(n),m)}function g(e,n){const s=t.sliceStream(e);if(n&&s.push(null),e.previous=o,o&&(o.next=e),o=e,r.defineSkip(e.start),r.write(s),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<i&&(!r.events[e][1].end||r.events[e][1].end.offset>i))return;const n=t.events.length;let o,s,l=n;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(o){s=t.events[l][1].end;break}o=!0}for(E(a),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},s),e++;sm(t.events,l+1,0,t.events.slice(n)),t.events.length=e}}function E(r){let o=n.length;for(;o-- >r;){const r=n[o];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},Om={tokenize:function(e,t,n){return Nm(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const wm={tokenize:function(e,t,n){return function(t){return Sm(t)?Nm(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||_m(e)?t(e):n(e)}},partial:!0};const Dm={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?o(t):_m(t)?e.check(Rm,i,o)(t):(e.consume(t),r)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function i(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return cm(e),e}},Rm={tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Nm(e,o,"linePrefix")};function o(o){if(null===o||_m(o))return n(o);const i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}},partial:!0};const Lm={tokenize:function(e){const t=this,n=e.attempt(wm,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,Nm(e,e.attempt(this.parser.constructs.flow,r,e.attempt(Dm,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const Pm={resolveAll:Um()},Mm=Fm("string"),Bm=Fm("text");function Fm(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,i,a);return i;function i(e){return l(e)?o(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),o(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o<t.length;){const e=t[o];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},resolveAll:Um("text"===e?Hm:void 0)}}function Um(e){return function(t,n){let r,o=-1;for(;++o<=t.length;)void 0===r?t[o]&&"data"===t[o][1].type&&(r=o,o++):t[o]&&"data"===t[o][1].type||(o!==r+2&&(t[r][1].end=t[o-1][1].end,t.splice(r+2,o-r-2),o=r+2),r=void 0);return e?e(t,n):t}}function Hm(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const r=e[n-1][1],o=t.sliceStream(r);let i,a=o.length,s=-1,l=0;for(;a--;){const e=o[a];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===e)i=!0,l++;else if(-1!==e){a++;break}}if(l){const o={type:n===e.length||i||l<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-l,offset:r.end.offset-l,_index:r.start._index+a,_bufferIndex:a?s:r.start._bufferIndex+s},end:Object.assign({},r.end)};r.end=Object.assign({},o.start),r.start.offset===r.end.offset?Object.assign(r,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}function jm(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}function Gm(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const o={},i=[];let a=[],s=[],l=!0;const c={consume:function(e){_m(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,b()):-1!==e&&(r.column++,r.offset++);r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++));u.previous=e,l=!0},enter:function(e,t){const n=t||{};return n.type=e,n.start=h(),u.events.push(["enter",n,u]),s.push(n),n},exit:function(e){const t=s.pop();return t.end=h(),u.events.push(["exit",t,u]),t},attempt:v((function(e,t){y(e,t.from)})),check:v(E),interrupt:v(E,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:p,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let o;for(;++n<e.length;){const i=e[n];let a;if("string"==typeof i)a=i;else switch(i){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&o)continue;a=" ";break;default:a=String.fromCharCode(i)}o=-2===i,r.push(a)}return r.join("")}(p(e),t)},now:h,defineSkip:function(e){o[e.line]=e.column,b()},write:function(e){if(a=lm(a,e),m(),null!==a[a.length-1])return[];return y(t,0),u.events=jm(i,u.events,u),u.events}};let d,f=t.tokenize.call(u,c);return t.resolveAll&&i.push(t),u;function p(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;let a;if(n===o)a=[e[n].slice(r,i)];else{if(a=e.slice(n,o),r>-1){const e=a[0];"string"==typeof e?a[0]=e.slice(r):a.shift()}i>0&&a.push(e[o].slice(0,i))}return a}(a,e)}function h(){const{line:e,column:t,offset:n,_index:o,_bufferIndex:i}=r;return{line:e,column:t,offset:n,_index:o,_bufferIndex:i}}function m(){let e;for(;r._index<a.length;){const t=a[r._index];if("string"==typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)g(t.charCodeAt(r._bufferIndex));else g(t)}}function g(e){l=void 0,d=e,f=f(e)}function E(e,t){t.restore()}function v(e,t){return function(n,o,i){let a,d,f,p;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):function(e){return t;function t(t){const n=null!==t&&e[t],r=null!==t&&e.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function m(e){return a=e,d=0,0===e.length?i:g(e[d])}function g(e){return function(n){p=function(){const e=h(),t=u.previous,n=u.currentConstruct,o=u.events.length,i=Array.from(s);return{restore:a,from:o};function a(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=o,s=i,b()}}(),f=e,e.partial||(u.currentConstruct=e);if(e.name&&u.parser.constructs.disable.null.includes(e.name))return v(n);return e.tokenize.call(t?Object.assign(Object.create(u),t):u,c,E,v)(n)}}function E(t){return l=!0,e(f,p),o}function v(e){return l=!0,p.restore(),++d<a.length?g(a[d]):i}}}function y(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&sm(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function b(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}const Qm={name:"thematicBreak",tokenize:function(e,t,n){let r,o=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,i(e)}(t)};function i(i){return i===r?(e.enter("thematicBreakSequence"),a(i)):o>=3&&(null===i||_m(i))?(e.exit("thematicBreak"),t(i)):n(i)}function a(t){return t===r?(e.consume(t),o++,a):(e.exit("thematicBreakSequence"),Sm(t)?Nm(e,i,"whitespace")(t):i(t))}}};const zm={name:"list",tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1];let i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,a=0;return function(t){const o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:ym(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(Qm,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(t)}return n(t)};function s(t){return ym(t)&&++a<10?(e.consume(t),s):(!r.interrupt||a<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),l(t)):n(t)}function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(wm,r.interrupt?n:c,e.attempt(Wm,d,u))}function c(e){return r.containerState.initialBlankLine=!0,i++,d(e)}function u(t){return Sm(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),d):n(t)}function d(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(wm,o,i);function o(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Nm(e,t,"listItemIndent",r.containerState.size+1)(n)}function i(n){return r.containerState.furtherBlankLines||!Sm(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Ym,t,a)(n))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,Nm(e,e.attempt(zm,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},Wm={tokenize:function(e,t,n){const r=this;return Nm(e,(function(e){const o=r.events[r.events.length-1];return!Sm(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},Ym={tokenize:function(e,t,n){const r=this;return Nm(e,(function(e){const o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};const Vm={name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return n(t)};function o(n){return Sm(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){const r=this;return function(t){if(Sm(t))return Nm(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t);return o(t)};function o(r){return e.attempt(Vm,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function qm(e,t,n,r,o,i,a,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return function(t){if(60===t)return e.enter(r),e.enter(o),e.enter(i),e.consume(t),e.exit(i),d;if(null===t||32===t||41===t||vm(t))return n(t);return e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),h(t)};function d(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(o),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(s),d(t)):null===t||60===t||_m(t)?n(t):(e.consume(t),92===t?p:f)}function p(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function h(o){return u||null!==o&&41!==o&&!Am(o)?u<c&&40===o?(e.consume(o),u++,h):41===o?(e.consume(o),u--,h):null===o||32===o||40===o||vm(o)?n(o):(e.consume(o),92===o?m:h):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(o))}function m(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function Km(e,t,n,r,o,i){const a=this;let s,l=0;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),e.enter(i),c};function c(d){return l>999||null===d||91===d||93===d&&!s||94===d&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(d):93===d?(e.exit(i),e.enter(o),e.consume(d),e.exit(o),e.exit(r),t):_m(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||_m(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),s||(s=!Sm(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function Xm(e,t,n,r,o,i){let a;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(o),e.consume(t),e.exit(o),a=40===t?41:t,s;return n(t)};function s(n){return n===a?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(i),l(n))}function l(t){return t===a?(e.exit(i),s(a)):null===t?n(t):_m(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Nm(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===a||null===t||_m(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===a||92===t?(e.consume(t),c):c(t)}}function $m(e,t){let n;return function r(o){if(_m(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r;if(Sm(o))return Nm(e,r,n?"linePrefix":"lineSuffix")(o);return t(o)}}function Jm(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Zm={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),function(t){return Km.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function i(t){return o=Jm(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return Am(t)?$m(e,s)(t):s(t)}function s(t){return qm(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(eg,c,c)(t)}function c(t){return Sm(t)?Nm(e,u,"whitespace")(t):u(t)}function u(i){return null===i||_m(i)?(e.exit("definition"),r.parser.defined.push(o),t(i)):n(i)}}},eg={tokenize:function(e,t,n){return function(t){return Am(t)?$m(e,r)(t):n(t)};function r(t){return Xm(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return Sm(t)?Nm(e,i,"whitespace")(t):i(t)}function i(e){return null===e||_m(e)?t(e):n(e)}},partial:!0};const tg={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),Nm(e,o,"linePrefix",5)(t)};function o(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?i(e):n(e)}function i(t){return null===t?s(t):_m(t)?e.attempt(ng,i,s)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||_m(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),a)}function s(n){return e.exit("codeIndented"),t(n)}}},ng={tokenize:function(e,t,n){const r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):_m(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):Nm(e,i,"linePrefix",5)(t)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):_m(e)?o(e):n(e)}},partial:!0};const rg={name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),o(t)}(t)};function o(t){return 35===t&&r++<6?(e.consume(t),o):null===t||Am(t)?(e.exit("atxHeadingSequence"),i(t)):n(t)}function i(n){return 35===n?(e.enter("atxHeadingSequence"),a(n)):null===n||_m(n)?(e.exit("atxHeading"),t(n)):Sm(n)?Nm(e,i,"whitespace")(n):(e.enter("atxHeadingText"),s(n))}function a(t){return 35===t?(e.consume(t),a):(e.exit("atxHeadingSequence"),i(t))}function s(t){return null===t||35===t||Am(t)?(e.exit("atxHeadingText"),i(t)):(e.consume(t),s)}},resolve:function(e,t){let n,r,o=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);o-2>i&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4);o>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},sm(e,i,o-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const og={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let o;return function(t){let a,s=r.events.length;for(;s--;)if("lineEnding"!==r.events[s][1].type&&"linePrefix"!==r.events[s][1].type&&"content"!==r.events[s][1].type){a="paragraph"===r.events[s][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||a))return e.enter("setextHeadingLine"),o=t,function(t){return e.enter("setextHeadingLineSequence"),i(t)}(t);return n(t)};function i(t){return t===o?(e.consume(t),i):(e.exit("setextHeadingLineSequence"),Sm(t)?Nm(e,a,"lineSuffix")(t):a(t))}function a(r){return null===r||_m(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const a={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",a,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[o][1].end)):e[n][1]=a;return e.push(["exit",a,t]),e}};const ig=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ag=["pre","script","style","textarea"],sg={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let o,i,a,s,l;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)};function c(s){return 33===s?(e.consume(s),u):47===s?(e.consume(s),i=!0,p):63===s?(e.consume(s),o=3,r.interrupt?t:L):mm(s)?(e.consume(s),a=String.fromCharCode(s),h):n(s)}function u(i){return 45===i?(e.consume(i),o=2,d):91===i?(e.consume(i),o=5,s=0,f):mm(i)?(e.consume(i),o=4,r.interrupt?t:L):n(i)}function d(o){return 45===o?(e.consume(o),r.interrupt?t:L):n(o)}function f(o){const i="CDATA[";return o===i.charCodeAt(s++)?(e.consume(o),6===s?r.interrupt?t:k:f):n(o)}function p(t){return mm(t)?(e.consume(t),a=String.fromCharCode(t),h):n(t)}function h(s){if(null===s||47===s||62===s||Am(s)){const l=47===s,c=a.toLowerCase();return l||i||!ag.includes(c)?ig.includes(a.toLowerCase())?(o=6,l?(e.consume(s),m):r.interrupt?t(s):k(s)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):i?g(s):E(s)):(o=1,r.interrupt?t(s):k(s))}return 45===s||gm(s)?(e.consume(s),a+=String.fromCharCode(s),h):n(s)}function m(o){return 62===o?(e.consume(o),r.interrupt?t:k):n(o)}function g(t){return Sm(t)?(e.consume(t),g):S(t)}function E(t){return 47===t?(e.consume(t),S):58===t||95===t||mm(t)?(e.consume(t),v):Sm(t)?(e.consume(t),E):S(t)}function v(t){return 45===t||46===t||58===t||95===t||gm(t)?(e.consume(t),v):y(t)}function y(t){return 61===t?(e.consume(t),b):Sm(t)?(e.consume(t),y):E(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,T):Sm(t)?(e.consume(t),b):_(t)}function T(t){return t===l?(e.consume(t),l=null,A):null===t||_m(t)?n(t):(e.consume(t),T)}function _(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||Am(t)?y(t):(e.consume(t),_)}function A(e){return 47===e||62===e||Sm(e)?E(e):n(e)}function S(t){return 62===t?(e.consume(t),C):n(t)}function C(t){return null===t||_m(t)?k(t):Sm(t)?(e.consume(t),C):n(t)}function k(t){return 45===t&&2===o?(e.consume(t),O):60===t&&1===o?(e.consume(t),w):62===t&&4===o?(e.consume(t),P):63===t&&3===o?(e.consume(t),L):93===t&&5===o?(e.consume(t),R):!_m(t)||6!==o&&7!==o?null===t||_m(t)?(e.exit("htmlFlowData"),N(t)):(e.consume(t),k):(e.exit("htmlFlowData"),e.check(lg,M,N)(t))}function N(t){return e.check(cg,I,M)(t)}function I(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),x}function x(t){return null===t||_m(t)?N(t):(e.enter("htmlFlowData"),k(t))}function O(t){return 45===t?(e.consume(t),L):k(t)}function w(t){return 47===t?(e.consume(t),a="",D):k(t)}function D(t){if(62===t){const n=a.toLowerCase();return ag.includes(n)?(e.consume(t),P):k(t)}return mm(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),D):k(t)}function R(t){return 93===t?(e.consume(t),L):k(t)}function L(t){return 62===t?(e.consume(t),P):45===t&&2===o?(e.consume(t),L):k(t)}function P(t){return null===t||_m(t)?(e.exit("htmlFlowData"),M(t)):(e.consume(t),P)}function M(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},lg={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(wm,t,n)}},partial:!0},cg={tokenize:function(e,t,n){const r=this;return function(t){if(_m(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o;return n(t)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};const ug={tokenize:function(e,t,n){const r=this;return function(t){if(null===t)return n(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},dg={name:"codeFenced",tokenize:function(e,t,n){const r=this,o={tokenize:function(e,t,n){let o=0;return a;function a(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l}function l(t){return e.enter("codeFencedFence"),Sm(t)?Nm(e,c,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):c(t)}function c(t){return t===i?(e.enter("codeFencedFenceSequence"),u(t)):n(t)}function u(t){return t===i?(o++,e.consume(t),u):o>=s?(e.exit("codeFencedFenceSequence"),Sm(t)?Nm(e,d,"whitespace")(t):d(t)):n(t)}function d(r){return null===r||_m(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let i,a=0,s=0;return function(t){return function(t){const n=r.events[r.events.length-1];return a=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,i=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}(t)};function l(t){return t===i?(s++,e.consume(t),l):s<3?n(t):(e.exit("codeFencedFenceSequence"),Sm(t)?Nm(e,c,"whitespace")(t):c(t))}function c(n){return null===n||_m(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(ug,p,v)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){return null===t||_m(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(t)):Sm(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Nm(e,d,"whitespace")(t)):96===t&&t===i?n(t):(e.consume(t),u)}function d(t){return null===t||_m(t)?c(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),f(t))}function f(t){return null===t||_m(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===i?n(t):(e.consume(t),f)}function p(t){return e.attempt(o,v,h)(t)}function h(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return a>0&&Sm(t)?Nm(e,g,"linePrefix",a+1)(t):g(t)}function g(t){return null===t||_m(t)?e.check(ug,p,v)(t):(e.enter("codeFlowValue"),E(t))}function E(t){return null===t||_m(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),E)}function v(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const fg=document.createElement("i");function pg(e){const t="&"+e+";";fg.innerHTML=t;const n=fg.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}const hg={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,i,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),o=31,i=gm,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,i=bm,c):(e.enter("characterReferenceValue"),o=7,i=ym,c(t))}function c(s){if(59===s&&a){const o=e.exit("characterReferenceValue");return i!==gm||pg(r.sliceSerialize(o))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return i(s)&&a++<o?(e.consume(s),c):n(s)}}};const mg={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return Tm(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}};const gg={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Nm(e,t,"linePrefix")}}};const Eg={name:"labelEnd",tokenize:function(e,t,n){const r=this;let o,i,a=r.events.length;for(;a--;)if(("labelImage"===r.events[a][1].type||"labelLink"===r.events[a][1].type)&&!r.events[a][1]._balanced){o=r.events[a][1];break}return function(t){if(!o)return n(t);if(o._inactive)return u(t);return i=r.parser.defined.includes(Jm(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s};function s(t){return 40===t?e.attempt(vg,c,i?c:u)(t):91===t?e.attempt(yg,c,i?l:u)(t):i?c(t):u(t)}function l(t){return e.attempt(bg,c,u)(t)}function c(e){return t(e)}function u(e){return o._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,o,i,a=e.length,s=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(o){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(o=a);const l={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[o][1].end)},u={type:"labelText",start:Object.assign({},e[r+s+2][1].end),end:Object.assign({},e[o-2][1].start)};return i=[["enter",l,t],["enter",c,t]],i=lm(i,e.slice(r+1,r+s+3)),i=lm(i,[["enter",u,t]]),i=lm(i,jm(t.parser.constructs.insideSpan.null,e.slice(r+s+4,o-3),t)),i=lm(i,[["exit",u,t],e[o-2],e[o-1],["exit",c,t]]),i=lm(i,e.slice(o+1)),i=lm(i,[["exit",l,t]]),sm(e,r,e.length,i),e},resolveAll:function(e){let t=-1;for(;++t<e.length;){const n=e[t][1];"labelImage"!==n.type&&"labelLink"!==n.type&&"labelEnd"!==n.type||(e.splice(t+1,"labelImage"===n.type?4:2),n.type="data",t++)}return e}},vg={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return Am(t)?$m(e,o)(t):o(t)}function o(t){return 41===t?c(t):qm(e,i,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function i(t){return Am(t)?$m(e,s)(t):c(t)}function a(e){return n(e)}function s(t){return 34===t||39===t||40===t?Xm(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function l(t){return Am(t)?$m(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},yg={tokenize:function(e,t,n){const r=this;return function(t){return Km.call(r,e,o,i,"reference","referenceMarker","referenceString")(t)};function o(e){return r.parser.defined.includes(Jm(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function i(e){return n(e)}}},bg={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}};const Tg={name:"labelStartImage",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o};function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),i):n(t)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:Eg.resolveAll};function _g(e){return null===e||Am(e)||Cm(e)?1:function(e){return Tm(e)||hm(e)}(e)?2:void 0}const Ag={name:"attention",tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=_g(r);let i;return function(t){return i=t,e.enter("attentionSequence"),a(t)};function a(s){if(s===i)return e.consume(s),a;const l=e.exit("attentionSequence"),c=_g(s),u=!c||2===c&&o||n.includes(s),d=!o||2===o&&c||n.includes(r);return l._open=Boolean(42===i?u:u&&(o||!d)),l._close=Boolean(42===i?d:d&&(c||!u)),t(s)}},resolveAll:function(e,t){let n,r,o,i,a,s,l,c,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close)for(n=u;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[n][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const d=Object.assign({},e[n][1].end),f=Object.assign({},e[u][1].start);Sg(d,-s),Sg(f,s),i={type:s>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[n][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:f},o={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},i.start),e[u][1].start=Object.assign({},a.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=lm(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=lm(l,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",o,t]]),l=lm(l,jm(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=lm(l,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=lm(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,sm(e,n-1,u-n+3,l),u=n+l.length-c-2;break}u=-1;for(;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e}};function Sg(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Cg={name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o};function o(t){return mm(t)?(e.consume(t),i):l(t)}function i(e){return 43===e||45===e||46===e||gm(e)?(r=1,a(e)):l(e)}function a(t){return 58===t?(e.consume(t),r=0,s):(43===t||45===t||46===t||gm(t))&&r++<32?(e.consume(t),a):(r=0,l(t))}function s(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||vm(r)?n(r):(e.consume(r),s)}function l(t){return 64===t?(e.consume(t),c):Em(t)?(e.consume(t),l):n(t)}function c(e){return gm(e)?u(e):n(e)}function u(n){return 46===n?(e.consume(n),r=0,c):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):d(n)}function d(t){if((45===t||gm(t))&&r++<63){const n=45===t?d:u;return e.consume(t),n}return n(t)}}};const kg={name:"htmlText",tokenize:function(e,t,n){const r=this;let o,i,a;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),b):63===t?(e.consume(t),v):mm(t)?(e.consume(t),A):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),i=0,p):mm(t)?(e.consume(t),E):n(t)}function c(t){return 45===t?(e.consume(t),f):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),d):_m(t)?(a=u,D(t)):(e.consume(t),u)}function d(t){return 45===t?(e.consume(t),f):u(t)}function f(e){return 62===e?w(e):45===e?d(e):u(e)}function p(t){const r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),6===i?h:p):n(t)}function h(t){return null===t?n(t):93===t?(e.consume(t),m):_m(t)?(a=h,D(t)):(e.consume(t),h)}function m(t){return 93===t?(e.consume(t),g):h(t)}function g(t){return 62===t?w(t):93===t?(e.consume(t),g):h(t)}function E(t){return null===t||62===t?w(t):_m(t)?(a=E,D(t)):(e.consume(t),E)}function v(t){return null===t?n(t):63===t?(e.consume(t),y):_m(t)?(a=v,D(t)):(e.consume(t),v)}function y(e){return 62===e?w(e):v(e)}function b(t){return mm(t)?(e.consume(t),T):n(t)}function T(t){return 45===t||gm(t)?(e.consume(t),T):_(t)}function _(t){return _m(t)?(a=_,D(t)):Sm(t)?(e.consume(t),_):w(t)}function A(t){return 45===t||gm(t)?(e.consume(t),A):47===t||62===t||Am(t)?S(t):n(t)}function S(t){return 47===t?(e.consume(t),w):58===t||95===t||mm(t)?(e.consume(t),C):_m(t)?(a=S,D(t)):Sm(t)?(e.consume(t),S):w(t)}function C(t){return 45===t||46===t||58===t||95===t||gm(t)?(e.consume(t),C):k(t)}function k(t){return 61===t?(e.consume(t),N):_m(t)?(a=k,D(t)):Sm(t)?(e.consume(t),k):S(t)}function N(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,I):_m(t)?(a=N,D(t)):Sm(t)?(e.consume(t),N):(e.consume(t),x)}function I(t){return t===o?(e.consume(t),o=void 0,O):null===t?n(t):_m(t)?(a=I,D(t)):(e.consume(t),I)}function x(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||Am(t)?S(t):(e.consume(t),x)}function O(e){return 47===e||62===e||Am(e)?S(e):n(e)}function w(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function D(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),R}function R(t){return Sm(t)?Nm(e,L,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):L(t)}function L(t){return e.enter("htmlTextData"),a(t)}}};const Ng={name:"labelStartLink",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:Eg.resolveAll};const Ig={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return _m(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}};const xg={name:"codeText",tokenize:function(e,t,n){let r,o,i=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),a(t)};function a(t){return 96===t?(e.consume(t),i++,a):(e.exit("codeTextSequence"),s(t))}function s(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),s):96===t?(o=e.enter("codeTextSequence"),r=0,c(t)):_m(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):(e.enter("codeTextData"),l(t))}function l(t){return null===t||32===t||96===t||_m(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),l)}function c(n){return 96===n?(e.consume(n),r++,c):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(o.type="codeTextData",l(n))}},resolve:function(e){let t,n,r=e.length-4,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=o;++t<r;)if("codeTextData"===e[t][1].type){e[o][1].type="codeTextPadding",e[r][1].type="codeTextPadding",o+=2,r-=2;break}t=o-1,r++;for(;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}};const Og={42:zm,43:zm,45:zm,48:zm,49:zm,50:zm,51:zm,52:zm,53:zm,54:zm,55:zm,56:zm,57:zm,62:Vm},wg={91:Zm},Dg={[-2]:tg,[-1]:tg,32:tg},Rg={35:rg,42:Qm,45:[og,Qm],60:sg,61:og,95:Qm,96:dg,126:dg},Lg={38:hg,92:mg},Pg={[-5]:gg,[-4]:gg,[-3]:gg,33:Tg,38:hg,42:Ag,60:[Cg,kg],91:Ng,92:[Ig,mg],93:Eg,95:Ag,96:xg},Mg={null:[Ag,Pm]},Bg={null:[42,95]},Fg={null:[]};function Ug(e){const t=function(e){const t={};let n=-1;for(;++n<e.length;)fm(t,e[n]);return t}([n,...(e||{}).extensions||[]]),r={defined:[],lazy:{},constructs:t,content:o(Im),document:o(xm),flow:o(Lm),string:o(Mm),text:o(Bm)};return r;function o(e){return function(t){return Gm(r,e,t)}}}const Hg=/[\0\t\n\r]/g;function jg(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"�":String.fromCodePoint(n)}const Gg=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Qg(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return jg(n.slice(t?2:1),t?16:10)}return pg(n)||e}const zg={}.hasOwnProperty;function Wg(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(ee),autolinkProtocol:C,autolinkEmail:C,atxHeading:i(X),blockQuote:i(W),characterEscape:C,characterReference:C,codeFenced:i(Y),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:i(Y,a),codeText:i(V,a),codeTextData:C,data:C,codeFlowValue:C,definition:i(q),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:i(K),hardBreakEscape:i($),hardBreakTrailing:i($),htmlFlow:i(J,a),htmlFlowData:C,htmlText:i(J,a),htmlTextData:C,image:i(Z),label:a,link:i(ee),listItem:i(ne),listItemValue:f,listOrdered:i(te,d),listUnordered:i(te),paragraph:i(re),reference:U,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:i(X),strong:i(oe),thematicBreak:i(ae)},exit:{atxHeading:l(),atxHeadingSequence:T,autolink:l(),autolinkEmail:z,autolinkProtocol:Q,blockQuote:l(),characterEscapeValue:k,characterReferenceMarkerHexadecimal:j,characterReferenceMarkerNumeric:j,characterReferenceValue:G,codeFenced:l(g),codeFencedFence:m,codeFencedFenceInfo:p,codeFencedFenceMeta:h,codeFlowValue:k,codeIndented:l(E),codeText:l(w),codeTextData:k,data:k,definition:l(),definitionDestinationString:b,definitionLabelString:v,definitionTitleString:y,emphasis:l(),hardBreakEscape:l(I),hardBreakTrailing:l(I),htmlFlow:l(x),htmlFlowData:k,htmlText:l(O),htmlTextData:k,image:l(R),label:P,labelText:L,lineEnding:N,link:l(D),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:H,resourceDestinationString:M,resourceTitleString:B,resource:F,setextHeading:l(S),setextHeadingLineSequence:A,setextHeadingText:_,strong:l(),thematicBreak:l()}};Vg(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let r={type:"root",children:[]};const i={stack:[r],tokenStack:[],config:t,enter:s,exit:c,buffer:a,resume:u,data:n},l=[];let d=-1;for(;++d<e.length;)if("listOrdered"===e[d][1].type||"listUnordered"===e[d][1].type)if("enter"===e[d][0])l.push(d);else{d=o(e,l.pop(),d)}for(d=-1;++d<e.length;){const n=t[e[d][0]];zg.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},i),e[d][1])}if(i.tokenStack.length>0){const e=i.tokenStack[i.tokenStack.length-1];(e[1]||Kg).call(i,void 0,e[0])}for(r.position={start:Yg(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:Yg(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)r=t.transforms[d](r)||r;return r}function o(e,t,n){let r,o,i,a,s=t-1,l=-1,c=!1;for(;++s<=n;){const t=e[s];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,a=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||a||l||i||(i=s),a=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:a=void 0}if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let a=s;for(o=void 0;a--;){const t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;o&&(e[o][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",o=a}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}i&&(!o||i<o)&&(r._spread=!0),r.end=Object.assign({},o?e[o][1].start:t[1].end),e.splice(o||s,0,["exit",r,t[2]]),s++,n++}if("listItemPrefix"===t[1].type){const o={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=o,e.splice(s,0,["enter",o,t[2]]),s++,n++,i=void 0,a=!0}}}return e[t][1]._spread=c,n}function i(e,t){return n;function n(n){s.call(this,e(n),n),t&&t.call(this,n)}}function a(){this.stack.push({type:"fragment",children:[]})}function s(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:Yg(t.start),end:void 0}}function l(e){return t;function t(t){e&&e.call(this,t),c.call(this,t)}}function c(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+Hh({start:e.start,end:e.end})+"): it’s not open");if(r[0].type!==e.type)if(t)t.call(this,e,r[0]);else{(r[1]||Kg).call(this,e,r[0])}n.position.end=Yg(e.end)}function u(){return function(e,t){const n=t||om;return im(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function f(e){if(this.data.expectingFirstListItemValue){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function p(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function h(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function m(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function E(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function v(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Jm(this.sliceSerialize(e)).toLowerCase()}function y(){const e=this.resume();this.stack[this.stack.length-1].title=e}function b(){const e=this.resume();this.stack[this.stack.length-1].url=e}function T(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}}function _(){this.data.setextHeadingSlurpLineEnding=!0}function A(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2}function S(){this.data.setextHeadingSlurpLineEnding=void 0}function C(e){const t=this.stack[this.stack.length-1].children;let n=t[t.length-1];n&&"text"===n.type||(n=ie(),n.position={start:Yg(e.start),end:void 0},t.push(n)),this.stack.push(n)}function k(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=Yg(e.end)}function N(e){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak){return n.children[n.children.length-1].position.end=Yg(e.end),void(this.data.atHardBreak=void 0)}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(C.call(this,e),k.call(this,e))}function I(){this.data.atHardBreak=!0}function x(){const e=this.resume();this.stack[this.stack.length-1].value=e}function O(){const e=this.resume();this.stack[this.stack.length-1].value=e}function w(){const e=this.resume();this.stack[this.stack.length-1].value=e}function D(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function R(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function L(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=function(e){return e.replace(Gg,Qg)}(t),n.identifier=Jm(t).toLowerCase()}function P(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){const t=e.children;n.children=t}else n.alt=t}function M(){const e=this.resume();this.stack[this.stack.length-1].url=e}function B(){const e=this.resume();this.stack[this.stack.length-1].title=e}function F(){this.data.inReference=void 0}function U(){this.data.referenceType="collapsed"}function H(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Jm(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"}function j(e){this.data.characterReferenceType=e.type}function G(e){const t=this.sliceSerialize(e),n=this.data.characterReferenceType;let r;if(n)r=jg(t,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0;else{r=pg(t)}const o=this.stack.pop();o.value+=r,o.position.end=Yg(e.end)}function Q(e){k.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function z(e){k.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function W(){return{type:"blockquote",children:[]}}function Y(){return{type:"code",lang:null,meta:null,value:""}}function V(){return{type:"inlineCode",value:""}}function q(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function K(){return{type:"emphasis",children:[]}}function X(){return{type:"heading",depth:0,children:[]}}function $(){return{type:"break"}}function J(){return{type:"html",value:""}}function Z(){return{type:"image",title:null,url:"",alt:null}}function ee(){return{type:"link",title:null,url:"",children:[]}}function te(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function ne(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function re(){return{type:"paragraph",children:[]}}function oe(){return{type:"strong",children:[]}}function ie(){return{type:"text",value:""}}function ae(){return{type:"thematicBreak"}}}(n)(function(e){for(;!cm(e););return e}(Ug(n).document().write(function(){let e,t=1,n="",r=!0;return function(o,i,a){const s=[];let l,c,u,d,f;for(o=n+("string"==typeof o?o.toString():new TextDecoder(i||void 0).decode(o)),u=0,n="",r&&(65279===o.charCodeAt(0)&&u++,r=void 0);u<o.length;){if(Hg.lastIndex=u,l=Hg.exec(o),d=l&&void 0!==l.index?l.index:o.length,f=o.charCodeAt(d),!l){n=o.slice(u);break}if(10===f&&u===d&&e)s.push(-3),e=void 0;else switch(e&&(s.push(-5),e=void 0),u<d&&(s.push(o.slice(u,d)),t+=d-u),f){case 0:s.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),s.push(-2);t++<c;)s.push(-1);break;case 10:s.push(-4),t=1;break;default:e=!0,t=1}u=d+1}return a&&(e&&s.push(-5),n&&s.push(n),s.push(null)),s}}()(e,t,!0))))}function Yg(e){return{line:e.line,column:e.column,offset:e.offset}}function Vg(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Vg(e,r):qg(e,r)}}function qg(e,t){let n;for(n in t)if(zg.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function Kg(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Hh({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Hh({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Hh({start:t.start,end:t.end})+") is still open")}function Xg(e){const t=this;t.parser=function(n){return Wg(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}const $g="object"==typeof self?self:globalThis,Jg=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=o=>{if(e.has(o))return e.get(o);const[i,a]=t[o];switch(i){case 0:case-1:return n(a,o);case 1:{const e=n([],o);for(const t of a)e.push(r(t));return e}case 2:{const e=n({},o);for(const[t,n]of a)e[r(t)]=r(n);return e}case 3:return n(new Date(a),o);case 4:{const{source:e,flags:t}=a;return n(new RegExp(e,t),o)}case 5:{const e=n(new Map,o);for(const[t,n]of a)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,o);for(const t of a)e.add(r(t));return e}case 7:{const{name:e,message:t}=a;return n(new $g[e](t),o)}case 8:return n(BigInt(a),o);case"BigInt":return n(Object(BigInt(a)),o)}return n(new $g[i](a),o)};return r})(new Map,e)(0),Zg="",{toString:eE}={},{keys:tE}=Object,nE=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=eE.call(e).slice(8,-1);switch(n){case"Array":return[1,Zg];case"Object":return[2,Zg];case"Date":return[3,Zg];case"RegExp":return[4,Zg];case"Map":return[5,Zg];case"Set":return[6,Zg]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},rE=([e,t])=>0===e&&("function"===t||"symbol"===t),oE=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const o=(e,t)=>{const o=r.push(e)-1;return n.set(t,o),o},i=r=>{if(n.has(r))return n.get(r);let[a,s]=nE(r);switch(a){case 0:{let t=r;switch(s){case"bigint":a=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s);t=null;break;case"undefined":return o([-1],r)}return o([a,t],r)}case 1:{if(s)return o([s,[...r]],r);const e=[],t=o([a,e],r);for(const t of r)e.push(i(t));return t}case 2:{if(s)switch(s){case"BigInt":return o([s,r.toString()],r);case"Boolean":case"Number":case"String":return o([s,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON());const n=[],l=o([a,n],r);for(const t of tE(r))!e&&rE(nE(r[t]))||n.push([i(t),i(r[t])]);return l}case 3:return o([a,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return o([a,{source:e,flags:t}],r)}case 5:{const t=[],n=o([a,t],r);for(const[n,o]of r)(e||!rE(nE(n))&&!rE(nE(o)))&&t.push([i(n),i(o)]);return n}case 6:{const t=[],n=o([a,t],r);for(const n of r)!e&&rE(nE(n))||t.push(i(n));return n}}const{message:l}=r;return o([a,{name:s,message:l}],r)};return i})(!(t||n),!!t,new Map,r)(e),r},iE="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?Jg(oE(e,t)):structuredClone(e):(e,t)=>Jg(oE(e,t));function aE(e){const t=[];let n=-1,r=0,o=0;for(;++n<e.length;){const i=e.charCodeAt(n);let a="";if(37===i&&gm(e.charCodeAt(n+1))&&gm(e.charCodeAt(n+2)))o=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(a=String.fromCharCode(i));else if(i>55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(a=String.fromCharCode(i,t),o=1):a="�"}else a=String.fromCharCode(i);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+o+1,a=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function sE(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function lE(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const cE=function(e){if(null==e)return dE;if("function"==typeof e)return uE(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=cE(e[n]);return uE(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}(e):function(e){const t=e;return uE(n);function n(n){const r=n;let o;for(o in e)if(r[o]!==t[o])return!1;return!0}}(e);if("string"==typeof e)return function(e){return uE(t);function t(t){return t&&t.type===e}}(e);throw new Error("Expected function, string, or object as test")};function uE(e){return function(t,n,r){return Boolean(fE(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function dE(){return!0}function fE(e){return null!==e&&"object"==typeof e&&"type"in e}const pE=[],hE=!0,mE=!1,gE="skip";function EE(e,t,n,r){let o;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):o=t;const i=cE(o),a=r?-1:1;!function e(o,s,l){const c=o&&"object"==typeof o?o:{};if("string"==typeof c.type){const e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+o.type+(e?"<"+e+">":"")+")"})}return u;function u(){let c,u,d,f=pE;if((!t||i(o,s,l[l.length-1]||void 0))&&(f=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[hE,e];return null==e?pE:[e]}(n(o,l)),f[0]===mE))return f;if("children"in o&&o.children){const t=o;if(t.children&&f[0]!==gE)for(u=(r?t.children.length:-1)+a,d=l.concat(t);u>-1&&u<t.children.length;){const n=t.children[u];if(c=e(n,u,d)(),c[0]===mE)return c;u="number"==typeof c[1]?c[1]:u+a}}return f}}(e,void 0,[])()}function vE(e,t,n,r){let o,i,a;"function"==typeof t&&"function"!=typeof n?(i=void 0,a=t,o=n):(i=t,a=n,o=r),EE(e,i,(function(e,t){const n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return a(e,r,n)}),o)}function yE(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];const o=e.all(t),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift({type:"text",value:"["});const a=o[o.length-1];return a&&"text"===a.type?a.value+=r:o.push({type:"text",value:r}),o}function bE(e){const t=e.spread;return null==t?e.children.length>1:t}const TE=9,_E=32;function AE(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const i=[];for(;r;)i.push(SE(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(SE(t.slice(o),o>0,!1)),i.join("")}function SE(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;t===TE||t===_E;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;t===TE||t===_E;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const CE={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=aE(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let a,s=e.footnoteCounts.get(r);void 0===s?(s=0,e.footnoteOrder.push(r),a=e.footnoteOrder.length):a=i+1,s+=1,e.footnoteCounts.set(r,s);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return yE(e,t);const o={src:aE(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:aE(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return yE(e,t);const o={href:aE(r.url||"")};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:aE(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=bE(n[r])}return t}(n):bE(t),i={},a=[];if("boolean"==typeof t.checked){const e=r[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const e=r[s];(o||0!==s||"element"!==e.type||"p"!==e.tagName)&&a.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||o?a.push(e):a.push(...e.children)}const l=r[r.length-1];l&&(o||"element"!==l.type||"p"!==l.tagName)&&a.push({type:"text",value:"\n"});const c={type:"element",tagName:"li",properties:i,children:a};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){const n={},r=e.all(t);let o=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++o<r.length;){const e=r[o];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),o.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=Fh(t.children[1]),a=Bh(t.children[t.children.length-1]);i&&a&&(r.position={start:i,end:a}),o.push(r)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,a=i?i.length:t.children.length;let s=-1;const l=[];for(;++s<a;){const n=t.children[s],r={},a=i?i[s]:void 0;a&&(r.align=a);let c={type:"element",tagName:o,properties:r,children:[]};n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(n,c)),l.push(c)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){const n={type:"text",value:AE(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:kE,yaml:kE,definition:kE,footnoteDefinition:kE};function kE(){}const NE={}.hasOwnProperty,IE={};function xE(e,t){e.position&&(t.position=function(e){const t=Fh(e),n=Bh(e);if(t&&n)return{start:t,end:n}}(e))}function OE(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;if("string"==typeof t)if("element"===n.type)n.tagName=t;else{n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}}"element"===n.type&&o&&Object.assign(n.properties,iE(o)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function wE(e,t){const n=t.data||{},r=!("value"in t)||NE.call(n,"hProperties")||NE.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function DE(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function RE(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function LE(e,t){const n=function(e,t){const n=t||IE,r=new Map,o=new Map,i=new Map,a={...CE,...n.handlers},s={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r<n.length;){const o=s.one(n[r],e);if(o){if(r&&"break"===n[r-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=RE(o.value)),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=RE(e.value))}Array.isArray(o)?t.push(...o):t.push(o)}}}return t},applyData:OE,definitionById:r,footnoteById:o,footnoteCounts:i,footnoteOrder:[],handlers:a,one:function(e,t){const n=e.type,r=s.handlers[n];if(NE.call(s.handlers,n)&&r)return r(s,e,t);if(s.options.passThrough&&s.options.passThrough.includes(n)){if("children"in e){const{children:t,...n}=e,r=iE(n);return r.children=s.all(e),r}return iE(e)}return(s.options.unknownHandler||wE)(s,e,t)},options:n,patch:xE,wrap:DE};return vE(e,(function(e){if("definition"===e.type||"footnoteDefinition"===e.type){const t="definition"===e.type?r:o,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}})),s}(e,t),r=n.one(e,void 0),o=function(e){const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||sE,r=e.options.footnoteBackLabel||lE,o=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let l=-1;for(;++l<e.footnoteOrder.length;){const o=e.footnoteById.get(e.footnoteOrder[l]);if(!o)continue;const i=e.all(o),a=String(o.identifier).toUpperCase(),c=aE(a.toLowerCase());let u=0;const d=[],f=e.footnoteCounts.get(a);for(;void 0!==f&&++u<=f;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,u);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const p=i[i.length-1];if(p&&"element"===p.type&&"p"===p.tagName){const e=p.children[p.children.length-1];e&&"text"===e.type?e.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...d)}else i.push(...d);const h={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(i,!0)};e.patch(o,h),s.push(h)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...iE(a),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:"\n"}]}}(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&i.children.push({type:"text",value:"\n"},o),i}function PE(e,t){return e&&"run"in e?async function(n,r){const o=LE(n,t);await e.run(o,r)}:function(n){return LE(n,t||e)}}function ME(e){if(e)throw e}var BE=o(470);function FE(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function UE(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function o(i,...a){const s=e[++n];let l=-1;if(i)r(i);else{for(;++l<t.length;)null!==a[l]&&void 0!==a[l]||(a[l]=t[l]);t=a,s?function(e,t){let n;return r;function r(...t){const r=e.length>t.length;let a;r&&t.push(o);try{a=e.apply(this,t)}catch(e){if(r&&n)throw e;return o(e)}r||(a instanceof Promise?a.then(i,o):a instanceof Error?o(a):i(a))}function o(e,...r){n||(n=!0,t(e,...r))}function i(e){o(null,e)}}(s,o)(...a):r(null,...a)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}const HE={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');jE(e);let n,r=0,o=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let a=-1,s=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else a<0&&(n=!0,a=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(o=i):(s=-1,o=a));r===o?o=a:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(jE(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){jE(e);let t,n=e.length,r=-1,o=0,i=-1,a=0;for(;n--;){const s=e.codePointAt(n);if(47!==s)r<0&&(t=!0,r=n+1),46===s?i<0?i=n:1!==a&&(a=1):i>-1&&(a=-1);else if(t){o=n+1;break}}if(i<0||r<0||0===a||1===a&&i===r-1&&i===o+1)return"";return e.slice(i,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)jE(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){jE(e);const t=47===e.codePointAt(0);let n=function(e,t){let n,r,o="",i=0,a=-1,s=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.codePointAt(l);else{if(47===n)break;n=47}if(47===n){if(a===l-1||1===s);else if(a!==l-1&&2===s){if(o.length<2||2!==i||46!==o.codePointAt(o.length-1)||46!==o.codePointAt(o.length-2))if(o.length>2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),a=l,s=0;continue}}else if(o.length>0){o="",i=0,a=l,s=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(a+1,l):o=e.slice(a+1,l),i=l-a-1;a=l,s=0}else 46===n&&s>-1?s++:s=-1}return o}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/");return t?"/"+n:n}(t)},sep:"/"};function jE(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const GE={cwd:function(){return"/"}};function QE(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function zE(e){if("string"==typeof e)e=new URL(e);else if(!QE(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){const e=t.codePointAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}const WE=["history","path","basename","stem","extname","dirname"];class YE{constructor(e){let t;t=e?QE(e)?{path:e}:"string"==typeof e||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd=GE.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n,r=-1;for(;++r<WE.length;){const e=WE[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)WE.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?HE.basename(this.path):void 0}set basename(e){qE(e,"basename"),VE(e,"basename"),this.path=HE.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?HE.dirname(this.path):void 0}set dirname(e){KE(this.basename,"dirname"),this.path=HE.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?HE.extname(this.path):void 0}set extname(e){if(VE(e,"extname"),KE(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=HE.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){QE(e)&&(e=zE(e)),qE(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?HE.basename(this.path,this.extname):void 0}set stem(e){qE(e,"stem"),VE(e,"stem"),this.path=HE.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){const r=new zh(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){if(void 0===this.value)return"";if("string"==typeof this.value)return this.value;return new TextDecoder(e||void 0).decode(this.value)}}function VE(e,t){if(e&&e.includes(HE.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+HE.sep+"`")}function qE(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function KE(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const XE=function(e){const t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};Object.setPrototypeOf(r,t);const o=Object.getOwnPropertyNames(n);for(const e of o){const t=Object.getOwnPropertyDescriptor(n,e);t&&Object.defineProperty(r,e,t)}return r},$E={}.hasOwnProperty;class JE extends XE{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=UE()}copy(){const e=new JE;let t=-1;for(;++t<this.attachers.length;){const n=this.attachers[t];e.use(...n)}return e.data(BE(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2===arguments.length?(nv("data",this.frozen),this.namespace[e]=t,this):$E.call(this.namespace,e)&&this.namespace[e]||void 0:e?(nv("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[t,...n]=this.attachers[this.freezeIndex];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const r=t.call(e,...n);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const t=iv(e),n=this.parser||this.Parser;return ev("parse",n),n(String(t),t)}process(e,t){const n=this;return this.freeze(),ev("process",this.parser||this.Parser),tv("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,o){const i=iv(e),a=n.parse(i);function s(e,n){e||!n?o(e):r?r(n):t(void 0,n)}n.run(a,i,(function(e,t,r){if(e||!t||!r)return s(e);const o=t,i=n.stringify(o,r);var a;"string"==typeof(a=i)||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(a)?r.value=i:r.result=i,s(e,r)}))}}processSync(e){let t,n=!1;return this.freeze(),ev("processSync",this.parser||this.Parser),tv("processSync",this.compiler||this.Compiler),this.process(e,(function(e,r){n=!0,ME(e),t=r})),ov("processSync","process",n),t}run(e,t,n){rv(e),this.freeze();const r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?o(void 0,n):new Promise(o);function o(o,i){const a=iv(t);r.run(e,a,(function(t,r,a){const s=r||e;t?i(t):o?o(s):n(void 0,s,a)}))}}runSync(e,t){let n,r=!1;return this.run(e,t,(function(e,t){ME(e),n=t,r=!0})),ov("runSync","run",r),n}stringify(e,t){this.freeze();const n=iv(t),r=this.compiler||this.Compiler;return tv("stringify",r),rv(e),r(e,n)}use(e,...t){const n=this.attachers,r=this.namespace;if(nv("use",this.frozen),null==e);else if("function"==typeof e)s(e,t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?a(e):i(e)}return this;function o(e){if("function"==typeof e)s(e,[]);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;s(t,n)}else i(e)}}function i(e){if(!("plugins"in e)&&!("settings"in e))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(e.plugins),e.settings&&(r.settings=BE(!0,r.settings,e.settings))}function a(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){o(e[t])}}}function s(e,t){let r=-1,o=-1;for(;++r<n.length;)if(n[r][0]===e){o=r;break}if(-1===o)n.push([e,...t]);else if(t.length>0){let[r,...i]=t;const a=n[o][1];FE(a)&&FE(r)&&(r=BE(!0,a,r)),n[o]=[e,r,...i]}}}}const ZE=(new JE).freeze();function ev(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function tv(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function nv(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function rv(e){if(!FE(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function ov(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function iv(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new YE(e)}const av=[],sv={allowDangerousHtml:!0},lv=/^(https?|ircs?|mailto|xmpp)$/i,cv=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function uv(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",o=e.className,i=e.components,a=e.disallowedElements,s=e.rehypePlugins||av,l=e.remarkPlugins||av,c=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...sv}:sv,u=e.skipHtml,d=e.unwrapDisallowed,f=e.urlTransform||dv,p=ZE().use(Xg).use(l).use(PE,c).use(s),h=new YE;"string"==typeof r&&(h.value=r);for(const t of cv)Object.hasOwn(e,t.from)&&(t.from,t.to&&t.to,t.id);const m=p.parse(h);let g=p.runSync(m,h);return o&&(g={type:"element",tagName:"div",properties:{className:o},children:"root"===g.type?g.children:[g]}),vE(g,(function(e,r,o){if("raw"===e.type&&o&&"number"==typeof r)return u?o.children.splice(r,1):o.children[r]={type:"text",value:e.value},r;if("element"===e.type){let t;for(t in rm)if(Object.hasOwn(rm,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=rm[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=f(String(n||""),t,e))}}if("element"===e.type){let i=t?!t.includes(e.tagName):!!a&&a.includes(e.tagName);if(!i&&n&&"number"==typeof r&&(i=!n(e,r,o)),i&&o&&"number"==typeof r)return d&&e.children?o.children.splice(r,1,...e.children):o.children.splice(r,1),r}})),$h(g,{Fragment:Uo.Fragment,components:i,ignoreInvalidStyle:!0,jsx:Uo.jsx,jsxs:Uo.jsxs,passKeys:!0,passNode:!0})}function dv(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),o=e.indexOf("/");return t<0||o>-1&&t>o||n>-1&&t>n||r>-1&&t>r||lv.test(e.slice(0,t))?e:""}const fv=/[#.]/g;const pv=new Set(["button","menu","reset","submit"]),hv={}.hasOwnProperty;function mv(e,t,n){const r=n&&function(e){const t={};let n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}(n);return function(n,o,...i){let a,s=-1;if(null==n){a={type:"root",children:[]};const e=o;i.unshift(e)}else if(a=function(e,t){const n=e||"",r={};let o,i,a=0;for(;a<n.length;){fv.lastIndex=a;const e=fv.exec(n),t=n.slice(a,e?e.index:n.length);t&&(o?"#"===o?r.id=t:Array.isArray(r.className)?r.className.push(t):r.className=[t]:i=t,a+=t.length),e&&(o=e[0],a++)}return{type:"element",tagName:i||t||"div",properties:r,children:[]}}(n,t),a.tagName=a.tagName.toLowerCase(),r&&hv.call(r,a.tagName)&&(a.tagName=r[a.tagName]),function(e,t){if(null==e||"object"!=typeof e||Array.isArray(e))return!1;if("input"===t||!e.type||"string"!=typeof e.type)return!0;if("children"in e&&Array.isArray(e.children))return!1;if("button"===t)return pv.has(e.type.toLowerCase());return!("value"in e)}(o,a.tagName)){let t;for(t in o)hv.call(o,t)&&gv(e,a.properties,t,o[t])}else i.unshift(o);for(;++s<i.length;)Ev(a.children,i[s]);return"element"===a.type&&"template"===a.tagName&&(a.content={type:"root",children:a.children},a.children=[]),a}}function gv(e,t,n,r){const o=Oh(e,n);let i,a=-1;if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;i=r}else i="boolean"==typeof r?r:"string"==typeof r?o.spaceSeparated?Lh(r):o.commaSeparated?Kp(r):o.commaOrSpaceSeparated?Lh(Kp(r).join(" ")):vv(o,o.property,r):Array.isArray(r)?r.concat():"style"===o.property?function(e){const t=[];let n;for(n in e)hv.call(e,n)&&t.push([n,e[n]].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(i)){const e=[];for(;++a<i.length;){const t=vv(o,o.property,i[a]);e[a]=t}i=e}if("className"===o.property&&Array.isArray(t.className)){const e=i;i=t.className.concat(e)}t[o.property]=i}}function Ev(e,t){let n=-1;if(null==t);else if("string"==typeof t||"number"==typeof t)e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)Ev(e,t[n]);else{if("object"!=typeof t||!("type"in t))throw new Error("Expected node, nodes, or string, got `"+t+"`");"root"===t.type?Ev(e,t.children):e.push(t)}}function vv(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||th(n)===th(t)))return!0}return n}const yv=mv(Ch,"div"),bv=mv(kh,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]),Tv=/\r?\n|\r/g;const _v={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Av={}.hasOwnProperty,Sv=Object.prototype;function Cv(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},Nv(e,r,n),n}case"#document":case"#document-fragment":{const r=t,o="mode"in r&&("quirks"===r.mode||"limited-quirks"===r.mode);if(n={type:"root",children:kv(e,t.childNodes),data:{quirksMode:o}},e.file&&e.location){const t=String(e.file),r=function(e){const t=String(e),n=[];for(Tv.lastIndex=0;Tv.test(t);)n.push(Tv.lastIndex);return n.push(t.length+1),{toPoint:function(e){let t=-1;if("number"==typeof e&&e>-1&&e<n[n.length-1])for(;++t<n.length;)if(n[t]>e)return{line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e}},toOffset:function(e){const t=e&&e.line,r=e&&e.column;if("number"==typeof t&&"number"==typeof r&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){const e=(n[t-2]||0)+r-1||0;if(e>-1&&e<n[n.length-1])return e}}}}(t),o=r.toPoint(0),i=r.toPoint(t.length);n.position={start:o,end:i}}return n}case"#documentType":return n={type:"doctype"},Nv(e,t,n),n;case"#text":{const r=t;return n={type:"text",value:r.value},Nv(e,r,n),n}default:return n=function(e,t){const n=e.schema;e.schema=t.namespaceURI===_v.svg?kh:Ch;let r=-1;const o={};for(;++r<t.attrs.length;){const e=t.attrs[r],n=(e.prefix?e.prefix+":":"")+e.name;Av.call(Sv,n)||(o[n]=e.value)}const i="svg"===e.schema.space?bv:yv,a=i(t.tagName,o,kv(e,t.childNodes));if(Nv(e,t,a),"template"===a.tagName){const n=t,r=n.sourceCodeLocation,o=r&&r.startTag&&Iv(r.startTag),i=r&&r.endTag&&Iv(r.endTag),s=Cv(e,n.content);o&&i&&e.file&&(s.position={start:o.end,end:i.start}),a.content=s}return e.schema=n,a}(e,t),n}}function kv(e,t){let n=-1;const r=[];for(;++n<t.length;){const o=Cv(e,t[n]);r.push(o)}return r}function Nv(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=function(e,t,n){const r=Iv(n);if("element"===t.type){const o=t.children[t.children.length-1];if(r&&!n.endTag&&o&&o.position&&o.position.end&&(r.end=Object.assign({},o.position.end)),e.verbose){const r={};let o;if(n.attrs)for(o in n.attrs)Av.call(n.attrs,o)&&(r[Oh(e.schema,o).property]=Iv(n.attrs[o]));n.startTag;const i=Iv(n.startTag),a=n.endTag?Iv(n.endTag):void 0,s={opening:i};a&&(s.closing=a),s.properties=r,t.data={position:s}}}return r}(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function Iv(e){const t=xv({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=xv({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function xv(e){return e.line&&e.column?e:void 0}const Ov={}.hasOwnProperty;function wv(e,t){const n=t||{};function r(t,...n){let o=r.invalid;const i=r.handlers;if(t&&Ov.call(t,e)){const n=String(t[e]);o=Ov.call(i,n)?i[n]:r.unknown}if(o)return o.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const Dv={},Rv={}.hasOwnProperty,Lv=wv("type",{handlers:{root:function(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Mv(e.children,n,t),Bv(e,n),n},element:function(e,t){const n=t;let r=n;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===n.space&&(r=kh);const o=[];let i;if(e.properties)for(i in e.properties)if("children"!==i&&Rv.call(e.properties,i)){const t=Pv(r,i,e.properties[i]);t&&o.push(t)}const a=r.space;const s={nodeName:e.tagName,tagName:e.tagName,attrs:o,namespaceURI:_v[a],childNodes:[],parentNode:null};s.childNodes=Mv(e.children,s,r),Bv(e,s),"template"===e.tagName&&e.content&&(s.content=function(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Mv(e.children,n,t),Bv(e,n),n}(e.content,r));return s},text:function(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Bv(e,t),t},comment:function(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Bv(e,t),t},doctype:function(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Bv(e,t),t}}});function Pv(e,t,n){const r=Oh(e,t);if(!1===n||null==n||"number"==typeof n&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?Xp(n):Ph(n));const o={name:r.attribute,value:!0===n?"":String(n)};if(r.space&&"html"!==r.space&&"svg"!==r.space){const e=o.name.indexOf(":");e<0?o.prefix="":(o.name=o.name.slice(e+1),o.prefix=r.attribute.slice(0,e)),o.namespace=_v[r.space]}return o}function Mv(e,t,n){let r=-1;const o=[];if(e)for(;++r<e.length;){const i=Lv(e[r],n);i.parentNode=t,o.push(i)}return o}function Bv(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const Fv=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],Uv=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),Hv="�";var jv;!function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.NUMBER_SIGN=35]="NUMBER_SIGN",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_F=70]="LATIN_CAPITAL_F",e[e.LATIN_CAPITAL_X=88]="LATIN_CAPITAL_X",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_F=102]="LATIN_SMALL_F",e[e.LATIN_SMALL_X=120]="LATIN_SMALL_X",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z",e[e.REPLACEMENT_CHARACTER=65533]="REPLACEMENT_CHARACTER"}(jv=jv||(jv={}));const Gv="--",Qv="[CDATA[",zv="doctype",Wv="script",Yv="public",Vv="system";function qv(e){return e>=55296&&e<=57343}function Kv(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function Xv(e){return e>=64976&&e<=65007||Uv.has(e)}var $v;!function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"}($v=$v||($v={}));class Jv{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){const{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if(function(e){return e>=56320&&e<=57343}(t))return this.pos++,this._addGap(),1024*(e-55296)+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,jv.EOF;return this._err($v.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t<e.length;t++){if((32|this.html.charCodeAt(this.pos+t))!==e.charCodeAt(t))return!1}return!0}peek(e){const t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,jv.EOF;const n=this.html.charCodeAt(t);return n===jv.CARRIAGE_RETURN?jv.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,jv.EOF;let e=this.html.charCodeAt(this.pos);if(e===jv.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,jv.LINE_FEED;if(e===jv.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,qv(e)&&(e=this._processSurrogate(e));return null===this.handler.onParseError||e>31&&e<127||e===jv.LINE_FEED||e===jv.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){Kv(e)?this._err($v.controlCharacterInInputStream):Xv(e)&&this._err($v.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Zv;function ey(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}!function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"}(Zv=Zv||(Zv={}));const ty=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e=>e.charCodeAt(0)))),ny=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));var ry;const oy=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),iy=null!==(ry=String.fromCodePoint)&&void 0!==ry?ry:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};function ay(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=oy.get(e))&&void 0!==t?t:e}var sy;!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(sy||(sy={}));var ly,cy,uy;function dy(e){return e>=sy.ZERO&&e<=sy.NINE}function fy(e){return e>=sy.UPPER_A&&e<=sy.UPPER_F||e>=sy.LOWER_A&&e<=sy.LOWER_F}function py(e){return e===sy.EQUALS||function(e){return e>=sy.UPPER_A&&e<=sy.UPPER_Z||e>=sy.LOWER_A&&e<=sy.LOWER_Z||dy(e)}(e)}!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(ly||(ly={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(cy||(cy={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(uy||(uy={}));class hy{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=cy.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=uy.Strict}startEntity(e){this.decodeMode=e,this.state=cy.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case cy.EntityStart:return e.charCodeAt(t)===sy.NUM?(this.state=cy.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=cy.NamedEntity,this.stateNamedEntity(e,t));case cy.NumericStart:return this.stateNumericStart(e,t);case cy.NumericDecimal:return this.stateNumericDecimal(e,t);case cy.NumericHex:return this.stateNumericHex(e,t);case cy.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===sy.LOWER_X?(this.state=cy.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=cy.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){const o=n-t;this.result=this.result*Math.pow(r,o)+parseInt(e.substr(t,o),r),this.consumed+=o}}stateNumericHex(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t);if(!dy(r)&&!fy(r))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3);t+=1}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t);if(!dy(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===sy.SEMI)this.consumed+=1;else if(this.decodeMode===uy.Strict)return 0;return this.emitCodePoint(ay(this.result),this.consumed),this.errors&&(e!==sy.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let r=n[this.treeIndex],o=(r&ly.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){const i=e.charCodeAt(t);if(this.treeIndex=gy(n,r,this.treeIndex+Math.max(1,o),i),this.treeIndex<0)return 0===this.result||this.decodeMode===uy.Attribute&&(0===o||py(i))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],o=(r&ly.VALUE_LENGTH)>>14,0!==o){if(i===sy.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==uy.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,r=(n[t]&ly.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~ly.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case cy.NamedEntity:return 0===this.result||this.decodeMode===uy.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case cy.NumericDecimal:return this.emitNumericEntity(0,2);case cy.NumericHex:return this.emitNumericEntity(0,3);case cy.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case cy.EntityStart:return 0}}}function my(e){let t="";const n=new hy(e,(e=>t+=iy(e)));return function(e,r){let o=0,i=0;for(;(i=e.indexOf("&",i))>=0;){t+=e.slice(o,i),n.startEntity(r);const a=n.write(e,i+1);if(a<0){o=i+n.end();break}o=i+a,i=0===a?o+1:o}const a=t+e.slice(o);return t="",a}}function gy(e,t,n,r){const o=(t&ly.BRANCH_LENGTH)>>7,i=t&ly.JUMP_TABLE;if(0===o)return 0!==i&&r===i?n:-1;if(i){const t=r-i;return t<0||t>=o?-1:e[n+t]-1}let a=n,s=a+o-1;for(;a<=s;){const t=a+s>>>1,n=e[t];if(n<r)a=t+1;else{if(!(n>r))return e[t+o];s=t-1}}return-1}my(ty),my(ny);var Ey,vy,yy,by,Ty;!function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"}(Ey=Ey||(Ey={})),function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"}(vy=vy||(vy={})),function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"}(yy=yy||(yy={})),function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"}(by=by||(by={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SECTION=94]="SECTION",e[e.SELECT=95]="SELECT",e[e.SOURCE=96]="SOURCE",e[e.SMALL=97]="SMALL",e[e.SPAN=98]="SPAN",e[e.STRIKE=99]="STRIKE",e[e.STRONG=100]="STRONG",e[e.STYLE=101]="STYLE",e[e.SUB=102]="SUB",e[e.SUMMARY=103]="SUMMARY",e[e.SUP=104]="SUP",e[e.TABLE=105]="TABLE",e[e.TBODY=106]="TBODY",e[e.TEMPLATE=107]="TEMPLATE",e[e.TEXTAREA=108]="TEXTAREA",e[e.TFOOT=109]="TFOOT",e[e.TD=110]="TD",e[e.TH=111]="TH",e[e.THEAD=112]="THEAD",e[e.TITLE=113]="TITLE",e[e.TR=114]="TR",e[e.TRACK=115]="TRACK",e[e.TT=116]="TT",e[e.U=117]="U",e[e.UL=118]="UL",e[e.SVG=119]="SVG",e[e.VAR=120]="VAR",e[e.WBR=121]="WBR",e[e.XMP=122]="XMP"}(Ty=Ty||(Ty={}));const _y=new Map([[by.A,Ty.A],[by.ADDRESS,Ty.ADDRESS],[by.ANNOTATION_XML,Ty.ANNOTATION_XML],[by.APPLET,Ty.APPLET],[by.AREA,Ty.AREA],[by.ARTICLE,Ty.ARTICLE],[by.ASIDE,Ty.ASIDE],[by.B,Ty.B],[by.BASE,Ty.BASE],[by.BASEFONT,Ty.BASEFONT],[by.BGSOUND,Ty.BGSOUND],[by.BIG,Ty.BIG],[by.BLOCKQUOTE,Ty.BLOCKQUOTE],[by.BODY,Ty.BODY],[by.BR,Ty.BR],[by.BUTTON,Ty.BUTTON],[by.CAPTION,Ty.CAPTION],[by.CENTER,Ty.CENTER],[by.CODE,Ty.CODE],[by.COL,Ty.COL],[by.COLGROUP,Ty.COLGROUP],[by.DD,Ty.DD],[by.DESC,Ty.DESC],[by.DETAILS,Ty.DETAILS],[by.DIALOG,Ty.DIALOG],[by.DIR,Ty.DIR],[by.DIV,Ty.DIV],[by.DL,Ty.DL],[by.DT,Ty.DT],[by.EM,Ty.EM],[by.EMBED,Ty.EMBED],[by.FIELDSET,Ty.FIELDSET],[by.FIGCAPTION,Ty.FIGCAPTION],[by.FIGURE,Ty.FIGURE],[by.FONT,Ty.FONT],[by.FOOTER,Ty.FOOTER],[by.FOREIGN_OBJECT,Ty.FOREIGN_OBJECT],[by.FORM,Ty.FORM],[by.FRAME,Ty.FRAME],[by.FRAMESET,Ty.FRAMESET],[by.H1,Ty.H1],[by.H2,Ty.H2],[by.H3,Ty.H3],[by.H4,Ty.H4],[by.H5,Ty.H5],[by.H6,Ty.H6],[by.HEAD,Ty.HEAD],[by.HEADER,Ty.HEADER],[by.HGROUP,Ty.HGROUP],[by.HR,Ty.HR],[by.HTML,Ty.HTML],[by.I,Ty.I],[by.IMG,Ty.IMG],[by.IMAGE,Ty.IMAGE],[by.INPUT,Ty.INPUT],[by.IFRAME,Ty.IFRAME],[by.KEYGEN,Ty.KEYGEN],[by.LABEL,Ty.LABEL],[by.LI,Ty.LI],[by.LINK,Ty.LINK],[by.LISTING,Ty.LISTING],[by.MAIN,Ty.MAIN],[by.MALIGNMARK,Ty.MALIGNMARK],[by.MARQUEE,Ty.MARQUEE],[by.MATH,Ty.MATH],[by.MENU,Ty.MENU],[by.META,Ty.META],[by.MGLYPH,Ty.MGLYPH],[by.MI,Ty.MI],[by.MO,Ty.MO],[by.MN,Ty.MN],[by.MS,Ty.MS],[by.MTEXT,Ty.MTEXT],[by.NAV,Ty.NAV],[by.NOBR,Ty.NOBR],[by.NOFRAMES,Ty.NOFRAMES],[by.NOEMBED,Ty.NOEMBED],[by.NOSCRIPT,Ty.NOSCRIPT],[by.OBJECT,Ty.OBJECT],[by.OL,Ty.OL],[by.OPTGROUP,Ty.OPTGROUP],[by.OPTION,Ty.OPTION],[by.P,Ty.P],[by.PARAM,Ty.PARAM],[by.PLAINTEXT,Ty.PLAINTEXT],[by.PRE,Ty.PRE],[by.RB,Ty.RB],[by.RP,Ty.RP],[by.RT,Ty.RT],[by.RTC,Ty.RTC],[by.RUBY,Ty.RUBY],[by.S,Ty.S],[by.SCRIPT,Ty.SCRIPT],[by.SECTION,Ty.SECTION],[by.SELECT,Ty.SELECT],[by.SOURCE,Ty.SOURCE],[by.SMALL,Ty.SMALL],[by.SPAN,Ty.SPAN],[by.STRIKE,Ty.STRIKE],[by.STRONG,Ty.STRONG],[by.STYLE,Ty.STYLE],[by.SUB,Ty.SUB],[by.SUMMARY,Ty.SUMMARY],[by.SUP,Ty.SUP],[by.TABLE,Ty.TABLE],[by.TBODY,Ty.TBODY],[by.TEMPLATE,Ty.TEMPLATE],[by.TEXTAREA,Ty.TEXTAREA],[by.TFOOT,Ty.TFOOT],[by.TD,Ty.TD],[by.TH,Ty.TH],[by.THEAD,Ty.THEAD],[by.TITLE,Ty.TITLE],[by.TR,Ty.TR],[by.TRACK,Ty.TRACK],[by.TT,Ty.TT],[by.U,Ty.U],[by.UL,Ty.UL],[by.SVG,Ty.SVG],[by.VAR,Ty.VAR],[by.WBR,Ty.WBR],[by.XMP,Ty.XMP]]);function Ay(e){var t;return null!==(t=_y.get(e))&&void 0!==t?t:Ty.UNKNOWN}const Sy=Ty,Cy={[Ey.HTML]:new Set([Sy.ADDRESS,Sy.APPLET,Sy.AREA,Sy.ARTICLE,Sy.ASIDE,Sy.BASE,Sy.BASEFONT,Sy.BGSOUND,Sy.BLOCKQUOTE,Sy.BODY,Sy.BR,Sy.BUTTON,Sy.CAPTION,Sy.CENTER,Sy.COL,Sy.COLGROUP,Sy.DD,Sy.DETAILS,Sy.DIR,Sy.DIV,Sy.DL,Sy.DT,Sy.EMBED,Sy.FIELDSET,Sy.FIGCAPTION,Sy.FIGURE,Sy.FOOTER,Sy.FORM,Sy.FRAME,Sy.FRAMESET,Sy.H1,Sy.H2,Sy.H3,Sy.H4,Sy.H5,Sy.H6,Sy.HEAD,Sy.HEADER,Sy.HGROUP,Sy.HR,Sy.HTML,Sy.IFRAME,Sy.IMG,Sy.INPUT,Sy.LI,Sy.LINK,Sy.LISTING,Sy.MAIN,Sy.MARQUEE,Sy.MENU,Sy.META,Sy.NAV,Sy.NOEMBED,Sy.NOFRAMES,Sy.NOSCRIPT,Sy.OBJECT,Sy.OL,Sy.P,Sy.PARAM,Sy.PLAINTEXT,Sy.PRE,Sy.SCRIPT,Sy.SECTION,Sy.SELECT,Sy.SOURCE,Sy.STYLE,Sy.SUMMARY,Sy.TABLE,Sy.TBODY,Sy.TD,Sy.TEMPLATE,Sy.TEXTAREA,Sy.TFOOT,Sy.TH,Sy.THEAD,Sy.TITLE,Sy.TR,Sy.TRACK,Sy.UL,Sy.WBR,Sy.XMP]),[Ey.MATHML]:new Set([Sy.MI,Sy.MO,Sy.MN,Sy.MS,Sy.MTEXT,Sy.ANNOTATION_XML]),[Ey.SVG]:new Set([Sy.TITLE,Sy.FOREIGN_OBJECT,Sy.DESC]),[Ey.XLINK]:new Set,[Ey.XML]:new Set,[Ey.XMLNS]:new Set};function ky(e){return e===Sy.H1||e===Sy.H2||e===Sy.H3||e===Sy.H4||e===Sy.H5||e===Sy.H6}new Set([by.STYLE,by.SCRIPT,by.XMP,by.IFRAME,by.NOEMBED,by.NOFRAMES,by.PLAINTEXT]);const Ny=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);var Iy;!function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",e[e.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",e[e.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",e[e.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",e[e.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",e[e.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"}(Iy||(Iy={}));const xy={DATA:Iy.DATA,RCDATA:Iy.RCDATA,RAWTEXT:Iy.RAWTEXT,SCRIPT_DATA:Iy.SCRIPT_DATA,PLAINTEXT:Iy.PLAINTEXT,CDATA_SECTION:Iy.CDATA_SECTION};function Oy(e){return e>=jv.DIGIT_0&&e<=jv.DIGIT_9}function wy(e){return e>=jv.LATIN_CAPITAL_A&&e<=jv.LATIN_CAPITAL_Z}function Dy(e){return function(e){return e>=jv.LATIN_SMALL_A&&e<=jv.LATIN_SMALL_Z}(e)||wy(e)}function Ry(e){return Dy(e)||Oy(e)}function Ly(e){return e>=jv.LATIN_CAPITAL_A&&e<=jv.LATIN_CAPITAL_F}function Py(e){return e>=jv.LATIN_SMALL_A&&e<=jv.LATIN_SMALL_F}function My(e){return e+32}function By(e){return e===jv.SPACE||e===jv.LINE_FEED||e===jv.TABULATION||e===jv.FORM_FEED}function Fy(e){return By(e)||e===jv.SOLIDUS||e===jv.GREATER_THAN_SIGN}class Uy{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=Iy.DATA,this.returnState=Iy.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Jv(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return!!this.preprocessor.startsWith(e,t)&&(this._advanceBy(e.length-1),!0)}_createStartTagToken(){this.currentToken={type:Zv.START_TAG,tagName:"",tagID:Ty.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Zv.END_TAG,tagName:"",tagID:Ty.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:Zv.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:Zv.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;const n=this.currentToken;if(null===ey(n,this.currentAttr.name)){if(n.attrs.push(this.currentAttr),n.location&&this.currentLocation){(null!==(e=(t=n.location).attrs)&&void 0!==e?e:t.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err($v.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const e=this.currentToken;this.prepareToken(e),e.tagID=Ay(e.tagName),e.type===Zv.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err($v.endTagWithAttributes),e.selfClosing&&this._err($v.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case Zv.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case Zv.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case Zv.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:Zv.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type===e)return void(this.currentCharacterToken.chars+=t);this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk()}this._createCharacterToken(e,t)}_emitCodePoint(e){const t=By(e)?Zv.WHITESPACE_CHARACTER:e===jv.NULL?Zv.NULL_CHARACTER:Zv.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(Zv.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,a=ty[0];i>=0&&(i=gy(ty,a,i+1,e),!(i<0));e=this._consume()){n+=1,a=ty[i];const s=a&ly.VALUE_LENGTH;if(s){const a=(s>>14)-1;if(e!==jv.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((o=this.preprocessor.peek(1))===jv.EQUALS_SIGN||Ry(o))?(t=[jv.AMPERSAND],i+=a):(t=0===a?[ty[i]&~ly.VALUE_LENGTH]:1===a?[ty[++i]]:[ty[++i],ty[++i]],n=0,r=e!==jv.SEMICOLON),0===a){this._consume();break}}}var o;return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err($v.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===Iy.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===Iy.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===Iy.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case Iy.DATA:this._stateData(e);break;case Iy.RCDATA:this._stateRcdata(e);break;case Iy.RAWTEXT:this._stateRawtext(e);break;case Iy.SCRIPT_DATA:this._stateScriptData(e);break;case Iy.PLAINTEXT:this._statePlaintext(e);break;case Iy.TAG_OPEN:this._stateTagOpen(e);break;case Iy.END_TAG_OPEN:this._stateEndTagOpen(e);break;case Iy.TAG_NAME:this._stateTagName(e);break;case Iy.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case Iy.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case Iy.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case Iy.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case Iy.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case Iy.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case Iy.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case Iy.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case Iy.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case Iy.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case Iy.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case Iy.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case Iy.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case Iy.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case Iy.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case Iy.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case Iy.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case Iy.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case Iy.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case Iy.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case Iy.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case Iy.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case Iy.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case Iy.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case Iy.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case Iy.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case Iy.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case Iy.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case Iy.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case Iy.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case Iy.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case Iy.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case Iy.BOGUS_COMMENT:this._stateBogusComment(e);break;case Iy.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case Iy.COMMENT_START:this._stateCommentStart(e);break;case Iy.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case Iy.COMMENT:this._stateComment(e);break;case Iy.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case Iy.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case Iy.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case Iy.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case Iy.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case Iy.COMMENT_END:this._stateCommentEnd(e);break;case Iy.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case Iy.DOCTYPE:this._stateDoctype(e);break;case Iy.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case Iy.DOCTYPE_NAME:this._stateDoctypeName(e);break;case Iy.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case Iy.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case Iy.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case Iy.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case Iy.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case Iy.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case Iy.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case Iy.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case Iy.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case Iy.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case Iy.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case Iy.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case Iy.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case Iy.CDATA_SECTION:this._stateCdataSection(e);break;case Iy.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case Iy.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case Iy.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case Iy.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case Iy.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case Iy.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case Iy.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case Iy.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case Iy.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case Iy.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw new Error("Unknown state")}}_stateData(e){switch(e){case jv.LESS_THAN_SIGN:this.state=Iy.TAG_OPEN;break;case jv.AMPERSAND:this.returnState=Iy.DATA,this.state=Iy.CHARACTER_REFERENCE;break;case jv.NULL:this._err($v.unexpectedNullCharacter),this._emitCodePoint(e);break;case jv.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case jv.AMPERSAND:this.returnState=Iy.RCDATA,this.state=Iy.CHARACTER_REFERENCE;break;case jv.LESS_THAN_SIGN:this.state=Iy.RCDATA_LESS_THAN_SIGN;break;case jv.NULL:this._err($v.unexpectedNullCharacter),this._emitChars(Hv);break;case jv.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case jv.LESS_THAN_SIGN:this.state=Iy.RAWTEXT_LESS_THAN_SIGN;break;case jv.NULL:this._err($v.unexpectedNullCharacter),this._emitChars(Hv);break;case jv.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case jv.LESS_THAN_SIGN:this.state=Iy.SCRIPT_DATA_LESS_THAN_SIGN;break;case jv.NULL:this._err($v.unexpectedNullCharacter),this._emitChars(Hv);break;case jv.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case jv.NULL:this._err($v.unexpectedNullCharacter),this._emitChars(Hv);break;case jv.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(Dy(e))this._createStartTagToken(),this.state=Iy.TAG_NAME,this._stateTagName(e);else switch(e){case jv.EXCLAMATION_MARK:this.state=Iy.MARKUP_DECLARATION_OPEN;break;case jv.SOLIDUS:this.state=Iy.END_TAG_OPEN;break;case jv.QUESTION_MARK:this._err($v.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=Iy.BOGUS_COMMENT,this._stateBogusComment(e);break;case jv.EOF:this._err($v.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err($v.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=Iy.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(Dy(e))this._createEndTagToken(),this.state=Iy.TAG_NAME,this._stateTagName(e);else switch(e){case jv.GREATER_THAN_SIGN:this._err($v.missingEndTagName),this.state=Iy.DATA;break;case jv.EOF:this._err($v.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err($v.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=Iy.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){const t=this.currentToken;switch(e){case jv.SPACE:case jv.LINE_FEED:case jv.TABULATION:case jv.FORM_FEED:this.state=Iy.BEFORE_ATTRIBUTE_NAME;break;case jv.SOLIDUS:this.state=Iy.SELF_CLOSING_START_TAG;break;case jv.GREATER_THAN_SIGN:this.state=Iy.DATA,this.emitCurrentTagToken();break;case jv.NULL:this._err($v.unexpectedNullCharacter),t.tagName+=Hv;break;case jv.EOF:this._err($v.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(wy(e)?My(e):e)}}_stateRcdataLessThanSign(e){e===jv.SOLIDUS?this.state=Iy.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=Iy.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){Dy(e)?(this.state=Iy.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=Iy.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();this.currentToken.tagName=this.lastStartTagName;switch(this.preprocessor.peek(this.lastStartTagName.length)){case jv.SPACE:case jv.LINE_FEED:case jv.TABULATION:case jv.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=Iy.BEFORE_ATTRIBUTE_NAME,!1;case jv.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=Iy.SELF_CLOSING_START_TAG,!1;case jv.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=Iy.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=Iy.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===jv.SOLIDUS?this.state=Iy.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=Iy.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){Dy(e)?(this.state=Iy.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=Iy.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=Iy.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case jv.SOLIDUS:this.state=Iy.SCRIPT_DATA_END_TAG_OPEN;break;case jv.EXCLAMATION_MARK:this.state=Iy.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=Iy.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){Dy(e)?(this.state=Iy.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=Iy.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=Iy.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===jv.HYPHEN_MINUS?(this.state=Iy.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=Iy.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===jv.HYPHEN_MINUS?(this.state=Iy.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=Iy.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case jv.HYPHEN_MINUS:this.state=Iy.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case jv.LESS_THAN_SIGN:this.state=Iy.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case jv.NULL:this._err($v.unexpectedNullCharacter),this._emitChars(Hv);break;case jv.EOF:this._err($v.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case jv.HYPHEN_MINUS:this.state=Iy.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case jv.LESS_THAN_SIGN:this.state=Iy.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case jv.NULL:this._err($v.unexpectedNullCharacter),this.state=Iy.SCRIPT_DATA_ESCAPED,this._emitChars(Hv);break;case jv.EOF:this._err($v.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Iy.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case jv.HYPHEN_MINUS:this._emitChars("-");break;case jv.LESS_THAN_SIGN:this.state=Iy.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case jv.GREATER_THAN_SIGN:this.state=Iy.SCRIPT_DATA,this._emitChars(">");break;case jv.NULL:this._err($v.unexpectedNullCharacter),this.state=Iy.SCRIPT_DATA_ESCAPED,this._emitChars(Hv);break;case jv.EOF:this._err($v.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Iy.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===jv.SOLIDUS?this.state=Iy.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Dy(e)?(this._emitChars("<"),this.state=Iy.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=Iy.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){Dy(e)?(this.state=Iy.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=Iy.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=Iy.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(Wv,!1)&&Fy(this.preprocessor.peek(Wv.length))){this._emitCodePoint(e);for(let e=0;e<Wv.length;e++)this._emitCodePoint(this._consume());this.state=Iy.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=Iy.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case jv.HYPHEN_MINUS:this.state=Iy.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case jv.LESS_THAN_SIGN:this.state=Iy.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case jv.NULL:this._err($v.unexpectedNullCharacter),this._emitChars(Hv);break;case jv.EOF:this._err($v.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case jv.HYPHEN_MINUS:this.state=Iy.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case jv.LESS_THAN_SIGN:this.state=Iy.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case jv.NULL:this._err($v.unexpectedNullCharacter),this.state=Iy.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Hv);break;case jv.EOF:this._err($v.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Iy.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case jv.HYPHEN_MINUS:this._emitChars("-");break;case jv.LESS_THAN_SIGN:this.state=Iy.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case jv.GREATER_THAN_SIGN:this.state=Iy.SCRIPT_DATA,this._emitChars(">");break;case jv.NULL:this._err($v.unexpectedNullCharacter),this.state=Iy.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Hv);break;case jv.EOF:this._err($v.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Iy.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===jv.SOLIDUS?(this.state=Iy.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=Iy.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(Wv,!1)&&Fy(this.preprocessor.peek(Wv.length))){this._emitCodePoint(e);for(let e=0;e<Wv.length;e++)this._emitCodePoint(this._consume());this.state=Iy.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=Iy.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case jv.SPACE:case jv.LINE_FEED:case jv.TABULATION:case jv.FORM_FEED:break;case jv.SOLIDUS:case jv.GREATER_THAN_SIGN:case jv.EOF:this.state=Iy.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case jv.EQUALS_SIGN:this._err($v.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=Iy.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=Iy.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case jv.SPACE:case jv.LINE_FEED:case jv.TABULATION:case jv.FORM_FEED:case jv.SOLIDUS:case jv.GREATER_THAN_SIGN:case jv.EOF:this._leaveAttrName(),this.state=Iy.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case jv.EQUALS_SIGN:this._leaveAttrName(),this.state=Iy.BEFORE_ATTRIBUTE_VALUE;break;case jv.QUOTATION_MARK:case jv.APOSTROPHE:case jv.LESS_THAN_SIGN:this._err($v.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case jv.NULL:this._err($v.unexpectedNullCharacter),this.currentAttr.name+=Hv;break;default:this.currentAttr.name+=String.fromCodePoint(wy(e)?My(e):e)}}_stateAfterAttributeName(e){switch(e){case jv.SPACE:case jv.LINE_FEED:case jv.TABULATION:case jv.FORM_FEED:break;case jv.SOLIDUS:this.state=Iy.SELF_CLOSING_START_TAG;break;case jv.EQUALS_SIGN:this.state=Iy.BEFORE_ATTRIBUTE_VALUE;break;case jv.GREATER_THAN_SIGN:this.state=Iy.DATA,this.emitCurrentTagToken();break;case jv.EOF:this._err($v.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=Iy.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case jv.SPACE:case jv.LINE_FEED:case jv.TABULATION:case jv.FORM_FEED:break;case jv.QUOTATION_MARK:this.state=Iy.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case jv.APOSTROPHE:this.state=Iy.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case jv.GREATER_THAN_SIGN:this._err($v.missingAttributeValue),this.state=Iy.DATA,this.emitCurrentTagToken();break;default:this.state=Iy.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case jv.QUOTATION_MARK:this.state=Iy.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case jv.AMPERSAND:this.returnState=Iy.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=Iy.CHARACTER_REFERENCE;break;case jv.NULL:this._err($v.unexpectedNullCharacter),this.currentAttr.value+=Hv;break;case jv.EOF:this._err($v.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case jv.APOSTROPHE:this.state=Iy.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case jv.AMPERSAND:this.returnState=Iy.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=Iy.CHARACTER_REFERENCE;break;case jv.NULL:this._err($v.unexpectedNullCharacter),this.currentAttr.value+=Hv;break;case jv.EOF:this._err($v.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case jv.SPACE:case jv.LINE_FEED:case jv.TABULATION:case jv.FORM_FEED:this._leaveAttrValue(),this.state=Iy.BEFORE_ATTRIBUTE_NAME;break;case jv.AMPERSAND:this.returnState=Iy.ATTRIBUTE_VALUE_UNQUOTED,this.state=Iy.CHARACTER_REFERENCE;break;case jv.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Iy.DATA,this.emitCurrentTagToken();break;case jv.NULL:this._err($v.unexpectedNullCharacter),this.currentAttr.value+=Hv;break;case jv.QUOTATION_MARK:case jv.APOSTROPHE:case jv.LESS_THAN_SIGN:case jv.EQUALS_SIGN:case jv.GRAVE_ACCENT:this._err($v.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case jv.EOF:this._err($v.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case jv.SPACE:case jv.LINE_FEED:case jv.TABULATION:case jv.FORM_FEED:this._leaveAttrValue(),this.state=Iy.BEFORE_ATTRIBUTE_NAME;break;case jv.SOLIDUS:this._leaveAttrValue(),this.state=Iy.SELF_CLOSING_START_TAG;break;case jv.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Iy.DATA,this.emitCurrentTagToken();break;case jv.EOF:this._err($v.eofInTag),this._emitEOFToken();break;default:this._err($v.missingWhitespaceBetweenAttributes),this.state=Iy.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case jv.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=Iy.DATA,this.emitCurrentTagToken();break;case jv.EOF:this._err($v.eofInTag),this._emitEOFToken();break;default:this._err($v.unexpectedSolidusInTag),this.state=Iy.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){const t=this.currentToken;switch(e){case jv.GREATER_THAN_SIGN:this.state=Iy.DATA,this.emitCurrentComment(t);break;case jv.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case jv.NULL:this._err($v.unexpectedNullCharacter),t.data+=Hv;break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(Gv,!0)?(this._createCommentToken(Gv.length+1),this.state=Iy.COMMENT_START):this._consumeSequenceIfMatch(zv,!1)?(this.currentLocation=this.getCurrentLocation(zv.length+1),this.state=Iy.DOCTYPE):this._consumeSequenceIfMatch(Qv,!0)?this.inForeignNode?this.state=Iy.CDATA_SECTION:(this._err($v.cdataInHtmlContent),this._createCommentToken(Qv.length+1),this.currentToken.data="[CDATA[",this.state=Iy.BOGUS_COMMENT):this._ensureHibernation()||(this._err($v.incorrectlyOpenedComment),this._createCommentToken(2),this.state=Iy.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case jv.HYPHEN_MINUS:this.state=Iy.COMMENT_START_DASH;break;case jv.GREATER_THAN_SIGN:{this._err($v.abruptClosingOfEmptyComment),this.state=Iy.DATA;const e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=Iy.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){const t=this.currentToken;switch(e){case jv.HYPHEN_MINUS:this.state=Iy.COMMENT_END;break;case jv.GREATER_THAN_SIGN:this._err($v.abruptClosingOfEmptyComment),this.state=Iy.DATA,this.emitCurrentComment(t);break;case jv.EOF:this._err($v.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=Iy.COMMENT,this._stateComment(e)}}_stateComment(e){const t=this.currentToken;switch(e){case jv.HYPHEN_MINUS:this.state=Iy.COMMENT_END_DASH;break;case jv.LESS_THAN_SIGN:t.data+="<",this.state=Iy.COMMENT_LESS_THAN_SIGN;break;case jv.NULL:this._err($v.unexpectedNullCharacter),t.data+=Hv;break;case jv.EOF:this._err($v.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){const t=this.currentToken;switch(e){case jv.EXCLAMATION_MARK:t.data+="!",this.state=Iy.COMMENT_LESS_THAN_SIGN_BANG;break;case jv.LESS_THAN_SIGN:t.data+="<";break;default:this.state=Iy.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===jv.HYPHEN_MINUS?this.state=Iy.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=Iy.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===jv.HYPHEN_MINUS?this.state=Iy.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=Iy.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==jv.GREATER_THAN_SIGN&&e!==jv.EOF&&this._err($v.nestedComment),this.state=Iy.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){const t=this.currentToken;switch(e){case jv.HYPHEN_MINUS:this.state=Iy.COMMENT_END;break;case jv.EOF:this._err($v.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=Iy.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){const t=this.currentToken;switch(e){case jv.GREATER_THAN_SIGN:this.state=Iy.DATA,this.emitCurrentComment(t);break;case jv.EXCLAMATION_MARK:this.state=Iy.COMMENT_END_BANG;break;case jv.HYPHEN_MINUS:t.data+="-";break;case jv.EOF:this._err($v.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=Iy.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){const t=this.currentToken;switch(e){case jv.HYPHEN_MINUS:t.data+="--!",this.state=Iy.COMMENT_END_DASH;break;case jv.GREATER_THAN_SIGN:this._err($v.incorrectlyClosedComment),this.state=Iy.DATA,this.emitCurrentComment(t);break;case jv.EOF:this._err($v.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=Iy.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case jv.SPACE:case jv.LINE_FEED:case jv.TABULATION:case jv.FORM_FEED:this.state=Iy.BEFORE_DOCTYPE_NAME;break;case jv.GREATER_THAN_SIGN:this.state=Iy.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case jv.EOF:{this._err($v.eofInDoctype),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err($v.missingWhitespaceBeforeDoctypeName),this.state=Iy.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(wy(e))this._createDoctypeToken(String.fromCharCode(My(e))),this.state=Iy.DOCTYPE_NAME;else switch(e){case jv.SPACE:case jv.LINE_FEED:case jv.TABULATION:case jv.FORM_FEED:break;case jv.NULL:this._err($v.unexpectedNullCharacter),this._createDoctypeToken(Hv),this.state=Iy.DOCTYPE_NAME;break;case jv.GREATER_THAN_SIGN:{this._err($v.missingDoctypeName),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=Iy.DATA;break}case jv.EOF:{this._err($v.eofInDoctype),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=Iy.DOCTYPE_NAME}}_stateDoctypeName(e){const t=this.currentToken;switch(e){case jv.SPACE:case jv.LINE_FEED:case jv.TABULATION:case jv.FORM_FEED:this.state=Iy.AFTER_DOCTYPE_NAME;break;case jv.GREATER_THAN_SIGN:this.state=Iy.DATA,this.emitCurrentDoctype(t);break;case jv.NULL:this._err($v.unexpectedNullCharacter),t.name+=Hv;break;case jv.EOF:this._err($v.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(wy(e)?My(e):e)}}_stateAfterDoctypeName(e){const t=this.currentToken;switch(e){case jv.SPACE:case jv.LINE_FEED:case jv.TABULATION:case jv.FORM_FEED:break;case jv.GREATER_THAN_SIGN:this.state=Iy.DATA,this.emitCurrentDoctype(t);break;case jv.EOF:this._err($v.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(Yv,!1)?this.state=Iy.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Vv,!1)?this.state=Iy.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err($v.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=Iy.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e){case jv.SPACE:case jv.LINE_FEED:case jv.TABULATION:case jv.FORM_FEED:this.state=Iy.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case jv.QUOTATION_MARK:this._err($v.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=Iy.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case jv.APOSTROPHE:this._err($v.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=Iy.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case jv.GREATER_THAN_SIGN:this._err($v.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Iy.DATA,this.emitCurrentDoctype(t);break;case jv.EOF:this._err($v.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err($v.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Iy.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case jv.SPACE:case jv.LINE_FEED:case jv.TABULATION:case jv.FORM_FEED:break;case jv.QUOTATION_MARK:t.publicId="",this.state=Iy.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case jv.APOSTROPHE:t.publicId="",this.state=Iy.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case jv.GREATER_THAN_SIGN:this._err($v.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Iy.DATA,this.emitCurrentDoctype(t);break;case jv.EOF:this._err($v.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err($v.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Iy.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case jv.QUOTATION_MARK:this.state=Iy.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case jv.NULL:this._err($v.unexpectedNullCharacter),t.publicId+=Hv;break;case jv.GREATER_THAN_SIGN:this._err($v.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Iy.DATA;break;case jv.EOF:this._err($v.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case jv.APOSTROPHE:this.state=Iy.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case jv.NULL:this._err($v.unexpectedNullCharacter),t.publicId+=Hv;break;case jv.GREATER_THAN_SIGN:this._err($v.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Iy.DATA;break;case jv.EOF:this._err($v.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case jv.SPACE:case jv.LINE_FEED:case jv.TABULATION:case jv.FORM_FEED:this.state=Iy.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case jv.GREATER_THAN_SIGN:this.state=Iy.DATA,this.emitCurrentDoctype(t);break;case jv.QUOTATION_MARK:this._err($v.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=Iy.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case jv.APOSTROPHE:this._err($v.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=Iy.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case jv.EOF:this._err($v.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err($v.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Iy.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.currentToken;switch(e){case jv.SPACE:case jv.LINE_FEED:case jv.TABULATION:case jv.FORM_FEED:break;case jv.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Iy.DATA;break;case jv.QUOTATION_MARK:t.systemId="",this.state=Iy.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case jv.APOSTROPHE:t.systemId="",this.state=Iy.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case jv.EOF:this._err($v.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err($v.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Iy.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e){case jv.SPACE:case jv.LINE_FEED:case jv.TABULATION:case jv.FORM_FEED:this.state=Iy.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case jv.QUOTATION_MARK:this._err($v.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=Iy.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case jv.APOSTROPHE:this._err($v.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=Iy.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case jv.GREATER_THAN_SIGN:this._err($v.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Iy.DATA,this.emitCurrentDoctype(t);break;case jv.EOF:this._err($v.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err($v.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Iy.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case jv.SPACE:case jv.LINE_FEED:case jv.TABULATION:case jv.FORM_FEED:break;case jv.QUOTATION_MARK:t.systemId="",this.state=Iy.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case jv.APOSTROPHE:t.systemId="",this.state=Iy.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case jv.GREATER_THAN_SIGN:this._err($v.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Iy.DATA,this.emitCurrentDoctype(t);break;case jv.EOF:this._err($v.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err($v.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Iy.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case jv.QUOTATION_MARK:this.state=Iy.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case jv.NULL:this._err($v.unexpectedNullCharacter),t.systemId+=Hv;break;case jv.GREATER_THAN_SIGN:this._err($v.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Iy.DATA;break;case jv.EOF:this._err($v.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case jv.APOSTROPHE:this.state=Iy.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case jv.NULL:this._err($v.unexpectedNullCharacter),t.systemId+=Hv;break;case jv.GREATER_THAN_SIGN:this._err($v.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Iy.DATA;break;case jv.EOF:this._err($v.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case jv.SPACE:case jv.LINE_FEED:case jv.TABULATION:case jv.FORM_FEED:break;case jv.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Iy.DATA;break;case jv.EOF:this._err($v.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err($v.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=Iy.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){const t=this.currentToken;switch(e){case jv.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Iy.DATA;break;case jv.NULL:this._err($v.unexpectedNullCharacter);break;case jv.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case jv.RIGHT_SQUARE_BRACKET:this.state=Iy.CDATA_SECTION_BRACKET;break;case jv.EOF:this._err($v.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===jv.RIGHT_SQUARE_BRACKET?this.state=Iy.CDATA_SECTION_END:(this._emitChars("]"),this.state=Iy.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case jv.GREATER_THAN_SIGN:this.state=Iy.DATA;break;case jv.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=Iy.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(e){e===jv.NUMBER_SIGN?this.state=Iy.NUMERIC_CHARACTER_REFERENCE:Ry(e)?(this.state=Iy.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(e)):(this._flushCodePointConsumedAsCharacterReference(jv.AMPERSAND),this._reconsumeInState(this.returnState,e))}_stateNamedCharacterReference(e){const t=this._matchNamedCharacterReference(e);if(this._ensureHibernation());else if(t){for(let e=0;e<t.length;e++)this._flushCodePointConsumedAsCharacterReference(t[e]);this.state=this.returnState}else this._flushCodePointConsumedAsCharacterReference(jv.AMPERSAND),this.state=Iy.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(e){Ry(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===jv.SEMICOLON&&this._err($v.unknownNamedCharacterReference),this._reconsumeInState(this.returnState,e))}_stateNumericCharacterReference(e){this.charRefCode=0,e===jv.LATIN_SMALL_X||e===jv.LATIN_CAPITAL_X?this.state=Iy.HEXADEMICAL_CHARACTER_REFERENCE_START:Oy(e)?(this.state=Iy.DECIMAL_CHARACTER_REFERENCE,this._stateDecimalCharacterReference(e)):(this._err($v.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(jv.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(jv.NUMBER_SIGN),this._reconsumeInState(this.returnState,e))}_stateHexademicalCharacterReferenceStart(e){!function(e){return Oy(e)||Ly(e)||Py(e)}(e)?(this._err($v.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(jv.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(jv.NUMBER_SIGN),this._unconsume(2),this.state=this.returnState):(this.state=Iy.HEXADEMICAL_CHARACTER_REFERENCE,this._stateHexademicalCharacterReference(e))}_stateHexademicalCharacterReference(e){Ly(e)?this.charRefCode=16*this.charRefCode+e-55:Py(e)?this.charRefCode=16*this.charRefCode+e-87:Oy(e)?this.charRefCode=16*this.charRefCode+e-48:e===jv.SEMICOLON?this.state=Iy.NUMERIC_CHARACTER_REFERENCE_END:(this._err($v.missingSemicolonAfterCharacterReference),this.state=Iy.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(e))}_stateDecimalCharacterReference(e){Oy(e)?this.charRefCode=10*this.charRefCode+e-48:e===jv.SEMICOLON?this.state=Iy.NUMERIC_CHARACTER_REFERENCE_END:(this._err($v.missingSemicolonAfterCharacterReference),this.state=Iy.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(e))}_stateNumericCharacterReferenceEnd(e){if(this.charRefCode===jv.NULL)this._err($v.nullCharacterReference),this.charRefCode=jv.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err($v.characterReferenceOutsideUnicodeRange),this.charRefCode=jv.REPLACEMENT_CHARACTER;else if(qv(this.charRefCode))this._err($v.surrogateCharacterReference),this.charRefCode=jv.REPLACEMENT_CHARACTER;else if(Xv(this.charRefCode))this._err($v.noncharacterCharacterReference);else if(Kv(this.charRefCode)||this.charRefCode===jv.CARRIAGE_RETURN){this._err($v.controlCharacterReference);const e=Ny.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}const Hy=new Set([Ty.DD,Ty.DT,Ty.LI,Ty.OPTGROUP,Ty.OPTION,Ty.P,Ty.RB,Ty.RP,Ty.RT,Ty.RTC]),jy=new Set([...Hy,Ty.CAPTION,Ty.COLGROUP,Ty.TBODY,Ty.TD,Ty.TFOOT,Ty.TH,Ty.THEAD,Ty.TR]),Gy=new Map([[Ty.APPLET,Ey.HTML],[Ty.CAPTION,Ey.HTML],[Ty.HTML,Ey.HTML],[Ty.MARQUEE,Ey.HTML],[Ty.OBJECT,Ey.HTML],[Ty.TABLE,Ey.HTML],[Ty.TD,Ey.HTML],[Ty.TEMPLATE,Ey.HTML],[Ty.TH,Ey.HTML],[Ty.ANNOTATION_XML,Ey.MATHML],[Ty.MI,Ey.MATHML],[Ty.MN,Ey.MATHML],[Ty.MO,Ey.MATHML],[Ty.MS,Ey.MATHML],[Ty.MTEXT,Ey.MATHML],[Ty.DESC,Ey.SVG],[Ty.FOREIGN_OBJECT,Ey.SVG],[Ty.TITLE,Ey.SVG]]),Qy=[Ty.H1,Ty.H2,Ty.H3,Ty.H4,Ty.H5,Ty.H6],zy=[Ty.TR,Ty.TEMPLATE,Ty.HTML],Wy=[Ty.TBODY,Ty.TFOOT,Ty.THEAD,Ty.TEMPLATE,Ty.HTML],Yy=[Ty.TABLE,Ty.TEMPLATE,Ty.HTML],Vy=[Ty.TD,Ty.TH];class qy{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=Ty.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===Ty.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Ey.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){const r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do{t=this.tagIDs.lastIndexOf(e,t-1)}while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==Ey.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){const t=this._indexOf(e);this.shortenToLength(t<0?0:t)}popUntilPopped(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLength(n<0?0:n)}popUntilNumberedHeaderPopped(){this.popUntilPopped(Qy,Ey.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Vy,Ey.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return-1}clearBackTo(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(Yy,Ey.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Wy,Ey.HTML)}clearBackToTableRowContext(){this.clearBackTo(zy,Ey.HTML)}remove(e){const t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===Ty.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===Ty.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===Ey.HTML)return!0;if(Gy.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(ky(t)&&n===Ey.HTML)return!0;if(Gy.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===Ey.HTML)return!0;if((n===Ty.UL||n===Ty.OL)&&r===Ey.HTML||Gy.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===Ey.HTML)return!0;if(n===Ty.BUTTON&&r===Ey.HTML||Gy.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===Ey.HTML){if(n===e)return!0;if(n===Ty.TABLE||n===Ty.TEMPLATE||n===Ty.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];if(this.treeAdapter.getNamespaceURI(this.items[e])===Ey.HTML){if(t===Ty.TBODY||t===Ty.THEAD||t===Ty.TFOOT)return!0;if(t===Ty.TABLE||t===Ty.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===Ey.HTML){if(n===e)return!0;if(n!==Ty.OPTION&&n!==Ty.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;Hy.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;jy.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&jy.has(this.currentTagId);)this.pop()}}var Ky;!function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"}(Ky=Ky||(Ky={}));const Xy={type:Ky.Marker};class $y{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){const n=[],r=t.length,o=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){const t=this.entries[e];if(t.type===Ky.Marker)break;const{element:a}=t;if(this.treeAdapter.getTagName(a)===o&&this.treeAdapter.getNamespaceURI(a)===i){const t=this.treeAdapter.getAttrList(a);t.length===r&&n.push({idx:e,attrs:t})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<3)return;const t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t);if(n.length<3)return;const r=new Map(t.map((e=>[e.name,e.value])));let o=0;for(let e=0;e<n.length;e++){const t=n[e];t.attrs.every((e=>r.get(e.name)===e.value))&&(o+=1,o>=3&&this.entries.splice(t.idx,1))}}insertMarker(){this.entries.unshift(Xy)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:Ky.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:Ky.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){const e=this.entries.indexOf(Xy);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){const t=this.entries.find((t=>t.type===Ky.Marker||this.treeAdapter.getTagName(t.element)===e));return t&&t.type===Ky.Element?t:null}getElementEntry(e){return this.entries.find((t=>t.type===Ky.Element&&t.element===e))}}function Jy(e){return{nodeName:"#text",value:e,parentNode:null}}const Zy={createDocument:()=>({nodeName:"#document",mode:yy.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){const o=e.childNodes.find((e=>"#documentType"===e.nodeName));if(o)o.name=t,o.publicId=n,o.systemId=r;else{const o={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};Zy.appendChild(e,o)}},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(Zy.isTextNode(n))return void(n.value+=t)}Zy.appendChild(e,Jy(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&Zy.isTextNode(r)?r.value+=t:Zy.insertBefore(e,Jy(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map((e=>e.name)));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild:e=>e.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},eb="html",tb="about:legacy-compat",nb="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",rb=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],ob=[...rb,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],ib=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),ab=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],sb=[...ab,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function lb(e,t){return t.some((t=>e.startsWith(t)))}const cb={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},ub="definitionurl",db="definitionURL",fb=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((e=>[e.toLowerCase(),e]))),pb=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:Ey.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:Ey.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:Ey.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:Ey.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:Ey.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:Ey.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:Ey.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:Ey.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:Ey.XML}],["xml:space",{prefix:"xml",name:"space",namespace:Ey.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:Ey.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:Ey.XMLNS}]]),hb=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((e=>[e.toLowerCase(),e]))),mb=new Set([Ty.B,Ty.BIG,Ty.BLOCKQUOTE,Ty.BODY,Ty.BR,Ty.CENTER,Ty.CODE,Ty.DD,Ty.DIV,Ty.DL,Ty.DT,Ty.EM,Ty.EMBED,Ty.H1,Ty.H2,Ty.H3,Ty.H4,Ty.H5,Ty.H6,Ty.HEAD,Ty.HR,Ty.I,Ty.IMG,Ty.LI,Ty.LISTING,Ty.MENU,Ty.META,Ty.NOBR,Ty.OL,Ty.P,Ty.PRE,Ty.RUBY,Ty.S,Ty.SMALL,Ty.SPAN,Ty.STRONG,Ty.STRIKE,Ty.SUB,Ty.SUP,Ty.TABLE,Ty.TT,Ty.U,Ty.UL,Ty.VAR]);function gb(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===ub){e.attrs[t].name=db;break}}function Eb(e){for(let t=0;t<e.attrs.length;t++){const n=fb.get(e.attrs[t].name);null!=n&&(e.attrs[t].name=n)}}function vb(e){for(let t=0;t<e.attrs.length;t++){const n=pb.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function yb(e,t,n,r){return(!r||r===Ey.HTML)&&function(e,t,n){if(t===Ey.MATHML&&e===Ty.ANNOTATION_XML)for(let e=0;e<n.length;e++)if(n[e].name===vy.ENCODING){const t=n[e].value.toLowerCase();return t===cb.TEXT_HTML||t===cb.APPLICATION_XML}return t===Ey.SVG&&(e===Ty.FOREIGN_OBJECT||e===Ty.DESC||e===Ty.TITLE)}(e,t,n)||(!r||r===Ey.MATHML)&&function(e,t){return t===Ey.MATHML&&(e===Ty.MI||e===Ty.MO||e===Ty.MN||e===Ty.MS||e===Ty.MTEXT)}(e,t)}const bb="hidden",Tb=8,_b=3;var Ab;!function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"}(Ab||(Ab={}));const Sb={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Cb=new Set([Ty.TABLE,Ty.TBODY,Ty.TFOOT,Ty.THEAD,Ty.TR]),kb={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Zy,onParseError:null};class Nb{constructor(e,t,n=null,r=null){this.fragmentContext=n,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=Ab.INITIAL,this.originalInsertionMode=Ab.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...kb,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=null!=t?t:this.treeAdapter.createDocument(),this.tokenizer=new Uy(this.options,this),this.activeFormattingElements=new $y(this.treeAdapter),this.fragmentContextID=n?Ay(this.treeAdapter.getTagName(n)):Ty.UNKNOWN,this._setContextModes(null!=n?n:this.document,this.fragmentContextID),this.openElements=new qy(this.document,this.treeAdapter,this)}static parse(e,t){const n=new this(t);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,t){const n={...kb,...t};null!=e||(e=n.treeAdapter.createElement(by.TEMPLATE,Ey.HTML,[]));const r=n.treeAdapter.createElement("documentmock",Ey.HTML,[]),o=new this(n,r,e);return o.fragmentContextID===Ty.TEMPLATE&&o.tmplInsertionModeStack.unshift(Ab.IN_TEMPLATE),o._initTokenizerForFragmentParsing(),o._insertFakeRootElement(),o._resetInsertionMode(),o._findFormInFragmentContext(),o}getFragment(){const e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,n){var r;if(!this.onParseError)return;const o=null!==(r=e.location)&&void 0!==r?r:Sb,i={code:t,startLine:o.startLine,startCol:o.startCol,startOffset:o.startOffset,endLine:n?o.startLine:o.endLine,endCol:n?o.startCol:o.endCol,endOffset:n?o.startOffset:o.endOffset};this.onParseError(i)}onItemPush(e,t,n){var r,o;null===(o=(r=this.treeAdapter).onItemPush)||void 0===o||o.call(r,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):({current:e,currentTagId:t}=this.openElements),this._setContextModes(e,t)}}_setContextModes(e,t){const n=e===this.document||this.treeAdapter.getNamespaceURI(e)===Ey.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,Ey.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=Ab.TEXT}switchToPlaintextParsing(){this.insertionMode=Ab.TEXT,this.originalInsertionMode=Ab.IN_BODY,this.tokenizer.state=xy.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===by.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===Ey.HTML)switch(this.fragmentContextID){case Ty.TITLE:case Ty.TEXTAREA:this.tokenizer.state=xy.RCDATA;break;case Ty.STYLE:case Ty.XMP:case Ty.IFRAME:case Ty.NOEMBED:case Ty.NOFRAMES:case Ty.NOSCRIPT:this.tokenizer.state=xy.RAWTEXT;break;case Ty.SCRIPT:this.tokenizer.state=xy.SCRIPT_DATA;break;case Ty.PLAINTEXT:this.tokenizer.state=xy.PLAINTEXT}}_setDocumentType(e){const t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){const t=this.treeAdapter.getChildNodes(this.document).find((e=>this.treeAdapter.isDocumentTypeNode(e)));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){const n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){const n=this.treeAdapter.createElement(e,Ey.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,Ey.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(by.HTML,Ey.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,Ty.HTML)}_appendCommentNode(e,t){const n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?(({parent:t,beforeElement:n}=this._findFosterParentingLocation()),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;const r=this.treeAdapter.getChildNodes(t),o=n?r.lastIndexOf(n):r.length,i=r[o-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){const{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const n=t.location,r=this.treeAdapter.getTagName(e),o=t.type===Zv.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,o)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,n;return 0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):({current:t,currentTagId:n}=this.openElements),(e.tagID!==Ty.SVG||this.treeAdapter.getTagName(t)!==by.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==Ey.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===Ty.MGLYPH||e.tagID===Ty.MALIGNMARK)&&!this._isIntegrationPoint(n,t,Ey.HTML))}_processToken(e){switch(e.type){case Zv.CHARACTER:this.onCharacter(e);break;case Zv.NULL_CHARACTER:this.onNullCharacter(e);break;case Zv.COMMENT:this.onComment(e);break;case Zv.DOCTYPE:this.onDoctype(e);break;case Zv.START_TAG:this._processStartTag(e);break;case Zv.END_TAG:this.onEndTag(e);break;case Zv.EOF:this.onEof(e);break;case Zv.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){return yb(e,this.treeAdapter.getNamespaceURI(t),this.treeAdapter.getAttrList(t),n)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.entries.length;if(e){const t=this.activeFormattingElements.entries.findIndex((e=>e.type===Ky.Marker||this.openElements.contains(e.element)));for(let n=t<0?e-1:t-1;n>=0;n--){const e=this.activeFormattingElements.entries[n];this._insertElement(e.token,this.treeAdapter.getNamespaceURI(e.element)),e.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Ab.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(Ty.P),this.openElements.popUntilTagNamePopped(Ty.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case Ty.TR:return void(this.insertionMode=Ab.IN_ROW);case Ty.TBODY:case Ty.THEAD:case Ty.TFOOT:return void(this.insertionMode=Ab.IN_TABLE_BODY);case Ty.CAPTION:return void(this.insertionMode=Ab.IN_CAPTION);case Ty.COLGROUP:return void(this.insertionMode=Ab.IN_COLUMN_GROUP);case Ty.TABLE:return void(this.insertionMode=Ab.IN_TABLE);case Ty.BODY:return void(this.insertionMode=Ab.IN_BODY);case Ty.FRAMESET:return void(this.insertionMode=Ab.IN_FRAMESET);case Ty.SELECT:return void this._resetInsertionModeForSelect(e);case Ty.TEMPLATE:return void(this.insertionMode=this.tmplInsertionModeStack[0]);case Ty.HTML:return void(this.insertionMode=this.headElement?Ab.AFTER_HEAD:Ab.BEFORE_HEAD);case Ty.TD:case Ty.TH:if(e>0)return void(this.insertionMode=Ab.IN_CELL);break;case Ty.HEAD:if(e>0)return void(this.insertionMode=Ab.IN_HEAD)}this.insertionMode=Ab.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.tagIDs[t];if(e===Ty.TEMPLATE)break;if(e===Ty.TABLE)return void(this.insertionMode=Ab.IN_SELECT_IN_TABLE)}this.insertionMode=Ab.IN_SELECT}_isElementCausesFosterParenting(e){return Cb.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case Ty.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===Ey.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case Ty.TABLE:{const n=this.treeAdapter.getParentNode(t);return n?{parent:n,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){const n=this.treeAdapter.getNamespaceURI(e);return Cy[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e);else switch(this.insertionMode){case Ab.INITIAL:Bb(this,e);break;case Ab.BEFORE_HTML:Fb(this,e);break;case Ab.BEFORE_HEAD:Ub(this,e);break;case Ab.IN_HEAD:Gb(this,e);break;case Ab.IN_HEAD_NO_SCRIPT:Qb(this,e);break;case Ab.AFTER_HEAD:zb(this,e);break;case Ab.IN_BODY:case Ab.IN_CAPTION:case Ab.IN_CELL:case Ab.IN_TEMPLATE:Vb(this,e);break;case Ab.TEXT:case Ab.IN_SELECT:case Ab.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case Ab.IN_TABLE:case Ab.IN_TABLE_BODY:case Ab.IN_ROW:nT(this,e);break;case Ab.IN_TABLE_TEXT:sT(this,e);break;case Ab.IN_COLUMN_GROUP:dT(this,e);break;case Ab.AFTER_BODY:bT(this,e);break;case Ab.AFTER_AFTER_BODY:TT(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){t.chars=Hv,e._insertCharacters(t)}(this,e);else switch(this.insertionMode){case Ab.INITIAL:Bb(this,e);break;case Ab.BEFORE_HTML:Fb(this,e);break;case Ab.BEFORE_HEAD:Ub(this,e);break;case Ab.IN_HEAD:Gb(this,e);break;case Ab.IN_HEAD_NO_SCRIPT:Qb(this,e);break;case Ab.AFTER_HEAD:zb(this,e);break;case Ab.TEXT:this._insertCharacters(e);break;case Ab.IN_TABLE:case Ab.IN_TABLE_BODY:case Ab.IN_ROW:nT(this,e);break;case Ab.IN_COLUMN_GROUP:dT(this,e);break;case Ab.AFTER_BODY:bT(this,e);break;case Ab.AFTER_AFTER_BODY:TT(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML)Pb(this,e);else switch(this.insertionMode){case Ab.INITIAL:case Ab.BEFORE_HTML:case Ab.BEFORE_HEAD:case Ab.IN_HEAD:case Ab.IN_HEAD_NO_SCRIPT:case Ab.AFTER_HEAD:case Ab.IN_BODY:case Ab.IN_TABLE:case Ab.IN_CAPTION:case Ab.IN_COLUMN_GROUP:case Ab.IN_TABLE_BODY:case Ab.IN_ROW:case Ab.IN_CELL:case Ab.IN_SELECT:case Ab.IN_SELECT_IN_TABLE:case Ab.IN_TEMPLATE:case Ab.IN_FRAMESET:case Ab.AFTER_FRAMESET:Pb(this,e);break;case Ab.IN_TABLE_TEXT:lT(this,e);break;case Ab.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case Ab.AFTER_AFTER_BODY:case Ab.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case Ab.INITIAL:!function(e,t){e._setDocumentType(t);const n=t.forceQuirks?yy.QUIRKS:function(e){if(e.name!==eb)return yy.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===nb)return yy.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),ib.has(n))return yy.QUIRKS;let e=null===t?ob:rb;if(lb(n,e))return yy.QUIRKS;if(e=null===t?ab:sb,lb(n,e))return yy.LIMITED_QUIRKS}return yy.NO_QUIRKS}(t);(function(e){return e.name===eb&&null===e.publicId&&(null===e.systemId||e.systemId===tb)})(t)||e._err(t,$v.nonConformingDoctype);e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=Ab.BEFORE_HTML}(this,e);break;case Ab.BEFORE_HEAD:case Ab.IN_HEAD:case Ab.IN_HEAD_NO_SCRIPT:case Ab.AFTER_HEAD:this._err(e,$v.misplacedDoctype);break;case Ab.IN_TABLE_TEXT:lT(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,$v.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){const t=e.tagID;return t===Ty.FONT&&e.attrs.some((({name:e})=>e===vy.COLOR||e===vy.SIZE||e===vy.FACE))||mb.has(t)}(t))_T(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===Ey.MATHML?gb(t):r===Ey.SVG&&(!function(e){const t=hb.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=Ay(e.tagName))}(t),Eb(t)),vb(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case Ab.INITIAL:Bb(this,e);break;case Ab.BEFORE_HTML:!function(e,t){t.tagID===Ty.HTML?(e._insertElement(t,Ey.HTML),e.insertionMode=Ab.BEFORE_HEAD):Fb(e,t)}(this,e);break;case Ab.BEFORE_HEAD:!function(e,t){switch(t.tagID){case Ty.HTML:Jb(e,t);break;case Ty.HEAD:e._insertElement(t,Ey.HTML),e.headElement=e.openElements.current,e.insertionMode=Ab.IN_HEAD;break;default:Ub(e,t)}}(this,e);break;case Ab.IN_HEAD:Hb(this,e);break;case Ab.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case Ty.HTML:Jb(e,t);break;case Ty.BASEFONT:case Ty.BGSOUND:case Ty.HEAD:case Ty.LINK:case Ty.META:case Ty.NOFRAMES:case Ty.STYLE:Hb(e,t);break;case Ty.NOSCRIPT:e._err(t,$v.nestedNoscriptInHead);break;default:Qb(e,t)}}(this,e);break;case Ab.AFTER_HEAD:!function(e,t){switch(t.tagID){case Ty.HTML:Jb(e,t);break;case Ty.BODY:e._insertElement(t,Ey.HTML),e.framesetOk=!1,e.insertionMode=Ab.IN_BODY;break;case Ty.FRAMESET:e._insertElement(t,Ey.HTML),e.insertionMode=Ab.IN_FRAMESET;break;case Ty.BASE:case Ty.BASEFONT:case Ty.BGSOUND:case Ty.LINK:case Ty.META:case Ty.NOFRAMES:case Ty.SCRIPT:case Ty.STYLE:case Ty.TEMPLATE:case Ty.TITLE:e._err(t,$v.abandonedHeadElementChild),e.openElements.push(e.headElement,Ty.HEAD),Hb(e,t),e.openElements.remove(e.headElement);break;case Ty.HEAD:e._err(t,$v.misplacedStartTagForHeadElement);break;default:zb(e,t)}}(this,e);break;case Ab.IN_BODY:Jb(this,e);break;case Ab.IN_TABLE:rT(this,e);break;case Ab.IN_TABLE_TEXT:lT(this,e);break;case Ab.IN_CAPTION:!function(e,t){const n=t.tagID;cT.has(n)?e.openElements.hasInTableScope(Ty.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Ty.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Ab.IN_TABLE,rT(e,t)):Jb(e,t)}(this,e);break;case Ab.IN_COLUMN_GROUP:uT(this,e);break;case Ab.IN_TABLE_BODY:fT(this,e);break;case Ab.IN_ROW:hT(this,e);break;case Ab.IN_CELL:!function(e,t){const n=t.tagID;cT.has(n)?(e.openElements.hasInTableScope(Ty.TD)||e.openElements.hasInTableScope(Ty.TH))&&(e._closeTableCell(),hT(e,t)):Jb(e,t)}(this,e);break;case Ab.IN_SELECT:gT(this,e);break;case Ab.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===Ty.CAPTION||n===Ty.TABLE||n===Ty.TBODY||n===Ty.TFOOT||n===Ty.THEAD||n===Ty.TR||n===Ty.TD||n===Ty.TH?(e.openElements.popUntilTagNamePopped(Ty.SELECT),e._resetInsertionMode(),e._processStartTag(t)):gT(e,t)}(this,e);break;case Ab.IN_TEMPLATE:!function(e,t){switch(t.tagID){case Ty.BASE:case Ty.BASEFONT:case Ty.BGSOUND:case Ty.LINK:case Ty.META:case Ty.NOFRAMES:case Ty.SCRIPT:case Ty.STYLE:case Ty.TEMPLATE:case Ty.TITLE:Hb(e,t);break;case Ty.CAPTION:case Ty.COLGROUP:case Ty.TBODY:case Ty.TFOOT:case Ty.THEAD:e.tmplInsertionModeStack[0]=Ab.IN_TABLE,e.insertionMode=Ab.IN_TABLE,rT(e,t);break;case Ty.COL:e.tmplInsertionModeStack[0]=Ab.IN_COLUMN_GROUP,e.insertionMode=Ab.IN_COLUMN_GROUP,uT(e,t);break;case Ty.TR:e.tmplInsertionModeStack[0]=Ab.IN_TABLE_BODY,e.insertionMode=Ab.IN_TABLE_BODY,fT(e,t);break;case Ty.TD:case Ty.TH:e.tmplInsertionModeStack[0]=Ab.IN_ROW,e.insertionMode=Ab.IN_ROW,hT(e,t);break;default:e.tmplInsertionModeStack[0]=Ab.IN_BODY,e.insertionMode=Ab.IN_BODY,Jb(e,t)}}(this,e);break;case Ab.AFTER_BODY:!function(e,t){t.tagID===Ty.HTML?Jb(e,t):bT(e,t)}(this,e);break;case Ab.IN_FRAMESET:!function(e,t){switch(t.tagID){case Ty.HTML:Jb(e,t);break;case Ty.FRAMESET:e._insertElement(t,Ey.HTML);break;case Ty.FRAME:e._appendElement(t,Ey.HTML),t.ackSelfClosing=!0;break;case Ty.NOFRAMES:Hb(e,t)}}(this,e);break;case Ab.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case Ty.HTML:Jb(e,t);break;case Ty.NOFRAMES:Hb(e,t)}}(this,e);break;case Ab.AFTER_AFTER_BODY:!function(e,t){t.tagID===Ty.HTML?Jb(e,t):TT(e,t)}(this,e);break;case Ab.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case Ty.HTML:Jb(e,t);break;case Ty.NOFRAMES:Hb(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===Ty.P||t.tagID===Ty.BR)return _T(e),void e._endTagOutsideForeignContent(t);for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===Ey.HTML){e._endTagOutsideForeignContent(t);break}const o=e.treeAdapter.getTagName(r);if(o.toLowerCase()===t.tagName){t.tagName=o,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case Ab.INITIAL:Bb(this,e);break;case Ab.BEFORE_HTML:!function(e,t){const n=t.tagID;n!==Ty.HTML&&n!==Ty.HEAD&&n!==Ty.BODY&&n!==Ty.BR||Fb(e,t)}(this,e);break;case Ab.BEFORE_HEAD:!function(e,t){const n=t.tagID;n===Ty.HEAD||n===Ty.BODY||n===Ty.HTML||n===Ty.BR?Ub(e,t):e._err(t,$v.endTagWithoutMatchingOpenElement)}(this,e);break;case Ab.IN_HEAD:!function(e,t){switch(t.tagID){case Ty.HEAD:e.openElements.pop(),e.insertionMode=Ab.AFTER_HEAD;break;case Ty.BODY:case Ty.BR:case Ty.HTML:Gb(e,t);break;case Ty.TEMPLATE:jb(e,t);break;default:e._err(t,$v.endTagWithoutMatchingOpenElement)}}(this,e);break;case Ab.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case Ty.NOSCRIPT:e.openElements.pop(),e.insertionMode=Ab.IN_HEAD;break;case Ty.BR:Qb(e,t);break;default:e._err(t,$v.endTagWithoutMatchingOpenElement)}}(this,e);break;case Ab.AFTER_HEAD:!function(e,t){switch(t.tagID){case Ty.BODY:case Ty.HTML:case Ty.BR:zb(e,t);break;case Ty.TEMPLATE:jb(e,t);break;default:e._err(t,$v.endTagWithoutMatchingOpenElement)}}(this,e);break;case Ab.IN_BODY:eT(this,e);break;case Ab.TEXT:!function(e,t){var n;t.tagID===Ty.SCRIPT&&(null===(n=e.scriptHandler)||void 0===n||n.call(e,e.openElements.current));e.openElements.pop(),e.insertionMode=e.originalInsertionMode}(this,e);break;case Ab.IN_TABLE:oT(this,e);break;case Ab.IN_TABLE_TEXT:lT(this,e);break;case Ab.IN_CAPTION:!function(e,t){const n=t.tagID;switch(n){case Ty.CAPTION:case Ty.TABLE:e.openElements.hasInTableScope(Ty.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Ty.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Ab.IN_TABLE,n===Ty.TABLE&&oT(e,t));break;case Ty.BODY:case Ty.COL:case Ty.COLGROUP:case Ty.HTML:case Ty.TBODY:case Ty.TD:case Ty.TFOOT:case Ty.TH:case Ty.THEAD:case Ty.TR:break;default:eT(e,t)}}(this,e);break;case Ab.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case Ty.COLGROUP:e.openElements.currentTagId===Ty.COLGROUP&&(e.openElements.pop(),e.insertionMode=Ab.IN_TABLE);break;case Ty.TEMPLATE:jb(e,t);break;case Ty.COL:break;default:dT(e,t)}}(this,e);break;case Ab.IN_TABLE_BODY:pT(this,e);break;case Ab.IN_ROW:mT(this,e);break;case Ab.IN_CELL:!function(e,t){const n=t.tagID;switch(n){case Ty.TD:case Ty.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Ab.IN_ROW);break;case Ty.TABLE:case Ty.TBODY:case Ty.TFOOT:case Ty.THEAD:case Ty.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),mT(e,t));break;case Ty.BODY:case Ty.CAPTION:case Ty.COL:case Ty.COLGROUP:case Ty.HTML:break;default:eT(e,t)}}(this,e);break;case Ab.IN_SELECT:ET(this,e);break;case Ab.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===Ty.CAPTION||n===Ty.TABLE||n===Ty.TBODY||n===Ty.TFOOT||n===Ty.THEAD||n===Ty.TR||n===Ty.TD||n===Ty.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(Ty.SELECT),e._resetInsertionMode(),e.onEndTag(t)):ET(e,t)}(this,e);break;case Ab.IN_TEMPLATE:!function(e,t){t.tagID===Ty.TEMPLATE&&jb(e,t)}(this,e);break;case Ab.AFTER_BODY:yT(this,e);break;case Ab.IN_FRAMESET:!function(e,t){t.tagID!==Ty.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagId===Ty.FRAMESET||(e.insertionMode=Ab.AFTER_FRAMESET))}(this,e);break;case Ab.AFTER_FRAMESET:!function(e,t){t.tagID===Ty.HTML&&(e.insertionMode=Ab.AFTER_AFTER_FRAMESET)}(this,e);break;case Ab.AFTER_AFTER_BODY:TT(this,e)}}onEof(e){switch(this.insertionMode){case Ab.INITIAL:Bb(this,e);break;case Ab.BEFORE_HTML:Fb(this,e);break;case Ab.BEFORE_HEAD:Ub(this,e);break;case Ab.IN_HEAD:Gb(this,e);break;case Ab.IN_HEAD_NO_SCRIPT:Qb(this,e);break;case Ab.AFTER_HEAD:zb(this,e);break;case Ab.IN_BODY:case Ab.IN_TABLE:case Ab.IN_CAPTION:case Ab.IN_COLUMN_GROUP:case Ab.IN_TABLE_BODY:case Ab.IN_ROW:case Ab.IN_CELL:case Ab.IN_SELECT:case Ab.IN_SELECT_IN_TABLE:tT(this,e);break;case Ab.TEXT:!function(e,t){e._err(t,$v.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}(this,e);break;case Ab.IN_TABLE_TEXT:lT(this,e);break;case Ab.IN_TEMPLATE:vT(this,e);break;case Ab.AFTER_BODY:case Ab.IN_FRAMESET:case Ab.AFTER_FRAMESET:case Ab.AFTER_AFTER_BODY:case Ab.AFTER_AFTER_FRAMESET:Mb(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===jv.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)this._insertCharacters(e);else switch(this.insertionMode){case Ab.IN_HEAD:case Ab.IN_HEAD_NO_SCRIPT:case Ab.AFTER_HEAD:case Ab.TEXT:case Ab.IN_COLUMN_GROUP:case Ab.IN_SELECT:case Ab.IN_SELECT_IN_TABLE:case Ab.IN_FRAMESET:case Ab.AFTER_FRAMESET:this._insertCharacters(e);break;case Ab.IN_BODY:case Ab.IN_CAPTION:case Ab.IN_CELL:case Ab.IN_TEMPLATE:case Ab.AFTER_BODY:case Ab.AFTER_AFTER_BODY:case Ab.AFTER_AFTER_FRAMESET:Yb(this,e);break;case Ab.IN_TABLE:case Ab.IN_TABLE_BODY:case Ab.IN_ROW:nT(this,e);break;case Ab.IN_TABLE_TEXT:aT(this,e)}}}function Ib(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Zb(e,t),n}function xb(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const o=e.openElements.items[r];if(o===t.element)break;e._isSpecialElement(o,e.openElements.tagIDs[r])&&(n=o)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}function Ob(e,t,n){let r=t,o=e.openElements.getCommonAncestor(t);for(let i=0,a=o;a!==n;i++,a=o){o=e.openElements.getCommonAncestor(a);const n=e.activeFormattingElements.getElementEntry(a),s=n&&i>=_b;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(a)):(a=wb(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function wb(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function Db(e,t,n){const r=Ay(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{const o=e.treeAdapter.getNamespaceURI(t);r===Ty.TEMPLATE&&o===Ey.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function Rb(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:o}=n,i=e.treeAdapter.createElement(o.tagName,r,o.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,o),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,o.tagID)}function Lb(e,t){for(let n=0;n<Tb;n++){const n=Ib(e,t);if(!n)break;const r=xb(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;const o=Ob(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(o),i&&Db(e,i,o),Rb(e,r,n)}}function Pb(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function Mb(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){const n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function Bb(e,t){e._err(t,$v.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,yy.QUIRKS),e.insertionMode=Ab.BEFORE_HTML,e._processToken(t)}function Fb(e,t){e._insertFakeRootElement(),e.insertionMode=Ab.BEFORE_HEAD,e._processToken(t)}function Ub(e,t){e._insertFakeElement(by.HEAD,Ty.HEAD),e.headElement=e.openElements.current,e.insertionMode=Ab.IN_HEAD,e._processToken(t)}function Hb(e,t){switch(t.tagID){case Ty.HTML:Jb(e,t);break;case Ty.BASE:case Ty.BASEFONT:case Ty.BGSOUND:case Ty.LINK:case Ty.META:e._appendElement(t,Ey.HTML),t.ackSelfClosing=!0;break;case Ty.TITLE:e._switchToTextParsing(t,xy.RCDATA);break;case Ty.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,xy.RAWTEXT):(e._insertElement(t,Ey.HTML),e.insertionMode=Ab.IN_HEAD_NO_SCRIPT);break;case Ty.NOFRAMES:case Ty.STYLE:e._switchToTextParsing(t,xy.RAWTEXT);break;case Ty.SCRIPT:e._switchToTextParsing(t,xy.SCRIPT_DATA);break;case Ty.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=Ab.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(Ab.IN_TEMPLATE);break;case Ty.HEAD:e._err(t,$v.misplacedStartTagForHeadElement);break;default:Gb(e,t)}}function jb(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==Ty.TEMPLATE&&e._err(t,$v.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(Ty.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,$v.endTagWithoutMatchingOpenElement)}function Gb(e,t){e.openElements.pop(),e.insertionMode=Ab.AFTER_HEAD,e._processToken(t)}function Qb(e,t){const n=t.type===Zv.EOF?$v.openElementsLeftAfterEof:$v.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=Ab.IN_HEAD,e._processToken(t)}function zb(e,t){e._insertFakeElement(by.BODY,Ty.BODY),e.insertionMode=Ab.IN_BODY,Wb(e,t)}function Wb(e,t){switch(t.type){case Zv.CHARACTER:Vb(e,t);break;case Zv.WHITESPACE_CHARACTER:Yb(e,t);break;case Zv.COMMENT:Pb(e,t);break;case Zv.START_TAG:Jb(e,t);break;case Zv.END_TAG:eT(e,t);break;case Zv.EOF:tT(e,t)}}function Yb(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Vb(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function qb(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Ey.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Kb(e){const t=ey(e,vy.TYPE);return null!=t&&t.toLowerCase()===bb}function Xb(e,t){e._switchToTextParsing(t,xy.RAWTEXT)}function $b(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Ey.HTML)}function Jb(e,t){switch(t.tagID){case Ty.I:case Ty.S:case Ty.B:case Ty.U:case Ty.EM:case Ty.TT:case Ty.BIG:case Ty.CODE:case Ty.FONT:case Ty.SMALL:case Ty.STRIKE:case Ty.STRONG:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Ey.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case Ty.A:!function(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(by.A);n&&(Lb(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,Ey.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case Ty.H1:case Ty.H2:case Ty.H3:case Ty.H4:case Ty.H5:case Ty.H6:!function(e,t){e.openElements.hasInButtonScope(Ty.P)&&e._closePElement(),ky(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,Ey.HTML)}(e,t);break;case Ty.P:case Ty.DL:case Ty.OL:case Ty.UL:case Ty.DIV:case Ty.DIR:case Ty.NAV:case Ty.MAIN:case Ty.MENU:case Ty.ASIDE:case Ty.CENTER:case Ty.FIGURE:case Ty.FOOTER:case Ty.HEADER:case Ty.HGROUP:case Ty.DIALOG:case Ty.DETAILS:case Ty.ADDRESS:case Ty.ARTICLE:case Ty.SECTION:case Ty.SUMMARY:case Ty.FIELDSET:case Ty.BLOCKQUOTE:case Ty.FIGCAPTION:!function(e,t){e.openElements.hasInButtonScope(Ty.P)&&e._closePElement(),e._insertElement(t,Ey.HTML)}(e,t);break;case Ty.LI:case Ty.DD:case Ty.DT:!function(e,t){e.framesetOk=!1;const n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){const r=e.openElements.tagIDs[t];if(n===Ty.LI&&r===Ty.LI||(n===Ty.DD||n===Ty.DT)&&(r===Ty.DD||r===Ty.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==Ty.ADDRESS&&r!==Ty.DIV&&r!==Ty.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(Ty.P)&&e._closePElement(),e._insertElement(t,Ey.HTML)}(e,t);break;case Ty.BR:case Ty.IMG:case Ty.WBR:case Ty.AREA:case Ty.EMBED:case Ty.KEYGEN:qb(e,t);break;case Ty.HR:!function(e,t){e.openElements.hasInButtonScope(Ty.P)&&e._closePElement(),e._appendElement(t,Ey.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t);break;case Ty.RB:case Ty.RTC:!function(e,t){e.openElements.hasInScope(Ty.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,Ey.HTML)}(e,t);break;case Ty.RT:case Ty.RP:!function(e,t){e.openElements.hasInScope(Ty.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(Ty.RTC),e._insertElement(t,Ey.HTML)}(e,t);break;case Ty.PRE:case Ty.LISTING:!function(e,t){e.openElements.hasInButtonScope(Ty.P)&&e._closePElement(),e._insertElement(t,Ey.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}(e,t);break;case Ty.XMP:!function(e,t){e.openElements.hasInButtonScope(Ty.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,xy.RAWTEXT)}(e,t);break;case Ty.SVG:!function(e,t){e._reconstructActiveFormattingElements(),Eb(t),vb(t),t.selfClosing?e._appendElement(t,Ey.SVG):e._insertElement(t,Ey.SVG),t.ackSelfClosing=!0}(e,t);break;case Ty.HTML:!function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t);break;case Ty.BASE:case Ty.LINK:case Ty.META:case Ty.STYLE:case Ty.TITLE:case Ty.SCRIPT:case Ty.BGSOUND:case Ty.BASEFONT:case Ty.TEMPLATE:Hb(e,t);break;case Ty.BODY:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case Ty.FORM:!function(e,t){const n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(Ty.P)&&e._closePElement(),e._insertElement(t,Ey.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case Ty.NOBR:!function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(Ty.NOBR)&&(Lb(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,Ey.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case Ty.MATH:!function(e,t){e._reconstructActiveFormattingElements(),gb(t),vb(t),t.selfClosing?e._appendElement(t,Ey.MATHML):e._insertElement(t,Ey.MATHML),t.ackSelfClosing=!0}(e,t);break;case Ty.TABLE:!function(e,t){e.treeAdapter.getDocumentMode(e.document)!==yy.QUIRKS&&e.openElements.hasInButtonScope(Ty.P)&&e._closePElement(),e._insertElement(t,Ey.HTML),e.framesetOk=!1,e.insertionMode=Ab.IN_TABLE}(e,t);break;case Ty.INPUT:!function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Ey.HTML),Kb(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t);break;case Ty.PARAM:case Ty.TRACK:case Ty.SOURCE:!function(e,t){e._appendElement(t,Ey.HTML),t.ackSelfClosing=!0}(e,t);break;case Ty.IMAGE:!function(e,t){t.tagName=by.IMG,t.tagID=Ty.IMG,qb(e,t)}(e,t);break;case Ty.BUTTON:!function(e,t){e.openElements.hasInScope(Ty.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Ty.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,Ey.HTML),e.framesetOk=!1}(e,t);break;case Ty.APPLET:case Ty.OBJECT:case Ty.MARQUEE:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Ey.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}(e,t);break;case Ty.IFRAME:!function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,xy.RAWTEXT)}(e,t);break;case Ty.SELECT:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Ey.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===Ab.IN_TABLE||e.insertionMode===Ab.IN_CAPTION||e.insertionMode===Ab.IN_TABLE_BODY||e.insertionMode===Ab.IN_ROW||e.insertionMode===Ab.IN_CELL?Ab.IN_SELECT_IN_TABLE:Ab.IN_SELECT}(e,t);break;case Ty.OPTION:case Ty.OPTGROUP:!function(e,t){e.openElements.currentTagId===Ty.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,Ey.HTML)}(e,t);break;case Ty.NOEMBED:Xb(e,t);break;case Ty.FRAMESET:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,Ey.HTML),e.insertionMode=Ab.IN_FRAMESET)}(e,t);break;case Ty.TEXTAREA:!function(e,t){e._insertElement(t,Ey.HTML),e.skipNextNewLine=!0,e.tokenizer.state=xy.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=Ab.TEXT}(e,t);break;case Ty.NOSCRIPT:e.options.scriptingEnabled?Xb(e,t):$b(e,t);break;case Ty.PLAINTEXT:!function(e,t){e.openElements.hasInButtonScope(Ty.P)&&e._closePElement(),e._insertElement(t,Ey.HTML),e.tokenizer.state=xy.PLAINTEXT}(e,t);break;case Ty.COL:case Ty.TH:case Ty.TD:case Ty.TR:case Ty.HEAD:case Ty.FRAME:case Ty.TBODY:case Ty.TFOOT:case Ty.THEAD:case Ty.CAPTION:case Ty.COLGROUP:break;default:$b(e,t)}}function Zb(e,t){const n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){const o=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==Ty.UNKNOWN||e.treeAdapter.getTagName(o)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(o,i))break}}function eT(e,t){switch(t.tagID){case Ty.A:case Ty.B:case Ty.I:case Ty.S:case Ty.U:case Ty.EM:case Ty.TT:case Ty.BIG:case Ty.CODE:case Ty.FONT:case Ty.NOBR:case Ty.SMALL:case Ty.STRIKE:case Ty.STRONG:Lb(e,t);break;case Ty.P:!function(e){e.openElements.hasInButtonScope(Ty.P)||e._insertFakeElement(by.P,Ty.P),e._closePElement()}(e);break;case Ty.DL:case Ty.UL:case Ty.OL:case Ty.DIR:case Ty.DIV:case Ty.NAV:case Ty.PRE:case Ty.MAIN:case Ty.MENU:case Ty.ASIDE:case Ty.BUTTON:case Ty.CENTER:case Ty.FIGURE:case Ty.FOOTER:case Ty.HEADER:case Ty.HGROUP:case Ty.DIALOG:case Ty.ADDRESS:case Ty.ARTICLE:case Ty.DETAILS:case Ty.SECTION:case Ty.SUMMARY:case Ty.LISTING:case Ty.FIELDSET:case Ty.BLOCKQUOTE:case Ty.FIGCAPTION:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case Ty.LI:!function(e){e.openElements.hasInListItemScope(Ty.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(Ty.LI),e.openElements.popUntilTagNamePopped(Ty.LI))}(e);break;case Ty.DD:case Ty.DT:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case Ty.H1:case Ty.H2:case Ty.H3:case Ty.H4:case Ty.H5:case Ty.H6:!function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e);break;case Ty.BR:!function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(by.BR,Ty.BR),e.openElements.pop(),e.framesetOk=!1}(e);break;case Ty.BODY:!function(e,t){if(e.openElements.hasInScope(Ty.BODY)&&(e.insertionMode=Ab.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case Ty.HTML:!function(e,t){e.openElements.hasInScope(Ty.BODY)&&(e.insertionMode=Ab.AFTER_BODY,yT(e,t))}(e,t);break;case Ty.FORM:!function(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(Ty.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(Ty.FORM):n&&e.openElements.remove(n))}(e);break;case Ty.APPLET:case Ty.OBJECT:case Ty.MARQUEE:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case Ty.TEMPLATE:jb(e,t);break;default:Zb(e,t)}}function tT(e,t){e.tmplInsertionModeStack.length>0?vT(e,t):Mb(e,t)}function nT(e,t){if(Cb.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=Ab.IN_TABLE_TEXT,t.type){case Zv.CHARACTER:sT(e,t);break;case Zv.WHITESPACE_CHARACTER:aT(e,t)}else iT(e,t)}function rT(e,t){switch(t.tagID){case Ty.TD:case Ty.TH:case Ty.TR:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(by.TBODY,Ty.TBODY),e.insertionMode=Ab.IN_TABLE_BODY,fT(e,t)}(e,t);break;case Ty.STYLE:case Ty.SCRIPT:case Ty.TEMPLATE:Hb(e,t);break;case Ty.COL:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(by.COLGROUP,Ty.COLGROUP),e.insertionMode=Ab.IN_COLUMN_GROUP,uT(e,t)}(e,t);break;case Ty.FORM:!function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,Ey.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t);break;case Ty.TABLE:!function(e,t){e.openElements.hasInTableScope(Ty.TABLE)&&(e.openElements.popUntilTagNamePopped(Ty.TABLE),e._resetInsertionMode(),e._processStartTag(t))}(e,t);break;case Ty.TBODY:case Ty.TFOOT:case Ty.THEAD:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Ey.HTML),e.insertionMode=Ab.IN_TABLE_BODY}(e,t);break;case Ty.INPUT:!function(e,t){Kb(t)?e._appendElement(t,Ey.HTML):iT(e,t),t.ackSelfClosing=!0}(e,t);break;case Ty.CAPTION:!function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,Ey.HTML),e.insertionMode=Ab.IN_CAPTION}(e,t);break;case Ty.COLGROUP:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Ey.HTML),e.insertionMode=Ab.IN_COLUMN_GROUP}(e,t);break;default:iT(e,t)}}function oT(e,t){switch(t.tagID){case Ty.TABLE:e.openElements.hasInTableScope(Ty.TABLE)&&(e.openElements.popUntilTagNamePopped(Ty.TABLE),e._resetInsertionMode());break;case Ty.TEMPLATE:jb(e,t);break;case Ty.BODY:case Ty.CAPTION:case Ty.COL:case Ty.COLGROUP:case Ty.HTML:case Ty.TBODY:case Ty.TD:case Ty.TFOOT:case Ty.TH:case Ty.THEAD:case Ty.TR:break;default:iT(e,t)}}function iT(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Wb(e,t),e.fosterParentingEnabled=n}function aT(e,t){e.pendingCharacterTokens.push(t)}function sT(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function lT(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)iT(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const cT=new Set([Ty.CAPTION,Ty.COL,Ty.COLGROUP,Ty.TBODY,Ty.TD,Ty.TFOOT,Ty.TH,Ty.THEAD,Ty.TR]);function uT(e,t){switch(t.tagID){case Ty.HTML:Jb(e,t);break;case Ty.COL:e._appendElement(t,Ey.HTML),t.ackSelfClosing=!0;break;case Ty.TEMPLATE:Hb(e,t);break;default:dT(e,t)}}function dT(e,t){e.openElements.currentTagId===Ty.COLGROUP&&(e.openElements.pop(),e.insertionMode=Ab.IN_TABLE,e._processToken(t))}function fT(e,t){switch(t.tagID){case Ty.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,Ey.HTML),e.insertionMode=Ab.IN_ROW;break;case Ty.TH:case Ty.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(by.TR,Ty.TR),e.insertionMode=Ab.IN_ROW,hT(e,t);break;case Ty.CAPTION:case Ty.COL:case Ty.COLGROUP:case Ty.TBODY:case Ty.TFOOT:case Ty.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Ab.IN_TABLE,rT(e,t));break;default:rT(e,t)}}function pT(e,t){const n=t.tagID;switch(t.tagID){case Ty.TBODY:case Ty.TFOOT:case Ty.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Ab.IN_TABLE);break;case Ty.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Ab.IN_TABLE,oT(e,t));break;case Ty.BODY:case Ty.CAPTION:case Ty.COL:case Ty.COLGROUP:case Ty.HTML:case Ty.TD:case Ty.TH:case Ty.TR:break;default:oT(e,t)}}function hT(e,t){switch(t.tagID){case Ty.TH:case Ty.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,Ey.HTML),e.insertionMode=Ab.IN_CELL,e.activeFormattingElements.insertMarker();break;case Ty.CAPTION:case Ty.COL:case Ty.COLGROUP:case Ty.TBODY:case Ty.TFOOT:case Ty.THEAD:case Ty.TR:e.openElements.hasInTableScope(Ty.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Ab.IN_TABLE_BODY,fT(e,t));break;default:rT(e,t)}}function mT(e,t){switch(t.tagID){case Ty.TR:e.openElements.hasInTableScope(Ty.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Ab.IN_TABLE_BODY);break;case Ty.TABLE:e.openElements.hasInTableScope(Ty.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Ab.IN_TABLE_BODY,pT(e,t));break;case Ty.TBODY:case Ty.TFOOT:case Ty.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(Ty.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Ab.IN_TABLE_BODY,pT(e,t));break;case Ty.BODY:case Ty.CAPTION:case Ty.COL:case Ty.COLGROUP:case Ty.HTML:case Ty.TD:case Ty.TH:break;default:oT(e,t)}}function gT(e,t){switch(t.tagID){case Ty.HTML:Jb(e,t);break;case Ty.OPTION:e.openElements.currentTagId===Ty.OPTION&&e.openElements.pop(),e._insertElement(t,Ey.HTML);break;case Ty.OPTGROUP:e.openElements.currentTagId===Ty.OPTION&&e.openElements.pop(),e.openElements.currentTagId===Ty.OPTGROUP&&e.openElements.pop(),e._insertElement(t,Ey.HTML);break;case Ty.INPUT:case Ty.KEYGEN:case Ty.TEXTAREA:case Ty.SELECT:e.openElements.hasInSelectScope(Ty.SELECT)&&(e.openElements.popUntilTagNamePopped(Ty.SELECT),e._resetInsertionMode(),t.tagID!==Ty.SELECT&&e._processStartTag(t));break;case Ty.SCRIPT:case Ty.TEMPLATE:Hb(e,t)}}function ET(e,t){switch(t.tagID){case Ty.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===Ty.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===Ty.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===Ty.OPTGROUP&&e.openElements.pop();break;case Ty.OPTION:e.openElements.currentTagId===Ty.OPTION&&e.openElements.pop();break;case Ty.SELECT:e.openElements.hasInSelectScope(Ty.SELECT)&&(e.openElements.popUntilTagNamePopped(Ty.SELECT),e._resetInsertionMode());break;case Ty.TEMPLATE:jb(e,t)}}function vT(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(Ty.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Mb(e,t)}function yT(e,t){var n;if(t.tagID===Ty.HTML){if(e.fragmentContext||(e.insertionMode=Ab.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===Ty.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)&&e._setEndLocation(r,t)}}else bT(e,t)}function bT(e,t){e.insertionMode=Ab.IN_BODY,Wb(e,t)}function TT(e,t){e.insertionMode=Ab.IN_BODY,Wb(e,t)}function _T(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==Ey.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}const AT=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);String.prototype.codePointAt;function ST(e,t){return function(n){let r,o=0,i="";for(;r=e.exec(n);)o!==r.index&&(i+=n.substring(o,r.index)),i+=t.get(r[0].charCodeAt(0)),o=r.index+1;return i+n.substring(o)}}ST(/[&<>'"]/g,AT),ST(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),ST(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]])),new Set([by.AREA,by.BASE,by.BASEFONT,by.BGSOUND,by.BR,by.COL,by.EMBED,by.FRAME,by.HR,by.IMG,by.INPUT,by.KEYGEN,by.LINK,by.META,by.PARAM,by.SOURCE,by.TRACK,by.WBR]);const CT=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),kT={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function NT(e,t){const n=function(e){const t="root"===e.type?e.children[0]:e;return Boolean(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName))}(e),r=wv("type",{handlers:{root:xT,element:OT,text:wT,comment:LT,doctype:DT,raw:PT},unknown:MT}),o={parser:n?new Nb(kT):Nb.getFragmentParser(void 0,kT),handle(e){r(e,o)},stitches:!1,options:t||{}};r(e,o),BT(o,Fh());const i=function(e,t){const n=t||{};return Cv({file:n.file||void 0,location:!1,schema:"svg"===n.space?kh:Ch,verbose:n.verbose||!1},e)}(n?o.parser.document:o.parser.getFragment(),{file:o.options.file});return o.stitches&&vE(i,"comment",(function(e,t,n){const r=e;if(r.value.stitch&&n&&void 0!==t){return n.children[t]=r.value.stitch,t}})),"root"===i.type&&1===i.children.length&&i.children[0].type===e.type?i.children[0]:i}function IT(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function xT(e,t){IT(e.children,t)}function OT(e,t){!function(e,t){if(t.parser.tokenizer.state===xy.PLAINTEXT)return;BT(t,Fh(e));const n=t.parser.openElements.current;let r="namespaceURI"in n?n.namespaceURI:_v.html;r===_v.html&&"svg"===e.tagName&&(r=_v.svg);const o=function(e,t){const n=(t||Dv).space;return Lv(e,"svg"===n?kh:Ch)}({...e,children:[]},{space:r===_v.svg?"svg":"html"}),i="attrs"in o?o.attrs:[],a={type:Zv.START_TAG,tagName:e.tagName,tagID:Ay(e.tagName),selfClosing:!1,ackSelfClosing:!1,attrs:i,location:UT(e)};t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=e.tagName}(e,t),IT(e.children,t),function(e,t){if(!t.parser.tokenizer.inForeignNode&&Fv.includes(e.tagName))return;if(t.parser.tokenizer.state===xy.PLAINTEXT)return;BT(t,Bh(e));const n={type:Zv.END_TAG,tagName:e.tagName,tagID:Ay(e.tagName),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:UT(e)};t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken),n.tagName!==t.parser.tokenizer.lastStartTagName||t.parser.tokenizer.state!==xy.RCDATA&&t.parser.tokenizer.state!==xy.RAWTEXT&&t.parser.tokenizer.state!==xy.SCRIPT_DATA||(t.parser.tokenizer.state=xy.DATA)}(e,t)}function wT(e,t){const n={type:Zv.CHARACTER,chars:e.value,location:UT(e)};BT(t,Fh(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function DT(e,t){const n={type:Zv.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:UT(e)};BT(t,Fh(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function RT(e,t){t.stitches=!0;const n=function(e){return iE("children"in e?{...e,children:[]}:e)}(e);if("children"in e&&"children"in n){const r=NT({type:"root",children:e.children},t.options);n.children=r.children}LT({type:"comment",value:{stitch:n}},t)}function LT(e,t){const n=e.value,r={type:Zv.COMMENT,data:n,location:UT(e)};BT(t,Fh(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function PT(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,FT(t,Fh(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function MT(e,t){const n=e;if(!t.options.passThrough||!t.options.passThrough.includes(n.type)){let e="";throw CT.has(n.type)&&(e=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+e)}RT(n,t)}function BT(e,t){FT(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=xy.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function FT(e,t){if(t&&void 0!==t.offset){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=1-t.column,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function UT(e){const t=Fh(e)||{line:void 0,column:void 0,offset:void 0},n=Bh(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function HT(e){return function(t,n){return NT(t,{...e,file:n})}}const jT=(e="",t)=>{GT(e).then((()=>t?.()))},GT=(e="")=>new Promise(((t,n)=>{const r=document.createElement("input");document.body.append(r),r.setAttribute("value",String(e)),r.select(),document.execCommand("copy")?t():n(),document.body.removeChild(r)}));Object.create;function QT(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function zT(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError;var WT=o(493),YT=o.n(WT);const VT=function(e){var t=(0,r.useRef)(e);return t.current=e,t};const qT=function(e){var t=VT(e);(0,r.useEffect)((function(){return function(){t.current()}}),[])};const KT=function(e,t){var n,o=VT(e),i=null!==(n=null==t?void 0:t.wait)&&void 0!==n?n:1e3,a=(0,r.useMemo)((function(){return YT()((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.current.apply(o,zT([],QT(e),!1))}),i,t)}),[]);return qT((function(){a.cancel()})),{run:a,cancel:a.cancel,flush:a.flush}};var XT,$T;function JT(){return JT=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},JT.apply(this,arguments)}const ZT=function(e){return r.createElement("svg",JT({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",fill:"none",width:12,height:12,viewBox:"0 0 12 12"},e),XT||(XT=r.createElement("defs",null,r.createElement("clipPath",{id:"master_svg0_301_0149"},r.createElement("rect",{x:0,y:0,width:12,height:12,rx:0})))),$T||($T=r.createElement("g",{clipPath:"url(#master_svg0_301_0149)"},r.createElement("g",null,r.createElement("ellipse",{cx:6.000244617462158,cy:6.000244617462158,rx:5.000000476837158,ry:5.000000476837158,fillOpacity:0,strokeOpacity:1,stroke:"#F00B0B",fill:"none",strokeWidth:1.399999976158142,strokeLinecap:"ROUND",strokeLinejoin:"round"})),r.createElement("g",null,r.createElement("rect",{x:4.5,y:4.5,width:3,height:3,rx:0,fill:"#F00B0B",fillOpacity:1}),r.createElement("path",{d:"M3.8,7.5L3.8,4.5Q3.8,4.431056,3.81345,4.363437Q3.826901,4.295818,3.853284,4.232122Q3.879668,4.168426,3.917971,4.111101Q3.9562749999999998,4.053776,4.005025,4.005025Q4.053776,3.9562749999999998,4.111101,3.917971Q4.168426,3.879668,4.232122,3.853284Q4.295818,3.826901,4.363437,3.81345Q4.431056,3.8,4.5,3.8L7.5,3.8Q7.56894,3.8,7.636559999999999,3.81345Q7.70418,3.826901,7.76788,3.853284Q7.83157,3.879668,7.8889,3.917971Q7.94622,3.9562749999999998,7.99497,4.005025Q8.04373,4.053776,8.08203,4.111101Q8.12033,4.168426,8.14672,4.232122Q8.1731,4.295818,8.18655,4.363437Q8.2,4.431056,8.2,4.5L8.2,7.5Q8.2,7.56894,8.18655,7.636559999999999Q8.1731,7.70418,8.14672,7.76788Q8.12033,7.83157,8.08203,7.8889Q8.04373,7.94622,7.99497,7.99497Q7.94622,8.04373,7.8889,8.08203Q7.83157,8.12033,7.76788,8.14672Q7.70418,8.1731,7.636559999999999,8.18655Q7.56894,8.2,7.5,8.2L4.5,8.2Q4.431056,8.2,4.363437,8.18655Q4.295818,8.1731,4.232122,8.14672Q4.168426,8.12033,4.111101,8.08203Q4.053776,8.04373,4.005025,7.99497Q3.9562749999999998,7.94622,3.917971,7.8889Q3.879668,7.83157,3.853284,7.76788Q3.826901,7.70418,3.81345,7.636559999999999Q3.8,7.56894,3.8,7.5ZM5.2,5.2L5.2,6.8L6.8,6.8L6.8,5.2L5.2,5.2Z",fill:"#F00B0B",fillOpacity:1})))))};let e_=function(e){return e[e.REQUEST_OPENAI_FAIL=400200001]="REQUEST_OPENAI_FAIL",e[e.API_KEY_CHECK_FAIL=400200002]="API_KEY_CHECK_FAIL",e[e.ONLINE_SEARCH_FAIL=400200003]="ONLINE_SEARCH_FAIL",e[e.PLATFORM_QUOTA_EXHAUSTED=400200004]="PLATFORM_QUOTA_EXHAUSTED",e[e.PERSONAL_QUOTA_EXHAUSTED=400200005]="PERSONAL_QUOTA_EXHAUSTED",e}({});const t_={[e_.REQUEST_OPENAI_FAIL]:{"zh-CN":"请求openai失败","en-US":"Failed to request from OpenAI"},[e_.API_KEY_CHECK_FAIL]:{"zh-CN":"API Key 校验失败","en-US":"API Key verification failed: Please check your API key and try again."},[e_.ONLINE_SEARCH_FAIL]:{"zh-CN":"联网搜索失败","en-US":"Online search failed"},[e_.PLATFORM_QUOTA_EXHAUSTED]:{"zh-CN":"平台key请求超出限制","en-US":"Platform quota exhausted, you can use your own api key for better experience."},[e_.PERSONAL_QUOTA_EXHAUSTED]:{"zh-CN":"个人key请求超出限制","en-US":"You have reached the maximum number of requests allowed for your API key."}},n_=e=>e&&e in t_?t_[e]["en-US"]:"Something wrong in getting analytics result.",r_={appName:"Blenny AI",apiHost:"https://api.blenny.ai",appHost:"https://app.blenny.ai",homeHost:"https://www.blenny.ai",ossHost:"",appNameSimple:"blenny"},o_=t=>{const{t:n}=Ht(),o=(0,r.useRef)(),[i,a]=(0,r.useState)([]),[s,l]=(0,r.useState)(""),c=(0,r.useRef)(null),u=(0,r.useRef)(),[d,f]=(0,r.useState)(!1),[p,h]=(0,r.useState)(),[m,g]=(0,r.useState)(!1),[E,v]=(0,r.useState)([]),[y,b]=(0,r.useState)(!1),[T,_]=(0,r.useState)(!1),[A,S]=(0,r.useState)(!1),[C,k]=(0,r.useState)(!1),[N,I]=(0,r.useState)(""),[x,O]=(0,r.useState)(),[w,D]=(0,r.useState)(1),[R,L]=(0,r.useState)(!0),P=(0,r.useRef)(!0),[M,B]=(0,r.useState)(!1),[F,U]=(0,r.useState)(!1),[H,j]=(0,r.useState)(),[G,Q]=(0,r.useState)(!1),[z,W]=(0,r.useState)("0"),[Y,V]=(0,r.useState)();(0,r.useEffect)((()=>{t.visible&&$(1)}),[t.visible]),(0,r.useEffect)((()=>{t.visible?o.current=wt():o.current=void 0}),[t.visible]),(0,r.useEffect)((()=>{if(c.current&&R&&t.visible){setTimeout((()=>{c.current?.scrollIntoView({behavior:"smooth",block:"end"})}),300);const e=c.current?.getElementsByTagName("a");for(let t=0;e?.length&&t<e?.length;t++)e[t].target="_blank",e[t].className=Zo;q()}}),[i,R,t.visible]);const q=()=>{const e=document.getElementById("blenny-chat-content");if(!e)return;e.scrollTop+e.clientHeight>=e.scrollHeight?(P.current=!1,L(!1)):setTimeout((()=>{q()}),500)};(0,r.useEffect)((()=>{t.currentListenStreamId||(b(!1),_(!1))}),[t.currentListenStreamId]),(0,r.useEffect)((()=>{t.currentStream&&J(t.currentStream)}),[t.currentStream]),(0,r.useEffect)((()=>{t.chatroomMessageContentList?.length&&t.chatroomMessageContentList.every((e=>!!e.image))&&(j(t.chatroomMessageContentList[0].image),K())}),[t.chatroomMessageContentList]);const K=()=>{const e=document.getElementById("blenny-chat-room-textarea");e?.focus()},{run:X}=KT((()=>{if(M||F||P.current)return;(document.getElementById("blenny-chat-content")?.scrollTop||0)<200&&$(w+1)}),{wait:500}),$=e=>{U(!0),Fe(zo.GET_USER_HISTORY,{page:e,num:20,createdAt:z}).then((t=>{D(e),W(t.data?.slice(-1)[0]?.createdAt||"0");const n=t?.data?.reverse().map((e=>({type:e.role,content:e.content?.find((e=>!!e.text))?.text||"",image:{id:"",contentBase64:"",url:e.content?.find((e=>!!e.image))?.image},streamId:e.conversationId,isFinish:!0})));t.data.length<20&&B(!0),1===e&&(L(!0),P.current=!0),U(!1),u.current=[...n||[],...u.current||[]],a(u.current)}),(()=>{U(!1)}))},J=e=>{let t=u.current?.filter((t=>t.streamId===e.streamId));if(b(!1),P.current=!0,L(!0),e.isFail)return S(!1),te({type:As.ASSISTANT,content:n_(e.errorCode),streamId:e.streamId,isFailed:!0}),void _(!1);if(e.isAnalysing)S(!0);else if(!1===e.isAnalysing&&S(!1),e.isFinish){if(u.current){const t=u.current.pop();u.current?.push({...t,content:e.message||"",isFinish:!0}),a(u.current),_(!1)}}else{if(t?.length){const t=[...u.current?.filter((t=>t.streamId!==e.streamId))||[],{type:As.ASSISTANT,content:e.message||"",streamId:e.streamId}];u.current=t}else u.current=[...u.current||[],{type:As.ASSISTANT,content:e.message||"",streamId:e.streamId}];a(u.current)}},Z=e=>{t.userInfo?.apiKey?(t.onSendMessage(e,o.current||wt()),b(!0),_(!0)):(b(!1),te({type:As.ASSISTANT,content:"",isApiKeySet:!0}))};(0,r.useEffect)((()=>{v(t.quickAiList||[])}),[t.quickAiList]);const ee=()=>{y||T||!s||(l(""),L(!0),P.current=!0,H&&(j(void 0),o.current=wt()),te({type:As.USER,content:s,image:H?t.imageInfoObj[H.id]:void 0,webAccess:!1}))},te=e=>{P.current=!0,L(!0);const t=[...i,e];u.current=t,a(t),e.isApiKeySet||e.isFailed||(b(!0),ne(e,Z))},ne=(e,n)=>{const r=e.image?t.imageInfoObjRef.current[e.image?.id]?.url:void 0;e.image&&!r?setTimeout((()=>{ne(e,n)}),500):n(oe({...e,image:e.image?{...e.image,url:r}:void 0}))},re=()=>{const e=u.current?.slice(-2,-1).pop();u.current?.pop(),a(u.current||[]),Z(oe(e))},oe=e=>({role:e.type,promptText:e.content,promptId:wt(),image:{id:e.image?.id||"",contentBase64:e.image?.contentBase64||"",url:e.image?.url},webAccess:e.webAccess}),ie=e=>{k(!1),y||T||(te({type:As.USER,content:e.prompt||"",webAccess:e.webAccessEnabled,image:t.imageInfoObj[H?.id||""]}),H&&(j(void 0),o.current=wt()))},ae=e=>{Be(Vo.PROMPT_LIST,{type:Array}).set(e)},se=()=>!(N&&!t.userInfo?.apiKey),le=()=>{if(se())return;const e={key:N};Fe(zo.POST_USER_SAVE_KEY,{body:e}).then((()=>{t.setUserInfo({...t.userInfo,apiKey:N}),I(""),u.current?.pop(),a(u.current||[]),u.current?.length&&Z(oe(u.current?.slice(-1)[0]))}))},ce=()=>{const e=document.getElementById("blennyUpload");e.value="",e?.click()},ue=e=>{if(e.preventDefault(),"drop"===e.type){if(e.dataTransfer)for(let t of e.dataTransfer.files)t.type.startsWith("image/")&&de(t)}else e.type},de=e=>{const n=new FileReader;n.readAsDataURL(e),n.onload=e=>{if(!e.target)return;const r=n.result;let o={id:wt(),contentBase64:r,url:""};j(o),K(),t.handleAddImage(o),Fe(zo.UPLOAD_IMAGE,r).then((e=>{t.handleAddImage({...o,url:e})}))}};return(0,Uo.jsxs)(Uo.Fragment,{children:[(0,Uo.jsxs)("div",{className:zt()(ii,!t.visible&&Ai),children:[(0,Uo.jsxs)("div",{className:Ti,children:[(0,Uo.jsxs)("div",{className:Si,children:[(0,Uo.jsx)("img",{width:24,height:24,src:chrome.runtime.getURL("icons/logo@128.png"),alt:"logo"}),"Blenny AI"]}),(0,Uo.jsxs)("div",{className:_i,children:[(0,Uo.jsx)(Ho,{delayDuration:0,children:(0,Uo.jsxs)(jo,{delayDuration:0,children:[(0,Uo.jsx)(Go,{asChild:!0,children:(0,Uo.jsxs)("div",{className:zt()(Jo,ai),onClick:()=>{Fe(zo.CLEAR_USER_HISTORY,{}).then((()=>{u.current=void 0,a([])}))},children:[(0,Uo.jsx)(vs,{}),"Clear"]})}),(0,Uo.jsx)(Qo,{side:"bottom",children:n("ClearHistory")})]})}),(0,Uo.jsx)(ga,{className:si,onClick:()=>{t.onChangeChatRoomVisible(!1)}})]})]}),(0,Uo.jsx)("div",{className:ui,children:(0,Uo.jsxs)("div",{className:ni,children:[(0,Uo.jsxs)("div",{className:oi,children:[(0,Uo.jsx)("div",{className:ci,children:(0,Uo.jsxs)("div",{className:ea,onScroll:X,id:"blenny-chat-content",children:[F&&(0,Uo.jsx)("div",{className:sa,children:(0,Uo.jsx)("div",{className:ei,children:new Array(8).fill(0).map(((e,t)=>(0,Uo.jsx)("div",{},t)))})}),!i.length&&(0,Uo.jsxs)("div",{className:Ei,children:[(0,Uo.jsx)("div",{className:aa,children:"⌘+B/ Ctrl+B to take a screenshot"}),(0,Uo.jsx)("div",{className:zi,children:"or"}),(0,Uo.jsxs)("div",{className:hi,onClick:ce,onDragEnter:e=>ue(e),onDragOver:e=>ue(e),onDragLeave:e=>ue(e),onDrop:e=>ue(e),children:[(0,Uo.jsx)(_s,{}),(0,Uo.jsx)("div",{children:"Click or drop a image to get started"})]})]}),(0,Uo.jsxs)("div",{className:ri,ref:c,children:[i.map(((n,r)=>(0,Uo.jsxs)("div",{className:Qi,children:[n.isApiKeySet&&(0,Uo.jsx)("div",{className:zt()(yi),children:(0,Uo.jsxs)("div",{children:[(0,Uo.jsx)("div",{children:"Enter your GPT-4V APIKey to Get started."}),(0,Uo.jsxs)("div",{className:Di,children:[(0,Uo.jsx)("input",{className:$o,disabled:!!t.userInfo?.apiKey,value:N,onChange:e=>I(e.target.value),placeholder:"Type here"}),(0,Uo.jsx)("button",{className:Zi,disabled:se(),onClick:le,children:"Save"})]})]})}),(n.image?.contentBase64||n.image?.url)&&(0,Uo.jsxs)("div",{className:zt()(ua,Ni),children:[(0,Uo.jsx)("img",{src:n.image.contentBase64||n.image?.url}),(0,Uo.jsx)("div",{className:ki,onClick:()=>V(n.image),children:(0,Uo.jsx)(hs,{})})]}),!!n.content&&(0,Uo.jsxs)("div",{className:zt()(n.type===As.USER?ua:yi,n.isFailed&&vi),children:[(0,Uo.jsx)(uv,{className:e.blennyMarkdownContent,rehypePlugins:[HT],children:n.content}),n.type===As.ASSISTANT&&(n.isFinish||n.isFailed)&&(0,Uo.jsxs)("div",{className:Gi,children:[r===i.length-1&&(0,Uo.jsx)("div",{className:zt()(ji,Jo),onClick:re,children:(0,Uo.jsx)(qa,{width:12,height:12})}),n.isFinish&&(x===n.streamId?(0,Uo.jsx)(Ja,{}):(0,Uo.jsx)("div",{className:zt()(ji,Jo),onClick:()=>(e=>{jT(e.content,(()=>{O(e.streamId),setTimeout((()=>{O(void 0)}),1e3)}))})(n),children:(0,Uo.jsx)(za,{width:12,height:12})}))]})]})]},r))),A&&(0,Uo.jsxs)("div",{className:zt()(ra,yi),children:[(0,Uo.jsx)(ns,{className:na}),"Searching on the web"]}),y&&(0,Uo.jsx)("div",{className:zt()(Ui),children:(0,Uo.jsx)("div",{className:Fi,children:[1,2,3].map((e=>(0,Uo.jsx)("div",{className:fi},e)))})})]})]})}),(0,Uo.jsxs)("div",{className:la,children:[(0,Uo.jsx)("div",{className:$i,children:(0,Uo.jsxs)("div",{className:Ki,children:[C&&t.visible&&(0,Uo.jsx)("div",{className:Xi,onClick:()=>k(!1)}),C&&(0,Uo.jsxs)("div",{className:Pi,children:[(0,Uo.jsx)("div",{className:Ri,children:(0,Uo.jsx)(lp,{onDragEnd:e=>{const{source:t,destination:n}=e;if(!n)return;if(n.index===t.index)return;const r=E,[o]=r.splice(t.index,1);r.splice(n.index,0,o),v(r),Be(Vo.PROMPT_LIST,{type:Array}).set(r);const i=n.index>0?E[n.index-1].id:void 0,a=E[t.index].id;Fe(zo.POST_PROMPT_SORT_PROMPT,{id:a,body:{prevId:i}}).then()},children:(0,Uo.jsx)(qp,{droppableId:"idForDroppable",direction:"vertical",children:(e,t)=>(0,Uo.jsxs)("div",{...e.droppableProps,ref:e.innerRef,className:wi,children:[E?.map(((e,t)=>(0,Uo.jsx)(zp,{draggableId:e.id,index:t,children:(n,r)=>(0,Uo.jsxs)("div",{className:zt()(Bi),ref:n.innerRef,...n.draggableProps,children:[(0,Uo.jsx)("div",{...n.dragHandleProps,className:pi,children:(0,Uo.jsx)(Ma,{})}),(0,Uo.jsxs)("div",{className:zt()(Mi,t>2&&ca),onClick:()=>ie(e),children:[(0,Uo.jsx)("span",{className:Ji,children:e.name}),(0,Uo.jsx)(Da,{className:mi,onClick:t=>((e,t)=>{t.stopPropagation(),f(!0),k(!1),h(e)})(e,t)})]},e.id)]})},e.id))),e.placeholder]})})})}),(0,Uo.jsxs)("div",{className:Li,children:[(0,Uo.jsxs)("div",{className:ti,onClick:()=>{k(!1),window.open(`${r_.appHost}/prompt-gallery`,"_blank")},children:[(0,Uo.jsx)(us,{width:16,height:16}),"Prompt Gallery"]}),(0,Uo.jsxs)("div",{className:ti,onClick:()=>{g(!0),k(!1)},children:[(0,Uo.jsx)(Ha,{width:16,height:16}),"Add Prompt"]})]})]}),(0,Uo.jsxs)("div",{className:zt()(Hi,T&&di),onClick:()=>{y||T||k(!C)},children:[(0,Uo.jsx)(Ia,{}),"Prompts"]})]})}),E.slice(0,3).map((e=>(0,Uo.jsx)("div",{className:zt()(qi,T&&di),onClick:()=>ie(e),children:(0,Uo.jsx)("div",{className:gi,children:e.name})},e.id)))]})]}),(0,Uo.jsxs)("div",{className:Oi,children:[(0,Uo.jsx)("textarea",{className:zt()(ia,!!H&&bi),placeholder:"Start a chat or ask anything about the context in the image.",value:s,onKeyDownCapture:e=>{const t=document.getElementById("blenny-chat-room-textarea");"Enter"==e.key&&e.shiftKey?t&&(t.innerText=t.innerText+"\n"):"Enter"==e.key&&(e.preventDefault(),t&&(t.innerText=""),ee())},id:"blenny-chat-room-textarea",onChange:e=>l(e.target.value)}),!!H&&(0,Uo.jsx)("div",{className:xi,children:(0,Uo.jsxs)("div",{className:li,children:[(0,Uo.jsx)("div",{className:si,onClick:()=>j(void 0),children:(0,Uo.jsx)(ga,{})}),(0,Uo.jsx)("img",{src:H.contentBase64||H.url,alt:"image"})]})}),(0,Uo.jsxs)("div",{className:Ii,children:[(0,Uo.jsx)("div",{className:Vi,children:(0,Uo.jsx)("div",{className:Ci,onClick:ce,children:(0,Uo.jsx)(as,{width:16,height:16})})}),T?(0,Uo.jsxs)("div",{className:zt()(Jo,oa),onClick:t.stopCurrentChat,children:[(0,Uo.jsx)(ZT,{width:12,height:12}),"Stop"]}):(0,Uo.jsx)(fa,{className:zt()(ta,!s||T?di:""),onClick:ee})]})]})]})})]}),(0,Uo.jsx)(Sa,{onClose:()=>f(!1),visible:d,currentEditPrompt:p,handleUpdatePrompt:e=>{const t=E.map((t=>t.id===e.id?e:t));v([...t]),ae(t),f(!1)},handleDeletePrompt:e=>{Fe(zo.POST_PROMPT_DELETE_PROMPT,{id:e}).then((()=>{f(!1);const t=E.filter((t=>t.id!==e));v([...t]),ae(t)}))}}),(0,Uo.jsx)(Aa,{onClose:()=>g(!1),visible:m,onClickSave:e=>{Fe(zo.POST_PROMPT_CREATE_PROMPT,{body:e}).then((e=>{const t=[...E||[],{...e,isPinned:!1}];v(t),g(!1),ae(t)}))}}),(0,Uo.jsx)("input",{id:"blennyUpload",style:{position:"absolute",visibility:"hidden"},type:"file",multiple:!1,accept:".jpeg,.jpg,.png,.webp,.mp4,.mov,.webm",onChange:e=>{e.target.files.length&&(de(e.target.files[0]),e.value="")}}),!!Y&&(0,Uo.jsxs)("div",{className:Yi,children:[(0,Uo.jsx)("img",{src:Y?.contentBase64||Y?.url,alt:"image"}),(0,Uo.jsx)("div",{className:Wi,onClick:()=>V(void 0),children:(0,Uo.jsx)(ga,{})})]})]})};var i_,a_,s_="blennyButton___qLgwv",l_="closeIcon___wXMkd",c_="disabled___gzqpm",u_="hidden___fyqFu",d_="spin___JPhXa",f_="topQuickAiButton___UrTeS";function p_(){return p_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p_.apply(this,arguments)}const h_=function(e){return r.createElement("svg",p_({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",fill:"none",width:16,height:16,viewBox:"0 0 16 16"},e),i_||(i_=r.createElement("defs",null,r.createElement("clipPath",{id:"master_svg0_301_0214"},r.createElement("rect",{x:0,y:0,width:16,height:16,rx:0})))),a_||(a_=r.createElement("g",{clipPath:"url(#master_svg0_301_0214)"},r.createElement("g",null,r.createElement("path",{d:"M0.633251953125,2L0.633251953125,12Q0.633251953125,12.0689,0.646701953125,12.1366Q0.660152953125,12.2042,0.686535953125,12.2679Q0.712919953125,12.3316,0.751222953125,12.3889Q0.789526953125,12.4462,0.8382769531250001,12.495Q0.887027953125,12.5437,0.944352953125,12.582Q1.001677953125,12.6203,1.065373953125,12.6467Q1.129069953125,12.6731,1.196688953125,12.6865Q1.2643079531249999,12.7,1.333251953125,12.7L5.999921953125,12.7Q6.538391953125,12.7,6.919161953125,13.0808Q7.299921953125,13.4615,7.299921953125,14Q7.299921953125,14.0689,7.313371953125,14.1366Q7.326821953125,14.2042,7.353201953125,14.2679Q7.379581953125,14.3316,7.417891953125,14.3889Q7.456191953125,14.4462,7.504941953125,14.495Q7.553691953125,14.5437,7.611021953125,14.582Q7.668341953125,14.6203,7.732041953125,14.6467Q7.795731953125,14.6731,7.863351953125,14.6865Q7.930971953125,14.7,7.999921953125,14.7Q8.068861953125001,14.7,8.136481953125,14.6865Q8.204101953125,14.6731,8.267791953125,14.6467Q8.331491953125,14.6203,8.388811953125,14.582Q8.446141953125,14.5437,8.494891953125,14.495Q8.543641953125,14.4462,8.581941953125,14.3889Q8.620251953124999,14.3316,8.646631953125,14.2679Q8.673021953125,14.2042,8.686471953125,14.1366Q8.699921953125,14.0689,8.699921953125,14L8.699921953125,4.66667Q8.699921953125,3.27215,7.713841953125,2.286074Q6.727771953125,1.3,5.333251953125,1.3L1.333251953125,1.3Q1.2643079531249999,1.3,1.196688953125,1.31345Q1.129069953125,1.3269009999999999,1.065373953125,1.353284Q1.001677953125,1.3796680000000001,0.944352953125,1.417971Q0.887027953125,1.456275,0.8382769531250001,1.505025Q0.789526953125,1.553776,0.751222953125,1.6111010000000001Q0.712919953125,1.668426,0.686535953125,1.732122Q0.660152953125,1.795818,0.646701953125,1.863437Q0.633251953125,1.9310559999999999,0.633251953125,2ZM7.299921953125,11.62539L7.299921953125,4.66667Q7.299921953125,3.85205,6.723891953125,3.27602Q6.147871953125,2.7,5.333251953125,2.7L2.033251953125,2.7L2.033251953125,11.3L5.999921953125,11.3Q6.717311953125,11.3,7.299921953125,11.62539Z",fillRule:"evenodd",fill:"#0A0E20",fillOpacity:1})),r.createElement("g",null,r.createElement("path",{d:"M14.66667,12.7Q14.735610000000001,12.7,14.80323,12.6865Q14.87085,12.6731,14.93454,12.6467Q14.99824,12.6203,15.05556,12.582Q15.11289,12.5437,15.16164,12.495Q15.21039,12.4462,15.24869,12.3889Q15.286999999999999,12.3316,15.31338,12.2679Q15.33977,12.2042,15.35322,12.1366Q15.36667,12.0689,15.36667,12L15.36667,2Q15.36667,1.9310559999999999,15.35322,1.863437Q15.33977,1.795818,15.31338,1.732122Q15.286999999999999,1.668426,15.24869,1.6111010000000001Q15.21039,1.553776,15.16164,1.505025Q15.11289,1.456275,15.05557,1.417971Q14.99824,1.3796680000000001,14.93455,1.353284Q14.87085,1.3269009999999999,14.80323,1.31345Q14.735610000000001,1.3,14.66667,1.3L10.66667,1.3Q9.27215,1.3,8.286074,2.286074Q7.3,3.27215,7.3,4.66667L7.3,14Q7.3,14.0689,7.31345,14.1366Q7.326901,14.2042,7.353284,14.2679Q7.379668,14.3316,7.417971,14.3889Q7.456275,14.4462,7.505025,14.495Q7.553776,14.5437,7.611101,14.582Q7.668426,14.6203,7.732122,14.6467Q7.795818,14.6731,7.863437,14.6865Q7.931056,14.7,8,14.7Q8.068944,14.7,8.136563,14.6865Q8.204182,14.6731,8.267878,14.6467Q8.331574,14.6203,8.388899,14.582Q8.446224,14.5437,8.494975,14.495Q8.543725,14.4462,8.582029,14.3889Q8.620332,14.3316,8.646716,14.2679Q8.673099,14.2042,8.68655,14.1366Q8.7,14.0689,8.7,14Q8.7,13.4615,9.08076,13.0808Q9.46152,12.7,10,12.7L14.66667,12.7ZM8.7,11.62539Q9.28261,11.3,10,11.3L13.96667,11.3L13.96667,2.7L10.66667,2.7Q9.85205,2.7,9.276019999999999,3.27602Q8.7,3.85205,8.7,4.66667L8.7,11.62539Z",fillRule:"evenodd",fill:"#0A0E20",fillOpacity:1})))))},m_=100;var g_=function(e){return e.Move="move",e.Top="top",e.Bottom="bottom",e.Left="left",e.Right="right",e.TopLeft="topLeft",e.TopRight="topRight",e.BottomLeft="bottomLeft",e.BottomRight="bottomRight",e}(g_||{});const E_=[g_.TopLeft,g_.TopRight,g_.Top],v_=[g_.TopLeft,g_.BottomLeft,g_.Left],y_=[g_.TopRight,g_.BottomRight,g_.Right],b_=[g_.BottomLeft,g_.BottomRight,g_.Bottom],T_=14,__=41,A_=14,S_=300;var C_=function(e){return e.Top="top",e.Bottom="bottom",e.Left="left",e.Right="right",e}(C_||{});const k_=({quickAiList:e=[],onClose:t,uploadCurrentImage:n,sendQuickGptStream:o,currentQuickStream:i,isReceivingQuickStream:a,stopQuickChat:s,imageInfoObjRef:l,handleAddImage:c})=>{const{t:u}=Ht(),[d,f]=(0,r.useState)(),[p,h]=(0,r.useState)(),m=(0,r.useRef)(),[g,E]=(0,r.useState)(!1),[v,y]=(0,r.useState)(!1),[b,T]=(0,r.useState)(!1),[_,A]=(0,r.useState)(),[S,C]=(0,r.useState)(),k=(0,r.useRef)(),[N,I]=(0,r.useState)(),[x,O]=(0,r.useState)();(0,r.useEffect)((()=>{i&&ce(i)}),[i]),(0,r.useEffect)((()=>{const e=document.getElementById("blenny-quick-chat")?.getElementsByTagName("a");for(let t=0;e?.length&&t<e?.length;t++)e[t].target="_blank",e[t].className="blennyLink___XfIwD"}),[S?.content]);const w=e=>{m.current=e,h(e)},[D,R]=(0,r.useState)(),L=(0,r.useRef)(),P=e=>{L.current=e,R(e)},M=(0,r.useRef)(null),[B,F]=(0,r.useState)(),U=(0,r.useRef)(),H=(0,r.useRef)(),j=(0,r.useRef)(),[G,Q]=(0,r.useState)(),[z,W]=(0,r.useState)(),[Y,V]=(0,r.useState)(),[q,K]=(0,r.useState)(!1),[X,$]=(0,r.useState)(!1),[J,Z]=(0,r.useState)(""),[ee,te]=(0,r.useState)(!1),ne=(0,r.useRef)(),re=e=>e<20?e/2:e<m_?10:e>300?30:e/10,oe=(e,t)=>{const n=Math.min(Number(e),Number(t));return{width:re(n),height:re(n)}},ie=(e,t)=>{e.stopPropagation(),B||(H.current={x:p.x,y:p.y},j.current={width:D.width,height:D.height},F(t),Q({x:e.clientX,y:e.clientY}))},ae=()=>{if(!p||!D)return;const e=window.innerWidth,t=window.innerHeight,n=M.current?.offsetWidth||121,r=p.x+D.width<n,o=p.y+D.height+28+__<=t,i=p.y-28-__>=0,a=o||i?0:T_,s=!o&&i;W({top:s?-55:void 0,bottom:o?-55:i?void 0:T_,right:r?void 0:a,left:r?a:void 0}),V(s&&t-p.y>200?C_.Bottom:C_.Top);const l=p.x-28-S_>=0,c=p.x+D.width+28+S_<=e,u=t-p.y>=314,d=p.y+D.height>=314,f={right:(r&&!l||!r)&&c?-314:r||l||c?void 0:A_,left:(r||!r&&!c)&&l?-314:!r||l||c?void 0:A_},h=f.left&&f.left>0||f.right&&f.right>0?A_:0,m=s&&!u,g=o&&!d;I(m||g?{bottom:m?69+D.height:void 0,top:g?69+D.height:void 0,right:r?void 0:a,left:r?a:void 0,maxHeight:"50vh"}:{top:s?h:void 0,bottom:o?h:i?void 0:69,...f,maxHeight:s?t-p.y-A_+"px":o?p.y+D.height-A_+"px":void 0})},se=e=>{l.current[e.latestId]?.uploadFail?O(I_.FAILED):l.current[e.latestId]?.url?(O(I_.READY),E(!0),o(e)):setTimeout((()=>{se(e)}),500)},le=(e,t)=>{if(K(!1),a)return;O(I_.UPLOADING);const n={prompt:e,latestId:ne.current,position:p,size:D};k.current={request:n,content:{type:As.ASSISTANT,content:""}},C({...k.current}),se({prompt:e,latestId:t,position:p,size:D})},ce=e=>{if(E(!1),e.isFail)return T(!1),y(!1),k.current={request:k.current?.request,content:{type:As.ASSISTANT,content:n_(e.errorCode),streamId:e.streamId,isFailed:!0}},void C(k.current);if(T(!0),e.isAnalysing)y(!0);else{if(!1===e.isAnalysing&&y(!1),e.isFinish){if(T(!1),y(!1),!k.current)return;return k.current={...k.current,content:{...k.current?.content,isFinish:!0,type:As.ASSISTANT}},void C({...k.current})}k.current={request:k.current?.request,content:{type:As.ASSISTANT,content:e.message||"",streamId:e.streamId}},C(k.current)}};return(0,Uo.jsx)("div",{className:zt()("mask___NnuOa",p&&D&&!d&&"finishDragMask___LMIIF",(ee||p&&D)&&"transparentMask___zF19a"),onMouseDown:e=>{p&&D||(U.current={x:e.clientX,y:e.clientY},f({x:e.clientX,y:e.clientY}),w({x:e.clientX,y:e.clientY}),P({width:0,height:0}))},onMouseMove:e=>{if(te(!0),d)return P({width:Math.abs(e.clientX-d.x),height:Math.abs(e.clientY-d.y)}),void w({x:e.clientX>d.x?d.x:e.clientX,y:e.clientY>d.y?d.y:e.clientY});if(G&&B&&H.current&&j.current)if(B===g_.Move)w({x:H.current.x+e.clientX-G.x,y:H.current.y+e.clientY-G.y});else{const t=E_.includes(B),n=v_.includes(B),r=y_.includes(B),o=b_.includes(B),i={x:n||r?e.clientX-G.x:0,y:t||o?e.clientY-G.y:0};w({x:H.current.x+(n?i.x:0),y:H.current.y+(t?i.y:0)}),P({width:j.current.width+(n?-i.x:r?i.x:0),height:j.current.height+(t?-i.y:o?i.y:0)})}},onMouseUp:e=>{const t=H.current||j.current||U.current;f(void 0),Q(void 0),F(void 0),H.current=void 0,j.current=void 0,U.current=void 0,ae(),m.current&&L.current&&t&&(ne.current=wt(),n({id:ne.current,size:{width:L.current.width-2,height:L.current.height-2},position:{x:m.current.x+1,y:m.current.y+1}}))},children:p&&D&&(0,Uo.jsxs)("div",{className:zt()("dragContent___YUcYL",!d&&"finishDragContent___Te0eV"),style:{top:p.y,left:p.x,width:D.width,height:D.height},onMouseDown:e=>ie(e,g_.Move),children:[(0,Uo.jsx)("div",{className:"cornerTopLeft___mFK0p",style:oe(D.width,D.height),onMouseDown:e=>ie(e,g_.TopLeft)}),(0,Uo.jsx)("div",{className:"cornerTopRight___xBrhv",style:oe(D.width,D.height),onMouseDown:e=>ie(e,g_.TopRight)}),(0,Uo.jsx)("div",{className:"cornerBottomLeft___seTVh",style:oe(D.width,D.height),onMouseDown:e=>ie(e,g_.BottomLeft)}),(0,Uo.jsx)("div",{className:"cornerBottomRight___bJEuD",style:oe(D.width,D.height),onMouseDown:e=>ie(e,g_.BottomRight)}),20<=D.width&&(0,Uo.jsxs)(Uo.Fragment,{children:[(0,Uo.jsx)("div",{className:"borderCenterTop___Ry2CN",onMouseDown:e=>ie(e,g_.Top),children:m_<=D.width&&(0,Uo.jsx)("div",{style:{width:re(D.width)}})}),(0,Uo.jsx)("div",{className:"borderCenterBottom___dDGMN",onMouseDown:e=>ie(e,g_.Bottom),children:m_<=D.width&&(0,Uo.jsx)("div",{style:{width:re(D.width)}})})]}),20<=D.height&&(0,Uo.jsxs)(Uo.Fragment,{children:[(0,Uo.jsx)("div",{className:"borderCenterLeft___pwlPw",onMouseDown:e=>ie(e,g_.Left),children:m_<=D.height&&(0,Uo.jsx)("div",{style:{height:re(D.height)}})}),(0,Uo.jsx)("div",{className:"borderCenterRight___CxFXQ",onMouseDown:e=>ie(e,g_.Right),children:m_<=D.height&&(0,Uo.jsx)("div",{style:{height:re(D.height)}})})]}),(0,Uo.jsxs)("div",{className:zt()("aiActionBar___qmWYk",!G&&!d&&"visible___u1Hah"),style:z,ref:M,onMouseDown:e=>e.stopPropagation(),children:[!!e.length&&(0,Uo.jsxs)(Uo.Fragment,{children:[(0,Uo.jsxs)("div",{className:"quickAiBar___lENni",children:[e.slice(0,3).map((e=>(0,Uo.jsx)(Ho,{delayDuration:0,children:(0,Uo.jsxs)(jo,{delayDuration:0,children:[(0,Uo.jsx)(Go,{asChild:!0,children:(0,Uo.jsx)("div",{className:zt()(f_,b&&c_),onClick:()=>le(e,ne.current||""),children:e.name},e.id)}),(0,Uo.jsx)(Qo,{children:e.name})]})},e.id))),e.length>3&&(0,Uo.jsxs)("div",{className:"topQuickAiButtonWrap___lUPqi",children:[(0,Uo.jsx)("div",{className:zt()(f_,b&&c_,"icon___O2RSm"),onClick:()=>{a||K(!q)},children:(0,Uo.jsx)(Ia,{})}),(0,Uo.jsx)("div",{className:zt()("quickAiBarDropdownMask___H4zRu",!q&&u_),onClick:()=>K(!1)}),(0,Uo.jsx)("div",{className:zt()("quickAiBarDropdownWrap___q76BJ",!q&&u_),style:{top:Y===C_.Bottom?38:void 0,bottom:Y===C_.Top?38:void 0},children:(0,Uo.jsx)("div",{className:zt()("quickAiBarDropdown___F4KfS"),children:e.slice(3).map((e=>(0,Uo.jsx)("div",{className:zt()("quickAiDropdownButton___H93U4"),onClick:()=>le(e,ne.current||""),children:e.name},e.id)))})})]})]}),(0,Uo.jsx)("div",{className:"quickAiBarDivider___sc59T"})]}),(0,Uo.jsxs)("div",{className:zt()("chatButton___rKGib",b&&c_),onClick:()=>{K(!1),a||t({latestId:ne.current,position:p,size:D})},children:[(0,Uo.jsx)(Yt,{width:16,height:16}),u("Chat")]}),(0,Uo.jsx)("div",{className:l_,onClick:()=>{t()},children:(0,Uo.jsx)(Xt,{})})]}),!G&&!d&&S&&(0,Uo.jsxs)("div",{className:"quickChatBox___KIqo1",style:{width:S_,...N},onMouseDown:e=>e.stopPropagation(),onScroll:e=>e.stopPropagation(),children:[(0,Uo.jsxs)("div",{className:"header___h9qiJ",children:[(0,Uo.jsxs)("div",{className:"title___qQi6I",children:[(0,Uo.jsx)(h_,{}),(0,Uo.jsx)("span",{className:"titleText___iehsB",children:S.request.prompt?.name})]}),(0,Uo.jsx)("div",{className:l_,onClick:()=>{k.current=void 0,C(void 0),s()},children:(0,Uo.jsx)(Xt,{})})]}),(0,Uo.jsxs)("div",{className:"content___igDvm",id:"blenny-quick-chat",style:{maxHeight:`calc(${N?.maxHeight||"50vh"} - 104px)`},children:[!!_&&(0,Uo.jsx)("div",{className:"copyTip___cQMr8",children:"copied"}),(x===I_.UPLOADING||g)&&x!==I_.FAILED&&(0,Uo.jsxs)("div",{className:"quickChatImageUploading___g_Cnl",children:[(0,Uo.jsx)(ns,{className:d_,width:24,height:24}),x===I_.UPLOADING?"Image uploading":"Getting result"]}),x===I_.FAILED&&(0,Uo.jsx)("div",{className:"quickChatImageFailed___EkmQi",children:"Image upload failed."}),v&&(0,Uo.jsxs)("div",{className:zt()("spinWrap___ZuI7v","gpt___i8Cex"),children:[(0,Uo.jsx)(ns,{className:d_,width:20,height:20}),"Searching on the web"]}),(0,Uo.jsx)("div",{style:{opacity:0,pointerEvents:"none"},children:(0,Uo.jsx)(uv,{rehypePlugins:[HT],children:S.content.content})}),(0,Uo.jsx)("div",{className:"scrollBox___YNoBy",children:(0,Uo.jsx)("div",{className:S.content.isFailed&&"failed___GuuNb",children:(0,Uo.jsx)(uv,{rehypePlugins:[HT],children:S.content.content})})})]}),(0,Uo.jsx)("div",{className:"footer___cKWBg",children:b?(0,Uo.jsxs)("div",{className:zt()(s_,"stopButton___UbqMk"),onClick:s,children:[(0,Uo.jsx)(ZT,{width:12,height:12}),"Stop"]}):(0,Uo.jsxs)(Uo.Fragment,{children:[S.content.isFinish&&(0,Uo.jsxs)("div",{className:zt()(s_,"copyButton___TzdPv"),onClick:()=>{return e=S?.content,void jT(e.content,(()=>{A(e.streamId),setTimeout((()=>{A(void 0)}),1e3)}));var e},children:[(0,Uo.jsx)(za,{width:12,height:12}),"Copy"]}),(0,Uo.jsxs)("div",{className:zt()(s_),onClick:()=>{if(x===I_.FAILED){O(I_.UPLOADING);const e=l.current[S?.request.latestId||""];c({id:e.id,contentBase64:e.contentBase64}),Fe(zo.UPLOAD_IMAGE,e.contentBase64).then((t=>{let n;n="fail"===t?{id:e.id,contentBase64:e.contentBase64,uploadFail:!0}:{id:e.id,contentBase64:e.contentBase64,url:t},c(n)})),le(S?.request.prompt,S?.request.latestId||"")}else le(S?.request.prompt,S?.request.latestId||"")},children:[(0,Uo.jsx)(qa,{width:12,height:12}),"Retry"]})]})})]})]})})};const N_=e=>{const{t}=Ht();return(0,Uo.jsx)(Uo.Fragment,{children:(0,Uo.jsxs)("div",{className:zt()("chatroomWrap___jcuuy",!e.visible&&"hidden___emrVb"),children:[(0,Uo.jsxs)("div",{className:"blennyLoginLabel___vJ7Ok",children:[(0,Uo.jsx)("img",{width:28,height:28,src:chrome.runtime.getURL("icons/logo@128.png"),alt:"logo"}),"Login to Blenny"]}),(0,Uo.jsx)("button",{className:"blennyLoginButton___nOy65",onClick:()=>window.open(`${r_.appHost}/auth?ld`,"_blank"),children:"Login Now"})]})})};let I_=function(e){return e[e.UPLOADING=0]="UPLOADING",e[e.FAILED=1]="FAILED",e[e.READY=2]="READY",e}({});const x_=(0,r.forwardRef)(((e,t)=>{const[n,o]=(0,r.useState)(!1),i=(0,r.useRef)(!1),[a,s]=(0,r.useState)(),[l,c]=(0,r.useState)(140),[u,d]=(0,r.useState)(),f=(0,r.useRef)(),[p,h]=(0,r.useState)(),m=(0,r.useRef)(),g=(0,r.useRef)(),E=(0,r.useRef)(),[v,y]=(0,r.useState)(""),b=(0,r.useRef)(),[T,_]=(0,r.useState)(),[A,S]=(0,r.useState)(),[C,k]=(0,r.useState)(),[N,I]=(0,r.useState)(),[x,O]=(0,r.useState)(),w=(0,r.useRef)({}),[D,R]=(0,r.useState)({}),[L,P]=(0,r.useState)([]),[M,B]=(0,r.useState)(),[F,U]=(0,r.useState)(),[H,j]=(0,r.useState)(!1),G=(0,r.useRef)(),Q=(0,r.useRef)();(0,r.useEffect)((()=>(Ae.changeLanguage("en-US"),q(),W(!1),X(),$(),document.addEventListener("keydown",V,!0),()=>{document.removeEventListener("keydown",V,!0)})),[]);const z=e=>{s(e),g.current=e},W=e=>{d(e),E.current=e},Y=e=>{h(e),m.current=e};(0,r.useImperativeHandle)(t,(()=>({startScreenShot:K,checkUserInfoAndShowContent:X,receiveGptStreamResult:se})),[]);const V=e=>{if(i.current)return void("Escape"===e.key&&ee());((navigator.platform.toUpperCase().includes("MAC")?Ue.MAC:navigator.platform.toUpperCase().includes("WIN")?Ue.WIN:Ue.UNKNOWN)===Ue.MAC?e.metaKey:e.ctrlKey)&&"b"===e.key.toLocaleLowerCase()&&K()},q=()=>{const e=[(t={TTInterfacesRegular:chrome.runtime.getURL("TTInterfaces-Regular.ttf"),TTInterfacesMedium:chrome.runtime.getURL("TTInterfaces-Medium.ttf"),TTInterfacesSemiBold:chrome.runtime.getURL("TTInterfaces-SemiBold.ttf"),TTInterfacesBold:chrome.runtime.getURL("TTInterfaces-Bold.ttf")}).TTInterfacesRegular&&`\n\t\t@font-face {\n\t\t\tfont-family: TTInterfaces;\n\t\t\tsrc: url(${t.TTInterfacesRegular}) format("truetype");\n\t\t\tfont-weight: 400\n\t\t}\n `,t.TTInterfacesMedium&&`\n\t\t@font-face {\n\t\t\tfont-family: TTInterfaces;\n\t\t\tsrc: url(${t.TTInterfacesMedium}) format("truetype");\n\t\t\tfont-weight: 500\n\t\t}\n\t`,t.TTInterfacesSemiBold&&`\n\t\t@font-face {\n\t\t\tfont-family: TTInterfaces;\n\t\t\tsrc: url(${t.TTInterfacesSemiBold}) format("truetype");\n\t\t\tfont-weight: 600\n\t\t}\n\t`,t.TTInterfacesBold&&`\n @font-face {\n font-family: TTInterfaces;\n src: url(${t.TTInterfacesBold}) format("truetype");\n font-weight: 700\n }\n `].filter(Boolean).join("\n");var t;y(e)},K=()=>{f.current?Y(!m.current):(Z().then(),P([]),ie({}),b.current={isShowChatRoom:E.current,isShowActionBar:g.current},W(!1),I([]),z(!1),i.current=!0,o(!0))},X=()=>{Me(Yo.USER_INFO).get().then((e=>{e?(k(e),z(e?.sidebarShown),m.current&&(W(!0),f.current=!1,Y(!1))):(f.current=!0,Me(Yo.SIDE_BAR_ICON_VISIBLE).get().then((e=>{z(e)})))}))},$=()=>{Me(Yo.SIDE_BAR_POSITION_BOTTOM).get().then((e=>{c(e||140)}))},J=e=>{if(f.current)return void Y(e);const t=`${r_.appNameSimple}-chat-room-visible-style`;if(e){const e=document.createElement("style");e.id=t,e.innerHTML="html {\n\t\t\t\twidth: calc(100% - 450px);\n\t\t\t\tposition: relative;\n\t\t\t\tmin-height: 100vh;\n\t\t\t}",document.body.appendChild(e),Z().then(),I([])}else I(void 0),document.getElementById(t)?.remove();W(e)},Z=async()=>{let e=await Be(Vo.PROMPT_LIST,{type:Array}).get();if(!e){e=(await Fe(zo.GET_PROMPT_GET_PROMPT_LIST,{num:1e3})).data,await Be(Vo.PROMPT_LIST,{type:Array}).set(e)}S(e)},ee=e=>{if(i.current=!1,o(!1),e){const t=e.latestId,n=t?w.current[t]:void 0;n?(P([n.id]),te(e,n.id,n.contentBase64)):setTimeout((()=>{const n=wt();re({id:n,size:e.size,position:e.position},(r=>{te(e,n,r),P(t?[t,n]:[n])}))}),500)}else W(!!b.current&&b.current.isShowChatRoom),z(!!b.current&&b.current.isShowActionBar),b.current=void 0},te=(e,t,n)=>{I([{image:{id:t,contentBase64:n},promptId:e.prompt?.id,promptText:e.prompt?.prompt||e.promptText,role:As.USER}]),W(!0),z(!!b.current&&b.current.isShowActionBar),b.current=void 0},ne=e=>{const t=e.latestId?w.current[e.latestId]:void 0;t?.uploadFail||(j(!0),t?.url?ae({promptId:e.prompt?.id,promptText:e.prompt?.prompt||e.promptText,image:t,role:As.USER,webAccess:e.prompt?.webAccessEnabled??!1},wt()):setTimeout((()=>{ne(e)}),500))};(0,r.useEffect)((()=>{if(!L.length)return;let e;L.find((t=>{const n=D[t];if(n.url)return e=n,!0}))}),[D,L]);const re=(e,t)=>{Fe(zo.GET_SCREENSHOT).then((n=>{const r=new Image,o=e.id;r.src=n,r.onload=()=>{const n=((e,t)=>{const n=document.createElement("canvas"),r=n.getContext("2d"),{position:o,size:i}=e,a=t.width,s=t.height,l=a/window.innerWidth,c=o.x*l,u=o.y*l,d=i.width*l,f=i.height*l;n.width=a,n.height=s,r.drawImage(t,0,0,a,s);const p=r.getImageData(c,u,d,f);return r.clearRect(0,0,n.width,n.height),n.setAttribute("width",d+""),n.setAttribute("height",f+""),n.setAttribute("style",`width: ${d}px;height: ${f}px;`),r.putImageData(p,0,0),n.toDataURL("image/webp")})(e,r);t?.(n),oe({id:o,contentBase64:n}),Fe(zo.UPLOAD_IMAGE,n).then((e=>{let t;t="fail"===e?{id:o,contentBase64:n,uploadFail:!0}:{id:o,contentBase64:n,url:e},oe(t)}))}}))},oe=e=>{ie({...w.current,[e.id]:e})},ie=e=>{w.current=e,R(e)},ae=(e,t)=>{let n;u?(G.current=wt(),n=G.current):(Q.current=wt(),n=Q.current);const r={content:e.image.url?[{image_url:e.image.url},{text:e.promptText}]:[{text:e.promptText}],webAccess:e.webAccess??!1,id:t,streamId:n};Fe(zo.SEND_CHAT_GPT_STREAM,r).then()},se=async e=>{if(e.streamId===G.current)return j(!1),e.isFinish||e.isFail?(G.current="",void B(e)):void B(e);if(e.streamId===Q.current){if(e.isFinish||e.isFail)return Q.current="",U(e),void j(!1);U(e)}};return(0,Uo.jsxs)(Uo.Fragment,{children:[(0,Uo.jsx)("style",{children:v}),(0,Uo.jsxs)("div",{className:"app___yDxHh",children:[n&&(0,Uo.jsx)(k_,{quickAiList:A,onClose:ee,uploadCurrentImage:re,handleAddImage:oe,sendQuickGptStream:ne,currentQuickStream:F,isReceivingQuickStream:H,stopQuickChat:()=>{j(!1),Q.current=void 0,U({streamId:"",isFinish:!0})},imageInfoObjRef:w}),(0,Uo.jsxs)("div",{className:"content___zRaTl",children:[(0,Uo.jsx)(qo,{visible:a,chatRoomVisible:u||p,onChangeActionBarVisible:e=>{f.current?Y(e):(z(e),Fe(zo.PATCH_USER_UPDATE_SIDEBAR_SHOW_STATUS,{body:{shown:e}}).then())},onChangeChatRoomVisible:e=>J(e),onClickScreenShot:K,actionBarBottom:l,setActionBarBottom:c}),(0,Uo.jsx)(o_,{userInfo:C,setUserInfo:k,visible:u,topQuickAiList:T,quickAiList:A,onChangeChatRoomVisible:J,chatroomMessageContentList:N,onSendMessage:ae,currentStream:M,setCurrentStream:B,currentListenStreamId:G,imageInfoObj:D,imageInfoObjRef:w,handleAddImage:oe,stopCurrentChat:()=>{G.current=void 0,B({streamId:"",isFinish:!0})}}),(0,Uo.jsx)(N_,{visible:p})]})]})]})})),O_=(0,r.createRef)();function w_(){return O_.current?Promise.resolve(O_.current):(document.querySelectorAll(`#${r_.appNameSimple}-outer`).forEach((e=>e.remove())),document.defaultView===window.top?new Promise(((e,t)=>{const n=document.createElement("div");n.setAttribute("id",`${r_.appNameSimple}-outer`),document.documentElement.appendChild(n);(0,a.s)(n).render((0,Uo.jsx)(x_,{ref:O_}))})):Promise.resolve(null))}document.documentElement.ownerDocument?.defaultView.console.log("xxxImIframeIstart!!!",document.defaultView===window.top),chrome.runtime.onMessage.addListener(((e,t,n)=>{switch(e.type){case Wo.CONTENT_SCRIPT_HEART_BEAT:return n({isAlive:!0}),!0;case Wo.CHANGE_USER_INFO:return w_().then((e=>{e?.checkUserInfoAndShowContent()})),!0;case Wo.GET_STREAM_RES:return r=e.payload,w_().then((e=>{e?.receiveGptStreamResult(r)})),!0;case Wo.START_SCREEN_SHOT_FROM_BACKGROUND:return w_().then((e=>{e?.startScreenShot()})),!0}var r;n()})),function(){if(location.origin!==r_.appHost)return;const e=localStorage.getItem("token");e?Fe(zo.LOGIN,{token:e}).then():Fe(zo.LOGOUT).then();window.addEventListener("blennyTokenChange",(()=>{const e=localStorage.getItem("token");e?Fe(zo.LOGIN,{token:e}).then():Fe(zo.LOGOUT).then()}))}(),function(){if(location.origin!==r_.appHost&&location.origin!==r_.homeHost)return;window.addEventListener("blennyPromptChanged",(()=>{Fe(zo.GET_PROMPT_GET_PROMPT_LIST,{num:1e3}).then((e=>{Be(Vo.PROMPT_LIST,{type:Array}).set(e.data)}))}))}(),w_().then((async e=>{}))})()})();hed orhedule an appointment, you will need talk to your appointment service as provider as we are unable to alter appointment. If you appointment, please contact your appointment services provider. I've got any other matters. Please continue to hold. O cost service offices are currently assisting on other calls, please hold everyone over as soon as possible. I'm calling up workforce Australia now to inquire about how my exemption expired on 11 February and I had to go back to mutual obigation. Let's trace down the outcome letter for my disability pension in this file and then I'll when I get on the phone, I'll talk to them about how I spoke to celebration army and they called me up and said I didn't volunteer on the program which according to the rules you can according to the last conversation with these idiots I could so give me a little script to work on when I speak to them on the phone a downstairs there's much or income support payment to walk out your address services Australia, you will need to contact 13 2850 Yeah, I'm actually uh reverse engineering the system they they're putting your uh CRN. You know what number I put in? I put in this number and guess what it've accepted it and I'm waiting for me to talk to me How interesting If you're ready to change lives as well as your own, then a life changing life is waiting in the care of support sector now hiring as a care and support jobs.gov.au transfer to a differentider your work Australia account if you have not already linked your account to workforce Australia. your account know that back in that's what I refer to me.. Interesting though if you put in the wrong number, you might be able to get through Yeah, well, it's too good not to and also I want to find out what's going on. I wonder if I can call them up and try some other numbers and just test it because um we need to get this information straight and I'm letting workforce Australia now and they say this conversation's recorded, would it be rec recorded while they were actually um waiting for them to answer the phone or wouldn't start recording until the music finishes playing and then someone answers the phone If you were calling to schedule a ratial an appointment, you would need to talk to your appointment service and provider as we unable to alter appointments. If your payment is on whole street to a missed appointment, please contact your employment service provider for any of the matters, please continue to holderesting testing one, two, three no recorded but does the recording start from the whole music or only when someone answers All of them customers service offices are currently assisting on other calls. Please hold and we will endeavor to answer your call as soon as possible. Thank you for department and workatations at national customer service line. for coaching and quality purposes. If you to hear more about privacy policy, impairment the national reway service can help can join your call and change voice to text or takes to voice can translate to English or English to uglylam all the national railway service on 13005727 for help. We are committed to providing quality customer service and will treat you with courtesy and respect. You can help us by treating our staff the same way. Please select on the following three options if you would like to make a complaint or provide feedback about your services provider compl compl resolution on the department of social services. This is not a across the service. They hang up and dial triple zero immediately the ur assistance. which the poor people with the disability in one to reportability disability service provider flight is not a disability to provensity to my new complaints. to the department of social services privacy being published on WW..onym's going to see if they can I hell are you? I'm good how are you? Fantastic as we saw our sight that is he around? Saban Saban used to be my case officer. He's there any more. or you guys are a new outfit. hopefully you better. Shall I give you my ID number? I want to make a complaint against AP no I'm it's. It's because it's if it's old old complainer I can't do it again. I'll give you my reference number if you want Well, you need the reference numbers in order to access my files, right? I don't, I'm curious. I mean I want to I will give you my name but if I give you this number identifier, would you need it', so let's say I don't give you my number just my name. Is that all you need for the complaint? the reference number I'm just wondering how you guys collective information because obviously it goes back to to your paymasters so I suppose you'd want to have my reference number immediately so that you can then send the information to them and and start the data data harvesting 342071849 That is 3420718409 Hi Sheila. Yes, I am. I call the right place so yeah, I'll give you um um another number. What uh what did what came up on that number anyway cause that's the one I was told to give you. who are you guys, by the way? Sorry who will I come through? I. I did send an email complaint. I wondering whether you got it. Send it yesterday via email. Yeah it's so that was related that was actually a JSK number related to the complaints um and it's a reference number that sevenink give to uh uh to people like me uh who have a reference number so we've got my reference number nine. This is 10 and JSK, okay report it's back in um coding um stuff that I never see but I released it through the freedom of information act. But you knew that already, right? sure. Well, I sent it to let me see here. I'm just not very good at uh administration. I had problems. I had problems scaring me here. had problems with getting my head around all you guys have got different names but you're the same you're the same evil beast that ignores all complaints and just uh brushes them aside. But I hope you guys um are bit better than the last uh watchdogs that were in Osborn Park. I hope you've got a bit more power. Have you because I see your backgrounds uh law and and uh in the real world so hopefully you got to apply that scrutinymail.com see how you So anyway, uh I when wer you confirm that resolution has taken over the effective second of January. Hope you guys are better. um if you are still satisfied blah blah, so um I sent it to uh my my email Thomas Briscelli yeah that's it yeah. I just want to see if the complaint's been activated thanks. I want you to check for um mutual obligation in this document What are my obligations for that? Also, uh mutual obligation plan the time of the complaint and a month phone note yourself seem to complaint sent through yesterday's active What is the health maintenance program? Never heard of that? That must have been new and fifth of 3 2024 wow that must have been after all the complaints are made to them Hi Yeah, of course yeah. manager what's going on but we'll just give you a call back who is my case manager so can I make the complaint if it's not if you haven't received it, can I make the complaint now with you or what? a problem that I can help you out with? Okay, what will you get back to me about I got I need access to all my records and all my complaints and outcomes. I've lost them. Can you send them through to me now please? no resolution so I put in a couple of complaints and you and you said you said not you particularly but the complaints are really closed so all the clothes accounts and that were with corresponding letters I never received or have lost them. Can I have them sent through to me please to day? I mean there's there's a few issues with A and that I'm following up a new complaints that that I' resurfacing because they were they were pretty much filtered out by the previous consultants in the AMP. So that's why I'm adding a new complaints that were filtered out. So that'd be great because a se3 Thank you and I hope I can work really well for you guys. I really do hope you got some power Hey, get a cliffy. How are you?. Yeah. Oh, wonderful. Oh, cool. yesterday afternoon. red, I suppose the big question is the big question is how much is Yeah, Yeah, yeah, well yeah, that's that's a more reasonable price anyway. I mean, how desperate is to get rid of it? I'll be $1,00 we'd probably take it today. Need to go get cash out, but I'll probably I probably have a look at it first. What do you think? what do you think the condition of it's like? Yeah. Did you? Yeah. What if you don't off the lining would it be cold in the winter? and let know when we can back to me know what the story is it'll what time, what time will you are you there now? Are you? just do your evening shift and we'll do it later on when you get back. yeah well just tell him that and then that's what we'll do yeah I don't want you to be running back and when you got an evening shift to do it's not fair and it's not that just give him a call to see if he agrees with you suppose Queensland a look on the as well what's that it'surally looking else is just I'll it Just let me know what it is. I'll type it in Google Maps now. What's the address again? could be a game means I'll actually have the room to do what I want do Yeah, I'll see you there about thirty you've already seen it, have you? Oh, okay yeah yeah I'll definitely get you know a bit earlier for sure. I wouldn't mind join the S and get sort of help out a little bit too.. So I suppose where you're coming from is don't take the piss out of a good deal don't take the piss out of good people. Is that right? Yeah, no worries no I appreciate your that was your job anyway evaluating right evaluating cars. And if you looked at it you're pretty impressed, it must be good. Christy, he that's isn't? Christy's name Oh yeah. Compared to the one that we saw that $500 that they wanted to So we're paying $1000 extra in them yet we're getting a I think it's 20 times better. That's great. Oh really? I mean, the chance of it ever being restored, it could be my pet project, you know. excellent fantastic. Yeah, yeah oh this is great and then I can practice some of you know driving it parking you know that's what we'im anyway yeah that's great news. well, you know what? I had a dream about that last night. I was yeah, yeah, 17 foot. I was about it., that's not it does we' lines here. It's like it's like all right, all right, all right. I'll go behind your caravan. You lead the way. Hey, I don't gang good kitty good kitty kitty puts the top of ain't, wait wait pussy like wee pussy like go, pussy like, okay, put it up on. So my 24th, pussy drip like gold my leg my booty. Milk mustache for your face when I in front of the because a lot of backack conversations going on and uh no uh no confirmation of anything. That code must have sentence free wheheeling. I use the same 10 digit code that was on my assess form for 2021. Wooey what a doozy this is what could it mean? I was on hull while they were trying to was trying to access my previous records as well, which we'll do next anyway on the freedom information file, but this is interesting. They said they'd call me back later on my case officer whoever the fuck that is so I guess how the complaint was taken on. That's the good news. I' I'm throw me I don'titty, good kitty kitty up Pretty pussy you't like cities on yourhead. cities I titties with my big c, I don't good kitty't Well, I was talking to workforce Australia I use the ten digit number that was on a JPS JDPS and I got through and then I I did didn't do it the next time I got I just got transferred to CRS, but they're all the same they're all the same deal, right? Now I'm thinking I might just put it another number and try put it in a fake number and one is stiffering and see what happens ah I'll get back to you. recorded coaching and quality purposes if you like to hear more about our policyment or English to Oslam all the national railway service on 1300577 for help we are committed to providing quality customer service and will treat you with courtesy and respect. You can help us by treating our staff the same way. Please launch from the following three options if you would like to make a complaint or provide feedback about your employment services provider to transferring employment services particip employment in the development program to diss further transfer request Please enter cent reference number by entering the first into the entered 3427184 that correct They also accepted nine digits of the 10 digit number, so I don't think this is a criteria. What whatever number you put in there I'll still put you through afternoon you expecting to dial so please start with your VRN Oh, yeah, sure I am I'. It has a lot of weight but I got through a last. You are a human, right?'s. I was I sometimes wondered, that's all. Humans are not. Okay, let me see here.. I see here just trying to all this waiting, I just sort of lost it. I thought well look here. he's349204349615K, I Thomas 24 cages Rd., Park Queensland 43 the paymentally Yes, yes I think it's the. I called you guys up to to see what my status was for neutral obligation because it was my uh outcome with her after receiving the disability pension so I was worried that it might sort of it might I might not have an exemption and I'll get suspended or demerits which is usual so I called you up and you said I'm exempt until the 11 February per our last conversation at senior records So I did the right thing and follow it up and got into what was it as as we planned um the phone call Oh really anyway you got all the records to tell you I couldn't volunt, you just 11 before the end of theemption the medical exemption the salvation army that you were linked with ended your 15 so that you actually linked to I never got any official there saying anything else and then you said that my exemption would end on the 11th so I should get a job provider in a moment that's why I chose this one I'll I'll tell you what happened anyway just so that you know would you like to know called them up and said no doesn't to do it but didn't tell me about it so I'm a bit confused. Who do I trust workforce Australia or settling who don't even inform me I need to do it mutual obligation what's what's the assurance? Can I get sort of a letter from you guys letter from a reinst on the letter what myirements were one of them was mutual obligation, which is the reason why you said. I' a phone call from Canber. Do you think I should recall's I'll give you so much for your I just thought I'd let you guys know what happened anyway because I do trust you guys you guys will need quite a lot of things in in this sort of social security world right don't you? What do you implement? You implement merits Right. So I and then basically you you administer things like the uh workforce uh website on my correct? What are you guys? I'm very confused about who's who because at the end of the day, you're all all all correspondent goes back to social Social Security., yeah yeah. I was just sort of a bit confused, you know, and considering my mental issues, you know, it doesn't help when I'm not being told what's going on, but then again, I'm used to that so anyway you have a lovely day at all people up Canberra and see what they've got to say luckily they use their real number you so much. Oh, I camera have a camera coolingambra cooling camera was calling me so I called that camera Hannah, how are you? I missed missed. Got a missed call from a minute. I thought oh it's gotta be important that it's coming from Canberra I mean the fact that you actually decided not to use a private number I mean I could call you back must be must be if you out your number00 oh no. How the hell are you? I have no idea who's Griff? Oh you guys represent CRS God God bless yes I just getting my head around you guys's whose that's? I didn't yeah I'm just like I've just a few things I need to ask that's all Are you still working for the same company or are you a new recruit? Are you working for the same outfit in Oland Park or are you a new recruit I just push myself up on the starve to just a moment make sure I get my veggies So yeah, um oh sorry. little gas co exploded. Okay, sorry I'm all years now. How are you? Sure at least two of them do Well, yeah, new material, yeah. No no it's it's a new complaint relating to the same period in the closed complaint email saying that you can't investigate it No no it's totally totally different it'sirmation of the complaint is what period it relates to and if you' referring to any previous materials, we need to consider those but again if then heroes that relates to the previous complaint you can't see the sameaint but that all the emails refer basically I officially made have you read that? you I think we're talking about the wrong complaint here. You better do your homework instead of like putting me on the spot here. You better do your homework What the complaint what complaint are we talking about that you think is not really a complaint because it's closed can we Which are we talked about? Which was that which one was that I sent through? We can go through the list if you want. complaint Hey, could you actually could you actually email me through the information? That'd be great so I can get. Also like um so that was the o was the other one? So so basically so what are the email address did you receive it at look here? What email address did you receive? I mean, what email what was your email? So what you' I can't complain about a period of time with a job provider, even if it's new material, I can't make a complain is that what's what you're saying sort of thing? employment, no, no. Oh yeah. Yeah, no, that's Oh, yeah, so that's the only one you got, is it? That's the only email you got. that's the latest is that the latest one?, sorry, what's your name again? Oh, yeah, yeah, all right. Thanks for that clarification. No way. I did actually send the new complaint that's totally different. And I sent it to I think workforce.com. So you might not have got it. What does it say? It talks about uh what's the what's the subject of that one? Yeah, well that's a new complaint. I mean what yeah it's that's is it'm here shouldn't be looking at as something you Well also problem is also like not having you write email, you know. It's not been updated. It's a mess now can actually make complaints unless they got the new email. Anyway, so yeah, you're saying that this is an old complaint and it's nothing news. that right? Codes? I mean, um Yeah, well, I think I really appreciate that. that's yeah that's fine I totally you. It's pretty tricky because like getting emails to and it's not easy if you've if you that there are different entities and we really are the same so it's good that they actually play with email to anyway. So how's that where are you guys based? How's it all going for you? and do real real investigation or is just going to be like toothless like the last contractor I hope so yeah yeah well that' fantastic I check you guys out and I did check out your privacy records. Hi, I Sue this is Australia yeah I' I'm a union and I'm gay as well and I hold very unconventional views if you better relay that to them, but in all seriousness though you guys come from a background of law, correct? So let's hope that you actually util What happens to the last organization that was doing it and who were they? What was, they were So everything's changed we'll that a bit later on if that's all right it's a little cath. as you, but also the complaints that I made that are close could I actually have access to all of them, please because I've I did get them sent by uh Sabin, but my accounts were a compromised, so I had to delete everything and uh I don't have access to all all my complaints with you guys. What's the possibility of getting them sent through to me of my own reference? to the department of Social Services directly Can you do that for me cause I need to know what's what's happening why my complaints actually doing anything or is it just the mirror go around where it gets filtered by head honcho and where head honcho has his henchmen who are work for head honcho and nothing ever gets done this is why I want all my documents about the compl how good you guys are this is the wheel power should wield. It should be like a real watchdog with real powers, even if it's like half of Africaka we get there, but Africa's not exactly 100% percent toothless. Sorry, uh it's still toothless, but uh it's a little bit sort of it has a bit more powers in terms of accessing internal memos, but just letting you know, I will be accessing all all this information and more through the freedomation Act. So I just thought let you know that anyway. that that is sorry sorry clarify that information from the previous provider, OK let me clarify that information from the previous provider and what interactions I had with AP because I feel there's something quite sinister so I haven't I haven't filed a freedom information act with you guys yet. No sort of clarify that but hopefully it'll come through soon and it'll help with investigations because I'll stonewall the whole time. Have a lovely day, Genevievan. Thanks for the call. God bless bye

/*
 Copyright and licenses see https://www.dynatrace.com/company/trust-center/customers/reports/ */
(function(){function Ka(){var Ca;(Ca=void 0===bb.dialogArguments&&navigator.cookieEnabled)||(document.cookie="__dTCookie=1;SameSite=Lax",Ca=document.cookie.includes("__dTCookie"),Ca=(document.cookie="__dTCookie=1; expires=Thu, 01-Jan-1970 00:00:01 GMT",Ca));return Ca}function Va(){if(Ka()){var Ca=bb.dT_,Ya=null==Ca?void 0:Ca.platformPrefix,Qa;if(Qa=!Ca||Ya){var ya;(Qa=null==Ca?void 0:Ca.minAgentVersion)&&"10313250422105919"<`${Qa}`?Qa=(console.log("[CookiePrefix/initConfig] Min agent version detected, and javascript agent is older - the javascript agent will not be initialized!"),
!1):(Qa=(null===(ya=document.currentScript)||void 0===ya?void 0:ya.getAttribute("data-dtconfig"))||"app=d69908bf2c711897|ssc=1|cors=1|featureHash=ICA7NVfghqrux|uana=aria-label|reportUrl=https://dynatrace.humanservices.gov.au:443/bf/6de8e2e9-6719-45b3-86be-7effcb9f6525|rdnt=1|uxrgce=1|bp=3|cuc=gpalpirq|mel=100000|dpvc=1|md=mdcc1=a.error-message|iub=adobeedge^bs.my^bs.gov^bs.au|ssv=4|lastModification=1751444254252|tp=500,50,0|agentUri=https://dynatrace.humanservices.gov.au:443/jstag/managed/ruxitagent_ICA7NVfghqrux_10313250422105919.js|auto=1|domain=my.gov.au|rid=RID_|rpid=",Qa=Ya&&!Qa.includes(`cuc=${Ya}`)?(console.log(`[CookiePrefix/initConfig] value of platformPrefix [${Ya}] does not match the "cuc" value in the current config - initConfig will not initialize!`),!1):!0)}Qa&&(Ca={cfg:"app=d69908bf2c711897|ssc=1|cors=1|featureHash=ICA7NVfghqrux|uana=aria-label|reportUrl=https://dynatrace.humanservices.gov.au:443/bf/6de8e2e9-6719-45b3-86be-7effcb9f6525|rdnt=1|uxrgce=1|bp=3|cuc=gpalpirq|mel=100000|dpvc=1|md=mdcc1=a.error-message|iub=adobeedge^bs.my^bs.gov^bs.au|ssv=4|lastModification=1751444254252|tp=500,50,0|agentUri=https://dynatrace.humanservices.gov.au:443/jstag/managed/ruxitagent_ICA7NVfghqrux_10313250422105919.js|auto=1|domain=my.gov.au|rid=RID_|rpid=",iCE:Ka,platformCookieOffset:null==
Ca?void 0:Ca.platformCookieOffset},Ya&&(Ca.platformPrefix=Ya),bb.dT_=Ca)}}this.dT_&&dT_.prm&&dT_.prm();var bb="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0;if(!("documentMode"in document)||isNaN(document.documentMode)){let Ca=bb.dT_;!Ca||!Ca.cfg&&Ca.platformPrefix?Va():Ca.gCP||(bb.console.log("Duplicate agent injection detected, turning off redundant initConfig."),Ca.di=1)}})();
(function(){function Ka(g){var q;return function(){if(q)return q;var A,P,R,wa,Za=-1!==Nf?Nf:(null===(P=null===(A=Ea.dT_)||void 0===A?void 0:A.scv)||void 0===P?void 0:P.call(A,"postfix"))||(null===(wa=null===(R=Ea.dT_)||void 0===R?void 0:R.gCP)||void 0===wa?void 0:wa.call(R));A=(A=(Nf=Za,Za))?"".concat(g).concat(A):g;return q=A,A}}function Va(){var g=0;try{g=Math.round(Ea.performance.timeOrigin)}catch(q){}if(0>=g||isNaN(g)||!isFinite(g)){Ed.push({severity:"Warning",type:"ptoi",text:`performance.timeOrigin is invalid, with a value of [${g}]. Falling back to performance.timing.navigationStart`});
g=0;try{g=Ea.performance.timing.navigationStart}catch(q){}g=0>=g||isNaN(g)||!isFinite(g)?ne:g}return fg=g,Ke=bb,fg}function bb(){return fg}function Ca(){return Ke()}function Ya(){var g;let q=0;if(null!==(g=null===Ea||void 0===Ea?void 0:Ea.performance)&&void 0!==g&&g.now)try{q=Math.round(Ea.performance.now())}catch(A){}return 0>=q||isNaN(q)||!isFinite(q)?(new Date).getTime()-Ke():q}function Qa(g,q){if(!q)return"";var A=g+"=";g=q.indexOf(A);if(0>g)return"";for(;0<=g;){if(0===g||" "===q.charAt(g-1)||
";"===q.charAt(g-1))return A=g+A.length,g=q.indexOf(";",g),0<=g?q.substring(A,g):q.substring(A);g=q.indexOf(A,g+A.length)}return""}function ya(g){return Qa(g,document.cookie)}function Ma(){}function La(g,q=[]){var A;if(!g||"object"!=typeof g&&"function"!=typeof g)return!1;let P="number"!=typeof q?q:[],R=null,wa=[];switch("number"==typeof q?q:5){case 1:R="Boolean";break;case 2:R="Number";break;case 3:R="String";break;case 4:R="Function";break;case 5:R="Object";break;case 6:R="Date";wa.push("getTime");
break;case 7:R="Error";wa.push("name","message");break;case 8:R="Element";break;case 9:R="HTMLElement";break;case 10:R="HTMLImageElement";wa.push("complete");break;case 11:R="PerformanceEntry";break;case 12:R="PerformanceTiming";break;case 13:R="PerformanceResourceTiming";break;case 14:R="PerformanceNavigationTiming";break;case 15:R="CSSRule";wa.push("cssText","parentStyleSheet");break;case 16:R="CSSStyleSheet";wa.push("cssRules","insertRule");break;case 17:R="Request";wa.push("url");break;case 18:R=
"Response";wa.push("ok","status","statusText");break;case 19:R="Set";wa.push("add","entries","forEach");break;case 20:R="Map";wa.push("set","entries","forEach");break;case 21:R="Worker";wa.push("addEventListener","postMessage","terminate");break;case 22:R="XMLHttpRequest";wa.push("open","send","setRequestHeader");break;case 23:R="SVGScriptElement";wa.push("ownerSVGElement","type");break;case 24:R="HTMLMetaElement";wa.push("httpEquiv","content","name");break;case 25:R="HTMLHeadElement";break;case 26:R=
"ArrayBuffer";break;case 27:R="ShadowRoot",wa.push("host","mode")}let {Re:Za,cf:Mb}={Re:R,cf:wa};if(!Za)return!1;q=Mb.length?Mb:P;if(!P.length)try{if(Ea[Za]&&g instanceof Ea[Za]||Object.prototype.toString.call(g)==="[object "+Za+"]")return!0;if(g&&g.nodeType&&1===g.nodeType){let Rb=null===(A=g.ownerDocument.defaultView)||void 0===A?void 0:A[Za];if("function"==typeof Rb&&g instanceof Rb)return!0}}catch(Rb){}for(let Rb of q)if("string"!=typeof Rb&&"number"!=typeof Rb&&"symbol"!=typeof Rb||!(Rb in g))return!1;
return!!q.length}function kb(g,q,A,P){"undefined"==typeof P&&(P=za(q,!0));"boolean"==typeof P&&(P=za(q,P));g===Ea?fe&&fe(q,A,P):jf&&La(g,21)?Gh.call(g,q,A,P):g.addEventListener&&(g===Ea.document||g===Ea.document.documentElement?oe.call(g,q,A,P):fe.call(g,q,A,P));P=!1;for(let R=Fd.length;0<=--R;){let wa=Fd[R];if(wa.object===g&&wa.event===q&&wa.Y===A){P=!0;break}}P||Fd.push({object:g,event:q,Y:A})}function cb(g,q,A,P){for(let R=Fd.length;0<=--R;){let wa=Fd[R];if(wa.object===g&&wa.event===q&&wa.Y===
A){Fd.splice(R,1);break}}"undefined"==typeof P&&(P=za(q,!0));"boolean"==typeof P&&(P=za(q,P));g===Ea?kf&&kf(q,A,P):g.removeEventListener&&(g===Ea.document||g===Ea.document.documentElement?Pd.call(g,q,A,P):kf.call(g,q,A,P))}function za(g,q){let A=!1;try{if(fe&&yi.includes(g)){let P=Object.defineProperty({},"passive",{get(){A=!0}});fe("test",Ma,P)}}catch(P){}return A?{passive:!0,capture:q}:q}function na(){let g=Fd;for(let q=g.length;0<=--q;){let A=g[q];cb(A.object,A.event,A.Y)}Fd=[]}function ca(g){return"function"==
typeof g&&/{\s+\[native code]/.test(Function.prototype.toString.call(g))}function va(g,q,...A){return void 0!==Function.prototype.bind&&ca(Function.prototype.bind)?Function.prototype.bind.call(g,q,...A):function(...P){return g.apply(q,(A||[]).concat(Array.prototype.slice.call(arguments)||[]))}}function ea(){if(lf){let g=new lf;if(Kd)for(let q of mf)void 0!==Kd[q]&&(g[q]=va(Kd[q],g));return g}return new Ea.XMLHttpRequest}function aa(){return xc()}function ra(g,q,...A){function P(){delete pe[R];g.apply(this,
arguments)}let R,wa=xg;return"apply"in wa?(A.unshift(P,q),R=wa.apply(Ea,A)):R=wa(P,q),pe[R]=!0,R}function Q(g){delete pe[g];let q=od;"apply"in q?q.call(Ea,g):q(g)}function X(g){ud.push(g)}function N(g){let q=ud.length;for(;q--;)if(ud[q]===g){ud.splice(q,1);break}}function Y(){return ud}function da(g,q){return yg(g,q)}function Sa(g){pd(g)}function sa(g,q){if(!Of||!gg)return"";g=new Of([g],{type:q});return gg(g)}function U(g,q){return hg?new hg(g,q):void 0}function H(g){"function"==typeof g&&Le.push(g)}
function W(){return Le}function T(){return ne}function O(g){function q(...A){if("number"!=typeof A[0]||!pe[A[0]])try{return g.apply(this,A)}catch(P){return g(A[0])}}return q[Me]=g,q}function ma(){return Ed}function xa(){Ke=Va;Ea.performance&&(xc=()=>Math.round(Ke()+Ya()));(!xc||isNaN(xc())||0>=xc()||!isFinite(xc()))&&(xc=()=>(new Date).getTime())}function Ra(){ye&&(Ea.clearTimeout=od,Ea.clearInterval=pd,ye=!1)}function xb(g){g=encodeURIComponent(g);let q=[];if(g)for(let A=0;A<g.length;A++){let P=
g.charAt(A);q.push(Ne[P]||P)}return q.join("")}function Ua(g){return g.includes("^")&&(g=g.split("^^").join("^"),g=g.split("^dq").join('"'),g=g.split("^rb").join(">"),g=g.split("^lb").join("<"),g=g.split("^p").join("|"),g=g.split("^e").join("="),g=g.split("^s").join(";"),g=g.split("^c").join(","),g=g.split("^bs").join("\\")),g}function fb(){return ge}function Fb(g){ge=g}function hc(g){let q=z("rid"),A=z("rpid");q&&(g.rid=q);A&&(g.rpid=A)}function $b(g){if(g=g.xb){g=Ua(g);try{ge=new RegExp(g,"i")}catch(q){}}else ge=
void 0}function Wb(g){return"n"===g||"s"===g||"l"===g?`;SameSite=${zi[g]}`:""}function ja(g,q,A){let P=1,R=0;do document.cookie=g+'=""'+(q?";domain="+q:"")+";path="+A.substring(0,P)+"; expires=Thu, 01 Jan 1970 00:00:01 GMT;",P=A.indexOf("/",P),R++;while(-1!==P&&5>R)}function Da(g,q=document.cookie){return Qa(g,q)}function ec(){let g=(document.domain||location.hostname||"").split(".");return 1>=g.length?[]:g}function $c(g,q){q=`dTValidationCookieValue;path=/;domain=${g}${Wb(q)}`;return document.cookie=
`${ig()}=${q}`,Da(ig())?(ja(ig(),g,"/"),!0):!1}function bc(){var g=Pf.dT_.scv("agentUri");if(!g)return"ruxitagentjs";g=g.substring(g.lastIndexOf("/")+1);return g.includes("_")?g.substring(0,g.indexOf("_")):g}function kc(){return Ea.dT_}function pb(g){Ib("eao")?Oe=g:Ea.console.log(`${jg} App override configuration is not enabled! The provided app config callback method will not be invoked!`)}function Nb(){return navigator.userAgent.includes("Googlebot")||navigator.userAgent.includes("AdsBot-Google")}
function Jb(g){let q=g,A=Math.pow(2,32);return function(){return q=(1664525*q+1013904223)%A,q/A}}function M(g,q){return isNaN(g)||isNaN(q)?Math.floor(33*he()):Math.floor(he()*(q-g+1))+g}function V(g){if(isNaN(g)||0>g)return"";var q=Ea.crypto;if(q&&!Nb())q=q.getRandomValues(new Uint8Array(g));else{q=[];for(var A=0;A<g;A++)q.push(M(0,32))}g=Array(g);for(A=0;A<q.length;A++){let P=Math.abs(q[A]%32);g.push(String.fromCharCode(P+(9>=P?48:55)))}return g.join("")}function Fa(g=!0){Qf=g}function ba(){return qe}
function $a(){let g=Ea.dT_;try{let R=Ea.parent;for(;R&&R!==Ea;){let wa=R.dT_;var q;if(q=!!(wa&&"ea"in wa)&&"10313250422105919"===wa.version){var A=g,P=wa;let Za=!A.bcv("ac")||A.scv("app")===P.scv("app"),Mb=A.scv("postfix"),Rb=P.scv("postfix");q=Za&&Mb===Rb}if(q)return wa.tdto();R=R!==R.parent?R.parent:void 0}}catch(R){}return g}function qb(g,q="",A){var P=g.indexOf("h"),R=g.indexOf("v"),wa=g.indexOf("e");let Za=g.substring(g.indexOf("$")+1,P);P=-1!==R?g.substring(P+1,R):g.substring(P+1);!q&&-1!==
R&&(-1!==wa?q=g.substring(R+1,wa):q=g.substring(R+1));g=null;A||(R=parseInt(Za.split("_")[0]),wa=xc()%yf,A=(wa<R&&(wa+=yf),R+9E5>wa));return A&&(g={frameId:Za,actionId:"-"===P?"-":parseInt(P),visitId:""}),{visitId:q,Dd:g}}function Ha(g,q,A){var P=B("pcl");P=g.length-P;0<P&&g.splice(0,P);P=Ac(Da(qd(),A));let R=[],wa=P?`${P}$`:"";for(Za of g)"-"!==Za.actionId&&R.push(`${wa}${Za.frameId}h${Za.actionId}`);g=R.join("p");var Za=(g||(Qf&&(mc(!0,"a",A),Fa(!1)),g+=`${P}$${qe}h-`),g+=`v${q||J(A)}`,g+="e0",
g);tc(Pe(),Za,void 0,Ib("ssc"))}function Sb(g,q=document.cookie){var A=Da(Pe(),q);q=[];if(A&&"-"!==A){var P=A.split("p");A="";for(let R of P)P=qb(R,A,g),A=P.visitId,P.Dd&&q.push(P.Dd);for(let R of q)R.visitId=A}return q}function Bb(g,q){let A=document.cookie;q=Sb(q,A);let P=!1;for(let R of q)R.frameId===qe&&(R.actionId=g,P=!0);P||q.push({frameId:qe,actionId:g,visitId:""});Ha(q,void 0,A)}function jc(){return Qe}function qc(g,q){try{Ea.localStorage.setItem(g,q)}catch(A){}}function Xb(g){try{Ea.localStorage.removeItem(g)}catch(q){}}
function tb(g){try{return Ea.localStorage.getItem(g)}catch(q){}return null}function y(g,q=document.cookie||""){return q.split(g+"=").length-1}function x(g,q){var A=y(g,q);if(1<A){q=z("domain")||Ea.location.hostname;let P=Ea.location.hostname,R=Ea.location.pathname,wa=0,Za=0;Pc.add(g);do{let Mb=P.substring(wa);if(Mb!==q||"/"!==R){ja(g,Mb===q?"":Mb,R);let Rb=y(g);Rb<A&&(Pc.add(Mb),A=Rb)}wa=P.indexOf(".",wa)+1;Za++}while(0!==wa&&10>Za&&1<A);z("domain")&&1<A&&ja(g,"",R)}}function t(){var g=document.cookie;
x(Pe(),g);x(qd(),g);x(ld(),g);g=Pc.size;0<g&&g!==Gd&&(Gd=g,Ed.push({severity:"Error",type:"dcn",text:`Duplicate cookie name${1!==g?"s":""} detected: ${Array.from(Pc).join(",")}`}))}function F(){Pc=new Set;t();X(function(g,q,A,P){0===Pc.size||q||(g.av(P,"dCN",Array.from(Pc).join(",")),Pc.clear(),Gd=0)})}function J(g){return S(g)||mc(!0,"c",g)}function S(g){if(Jc(g)<=xc())return mc(!0,"t",g);let q=Ga(g);if(q){let A=Re.exec(q);g=A&&3===A.length&&32===A[1].length&&!isNaN(parseInt(A[2]))?(eb(vd(),q),q):
mc(!0,"i",g)}else g=mc(!0,"c",g);return g}function ia(g,q){var A=xc();q=ad(q).nc;g&&(q=A);vc(A+ze+"|"+q);bd()}function ta(g){let q="t"+(xc()-Jc(g));mc(!0,q,g)}function Ga(g){var q,A;return null!==(A=null===(q=Sb(!0,g)[0])||void 0===q?void 0:q.visitId)&&void 0!==A?A:rb(vd())}function lb(){let g=V(Se);try{g=g.replace(/[0-9]/g,function(q){return String.fromCharCode(Math.floor(2.5*parseInt(q)+65))})}catch(q){throw La(q,7),q;}return g+="-0",g}function pc(g,q){let A=Sb(!1,q);Ha(A,g,q);eb(vd(),g);ia(!0)}
function Gc(g,q,A){return mc(g,q,A)}function mc(g,q,A){g&&(wd=!0);g=Ga(A);A=lb();pc(A);if(Ga(document.cookie))for(let P of Qd)P(A,wd,q,g);return A}function Qc(g){Qd.push(g)}function fd(g){g=Qd.indexOf(g);-1!==g&&Qd.splice(g)}function bd(g){re&&Q(re);re=ra(md,Jc(g)-xc())}function md(){let g=document.cookie;return Jc(g)<=xc()?(Aa(ta,[g]),!0):(u(bd),!1)}function vc(g){let q=va(tc,null,ld(),g,void 0,Ib("ssc"));q();let A=Da(ld());""!==A&&g!==A&&(t(),q(),g===Da(ld())||kg||(Ed.push({severity:"Error",type:"dcn",
text:"Could not sanitize cookies"}),kg=!0));eb(ld(),g)}function wc(g,q){q=Da(g,q);return q||(q=rb(g)||""),q}function Rc(){var g=S()||"";eb(vd(),g);g=wc(ld());vc(g);Xb(vd());Xb(ld())}function ad(g){let q={$c:0,nc:0};if(g=wc(ld(),g))try{let A=g.split("|");2===A.length&&(q.$c=parseInt(A[0]),q.nc=parseInt(A[1]))}catch(A){}return q}function Jc(g){g=ad(g);return Math.min(g.$c,g.nc+gd)}function xd(g){ze=g}function Uc(){let g=wd;return wd=!1,g}function I(){md()||ia(!1)}function C(){if(Ib("nsfnv")){var g=
Da(qd());if(!g.includes("_srv_-")){let q=ua(g).serverId;g=g.replace(`${"_srv_"}${q}`,`${"_srv_"}${`${-1*M(2,Te)}`.replace("-","-2D")}`);Kc(g)}}}function ka(){u(function(){if(!Nc()){let g=-1*M(2,Te),q=V(Se);Kc(`v_4${"_srv_"}${`${g}`.replace("-","-2D")}_sn_${q}`)}},!0);Qc(C)}function ua(g){var q;let A={},P={sessionId:"",serverId:"",overloadState:0,appState:A};var R=g.split("_");if(2<R.length&&0===R.length%2){g=+R[1];if(isNaN(g)||3>g)return P;g={};for(var wa=2;wa<R.length;wa++){let Za=R[wa];Za.startsWith(ah)?
A[Za.substring(6).toLowerCase()]=+R[wa+1]:g[Za]=R[wa+1];wa++}g.sn?(R=g.sn,P.sessionId=R.length===Se||12>=R.length?R:""):P.sessionId="hybrid";if(g.srv){a:{R=g.srv.replace("-2D","-");if(!isNaN(+R)&&(wa=parseInt(R),wa>=-Te&&wa<=Te))break a;R=""}P.serverId=R}R=+g.ol;1===R&&Ja(yd());0<=R&&2>=R&&(P.overloadState=R);g=+g.prv;isNaN(g)||(P.privacyState=1>g||4<g?1:g);g=null===(q=z("app"))||void 0===q?void 0:q.toLowerCase();q=A[g];!isNaN(q)&&0===q&&Ja(yd())}return P}function Ja(g){let q=kc();g||(q.disabled=
!0,q.overloadPrevention=!0)}function Pa(){if(Ea.MobileAgent||Ea.dynatraceMobile){let g=ya("dtAdkSettings");return ua(g).privacyState||null}return null}function Aa(g,q){return!ob()||kc().overloadPrevention&&!yd()?null:g.apply(this,q)}function ob(){let g=Pa();return 2===g||1===g?!1:!Ib("coo")||Ib("cooO")||yd()}function Ta(g,q){try{Ea.sessionStorage.setItem(g,q)}catch(A){}}function eb(g,q){Aa(Ta,[g,q])}function rb(g){try{return Ea.sessionStorage.getItem(g)}catch(q){}return null}function Kb(g){try{Ea.sessionStorage.removeItem(g)}catch(q){}}
function zb(g){document.cookie=g+'="";path=/'+(z("domain")?";domain="+z("domain"):"")+"; expires=Thu, 01 Jan 1970 00:00:01 GMT;"}function nc(g,q,A,P){q||0===q?(q=(q+"").replace(/[;\n\r]/g,"_"),g=g+"="+q+";path=/"+(z("domain")?";domain="+z("domain"):""),A&&(g+=";expires="+A.toUTCString()),g+=Wb(z("cssm")),P&&"https:"===location.protocol&&(g+=";Secure"),document.cookie=g):zb(g)}function tc(g,q,A,P){Aa(nc,[g,q,A,P])}function Lc(g){return!!g.includes("v_4")}function Ec(g){g=Da(qd(),g);g||(g=(g=rb(qd()))&&
Lc(g)?(Kc(g),g):"");return Lc(g)?g:""}function Kc(g){tc(qd(),g,void 0,Ib("ssc"))}function rd(g){return(g=g||Ec())?ua(g):{sessionId:"",serverId:"",overloadState:0,appState:{}}}function Ac(g){return rd(g).serverId}function Nc(g){return rd(g).sessionId}function yd(){return navigator.userAgent.includes(lg)}function Vd(g){let q={};g=g.split("|");for(let A of g)g=A.split("="),2===g.length&&(q[g[0]]=decodeURIComponent(g[1].replace(/\+/g," ")));return q}function cd(){let g=bc();return(g.indexOf("dbg")===
g.length-3?g.substring(0,g.length-3):g)+"_"+z("app")+"_Store"}function Cc(g,q={},A){g=g.split("|");for(var P of g){g=P;let R=P.indexOf("="),wa;-1===R?(wa=g,q[wa]="1"):(g=P.substring(0,R),wa=g,q[wa]=P.substring(R+1,P.length))}!A&&(A=q.spc)&&(P=document.createElement("textarea"),P.innerHTML=A,q.spc=P.value);return q}function hd(g){var q;return null!==(q=Yb[g])&&void 0!==q?q:Ue[g]}function Ib(g){g=hd(g);return"false"===g||"0"===g?!1:!!g}function B(g){var q=hd(g);q=parseInt(q);return isNaN(q)&&(q=Ue[g]),
q}function z(g){if("app"===g){a:{try{if(Oe){var q=Oe();if(q&&"string"==typeof q&&zg.test(q)){var A=q;break a}Ea.console.log(`${jg} Registered app config callback method did not return a string in the correct app id format ${zg} The default app ID will be used instead! Got value: ${q}`)}}catch(P){Ea.console.log(`${jg} Failed to execute the registered app config callback method! The default app ID will be used instead!`,P)}A=void 0}if(A)return A}return(hd(g)||"")+""}function D(g,q){Yb[g]=q+""}function oa(g){return Yb=
g,Yb}function Ia(g){let q=Yb[g];q&&(Yb[g]=q.includes("#"+g.toUpperCase())?"":q)}function gb(g){var q=g.agentUri;null!=q&&q.includes("_")&&(q=/([a-zA-Z]*)[0-9]{0,4}_([a-zA-Z_0-9]*)_[0-9]+/g.exec(q))&&q.length&&2<q.length&&(g.featureHash=q[2])}function ib(g){var q=kc().platformCookieOffset;if("number"==typeof q){a:{var A=z("cssm");var P=ec();if(P.length)for(q=P.slice(q);q.length;){if($c(q.join("."),A)){A=q.join(".");break a}q.shift()}A=""}A&&(g.domain=A)}else if(A=g.domain||"",q=(q=location.hostname)&&
A?q===A||q.includes("."+A,q.length-("."+A).length):!0,!A||!q){g.domainOverride||(g.domainOriginal=g.domain||"",g.domainOverride=`${location.hostname},${A}`,delete g.domain);a:{P=z("cssm");let wa=ec().reverse();if(wa.length){var R=wa[0];for(let Za=1;Za<=wa.length;Za++){if($c(R,P)){P=R;break a}let Mb=wa[Za];Mb&&(R=`${Mb}.${R}`)}}P=""}P&&(g.domain=P);q||Ed.push({type:"dpi",severity:"Warning",text:`Configured domain "${A}" is invalid for current location "${location.hostname}". Agent will use "${g.domain}" instead.`})}}
function Ab(g,q){ib(g);let A=Yb.pVO;(A&&(g.pVO=A),q)||(g.bp=(g.bp||Ue.bp)+"")}function Cb(g,q){if(null==g||!g.attributes)return q;let A=q;var P=g.attributes.getNamedItem("data-dtconfig");if(!P)return A;g=g.src;P=P.value;let R={};Yb.legacy="1";var wa=/([a-zA-Z]*)_([a-zA-Z_0-9]*)_([0-9]+)/g;let Za=null;wa=(g&&(Za=wa.exec(g),null!=Za&&Za.length&&(R.agentUri=g,R.featureHash=Za[2],R.agentLocation=g.substring(0,g.indexOf(Za[1])-1),R.buildNumber=Za[3])),P&&Cc(P,R,!0),ib(R),R);if(!q)A=wa;else if(!wa.syntheticConfig)return wa;
return A}function Gb(){return Yb}function m(g){return Ue[g]===hd(g)}function u(g,q=!1){ob()?g():q?Ae.push(g):Be.push(g)}function r(){if(!Ib("coo")||ob())return!1;for(let g of Be)ra(g,0);Be=[];D("cooO",!0);for(let g of Ae)g();return Ae.length=0,!0}function E(){if(!Ib("coo")||!ob())return!1;D("cooO",!1);zb(qd());zb(Pe());zb(Ve());zb("dtAdk");zb(Ic());zb(ld());try{Kb(vd()),Kb(ld()),Xb(vd()),Xb(ld()),Kb(Ic()),Kb(qd()),Xb(cd()),Xb("dtAdk")}catch(g){}return!0}function L(){var g=Da(Ic());if(!g||45!==(null==
g?void 0:g.length))if(g=tb(Ic())||rb(Ic()),45!==(null==g?void 0:g.length)){Ag=!0;let q=xc()+"";g=(q+=V(45-q.length),q)}return fa(g),g}function fa(g){let q;if(Ib("dpvc")||Ib("pVO"))eb(Ic(),g);else{q=new Date;var A=q.getMonth()+Math.min(24,Math.max(1,B("rvcl")));q.setMonth(A);A=Ic();Aa(qc,[A,g])}tc(Ic(),g,q,Ib("ssc"))}function pa(){return Ag}function Na(g){let q=Da(Ic());zb(Ic());Kb(Ic());Xb(Ic());D("pVO",!0);fa(q);g&&Aa(qc,["dt-pVO","1"]);Rc()}function Xa(){Xb("dt-pVO");Ib("pVO")&&(D("pVO",!1),L());
Kb(Ic());Rc()}function hb(g,q,A,P,R,wa){let Za=document.createElement("script");Za.setAttribute("src",g);q&&Za.setAttribute("defer","defer");A&&(Za.onload=A);P&&(Za.onerror=P);R&&Za.setAttribute("id",R);if(g=wa){var Mb;g=null!=(null===(Mb=document.currentScript)||void 0===Mb?void 0:Mb.attributes.getNamedItem("integrity"))}g&&Za.setAttribute("integrity",wa);Za.setAttribute("crossorigin","anonymous");wa=document.getElementsByTagName("script")[0];wa.parentElement.insertBefore(Za,wa)}function ab(g){return Rf+
"/"+Wd+"_"+g+"_"+(B("buildNumber")||kc().version)+".js"}function yb(){}function oc(g,q){return function(){g.apply(q,arguments)}}function Db(g){if(!(this instanceof Db))throw new TypeError("Promises must be constructed via new");if("function"!=typeof g)throw new TypeError("not a function");this.oa=0;this.Sb=!1;this.ra=void 0;this.Da=[];Xd(g,this)}function lc(g,q){for(;3===g.oa;)g=g.ra;0===g.oa?g.Da.push(q):(g.Sb=!0,Db.rb(function(){var A=1===g.oa?q.Kb:q.Lb;if(null===A)(1===g.oa?Wc:yc)(q.promise,g.ra);
else{try{var P=A(g.ra)}catch(R){yc(q.promise,R);return}Wc(q.promise,P)}}))}function Wc(g,q){try{if(q===g)throw new TypeError("A promise cannot be resolved with itself.");if(q&&("object"==typeof q||"function"==typeof q)){var A=q.then;if(q instanceof Db){g.oa=3;g.ra=q;nd(g);return}if("function"==typeof A){Xd(oc(A,q),g);return}}g.oa=1;g.ra=q;nd(g)}catch(P){yc(g,P)}}function yc(g,q){g.oa=2;g.ra=q;nd(g)}function nd(g){2===g.oa&&0===g.Da.length&&Db.rb(function(){g.Sb||Db.Wb(g.ra)});for(var q=0,A=g.Da.length;q<
A;q++)lc(g,g.Da[q]);g.Da=null}function Hd(g,q,A){this.Kb="function"==typeof g?g:null;this.Lb="function"==typeof q?q:null;this.promise=A}function Xd(g,q){var A=!1;try{g(function(P){A||(A=!0,Wc(q,P))},function(P){A||(A=!0,yc(q,P))})}catch(P){A||(A=!0,yc(q,P))}}function Sf(){return Ce.rb=function(g){if("string"==typeof g)throw Error("Promise polyfill called _immediateFn with string");g()},Ce.Wb=()=>{},Ce}function mg(){var g;(g=void 0===Ea.dialogArguments&&navigator.cookieEnabled)||(document.cookie="__dTCookie=1;SameSite=Lax",
g=document.cookie.includes("__dTCookie"),g=(document.cookie="__dTCookie=1; expires=Thu, 01-Jan-1970 00:00:01 GMT",g));return g}function Hh(){var g,q;try{null===(q=null===(g=Ea.MobileAgent)||void 0===g?void 0:g.incrementActionCount)||void 0===q||q.call(g)}catch(A){}}function Ai(){let g=Ea.dT_;Ea.dT_={di:0,version:"10313250422105919",cfg:g?g.cfg:"",iCE:g?mg:function(){return navigator.cookieEnabled},ica:1,disabled:!1,disabledReason:"",overloadPrevention:!1,gAST:T,ww:U,stu:sa,nw:aa,st:ra,si:da,aBPSL:X,
rBPSL:N,gBPSL:Y,aBPSCC:H,gBPSCC:W,buildType:"dynatrace",gSSV:rb,sSSV:eb,rSSV:Kb,rvl:Xb,iVSC:Lc,p3SC:ua,dC:zb,sC:tc,esc:xb,gSId:Ac,gDtc:Nc,gSC:Ec,sSC:Kc,gC:ya,cRN:M,cRS:V,cfgO:Gb,pCfg:Vd,pCSAA:Cc,cFHFAU:gb,sCD:Ab,bcv:Ib,ncv:B,scv:z,stcv:D,rplC:oa,cLSCK:cd,gFId:ba,gBAU:ab,iS:hb,eWE:u,oEIEWA:Aa,eA:r,dA:E,iNV:pa,gVID:L,dPV:Na,ePV:Xa,sVIdUP:Fa,sVTT:xd,sVID:pc,rVID:S,gVI:J,gNVIdN:Gc,gARnVF:Uc,cAUV:I,uVT:ia,aNVL:Qc,rNVL:fd,gPC:Sb,cPC:Bb,sPC:Ha,clB:Ra,ct:Q,aRI:hc,iXB:$b,gXBR:fb,sXBR:Fb,de:Ua,iEC:Hh,rnw:Ya,
gto:Ca,ael:kb,rel:cb,sup:za,cuel:na,iAEPOO:ob,iSM:yd,gxwp:ea,iIO:La,prm:Sf,cI:Sa,gidi:ma,iDCV:m,gCF:Da,gPSMB:Pa,lvl:tb,gCP:null!=g&&g.platformPrefix?function(){return g.platformPrefix||""}:void 0,platformCookieOffset:null==g?void 0:g.platformCookieOffset,tdto:$a,gFLAI:jc,rACC:pb,gAN:bc}}function Ih(){var g;Sf();var q;lf=Ea.XMLHttpRequest;var A=null===(q=Ea.XMLHttpRequest)||void 0===q?void 0:q.prototype;if(A){Kd={};for(let P of mf)void 0!==A[P]&&(Kd[P]=A[P])}fe=Ea.addEventListener;kf=Ea.removeEventListener;
oe=Ea.document.addEventListener;Pd=Ea.document.removeEventListener;xg=Ea.setTimeout;yg=Ea.setInterval;ye||(od=Ea.clearTimeout,pd=Ea.clearInterval);q=mg?mg():navigator.cookieEnabled;A=1===ua(Da("dtAdkSettings")||(null===(g=zf)||void 0===g?void 0:g.getItem("dtAdkSettings"))||"").overloadState;if(q){if(A)return!1}else return!1;return!!("complete"!==document.readyState||Ea.performance&&Ea.performance.timing)}function We(...g){Ea.console.log.apply(Ea.console,g)}this.dT_&&dT_.prm&&dT_.prm();var Pf="undefined"!=
typeof window?window:self,Ea="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0,Nf=-1,Pe=Ka("dtPC"),qd=Ka("dtCookie"),ld=Ka("rxvt"),Ic=Ka("rxVisitor"),ig=Ka("dTValidationCookie"),Ve=Ka("dtSa"),Me=Symbol.for("dt_2");Symbol.for("dt_3");var od,pd,xg,yg,fg,Ke,fe,kf,oe,Pd,jf=Ea.Worker,Gh=jf&&jf.prototype.addEventListener,Fd=[],yi=["touchstart","touchend","scroll"],lf,mf="abort getAllResponseHeaders getResponseHeader open overrideMimeType send setRequestHeader".split(" "),
Kd,hg=Ea.Worker,Of=Ea.Blob,gg=Ea.URL&&Ea.URL.createObjectURL,ye=!1,ud,Le=[],Ed=[],ne,zf,pe={},xc,Ne={"!":"%21","~":"%7E","*":"%2A","(":"%28",")":"%29","'":"%27",ig:"%24",";":"%3B",",":"%2C"},ge,zi={l:"Lax",s:"Strict",n:"None"},Ue,jg="[Dynatrace RUM JavaScript]",zg=/^[a-f0-9]{12,16}$/,Oe,he,Af,Qf=!1,qe,yf=6E8,Qe,Se=32,vd=Ka("rxvisitid"),Pc,Gd=0,Re=/([A-Z]+)-([0-9]+)/,Qd=[],ze,gd,wd=!1,re,kg=!1,Te=32768,ah="app-3A",lg="RuxitSynthetic",bh=/c(\w+)=([^ ]+(?: (?!c?\w+=)[^( c)]+)*)/g,Yb={},Be=[],Ae=[],Ag=
!1,Xe,Rf,Wd,De=setTimeout;Db.prototype.catch=function(g){return this.then(null,g)};Db.prototype.then=function(g,q){var A=new this.constructor(yb);return lc(this,new Hd(g,q,A)),A};Db.prototype.finally=function(g){var q=this.constructor;return this.then(function(A){return q.resolve(g()).then(function(){return A})},function(A){return q.resolve(g()).then(function(){return q.reject(A)})})};Db.all=function(g){return new Db(function(q,A){function P(Mb,Rb){try{if(Rb&&("object"==typeof Rb||"function"==typeof Rb)){var id=
Rb.then;if("function"==typeof id){id.call(Rb,function(zd){P(Mb,zd)},A);return}}R[Mb]=Rb;0===--wa&&q(R)}catch(zd){A(zd)}}if(!g||"undefined"==typeof g.length)return A(new TypeError("Promise.all accepts an array"));var R=Array.prototype.slice.call(g);if(0===R.length)return q([]);for(var wa=R.length,Za=0;Za<R.length;Za++)P(Za,R[Za])})};Db.allSettled=function(g){return new this(function(q,A){function P(Za,Mb){if(Mb&&("object"==typeof Mb||"function"==typeof Mb)){var Rb=Mb.then;if("function"==typeof Rb){Rb.call(Mb,
function(id){P(Za,id)},function(id){R[Za]={status:"rejected",reason:id};0===--wa&&q(R)});return}}R[Za]={status:"fulfilled",value:Mb};0===--wa&&q(R)}if(!g||"undefined"==typeof g.length)return A(new TypeError(typeof g+" "+g+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var R=Array.prototype.slice.call(g);if(0===R.length)return q([]);var wa=R.length;for(A=0;A<R.length;A++)P(A,R[A])})};Db.resolve=function(g){return g&&"object"==typeof g&&g.constructor===Db?g:new Db(function(q){q(g)})};
Db.reject=function(g){return new Db(function(q,A){A(g)})};Db.race=function(g){return new Db(function(q,A){if(!g||"undefined"==typeof g.length)return A(new TypeError("Promise.race accepts an array"));for(var P=0,R=g.length;P<R;P++)Db.resolve(g[P]).then(q,A)})};Db.rb="function"==typeof setImmediate&&function(g){setImmediate(g)}||function(g){De(g,0)};Db.Wb=function(g){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",g)};var Ce=Db;(function(){var g,q,A;if(!("documentMode"in
document)||isNaN(document.documentMode)){var P=!(null!==(g=navigator.userAgent)&&void 0!==g&&g.includes("RuxitSynthetic"));if(!Ea.dT_||!Ea.dT_.cfg||"string"!=typeof Ea.dT_.cfg||"initialized"in Ea.dT_&&Ea.dT_.initialized)null!==(q=Ea.dT_)&&void 0!==q&&q.gCP?We("[CookiePrefix/initCode] initCode with cookie prefix already initialized, not initializing initCode!"):We("InitConfig not found or agent already initialized! This is an injection issue."),Ea.dT_&&(Ea.dT_.di=3);else if(P)try{Ai();Ue={ade:"",aew:!0,
apn:"",agentLocation:"",agentUri:"",app:"",ac:!0,async:!1,ase:!1,auto:!1,bp:3,bs:!1,buildNumber:0,csprv:!0,cepl:16E3,cls:!0,ccNcss:!1,coo:!1,cooO:!1,cssm:"0",cwtDomains:"",cwtUrl:"w2dax4xgw3",cwt:"",cors:!1,cuc:"",cce:!1,cux:!1,postfix:"",dataDtConfig:"",debugName:"",dvl:500,dASXH:!1,disableCookieManager:!1,dKAH:!1,disableLogging:!1,dmo:!1,doel:!1,dpch:!1,dpvc:!1,disableXhrFailures:!1,domain:"",domainOverride:"",domainOriginal:"",doNotDetect:"",ds:!0,dsndb:!1,dsa:!1,dsss:!1,dssv:!0,earxa:!0,eao:!1,
exp:!1,eni:!0,etc:!1,expw:!1,instr:"",evl:"",fa:!1,fvdi:!1,featureHash:"",hvt:216E5,imm:!1,ign:"",iub:"",iqvn:!1,initializedModules:"",lastModification:0,lupr:!0,lab:!1,legacy:!1,lt:!0,mb:"",md:"",mdp:"",mdl:"",mcepsl:100,mdn:5E3,mhl:4E3,mpl:1024,mmds:2E4,msl:3E4,bismepl:2E3,mel:200,mepp:10,moa:30,mrt:3,ntd:!1,nsfnv:!1,ncw:!1,oat:180,ote:!1,owasp:!1,pcl:20,pt:!0,perfbv:1,prfSmpl:0,pVO:!1,peti:!1,raxeh:!0,rdnt:0,nosr:!0,reportUrl:"dynaTraceMonitor",rid:"",ridPath:"",rpid:"",rcdec:12096E5,rtl:0,rtp:2,
rtt:1E3,rtu:200,rvcl:24,sl:100,ssc:!1,svNB:!1,srad:!0,srbbv:1,srbw:!0,srdinitrec:!0,srmr:100,srms:"1,1,,,",srsr:1E5,srtbv:3,srtd:1,srtr:500,srvr:"",srvi:0,srwo:!1,srre:"",srxcss:!0,srxicss:!0,srficros:!0,srmrc:!1,srsdom:!0,srfirrbv:!0,srcss:!0,srmcrl:1,srmcrv:10,st:3E3,spc:"",syntheticConfig:!1,tal:0,tt:100,tvc:3E3,uxdce:!1,uxdcw:1500,uxrgce:!0,uxrgcm:"100,25,300,3;100,25,300,3",uam:!1,uana:"data-dtname,data-dtName",uanpi:0,pui:!1,usrvd:!0,vrt:!1,vcfi:!0,vcsb:!1,vcit:1E3,vct:50,vcx:50,vscl:0,vncm:1,
vrei:"",xb:"",chw:"",xt:0,xhb:""};if(!Ih())throw Error("Error during initCode initialization");try{zf=Ea.localStorage}catch(Hc){}Ed=[];xa();ne=xc();ud=[];pe={};ye||(Ea.clearTimeout=O(od),Ea.clearInterval=O(pd),ye=!0);let Ad=Math.random(),Bg=Math.random();Af=0!==Ad&&0!==Bg&&Ad!==Bg;if(Nb()){var R=performance.getEntriesByType("navigation")[0];if(R){g=0;for(var wa in R){let Hc=+R[wa];!isNaN(Hc)&&isFinite(Hc)&&(g+=Math.abs(Hc))}var Za=Math.floor(1E4*g)}else Za=xc();he=Jb(Za)}else Af?he=Math.random:he=
Jb(xc());qe=ne%yf+"_"+parseInt(M(0,1E3)+"");a:{let Hc=kc().cfg;Yb={reportUrl:"dynaTraceMonitor",initializedModules:"",dataDtConfig:"string"==typeof Hc?Hc:""};kc().cfg=Yb;let ie=Yb.dataDtConfig;ie&&!ie.includes("#CONFIGSTRING")&&(Cc(ie,Yb),Ia("domain"),Ia("auto"),Ia("app"),gb(Yb));let Xc=(Yb.dataDtConfig||"").includes("#CONFIGSTRING")?null:Yb;if(Xc=Cb(document.currentScript,Xc),Xc)for(let Vc in Xc)if(Object.prototype.hasOwnProperty.call(Xc,Vc)){R=Vc;Za=Yb;wa=R;var Mb=Xc[R];"undefined"!=typeof Mb&&
(Za[wa]=Mb)}let Ee=cd();try{let Vc=(Mb=zf)&&Mb.getItem(Ee);if(Vc){let Fe=Vd(Vc),jd=Cc(Fe.config||""),Yd=Yb.lastModification||"0",Cg=parseInt((jd.lastModification||Fe.lastModification||"0").substring(0,13)),Bi="string"==typeof Yd?parseInt(Yd.substring(0,13)):Yd;if(!(Yd&&Cg<Bi)&&(jd.agentUri=jd.agentUri||z("agentUri"),jd.featureHash=Fe.featureHash||z("featureHash"),jd.agentUri&&gb(jd),Ab(jd,!0),$b(jd),hc(jd),Cg>(+Yb.lastModification||0))){let bj=Ib("auto"),je=Ib("legacy");Yb=oa(jd);Yb.auto=bj?"1":"0";
Yb.legacy=je?"1":"0"}}}catch(Vc){}Ab(Yb);try{let Vc=Yb.ign;if(Vc&&(new RegExp(Vc)).test(Ea.location.href)){var Rb=(delete Ea.dT_,!1);break a}}catch(Vc){}if(yd()){{var id=navigator.userAgent;let Fe=id.lastIndexOf(lg);if(-1===Fe)var zd={};else{var Bf=id.substring(Fe).matchAll(bh);if(Bf){id={};for(var Ld of Bf){let [,jd,Yd]=Ld;id[jd]=Yd}zd=id}else zd={}}}Ld=zd;let Vc;for(Vc in Ld)if(Object.prototype.hasOwnProperty.call(Ld,Vc)&&Ld[Vc]){zd=Yb;Bf=Vc;var Ge=Ld[Vc];"undefined"!=typeof Ge&&(zd[Bf]=Ge)}oa(Yb)}var He=
z("cuc"),Zd,sd;let Id=null===(sd=null===(Zd=Ea.dT_)||void 0===Zd?void 0:Zd.gCP)||void 0===sd?void 0:sd.call(Zd);if(He&&Id&&He!==Id)throw Error("platformPrefix and cuc do not match!");Rb=!0}if(!Rb)throw Error("Error during config initialization");F();Xe=kc().disabled;var Md;if(!(Md=z("agentLocation")))a:{let Hc=z("agentUri");if(Hc||document.currentScript){let Xc=Hc||document.currentScript.src;if(Xc){let Ee=Xc.includes("_complete")?2:1,Id=Xc.lastIndexOf("/");for(Rb=0;Rb<Ee&&-1!==Id;Rb++)Xc=Xc.substring(0,
Id),Id=Xc.lastIndexOf("/");Md=Xc;break a}}let ie=location.pathname;Md=ie.substring(0,ie.lastIndexOf("/"))}Rf=Md;if(Wd=bc(),"true"===Da("dtUseDebugAgent")&&!Wd.includes("dbg")&&(Wd=z("debugName")||Wd+"dbg"),!Ib("auto")&&!Ib("legacy")&&!Xe){let Hc=z("agentUri")||ab(z("featureHash"));Ib("async")||"complete"===document.readyState?hb(Hc,Ib("async"),void 0,void 0,"dtjsagent"):(document.write(`<script id="${"dtjsagentdw"}" type="text/javascript" src="${Hc}" crossorigin="anonymous"><\/script>`),document.getElementById("dtjsagentdw")||
hb(Hc,Ib("async"),void 0,void 0,"dtjsagent"))}Da(qd())&&D("cooO",!0);ka();D("pVO",!!tb("dt-pVO"));u(L);ze=18E5;gd=B("hvt")||216E5;let nf=$a();Qe=void 0;nf&&"ea"in nf&&(Qe=nf.gITAID());Aa(Bb,[Qe||1])}catch(Ad){"platformPrefix and cuc do not match!"===Ad.message?(Md=Ea.dT_,Ea.dT_={minAgentVersion:Md.minAgentVersion,platformPrefix:(null===(A=Md.gCP)||void 0===A?void 0:A.call(Md))||Md.platformPrefix,platformCookieOffset:Md.platformCookieOffset},We("[CookiePrefix/initCode] cuc and platformPrefix do not match, disabling agent!")):
(delete Ea.dT_,We("JsAgent initCode initialization failed!",Ad))}}})()})();
(function(){function Ka(){return Ka=Object.assign||function(a){for(var b,f=1,k=arguments.length;f<k;f++){b=arguments[f];for(var n in b)Object.prototype.hasOwnProperty.call(b,n)&&(a[n]=b[n])}return a},Ka.apply(this,arguments)}function Va(a){var b;return function(){if(b)return b;var f,k,n,v,K=-1!==cj?cj:(null===(k=null===(f=jb.dT_)||void 0===f?void 0:f.scv)||void 0===k?void 0:k.call(f,"postfix"))||(null===(v=null===(n=jb.dT_)||void 0===n?void 0:n.gCP)||void 0===v?void 0:v.call(n));f=(f=(cj=K,K))?"".concat(a).concat(f):
a;return b=f,f}}function bb(a){return!!a.interactionId}function Ca(a){a.getEntries().filter(bb).forEach(function(b){Ci=Math.min(Ci,b.interactionId);Cf=(ke=Math.max(ke,b.interactionId))?(ke-Ci)/7+1:0})}function Ya(a){function b(){Ob.takeRecords&&n(Ob.takeRecords())}function f(){Wa=[];Oa=$d?Cf:performance.interactionCount||0}function k(Eb){var cc=Wa[Wa.length-1],ac=ub[Eb.interactionId];if(ac||10>Wa.length||Eb.duration>cc.latency)ac?(ac.entries.push(Eb),ac.latency=Math.max(ac.latency,Eb.duration)):(Eb=
{id:Eb.interactionId,latency:Eb.duration,entries:[Eb]},ub[Eb.id]=Eb,Wa.push(Eb)),Wa.sort(Qa),Wa.splice(10).forEach(function(Rd){delete ub[Rd.id]})}function n(Eb){if(Eb){for(var cc=0,ac=0;ac<Eb.length;ac++)v(Eb[ac])&&cc++;if(0===cc)K||Z.forEach(function(Sc){Sc({entries:[],latency:8,id:-1})});else{la+=cc;var Rd=Wa[Math.min(Wa.length-1,Math.floor((($d?Cf:performance.interactionCount||0)-Oa)/50))];Rd&&(K!==Rd.latency&&Z.forEach(function(Sc){Sc(Rd)}),K=Rd.latency)}}}function v(Eb){if(40>Eb.duration)return!1;
if(-1!==db&&Eb.startTime<db)return!0;(!!Eb.interactionId&&k(Eb),"first-input"===Eb.entryType)&&!Wa.some(function(cc){return cc.entries.some(function(ac){return Eb.duration===ac.duration&&Eb.startTime===ac.startTime})})&&k(Eb);return!0}void 0===a&&(a=40);"interactionCount"in performance||$d||($d=new PerformanceObserver(Ca),$d.observe({type:"event",buffered:!0,durationThreshold:0}));var K=0,Z=[],la=0,Oa=0,db=-1,Wa=[],ub={},Ob=new PerformanceObserver(function(Eb){n(Eb.getEntries())});return Ob.observe({type:"event",
buffered:!0,durationThreshold:a}),"PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&Ob.observe({type:"first-input",buffered:!0}),jb.addEventListener("pageshow",f,!0),{jc:function(){return b(),K},reset:function(Eb){void 0===Eb&&(Eb=-1);Wa=[];ub={};la=K=Oa=0;db=Eb},Jh:function(Eb){Z.push(Eb)},Xh:function(){Z=[];jb.removeEventListener("pageshow",f,!0);Ob.disconnect()},Pe:b,Rg:function(){return la}}}function Qa(a,b){return b.latency-a.latency}function ya(){return"10313250422105919"}
function Ma(a){return!!(a&&"ea"in a)}function La(a,b){let f=!a.bcv("ac")||a.scv("app")===b.scv("app");a=a.scv("postfix");b=b.scv("postfix");return f&&a===b}function kb(){let a=jb.dT_;try{let b=jb.parent;for(;b&&b!==jb;){let f=b.dT_;if(Ma(f)&&"10313250422105919"===f.version&&La(a,f))return f.tdto();b=b!==b.parent?b.parent:void 0}}catch(b){}return a}function cb(a){let b=a.version.startsWith("10279");a.tdto&&!b?(Nd=a.tdto,Di=a.gFLAI):(Nd=kb,a.tdto=Nd,Di=()=>{},a.gFLAI=Di)}function za(a,b=[]){var f=ch||
jb.dT_;f=null!=f&&f.iIO?f.iIO:null;return!(null===f||void 0===f||!f(a,b))}function na(){}function ca(a){return(za(a,9)||va(a))&&("string"==typeof a.textContent||"string"==typeof a.innerText)}function va(a){return a&&a.nodeType&&1===a.nodeType}function ea(a){return a&&"INPUT"===a.nodeName}function aa(a){return a&&"SCRIPT"===a.nodeName}function ra(a){return"function"==typeof a&&/{\s+\[native code]/.test(Function.prototype.toString.call(a))}function Q(){var a=mb.dT_.scv("agentUri");if(!a)return"ruxitagentjs";
a=a.substring(a.lastIndexOf("/")+1);return a.includes("_")?a.substring(0,a.indexOf("_")):a}function X(a,...b){return Dg?Dg(a,b):a.apply(this,b)}function N(a,b,f){return a.splice(b,(f||b)-b+1||a.length)}function Y(){return se}function da(a,b){return Object.prototype.hasOwnProperty.call(a,b)}function Sa(a){if(Object.keys)return Object.keys(a);let b=[];if(a===Object(a))for(let f in a)da(a,f)&&b.push(f);return b}function sa(a,b){a=ae[a];a.includes(b)||a.push(b)}function U(a,b){a=ae[a];b=a.indexOf(b);
-1!==b&&N(a,b)}function H(a){var b=ae[a.kind].slice();let f=[];for(let k of b)(b=k(a))&&f.push(b);return f}function W(){let a=se,b=ya();a!==b&&sa("DEBUG_INFO_REQUESTED",function(){return[{type:"miav",severity:"Warning",text:`Snippet version(${a}) does not match the version of the monitoring code(${b}). Consider updating your code snippet for best compatibility.`}]});sa("DEBUG_INFO_REQUESTED",function(){return[{type:"v",severity:"Info",text:`Snippet version: ${a} ; Monitoring code:${ya()}`}]})}function T(){return ch||
jb.dT_}function O(){return le}function ma(){return td}function xa(){return te}function Ra(){return dd}function xb(a,b){a?a.id===a.Ha()&&(Jh=a):Jh=b?null:Jh}function Ua(){var a=Cd.ya.length;for(--a;0<=a;a--){let b=Cd.ya[a];if(b.oc()&&!b.Ja||b.Ja&&b.Ve())return b}return null}function fb(a){return Cd.actions[a]}function Fb(){return Df}function hc(){let a=document.location;return a?!a.href.startsWith("http"):!0}function $b(){let a=navigator.userAgent||navigator.vendor||jb.opera&&jb.opera.version()||"";
return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substring(0,
4))}function Wb(){return"1"===navigator.doNotTrack||"yes"===navigator.doNotTrack||"1"===navigator.G||"1"===jb.doNotTrack}function ja(){return/(gomezagent|googlebot|adsbot-google|mediapartners-google|bingbot|slurp|duckduckbot|baiduspider|yandexbot|sogou|exabot|facebot|facebookexternalhit|ia_archiver)/i.test(navigator.userAgent)}function Da(){var a=Nd();if(a===T()||!Ma(a)||!a.gITAID)return h=ec,h();a=a.gITAID();return e=a+1,a}function ec(){return e++}function $c(){return h()}function bc(){return w}
function kc(){return G}function pb(a){let b=[];if(a)for(let f=0;f<a.length;f++){let k=a.charAt(f),n=Zb[k];n?b.push(n):b.push(k)}return b.join("")}function Nb(a){if(!a)return"";let b="";for(let f=0;f<a.length;f++){let k=ed[a.charAt(f)+a.charAt(f+1)];k?(b+=k,f++):b+=a.charAt(f)}return b}function Jb(a){return a?Nb(a).replace(/_5F/g,"_").replace(/_25/g,"%").replace(/_7C/g,"|"):""}function M(a){if(!a)return"";a=a.replace(/_/g,"_5F").replace(/%/g,"_25").replace(/\|/g,"_7C");return pb(a)}function V(a){if(!a||
!a.includes("://"))return"";a=a.split("/")[2].split(":")[0].toLowerCase();a:{for(b of dh)if(a.includes(b)){var b=!0;break a}b=!1}return b?"":a}function Fa(a){let b=0;if(a){let f=a.length;for(let k=0;k<f;k++)b=31*b+a.charCodeAt(k),b&=b}return b}function ba(a,b,f){Dg($a,[a,b,f])}function $a(a,b,f){try{jb.sessionStorage.setItem(a,b+"")}catch(k){f||of(a,b+"",void 0,wb("ssc"))}}function qb(a,b,f=!0){let k=!0;try{jb.localStorage[a]=b}catch(n){k=!1,f&&of(a,b,void 0,wb("ssc"))}return k}function Ha(a,b){try{return jb.sessionStorage[a]||
""}catch(f){}return b?"":pf(a)}function Sb(){let a=jb.location;return a?Bb(a.href):"-"}function Bb(a){let b=a.indexOf("#");return 0<=b?a.substring(0,b):a}function jc(a){of("dtUseDebugAgent",a,void 0,wb("ssc"))}function qc(a){of("dt_dbg_console",a,void 0,wb("ssc"))}function Xb(a="TRACE"){of("dt_dbg_logfilter",`level=${a}|featureHash=|fileName=`,void 0,wb("ssc"))}function tb(a){let b=a.match(/:(\d+)/);return b?b[1]:a.startsWith("https")?"443":"80"}function y(a){if(!a)return!1;a=a.trim().toLowerCase();
a.startsWith("//")&&(a=location.protocol+a);var b=location.href.startsWith("http");if(!a.startsWith("http")||!b)return!1;if(location.href.indexOf(location.host)!==a.indexOf(location.host.toLowerCase()))return!0;b=location.port||tb(location.href);return tb(a)!==b}function x(a){try{return(new URL(a,document.baseURI)).href}catch(b){return a}}function t(){try{return jb.location.href}catch(a){}return""}function F(a){if(!a)return"";try{let f,k=x(a);if(!jb.location)return k;let n=jb.location,v=n.origin;
if(!v){if(!n.protocol||!n.host)return k;v=n.protocol+"//"+n.host}k.substring(0,v.length+1).toLowerCase()===(v+"/").toLowerCase()?f=k.substring(v.length):f=k;var b=f}catch(f){b=a,a.startsWith("?")&&(b=jb.location.pathname+a)}return J(b,500)}function J(a,b=100,f=!1,k="..."){return!a||a.length<=b?a:f?k+a.substring(Math.max(0,a.length-b+k.length)):a.substring(0,Math.max(0,b-k.length))+k}function S(a){let b=Lb("sl");return J(a,b)}function ia(a,b,f,k){if(a[k].set){let n=a[k].set(b,f);n&&n.get&&n.get(b)===
f&&(a[k]=n)}else a[k][b]=f}function ta(a,b,f,k){f&&(f=J(f,Lb("mhl")),ia(a,b,f,k))}function Ga(a){return a?a.split("?")[0]:""}function lb(){var a=eh();if(a){var b=a.indexOf("-");a=-1===b?"":a.substring(0,b);if(a){b="";for(let f=0;f+1<a.length;f+=2)b+=a.charCodeAt(f)+a.charCodeAt(f+1)+"";a=Math.floor(Math.abs(1E7*Math.sin(parseInt(b))))}else a=0}else a=!1;return a}function pc(){let a=Eg();return 3===a?!0:4===a?!1:!!Lb("rdnt")&&Wb()}function Gc(a,b,f){if(!a||!b)return[];let k=[];for(let n=0;n<a.length;n+=
b){let v;n+b<=a.length?(v=a.slice(n,n+b),v.endsWith("%")&&a.length>=n+b+1&&(v+=a.charAt(n+b),v+=a.charAt(n+b+1),n+=2),"%"===v.charAt(v.length-2)&&a.length>=n+b+2&&(v+=a.charAt(n+b),n+=1)):v=a.slice(n);k.push(v)}if(f)for(a=k.length,b=0;b<a;b++)k[b]=f.replace(/#index#/,b+1+"").replace(/#total#/,a+"")+k[b];return k}function mc(a){return!1===a?0:"number"==typeof a?2:1}function Qc(a,b=Lb("rtu")){if(!a)return"";var f=Lb("rtp"),k=a;(!f||k.length>b&&2===f)&&(k=Ga(k));a=M(k);if(a.length>b){f=M(V(k));k=k.split("/");
var n=k[k.length-1];k=M(n);if(k!==f){a=f+"/../"+k;let v=a.length-b;if(0<v)if(k.length>v){b=n;a=Math.max(k.length-(v+2),0);k=Math.max(b.length-a,0);for(n=M(b.substring(k,b.length));n.length>a;)k+=Math.ceil((n.length-a)/3),n=M(b.substring(k,b.length));a=f+"/../.."+n}else a=J(f,v,!1,".../")+k}else a=J(a,b,!0)}return a}function fd(a,b){let f=1E3*Lb("oat");return(null!=b?b:me())+f>=a?a:-2}function bd(){return T().disabled&&!T().syn}function md(a){let b=T();b.syn||(b.disabledReason=a,b.disabled=!0)}function vc(a,
b){return pf(a,b)||ue(a)||""}function wc(a){return(a=fb(a))&&a.Xa?a:null}function Rc(a){return(a="number"==typeof a?wc(a):a)?a.getRootReferer():""}function ad(a,b,f){let k=dd;return f&&(k=fb(f)),k?(k.we(a,b),!0):!1}function Jc(){let a=dj(!0);if(0<a.length){let b=[];for(let f of a)f.frameId!==ve()&&b.push(f);Kh(b)}}function xd(a){if(!a)return"";let b=ve()+"h"+a,f=document.cookie,k=pf(qf(),f);return wb("dASXH")&&k&&k.includes(b)&&!hc()?"":Fg()+"$"+ve()+"h"+a+"v"+eh(f)+"e0"}function Uc(a){for(let b=
Ef.length-1;0<=b;b--)if(Ef[b]===a){N(Ef,b);break}}function I(a){if(0<ng||a&&0<Ef.length)if(a=Ef.length,0<a)return Ef[a-1];return 0}function C(a,b){if(ra(Array.prototype.map))return Array.prototype.map.call(a,b);let f=[];for(let k=0;k<a.length;k++)f.push(b(a[k],k,a));return f}function ka(){return C(fh,function(a){return a.message?`Status: ${a.status}, Message: "${a.message}"`:`Status: ${a.status}`})}function ua(a,b){if(ra(Array.prototype.filter))return Array.prototype.filter.call(a,b);let f=[];for(let k=
0;k<a.length;k++){let n=a[k];b(n,k,a)&&f.push(n)}return f}function Ja(a,b=!1){let f=[`i${a.id}`,`k${a.kind}`,`h${+a.hydrated}`];return b&&f.push(`t${+a.trigger}`),f.join(";")}function Pa(a){if(a){let b=document.getElementsByTagName("LABEL"),f=b.length;for(let k=0;k<f;k++){let n=b[k];if(n&&"LABEL"===n.nodeName&&n.htmlFor===a)return Aa(n.innerText,n.textContent)}}return""}function Aa(...a){for(let b of a)if("string"==typeof b&&(a=b.trim()))return a;return""}function ob(a){if(!a||a.startsWith("data:"))return"";
a=a.split("/");return 0<a.length?a[a.length-1].split(".")[0]:""}function Ta(a){if(a&&a.split){var b=a.split("/");if(0<b.length&&(b=b[b.length-1].trim(),null!==b))return b}return a||""}function eb(a){return ca(a)&&a.innerText||a.textContent}function rb(a,b){var f=b.nodeName?b.nodeName.toUpperCase():"unknown",k=va(b)?b.getAttribute("type"):"";k="string"==typeof k?k.toUpperCase():"";var n="";switch(a){case 0:va(b)?(f="",ea(b)&&"HIDDEN"!==k&&(n=!k||"BUTTON"!==k&&"SUBMIT"!==k&&"RESET"!==k&&"IMAGE"!==k?
null:b.value,a=Pa(b.id),!k||"BUTTON"!==k&&"SUBMIT"!==k&&"RESET"!==k?f=Aa(a,n):f=Aa(n,a)),n=(f||(f=Aa(eb(b))),f)):n="";break;case 1:f="";if(ea(b)&&"HIDDEN"!==k||b&&"BUTTON"===b.nodeName)k="IMAGE"===k?b.getAttribute("alt"):null,f=Aa(b.name,b.title,k);n=f;break;case 3:va(b)?(b=b.className,n=za(b,["baseVal","animVal"])?b.baseVal||b.animVal||"":b):n="";break;case 4:b="";n=("INPUT"===f&&"HIDDEN"!==k?b="INPUT: "+k:"A"===f?b="LINK":"-"===Yc&&(b=f,Yc=b),b);break;case 2:f="",(ea(b)&&"IMAGE"===k?f=ob(b.src):
b&&"A"===b.nodeName?f=Aa(b.title,Ta(b.href)):b&&"IMG"===b.nodeName?f=Aa(b.name,b.title,b.alt,ob(b.src)):b&&"FORM"===b.nodeName&&(f=Aa(b.name,b.id,b.action)),f)||(f=Aa(b.title,b.data,b.wholeText,b.id)),n=f}return n}function Kb(a){if(!a)return"";try{var b=a.nodeName?a.nodeName.toUpperCase():"unknown";if("HTML"===b||"BODY"===b||"HEAD"===b||"#DOCUMENT"===b)return Yc;for(b=0;4>=b;b++){let f=rb(b,a);if(f&&f!==Yc)return f}return Kb(a.parentNode)}catch(f){}return""}function zb(a,b){if(!b)return"";let f=b.length;
if(0>=f||20<Gg)return"";for(let k=0;k<f;k++){let n=b[k],v="";if(Gg++,v=zb(a,n.childNodes),v||(Gg--,v=rb(a,n),v))return v}return""}function nc(a){try{let k=a.nodeName?a.nodeName.toUpperCase():"unknown";if("HTML"===k||"BODY"===k||"HEAD"===k||"#DOCUMENT"===k)return"Page: "+rf;if(a&&"SELECT"===a.nodeName){let v=a.nodeName?a.nodeName.toUpperCase():null,K=Pa(a.id);var b=Aa(K,a.name,v),f=null;if(!a.multiple){let Z=a.options&&-1<a.selectedIndex?a.options[a.selectedIndex]:null;Z&&(f=Aa(Z.label,Z.innerText,
Z.textContent))}return f?"["+b+"] to value ["+f+"]":b}if(a&&"TEXTAREA"===a.nodeName){let v=a.nodeName?a.nodeName.toUpperCase():null,K=Pa(a.id);return Aa(K,a.name,v)||a.nodeName}let n=Aa(eb(a));if(n)return n;if(Gg=0,a.childNodes&&0<a.childNodes.length){a:{for(b=0;4>=b;b++){let v=zb(b,[a]);if(v){f=v;break a}}f=""}return f}}catch(k){}return Kb(a)}function tc(){Tf=Fc("uana").split(",");yk=Lb("uanpi")||0}function Lc(){return Uf}function Ec(a){3===a&&(Hg=[]);Uf=a}function Kc(){return Mc}function rd(a){let b=
ua(Jj,function(f){return f.timestamp<=a});return b[b.length-1]||null}function Ac(a){Array.isArray(a)?Hg.push(...a):Hg.push(a)}function Nc(a,b=1/0){var f=b+1;let k="",n="";"string"==typeof a?n=a:"object"==typeof a&&a&&(n=a.toString());a=Fc("spc")+"\t\n\r";for(let v of n)if(!a.includes(v)&&(k+=v,k.length>=f))break;return J(k,b,!1,"...")}function yd(a){let b=sf;try{for(;b;){var f;if(f=a.target&&"string"!=typeof a.target&&a.target!==b.target&&"string"!=typeof b.target)a:{try{let k=a.target.parentNode;
for(;k;){if(k===b.target){f=!0;break a}k=k.parentNode}}catch(k){}f=!1}f&&(a=b);b=b.next}}catch(k){}sf=a}function Vd({id:a,target:b,type:f,ve:k,If:n,url:v,title:K,view:Z}){return{id:a,target:b,name:"",type:f,next:void 0,prev:void 0,info:k||"-",start:dc(),sourceActionCreated:!1,validUntil:dc()+(n||30),url:v||t(),title:K||document.title,guessedName:"",view:Z,getName:function(){if(!this.name){if(wb("uam"))var la={guessedName:"dTMasked_"+(ca(this.target)?this.target.nodeName:"")};else{var Oa=this.target||
"";Yc="-";if("string"==typeof Oa)la={guessedName:Oa};else if(va(Oa)){la=nc(Oa)||Yc;a:{try{for(let Wa=0;Wa<=yk;Wa++){for(let ub of Tf){let Ob=Oa.getAttribute(ub);if(Ob){var db=Ob;break a}}if(Oa.parentElement)Oa=Oa.parentElement;else break}}catch(Wa){}db=""}la={guessedName:la,Ab:db}}else la={guessedName:Yc}}db=Lb("sl");la.guessedName=Nc(la.guessedName,db);la.Ab=Nc(la.Ab,db);this.name=la.Ab||la.guessedName;la.Ab&&(this.guessedName=la.guessedName)}return this.name},isSourceActionCreated:function(){return this.sourceActionCreated},
setSourceActionCreated:function(){let la=this;do la.sourceActionCreated=!0,la=la.next;while(la)}}}function cd(a,b,f,k,n,v,K=Mc){if(ib(Ye))return Ye.bi(a,b,f,k,n,v,K);let Z=Vd({id:zk++,target:a,type:b,ve:f,If:k,url:n,title:v,view:K});try{return Ak&&(Z.next=sf,Z.next&&(Z.next.prev=Z),yd(Z)),Z}finally{Hb(function(){D(Z)},Z.validUntil-dc())}}function Cc(){return ib(Ye)?Ye.gci():sf}function hd(){return ib(Ye)?Ye.gpi():Ff}function Ib(a,b){if(ib(Ye))return Ye.cii(a,b);b=b?hd():Cc();if(!b)return Rl[a];switch(a){case "name":return b.getName();
case "type":return b.type;case "validUntil":return b.validUntil;case "start":return b.start;case "target":return b.target;case "url":return b.url;case "title":return b.title;default:return null}}function B(a){return Ib(a,!0)}function z(a,b){return{timeout:a,url:Ib("url",b),name:Ib("name",b),startTime:Ib("start",b),type:Ib("type",b)||"-",title:Ib("title",b)}}function D(a){if(ib(Ye))Ye.ei(a);else if(sf){let b=sf;for(;b.next&&b!==a;)b=b.next;b===a&&(Ib("name")&&(Ff=sf),b.target=void 0,b.prev&&(b.prev.next=
b.next),b.next&&(b.next.prev=b.prev),b===sf&&(sf=b.next))}}function oa(a=""){return a?(Fc("doNotDetect")?Fc("doNotDetect").split(","):[]).includes(a):!1}function Ia(a,b,f){if(!oa(f)){var k=b||a;Kj[a]=function(n){H({kind:"GLOBAL_EVENT_FIRED",detail:{t:a,e:n}});var v=wb("ote"),K=wb("ase");let Z="boolean"!=typeof n.isTrusted||n.isTrusted,la=n.isRuxitSynthetic;if(K?la:!v||Z){(v=n.target||n.currentTarget||n.srcElement||null)&&v.shadowRoot&&n.composed&&n.bubbles&&"function"==typeof n.composedPath&&(K=n.composedPath())&&
K.length&&(v=K[0]);a:{K=v;if(("KD"===k||"KU"===k)&&ea(K)&&"password"!==K.type)if(n=n.keyCode||n.charCode||n.code,K=+n,wb("uam")&&!isNaN(K)){if(K=String.fromCharCode(K),!("a"<=K&&"z">=K||"A"<=K&&"Z">=K||"0"<=K&&"9">=K)){n+="";break a}}else{n+="";break a}n=""}cd(v,k+n,void 0,30)}};Tc(document,a,Kj[a])}}function gb(a){Ak=a;if(!a){for(a=sf;a;)a.target=void 0,a=a.next;sf=void 0}}function ib(a){return a!==T()&&Ma(a)}function Ab(a){Bk=a}function Cb(a,b){var f;if(b<=Bk)return!1;b=null===(f=dd)||void 0===
f?void 0:f.Db();f=!!b&&a===b.name;b=Jh;if(!b)return!f;a=a===b.name&&(!b.Md||3E3>=dc()-b.start);return!f&&!a}function Gb(a,b){if(!wb("dsa")||!a.startsWith("false")){var f=wb("dssv"),k=wb("dsss"),n=k&&f,v=k&&!f,K=f&&!k;f=!f&&!k;k=b?a+"|"+b:a;var Z=gh();n&&ba(Z,k);v&&(ba(Z,a),of(Z,Vf(b||"-"),void 0,wb("ssc")));K&&(ba(Z,b||"-"),of(Z,Vf(a),void 0,wb("ssc")));f&&of(Z,Vf(k),void 0,wb("ssc"))}}function m(){var a=null;let b=Od[0];if(b){b.Aa(0);b.ld();a=b;for(let f=0;f<b.subActions.length;f++)a=b.subActions[f],
a.Aa(0),a.ld()}return a}function u(a=dc(),b,f,k,n,v){let K=I(!0),Z=dd||m(),la=[];if(!K&&b&&f&&a)la=[!n+"",pb(f),n||"-1",pb(b),pb(k||"-"),a,ve(),M(Sb()),"","",pb(location.hash.substring(1)),pb(v||"")];else if(Z){Z.wb();let Oa=Z.status;Z.status=2;Hb(function(){Z.status=Oa},0);la=["false",pb(Z.type),Z.id,pb(Z.name),pb(Z.info||"-"),Z.start,ve(),M(Sb()),"","",pb(location.hash.substring(1)),pb(Z.guessedName||"")]}return la}function r(a,b=null,f){var k=!1;let n=Nd();if(Ma(n)&&(k=n.iSAC()),!k||n===T()){a&&
(Gb("-"),kl=[]);k=Cc();if(!k){var v=hd();v&&Cb(B("name"),B("start"))&&3E3>=dc()-B("validUntil")&&(k=v)}v=[];k=(k&&!k.isSourceActionCreated()?(k.setSourceActionCreated(),v=u(k.start,k.getName(),k.type,k.info,k.actionId,k.guessedName)):b?v=u(b.start,b.name,b.type,b.info,b.id,b.guessedName):a&&(v=u(f)),v);a=kl;if(1<a.length&&1<k.length&&a[3]===k[3]&&(a[2]=k[2],a[0]=k[0],k=a),k.length){a=Mc;let {name:K,timestamp:Z,group:la}=a;a=[M(K),Z,M(la||""),pb(Ja(a,!0))];Gb(k.join("|"),a.join("|"));kl=k.concat(a);
Ma(n)&&n.sSAC(!0,!0)}}}function E(a,b,f,k,n=!1,v=!1){if(n)fa(a,b,f,k,v);else{try{for(n=0;n<a.length;n++)n in a&&b.call(f,a[n],n,a,()=>{})}catch(Z){var K=Z}if(k)K?k.call(f,a,K):k.call(f,a);else if(K)throw K;}}function L(a,b,f,k=!1,n=!1){return new Ie(function(v,K){E(a,b,f,function(Z,la){la?K(la):v(Z)},k,n)})}function fa(a,b,f,k,n=!1){let v=n?a:Array.prototype.slice.call(a),K=0,Z=!1,la=0,Oa=Wa=>{k&&!Z&&(k.apply(f,Wa?[v,Wa]:[v]),Z=!0)},db=(Wa,ub)=>{if(!Z){var Ob;try{4>b.length&&K++,Wa in ub&&(Ob=b.call(f,
ub[Wa],Wa,ub,function(){K++;K===ub.length&&Oa();for(let cc=la+1;cc<ub.length;cc++)la=cc,pa(function(){db(cc,v)})}))}catch(cc){var Eb=cc;Ob=!1}for(let cc=la+1;cc<ub.length;cc++)la=cc,pa(function(){db(cc,v)});(!1===Ob||Eb)&&Oa(Eb);K===ub.length&&!Z&&Oa()}};for(let Wa=0;Wa<v.length;Wa++)la=Wa,pa(function(){db(Wa,v)});K===v.length&&pa(Oa)}function pa(a){ll||(ll=!0,Hb(function(){ll=!1;let b=Ck;Ck=[];var f=dc();let k=0;for(;k<b.length&&35>dc()-f;)b[k](),k++;for(f=k;f<b.length;f++)pa(b[f])},0));Ck.push(a)}
function Na(a,b){return hh("mcepsl")?Qc(b):Qc(b,Lb("mcepsl"))}function Xa(a,b,f=!1,k){var n;return"tvn"===a||"svn"===a||"tvg"===a||"svg"===a?b:b&&b.length>k?(f&&(null===(n=jb.console)||void 0===n||n.log(`Truncating agent event because the size for property [${a}] exceeds size limit of ${k} characters: [${b.length}]`)),J(b,k,"lcpSel"===a)):b}function hb(a,b){let f=Lb("mcepsl"),k=[];for(let Z of b){b=Z[0];var n=Z[1];a:{var v=b;if(0===Uf)break a;let {name:la,group:Oa,timestamp:db}=Mc;n=la&&n===la&&"tvn"===
v||Oa&&n===Oa&&("tvg"===v||"svg"===v)||db&&n===db+""&&"tvt"===v?"":n}v=Xa;var K=Lj[a];"function"==typeof K&&(v=K);"object"==typeof K&&K[b]&&(v=K[b]);K=J(b,f);(b=v(b,n,!1,Lb("mcepsl")))&&K&&k.push([K,b])}return k}function ab(a,b=1){let f=[b+"",a.id+"","_event_",a.timestamp+"",a.kind+""];a=hb(a.kind,a.Ma);return E(a,function([k,n]){f.push(pb(k));f.push(pb(n))}),f.join("|")}function yb(a,b,f){let k="";var n="";for(let la of a){la.Ad();a=la.cc();if(la.vc(f),k||(k=la.getRootReferer()),n=la.getRootReferer(),
"_load_"===la.type){le=!0;var v=Ei;if(v){n=v;v=[n.id,n.name,n.type,n.info,n.frameId,n.startTime];if(n.isDelayed){var K="";n.anchor&&(K="#"+n.anchor);v.unshift("d");K=pb(n.sourceUrl+K);v.push(K,"")}else v.unshift("s");if(v.push(n.guessedName||""),n.sourceView){let {name:Oa,timestamp:db,group:Wa}=n.sourceView;v.push(Oa);v.push(db);Wa&&v.push(Wa)}v=v.join("|");n=n.sourceUrl;b.push(v);Ei=null}}if(la.parentFrameActionName){v=b;K=v.push;var Z=la.Cc;Z=[0,la.Ed,pb(la.parentFrameActionName),Z].join("|");K.call(v,
Z)}b.push(a)}return{referer:k,sourceUrl:n}}function oc(a,b){let f=ua(Od,function(n){return(n.sd()||a||b)&&!n.Af()}),k=te;if(b){k=[];te=[];for(let n of f)H({kind:2<=n.status?"ACTION_BEACON_FORCED":"ACTION_CLOSED",detail:{a:n.start,s:n.stop,r:n.Ha(),i:n.id,f:!0,t:n.type,x:n.xhrUrl,rt:void 0,xm:n.cb,xe:n.Sa,cs:n.Ba,ce:n.Na,in:n.info}});Cd.ya=[];xb(dd&&null!==dd?dd.Db():null);dd=null}return{qf:f,Le:k}}function Db(a=!1,b=!1){let f=[],{Le:k,qf:n}=oc(b,a),{referer:v,sourceUrl:K}=yb(n,f,a);E(Ig,function(Z){f.push(ab(Z))});
Od=[...k];Ig=[];return{actionsAndEvents:f.join(","),referer:v,sourceUrl:K}}function lc(a,b,f,k){let n=Jg().slice();for(let v of n)try{v(a,b,f,k)}catch(K){}}function Wc(){return Mj}function yc(a){a=pb(a);ml.includes(a)||ml.push(a)}function nd(a){return ml.includes(a)}function Hd(){let a={};try{let b=Lh;for(;b&&b!==jb;){let f=b.dT_;Ma(f)&&f.version!==ya()&&(a[f.version]=1);b=b!==b.parent?b.parent:void 0}}catch(b){}return a}function Xd(){return!ih}function Sf(a,b,f,k){b=Hd();b=ua(Sa(b),mg);Dk.push(...b);
0<b.length&&(b.unshift(ya()),a.av(k,"afv",b.join(",")))}function mg(a){return!Dk.includes(a)}function Hh(){if(Lh&&Lh!==jb){var a=Lh.dT_;Ma(a)&&a.version===ya()&&La(T(),a)&&(Kg=a,a=Kg.tdto(),Ma(a)&&(ih=a))}}function Ai(){try{Hh()}catch(b){}we(Sf);let a=T();ih?(Mj=ih.pageId,a.pageTitle=ih.pageTitle,Nj=Kg.gFId(),Kg.frameCount++):(Mj=ve(),a.pageTitle=document.title);a.pageId=Mj;sa("DEBUG_INFO_REQUESTED",function(){var b=Hd();b=Sa(b);return 0===b.length?null:[{severity:"Error",text:`Version of current agent ${ya()} mismatches with version${1<
b.length?"s":""} ${b.join(", ")} of parent frames. Make sure to use the same version on all frames to secure compatibility!`,type:"mpv"}]})}function Ih(a){return a&&1===a.length?Fc("featureHash").includes(a):!1}function We(a,b,f,k=Pf(a)){let n=jb.dT_,v=!!T().syn;b=b||!v;a=v&&!n.iMod().includes(a);return b&&f&&(k||a)}function Pf(a){let b=jb.dT_;if(b.ism(a)&&!b.iMod().includes(a))return b.iMod(a),!0;b.ism(a)&&(a='Module "'+a+'" already enabled!',T().gCP||jb.console.log("WARNING: "+a));return!1}function Ea(a){let b=
Wf.initializedModules||"";return a&&(b+=a),Wf.initializedModules=b,b}function Nf(a,b=ya()){var f=Fc("agentUri");f=f.substring(0,f.lastIndexOf("/"));let k=Bc();return"true"===Gf("dtUseDebugAgent")&&jb.dT_debugger&&!k.includes("dbg")&&(k=Fc("debugName")||k+"dbg"),`${f}/${k}_${a}_${b}.js`}function Pe(a){return Wf[a]}function qd(a,b){Wf[a]=b+"";H({kind:"CONFIG_UPDATE",detail:Wf})}function ld(a){for(let b of am)b(a)}function Ic({ef:a,Hc:b,Be:f}){return f||a&&"sendBeacon"in navigator&&!wb("dsndb")&&!b?
nl:Df.ff?Sl:bm}function ig(){return Mh}function Ve(a,b,f,k,n,v){Lg=!1;a=k||Mh.I(a,b,f);return a.beacon?fg(!!f,a,n,v):0}function Me(a,b,f,k,n,v){let K=be(vc("dtAdkSettings")).overloadState;Qb=K;return 1===K?0:2!==K?Ve(a,b,f,k,n,v)||0:(f||Hb(function(){Me(a,b,f,k,n,v)},5E3),0)}function od(a,b){let f=document.cookie;var k=Sd(f);let n=Fc("cuc");if(pd(b,"sn",encodeURIComponent(k)),pd(b,"latency","0"),pd(b,"flavor",wb("cors")?"cors":"post"),void 0===b.crc){var v;k=a.isBinary?a.toRawBeaconData():a.toStringBeaconData();
"string"==typeof k?v=(new TextEncoder).encode(k):v=k;k=-1;for(var K=0;K<v.length;)k=k>>>8^ol[(k^v[K++])&255];v=(k^-1)>>>0;-1!==v&&(b.crc=v)}pd(b,"vi",encodeURIComponent(a.getParam("vi")||eh()));pd(b,"bp",3);pd(b,"v",Nh);pd(b,"app",encodeURIComponent(Fc("app")));pd(b,"type","js3");pd(b,"dtAdk",encodeURIComponent(vc("dtAdk",f)));pd(b,"contentType","");pd(b,"modifiedSince",Lb("lastModification"));pd(b,"svrid",Fg());n&&(b.en=n);b.contentType&&"srRs"===b.contentType&&pd(b,"msl",Lb("msl"));b.end=1}function pd(a,
b,f){void 0===a[b]&&(a[b]=f)}function xg(a){let b="type sn svrid flavor vi contentType modifiedSince".split(" ");return wb("owasp")||b.push("rf"),wb("cors")&&b.push("dtAdk"),b.push("bp"),Fc("app")&&b.push("app"),a.contentType&&b.push("v"),"event"===a.contentType&&b.push("st"),-1!==a.crc&&b.push("crc"),Fc("cuc")&&b.push("en"),"srRs"===a.contentType&&b.push("msl"),b.push("end"),b}function yg(a,b){od(a,b);var f=xg(b);a=Fc("reportUrl");f=C(ua(f,function(k){return!!b[k]}),function(k){return`${k}=${b[k]}`}).join("&");
return f&&(a+="?"+f),a}function fg(a,b,f=!1,k={contentType:""}){if(bd()||!b.beacon)return 0;let n=b.beacon,v=b.referrer||t();Ke(k,v,n);b=oe(n);if(!b.length)return 0;let K=Ic({Be:wb("svNB"),ef:a,Hc:f}),Z=yg(n,k);return E(C(C(b,function(la,Oa,db){return{path:Z,referer:v,beacon:n,Yb:la,Ce:Oa,De:db.length,Hc:f}}),function(la){return new K(la)}),fe),2}function Ke(a,b,f){b=encodeURIComponent(b||"");pd(a,"rf",Gc(b,Lb("mhl"))[0]);wb("owasp")&&Mh.av(f,"rf",b);Mh.av(f,"time",dc())}function fe(a){return!!X(kf,
a)}function kf(a){a.send().catch(function(){})}function oe(a){if(a.rawData)return[a.toRawBeaconData()];a=a.toStringBeaconData();var b=T().syn?145E3:Lb("msl")-40;var f=a.length;b=0===f%b?Math.floor(f/b):Math.floor(f/b)+1;if(!(1<b))return[a];if(1>b||20<b)return[];b=T().syn?145E3:Lb("msl")-40;f="sid="+dc()+"&p#index#_#total#=";return Gc(a,b,f)}function Pd(a){Lg?"number"!=typeof a?jf():dc()+a<Mg&&jf(a):jf(a)}function jf(a){Dc(pl);"number"==typeof a?(Mg=dc()+(a||0),pl=Hb(Me,a),Lg=!0):Me()}function Gh(a,
b){return Me(a,b,!1)}function Fd(a){Jg().push(function(b,f,k,n){a(n,f,k,n.beaconTriggered)})}function yi(){let a=ka(),b=[];for(let f=0;f<a.length;f++)b.push({severity:"Error",type:"be",text:`Beacon sending failure instance ${f+1} of ${a.length}: ${a[f]}`});return 100===a.length&&b.push({severity:"Error",type:"be",text:"Beacon sending failures exceeded limit of 100 errors!"}),b}function lf(){Nh=parseInt(ya());Mh=new Xf;Ek=0;Oh(function(a,b,f){f&&(10>ha.length?ha.push(f):(a=ha[10])?ha[10]=+a+1+"":ha.push("1"))});
Qb=be(vc("dtAdkSettings")).overloadState;sa("DEBUG_INFO_REQUESTED",yi)}function mf(){let a=!1,b=[],f=te;for(let k of f)k.Nb&&0<k.Nb&&(k.Ra&&dc()>k.Ra&&(k.Ra+=6E4,b.push(k)),a=!0);0<b.length&&Me(!0,!0);for(let k of b)k.Nb&&k.Nb--;a&&Hb(mf,1E3)}function Kd(a,b,f){let k=dd;k!==a&&(k&&!f&&xb(k),(dd=a)?X(jh,a.id,b):Jc())}function hg(a){var b;Ng=null;let f=(null===(b=null===Kg||void 0===Kg?void 0:Kg.gca)||void 0===b?void 0:b.call(Kg))||[];(Ng=f[f.length-1])&&(a.Ed=Ng.id,a.parentFrameActionName=Ng.name,
Ng.childFrameActions?Ng.childFrameActions++:Ng.childFrameActions=1)}function Of(){let a=be(vc("dtAdkSettings")).overloadState;var b;if(b=Qb!==a)Qb=a,b=0!==a;if(b)for(let f of te)f.uc()}function gg(){var a=[];for(var b=Cd.ya.length-1;0<=b;b--)if(Cd.ya[b].sd()){var f=N(Cd.ya,b);a=a.concat(f)}b=!1;Of();f=te;for(let n=f.length-1;0<=n;n--){let v=f[n];if(v.Bf){N(f,n);continue}var k=a.includes(v);let K=Ng;k?(N(f,n),b=!0):K&&(k=Kg.gca(),Lh&&k[k.length-1]===K?v.Cc="S":v.Cc="A",Ng=null)}b&&Pd()}function ye(){"hidden"===
document.visibilityState?(Fi="1",ud()):Fi="0"}function ud(){H({kind:"VISIBILITY_CHANGED",detail:Fi})}function Le(a,b,f){if(ra(Array.prototype.reduce))return Array.prototype.reduce.call(a,b,f);var k="undefined"!=typeof f;f=k?f:a[0];if("undefined"==typeof f)throw new TypeError("Reduce of empty array with no initial value");for(k=k?0:1;k<a.length;k++)f=b(f,a[k],k,a);return f}function Ed(a,b,f,k){let n=me()+Math.round(f.startTime),v=n-a;n>=a&&n<=b&&0<=v&&(null==k.gb||v<k.wc)&&(k.gb=f,k.wc=v)}function ne(a,
b,f,k){return Le(a,function(n,v){if("rtRequestId"in v)return n;let K=v.responseStatus;return k&&K&&k!==K||Ed(b,f,v,n),n},{gb:null,wc:Number.MAX_VALUE}).gb}function zf(a,b){return ua(a,function(f){return f.initiatorType===b})}function pe(a,b){return ua(a,function(f){f=f.responseStatus;return!f||f===b})}function xc(a,b,f,k,n){try{if(!(a&&performance&&performance.getEntriesByName))return null;let v=x(a);v.startsWith("/")?v=location.protocol+"//"+location.host+v:v.startsWith("http")||(v=location.href.substring(0,
location.href.lastIndexOf("/")+1)+v);let K=performance.getEntriesByName(v);if(b&&(K=zf(K,b)),n&&(K=pe(K,n)),K.length)return f?ne(K,f,k||Number.MAX_VALUE,n):K[K.length-1];K=performance.getEntriesByType("resource");b&&(K=zf(K,b));n&&(K=pe(K,n));v.includes("?")||(v+="?");let Z={gb:null,wc:Number.MAX_VALUE};for(let la=K.length-1;0<=la;la--){let Oa=K[la];if(0===Oa.name.lastIndexOf(v,0))if(f)Ed(f,k||Number.MAX_VALUE,Oa,Z);else return Oa}return Z.gb}catch(v){return null}}function Ne(a){return cm&&za(a,13)&&
"navigation"!==a.entryType||za(a,["_dtCl"])}function ge(a){return dm&&za(a,14)||za(a,["entryType","requestStart"])&&"navigation"===a.entryType}function zi(a){Ze++;(a=fb(a.detail.i))&&!a.sourceView&&(a.sourceView=Mc)}function Ue(a){Ze--;(a=fb(a.detail.i))&&(a.Gf=rd(a.stop)||Mc);1>Ze&&(Jj=[])}function jg(a,b,f){let k=b[Og[a]];b=b.startTime;if(k)if("yK".includes(a))f.push(a,k);else if("T"===a)"number"==typeof k&&0>k&&0===k%1&&f.push(a,k);else{var n=+k>=b;"j"===a&&Pg(k,2)&&Math.abs(k-b)<ql&&(n=!1);var v=
k;"uvwxACDEFNOPQRSTUX".includes(a)?n=0<=+k:"number"==typeof k?v=Math.round(k-b):v=k;n&&f.push(a,v)}}function zg(a,b,f){if(b=b[$e[a]]){var k=0<=b;"j"===a&&0===b&&(k=!1);k&&f.push(a,Math.round(b))}}function Oe(a,b,f){(b=b[Gi[a]])&&f.push(a,b)}function he(a,b){let f=a.serverTiming;a={};for(var k of em)a[k]="";if(f){for(let n of f)n.description&&!isNaN(+n.description)&&(k=n.name,k in a&&!a[k]&&(a[k]=n.description));a.dtRequestID&&(b.push("C"),b.push(a.dtRequestID));a.dtRpid&&(b.push("M"),b.push(a.dtRpid));
a.dtSInfo&&(b.push("V"),b.push(a.dtSInfo));a.dtTao&&(b.push("W"),b.push(a.dtTao))}}function Af(a,b,f,k){a=Sa(a);for(let n of a)f(n,b,k)}function Qf(){if(!window.performance)return[];let a=null;var b=-1;let f=me();return("getEntriesByType"in performance&&(a=performance.getEntriesByType("navigation")[0],a&&a.type&&(b=fm[a.type])),(!a||!("responseEnd"in a))&&(a=performance.timing),-1===b&&(b=performance.navigation.type),(!T().googleBot||T().syn)&&0<f)?(b=["a",b,"b",Math.round(f)],qe(a,b,f),b):[]}function qe(a,
b,f){if(Hi&&za(a,12)||za(a,["navigationStart"])&&!("entryType"in a))for(var k in af){if(da(af,k)){var n=k,v=a[af[n]];if(v){var K=v>=f;"j"===k&&v===f&&(K=!1);K&&b.push(n,Math.round(v-f))}}}else f=T(),k=f.gFU?f.gFU():{},Ne(a)?(Af(Og,a,jg,b),f=b.push,v=[],Ne(a)?("xmlhttprequest"===a.initiatorType||"fetch"===a.initiatorType?(K="1",Ph[a.name]&&(K="11",delete Ph[a.name]),v.push("z",K)):Ph[a.name]&&(v.push("z","01"),delete Ph[a.name]),K="","frame"===a.initiatorType?K="f":"iframe"===a.initiatorType||"subdocument"===
a.initiatorType?isNaN(k[a.name])?K="i":K="i"+k[a.name]:0<=(a.frameId||-1)&&(K="r"+a.frameId),K&&v.push("B",K)):Ph[a.name]&&(v.push("z","01"),delete Ph[a.name]),f.call(b,...v),b.push("I",null!==(n=gm[a.initiatorType])&&void 0!==n?n:0),he(a,b)):ge(a)?(Af($e,a,zg,b),he(a,b)):Af(Gi,a,Oe,b)}function yf(){wb("ntd")||we(function(a,b,f,k){b||Tl||!a.hla(k)||(Tl=!0,b=rl||Qf(),a.av(k,"nt",b.join("")||"0",!0),rl=void 0)})}function Qe(a){var b;if(!a)return null;let f=null===(b=a.getEntriesByType)||void 0===b?
void 0:b.call(a,"navigation")[0];return ge(f)||(f=a.timing),f}function Se(a,b=!1){if(!a)return null;let f=-1,k=Pc(a);for(let n of Ul)if(f=vd(a,n,b)||-1,0<f&&f!==k)return Math.round(f);return null}function vd(a,b,f=!1){let k=Qe(a);if(!k)return null;b=k[b];if("number"!=typeof b||0===b)return null;a=Pc(a);return ge(k)?f&&(b+=a):f||(b-=a),Math.round(b)}function Pc(a){var b;return Math.round(a.timeOrigin||(null===(b=a.timing)||void 0===b?void 0:b.navigationStart)||-1)}function Gd(){dc();H({kind:"INSTRUMENTATION_TRIGGERED",
detail:void 0})}function Re(a){var b=te;hg(a);b.push(a);b=dd;b!==a&&(xb(b),dd=a);Od.push(a);Hb(mf,5E3)}function Qd({type:a,name:b,start:f,stop:k,domNodes:n,info:v,xhrUrl:K,Kc:Z,sourceUrl:la="",hb:Oa=!1,isCustomAction:db=!1,Xa:Wa=!1,Td:ub=-1,guessedName:Ob="",sourceView:Eb,tc:cc,id:ac}){a=new hm(f,k||f,a,b,v||"",n||-1,ze(la),document.title,K||"",db,Wa,Oa,Z,ub,Ob,im,Eb,cc,ac);Of();a.oc()&&Cd.ya.push(a);Cd.actions[a.id]=a;return X(Qh),a}function ze(a){if(a){let b=document.createElement("a");if(b.href=
a,"file:"===b.protocol||"about:"===b.protocol||b.hostname)return b.href;let f=(k,n,v,K)=>{k.av(K,"rfi",1,!1);kh(f)};we(f)}return location.href}function gd(a){var b;a.start||(a.start=dc());let f=Qd(a);f.qa=Hb(function(){if(f&&(3!==f.status||f.qc())){var n=f.start+1E3*Lb("oat");wd(f.id,n,void 0,!0)}},1E3*Lb("oat"));let k=null;switch(mc(a.wa)){case 1:k=dd;break;case 2:if(k=fb(a.wa),!k&&"_load_"===a.type)return f}if(H({kind:"ACTION_ENTERED",detail:{i:f.id,a:a.start,s:0,x:a.xhrUrl,r:k?k.Ha():f.id,t:f.type,
e:null===(b=Cc())||void 0===b?void 0:b.target,rt:void 0,xm:f.cb,xe:f.Sa,cs:f.Ba,ce:f.Na,in:f.info}}),"undefined"==typeof a.Td&&Kd(f,!1,!!k),k){k=k.Db();k.Tc(f);a=te;for(let n of a)n.Ra&&n.Ra>f.start+1E4&&(n.Ra=f.start+1E4)}else Re(f.Qe()),tf();return f}function wd(a,b,f,k=!1){a=fb(a);var n=T();!b&&a&&"_load_"===a.name&&"_load_"===a.type&&n.gLVD&&((k=vd(jb.performance,"loadEventEnd"))?(b=n.gVCP(),k=Math.max(b,k)+me()):k=dc(),b=k,k=!0);n="number"==typeof b&&(null==a?void 0:a.isCustomAction);b=b||dc();
a&&(H({kind:"ACTION_LEFT",detail:{i:a.id,a:f||a.start,s:b,r:a.Ha()}}),a.$b(b,f,n,k),gg());Kd(Ua(),!0)}function re(a,b,f){let k=dd;return"undefined"!=typeof b&&null!==b&&(k=fb(b)),k?(k.Tc(a,f),!1):(hg(a),Od.push(a),!0)}function kg(a,b,f,k,n,v,K,Z){"undefined"==typeof k?k=!0:null===k&&(k=!1);a={name:S(a),type:b,start:f,wa:k,info:n||"",xhrUrl:v||"",isCustomAction:!!K};return Z&&(a.sourceUrl=Z),gd(a).id}function Te(a,b,f){Gd();wd(a,b,f)}function ah(a,b,f,k){a=Qd({type:a,name:J(b+"="+f,Lb("mpl")),start:dc(),
hb:!0});re(a,k);Pd()}function lg(a){let b=Cd.ya.slice();for(let f of b)wd(f.id,a);return b.length}function bh(a){for(let b of bf)if(b.actionId===a)return!0;return!1}function Yb(a){if(null==a?0:a.startsWith("data:"))return!0;let b=Ub();return!(null==b||!b.exec||!a||!b.exec(a)&&!b.exec(x(a)))}function Be(a,b=3,f="",k=!1,n,v=!1,K=!1){if(f&&Yb(f))return 0;let Z=F(f);var la=Cc();let Oa=a||"-";var db=I(!1);if(qa){if(db&&!fb(db))return 0;p=!0}la&&(la.info="-"===la.info?Oa:la.info+", "+Oa);!db&&null!=la&&
la.actionId&&(db=la.actionId);f=x(f);Ph[f]=!0;a={name:a,type:"xhr",start:dc(),info:Oa,xhrUrl:Z,isCustomAction:k,Kc:n,tc:K};db?(b=0,db=(v||(a.wa=db,b=Ag(a)),b)):la?(v=0,db=(3<=b&&(v=Ae(Object.assign(Object.assign({},a),{name:la.getName(),type:la.type,start:la.start,info:la.info,sourceUrl:la.url,wa:!1,guessedName:la.guessedName||"",sourceView:la.view})),la.actionId=v,la.isSourceActionCreated()&&r(!0,fb(v))),v)):((db=dd)?(la=0,b=(1<=b&&!v&&(la=Ag(Object.assign(Object.assign({},a),{wa:db.id}))),la)):
b=wb("cux")?Ae(Object.assign(Object.assign({},a),{name:"Unlinked XHR",type:"xhr",wa:!1})):0,db=b);return db}function Ae(a){var b;a:{let {Kc:f,info:k,xhrUrl:n}=a;if(f&&bf.length)for(b=bf.length-1;0<=b;b--){let v=bf[b],K=v.actionId,Z=wc(K);if(Z&&k&&!k.startsWith(v.featureHash)&&Ga(Z.xhrUrl||"")===v.xhrUrl&&v.xhrUrl===Ga(n||"")){b=K;break a}}b=0}return b||(a.Xa=!0,gd(a).id)}function Ag(a){let {wa:b}=a,f=null;return"number"==typeof b&&(f=wc(b)),a.wa=f?f.id:!0,Ae(a)}function Xe(a,b=dc(),f,k=na){let n=
wc(a);return n?(n.vd(),Hb(function(){Rf(a,b,f);k()},0)):-1}function Rf(a,b=dc(),f){let k=wc(a);!k||f&&!k.info.includes(f)&&k.name!==f||(k.vd(),Hb(function(){p||wc(a)&&wd(a,b)},Rh),Gd())}function Wd(a,b){if(a){var f=wc(a);f&&(f.zc++,f.Ba||b&&4!==b||f.zf(dc()),Ef.push(a),ng++)}}function De(a){if(a){var b=wc(a);b&&(b.yf(dc()),b.zc--,ng--,Hb(function(){Uc(a)},0))}}function Ce(a,b,f){if("number"!=typeof a||isNaN(a)||0>a)return!1;0===a&&(a=971,b="XHR Canceled");b&&(b+="");return(f=fb(f)||dd)&&-1===f.Sa&&
f.Xa?(f.Sa=a,b&&0<b.length&&(f.cb=b),!0):!1}function g(){return!wb("disableXhrFailures")}function q(a){return(a=fb(a))&&a.Xa?[a.Ba,a.Na]:[0,0]}function A(a,b){var f=wc(a);if(f){let k=f.xhrUrl;f.Od(b);f=bf;for(let n of f)n.actionId===a&&n.xhrUrl===Ga(k)&&(n.xhrUrl=Ga(b))}}function P(a){return(a=wc(a))?a.xhrUrl:""}function R(a,b){(a=wc(a))&&a.vf(b)}function wa(a,b,f,k="headers",n){a=a||{};b=b||a.url;a[k]=a[k]||{};f=f||a.actionId;var v;if(!(v=!a[k]||!ej())){if(v=!(null==b?0:b.startsWith("data:")))v=
!(Ii&&b&&(Ii.test(b)||Ii.test(x(b))));v=!v}if(v)return a;var K=!(!Sh||!b||!Sh.test(b)&&!Sh.test(x(b)));let Z="";v=Rc(f);if(K){Z=xd(f);K=a;var la=Z,Oa=[];let db=Sd(),Wa=Fg(db).replace("-","-2D");Oa.push(`sn="v_4_srv_${Wa}_sn_${fj(db)}"`);la&&Oa.push(`pc="${la}"`);Oa.push(`v="${Td()}"`);Oa.push(`app="${Fc("app")}"`);(la=vc("dtAdk"))&&Oa.push(`adk="${la}"`);Oa=Oa.join(", ");la=Lb("mhl")-Oa.length-6;Oa+=`, r="${J(Bb(v),Math.max(la,0))}"`;ia(K,"x-dtc",Oa,k)}if(y(b))return a;n&&ia(a,"traceparent",`00-${n.traceId}-${n.spanId}-00`,
k);n=wb("dpch");f&&(n||(K=a,(f=Z||xd(f))&&(ta(K,"x-dtpc",f,k),hc()&&(ta(K,"x-dtreferer",Bb(t()),k),ta(K,"x-host",V(b),k)))),v&&v!==t()&&ta(a,"x-dtreferer",Bb(v),k));return Yb(b)&&!n&&ta(a,"x-dtpc","ignore",k),a}function Za(a){a=lh(a);if(!a)return null;try{return new RegExp(a,"i")}catch(b){}return null}function Mb(){Sh=Za(Fc("chw"));Ii=Za(Fc("xhb"));sa("CONFIG_UPDATE",function(){Sh=Za(Fc("chw"));Ii=Za(Fc("xhb"))})}function Rb(){let a=dd;return a?a.name:""}function id(a){let b=Cd.ya;for(let f of b)f.Ud=
a.detail}function zd(a){var b;return null===(b=fb(a))||void 0===b?void 0:b.ye()}function Bf(){var a=document;let b=a.documentElement;var f=0,k=0;let n=a.body;if("number"==typeof self.innerWidth?(f=self.innerWidth,k=self.innerHeight):a&&(b.clientWidth||b.clientHeight)?(f=b.clientWidth,k=b.clientHeight):n&&(n.clientWidth||n.clientHeight)&&(f=n.clientWidth,k=n.clientHeight),0>f||0>k)a={height:0,width:0},a=(a.height=10,Df.ie?a.width=140:a.width=10,a),f=Math.max(f,a.width),k=Math.max(k,a.height);T().bwsW=
f;T().bwsH=k}function Ld(){let a=T();sa("LOAD_END",Bf);we(function(b,f,k,n){if(!f){f=function(Z){return 0>Z||2147483647<=Z||isNaN(Z)?0:Z};var v=a.bwsW;k=a.bwsH;var K=Nd();Ma(K)&&(v=K.bwsW,k=K.bwsH);0>=v&&(Bf(),v=a.bwsW,k=a.bwsH);v=f(v);K=f(k);k={width:0,height:0};b.av(n,"w",v);b.av(n,"h",K);(v=jb.screen)&&(k={width:f(v.width),height:f(v.height)},b.av(n,"sw",k.width),b.av(n,"sh",k.height))}})}function Ge(){var a=0;let b=0,f=0,k="Info",n=[];if(wb("coo")&&wb("cooO")?(a++,n.push({severity:"Info",text:"Opt-in mode is active, but dtrum.enable() has been called.",
type:"cooeaoa"})):wb("coo")&&(k="Warning",b++,n.push({severity:"Warning",text:"Opt-in mode is active. Call dtrum.enable() to start collecting data.",type:"cooe"})),bd()){b++;k="Warning";var v=T().disabledReason,K=`Agent for application '${Fc("app")}' is currently disabled because of `;n.push({severity:"Warning",text:`${K}${v||"a missing RUM License or RUM was disabled for this application"}.`,type:"jsad"})}wb("dsss")&&(b++,k="Warning",n.push({severity:"Warning",text:"DISABLE_SUBDOMAIN_SOURCEACTION_SUPPORT is set.",
type:"sssd"}));a:{v=Fc("featureHash");K="7degijmovx".split("");for(Z of K)if(v.includes(Z)){var Z=!1;break a}Z=!0}Z&&(b++,k="Warning",n.push({severity:"Warning",text:"No module(that could detect a XHR) is active!",type:"nxma"}));pc()&&(b++,k="Warning",n.push({severity:"Warning",text:"Should not track is set on this browser and respected by the RUM monitoring code!",type:"snt"}));if(Z=Fc("doNotDetect"))Z=Fc("featureHash"),Z=!Z.includes("a")&&!Z.includes("l");return(Z&&(b++,k="Warning",n.push({severity:"Warning",
text:"Do not detect values are configured & neither module 'a' nor 'l' are active. This can result in missing user actions!",type:"dnt"})),wb("ssc")&&"https:"!==location.protocol&&(f++,k="Error",n.push({severity:"Error",text:"Secure cookies are enabled, but can't be set as the page isn't using https.",type:"scbip"})),0<n.length)?(a=[He(f,"Error"),He(b,"Warning"),He(a,"Info")],[{severity:k,text:`${a.join("")}regarding agent configuration.`,type:"ci",children:n}]):null}function He(a,b){return a?`${a} ${b}${1<
a?"s":""} `:""}function Zd(){sa("DEBUG_INFO_REQUESTED",Ge);we(function(a,b,f,k){wb("ssc")&&"https:"!==location.protocol&&a.av(k,"sconsp",1)})}function sd(){return Fc("rpid")?"automatically":"manually"}function Md(){Oj=void 0;aa(document.currentScript)&&(Th=document.currentScript);sa("DEBUG_INFO_REQUESTED",function(){return Oj||(Oj=Th?Th.src?Th.dataset.dtconfig?`OneAgent JavaScripTag ${sd()} injected`:Th.src.includes("_complete")?`JavaScriptTag ${sd()} injected`:Th.getAttribute("defer")?`CodeSnippetDeferred ${sd()} injected`:
`CodeSnippetSync ${sd()} injected`:Th.dataset.dtconfig?`InlineCode ${sd()} injected`:"Couldn't detect injection mode.":"Couldn't detect injection mode."),[{severity:"Info",text:Oj,type:"im"}]})}function Ad(a){switch(a){case 1:if((a=document.currentScript)&&aa(a)){a:{var b,f;if(document.documentElement&&(a=document.documentElement.outerHTML.split(a.outerHTML),2===a.length)){a=(null===(f=null===(b=a[0])||void 0===b?void 0:b.split("\n"))||void 0===f?void 0:f.length)+1;break a}a=void 0}return`Agent is double injected! Is it manually and automatic injected? Current used agent is near: ${document.location}:${a}`}return"Agent is double injected! Is it manually and automatic injected?";
case 2:return"Problem detected while agent initialization! Snippet couldn't initialize so can't initialize monitoring code";case 3:return"Problem detected while agent initialization! Snippet couldn't initialize as initConfig didn't initialize.";default:return""}}function Bg(){sa("DEBUG_INFO_REQUESTED",function(){return 0!==T().di?[{severity:"Error",text:Ad(T().di),type:"di"}]:null});we(function(a,b,f,k){0!==T().di&&!b&&a.av(k,"di",T().di)})}function nf(){let a=[];return E([{object:window,Ac:"window",
ic:["postMessage","Map","Array","WeakMap","MutationObserver"]},{object:Array.prototype,Ac:"Array.prototype",ic:"forEach map filter every some find includes join reverse slice sort splice concat pop push shift unshift".split(" ")},{object:Map.prototype,Ac:"Map.prototype",ic:["forEach"]}],function({object:b,Ac:f,ic:k}){b&&E(k,function(n){ra(b[n])||a.push(`${f}.${n}`)})}),a.length?[{severity:"Warning",text:`The following native functions are modified: ${a.join(", ")}`,type:"mnf"}]:null}function Hc(){return H({kind:"DEBUG_INFO_REQUESTED",
detail:void 0}).flat()}function ie(){we(function(){if(!Wf.disableCookieManager){var a=Sd();if(!a||!a.includes("_srv_-"))try{if(jb.sessionStorage){var b=a,f=Pj(og())||"";cf(f)||(f="");if(f&&"null"!==f&&b!==f){var k=f;var n=(k=be(k).sessionId||"",k);if("undefined"!=typeof b&&""!==b){if((f=b)&&n){k=f;let v=k.indexOf("_sn_");if(-1!==v){let K=k.indexOf("_",v+4),Z=-1!==K?k.substring(v,K):k.substring(v);Z&&(k=k.replace(Z,"_sn_"+n))}f=k}b=f}else b=f}(a=b)&&(mh(a),nh(og(),a))}}catch(v){}}})}function Xc(a){sa("ACTION_ENTERED",
function k(f){a.dtWF=k;let {i:n,a:v,r:K,e:Z}=f.detail;a(n,v,K===n,Z)})}function Ee(a){sa("ACTION_LEFT",function k(f){a.dtWF=k;let {i:n,s:v,r:K}=f.detail;a(n,v,K===n)})}function Id(a,b){Ig.push(a);0===b?Pd():Pd(2E3)}function Vc(a,b,f=!1,k=dc(),n=0){var v=b;if(1===n&&"_csprv_"===a)if(0===Uf)v=b;else{v=Mc;var {name:K,timestamp:Z,group:la,trigger:Oa}=v;v=(b.push(["tvn",K]),b.push(["tvt",Z+""]),b.push(["tvtrg",Oa+""]),b.push(["tvm",Ja(v)]),la&&b.push(["tvg",la]),b)}a={id:h(),timestamp:k,kind:a,Ma:v};switch(mc(f)){case 1:(f=
dd)?f.Rc(a):Id(a,n);break;case 2:(f=fb(f))?f.Rc(a):Id(a,n);break;case 0:Id(a,n)}}function Fe(a,b){return a?{oldView:a,newView:b}:{newView:b}}function jd(a,b=Lb("vncm")){let {pathname:f,hash:k}=new URL(a);0===b?a=f+k:2===b?(b=k||"/",a=(b.startsWith("#")&&(b=b.replace("#","")),b.startsWith("/")||(b="/"+b),b)):a=f;return a}function Yd(a,b){a.name=b.name;b.group&&(a.group=b.group);a.hydrated=!0}function Cg(a){let b=[],{name:f,timestamp:k,group:n,trigger:v}=a;return f&&k&&(b.push(["svn",f]),b.push(["svt",
k+""]),b.push(["svtrg",v+""]),b.push(["svm",Ja(a)])),n&&b.push(["svg",n]),b}function Bi(a){var b=[];let {oldView:f,newView:k}=a;f&&b.push(...Cg(f));let {name:n,group:v,trigger:K}=k;b=(b.push(["tvn",n]),b.push(["tvtrg",K+""]),b.push(["tvm",Ja(k)]),v&&b.push(["tvg",v]),b);b.length&&Vc("_view_",b,!1,a.newView.timestamp||void 0,1)}function bj(a){le?Bi(a.detail):Ac(a.detail)}function je(a){a.detail.i===G&&(a=Hg,a.length&&(E(a,Bi),Hg=[]),U("ACTION_SENT",je))}function sl(){Qg=Mc=Object.assign(Object.assign({},
Mc),{id:++Rg,timestamp:dc(),kind:2,hydrated:!1});Bi({newView:Mc})}function tl(){Tc(jb,"pageshow",function(a){"persisted"in a&&a.persisted&&H({kind:"BF_CACHE_RESTORED",detail:void 0})})}function Qj(a,b=Lb("dvl")){let f;return function(...k){void 0!==f&&Dc(f);f=Hb(()=>{a.apply(this,k)},b)}}function Ji(){if(1===Uf){var a=Mc,b=jd(t());a=a.name;(a+"/"===b?0:a!==b)&&Rj({name:b})}}function Sj(){let a=Mc,b=Qg;a.id!==b.id&&(H({kind:"VIEW_STABLE",detail:Fe(b,a)}),Qg=a)}function Rj(a){let b=Mc;var f=Object,
k=f.assign,n=Object,v=n.assign;let K=Lb("rtu"),Z=Object.assign({},a);a=(Z.name=J(a.name,K,!0),a.group&&(Z.group=J(a.group,K,!0)),Z);Mc=f=k.call(f,v.call(n,{},a),{timestamp:dc(),id:++Rg,kind:1,trigger:Uf,hydrated:!1});0<Ze&&Jj.push(f);H({kind:"VIEW_CHANGE",detail:Fe(b,Mc)});ul()}function Fk(a){var b,f,k;let n=null===(b=null==a?void 0:a.detail)||void 0===b?void 0:b.oldView;n&&(a=null===(k=null===(f=null==a?void 0:a.detail)||void 0===f?void 0:f.newView)||void 0===k?void 0:k.timestamp,Hf(n,0,a))}function Hf(a,
b,f){b=H({kind:"VIEW_END",detail:{view:a,triggeredByPageLeave:1===b}}).flat();0!==b.length&&(a=[...b,...Cg(a)],Vc("_viewend_",a,!1,f,1))}function gj(a){let b=History.prototype[a];b&&(History.prototype[a]=Gk(function(...f){let k=Vl.dtAWF(b,this,f);H({kind:"HISTORY_API_EVENT",detail:{t:a,p:f}});return k},b))}function Tj(a,b,f,k){if(!b){b=Mc;var {name:n,timestamp:v,group:K,trigger:Z}=b;a.av(k,"tvn",encodeURIComponent(pb(n)));a.av(k,"tvt",v+"");a.av(k,"tvm",encodeURIComponent(Ja(b)));a.av(k,"tvtrg",Z+
"");K&&a.av(k,"tvg",encodeURIComponent(pb(K)))}}function Sg(){if(hj||(hj=document.createElement("doc:rdy")),hj.doScroll){let a=function(){try{hj.doScroll("left"),hj=void 0,Ba=dc(),Gd()}catch(b){Hb(a,0)}};a()}else document.addEventListener("DOMContentLoaded",function(){Ba=dc();Gd()},!1)}function vl(){return ij}function Uh(){let a=Vh;var b=Qe(jb.performance);if(!b)return Math.round(a);var f;let k;if(ge(b)?(f=6E4>=b.domContentLoadedEventStart,k=!0):(f=6E4>=Math.abs(b.domLoading-a),k=!0),!T().syn&&!f)return a;
if(k){f=me();let {redirectStart:n,fetchStart:v}=b;b=(ge(b)?0:f)+6E4;b=n?b>n?f:n:v?b>v?f:v:f;isFinite(b)&&(a=b)}return Math.round(a)}function Wh(){let a=vd(jb.performance,"loadEventEnd",!0),b=dc();return Math.round(a||b)}function Xh(a,b){if(oh--,ph&&b){var f=(ph.get(b)||1)-1;f?ph.set(b,f):ph.delete(b)}if(!oh&&qh)try{H({kind:"LOAD_END",detail:void 0})}catch(k){}if(0>=oh){if(qh){b=qh.id;rl=Qf();a=a?Math.max(Wh(),a):Wh();f=vd(jb.performance,"loadEventStart",!0)||me();f=f<w?0:Math.round(f);if(a&&f&&a>=
f){let k=dc()-a;5E3<Math.abs(k)&&(a+=k);wd(b,a,f)}else wd(b);qh=null}Tg||Uj()}b=Nd();b!==T()&&Ma(b)&&b.sole()}function jj(a){if(oh++,ph&&a){let b=ph.get(a)||0;ph.set(a,b+1)}}function Uj(a,b){let f=fb(G);if(f){var k=0;jb.performance&&!a&&(k=b||Wh());k||(k=dc());wd(f.id,k);ij=f.stop;Gd()}}function Vj(){Uj(1)}function Wj(){Tg=!0}function Xj(){let a=fb(G);!a||qh||(qh=gd({name:"_onload_",type:"_load_",start:dc(),wa:a.id}))}function Hk(){(!Yh||0<oh)&&(Yh=!0,Gd(),Xh())}function Yj(){if(Gd(),!Ki){var a=Nd(),
b=Ma(a)&&a!==T();b&&a.iolm(jb);Xj();Ki=!0;sa("PAGE_LEAVING",function k(){qh&&b&&a.sole(void 0,jb);U("PAGE_LEAVING",k)});Hb(Hk,0)}}function Li(){"loaded"===document.readyState&&Gd();"complete"===document.readyState&&Yj()}function kj(){Gd();Ki||("complete"===document.readyState?Ik?Me(!1,!0):(Ik=!0,Hb(kj,3E3)):Hb(kj,3E3))}function wl(){Hf(Mc,1);var a=H({kind:"PAGE_END",detail:void 0}).flat();0!==a.length&&(a=[...a,["url",lj]],Vc("_pageend_",a,!1,void 0,1));Zj(0);Jc()}function ak(){Zj(1)}function Jk(){mj=
qa=!1;Kk(!1);Me(!1,!0,!0);p=!1}function bk(a){let b=Mh.I(!1,!0,!0);b.beacon&&(Me(!1,!0,!0,b),1===a&&(mj=!0))}function Zj(a){if(qa&&!p)bk(a);else{var b=dc();1===a&&(qa=!0,Hb(function(){Hb(Jk,2E3)},1));H({kind:"PAGE_LEAVING",detail:qa});rh&&mj||r(1===a,dd,b);bk(a);p=!1}}function Lk(a,b){le||isNaN(a)||100>a||1E3<a?a=!1:(sb={responseCode:a,message:b+""},a=!0);return a}function Mk(){return rh}function Kk(a,b){rh=a;Dc(Wl);b&&(Wl=Hb(function(){rh=!1},2E3))}function Nk(){jb.doNotCreateLoadAction||(G=gd({name:"_load_",
type:"_load_",start:w,id:Di()||h()}).id,Gd(),Li());let a=b=>{G===b.detail.i&&U("ACTION_CLOSED",a)};sa("ACTION_CLOSED",a)}function sh(a,b,f=!1,k){a={msg:"",file:"",line:-1,column:-1,error:a,stackContainsWrapper:f};"number"==typeof b&&(a.parentActionId=b);k&&(a.source=k);ck(a)}function th(a,b,f,k){a[b]&&Yf(f,""+a[b],k)}function ck(a){var b=a.error,f=a.msg;if(!(!f&&!b||If+1>Lb("mepp"))){If++;"string"==typeof b?f=a.msg||b:b=b||jb.event||{message:"",name:""};b=Object.assign(Object.assign({},a),{msg:f,
error:b});f=Cc();var k;f&&(k={name:f.getName(),type:f.type});f=b.error;"string"==typeof f&&(f={});var n=f.columnNumber||0,v=b.msg,K=b.file,Z=b.column,la=b.line,Oa=b.source;v=f.message||f.name||f.msg||f.description||v||f.errorMessage||f.Mb||f.data||f.bc||"Indeterminable error name";K=f.fileName||f.filename||f.sourceURL||f.errUrl||f.file||K||"";la=f.lineNumber||f.lineno||f.line||f.errorLine||la||-1;n=(f.columnNumber?n+1:void 0)||f.errorCharacter||f.colno||f.column||Z||-1;if(!(Z=Mi(f)))a:{try{throw Error("");
}catch(Wa){if((Z=Mi(Wa))&&3<Z.split(/\r\n|\r|\n/).length){Z="<generated>\n"+Z;break a}}Z=""}k={message:v,file:K,line:la,column:n,stack:Z,userInput:k,code:f.number||f.code||f.errorCode||f.status,timestamp:dc()-Vh,debugInfo:"",type:f.name||"Error",source:Oa||"1"};"Indeterminable error name"===k.message&&(Oa=Ug("msg",b.msg),f=(Oa+=Ug("file",b.file),Oa+=Ug("line",b.line),Oa+=Ug("column",b.column),Oa+=Ug("error",b.error),Oa),k.debugInfo=f);k.stack&&b.stackContainsWrapper&&(k.stack="<wrapper>"+k.stack);
if(k.stack){if(1200<k.stack.length){f=k.stack.split(/(\r\n|\n|\r)/gm);b="";for(db of f)if(f=db.trim(),Oa=f.length,0<Oa&&(250<Oa?b+=f.substring(0,150)+"[...]"+f.substring(Oa-100)+"\n":b+=f+"\n"),1200<b.length)break;k.stack=b}k.stack=k.stack.replace(RegExp("\\|","g"),"^p").replace(/(\r\n|\n|\r)/gm,"|")}500<k.message.length&&(k.message=k.message.substring(0,500));var db=k.file;b=k.stack;f=Bc();db=(db&&b&&!b.includes(f)&&db.includes(f)&&(1200<b.length?k.incompleteStack="stringLength":k.incompleteStack=
"numLines"),k);if(5011!==db.code&&(b=a.parentActionId,a=dc(),a=Qd({type:"_error_",name:Nc(db.message),start:a,hb:!0}),b=re(a,b),a)){if(th(db,"type","_type_",a),db.file)k=db.file,0<=db.line&&(k+="|"+db.line),0<=db.column&&(k+="|"+db.column),Yf("_location_",k,a);(k=db.incompleteStack)&&Yf("_istack_",k,a);th(db,"stack","_stack_",a);th(db,"code","_code_",a);th(db,"timestamp","_ts_",a);th(db,"debugInfo","_debug_",a);db.userInput&&Yf("_useraction_",db.userInput.type+"|"+db.userInput.name,a);th(db,"source",
"_source_",a);b&&Pd()}}}function Mi(a){return a&&(a.stack||a.backtrace||a.stacktrace||a.error&&a.error.stack)||""}function Yf(a,b,f){let k=dc();a=Qd({type:a,name:Nc(b),start:k,hb:!0});re(a,f.id,!0)}function Ug(a,b){let f="";if(f+=a+"|",f+=typeof b+"|",null===b)f+="null|";else if("object"==typeof b)for(let k in b){if(da(b,k)&&"stack"!==k&&"error"!==k){a=k;f+=k+"|";let n=typeof b[a];f+=n+"|";"object"!==n&&"function"!==n&&(f+=b[a]+"|")}}else f+=b+"|";return f}function Zh(a,b,f){let k=dc();a=Nc(a);b=
Qd({type:b,name:a,start:k,stop:k,hb:!0,domNodes:-1});f=re(b,f);return X(Qh),f&&Pd(),f}function nj(){T().syn||(Zh("visit end","_endVisit_",-1)?dk(!1,"a"):pg())}function Ok(a,b){If>Lb("mepp")||(If++,Zh(a,"_error_",b))}function Pk(a,b){Zh(a,"_warning_",b)}function Qk(a,b){Zh(a,"_log_",b)}function oj(a,b,f){let k=dc();a=Qd({type:"_rs_",name:S(a+"="+b),start:k,hb:!0});re(a,f);Pd()}function pj(a,b){switch(a){case "_uaps_":if("string"!=typeof b){a=`value [${b}] is not a valid short string, because it is of type ${typeof b}.`;
break}else a="value is not of type 'string'. Make sure to pass in a string.";(b=b.length)||(a="value is not a valid short string because it is empty.");let f=Lb("mpl");b>f&&(a=`value is ${b} characters long, which is longer than the maximum of ${f} characters`);break;case "_uapl_":a=`value [${b}] is not a valid java long.`;break;case "_uapdt_":a=`value [${b}] is not a valid date.`;break;case "_uapdbl_":a=`value [${b}] is not a valid java double.`;break;default:a=`value [${b}] is not of a supported type. Has type of ${typeof b}.`}return a}
function ek(a,b){return{failedProperties:a.kc(),sentProperties:a.nd(),info:`Number of total failed properties: ${b}`}}function $h(a){return!("number"!=typeof a||isNaN(a)||0!==a%1||0x7fffffffffffffff<a||-0x7fffffffffffffff>a)}function fk(a){return!("number"!=typeof a||isNaN(a)||1.7976931348623157E308<a||-1.7976931348623157E308>a)}function Rk(a){return"string"==typeof a&&0!==a.trim().length&&a.length<=Lb("mpl")}function ic(a){return!!a&&"[object Date]"===Object.prototype.toString.call(a)}function ai(a,
b,f,k,n){b&&"object"==typeof b&&Ni({data:b,type:"_uapl_"},$h,a);f&&"object"==typeof f&&Ni({data:f,type:"_uapdt_"},ic,a);k&&"object"==typeof k&&Ni({data:k,type:"_uaps_"},Rk,a);n&&"object"==typeof n&&Ni({data:n,type:"_uapdbl_"},fk,a)}function Ni(a,b,f){let {data:k}=a,n=pc();for(let v in k){if(!(da(k,v)&&0<v.trim().length&&50>=v.length))continue;let K=n,Z=k[v];(null!==Z&&"object"==typeof Z&&da(Z,"value")&&(K=K&&!Z.public,Z=Z.value),b(Z))?(K?Z="dT_pv":"_uapdt_"===a.type&&ic(Z)&&(Z=Z.getTime()),f.Rd(a.type,
v,Z)):f.dd(a.type,v,Z)}}function Sk(a){a=a?Object.keys(a):[];if(0===a.length)return!1;for(let b of a)if(!xl.includes(b))return!1;return!0}function Tk(a){return C(ua(Sa(a),function(b){b=a[b];return!!(b&&0<b.size)}),function(b){let f=[];return a[b].forEach(function(k,n){f.push(`${n},${k}`)}),`${b}=${f.join(";")}`}).join(";")}function uc(a,b,f,k,n){a=new uh(a);return Sk(b)?ai(a,b.javaLong,b.date,b.shortString,b.javaDouble):ai(a,b,f,k,n),a.Z()}function zc(a){Zf[a]?Zf[a]++:Zf[a]=1}function yl(){wb("ds")&&
(Zf={},we(function(a,b,f,k){if(wb("ds")){f="";for(n in Zf)da(Zf,n)&&(f+=`${f?"|":""}${n}-${Zf[n]}`);var n=f;!b&&le&&n&&(a.av(k,"ds",n,!1),Zf={})}}))}function qj(a,b,f,k){!vh&&!gk.length||(gk.length&&a.av(k,"fsp",encodeURIComponent(gk.join(",")),!0),vh&&a.av(k,"sp",encodeURIComponent(Tk(vh)),!0),vh=void 0,gk=[])}function Oi(a,b,f,k){let n=new rj;vh||(vh={});Sk(a)?n.Z(vh,a):n.Z(vh,{javaLong:a,date:b,shortString:f,javaDouble:k});gk.push(...n.ib());a=ek(n,rj.G);b=n.kc();if(b.length)for(let {key:v,reason:K}of b)hk=
"Property key ["+v+"] was not accepted because: "+K,jb.console.log(hk);return(n.kb()||b.length)&&Pd(),a}function Pi(){return hk?[{severity:"Info",text:hk+"(Note: only last errorMessage gets reported!)",type:"wsp"}]:null}function bi(a,b){if(Uf!==b)return-2;if(3===b&&!le){var f;Yd(Mc,a);Yd(Qg,a);a=Fe(null===(f=Ei)||void 0===f?void 0:f.sourceView,Mc);Ac(a);return 2}f=Mc;1===a.id&&1===f.id&&1===Hg.length?(Yd(Hg[0].newView,a),Yd(Mc,a),Yd(Qg,a),a=2):a=f.name===a.name?-1:(Rj(a),1);return a}function Jf(a){let b=
+a;return a&&!isNaN(b)&&11359836E5<b&&41338908E5>b?Number.isInteger(b)?b:Math.round(b):dc()}function rc(a){return"function"==typeof a}function fc(a,b){return typeof a===b}function nb(a,b){return fc(a,b)||"undefined"==typeof a||null===a}function vb(a){jb.console.log(a)}function Vb(a,b,f){vb(`${a} "${b}" is deprecated! ${f}`)}function Pb(){vb("Wrong argument types in method. Please check the documentation to fix that")}function sc(){vb("Too many arguments. Please check the documentation to fix that")}
function ci(){vb("No action was found with provided action id argument.")}function di(){return Mh.G()}function wh(a,b=!1,f=!1,k){return df(a,(null==k?void 0:k.contentType)||""),Me(!1,!0,b,{referrer:t(),beacon:a},f,k)}function uf(a){ik.push(a)}function df(a,b){E(ik,function(f){f(a,b)})}function sj(a,b){tj&&(tj&&!Kf&&(Qi.observe(document,jk),Kf=!0),Lf[a]||(Lf[a]=[],Ri=Object.keys(Lf),ei[a]=b))}function Uk(a){tj&&(Lf[a]&&(delete Lf[a],delete ei[a]),Ri=Object.keys(Lf),0!==Ri.length||Qi&&Kf&&(Qi.disconnect(),
Kf=!1))}function uj(a,b){return xh?(fi[a]||(fi[a]=new xh(b)),fi[a]):null}function kk(a){tj&&fi[a]&&(fi[a].disconnect(),delete fi[a])}function Mf(a){return Lf[a]?Lf[a]:[]}function lk(a,b){Lf[a]=b}function Si(){jk={childList:!0,subtree:!0};xh&&(Qi=new xh(function(a){var b=dc();let f=[];for(let k of a)"childList"===k.type&&f.push.apply(f,k.addedNodes);if(f.length){a={time:b,nodes:f};for(let k of Ri)b=ei[k],"function"==typeof b&&b(k,a),Lf[k].push(a)}}))}function Ti(a,b,f,k,n,v="win"){try{let K=Ui[v]||
{};K[b]=a[b];return Ui[v]=K,Object.defineProperty(a,b,{get:f||function(){return K[b]},set:function(Z){K[b]=Z;k&&(Z||n)&&k.apply(a,[Z])},configurable:!0}),!0}catch(K){}return!1}function Vk(a,b,f,k){if(k=k||a[b]){let n=f||"win";try{delete a[b]&&(a[b]=k,Ui[n]&&(Ui[n][b]=null))}catch(v){try{Object.defineProperty(a,b,{get:function(){return Ui[n]&&Ui[n][b]},configurable:!0})}catch(K){}}}}function zl(a){var b=dd;return b&&b.Qb<Lb("tal")&&b.Za+a<=Lb("tt")?(b=I(!1),a={name:`${"setTimeout(..., "}${a})`,type:"_t_",
start:dc(),Td:a,wa:b||!0},gd(a).id):0}function Al(a){(a=fb(a))&&(a.$b(),Hb(function(){gg();Kd(Ua(),!0)},0))}function Bl(a){let b=fb(a);b&&(b.Ff(),ng++,Ef.push(a),Kd(b))}function Vi(a){let b=fb(a);b&&(ng--,Hb(function(){Uc(a);b.Me();Kd(Ua(),!0)},0))}function Tb(a){!wb("etc")&&a||(vj=a)}function Cl(){return null==vj?void 0:vj()}function Wi(a,b){return Ce(970,a||"XHR Error",b)}function gi(a){return Ce(971,"XHR Canceled",a)}function yh(a){return Ce(972,"XHR Timeout",a)}function hi(a,b){let f;return 0===
a.time?f=0:f=b-a.time,a.total+=f,a.time=b,a.td=f,f}function wj(a,b=dc()){let f=zh[a];return void 0===f&&(f=zh[a]={time:b,total:0,td:0}),hi(f,b)}function mk(a,b=dc()){a=zh[a];return void 0===a?0:(hi(a,b),a.time=0,a.td)}function Xi(a){a=zh[a];return void 0===a?0:a.total}function Dl(a,b,f,k=!1){return f?new Ie(function(n,v){let K=[];E(a,function(Z,la){b(Z,la,a)&&K.push(Z)},null,function(Z,la){la?v(K):n(K)},f,k)}):Ie.resolve(ua(a,b))}function El(a,b,f){if(!a||!b)return-1;if(a.findIndex)return a.findIndex(b,
f);for(let k=0;k<a.length;k++)if(b.call(f,a[k],k,a))return k;return-1}function Wk(a,b){let f="";a.classList.forEach(function(n){f+=`.${n}`});let k=a.tagName.toLowerCase();return f?"..."+J(`${k}${f}`,b-k.length-3,!1,""):(a=a.id)?"..."+J(`#${a}`,b-3,!1,""):""}function Yi(a){let b=a.getAttribute("class"),f=100-a.tagName.length;if(!b)return"";if(b=b.trim().replace(/ +/g,"."),b.length<=f)return b;a=ua(b.split("."),function(k){return k.length<f});for(b=a.join(".");b.length>f&&a.length;)a.pop(),b=a.join(".");
return b}function ii(a,b){let f;if(a.id&&100>=a.id.length)return b.unshift(`#${a.id}`),!0;f=a.nodeName.toLowerCase();b.unshift(f);var k=Yi(a);if(k&&(f+=`.${k}`,b[0]=f,xj(b)))return!0;k=a;let n=1;for(;k;)k=k.previousElementSibling,(null==k?void 0:k.nodeName)===a.nodeName&&n++;if(f+=`:nth-of-type(${n})`,b[0]=f,xj(b))return!0;k=a.previousElementSibling;for(n=1;k;)k=k.previousElementSibling,++n;return f=f.replace(/:nth-of-type\(\d+\)/,1<n?`:nth-child(${n})`:":first-child"),b[0]=f,xj(b)}function xj(a){return 1===
document.querySelectorAll(a.join(">")||"").length}function Xk(a){if(!a||!Pg(a,8)||!document.querySelectorAll)return"";try{let b=a,f=[];for(;b&&100>=f.join(">").length&&!ii(b,f);)b=b.parentElement;let k=f.join(">");return 100<k.length?Wk(a,100)||J(k,100,!0):k}catch(b){}return""}function Fl(a,b){try{if(3!==Uf&&("__vue__"===b||"__vue_app__"===b)&&wb("usrvd")&&2!==Uf){var f,k,n,v;var K=(null===(n=null===(k=null===(f=a.__vue_app__)||void 0===f?void 0:f.config)||void 0===k?void 0:k.globalProperties)||void 0===
n?void 0:n.$router)||(null===(v=a.__vue__)||void 0===v?void 0:v.$router);if(K){var Z="function"==typeof K.afterEach;var la=!(!K.currentRoute||!Z)}else la=!1;if(la){var Oa,db;if(Oa=(null===(db=K.matcher)||void 0===db?void 0:db.match)||K.resolve){var Wa,ub,Ob;let ac=null!==(Ob=null!==(Wa=K.options.base)&&void 0!==Wa?Wa:null===(ub=K.options.history)||void 0===ub?void 0:ub.base)&&void 0!==Ob?Ob:"",Rd=K.options.mode;var Eb=(!ac&&"hash"===Rd&&(ac="#"),ac);a=Hg;for(var cc of a)cc.oldView&&Yd(cc.oldView,
ji(cc.oldView,Oa,Eb)),Yd(cc.newView,ji(cc.newView,Oa,Eb));cc=Mc;a=Qg;Yd(cc,ji(cc,Oa,Eb));Yd(a,ji(a,Oa,Eb))}K.afterEach(ef);Ec(2)}}}catch(ac){Ec(1)}}function ef(a){2===Uf&&bi(Ah(a),2)}function Ah(a){let b=a.matched;a=a.path;return b.length?{group:b[b.length-1].path,name:a}:{name:a}}function ji(a,b,f){let k=a.name.indexOf(f),n=a.name;var v=(n===f?n="/":-1!==k&&(n=n.substring(k+f.length)),Object.assign(Object.assign({},a),{name:n}));return Object.assign(Object.assign({},v),Ah(b(v.name)))}function nk(a){void 0===
yj&&(yj=Lb("prfSmpl")>Math.floor(1E4*Math.random()));yj&&(0>ce&&(ce=Lb("msl"),mb.dT_.si(function(){Yk()},3E4),Tc(jb,"beforeunload",function(){Yk(!0)})),Zk.push(a))}function vf(a){let b="";return E(a.d,function(f){b+=`${f[0]}${"="}${f[1]}${"|"}`}),`${a.i}${"|"}${a.t}${"|"}${b.slice(0,-1)}`}function ff(a,b){let f="";return E(Sa(b[1]),function(k){f+=`${k}${"="}${b[1][k]}${"|"}`}),`${a}${"|"}${b[0]}${"|"}${f.slice(0,-1)}`}function Yk(a=!1){E(Zk.splice(0),function(b){if(0===b.t){var f=!1;let k=b.d,n=k.length;
for(;!f&&n;)f=0===k[--n][1]}else f=!1;f||(b.a?Gl(b):zj.push(vf(b)))});ok(a)}function Gl(a){let b=a.i,f=$f[b];f?(f[0]+=a.t,E(a.d,function(k){void 0!==f[1][k[0]]?f[1][k[0]]+=k[1]:f[1][k[0]]=k[1]})):($f[b]=[a.t,{}],E(a.d,function(k){$f[b][1][k[0]]=k[1]}))}function ok(a=!1){E(Sa($f),function(f){zj.push(ff(f,$f[f]))});let b="";E(zj,function(f,k,n){if(b.length+1+f.length>=ce){if(Aj(b,a),b="",k===n.length-1){Aj(`${"1,"}${f}`,a);return}b=`${"1,"}${f}`}else b?b=b+","+f:b=`${"1,"}${f}`;b.length&&k===n.length-
1&&Aj(b,a)});zj=[];$f={}}function Aj(a,b=!1){let f=di();Mh.ar(f,a);wh(f,b,!1,{contentType:"perf"})}function pk(){Bh=$k.connection;wb("eni")&&Bh&&we(function(a,b,f,k){!b&&le&&Bh&&(b=`${Bh.effectiveType||"-"}|${Bh.downlink||-1}`,Bh.type&&(b=`${b}|${Bh.type}`),a.av(k,"ni",b,!1))})}function al(a){return"longtask"===(null==a?void 0:a.entryType)&&50<a.duration}function bl(a){Ch.push({startTime:a.startTime,duration:a.duration})}function cl(){try{Dh=new PerformanceObserver(function(a){E(ua(a.getEntries(),
al),bl)}),Dh.observe({type:"longtask",buffered:!0})}catch(a){}}function Hl(){if(Vg=0,Wg=0,ki=-5E3,li=-5E3,Bj=[],wb("cls")&&(Dd.cls||!1))try{(new PerformanceObserver(function(a){a=a.getEntries();for(let b of a)"layout-shift"!==(null==b?void 0:b.entryType)||b.hadRecentInput||(a=b.startTime,0===qg?((5E3<a-ki||1E3<a-li)&&(ki=a,Wg=0),li=a,Wg+=b.value,Vg=Math.max(Vg,Wg)):1===qg&&Bj.push({startTime:a,He:b.value}))})).observe({type:"layout-shift",buffered:!0})}catch(a){}}function Il(){Cj=new jb.PerformanceObserver(function(a){a=
a.getEntries();for(let b of a){a=b.name;let f=Math.round(b.startTime);"first-paint"===a&&(Dj=f);"first-contentful-paint"===a&&(qk=f)}});try{Cj.observe({type:"paint",buffered:!0})}catch(a){Cj.observe({entryTypes:["paint"]})}}function rk(){Ej=new jb.PerformanceObserver(function(a){a=a.getEntries();a=a[a.length-1];if(a.size>mi)switch(mi=a.size,qg){case 0:Xl=sk(a);break;case 1:Xg.push(sk(a));break;case 2:ij-w>a.startTime&&(mi=a.size,a=sk(a),Vc("_wv_",[["AAI",G+""],["lcpE",a.hc||"-"],["lcpSel",a.Gc||"-"],
["lcpS",a.size+""],["lcpT",a.Ka+""],["lcpU",a.url||"-"],["lcpLT",a.loadTime+""]],!1,void 0,1))}});try{Ej.observe({type:"largest-contentful-paint",buffered:!0})}catch(a){Ej.observe({entryTypes:["largest-contentful-paint"]})}}function sk(a){var b;let f=a.startTime;return f&&(f=fd(f)),{Ka:Math.round(f),loadTime:Math.round(a.loadTime),size:a.size,Gc:Xk(a.element)||"-",hc:(null===(b=a.element)||void 0===b?void 0:b.tagName)||"-",url:a.url||"-"}}function ni(a){for(let b of a.getEntries())"first-input"===
b.entryType&&b.processingStart&&b.startTime&&(c=Math.round(b.startTime),d=Math.round(b.processingStart-b.startTime));ag()}function ag(){2===qg&&dc()<ij+2E4&&Vc("_wv_",[["AAI",G+""],["fIS",c+""],["fID",d+""]],!1,void 0,1)}function Jl(){var a;let b=null===(a=jb.PerformanceObserver)||void 0===a?void 0:a.supportedEntryTypes;return!!b&&b.includes("first-input")}function bg(){if(Jl())try{(new PerformanceObserver(ni)).observe({type:"first-input",buffered:!0})}catch(a){}else sa("GLOBAL_EVENT_FIRED",function f(b){let {e:k,
t:n}=b.detail;{let K=k.timeStamp;if(!c&&Kl.includes(n)&&K){b=me();var v=1E12<K;b=v&&K<b?!1:(c=Math.round(v?K-b:K),d=Math.max(0,Math.round(oi()-c)),ag(),!0)}else b=!1}b&&U("GLOBAL_EVENT_FIRED",f)})}function cg(a){a.Pe();l=a.jc();a.reset(oi())}function Yg(a,b){return[["inp",(void 0===l||b.detail.triggeredByPageLeave?a.jc():l)+""]]}function Zi(a){return[["inp",a.jc()+""]]}function xe(a){a.detail.i===G&&(U("ACTION_CLOSED",xe),qg=1)}function dl(a){let {i:b,a:f,s:k}=a.detail;if(b===G){U("ACTION_BEFORE_SEND",
dl);qg=2;let Oa=[];a=Oa;var n=k-f;if(wb("pt")){if(Dd.lcpT){var v=Xl;for(var K=Xg.length-1;0<=K;K--)if(Xg[K].Ka<n){v=Xg[K];break}v=v&&0!==v.Ka?v.Ka>n?{Ka:-6}:(mi=v.size||0,v):{Ka:-5};v.hc&&v.Gc&&v.url?a.push(["lcpE",v.hc],["lcpSel",v.Gc],["lcpS",v.size+""],["lcpT",v.Ka+""],["lcpU",v.url],["lcpLT",v.loadTime+""]):a.push(["lcpT",v.Ka+""])}else a.push(["lcpT","-3"]);Dd.fcp?a.push(["fcp",(qk?qk>n?-6:fd(qk):-5)+""]):a.push(["fcp","-3"]);Dd.fp?a.push(["fp",(Dj?Dj>n?-6:fd(Dj):-5)+""]):a.push(["fp","-3"])}if(wb("cls"))if(Dd.cls){v=
a.push;for(var Z of Bj)K=Z.startTime,K<n&&((5E3<K-ki||1E3<K-li)&&(ki=K,Wg=0),li=K,Wg+=Z.He,Vg=Math.max(Vg,Wg));Z=(Bj=[],+Vg.toFixed(4)+"");v.call(a,["cls",Z])}else a.push(["cls","-3"]);if(wb("lt"))if(Dd.lt){Z=a.push;v=0;K=me();for(la of Ch){let db=v+la.duration>n;K+la.startTime+la.duration<=k&&!db&&(v+=la.duration)}var la=(null==Dh||Dh.disconnect(),Math.round(v));Z.call(a,["lt",la+""])}else a.push(["lt","-3"]);Dd.inp||a.push(["inp","-3"]);0===c&&0===d||Oa.push(["fIS",c+""],["fID",d+""]);0<Oa.length&&
Vc("_wv_",Oa,G,w,1)}}function kd(){try{var a,b;if(b=jb.dT_){var f;if(!(f=void 0===jb.dialogArguments&&navigator.cookieEnabled)){document.cookie="__dTCookie=1;SameSite=Lax";var k=document.cookie.includes("__dTCookie");f=(document.cookie="__dTCookie=1; expires=Thu, 01-Jan-1970 00:00:01 GMT",k)}b=!!f}if(a=b){var n=jb.dT_;n.initialized=!1;n.pageId="";n.pageTitle="";n.frameCount=0;n.bwsW=0;n.bwsH=0;n.syn=!1;n.googleBot=!1;n.tp=Xd;n.gicv=Y;n.aFU=yc;n.gPId=Wc;n.iRO=nd;n.gBI=Fb;n.iMD=$b;n.cfg=Pe;n.acfgP=
qd;n.smbi=Pf;n.ism=Ih;n.iMod=Ea;n.gMu=Nf;n.tau=x;n.icr=y;n.lv=Ha;n.sv=ba;n.svl=qb;n.gh=V;n.aesc=pb;n.puesc=Nb;n.tpesc=M;n.apl=Ti;n.rpl=Vk;n.dbg=jc;n.dbc=qc;n.dlf=Xb;n.loc=t;n.sch=wa;n.gNTO=Pc;n.vAT=fd;n.cVIn=lb;n.sNT=pc;n.gPAH=xd;n.id=bd;n.ss=Gh;n.ssP=Oi;n.asl=Fd;n.sMPS=Pd;n.gBP=ig;n.cB=di;n.sB=wh;n.ea=kg;n.la=Te;n.lx=Rf;n.dlx=Xe;n.ex=Be;n.ec=Wd;n.lc=De;n.eV=nj;n.pe=Ok;n.pw=Pk;n.pl=Qk;n.rs=oj;n.pcn=Zh;n.ca=Ra;n.can=Rb;n.isci=Cb;n.ti=Gd;n.las=O;n.gca=xa;n.gAR=Rc;n.gAA=wc;n.sxbe=Yb;n.aWF=tk.dtAWF;n.mx=
g;n.mxf=Ce;n.mxg=Wi;n.mxc=gi;n.mxt=yh;n.gITAID=$c;n.re=ck;n.rex=sh;n.bi=cd;n.ei=D;n.gci=Cc;n.gpi=hd;n.cii=Ib;n.pii=B;n.gcv=Kc;n.aad=gb;n.sole=Xh;n.iolm=jj;n.solb=Xj;n.slem=Wj;n.lst=bc;n.sle=Vj;n.gLEELF=Se;n.gNNTV=vd;n.gLAet=vl;n.iSAC=Mk;n.sSAC=Kk;n.lAID=kc;n.maep=Lk;n.snt=qe;n.aO=uj;n.rO=kk;n.aMO=sj;n.rMO=Uk;n.gMN=Mf;n.sMN=lk;n.eta=zl;n.lta=Al;n.etc=Bl;n.ltc=Vi;n.cia=lg;n.wst=wj;n.wsp=mk;n.wtt=Xi;n.rpm=nk;n.sasl=uf;n.dnrui=Ab;n.aFr=ua;n.fE=E;n.aM=C;n.aAP=uc;n.aAPY=ah;n.iBt=ja;n.cAE=Vc;n.addE=sa;n.remE=
U;n.disE=H;n.red=Le;n.cUIRO=z;n.aAWC=zd;n.gXACT=q;n.uaxu=A;n.gaxu=P;n.last=ma;n.aFI=El;n.aur=Qc;n.oK=Sa;n.oHOP=da;n.gdi=Hc;n.ssmbi=We;n.gecsss=Xk;n.fEP=L;n.iVRA=Fl;n.sNV=bi;n.sVDM=Ec;n.gVDM=Lc;n.fP=Dl;n.iNF=ra;n.aAPy=ad;n.uabmr=R;n.cbf=ne;n.asyncCoreVersion="10313250422105919";n.gRT=xc;n.itcp=Tb;n.gtc=Cl;n.nan=Nc;n.wwi=Gk;var v=T();Hb=v.st;dc=v.nw;of=v.sC;Gf=v.gC;Vf=v.esc;pi=v.cLSCK;dj=v.gPC;Kh=v.sPC;cf=v.iVSC;be=v.p3SC;Sd=v.gSC;mh=v.sSC;eh=v.gVI;jh=v.cPC;Pj=v.gSSV;nh=v.sSSV;Fg=v.gSId;rg=v.pCfg;qi=
v.pCSAA;ri=v.cFHFAU;gc=v.sCD;wb=v.bcv;Lb=v.ncv;Fc=v.scv;sg=v.stcv;Je=v.rplC;we=v.aBPSL;Jg=v.gBPSL;gf=v.gBPSCC;ve=v.gFId;Dg=v.oEIEWA;Eh=v.iNV;Td=v.gVID;tg=v.gARnVF;Qh=v.cAUV;pg=v.sVIdUP;fj=v.gDtc;Ud=v.cfgO;se=v.version;kh=v.rBPSL;Oh=v.aNVL;Fj=v.dPV;Gj=v.ePV;si=v.eA;uk=v.dA;ti=v.iXB;lh=v.de;Zg=v.aRI;Ub=v.gXBR;oi=v.rnw;me=v.gto;tf=v.iEC;Dc=v.ct;Tc=v.ael;dk=v.gNVIdN;vk=v.gxwp;ug=v.prm;ui=v.gidi;hh=v.iDCV;pf=v.gCF;Pg=v.iIO;Eg=v.gPSMB;ej=v.iAEPOO;ue=v.lvl;cb(v);v.gAN?Bc=v.gAN:(Bc=Q,v.gAN=Bc);v.version=
ya();Ie=ug();var K=T();let Zc=navigator.userAgent;b=Zc;f={ie:NaN,edge:NaN,ec:NaN,ff:NaN,ch:NaN,sf:NaN,msf:NaN,ab:NaN,op:NaN};try{if(v=/Firefox[\/\s](\d+\.\d+)/,k=/(iPod|iPhone|iPad)/,n=/AppleWebKit/,b.includes("MSIE")){let Oc=b.lastIndexOf("MSIE")+5;f.ie=parseInt(b.substring(Oc,Oc+3))}else if(b.includes("Trident")){if(b.includes("rv:")){let Oc=b.lastIndexOf("rv:")+3;var Z=parseInt(b.substring(Oc,Oc+2))}else if(b.includes("rv ")){let Oc=b.lastIndexOf("rv ")+3;Z=parseInt(b.substring(Oc,Oc+2))}else Z=
NaN;f.ie=Z}else if(b.includes("Edge")){let Oc=b.lastIndexOf("Edge")+5;f.edge=parseInt(b.substring(Oc,Oc+2))}else if(b.includes("Edg/")){let Oc=b.lastIndexOf("Edg/")+4;f.ec=parseInt(b.substring(Oc,Oc+2))}else if(v.test(b)){let Oc=parseInt((b.match(v)||[])[1]);f.ff=-1===Oc?0:Oc}else if(b.includes("Android")){let Oc=b.indexOf("Android")+8;f.ab=parseFloat(b.substring(Oc,Oc+3))}else if(b.match(k)&&b.match(n))f.msf=parseFloat((b.match(/(?:OS |Version\/)([0-9]+)(?:[_.][0-9])*/)||[])[1]);else if("Safari"!==
navigator.appName&&!b.includes("Safari")||b.includes("Chrom"))if(jb.opera)f.op=parseInt(jb.opera.version().split(".")[0]);else if(b.includes("OPR/"))f.op=parseInt((b.match(/OPR\/([0-9]*\.[0-9]*)/)||[])[1]);else{var la;var Oa=+(null===(la=/Chrome\/([0-9]{1,4})/.exec(b))||void 0===la?NaN:la[1])||NaN;f.ch=Oa}else{let Oc=b.substring(b.lastIndexOf("Version/")).match(/Version\/([0-9]+(\.[0-9]*)?)/);f.sf=Oc?parseInt(Oc[1]):NaN}}catch(Oc){}Df=f;K.syn=Zc.includes("RuxitSynthetic");K.googleBot=Zc.includes("Googlebot");
var db;let wf=jb.dT_,Jd=ya();a=(Jd!==wf.version&&(null===(db=jb.console)||void 0===db||db.log("WARNING: Snippet version ["+wf.version+"] and monitoring code ["+Jd+"] versions do not match! Please update your code snippet to ensure compatibility.")),wf.version="10313250422105919",Vh=wf.agentStartTime||wf.gAST(),!(!wf||wf.initialized))}var Wa;if(Wa=a){let Zc=Sa(ae);for(let de of Zc)ae[de]=[];W();Ai();Wf=Ud?Ud():T().cfg;Wf.initializedModules="";ti(Wf);lf();a=0;Df.sf?a=100:Df.msf&&(a=1E3);Rh=a;Cd={actions:{},
ya:[]};h=Da;e=1;Yl=0;te=[];Od=[];dd=null;xb(null,!0);bf=[];Mb();td=0;sa("VISIBILITY_CHANGED",id);rf=Ta(t());tc();sa("CONFIG_UPDATE",tc);if(Kj={},Ye=Nd(),sf=void 0,Ff=void 0,zk=0,Ak=!0,wb("imm")&&$b()||(Ia("click","C","clk"),Ia("mousedown","D","mdw"),Ia("mouseup","U","mup")),Ia("dblclick","CC","dcl"),Ia("keydown","KD","kyd"),Ia("keyup","KU","kyu"),Ia("scroll","S","scr"),Ia("touchstart","TS","tcs"),Ia("touchend","TE","tce"),Ia("change","H","chg"),Fc("ade")){var ub=Fc("ade").split(",");if(ub&&0<ub.length)for(let de of ub)Ia(de)}ij=
0;a:{let de=document.getElementsByTagName("meta"),dg=Lb("mrt");for(ub=0;ub<de.length;ub++){let vg=de[ub],el=vg.getAttribute("http-equiv");if(el&&"refresh"===el.toLowerCase()){let Zl=vg.getAttribute("content");if(parseInt((Zl&&Zl.split(";")||[])[0])<=dg){var Ob=!0;break a}}}Ob=!1}Ob&&jj();"undefined"!=typeof WeakMap&&(ph=new WeakMap);var Eb=document.location,cc=Nd();Eb&&Ma(cc)&&cc.aFU(Eb.href);let wf=Fc("rid");if(!wf||"RID_"===wf){Eb=sg;let de=Fc("ridPath")||jb.location.pathname;var ac=jb.location.search;
ac&&ac.length&&ac.startsWith("?")&&(ac=ac.substring(1));cc=1;var Rd=(cc=31*cc+Fa(de),cc=31*cc+Fa(ac),cc&=cc,cc);Eb("rid","RID_"+Rd)}Tc(jb,"beforeunload",ak);Tc(jb,"pagehide",wl);Tc(document,"readystatechange",Li);Hb(kj,3E3);Tc(jb,"load",Yj);w=Uh();Rd=!Ob;let Jd=Nd();if(Ma(Jd)){var Sc=Jd.sSAC;Sc&&Sc(!1);var ee=(wb("dsss")?Ha(gh()):decodeURIComponent(pf(gh()))).split("|");if(12===ee.length){let de=wb("dsss"),dg=wb("dssv");Sc="";let vg=(!de&&dg?Sc=Ha(gh(),!0):de&&!dg&&(Sc=decodeURIComponent(pf(gh()))),
Sc).split("|");if(4===vg.length){let [el,Zl,mm,nm]=vg;ee.push(el);ee.push(Zl);ee.push(mm||"");ee.push(nm)}}var $i=ee.join("|");if(Rd&&Gb("-"),$i&&"-"!==$i){var Bd=$i.split("|");if(16===Bd.length||12===Bd.length){var fl=parseInt(Bd[5]);ee=w-fl;if(-10<ee&&6E4>=ee){ee={id:-1,kind:-1,hydrated:!1,trigger:-1};let de=Nb(Bd[15]).split(";");for(let dg of de){let vg=dg.substring(1);switch(dg.charAt(0)){case "i":ee.id=+vg;break;case "k":ee.kind=+vg;break;case "h":ee.hydrated=!!+vg;break;case "t":ee.trigger=
+vg}}var Hj=ee;var vi={isDelayed:"true"==Bd[0],type:Bd[1],id:parseInt(Bd[2]),name:Bd[3],info:Bd[4],startTime:fl,frameId:Bd[6],sourceUrl:Jb(Bd[7]),anchor:Bd[10],guessedName:Bd[11],sourceView:void 0};16===Bd.length&&(vi.sourceView={name:Jb(Bd[12]),timestamp:parseInt(Bd[13]),group:Jb(Bd[14]),trigger:Hj.trigger,kind:Hj.kind,hydrated:Hj.hydrated,id:Hj.id});Bd=!1;T()!==Jd&&(Bd=Jd.iRO(vi.sourceUrl));!document.referrer||vi.sourceUrl===document.referrer||vi.sourceUrl===document.location.href||Bd?Ei=vi:Gb($i)}else Gb("-")}}}try{Ec(1);
Qg=Mc={id:++Rg,name:jd(t()),timestamp:w,kind:0,trigger:Uf,hydrated:!1};tl();var wk;let de=null===(wk=Ei)||void 0===wk?void 0:wk.sourceView,dg=Fe(de,Mc);Ac(dg);sa("VIEW_STABLE",bj);sa("ACTION_ENTERED",zi);sa("ACTION_BEFORE_SEND",Ue);sa("ACTION_SENT",je);sa("BF_CACHE_RESTORED",sl);ul=Qj(Sj);sa("HISTORY_API_EVENT",Ji);Tc(jb,"popstate",Ji);Tc(jb,"hashchange",Ji);try{gj("pushState"),gj("replaceState")}catch(vg){}we(Tj);sa("VIEW_STABLE",Fk);lj=t()}catch(de){}Sg();Nk();Ld();ie();yf();pk();Fi="0";let Oc=
document.visibilityState;Oc?("hidden"===Oc&&(Fi="1"),Tc(document,"visibilitychange",ye)):Fi="2";ud();qg=0;let hf=!!jb.PerformanceObserver;Dd.cls=!(!hf||!jb.LayoutShift);Dd.fcp=!(!hf||!jb.PerformancePaintTiming);Dd.fp=!(!hf||!jb.PerformancePaintTiming);Dd.lcpT=!(!hf||!jb.LargestContentfulPaint);Dd.lt=!(!hf||!jb.PerformanceLongTaskTiming);var Ll,gl,hl,jm=jb.PerformanceEventTiming&&jb.PerformanceEventTiming.prototype&&"interactionId"in jb.PerformanceEventTiming.prototype,Ml=null===(hl=null===(gl=null===
(Ll=jb.PerformanceObserver)||void 0===Ll?void 0:Ll.supportedEntryTypes)||void 0===gl?void 0:gl.includes)||void 0===hl?void 0:hl.call(gl,"event");Dd.inp=!(!jm||!Ml);wb("pt")&&((Dd.fp||!1)&&Il(),(Dd.lcpT||!1)&&rk());Hl();Ch=[];wb("lt")&&Dd.lt&&cl();bg();if(Dd.inp){var Nl=Ya();sa("VIEW_CHANGE",cg.bind(null,Nl));sa("VIEW_END",Yg.bind(null,Nl));var xk=Ya();sa("PAGE_END",Zi.bind(null,xk))}sa("ACTION_CLOSED",xe);sa("ACTION_BEFORE_SEND",dl);yl();Si();we(qj);sa("DEBUG_INFO_REQUESTED",Pi);Md();Zd();sa("DEBUG_INFO_REQUESTED",
ui);Bg();sa("DEBUG_INFO_REQUESTED",nf);Wa="undefined"==typeof jb.dT_?!1:("undefined"==typeof jb.dtrum&&(jb.dtrum=new il),!0)}if(!Wa)return!1;let eg=T();eg.initialized=!0;let wi=eg.initCallback;"function"==typeof wi&&wi()}catch(eg){return!1}return!0}var Ie=this.dT_&&dT_.prm&&dT_.prm()||window.Promise,mb="undefined"!=typeof window?window:self,jb="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0,$k=jb.navigator,Ij={u:"transferSize",v:"encodedBodySize",w:"decodedBodySize",
L:"workerStart",M:"dtRpid",V:"dtSInfo",W:"dtTao",X:"responseStatus"},Gi={x:"statuscode",y:"ip",A:"failedResource",C:"requestId",E:"relevance",F:"relevantArea",K:"isCritical",N:"vcIrrelevanceReason",O:"imageWidth",P:"imageHeight",Q:"imageNaturalWidth",R:"imageNaturalHeight",S:"onloadTime",T:"rtRequestId",U:"certExpDate"},xf={o:"domInteractive",p:"domContentLoadedEventStart",q:"domContentLoadedEventEnd",r:"domComplete",s:"loadEventStart",t:"loadEventEnd"},$g={c:"redirectStart",d:"redirectEnd",e:"fetchStart",
f:"domainLookupStart",g:"domainLookupEnd",h:"connectStart",i:"connectEnd",j:"secureConnectionStart",k:"requestStart",l:"responseStart",m:"responseEnd"},af=Ka(Ka(Ka({},$g),{n:"domLoading"}),xf),$e=Ka(Ka(Ka({},$g),xf),Ij),Og=Ka(Ka(Ka({},$g),Ij),Gi);Ka(Ka(Ka({},Og),af),$e);var cj=-1,qf=Va("dtPC"),og=Va("dtCookie");Va("rxvt");Va("rxVisitor");Va("dTValidationCookie");var gh=Va("dtSa"),ol=function(){for(var a,b=[],f=0;256>f;f++){a=f;for(var k=0;8>k;k++)a=a&1?3988292384^a>>>1:a>>>1;b[f]=a}return b}(),aj=
Symbol.for("dt_2");Symbol.for("dt_3");var Cf=0,Ci=1/0,ke=0,$d,Nd,Di,ch,Bc,Hb,dc,of,Gf,Vf,pi,dj,Kh,cf,be,Sd,mh,eh,jh,Pj,nh,Fg,rg,qi,ri,gc,wb,Lb,Fc,sg,Je,we,Jg,gf,ve,Dg,Eh,Td,tg,Qh,pg,fj,Ud,kh,Oh,Fj,Gj,si,uk,ti,lh,Zg,Ub,oi,me,tf,Dc,Tc,dk,vk,ug,ui,hh,pf,Pg,Eg,ej,ue,se,Vh,ae={CONFIG_UPDATE:[],ACTION_CLOSED:[],ACTION_BEACON_FORCED:[],ACTION_BEFORE_SEND:[],ACTION_SENT:[],ACTION_ENTERED:[],ACTION_LEFT:[],VIEW_CHANGE:[],VIEW_STABLE:[],DEBUG_INFO_REQUESTED:[],CSS_TRANSMISSION_STARTED:[],VISUALLY_COMPLETE:[],
GLOBAL_EVENT_FIRED:[],HISTORY_API_EVENT:[],VISIBILITY_CHANGED:[],LOAD_END:[],INSTRUMENTATION_TRIGGERED:[],PAGE_LEAVING:[],HTTP_RESPONSE:[],OPT_IN_STATE_CHANGED:[],PAGE_END:[],VIEW_END:[],BF_CACHE_RESTORED:[],REQUEST_STARTED:[],REQUEST_COMPLETED:[]},le=!1,td=0,te=[],Od=[],dd,Jh,Cd,Df,e=1,h=Da,p=!1,w=-1,G,ha=[],qa=!1,Ba,sb,Qb,Zb={"^":"^^","|":"^p",",":"^c",";":"^s"},ed=function(a){let b={};for(let f in a)da(a,f)&&(b[a[f]]=f);return b}(Zb),dh="^><%/\\(){}[]".split(""),ng=0,Ef=[],xi=!0,fh=[],Ig=[],rf,
Tf=[],yk=0,Yc="-",Gg=0,Rg=0,Mc,Qg,Hg=[],Uf=0,Ze=0,Jj=[],Rl={name:"",type:"",validUntil:0,start:0,target:void 0,url:"",title:"",view:void 0},sf,Ff,zk,Ak,Ye,Kj,Bk=-1,Ei=null,kl=[],Ck=[],ll=!1,Lj={_csprv_:{blockedURL:Na,documentURL:Na,referrer:Na,sourceFile:Na},_customerror_:function(a,b){return"name"===a?Xa(a,b,!0,1E3):Xa(a,b,!0,Lb("mcepsl"))},_vc_:{VE:function(a,b){return b}},_dj_:function(a,b){return b},_wv_:{lcpU:Na}},Ek,Fh=class{constructor(){this.id=++Ek;this.sendingListeners=[];this.isBinary=
this.beaconTriggered=!1;this.G=[]}addBeaconRequestListener(a){this.sendingListeners.push(a)}removeBeaconRequestListener(a){for(let b=0;b<this.sendingListeners.length;b++)if(this.sendingListeners[b]===a){N(this.sendingListeners,b);break}}updateBeaconSendingStatus(a,b,f,k){for(let n of this.sendingListeners)n(a,b,f,k)}shouldTriggerBeaconRequest(){return this.beaconTriggered}addRawData(a){this.rawData=a;"string"!=typeof a&&(this.isBinary=!0)}toRawBeaconData(){return this.rawData}addParam(a,b,f=!1){this.beaconTriggered=
this.beaconTriggered||f;this.G.push([a,b])}addParamIfNotNull(a,b,f){b&&this.addParam(a,b,f)}getParam(a){for(let b of this.G)if(b[0]===a)return b[1];return""}toStringBeaconData(){let a=[];for(let b of this.G)a.push("$",b[0],"=",b[1]);return a.join("")}raw(){return this.G}},ih,Nj,Kg,Lh=jb.parent,ml=[],Dk=[],Mj="",Xf=class{G(){return new Fh}ma(a,b){if(xi)return null;let f=this.G();return wb("bs")&&f.addParam("bs","1",!1),X(lc,this,a,b,f),f.shouldTriggerBeaconRequest()?f:null}Z(a,b,f,k){f.addParamIfNotNull("isUnload",
k?"1":"",!1);f.addParamIfNotNull("latC","0",!1);f.addParamIfNotNull("app",Fc("app"),!1);f.addParam("vi",eh(),!1);f.addParamIfNotNull("dnt",Wb()?"1":"",!1);f.addParam("fId",ve(),!1);k=ya();let n=se;f.addParam("v",k,!1);n!==k&&f.addParam("iv",n,!1);a||(k=Td(),this.av(f,"vID",k),this.ha(f)&&Eh()&&this.av(f,"nV","1"));!a&&b&&tg()&&f.addParam("nVAT","1",!1);a=f.addParamIfNotNull;b=encodeURIComponent;k=ha;k=(ha=[],k);a.call(f,"vcr",b(k.join(",")))}ba(a){let b=sb;b&&le&&(a.addParam("responseCode",b.responseCode,
!1),a.addParamIfNotNull("responseMessage",Vf(b.message),!1),sb=void 0)}I(a=!1,b=!1,f=!1){if(a){var k=[];var n="",v="",K=te,Z={ob:0};for(let ub of K){K=ub;var la=Z;if(K.bd(la.ob))K={Pd:!0,Qd:!0};else{la.ob++;var Oa=K.bd(la.ob+K.pb);K=(Oa||(la.ob+=K.pb),{Pd:!1,Qd:Oa})}Oa=K;if(!Oa.Pd){n||(n=ub.getRootReferer());v=ub.getRootReferer();if(ub.parentFrameActionName){K=k;la=K.push;var db=ub.Cc;db=[0,ub.Ed,pb(ub.parentFrameActionName),db].join("|");la.call(K,db)}k.push(ub.cc(Oa.Qd))}}k={actionsAndEvents:k.join(","),
referer:n,sourceUrl:v}}else k=Db(b,f);n=0<k.actionsAndEvents.length;let Wa;if(n){if(Wa=this.G(),Wa.addParam("a",Vf(k.actionsAndEvents),!0),Fc("domainOverride")&&(Wa.addParam("dO",Fc("domainOverride"),!1),sg("domainOverride","")),wb("bs")&&Wa.addParam("bs","1",!1),a&&Wa.addParam("PV","1",!1),T().pageId!==ve()&&Wa.addParam("pId",T().pageId,!1),Nj&&Wa.addParam("pFId",Nj,!1),Wa.addParam("rId",Fc("rid"),!1),Wa.addParam("rpId",Fc("rpid"),!1),!a){a:{v=(Z=jb.performance)?Z.timing:!1;if(Z&&v&&(Z=v.domComplete,
v=v.domContentLoadedEventEnd,Z||v)){v=Z||v;break a}v=Ba}v&&Wa.addParam("domR",v,!1);this.ba(Wa)}I(f)&&Wa.addParam("unload","xhr",!1);X(lc,this,a,b,Wa);xi=!1}else Wa=this.ma(a,b);return Wa&&(this.ia(k.sourceUrl,Wa),this.Z(a,n,Wa,f)),{beacon:Wa,referrer:k.referer}}ia(a,b){let f=t();b.addParam("url",encodeURIComponent(f),!1);b.addParam("title",Vf(Nc(document.title,100)),!1);var k=b.getParam("a");k=k&&(k.startsWith("s")||k.startsWith("d"));a&&a!==f&&!k&&b.addParam("sUrl",encodeURIComponent(a),!1)}av(a,
b,f,k,n){f="function"==typeof f?f():f;"undefined"!=typeof f&&null!==f&&""!==f&&a.addParam(b+(n||""),f,k)}ha(a){return!!a.getParam("a")}hla(a){return a.getParam("a").includes("_load_")}ar(a,b){a.addRawData(b)}aBRL(a,b){a.addBeaconRequestListener(b)}rBRL(a,b){a.removeBeaconRequestListener(b)}},Ol=class extends Error{constructor(a){super();this.status=a}},jl=class extends Ol{constructor({status:a,message:b,Ea:f,Zb:k}){super(a);this.message=b||"";this.Ea=f;this.Zb=k}},Wf,am=[],Pl=class{constructor(a){this.G=
a;this.Z=a.Hc?"application/octet-stream":"text/plain;charset=UTF-8"}send(){return ld(this.G.path),this.I().then(a=>this.rc(a)).catch(a=>this.kb(a))}ia(){return J(this.G.referer,Lb("mhl"))}Fa(){let {referer:a}=this.G;return!!a&&a!==t()&&!wb("cors")}updateBeaconSendingStatus(a,b){let {Ce:f,De:k,beacon:n}=this.G;try{n.updateBeaconSendingStatus(a,b,f,k)}catch(v){}}Oa(a){if(!("object"==typeof a&&a&&"status"in a&&Pg(a,7))){a="object"==typeof a&&a&&"message"in a?a.message:"";var b;if(b=this.Ea())b=Df,b=
!!(b.sf||b.msf||b.ff)&&"sendBeacon"in navigator&&!wb("dsndb");a=new jl({status:0,message:a,Ea:b,Zb:this.G})}return a}rc({body:a,status:b}){if(this.ba("success",a||b),a){b=(null==a?void 0:a.split("|"))||[];b.splice(0,1);for(let Oa of b){b=a;let [db,Wa]=Oa.split("=");if(db===og()||"sn"===db){if(b=decodeURIComponent(Wa),cf(b)){mh(b);b=og();try{jb.sessionStorage.removeItem(b)}catch(ub){}}}else if("name"===db)try{if(!wb("eao")){var f=pi(),k=jb.localStorage.getItem(f),n=Fc("cuc"),v=0;if(k){let ub=rg(k),
Ob=qi(ub.config||"",ub);v=parseInt(Ob.lastModification||"0")}var K=rg(b),Z=qi(K.config||"");if(!n||!Z.cuc||n===Z.cuc){var la=parseInt(Z.lastModification||"0");la>v&&(jb.localStorage.setItem(f,b),ri(Z),gc(Z,!0),ti(Z),Zg(Z),la>+(Wf.lastModification||0)&&(Wf=Je(Z),H({kind:"CONFIG_UPDATE",detail:Wf})))}}}catch(ub){}else"enabled"===db&&"false"===Wa&&md("Cost Control")}}}ba(a,b){for(let f of gf())f(this.G.beacon,a,b)}kb(a){a=this.Oa(a);100<=fh.length||fh.push(a);if(this.ba("fail",a.status),429===a.status){for(let b of te)b.uc();
return md("Overload Prevention"),Ie.resolve()}if(!qa)try{let b=pi();jb.localStorage.removeItem(b)}catch(b){}return a.Ea?Ie.reject(a):Ie.resolve()}},km=jb.fetch,bm=class extends Pl{constructor(a){super(a);a=a.Yb;let b={["Content-Type"]:this.Z};this.Fa()&&(b["x-dtreferer"]=this.ia());this.ma={method:"POST",credentials:"same-origin",headers:b,body:a,keepalive:"string"==typeof a&&65536>a.length};this.sc()}sc(){let a=Lb("xt");if(a){var b=new AbortController;mb.dT_.st(b.abort.bind(b),a);this.ma.signal=
b.signal}}I(){try{return km(this.G.path,this.ma).then(a=>this.ib(a))}catch(a){return Ie.reject(a)}}ib(a){if(this.updateBeaconSendingStatus(XMLHttpRequest.DONE,a.status),!a.ok||200!==a.status)throw new Ol(a.status);return a.text().then(function(b){return{body:b,status:a.status}})}Ea(){return!0}},nl=class extends Pl{constructor(a){super(a)}I(){let {path:a,Yb:b}=this.G,f=!1;try{f=navigator.sendBeacon(a,b||"")}catch(k){}return f?(this.updateBeaconSendingStatus(XMLHttpRequest.DONE,200),Ie.resolve({status:200,
body:void 0})):(this.updateBeaconSendingStatus(XMLHttpRequest.DONE,0),Ie.reject(new Ol(0)))}Ea(){return!1}},$l=class extends Pl{constructor(a){super(a);this.xhr=vk()}I(){let {path:a,Yb:b}=this.G,f=this;return new Ie(function(k,n){let v=f.xhr;v.open("POST",a,!0);v.setRequestHeader("Content-Type",f.Z);f.Fa()&&v.setRequestHeader("x-dtreferer",f.ia());v.addEventListener("readystatechange",function(){f.updateBeaconSendingStatus(v.readyState,v.status);v.readyState===XMLHttpRequest.DONE&&(200===v.status?
k({body:v.responseText,status:v.status}):n(new jl({status:v.status,Ea:!0,Zb:f.G})))});v.send(b)})}},Sl=class extends $l{constructor(a){super(a);(a=Lb("xt"))&&(this.xhr.timeout=a,this.xhr.ontimeout=()=>this.ma())}ma(){try{this.xhr.abort()}catch(a){}}Ea(){return!0}},Lg=!1,pl,Mg,Mh,Nh,Ng,im={Ge:gg},Fi,Yl=0,cm="function"==typeof PerformanceResourceTiming||"object"==typeof PerformanceResourceTiming,dm="function"==typeof PerformanceNavigationTiming||"object"==typeof PerformanceNavigationTiming,Hi="function"==
typeof PerformanceTiming||"object"==typeof PerformanceTiming,fm={navigate:0,reload:1,yg:2,Gh:3},gm={unknown:0,xmlhttprequest:1,fetch:2,beacon:3,iframe:4,frame:5,subdocument:6,img:7,image:8,css:9,svg:10,link:11,script:12,input:13,body:14,object:15,embed:16,source:17,audio:18,video:19,track:20,eventsource:21,other:22,icon:23},Ph={},ql=Math.pow(2,-52),em=["dtRpid","dtSInfo","dtTao","dtRequestID"],Tl=!1,rl,wg=["_warning_","_error_","_log_","_rs_"],hm=class{constructor(a,b,f,k,n,v,K,Z,la,Oa,db,Wa,ub={readyState:-1,
status:-1},Ob=-1,Eb,cc,ac,Rd,Sc=h()){this.start=a;this.stop=b;this.type=f;this.name=k;this.info=n;this.domNodes=v;this.referer=K;this.title=Z;this.isCustomAction=Oa;this.Xa=db;this.Kc=ub;this.guessedName=Eb;this.ib=cc;this.tc=Rd;this.id=Sc;this.depth=1;this.Za=this.Qb=0;this.qa=-1;this.zc=this.pb=0;this.Sa=-1;this.cb="";this.subActions=[];this.ia=[];this.Ma=[];this.status=0;this.I=[];this.childFrameActions=0;this.ba=!1;this.Na=this.Ba=0;this.Md=!1;this.Jb=0;this.xhrUrl="";this.ma=!1;this.Od(la);this.Ud=
Fi;this.Aa(b);this.status=Wa?3:0;this.Ja=0<=Ob;this.Za=Math.max(Ob,0);ac&&(this.sourceView=ac)}getRootReferer(){return this.parent?this.parent.getRootReferer():this.referer}Ha(){return this.parent?this.parent.Ha():this.id}Aa(a){this.ma||(this.stop=a,td=Math.max(td,this.stop))}ld(){this.ma=!0}Tc(a,b=!1){3===this.status&&!b||a&&a.name&&(a.depth=this.depth+1,this.subActions.push(a),a.oc()&&(this.Jb++,this.pd(1)),a.parent=this,a.Ja||this.wb(),a.Za+=this.Za,a.Qb=this.Qb+ +a.Ja)}sd(){return 3===this.status&&
!this.qc()}close(a,b,f,k=!1){this.domNodes=document.getElementsByTagName("*").length;this.start=b||this.start;b=!1;let {start:n,stop:v,id:K,Jb:Z}=this;if(a){let la;f?(b=!0,la=Math.max(a,n)):la=Math.max(a,n,v);this.Aa(la)}return Z?(this.status=1,!1):3===this.status?!1:(this.status=3,H({kind:"ACTION_CLOSED",detail:{s:this.stop,a:n,r:this.Ha(),i:K,f:k,t:this.type,x:this.xhrUrl,dne:b,rt:void 0,cs:this.Ba,ce:this.Na,xe:this.Sa,xm:this.cb,in:this.info}}),!0)}ad(){this.pb--;this.parent&&this.parent.ad()}$b(a,
b,f,k=!1){if(this.close(a,b,f,k)){var n=this.parent;if(n){n.Jb--;this.Z()||n.ad();let v=n.stop;n.Aa(Math.max(this.stop,v));Hb(()=>{this.kb(n,v)},0);1===n.status&&n.$b(a)}}}kb(a,b){this.Ja&&(Dc(this.qa),a.stop===this.stop&&(a.stop=b),a.mf(this),delete Cd.actions[this.id])}bd(a){return a+1>Lb("moa")&&!this.Z()}rc(){let a=this.bestMatchingResource||xc(this.xhrUrl,"fetch"===this.info?"fetch":"xmlhttprequest",this.start,3===this.status?this.stop:0);return Ne(a)?a:null}We(){let a=this.rc();if(!a||0>=a.startTime)return[];
this.Fa(a);let b=["b",me()+Math.round(a.startTime)];return qe(a,b,a.startTime),b}Ad(){let {start:a,stop:b,id:f}=this;for(let k of this.subActions)k.Ad();H({kind:"ACTION_BEFORE_SEND",detail:{s:b,a,i:f,r:this.Ha()}})}vc(a){let {start:b,stop:f,id:k,type:n,xhrUrl:v,Ba:K,Na:Z,cb:la,Sa:Oa,G:db}=this;for(let Wa of this.subActions)Wa.vc(a);H({kind:"ACTION_SENT",detail:{s:f,a:b,r:this.Ha(),i:k,f:a,t:n,x:v,rt:db,cs:K,ce:Z,xm:la,xe:Oa,in:this.info}});Dc(this.qa);delete Cd.actions[this.id];this.Md=!0}uc(){this.Bf=
!0;E(this.subActions,function(a){a.uc()})}qc(){return!!this.I.length}Qe(){return this.Ra=this.start+1E4,this.Nb=100,this}Ff(){this.bf=dc()}Me(){this.Oa=dc()}Ve(){return!!this.bf&&!this.Oa}oc(){return 1===this.status||0===this.status}Db(){return(this.Ja&&3===this.status||this.Xa&&!(0<this.zc))&&this.parent?this.parent.Db():this}cc(a){let {depth:b,domNodes:f,ia:k,subActions:n}=this;f||(this.domNodes=document.getElementsByTagName("*").length);let v=[];E(k,function(K){v.push(ab(K,b+1))});for(let K=0;K<
n.length&&!a;K++)v.push(n[K].cc());return v.unshift(this.Ca()),v.join(",")}Ca(){let {depth:a,stop:b,start:f,id:k,type:n,info:v,status:K,name:Z}=this,la=[];la[0]=a+"";la[1]=k+"";la[2]=pb(Z);la[3]=pb(n);la[4]=pb(v)||"-";la[5]=f+"";la[6]=(3===K?b:0)+"";var Oa=this.sc();for(let db of Oa)(Oa=db[1])&&("string"==typeof Oa?Oa=pb(Oa):"boolean"==typeof Oa?Oa=+Oa+"":Oa+="",la.push(db[0]+"",Oa));return la.join("|")}sc(){let {childFrameActions:a,xhrUrl:b,isCustomAction:f,Na:k,guessedName:n,Ba:v,start:K,name:Z,
domNodes:la,Sa:Oa,cb:db,sourceView:Wa,Gf:ub,Ud:Ob}=this,Eb=this.Ma.slice();Eb.push(["dn",la],["cfa",a],["xu",b],["ica",f],["gn",n]);var cc=Eb.push;var ac=[];if(0!==Uf){var {name:Rd,timestamp:Sc,group:ee}=Mc;ac=(Wa&&(Wa.name!==Rd&&ac.push(["svn",Wa.name]),Wa.timestamp!==Sc&&ac.push(["svt",Wa.timestamp]),Wa.group&&Wa.group!==ee&&ac.push(["svg",Wa.group]),ac.push(["svtrg",Wa.trigger]),ac.push(["svm",Ja(Wa)])),ub&&(ub.name!==Rd&&ac.push(["tvn",ub.name]),ub.timestamp!==Sc&&ac.push(["tvt",ub.timestamp]),
ub.group&&ub.group!==ee&&ac.push(["tvg",ub.group]),ac.push(["tvtrg",ub.trigger]),ac.push(["tvm",Ja(ub)])),ac)}return cc.call(Eb,...ac),b&&!wb("ntd")&&Eb.push(["xrt",this.We().join("")]),"_load_"===Z&&"undefined"!=typeof document&&Eb.push(["lr",document.referrer]),"0"!==Ob&&Eb.push(["bg",Ob]),v&&k&&(0<v?Eb.push(["xcs",v-K]):Eb.push(["xcs",v]),0<k?Eb.push(["xce",k-K]):Eb.push(["xce",k])),-1!==Oa&&Eb.push(["rc",Oa]),db&&Eb.push(["rm",db]),this.G&&this.stop<this.G.responseEnd&&this.tc&&Eb.push(["sd",
1]),Eb}Af(){return 3600001<=dc()-this.start?(this.vc(!1),!0):!1}Od(a){this.xhrUrl=a.trim()}vf(a){this.bestMatchingResource=a;this.Fa(a)}Fa(a){Ne(a)&&(this.G===a||"rtRequestId"in a||(a.rtRequestId=--Yl,this.G=a))}wb(){this.Ja&&(this.Ja=!1,this.Aa(this.Oa||this.stop),this.Qb=0,this.Za=0,this.parent&&this.parent.wb())}Rc(a){this.wb();this.Aa(Math.max(a.timestamp,this.stop));let b=this.parent;for(;b;)b.Aa(Math.max(b.stop,this.stop)),b=b.parent;this.ia.push(a)}ye(){let a=(b=-1)=>{var f;N(this.I,this.I.indexOf(a));
this.Aa(Math.max(b,this.stop));this.qc()||null===(f=this.ib)||void 0===f||f.Ge()};return this.I.push(a),a}we(a,b){this.Ma.push([a,b])}vd(){this.ba=!0}zf(a){this.ba||(a>this.stop&&3===this.status?this.Ba=-6:this.Ba=a)}yf(a){this.ba||(a>this.stop&&3===this.status?this.Na=-6:this.Na=a)}pd(a){this.pb+=a;let b=3===this.status;if(b&&(this.status=1),this.parent)b&&(this.Z()||a++,this.parent.Jb++),this.parent.pd(a)}Z(){return wg.includes(this.type)}mf(a){let b=this.subActions;for(let f=b.length-1;0<=f;f--)if(b[f]===
a){N(b,f);a.parent=void 0;break}}},Ul="loadEventEnd loadEventStart domComplete domContentLoadedEventEnd domContentLoadedEventStart domInteractive responseEnd".split(" "),bf=[],tk={dtAWF:function(a,b,f,k,n,v){let K;return k&&!bh(k)?(bf.push({xhrUrl:F(Ga(n||"")),actionId:k,featureHash:v||""}),K=a.apply(b,f||[]),"g"===v?Hb(function(){for(let Z=0;Z<bf.length;Z++)if(bf[Z].actionId===k){N(bf,Z);break}},0):bf.pop()):K=a.apply(b,f||[]),K}},Rh,Sh=null,Ii=null,Th,Oj,ul,lj="",Gk=function(a,b,f){return b[a]=
f||!0,b}.bind(null,aj),Vl={dtAWF:function(a,b,f){return a.apply(b,f||[])}},hj,Ki=!1,Yh=!1,Ik=!1,oh=1,qh=null,mj=!1,ij,Tg=!1,rh=!1,Wl=-1,ph,If=0;setInterval(function(){0<If&&If--},3E4);var xl=["javaLong","date","shortString","javaDouble"],uh=class a{constructor(b){this.actionId=b;this.I=[];this.G=[]}Rd(b,f,k){ah(b,f,k,this.actionId);this.I.push({key:f,value:k})}dd(b,f,k){b=pj(b,k);this.G.push({key:f,reason:b});a.G++}nd(){return this.I}kc(){return this.G}Z(){return ek(this,a.G)}};uh.G=0;var Zf={},rj=
class a{constructor(){this.G=[];this.Oa=[];this.ma=new Map;this.ba=new Map;this.Fa=new Map;this.ia=new Map;this.I=0}Rd(b,f,k){switch(b){case "_uapl_":this.ma.set(f,k);break;case "_uapdbl_":this.ia.set(f,k);break;case "_uaps_":this.Fa.set(f,k);break;case "_uapdt_":this.ba.set(f,k);break;default:return}this.I++;this.Oa.push({key:f,value:k})}dd(b,f,k){b=pj(b,k);this.G.push({key:f,reason:b});a.G++}kb(){return 0<this.I}nd(){return this.Oa}kc(){return this.G}ib(){let b=[];for(let f of this.G)b.push(f.key);
return b}Z(b,f){ai(this,f.javaLong,f.date,f.shortString,f.javaDouble);this.ma.forEach(function(k,n){var v;null!==(v=b.spL)&&void 0!==v||(b.spL=new Map);b.spL.set(n,k+"")});this.ba.forEach(function(k,n){var v;null!==(v=b.spD)&&void 0!==v||(b.spD=new Map);b.spD.set(n,k+"")});this.Fa.forEach(function(k,n){var v;null!==(v=b.spSS)&&void 0!==v||(b.spSS=new Map);b.spSS.set(n,pb(k+""))});this.ia.forEach(function(k,n){var v;null!==(v=b.spDb)&&void 0!==v||(b.spDb=new Map);b.spDb.set(n,k+"")})}};rj.G=0;var vh,
gk=[],hk,Ql=[0,1,2,3],il=class{setAutomaticActionDetection(a){fc(a,"boolean")?(1<arguments.length&&sc(),zc("saad"),gb(a)):Pb()}setLoadEndManually(){0<arguments.length&&sc();zc("slem");Tg=!0}signalLoadEnd(){0<arguments.length&&sc();zc("sle");Vj()}markAsErrorPage(a,b){return fc(a,"number")&&fc(b,"string")?(2<arguments.length&&sc(),zc("maep"),Lk(a,b)):(Pb(),!1)}markXHRFailed(a,b,f){return fc(a,"number")&&fc(b,"string")&&nb(f,"number")?(3<arguments.length&&sc(),zc("mxf"),Ce(a,b,+f||-1)):(Pb(),!1)}sendBeacon(a,
b,f){fc(a,"boolean")&&fc(b,"boolean")&&fc(f,"boolean")?("undefined"!=typeof a&&Vb("parameter","forceSync","This parameter has been deprecated and has no effect anymore. Beacons are always sent asynchronously."),3<arguments.length&&sc(),zc("ss"),Gh(b,f)):Pb()}enterAction(a,b,f,k){if(!fc(a,"string")||!nb(k,"string"))return Pb(),0;b&&Vb("parameter","actionType","This parameter is deprecated and has no effect anymore.");5<arguments.length&&sc();zc("ea");let n=f;if(n){if(!+n)return Pb(),0;n=Jf(n)}return kg(a,
"",+n,!1,void 0,void 0,!0,k)}addEnterActionListener(a){rc(a)?(1<arguments.length&&sc(),zc("aeal"),Xc(a)):Pb()}removeEnterActionListener(a){if(rc(a)){1<arguments.length&&sc();zc("real");let b=a.dtWF;b&&U("ACTION_ENTERED",b)}else Pb()}leaveAction(a,b,f){if(fc(a,"number")&&nb(b,"number")&&nb(f,"number")){3<arguments.length&&sc();zc("la");var k=fb(a);if(k)if(k.isCustomAction){(k=f)&&(k=Jf(k));var n=b;n&&(n=Jf(n));Te(a,n,k)}else vb(`"dtrum.leaveAction" can only be called for actions created by dtrum, and action with id of "${a}" is not a custom action!`);
else ci()}else Pb()}addLeaveActionListener(a){rc(a)?(1<arguments.length&&sc(),zc("alal"),Ee(a)):Pb()}removeLeaveActionListener(a){if(rc(a)){1<arguments.length&&sc();zc("rlal");let b=a.dtWF;b&&U("ACTION_LEFT",b)}else Pb()}addActionProperties(a,b,f,k,n){if(fc(a,"number")&&nb(b,"object")&&nb(f,"object")&&nb(k,"object")&&nb(n,"object")){if(5<arguments.length&&sc(),fb(a))return zc("aap"),uc(a,b,f,k,n);ci()}else Pb()}reportError(a,b){("object"!=typeof a&&"string"!=typeof a||null===a?0:"object"==typeof a&&
"message"in a||"string"==typeof a)&&nb(b,"number")?(2<arguments.length&&sc(),zc("re"),sh(a,b,!1,"0")):Pb()}identifyUser(a){fc(a,"string")?(1<arguments.length&&sc(),zc("iu"),pc())?vb("navigator.doNotTrack is enabled on the browser"):(oj("rx_visittag",a,-1),jb.dynatrace&&"identifyUser"in jb.dynatrace&&rc(jb.dynatrace.identifyUser)&&jb.dynatrace.identifyUser(a)):Pb()}addPageLeavingListener(a){rc(a)?(1<arguments.length&&sc(),zc("apll"),sa("PAGE_LEAVING",function(b){a(b.detail)})):Pb()}beginUserInput(a,
b,f,k){return(ca(a)||fc(a,"string"))&&fc(b,"string")&&nb(f,"string")&&nb(k,"number")?(4<arguments.length&&sc(),zc("bui"),cd(a,b,f,k)):(Pb(),{})}endUserInput(a){("object"!=typeof a||null===a?0:"object"==typeof a&&"name"in a&&"info"in a&&"title"in a)?(1<arguments.length&&sc(),zc("eui"),D(a)):Pb()}enterXhrAction(a,b,f){var k;if(!(k=!fc(a,"string"))){a:{for(let n in Ql)if(Ql[n]===b){k=!0;break a}k=!1}k=!k&&!nb(f,"string")}if(k)return Pb(),-1;k=b;2===b&&(Vb("parameter","xmode 2","xmode 2 is deprecated and will fallback to value of 1."),
k=1);3<arguments.length&&sc();f||vb("No XHR URL was provided, which will result in the request being marked as `/undefined` in the waterfall! In the future, this argument will be required!");return zc("exa"),Be(a,k,f+"",!0)}leaveXhrAction(a,b){if(fc(a,"number")&&nb(b,"number")){2<arguments.length&&sc();zc("lxa");var f=wc(a);f?f.isCustomAction?((f=b)&&(f=Jf(b)),Rf(a,f)):vb(`"dtrum.leaveXhrAction" can only be called for actions created by dtrum, and action with id of "${a}" is not a custom action!`):
ci()}else Pb()}enterXhrCallback(a){fc(a,"number")?(1<arguments.length&&sc(),wc(a))?(zc("exc"),Wd(a)):ci():Pb()}leaveXhrCallback(a){fc(a,"number")?(1<arguments.length&&sc(),wc(a))?(zc("lxc"),De(a)):ci():Pb()}signalOnLoadStart(){0<arguments.length&&sc();zc("sols");Xj()}incrementOnLoadEndMarkers(){0<arguments.length&&sc();zc("iolem");jj()}signalOnLoadEnd(){0<arguments.length&&sc();zc("sole");Xh()}actionName(a,b){return fc(a,"string")?nb(b,"number")?(2<arguments.length&&sc(),zc("an"),ad("an",S(a),+b)?
0:1):(Pb(),3):(Pb(),2)}endSession(){0<arguments.length&&sc();zc("es");nj()}now(){return 0<arguments.length&&sc(),zc("n"),dc()}enable(){0<arguments.length&&sc();zc("e");si()?H({kind:"OPT_IN_STATE_CHANGED",detail:!0}):vb("Call to dtrum.enable() had no effect since RUM JavaScript agent was already enabled or opt-in mode was not active!")}disable(){0<arguments.length&&sc();zc("d");uk()?H({kind:"OPT_IN_STATE_CHANGED",detail:!1}):vb("Call to dtrum.disable() had no effect since RUM JavaScript agent was already disabled or opt-in mode was not active!")}addVisitTimeoutListener(a){rc(a)?
(1<arguments.length&&sc(),zc("avtl"),Oh(a)):Pb()}enableSessionReplay(a){if(fc(a,"boolean")){1<arguments.length&&sc();zc("esr");var b=jb.dT_;b&&b.srel&&b.srel(a)}else Pb()}disableSessionReplay(){0<arguments.length&&sc();zc("dsr");let a=jb.dT_;a&&a.srel&&a.srdl()}getAndEvaluateMetaData(){0<arguments.length&&sc();zc("gaemd");let a=jb.dT_;return a&&a.gEMD&&a.iRHCA?a.gEMD():[]}enablePersistentValues(){0<arguments.length&&sc();zc("epv");Gj()}disablePersistentValues(a){fc(a,"boolean")?(1<arguments.length&&
sc(),zc("dpv"),Fj(a)):Pb()}registerPreDiffMethod(a){if(rc(a)){1<arguments.length&&sc();zc("rpdm");var b=jb.dT_;b&&b.srel&&Array.isArray(b.srpdm)&&b.srpdm.push(a)}else Pb()}sendSessionProperties(a,b,f,k){if(nb(a,"object")&&nb(b,"object")&&nb(f,"object")&&nb(k,"object"))return 4<arguments.length&&sc(),zc("ssp"),Oi(a,b,f,k);Pb()}reportCustomError(a,b,f,k){if(fc(a,"string")&&fc(b,"string")&&nb(f,"string")&&(nb(k,"number")||nb(k,"boolean")))if(4<arguments.length&&sc(),zc("rce"),a&&b){var n=[["type",a],
["name",b]];f&&n.push(["hint",f+""]);Vc("_customerror_",n,k)}else vb("Key or value is missing but mandatory for 'reportCustomError' method!");else Pb()}enableManualPageDetection(){0<arguments.length&&sc();zc("emvd");ul=Sj;Ec(3)}setPage(a){return"object"==typeof a&&null!==a&&"group"in a&&"name"in a&&fc(a.name,"string")&&(!a.group||fc(a.group,"string"))?(1<arguments.length&&sc(),zc("sp"),bi(a,3)):(Pb(),-1)}},ik=[],jk,Qi,Kf=!1,tj=!!jb.MutationObserver,xh=jb.MutationObserver?jb.MutationObserver:void 0,
Lf={},ei={},fi={},Ri=[],Ui={},vj,zh={},Zk=[],zj=[],$f={},ce,yj,Bh,Dd={},Dh=null,Ch=[],qg,Vg=0,Wg=0,ki,li,Bj=[],Dj,qk,Cj,Ej,Xl,Xg=[],mi=0,Kl=["click","mousedown","keydown","touchstart"],c=0,d=0,l;(function(){var a,b;if("documentMode"in document&&!isNaN(document.documentMode))null===(a=window.console)||void 0===a||a.log("Internet Explorer detected, agent will not initialize.");else if(a=!(null!==(b=navigator.userAgent)&&void 0!==b&&b.includes("RuxitSynthetic")),!jb.dT_||!jb.dT_.ica)jb.console.log("No initCode available, turning off asyncCore."),
jb.dT_&&(jb.dT_.di=2);else if("initialized"in jb.dT_&&jb.dT_.initialized)jb.dT_.gCP||jb.console.log("Duplicate agent injection detected, turning off redundant asyncCore."),jb.dT_.di=1;else if(a){if(b=(a=jb.dT_)&&a.gCP)b=a.gCP(),a=+(mb.dT_.ncv("buildNumber")||T().version),b=!(b&&!isNaN(a)&&+ya()===a);b||kd()||(delete jb.dT_,jb.console.log("JsAgent asyncCore initialization failed!"))}})()})();
(function(){function Ka(){return Va(this,void 0,void 0,function*(){})}function Va(N,Y,da,Sa){function sa(U){return U instanceof da?U:new da(function(H){H(U)})}return new (da||(da=na))(function(U,H){function W(ma){try{O(Sa.next(ma))}catch(xa){H(xa)}}function T(ma){try{O(Sa.throw(ma))}catch(xa){H(xa)}}function O(ma){ma.done?U(ma.value):sa(ma.value).then(W,T)}O((Sa=Sa.apply(N,Y||[])).next())})}function bb(){}function Ca(N,Y,da){let Sa={actionId:N,te:Y,$e:sa=>"fetch"===sa.initiatorType&&ca.dT_.gto()+
Math.round(sa.startTime)>=Y&&sa.name===ca.dT_.tau(da),wd:[],Qc:void 0};return aa.set(N,Sa),Sa}function Ya(N){let {actionId:Y,te:da,nf:Sa,wd:sa,bestMatchingResource:U,Ee:H}=N;if(da&&Sa&&sa.length){U&&sa.push(U);var W=ca.dT_.cbf(sa,da,Sa,N.Qc);sa.length=0;W&&(N.bestMatchingResource=W,ca.dT_.uabmr(Y,W),null==H||H())}}function Qa(N){aa.forEach(function(Y){let {wd:da,$e:Sa}=Y,sa=ca.dT_.aFr(N,Sa);da.push(...sa);Ya(Y)})}function ya(N){return Va(this,void 0,void 0,function*(){ca.dT_.nw();try{yield new na(function(Y,
da){let Sa=ca.dT_.st(da,1E3);N.Ee=function(){ca.dT_.ct(Sa);Y();aa.delete(N.actionId)};Ya(N)})}catch(Y){}})}function Ma(N,Y,da){if(!ea)return Ka;let Sa=Ca(N,Y,da);return function(sa,U){return Sa.Qc=U,Sa.nf=sa,ya(Sa)}}function La(){(ea=!!va.PerformanceObserver,ea)&&(new PerformanceObserver(function(N){Qa(N.getEntries())})).observe({entryTypes:["resource"]})}function kb(N){let Y={};return N.forEach(function(da,Sa){Y[Sa]=da}),Y}function cb(N,Y){function da(T){let O=T.then;T.then=ca.dT_.wwi(function(ma,
xa){var Ra=[];"function"==typeof ma&&(Ra[0]=function(xb){ca.dT_.ec(Y.actionId);var Ua=xb;if(ca.dT_.iIO(Ua,18)){var fb=Y.actionId;Y.status=Ua.status;Y.statusText=Ua.statusText;"headers"in Ua&&ra.gEMD&&ra.iRHCA&&ra.iRHCA()&&ca.dT_.disE({kind:"HTTP_RESPONSE",detail:{a:fb,h:kb(Ua.headers)}});ca.dT_.mx()&&!Ua.ok&&(Y.hasError=!0,Y.errorReason="abort",-1===Ua.status?ca.dT_.mxc(fb):ca.dT_.mxf(Ua.status,Ua.statusText,fb))}let Fb;try{Fb=X.Kb(ma,this,arguments)}finally{ca.dT_.lc(Y.actionId),Sa()}return Fb});
"function"==typeof xa&&(Ra[1]=function(xb){ca.dT_.ec(Y.actionId);var Ua=xb;ca.dT_.mx()&&ca.dT_.iIO(Ua,7)&&(Y.hasError=!0,ca.dT_.mxg(Ua.message,Y.actionId));let fb;try{fb=X.Lb(xa,this,arguments)}finally{ca.dT_.lc(Y.actionId),Sa()}return fb});Ra=X.then(O,this,Ra);return da(Ra),Ra},O)}function Sa(){if(H=ca.dT_.nw(),!U){U=!0;var T=ca.dT_.nw();W(T,Y.status).then(sa).catch(sa)}}function sa(){ca.dT_.dlx(Y.actionId,H);ca.dT_.disE({kind:"REQUEST_COMPLETED",detail:{i:"fetch",x:Y.url,m:Y.config.method||"GET",
c:Y.status,s:Y.statusText,a:void 0,e:void 0,q:Y.startTime,t:Y.hasError,o:Y.errorReason,n:Y.traceContext}})}let U=!1,H,W=Ma(Y.actionId,Y.startTime,Y.url);da(N)}function za(...N){if(!N.length)return X.fetch(Q,this,N);N=Array.prototype.slice.call(N);var Y="function"==typeof va.Request&&ca.dT_.iIO(N[0],17),da=Y?N[0].url:N[0];"object"==typeof da&&(da=da.toString());if(Y)Y=N[0];else{Y=N[1];var Sa=va.Headers?new va.Headers:{};Y?Y.headers||(Y.headers=Sa):Y={headers:Sa};N[1]=Y}Sa=ca.dT_.nw();let sa=ca.dT_.ex("fetch",
3,da);N=(ca.dT_.disE({kind:"REQUEST_STARTED",detail:{i:"fetch",x:da}}),{url:da,config:Y,ta:N,actionId:sa,startTime:Sa,status:0,statusText:"",errorReason:void 0,hasError:!1,traceContext:ca.dT_.gtc()});N.config.keepalive&&ca.dT_.bcv("dKAH")||ca.dT_.sch(N.config,N.url,N.actionId,void 0,N.traceContext);da=X.fetch(Q,this,N.ta);return cb(da,N),da.then(bb,bb),da}var na=this.dT_&&dT_.prm&&dT_.prm()||window.Promise,ca="undefined"!=typeof window?window:self,va="undefined"!=typeof globalThis?globalThis:"undefined"!=
typeof window?window:void 0,ea,aa=new Map,ra,Q,X={fetch:function(N,Y,da){return ra.aWF(N,Y,da)},then:function(N,Y,da){return ra.aWF(N,Y,da)},Kb:function(N,Y,da){return ra.aWF(N,Y,da)},Lb:function(N,Y,da){return ra.aWF(N,Y,da)}};(function(){var N,Y;(ra=va.dT_)&&null!==(Y=(N=ca.dT_).smbi)&&void 0!==Y&&Y.call(N,"7")&&va.fetch&&(La(),Q=va.fetch,va.fetch=ca.dT_.wwi(za,Q))})()})();
(function(){function Ka(za){var na;null===(na=cb.console)||void 0===na||na.log(`${"[dynatrace]"} ${za}`)}function Va(za){return null===za||"object"!=typeof za?!1:"[object Object]"===Object.prototype.toString.call(za)}function bb(za){let na=!1;for(let ca in za)Object.prototype.hasOwnProperty.call(za,ca)&&Ca(za[ca])&&(Ka(`key "${ca}" contains non-finite numbers: [${za[ca]}] which have been changed to null!`),na=!0);return na}function Ca(za){if("function"==typeof za)za=!0;else if(Array.isArray(za)){let na=
!1;for(let ca of za)Ca(ca)&&(na=!0);za=na}else za=Va(za)?bb(za):!("number"!=typeof za||isFinite(za));return za}function Ya(za,na){let ca={};for(let ea in na)kb.dT_.oHOP(na,ea)&&("dt"===ea?Ka('"dt" is a reserved property and will be discarded!'):ea.startsWith("dt.")?Ka(`"dt.*" is a reserved keyword as a property name. Key "${ea}" will be discarded!`):ca[ea]=na[ea]);var va;na=null!==(va=cb.performance)&&void 0!==va&&va.now?Math.round(1E6*((performance.timeOrigin||performance.timing.navigationStart)+
cb.performance.now())):1E6*Date.now();za=Object.assign(Object.assign(Object.assign({timestamp:na,"event.kind":"RUM_EVENT","event.provider":cb.location.hostname},ca),za),{"dt.rum.application.id":kb.dT_.scv("app"),"dt.rum.sid":kb.dT_.gVI(),"dt.rum.instance.id":kb.dT_.gVID(),"dt.rum.schema_version":"1.2"});return bb(za)&&(za["dt.rum.has_nfn_values"]=!0),za}function Qa(za){let na=kb.dT_.cB();kb.dT_.gBP().ar(na,JSON.stringify(za));kb.dT_.sB(na,!1,!1,{contentType:"event",st:kb.dT_.nw()})}function ya(za){return Va(za)?
!0:(Ka("Provided attributes must be a JSON like object!"),!1)}function Ma(za,na){if(!za||"string"!=typeof za)Ka("Provided event type must be a non-empty string!");else if(ya(na)){{let va=JSON.stringify(Object.assign({"event.type":za},na));try{var ca=(new cb.TextEncoder).encode(va).length}catch(ea){ca=va.length}}za=Ya({"event.type":za,"event.kind":"BIZ_EVENT","dt.rum.custom_attributes_size":ca},na);Qa(za)}}function La(za,na){za&&"string"==typeof za?ya(na)&&(za=Ya({"event.type":za},na),Qa(za)):Ka("Provided event name must be a non-empty string!")}
this.dT_&&dT_.prm&&dT_.prm();var kb="undefined"!=typeof window?window:self,cb="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0;(function(){var za,na;if(cb.JSON&&cb.JSON.stringify&&cb.dT_&&null!==(na=(za=kb.dT_).smbi)&&void 0!==na&&na.call(za,"N")){var ca;null!==(ca=cb.dynatrace)&&void 0!==ca&&ca.sendBizEvent?Object.assign(cb.dynatrace,{sendBizEvent:Ma}):cb.dynatrace={sendEvent:La,sendBizEvent:Ma}}})()})();
(function(){function Ka(m,u,r,E){function L(fa){return fa instanceof r?fa:new r(function(pa){pa(fa)})}return new (r||(r=I))(function(fa,pa){function Na(ab){try{hb(E.next(ab))}catch(yb){pa(yb)}}function Xa(ab){try{hb(E.throw(ab))}catch(yb){pa(yb)}}function hb(ab){ab.done?fa(ab.value):L(ab.value).then(Na,Xa)}hb((E=E.apply(m,u||[])).next())})}function Va(m,u=[]){var r=ua||ka.dT_;r=null!=r&&r.iIO?r.iIO:null;return!(null===r||void 0===r||!r(m,u))}function bb(m){return m&&"IFRAME"===m.nodeName}function Ca(m){return m&&
"IMG"===m.nodeName}function Ya(){return Vd}function Qa(m,u,r){if(!cd[r]){var E=cd;let L=new Image;u={url:r,time:C.dT_.nw(),element:L,Bh:u};m=(kb(L,u,m),L.src=r,L);E[r]=m}return cd[r]}function ya(m,u,r){let E=Cc[u][r]||[];if(m.element){let L=C.dT_.aFI(E,function(fa){return fa.element===m.element});0<=L&&E.splice(L,1)}Ma(m,u,r)}function Ma(m,u,r){Cc[u][r]||(Cc[u][r]=[]);Cc[u][r].push(m)}function La(m,u,r){u=Cc[u][r]||[];m=u.indexOf(m);0<=m&&u.splice(m,1)}function kb(m,u,r){Ma(u,2,r);let E=()=>{La(u,
2,r);var fa=L;m.removeEventListener("load",E);m.removeEventListener("error",fa)},L=()=>{La(u,2,r);ya(u,1,r);var fa=L;m.removeEventListener("load",E);m.removeEventListener("error",fa)};m.addEventListener("load",E);m.addEventListener("error",L)}function cb(m){return hd&&Va(m,13)&&"navigation"!==m.entryType||Va(m,["_dtCl"])}function za(m){m.message}function na(m){return 0<m.left+m.width&&m.left<ea()&&0<m.top+m.height&&m.top<va()}function ca(m){return m&&0<m.width&&0<m.height&&na(m)}function va(){return z||
(z=ka.innerHeight||B.clientHeight),Nc.bwsH||z}function ea(){return D||(D=ka.innerWidth||B.clientWidth),Nc.bwsW||D}function aa(m){let u=ea(),r=va();return{top:0,left:0,width:Math.max(0,Math.min(m.left+m.width,u))-Math.max(0,Math.min(m.left,u)),height:Math.max(0,Math.min(m.top+m.height,r))-Math.max(0,Math.min(m.top,r))}}function ra(m,u,r){if(!r&&Q(m))return!0;m=r||xa(u);(u="hidden"===m.visibility||"none"===m.display||"0"===m.opacity||"polygon(0px 0px, 0px 0px, 0px 0px, 0px 0px)"===m.clipPath)||(u=m.transform||
"",m=!1,r=u.indexOf("("),0<r&&(u=u.substring(r+1,u.length-1).split(", "),m="0"===u[0],6===u.length?m=m||"0"===u[3]:16===u.length&&(m=m||"0"===u[5]||"0"===u[10])),u=m);return u}function Q(m){return 0<Lc&&m.xc>=Lc?(m.yc++,!0):(m.xc++,!1)}function X(m){return Math.ceil(m.width*m.height)}function N(m,u,r,E,L,fa=""){try{if(!E&&(E=Y(u,m.za,L),!ca(E)))return null;L=E;let Na={url:fa,time:0,node:u,v:!ra(m,u,r),area:X(aa(L)),offset:{top:L.top,left:L.left,width:L.width,height:L.height},is:0,ts:1};var pa=C.dT_.tau(fa);
m=Pa;return!(!m||!m.test(pa))&&(Na.is=2),Na}catch(Na){}return null}function Y(m,u=new WeakMap,r){var E=C.dT_.gFId();var L=u.get(m);if(L||(L={},u.set(m,L)),L[E])E=L[E];else{u=ka.pageYOffset;var fa=m.clientTop,pa=ka.pageXOffset,Na=m.clientLeft,Xa=0,hb=0;Ra(m)&&(Xa=m.offsetWidth,hb=m.offsetHeight);Xa={top:0,left:0,offsetWidth:Xa,offsetHeight:hb,clientWidth:m.clientWidth,clientHeight:m.clientHeight};if("function"==typeof m.getBoundingClientRect)try{var ab=m.getBoundingClientRect();let yb=ab.left;Xa.top=
ab.top+u-fa;Xa.left=yb+pa-Na}catch(yb){}E=(L[E]=Xa,Xa)}L=E.top;ab=E.left;r&&(L+=r.top,ab+=r.left);r={top:L,left:ab,width:E.clientWidth,height:E.clientHeight};return Ra(m)&&(r.width=E.offsetWidth,r.height=E.offsetHeight),r}function da(m){return m.area>Ja&&m.v&&0===m.is&&0<m.time}function Sa(m,u){for(let r of u){u=0;let E=r===m?2:0;da(r)&&(E=Math.max(E,1));if(0===E){let L=0;u=(r.v||(L+=1),r.area>Ja||(L+=2),0!==r.is&&(L+=4),L)}r.relevance=E;r.ireason=u}}function sa(m){if(m.length)return C.dT_.red(m,
function(u,r){return da(r)&&(!u||u.time<=r.time)?r:u},void 0)}function U(){let m=C.dT_.bcv,u=C.dT_.scv,r=C.dT_.ncv;var E=C.dT_.de(u("iub"));try{E&&(Pa=new RegExp(E,"i"))}catch(L){`${E}${L.message}`}Aa=m("vcfi");ob=r("vcx");Ta=r("tvc");eb=u("uana");rb=C.dT_.de(u("mb"));Kb=r("vcit");zb=1E3*r("oat");nc=m("fvdi");Lc=r("vscl");Ja=r("vct");tc=m("ccNcss");Ec=m("vrt");Kc=m("vcsb")}function H(m){for(let u=0;u<Ib.length;u++)if(Ib[u]===m){Ib.splice(u,1);break}}function W(m,u=!1){let r=Ib.slice();Ib.length=0;
for(let E of r)E(m,u)}function T(m){return!!m&&"about:blank"!==m&&m!==location.href&&m!==location.href.substring(0,location.href.lastIndexOf("/")+1)&&m!==document.baseURI}function O(m){try{return!!m.contentWindow&&!C.dT_.gNNTV(m.contentWindow.performance,"loadEventEnd")}catch(u){return!1}}function ma(m){return!!m.area}function xa(m,u=ka){return u.getComputedStyle(m)}function Ra(m){let u=oa.get(m);var r;(r=u)||(r=(u=(Va(m,9)||m&&m.nodeType&&1===m.nodeType)&&("string"==typeof m.textContent||"string"==
typeof m.innerText),oa.set(m,u),u));return r}function xb(){let m=C.dT_.gto();return function(u,r){let E=r.duration,L=m+r.startTime+E;return!E&&cb(r)&&(L=m+r.responseEnd),Math.max(u,L)}}function Ua(m,u,r){m&&(m={time:m.time,offset:m.offset,area:m.area,url:m.url,v:m.v,node:m.node,is:0,ts:m.ts},m.v&&(m.v=u),r.push(m))}function fb(m){let u;try{if(m&&m.dT_){let fa=m.dT_;m=fa;if(m&&"ea"in m){var r;if(r="10313250422105919"===m.version&&!!m.gLVD){var E=ka.dT_;let pa=!E.bcv("ac")||E.scv("app")===m.scv("app"),
Na=E.scv("postfix"),Xa=m.scv("postfix");r=pa&&Na===Xa}var L=r}else L=!1;L&&(u=fa)}}catch(fa){`${fa.message}`}return u}function Fb(m,u,r,E,L,fa,pa){return Ka(this,void 0,void 0,function*(){var Na=N(m,u,r,E);Na&&u.contentWindow&&(Na=yield M(m,u.contentWindow,Na.offset,void 0,L),C.dT_.fE(Na,function(Xa){Xa.v=Xa.v&&fa;pa.push(Xa)}))})}function hc(m,u,r){let E=m.gLVD();return E?(Ua(E.k,u,r),I.resolve()):new I(function(L){m.addE("VISUALLY_COMPLETE",function(fa){Ua(fa.detail.k,u,r);L()})})}function $b(m,
u,r,E,L,fa,pa=!1){return new I(function(Na,Xa){var hb=!1;let ab;Q(m)||(ab=xa(u,r));var yb=ab&&ab.backgroundImage;if(yb&&"none"!==yb){yb=C.dT_.aM(yb.split(","),Fa);yb=C.dT_.aFr(yb,pb);for(var oc of yb)(yb=N(m,u,ab,fa,E,C.dT_.tau(oc)))&&L.push(yb)}if(bb(u)){let Db=u.contentWindow;hb=()=>{var lc=ab;let Wc=fb(Db),yc=!ra(m,u)&&na(fa);(Wc?hc(Wc,yc,L):Fb(m,u,lc,fa,pa,yc,L)).then(Na).catch(Xa)};!pa&&O(u)?(u.addEventListener("load",hb),u.addEventListener("error",hb)):hb();hb=!0}Ca(u)&&(oc=Jb(u))&&(oc=N(m,
u,ab,fa,E,oc))&&L.push(oc);hb||Na()})}function Wb(m,u,r,E,L){return Ka(this,arguments,void 0,function*(fa,pa,Na,Xa,hb,ab=!1){try{let yb=Y(pa,fa.za),oc=Na.getComputedStyle(pa);(Ra(pa)?pa.offsetWidth*pa.offsetHeight>Ja:pa.clientWidth*pa.clientHeight>Ja)?ca(yb)&&(yield $b(fa,pa,Na,Xa,hb,yb,ab)):(C.dT_.iIO(pa,10)||oc.backgroundImage&&"none"!==oc.backgroundImage)&&(yield $b(fa,pa,Na,Xa,hb,yb,ab))}catch(yb){}})}function ja(m){return rd?ec(1,m).concat(ec(2,m)):[]}function Da(m){return function(u){var r=
C.dT_.gto();let E=u.time-r;r=(u.endTime||u.time)-r;return{name:u.url,failedResource:m,startTime:E,responseEnd:r,duration:r-E,_dtCl:!0}}}function ec(m,u){let r=C.dT_.aM(Cc[m][u]||[],Da(m));u?delete Cc[m][u]:Cc[m]={};return r}function $c(m){return!m.time}function bc(m,u,r){m=m.getEntriesByName(r.url,"resource")[0];cb(m)?(r.time=Math.round(u+m.responseEnd),r.ts=0):r.time=0}function kc(m,u){let r=null,E=0;try{r=u.performance,E=C.dT_.gNTO(r)}catch(L){}r&&(m=C.dT_.aFr(m,$c),C.dT_.fE(m,bc.bind(null,r,E)))}
function pb(m){return!(!m||!m.startsWith("http"))}function Nb(m,u){return"loading"in HTMLImageElement.prototype&&"lazy"===m.getAttribute("loading")&&!na(Y(m,u))}function Jb(m){try{if(m.srcset)return m.currentSrc;let u=m.parentElement;if(u&&"PICTURE"===u.nodeName)for(let r=0;r<u.children.length;r++)if("SOURCE"===u.children[r].tagName)return m.currentSrc;return m.currentSrc||m.src}catch(u){try{let r=m.getAttribute("src");return r?C.dT_.tau(r):""}catch(r){return""}}}function M(m,u,r,E){return Ka(this,
arguments,void 0,function*(L,fa,pa,Na,Xa=!1){let hb=[],ab;try{ab=(Na||fa.document).getElementsByTagName("*")}catch(yb){return hb}return yield C.dT_.fEP(ab,function(yb,oc,Db,lc){Wb(L,yb,fa,pa,hb,Xa).then(lc).catch(za)},void 0,!(Ac.syn||Xa)),kc(hb,fa),hb})}function V(m,u,r,E){let L={Xc:[],style:void 0};if(!r&&!tc||Q(E))return L;r=xa(m);if(!r)return L;L.style=r;(r=r.backgroundImage)&&"none"!==r&&(r=C.dT_.aM(r.split(","),Fa),r=C.dT_.aFr(C.dT_.aFr(r,pb),T),L.Xc=C.dT_.aM(r,Qa.bind(null,u,m)));return L}
function Fa(m=""){Ia.lastIndex=0;return(m=Ia.exec(m))&&1<m.length?m[1]||m[2]||m[3]:""}function ba(m,u,r,E){if(Aa&&!m.dT_vcInstr&&!Nb(m,E.za))if(Ca(m)){if(r=Jb(m),T(r)&&pb(r)){r={url:r,time:C.dT_.nw(),element:m};m.dT_vcInstr=!0;a:if(m.complete&&!m.naturalWidth){if(C.dT_.gBI().ff){let L=E=Jb(m),fa=E.indexOf("?");if(0<=fa&&(L=E.substring(0,fa)),L.endsWith(".svg")){E="UNKNOWN";break a}}E="FAILED"}else E=m.complete?"SUCCESSFUL":"PENDING";switch(E){case "FAILED":ya(r,1,u);break;case "PENDING":kb(m,r,u)}}}else Ra(m)&&
V(m,u,r,E)}function $a(m,u,r,E){let L=u.contentWindow;if(!L)return I.resolve();let fa=fb(L),pa=!ra(m,u)&&na(E);return fa?hc(fa,pa,m.na):M(m,L,r).then(function(Na){m.na.push(...C.dT_.aM(Na,function(Xa){return Object.assign(Object.assign({},Xa),{v:Xa.v&&pa})}))})}function qb(){return W("f",!0),yd}function Ha(){let m=Ac;m.gUI=ja;m.vWW=ea;m.vWH=va;m.gVCP=qb;m.gLVD=Ya}function Sb(m){let u=0,r=0,E=0,L=C.dT_.red(m,function(fa,pa){return fa+pa.Xb},0);for(let fa of m)m=fa.time-r,0<m&&1>E&&(u+=(1-E)*m),E+=
fa.Xb/L,r=fa.time;return Math.round(u)}function Bb(m,u,r){let E=[];for(let L in m)if(C.dT_.oHOP(m,L)){let fa=m[L].area;E.push({time:+L-r,Xb:fa/u,area:fa})}return E.sort(function(L,fa){return L.time-fa.time}),E}function jc(m){return m.v}function qc(m,u){var r;let {time:E,area:L}=u;return null!==(r=m[E])&&void 0!==r||(m[E]={area:0,Xb:0,time:0}),m[E].area+=L,m}function Xb(m){m.Qa--;t(m)}function tb(m,u){var r=-1;if(u){r=Math;var E=u.time;E=r.round.call(r,0>E?-1:E-m.Ta);r=(E>=zb?(m.trigger="t",E=-2):
0>E&&(E=-1),E);if(E=u.node){var L=u.area;let Db={left:NaN,top:NaN};try{Db=E.getBoundingClientRect()}catch(lc){`${lc.message}`}var fa=eb.split(",");L={location:{x:Math.ceil(Db.left),y:Math.ceil(Db.top)},size:Math.ceil(L),Jg:E.getAttribute("class"),id:E.getAttribute("id"),name:E.getAttribute("name"),tagName:E.tagName,Ke:C.dT_.gecsss(E)};for(pa of fa)if(fa=E.getAttribute(pa)){L.Hf={key:pa,value:fa};break}var pa=L;if(pa){var {name:Na,Hf:Xa,location:hb,size:ab,tagName:yb,Ke:oc}=pa;pa=C.dT_.aesc(Na||"");
E=[hb.x,hb.y,ab];pa=(pa&&E.push(`n;${pa}`),Xa&&E.push(`u;${C.dT_.aesc(Xa.key)},${C.dT_.aesc(Xa.value)}`),oc?E.push(`s;${C.dT_.aesc(oc)}`):E.push(`t;${C.dT_.aesc(yb)}`),E.join("|"))}else pa="";u.kd=pa}m.Ue&&(rd=!0)}return r}function y(m,u,r){let E=C.dT_.nw()-u.Yc;var L=C.dT_.nw(),fa=C.dT_.aFr(u.na,ma);var pa=u.Ta;C.dT_.nw();for(let oc=fa.length-1;0<oc;oc--){let Db=fa[oc];for(let lc=oc-1;0<=lc;lc--){let Wc=fa[lc],yc=Wc.area,nd=Db.area;if(nd&&yc&&2500<yc){var Na=Db.offset,Xa=Wc.offset,hb=ib(Na.top,Xa.top),
ab=ib(Na.left,Xa.left),yb=gb(Na.left+Na.width,Xa.left+Xa.width);Na=gb(Na.top+Na.height,Xa.top+Xa.height);ab=ib(0,yb-ab);hb=ib(0,Na-hb);Wc.area=ib(0,yc-gb(Math.round(ab*hb),nd))}}}fa=C.dT_.aFr(fa,jc);fa=C.dT_.red(fa,qc,{});pa=Bb(fa,ea()*va(),pa);pa=(Ab=Sb(pa),Ab>m&&(Ab=m),Ab);L=C.dT_.nw()-L;m=[["V",m+"|"+u.trigger],["VCD",E+""],["VCDS",L+""],["VCS",u.Yc-u.Ta+""],["VCO",u.Bd-u.Ta+""],["VCI",u.yc+""]];r&&m.push(["TS",r.ts+""]);(r=(null==r?void 0:r.kd)||"")&&m.push(["VE",r]);m.push(["S",(0<=pa?pa:-1)+
""]);C.dT_.cAE("_vc_",m,u.actionId,u.Ta)}function x(m){"n"===m.trigger&&(m.trigger=m.Ia?"f":"c");m.na.sort(function(L,fa){return L.time-fa.time});let u=sa(m.na),r=tb(m,u);y(r,m,u);Sa(u,m.na);yd=r;let E={t:m.trigger,k:u,v:r};Vd=E;C.dT_.disE({kind:"VISUALLY_COMPLETE",detail:Object.assign(Object.assign({},E),{a:m.actionId,e:m.na})});u&&(u.node=null);m.na=[];H(m.jd);m.od=!0;m.pf(-1<r?m.Ta+r:-1)}function t(m){let u=m.cd===m.gd,r=!m.Qa;u&&r&&m.qa&&(C.dT_.ct(m.qa),m.qa=0);!m.od&&r&&(!m.lb.length&&u||m.Ia)&&
x(m)}function F(){let m=!1;Aa&&C.dT_.addE("INSTRUMENTATION_TRIGGERED",function(){if(!m){m=!0;let u=document.getElementsByTagName("*"),r={xc:0,yc:0,za:new WeakMap};for(let E=0;E<u.length;E++)ba(u[E],C.dT_.lAID(),!0,r)}})}function J(){var m;oa=new WeakMap;F();Cb=!(null===(m=document.body)||void 0===m||!m.childElementCount);C.dT_.las()||C.dT_.aMO(C.dT_.lAID());C.dT_.addE("ACTION_ENTERED",function(u){C.dT_.aMO(u.detail.i);u.detail.i===u.detail.r&&W("u")});C.dT_.addE("ACTION_CLOSED",function(u){let {i:r,
r:E,f:L,a:fa,dne:pa}=u.detail;if(pa||E!==r)C.dT_.rMO(r);else{var Na=(ab,yb)=>{bd(ab,r,yb)||(C.dT_.ct(Xa),S(r,!0,fa,Na,hb,ab))};u=!("visible"===document.visibilityState||!Kc);Ib.push(Na);var {qa:Xa,Vd:hb}=S(r,L||u,fa,Na,void 0,u?"b":void 0)}});C.dT_.addE("ACTION_BEACON_FORCED",function(){W(C.dT_.las()?"l":"f")});C.dT_.addE("VISIBILITY_CHANGED",function(u){"1"===u.detail&&W("b")})}function S(m,u,r,E,L,fa){let pa=L||C.dT_.aAWC(m);return pa?u?(fd(m,pa,!0,r,E,fa),Gb):{qa:C.dT_.st(function(){fd(m,pa,!1,
r,E,fa)},ob),Vd:pa}:Gb}function ia(m,u){return function(r){r=u+r.time;return!m||m<=r}}function ta(m,u,r,E,L){var fa=E.push;a:{if((r||!m.Rb.has(L))&&L.nodeType!==Node.TEXT_NODE&&Ra(L)){var pa=V(L,m.actionId,r,m),Na=pa.Xc;Ca(L)?(ba(L,m.actionId,r,m),Na.push(L)):bb(L)&&Na.push(L);if(r=L&&L.nodeType&&1===L.nodeType)try{let hb=rb;r=!!hb&&L.matches(hb)}catch(hb){r=!1}if(Na.length&&!r)for(let hb of Na)Rc(hb,m,u,L,pa.style);else Na=Y(L,m.za),Na=X(aa(Na)),Qc(m,{time:Math.round(u),node:L,area:Na,v:!ra(m,L,
pa.style),url:"",offset:{top:0,left:0,width:0,height:0},is:r?1:0,ts:1});try{if(L.hasChildNodes()){var Xa=L.childNodes;break a}}catch(hb){}}Xa=[]}fa.call(E,Xa)}function Ga(m,u){return Ka(this,void 0,void 0,function*(){let r=!u.Ia,[E]=C.dT_.gXACT(u.actionId),L=m;return E&&(L=yield C.dT_.fP(m,ia(E,C.dT_.gto()),r)),yield C.dT_.fEP(L,function(fa,pa,Na,Xa){let hb=[],ab=fa.time;C.dT_.fEP(fa.nodes,ta.bind(null,u,ab,!0,hb),ab,r).then(function(){return C.dT_.fEP(hb,function(yb,oc,Db,lc){C.dT_.fEP(yb,ta.bind(null,
u,ab,!1,hb),null,r,!0).then(lc).catch(za)},null,r,!0)}).then(Xa).catch(za)},null,r,!0),u})}function lb(m,u,r){C.dT_.ct(m.Wa);C.dT_.ct(m.jb);C.dT_.rMO(`vc-timeout-${u}`);m.Wa=-1;m.jb=-1;mc(u,r,!0)}function pc(m,u){let r={jb:-1,Wa:-1};return r.jb=C.dT_.st(function(){lb(r,m,u)},Ta),Gc(m,u,r),C.dT_.aMO(`vc-timeout-${m}`,function(){Gc(m,u,r)}),r}function Gc(m,u,r){C.dT_.ct(r.Wa);r.Wa=C.dT_.st(function(){lb(r,m,u)},Kb)}function mc(m,u,r){return Ka(this,void 0,void 0,function*(){let E=C.dT_.gMN(m);if(C.dT_.rMO(m),
u.Bd=C.dT_.nw(),u.Qa++,r&&(Cb||nc)){u.Qa++;let L=yield M(u,ka,void 0,void 0,u.Ia);C.dT_.fE(L,Qc.bind(null,u));Xb(u)}else E.length||t(u);yield Ga(E,u);Xb(u)})}function Qc(m,u){var r=u.node;if(r){if(m.Rb.has(r)){(r=m.Rb.get(r))&&u.time>m.na[r].time&&(m.na[r]=u);return}m.Rb.set(r,m.na.length)}m.na.push(u)}function fd(m,u,r,E,L,fa="n"){H(L);L=C.dT_.lAID()===m;let pa={Ta:E,cd:0,gd:0,Qa:0,od:!1,Yc:C.dT_.nw(),Bd:0,qa:C.dT_.st(function(){pa.Ia=!0;pa.Qa=0;t(pa)},zb),lb:[],Je:[],na:[],Rb:new WeakMap,Ue:L,pf:u,
actionId:m,trigger:fa,Ia:r,xc:0,yc:0,za:new WeakMap,jd(Xa,hb){bd(Xa,m,hb)||(pa.Ia=!0,pa.Qa=0,pa.trigger=Xa,0<=Na.Wa&&0<=Na.jb&&lb(Na,m,pa),t(pa))}};if("b"===fa)t(pa);else{var Na={Wa:-1,jb:-1};Ib.push(pa.jd);L&&!r?Na=pc(m,pa):mc(m,pa,L)}}function bd(m,u,r){return u!==C.dT_.lAID()&&(r||"u"===m)}function md(m,u,r,E,L,fa,pa){let Na=C.dT_.tau(m);var Xa=Pa;Xa=Na&&Xa&&Xa.test(Na);let hb=X(aa(E)),ab={url:Na,time:Math.round(u),node:r,v:!ra(L,r,pa),area:hb,offset:E,is:Xa?2:0,ts:1};Qc(L,ab);E=Ca(r);pa=bb(r);
m=E&&!r.complete&&!m.startsWith("data:")||pa&&O(r);if(L.cd++,L.lb.push({name:ab.url,startTime:u}),!m||L.Ia||Xa)(E||pa)&&Jc(r,L,ab,fa,!0);else{let yb=()=>{L.za.delete(r);Jc(r,L,ab,fa,!1);r.removeEventListener("load",yb);r.removeEventListener("error",yb)};r.addEventListener("load",yb);r.addEventListener("error",yb)}}function vc(m){return m.currentSrc||m.getAttribute("src")||m.getAttribute("href")||""}function wc(m,u,r,E,L){var fa=Pa;fa=(m=C.dT_.tau(m))&&fa&&fa.test(m);let pa=L===u;return{url:m,time:Math.round(r),
node:u,v:!1,area:0,offset:E,is:fa?2:0,w:pa?u.width:L.clientWidth,h:pa?u.height:L.clientHeight,nw:pa?u.naturalWidth:u.width,nh:pa?u.naturalHeight:u.height,ts:1}}function Rc(m,u,r,E,L){let fa=vc(m);if(T(fa)&&!Nb(m,u.za)&&!u.lb.some(function(Na){return Na.name===fa})){var pa=Y(E,u.za);Ca(m)&&!m.width||ca(pa)?(na(pa)||Ca(m))&&md(fa,r,m,pa,u,E,L):Ca(m)&&u.na.push(wc(fa,m,r,pa,E))}}function ad(m,u,r,E){var L=[{Ic:m.ts,time:m.time}];!E&&Ec?L.push({Ic:2,time:u}):(u=Math.round(C.dT_.red(r,xb(),0)),0<u&&L.push({Ic:0,
time:u}));[L]=L.sort(xd);m.time=L.time;m.ts=L.Ic}function Jc(m,u,r,E,L){var fa=ka.performance;let pa=r.url,Na=C.dT_.nw();ad(r,Na,fa.getEntriesByName(pa,"resource"),L);L||(r.o=Na);fa=aa(Y(E||m,u.za));if(r.area=X(fa),r.node=E,Ca(m)){let Xa=E===m;r.w=Xa?m.width:E.clientWidth;r.h=Xa?m.height:E.clientHeight;r.nw=Xa?m.naturalWidth:m.width;r.nh=Xa?m.naturalHeight:m.height}u.gd++;E=C.dT_.aFI(u.lb,function(Xa){return Xa.name===pa});-1!==E&&(E=u.lb.splice(E,1)[0],u.Je.push(E.name),L&&u.Ia&&ya({time:E.startTime,
url:E.name,isVisible:da(r),element:r.node,endTime:Na},2,u.actionId),bb(m)&&(u.Qa++,$a(u,m,r.offset,fa).then(Xb.bind(null,u)).catch(za)),t(u))}function xd(m,u){return u.time-m.time}function Uc(m){let {i:u,a:r,r:E}=m.detail;E===u&&C.dT_.cAE("_vc_",[["V","-3"],["S","-3"]],u,r)}var I=this.dT_&&dT_.prm&&dT_.prm()||window.Promise,C="undefined"!=typeof window?window:self,ka="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0,ua,Ja=-1,Pa=null,Aa=!1,ob=-1,Ta=-1,eb="",rb="",Kb=
-1,zb=-1,nc=!1,tc=!1,Lc=0,Ec=!1,Kc=!1,rd=!1,Ac,Nc,yd,Vd,cd={},Cc={1:{},2:{}},hd="function"==typeof PerformanceResourceTiming||"object"==typeof PerformanceResourceTiming,Ib=[],B=ka.document.documentElement,z,D,oa,Ia=/url\s*\(\s*(?:'(\S*?)'|"(\S*?)"|((?:\\\s|\\\)|\\"|\\'|\S)*?))\s*\)/gi,gb=Math.min,ib=Math.max,Ab=-1,Cb,Gb={qa:0,Vd:void 0};(function(){var m,u,r=ka.dT_;if(r&&r.smbi&&r.iMod){Ac=r;(r=C.dT_.tdto())&&"ea"in r&&(Nc=r);r=C.dT_.iMod().includes("V");let L=C.dT_.smbi("V");var E=ka.performance;
let fa=Nc.syn;E=!!ka.MutationObserver&&!(null==E||!E.getEntriesByType)||fa;if(null!==(u=(m=C.dT_).ssmbi)&&void 0!==u&&u.call(m,"V",!1,E,L))return r||C.dT_.iMod("V"),U(),C.dT_.addE&&C.dT_.addE("CONFIG_UPDATE",U),J(),!0;L&&!r&&!E&&C.dT_.addE("ACTION_BEFORE_SEND",Uc)}return!1})()&&Ha()})();
(function(){function Ka(ea,aa){function ra(X){return!(!X||!X[ea])}let Q=0;if(aa){let X=document.getElementById(aa);if(ra(X))return X;Ma.dT_.addE("DEBUG_INFO_REQUESTED",function(){return[{type:"mvi",severity:"Info",text:`Could not find vue element with configured id "${aa}"`}]})}return ra(document.body)?document.body:ra(document.body.firstElementChild)?document.body.firstElementChild:document.createTreeWalker(document.body,NodeFilter.SHOW_ELEMENT,{acceptNode:function(X){return(Q++,ra(X)||50===Q)?NodeFilter.FILTER_ACCEPT:
NodeFilter.FILTER_SKIP}}).nextNode()}function Va(ea){let aa;if(La.Vue&&La.Vue.version){var ra=La.Vue.version;"2"===ra.split(".")[0]&&"__vue__"===ea&&(aa=ra);"3"===ra.split(".")[0]&&"__vue_app__"===ea&&(aa=ra)}ra=Ka(ea,Ma.dT_.scv("vrei"));return ra&&ra[ea]&&(Ma.dT_.iVRA(ra,ea),aa||(aa="")),aa}function bb(ea){let aa=La;for(let ra of ea)if("function"==typeof ra)aa=ra.apply(this);else{ea=ra.split(".");aa=La;for(let Q=0;Q<ea.length&&"undefined"!=typeof aa&&null!=aa;Q++)-1===ea[Q].indexOf("()")?aa=aa[ea[Q]]:
aa=aa[ea[Q].replace("()","")]();if("undefined"!=typeof aa)break}return aa}function Ca(){var ea=Array.prototype,aa=ea.concat;let ra=[];for(var Q in va)if(Ma.dT_.oHOP(va,Q))try{var X=va[Q];"object"!=typeof X&&(X=[],X[0]=va[Q]);var N=bb(X);if("string"==typeof N||Ma.dT_.iIO(N,3))ra.push(Q+("b"===Q?N:N.split(/-|_| /)[0]));else if("object"==typeof N&&N.length){var Y=N.length;for(let da=0;da<Y;da++)ra.push(Q+N[da])}else void 0!==N&&ra.push(Q+"x")}catch(da){}Q=[];for(let da in ca)if(Ma.dT_.oHOP(ca,da))if(ca[da].startsWith("url"))for(X=
ca[da].replace("url:",""),N=document.getElementsByTagName("script"),Y=0;Y<N.length;Y++)try{if(N[Y].src&&N[Y].src.includes(X)){Q.push(da);break}}catch(Sa){}else"undefined"!=typeof La[ca[da]]&&Q.push(da);ea=aa.call(ea,ra,Q);aa=[];for(let da of ea)za[da]||(aa.push(da),za[da]=!0);return aa}function Ya(ea,aa,ra,Q){aa||20<cb||(na.length||(na=Ca(),cb++),na.length&&(ea.av(Q,"fd",Ma.dT_.aesc(na.join(";")),!1),na=[]))}function Qa(ea){ea.detail.i===Ma.dT_.lAID()&&(na=Ca(),Ma.dT_.remE("ACTION_CLOSED",Qa))}function ya(ea,
aa,ra){let Q=0;try{if(3>=ra&&!Ma.dT_.iIO(ea,8))if("object"==typeof ea&&!aa.includes(ea)){aa.push(ea);for(let X in ea)Ma.dT_.oHOP(ea,X)&&(Q++,Q+=ya(ea[X],aa,ra+1))}else if(Array.isArray(ea)&&!aa.includes(ea)){aa.push(ea);for(let X of ea)Q+=ya(X,aa,ra+1)}}catch(X){}return Q}this.dT_&&dT_.prm&&dT_.prm();var Ma="undefined"!=typeof window?window:self,La="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0,kb,cb=0,za={},na=[],ca={fueldeck:"FDUPA",soasta:"url:c.go-mpulse.net",
monitis:"JSBenchmark",pingdom:"PRUM_EPISODES",newrelic:"NREUM",appdynamics:"ADRUM",appneta:"_tly",pendo:"pendo",heap:"heap",mixpanel:"mixpanel",amplitude:"amplitude",tealeaf:"TLT",datadog:"DD_RUM",elastic:"elasticApm",requestmetrics:"RM",instana:"ineum",plumbr:"PLUMBR",glassbox:"_detector",decibelinsight:"decibelInsight",contentsquare:"CS_CONF",hotjar:"hjBootstrap",quantummetric:"QuantumMetricAPI",fullstory:"FS"},va={g:function(){let ea=Array.prototype.slice.call(document.querySelectorAll("[ng-version]")),
aa=[];for(let ra=0,Q=ea.length;ra<Q;ra++)aa.push(ea[ra].getAttribute("ng-version"));return aa.length?aa:void 0},b:function(){var ea=La.dataLayer,aa=[];if(ea&&ea.length){var ra=0;for(let Q of ea)if("object"==typeof Q&&!aa.includes(Q)){aa.push(Q);for(let X in Q)Ma.dT_.oHOP(Q,X)&&(ra++,ra+=ya(Q[X],aa,0))}ra?(aa="1-5",ea=(500<ra?aa="501+":100<ra?aa="101-500":50<ra?aa="51-100":10<ra?aa="11-50":5<ra&&(aa="6-10"),aa)):ea=void 0;return ea}},v:function(){return Va("__vue__")},k:function(){return Va("__vue_app__")},
r:function(){if(La.React&&La.React.Component)return(La.React.version||"")+"";let ea=Ka("_reactRootContainer");if(ea&&ea._reactRootContainer)return""},n:function(){var ea;if(null!==(ea=La.__NUXT__)&&void 0!==ea&&ea.data||La.$nuxt)return""},p:function(){var ea;if(La.__NEXT_DATA__&&La.__NEXT_DATA__.buildId)return((null===(ea=La.next)||void 0===ea?void 0:ea.version)||"")+""}};(function(){var ea,aa;(kb=La.dT_)&&null!==(aa=(ea=Ma.dT_).smbi)&&void 0!==aa&&aa.call(ea,"f")&&(Ma.dT_.aBPSL(Ya),Ma.dT_.addE("ACTION_CLOSED",
Qa))})()})();
(function(){function Ka(){if(!xa)if(document.querySelectorAll){let M=document.querySelector("[ng-version]");xa=M&&M.getAttribute("ng-version")||"2.0.0"}else xa="2.0.0";return xa}function Va(M){try{return M.toString()}catch(V){return""}}function bb(M,V){return M.includes(V)}function Ca(M,V){return"type"in M&&M.type===V}function Ya(M){for(let ba in M)if(O.dT_.oHOP(M,ba)){var V=M,Fa=ba;O.dT_.lx(V[Fa]);delete V[Fa]}}function Qa(){let M="",V=O.dT_.bcv("earxa"),Fa={};return function(ba){var $a,qb;if(Ca(ba,
13)||"ActivationStart"===ba.constructor.name||bb(Va(ba),"ActivationStart")||"snapshot"in ba&&null!==(qb=null===($a=ba.snapshot)||void 0===$a?void 0:$a.routeConfig)&&void 0!==qb&&qb.path){var Ha,Sb;$a=[];for(qb=ba.snapshot;qb;){let Bb=null!==(Sb=null===(Ha=qb.routeConfig)||void 0===Ha?void 0:Ha.path)&&void 0!==Sb?Sb:"";Bb&&$a.push(Bb);qb=qb.firstChild}M=$a.join("/")}(Ca(ba,10)||"RouteConfigLoadEnd"===ba.constructor.name||bb(Va(ba),"RouteConfigLoadEnd"))&&(Ha=ba.route.path)&&Fa[Ha]&&(O.dT_.lx(Fa[Ha]),
delete Fa[Ha]);if(Ha=V)Ha=Ca(ba,9)||"RouteConfigLoadStart"===ba.constructor.name||bb(Va(ba),"RouteConfigLoadStart");Ha&&(Ha=ba.route.path)&&!Fa[Ha]&&(Sb=O.dT_.ex(pb+Ka(),3,Ha))&&(Fa[Ha]=Sb);(Ha=Ca(ba,2)||"NavigationCancel"===ba.constructor.name||bb(Va(ba),"NavigationCancel")||"id"in ba&&"number"==typeof ba.id&&!!ba.url&&"reason"in ba&&!!ba.reason&&3===O.dT_.oK(ba).length)||(Ha=Ca(ba,16)||"NavigationSkipped"===ba.constructor.name||bb(Va(ba),"NavigationSkipped")||"id"in ba&&"number"==typeof ba.id&&
!!ba.url&&"reason"in ba&&!!ba.reason&&"code"in ba&&4===O.dT_.oK(ba).length);Ha&&Ya(Fa);if(Ca(ba,1)||"NavigationEnd"===ba.constructor.name||bb(Va(ba),"NavigationEnd")||"id"in ba&&"number"==typeof ba.id&&ba.url&&"urlAfterRedirects"in ba&&ba.urlAfterRedirects&&3===O.dT_.oK(ba).length)Ha=ba.urlAfterRedirects||ba.url,Ha=Ha.split("?")[0],Ya(Fa),!M&&"/"===Ha&&(M="/"),O.dT_.sNV({name:Ha,group:M,id:ba.id},2),M="";(Ca(ba,15)||"Scroll"===ba.constructor.name||bb(Va(ba),"Scroll")||"routerEvent"in ba&&ba.routerEvent&&
"position"in ba&&ba.position&&"anchor"in ba&&3===O.dT_.oK(ba).length)&&Ya(Fa)}}function ya(M){return O.dT_.oHOP(M,"prototype")?M.prototype:Object.getPrototypeOf(M)}function Ma(M){if("string"!=typeof M)return!1;M=M.toLowerCase();return xb.includes(M)||Ua.includes(M)}function La(M){return function(V){return O.dT_.rex(V,void 0,!(V&&V.stack),"5"),Jb.handleError(M,this,arguments)}}function kb(M){return function(){Ra||(Ra=!0,this&&this.events&&(this.events.subscribe(Qa()),3!==O.dT_.gVDM()&&O.dT_.bcv("usrvd")&&
O.dT_.sVDM(2)));return Jb.scheduleNavigation(M,this,arguments)}}function cb(M,V){!M._defaultOptions&&$c?V.headers=ec?new ec:{set:function(Fa,ba){return this[Fa]=ba,this},has:function(Fa){return!!this[Fa]},forEach:function(Fa){O.dT_.fE(Object.keys(this),ba=>{"set"!==ba&&"has"!==ba&&"forEach"!==ba&&Fa.apply(this,[ba,[this[ba]]])})}}:M._defaultOptions&&(V.headers={},(M=M._defaultOptions)&&M.headers&&M.headers.forEach&&M.headers.forEach(function(Fa,ba){ba&&(V.headers[ba]=Fa)}))}function za(M,V){let Fa=
fb.includes(V);return function(){function ba(S){if(!y){var ia=O.dT_.nw();y=!0;O.dT_.dlx(S,ia)}}function $a(S){let ia=S.then;S.then=function(...Ga){0===Ga.length&&(Ga[0]=function(){});1===Ga.length&&(Ga[1]=function(lb){throw lb;});for(let lb=0;lb<Ga.length;lb++)"function"==typeof Ga[lb]&&(Ga[lb]=qb(Ga[lb],1===lb));return $a(ia.apply(this,Ga))};let ta=S.catch;return S.catch=function(...Ga){return 0===Ga.length&&(Ga[0]=function(lb){throw lb;}),Ga[0]&&"function"==typeof Ga[0]&&(Ga[0]=qb(Ga[0],!0)),$a(ta.apply(this,
Ga))},S}function qb(S,ia){return function(ta){let Ga=!0;ta&&Xb&&"number"==typeof ta.type&&(Ga=4===ta.type);na(Bb,ta);O.dT_.ec(Bb);let lb;try{ta&&O.dT_.mx()&&ia&&(-1===ta.status?O.dT_.mxc(Bb):O.dT_.mxf(ta.status,ta.statusText,Bb)),lb=Jb.wrappedCallback(S,this,arguments)}finally{O.dT_.lc(Bb),Ga&&ba(Bb)}return lb}}function Ha(S){return function(){if(x){var ia=Jb.subscribe(S,this,arguments,Bb,tb,pb);return ia.unsubscribe=Sb(ia.unsubscribe),ia}let ta;Bb||(Bb=O.dT_.ex(pb+Ka(),3,tb),ia=ca(tb,Bb),ta=va(tb,
Bb));let Ga=Array.prototype.slice.call(arguments);Ga[0]&&Ga[0].next?(Ga[0].next=qb(Ga[0].next),Ga[0].error=qb(Ga[0].error,!0)):(0===Ga.length||"function"==typeof Ga[0])&&(0===Ga.length&&(Ga[0]=function(){}),1===Ga.length&&(Ga[1]=function(pc){throw pc;}),Ga[0]=qb(Ga[0]),Ga[1]=qb(Ga[1],!0));let lb;try{lb=Jb.subscribe(S,this,Ga,Bb,tb,pb),lb.unsubscribe=Sb(lb.unsubscribe)}finally{ma.XMLHttpRequest&&ia&&ta&&(ma.XMLHttpRequest.prototype.open=ia,ma.XMLHttpRequest.prototype.send=ta)}return lb}}function Sb(S){return function(){return ba(Bb),
Jb.unsubscribe(S,this,arguments,Bb,tb,pb)}}if(W(this))return H(this),Jb.httpMethod(M,this,arguments);let Bb=0,jc=Array.prototype.slice.call(arguments),qc=Ma(jc[0]),Xb=jc[0]&&"object"==typeof jc[0],tb="";qc?tb=jc[1]:tb=Xb?jc[0].url:jc[0];let y=!1,x=!1,t=jc[1];Fa||qc?t=jc[2]:Xb&&(t=jc[0]);t&&"object"==typeof t||(t={});t.headers||cb(this,t);Fa||qc?jc[2]=t:jc[Xb?0:1]=t;U(this);let F;try{F=Jb.httpMethod(M,this,jc)}finally{H(this)}if(F.toPromise){let S=F.toPromise;F.toPromise=function(){let ia,ta;Bb||(Bb=
O.dT_.ex(pb+Ka(),3,tb),ia=ca(tb,Bb),ta=va(tb,Bb));x=!0;let Ga;try{Ga=Jb.toPromise(S,this,arguments,Bb,tb,pb)}finally{ma.XMLHttpRequest&&ia&&ta&&(ma.XMLHttpRequest.prototype.open=ia,ma.XMLHttpRequest.prototype.send=ta)}return $a(Ga)}}let J=F.lift;return F.lift=function(S){let ia=J.apply(this,arguments);return ia.subscribe=Ha(ia.subscribe),ia},F.subscribe=Ha(F.subscribe),F}}function na(M,V){try{if(V&&V.headers){var Fa=V.headers,ba={};O.dT_.fE(Fa.keys(),function($a){let qb=Fa.getAll($a);qb&&0<qb.length&&
(ba[$a]=qb.join(","))});O.dT_.disE({kind:"HTTP_RESPONSE",detail:{a:M,h:ba}})}}catch($a){}}function ca(M,V){if(ma.XMLHttpRequest){var Fa=ma.XMLHttpRequest.prototype.open;return ma.XMLHttpRequest.prototype.open=function(ba,$a){try{return this.__dtInstrumented__||($a!==M&&O.dT_.uaxu(V,$a),this.__dtInstrumented__=!0,this.__dtFrameworks__=!!V),Fa.apply(this,arguments)}finally{this.__dtInstrumented__=!1}},Fa}}function va(M,V){let Fa=ma.XMLHttpRequest.prototype.send;if(ma.XMLHttpRequest)return ma.XMLHttpRequest.prototype.send=
function(){try{if(!this.__dtInstrumented__){let ba={},$a=O.dT_.gaxu(V);ba=O.dT_.sch(ba,$a&&$a!==M?$a:M,V);for(let qb in ba.headers)O.dT_.oHOP(ba.headers,qb)&&this.setRequestHeader(qb,ba.headers[qb]);this.__dtInstrumented__=!0}return Fa.apply(this,arguments)}finally{this.__dtInstrumented__=!1}},Fa}function ea(M){function V(){}M=M("",V,V,null,null,[]);M=ya(M);aa(M)}function aa(M){kc=M.create;bc|=16;M.create=function(V,Fa,ba,$a){let qb=kc.apply(this,arguments);if(!ba)return qb;try{let Ha=ba;if("string"==
typeof ba&&(Ha=document.querySelector(ba),!Ha))return qb;if(!Fb.length&&null!=Ha&&Ha.getAttribute){let Sb=Ha.getAttribute("ng-version");Sb&&(xa=Sb)}Fb.push(Ha)}catch(Ha){}return qb}}function ra(M){try{if(M&&("object"==typeof M||"function"==typeof M)&&!W(M)){var V=ya(M);if(V){var Fa;if(!(Fa=V.request&&V.request.toString().includes("First argument must be a url string or Request instance")))if(V.request){let ba=V.request.toString(),$a=ba.includes("Response is not an ArrayBuffer.")&&ba.includes("Response is not a Blob.")&&
ba.includes("Response is not a string.");Fa=($a&&!ba.includes("headers instanceof")&&($c=!0),$a)}else Fa=!1;if(Fa){O.dT_.ti();hc=!0;for(let ba of xb)V[ba]&&(V[ba]=za(V[ba],ba));bc|=1;U(M,!0)}else V.applyUpdate&&V.init&&V.keys?(ec=M,bc|=2,U(M,!0)):O.dT_.bcv("aew")&&V.handleError&&V._findOriginalError?(V.handleError=La(V.handleError),bc|=4,U(M,!0)):V.scheduleNavigation?(V.scheduleNavigation=kb(V.scheduleNavigation),bc|=8,U(M,!0)):!kc&&V.create&&(V.componentType||Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(V,
"componentType"))&&(4===V.create.length&&V.create.toString().includes("ngModule should be provided")||3===V.create.length&&V.create.toString().includes("createHostView"))&&(aa(V),U(M))}!kc&&"function"==typeof M&&6===M.length&&/return new \w+\(\w+(?:,\s*\w+){5}\)/.test(M.toString())&&ea(M)}}catch(ba){}}function Q(M){function V(Fa,ba,$a){let qb=M.apply(this,arguments);if(31===bc)return qb;for(let Ha in ba)if(O.dT_.oHOP(ba,Ha)){let Sb;try{Sb=ba[Ha]}catch(Bb){}Sb&&ra(Sb)}return qb}return"function"!=typeof M||
W(M)||31===bc?M:(U(M),U(V),V)}function X(M,V,Fa,ba){hc||(ba&&ra(ba),M&&M&&V&&(xa="string"==typeof Fa?Fa:Fa&&Fa.full?Fa.full:"2.0.0",ra(M.constructor||M),ra(V)))}function N(...M){for(let V of M)Y(V[1]);return ja.apply(this,arguments)}function Y(M){if(Array.isArray(M))O.dT_.fE(M,function(V,Fa){M[Fa]=Q(V)});else if("object"==typeof M)for(let V in M)O.dT_.oHOP(M,V)&&(M[V]=Q(M[V]))}function da(M,V,Fa){return Y(V),$b.apply($b,arguments)}function Sa(M,V){return O.dT_.oHOP(V,"length")&&!O.dT_.oHOP(V,"push")&&
!!M}function sa(M){if(ma[M]){let V=ma[M];"function"==typeof V?($b=V,ma[M]=da):V&&Sa(V.push,V)&&(Wb=V,ja=Wb.push,Wb.push=N)}else O.dT_.apl(ma,M,function(){return Wb||$b},function(V){"function"==typeof V?($b=V,O.dT_.rpl(ma,M,void 0,da)):Sa(V.push,V)&&(Wb=V,ja=V.push,O.dT_.apl(V,"push",function(){return ja},function(Fa){ja=Fa;"function"==typeof Fa&&O.dT_.rpl(V,"push",void 0,N)},!0,"win"))},!1,"win")}function U(M){M.__dtInstrumented__=Da}function H(M){delete M.__dtInstrumented__}function W(M){return!!M.__dtInstrumented__}
function T(){O.dT_.addE("DEBUG_INFO_REQUESTED",function(){return hc?null:[{type:"anfi",severity:"Warning",text:"Angular Module not fully initialized yet!"}]})}this.dT_&&dT_.prm&&dT_.prm();var O="undefined"!=typeof window?window:self,ma="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0,xa,Ra=!1,xb="delete get head options patch post put request".split(" "),Ua=["jsonp"],fb=["post","put","patch"],Fb=[],hc=!1,$b,Wb,ja,Da={},ec,$c=!1,bc=0,kc,pb="g",Nb,Jb={httpMethod:function(M,
V,Fa){return Nb.aWF(M,V,Fa)},wrappedCallback:function(M,V,Fa){return Nb.aWF(M,V,Fa)},subscribe:function(M,V,Fa,ba,$a,qb){return Nb.aWF(M,V,Fa,ba,$a,qb)},toPromise:function(M,V,Fa,ba,$a,qb){return Nb.aWF(M,V,Fa,ba,$a,qb)},unsubscribe:function(M,V,Fa,ba,$a,qb){return Nb.aWF(M,V,Fa,ba,$a,qb)},handleError:function(M,V,Fa){return Nb.aWF(M,V,Fa)},scheduleNavigation:function(M,V,Fa){return Nb.aWF(M,V,Fa)}};(function(){var M,V;return Nb=ma.dT_,Nb&&(null===(V=(M=O.dT_).smbi)||void 0===V?void 0:V.call(M,pb))})()&&
(T(),hc||(Nb.initAngularNg=X,sa("webpackJsonp"),O.dT_.scv("apn")&&sa(O.dT_.scv("apn"))))})();
(function(){function Ka(H,W){if(!W)return"";var T=H+"=";H=W.indexOf(T);if(0>H)return"";for(;0<=H;){if(0===H||" "===W.charAt(H-1)||";"===W.charAt(H-1))return T=H+T.length,H=W.indexOf(";",H),0<=H?W.substring(T,H):W.substring(T);H=W.indexOf(T,H+T.length)}return""}function Va(){return 0<aa.dT_.oK(Y).length}function bb(H){let [W,T]=H.split("@");try{let O=document.querySelector(W);if(!O)return{info:"No elements matching the css selector '"+W+"' could be found."};if(T){if(Ya(O,T))return{value:"password input field"};
let xa=O.getAttribute(T);return xa?{value:xa}:{info:`Specified attribute [${T}] contains no data.`}}let ma=O.innerText||O.textContent;return ya(ma)?{value:ma}:{info:"Found element contains no text content."}}catch(O){return{info:"ERROR: retrieving meta data using selector '"+W+"' failed for reason: "+(O.message||O)}}}function Ca(H){var W=/([^(\n]+)\(([^)]*)\)/.exec(H);if(!W||3!==W.length)return{info:`Expression config [${H}] does not match function format.`};let T=W[1];var O=W[2]?W[2].split(";"):
[];W=X[T];if(!W||!T||O.length<W.zd||O.length>W.xd)return{info:`Function expression config [${H}] is not part of allowed functions or has invalid number of parameters.`};W=[];for(var ma of O){var xa=ma.split(":");if(2!==xa.length)return{info:`Function parameters for expr [${H}] are not properly configured.`};O=xa[0];xa=xa[1];var Ra=parseInt(xa);if("Number"!==O||isNaN(Ra))if("String"===O)W.push(xa);else if("Boolean"!==O||isNaN(Ra)||1!==Ra&&0!==Ra)if("Null"===O)W.push(null);else return{info:`ValueType: '${O}' or value: '${xa}' is not valid.`};
else W.push(!!Ra);else W.push(Ra)}a:{ma=ra;O=T.split(".");xa=O.length-1;for(Ra=0;Ra<xa;Ra++)if(ma=ma[O[Ra]],!ma){ma=null;break a}ma=ma[O[xa]]}if("function"==typeof ma)try{return{value:ma(...W)}}catch(xb){return{value:"dT_err",info:"Error occurred while invoking the function: '"+T+"' with the error: "+(xb.message||xb)}}return{info:`No function [${H}] is being found in a given scope to be executed.`}}function Ya(H,W){return H&&"INPUT"===H.nodeName&&"password"===H.getAttribute("type")&&"value"===W.toLowerCase()}
function Qa(H){function W(O,ma,xa){return ma?Ya(O,ma)?"password input field":!O[ma]&&ma.startsWith("$")?(ma=ma.substring(1),O=JSON.parse(O),W(O[ma],T[xa+1],xa+1)):W(O[ma],T[xa+1],xa+1):O}let T;try{let O=H;-1<H.indexOf("[")&&(O=H.replace(/\[([^\]]*)]/g,".$1"));T=O.split(".");let ma=W(ra[T[0]],T[1],1);return ya(ma)?{value:ma}:{info:"JS expression returned is null or undefined: ["+typeof ma+"]."}}catch(O){return{info:"There was an error evaluating the JS expression '"+H+"'!! error: "+(O.message||O)}}}
function ya(H){return!!H||!1===H||0===H}function Ma(H){let W=aa.dT_.ncv("mpl");({maxLength:H}=H);return H&&(W=100*H),W}function La(){ca();let H=0,W="",T=aa.dT_.sNT();for(let xb of aa.dT_.oK(N)){let Ua=N[xb];if(!Ua.Ua||"f"===Ua.type)continue;let fb=sa-H;if(W){Ua.info="Metadata limit already reached. Skipping evaluation.";continue}if(1>fb){W=xb;Ua.info="Metadata limit reached. Metadata evaluation will stop here and will not be executed further.";continue}let Fb=Ma(Ua),{type:hc,Ua:$b}=Ua;var O={};switch(hc){case "a":O=
bb($b);break;case "b":O=Qa($b);break;case "c":O=$b;var ma=Ka(O,document.cookie);O=ya(ma)?{value:ma}:{info:`No cookie [${O}] value found.`};break;case "d":O=$b;var xa=aa.dT_.loc();ma=O.toLowerCase();if(da[ma]&&Sa===xa)O={value:da[ma]};else if(Sa=xa,da={},xa=ra.location.search?ra.location.search.slice(1):xa.split("?")[1]){xa=xa.split("#")[0];xa=xa.split("&");for(let Da of xa){var Ra=Da.split("=");xa=Ra[0];Ra=Ra[1]?Ra[1]:"";xa=xa.toLowerCase();da[xa]||(da[xa]=Ra)}O=da[ma]?{value:da[ma]}:{info:`Searched expression [${O}] was not found in the querystring.`}}else O=
{info:"URL does not contain any query string."};break;case "e":O=Ca($b)}let {value:Wb,info:ja}=O;ya(Wb)?("string"==typeof Wb&&(fb<Fb&&(Wb=Wb.substring(0,fb),ja=`Because of available char length [${fb}] captured metadata value was trimmed.`),Wb.length>Fb&&(ja=`Captured value is trimmed to configured string length of [${Fb}] because it is too long.`,Wb=Wb.substring(0,Fb))),Wb+="",Ua.value=Wb,H+=Wb.length,!Ua.pc&&T&&(Ua.value="dT_pv",Ua.info="Metadata value is masked because doNotTrack is active and property is not marked as public")):
Ua.value=null;ja&&(Ua.info=ja)}return[H,W]}function kb(H){let W="";switch(H){case "a":W="CSS Selector";break;case "b":W="JavaScript Variable";break;case "c":W="Cookie";break;case "d":W="Query String";break;case "e":W="JavaScript Function"}return W}function cb(){La();let H=[];for(let W of aa.dT_.oK(N)){let T=N[W];if("f"===T.type)continue;let O={id:W,type:kb(T.type),expression:T.Ua,value:T.value};T.info&&(O.info=T.info);H.push(O)}return H}function za(){var H=aa.dT_.scv("md"),W=aa.dT_.scv("mdp"),T=aa.dT_.scv("mdl");
sa=aa.dT_.ncv("mmds");if(H){W=W.split(",");var O=T.split(",");T={};for(var ma of O){var xa=ma.split("=");O=xa[0];xa=parseInt(xa[1]);isNaN(xa)||(T[O]=Math.round(xa))}ma=H.split(",");H={};for(var Ra of ma)if(xa=Ra.indexOf("="),ma=Ra.substring(0,xa),O=Ra.charAt(xa+1),"a"===O||"b"===O||"c"===O||"d"===O||"e"===O||"f"===O)xa=aa.dT_.de(Ra.substring(xa+2)),H[ma]={type:O,Ua:xa,value:null,pc:!1,info:void 0},T[ma]&&(H[ma].maxLength=T[ma]);for(var xb of W)H[xb]&&(H[xb].pc=!0);N=H}else N={};Ra=N;xb={};for(let Ua of aa.dT_.oK(Ra))"f"===
Ra[Ua].type&&(xb[Ua]=Ra[Ua]);Y=xb}function na(H){let W=aa.dT_.sNT();var T=H.detail.h;let O={};for(var ma of aa.dT_.oK(T))O[ma.toLowerCase()]=T[ma];H=H.detail.a;for(let xa of aa.dT_.oK(Y))T=N[xa].Ua.toLowerCase(),ya(O[T])&&(T=O[T],ma=Ma(N[xa]),T.length>ma&&(T=T.substring(0,ma)),!N[xa].pc&&W&&(T="dT_pv"),aa.dT_.aAPY("_uaprh_",xa,T,H))}function ca(){aa.dT_.fE(Object.keys(N),function(H){H=N[H];H.value=null;H.info=void 0})}function va(){aa.dT_.addE("CONFIG_UPDATE",za);aa.dT_.addE("HTTP_RESPONSE",na);za();
aa.dT_.aBPSL(function(H,W,T,O){if(H.ha(O)){var [ma,xa]=La();W=[];for(Ra in N)aa.dT_.oHOP(N,Ra)&&({value:T}=N[Ra],"undefined"!=typeof T&&null!==T&&W.push(`${Ra},${aa.dT_.aesc(T)}`));var Ra=(Ra=W.join(";"))&&encodeURIComponent(Ra);if(H.av(O,"md",Ra,!0),ma>=sa)Ra=sa+"",xa&&(Ra+=","+xa),H.av(O,"mdlr",Ra,!0)}})}function ea(){let H=[],[W]=La(),T=[],O=[];for(var ma in N)if(aa.dT_.oHOP(N,ma)){let xa=N[ma];(null===xa.value||"dT_err"===xa.value)&&xa.info&&T.push(`'${xa.Ua}'(${kb(xa.type)}): '${xa.info}'`);
"dT_pv"===xa.value&&O.push(`'${xa.Ua}'(${kb(xa.type)})`)}if(T.length){ma=[];for(let xa of T)ma.push({type:"mnc",text:xa,severity:"Info"});H.push({severity:"Info",text:`${T.length} session/action ${1<T.length?"properties":"property"} not collected`,type:"mnc",children:ma})}return O.length&&H.push({severity:"Info",text:`Because of respected doNotTrack there are no session/action properties reported for: ${O.join(", ")}`,type:"mdr"}),W>=sa&&H.push({severity:"Warning",text:`Session/action properties size exceeds the active limit of "${sa}"`,
type:"mlr"}),H}this.dT_&&dT_.prm&&dT_.prm();var aa="undefined"!=typeof window?window:self,ra="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0,Q={zd:0,xd:0},X={"window.Intercom":{zd:1,xd:1},"LC_API.get_last_visit_timestamp":Q,"LC_API.get_visits_number":Q,"LC_API.get_page_views_number":Q,"LC_API.get_chats_number":Q,"LC_API.get_visitor_id":Q,"LC_API.get_chat_id":Q},N={},Y={},da={},Sa,sa,U;(function(){var H,W;return U=ra.dT_,U&&null!==(W=(H=aa.dT_).smbi)&&void 0!==W&&
W.call(H,"h")?(va(),aa.dT_.addE("DEBUG_INFO_REQUESTED",ea),!0):!1})()&&(U.gEMD=cb,U.iRHCA=Va)})();
(function(){function Ka(U,H,W,T,O){let ma=!1;if(X||Q)return ma;Q=!0;try{"function"==typeof ra&&ra!==Ka&&(ma=ra(U,H,W,T,O))}catch(xa){na.dT_.rex(xa,void 0,!0,"1")}return ma||na.dT_.re({msg:"string"==typeof U?U:"",file:H||"",line:W||-1,column:T||-1,error:O||"",stackContainsWrapper:!1,source:"1"}),Q=!1,ma}function Va(U){try{if("[object Function]"!==Object.prototype.toString.call(U))return U;let H=U.dtwid;return"number"==typeof H&&Y[H]?Y[H].Fc++:(Y[da]={va:U,Fc:1},U.dtwid=da++),U.rxewrapper=U.rxewrapper||
function(W){try{return Sa.Ne(U,this,arguments)}catch(T){if(-2146823277!==T.number)throw N&&(na.dT_.rex(T,void 0,!0,"1"),bb()),T;}},U.rxewrapper.rxewrapper=U.rxewrapper,U.rxewrapper}catch(H){return U}}function bb(){X+=1;na.dT_.st(function(){--X},0)}function Ca(){let U=document.getElementsByTagName("html");0!==U.length&&U[0].hasAttribute&&U[0].hasAttribute("webdriver")||"EventTarget Window ModalWindow".replace(/\w+/g,function(H){(H=ca[H]&&ca[H].prototype)&&na.dT_.oHOP(H,"addEventListener")&&(H.addEventListener=
Ya(H.addEventListener),H.removeEventListener=Qa(H.removeEventListener));return""})}function Ya(U){return function(H,W,T,O){return W&&W.handleEvent&&(W.handleEvent=Va(W.handleEvent)),U.call(this,H,Va(W),T,O)}}function Qa(U){return function(H,W,T,O){try{return U.call(this,H,W&&W.rxewrapper?W.rxewrapper:W,T,O)}finally{W&&(H=W.dtwid,"number"==typeof H&&Y[H]&&Y[H].va===W&&(Y[H].Fc--,Y[H].Fc||(delete W.rxewrapper,delete W.dtwid,delete Y[H])))}}}function ya(){try{na.dT_.apl(ca,"onerror",function(){return Ka},
function(U){ra=U})}catch(U){}}function Ma(...U){let H,W;for(let T of U)!H&&na.dT_.iIO(T,7)&&(H=T),!W&&T&&"string"==typeof T&&(W=T);return(H||W)&&na.dT_.rex(H||W,void 0,!1,"2"),sa.apply(this,U)}function La(U){var H;if(H="string"==typeof U.blockedURL&&"string"==typeof U.documentURL&&!!U.blockedURL&&!!U.documentURL)H=U.blockedURL,H=!(null!=H&&H.includes(na.dT_.scv("reportUrl")));if(H){H=[];for(var W in U)U[W]&&"function"!=typeof U[W]&&H.push([W,U[W]+""]);H.length&&na.dT_.cAE("_csprv_",H,!0,void 0,1)}}
function kb(U){"securitypolicyviolation"===U.type&&La({sourceFile:U.sourceFile,blockedURL:U.blockedURI,documentURL:U.documentURI,referrer:U.referrer,disposition:U.disposition,effectiveDirective:U.effectiveDirective||U.violatedDirective,originalPolicy:U.originalPolicy,statusCode:U.statusCode,lineNumber:U.lineNumber,columnNumber:U.columnNumber,sample:U.sample,toJSON(){}})}function cb(U){for(let H of U)"csp-violation"===H.type&&(U=H.body)&&La(U)}function za(U){U.reason&&na.dT_.iIO(U.reason,7)?na.dT_.rex(U.reason,
void 0,!0,"4"):U.detail&&na.dT_.iIO(U.detail.reason,7)&&na.dT_.rex(U.detail.reason,void 0,!0,"4")}this.dT_&&dT_.prm&&dT_.prm();var na="undefined"!=typeof window?window:self,ca="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0,va;(va||(va={})).ng="errorCallback";var ea;(function(U){U.jg="5";U.kg="2";U.mg="0";U.og="4";U.qg="1";U.rg="3"})(ea||(ea={}));var aa,ra,Q=!1,X=0,N=!0,Y={},da=0,Sa={Ne:function(U,H,W,T,O,ma){return aa.aWF(U,H,W,T,O,ma)}},sa;(function(){var U,H;
if(ca.dT_&&null!==(H=(U=na.dT_).smbi)&&void 0!==H&&H.call(U,"q")){if(aa=ca.dT_,!na.dT_.bcv("doel")){ca.onerror!==Ka&&(aa.rxehandler=Ka,ca.onerror&&(ra=ca.onerror),ca.onerror=aa.rxehandler);if(ya(),!ca.atob)N=!1;else if(ca.ErrorEvent)try{0===(new ca.ErrorEvent("test")).colno&&(N=!1)}catch(T){}N&&Ca()}na.dT_.bcv("lupr")&&na.dT_.ael(ca,"unhandledrejection",za);na.dT_.bcv("csprv")&&(ca.ReportingObserver?(new ca.ReportingObserver(cb,{buffered:!0,types:["csp-violation"]})).observe():na.dT_.gBI().ff&&na.dT_.ael(document,
"securitypolicyviolation",kb));if(na.dT_.bcv("cce")){var W;null!==(W=ca.console)&&void 0!==W&&W.error&&(sa=ca.console.error,ca.console.error=na.dT_.wwi(Ma,sa))}}})()})();
(function(){function Ka(I,C,ka,ua){function Ja(Pa){return Pa instanceof ka?Pa:new ka(function(Aa){Aa(Pa)})}return new (ka||(ka=ja))(function(Pa,Aa){function ob(rb){try{eb(ua.next(rb))}catch(Kb){Aa(Kb)}}function Ta(rb){try{eb(ua.throw(rb))}catch(Kb){Aa(Kb)}}function eb(rb){rb.done?Pa(rb.value):Ja(rb.value).then(ob,Ta)}eb((ua=ua.apply(I,C||[])).next())})}function Va(I,C=[]){var ka=$c||ec.dT_;ka=null!=ka&&ka.iIO?ka.iIO:null;return!(null===ka||void 0===ka||!ka(I,C))}function bb(I,C=0){return I.name+"_"+
(I.startTime+C)+"_"+I.duration}function Ca(){try{performance.getEntries()[0].G=!0,kc=performance.getEntries()[0].G,pb=()=>!!kc}catch(I){}}function Ya(){bc=ec.dT_;Da.dT_.gBI().sf?pb=()=>!1:pb=()=>(Ca(),!!kc)}function Qa(I){"function"==typeof M.addEventListener?M.addEventListener("resourcetimingbufferfull",I):"undefined"!=typeof M.onresourcetimingbufferfull&&(qb=M.onresourcetimingbufferfull,M.onresourcetimingbufferfull=I)}function ya(){try{"function"==typeof qb&&qb.call(M,new Event("resourcetimingbufferfull",
{bubbles:!0,cancelable:!0})),Da.dT_.st(function(){$a.call(M)},0)}catch(I){}}function Ma(){let I=(M=ec.performance)?(Fa=M.getEntriesByType,ba=M.getEntriesByName,V=M.setResourceTimingBufferSize,$a=M.clearResourceTimings,!!Fa&&!!ba&&!!V&&!!$a):!1;return I&&V.call(M,1E3),I}function La(I){let {a:C,e:ka}=I.detail;if(ka)for(let ua of ka){I=ua.url;if(!I)continue;let Ja=ua.relevance||0,Pa={area:ua.area,imageWidth:ua.w,imageHeight:ua.h,imageNaturalWidth:ua.nw,imageNaturalHeight:ua.nh,onloadTime:ua.o,relevance:Ja,
Te:ua.ireason||0,actionId:C||0};(!Ha[I]||Ja>Ha[I].relevance)&&(Ha[I]=Pa)}}function kb(I){return!!I&&isFinite(I)&&0<I}function cb(I){let C=Ha[I.name];"undefined"!=typeof C?(I.relevantArea=C.area,I.relevance=C.relevance,I.vcIrrelevanceReason=C.Te,C.onloadTime&&(I.onloadTime=C.onloadTime-Math.round(I.startTime)-Da.dT_.gto()),kb(C.imageWidth)&&kb(C.imageHeight)&&(I.imageWidth=C.imageWidth,I.imageHeight=C.imageHeight),kb(C.imageNaturalWidth)&&C.imageNaturalWidth!==C.imageWidth&&(I.imageNaturalWidth=C.imageNaturalWidth),
kb(C.imageNaturalHeight)&&C.imageNaturalHeight!==C.imageHeight&&(I.imageNaturalHeight=C.imageNaturalHeight),delete Ha[I.name]):I.relevance=0}function za(){return Bb}function na(I){Xb[bb(I)]=I}function ca(I){y[bb(I)]=I}function va(I,C,ka){return{get(){let ua=+I[ka];return isNaN(ua)?C:ua+C}}}function ea(I,C){if(0>=C)return I;var ka=Xb[bb(I,C)];if(ka)return ka;ka={};for(let ua of x)ka[ua]=va(I,C,ua);for(let ua of t)ua in I&&(ka[ua]={get(){return I[ua]}});C=Object.create(I,ka);return C._dtCl=!0,na(C),
C}function aa(){let I=[],C=document.getElementsByTagName("iframe");if(!C.length)return I;for(let Ta=0;Ta<C.length;Ta++){var ka=C[Ta];try{var ua=I,Ja=ua.concat;a:{let eb=void 0,rb=ka.contentWindow;if(Sb.has(ka))var Pa=Sb.get(ka);else{var Aa=jc;Pa=(Sb.set(ka,Aa),"undefined"!=typeof ka.src&&(Bb[ka.src]=Aa),jc++,Aa)}ka=Pa;if(rb.dT_){var ob=[];break a}Aa=[];let Kb=rb.performance.getEntriesByType("resource"),zb=M.timeOrigin;zb?eb=rb.performance.timeOrigin-zb:eb=rb.performance.timing.navigationStart-M.timing.navigationStart;
eb=Math.round(eb);for(let nc of Kb){let tc=ea(nc,eb);qc[bb(tc)]||(tc.frameId=ka,Aa.push(tc))}ob=Aa}I=Ja.call(ua,ob)}catch(eb){}}return I}function ra(){let I=[];var C=Fa.call(M,"resource");let ka=pb();var ua;if(ec.frames&&ec.frames.length){var Ja=[];for(let Pa=0;Pa<ec.frames.length;Pa++)try{let Aa=ec.frames[Pa];Aa.dT_&&null!==(ua=null==Aa?void 0:Aa.location)&&void 0!==ua&&ua.href&&Ja.push(Aa.location.href)}catch(Aa){}ua=Ja}else ua=[];for(let Pa of C){Ja=Pa;ka||(C=Ja,Ja=y[bb(C)]||(ca(C),C));if(!(C=
qc[bb(Ja)]))a:{if(("iframe"===Ja.initiatorType||"subdocument"===Ja.initiatorType)&&ua.length)for(let Aa of ua)if(Aa===Ja.name){C=!0;break a}C=!1}C||I.push(Ja)}return I}function Q(I,C){let ka;if("text/css"===C.type){ka=C.href||"";var ua=C.ownerNode;C=ua&&ua.nodeType&&1===ua.nodeType?C.ownerNode:null}else ka=C.src;return ka&&C&&(I[ka]=C),I}function X(I,C){return C.actionId!==I&&!C.Sd}function N(I,C,ka,ua,Ja,Pa){return function(Aa){if(!qc[bb(Aa)])try{let Ec=Aa.name;var ob=(Aa.gi||Da.dT_.gto())+Aa.startTime;
let Kc=Aa.name;var Ta;if(!(Ta=Kc.includes(Da.dT_.gAN())||Kc.includes("dtagent_")||Kc.includes("ampbf")&&Kc.includes("flavor=amp"))){var eb=Kc,rb=eb.includes;let rd=Da.dT_.scv("reportUrl");var Kb=((!Nb||rd!==Jb)&&(Jb=rd,Nb=Da.dT_.tau(Jb)),Nb);Ta=rb.call(eb,Kb)}var zb;if(zb=Ta||Aa.startTime>Aa.responseEnd||0>Aa.startTime?!1:0<Kc.length)Ta=Ec,zb=!(Ta.includes("chrome-extension://")||Ta.includes("chrome://")||Ta.includes("data:")||Ta.includes("javascript:")||Ta.includes("about:")||Ta.includes("res://"));
if(zb){zb=ob-I;var nc=Ha[Aa.name],tc=Aa.se||1/0;tc=Ja?1/0:tc;Ta=bc;if(I<=ob&&ob<=C+(Ta.syn?1E3:Da.dT_.ncv("rtt"))&&tc>=zb||nc&&nc.actionId===+ka&&0<nc.relevance){var Lc=ua&&Aa.name.includes(ua);nc=3;Ja?nc=1:Lc&&(nc=2);(!Aa.ud||3===Aa.ud)&&(Aa.se=zb,Aa.ud=nc,Aa.Jd=Pa,Aa.actionId=ka)}}}catch(Ec){}}}function Y(I,C,ka){return Ka(this,void 0,void 0,function*(){S=Da.dT_.aFr(S,X.bind(null,I));for(let ua of S)yield da(ua,ua.start,C,!1,ka),ua.Sd=!0})}function da(I,C,ka,ua,Ja){return Ka(this,arguments,void 0,
function*({actionId:Pa,Kd:Aa,xhrUrl:ob,start:Ta},eb,rb,Kb,zb){let nc=Da.dT_.lAID();Pa=N(Ta,eb,Pa,ob,Pa===nc,Aa);if(yield Da.dT_.fEP(zb,Pa,void 0,!rb),Kb)rb=F[Aa],rb.count--,!rb.count&&rb.vb.includes(Aa)&&Da.dT_.sMPS(1)})}function Sa(){var I=Da.dT_.oK(J);for(let C of I)I=J[+C],Da.dT_.ct(I.qa),I.Ga(!0);J={}}function sa(I,C,ka,ua){let Ja=F[ka];Ja||(Ja={count:0,vb:[]});Ja.count++;Ja.vb.push(I);F[ka]=Ja;S.push({actionId:I,start:C,Kd:ka,xhrUrl:ua,Sd:!1})}function U(){F={};J={};S=[];let I=Da.dT_.lAID();
sa(I,Da.dT_.lst(),I);Da.dT_.addE("ACTION_ENTERED",H);Da.dT_.addE("ACTION_SENT",W)}function H(I){let {x:C,t:ka,i:ua,a:Ja,r:Pa}=I.detail;ia.includes(ka)||(I=Da.dT_.lAID(),Pa===I&&Pa!==ua||sa(ua,Ja,Pa,C))}function W(I){return Ka(this,void 0,void 0,function*(){function C(Kb){return Ka(this,void 0,void 0,function*(){let zb=Array.prototype.concat(aa(),ra(),tb);yield Y(Ja,!0,zb);yield da({actionId:Ja,Kd:Ta,xhrUrl:ka,start:Pa},Aa,Kb,!0,zb)})}let {x:ka,t:ua,i:Ja,a:Pa,s:Aa,f:ob,r:Ta,rt:eb}=I.detail;if(eb&&
ca(eb),!ia.includes(ua)){var rb=Da.dT_.lAID();if(Ta!==rb||Ta===Ja)ob?yield C(ob):(rb=Da.dT_.st(function(){delete J[Ja];C(ob)},2E3),J[Ja]={qa:rb,Ga:C})}})}function T(I){var C;if(C="number"==typeof I.Jd){var ka;C=0===(null===(ka=F[I.Jd])||void 0===ka?void 0:ka.count)}return C}function O(I){let C=[];var ka=[];for(var ua in F){var Ja;if(Ja=Da.dT_.oHOP(F,ua)){Ja=+ua;var Pa=F[Ja];Ja=!J[Ja]&&(!Pa||!Pa.count&&Pa.vb.includes(Ja))}Ja&&ka.push(...F[ua].vb)}for(let Aa of ka){ua=+Aa;ka=Ja=I[ua]||[];Pa=ua;let ob=
bc;if(!ob.syn&&ob.gLVD){Pa=ob.gUI(Pa);for(let Ta of Pa){Pa=!1;for(let eb of ka)if(!eb.failedResource&&eb.name===Ta.name){200===(eb.responseStatus||eb.statuscode)||(eb.failedResource=Ta.failedResource);Pa=!0;break}Pa||(cb(Ta),ka.push(Ta))}}C.push({resources:Ja,actionId:ua});delete F[ua]}return C}function ma(I){I&&Sa();I=Da.dT_.aFr(Array.prototype.concat(aa(),ra(),tb),T);let C=Da.dT_.red(Array.prototype.concat(Array.prototype.slice.call(document.scripts),Array.prototype.slice.call(document.styleSheets)),
Q,{});I=Da.dT_.red(I,(ka,ua)=>{let Ja=ua.actionId,Pa=ka[Ja];Pa||(Pa=[]);var Aa=C[ua.name];if(Aa){if(Aa&&"LINK"===Aa.nodeName){let ob=Aa.media||"all";Aa="stylesheet"===Aa.rel&&window.matchMedia(ob).matches&&!Aa.disabled}else Aa=!Aa.hasAttribute("async")&&!Aa.hasAttribute("defer")&&"module"!==Aa.getAttribute("type");ua.isCritical=+Aa}cb(ua);Pa.push(ua);ka[Ja]=Pa;qc[bb(ua)]=!0;return ka},{});I=O(I);900<Fa.call(M,"resource").length&&(ya(),qc={},Xb={},y={},tb=[],Ha={});return I}function xa(I){return xd&&
Va(I,13)&&"navigation"!==I.entryType||Va(I,["_dtCl"])}function Ra(I){if(I.includes("ScriptResource.axd"))I="js";else{var C=I.substring(1+I.lastIndexOf("/"));I=(0<C.indexOf("?")&&(C=C.split("?")[0]),0<C.indexOf("#")&&(C=C.split("#")[0]),0<C.indexOf(".")?C.substring(C.lastIndexOf(".")+1):"-")}switch(I){case "js":return"s";case "gif":case "png":case "jpg":case "jpeg":case "ico":case "tiff":case "bmp":case "xbm":case "svg":return"i";case "css":return"c";default:return"o"}}function xb(I){I=Rc()+I.startTime;
return I-=pc(),Math.round(I)}function Ua(I,C,ka,ua){var Ja=I.resources;I=I.actionId;if(bd().op){var Pa=[],Aa={};for(var ob of Ja)Aa[ob.name]||(Pa.push(ob),Aa[ob.name]=!0);Ja=Pa}ob=[];for(let Ec of Ja){Pa=ob;Aa=Pa.push;var Ta=Ec,eb=Ra(Ta.name.toLowerCase()),rb=Ta,Kb=rb.duration;rb=(!Kb&&xa(rb)&&(Kb=rb.responseEnd-rb.startTime),Kb?Math.round(Kb):0);Kb=xb(Ta);var zb=Ta;if(xa(zb)&&0<zb.responseEnd){var nc=Rc()+zb.responseEnd;zb=(nc-=pc(),Math.round(nc))}else zb=Math.round(mc()-pc());rb={duration:rb,start:Kb,
stop:zb};Kb=Ta.name;zb=Qc(Ta.name);nc=xb(Ta)<=Gc()?"_load_":"-";var tc=0===Ta.responseEnd,Lc=Ta.failedResource?!1:0<Ta.responseEnd;Ta=bd().ch?0!==Ta.domainLookupStart&&0===Ta.requestStart:Qc(Ta.name)!==Jc&&0===Ta.requestStart&&2>Ta.duration?!0:0>=Ta.responseEnd?!1:Ta.requestStart===Ta.fetchStart&&Ta.requestStart===Ta.responseStart&&Ta.responseStart!==Ta.responseEnd;Aa.call(Pa,{type:eb,Dh:rb,url:Kb,domain:zb,actionName:nc,eh:tc,Vh:Lc,Ag:Ta,$g:!1})}Fb(C,I,ob,Ja,ka,ua)}function fb(I,C,ka,ua,Ja){let Pa=
Ja||Rc();if(!I.length||0>=Pa)ka("");else{var Aa=[];lb(I,ob=>{if(ad&&Aa.length/2>=ad)ob=!1;else{var Ta=ob.startTime,eb;(eb=Ta<("iframe"===ob.initiatorType?1:0))||(eb=ob.actionId,eb=!(!eb||eb===C));eb?ob=!0:(Ta=Ta?["b",Math.round(Ta)]:[],ob=(ta(ob,Ta,Rc()),Aa.push(vc(ob.name),Ta.join("")),!0))}return ob},void 0,function(){ka(Ga(`${C||md()}-${Math.round(Pa)};${Aa.join("|")}`))},!ua)}}function Fb(I,C,ka,ua,Ja,Pa){fb(ua,C,Aa=>{Aa&&I.Id.push(Aa);Ja()},Pa)}function hc(I,C,ka,ua){if(Da.dT_.las()){var Ja=
Gc();Ja=!ka&&(0>=Ja||3E3>mc()-Ja)?(Da.dT_.sMPS(2E3),!1):!0}else Ja=!1;if(Ja&&!C){$b(ma(ka),ka);!Uc.length||Da.dT_.last()+3E4<=mc()&&Da.dT_.last()?(Uc=[],C=void 0):C=Uc.splice(0,1)[0];if(C)for(C=C.Id,ka=0;ka<C.length;ka++)I.av(ua,"rt",C[ka],!0,ka);Uc.length&&Da.dT_.sMPS(100)}}function $b(I,C){let ka={Id:[],resourceSummaries:[]},ua=I.length,Ja=0;for(let Pa of I)Ua(Pa,ka,function(){Ja++;Ja===ua&&(Uc.push(ka),Da.dT_.sMPS(0))},C)}function Wb(I){ta=I.snt;Ga=I.esc;lb=I.fE;pc=I.lst;mc=I.nw;Gc=I.gLAet;Qc=
I.gh;fd=I.loc;bd=I.gBI;md=I.lAID;vc=I.aur;wc=I.stcv;Rc=I.gto;I=bc;ad=Da.dT_.ncv("rtl");I.syn&&(ad=0,wc("rtp",1),wc("rtu",800));Jc=Qc(fd());I=ec.performance;0<((null==I?void 0:I.timeOrigin)||(null==I?void 0:I.timing.navigationStart))&&Da.dT_.aBPSL(hc)}var ja=this.dT_&&dT_.prm&&dT_.prm()||window.Promise,Da="undefined"!=typeof window?window:self,ec="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0,$c,bc,kc,pb,Nb,Jb,M,V,Fa,ba,$a,qb,Ha={},Sb,Bb={},jc=0,qc={},Xb={},tb=[],
y={},x="connectEnd connectStart domainLookupEnd domainLookupStart fetchStart redirectEnd redirectStart requestStart responseEnd responseStart secureConnectionStart startTime workerStart".split(" "),t="name duration transferSize decodedBodySize encodedBodySize entryType initiatorType nextHopProtocol serverTiming transferSize responseStatus".split(" "),F={},J={},S=[],ia="_error_ _ts_ _code_ _debug_ _emu_ _location_ _stack_ _useraction_ _source_ _istack_ _type_ _log_ _rs_ _endVisit_ - _t_".split(" "),
ta,Ga,lb,pc,Gc,mc,Qc,fd,bd,md,vc,wc,Rc,ad,Jc,xd="function"==typeof PerformanceResourceTiming||"object"==typeof PerformanceResourceTiming,Uc=[];(function(){var I,C;let ka=ec.dT_;ka&&null!==(C=(I=Da.dT_).ssmbi)&&void 0!==C&&C.call(I,"r",!1,!0)&&!ec.externalHost&&(Ya(),Ma())?(Wb(ka),U(),Bb={},Sb=new WeakMap,jc=0,Ha={},qc={},Xb={},y={},tb=[],I=(Qa(function(){tb=ra()}),Da.dT_.addE("VISUALLY_COMPLETE",La),!0)):I=!1;return I})()&&(bc.gFU=za)})();
(function(){function Ka(Ua,fb=[]){var Fb=N||X.dT_;Fb=null!=Fb&&Fb.iIO?Fb.iIO:null;return!(null===Fb||void 0===Fb||!Fb(Ua,fb))}function Va(Ua){Q.dT_.addE&&Q.dT_.addE("CONFIG_UPDATE",Ua)}function bb(){(Y=Q.dT_.bcv("uxdce"))&&(da=Q.dT_.ncv("uxdcw"))}function Ca(){(sa=Q.dT_.aO("deadClickObserver",ya))&&sa.observe(document.documentElement,{childList:!0,attributes:!0,characterData:!0,subtree:!0});sa&&(Q.dT_.aBPSL(Qa),Q.dT_.ael(document,"click",Ya),H=!0)}function Ya(){let Ua=Q.dT_.nw();Q.dT_.st(function(){Sa<
Ua&&(U.push({time:Math.round(Ua)}),Q.dT_.sMPS(2E3))},da)}function Qa(Ua,fb,Fb,hc){if(0!==U.length){fb=Ua.av;Fb=U;let $b=[];for(let Wb of Fb)$b.push(Wb.time.toFixed());fb.call(Ua,hc,"dC",$b.join(","),!0);U=[]}}function ya(Ua){let fb=Ua.length;for(;fb--;){var Fb=Ua[fb].target,hc=Fb;if(hc=(Ka(hc,9)||hc&&hc.nodeType&&1===hc.nodeType)&&("string"==typeof hc.textContent||"string"==typeof hc.innerText))Fb=Fb.getBoundingClientRect(),hc=!(0>Fb.right||Fb.left>(window.innerWidth||document.documentElement.clientWidth)||
0>Fb.bottom||Fb.top>(window.innerHeight||document.documentElement.clientHeight));if(hc){Sa=Q.dT_.nw();break}}}function Ma(){bb();Y&&!H?Ca():!Y&&H&&(Q.dT_.rBPSL(Qa),Q.dT_.rO("deadClickObserver"),Q.dT_.rel(document,"click",Ya,void 0),U=[],H=!1,Sa=-1)}function La(){if(W=Q.dT_.bcv("uxrgce"),W){let Ua=Q.dT_.scv("uxrgcm"),[fb,Fb]=Ua.split(";");T=kb(fb);kb(Fb)}}function kb(Ua){let [fb,Fb,hc,$b]=Ua.split(",");return{Dg:+fb||100,Kg:+Fb||25,fg:+hc||300,bg:+$b||3}}function cb(Ua){return{x:Ua.x||Ua.clientX,y:Ua.y||
Ua.clientY,timeStamp:Q.dT_.nw()}}function za(){Q.dT_.iMD()||(Q.dT_.aBPSL(va),Q.dT_.ael(document,"click",ca),Q.dT_.ael(document,"mousedown",na),O=!0)}function na(Ua){xa=cb(Ua)}function ca(Ua){Ua=cb(Ua);if(0===Ra.length)Ra.push(Ua);else{var fb=Ra[0],Fb=Ra[Ra.length-1];if(Fb=Ua&&Fb?Ua.timeStamp-Fb.timeStamp<=T.fg:!1)Fb=T.Kg,Fb=Math.abs(fb.x-Ua.x)<=Fb&&Math.abs(fb.y-Ua.y)<=Fb;Fb&&Ua&&xa&&Ua.timeStamp-xa.timeStamp<=T.Dg?(Ra.push(Ua),ea()):(Ra.length>=T.bg&&aa(),Ra=[Ua])}}function va(Ua,fb,Fb,hc){if(0!==
xb.length){fb=Ua.av;Fb=xb;let $b=[];for(let Wb of Fb)$b.push(Wb.Eg+"|"+Wb.dg.toFixed()+"|"+Wb.duration.toFixed());fb.call(Ua,hc,"rC",$b.join(","),!0);xb=[]}}function ea(){Q.dT_.ct(ma);ma=Q.dT_.st(function(){Ra.length>=T.bg&&aa()},T.fg)}function aa(){var Ua=Ra[0];Ua={Eg:Ra.length,dg:Math.round(Ua.timeStamp),duration:Math.round(Ra[Ra.length-1].timeStamp-Ua.timeStamp)};0<Ua.dg&&0<Ua.duration&&(xb.push(Ua),Q.dT_.sMPS(2E3));Ra=[]}function ra(){La();W&&!O?za():!W&&O&&(Q.dT_.rBPSL(va),Q.dT_.rel(document,
"click",ca,void 0),Q.dT_.rel(document,"mousedown",na,void 0),Ra=[],xb=[],O=!1)}this.dT_&&dT_.prm&&dT_.prm();var Q="undefined"!=typeof window?window:self,X="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0,N,Y,da,Sa=-1,sa,U=[],H=!1,W,T,O=!1,ma,xa,Ra=[],xb=[];(function(){var Ua,fb;return X.dT_&&(null===(fb=(Ua=Q.dT_).smbi)||void 0===fb?void 0:fb.call(Ua,"u"))})()&&(La(),W&&za(),Va(ra),bb(),Y&&Ca(),Va(Ma))})();
(function(){function Ka(y){let x=this;if(x.constructor){let F=Ka;Object.defineProperty(x,"constructor",{get:function(){return F},set:function(J){F=J}})}x.dtProps={requestStart:0,nb:!0,aa:0,sa:[],url:"",method:"",aborted:!1,La:0,async:void 0,originalXhr:arguments.length?new $a(y):new $a,Ae:!1,Gd:-1,Dc:-1,Ec:[],rd:!1,Eb:function(){if(x.readyState=t.originalXhr.readyState,x.readyState!==t.Gd||100<ja.dT_.nw()-t.Dc){for(let F of t.Ec)ba(F);t.Ec=[];t.jf();t.Dc=ja.dT_.nw()}else t.Ec.push(ja.dT_.st(t.Eb,
100));t.Gd=x.readyState},Ie:function(F,J){t.originalXhr.onreadystatechange!==t.Eb&&(t.originalXhr.onreadystatechange=t.Eb);t.aa=0;t.requestStart=ja.dT_.nw();x.__dtFrameworks__||(t.aa=ja.dT_.ex("x",void 0,t.url,void 0,x,!1,V));ja.dT_.disE({kind:"REQUEST_STARTED",detail:{i:"xmlhttprequest",x:t.url}});try{t.async&&(t.originalXhr.timeout=x.timeout)}catch(ta){}try{t.async&&(t.originalXhr.responseType=x.responseType)}catch(ta){}t.kf();var S={};S=ja.dT_.sch(S,t.url,t.aa,void 0,t.traceContext);for(let ta in S.headers)ja.dT_.oHOP(S.headers,
ta)&&t.originalXhr.setRequestHeader(ta,S.headers[ta]);t.originalXhr.withCredentials!==x.withCredentials&&(t.originalXhr.withCredentials=x.withCredentials);let ia;S=!0;try{if(J&&t.originalXhr.sendAsBinary)ia=t.originalXhr.sendAsBinary.apply(t.originalXhr,F);else{let ta=ea(x,"send");ta?ia=Ha.send(ta,x,F):ia=t.originalXhr.send.apply(t.originalXhr,F)}S=!1}finally{S&&ja.dT_.lx(t.aa,void 0,"x")}return!t.async&&x.readyState&&t.aa&&ja.dT_.lx(t.aa,void 0,"x"),ia},kf:function(){t.rd||(Ma(x,t.originalXhr),t.rd=
!0)},Uc:function(F,J,S=!1){for(let ia of t.sa)if(ia[0]===F&&ia[1]===J&&ia[2]===S)return;t.sa.push([F,J,S])},Hd:function(F,J,S=!1){let ia=null;for(let ta=0;ta<t.sa.length;ta++)if(ia=t.sa[ta],ia[0]===F&&ia[1]===J&&ia[2]===S){t.sa.splice(ta,1);break}},fc:function(F){let J=!1,S=!1;if(F.cancelable&&F.preventDefault){let ta=F.preventDefault;F.preventDefault=function(){return J=!0,Ha.preventDefault(ta,this,arguments)}}if(F.stopImmediatePropagation){let ta=F.stopImmediatePropagation;F.stopImmediatePropagation=
function(){return S=!0,Ha.stopImmediatePropagation(ta,this,arguments)}}F=kb(F,x);"readystatechange"===F.type&&"undefined"!=typeof t.onreadystatechange&&t.onreadystatechange&&(t.Ae=!0,Ha.onreadystatechangeCallback(t.onreadystatechange,x,[F]));let ia=t.sa;for(let ta of ia)!S&&ta[0]===F.type&&!ta[2]&&("object"==typeof ta[1]&&ta[1].handleEvent?Ha.dispatchXHRCallback(ta[1].handleEvent,ta[1],[F]):Ha.dispatchXHRCallback(ta[1],x,[F]));return!J},jf:function(){let F=t.aa;try{ja.dT_.ec(F,x.readyState),t.La++,
t.fc({type:"readystatechange",bubbles:!1,cancelable:!1,timeStamp:ja.dT_.nw()})}finally{t.La--,ja.dT_.lc(F),4===x.readyState&&F&&va(x,t)}},errorReason:void 0,hasError:!1,traceContext:ja.dT_.gtc(),toString(){return"[Custom DTProperty Object]"},toJSON(){return"[Custom DTProperty Object]"}};let t=x.dtProps;x.readyState=0;ra(x);try{Object.defineProperty(t,"responseType",{get:function(){return t.originalXhr.responseType},set:function(F){t.originalXhr.responseType=F}})}catch(F){}bb($a.prototype);for(let F in t.originalXhr){if(-1===
kc.indexOf(F)&&(!ja.dT_.oHOP(t.originalXhr,F)||ja.dT_.oHOP(x,F))){V&&-1!==Nb.indexOf(F)&&X(F,!1);continue}let J=F;if("upload"===J)Object.defineProperty(x,"upload",{enumerable:!0,get:function(){return t.upload||(t.upload=new na(x)),t.upload}});else{try{t[J]=t.originalXhr[J]}catch(S){}Object.defineProperty(x,J,{enumerable:!0,get:function(){let S=J;return 0<=kc.indexOf(J)?t.originalXhr[J]:"undefined"==typeof t[S]?Sb[S]:t[S]},set:function(S){t[J]=S}})}}t.Dc=ja.dT_.nw();x.onreadystatechange=null;"withCredentials"in
t.originalXhr&&(x.withCredentials=t.originalXhr.withCredentials);x.timeout=0;t.originalXhr.overrideMimeType&&(x.overrideMimeType=function(F){let J=ea(x,"overrideMimeType");return J?Ha.overrideMimeType(J,x,arguments):t.originalXhr.overrideMimeType(F)});ja.dT_.bcv("peti")&&t.originalXhr.addEventListener&&(x.addEventListener=function(F,J,S){let ia=ea(x,"addEventListener");t.Uc(F,J,S);ia?ja.dT_.iNF(ia)||Ha.AELWrapper(ia,t.originalXhr,arguments):ja.dT_.iNF(t.originalXhr.addEventListener)||t.originalXhr.addEventListener(F,
J,S)},x.removeEventListener=function(F,J,S){let ia=ea(x,"removeEventListener");t.Hd(F,J,S);ia?ja.dT_.iNF(ia)||Ha.RELWrapper(ia,t.originalXhr,arguments):ja.dT_.iNF(t.originalXhr.removeEventListener)||t.originalXhr.removeEventListener(F,J,S)},x.dispatchEvent=function(F){let J=ea(x,"dispatchEvent");if(J){if(!ja.dT_.iNF(J))return Ha.dispatchWrapper(J,t.originalXhr,arguments)}else if(!ja.dT_.iNF(t.originalXhr.dispatchEvent))return t.originalXhr.dispatchEvent(F);return t.fc(F)});if(x.open=function(F,J,
S,ia,ta){t.aborted=!1;t.method=F;3>arguments.length&&(S=!0);t.async=S;t.originalXhr.onreadystatechange=t.Eb;t.url=""+J;let Ga=ea(x,"open");Ga?Ha.callOpen(Ga,x,arguments):Ha.callOpen(t.originalXhr.open,t.originalXhr,arguments);x.readyState=t.originalXhr.readyState},x.send=function(){return t.Ie(arguments,!1)},x.abort=function(...F){0<x.readyState&&(t.aborted=!0);let J=ea(x,"abort");if(J?J.apply(x,F):t.originalXhr.abort(),t.aa){for(;0<t.La;)t.La--,ja.dT_.lc(t.aa);ja.dT_.lx(t.aa,void 0,"x");t.aa=0}},
x.getAllResponseHeaders=function(){let F=ea(x,"getAllResponseHeaders");return F?Ha.getAllResponseHeaders(F,x,arguments):t.originalXhr.getAllResponseHeaders()},x.getResponseHeader=function(F){let J=ea(x,"getResponseHeader");return J?Ha.getResponseHeader(J,x,arguments):t.originalXhr.getResponseHeader(F)},x.setRequestHeader=function(F,J){var S=F&&F.toLowerCase?F.toLowerCase():F;if("x-dtpc"!==S&&"x-dtreferer"!==S&&"x-host"!==S&&"x-dtc"!==S)return(S=ea(x,"setRequestHeader"))?Ha.setRequestHeader(S,x,arguments):
t.originalXhr.setRequestHeader(F,J)},x.toString=function(){return"[XMLHttpRequest]"},x.toJSON=function(){return t.originalXhr},Da.Proxy&&ja.dT_.bcv("exp"))return x=new Proxy(x,{set:function(F,J,S){F[J]=S;try{-1===M.indexOf(J)&&(F.dtProps.originalXhr[J]=S)}catch(ia){}return!0}}),x}function Va(){}function bb(y){if(V)for(let x of Fa)Nb.includes(x)||ja.dT_.iNF(y[x])||Nb.splice(0,0,x)}function Ca(y,x){let t=!1;try{t=!ja.dT_.iNF(y)}catch(F){}if(!t)for(let F of x)if(x=y.prototype[F],t=x&&!ja.dT_.iNF(x),
t)break;return t?(ja.dT_.addE("DEBUG_INFO_REQUESTED",function(){return[{type:"lxw",text:"Found a non-native XMLHttpRequest or EventTarget object before initializing! Basic XHR is operating in late mode.",severity:"Warning"}]}),!0):!1}function Ya(y){if(!y)return{};y=y.replace(/^\s+|\s+$/g,"").split(/[\r\n]+/);let x={};return ja.dT_.fE(y,function(t){t=t.split(": ");let F=t.shift();F&&(x[F]=t.join(": "))}),x}function Qa(y){return(y=y.toString().match(/\[object (XMLHttpRequest)?(\w+)]/))&&y[2]&&"Object"!==
y[2]&&"function"==typeof Da[y[2]]?y[2]:"Event"}function ya(y,x){y=y.dtProps.sa;let t=[];x=x.substring(2);for(let F of y)F[0]===x&&t.push(F[1]);return t}function Ma(y,x,t){function F(ia){function ta(Ga,lb){try{t?(ja.dT_.ec(t.dtProps.aa),t.dtProps.La++):(ja.dT_.ec(y.dtProps.aa),y.dtProps.La++),"object"==typeof lb&&lb.handleEvent?Ha.handleEventCallback(lb.handleEvent,lb,Ga):Ha.handleEventCallback(lb,y,Ga)}finally{t?(t.dtProps.La--,ja.dT_.lc(t.dtProps.aa)):(y.dtProps.La--,ja.dT_.lc(y.dtProps.aa))}}x[ia]=
function(Ga){let lb=Array.prototype.slice.call(arguments);if(0<lb.length){let Gc=kb(Ga,y);ja.dT_.fE($c,function(mc){"undefined"!=typeof Ga[mc]&&(Gc[mc]=Ga[mc])});lb[0]=Gc}ja.dT_.mx()&&ia in S&&S[ia](J.aa);var pc=y.dtProps[ia]||V&&y[ia];pc&&ta(lb,pc);pc=ya(y,ia);for(let Gc of pc)ta(lb,Gc);"onloadend"===ia&&y instanceof Ka&&ca(J,y)}}let J;t?J=t.dtProps:J=y.dtProps;let S={onerror(){J.hasError=!0;t?ja.dT_.mxg("Upload failure",J.aa):ja.dT_.mxf(J.originalXhr.status,J.originalXhr.statusText,J.aa)},onabort(ia){ia=
ja.dT_.mxc(ia);return J.hasError=!0,J.errorReason="abort",ia},ontimeout(ia){ia=ja.dT_.mxt(ia);return J.hasError=!0,J.errorReason="timeout",ia}};for(let ia of bc)try{(ia in x||V&&ia in y)&&(ja.dT_.bcv("raxeh")||ya(y,ia).length||y[ia])&&F(ia)}catch(ta){}}function La(y,x,t){Object.defineProperty(y,x,{enumerable:!0,get:t})}function kb(y,x){let t=y.timeStamp||ja.dT_.nw(),F="undefined"==typeof y.eventPhase?2:y.eventPhase,J=y.stopPropagation||Va,S=y.stopImmediatePropagation||Va,ia=y.preventDefault||Va,ta=
y.initEvent||Va,Ga=Qa(y);try{let lb=cb(Ga,y);return La(lb,"target",function(){return x}),La(lb,"currentTarget",function(){return x}),La(lb,"srcElement",function(){return x}),La(lb,"eventPhase",function(){return F}),La(lb,"timeStamp",function(){return t}),La(lb,"stopPropagation",function(){return J}),La(lb,"stopImmediatePropagation",function(){return S}),La(lb,"preventDefault",function(){return ia}),La(lb,"initEvent",function(){return ta}),lb}catch(lb){}return{type:y.type,target:x,currentTarget:x,
srcElement:x,eventPhase:F,bubbles:y.bubbles||!1,cancelable:y.cancelable||!1,timeStamp:t,stopPropagation:J,stopImmediatePropagation:S,preventDefault:ia,initEvent:ta}}function cb(y,x){let t=new Da[y](x.type,x);return"ProgressEvent"===y&&za(t,x),t}function za(y,x){La(y,"total",function(){return x.total});La(y,"loaded",function(){return x.loaded})}function na(y){let x=this;if(x.constructor){let F=na;Object.defineProperty(x,"constructor",{get:function(){return F},set:function(J){F=J}})}x.dtProps={sa:[],
Cd:y.dtProps.originalXhr.upload,Fd:y,Gb:!1};let t=x.dtProps;for(let F of bc)Object.defineProperty(x,F,{enumerable:!0,get:function(){return t[F]},set:function(J){t[F]=J;t.Gb||(t.Gb=!0,Ma(x,t.Cd,t.Fd))}});x.addEventListener=function(F,J,S){if(J){var ia=t.sa;for(let ta of ia)if(ta[0]===F&&ta[1]===J&&ta[2]===S)return;ia.push([F,J,!!S]);t.Gb||(t.Gb=!0,Ma(x,t.Cd,t.Fd))}};x.removeEventListener=function(F,J,S){let ia=null,ta=t.sa;for(let Ga=0;Ga<ta.length;Ga++)if(ia=ta[Ga],ia[0]===F&&ia[1]===J&&ia[2]===S){ta.splice(Ga,
1);break}};x.dispatchEvent=function(F){let J=t.sa,S=!1,ia=!1;if(F.cancelable&&F.preventDefault){let ta=F.preventDefault;F.preventDefault=function(){return S=!0,Ha.preventDefault(ta,this,arguments)}}if(F.stopImmediatePropagation){let ta=F.stopImmediatePropagation;F.stopImmediatePropagation=function(){return ia=!0,Ha.stopImmediatePropagation(ta,this,arguments)}}for(let ta of J)!ia&&ta[0]===F.type&&!ta[2]&&("object"==typeof ta[1]&&ta[1].handleEvent?Ha.dispatchXHRCallback(ta[1].handleEvent,ta[1],[F]):
Ha.dispatchXHRCallback(ta[1],x,[F]));return!S}}function ca(y,x,t){ja.dT_.disE({kind:"REQUEST_COMPLETED",detail:{i:"xmlhttprequest",x:y.url,m:y.method,c:"status"in x?x.status:0,s:"statusText"in x?x.statusText:"",a:t,e:ja.dT_.nw(),q:y.requestStart,o:y.errorReason,t:y.hasError,n:y.traceContext}})}function va(y,x){let t=x.aa,F=y.status;try{let J=tb;if(J.gEMD&&J.iRHCA&&J.iRHCA()){let S=Ya(y.getAllResponseHeaders());ja.dT_.disE({kind:"HTTP_RESPONSE",detail:{a:t,h:S}})}}catch(J){}200!==F&&ja.dT_.mx()&&(x.hasError=
!0,0===F?(x.errorReason||(x.errorReason="abort"),ja.dT_.st(function(){ja.dT_.mxc(t)},0)):ja.dT_.mxf(F,y.statusText,t));ja.dT_.lx(t,void 0,"x");x.aa=0}function ea(y,x){try{let t=Object.getPrototypeOf(y),F=Object.getPrototypeOf(y.dtProps.originalXhr);return F||(F=$a.prototype),t&&F&&!qb.has(t[x])?t[x]:null}catch(t){return null}}function aa(y){return ja.dT_.iIO(y,["dtProps"])}function ra(y){y.UNSENT=0;y.OPENED=1;y.HEADERS_RECEIVED=2;y.LOADING=3;y.DONE=4}function Q(y){"upload"===y?Object.defineProperty(Da.XMLHttpRequest.prototype,
"upload",{enumerable:!0,configurable:!0,get:function(){return this.dtProps.nb?(this.dtProps.upload||(this.dtProps.upload=new na(this)),this.dtProps.upload):$a.prototype.upload}}):Object.defineProperty(Da.XMLHttpRequest.prototype,y,{enumerable:!0,configurable:!0,get:function(){return this.dtProps.nb?0<=kc.indexOf(y)?this.dtProps.originalXhr[y]:this.dtProps[y]:$a.prototype[y]},set:function(x){this.dtProps.nb?this.dtProps[y]=x:$a.prototype[y]=x}})}function X(y,x){let t=Da.XMLHttpRequest.prototype[y];
!x&&!ja.dT_.iNF(t)||(Da.XMLHttpRequest.prototype[y]=function(F,J){function S(){let ia;aa(this)?("open"===F&&!this.dtProps.url&&(this.dtProps.url=arguments[1]+""),this.dtProps.originalXhr.withCredentials!==this.dtProps.withCredentials&&(this.dtProps.originalXhr.withCredentials=this.dtProps.withCredentials),ia=this.dtProps.originalXhr):ia=this;return Ha.XMLHttpRequestCallback(J,ia,arguments)}return qb.set(S,!0),S}(y,$a.prototype[y]))}function N(){$a=Da.XMLHttpRequest;ba=tb.ct||clearTimeout;Da.XMLHttpRequest=
Ka;Da.XMLHttpRequest[ec]=$a;V=Ca($a,Nb);Ka.prototype=Object.create($a.prototype,Object.getOwnPropertyDescriptors($a.prototype));Ka.prototype.dtProps={nb:!1};Ka.prototype.dtProps.nb=!1;ra(Ka);ra(Ka.prototype);bb($a.prototype);for(let y in $a.prototype){if(-1!==Jb.indexOf(y)&&-1===Nb.indexOf(y))continue;let x=y;try{-1!==Nb.indexOf(y)?X(x,!0):-1!==pb.indexOf(y)?Q(y):Da.XMLHttpRequest.prototype[x]=$a.prototype[x]}catch(t){Q(y)}}for(let y in $a)if(!(y in $a.prototype))try{Da.XMLHttpRequest[y]=$a[y]}catch(x){}try{Y()}catch(y){}}
function Y(){if(!ja.dT_.bcv("peti")){var y=EventTarget.prototype,x=y.addEventListener;y.addEventListener=ja.dT_.wwi(function(J,S,ia){if(aa(this))this.dtProps.Uc(J,S,ia);else return Ha.AELWrapper(x,this,arguments)},x);var t=y.removeEventListener;y.removeEventListener=ja.dT_.wwi(function(J,S,ia){if(aa(this))this.dtProps.Hd(J,S,ia);else return Ha.RELWrapper(t,this,arguments)},t);var F=y.dispatchEvent;y.dispatchEvent=ja.dT_.wwi(function(J){return aa(this)?this.dtProps.fc(J):Ha.dispatchWrapper(F,this,
arguments)},F)}}function da(y,x){return new Bb(y,x)}function Sa(y){return"string"==typeof y}function sa(y){y.lxCalled||(ja.dT_.lx(y.actionId,void 0,"x"),y.lxCalled=!0)}function U({va:y,context:x,ta:t,actionId:F=0,url:J=""}){return tb.aWF(y,x,t,F,J,"x")}function H(y,x,t){return function(...F){let {actionId:J,url:S}=y;try{if(y.callbackStart=ja.dT_.nw(),ja.dT_.ec(J),"function"==typeof x)return U({va:x,context:t,ta:F,actionId:J,url:S})}finally{ja.dT_.lc(J),sa(y)}}}function W(y,x,t,F){return function(...J){try{ja.dT_.ec(y.actionId);
let S=J[0],ia=Qa(S),ta=new Da[ia](S.type,S);if(T(S,F,ta),J[0]=ta,"function"==typeof x){let {actionId:Ga,url:lb}=y;return U({va:x,context:S.target,ta:J,actionId:Ga,url:lb})}}finally{ja.dT_.lc(y.actionId)}}}function T(y,x,t){x=O(y,"target",x);Object.defineProperties(t,{target:x,currentTarget:x,srcElement:x,stopPropagation:O(y,"stopPropagation",function(...F){return Event.prototype.stopPropagation.apply(y,F),Event.prototype.stopPropagation.apply(t,F)}),stopImmediatePropagation:O(y,"stopImmediatePropagation",
function(...F){return Event.prototype.stopImmediatePropagation.apply(y,F),Event.prototype.stopImmediatePropagation.apply(t,F)}),preventDefault:O(y,"preventDefault",function(...F){return Event.prototype.preventDefault.apply(y,F),Event.prototype.preventDefault.apply(t,F)}),eventPhase:O(y,"eventPhase","undefined"==typeof y.eventPhase?2:void 0),timeStamp:O(y,"timeStamp",y.timeStamp||ja.dT_.nw()),initEvent:O(y,"initEvent")})}function O(y,x,t){return{get(){return t||y[x]},enumerable:!0}}function ma(y,x,
t){return function(...F){try{let J=tb;if(J.gEMD&&J.iRHCA&&J.iRHCA()&&t.readyState===t.HEADERS_RECEIVED){let S=Ya(t.getAllResponseHeaders());ja.dT_.disE({kind:"HTTP_RESPONSE",detail:{a:y.actionId,h:S}})}}catch(J){}try{if(y.callbackStart=ja.dT_.nw(),ja.dT_.ec(y.actionId),t.readyState===t.DONE&&ja.dT_.mx()&&(0>=t.status||400<=t.status)&&(y.hasError=!0,0===t.status?(y.errorReason||(y.errorReason="abort"),ja.dT_.st(ja.dT_.mxc.bind(null,y.actionId),0)):ja.dT_.mxf(t.status,t.statusText,y.actionId)),"function"==
typeof x){let {actionId:J,url:S}=y;return U({va:x,context:t,ta:F,actionId:J,url:S})}}finally{ja.dT_.lc(y.actionId),t.readyState===t.DONE&&sa(y)}}}function xa(y,x,t){return"upload"===x&&ja.dT_.mx()&&!t.hasUploadHandler&&(y.upload.addEventListener("error",function(){ja.dT_.mxg("Upload failure",t.actionId)}),t.hasUploadHandler=!0),t.origHandlers.has(x)?t.origHandlers.get(x):Reflect.get(y,x)}function Ra(y,x,t){try{EventTarget.prototype.addEventListener.call(y,x,t)}catch(F){y.addEventListener(x,t)}}function xb(y){let x=
{method:"",callbackStart:0,requestStart:0,wrappers:new WeakMap,actionId:0,async:!0,lxCalled:!1,url:"",target:y,hasCustomReadyStateChangeHandler:!1,hasUploadHandler:!1,origHandlers:new Map,errorReason:void 0,hasError:!1,traceContext:ja.dT_.gtc(),toString:()=>"[Custom DTProperty Object]",toJSON:()=>"[Custom DTProperty Object]"};return y.dtProps=x,Ra(y,"readystatechange",ma(x,()=>{},y)),ja.dT_.mx()&&(Ra(y,"error",function(){return x.hasError=!0,x.errorReason=void 0,ja.dT_.mxf(y.status,y.statusText,x.actionId)}),
Ra(y,"abort",function(){return x.hasError=!0,x.errorReason="abort",ja.dT_.mxc(x.actionId)}),Ra(y,"timeout",function(){return x.hasError=!0,x.errorReason="timeout",ja.dT_.mxt(x.actionId)})),Ra(y,"loadend",function(){ja.dT_.disE({kind:"REQUEST_COMPLETED",detail:{i:"xmlhttprequest",x:x.url,m:x.method,c:x.target.status,s:x.target.statusText,a:x.callbackStart,e:ja.dT_.nw(),q:x.requestStart,o:x.errorReason,t:x.hasError,n:x.traceContext}})}),da(y,{get(t,F){return xa(t,F,x)},set(t,F,J,S){try{let ta=J;switch(F){case "onabort":case "onerror":case "ontimeout":ta=
H(x,J,t);x.origHandlers.set(F,J);break;case "onloadstart":case "onprogress":case "onload":case "onloadend":ta=W(x,J,t,S);x.origHandlers.set(F,J);break;case "onreadystatechange":ta=ma(x,J,t),x.origHandlers.set(F,J)}var ia=Reflect.set(t,F,ta)}catch(ta){ia=!1}return ia}})}function Ua(y,x){try{if("string"==typeof x&&"function"==typeof y[x]){let t=ja.dT_.iNF(y[x]);y[x]=da(y[x],{apply:hc.bind(null,x,t),get(F,J,S){return"dT_proxy"===J?!0:Reflect.get(F,J,S)}})}}catch(t){}}function fb(y,x){bb(x);y=ja.dT_.aFr(y,
$b.bind(null,x));ja.dT_.fE(y,Ua.bind(null,x))}function Fb(y,x,t,F,J){if(y.requestStart=ja.dT_.nw(),!y.actionId){y.actionId=ja.dT_.ex("x",void 0,y.url,!1,x);ja.dT_.disE({kind:"REQUEST_STARTED",detail:{i:"xmlhttprequest",x:y.url}});let S=ja.dT_.sch({headers:{}},y.url,y.actionId,void 0,y.traceContext),ia=ja.dT_.aFr(Reflect.ownKeys(S.headers),Sa);ja.dT_.fE(ia,function(ta){t.setRequestHeader(ta,S.headers[ta])})}try{return U({va:x,context:F,ta:J,actionId:y.actionId,url:y.url})}finally{y.async||sa(y)}}function hc(y,
x,t,F,J){if(!ja.dT_.iIO(F,22))return U({va:t,context:F,ta:J});let S=F.dtProps,ia=F;if(S&&(x||V)&&(ia=S.target),!S)return U({va:t,context:ia,ta:J});switch((x?t.name:y)||y){case "addEventListener":"function"==typeof J[1]&&(y=J[1],(x=S.wrappers.get(y))?J[1]=x:(F=W(S,y,ia,F),S.wrappers.set(y,F),J[1]=F));break;case "removeEventListener":(F=S.wrappers.get(J[1]))&&(J[1]=F);break;case "open":return S.actionId=0,S.lxCalled=!1,S.method=J[0],S.url=J[1]+"",S.async=!0===J[2]||void 0===J[2],U({va:t,context:ia,
ta:J});case "send":return Fb(S,t,F,ia,J);case "abort":S.hasError=!0,S.errorReason="abort",sa(S)}return U({va:t,context:ia,ta:J,actionId:S.actionId,url:S.url})}function $b(y,x){try{let t=y[x];if("function"!=typeof t||t.dT_proxy)return!1}catch(t){return!1}return!0}function Wb(){V=Ca(Da.XMLHttpRequest,Nb)||Ca(Da.EventTarget,Jb);Bb=Da.Proxy;let y=Da.XMLHttpRequest.prototype,x=EventTarget.prototype,t=Da.XMLHttpRequest;Da.XMLHttpRequest=da(Da.XMLHttpRequest,{construct(F,J){return fb(Nb,y),fb(Jb,x),xb(Reflect.construct(F,
J))}});Da.XMLHttpRequest[ec]=t;fb(Nb,y);y.constructor=Da.XMLHttpRequest;fb(Jb,x)}this.dT_&&dT_.prm&&dT_.prm();var ja="undefined"!=typeof window?window:self,Da="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0,ec=Symbol.for("dt_2");Symbol.for("dt_3");var $c="cancelBubble defaultPrevented eventPhase isTrusted lengthComputable loaded position returnValue timeStamp total totalSize type".split(" "),bc="onabort onerror onload onloadend onloadstart onprogress ontimeout".split(" "),
kc="responseText response status statusText responseBody responseStream responseURL responseXML responseType".split(" "),pb=[...kc,...bc,"onreadystatechange","upload","readyState"],Nb="open send getAllResponseHeaders getResponseHeader setRequestHeader overrideMimeType abort sendAsBinary setAttributionReporting setPrivateToken".split(" "),Jb=["addEventListener","removeEventListener","dispatchEvent"],M=[...Nb,...pb,...Jb],V=!1,Fa=["addEventListener","removeEventListener"],ba,$a,qb=new WeakMap,Ha={handleEventCallback:function(y,
x,t){return tb.aWF(y,x,t)},callOpen:function(y,x,t){return tb.aWF(y,x,t)},send:function(y,x,t){return tb.aWF(y,x,t)},getAllResponseHeaders:function(y,x,t){return tb.aWF(y,x,t)},getResponseHeader:function(y,x,t){return tb.aWF(y,x,t)},setRequestHeader:function(y,x,t){return tb.aWF(y,x,t)},overrideMimeType:function(y,x,t){return tb.aWF(y,x,t)},RELWrapper:function(y,x,t){return tb.aWF(y,x,t)},AELWrapper:function(y,x,t){return tb.aWF(y,x,t)},dispatchWrapper:function(y,x,t){return tb.aWF(y,x,t)},onreadystatechangeCallback:function(y,
x,t){return tb.aWF(y,x,t)},dispatchXHRCallback:function(y,x,t){return tb.aWF(y,x,t)},XMLHttpRequestCallback:function(y,x,t){return tb.aWF(y,x,t)},preventDefault:function(y,x,t){return tb.aWF(y,x,t)},stopImmediatePropagation:function(y,x,t){return tb.aWF(y,x,t)}};na.prototype.toString=function(){return"[XMLHttpRequestUpload]"};var Sb={readyState:0,response:"",responseText:"",responseType:"",responseURL:"",status:0,statusText:"",timeout:0,withCredentials:!1},Bb,jc,qc,Xb=Da.dT_;if(Xb&&"ea"in Xb&&null!==
(qc=(jc=ja.dT_).smbi)&&void 0!==qc&&qc.call(jc,"x")){var tb=Xb;"object"==typeof Da.Reflect&&"function"==typeof Da.Proxy&&ja.dT_.bcv("expw")&&!ja.dT_.gBI().edge?Wb():N()}})();

Popular Posts