@deephaven/embed-chart 0.17.1-beta.2 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/assets/index.e19382e7.js +2 -0
- package/build/assets/index.e19382e7.js.map +1 -0
- package/build/assets/{plotly.c90ff494.js → plotly.3009bed8.js} +2 -2
- package/build/assets/{plotly.c90ff494.js.map → plotly.3009bed8.js.map} +1 -1
- package/build/assets/vendor.d4f8636b.js +1174 -0
- package/build/assets/vendor.d4f8636b.js.map +1 -0
- package/build/index.html +4 -4
- package/package.json +12 -12
- package/build/assets/index.13921467.js +0 -2
- package/build/assets/index.13921467.js.map +0 -1
- package/build/assets/vendor.420e3eae.js +0 -1184
- package/build/assets/vendor.420e3eae.js.map +0 -1
|
@@ -1,1184 +0,0 @@
|
|
|
1
|
-
import{g as s_,c as Jr,a as gf}from"./helpers.162e09a8.js";var f_={exports:{}},uo={},Ar={exports:{}},Yr={};/*
|
|
2
|
-
object-assign
|
|
3
|
-
(c) Sindre Sorhus
|
|
4
|
-
@license MIT
|
|
5
|
-
*/var TS=Object.getOwnPropertySymbols,I4=Object.prototype.hasOwnProperty,F4=Object.prototype.propertyIsEnumerable;function L4(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function D4(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(a){return t[a]});if(n.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(a){i[a]=a}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var mf=D4()?Object.assign:function(e,t){for(var r,n=L4(e),i,a=1;a<arguments.length;a++){r=Object(arguments[a]);for(var o in r)I4.call(r,o)&&(n[o]=r[o]);if(TS){i=TS(r);for(var l=0;l<i.length;l++)F4.call(r,i[l])&&(n[i[l]]=r[i[l]])}}return n};/** @license React v17.0.2
|
|
6
|
-
* react.production.min.js
|
|
7
|
-
*
|
|
8
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
9
|
-
*
|
|
10
|
-
* This source code is licensed under the MIT license found in the
|
|
11
|
-
* LICENSE file in the root directory of this source tree.
|
|
12
|
-
*/var c_=mf,dd=60103,v5=60106;Yr.Fragment=60107;Yr.StrictMode=60108;Yr.Profiler=60114;var g5=60109,m5=60110,y5=60112;Yr.Suspense=60113;var b5=60115,x5=60116;if(typeof Symbol=="function"&&Symbol.for){var So=Symbol.for;dd=So("react.element"),v5=So("react.portal"),Yr.Fragment=So("react.fragment"),Yr.StrictMode=So("react.strict_mode"),Yr.Profiler=So("react.profiler"),g5=So("react.provider"),m5=So("react.context"),y5=So("react.forward_ref"),Yr.Suspense=So("react.suspense"),b5=So("react.memo"),x5=So("react.lazy")}var CS=typeof Symbol=="function"&&Symbol.iterator;function $4(e){return e===null||typeof e!="object"?null:(e=CS&&e[CS]||e["@@iterator"],typeof e=="function"?e:null)}function Dp(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);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 w5={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_5={};function hd(e,t,r){this.props=e,this.context=t,this.refs=_5,this.updater=r||w5}hd.prototype.isReactComponent={};hd.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(Dp(85));this.updater.enqueueSetState(this,e,t,"setState")};hd.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function S5(){}S5.prototype=hd.prototype;function d_(e,t,r){this.props=e,this.context=t,this.refs=_5,this.updater=r||w5}var h_=d_.prototype=new S5;h_.constructor=d_;c_(h_,hd.prototype);h_.isPureReactComponent=!0;var p_={current:null},E5=Object.prototype.hasOwnProperty,A5={key:!0,ref:!0,__self:!0,__source:!0};function T5(e,t,r){var n,i={},a=null,o=null;if(t!=null)for(n in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(a=""+t.key),t)E5.call(t,n)&&!A5.hasOwnProperty(n)&&(i[n]=t[n]);var l=arguments.length-2;if(l===1)i.children=r;else if(1<l){for(var f=Array(l),c=0;c<l;c++)f[c]=arguments[c+2];i.children=f}if(e&&e.defaultProps)for(n in l=e.defaultProps,l)i[n]===void 0&&(i[n]=l[n]);return{$$typeof:dd,type:e,key:a,ref:o,props:i,_owner:p_.current}}function z4(e,t){return{$$typeof:dd,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function v_(e){return typeof e=="object"&&e!==null&&e.$$typeof===dd}function B4(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var OS=/\/+/g;function cy(e,t){return typeof e=="object"&&e!==null&&e.key!=null?B4(""+e.key):t.toString(36)}function bg(e,t,r,n,i){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(a){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case dd:case v5:o=!0}}if(o)return o=e,i=i(o),e=n===""?"."+cy(o,0):n,Array.isArray(i)?(r="",e!=null&&(r=e.replace(OS,"$&/")+"/"),bg(i,t,r,"",function(c){return c})):i!=null&&(v_(i)&&(i=z4(i,r+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(OS,"$&/")+"/")+e)),t.push(i)),1;if(o=0,n=n===""?".":n+":",Array.isArray(e))for(var l=0;l<e.length;l++){a=e[l];var f=n+cy(a,l);o+=bg(a,t,r,f,i)}else if(f=$4(e),typeof f=="function")for(e=f.call(e),l=0;!(a=e.next()).done;)a=a.value,f=n+cy(a,l++),o+=bg(a,t,r,f,i);else if(a==="object")throw t=""+e,Error(Dp(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t));return o}function Pv(e,t,r){if(e==null)return e;var n=[],i=0;return bg(e,n,"","",function(a){return t.call(r,a,i++)}),n}function j4(e){if(e._status===-1){var t=e._result;t=t(),e._status=0,e._result=t,t.then(function(r){e._status===0&&(r=r.default,e._status=1,e._result=r)},function(r){e._status===0&&(e._status=2,e._result=r)})}if(e._status===1)return e._result;throw e._result}var C5={current:null};function Zu(){var e=C5.current;if(e===null)throw Error(Dp(321));return e}var U4={ReactCurrentDispatcher:C5,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:p_,IsSomeRendererActing:{current:!1},assign:c_};Yr.Children={map:Pv,forEach:function(e,t,r){Pv(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return Pv(e,function(){t++}),t},toArray:function(e){return Pv(e,function(t){return t})||[]},only:function(e){if(!v_(e))throw Error(Dp(143));return e}};Yr.Component=hd;Yr.PureComponent=d_;Yr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U4;Yr.cloneElement=function(e,t,r){if(e==null)throw Error(Dp(267,e));var n=c_({},e.props),i=e.key,a=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,o=p_.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(f in t)E5.call(t,f)&&!A5.hasOwnProperty(f)&&(n[f]=t[f]===void 0&&l!==void 0?l[f]:t[f])}var f=arguments.length-2;if(f===1)n.children=r;else if(1<f){l=Array(f);for(var c=0;c<f;c++)l[c]=arguments[c+2];n.children=l}return{$$typeof:dd,type:e.type,key:i,ref:a,props:n,_owner:o}};Yr.createContext=function(e,t){return t===void 0&&(t=null),e={$$typeof:m5,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:g5,_context:e},e.Consumer=e};Yr.createElement=T5;Yr.createFactory=function(e){var t=T5.bind(null,e);return t.type=e,t};Yr.createRef=function(){return{current:null}};Yr.forwardRef=function(e){return{$$typeof:y5,render:e}};Yr.isValidElement=v_;Yr.lazy=function(e){return{$$typeof:x5,_payload:{_status:-1,_result:e},_init:j4}};Yr.memo=function(e,t){return{$$typeof:b5,type:e,compare:t===void 0?null:t}};Yr.useCallback=function(e,t){return Zu().useCallback(e,t)};Yr.useContext=function(e,t){return Zu().useContext(e,t)};Yr.useDebugValue=function(){};Yr.useEffect=function(e,t){return Zu().useEffect(e,t)};Yr.useImperativeHandle=function(e,t,r){return Zu().useImperativeHandle(e,t,r)};Yr.useLayoutEffect=function(e,t){return Zu().useLayoutEffect(e,t)};Yr.useMemo=function(e,t){return Zu().useMemo(e,t)};Yr.useReducer=function(e,t,r){return Zu().useReducer(e,t,r)};Yr.useRef=function(e){return Zu().useRef(e)};Yr.useState=function(e){return Zu().useState(e)};Yr.version="17.0.2";(function(e){e.exports=Yr})(Ar);const Ii=s_(Ar.exports);var O5={exports:{}},k5={};/** @license React v0.20.2
|
|
13
|
-
* scheduler.production.min.js
|
|
14
|
-
*
|
|
15
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
16
|
-
*
|
|
17
|
-
* This source code is licensed under the MIT license found in the
|
|
18
|
-
* LICENSE file in the root directory of this source tree.
|
|
19
|
-
*/(function(e){var t,r,n,i;if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,l=o.now();e.unstable_now=function(){return o.now()-l}}if(typeof window>"u"||typeof MessageChannel!="function"){var f=null,c=null,p=function(){if(f!==null)try{var Le=e.unstable_now();f(!0,Le),f=null}catch(ut){throw setTimeout(p,0),ut}};t=function(Le){f!==null?setTimeout(t,0,Le):(f=Le,setTimeout(p,0))},r=function(Le,ut){c=setTimeout(Le,ut)},n=function(){clearTimeout(c)},e.unstable_shouldYield=function(){return!1},i=e.unstable_forceFrameRate=function(){}}else{var _=window.setTimeout,x=window.clearTimeout;if(typeof console<"u"){var b=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof b!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var C=!1,R=null,E=-1,S=5,T=0;e.unstable_shouldYield=function(){return e.unstable_now()>=T},i=function(){},e.unstable_forceFrameRate=function(Le){0>Le||125<Le?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):S=0<Le?Math.floor(1e3/Le):5};var P=new MessageChannel,M=P.port2;P.port1.onmessage=function(){if(R!==null){var Le=e.unstable_now();T=Le+S;try{R(!0,Le)?M.postMessage(null):(C=!1,R=null)}catch(ut){throw M.postMessage(null),ut}}else C=!1},t=function(Le){R=Le,C||(C=!0,M.postMessage(null))},r=function(Le,ut){E=_(function(){Le(e.unstable_now())},ut)},n=function(){x(E),E=-1}}function L(Le,ut){var At=Le.length;Le.push(ut);e:for(;;){var st=At-1>>>1,Ct=Le[st];if(Ct!==void 0&&0<q(Ct,ut))Le[st]=ut,Le[At]=Ct,At=st;else break e}}function v(Le){return Le=Le[0],Le===void 0?null:Le}function K(Le){var ut=Le[0];if(ut!==void 0){var At=Le.pop();if(At!==ut){Le[0]=At;e:for(var st=0,Ct=Le.length;st<Ct;){var Lt=2*(st+1)-1,hr=Le[Lt],mr=Lt+1,at=Le[mr];if(hr!==void 0&&0>q(hr,At))at!==void 0&&0>q(at,hr)?(Le[st]=at,Le[mr]=At,st=mr):(Le[st]=hr,Le[Lt]=At,st=Lt);else if(at!==void 0&&0>q(at,At))Le[st]=at,Le[mr]=At,st=mr;else break e}}return ut}return null}function q(Le,ut){var At=Le.sortIndex-ut.sortIndex;return At!==0?At:Le.id-ut.id}var ue=[],Ie=[],Ce=1,De=null,Ye=3,Xe=!1,Et=!1,yt=!1;function Ze(Le){for(var ut=v(Ie);ut!==null;){if(ut.callback===null)K(Ie);else if(ut.startTime<=Le)K(Ie),ut.sortIndex=ut.expirationTime,L(ue,ut);else break;ut=v(Ie)}}function it(Le){if(yt=!1,Ze(Le),!Et)if(v(ue)!==null)Et=!0,t(Ut);else{var ut=v(Ie);ut!==null&&r(it,ut.startTime-Le)}}function Ut(Le,ut){Et=!1,yt&&(yt=!1,n()),Xe=!0;var At=Ye;try{for(Ze(ut),De=v(ue);De!==null&&(!(De.expirationTime>ut)||Le&&!e.unstable_shouldYield());){var st=De.callback;if(typeof st=="function"){De.callback=null,Ye=De.priorityLevel;var Ct=st(De.expirationTime<=ut);ut=e.unstable_now(),typeof Ct=="function"?De.callback=Ct:De===v(ue)&&K(ue),Ze(ut)}else K(ue);De=v(ue)}if(De!==null)var Lt=!0;else{var hr=v(Ie);hr!==null&&r(it,hr.startTime-ut),Lt=!1}return Lt}finally{De=null,Ye=At,Xe=!1}}var bt=i;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(Le){Le.callback=null},e.unstable_continueExecution=function(){Et||Xe||(Et=!0,t(Ut))},e.unstable_getCurrentPriorityLevel=function(){return Ye},e.unstable_getFirstCallbackNode=function(){return v(ue)},e.unstable_next=function(Le){switch(Ye){case 1:case 2:case 3:var ut=3;break;default:ut=Ye}var At=Ye;Ye=ut;try{return Le()}finally{Ye=At}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=bt,e.unstable_runWithPriority=function(Le,ut){switch(Le){case 1:case 2:case 3:case 4:case 5:break;default:Le=3}var At=Ye;Ye=Le;try{return ut()}finally{Ye=At}},e.unstable_scheduleCallback=function(Le,ut,At){var st=e.unstable_now();switch(typeof At=="object"&&At!==null?(At=At.delay,At=typeof At=="number"&&0<At?st+At:st):At=st,Le){case 1:var Ct=-1;break;case 2:Ct=250;break;case 5:Ct=1073741823;break;case 4:Ct=1e4;break;default:Ct=5e3}return Ct=At+Ct,Le={id:Ce++,callback:ut,priorityLevel:Le,startTime:At,expirationTime:Ct,sortIndex:-1},At>st?(Le.sortIndex=At,L(Ie,Le),v(ue)===null&&Le===v(Ie)&&(yt?n():yt=!0,r(it,At-st))):(Le.sortIndex=Ct,L(ue,Le),Et||Xe||(Et=!0,t(Ut))),Le},e.unstable_wrapCallback=function(Le){var ut=Ye;return function(){var At=Ye;Ye=ut;try{return Le.apply(this,arguments)}finally{Ye=At}}}})(k5);(function(e){e.exports=k5})(O5);/** @license React v17.0.2
|
|
20
|
-
* react-dom.production.min.js
|
|
21
|
-
*
|
|
22
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
23
|
-
*
|
|
24
|
-
* This source code is licensed under the MIT license found in the
|
|
25
|
-
* LICENSE file in the root directory of this source tree.
|
|
26
|
-
*/var V0=Ar.exports,An=mf,wi=O5.exports;function Mt(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);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."}if(!V0)throw Error(Mt(227));var M5=new Set,cp={};function yf(e,t){Zc(e,t),Zc(e+"Capture",t)}function Zc(e,t){for(cp[e]=t,e=0;e<t.length;e++)M5.add(t[e])}var qu=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),H4=/^[: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]*$/,kS=Object.prototype.hasOwnProperty,MS={},PS={};function W4(e){return kS.call(PS,e)?!0:kS.call(MS,e)?!1:H4.test(e)?PS[e]=!0:(MS[e]=!0,!1)}function G4(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function q4(e,t,r,n){if(t===null||typeof t>"u"||G4(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function na(e,t,r,n,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var Fi={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Fi[e]=new na(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Fi[t]=new na(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Fi[e]=new na(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Fi[e]=new na(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){Fi[e]=new na(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Fi[e]=new na(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Fi[e]=new na(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Fi[e]=new na(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Fi[e]=new na(e,5,!1,e.toLowerCase(),null,!1,!1)});var g_=/[\-:]([a-z])/g;function m_(e){return e[1].toUpperCase()}"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(g_,m_);Fi[t]=new na(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(g_,m_);Fi[t]=new na(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(g_,m_);Fi[t]=new na(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Fi[e]=new na(e,1,!1,e.toLowerCase(),null,!1,!1)});Fi.xlinkHref=new na("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Fi[e]=new na(e,1,!1,e.toLowerCase(),null,!0,!0)});function y_(e,t,r,n){var i=Fi.hasOwnProperty(t)?Fi[t]:null,a=i!==null?i.type===0:n?!1:!(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N");a||(q4(t,r,i,n)&&(r=null),n||i===null?W4(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):i.mustUseProperty?e[i.propertyName]=r===null?i.type===3?!1:"":r:(t=i.attributeName,n=i.attributeNamespace,r===null?e.removeAttribute(t):(i=i.type,r=i===3||i===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}var bf=V0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Rh=60103,Ys=60106,Dl=60107,b_=60108,Wh=60114,x_=60109,w_=60110,Y0=60112,Gh=60113,Hg=60120,X0=60115,__=60116,S_=60121,E_=60128,P5=60129,A_=60130,bx=60131;if(typeof Symbol=="function"&&Symbol.for){var mi=Symbol.for;Rh=mi("react.element"),Ys=mi("react.portal"),Dl=mi("react.fragment"),b_=mi("react.strict_mode"),Wh=mi("react.profiler"),x_=mi("react.provider"),w_=mi("react.context"),Y0=mi("react.forward_ref"),Gh=mi("react.suspense"),Hg=mi("react.suspense_list"),X0=mi("react.memo"),__=mi("react.lazy"),S_=mi("react.block"),mi("react.scope"),E_=mi("react.opaque.id"),P5=mi("react.debug_trace_mode"),A_=mi("react.offscreen"),bx=mi("react.legacy_hidden")}var NS=typeof Symbol=="function"&&Symbol.iterator;function ah(e){return e===null||typeof e!="object"?null:(e=NS&&e[NS]||e["@@iterator"],typeof e=="function"?e:null)}var dy;function Ih(e){if(dy===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);dy=t&&t[1]||""}return`
|
|
27
|
-
`+dy+e}var hy=!1;function Nv(e,t){if(!e||hy)return"";hy=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(f){var n=f}Reflect.construct(e,[],t)}else{try{t.call()}catch(f){n=f}e.call(t.prototype)}else{try{throw Error()}catch(f){n=f}e()}}catch(f){if(f&&n&&typeof f.stack=="string"){for(var i=f.stack.split(`
|
|
28
|
-
`),a=n.stack.split(`
|
|
29
|
-
`),o=i.length-1,l=a.length-1;1<=o&&0<=l&&i[o]!==a[l];)l--;for(;1<=o&&0<=l;o--,l--)if(i[o]!==a[l]){if(o!==1||l!==1)do if(o--,l--,0>l||i[o]!==a[l])return`
|
|
30
|
-
`+i[o].replace(" at new "," at ");while(1<=o&&0<=l);break}}}finally{hy=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Ih(e):""}function V4(e){switch(e.tag){case 5:return Ih(e.type);case 16:return Ih("Lazy");case 13:return Ih("Suspense");case 19:return Ih("SuspenseList");case 0:case 2:case 15:return e=Nv(e.type,!1),e;case 11:return e=Nv(e.type.render,!1),e;case 22:return e=Nv(e.type._render,!1),e;case 1:return e=Nv(e.type,!0),e;default:return""}}function Fc(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Dl:return"Fragment";case Ys:return"Portal";case Wh:return"Profiler";case b_:return"StrictMode";case Gh:return"Suspense";case Hg:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case w_:return(e.displayName||"Context")+".Consumer";case x_:return(e._context.displayName||"Context")+".Provider";case Y0:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case X0:return Fc(e.type);case S_:return Fc(e._render);case __:t=e._payload,e=e._init;try{return Fc(e(t))}catch{}}return null}function Jl(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function N5(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Y4(e){var t=N5(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){n=""+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(o){n=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Rv(e){e._valueTracker||(e._valueTracker=Y4(e))}function R5(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=N5(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Wg(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function xx(e,t){var r=t.checked;return An({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r!=null?r:e._wrapperState.initialChecked})}function RS(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Jl(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function I5(e,t){t=t.checked,t!=null&&y_(e,"checked",t,!1)}function wx(e,t){I5(e,t);var r=Jl(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?_x(e,t.type,r):t.hasOwnProperty("defaultValue")&&_x(e,t.type,Jl(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function IS(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function _x(e,t,r){(t!=="number"||Wg(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function X4(e){var t="";return V0.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}function Sx(e,t){return e=An({children:void 0},t),(t=X4(t.children))&&(e.children=t),e}function Lc(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i<r.length;i++)t["$"+r[i]]=!0;for(r=0;r<e.length;r++)i=t.hasOwnProperty("$"+e[r].value),e[r].selected!==i&&(e[r].selected=i),i&&n&&(e[r].defaultSelected=!0)}else{for(r=""+Jl(r),t=null,i=0;i<e.length;i++){if(e[i].value===r){e[i].selected=!0,n&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Ex(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(Mt(91));return An({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function FS(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(Mt(92));if(Array.isArray(r)){if(!(1>=r.length))throw Error(Mt(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:Jl(r)}}function F5(e,t){var r=Jl(t.value),n=Jl(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),n!=null&&(e.defaultValue=""+n)}function LS(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var Ax={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function L5(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 Tx(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?L5(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Iv,D5=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,n,i){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,i)})}:e}(function(e,t){if(e.namespaceURI!==Ax.svg||"innerHTML"in e)e.innerHTML=t;else{for(Iv=Iv||document.createElement("div"),Iv.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Iv.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function dp(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var qh={animationIterationCount:!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},Q4=["Webkit","ms","Moz","O"];Object.keys(qh).forEach(function(e){Q4.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),qh[t]=qh[e]})});function $5(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||qh.hasOwnProperty(e)&&qh[e]?(""+t).trim():t+"px"}function z5(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=$5(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var Z4=An({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 Cx(e,t){if(t){if(Z4[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Mt(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Mt(60));if(!(typeof t.dangerouslySetInnerHTML=="object"&&"__html"in t.dangerouslySetInnerHTML))throw Error(Mt(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Mt(62))}}function Ox(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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}}function T_(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var kx=null,Dc=null,$c=null;function DS(e){if(e=zp(e)){if(typeof kx!="function")throw Error(Mt(280));var t=e.stateNode;t&&(t=tm(t),kx(e.stateNode,e.type,t))}}function B5(e){Dc?$c?$c.push(e):$c=[e]:Dc=e}function j5(){if(Dc){var e=Dc,t=$c;if($c=Dc=null,DS(e),t)for(e=0;e<t.length;e++)DS(t[e])}}function C_(e,t){return e(t)}function U5(e,t,r,n,i){return e(t,r,n,i)}function O_(){}var H5=C_,Xs=!1,py=!1;function k_(){(Dc!==null||$c!==null)&&(O_(),j5())}function K4(e,t,r){if(py)return e(t,r);py=!0;try{return H5(e,t,r)}finally{py=!1,k_()}}function hp(e,t){var r=e.stateNode;if(r===null)return null;var n=tm(r);if(n===null)return null;r=n[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":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(Mt(231,t,typeof r));return r}var Mx=!1;if(qu)try{var oh={};Object.defineProperty(oh,"passive",{get:function(){Mx=!0}}),window.addEventListener("test",oh,oh),window.removeEventListener("test",oh,oh)}catch{Mx=!1}function J4(e,t,r,n,i,a,o,l,f){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(p){this.onError(p)}}var Vh=!1,Gg=null,qg=!1,Px=null,eF={onError:function(e){Vh=!0,Gg=e}};function tF(e,t,r,n,i,a,o,l,f){Vh=!1,Gg=null,J4.apply(eF,arguments)}function rF(e,t,r,n,i,a,o,l,f){if(tF.apply(this,arguments),Vh){if(Vh){var c=Gg;Vh=!1,Gg=null}else throw Error(Mt(198));qg||(qg=!0,Px=c)}}function xf(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&1026)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function W5(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function $S(e){if(xf(e)!==e)throw Error(Mt(188))}function nF(e){var t=e.alternate;if(!t){if(t=xf(e),t===null)throw Error(Mt(188));return t!==e?null:e}for(var r=e,n=t;;){var i=r.return;if(i===null)break;var a=i.alternate;if(a===null){if(n=i.return,n!==null){r=n;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===r)return $S(i),e;if(a===n)return $S(i),t;a=a.sibling}throw Error(Mt(188))}if(r.return!==n.return)r=i,n=a;else{for(var o=!1,l=i.child;l;){if(l===r){o=!0,r=i,n=a;break}if(l===n){o=!0,n=i,r=a;break}l=l.sibling}if(!o){for(l=a.child;l;){if(l===r){o=!0,r=a,n=i;break}if(l===n){o=!0,n=a,r=i;break}l=l.sibling}if(!o)throw Error(Mt(189))}}if(r.alternate!==n)throw Error(Mt(190))}if(r.tag!==3)throw Error(Mt(188));return r.stateNode.current===r?e:t}function G5(e){if(e=nF(e),!e)return null;for(var t=e;;){if(t.tag===5||t.tag===6)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function zS(e,t){for(var r=e.alternate;t!==null;){if(t===e||t===r)return!0;t=t.return}return!1}var q5,M_,V5,Y5,Nx=!1,tu=[],Gl=null,ql=null,Vl=null,pp=new Map,vp=new Map,uh=[],BS="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 Rx(e,t,r,n,i){return{blockedOn:e,domEventName:t,eventSystemFlags:r|16,nativeEvent:i,targetContainers:[n]}}function jS(e,t){switch(e){case"focusin":case"focusout":Gl=null;break;case"dragenter":case"dragleave":ql=null;break;case"mouseover":case"mouseout":Vl=null;break;case"pointerover":case"pointerout":pp.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":vp.delete(t.pointerId)}}function lh(e,t,r,n,i,a){return e===null||e.nativeEvent!==a?(e=Rx(t,r,n,i,a),t!==null&&(t=zp(t),t!==null&&M_(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function iF(e,t,r,n,i){switch(t){case"focusin":return Gl=lh(Gl,e,t,r,n,i),!0;case"dragenter":return ql=lh(ql,e,t,r,n,i),!0;case"mouseover":return Vl=lh(Vl,e,t,r,n,i),!0;case"pointerover":var a=i.pointerId;return pp.set(a,lh(pp.get(a)||null,e,t,r,n,i)),!0;case"gotpointercapture":return a=i.pointerId,vp.set(a,lh(vp.get(a)||null,e,t,r,n,i)),!0}return!1}function aF(e){var t=Qs(e.target);if(t!==null){var r=xf(t);if(r!==null){if(t=r.tag,t===13){if(t=W5(r),t!==null){e.blockedOn=t,Y5(e.lanePriority,function(){wi.unstable_runWithPriority(e.priority,function(){V5(r)})});return}}else if(t===3&&r.stateNode.hydrate){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function xg(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=I_(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null)return t=zp(r),t!==null&&M_(t),e.blockedOn=r,!1;t.shift()}return!0}function US(e,t,r){xg(e)&&r.delete(t)}function oF(){for(Nx=!1;0<tu.length;){var e=tu[0];if(e.blockedOn!==null){e=zp(e.blockedOn),e!==null&&q5(e);break}for(var t=e.targetContainers;0<t.length;){var r=I_(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null){e.blockedOn=r;break}t.shift()}e.blockedOn===null&&tu.shift()}Gl!==null&&xg(Gl)&&(Gl=null),ql!==null&&xg(ql)&&(ql=null),Vl!==null&&xg(Vl)&&(Vl=null),pp.forEach(US),vp.forEach(US)}function sh(e,t){e.blockedOn===t&&(e.blockedOn=null,Nx||(Nx=!0,wi.unstable_scheduleCallback(wi.unstable_NormalPriority,oF)))}function X5(e){function t(i){return sh(i,e)}if(0<tu.length){sh(tu[0],e);for(var r=1;r<tu.length;r++){var n=tu[r];n.blockedOn===e&&(n.blockedOn=null)}}for(Gl!==null&&sh(Gl,e),ql!==null&&sh(ql,e),Vl!==null&&sh(Vl,e),pp.forEach(t),vp.forEach(t),r=0;r<uh.length;r++)n=uh[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<uh.length&&(r=uh[0],r.blockedOn===null);)aF(r),r.blockedOn===null&&uh.shift()}function Fv(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Ec={animationend:Fv("Animation","AnimationEnd"),animationiteration:Fv("Animation","AnimationIteration"),animationstart:Fv("Animation","AnimationStart"),transitionend:Fv("Transition","TransitionEnd")},vy={},Q5={};qu&&(Q5=document.createElement("div").style,"AnimationEvent"in window||(delete Ec.animationend.animation,delete Ec.animationiteration.animation,delete Ec.animationstart.animation),"TransitionEvent"in window||delete Ec.transitionend.transition);function Q0(e){if(vy[e])return vy[e];if(!Ec[e])return e;var t=Ec[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in Q5)return vy[e]=t[r];return e}var Z5=Q0("animationend"),K5=Q0("animationiteration"),J5=Q0("animationstart"),ek=Q0("transitionend"),tk=new Map,P_=new Map,uF=["abort","abort",Z5,"animationEnd",K5,"animationIteration",J5,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",ek,"transitionEnd","waiting","waiting"];function N_(e,t){for(var r=0;r<e.length;r+=2){var n=e[r],i=e[r+1];i="on"+(i[0].toUpperCase()+i.slice(1)),P_.set(n,t),tk.set(n,i),yf(i,[n])}}var lF=wi.unstable_now;lF();var yn=8;function bc(e){if((1&e)!==0)return yn=15,1;if((2&e)!==0)return yn=14,2;if((4&e)!==0)return yn=13,4;var t=24&e;return t!==0?(yn=12,t):(e&32)!==0?(yn=11,32):(t=192&e,t!==0?(yn=10,t):(e&256)!==0?(yn=9,256):(t=3584&e,t!==0?(yn=8,t):(e&4096)!==0?(yn=7,4096):(t=4186112&e,t!==0?(yn=6,t):(t=62914560&e,t!==0?(yn=5,t):e&67108864?(yn=4,67108864):(e&134217728)!==0?(yn=3,134217728):(t=805306368&e,t!==0?(yn=2,t):(1073741824&e)!==0?(yn=1,1073741824):(yn=8,e))))))}function sF(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function fF(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(Mt(358,e))}}function gp(e,t){var r=e.pendingLanes;if(r===0)return yn=0;var n=0,i=0,a=e.expiredLanes,o=e.suspendedLanes,l=e.pingedLanes;if(a!==0)n=a,i=yn=15;else if(a=r&134217727,a!==0){var f=a&~o;f!==0?(n=bc(f),i=yn):(l&=a,l!==0&&(n=bc(l),i=yn))}else a=r&~o,a!==0?(n=bc(a),i=yn):l!==0&&(n=bc(l),i=yn);if(n===0)return 0;if(n=31-es(n),n=r&((0>n?0:1<<n)<<1)-1,t!==0&&t!==n&&(t&o)===0){if(bc(t),i<=yn)return t;yn=i}if(t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-es(t),i=1<<r,n|=e[r],t&=~i;return n}function rk(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Vg(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return e=xc(24&~t),e===0?Vg(10,t):e;case 10:return e=xc(192&~t),e===0?Vg(8,t):e;case 8:return e=xc(3584&~t),e===0&&(e=xc(4186112&~t),e===0&&(e=512)),e;case 2:return t=xc(805306368&~t),t===0&&(t=268435456),t}throw Error(Mt(358,e))}function xc(e){return e&-e}function gy(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Z0(e,t,r){e.pendingLanes|=t;var n=t-1;e.suspendedLanes&=n,e.pingedLanes&=n,e=e.eventTimes,t=31-es(t),e[t]=r}var es=Math.clz32?Math.clz32:hF,cF=Math.log,dF=Math.LN2;function hF(e){return e===0?32:31-(cF(e)/dF|0)|0}var pF=wi.unstable_UserBlockingPriority,vF=wi.unstable_runWithPriority,wg=!0;function gF(e,t,r,n){Xs||O_();var i=R_,a=Xs;Xs=!0;try{U5(i,e,t,r,n)}finally{(Xs=a)||k_()}}function mF(e,t,r,n){vF(pF,R_.bind(null,e,t,r,n))}function R_(e,t,r,n){if(wg){var i;if((i=(t&4)===0)&&0<tu.length&&-1<BS.indexOf(e))e=Rx(null,e,t,r,n),tu.push(e);else{var a=I_(e,t,r,n);if(a===null)i&&jS(e,n);else{if(i){if(-1<BS.indexOf(e)){e=Rx(a,e,t,r,n),tu.push(e);return}if(iF(a,e,t,r,n))return;jS(e,n)}vk(e,t,n,null,r)}}}}function I_(e,t,r,n){var i=T_(n);if(i=Qs(i),i!==null){var a=xf(i);if(a===null)i=null;else{var o=a.tag;if(o===13){if(i=W5(a),i!==null)return i;i=null}else if(o===3){if(a.stateNode.hydrate)return a.tag===3?a.stateNode.containerInfo:null;i=null}else a!==i&&(i=null)}}return vk(e,t,n,i,r),null}var zl=null,F_=null,_g=null;function nk(){if(_g)return _g;var e,t=F_,r=t.length,n,i="value"in zl?zl.value:zl.textContent,a=i.length;for(e=0;e<r&&t[e]===i[e];e++);var o=r-e;for(n=1;n<=o&&t[r-n]===i[a-n];n++);return _g=i.slice(e,1<n?1-n:void 0)}function Sg(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Lv(){return!0}function HS(){return!1}function Fa(e){function t(r,n,i,a,o){this._reactName=r,this._targetInst=i,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(r=e[l],this[l]=r?r(a):a[l]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?Lv:HS,this.isPropagationStopped=HS,this}return An(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Lv)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Lv)},persist:function(){},isPersistent:Lv}),t}var pd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},L_=Fa(pd),$p=An({},pd,{view:0,detail:0}),yF=Fa($p),my,yy,fh,K0=An({},$p,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:D_,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==fh&&(fh&&e.type==="mousemove"?(my=e.screenX-fh.screenX,yy=e.screenY-fh.screenY):yy=my=0,fh=e),my)},movementY:function(e){return"movementY"in e?e.movementY:yy}}),WS=Fa(K0),bF=An({},K0,{dataTransfer:0}),xF=Fa(bF),wF=An({},$p,{relatedTarget:0}),by=Fa(wF),_F=An({},pd,{animationName:0,elapsedTime:0,pseudoElement:0}),SF=Fa(_F),EF=An({},pd,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),AF=Fa(EF),TF=An({},pd,{data:0}),GS=Fa(TF),CF={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},OF={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"},kF={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function MF(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=kF[e])?!!t[e]:!1}function D_(){return MF}var PF=An({},$p,{key:function(e){if(e.key){var t=CF[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Sg(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?OF[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:D_,charCode:function(e){return e.type==="keypress"?Sg(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Sg(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),NF=Fa(PF),RF=An({},K0,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),qS=Fa(RF),IF=An({},$p,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:D_}),FF=Fa(IF),LF=An({},pd,{propertyName:0,elapsedTime:0,pseudoElement:0}),DF=Fa(LF),$F=An({},K0,{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}),zF=Fa($F),BF=[9,13,27,32],$_=qu&&"CompositionEvent"in window,Yh=null;qu&&"documentMode"in document&&(Yh=document.documentMode);var jF=qu&&"TextEvent"in window&&!Yh,ik=qu&&(!$_||Yh&&8<Yh&&11>=Yh),VS=String.fromCharCode(32),YS=!1;function ak(e,t){switch(e){case"keyup":return BF.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ok(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ac=!1;function UF(e,t){switch(e){case"compositionend":return ok(t);case"keypress":return t.which!==32?null:(YS=!0,VS);case"textInput":return e=t.data,e===VS&&YS?null:e;default:return null}}function HF(e,t){if(Ac)return e==="compositionend"||!$_&&ak(e,t)?(e=nk(),_g=F_=zl=null,Ac=!1,e):null;switch(e){case"paste":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 ik&&t.locale!=="ko"?null:t.data;default:return null}}var WF={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 XS(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!WF[e.type]:t==="textarea"}function uk(e,t,r,n){B5(n),t=Yg(t,"onChange"),0<t.length&&(r=new L_("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var Xh=null,mp=null;function GF(e){dk(e,0)}function J0(e){var t=Cc(e);if(R5(t))return e}function qF(e,t){if(e==="change")return t}var lk=!1;if(qu){var xy;if(qu){var wy="oninput"in document;if(!wy){var QS=document.createElement("div");QS.setAttribute("oninput","return;"),wy=typeof QS.oninput=="function"}xy=wy}else xy=!1;lk=xy&&(!document.documentMode||9<document.documentMode)}function ZS(){Xh&&(Xh.detachEvent("onpropertychange",sk),mp=Xh=null)}function sk(e){if(e.propertyName==="value"&&J0(mp)){var t=[];if(uk(t,mp,e,T_(e)),e=GF,Xs)e(t);else{Xs=!0;try{C_(e,t)}finally{Xs=!1,k_()}}}}function VF(e,t,r){e==="focusin"?(ZS(),Xh=t,mp=r,Xh.attachEvent("onpropertychange",sk)):e==="focusout"&&ZS()}function YF(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return J0(mp)}function XF(e,t){if(e==="click")return J0(t)}function QF(e,t){if(e==="input"||e==="change")return J0(t)}function ZF(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var eo=typeof Object.is=="function"?Object.is:ZF,KF=Object.prototype.hasOwnProperty;function yp(e,t){if(eo(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++)if(!KF.call(t,r[n])||!eo(e[r[n]],t[r[n]]))return!1;return!0}function KS(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function JS(e,t){var r=KS(e);e=0;for(var n;r;){if(r.nodeType===3){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=KS(r)}}function fk(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?fk(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function eE(){for(var e=window,t=Wg();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Wg(e.document)}return t}function Ix(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var JF=qu&&"documentMode"in document&&11>=document.documentMode,Tc=null,Fx=null,Qh=null,Lx=!1;function tE(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Lx||Tc==null||Tc!==Wg(n)||(n=Tc,"selectionStart"in n&&Ix(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Qh&&yp(Qh,n)||(Qh=n,n=Yg(Fx,"onSelect"),0<n.length&&(t=new L_("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=Tc)))}N_("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0);N_("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1);N_(uF,2);for(var rE="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),_y=0;_y<rE.length;_y++)P_.set(rE[_y],0);Zc("onMouseEnter",["mouseout","mouseover"]);Zc("onMouseLeave",["mouseout","mouseover"]);Zc("onPointerEnter",["pointerout","pointerover"]);Zc("onPointerLeave",["pointerout","pointerover"]);yf("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));yf("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));yf("onBeforeInput",["compositionend","keypress","textInput","paste"]);yf("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));yf("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));yf("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fh="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ck=new Set("cancel close invalid load scroll toggle".split(" ").concat(Fh));function nE(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,rF(n,t,void 0,e),e.currentTarget=null}function dk(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var n=e[r],i=n.event;n=n.listeners;e:{var a=void 0;if(t)for(var o=n.length-1;0<=o;o--){var l=n[o],f=l.instance,c=l.currentTarget;if(l=l.listener,f!==a&&i.isPropagationStopped())break e;nE(i,l,c),a=f}else for(o=0;o<n.length;o++){if(l=n[o],f=l.instance,c=l.currentTarget,l=l.listener,f!==a&&i.isPropagationStopped())break e;nE(i,l,c),a=f}}}if(qg)throw e=Px,qg=!1,Px=null,e}function xn(e,t){var r=mk(t),n=e+"__bubble";r.has(n)||(pk(t,e,2,!1),r.add(n))}var iE="_reactListening"+Math.random().toString(36).slice(2);function hk(e){e[iE]||(e[iE]=!0,M5.forEach(function(t){ck.has(t)||aE(t,!1,e,null),aE(t,!0,e,null)}))}function aE(e,t,r,n){var i=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,a=r;if(e==="selectionchange"&&r.nodeType!==9&&(a=r.ownerDocument),n!==null&&!t&&ck.has(e)){if(e!=="scroll")return;i|=2,a=n}var o=mk(a),l=e+"__"+(t?"capture":"bubble");o.has(l)||(t&&(i|=4),pk(a,e,i,t),o.add(l))}function pk(e,t,r,n){var i=P_.get(t);switch(i===void 0?2:i){case 0:i=gF;break;case 1:i=mF;break;default:i=R_}r=i.bind(null,t,r,e),i=void 0,!Mx||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),n?i!==void 0?e.addEventListener(t,r,{capture:!0,passive:i}):e.addEventListener(t,r,!0):i!==void 0?e.addEventListener(t,r,{passive:i}):e.addEventListener(t,r,!1)}function vk(e,t,r,n,i){var a=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var o=n.tag;if(o===3||o===4){var l=n.stateNode.containerInfo;if(l===i||l.nodeType===8&&l.parentNode===i)break;if(o===4)for(o=n.return;o!==null;){var f=o.tag;if((f===3||f===4)&&(f=o.stateNode.containerInfo,f===i||f.nodeType===8&&f.parentNode===i))return;o=o.return}for(;l!==null;){if(o=Qs(l),o===null)return;if(f=o.tag,f===5||f===6){n=a=o;continue e}l=l.parentNode}}n=n.return}K4(function(){var c=a,p=T_(r),_=[];e:{var x=tk.get(e);if(x!==void 0){var b=L_,C=e;switch(e){case"keypress":if(Sg(r)===0)break e;case"keydown":case"keyup":b=NF;break;case"focusin":C="focus",b=by;break;case"focusout":C="blur",b=by;break;case"beforeblur":case"afterblur":b=by;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":b=WS;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":b=xF;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":b=FF;break;case Z5:case K5:case J5:b=SF;break;case ek:b=DF;break;case"scroll":b=yF;break;case"wheel":b=zF;break;case"copy":case"cut":case"paste":b=AF;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":b=qS}var R=(t&4)!==0,E=!R&&e==="scroll",S=R?x!==null?x+"Capture":null:x;R=[];for(var T=c,P;T!==null;){P=T;var M=P.stateNode;if(P.tag===5&&M!==null&&(P=M,S!==null&&(M=hp(T,S),M!=null&&R.push(bp(T,M,P)))),E)break;T=T.return}0<R.length&&(x=new b(x,C,null,r,p),_.push({event:x,listeners:R}))}}if((t&7)===0){e:{if(x=e==="mouseover"||e==="pointerover",b=e==="mouseout"||e==="pointerout",x&&(t&16)===0&&(C=r.relatedTarget||r.fromElement)&&(Qs(C)||C[vd]))break e;if((b||x)&&(x=p.window===p?p:(x=p.ownerDocument)?x.defaultView||x.parentWindow:window,b?(C=r.relatedTarget||r.toElement,b=c,C=C?Qs(C):null,C!==null&&(E=xf(C),C!==E||C.tag!==5&&C.tag!==6)&&(C=null)):(b=null,C=c),b!==C)){if(R=WS,M="onMouseLeave",S="onMouseEnter",T="mouse",(e==="pointerout"||e==="pointerover")&&(R=qS,M="onPointerLeave",S="onPointerEnter",T="pointer"),E=b==null?x:Cc(b),P=C==null?x:Cc(C),x=new R(M,T+"leave",b,r,p),x.target=E,x.relatedTarget=P,M=null,Qs(p)===c&&(R=new R(S,T+"enter",C,r,p),R.target=P,R.relatedTarget=E,M=R),E=M,b&&C)t:{for(R=b,S=C,T=0,P=R;P;P=fc(P))T++;for(P=0,M=S;M;M=fc(M))P++;for(;0<T-P;)R=fc(R),T--;for(;0<P-T;)S=fc(S),P--;for(;T--;){if(R===S||S!==null&&R===S.alternate)break t;R=fc(R),S=fc(S)}R=null}else R=null;b!==null&&oE(_,x,b,R,!1),C!==null&&E!==null&&oE(_,E,C,R,!0)}}e:{if(x=c?Cc(c):window,b=x.nodeName&&x.nodeName.toLowerCase(),b==="select"||b==="input"&&x.type==="file")var L=qF;else if(XS(x))if(lk)L=QF;else{L=YF;var v=VF}else(b=x.nodeName)&&b.toLowerCase()==="input"&&(x.type==="checkbox"||x.type==="radio")&&(L=XF);if(L&&(L=L(e,c))){uk(_,L,r,p);break e}v&&v(e,x,c),e==="focusout"&&(v=x._wrapperState)&&v.controlled&&x.type==="number"&&_x(x,"number",x.value)}switch(v=c?Cc(c):window,e){case"focusin":(XS(v)||v.contentEditable==="true")&&(Tc=v,Fx=c,Qh=null);break;case"focusout":Qh=Fx=Tc=null;break;case"mousedown":Lx=!0;break;case"contextmenu":case"mouseup":case"dragend":Lx=!1,tE(_,r,p);break;case"selectionchange":if(JF)break;case"keydown":case"keyup":tE(_,r,p)}var K;if($_)e:{switch(e){case"compositionstart":var q="onCompositionStart";break e;case"compositionend":q="onCompositionEnd";break e;case"compositionupdate":q="onCompositionUpdate";break e}q=void 0}else Ac?ak(e,r)&&(q="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(q="onCompositionStart");q&&(ik&&r.locale!=="ko"&&(Ac||q!=="onCompositionStart"?q==="onCompositionEnd"&&Ac&&(K=nk()):(zl=p,F_="value"in zl?zl.value:zl.textContent,Ac=!0)),v=Yg(c,q),0<v.length&&(q=new GS(q,e,null,r,p),_.push({event:q,listeners:v}),K?q.data=K:(K=ok(r),K!==null&&(q.data=K)))),(K=jF?UF(e,r):HF(e,r))&&(c=Yg(c,"onBeforeInput"),0<c.length&&(p=new GS("onBeforeInput","beforeinput",null,r,p),_.push({event:p,listeners:c}),p.data=K))}dk(_,t)})}function bp(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Yg(e,t){for(var r=t+"Capture",n=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=hp(e,r),a!=null&&n.unshift(bp(e,a,i)),a=hp(e,t),a!=null&&n.push(bp(e,a,i))),e=e.return}return n}function fc(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function oE(e,t,r,n,i){for(var a=t._reactName,o=[];r!==null&&r!==n;){var l=r,f=l.alternate,c=l.stateNode;if(f!==null&&f===n)break;l.tag===5&&c!==null&&(l=c,i?(f=hp(r,a),f!=null&&o.unshift(bp(r,f,l))):i||(f=hp(r,a),f!=null&&o.push(bp(r,f,l)))),r=r.return}o.length!==0&&e.push({event:t,listeners:o})}function Xg(){}var Sy=null,Ey=null;function gk(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Dx(e,t){return e==="textarea"||e==="option"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var uE=typeof setTimeout=="function"?setTimeout:void 0,eL=typeof clearTimeout=="function"?clearTimeout:void 0;function z_(e){e.nodeType===1?e.textContent="":e.nodeType===9&&(e=e.body,e!=null&&(e.textContent=""))}function zc(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break}return e}function lE(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var Ay=0;function tL(e){return{$$typeof:E_,toString:e,valueOf:e}}var em=Math.random().toString(36).slice(2),Bl="__reactFiber$"+em,Qg="__reactProps$"+em,vd="__reactContainer$"+em,sE="__reactEvents$"+em;function Qs(e){var t=e[Bl];if(t)return t;for(var r=e.parentNode;r;){if(t=r[vd]||r[Bl]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=lE(e);e!==null;){if(r=e[Bl])return r;e=lE(e)}return t}e=r,r=e.parentNode}return null}function zp(e){return e=e[Bl]||e[vd],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Cc(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(Mt(33))}function tm(e){return e[Qg]||null}function mk(e){var t=e[sE];return t===void 0&&(t=e[sE]=new Set),t}var $x=[],Oc=-1;function fs(e){return{current:e}}function wn(e){0>Oc||(e.current=$x[Oc],$x[Oc]=null,Oc--)}function Fn(e,t){Oc++,$x[Oc]=e.current,e.current=t}var ts={},Wi=fs(ts),pa=fs(!1),af=ts;function Kc(e,t){var r=e.type.contextTypes;if(!r)return ts;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in r)i[a]=t[a];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function va(e){return e=e.childContextTypes,e!=null}function Zg(){wn(pa),wn(Wi)}function fE(e,t,r){if(Wi.current!==ts)throw Error(Mt(168));Fn(Wi,t),Fn(pa,r)}function yk(e,t,r){var n=e.stateNode;if(e=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in e))throw Error(Mt(108,Fc(t)||"Unknown",i));return An({},r,n)}function Eg(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ts,af=Wi.current,Fn(Wi,e),Fn(pa,pa.current),!0}function cE(e,t,r){var n=e.stateNode;if(!n)throw Error(Mt(169));r?(e=yk(e,t,af),n.__reactInternalMemoizedMergedChildContext=e,wn(pa),wn(Wi),Fn(Wi,e)):wn(pa),Fn(pa,r)}var B_=null,ef=null,rL=wi.unstable_runWithPriority,j_=wi.unstable_scheduleCallback,zx=wi.unstable_cancelCallback,nL=wi.unstable_shouldYield,dE=wi.unstable_requestPaint,Bx=wi.unstable_now,iL=wi.unstable_getCurrentPriorityLevel,rm=wi.unstable_ImmediatePriority,bk=wi.unstable_UserBlockingPriority,xk=wi.unstable_NormalPriority,wk=wi.unstable_LowPriority,_k=wi.unstable_IdlePriority,Ty={},aL=dE!==void 0?dE:function(){},Bu=null,Ag=null,Cy=!1,hE=Bx(),Ui=1e4>hE?Bx:function(){return Bx()-hE};function Jc(){switch(iL()){case rm:return 99;case bk:return 98;case xk:return 97;case wk:return 96;case _k:return 95;default:throw Error(Mt(332))}}function Sk(e){switch(e){case 99:return rm;case 98:return bk;case 97:return xk;case 96:return wk;case 95:return _k;default:throw Error(Mt(332))}}function of(e,t){return e=Sk(e),rL(e,t)}function xp(e,t,r){return e=Sk(e),j_(e,t,r)}function cu(){if(Ag!==null){var e=Ag;Ag=null,zx(e)}Ek()}function Ek(){if(!Cy&&Bu!==null){Cy=!0;var e=0;try{var t=Bu;of(99,function(){for(;e<t.length;e++){var r=t[e];do r=r(!0);while(r!==null)}}),Bu=null}catch(r){throw Bu!==null&&(Bu=Bu.slice(e+1)),j_(rm,cu),r}finally{Cy=!1}}}var oL=bf.ReactCurrentBatchConfig;function Ao(e,t){if(e&&e.defaultProps){t=An({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}var Kg=fs(null),Jg=null,kc=null,e0=null;function U_(){e0=kc=Jg=null}function H_(e){var t=Kg.current;wn(Kg),e.type._context._currentValue=t}function Ak(e,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t){if(r===null||(r.childLanes&t)===t)break;r.childLanes|=t}else e.childLanes|=t,r!==null&&(r.childLanes|=t);e=e.return}}function Bc(e,t){Jg=e,e0=kc=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(To=!0),e.firstContext=null)}function ao(e,t){if(e0!==e&&t!==!1&&t!==0)if((typeof t!="number"||t===1073741823)&&(e0=e,t=1073741823),t={context:e,observedBits:t,next:null},kc===null){if(Jg===null)throw Error(Mt(308));kc=t,Jg.dependencies={lanes:0,firstContext:t,responders:null}}else kc=kc.next=t;return e._currentValue}var Rl=!1;function W_(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function Tk(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 Yl(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Xl(e,t){if(e=e.updateQueue,e!==null){e=e.shared;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}}function pE(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var i=null,a=null;if(r=r.firstBaseUpdate,r!==null){do{var o={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};a===null?i=a=o:a=a.next=o,r=r.next}while(r!==null);a===null?i=a=t:a=a.next=t}else i=a=t;r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function wp(e,t,r,n){var i=e.updateQueue;Rl=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var f=l,c=f.next;f.next=null,o===null?a=c:o.next=c,o=f;var p=e.alternate;if(p!==null){p=p.updateQueue;var _=p.lastBaseUpdate;_!==o&&(_===null?p.firstBaseUpdate=c:_.next=c,p.lastBaseUpdate=f)}}if(a!==null){_=i.baseState,o=0,p=c=f=null;do{l=a.lane;var x=a.eventTime;if((n&l)===l){p!==null&&(p=p.next={eventTime:x,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var b=e,C=a;switch(l=t,x=r,C.tag){case 1:if(b=C.payload,typeof b=="function"){_=b.call(x,_,l);break e}_=b;break e;case 3:b.flags=b.flags&-4097|64;case 0:if(b=C.payload,l=typeof b=="function"?b.call(x,_,l):b,l==null)break e;_=An({},_,l);break e;case 2:Rl=!0}}a.callback!==null&&(e.flags|=32,l=i.effects,l===null?i.effects=[a]:l.push(a))}else x={eventTime:x,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},p===null?(c=p=x,f=_):p=p.next=x,o|=l;if(a=a.next,a===null){if(l=i.shared.pending,l===null)break;a=l.next,l.next=null,i.lastBaseUpdate=l,i.shared.pending=null}}while(1);p===null&&(f=_),i.baseState=f,i.firstBaseUpdate=c,i.lastBaseUpdate=p,jp|=o,e.lanes=o,e.memoizedState=_}}function vE(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var n=e[t],i=n.callback;if(i!==null){if(n.callback=null,n=r,typeof i!="function")throw Error(Mt(191,i));i.call(n)}}}var Ck=new V0.Component().refs;function t0(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:An({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var nm={isMounted:function(e){return(e=e._reactInternals)?xf(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=Ia(),i=Ql(e),a=Yl(n,i);a.payload=t,r!=null&&(a.callback=r),Xl(e,a),Zl(e,i,n)},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=Ia(),i=Ql(e),a=Yl(n,i);a.tag=1,a.payload=t,r!=null&&(a.callback=r),Xl(e,a),Zl(e,i,n)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Ia(),n=Ql(e),i=Yl(r,n);i.tag=2,t!=null&&(i.callback=t),Xl(e,i),Zl(e,n,r)}};function gE(e,t,r,n,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,a,o):t.prototype&&t.prototype.isPureReactComponent?!yp(r,n)||!yp(i,a):!0}function Ok(e,t,r){var n=!1,i=ts,a=t.contextType;return typeof a=="object"&&a!==null?a=ao(a):(i=va(t)?af:Wi.current,n=t.contextTypes,a=(n=n!=null)?Kc(e,i):ts),t=new t(r,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=nm,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function mE(e,t,r,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&nm.enqueueReplaceState(t,t.state,null)}function jx(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs=Ck,W_(e);var a=t.contextType;typeof a=="object"&&a!==null?i.context=ao(a):(a=va(t)?af:Wi.current,i.context=Kc(e,a)),wp(e,r,i,n),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(t0(e,t,a,r),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&nm.enqueueReplaceState(i,i.state,null),wp(e,r,i,n),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4)}var Dv=Array.isArray;function ch(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(Mt(309));var n=r.stateNode}if(!n)throw Error(Mt(147,e));var i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(a){var o=n.refs;o===Ck&&(o=n.refs={}),a===null?delete o[i]:o[i]=a},t._stringRef=i,t)}if(typeof e!="string")throw Error(Mt(284));if(!r._owner)throw Error(Mt(290,e))}return e}function $v(e,t){if(e.type!=="textarea")throw Error(Mt(31,Object.prototype.toString.call(t)==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function kk(e){function t(E,S){if(e){var T=E.lastEffect;T!==null?(T.nextEffect=S,E.lastEffect=S):E.firstEffect=E.lastEffect=S,S.nextEffect=null,S.flags=8}}function r(E,S){if(!e)return null;for(;S!==null;)t(E,S),S=S.sibling;return null}function n(E,S){for(E=new Map;S!==null;)S.key!==null?E.set(S.key,S):E.set(S.index,S),S=S.sibling;return E}function i(E,S){return E=ns(E,S),E.index=0,E.sibling=null,E}function a(E,S,T){return E.index=T,e?(T=E.alternate,T!==null?(T=T.index,T<S?(E.flags=2,S):T):(E.flags=2,S)):S}function o(E){return e&&E.alternate===null&&(E.flags=2),E}function l(E,S,T,P){return S===null||S.tag!==6?(S=Ny(T,E.mode,P),S.return=E,S):(S=i(S,T),S.return=E,S)}function f(E,S,T,P){return S!==null&&S.elementType===T.type?(P=i(S,T.props),P.ref=ch(E,S,T),P.return=E,P):(P=kg(T.type,T.key,T.props,null,E.mode,P),P.ref=ch(E,S,T),P.return=E,P)}function c(E,S,T,P){return S===null||S.tag!==4||S.stateNode.containerInfo!==T.containerInfo||S.stateNode.implementation!==T.implementation?(S=Ry(T,E.mode,P),S.return=E,S):(S=i(S,T.children||[]),S.return=E,S)}function p(E,S,T,P,M){return S===null||S.tag!==7?(S=Wc(T,E.mode,P,M),S.return=E,S):(S=i(S,T),S.return=E,S)}function _(E,S,T){if(typeof S=="string"||typeof S=="number")return S=Ny(""+S,E.mode,T),S.return=E,S;if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Rh:return T=kg(S.type,S.key,S.props,null,E.mode,T),T.ref=ch(E,null,S),T.return=E,T;case Ys:return S=Ry(S,E.mode,T),S.return=E,S}if(Dv(S)||ah(S))return S=Wc(S,E.mode,T,null),S.return=E,S;$v(E,S)}return null}function x(E,S,T,P){var M=S!==null?S.key:null;if(typeof T=="string"||typeof T=="number")return M!==null?null:l(E,S,""+T,P);if(typeof T=="object"&&T!==null){switch(T.$$typeof){case Rh:return T.key===M?T.type===Dl?p(E,S,T.props.children,P,M):f(E,S,T,P):null;case Ys:return T.key===M?c(E,S,T,P):null}if(Dv(T)||ah(T))return M!==null?null:p(E,S,T,P,null);$v(E,T)}return null}function b(E,S,T,P,M){if(typeof P=="string"||typeof P=="number")return E=E.get(T)||null,l(S,E,""+P,M);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case Rh:return E=E.get(P.key===null?T:P.key)||null,P.type===Dl?p(S,E,P.props.children,M,P.key):f(S,E,P,M);case Ys:return E=E.get(P.key===null?T:P.key)||null,c(S,E,P,M)}if(Dv(P)||ah(P))return E=E.get(T)||null,p(S,E,P,M,null);$v(S,P)}return null}function C(E,S,T,P){for(var M=null,L=null,v=S,K=S=0,q=null;v!==null&&K<T.length;K++){v.index>K?(q=v,v=null):q=v.sibling;var ue=x(E,v,T[K],P);if(ue===null){v===null&&(v=q);break}e&&v&&ue.alternate===null&&t(E,v),S=a(ue,S,K),L===null?M=ue:L.sibling=ue,L=ue,v=q}if(K===T.length)return r(E,v),M;if(v===null){for(;K<T.length;K++)v=_(E,T[K],P),v!==null&&(S=a(v,S,K),L===null?M=v:L.sibling=v,L=v);return M}for(v=n(E,v);K<T.length;K++)q=b(v,E,K,T[K],P),q!==null&&(e&&q.alternate!==null&&v.delete(q.key===null?K:q.key),S=a(q,S,K),L===null?M=q:L.sibling=q,L=q);return e&&v.forEach(function(Ie){return t(E,Ie)}),M}function R(E,S,T,P){var M=ah(T);if(typeof M!="function")throw Error(Mt(150));if(T=M.call(T),T==null)throw Error(Mt(151));for(var L=M=null,v=S,K=S=0,q=null,ue=T.next();v!==null&&!ue.done;K++,ue=T.next()){v.index>K?(q=v,v=null):q=v.sibling;var Ie=x(E,v,ue.value,P);if(Ie===null){v===null&&(v=q);break}e&&v&&Ie.alternate===null&&t(E,v),S=a(Ie,S,K),L===null?M=Ie:L.sibling=Ie,L=Ie,v=q}if(ue.done)return r(E,v),M;if(v===null){for(;!ue.done;K++,ue=T.next())ue=_(E,ue.value,P),ue!==null&&(S=a(ue,S,K),L===null?M=ue:L.sibling=ue,L=ue);return M}for(v=n(E,v);!ue.done;K++,ue=T.next())ue=b(v,E,K,ue.value,P),ue!==null&&(e&&ue.alternate!==null&&v.delete(ue.key===null?K:ue.key),S=a(ue,S,K),L===null?M=ue:L.sibling=ue,L=ue);return e&&v.forEach(function(Ce){return t(E,Ce)}),M}return function(E,S,T,P){var M=typeof T=="object"&&T!==null&&T.type===Dl&&T.key===null;M&&(T=T.props.children);var L=typeof T=="object"&&T!==null;if(L)switch(T.$$typeof){case Rh:e:{for(L=T.key,M=S;M!==null;){if(M.key===L){switch(M.tag){case 7:if(T.type===Dl){r(E,M.sibling),S=i(M,T.props.children),S.return=E,E=S;break e}break;default:if(M.elementType===T.type){r(E,M.sibling),S=i(M,T.props),S.ref=ch(E,M,T),S.return=E,E=S;break e}}r(E,M);break}else t(E,M);M=M.sibling}T.type===Dl?(S=Wc(T.props.children,E.mode,P,T.key),S.return=E,E=S):(P=kg(T.type,T.key,T.props,null,E.mode,P),P.ref=ch(E,S,T),P.return=E,E=P)}return o(E);case Ys:e:{for(M=T.key;S!==null;){if(S.key===M)if(S.tag===4&&S.stateNode.containerInfo===T.containerInfo&&S.stateNode.implementation===T.implementation){r(E,S.sibling),S=i(S,T.children||[]),S.return=E,E=S;break e}else{r(E,S);break}else t(E,S);S=S.sibling}S=Ry(T,E.mode,P),S.return=E,E=S}return o(E)}if(typeof T=="string"||typeof T=="number")return T=""+T,S!==null&&S.tag===6?(r(E,S.sibling),S=i(S,T),S.return=E,E=S):(r(E,S),S=Ny(T,E.mode,P),S.return=E,E=S),o(E);if(Dv(T))return C(E,S,T,P);if(ah(T))return R(E,S,T,P);if(L&&$v(E,T),typeof T>"u"&&!M)switch(E.tag){case 1:case 22:case 0:case 11:case 15:throw Error(Mt(152,Fc(E.type)||"Component"))}return r(E,S)}}var r0=kk(!0),Mk=kk(!1),Bp={},au=fs(Bp),_p=fs(Bp),Sp=fs(Bp);function Zs(e){if(e===Bp)throw Error(Mt(174));return e}function Ux(e,t){switch(Fn(Sp,t),Fn(_p,e),Fn(au,Bp),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Tx(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Tx(t,e)}wn(au),Fn(au,t)}function ed(){wn(au),wn(_p),wn(Sp)}function yE(e){Zs(Sp.current);var t=Zs(au.current),r=Tx(t,e.type);t!==r&&(Fn(_p,e),Fn(au,r))}function G_(e){_p.current===e&&(wn(au),wn(_p))}var In=fs(0);function n0(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&64)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Uu=null,jl=null,ou=!1;function Pk(e,t){var r=to(5,null,null,0);r.elementType="DELETED",r.type="DELETED",r.stateNode=t,r.return=e,r.flags=8,e.lastEffect!==null?(e.lastEffect.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r}function bE(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,!0):!1;case 13:return!1;default:return!1}}function Hx(e){if(ou){var t=jl;if(t){var r=t;if(!bE(e,t)){if(t=zc(r.nextSibling),!t||!bE(e,t)){e.flags=e.flags&-1025|2,ou=!1,Uu=e;return}Pk(Uu,r)}Uu=e,jl=zc(t.firstChild)}else e.flags=e.flags&-1025|2,ou=!1,Uu=e}}function xE(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Uu=e}function zv(e){if(e!==Uu)return!1;if(!ou)return xE(e),ou=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!Dx(t,e.memoizedProps))for(t=jl;t;)Pk(e,t),t=zc(t.nextSibling);if(xE(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Mt(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){jl=zc(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}jl=null}}else jl=Uu?zc(e.stateNode.nextSibling):null;return!0}function Oy(){jl=Uu=null,ou=!1}var jc=[];function q_(){for(var e=0;e<jc.length;e++)jc[e]._workInProgressVersionPrimary=null;jc.length=0}var Zh=bf.ReactCurrentDispatcher,no=bf.ReactCurrentBatchConfig,Ep=0,Bn=null,ji=null,Pi=null,i0=!1,Kh=!1;function ca(){throw Error(Mt(321))}function V_(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!eo(e[r],t[r]))return!1;return!0}function Y_(e,t,r,n,i,a){if(Ep=a,Bn=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Zh.current=e===null||e.memoizedState===null?lL:sL,e=r(n,i),Kh){a=0;do{if(Kh=!1,!(25>a))throw Error(Mt(301));a+=1,Pi=ji=null,t.updateQueue=null,Zh.current=fL,e=r(n,i)}while(Kh)}if(Zh.current=l0,t=ji!==null&&ji.next!==null,Ep=0,Pi=ji=Bn=null,i0=!1,t)throw Error(Mt(300));return e}function Ks(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pi===null?Bn.memoizedState=Pi=e:Pi=Pi.next=e,Pi}function wf(){if(ji===null){var e=Bn.alternate;e=e!==null?e.memoizedState:null}else e=ji.next;var t=Pi===null?Bn.memoizedState:Pi.next;if(t!==null)Pi=t,ji=e;else{if(e===null)throw Error(Mt(310));ji=e,e={memoizedState:ji.memoizedState,baseState:ji.baseState,baseQueue:ji.baseQueue,queue:ji.queue,next:null},Pi===null?Bn.memoizedState=Pi=e:Pi=Pi.next=e}return Pi}function ru(e,t){return typeof t=="function"?t(e):t}function dh(e){var t=wf(),r=t.queue;if(r===null)throw Error(Mt(311));r.lastRenderedReducer=e;var n=ji,i=n.baseQueue,a=r.pending;if(a!==null){if(i!==null){var o=i.next;i.next=a.next,a.next=o}n.baseQueue=i=a,r.pending=null}if(i!==null){i=i.next,n=n.baseState;var l=o=a=null,f=i;do{var c=f.lane;if((Ep&c)===c)l!==null&&(l=l.next={lane:0,action:f.action,eagerReducer:f.eagerReducer,eagerState:f.eagerState,next:null}),n=f.eagerReducer===e?f.eagerState:e(n,f.action);else{var p={lane:c,action:f.action,eagerReducer:f.eagerReducer,eagerState:f.eagerState,next:null};l===null?(o=l=p,a=n):l=l.next=p,Bn.lanes|=c,jp|=c}f=f.next}while(f!==null&&f!==i);l===null?a=n:l.next=o,eo(n,t.memoizedState)||(To=!0),t.memoizedState=n,t.baseState=a,t.baseQueue=l,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function hh(e){var t=wf(),r=t.queue;if(r===null)throw Error(Mt(311));r.lastRenderedReducer=e;var n=r.dispatch,i=r.pending,a=t.memoizedState;if(i!==null){r.pending=null;var o=i=i.next;do a=e(a,o.action),o=o.next;while(o!==i);eo(a,t.memoizedState)||(To=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),r.lastRenderedState=a}return[a,n]}function wE(e,t,r){var n=t._getVersion;n=n(t._source);var i=t._workInProgressVersionPrimary;if(i!==null?e=i===n:(e=e.mutableReadLanes,(e=(Ep&e)===e)&&(t._workInProgressVersionPrimary=n,jc.push(t))),e)return r(t._source);throw jc.push(t),Error(Mt(350))}function Nk(e,t,r,n){var i=ra;if(i===null)throw Error(Mt(349));var a=t._getVersion,o=a(t._source),l=Zh.current,f=l.useState(function(){return wE(i,t,r)}),c=f[1],p=f[0];f=Pi;var _=e.memoizedState,x=_.refs,b=x.getSnapshot,C=_.source;_=_.subscribe;var R=Bn;return e.memoizedState={refs:x,source:t,subscribe:n},l.useEffect(function(){x.getSnapshot=r,x.setSnapshot=c;var E=a(t._source);if(!eo(o,E)){E=r(t._source),eo(p,E)||(c(E),E=Ql(R),i.mutableReadLanes|=E&i.pendingLanes),E=i.mutableReadLanes,i.entangledLanes|=E;for(var S=i.entanglements,T=E;0<T;){var P=31-es(T),M=1<<P;S[P]|=E,T&=~M}}},[r,t,n]),l.useEffect(function(){return n(t._source,function(){var E=x.getSnapshot,S=x.setSnapshot;try{S(E(t._source));var T=Ql(R);i.mutableReadLanes|=T&i.pendingLanes}catch(P){S(function(){throw P})}})},[t,n]),eo(b,r)&&eo(C,t)&&eo(_,n)||(e={pending:null,dispatch:null,lastRenderedReducer:ru,lastRenderedState:p},e.dispatch=c=Z_.bind(null,Bn,e),f.queue=e,f.baseQueue=null,p=wE(i,t,r),f.memoizedState=f.baseState=p),p}function Rk(e,t,r){var n=wf();return Nk(n,e,t,r)}function ph(e){var t=Ks();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ru,lastRenderedState:e},e=e.dispatch=Z_.bind(null,Bn,e),[t.memoizedState,e]}function a0(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=Bn.updateQueue,t===null?(t={lastEffect:null},Bn.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e)),e}function _E(e){var t=Ks();return e={current:e},t.memoizedState=e}function o0(){return wf().memoizedState}function Wx(e,t,r,n){var i=Ks();Bn.flags|=e,i.memoizedState=a0(1|t,r,void 0,n===void 0?null:n)}function X_(e,t,r,n){var i=wf();n=n===void 0?null:n;var a=void 0;if(ji!==null){var o=ji.memoizedState;if(a=o.destroy,n!==null&&V_(n,o.deps)){a0(t,r,a,n);return}}Bn.flags|=e,i.memoizedState=a0(1|t,r,a,n)}function SE(e,t){return Wx(516,4,e,t)}function u0(e,t){return X_(516,4,e,t)}function Ik(e,t){return X_(4,2,e,t)}function Fk(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Lk(e,t,r){return r=r!=null?r.concat([e]):null,X_(4,2,Fk.bind(null,t,e),r)}function Q_(){}function Dk(e,t){var r=wf();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&V_(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function $k(e,t){var r=wf();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&V_(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function uL(e,t){var r=Jc();of(98>r?98:r,function(){e(!0)}),of(97<r?97:r,function(){var n=no.transition;no.transition=1;try{e(!1),t()}finally{no.transition=n}})}function Z_(e,t,r){var n=Ia(),i=Ql(e),a={lane:i,action:r,eagerReducer:null,eagerState:null,next:null},o=t.pending;if(o===null?a.next=a:(a.next=o.next,o.next=a),t.pending=a,o=e.alternate,e===Bn||o!==null&&o===Bn)Kh=i0=!0;else{if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,f=o(l,r);if(a.eagerReducer=o,a.eagerState=f,eo(f,l))return}catch{}finally{}Zl(e,i,n)}}var l0={readContext:ao,useCallback:ca,useContext:ca,useEffect:ca,useImperativeHandle:ca,useLayoutEffect:ca,useMemo:ca,useReducer:ca,useRef:ca,useState:ca,useDebugValue:ca,useDeferredValue:ca,useTransition:ca,useMutableSource:ca,useOpaqueIdentifier:ca,unstable_isNewReconciler:!1},lL={readContext:ao,useCallback:function(e,t){return Ks().memoizedState=[e,t===void 0?null:t],e},useContext:ao,useEffect:SE,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Wx(4,2,Fk.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Wx(4,2,e,t)},useMemo:function(e,t){var r=Ks();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Ks();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e=n.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=Z_.bind(null,Bn,e),[n.memoizedState,e]},useRef:_E,useState:ph,useDebugValue:Q_,useDeferredValue:function(e){var t=ph(e),r=t[0],n=t[1];return SE(function(){var i=no.transition;no.transition=1;try{n(e)}finally{no.transition=i}},[e]),r},useTransition:function(){var e=ph(!1),t=e[0];return e=uL.bind(null,e[1]),_E(e),[e,t]},useMutableSource:function(e,t,r){var n=Ks();return n.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:r},Nk(n,e,t,r)},useOpaqueIdentifier:function(){if(ou){var e=!1,t=tL(function(){throw e||(e=!0,r("r:"+(Ay++).toString(36))),Error(Mt(355))}),r=ph(t)[1];return(Bn.mode&2)===0&&(Bn.flags|=516,a0(5,function(){r("r:"+(Ay++).toString(36))},void 0,null)),t}return t="r:"+(Ay++).toString(36),ph(t),t},unstable_isNewReconciler:!1},sL={readContext:ao,useCallback:Dk,useContext:ao,useEffect:u0,useImperativeHandle:Lk,useLayoutEffect:Ik,useMemo:$k,useReducer:dh,useRef:o0,useState:function(){return dh(ru)},useDebugValue:Q_,useDeferredValue:function(e){var t=dh(ru),r=t[0],n=t[1];return u0(function(){var i=no.transition;no.transition=1;try{n(e)}finally{no.transition=i}},[e]),r},useTransition:function(){var e=dh(ru)[0];return[o0().current,e]},useMutableSource:Rk,useOpaqueIdentifier:function(){return dh(ru)[0]},unstable_isNewReconciler:!1},fL={readContext:ao,useCallback:Dk,useContext:ao,useEffect:u0,useImperativeHandle:Lk,useLayoutEffect:Ik,useMemo:$k,useReducer:hh,useRef:o0,useState:function(){return hh(ru)},useDebugValue:Q_,useDeferredValue:function(e){var t=hh(ru),r=t[0],n=t[1];return u0(function(){var i=no.transition;no.transition=1;try{n(e)}finally{no.transition=i}},[e]),r},useTransition:function(){var e=hh(ru)[0];return[o0().current,e]},useMutableSource:Rk,useOpaqueIdentifier:function(){return hh(ru)[0]},unstable_isNewReconciler:!1},cL=bf.ReactCurrentOwner,To=!1;function da(e,t,r,n){t.child=e===null?Mk(t,null,r,n):r0(t,e.child,r,n)}function EE(e,t,r,n,i){r=r.render;var a=t.ref;return Bc(t,i),n=Y_(e,t,r,n,a,i),e!==null&&!To?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,Hu(e,t,i)):(t.flags|=1,da(e,t,n,i),t.child)}function AE(e,t,r,n,i,a){if(e===null){var o=r.type;return typeof o=="function"&&!n2(o)&&o.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=o,zk(e,t,o,n,i,a)):(e=kg(r.type,null,n,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}return o=e.child,(i&a)===0&&(i=o.memoizedProps,r=r.compare,r=r!==null?r:yp,r(i,n)&&e.ref===t.ref)?Hu(e,t,a):(t.flags|=1,e=ns(o,n),e.ref=t.ref,e.return=t,t.child=e)}function zk(e,t,r,n,i,a){if(e!==null&&yp(e.memoizedProps,n)&&e.ref===t.ref)if(To=!1,(a&i)!==0)(e.flags&16384)!==0&&(To=!0);else return t.lanes=e.lanes,Hu(e,t,a);return Gx(e,t,r,n,a)}function ky(e,t,r){var n=t.pendingProps,i=n.children,a=e!==null?e.memoizedState:null;if(n.mode==="hidden"||n.mode==="unstable-defer-without-hiding")if((t.mode&4)===0)t.memoizedState={baseLanes:0},jv(t,r);else if((r&1073741824)!==0)t.memoizedState={baseLanes:0},jv(t,a!==null?a.baseLanes:r);else return e=a!==null?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},jv(t,e),null;else a!==null?(n=a.baseLanes|r,t.memoizedState=null):n=r,jv(t,n);return da(e,t,i,r),t.child}function Bk(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=128)}function Gx(e,t,r,n,i){var a=va(r)?af:Wi.current;return a=Kc(t,a),Bc(t,i),r=Y_(e,t,r,n,a,i),e!==null&&!To?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,Hu(e,t,i)):(t.flags|=1,da(e,t,r,i),t.child)}function TE(e,t,r,n,i){if(va(r)){var a=!0;Eg(t)}else a=!1;if(Bc(t,i),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),Ok(t,r,n),jx(t,r,n,i),n=!0;else if(e===null){var o=t.stateNode,l=t.memoizedProps;o.props=l;var f=o.context,c=r.contextType;typeof c=="object"&&c!==null?c=ao(c):(c=va(r)?af:Wi.current,c=Kc(t,c));var p=r.getDerivedStateFromProps,_=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function";_||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==n||f!==c)&&mE(t,o,n,c),Rl=!1;var x=t.memoizedState;o.state=x,wp(t,n,o,i),f=t.memoizedState,l!==n||x!==f||pa.current||Rl?(typeof p=="function"&&(t0(t,r,p,n),f=t.memoizedState),(l=Rl||gE(t,r,l,n,x,f,c))?(_||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4)):(typeof o.componentDidMount=="function"&&(t.flags|=4),t.memoizedProps=n,t.memoizedState=f),o.props=n,o.state=f,o.context=c,n=l):(typeof o.componentDidMount=="function"&&(t.flags|=4),n=!1)}else{o=t.stateNode,Tk(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:Ao(t.type,l),o.props=c,_=t.pendingProps,x=o.context,f=r.contextType,typeof f=="object"&&f!==null?f=ao(f):(f=va(r)?af:Wi.current,f=Kc(t,f));var b=r.getDerivedStateFromProps;(p=typeof b=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==_||x!==f)&&mE(t,o,n,f),Rl=!1,x=t.memoizedState,o.state=x,wp(t,n,o,i);var C=t.memoizedState;l!==_||x!==C||pa.current||Rl?(typeof b=="function"&&(t0(t,r,b,n),C=t.memoizedState),(c=Rl||gE(t,r,c,n,x,C,f))?(p||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(n,C,f),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(n,C,f)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=256)):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&x===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&x===e.memoizedState||(t.flags|=256),t.memoizedProps=n,t.memoizedState=C),o.props=n,o.state=C,o.context=f,n=c):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&x===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&x===e.memoizedState||(t.flags|=256),n=!1)}return qx(e,t,r,n,a,i)}function qx(e,t,r,n,i,a){Bk(e,t);var o=(t.flags&64)!==0;if(!n&&!o)return i&&cE(t,r,!1),Hu(e,t,a);n=t.stateNode,cL.current=t;var l=o&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&o?(t.child=r0(t,e.child,null,a),t.child=r0(t,null,l,a)):da(e,t,l,a),t.memoizedState=n.state,i&&cE(t,r,!0),t.child}function CE(e){var t=e.stateNode;t.pendingContext?fE(e,t.pendingContext,t.pendingContext!==t.context):t.context&&fE(e,t.context,!1),Ux(e,t.containerInfo)}var Bv={dehydrated:null,retryLane:0};function OE(e,t,r){var n=t.pendingProps,i=In.current,a=!1,o;return(o=(t.flags&64)!==0)||(o=e!==null&&e.memoizedState===null?!1:(i&2)!==0),o?(a=!0,t.flags&=-65):e!==null&&e.memoizedState===null||n.fallback===void 0||n.unstable_avoidThisFallback===!0||(i|=1),Fn(In,i&1),e===null?(n.fallback!==void 0&&Hx(t),e=n.children,i=n.fallback,a?(e=kE(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=Bv,e):typeof n.unstable_expectedLoadTime=="number"?(e=kE(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=Bv,t.lanes=33554432,e):(r=i2({mode:"visible",children:e},t.mode,r,null),r.return=t,t.child=r)):e.memoizedState!==null?a?(n=PE(e,t,n.children,n.fallback,r),a=t.child,i=e.child.memoizedState,a.memoizedState=i===null?{baseLanes:r}:{baseLanes:i.baseLanes|r},a.childLanes=e.childLanes&~r,t.memoizedState=Bv,n):(r=ME(e,t,n.children,r),t.memoizedState=null,r):a?(n=PE(e,t,n.children,n.fallback,r),a=t.child,i=e.child.memoizedState,a.memoizedState=i===null?{baseLanes:r}:{baseLanes:i.baseLanes|r},a.childLanes=e.childLanes&~r,t.memoizedState=Bv,n):(r=ME(e,t,n.children,r),t.memoizedState=null,r)}function kE(e,t,r,n){var i=e.mode,a=e.child;return t={mode:"hidden",children:t},(i&2)===0&&a!==null?(a.childLanes=0,a.pendingProps=t):a=i2(t,i,0,null),r=Wc(r,i,n,null),a.return=e,r.return=e,a.sibling=r,e.child=a,r}function ME(e,t,r,n){var i=e.child;return e=i.sibling,r=ns(i,{mode:"visible",children:r}),(t.mode&2)===0&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=r}function PE(e,t,r,n,i){var a=t.mode,o=e.child;e=o.sibling;var l={mode:"hidden",children:r};return(a&2)===0&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,o=r.lastEffect,o!==null?(t.firstEffect=r.firstEffect,t.lastEffect=o,o.nextEffect=null):t.firstEffect=t.lastEffect=null):r=ns(o,l),e!==null?n=ns(e,n):(n=Wc(n,a,i,null),n.flags|=2),n.return=t,r.return=t,r.sibling=n,t.child=r,n}function NE(e,t){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ak(e.return,t)}function My(e,t,r,n,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i,lastEffect:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=n,o.tail=r,o.tailMode=i,o.lastEffect=a)}function RE(e,t,r){var n=t.pendingProps,i=n.revealOrder,a=n.tail;if(da(e,t,n.children,r),n=In.current,(n&2)!==0)n=n&1|2,t.flags|=64;else{if(e!==null&&(e.flags&64)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&NE(e,r);else if(e.tag===19)NE(e,r);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(Fn(In,n),(t.mode&2)===0)t.memoizedState=null;else switch(i){case"forwards":for(r=t.child,i=null;r!==null;)e=r.alternate,e!==null&&n0(e)===null&&(i=r),r=r.sibling;r=i,r===null?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),My(t,!1,i,r,a,t.lastEffect);break;case"backwards":for(r=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&n0(e)===null){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}My(t,!0,r,null,a,t.lastEffect);break;case"together":My(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Hu(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),jp|=t.lanes,(r&t.childLanes)!==0){if(e!==null&&t.child!==e.child)throw Error(Mt(153));if(t.child!==null){for(e=t.child,r=ns(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=ns(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}return null}var jk,Vx,Uk,Hk;jk=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};Vx=function(){};Uk=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,Zs(au.current);var a=null;switch(r){case"input":i=xx(e,i),n=xx(e,n),a=[];break;case"option":i=Sx(e,i),n=Sx(e,n),a=[];break;case"select":i=An({},i,{value:void 0}),n=An({},n,{value:void 0}),a=[];break;case"textarea":i=Ex(e,i),n=Ex(e,n),a=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=Xg)}Cx(r,n);var o;r=null;for(c in i)if(!n.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var l=i[c];for(o in l)l.hasOwnProperty(o)&&(r||(r={}),r[o]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(cp.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in n){var f=n[c];if(l=i!=null?i[c]:void 0,n.hasOwnProperty(c)&&f!==l&&(f!=null||l!=null))if(c==="style")if(l){for(o in l)!l.hasOwnProperty(o)||f&&f.hasOwnProperty(o)||(r||(r={}),r[o]="");for(o in f)f.hasOwnProperty(o)&&l[o]!==f[o]&&(r||(r={}),r[o]=f[o])}else r||(a||(a=[]),a.push(c,r)),r=f;else c==="dangerouslySetInnerHTML"?(f=f?f.__html:void 0,l=l?l.__html:void 0,f!=null&&l!==f&&(a=a||[]).push(c,f)):c==="children"?typeof f!="string"&&typeof f!="number"||(a=a||[]).push(c,""+f):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(cp.hasOwnProperty(c)?(f!=null&&c==="onScroll"&&xn("scroll",e),a||l===f||(a=[])):typeof f=="object"&&f!==null&&f.$$typeof===E_?f.toString():(a=a||[]).push(c,f))}r&&(a=a||[]).push("style",r);var c=a;(t.updateQueue=c)&&(t.flags|=4)}};Hk=function(e,t,r,n){r!==n&&(t.flags|=4)};function vh(e,t){if(!ou)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function dL(e,t,r){var n=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return va(t.type)&&Zg(),null;case 3:return ed(),wn(pa),wn(Wi),q_(),n=t.stateNode,n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(zv(t)?t.flags|=4:n.hydrate||(t.flags|=256)),Vx(t),null;case 5:G_(t);var i=Zs(Sp.current);if(r=t.type,e!==null&&t.stateNode!=null)Uk(e,t,r,n,i),e.ref!==t.ref&&(t.flags|=128);else{if(!n){if(t.stateNode===null)throw Error(Mt(166));return null}if(e=Zs(au.current),zv(t)){n=t.stateNode,r=t.type;var a=t.memoizedProps;switch(n[Bl]=t,n[Qg]=a,r){case"dialog":xn("cancel",n),xn("close",n);break;case"iframe":case"object":case"embed":xn("load",n);break;case"video":case"audio":for(e=0;e<Fh.length;e++)xn(Fh[e],n);break;case"source":xn("error",n);break;case"img":case"image":case"link":xn("error",n),xn("load",n);break;case"details":xn("toggle",n);break;case"input":RS(n,a),xn("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!a.multiple},xn("invalid",n);break;case"textarea":FS(n,a),xn("invalid",n)}Cx(r,a),e=null;for(var o in a)a.hasOwnProperty(o)&&(i=a[o],o==="children"?typeof i=="string"?n.textContent!==i&&(e=["children",i]):typeof i=="number"&&n.textContent!==""+i&&(e=["children",""+i]):cp.hasOwnProperty(o)&&i!=null&&o==="onScroll"&&xn("scroll",n));switch(r){case"input":Rv(n),IS(n,a,!0);break;case"textarea":Rv(n),LS(n);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(n.onclick=Xg)}n=e,t.updateQueue=n,n!==null&&(t.flags|=4)}else{switch(o=i.nodeType===9?i:i.ownerDocument,e===Ax.html&&(e=L5(r)),e===Ax.html?r==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=o.createElement(r,{is:n.is}):(e=o.createElement(r),r==="select"&&(o=e,n.multiple?o.multiple=!0:n.size&&(o.size=n.size))):e=o.createElementNS(e,r),e[Bl]=t,e[Qg]=n,jk(e,t,!1,!1),t.stateNode=e,o=Ox(r,n),r){case"dialog":xn("cancel",e),xn("close",e),i=n;break;case"iframe":case"object":case"embed":xn("load",e),i=n;break;case"video":case"audio":for(i=0;i<Fh.length;i++)xn(Fh[i],e);i=n;break;case"source":xn("error",e),i=n;break;case"img":case"image":case"link":xn("error",e),xn("load",e),i=n;break;case"details":xn("toggle",e),i=n;break;case"input":RS(e,n),i=xx(e,n),xn("invalid",e);break;case"option":i=Sx(e,n);break;case"select":e._wrapperState={wasMultiple:!!n.multiple},i=An({},n,{value:void 0}),xn("invalid",e);break;case"textarea":FS(e,n),i=Ex(e,n),xn("invalid",e);break;default:i=n}Cx(r,i);var l=i;for(a in l)if(l.hasOwnProperty(a)){var f=l[a];a==="style"?z5(e,f):a==="dangerouslySetInnerHTML"?(f=f?f.__html:void 0,f!=null&&D5(e,f)):a==="children"?typeof f=="string"?(r!=="textarea"||f!=="")&&dp(e,f):typeof f=="number"&&dp(e,""+f):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(cp.hasOwnProperty(a)?f!=null&&a==="onScroll"&&xn("scroll",e):f!=null&&y_(e,a,f,o))}switch(r){case"input":Rv(e),IS(e,n,!1);break;case"textarea":Rv(e),LS(e);break;case"option":n.value!=null&&e.setAttribute("value",""+Jl(n.value));break;case"select":e.multiple=!!n.multiple,a=n.value,a!=null?Lc(e,!!n.multiple,a,!1):n.defaultValue!=null&&Lc(e,!!n.multiple,n.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Xg)}gk(r,n)&&(t.flags|=4)}t.ref!==null&&(t.flags|=128)}return null;case 6:if(e&&t.stateNode!=null)Hk(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(Mt(166));r=Zs(Sp.current),Zs(au.current),zv(t)?(n=t.stateNode,r=t.memoizedProps,n[Bl]=t,n.nodeValue!==r&&(t.flags|=4)):(n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[Bl]=t,t.stateNode=n)}return null;case 13:return wn(In),n=t.memoizedState,(t.flags&64)!==0?(t.lanes=r,t):(n=n!==null,r=!1,e===null?t.memoizedProps.fallback!==void 0&&zv(t):r=e.memoizedState!==null,n&&!r&&(t.mode&2)!==0&&(e===null&&t.memoizedProps.unstable_avoidThisFallback!==!0||(In.current&1)!==0?Ni===0&&(Ni=3):((Ni===0||Ni===3)&&(Ni=4),ra===null||(jp&134217727)===0&&(md&134217727)===0||Uc(ra,Hi))),(n||r)&&(t.flags|=4),null);case 4:return ed(),Vx(t),e===null&&hk(t.stateNode.containerInfo),null;case 10:return H_(t),null;case 17:return va(t.type)&&Zg(),null;case 19:if(wn(In),n=t.memoizedState,n===null)return null;if(a=(t.flags&64)!==0,o=n.rendering,o===null)if(a)vh(n,!1);else{if(Ni!==0||e!==null&&(e.flags&64)!==0)for(e=t.child;e!==null;){if(o=n0(e),o!==null){for(t.flags|=64,vh(n,!1),a=o.updateQueue,a!==null&&(t.updateQueue=a,t.flags|=4),n.lastEffect===null&&(t.firstEffect=null),t.lastEffect=n.lastEffect,n=r,r=t.child;r!==null;)a=r,e=n,a.flags&=2,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,o=a.alternate,o===null?(a.childLanes=0,a.lanes=e,a.child=null,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=o.childLanes,a.lanes=o.lanes,a.child=o.child,a.memoizedProps=o.memoizedProps,a.memoizedState=o.memoizedState,a.updateQueue=o.updateQueue,a.type=o.type,e=o.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Fn(In,In.current&1|2),t.child}e=e.sibling}n.tail!==null&&Ui()>Jx&&(t.flags|=64,a=!0,vh(n,!1),t.lanes=33554432)}else{if(!a)if(e=n0(o),e!==null){if(t.flags|=64,a=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),vh(n,!0),n.tail===null&&n.tailMode==="hidden"&&!o.alternate&&!ou)return t=t.lastEffect=n.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*Ui()-n.renderingStartTime>Jx&&r!==1073741824&&(t.flags|=64,a=!0,vh(n,!1),t.lanes=33554432);n.isBackwards?(o.sibling=t.child,t.child=o):(r=n.last,r!==null?r.sibling=o:t.child=o,n.last=o)}return n.tail!==null?(r=n.tail,n.rendering=r,n.tail=r.sibling,n.lastEffect=t.lastEffect,n.renderingStartTime=Ui(),r.sibling=null,t=In.current,Fn(In,a?t&1|2:t&1),r):null;case 23:case 24:return r2(),e!==null&&e.memoizedState!==null!=(t.memoizedState!==null)&&n.mode!=="unstable-defer-without-hiding"&&(t.flags|=4),null}throw Error(Mt(156,t.tag))}function hL(e){switch(e.tag){case 1:va(e.type)&&Zg();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(ed(),wn(pa),wn(Wi),q_(),t=e.flags,(t&64)!==0)throw Error(Mt(285));return e.flags=t&-4097|64,e;case 5:return G_(e),null;case 13:return wn(In),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return wn(In),null;case 4:return ed(),null;case 10:return H_(e),null;case 23:case 24:return r2(),null;default:return null}}function K_(e,t){try{var r="",n=t;do r+=V4(n),n=n.return;while(n);var i=r}catch(a){i=`
|
|
31
|
-
Error generating stack: `+a.message+`
|
|
32
|
-
`+a.stack}return{value:e,source:t,stack:i}}function Yx(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var pL=typeof WeakMap=="function"?WeakMap:Map;function Wk(e,t,r){r=Yl(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){f0||(f0=!0,ew=n),Yx(e,t)},r}function Gk(e,t,r){r=Yl(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var i=t.value;r.payload=function(){return Yx(e,t),n(i)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){typeof n!="function"&&(nu===null?nu=new Set([this]):nu.add(this),Yx(e,t));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),r}var vL=typeof WeakSet=="function"?WeakSet:Set;function IE(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){Kl(e,r)}else t.current=null}function gL(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(t.flags&256&&e!==null){var r=e.memoizedProps,n=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?r:Ao(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&z_(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(Mt(163))}function mL(e,t,r){switch(r.tag){case 0:case 11:case 15:case 22:if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{if((e.tag&3)===3){var n=e.create;e.destroy=n()}e=e.next}while(e!==t)}if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{var i=e;n=i.next,i=i.tag,(i&4)!==0&&(i&1)!==0&&(eM(r,e),AL(r,e)),e=n}while(e!==t)}return;case 1:e=r.stateNode,r.flags&4&&(t===null?e.componentDidMount():(n=r.elementType===r.type?t.memoizedProps:Ao(r.type,t.memoizedProps),e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=r.updateQueue,t!==null&&vE(r,t,e);return;case 3:if(t=r.updateQueue,t!==null){if(e=null,r.child!==null)switch(r.child.tag){case 5:e=r.child.stateNode;break;case 1:e=r.child.stateNode}vE(r,t,e)}return;case 5:e=r.stateNode,t===null&&r.flags&4&&gk(r.type,r.memoizedProps)&&e.focus();return;case 6:return;case 4:return;case 12:return;case 13:r.memoizedState===null&&(r=r.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&X5(r))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(Mt(163))}function FE(e,t){for(var r=e;;){if(r.tag===5){var n=r.stateNode;if(t)n=n.style,typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none";else{n=r.stateNode;var i=r.memoizedProps.style;i=i!=null&&i.hasOwnProperty("display")?i.display:null,n.style.display=$5("display",i)}}else if(r.tag===6)r.stateNode.nodeValue=t?"":r.memoizedProps;else if((r.tag!==23&&r.tag!==24||r.memoizedState===null||r===e)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}function LE(e,t){if(ef&&typeof ef.onCommitFiberUnmount=="function")try{ef.onCommitFiberUnmount(B_,t)}catch{}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,e!==null&&(e=e.lastEffect,e!==null)){var r=e=e.next;do{var n=r,i=n.destroy;if(n=n.tag,i!==void 0)if((n&4)!==0)eM(t,r);else{n=t;try{i()}catch(a){Kl(n,a)}}r=r.next}while(r!==e)}break;case 1:if(IE(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(a){Kl(t,a)}break;case 5:IE(t);break;case 4:qk(e,t)}}function DE(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function $E(e){return e.tag===5||e.tag===3||e.tag===4}function zE(e){e:{for(var t=e.return;t!==null;){if($E(t))break e;t=t.return}throw Error(Mt(160))}var r=t;switch(t=r.stateNode,r.tag){case 5:var n=!1;break;case 3:t=t.containerInfo,n=!0;break;case 4:t=t.containerInfo,n=!0;break;default:throw Error(Mt(161))}r.flags&16&&(dp(t,""),r.flags&=-17);e:t:for(r=e;;){for(;r.sibling===null;){if(r.return===null||$E(r.return)){r=null;break e}r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue t;r.child.return=r,r=r.child}if(!(r.flags&2)){r=r.stateNode;break e}}n?Xx(e,r,t):Qx(e,r,t)}function Xx(e,t,r){var n=e.tag,i=n===5||n===6;if(i)e=i?e.stateNode:e.stateNode.instance,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Xg));else if(n!==4&&(e=e.child,e!==null))for(Xx(e,t,r),e=e.sibling;e!==null;)Xx(e,t,r),e=e.sibling}function Qx(e,t,r){var n=e.tag,i=n===5||n===6;if(i)e=i?e.stateNode:e.stateNode.instance,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(Qx(e,t,r),e=e.sibling;e!==null;)Qx(e,t,r),e=e.sibling}function qk(e,t){for(var r=t,n=!1,i,a;;){if(!n){n=r.return;e:for(;;){if(n===null)throw Error(Mt(160));switch(i=n.stateNode,n.tag){case 5:a=!1;break e;case 3:i=i.containerInfo,a=!0;break e;case 4:i=i.containerInfo,a=!0;break e}n=n.return}n=!0}if(r.tag===5||r.tag===6){e:for(var o=e,l=r,f=l;;)if(LE(o,f),f.child!==null&&f.tag!==4)f.child.return=f,f=f.child;else{if(f===l)break e;for(;f.sibling===null;){if(f.return===null||f.return===l)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}a?(o=i,l=r.stateNode,o.nodeType===8?o.parentNode.removeChild(l):o.removeChild(l)):i.removeChild(r.stateNode)}else if(r.tag===4){if(r.child!==null){i=r.stateNode.containerInfo,a=!0,r.child.return=r,r=r.child;continue}}else if(LE(e,r),r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return,r.tag===4&&(n=!1)}r.sibling.return=r.return,r=r.sibling}}function Py(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var n=r=r.next;do(n.tag&3)===3&&(e=n.destroy,n.destroy=void 0,e!==void 0&&e()),n=n.next;while(n!==r)}return;case 1:return;case 5:if(r=t.stateNode,r!=null){n=t.memoizedProps;var i=e!==null?e.memoizedProps:n;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,a!==null){for(r[Qg]=n,e==="input"&&n.type==="radio"&&n.name!=null&&I5(r,n),Ox(e,i),t=Ox(e,n),i=0;i<a.length;i+=2){var o=a[i],l=a[i+1];o==="style"?z5(r,l):o==="dangerouslySetInnerHTML"?D5(r,l):o==="children"?dp(r,l):y_(r,o,l,t)}switch(e){case"input":wx(r,n);break;case"textarea":F5(r,n);break;case"select":e=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,a=n.value,a!=null?Lc(r,!!n.multiple,a,!1):e!==!!n.multiple&&(n.defaultValue!=null?Lc(r,!!n.multiple,n.defaultValue,!0):Lc(r,!!n.multiple,n.multiple?[]:"",!1))}}}return;case 6:if(t.stateNode===null)throw Error(Mt(162));t.stateNode.nodeValue=t.memoizedProps;return;case 3:r=t.stateNode,r.hydrate&&(r.hydrate=!1,X5(r.containerInfo));return;case 12:return;case 13:t.memoizedState!==null&&(t2=Ui(),FE(t.child,!0)),BE(t);return;case 19:BE(t);return;case 17:return;case 23:case 24:FE(t,t.memoizedState!==null);return}throw Error(Mt(163))}function BE(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new vL),t.forEach(function(n){var i=OL.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function yL(e,t){return e!==null&&(e=e.memoizedState,e===null||e.dehydrated!==null)?(t=t.memoizedState,t!==null&&t.dehydrated===null):!1}var bL=Math.ceil,s0=bf.ReactCurrentDispatcher,J_=bf.ReactCurrentOwner,Tr=0,ra=null,oi=null,Hi=0,uf=0,Zx=fs(0),Ni=0,im=null,gd=0,jp=0,md=0,e2=0,Kx=null,t2=0,Jx=1/0;function yd(){Jx=Ui()+500}var ar=null,f0=!1,ew=null,nu=null,rs=!1,Jh=null,Lh=90,tw=[],rw=[],Gu=null,ep=0,nw=null,Tg=-1,ju=0,Cg=0,tp=null,Og=!1;function Ia(){return(Tr&48)!==0?Ui():Tg!==-1?Tg:Tg=Ui()}function Ql(e){if(e=e.mode,(e&2)===0)return 1;if((e&4)===0)return Jc()===99?1:2;if(ju===0&&(ju=gd),oL.transition!==0){Cg!==0&&(Cg=Kx!==null?Kx.pendingLanes:0),e=ju;var t=4186112&~Cg;return t&=-t,t===0&&(e=4186112&~e,t=e&-e,t===0&&(t=8192)),t}return e=Jc(),(Tr&4)!==0&&e===98?e=Vg(12,ju):(e=sF(e),e=Vg(e,ju)),e}function Zl(e,t,r){if(50<ep)throw ep=0,nw=null,Error(Mt(185));if(e=am(e,t),e===null)return null;Z0(e,t,r),e===ra&&(md|=t,Ni===4&&Uc(e,Hi));var n=Jc();t===1?(Tr&8)!==0&&(Tr&48)===0?iw(e):(oo(e,r),Tr===0&&(yd(),cu())):((Tr&4)===0||n!==98&&n!==99||(Gu===null?Gu=new Set([e]):Gu.add(e)),oo(e,r)),Kx=e}function am(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}function oo(e,t){for(var r=e.callbackNode,n=e.suspendedLanes,i=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var l=31-es(o),f=1<<l,c=a[l];if(c===-1){if((f&n)===0||(f&i)!==0){c=t,bc(f);var p=yn;a[l]=10<=p?c+250:6<=p?c+5e3:-1}}else c<=t&&(e.expiredLanes|=f);o&=~f}if(n=gp(e,e===ra?Hi:0),t=yn,n===0)r!==null&&(r!==Ty&&zx(r),e.callbackNode=null,e.callbackPriority=0);else{if(r!==null){if(e.callbackPriority===t)return;r!==Ty&&zx(r)}t===15?(r=iw.bind(null,e),Bu===null?(Bu=[r],Ag=j_(rm,Ek)):Bu.push(r),r=Ty):t===14?r=xp(99,iw.bind(null,e)):(r=fF(t),r=xp(r,Vk.bind(null,e))),e.callbackPriority=t,e.callbackNode=r}}function Vk(e){if(Tg=-1,Cg=ju=0,(Tr&48)!==0)throw Error(Mt(327));var t=e.callbackNode;if(cs()&&e.callbackNode!==t)return null;var r=gp(e,e===ra?Hi:0);if(r===0)return null;var n=r,i=Tr;Tr|=16;var a=Zk();(ra!==e||Hi!==n)&&(yd(),Hc(e,n));do try{_L();break}catch(l){Qk(e,l)}while(1);if(U_(),s0.current=a,Tr=i,oi!==null?n=0:(ra=null,Hi=0,n=Ni),(gd&md)!==0)Hc(e,0);else if(n!==0){if(n===2&&(Tr|=64,e.hydrate&&(e.hydrate=!1,z_(e.containerInfo)),r=rk(e),r!==0&&(n=Dh(e,r))),n===1)throw t=im,Hc(e,0),Uc(e,r),oo(e,Ui()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=r,n){case 0:case 1:throw Error(Mt(345));case 2:Us(e);break;case 3:if(Uc(e,r),(r&62914560)===r&&(n=t2+500-Ui(),10<n)){if(gp(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Ia(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=uE(Us.bind(null,e),n);break}Us(e);break;case 4:if(Uc(e,r),(r&4186112)===r)break;for(n=e.eventTimes,i=-1;0<r;){var o=31-es(r);a=1<<o,o=n[o],o>i&&(i=o),r&=~a}if(r=i,r=Ui()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*bL(r/1960))-r,10<r){e.timeoutHandle=uE(Us.bind(null,e),r);break}Us(e);break;case 5:Us(e);break;default:throw Error(Mt(329))}}return oo(e,Ui()),e.callbackNode===t?Vk.bind(null,e):null}function Uc(e,t){for(t&=~e2,t&=~md,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-es(t),n=1<<r;e[r]=-1,t&=~n}}function iw(e){if((Tr&48)!==0)throw Error(Mt(327));if(cs(),e===ra&&(e.expiredLanes&Hi)!==0){var t=Hi,r=Dh(e,t);(gd&md)!==0&&(t=gp(e,t),r=Dh(e,t))}else t=gp(e,0),r=Dh(e,t);if(e.tag!==0&&r===2&&(Tr|=64,e.hydrate&&(e.hydrate=!1,z_(e.containerInfo)),t=rk(e),t!==0&&(r=Dh(e,t))),r===1)throw r=im,Hc(e,0),Uc(e,t),oo(e,Ui()),r;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Us(e),oo(e,Ui()),null}function xL(){if(Gu!==null){var e=Gu;Gu=null,e.forEach(function(t){t.expiredLanes|=24&t.pendingLanes,oo(t,Ui())})}cu()}function Yk(e,t){var r=Tr;Tr|=1;try{return e(t)}finally{Tr=r,Tr===0&&(yd(),cu())}}function Xk(e,t){var r=Tr;Tr&=-2,Tr|=8;try{return e(t)}finally{Tr=r,Tr===0&&(yd(),cu())}}function jv(e,t){Fn(Zx,uf),uf|=t,gd|=t}function r2(){uf=Zx.current,wn(Zx)}function Hc(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,eL(r)),oi!==null)for(r=oi.return;r!==null;){var n=r;switch(n.tag){case 1:n=n.type.childContextTypes,n!=null&&Zg();break;case 3:ed(),wn(pa),wn(Wi),q_();break;case 5:G_(n);break;case 4:ed();break;case 13:wn(In);break;case 19:wn(In);break;case 10:H_(n);break;case 23:case 24:r2()}r=r.return}ra=e,oi=ns(e.current,null),Hi=uf=gd=t,Ni=0,im=null,e2=md=jp=0}function Qk(e,t){do{var r=oi;try{if(U_(),Zh.current=l0,i0){for(var n=Bn.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}i0=!1}if(Ep=0,Pi=ji=Bn=null,Kh=!1,J_.current=null,r===null||r.return===null){Ni=1,im=t,oi=null;break}e:{var a=e,o=r.return,l=r,f=t;if(t=Hi,l.flags|=2048,l.firstEffect=l.lastEffect=null,f!==null&&typeof f=="object"&&typeof f.then=="function"){var c=f;if((l.mode&2)===0){var p=l.alternate;p?(l.updateQueue=p.updateQueue,l.memoizedState=p.memoizedState,l.lanes=p.lanes):(l.updateQueue=null,l.memoizedState=null)}var _=(In.current&1)!==0,x=o;do{var b;if(b=x.tag===13){var C=x.memoizedState;if(C!==null)b=C.dehydrated!==null;else{var R=x.memoizedProps;b=R.fallback===void 0?!1:R.unstable_avoidThisFallback!==!0?!0:!_}}if(b){var E=x.updateQueue;if(E===null){var S=new Set;S.add(c),x.updateQueue=S}else E.add(c);if((x.mode&2)===0){if(x.flags|=64,l.flags|=16384,l.flags&=-2981,l.tag===1)if(l.alternate===null)l.tag=17;else{var T=Yl(-1,1);T.tag=2,Xl(l,T)}l.lanes|=1;break e}f=void 0,l=t;var P=a.pingCache;if(P===null?(P=a.pingCache=new pL,f=new Set,P.set(c,f)):(f=P.get(c),f===void 0&&(f=new Set,P.set(c,f))),!f.has(l)){f.add(l);var M=CL.bind(null,a,c,l);c.then(M,M)}x.flags|=4096,x.lanes=t;break e}x=x.return}while(x!==null);f=Error((Fc(l.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
|
|
33
|
-
|
|
34
|
-
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}Ni!==5&&(Ni=2),f=K_(f,l),x=o;do{switch(x.tag){case 3:a=f,x.flags|=4096,t&=-t,x.lanes|=t;var L=Wk(x,a,t);pE(x,L);break e;case 1:a=f;var v=x.type,K=x.stateNode;if((x.flags&64)===0&&(typeof v.getDerivedStateFromError=="function"||K!==null&&typeof K.componentDidCatch=="function"&&(nu===null||!nu.has(K)))){x.flags|=4096,t&=-t,x.lanes|=t;var q=Gk(x,a,t);pE(x,q);break e}}x=x.return}while(x!==null)}Jk(r)}catch(ue){t=ue,oi===r&&r!==null&&(oi=r=r.return);continue}break}while(1)}function Zk(){var e=s0.current;return s0.current=l0,e===null?l0:e}function Dh(e,t){var r=Tr;Tr|=16;var n=Zk();ra===e&&Hi===t||Hc(e,t);do try{wL();break}catch(i){Qk(e,i)}while(1);if(U_(),Tr=r,s0.current=n,oi!==null)throw Error(Mt(261));return ra=null,Hi=0,Ni}function wL(){for(;oi!==null;)Kk(oi)}function _L(){for(;oi!==null&&!nL();)Kk(oi)}function Kk(e){var t=tM(e.alternate,e,uf);e.memoizedProps=e.pendingProps,t===null?Jk(e):oi=t,J_.current=null}function Jk(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&2048)===0){if(r=dL(r,t,uf),r!==null){oi=r;return}if(r=t,r.tag!==24&&r.tag!==23||r.memoizedState===null||(uf&1073741824)!==0||(r.mode&4)===0){for(var n=0,i=r.child;i!==null;)n|=i.lanes|i.childLanes,i=i.sibling;r.childLanes=n}e!==null&&(e.flags&2048)===0&&(e.firstEffect===null&&(e.firstEffect=t.firstEffect),t.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(e.lastEffect!==null?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(r=hL(t),r!==null){r.flags&=2047,oi=r;return}e!==null&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(t=t.sibling,t!==null){oi=t;return}oi=t=e}while(t!==null);Ni===0&&(Ni=5)}function Us(e){var t=Jc();return of(99,SL.bind(null,e,t)),null}function SL(e,t){do cs();while(Jh!==null);if((Tr&48)!==0)throw Error(Mt(327));var r=e.finishedWork;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(Mt(177));e.callbackNode=null;var n=r.lanes|r.childLanes,i=n,a=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var o=e.eventTimes,l=e.expirationTimes;0<a;){var f=31-es(a),c=1<<f;i[f]=0,o[f]=-1,l[f]=-1,a&=~c}if(Gu!==null&&(n&24)===0&&Gu.has(e)&&Gu.delete(e),e===ra&&(oi=ra=null,Hi=0),1<r.flags?r.lastEffect!==null?(r.lastEffect.nextEffect=r,n=r.firstEffect):n=r:n=r.firstEffect,n!==null){if(i=Tr,Tr|=32,J_.current=null,Sy=wg,o=eE(),Ix(o)){if("selectionStart"in o)l={start:o.selectionStart,end:o.selectionEnd};else e:if(l=(l=o.ownerDocument)&&l.defaultView||window,(c=l.getSelection&&l.getSelection())&&c.rangeCount!==0){l=c.anchorNode,a=c.anchorOffset,f=c.focusNode,c=c.focusOffset;try{l.nodeType,f.nodeType}catch{l=null;break e}var p=0,_=-1,x=-1,b=0,C=0,R=o,E=null;t:for(;;){for(var S;R!==l||a!==0&&R.nodeType!==3||(_=p+a),R!==f||c!==0&&R.nodeType!==3||(x=p+c),R.nodeType===3&&(p+=R.nodeValue.length),(S=R.firstChild)!==null;)E=R,R=S;for(;;){if(R===o)break t;if(E===l&&++b===a&&(_=p),E===f&&++C===c&&(x=p),(S=R.nextSibling)!==null)break;R=E,E=R.parentNode}R=S}l=_===-1||x===-1?null:{start:_,end:x}}else l=null;l=l||{start:0,end:0}}else l=null;Ey={focusedElem:o,selectionRange:l},wg=!1,tp=null,Og=!1,ar=n;do try{EL()}catch(ue){if(ar===null)throw Error(Mt(330));Kl(ar,ue),ar=ar.nextEffect}while(ar!==null);tp=null,ar=n;do try{for(o=e;ar!==null;){var T=ar.flags;if(T&16&&dp(ar.stateNode,""),T&128){var P=ar.alternate;if(P!==null){var M=P.ref;M!==null&&(typeof M=="function"?M(null):M.current=null)}}switch(T&1038){case 2:zE(ar),ar.flags&=-3;break;case 6:zE(ar),ar.flags&=-3,Py(ar.alternate,ar);break;case 1024:ar.flags&=-1025;break;case 1028:ar.flags&=-1025,Py(ar.alternate,ar);break;case 4:Py(ar.alternate,ar);break;case 8:l=ar,qk(o,l);var L=l.alternate;DE(l),L!==null&&DE(L)}ar=ar.nextEffect}}catch(ue){if(ar===null)throw Error(Mt(330));Kl(ar,ue),ar=ar.nextEffect}while(ar!==null);if(M=Ey,P=eE(),T=M.focusedElem,o=M.selectionRange,P!==T&&T&&T.ownerDocument&&fk(T.ownerDocument.documentElement,T)){for(o!==null&&Ix(T)&&(P=o.start,M=o.end,M===void 0&&(M=P),"selectionStart"in T?(T.selectionStart=P,T.selectionEnd=Math.min(M,T.value.length)):(M=(P=T.ownerDocument||document)&&P.defaultView||window,M.getSelection&&(M=M.getSelection(),l=T.textContent.length,L=Math.min(o.start,l),o=o.end===void 0?L:Math.min(o.end,l),!M.extend&&L>o&&(l=o,o=L,L=l),l=JS(T,L),a=JS(T,o),l&&a&&(M.rangeCount!==1||M.anchorNode!==l.node||M.anchorOffset!==l.offset||M.focusNode!==a.node||M.focusOffset!==a.offset)&&(P=P.createRange(),P.setStart(l.node,l.offset),M.removeAllRanges(),L>o?(M.addRange(P),M.extend(a.node,a.offset)):(P.setEnd(a.node,a.offset),M.addRange(P)))))),P=[],M=T;M=M.parentNode;)M.nodeType===1&&P.push({element:M,left:M.scrollLeft,top:M.scrollTop});for(typeof T.focus=="function"&&T.focus(),T=0;T<P.length;T++)M=P[T],M.element.scrollLeft=M.left,M.element.scrollTop=M.top}wg=!!Sy,Ey=Sy=null,e.current=r,ar=n;do try{for(T=e;ar!==null;){var v=ar.flags;if(v&36&&mL(T,ar.alternate,ar),v&128){P=void 0;var K=ar.ref;if(K!==null){var q=ar.stateNode;switch(ar.tag){case 5:P=q;break;default:P=q}typeof K=="function"?K(P):K.current=P}}ar=ar.nextEffect}}catch(ue){if(ar===null)throw Error(Mt(330));Kl(ar,ue),ar=ar.nextEffect}while(ar!==null);ar=null,aL(),Tr=i}else e.current=r;if(rs)rs=!1,Jh=e,Lh=t;else for(ar=n;ar!==null;)t=ar.nextEffect,ar.nextEffect=null,ar.flags&8&&(v=ar,v.sibling=null,v.stateNode=null),ar=t;if(n=e.pendingLanes,n===0&&(nu=null),n===1?e===nw?ep++:(ep=0,nw=e):ep=0,r=r.stateNode,ef&&typeof ef.onCommitFiberRoot=="function")try{ef.onCommitFiberRoot(B_,r,void 0,(r.current.flags&64)===64)}catch{}if(oo(e,Ui()),f0)throw f0=!1,e=ew,ew=null,e;return(Tr&8)!==0||cu(),null}function EL(){for(;ar!==null;){var e=ar.alternate;Og||tp===null||((ar.flags&8)!==0?zS(ar,tp)&&(Og=!0):ar.tag===13&&yL(e,ar)&&zS(ar,tp)&&(Og=!0));var t=ar.flags;(t&256)!==0&&gL(e,ar),(t&512)===0||rs||(rs=!0,xp(97,function(){return cs(),null})),ar=ar.nextEffect}}function cs(){if(Lh!==90){var e=97<Lh?97:Lh;return Lh=90,of(e,TL)}return!1}function AL(e,t){tw.push(t,e),rs||(rs=!0,xp(97,function(){return cs(),null}))}function eM(e,t){rw.push(t,e),rs||(rs=!0,xp(97,function(){return cs(),null}))}function TL(){if(Jh===null)return!1;var e=Jh;if(Jh=null,(Tr&48)!==0)throw Error(Mt(331));var t=Tr;Tr|=32;var r=rw;rw=[];for(var n=0;n<r.length;n+=2){var i=r[n],a=r[n+1],o=i.destroy;if(i.destroy=void 0,typeof o=="function")try{o()}catch(f){if(a===null)throw Error(Mt(330));Kl(a,f)}}for(r=tw,tw=[],n=0;n<r.length;n+=2){i=r[n],a=r[n+1];try{var l=i.create;i.destroy=l()}catch(f){if(a===null)throw Error(Mt(330));Kl(a,f)}}for(l=e.current.firstEffect;l!==null;)e=l.nextEffect,l.nextEffect=null,l.flags&8&&(l.sibling=null,l.stateNode=null),l=e;return Tr=t,cu(),!0}function jE(e,t,r){t=K_(r,t),t=Wk(e,t,1),Xl(e,t),t=Ia(),e=am(e,1),e!==null&&(Z0(e,1,t),oo(e,t))}function Kl(e,t){if(e.tag===3)jE(e,e,t);else for(var r=e.return;r!==null;){if(r.tag===3){jE(r,e,t);break}else if(r.tag===1){var n=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(nu===null||!nu.has(n))){e=K_(t,e);var i=Gk(r,e,1);if(Xl(r,i),i=Ia(),r=am(r,1),r!==null)Z0(r,1,i),oo(r,i);else if(typeof n.componentDidCatch=="function"&&(nu===null||!nu.has(n)))try{n.componentDidCatch(t,e)}catch{}break}}r=r.return}}function CL(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=Ia(),e.pingedLanes|=e.suspendedLanes&r,ra===e&&(Hi&r)===r&&(Ni===4||Ni===3&&(Hi&62914560)===Hi&&500>Ui()-t2?Hc(e,0):e2|=r),oo(e,t)}function OL(e,t){var r=e.stateNode;r!==null&&r.delete(t),t=0,t===0&&(t=e.mode,(t&2)===0?t=1:(t&4)===0?t=Jc()===99?1:2:(ju===0&&(ju=gd),t=xc(62914560&~ju),t===0&&(t=4194304))),r=Ia(),e=am(e,t),e!==null&&(Z0(e,t,r),oo(e,r))}var tM;tM=function(e,t,r){var n=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||pa.current)To=!0;else if((r&n)!==0)To=(e.flags&16384)!==0;else{switch(To=!1,t.tag){case 3:CE(t),Oy();break;case 5:yE(t);break;case 1:va(t.type)&&Eg(t);break;case 4:Ux(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value;var i=t.type._context;Fn(Kg,i._currentValue),i._currentValue=n;break;case 13:if(t.memoizedState!==null)return(r&t.child.childLanes)!==0?OE(e,t,r):(Fn(In,In.current&1),t=Hu(e,t,r),t!==null?t.sibling:null);Fn(In,In.current&1);break;case 19:if(n=(r&t.childLanes)!==0,(e.flags&64)!==0){if(n)return RE(e,t,r);t.flags|=64}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Fn(In,In.current),n)break;return null;case 23:case 24:return t.lanes=0,ky(e,t,r)}return Hu(e,t,r)}else To=!1;switch(t.lanes=0,t.tag){case 2:if(n=t.type,e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=Kc(t,Wi.current),Bc(t,r),i=Y_(null,t,n,e,i,r),t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,va(n)){var a=!0;Eg(t)}else a=!1;t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,W_(t);var o=n.getDerivedStateFromProps;typeof o=="function"&&t0(t,n,o,e),i.updater=nm,t.stateNode=i,i._reactInternals=t,jx(t,n,e,r),t=qx(null,t,n,!0,a,r)}else t.tag=0,da(null,t,i,r),t=t.child;return t;case 16:i=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=i._init,i=a(i._payload),t.type=i,a=t.tag=ML(i),e=Ao(i,e),a){case 0:t=Gx(null,t,i,e,r);break e;case 1:t=TE(null,t,i,e,r);break e;case 11:t=EE(null,t,i,e,r);break e;case 14:t=AE(null,t,i,Ao(i.type,e),n,r);break e}throw Error(Mt(306,i,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Ao(n,i),Gx(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Ao(n,i),TE(e,t,n,i,r);case 3:if(CE(t),n=t.updateQueue,e===null||n===null)throw Error(Mt(282));if(n=t.pendingProps,i=t.memoizedState,i=i!==null?i.element:null,Tk(e,t),wp(t,n,null,r),n=t.memoizedState.element,n===i)Oy(),t=Hu(e,t,r);else{if(i=t.stateNode,(a=i.hydrate)&&(jl=zc(t.stateNode.containerInfo.firstChild),Uu=t,a=ou=!0),a){if(e=i.mutableSourceEagerHydrationData,e!=null)for(i=0;i<e.length;i+=2)a=e[i],a._workInProgressVersionPrimary=e[i+1],jc.push(a);for(r=Mk(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|1024,r=r.sibling}else da(e,t,n,r),Oy();t=t.child}return t;case 5:return yE(t),e===null&&Hx(t),n=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,Dx(n,i)?o=null:a!==null&&Dx(n,a)&&(t.flags|=16),Bk(e,t),da(e,t,o,r),t.child;case 6:return e===null&&Hx(t),null;case 13:return OE(e,t,r);case 4:return Ux(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=r0(t,null,n,r):da(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Ao(n,i),EE(e,t,n,i,r);case 7:return da(e,t,t.pendingProps,r),t.child;case 8:return da(e,t,t.pendingProps.children,r),t.child;case 12:return da(e,t,t.pendingProps.children,r),t.child;case 10:e:{n=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value;var l=t.type._context;if(Fn(Kg,l._currentValue),l._currentValue=a,o!==null)if(l=o.value,a=eo(l,a)?0:(typeof n._calculateChangedBits=="function"?n._calculateChangedBits(l,a):1073741823)|0,a===0){if(o.children===i.children&&!pa.current){t=Hu(e,t,r);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var f=l.dependencies;if(f!==null){o=l.child;for(var c=f.firstContext;c!==null;){if(c.context===n&&(c.observedBits&a)!==0){l.tag===1&&(c=Yl(-1,r&-r),c.tag=2,Xl(l,c)),l.lanes|=r,c=l.alternate,c!==null&&(c.lanes|=r),Ak(l.return,r),f.lanes|=r;break}c=c.next}}else o=l.tag===10&&l.type===t.type?null:l.child;if(o!==null)o.return=l;else for(o=l;o!==null;){if(o===t){o=null;break}if(l=o.sibling,l!==null){l.return=o.return,o=l;break}o=o.return}l=o}da(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,a=t.pendingProps,n=a.children,Bc(t,r),i=ao(i,a.unstable_observedBits),n=n(i),t.flags|=1,da(e,t,n,r),t.child;case 14:return i=t.type,a=Ao(i,t.pendingProps),a=Ao(i.type,a),AE(e,t,i,a,n,r);case 15:return zk(e,t,t.type,t.pendingProps,n,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Ao(n,i),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,va(n)?(e=!0,Eg(t)):e=!1,Bc(t,r),Ok(t,n,i),jx(t,n,i,r),qx(null,t,n,!0,e,r);case 19:return RE(e,t,r);case 23:return ky(e,t,r);case 24:return ky(e,t,r)}throw Error(Mt(156,t.tag))};function kL(e,t,r,n){this.tag=e,this.key=r,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=n,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function to(e,t,r,n){return new kL(e,t,r,n)}function n2(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ML(e){if(typeof e=="function")return n2(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Y0)return 11;if(e===X0)return 14}return 2}function ns(e,t){var r=e.alternate;return r===null?(r=to(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function kg(e,t,r,n,i,a){var o=2;if(n=e,typeof e=="function")n2(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Dl:return Wc(r.children,i,a,t);case P5:o=8,i|=16;break;case b_:o=8,i|=1;break;case Wh:return e=to(12,r,t,i|8),e.elementType=Wh,e.type=Wh,e.lanes=a,e;case Gh:return e=to(13,r,t,i),e.type=Gh,e.elementType=Gh,e.lanes=a,e;case Hg:return e=to(19,r,t,i),e.elementType=Hg,e.lanes=a,e;case A_:return i2(r,i,a,t);case bx:return e=to(24,r,t,i),e.elementType=bx,e.lanes=a,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case x_:o=10;break e;case w_:o=9;break e;case Y0:o=11;break e;case X0:o=14;break e;case __:o=16,n=null;break e;case S_:o=22;break e}throw Error(Mt(130,e==null?e:typeof e,""))}return t=to(o,r,t,i),t.elementType=e,t.type=n,t.lanes=a,t}function Wc(e,t,r,n){return e=to(7,e,n,t),e.lanes=r,e}function i2(e,t,r,n){return e=to(23,e,n,t),e.elementType=A_,e.lanes=r,e}function Ny(e,t,r){return e=to(6,e,null,t),e.lanes=r,e}function Ry(e,t,r){return t=to(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function PL(e,t,r){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=r,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=gy(0),this.expirationTimes=gy(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gy(0),this.mutableSourceEagerHydrationData=null}function NL(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ys,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function c0(e,t,r,n){var i=t.current,a=Ia(),o=Ql(i);e:if(r){r=r._reactInternals;t:{if(xf(r)!==r||r.tag!==1)throw Error(Mt(170));var l=r;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(va(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(l!==null);throw Error(Mt(171))}if(r.tag===1){var f=r.type;if(va(f)){r=yk(r,f,l);break e}}r=l}else r=ts;return t.context===null?t.context=r:t.pendingContext=r,t=Yl(a,o),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),Xl(i,t),Zl(i,o,a),o}function Iy(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function UE(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function a2(e,t){UE(e,t),(e=e.alternate)&&UE(e,t)}function RL(){return null}function o2(e,t,r){var n=r!=null&&r.hydrationOptions!=null&&r.hydrationOptions.mutableSources||null;if(r=new PL(e,t,r!=null&&r.hydrate===!0),t=to(3,null,null,t===2?7:t===1?3:0),r.current=t,t.stateNode=r,W_(t),e[vd]=r.current,hk(e.nodeType===8?e.parentNode:e),n)for(e=0;e<n.length;e++){t=n[e];var i=t._getVersion;i=i(t._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[t,i]:r.mutableSourceEagerHydrationData.push(t,i)}this._internalRoot=r}o2.prototype.render=function(e){c0(e,this._internalRoot,null,null)};o2.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;c0(null,e,null,function(){t[vd]=null})};function Up(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function IL(e,t){if(t||(t=e?e.nodeType===9?e.documentElement:e.firstChild:null,t=!(!t||t.nodeType!==1||!t.hasAttribute("data-reactroot"))),!t)for(var r;r=e.lastChild;)e.removeChild(r);return new o2(e,0,t?{hydrate:!0}:void 0)}function om(e,t,r,n,i){var a=r._reactRootContainer;if(a){var o=a._internalRoot;if(typeof i=="function"){var l=i;i=function(){var c=Iy(o);l.call(c)}}c0(t,o,e,i)}else{if(a=r._reactRootContainer=IL(r,n),o=a._internalRoot,typeof i=="function"){var f=i;i=function(){var c=Iy(o);f.call(c)}}Xk(function(){c0(t,o,e,i)})}return Iy(o)}q5=function(e){if(e.tag===13){var t=Ia();Zl(e,4,t),a2(e,4)}};M_=function(e){if(e.tag===13){var t=Ia();Zl(e,67108864,t),a2(e,67108864)}};V5=function(e){if(e.tag===13){var t=Ia(),r=Ql(e);Zl(e,r,t),a2(e,r)}};Y5=function(e,t){return t()};kx=function(e,t,r){switch(t){case"input":if(wx(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var i=tm(n);if(!i)throw Error(Mt(90));R5(n),wx(n,i)}}}break;case"textarea":F5(e,r);break;case"select":t=r.value,t!=null&&Lc(e,!!r.multiple,t,!1)}};C_=Yk;U5=function(e,t,r,n,i){var a=Tr;Tr|=4;try{return of(98,e.bind(null,t,r,n,i))}finally{Tr=a,Tr===0&&(yd(),cu())}};O_=function(){(Tr&49)===0&&(xL(),cs())};H5=function(e,t){var r=Tr;Tr|=2;try{return e(t)}finally{Tr=r,Tr===0&&(yd(),cu())}};function rM(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Up(t))throw Error(Mt(200));return NL(e,t,null,r)}var FL={Events:[zp,Cc,tm,B5,j5,cs,{current:!1}]},gh={findFiberByHostInstance:Qs,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},LL={bundleType:gh.bundleType,version:gh.version,rendererPackageName:gh.rendererPackageName,rendererConfig:gh.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:bf.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=G5(e),e===null?null:e.stateNode},findFiberByHostInstance:gh.findFiberByHostInstance||RL,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Uv=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Uv.isDisabled&&Uv.supportsFiber)try{B_=Uv.inject(LL),ef=Uv}catch{}}uo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=FL;uo.createPortal=rM;uo.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(Mt(188)):Error(Mt(268,Object.keys(e)));return e=G5(t),e=e===null?null:e.stateNode,e};uo.flushSync=function(e,t){var r=Tr;if((r&48)!==0)return e(t);Tr|=1;try{if(e)return of(99,e.bind(null,t))}finally{Tr=r,cu()}};uo.hydrate=function(e,t,r){if(!Up(t))throw Error(Mt(200));return om(null,e,t,!0,r)};uo.render=function(e,t,r){if(!Up(t))throw Error(Mt(200));return om(null,e,t,!1,r)};uo.unmountComponentAtNode=function(e){if(!Up(e))throw Error(Mt(40));return e._reactRootContainer?(Xk(function(){om(null,null,e,!1,function(){e._reactRootContainer=null,e[vd]=null})}),!0):!1};uo.unstable_batchedUpdates=Yk;uo.unstable_createPortal=function(e,t){return rM(e,t,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)};uo.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!Up(r))throw Error(Mt(200));if(e==null||e._reactInternals===void 0)throw Error(Mt(38));return om(e,t,r,!1,n)};uo.version="17.0.2";(function(e){function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}t(),e.exports=uo})(f_);const $h=s_(f_.exports);var HE=Object.prototype.toString,nM=function(t){var r=HE.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&HE.call(t.callee)==="[object Function]"),n},Fy,WE;function DL(){if(WE)return Fy;WE=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=nM,i=Object.prototype.propertyIsEnumerable,a=!i.call({toString:null},"toString"),o=i.call(function(){},"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(x){var b=x.constructor;return b&&b.prototype===x},c={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},p=function(){if(typeof window>"u")return!1;for(var x in window)try{if(!c["$"+x]&&t.call(window,x)&&window[x]!==null&&typeof window[x]=="object")try{f(window[x])}catch{return!0}}catch{return!0}return!1}(),_=function(x){if(typeof window>"u"||!p)return f(x);try{return f(x)}catch{return!1}};e=function(b){var C=b!==null&&typeof b=="object",R=r.call(b)==="[object Function]",E=n(b),S=C&&r.call(b)==="[object String]",T=[];if(!C&&!R&&!E)throw new TypeError("Object.keys called on a non-object");var P=o&&R;if(S&&b.length>0&&!t.call(b,0))for(var M=0;M<b.length;++M)T.push(String(M));if(E&&b.length>0)for(var L=0;L<b.length;++L)T.push(String(L));else for(var v in b)!(P&&v==="prototype")&&t.call(b,v)&&T.push(String(v));if(a)for(var K=_(b),q=0;q<l.length;++q)!(K&&l[q]==="constructor")&&t.call(b,l[q])&&T.push(l[q]);return T}}return Fy=e,Fy}var $L=Array.prototype.slice,zL=nM,GE=Object.keys,Mg=GE?function(t){return GE(t)}:DL(),qE=Object.keys;Mg.shim=function(){if(Object.keys){var t=function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2);t||(Object.keys=function(n){return zL(n)?qE($L.call(n)):qE(n)})}else Object.keys=Mg;return Object.keys||Mg};var u2=Mg,um=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(t,r);if(o.value!==i||o.enumerable!==!0)return!1}return!0},BL=um,ds=function(){return BL()&&!!Symbol.toStringTag},VE=typeof Symbol<"u"&&Symbol,jL=um,l2=function(){return typeof VE!="function"||typeof Symbol!="function"||typeof VE("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:jL()},UL="Function.prototype.bind called on incompatible ",Ly=Array.prototype.slice,HL=Object.prototype.toString,WL="[object Function]",GL=function(t){var r=this;if(typeof r!="function"||HL.call(r)!==WL)throw new TypeError(UL+r);for(var n=Ly.call(arguments,1),i,a=function(){if(this instanceof i){var p=r.apply(this,n.concat(Ly.call(arguments)));return Object(p)===p?p:this}else return r.apply(t,n.concat(Ly.call(arguments)))},o=Math.max(0,r.length-n.length),l=[],f=0;f<o;f++)l.push("$"+f);if(i=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(a),r.prototype){var c=function(){};c.prototype=r.prototype,i.prototype=new c,c.prototype=null}return i},qL=GL,s2=Function.prototype.bind||qL,VL=s2,YL=VL.call(Function.call,Object.prototype.hasOwnProperty),Vr,Ap=SyntaxError,iM=Function,Gc=TypeError,Dy=function(e){try{return iM('"use strict"; return ('+e+").constructor;")()}catch{}},tf=Object.getOwnPropertyDescriptor;if(tf)try{tf({},"")}catch{tf=null}var $y=function(){throw new Gc},XL=tf?function(){try{return arguments.callee,$y}catch{try{return tf(arguments,"callee").get}catch{return $y}}}():$y,cc=l2(),Il=Object.getPrototypeOf||function(e){return e.__proto__},wc={},QL=typeof Uint8Array>"u"?Vr:Il(Uint8Array),qc={"%AggregateError%":typeof AggregateError>"u"?Vr:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Vr:ArrayBuffer,"%ArrayIteratorPrototype%":cc?Il([][Symbol.iterator]()):Vr,"%AsyncFromSyncIteratorPrototype%":Vr,"%AsyncFunction%":wc,"%AsyncGenerator%":wc,"%AsyncGeneratorFunction%":wc,"%AsyncIteratorPrototype%":wc,"%Atomics%":typeof Atomics>"u"?Vr:Atomics,"%BigInt%":typeof BigInt>"u"?Vr:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Vr:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?Vr:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Vr:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Vr:FinalizationRegistry,"%Function%":iM,"%GeneratorFunction%":wc,"%Int8Array%":typeof Int8Array>"u"?Vr:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Vr:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Vr:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":cc?Il(Il([][Symbol.iterator]())):Vr,"%JSON%":typeof JSON=="object"?JSON:Vr,"%Map%":typeof Map>"u"?Vr:Map,"%MapIteratorPrototype%":typeof Map>"u"||!cc?Vr:Il(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Vr:Promise,"%Proxy%":typeof Proxy>"u"?Vr:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?Vr:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Vr:Set,"%SetIteratorPrototype%":typeof Set>"u"||!cc?Vr:Il(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Vr:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":cc?Il(""[Symbol.iterator]()):Vr,"%Symbol%":cc?Symbol:Vr,"%SyntaxError%":Ap,"%ThrowTypeError%":XL,"%TypedArray%":QL,"%TypeError%":Gc,"%Uint8Array%":typeof Uint8Array>"u"?Vr:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Vr:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Vr:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Vr:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?Vr:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Vr:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Vr:WeakSet},ZL=function e(t){var r;if(t==="%AsyncFunction%")r=Dy("async function () {}");else if(t==="%GeneratorFunction%")r=Dy("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Dy("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&(r=Il(i.prototype))}return qc[t]=r,r},YE={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},lm=s2,d0=YL,KL=lm.call(Function.call,Array.prototype.concat),JL=lm.call(Function.apply,Array.prototype.splice),XE=lm.call(Function.call,String.prototype.replace),h0=lm.call(Function.call,String.prototype.slice),eD=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,tD=/\\(\\)?/g,rD=function(t){var r=h0(t,0,1),n=h0(t,-1);if(r==="%"&&n!=="%")throw new Ap("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Ap("invalid intrinsic syntax, expected opening `%`");var i=[];return XE(t,eD,function(a,o,l,f){i[i.length]=l?XE(f,tD,"$1"):o||a}),i},nD=function(t,r){var n=t,i;if(d0(YE,n)&&(i=YE[n],n="%"+i[0]+"%"),d0(qc,n)){var a=qc[n];if(a===wc&&(a=ZL(n)),typeof a>"u"&&!r)throw new Gc("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:a}}throw new Ap("intrinsic "+t+" does not exist!")},_f=function(t,r){if(typeof t!="string"||t.length===0)throw new Gc("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Gc('"allowMissing" argument must be a boolean');var n=rD(t),i=n.length>0?n[0]:"",a=nD("%"+i+"%",r),o=a.name,l=a.value,f=!1,c=a.alias;c&&(i=c[0],JL(n,KL([0,1],c)));for(var p=1,_=!0;p<n.length;p+=1){var x=n[p],b=h0(x,0,1),C=h0(x,-1);if((b==='"'||b==="'"||b==="`"||C==='"'||C==="'"||C==="`")&&b!==C)throw new Ap("property names with quotes must have matching quotes");if((x==="constructor"||!_)&&(f=!0),i+="."+x,o="%"+i+"%",d0(qc,o))l=qc[o];else if(l!=null){if(!(x in l)){if(!r)throw new Gc("base intrinsic for "+t+" exists, but the property is not available.");return}if(tf&&p+1>=n.length){var R=tf(l,x);_=!!R,_&&"get"in R&&!("originalValue"in R.get)?l=R.get:l=l[x]}else _=d0(l,x),l=l[x];_&&!f&&(qc[o]=l)}}return l},Hp={exports:{}};(function(e){var t=s2,r=_f,n=r("%Function.prototype.apply%"),i=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||t.call(i,n),o=r("%Object.getOwnPropertyDescriptor%",!0),l=r("%Object.defineProperty%",!0),f=r("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}e.exports=function(_){var x=a(t,i,arguments);if(o&&l){var b=o(x,"length");b.configurable&&l(x,"length",{value:1+f(0,_.length-(arguments.length-1))})}return x};var c=function(){return a(t,n,arguments)};l?l(e.exports,"apply",{value:c}):e.exports.apply=c})(Hp);var aM=_f,oM=Hp.exports,iD=oM(aM("String.prototype.indexOf")),du=function(t,r){var n=aM(t,!!r);return typeof n=="function"&&iD(t,".prototype.")>-1?oM(n):n},aD=ds(),oD=du,aw=oD("Object.prototype.toString"),sm=function(t){return aD&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:aw(t)==="[object Arguments]"},uM=function(t){return sm(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&aw(t)!=="[object Array]"&&aw(t.callee)==="[object Function]"},uD=function(){return sm(arguments)}();sm.isLegacyArguments=uM;var lM=uD?sm:uM,lD=u2,sD=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",fD=Object.prototype.toString,cD=Array.prototype.concat,f2=Object.defineProperty,dD=function(e){return typeof e=="function"&&fD.call(e)==="[object Function]"},hD=function(){var e={};try{f2(e,"x",{enumerable:!1,value:e});for(var t in e)return!1;return e.x===e}catch{return!1}},sM=f2&&hD(),pD=function(e,t,r,n){t in e&&(!dD(n)||!n())||(sM?f2(e,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):e[t]=r)},fM=function(e,t){var r=arguments.length>2?arguments[2]:{},n=lD(t);sD&&(n=cD.call(n,Object.getOwnPropertySymbols(t)));for(var i=0;i<n.length;i+=1)pD(e,n[i],t[n[i]],r[n[i]])};fM.supportsDescriptors=!!sM;var Sf=fM,QE=function(e){return e!==e},cM=function(t,r){return t===0&&r===0?1/t===1/r:!!(t===r||QE(t)&&QE(r))},vD=cM,dM=function(){return typeof Object.is=="function"?Object.is:vD},gD=dM,mD=Sf,yD=function(){var t=gD();return mD(Object,{is:t},{is:function(){return Object.is!==t}}),t},bD=Sf,xD=Hp.exports,wD=cM,hM=dM,_D=yD,pM=xD(hM(),Object);bD(pM,{getPolyfill:hM,implementation:wD,shim:_D});var SD=pM,ow=du,vM=ds(),gM,mM,uw,lw;if(vM){gM=ow("Object.prototype.hasOwnProperty"),mM=ow("RegExp.prototype.exec"),uw={};var zy=function(){throw uw};lw={toString:zy,valueOf:zy},typeof Symbol.toPrimitive=="symbol"&&(lw[Symbol.toPrimitive]=zy)}var ED=ow("Object.prototype.toString"),AD=Object.getOwnPropertyDescriptor,TD="[object RegExp]",CD=vM?function(t){if(!t||typeof t!="object")return!1;var r=AD(t,"lastIndex"),n=r&&gM(r,"value");if(!n)return!1;try{mM(t,lw)}catch(i){return i===uw}}:function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:ED(t)===TD},OD=Object,kD=TypeError,yM=function(){if(this!=null&&this!==OD(this))throw new kD("RegExp.prototype.flags getter called on non-object");var t="";return this.hasIndices&&(t+="d"),this.global&&(t+="g"),this.ignoreCase&&(t+="i"),this.multiline&&(t+="m"),this.dotAll&&(t+="s"),this.unicode&&(t+="u"),this.sticky&&(t+="y"),t},MD=yM,PD=Sf.supportsDescriptors,ND=Object.getOwnPropertyDescriptor,bM=function(){if(PD&&/a/mig.flags==="gim"){var t=ND(RegExp.prototype,"flags");if(t&&typeof t.get=="function"&&typeof/a/.dotAll=="boolean")return t.get}return MD},RD=Sf.supportsDescriptors,ID=bM,FD=Object.getOwnPropertyDescriptor,LD=Object.defineProperty,DD=TypeError,ZE=Object.getPrototypeOf,$D=/a/,zD=function(){if(!RD||!ZE)throw new DD("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var t=ID(),r=ZE($D),n=FD(r,"flags");return(!n||n.get!==t)&&LD(r,"flags",{configurable:!0,enumerable:!1,get:t}),t},BD=Sf,jD=Hp.exports,UD=yM,xM=bM,HD=zD,wM=jD(xM());BD(wM,{getPolyfill:xM,implementation:UD,shim:HD});var WD=wM,GD={}.toString,_M=Array.isArray||function(e){return GD.call(e)=="[object Array]"},qD=Date.prototype.getDay,VD=function(t){try{return qD.call(t),!0}catch{return!1}},YD=Object.prototype.toString,XD="[object Date]",QD=ds(),ZD=function(t){return typeof t!="object"||t===null?!1:QD?VD(t):YD.call(t)===XD},KD=String.prototype.valueOf,JD=function(t){try{return KD.call(t),!0}catch{return!1}},e6=Object.prototype.toString,t6="[object String]",r6=ds(),SM=function(t){return typeof t=="string"?!0:typeof t!="object"?!1:r6?JD(t):e6.call(t)===t6},n6=Number.prototype.toString,i6=function(t){try{return n6.call(t),!0}catch{return!1}},a6=Object.prototype.toString,o6="[object Number]",u6=ds(),l6=function(t){return typeof t=="number"?!0:typeof t!="object"?!1:u6?i6(t):a6.call(t)===o6},EM=du,s6=EM("Boolean.prototype.toString"),f6=EM("Object.prototype.toString"),c6=function(t){try{return s6(t),!0}catch{return!1}},d6="[object Boolean]",h6=ds(),p6=function(t){return typeof t=="boolean"?!0:t===null||typeof t!="object"?!1:h6&&Symbol.toStringTag in t?c6(t):f6(t)===d6},sw={exports:{}},v6=Object.prototype.toString,g6=l2();if(g6){var m6=Symbol.prototype.toString,y6=/^Symbol\(.*\)$/,b6=function(t){return typeof t.valueOf()!="symbol"?!1:y6.test(m6.call(t))};sw.exports=function(t){if(typeof t=="symbol")return!0;if(v6.call(t)!=="[object Symbol]")return!1;try{return b6(t)}catch{return!1}}}else sw.exports=function(t){return!1};var fw={exports:{}},KE=Jr.BigInt,x6=function(){return typeof KE=="function"&&typeof BigInt=="function"&&typeof KE(42)=="bigint"&&typeof BigInt(42)=="bigint"},w6=x6();if(w6){var _6=BigInt.prototype.valueOf,S6=function(t){try{return _6.call(t),!0}catch{}return!1};fw.exports=function(t){return t===null||typeof t>"u"||typeof t=="boolean"||typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="function"?!1:typeof t=="bigint"?!0:S6(t)}}else fw.exports=function(t){return!1};var E6=SM,A6=l6,T6=p6,C6=sw.exports,O6=fw.exports,k6=function(t){if(t==null||typeof t!="object"&&typeof t!="function")return null;if(E6(t))return"String";if(A6(t))return"Number";if(T6(t))return"Boolean";if(C6(t))return"Symbol";if(O6(t))return"BigInt"},c2=typeof Map=="function"&&Map.prototype?Map:null,M6=typeof Set=="function"&&Set.prototype?Set:null,p0;c2||(p0=function(t){return!1});var AM=c2?Map.prototype.has:null,JE=M6?Set.prototype.has:null;!p0&&!AM&&(p0=function(t){return!1});var TM=p0||function(t){if(!t||typeof t!="object")return!1;try{if(AM.call(t),JE)try{JE.call(t)}catch{return!0}return t instanceof c2}catch{}return!1},P6=typeof Map=="function"&&Map.prototype?Map:null,d2=typeof Set=="function"&&Set.prototype?Set:null,v0;d2||(v0=function(t){return!1});var eA=P6?Map.prototype.has:null,CM=d2?Set.prototype.has:null;!v0&&!CM&&(v0=function(t){return!1});var OM=v0||function(t){if(!t||typeof t!="object")return!1;try{if(CM.call(t),eA)try{eA.call(t)}catch{return!0}return t instanceof d2}catch{}return!1},g0=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,tA=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,m0;g0||(m0=function(t){return!1});var cw=g0?g0.prototype.has:null,By=tA?tA.prototype.has:null;!m0&&!cw&&(m0=function(t){return!1});var N6=m0||function(t){if(!t||typeof t!="object")return!1;try{if(cw.call(t,cw),By)try{By.call(t,By)}catch{return!0}return t instanceof g0}catch{}return!1},dw={exports:{}},R6=_f,kM=du,I6=R6("%WeakSet%",!0),jy=kM("WeakSet.prototype.has",!0);if(jy){var Uy=kM("WeakMap.prototype.has",!0);dw.exports=function(t){if(!t||typeof t!="object")return!1;try{if(jy(t,jy),Uy)try{Uy(t,Uy)}catch{return!0}return t instanceof I6}catch{}return!1}}else dw.exports=function(t){return!1};var F6=TM,L6=OM,D6=N6,$6=dw.exports,z6=function(t){if(t&&typeof t=="object"){if(F6(t))return"Map";if(L6(t))return"Set";if(D6(t))return"WeakMap";if($6(t))return"WeakSet"}return!1},Pg={exports:{}},rA=lM;if(l2()||um()){var Hy=Symbol.iterator;Pg.exports=function(t){if(t!=null&&typeof t[Hy]<"u")return t[Hy]();if(rA(t))return Array.prototype[Hy].call(t)}}else{var B6=_M,j6=SM,nA=_f,U6=nA("%Map%",!0),H6=nA("%Set%",!0),Eo=du,iA=Eo("Array.prototype.push"),aA=Eo("String.prototype.charCodeAt"),W6=Eo("String.prototype.slice"),G6=function(t,r){var n=t.length;if(r+1>=n)return r+1;var i=aA(t,r);if(i<55296||i>56319)return r+1;var a=aA(t,r+1);return a<56320||a>57343?r+1:r+2},Wy=function(t){var r=0;return{next:function(){var i=r>=t.length,a;return i||(a=t[r],r+=1),{done:i,value:a}}}},oA=function(t,r){if(B6(t)||rA(t))return Wy(t);if(j6(t)){var n=0;return{next:function(){var a=G6(t,n),o=W6(t,n,a);return n=a,{done:a>t.length,value:o}}}}if(r&&typeof t["_es6-shim iterator_"]<"u")return t["_es6-shim iterator_"]()};if(!U6&&!H6)Pg.exports=function(t){if(t!=null)return oA(t,!0)};else{var q6=TM,V6=OM,uA=Eo("Map.prototype.forEach",!0),lA=Eo("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var sA=Eo("Map.prototype.iterator",!0),fA=Eo("Set.prototype.iterator",!0),cA=function(e){var t=!1;return{next:function(){try{return{done:t,value:t?void 0:e.next()}}catch{return t=!0,{done:!0,value:void 0}}}}};var dA=Eo("Map.prototype.@@iterator",!0)||Eo("Map.prototype._es6-shim iterator_",!0),hA=Eo("Set.prototype.@@iterator",!0)||Eo("Set.prototype._es6-shim iterator_",!0),Y6=function(t){if(q6(t)){if(sA)return cA(sA(t));if(dA)return dA(t);if(uA){var r=[];return uA(t,function(i,a){iA(r,[a,i])}),Wy(r)}}if(V6(t)){if(fA)return cA(fA(t));if(hA)return hA(t);if(lA){var n=[];return lA(t,function(i){iA(n,i)}),Wy(n)}}};Pg.exports=function(t){return Y6(t)||oA(t)}}}const X6={},Q6=Object.freeze(Object.defineProperty({__proto__:null,default:X6},Symbol.toStringTag,{value:"Module"})),MM=gf(Q6);var h2=typeof Map=="function"&&Map.prototype,Gy=Object.getOwnPropertyDescriptor&&h2?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,y0=h2&&Gy&&typeof Gy.get=="function"?Gy.get:null,Z6=h2&&Map.prototype.forEach,p2=typeof Set=="function"&&Set.prototype,qy=Object.getOwnPropertyDescriptor&&p2?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,b0=p2&&qy&&typeof qy.get=="function"?qy.get:null,K6=p2&&Set.prototype.forEach,J6=typeof WeakMap=="function"&&WeakMap.prototype,rp=J6?WeakMap.prototype.has:null,e8=typeof WeakSet=="function"&&WeakSet.prototype,np=e8?WeakSet.prototype.has:null,t8=typeof WeakRef=="function"&&WeakRef.prototype,pA=t8?WeakRef.prototype.deref:null,r8=Boolean.prototype.valueOf,n8=Object.prototype.toString,i8=Function.prototype.toString,a8=String.prototype.match,v2=String.prototype.slice,Ul=String.prototype.replace,o8=String.prototype.toUpperCase,vA=String.prototype.toLowerCase,PM=RegExp.prototype.test,gA=Array.prototype.concat,Ko=Array.prototype.join,u8=Array.prototype.slice,mA=Math.floor,hw=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Vy=Object.getOwnPropertySymbols,pw=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,td=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Gi=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===td?"object":"symbol")?Symbol.toStringTag:null,NM=Object.prototype.propertyIsEnumerable,yA=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function bA(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||PM.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-mA(-e):mA(e);if(n!==e){var i=String(n),a=v2.call(t,i.length+1);return Ul.call(i,r,"$&_")+"."+Ul.call(Ul.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Ul.call(t,r,"$&_")}var Yy=MM.custom,Xy=Yy&&IM(Yy)?Yy:null,l8=function e(t,r,n,i){var a=r||{};if(Fl(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Fl(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=Fl(a,"customInspect")?a.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Fl(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Fl(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=a.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return LM(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var f=String(t);return l?bA(t,f):f}if(typeof t=="bigint"){var c=String(t)+"n";return l?bA(t,c):c}var p=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=p&&p>0&&typeof t=="object")return vw(t)?"[Array]":"[Object]";var _=C8(a,n);if(typeof i>"u")i=[];else if(FM(i,t)>=0)return"[Circular]";function x(Ye,Xe,Et){if(Xe&&(i=u8.call(i),i.push(Xe)),Et){var yt={depth:a.depth};return Fl(a,"quoteStyle")&&(yt.quoteStyle=a.quoteStyle),e(Ye,yt,n+1,i)}return e(Ye,a,n+1,i)}if(typeof t=="function"){var b=y8(t),C=Hv(t,x);return"[Function"+(b?": "+b:" (anonymous)")+"]"+(C.length>0?" { "+Ko.call(C,", ")+" }":"")}if(IM(t)){var R=td?Ul.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):pw.call(t);return typeof t=="object"&&!td?mh(R):R}if(E8(t)){for(var E="<"+vA.call(String(t.nodeName)),S=t.attributes||[],T=0;T<S.length;T++)E+=" "+S[T].name+"="+RM(s8(S[T].value),"double",a);return E+=">",t.childNodes&&t.childNodes.length&&(E+="..."),E+="</"+vA.call(String(t.nodeName))+">",E}if(vw(t)){if(t.length===0)return"[]";var P=Hv(t,x);return _&&!T8(P)?"["+gw(P,_)+"]":"[ "+Ko.call(P,", ")+" ]"}if(d8(t)){var M=Hv(t,x);return"cause"in t&&!NM.call(t,"cause")?"{ ["+String(t)+"] "+Ko.call(gA.call("[cause]: "+x(t.cause),M),", ")+" }":M.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Ko.call(M,", ")+" }"}if(typeof t=="object"&&o){if(Xy&&typeof t[Xy]=="function")return t[Xy]();if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(b8(t)){var L=[];return Z6.call(t,function(Ye,Xe){L.push(x(Xe,t,!0)+" => "+x(Ye,t))}),xA("Map",y0.call(t),L,_)}if(_8(t)){var v=[];return K6.call(t,function(Ye){v.push(x(Ye,t))}),xA("Set",b0.call(t),v,_)}if(x8(t))return Qy("WeakMap");if(S8(t))return Qy("WeakSet");if(w8(t))return Qy("WeakRef");if(p8(t))return mh(x(Number(t)));if(g8(t))return mh(x(hw.call(t)));if(v8(t))return mh(r8.call(t));if(h8(t))return mh(x(String(t)));if(!f8(t)&&!c8(t)){var K=Hv(t,x),q=yA?yA(t)===Object.prototype:t instanceof Object||t.constructor===Object,ue=t instanceof Object?"":"null prototype",Ie=!q&&Gi&&Object(t)===t&&Gi in t?v2.call(hs(t),8,-1):ue?"Object":"",Ce=q||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",De=Ce+(Ie||ue?"["+Ko.call(gA.call([],Ie||[],ue||[]),": ")+"] ":"");return K.length===0?De+"{}":_?De+"{"+gw(K,_)+"}":De+"{ "+Ko.call(K,", ")+" }"}return String(t)};function RM(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function s8(e){return Ul.call(String(e),/"/g,""")}function vw(e){return hs(e)==="[object Array]"&&(!Gi||!(typeof e=="object"&&Gi in e))}function f8(e){return hs(e)==="[object Date]"&&(!Gi||!(typeof e=="object"&&Gi in e))}function c8(e){return hs(e)==="[object RegExp]"&&(!Gi||!(typeof e=="object"&&Gi in e))}function d8(e){return hs(e)==="[object Error]"&&(!Gi||!(typeof e=="object"&&Gi in e))}function h8(e){return hs(e)==="[object String]"&&(!Gi||!(typeof e=="object"&&Gi in e))}function p8(e){return hs(e)==="[object Number]"&&(!Gi||!(typeof e=="object"&&Gi in e))}function v8(e){return hs(e)==="[object Boolean]"&&(!Gi||!(typeof e=="object"&&Gi in e))}function IM(e){if(td)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!pw)return!1;try{return pw.call(e),!0}catch{}return!1}function g8(e){if(!e||typeof e!="object"||!hw)return!1;try{return hw.call(e),!0}catch{}return!1}var m8=Object.prototype.hasOwnProperty||function(e){return e in this};function Fl(e,t){return m8.call(e,t)}function hs(e){return n8.call(e)}function y8(e){if(e.name)return e.name;var t=a8.call(i8.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function FM(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function b8(e){if(!y0||!e||typeof e!="object")return!1;try{y0.call(e);try{b0.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function x8(e){if(!rp||!e||typeof e!="object")return!1;try{rp.call(e,rp);try{np.call(e,np)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function w8(e){if(!pA||!e||typeof e!="object")return!1;try{return pA.call(e),!0}catch{}return!1}function _8(e){if(!b0||!e||typeof e!="object")return!1;try{b0.call(e);try{y0.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function S8(e){if(!np||!e||typeof e!="object")return!1;try{np.call(e,np);try{rp.call(e,rp)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function E8(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function LM(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return LM(v2.call(e,0,t.maxStringLength),t)+n}var i=Ul.call(Ul.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,A8);return RM(i,"single",t)}function A8(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+o8.call(t.toString(16))}function mh(e){return"Object("+e+")"}function Qy(e){return e+" { ? }"}function xA(e,t,r,n){var i=n?gw(r,n):Ko.call(r,", ");return e+" ("+t+") {"+i+"}"}function T8(e){for(var t=0;t<e.length;t++)if(FM(e[t],`
|
|
35
|
-
`)>=0)return!1;return!0}function C8(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=Ko.call(Array(e.indent+1)," ");else return null;return{base:r,prev:Ko.call(Array(t+1),r)}}function gw(e,t){if(e.length===0)return"";var r=`
|
|
36
|
-
`+t.prev+t.base;return r+Ko.call(e,","+r)+`
|
|
37
|
-
`+t.prev}function Hv(e,t){var r=vw(e),n=[];if(r){n.length=e.length;for(var i=0;i<e.length;i++)n[i]=Fl(e,i)?t(e[i],e):""}var a=typeof Vy=="function"?Vy(e):[],o;if(td){o={};for(var l=0;l<a.length;l++)o["$"+a[l]]=a[l]}for(var f in e)!Fl(e,f)||r&&String(Number(f))===f&&f<e.length||td&&o["$"+f]instanceof Symbol||(PM.call(/[^\w$]/,f)?n.push(t(f,e)+": "+t(e[f],e)):n.push(f+": "+t(e[f],e)));if(typeof Vy=="function")for(var c=0;c<a.length;c++)NM.call(e,a[c])&&n.push("["+t(a[c])+"]: "+t(e[a[c]],e));return n}var g2=_f,bd=du,O8=l8,k8=g2("%TypeError%"),Wv=g2("%WeakMap%",!0),Gv=g2("%Map%",!0),M8=bd("WeakMap.prototype.get",!0),P8=bd("WeakMap.prototype.set",!0),N8=bd("WeakMap.prototype.has",!0),R8=bd("Map.prototype.get",!0),I8=bd("Map.prototype.set",!0),F8=bd("Map.prototype.has",!0),m2=function(e,t){for(var r=e,n;(n=r.next)!==null;r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},L8=function(e,t){var r=m2(e,t);return r&&r.value},D8=function(e,t,r){var n=m2(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},$8=function(e,t){return!!m2(e,t)},z8=function(){var t,r,n,i={assert:function(a){if(!i.has(a))throw new k8("Side channel does not contain "+O8(a))},get:function(a){if(Wv&&a&&(typeof a=="object"||typeof a=="function")){if(t)return M8(t,a)}else if(Gv){if(r)return R8(r,a)}else if(n)return L8(n,a)},has:function(a){if(Wv&&a&&(typeof a=="object"||typeof a=="function")){if(t)return N8(t,a)}else if(Gv){if(r)return F8(r,a)}else if(n)return $8(n,a);return!1},set:function(a,o){Wv&&a&&(typeof a=="object"||typeof a=="function")?(t||(t=new Wv),P8(t,a,o)):Gv?(r||(r=new Gv),I8(r,a,o)):(n||(n={key:{},next:null}),D8(n,a,o))}};return i},B8=Object.prototype.hasOwnProperty,j8=Object.prototype.toString,DM=function(t,r,n){if(j8.call(r)!=="[object Function]")throw new TypeError("iterator must be a function");var i=t.length;if(i===+i)for(var a=0;a<i;a++)r.call(n,t[a],a,t);else for(var o in t)B8.call(t,o)&&r.call(n,t[o],o,t)},Zy=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],U8=typeof globalThis>"u"?Jr:globalThis,$M=function(){for(var t=[],r=0;r<Zy.length;r++)typeof U8[Zy[r]]=="function"&&(t[t.length]=Zy[r]);return t},Ky,wA;function zM(){if(wA)return Ky;wA=1;var e=_f,t=e("%Object.getOwnPropertyDescriptor%",!0);if(t)try{t([],"length")}catch{t=null}return Ky=t,Ky}var Jy,_A;function H8(){if(_A)return Jy;_A=1;var e=DM,t=$M,r=du,n=r("Object.prototype.toString"),i=ds(),a=typeof globalThis>"u"?Jr:globalThis,o=t(),l=r("Array.prototype.indexOf",!0)||function(C,R){for(var E=0;E<C.length;E+=1)if(C[E]===R)return E;return-1},f=r("String.prototype.slice"),c={},p=zM(),_=Object.getPrototypeOf;i&&p&&_&&e(o,function(b){var C=new a[b];if(Symbol.toStringTag in C){var R=_(C),E=p(R,Symbol.toStringTag);if(!E){var S=_(R);E=p(S,Symbol.toStringTag)}c[b]=E.get}});var x=function(C){var R=!1;return e(c,function(E,S){if(!R)try{R=E.call(C)===S}catch{}}),R};return Jy=function(C){if(!C||typeof C!="object")return!1;if(!i||!(Symbol.toStringTag in C)){var R=f(n(C),8,-1);return l(o,R)>-1}return p?x(C):!1},Jy}var BM=DM,W8=$M,jM=du,G8=jM("Object.prototype.toString"),UM=ds(),SA=typeof globalThis>"u"?Jr:globalThis,q8=W8(),V8=jM("String.prototype.slice"),HM={},e1=zM(),t1=Object.getPrototypeOf;UM&&e1&&t1&&BM(q8,function(e){if(typeof SA[e]=="function"){var t=new SA[e];if(Symbol.toStringTag in t){var r=t1(t),n=e1(r,Symbol.toStringTag);if(!n){var i=t1(r);n=e1(i,Symbol.toStringTag)}HM[e]=n.get}}});var Y8=function(t){var r=!1;return BM(HM,function(n,i){if(!r)try{var a=n.call(t);a===i&&(r=a)}catch{}}),r},X8=H8(),Q8=function(t){return X8(t)?!UM||!(Symbol.toStringTag in t)?V8(G8(t),8,-1):Y8(t):!1},Z8=u2,K8=function(e){return typeof e<"u"&&e!==null},WM=um(),GM=du,EA=Object,J8=GM("Array.prototype.push"),AA=GM("Object.prototype.propertyIsEnumerable"),e$=WM?Object.getOwnPropertySymbols:null,qM=function(t,r){if(!K8(t))throw new TypeError("target must be an object");var n=EA(t),i,a,o,l,f,c,p;for(i=1;i<arguments.length;++i){a=EA(arguments[i]),l=Z8(a);var _=WM&&(Object.getOwnPropertySymbols||e$);if(_)for(f=_(a),o=0;o<f.length;++o)p=f[o],AA(a,p)&&J8(l,p);for(o=0;o<l.length;++o)p=l[o],c=a[p],AA(a,p)&&(n[p]=c)}return n},r1=qM,t$=function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),r={},n=0;n<t.length;++n)r[t[n]]=t[n];var i=Object.assign({},r),a="";for(var o in i)a+=o;return e!==a},r$=function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch{return e[1]==="y"}return!1},VM=function(){return!Object.assign||t$()||r$()?r1:Object.assign},n$=Sf,i$=VM,a$=function(){var t=i$();return n$(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t},o$=Sf,u$=Hp.exports,l$=qM,YM=VM,s$=a$,f$=u$.apply(YM()),XM=function(t,r){return f$(Object,arguments)};o$(XM,{getPolyfill:YM,implementation:l$,shim:s$});var c$=XM,TA=u2,CA=lM,OA=SD,kA=CD,MA=WD,PA=_M,NA=ZD,RA=k6,d$=_f,Ku=du,IA=z6,rd=Pg.exports,h$=z8,FA=Q8,QM=c$,LA=Ku("Date.prototype.getTime"),n1=Object.getPrototypeOf,DA=Ku("Object.prototype.toString"),x0=d$("%Set%",!0),mw=Ku("Map.prototype.has",!0),w0=Ku("Map.prototype.get",!0),$A=Ku("Map.prototype.size",!0),_0=Ku("Set.prototype.add",!0),ZM=Ku("Set.prototype.delete",!0),S0=Ku("Set.prototype.has",!0),Ng=Ku("Set.prototype.size",!0);function zA(e,t,r,n){for(var i=rd(e),a;(a=i.next())&&!a.done;)if(Vu(t,a.value,r,n))return ZM(e,a.value),!0;return!1}function KM(e){if(typeof e>"u")return null;if(typeof e!="object")return typeof e=="symbol"?!1:typeof e=="string"||typeof e=="number"?+e==+e:!0}function p$(e,t,r,n,i,a){var o=KM(r);if(o!=null)return o;var l=w0(t,o),f=QM({},i,{strict:!1});return typeof l>"u"&&!mw(t,o)||!Vu(n,l,f,a)?!1:!mw(e,o)&&Vu(n,l,f,a)}function v$(e,t,r){var n=KM(r);return n!=null?n:S0(t,n)&&!S0(e,n)}function BA(e,t,r,n,i,a){for(var o=rd(e),l,f;(l=o.next())&&!l.done;)if(f=l.value,Vu(r,f,i,a)&&Vu(n,w0(t,f),i,a))return ZM(e,f),!0;return!1}function Vu(e,t,r,n){var i=r||{};if(i.strict?OA(e,t):e===t)return!0;var a=RA(e),o=RA(t);if(a!==o)return!1;if(!e||!t||typeof e!="object"&&typeof t!="object")return i.strict?OA(e,t):e==t;var l=n.has(e),f=n.has(t),c;if(l&&f){if(n.get(e)===n.get(t))return!0}else c={};return l||n.set(e,c),f||n.set(t,c),y$(e,t,i,n)}function jA(e){return!e||typeof e!="object"||typeof e.length!="number"||typeof e.copy!="function"||typeof e.slice!="function"||e.length>0&&typeof e[0]!="number"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}function g$(e,t,r,n){if(Ng(e)!==Ng(t))return!1;for(var i=rd(e),a=rd(t),o,l,f;(o=i.next())&&!o.done;)if(o.value&&typeof o.value=="object")f||(f=new x0),_0(f,o.value);else if(!S0(t,o.value)){if(r.strict||!v$(e,t,o.value))return!1;f||(f=new x0),_0(f,o.value)}if(f){for(;(l=a.next())&&!l.done;)if(l.value&&typeof l.value=="object"){if(!zA(f,l.value,r.strict,n))return!1}else if(!r.strict&&!S0(e,l.value)&&!zA(f,l.value,r.strict,n))return!1;return Ng(f)===0}return!0}function m$(e,t,r,n){if($A(e)!==$A(t))return!1;for(var i=rd(e),a=rd(t),o,l,f,c,p,_;(o=i.next())&&!o.done;)if(c=o.value[0],p=o.value[1],c&&typeof c=="object")f||(f=new x0),_0(f,c);else if(_=w0(t,c),typeof _>"u"&&!mw(t,c)||!Vu(p,_,r,n)){if(r.strict||!p$(e,t,c,p,r,n))return!1;f||(f=new x0),_0(f,c)}if(f){for(;(l=a.next())&&!l.done;)if(c=l.value[0],_=l.value[1],c&&typeof c=="object"){if(!BA(f,e,c,_,r,n))return!1}else if(!r.strict&&(!e.has(c)||!Vu(w0(e,c),_,r,n))&&!BA(f,e,c,_,QM({},r,{strict:!1}),n))return!1;return Ng(f)===0}return!0}function y$(e,t,r,n){var i,a;if(typeof e!=typeof t||e==null||t==null||DA(e)!==DA(t)||CA(e)!==CA(t))return!1;var o=PA(e),l=PA(t);if(o!==l)return!1;var f=e instanceof Error,c=t instanceof Error;if(f!==c||(f||c)&&(e.name!==t.name||e.message!==t.message))return!1;var p=kA(e),_=kA(t);if(p!==_||(p||_)&&(e.source!==t.source||MA(e)!==MA(t)))return!1;var x=NA(e),b=NA(t);if(x!==b||(x||b)&&LA(e)!==LA(t)||r.strict&&n1&&n1(e)!==n1(t)||FA(e)!==FA(t))return!1;var C=jA(e),R=jA(t);if(C!==R)return!1;if(C||R){if(e.length!==t.length)return!1;for(i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}if(typeof e!=typeof t)return!1;var E=TA(e),S=TA(t);if(E.length!==S.length)return!1;for(E.sort(),S.sort(),i=E.length-1;i>=0;i--)if(E[i]!=S[i])return!1;for(i=E.length-1;i>=0;i--)if(a=E[i],!Vu(e[a],t[a],r,n))return!1;var T=IA(e),P=IA(t);return T!==P?!1:T==="Set"||P==="Set"?g$(e,t,r,n):T==="Map"?m$(e,t,r,n):!0}var nte=function(t,r,n){return Vu(t,r,n,h$())},UA=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function b$(e,t){return!!(e===t||UA(e)&&UA(t))}function x$(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!b$(e[r],t[r]))return!1;return!0}function Gn(e,t){t===void 0&&(t=x$);var r,n=[],i,a=!1;function o(){for(var l=[],f=0;f<arguments.length;f++)l[f]=arguments[f];return a&&r===this&&t(l,n)||(i=e.apply(this,l),a=!0,r=this,n=l),i}return o}var Ur={exports:{}},w$="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",_$=w$,S$=_$;function JM(){}function eP(){}eP.resetWarningCache=JM;var E$=function(){function e(n,i,a,o,l,f){if(f!==S$){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:eP,resetWarningCache:JM};return r.PropTypes=r,r};Ur.exports=E$();function y2(e,t,...r){if(!e)throw new TypeError(tP(t,r))}function tP(e,t){let r=0;return e.replace(/%[os]/gu,()=>rP(t[r++]))}function rP(e){return typeof e!="object"||e===null?String(e):Object.prototype.toString.call(e)}let A$;function T$(e){try{const t=e instanceof Error?e:new Error(rP(e));if(typeof dispatchEvent=="function"&&typeof ErrorEvent=="function")dispatchEvent(new ErrorEvent("error",{error:t,message:t.message}));else if(typeof process<"u"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)}catch{}}const Oo=typeof window<"u"?window:typeof self<"u"?self:typeof global<"u"?global:typeof globalThis<"u"?globalThis:void 0;let C$;class Ju{constructor(t,r){this.code=t,this.message=r}warn(...t){var r;try{const n=((r=new Error().stack)!==null&&r!==void 0?r:"").replace(/^(?:.+?\n){2}/gu,`
|
|
38
|
-
`);console.warn(this.message,...t,n)}catch{}}}const O$=new Ju("W01","Unable to initialize event under dispatching."),k$=new Ju("W02","Assigning any falsy value to 'cancelBubble' property has no effect."),M$=new Ju("W03","Assigning any truthy value to 'returnValue' property has no effect."),P$=new Ju("W04","Unable to preventDefault on non-cancelable events."),N$=new Ju("W05","Unable to preventDefault inside passive event listener invocation."),R$=new Ju("W06","An event listener wasn't added because it has been added already: %o, %o"),i1=new Ju("W07","The %o option value was abandoned because the event listener wasn't added as duplicated."),HA=new Ju("W08","The 'callback' argument must be a function or an object that has 'handleEvent' method: %o");new Ju("W09","Event attribute handler must be a function: %o");class el{static get NONE(){return WA}static get CAPTURING_PHASE(){return GA}static get AT_TARGET(){return qA}static get BUBBLING_PHASE(){return VA}constructor(t,r){Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});const n=r!=null?r:{};yw.set(this,{type:String(t),bubbles:Boolean(n.bubbles),cancelable:Boolean(n.cancelable),composed:Boolean(n.composed),target:null,currentTarget:null,stopPropagationFlag:!1,stopImmediatePropagationFlag:!1,canceledFlag:!1,inPassiveListenerFlag:!1,dispatchFlag:!1,timeStamp:Date.now()})}get type(){return Wn(this).type}get target(){return Wn(this).target}get srcElement(){return Wn(this).target}get currentTarget(){return Wn(this).currentTarget}composedPath(){const t=Wn(this).currentTarget;return t?[t]:[]}get NONE(){return WA}get CAPTURING_PHASE(){return GA}get AT_TARGET(){return qA}get BUBBLING_PHASE(){return VA}get eventPhase(){return Wn(this).dispatchFlag?2:0}stopPropagation(){Wn(this).stopPropagationFlag=!0}get cancelBubble(){return Wn(this).stopPropagationFlag}set cancelBubble(t){t?Wn(this).stopPropagationFlag=!0:k$.warn()}stopImmediatePropagation(){const t=Wn(this);t.stopPropagationFlag=t.stopImmediatePropagationFlag=!0}get bubbles(){return Wn(this).bubbles}get cancelable(){return Wn(this).cancelable}get returnValue(){return!Wn(this).canceledFlag}set returnValue(t){t?M$.warn():YA(Wn(this))}preventDefault(){YA(Wn(this))}get defaultPrevented(){return Wn(this).canceledFlag}get composed(){return Wn(this).composed}get isTrusted(){return!1}get timeStamp(){return Wn(this).timeStamp}initEvent(t,r=!1,n=!1){const i=Wn(this);if(i.dispatchFlag){O$.warn();return}yw.set(this,{...i,type:String(t),bubbles:Boolean(r),cancelable:Boolean(n),target:null,currentTarget:null,stopPropagationFlag:!1,stopImmediatePropagationFlag:!1,canceledFlag:!1})}}const WA=0,GA=1,qA=2,VA=3,yw=new WeakMap;function Wn(e,t="this"){const r=yw.get(e);return y2(r!=null,"'%s' must be an object that Event constructor created, but got another one: %o",t,e),r}function YA(e){if(e.inPassiveListenerFlag){N$.warn();return}if(!e.cancelable){P$.warn();return}e.canceledFlag=!0}Object.defineProperty(el,"NONE",{enumerable:!0});Object.defineProperty(el,"CAPTURING_PHASE",{enumerable:!0});Object.defineProperty(el,"AT_TARGET",{enumerable:!0});Object.defineProperty(el,"BUBBLING_PHASE",{enumerable:!0});const a1=Object.getOwnPropertyNames(el.prototype);for(let e=0;e<a1.length;++e)a1[e]!=="constructor"&&Object.defineProperty(el.prototype,a1[e],{enumerable:!0});typeof Oo<"u"&&typeof Oo.Event<"u"&&Object.setPrototypeOf(el.prototype,Oo.Event.prototype);function I$(e){return Oo.DOMException?new Oo.DOMException(e,"InvalidStateError"):(dc==null&&(dc=class nP extends Error{constructor(r){super(r),Error.captureStackTrace&&Error.captureStackTrace(this,nP)}get code(){return 11}get name(){return"InvalidStateError"}},Object.defineProperties(dc.prototype,{code:{enumerable:!0},name:{enumerable:!0}}),QA(dc),QA(dc.prototype)),new dc(e))}let dc;const XA={INDEX_SIZE_ERR:1,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,INVALID_CHARACTER_ERR:5,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:11,SYNTAX_ERR:12,INVALID_MODIFICATION_ERR:13,NAMESPACE_ERR:14,INVALID_ACCESS_ERR:15,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:17,SECURITY_ERR:18,NETWORK_ERR:19,ABORT_ERR:20,URL_MISMATCH_ERR:21,QUOTA_EXCEEDED_ERR:22,TIMEOUT_ERR:23,INVALID_NODE_TYPE_ERR:24,DATA_CLONE_ERR:25};function QA(e){const t=Object.keys(XA);for(let r=0;r<t.length;++r){const n=t[r],i=XA[n];Object.defineProperty(e,n,{get(){return i},configurable:!0,enumerable:!0})}}class fm extends el{static wrap(t){return new(aP(t))(t)}constructor(t){super(t.type,{bubbles:t.bubbles,cancelable:t.cancelable,composed:t.composed}),t.cancelBubble&&super.stopPropagation(),t.defaultPrevented&&super.preventDefault(),iP.set(this,{original:t});const r=Object.keys(t);for(let n=0;n<r.length;++n){const i=r[n];i in this||Object.defineProperty(this,i,oP(t,i))}}stopPropagation(){super.stopPropagation();const{original:t}=Ll(this);"stopPropagation"in t&&t.stopPropagation()}get cancelBubble(){return super.cancelBubble}set cancelBubble(t){super.cancelBubble=t;const{original:r}=Ll(this);"cancelBubble"in r&&(r.cancelBubble=t)}stopImmediatePropagation(){super.stopImmediatePropagation();const{original:t}=Ll(this);"stopImmediatePropagation"in t&&t.stopImmediatePropagation()}get returnValue(){return super.returnValue}set returnValue(t){super.returnValue=t;const{original:r}=Ll(this);"returnValue"in r&&(r.returnValue=t)}preventDefault(){super.preventDefault();const{original:t}=Ll(this);"preventDefault"in t&&t.preventDefault()}get timeStamp(){const{original:t}=Ll(this);return"timeStamp"in t?t.timeStamp:super.timeStamp}}const iP=new WeakMap;function Ll(e){const t=iP.get(e);return y2(t!=null,"'this' is expected an Event object, but got",e),t}const E0=new WeakMap;E0.set(Object.prototype,fm);typeof Oo<"u"&&typeof Oo.Event<"u"&&E0.set(Oo.Event.prototype,fm);function aP(e){const t=Object.getPrototypeOf(e);if(t==null)return fm;let r=E0.get(t);return r==null&&(r=F$(aP(t),t),E0.set(t,r)),r}function F$(e,t){class r extends e{}const n=Object.keys(t);for(let i=0;i<n.length;++i)Object.defineProperty(r.prototype,n[i],oP(t,n[i]));return r}function oP(e,t){const r=Object.getOwnPropertyDescriptor(e,t);return{get(){const n=Ll(this).original,i=n[t];return typeof i=="function"?i.bind(n):i},set(n){const i=Ll(this).original;i[t]=n},configurable:r.configurable,enumerable:r.enumerable}}function L$(e,t,r,n,i,a){return{callback:e,flags:(t?1:0)|(r?2:0)|(n?4:0),signal:i,signalListener:a}}function D$(e){e.flags|=8}function uP(e){return(e.flags&1)===1}function lP(e){return(e.flags&2)===2}function sP(e){return(e.flags&4)===4}function $$(e){return(e.flags&8)===8}function z$({callback:e},t,r){try{typeof e=="function"?e.call(t,r):typeof e.handleEvent=="function"&&e.handleEvent(r)}catch(n){T$(n)}}function fP({listeners:e},t,r){for(let n=0;n<e.length;++n)if(e[n].callback===t&&uP(e[n])===r)return n;return-1}function B$(e,t,r,n,i,a){let o;a&&(o=cP.bind(null,e,t,r),a.addEventListener("abort",o));const l=L$(t,r,n,i,a,o);return e.cow?(e.cow=!1,e.listeners=[...e.listeners,l]):e.listeners.push(l),l}function cP(e,t,r){const n=fP(e,t,r);return n!==-1?dP(e,n):!1}function dP(e,t,r=!1){const n=e.listeners[t];return D$(n),n.signal&&n.signal.removeEventListener("abort",n.signalListener),e.cow&&!r?(e.cow=!1,e.listeners=e.listeners.filter((i,a)=>a!==t),!1):(e.listeners.splice(t,1),!0)}function j$(){return Object.create(null)}function U$(e,t){var r;return(r=e[t])!==null&&r!==void 0?r:e[t]={attrCallback:void 0,attrListener:void 0,cow:!1,listeners:[]}}class b2{constructor(){hP.set(this,j$())}addEventListener(t,r,n){const i=o1(this),{callback:a,capture:o,once:l,passive:f,signal:c,type:p}=H$(t,r,n);if(a==null||(c==null?void 0:c.aborted))return;const _=U$(i,p),x=fP(_,a,o);if(x!==-1){G$(_.listeners[x],f,l,c);return}B$(_,a,o,f,l,c)}removeEventListener(t,r,n){const i=o1(this),{callback:a,capture:o,type:l}=W$(t,r,n),f=i[l];a!=null&&f&&cP(f,a,o)}dispatchEvent(t){const r=o1(this)[String(t.type)];if(r==null)return!0;const n=t instanceof el?t:fm.wrap(t),i=Wn(n,"event");if(i.dispatchFlag)throw I$("This event has been in dispatching.");if(i.dispatchFlag=!0,i.target=i.currentTarget=this,!i.stopPropagationFlag){const{cow:a,listeners:o}=r;r.cow=!0;for(let l=0;l<o.length;++l){const f=o[l];if(!$$(f)&&(sP(f)&&dP(r,l,!a)&&(l-=1),i.inPassiveListenerFlag=lP(f),z$(f,this,n),i.inPassiveListenerFlag=!1,i.stopImmediatePropagationFlag))break}a||(r.cow=!1)}return i.target=null,i.currentTarget=null,i.stopImmediatePropagationFlag=!1,i.stopPropagationFlag=!1,i.dispatchFlag=!1,!i.canceledFlag}}const hP=new WeakMap;function o1(e,t="this"){const r=hP.get(e);return y2(r!=null,"'%s' must be an object that EventTarget constructor created, but got another one: %o",t,e),r}function H$(e,t,r){var n;return pP(t),typeof r=="object"&&r!==null?{type:String(e),callback:t!=null?t:void 0,capture:Boolean(r.capture),passive:Boolean(r.passive),once:Boolean(r.once),signal:(n=r.signal)!==null&&n!==void 0?n:void 0}:{type:String(e),callback:t!=null?t:void 0,capture:Boolean(r),passive:!1,once:!1,signal:void 0}}function W$(e,t,r){return pP(t),typeof r=="object"&&r!==null?{type:String(e),callback:t!=null?t:void 0,capture:Boolean(r.capture)}:{type:String(e),callback:t!=null?t:void 0,capture:Boolean(r)}}function pP(e){if(!(typeof e=="function"||typeof e=="object"&&e!==null&&typeof e.handleEvent=="function")){if(e==null||typeof e=="object"){HA.warn(e);return}throw new TypeError(tP(HA.message,[e]))}}function G$(e,t,r,n){R$.warn(uP(e)?"capture":"bubble",e.callback),lP(e)!==t&&i1.warn("passive"),sP(e)!==r&&i1.warn("once"),e.signal!==n&&i1.warn("signal")}const u1=Object.getOwnPropertyNames(b2.prototype);for(let e=0;e<u1.length;++e)u1[e]!=="constructor"&&Object.defineProperty(b2.prototype,u1[e],{enumerable:!0});typeof Oo<"u"&&typeof Oo.EventTarget<"u"&&Object.setPrototypeOf(b2.prototype,Oo.EventTarget.prototype);var q$={exports:{}};/*! Native Promise Only
|
|
39
|
-
v0.8.1 (c) Kyle Simpson
|
|
40
|
-
MIT License: http://getify.mit-license.org
|
|
41
|
-
*/(function(e){(function(r,n,i){n[r]=n[r]||i(),e.exports&&(e.exports=n[r])})("Promise",typeof Jr<"u"?Jr:Jr,function(){var r,n,i,a=Object.prototype.toString,o=typeof setImmediate<"u"?function(P){return setImmediate(P)}:setTimeout;try{Object.defineProperty({},"x",{}),r=function(P,M,L,v){return Object.defineProperty(P,M,{value:L,writable:!0,configurable:v!==!1})}}catch{r=function(M,L,v){return M[L]=v,M}}i=function(){var P,M,L;function v(K,q){this.fn=K,this.self=q,this.next=void 0}return{add:function(q,ue){L=new v(q,ue),M?M.next=L:P=L,M=L,L=void 0},drain:function(){var q=P;for(P=M=n=void 0;q;)q.fn.call(q.self),q=q.next}}}();function l(T,P){i.add(T,P),n||(n=o(i.drain))}function f(T){var P,M=typeof T;return T!=null&&(M=="object"||M=="function")&&(P=T.then),typeof P=="function"?P:!1}function c(){for(var T=0;T<this.chain.length;T++)p(this,this.state===1?this.chain[T].success:this.chain[T].failure,this.chain[T]);this.chain.length=0}function p(T,P,M){var L,v;try{P===!1?M.reject(T.msg):(P===!0?L=T.msg:L=P.call(void 0,T.msg),L===M.promise?M.reject(TypeError("Promise-chain cycle")):(v=f(L))?v.call(L,M.resolve,M.reject):M.resolve(L))}catch(K){M.reject(K)}}function _(T){var P,M=this;if(!M.triggered){M.triggered=!0,M.def&&(M=M.def);try{(P=f(T))?l(function(){var L=new C(M);try{P.call(T,function(){_.apply(L,arguments)},function(){x.apply(L,arguments)})}catch(v){x.call(L,v)}}):(M.msg=T,M.state=1,M.chain.length>0&&l(c,M))}catch(L){x.call(new C(M),L)}}}function x(T){var P=this;P.triggered||(P.triggered=!0,P.def&&(P=P.def),P.msg=T,P.state=2,P.chain.length>0&&l(c,P))}function b(T,P,M,L){for(var v=0;v<P.length;v++)(function(q){T.resolve(P[q]).then(function(Ie){M(q,Ie)},L)})(v)}function C(T){this.def=T,this.triggered=!1}function R(T){this.promise=T,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function E(T){if(typeof T!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var P=new R(this);this.then=function(L,v){var K={success:typeof L=="function"?L:!0,failure:typeof v=="function"?v:!1};return K.promise=new this.constructor(function(ue,Ie){if(typeof ue!="function"||typeof Ie!="function")throw TypeError("Not a function");K.resolve=ue,K.reject=Ie}),P.chain.push(K),P.state!==0&&l(c,P),K.promise},this.catch=function(L){return this.then(void 0,L)};try{T.call(void 0,function(L){_.call(P,L)},function(L){x.call(P,L)})}catch(M){x.call(P,M)}}var S=r({},"constructor",E,!1);return E.prototype=S,r(S,"__NPO__",0,!1),r(E,"resolve",function(P){var M=this;return P&&typeof P=="object"&&P.__NPO__===1?P:new M(function(v,K){if(typeof v!="function"||typeof K!="function")throw TypeError("Not a function");v(P)})}),r(E,"reject",function(P){return new this(function(L,v){if(typeof L!="function"||typeof v!="function")throw TypeError("Not a function");v(P)})}),r(E,"all",function(P){var M=this;return a.call(P)!="[object Array]"?M.reject(TypeError("Not an array")):P.length===0?M.resolve([]):new M(function(v,K){if(typeof v!="function"||typeof K!="function")throw TypeError("Not a function");var q=P.length,ue=Array(q),Ie=0;b(M,P,function(De,Ye){ue[De]=Ye,++Ie===q&&v(ue)},K)})}),r(E,"race",function(P){var M=this;return a.call(P)!="[object Array]"?M.reject(TypeError("Not an array")):new M(function(v,K){if(typeof v!="function"||typeof K!="function")throw TypeError("Not a function");b(M,P,function(ue,Ie){v(Ie)},K)})}),E})})(q$);var V$={exports:{}};(function(e){(function(){var t={version:"3.8.0"},r=[].slice,n=function(u){return r.call(u)},i=self.document;function a(u){return u&&(u.ownerDocument||u.document||u).documentElement}function o(u){return u&&(u.ownerDocument&&u.ownerDocument.defaultView||u.document&&u||u.defaultView)}if(i)try{n(i.documentElement.childNodes)[0].nodeType}catch{n=function(s){for(var h=s.length,g=new Array(h);h--;)g[h]=s[h];return g}}if(Date.now||(Date.now=function(){return+new Date}),i)try{i.createElement("DIV").style.setProperty("opacity",0,"")}catch{var l=this.Element.prototype,f=l.setAttribute,c=l.setAttributeNS,p=this.CSSStyleDeclaration.prototype,_=p.setProperty;l.setAttribute=function(s,h){f.call(this,s,h+"")},l.setAttributeNS=function(s,h,g){c.call(this,s,h,g+"")},p.setProperty=function(s,h,g){_.call(this,s,h+"",g)}}t.ascending=x;function x(u,s){return u<s?-1:u>s?1:u>=s?0:NaN}t.descending=function(u,s){return s<u?-1:s>u?1:s>=u?0:NaN},t.min=function(u,s){var h=-1,g=u.length,y,w;if(arguments.length===1){for(;++h<g;)if((w=u[h])!=null&&w>=w){y=w;break}for(;++h<g;)(w=u[h])!=null&&y>w&&(y=w)}else{for(;++h<g;)if((w=s.call(u,u[h],h))!=null&&w>=w){y=w;break}for(;++h<g;)(w=s.call(u,u[h],h))!=null&&y>w&&(y=w)}return y},t.max=function(u,s){var h=-1,g=u.length,y,w;if(arguments.length===1){for(;++h<g;)if((w=u[h])!=null&&w>=w){y=w;break}for(;++h<g;)(w=u[h])!=null&&w>y&&(y=w)}else{for(;++h<g;)if((w=s.call(u,u[h],h))!=null&&w>=w){y=w;break}for(;++h<g;)(w=s.call(u,u[h],h))!=null&&w>y&&(y=w)}return y},t.extent=function(u,s){var h=-1,g=u.length,y,w,N;if(arguments.length===1){for(;++h<g;)if((w=u[h])!=null&&w>=w){y=N=w;break}for(;++h<g;)(w=u[h])!=null&&(y>w&&(y=w),N<w&&(N=w))}else{for(;++h<g;)if((w=s.call(u,u[h],h))!=null&&w>=w){y=N=w;break}for(;++h<g;)(w=s.call(u,u[h],h))!=null&&(y>w&&(y=w),N<w&&(N=w))}return[y,N]};function b(u){return u===null?NaN:+u}function C(u){return!isNaN(u)}t.sum=function(u,s){var h=0,g=u.length,y,w=-1;if(arguments.length===1)for(;++w<g;)C(y=+u[w])&&(h+=y);else for(;++w<g;)C(y=+s.call(u,u[w],w))&&(h+=y);return h},t.mean=function(u,s){var h=0,g=u.length,y,w=-1,N=g;if(arguments.length===1)for(;++w<g;)C(y=b(u[w]))?h+=y:--N;else for(;++w<g;)C(y=b(s.call(u,u[w],w)))?h+=y:--N;if(N)return h/N},t.quantile=function(u,s){var h=(u.length-1)*s+1,g=Math.floor(h),y=+u[g-1],w=h-g;return w?y+w*(u[g]-y):y},t.median=function(u,s){var h=[],g=u.length,y,w=-1;if(arguments.length===1)for(;++w<g;)C(y=b(u[w]))&&h.push(y);else for(;++w<g;)C(y=b(s.call(u,u[w],w)))&&h.push(y);if(h.length)return t.quantile(h.sort(x),.5)},t.variance=function(u,s){var h=u.length,g=0,y,w,N=0,O=-1,I=0;if(arguments.length===1)for(;++O<h;)C(y=b(u[O]))&&(w=y-g,g+=w/++I,N+=w*(y-g));else for(;++O<h;)C(y=b(s.call(u,u[O],O)))&&(w=y-g,g+=w/++I,N+=w*(y-g));if(I>1)return N/(I-1)},t.deviation=function(){var u=t.variance.apply(this,arguments);return u&&Math.sqrt(u)};function R(u){return{left:function(s,h,g,y){for(arguments.length<3&&(g=0),arguments.length<4&&(y=s.length);g<y;){var w=g+y>>>1;u(s[w],h)<0?g=w+1:y=w}return g},right:function(s,h,g,y){for(arguments.length<3&&(g=0),arguments.length<4&&(y=s.length);g<y;){var w=g+y>>>1;u(s[w],h)>0?y=w:g=w+1}return g}}}var E=R(x);t.bisectLeft=E.left,t.bisect=t.bisectRight=E.right,t.bisector=function(u){return R(u.length===1?function(s,h){return x(u(s),h)}:u)},t.shuffle=function(u,s,h){(g=arguments.length)<3&&(h=u.length,g<2&&(s=0));for(var g=h-s,y,w;g;)w=Math.random()*g--|0,y=u[g+s],u[g+s]=u[w+s],u[w+s]=y;return u},t.permute=function(u,s){for(var h=s.length,g=new Array(h);h--;)g[h]=u[s[h]];return g},t.pairs=function(u){for(var s=0,h=u.length-1,g=u[0],y=new Array(h<0?0:h);s<h;)y[s]=[g,g=u[++s]];return y},t.transpose=function(u){if(!(w=u.length))return[];for(var s=-1,h=t.min(u,S),g=new Array(h);++s<h;)for(var y=-1,w,N=g[s]=new Array(w);++y<w;)N[y]=u[y][s];return g};function S(u){return u.length}t.zip=function(){return t.transpose(arguments)},t.keys=function(u){var s=[];for(var h in u)s.push(h);return s},t.values=function(u){var s=[];for(var h in u)s.push(u[h]);return s},t.entries=function(u){var s=[];for(var h in u)s.push({key:h,value:u[h]});return s},t.merge=function(u){for(var s=u.length,h,g=-1,y=0,w,N;++g<s;)y+=u[g].length;for(w=new Array(y);--s>=0;)for(N=u[s],h=N.length;--h>=0;)w[--y]=N[h];return w};var T=Math.abs;t.range=function(u,s,h){if(arguments.length<3&&(h=1,arguments.length<2&&(s=u,u=0)),(s-u)/h===1/0)throw new Error("infinite range");var g=[],y=P(T(h)),w=-1,N;if(u*=y,s*=y,h*=y,h<0)for(;(N=u+h*++w)>s;)g.push(N/y);else for(;(N=u+h*++w)<s;)g.push(N/y);return g};function P(u){for(var s=1;u*s%1;)s*=10;return s}function M(u,s){for(var h in s)Object.defineProperty(u.prototype,h,{value:s[h],enumerable:!1})}t.map=function(u,s){var h=new L;if(u instanceof L)u.forEach(function(O,I){h.set(O,I)});else if(Array.isArray(u)){var g=-1,y=u.length,w;if(arguments.length===1)for(;++g<y;)h.set(g,u[g]);else for(;++g<y;)h.set(s.call(u,w=u[g],g),w)}else for(var N in u)h.set(N,u[N]);return h};function L(){this._=Object.create(null)}var v="__proto__",K="\0";M(L,{has:Ie,get:function(u){return this._[q(u)]},set:function(u,s){return this._[q(u)]=s},remove:Ce,keys:De,values:function(){var u=[];for(var s in this._)u.push(this._[s]);return u},entries:function(){var u=[];for(var s in this._)u.push({key:ue(s),value:this._[s]});return u},size:Ye,empty:Xe,forEach:function(u){for(var s in this._)u.call(this,ue(s),this._[s])}});function q(u){return(u+="")===v||u[0]===K?K+u:u}function ue(u){return(u+="")[0]===K?u.slice(1):u}function Ie(u){return q(u)in this._}function Ce(u){return(u=q(u))in this._&&delete this._[u]}function De(){var u=[];for(var s in this._)u.push(ue(s));return u}function Ye(){var u=0;for(var s in this._)++u;return u}function Xe(){for(var u in this._)return!1;return!0}t.nest=function(){var u={},s=[],h=[],g,y;function w(O,I,z){if(z>=s.length)return y?y.call(u,I):g?I.sort(g):I;for(var B=-1,H=I.length,W=s[z++],de,pe,V,ee=new L,ie;++B<H;)(ie=ee.get(de=W(pe=I[B])))?ie.push(pe):ee.set(de,[pe]);return O?(pe=O(),V=function(ve,ge){pe.set(ve,w(O,ge,z))}):(pe={},V=function(ve,ge){pe[ve]=w(O,ge,z)}),ee.forEach(V),pe}function N(O,I){if(I>=s.length)return O;var z=[],B=h[I++];return O.forEach(function(H,W){z.push({key:H,values:N(W,I)})}),B?z.sort(function(H,W){return B(H.key,W.key)}):z}return u.map=function(O,I){return w(I,O,0)},u.entries=function(O){return N(w(t.map,O,0),0)},u.key=function(O){return s.push(O),u},u.sortKeys=function(O){return h[s.length-1]=O,u},u.sortValues=function(O){return g=O,u},u.rollup=function(O){return y=O,u},u},t.set=function(u){var s=new Et;if(u)for(var h=0,g=u.length;h<g;++h)s.add(u[h]);return s};function Et(){this._=Object.create(null)}M(Et,{has:Ie,add:function(u){return this._[q(u+="")]=!0,u},remove:Ce,values:De,size:Ye,empty:Xe,forEach:function(u){for(var s in this._)u.call(this,ue(s))}}),t.behavior={};function yt(u){return u}t.rebind=function(u,s){for(var h=1,g=arguments.length,y;++h<g;)u[y=arguments[h]]=Ze(u,s,s[y]);return u};function Ze(u,s,h){return function(){var g=h.apply(s,arguments);return g===s?u:g}}function it(u,s){if(s in u)return s;s=s.charAt(0).toUpperCase()+s.slice(1);for(var h=0,g=Ut.length;h<g;++h){var y=Ut[h]+s;if(y in u)return y}}var Ut=["webkit","ms","moz","Moz","o","O"];function bt(){}t.dispatch=function(){for(var u=new Le,s=-1,h=arguments.length;++s<h;)u[arguments[s]]=ut(u);return u};function Le(){}Le.prototype.on=function(u,s){var h=u.indexOf("."),g="";if(h>=0&&(g=u.slice(h+1),u=u.slice(0,h)),u)return arguments.length<2?this[u].on(g):this[u].on(g,s);if(arguments.length===2){if(s==null)for(u in this)this.hasOwnProperty(u)&&this[u].on(g,null);return this}};function ut(u){var s=[],h=new L;function g(){for(var y=s,w=-1,N=y.length,O;++w<N;)(O=y[w].on)&&O.apply(this,arguments);return u}return g.on=function(y,w){var N=h.get(y),O;return arguments.length<2?N&&N.on:(N&&(N.on=null,s=s.slice(0,O=s.indexOf(N)).concat(s.slice(O+1)),h.remove(y)),w&&s.push(h.set(y,{on:w})),u)},g}t.event=null;function At(){t.event.preventDefault()}function st(){for(var u=t.event,s;s=u.sourceEvent;)u=s;return u}function Ct(u){for(var s=new Le,h=0,g=arguments.length;++h<g;)s[arguments[h]]=ut(s);return s.of=function(y,w){return function(N){try{var O=N.sourceEvent=t.event;N.target=u,t.event=N,s[N.type].apply(y,w)}finally{t.event=O}}},s}t.requote=function(u){return u.replace(Lt,"\\$&")};var Lt=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,hr={}.__proto__?function(u,s){u.__proto__=s}:function(u,s){for(var h in s)u[h]=s[h]};function mr(u){return hr(u,je),u}var at=function(u,s){return s.querySelector(u)},Gt=function(u,s){return s.querySelectorAll(u)},fr=function(u,s){var h=u.matches||u[it(u,"matchesSelector")];return fr=function(g,y){return h.call(g,y)},fr(u,s)};typeof Sizzle=="function"&&(at=function(u,s){return Sizzle(u,s)[0]||null},Gt=Sizzle,fr=Sizzle.matchesSelector),t.selection=function(){return t.select(i.documentElement)};var je=t.selection.prototype=[];je.select=function(u){var s=[],h,g,y,w;u=Y(u);for(var N=-1,O=this.length;++N<O;){s.push(h=[]),h.parentNode=(y=this[N]).parentNode;for(var I=-1,z=y.length;++I<z;)(w=y[I])?(h.push(g=u.call(w,w.__data__,I,N)),g&&"__data__"in w&&(g.__data__=w.__data__)):h.push(null)}return mr(s)};function Y(u){return typeof u=="function"?u:function(){return at(u,this)}}je.selectAll=function(u){var s=[],h,g;u=he(u);for(var y=-1,w=this.length;++y<w;)for(var N=this[y],O=-1,I=N.length;++O<I;)(g=N[O])&&(s.push(h=n(u.call(g,g.__data__,O,y))),h.parentNode=g);return mr(s)};function he(u){return typeof u=="function"?u:function(){return Gt(u,this)}}var J="http://www.w3.org/1999/xhtml",Te={svg:"http://www.w3.org/2000/svg",xhtml:J,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};t.ns={prefix:Te,qualify:function(u){var s=u.indexOf(":"),h=u;return s>=0&&(h=u.slice(0,s))!=="xmlns"&&(u=u.slice(s+1)),Te.hasOwnProperty(h)?{space:Te[h],local:u}:u}},je.attr=function(u,s){if(arguments.length<2){if(typeof u=="string"){var h=this.node();return u=t.ns.qualify(u),u.local?h.getAttributeNS(u.space,u.local):h.getAttribute(u)}for(s in u)this.each(wt(s,u[s]));return this}return this.each(wt(u,s))};function wt(u,s){u=t.ns.qualify(u);function h(){this.removeAttribute(u)}function g(){this.removeAttributeNS(u.space,u.local)}function y(){this.setAttribute(u,s)}function w(){this.setAttributeNS(u.space,u.local,s)}function N(){var I=s.apply(this,arguments);I==null?this.removeAttribute(u):this.setAttribute(u,I)}function O(){var I=s.apply(this,arguments);I==null?this.removeAttributeNS(u.space,u.local):this.setAttributeNS(u.space,u.local,I)}return s==null?u.local?g:h:typeof s=="function"?u.local?O:N:u.local?w:y}function Dt(u){return u.trim().replace(/\s+/g," ")}je.classed=function(u,s){if(arguments.length<2){if(typeof u=="string"){var h=this.node(),g=(u=qr(u)).length,y=-1;if(s=h.classList){for(;++y<g;)if(!s.contains(u[y]))return!1}else for(s=h.getAttribute("class");++y<g;)if(!kr(u[y]).test(s))return!1;return!0}for(s in u)this.each(en(s,u[s]));return this}return this.each(en(u,s))};function kr(u){return new RegExp("(?:^|\\s+)"+t.requote(u)+"(?:\\s+|$)","g")}function qr(u){return(u+"").trim().split(/^|\s+/)}function en(u,s){u=qr(u).map(qn);var h=u.length;function g(){for(var w=-1;++w<h;)u[w](this,s)}function y(){for(var w=-1,N=s.apply(this,arguments);++w<h;)u[w](this,N)}return typeof s=="function"?y:g}function qn(u){var s=kr(u);return function(h,g){if(y=h.classList)return g?y.add(u):y.remove(u);var y=h.getAttribute("class")||"";g?(s.lastIndex=0,s.test(y)||h.setAttribute("class",Dt(y+" "+u))):h.setAttribute("class",Dt(y.replace(s," ")))}}je.style=function(u,s,h){var g=arguments.length;if(g<3){if(typeof u!="string"){g<2&&(s="");for(h in u)this.each(Li(h,u[h],s));return this}if(g<2){var y=this.node();return o(y).getComputedStyle(y,null).getPropertyValue(u)}h=""}return this.each(Li(u,s,h))};function Li(u,s,h){function g(){this.style.removeProperty(u)}function y(){this.style.setProperty(u,s,h)}function w(){var N=s.apply(this,arguments);N==null?this.style.removeProperty(u):this.style.setProperty(u,N,h)}return s==null?g:typeof s=="function"?w:y}je.property=function(u,s){if(arguments.length<2){if(typeof u=="string")return this.node()[u];for(s in u)this.each(hn(s,u[s]));return this}return this.each(hn(u,s))};function hn(u,s){function h(){delete this[u]}function g(){this[u]=s}function y(){var w=s.apply(this,arguments);w==null?delete this[u]:this[u]=w}return s==null?h:typeof s=="function"?y:g}je.text=function(u){return arguments.length?this.each(typeof u=="function"?function(){var s=u.apply(this,arguments);this.textContent=s==null?"":s}:u==null?function(){this.textContent=""}:function(){this.textContent=u}):this.node().textContent},je.html=function(u){return arguments.length?this.each(typeof u=="function"?function(){var s=u.apply(this,arguments);this.innerHTML=s==null?"":s}:u==null?function(){this.innerHTML=""}:function(){this.innerHTML=u}):this.node().innerHTML},je.append=function(u){return u=$a(u),this.select(function(){return this.appendChild(u.apply(this,arguments))})};function $a(u){function s(){var g=this.ownerDocument,y=this.namespaceURI;return y===J&&g.documentElement.namespaceURI===J?g.createElement(u):g.createElementNS(y,u)}function h(){return this.ownerDocument.createElementNS(u.space,u.local)}return typeof u=="function"?u:(u=t.ns.qualify(u)).local?h:s}je.insert=function(u,s){return u=$a(u),s=Y(s),this.select(function(){return this.insertBefore(u.apply(this,arguments),s.apply(this,arguments)||null)})},je.remove=function(){return this.each(Po)};function Po(){var u=this.parentNode;u&&u.removeChild(this)}je.data=function(u,s){var h=-1,g=this.length,y,w;if(!arguments.length){for(u=new Array(g=(y=this[0]).length);++h<g;)(w=y[h])&&(u[h]=w.__data__);return u}function N(B,H){var W,de=B.length,pe=H.length,V=Math.min(de,pe),ee=new Array(pe),ie=new Array(pe),ve=new Array(de),ge,se;if(s){var qe=new L,tt=new Array(de),gt;for(W=-1;++W<de;)(ge=B[W])&&(qe.has(gt=s.call(ge,ge.__data__,W))?ve[W]=ge:qe.set(gt,ge),tt[W]=gt);for(W=-1;++W<pe;)(ge=qe.get(gt=s.call(H,se=H[W],W)))?ge!==!0&&(ee[W]=ge,ge.__data__=se):ie[W]=gs(se),qe.set(gt,!0);for(W=-1;++W<de;)W in tt&&qe.get(tt[W])!==!0&&(ve[W]=B[W])}else{for(W=-1;++W<V;)ge=B[W],se=H[W],ge?(ge.__data__=se,ee[W]=ge):ie[W]=gs(se);for(;W<pe;++W)ie[W]=gs(H[W]);for(;W<de;++W)ve[W]=B[W]}ie.update=ee,ie.parentNode=ee.parentNode=ve.parentNode=B.parentNode,O.push(ie),I.push(ee),z.push(ve)}var O=Pf([]),I=mr([]),z=mr([]);if(typeof u=="function")for(;++h<g;)N(y=this[h],u.call(y,y.parentNode.__data__,h));else for(;++h<g;)N(y=this[h],u);return I.enter=function(){return O},I.exit=function(){return z},I};function gs(u){return{__data__:u}}je.datum=function(u){return arguments.length?this.property("__data__",u):this.property("__data__")},je.filter=function(u){var s=[],h,g,y;typeof u!="function"&&(u=pu(u));for(var w=0,N=this.length;w<N;w++){s.push(h=[]),h.parentNode=(g=this[w]).parentNode;for(var O=0,I=g.length;O<I;O++)(y=g[O])&&u.call(y,y.__data__,O,w)&&h.push(y)}return mr(s)};function pu(u){return function(){return fr(this,u)}}je.order=function(){for(var u=-1,s=this.length;++u<s;)for(var h=this[u],g=h.length-1,y=h[g],w;--g>=0;)(w=h[g])&&(y&&y!==w.nextSibling&&y.parentNode.insertBefore(w,y),y=w);return this},je.sort=function(u){u=vu.apply(this,arguments);for(var s=-1,h=this.length;++s<h;)this[s].sort(u);return this.order()};function vu(u){return arguments.length||(u=x),function(s,h){return s&&h?u(s.__data__,h.__data__):!s-!h}}je.each=function(u){return qi(this,function(s,h,g){u.call(s,s.__data__,h,g)})};function qi(u,s){for(var h=0,g=u.length;h<g;h++)for(var y=u[h],w=0,N=y.length,O;w<N;w++)(O=y[w])&&s(O,w,h);return u}je.call=function(u){var s=n(arguments);return u.apply(s[0]=this,s),this},je.empty=function(){return!this.node()},je.node=function(){for(var u=0,s=this.length;u<s;u++)for(var h=this[u],g=0,y=h.length;g<y;g++){var w=h[g];if(w)return w}return null},je.size=function(){var u=0;return qi(this,function(){++u}),u};function Pf(u){return hr(u,li),u}var li=[];t.selection.enter=Pf,t.selection.enter.prototype=li,li.append=je.append,li.empty=je.empty,li.node=je.node,li.call=je.call,li.size=je.size,li.select=function(u){for(var s=[],h,g,y,w,N,O=-1,I=this.length;++O<I;){y=(w=this[O]).update,s.push(h=[]),h.parentNode=w.parentNode;for(var z=-1,B=w.length;++z<B;)(N=w[z])?(h.push(y[z]=g=u.call(w.parentNode,N.__data__,z,O)),g.__data__=N.__data__):h.push(null)}return mr(s)},li.insert=function(u,s){return arguments.length<2&&(s=ma(this)),je.insert.call(this,u,s)};function ma(u){var s,h;return function(g,y,w){var N=u[w].update,O=N.length,I;for(w!=h&&(h=w,s=0),y>=s&&(s=y+1);!(I=N[s])&&++s<O;);return I}}t.select=function(u){var s;return typeof u=="string"?(s=[at(u,i)],s.parentNode=i.documentElement):(s=[u],s.parentNode=a(u)),mr([s])},t.selectAll=function(u){var s;return typeof u=="string"?(s=n(Gt(u,i)),s.parentNode=i.documentElement):(s=n(u),s.parentNode=null),mr([s])},je.on=function(u,s,h){var g=arguments.length;if(g<3){if(typeof u!="string"){g<2&&(s=!1);for(h in u)this.each(gu(h,u[h],s));return this}if(g<2)return(g=this.node()["__on"+u])&&g._;h=!1}return this.each(gu(u,s,h))};function gu(u,s,h){var g="__on"+u,y=u.indexOf("."),w=Vn;y>0&&(u=u.slice(0,y));var N=mu.get(u);N&&(u=N,w=si);function O(){var B=this[g];B&&(this.removeEventListener(u,B,B.$),delete this[g])}function I(){var B=w(s,n(arguments));O.call(this),this.addEventListener(u,this[g]=B,B.$=h),B._=s}function z(){var B=new RegExp("^__on([^.]+)"+t.requote(u)+"$"),H;for(var W in this)if(H=W.match(B)){var de=this[W];this.removeEventListener(H[1],de,de.$),delete this[W]}}return y?s?I:O:s?bt:z}var mu=t.map({mouseenter:"mouseover",mouseleave:"mouseout"});i&&mu.forEach(function(u){"on"+u in i&&mu.remove(u)});function Vn(u,s){return function(h){var g=t.event;t.event=h,s[0]=this.__data__;try{u.apply(this,s)}finally{t.event=g}}}function si(u,s){var h=Vn(u,s);return function(g){var y=this,w=g.relatedTarget;(!w||w!==y&&!(w.compareDocumentPosition(y)&8))&&h.call(y,g)}}var ya,Ad=0;function yu(u){var s=".dragsuppress-"+ ++Ad,h="click"+s,g=t.select(o(u)).on("touchmove"+s,At).on("dragstart"+s,At).on("selectstart"+s,At);if(ya==null&&(ya="onselectstart"in u?!1:it(u.style,"userSelect")),ya){var y=a(u).style,w=y[ya];y[ya]="none"}return function(N){if(g.on(s,null),ya&&(y[ya]=w),N){var O=function(){g.on(h,null)};g.on(h,function(){At(),O()},!0),setTimeout(O,0)}}}t.mouse=function(u){return jn(u,st())};var Pn=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function jn(u,s){s.changedTouches&&(s=s.changedTouches[0]);var h=u.ownerSVGElement||u;if(h.createSVGPoint){var g=h.createSVGPoint();if(Pn<0){var y=o(u);if(y.scrollX||y.scrollY){h=t.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var w=h[0][0].getScreenCTM();Pn=!(w.f||w.e),h.remove()}}return Pn?(g.x=s.pageX,g.y=s.pageY):(g.x=s.clientX,g.y=s.clientY),g=g.matrixTransform(u.getScreenCTM().inverse()),[g.x,g.y]}var N=u.getBoundingClientRect();return[s.clientX-N.left-u.clientLeft,s.clientY-N.top-u.clientTop]}t.touch=function(u,s,h){if(arguments.length<3&&(h=s,s=st().changedTouches),s){for(var g=0,y=s.length,w;g<y;++g)if((w=s[g]).identifier===h)return jn(u,w)}},t.behavior.drag=function(){var u=Ct(y,"drag","dragstart","dragend"),s=null,h=w(bt,t.mouse,o,"mousemove","mouseup"),g=w(Nn,t.touch,yt,"touchmove","touchend");function y(){this.on("mousedown.drag",h).on("touchstart.drag",g)}function w(N,O,I,z,B){return function(){var H=this,W=t.event.target.correspondingElement||t.event.target,de=H.parentNode,pe=u.of(H,arguments),V=0,ee=N(),ie=".drag"+(ee==null?"":"-"+ee),ve,ge=t.select(I(W)).on(z+ie,tt).on(B+ie,gt),se=yu(W),qe=O(de,ee);s?(ve=s.apply(H,arguments),ve=[ve.x-qe[0],ve.y-qe[1]]):ve=[0,0],pe({type:"dragstart"});function tt(){var rt=O(de,ee),_t,Rt;!rt||(_t=rt[0]-qe[0],Rt=rt[1]-qe[1],V|=_t|Rt,qe=rt,pe({type:"drag",x:rt[0]+ve[0],y:rt[1]+ve[1],dx:_t,dy:Rt}))}function gt(){!O(de,ee)||(ge.on(z+ie,null).on(B+ie,null),se(V),pe({type:"dragend"}))}}}return y.origin=function(N){return arguments.length?(s=N,y):s},t.rebind(y,u,"on")};function Nn(){return t.event.changedTouches[0].identifier}t.touches=function(u,s){return arguments.length<2&&(s=st().touches),s?n(s).map(function(h){var g=jn(u,h);return g.identifier=h.identifier,g}):[]};var Pr=1e-6,Nf=Pr*Pr,Vi=Math.PI,ba=2*Vi,Rf=ba-Pr,ia=Vi/2,If=Vi/180,No=180/Vi;function Td(u,s,h){return(s[0]-u[0])*(h[1]-u[1])-(s[1]-u[1])*(h[0]-u[0])}function Ff(u){return u>1?ia:u<-1?-ia:Math.asin(u)}function Lf(u){return((u=Math.exp(u))-1/u)/2}function Df(u){return((u=Math.exp(u))+1/u)/2}function Ro(u){return((u=Math.exp(2*u))-1)/(u+1)}var Io=Math.SQRT2,bu=2,xu=4;t.interpolateZoom=function(u,s){var h=u[0],g=u[1],y=u[2],w=s[0],N=s[1],O=s[2],I=w-h,z=N-g,B=I*I+z*z,H,W;if(B<Nf)W=Math.log(O/y)/Io,H=function(ve){return[h+ve*I,g+ve*z,y*Math.exp(Io*ve*W)]};else{var de=Math.sqrt(B),pe=(O*O-y*y+xu*B)/(2*y*bu*de),V=(O*O-y*y-xu*B)/(2*O*bu*de),ee=Math.log(Math.sqrt(pe*pe+1)-pe),ie=Math.log(Math.sqrt(V*V+1)-V);W=(ie-ee)/Io,H=function(ve){var ge=ve*W,se=Df(ee),qe=y/(bu*de)*(se*Ro(Io*ge+ee)-Lf(ee));return[h+qe*I,g+qe*z,y*se/Df(Io*ge+ee)]}}return H.duration=W*1e3,H},t.behavior.zoom=function(){var u={x:0,y:0,k:1},s,h,g,y=[960,500],w=Fo,N=250,O=0,I="mousedown.zoom",z="mousemove.zoom",B="mouseup.zoom",H,W="touchstart.zoom",de,pe=Ct(ge,"zoomstart","zoom","zoomend"),V,ee,ie,ve;so||(so="onwheel"in i?(il=function(){return-t.event.deltaY*(t.event.deltaMode?120:1)},"wheel"):"onmousewheel"in i?(il=function(){return t.event.wheelDelta},"mousewheel"):(il=function(){return-t.event.detail},"MozMousePixelScroll"));function ge(mt){mt.on(I,sr).on(so+".zoom",vn).on("dblclick.zoom",Hr).on(W,Ir)}ge.event=function(mt){mt.each(function(){var gr=pe.of(this,arguments),xr=u;wo?t.select(this).transition().each("start.zoom",function(){u=this.__chart__||{x:0,y:0,k:1},Rt(gr)}).tween("zoom:zoom",function(){var Fr=y[0],un=y[1],En=h?h[0]:Fr/2,$n=h?h[1]:un/2,gi=t.interpolateZoom([(En-u.x)/u.k,($n-u.y)/u.k,Fr/u.k],[(En-xr.x)/xr.k,($n-xr.y)/xr.k,Fr/xr.k]);return function(Ci){var ei=gi(Ci),zi=Fr/ei[2];this.__chart__=u={x:En-ei[0]*zi,y:$n-ei[1]*zi,k:zi},vr(gr)}}).each("interrupt.zoom",function(){Bt(gr)}).each("end.zoom",function(){Bt(gr)}):(this.__chart__=u,Rt(gr),vr(gr),Bt(gr))})},ge.translate=function(mt){return arguments.length?(u={x:+mt[0],y:+mt[1],k:u.k},_t(),ge):[u.x,u.y]},ge.scale=function(mt){return arguments.length?(u={x:u.x,y:u.y,k:null},tt(+mt),_t(),ge):u.k},ge.scaleExtent=function(mt){return arguments.length?(w=mt==null?Fo:[+mt[0],+mt[1]],ge):w},ge.center=function(mt){return arguments.length?(g=mt&&[+mt[0],+mt[1]],ge):g},ge.size=function(mt){return arguments.length?(y=mt&&[+mt[0],+mt[1]],ge):y},ge.duration=function(mt){return arguments.length?(N=+mt,ge):N},ge.x=function(mt){return arguments.length?(ee=mt,V=mt.copy(),u={x:0,y:0,k:1},ge):ee},ge.y=function(mt){return arguments.length?(ve=mt,ie=mt.copy(),u={x:0,y:0,k:1},ge):ve};function se(mt){return[(mt[0]-u.x)/u.k,(mt[1]-u.y)/u.k]}function qe(mt){return[mt[0]*u.k+u.x,mt[1]*u.k+u.y]}function tt(mt){u.k=Math.max(w[0],Math.min(w[1],mt))}function gt(mt,gr){gr=qe(gr),u.x+=mt[0]-gr[0],u.y+=mt[1]-gr[1]}function rt(mt,gr,xr,Fr){mt.__chart__={x:u.x,y:u.y,k:u.k},tt(Math.pow(2,Fr)),gt(h=gr,xr),mt=t.select(mt),N>0&&(mt=mt.transition().duration(N)),mt.call(ge.event)}function _t(){ee&&ee.domain(V.range().map(function(mt){return(mt-u.x)/u.k}).map(V.invert)),ve&&ve.domain(ie.range().map(function(mt){return(mt-u.y)/u.k}).map(ie.invert))}function Rt(mt){O++||mt({type:"zoomstart"})}function vr(mt){_t(),mt({type:"zoom",scale:u.k,translate:[u.x,u.y]})}function Bt(mt){--O||(mt({type:"zoomend"}),h=null)}function sr(){var mt=this,gr=pe.of(mt,arguments),xr=0,Fr=t.select(o(mt)).on(z,$n).on(B,gi),un=se(t.mouse(mt)),En=yu(mt);uc.call(mt),Rt(gr);function $n(){xr=1,gt(t.mouse(mt),un),vr(gr)}function gi(){Fr.on(z,null).on(B,null),En(xr),Bt(gr)}}function Ir(){var mt=this,gr=pe.of(mt,arguments),xr={},Fr=0,un,En=".zoom-"+t.event.changedTouches[0].identifier,$n="touchmove"+En,gi="touchend"+En,Ci=[],ei=t.select(mt),zi=yu(mt);X(),Rt(gr),ei.on(I,null).on(W,X);function F(){var He=t.touches(mt);return un=u.k,He.forEach(function(Me){Me.identifier in xr&&(xr[Me.identifier]=se(Me))}),He}function X(){var He=t.event.target;t.select(He).on($n,ne).on(gi,Fe),Ci.push(He);for(var Me=t.event.changedTouches,Ne=0,ft=Me.length;Ne<ft;++Ne)xr[Me[Ne].identifier]=null;var ct=F(),vt=Date.now();if(ct.length===1){if(vt-de<500){var Ot=ct[0];rt(mt,Ot,xr[Ot.identifier],Math.floor(Math.log(u.k)/Math.LN2)+1),At()}de=vt}else if(ct.length>1){var Ot=ct[0],Zt=ct[1],Ht=Ot[0]-Zt[0],xt=Ot[1]-Zt[1];Fr=Ht*Ht+xt*xt}}function ne(){var He=t.touches(mt),Me,Ne,ft,ct;uc.call(mt);for(var vt=0,Ot=He.length;vt<Ot;++vt,ct=null)if(ft=He[vt],ct=xr[ft.identifier]){if(Ne)break;Me=ft,Ne=ct}if(ct){var Zt=(Zt=ft[0]-Me[0])*Zt+(Zt=ft[1]-Me[1])*Zt,Ht=Fr&&Math.sqrt(Zt/Fr);Me=[(Me[0]+ft[0])/2,(Me[1]+ft[1])/2],Ne=[(Ne[0]+ct[0])/2,(Ne[1]+ct[1])/2],tt(Ht*un)}de=null,gt(Me,Ne),vr(gr)}function Fe(){if(t.event.touches.length){for(var He=t.event.changedTouches,Me=0,Ne=He.length;Me<Ne;++Me)delete xr[He[Me].identifier];for(var ft in xr)return void F()}t.selectAll(Ci).on(En,null),ei.on(I,sr).on(W,Ir),zi(),Bt(gr)}}function vn(){var mt=pe.of(this,arguments);H?clearTimeout(H):(uc.call(this),s=se(h=g||t.mouse(this)),Rt(mt)),H=setTimeout(function(){H=null,Bt(mt)},50),At(),tt(Math.pow(2,il()*.002)*u.k),gt(h,s),vr(mt)}function Hr(){var mt=t.mouse(this),gr=Math.log(u.k)/Math.LN2;rt(this,mt,se(mt),t.event.shiftKey?Math.ceil(gr)-1:Math.floor(gr)+1)}return t.rebind(ge,pe,"on")};var Fo=[0,1/0],il,so;t.color=xa;function xa(){}xa.prototype.toString=function(){return this.rgb()+""},t.hsl=Ei;function Ei(u,s,h){return this instanceof Ei?(this.h=+u,this.s=+s,void(this.l=+h)):arguments.length<2?u instanceof Ei?new Ei(u.h,u.s,u.l):vo(""+u,Ai,Ei):new Ei(u,s,h)}var wu=Ei.prototype=new xa;wu.brighter=function(u){return u=Math.pow(.7,arguments.length?u:1),new Ei(this.h,this.s,this.l/u)},wu.darker=function(u){return u=Math.pow(.7,arguments.length?u:1),new Ei(this.h,this.s,u*this.l)},wu.rgb=function(){return _u(this.h,this.s,this.l)};function _u(u,s,h){var g,y;u=isNaN(u)?0:(u%=360)<0?u+360:u,s=isNaN(s)||s<0?0:s>1?1:s,h=h<0?0:h>1?1:h,y=h<=.5?h*(1+s):h+s-h*s,g=2*h-y;function w(O){return O>360?O-=360:O<0&&(O+=360),O<60?g+(y-g)*O/60:O<180?y:O<240?g+(y-g)*(240-O)/60:g}function N(O){return Math.round(w(O)*255)}return new Cn(N(u+120),N(u),N(u-120))}t.hcl=Yi;function Yi(u,s,h){return this instanceof Yi?(this.h=+u,this.c=+s,void(this.l=+h)):arguments.length<2?u instanceof Yi?new Yi(u.h,u.c,u.l):u instanceof Tn?ho(u.l,u.a,u.b):ho((u=za((u=t.rgb(u)).r,u.g,u.b)).l,u.a,u.b):new Yi(u,s,h)}var fo=Yi.prototype=new xa;fo.brighter=function(u){return new Yi(this.h,this.c,Math.min(100,this.l+co*(arguments.length?u:1)))},fo.darker=function(u){return new Yi(this.h,this.c,Math.max(0,this.l-co*(arguments.length?u:1)))},fo.rgb=function(){return Su(this.h,this.c,this.l).rgb()};function Su(u,s,h){return isNaN(u)&&(u=0),isNaN(s)&&(s=0),new Tn(h,Math.cos(u*=If)*s,Math.sin(u)*s)}t.lab=Tn;function Tn(u,s,h){return this instanceof Tn?(this.l=+u,this.a=+s,void(this.b=+h)):arguments.length<2?u instanceof Tn?new Tn(u.l,u.a,u.b):u instanceof Yi?Su(u.h,u.c,u.l):za((u=Cn(u)).r,u.g,u.b):new Tn(u,s,h)}var co=18,al=.95047,ol=1,ul=1.08883,ll=Tn.prototype=new xa;ll.brighter=function(u){return new Tn(Math.min(100,this.l+co*(arguments.length?u:1)),this.a,this.b)},ll.darker=function(u){return new Tn(Math.max(0,this.l-co*(arguments.length?u:1)),this.a,this.b)},ll.rgb=function(){return Yn(this.l,this.a,this.b)};function Yn(u,s,h){var g=(u+16)/116,y=g+s/500,w=g-h/200;return y=Lo(y)*al,g=Lo(g)*ol,w=Lo(w)*ul,new Cn(ys(3.2404542*y-1.5371385*g-.4985314*w),ys(-.969266*y+1.8760108*g+.041556*w),ys(.0556434*y-.2040259*g+1.0572252*w))}function ho(u,s,h){return u>0?new Yi(Math.atan2(h,s)*No,Math.sqrt(s*s+h*h),u):new Yi(NaN,NaN,u)}function Lo(u){return u>.206893034?u*u*u:(u-4/29)/7.787037}function ms(u){return u>.008856?Math.pow(u,1/3):7.787037*u+4/29}function ys(u){return Math.round(255*(u<=.00304?12.92*u:1.055*Math.pow(u,1/2.4)-.055))}t.rgb=Cn;function Cn(u,s,h){return this instanceof Cn?(this.r=~~u,this.g=~~s,void(this.b=~~h)):arguments.length<2?u instanceof Cn?new Cn(u.r,u.g,u.b):vo(""+u,Cn,_u):new Cn(u,s,h)}function bs(u){return new Cn(u>>16,u>>8&255,u&255)}function po(u){return bs(u)+""}var wa=Cn.prototype=new xa;wa.brighter=function(u){u=Math.pow(.7,arguments.length?u:1);var s=this.r,h=this.g,g=this.b,y=30;return!s&&!h&&!g?new Cn(y,y,y):(s&&s<y&&(s=y),h&&h<y&&(h=y),g&&g<y&&(g=y),new Cn(Math.min(255,s/u),Math.min(255,h/u),Math.min(255,g/u)))},wa.darker=function(u){return u=Math.pow(.7,arguments.length?u:1),new Cn(u*this.r,u*this.g,u*this.b)},wa.hsl=function(){return Ai(this.r,this.g,this.b)},wa.toString=function(){return"#"+Do(this.r)+Do(this.g)+Do(this.b)};function Do(u){return u<16?"0"+Math.max(0,u).toString(16):Math.min(255,u).toString(16)}function vo(u,s,h){var g=0,y=0,w=0,N,O,I;if(N=/([a-z]+)\((.*)\)/.exec(u=u.toLowerCase()),N)switch(O=N[2].split(","),N[1]){case"hsl":return h(parseFloat(O[0]),parseFloat(O[1])/100,parseFloat(O[2])/100);case"rgb":return s(ja(O[0]),ja(O[1]),ja(O[2]))}return(I=$o.get(u))?s(I.r,I.g,I.b):(u!=null&&u.charAt(0)==="#"&&!isNaN(I=parseInt(u.slice(1),16))&&(u.length===4?(g=(I&3840)>>4,g=g>>4|g,y=I&240,y=y>>4|y,w=I&15,w=w<<4|w):u.length===7&&(g=(I&16711680)>>16,y=(I&65280)>>8,w=I&255)),s(g,y,w))}function Ai(u,s,h){var g=Math.min(u/=255,s/=255,h/=255),y=Math.max(u,s,h),w=y-g,N,O,I=(y+g)/2;return w?(O=I<.5?w/(y+g):w/(2-y-g),u==y?N=(s-h)/w+(s<h?6:0):s==y?N=(h-u)/w+2:N=(u-s)/w+4,N*=60):(N=NaN,O=I>0&&I<1?0:N),new Ei(N,O,I)}function za(u,s,h){u=Ba(u),s=Ba(s),h=Ba(h);var g=ms((.4124564*u+.3575761*s+.1804375*h)/al),y=ms((.2126729*u+.7151522*s+.072175*h)/ol),w=ms((.0193339*u+.119192*s+.9503041*h)/ul);return Tn(116*y-16,500*(g-y),200*(y-w))}function Ba(u){return(u/=255)<=.04045?u/12.92:Math.pow((u+.055)/1.055,2.4)}function ja(u){var s=parseFloat(u);return u.charAt(u.length-1)==="%"?Math.round(s*2.55):s}var $o=t.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});$o.forEach(function(u,s){$o.set(u,bs(s))});function Rr(u){return typeof u=="function"?u:function(){return u}}t.functor=Rr,t.xhr=_a(yt);function _a(u){return function(s,h,g){return arguments.length===2&&typeof h=="function"&&(g=h,h=null),zo(s,h,u,g)}}function zo(u,s,h,g){var y={},w=t.dispatch("beforesend","progress","load","error"),N={},O=new XMLHttpRequest,I=null;self.XDomainRequest&&!("withCredentials"in O)&&/^(http(s)?:)?\/\//.test(u)&&(O=new XDomainRequest),"onload"in O?O.onload=O.onerror=z:O.onreadystatechange=function(){O.readyState>3&&z()};function z(){var B=O.status,H;if(!B&&zf(O)||B>=200&&B<300||B===304){try{H=h.call(y,O)}catch(W){w.error.call(y,W);return}w.load.call(y,H)}else w.error.call(y,O)}return O.onprogress=function(B){var H=t.event;t.event=B;try{w.progress.call(y,O)}finally{t.event=H}},y.header=function(B,H){return B=(B+"").toLowerCase(),arguments.length<2?N[B]:(H==null?delete N[B]:N[B]=H+"",y)},y.mimeType=function(B){return arguments.length?(s=B==null?null:B+"",y):s},y.responseType=function(B){return arguments.length?(I=B,y):I},y.response=function(B){return h=B,y},["get","post"].forEach(function(B){y[B]=function(){return y.send.apply(y,[B].concat(n(arguments)))}}),y.send=function(B,H,W){if(arguments.length===2&&typeof H=="function"&&(W=H,H=null),O.open(B,u,!0),s!=null&&!("accept"in N)&&(N.accept=s+",*/*"),O.setRequestHeader)for(var de in N)O.setRequestHeader(de,N[de]);return s!=null&&O.overrideMimeType&&O.overrideMimeType(s),I!=null&&(O.responseType=I),W!=null&&y.on("error",W).on("load",function(pe){W(null,pe)}),w.beforesend.call(y,O),O.send(H==null?null:H),y},y.abort=function(){return O.abort(),y},t.rebind(y,w,"on"),g==null?y:y.get($f(g))}function $f(u){return u.length===1?function(s,h){u(s==null?h:null)}:u}function zf(u){var s=u.responseType;return s&&s!=="text"?u.response:u.responseText}t.dsv=function(u,s){var h=new RegExp('["'+u+`
|
|
42
|
-
]`),g=u.charCodeAt(0);function y(z,B,H){arguments.length<3&&(H=B,B=null);var W=zo(z,s,B==null?w:N(B),H);return W.row=function(de){return arguments.length?W.response((B=de)==null?w:N(de)):B},W}function w(z){return y.parse(z.responseText)}function N(z){return function(B){return y.parse(B.responseText,z)}}y.parse=function(z,B){var H;return y.parseRows(z,function(W,de){if(H)return H(W,de-1);var pe=function(V){for(var ee={},ie=W.length,ve=0;ve<ie;++ve)ee[W[ve]]=V[ve];return ee};H=B?function(V,ee){return B(pe(V),ee)}:pe})},y.parseRows=function(z,B){var H={},W={},de=[],pe=z.length,V=0,ee=0,ie,ve;function ge(){if(V>=pe)return W;if(ve)return ve=!1,H;var qe=V;if(z.charCodeAt(qe)===34){for(var tt=qe;tt++<pe;)if(z.charCodeAt(tt)===34){if(z.charCodeAt(tt+1)!==34)break;++tt}V=tt+2;var gt=z.charCodeAt(tt+1);return gt===13?(ve=!0,z.charCodeAt(tt+2)===10&&++V):gt===10&&(ve=!0),z.slice(qe+1,tt).replace(/""/g,'"')}for(;V<pe;){var gt=z.charCodeAt(V++),rt=1;if(gt===10)ve=!0;else if(gt===13)ve=!0,z.charCodeAt(V)===10&&(++V,++rt);else if(gt!==g)continue;return z.slice(qe,V-rt)}return z.slice(qe)}for(;(ie=ge())!==W;){for(var se=[];ie!==H&&ie!==W;)se.push(ie),ie=ge();B&&(se=B(se,ee++))==null||de.push(se)}return de},y.format=function(z){if(Array.isArray(z[0]))return y.formatRows(z);var B=new Et,H=[];return z.forEach(function(W){for(var de in W)B.has(de)||H.push(B.add(de))}),[H.map(I).join(u)].concat(z.map(function(W){return H.map(function(de){return I(W[de])}).join(u)})).join(`
|
|
43
|
-
`)},y.formatRows=function(z){return z.map(O).join(`
|
|
44
|
-
`)};function O(z){return z.map(I).join(u)}function I(z){return h.test(z)?'"'+z.replace(/\"/g,'""')+'"':z}return y},t.csv=t.dsv(",","text/csv"),t.tsv=t.dsv(" ","text/tab-separated-values");var Eu,Sa,Di,Bo,Xi=this[it(this,"requestAnimationFrame")]||function(u){setTimeout(u,17)};t.timer=function(){go.apply(this,arguments)};function go(u,s,h){var g=arguments.length;g<2&&(s=0),g<3&&(h=Date.now());var y=h+s,w={c:u,t:y,n:null};return Sa?Sa.n=w:Eu=w,Sa=w,Di||(Bo=clearTimeout(Bo),Di=1,Xi(jo)),w}function jo(){var u=Ua(),s=Uo()-u;s>24?(isFinite(s)&&(clearTimeout(Bo),Bo=setTimeout(jo,s)),Di=0):(Di=1,Xi(jo))}t.timer.flush=function(){Ua(),Uo()};function Ua(){for(var u=Date.now(),s=Eu;s;)u>=s.t&&s.c(u-s.t)&&(s.c=null),s=s.n;return u}function Uo(){for(var u,s=Eu,h=1/0;s;)s.c?(s.t<h&&(h=s.t),s=(u=s).n):s=u?u.n=s.n:Eu=s.n;return Sa=u,h}t.round=function(u,s){return s?Math.round(u*(s=Math.pow(10,s)))/s:Math.round(u)},t.geom={};function Ea(u){return u[0]}function Aa(u){return u[1]}t.geom.hull=function(u){var s=Ea,h=Aa;if(arguments.length)return g(u);function g(y){if(y.length<3)return[];var w=Rr(s),N=Rr(h),O,I=y.length,z=[],B=[];for(O=0;O<I;O++)z.push([+w.call(this,y[O],O),+N.call(this,y[O],O),O]);for(z.sort(Bf),O=0;O<I;O++)B.push([z[O][0],-z[O][1]]);var H=Au(z),W=Au(B),de=W[0]===H[0],pe=W[W.length-1]===H[H.length-1],V=[];for(O=H.length-1;O>=0;--O)V.push(y[z[H[O]][2]]);for(O=+de;O<W.length-pe;++O)V.push(y[z[W[O]][2]]);return V}return g.x=function(y){return arguments.length?(s=y,g):s},g.y=function(y){return arguments.length?(h=y,g):h},g};function Au(u){for(var s=u.length,h=[0,1],g=2,y=2;y<s;y++){for(;g>1&&Td(u[h[g-2]],u[h[g-1]],u[y])<=0;)--g;h[g++]=y}return h.slice(0,g)}function Bf(u,s){return u[0]-s[0]||u[1]-s[1]}t.geom.polygon=function(u){return hr(u,Ho),u};var Ho=t.geom.polygon.prototype=[];Ho.area=function(){for(var u=-1,s=this.length,h,g=this[s-1],y=0;++u<s;)h=g,g=this[u],y+=h[1]*g[0]-h[0]*g[1];return y*.5},Ho.centroid=function(u){var s=-1,h=this.length,g=0,y=0,w,N=this[h-1],O;for(arguments.length||(u=-1/(6*this.area()));++s<h;)w=N,N=this[s],O=w[0]*N[1]-N[0]*w[1],g+=(w[0]+N[0])*O,y+=(w[1]+N[1])*O;return[g*u,y*u]},Ho.clip=function(u){for(var s,h=ws(u),g=-1,y=this.length-ws(this),w,N,O=this[y-1],I,z,B;++g<y;){for(s=u.slice(),u.length=0,I=this[g],z=s[(N=s.length-h)-1],w=-1;++w<N;)B=s[w],sl(B,O,I)?(sl(z,O,I)||u.push(xs(z,B,O,I)),u.push(B)):sl(z,O,I)&&u.push(xs(z,B,O,I)),z=B;h&&u.push(u[0]),O=I}return u};function sl(u,s,h){return(h[0]-s[0])*(u[1]-s[1])<(h[1]-s[1])*(u[0]-s[0])}function xs(u,s,h,g){var y=u[0],w=h[0],N=s[0]-y,O=g[0]-w,I=u[1],z=h[1],B=s[1]-I,H=g[1]-z,W=(O*(I-z)-H*(y-w))/(H*N-O*B);return[y+W*N,I+W*B]}function ws(u){var s=u[0],h=u[u.length-1];return!(s[0]-h[0]||s[1]-h[1])}var Ha,Wa,aa,Wo=[],Go,Ta,mo=[];function _s(){or(this),this.edge=this.site=this.circle=null}function fl(u){var s=Wo.pop()||new _s;return s.site=u,s}function Ca(u){D(u),aa.remove(u),Wo.push(u),or(u)}function cl(u){var s=u.circle,h=s.x,g=s.cy,y={x:h,y:g},w=u.P,N=u.N,O=[u];Ca(u);for(var I=w;I.circle&&T(h-I.circle.x)<Pr&&T(g-I.circle.cy)<Pr;)w=I.P,O.unshift(I),Ca(I),I=w;O.unshift(I),D(I);for(var z=N;z.circle&&T(h-z.circle.x)<Pr&&T(g-z.circle.cy)<Pr;)N=z.N,O.push(z),Ca(z),z=N;O.push(z),D(z);var B=O.length,H;for(H=1;H<B;++H)z=O[H],I=O[H-1],ot(z.edge,I.site,z.site,y);I=O[0],z=O[B-1],z.edge=we(I.site,z.site,null,y),k(I),k(z)}function dl(u){for(var s=u.x,h=u.y,g,y,w,N,O=aa._;O;)if(w=Ss(O,h)-s,w>Pr)O=O.L;else if(N=s-jf(O,h),N>Pr){if(!O.R){g=O;break}O=O.R}else{w>-Pr?(g=O.P,y=O):N>-Pr?(g=O,y=O.N):g=y=O;break}var I=fl(u);if(aa.insert(g,I),!(!g&&!y)){if(g===y){D(g),y=fl(g.site),aa.insert(I,y),I.edge=y.edge=we(g.site,I.site),k(g),k(y);return}if(!y){I.edge=we(g.site,I.site);return}D(g),D(y);var z=g.site,B=z.x,H=z.y,W=u.x-B,de=u.y-H,pe=y.site,V=pe.x-B,ee=pe.y-H,ie=2*(W*ee-de*V),ve=W*W+de*de,ge=V*V+ee*ee,se={x:(ee*ve-de*ge)/ie+B,y:(W*ge-V*ve)/ie+H};ot(y.edge,z,pe,se),I.edge=we(z,u,null,se),y.edge=we(u,pe,null,se),k(g),k(y)}}function Ss(u,s){var h=u.site,g=h.x,y=h.y,w=y-s;if(!w)return g;var N=u.P;if(!N)return-1/0;h=N.site;var O=h.x,I=h.y,z=I-s;if(!z)return O;var B=O-g,H=1/w-1/z,W=B/z;return H?(-W+Math.sqrt(W*W-2*H*(B*B/(-2*z)-I+z/2+y-w/2)))/H+g:(g+O)/2}function jf(u,s){var h=u.N;if(h)return Ss(h,s);var g=u.site;return g.y===s?g.x:1/0}function Es(u){this.site=u,this.edges=[]}Es.prototype.prepare=function(){for(var u=this.edges,s=u.length,h;s--;)h=u[s].edge,(!h.b||!h.a)&&u.splice(s,1);return u.sort(m),u.length};function d(u){for(var s=u[0][0],h=u[1][0],g=u[0][1],y=u[1][1],w,N,O,I,z=Wa,B=z.length,H,W,de,pe,V,ee;B--;)if(H=z[B],!(!H||!H.prepare()))for(de=H.edges,pe=de.length,W=0;W<pe;)ee=de[W].end(),O=ee.x,I=ee.y,V=de[++W%pe].start(),w=V.x,N=V.y,(T(O-w)>Pr||T(I-N)>Pr)&&(de.splice(W,0,new Oe(Be(H.site,ee,T(O-s)<Pr&&y-I>Pr?{x:s,y:T(w-s)<Pr?N:y}:T(I-y)<Pr&&h-O>Pr?{x:T(N-y)<Pr?w:h,y}:T(O-h)<Pr&&I-g>Pr?{x:h,y:T(w-h)<Pr?N:g}:T(I-g)<Pr&&O-s>Pr?{x:T(N-g)<Pr?w:s,y:g}:null),H.site,null)),++pe)}function m(u,s){return s.angle-u.angle}function A(){or(this),this.x=this.y=this.arc=this.site=this.cy=null}function k(u){var s=u.P,h=u.N;if(!(!s||!h)){var g=s.site,y=u.site,w=h.site;if(g!==w){var N=y.x,O=y.y,I=g.x-N,z=g.y-O,B=w.x-N,ee=w.y-O,H=2*(I*ee-z*B);if(!(H>=-Nf)){var W=I*I+z*z,de=B*B+ee*ee,pe=(ee*W-z*de)/H,V=(I*de-B*W)/H,ee=V+O,ie=mo.pop()||new A;ie.arc=u,ie.site=y,ie.x=pe+N,ie.y=ee+Math.sqrt(pe*pe+V*V),ie.cy=ee,u.circle=ie;for(var ve=null,ge=Ta._;ge;)if(ie.y<ge.y||ie.y===ge.y&&ie.x<=ge.x)if(ge.L)ge=ge.L;else{ve=ge.P;break}else if(ge.R)ge=ge.R;else{ve=ge;break}Ta.insert(ve,ie),ve||(Go=ie)}}}}function D(u){var s=u.circle;s&&(s.P||(Go=s.N),Ta.remove(s),mo.push(s),or(s),u.circle=null)}function $(u,s,h,g){return function(y){var w=y.a,N=y.b,O=w.x,I=w.y,z=N.x,B=N.y,H=0,W=1,de=z-O,pe=B-I,V;if(V=u-O,!(!de&&V>0)){if(V/=de,de<0){if(V<H)return;V<W&&(W=V)}else if(de>0){if(V>W)return;V>H&&(H=V)}if(V=h-O,!(!de&&V<0)){if(V/=de,de<0){if(V>W)return;V>H&&(H=V)}else if(de>0){if(V<H)return;V<W&&(W=V)}if(V=s-I,!(!pe&&V>0)){if(V/=pe,pe<0){if(V<H)return;V<W&&(W=V)}else if(pe>0){if(V>W)return;V>H&&(H=V)}if(V=g-I,!(!pe&&V<0)){if(V/=pe,pe<0){if(V>W)return;V>H&&(H=V)}else if(pe>0){if(V<H)return;V<W&&(W=V)}return H>0&&(y.a={x:O+H*de,y:I+H*pe}),W<1&&(y.b={x:O+W*de,y:I+W*pe}),y}}}}}}function j(u){for(var s=Ha,h=$(u[0][0],u[0][1],u[1][0],u[1][1]),g=s.length,y;g--;)y=s[g],(!oe(y,u)||!h(y)||T(y.a.x-y.b.x)<Pr&&T(y.a.y-y.b.y)<Pr)&&(y.a=y.b=null,s.splice(g,1))}function oe(u,s){var h=u.b;if(h)return!0;var g=u.a,y=s[0][0],w=s[1][0],N=s[0][1],O=s[1][1],I=u.l,z=u.r,B=I.x,H=I.y,W=z.x,de=z.y,pe=(B+W)/2,V=(H+de)/2,ee,ie;if(de===H){if(pe<y||pe>=w)return;if(B>W){if(!g)g={x:pe,y:N};else if(g.y>=O)return;h={x:pe,y:O}}else{if(!g)g={x:pe,y:O};else if(g.y<N)return;h={x:pe,y:N}}}else if(ee=(B-W)/(de-H),ie=V-ee*pe,ee<-1||ee>1)if(B>W){if(!g)g={x:(N-ie)/ee,y:N};else if(g.y>=O)return;h={x:(O-ie)/ee,y:O}}else{if(!g)g={x:(O-ie)/ee,y:O};else if(g.y<N)return;h={x:(N-ie)/ee,y:N}}else if(H<de){if(!g)g={x:y,y:ee*y+ie};else if(g.x>=w)return;h={x:w,y:ee*w+ie}}else{if(!g)g={x:w,y:ee*w+ie};else if(g.x<y)return;h={x:y,y:ee*y+ie}}return u.a=g,u.b=h,!0}function fe(u,s){this.l=u,this.r=s,this.a=this.b=null}function we(u,s,h,g){var y=new fe(u,s);return Ha.push(y),h&&ot(y,u,s,h),g&&ot(y,s,u,g),Wa[u.i].edges.push(new Oe(y,u,s)),Wa[s.i].edges.push(new Oe(y,s,u)),y}function Be(u,s,h){var g=new fe(u,null);return g.a=s,g.b=h,Ha.push(g),g}function ot(u,s,h,g){!u.a&&!u.b?(u.a=g,u.l=s,u.r=h):u.l===h?u.b=g:u.a=g}function Oe(u,s,h){var g=u.a,y=u.b;this.edge=u,this.site=s,this.angle=h?Math.atan2(h.y-s.y,h.x-s.x):u.l===s?Math.atan2(y.x-g.x,g.y-y.y):Math.atan2(g.x-y.x,y.y-g.y)}Oe.prototype={start:function(){return this.edge.l===this.site?this.edge.a:this.edge.b},end:function(){return this.edge.l===this.site?this.edge.b:this.edge.a}};function Ge(){this._=null}function or(u){u.U=u.C=u.L=u.R=u.P=u.N=null}Ge.prototype={insert:function(u,s){var h,g,y;if(u){if(s.P=u,s.N=u.N,u.N&&(u.N.P=s),u.N=s,u.R){for(u=u.R;u.L;)u=u.L;u.L=s}else u.R=s;h=u}else this._?(u=pn(this._),s.P=null,s.N=u,u.P=u.L=s,h=u):(s.P=s.N=null,this._=s,h=null);for(s.L=s.R=null,s.U=h,s.C=!0,u=s;h&&h.C;)g=h.U,h===g.L?(y=g.R,y&&y.C?(h.C=y.C=!1,g.C=!0,u=g):(u===h.R&&(yr(this,h),u=h,h=u.U),h.C=!1,g.C=!0,nr(this,g))):(y=g.L,y&&y.C?(h.C=y.C=!1,g.C=!0,u=g):(u===h.L&&(nr(this,h),u=h,h=u.U),h.C=!1,g.C=!0,yr(this,g))),h=u.U;this._.C=!1},remove:function(u){u.N&&(u.N.P=u.P),u.P&&(u.P.N=u.N),u.N=u.P=null;var s=u.U,h,g=u.L,y=u.R,w,N;if(g?y?w=pn(y):w=g:w=y,s?s.L===u?s.L=w:s.R=w:this._=w,g&&y?(N=w.C,w.C=u.C,w.L=g,g.U=w,w!==y?(s=w.U,w.U=u.U,u=w.R,s.L=u,w.R=y,y.U=w):(w.U=s,s=w,u=w.R)):(N=u.C,u=w),u&&(u.U=s),!N){if(u&&u.C){u.C=!1;return}do{if(u===this._)break;if(u===s.L){if(h=s.R,h.C&&(h.C=!1,s.C=!0,yr(this,s),h=s.R),h.L&&h.L.C||h.R&&h.R.C){(!h.R||!h.R.C)&&(h.L.C=!1,h.C=!0,nr(this,h),h=s.R),h.C=s.C,s.C=h.R.C=!1,yr(this,s),u=this._;break}}else if(h=s.L,h.C&&(h.C=!1,s.C=!0,nr(this,s),h=s.L),h.L&&h.L.C||h.R&&h.R.C){(!h.L||!h.L.C)&&(h.R.C=!1,h.C=!0,yr(this,h),h=s.L),h.C=s.C,s.C=h.L.C=!1,nr(this,s),u=this._;break}h.C=!0,u=s,s=s.U}while(!u.C);u&&(u.C=!1)}}};function yr(u,s){var h=s,g=s.R,y=h.U;y?y.L===h?y.L=g:y.R=g:u._=g,g.U=y,h.U=g,h.R=g.L,h.R&&(h.R.U=h),g.L=h}function nr(u,s){var h=s,g=s.L,y=h.U;y?y.L===h?y.L=g:y.R=g:u._=g,g.U=y,h.U=g,h.L=g.R,h.L&&(h.L.U=h),g.R=h}function pn(u){for(;u.L;)u=u.L;return u}function fn(u,s){var h=u.sort(fi).pop(),g,y,w;for(Ha=[],Wa=new Array(u.length),aa=new Ge,Ta=new Ge;;)if(w=Go,h&&(!w||h.y<w.y||h.y===w.y&&h.x<w.x))(h.x!==g||h.y!==y)&&(Wa[h.i]=new Es(h),dl(h),g=h.x,y=h.y),h=u.pop();else if(w)cl(w.arc);else break;s&&(j(s),d(s));var N={cells:Wa,edges:Ha};return aa=Ta=Ha=Wa=null,N}function fi(u,s){return s.y-u.y||s.x-u.x}t.geom.voronoi=function(u){var s=Ea,h=Aa,g=s,y=h,w=zr;if(u)return N(u);function N(I){var z=new Array(I.length),B=w[0][0],H=w[0][1],W=w[1][0],de=w[1][1];return fn(O(I),w).cells.forEach(function(pe,V){var ee=pe.edges,ie=pe.site,ve=z[V]=ee.length?ee.map(function(ge){var se=ge.start();return[se.x,se.y]}):ie.x>=B&&ie.x<=W&&ie.y>=H&&ie.y<=de?[[B,de],[W,de],[W,H],[B,H]]:[];ve.point=I[V]}),z}function O(I){return I.map(function(z,B){return{x:Math.round(g(z,B)/Pr)*Pr,y:Math.round(y(z,B)/Pr)*Pr,i:B}})}return N.links=function(I){return fn(O(I)).edges.filter(function(z){return z.l&&z.r}).map(function(z){return{source:I[z.l.i],target:I[z.r.i]}})},N.triangles=function(I){var z=[];return fn(O(I)).cells.forEach(function(B,H){for(var W=B.site,de=B.edges.sort(m),pe=-1,V=de.length,ee,ie=de[V-1].edge,ve=ie.l===W?ie.r:ie.l;++pe<V;)ee=ve,ie=de[pe].edge,ve=ie.l===W?ie.r:ie.l,H<ee.i&&H<ve.i&&Sr(W,ee,ve)<0&&z.push([I[H],I[ee.i],I[ve.i]])}),z},N.x=function(I){return arguments.length?(g=Rr(s=I),N):s},N.y=function(I){return arguments.length?(y=Rr(h=I),N):h},N.clipExtent=function(I){return arguments.length?(w=I==null?zr:I,N):w===zr?null:w},N.size=function(I){return arguments.length?N.clipExtent(I&&[[0,0],I]):w===zr?null:w&&w[1]},N};var zr=[[-1e6,-1e6],[1e6,1e6]];function Sr(u,s,h){return(u.x-h.x)*(s.y-u.y)-(u.x-s.x)*(h.y-u.y)}t.geom.delaunay=function(u){return t.geom.voronoi().triangles(u)},t.geom.quadtree=function(u,s,h,g,y){var w=Ea,N=Aa,O;if(O=arguments.length)return w=Ln,N=Br,O===3&&(y=h,g=s,h=s=0),I(u);function I(z){var B,H=Rr(w),W=Rr(N),de,pe,V,ee,ie,ve,ge,se;if(s!=null)ie=s,ve=h,ge=g,se=y;else if(ge=se=-(ie=ve=1/0),de=[],pe=[],ee=z.length,O)for(V=0;V<ee;++V)B=z[V],B.x<ie&&(ie=B.x),B.y<ve&&(ve=B.y),B.x>ge&&(ge=B.x),B.y>se&&(se=B.y),de.push(B.x),pe.push(B.y);else for(V=0;V<ee;++V){var qe=+H(B=z[V],V),tt=+W(B,V);qe<ie&&(ie=qe),tt<ve&&(ve=tt),qe>ge&&(ge=qe),tt>se&&(se=tt),de.push(qe),pe.push(tt)}var gt=ge-ie,rt=se-ve;gt>rt?se=ve+gt:ge=ie+rt;function _t(Bt,sr,Ir,vn,Hr,mt,gr,xr){if(!(isNaN(Ir)||isNaN(vn)))if(Bt.leaf){var Fr=Bt.x,un=Bt.y;if(Fr!=null)if(T(Fr-Ir)+T(un-vn)<.01)Rt(Bt,sr,Ir,vn,Hr,mt,gr,xr);else{var En=Bt.point;Bt.x=Bt.y=Bt.point=null,Rt(Bt,En,Fr,un,Hr,mt,gr,xr),Rt(Bt,sr,Ir,vn,Hr,mt,gr,xr)}else Bt.x=Ir,Bt.y=vn,Bt.point=sr}else Rt(Bt,sr,Ir,vn,Hr,mt,gr,xr)}function Rt(Bt,sr,Ir,vn,Hr,mt,gr,xr){var Fr=(Hr+gr)*.5,un=(mt+xr)*.5,En=Ir>=Fr,$n=vn>=un,gi=$n<<1|En;Bt.leaf=!1,Bt=Bt.nodes[gi]||(Bt.nodes[gi]=an()),En?Hr=Fr:gr=Fr,$n?mt=un:xr=un,_t(Bt,sr,Ir,vn,Hr,mt,gr,xr)}var vr=an();if(vr.add=function(Bt){_t(vr,Bt,+H(Bt,++V),+W(Bt,V),ie,ve,ge,se)},vr.visit=function(Bt){Oa(Bt,vr,ie,ve,ge,se)},vr.find=function(Bt){return hl(vr,Bt[0],Bt[1],ie,ve,ge,se)},V=-1,s==null){for(;++V<ee;)_t(vr,z[V],de[V],pe[V],ie,ve,ge,se);--V}else z.forEach(vr.add);return de=pe=z=B=null,vr}return I.x=function(z){return arguments.length?(w=z,I):w},I.y=function(z){return arguments.length?(N=z,I):N},I.extent=function(z){return arguments.length?(z==null?s=h=g=y=null:(s=+z[0][0],h=+z[0][1],g=+z[1][0],y=+z[1][1]),I):s==null?null:[[s,h],[g,y]]},I.size=function(z){return arguments.length?(z==null?s=h=g=y=null:(s=h=0,g=+z[0],y=+z[1]),I):s==null?null:[g-s,y-h]},I};function Ln(u){return u.x}function Br(u){return u.y}function an(){return{leaf:!0,nodes:[],point:null,x:null,y:null}}function Oa(u,s,h,g,y,w){if(!u(s,h,g,y,w)){var N=(h+y)*.5,O=(g+w)*.5,I=s.nodes;I[0]&&Oa(u,I[0],h,g,N,O),I[1]&&Oa(u,I[1],N,g,y,O),I[2]&&Oa(u,I[2],h,O,N,w),I[3]&&Oa(u,I[3],N,O,y,w)}}function hl(u,s,h,g,y,w,N){var O=1/0,I;return function z(B,H,W,de,pe){if(!(H>w||W>N||de<g||pe<y)){if(V=B.point){var V,ee=s-B.x,ie=h-B.y,ve=ee*ee+ie*ie;if(ve<O){var ge=Math.sqrt(O=ve);g=s-ge,y=h-ge,w=s+ge,N=h+ge,I=V}}for(var se=B.nodes,qe=(H+de)*.5,tt=(W+pe)*.5,gt=s>=qe,rt=h>=tt,_t=rt<<1|gt,Rt=_t+4;_t<Rt;++_t)if(B=se[_t&3])switch(_t&3){case 0:z(B,H,W,qe,tt);break;case 1:z(B,qe,W,de,tt);break;case 2:z(B,H,tt,qe,pe);break;case 3:z(B,qe,tt,de,pe);break}}}(u,g,y,w,N),I}t.interpolateRgb=Xn;function Xn(u,s){u=t.rgb(u),s=t.rgb(s);var h=u.r,g=u.g,y=u.b,w=s.r-h,N=s.g-g,O=s.b-y;return function(I){return"#"+Do(Math.round(h+w*I))+Do(Math.round(g+N*I))+Do(Math.round(y+O*I))}}t.interpolateObject=Ga;function Ga(u,s){var h={},g={},y;for(y in u)y in s?h[y]=Dn(u[y],s[y]):g[y]=u[y];for(y in s)y in u||(g[y]=s[y]);return function(w){for(y in h)g[y]=h[y](w);return g}}t.interpolateNumber=Qn;function Qn(u,s){return u=+u,s=+s,function(h){return u*(1-h)+s*h}}t.interpolateString=Un;function Un(u,s){var h=ci.lastIndex=di.lastIndex=0,g,y,w,N=-1,O=[],I=[];for(u=u+"",s=s+"";(g=ci.exec(u))&&(y=di.exec(s));)(w=y.index)>h&&(w=s.slice(h,w),O[N]?O[N]+=w:O[++N]=w),(g=g[0])===(y=y[0])?O[N]?O[N]+=y:O[++N]=y:(O[++N]=null,I.push({i:N,x:Qn(g,y)})),h=di.lastIndex;return h<s.length&&(w=s.slice(h),O[N]?O[N]+=w:O[++N]=w),O.length<2?I[0]?(s=I[0].x,function(z){return s(z)+""}):function(){return s}:(s=I.length,function(z){for(var B=0,H;B<s;++B)O[(H=I[B]).i]=H.x(z);return O.join("")})}var ci=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,di=new RegExp(ci.source,"g");t.interpolate=Dn;function Dn(u,s){for(var h=t.interpolators.length,g;--h>=0&&!(g=t.interpolators[h](u,s)););return g}t.interpolators=[function(u,s){var h=typeof s;return(h==="string"?$o.has(s.toLowerCase())||/^(#|rgb\(|hsl\()/i.test(s)?Xn:Un:s instanceof xa?Xn:Array.isArray(s)?Zn:h==="object"&&isNaN(s)?Ga:Qn)(u,s)}],t.interpolateArray=Zn;function Zn(u,s){var h=[],g=[],y=u.length,w=s.length,N=Math.min(u.length,s.length),O;for(O=0;O<N;++O)h.push(Dn(u[O],s[O]));for(;O<y;++O)g[O]=u[O];for(;O<w;++O)g[O]=s[O];return function(I){for(O=0;O<N;++O)g[O]=h[O](I);return g}}var Ti=function(){return yt},pl=t.map({linear:Ti,poly:On,quad:function(){return Uf},cubic:function(){return gl},sin:function(){return Hf},exp:function(){return Wf},circle:function(){return yo},elastic:Cu,back:Gf,bounce:function(){return Cd}}),Gr=t.map({in:yt,out:vl,"in-out":Tu,"out-in":function(u){return Tu(vl(u))}});t.ease=function(u){var s=u.indexOf("-"),h=s>=0?u.slice(0,s):u,g=s>=0?u.slice(s+1):"in";return h=pl.get(h)||Ti,g=Gr.get(g)||yt,qa(g(h.apply(null,r.call(arguments,1))))};function qa(u){return function(s){return s<=0?0:s>=1?1:u(s)}}function vl(u){return function(s){return 1-u(1-s)}}function Tu(u){return function(s){return .5*(s<.5?u(2*s):2-u(2-2*s))}}function Uf(u){return u*u}function gl(u){return u*u*u}function qo(u){if(u<=0)return 0;if(u>=1)return 1;var s=u*u,h=s*u;return 4*(u<.5?h:3*(u-s)+h-.75)}function On(u){return function(s){return Math.pow(s,u)}}function Hf(u){return 1-Math.cos(u*ia)}function Wf(u){return Math.pow(2,10*(u-1))}function yo(u){return 1-Math.sqrt(1-u*u)}function Cu(u,s){var h;return arguments.length<2&&(s=.45),arguments.length?h=s/ba*Math.asin(1/u):(u=1,h=s/4),function(g){return 1+u*Math.pow(2,-10*g)*Math.sin((g-h)*ba/s)}}function Gf(u){return u||(u=1.70158),function(s){return s*s*((u+1)*s-u)}}function Cd(u){return u<1/2.75?7.5625*u*u:u<2/2.75?7.5625*(u-=1.5/2.75)*u+.75:u<2.5/2.75?7.5625*(u-=2.25/2.75)*u+.9375:7.5625*(u-=2.625/2.75)*u+.984375}t.interpolateHcl=Od;function Od(u,s){u=t.hcl(u),s=t.hcl(s);var h=u.h,g=u.c,y=u.l,w=s.h-h,N=s.c-g,O=s.l-y;return isNaN(N)&&(N=0,g=isNaN(g)?s.c:g),isNaN(w)?(w=0,h=isNaN(h)?s.h:h):w>180?w-=360:w<-180&&(w+=360),function(I){return Su(h+w*I,g+N*I,y+O*I)+""}}t.interpolateHsl=Ou;function Ou(u,s){u=t.hsl(u),s=t.hsl(s);var h=u.h,g=u.s,y=u.l,w=s.h-h,N=s.s-g,O=s.l-y;return isNaN(N)&&(N=0,g=isNaN(g)?s.s:g),isNaN(w)?(w=0,h=isNaN(h)?s.h:h):w>180?w-=360:w<-180&&(w+=360),function(I){return _u(h+w*I,g+N*I,y+O*I)+""}}t.interpolateLab=kd;function kd(u,s){u=t.lab(u),s=t.lab(s);var h=u.l,g=u.a,y=u.b,w=s.l-h,N=s.a-g,O=s.b-y;return function(I){return Yn(h+w*I,g+N*I,y+O*I)+""}}t.interpolateRound=Vo;function Vo(u,s){return s-=u,function(h){return Math.round(u+s*h)}}t.transform=function(u){var s=i.createElementNS(t.ns.prefix.svg,"g");return(t.transform=function(h){if(h!=null){s.setAttribute("transform",h);var g=s.transform.baseVal.consolidate()}return new Qi(g?g.matrix:qf)})(u)};function Qi(u){var s=[u.a,u.b],h=[u.c,u.d],g=ml(s),y=oa(s,h),w=ml(As(h,s,-y))||0;s[0]*h[1]<h[0]*s[1]&&(s[0]*=-1,s[1]*=-1,g*=-1,y*=-1),this.rotate=(g?Math.atan2(s[1],s[0]):Math.atan2(-h[0],h[1]))*No,this.translate=[u.e,u.f],this.scale=[g,w],this.skew=w?Math.atan2(y,w)*No:0}Qi.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};function oa(u,s){return u[0]*s[0]+u[1]*s[1]}function ml(u){var s=Math.sqrt(oa(u,u));return s&&(u[0]/=s,u[1]/=s),s}function As(u,s,h){return u[0]+=h*s[0],u[1]+=h*s[1],u}var qf={a:1,b:0,c:0,d:1,e:0,f:0};t.interpolateTransform=ku;function ka(u){return u.length?u.pop()+",":""}function Zr(u,s,h,g){if(u[0]!==s[0]||u[1]!==s[1]){var y=h.push("translate(",null,",",null,")");g.push({i:y-4,x:Qn(u[0],s[0])},{i:y-2,x:Qn(u[1],s[1])})}else(s[0]||s[1])&&h.push("translate("+s+")")}function Zi(u,s,h,g){u!==s?(u-s>180?s+=360:s-u>180&&(u+=360),g.push({i:h.push(ka(h)+"rotate(",null,")")-2,x:Qn(u,s)})):s&&h.push(ka(h)+"rotate("+s+")")}function hi(u,s,h,g){u!==s?g.push({i:h.push(ka(h)+"skewX(",null,")")-2,x:Qn(u,s)}):s&&h.push(ka(h)+"skewX("+s+")")}function $i(u,s,h,g){if(u[0]!==s[0]||u[1]!==s[1]){var y=h.push(ka(h)+"scale(",null,",",null,")");g.push({i:y-4,x:Qn(u[0],s[0])},{i:y-2,x:Qn(u[1],s[1])})}else(s[0]!==1||s[1]!==1)&&h.push(ka(h)+"scale("+s+")")}function ku(u,s){var h=[],g=[];return u=t.transform(u),s=t.transform(s),Zr(u.translate,s.translate,h,g),Zi(u.rotate,s.rotate,h,g),hi(u.skew,s.skew,h,g),$i(u.scale,s.scale,h,g),u=s=null,function(y){for(var w=-1,N=g.length,O;++w<N;)h[(O=g[w]).i]=O.x(y);return h.join("")}}function Ts(u,s){return s=(s-=u=+u)||1/s,function(h){return(h-u)/s}}function Vf(u,s){return s=(s-=u=+u)||1/s,function(h){return Math.max(0,Math.min(1,(h-u)/s))}}t.layout={},t.layout.bundle=function(){return function(u){for(var s=[],h=-1,g=u.length;++h<g;)s.push(Yf(u[h]));return s}};function Yf(u){for(var s=u.source,h=u.target,g=Va(s,h),y=[s];s!==g;)s=s.parent,y.push(s);for(var w=y.length;h!==g;)y.splice(w,0,h),h=h.parent;return y}function yl(u){for(var s=[],h=u.parent;h!=null;)s.push(u),u=h,h=h.parent;return s.push(u),s}function Va(u,s){if(u===s)return u;for(var h=yl(u),g=yl(s),y=h.pop(),w=g.pop(),N=null;y===w;)N=y,y=h.pop(),w=g.pop();return N}t.layout.chord=function(){var u={},s,h,g,y,w=0,N,O,I;function z(){var H={},W=[],de=t.range(y),pe=[],V,ee,ie,ve,ge;for(s=[],h=[],V=0,ve=-1;++ve<y;){for(ee=0,ge=-1;++ge<y;)ee+=g[ve][ge];W.push(ee),pe.push(t.range(y)),V+=ee}for(N&&de.sort(function(vr,Bt){return N(W[vr],W[Bt])}),O&&pe.forEach(function(vr,Bt){vr.sort(function(sr,Ir){return O(g[Bt][sr],g[Bt][Ir])})}),V=(ba-w*y)/V,ee=0,ve=-1;++ve<y;){for(ie=ee,ge=-1;++ge<y;){var se=de[ve],qe=pe[se][ge],tt=g[se][qe],gt=ee,rt=ee+=tt*V;H[se+"-"+qe]={index:se,subindex:qe,startAngle:gt,endAngle:rt,value:tt}}h[se]={index:se,startAngle:ie,endAngle:ee,value:W[se]},ee+=w}for(ve=-1;++ve<y;)for(ge=ve-1;++ge<y;){var _t=H[ve+"-"+ge],Rt=H[ge+"-"+ve];(_t.value||Rt.value)&&s.push(_t.value<Rt.value?{source:Rt,target:_t}:{source:_t,target:Rt})}I&&B()}function B(){s.sort(function(H,W){return I((H.source.value+H.target.value)/2,(W.source.value+W.target.value)/2)})}return u.matrix=function(H){return arguments.length?(y=(g=H)&&g.length,s=h=null,u):g},u.padding=function(H){return arguments.length?(w=H,s=h=null,u):w},u.sortGroups=function(H){return arguments.length?(N=H,s=h=null,u):N},u.sortSubgroups=function(H){return arguments.length?(O=H,s=null,u):O},u.sortChords=function(H){return arguments.length?(I=H,s&&B(),u):I},u.chords=function(){return s||z(),s},u.groups=function(){return h||z(),h},u},t.layout.force=function(){var u={},s=t.dispatch("start","tick","end"),h,g=[1,1],y,w,N=.9,O=Ma,I=Yo,z=-30,B=Ya,H=.1,W=.64,de=[],pe=[],V,ee,ie;function ve(se){return function(qe,tt,gt,rt){if(qe.point!==se){var _t=qe.cx-se.x,Rt=qe.cy-se.y,vr=rt-tt,Bt=_t*_t+Rt*Rt;if(vr*vr/W<Bt){if(Bt<B){var sr=qe.charge/Bt;se.px-=_t*sr,se.py-=Rt*sr}return!0}if(qe.point&&Bt&&Bt<B){var sr=qe.pointCharge/Bt;se.px-=_t*sr,se.py-=Rt*sr}}return!qe.charge}}u.tick=function(){if((w*=.99)<.005)return h=null,s.end({type:"end",alpha:w=0}),!0;var se=de.length,qe=pe.length,tt,gt,rt,_t,Rt,vr,Bt,sr,Ir;for(gt=0;gt<qe;++gt)rt=pe[gt],_t=rt.source,Rt=rt.target,sr=Rt.x-_t.x,Ir=Rt.y-_t.y,(vr=sr*sr+Ir*Ir)&&(vr=w*ee[gt]*((vr=Math.sqrt(vr))-V[gt])/vr,sr*=vr,Ir*=vr,Rt.x-=sr*(Bt=_t.weight+Rt.weight?_t.weight/(_t.weight+Rt.weight):.5),Rt.y-=Ir*Bt,_t.x+=sr*(Bt=1-Bt),_t.y+=Ir*Bt);if((Bt=w*H)&&(sr=g[0]/2,Ir=g[1]/2,gt=-1,Bt))for(;++gt<se;)rt=de[gt],rt.x+=(sr-rt.x)*Bt,rt.y+=(Ir-rt.y)*Bt;if(z)for(xl(tt=t.geom.quadtree(de),w,ie),gt=-1;++gt<se;)(rt=de[gt]).fixed||tt.visit(ve(rt));for(gt=-1;++gt<se;)rt=de[gt],rt.fixed?(rt.x=rt.px,rt.y=rt.py):(rt.x-=(rt.px-(rt.px=rt.x))*N,rt.y-=(rt.py-(rt.py=rt.y))*N);s.tick({type:"tick",alpha:w})},u.nodes=function(se){return arguments.length?(de=se,u):de},u.links=function(se){return arguments.length?(pe=se,u):pe},u.size=function(se){return arguments.length?(g=se,u):g},u.linkDistance=function(se){return arguments.length?(O=typeof se=="function"?se:+se,u):O},u.distance=u.linkDistance,u.linkStrength=function(se){return arguments.length?(I=typeof se=="function"?se:+se,u):I},u.friction=function(se){return arguments.length?(N=+se,u):N},u.charge=function(se){return arguments.length?(z=typeof se=="function"?se:+se,u):z},u.chargeDistance=function(se){return arguments.length?(B=se*se,u):Math.sqrt(B)},u.gravity=function(se){return arguments.length?(H=+se,u):H},u.theta=function(se){return arguments.length?(W=se*se,u):Math.sqrt(W)},u.alpha=function(se){return arguments.length?(se=+se,w?se>0?w=se:(h.c=null,h.t=NaN,h=null,s.end({type:"end",alpha:w=0})):se>0&&(s.start({type:"start",alpha:w=se}),h=go(u.tick)),u):w},u.start=function(){var se,qe=de.length,tt=pe.length,gt=g[0],rt=g[1],_t,Rt;for(se=0;se<qe;++se)(Rt=de[se]).index=se,Rt.weight=0;for(se=0;se<tt;++se)Rt=pe[se],typeof Rt.source=="number"&&(Rt.source=de[Rt.source]),typeof Rt.target=="number"&&(Rt.target=de[Rt.target]),++Rt.source.weight,++Rt.target.weight;for(se=0;se<qe;++se)Rt=de[se],isNaN(Rt.x)&&(Rt.x=vr("x",gt)),isNaN(Rt.y)&&(Rt.y=vr("y",rt)),isNaN(Rt.px)&&(Rt.px=Rt.x),isNaN(Rt.py)&&(Rt.py=Rt.y);if(V=[],typeof O=="function")for(se=0;se<tt;++se)V[se]=+O.call(this,pe[se],se);else for(se=0;se<tt;++se)V[se]=O;if(ee=[],typeof I=="function")for(se=0;se<tt;++se)ee[se]=+I.call(this,pe[se],se);else for(se=0;se<tt;++se)ee[se]=I;if(ie=[],typeof z=="function")for(se=0;se<qe;++se)ie[se]=+z.call(this,de[se],se);else for(se=0;se<qe;++se)ie[se]=z;function vr(Bt,sr){if(!_t){for(_t=new Array(qe),Hr=0;Hr<qe;++Hr)_t[Hr]=[];for(Hr=0;Hr<tt;++Hr){var Ir=pe[Hr];_t[Ir.source.index].push(Ir.target),_t[Ir.target.index].push(Ir.source)}}for(var vn=_t[se],Hr=-1,mt=vn.length,gr;++Hr<mt;)if(!isNaN(gr=vn[Hr][Bt]))return gr;return Math.random()*sr}return u.resume()},u.resume=function(){return u.alpha(.1)},u.stop=function(){return u.alpha(0)},u.drag=function(){if(y||(y=t.behavior.drag().origin(yt).on("dragstart.force",bl).on("drag.force",ge).on("dragend.force",Cs)),!arguments.length)return y;this.on("mouseover.force",pi).on("mouseout.force",Mu).call(y)};function ge(se){se.px=t.event.x,se.py=t.event.y,u.resume()}return t.rebind(u,s,"on")};function bl(u){u.fixed|=2}function Cs(u){u.fixed&=-7}function pi(u){u.fixed|=4,u.px=u.x,u.py=u.y}function Mu(u){u.fixed&=-5}function xl(u,s,h){var g=0,y=0;if(u.charge=0,!u.leaf)for(var w=u.nodes,N=w.length,O=-1,I;++O<N;)I=w[O],I!=null&&(xl(I,s,h),u.charge+=I.charge,g+=I.charge*I.cx,y+=I.charge*I.cy);if(u.point){u.leaf||(u.point.x+=Math.random()-.5,u.point.y+=Math.random()-.5);var z=s*h[u.point.index];u.charge+=u.pointCharge=z,g+=z*u.point.x,y+=z*u.point.y}u.cx=g/u.charge,u.cy=y/u.charge}var Ma=20,Yo=1,Ya=1/0;t.layout.hierarchy=function(){var u=Ve,s=le,h=me;function g(y){var w=[y],N=[],O;for(y.depth=0;(O=w.pop())!=null;)if(N.push(O),(z=s.call(g,O,O.depth))&&(I=z.length)){for(var I,z,B;--I>=0;)w.push(B=z[I]),B.parent=O,B.depth=O.depth+1;h&&(O.value=0),O.children=z}else h&&(O.value=+h.call(g,O,O.depth)||0),delete O.children;return U(y,function(H){var W,de;u&&(W=H.children)&&W.sort(u),h&&(de=H.parent)&&(de.value+=H.value)}),N}return g.sort=function(y){return arguments.length?(u=y,g):u},g.children=function(y){return arguments.length?(s=y,g):s},g.value=function(y){return arguments.length?(h=y,g):h},g.revalue=function(y){return h&&(Xo(y,function(w){w.children&&(w.value=0)}),U(y,function(w){var N;w.children||(w.value=+h.call(g,w,w.depth)||0),(N=w.parent)&&(N.value+=w.value)})),y},g};function Xa(u,s){return t.rebind(u,s,"sort","children","value"),u.nodes=u,u.links=Se,u}function Xo(u,s){for(var h=[u];(u=h.pop())!=null;)if(s(u),(y=u.children)&&(g=y.length))for(var g,y;--g>=0;)h.push(y[g])}function U(u,s){for(var h=[u],g=[];(u=h.pop())!=null;)if(g.push(u),(N=u.children)&&(w=N.length))for(var y=-1,w,N;++y<w;)h.push(N[y]);for(;(u=g.pop())!=null;)s(u)}function le(u){return u.children}function me(u){return u.value}function Ve(u,s){return s.value-u.value}function Se(u){return t.merge(u.map(function(s){return(s.children||[]).map(function(h){return{source:s,target:h}})}))}t.layout.partition=function(){var u=t.layout.hierarchy(),s=[1,1];function h(w,N,O,I){var z=w.children;if(w.x=N,w.y=w.depth*I,w.dx=O,w.dy=I,z&&(H=z.length)){var B=-1,H,W,de;for(O=w.value?O/w.value:0;++B<H;)h(W=z[B],N,de=W.value*O,I),N+=de}}function g(w){var N=w.children,O=0;if(N&&(z=N.length))for(var I=-1,z;++I<z;)O=Math.max(O,g(N[I]));return 1+O}function y(w,N){var O=u.call(this,w,N);return h(O[0],0,s[0],s[1]/g(O[0])),O}return y.size=function(w){return arguments.length?(s=w,y):s},Xa(y,u)},t.layout.pie=function(){var u=Number,s=et,h=0,g=ba,y=0;function w(N){var O=N.length,I=N.map(function(ve,ge){return+u.call(w,ve,ge)}),z=+(typeof h=="function"?h.apply(this,arguments):h),B=(typeof g=="function"?g.apply(this,arguments):g)-z,H=Math.min(Math.abs(B)/O,+(typeof y=="function"?y.apply(this,arguments):y)),W=H*(B<0?-1:1),de=t.sum(I),pe=de?(B-O*W)/de:0,V=t.range(O),ee=[],ie;return s!=null&&V.sort(s===et?function(ve,ge){return I[ge]-I[ve]}:function(ve,ge){return s(N[ve],N[ge])}),V.forEach(function(ve){ee[ve]={data:N[ve],value:ie=I[ve],startAngle:z,endAngle:z+=ie*pe+W,padAngle:H}}),ee}return w.value=function(N){return arguments.length?(u=N,w):u},w.sort=function(N){return arguments.length?(s=N,w):s},w.startAngle=function(N){return arguments.length?(h=N,w):h},w.endAngle=function(N){return arguments.length?(g=N,w):g},w.padAngle=function(N){return arguments.length?(y=N,w):y},w};var et={};t.layout.stack=function(){var u=yt,s=pr,h=Mr,g=zt,y=dt,w=Pt;function N(O,I){if(!(pe=O.length))return O;var z=O.map(function(ve,ge){return u.call(N,ve,ge)}),B=z.map(function(ve){return ve.map(function(ge,se){return[y.call(N,ge,se),w.call(N,ge,se)]})}),H=s.call(N,B,I);z=t.permute(z,H),B=t.permute(B,H);var W=h.call(N,B,I),de=z[0].length,pe,V,ee,ie;for(ee=0;ee<de;++ee)for(g.call(N,z[0][ee],ie=W[ee],B[0][ee][1]),V=1;V<pe;++V)g.call(N,z[V][ee],ie+=B[V-1][ee][1],B[V][ee][1]);return O}return N.values=function(O){return arguments.length?(u=O,N):u},N.order=function(O){return arguments.length?(s=typeof O=="function"?O:dr.get(O)||pr,N):s},N.offset=function(O){return arguments.length?(h=typeof O=="function"?O:lr.get(O)||Mr,N):h},N.x=function(O){return arguments.length?(y=O,N):y},N.y=function(O){return arguments.length?(w=O,N):w},N.out=function(O){return arguments.length?(g=O,N):g},N};function dt(u){return u.x}function Pt(u){return u.y}function zt(u,s,h){u.y0=s,u.y=h}var dr=t.map({"inside-out":function(u){var s=u.length,h,g,y=u.map(Xr),w=u.map(cr),N=t.range(s).sort(function(H,W){return y[H]-y[W]}),O=0,I=0,z=[],B=[];for(h=0;h<s;++h)g=N[h],O<I?(O+=w[g],z.push(g)):(I+=w[g],B.push(g));return B.reverse().concat(z)},reverse:function(u){return t.range(u.length).reverse()},default:pr}),lr=t.map({silhouette:function(u){var s=u.length,h=u[0].length,g=[],y=0,w,N,O,I=[];for(N=0;N<h;++N){for(w=0,O=0;w<s;w++)O+=u[w][N][1];O>y&&(y=O),g.push(O)}for(N=0;N<h;++N)I[N]=(y-g[N])/2;return I},wiggle:function(u){var s=u.length,h=u[0],g=h.length,y,w,N,O,I,z,B,H,W,de=[];for(de[0]=H=W=0,w=1;w<g;++w){for(y=0,O=0;y<s;++y)O+=u[y][w][1];for(y=0,I=0,B=h[w][0]-h[w-1][0];y<s;++y){for(N=0,z=(u[y][w][1]-u[y][w-1][1])/(2*B);N<y;++N)z+=(u[N][w][1]-u[N][w-1][1])/B;I+=z*u[y][w][1]}de[w]=H-=O?I/O*B:0,H<W&&(W=H)}for(w=0;w<g;++w)de[w]-=W;return de},expand:function(u){var s=u.length,h=u[0].length,g=1/s,y,w,N,O=[];for(w=0;w<h;++w){for(y=0,N=0;y<s;y++)N+=u[y][w][1];if(N)for(y=0;y<s;y++)u[y][w][1]/=N;else for(y=0;y<s;y++)u[y][w][1]=g}for(w=0;w<h;++w)O[w]=0;return O},zero:Mr});function pr(u){return t.range(u.length)}function Mr(u){for(var s=-1,h=u[0].length,g=[];++s<h;)g[s]=0;return g}function Xr(u){for(var s=1,h=0,g=u[0][1],y,w=u.length;s<w;++s)(y=u[s][1])>g&&(h=s,g=y);return h}function cr(u){return u.reduce(bn,0)}function bn(u,s){return u+s[1]}t.layout.histogram=function(){var u=!0,s=Number,h=on,g=Hn;function y(w,W){for(var O=[],I=w.map(s,this),z=h.call(this,I,W),B=g.call(this,z,I,W),H,W=-1,de=I.length,pe=B.length-1,V=u?1:1/de,ee;++W<pe;)H=O[W]=[],H.dx=B[W+1]-(H.x=B[W]),H.y=0;if(pe>0)for(W=-1;++W<de;)ee=I[W],ee>=z[0]&&ee<=z[1]&&(H=O[t.bisect(B,ee,1,pe)-1],H.y+=V,H.push(w[W]));return O}return y.value=function(w){return arguments.length?(s=w,y):s},y.range=function(w){return arguments.length?(h=Rr(w),y):h},y.bins=function(w){return arguments.length?(g=typeof w=="number"?function(N){return Kn(N,w)}:Rr(w),y):g},y.frequency=function(w){return arguments.length?(u=!!w,y):u},y};function Hn(u,s){return Kn(u,Math.ceil(Math.log(s.length)/Math.LN2+1))}function Kn(u,s){for(var h=-1,g=+u[0],y=(u[1]-g)/s,w=[];++h<=s;)w[h]=y*h+g;return w}function on(u){return[t.min(u),t.max(u)]}t.layout.pack=function(){var u=t.layout.hierarchy().sort(Pu),s=0,h=[1,1],g;function y(w,N){var O=u.call(this,w,N),I=O[0],z=h[0],B=h[1],H=g==null?Math.sqrt:typeof g=="function"?g:function(){return g};if(I.x=I.y=0,U(I,function(de){de.r=+H(de.value)}),U(I,Md),s){var W=s*(g?1:Math.max(2*I.r/z,2*I.r/B))/2;U(I,function(de){de.r+=W}),U(I,Md),U(I,function(de){de.r-=W})}return dv(I,z/2,B/2,g?1:1/Math.max(2*I.r/z,2*I.r/B)),O}return y.size=function(w){return arguments.length?(h=w,y):h},y.radius=function(w){return arguments.length?(g=w==null||typeof w=="function"?w:+w,y):g},y.padding=function(w){return arguments.length?(s=+w,y):s},Xa(y,u)};function Pu(u,s){return u.value-s.value}function bo(u,s){var h=u._pack_next;u._pack_next=s,s._pack_prev=u,s._pack_next=h,h._pack_prev=s}function vi(u,s){u._pack_next=s,s._pack_prev=u}function cv(u,s){var h=s.x-u.x,g=s.y-u.y,y=u.r+s.r;return .999*y*y>h*h+g*g}function Md(u){if(!(s=u.children)||!(W=s.length))return;var s,h=1/0,g=-1/0,y=1/0,w=-1/0,N,O,I,z,B,H,W;function de(se){h=Math.min(se.x-se.r,h),g=Math.max(se.x+se.r,g),y=Math.min(se.y-se.r,y),w=Math.max(se.y+se.r,w)}if(s.forEach(ey),N=s[0],N.x=-N.r,N.y=0,de(N),W>1&&(O=s[1],O.x=O.r,O.y=0,de(O),W>2))for(I=s[2],hv(N,O,I),de(I),bo(N,I),N._pack_prev=I,bo(I,O),O=N._pack_next,z=3;z<W;z++){hv(N,O,I=s[z]);var pe=0,V=1,ee=1;for(B=O._pack_next;B!==O;B=B._pack_next,V++)if(cv(B,I)){pe=1;break}if(pe==1)for(H=N._pack_prev;H!==B._pack_prev&&!cv(H,I);H=H._pack_prev,ee++);pe?(V<ee||V==ee&&O.r<N.r?vi(N,O=B):vi(N=H,O),z--):(bo(N,I),O=I,de(I))}var ie=(h+g)/2,ve=(y+w)/2,ge=0;for(z=0;z<W;z++)I=s[z],I.x-=ie,I.y-=ve,ge=Math.max(ge,I.r+Math.sqrt(I.x*I.x+I.y*I.y));u.r=ge,s.forEach(ty)}function ey(u){u._pack_next=u._pack_prev=u}function ty(u){delete u._pack_next,delete u._pack_prev}function dv(u,s,h,g){var y=u.children;if(u.x=s+=g*u.x,u.y=h+=g*u.y,u.r*=g,y)for(var w=-1,N=y.length;++w<N;)dv(y[w],s,h,g)}function hv(u,s,h){var g=u.r+h.r,y=s.x-u.x,w=s.y-u.y;if(g&&(y||w)){var N=s.r+h.r,O=y*y+w*w;N*=N,g*=g;var I=.5+(g-N)/(2*O),z=Math.sqrt(Math.max(0,2*N*(g+O)-(g-=O)*g-N*N))/(2*O);h.x=u.x+I*y+z*w,h.y=u.y+I*w-z*y}else h.x=u.x+g,h.y=u.y}t.layout.tree=function(){var u=t.layout.hierarchy().sort(null).value(null),s=pv,h=[1,1],g=null;function y(B,H){var W=u.call(this,B,H),de=W[0],pe=w(de);if(U(pe,N),pe.parent.m=-pe.z,Xo(pe,O),g)Xo(de,z);else{var V=de,ee=de,ie=de;Xo(de,function(qe){qe.x<V.x&&(V=qe),qe.x>ee.x&&(ee=qe),qe.depth>ie.depth&&(ie=qe)});var ve=s(V,ee)/2-V.x,ge=h[0]/(ee.x+s(ee,V)/2+ve),se=h[1]/(ie.depth||1);Xo(de,function(qe){qe.x=(qe.x+ve)*ge,qe.y=qe.depth*se})}return W}function w(B){for(var H={A:null,children:[B]},W=[H],de;(de=W.pop())!=null;)for(var pe=de.children,V,ee=0,ie=pe.length;ee<ie;++ee)W.push((pe[ee]=V={_:pe[ee],parent:de,children:(V=pe[ee].children)&&V.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:ee}).a=V);return H.children[0]}function N(B){var H=B.children,W=B.parent.children,de=B.i?W[B.i-1]:null;if(H.length){ny(B);var pe=(H[0].z+H[H.length-1].z)/2;de?(B.z=de.z+s(B._,de._),B.m=B.z-pe):B.z=pe}else de&&(B.z=de.z+s(B._,de._));B.parent.A=I(B,de,B.parent.A||W[0])}function O(B){B._.x=B.z+B.parent.m,B.m+=B.parent.m}function I(B,H,W){if(H){for(var de=B,pe=B,V=H,ee=de.parent.children[0],ie=de.m,ve=pe.m,ge=V.m,se=ee.m,qe;V=Nd(V),de=Pd(de),V&&de;)ee=Pd(ee),pe=Nd(pe),pe.a=B,qe=V.z+ge-de.z-ie+s(V._,de._),qe>0&&(ry(Qa(V,B,W),B,qe),ie+=qe,ve+=qe),ge+=V.m,ie+=de.m,se+=ee.m,ve+=pe.m;V&&!Nd(pe)&&(pe.t=V,pe.m+=ge-ve),de&&!Pd(ee)&&(ee.t=de,ee.m+=ie-se,W=B)}return W}function z(B){B.x*=h[0],B.y=B.depth*h[1]}return y.separation=function(B){return arguments.length?(s=B,y):s},y.size=function(B){return arguments.length?(g=(h=B)==null?z:null,y):g?null:h},y.nodeSize=function(B){return arguments.length?(g=(h=B)==null?null:z,y):g?h:null},Xa(y,u)};function pv(u,s){return u.parent==s.parent?1:2}function Pd(u){var s=u.children;return s.length?s[0]:u.t}function Nd(u){var s=u.children,h;return(h=s.length)?s[h-1]:u.t}function ry(u,s,h){var g=h/(s.i-u.i);s.c-=g,s.s+=h,u.c+=g,s.z+=h,s.m+=h}function ny(u){for(var s=0,h=0,g=u.children,y=g.length,w;--y>=0;)w=g[y],w.z+=s,w.m+=s,s+=w.s+(h+=w.c)}function Qa(u,s,h){return u.a.parent===s.parent?u.a:h}t.layout.cluster=function(){var u=t.layout.hierarchy().sort(null).value(null),s=pv,h=[1,1],g=!1;function y(w,N){var O=u.call(this,w,N),I=O[0],z,B=0;U(I,function(V){var ee=V.children;ee&&ee.length?(V.x=iy(ee),V.y=vv(ee)):(V.x=z?B+=s(V,z):0,V.y=0,z=V)});var H=gv(I),W=mv(I),de=H.x-s(H,W)/2,pe=W.x+s(W,H)/2;return U(I,g?function(V){V.x=(V.x-I.x)*h[0],V.y=(I.y-V.y)*h[1]}:function(V){V.x=(V.x-de)/(pe-de)*h[0],V.y=(1-(I.y?V.y/I.y:1))*h[1]}),O}return y.separation=function(w){return arguments.length?(s=w,y):s},y.size=function(w){return arguments.length?(g=(h=w)==null,y):g?null:h},y.nodeSize=function(w){return arguments.length?(g=(h=w)!=null,y):g?h:null},Xa(y,u)};function vv(u){return 1+t.max(u,function(s){return s.y})}function iy(u){return u.reduce(function(s,h){return s+h.x},0)/u.length}function gv(u){var s=u.children;return s&&s.length?gv(s[0]):u}function mv(u){var s=u.children,h;return s&&(h=s.length)?mv(s[h-1]):u}t.layout.treemap=function(){var u=t.layout.hierarchy(),s=Math.round,h=[1,1],g=null,y=Rd,w=!1,N,O="squarify",I=.5*(1+Math.sqrt(5));function z(V,ee){for(var ie=-1,ve=V.length,ge,se;++ie<ve;)se=(ge=V[ie]).value*(ee<0?0:ee),ge.area=isNaN(se)||se<=0?0:se}function B(V){var ee=V.children;if(ee&&ee.length){var ie=y(V),ve=[],ge=ee.slice(),se,qe=1/0,tt,gt=O==="slice"?ie.dx:O==="dice"?ie.dy:O==="slice-dice"?V.depth&1?ie.dy:ie.dx:Math.min(ie.dx,ie.dy),rt;for(z(ge,ie.dx*ie.dy/V.value),ve.area=0;(rt=ge.length)>0;)ve.push(se=ge[rt-1]),ve.area+=se.area,O!=="squarify"||(tt=W(ve,gt))<=qe?(ge.pop(),qe=tt):(ve.area-=ve.pop().area,de(ve,gt,ie,!1),gt=Math.min(ie.dx,ie.dy),ve.length=ve.area=0,qe=1/0);ve.length&&(de(ve,gt,ie,!0),ve.length=ve.area=0),ee.forEach(B)}}function H(V){var ee=V.children;if(ee&&ee.length){var ie=y(V),ve=ee.slice(),ge,se=[];for(z(ve,ie.dx*ie.dy/V.value),se.area=0;ge=ve.pop();)se.push(ge),se.area+=ge.area,ge.z!=null&&(de(se,ge.z?ie.dx:ie.dy,ie,!ve.length),se.length=se.area=0);ee.forEach(H)}}function W(V,ee){for(var ie=V.area,ve,ge=0,se=1/0,qe=-1,tt=V.length;++qe<tt;)!(ve=V[qe].area)||(ve<se&&(se=ve),ve>ge&&(ge=ve));return ie*=ie,ee*=ee,ie?Math.max(ee*ge*I/ie,ie/(ee*se*I)):1/0}function de(V,ee,ie,ve){var ge=-1,se=V.length,qe=ie.x,tt=ie.y,gt=ee?s(V.area/ee):0,rt;if(ee==ie.dx){for((ve||gt>ie.dy)&&(gt=ie.dy);++ge<se;)rt=V[ge],rt.x=qe,rt.y=tt,rt.dy=gt,qe+=rt.dx=Math.min(ie.x+ie.dx-qe,gt?s(rt.area/gt):0);rt.z=!0,rt.dx+=ie.x+ie.dx-qe,ie.y+=gt,ie.dy-=gt}else{for((ve||gt>ie.dx)&&(gt=ie.dx);++ge<se;)rt=V[ge],rt.x=qe,rt.y=tt,rt.dx=gt,tt+=rt.dy=Math.min(ie.y+ie.dy-tt,gt?s(rt.area/gt):0);rt.z=!1,rt.dy+=ie.y+ie.dy-tt,ie.x+=gt,ie.dx-=gt}}function pe(V){var ee=N||u(V),ie=ee[0];return ie.x=ie.y=0,ie.value?(ie.dx=h[0],ie.dy=h[1]):ie.dx=ie.dy=0,N&&u.revalue(ie),z([ie],ie.dx*ie.dy/ie.value),(N?H:B)(ie),w&&(N=ee),ee}return pe.size=function(V){return arguments.length?(h=V,pe):h},pe.padding=function(V){if(!arguments.length)return g;function ee(ge){var se=V.call(pe,ge,ge.depth);return se==null?Rd(ge):yv(ge,typeof se=="number"?[se,se,se,se]:se)}function ie(ge){return yv(ge,V)}var ve;return y=(g=V)==null?Rd:(ve=typeof V)=="function"?ee:(ve==="number"&&(V=[V,V,V,V]),ie),pe},pe.round=function(V){return arguments.length?(s=V?Math.round:Number,pe):s!=Number},pe.sticky=function(V){return arguments.length?(w=V,N=null,pe):w},pe.ratio=function(V){return arguments.length?(I=V,pe):I},pe.mode=function(V){return arguments.length?(O=V+"",pe):O},Xa(pe,u)};function Rd(u){return{x:u.x,y:u.y,dx:u.dx,dy:u.dy}}function yv(u,s){var h=u.x+s[3],g=u.y+s[0],y=u.dx-s[1]-s[3],w=u.dy-s[0]-s[2];return y<0&&(h+=y/2,y=0),w<0&&(g+=w/2,w=0),{x:h,y:g,dx:y,dy:w}}t.random={normal:function(u,s){var h=arguments.length;return h<2&&(s=1),h<1&&(u=0),function(){var g,y,w;do g=Math.random()*2-1,y=Math.random()*2-1,w=g*g+y*y;while(!w||w>1);return u+s*g*Math.sqrt(-2*Math.log(w)/w)}},logNormal:function(){var u=t.random.normal.apply(t,arguments);return function(){return Math.exp(u())}},bates:function(u){var s=t.random.irwinHall(u);return function(){return s()/u}},irwinHall:function(u){return function(){for(var s=0,h=0;h<u;h++)s+=Math.random();return s}}},t.scale={};function Xf(u){var s=u[0],h=u[u.length-1];return s<h?[s,h]:[h,s]}function Qf(u){return u.rangeExtent?u.rangeExtent():Xf(u.range())}function ay(u,s,h,g){var y=h(u[0],u[1]),w=g(s[0],s[1]);return function(N){return w(y(N))}}function Rn(u,s){var h=0,g=u.length-1,y=u[h],w=u[g],N;return w<y&&(N=h,h=g,g=N,N=y,y=w,w=N),u[h]=s.floor(y),u[g]=s.ceil(w),u}function Nu(u){return u?{floor:function(s){return Math.floor(s/u)*u},ceil:function(s){return Math.ceil(s/u)*u}}:wl}var wl={floor:yt,ceil:yt};function oy(u,s,h,g){var y=[],w=[],N=0,O=Math.min(u.length,s.length)-1;for(u[O]<u[0]&&(u=u.slice().reverse(),s=s.slice().reverse());++N<=O;)y.push(h(u[N-1],u[N])),w.push(g(s[N-1],s[N]));return function(I){var z=t.bisect(u,I,1,O)-1;return w[z](y[z](I))}}t.scale.linear=function(){return Ru([0,1],[0,1],Dn,!1)};function Ru(u,s,h,g){var y,w;function N(){var I=Math.min(u.length,s.length)>2?oy:ay,z=g?Vf:Ts;return y=I(u,s,z,h),w=I(s,u,z,Dn),O}function O(I){return y(I)}return O.invert=function(I){return w(I)},O.domain=function(I){return arguments.length?(u=I.map(Number),N()):u},O.range=function(I){return arguments.length?(s=I,N()):s},O.rangeRound=function(I){return O.range(I).interpolate(Vo)},O.clamp=function(I){return arguments.length?(g=I,N()):g},O.interpolate=function(I){return arguments.length?(h=I,N()):h},O.ticks=function(I){return ks(u,I)},O.tickFormat=function(I,z){return d3_scale_linearTickFormat(u,I,z)},O.nice=function(I){return Iu(u,I),N()},O.copy=function(){return Ru(u,s,h,g)},N()}function Id(u,s){return t.rebind(u,s,"range","rangeRound","interpolate","clamp")}function Iu(u,s){return Rn(u,Nu(Os(u,s)[2])),Rn(u,Nu(Os(u,s)[2])),u}function Os(u,s){s==null&&(s=10);var h=Xf(u),g=h[1]-h[0],y=Math.pow(10,Math.floor(Math.log(g/s)/Math.LN10)),w=s/g*y;return w<=.15?y*=10:w<=.35?y*=5:w<=.75&&(y*=2),h[0]=Math.ceil(h[0]/y)*y,h[1]=Math.floor(h[1]/y)*y+y*.5,h[2]=y,h}function ks(u,s){return t.range.apply(t,Os(u,s))}t.scale.log=function(){return Zf(t.scale.linear().domain([0,1]),10,!0,[1,10])};function Zf(u,s,h,g){function y(O){return(h?Math.log(O<0?0:O):-Math.log(O>0?0:-O))/Math.log(s)}function w(O){return h?Math.pow(s,O):-Math.pow(s,-O)}function N(O){return u(y(O))}return N.invert=function(O){return w(u.invert(O))},N.domain=function(O){return arguments.length?(h=O[0]>=0,u.domain((g=O.map(Number)).map(y)),N):g},N.base=function(O){return arguments.length?(s=+O,u.domain(g.map(y)),N):s},N.nice=function(){var O=Rn(g.map(y),h?Math:Fd);return u.domain(O),g=O.map(w),N},N.ticks=function(){var O=Xf(g),I=[],z=O[0],B=O[1],H=Math.floor(y(z)),W=Math.ceil(y(B)),de=s%1?2:s;if(isFinite(W-H)){if(h){for(;H<W;H++)for(var pe=1;pe<de;pe++)I.push(w(H)*pe);I.push(w(H))}else for(I.push(w(H));H++<W;)for(var pe=de-1;pe>0;pe--)I.push(w(H)*pe);for(H=0;I[H]<z;H++);for(W=I.length;I[W-1]>B;W--);I=I.slice(H,W)}return I},N.copy=function(){return Zf(u.copy(),s,h,g)},Id(N,u)}var Fd={floor:function(u){return-Math.ceil(-u)},ceil:function(u){return-Math.floor(-u)}};t.scale.pow=function(){return Kf(t.scale.linear(),1,[0,1])};function Kf(u,s,h){var g=Fu(s),y=Fu(1/s);function w(N){return u(g(N))}return w.invert=function(N){return y(u.invert(N))},w.domain=function(N){return arguments.length?(u.domain((h=N.map(Number)).map(g)),w):h},w.ticks=function(N){return ks(h,N)},w.tickFormat=function(N,O){return d3_scale_linearTickFormat(h,N,O)},w.nice=function(N){return w.domain(Iu(h,N))},w.exponent=function(N){return arguments.length?(g=Fu(s=N),y=Fu(1/s),u.domain(h.map(g)),w):s},w.copy=function(){return Kf(u.copy(),s,h)},Id(w,u)}function Fu(u){return function(s){return s<0?-Math.pow(-s,u):Math.pow(s,u)}}t.scale.sqrt=function(){return t.scale.pow().exponent(.5)},t.scale.ordinal=function(){return Ld([],{t:"range",a:[[]]})};function Ld(u,s){var h,g,y;function w(O){return g[((h.get(O)||(s.t==="range"?h.set(O,u.push(O)):NaN))-1)%g.length]}function N(O,I){return t.range(u.length).map(function(z){return O+I*z})}return w.domain=function(O){if(!arguments.length)return u;u=[],h=new L;for(var I=-1,z=O.length,B;++I<z;)h.has(B=O[I])||h.set(B,u.push(B));return w[s.t].apply(w,s.a)},w.range=function(O){return arguments.length?(g=O,y=0,s={t:"range",a:arguments},w):g},w.rangePoints=function(O,I){arguments.length<2&&(I=0);var z=O[0],B=O[1],H=u.length<2?(z=(z+B)/2,0):(B-z)/(u.length-1+I);return g=N(z+H*I/2,H),y=0,s={t:"rangePoints",a:arguments},w},w.rangeRoundPoints=function(O,I){arguments.length<2&&(I=0);var z=O[0],B=O[1],H=u.length<2?(z=B=Math.round((z+B)/2),0):(B-z)/(u.length-1+I)|0;return g=N(z+Math.round(H*I/2+(B-z-(u.length-1+I)*H)/2),H),y=0,s={t:"rangeRoundPoints",a:arguments},w},w.rangeBands=function(O,I,z){arguments.length<2&&(I=0),arguments.length<3&&(z=I);var B=O[1]<O[0],H=O[B-0],W=O[1-B],de=(W-H)/(u.length-I+2*z);return g=N(H+de*z,de),B&&g.reverse(),y=de*(1-I),s={t:"rangeBands",a:arguments},w},w.rangeRoundBands=function(O,I,z){arguments.length<2&&(I=0),arguments.length<3&&(z=I);var B=O[1]<O[0],H=O[B-0],W=O[1-B],de=Math.floor((W-H)/(u.length-I+2*z));return g=N(H+Math.round((W-H-(u.length-I)*de)/2),de),B&&g.reverse(),y=Math.round(de*(1-I)),s={t:"rangeRoundBands",a:arguments},w},w.rangeBand=function(){return y},w.rangeExtent=function(){return Xf(s.a[0])},w.copy=function(){return Ld(u,s)},w.domain(u)}t.scale.category10=function(){return t.scale.ordinal().range(bv)},t.scale.category20=function(){return t.scale.ordinal().range(xv)},t.scale.category20b=function(){return t.scale.ordinal().range(wv)},t.scale.category20c=function(){return t.scale.ordinal().range(_v)};var bv=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(po),xv=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(po),wv=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(po),_v=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(po);t.scale.quantile=function(){return Jf([],[])};function Jf(u,s){var h;function g(){var w=0,N=s.length;for(h=[];++w<N;)h[w-1]=t.quantile(u,w/N);return y}function y(w){if(!isNaN(w=+w))return s[t.bisect(h,w)]}return y.domain=function(w){return arguments.length?(u=w.map(b).filter(C).sort(x),g()):u},y.range=function(w){return arguments.length?(s=w,g()):s},y.quantiles=function(){return h},y.invertExtent=function(w){return w=s.indexOf(w),w<0?[NaN,NaN]:[w>0?h[w-1]:u[0],w<h.length?h[w]:u[u.length-1]]},y.copy=function(){return Jf(u,s)},g()}t.scale.quantize=function(){return ec(0,1,[0,1])};function ec(u,s,h){var g,y;function w(O){return h[Math.max(0,Math.min(y,Math.floor(g*(O-u))))]}function N(){return g=h.length/(s-u),y=h.length-1,w}return w.domain=function(O){return arguments.length?(u=+O[0],s=+O[O.length-1],N()):[u,s]},w.range=function(O){return arguments.length?(h=O,N()):h},w.invertExtent=function(O){return O=h.indexOf(O),O=O<0?NaN:O/g+u,[O,O+1/g]},w.copy=function(){return ec(u,s,h)},N()}t.scale.threshold=function(){return Dd([.5],[0,1])};function Dd(u,s){function h(g){if(g<=g)return s[t.bisect(u,g)]}return h.domain=function(g){return arguments.length?(u=g,h):u},h.range=function(g){return arguments.length?(s=g,h):s},h.invertExtent=function(g){return g=s.indexOf(g),[u[g-1],u[g]]},h.copy=function(){return Dd(u,s)},h}t.scale.identity=function(){return $d([0,1])};function $d(u){function s(h){return+h}return s.invert=s,s.domain=s.range=function(h){return arguments.length?(u=h.map(s),s):u},s.ticks=function(h){return ks(u,h)},s.tickFormat=function(h,g){return d3_scale_linearTickFormat(u,h,g)},s.copy=function(){return $d(u)},s}t.svg={};function Sv(){return 0}t.svg.arc=function(){var u=zd,s=Ev,h=Sv,g=Ms,y=Bd,w=tc,N=jd;function O(){var z=Math.max(0,+u.apply(this,arguments)),B=Math.max(0,+s.apply(this,arguments)),H=y.apply(this,arguments)-ia,W=w.apply(this,arguments)-ia,de=Math.abs(W-H),pe=H>W?0:1;if(B<z&&(V=B,B=z,z=V),de>=Rf)return I(B,pe)+(z?I(z,1-pe):"")+"Z";var V,ee,ie,ve,ge=0,se=0,qe,tt,gt,rt,_t,Rt,vr,Bt,sr=[];if((ve=(+N.apply(this,arguments)||0)/2)&&(ie=g===Ms?Math.sqrt(z*z+B*B):+g.apply(this,arguments),pe||(se*=-1),B&&(se=Ff(ie/B*Math.sin(ve))),z&&(ge=Ff(ie/z*Math.sin(ve)))),B){qe=B*Math.cos(H+se),tt=B*Math.sin(H+se),gt=B*Math.cos(W-se),rt=B*Math.sin(W-se);var Ir=Math.abs(W-H-2*se)<=Vi?0:1;if(se&&Ps(qe,tt,gt,rt)===pe^Ir){var vn=(H+W)/2;qe=B*Math.cos(vn),tt=B*Math.sin(vn),gt=rt=null}}else qe=tt=0;if(z){_t=z*Math.cos(W-ge),Rt=z*Math.sin(W-ge),vr=z*Math.cos(H+ge),Bt=z*Math.sin(H+ge);var Hr=Math.abs(H-W+2*ge)<=Vi?0:1;if(ge&&Ps(_t,Rt,vr,Bt)===1-pe^Hr){var mt=(H+W)/2;_t=z*Math.cos(mt),Rt=z*Math.sin(mt),vr=Bt=null}}else _t=Rt=0;if(de>Pr&&(V=Math.min(Math.abs(B-z)/2,+h.apply(this,arguments)))>.001){ee=z<B^pe?0:1;var gr=V,xr=V;if(de<Vi){var Fr=vr==null?[_t,Rt]:gt==null?[qe,tt]:xs([qe,tt],[vr,Bt],[gt,rt],[_t,Rt]),un=qe-Fr[0],En=tt-Fr[1],$n=gt-Fr[0],gi=rt-Fr[1],Ci=1/Math.sin(Math.acos((un*$n+En*gi)/(Math.sqrt(un*un+En*En)*Math.sqrt($n*$n+gi*gi)))/2),ei=Math.sqrt(Fr[0]*Fr[0]+Fr[1]*Fr[1]);xr=Math.min(V,(z-ei)/(Ci-1)),gr=Math.min(V,(B-ei)/(Ci+1))}if(gt!=null){var zi=_l(vr==null?[_t,Rt]:[vr,Bt],[qe,tt],B,gr,pe),F=_l([gt,rt],[_t,Rt],B,gr,pe);V===gr?sr.push("M",zi[0],"A",gr,",",gr," 0 0,",ee," ",zi[1],"A",B,",",B," 0 ",1-pe^Ps(zi[1][0],zi[1][1],F[1][0],F[1][1]),",",pe," ",F[1],"A",gr,",",gr," 0 0,",ee," ",F[0]):sr.push("M",zi[0],"A",gr,",",gr," 0 1,",ee," ",F[0])}else sr.push("M",qe,",",tt);if(vr!=null){var X=_l([qe,tt],[vr,Bt],z,-xr,pe),ne=_l([_t,Rt],gt==null?[qe,tt]:[gt,rt],z,-xr,pe);V===xr?sr.push("L",ne[0],"A",xr,",",xr," 0 0,",ee," ",ne[1],"A",z,",",z," 0 ",pe^Ps(ne[1][0],ne[1][1],X[1][0],X[1][1]),",",1-pe," ",X[1],"A",xr,",",xr," 0 0,",ee," ",X[0]):sr.push("L",ne[0],"A",xr,",",xr," 0 0,",ee," ",X[0])}else sr.push("L",_t,",",Rt)}else sr.push("M",qe,",",tt),gt!=null&&sr.push("A",B,",",B," 0 ",Ir,",",pe," ",gt,",",rt),sr.push("L",_t,",",Rt),vr!=null&&sr.push("A",z,",",z," 0 ",Hr,",",1-pe," ",vr,",",Bt);return sr.push("Z"),sr.join("")}function I(z,B){return"M0,"+z+"A"+z+","+z+" 0 1,"+B+" 0,"+-z+"A"+z+","+z+" 0 1,"+B+" 0,"+z}return O.innerRadius=function(z){return arguments.length?(u=Rr(z),O):u},O.outerRadius=function(z){return arguments.length?(s=Rr(z),O):s},O.cornerRadius=function(z){return arguments.length?(h=Rr(z),O):h},O.padRadius=function(z){return arguments.length?(g=z==Ms?Ms:Rr(z),O):g},O.startAngle=function(z){return arguments.length?(y=Rr(z),O):y},O.endAngle=function(z){return arguments.length?(w=Rr(z),O):w},O.padAngle=function(z){return arguments.length?(N=Rr(z),O):N},O.centroid=function(){var z=(+u.apply(this,arguments)+ +s.apply(this,arguments))/2,B=(+y.apply(this,arguments)+ +w.apply(this,arguments))/2-ia;return[Math.cos(B)*z,Math.sin(B)*z]},O};var Ms="auto";function zd(u){return u.innerRadius}function Ev(u){return u.outerRadius}function Bd(u){return u.startAngle}function tc(u){return u.endAngle}function jd(u){return u&&u.padAngle}function Ps(u,s,h,g){return(u-h)*s-(s-g)*u>0?0:1}function _l(u,s,h,g,y){var w=u[0]-s[0],N=u[1]-s[1],O=(y?g:-g)/Math.sqrt(w*w+N*N),I=O*N,z=-O*w,B=u[0]+I,H=u[1]+z,W=s[0]+I,de=s[1]+z,pe=(B+W)/2,V=(H+de)/2,ee=W-B,ie=de-H,ve=ee*ee+ie*ie,ge=h-g,se=B*de-W*H,qe=(ie<0?-1:1)*Math.sqrt(Math.max(0,ge*ge*ve-se*se)),tt=(se*ie-ee*qe)/ve,gt=(-se*ee-ie*qe)/ve,rt=(se*ie+ee*qe)/ve,_t=(-se*ee+ie*qe)/ve,Rt=tt-pe,vr=gt-V,Bt=rt-pe,sr=_t-V;return Rt*Rt+vr*vr>Bt*Bt+sr*sr&&(tt=rt,gt=_t),[[tt-I,gt-z],[tt*h/ge,gt*h/ge]]}function Ud(){return!0}function Hd(u){var s=Ea,h=Aa,g=Ud,y=ua,w=y.key,N=.7;function O(I){var z=[],B=[],H=-1,W=I.length,de,pe=Rr(s),V=Rr(h);function ee(){z.push("M",y(u(B),N))}for(;++H<W;)g.call(this,de=I[H],H)?B.push([+pe.call(this,de,H),+V.call(this,de,H)]):B.length&&(ee(),B=[]);return B.length&&ee(),z.length?z.join(""):null}return O.x=function(I){return arguments.length?(s=I,O):s},O.y=function(I){return arguments.length?(h=I,O):h},O.defined=function(I){return arguments.length?(g=I,O):g},O.interpolate=function(I){return arguments.length?(typeof I=="function"?w=y=I:w=(y=Ns.get(I)||ua).key,O):w},O.tension=function(I){return arguments.length?(N=I,O):N},O}t.svg.line=function(){return Hd(yt)};var Ns=t.map({linear:ua,"linear-closed":Wd,step:Gd,"step-before":Rs,"step-after":Lu,basis:Is,"basis-open":nc,"basis-closed":Sl,bundle:El,cardinal:xo,"cardinal-open":Av,"cardinal-closed":rc,monotone:uy});Ns.forEach(function(u,s){s.key=u,s.closed=/-closed$/.test(u)});function ua(u){return u.length>1?u.join("L"):u+"Z"}function Wd(u){return u.join("L")+"Z"}function Gd(u){for(var s=0,h=u.length,g=u[0],y=[g[0],",",g[1]];++s<h;)y.push("H",(g[0]+(g=u[s])[0])/2,"V",g[1]);return h>1&&y.push("H",g[0]),y.join("")}function Rs(u){for(var s=0,h=u.length,g=u[0],y=[g[0],",",g[1]];++s<h;)y.push("V",(g=u[s])[1],"H",g[0]);return y.join("")}function Lu(u){for(var s=0,h=u.length,g=u[0],y=[g[0],",",g[1]];++s<h;)y.push("H",(g=u[s])[0],"V",g[1]);return y.join("")}function Av(u,s){return u.length<4?ua(u):u[1]+Du(u.slice(1,-1),Qo(u,s))}function rc(u,s){return u.length<3?Wd(u):u[0]+Du((u.push(u[0]),u),Qo([u[u.length-2]].concat(u,[u[1]]),s))}function xo(u,s){return u.length<3?ua(u):u[0]+Du(u,Qo(u,s))}function Du(u,s){if(s.length<1||u.length!=s.length&&u.length!=s.length+2)return ua(u);var h=u.length!=s.length,g="",y=u[0],w=u[1],N=s[0],O=N,I=1;if(h&&(g+="Q"+(w[0]-N[0]*2/3)+","+(w[1]-N[1]*2/3)+","+w[0]+","+w[1],y=u[1],I=2),s.length>1){O=s[1],w=u[I],I++,g+="C"+(y[0]+N[0])+","+(y[1]+N[1])+","+(w[0]-O[0])+","+(w[1]-O[1])+","+w[0]+","+w[1];for(var z=2;z<s.length;z++,I++)w=u[I],O=s[z],g+="S"+(w[0]-O[0])+","+(w[1]-O[1])+","+w[0]+","+w[1]}if(h){var B=u[I];g+="Q"+(w[0]+O[0]*2/3)+","+(w[1]+O[1]*2/3)+","+B[0]+","+B[1]}return g}function Qo(u,s){for(var h=[],g=(1-s)/2,y,w=u[0],N=u[1],O=1,I=u.length;++O<I;)y=w,w=N,N=u[O],h.push([g*(N[0]-y[0]),g*(N[1]-y[1])]);return h}function Is(u){if(u.length<3)return ua(u);var s=1,h=u.length,g=u[0],y=g[0],w=g[1],N=[y,y,y,(g=u[1])[0]],O=[w,w,w,g[1]],I=[y,",",w,"L",Jn(Pa,N),",",Jn(Pa,O)];for(u.push(u[h-1]);++s<=h;)g=u[s],N.shift(),N.push(g[0]),O.shift(),O.push(g[1]),Fs(I,N,O);return u.pop(),I.push("L",g),I.join("")}function nc(u){if(u.length<4)return ua(u);for(var s=[],h=-1,g=u.length,y,w=[0],N=[0];++h<3;)y=u[h],w.push(y[0]),N.push(y[1]);for(s.push(Jn(Pa,w)+","+Jn(Pa,N)),--h;++h<g;)y=u[h],w.shift(),w.push(y[0]),N.shift(),N.push(y[1]),Fs(s,w,N);return s.join("")}function Sl(u){for(var s,h=-1,g=u.length,y=g+4,w,N=[],O=[];++h<4;)w=u[h%g],N.push(w[0]),O.push(w[1]);for(s=[Jn(Pa,N),",",Jn(Pa,O)],--h;++h<y;)w=u[h%g],N.shift(),N.push(w[0]),O.shift(),O.push(w[1]),Fs(s,N,O);return s.join("")}function El(u,s){var h=u.length-1;if(h)for(var g=u[0][0],y=u[0][1],w=u[h][0]-g,N=u[h][1]-y,O=-1,I,z;++O<=h;)I=u[O],z=O/h,I[0]=s*I[0]+(1-s)*(g+z*w),I[1]=s*I[1]+(1-s)*(y+z*N);return Is(u)}function Jn(u,s){return u[0]*s[0]+u[1]*s[1]+u[2]*s[2]+u[3]*s[3]}var ic=[0,2/3,1/3,0],ac=[0,1/3,2/3,0],Pa=[0,1/6,2/3,1/6];function Fs(u,s,h){u.push("C",Jn(ic,s),",",Jn(ic,h),",",Jn(ac,s),",",Jn(ac,h),",",Jn(Pa,s),",",Jn(Pa,h))}function Ls(u,s){return(s[1]-u[1])/(s[0]-u[0])}function Al(u){for(var s=0,h=u.length-1,g=[],y=u[0],w=u[1],N=g[0]=Ls(y,w);++s<h;)g[s]=(N+(N=Ls(y=w,w=u[s+1])))/2;return g[s]=N,g}function Tl(u){for(var s=[],h,g,y,w,N=Al(u),O=-1,I=u.length-1;++O<I;)h=Ls(u[O],u[O+1]),T(h)<Pr?N[O]=N[O+1]=0:(g=N[O]/h,y=N[O+1]/h,w=g*g+y*y,w>9&&(w=h*3/Math.sqrt(w),N[O]=w*g,N[O+1]=w*y));for(O=-1;++O<=I;)w=(u[Math.min(I,O+1)][0]-u[Math.max(0,O-1)][0])/(6*(1+N[O]*N[O])),s.push([w||0,N[O]*w||0]);return s}function uy(u){return u.length<3?ua(u):u[0]+Du(u,Tl(u))}t.svg.line.radial=function(){var u=Hd(Tv);return u.radius=u.x,delete u.x,u.angle=u.y,delete u.y,u};function Tv(u){for(var s,h=-1,g=u.length,y,w;++h<g;)s=u[h],y=s[0],w=s[1]-ia,s[0]=y*Math.cos(w),s[1]=y*Math.sin(w);return u}function qd(u){var s=Ea,h=Ea,g=0,y=Aa,w=Ud,N=ua,O=N.key,I=N,z="L",B=.7;function H(W){var de=[],pe=[],V=[],ee=-1,ie=W.length,ve,ge=Rr(s),se=Rr(g),qe=s===h?function(){return gt}:Rr(h),tt=g===y?function(){return rt}:Rr(y),gt,rt;function _t(){de.push("M",N(u(V),B),z,I(u(pe.reverse()),B),"Z")}for(;++ee<ie;)w.call(this,ve=W[ee],ee)?(pe.push([gt=+ge.call(this,ve,ee),rt=+se.call(this,ve,ee)]),V.push([+qe.call(this,ve,ee),+tt.call(this,ve,ee)])):pe.length&&(_t(),pe=[],V=[]);return pe.length&&_t(),de.length?de.join(""):null}return H.x=function(W){return arguments.length?(s=h=W,H):h},H.x0=function(W){return arguments.length?(s=W,H):s},H.x1=function(W){return arguments.length?(h=W,H):h},H.y=function(W){return arguments.length?(g=y=W,H):y},H.y0=function(W){return arguments.length?(g=W,H):g},H.y1=function(W){return arguments.length?(y=W,H):y},H.defined=function(W){return arguments.length?(w=W,H):w},H.interpolate=function(W){return arguments.length?(typeof W=="function"?O=N=W:O=(N=Ns.get(W)||ua).key,I=N.reverse||N,z=N.closed?"M":"L",H):O},H.tension=function(W){return arguments.length?(B=W,H):B},H}Rs.reverse=Lu,Lu.reverse=Rs,t.svg.area=function(){return qd(yt)},t.svg.area.radial=function(){var u=qd(Tv);return u.radius=u.x,delete u.x,u.innerRadius=u.x0,delete u.x0,u.outerRadius=u.x1,delete u.x1,u.angle=u.y,delete u.y,u.startAngle=u.y0,delete u.y0,u.endAngle=u.y1,delete u.y1,u};function Vd(u){return u.source}function Yd(u){return u.target}t.svg.chord=function(){var u=Vd,s=Yd,h=ly,g=Bd,y=tc;function w(B,H){var W=N(this,u,B,H),de=N(this,s,B,H);return"M"+W.p0+I(W.r,W.p1,W.a1-W.a0)+(O(W,de)?z(W.r,W.p1,W.r,W.p0):z(W.r,W.p1,de.r,de.p0)+I(de.r,de.p1,de.a1-de.a0)+z(de.r,de.p1,W.r,W.p0))+"Z"}function N(B,H,W,de){var pe=H.call(B,W,de),V=h.call(B,pe,de),ee=g.call(B,pe,de)-ia,ie=y.call(B,pe,de)-ia;return{r:V,a0:ee,a1:ie,p0:[V*Math.cos(ee),V*Math.sin(ee)],p1:[V*Math.cos(ie),V*Math.sin(ie)]}}function O(B,H){return B.a0==H.a0&&B.a1==H.a1}function I(B,H,W){return"A"+B+","+B+" 0 "+ +(W>Vi)+",1 "+H}function z(B,H,W,de){return"Q 0,0 "+de}return w.radius=function(B){return arguments.length?(h=Rr(B),w):h},w.source=function(B){return arguments.length?(u=Rr(B),w):u},w.target=function(B){return arguments.length?(s=Rr(B),w):s},w.startAngle=function(B){return arguments.length?(g=Rr(B),w):g},w.endAngle=function(B){return arguments.length?(y=Rr(B),w):y},w};function ly(u){return u.radius}t.svg.diagonal=function(){var u=Vd,s=Yd,h=$u;function g(y,w){var N=u.call(this,y,w),O=s.call(this,y,w),I=(N.y+O.y)/2,z=[N,{x:N.x,y:I},{x:O.x,y:I},O];return z=z.map(h),"M"+z[0]+"C"+z[1]+" "+z[2]+" "+z[3]}return g.source=function(y){return arguments.length?(u=Rr(y),g):u},g.target=function(y){return arguments.length?(s=Rr(y),g):s},g.projection=function(y){return arguments.length?(h=y,g):h},g};function $u(u){return[u.x,u.y]}t.svg.diagonal.radial=function(){var u=t.svg.diagonal(),s=$u,h=u.projection;return u.projection=function(g){return arguments.length?h(Xd(s=g)):s},u};function Xd(u){return function(){var s=u.apply(this,arguments),h=s[0],g=s[1]-ia;return[h*Math.cos(g),h*Math.sin(g)]}}t.svg.symbol=function(){var u=fy,s=sy;function h(g,y){return(Ov.get(u.call(this,g,y))||Cv)(s.call(this,g,y))}return h.type=function(g){return arguments.length?(u=Rr(g),h):u},h.size=function(g){return arguments.length?(s=Rr(g),h):s},h};function sy(){return 64}function fy(){return"circle"}function Cv(u){var s=Math.sqrt(u/Vi);return"M0,"+s+"A"+s+","+s+" 0 1,1 0,"+-s+"A"+s+","+s+" 0 1,1 0,"+s+"Z"}var Ov=t.map({circle:Cv,cross:function(u){var s=Math.sqrt(u/5)/2;return"M"+-3*s+","+-s+"H"+-s+"V"+-3*s+"H"+s+"V"+-s+"H"+3*s+"V"+s+"H"+s+"V"+3*s+"H"+-s+"V"+s+"H"+-3*s+"Z"},diamond:function(u){var s=Math.sqrt(u/(2*kv)),h=s*kv;return"M0,"+-s+"L"+h+",0 0,"+s+" "+-h+",0Z"},square:function(u){var s=Math.sqrt(u)/2;return"M"+-s+","+-s+"L"+s+","+-s+" "+s+","+s+" "+-s+","+s+"Z"},"triangle-down":function(u){var s=Math.sqrt(u/oc),h=s*oc/2;return"M0,"+h+"L"+s+","+-h+" "+-s+","+-h+"Z"},"triangle-up":function(u){var s=Math.sqrt(u/oc),h=s*oc/2;return"M0,"+-h+"L"+s+","+h+" "+-s+","+h+"Z"}});t.svg.symbolTypes=Ov.keys();var oc=Math.sqrt(3),kv=Math.tan(30*If);je.transition=function(u){for(var s=wo||++lc,h=$s(u),g=[],y,w,N=Cl||{time:Date.now(),ease:qo,delay:0,duration:250},O=-1,I=this.length;++O<I;){g.push(y=[]);for(var z=this[O],B=-1,H=z.length;++B<H;)(w=z[B])&&Ol(w,B,h,s,N),y.push(w)}return Ds(g,h,s)},je.interrupt=function(u){return this.each(u==null?uc:Mv($s(u)))};var uc=Mv($s());function Mv(u){return function(){var s,h,g;(s=this[u])&&(g=s[h=s.active])&&(g.timer.c=null,g.timer.t=NaN,--s.count?delete s[h]:delete this[u],s.active+=.5,g.event&&g.event.interrupt.call(this,this.__data__,g.index))}}function Ds(u,s,h){return hr(u,Sn),u.namespace=s,u.id=h,u}var Sn=[],lc=0,wo,Cl;Sn.call=je.call,Sn.empty=je.empty,Sn.node=je.node,Sn.size=je.size,t.transition=function(u,s){return u&&u.transition?wo?u.transition(s):u:t.selection().transition(u)},t.transition.prototype=Sn,Sn.select=function(u){var s=this.id,h=this.namespace,g=[],y,w,N;u=Y(u);for(var O=-1,I=this.length;++O<I;){g.push(y=[]);for(var z=this[O],B=-1,H=z.length;++B<H;)(N=z[B])&&(w=u.call(N,N.__data__,B,O))?("__data__"in N&&(w.__data__=N.__data__),Ol(w,B,h,s,N[h][s]),y.push(w)):y.push(null)}return Ds(g,h,s)},Sn.selectAll=function(u){var s=this.id,h=this.namespace,g=[],y,w,N,O,I;u=he(u);for(var z=-1,B=this.length;++z<B;)for(var H=this[z],W=-1,de=H.length;++W<de;)if(N=H[W]){I=N[h][s],w=u.call(N,N.__data__,W,z),g.push(y=[]);for(var pe=-1,V=w.length;++pe<V;)(O=w[pe])&&Ol(O,pe,h,s,I),y.push(O)}return Ds(g,h,s)},Sn.filter=function(u){var s=[],h,g,y;typeof u!="function"&&(u=pu(u));for(var w=0,N=this.length;w<N;w++){s.push(h=[]);for(var g=this[w],O=0,I=g.length;O<I;O++)(y=g[O])&&u.call(y,y.__data__,O,w)&&h.push(y)}return Ds(s,this.namespace,this.id)},Sn.tween=function(u,s){var h=this.id,g=this.namespace;return arguments.length<2?this.node()[g][h].tween.get(u):qi(this,s==null?function(y){y[g][h].tween.remove(u)}:function(y){y[g][h].tween.set(u,s)})};function sc(u,s,h,g){var y=u.id,w=u.namespace;return qi(u,typeof h=="function"?function(N,O,I){N[w][y].tween.set(s,g(h.call(N,N.__data__,O,I)))}:(h=g(h),function(N){N[w][y].tween.set(s,h)}))}Sn.attr=function(u,s){if(arguments.length<2){for(s in u)this.attr(s,u[s]);return this}var h=u=="transform"?ku:Dn,g=t.ns.qualify(u);function y(){this.removeAttribute(g)}function w(){this.removeAttributeNS(g.space,g.local)}function N(I){return I==null?y:(I+="",function(){var z=this.getAttribute(g),B;return z!==I&&(B=h(z,I),function(H){this.setAttribute(g,B(H))})})}function O(I){return I==null?w:(I+="",function(){var z=this.getAttributeNS(g.space,g.local),B;return z!==I&&(B=h(z,I),function(H){this.setAttributeNS(g.space,g.local,B(H))})})}return sc(this,"attr."+u,s,g.local?O:N)},Sn.attrTween=function(u,s){var h=t.ns.qualify(u);function g(w,N){var O=s.call(this,w,N,this.getAttribute(h));return O&&function(I){this.setAttribute(h,O(I))}}function y(w,N){var O=s.call(this,w,N,this.getAttributeNS(h.space,h.local));return O&&function(I){this.setAttributeNS(h.space,h.local,O(I))}}return this.tween("attr."+u,h.local?y:g)},Sn.style=function(u,s,h){var g=arguments.length;if(g<3){if(typeof u!="string"){g<2&&(s="");for(h in u)this.style(h,u[h],s);return this}h=""}function y(){this.style.removeProperty(u)}function w(N){return N==null?y:(N+="",function(){var O=o(this).getComputedStyle(this,null).getPropertyValue(u),I;return O!==N&&(I=Dn(O,N),function(z){this.style.setProperty(u,I(z),h)})})}return sc(this,"style."+u,s,w)},Sn.styleTween=function(u,s,h){arguments.length<3&&(h="");function g(y,w){var N=s.call(this,y,w,o(this).getComputedStyle(this,null).getPropertyValue(u));return N&&function(O){this.style.setProperty(u,N(O),h)}}return this.tween("style."+u,g)},Sn.text=function(u){return sc(this,"text",u,Qd)};function Qd(u){return u==null&&(u=""),function(){this.textContent=u}}Sn.remove=function(){var u=this.namespace;return this.each("end.transition",function(){var s;this[u].count<2&&(s=this.parentNode)&&s.removeChild(this)})},Sn.ease=function(u){var s=this.id,h=this.namespace;return arguments.length<1?this.node()[h][s].ease:(typeof u!="function"&&(u=t.ease.apply(t,arguments)),qi(this,function(g){g[h][s].ease=u}))},Sn.delay=function(u){var s=this.id,h=this.namespace;return arguments.length<1?this.node()[h][s].delay:qi(this,typeof u=="function"?function(g,y,w){g[h][s].delay=+u.call(g,g.__data__,y,w)}:(u=+u,function(g){g[h][s].delay=u}))},Sn.duration=function(u){var s=this.id,h=this.namespace;return arguments.length<1?this.node()[h][s].duration:qi(this,typeof u=="function"?function(g,y,w){g[h][s].duration=Math.max(1,u.call(g,g.__data__,y,w))}:(u=Math.max(1,u),function(g){g[h][s].duration=u}))},Sn.each=function(u,s){var h=this.id,g=this.namespace;if(arguments.length<2){var y=Cl,w=wo;try{wo=h,qi(this,function(N,O,I){Cl=N[g][h],u.call(N,N.__data__,O,I)})}finally{Cl=y,wo=w}}else qi(this,function(N){var O=N[g][h];(O.event||(O.event=t.dispatch("start","end","interrupt"))).on(u,s)});return this},Sn.transition=function(){for(var u=this.id,s=++lc,h=this.namespace,g=[],y,w,N,O,I=0,z=this.length;I<z;I++){g.push(y=[]);for(var w=this[I],B=0,H=w.length;B<H;B++)(N=w[B])&&(O=N[h][u],Ol(N,B,h,s,{time:O.time,ease:O.ease,delay:O.delay+O.duration,duration:O.duration})),y.push(N)}return Ds(g,h,s)};function $s(u){return u==null?"__transition__":"__transition_"+u+"__"}function Ol(u,s,h,g,y){var w=u[h]||(u[h]={active:0,count:0}),N=w[g],O,I,z,B,H;function W(V){var ee=N.delay;if(I.t=ee+O,ee<=V)return de(V-ee);I.c=de}function de(V){var ee=w.active,ie=w[ee];ie&&(ie.timer.c=null,ie.timer.t=NaN,--w.count,delete w[ee],ie.event&&ie.event.interrupt.call(u,u.__data__,ie.index));for(var ve in w)if(+ve<g){var ge=w[ve];ge.timer.c=null,ge.timer.t=NaN,--w.count,delete w[ve]}I.c=pe,go(function(){return I.c&&pe(V||1)&&(I.c=null,I.t=NaN),1},0,O),w.active=g,N.event&&N.event.start.call(u,u.__data__,s),H=[],N.tween.forEach(function(se,qe){(qe=qe.call(u,u.__data__,s))&&H.push(qe)}),B=N.ease,z=N.duration}function pe(V){for(var ee=V/z,ie=B(ee),ve=H.length;ve>0;)H[--ve].call(u,ie);if(ee>=1)return N.event&&N.event.end.call(u,u.__data__,s),--w.count?delete w[g]:delete u[h],1}N||(O=y.time,I=go(W,0,O),N=w[g]={tween:new L,time:O,timer:I,delay:y.delay,duration:y.duration,ease:y.ease,index:s},y=null,++w.count)}t.svg.axis=function(){var u=t.scale.linear(),s=Zd,h=6,g=6,y=3,w=[10],N=null,O;function I(z){z.each(function(){var B=t.select(this),H=this.__chart__||u,W=this.__chart__=u.copy(),de=N==null?W.ticks?W.ticks.apply(W,w):W.domain():N,pe=O==null?W.tickFormat?W.tickFormat.apply(W,w):yt:O,V=B.selectAll(".tick").data(de,W),ee=V.enter().insert("g",".domain").attr("class","tick").style("opacity",Pr),ie=t.transition(V.exit()).style("opacity",Pr).remove(),ve=t.transition(V.order()).style("opacity",1),ge=Math.max(h,0)+y,se,qe=Qf(W),tt=B.selectAll(".domain").data([0]),gt=(tt.enter().append("path").attr("class","domain"),t.transition(tt));ee.append("line"),ee.append("text");var rt=ee.select("line"),_t=ve.select("line"),Rt=V.select("text").text(pe),vr=ee.select("text"),Bt=ve.select("text"),sr=s==="top"||s==="left"?-1:1,Ir,vn,Hr,mt;if(s==="bottom"||s==="top"?(se=Jd,Ir="x",Hr="y",vn="x2",mt="y2",Rt.attr("dy",sr<0?"0em":".71em").style("text-anchor","middle"),gt.attr("d","M"+qe[0]+","+sr*g+"V0H"+qe[1]+"V"+sr*g)):(se=eh,Ir="y",Hr="x",vn="y2",mt="x2",Rt.attr("dy",".32em").style("text-anchor",sr<0?"end":"start"),gt.attr("d","M"+sr*g+","+qe[0]+"H0V"+qe[1]+"H"+sr*g)),rt.attr(mt,sr*h),vr.attr(Hr,sr*ge),_t.attr(vn,0).attr(mt,sr*h),Bt.attr(Ir,0).attr(Hr,sr*ge),W.rangeBand){var gr=W,xr=gr.rangeBand()/2;H=W=function(Fr){return gr(Fr)+xr}}else H.rangeBand?H=W:ie.call(se,W,H);ee.call(se,H,W),ve.call(se,W,W)})}return I.scale=function(z){return arguments.length?(u=z,I):u},I.orient=function(z){return arguments.length?(s=z in Kd?z+"":Zd,I):s},I.ticks=function(){return arguments.length?(w=n(arguments),I):w},I.tickValues=function(z){return arguments.length?(N=z,I):N},I.tickFormat=function(z){return arguments.length?(O=z,I):O},I.tickSize=function(z){var B=arguments.length;return B?(h=+z,g=+arguments[B-1],I):h},I.innerTickSize=function(z){return arguments.length?(h=+z,I):h},I.outerTickSize=function(z){return arguments.length?(g=+z,I):g},I.tickPadding=function(z){return arguments.length?(y=+z,I):y},I.tickSubdivide=function(){return arguments.length&&I},I};var Zd="bottom",Kd={top:1,right:1,bottom:1,left:1};function Jd(u,s,h){u.attr("transform",function(g){var y=s(g);return"translate("+(isFinite(y)?y:h(g))+",0)"})}function eh(u,s,h){u.attr("transform",function(g){var y=s(g);return"translate(0,"+(isFinite(y)?y:h(g))+")"})}t.svg.brush=function(){var u=Ct(B,"brushstart","brush","brushend"),s=null,h=null,g=[0,0],y=[0,0],w,N,O=!0,I=!0,z=zs[0];function B(V){V.each(function(){var ee=t.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",pe).on("touchstart.brush",pe),ie=ee.selectAll(".background").data([0]);ie.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),ee.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var ve=ee.selectAll(".resize").data(z,yt);ve.exit().remove(),ve.enter().append("g").attr("class",function(tt){return"resize "+tt}).style("cursor",function(tt){return th[tt]}).append("rect").attr("x",function(tt){return/[ew]$/.test(tt)?-3:null}).attr("y",function(tt){return/^[ns]/.test(tt)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),ve.style("display",B.empty()?"none":null);var ge=t.transition(ee),se=t.transition(ie),qe;s&&(qe=Qf(s),se.attr("x",qe[0]).attr("width",qe[1]-qe[0]),W(ge)),h&&(qe=Qf(h),se.attr("y",qe[0]).attr("height",qe[1]-qe[0]),de(ge)),H(ge)})}B.event=function(V){V.each(function(){var ee=u.of(this,arguments),ie={x:g,y,i:w,j:N},ve=this.__chart__||ie;this.__chart__=ie,wo?t.select(this).transition().each("start.brush",function(){w=ve.i,N=ve.j,g=ve.x,y=ve.y,ee({type:"brushstart"})}).tween("brush:brush",function(){var ge=Zn(g,ie.x),se=Zn(y,ie.y);return w=N=null,function(qe){g=ie.x=ge(qe),y=ie.y=se(qe),ee({type:"brush",mode:"resize"})}}).each("end.brush",function(){w=ie.i,N=ie.j,ee({type:"brush",mode:"resize"}),ee({type:"brushend"})}):(ee({type:"brushstart"}),ee({type:"brush",mode:"resize"}),ee({type:"brushend"}))})};function H(V){V.selectAll(".resize").attr("transform",function(ee){return"translate("+g[+/e$/.test(ee)]+","+y[+/^s/.test(ee)]+")"})}function W(V){V.select(".extent").attr("x",g[0]),V.selectAll(".extent,.n>rect,.s>rect").attr("width",g[1]-g[0])}function de(V){V.select(".extent").attr("y",y[0]),V.selectAll(".extent,.e>rect,.w>rect").attr("height",y[1]-y[0])}function pe(){var V=this,ee=t.select(t.event.target),ie=u.of(V,arguments),ve=t.select(V),ge=ee.datum(),se=!/^(n|s)$/.test(ge)&&s,qe=!/^(e|w)$/.test(ge)&&h,tt=ee.classed("extent"),gt=yu(V),rt,_t=t.mouse(V),Rt,vr=t.select(o(V)).on("keydown.brush",Ir).on("keyup.brush",vn);if(t.event.changedTouches?vr.on("touchmove.brush",Hr).on("touchend.brush",gr):vr.on("mousemove.brush",Hr).on("mouseup.brush",gr),ve.interrupt().selectAll("*").interrupt(),tt)_t[0]=g[0]-_t[0],_t[1]=y[0]-_t[1];else if(ge){var Bt=+/w$/.test(ge),sr=+/^n/.test(ge);Rt=[g[1-Bt]-_t[0],y[1-sr]-_t[1]],_t[0]=g[Bt],_t[1]=y[sr]}else t.event.altKey&&(rt=_t.slice());ve.style("pointer-events","none").selectAll(".resize").style("display",null),t.select("body").style("cursor",ee.style("cursor")),ie({type:"brushstart"}),Hr();function Ir(){t.event.keyCode==32&&(tt||(rt=null,_t[0]-=g[1],_t[1]-=y[1],tt=2),At())}function vn(){t.event.keyCode==32&&tt==2&&(_t[0]+=g[1],_t[1]+=y[1],tt=0,At())}function Hr(){var xr=t.mouse(V),Fr=!1;Rt&&(xr[0]+=Rt[0],xr[1]+=Rt[1]),tt||(t.event.altKey?(rt||(rt=[(g[0]+g[1])/2,(y[0]+y[1])/2]),_t[0]=g[+(xr[0]<rt[0])],_t[1]=y[+(xr[1]<rt[1])]):rt=null),se&&mt(xr,s,0)&&(W(ve),Fr=!0),qe&&mt(xr,h,1)&&(de(ve),Fr=!0),Fr&&(H(ve),ie({type:"brush",mode:tt?"move":"resize"}))}function mt(xr,Fr,un){var En=Qf(Fr),$n=En[0],gi=En[1],Ci=_t[un],ei=un?y:g,zi=ei[1]-ei[0],F,X;if(tt&&($n-=Ci,gi-=zi+Ci),F=(un?I:O)?Math.max($n,Math.min(gi,xr[un])):xr[un],tt?X=(F+=Ci)+zi:(rt&&(Ci=Math.max($n,Math.min(gi,2*rt[un]-F))),Ci<F?(X=F,F=Ci):X=Ci),ei[0]!=F||ei[1]!=X)return un?N=null:w=null,ei[0]=F,ei[1]=X,!0}function gr(){Hr(),ve.style("pointer-events","all").selectAll(".resize").style("display",B.empty()?"none":null),t.select("body").style("cursor",null),vr.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),gt(),ie({type:"brushend"})}}return B.x=function(V){return arguments.length?(s=V,z=zs[!s<<1|!h],B):s},B.y=function(V){return arguments.length?(h=V,z=zs[!s<<1|!h],B):h},B.clamp=function(V){return arguments.length?(s&&h?(O=!!V[0],I=!!V[1]):s?O=!!V:h&&(I=!!V),B):s&&h?[O,I]:s?O:h?I:null},B.extent=function(V){var ee,ie,ve,ge,se;return arguments.length?(s&&(ee=V[0],ie=V[1],h&&(ee=ee[0],ie=ie[0]),w=[ee,ie],s.invert&&(ee=s(ee),ie=s(ie)),ie<ee&&(se=ee,ee=ie,ie=se),(ee!=g[0]||ie!=g[1])&&(g=[ee,ie])),h&&(ve=V[0],ge=V[1],s&&(ve=ve[1],ge=ge[1]),N=[ve,ge],h.invert&&(ve=h(ve),ge=h(ge)),ge<ve&&(se=ve,ve=ge,ge=se),(ve!=y[0]||ge!=y[1])&&(y=[ve,ge])),B):(s&&(w?(ee=w[0],ie=w[1]):(ee=g[0],ie=g[1],s.invert&&(ee=s.invert(ee),ie=s.invert(ie)),ie<ee&&(se=ee,ee=ie,ie=se))),h&&(N?(ve=N[0],ge=N[1]):(ve=y[0],ge=y[1],h.invert&&(ve=h.invert(ve),ge=h.invert(ge)),ge<ve&&(se=ve,ve=ge,ge=se))),s&&h?[[ee,ve],[ie,ge]]:s?[ee,ie]:h&&[ve,ge])},B.clear=function(){return B.empty()||(g=[0,0],y=[0,0],w=N=null),B},B.empty=function(){return!!s&&g[0]==g[1]||!!h&&y[0]==y[1]},t.rebind(B,u,"on")};var th={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},zs=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]];t.text=_a(function(u){return u.responseText}),t.json=function(u,s){return zo(u,"application/json",rh,s)};function rh(u){return JSON.parse(u.responseText)}t.html=function(u,s){return zo(u,"text/html",nh,s)};function nh(u){var s=i.createRange();return s.selectNode(i.body),s.createContextualFragment(u.responseText)}t.xml=_a(function(u){return u.responseXML}),e.exports?e.exports=t:this.d3=t}).apply(self)})(V$);var l1=new Date,s1=new Date;function ui(e,t,r,n){function i(a){return e(a=arguments.length===0?new Date:new Date(+a)),a}return i.floor=function(a){return e(a=new Date(+a)),a},i.ceil=function(a){return e(a=new Date(a-1)),t(a,1),e(a),a},i.round=function(a){var o=i(a),l=i.ceil(a);return a-o<l-a?o:l},i.offset=function(a,o){return t(a=new Date(+a),o==null?1:Math.floor(o)),a},i.range=function(a,o,l){var f=[],c;if(a=i.ceil(a),l=l==null?1:Math.floor(l),!(a<o)||!(l>0))return f;do f.push(c=new Date(+a)),t(a,l),e(a);while(c<a&&a<o);return f},i.filter=function(a){return ui(function(o){if(o>=o)for(;e(o),!a(o);)o.setTime(o-1)},function(o,l){if(o>=o)if(l<0)for(;++l<=0;)for(;t(o,-1),!a(o););else for(;--l>=0;)for(;t(o,1),!a(o););})},r&&(i.count=function(a,o){return l1.setTime(+a),s1.setTime(+o),e(l1),e(s1),Math.floor(r(l1,s1))},i.every=function(a){return a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?i.filter(n?function(o){return n(o)%a===0}:function(o){return i.count(0,o)%a===0}):i}),i}var A0=ui(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});A0.every=function(e){return e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?ui(function(t){t.setTime(Math.floor(t/e)*e)},function(t,r){t.setTime(+t+r*e)},function(t,r){return(r-t)/e}):A0};const ZA=A0;var KA=A0.range,T0=1e3,lf=6e4,C0=36e5,vP=864e5,gP=6048e5,mP=ui(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+t*T0)},function(e,t){return(t-e)/T0},function(e){return e.getUTCSeconds()});const JA=mP;var eT=mP.range,yP=ui(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*T0)},function(e,t){e.setTime(+e+t*lf)},function(e,t){return(t-e)/lf},function(e){return e.getMinutes()});const Y$=yP;var X$=yP.range,bP=ui(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*T0-e.getMinutes()*lf)},function(e,t){e.setTime(+e+t*C0)},function(e,t){return(t-e)/C0},function(e){return e.getHours()});const Q$=bP;var Z$=bP.range,xP=ui(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*lf)/vP},function(e){return e.getDate()-1});const x2=xP;var K$=xP.range;function Ef(e){return ui(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(t,r){t.setDate(t.getDate()+r*7)},function(t,r){return(r-t-(r.getTimezoneOffset()-t.getTimezoneOffset())*lf)/gP})}var O0=Ef(0),Tp=Ef(1),wP=Ef(2),_P=Ef(3),sf=Ef(4),SP=Ef(5),EP=Ef(6),tT=O0.range,J$=Tp.range,ez=wP.range,tz=_P.range,rz=sf.range,nz=SP.range,iz=EP.range,AP=ui(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12},function(e){return e.getMonth()});const az=AP;var oz=AP.range,w2=ui(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});w2.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:ui(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,r){t.setFullYear(t.getFullYear()+r*e)})};const nd=w2;var uz=w2.range,TP=ui(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*lf)},function(e,t){return(t-e)/lf},function(e){return e.getUTCMinutes()});const lz=TP;var sz=TP.range,CP=ui(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*C0)},function(e,t){return(t-e)/C0},function(e){return e.getUTCHours()});const fz=CP;var cz=CP.range,OP=ui(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/vP},function(e){return e.getUTCDate()-1});const _2=OP;var dz=OP.range;function Af(e){return ui(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(t,r){t.setUTCDate(t.getUTCDate()+r*7)},function(t,r){return(r-t)/gP})}var k0=Af(0),Cp=Af(1),kP=Af(2),MP=Af(3),ff=Af(4),PP=Af(5),NP=Af(6),rT=k0.range,hz=Cp.range,pz=kP.range,vz=MP.range,gz=ff.range,mz=PP.range,yz=NP.range,RP=ui(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12},function(e){return e.getUTCMonth()});const bz=RP;var xz=RP.range,S2=ui(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});S2.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:ui(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,r){t.setUTCFullYear(t.getUTCFullYear()+r*e)})};const id=S2;var wz=S2.range;const _z=Object.freeze(Object.defineProperty({__proto__:null,timeInterval:ui,timeMillisecond:ZA,timeMilliseconds:KA,utcMillisecond:ZA,utcMilliseconds:KA,timeSecond:JA,timeSeconds:eT,utcSecond:JA,utcSeconds:eT,timeMinute:Y$,timeMinutes:X$,timeHour:Q$,timeHours:Z$,timeDay:x2,timeDays:K$,timeWeek:O0,timeWeeks:tT,timeSunday:O0,timeSundays:tT,timeMonday:Tp,timeMondays:J$,timeTuesday:wP,timeTuesdays:ez,timeWednesday:_P,timeWednesdays:tz,timeThursday:sf,timeThursdays:rz,timeFriday:SP,timeFridays:nz,timeSaturday:EP,timeSaturdays:iz,timeMonth:az,timeMonths:oz,timeYear:nd,timeYears:uz,utcMinute:lz,utcMinutes:sz,utcHour:fz,utcHours:cz,utcDay:_2,utcDays:dz,utcWeek:k0,utcWeeks:rT,utcSunday:k0,utcSundays:rT,utcMonday:Cp,utcMondays:hz,utcTuesday:kP,utcTuesdays:pz,utcWednesday:MP,utcWednesdays:vz,utcThursday:ff,utcThursdays:gz,utcFriday:PP,utcFridays:mz,utcSaturday:NP,utcSaturdays:yz,utcMonth:bz,utcMonths:xz,utcYear:id,utcYears:wz},Symbol.toStringTag,{value:"Module"}));function f1(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function c1(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function yh(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function IP(e){var t=e.dateTime,r=e.date,n=e.time,i=e.periods,a=e.days,o=e.shortDays,l=e.months,f=e.shortMonths,c=bh(i),p=xh(i),_=bh(a),x=xh(a),b=bh(o),C=xh(o),R=bh(l),E=xh(l),S=bh(f),T=xh(f),P={a:Ze,A:it,b:Ut,B:bt,c:null,d:lT,e:lT,f:Gz,g:tB,G:nB,H:Uz,I:Hz,j:Wz,L:FP,m:qz,M:Vz,p:Le,q:ut,Q:cT,s:dT,S:Yz,u:Xz,U:Qz,V:Zz,w:Kz,W:Jz,x:null,X:null,y:eB,Y:rB,Z:iB,"%":fT},M={a:At,A:st,b:Ct,B:Lt,c:null,d:sT,e:sT,f:lB,g:yB,G:xB,H:aB,I:oB,j:uB,L:DP,m:sB,M:fB,p:hr,q:mr,Q:cT,s:dT,S:cB,u:dB,U:hB,V:pB,w:vB,W:gB,x:null,X:null,y:mB,Y:bB,Z:wB,"%":fT},L={a:Ie,A:Ce,b:De,B:Ye,c:Xe,d:oT,e:oT,f:$z,g:aT,G:iT,H:uT,I:uT,j:Iz,L:Dz,m:Rz,M:Fz,p:ue,q:Nz,Q:Bz,s:jz,S:Lz,u:Cz,U:Oz,V:kz,w:Tz,W:Mz,x:Et,X:yt,y:aT,Y:iT,Z:Pz,"%":zz};P.x=v(r,P),P.X=v(n,P),P.c=v(t,P),M.x=v(r,M),M.X=v(n,M),M.c=v(t,M);function v(at,Gt){return function(fr){var je=[],Y=-1,he=0,J=at.length,Te,wt,Dt;for(fr instanceof Date||(fr=new Date(+fr));++Y<J;)at.charCodeAt(Y)===37&&(je.push(at.slice(he,Y)),(wt=nT[Te=at.charAt(++Y)])!=null?Te=at.charAt(++Y):wt=Te==="e"?" ":"0",(Dt=Gt[Te])&&(Te=Dt(fr,wt)),je.push(Te),he=Y+1);return je.push(at.slice(he,Y)),je.join("")}}function K(at,Gt){return function(fr){var je=yh(1900,void 0,1),Y=q(je,at,fr+="",0),he,J;if(Y!=fr.length)return null;if("Q"in je)return new Date(je.Q);if("s"in je)return new Date(je.s*1e3+("L"in je?je.L:0));if(Gt&&!("Z"in je)&&(je.Z=0),"p"in je&&(je.H=je.H%12+je.p*12),je.m===void 0&&(je.m="q"in je?je.q:0),"V"in je){if(je.V<1||je.V>53)return null;"w"in je||(je.w=1),"Z"in je?(he=c1(yh(je.y,0,1)),J=he.getUTCDay(),he=J>4||J===0?Cp.ceil(he):Cp(he),he=_2.offset(he,(je.V-1)*7),je.y=he.getUTCFullYear(),je.m=he.getUTCMonth(),je.d=he.getUTCDate()+(je.w+6)%7):(he=f1(yh(je.y,0,1)),J=he.getDay(),he=J>4||J===0?Tp.ceil(he):Tp(he),he=x2.offset(he,(je.V-1)*7),je.y=he.getFullYear(),je.m=he.getMonth(),je.d=he.getDate()+(je.w+6)%7)}else("W"in je||"U"in je)&&("w"in je||(je.w="u"in je?je.u%7:"W"in je?1:0),J="Z"in je?c1(yh(je.y,0,1)).getUTCDay():f1(yh(je.y,0,1)).getDay(),je.m=0,je.d="W"in je?(je.w+6)%7+je.W*7-(J+5)%7:je.w+je.U*7-(J+6)%7);return"Z"in je?(je.H+=je.Z/100|0,je.M+=je.Z%100,c1(je)):f1(je)}}function q(at,Gt,fr,je){for(var Y=0,he=Gt.length,J=fr.length,Te,wt;Y<he;){if(je>=J)return-1;if(Te=Gt.charCodeAt(Y++),Te===37){if(Te=Gt.charAt(Y++),wt=L[Te in nT?Gt.charAt(Y++):Te],!wt||(je=wt(at,fr,je))<0)return-1}else if(Te!=fr.charCodeAt(je++))return-1}return je}function ue(at,Gt,fr){var je=c.exec(Gt.slice(fr));return je?(at.p=p[je[0].toLowerCase()],fr+je[0].length):-1}function Ie(at,Gt,fr){var je=b.exec(Gt.slice(fr));return je?(at.w=C[je[0].toLowerCase()],fr+je[0].length):-1}function Ce(at,Gt,fr){var je=_.exec(Gt.slice(fr));return je?(at.w=x[je[0].toLowerCase()],fr+je[0].length):-1}function De(at,Gt,fr){var je=S.exec(Gt.slice(fr));return je?(at.m=T[je[0].toLowerCase()],fr+je[0].length):-1}function Ye(at,Gt,fr){var je=R.exec(Gt.slice(fr));return je?(at.m=E[je[0].toLowerCase()],fr+je[0].length):-1}function Xe(at,Gt,fr){return q(at,t,Gt,fr)}function Et(at,Gt,fr){return q(at,r,Gt,fr)}function yt(at,Gt,fr){return q(at,n,Gt,fr)}function Ze(at){return o[at.getDay()]}function it(at){return a[at.getDay()]}function Ut(at){return f[at.getMonth()]}function bt(at){return l[at.getMonth()]}function Le(at){return i[+(at.getHours()>=12)]}function ut(at){return 1+~~(at.getMonth()/3)}function At(at){return o[at.getUTCDay()]}function st(at){return a[at.getUTCDay()]}function Ct(at){return f[at.getUTCMonth()]}function Lt(at){return l[at.getUTCMonth()]}function hr(at){return i[+(at.getUTCHours()>=12)]}function mr(at){return 1+~~(at.getUTCMonth()/3)}return{format:function(at){var Gt=v(at+="",P);return Gt.toString=function(){return at},Gt},parse:function(at){var Gt=K(at+="",!1);return Gt.toString=function(){return at},Gt},utcFormat:function(at){var Gt=v(at+="",M);return Gt.toString=function(){return at},Gt},utcParse:function(at){var Gt=K(at+="",!0);return Gt.toString=function(){return at},Gt}}}var nT={"-":"",_:" ",0:"0"},_i=/^\s*\d+/,Sz=/^%/,Ez=/[\\^$*+?|[\]().{}]/g;function Qr(e,t,r){var n=e<0?"-":"",i=(n?-e:e)+"",a=i.length;return n+(a<r?new Array(r-a+1).join(t)+i:i)}function Az(e){return e.replace(Ez,"\\$&")}function bh(e){return new RegExp("^(?:"+e.map(Az).join("|")+")","i")}function xh(e){for(var t={},r=-1,n=e.length;++r<n;)t[e[r].toLowerCase()]=r;return t}function Tz(e,t,r){var n=_i.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function Cz(e,t,r){var n=_i.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function Oz(e,t,r){var n=_i.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function kz(e,t,r){var n=_i.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function Mz(e,t,r){var n=_i.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function iT(e,t,r){var n=_i.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function aT(e,t,r){var n=_i.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function Pz(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function Nz(e,t,r){var n=_i.exec(t.slice(r,r+1));return n?(e.q=n[0]*3-3,r+n[0].length):-1}function Rz(e,t,r){var n=_i.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function oT(e,t,r){var n=_i.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function Iz(e,t,r){var n=_i.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function uT(e,t,r){var n=_i.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function Fz(e,t,r){var n=_i.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function Lz(e,t,r){var n=_i.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function Dz(e,t,r){var n=_i.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function $z(e,t,r){var n=_i.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function zz(e,t,r){var n=Sz.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function Bz(e,t,r){var n=_i.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function jz(e,t,r){var n=_i.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function lT(e,t){return Qr(e.getDate(),t,2)}function Uz(e,t){return Qr(e.getHours(),t,2)}function Hz(e,t){return Qr(e.getHours()%12||12,t,2)}function Wz(e,t){return Qr(1+x2.count(nd(e),e),t,3)}function FP(e,t){return Qr(e.getMilliseconds(),t,3)}function Gz(e,t){return FP(e,t)+"000"}function qz(e,t){return Qr(e.getMonth()+1,t,2)}function Vz(e,t){return Qr(e.getMinutes(),t,2)}function Yz(e,t){return Qr(e.getSeconds(),t,2)}function Xz(e){var t=e.getDay();return t===0?7:t}function Qz(e,t){return Qr(O0.count(nd(e)-1,e),t,2)}function LP(e){var t=e.getDay();return t>=4||t===0?sf(e):sf.ceil(e)}function Zz(e,t){return e=LP(e),Qr(sf.count(nd(e),e)+(nd(e).getDay()===4),t,2)}function Kz(e){return e.getDay()}function Jz(e,t){return Qr(Tp.count(nd(e)-1,e),t,2)}function eB(e,t){return Qr(e.getFullYear()%100,t,2)}function tB(e,t){return e=LP(e),Qr(e.getFullYear()%100,t,2)}function rB(e,t){return Qr(e.getFullYear()%1e4,t,4)}function nB(e,t){var r=e.getDay();return e=r>=4||r===0?sf(e):sf.ceil(e),Qr(e.getFullYear()%1e4,t,4)}function iB(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Qr(t/60|0,"0",2)+Qr(t%60,"0",2)}function sT(e,t){return Qr(e.getUTCDate(),t,2)}function aB(e,t){return Qr(e.getUTCHours(),t,2)}function oB(e,t){return Qr(e.getUTCHours()%12||12,t,2)}function uB(e,t){return Qr(1+_2.count(id(e),e),t,3)}function DP(e,t){return Qr(e.getUTCMilliseconds(),t,3)}function lB(e,t){return DP(e,t)+"000"}function sB(e,t){return Qr(e.getUTCMonth()+1,t,2)}function fB(e,t){return Qr(e.getUTCMinutes(),t,2)}function cB(e,t){return Qr(e.getUTCSeconds(),t,2)}function dB(e){var t=e.getUTCDay();return t===0?7:t}function hB(e,t){return Qr(k0.count(id(e)-1,e),t,2)}function $P(e){var t=e.getUTCDay();return t>=4||t===0?ff(e):ff.ceil(e)}function pB(e,t){return e=$P(e),Qr(ff.count(id(e),e)+(id(e).getUTCDay()===4),t,2)}function vB(e){return e.getUTCDay()}function gB(e,t){return Qr(Cp.count(id(e)-1,e),t,2)}function mB(e,t){return Qr(e.getUTCFullYear()%100,t,2)}function yB(e,t){return e=$P(e),Qr(e.getUTCFullYear()%100,t,2)}function bB(e,t){return Qr(e.getUTCFullYear()%1e4,t,4)}function xB(e,t){var r=e.getUTCDay();return e=r>=4||r===0?ff(e):ff.ceil(e),Qr(e.getUTCFullYear()%1e4,t,4)}function wB(){return"+0000"}function fT(){return"%"}function cT(e){return+e}function dT(e){return Math.floor(+e/1e3)}var hc,zP,BP,E2,A2;jP({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function jP(e){return hc=IP(e),zP=hc.format,BP=hc.parse,E2=hc.utcFormat,A2=hc.utcParse,hc}var UP="%Y-%m-%dT%H:%M:%S.%LZ";function _B(e){return e.toISOString()}var SB=Date.prototype.toISOString?_B:E2(UP);const EB=SB;function AB(e){var t=new Date(e);return isNaN(t)?null:t}var TB=+new Date("2000-01-01T00:00:00.000Z")?AB:A2(UP);const CB=TB,OB=Object.freeze(Object.defineProperty({__proto__:null,timeFormatDefaultLocale:jP,get timeFormat(){return zP},get timeParse(){return BP},get utcFormat(){return E2},get utcParse(){return A2},timeFormatLocale:IP,isoFormat:EB,isoParse:CB},Symbol.toStringTag,{value:"Module"})),ite=gf(OB);function kB(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function M0(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function ad(e){return e=M0(Math.abs(e)),e?e[1]:NaN}function MB(e,t){return function(r,n){for(var i=r.length,a=[],o=0,l=e[0],f=0;i>0&&l>0&&(f+l+1>n&&(l=Math.max(1,n-f)),a.push(r.substring(i-=l,i+l)),!((f+=l+1)>n));)l=e[o=(o+1)%e.length];return a.reverse().join(t)}}function PB(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var NB=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function P0(e){if(!(t=NB.exec(e)))throw new Error("invalid format: "+e);var t;return new cm({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}P0.prototype=cm.prototype;function cm(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}cm.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function RB(e){e:for(var t=e.length,r=1,n=-1,i;r<t;++r)switch(e[r]){case".":n=i=r;break;case"0":n===0&&(n=r),i=r;break;default:if(!+e[r])break e;n>0&&(n=0);break}return n>0?e.slice(0,n)+e.slice(i+1):e}var HP;function IB(e,t){var r=M0(e,t);if(!r)return e+"";var n=r[0],i=r[1],a=i-(HP=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=n.length;return a===o?n:a>o?n+new Array(a-o+1).join("0"):a>0?n.slice(0,a)+"."+n.slice(a):"0."+new Array(1-a).join("0")+M0(e,Math.max(0,t+a-1))[0]}function hT(e,t){var r=M0(e,t);if(!r)return e+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}const pT={"%":function(e,t){return(e*100).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:kB,e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return hT(e*100,t)},r:hT,s:IB,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function vT(e){return e}var gT=Array.prototype.map,mT=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function WP(e){var t=e.grouping===void 0||e.thousands===void 0?vT:MB(gT.call(e.grouping,Number),e.thousands+""),r=e.currency===void 0?"":e.currency[0]+"",n=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",a=e.numerals===void 0?vT:PB(gT.call(e.numerals,String)),o=e.percent===void 0?"%":e.percent+"",l=e.minus===void 0?"-":e.minus+"",f=e.nan===void 0?"NaN":e.nan+"";function c(_){_=P0(_);var x=_.fill,b=_.align,C=_.sign,R=_.symbol,E=_.zero,S=_.width,T=_.comma,P=_.precision,M=_.trim,L=_.type;L==="n"?(T=!0,L="g"):pT[L]||(P===void 0&&(P=12),M=!0,L="g"),(E||x==="0"&&b==="=")&&(E=!0,x="0",b="=");var v=R==="$"?r:R==="#"&&/[boxX]/.test(L)?"0"+L.toLowerCase():"",K=R==="$"?n:/[%p]/.test(L)?o:"",q=pT[L],ue=/[defgprs%]/.test(L);P=P===void 0?6:/[gprs]/.test(L)?Math.max(1,Math.min(21,P)):Math.max(0,Math.min(20,P));function Ie(Ce){var De=v,Ye=K,Xe,Et,yt;if(L==="c")Ye=q(Ce)+Ye,Ce="";else{Ce=+Ce;var Ze=Ce<0||1/Ce<0;if(Ce=isNaN(Ce)?f:q(Math.abs(Ce),P),M&&(Ce=RB(Ce)),Ze&&+Ce==0&&C!=="+"&&(Ze=!1),De=(Ze?C==="("?C:l:C==="-"||C==="("?"":C)+De,Ye=(L==="s"?mT[8+HP/3]:"")+Ye+(Ze&&C==="("?")":""),ue){for(Xe=-1,Et=Ce.length;++Xe<Et;)if(yt=Ce.charCodeAt(Xe),48>yt||yt>57){Ye=(yt===46?i+Ce.slice(Xe+1):Ce.slice(Xe))+Ye,Ce=Ce.slice(0,Xe);break}}}T&&!E&&(Ce=t(Ce,1/0));var it=De.length+Ce.length+Ye.length,Ut=it<S?new Array(S-it+1).join(x):"";switch(T&&E&&(Ce=t(Ut+Ce,Ut.length?S-Ye.length:1/0),Ut=""),b){case"<":Ce=De+Ce+Ye+Ut;break;case"=":Ce=De+Ut+Ce+Ye;break;case"^":Ce=Ut.slice(0,it=Ut.length>>1)+De+Ce+Ye+Ut.slice(it);break;default:Ce=Ut+De+Ce+Ye;break}return a(Ce)}return Ie.toString=function(){return _+""},Ie}function p(_,x){var b=c((_=P0(_),_.type="f",_)),C=Math.max(-8,Math.min(8,Math.floor(ad(x)/3)))*3,R=Math.pow(10,-C),E=mT[8+C/3];return function(S){return b(R*S)+E}}return{format:c,formatPrefix:p}}var qv,GP,qP;VP({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function VP(e){return qv=WP(e),GP=qv.format,qP=qv.formatPrefix,qv}function FB(e){return Math.max(0,-ad(Math.abs(e)))}function LB(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(ad(t)/3)))*3-ad(Math.abs(e)))}function DB(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,ad(t)-ad(e))+1}const $B=Object.freeze(Object.defineProperty({__proto__:null,formatDefaultLocale:VP,get format(){return GP},get formatPrefix(){return qP},formatLocale:WP,formatSpecifier:P0,FormatSpecifier:cm,precisionFixed:FB,precisionPrefix:LB,precisionRound:DB},Symbol.toStringTag,{value:"Module"})),ate=gf($B);var zB=function(e){for(var t=e.length,r,n=0;n<t;n++)if(r=e.charCodeAt(n),(r<9||r>13)&&r!==32&&r!==133&&r!==160&&r!==5760&&r!==6158&&(r<8192||r>8205)&&r!==8232&&r!==8233&&r!==8239&&r!==8287&&r!==8288&&r!==12288&&r!==65279)return!1;return!0},BB=zB,ote=function(e){var t=typeof e;if(t==="string"){var r=e;if(e=+e,e===0&&BB(r))return!1}else if(t!=="number")return!1;return e-e<1},jB={exports:{}};(function(e){(function(t){var r=/^\s+/,n=/\s+$/,i=0,a=t.round,o=t.min,l=t.max,f=t.random;function c(Y,he){if(Y=Y||"",he=he||{},Y instanceof c)return Y;if(!(this instanceof c))return new c(Y,he);var J=p(Y);this._originalInput=Y,this._r=J.r,this._g=J.g,this._b=J.b,this._a=J.a,this._roundA=a(100*this._a)/100,this._format=he.format||J.format,this._gradientType=he.gradientType,this._r<1&&(this._r=a(this._r)),this._g<1&&(this._g=a(this._g)),this._b<1&&(this._b=a(this._b)),this._ok=J.ok,this._tc_id=i++}c.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var Y=this.toRgb();return(Y.r*299+Y.g*587+Y.b*114)/1e3},getLuminance:function(){var Y=this.toRgb(),he,J,Te,wt,Dt,kr;return he=Y.r/255,J=Y.g/255,Te=Y.b/255,he<=.03928?wt=he/12.92:wt=t.pow((he+.055)/1.055,2.4),J<=.03928?Dt=J/12.92:Dt=t.pow((J+.055)/1.055,2.4),Te<=.03928?kr=Te/12.92:kr=t.pow((Te+.055)/1.055,2.4),.2126*wt+.7152*Dt+.0722*kr},setAlpha:function(Y){return this._a=Ut(Y),this._roundA=a(100*this._a)/100,this},toHsv:function(){var Y=C(this._r,this._g,this._b);return{h:Y.h*360,s:Y.s,v:Y.v,a:this._a}},toHsvString:function(){var Y=C(this._r,this._g,this._b),he=a(Y.h*360),J=a(Y.s*100),Te=a(Y.v*100);return this._a==1?"hsv("+he+", "+J+"%, "+Te+"%)":"hsva("+he+", "+J+"%, "+Te+"%, "+this._roundA+")"},toHsl:function(){var Y=x(this._r,this._g,this._b);return{h:Y.h*360,s:Y.s,l:Y.l,a:this._a}},toHslString:function(){var Y=x(this._r,this._g,this._b),he=a(Y.h*360),J=a(Y.s*100),Te=a(Y.l*100);return this._a==1?"hsl("+he+", "+J+"%, "+Te+"%)":"hsla("+he+", "+J+"%, "+Te+"%, "+this._roundA+")"},toHex:function(Y){return E(this._r,this._g,this._b,Y)},toHexString:function(Y){return"#"+this.toHex(Y)},toHex8:function(Y){return S(this._r,this._g,this._b,this._a,Y)},toHex8String:function(Y){return"#"+this.toHex8(Y)},toRgb:function(){return{r:a(this._r),g:a(this._g),b:a(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+a(this._r)+", "+a(this._g)+", "+a(this._b)+")":"rgba("+a(this._r)+", "+a(this._g)+", "+a(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:a(bt(this._r,255)*100)+"%",g:a(bt(this._g,255)*100)+"%",b:a(bt(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+a(bt(this._r,255)*100)+"%, "+a(bt(this._g,255)*100)+"%, "+a(bt(this._b,255)*100)+"%)":"rgba("+a(bt(this._r,255)*100)+"%, "+a(bt(this._g,255)*100)+"%, "+a(bt(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:Ze[E(this._r,this._g,this._b,!0)]||!1},toFilter:function(Y){var he="#"+T(this._r,this._g,this._b,this._a),J=he,Te=this._gradientType?"GradientType = 1, ":"";if(Y){var wt=c(Y);J="#"+T(wt._r,wt._g,wt._b,wt._a)}return"progid:DXImageTransform.Microsoft.gradient("+Te+"startColorstr="+he+",endColorstr="+J+")"},toString:function(Y){var he=!!Y;Y=Y||this._format;var J=!1,Te=this._a<1&&this._a>=0,wt=!he&&Te&&(Y==="hex"||Y==="hex6"||Y==="hex3"||Y==="hex4"||Y==="hex8"||Y==="name");return wt?Y==="name"&&this._a===0?this.toName():this.toRgbString():(Y==="rgb"&&(J=this.toRgbString()),Y==="prgb"&&(J=this.toPercentageRgbString()),(Y==="hex"||Y==="hex6")&&(J=this.toHexString()),Y==="hex3"&&(J=this.toHexString(!0)),Y==="hex4"&&(J=this.toHex8String(!0)),Y==="hex8"&&(J=this.toHex8String()),Y==="name"&&(J=this.toName()),Y==="hsl"&&(J=this.toHslString()),Y==="hsv"&&(J=this.toHsvString()),J||this.toHexString())},clone:function(){return c(this.toString())},_applyModification:function(Y,he){var J=Y.apply(null,[this].concat([].slice.call(he)));return this._r=J._r,this._g=J._g,this._b=J._b,this.setAlpha(J._a),this},lighten:function(){return this._applyModification(v,arguments)},brighten:function(){return this._applyModification(K,arguments)},darken:function(){return this._applyModification(q,arguments)},desaturate:function(){return this._applyModification(P,arguments)},saturate:function(){return this._applyModification(M,arguments)},greyscale:function(){return this._applyModification(L,arguments)},spin:function(){return this._applyModification(ue,arguments)},_applyCombination:function(Y,he){return Y.apply(null,[this].concat([].slice.call(he)))},analogous:function(){return this._applyCombination(Xe,arguments)},complement:function(){return this._applyCombination(Ie,arguments)},monochromatic:function(){return this._applyCombination(Et,arguments)},splitcomplement:function(){return this._applyCombination(Ye,arguments)},triad:function(){return this._applyCombination(Ce,arguments)},tetrad:function(){return this._applyCombination(De,arguments)}},c.fromRatio=function(Y,he){if(typeof Y=="object"){var J={};for(var Te in Y)Y.hasOwnProperty(Te)&&(Te==="a"?J[Te]=Y[Te]:J[Te]=Lt(Y[Te]));Y=J}return c(Y,he)};function p(Y){var he={r:0,g:0,b:0},J=1,Te=null,wt=null,Dt=null,kr=!1,qr=!1;return typeof Y=="string"&&(Y=fr(Y)),typeof Y=="object"&&(Gt(Y.r)&&Gt(Y.g)&&Gt(Y.b)?(he=_(Y.r,Y.g,Y.b),kr=!0,qr=String(Y.r).substr(-1)==="%"?"prgb":"rgb"):Gt(Y.h)&&Gt(Y.s)&&Gt(Y.v)?(Te=Lt(Y.s),wt=Lt(Y.v),he=R(Y.h,Te,wt),kr=!0,qr="hsv"):Gt(Y.h)&&Gt(Y.s)&&Gt(Y.l)&&(Te=Lt(Y.s),Dt=Lt(Y.l),he=b(Y.h,Te,Dt),kr=!0,qr="hsl"),Y.hasOwnProperty("a")&&(J=Y.a)),J=Ut(J),{ok:kr,format:Y.format||qr,r:o(255,l(he.r,0)),g:o(255,l(he.g,0)),b:o(255,l(he.b,0)),a:J}}function _(Y,he,J){return{r:bt(Y,255)*255,g:bt(he,255)*255,b:bt(J,255)*255}}function x(Y,he,J){Y=bt(Y,255),he=bt(he,255),J=bt(J,255);var Te=l(Y,he,J),wt=o(Y,he,J),Dt,kr,qr=(Te+wt)/2;if(Te==wt)Dt=kr=0;else{var en=Te-wt;switch(kr=qr>.5?en/(2-Te-wt):en/(Te+wt),Te){case Y:Dt=(he-J)/en+(he<J?6:0);break;case he:Dt=(J-Y)/en+2;break;case J:Dt=(Y-he)/en+4;break}Dt/=6}return{h:Dt,s:kr,l:qr}}function b(Y,he,J){var Te,wt,Dt;Y=bt(Y,360),he=bt(he,100),J=bt(J,100);function kr(qn,Li,hn){return hn<0&&(hn+=1),hn>1&&(hn-=1),hn<1/6?qn+(Li-qn)*6*hn:hn<1/2?Li:hn<2/3?qn+(Li-qn)*(2/3-hn)*6:qn}if(he===0)Te=wt=Dt=J;else{var qr=J<.5?J*(1+he):J+he-J*he,en=2*J-qr;Te=kr(en,qr,Y+1/3),wt=kr(en,qr,Y),Dt=kr(en,qr,Y-1/3)}return{r:Te*255,g:wt*255,b:Dt*255}}function C(Y,he,J){Y=bt(Y,255),he=bt(he,255),J=bt(J,255);var Te=l(Y,he,J),wt=o(Y,he,J),Dt,kr,qr=Te,en=Te-wt;if(kr=Te===0?0:en/Te,Te==wt)Dt=0;else{switch(Te){case Y:Dt=(he-J)/en+(he<J?6:0);break;case he:Dt=(J-Y)/en+2;break;case J:Dt=(Y-he)/en+4;break}Dt/=6}return{h:Dt,s:kr,v:qr}}function R(Y,he,J){Y=bt(Y,360)*6,he=bt(he,100),J=bt(J,100);var Te=t.floor(Y),wt=Y-Te,Dt=J*(1-he),kr=J*(1-wt*he),qr=J*(1-(1-wt)*he),en=Te%6,qn=[J,kr,Dt,Dt,qr,J][en],Li=[qr,J,J,kr,Dt,Dt][en],hn=[Dt,Dt,qr,J,J,kr][en];return{r:qn*255,g:Li*255,b:hn*255}}function E(Y,he,J,Te){var wt=[Ct(a(Y).toString(16)),Ct(a(he).toString(16)),Ct(a(J).toString(16))];return Te&&wt[0].charAt(0)==wt[0].charAt(1)&&wt[1].charAt(0)==wt[1].charAt(1)&&wt[2].charAt(0)==wt[2].charAt(1)?wt[0].charAt(0)+wt[1].charAt(0)+wt[2].charAt(0):wt.join("")}function S(Y,he,J,Te,wt){var Dt=[Ct(a(Y).toString(16)),Ct(a(he).toString(16)),Ct(a(J).toString(16)),Ct(hr(Te))];return wt&&Dt[0].charAt(0)==Dt[0].charAt(1)&&Dt[1].charAt(0)==Dt[1].charAt(1)&&Dt[2].charAt(0)==Dt[2].charAt(1)&&Dt[3].charAt(0)==Dt[3].charAt(1)?Dt[0].charAt(0)+Dt[1].charAt(0)+Dt[2].charAt(0)+Dt[3].charAt(0):Dt.join("")}function T(Y,he,J,Te){var wt=[Ct(hr(Te)),Ct(a(Y).toString(16)),Ct(a(he).toString(16)),Ct(a(J).toString(16))];return wt.join("")}c.equals=function(Y,he){return!Y||!he?!1:c(Y).toRgbString()==c(he).toRgbString()},c.random=function(){return c.fromRatio({r:f(),g:f(),b:f()})};function P(Y,he){he=he===0?0:he||10;var J=c(Y).toHsl();return J.s-=he/100,J.s=Le(J.s),c(J)}function M(Y,he){he=he===0?0:he||10;var J=c(Y).toHsl();return J.s+=he/100,J.s=Le(J.s),c(J)}function L(Y){return c(Y).desaturate(100)}function v(Y,he){he=he===0?0:he||10;var J=c(Y).toHsl();return J.l+=he/100,J.l=Le(J.l),c(J)}function K(Y,he){he=he===0?0:he||10;var J=c(Y).toRgb();return J.r=l(0,o(255,J.r-a(255*-(he/100)))),J.g=l(0,o(255,J.g-a(255*-(he/100)))),J.b=l(0,o(255,J.b-a(255*-(he/100)))),c(J)}function q(Y,he){he=he===0?0:he||10;var J=c(Y).toHsl();return J.l-=he/100,J.l=Le(J.l),c(J)}function ue(Y,he){var J=c(Y).toHsl(),Te=(J.h+he)%360;return J.h=Te<0?360+Te:Te,c(J)}function Ie(Y){var he=c(Y).toHsl();return he.h=(he.h+180)%360,c(he)}function Ce(Y){var he=c(Y).toHsl(),J=he.h;return[c(Y),c({h:(J+120)%360,s:he.s,l:he.l}),c({h:(J+240)%360,s:he.s,l:he.l})]}function De(Y){var he=c(Y).toHsl(),J=he.h;return[c(Y),c({h:(J+90)%360,s:he.s,l:he.l}),c({h:(J+180)%360,s:he.s,l:he.l}),c({h:(J+270)%360,s:he.s,l:he.l})]}function Ye(Y){var he=c(Y).toHsl(),J=he.h;return[c(Y),c({h:(J+72)%360,s:he.s,l:he.l}),c({h:(J+216)%360,s:he.s,l:he.l})]}function Xe(Y,he,J){he=he||6,J=J||30;var Te=c(Y).toHsl(),wt=360/J,Dt=[c(Y)];for(Te.h=(Te.h-(wt*he>>1)+720)%360;--he;)Te.h=(Te.h+wt)%360,Dt.push(c(Te));return Dt}function Et(Y,he){he=he||6;for(var J=c(Y).toHsv(),Te=J.h,wt=J.s,Dt=J.v,kr=[],qr=1/he;he--;)kr.push(c({h:Te,s:wt,v:Dt})),Dt=(Dt+qr)%1;return kr}c.mix=function(Y,he,J){J=J===0?0:J||50;var Te=c(Y).toRgb(),wt=c(he).toRgb(),Dt=J/100,kr={r:(wt.r-Te.r)*Dt+Te.r,g:(wt.g-Te.g)*Dt+Te.g,b:(wt.b-Te.b)*Dt+Te.b,a:(wt.a-Te.a)*Dt+Te.a};return c(kr)},c.readability=function(Y,he){var J=c(Y),Te=c(he);return(t.max(J.getLuminance(),Te.getLuminance())+.05)/(t.min(J.getLuminance(),Te.getLuminance())+.05)},c.isReadable=function(Y,he,J){var Te=c.readability(Y,he),wt,Dt;switch(Dt=!1,wt=je(J),wt.level+wt.size){case"AAsmall":case"AAAlarge":Dt=Te>=4.5;break;case"AAlarge":Dt=Te>=3;break;case"AAAsmall":Dt=Te>=7;break}return Dt},c.mostReadable=function(Y,he,J){var Te=null,wt=0,Dt,kr,qr,en;J=J||{},kr=J.includeFallbackColors,qr=J.level,en=J.size;for(var qn=0;qn<he.length;qn++)Dt=c.readability(Y,he[qn]),Dt>wt&&(wt=Dt,Te=c(he[qn]));return c.isReadable(Y,Te,{level:qr,size:en})||!kr?Te:(J.includeFallbackColors=!1,c.mostReadable(Y,["#fff","#000"],J))};var yt=c.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},Ze=c.hexNames=it(yt);function it(Y){var he={};for(var J in Y)Y.hasOwnProperty(J)&&(he[Y[J]]=J);return he}function Ut(Y){return Y=parseFloat(Y),(isNaN(Y)||Y<0||Y>1)&&(Y=1),Y}function bt(Y,he){At(Y)&&(Y="100%");var J=st(Y);return Y=o(he,l(0,parseFloat(Y))),J&&(Y=parseInt(Y*he,10)/100),t.abs(Y-he)<1e-6?1:Y%he/parseFloat(he)}function Le(Y){return o(1,l(0,Y))}function ut(Y){return parseInt(Y,16)}function At(Y){return typeof Y=="string"&&Y.indexOf(".")!=-1&&parseFloat(Y)===1}function st(Y){return typeof Y=="string"&&Y.indexOf("%")!=-1}function Ct(Y){return Y.length==1?"0"+Y:""+Y}function Lt(Y){return Y<=1&&(Y=Y*100+"%"),Y}function hr(Y){return t.round(parseFloat(Y)*255).toString(16)}function mr(Y){return ut(Y)/255}var at=function(){var Y="[-\\+]?\\d+%?",he="[-\\+]?\\d*\\.\\d+%?",J="(?:"+he+")|(?:"+Y+")",Te="[\\s|\\(]+("+J+")[,|\\s]+("+J+")[,|\\s]+("+J+")\\s*\\)?",wt="[\\s|\\(]+("+J+")[,|\\s]+("+J+")[,|\\s]+("+J+")[,|\\s]+("+J+")\\s*\\)?";return{CSS_UNIT:new RegExp(J),rgb:new RegExp("rgb"+Te),rgba:new RegExp("rgba"+wt),hsl:new RegExp("hsl"+Te),hsla:new RegExp("hsla"+wt),hsv:new RegExp("hsv"+Te),hsva:new RegExp("hsva"+wt),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function Gt(Y){return!!at.CSS_UNIT.exec(Y)}function fr(Y){Y=Y.replace(r,"").replace(n,"").toLowerCase();var he=!1;if(yt[Y])Y=yt[Y],he=!0;else if(Y=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var J;return(J=at.rgb.exec(Y))?{r:J[1],g:J[2],b:J[3]}:(J=at.rgba.exec(Y))?{r:J[1],g:J[2],b:J[3],a:J[4]}:(J=at.hsl.exec(Y))?{h:J[1],s:J[2],l:J[3]}:(J=at.hsla.exec(Y))?{h:J[1],s:J[2],l:J[3],a:J[4]}:(J=at.hsv.exec(Y))?{h:J[1],s:J[2],v:J[3]}:(J=at.hsva.exec(Y))?{h:J[1],s:J[2],v:J[3],a:J[4]}:(J=at.hex8.exec(Y))?{r:ut(J[1]),g:ut(J[2]),b:ut(J[3]),a:mr(J[4]),format:he?"name":"hex8"}:(J=at.hex6.exec(Y))?{r:ut(J[1]),g:ut(J[2]),b:ut(J[3]),format:he?"name":"hex"}:(J=at.hex4.exec(Y))?{r:ut(J[1]+""+J[1]),g:ut(J[2]+""+J[2]),b:ut(J[3]+""+J[3]),a:mr(J[4]+""+J[4]),format:he?"name":"hex8"}:(J=at.hex3.exec(Y))?{r:ut(J[1]+""+J[1]),g:ut(J[2]+""+J[2]),b:ut(J[3]+""+J[3]),format:he?"name":"hex"}:!1}function je(Y){var he,J;return Y=Y||{level:"AA",size:"small"},he=(Y.level||"AA").toUpperCase(),J=(Y.size||"small").toLowerCase(),he!=="AA"&&he!=="AAA"&&(he="AA"),J!=="small"&&J!=="large"&&(J="small"),{level:he,size:J}}e.exports?e.exports=c:window.tinycolor=c})(Math)})(jB);var UB=HB;function HB(){var e=new Float32Array(16);return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}var WB=GB;function GB(e){var t=new Float32Array(16);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}var qB=VB;function VB(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}var YP=YB;function YB(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}var XB=QB;function QB(e,t){if(e===t){var r=t[1],n=t[2],i=t[3],a=t[6],o=t[7],l=t[11];e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=r,e[6]=t[9],e[7]=t[13],e[8]=n,e[9]=a,e[11]=t[14],e[12]=i,e[13]=o,e[14]=l}else e[0]=t[0],e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=t[1],e[5]=t[5],e[6]=t[9],e[7]=t[13],e[8]=t[2],e[9]=t[6],e[10]=t[10],e[11]=t[14],e[12]=t[3],e[13]=t[7],e[14]=t[11],e[15]=t[15];return e}var ZB=KB;function KB(e,t){var r=t[0],n=t[1],i=t[2],a=t[3],o=t[4],l=t[5],f=t[6],c=t[7],p=t[8],_=t[9],x=t[10],b=t[11],C=t[12],R=t[13],E=t[14],S=t[15],T=r*l-n*o,P=r*f-i*o,M=r*c-a*o,L=n*f-i*l,v=n*c-a*l,K=i*c-a*f,q=p*R-_*C,ue=p*E-x*C,Ie=p*S-b*C,Ce=_*E-x*R,De=_*S-b*R,Ye=x*S-b*E,Xe=T*Ye-P*De+M*Ce+L*Ie-v*ue+K*q;return Xe?(Xe=1/Xe,e[0]=(l*Ye-f*De+c*Ce)*Xe,e[1]=(i*De-n*Ye-a*Ce)*Xe,e[2]=(R*K-E*v+S*L)*Xe,e[3]=(x*v-_*K-b*L)*Xe,e[4]=(f*Ie-o*Ye-c*ue)*Xe,e[5]=(r*Ye-i*Ie+a*ue)*Xe,e[6]=(E*M-C*K-S*P)*Xe,e[7]=(p*K-x*M+b*P)*Xe,e[8]=(o*De-l*Ie+c*q)*Xe,e[9]=(n*Ie-r*De-a*q)*Xe,e[10]=(C*v-R*M+S*T)*Xe,e[11]=(_*M-p*v-b*T)*Xe,e[12]=(l*ue-o*Ce-f*q)*Xe,e[13]=(r*Ce-n*ue+i*q)*Xe,e[14]=(R*P-C*L-E*T)*Xe,e[15]=(p*L-_*P+x*T)*Xe,e):null}var JB=e9;function e9(e,t){var r=t[0],n=t[1],i=t[2],a=t[3],o=t[4],l=t[5],f=t[6],c=t[7],p=t[8],_=t[9],x=t[10],b=t[11],C=t[12],R=t[13],E=t[14],S=t[15];return e[0]=l*(x*S-b*E)-_*(f*S-c*E)+R*(f*b-c*x),e[1]=-(n*(x*S-b*E)-_*(i*S-a*E)+R*(i*b-a*x)),e[2]=n*(f*S-c*E)-l*(i*S-a*E)+R*(i*c-a*f),e[3]=-(n*(f*b-c*x)-l*(i*b-a*x)+_*(i*c-a*f)),e[4]=-(o*(x*S-b*E)-p*(f*S-c*E)+C*(f*b-c*x)),e[5]=r*(x*S-b*E)-p*(i*S-a*E)+C*(i*b-a*x),e[6]=-(r*(f*S-c*E)-o*(i*S-a*E)+C*(i*c-a*f)),e[7]=r*(f*b-c*x)-o*(i*b-a*x)+p*(i*c-a*f),e[8]=o*(_*S-b*R)-p*(l*S-c*R)+C*(l*b-c*_),e[9]=-(r*(_*S-b*R)-p*(n*S-a*R)+C*(n*b-a*_)),e[10]=r*(l*S-c*R)-o*(n*S-a*R)+C*(n*c-a*l),e[11]=-(r*(l*b-c*_)-o*(n*b-a*_)+p*(n*c-a*l)),e[12]=-(o*(_*E-x*R)-p*(l*E-f*R)+C*(l*x-f*_)),e[13]=r*(_*E-x*R)-p*(n*E-i*R)+C*(n*x-i*_),e[14]=-(r*(l*E-f*R)-o*(n*E-i*R)+C*(n*f-i*l)),e[15]=r*(l*x-f*_)-o*(n*x-i*_)+p*(n*f-i*l),e}var t9=r9;function r9(e){var t=e[0],r=e[1],n=e[2],i=e[3],a=e[4],o=e[5],l=e[6],f=e[7],c=e[8],p=e[9],_=e[10],x=e[11],b=e[12],C=e[13],R=e[14],E=e[15],S=t*o-r*a,T=t*l-n*a,P=t*f-i*a,M=r*l-n*o,L=r*f-i*o,v=n*f-i*l,K=c*C-p*b,q=c*R-_*b,ue=c*E-x*b,Ie=p*R-_*C,Ce=p*E-x*C,De=_*E-x*R;return S*De-T*Ce+P*Ie+M*ue-L*q+v*K}var n9=i9;function i9(e,t,r){var n=t[0],i=t[1],a=t[2],o=t[3],l=t[4],f=t[5],c=t[6],p=t[7],_=t[8],x=t[9],b=t[10],C=t[11],R=t[12],E=t[13],S=t[14],T=t[15],P=r[0],M=r[1],L=r[2],v=r[3];return e[0]=P*n+M*l+L*_+v*R,e[1]=P*i+M*f+L*x+v*E,e[2]=P*a+M*c+L*b+v*S,e[3]=P*o+M*p+L*C+v*T,P=r[4],M=r[5],L=r[6],v=r[7],e[4]=P*n+M*l+L*_+v*R,e[5]=P*i+M*f+L*x+v*E,e[6]=P*a+M*c+L*b+v*S,e[7]=P*o+M*p+L*C+v*T,P=r[8],M=r[9],L=r[10],v=r[11],e[8]=P*n+M*l+L*_+v*R,e[9]=P*i+M*f+L*x+v*E,e[10]=P*a+M*c+L*b+v*S,e[11]=P*o+M*p+L*C+v*T,P=r[12],M=r[13],L=r[14],v=r[15],e[12]=P*n+M*l+L*_+v*R,e[13]=P*i+M*f+L*x+v*E,e[14]=P*a+M*c+L*b+v*S,e[15]=P*o+M*p+L*C+v*T,e}var a9=o9;function o9(e,t,r){var n=r[0],i=r[1],a=r[2],o,l,f,c,p,_,x,b,C,R,E,S;return t===e?(e[12]=t[0]*n+t[4]*i+t[8]*a+t[12],e[13]=t[1]*n+t[5]*i+t[9]*a+t[13],e[14]=t[2]*n+t[6]*i+t[10]*a+t[14],e[15]=t[3]*n+t[7]*i+t[11]*a+t[15]):(o=t[0],l=t[1],f=t[2],c=t[3],p=t[4],_=t[5],x=t[6],b=t[7],C=t[8],R=t[9],E=t[10],S=t[11],e[0]=o,e[1]=l,e[2]=f,e[3]=c,e[4]=p,e[5]=_,e[6]=x,e[7]=b,e[8]=C,e[9]=R,e[10]=E,e[11]=S,e[12]=o*n+p*i+C*a+t[12],e[13]=l*n+_*i+R*a+t[13],e[14]=f*n+x*i+E*a+t[14],e[15]=c*n+b*i+S*a+t[15]),e}var u9=l9;function l9(e,t,r){var n=r[0],i=r[1],a=r[2];return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e[4]=t[4]*i,e[5]=t[5]*i,e[6]=t[6]*i,e[7]=t[7]*i,e[8]=t[8]*a,e[9]=t[9]*a,e[10]=t[10]*a,e[11]=t[11]*a,e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}var s9=f9;function f9(e,t,r,n){var i=n[0],a=n[1],o=n[2],l=Math.sqrt(i*i+a*a+o*o),f,c,p,_,x,b,C,R,E,S,T,P,M,L,v,K,q,ue,Ie,Ce,De,Ye,Xe,Et;return Math.abs(l)<1e-6?null:(l=1/l,i*=l,a*=l,o*=l,f=Math.sin(r),c=Math.cos(r),p=1-c,_=t[0],x=t[1],b=t[2],C=t[3],R=t[4],E=t[5],S=t[6],T=t[7],P=t[8],M=t[9],L=t[10],v=t[11],K=i*i*p+c,q=a*i*p+o*f,ue=o*i*p-a*f,Ie=i*a*p-o*f,Ce=a*a*p+c,De=o*a*p+i*f,Ye=i*o*p+a*f,Xe=a*o*p-i*f,Et=o*o*p+c,e[0]=_*K+R*q+P*ue,e[1]=x*K+E*q+M*ue,e[2]=b*K+S*q+L*ue,e[3]=C*K+T*q+v*ue,e[4]=_*Ie+R*Ce+P*De,e[5]=x*Ie+E*Ce+M*De,e[6]=b*Ie+S*Ce+L*De,e[7]=C*Ie+T*Ce+v*De,e[8]=_*Ye+R*Xe+P*Et,e[9]=x*Ye+E*Xe+M*Et,e[10]=b*Ye+S*Xe+L*Et,e[11]=C*Ye+T*Xe+v*Et,t!==e&&(e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e)}var c9=d9;function d9(e,t,r){var n=Math.sin(r),i=Math.cos(r),a=t[4],o=t[5],l=t[6],f=t[7],c=t[8],p=t[9],_=t[10],x=t[11];return t!==e&&(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[4]=a*i+c*n,e[5]=o*i+p*n,e[6]=l*i+_*n,e[7]=f*i+x*n,e[8]=c*i-a*n,e[9]=p*i-o*n,e[10]=_*i-l*n,e[11]=x*i-f*n,e}var h9=p9;function p9(e,t,r){var n=Math.sin(r),i=Math.cos(r),a=t[0],o=t[1],l=t[2],f=t[3],c=t[8],p=t[9],_=t[10],x=t[11];return t!==e&&(e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=a*i-c*n,e[1]=o*i-p*n,e[2]=l*i-_*n,e[3]=f*i-x*n,e[8]=a*n+c*i,e[9]=o*n+p*i,e[10]=l*n+_*i,e[11]=f*n+x*i,e}var v9=g9;function g9(e,t,r){var n=Math.sin(r),i=Math.cos(r),a=t[0],o=t[1],l=t[2],f=t[3],c=t[4],p=t[5],_=t[6],x=t[7];return t!==e&&(e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=a*i+c*n,e[1]=o*i+p*n,e[2]=l*i+_*n,e[3]=f*i+x*n,e[4]=c*i-a*n,e[5]=p*i-o*n,e[6]=_*i-l*n,e[7]=x*i-f*n,e}var m9=y9;function y9(e,t,r){var n,i,a,o=r[0],l=r[1],f=r[2],c=Math.sqrt(o*o+l*l+f*f);return Math.abs(c)<1e-6?null:(c=1/c,o*=c,l*=c,f*=c,n=Math.sin(t),i=Math.cos(t),a=1-i,e[0]=o*o*a+i,e[1]=l*o*a+f*n,e[2]=f*o*a-l*n,e[3]=0,e[4]=o*l*a-f*n,e[5]=l*l*a+i,e[6]=f*l*a+o*n,e[7]=0,e[8]=o*f*a+l*n,e[9]=l*f*a-o*n,e[10]=f*f*a+i,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e)}var b9=x9;function x9(e,t,r){var n=t[0],i=t[1],a=t[2],o=t[3],l=n+n,f=i+i,c=a+a,p=n*l,_=n*f,x=n*c,b=i*f,C=i*c,R=a*c,E=o*l,S=o*f,T=o*c;return e[0]=1-(b+R),e[1]=_+T,e[2]=x-S,e[3]=0,e[4]=_-T,e[5]=1-(p+R),e[6]=C+E,e[7]=0,e[8]=x+S,e[9]=C-E,e[10]=1-(p+b),e[11]=0,e[12]=r[0],e[13]=r[1],e[14]=r[2],e[15]=1,e}var w9=_9;function _9(e,t){return e[0]=t[0],e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=t[1],e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=t[2],e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}var S9=E9;function E9(e,t){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=t[0],e[13]=t[1],e[14]=t[2],e[15]=1,e}var A9=T9;function T9(e,t){var r=Math.sin(t),n=Math.cos(t);return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=n,e[6]=r,e[7]=0,e[8]=0,e[9]=-r,e[10]=n,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}var C9=O9;function O9(e,t){var r=Math.sin(t),n=Math.cos(t);return e[0]=n,e[1]=0,e[2]=-r,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=r,e[9]=0,e[10]=n,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}var k9=M9;function M9(e,t){var r=Math.sin(t),n=Math.cos(t);return e[0]=n,e[1]=r,e[2]=0,e[3]=0,e[4]=-r,e[5]=n,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}var P9=N9;function N9(e,t){var r=t[0],n=t[1],i=t[2],a=t[3],o=r+r,l=n+n,f=i+i,c=r*o,p=n*o,_=n*l,x=i*o,b=i*l,C=i*f,R=a*o,E=a*l,S=a*f;return e[0]=1-_-C,e[1]=p+S,e[2]=x-E,e[3]=0,e[4]=p-S,e[5]=1-c-C,e[6]=b+R,e[7]=0,e[8]=x+E,e[9]=b-R,e[10]=1-c-_,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}var R9=I9;function I9(e,t,r,n,i,a,o){var l=1/(r-t),f=1/(i-n),c=1/(a-o);return e[0]=a*2*l,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=a*2*f,e[6]=0,e[7]=0,e[8]=(r+t)*l,e[9]=(i+n)*f,e[10]=(o+a)*c,e[11]=-1,e[12]=0,e[13]=0,e[14]=o*a*2*c,e[15]=0,e}var F9=L9;function L9(e,t,r,n,i){var a=1/Math.tan(t/2),o=1/(n-i);return e[0]=a/r,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=a,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=(i+n)*o,e[11]=-1,e[12]=0,e[13]=0,e[14]=2*i*n*o,e[15]=0,e}var D9=$9;function $9(e,t,r,n){var i=Math.tan(t.upDegrees*Math.PI/180),a=Math.tan(t.downDegrees*Math.PI/180),o=Math.tan(t.leftDegrees*Math.PI/180),l=Math.tan(t.rightDegrees*Math.PI/180),f=2/(o+l),c=2/(i+a);return e[0]=f,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=c,e[6]=0,e[7]=0,e[8]=-((o-l)*f*.5),e[9]=(i-a)*c*.5,e[10]=n/(r-n),e[11]=-1,e[12]=0,e[13]=0,e[14]=n*r/(r-n),e[15]=0,e}var z9=B9;function B9(e,t,r,n,i,a,o){var l=1/(t-r),f=1/(n-i),c=1/(a-o);return e[0]=-2*l,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*f,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=2*c,e[11]=0,e[12]=(t+r)*l,e[13]=(i+n)*f,e[14]=(o+a)*c,e[15]=1,e}var j9=YP,U9=H9;function H9(e,t,r,n){var i,a,o,l,f,c,p,_,x,b,C=t[0],R=t[1],E=t[2],S=n[0],T=n[1],P=n[2],M=r[0],L=r[1],v=r[2];return Math.abs(C-M)<1e-6&&Math.abs(R-L)<1e-6&&Math.abs(E-v)<1e-6?j9(e):(p=C-M,_=R-L,x=E-v,b=1/Math.sqrt(p*p+_*_+x*x),p*=b,_*=b,x*=b,i=T*x-P*_,a=P*p-S*x,o=S*_-T*p,b=Math.sqrt(i*i+a*a+o*o),b?(b=1/b,i*=b,a*=b,o*=b):(i=0,a=0,o=0),l=_*o-x*a,f=x*i-p*o,c=p*a-_*i,b=Math.sqrt(l*l+f*f+c*c),b?(b=1/b,l*=b,f*=b,c*=b):(l=0,f=0,c=0),e[0]=i,e[1]=l,e[2]=p,e[3]=0,e[4]=a,e[5]=f,e[6]=_,e[7]=0,e[8]=o,e[9]=c,e[10]=x,e[11]=0,e[12]=-(i*C+a*R+o*E),e[13]=-(l*C+f*R+c*E),e[14]=-(p*C+_*R+x*E),e[15]=1,e)}var W9=G9;function G9(e){return"mat4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+", "+e[4]+", "+e[5]+", "+e[6]+", "+e[7]+", "+e[8]+", "+e[9]+", "+e[10]+", "+e[11]+", "+e[12]+", "+e[13]+", "+e[14]+", "+e[15]+")"}var ute={create:UB,clone:WB,copy:qB,identity:YP,transpose:XB,invert:ZB,adjoint:JB,determinant:t9,multiply:n9,translate:a9,scale:u9,rotate:s9,rotateX:c9,rotateY:h9,rotateZ:v9,fromRotation:m9,fromRotationTranslation:b9,fromScaling:w9,fromTranslation:S9,fromXRotation:A9,fromYRotation:C9,fromZRotation:k9,fromQuat:P9,frustum:R9,perspective:F9,perspectiveFromFieldOfView:D9,ortho:z9,lookAt:U9,str:W9},T2={exports:{}};T2.exports=C2;T2.exports.isMobile=C2;T2.exports.default=C2;var q9=/(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[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,V9=/(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[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino|android|ipad|playbook|silk/i;function C2(e){e||(e={});var t=e.ua;if(!t&&typeof navigator<"u"&&(t=navigator.userAgent),t&&t.headers&&typeof t.headers["user-agent"]=="string"&&(t=t.headers["user-agent"]),typeof t!="string")return!1;var r=e.tablet?V9.test(t):q9.test(t);return!r&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&t.indexOf("Macintosh")!==-1&&t.indexOf("Safari")!==-1&&(r=!0),r}var Y9=!0,X9=Y9,bw;typeof Jr.matchMedia=="function"?bw=!Jr.matchMedia("(hover: none)").matches:bw=X9;var lte=bw,XP={exports:{}},Vc=typeof Reflect=="object"?Reflect:null,yT=Vc&&typeof Vc.apply=="function"?Vc.apply:function(t,r,n){return Function.prototype.apply.call(t,r,n)},Rg;Vc&&typeof Vc.ownKeys=="function"?Rg=Vc.ownKeys:Object.getOwnPropertySymbols?Rg=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Rg=function(t){return Object.getOwnPropertyNames(t)};function Q9(e){console&&console.warn&&console.warn(e)}var QP=Number.isNaN||function(t){return t!==t};function sn(){sn.init.call(this)}XP.exports=sn;XP.exports.once=e7;sn.EventEmitter=sn;sn.prototype._events=void 0;sn.prototype._eventsCount=0;sn.prototype._maxListeners=void 0;var bT=10;function dm(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(sn,"defaultMaxListeners",{enumerable:!0,get:function(){return bT},set:function(e){if(typeof e!="number"||e<0||QP(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");bT=e}});sn.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};sn.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||QP(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function ZP(e){return e._maxListeners===void 0?sn.defaultMaxListeners:e._maxListeners}sn.prototype.getMaxListeners=function(){return ZP(this)};sn.prototype.emit=function(t){for(var r=[],n=1;n<arguments.length;n++)r.push(arguments[n]);var i=t==="error",a=this._events;if(a!==void 0)i=i&&a.error===void 0;else if(!i)return!1;if(i){var o;if(r.length>0&&(o=r[0]),o instanceof Error)throw o;var l=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw l.context=o,l}var f=a[t];if(f===void 0)return!1;if(typeof f=="function")yT(f,this,r);else for(var c=f.length,p=rN(f,c),n=0;n<c;++n)yT(p[n],this,r);return!0};function KP(e,t,r,n){var i,a,o;if(dm(r),a=e._events,a===void 0?(a=e._events=Object.create(null),e._eventsCount=0):(a.newListener!==void 0&&(e.emit("newListener",t,r.listener?r.listener:r),a=e._events),o=a[t]),o===void 0)o=a[t]=r,++e._eventsCount;else if(typeof o=="function"?o=a[t]=n?[r,o]:[o,r]:n?o.unshift(r):o.push(r),i=ZP(e),i>0&&o.length>i&&!o.warned){o.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=o.length,Q9(l)}return e}sn.prototype.addListener=function(t,r){return KP(this,t,r,!1)};sn.prototype.on=sn.prototype.addListener;sn.prototype.prependListener=function(t,r){return KP(this,t,r,!0)};function Z9(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function JP(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=Z9.bind(n);return i.listener=r,n.wrapFn=i,i}sn.prototype.once=function(t,r){return dm(r),this.on(t,JP(this,t,r)),this};sn.prototype.prependOnceListener=function(t,r){return dm(r),this.prependListener(t,JP(this,t,r)),this};sn.prototype.removeListener=function(t,r){var n,i,a,o,l;if(dm(r),i=this._events,i===void 0)return this;if(n=i[t],n===void 0)return this;if(n===r||n.listener===r)--this._eventsCount===0?this._events=Object.create(null):(delete i[t],i.removeListener&&this.emit("removeListener",t,n.listener||r));else if(typeof n!="function"){for(a=-1,o=n.length-1;o>=0;o--)if(n[o]===r||n[o].listener===r){l=n[o].listener,a=o;break}if(a<0)return this;a===0?n.shift():K9(n,a),n.length===1&&(i[t]=n[0]),i.removeListener!==void 0&&this.emit("removeListener",t,l||r)}return this};sn.prototype.off=sn.prototype.removeListener;sn.prototype.removeAllListeners=function(t){var r,n,i;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[t]),this;if(arguments.length===0){var a=Object.keys(n),o;for(i=0;i<a.length;++i)o=a[i],o!=="removeListener"&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(r=n[t],typeof r=="function")this.removeListener(t,r);else if(r!==void 0)for(i=r.length-1;i>=0;i--)this.removeListener(t,r[i]);return this};function eN(e,t,r){var n=e._events;if(n===void 0)return[];var i=n[t];return i===void 0?[]:typeof i=="function"?r?[i.listener||i]:[i]:r?J9(i):rN(i,i.length)}sn.prototype.listeners=function(t){return eN(this,t,!0)};sn.prototype.rawListeners=function(t){return eN(this,t,!1)};sn.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):tN.call(e,t)};sn.prototype.listenerCount=tN;function tN(e){var t=this._events;if(t!==void 0){var r=t[e];if(typeof r=="function")return 1;if(r!==void 0)return r.length}return 0}sn.prototype.eventNames=function(){return this._eventsCount>0?Rg(this._events):[]};function rN(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function K9(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function J9(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function e7(e,t){return new Promise(function(r,n){function i(o){e.removeListener(t,a),n(o)}function a(){typeof e.removeListener=="function"&&e.removeListener("error",i),r([].slice.call(arguments))}nN(e,t,a,{once:!0}),t!=="error"&&t7(e,i,{once:!0})})}function t7(e,t,r){typeof e.on=="function"&&nN(e,"error",t,r)}function nN(e,t,r,n){if(typeof e.on=="function")n.once?e.once(t,r):e.on(t,r);else if(typeof e.addEventListener=="function")e.addEventListener(t,function i(a){n.once&&e.removeEventListener(t,i),r(a)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}var r7={left:0,top:0},ste=n7;function n7(e,t,r){t=t||e.currentTarget||e.srcElement,Array.isArray(r)||(r=[0,0]);var n=e.clientX||0,i=e.clientY||0,a=i7(t);return r[0]=n-a.left,r[1]=i-a.top,r}function i7(e){return e===window||e===document||e===document.body?r7:e.getBoundingClientRect()}function a7(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch{e=!1}return e}var fte=a7(),iN=u7,d1={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},o7=/([astvzqmhlc])([^astvzqmhlc]*)/ig;function u7(e){var t=[];return e.replace(o7,function(r,n,i){var a=n.toLowerCase();for(i=s7(i),a=="m"&&i.length>2&&(t.push([n].concat(i.splice(0,2))),a="l",n=n=="m"?"l":"L");;){if(i.length==d1[a])return i.unshift(n),t.push(i);if(i.length<d1[a])throw new Error("malformed path data");t.push([n].concat(i.splice(0,d1[a])))}}),t}var l7=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/ig;function s7(e){var t=e.match(l7);return t?t.map(Number):[]}function f7(){var e,t=0,r=!1;function n(i,a){return e.list.push({type:i,data:a?JSON.parse(JSON.stringify(a)):void 0}),e}return e={list:[],segmentId:function(){return t++},checkIntersection:function(i,a){return n("check",{seg1:i,seg2:a})},segmentChop:function(i,a){return n("div_seg",{seg:i,pt:a}),n("chop",{seg:i,pt:a})},statusRemove:function(i){return n("pop_seg",{seg:i})},segmentUpdate:function(i){return n("seg_update",{seg:i})},segmentNew:function(i,a){return n("new_seg",{seg:i,primary:a})},segmentRemove:function(i){return n("rem_seg",{seg:i})},tempStatus:function(i,a,o){return n("temp_status",{seg:i,above:a,below:o})},rewind:function(i){return n("rewind",{seg:i})},status:function(i,a,o){return n("status",{seg:i,above:a,below:o})},vert:function(i){return i===r?e:(r=i,n("vert",{x:i}))},log:function(i){return typeof i!="string"&&(i=JSON.stringify(i,!1," ")),n("log",{txt:i})},reset:function(){return n("reset")},selected:function(i){return n("selected",{segs:i})},chainStart:function(i){return n("chain_start",{seg:i})},chainRemoveHead:function(i,a){return n("chain_rem_head",{index:i,pt:a})},chainRemoveTail:function(i,a){return n("chain_rem_tail",{index:i,pt:a})},chainNew:function(i,a){return n("chain_new",{pt1:i,pt2:a})},chainMatch:function(i){return n("chain_match",{index:i})},chainClose:function(i){return n("chain_close",{index:i})},chainAddHead:function(i,a){return n("chain_add_head",{index:i,pt:a})},chainAddTail:function(i,a){return n("chain_add_tail",{index:i,pt:a})},chainConnect:function(i,a){return n("chain_con",{index1:i,index2:a})},chainReverse:function(i){return n("chain_rev",{index:i})},chainJoin:function(i,a){return n("chain_join",{index1:i,index2:a})},done:function(){return n("done")}},e}var c7=f7;function d7(e){typeof e!="number"&&(e=1e-10);var t={epsilon:function(r){return typeof r=="number"&&(e=r),e},pointAboveOrOnLine:function(r,n,i){var a=n[0],o=n[1],l=i[0],f=i[1],c=r[0],p=r[1];return(l-a)*(p-o)-(f-o)*(c-a)>=-e},pointBetween:function(r,n,i){var a=r[1]-n[1],o=i[0]-n[0],l=r[0]-n[0],f=i[1]-n[1],c=l*o+a*f;if(c<e)return!1;var p=o*o+f*f;return!(c-p>-e)},pointsSameX:function(r,n){return Math.abs(r[0]-n[0])<e},pointsSameY:function(r,n){return Math.abs(r[1]-n[1])<e},pointsSame:function(r,n){return t.pointsSameX(r,n)&&t.pointsSameY(r,n)},pointsCompare:function(r,n){return t.pointsSameX(r,n)?t.pointsSameY(r,n)?0:r[1]<n[1]?-1:1:r[0]<n[0]?-1:1},pointsCollinear:function(r,n,i){var a=r[0]-n[0],o=r[1]-n[1],l=n[0]-i[0],f=n[1]-i[1];return Math.abs(a*f-l*o)<e},linesIntersect:function(r,n,i,a){var o=n[0]-r[0],l=n[1]-r[1],f=a[0]-i[0],c=a[1]-i[1],p=o*c-l*f;if(Math.abs(p)<e)return!1;var _=r[0]-i[0],x=r[1]-i[1],b=(f*x-c*_)/p,C=(o*x-l*_)/p,R={alongA:0,alongB:0,pt:[r[0]+b*o,r[1]+b*l]};return b<=-e?R.alongA=-2:b<e?R.alongA=-1:b-1<=-e?R.alongA=0:b-1<e?R.alongA=1:R.alongA=2,C<=-e?R.alongB=-2:C<e?R.alongB=-1:C-1<=-e?R.alongB=0:C-1<e?R.alongB=1:R.alongB=2,R},pointInsideRegion:function(r,n){for(var i=r[0],a=r[1],o=n[n.length-1][0],l=n[n.length-1][1],f=!1,c=0;c<n.length;c++){var p=n[c][0],_=n[c][1];_-a>e!=l-a>e&&(o-p)*(a-_)/(l-_)+p-i>e&&(f=!f),o=p,l=_}return f}};return t}var h7=d7,p7={create:function(){var e={root:{root:!0,next:null},exists:function(t){return!(t===null||t===e.root)},isEmpty:function(){return e.root.next===null},getHead:function(){return e.root.next},insertBefore:function(t,r){for(var n=e.root,i=e.root.next;i!==null;){if(r(i)){t.prev=i.prev,t.next=i,i.prev.next=t,i.prev=t;return}n=i,i=i.next}n.next=t,t.prev=n,t.next=null},findTransition:function(t){for(var r=e.root,n=e.root.next;n!==null&&!t(n);)r=n,n=n.next;return{before:r===e.root?null:r,after:n,insert:function(i){return i.prev=r,i.next=n,r.next=i,n!==null&&(n.prev=i),i}}}};return e},node:function(e){return e.prev=null,e.next=null,e.remove=function(){e.prev.next=e.next,e.next&&(e.next.prev=e.prev),e.prev=null,e.next=null},e}},v7=p7,wh=v7;function g7(e,t,r){function n(C,R){return{id:r?r.segmentId():-1,start:C,end:R,myFill:{above:null,below:null},otherFill:null}}function i(C,R,E){return{id:r?r.segmentId():-1,start:C,end:R,myFill:{above:E.myFill.above,below:E.myFill.below},otherFill:null}}var a=wh.create();function o(C,R,E,S,T,P){var M=t.pointsCompare(R,T);return M!==0?M:t.pointsSame(E,P)?0:C!==S?C?1:-1:t.pointAboveOrOnLine(E,S?T:P,S?P:T)?1:-1}function l(C,R){a.insertBefore(C,function(E){var S=o(C.isStart,C.pt,R,E.isStart,E.pt,E.other.pt);return S<0})}function f(C,R){var E=wh.node({isStart:!0,pt:C.start,seg:C,primary:R,other:null,status:null});return l(E,C.end),E}function c(C,R,E){var S=wh.node({isStart:!1,pt:R.end,seg:R,primary:E,other:C,status:null});C.other=S,l(S,C.pt)}function p(C,R){var E=f(C,R);return c(E,C,R),E}function _(C,R){r&&r.segmentChop(C.seg,R),C.other.remove(),C.seg.end=R,C.other.pt=R,l(C.other,C.pt)}function x(C,R){var E=i(R,C.seg.end,C.seg);return _(C,R),p(E,C.primary)}function b(C,R){var E=wh.create();function S(Xe,Et){var yt=Xe.seg.start,Ze=Xe.seg.end,it=Et.seg.start,Ut=Et.seg.end;return t.pointsCollinear(yt,it,Ut)?t.pointsCollinear(Ze,it,Ut)||t.pointAboveOrOnLine(Ze,it,Ut)?1:-1:t.pointAboveOrOnLine(yt,it,Ut)?1:-1}function T(Xe){return E.findTransition(function(Et){var yt=S(Xe,Et.ev);return yt>0})}function P(Xe,Et){var yt=Xe.seg,Ze=Et.seg,it=yt.start,Ut=yt.end,bt=Ze.start,Le=Ze.end;r&&r.checkIntersection(yt,Ze);var ut=t.linesIntersect(it,Ut,bt,Le);if(ut===!1){if(!t.pointsCollinear(it,Ut,bt)||t.pointsSame(it,Le)||t.pointsSame(Ut,bt))return!1;var At=t.pointsSame(it,bt),st=t.pointsSame(Ut,Le);if(At&&st)return Et;var Ct=!At&&t.pointBetween(it,bt,Le),Lt=!st&&t.pointBetween(Ut,bt,Le);if(At)return Lt?x(Et,Ut):x(Xe,Le),Et;Ct&&(st||(Lt?x(Et,Ut):x(Xe,Le)),x(Et,it))}else ut.alongA===0&&(ut.alongB===-1?x(Xe,bt):ut.alongB===0?x(Xe,ut.pt):ut.alongB===1&&x(Xe,Le)),ut.alongB===0&&(ut.alongA===-1?x(Et,it):ut.alongA===0?x(Et,ut.pt):ut.alongA===1&&x(Et,Ut));return!1}for(var M=[];!a.isEmpty();){var L=a.getHead();if(r&&r.vert(L.pt[0]),L.isStart){let Xe=function(){if(K){var Et=P(L,K);if(Et)return Et}return q?P(L,q):!1};r&&r.segmentNew(L.seg,L.primary);var v=T(L),K=v.before?v.before.ev:null,q=v.after?v.after.ev:null;r&&r.tempStatus(L.seg,K?K.seg:!1,q?q.seg:!1);var ue=Xe();if(ue){if(e){var Ie;L.seg.myFill.below===null?Ie=!0:Ie=L.seg.myFill.above!==L.seg.myFill.below,Ie&&(ue.seg.myFill.above=!ue.seg.myFill.above)}else ue.seg.otherFill=L.seg.myFill;r&&r.segmentUpdate(ue.seg),L.other.remove(),L.remove()}if(a.getHead()!==L){r&&r.rewind(L.seg);continue}if(e){var Ie;L.seg.myFill.below===null?Ie=!0:Ie=L.seg.myFill.above!==L.seg.myFill.below,q?L.seg.myFill.below=q.seg.myFill.above:L.seg.myFill.below=C,Ie?L.seg.myFill.above=!L.seg.myFill.below:L.seg.myFill.above=L.seg.myFill.below}else if(L.seg.otherFill===null){var Ce;q?L.primary===q.primary?Ce=q.seg.otherFill.above:Ce=q.seg.myFill.above:Ce=L.primary?R:C,L.seg.otherFill={above:Ce,below:Ce}}r&&r.status(L.seg,K?K.seg:!1,q?q.seg:!1),L.other.status=v.insert(wh.node({ev:L}))}else{var De=L.status;if(De===null)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(E.exists(De.prev)&&E.exists(De.next)&&P(De.prev.ev,De.next.ev),r&&r.statusRemove(De.ev.seg),De.remove(),!L.primary){var Ye=L.seg.myFill;L.seg.myFill=L.seg.otherFill,L.seg.otherFill=Ye}M.push(L.seg)}a.getHead().remove()}return r&&r.done(),M}return e?{addRegion:function(C){for(var R,E=C[C.length-1],S=0;S<C.length;S++){R=E,E=C[S];var T=t.pointsCompare(R,E);T!==0&&p(n(T<0?R:E,T<0?E:R),!0)}},calculate:function(C){return b(C,!1)}}:{calculate:function(C,R,E,S){return C.forEach(function(T){p(i(T.start,T.end,T),!0)}),E.forEach(function(T){p(i(T.start,T.end,T),!1)}),b(R,S)}}}var m7=g7;function y7(e,t,r){var n=[],i=[];return e.forEach(function(a){var o=a.start,l=a.end;if(t.pointsSame(o,l)){console.warn("PolyBool: Warning: Zero-length segment detected; your epsilon is probably too small or too large");return}r&&r.chainStart(a);var f={index:0,matches_head:!1,matches_pt1:!1},c={index:0,matches_head:!1,matches_pt1:!1},p=f;function _(De,Ye,Xe){return p.index=De,p.matches_head=Ye,p.matches_pt1=Xe,p===f?(p=c,!1):(p=null,!0)}for(var x=0;x<n.length;x++){var b=n[x],C=b[0];b[1];var R=b[b.length-1];if(b[b.length-2],t.pointsSame(C,o)){if(_(x,!0,!0))break}else if(t.pointsSame(C,l)){if(_(x,!0,!1))break}else if(t.pointsSame(R,o)){if(_(x,!1,!0))break}else if(t.pointsSame(R,l)&&_(x,!1,!1))break}if(p===f){n.push([o,l]),r&&r.chainNew(o,l);return}if(p===c){r&&r.chainMatch(f.index);var E=f.index,S=f.matches_pt1?l:o,T=f.matches_head,b=n[E],P=T?b[0]:b[b.length-1],M=T?b[1]:b[b.length-2],L=T?b[b.length-1]:b[0],v=T?b[b.length-2]:b[1];if(t.pointsCollinear(M,P,S)&&(T?(r&&r.chainRemoveHead(f.index,S),b.shift()):(r&&r.chainRemoveTail(f.index,S),b.pop()),P=M),t.pointsSame(L,S)){n.splice(E,1),t.pointsCollinear(v,L,P)&&(T?(r&&r.chainRemoveTail(f.index,P),b.pop()):(r&&r.chainRemoveHead(f.index,P),b.shift())),r&&r.chainClose(f.index),i.push(b);return}T?(r&&r.chainAddHead(f.index,S),b.unshift(S)):(r&&r.chainAddTail(f.index,S),b.push(S));return}function K(De){r&&r.chainReverse(De),n[De].reverse()}function q(De,Ye){var Xe=n[De],Et=n[Ye],yt=Xe[Xe.length-1],Ze=Xe[Xe.length-2],it=Et[0],Ut=Et[1];t.pointsCollinear(Ze,yt,it)&&(r&&r.chainRemoveTail(De,yt),Xe.pop(),yt=Ze),t.pointsCollinear(yt,it,Ut)&&(r&&r.chainRemoveHead(Ye,it),Et.shift()),r&&r.chainJoin(De,Ye),n[De]=Xe.concat(Et),n.splice(Ye,1)}var ue=f.index,Ie=c.index;r&&r.chainConnect(ue,Ie);var Ce=n[ue].length<n[Ie].length;f.matches_head?c.matches_head?Ce?(K(ue),q(ue,Ie)):(K(Ie),q(Ie,ue)):q(Ie,ue):c.matches_head?q(ue,Ie):Ce?(K(ue),q(Ie,ue)):(K(Ie),q(ue,Ie))}),i}var b7=y7;function _h(e,t,r){var n=[];return e.forEach(function(i){var a=(i.myFill.above?8:0)+(i.myFill.below?4:0)+(i.otherFill&&i.otherFill.above?2:0)+(i.otherFill&&i.otherFill.below?1:0);t[a]!==0&&n.push({id:r?r.segmentId():-1,start:i.start,end:i.end,myFill:{above:t[a]===1,below:t[a]===2},otherFill:null})}),r&&r.selected(n),n}var x7={union:function(e,t){return _h(e,[0,2,1,0,2,2,0,0,1,0,1,0,0,0,0,0],t)},intersect:function(e,t){return _h(e,[0,0,0,0,0,2,0,2,0,0,1,1,0,2,1,0],t)},difference:function(e,t){return _h(e,[0,0,0,0,2,0,2,0,1,1,0,0,0,1,2,0],t)},differenceRev:function(e,t){return _h(e,[0,2,1,0,0,0,1,1,0,2,0,2,0,0,0,0],t)},xor:function(e,t){return _h(e,[0,2,1,0,2,0,0,1,1,0,0,2,0,1,2,0],t)}},w7=x7,_7={toPolygon:function(e,t){function r(a){if(a.length<=0)return e.segments({inverted:!1,regions:[]});function o(c){var p=c.slice(0,c.length-1);return e.segments({inverted:!1,regions:[p]})}for(var l=o(a[0]),f=1;f<a.length;f++)l=e.selectDifference(e.combine(l,o(a[f])));return l}if(t.type==="Polygon")return e.polygon(r(t.coordinates));if(t.type==="MultiPolygon"){for(var n=e.segments({inverted:!1,regions:[]}),i=0;i<t.coordinates.length;i++)n=e.selectUnion(e.combine(n,r(t.coordinates[i])));return e.polygon(n)}throw new Error("PolyBool: Cannot convert GeoJSON object to PolyBool polygon")},fromPolygon:function(e,t,r){r=e.polygon(e.segments(r));function n(b,C){return t.pointInsideRegion([(b[0][0]+b[1][0])*.5,(b[0][1]+b[1][1])*.5],C)}function i(b){return{region:b,children:[]}}var a=i(null);function o(b,C){for(var R=0;R<b.children.length;R++){var E=b.children[R];if(n(C,E.region)){o(E,C);return}}for(var S=i(C),R=0;R<b.children.length;R++){var E=b.children[R];n(E.region,C)&&(S.children.push(E),b.children.splice(R,1),R--)}b.children.push(S)}for(var l=0;l<r.regions.length;l++){var f=r.regions[l];f.length<3||o(a,f)}function c(b,C){for(var R=0,E=b[b.length-1][0],S=b[b.length-1][1],T=[],P=0;P<b.length;P++){var M=b[P][0],L=b[P][1];T.push([M,L]),R+=L*E-M*S,E=M,S=L}var v=R<0;return v!==C&&T.reverse(),T.push([T[0][0],T[0][1]]),T}var p=[];function _(b){var C=[c(b.region,!1)];p.push(C);for(var R=0;R<b.children.length;R++)C.push(x(b.children[R]))}function x(b){for(var C=0;C<b.children.length;C++)_(b.children[C]);return c(b.region,!0)}for(var l=0;l<a.children.length;l++)_(a.children[l]);return p.length<=0?{type:"Polygon",coordinates:[]}:p.length==1?{type:"Polygon",coordinates:p[0]}:{type:"MultiPolygon",coordinates:p}}},S7=_7;/*
|
|
45
|
-
* @copyright 2016 Sean Connelly (@voidqk), http://syntheti.cc
|
|
46
|
-
* @license MIT
|
|
47
|
-
* @preserve Project Home: https://github.com/voidqk/polybooljs
|
|
48
|
-
*/var E7=c7,A7=h7,xT=m7,T7=b7,Sh=w7,wT=S7,Ka=!1,Eh=A7(),ha;ha={buildLog:function(e){return e===!0?Ka=E7():e===!1&&(Ka=!1),Ka===!1?!1:Ka.list},epsilon:function(e){return Eh.epsilon(e)},segments:function(e){var t=xT(!0,Eh,Ka);return e.regions.forEach(t.addRegion),{segments:t.calculate(e.inverted),inverted:e.inverted}},combine:function(e,t){var r=xT(!1,Eh,Ka);return{combined:r.calculate(e.segments,e.inverted,t.segments,t.inverted),inverted1:e.inverted,inverted2:t.inverted}},selectUnion:function(e){return{segments:Sh.union(e.combined,Ka),inverted:e.inverted1||e.inverted2}},selectIntersect:function(e){return{segments:Sh.intersect(e.combined,Ka),inverted:e.inverted1&&e.inverted2}},selectDifference:function(e){return{segments:Sh.difference(e.combined,Ka),inverted:e.inverted1&&!e.inverted2}},selectDifferenceRev:function(e){return{segments:Sh.differenceRev(e.combined,Ka),inverted:!e.inverted1&&e.inverted2}},selectXor:function(e){return{segments:Sh.xor(e.combined,Ka),inverted:e.inverted1!==e.inverted2}},polygon:function(e){return{regions:T7(e.segments,Eh,Ka),inverted:e.inverted}},polygonFromGeoJSON:function(e){return wT.toPolygon(ha,e)},polygonToGeoJSON:function(e){return wT.fromPolygon(ha,Eh,e)},union:function(e,t){return Ah(e,t,ha.selectUnion)},intersect:function(e,t){return Ah(e,t,ha.selectIntersect)},difference:function(e,t){return Ah(e,t,ha.selectDifference)},differenceRev:function(e,t){return Ah(e,t,ha.selectDifferenceRev)},xor:function(e,t){return Ah(e,t,ha.selectXor)}};function Ah(e,t,r){var n=ha.segments(e),i=ha.segments(t),a=ha.combine(n,i),o=r(a);return ha.polygon(o)}typeof window=="object"&&(window.PolyBool=ha);var cte=ha;const dte=gf(_z);var aN={exports:{}};function C7(e,t,r,n,i){for(var a=i+1;n<=i;){var o=n+i>>>1,l=e[o],f=r!==void 0?r(l,t):l-t;f>=0?(a=o,i=o-1):n=o+1}return a}function O7(e,t,r,n,i){for(var a=i+1;n<=i;){var o=n+i>>>1,l=e[o],f=r!==void 0?r(l,t):l-t;f>0?(a=o,i=o-1):n=o+1}return a}function k7(e,t,r,n,i){for(var a=n-1;n<=i;){var o=n+i>>>1,l=e[o],f=r!==void 0?r(l,t):l-t;f<0?(a=o,n=o+1):i=o-1}return a}function M7(e,t,r,n,i){for(var a=n-1;n<=i;){var o=n+i>>>1,l=e[o],f=r!==void 0?r(l,t):l-t;f<=0?(a=o,n=o+1):i=o-1}return a}function P7(e,t,r,n,i){for(;n<=i;){var a=n+i>>>1,o=e[a],l=r!==void 0?r(o,t):o-t;if(l===0)return a;l<=0?n=a+1:i=a-1}return-1}function Th(e,t,r,n,i,a){return typeof r=="function"?a(e,t,r,n===void 0?0:n|0,i===void 0?e.length-1:i|0):a(e,t,void 0,r===void 0?0:r|0,n===void 0?e.length-1:n|0)}var N7={ge:function(e,t,r,n,i){return Th(e,t,r,n,i,C7)},gt:function(e,t,r,n,i){return Th(e,t,r,n,i,O7)},lt:function(e,t,r,n,i){return Th(e,t,r,n,i,k7)},le:function(e,t,r,n,i){return Th(e,t,r,n,i,M7)},eq:function(e,t,r,n,i){return Th(e,t,r,n,i,P7)}},Wp=R7;function R7(e,t,r){return t<r?e<t?t:e>r?r:e:e<r?r:e>t?t:e}var ps=function(t,r,n){var i={},a,o;if(typeof r=="string"&&(r=_T(r)),Array.isArray(r)){var l={};for(o=0;o<r.length;o++)l[r[o]]=!0;r=l}for(a in r)r[a]=_T(r[a]);var f={};for(a in r){var c=r[a];if(Array.isArray(c))for(o=0;o<c.length;o++){var p=c[o];if(n&&(f[p]=!0),p in t){if(i[a]=t[p],n)for(var _=o;_<c.length;_++)f[c[_]]=!0;break}}else a in t&&(r[a]&&(i[a]=t[a]),n&&(f[a]=!0))}if(n)for(a in t)f[a]||(i[a]=t[a]);return i},h1={};function _T(e){return h1[e]?h1[e]:(typeof e=="string"&&(e=h1[e]=e.split(/\s*,\s*|\s+/)),e)}var I7=ps,hm=F7;function F7(e){var t;return arguments.length>1&&(e=arguments),typeof e=="string"?e=e.split(/\s/).map(parseFloat):typeof e=="number"&&(e=[e]),e.length&&typeof e[0]=="number"?e.length===1?t={width:e[0],height:e[0],x:0,y:0}:e.length===2?t={width:e[0],height:e[1],x:0,y:0}:t={x:e[0],y:e[1],width:e[2]-e[0]||0,height:e[3]-e[1]||0}:e&&(e=I7(e,{left:"x l left Left",top:"y t top Top",width:"w width W Width",height:"h height W Width",bottom:"b bottom Bottom",right:"r right Right"}),t={x:e.left||0,y:e.top||0},e.width==null?e.right?t.width=e.right-t.x:t.width=0:t.width=e.width,e.height==null?e.bottom?t.height=e.bottom-t.y:t.height=0:t.height=e.height),t}var Gp=L7;function L7(e,t){if(!e||e.length==null)throw Error("Argument should be an array");t==null?t=1:t=Math.floor(t);for(var r=Array(t*2),n=0;n<t;n++){for(var i=-1/0,a=1/0,o=n,l=e.length;o<l;o+=t)e[o]>i&&(i=e[o]),e[o]<a&&(a=e[o]);r[n]=a,r[t+n]=i}return r}var oN=function(){for(var e=0;e<arguments.length;e++)if(arguments[e]!==void 0)return arguments[e]},O2=function(e){switch(e){case"int8":return Int8Array;case"int16":return Int16Array;case"int32":return Int32Array;case"uint8":return Uint8Array;case"uint16":return Uint16Array;case"uint32":return Uint32Array;case"float32":return Float32Array;case"float64":return Float64Array;case"array":return Array;case"uint8_clamped":return Uint8ClampedArray}},ST=O2,qp=D7;function D7(e,t,r){if(!e)throw new TypeError("must specify data as first parameter");if(r=+(r||0)|0,Array.isArray(e)&&e[0]&&typeof e[0][0]=="number"){var n=e[0].length,i=e.length*n,a,o,l,f;(!t||typeof t=="string")&&(t=new(ST(t||"float32"))(i+r));var c=t.length-r;if(i!==c)throw new Error("source length "+i+" ("+n+"x"+e.length+") does not match destination length "+c);for(a=0,l=r;a<e.length;a++)for(o=0;o<n;o++)t[l++]=e[a][o]===null?NaN:e[a][o]}else if(!t||typeof t=="string"){var p=ST(t||"float32");if(Array.isArray(e)||t==="array")for(t=new p(e.length+r),a=0,l=r,f=t.length;l<f;l++,a++)t[l]=e[a]===null?NaN:e[a];else r===0?t=new p(e):(t=new p(e.length+r),t.set(e,r))}else t.set(e,r);return t}var $7=function(e){var t=typeof e;return e!==null&&(t==="object"||t==="function")},z7=Math.log2||function(e){return Math.log(e)*Math.LOG2E};const ET=N7,AT=Wp,B7=hm,j7=Gp,TT=ps,p1=oN,U7=qp,H7=$7,W7=O2,CT=z7,G7=1073741824;var q7=function(t,r){r||(r={}),t=U7(t,"float64"),r=TT(r,{bounds:"range bounds dataBox databox",maxDepth:"depth maxDepth maxdepth level maxLevel maxlevel levels",dtype:"type dtype format out dst output destination"});let n=p1(r.maxDepth,255),i=p1(r.bounds,j7(t,2));i[0]===i[2]&&i[2]++,i[1]===i[3]&&i[3]++;let a=OT(t,i),o=t.length>>>1,l;r.dtype||(r.dtype="array"),typeof r.dtype=="string"?l=new(W7(r.dtype))(o):r.dtype&&(l=r.dtype,Array.isArray(l)&&(l.length=o));for(let S=0;S<o;++S)l[S]=S;let f=[],c=[],p=[],_=[];b(0,0,1,l,0,1);let x=0;for(let S=0;S<f.length;S++){let T=f[S];if(l.set)l.set(T,x);else for(let M=0,L=T.length;M<L;M++)l[M+x]=T[M];let P=x+f[S].length;_[S]=[x,P],x=P}return l.range=C,l;function b(S,T,P,M,L,v){if(!M.length)return null;let K=f[L]||(f[L]=[]),q=p[L]||(p[L]=[]),ue=c[L]||(c[L]=[]),Ie=K.length;if(L++,L>n||v>G7){for(let it=0;it<M.length;it++)K.push(M[it]),q.push(v),ue.push(null,null,null,null);return Ie}if(K.push(M[0]),q.push(v),M.length<=1)return ue.push(null,null,null,null),Ie;let Ce=P*.5,De=S+Ce,Ye=T+Ce,Xe=[],Et=[],yt=[],Ze=[];for(let it=1,Ut=M.length;it<Ut;it++){let bt=M[it],Le=a[bt*2],ut=a[bt*2+1];Le<De?ut<Ye?Xe.push(bt):Et.push(bt):ut<Ye?yt.push(bt):Ze.push(bt)}return v<<=2,ue.push(b(S,T,Ce,Xe,L,v),b(S,Ye,Ce,Et,L,v+1),b(De,T,Ce,yt,L,v+2),b(De,Ye,Ce,Ze,L,v+3)),Ie}function C(...S){let T;if(H7(S[S.length-1])){let yt=S.pop();!S.length&&(yt.x!=null||yt.l!=null||yt.left!=null)&&(S=[yt],T={}),T=TT(yt,{level:"level maxLevel",d:"d diam diameter r radius px pxSize pixel pixelSize maxD size minSize",lod:"lod details ranges offsets"})}else T={};S.length||(S=i);let P=B7(...S),[M,L,v,K]=[Math.min(P.x,P.x+P.width),Math.min(P.y,P.y+P.height),Math.max(P.x,P.x+P.width),Math.max(P.y,P.y+P.height)],[q,ue,Ie,Ce]=OT([M,L,v,K],i),De=p1(T.level,f.length);if(T.d!=null){let yt;typeof T.d=="number"?yt=[T.d,T.d]:T.d.length&&(yt=T.d),De=Math.min(Math.max(Math.ceil(-CT(Math.abs(yt[0])/(i[2]-i[0]))),Math.ceil(-CT(Math.abs(yt[1])/(i[3]-i[1])))),De)}if(De=Math.min(De,f.length),T.lod)return R(q,ue,Ie,Ce,De);let Ye=[];Xe(0,0,1,0,0,1);function Xe(yt,Ze,it,Ut,bt,Le){if(bt===null||Le===null)return;let ut=yt+it,At=Ze+it;if(q>ut||ue>At||Ie<yt||Ce<Ze||Ut>=De||bt===Le)return;let st=f[Ut];Le===void 0&&(Le=st.length);for(let Y=bt;Y<Le;Y++){let he=st[Y],J=t[he*2],Te=t[he*2+1];J>=M&&J<=v&&Te>=L&&Te<=K&&Ye.push(he)}let Ct=c[Ut],Lt=Ct[bt*4+0],hr=Ct[bt*4+1],mr=Ct[bt*4+2],at=Ct[bt*4+3],Gt=Et(Ct,bt+1),fr=it*.5,je=Ut+1;Xe(yt,Ze,fr,je,Lt,hr||mr||at||Gt),Xe(yt,Ze+fr,fr,je,hr,mr||at||Gt),Xe(yt+fr,Ze,fr,je,mr,at||Gt),Xe(yt+fr,Ze+fr,fr,je,at,Gt)}function Et(yt,Ze){let it=null,Ut=0;for(;it===null;)if(it=yt[Ze*4+Ut],Ut++,Ut>yt.length)return null;return it}return Ye}function R(S,T,P,M,L){let v=[];for(let K=0;K<L;K++){let q=p[K],ue=_[K][0],Ie=E(S,T,K),Ce=E(P,M,K),De=ET.ge(q,Ie),Ye=ET.gt(q,Ce,De,q.length-1);v[K]=[De+ue,Ye+ue]}return v}function E(S,T,P){let M=1,L=.5,v=.5,K=.5;for(let q=0;q<P;q++)M<<=2,M+=S<L?T<v?0:1:T<v?2:3,K*=.5,L+=S<L?-K:K,v+=T<v?-K:K;return M}};function OT(e,t){let[r,n,i,a]=t,o=1/(i-r),l=1/(a-n),f=new Array(e.length);for(let c=0,p=e.length/2;c<p;c++)f[2*c]=AT((e[2*c]-r)*o,0,1),f[2*c+1]=AT((e[2*c+1]-n)*l,0,1);return f}(function(e){e.exports=q7})(aN);var uN=V7;function V7(e){var t=0,r=0,n=0,i=0;return e.map(function(a){a=a.slice();var o=a[0],l=o.toUpperCase();if(o!=l)switch(a[0]=l,o){case"a":a[6]+=n,a[7]+=i;break;case"v":a[1]+=i;break;case"h":a[1]+=n;break;default:for(var f=1;f<a.length;)a[f++]+=n,a[f++]+=i}switch(l){case"Z":n=t,i=r;break;case"H":n=a[1];break;case"V":i=a[1];break;case"M":n=t=a[1],i=r=a[2];break;default:n=a[a.length-2],i=a[a.length-1]}return a})}var Y7=function(){function e(t,r){var n=[],i=!0,a=!1,o=void 0;try{for(var l=t[Symbol.iterator](),f;!(i=(f=l.next()).done)&&(n.push(f.value),!(r&&n.length===r));i=!0);}catch(c){a=!0,o=c}finally{try{!i&&l.return&&l.return()}finally{if(a)throw o}}return n}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),ip=Math.PI*2,v1=function(t,r,n,i,a,o,l){var f=t.x,c=t.y;f*=r,c*=n;var p=i*f-a*c,_=a*f+i*c;return{x:p+o,y:_+l}},X7=function(t,r){var n=r===1.5707963267948966?.551915024494:r===-1.5707963267948966?-.551915024494:1.3333333333333333*Math.tan(r/4),i=Math.cos(t),a=Math.sin(t),o=Math.cos(t+r),l=Math.sin(t+r);return[{x:i-a*n,y:a+i*n},{x:o+l*n,y:l-o*n},{x:o,y:l}]},kT=function(t,r,n,i){var a=t*i-r*n<0?-1:1,o=t*n+r*i;return o>1&&(o=1),o<-1&&(o=-1),a*Math.acos(o)},Q7=function(t,r,n,i,a,o,l,f,c,p,_,x){var b=Math.pow(a,2),C=Math.pow(o,2),R=Math.pow(_,2),E=Math.pow(x,2),S=b*C-b*E-C*R;S<0&&(S=0),S/=b*E+C*R,S=Math.sqrt(S)*(l===f?-1:1);var T=S*a/o*x,P=S*-o/a*_,M=p*T-c*P+(t+n)/2,L=c*T+p*P+(r+i)/2,v=(_-T)/a,K=(x-P)/o,q=(-_-T)/a,ue=(-x-P)/o,Ie=kT(1,0,v,K),Ce=kT(v,K,q,ue);return f===0&&Ce>0&&(Ce-=ip),f===1&&Ce<0&&(Ce+=ip),[M,L,Ie,Ce]},Z7=function(t){var r=t.px,n=t.py,i=t.cx,a=t.cy,o=t.rx,l=t.ry,f=t.xAxisRotation,c=f===void 0?0:f,p=t.largeArcFlag,_=p===void 0?0:p,x=t.sweepFlag,b=x===void 0?0:x,C=[];if(o===0||l===0)return[];var R=Math.sin(c*ip/360),E=Math.cos(c*ip/360),S=E*(r-i)/2+R*(n-a)/2,T=-R*(r-i)/2+E*(n-a)/2;if(S===0&&T===0)return[];o=Math.abs(o),l=Math.abs(l);var P=Math.pow(S,2)/Math.pow(o,2)+Math.pow(T,2)/Math.pow(l,2);P>1&&(o*=Math.sqrt(P),l*=Math.sqrt(P));var M=Q7(r,n,i,a,o,l,_,b,R,E,S,T),L=Y7(M,4),v=L[0],K=L[1],q=L[2],ue=L[3],Ie=Math.abs(ue)/(ip/4);Math.abs(1-Ie)<1e-7&&(Ie=1);var Ce=Math.max(Math.ceil(Ie),1);ue/=Ce;for(var De=0;De<Ce;De++)C.push(X7(q,ue)),q+=ue;return C.map(function(Ye){var Xe=v1(Ye[0],o,l,E,R,v,K),Et=Xe.x,yt=Xe.y,Ze=v1(Ye[1],o,l,E,R,v,K),it=Ze.x,Ut=Ze.y,bt=v1(Ye[2],o,l,E,R,v,K),Le=bt.x,ut=bt.y;return{x1:Et,y1:yt,x2:it,y2:Ut,x:Le,y:ut}})};const K7=Object.freeze(Object.defineProperty({__proto__:null,default:Z7},Symbol.toStringTag,{value:"Module"})),J7=gf(K7);var ej=rj,tj=J7;function rj(e){for(var t,r=[],n=0,i=0,a=0,o=0,l=null,f=null,c=0,p=0,_=0,x=e.length;_<x;_++){var b=e[_],C=b[0];switch(C){case"M":a=b[1],o=b[2];break;case"A":var R=tj({px:c,py:p,cx:b[6],cy:b[7],rx:b[1],ry:b[2],xAxisRotation:b[3],largeArcFlag:b[4],sweepFlag:b[5]});if(!R.length)continue;for(var E=0,S;E<R.length;E++)S=R[E],b=["C",S.x1,S.y1,S.x2,S.y2,S.x,S.y],E<R.length-1&&r.push(b);break;case"S":var T=c,P=p;(t=="C"||t=="S")&&(T+=T-n,P+=P-i),b=["C",T,P,b[1],b[2],b[3],b[4]];break;case"T":t=="Q"||t=="T"?(l=c*2-l,f=p*2-f):(l=c,f=p),b=MT(c,p,l,f,b[1],b[2]);break;case"Q":l=b[1],f=b[2],b=MT(c,p,b[1],b[2],b[3],b[4]);break;case"L":b=Vv(c,p,b[1],b[2]);break;case"H":b=Vv(c,p,b[1],p);break;case"V":b=Vv(c,p,c,b[1]);break;case"Z":b=Vv(c,p,a,o);break}t=C,c=b[b.length-2],p=b[b.length-1],b.length>4?(n=b[b.length-4],i=b[b.length-3]):(n=c,i=p),r.push(b)}return r}function Vv(e,t,r,n){return["C",e,t,r,n,r,n]}function MT(e,t,r,n,i,a){return["C",e/3+2/3*r,t/3+2/3*n,i/3+2/3*r,a/3+2/3*n,i,a]}var lN=function(t){return typeof t!="string"?!1:(t=t.trim(),!!(/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(t)&&/[\dz]$/i.test(t)&&t.length>4))},nj=iN,ij=uN,aj=ej,oj=lN,uj=lj;function lj(e){if(Array.isArray(e)&&e.length===1&&typeof e[0]=="string"&&(e=e[0]),typeof e=="string"){if(!oj(e))throw Error("String is not an SVG path.");e=nj(e)}if(!Array.isArray(e))throw Error("Argument should be a string or an array of path segments.");if(e=ij(e),e=aj(e),!e.length)return[0,0,0,0];for(var t=[1/0,1/0,-1/0,-1/0],r=0,n=e.length;r<n;r++)for(var i=e[r].slice(1),a=0;a<i.length;a+=2)i[a+0]<t[0]&&(t[0]=i[a+0]),i[a+1]<t[1]&&(t[1]=i[a+1]),i[a+0]>t[2]&&(t[2]=i[a+0]),i[a+1]>t[3]&&(t[3]=i[a+1]);return t}var Hs=Math.PI,PT=fN(120),sj=fj;function fj(e){for(var t,r=[],n=0,i=0,a=0,o=0,l=null,f=null,c=0,p=0,_=0,x=e.length;_<x;_++){var b=e[_],C=b[0];switch(C){case"M":a=b[1],o=b[2];break;case"A":b=sN(c,p,b[1],b[2],fN(b[3]),b[4],b[5],b[6],b[7]),b.unshift("C"),b.length>7&&(r.push(b.splice(0,7)),b.unshift("C"));break;case"S":var R=c,E=p;(t=="C"||t=="S")&&(R+=R-n,E+=E-i),b=["C",R,E,b[1],b[2],b[3],b[4]];break;case"T":t=="Q"||t=="T"?(l=c*2-l,f=p*2-f):(l=c,f=p),b=NT(c,p,l,f,b[1],b[2]);break;case"Q":l=b[1],f=b[2],b=NT(c,p,b[1],b[2],b[3],b[4]);break;case"L":b=Yv(c,p,b[1],b[2]);break;case"H":b=Yv(c,p,b[1],p);break;case"V":b=Yv(c,p,c,b[1]);break;case"Z":b=Yv(c,p,a,o);break}t=C,c=b[b.length-2],p=b[b.length-1],b.length>4?(n=b[b.length-4],i=b[b.length-3]):(n=c,i=p),r.push(b)}return r}function Yv(e,t,r,n){return["C",e,t,r,n,r,n]}function NT(e,t,r,n,i,a){return["C",e/3+2/3*r,t/3+2/3*n,i/3+2/3*r,a/3+2/3*n,i,a]}function sN(e,t,r,n,i,a,o,l,f,c){if(c)P=c[0],M=c[1],S=c[2],T=c[3];else{var p=g1(e,t,-i);e=p.x,t=p.y,p=g1(l,f,-i),l=p.x,f=p.y;var _=(e-l)/2,x=(t-f)/2,b=_*_/(r*r)+x*x/(n*n);b>1&&(b=Math.sqrt(b),r=b*r,n=b*n);var C=r*r,R=n*n,E=(a==o?-1:1)*Math.sqrt(Math.abs((C*R-C*x*x-R*_*_)/(C*x*x+R*_*_)));E==1/0&&(E=1);var S=E*r*x/n+(e+l)/2,T=E*-n*_/r+(t+f)/2,P=Math.asin(((t-T)/n).toFixed(9)),M=Math.asin(((f-T)/n).toFixed(9));P=e<S?Hs-P:P,M=l<S?Hs-M:M,P<0&&(P=Hs*2+P),M<0&&(M=Hs*2+M),o&&P>M&&(P=P-Hs*2),!o&&M>P&&(M=M-Hs*2)}if(Math.abs(M-P)>PT){var L=M,v=l,K=f;M=P+PT*(o&&M>P?1:-1),l=S+r*Math.cos(M),f=T+n*Math.sin(M);var q=sN(l,f,r,n,i,0,o,v,K,[M,L,S,T])}var ue=Math.tan((M-P)/4),Ie=4/3*r*ue,Ce=4/3*n*ue,De=[2*e-(e+Ie*Math.sin(P)),2*t-(t-Ce*Math.cos(P)),l+Ie*Math.sin(M),f-Ce*Math.cos(M),l,f];if(c)return De;q&&(De=De.concat(q));for(var Ye=0;Ye<De.length;){var Xe=g1(De[Ye],De[Ye+1],i);De[Ye++]=Xe.x,De[Ye++]=Xe.y}return De}function g1(e,t,r){return{x:e*Math.cos(r)-t*Math.sin(r),y:e*Math.sin(r)+t*Math.cos(r)}}function fN(e){return e*(Hs/180)}var cj=uN,dj=sj,hj={M:"moveTo",C:"bezierCurveTo"},pj=function(e,t){e.beginPath(),dj(cj(t)).forEach(function(r){var n=r[0],i=r.slice(1);e[hj[n]].apply(e,i)}),e.closePath()},vj=Wp,gj=mj,ap=1e20;function mj(e,t){t||(t={});var r=t.cutoff==null?.25:t.cutoff,n=t.radius==null?8:t.radius,i=t.channel||0,a,o,l,f,c,p,_,x,b,C,R;if(ArrayBuffer.isView(e)||Array.isArray(e)){if(!t.width||!t.height)throw Error("For raw data width and height should be provided by options");a=t.width,o=t.height,f=e,t.stride?p=t.stride:p=Math.floor(e.length/a/o)}else window.HTMLCanvasElement&&e instanceof window.HTMLCanvasElement?(x=e,_=x.getContext("2d"),a=x.width,o=x.height,b=_.getImageData(0,0,a,o),f=b.data,p=4):window.CanvasRenderingContext2D&&e instanceof window.CanvasRenderingContext2D?(x=e.canvas,_=e,a=x.width,o=x.height,b=_.getImageData(0,0,a,o),f=b.data,p=4):window.ImageData&&e instanceof window.ImageData&&(b=e,a=e.width,o=e.height,f=b.data,p=4);if(l=Math.max(a,o),window.Uint8ClampedArray&&f instanceof window.Uint8ClampedArray||window.Uint8Array&&f instanceof window.Uint8Array)for(c=f,f=Array(a*o),C=0,R=c.length;C<R;C++)f[C]=c[C*p+i]/255;else if(p!==1)throw Error("Raw data can have only 1 value per pixel");var E=Array(a*o),S=Array(a*o),T=Array(l),P=Array(l),M=Array(l+1),L=Array(l);for(C=0,R=a*o;C<R;C++){var v=f[C];E[C]=v===1?0:v===0?ap:Math.pow(Math.max(0,.5-v),2),S[C]=v===1?ap:v===0?0:Math.pow(Math.max(0,v-.5),2)}RT(E,a,o,T,P,L,M),RT(S,a,o,T,P,L,M);var K=window.Float32Array?new Float32Array(a*o):new Array(a*o);for(C=0,R=a*o;C<R;C++)K[C]=vj(1-((E[C]-S[C])/n+r),0,1);return K}function RT(e,t,r,n,i,a,o){for(var l=0;l<t;l++){for(var f=0;f<r;f++)n[f]=e[f*t+l];for(IT(n,i,a,o,r),f=0;f<r;f++)e[f*t+l]=i[f]}for(f=0;f<r;f++){for(l=0;l<t;l++)n[l]=e[f*t+l];for(IT(n,i,a,o,t),l=0;l<t;l++)e[f*t+l]=Math.sqrt(i[l])}}function IT(e,t,r,n,i){r[0]=0,n[0]=-ap,n[1]=+ap;for(var a=1,o=0;a<i;a++){for(var l=(e[a]+a*a-(e[r[o]]+r[o]*r[o]))/(2*a-2*r[o]);l<=n[o];)o--,l=(e[a]+a*a-(e[r[o]]+r[o]*r[o]))/(2*a-2*r[o]);o++,r[o]=a,n[o]=l,n[o+1]=+ap}for(a=0,o=0;a<i;a++){for(;n[o+1]<a;)o++;t[a]=(a-r[o])*(a-r[o])+e[r[o]]}}var yj=uj,bj=iN,xj=pj,wj=lN,_j=gj,xw=document.createElement("canvas"),ea=xw.getContext("2d"),hte=Sj;function Sj(e,t){if(!wj(e))throw Error("Argument should be valid svg path string");t||(t={});var r,n;t.shape?(r=t.shape[0],n=t.shape[1]):(r=xw.width=t.w||t.width||200,n=xw.height=t.h||t.height||200);var i=Math.min(r,n),a=t.stroke||0,o=t.viewbox||t.viewBox||yj(e),l=[r/(o[2]-o[0]),n/(o[3]-o[1])],f=Math.min(l[0]||0,l[1]||0)/2;if(ea.fillStyle="black",ea.fillRect(0,0,r,n),ea.fillStyle="white",a&&(typeof a!="number"&&(a=1),a>0?ea.strokeStyle="white":ea.strokeStyle="black",ea.lineWidth=Math.abs(a)),ea.translate(r*.5,n*.5),ea.scale(f,f),Ej()){var c=new Path2D(e);ea.fill(c),a&&ea.stroke(c)}else{var p=bj(e);xj(ea,p),ea.fill(),a&&ea.stroke()}ea.setTransform(1,0,0,1,0,0);var _=_j(ea,{cutoff:t.cutoff!=null?t.cutoff:.5,radius:t.radius!=null?t.radius:i*.5});return _}var Xv;function Ej(){if(Xv!=null)return Xv;var e=document.createElement("canvas").getContext("2d");if(e.canvas.width=e.canvas.height=1,!window.Path2D)return Xv=!1;var t=new Path2D("M0,0h1v1h-1v-1Z");e.fillStyle="black",e.fill(t);var r=e.getImageData(0,0,1,1);return Xv=r&&r.data&&r.data[3]===255}var Aj={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Tj=Object.prototype.toString,cN=function(e){var t;return Tj.call(e)==="[object Object]"&&(t=Object.getPrototypeOf(e),t===null||t===Object.getPrototypeOf({}))},FT=Aj,Cj=cN,Bs=oN,Oj=kj,LT={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function kj(e){var t,r=[],n=1,i;if(typeof e=="string")if(FT[e])r=FT[e].slice(),i="rgb";else if(e==="transparent")n=0,i="rgb",r=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(e)){var a=e.slice(1),o=a.length,l=o<=4;n=1,l?(r=[parseInt(a[0]+a[0],16),parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16)],o===4&&(n=parseInt(a[3]+a[3],16)/255)):(r=[parseInt(a[0]+a[1],16),parseInt(a[2]+a[3],16),parseInt(a[4]+a[5],16)],o===8&&(n=parseInt(a[6]+a[7],16)/255)),r[0]||(r[0]=0),r[1]||(r[1]=0),r[2]||(r[2]=0),i="rgb"}else if(t=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(e)){var f=t[1],c=f==="rgb",a=f.replace(/a$/,"");i=a;var o=a==="cmyk"?4:a==="gray"?1:3;r=t[2].trim().split(/\s*,\s*/).map(function(b,C){if(/%$/.test(b))return C===o?parseFloat(b)/100:a==="rgb"?parseFloat(b)*255/100:parseFloat(b);if(a[C]==="h"){if(/deg$/.test(b))return parseFloat(b);if(LT[b]!==void 0)return LT[b]}return parseFloat(b)}),f===a&&r.push(1),n=c||r[o]===void 0?1:r[o],r=r.slice(0,o)}else e.length>10&&/[0-9](?:\s|\/)/.test(e)&&(r=e.match(/([0-9]+)/g).map(function(_){return parseFloat(_)}),i=e.match(/([a-z])/ig).join("").toLowerCase());else if(!isNaN(e))i="rgb",r=[e>>>16,(e&65280)>>>8,e&255];else if(Cj(e)){var p=Bs(e.r,e.red,e.R,null);p!==null?(i="rgb",r=[p,Bs(e.g,e.green,e.G),Bs(e.b,e.blue,e.B)]):(i="hsl",r=[Bs(e.h,e.hue,e.H),Bs(e.s,e.saturation,e.S),Bs(e.l,e.lightness,e.L,e.b,e.brightness)]),n=Bs(e.a,e.alpha,e.opacity,1),e.opacity!=null&&(n/=100)}else(Array.isArray(e)||Jr.ArrayBuffer&&ArrayBuffer.isView&&ArrayBuffer.isView(e))&&(r=[e[0],e[1],e[2]],i="rgb",n=e.length===4?e[3]:1);return{space:i,values:r,alpha:n}}var Mj={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100,i,a,o,l,f;if(r===0)return f=n*255,[f,f,f];n<.5?a=n*(1+r):a=n+r-n*r,i=2*n-a,l=[0,0,0];for(var c=0;c<3;c++)o=t+1/3*-(c-1),o<0?o++:o>1&&o--,6*o<1?f=i+(a-i)*6*o:2*o<1?f=a:3*o<2?f=i+(a-i)*(2/3-o)*6:f=i,l[c]=f*255;return l}},Pj=Oj,Nj=Mj,Qv=Wp,Rj=function(t){var r,n=Pj(t);return n.space?(r=Array(3),r[0]=Qv(n.values[0],0,255),r[1]=Qv(n.values[1],0,255),r[2]=Qv(n.values[2],0,255),n.space[0]==="h"&&(r=Nj.rgb(r)),r.push(Qv(n.alpha,0,1)),r):[]},Ij=Rj,Zv=Wp,Fj=O2,pm=function(t,r){(r==="float"||!r)&&(r="array"),r==="uint"&&(r="uint8"),r==="uint_clamped"&&(r="uint8_clamped");var n=Fj(r),i=new n(4),a=r!=="uint8"&&r!=="uint8_clamped";return(!t.length||typeof t=="string")&&(t=Ij(t),t[0]/=255,t[1]/=255,t[2]/=255),Lj(t)?(i[0]=t[0],i[1]=t[1],i[2]=t[2],i[3]=t[3]!=null?t[3]:255,a&&(i[0]/=255,i[1]/=255,i[2]/=255,i[3]/=255),i):(a?(i[0]=t[0],i[1]=t[1],i[2]=t[2],i[3]=t[3]!=null?t[3]:1):(i[0]=Zv(Math.floor(t[0]*255),0,255),i[1]=Zv(Math.floor(t[1]*255),0,255),i[2]=Zv(Math.floor(t[2]*255),0,255),i[3]=t[3]==null?255:Zv(Math.floor(t[3]*255),0,255)),i)};function Lj(e){return!!(e instanceof Uint8Array||e instanceof Uint8ClampedArray||Array.isArray(e)&&(e[0]>1||e[0]===0)&&(e[1]>1||e[1]===0)&&(e[2]>1||e[2]===0)&&(!e[3]||e[3]>1))}var vm={exports:{}},Kv=Wp;vm.exports=dN;vm.exports.to=dN;vm.exports.from=Dj;function dN(e,t){t==null&&(t=!0);var r=e[0],n=e[1],i=e[2],a=e[3];a==null&&(a=t?1:255),t&&(r*=255,n*=255,i*=255,a*=255),r=Kv(r,0,255)&255,n=Kv(n,0,255)&255,i=Kv(i,0,255)&255,a=Kv(a,0,255)&255;var o=r*16777216+(n<<16)+(i<<8)+a;return o}function Dj(e,t){e=+e;var r=e>>>24,n=(e&16711680)>>>16,i=(e&65280)>>>8,a=e&255;return t===!1?[r,n,i,a]:[r/255,n/255,i/255,a/255]}var hN=function(e){typeof e=="string"&&(e=[e]);for(var t=[].slice.call(arguments,1),r=[],n=0;n<e.length-1;n++)r.push(e[n],t[n]||"");return r.push(e[n]),r.join("")},pN=function(t,r,n){Array.isArray(n)||(n=[].slice.call(arguments,2));for(var i=0,a=n.length;i<a;i++){var o=n[i];for(var l in o)if(!(r[l]!==void 0&&!Array.isArray(r[l])&&t[l]===r[l])&&l in r){var f;if(o[l]===!0)f=r[l];else{if(o[l]===!1)continue;if(typeof o[l]=="function"&&(f=o[l](r[l],t,r),f===void 0))continue}t[l]=f}}return t},$j=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion)),is={exports:{}};is.exports=op;is.exports.float32=is.exports.float=op;is.exports.fract32=is.exports.fract=zj;var DT=new Float32Array(1);function zj(e,t){if(e.length){if(e instanceof Float32Array)return new Float32Array(e.length);t instanceof Float32Array||(t=op(e));for(var r=0,n=t.length;r<n;r++)t[r]=e[r]-t[r];return t}return op(e-op(e))}function op(e){return e.length?e instanceof Float32Array?e:new Float32Array(e):(DT[0]=e,DT[0])}function Bj(e,t){return Hj(e)||Gj(e,t)||vN(e,t)||Vj()}function jj(e){return Uj(e)||Wj(e)||vN(e)||qj()}function Uj(e){if(Array.isArray(e))return ww(e)}function Hj(e){if(Array.isArray(e))return e}function Wj(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Gj(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,a=!1,o,l;try{for(r=r.call(e);!(i=(o=r.next()).done)&&(n.push(o.value),!(t&&n.length===t));i=!0);}catch(f){a=!0,l=f}finally{try{!i&&r.return!=null&&r.return()}finally{if(a)throw l}}return n}}function vN(e,t){if(!!e){if(typeof e=="string")return ww(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ww(e,t)}}function ww(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function qj(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
49
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Vj(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
50
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Yj=pm,Xj=Gp,Qj=vm.exports,Zj=aN.exports,rf=mf,Jv=hN,Kj=ps,Jj=pN,eU=qp,$T=$j,eg=is.exports,tU=hm,rU=bi;function bi(e,t){var r=this;if(!(this instanceof bi))return new bi(e,t);typeof e=="function"?(t||(t={}),t.regl=e):(t=e,e=null),t&&t.length&&(t.positions=t),e=t.regl;var n=e._gl,i,a=[],o={},l=[],f=[null],c=[null],p=255,_=100;this.tooManyColors=$T,i=e.texture({data:new Uint8Array(p*4),width:p,height:1,type:"uint8",format:"rgba",wrapS:"clamp",wrapT:"clamp",mag:"nearest",min:"nearest"}),rf(this,{regl:e,gl:n,groups:l,markerCache:c,markerTextures:f,palette:a,paletteIds:o,paletteTexture:i,maxColors:p,maxSize:_,canvas:n.canvas}),this.update(t);var x={uniforms:{constPointSize:!!t.constPointSize,opacity:e.prop("opacity"),paletteSize:function(E,S){return[r.tooManyColors?0:p,i.height]},pixelRatio:e.context("pixelRatio"),scale:e.prop("scale"),scaleFract:e.prop("scaleFract"),translate:e.prop("translate"),translateFract:e.prop("translateFract"),markerTexture:e.prop("markerTexture"),paletteTexture:i},attributes:{x:function(E,S){return S.xAttr||{buffer:S.positionBuffer,stride:8,offset:0}},y:function(E,S){return S.yAttr||{buffer:S.positionBuffer,stride:8,offset:4}},xFract:function(E,S){return S.xAttr?{constant:[0,0]}:{buffer:S.positionFractBuffer,stride:8,offset:0}},yFract:function(E,S){return S.yAttr?{constant:[0,0]}:{buffer:S.positionFractBuffer,stride:8,offset:4}},size:function(E,S){return S.size.length?{buffer:S.sizeBuffer,stride:2,offset:0}:{constant:[Math.round(S.size*255/r.maxSize)]}},borderSize:function(E,S){return S.borderSize.length?{buffer:S.sizeBuffer,stride:2,offset:1}:{constant:[Math.round(S.borderSize*255/r.maxSize)]}},colorId:function(E,S){return S.color.length?{buffer:S.colorBuffer,stride:r.tooManyColors?8:4,offset:0}:{constant:r.tooManyColors?a.slice(S.color*4,S.color*4+4):[S.color]}},borderColorId:function(E,S){return S.borderColor.length?{buffer:S.colorBuffer,stride:r.tooManyColors?8:4,offset:r.tooManyColors?4:2}:{constant:r.tooManyColors?a.slice(S.borderColor*4,S.borderColor*4+4):[S.borderColor]}},isActive:function(E,S){return S.activation===!0?{constant:[1]}:S.activation?S.activation:{constant:[0]}}},blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},scissor:{enable:!0,box:e.prop("viewport")},viewport:e.prop("viewport"),stencil:{enable:!1},depth:{enable:!1},elements:e.prop("elements"),count:e.prop("count"),offset:e.prop("offset"),primitive:"points"},b=rf({},x);b.frag=Jv([`precision highp float;
|
|
51
|
-
#define GLSLIFY 1
|
|
52
|
-
|
|
53
|
-
uniform float opacity;
|
|
54
|
-
uniform sampler2D markerTexture;
|
|
55
|
-
|
|
56
|
-
varying vec4 fragColor, fragBorderColor;
|
|
57
|
-
varying float fragWidth, fragBorderColorLevel, fragColorLevel;
|
|
58
|
-
|
|
59
|
-
float smoothStep(float x, float y) {
|
|
60
|
-
return 1.0 / (1.0 + exp(50.0*(x - y)));
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
void main() {
|
|
64
|
-
float dist = texture2D(markerTexture, gl_PointCoord).r, delta = fragWidth;
|
|
65
|
-
|
|
66
|
-
// max-distance alpha
|
|
67
|
-
if (dist < 0.003) discard;
|
|
68
|
-
|
|
69
|
-
// null-border case
|
|
70
|
-
if (fragBorderColorLevel == fragColorLevel || fragBorderColor.a == 0.) {
|
|
71
|
-
float colorAmt = smoothstep(.5 - delta, .5 + delta, dist);
|
|
72
|
-
gl_FragColor = vec4(fragColor.rgb, colorAmt * fragColor.a * opacity);
|
|
73
|
-
}
|
|
74
|
-
else {
|
|
75
|
-
float borderColorAmt = smoothstep(fragBorderColorLevel - delta, fragBorderColorLevel + delta, dist);
|
|
76
|
-
float colorAmt = smoothstep(fragColorLevel - delta, fragColorLevel + delta, dist);
|
|
77
|
-
|
|
78
|
-
vec4 color = fragBorderColor;
|
|
79
|
-
color.a *= borderColorAmt;
|
|
80
|
-
color = mix(color, fragColor, colorAmt);
|
|
81
|
-
color.a *= opacity;
|
|
82
|
-
|
|
83
|
-
gl_FragColor = color;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
}
|
|
87
|
-
`]),b.vert=Jv([`precision highp float;
|
|
88
|
-
#define GLSLIFY 1
|
|
89
|
-
|
|
90
|
-
attribute float x, y, xFract, yFract;
|
|
91
|
-
attribute float size, borderSize;
|
|
92
|
-
attribute vec4 colorId, borderColorId;
|
|
93
|
-
attribute float isActive;
|
|
94
|
-
|
|
95
|
-
uniform bool constPointSize;
|
|
96
|
-
uniform float pixelRatio;
|
|
97
|
-
uniform vec2 scale, scaleFract, translate, translateFract, paletteSize;
|
|
98
|
-
uniform sampler2D paletteTexture;
|
|
99
|
-
|
|
100
|
-
const float maxSize = 100.;
|
|
101
|
-
const float borderLevel = .5;
|
|
102
|
-
|
|
103
|
-
varying vec4 fragColor, fragBorderColor;
|
|
104
|
-
varying float fragPointSize, fragBorderRadius, fragWidth, fragBorderColorLevel, fragColorLevel;
|
|
105
|
-
|
|
106
|
-
float pointSizeScale = (constPointSize) ? 2. : pixelRatio;
|
|
107
|
-
|
|
108
|
-
bool isDirect = (paletteSize.x < 1.);
|
|
109
|
-
|
|
110
|
-
vec4 getColor(vec4 id) {
|
|
111
|
-
return isDirect ? id / 255. : texture2D(paletteTexture,
|
|
112
|
-
vec2(
|
|
113
|
-
(id.x + .5) / paletteSize.x,
|
|
114
|
-
(id.y + .5) / paletteSize.y
|
|
115
|
-
)
|
|
116
|
-
);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
void main() {
|
|
120
|
-
// ignore inactive points
|
|
121
|
-
if (isActive == 0.) return;
|
|
122
|
-
|
|
123
|
-
vec2 position = vec2(x, y);
|
|
124
|
-
vec2 positionFract = vec2(xFract, yFract);
|
|
125
|
-
|
|
126
|
-
vec4 color = getColor(colorId);
|
|
127
|
-
vec4 borderColor = getColor(borderColorId);
|
|
128
|
-
|
|
129
|
-
float size = size * maxSize / 255.;
|
|
130
|
-
float borderSize = borderSize * maxSize / 255.;
|
|
131
|
-
|
|
132
|
-
gl_PointSize = 2. * size * pointSizeScale;
|
|
133
|
-
fragPointSize = size * pixelRatio;
|
|
134
|
-
|
|
135
|
-
vec2 pos = (position + translate) * scale
|
|
136
|
-
+ (positionFract + translateFract) * scale
|
|
137
|
-
+ (position + translate) * scaleFract
|
|
138
|
-
+ (positionFract + translateFract) * scaleFract;
|
|
139
|
-
|
|
140
|
-
gl_Position = vec4(pos * 2. - 1., 0., 1.);
|
|
141
|
-
|
|
142
|
-
fragColor = color;
|
|
143
|
-
fragBorderColor = borderColor;
|
|
144
|
-
fragWidth = 1. / gl_PointSize;
|
|
145
|
-
|
|
146
|
-
fragBorderColorLevel = clamp(borderLevel - borderLevel * borderSize / size, 0., 1.);
|
|
147
|
-
fragColorLevel = clamp(borderLevel + (1. - borderLevel) * borderSize / size, 0., 1.);
|
|
148
|
-
}`]),this.drawMarker=e(b);var C=rf({},x);C.frag=Jv([`precision highp float;
|
|
149
|
-
#define GLSLIFY 1
|
|
150
|
-
|
|
151
|
-
varying vec4 fragColor, fragBorderColor;
|
|
152
|
-
varying float fragBorderRadius, fragWidth;
|
|
153
|
-
|
|
154
|
-
uniform float opacity;
|
|
155
|
-
|
|
156
|
-
float smoothStep(float edge0, float edge1, float x) {
|
|
157
|
-
float t;
|
|
158
|
-
t = clamp((x - edge0) / (edge1 - edge0), 0.0, 1.0);
|
|
159
|
-
return t * t * (3.0 - 2.0 * t);
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
void main() {
|
|
163
|
-
float radius, alpha = 1.0, delta = fragWidth;
|
|
164
|
-
|
|
165
|
-
radius = length(2.0 * gl_PointCoord.xy - 1.0);
|
|
166
|
-
|
|
167
|
-
if (radius > 1.0 + delta) {
|
|
168
|
-
discard;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
alpha -= smoothstep(1.0 - delta, 1.0 + delta, radius);
|
|
172
|
-
|
|
173
|
-
float borderRadius = fragBorderRadius;
|
|
174
|
-
float ratio = smoothstep(borderRadius - delta, borderRadius + delta, radius);
|
|
175
|
-
vec4 color = mix(fragColor, fragBorderColor, ratio);
|
|
176
|
-
color.a *= alpha * opacity;
|
|
177
|
-
gl_FragColor = color;
|
|
178
|
-
}
|
|
179
|
-
`]),C.vert=Jv([`precision highp float;
|
|
180
|
-
#define GLSLIFY 1
|
|
181
|
-
|
|
182
|
-
attribute float x, y, xFract, yFract;
|
|
183
|
-
attribute float size, borderSize;
|
|
184
|
-
attribute vec4 colorId, borderColorId;
|
|
185
|
-
attribute float isActive;
|
|
186
|
-
|
|
187
|
-
uniform bool constPointSize;
|
|
188
|
-
uniform float pixelRatio;
|
|
189
|
-
uniform vec2 paletteSize, scale, scaleFract, translate, translateFract;
|
|
190
|
-
uniform sampler2D paletteTexture;
|
|
191
|
-
|
|
192
|
-
const float maxSize = 100.;
|
|
193
|
-
|
|
194
|
-
varying vec4 fragColor, fragBorderColor;
|
|
195
|
-
varying float fragBorderRadius, fragWidth;
|
|
196
|
-
|
|
197
|
-
float pointSizeScale = (constPointSize) ? 2. : pixelRatio;
|
|
198
|
-
|
|
199
|
-
bool isDirect = (paletteSize.x < 1.);
|
|
200
|
-
|
|
201
|
-
vec4 getColor(vec4 id) {
|
|
202
|
-
return isDirect ? id / 255. : texture2D(paletteTexture,
|
|
203
|
-
vec2(
|
|
204
|
-
(id.x + .5) / paletteSize.x,
|
|
205
|
-
(id.y + .5) / paletteSize.y
|
|
206
|
-
)
|
|
207
|
-
);
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
void main() {
|
|
211
|
-
// ignore inactive points
|
|
212
|
-
if (isActive == 0.) return;
|
|
213
|
-
|
|
214
|
-
vec2 position = vec2(x, y);
|
|
215
|
-
vec2 positionFract = vec2(xFract, yFract);
|
|
216
|
-
|
|
217
|
-
vec4 color = getColor(colorId);
|
|
218
|
-
vec4 borderColor = getColor(borderColorId);
|
|
219
|
-
|
|
220
|
-
float size = size * maxSize / 255.;
|
|
221
|
-
float borderSize = borderSize * maxSize / 255.;
|
|
222
|
-
|
|
223
|
-
gl_PointSize = (size + borderSize) * pointSizeScale;
|
|
224
|
-
|
|
225
|
-
vec2 pos = (position + translate) * scale
|
|
226
|
-
+ (positionFract + translateFract) * scale
|
|
227
|
-
+ (position + translate) * scaleFract
|
|
228
|
-
+ (positionFract + translateFract) * scaleFract;
|
|
229
|
-
|
|
230
|
-
gl_Position = vec4(pos * 2. - 1., 0., 1.);
|
|
231
|
-
|
|
232
|
-
fragBorderRadius = 1. - 2. * borderSize / (size + borderSize);
|
|
233
|
-
fragColor = color;
|
|
234
|
-
fragBorderColor = borderColor.a == 0. || borderSize == 0. ? vec4(color.rgb, 0.) : borderColor;
|
|
235
|
-
fragWidth = 1. / gl_PointSize;
|
|
236
|
-
}
|
|
237
|
-
`]),$T&&(C.frag=C.frag.replace("smoothstep","smoothStep"),b.frag=b.frag.replace("smoothstep","smoothStep")),this.drawCircle=e(C)}bi.defaults={color:"black",borderColor:"transparent",borderSize:0,size:12,opacity:1,marker:void 0,viewport:null,range:null,pixelSize:null,count:0,offset:0,bounds:null,positions:[],snap:1e4};bi.prototype.render=function(){return arguments.length&&this.update.apply(this,arguments),this.draw(),this};bi.prototype.draw=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=this.groups;if(r.length===1&&Array.isArray(r[0])&&(r[0][0]===null||Array.isArray(r[0][0]))&&(r=r[0]),this.regl._refresh(),r.length)for(var a=0;a<r.length;a++)this.drawItem(a,r[a]);else i.forEach(function(o,l){e.drawItem(l)});return this};bi.prototype.drawItem=function(e,t){var r=this.groups,n=r[e];if(typeof t=="number"&&(e=t,n=r[t],t=null),!!(n&&n.count&&n.opacity)){n.activation[0]&&this.drawCircle(this.getMarkerDrawOptions(0,n,t));for(var i=[],a=1;a<n.activation.length;a++)!n.activation[a]||n.activation[a]!==!0&&!n.activation[a].data.length||i.push.apply(i,jj(this.getMarkerDrawOptions(a,n,t)));i.length&&this.drawMarker(i)}};bi.prototype.getMarkerDrawOptions=function(e,t,r){var n=t.range,i=t.tree,a=t.viewport,o=t.activation,l=t.selectionBuffer,f=t.count;if(this.regl,!i)return r?[rf({},t,{markerTexture:this.markerTextures[e],activation:o[e],count:r.length,elements:r,offset:0})]:[rf({},t,{markerTexture:this.markerTextures[e],activation:o[e],offset:0})];var c=[],p=i.range(n,{lod:!0,px:[(n[2]-n[0])/a.width,(n[3]-n[1])/a.height]});if(r){for(var _=o[e],x=_.data,b=new Uint8Array(f),C=0;C<r.length;C++){var R=r[C];b[R]=x?x[R]:1}l.subdata(b)}for(var E=p.length;E--;){var S=Bj(p[E],2),T=S[0],P=S[1];c.push(rf({},t,{markerTexture:this.markerTextures[e],activation:r?l:o[e],offset:T,count:P-T}))}return c};bi.prototype.update=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];if(!!r.length){r.length===1&&Array.isArray(r[0])&&(r=r[0]);var i=this.groups,a=this.gl,o=this.regl,l=this.maxSize,f=this.maxColors,c=this.palette;this.groups=i=r.map(function(p,_){var x=i[_];if(p===void 0)return x;p===null?p={positions:null}:typeof p=="function"?p={ondraw:p}:typeof p[0]=="number"&&(p={positions:p}),p=Kj(p,{positions:"positions data points",snap:"snap cluster lod tree",size:"sizes size radius",borderSize:"borderSizes borderSize border-size bordersize borderWidth borderWidths border-width borderwidth stroke-width strokeWidth strokewidth outline",color:"colors color fill fill-color fillColor",borderColor:"borderColors borderColor stroke stroke-color strokeColor",marker:"markers marker shape",range:"range dataBox databox",viewport:"viewport viewPort viewBox viewbox",opacity:"opacity alpha transparency",bounds:"bound bounds boundaries limits",tooManyColors:"tooManyColors palette paletteMode optimizePalette enablePalette"}),p.positions===null&&(p.positions=[]),p.tooManyColors!=null&&(e.tooManyColors=p.tooManyColors),x||(i[_]=x={id:_,scale:null,translate:null,scaleFract:null,translateFract:null,activation:[],selectionBuffer:o.buffer({data:new Uint8Array(0),usage:"stream",type:"uint8"}),sizeBuffer:o.buffer({data:new Uint8Array(0),usage:"dynamic",type:"uint8"}),colorBuffer:o.buffer({data:new Uint8Array(0),usage:"dynamic",type:"uint8"}),positionBuffer:o.buffer({data:new Uint8Array(0),usage:"dynamic",type:"float"}),positionFractBuffer:o.buffer({data:new Uint8Array(0),usage:"dynamic",type:"float"})},p=rf({},bi.defaults,p)),p.positions&&!("marker"in p)&&(p.marker=x.marker,delete x.marker),p.marker&&!("positions"in p)&&(p.positions=x.positions,delete x.positions);var b=0,C=0;if(Jj(x,p,[{snap:!0,size:function(Ze,it){return Ze==null&&(Ze=bi.defaults.size),b+=Ze&&Ze.length?1:0,Ze},borderSize:function(Ze,it){return Ze==null&&(Ze=bi.defaults.borderSize),b+=Ze&&Ze.length?1:0,Ze},opacity:parseFloat,color:function(Ze,it){return Ze==null&&(Ze=bi.defaults.color),Ze=e.updateColor(Ze),C++,Ze},borderColor:function(Ze,it){return Ze==null&&(Ze=bi.defaults.borderColor),Ze=e.updateColor(Ze),C++,Ze},bounds:function(Ze,it,Ut){return"range"in Ut||(Ut.range=null),Ze},positions:function(Ze,it,Ut){var bt=it.snap,Le=it.positionBuffer,ut=it.positionFractBuffer,At=it.selectionBuffer;if(Ze.x||Ze.y)return Ze.x.length?it.xAttr={buffer:o.buffer(Ze.x),offset:0,stride:4,count:Ze.x.length}:it.xAttr={buffer:Ze.x.buffer,offset:Ze.x.offset*4||0,stride:(Ze.x.stride||1)*4,count:Ze.x.count},Ze.y.length?it.yAttr={buffer:o.buffer(Ze.y),offset:0,stride:4,count:Ze.y.length}:it.yAttr={buffer:Ze.y.buffer,offset:Ze.y.offset*4||0,stride:(Ze.y.stride||1)*4,count:Ze.y.count},it.count=Math.max(it.xAttr.count,it.yAttr.count),Ze;Ze=eU(Ze,"float64");var st=it.count=Math.floor(Ze.length/2),Ct=it.bounds=st?Xj(Ze,2):null;if(!Ut.range&&!it.range&&(delete it.range,Ut.range=Ct),!Ut.marker&&!it.marker&&(delete it.marker,Ut.marker=null),bt&&(bt===!0||st>bt)?it.tree=Zj(Ze,{bounds:Ct}):bt&&bt.length&&(it.tree=bt),it.tree){var Lt={primitive:"points",usage:"static",data:it.tree,type:"uint32"};it.elements?it.elements(Lt):it.elements=o.elements(Lt)}var hr=eg.float32(Ze);Le({data:hr,usage:"dynamic"});var mr=eg.fract32(Ze,hr);return ut({data:mr,usage:"dynamic"}),At({data:new Uint8Array(st),type:"uint8",usage:"stream"}),Ze}},{marker:function(Ze,it,Ut){var bt=it.activation;if(bt.forEach(function(mr){return mr&&mr.destroy&&mr.destroy()}),bt.length=0,!Ze||typeof Ze[0]=="number"){var Le=e.addMarker(Ze);bt[Le]=!0}else{for(var ut=[],At=0,st=Math.min(Ze.length,it.count);At<st;At++){var Ct=e.addMarker(Ze[At]);ut[Ct]||(ut[Ct]=new Uint8Array(it.count)),ut[Ct][At]=1}for(var Lt=0;Lt<ut.length;Lt++)if(!!ut[Lt]){var hr={data:ut[Lt],type:"uint8",usage:"static"};bt[Lt]?bt[Lt](hr):bt[Lt]=o.buffer(hr),bt[Lt].data=ut[Lt]}}return Ze},range:function(Ze,it,Ut){var bt=it.bounds;if(!!bt)return Ze||(Ze=bt),it.scale=[1/(Ze[2]-Ze[0]),1/(Ze[3]-Ze[1])],it.translate=[-Ze[0],-Ze[1]],it.scaleFract=eg.fract(it.scale),it.translateFract=eg.fract(it.translate),Ze},viewport:function(Ze){var it=tU(Ze||[a.drawingBufferWidth,a.drawingBufferHeight]);return it}}]),b){var R=x,E=R.count,S=R.size,T=R.borderSize,P=R.sizeBuffer,M=new Uint8Array(E*2);if(S.length||T.length)for(var L=0;L<E;L++)M[L*2]=Math.round((S[L]==null?S:S[L])*255/l),M[L*2+1]=Math.round((T[L]==null?T:T[L])*255/l);P({data:M,usage:"dynamic"})}if(C){var v=x,K=v.count,q=v.color,ue=v.borderColor,Ie=v.colorBuffer,Ce;if(e.tooManyColors){if(q.length||ue.length){Ce=new Uint8Array(K*8);for(var De=0;De<K;De++){var Ye=q[De];Ce[De*8]=c[Ye*4],Ce[De*8+1]=c[Ye*4+1],Ce[De*8+2]=c[Ye*4+2],Ce[De*8+3]=c[Ye*4+3];var Xe=ue[De];Ce[De*8+4]=c[Xe*4],Ce[De*8+5]=c[Xe*4+1],Ce[De*8+6]=c[Xe*4+2],Ce[De*8+7]=c[Xe*4+3]}}}else if(q.length||ue.length){Ce=new Uint8Array(K*4+2);for(var Et=0;Et<K;Et++)q[Et]!=null&&(Ce[Et*4]=q[Et]%f,Ce[Et*4+1]=Math.floor(q[Et]/f)),ue[Et]!=null&&(Ce[Et*4+2]=ue[Et]%f,Ce[Et*4+3]=Math.floor(ue[Et]/f))}Ie({data:Ce||new Uint8Array(0),type:"uint8",usage:"dynamic"})}return x})}};bi.prototype.addMarker=function(e){var t=this.markerTextures,r=this.regl,n=this.markerCache,i=e==null?0:n.indexOf(e);if(i>=0)return i;var a;if(e instanceof Uint8Array||e instanceof Uint8ClampedArray)a=e;else{a=new Uint8Array(e.length);for(var o=0,l=e.length;o<l;o++)a[o]=e[o]*255}var f=Math.floor(Math.sqrt(a.length));return i=t.length,n.push(e),t.push(r.texture({channels:1,data:a,radius:f,mag:"linear",min:"linear"})),i};bi.prototype.updateColor=function(e){var t=this.paletteIds,r=this.palette,n=this.maxColors;Array.isArray(e)||(e=[e]);var i=[];if(typeof e[0]=="number"){var a=[];if(Array.isArray(e))for(var o=0;o<e.length;o+=4)a.push(e.slice(o,o+4));else for(var l=0;l<e.length;l+=4)a.push(e.subarray(l,l+4));e=a}for(var f=0;f<e.length;f++){var c=e[f];c=Yj(c,"uint8");var p=Qj(c,!1);if(t[p]==null){var _=r.length;t[p]=Math.floor(_/4),r[_]=c[0],r[_+1]=c[1],r[_+2]=c[2],r[_+3]=c[3]}i[f]=t[p]}return!this.tooManyColors&&r.length>n*4&&(this.tooManyColors=!0),this.updatePalette(r),i.length===1?i[0]:i};bi.prototype.updatePalette=function(e){if(!this.tooManyColors){var t=this.maxColors,r=this.paletteTexture,n=Math.ceil(e.length*.25/t);if(n>1){e=e.slice();for(var i=e.length*.25%t;i<n*t;i++)e.push(0,0,0,0)}r.height<n&&r.resize(t,n),r.subimage({width:Math.min(e.length*.25,t),height:n,data:e},0,0)}};bi.prototype.destroy=function(){return this.groups.forEach(function(e){e.sizeBuffer.destroy(),e.positionBuffer.destroy(),e.positionFractBuffer.destroy(),e.colorBuffer.destroy(),e.activation.forEach(function(t){return t&&t.destroy&&t.destroy()}),e.selectionBuffer.destroy(),e.elements&&e.elements.destroy()}),this.groups.length=0,this.paletteTexture.destroy(),this.markerTextures.forEach(function(e){return e&&e.destroy&&e.destroy()}),this};var nU=mf,iU=function(t,r){var n=new rU(t,r),i=n.render.bind(n);return nU(i,{render:i,update:n.update.bind(n),draw:n.draw.bind(n),destroy:n.destroy.bind(n),regl:n.regl,gl:n.gl,canvas:n.gl.canvas,groups:n.groups,markers:n.markerCache,palette:n.palette}),i},pte=iU,k2={exports:{}};k2.exports=gm;k2.exports.default=gm;function gm(e,t,r){r=r||2;var n=t&&t.length,i=n?t[0]*r:e.length,a=gN(e,0,i,r,!0),o=[];if(!a||a.next===a.prev)return o;var l,f,c,p,_,x,b;if(n&&(a=sU(e,t,a,r)),e.length>80*r){l=c=e[0],f=p=e[1];for(var C=r;C<i;C+=r)_=e[C],x=e[C+1],_<l&&(l=_),x<f&&(f=x),_>c&&(c=_),x>p&&(p=x);b=Math.max(c-l,p-f),b=b!==0?1/b:0}return Op(a,o,r,l,f,b),o}function gN(e,t,r,n,i){var a,o;if(i===Ew(e,t,r,n)>0)for(a=t;a<r;a+=n)o=zT(a,e[a],e[a+1],o);else for(a=r-n;a>=t;a-=n)o=zT(a,e[a],e[a+1],o);return o&&mm(o,o.next)&&(Mp(o),o=o.next),o}function as(e,t){if(!e)return e;t||(t=e);var r=e,n;do if(n=!1,!r.steiner&&(mm(r,r.next)||kn(r.prev,r,r.next)===0)){if(Mp(r),r=t=r.prev,r===r.next)break;n=!0}else r=r.next;while(n||r!==t);return t}function Op(e,t,r,n,i,a,o){if(!!e){!o&&a&&pU(e,n,i,a);for(var l=e,f,c;e.prev!==e.next;){if(f=e.prev,c=e.next,a?oU(e,n,i,a):aU(e)){t.push(f.i/r),t.push(e.i/r),t.push(c.i/r),Mp(e),e=c.next,l=c.next;continue}if(e=c,e===l){o?o===1?(e=uU(as(e),t,r),Op(e,t,r,n,i,a,2)):o===2&&lU(e,t,r,n,i,a):Op(as(e),t,r,n,i,a,1);break}}}}function aU(e){var t=e.prev,r=e,n=e.next;if(kn(t,r,n)>=0)return!1;for(var i=e.next.next;i!==e.prev;){if(Mc(t.x,t.y,r.x,r.y,n.x,n.y,i.x,i.y)&&kn(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}function oU(e,t,r,n){var i=e.prev,a=e,o=e.next;if(kn(i,a,o)>=0)return!1;for(var l=i.x<a.x?i.x<o.x?i.x:o.x:a.x<o.x?a.x:o.x,f=i.y<a.y?i.y<o.y?i.y:o.y:a.y<o.y?a.y:o.y,c=i.x>a.x?i.x>o.x?i.x:o.x:a.x>o.x?a.x:o.x,p=i.y>a.y?i.y>o.y?i.y:o.y:a.y>o.y?a.y:o.y,_=_w(l,f,t,r,n),x=_w(c,p,t,r,n),b=e.prevZ,C=e.nextZ;b&&b.z>=_&&C&&C.z<=x;){if(b!==e.prev&&b!==e.next&&Mc(i.x,i.y,a.x,a.y,o.x,o.y,b.x,b.y)&&kn(b.prev,b,b.next)>=0||(b=b.prevZ,C!==e.prev&&C!==e.next&&Mc(i.x,i.y,a.x,a.y,o.x,o.y,C.x,C.y)&&kn(C.prev,C,C.next)>=0))return!1;C=C.nextZ}for(;b&&b.z>=_;){if(b!==e.prev&&b!==e.next&&Mc(i.x,i.y,a.x,a.y,o.x,o.y,b.x,b.y)&&kn(b.prev,b,b.next)>=0)return!1;b=b.prevZ}for(;C&&C.z<=x;){if(C!==e.prev&&C!==e.next&&Mc(i.x,i.y,a.x,a.y,o.x,o.y,C.x,C.y)&&kn(C.prev,C,C.next)>=0)return!1;C=C.nextZ}return!0}function uU(e,t,r){var n=e;do{var i=n.prev,a=n.next.next;!mm(i,a)&&mN(i,n,n.next,a)&&kp(i,a)&&kp(a,i)&&(t.push(i.i/r),t.push(n.i/r),t.push(a.i/r),Mp(n),Mp(n.next),n=e=a),n=n.next}while(n!==e);return as(n)}function lU(e,t,r,n,i,a){var o=e;do{for(var l=o.next.next;l!==o.prev;){if(o.i!==l.i&&mU(o,l)){var f=yN(o,l);o=as(o,o.next),f=as(f,f.next),Op(o,t,r,n,i,a),Op(f,t,r,n,i,a);return}l=l.next}o=o.next}while(o!==e)}function sU(e,t,r,n){var i=[],a,o,l,f,c;for(a=0,o=t.length;a<o;a++)l=t[a]*n,f=a<o-1?t[a+1]*n:e.length,c=gN(e,l,f,n,!1),c===c.next&&(c.steiner=!0),i.push(gU(c));for(i.sort(fU),a=0;a<i.length;a++)r=cU(i[a],r),r=as(r,r.next);return r}function fU(e,t){return e.x-t.x}function cU(e,t){var r=dU(e,t);if(!r)return t;var n=yN(r,e),i=as(r,r.next);return as(n,n.next),t===r?i:t}function dU(e,t){var r=t,n=e.x,i=e.y,a=-1/0,o;do{if(i<=r.y&&i>=r.next.y&&r.next.y!==r.y){var l=r.x+(i-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(l<=n&&l>a){if(a=l,l===n){if(i===r.y)return r;if(i===r.next.y)return r.next}o=r.x<r.next.x?r:r.next}}r=r.next}while(r!==t);if(!o)return null;if(n===a)return o;var f=o,c=o.x,p=o.y,_=1/0,x;r=o;do n>=r.x&&r.x>=c&&n!==r.x&&Mc(i<p?n:a,i,c,p,i<p?a:n,i,r.x,r.y)&&(x=Math.abs(i-r.y)/(n-r.x),kp(r,e)&&(x<_||x===_&&(r.x>o.x||r.x===o.x&&hU(o,r)))&&(o=r,_=x)),r=r.next;while(r!==f);return o}function hU(e,t){return kn(e.prev,e,t.prev)<0&&kn(t.next,e,e.next)<0}function pU(e,t,r,n){var i=e;do i.z===null&&(i.z=_w(i.x,i.y,t,r,n)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next;while(i!==e);i.prevZ.nextZ=null,i.prevZ=null,vU(i)}function vU(e){var t,r,n,i,a,o,l,f,c=1;do{for(r=e,e=null,a=null,o=0;r;){for(o++,n=r,l=0,t=0;t<c&&(l++,n=n.nextZ,!!n);t++);for(f=c;l>0||f>0&&n;)l!==0&&(f===0||!n||r.z<=n.z)?(i=r,r=r.nextZ,l--):(i=n,n=n.nextZ,f--),a?a.nextZ=i:e=i,i.prevZ=a,a=i;r=n}a.nextZ=null,c*=2}while(o>1);return e}function _w(e,t,r,n,i){return e=32767*(e-r)*i,t=32767*(t-n)*i,e=(e|e<<8)&16711935,e=(e|e<<4)&252645135,e=(e|e<<2)&858993459,e=(e|e<<1)&1431655765,t=(t|t<<8)&16711935,t=(t|t<<4)&252645135,t=(t|t<<2)&858993459,t=(t|t<<1)&1431655765,e|t<<1}function gU(e){var t=e,r=e;do(t.x<r.x||t.x===r.x&&t.y<r.y)&&(r=t),t=t.next;while(t!==e);return r}function Mc(e,t,r,n,i,a,o,l){return(i-o)*(t-l)-(e-o)*(a-l)>=0&&(e-o)*(n-l)-(r-o)*(t-l)>=0&&(r-o)*(a-l)-(i-o)*(n-l)>=0}function mU(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!yU(e,t)&&(kp(e,t)&&kp(t,e)&&bU(e,t)&&(kn(e.prev,e,t.prev)||kn(e,t.prev,t))||mm(e,t)&&kn(e.prev,e,e.next)>0&&kn(t.prev,t,t.next)>0)}function kn(e,t,r){return(t.y-e.y)*(r.x-t.x)-(t.x-e.x)*(r.y-t.y)}function mm(e,t){return e.x===t.x&&e.y===t.y}function mN(e,t,r,n){var i=rg(kn(e,t,r)),a=rg(kn(e,t,n)),o=rg(kn(r,n,e)),l=rg(kn(r,n,t));return!!(i!==a&&o!==l||i===0&&tg(e,r,t)||a===0&&tg(e,n,t)||o===0&&tg(r,e,n)||l===0&&tg(r,t,n))}function tg(e,t,r){return t.x<=Math.max(e.x,r.x)&&t.x>=Math.min(e.x,r.x)&&t.y<=Math.max(e.y,r.y)&&t.y>=Math.min(e.y,r.y)}function rg(e){return e>0?1:e<0?-1:0}function yU(e,t){var r=e;do{if(r.i!==e.i&&r.next.i!==e.i&&r.i!==t.i&&r.next.i!==t.i&&mN(r,r.next,e,t))return!0;r=r.next}while(r!==e);return!1}function kp(e,t){return kn(e.prev,e,e.next)<0?kn(e,t,e.next)>=0&&kn(e,e.prev,t)>=0:kn(e,t,e.prev)<0||kn(e,e.next,t)<0}function bU(e,t){var r=e,n=!1,i=(e.x+t.x)/2,a=(e.y+t.y)/2;do r.y>a!=r.next.y>a&&r.next.y!==r.y&&i<(r.next.x-r.x)*(a-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next;while(r!==e);return n}function yN(e,t){var r=new Sw(e.i,e.x,e.y),n=new Sw(t.i,t.x,t.y),i=e.next,a=t.prev;return e.next=t,t.prev=e,r.next=i,i.prev=r,n.next=r,r.prev=n,a.next=n,n.prev=a,n}function zT(e,t,r,n){var i=new Sw(e,t,r);return n?(i.next=n.next,i.prev=n,n.next.prev=i,n.next=i):(i.prev=i,i.next=i),i}function Mp(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function Sw(e,t,r){this.i=e,this.x=t,this.y=r,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}gm.deviation=function(e,t,r,n){var i=t&&t.length,a=i?t[0]*r:e.length,o=Math.abs(Ew(e,0,a,r));if(i)for(var l=0,f=t.length;l<f;l++){var c=t[l]*r,p=l<f-1?t[l+1]*r:e.length;o-=Math.abs(Ew(e,c,p,r))}var _=0;for(l=0;l<n.length;l+=3){var x=n[l]*r,b=n[l+1]*r,C=n[l+2]*r;_+=Math.abs((e[x]-e[C])*(e[b+1]-e[x+1])-(e[x]-e[b])*(e[C+1]-e[x+1]))}return o===0&&_===0?0:Math.abs((_-o)/o)};function Ew(e,t,r,n){for(var i=0,a=t,o=r-n;a<r;a+=n)i+=(e[o]-e[a])*(e[a+1]+e[o+1]),o=a;return i}gm.flatten=function(e){for(var t=e[0][0].length,r={vertices:[],holes:[],dimensions:t},n=0,i=0;i<e.length;i++){for(var a=0;a<e[i].length;a++)for(var o=0;o<t;o++)r.vertices.push(e[i][a][o]);i>0&&(n+=e[i-1].length,r.holes.push(n))}return r};var xU=Gp,wU=_U;function _U(e,t,r){if(!e||e.length==null)throw Error("Argument should be an array");t==null&&(t=1),r==null&&(r=xU(e,t));for(var n=0;n<t;n++){var i=r[t+n],a=r[n],o=n,l=e.length;if(i===1/0&&a===-1/0)for(o=n;o<l;o+=t)e[o]=e[o]===i?1:e[o]===a?0:.5;else if(i===1/0)for(o=n;o<l;o+=t)e[o]=e[o]===i?1:0;else if(a===-1/0)for(o=n;o<l;o+=t)e[o]=e[o]===a?0:1;else{var f=i-a;for(o=n;o<l;o+=t)isNaN(e[o])||(e[o]=f===0?.5:(e[o]-a)/f)}}return e}var SU=function(){var e,t;if(typeof WeakMap!="function")return!1;try{e=new WeakMap([[t={},"one"],[{},"two"],[{},"three"]])}catch{return!1}return!(String(e)!=="[object WeakMap]"||typeof e.set!="function"||e.set({},1)!==e||typeof e.delete!="function"||typeof e.has!="function"||e.get(t)!=="one")},EU=function(){},AU=EU(),tl=function(e){return e!==AU&&e!==null},m1,BT;function bN(){if(BT)return m1;BT=1;var e=Object.create,t=Object.getPrototypeOf,r={};return m1=function(){var n=Object.setPrototypeOf,i=arguments[0]||e;return typeof n!="function"?!1:t(n(i(null),r))===r},m1}var TU=tl,CU={function:!0,object:!0},M2=function(e){return TU(e)&&CU[typeof e]||!1},OU=tl,ko=function(e){if(!OU(e))throw new TypeError("Cannot use null or undefined");return e},y1,jT;function kU(){if(jT)return y1;jT=1;var e=Object.create,t;return bN()()||(t=xN()),y1=function(){var r,n,i;return!t||t.level!==1?e:(r={},n={},i={configurable:!1,enumerable:!1,writable:!0,value:void 0},Object.getOwnPropertyNames(Object.prototype).forEach(function(a){if(a==="__proto__"){n[a]={configurable:!0,enumerable:!1,writable:!0,value:void 0};return}n[a]=i}),Object.defineProperties(r,n),Object.defineProperty(t,"nullPolyfill",{configurable:!1,enumerable:!1,writable:!1,value:r}),function(a,o){return e(a===null?r:a,o)})}(),y1}var b1,UT;function xN(){if(UT)return b1;UT=1;var e=M2,t=ko,r=Object.prototype.isPrototypeOf,n=Object.defineProperty,i={configurable:!0,enumerable:!1,writable:!0,value:void 0},a;return a=function(o,l){if(t(o),l===null||e(l))return o;throw new TypeError("Prototype must be null or an object")},b1=function(o){var l,f;return o?(o.level===2?o.set?(f=o.set,l=function(c,p){return f.call(a(c,p),p),c}):l=function(c,p){return a(c,p).__proto__=p,c}:l=function c(p,_){var x;return a(p,_),x=r.call(c.nullPolyfill,p),x&&delete c.nullPolyfill.__proto__,_===null&&(_=c.nullPolyfill),p.__proto__=_,x&&n(c.nullPolyfill,"__proto__",i),p},Object.defineProperty(l,"level",{configurable:!1,enumerable:!1,writable:!1,value:o.level})):null}(function(){var o=Object.create(null),l={},f,c=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__");if(c){try{f=c.set,f.call(o,l)}catch{}if(Object.getPrototypeOf(o)===l)return{set:f,level:2}}return o.__proto__=l,Object.getPrototypeOf(o)===l?{level:2}:(o={},o.__proto__=l,Object.getPrototypeOf(o)===l?{level:1}:!1)}()),kU(),b1}var x1,HT;function P2(){return HT||(HT=1,x1=bN()()?Object.setPrototypeOf:xN()),x1}var w1,WT;function MU(){if(WT)return w1;WT=1;var e=M2;return w1=function(t){if(!e(t))throw new TypeError(t+" is not an Object");return t},w1}var _1,GT;function PU(){if(GT)return _1;GT=1;var e=Object.create(null),t=Math.random;return _1=function(){var r;do r=t().toString(36).slice(2);while(e[r]);return r},_1}var lo={exports:{}},NU=void 0,xd=function(e){return e!==NU&&e!==null},RU=xd,IU={object:!0,function:!0,undefined:!0},N2=function(e){return RU(e)?hasOwnProperty.call(IU,typeof e):!1},FU=N2,LU=function(e){if(!FU(e))return!1;try{return e.constructor?e.constructor.prototype===e:!1}catch{return!1}},DU=LU,$U=function(e){if(typeof e!="function"||!hasOwnProperty.call(e,"length"))return!1;try{if(typeof e.length!="number"||typeof e.call!="function"||typeof e.apply!="function")return!1}catch{return!1}return!DU(e)},zU=$U,BU=/^\s*class[\s{/}]/,jU=Function.prototype.toString,wN=function(e){return!(!zU(e)||BU.test(jU.call(e)))},UU=function(){var e=Object.assign,t;return typeof e!="function"?!1:(t={foo:"raz"},e(t,{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")},S1,qT;function HU(){return qT||(qT=1,S1=function(){try{return Object.keys("primitive"),!0}catch{return!1}}),S1}var E1,VT;function WU(){if(VT)return E1;VT=1;var e=tl,t=Object.keys;return E1=function(r){return t(e(r)?Object(r):r)},E1}var A1,YT;function GU(){return YT||(YT=1,A1=HU()()?Object.keys:WU()),A1}var T1,XT;function qU(){if(XT)return T1;XT=1;var e=GU(),t=ko,r=Math.max;return T1=function(n,i){var a,o,l=r(arguments.length,2),f;for(n=Object(t(n)),f=function(c){try{n[c]=i[c]}catch(p){a||(a=p)}},o=1;o<l;++o)i=arguments[o],e(i).forEach(f);if(a!==void 0)throw a;return n},T1}var ym=UU()?Object.assign:qU(),VU=tl,YU=Array.prototype.forEach,XU=Object.create,QU=function(e,t){var r;for(r in e)t[r]=e[r]},R2=function(e){var t=XU(null);return YU.call(arguments,function(r){!VU(r)||QU(Object(r),t)}),t},C1="razdwatrzy",ZU=function(){return typeof C1.contains!="function"?!1:C1.contains("dwa")===!0&&C1.contains("foo")===!1},O1,QT;function KU(){if(QT)return O1;QT=1;var e=String.prototype.indexOf;return O1=function(t){return e.call(this,t,arguments[1])>-1},O1}var _N=ZU()?String.prototype.contains:KU(),Ig=xd,ZT=wN,SN=ym,EN=R2,up=_N,JU=lo.exports=function(e,t){var r,n,i,a,o;return arguments.length<2||typeof e!="string"?(a=t,t=e,e=null):a=arguments[2],Ig(e)?(r=up.call(e,"c"),n=up.call(e,"e"),i=up.call(e,"w")):(r=i=!0,n=!1),o={value:t,configurable:r,enumerable:n,writable:i},a?SN(EN(a),o):o};JU.gs=function(e,t,r){var n,i,a,o;return typeof e!="string"?(a=r,r=t,t=e,e=null):a=arguments[3],Ig(t)?ZT(t)?Ig(r)?ZT(r)||(a=r,r=void 0):r=void 0:(a=t,t=r=void 0):t=void 0,Ig(e)?(n=up.call(e,"c"),i=up.call(e,"e")):(n=!0,i=!1),o={get:t,set:r,configurable:n,enumerable:i},a?SN(EN(a),o):o};var k1,KT;function bm(){if(KT)return k1;KT=1;var e=Object.prototype.toString,t=e.call(function(){return arguments}());return k1=function(r){return e.call(r)===t},k1}var M1,JT;function xm(){if(JT)return M1;JT=1;var e=Object.prototype.toString,t=e.call("");return M1=function(r){return typeof r=="string"||r&&typeof r=="object"&&(r instanceof String||e.call(r)===t)||!1},M1}var P1={exports:{}},N1,eC;function eH(){return eC||(eC=1,N1=function(){return typeof globalThis!="object"||!globalThis?!1:globalThis.Array===Array}),N1}var R1,tC;function tH(){if(tC)return R1;tC=1;var e=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};return R1=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return e()}try{return __global__||e()}finally{delete Object.prototype.__global__}}(),R1}var I1,rC;function wm(){return rC||(rC=1,I1=eH()()?globalThis:tH()),I1}var F1,nC;function rH(){if(nC)return F1;nC=1;var e=wm(),t={object:!0,symbol:!0};return F1=function(){var r=e.Symbol,n;if(typeof r!="function")return!1;n=r("test symbol");try{String(n)}catch{return!1}return!(!t[typeof r.iterator]||!t[typeof r.toPrimitive]||!t[typeof r.toStringTag])},F1}var L1,iC;function nH(){return iC||(iC=1,L1=function(e){return e?typeof e=="symbol"?!0:!e.constructor||e.constructor.name!=="Symbol"?!1:e[e.constructor.toStringTag]==="Symbol":!1}),L1}var D1,aC;function AN(){if(aC)return D1;aC=1;var e=nH();return D1=function(t){if(!e(t))throw new TypeError(t+" is not a symbol");return t},D1}var $1,oC;function iH(){if(oC)return $1;oC=1;var e=lo.exports,t=Object.create,r=Object.defineProperty,n=Object.prototype,i=t(null);return $1=function(a){for(var o=0,l,f;i[a+(o||"")];)++o;return a+=o||"",i[a]=!0,l="@@"+a,r(n,l,e.gs(null,function(c){f||(f=!0,r(this,l,e(c)),f=!1)})),l},$1}var z1,uC;function aH(){if(uC)return z1;uC=1;var e=lo.exports,t=wm().Symbol;return z1=function(r){return Object.defineProperties(r,{hasInstance:e("",t&&t.hasInstance||r("hasInstance")),isConcatSpreadable:e("",t&&t.isConcatSpreadable||r("isConcatSpreadable")),iterator:e("",t&&t.iterator||r("iterator")),match:e("",t&&t.match||r("match")),replace:e("",t&&t.replace||r("replace")),search:e("",t&&t.search||r("search")),species:e("",t&&t.species||r("species")),split:e("",t&&t.split||r("split")),toPrimitive:e("",t&&t.toPrimitive||r("toPrimitive")),toStringTag:e("",t&&t.toStringTag||r("toStringTag")),unscopables:e("",t&&t.unscopables||r("unscopables"))})},z1}var B1,lC;function oH(){if(lC)return B1;lC=1;var e=lo.exports,t=AN(),r=Object.create(null);return B1=function(n){return Object.defineProperties(n,{for:e(function(i){return r[i]?r[i]:r[i]=n(String(i))}),keyFor:e(function(i){var a;t(i);for(a in r)if(r[a]===i)return a})})},B1}var j1,sC;function uH(){if(sC)return j1;sC=1;var e=lo.exports,t=AN(),r=wm().Symbol,n=iH(),i=aH(),a=oH(),o=Object.create,l=Object.defineProperties,f=Object.defineProperty,c,p,_;if(typeof r=="function")try{String(r()),_=!0}catch{}else r=null;return p=function(b){if(this instanceof p)throw new TypeError("Symbol is not a constructor");return c(b)},j1=c=function x(b){var C;if(this instanceof x)throw new TypeError("Symbol is not a constructor");return _?r(b):(C=o(p.prototype),b=b===void 0?"":String(b),l(C,{__description__:e("",b),__name__:e("",n(b))}))},i(c),a(c),l(p.prototype,{constructor:e(c),toString:e("",function(){return this.__name__})}),l(c.prototype,{toString:e(function(){return"Symbol ("+t(this).__description__+")"}),valueOf:e(function(){return t(this)})}),f(c.prototype,c.toPrimitive,e("",function(){var x=t(this);return typeof x=="symbol"?x:x.toString()})),f(c.prototype,c.toStringTag,e("c","Symbol")),f(p.prototype,c.toStringTag,e("c",c.prototype[c.toStringTag])),f(p.prototype,c.toPrimitive,e("c",c.prototype[c.toPrimitive])),j1}var U1,fC;function Tf(){return fC||(fC=1,U1=rH()()?wm().Symbol:uH()),U1}var H1,cC;function lH(){if(cC)return H1;cC=1;var e=ko;return H1=function(){return e(this).length=0,this},H1}var hu=function(e){if(typeof e!="function")throw new TypeError(e+" is not a function");return e},W1,dC;function sH(){if(dC)return W1;dC=1;var e=xd,t=N2,r=Object.prototype.toString;return W1=function(n){if(!e(n))return null;if(t(n)){var i=n.toString;if(typeof i!="function"||i===r)return null}try{return""+n}catch{return null}},W1}var G1,hC;function fH(){return hC||(hC=1,G1=function(e){try{return e.toString()}catch{try{return String(e)}catch{return null}}}),G1}var q1,pC;function cH(){if(pC)return q1;pC=1;var e=fH(),t=/[\n\r\u2028\u2029]/g;return q1=function(r){var n=e(r);return n===null?"<Non-coercible to string value>":(n.length>100&&(n=n.slice(0,99)+"\u2026"),n=n.replace(t,function(i){switch(i){case`
|
|
238
|
-
`:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}}),n)},q1}var V1,vC;function TN(){if(vC)return V1;vC=1;var e=xd,t=N2,r=sH(),n=cH(),i=function(a,o){return a.replace("%v",n(o))};return V1=function(a,o,l){if(!t(l))throw new TypeError(i(o,a));if(!e(a)){if("default"in l)return l.default;if(l.isOptional)return null}var f=r(l.errorMessage);throw e(f)||(f=o),new TypeError(i(f,a))},V1}var Y1,gC;function dH(){if(gC)return Y1;gC=1;var e=TN(),t=xd;return Y1=function(r){return t(r)?r:e(r,"Cannot use %v",arguments[1])},Y1}var X1,mC;function hH(){if(mC)return X1;mC=1;var e=TN(),t=wN;return X1=function(r){return t(r)?r:e(r,"%v is not a plain function",arguments[1])},X1}var Q1,yC;function pH(){return yC||(yC=1,Q1=function(){var e=Array.from,t,r;return typeof e!="function"?!1:(t=["raz","dwa"],r=e(t),Boolean(r&&r!==t&&r[1]==="dwa"))}),Q1}var Z1,bC;function vH(){if(bC)return Z1;bC=1;var e=Object.prototype.toString,t=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);return Z1=function(r){return typeof r=="function"&&t(e.call(r))},Z1}var gH=function(){var e=Math.sign;return typeof e!="function"?!1:e(10)===1&&e(-20)===-1},K1,xC;function mH(){return xC||(xC=1,K1=function(e){return e=Number(e),isNaN(e)||e===0?e:e>0?1:-1}),K1}var yH=gH()?Math.sign:mH(),bH=yH,xH=Math.abs,wH=Math.floor,_H=function(e){return isNaN(e)?0:(e=Number(e),e===0||!isFinite(e)?e:bH(e)*wH(xH(e)))},SH=_H,EH=Math.max,Cf=function(e){return EH(0,SH(e))},J1,wC;function AH(){if(wC)return J1;wC=1;var e=Tf().iterator,t=bm(),r=vH(),n=Cf,i=hu,a=ko,o=tl,l=xm(),f=Array.isArray,c=Function.prototype.call,p={configurable:!0,enumerable:!0,writable:!0,value:null},_=Object.defineProperty;return J1=function(x){var b=arguments[1],C=arguments[2],R,E,S,T,P,M,L,v,K,q;if(x=Object(a(x)),o(b)&&i(b),!this||this===Array||!r(this)){if(!b){if(t(x))return P=x.length,P!==1?Array.apply(null,x):(T=new Array(1),T[0]=x[0],T);if(f(x)){for(T=new Array(P=x.length),E=0;E<P;++E)T[E]=x[E];return T}}T=[]}else R=this;if(!f(x)){if((K=x[e])!==void 0){for(L=i(K).call(x),R&&(T=new R),v=L.next(),E=0;!v.done;)q=b?c.call(b,C,v.value,E):v.value,R?(p.value=q,_(T,E,p)):T[E]=q,v=L.next(),++E;P=E}else if(l(x)){for(P=x.length,R&&(T=new R),E=0,S=0;E<P;++E)q=x[E],E+1<P&&(M=q.charCodeAt(0),M>=55296&&M<=56319&&(q+=x[++E])),q=b?c.call(b,C,q,S):q,R?(p.value=q,_(T,S,p)):T[S]=q,++S;P=S}}if(P===void 0)for(P=n(x.length),R&&(T=new R(P)),E=0;E<P;++E)q=b?c.call(b,C,x[E],E):x[E],R?(p.value=q,_(T,E,p)):T[E]=q;return R&&(p.value=null,T.length=P),T},J1}var eb,_C;function _m(){return _C||(_C=1,eb=pH()()?Array.from:AH()),eb}var tb,SC;function TH(){if(SC)return tb;SC=1;var e=_m(),t=ym,r=ko;return tb=function(n){var i=Object(r(n)),a=arguments[1],o=Object(arguments[2]);if(i!==n&&!a)return i;var l={};return a?e(a,function(f){(o.ensure||f in n)&&(l[f]=n[f])}):t(l,n),l},tb}var CH=hu,OH=ko,kH=Function.prototype.bind,EC=Function.prototype.call,MH=Object.keys,PH=Object.prototype.propertyIsEnumerable,NH=function(e,t){return function(r,n){var i,a=arguments[2],o=arguments[3];return r=Object(OH(r)),CH(n),i=MH(r),o&&i.sort(typeof o=="function"?kH.call(o,r):void 0),typeof e!="function"&&(e=i[e]),EC.call(e,i,function(l,f){return PH.call(r,l)?EC.call(n,a,r[l],l,r,f):t})}},Sm=NH("forEach"),rb,AC;function I2(){if(AC)return rb;AC=1;var e=hu,t=Sm,r=Function.prototype.call;return rb=function(n,i){var a={},o=arguments[2];return e(i),t(n,function(l,f,c,p){a[f]=r.call(i,o,l,f,c,p)}),a},rb}var nb,TC;function RH(){if(TC)return nb;TC=1;var e=xd,t=dH(),r=hH(),n=TH(),i=R2,a=I2(),o=Function.prototype.bind,l=Object.defineProperty,f=Object.prototype.hasOwnProperty,c;return c=function(p,_,x){var b=t(_)&&r(_.value),C;return C=n(_),delete C.writable,delete C.value,C.get=function(){return!x.overwriteDefinition&&f.call(this,p)?b:(_.value=o.call(b,x.resolveContext?x.resolveContext(this):this),l(this,p,_),this[p])},C},nb=function(p){var _=i(arguments[1]);return e(_.resolveContext)&&r(_.resolveContext),a(p,function(x,b){return c(b,x,_)})},nb}var ib,CC;function CN(){if(CC)return ib;CC=1;var e=lH(),t=ym,r=hu,n=ko,i=lo.exports,a=RH(),o=Tf(),l=Object.defineProperty,f=Object.defineProperties,c;return ib=c=function(p,_){if(!(this instanceof c))throw new TypeError("Constructor requires 'new'");f(this,{__list__:i("w",n(p)),__context__:i("w",_),__nextIndex__:i("w",0)}),_&&(r(_.on),_.on("_add",this._onAdd),_.on("_delete",this._onDelete),_.on("_clear",this._onClear))},delete c.prototype.constructor,f(c.prototype,t({_next:i(function(){var p;if(!!this.__list__){if(this.__redo__&&(p=this.__redo__.shift(),p!==void 0))return p;if(this.__nextIndex__<this.__list__.length)return this.__nextIndex__++;this._unBind()}}),next:i(function(){return this._createResult(this._next())}),_createResult:i(function(p){return p===void 0?{done:!0,value:void 0}:{done:!1,value:this._resolve(p)}}),_resolve:i(function(p){return this.__list__[p]}),_unBind:i(function(){this.__list__=null,delete this.__redo__,this.__context__&&(this.__context__.off("_add",this._onAdd),this.__context__.off("_delete",this._onDelete),this.__context__.off("_clear",this._onClear),this.__context__=null)}),toString:i(function(){return"[object "+(this[o.toStringTag]||"Object")+"]"})},a({_onAdd:i(function(p){if(!(p>=this.__nextIndex__)){if(++this.__nextIndex__,!this.__redo__){l(this,"__redo__",i("c",[p]));return}this.__redo__.forEach(function(_,x){_>=p&&(this.__redo__[x]=++_)},this),this.__redo__.push(p)}}),_onDelete:i(function(p){var _;p>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(_=this.__redo__.indexOf(p),_!==-1&&this.__redo__.splice(_,1),this.__redo__.forEach(function(x,b){x>p&&(this.__redo__[b]=--x)},this)))}),_onClear:i(function(){this.__redo__&&e.call(this.__redo__),this.__nextIndex__=0})}))),l(c.prototype,o.iterator,i(function(){return this})),ib}var OC;function IH(){if(OC)return P1.exports;OC=1;var e=P2(),t=_N,r=lo.exports,n=Tf(),i=CN(),a=Object.defineProperty,o;return o=P1.exports=function(l,f){if(!(this instanceof o))throw new TypeError("Constructor requires 'new'");i.call(this,l),f?t.call(f,"key+value")?f="key+value":t.call(f,"key")?f="key":f="value":f="value",a(this,"__kind__",r("",f))},e&&e(o,i),delete o.prototype.constructor,o.prototype=Object.create(i.prototype,{_resolve:r(function(l){return this.__kind__==="value"?this.__list__[l]:this.__kind__==="key+value"?[l,this.__list__[l]]:l})}),a(o.prototype,n.toStringTag,r("c","Array Iterator")),P1.exports}var ab={exports:{}},kC;function FH(){if(kC)return ab.exports;kC=1;var e=P2(),t=lo.exports,r=Tf(),n=CN(),i=Object.defineProperty,a;return a=ab.exports=function(o){if(!(this instanceof a))throw new TypeError("Constructor requires 'new'");o=String(o),n.call(this,o),i(this,"__length__",t("",o.length))},e&&e(a,n),delete a.prototype.constructor,a.prototype=Object.create(n.prototype,{_next:t(function(){if(!!this.__list__){if(this.__nextIndex__<this.__length__)return this.__nextIndex__++;this._unBind()}}),_resolve:t(function(o){var l=this.__list__[o],f;return this.__nextIndex__===this.__length__?l:(f=l.charCodeAt(0),f>=55296&&f<=56319?l+this.__list__[this.__nextIndex__++]:l)})}),i(a.prototype,r.toStringTag,t("c","String Iterator")),ab.exports}var ob,MC;function LH(){if(MC)return ob;MC=1;var e=bm(),t=tl,r=xm(),n=Tf().iterator,i=Array.isArray;return ob=function(a){return t(a)?i(a)||r(a)||e(a)?!0:typeof a[n]=="function":!1},ob}var ub,PC;function DH(){if(PC)return ub;PC=1;var e=LH();return ub=function(t){if(!e(t))throw new TypeError(t+" is not iterable");return t},ub}var lb,NC;function ON(){if(NC)return lb;NC=1;var e=bm(),t=xm(),r=IH(),n=FH(),i=DH(),a=Tf().iterator;return lb=function(o){return typeof i(o)[a]=="function"?o[a]():e(o)?new r(o):t(o)?new n(o):new r(o)},lb}var sb,RC;function $H(){if(RC)return sb;RC=1;var e=bm(),t=hu,r=xm(),n=ON(),i=Array.isArray,a=Function.prototype.call,o=Array.prototype.some;return sb=function(l,f){var c,p=arguments[2],_,x,b,C,R,E,S;if(i(l)||e(l)?c="array":r(l)?c="string":l=n(l),t(f),x=function(){b=!0},c==="array"){o.call(l,function(T){return a.call(f,p,T,x),b});return}if(c==="string"){for(R=l.length,C=0;C<R&&(E=l[C],C+1<R&&(S=E.charCodeAt(0),S>=55296&&S<=56319&&(E+=l[++C])),a.call(f,p,E,x),!b);++C);return}for(_=l.next();!_.done;){if(a.call(f,p,_.value,x),b)return;_=l.next()}},sb}var fb,IC;function zH(){return IC||(IC=1,fb=function(){return typeof WeakMap!="function"?!1:Object.prototype.toString.call(new WeakMap)==="[object WeakMap]"}()),fb}var cb,FC;function BH(){if(FC)return cb;FC=1;var e=tl,t=P2(),r=MU(),n=ko,i=PU(),a=lo.exports,o=ON(),l=$H(),f=Tf().toStringTag,c=zH(),p=Array.isArray,_=Object.defineProperty,x=Object.prototype.hasOwnProperty,b=Object.getPrototypeOf,C;return cb=C=function(){var R=arguments[0],E;if(!(this instanceof C))throw new TypeError("Constructor requires 'new'");return E=c&&t&&WeakMap!==C?t(new WeakMap,b(this)):this,e(R)&&(p(R)||(R=o(R))),_(E,"__weakMapData__",a("c","$weakMap$"+i())),R&&l(R,function(S){n(S),E.set(S[0],S[1])}),E},c&&(t&&t(C,WeakMap),C.prototype=Object.create(WeakMap.prototype,{constructor:a(C)})),Object.defineProperties(C.prototype,{delete:a(function(R){return x.call(r(R),this.__weakMapData__)?(delete R[this.__weakMapData__],!0):!1}),get:a(function(R){if(!!x.call(r(R),this.__weakMapData__))return R[this.__weakMapData__]}),has:a(function(R){return x.call(r(R),this.__weakMapData__)}),set:a(function(R,E){return _(r(R),this.__weakMapData__,a("c",E)),this}),toString:a(function(){return"[object WeakMap]"})}),_(C.prototype,f,a("c","WeakMap")),cb}var kN=SU()?WeakMap:BH(),jH=function(e,t,r){if(typeof Array.prototype.findIndex=="function")return e.findIndex(t,r);if(typeof t!="function")throw new TypeError("predicate must be a function");var n=Object(e),i=n.length;if(i===0)return-1;for(var a=0;a<i;a++)if(t.call(r,n[a],a,n))return a;return-1};const ng=pm,UH=Gp,Aw=mf,pc=hN,HH=ps,WH=qp,LC=k2.exports,GH=wU,{float32:qH,fract32:db}=is.exports,VH=kN,DC=hm,YH=jH;var vte=rn;function rn(e,t){if(!(this instanceof rn))return new rn(e,t);if(typeof e=="function"?(t||(t={}),t.regl=e):t=e,t.length&&(t.positions=t),e=t.regl,!e.hasExtension("ANGLE_instanced_arrays"))throw Error("regl-error2d: `ANGLE_instanced_arrays` extension should be enabled");this.gl=e._gl,this.regl=e,this.passes=[],this.shaders=rn.shaders.has(e)?rn.shaders.get(e):rn.shaders.set(e,rn.createShaders(e)).get(e),this.update(t)}rn.dashMult=2;rn.maxPatternLength=256;rn.precisionThreshold=3e6;rn.maxPoints=1e4;rn.maxLines=2048;rn.shaders=new VH;rn.createShaders=function(e){let t=e.buffer({usage:"static",type:"float",data:[0,1,0,0,1,1,1,0]}),r={primitive:"triangle strip",instances:e.prop("count"),count:4,offset:0,uniforms:{miterMode:(o,l)=>l.join==="round"?2:1,miterLimit:e.prop("miterLimit"),scale:e.prop("scale"),scaleFract:e.prop("scaleFract"),translateFract:e.prop("translateFract"),translate:e.prop("translate"),thickness:e.prop("thickness"),dashTexture:e.prop("dashTexture"),opacity:e.prop("opacity"),pixelRatio:e.context("pixelRatio"),id:e.prop("id"),dashLength:e.prop("dashLength"),viewport:(o,l)=>[l.viewport.x,l.viewport.y,o.viewportWidth,o.viewportHeight],depth:e.prop("depth")},blend:{enable:!0,color:[0,0,0,0],equation:{rgb:"add",alpha:"add"},func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},depth:{enable:(o,l)=>!l.overlay},stencil:{enable:!1},scissor:{enable:!0,box:e.prop("viewport")},viewport:e.prop("viewport")},n=e(Aw({vert:pc("./rect-vert.glsl"),frag:pc("./rect-frag.glsl"),attributes:{lineEnd:{buffer:t,divisor:0,stride:8,offset:0},lineTop:{buffer:t,divisor:0,stride:8,offset:4},aCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:16,divisor:1},aCoordFract:{buffer:e.prop("positionFractBuffer"),stride:8,offset:8,divisor:1},bCoordFract:{buffer:e.prop("positionFractBuffer"),stride:8,offset:16,divisor:1},color:{buffer:e.prop("colorBuffer"),stride:4,offset:0,divisor:1}}},r)),i;try{i=e(Aw({cull:{enable:!0,face:"back"},vert:pc("./miter-vert.glsl"),frag:pc("./miter-frag.glsl"),attributes:{lineEnd:{buffer:t,divisor:0,stride:8,offset:0},lineTop:{buffer:t,divisor:0,stride:8,offset:4},aColor:{buffer:e.prop("colorBuffer"),stride:4,offset:0,divisor:1},bColor:{buffer:e.prop("colorBuffer"),stride:4,offset:4,divisor:1},prevCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:0,divisor:1},aCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:16,divisor:1},nextCoord:{buffer:e.prop("positionBuffer"),stride:8,offset:24,divisor:1}}},r))}catch{i=n}return{fill:e({primitive:"triangle",elements:(o,l)=>l.triangles,offset:0,vert:pc("./fill-vert.glsl"),frag:pc("./fill-frag.glsl"),uniforms:{scale:e.prop("scale"),color:e.prop("fill"),scaleFract:e.prop("scaleFract"),translateFract:e.prop("translateFract"),translate:e.prop("translate"),opacity:e.prop("opacity"),pixelRatio:e.context("pixelRatio"),id:e.prop("id"),viewport:(o,l)=>[l.viewport.x,l.viewport.y,o.viewportWidth,o.viewportHeight]},attributes:{position:{buffer:e.prop("positionBuffer"),stride:8,offset:8},positionFract:{buffer:e.prop("positionFractBuffer"),stride:8,offset:8}},blend:r.blend,depth:{enable:!1},scissor:r.scissor,stencil:r.stencil,viewport:r.viewport}),rect:n,miter:i}};rn.defaults={dashes:null,join:"miter",miterLimit:1,thickness:10,cap:"square",color:"black",opacity:1,overlay:!1,viewport:null,range:null,close:!1,fill:null};rn.prototype.render=function(...e){e.length&&this.update(...e),this.draw()};rn.prototype.draw=function(...e){return(e.length?e:this.passes).forEach((t,r)=>{if(t&&Array.isArray(t))return this.draw(...t);typeof t=="number"&&(t=this.passes[t]),t&&t.count>1&&t.opacity&&(this.regl._refresh(),t.fill&&t.triangles&&t.triangles.length>2&&this.shaders.fill(t),t.thickness&&(t.scale[0]*t.viewport.width>rn.precisionThreshold||t.scale[1]*t.viewport.height>rn.precisionThreshold?this.shaders.rect(t):t.join==="rect"||!t.join&&(t.thickness<=2||t.count>=rn.maxPoints)?this.shaders.rect(t):this.shaders.miter(t)))}),this};rn.prototype.update=function(e){if(!e)return;e.length!=null?typeof e[0]=="number"&&(e=[{positions:e}]):Array.isArray(e)||(e=[e]);let{regl:t,gl:r}=this;if(e.forEach((i,a)=>{let o=this.passes[a];if(i!==void 0){if(i===null){this.passes[a]=null;return}if(typeof i[0]=="number"&&(i={positions:i}),i=HH(i,{positions:"positions points data coords",thickness:"thickness lineWidth lineWidths line-width linewidth width stroke-width strokewidth strokeWidth",join:"lineJoin linejoin join type mode",miterLimit:"miterlimit miterLimit",dashes:"dash dashes dasharray dash-array dashArray",color:"color colour stroke colors colours stroke-color strokeColor",fill:"fill fill-color fillColor",opacity:"alpha opacity",overlay:"overlay crease overlap intersect",close:"closed close closed-path closePath",range:"range dataBox",viewport:"viewport viewBox",hole:"holes hole hollow",splitNull:"splitNull"}),o||(this.passes[a]=o={id:a,scale:null,scaleFract:null,translate:null,translateFract:null,count:0,hole:[],depth:0,dashLength:1,dashTexture:t.texture({channels:1,data:new Uint8Array([255]),width:1,height:1,mag:"linear",min:"linear"}),colorBuffer:t.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array}),positionBuffer:t.buffer({usage:"dynamic",type:"float",data:new Uint8Array}),positionFractBuffer:t.buffer({usage:"dynamic",type:"float",data:new Uint8Array})},i=Aw({},rn.defaults,i)),i.thickness!=null&&(o.thickness=parseFloat(i.thickness)),i.opacity!=null&&(o.opacity=parseFloat(i.opacity)),i.miterLimit!=null&&(o.miterLimit=parseFloat(i.miterLimit)),i.overlay!=null&&(o.overlay=!!i.overlay,a<rn.maxLines&&(o.depth=2*(rn.maxLines-1-a%rn.maxLines)/rn.maxLines-1)),i.join!=null&&(o.join=i.join),i.hole!=null&&(o.hole=i.hole),i.fill!=null&&(o.fill=i.fill?ng(i.fill,"uint8"):null),i.viewport!=null&&(o.viewport=DC(i.viewport)),o.viewport||(o.viewport=DC([r.drawingBufferWidth,r.drawingBufferHeight])),i.close!=null&&(o.close=i.close),i.positions===null&&(i.positions=[]),i.positions){let c,p;if(i.positions.x&&i.positions.y){let C=i.positions.x,R=i.positions.y;p=o.count=Math.max(C.length,R.length),c=new Float64Array(p*2);for(let E=0;E<p;E++)c[E*2]=C[E],c[E*2+1]=R[E]}else c=WH(i.positions,"float64"),p=o.count=Math.floor(c.length/2);let _=o.bounds=UH(c,2);if(o.fill){let C=[],R={},E=0;for(let S=0,T=0,P=o.count;S<P;S++){let M=c[S*2],L=c[S*2+1];isNaN(M)||isNaN(L)||M==null||L==null?(M=c[E*2],L=c[E*2+1],R[S]=E):E=S,C[T++]=M,C[T++]=L}if(i.splitNull){o.count-1 in R||(R[o.count]=o.count-1);let S=Object.keys(R).map(Number).sort((L,v)=>L-v),T=[],P=0,M=o.hole!=null?o.hole[0]:null;if(M!=null){let L=YH(S,v=>v>=M);S=S.slice(0,L),S.push(M)}for(let L=0;L<S.length;L++){let v=C.slice(P*2,S[L]*2).concat(M?C.slice(M*2):[]),K=(o.hole||[]).map(ue=>ue-M+(S[L]-P)),q=LC(v,K);q=q.map(ue=>ue+P+(ue+P<S[L]?0:M-S[L])),T.push(...q),P=S[L]+1}for(let L=0,v=T.length;L<v;L++)R[T[L]]!=null&&(T[L]=R[T[L]]);o.triangles=T}else{let S=LC(C,o.hole||[]);for(let T=0,P=S.length;T<P;T++)R[S[T]]!=null&&(S[T]=R[S[T]]);o.triangles=S}}let x=new Float64Array(c);GH(x,2,_);let b=new Float64Array(p*2+6);o.close?c[0]===c[p*2-2]&&c[1]===c[p*2-1]?(b[0]=x[p*2-4],b[1]=x[p*2-3]):(b[0]=x[p*2-2],b[1]=x[p*2-1]):(b[0]=x[0],b[1]=x[1]),b.set(x,2),o.close?c[0]===c[p*2-2]&&c[1]===c[p*2-1]?(b[p*2+2]=x[2],b[p*2+3]=x[3],o.count-=1):(b[p*2+2]=x[0],b[p*2+3]=x[1],b[p*2+4]=x[2],b[p*2+5]=x[3]):(b[p*2+2]=x[p*2-2],b[p*2+3]=x[p*2-1],b[p*2+4]=x[p*2-2],b[p*2+5]=x[p*2-1]);var l=qH(b);o.positionBuffer(l);var f=db(b,l);o.positionFractBuffer(f)}if(i.range?o.range=i.range:o.range||(o.range=o.bounds),(i.range||i.positions)&&o.count){let c=o.bounds,p=c[2]-c[0],_=c[3]-c[1],x=o.range[2]-o.range[0],b=o.range[3]-o.range[1];o.scale=[p/x,_/b],o.translate=[-o.range[0]/x+c[0]/x||0,-o.range[1]/b+c[1]/b||0],o.scaleFract=db(o.scale),o.translateFract=db(o.translate)}if(i.dashes){let c=0,p;if(!i.dashes||i.dashes.length<2)c=1,p=new Uint8Array([255,255,255,255,255,255,255,255]);else{c=0;for(let b=0;b<i.dashes.length;++b)c+=i.dashes[b];p=new Uint8Array(c*rn.dashMult);let _=0,x=255;for(let b=0;b<2;b++)for(let C=0;C<i.dashes.length;++C){for(let R=0,E=i.dashes[C]*rn.dashMult*.5;R<E;++R)p[_++]=x;x^=255}}o.dashLength=c,o.dashTexture({channels:1,data:p,width:p.length,height:1,mag:"linear",min:"linear"},0,0)}if(i.color){let c=o.count,p=i.color;p||(p="transparent");let _=new Uint8Array(c*4+4);if(!Array.isArray(p)||typeof p[0]=="number"){let x=ng(p,"uint8");for(let b=0;b<c+1;b++)_.set(x,b*4)}else{for(let x=0;x<c;x++){let b=ng(p[x],"uint8");_.set(b,x*4)}_.set(ng(p[0],"uint8"),c*4)}o.colorBuffer({usage:"dynamic",type:"uint8",data:_})}}}),e.length<this.passes.length){for(let i=e.length;i<this.passes.length;i++){let a=this.passes[i];!a||(a.colorBuffer.destroy(),a.positionBuffer.destroy(),a.dashTexture.destroy())}this.passes.length=e.length}let n=[];for(let i=0;i<this.passes.length;i++)this.passes[i]!==null&&n.push(this.passes[i]);return this.passes=n,this};rn.prototype.destroy=function(){return this.passes.forEach(e=>{e.colorBuffer.destroy(),e.positionBuffer.destroy(),e.dashTexture.destroy()}),this.passes.length=0,this};const XH=Gp,QH=pm,ZH=pN,KH=ps,$C=mf,zC=qp,{float32:JH,fract32:hb}=is.exports;var gte=eW;const BC=[[1,0,0,1,0,0],[1,0,0,-1,0,0],[-1,0,0,-1,0,0],[-1,0,0,-1,0,0],[-1,0,0,1,0,0],[1,0,0,1,0,0],[1,0,-1,0,0,1],[1,0,-1,0,0,-1],[1,0,1,0,0,-1],[1,0,1,0,0,-1],[1,0,1,0,0,1],[1,0,-1,0,0,1],[-1,0,-1,0,0,1],[-1,0,-1,0,0,-1],[-1,0,1,0,0,-1],[-1,0,1,0,0,-1],[-1,0,1,0,0,1],[-1,0,-1,0,0,1],[0,1,1,0,0,0],[0,1,-1,0,0,0],[0,-1,-1,0,0,0],[0,-1,-1,0,0,0],[0,1,1,0,0,0],[0,-1,1,0,0,0],[0,1,0,-1,1,0],[0,1,0,-1,-1,0],[0,1,0,1,-1,0],[0,1,0,1,1,0],[0,1,0,-1,1,0],[0,1,0,1,-1,0],[0,-1,0,-1,1,0],[0,-1,0,-1,-1,0],[0,-1,0,1,-1,0],[0,-1,0,1,1,0],[0,-1,0,-1,1,0],[0,-1,0,1,-1,0]];function eW(e,t){if(typeof e=="function"?(t||(t={}),t.regl=e):t=e,t.length&&(t.positions=t),e=t.regl,!e.hasExtension("ANGLE_instanced_arrays"))throw Error("regl-error2d: `ANGLE_instanced_arrays` extension should be enabled");let r=e._gl,n,i,a,o,l,f,c={color:"black",capSize:5,lineWidth:1,opacity:1,viewport:null,range:null,offset:0,count:0,bounds:null,positions:[],errors:[]},p=[];return o=e.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array(0)}),i=e.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),a=e.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),l=e.buffer({usage:"dynamic",type:"float",data:new Uint8Array(0)}),f=e.buffer({usage:"static",type:"float",data:BC}),C(t),n=e({vert:`
|
|
239
|
-
precision highp float;
|
|
240
|
-
|
|
241
|
-
attribute vec2 position, positionFract;
|
|
242
|
-
attribute vec4 error;
|
|
243
|
-
attribute vec4 color;
|
|
244
|
-
|
|
245
|
-
attribute vec2 direction, lineOffset, capOffset;
|
|
246
|
-
|
|
247
|
-
uniform vec4 viewport;
|
|
248
|
-
uniform float lineWidth, capSize;
|
|
249
|
-
uniform vec2 scale, scaleFract, translate, translateFract;
|
|
250
|
-
|
|
251
|
-
varying vec4 fragColor;
|
|
252
|
-
|
|
253
|
-
void main() {
|
|
254
|
-
fragColor = color / 255.;
|
|
255
|
-
|
|
256
|
-
vec2 pixelOffset = lineWidth * lineOffset + (capSize + lineWidth) * capOffset;
|
|
257
|
-
|
|
258
|
-
vec2 dxy = -step(.5, direction.xy) * error.xz + step(direction.xy, vec2(-.5)) * error.yw;
|
|
259
|
-
|
|
260
|
-
vec2 position = position + dxy;
|
|
261
|
-
|
|
262
|
-
vec2 pos = (position + translate) * scale
|
|
263
|
-
+ (positionFract + translateFract) * scale
|
|
264
|
-
+ (position + translate) * scaleFract
|
|
265
|
-
+ (positionFract + translateFract) * scaleFract;
|
|
266
|
-
|
|
267
|
-
pos += pixelOffset / viewport.zw;
|
|
268
|
-
|
|
269
|
-
gl_Position = vec4(pos * 2. - 1., 0, 1);
|
|
270
|
-
}
|
|
271
|
-
`,frag:`
|
|
272
|
-
precision highp float;
|
|
273
|
-
|
|
274
|
-
varying vec4 fragColor;
|
|
275
|
-
|
|
276
|
-
uniform float opacity;
|
|
277
|
-
|
|
278
|
-
void main() {
|
|
279
|
-
gl_FragColor = fragColor;
|
|
280
|
-
gl_FragColor.a *= opacity;
|
|
281
|
-
}
|
|
282
|
-
`,uniforms:{range:e.prop("range"),lineWidth:e.prop("lineWidth"),capSize:e.prop("capSize"),opacity:e.prop("opacity"),scale:e.prop("scale"),translate:e.prop("translate"),scaleFract:e.prop("scaleFract"),translateFract:e.prop("translateFract"),viewport:(E,S)=>[S.viewport.x,S.viewport.y,E.viewportWidth,E.viewportHeight]},attributes:{color:{buffer:o,offset:(E,S)=>S.offset*4,divisor:1},position:{buffer:i,offset:(E,S)=>S.offset*8,divisor:1},positionFract:{buffer:a,offset:(E,S)=>S.offset*8,divisor:1},error:{buffer:l,offset:(E,S)=>S.offset*16,divisor:1},direction:{buffer:f,stride:24,offset:0},lineOffset:{buffer:f,stride:24,offset:8},capOffset:{buffer:f,stride:24,offset:16}},primitive:"triangles",blend:{enable:!0,color:[0,0,0,0],equation:{rgb:"add",alpha:"add"},func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},depth:{enable:!1},scissor:{enable:!0,box:e.prop("viewport")},viewport:e.prop("viewport"),stencil:!1,instances:e.prop("count"),count:BC.length}),$C(_,{update:C,draw:x,destroy:R,regl:e,gl:r,canvas:r.canvas,groups:p}),_;function _(E){E?C(E):E===null&&R(),x()}function x(E){if(typeof E=="number")return b(E);E&&!Array.isArray(E)&&(E=[E]),e._refresh(),p.forEach((S,T)=>{if(!!S){if(E&&(E[T]?S.draw=!0:S.draw=!1),!S.draw){S.draw=!0;return}b(T)}})}function b(E){typeof E=="number"&&(E=p[E]),E!=null&&(!(E&&E.count&&E.color&&E.opacity&&E.positions&&E.positions.length>1)||(E.scaleRatio=[E.scale[0]*E.viewport.width,E.scale[1]*E.viewport.height],n(E),E.after&&E.after(E)))}function C(E){if(!E)return;E.length!=null?typeof E[0]=="number"&&(E=[{positions:E}]):Array.isArray(E)||(E=[E]);let S=0,T=0;if(_.groups=p=E.map((L,v)=>{let K=p[v];if(L)typeof L=="function"?L={after:L}:typeof L[0]=="number"&&(L={positions:L});else return K;return L=KH(L,{color:"color colors fill",capSize:"capSize cap capsize cap-size",lineWidth:"lineWidth line-width width line thickness",opacity:"opacity alpha",range:"range dataBox",viewport:"viewport viewBox",errors:"errors error",positions:"positions position data points"}),K||(p[v]=K={id:v,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},L=$C({},c,L)),ZH(K,L,[{lineWidth:q=>+q*.5,capSize:q=>+q*.5,opacity:parseFloat,errors:q=>(q=zC(q),T+=q.length,q),positions:(q,ue)=>(q=zC(q,"float64"),ue.count=Math.floor(q.length/2),ue.bounds=XH(q,2),ue.offset=S,S+=ue.count,q)},{color:(q,ue)=>{let Ie=ue.count;if(q||(q="transparent"),!Array.isArray(q)||typeof q[0]=="number"){let De=q;q=Array(Ie);for(let Ye=0;Ye<Ie;Ye++)q[Ye]=De}if(q.length<Ie)throw Error("Not enough colors");let Ce=new Uint8Array(Ie*4);for(let De=0;De<Ie;De++){let Ye=QH(q[De],"uint8");Ce.set(Ye,De*4)}return Ce},range:(q,ue,Ie)=>{let Ce=ue.bounds;return q||(q=Ce),ue.scale=[1/(q[2]-q[0]),1/(q[3]-q[1])],ue.translate=[-q[0],-q[1]],ue.scaleFract=hb(ue.scale),ue.translateFract=hb(ue.translate),q},viewport:q=>{let ue;return Array.isArray(q)?ue={x:q[0],y:q[1],width:q[2]-q[0],height:q[3]-q[1]}:q?(ue={x:q.x||q.left||0,y:q.y||q.top||0},q.right?ue.width=q.right-ue.x:ue.width=q.w||q.width||0,q.bottom?ue.height=q.bottom-ue.y:ue.height=q.h||q.height||0):ue={x:0,y:0,width:r.drawingBufferWidth,height:r.drawingBufferHeight},ue}}]),K}),S||T){let L=p.reduce((ue,Ie,Ce)=>ue+(Ie?Ie.count:0),0),v=new Float64Array(L*2),K=new Uint8Array(L*4),q=new Float32Array(L*4);p.forEach((ue,Ie)=>{if(!ue)return;let{positions:Ce,count:De,offset:Ye,color:Xe,errors:Et}=ue;!De||(K.set(Xe,Ye*4),q.set(Et,Ye*4),v.set(Ce,Ye*2))});var P=JH(v);i(P);var M=hb(v,P);a(M),o(K),l(q)}}function R(){i.destroy(),a.destroy(),o.destroy(),l.destroy(),f.destroy()}}var jC=/[\'\"]/,tW=function(t){return t?(jC.test(t.charAt(0))&&(t=t.substr(1)),jC.test(t.charAt(t.length-1))&&(t=t.substr(0,t.length-1)),t):""};const MN=["inherit","initial","unset"],PN=["caption","icon","menu","message-box","small-caption","status-bar"],NN=["normal","bold","bolder","lighter","100","200","300","400","500","600","700","800","900"],RN=["normal","italic","oblique"],IN=["normal","condensed","semi-condensed","extra-condensed","ultra-condensed","expanded","semi-expanded","extra-expanded","ultra-expanded"];function FN(e,t){if(typeof e!="string")return[e];var r=[e];typeof t=="string"||Array.isArray(t)?t={brackets:t}:t||(t={});var n=t.brackets?Array.isArray(t.brackets)?t.brackets:[t.brackets]:["{}","[]","()"],i=t.escape||"___",a=!!t.flat;n.forEach(function(f){var c=new RegExp(["\\",f[0],"[^\\",f[0],"\\",f[1],"]*\\",f[1]].join("")),p=[];function _(x,b,C){var R=r.push(x.slice(f[0].length,-f[1].length))-1;return p.push(R),i+R+i}r.forEach(function(x,b){for(var C,R=0;x!=C;)if(C=x,x=x.replace(c,_),R++>1e4)throw Error("References have circular dependency. Please, check them.");r[b]=x}),p=p.reverse(),r=r.map(function(x){return p.forEach(function(b){x=x.replace(new RegExp("(\\"+i+b+"\\"+i+")","g"),f[0]+"$1"+f[1])}),x})});var o=new RegExp("\\"+i+"([0-9]+)\\"+i);function l(f,c,p){for(var _=[],x,b=0;x=o.exec(f);){if(b++>1e4)throw Error("Circular references in parenthesis");_.push(f.slice(0,x.index)),_.push(l(c[x[1]],c)),f=f.slice(x.index+x[0].length)}return _.push(f),_}return a?r:l(r[0],r)}function LN(e,t){if(t&&t.flat){var r=t&&t.escape||"___",n=e[0],i;if(!n)return"";for(var a=new RegExp("\\"+r+"([0-9]+)\\"+r),o=0;n!=i;){if(o++>1e4)throw Error("Circular references in "+e);i=n,n=n.replace(a,l)}return n}return e.reduce(function f(c,p){return Array.isArray(p)&&(p=p.reduce(f,"")),c+p},"");function l(f,c){if(e[c]==null)throw Error("Reference "+c+"is undefined");return e[c]}}function F2(e,t){return Array.isArray(e)?LN(e,t):FN(e,t)}F2.parse=FN;F2.stringify=LN;var rW=F2,UC=rW,nW=function(t,r,n){if(t==null)throw Error("First argument should be a string");if(r==null)throw Error("Separator should be a string or a RegExp");n?(typeof n=="string"||Array.isArray(n))&&(n={ignore:n}):n={},n.escape==null&&(n.escape=!0),n.ignore==null?n.ignore=["[]","()","{}","<>",'""',"''","``","\u201C\u201D","\xAB\xBB"]:(typeof n.ignore=="string"&&(n.ignore=[n.ignore]),n.ignore=n.ignore.map(function(_){return _.length===1&&(_=_+_),_}));var i=UC.parse(t,{flat:!0,brackets:n.ignore}),a=i[0],o=a.split(r);if(n.escape){for(var l=[],f=0;f<o.length;f++){var c=o[f],p=o[f+1];c[c.length-1]==="\\"&&c[c.length-2]!=="\\"?(l.push(c+r+p),f++):l.push(c)}o=l}for(var f=0;f<o.length;f++)i[0]=o[f],o[f]=UC.stringify(i,{flat:!0});return o};const iW=["xx-small","x-small","small","medium","large","x-large","xx-large","larger","smaller"];var aW=iW,DN={isSize:function(t){return/^[\d\.]/.test(t)||t.indexOf("/")!==-1||aW.indexOf(t)!==-1}},oW=tW,uW=MN,lW=PN,sW=NN,fW=RN,cW=IN,pb=nW,dW=DN.isSize,hW=$N,Ch=$N.cache={};function $N(e){if(typeof e!="string")throw new Error("Font argument must be a string.");if(Ch[e])return Ch[e];if(e==="")throw new Error("Cannot parse an empty string.");if(lW.indexOf(e)!==-1)return Ch[e]={system:e};for(var t={style:"normal",variant:"normal",weight:"normal",stretch:"normal",lineHeight:"normal",size:"1rem",family:["serif"]},r=pb(e,/\s+/),n;n=r.shift();){if(uW.indexOf(n)!==-1)return["style","variant","weight","stretch"].forEach(function(a){t[a]=n}),Ch[e]=t;if(fW.indexOf(n)!==-1){t.style=n;continue}if(n==="normal"||n==="small-caps"){t.variant=n;continue}if(cW.indexOf(n)!==-1){t.stretch=n;continue}if(sW.indexOf(n)!==-1){t.weight=n;continue}if(dW(n)){var i=pb(n,"/");if(t.size=i[0],i[1]!=null?t.lineHeight=HC(i[1]):r[0]==="/"&&(r.shift(),t.lineHeight=HC(r.shift())),!r.length)throw new Error("Missing required font-family.");return t.family=pb(r.join(" "),/\s*,\s*/).map(oW),Ch[e]=t}throw new Error("Unknown or unsupported font token: "+n)}throw new Error("Missing required font-size.")}function HC(e){var t=parseFloat(e);return t.toString()===e?t:e}var pW=ps,vW=DN.isSize,gW=Vp(MN),mW=Vp(PN),yW=Vp(NN),bW=Vp(RN),xW=Vp(IN),wW={normal:1,"small-caps":1},_W={serif:1,"sans-serif":1,monospace:1,cursive:1,fantasy:1,"system-ui":1},vb={style:"normal",variant:"normal",weight:"normal",stretch:"normal",size:"1rem",lineHeight:"normal",family:"serif"},zN=function(t){if(t=pW(t,{style:"style fontstyle fontStyle font-style slope distinction",variant:"variant font-variant fontVariant fontvariant var capitalization",weight:"weight w font-weight fontWeight fontweight",stretch:"stretch font-stretch fontStretch fontstretch width",size:"size s font-size fontSize fontsize height em emSize",lineHeight:"lh line-height lineHeight lineheight leading",family:"font family fontFamily font-family fontfamily type typeface face",system:"system reserved default global"}),t.system)return t.system&&Oh(t.system,mW),t.system;if(Oh(t.style,bW),Oh(t.variant,wW),Oh(t.weight,yW),Oh(t.stretch,xW),t.size==null&&(t.size=vb.size),typeof t.size=="number"&&(t.size+="px"),!vW)throw Error("Bad size value `"+t.size+"`");t.family||(t.family=vb.family),Array.isArray(t.family)&&(t.family.length||(t.family=[vb.family]),t.family=t.family.map(function(n){return _W[n]?n:'"'+n+'"'}).join(", "));var r=[];return r.push(t.style),t.variant!==t.style&&r.push(t.variant),t.weight!==t.variant&&t.weight!==t.style&&r.push(t.weight),t.stretch!==t.weight&&t.stretch!==t.variant&&t.stretch!==t.style&&r.push(t.stretch),r.push(t.size+(t.lineHeight==null||t.lineHeight==="normal"||t.lineHeight+""=="1"?"":"/"+t.lineHeight)),r.push(t.family),r.filter(Boolean).join(" ")};function Oh(e,t){if(e&&!t[e]&&!gW[e])throw Error("Unknown keyword `"+e+"`");return e}function Vp(e){for(var t={},r=0;r<e.length;r++)t[e[r]]=1;return t}var SW={parse:hW,stringify:zN},BN={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Jr,function(){var r=function(F,X){for(var ne=Object.keys(X),Fe=0;Fe<ne.length;++Fe)F[ne[Fe]]=X[ne[Fe]];return F},n=0,i=0,a=5,o=6;function l(F,X){this.id=n++,this.type=F,this.data=X}function f(F){return F.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function c(F){if(F.length===0)return[];var X=F.charAt(0),ne=F.charAt(F.length-1);if(F.length>1&&X===ne&&(X==='"'||X==="'"))return['"'+f(F.substr(1,F.length-2))+'"'];var Fe=/\[(false|true|null|\d+|'[^']*'|"[^"]*")\]/.exec(F);if(Fe)return c(F.substr(0,Fe.index)).concat(c(Fe[1])).concat(c(F.substr(Fe.index+Fe[0].length)));var He=F.split(".");if(He.length===1)return['"'+f(F)+'"'];for(var Me=[],Ne=0;Ne<He.length;++Ne)Me=Me.concat(c(He[Ne]));return Me}function p(F){return"["+c(F).join("][")+"]"}function _(F,X){return new l(F,p(X+""))}function x(F){return typeof F=="function"&&!F._reglType||F instanceof l}function b(F,X){if(typeof F=="function")return new l(i,F);if(typeof F=="number"||typeof F=="boolean")return new l(a,F);if(Array.isArray(F))return new l(o,F.map(function(ne,Fe){return b(ne)}));if(F instanceof l)return F}var C={DynamicVariable:l,define:_,isDynamic:x,unbox:b,accessor:p},R={next:typeof requestAnimationFrame=="function"?function(F){return requestAnimationFrame(F)}:function(F){return setTimeout(F,16)},cancel:typeof cancelAnimationFrame=="function"?function(F){return cancelAnimationFrame(F)}:clearTimeout},E=typeof performance<"u"&&performance.now?function(){return performance.now()}:function(){return+new Date};function S(){var F={"":0},X=[""];return{id:function(ne){var Fe=F[ne];return Fe||(Fe=F[ne]=X.length,X.push(ne),Fe)},str:function(ne){return X[ne]}}}function T(F,X,ne){var Fe=document.createElement("canvas");r(Fe.style,{border:0,margin:0,padding:0,top:0,left:0,width:"100%",height:"100%"}),F.appendChild(Fe),F===document.body&&(Fe.style.position="absolute",r(F.style,{margin:0,padding:0}));function He(){var ft=window.innerWidth,ct=window.innerHeight;if(F!==document.body){var vt=Fe.getBoundingClientRect();ft=vt.right-vt.left,ct=vt.bottom-vt.top}Fe.width=ne*ft,Fe.height=ne*ct}var Me;F!==document.body&&typeof ResizeObserver=="function"?(Me=new ResizeObserver(function(){setTimeout(He)}),Me.observe(F)):window.addEventListener("resize",He,!1);function Ne(){Me?Me.disconnect():window.removeEventListener("resize",He),F.removeChild(Fe)}return He(),{canvas:Fe,onDestroy:Ne}}function P(F,X){function ne(Fe){try{return F.getContext(Fe,X)}catch{return null}}return ne("webgl")||ne("experimental-webgl")||ne("webgl-experimental")}function M(F){return typeof F.nodeName=="string"&&typeof F.appendChild=="function"&&typeof F.getBoundingClientRect=="function"}function L(F){return typeof F.drawArrays=="function"||typeof F.drawElements=="function"}function v(F){return typeof F=="string"?F.split():F}function K(F){return typeof F=="string"?document.querySelector(F):F}function q(F){var X=F||{},ne,Fe,He,Me,Ne={},ft=[],ct=[],vt=typeof window>"u"?1:window.devicePixelRatio,Ot=!1,Zt={},Ht=function(xe){},xt=function(){};if(typeof X=="string"?ne=document.querySelector(X):typeof X=="object"&&(M(X)?ne=X:L(X)?(Me=X,He=Me.canvas):("gl"in X?Me=X.gl:"canvas"in X?He=K(X.canvas):"container"in X&&(Fe=K(X.container)),"attributes"in X&&(Ne=X.attributes),"extensions"in X&&(ft=v(X.extensions)),"optionalExtensions"in X&&(ct=v(X.optionalExtensions)),"onDone"in X&&(Ht=X.onDone),"profile"in X&&(Ot=!!X.profile),"pixelRatio"in X&&(vt=+X.pixelRatio),"cachedCode"in X&&(Zt=X.cachedCode))),ne&&(ne.nodeName.toLowerCase()==="canvas"?He=ne:Fe=ne),!Me){if(!He){var nt=T(Fe||document.body,Ht,vt);if(!nt)return null;He=nt.canvas,xt=nt.onDestroy}Ne.premultipliedAlpha===void 0&&(Ne.premultipliedAlpha=!0),Me=P(He,Ne)}return Me?{gl:Me,canvas:He,container:Fe,extensions:ft,optionalExtensions:ct,pixelRatio:vt,profile:Ot,cachedCode:Zt,onDone:Ht,onDestroy:xt}:(xt(),Ht("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function ue(F,X){var ne={};function Fe(Ne){var ft=Ne.toLowerCase(),ct;try{ct=ne[ft]=F.getExtension(ft)}catch{}return!!ct}for(var He=0;He<X.extensions.length;++He){var Me=X.extensions[He];if(!Fe(Me))return X.onDestroy(),X.onDone('"'+Me+'" extension is not supported by the current WebGL context, try upgrading your system or a different browser'),null}return X.optionalExtensions.forEach(Fe),{extensions:ne,restore:function(){Object.keys(ne).forEach(function(Ne){if(ne[Ne]&&!Fe(Ne))throw new Error("(regl): error restoring extension "+Ne)})}}}function Ie(F,X){for(var ne=Array(F),Fe=0;Fe<F;++Fe)ne[Fe]=X(Fe);return ne}var Ce=5120,De=5121,Ye=5122,Xe=5123,Et=5124,yt=5125,Ze=5126;function it(F){for(var X=16;X<=1<<28;X*=16)if(F<=X)return X;return 0}function Ut(F){var X,ne;return X=(F>65535)<<4,F>>>=X,ne=(F>255)<<3,F>>>=ne,X|=ne,ne=(F>15)<<2,F>>>=ne,X|=ne,ne=(F>3)<<1,F>>>=ne,X|=ne,X|F>>1}function bt(){var F=Ie(8,function(){return[]});function X(Me){var Ne=it(Me),ft=F[Ut(Ne)>>2];return ft.length>0?ft.pop():new ArrayBuffer(Ne)}function ne(Me){F[Ut(Me.byteLength)>>2].push(Me)}function Fe(Me,Ne){var ft=null;switch(Me){case Ce:ft=new Int8Array(X(Ne),0,Ne);break;case De:ft=new Uint8Array(X(Ne),0,Ne);break;case Ye:ft=new Int16Array(X(2*Ne),0,Ne);break;case Xe:ft=new Uint16Array(X(2*Ne),0,Ne);break;case Et:ft=new Int32Array(X(4*Ne),0,Ne);break;case yt:ft=new Uint32Array(X(4*Ne),0,Ne);break;case Ze:ft=new Float32Array(X(4*Ne),0,Ne);break;default:return null}return ft.length!==Ne?ft.subarray(0,Ne):ft}function He(Me){ne(Me.buffer)}return{alloc:X,free:ne,allocType:Fe,freeType:He}}var Le=bt();Le.zero=bt();var ut=3408,At=3410,st=3411,Ct=3412,Lt=3413,hr=3414,mr=3415,at=33901,Gt=33902,fr=3379,je=3386,Y=34921,he=36347,J=36348,Te=35661,wt=35660,Dt=34930,kr=36349,qr=34076,en=34024,qn=7936,Li=7937,hn=7938,$a=35724,Po=34047,gs=36063,pu=34852,vu=3553,qi=34067,Pf=34069,li=33984,ma=6408,gu=5126,mu=5121,Vn=36160,si=36053,ya=36064,Ad=16384,yu=function(F,X){var ne=1;X.ext_texture_filter_anisotropic&&(ne=F.getParameter(Po));var Fe=1,He=1;X.webgl_draw_buffers&&(Fe=F.getParameter(pu),He=F.getParameter(gs));var Me=!!X.oes_texture_float;if(Me){var Ne=F.createTexture();F.bindTexture(vu,Ne),F.texImage2D(vu,0,ma,1,1,0,ma,gu,null);var ft=F.createFramebuffer();if(F.bindFramebuffer(Vn,ft),F.framebufferTexture2D(Vn,ya,vu,Ne,0),F.bindTexture(vu,null),F.checkFramebufferStatus(Vn)!==si)Me=!1;else{F.viewport(0,0,1,1),F.clearColor(1,0,0,1),F.clear(Ad);var ct=Le.allocType(gu,4);F.readPixels(0,0,1,1,ma,gu,ct),F.getError()?Me=!1:(F.deleteFramebuffer(ft),F.deleteTexture(Ne),Me=ct[0]===1),Le.freeType(ct)}}var vt=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion)||/Edge/.test(navigator.userAgent)),Ot=!0;if(!vt){var Zt=F.createTexture(),Ht=Le.allocType(mu,36);F.activeTexture(li),F.bindTexture(qi,Zt),F.texImage2D(Pf,0,ma,3,3,0,ma,mu,Ht),Le.freeType(Ht),F.bindTexture(qi,null),F.deleteTexture(Zt),Ot=!F.getError()}return{colorBits:[F.getParameter(At),F.getParameter(st),F.getParameter(Ct),F.getParameter(Lt)],depthBits:F.getParameter(hr),stencilBits:F.getParameter(mr),subpixelBits:F.getParameter(ut),extensions:Object.keys(X).filter(function(xt){return!!X[xt]}),maxAnisotropic:ne,maxDrawbuffers:Fe,maxColorAttachments:He,pointSizeDims:F.getParameter(at),lineWidthDims:F.getParameter(Gt),maxViewportDims:F.getParameter(je),maxCombinedTextureUnits:F.getParameter(Te),maxCubeMapSize:F.getParameter(qr),maxRenderbufferSize:F.getParameter(en),maxTextureUnits:F.getParameter(Dt),maxTextureSize:F.getParameter(fr),maxAttributes:F.getParameter(Y),maxVertexUniforms:F.getParameter(he),maxVertexTextureUnits:F.getParameter(wt),maxVaryingVectors:F.getParameter(J),maxFragmentUniforms:F.getParameter(kr),glsl:F.getParameter($a),renderer:F.getParameter(Li),vendor:F.getParameter(qn),version:F.getParameter(hn),readFloat:Me,npotTextureCube:Ot}},Pn=function(F){return F instanceof Uint8Array||F instanceof Uint16Array||F instanceof Uint32Array||F instanceof Int8Array||F instanceof Int16Array||F instanceof Int32Array||F instanceof Float32Array||F instanceof Float64Array||F instanceof Uint8ClampedArray};function jn(F){return!!F&&typeof F=="object"&&Array.isArray(F.shape)&&Array.isArray(F.stride)&&typeof F.offset=="number"&&F.shape.length===F.stride.length&&(Array.isArray(F.data)||Pn(F.data))}var Nn=function(F){return Object.keys(F).map(function(X){return F[X]})},Pr={shape:If,flatten:ia};function Nf(F,X,ne){for(var Fe=0;Fe<X;++Fe)ne[Fe]=F[Fe]}function Vi(F,X,ne,Fe){for(var He=0,Me=0;Me<X;++Me)for(var Ne=F[Me],ft=0;ft<ne;++ft)Fe[He++]=Ne[ft]}function ba(F,X,ne,Fe,He,Me){for(var Ne=Me,ft=0;ft<X;++ft)for(var ct=F[ft],vt=0;vt<ne;++vt)for(var Ot=ct[vt],Zt=0;Zt<Fe;++Zt)He[Ne++]=Ot[Zt]}function Rf(F,X,ne,Fe,He){for(var Me=1,Ne=ne+1;Ne<X.length;++Ne)Me*=X[Ne];var ft=X[ne];if(X.length-ne===4){var ct=X[ne+1],vt=X[ne+2],Ot=X[ne+3];for(Ne=0;Ne<ft;++Ne)ba(F[Ne],ct,vt,Ot,Fe,He),He+=Me}else for(Ne=0;Ne<ft;++Ne)Rf(F[Ne],X,ne+1,Fe,He),He+=Me}function ia(F,X,ne,Fe){var He=1;if(X.length)for(var Me=0;Me<X.length;++Me)He*=X[Me];else He=0;var Ne=Fe||Le.allocType(ne,He);switch(X.length){case 0:break;case 1:Nf(F,X[0],Ne);break;case 2:Vi(F,X[0],X[1],Ne);break;case 3:ba(F,X[0],X[1],X[2],Ne,0);break;default:Rf(F,X,0,Ne,0)}return Ne}function If(F){for(var X=[],ne=F;ne.length;ne=ne[0])X.push(ne.length);return X}var No={"[object Int8Array]":5120,"[object Int16Array]":5122,"[object Int32Array]":5124,"[object Uint8Array]":5121,"[object Uint8ClampedArray]":5121,"[object Uint16Array]":5123,"[object Uint32Array]":5125,"[object Float32Array]":5126,"[object Float64Array]":5121,"[object ArrayBuffer]":5121},Td=5120,Ff=5122,Lf=5124,Df=5121,Ro=5123,Io=5125,bu=5126,xu=5126,Fo={int8:Td,int16:Ff,int32:Lf,uint8:Df,uint16:Ro,uint32:Io,float:bu,float32:xu},il=35048,so=35040,xa={dynamic:il,stream:so,static:35044},Ei=Pr.flatten,wu=Pr.shape,_u=35044,Yi=35040,fo=5121,Su=5126,Tn=[];Tn[5120]=1,Tn[5122]=2,Tn[5124]=4,Tn[5121]=1,Tn[5123]=2,Tn[5125]=4,Tn[5126]=4;function co(F){return No[Object.prototype.toString.call(F)]|0}function al(F,X){for(var ne=0;ne<X.length;++ne)F[ne]=X[ne]}function ol(F,X,ne,Fe,He,Me,Ne){for(var ft=0,ct=0;ct<ne;++ct)for(var vt=0;vt<Fe;++vt)F[ft++]=X[He*ct+Me*vt+Ne]}function ul(F,X,ne,Fe){var He=0,Me={};function Ne(xe){this.id=He++,this.buffer=F.createBuffer(),this.type=xe,this.usage=_u,this.byteLength=0,this.dimension=1,this.dtype=fo,this.persistentData=null,ne.profile&&(this.stats={size:0})}Ne.prototype.bind=function(){F.bindBuffer(this.type,this.buffer)},Ne.prototype.destroy=function(){Ht(this)};var ft=[];function ct(xe,ze){var lt=ft.pop();return lt||(lt=new Ne(xe)),lt.bind(),Zt(lt,ze,Yi,0,1,!1),lt}function vt(xe){ft.push(xe)}function Ot(xe,ze,lt){xe.byteLength=ze.byteLength,F.bufferData(xe.type,ze,lt)}function Zt(xe,ze,lt,ht,Qe,Nt){var St;if(xe.usage=lt,Array.isArray(ze)){if(xe.dtype=ht||Su,ze.length>0){var Kt;if(Array.isArray(ze[0])){St=wu(ze);for(var Ke=1,We=1;We<St.length;++We)Ke*=St[We];xe.dimension=Ke,Kt=Ei(ze,St,xe.dtype),Ot(xe,Kt,lt),Nt?xe.persistentData=Kt:Le.freeType(Kt)}else if(typeof ze[0]=="number"){xe.dimension=Qe;var It=Le.allocType(xe.dtype,ze.length);al(It,ze),Ot(xe,It,lt),Nt?xe.persistentData=It:Le.freeType(It)}else Pn(ze[0])&&(xe.dimension=ze[0].length,xe.dtype=ht||co(ze[0])||Su,Kt=Ei(ze,[ze.length,ze[0].length],xe.dtype),Ot(xe,Kt,lt),Nt?xe.persistentData=Kt:Le.freeType(Kt))}}else if(Pn(ze))xe.dtype=ht||co(ze),xe.dimension=Qe,Ot(xe,ze,lt),Nt&&(xe.persistentData=new Uint8Array(new Uint8Array(ze.buffer)));else if(jn(ze)){St=ze.shape;var $e=ze.stride,kt=ze.offset,pt=0,Jt=0,Cr=0,$t=0;St.length===1?(pt=St[0],Jt=1,Cr=$e[0],$t=0):St.length===2&&(pt=St[0],Jt=St[1],Cr=$e[0],$t=$e[1]),xe.dtype=ht||co(ze.data)||Su,xe.dimension=Jt;var ur=Le.allocType(xe.dtype,pt*Jt);ol(ur,ze.data,pt,Jt,Cr,$t,kt),Ot(xe,ur,lt),Nt?xe.persistentData=ur:Le.freeType(ur)}else ze instanceof ArrayBuffer&&(xe.dtype=fo,xe.dimension=Qe,Ot(xe,ze,lt),Nt&&(xe.persistentData=new Uint8Array(new Uint8Array(ze))))}function Ht(xe){X.bufferCount--,Fe(xe);var ze=xe.buffer;F.deleteBuffer(ze),xe.buffer=null,delete Me[xe.id]}function xt(xe,ze,lt,ht){X.bufferCount++;var Qe=new Ne(ze);Me[Qe.id]=Qe;function Nt(Ke){var We=_u,It=null,$e=0,kt=0,pt=1;return Array.isArray(Ke)||Pn(Ke)||jn(Ke)||Ke instanceof ArrayBuffer?It=Ke:typeof Ke=="number"?$e=Ke|0:Ke&&("data"in Ke&&(It=Ke.data),"usage"in Ke&&(We=xa[Ke.usage]),"type"in Ke&&(kt=Fo[Ke.type]),"dimension"in Ke&&(pt=Ke.dimension|0),"length"in Ke&&($e=Ke.length|0)),Qe.bind(),It?Zt(Qe,It,We,kt,pt,ht):($e&&F.bufferData(Qe.type,$e,We),Qe.dtype=kt||fo,Qe.usage=We,Qe.dimension=pt,Qe.byteLength=$e),ne.profile&&(Qe.stats.size=Qe.byteLength*Tn[Qe.dtype]),Nt}function St(Ke,We){F.bufferSubData(Qe.type,We,Ke)}function Kt(Ke,We){var It=(We||0)|0,$e;if(Qe.bind(),Pn(Ke)||Ke instanceof ArrayBuffer)St(Ke,It);else if(Array.isArray(Ke)){if(Ke.length>0){if(typeof Ke[0]=="number"){var kt=Le.allocType(Qe.dtype,Ke.length);al(kt,Ke),St(kt,It),Le.freeType(kt)}else if(Array.isArray(Ke[0])||Pn(Ke[0])){$e=wu(Ke);var pt=Ei(Ke,$e,Qe.dtype);St(pt,It),Le.freeType(pt)}}}else if(jn(Ke)){$e=Ke.shape;var Jt=Ke.stride,Cr=0,$t=0,ur=0,Tt=0;$e.length===1?(Cr=$e[0],$t=1,ur=Jt[0],Tt=0):$e.length===2&&(Cr=$e[0],$t=$e[1],ur=Jt[0],Tt=Jt[1]);var Or=Array.isArray(Ke.data)?Qe.dtype:co(Ke.data),Lr=Le.allocType(Or,Cr*$t);ol(Lr,Ke.data,Cr,$t,ur,Tt,Ke.offset),St(Lr,It),Le.freeType(Lr)}return Nt}return lt||Nt(xe),Nt._reglType="buffer",Nt._buffer=Qe,Nt.subdata=Kt,ne.profile&&(Nt.stats=Qe.stats),Nt.destroy=function(){Ht(Qe)},Nt}function nt(){Nn(Me).forEach(function(xe){xe.buffer=F.createBuffer(),F.bindBuffer(xe.type,xe.buffer),F.bufferData(xe.type,xe.persistentData||xe.byteLength,xe.usage)})}return ne.profile&&(X.getTotalBufferSize=function(){var xe=0;return Object.keys(Me).forEach(function(ze){xe+=Me[ze].stats.size}),xe}),{create:xt,createStream:ct,destroyStream:vt,clear:function(){Nn(Me).forEach(Ht),ft.forEach(Ht)},getBuffer:function(xe){return xe&&xe._buffer instanceof Ne?xe._buffer:null},restore:nt,_initBuffer:Zt}}var ll=0,Yn=0,ho=1,Lo=1,ms=4,ys=4,Cn={points:ll,point:Yn,lines:ho,line:Lo,triangles:ms,triangle:ys,"line loop":2,"line strip":3,"triangle strip":5,"triangle fan":6},bs=0,po=1,wa=4,Do=5120,vo=5121,Ai=5122,za=5123,Ba=5124,ja=5125,$o=34963,Rr=35040,_a=35044;function zo(F,X,ne,Fe){var He={},Me=0,Ne={uint8:vo,uint16:za};X.oes_element_index_uint&&(Ne.uint32=ja);function ft(nt){this.id=Me++,He[this.id]=this,this.buffer=nt,this.primType=wa,this.vertCount=0,this.type=0}ft.prototype.bind=function(){this.buffer.bind()};var ct=[];function vt(nt){var xe=ct.pop();return xe||(xe=new ft(ne.create(null,$o,!0,!1)._buffer)),Zt(xe,nt,Rr,-1,-1,0,0),xe}function Ot(nt){ct.push(nt)}function Zt(nt,xe,ze,lt,ht,Qe,Nt){nt.buffer.bind();var St;if(xe){var Kt=Nt;!Nt&&(!Pn(xe)||jn(xe)&&!Pn(xe.data))&&(Kt=X.oes_element_index_uint?ja:za),ne._initBuffer(nt.buffer,xe,ze,Kt,3)}else F.bufferData($o,Qe,ze),nt.buffer.dtype=St||vo,nt.buffer.usage=ze,nt.buffer.dimension=3,nt.buffer.byteLength=Qe;if(St=Nt,!Nt){switch(nt.buffer.dtype){case vo:case Do:St=vo;break;case za:case Ai:St=za;break;case ja:case Ba:St=ja;break}nt.buffer.dtype=St}nt.type=St;var Ke=ht;Ke<0&&(Ke=nt.buffer.byteLength,St===za?Ke>>=1:St===ja&&(Ke>>=2)),nt.vertCount=Ke;var We=lt;if(lt<0){We=wa;var It=nt.buffer.dimension;It===1&&(We=bs),It===2&&(We=po),It===3&&(We=wa)}nt.primType=We}function Ht(nt){Fe.elementsCount--,delete He[nt.id],nt.buffer.destroy(),nt.buffer=null}function xt(nt,xe){var ze=ne.create(null,$o,!0),lt=new ft(ze._buffer);Fe.elementsCount++;function ht(Qe){if(!Qe)ze(),lt.primType=wa,lt.vertCount=0,lt.type=vo;else if(typeof Qe=="number")ze(Qe),lt.primType=wa,lt.vertCount=Qe|0,lt.type=vo;else{var Nt=null,St=_a,Kt=-1,Ke=-1,We=0,It=0;Array.isArray(Qe)||Pn(Qe)||jn(Qe)?Nt=Qe:("data"in Qe&&(Nt=Qe.data),"usage"in Qe&&(St=xa[Qe.usage]),"primitive"in Qe&&(Kt=Cn[Qe.primitive]),"count"in Qe&&(Ke=Qe.count|0),"type"in Qe&&(It=Ne[Qe.type]),"length"in Qe?We=Qe.length|0:(We=Ke,It===za||It===Ai?We*=2:(It===ja||It===Ba)&&(We*=4))),Zt(lt,Nt,St,Kt,Ke,We,It)}return ht}return ht(nt),ht._reglType="elements",ht._elements=lt,ht.subdata=function(Qe,Nt){return ze.subdata(Qe,Nt),ht},ht.destroy=function(){Ht(lt)},ht}return{create:xt,createStream:vt,destroyStream:Ot,getElements:function(nt){return typeof nt=="function"&&nt._elements instanceof ft?nt._elements:null},clear:function(){Nn(He).forEach(Ht)}}}var $f=new Float32Array(1),zf=new Uint32Array($f.buffer),Eu=5123;function Sa(F){for(var X=Le.allocType(Eu,F.length),ne=0;ne<F.length;++ne)if(isNaN(F[ne]))X[ne]=65535;else if(F[ne]===1/0)X[ne]=31744;else if(F[ne]===-1/0)X[ne]=64512;else{$f[0]=F[ne];var Fe=zf[0],He=Fe>>>31<<15,Me=(Fe<<1>>>24)-127,Ne=Fe>>13&(1<<10)-1;if(Me<-24)X[ne]=He;else if(Me<-14){var ft=-14-Me;X[ne]=He+(Ne+(1<<10)>>ft)}else Me>15?X[ne]=He+31744:X[ne]=He+(Me+15<<10)+Ne}return X}function Di(F){return Array.isArray(F)||Pn(F)}var Bo=34467,Xi=3553,go=34067,jo=34069,Ua=6408,Uo=6406,Ea=6407,Aa=6409,Au=6410,Bf=32854,Ho=32855,sl=36194,xs=32819,ws=32820,Ha=33635,Wa=34042,aa=6402,Wo=34041,Go=35904,Ta=35906,mo=36193,_s=33776,fl=33777,Ca=33778,cl=33779,dl=35986,Ss=35987,jf=34798,Es=35840,d=35841,m=35842,A=35843,k=36196,D=5121,$=5123,j=5125,oe=5126,fe=10242,we=10243,Be=10497,ot=33071,Oe=33648,Ge=10240,or=10241,yr=9728,nr=9729,pn=9984,fn=9985,fi=9986,zr=9987,Sr=33170,Ln=4352,Br=4353,an=4354,Oa=34046,hl=3317,Xn=37440,Ga=37441,Qn=37443,Un=37444,ci=33984,di=[pn,fi,fn,zr],Dn=[0,Aa,Au,Ea,Ua],Zn={};Zn[Aa]=Zn[Uo]=Zn[aa]=1,Zn[Wo]=Zn[Au]=2,Zn[Ea]=Zn[Go]=3,Zn[Ua]=Zn[Ta]=4;function Ti(F){return"[object "+F+"]"}var pl=Ti("HTMLCanvasElement"),Gr=Ti("OffscreenCanvas"),qa=Ti("CanvasRenderingContext2D"),vl=Ti("ImageBitmap"),Tu=Ti("HTMLImageElement"),Uf=Ti("HTMLVideoElement"),gl=Object.keys(No).concat([pl,Gr,qa,vl,Tu,Uf]),qo=[];qo[D]=1,qo[oe]=4,qo[mo]=2,qo[$]=2,qo[j]=4;var On=[];On[Bf]=2,On[Ho]=2,On[sl]=2,On[Wo]=4,On[_s]=.5,On[fl]=.5,On[Ca]=1,On[cl]=1,On[dl]=.5,On[Ss]=1,On[jf]=1,On[Es]=.5,On[d]=.25,On[m]=.5,On[A]=.25,On[k]=.5;function Hf(F){return Array.isArray(F)&&(F.length===0||typeof F[0]=="number")}function Wf(F){if(!Array.isArray(F))return!1;var X=F.length;return!(X===0||!Di(F[0]))}function yo(F){return Object.prototype.toString.call(F)}function Cu(F){return yo(F)===pl}function Gf(F){return yo(F)===Gr}function Cd(F){return yo(F)===qa}function Od(F){return yo(F)===vl}function Ou(F){return yo(F)===Tu}function kd(F){return yo(F)===Uf}function Vo(F){if(!F)return!1;var X=yo(F);return gl.indexOf(X)>=0?!0:Hf(F)||Wf(F)||jn(F)}function Qi(F){return No[Object.prototype.toString.call(F)]|0}function oa(F,X){var ne=X.length;switch(F.type){case D:case $:case j:case oe:var Fe=Le.allocType(F.type,ne);Fe.set(X),F.data=Fe;break;case mo:F.data=Sa(X);break}}function ml(F,X){return Le.allocType(F.type===mo?oe:F.type,X)}function As(F,X){F.type===mo?(F.data=Sa(X),Le.freeType(X)):F.data=X}function qf(F,X,ne,Fe,He,Me){for(var Ne=F.width,ft=F.height,ct=F.channels,vt=Ne*ft*ct,Ot=ml(F,vt),Zt=0,Ht=0;Ht<ft;++Ht)for(var xt=0;xt<Ne;++xt)for(var nt=0;nt<ct;++nt)Ot[Zt++]=X[ne*xt+Fe*Ht+He*nt+Me];As(F,Ot)}function ka(F,X,ne,Fe,He,Me){var Ne;if(typeof On[F]<"u"?Ne=On[F]:Ne=Zn[F]*qo[X],Me&&(Ne*=6),He){for(var ft=0,ct=ne;ct>=1;)ft+=Ne*ct*ct,ct/=2;return ft}else return Ne*ne*Fe}function Zr(F,X,ne,Fe,He,Me,Ne){var ft={"don't care":Ln,"dont care":Ln,nice:an,fast:Br},ct={repeat:Be,clamp:ot,mirror:Oe},vt={nearest:yr,linear:nr},Ot=r({mipmap:zr,"nearest mipmap nearest":pn,"linear mipmap nearest":fn,"nearest mipmap linear":fi,"linear mipmap linear":zr},vt),Zt={none:0,browser:Un},Ht={uint8:D,rgba4:xs,rgb565:Ha,"rgb5 a1":ws},xt={alpha:Uo,luminance:Aa,"luminance alpha":Au,rgb:Ea,rgba:Ua,rgba4:Bf,"rgb5 a1":Ho,rgb565:sl},nt={};X.ext_srgb&&(xt.srgb=Go,xt.srgba=Ta),X.oes_texture_float&&(Ht.float32=Ht.float=oe),X.oes_texture_half_float&&(Ht.float16=Ht["half float"]=mo),X.webgl_depth_texture&&(r(xt,{depth:aa,"depth stencil":Wo}),r(Ht,{uint16:$,uint32:j,"depth stencil":Wa})),X.webgl_compressed_texture_s3tc&&r(nt,{"rgb s3tc dxt1":_s,"rgba s3tc dxt1":fl,"rgba s3tc dxt3":Ca,"rgba s3tc dxt5":cl}),X.webgl_compressed_texture_atc&&r(nt,{"rgb atc":dl,"rgba atc explicit alpha":Ss,"rgba atc interpolated alpha":jf}),X.webgl_compressed_texture_pvrtc&&r(nt,{"rgb pvrtc 4bppv1":Es,"rgb pvrtc 2bppv1":d,"rgba pvrtc 4bppv1":m,"rgba pvrtc 2bppv1":A}),X.webgl_compressed_texture_etc1&&(nt["rgb etc1"]=k);var xe=Array.prototype.slice.call(F.getParameter(Bo));Object.keys(nt).forEach(function(Z){var Pe=nt[Z];xe.indexOf(Pe)>=0&&(xt[Z]=Pe)});var ze=Object.keys(xt);ne.textureFormats=ze;var lt=[];Object.keys(xt).forEach(function(Z){var Pe=xt[Z];lt[Pe]=Z});var ht=[];Object.keys(Ht).forEach(function(Z){var Pe=Ht[Z];ht[Pe]=Z});var Qe=[];Object.keys(vt).forEach(function(Z){var Pe=vt[Z];Qe[Pe]=Z});var Nt=[];Object.keys(Ot).forEach(function(Z){var Pe=Ot[Z];Nt[Pe]=Z});var St=[];Object.keys(ct).forEach(function(Z){var Pe=ct[Z];St[Pe]=Z});var Kt=ze.reduce(function(Z,Pe){var ke=xt[Pe];return ke===Aa||ke===Uo||ke===Aa||ke===Au||ke===aa||ke===Wo||X.ext_srgb&&(ke===Go||ke===Ta)?Z[ke]=ke:ke===Ho||Pe.indexOf("rgba")>=0?Z[ke]=Ua:Z[ke]=Ea,Z},{});function Ke(){this.internalformat=Ua,this.format=Ua,this.type=D,this.compressed=!1,this.premultiplyAlpha=!1,this.flipY=!1,this.unpackAlignment=1,this.colorSpace=Un,this.width=0,this.height=0,this.channels=0}function We(Z,Pe){Z.internalformat=Pe.internalformat,Z.format=Pe.format,Z.type=Pe.type,Z.compressed=Pe.compressed,Z.premultiplyAlpha=Pe.premultiplyAlpha,Z.flipY=Pe.flipY,Z.unpackAlignment=Pe.unpackAlignment,Z.colorSpace=Pe.colorSpace,Z.width=Pe.width,Z.height=Pe.height,Z.channels=Pe.channels}function It(Z,Pe){if(!(typeof Pe!="object"||!Pe)){if("premultiplyAlpha"in Pe&&(Z.premultiplyAlpha=Pe.premultiplyAlpha),"flipY"in Pe&&(Z.flipY=Pe.flipY),"alignment"in Pe&&(Z.unpackAlignment=Pe.alignment),"colorSpace"in Pe&&(Z.colorSpace=Zt[Pe.colorSpace]),"type"in Pe){var ke=Pe.type;Z.type=Ht[ke]}var qt=Z.width,Nr=Z.height,gn=Z.channels,Vt=!1;"shape"in Pe?(qt=Pe.shape[0],Nr=Pe.shape[1],Pe.shape.length===3&&(gn=Pe.shape[2],Vt=!0)):("radius"in Pe&&(qt=Nr=Pe.radius),"width"in Pe&&(qt=Pe.width),"height"in Pe&&(Nr=Pe.height),"channels"in Pe&&(gn=Pe.channels,Vt=!0)),Z.width=qt|0,Z.height=Nr|0,Z.channels=gn|0;var G=!1;if("format"in Pe){var Q=Pe.format,ae=Z.internalformat=xt[Q];Z.format=Kt[ae],Q in Ht&&("type"in Pe||(Z.type=Ht[Q])),Q in nt&&(Z.compressed=!0),G=!0}!Vt&&G?Z.channels=Zn[Z.format]:Vt&&!G&&Z.channels!==Dn[Z.format]&&(Z.format=Z.internalformat=Dn[Z.channels])}}function $e(Z){F.pixelStorei(Xn,Z.flipY),F.pixelStorei(Ga,Z.premultiplyAlpha),F.pixelStorei(Qn,Z.colorSpace),F.pixelStorei(hl,Z.unpackAlignment)}function kt(){Ke.call(this),this.xOffset=0,this.yOffset=0,this.data=null,this.needsFree=!1,this.element=null,this.needsCopy=!1}function pt(Z,Pe){var ke=null;if(Vo(Pe)?ke=Pe:Pe&&(It(Z,Pe),"x"in Pe&&(Z.xOffset=Pe.x|0),"y"in Pe&&(Z.yOffset=Pe.y|0),Vo(Pe.data)&&(ke=Pe.data)),Pe.copy){var qt=He.viewportWidth,Nr=He.viewportHeight;Z.width=Z.width||qt-Z.xOffset,Z.height=Z.height||Nr-Z.yOffset,Z.needsCopy=!0}else if(!ke)Z.width=Z.width||1,Z.height=Z.height||1,Z.channels=Z.channels||4;else if(Pn(ke))Z.channels=Z.channels||4,Z.data=ke,!("type"in Pe)&&Z.type===D&&(Z.type=Qi(ke));else if(Hf(ke))Z.channels=Z.channels||4,oa(Z,ke),Z.alignment=1,Z.needsFree=!0;else if(jn(ke)){var gn=ke.data;!Array.isArray(gn)&&Z.type===D&&(Z.type=Qi(gn));var Vt=ke.shape,G=ke.stride,Q,ae,Re,Ee,_e,be;Vt.length===3?(Re=Vt[2],be=G[2]):(Re=1,be=1),Q=Vt[0],ae=Vt[1],Ee=G[0],_e=G[1],Z.alignment=1,Z.width=Q,Z.height=ae,Z.channels=Re,Z.format=Z.internalformat=Dn[Re],Z.needsFree=!0,qf(Z,gn,Ee,_e,be,ke.offset)}else if(Cu(ke)||Gf(ke)||Cd(ke))Cu(ke)||Gf(ke)?Z.element=ke:Z.element=ke.canvas,Z.width=Z.element.width,Z.height=Z.element.height,Z.channels=4;else if(Od(ke))Z.element=ke,Z.width=ke.width,Z.height=ke.height,Z.channels=4;else if(Ou(ke))Z.element=ke,Z.width=ke.naturalWidth,Z.height=ke.naturalHeight,Z.channels=4;else if(kd(ke))Z.element=ke,Z.width=ke.videoWidth,Z.height=ke.videoHeight,Z.channels=4;else if(Wf(ke)){var ye=Z.width||ke[0].length,re=Z.height||ke.length,ce=Z.channels;Di(ke[0][0])?ce=ce||ke[0][0].length:ce=ce||1;for(var te=Pr.shape(ke),Ae=1,Ue=0;Ue<te.length;++Ue)Ae*=te[Ue];var Je=ml(Z,Ae);Pr.flatten(ke,te,"",Je),As(Z,Je),Z.alignment=1,Z.width=ye,Z.height=re,Z.channels=ce,Z.format=Z.internalformat=Dn[ce],Z.needsFree=!0}Z.type===oe||Z.type}function Jt(Z,Pe,ke){var qt=Z.element,Nr=Z.data,gn=Z.internalformat,Vt=Z.format,G=Z.type,Q=Z.width,ae=Z.height;$e(Z),qt?F.texImage2D(Pe,ke,Vt,Vt,G,qt):Z.compressed?F.compressedTexImage2D(Pe,ke,gn,Q,ae,0,Nr):Z.needsCopy?(Fe(),F.copyTexImage2D(Pe,ke,Vt,Z.xOffset,Z.yOffset,Q,ae,0)):F.texImage2D(Pe,ke,Vt,Q,ae,0,Vt,G,Nr||null)}function Cr(Z,Pe,ke,qt,Nr){var gn=Z.element,Vt=Z.data,G=Z.internalformat,Q=Z.format,ae=Z.type,Re=Z.width,Ee=Z.height;$e(Z),gn?F.texSubImage2D(Pe,Nr,ke,qt,Q,ae,gn):Z.compressed?F.compressedTexSubImage2D(Pe,Nr,ke,qt,G,Re,Ee,Vt):Z.needsCopy?(Fe(),F.copyTexSubImage2D(Pe,Nr,ke,qt,Z.xOffset,Z.yOffset,Re,Ee)):F.texSubImage2D(Pe,Nr,ke,qt,Re,Ee,Q,ae,Vt)}var $t=[];function ur(){return $t.pop()||new kt}function Tt(Z){Z.needsFree&&Le.freeType(Z.data),kt.call(Z),$t.push(Z)}function Or(){Ke.call(this),this.genMipmaps=!1,this.mipmapHint=Ln,this.mipmask=0,this.images=Array(16)}function Lr(Z,Pe,ke){var qt=Z.images[0]=ur();Z.mipmask=1,qt.width=Z.width=Pe,qt.height=Z.height=ke,qt.channels=Z.channels=4}function jr(Z,Pe){var ke=null;if(Vo(Pe))ke=Z.images[0]=ur(),We(ke,Z),pt(ke,Pe),Z.mipmask=1;else if(It(Z,Pe),Array.isArray(Pe.mipmap))for(var qt=Pe.mipmap,Nr=0;Nr<qt.length;++Nr)ke=Z.images[Nr]=ur(),We(ke,Z),ke.width>>=Nr,ke.height>>=Nr,pt(ke,qt[Nr]),Z.mipmask|=1<<Nr;else ke=Z.images[0]=ur(),We(ke,Z),pt(ke,Pe),Z.mipmask=1;We(Z,Z.images[0]),Z.compressed&&(Z.internalformat===_s||Z.internalformat===fl||Z.internalformat===Ca||Z.internalformat)}function ti(Z,Pe){for(var ke=Z.images,qt=0;qt<ke.length;++qt){if(!ke[qt])return;Jt(ke[qt],Pe,qt)}}var Dr=[];function la(){var Z=Dr.pop()||new Or;Ke.call(Z),Z.mipmask=0;for(var Pe=0;Pe<16;++Pe)Z.images[Pe]=null;return Z}function ln(Z){for(var Pe=Z.images,ke=0;ke<Pe.length;++ke)Pe[ke]&&Tt(Pe[ke]),Pe[ke]=null;Dr.push(Z)}function Oi(){this.minFilter=yr,this.magFilter=yr,this.wrapS=ot,this.wrapT=ot,this.anisotropic=1,this.genMipmaps=!1,this.mipmapHint=Ln}function sa(Z,Pe){if("min"in Pe){var ke=Pe.min;Z.minFilter=Ot[ke],di.indexOf(Z.minFilter)>=0&&!("faces"in Pe)&&(Z.genMipmaps=!0)}if("mag"in Pe){var qt=Pe.mag;Z.magFilter=vt[qt]}var Nr=Z.wrapS,gn=Z.wrapT;if("wrap"in Pe){var Vt=Pe.wrap;typeof Vt=="string"?Nr=gn=ct[Vt]:Array.isArray(Vt)&&(Nr=ct[Vt[0]],gn=ct[Vt[1]])}else{if("wrapS"in Pe){var G=Pe.wrapS;Nr=ct[G]}if("wrapT"in Pe){var Q=Pe.wrapT;gn=ct[Q]}}if(Z.wrapS=Nr,Z.wrapT=gn,"anisotropic"in Pe&&(Pe.anisotropic,Z.anisotropic=Pe.anisotropic),"mipmap"in Pe){var ae=!1;switch(typeof Pe.mipmap){case"string":Z.mipmapHint=ft[Pe.mipmap],Z.genMipmaps=!0,ae=!0;break;case"boolean":ae=Z.genMipmaps=Pe.mipmap;break;case"object":Z.genMipmaps=!1,ae=!0;break}ae&&!("min"in Pe)&&(Z.minFilter=pn)}}function Bi(Z,Pe){F.texParameteri(Pe,or,Z.minFilter),F.texParameteri(Pe,Ge,Z.magFilter),F.texParameteri(Pe,fe,Z.wrapS),F.texParameteri(Pe,we,Z.wrapT),X.ext_texture_filter_anisotropic&&F.texParameteri(Pe,Oa,Z.anisotropic),Z.genMipmaps&&(F.hint(Sr,Z.mipmapHint),F.generateMipmap(Pe))}var _o=0,ri={},ni=ne.maxTextureUnits,wr=Array(ni).map(function(){return null});function Na(Z){Ke.call(this),this.mipmask=0,this.internalformat=Ua,this.id=_o++,this.refCount=1,this.target=Z,this.texture=F.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new Oi,Ne.profile&&(this.stats={size:0})}function tn(Z){F.activeTexture(ci),F.bindTexture(Z.target,Z.texture)}function ii(){var Z=wr[0];Z?F.bindTexture(Z.target,Z.texture):F.bindTexture(Xi,null)}function Ki(Z){var Pe=Z.texture,ke=Z.unit,qt=Z.target;ke>=0&&(F.activeTexture(ci+ke),F.bindTexture(qt,null),wr[ke]=null),F.deleteTexture(Pe),Z.texture=null,Z.params=null,Z.pixels=null,Z.refCount=0,delete ri[Z.id],Me.textureCount--}r(Na.prototype,{bind:function(){var Z=this;Z.bindCount+=1;var Pe=Z.unit;if(Pe<0){for(var ke=0;ke<ni;++ke){var qt=wr[ke];if(qt){if(qt.bindCount>0)continue;qt.unit=-1}wr[ke]=Z,Pe=ke;break}Ne.profile&&Me.maxTextureUnits<Pe+1&&(Me.maxTextureUnits=Pe+1),Z.unit=Pe,F.activeTexture(ci+Pe),F.bindTexture(Z.target,Z.texture)}return Pe},unbind:function(){this.bindCount-=1},decRef:function(){--this.refCount<=0&&Ki(this)}});function Ji(Z,Pe){var ke=new Na(Xi);ri[ke.id]=ke,Me.textureCount++;function qt(Vt,G){var Q=ke.texInfo;Oi.call(Q);var ae=la();return typeof Vt=="number"?typeof G=="number"?Lr(ae,Vt|0,G|0):Lr(ae,Vt|0,Vt|0):Vt?(sa(Q,Vt),jr(ae,Vt)):Lr(ae,1,1),Q.genMipmaps&&(ae.mipmask=(ae.width<<1)-1),ke.mipmask=ae.mipmask,We(ke,ae),ke.internalformat=ae.internalformat,qt.width=ae.width,qt.height=ae.height,tn(ke),ti(ae,Xi),Bi(Q,Xi),ii(),ln(ae),Ne.profile&&(ke.stats.size=ka(ke.internalformat,ke.type,ae.width,ae.height,Q.genMipmaps,!1)),qt.format=lt[ke.internalformat],qt.type=ht[ke.type],qt.mag=Qe[Q.magFilter],qt.min=Nt[Q.minFilter],qt.wrapS=St[Q.wrapS],qt.wrapT=St[Q.wrapT],qt}function Nr(Vt,G,Q,ae){var Re=G|0,Ee=Q|0,_e=ae|0,be=ur();return We(be,ke),be.width=0,be.height=0,pt(be,Vt),be.width=be.width||(ke.width>>_e)-Re,be.height=be.height||(ke.height>>_e)-Ee,tn(ke),Cr(be,Xi,Re,Ee,_e),ii(),Tt(be),qt}function gn(Vt,G){var Q=Vt|0,ae=G|0||Q;if(Q===ke.width&&ae===ke.height)return qt;qt.width=ke.width=Q,qt.height=ke.height=ae,tn(ke);for(var Re=0;ke.mipmask>>Re;++Re){var Ee=Q>>Re,_e=ae>>Re;if(!Ee||!_e)break;F.texImage2D(Xi,Re,ke.format,Ee,_e,0,ke.format,ke.type,null)}return ii(),Ne.profile&&(ke.stats.size=ka(ke.internalformat,ke.type,Q,ae,!1,!1)),qt}return qt(Z,Pe),qt.subimage=Nr,qt.resize=gn,qt._reglType="texture2d",qt._texture=ke,Ne.profile&&(qt.stats=ke.stats),qt.destroy=function(){ke.decRef()},qt}function Er(Z,Pe,ke,qt,Nr,gn){var Vt=new Na(go);ri[Vt.id]=Vt,Me.cubeCount++;var G=new Array(6);function Q(Ee,_e,be,ye,re,ce){var te,Ae=Vt.texInfo;for(Oi.call(Ae),te=0;te<6;++te)G[te]=la();if(typeof Ee=="number"||!Ee){var Ue=Ee|0||1;for(te=0;te<6;++te)Lr(G[te],Ue,Ue)}else if(typeof Ee=="object")if(_e)jr(G[0],Ee),jr(G[1],_e),jr(G[2],be),jr(G[3],ye),jr(G[4],re),jr(G[5],ce);else if(sa(Ae,Ee),It(Vt,Ee),"faces"in Ee){var Je=Ee.faces;for(te=0;te<6;++te)We(G[te],Vt),jr(G[te],Je[te])}else for(te=0;te<6;++te)jr(G[te],Ee);for(We(Vt,G[0]),Ae.genMipmaps?Vt.mipmask=(G[0].width<<1)-1:Vt.mipmask=G[0].mipmask,Vt.internalformat=G[0].internalformat,Q.width=G[0].width,Q.height=G[0].height,tn(Vt),te=0;te<6;++te)ti(G[te],jo+te);for(Bi(Ae,go),ii(),Ne.profile&&(Vt.stats.size=ka(Vt.internalformat,Vt.type,Q.width,Q.height,Ae.genMipmaps,!0)),Q.format=lt[Vt.internalformat],Q.type=ht[Vt.type],Q.mag=Qe[Ae.magFilter],Q.min=Nt[Ae.minFilter],Q.wrapS=St[Ae.wrapS],Q.wrapT=St[Ae.wrapT],te=0;te<6;++te)ln(G[te]);return Q}function ae(Ee,_e,be,ye,re){var ce=be|0,te=ye|0,Ae=re|0,Ue=ur();return We(Ue,Vt),Ue.width=0,Ue.height=0,pt(Ue,_e),Ue.width=Ue.width||(Vt.width>>Ae)-ce,Ue.height=Ue.height||(Vt.height>>Ae)-te,tn(Vt),Cr(Ue,jo+Ee,ce,te,Ae),ii(),Tt(Ue),Q}function Re(Ee){var _e=Ee|0;if(_e!==Vt.width){Q.width=Vt.width=_e,Q.height=Vt.height=_e,tn(Vt);for(var be=0;be<6;++be)for(var ye=0;Vt.mipmask>>ye;++ye)F.texImage2D(jo+be,ye,Vt.format,_e>>ye,_e>>ye,0,Vt.format,Vt.type,null);return ii(),Ne.profile&&(Vt.stats.size=ka(Vt.internalformat,Vt.type,Q.width,Q.height,!1,!0)),Q}}return Q(Z,Pe,ke,qt,Nr,gn),Q.subimage=ae,Q.resize=Re,Q._reglType="textureCube",Q._texture=Vt,Ne.profile&&(Q.stats=Vt.stats),Q.destroy=function(){Vt.decRef()},Q}function $r(){for(var Z=0;Z<ni;++Z)F.activeTexture(ci+Z),F.bindTexture(Xi,null),wr[Z]=null;Nn(ri).forEach(Ki),Me.cubeCount=0,Me.textureCount=0}Ne.profile&&(Me.getTotalTextureSize=function(){var Z=0;return Object.keys(ri).forEach(function(Pe){Z+=ri[Pe].stats.size}),Z});function cn(){for(var Z=0;Z<ni;++Z){var Pe=wr[Z];Pe&&(Pe.bindCount=0,Pe.unit=-1,wr[Z]=null)}Nn(ri).forEach(function(ke){ke.texture=F.createTexture(),F.bindTexture(ke.target,ke.texture);for(var qt=0;qt<32;++qt)if((ke.mipmask&1<<qt)!==0)if(ke.target===Xi)F.texImage2D(Xi,qt,ke.internalformat,ke.width>>qt,ke.height>>qt,0,ke.internalformat,ke.type,null);else for(var Nr=0;Nr<6;++Nr)F.texImage2D(jo+Nr,qt,ke.internalformat,ke.width>>qt,ke.height>>qt,0,ke.internalformat,ke.type,null);Bi(ke.texInfo,ke.target)})}function ai(){for(var Z=0;Z<ni;++Z){var Pe=wr[Z];Pe&&(Pe.bindCount=0,Pe.unit=-1,wr[Z]=null),F.activeTexture(ci+Z),F.bindTexture(Xi,null),F.bindTexture(go,null)}}return{create2D:Ji,createCube:Er,clear:$r,getTexture:function(Z){return null},restore:cn,refresh:ai}}var Zi=36161,hi=32854,$i=32855,ku=36194,Ts=33189,Vf=36168,Yf=34041,yl=35907,Va=34836,bl=34842,Cs=34843,pi=[];pi[hi]=2,pi[$i]=2,pi[ku]=2,pi[Ts]=2,pi[Vf]=1,pi[Yf]=4,pi[yl]=4,pi[Va]=16,pi[bl]=8,pi[Cs]=6;function Mu(F,X,ne){return pi[F]*X*ne}var xl=function(F,X,ne,Fe,He){var Me={rgba4:hi,rgb565:ku,"rgb5 a1":$i,depth:Ts,stencil:Vf,"depth stencil":Yf};X.ext_srgb&&(Me.srgba=yl),X.ext_color_buffer_half_float&&(Me.rgba16f=bl,Me.rgb16f=Cs),X.webgl_color_buffer_float&&(Me.rgba32f=Va);var Ne=[];Object.keys(Me).forEach(function(xt){var nt=Me[xt];Ne[nt]=xt});var ft=0,ct={};function vt(xt){this.id=ft++,this.refCount=1,this.renderbuffer=xt,this.format=hi,this.width=0,this.height=0,He.profile&&(this.stats={size:0})}vt.prototype.decRef=function(){--this.refCount<=0&&Ot(this)};function Ot(xt){var nt=xt.renderbuffer;F.bindRenderbuffer(Zi,null),F.deleteRenderbuffer(nt),xt.renderbuffer=null,xt.refCount=0,delete ct[xt.id],Fe.renderbufferCount--}function Zt(xt,nt){var xe=new vt(F.createRenderbuffer());ct[xe.id]=xe,Fe.renderbufferCount++;function ze(ht,Qe){var Nt=0,St=0,Kt=hi;if(typeof ht=="object"&&ht){var Ke=ht;if("shape"in Ke){var We=Ke.shape;Nt=We[0]|0,St=We[1]|0}else"radius"in Ke&&(Nt=St=Ke.radius|0),"width"in Ke&&(Nt=Ke.width|0),"height"in Ke&&(St=Ke.height|0);"format"in Ke&&(Kt=Me[Ke.format])}else typeof ht=="number"?(Nt=ht|0,typeof Qe=="number"?St=Qe|0:St=Nt):ht||(Nt=St=1);if(!(Nt===xe.width&&St===xe.height&&Kt===xe.format))return ze.width=xe.width=Nt,ze.height=xe.height=St,xe.format=Kt,F.bindRenderbuffer(Zi,xe.renderbuffer),F.renderbufferStorage(Zi,Kt,Nt,St),He.profile&&(xe.stats.size=Mu(xe.format,xe.width,xe.height)),ze.format=Ne[xe.format],ze}function lt(ht,Qe){var Nt=ht|0,St=Qe|0||Nt;return Nt===xe.width&&St===xe.height||(ze.width=xe.width=Nt,ze.height=xe.height=St,F.bindRenderbuffer(Zi,xe.renderbuffer),F.renderbufferStorage(Zi,xe.format,Nt,St),He.profile&&(xe.stats.size=Mu(xe.format,xe.width,xe.height))),ze}return ze(xt,nt),ze.resize=lt,ze._reglType="renderbuffer",ze._renderbuffer=xe,He.profile&&(ze.stats=xe.stats),ze.destroy=function(){xe.decRef()},ze}He.profile&&(Fe.getTotalRenderbufferSize=function(){var xt=0;return Object.keys(ct).forEach(function(nt){xt+=ct[nt].stats.size}),xt});function Ht(){Nn(ct).forEach(function(xt){xt.renderbuffer=F.createRenderbuffer(),F.bindRenderbuffer(Zi,xt.renderbuffer),F.renderbufferStorage(Zi,xt.format,xt.width,xt.height)}),F.bindRenderbuffer(Zi,null)}return{create:Zt,clear:function(){Nn(ct).forEach(Ot)},restore:Ht}},Ma=36160,Yo=36161,Ya=3553,Xa=34069,Xo=36064,U=36096,le=36128,me=33306,Ve=36053,Se=36193,et=5121,dt=5126,Pt=6407,zt=6408,dr=[];dr[zt]=4,dr[Pt]=3;var lr=[];lr[et]=1,lr[dt]=4,lr[Se]=2;function pr(F,X,ne,Fe,He,Me){var Ne={cur:null,next:null,dirty:!1,setFBO:null},ft=["rgba"],ct=["rgba4","rgb565","rgb5 a1"];X.ext_srgb&&ct.push("srgba"),X.ext_color_buffer_half_float&&ct.push("rgba16f","rgb16f"),X.webgl_color_buffer_float&&ct.push("rgba32f"),X.oes_texture_half_float,X.oes_texture_float;function vt($e,kt,pt){this.target=$e,this.texture=kt,this.renderbuffer=pt;var Jt=0,Cr=0;kt?(Jt=kt.width,Cr=kt.height):pt&&(Jt=pt.width,Cr=pt.height),this.width=Jt,this.height=Cr}function Ot($e){$e&&($e.texture&&$e.texture._texture.decRef(),$e.renderbuffer&&$e.renderbuffer._renderbuffer.decRef())}function Zt($e,kt,pt){if(!!$e)if($e.texture){var Jt=$e.texture._texture;Math.max(1,Jt.width),Math.max(1,Jt.height),Jt.refCount+=1}else{var Cr=$e.renderbuffer._renderbuffer;Cr.refCount+=1}}function Ht($e,kt){kt&&(kt.texture?F.framebufferTexture2D(Ma,$e,kt.target,kt.texture._texture.texture,0):F.framebufferRenderbuffer(Ma,$e,Yo,kt.renderbuffer._renderbuffer.renderbuffer))}function xt($e){var kt=Ya,pt=null,Jt=null,Cr=$e;typeof $e=="object"&&(Cr=$e.data,"target"in $e&&(kt=$e.target|0));var $t=Cr._reglType;return $t==="texture2d"||$t==="textureCube"?pt=Cr:$t==="renderbuffer"&&(Jt=Cr,kt=Yo),new vt(kt,pt,Jt)}function nt($e,kt,pt,Jt,Cr){if(pt){var $t=Fe.create2D({width:$e,height:kt,format:Jt,type:Cr});return $t._texture.refCount=0,new vt(Ya,$t,null)}else{var ur=He.create({width:$e,height:kt,format:Jt});return ur._renderbuffer.refCount=0,new vt(Yo,null,ur)}}function xe($e){return $e&&($e.texture||$e.renderbuffer)}function ze($e,kt,pt){$e&&($e.texture?$e.texture.resize(kt,pt):$e.renderbuffer&&$e.renderbuffer.resize(kt,pt),$e.width=kt,$e.height=pt)}var lt=0,ht={};function Qe(){this.id=lt++,ht[this.id]=this,this.framebuffer=F.createFramebuffer(),this.width=0,this.height=0,this.colorAttachments=[],this.depthAttachment=null,this.stencilAttachment=null,this.depthStencilAttachment=null}function Nt($e){$e.colorAttachments.forEach(Ot),Ot($e.depthAttachment),Ot($e.stencilAttachment),Ot($e.depthStencilAttachment)}function St($e){var kt=$e.framebuffer;F.deleteFramebuffer(kt),$e.framebuffer=null,Me.framebufferCount--,delete ht[$e.id]}function Kt($e){var kt;F.bindFramebuffer(Ma,$e.framebuffer);var pt=$e.colorAttachments;for(kt=0;kt<pt.length;++kt)Ht(Xo+kt,pt[kt]);for(kt=pt.length;kt<ne.maxColorAttachments;++kt)F.framebufferTexture2D(Ma,Xo+kt,Ya,null,0);F.framebufferTexture2D(Ma,me,Ya,null,0),F.framebufferTexture2D(Ma,U,Ya,null,0),F.framebufferTexture2D(Ma,le,Ya,null,0),Ht(U,$e.depthAttachment),Ht(le,$e.stencilAttachment),Ht(me,$e.depthStencilAttachment);var Jt=F.checkFramebufferStatus(Ma);F.isContextLost(),F.bindFramebuffer(Ma,Ne.next?Ne.next.framebuffer:null),Ne.cur=Ne.next,F.getError()}function Ke($e,kt){var pt=new Qe;Me.framebufferCount++;function Jt($t,ur){var Tt,Or=0,Lr=0,jr=!0,ti=!0,Dr=null,la=!0,ln="rgba",Oi="uint8",sa=1,Bi=null,_o=null,ri=null,ni=!1;if(typeof $t=="number")Or=$t|0,Lr=ur|0||Or;else if(!$t)Or=Lr=1;else{var wr=$t;if("shape"in wr){var Na=wr.shape;Or=Na[0],Lr=Na[1]}else"radius"in wr&&(Or=Lr=wr.radius),"width"in wr&&(Or=wr.width),"height"in wr&&(Lr=wr.height);("color"in wr||"colors"in wr)&&(Dr=wr.color||wr.colors),Dr||("colorCount"in wr&&(sa=wr.colorCount|0),"colorTexture"in wr&&(la=!!wr.colorTexture,ln="rgba4"),"colorType"in wr&&(Oi=wr.colorType,la||(Oi==="half float"||Oi==="float16"?ln="rgba16f":(Oi==="float"||Oi==="float32")&&(ln="rgba32f"))),"colorFormat"in wr&&(ln=wr.colorFormat,ft.indexOf(ln)>=0?la=!0:ct.indexOf(ln)>=0&&(la=!1))),("depthTexture"in wr||"depthStencilTexture"in wr)&&(ni=!!(wr.depthTexture||wr.depthStencilTexture)),"depth"in wr&&(typeof wr.depth=="boolean"?jr=wr.depth:(Bi=wr.depth,ti=!1)),"stencil"in wr&&(typeof wr.stencil=="boolean"?ti=wr.stencil:(_o=wr.stencil,jr=!1)),"depthStencil"in wr&&(typeof wr.depthStencil=="boolean"?jr=ti=wr.depthStencil:(ri=wr.depthStencil,jr=!1,ti=!1))}var tn=null,ii=null,Ki=null,Ji=null;if(Array.isArray(Dr))tn=Dr.map(xt);else if(Dr)tn=[xt(Dr)];else for(tn=new Array(sa),Tt=0;Tt<sa;++Tt)tn[Tt]=nt(Or,Lr,la,ln,Oi);for(Or=Or||tn[0].width,Lr=Lr||tn[0].height,Bi?ii=xt(Bi):jr&&!ti&&(ii=nt(Or,Lr,ni,"depth","uint32")),_o?Ki=xt(_o):ti&&!jr&&(Ki=nt(Or,Lr,!1,"stencil","uint8")),ri?Ji=xt(ri):!Bi&&!_o&&ti&&jr&&(Ji=nt(Or,Lr,ni,"depth stencil","depth stencil")),Tt=0;Tt<tn.length;++Tt)Zt(tn[Tt]),tn[Tt]&&tn[Tt].texture&&dr[tn[Tt].texture._texture.format]*lr[tn[Tt].texture._texture.type];return Zt(ii),Zt(Ki),Zt(Ji),Nt(pt),pt.width=Or,pt.height=Lr,pt.colorAttachments=tn,pt.depthAttachment=ii,pt.stencilAttachment=Ki,pt.depthStencilAttachment=Ji,Jt.color=tn.map(xe),Jt.depth=xe(ii),Jt.stencil=xe(Ki),Jt.depthStencil=xe(Ji),Jt.width=pt.width,Jt.height=pt.height,Kt(pt),Jt}function Cr($t,ur){var Tt=Math.max($t|0,1),Or=Math.max(ur|0||Tt,1);if(Tt===pt.width&&Or===pt.height)return Jt;for(var Lr=pt.colorAttachments,jr=0;jr<Lr.length;++jr)ze(Lr[jr],Tt,Or);return ze(pt.depthAttachment,Tt,Or),ze(pt.stencilAttachment,Tt,Or),ze(pt.depthStencilAttachment,Tt,Or),pt.width=Jt.width=Tt,pt.height=Jt.height=Or,Kt(pt),Jt}return Jt($e,kt),r(Jt,{resize:Cr,_reglType:"framebuffer",_framebuffer:pt,destroy:function(){St(pt),Nt(pt)},use:function($t){Ne.setFBO({framebuffer:Jt},$t)}})}function We($e){var kt=Array(6);function pt(Cr){var $t,ur={color:null},Tt=0,Or=null,Lr="rgba",jr="uint8",ti=1;if(typeof Cr=="number")Tt=Cr|0;else if(!Cr)Tt=1;else{var Dr=Cr;if("shape"in Dr){var la=Dr.shape;Tt=la[0]}else"radius"in Dr&&(Tt=Dr.radius|0),"width"in Dr?Tt=Dr.width|0:"height"in Dr&&(Tt=Dr.height|0);("color"in Dr||"colors"in Dr)&&(Or=Dr.color||Dr.colors),Or||("colorCount"in Dr&&(ti=Dr.colorCount|0),"colorType"in Dr&&(jr=Dr.colorType),"colorFormat"in Dr&&(Lr=Dr.colorFormat)),"depth"in Dr&&(ur.depth=Dr.depth),"stencil"in Dr&&(ur.stencil=Dr.stencil),"depthStencil"in Dr&&(ur.depthStencil=Dr.depthStencil)}var ln;if(Or)if(Array.isArray(Or))for(ln=[],$t=0;$t<Or.length;++$t)ln[$t]=Or[$t];else ln=[Or];else{ln=Array(ti);var Oi={radius:Tt,format:Lr,type:jr};for($t=0;$t<ti;++$t)ln[$t]=Fe.createCube(Oi)}for(ur.color=Array(ln.length),$t=0;$t<ln.length;++$t){var sa=ln[$t];Tt=Tt||sa.width,ur.color[$t]={target:Xa,data:ln[$t]}}for($t=0;$t<6;++$t){for(var Bi=0;Bi<ln.length;++Bi)ur.color[Bi].target=Xa+$t;$t>0&&(ur.depth=kt[0].depth,ur.stencil=kt[0].stencil,ur.depthStencil=kt[0].depthStencil),kt[$t]?kt[$t](ur):kt[$t]=Ke(ur)}return r(pt,{width:Tt,height:Tt,color:ln})}function Jt(Cr){var $t,ur=Cr|0;if(ur===pt.width)return pt;var Tt=pt.color;for($t=0;$t<Tt.length;++$t)Tt[$t].resize(ur);for($t=0;$t<6;++$t)kt[$t].resize(ur);return pt.width=pt.height=ur,pt}return pt($e),r(pt,{faces:kt,resize:Jt,_reglType:"framebufferCube",destroy:function(){kt.forEach(function(Cr){Cr.destroy()})}})}function It(){Ne.cur=null,Ne.next=null,Ne.dirty=!0,Nn(ht).forEach(function($e){$e.framebuffer=F.createFramebuffer(),Kt($e)})}return r(Ne,{getFramebuffer:function($e){if(typeof $e=="function"&&$e._reglType==="framebuffer"){var kt=$e._framebuffer;if(kt instanceof Qe)return kt}return null},create:Ke,createCube:We,clear:function(){Nn(ht).forEach(St)},restore:It})}var Mr=5126,Xr=34962,cr=34963;function bn(){this.state=0,this.x=0,this.y=0,this.z=0,this.w=0,this.buffer=null,this.size=0,this.normalized=!1,this.type=Mr,this.offset=0,this.stride=0,this.divisor=0}function Hn(F,X,ne,Fe,He,Me,Ne){for(var ft=ne.maxAttributes,ct=new Array(ft),vt=0;vt<ft;++vt)ct[vt]=new bn;var Ot=0,Zt={},Ht={Record:bn,scope:{},state:ct,currentVAO:null,targetVAO:null,restore:nt()?St:function(){},createVAO:Kt,getVAO:ze,destroyBuffer:xt,setVAO:nt()?lt:ht,clear:nt()?Qe:function(){}};function xt(Ke){for(var We=0;We<ct.length;++We){var It=ct[We];It.buffer===Ke&&(F.disableVertexAttribArray(We),It.buffer=null)}}function nt(){return X.oes_vertex_array_object}function xe(){return X.angle_instanced_arrays}function ze(Ke){return typeof Ke=="function"&&Ke._vao?Ke._vao:null}function lt(Ke){if(Ke!==Ht.currentVAO){var We=nt();Ke?We.bindVertexArrayOES(Ke.vao):We.bindVertexArrayOES(null),Ht.currentVAO=Ke}}function ht(Ke){if(Ke!==Ht.currentVAO){if(Ke)Ke.bindAttrs();else{for(var We=xe(),It=0;It<ct.length;++It){var $e=ct[It];$e.buffer?(F.enableVertexAttribArray(It),$e.buffer.bind(),F.vertexAttribPointer(It,$e.size,$e.type,$e.normalized,$e.stride,$e.offfset),We&&$e.divisor&&We.vertexAttribDivisorANGLE(It,$e.divisor)):(F.disableVertexAttribArray(It),F.vertexAttrib4f(It,$e.x,$e.y,$e.z,$e.w))}Ne.elements?F.bindBuffer(cr,Ne.elements.buffer.buffer):F.bindBuffer(cr,null)}Ht.currentVAO=Ke}}function Qe(){Nn(Zt).forEach(function(Ke){Ke.destroy()})}function Nt(){this.id=++Ot,this.attributes=[],this.elements=null,this.ownsElements=!1,this.count=0,this.offset=0,this.instances=-1,this.primitive=4;var Ke=nt();Ke?this.vao=Ke.createVertexArrayOES():this.vao=null,Zt[this.id]=this,this.buffers=[]}Nt.prototype.bindAttrs=function(){for(var Ke=xe(),We=this.attributes,It=0;It<We.length;++It){var $e=We[It];$e.buffer?(F.enableVertexAttribArray(It),F.bindBuffer(Xr,$e.buffer.buffer),F.vertexAttribPointer(It,$e.size,$e.type,$e.normalized,$e.stride,$e.offset),Ke&&$e.divisor&&Ke.vertexAttribDivisorANGLE(It,$e.divisor)):(F.disableVertexAttribArray(It),F.vertexAttrib4f(It,$e.x,$e.y,$e.z,$e.w))}for(var kt=We.length;kt<ft;++kt)F.disableVertexAttribArray(kt);var pt=Me.getElements(this.elements);pt?F.bindBuffer(cr,pt.buffer.buffer):F.bindBuffer(cr,null)},Nt.prototype.refresh=function(){var Ke=nt();Ke&&(Ke.bindVertexArrayOES(this.vao),this.bindAttrs(),Ht.currentVAO=null,Ke.bindVertexArrayOES(null))},Nt.prototype.destroy=function(){if(this.vao){var Ke=nt();this===Ht.currentVAO&&(Ht.currentVAO=null,Ke.bindVertexArrayOES(null)),Ke.deleteVertexArrayOES(this.vao),this.vao=null}this.ownsElements&&(this.elements.destroy(),this.elements=null,this.ownsElements=!1),Zt[this.id]&&(delete Zt[this.id],Fe.vaoCount-=1)};function St(){var Ke=nt();Ke&&Nn(Zt).forEach(function(We){We.refresh()})}function Kt(Ke){var We=new Nt;Fe.vaoCount+=1;function It($e){var kt;if(Array.isArray($e))kt=$e,We.elements&&We.ownsElements&&We.elements.destroy(),We.elements=null,We.ownsElements=!1,We.offset=0,We.count=0,We.instances=-1,We.primitive=4;else{if($e.elements){var pt=$e.elements;We.ownsElements?typeof pt=="function"&&pt._reglType==="elements"?(We.elements.destroy(),We.ownsElements=!1):(We.elements(pt),We.ownsElements=!1):Me.getElements($e.elements)?(We.elements=$e.elements,We.ownsElements=!1):(We.elements=Me.create($e.elements),We.ownsElements=!0)}else We.elements=null,We.ownsElements=!1;kt=$e.attributes,We.offset=0,We.count=-1,We.instances=-1,We.primitive=4,We.elements&&(We.count=We.elements._elements.vertCount,We.primitive=We.elements._elements.primType),"offset"in $e&&(We.offset=$e.offset|0),"count"in $e&&(We.count=$e.count|0),"instances"in $e&&(We.instances=$e.instances|0),"primitive"in $e&&(We.primitive=Cn[$e.primitive])}var Jt={},Cr=We.attributes;Cr.length=kt.length;for(var $t=0;$t<kt.length;++$t){var ur=kt[$t],Tt=Cr[$t]=new bn,Or=ur.data||ur;if(Array.isArray(Or)||Pn(Or)||jn(Or)){var Lr;We.buffers[$t]&&(Lr=We.buffers[$t],Pn(Or)&&Lr._buffer.byteLength>=Or.byteLength?Lr.subdata(Or):(Lr.destroy(),We.buffers[$t]=null)),We.buffers[$t]||(Lr=We.buffers[$t]=He.create(ur,Xr,!1,!0)),Tt.buffer=He.getBuffer(Lr),Tt.size=Tt.buffer.dimension|0,Tt.normalized=!1,Tt.type=Tt.buffer.dtype,Tt.offset=0,Tt.stride=0,Tt.divisor=0,Tt.state=1,Jt[$t]=1}else He.getBuffer(ur)?(Tt.buffer=He.getBuffer(ur),Tt.size=Tt.buffer.dimension|0,Tt.normalized=!1,Tt.type=Tt.buffer.dtype,Tt.offset=0,Tt.stride=0,Tt.divisor=0,Tt.state=1):He.getBuffer(ur.buffer)?(Tt.buffer=He.getBuffer(ur.buffer),Tt.size=(+ur.size||Tt.buffer.dimension)|0,Tt.normalized=!!ur.normalized||!1,"type"in ur?Tt.type=Fo[ur.type]:Tt.type=Tt.buffer.dtype,Tt.offset=(ur.offset||0)|0,Tt.stride=(ur.stride||0)|0,Tt.divisor=(ur.divisor||0)|0,Tt.state=1):"x"in ur&&(Tt.x=+ur.x||0,Tt.y=+ur.y||0,Tt.z=+ur.z||0,Tt.w=+ur.w||0,Tt.state=2)}for(var jr=0;jr<We.buffers.length;++jr)!Jt[jr]&&We.buffers[jr]&&(We.buffers[jr].destroy(),We.buffers[jr]=null);return We.refresh(),It}return It.destroy=function(){for(var $e=0;$e<We.buffers.length;++$e)We.buffers[$e]&&We.buffers[$e].destroy();We.buffers.length=0,We.ownsElements&&(We.elements.destroy(),We.elements=null,We.ownsElements=!1),We.destroy()},It._vao=We,It._reglType="vao",It(Ke)}return Ht}var Kn=35632,on=35633,Pu=35718,bo=35721;function vi(F,X,ne,Fe){var He={},Me={};function Ne(xe,ze,lt,ht){this.name=xe,this.id=ze,this.location=lt,this.info=ht}function ft(xe,ze){for(var lt=0;lt<xe.length;++lt)if(xe[lt].id===ze.id){xe[lt].location=ze.location;return}xe.push(ze)}function ct(xe,ze,lt){var ht=xe===Kn?He:Me,Qe=ht[ze];if(!Qe){var Nt=X.str(ze);Qe=F.createShader(xe),F.shaderSource(Qe,Nt),F.compileShader(Qe),ht[ze]=Qe}return Qe}var vt={},Ot=[],Zt=0;function Ht(xe,ze){this.id=Zt++,this.fragId=xe,this.vertId=ze,this.program=null,this.uniforms=[],this.attributes=[],this.refCount=1,Fe.profile&&(this.stats={uniformsCount:0,attributesCount:0})}function xt(xe,ze,lt){var ht,Qe,Nt=ct(Kn,xe.fragId),St=ct(on,xe.vertId),Kt=xe.program=F.createProgram();if(F.attachShader(Kt,Nt),F.attachShader(Kt,St),lt)for(ht=0;ht<lt.length;++ht){var Ke=lt[ht];F.bindAttribLocation(Kt,Ke[0],Ke[1])}F.linkProgram(Kt);var We=F.getProgramParameter(Kt,Pu);Fe.profile&&(xe.stats.uniformsCount=We);var It=xe.uniforms;for(ht=0;ht<We;++ht)if(Qe=F.getActiveUniform(Kt,ht),Qe)if(Qe.size>1)for(var $e=0;$e<Qe.size;++$e){var kt=Qe.name.replace("[0]","["+$e+"]");ft(It,new Ne(kt,X.id(kt),F.getUniformLocation(Kt,kt),Qe))}else ft(It,new Ne(Qe.name,X.id(Qe.name),F.getUniformLocation(Kt,Qe.name),Qe));var pt=F.getProgramParameter(Kt,bo);Fe.profile&&(xe.stats.attributesCount=pt);var Jt=xe.attributes;for(ht=0;ht<pt;++ht)Qe=F.getActiveAttrib(Kt,ht),Qe&&ft(Jt,new Ne(Qe.name,X.id(Qe.name),F.getAttribLocation(Kt,Qe.name),Qe))}Fe.profile&&(ne.getMaxUniformsCount=function(){var xe=0;return Ot.forEach(function(ze){ze.stats.uniformsCount>xe&&(xe=ze.stats.uniformsCount)}),xe},ne.getMaxAttributesCount=function(){var xe=0;return Ot.forEach(function(ze){ze.stats.attributesCount>xe&&(xe=ze.stats.attributesCount)}),xe});function nt(){He={},Me={};for(var xe=0;xe<Ot.length;++xe)xt(Ot[xe],null,Ot[xe].attributes.map(function(ze){return[ze.location,ze.name]}))}return{clear:function(){var xe=F.deleteShader.bind(F);Nn(He).forEach(xe),He={},Nn(Me).forEach(xe),Me={},Ot.forEach(function(ze){F.deleteProgram(ze.program)}),Ot.length=0,vt={},ne.shaderCount=0},program:function(xe,ze,lt,ht){var Qe=vt[ze];Qe||(Qe=vt[ze]={});var Nt=Qe[xe];if(Nt&&(Nt.refCount++,!ht))return Nt;var St=new Ht(ze,xe);return ne.shaderCount++,xt(St,lt,ht),Nt||(Qe[xe]=St),Ot.push(St),r(St,{destroy:function(){if(St.refCount--,St.refCount<=0){F.deleteProgram(St.program);var Kt=Ot.indexOf(St);Ot.splice(Kt,1),ne.shaderCount--}Qe[St.vertId].refCount<=0&&(F.deleteShader(Me[St.vertId]),delete Me[St.vertId],delete vt[St.fragId][St.vertId]),Object.keys(vt[St.fragId]).length||(F.deleteShader(He[St.fragId]),delete He[St.fragId],delete vt[St.fragId])}})},restore:nt,shader:ct,frag:-1,vert:-1}}var cv=6408,Md=5121,ey=3333,ty=5126;function dv(F,X,ne,Fe,He,Me,Ne){function ft(Ot){var Zt;X.next===null?Zt=Md:Zt=X.next.colorAttachments[0].texture._texture.type;var Ht=0,xt=0,nt=Fe.framebufferWidth,xe=Fe.framebufferHeight,ze=null;Pn(Ot)?ze=Ot:Ot&&(Ht=Ot.x|0,xt=Ot.y|0,nt=(Ot.width||Fe.framebufferWidth-Ht)|0,xe=(Ot.height||Fe.framebufferHeight-xt)|0,ze=Ot.data||null),ne();var lt=nt*xe*4;return ze||(Zt===Md?ze=new Uint8Array(lt):Zt===ty&&(ze=ze||new Float32Array(lt))),F.pixelStorei(ey,4),F.readPixels(Ht,xt,nt,xe,cv,Zt,ze),ze}function ct(Ot){var Zt;return X.setFBO({framebuffer:Ot.framebuffer},function(){Zt=ft(Ot)}),Zt}function vt(Ot){return!Ot||!("framebuffer"in Ot)?ft(Ot):ct(Ot)}return vt}function hv(F){return Pd(pv(Nd(F)))}function pv(F){return ny(ay(ry(F),F.length*8))}function Pd(F){for(var X="0123456789abcdef",ne="",Fe,He=0;He<F.length;He++)Fe=F.charCodeAt(He),ne+=X.charAt(Fe>>>4&15)+X.charAt(Fe&15);return ne}function Nd(F){for(var X="",ne=-1,Fe,He;++ne<F.length;)Fe=F.charCodeAt(ne),He=ne+1<F.length?F.charCodeAt(ne+1):0,55296<=Fe&&Fe<=56319&&56320<=He&&He<=57343&&(Fe=65536+((Fe&1023)<<10)+(He&1023),ne++),Fe<=127?X+=String.fromCharCode(Fe):Fe<=2047?X+=String.fromCharCode(192|Fe>>>6&31,128|Fe&63):Fe<=65535?X+=String.fromCharCode(224|Fe>>>12&15,128|Fe>>>6&63,128|Fe&63):Fe<=2097151&&(X+=String.fromCharCode(240|Fe>>>18&7,128|Fe>>>12&63,128|Fe>>>6&63,128|Fe&63));return X}function ry(F){for(var X=Array(F.length>>2),ne=0;ne<X.length;ne++)X[ne]=0;for(var ne=0;ne<F.length*8;ne+=8)X[ne>>5]|=(F.charCodeAt(ne/8)&255)<<24-ne%32;return X}function ny(F){for(var X="",ne=0;ne<F.length*32;ne+=8)X+=String.fromCharCode(F[ne>>5]>>>24-ne%32&255);return X}function Qa(F,X){return F>>>X|F<<32-X}function vv(F,X){return F>>>X}function iy(F,X,ne){return F&X^~F&ne}function gv(F,X,ne){return F&X^F&ne^X&ne}function mv(F){return Qa(F,2)^Qa(F,13)^Qa(F,22)}function Rd(F){return Qa(F,6)^Qa(F,11)^Qa(F,25)}function yv(F){return Qa(F,7)^Qa(F,18)^vv(F,3)}function Xf(F){return Qa(F,17)^Qa(F,19)^vv(F,10)}var Qf=new Array(1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998);function ay(F,X){var ne=new Array(1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225),Fe=new Array(64),He,Me,Ne,ft,ct,vt,Ot,Zt,Ht,xt,nt,xe;for(F[X>>5]|=128<<24-X%32,F[(X+64>>9<<4)+15]=X,Ht=0;Ht<F.length;Ht+=16){for(He=ne[0],Me=ne[1],Ne=ne[2],ft=ne[3],ct=ne[4],vt=ne[5],Ot=ne[6],Zt=ne[7],xt=0;xt<64;xt++)xt<16?Fe[xt]=F[xt+Ht]:Fe[xt]=Rn(Rn(Rn(Xf(Fe[xt-2]),Fe[xt-7]),yv(Fe[xt-15])),Fe[xt-16]),nt=Rn(Rn(Rn(Rn(Zt,Rd(ct)),iy(ct,vt,Ot)),Qf[xt]),Fe[xt]),xe=Rn(mv(He),gv(He,Me,Ne)),Zt=Ot,Ot=vt,vt=ct,ct=Rn(ft,nt),ft=Ne,Ne=Me,Me=He,He=Rn(nt,xe);ne[0]=Rn(He,ne[0]),ne[1]=Rn(Me,ne[1]),ne[2]=Rn(Ne,ne[2]),ne[3]=Rn(ft,ne[3]),ne[4]=Rn(ct,ne[4]),ne[5]=Rn(vt,ne[5]),ne[6]=Rn(Ot,ne[6]),ne[7]=Rn(Zt,ne[7])}return ne}function Rn(F,X){var ne=(F&65535)+(X&65535),Fe=(F>>16)+(X>>16)+(ne>>16);return Fe<<16|ne&65535}function Nu(F){return Array.prototype.slice.call(F)}function wl(F){return Nu(F).join("")}function oy(F){var X=F&&F.cache,ne=0,Fe=[],He=[],Me=[];function Ne(nt,xe){var ze=xe&&xe.stable;if(!ze){for(var lt=0;lt<He.length;++lt)if(He[lt]===nt&&!Me[lt])return Fe[lt]}var ht="g"+ne++;return Fe.push(ht),He.push(nt),Me.push(ze),ht}function ft(){var nt=[];function xe(){nt.push.apply(nt,Nu(arguments))}var ze=[];function lt(){var ht="v"+ne++;return ze.push(ht),arguments.length>0&&(nt.push(ht,"="),nt.push.apply(nt,Nu(arguments)),nt.push(";")),ht}return r(xe,{def:lt,toString:function(){return wl([ze.length>0?"var "+ze.join(",")+";":"",wl(nt)])}})}function ct(){var nt=ft(),xe=ft(),ze=nt.toString,lt=xe.toString;function ht(Qe,Nt){xe(Qe,Nt,"=",nt.def(Qe,Nt),";")}return r(function(){nt.apply(nt,Nu(arguments))},{def:nt.def,entry:nt,exit:xe,save:ht,set:function(Qe,Nt,St){ht(Qe,Nt),nt(Qe,Nt,"=",St,";")},toString:function(){return ze()+lt()}})}function vt(){var nt=wl(arguments),xe=ct(),ze=ct(),lt=xe.toString,ht=ze.toString;return r(xe,{then:function(){return xe.apply(xe,Nu(arguments)),this},else:function(){return ze.apply(ze,Nu(arguments)),this},toString:function(){var Qe=ht();return Qe&&(Qe="else{"+Qe+"}"),wl(["if(",nt,"){",lt(),"}",Qe])}})}var Ot=ft(),Zt={};function Ht(nt,xe){var ze=[];function lt(){var Kt="a"+ze.length;return ze.push(Kt),Kt}xe=xe||0;for(var ht=0;ht<xe;++ht)lt();var Qe=ct(),Nt=Qe.toString,St=Zt[nt]=r(Qe,{arg:lt,toString:function(){return wl(["function(",ze.join(),"){",Nt(),"}"])}});return St}function xt(){var nt=['"use strict";',Ot,"return {"];Object.keys(Zt).forEach(function(ht){nt.push('"',ht,'":',Zt[ht].toString(),",")}),nt.push("}");var xe=wl(nt).replace(/;/g,`;
|
|
283
|
-
`).replace(/}/g,`}
|
|
284
|
-
`).replace(/{/g,`{
|
|
285
|
-
`),ze;if(X&&(ze=hv(xe),X[ze]))return X[ze].apply(null,He);var lt=Function.apply(null,Fe.concat(xe));return X&&(X[ze]=lt),lt.apply(null,He)}return{global:Ot,link:Ne,block:ft,proc:Ht,scope:ct,cond:vt,compile:xt}}var Ru="xyzw".split(""),Id=5121,Iu=1,Os=2,ks=0,Zf=1,Fd=2,Kf=3,Fu=4,Ld=5,bv=6,xv="dither",wv="blend.enable",_v="blend.color",Jf="blend.equation",ec="blend.func",Dd="depth.enable",$d="depth.func",Sv="depth.range",Ms="depth.mask",zd="colorMask",Ev="cull.enable",Bd="cull.face",tc="frontFace",jd="lineWidth",Ps="polygonOffset.enable",_l="polygonOffset.offset",Ud="sample.alpha",Hd="sample.enable",Ns="sample.coverage",ua="stencil.enable",Wd="stencil.mask",Gd="stencil.func",Rs="stencil.opFront",Lu="stencil.opBack",Av="scissor.enable",rc="scissor.box",xo="viewport",Du="profile",Qo="framebuffer",Is="vert",nc="frag",Sl="elements",El="primitive",Jn="count",ic="offset",ac="instances",Pa="vao",Fs="Width",Ls="Height",Al=Qo+Fs,Tl=Qo+Ls,uy=xo+Fs,Tv=xo+Ls,qd="drawingBuffer",Vd=qd+Fs,Yd=qd+Ls,ly=[ec,Jf,Gd,Rs,Lu,Ns,xo,rc,_l],$u=34962,Xd=34963,sy=2884,fy=3042,Cv=3024,Ov=2960,oc=2929,kv=3089,uc=32823,Mv=32926,Ds=32928,Sn=5126,lc=35664,wo=35665,Cl=35666,sc=5124,Qd=35667,$s=35668,Ol=35669,Zd=35670,Kd=35671,Jd=35672,eh=35673,th=35674,zs=35675,rh=35676,nh=35678,u=35680,s=4,h=1028,g=1029,y=2304,w=2305,N=32775,O=32776,I=519,z=7680,B=0,H=1,W=32774,de=513,pe=36160,V=36064,ee={0:0,1:1,zero:0,one:1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},ie={never:512,less:513,"<":513,equal:514,"=":514,"==":514,"===":514,lequal:515,"<=":515,greater:516,">":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},ve={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},ge={cw:y,ccw:w};function se(F){return Array.isArray(F)||Pn(F)||jn(F)}function qe(F){return F.sort(function(X,ne){return X===xo?-1:ne===xo?1:X<ne?-1:1})}function tt(F,X,ne,Fe){this.thisDep=F,this.contextDep=X,this.propDep=ne,this.append=Fe}function gt(F){return F&&!(F.thisDep||F.contextDep||F.propDep)}function rt(F){return new tt(!1,!1,!1,F)}function _t(F,X){var ne=F.type;if(ne===ks){var Fe=F.data.length;return new tt(!0,Fe>=1,Fe>=2,X)}else if(ne===Fu){var He=F.data;return new tt(He.thisDep,He.contextDep,He.propDep,X)}else{if(ne===Ld)return new tt(!1,!1,!1,X);if(ne===bv){for(var Me=!1,Ne=!1,ft=!1,ct=0;ct<F.data.length;++ct){var vt=F.data[ct];if(vt.type===Zf)ft=!0;else if(vt.type===Fd)Ne=!0;else if(vt.type===Kf)Me=!0;else if(vt.type===ks){Me=!0;var Ot=vt.data;Ot>=1&&(Ne=!0),Ot>=2&&(ft=!0)}else vt.type===Fu&&(Me=Me||vt.data.thisDep,Ne=Ne||vt.data.contextDep,ft=ft||vt.data.propDep)}return new tt(Me,Ne,ft,X)}else return new tt(ne===Kf,ne===Fd,ne===Zf,X)}}var Rt=new tt(!1,!1,!1,function(){});function vr(F,X,ne,Fe,He,Me,Ne,ft,ct,vt,Ot,Zt,Ht,xt,nt,xe){var ze=vt.Record,lt={add:32774,subtract:32778,"reverse subtract":32779};ne.ext_blend_minmax&&(lt.min=N,lt.max=O);var ht=ne.angle_instanced_arrays,Qe=ne.webgl_draw_buffers,Nt=ne.oes_vertex_array_object,St={dirty:!0,profile:xe.profile},Kt={},Ke=[],We={},It={};function $e(G){return G.replace(".","_")}function kt(G,Q,ae){var Re=$e(G);Ke.push(G),Kt[Re]=St[Re]=!!ae,We[Re]=Q}function pt(G,Q,ae){var Re=$e(G);Ke.push(G),Array.isArray(ae)?(St[Re]=ae.slice(),Kt[Re]=ae.slice()):St[Re]=Kt[Re]=ae,It[Re]=Q}function Jt(G){return!!isNaN(G)}kt(xv,Cv),kt(wv,fy),pt(_v,"blendColor",[0,0,0,0]),pt(Jf,"blendEquationSeparate",[W,W]),pt(ec,"blendFuncSeparate",[H,B,H,B]),kt(Dd,oc,!0),pt($d,"depthFunc",de),pt(Sv,"depthRange",[0,1]),pt(Ms,"depthMask",!0),pt(zd,zd,[!0,!0,!0,!0]),kt(Ev,sy),pt(Bd,"cullFace",g),pt(tc,tc,w),pt(jd,jd,1),kt(Ps,uc),pt(_l,"polygonOffset",[0,0]),kt(Ud,Mv),kt(Hd,Ds),pt(Ns,"sampleCoverage",[1,!1]),kt(ua,Ov),pt(Wd,"stencilMask",-1),pt(Gd,"stencilFunc",[I,0,-1]),pt(Rs,"stencilOpSeparate",[h,z,z,z]),pt(Lu,"stencilOpSeparate",[g,z,z,z]),kt(Av,kv),pt(rc,"scissor",[0,0,F.drawingBufferWidth,F.drawingBufferHeight]),pt(xo,xo,[0,0,F.drawingBufferWidth,F.drawingBufferHeight]);var Cr={gl:F,context:Ht,strings:X,next:Kt,current:St,draw:Zt,elements:Me,buffer:He,shader:Ot,attributes:vt.state,vao:vt,uniforms:ct,framebuffer:ft,extensions:ne,timer:xt,isBufferArgs:se},$t={primTypes:Cn,compareFuncs:ie,blendFuncs:ee,blendEquations:lt,stencilOps:ve,glTypes:Fo,orientationType:ge};Qe&&($t.backBuffer=[g],$t.drawBuffer=Ie(Fe.maxDrawbuffers,function(G){return G===0?[0]:Ie(G,function(Q){return V+Q})}));var ur=0;function Tt(){var G=oy({cache:nt}),Q=G.link,ae=G.global;G.id=ur++,G.batchId="0";var Re=Q(Cr),Ee=G.shared={props:"a0"};Object.keys(Cr).forEach(function(ce){Ee[ce]=ae.def(Re,".",ce)});var _e=G.next={},be=G.current={};Object.keys(It).forEach(function(ce){Array.isArray(St[ce])&&(_e[ce]=ae.def(Ee.next,".",ce),be[ce]=ae.def(Ee.current,".",ce))});var ye=G.constants={};Object.keys($t).forEach(function(ce){ye[ce]=ae.def(JSON.stringify($t[ce]))}),G.invoke=function(ce,te){switch(te.type){case ks:var Ae=["this",Ee.context,Ee.props,G.batchId];return ce.def(Q(te.data),".call(",Ae.slice(0,Math.max(te.data.length+1,4)),")");case Zf:return ce.def(Ee.props,te.data);case Fd:return ce.def(Ee.context,te.data);case Kf:return ce.def("this",te.data);case Fu:return te.data.append(G,ce),te.data.ref;case Ld:return te.data.toString();case bv:return te.data.map(function(Ue){return G.invoke(ce,Ue)})}},G.attribCache={};var re={};return G.scopeAttrib=function(ce){var te=X.id(ce);if(te in re)return re[te];var Ae=vt.scope[te];Ae||(Ae=vt.scope[te]=new ze);var Ue=re[te]=Q(Ae);return Ue},G}function Or(G){var Q=G.static,ae=G.dynamic,Re;if(Du in Q){var Ee=!!Q[Du];Re=rt(function(be,ye){return Ee}),Re.enable=Ee}else if(Du in ae){var _e=ae[Du];Re=_t(_e,function(be,ye){return be.invoke(ye,_e)})}return Re}function Lr(G,Q){var ae=G.static,Re=G.dynamic;if(Qo in ae){var Ee=ae[Qo];return Ee?(Ee=ft.getFramebuffer(Ee),rt(function(be,ye){var re=be.link(Ee),ce=be.shared;ye.set(ce.framebuffer,".next",re);var te=ce.context;return ye.set(te,"."+Al,re+".width"),ye.set(te,"."+Tl,re+".height"),re})):rt(function(be,ye){var re=be.shared;ye.set(re.framebuffer,".next","null");var ce=re.context;return ye.set(ce,"."+Al,ce+"."+Vd),ye.set(ce,"."+Tl,ce+"."+Yd),"null"})}else if(Qo in Re){var _e=Re[Qo];return _t(_e,function(be,ye){var re=be.invoke(ye,_e),ce=be.shared,te=ce.framebuffer,Ae=ye.def(te,".getFramebuffer(",re,")");ye.set(te,".next",Ae);var Ue=ce.context;return ye.set(Ue,"."+Al,Ae+"?"+Ae+".width:"+Ue+"."+Vd),ye.set(Ue,"."+Tl,Ae+"?"+Ae+".height:"+Ue+"."+Yd),Ae})}else return null}function jr(G,Q,ae){var Re=G.static,Ee=G.dynamic;function _e(re){if(re in Re){var ce=Re[re],te=!0,Ae=ce.x|0,Ue=ce.y|0,Je,rr;return"width"in ce?Je=ce.width|0:te=!1,"height"in ce?rr=ce.height|0:te=!1,new tt(!te&&Q&&Q.thisDep,!te&&Q&&Q.contextDep,!te&&Q&&Q.propDep,function(er,Wt){var ir=er.shared.context,jt=Je;"width"in ce||(jt=Wt.def(ir,".",Al,"-",Ae));var Yt=rr;return"height"in ce||(Yt=Wt.def(ir,".",Tl,"-",Ue)),[Ae,Ue,jt,Yt]})}else if(re in Ee){var Qt=Ee[re],Ft=_t(Qt,function(er,Wt){var ir=er.invoke(Wt,Qt),jt=er.shared.context,Yt=Wt.def(ir,".x|0"),Xt=Wt.def(ir,".y|0"),br=Wt.def('"width" in ',ir,"?",ir,".width|0:","(",jt,".",Al,"-",Yt,")"),mn=Wt.def('"height" in ',ir,"?",ir,".height|0:","(",jt,".",Tl,"-",Xt,")");return[Yt,Xt,br,mn]});return Q&&(Ft.thisDep=Ft.thisDep||Q.thisDep,Ft.contextDep=Ft.contextDep||Q.contextDep,Ft.propDep=Ft.propDep||Q.propDep),Ft}else return Q?new tt(Q.thisDep,Q.contextDep,Q.propDep,function(er,Wt){var ir=er.shared.context;return[0,0,Wt.def(ir,".",Al),Wt.def(ir,".",Tl)]}):null}var be=_e(xo);if(be){var ye=be;be=new tt(be.thisDep,be.contextDep,be.propDep,function(re,ce){var te=ye.append(re,ce),Ae=re.shared.context;return ce.set(Ae,"."+uy,te[2]),ce.set(Ae,"."+Tv,te[3]),te})}return{viewport:be,scissor_box:_e(rc)}}function ti(G,Q){var ae=G.static,Re=typeof ae[nc]=="string"&&typeof ae[Is]=="string";if(Re){if(Object.keys(Q.dynamic).length>0)return null;var Ee=Q.static,_e=Object.keys(Ee);if(_e.length>0&&typeof Ee[_e[0]]=="number"){for(var be=[],ye=0;ye<_e.length;++ye)be.push([Ee[_e[ye]]|0,_e[ye]]);return be}}return null}function Dr(G,Q,ae){var Re=G.static,Ee=G.dynamic;function _e(te){if(te in Re){var Ae=X.id(Re[te]),Ue=rt(function(){return Ae});return Ue.id=Ae,Ue}else if(te in Ee){var Je=Ee[te];return _t(Je,function(rr,Qt){var Ft=rr.invoke(Qt,Je),er=Qt.def(rr.shared.strings,".id(",Ft,")");return er})}return null}var be=_e(nc),ye=_e(Is),re=null,ce;return gt(be)&>(ye)?(re=Ot.program(ye.id,be.id,null,ae),ce=rt(function(te,Ae){return te.link(re)})):ce=new tt(be&&be.thisDep||ye&&ye.thisDep,be&&be.contextDep||ye&&ye.contextDep,be&&be.propDep||ye&&ye.propDep,function(te,Ae){var Ue=te.shared.shader,Je;be?Je=be.append(te,Ae):Je=Ae.def(Ue,".",nc);var rr;ye?rr=ye.append(te,Ae):rr=Ae.def(Ue,".",Is);var Qt=Ue+".program("+rr+","+Je;return Ae.def(Qt+")")}),{frag:be,vert:ye,progVar:ce,program:re}}function la(G,Q){var ae=G.static,Re=G.dynamic,Ee={},_e=!1;function be(){if(Pa in ae){var Wt=ae[Pa];return Wt!==null&&vt.getVAO(Wt)===null&&(Wt=vt.createVAO(Wt)),_e=!0,Ee.vao=Wt,rt(function(jt){var Yt=vt.getVAO(Wt);return Yt?jt.link(Yt):"null"})}else if(Pa in Re){_e=!0;var ir=Re[Pa];return _t(ir,function(jt,Yt){var Xt=jt.invoke(Yt,ir);return Yt.def(jt.shared.vao+".getVAO("+Xt+")")})}return null}var ye=be(),re=!1;function ce(){if(Sl in ae){var Wt=ae[Sl];if(Ee.elements=Wt,se(Wt)){var ir=Ee.elements=Me.create(Wt,!0);Wt=Me.getElements(ir),re=!0}else Wt&&(Wt=Me.getElements(Wt),re=!0);var jt=rt(function(Xt,br){if(Wt){var mn=Xt.link(Wt);return Xt.ELEMENTS=mn,mn}return Xt.ELEMENTS=null,null});return jt.value=Wt,jt}else if(Sl in Re){re=!0;var Yt=Re[Sl];return _t(Yt,function(Xt,br){var mn=Xt.shared,fa=mn.isBufferArgs,zu=mn.elements,kl=Xt.invoke(br,Yt),Ml=br.def("null"),Za=br.def(fa,"(",kl,")"),ih=Xt.cond(Za).then(Ml,"=",zu,".createStream(",kl,");").else(Ml,"=",zu,".getElements(",kl,");");return br.entry(ih),br.exit(Xt.cond(Za).then(zu,".destroyStream(",Ml,");")),Xt.ELEMENTS=Ml,Ml})}else if(_e)return new tt(ye.thisDep,ye.contextDep,ye.propDep,function(Xt,br){return br.def(Xt.shared.vao+".currentVAO?"+Xt.shared.elements+".getElements("+Xt.shared.vao+".currentVAO.elements):null")});return null}var te=ce();function Ae(){if(El in ae){var Wt=ae[El];return Ee.primitive=Wt,rt(function(jt,Yt){return Cn[Wt]})}else if(El in Re){var ir=Re[El];return _t(ir,function(jt,Yt){var Xt=jt.constants.primTypes,br=jt.invoke(Yt,ir);return Yt.def(Xt,"[",br,"]")})}else{if(re)return gt(te)?te.value?rt(function(jt,Yt){return Yt.def(jt.ELEMENTS,".primType")}):rt(function(){return s}):new tt(te.thisDep,te.contextDep,te.propDep,function(jt,Yt){var Xt=jt.ELEMENTS;return Yt.def(Xt,"?",Xt,".primType:",s)});if(_e)return new tt(ye.thisDep,ye.contextDep,ye.propDep,function(jt,Yt){return Yt.def(jt.shared.vao+".currentVAO?"+jt.shared.vao+".currentVAO.primitive:"+s)})}return null}function Ue(Wt,ir){if(Wt in ae){var jt=ae[Wt]|0;return ir?Ee.offset=jt:Ee.instances=jt,rt(function(Xt,br){return ir&&(Xt.OFFSET=jt),jt})}else if(Wt in Re){var Yt=Re[Wt];return _t(Yt,function(Xt,br){var mn=Xt.invoke(br,Yt);return ir&&(Xt.OFFSET=mn),mn})}else if(ir){if(re)return rt(function(Xt,br){return Xt.OFFSET=0,0});if(_e)return new tt(ye.thisDep,ye.contextDep,ye.propDep,function(Xt,br){return br.def(Xt.shared.vao+".currentVAO?"+Xt.shared.vao+".currentVAO.offset:0")})}else if(_e)return new tt(ye.thisDep,ye.contextDep,ye.propDep,function(Xt,br){return br.def(Xt.shared.vao+".currentVAO?"+Xt.shared.vao+".currentVAO.instances:-1")});return null}var Je=Ue(ic,!0);function rr(){if(Jn in ae){var Wt=ae[Jn]|0;return Ee.count=Wt,rt(function(){return Wt})}else if(Jn in Re){var ir=Re[Jn];return _t(ir,function(br,mn){var fa=br.invoke(mn,ir);return fa})}else if(re)if(gt(te)){if(te)return Je?new tt(Je.thisDep,Je.contextDep,Je.propDep,function(br,mn){var fa=mn.def(br.ELEMENTS,".vertCount-",br.OFFSET);return fa}):rt(function(br,mn){return mn.def(br.ELEMENTS,".vertCount")});var jt=rt(function(){return-1});return jt}else{var Yt=new tt(te.thisDep||Je.thisDep,te.contextDep||Je.contextDep,te.propDep||Je.propDep,function(br,mn){var fa=br.ELEMENTS;return br.OFFSET?mn.def(fa,"?",fa,".vertCount-",br.OFFSET,":-1"):mn.def(fa,"?",fa,".vertCount:-1")});return Yt}else if(_e){var Xt=new tt(ye.thisDep,ye.contextDep,ye.propDep,function(br,mn){return mn.def(br.shared.vao,".currentVAO?",br.shared.vao,".currentVAO.count:-1")});return Xt}return null}var Qt=Ae(),Ft=rr(),er=Ue(ac,!1);return{elements:te,primitive:Qt,count:Ft,instances:er,offset:Je,vao:ye,vaoActive:_e,elementsActive:re,static:Ee}}function ln(G,Q){var ae=G.static,Re=G.dynamic,Ee={};return Ke.forEach(function(_e){var be=$e(_e);function ye(re,ce){if(_e in ae){var te=re(ae[_e]);Ee[be]=rt(function(){return te})}else if(_e in Re){var Ae=Re[_e];Ee[be]=_t(Ae,function(Ue,Je){return ce(Ue,Je,Ue.invoke(Je,Ae))})}}switch(_e){case Ev:case wv:case xv:case ua:case Dd:case Av:case Ps:case Ud:case Hd:case Ms:return ye(function(re){return re},function(re,ce,te){return te});case $d:return ye(function(re){return ie[re]},function(re,ce,te){var Ae=re.constants.compareFuncs;return ce.def(Ae,"[",te,"]")});case Sv:return ye(function(re){return re},function(re,ce,te){var Ae=ce.def("+",te,"[0]"),Ue=ce.def("+",te,"[1]");return[Ae,Ue]});case ec:return ye(function(re){var ce="srcRGB"in re?re.srcRGB:re.src,te="srcAlpha"in re?re.srcAlpha:re.src,Ae="dstRGB"in re?re.dstRGB:re.dst,Ue="dstAlpha"in re?re.dstAlpha:re.dst;return[ee[ce],ee[Ae],ee[te],ee[Ue]]},function(re,ce,te){var Ae=re.constants.blendFuncs;function Ue(ir,jt){var Yt=ce.def('"',ir,jt,'" in ',te,"?",te,".",ir,jt,":",te,".",ir);return Yt}var Je=Ue("src","RGB"),rr=Ue("dst","RGB"),Qt=ce.def(Ae,"[",Je,"]"),Ft=ce.def(Ae,"[",Ue("src","Alpha"),"]"),er=ce.def(Ae,"[",rr,"]"),Wt=ce.def(Ae,"[",Ue("dst","Alpha"),"]");return[Qt,er,Ft,Wt]});case Jf:return ye(function(re){if(typeof re=="string")return[lt[re],lt[re]];if(typeof re=="object")return[lt[re.rgb],lt[re.alpha]]},function(re,ce,te){var Ae=re.constants.blendEquations,Ue=ce.def(),Je=ce.def(),rr=re.cond("typeof ",te,'==="string"');return rr.then(Ue,"=",Je,"=",Ae,"[",te,"];"),rr.else(Ue,"=",Ae,"[",te,".rgb];",Je,"=",Ae,"[",te,".alpha];"),ce(rr),[Ue,Je]});case _v:return ye(function(re){return Ie(4,function(ce){return+re[ce]})},function(re,ce,te){return Ie(4,function(Ae){return ce.def("+",te,"[",Ae,"]")})});case Wd:return ye(function(re){return re|0},function(re,ce,te){return ce.def(te,"|0")});case Gd:return ye(function(re){var ce=re.cmp||"keep",te=re.ref||0,Ae="mask"in re?re.mask:-1;return[ie[ce],te,Ae]},function(re,ce,te){var Ae=re.constants.compareFuncs,Ue=ce.def('"cmp" in ',te,"?",Ae,"[",te,".cmp]",":",z),Je=ce.def(te,".ref|0"),rr=ce.def('"mask" in ',te,"?",te,".mask|0:-1");return[Ue,Je,rr]});case Rs:case Lu:return ye(function(re){var ce=re.fail||"keep",te=re.zfail||"keep",Ae=re.zpass||"keep";return[_e===Lu?g:h,ve[ce],ve[te],ve[Ae]]},function(re,ce,te){var Ae=re.constants.stencilOps;function Ue(Je){return ce.def('"',Je,'" in ',te,"?",Ae,"[",te,".",Je,"]:",z)}return[_e===Lu?g:h,Ue("fail"),Ue("zfail"),Ue("zpass")]});case _l:return ye(function(re){var ce=re.factor|0,te=re.units|0;return[ce,te]},function(re,ce,te){var Ae=ce.def(te,".factor|0"),Ue=ce.def(te,".units|0");return[Ae,Ue]});case Bd:return ye(function(re){var ce=0;return re==="front"?ce=h:re==="back"&&(ce=g),ce},function(re,ce,te){return ce.def(te,'==="front"?',h,":",g)});case jd:return ye(function(re){return re},function(re,ce,te){return te});case tc:return ye(function(re){return ge[re]},function(re,ce,te){return ce.def(te+'==="cw"?'+y+":"+w)});case zd:return ye(function(re){return re.map(function(ce){return!!ce})},function(re,ce,te){return Ie(4,function(Ae){return"!!"+te+"["+Ae+"]"})});case Ns:return ye(function(re){var ce="value"in re?re.value:1,te=!!re.invert;return[ce,te]},function(re,ce,te){var Ae=ce.def('"value" in ',te,"?+",te,".value:1"),Ue=ce.def("!!",te,".invert");return[Ae,Ue]})}}),Ee}function Oi(G,Q){var ae=G.static,Re=G.dynamic,Ee={};return Object.keys(ae).forEach(function(_e){var be=ae[_e],ye;if(typeof be=="number"||typeof be=="boolean")ye=rt(function(){return be});else if(typeof be=="function"){var re=be._reglType;re==="texture2d"||re==="textureCube"?ye=rt(function(ce){return ce.link(be)}):(re==="framebuffer"||re==="framebufferCube")&&(ye=rt(function(ce){return ce.link(be.color[0])}))}else Di(be)&&(ye=rt(function(ce){var te=ce.global.def("[",Ie(be.length,function(Ae){return be[Ae]}),"]");return te}));ye.value=be,Ee[_e]=ye}),Object.keys(Re).forEach(function(_e){var be=Re[_e];Ee[_e]=_t(be,function(ye,re){return ye.invoke(re,be)})}),Ee}function sa(G,Q){var ae=G.static,Re=G.dynamic,Ee={};return Object.keys(ae).forEach(function(_e){var be=ae[_e],ye=X.id(_e),re=new ze;if(se(be))re.state=Iu,re.buffer=He.getBuffer(He.create(be,$u,!1,!0)),re.type=0;else{var ce=He.getBuffer(be);if(ce)re.state=Iu,re.buffer=ce,re.type=0;else if("constant"in be){var te=be.constant;re.buffer="null",re.state=Os,typeof te=="number"?re.x=te:Ru.forEach(function(er,Wt){Wt<te.length&&(re[er]=te[Wt])})}else{se(be.buffer)?ce=He.getBuffer(He.create(be.buffer,$u,!1,!0)):ce=He.getBuffer(be.buffer);var Ae=be.offset|0,Ue=be.stride|0,Je=be.size|0,rr=!!be.normalized,Qt=0;"type"in be&&(Qt=Fo[be.type]);var Ft=be.divisor|0;re.buffer=ce,re.state=Iu,re.size=Je,re.normalized=rr,re.type=Qt||ce.dtype,re.offset=Ae,re.stride=Ue,re.divisor=Ft}}Ee[_e]=rt(function(er,Wt){var ir=er.attribCache;if(ye in ir)return ir[ye];var jt={isStream:!1};return Object.keys(re).forEach(function(Yt){jt[Yt]=re[Yt]}),re.buffer&&(jt.buffer=er.link(re.buffer),jt.type=jt.type||jt.buffer+".dtype"),ir[ye]=jt,jt})}),Object.keys(Re).forEach(function(_e){var be=Re[_e];function ye(re,ce){var te=re.invoke(ce,be),Ae=re.shared,Ue=re.constants,Je=Ae.isBufferArgs,rr=Ae.buffer,Qt={isStream:ce.def(!1)},Ft=new ze;Ft.state=Iu,Object.keys(Ft).forEach(function(jt){Qt[jt]=ce.def(""+Ft[jt])});var er=Qt.buffer,Wt=Qt.type;ce("if(",Je,"(",te,")){",Qt.isStream,"=true;",er,"=",rr,".createStream(",$u,",",te,");",Wt,"=",er,".dtype;","}else{",er,"=",rr,".getBuffer(",te,");","if(",er,"){",Wt,"=",er,".dtype;",'}else if("constant" in ',te,"){",Qt.state,"=",Os,";","if(typeof "+te+'.constant === "number"){',Qt[Ru[0]],"=",te,".constant;",Ru.slice(1).map(function(jt){return Qt[jt]}).join("="),"=0;","}else{",Ru.map(function(jt,Yt){return Qt[jt]+"="+te+".constant.length>"+Yt+"?"+te+".constant["+Yt+"]:0;"}).join(""),"}}else{","if(",Je,"(",te,".buffer)){",er,"=",rr,".createStream(",$u,",",te,".buffer);","}else{",er,"=",rr,".getBuffer(",te,".buffer);","}",Wt,'="type" in ',te,"?",Ue.glTypes,"[",te,".type]:",er,".dtype;",Qt.normalized,"=!!",te,".normalized;");function ir(jt){ce(Qt[jt],"=",te,".",jt,"|0;")}return ir("size"),ir("offset"),ir("stride"),ir("divisor"),ce("}}"),ce.exit("if(",Qt.isStream,"){",rr,".destroyStream(",er,");","}"),Qt}Ee[_e]=_t(be,ye)}),Ee}function Bi(G){var Q=G.static,ae=G.dynamic,Re={};return Object.keys(Q).forEach(function(Ee){var _e=Q[Ee];Re[Ee]=rt(function(be,ye){return typeof _e=="number"||typeof _e=="boolean"?""+_e:be.link(_e)})}),Object.keys(ae).forEach(function(Ee){var _e=ae[Ee];Re[Ee]=_t(_e,function(be,ye){return be.invoke(ye,_e)})}),Re}function _o(G,Q,ae,Re,Ee){G.static,G.dynamic;var _e=ti(G,Q),be=Lr(G),ye=jr(G,be),re=la(G),ce=ln(G),te=Dr(G,Ee,_e);function Ae(er){var Wt=ye[er];Wt&&(ce[er]=Wt)}Ae(xo),Ae($e(rc));var Ue=Object.keys(ce).length>0,Je={framebuffer:be,draw:re,shader:te,state:ce,dirty:Ue,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}};if(Je.profile=Or(G),Je.uniforms=Oi(ae),Je.drawVAO=Je.scopeVAO=re.vao,!Je.drawVAO&&te.program&&!_e&&ne.angle_instanced_arrays&&re.static.elements){var rr=!0,Qt=te.program.attributes.map(function(er){var Wt=Q.static[er];return rr=rr&&!!Wt,Wt});if(rr&&Qt.length>0){var Ft=vt.getVAO(vt.createVAO({attributes:Qt,elements:re.static.elements}));Je.drawVAO=new tt(null,null,null,function(er,Wt){return er.link(Ft)}),Je.useVAO=!0}}return _e?Je.useVAO=!0:Je.attributes=sa(Q),Je.context=Bi(Re),Je}function ri(G,Q,ae){var Re=G.shared,Ee=Re.context,_e=G.scope();Object.keys(ae).forEach(function(be){Q.save(Ee,"."+be);var ye=ae[be],re=ye.append(G,Q);Array.isArray(re)?_e(Ee,".",be,"=[",re.join(),"];"):_e(Ee,".",be,"=",re,";")}),Q(_e)}function ni(G,Q,ae,Re){var Ee=G.shared,_e=Ee.gl,be=Ee.framebuffer,ye;Qe&&(ye=Q.def(Ee.extensions,".webgl_draw_buffers"));var re=G.constants,ce=re.drawBuffer,te=re.backBuffer,Ae;ae?Ae=ae.append(G,Q):Ae=Q.def(be,".next"),Re||Q("if(",Ae,"!==",be,".cur){"),Q("if(",Ae,"){",_e,".bindFramebuffer(",pe,",",Ae,".framebuffer);"),Qe&&Q(ye,".drawBuffersWEBGL(",ce,"[",Ae,".colorAttachments.length]);"),Q("}else{",_e,".bindFramebuffer(",pe,",null);"),Qe&&Q(ye,".drawBuffersWEBGL(",te,");"),Q("}",be,".cur=",Ae,";"),Re||Q("}")}function wr(G,Q,ae){var Re=G.shared,Ee=Re.gl,_e=G.current,be=G.next,ye=Re.current,re=Re.next,ce=G.cond(ye,".dirty");Ke.forEach(function(te){var Ae=$e(te);if(!(Ae in ae.state)){var Ue,Je;if(Ae in be){Ue=be[Ae],Je=_e[Ae];var rr=Ie(St[Ae].length,function(Ft){return ce.def(Ue,"[",Ft,"]")});ce(G.cond(rr.map(function(Ft,er){return Ft+"!=="+Je+"["+er+"]"}).join("||")).then(Ee,".",It[Ae],"(",rr,");",rr.map(function(Ft,er){return Je+"["+er+"]="+Ft}).join(";"),";"))}else{Ue=ce.def(re,".",Ae);var Qt=G.cond(Ue,"!==",ye,".",Ae);ce(Qt),Ae in We?Qt(G.cond(Ue).then(Ee,".enable(",We[Ae],");").else(Ee,".disable(",We[Ae],");"),ye,".",Ae,"=",Ue,";"):Qt(Ee,".",It[Ae],"(",Ue,");",ye,".",Ae,"=",Ue,";")}}}),Object.keys(ae.state).length===0&&ce(ye,".dirty=false;"),Q(ce)}function Na(G,Q,ae,Re){var Ee=G.shared,_e=G.current,be=Ee.current,ye=Ee.gl,re;qe(Object.keys(ae)).forEach(function(ce){var te=ae[ce];if(!(Re&&!Re(te))){var Ae=te.append(G,Q);if(We[ce]){var Ue=We[ce];gt(te)?(re=G.link(Ae,{stable:!0}),Q(G.cond(re).then(ye,".enable(",Ue,");").else(ye,".disable(",Ue,");")),Q(be,".",ce,"=",re,";")):(Q(G.cond(Ae).then(ye,".enable(",Ue,");").else(ye,".disable(",Ue,");")),Q(be,".",ce,"=",Ae,";"))}else if(Di(Ae)){var Je=_e[ce];Q(ye,".",It[ce],"(",Ae,");",Ae.map(function(rr,Qt){return Je+"["+Qt+"]="+rr}).join(";"),";")}else gt(te)?(re=G.link(Ae,{stable:!0}),Q(ye,".",It[ce],"(",re,");",be,".",ce,"=",re,";")):Q(ye,".",It[ce],"(",Ae,");",be,".",ce,"=",Ae,";")}})}function tn(G,Q){ht&&(G.instancing=Q.def(G.shared.extensions,".angle_instanced_arrays"))}function ii(G,Q,ae,Re,Ee){var _e=G.shared,be=G.stats,ye=_e.current,re=_e.timer,ce=ae.profile;function te(){return typeof performance>"u"?"Date.now()":"performance.now()"}var Ae,Ue;function Je(ir){Ae=Q.def(),ir(Ae,"=",te(),";"),typeof Ee=="string"?ir(be,".count+=",Ee,";"):ir(be,".count++;"),xt&&(Re?(Ue=Q.def(),ir(Ue,"=",re,".getNumPendingQueries();")):ir(re,".beginQuery(",be,");"))}function rr(ir){ir(be,".cpuTime+=",te(),"-",Ae,";"),xt&&(Re?ir(re,".pushScopeStats(",Ue,",",re,".getNumPendingQueries(),",be,");"):ir(re,".endQuery();"))}function Qt(ir){var jt=Q.def(ye,".profile");Q(ye,".profile=",ir,";"),Q.exit(ye,".profile=",jt,";")}var Ft;if(ce){if(gt(ce)){ce.enable?(Je(Q),rr(Q.exit),Qt("true")):Qt("false");return}Ft=ce.append(G,Q),Qt(Ft)}else Ft=Q.def(ye,".profile");var er=G.block();Je(er),Q("if(",Ft,"){",er,"}");var Wt=G.block();rr(Wt),Q.exit("if(",Ft,"){",Wt,"}")}function Ki(G,Q,ae,Re,Ee){var _e=G.shared;function be(re){switch(re){case lc:case Qd:case Kd:return 2;case wo:case $s:case Jd:return 3;case Cl:case Ol:case eh:return 4;default:return 1}}function ye(re,ce,te){var Ae=_e.gl,Ue=Q.def(re,".location"),Je=Q.def(_e.attributes,"[",Ue,"]"),rr=te.state,Qt=te.buffer,Ft=[te.x,te.y,te.z,te.w],er=["buffer","normalized","offset","stride"];function Wt(){Q("if(!",Je,".buffer){",Ae,".enableVertexAttribArray(",Ue,");}");var jt=te.type,Yt;if(te.size?Yt=Q.def(te.size,"||",ce):Yt=ce,Q("if(",Je,".type!==",jt,"||",Je,".size!==",Yt,"||",er.map(function(br){return Je+"."+br+"!=="+te[br]}).join("||"),"){",Ae,".bindBuffer(",$u,",",Qt,".buffer);",Ae,".vertexAttribPointer(",[Ue,Yt,jt,te.normalized,te.stride,te.offset],");",Je,".type=",jt,";",Je,".size=",Yt,";",er.map(function(br){return Je+"."+br+"="+te[br]+";"}).join(""),"}"),ht){var Xt=te.divisor;Q("if(",Je,".divisor!==",Xt,"){",G.instancing,".vertexAttribDivisorANGLE(",[Ue,Xt],");",Je,".divisor=",Xt,";}")}}function ir(){Q("if(",Je,".buffer){",Ae,".disableVertexAttribArray(",Ue,");",Je,".buffer=null;","}if(",Ru.map(function(jt,Yt){return Je+"."+jt+"!=="+Ft[Yt]}).join("||"),"){",Ae,".vertexAttrib4f(",Ue,",",Ft,");",Ru.map(function(jt,Yt){return Je+"."+jt+"="+Ft[Yt]+";"}).join(""),"}")}rr===Iu?Wt():rr===Os?ir():(Q("if(",rr,"===",Iu,"){"),Wt(),Q("}else{"),ir(),Q("}"))}Re.forEach(function(re){var ce=re.name,te=ae.attributes[ce],Ae;if(te){if(!Ee(te))return;Ae=te.append(G,Q)}else{if(!Ee(Rt))return;var Ue=G.scopeAttrib(ce);Ae={},Object.keys(new ze).forEach(function(Je){Ae[Je]=Q.def(Ue,".",Je)})}ye(G.link(re),be(re.info.type),Ae)})}function Ji(G,Q,ae,Re,Ee,_e){for(var be=G.shared,ye=be.gl,re,ce=0;ce<Re.length;++ce){var te=Re[ce],Ae=te.name,Ue=te.info.type,Je=ae.uniforms[Ae],rr=G.link(te),Qt=rr+".location",Ft;if(Je){if(!Ee(Je))continue;if(gt(Je)){var er=Je.value;if(Ue===nh||Ue===u){var Wt=G.link(er._texture||er.color[0]._texture);Q(ye,".uniform1i(",Qt,",",Wt+".bind());"),Q.exit(Wt,".unbind();")}else if(Ue===th||Ue===zs||Ue===rh){var ir=G.global.def("new Float32Array(["+Array.prototype.slice.call(er)+"])"),jt=2;Ue===zs?jt=3:Ue===rh&&(jt=4),Q(ye,".uniformMatrix",jt,"fv(",Qt,",false,",ir,");")}else{switch(Ue){case Sn:re="1f";break;case lc:re="2f";break;case wo:re="3f";break;case Cl:re="4f";break;case Zd:re="1i";break;case sc:re="1i";break;case Kd:re="2i";break;case Qd:re="2i";break;case Jd:re="3i";break;case $s:re="3i";break;case eh:re="4i";break;case Ol:re="4i";break}Q(ye,".uniform",re,"(",Qt,",",Di(er)?Array.prototype.slice.call(er):er,");")}continue}else Ft=Je.append(G,Q)}else{if(!Ee(Rt))continue;Ft=Q.def(be.uniforms,"[",X.id(Ae),"]")}Ue===nh?Q("if(",Ft,"&&",Ft,'._reglType==="framebuffer"){',Ft,"=",Ft,".color[0];","}"):Ue===u&&Q("if(",Ft,"&&",Ft,'._reglType==="framebufferCube"){',Ft,"=",Ft,".color[0];","}");var Yt=1;switch(Ue){case nh:case u:var Xt=Q.def(Ft,"._texture");Q(ye,".uniform1i(",Qt,",",Xt,".bind());"),Q.exit(Xt,".unbind();");continue;case sc:case Zd:re="1i";break;case Qd:case Kd:re="2i",Yt=2;break;case $s:case Jd:re="3i",Yt=3;break;case Ol:case eh:re="4i",Yt=4;break;case Sn:re="1f";break;case lc:re="2f",Yt=2;break;case wo:re="3f",Yt=3;break;case Cl:re="4f",Yt=4;break;case th:re="Matrix2fv";break;case zs:re="Matrix3fv";break;case rh:re="Matrix4fv";break}if(re.charAt(0)==="M"){Q(ye,".uniform",re,"(",Qt,",");var br=Math.pow(Ue-th+2,2),mn=G.global.def("new Float32Array(",br,")");Array.isArray(Ft)?Q("false,(",Ie(br,function(Za){return mn+"["+Za+"]="+Ft[Za]}),",",mn,")"):Q("false,(Array.isArray(",Ft,")||",Ft," instanceof Float32Array)?",Ft,":(",Ie(br,function(Za){return mn+"["+Za+"]="+Ft+"["+Za+"]"}),",",mn,")"),Q(");")}else if(Yt>1){for(var fa=[],zu=[],kl=0;kl<Yt;++kl)Array.isArray(Ft)?zu.push(Ft[kl]):zu.push(Q.def(Ft+"["+kl+"]")),_e&&fa.push(Q.def());_e&&Q("if(!",G.batchId,"||",fa.map(function(Za,ih){return Za+"!=="+zu[ih]}).join("||"),"){",fa.map(function(Za,ih){return Za+"="+zu[ih]+";"}).join("")),Q(ye,".uniform",re,"(",Qt,",",zu.join(","),");"),_e&&Q("}")}else{if(_e){var Ml=Q.def();Q("if(!",G.batchId,"||",Ml,"!==",Ft,"){",Ml,"=",Ft,";")}Q(ye,".uniform",re,"(",Qt,",",Ft,");"),_e&&Q("}")}}}function Er(G,Q,ae,Re){var Ee=G.shared,_e=Ee.gl,be=Ee.draw,ye=Re.draw;function re(){var Yt=ye.elements,Xt,br=Q;return Yt?((Yt.contextDep&&Re.contextDynamic||Yt.propDep)&&(br=ae),Xt=Yt.append(G,br),ye.elementsActive&&br("if("+Xt+")"+_e+".bindBuffer("+Xd+","+Xt+".buffer.buffer);")):(Xt=br.def(),br(Xt,"=",be,".",Sl,";","if(",Xt,"){",_e,".bindBuffer(",Xd,",",Xt,".buffer.buffer);}","else if(",Ee.vao,".currentVAO){",Xt,"=",G.shared.elements+".getElements("+Ee.vao,".currentVAO.elements);",Nt?"":"if("+Xt+")"+_e+".bindBuffer("+Xd+","+Xt+".buffer.buffer);","}")),Xt}function ce(){var Yt=ye.count,Xt,br=Q;return Yt?((Yt.contextDep&&Re.contextDynamic||Yt.propDep)&&(br=ae),Xt=Yt.append(G,br)):Xt=br.def(be,".",Jn),Xt}var te=re();function Ae(Yt){var Xt=ye[Yt];return Xt?Xt.contextDep&&Re.contextDynamic||Xt.propDep?Xt.append(G,ae):Xt.append(G,Q):Q.def(be,".",Yt)}var Ue=Ae(El),Je=Ae(ic),rr=ce();if(typeof rr=="number"){if(rr===0)return}else ae("if(",rr,"){"),ae.exit("}");var Qt,Ft;ht&&(Qt=Ae(ac),Ft=G.instancing);var er=te+".type",Wt=ye.elements&>(ye.elements)&&!ye.vaoActive;function ir(){function Yt(){ae(Ft,".drawElementsInstancedANGLE(",[Ue,rr,er,Je+"<<(("+er+"-"+Id+")>>1)",Qt],");")}function Xt(){ae(Ft,".drawArraysInstancedANGLE(",[Ue,Je,rr,Qt],");")}te&&te!=="null"?Wt?Yt():(ae("if(",te,"){"),Yt(),ae("}else{"),Xt(),ae("}")):Xt()}function jt(){function Yt(){ae(_e+".drawElements("+[Ue,rr,er,Je+"<<(("+er+"-"+Id+")>>1)"]+");")}function Xt(){ae(_e+".drawArrays("+[Ue,Je,rr]+");")}te&&te!=="null"?Wt?Yt():(ae("if(",te,"){"),Yt(),ae("}else{"),Xt(),ae("}")):Xt()}ht&&(typeof Qt!="number"||Qt>=0)?typeof Qt=="string"?(ae("if(",Qt,">0){"),ir(),ae("}else if(",Qt,"<0){"),jt(),ae("}")):ir():jt()}function $r(G,Q,ae,Re,Ee){var _e=Tt(),be=_e.proc("body",Ee);return ht&&(_e.instancing=be.def(_e.shared.extensions,".angle_instanced_arrays")),G(_e,be,ae,Re),_e.compile().body}function cn(G,Q,ae,Re){tn(G,Q),ae.useVAO?ae.drawVAO?Q(G.shared.vao,".setVAO(",ae.drawVAO.append(G,Q),");"):Q(G.shared.vao,".setVAO(",G.shared.vao,".targetVAO);"):(Q(G.shared.vao,".setVAO(null);"),Ki(G,Q,ae,Re.attributes,function(){return!0})),Ji(G,Q,ae,Re.uniforms,function(){return!0},!1),Er(G,Q,Q,ae)}function ai(G,Q){var ae=G.proc("draw",1);tn(G,ae),ri(G,ae,Q.context),ni(G,ae,Q.framebuffer),wr(G,ae,Q),Na(G,ae,Q.state),ii(G,ae,Q,!1,!0);var Re=Q.shader.progVar.append(G,ae);if(ae(G.shared.gl,".useProgram(",Re,".program);"),Q.shader.program)cn(G,ae,Q,Q.shader.program);else{ae(G.shared.vao,".setVAO(null);");var Ee=G.global.def("{}"),_e=ae.def(Re,".id"),be=ae.def(Ee,"[",_e,"]");ae(G.cond(be).then(be,".call(this,a0);").else(be,"=",Ee,"[",_e,"]=",G.link(function(ye){return $r(cn,G,Q,ye,1)}),"(",Re,");",be,".call(this,a0);"))}Object.keys(Q.state).length>0&&ae(G.shared.current,".dirty=true;"),G.shared.vao&&ae(G.shared.vao,".setVAO(null);")}function Z(G,Q,ae,Re){G.batchId="a1",tn(G,Q);function Ee(){return!0}Ki(G,Q,ae,Re.attributes,Ee),Ji(G,Q,ae,Re.uniforms,Ee,!1),Er(G,Q,Q,ae)}function Pe(G,Q,ae,Re){tn(G,Q);var Ee=ae.contextDep,_e=Q.def(),be="a0",ye="a1",re=Q.def();G.shared.props=re,G.batchId=_e;var ce=G.scope(),te=G.scope();Q(ce.entry,"for(",_e,"=0;",_e,"<",ye,";++",_e,"){",re,"=",be,"[",_e,"];",te,"}",ce.exit);function Ae(er){return er.contextDep&&Ee||er.propDep}function Ue(er){return!Ae(er)}if(ae.needsContext&&ri(G,te,ae.context),ae.needsFramebuffer&&ni(G,te,ae.framebuffer),Na(G,te,ae.state,Ae),ae.profile&&Ae(ae.profile)&&ii(G,te,ae,!1,!0),Re)ae.useVAO?ae.drawVAO?Ae(ae.drawVAO)?te(G.shared.vao,".setVAO(",ae.drawVAO.append(G,te),");"):ce(G.shared.vao,".setVAO(",ae.drawVAO.append(G,ce),");"):ce(G.shared.vao,".setVAO(",G.shared.vao,".targetVAO);"):(ce(G.shared.vao,".setVAO(null);"),Ki(G,ce,ae,Re.attributes,Ue),Ki(G,te,ae,Re.attributes,Ae)),Ji(G,ce,ae,Re.uniforms,Ue,!1),Ji(G,te,ae,Re.uniforms,Ae,!0),Er(G,ce,te,ae);else{var Je=G.global.def("{}"),rr=ae.shader.progVar.append(G,te),Qt=te.def(rr,".id"),Ft=te.def(Je,"[",Qt,"]");te(G.shared.gl,".useProgram(",rr,".program);","if(!",Ft,"){",Ft,"=",Je,"[",Qt,"]=",G.link(function(er){return $r(Z,G,ae,er,2)}),"(",rr,");}",Ft,".call(this,a0[",_e,"],",_e,");")}}function ke(G,Q){var ae=G.proc("batch",2);G.batchId="0",tn(G,ae);var Re=!1,Ee=!0;Object.keys(Q.context).forEach(function(Je){Re=Re||Q.context[Je].propDep}),Re||(ri(G,ae,Q.context),Ee=!1);var _e=Q.framebuffer,be=!1;_e?(_e.propDep?Re=be=!0:_e.contextDep&&Re&&(be=!0),be||ni(G,ae,_e)):ni(G,ae,null),Q.state.viewport&&Q.state.viewport.propDep&&(Re=!0);function ye(Je){return Je.contextDep&&Re||Je.propDep}wr(G,ae,Q),Na(G,ae,Q.state,function(Je){return!ye(Je)}),(!Q.profile||!ye(Q.profile))&&ii(G,ae,Q,!1,"a1"),Q.contextDep=Re,Q.needsContext=Ee,Q.needsFramebuffer=be;var re=Q.shader.progVar;if(re.contextDep&&Re||re.propDep)Pe(G,ae,Q,null);else{var ce=re.append(G,ae);if(ae(G.shared.gl,".useProgram(",ce,".program);"),Q.shader.program)Pe(G,ae,Q,Q.shader.program);else{ae(G.shared.vao,".setVAO(null);");var te=G.global.def("{}"),Ae=ae.def(ce,".id"),Ue=ae.def(te,"[",Ae,"]");ae(G.cond(Ue).then(Ue,".call(this,a0,a1);").else(Ue,"=",te,"[",Ae,"]=",G.link(function(Je){return $r(Pe,G,Q,Je,2)}),"(",ce,");",Ue,".call(this,a0,a1);"))}}Object.keys(Q.state).length>0&&ae(G.shared.current,".dirty=true;"),G.shared.vao&&ae(G.shared.vao,".setVAO(null);")}function qt(G,Q){var ae=G.proc("scope",3);G.batchId="a2";var Re=G.shared,Ee=Re.current;if(ri(G,ae,Q.context),Q.framebuffer&&Q.framebuffer.append(G,ae),qe(Object.keys(Q.state)).forEach(function(ye){var re=Q.state[ye],ce=re.append(G,ae);Di(ce)?ce.forEach(function(te,Ae){Jt(te)?ae.set(G.next[ye],"["+Ae+"]",te):ae.set(G.next[ye],"["+Ae+"]",G.link(te,{stable:!0}))}):gt(re)?ae.set(Re.next,"."+ye,G.link(ce,{stable:!0})):ae.set(Re.next,"."+ye,ce)}),ii(G,ae,Q,!0,!0),[Sl,ic,Jn,ac,El].forEach(function(ye){var re=Q.draw[ye];if(!!re){var ce=re.append(G,ae);Jt(ce)?ae.set(Re.draw,"."+ye,ce):ae.set(Re.draw,"."+ye,G.link(ce),{stable:!0})}}),Object.keys(Q.uniforms).forEach(function(ye){var re=Q.uniforms[ye].append(G,ae);Array.isArray(re)&&(re="["+re.map(function(ce){return Jt(ce)?ce:G.link(ce,{stable:!0})})+"]"),ae.set(Re.uniforms,"["+G.link(X.id(ye),{stable:!0})+"]",re)}),Object.keys(Q.attributes).forEach(function(ye){var re=Q.attributes[ye].append(G,ae),ce=G.scopeAttrib(ye);Object.keys(new ze).forEach(function(te){ae.set(ce,"."+te,re[te])})}),Q.scopeVAO){var _e=Q.scopeVAO.append(G,ae);Jt(_e)?ae.set(Re.vao,".targetVAO",_e):ae.set(Re.vao,".targetVAO",G.link(_e,{stable:!0}))}function be(ye){var re=Q.shader[ye];if(re){var ce=re.append(G,ae);Jt(ce)?ae.set(Re.shader,"."+ye,ce):ae.set(Re.shader,"."+ye,G.link(ce,{stable:!0}))}}be(Is),be(nc),Object.keys(Q.state).length>0&&(ae(Ee,".dirty=true;"),ae.exit(Ee,".dirty=true;")),ae("a1(",G.shared.context,",a0,",G.batchId,");")}function Nr(G){if(!(typeof G!="object"||Di(G))){for(var Q=Object.keys(G),ae=0;ae<Q.length;++ae)if(C.isDynamic(G[Q[ae]]))return!0;return!1}}function gn(G,Q,ae){var Re=Q.static[ae];if(!Re||!Nr(Re))return;var Ee=G.global,_e=Object.keys(Re),be=!1,ye=!1,re=!1,ce=G.global.def("{}");_e.forEach(function(Ae){var Ue=Re[Ae];if(C.isDynamic(Ue)){typeof Ue=="function"&&(Ue=Re[Ae]=C.unbox(Ue));var Je=_t(Ue,null);be=be||Je.thisDep,re=re||Je.propDep,ye=ye||Je.contextDep}else{switch(Ee(ce,".",Ae,"="),typeof Ue){case"number":Ee(Ue);break;case"string":Ee('"',Ue,'"');break;case"object":Array.isArray(Ue)&&Ee("[",Ue.join(),"]");break;default:Ee(G.link(Ue));break}Ee(";")}});function te(Ae,Ue){_e.forEach(function(Je){var rr=Re[Je];if(!!C.isDynamic(rr)){var Qt=Ae.invoke(Ue,rr);Ue(ce,".",Je,"=",Qt,";")}})}Q.dynamic[ae]=new C.DynamicVariable(Fu,{thisDep:be,contextDep:ye,propDep:re,ref:ce,append:te}),delete Q.static[ae]}function Vt(G,Q,ae,Re,Ee){var _e=Tt();_e.stats=_e.link(Ee),Object.keys(Q.static).forEach(function(ye){gn(_e,Q,ye)}),ly.forEach(function(ye){gn(_e,G,ye)});var be=_o(G,Q,ae,Re,_e);return be.shader.program&&(be.shader.program.attributes.sort(function(ye,re){return ye.name<re.name?-1:1}),be.shader.program.uniforms.sort(function(ye,re){return ye.name<re.name?-1:1})),ai(_e,be),qt(_e,be),ke(_e,be),r(_e.compile(),{destroy:function(){be.shader.program.destroy()}})}return{next:Kt,current:St,procs:function(){var G=Tt(),Q=G.proc("poll"),ae=G.proc("refresh"),Re=G.block();Q(Re),ae(Re);var Ee=G.shared,_e=Ee.gl,be=Ee.next,ye=Ee.current;Re(ye,".dirty=false;"),ni(G,Q),ni(G,ae,null,!0);var re;ht&&(re=G.link(ht)),ne.oes_vertex_array_object&&ae(G.link(ne.oes_vertex_array_object),".bindVertexArrayOES(null);");var ce=ae.def(Ee.attributes),te=ae.def(0),Ae=G.cond(te,".buffer");Ae.then(_e,".enableVertexAttribArray(i);",_e,".bindBuffer(",$u,",",te,".buffer.buffer);",_e,".vertexAttribPointer(i,",te,".size,",te,".type,",te,".normalized,",te,".stride,",te,".offset);").else(_e,".disableVertexAttribArray(i);",_e,".vertexAttrib4f(i,",te,".x,",te,".y,",te,".z,",te,".w);",te,".buffer=null;");var Ue=G.link(Fe.maxAttributes,{stable:!0});return ae("for(var i=0;i<",Ue,";++i){",te,"=",ce,"[i];",Ae,"}"),ht&&ae("for(var i=0;i<",Ue,";++i){",re,".vertexAttribDivisorANGLE(i,",ce,"[i].divisor);","}"),ae(G.shared.vao,".currentVAO=null;",G.shared.vao,".setVAO(",G.shared.vao,".targetVAO);"),Object.keys(We).forEach(function(Je){var rr=We[Je],Qt=Re.def(be,".",Je),Ft=G.block();Ft("if(",Qt,"){",_e,".enable(",rr,")}else{",_e,".disable(",rr,")}",ye,".",Je,"=",Qt,";"),ae(Ft),Q("if(",Qt,"!==",ye,".",Je,"){",Ft,"}")}),Object.keys(It).forEach(function(Je){var rr=It[Je],Qt=St[Je],Ft,er,Wt=G.block();if(Wt(_e,".",rr,"("),Di(Qt)){var ir=Qt.length;Ft=G.global.def(be,".",Je),er=G.global.def(ye,".",Je),Wt(Ie(ir,function(jt){return Ft+"["+jt+"]"}),");",Ie(ir,function(jt){return er+"["+jt+"]="+Ft+"["+jt+"];"}).join("")),Q("if(",Ie(ir,function(jt){return Ft+"["+jt+"]!=="+er+"["+jt+"]"}).join("||"),"){",Wt,"}")}else Ft=Re.def(be,".",Je),er=Re.def(ye,".",Je),Wt(Ft,");",ye,".",Je,"=",Ft,";"),Q("if(",Ft,"!==",er,"){",Wt,"}");ae(Wt)}),G.compile()}(),compile:Vt}}function Bt(){return{vaoCount:0,bufferCount:0,elementsCount:0,framebufferCount:0,shaderCount:0,textureCount:0,cubeCount:0,renderbufferCount:0,maxTextureUnits:0}}var sr=34918,Ir=34919,vn=35007,Hr=function(F,X){if(!X.ext_disjoint_timer_query)return null;var ne=[];function Fe(){return ne.pop()||X.ext_disjoint_timer_query.createQueryEXT()}function He(lt){ne.push(lt)}var Me=[];function Ne(lt){var ht=Fe();X.ext_disjoint_timer_query.beginQueryEXT(vn,ht),Me.push(ht),xt(Me.length-1,Me.length,lt)}function ft(){X.ext_disjoint_timer_query.endQueryEXT(vn)}function ct(){this.startQueryIndex=-1,this.endQueryIndex=-1,this.sum=0,this.stats=null}var vt=[];function Ot(){return vt.pop()||new ct}function Zt(lt){vt.push(lt)}var Ht=[];function xt(lt,ht,Qe){var Nt=Ot();Nt.startQueryIndex=lt,Nt.endQueryIndex=ht,Nt.sum=0,Nt.stats=Qe,Ht.push(Nt)}var nt=[],xe=[];function ze(){var lt,ht,Qe=Me.length;if(Qe!==0){xe.length=Math.max(xe.length,Qe+1),nt.length=Math.max(nt.length,Qe+1),nt[0]=0,xe[0]=0;var Nt=0;for(lt=0,ht=0;ht<Me.length;++ht){var St=Me[ht];X.ext_disjoint_timer_query.getQueryObjectEXT(St,Ir)?(Nt+=X.ext_disjoint_timer_query.getQueryObjectEXT(St,sr),He(St)):Me[lt++]=St,nt[ht+1]=Nt,xe[ht+1]=lt}for(Me.length=lt,lt=0,ht=0;ht<Ht.length;++ht){var Kt=Ht[ht],Ke=Kt.startQueryIndex,We=Kt.endQueryIndex;Kt.sum+=nt[We]-nt[Ke];var It=xe[Ke],$e=xe[We];$e===It?(Kt.stats.gpuTime+=Kt.sum/1e6,Zt(Kt)):(Kt.startQueryIndex=It,Kt.endQueryIndex=$e,Ht[lt++]=Kt)}Ht.length=lt}}return{beginQuery:Ne,endQuery:ft,pushScopeStats:xt,update:ze,getNumPendingQueries:function(){return Me.length},clear:function(){ne.push.apply(ne,Me);for(var lt=0;lt<ne.length;lt++)X.ext_disjoint_timer_query.deleteQueryEXT(ne[lt]);Me.length=0,ne.length=0},restore:function(){Me.length=0,ne.length=0}}},mt=16384,gr=256,xr=1024,Fr=34962,un="webglcontextlost",En="webglcontextrestored",$n=1,gi=2,Ci=3;function ei(F,X){for(var ne=0;ne<F.length;++ne)if(F[ne]===X)return ne;return-1}function zi(F){var X=q(F);if(!X)return null;var ne=X.gl,Fe=ne.getContextAttributes();ne.isContextLost();var He=ue(ne,X);if(!He)return null;var Me=S(),Ne=Bt(),ft=X.cachedCode||{},ct=He.extensions,vt=Hr(ne,ct),Ot=E(),Zt=ne.drawingBufferWidth,Ht=ne.drawingBufferHeight,xt={tick:0,time:0,viewportWidth:Zt,viewportHeight:Ht,framebufferWidth:Zt,framebufferHeight:Ht,drawingBufferWidth:Zt,drawingBufferHeight:Ht,pixelRatio:X.pixelRatio},nt={},xe={elements:null,primitive:4,count:-1,offset:0,instances:-1},ze=yu(ne,ct),lt=ul(ne,Ne,X,Nt),ht=zo(ne,ct,lt,Ne),Qe=Hn(ne,ct,ze,Ne,lt,ht,xe);function Nt(Er){return Qe.destroyBuffer(Er)}var St=vi(ne,Me,Ne,X),Kt=Zr(ne,ct,ze,function(){It.procs.poll()},xt,Ne,X),Ke=xl(ne,ct,ze,Ne,X),We=pr(ne,ct,ze,Kt,Ke,Ne),It=vr(ne,Me,ct,ze,lt,ht,Kt,We,nt,Qe,St,xe,xt,vt,ft,X),$e=dv(ne,We,It.procs.poll,xt),kt=It.next,pt=ne.canvas,Jt=[],Cr=[],$t=[],ur=[X.onDestroy],Tt=null;function Or(){if(Jt.length===0){vt&&vt.update(),Tt=null;return}Tt=R.next(Or),ni();for(var Er=Jt.length-1;Er>=0;--Er){var $r=Jt[Er];$r&&$r(xt,null,0)}ne.flush(),vt&&vt.update()}function Lr(){!Tt&&Jt.length>0&&(Tt=R.next(Or))}function jr(){Tt&&(R.cancel(Or),Tt=null)}function ti(Er){Er.preventDefault(),jr(),Cr.forEach(function($r){$r()})}function Dr(Er){ne.getError(),He.restore(),St.restore(),lt.restore(),Kt.restore(),Ke.restore(),We.restore(),Qe.restore(),vt&&vt.restore(),It.procs.refresh(),Lr(),$t.forEach(function($r){$r()})}pt&&(pt.addEventListener(un,ti,!1),pt.addEventListener(En,Dr,!1));function la(){Jt.length=0,jr(),pt&&(pt.removeEventListener(un,ti),pt.removeEventListener(En,Dr)),St.clear(),We.clear(),Ke.clear(),Qe.clear(),Kt.clear(),ht.clear(),lt.clear(),vt&&vt.clear(),ur.forEach(function(Er){Er()})}function ln(Er){function $r(Ee){var _e=r({},Ee);delete _e.uniforms,delete _e.attributes,delete _e.context,delete _e.vao,"stencil"in _e&&_e.stencil.op&&(_e.stencil.opBack=_e.stencil.opFront=_e.stencil.op,delete _e.stencil.op);function be(ye){if(ye in _e){var re=_e[ye];delete _e[ye],Object.keys(re).forEach(function(ce){_e[ye+"."+ce]=re[ce]})}}return be("blend"),be("depth"),be("cull"),be("stencil"),be("polygonOffset"),be("scissor"),be("sample"),"vao"in Ee&&(_e.vao=Ee.vao),_e}function cn(Ee,_e){var be={},ye={};return Object.keys(Ee).forEach(function(re){var ce=Ee[re];if(C.isDynamic(ce)){ye[re]=C.unbox(ce,re);return}else if(_e&&Array.isArray(ce)){for(var te=0;te<ce.length;++te)if(C.isDynamic(ce[te])){ye[re]=C.unbox(ce,re);return}}be[re]=ce}),{dynamic:ye,static:be}}var ai=cn(Er.context||{},!0),Z=cn(Er.uniforms||{},!0),Pe=cn(Er.attributes||{},!1),ke=cn($r(Er),!1),qt={gpuTime:0,cpuTime:0,count:0},Nr=It.compile(ke,Pe,Z,ai,qt),gn=Nr.draw,Vt=Nr.batch,G=Nr.scope,Q=[];function ae(Ee){for(;Q.length<Ee;)Q.push(null);return Q}function Re(Ee,_e){var be;if(typeof Ee=="function")return G.call(this,null,Ee,0);if(typeof _e=="function")if(typeof Ee=="number")for(be=0;be<Ee;++be)G.call(this,null,_e,be);else if(Array.isArray(Ee))for(be=0;be<Ee.length;++be)G.call(this,Ee[be],_e,be);else return G.call(this,Ee,_e,0);else if(typeof Ee=="number"){if(Ee>0)return Vt.call(this,ae(Ee|0),Ee|0)}else if(Array.isArray(Ee)){if(Ee.length)return Vt.call(this,Ee,Ee.length)}else return gn.call(this,Ee)}return r(Re,{stats:qt,destroy:function(){Nr.destroy()}})}var Oi=We.setFBO=ln({framebuffer:C.define.call(null,$n,"framebuffer")});function sa(Er,$r){var cn=0;It.procs.poll();var ai=$r.color;ai&&(ne.clearColor(+ai[0]||0,+ai[1]||0,+ai[2]||0,+ai[3]||0),cn|=mt),"depth"in $r&&(ne.clearDepth(+$r.depth),cn|=gr),"stencil"in $r&&(ne.clearStencil($r.stencil|0),cn|=xr),ne.clear(cn)}function Bi(Er){if("framebuffer"in Er)if(Er.framebuffer&&Er.framebuffer_reglType==="framebufferCube")for(var $r=0;$r<6;++$r)Oi(r({framebuffer:Er.framebuffer.faces[$r]},Er),sa);else Oi(Er,sa);else sa(null,Er)}function _o(Er){Jt.push(Er);function $r(){var cn=ei(Jt,Er);function ai(){var Z=ei(Jt,ai);Jt[Z]=Jt[Jt.length-1],Jt.length-=1,Jt.length<=0&&jr()}Jt[cn]=ai}return Lr(),{cancel:$r}}function ri(){var Er=kt.viewport,$r=kt.scissor_box;Er[0]=Er[1]=$r[0]=$r[1]=0,xt.viewportWidth=xt.framebufferWidth=xt.drawingBufferWidth=Er[2]=$r[2]=ne.drawingBufferWidth,xt.viewportHeight=xt.framebufferHeight=xt.drawingBufferHeight=Er[3]=$r[3]=ne.drawingBufferHeight}function ni(){xt.tick+=1,xt.time=Na(),ri(),It.procs.poll()}function wr(){Kt.refresh(),ri(),It.procs.refresh(),vt&&vt.update()}function Na(){return(E()-Ot)/1e3}wr();function tn(Er,$r){var cn;switch(Er){case"frame":return _o($r);case"lost":cn=Cr;break;case"restore":cn=$t;break;case"destroy":cn=ur;break}return cn.push($r),{cancel:function(){for(var ai=0;ai<cn.length;++ai)if(cn[ai]===$r){cn[ai]=cn[cn.length-1],cn.pop();return}}}}function ii(){return ft}function Ki(Er){Object.entries(Er).forEach(function($r){ft[$r[0]]=$r[1]})}var Ji=r(ln,{clear:Bi,prop:C.define.bind(null,$n),context:C.define.bind(null,gi),this:C.define.bind(null,Ci),draw:ln({}),buffer:function(Er){return lt.create(Er,Fr,!1,!1)},elements:function(Er){return ht.create(Er,!1)},texture:Kt.create2D,cube:Kt.createCube,renderbuffer:Ke.create,framebuffer:We.create,framebufferCube:We.createCube,vao:Qe.createVAO,attributes:Fe,frame:_o,on:tn,limits:ze,hasExtension:function(Er){return ze.extensions.indexOf(Er.toLowerCase())>=0},read:$e,destroy:la,_gl:ne,_refresh:wr,poll:function(){ni(),vt&&vt.update()},now:Na,stats:Ne,getCachedCode:ii,preloadCachedCode:Ki});return X.onDone(null,Ji),Ji}return zi})})(BN);var EW=ps,AW=function(t){if(t?typeof t=="string"&&(t={container:t}):t={},GC(t)?t={container:t}:TW(t)?t={container:t}:CW(t)?t={gl:t}:t=EW(t,{container:"container target element el canvas holder parent parentNode wrapper use ref root node",gl:"gl context webgl glContext",attrs:"attributes attrs contextAttributes",pixelRatio:"pixelRatio pxRatio px ratio pxratio pixelratio",width:"w width",height:"h height"},!0),t.pixelRatio||(t.pixelRatio=Jr.pixelRatio||1),t.gl)return t.gl;if(t.canvas&&(t.container=t.canvas.parentNode),t.container){if(typeof t.container=="string"){var r=document.querySelector(t.container);if(!r)throw Error("Element "+t.container+" is not found");t.container=r}GC(t.container)?(t.canvas=t.container,t.container=t.canvas.parentNode):t.canvas||(t.canvas=qC(),t.container.appendChild(t.canvas),WC(t))}else if(!t.canvas)if(typeof document<"u")t.container=document.body||document.documentElement,t.canvas=qC(),t.container.appendChild(t.canvas),WC(t);else throw Error("Not DOM environment. Use headless-gl.");return t.gl||["webgl","experimental-webgl","webgl-experimental"].some(function(n){try{t.gl=t.canvas.getContext(n,t.attrs)}catch{}return t.gl}),t.gl};function WC(e){if(e.container)if(e.container==document.body)document.body.style.width||(e.canvas.width=e.width||e.pixelRatio*Jr.innerWidth),document.body.style.height||(e.canvas.height=e.height||e.pixelRatio*Jr.innerHeight);else{var t=e.container.getBoundingClientRect();e.canvas.width=e.width||t.right-t.left,e.canvas.height=e.height||t.bottom-t.top}}function GC(e){return typeof e.getContext=="function"&&"width"in e&&"height"in e}function TW(e){return typeof e.nodeName=="string"&&typeof e.appendChild=="function"&&typeof e.getBoundingClientRect=="function"}function CW(e){return typeof e.drawArrays=="function"||typeof e.drawElements=="function"}function qC(){var e=document.createElement("canvas");return e.style.position="absolute",e.style.top=0,e.style.left=0,e}var OW=zN,kW=[32,126],MW=PW;function PW(e){e=e||{};var t=e.shape?e.shape:e.canvas?[e.canvas.width,e.canvas.height]:[512,512],r=e.canvas||document.createElement("canvas"),n=e.font,i=typeof e.step=="number"?[e.step,e.step]:e.step||[32,32],a=e.chars||kW;if(n&&typeof n!="string"&&(n=OW(n)),!Array.isArray(a))a=String(a).split("");else if(a.length===2&&typeof a[0]=="number"&&typeof a[1]=="number"){for(var o=[],l=a[0],f=0;l<=a[1];l++)o[f++]=String.fromCharCode(l);a=o}t=t.slice(),r.width=t[0],r.height=t[1];var c=r.getContext("2d");c.fillStyle="#000",c.fillRect(0,0,r.width,r.height),c.font=n,c.textAlign="center",c.textBaseline="middle",c.fillStyle="#fff";for(var p=i[0]/2,_=i[1]/2,l=0;l<a.length;l++)c.fillText(a[l],p,_),(p+=i[0])>t[0]-i[0]/2&&(p=i[0]/2,_+=i[1]);return r}var Wr={},Mn={},L2=32;Mn.INT_BITS=L2;Mn.INT_MAX=2147483647;Mn.INT_MIN=-1<<L2-1;Mn.sign=function(e){return(e>0)-(e<0)};Mn.abs=function(e){var t=e>>L2-1;return(e^t)-t};Mn.min=function(e,t){return t^(e^t)&-(e<t)};Mn.max=function(e,t){return e^(e^t)&-(e<t)};Mn.isPow2=function(e){return!(e&e-1)&&!!e};Mn.log2=function(e){var t,r;return t=(e>65535)<<4,e>>>=t,r=(e>255)<<3,e>>>=r,t|=r,r=(e>15)<<2,e>>>=r,t|=r,r=(e>3)<<1,e>>>=r,t|=r,t|e>>1};Mn.log10=function(e){return e>=1e9?9:e>=1e8?8:e>=1e7?7:e>=1e6?6:e>=1e5?5:e>=1e4?4:e>=1e3?3:e>=100?2:e>=10?1:0};Mn.popCount=function(e){return e=e-(e>>>1&1431655765),e=(e&858993459)+(e>>>2&858993459),(e+(e>>>4)&252645135)*16843009>>>24};function jN(e){var t=32;return e&=-e,e&&t--,e&65535&&(t-=16),e&16711935&&(t-=8),e&252645135&&(t-=4),e&858993459&&(t-=2),e&1431655765&&(t-=1),t}Mn.countTrailingZeros=jN;Mn.nextPow2=function(e){return e+=e===0,--e,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e+1};Mn.prevPow2=function(e){return e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e-(e>>>1)};Mn.parity=function(e){return e^=e>>>16,e^=e>>>8,e^=e>>>4,e&=15,27030>>>e&1};var zh=new Array(256);(function(e){for(var t=0;t<256;++t){var r=t,n=t,i=7;for(r>>>=1;r;r>>>=1)n<<=1,n|=r&1,--i;e[t]=n<<i&255}})(zh);Mn.reverse=function(e){return zh[e&255]<<24|zh[e>>>8&255]<<16|zh[e>>>16&255]<<8|zh[e>>>24&255]};Mn.interleave2=function(e,t){return e&=65535,e=(e|e<<8)&16711935,e=(e|e<<4)&252645135,e=(e|e<<2)&858993459,e=(e|e<<1)&1431655765,t&=65535,t=(t|t<<8)&16711935,t=(t|t<<4)&252645135,t=(t|t<<2)&858993459,t=(t|t<<1)&1431655765,e|t<<1};Mn.deinterleave2=function(e,t){return e=e>>>t&1431655765,e=(e|e>>>1)&858993459,e=(e|e>>>2)&252645135,e=(e|e>>>4)&16711935,e=(e|e>>>16)&65535,e<<16>>16};Mn.interleave3=function(e,t,r){return e&=1023,e=(e|e<<16)&4278190335,e=(e|e<<8)&251719695,e=(e|e<<4)&3272356035,e=(e|e<<2)&1227133513,t&=1023,t=(t|t<<16)&4278190335,t=(t|t<<8)&251719695,t=(t|t<<4)&3272356035,t=(t|t<<2)&1227133513,e|=t<<1,r&=1023,r=(r|r<<16)&4278190335,r=(r|r<<8)&251719695,r=(r|r<<4)&3272356035,r=(r|r<<2)&1227133513,e|r<<2};Mn.deinterleave3=function(e,t){return e=e>>>t&1227133513,e=(e|e>>>2)&3272356035,e=(e|e>>>4)&251719695,e=(e|e>>>8)&4278190335,e=(e|e>>>16)&1023,e<<22>>22};Mn.nextCombination=function(e){var t=e|e-1;return t+1|(~t&-~t)-1>>>jN(e)+1};function UN(e,t,r){var n=e[r]|0;if(n<=0)return[];var i=new Array(n),a;if(r===e.length-1)for(a=0;a<n;++a)i[a]=t;else for(a=0;a<n;++a)i[a]=UN(e,t,r+1);return i}function NW(e,t){var r,n;for(r=new Array(e),n=0;n<e;++n)r[n]=t;return r}function RW(e,t){switch(typeof t>"u"&&(t=0),typeof e){case"number":if(e>0)return NW(e|0,t);break;case"object":if(typeof e.length=="number")return UN(e,t,0);break}return[]}var IW=RW,os=Mn,Mi=IW,HN=MM.Buffer;Jr.__TYPEDARRAY_POOL||(Jr.__TYPEDARRAY_POOL={UINT8:Mi([32,0]),UINT16:Mi([32,0]),UINT32:Mi([32,0]),BIGUINT64:Mi([32,0]),INT8:Mi([32,0]),INT16:Mi([32,0]),INT32:Mi([32,0]),BIGINT64:Mi([32,0]),FLOAT:Mi([32,0]),DOUBLE:Mi([32,0]),DATA:Mi([32,0]),UINT8C:Mi([32,0]),BUFFER:Mi([32,0])});var FW=typeof Uint8ClampedArray<"u",LW=typeof BigUint64Array<"u",DW=typeof BigInt64Array<"u",zn=Jr.__TYPEDARRAY_POOL;zn.UINT8C||(zn.UINT8C=Mi([32,0]));zn.BIGUINT64||(zn.BIGUINT64=Mi([32,0]));zn.BIGINT64||(zn.BIGINT64=Mi([32,0]));zn.BUFFER||(zn.BUFFER=Mi([32,0]));var Em=zn.DATA,Am=zn.BUFFER;Wr.free=function(t){if(HN.isBuffer(t))Am[os.log2(t.length)].push(t);else{if(Object.prototype.toString.call(t)!=="[object ArrayBuffer]"&&(t=t.buffer),!t)return;var r=t.length||t.byteLength,n=os.log2(r)|0;Em[n].push(t)}};function WN(e){if(!!e){var t=e.length||e.byteLength,r=os.log2(t);Em[r].push(e)}}function $W(e){WN(e.buffer)}Wr.freeUint8=Wr.freeUint16=Wr.freeUint32=Wr.freeBigUint64=Wr.freeInt8=Wr.freeInt16=Wr.freeInt32=Wr.freeBigInt64=Wr.freeFloat32=Wr.freeFloat=Wr.freeFloat64=Wr.freeDouble=Wr.freeUint8Clamped=Wr.freeDataView=$W;Wr.freeArrayBuffer=WN;Wr.freeBuffer=function(t){Am[os.log2(t.length)].push(t)};Wr.malloc=function(t,r){if(r===void 0||r==="arraybuffer")return ga(t);switch(r){case"uint8":return D2(t);case"uint16":return GN(t);case"uint32":return qN(t);case"int8":return VN(t);case"int16":return YN(t);case"int32":return XN(t);case"float":case"float32":return QN(t);case"double":case"float64":return ZN(t);case"uint8_clamped":return KN(t);case"bigint64":return eR(t);case"biguint64":return JN(t);case"buffer":return rR(t);case"data":case"dataview":return tR(t);default:return null}return null};function ga(t){var t=os.nextPow2(t),r=os.log2(t),n=Em[r];return n.length>0?n.pop():new ArrayBuffer(t)}Wr.mallocArrayBuffer=ga;function D2(e){return new Uint8Array(ga(e),0,e)}Wr.mallocUint8=D2;function GN(e){return new Uint16Array(ga(2*e),0,e)}Wr.mallocUint16=GN;function qN(e){return new Uint32Array(ga(4*e),0,e)}Wr.mallocUint32=qN;function VN(e){return new Int8Array(ga(e),0,e)}Wr.mallocInt8=VN;function YN(e){return new Int16Array(ga(2*e),0,e)}Wr.mallocInt16=YN;function XN(e){return new Int32Array(ga(4*e),0,e)}Wr.mallocInt32=XN;function QN(e){return new Float32Array(ga(4*e),0,e)}Wr.mallocFloat32=Wr.mallocFloat=QN;function ZN(e){return new Float64Array(ga(8*e),0,e)}Wr.mallocFloat64=Wr.mallocDouble=ZN;function KN(e){return FW?new Uint8ClampedArray(ga(e),0,e):D2(e)}Wr.mallocUint8Clamped=KN;function JN(e){return LW?new BigUint64Array(ga(8*e),0,e):null}Wr.mallocBigUint64=JN;function eR(e){return DW?new BigInt64Array(ga(8*e),0,e):null}Wr.mallocBigInt64=eR;function tR(e){return new DataView(ga(e),0,e)}Wr.mallocDataView=tR;function rR(e){e=os.nextPow2(e);var t=os.log2(e),r=Am[t];return r.length>0?r.pop():new HN(e)}Wr.mallocBuffer=rR;Wr.clearCache=function(){for(var t=0;t<32;++t)zn.UINT8[t].length=0,zn.UINT16[t].length=0,zn.UINT32[t].length=0,zn.INT8[t].length=0,zn.INT16[t].length=0,zn.INT32[t].length=0,zn.FLOAT[t].length=0,zn.DOUBLE[t].length=0,zn.BIGUINT64[t].length=0,zn.BIGINT64[t].length=0,zn.UINT8C[t].length=0,Em[t].length=0,Am[t].length=0};var nR=function(t,r){r||(r=[0,""]),t=String(t);var n=parseFloat(t,10);return r[0]=n,r[1]=t.match(/[\d.\-\+]*\s*(.*)/)[1]||"",r},zW=nR,BW=iR,kh=96;function Tw(e,t){var r=zW(getComputedStyle(e).getPropertyValue(t));return r[0]*iR(r[1],e)}function jW(e,t){var r=document.createElement("div");r.style["font-size"]="128"+e,t.appendChild(r);var n=Tw(r,"font-size")/128;return t.removeChild(r),n}function iR(e,t){switch(t=t||document.body,e=(e||"px").trim().toLowerCase(),(t===window||t===document)&&(t=document.body),e){case"%":return t.clientHeight/100;case"ch":case"ex":return jW(e,t);case"em":return Tw(t,"font-size");case"rem":return Tw(document.body,"font-size");case"vw":return window.innerWidth/100;case"vh":return window.innerHeight/100;case"vmin":return Math.min(window.innerWidth,window.innerHeight)/100;case"vmax":return Math.max(window.innerWidth,window.innerHeight)/100;case"in":return kh;case"cm":return kh/2.54;case"mm":return kh/25.4;case"pt":return kh/72;case"pc":return kh/6}return 1}var UW=Tm,HW=Tm.canvas=document.createElement("canvas"),ig=HW.getContext("2d"),aR=N0([32,126]);Tm.createPairs=N0;Tm.ascii=aR;function Tm(e,t){Array.isArray(e)&&(e=e.join(", "));var r={},n,i=16,a=.05;t&&(t.length===2&&typeof t[0]=="number"?n=N0(t):Array.isArray(t)?n=t:(t.o?n=N0(t.o):t.pairs&&(n=t.pairs),t.fontSize&&(i=t.fontSize),t.threshold!=null&&(a=t.threshold))),n||(n=aR),ig.font=i+"px "+e;for(var o=0;o<n.length;o++){var l=n[o],f=ig.measureText(l[0]).width+ig.measureText(l[1]).width,c=ig.measureText(l).width;if(Math.abs(f-c)>i*a){var p=(c-f)/i;r[l]=p*1e3}}return r}function N0(e){for(var t=[],r=e[0];r<=e[1];r++)for(var n=String.fromCharCode(r),i=e[0];i<e[1];i++){var a=String.fromCharCode(i),o=n+a;t.push(o)}return t}var WW=$l;$l.canvas=document.createElement("canvas");$l.cache={};function $l(o,t){t||(t={}),(typeof o=="string"||Array.isArray(o))&&(t.family=o);var r=Array.isArray(t.family)?t.family.join(", "):t.family;if(!r)throw Error("`family` must be defined");var n=t.size||t.fontSize||t.em||48,i=t.weight||t.fontWeight||"",a=t.style||t.fontStyle||"",o=[a,i,n].join(" ")+"px "+r,l=t.origin||"top";if($l.cache[r]&&n<=$l.cache[r].em)return VC($l.cache[r],l);var f=t.canvas||$l.canvas,c=f.getContext("2d"),p={upper:t.upper!==void 0?t.upper:"H",lower:t.lower!==void 0?t.lower:"x",descent:t.descent!==void 0?t.descent:"p",ascent:t.ascent!==void 0?t.ascent:"h",tittle:t.tittle!==void 0?t.tittle:"i",overshoot:t.overshoot!==void 0?t.overshoot:"O"},_=Math.ceil(n*1.5);f.height=_,f.width=_*.5,c.font=o;var x="H",b={top:0};c.clearRect(0,0,_,_),c.textBaseline="top",c.fillStyle="black",c.fillText(x,0,0);var C=Zo(c.getImageData(0,0,_,_));c.clearRect(0,0,_,_),c.textBaseline="bottom",c.fillText(x,0,_);var R=Zo(c.getImageData(0,0,_,_));b.lineHeight=b.bottom=_-R+C,c.clearRect(0,0,_,_),c.textBaseline="alphabetic",c.fillText(x,0,_);var E=Zo(c.getImageData(0,0,_,_)),S=_-E-1+C;b.baseline=b.alphabetic=S,c.clearRect(0,0,_,_),c.textBaseline="middle",c.fillText(x,0,_*.5);var T=Zo(c.getImageData(0,0,_,_));b.median=b.middle=_-T-1+C-_*.5,c.clearRect(0,0,_,_),c.textBaseline="hanging",c.fillText(x,0,_*.5);var P=Zo(c.getImageData(0,0,_,_));b.hanging=_-P-1+C-_*.5,c.clearRect(0,0,_,_),c.textBaseline="ideographic",c.fillText(x,0,_);var M=Zo(c.getImageData(0,0,_,_));if(b.ideographic=_-M-1+C,p.upper&&(c.clearRect(0,0,_,_),c.textBaseline="top",c.fillText(p.upper,0,0),b.upper=Zo(c.getImageData(0,0,_,_)),b.capHeight=b.baseline-b.upper),p.lower&&(c.clearRect(0,0,_,_),c.textBaseline="top",c.fillText(p.lower,0,0),b.lower=Zo(c.getImageData(0,0,_,_)),b.xHeight=b.baseline-b.lower),p.tittle&&(c.clearRect(0,0,_,_),c.textBaseline="top",c.fillText(p.tittle,0,0),b.tittle=Zo(c.getImageData(0,0,_,_))),p.ascent&&(c.clearRect(0,0,_,_),c.textBaseline="top",c.fillText(p.ascent,0,0),b.ascent=Zo(c.getImageData(0,0,_,_))),p.descent&&(c.clearRect(0,0,_,_),c.textBaseline="top",c.fillText(p.descent,0,0),b.descent=YC(c.getImageData(0,0,_,_))),p.overshoot){c.clearRect(0,0,_,_),c.textBaseline="top",c.fillText(p.overshoot,0,0);var L=YC(c.getImageData(0,0,_,_));b.overshoot=L-S}for(var v in b)b[v]/=n;return b.em=n,$l.cache[r]=b,VC(b,l)}function VC(e,t){var r={};typeof t=="string"&&(t=e[t]);for(var n in e)n!=="em"&&(r[n]=e[n]-t);return r}function Zo(e){for(var t=e.height,r=e.data,n=3;n<r.length;n+=4)if(r[n]!==0)return Math.floor((n-3)*.25/t)}function YC(e){for(var t=e.height,r=e.data,n=r.length-1;n>0;n-=4)if(r[n]!==0)return Math.floor((n-3)*.25/t)}var vc=SW,GW=ps,qW=BN.exports,VW=AW,YW=kN,gb=pm,XW=MW,Pl=Wr,QW=hm,ZW=cN,KW=nR,JW=BW,eG=UW,tG=mf,rG=WW,nG=qp,iG=Mn,XC=iG.nextPow2,QC=new YW,Fg=!1;if(document.body){var mb=document.body.appendChild(document.createElement("div"));mb.style.font="italic small-caps bold condensed 16px/2 cursive",getComputedStyle(mb).fontStretch&&(Fg=!0),document.body.removeChild(mb)}var Kr=function(t){aG(t)?(t={regl:t},this.gl=t.regl._gl):this.gl=VW(t),this.shader=QC.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=t.regl||qW({gl:this.gl}),this.charBuffer=this.regl.buffer({type:"uint8",usage:"stream"}),this.sizeBuffer=this.regl.buffer({type:"float",usage:"stream"}),this.shader||(this.shader=this.createShader(),QC.set(this.gl,this.shader)),this.batch=[],this.fontSize=[],this.font=[],this.fontAtlas=[],this.draw=this.shader.draw.bind(this),this.render=function(){this.regl._refresh(),this.draw(this.batch)},this.canvas=this.gl.canvas,this.update(ZW(t)?t:{})};Kr.prototype.createShader=function(){var t=this.regl,r=t({blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},stencil:{enable:!1},depth:{enable:!1},count:t.prop("count"),offset:t.prop("offset"),attributes:{charOffset:{offset:4,stride:8,buffer:t.this("sizeBuffer")},width:{offset:0,stride:8,buffer:t.this("sizeBuffer")},char:t.this("charBuffer"),position:t.this("position")},uniforms:{atlasSize:function(i,a){return[a.atlas.width,a.atlas.height]},atlasDim:function(i,a){return[a.atlas.cols,a.atlas.rows]},atlas:function(i,a){return a.atlas.texture},charStep:function(i,a){return a.atlas.step},em:function(i,a){return a.atlas.em},color:t.prop("color"),opacity:t.prop("opacity"),viewport:t.this("viewportArray"),scale:t.this("scale"),align:t.prop("align"),baseline:t.prop("baseline"),translate:t.this("translate"),positionOffset:t.prop("positionOffset")},primitive:"points",viewport:t.this("viewport"),vert:`
|
|
286
|
-
precision highp float;
|
|
287
|
-
attribute float width, charOffset, char;
|
|
288
|
-
attribute vec2 position;
|
|
289
|
-
uniform float fontSize, charStep, em, align, baseline;
|
|
290
|
-
uniform vec4 viewport;
|
|
291
|
-
uniform vec4 color;
|
|
292
|
-
uniform vec2 atlasSize, atlasDim, scale, translate, positionOffset;
|
|
293
|
-
varying vec2 charCoord, charId;
|
|
294
|
-
varying float charWidth;
|
|
295
|
-
varying vec4 fontColor;
|
|
296
|
-
void main () {
|
|
297
|
-
vec2 offset = floor(em * (vec2(align + charOffset, baseline)
|
|
298
|
-
+ vec2(positionOffset.x, -positionOffset.y)))
|
|
299
|
-
/ (viewport.zw * scale.xy);
|
|
300
|
-
|
|
301
|
-
vec2 position = (position + translate) * scale;
|
|
302
|
-
position += offset * scale;
|
|
303
|
-
|
|
304
|
-
charCoord = position * viewport.zw + viewport.xy;
|
|
305
|
-
|
|
306
|
-
gl_Position = vec4(position * 2. - 1., 0, 1);
|
|
307
|
-
|
|
308
|
-
gl_PointSize = charStep;
|
|
309
|
-
|
|
310
|
-
charId.x = mod(char, atlasDim.x);
|
|
311
|
-
charId.y = floor(char / atlasDim.x);
|
|
312
|
-
|
|
313
|
-
charWidth = width * em;
|
|
314
|
-
|
|
315
|
-
fontColor = color / 255.;
|
|
316
|
-
}`,frag:`
|
|
317
|
-
precision highp float;
|
|
318
|
-
uniform float fontSize, charStep, opacity;
|
|
319
|
-
uniform vec2 atlasSize;
|
|
320
|
-
uniform vec4 viewport;
|
|
321
|
-
uniform sampler2D atlas;
|
|
322
|
-
varying vec4 fontColor;
|
|
323
|
-
varying vec2 charCoord, charId;
|
|
324
|
-
varying float charWidth;
|
|
325
|
-
|
|
326
|
-
float lightness(vec4 color) {
|
|
327
|
-
return color.r * 0.299 + color.g * 0.587 + color.b * 0.114;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
void main () {
|
|
331
|
-
vec2 uv = gl_FragCoord.xy - charCoord + charStep * .5;
|
|
332
|
-
float halfCharStep = floor(charStep * .5 + .5);
|
|
333
|
-
|
|
334
|
-
// invert y and shift by 1px (FF expecially needs that)
|
|
335
|
-
uv.y = charStep - uv.y;
|
|
336
|
-
|
|
337
|
-
// ignore points outside of character bounding box
|
|
338
|
-
float halfCharWidth = ceil(charWidth * .5);
|
|
339
|
-
if (floor(uv.x) > halfCharStep + halfCharWidth ||
|
|
340
|
-
floor(uv.x) < halfCharStep - halfCharWidth) return;
|
|
341
|
-
|
|
342
|
-
uv += charId * charStep;
|
|
343
|
-
uv = uv / atlasSize;
|
|
344
|
-
|
|
345
|
-
vec4 color = fontColor;
|
|
346
|
-
vec4 mask = texture2D(atlas, uv);
|
|
347
|
-
|
|
348
|
-
float maskY = lightness(mask);
|
|
349
|
-
// float colorY = lightness(color);
|
|
350
|
-
color.a *= maskY;
|
|
351
|
-
color.a *= opacity;
|
|
352
|
-
|
|
353
|
-
// color.a += .1;
|
|
354
|
-
|
|
355
|
-
// antialiasing, see yiq color space y-channel formula
|
|
356
|
-
// color.rgb += (1. - color.rgb) * (1. - mask.rgb);
|
|
357
|
-
|
|
358
|
-
gl_FragColor = color;
|
|
359
|
-
}`}),n={};return{regl:t,draw:r,atlas:n}};Kr.prototype.update=function(t){var r=this;if(typeof t=="string")t={text:t};else if(!t)return;t=GW(t,{position:"position positions coord coords coordinates",font:"font fontFace fontface typeface cssFont css-font family fontFamily",fontSize:"fontSize fontsize size font-size",text:"text texts chars characters value values symbols",align:"align alignment textAlign textbaseline",baseline:"baseline textBaseline textbaseline",direction:"dir direction textDirection",color:"color colour fill fill-color fillColor textColor textcolor",kerning:"kerning kern",range:"range dataBox",viewport:"vp viewport viewBox viewbox viewPort",opacity:"opacity alpha transparency visible visibility opaque",offset:"offset positionOffset padding shift indent indentation"},!0),t.opacity!=null&&(Array.isArray(t.opacity)?this.opacity=t.opacity.map(function(st){return parseFloat(st)}):this.opacity=parseFloat(t.opacity)),t.viewport!=null&&(this.viewport=QW(t.viewport),this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),this.viewport==null&&(this.viewport={x:0,y:0,width:this.gl.drawingBufferWidth,height:this.gl.drawingBufferHeight},this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),t.kerning!=null&&(this.kerning=t.kerning),t.offset!=null&&(typeof t.offset=="number"&&(t.offset=[t.offset,0]),this.positionOffset=nG(t.offset)),t.direction&&(this.direction=t.direction),t.range&&(this.range=t.range,this.scale=[1/(t.range[2]-t.range[0]),1/(t.range[3]-t.range[1])],this.translate=[-t.range[0],-t.range[1]]),t.scale&&(this.scale=t.scale),t.translate&&(this.translate=t.translate),this.scale||(this.scale=[1/this.viewport.width,1/this.viewport.height]),this.translate||(this.translate=[0,0]),!this.font.length&&!t.font&&(t.font=Kr.baseFontSize+"px sans-serif");var n=!1,i=!1;if(t.font&&(Array.isArray(t.font)?t.font:[t.font]).forEach(function(st,Ct){if(typeof st=="string")try{st=vc.parse(st)}catch{st=vc.parse(Kr.baseFontSize+"px "+st)}else st=vc.parse(vc.stringify(st));var Lt=vc.stringify({size:Kr.baseFontSize,family:st.family,stretch:Fg?st.stretch:void 0,variant:st.variant,weight:st.weight,style:st.style}),hr=KW(st.size),mr=Math.round(hr[0]*JW(hr[1]));if(mr!==r.fontSize[Ct]&&(i=!0,r.fontSize[Ct]=mr),(!r.font[Ct]||Lt!=r.font[Ct].baseString)&&(n=!0,r.font[Ct]=Kr.fonts[Lt],!r.font[Ct])){var at=st.family.join(", "),Gt=[st.style];st.style!=st.variant&&Gt.push(st.variant),st.variant!=st.weight&&Gt.push(st.weight),Fg&&st.weight!=st.stretch&&Gt.push(st.stretch),r.font[Ct]={baseString:Lt,family:at,weight:st.weight,stretch:st.stretch,style:st.style,variant:st.variant,width:{},kerning:{},metrics:rG(at,{origin:"top",fontSize:Kr.baseFontSize,fontStyle:Gt.join(" ")})},Kr.fonts[Lt]=r.font[Ct]}}),(n||i)&&this.font.forEach(function(st,Ct){var Lt=vc.stringify({size:r.fontSize[Ct],family:st.family,stretch:Fg?st.stretch:void 0,variant:st.variant,weight:st.weight,style:st.style});if(r.fontAtlas[Ct]=r.shader.atlas[Lt],!r.fontAtlas[Ct]){var hr=st.metrics;r.shader.atlas[Lt]=r.fontAtlas[Ct]={fontString:Lt,step:Math.ceil(r.fontSize[Ct]*hr.bottom*.5)*2,em:r.fontSize[Ct],cols:0,rows:0,height:0,width:0,chars:[],ids:{},texture:r.regl.texture()}}t.text==null&&(t.text=r.text)}),typeof t.text=="string"&&t.position&&t.position.length>2){for(var a=Array(t.position.length*.5),o=0;o<a.length;o++)a[o]=t.text;t.text=a}var l;if(t.text!=null||n){if(this.textOffsets=[0],Array.isArray(t.text)){this.count=t.text[0].length,this.counts=[this.count];for(var f=1;f<t.text.length;f++)this.textOffsets[f]=this.textOffsets[f-1]+t.text[f-1].length,this.count+=t.text[f].length,this.counts.push(t.text[f].length);this.text=t.text.join("")}else this.text=t.text,this.count=this.text.length,this.counts=[this.count];l=[],this.font.forEach(function(st,Ct){Kr.atlasContext.font=st.baseString;for(var Lt=r.fontAtlas[Ct],hr=0;hr<r.text.length;hr++){var mr=r.text.charAt(hr);if(Lt.ids[mr]==null&&(Lt.ids[mr]=Lt.chars.length,Lt.chars.push(mr),l.push(mr)),st.width[mr]==null&&(st.width[mr]=Kr.atlasContext.measureText(mr).width/Kr.baseFontSize,r.kerning)){var at=[];for(var Gt in st.width)at.push(Gt+mr,mr+Gt);tG(st.kerning,eG(st.family,{pairs:at}))}}})}if(t.position)if(t.position.length>2){for(var c=!t.position[0].length,p=Pl.mallocFloat(this.count*2),_=0,x=0;_<this.counts.length;_++){var b=this.counts[_];if(c)for(var C=0;C<b;C++)p[x++]=t.position[_*2],p[x++]=t.position[_*2+1];else for(var R=0;R<b;R++)p[x++]=t.position[_][0],p[x++]=t.position[_][1]}this.position.call?this.position({type:"float",data:p}):this.position=this.regl.buffer({type:"float",data:p}),Pl.freeFloat(p)}else this.position.destroy&&this.position.destroy(),this.position={constant:t.position};if(t.text||n){var E=Pl.mallocUint8(this.count),S=Pl.mallocFloat(this.count*2);this.textWidth=[];for(var T=0,P=0;T<this.counts.length;T++){for(var M=this.counts[T],L=this.font[T]||this.font[0],v=this.fontAtlas[T]||this.fontAtlas[0],K=0;K<M;K++){var q=this.text.charAt(P),ue=this.text.charAt(P-1);if(E[P]=v.ids[q],S[P*2]=L.width[q],K){var Ie=S[P*2-2],Ce=S[P*2],De=S[P*2-1],Ye=De+Ie*.5+Ce*.5;if(this.kerning){var Xe=L.kerning[ue+q];Xe&&(Ye+=Xe*.001)}S[P*2+1]=Ye}else S[P*2+1]=S[P*2]*.5;P++}this.textWidth.push(S.length?S[P*2-2]*.5+S[P*2-1]:0)}t.align||(t.align=this.align),this.charBuffer({data:E,type:"uint8",usage:"stream"}),this.sizeBuffer({data:S,type:"float",usage:"stream"}),Pl.freeUint8(E),Pl.freeFloat(S),l.length&&this.font.forEach(function(st,Ct){var Lt=r.fontAtlas[Ct],hr=Lt.step,mr=Math.floor(Kr.maxAtlasSize/hr),at=Math.min(mr,Lt.chars.length),Gt=Math.ceil(Lt.chars.length/at),fr=XC(at*hr),je=XC(Gt*hr);Lt.width=fr,Lt.height=je,Lt.rows=Gt,Lt.cols=at,Lt.em&&Lt.texture({data:XW({canvas:Kr.atlasCanvas,font:Lt.fontString,chars:Lt.chars,shape:[fr,je],step:[hr,hr]})})})}if(t.align&&(this.align=t.align,this.alignOffset=this.textWidth.map(function(st,Ct){var Lt=Array.isArray(r.align)?r.align.length>1?r.align[Ct]:r.align[0]:r.align;if(typeof Lt=="number")return Lt;switch(Lt){case"right":case"end":return-st;case"center":case"centre":case"middle":return-st*.5}return 0})),this.baseline==null&&t.baseline==null&&(t.baseline=0),t.baseline!=null&&(this.baseline=t.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map(function(st,Ct){var Lt=(r.font[Ct]||r.font[0]).metrics,hr=0;return hr+=Lt.bottom*.5,typeof st=="number"?hr+=st-Lt.baseline:hr+=-Lt[st],hr*=-1,hr})),t.color!=null)if(t.color||(t.color="transparent"),typeof t.color=="string"||!isNaN(t.color))this.color=gb(t.color,"uint8");else{var Et;if(typeof t.color[0]=="number"&&t.color.length>this.counts.length){var yt=t.color.length;Et=Pl.mallocUint8(yt);for(var Ze=(t.color.subarray||t.color.slice).bind(t.color),it=0;it<yt;it+=4)Et.set(gb(Ze(it,it+4),"uint8"),it)}else{var Ut=t.color.length;Et=Pl.mallocUint8(Ut*4);for(var bt=0;bt<Ut;bt++)Et.set(gb(t.color[bt]||0,"uint8"),bt*4)}this.color=Et}if(t.position||t.text||t.color||t.baseline||t.align||t.font||t.offset||t.opacity){var Le=this.color.length>4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2;if(Le){var ut=Math.max(this.position.length*.5||0,this.color.length*.25||0,this.baselineOffset.length||0,this.alignOffset.length||0,this.font.length||0,this.opacity.length||0,this.positionOffset.length*.5||0);this.batch=Array(ut);for(var At=0;At<this.batch.length;At++)this.batch[At]={count:this.counts.length>1?this.counts[At]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[At]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(At*4,At*4+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[At]:this.opacity,baseline:this.baselineOffset[At]!=null?this.baselineOffset[At]:this.baselineOffset[0],align:this.align?this.alignOffset[At]!=null?this.alignOffset[At]:this.alignOffset[0]:0,atlas:this.fontAtlas[At]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(At*2,At*2+2):this.positionOffset}}else this.count?this.batch=[{count:this.count,offset:0,color:this.color||[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[0]:this.opacity,baseline:this.baselineOffset[0],align:this.alignOffset?this.alignOffset[0]:0,atlas:this.fontAtlas[0],positionOffset:this.positionOffset}]:this.batch=[]}};Kr.prototype.destroy=function(){};Kr.prototype.kerning=!0;Kr.prototype.position={constant:new Float32Array(2)};Kr.prototype.translate=null;Kr.prototype.scale=null;Kr.prototype.font=null;Kr.prototype.text="";Kr.prototype.positionOffset=[0,0];Kr.prototype.opacity=1;Kr.prototype.color=new Uint8Array([0,0,0,255]);Kr.prototype.alignOffset=[0,0];Kr.maxAtlasSize=1024;Kr.atlasCanvas=document.createElement("canvas");Kr.atlasContext=Kr.atlasCanvas.getContext("2d",{alpha:!1});Kr.baseFontSize=64;Kr.fonts={};function aG(e){return typeof e=="function"&&e._gl&&e.prop&&e.texture&&e.buffer}var mte=Kr;function oG(e,t){return e.parent===t.parent?1:2}function uG(e){return e.reduce(lG,0)/e.length}function lG(e,t){return e+t.x}function sG(e){return 1+e.reduce(fG,0)}function fG(e,t){return Math.max(e,t.y)}function cG(e){for(var t;t=e.children;)e=t[0];return e}function dG(e){for(var t;t=e.children;)e=t[t.length-1];return e}function hG(){var e=oG,t=1,r=1,n=!1;function i(a){var o,l=0;a.eachAfter(function(x){var b=x.children;b?(x.x=uG(b),x.y=sG(b)):(x.x=o?l+=e(x,o):0,x.y=0,o=x)});var f=cG(a),c=dG(a),p=f.x-e(f,c)/2,_=c.x+e(c,f)/2;return a.eachAfter(n?function(x){x.x=(x.x-a.x)*t,x.y=(a.y-x.y)*r}:function(x){x.x=(x.x-p)/(_-p)*t,x.y=(1-(a.y?x.y/a.y:1))*r})}return i.separation=function(a){return arguments.length?(e=a,i):e},i.size=function(a){return arguments.length?(n=!1,t=+a[0],r=+a[1],i):n?null:[t,r]},i.nodeSize=function(a){return arguments.length?(n=!0,t=+a[0],r=+a[1],i):n?[t,r]:null},i}function pG(e){var t=0,r=e.children,n=r&&r.length;if(!n)t=1;else for(;--n>=0;)t+=r[n].value;e.value=t}function vG(){return this.eachAfter(pG)}function gG(e){var t=this,r,n=[t],i,a,o;do for(r=n.reverse(),n=[];t=r.pop();)if(e(t),i=t.children,i)for(a=0,o=i.length;a<o;++a)n.push(i[a]);while(n.length);return this}function mG(e){for(var t=this,r=[t],n,i;t=r.pop();)if(e(t),n=t.children,n)for(i=n.length-1;i>=0;--i)r.push(n[i]);return this}function yG(e){for(var t=this,r=[t],n=[],i,a,o;t=r.pop();)if(n.push(t),i=t.children,i)for(a=0,o=i.length;a<o;++a)r.push(i[a]);for(;t=n.pop();)e(t);return this}function bG(e){return this.eachAfter(function(t){for(var r=+e(t.data)||0,n=t.children,i=n&&n.length;--i>=0;)r+=n[i].value;t.value=r})}function xG(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}function wG(e){for(var t=this,r=_G(t,e),n=[t];t!==r;)t=t.parent,n.push(t);for(var i=n.length;e!==r;)n.splice(i,0,e),e=e.parent;return n}function _G(e,t){if(e===t)return e;var r=e.ancestors(),n=t.ancestors(),i=null;for(e=r.pop(),t=n.pop();e===t;)i=e,e=r.pop(),t=n.pop();return i}function SG(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function EG(){var e=[];return this.each(function(t){e.push(t)}),e}function AG(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}function TG(){var e=this,t=[];return e.each(function(r){r!==e&&t.push({source:r.parent,target:r})}),t}function $2(e,t){var r=new od(e),n=+e.value&&(r.value=e.value),i,a=[r],o,l,f,c;for(t==null&&(t=OG);i=a.pop();)if(n&&(i.value=+i.data.value),(l=t(i.data))&&(c=l.length))for(i.children=new Array(c),f=c-1;f>=0;--f)a.push(o=i.children[f]=new od(l[f])),o.parent=i,o.depth=i.depth+1;return r.eachBefore(oR)}function CG(){return $2(this).eachBefore(kG)}function OG(e){return e.children}function kG(e){e.data=e.data.data}function oR(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function od(e){this.data=e,this.depth=this.height=0,this.parent=null}od.prototype=$2.prototype={constructor:od,count:vG,each:gG,eachAfter:yG,eachBefore:mG,sum:bG,sort:xG,path:wG,ancestors:SG,descendants:EG,leaves:AG,links:TG,copy:CG};var MG=Array.prototype.slice;function PG(e){for(var t=e.length,r,n;t;)n=Math.random()*t--|0,r=e[t],e[t]=e[n],e[n]=r;return e}function uR(e){for(var t=0,r=(e=PG(MG.call(e))).length,n=[],i,a;t<r;)i=e[t],a&&lR(a,i)?++t:(a=RG(n=NG(n,i)),t=0);return a}function NG(e,t){var r,n;if(yb(t,e))return[t];for(r=0;r<e.length;++r)if(ag(t,e[r])&&yb(Bh(e[r],t),e))return[e[r],t];for(r=0;r<e.length-1;++r)for(n=r+1;n<e.length;++n)if(ag(Bh(e[r],e[n]),t)&&ag(Bh(e[r],t),e[n])&&ag(Bh(e[n],t),e[r])&&yb(sR(e[r],e[n],t),e))return[e[r],e[n],t];throw new Error}function ag(e,t){var r=e.r-t.r,n=t.x-e.x,i=t.y-e.y;return r<0||r*r<n*n+i*i}function lR(e,t){var r=e.r-t.r+1e-6,n=t.x-e.x,i=t.y-e.y;return r>0&&r*r>n*n+i*i}function yb(e,t){for(var r=0;r<t.length;++r)if(!lR(e,t[r]))return!1;return!0}function RG(e){switch(e.length){case 1:return IG(e[0]);case 2:return Bh(e[0],e[1]);case 3:return sR(e[0],e[1],e[2])}}function IG(e){return{x:e.x,y:e.y,r:e.r}}function Bh(e,t){var r=e.x,n=e.y,i=e.r,a=t.x,o=t.y,l=t.r,f=a-r,c=o-n,p=l-i,_=Math.sqrt(f*f+c*c);return{x:(r+a+f/_*p)/2,y:(n+o+c/_*p)/2,r:(_+i+l)/2}}function sR(e,t,r){var n=e.x,i=e.y,a=e.r,o=t.x,l=t.y,f=t.r,c=r.x,p=r.y,_=r.r,x=n-o,b=n-c,C=i-l,R=i-p,E=f-a,S=_-a,T=n*n+i*i-a*a,P=T-o*o-l*l+f*f,M=T-c*c-p*p+_*_,L=b*C-x*R,v=(C*M-R*P)/(L*2)-n,K=(R*E-C*S)/L,q=(b*P-x*M)/(L*2)-i,ue=(x*S-b*E)/L,Ie=K*K+ue*ue-1,Ce=2*(a+v*K+q*ue),De=v*v+q*q-a*a,Ye=-(Ie?(Ce+Math.sqrt(Ce*Ce-4*Ie*De))/(2*Ie):De/Ce);return{x:n+v+K*Ye,y:i+q+ue*Ye,r:Ye}}function ZC(e,t,r){var n=e.x-t.x,i,a,o=e.y-t.y,l,f,c=n*n+o*o;c?(a=t.r+r.r,a*=a,f=e.r+r.r,f*=f,a>f?(i=(c+f-a)/(2*c),l=Math.sqrt(Math.max(0,f/c-i*i)),r.x=e.x-i*n-l*o,r.y=e.y-i*o+l*n):(i=(c+a-f)/(2*c),l=Math.sqrt(Math.max(0,a/c-i*i)),r.x=t.x+i*n-l*o,r.y=t.y+i*o+l*n)):(r.x=t.x+r.r,r.y=t.y)}function KC(e,t){var r=e.r+t.r-1e-6,n=t.x-e.x,i=t.y-e.y;return r>0&&r*r>n*n+i*i}function JC(e){var t=e._,r=e.next._,n=t.r+r.r,i=(t.x*r.r+r.x*t.r)/n,a=(t.y*r.r+r.y*t.r)/n;return i*i+a*a}function og(e){this._=e,this.next=null,this.previous=null}function fR(e){if(!(i=e.length))return 0;var t,r,n,i,a,o,l,f,c,p,_;if(t=e[0],t.x=0,t.y=0,!(i>1))return t.r;if(r=e[1],t.x=-r.r,r.x=t.r,r.y=0,!(i>2))return t.r+r.r;ZC(r,t,n=e[2]),t=new og(t),r=new og(r),n=new og(n),t.next=n.previous=r,r.next=t.previous=n,n.next=r.previous=t;e:for(l=3;l<i;++l){ZC(t._,r._,n=e[l]),n=new og(n),f=r.next,c=t.previous,p=r._.r,_=t._.r;do if(p<=_){if(KC(f._,n._)){r=f,t.next=r,r.previous=t,--l;continue e}p+=f._.r,f=f.next}else{if(KC(c._,n._)){t=c,t.next=r,r.previous=t,--l;continue e}_+=c._.r,c=c.previous}while(f!==c.next);for(n.previous=t,n.next=r,t.next=r.previous=r=n,a=JC(t);(n=n.next)!==r;)(o=JC(n))<a&&(t=n,a=o);r=t.next}for(t=[r._],n=r;(n=n.next)!==r;)t.push(n._);for(n=uR(t),l=0;l<i;++l)t=e[l],t.x-=n.x,t.y-=n.y;return n.r}function FG(e){return fR(e),e}function LG(e){return e==null?null:R0(e)}function R0(e){if(typeof e!="function")throw new Error;return e}function qs(){return 0}function _c(e){return function(){return e}}function DG(e){return Math.sqrt(e.value)}function $G(){var e=null,t=1,r=1,n=qs;function i(a){return a.x=t/2,a.y=r/2,e?a.eachBefore(e3(e)).eachAfter(bb(n,.5)).eachBefore(t3(1)):a.eachBefore(e3(DG)).eachAfter(bb(qs,1)).eachAfter(bb(n,a.r/Math.min(t,r))).eachBefore(t3(Math.min(t,r)/(2*a.r))),a}return i.radius=function(a){return arguments.length?(e=LG(a),i):e},i.size=function(a){return arguments.length?(t=+a[0],r=+a[1],i):[t,r]},i.padding=function(a){return arguments.length?(n=typeof a=="function"?a:_c(+a),i):n},i}function e3(e){return function(t){t.children||(t.r=Math.max(0,+e(t)||0))}}function bb(e,t){return function(r){if(n=r.children){var n,i,a=n.length,o=e(r)*t||0,l;if(o)for(i=0;i<a;++i)n[i].r+=o;if(l=fR(n),o)for(i=0;i<a;++i)n[i].r-=o;r.r=l+o}}}function t3(e){return function(t){var r=t.parent;t.r*=e,r&&(t.x=r.x+e*t.x,t.y=r.y+e*t.y)}}function cR(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)}function Yp(e,t,r,n,i){for(var a=e.children,o,l=-1,f=a.length,c=e.value&&(n-t)/e.value;++l<f;)o=a[l],o.y0=r,o.y1=i,o.x0=t,o.x1=t+=o.value*c}function zG(){var e=1,t=1,r=0,n=!1;function i(o){var l=o.height+1;return o.x0=o.y0=r,o.x1=e,o.y1=t/l,o.eachBefore(a(t,l)),n&&o.eachBefore(cR),o}function a(o,l){return function(f){f.children&&Yp(f,f.x0,o*(f.depth+1)/l,f.x1,o*(f.depth+2)/l);var c=f.x0,p=f.y0,_=f.x1-r,x=f.y1-r;_<c&&(c=_=(c+_)/2),x<p&&(p=x=(p+x)/2),f.x0=c,f.y0=p,f.x1=_,f.y1=x}}return i.round=function(o){return arguments.length?(n=!!o,i):n},i.size=function(o){return arguments.length?(e=+o[0],t=+o[1],i):[e,t]},i.padding=function(o){return arguments.length?(r=+o,i):r},i}var r3="$",BG={depth:-1},n3={};function jG(e){return e.id}function UG(e){return e.parentId}function HG(){var e=jG,t=UG;function r(n){var i,a,o=n.length,l,f,c,p=new Array(o),_,x,b={};for(a=0;a<o;++a)i=n[a],c=p[a]=new od(i),(_=e(i,a,n))!=null&&(_+="")&&(x=r3+(c.id=_),b[x]=x in b?n3:c);for(a=0;a<o;++a)if(c=p[a],_=t(n[a],a,n),_==null||!(_+="")){if(l)throw new Error("multiple roots");l=c}else{if(f=b[r3+_],!f)throw new Error("missing: "+_);if(f===n3)throw new Error("ambiguous: "+_);f.children?f.children.push(c):f.children=[c],c.parent=f}if(!l)throw new Error("no root");if(l.parent=BG,l.eachBefore(function(C){C.depth=C.parent.depth+1,--o}).eachBefore(oR),l.parent=null,o>0)throw new Error("cycle");return l}return r.id=function(n){return arguments.length?(e=R0(n),r):e},r.parentId=function(n){return arguments.length?(t=R0(n),r):t},r}function WG(e,t){return e.parent===t.parent?1:2}function xb(e){var t=e.children;return t?t[0]:e.t}function wb(e){var t=e.children;return t?t[t.length-1]:e.t}function GG(e,t,r){var n=r/(t.i-e.i);t.c-=n,t.s+=r,e.c+=n,t.z+=r,t.m+=r}function qG(e){for(var t=0,r=0,n=e.children,i=n.length,a;--i>=0;)a=n[i],a.z+=t,a.m+=t,t+=a.s+(r+=a.c)}function VG(e,t,r){return e.a.parent===t.parent?e.a:r}function Lg(e,t){this._=e,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=t}Lg.prototype=Object.create(od.prototype);function YG(e){for(var t=new Lg(e,0),r,n=[t],i,a,o,l;r=n.pop();)if(a=r._.children)for(r.children=new Array(l=a.length),o=l-1;o>=0;--o)n.push(i=r.children[o]=new Lg(a[o],o)),i.parent=r;return(t.parent=new Lg(null,0)).children=[t],t}function XG(){var e=WG,t=1,r=1,n=null;function i(c){var p=YG(c);if(p.eachAfter(a),p.parent.m=-p.z,p.eachBefore(o),n)c.eachBefore(f);else{var _=c,x=c,b=c;c.eachBefore(function(T){T.x<_.x&&(_=T),T.x>x.x&&(x=T),T.depth>b.depth&&(b=T)});var C=_===x?1:e(_,x)/2,R=C-_.x,E=t/(x.x+C+R),S=r/(b.depth||1);c.eachBefore(function(T){T.x=(T.x+R)*E,T.y=T.depth*S})}return c}function a(c){var p=c.children,_=c.parent.children,x=c.i?_[c.i-1]:null;if(p){qG(c);var b=(p[0].z+p[p.length-1].z)/2;x?(c.z=x.z+e(c._,x._),c.m=c.z-b):c.z=b}else x&&(c.z=x.z+e(c._,x._));c.parent.A=l(c,x,c.parent.A||_[0])}function o(c){c._.x=c.z+c.parent.m,c.m+=c.parent.m}function l(c,p,_){if(p){for(var x=c,b=c,C=p,R=x.parent.children[0],E=x.m,S=b.m,T=C.m,P=R.m,M;C=wb(C),x=xb(x),C&&x;)R=xb(R),b=wb(b),b.a=c,M=C.z+T-x.z-E+e(C._,x._),M>0&&(GG(VG(C,c,_),c,M),E+=M,S+=M),T+=C.m,E+=x.m,P+=R.m,S+=b.m;C&&!wb(b)&&(b.t=C,b.m+=T-S),x&&!xb(R)&&(R.t=x,R.m+=E-P,_=c)}return _}function f(c){c.x*=t,c.y=c.depth*r}return i.separation=function(c){return arguments.length?(e=c,i):e},i.size=function(c){return arguments.length?(n=!1,t=+c[0],r=+c[1],i):n?null:[t,r]},i.nodeSize=function(c){return arguments.length?(n=!0,t=+c[0],r=+c[1],i):n?[t,r]:null},i}function Cm(e,t,r,n,i){for(var a=e.children,o,l=-1,f=a.length,c=e.value&&(i-r)/e.value;++l<f;)o=a[l],o.x0=t,o.x1=n,o.y0=r,o.y1=r+=o.value*c}var dR=(1+Math.sqrt(5))/2;function hR(e,t,r,n,i,a){for(var o=[],l=t.children,f,c,p=0,_=0,x=l.length,b,C,R=t.value,E,S,T,P,M,L,v;p<x;){b=i-r,C=a-n;do E=l[_++].value;while(!E&&_<x);for(S=T=E,L=Math.max(C/b,b/C)/(R*e),v=E*E*L,M=Math.max(T/v,v/S);_<x;++_){if(E+=c=l[_].value,c<S&&(S=c),c>T&&(T=c),v=E*E*L,P=Math.max(T/v,v/S),P>M){E-=c;break}M=P}o.push(f={value:E,dice:b<C,children:l.slice(p,_)}),f.dice?Yp(f,r,n,i,R?n+=C*E/R:a):Cm(f,r,n,R?r+=b*E/R:i,a),R-=E,p=_}return o}const pR=function e(t){function r(n,i,a,o,l){hR(t,n,i,a,o,l)}return r.ratio=function(n){return e((n=+n)>1?n:1)},r}(dR);function QG(){var e=pR,t=!1,r=1,n=1,i=[0],a=qs,o=qs,l=qs,f=qs,c=qs;function p(x){return x.x0=x.y0=0,x.x1=r,x.y1=n,x.eachBefore(_),i=[0],t&&x.eachBefore(cR),x}function _(x){var b=i[x.depth],C=x.x0+b,R=x.y0+b,E=x.x1-b,S=x.y1-b;E<C&&(C=E=(C+E)/2),S<R&&(R=S=(R+S)/2),x.x0=C,x.y0=R,x.x1=E,x.y1=S,x.children&&(b=i[x.depth+1]=a(x)/2,C+=c(x)-b,R+=o(x)-b,E-=l(x)-b,S-=f(x)-b,E<C&&(C=E=(C+E)/2),S<R&&(R=S=(R+S)/2),e(x,C,R,E,S))}return p.round=function(x){return arguments.length?(t=!!x,p):t},p.size=function(x){return arguments.length?(r=+x[0],n=+x[1],p):[r,n]},p.tile=function(x){return arguments.length?(e=R0(x),p):e},p.padding=function(x){return arguments.length?p.paddingInner(x).paddingOuter(x):p.paddingInner()},p.paddingInner=function(x){return arguments.length?(a=typeof x=="function"?x:_c(+x),p):a},p.paddingOuter=function(x){return arguments.length?p.paddingTop(x).paddingRight(x).paddingBottom(x).paddingLeft(x):p.paddingTop()},p.paddingTop=function(x){return arguments.length?(o=typeof x=="function"?x:_c(+x),p):o},p.paddingRight=function(x){return arguments.length?(l=typeof x=="function"?x:_c(+x),p):l},p.paddingBottom=function(x){return arguments.length?(f=typeof x=="function"?x:_c(+x),p):f},p.paddingLeft=function(x){return arguments.length?(c=typeof x=="function"?x:_c(+x),p):c},p}function ZG(e,t,r,n,i){var a=e.children,o,l=a.length,f,c=new Array(l+1);for(c[0]=f=o=0;o<l;++o)c[o+1]=f+=a[o].value;p(0,l,e.value,t,r,n,i);function p(_,x,b,C,R,E,S){if(_>=x-1){var T=a[_];T.x0=C,T.y0=R,T.x1=E,T.y1=S;return}for(var P=c[_],M=b/2+P,L=_+1,v=x-1;L<v;){var K=L+v>>>1;c[K]<M?L=K+1:v=K}M-c[L-1]<c[L]-M&&_+1<L&&--L;var q=c[L]-P,ue=b-q;if(E-C>S-R){var Ie=(C*ue+E*q)/b;p(_,L,q,C,R,Ie,S),p(L,x,ue,Ie,R,E,S)}else{var Ce=(R*ue+S*q)/b;p(_,L,q,C,R,E,Ce),p(L,x,ue,C,Ce,E,S)}}}function KG(e,t,r,n,i){(e.depth&1?Cm:Yp)(e,t,r,n,i)}const JG=function e(t){function r(n,i,a,o,l){if((f=n._squarify)&&f.ratio===t)for(var f,c,p,_,x=-1,b,C=f.length,R=n.value;++x<C;){for(c=f[x],p=c.children,_=c.value=0,b=p.length;_<b;++_)c.value+=p[_].value;c.dice?Yp(c,i,a,o,a+=(l-a)*c.value/R):Cm(c,i,a,i+=(o-i)*c.value/R,l),R-=c.value}else n._squarify=f=hR(t,n,i,a,o,l),f.ratio=t}return r.ratio=function(n){return e((n=+n)>1?n:1)},r}(dR),eq=Object.freeze(Object.defineProperty({__proto__:null,cluster:hG,hierarchy:$2,pack:$G,packSiblings:FG,packEnclose:uR,partition:zG,stratify:HG,tree:XG,treemap:QG,treemapBinary:ZG,treemapDice:Yp,treemapSlice:Cm,treemapSliceDice:KG,treemapSquarify:pR,treemapResquarify:JG},Symbol.toStringTag,{value:"Module"})),yte=gf(eq);function wd(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function Xp(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function vs(){}var cf=.7,ud=1/cf,Yc="\\s*([+-]?\\d+)\\s*",Pp="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",uu="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",tq=/^#([0-9a-f]{3,8})$/,rq=new RegExp("^rgb\\("+[Yc,Yc,Yc]+"\\)$"),nq=new RegExp("^rgb\\("+[uu,uu,uu]+"\\)$"),iq=new RegExp("^rgba\\("+[Yc,Yc,Yc,Pp]+"\\)$"),aq=new RegExp("^rgba\\("+[uu,uu,uu,Pp]+"\\)$"),oq=new RegExp("^hsl\\("+[Pp,uu,uu]+"\\)$"),uq=new RegExp("^hsla\\("+[Pp,uu,uu,Pp]+"\\)$"),i3={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};wd(vs,Np,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:a3,formatHex:a3,formatHsl:lq,formatRgb:o3,toString:o3});function a3(){return this.rgb().formatHex()}function lq(){return vR(this).formatHsl()}function o3(){return this.rgb().formatRgb()}function Np(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=tq.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?u3(t):r===3?new Ri(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?ug(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?ug(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=rq.exec(e))?new Ri(t[1],t[2],t[3],1):(t=nq.exec(e))?new Ri(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=iq.exec(e))?ug(t[1],t[2],t[3],t[4]):(t=aq.exec(e))?ug(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=oq.exec(e))?f3(t[1],t[2]/100,t[3]/100,1):(t=uq.exec(e))?f3(t[1],t[2]/100,t[3]/100,t[4]):i3.hasOwnProperty(e)?u3(i3[e]):e==="transparent"?new Ri(NaN,NaN,NaN,0):null}function u3(e){return new Ri(e>>16&255,e>>8&255,e&255,1)}function ug(e,t,r,n){return n<=0&&(e=t=r=NaN),new Ri(e,t,r,n)}function z2(e){return e instanceof vs||(e=Np(e)),e?(e=e.rgb(),new Ri(e.r,e.g,e.b,e.opacity)):new Ri}function I0(e,t,r,n){return arguments.length===1?z2(e):new Ri(e,t,r,n==null?1:n)}function Ri(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}wd(Ri,I0,Xp(vs,{brighter:function(e){return e=e==null?ud:Math.pow(ud,e),new Ri(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=e==null?cf:Math.pow(cf,e),new Ri(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:l3,formatHex:l3,formatRgb:s3,toString:s3}));function l3(){return"#"+_b(this.r)+_b(this.g)+_b(this.b)}function s3(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(e===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(e===1?")":", "+e+")")}function _b(e){return e=Math.max(0,Math.min(255,Math.round(e)||0)),(e<16?"0":"")+e.toString(16)}function f3(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new eu(e,t,r,n)}function vR(e){if(e instanceof eu)return new eu(e.h,e.s,e.l,e.opacity);if(e instanceof vs||(e=Np(e)),!e)return new eu;if(e instanceof eu)return e;e=e.rgb();var t=e.r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),a=Math.max(t,r,n),o=NaN,l=a-i,f=(a+i)/2;return l?(t===a?o=(r-n)/l+(r<n)*6:r===a?o=(n-t)/l+2:o=(t-r)/l+4,l/=f<.5?a+i:2-a-i,o*=60):l=f>0&&f<1?0:o,new eu(o,l,f,e.opacity)}function Cw(e,t,r,n){return arguments.length===1?vR(e):new eu(e,t,r,n==null?1:n)}function eu(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}wd(eu,Cw,Xp(vs,{brighter:function(e){return e=e==null?ud:Math.pow(ud,e),new eu(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=e==null?cf:Math.pow(cf,e),new eu(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new Ri(Sb(e>=240?e-240:e+120,i,n),Sb(e,i,n),Sb(e<120?e+240:e-120,i,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(e===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(e===1?")":", "+e+")")}}));function Sb(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}var gR=Math.PI/180,mR=180/Math.PI,F0=18,yR=.96422,bR=1,xR=.82521,wR=4/29,Xc=6/29,_R=3*Xc*Xc,sq=Xc*Xc*Xc;function SR(e){if(e instanceof lu)return new lu(e.l,e.a,e.b,e.opacity);if(e instanceof Wu)return ER(e);e instanceof Ri||(e=z2(e));var t=Cb(e.r),r=Cb(e.g),n=Cb(e.b),i=Eb((.2225045*t+.7168786*r+.0606169*n)/bR),a,o;return t===r&&r===n?a=o=i:(a=Eb((.4360747*t+.3850649*r+.1430804*n)/yR),o=Eb((.0139322*t+.0971045*r+.7141733*n)/xR)),new lu(116*i-16,500*(a-i),200*(i-o),e.opacity)}function Ow(e,t,r,n){return arguments.length===1?SR(e):new lu(e,t,r,n==null?1:n)}function lu(e,t,r,n){this.l=+e,this.a=+t,this.b=+r,this.opacity=+n}wd(lu,Ow,Xp(vs,{brighter:function(e){return new lu(this.l+F0*(e==null?1:e),this.a,this.b,this.opacity)},darker:function(e){return new lu(this.l-F0*(e==null?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,r=isNaN(this.b)?e:e-this.b/200;return t=yR*Ab(t),e=bR*Ab(e),r=xR*Ab(r),new Ri(Tb(3.1338561*t-1.6168667*e-.4906146*r),Tb(-.9787684*t+1.9161415*e+.033454*r),Tb(.0719453*t-.2289914*e+1.4052427*r),this.opacity)}}));function Eb(e){return e>sq?Math.pow(e,1/3):e/_R+wR}function Ab(e){return e>Xc?e*e*e:_R*(e-wR)}function Tb(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function Cb(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function fq(e){if(e instanceof Wu)return new Wu(e.h,e.c,e.l,e.opacity);if(e instanceof lu||(e=SR(e)),e.a===0&&e.b===0)return new Wu(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*mR;return new Wu(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function kw(e,t,r,n){return arguments.length===1?fq(e):new Wu(e,t,r,n==null?1:n)}function Wu(e,t,r,n){this.h=+e,this.c=+t,this.l=+r,this.opacity=+n}function ER(e){if(isNaN(e.h))return new lu(e.l,0,0,e.opacity);var t=e.h*gR;return new lu(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}wd(Wu,kw,Xp(vs,{brighter:function(e){return new Wu(this.h,this.c,this.l+F0*(e==null?1:e),this.opacity)},darker:function(e){return new Wu(this.h,this.c,this.l-F0*(e==null?1:e),this.opacity)},rgb:function(){return ER(this).rgb()}}));var AR=-.14861,B2=1.78277,j2=-.29227,Om=-.90649,Rp=1.97294,c3=Rp*Om,d3=Rp*B2,h3=B2*j2-Om*AR;function cq(e){if(e instanceof nf)return new nf(e.h,e.s,e.l,e.opacity);e instanceof Ri||(e=z2(e));var t=e.r/255,r=e.g/255,n=e.b/255,i=(h3*n+c3*t-d3*r)/(h3+c3-d3),a=n-i,o=(Rp*(r-i)-j2*a)/Om,l=Math.sqrt(o*o+a*a)/(Rp*i*(1-i)),f=l?Math.atan2(o,a)*mR-120:NaN;return new nf(f<0?f+360:f,l,i,e.opacity)}function Mw(e,t,r,n){return arguments.length===1?cq(e):new nf(e,t,r,n==null?1:n)}function nf(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}wd(nf,Mw,Xp(vs,{brighter:function(e){return e=e==null?ud:Math.pow(ud,e),new nf(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=e==null?cf:Math.pow(cf,e),new nf(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*gR,t=+this.l,r=isNaN(this.s)?0:this.s*t*(1-t),n=Math.cos(e),i=Math.sin(e);return new Ri(255*(t+r*(AR*n+B2*i)),255*(t+r*(j2*n+Om*i)),255*(t+r*(Rp*n)),this.opacity)}}));function TR(e,t,r,n,i){var a=e*e,o=a*e;return((1-3*e+3*a-o)*t+(4-6*a+3*o)*r+(1+3*e+3*a-3*o)*n+o*i)/6}function CR(e){var t=e.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),i=e[n],a=e[n+1],o=n>0?e[n-1]:2*i-a,l=n<t-1?e[n+2]:2*a-i;return TR((r-n/t)*t,o,i,a,l)}}function OR(e){var t=e.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*t),i=e[(n+t-1)%t],a=e[n%t],o=e[(n+1)%t],l=e[(n+2)%t];return TR((r-n/t)*t,i,a,o,l)}}function km(e){return function(){return e}}function kR(e,t){return function(r){return e+r*t}}function dq(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}function Mm(e,t){var r=t-e;return r?kR(e,r>180||r<-180?r-360*Math.round(r/360):r):km(isNaN(e)?t:e)}function hq(e){return(e=+e)==1?xi:function(t,r){return r-t?dq(t,r,e):km(isNaN(t)?r:t)}}function xi(e,t){var r=t-e;return r?kR(e,r):km(isNaN(e)?t:e)}const Pw=function e(t){var r=hq(t);function n(i,a){var o=r((i=I0(i)).r,(a=I0(a)).r),l=r(i.g,a.g),f=r(i.b,a.b),c=xi(i.opacity,a.opacity);return function(p){return i.r=o(p),i.g=l(p),i.b=f(p),i.opacity=c(p),i+""}}return n.gamma=e,n}(1);function MR(e){return function(t){var r=t.length,n=new Array(r),i=new Array(r),a=new Array(r),o,l;for(o=0;o<r;++o)l=I0(t[o]),n[o]=l.r||0,i[o]=l.g||0,a[o]=l.b||0;return n=e(n),i=e(i),a=e(a),l.opacity=1,function(f){return l.r=n(f),l.g=i(f),l.b=a(f),l+""}}}var pq=MR(CR),vq=MR(OR);function U2(e,t){t||(t=[]);var r=e?Math.min(t.length,e.length):0,n=t.slice(),i;return function(a){for(i=0;i<r;++i)n[i]=e[i]*(1-a)+t[i]*a;return n}}function PR(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function gq(e,t){return(PR(t)?U2:NR)(e,t)}function NR(e,t){var r=t?t.length:0,n=e?Math.min(r,e.length):0,i=new Array(n),a=new Array(r),o;for(o=0;o<n;++o)i[o]=H2(e[o],t[o]);for(;o<r;++o)a[o]=t[o];return function(l){for(o=0;o<n;++o)a[o]=i[o](l);return a}}function RR(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function Jo(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function IR(e,t){var r={},n={},i;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(i in t)i in e?r[i]=H2(e[i],t[i]):n[i]=t[i];return function(a){for(i in r)n[i]=r[i](a);return n}}var Nw=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ob=new RegExp(Nw.source,"g");function mq(e){return function(){return e}}function yq(e){return function(t){return e(t)+""}}function FR(e,t){var r=Nw.lastIndex=Ob.lastIndex=0,n,i,a,o=-1,l=[],f=[];for(e=e+"",t=t+"";(n=Nw.exec(e))&&(i=Ob.exec(t));)(a=i.index)>r&&(a=t.slice(r,a),l[o]?l[o]+=a:l[++o]=a),(n=n[0])===(i=i[0])?l[o]?l[o]+=i:l[++o]=i:(l[++o]=null,f.push({i:o,x:Jo(n,i)})),r=Ob.lastIndex;return r<t.length&&(a=t.slice(r),l[o]?l[o]+=a:l[++o]=a),l.length<2?f[0]?yq(f[0].x):mq(t):(t=f.length,function(c){for(var p=0,_;p<t;++p)l[(_=f[p]).i]=_.x(c);return l.join("")})}function H2(e,t){var r=typeof t,n;return t==null||r==="boolean"?km(t):(r==="number"?Jo:r==="string"?(n=Np(t))?(t=n,Pw):FR:t instanceof Np?Pw:t instanceof Date?RR:PR(t)?U2:Array.isArray(t)?NR:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?IR:Jo)(e,t)}function bq(e){var t=e.length;return function(r){return e[Math.max(0,Math.min(t-1,Math.floor(r*t)))]}}function xq(e,t){var r=Mm(+e,+t);return function(n){var i=r(n);return i-360*Math.floor(i/360)}}function wq(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}var p3=180/Math.PI,Rw={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function LR(e,t,r,n,i,a){var o,l,f;return(o=Math.sqrt(e*e+t*t))&&(e/=o,t/=o),(f=e*r+t*n)&&(r-=e*f,n-=t*f),(l=Math.sqrt(r*r+n*n))&&(r/=l,n/=l,f/=l),e*n<t*r&&(e=-e,t=-t,f=-f,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(t,e)*p3,skewX:Math.atan(f)*p3,scaleX:o,scaleY:l}}var Mh,kb,v3,lg;function _q(e){return e==="none"?Rw:(Mh||(Mh=document.createElement("DIV"),kb=document.documentElement,v3=document.defaultView),Mh.style.transform=e,e=v3.getComputedStyle(kb.appendChild(Mh),null).getPropertyValue("transform"),kb.removeChild(Mh),e=e.slice(7,-1).split(","),LR(+e[0],+e[1],+e[2],+e[3],+e[4],+e[5]))}function Sq(e){return e==null||(lg||(lg=document.createElementNS("http://www.w3.org/2000/svg","g")),lg.setAttribute("transform",e),!(e=lg.transform.baseVal.consolidate()))?Rw:(e=e.matrix,LR(e.a,e.b,e.c,e.d,e.e,e.f))}function DR(e,t,r,n){function i(c){return c.length?c.pop()+" ":""}function a(c,p,_,x,b,C){if(c!==_||p!==x){var R=b.push("translate(",null,t,null,r);C.push({i:R-4,x:Jo(c,_)},{i:R-2,x:Jo(p,x)})}else(_||x)&&b.push("translate("+_+t+x+r)}function o(c,p,_,x){c!==p?(c-p>180?p+=360:p-c>180&&(c+=360),x.push({i:_.push(i(_)+"rotate(",null,n)-2,x:Jo(c,p)})):p&&_.push(i(_)+"rotate("+p+n)}function l(c,p,_,x){c!==p?x.push({i:_.push(i(_)+"skewX(",null,n)-2,x:Jo(c,p)}):p&&_.push(i(_)+"skewX("+p+n)}function f(c,p,_,x,b,C){if(c!==_||p!==x){var R=b.push(i(b)+"scale(",null,",",null,")");C.push({i:R-4,x:Jo(c,_)},{i:R-2,x:Jo(p,x)})}else(_!==1||x!==1)&&b.push(i(b)+"scale("+_+","+x+")")}return function(c,p){var _=[],x=[];return c=e(c),p=e(p),a(c.translateX,c.translateY,p.translateX,p.translateY,_,x),o(c.rotate,p.rotate,_,x),l(c.skewX,p.skewX,_,x),f(c.scaleX,c.scaleY,p.scaleX,p.scaleY,_,x),c=p=null,function(b){for(var C=-1,R=x.length,E;++C<R;)_[(E=x[C]).i]=E.x(b);return _.join("")}}}var Eq=DR(_q,"px, ","px)","deg)"),Aq=DR(Sq,", ",")",")"),Ph=Math.SQRT2,Mb=2,g3=4,Tq=1e-12;function m3(e){return((e=Math.exp(e))+1/e)/2}function Cq(e){return((e=Math.exp(e))-1/e)/2}function Oq(e){return((e=Math.exp(2*e))-1)/(e+1)}function kq(e,t){var r=e[0],n=e[1],i=e[2],a=t[0],o=t[1],l=t[2],f=a-r,c=o-n,p=f*f+c*c,_,x;if(p<Tq)x=Math.log(l/i)/Ph,_=function(T){return[r+T*f,n+T*c,i*Math.exp(Ph*T*x)]};else{var b=Math.sqrt(p),C=(l*l-i*i+g3*p)/(2*i*Mb*b),R=(l*l-i*i-g3*p)/(2*l*Mb*b),E=Math.log(Math.sqrt(C*C+1)-C),S=Math.log(Math.sqrt(R*R+1)-R);x=(S-E)/Ph,_=function(T){var P=T*x,M=m3(E),L=i/(Mb*b)*(M*Oq(Ph*P+E)-Cq(E));return[r+L*f,n+L*c,i*M/m3(Ph*P+E)]}}return _.duration=x*1e3,_}function $R(e){return function(t,r){var n=e((t=Cw(t)).h,(r=Cw(r)).h),i=xi(t.s,r.s),a=xi(t.l,r.l),o=xi(t.opacity,r.opacity);return function(l){return t.h=n(l),t.s=i(l),t.l=a(l),t.opacity=o(l),t+""}}}const Mq=$R(Mm);var Pq=$R(xi);function Nq(e,t){var r=xi((e=Ow(e)).l,(t=Ow(t)).l),n=xi(e.a,t.a),i=xi(e.b,t.b),a=xi(e.opacity,t.opacity);return function(o){return e.l=r(o),e.a=n(o),e.b=i(o),e.opacity=a(o),e+""}}function zR(e){return function(t,r){var n=e((t=kw(t)).h,(r=kw(r)).h),i=xi(t.c,r.c),a=xi(t.l,r.l),o=xi(t.opacity,r.opacity);return function(l){return t.h=n(l),t.c=i(l),t.l=a(l),t.opacity=o(l),t+""}}}const Rq=zR(Mm);var Iq=zR(xi);function BR(e){return function t(r){r=+r;function n(i,a){var o=e((i=Mw(i)).h,(a=Mw(a)).h),l=xi(i.s,a.s),f=xi(i.l,a.l),c=xi(i.opacity,a.opacity);return function(p){return i.h=o(p),i.s=l(p),i.l=f(Math.pow(p,r)),i.opacity=c(p),i+""}}return n.gamma=t,n}(1)}const Fq=BR(Mm);var Lq=BR(xi);function Dq(e,t){for(var r=0,n=t.length-1,i=t[0],a=new Array(n<0?0:n);r<n;)a[r]=e(i,i=t[++r]);return function(o){var l=Math.max(0,Math.min(n-1,Math.floor(o*=n)));return a[l](o-l)}}function $q(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e(n/(t-1));return r}const zq=Object.freeze(Object.defineProperty({__proto__:null,interpolate:H2,interpolateArray:gq,interpolateBasis:CR,interpolateBasisClosed:OR,interpolateDate:RR,interpolateDiscrete:bq,interpolateHue:xq,interpolateNumber:Jo,interpolateNumberArray:U2,interpolateObject:IR,interpolateRound:wq,interpolateString:FR,interpolateTransformCss:Eq,interpolateTransformSvg:Aq,interpolateZoom:kq,interpolateRgb:Pw,interpolateRgbBasis:pq,interpolateRgbBasisClosed:vq,interpolateHsl:Mq,interpolateHslLong:Pq,interpolateLab:Nq,interpolateHcl:Rq,interpolateHclLong:Iq,interpolateCubehelix:Fq,interpolateCubehelixLong:Lq,piecewise:Dq,quantize:$q},Symbol.toStringTag,{value:"Module"})),bte=gf(zq);var Bq="Expected a function",jR="__lodash_hash_undefined__",UR=1/0,jq=9007199254740991,Uq="[object Function]",Hq="[object GeneratorFunction]",Wq="[object Symbol]",Gq=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,qq=/^\w*$/,Vq=/^\./,Yq=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Xq=/[\\^$.*+?()[\]{}|]/g,Qq=/\\(\\)?/g,Zq=/^\[object .+?Constructor\]$/,Kq=/^(?:0|[1-9]\d*)$/,Jq=typeof Jr=="object"&&Jr&&Jr.Object===Object&&Jr,eV=typeof self=="object"&&self&&self.Object===Object&&self,W2=Jq||eV||Function("return this")();function tV(e,t){return e==null?void 0:e[t]}function rV(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var nV=Array.prototype,iV=Function.prototype,HR=Object.prototype,Pb=W2["__core-js_shared__"],y3=function(){var e=/[^.]+$/.exec(Pb&&Pb.keys&&Pb.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),WR=iV.toString,Pm=HR.hasOwnProperty,GR=HR.toString,aV=RegExp("^"+WR.call(Pm).replace(Xq,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),b3=W2.Symbol,oV=nV.splice,uV=qR(W2,"Map"),Ip=qR(Object,"create"),x3=b3?b3.prototype:void 0,w3=x3?x3.toString:void 0;function df(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function lV(){this.__data__=Ip?Ip(null):{}}function sV(e){return this.has(e)&&delete this.__data__[e]}function fV(e){var t=this.__data__;if(Ip){var r=t[e];return r===jR?void 0:r}return Pm.call(t,e)?t[e]:void 0}function cV(e){var t=this.__data__;return Ip?t[e]!==void 0:Pm.call(t,e)}function dV(e,t){var r=this.__data__;return r[e]=Ip&&t===void 0?jR:t,this}df.prototype.clear=lV;df.prototype.delete=sV;df.prototype.get=fV;df.prototype.has=cV;df.prototype.set=dV;function _d(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function hV(){this.__data__=[]}function pV(e){var t=this.__data__,r=Nm(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():oV.call(t,r,1),!0}function vV(e){var t=this.__data__,r=Nm(t,e);return r<0?void 0:t[r][1]}function gV(e){return Nm(this.__data__,e)>-1}function mV(e,t){var r=this.__data__,n=Nm(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}_d.prototype.clear=hV;_d.prototype.delete=pV;_d.prototype.get=vV;_d.prototype.has=gV;_d.prototype.set=mV;function Of(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function yV(){this.__data__={hash:new df,map:new(uV||_d),string:new df}}function bV(e){return Rm(this,e).delete(e)}function xV(e){return Rm(this,e).get(e)}function wV(e){return Rm(this,e).has(e)}function _V(e,t){return Rm(this,e).set(e,t),this}Of.prototype.clear=yV;Of.prototype.delete=bV;Of.prototype.get=xV;Of.prototype.has=wV;Of.prototype.set=_V;function SV(e,t,r){var n=e[t];(!(Pm.call(e,t)&&VR(n,r))||r===void 0&&!(t in e))&&(e[t]=r)}function Nm(e,t){for(var r=e.length;r--;)if(VR(e[r][0],t))return r;return-1}function EV(e){if(!L0(e)||PV(e))return!1;var t=FV(e)||rV(e)?aV:Zq;return t.test(IV(e))}function AV(e,t,r,n){if(!L0(e))return e;t=kV(t,e)?[t]:CV(t);for(var i=-1,a=t.length,o=a-1,l=e;l!=null&&++i<a;){var f=RV(t[i]),c=r;if(i!=o){var p=l[f];c=n?n(p,f,l):void 0,c===void 0&&(c=L0(p)?p:OV(t[i+1])?[]:{})}SV(l,f,c),l=l[f]}return e}function TV(e){if(typeof e=="string")return e;if(q2(e))return w3?w3.call(e):"";var t=e+"";return t=="0"&&1/e==-UR?"-0":t}function CV(e){return YR(e)?e:NV(e)}function Rm(e,t){var r=e.__data__;return MV(t)?r[typeof t=="string"?"string":"hash"]:r.map}function qR(e,t){var r=tV(e,t);return EV(r)?r:void 0}function OV(e,t){return t=t==null?jq:t,!!t&&(typeof e=="number"||Kq.test(e))&&e>-1&&e%1==0&&e<t}function kV(e,t){if(YR(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||q2(e)?!0:qq.test(e)||!Gq.test(e)||t!=null&&e in Object(t)}function MV(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function PV(e){return!!y3&&y3 in e}var NV=G2(function(e){e=DV(e);var t=[];return Vq.test(e)&&t.push(""),e.replace(Yq,function(r,n,i,a){t.push(i?a.replace(Qq,"$1"):n||r)}),t});function RV(e){if(typeof e=="string"||q2(e))return e;var t=e+"";return t=="0"&&1/e==-UR?"-0":t}function IV(e){if(e!=null){try{return WR.call(e)}catch{}try{return e+""}catch{}}return""}function G2(e,t){if(typeof e!="function"||t&&typeof t!="function")throw new TypeError(Bq);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,n);return r.cache=a.set(i,o),o};return r.cache=new(G2.Cache||Of),r}G2.Cache=Of;function VR(e,t){return e===t||e!==e&&t!==t}var YR=Array.isArray;function FV(e){var t=L0(e)?GR.call(e):"";return t==Uq||t==Hq}function L0(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function LV(e){return!!e&&typeof e=="object"}function q2(e){return typeof e=="symbol"||LV(e)&&GR.call(e)==Wq}function DV(e){return e==null?"":TV(e)}function $V(e,t,r){return e==null?e:AV(e,t,r)}var xte=$V,Im={exports:{}},Qp={};/** @license React v17.0.2
|
|
360
|
-
* react-jsx-runtime.production.min.js
|
|
361
|
-
*
|
|
362
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
363
|
-
*
|
|
364
|
-
* This source code is licensed under the MIT license found in the
|
|
365
|
-
* LICENSE file in the root directory of this source tree.
|
|
366
|
-
*/var zV=Ar.exports,XR=60103;Qp.Fragment=60107;if(typeof Symbol=="function"&&Symbol.for){var _3=Symbol.for;XR=_3("react.element"),Qp.Fragment=_3("react.fragment")}var BV=zV.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,jV=Object.prototype.hasOwnProperty,UV={key:!0,ref:!0,__self:!0,__source:!0};function QR(e,t,r){var n,i={},a=null,o=null;r!==void 0&&(a=""+r),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(o=t.ref);for(n in t)jV.call(t,n)&&!UV.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)i[n]===void 0&&(i[n]=t[n]);return{$$typeof:XR,type:e,key:a,ref:o,props:i,_owner:BV.current}}Qp.jsx=QR;Qp.jsxs=QR;(function(e){e.exports=Qp})(Im);const wte=Im.exports.Fragment,su=Im.exports.jsx,HV=Im.exports.jsxs;var WV=Cf,ZR=function(e,t,r){var n;return isNaN(e)?(n=t,n>=0?r&&n?n-1:n:1):e===!1?!1:WV(e)},kf={},KR={exports:{}};(function(e){var t=ym,r=M2,n=tl,i=Error.captureStackTrace;e.exports=function(a){var o=new Error(a),l=arguments[1],f=arguments[2];return n(f)||r(l)&&(f=l,l=null),n(f)&&t(o,f),n(l)&&(o.code=l),i&&i(o,e.exports),o}})(KR);var D0={exports:{}},Nb,S3;function JR(){if(S3)return Nb;S3=1;var e=ko,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols;return Nb=function(a,o){var l,f=Object(e(o));if(a=Object(e(a)),n(f).forEach(function(c){try{t(a,c,r(o,c))}catch(p){l=p}}),typeof i=="function"&&i(f).forEach(function(c){try{t(a,c,r(o,c))}catch(p){l=p}}),l!==void 0)throw l;return a},Nb}var E3=Cf,eI=function(e,t){return t},Rb,A3,T3,C3;try{Object.defineProperty(eI,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch{}eI.length===1?(Rb={configurable:!0,writable:!1,enumerable:!1},A3=Object.defineProperty,D0.exports=function(e,t){return t=E3(t),e.length===t?e:(Rb.value=t,A3(e,"length",Rb))}):(C3=JR(),T3=function(){var e=[];return function(t){var r,n=0;if(e[t])return e[t];for(r=[];t--;)r.push("a"+(++n).toString(36));return new Function("fn","return function ("+r.join(", ")+") { return fn.apply(this, arguments); };")}}(),D0.exports=function(e,t){var r;if(t=E3(t),e.length===t)return e;r=T3(t)(e);try{C3(r,e)}catch{}return r});var Iw={exports:{}};(function(e,t){var r=lo.exports,n=hu,i=Function.prototype.apply,a=Function.prototype.call,o=Object.create,l=Object.defineProperty,f=Object.defineProperties,c=Object.prototype.hasOwnProperty,p={configurable:!0,enumerable:!1,writable:!0},_,x,b,C,R,E,S;_=function(T,P){var M;return n(P),c.call(this,"__ee__")?M=this.__ee__:(M=p.value=o(null),l(this,"__ee__",p),p.value=null),M[T]?typeof M[T]=="object"?M[T].push(P):M[T]=[M[T],P]:M[T]=P,this},x=function(T,P){var M,L;return n(P),L=this,_.call(this,T,M=function(){b.call(L,T,M),i.call(P,this,arguments)}),M.__eeOnceListener__=P,this},b=function(T,P){var M,L,v,K;if(n(P),!c.call(this,"__ee__"))return this;if(M=this.__ee__,!M[T])return this;if(L=M[T],typeof L=="object")for(K=0;v=L[K];++K)(v===P||v.__eeOnceListener__===P)&&(L.length===2?M[T]=L[K?0:1]:L.splice(K,1));else(L===P||L.__eeOnceListener__===P)&&delete M[T];return this},C=function(T){var P,M,L,v,K;if(!!c.call(this,"__ee__")&&(v=this.__ee__[T],!!v))if(typeof v=="object"){for(M=arguments.length,K=new Array(M-1),P=1;P<M;++P)K[P-1]=arguments[P];for(v=v.slice(),P=0;L=v[P];++P)i.call(L,this,K)}else switch(arguments.length){case 1:a.call(v,this);break;case 2:a.call(v,this,arguments[1]);break;case 3:a.call(v,this,arguments[1],arguments[2]);break;default:for(M=arguments.length,K=new Array(M-1),P=1;P<M;++P)K[P-1]=arguments[P];i.call(v,this,K)}},R={on:_,once:x,off:b,emit:C},E={on:r(_),once:r(x),off:r(b),emit:r(C)},S=f({},E),e.exports=t=function(T){return T==null?o(S):f(Object(T),E)},t.methods=R})(Iw,Iw.exports);var GV=_m(),qV=Array.isArray,VV=function(e){return qV(e)?e:GV(e)},YV=VV,XV=tl,QV=hu,ZV=Array.prototype.slice,tI;tI=function(e){return this.map(function(t,r){return t?t(e[r]):e[r]}).concat(ZV.call(e,this.length))};var KV=function(e){return e=YV(e),e.forEach(function(t){XV(t)&&QV(t)}),tI.bind(e)},sg=hu,JV=function(e){var t;return typeof e=="function"?{set:e,get:e}:(t={get:sg(e.get)},e.set!==void 0?(t.set=sg(e.set),e.delete&&(t.delete=sg(e.delete)),e.clear&&(t.clear=sg(e.clear)),t):(t.set=t.get,t))},fg=KR.exports,cg=D0.exports,Nh=lo.exports,rI=Iw.exports.methods,eY=KV,tY=JV,Ib=Function.prototype.apply,Fb=Function.prototype.call,O3=Object.create,rY=Object.defineProperties,nY=rI.on,iY=rI.emit,aY=function(e,t,r){var n=O3(null),i,a,o,l,f,c,p,_,x,b,C,R,E,S,T;return t!==!1?a=t:isNaN(e.length)?a=1:a=e.length,r.normalizer&&(b=tY(r.normalizer),o=b.get,l=b.set,f=b.delete,c=b.clear),r.resolvers!=null&&(T=eY(r.resolvers)),o?S=cg(function(P){var M,L,v=arguments;if(T&&(v=T(v)),M=o(v),M!==null&&hasOwnProperty.call(n,M))return C&&i.emit("get",M,v,this),n[M];if(v.length===1?L=Fb.call(e,this,v[0]):L=Ib.call(e,this,v),M===null){if(M=o(v),M!==null)throw fg("Circular invocation","CIRCULAR_INVOCATION");M=l(v)}else if(hasOwnProperty.call(n,M))throw fg("Circular invocation","CIRCULAR_INVOCATION");return n[M]=L,R&&i.emit("set",M,null,L),L},a):t===0?S=function(){var P;if(hasOwnProperty.call(n,"data"))return C&&i.emit("get","data",arguments,this),n.data;if(arguments.length?P=Ib.call(e,this,arguments):P=Fb.call(e,this),hasOwnProperty.call(n,"data"))throw fg("Circular invocation","CIRCULAR_INVOCATION");return n.data=P,R&&i.emit("set","data",null,P),P}:S=function(P){var M,L=arguments,v;if(T&&(L=T(arguments)),v=String(L[0]),hasOwnProperty.call(n,v))return C&&i.emit("get",v,L,this),n[v];if(L.length===1?M=Fb.call(e,this,L[0]):M=Ib.call(e,this,L),hasOwnProperty.call(n,v))throw fg("Circular invocation","CIRCULAR_INVOCATION");return n[v]=M,R&&i.emit("set",v,null,M),M},i={original:e,memoized:S,profileName:r.profileName,get:function(P){return T&&(P=T(P)),o?o(P):String(P[0])},has:function(P){return hasOwnProperty.call(n,P)},delete:function(P){var M;!hasOwnProperty.call(n,P)||(f&&f(P),M=n[P],delete n[P],E&&i.emit("delete",P,M))},clear:function(){var P=n;c&&c(),n=O3(null),i.emit("clear",P)},on:function(P,M){return P==="get"?C=!0:P==="set"?R=!0:P==="delete"&&(E=!0),nY.call(this,P,M)},emit:iY,updateEnv:function(){e=i.original}},o?p=cg(function(P){var M,L=arguments;T&&(L=T(L)),M=o(L),M!==null&&i.delete(M)},a):t===0?p=function(){return i.delete("data")}:p=function(P){return T&&(P=T(arguments)[0]),i.delete(P)},_=cg(function(){var P,M=arguments;return t===0?n.data:(T&&(M=T(M)),o?P=o(M):P=String(M[0]),n[P])}),x=cg(function(){var P,M=arguments;return t===0?i.has("data"):(T&&(M=T(M)),o?P=o(M):P=String(M[0]),P===null?!1:i.has(P))}),rY(S,{__memoized__:Nh(!0),delete:Nh(p),clear:Nh(i.clear),_get:Nh(_),_has:Nh(x)}),i},oY=hu,uY=Sm,k3=kf,lY=aY,sY=ZR,fY=function e(t){var r,n,i;if(oY(t),r=Object(arguments[1]),r.async&&r.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(t,"__memoized__")&&!r.force?t:(n=sY(r.length,t.length,r.async&&k3.async),i=lY(t,n,r),uY(k3,function(a,o){r[o]&&a(r[o],i,r)}),e.__profiler__&&e.__profiler__(i),i.updateEnv(),i.memoized)},Lb,M3;function cY(){return M3||(M3=1,Lb=function(e){var t,r,n=e.length;if(!n)return"";for(t=String(e[r=0]);--n;)t+=""+e[++r];return t}),Lb}var Db,P3;function dY(){return P3||(P3=1,Db=function(e){return e?function(t){for(var r=String(t[0]),n=0,i=e;--i;)r+=""+t[++n];return r}:function(){return""}}),Db}var $b,N3;function hY(){return N3||(N3=1,$b=function(){var e=Number.isNaN;return typeof e!="function"?!1:!e({})&&e(NaN)&&!e(34)}),$b}var zb,R3;function pY(){return R3||(R3=1,zb=function(e){return e!==e}),zb}var Bb,I3;function vY(){return I3||(I3=1,Bb=hY()()?Number.isNaN:pY()),Bb}var jb,F3;function V2(){if(F3)return jb;F3=1;var e=vY(),t=Cf,r=ko,n=Array.prototype.indexOf,i=Object.prototype.hasOwnProperty,a=Math.abs,o=Math.floor;return jb=function(l){var f,c,p,_;if(!e(l))return n.apply(this,arguments);for(c=t(r(this).length),p=arguments[1],isNaN(p)?p=0:p>=0?p=o(p):p=t(this.length)-o(a(p)),f=p;f<c;++f)if(i.call(this,f)&&(_=this[f],e(_)))return f;return-1},jb}var Ub,L3;function gY(){if(L3)return Ub;L3=1;var e=V2(),t=Object.create;return Ub=function(){var r=0,n=[],i=t(null);return{get:function(a){var o=0,l=n,f,c=a.length;if(c===0)return l[c]||null;if(l=l[c]){for(;o<c-1;){if(f=e.call(l[0],a[o]),f===-1)return null;l=l[1][f],++o}return f=e.call(l[0],a[o]),f===-1?null:l[1][f]||null}return null},set:function(a){var o=0,l=n,f,c=a.length;if(c===0)l[c]=++r;else{for(l[c]||(l[c]=[[],[]]),l=l[c];o<c-1;)f=e.call(l[0],a[o]),f===-1&&(f=l[0].push(a[o])-1,l[1].push([[],[]])),l=l[1][f],++o;f=e.call(l[0],a[o]),f===-1&&(f=l[0].push(a[o])-1),l[1][f]=++r}return i[r]=a,r},delete:function(a){var o=0,l=n,f,c=i[a],p=c.length,_=[];if(p===0)delete l[p];else if(l=l[p]){for(;o<p-1;){if(f=e.call(l[0],c[o]),f===-1)return;_.push(l,f),l=l[1][f],++o}if(f=e.call(l[0],c[o]),f===-1)return;for(a=l[1][f],l[0].splice(f,1),l[1].splice(f,1);!l[0].length&&_.length;)f=_.pop(),l=_.pop(),l[0].splice(f,1),l[1].splice(f,1)}delete i[a]},clear:function(){n=[],i=t(null)}}},Ub}var Hb,D3;function mY(){if(D3)return Hb;D3=1;var e=V2();return Hb=function(){var t=0,r=[],n=[];return{get:function(i){var a=e.call(r,i[0]);return a===-1?null:n[a]},set:function(i){return r.push(i[0]),n.push(++t),t},delete:function(i){var a=e.call(n,i);a!==-1&&(r.splice(a,1),n.splice(a,1))},clear:function(){r=[],n=[]}}},Hb}var Wb,$3;function yY(){if($3)return Wb;$3=1;var e=V2(),t=Object.create;return Wb=function(r){var n=0,i=[[],[]],a=t(null);return{get:function(o){for(var l=0,f=i,c;l<r-1;){if(c=e.call(f[0],o[l]),c===-1)return null;f=f[1][c],++l}return c=e.call(f[0],o[l]),c===-1?null:f[1][c]||null},set:function(o){for(var l=0,f=i,c;l<r-1;)c=e.call(f[0],o[l]),c===-1&&(c=f[0].push(o[l])-1,f[1].push([[],[]])),f=f[1][c],++l;return c=e.call(f[0],o[l]),c===-1&&(c=f[0].push(o[l])-1),f[1][c]=++n,a[n]=o,n},delete:function(o){for(var l=0,f=i,c,p=[],_=a[o];l<r-1;){if(c=e.call(f[0],_[l]),c===-1)return;p.push(f,c),f=f[1][c],++l}if(c=e.call(f[0],_[l]),c!==-1){for(o=f[1][c],f[0].splice(c,1),f[1].splice(c,1);!f[0].length&&p.length;)c=p.pop(),f=p.pop(),f[0].splice(c,1),f[1].splice(c,1);delete a[o]}},clear:function(){i=[[],[]],a=t(null)}}},Wb}var z3={},Gb,B3;function Y2(){if(B3)return Gb;B3=1;var e=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r},t=function(r){var n=document.createTextNode(""),i,a,o=0;return new r(function(){var l;if(i)a&&(i=a.concat(i));else{if(!a)return;i=a}if(a=i,i=null,typeof a=="function"){l=a,a=null,l();return}for(n.data=o=++o%2;a;)l=a.shift(),a.length||(a=null),l()}).observe(n,{characterData:!0}),function(l){if(e(l),i){typeof i=="function"?i=[i,l]:i.push(l);return}i=l,n.data=o=++o%2}};return Gb=function(){if(typeof process=="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(r){queueMicrotask(e(r))};if(typeof document=="object"&&document){if(typeof MutationObserver=="function")return t(MutationObserver);if(typeof WebKitMutationObserver=="function")return t(WebKitMutationObserver)}return typeof setImmediate=="function"?function(r){setImmediate(e(r))}:typeof setTimeout=="function"||typeof setTimeout=="object"?function(r){setTimeout(e(r),0)}:null}(),Gb}var j3;function bY(){if(j3)return z3;j3=1;var e=_m(),t=I2(),r=JR(),n=D0.exports,i=Y2(),a=Array.prototype.slice,o=Function.prototype.apply,l=Object.create;return kf.async=function(f,c){var p=l(null),_=l(null),x=c.memoized,b=c.original,C,R,E;c.memoized=n(function(S){var T=arguments,P=T[T.length-1];return typeof P=="function"&&(C=P,T=a.call(T,0,-1)),x.apply(R=this,E=T)},x);try{r(c.memoized,x)}catch{}c.on("get",function(S){var T,P,M;if(!!C){if(p[S]){typeof p[S]=="function"?p[S]=[p[S],C]:p[S].push(C),C=null;return}T=C,P=R,M=E,C=R=E=null,i(function(){var L;hasOwnProperty.call(_,S)?(L=_[S],c.emit("getasync",S,M,P),o.call(T,L.context,L.args)):(C=T,R=P,E=M,x.apply(P,M))})}}),c.original=function(){var S,T,P,M;return C?(S=e(arguments),T=function L(v){var K,q,ue=L.id;if(ue==null){i(o.bind(L,this,arguments));return}if(delete L.id,K=p[ue],delete p[ue],!!K)return q=e(arguments),c.has(ue)&&(v?c.delete(ue):(_[ue]={context:this,args:q},c.emit("setasync",ue,typeof K=="function"?1:K.length))),typeof K=="function"?M=o.call(K,this,q):K.forEach(function(Ie){M=o.call(Ie,this,q)},this),M},P=C,C=R=E=null,S.push(T),M=o.call(b,this,S),T.cb=P,C=T,M):o.call(b,this,arguments)},c.on("set",function(S){if(!C){c.delete(S);return}p[S]?typeof p[S]=="function"?p[S]=[p[S],C.cb]:p[S].push(C.cb):p[S]=C.cb,delete C.cb,C.id=S,C=null}),c.on("delete",function(S){var T;hasOwnProperty.call(p,S)||!_[S]||(T=_[S],delete _[S],c.emit("deleteasync",S,a.call(T.args,1)))}),c.on("clear",function(){var S=_;_=l(null),c.emit("clearasync",t(S,function(T){return a.call(T.args,1)}))})},z3}var U3={},qb,H3;function xY(){if(H3)return qb;H3=1;var e=Array.prototype.forEach,t=Object.create;return qb=function(r){var n=t(null);return e.call(arguments,function(i){n[i]=!0}),n},qb}var Vb,W3;function nI(){return W3||(W3=1,Vb=function(e){return typeof e=="function"}),Vb}var Yb,G3;function wY(){if(G3)return Yb;G3=1;var e=nI();return Yb=function(t){try{return t&&e(t.toString)?t.toString():String(t)}catch{throw new TypeError("Passed argument cannot be stringifed")}},Yb}var Xb,q3;function _Y(){if(q3)return Xb;q3=1;var e=ko,t=wY();return Xb=function(r){return t(e(r))},Xb}var Qb,V3;function SY(){if(V3)return Qb;V3=1;var e=nI();return Qb=function(t){try{return t&&e(t.toString)?t.toString():String(t)}catch{return"<Non-coercible to string value>"}},Qb}var Zb,Y3;function EY(){if(Y3)return Zb;Y3=1;var e=SY(),t=/[\n\r\u2028\u2029]/g;return Zb=function(r){var n=e(r);return n.length>100&&(n=n.slice(0,99)+"\u2026"),n=n.replace(t,function(i){return JSON.stringify(i).slice(1,-1)}),n},Zb}var dg={exports:{}},X3;function iI(){if(X3)return dg.exports;X3=1,dg.exports=e,dg.exports.default=e;function e(t){return!!t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}return dg.exports}var Q3;function AY(){if(Q3)return U3;Q3=1;var e=I2(),t=xY(),r=_Y(),n=EY(),i=iI(),a=Y2(),o=Object.create,l=t("then","then:finally","done","done:finally");return kf.promise=function(f,c){var p=o(null),_=o(null),x=o(null);if(f===!0)f=null;else if(f=r(f),!l[f])throw new TypeError("'"+n(f)+"' is not valid promise mode");c.on("set",function(b,C,R){var E=!1;if(!i(R)){_[b]=R,c.emit("setasync",b,1);return}p[b]=1,x[b]=R;var S=function(L){var v=p[b];if(E)throw new Error(`Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)
|
|
367
|
-
Consider to rely on 'then' or 'done' mode instead.`);!v||(delete p[b],_[b]=L,c.emit("setasync",b,v))},T=function(){E=!0,p[b]&&(delete p[b],delete x[b],c.delete(b))},P=f;if(P||(P="then"),P==="then"){var M=function(){a(T)};R=R.then(function(L){a(S.bind(this,L))},M),typeof R.finally=="function"&&R.finally(M)}else if(P==="done"){if(typeof R.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");R.done(S,T)}else if(P==="done:finally"){if(typeof R.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof R.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");R.done(S),R.finally(T)}}),c.on("get",function(b,C,R){var E;if(p[b]){++p[b];return}E=x[b];var S=function(){c.emit("getasync",b,C,R)};i(E)?typeof E.done=="function"?E.done(S):E.then(function(){a(S)}):S()}),c.on("delete",function(b){if(delete x[b],p[b]){delete p[b];return}if(!!hasOwnProperty.call(_,b)){var C=_[b];delete _[b],c.emit("deleteasync",b,[C])}}),c.on("clear",function(){var b=_;_=o(null),p=o(null),x=o(null),c.emit("clearasync",e(b,function(C){return[C]}))})},U3}var Z3={},K3;function TY(){if(K3)return Z3;K3=1;var e=hu,t=Sm,r=kf,n=Function.prototype.apply;return r.dispose=function(i,a,o){var l;if(e(i),o.async&&r.async||o.promise&&r.promise){a.on("deleteasync",l=function(f,c){n.call(i,null,c)}),a.on("clearasync",function(f){t(f,function(c,p){l(p,c)})});return}a.on("delete",l=function(f,c){i(c)}),a.on("clear",function(f){t(f,function(c,p){l(p,c)})})},Z3}var J3={},Kb,eO;function CY(){return eO||(eO=1,Kb=2147483647),Kb}var Jb,tO;function OY(){if(tO)return Jb;tO=1;var e=Cf,t=CY();return Jb=function(r){if(r=e(r),r>t)throw new TypeError(r+" exceeds maximum possible timeout");return r},Jb}var rO;function kY(){if(rO)return J3;rO=1;var e=_m(),t=Sm,r=Y2(),n=iI(),i=OY(),a=kf,o=Function.prototype,l=Math.max,f=Math.min,c=Object.create;return a.maxAge=function(p,_,x){var b,C,R,E;p=i(p),p&&(b=c(null),C=x.async&&a.async||x.promise&&a.promise?"async":"",_.on("set"+C,function(S){b[S]=setTimeout(function(){_.delete(S)},p),typeof b[S].unref=="function"&&b[S].unref(),E&&(E[S]&&E[S]!=="nextTick"&&clearTimeout(E[S]),E[S]=setTimeout(function(){delete E[S]},R),typeof E[S].unref=="function"&&E[S].unref())}),_.on("delete"+C,function(S){clearTimeout(b[S]),delete b[S],E&&(E[S]!=="nextTick"&&clearTimeout(E[S]),delete E[S])}),x.preFetch&&(x.preFetch===!0||isNaN(x.preFetch)?R=.333:R=l(f(Number(x.preFetch),1),0),R&&(E={},R=(1-R)*p,_.on("get"+C,function(S,T,P){E[S]||(E[S]="nextTick",r(function(){var M;E[S]==="nextTick"&&(delete E[S],_.delete(S),x.async&&(T=e(T),T.push(o)),M=_.memoized.apply(P,T),x.promise&&n(M)&&(typeof M.done=="function"?M.done(o,o):M.then(o,o)))}))}))),_.on("clear"+C,function(){t(b,function(S){clearTimeout(S)}),b={},E&&(t(E,function(S){S!=="nextTick"&&clearTimeout(S)}),E={})}))},J3}var nO={},ex,iO;function MY(){if(iO)return ex;iO=1;var e=Cf,t=Object.create,r=Object.prototype.hasOwnProperty;return ex=function(n){var i=0,a=1,o=t(null),l=t(null),f=0,c;return n=e(n),{hit:function(p){var _=l[p],x=++f;if(o[x]=p,l[p]=x,!_)return++i,i<=n?void 0:(p=o[a],c(p),p);if(delete o[_],a===_)for(;!r.call(o,++a););},delete:c=function(p){var _=l[p];if(!!_&&(delete o[_],delete l[p],--i,a===_)){if(!i){f=0,a=1;return}for(;!r.call(o,++a););}},clear:function(){i=0,a=1,o=t(null),l=t(null),f=0}}},ex}var aO;function PY(){if(aO)return nO;aO=1;var e=Cf,t=MY(),r=kf;return r.max=function(n,i,a){var o,l,f;n=e(n),n&&(l=t(n),o=a.async&&r.async||a.promise&&r.promise?"async":"",i.on("set"+o,f=function(c){c=l.hit(c),c!==void 0&&i.delete(c)}),i.on("get"+o,f),i.on("delete"+o,l.delete),i.on("clear"+o,l.clear))},nO}var oO={},uO;function NY(){if(uO)return oO;uO=1;var e=lo.exports,t=kf,r=Object.create,n=Object.defineProperties;return t.refCounter=function(i,a,o){var l,f;l=r(null),f=o.async&&t.async||o.promise&&t.promise?"async":"",a.on("set"+f,function(c,p){l[c]=p||1}),a.on("get"+f,function(c){++l[c]}),a.on("delete"+f,function(c){delete l[c]}),a.on("clear"+f,function(){l={}}),n(a.memoized,{deleteRef:e(function(){var c=a.get(arguments);return c===null||!l[c]?null:--l[c]?!1:(a.delete(c),!0)}),getRefCount:e(function(){var c=a.get(arguments);return c===null||!l[c]?0:l[c]})})},oO}var RY=R2,IY=ZR,FY=fY,_te=function(e){var t=RY(arguments[1]),r;return t.normalizer||(r=t.length=IY(t.length,e.length,t.async),r!==0&&(t.primitive?r===!1?t.normalizer=cY():r>1&&(t.normalizer=dY()(r)):r===!1?t.normalizer=gY()():r===1?t.normalizer=mY()():t.normalizer=yY()(r))),t.async&&bY(),t.promise&&AY(),t.dispose&&TY(),t.maxAge&&kY(),t.max&&PY(),t.refCounter&&NY(),FY(e,t)},LY="Expected a function",lO=0/0,DY="[object Symbol]",$Y=/^\s+|\s+$/g,zY=/^[-+]0x[0-9a-f]+$/i,BY=/^0b[01]+$/i,jY=/^0o[0-7]+$/i,UY=parseInt,HY=typeof Jr=="object"&&Jr&&Jr.Object===Object&&Jr,WY=typeof self=="object"&&self&&self.Object===Object&&self,GY=HY||WY||Function("return this")(),qY=Object.prototype,VY=qY.toString,YY=Math.max,XY=Math.min,tx=function(){return GY.Date.now()};function QY(e,t,r){var n,i,a,o,l,f,c=0,p=!1,_=!1,x=!0;if(typeof e!="function")throw new TypeError(LY);t=sO(t)||0,Fw(r)&&(p=!!r.leading,_="maxWait"in r,a=_?YY(sO(r.maxWait)||0,t):a,x="trailing"in r?!!r.trailing:x);function b(v){var K=n,q=i;return n=i=void 0,c=v,o=e.apply(q,K),o}function C(v){return c=v,l=setTimeout(S,t),p?b(v):o}function R(v){var K=v-f,q=v-c,ue=t-K;return _?XY(ue,a-q):ue}function E(v){var K=v-f,q=v-c;return f===void 0||K>=t||K<0||_&&q>=a}function S(){var v=tx();if(E(v))return T(v);l=setTimeout(S,R(v))}function T(v){return l=void 0,x&&n?b(v):(n=i=void 0,o)}function P(){l!==void 0&&clearTimeout(l),c=0,n=f=i=l=void 0}function M(){return l===void 0?o:T(tx())}function L(){var v=tx(),K=E(v);if(n=arguments,i=this,f=v,K){if(l===void 0)return C(f);if(_)return l=setTimeout(S,t),b(f)}return l===void 0&&(l=setTimeout(S,t)),o}return L.cancel=P,L.flush=M,L}function Fw(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function ZY(e){return!!e&&typeof e=="object"}function KY(e){return typeof e=="symbol"||ZY(e)&&VY.call(e)==DY}function sO(e){if(typeof e=="number")return e;if(KY(e))return lO;if(Fw(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Fw(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace($Y,"");var r=BY.test(e);return r||jY.test(e)?UY(e.slice(2),r?2:8):zY.test(e)?lO:+e}var Ste=QY,aI={exports:{}};/*!
|
|
368
|
-
* jQuery JavaScript Library v3.6.0
|
|
369
|
-
* https://jquery.com/
|
|
370
|
-
*
|
|
371
|
-
* Includes Sizzle.js
|
|
372
|
-
* https://sizzlejs.com/
|
|
373
|
-
*
|
|
374
|
-
* Copyright OpenJS Foundation and other contributors
|
|
375
|
-
* Released under the MIT license
|
|
376
|
-
* https://jquery.org/license
|
|
377
|
-
*
|
|
378
|
-
* Date: 2021-03-02T17:08Z
|
|
379
|
-
*/(function(e){(function(t,r){e.exports=t.document?r(t,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return r(n)}})(typeof window<"u"?window:Jr,function(t,r){var n=[],i=Object.getPrototypeOf,a=n.slice,o=n.flat?function(d){return n.flat.call(d)}:function(d){return n.concat.apply([],d)},l=n.push,f=n.indexOf,c={},p=c.toString,_=c.hasOwnProperty,x=_.toString,b=x.call(Object),C={},R=function(m){return typeof m=="function"&&typeof m.nodeType!="number"&&typeof m.item!="function"},E=function(m){return m!=null&&m===m.window},S=t.document,T={type:!0,src:!0,nonce:!0,noModule:!0};function P(d,m,A){A=A||S;var k,D,$=A.createElement("script");if($.text=d,m)for(k in T)D=m[k]||m.getAttribute&&m.getAttribute(k),D&&$.setAttribute(k,D);A.head.appendChild($).parentNode.removeChild($)}function M(d){return d==null?d+"":typeof d=="object"||typeof d=="function"?c[p.call(d)]||"object":typeof d}var L="3.6.0",v=function(d,m){return new v.fn.init(d,m)};v.fn=v.prototype={jquery:L,constructor:v,length:0,toArray:function(){return a.call(this)},get:function(d){return d==null?a.call(this):d<0?this[d+this.length]:this[d]},pushStack:function(d){var m=v.merge(this.constructor(),d);return m.prevObject=this,m},each:function(d){return v.each(this,d)},map:function(d){return this.pushStack(v.map(this,function(m,A){return d.call(m,A,m)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(v.grep(this,function(d,m){return(m+1)%2}))},odd:function(){return this.pushStack(v.grep(this,function(d,m){return m%2}))},eq:function(d){var m=this.length,A=+d+(d<0?m:0);return this.pushStack(A>=0&&A<m?[this[A]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:n.sort,splice:n.splice},v.extend=v.fn.extend=function(){var d,m,A,k,D,$,j=arguments[0]||{},oe=1,fe=arguments.length,we=!1;for(typeof j=="boolean"&&(we=j,j=arguments[oe]||{},oe++),typeof j!="object"&&!R(j)&&(j={}),oe===fe&&(j=this,oe--);oe<fe;oe++)if((d=arguments[oe])!=null)for(m in d)k=d[m],!(m==="__proto__"||j===k)&&(we&&k&&(v.isPlainObject(k)||(D=Array.isArray(k)))?(A=j[m],D&&!Array.isArray(A)?$=[]:!D&&!v.isPlainObject(A)?$={}:$=A,D=!1,j[m]=v.extend(we,$,k)):k!==void 0&&(j[m]=k));return j},v.extend({expando:"jQuery"+(L+Math.random()).replace(/\D/g,""),isReady:!0,error:function(d){throw new Error(d)},noop:function(){},isPlainObject:function(d){var m,A;return!d||p.call(d)!=="[object Object]"?!1:(m=i(d),m?(A=_.call(m,"constructor")&&m.constructor,typeof A=="function"&&x.call(A)===b):!0)},isEmptyObject:function(d){var m;for(m in d)return!1;return!0},globalEval:function(d,m,A){P(d,{nonce:m&&m.nonce},A)},each:function(d,m){var A,k=0;if(K(d))for(A=d.length;k<A&&m.call(d[k],k,d[k])!==!1;k++);else for(k in d)if(m.call(d[k],k,d[k])===!1)break;return d},makeArray:function(d,m){var A=m||[];return d!=null&&(K(Object(d))?v.merge(A,typeof d=="string"?[d]:d):l.call(A,d)),A},inArray:function(d,m,A){return m==null?-1:f.call(m,d,A)},merge:function(d,m){for(var A=+m.length,k=0,D=d.length;k<A;k++)d[D++]=m[k];return d.length=D,d},grep:function(d,m,A){for(var k,D=[],$=0,j=d.length,oe=!A;$<j;$++)k=!m(d[$],$),k!==oe&&D.push(d[$]);return D},map:function(d,m,A){var k,D,$=0,j=[];if(K(d))for(k=d.length;$<k;$++)D=m(d[$],$,A),D!=null&&j.push(D);else for($ in d)D=m(d[$],$,A),D!=null&&j.push(D);return o(j)},guid:1,support:C}),typeof Symbol=="function"&&(v.fn[Symbol.iterator]=n[Symbol.iterator]),v.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(d,m){c["[object "+m+"]"]=m.toLowerCase()});function K(d){var m=!!d&&"length"in d&&d.length,A=M(d);return R(d)||E(d)?!1:A==="array"||m===0||typeof m=="number"&&m>0&&m-1 in d}var q=function(d){var m,A,k,D,$,j,oe,fe,we,Be,ot,Oe,Ge,or,yr,nr,pn,fn,fi,zr="sizzle"+1*new Date,Sr=d.document,Ln=0,Br=0,an=Zi(),Oa=Zi(),hl=Zi(),Xn=Zi(),Ga=function(U,le){return U===le&&(ot=!0),0},Qn={}.hasOwnProperty,Un=[],ci=Un.pop,di=Un.push,Dn=Un.push,Zn=Un.slice,Ti=function(U,le){for(var me=0,Ve=U.length;me<Ve;me++)if(U[me]===le)return me;return-1},pl="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Gr="[\\x20\\t\\r\\n\\f]",qa="(?:\\\\[\\da-fA-F]{1,6}"+Gr+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",vl="\\["+Gr+"*("+qa+")(?:"+Gr+"*([*^$|!~]?=)"+Gr+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+qa+"))|)"+Gr+"*\\]",Tu=":("+qa+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+vl+")*)|.*)\\)|)",Uf=new RegExp(Gr+"+","g"),gl=new RegExp("^"+Gr+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Gr+"+$","g"),qo=new RegExp("^"+Gr+"*,"+Gr+"*"),On=new RegExp("^"+Gr+"*([>+~]|"+Gr+")"+Gr+"*"),Hf=new RegExp(Gr+"|>"),Wf=new RegExp(Tu),yo=new RegExp("^"+qa+"$"),Cu={ID:new RegExp("^#("+qa+")"),CLASS:new RegExp("^\\.("+qa+")"),TAG:new RegExp("^("+qa+"|[*])"),ATTR:new RegExp("^"+vl),PSEUDO:new RegExp("^"+Tu),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Gr+"*(even|odd|(([+-]|)(\\d*)n|)"+Gr+"*(?:([+-]|)"+Gr+"*(\\d+)|))"+Gr+"*\\)|)","i"),bool:new RegExp("^(?:"+pl+")$","i"),needsContext:new RegExp("^"+Gr+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Gr+"*((?:-\\d)?\\d*)"+Gr+"*\\)|)(?=[^-]|$)","i")},Gf=/HTML$/i,Cd=/^(?:input|select|textarea|button)$/i,Od=/^h\d$/i,Ou=/^[^{]+\{\s*\[native \w/,kd=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Vo=/[+~]/,Qi=new RegExp("\\\\[\\da-fA-F]{1,6}"+Gr+"?|\\\\([^\\r\\n\\f])","g"),oa=function(U,le){var me="0x"+U.slice(1)-65536;return le||(me<0?String.fromCharCode(me+65536):String.fromCharCode(me>>10|55296,me&1023|56320))},ml=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,As=function(U,le){return le?U==="\0"?"\uFFFD":U.slice(0,-1)+"\\"+U.charCodeAt(U.length-1).toString(16)+" ":"\\"+U},qf=function(){Oe()},ka=Mu(function(U){return U.disabled===!0&&U.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{Dn.apply(Un=Zn.call(Sr.childNodes),Sr.childNodes),Un[Sr.childNodes.length].nodeType}catch{Dn={apply:Un.length?function(le,me){di.apply(le,Zn.call(me))}:function(le,me){for(var Ve=le.length,Se=0;le[Ve++]=me[Se++];);le.length=Ve-1}}}function Zr(U,le,me,Ve){var Se,et,dt,Pt,zt,dr,lr,pr=le&&le.ownerDocument,Mr=le?le.nodeType:9;if(me=me||[],typeof U!="string"||!U||Mr!==1&&Mr!==9&&Mr!==11)return me;if(!Ve&&(Oe(le),le=le||Ge,yr)){if(Mr!==11&&(zt=kd.exec(U)))if(Se=zt[1]){if(Mr===9)if(dt=le.getElementById(Se)){if(dt.id===Se)return me.push(dt),me}else return me;else if(pr&&(dt=pr.getElementById(Se))&&fi(le,dt)&&dt.id===Se)return me.push(dt),me}else{if(zt[2])return Dn.apply(me,le.getElementsByTagName(U)),me;if((Se=zt[3])&&A.getElementsByClassName&&le.getElementsByClassName)return Dn.apply(me,le.getElementsByClassName(Se)),me}if(A.qsa&&!Xn[U+" "]&&(!nr||!nr.test(U))&&(Mr!==1||le.nodeName.toLowerCase()!=="object")){if(lr=U,pr=le,Mr===1&&(Hf.test(U)||On.test(U))){for(pr=Vo.test(U)&&bl(le.parentNode)||le,(pr!==le||!A.scope)&&((Pt=le.getAttribute("id"))?Pt=Pt.replace(ml,As):le.setAttribute("id",Pt=zr)),dr=j(U),et=dr.length;et--;)dr[et]=(Pt?"#"+Pt:":scope")+" "+pi(dr[et]);lr=dr.join(",")}try{return Dn.apply(me,pr.querySelectorAll(lr)),me}catch{Xn(U,!0)}finally{Pt===zr&&le.removeAttribute("id")}}}return fe(U.replace(gl,"$1"),le,me,Ve)}function Zi(){var U=[];function le(me,Ve){return U.push(me+" ")>k.cacheLength&&delete le[U.shift()],le[me+" "]=Ve}return le}function hi(U){return U[zr]=!0,U}function $i(U){var le=Ge.createElement("fieldset");try{return!!U(le)}catch{return!1}finally{le.parentNode&&le.parentNode.removeChild(le),le=null}}function ku(U,le){for(var me=U.split("|"),Ve=me.length;Ve--;)k.attrHandle[me[Ve]]=le}function Ts(U,le){var me=le&&U,Ve=me&&U.nodeType===1&&le.nodeType===1&&U.sourceIndex-le.sourceIndex;if(Ve)return Ve;if(me){for(;me=me.nextSibling;)if(me===le)return-1}return U?1:-1}function Vf(U){return function(le){var me=le.nodeName.toLowerCase();return me==="input"&&le.type===U}}function Yf(U){return function(le){var me=le.nodeName.toLowerCase();return(me==="input"||me==="button")&&le.type===U}}function yl(U){return function(le){return"form"in le?le.parentNode&&le.disabled===!1?"label"in le?"label"in le.parentNode?le.parentNode.disabled===U:le.disabled===U:le.isDisabled===U||le.isDisabled!==!U&&ka(le)===U:le.disabled===U:"label"in le?le.disabled===U:!1}}function Va(U){return hi(function(le){return le=+le,hi(function(me,Ve){for(var Se,et=U([],me.length,le),dt=et.length;dt--;)me[Se=et[dt]]&&(me[Se]=!(Ve[Se]=me[Se]))})})}function bl(U){return U&&typeof U.getElementsByTagName<"u"&&U}A=Zr.support={},$=Zr.isXML=function(U){var le=U&&U.namespaceURI,me=U&&(U.ownerDocument||U).documentElement;return!Gf.test(le||me&&me.nodeName||"HTML")},Oe=Zr.setDocument=function(U){var le,me,Ve=U?U.ownerDocument||U:Sr;return Ve==Ge||Ve.nodeType!==9||!Ve.documentElement||(Ge=Ve,or=Ge.documentElement,yr=!$(Ge),Sr!=Ge&&(me=Ge.defaultView)&&me.top!==me&&(me.addEventListener?me.addEventListener("unload",qf,!1):me.attachEvent&&me.attachEvent("onunload",qf)),A.scope=$i(function(Se){return or.appendChild(Se).appendChild(Ge.createElement("div")),typeof Se.querySelectorAll<"u"&&!Se.querySelectorAll(":scope fieldset div").length}),A.attributes=$i(function(Se){return Se.className="i",!Se.getAttribute("className")}),A.getElementsByTagName=$i(function(Se){return Se.appendChild(Ge.createComment("")),!Se.getElementsByTagName("*").length}),A.getElementsByClassName=Ou.test(Ge.getElementsByClassName),A.getById=$i(function(Se){return or.appendChild(Se).id=zr,!Ge.getElementsByName||!Ge.getElementsByName(zr).length}),A.getById?(k.filter.ID=function(Se){var et=Se.replace(Qi,oa);return function(dt){return dt.getAttribute("id")===et}},k.find.ID=function(Se,et){if(typeof et.getElementById<"u"&&yr){var dt=et.getElementById(Se);return dt?[dt]:[]}}):(k.filter.ID=function(Se){var et=Se.replace(Qi,oa);return function(dt){var Pt=typeof dt.getAttributeNode<"u"&&dt.getAttributeNode("id");return Pt&&Pt.value===et}},k.find.ID=function(Se,et){if(typeof et.getElementById<"u"&&yr){var dt,Pt,zt,dr=et.getElementById(Se);if(dr){if(dt=dr.getAttributeNode("id"),dt&&dt.value===Se)return[dr];for(zt=et.getElementsByName(Se),Pt=0;dr=zt[Pt++];)if(dt=dr.getAttributeNode("id"),dt&&dt.value===Se)return[dr]}return[]}}),k.find.TAG=A.getElementsByTagName?function(Se,et){if(typeof et.getElementsByTagName<"u")return et.getElementsByTagName(Se);if(A.qsa)return et.querySelectorAll(Se)}:function(Se,et){var dt,Pt=[],zt=0,dr=et.getElementsByTagName(Se);if(Se==="*"){for(;dt=dr[zt++];)dt.nodeType===1&&Pt.push(dt);return Pt}return dr},k.find.CLASS=A.getElementsByClassName&&function(Se,et){if(typeof et.getElementsByClassName<"u"&&yr)return et.getElementsByClassName(Se)},pn=[],nr=[],(A.qsa=Ou.test(Ge.querySelectorAll))&&($i(function(Se){var et;or.appendChild(Se).innerHTML="<a id='"+zr+"'></a><select id='"+zr+"-\r\\' msallowcapture=''><option selected=''></option></select>",Se.querySelectorAll("[msallowcapture^='']").length&&nr.push("[*^$]="+Gr+`*(?:''|"")`),Se.querySelectorAll("[selected]").length||nr.push("\\["+Gr+"*(?:value|"+pl+")"),Se.querySelectorAll("[id~="+zr+"-]").length||nr.push("~="),et=Ge.createElement("input"),et.setAttribute("name",""),Se.appendChild(et),Se.querySelectorAll("[name='']").length||nr.push("\\["+Gr+"*name"+Gr+"*="+Gr+`*(?:''|"")`),Se.querySelectorAll(":checked").length||nr.push(":checked"),Se.querySelectorAll("a#"+zr+"+*").length||nr.push(".#.+[+~]"),Se.querySelectorAll("\\\f"),nr.push("[\\r\\n\\f]")}),$i(function(Se){Se.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var et=Ge.createElement("input");et.setAttribute("type","hidden"),Se.appendChild(et).setAttribute("name","D"),Se.querySelectorAll("[name=d]").length&&nr.push("name"+Gr+"*[*^$|!~]?="),Se.querySelectorAll(":enabled").length!==2&&nr.push(":enabled",":disabled"),or.appendChild(Se).disabled=!0,Se.querySelectorAll(":disabled").length!==2&&nr.push(":enabled",":disabled"),Se.querySelectorAll("*,:x"),nr.push(",.*:")})),(A.matchesSelector=Ou.test(fn=or.matches||or.webkitMatchesSelector||or.mozMatchesSelector||or.oMatchesSelector||or.msMatchesSelector))&&$i(function(Se){A.disconnectedMatch=fn.call(Se,"*"),fn.call(Se,"[s!='']:x"),pn.push("!=",Tu)}),nr=nr.length&&new RegExp(nr.join("|")),pn=pn.length&&new RegExp(pn.join("|")),le=Ou.test(or.compareDocumentPosition),fi=le||Ou.test(or.contains)?function(Se,et){var dt=Se.nodeType===9?Se.documentElement:Se,Pt=et&&et.parentNode;return Se===Pt||!!(Pt&&Pt.nodeType===1&&(dt.contains?dt.contains(Pt):Se.compareDocumentPosition&&Se.compareDocumentPosition(Pt)&16))}:function(Se,et){if(et){for(;et=et.parentNode;)if(et===Se)return!0}return!1},Ga=le?function(Se,et){if(Se===et)return ot=!0,0;var dt=!Se.compareDocumentPosition-!et.compareDocumentPosition;return dt||(dt=(Se.ownerDocument||Se)==(et.ownerDocument||et)?Se.compareDocumentPosition(et):1,dt&1||!A.sortDetached&&et.compareDocumentPosition(Se)===dt?Se==Ge||Se.ownerDocument==Sr&&fi(Sr,Se)?-1:et==Ge||et.ownerDocument==Sr&&fi(Sr,et)?1:Be?Ti(Be,Se)-Ti(Be,et):0:dt&4?-1:1)}:function(Se,et){if(Se===et)return ot=!0,0;var dt,Pt=0,zt=Se.parentNode,dr=et.parentNode,lr=[Se],pr=[et];if(!zt||!dr)return Se==Ge?-1:et==Ge?1:zt?-1:dr?1:Be?Ti(Be,Se)-Ti(Be,et):0;if(zt===dr)return Ts(Se,et);for(dt=Se;dt=dt.parentNode;)lr.unshift(dt);for(dt=et;dt=dt.parentNode;)pr.unshift(dt);for(;lr[Pt]===pr[Pt];)Pt++;return Pt?Ts(lr[Pt],pr[Pt]):lr[Pt]==Sr?-1:pr[Pt]==Sr?1:0}),Ge},Zr.matches=function(U,le){return Zr(U,null,null,le)},Zr.matchesSelector=function(U,le){if(Oe(U),A.matchesSelector&&yr&&!Xn[le+" "]&&(!pn||!pn.test(le))&&(!nr||!nr.test(le)))try{var me=fn.call(U,le);if(me||A.disconnectedMatch||U.document&&U.document.nodeType!==11)return me}catch{Xn(le,!0)}return Zr(le,Ge,null,[U]).length>0},Zr.contains=function(U,le){return(U.ownerDocument||U)!=Ge&&Oe(U),fi(U,le)},Zr.attr=function(U,le){(U.ownerDocument||U)!=Ge&&Oe(U);var me=k.attrHandle[le.toLowerCase()],Ve=me&&Qn.call(k.attrHandle,le.toLowerCase())?me(U,le,!yr):void 0;return Ve!==void 0?Ve:A.attributes||!yr?U.getAttribute(le):(Ve=U.getAttributeNode(le))&&Ve.specified?Ve.value:null},Zr.escape=function(U){return(U+"").replace(ml,As)},Zr.error=function(U){throw new Error("Syntax error, unrecognized expression: "+U)},Zr.uniqueSort=function(U){var le,me=[],Ve=0,Se=0;if(ot=!A.detectDuplicates,Be=!A.sortStable&&U.slice(0),U.sort(Ga),ot){for(;le=U[Se++];)le===U[Se]&&(Ve=me.push(Se));for(;Ve--;)U.splice(me[Ve],1)}return Be=null,U},D=Zr.getText=function(U){var le,me="",Ve=0,Se=U.nodeType;if(Se){if(Se===1||Se===9||Se===11){if(typeof U.textContent=="string")return U.textContent;for(U=U.firstChild;U;U=U.nextSibling)me+=D(U)}else if(Se===3||Se===4)return U.nodeValue}else for(;le=U[Ve++];)me+=D(le);return me},k=Zr.selectors={cacheLength:50,createPseudo:hi,match:Cu,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(U){return U[1]=U[1].replace(Qi,oa),U[3]=(U[3]||U[4]||U[5]||"").replace(Qi,oa),U[2]==="~="&&(U[3]=" "+U[3]+" "),U.slice(0,4)},CHILD:function(U){return U[1]=U[1].toLowerCase(),U[1].slice(0,3)==="nth"?(U[3]||Zr.error(U[0]),U[4]=+(U[4]?U[5]+(U[6]||1):2*(U[3]==="even"||U[3]==="odd")),U[5]=+(U[7]+U[8]||U[3]==="odd")):U[3]&&Zr.error(U[0]),U},PSEUDO:function(U){var le,me=!U[6]&&U[2];return Cu.CHILD.test(U[0])?null:(U[3]?U[2]=U[4]||U[5]||"":me&&Wf.test(me)&&(le=j(me,!0))&&(le=me.indexOf(")",me.length-le)-me.length)&&(U[0]=U[0].slice(0,le),U[2]=me.slice(0,le)),U.slice(0,3))}},filter:{TAG:function(U){var le=U.replace(Qi,oa).toLowerCase();return U==="*"?function(){return!0}:function(me){return me.nodeName&&me.nodeName.toLowerCase()===le}},CLASS:function(U){var le=an[U+" "];return le||(le=new RegExp("(^|"+Gr+")"+U+"("+Gr+"|$)"))&&an(U,function(me){return le.test(typeof me.className=="string"&&me.className||typeof me.getAttribute<"u"&&me.getAttribute("class")||"")})},ATTR:function(U,le,me){return function(Ve){var Se=Zr.attr(Ve,U);return Se==null?le==="!=":le?(Se+="",le==="="?Se===me:le==="!="?Se!==me:le==="^="?me&&Se.indexOf(me)===0:le==="*="?me&&Se.indexOf(me)>-1:le==="$="?me&&Se.slice(-me.length)===me:le==="~="?(" "+Se.replace(Uf," ")+" ").indexOf(me)>-1:le==="|="?Se===me||Se.slice(0,me.length+1)===me+"-":!1):!0}},CHILD:function(U,le,me,Ve,Se){var et=U.slice(0,3)!=="nth",dt=U.slice(-4)!=="last",Pt=le==="of-type";return Ve===1&&Se===0?function(zt){return!!zt.parentNode}:function(zt,dr,lr){var pr,Mr,Xr,cr,bn,Hn,Kn=et!==dt?"nextSibling":"previousSibling",on=zt.parentNode,Pu=Pt&&zt.nodeName.toLowerCase(),bo=!lr&&!Pt,vi=!1;if(on){if(et){for(;Kn;){for(cr=zt;cr=cr[Kn];)if(Pt?cr.nodeName.toLowerCase()===Pu:cr.nodeType===1)return!1;Hn=Kn=U==="only"&&!Hn&&"nextSibling"}return!0}if(Hn=[dt?on.firstChild:on.lastChild],dt&&bo){for(cr=on,Xr=cr[zr]||(cr[zr]={}),Mr=Xr[cr.uniqueID]||(Xr[cr.uniqueID]={}),pr=Mr[U]||[],bn=pr[0]===Ln&&pr[1],vi=bn&&pr[2],cr=bn&&on.childNodes[bn];cr=++bn&&cr&&cr[Kn]||(vi=bn=0)||Hn.pop();)if(cr.nodeType===1&&++vi&&cr===zt){Mr[U]=[Ln,bn,vi];break}}else if(bo&&(cr=zt,Xr=cr[zr]||(cr[zr]={}),Mr=Xr[cr.uniqueID]||(Xr[cr.uniqueID]={}),pr=Mr[U]||[],bn=pr[0]===Ln&&pr[1],vi=bn),vi===!1)for(;(cr=++bn&&cr&&cr[Kn]||(vi=bn=0)||Hn.pop())&&!((Pt?cr.nodeName.toLowerCase()===Pu:cr.nodeType===1)&&++vi&&(bo&&(Xr=cr[zr]||(cr[zr]={}),Mr=Xr[cr.uniqueID]||(Xr[cr.uniqueID]={}),Mr[U]=[Ln,vi]),cr===zt)););return vi-=Se,vi===Ve||vi%Ve===0&&vi/Ve>=0}}},PSEUDO:function(U,le){var me,Ve=k.pseudos[U]||k.setFilters[U.toLowerCase()]||Zr.error("unsupported pseudo: "+U);return Ve[zr]?Ve(le):Ve.length>1?(me=[U,U,"",le],k.setFilters.hasOwnProperty(U.toLowerCase())?hi(function(Se,et){for(var dt,Pt=Ve(Se,le),zt=Pt.length;zt--;)dt=Ti(Se,Pt[zt]),Se[dt]=!(et[dt]=Pt[zt])}):function(Se){return Ve(Se,0,me)}):Ve}},pseudos:{not:hi(function(U){var le=[],me=[],Ve=oe(U.replace(gl,"$1"));return Ve[zr]?hi(function(Se,et,dt,Pt){for(var zt,dr=Ve(Se,null,Pt,[]),lr=Se.length;lr--;)(zt=dr[lr])&&(Se[lr]=!(et[lr]=zt))}):function(Se,et,dt){return le[0]=Se,Ve(le,null,dt,me),le[0]=null,!me.pop()}}),has:hi(function(U){return function(le){return Zr(U,le).length>0}}),contains:hi(function(U){return U=U.replace(Qi,oa),function(le){return(le.textContent||D(le)).indexOf(U)>-1}}),lang:hi(function(U){return yo.test(U||"")||Zr.error("unsupported lang: "+U),U=U.replace(Qi,oa).toLowerCase(),function(le){var me;do if(me=yr?le.lang:le.getAttribute("xml:lang")||le.getAttribute("lang"))return me=me.toLowerCase(),me===U||me.indexOf(U+"-")===0;while((le=le.parentNode)&&le.nodeType===1);return!1}}),target:function(U){var le=d.location&&d.location.hash;return le&&le.slice(1)===U.id},root:function(U){return U===or},focus:function(U){return U===Ge.activeElement&&(!Ge.hasFocus||Ge.hasFocus())&&!!(U.type||U.href||~U.tabIndex)},enabled:yl(!1),disabled:yl(!0),checked:function(U){var le=U.nodeName.toLowerCase();return le==="input"&&!!U.checked||le==="option"&&!!U.selected},selected:function(U){return U.parentNode&&U.parentNode.selectedIndex,U.selected===!0},empty:function(U){for(U=U.firstChild;U;U=U.nextSibling)if(U.nodeType<6)return!1;return!0},parent:function(U){return!k.pseudos.empty(U)},header:function(U){return Od.test(U.nodeName)},input:function(U){return Cd.test(U.nodeName)},button:function(U){var le=U.nodeName.toLowerCase();return le==="input"&&U.type==="button"||le==="button"},text:function(U){var le;return U.nodeName.toLowerCase()==="input"&&U.type==="text"&&((le=U.getAttribute("type"))==null||le.toLowerCase()==="text")},first:Va(function(){return[0]}),last:Va(function(U,le){return[le-1]}),eq:Va(function(U,le,me){return[me<0?me+le:me]}),even:Va(function(U,le){for(var me=0;me<le;me+=2)U.push(me);return U}),odd:Va(function(U,le){for(var me=1;me<le;me+=2)U.push(me);return U}),lt:Va(function(U,le,me){for(var Ve=me<0?me+le:me>le?le:me;--Ve>=0;)U.push(Ve);return U}),gt:Va(function(U,le,me){for(var Ve=me<0?me+le:me;++Ve<le;)U.push(Ve);return U})}},k.pseudos.nth=k.pseudos.eq;for(m in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})k.pseudos[m]=Vf(m);for(m in{submit:!0,reset:!0})k.pseudos[m]=Yf(m);function Cs(){}Cs.prototype=k.filters=k.pseudos,k.setFilters=new Cs,j=Zr.tokenize=function(U,le){var me,Ve,Se,et,dt,Pt,zt,dr=Oa[U+" "];if(dr)return le?0:dr.slice(0);for(dt=U,Pt=[],zt=k.preFilter;dt;){(!me||(Ve=qo.exec(dt)))&&(Ve&&(dt=dt.slice(Ve[0].length)||dt),Pt.push(Se=[])),me=!1,(Ve=On.exec(dt))&&(me=Ve.shift(),Se.push({value:me,type:Ve[0].replace(gl," ")}),dt=dt.slice(me.length));for(et in k.filter)(Ve=Cu[et].exec(dt))&&(!zt[et]||(Ve=zt[et](Ve)))&&(me=Ve.shift(),Se.push({value:me,type:et,matches:Ve}),dt=dt.slice(me.length));if(!me)break}return le?dt.length:dt?Zr.error(U):Oa(U,Pt).slice(0)};function pi(U){for(var le=0,me=U.length,Ve="";le<me;le++)Ve+=U[le].value;return Ve}function Mu(U,le,me){var Ve=le.dir,Se=le.next,et=Se||Ve,dt=me&&et==="parentNode",Pt=Br++;return le.first?function(zt,dr,lr){for(;zt=zt[Ve];)if(zt.nodeType===1||dt)return U(zt,dr,lr);return!1}:function(zt,dr,lr){var pr,Mr,Xr,cr=[Ln,Pt];if(lr){for(;zt=zt[Ve];)if((zt.nodeType===1||dt)&&U(zt,dr,lr))return!0}else for(;zt=zt[Ve];)if(zt.nodeType===1||dt)if(Xr=zt[zr]||(zt[zr]={}),Mr=Xr[zt.uniqueID]||(Xr[zt.uniqueID]={}),Se&&Se===zt.nodeName.toLowerCase())zt=zt[Ve]||zt;else{if((pr=Mr[et])&&pr[0]===Ln&&pr[1]===Pt)return cr[2]=pr[2];if(Mr[et]=cr,cr[2]=U(zt,dr,lr))return!0}return!1}}function xl(U){return U.length>1?function(le,me,Ve){for(var Se=U.length;Se--;)if(!U[Se](le,me,Ve))return!1;return!0}:U[0]}function Ma(U,le,me){for(var Ve=0,Se=le.length;Ve<Se;Ve++)Zr(U,le[Ve],me);return me}function Yo(U,le,me,Ve,Se){for(var et,dt=[],Pt=0,zt=U.length,dr=le!=null;Pt<zt;Pt++)(et=U[Pt])&&(!me||me(et,Ve,Se))&&(dt.push(et),dr&&le.push(Pt));return dt}function Ya(U,le,me,Ve,Se,et){return Ve&&!Ve[zr]&&(Ve=Ya(Ve)),Se&&!Se[zr]&&(Se=Ya(Se,et)),hi(function(dt,Pt,zt,dr){var lr,pr,Mr,Xr=[],cr=[],bn=Pt.length,Hn=dt||Ma(le||"*",zt.nodeType?[zt]:zt,[]),Kn=U&&(dt||!le)?Yo(Hn,Xr,U,zt,dr):Hn,on=me?Se||(dt?U:bn||Ve)?[]:Pt:Kn;if(me&&me(Kn,on,zt,dr),Ve)for(lr=Yo(on,cr),Ve(lr,[],zt,dr),pr=lr.length;pr--;)(Mr=lr[pr])&&(on[cr[pr]]=!(Kn[cr[pr]]=Mr));if(dt){if(Se||U){if(Se){for(lr=[],pr=on.length;pr--;)(Mr=on[pr])&&lr.push(Kn[pr]=Mr);Se(null,on=[],lr,dr)}for(pr=on.length;pr--;)(Mr=on[pr])&&(lr=Se?Ti(dt,Mr):Xr[pr])>-1&&(dt[lr]=!(Pt[lr]=Mr))}}else on=Yo(on===Pt?on.splice(bn,on.length):on),Se?Se(null,Pt,on,dr):Dn.apply(Pt,on)})}function Xa(U){for(var le,me,Ve,Se=U.length,et=k.relative[U[0].type],dt=et||k.relative[" "],Pt=et?1:0,zt=Mu(function(pr){return pr===le},dt,!0),dr=Mu(function(pr){return Ti(le,pr)>-1},dt,!0),lr=[function(pr,Mr,Xr){var cr=!et&&(Xr||Mr!==we)||((le=Mr).nodeType?zt(pr,Mr,Xr):dr(pr,Mr,Xr));return le=null,cr}];Pt<Se;Pt++)if(me=k.relative[U[Pt].type])lr=[Mu(xl(lr),me)];else{if(me=k.filter[U[Pt].type].apply(null,U[Pt].matches),me[zr]){for(Ve=++Pt;Ve<Se&&!k.relative[U[Ve].type];Ve++);return Ya(Pt>1&&xl(lr),Pt>1&&pi(U.slice(0,Pt-1).concat({value:U[Pt-2].type===" "?"*":""})).replace(gl,"$1"),me,Pt<Ve&&Xa(U.slice(Pt,Ve)),Ve<Se&&Xa(U=U.slice(Ve)),Ve<Se&&pi(U))}lr.push(me)}return xl(lr)}function Xo(U,le){var me=le.length>0,Ve=U.length>0,Se=function(et,dt,Pt,zt,dr){var lr,pr,Mr,Xr=0,cr="0",bn=et&&[],Hn=[],Kn=we,on=et||Ve&&k.find.TAG("*",dr),Pu=Ln+=Kn==null?1:Math.random()||.1,bo=on.length;for(dr&&(we=dt==Ge||dt||dr);cr!==bo&&(lr=on[cr])!=null;cr++){if(Ve&&lr){for(pr=0,!dt&&lr.ownerDocument!=Ge&&(Oe(lr),Pt=!yr);Mr=U[pr++];)if(Mr(lr,dt||Ge,Pt)){zt.push(lr);break}dr&&(Ln=Pu)}me&&((lr=!Mr&&lr)&&Xr--,et&&bn.push(lr))}if(Xr+=cr,me&&cr!==Xr){for(pr=0;Mr=le[pr++];)Mr(bn,Hn,dt,Pt);if(et){if(Xr>0)for(;cr--;)bn[cr]||Hn[cr]||(Hn[cr]=ci.call(zt));Hn=Yo(Hn)}Dn.apply(zt,Hn),dr&&!et&&Hn.length>0&&Xr+le.length>1&&Zr.uniqueSort(zt)}return dr&&(Ln=Pu,we=Kn),bn};return me?hi(Se):Se}return oe=Zr.compile=function(U,le){var me,Ve=[],Se=[],et=hl[U+" "];if(!et){for(le||(le=j(U)),me=le.length;me--;)et=Xa(le[me]),et[zr]?Ve.push(et):Se.push(et);et=hl(U,Xo(Se,Ve)),et.selector=U}return et},fe=Zr.select=function(U,le,me,Ve){var Se,et,dt,Pt,zt,dr=typeof U=="function"&&U,lr=!Ve&&j(U=dr.selector||U);if(me=me||[],lr.length===1){if(et=lr[0]=lr[0].slice(0),et.length>2&&(dt=et[0]).type==="ID"&&le.nodeType===9&&yr&&k.relative[et[1].type]){if(le=(k.find.ID(dt.matches[0].replace(Qi,oa),le)||[])[0],le)dr&&(le=le.parentNode);else return me;U=U.slice(et.shift().value.length)}for(Se=Cu.needsContext.test(U)?0:et.length;Se--&&(dt=et[Se],!k.relative[Pt=dt.type]);)if((zt=k.find[Pt])&&(Ve=zt(dt.matches[0].replace(Qi,oa),Vo.test(et[0].type)&&bl(le.parentNode)||le))){if(et.splice(Se,1),U=Ve.length&&pi(et),!U)return Dn.apply(me,Ve),me;break}}return(dr||oe(U,lr))(Ve,le,!yr,me,!le||Vo.test(U)&&bl(le.parentNode)||le),me},A.sortStable=zr.split("").sort(Ga).join("")===zr,A.detectDuplicates=!!ot,Oe(),A.sortDetached=$i(function(U){return U.compareDocumentPosition(Ge.createElement("fieldset"))&1}),$i(function(U){return U.innerHTML="<a href='#'></a>",U.firstChild.getAttribute("href")==="#"})||ku("type|href|height|width",function(U,le,me){if(!me)return U.getAttribute(le,le.toLowerCase()==="type"?1:2)}),(!A.attributes||!$i(function(U){return U.innerHTML="<input/>",U.firstChild.setAttribute("value",""),U.firstChild.getAttribute("value")===""}))&&ku("value",function(U,le,me){if(!me&&U.nodeName.toLowerCase()==="input")return U.defaultValue}),$i(function(U){return U.getAttribute("disabled")==null})||ku(pl,function(U,le,me){var Ve;if(!me)return U[le]===!0?le.toLowerCase():(Ve=U.getAttributeNode(le))&&Ve.specified?Ve.value:null}),Zr}(t);v.find=q,v.expr=q.selectors,v.expr[":"]=v.expr.pseudos,v.uniqueSort=v.unique=q.uniqueSort,v.text=q.getText,v.isXMLDoc=q.isXML,v.contains=q.contains,v.escapeSelector=q.escape;var ue=function(d,m,A){for(var k=[],D=A!==void 0;(d=d[m])&&d.nodeType!==9;)if(d.nodeType===1){if(D&&v(d).is(A))break;k.push(d)}return k},Ie=function(d,m){for(var A=[];d;d=d.nextSibling)d.nodeType===1&&d!==m&&A.push(d);return A},Ce=v.expr.match.needsContext;function De(d,m){return d.nodeName&&d.nodeName.toLowerCase()===m.toLowerCase()}var Ye=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Xe(d,m,A){return R(m)?v.grep(d,function(k,D){return!!m.call(k,D,k)!==A}):m.nodeType?v.grep(d,function(k){return k===m!==A}):typeof m!="string"?v.grep(d,function(k){return f.call(m,k)>-1!==A}):v.filter(m,d,A)}v.filter=function(d,m,A){var k=m[0];return A&&(d=":not("+d+")"),m.length===1&&k.nodeType===1?v.find.matchesSelector(k,d)?[k]:[]:v.find.matches(d,v.grep(m,function(D){return D.nodeType===1}))},v.fn.extend({find:function(d){var m,A,k=this.length,D=this;if(typeof d!="string")return this.pushStack(v(d).filter(function(){for(m=0;m<k;m++)if(v.contains(D[m],this))return!0}));for(A=this.pushStack([]),m=0;m<k;m++)v.find(d,D[m],A);return k>1?v.uniqueSort(A):A},filter:function(d){return this.pushStack(Xe(this,d||[],!1))},not:function(d){return this.pushStack(Xe(this,d||[],!0))},is:function(d){return!!Xe(this,typeof d=="string"&&Ce.test(d)?v(d):d||[],!1).length}});var Et,yt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Ze=v.fn.init=function(d,m,A){var k,D;if(!d)return this;if(A=A||Et,typeof d=="string")if(d[0]==="<"&&d[d.length-1]===">"&&d.length>=3?k=[null,d,null]:k=yt.exec(d),k&&(k[1]||!m))if(k[1]){if(m=m instanceof v?m[0]:m,v.merge(this,v.parseHTML(k[1],m&&m.nodeType?m.ownerDocument||m:S,!0)),Ye.test(k[1])&&v.isPlainObject(m))for(k in m)R(this[k])?this[k](m[k]):this.attr(k,m[k]);return this}else return D=S.getElementById(k[2]),D&&(this[0]=D,this.length=1),this;else return!m||m.jquery?(m||A).find(d):this.constructor(m).find(d);else{if(d.nodeType)return this[0]=d,this.length=1,this;if(R(d))return A.ready!==void 0?A.ready(d):d(v)}return v.makeArray(d,this)};Ze.prototype=v.fn,Et=v(S);var it=/^(?:parents|prev(?:Until|All))/,Ut={children:!0,contents:!0,next:!0,prev:!0};v.fn.extend({has:function(d){var m=v(d,this),A=m.length;return this.filter(function(){for(var k=0;k<A;k++)if(v.contains(this,m[k]))return!0})},closest:function(d,m){var A,k=0,D=this.length,$=[],j=typeof d!="string"&&v(d);if(!Ce.test(d)){for(;k<D;k++)for(A=this[k];A&&A!==m;A=A.parentNode)if(A.nodeType<11&&(j?j.index(A)>-1:A.nodeType===1&&v.find.matchesSelector(A,d))){$.push(A);break}}return this.pushStack($.length>1?v.uniqueSort($):$)},index:function(d){return d?typeof d=="string"?f.call(v(d),this[0]):f.call(this,d.jquery?d[0]:d):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(d,m){return this.pushStack(v.uniqueSort(v.merge(this.get(),v(d,m))))},addBack:function(d){return this.add(d==null?this.prevObject:this.prevObject.filter(d))}});function bt(d,m){for(;(d=d[m])&&d.nodeType!==1;);return d}v.each({parent:function(d){var m=d.parentNode;return m&&m.nodeType!==11?m:null},parents:function(d){return ue(d,"parentNode")},parentsUntil:function(d,m,A){return ue(d,"parentNode",A)},next:function(d){return bt(d,"nextSibling")},prev:function(d){return bt(d,"previousSibling")},nextAll:function(d){return ue(d,"nextSibling")},prevAll:function(d){return ue(d,"previousSibling")},nextUntil:function(d,m,A){return ue(d,"nextSibling",A)},prevUntil:function(d,m,A){return ue(d,"previousSibling",A)},siblings:function(d){return Ie((d.parentNode||{}).firstChild,d)},children:function(d){return Ie(d.firstChild)},contents:function(d){return d.contentDocument!=null&&i(d.contentDocument)?d.contentDocument:(De(d,"template")&&(d=d.content||d),v.merge([],d.childNodes))}},function(d,m){v.fn[d]=function(A,k){var D=v.map(this,m,A);return d.slice(-5)!=="Until"&&(k=A),k&&typeof k=="string"&&(D=v.filter(k,D)),this.length>1&&(Ut[d]||v.uniqueSort(D),it.test(d)&&D.reverse()),this.pushStack(D)}});var Le=/[^\x20\t\r\n\f]+/g;function ut(d){var m={};return v.each(d.match(Le)||[],function(A,k){m[k]=!0}),m}v.Callbacks=function(d){d=typeof d=="string"?ut(d):v.extend({},d);var m,A,k,D,$=[],j=[],oe=-1,fe=function(){for(D=D||d.once,k=m=!0;j.length;oe=-1)for(A=j.shift();++oe<$.length;)$[oe].apply(A[0],A[1])===!1&&d.stopOnFalse&&(oe=$.length,A=!1);d.memory||(A=!1),m=!1,D&&(A?$=[]:$="")},we={add:function(){return $&&(A&&!m&&(oe=$.length-1,j.push(A)),function Be(ot){v.each(ot,function(Oe,Ge){R(Ge)?(!d.unique||!we.has(Ge))&&$.push(Ge):Ge&&Ge.length&&M(Ge)!=="string"&&Be(Ge)})}(arguments),A&&!m&&fe()),this},remove:function(){return v.each(arguments,function(Be,ot){for(var Oe;(Oe=v.inArray(ot,$,Oe))>-1;)$.splice(Oe,1),Oe<=oe&&oe--}),this},has:function(Be){return Be?v.inArray(Be,$)>-1:$.length>0},empty:function(){return $&&($=[]),this},disable:function(){return D=j=[],$=A="",this},disabled:function(){return!$},lock:function(){return D=j=[],!A&&!m&&($=A=""),this},locked:function(){return!!D},fireWith:function(Be,ot){return D||(ot=ot||[],ot=[Be,ot.slice?ot.slice():ot],j.push(ot),m||fe()),this},fire:function(){return we.fireWith(this,arguments),this},fired:function(){return!!k}};return we};function At(d){return d}function st(d){throw d}function Ct(d,m,A,k){var D;try{d&&R(D=d.promise)?D.call(d).done(m).fail(A):d&&R(D=d.then)?D.call(d,m,A):m.apply(void 0,[d].slice(k))}catch($){A.apply(void 0,[$])}}v.extend({Deferred:function(d){var m=[["notify","progress",v.Callbacks("memory"),v.Callbacks("memory"),2],["resolve","done",v.Callbacks("once memory"),v.Callbacks("once memory"),0,"resolved"],["reject","fail",v.Callbacks("once memory"),v.Callbacks("once memory"),1,"rejected"]],A="pending",k={state:function(){return A},always:function(){return D.done(arguments).fail(arguments),this},catch:function($){return k.then(null,$)},pipe:function(){var $=arguments;return v.Deferred(function(j){v.each(m,function(oe,fe){var we=R($[fe[4]])&&$[fe[4]];D[fe[1]](function(){var Be=we&&we.apply(this,arguments);Be&&R(Be.promise)?Be.promise().progress(j.notify).done(j.resolve).fail(j.reject):j[fe[0]+"With"](this,we?[Be]:arguments)})}),$=null}).promise()},then:function($,j,oe){var fe=0;function we(Be,ot,Oe,Ge){return function(){var or=this,yr=arguments,nr=function(){var fn,fi;if(!(Be<fe)){if(fn=Oe.apply(or,yr),fn===ot.promise())throw new TypeError("Thenable self-resolution");fi=fn&&(typeof fn=="object"||typeof fn=="function")&&fn.then,R(fi)?Ge?fi.call(fn,we(fe,ot,At,Ge),we(fe,ot,st,Ge)):(fe++,fi.call(fn,we(fe,ot,At,Ge),we(fe,ot,st,Ge),we(fe,ot,At,ot.notifyWith))):(Oe!==At&&(or=void 0,yr=[fn]),(Ge||ot.resolveWith)(or,yr))}},pn=Ge?nr:function(){try{nr()}catch(fn){v.Deferred.exceptionHook&&v.Deferred.exceptionHook(fn,pn.stackTrace),Be+1>=fe&&(Oe!==st&&(or=void 0,yr=[fn]),ot.rejectWith(or,yr))}};Be?pn():(v.Deferred.getStackHook&&(pn.stackTrace=v.Deferred.getStackHook()),t.setTimeout(pn))}}return v.Deferred(function(Be){m[0][3].add(we(0,Be,R(oe)?oe:At,Be.notifyWith)),m[1][3].add(we(0,Be,R($)?$:At)),m[2][3].add(we(0,Be,R(j)?j:st))}).promise()},promise:function($){return $!=null?v.extend($,k):k}},D={};return v.each(m,function($,j){var oe=j[2],fe=j[5];k[j[1]]=oe.add,fe&&oe.add(function(){A=fe},m[3-$][2].disable,m[3-$][3].disable,m[0][2].lock,m[0][3].lock),oe.add(j[3].fire),D[j[0]]=function(){return D[j[0]+"With"](this===D?void 0:this,arguments),this},D[j[0]+"With"]=oe.fireWith}),k.promise(D),d&&d.call(D,D),D},when:function(d){var m=arguments.length,A=m,k=Array(A),D=a.call(arguments),$=v.Deferred(),j=function(oe){return function(fe){k[oe]=this,D[oe]=arguments.length>1?a.call(arguments):fe,--m||$.resolveWith(k,D)}};if(m<=1&&(Ct(d,$.done(j(A)).resolve,$.reject,!m),$.state()==="pending"||R(D[A]&&D[A].then)))return $.then();for(;A--;)Ct(D[A],j(A),$.reject);return $.promise()}});var Lt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;v.Deferred.exceptionHook=function(d,m){t.console&&t.console.warn&&d&&Lt.test(d.name)&&t.console.warn("jQuery.Deferred exception: "+d.message,d.stack,m)},v.readyException=function(d){t.setTimeout(function(){throw d})};var hr=v.Deferred();v.fn.ready=function(d){return hr.then(d).catch(function(m){v.readyException(m)}),this},v.extend({isReady:!1,readyWait:1,ready:function(d){(d===!0?--v.readyWait:v.isReady)||(v.isReady=!0,!(d!==!0&&--v.readyWait>0)&&hr.resolveWith(S,[v]))}}),v.ready.then=hr.then;function mr(){S.removeEventListener("DOMContentLoaded",mr),t.removeEventListener("load",mr),v.ready()}S.readyState==="complete"||S.readyState!=="loading"&&!S.documentElement.doScroll?t.setTimeout(v.ready):(S.addEventListener("DOMContentLoaded",mr),t.addEventListener("load",mr));var at=function(d,m,A,k,D,$,j){var oe=0,fe=d.length,we=A==null;if(M(A)==="object"){D=!0;for(oe in A)at(d,m,oe,A[oe],!0,$,j)}else if(k!==void 0&&(D=!0,R(k)||(j=!0),we&&(j?(m.call(d,k),m=null):(we=m,m=function(Be,ot,Oe){return we.call(v(Be),Oe)})),m))for(;oe<fe;oe++)m(d[oe],A,j?k:k.call(d[oe],oe,m(d[oe],A)));return D?d:we?m.call(d):fe?m(d[0],A):$},Gt=/^-ms-/,fr=/-([a-z])/g;function je(d,m){return m.toUpperCase()}function Y(d){return d.replace(Gt,"ms-").replace(fr,je)}var he=function(d){return d.nodeType===1||d.nodeType===9||!+d.nodeType};function J(){this.expando=v.expando+J.uid++}J.uid=1,J.prototype={cache:function(d){var m=d[this.expando];return m||(m={},he(d)&&(d.nodeType?d[this.expando]=m:Object.defineProperty(d,this.expando,{value:m,configurable:!0}))),m},set:function(d,m,A){var k,D=this.cache(d);if(typeof m=="string")D[Y(m)]=A;else for(k in m)D[Y(k)]=m[k];return D},get:function(d,m){return m===void 0?this.cache(d):d[this.expando]&&d[this.expando][Y(m)]},access:function(d,m,A){return m===void 0||m&&typeof m=="string"&&A===void 0?this.get(d,m):(this.set(d,m,A),A!==void 0?A:m)},remove:function(d,m){var A,k=d[this.expando];if(k!==void 0){if(m!==void 0)for(Array.isArray(m)?m=m.map(Y):(m=Y(m),m=m in k?[m]:m.match(Le)||[]),A=m.length;A--;)delete k[m[A]];(m===void 0||v.isEmptyObject(k))&&(d.nodeType?d[this.expando]=void 0:delete d[this.expando])}},hasData:function(d){var m=d[this.expando];return m!==void 0&&!v.isEmptyObject(m)}};var Te=new J,wt=new J,Dt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,kr=/[A-Z]/g;function qr(d){return d==="true"?!0:d==="false"?!1:d==="null"?null:d===+d+""?+d:Dt.test(d)?JSON.parse(d):d}function en(d,m,A){var k;if(A===void 0&&d.nodeType===1)if(k="data-"+m.replace(kr,"-$&").toLowerCase(),A=d.getAttribute(k),typeof A=="string"){try{A=qr(A)}catch{}wt.set(d,m,A)}else A=void 0;return A}v.extend({hasData:function(d){return wt.hasData(d)||Te.hasData(d)},data:function(d,m,A){return wt.access(d,m,A)},removeData:function(d,m){wt.remove(d,m)},_data:function(d,m,A){return Te.access(d,m,A)},_removeData:function(d,m){Te.remove(d,m)}}),v.fn.extend({data:function(d,m){var A,k,D,$=this[0],j=$&&$.attributes;if(d===void 0){if(this.length&&(D=wt.get($),$.nodeType===1&&!Te.get($,"hasDataAttrs"))){for(A=j.length;A--;)j[A]&&(k=j[A].name,k.indexOf("data-")===0&&(k=Y(k.slice(5)),en($,k,D[k])));Te.set($,"hasDataAttrs",!0)}return D}return typeof d=="object"?this.each(function(){wt.set(this,d)}):at(this,function(oe){var fe;if($&&oe===void 0)return fe=wt.get($,d),fe!==void 0||(fe=en($,d),fe!==void 0)?fe:void 0;this.each(function(){wt.set(this,d,oe)})},null,m,arguments.length>1,null,!0)},removeData:function(d){return this.each(function(){wt.remove(this,d)})}}),v.extend({queue:function(d,m,A){var k;if(d)return m=(m||"fx")+"queue",k=Te.get(d,m),A&&(!k||Array.isArray(A)?k=Te.access(d,m,v.makeArray(A)):k.push(A)),k||[]},dequeue:function(d,m){m=m||"fx";var A=v.queue(d,m),k=A.length,D=A.shift(),$=v._queueHooks(d,m),j=function(){v.dequeue(d,m)};D==="inprogress"&&(D=A.shift(),k--),D&&(m==="fx"&&A.unshift("inprogress"),delete $.stop,D.call(d,j,$)),!k&&$&&$.empty.fire()},_queueHooks:function(d,m){var A=m+"queueHooks";return Te.get(d,A)||Te.access(d,A,{empty:v.Callbacks("once memory").add(function(){Te.remove(d,[m+"queue",A])})})}}),v.fn.extend({queue:function(d,m){var A=2;return typeof d!="string"&&(m=d,d="fx",A--),arguments.length<A?v.queue(this[0],d):m===void 0?this:this.each(function(){var k=v.queue(this,d,m);v._queueHooks(this,d),d==="fx"&&k[0]!=="inprogress"&&v.dequeue(this,d)})},dequeue:function(d){return this.each(function(){v.dequeue(this,d)})},clearQueue:function(d){return this.queue(d||"fx",[])},promise:function(d,m){var A,k=1,D=v.Deferred(),$=this,j=this.length,oe=function(){--k||D.resolveWith($,[$])};for(typeof d!="string"&&(m=d,d=void 0),d=d||"fx";j--;)A=Te.get($[j],d+"queueHooks"),A&&A.empty&&(k++,A.empty.add(oe));return oe(),D.promise(m)}});var qn=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Li=new RegExp("^(?:([+-])=|)("+qn+")([a-z%]*)$","i"),hn=["Top","Right","Bottom","Left"],$a=S.documentElement,Po=function(d){return v.contains(d.ownerDocument,d)},gs={composed:!0};$a.getRootNode&&(Po=function(d){return v.contains(d.ownerDocument,d)||d.getRootNode(gs)===d.ownerDocument});var pu=function(d,m){return d=m||d,d.style.display==="none"||d.style.display===""&&Po(d)&&v.css(d,"display")==="none"};function vu(d,m,A,k){var D,$,j=20,oe=k?function(){return k.cur()}:function(){return v.css(d,m,"")},fe=oe(),we=A&&A[3]||(v.cssNumber[m]?"":"px"),Be=d.nodeType&&(v.cssNumber[m]||we!=="px"&&+fe)&&Li.exec(v.css(d,m));if(Be&&Be[3]!==we){for(fe=fe/2,we=we||Be[3],Be=+fe||1;j--;)v.style(d,m,Be+we),(1-$)*(1-($=oe()/fe||.5))<=0&&(j=0),Be=Be/$;Be=Be*2,v.style(d,m,Be+we),A=A||[]}return A&&(Be=+Be||+fe||0,D=A[1]?Be+(A[1]+1)*A[2]:+A[2],k&&(k.unit=we,k.start=Be,k.end=D)),D}var qi={};function Pf(d){var m,A=d.ownerDocument,k=d.nodeName,D=qi[k];return D||(m=A.body.appendChild(A.createElement(k)),D=v.css(m,"display"),m.parentNode.removeChild(m),D==="none"&&(D="block"),qi[k]=D,D)}function li(d,m){for(var A,k,D=[],$=0,j=d.length;$<j;$++)k=d[$],k.style&&(A=k.style.display,m?(A==="none"&&(D[$]=Te.get(k,"display")||null,D[$]||(k.style.display="")),k.style.display===""&&pu(k)&&(D[$]=Pf(k))):A!=="none"&&(D[$]="none",Te.set(k,"display",A)));for($=0;$<j;$++)D[$]!=null&&(d[$].style.display=D[$]);return d}v.fn.extend({show:function(){return li(this,!0)},hide:function(){return li(this)},toggle:function(d){return typeof d=="boolean"?d?this.show():this.hide():this.each(function(){pu(this)?v(this).show():v(this).hide()})}});var ma=/^(?:checkbox|radio)$/i,gu=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,mu=/^$|^module$|\/(?:java|ecma)script/i;(function(){var d=S.createDocumentFragment(),m=d.appendChild(S.createElement("div")),A=S.createElement("input");A.setAttribute("type","radio"),A.setAttribute("checked","checked"),A.setAttribute("name","t"),m.appendChild(A),C.checkClone=m.cloneNode(!0).cloneNode(!0).lastChild.checked,m.innerHTML="<textarea>x</textarea>",C.noCloneChecked=!!m.cloneNode(!0).lastChild.defaultValue,m.innerHTML="<option></option>",C.option=!!m.lastChild})();var Vn={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Vn.tbody=Vn.tfoot=Vn.colgroup=Vn.caption=Vn.thead,Vn.th=Vn.td,C.option||(Vn.optgroup=Vn.option=[1,"<select multiple='multiple'>","</select>"]);function si(d,m){var A;return typeof d.getElementsByTagName<"u"?A=d.getElementsByTagName(m||"*"):typeof d.querySelectorAll<"u"?A=d.querySelectorAll(m||"*"):A=[],m===void 0||m&&De(d,m)?v.merge([d],A):A}function ya(d,m){for(var A=0,k=d.length;A<k;A++)Te.set(d[A],"globalEval",!m||Te.get(m[A],"globalEval"))}var Ad=/<|&#?\w+;/;function yu(d,m,A,k,D){for(var $,j,oe,fe,we,Be,ot=m.createDocumentFragment(),Oe=[],Ge=0,or=d.length;Ge<or;Ge++)if($=d[Ge],$||$===0)if(M($)==="object")v.merge(Oe,$.nodeType?[$]:$);else if(!Ad.test($))Oe.push(m.createTextNode($));else{for(j=j||ot.appendChild(m.createElement("div")),oe=(gu.exec($)||["",""])[1].toLowerCase(),fe=Vn[oe]||Vn._default,j.innerHTML=fe[1]+v.htmlPrefilter($)+fe[2],Be=fe[0];Be--;)j=j.lastChild;v.merge(Oe,j.childNodes),j=ot.firstChild,j.textContent=""}for(ot.textContent="",Ge=0;$=Oe[Ge++];){if(k&&v.inArray($,k)>-1){D&&D.push($);continue}if(we=Po($),j=si(ot.appendChild($),"script"),we&&ya(j),A)for(Be=0;$=j[Be++];)mu.test($.type||"")&&A.push($)}return ot}var Pn=/^([^.]*)(?:\.(.+)|)/;function jn(){return!0}function Nn(){return!1}function Pr(d,m){return d===Nf()==(m==="focus")}function Nf(){try{return S.activeElement}catch{}}function Vi(d,m,A,k,D,$){var j,oe;if(typeof m=="object"){typeof A!="string"&&(k=k||A,A=void 0);for(oe in m)Vi(d,oe,A,k,m[oe],$);return d}if(k==null&&D==null?(D=A,k=A=void 0):D==null&&(typeof A=="string"?(D=k,k=void 0):(D=k,k=A,A=void 0)),D===!1)D=Nn;else if(!D)return d;return $===1&&(j=D,D=function(fe){return v().off(fe),j.apply(this,arguments)},D.guid=j.guid||(j.guid=v.guid++)),d.each(function(){v.event.add(this,m,D,k,A)})}v.event={global:{},add:function(d,m,A,k,D){var $,j,oe,fe,we,Be,ot,Oe,Ge,or,yr,nr=Te.get(d);if(!!he(d))for(A.handler&&($=A,A=$.handler,D=$.selector),D&&v.find.matchesSelector($a,D),A.guid||(A.guid=v.guid++),(fe=nr.events)||(fe=nr.events=Object.create(null)),(j=nr.handle)||(j=nr.handle=function(pn){return typeof v<"u"&&v.event.triggered!==pn.type?v.event.dispatch.apply(d,arguments):void 0}),m=(m||"").match(Le)||[""],we=m.length;we--;)oe=Pn.exec(m[we])||[],Ge=yr=oe[1],or=(oe[2]||"").split(".").sort(),Ge&&(ot=v.event.special[Ge]||{},Ge=(D?ot.delegateType:ot.bindType)||Ge,ot=v.event.special[Ge]||{},Be=v.extend({type:Ge,origType:yr,data:k,handler:A,guid:A.guid,selector:D,needsContext:D&&v.expr.match.needsContext.test(D),namespace:or.join(".")},$),(Oe=fe[Ge])||(Oe=fe[Ge]=[],Oe.delegateCount=0,(!ot.setup||ot.setup.call(d,k,or,j)===!1)&&d.addEventListener&&d.addEventListener(Ge,j)),ot.add&&(ot.add.call(d,Be),Be.handler.guid||(Be.handler.guid=A.guid)),D?Oe.splice(Oe.delegateCount++,0,Be):Oe.push(Be),v.event.global[Ge]=!0)},remove:function(d,m,A,k,D){var $,j,oe,fe,we,Be,ot,Oe,Ge,or,yr,nr=Te.hasData(d)&&Te.get(d);if(!(!nr||!(fe=nr.events))){for(m=(m||"").match(Le)||[""],we=m.length;we--;){if(oe=Pn.exec(m[we])||[],Ge=yr=oe[1],or=(oe[2]||"").split(".").sort(),!Ge){for(Ge in fe)v.event.remove(d,Ge+m[we],A,k,!0);continue}for(ot=v.event.special[Ge]||{},Ge=(k?ot.delegateType:ot.bindType)||Ge,Oe=fe[Ge]||[],oe=oe[2]&&new RegExp("(^|\\.)"+or.join("\\.(?:.*\\.|)")+"(\\.|$)"),j=$=Oe.length;$--;)Be=Oe[$],(D||yr===Be.origType)&&(!A||A.guid===Be.guid)&&(!oe||oe.test(Be.namespace))&&(!k||k===Be.selector||k==="**"&&Be.selector)&&(Oe.splice($,1),Be.selector&&Oe.delegateCount--,ot.remove&&ot.remove.call(d,Be));j&&!Oe.length&&((!ot.teardown||ot.teardown.call(d,or,nr.handle)===!1)&&v.removeEvent(d,Ge,nr.handle),delete fe[Ge])}v.isEmptyObject(fe)&&Te.remove(d,"handle events")}},dispatch:function(d){var m,A,k,D,$,j,oe=new Array(arguments.length),fe=v.event.fix(d),we=(Te.get(this,"events")||Object.create(null))[fe.type]||[],Be=v.event.special[fe.type]||{};for(oe[0]=fe,m=1;m<arguments.length;m++)oe[m]=arguments[m];if(fe.delegateTarget=this,!(Be.preDispatch&&Be.preDispatch.call(this,fe)===!1)){for(j=v.event.handlers.call(this,fe,we),m=0;(D=j[m++])&&!fe.isPropagationStopped();)for(fe.currentTarget=D.elem,A=0;($=D.handlers[A++])&&!fe.isImmediatePropagationStopped();)(!fe.rnamespace||$.namespace===!1||fe.rnamespace.test($.namespace))&&(fe.handleObj=$,fe.data=$.data,k=((v.event.special[$.origType]||{}).handle||$.handler).apply(D.elem,oe),k!==void 0&&(fe.result=k)===!1&&(fe.preventDefault(),fe.stopPropagation()));return Be.postDispatch&&Be.postDispatch.call(this,fe),fe.result}},handlers:function(d,m){var A,k,D,$,j,oe=[],fe=m.delegateCount,we=d.target;if(fe&&we.nodeType&&!(d.type==="click"&&d.button>=1)){for(;we!==this;we=we.parentNode||this)if(we.nodeType===1&&!(d.type==="click"&&we.disabled===!0)){for($=[],j={},A=0;A<fe;A++)k=m[A],D=k.selector+" ",j[D]===void 0&&(j[D]=k.needsContext?v(D,this).index(we)>-1:v.find(D,this,null,[we]).length),j[D]&&$.push(k);$.length&&oe.push({elem:we,handlers:$})}}return we=this,fe<m.length&&oe.push({elem:we,handlers:m.slice(fe)}),oe},addProp:function(d,m){Object.defineProperty(v.Event.prototype,d,{enumerable:!0,configurable:!0,get:R(m)?function(){if(this.originalEvent)return m(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[d]},set:function(A){Object.defineProperty(this,d,{enumerable:!0,configurable:!0,writable:!0,value:A})}})},fix:function(d){return d[v.expando]?d:new v.Event(d)},special:{load:{noBubble:!0},click:{setup:function(d){var m=this||d;return ma.test(m.type)&&m.click&&De(m,"input")&&ba(m,"click",jn),!1},trigger:function(d){var m=this||d;return ma.test(m.type)&&m.click&&De(m,"input")&&ba(m,"click"),!0},_default:function(d){var m=d.target;return ma.test(m.type)&&m.click&&De(m,"input")&&Te.get(m,"click")||De(m,"a")}},beforeunload:{postDispatch:function(d){d.result!==void 0&&d.originalEvent&&(d.originalEvent.returnValue=d.result)}}}};function ba(d,m,A){if(!A){Te.get(d,m)===void 0&&v.event.add(d,m,jn);return}Te.set(d,m,!1),v.event.add(d,m,{namespace:!1,handler:function(k){var D,$,j=Te.get(this,m);if(k.isTrigger&1&&this[m]){if(j.length)(v.event.special[m]||{}).delegateType&&k.stopPropagation();else if(j=a.call(arguments),Te.set(this,m,j),D=A(this,m),this[m](),$=Te.get(this,m),j!==$||D?Te.set(this,m,!1):$={},j!==$)return k.stopImmediatePropagation(),k.preventDefault(),$&&$.value}else j.length&&(Te.set(this,m,{value:v.event.trigger(v.extend(j[0],v.Event.prototype),j.slice(1),this)}),k.stopImmediatePropagation())}})}v.removeEvent=function(d,m,A){d.removeEventListener&&d.removeEventListener(m,A)},v.Event=function(d,m){if(!(this instanceof v.Event))return new v.Event(d,m);d&&d.type?(this.originalEvent=d,this.type=d.type,this.isDefaultPrevented=d.defaultPrevented||d.defaultPrevented===void 0&&d.returnValue===!1?jn:Nn,this.target=d.target&&d.target.nodeType===3?d.target.parentNode:d.target,this.currentTarget=d.currentTarget,this.relatedTarget=d.relatedTarget):this.type=d,m&&v.extend(this,m),this.timeStamp=d&&d.timeStamp||Date.now(),this[v.expando]=!0},v.Event.prototype={constructor:v.Event,isDefaultPrevented:Nn,isPropagationStopped:Nn,isImmediatePropagationStopped:Nn,isSimulated:!1,preventDefault:function(){var d=this.originalEvent;this.isDefaultPrevented=jn,d&&!this.isSimulated&&d.preventDefault()},stopPropagation:function(){var d=this.originalEvent;this.isPropagationStopped=jn,d&&!this.isSimulated&&d.stopPropagation()},stopImmediatePropagation:function(){var d=this.originalEvent;this.isImmediatePropagationStopped=jn,d&&!this.isSimulated&&d.stopImmediatePropagation(),this.stopPropagation()}},v.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},v.event.addProp),v.each({focus:"focusin",blur:"focusout"},function(d,m){v.event.special[d]={setup:function(){return ba(this,d,Pr),!1},trigger:function(){return ba(this,d),!0},_default:function(){return!0},delegateType:m}}),v.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(d,m){v.event.special[d]={delegateType:m,bindType:m,handle:function(A){var k,D=this,$=A.relatedTarget,j=A.handleObj;return(!$||$!==D&&!v.contains(D,$))&&(A.type=j.origType,k=j.handler.apply(this,arguments),A.type=m),k}}}),v.fn.extend({on:function(d,m,A,k){return Vi(this,d,m,A,k)},one:function(d,m,A,k){return Vi(this,d,m,A,k,1)},off:function(d,m,A){var k,D;if(d&&d.preventDefault&&d.handleObj)return k=d.handleObj,v(d.delegateTarget).off(k.namespace?k.origType+"."+k.namespace:k.origType,k.selector,k.handler),this;if(typeof d=="object"){for(D in d)this.off(D,m,d[D]);return this}return(m===!1||typeof m=="function")&&(A=m,m=void 0),A===!1&&(A=Nn),this.each(function(){v.event.remove(this,d,A,m)})}});var Rf=/<script|<style|<link/i,ia=/checked\s*(?:[^=]|=\s*.checked.)/i,If=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function No(d,m){return De(d,"table")&&De(m.nodeType!==11?m:m.firstChild,"tr")&&v(d).children("tbody")[0]||d}function Td(d){return d.type=(d.getAttribute("type")!==null)+"/"+d.type,d}function Ff(d){return(d.type||"").slice(0,5)==="true/"?d.type=d.type.slice(5):d.removeAttribute("type"),d}function Lf(d,m){var A,k,D,$,j,oe,fe;if(m.nodeType===1){if(Te.hasData(d)&&($=Te.get(d),fe=$.events,fe)){Te.remove(m,"handle events");for(D in fe)for(A=0,k=fe[D].length;A<k;A++)v.event.add(m,D,fe[D][A])}wt.hasData(d)&&(j=wt.access(d),oe=v.extend({},j),wt.set(m,oe))}}function Df(d,m){var A=m.nodeName.toLowerCase();A==="input"&&ma.test(d.type)?m.checked=d.checked:(A==="input"||A==="textarea")&&(m.defaultValue=d.defaultValue)}function Ro(d,m,A,k){m=o(m);var D,$,j,oe,fe,we,Be=0,ot=d.length,Oe=ot-1,Ge=m[0],or=R(Ge);if(or||ot>1&&typeof Ge=="string"&&!C.checkClone&&ia.test(Ge))return d.each(function(yr){var nr=d.eq(yr);or&&(m[0]=Ge.call(this,yr,nr.html())),Ro(nr,m,A,k)});if(ot&&(D=yu(m,d[0].ownerDocument,!1,d,k),$=D.firstChild,D.childNodes.length===1&&(D=$),$||k)){for(j=v.map(si(D,"script"),Td),oe=j.length;Be<ot;Be++)fe=D,Be!==Oe&&(fe=v.clone(fe,!0,!0),oe&&v.merge(j,si(fe,"script"))),A.call(d[Be],fe,Be);if(oe)for(we=j[j.length-1].ownerDocument,v.map(j,Ff),Be=0;Be<oe;Be++)fe=j[Be],mu.test(fe.type||"")&&!Te.access(fe,"globalEval")&&v.contains(we,fe)&&(fe.src&&(fe.type||"").toLowerCase()!=="module"?v._evalUrl&&!fe.noModule&&v._evalUrl(fe.src,{nonce:fe.nonce||fe.getAttribute("nonce")},we):P(fe.textContent.replace(If,""),fe,we))}return d}function Io(d,m,A){for(var k,D=m?v.filter(m,d):d,$=0;(k=D[$])!=null;$++)!A&&k.nodeType===1&&v.cleanData(si(k)),k.parentNode&&(A&&Po(k)&&ya(si(k,"script")),k.parentNode.removeChild(k));return d}v.extend({htmlPrefilter:function(d){return d},clone:function(d,m,A){var k,D,$,j,oe=d.cloneNode(!0),fe=Po(d);if(!C.noCloneChecked&&(d.nodeType===1||d.nodeType===11)&&!v.isXMLDoc(d))for(j=si(oe),$=si(d),k=0,D=$.length;k<D;k++)Df($[k],j[k]);if(m)if(A)for($=$||si(d),j=j||si(oe),k=0,D=$.length;k<D;k++)Lf($[k],j[k]);else Lf(d,oe);return j=si(oe,"script"),j.length>0&&ya(j,!fe&&si(d,"script")),oe},cleanData:function(d){for(var m,A,k,D=v.event.special,$=0;(A=d[$])!==void 0;$++)if(he(A)){if(m=A[Te.expando]){if(m.events)for(k in m.events)D[k]?v.event.remove(A,k):v.removeEvent(A,k,m.handle);A[Te.expando]=void 0}A[wt.expando]&&(A[wt.expando]=void 0)}}}),v.fn.extend({detach:function(d){return Io(this,d,!0)},remove:function(d){return Io(this,d)},text:function(d){return at(this,function(m){return m===void 0?v.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=m)})},null,d,arguments.length)},append:function(){return Ro(this,arguments,function(d){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var m=No(this,d);m.appendChild(d)}})},prepend:function(){return Ro(this,arguments,function(d){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var m=No(this,d);m.insertBefore(d,m.firstChild)}})},before:function(){return Ro(this,arguments,function(d){this.parentNode&&this.parentNode.insertBefore(d,this)})},after:function(){return Ro(this,arguments,function(d){this.parentNode&&this.parentNode.insertBefore(d,this.nextSibling)})},empty:function(){for(var d,m=0;(d=this[m])!=null;m++)d.nodeType===1&&(v.cleanData(si(d,!1)),d.textContent="");return this},clone:function(d,m){return d=d==null?!1:d,m=m==null?d:m,this.map(function(){return v.clone(this,d,m)})},html:function(d){return at(this,function(m){var A=this[0]||{},k=0,D=this.length;if(m===void 0&&A.nodeType===1)return A.innerHTML;if(typeof m=="string"&&!Rf.test(m)&&!Vn[(gu.exec(m)||["",""])[1].toLowerCase()]){m=v.htmlPrefilter(m);try{for(;k<D;k++)A=this[k]||{},A.nodeType===1&&(v.cleanData(si(A,!1)),A.innerHTML=m);A=0}catch{}}A&&this.empty().append(m)},null,d,arguments.length)},replaceWith:function(){var d=[];return Ro(this,arguments,function(m){var A=this.parentNode;v.inArray(this,d)<0&&(v.cleanData(si(this)),A&&A.replaceChild(m,this))},d)}}),v.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(d,m){v.fn[d]=function(A){for(var k,D=[],$=v(A),j=$.length-1,oe=0;oe<=j;oe++)k=oe===j?this:this.clone(!0),v($[oe])[m](k),l.apply(D,k.get());return this.pushStack(D)}});var bu=new RegExp("^("+qn+")(?!px)[a-z%]+$","i"),xu=function(d){var m=d.ownerDocument.defaultView;return(!m||!m.opener)&&(m=t),m.getComputedStyle(d)},Fo=function(d,m,A){var k,D,$={};for(D in m)$[D]=d.style[D],d.style[D]=m[D];k=A.call(d);for(D in m)d.style[D]=$[D];return k},il=new RegExp(hn.join("|"),"i");(function(){function d(){if(!!we){fe.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",we.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",$a.appendChild(fe).appendChild(we);var Be=t.getComputedStyle(we);A=Be.top!=="1%",oe=m(Be.marginLeft)===12,we.style.right="60%",$=m(Be.right)===36,k=m(Be.width)===36,we.style.position="absolute",D=m(we.offsetWidth/3)===12,$a.removeChild(fe),we=null}}function m(Be){return Math.round(parseFloat(Be))}var A,k,D,$,j,oe,fe=S.createElement("div"),we=S.createElement("div");!we.style||(we.style.backgroundClip="content-box",we.cloneNode(!0).style.backgroundClip="",C.clearCloneStyle=we.style.backgroundClip==="content-box",v.extend(C,{boxSizingReliable:function(){return d(),k},pixelBoxStyles:function(){return d(),$},pixelPosition:function(){return d(),A},reliableMarginLeft:function(){return d(),oe},scrollboxSize:function(){return d(),D},reliableTrDimensions:function(){var Be,ot,Oe,Ge;return j==null&&(Be=S.createElement("table"),ot=S.createElement("tr"),Oe=S.createElement("div"),Be.style.cssText="position:absolute;left:-11111px;border-collapse:separate",ot.style.cssText="border:1px solid",ot.style.height="1px",Oe.style.height="9px",Oe.style.display="block",$a.appendChild(Be).appendChild(ot).appendChild(Oe),Ge=t.getComputedStyle(ot),j=parseInt(Ge.height,10)+parseInt(Ge.borderTopWidth,10)+parseInt(Ge.borderBottomWidth,10)===ot.offsetHeight,$a.removeChild(Be)),j}}))})();function so(d,m,A){var k,D,$,j,oe=d.style;return A=A||xu(d),A&&(j=A.getPropertyValue(m)||A[m],j===""&&!Po(d)&&(j=v.style(d,m)),!C.pixelBoxStyles()&&bu.test(j)&&il.test(m)&&(k=oe.width,D=oe.minWidth,$=oe.maxWidth,oe.minWidth=oe.maxWidth=oe.width=j,j=A.width,oe.width=k,oe.minWidth=D,oe.maxWidth=$)),j!==void 0?j+"":j}function xa(d,m){return{get:function(){if(d()){delete this.get;return}return(this.get=m).apply(this,arguments)}}}var Ei=["Webkit","Moz","ms"],wu=S.createElement("div").style,_u={};function Yi(d){for(var m=d[0].toUpperCase()+d.slice(1),A=Ei.length;A--;)if(d=Ei[A]+m,d in wu)return d}function fo(d){var m=v.cssProps[d]||_u[d];return m||(d in wu?d:_u[d]=Yi(d)||d)}var Su=/^(none|table(?!-c[ea]).+)/,Tn=/^--/,co={position:"absolute",visibility:"hidden",display:"block"},al={letterSpacing:"0",fontWeight:"400"};function ol(d,m,A){var k=Li.exec(m);return k?Math.max(0,k[2]-(A||0))+(k[3]||"px"):m}function ul(d,m,A,k,D,$){var j=m==="width"?1:0,oe=0,fe=0;if(A===(k?"border":"content"))return 0;for(;j<4;j+=2)A==="margin"&&(fe+=v.css(d,A+hn[j],!0,D)),k?(A==="content"&&(fe-=v.css(d,"padding"+hn[j],!0,D)),A!=="margin"&&(fe-=v.css(d,"border"+hn[j]+"Width",!0,D))):(fe+=v.css(d,"padding"+hn[j],!0,D),A!=="padding"?fe+=v.css(d,"border"+hn[j]+"Width",!0,D):oe+=v.css(d,"border"+hn[j]+"Width",!0,D));return!k&&$>=0&&(fe+=Math.max(0,Math.ceil(d["offset"+m[0].toUpperCase()+m.slice(1)]-$-fe-oe-.5))||0),fe}function ll(d,m,A){var k=xu(d),D=!C.boxSizingReliable()||A,$=D&&v.css(d,"boxSizing",!1,k)==="border-box",j=$,oe=so(d,m,k),fe="offset"+m[0].toUpperCase()+m.slice(1);if(bu.test(oe)){if(!A)return oe;oe="auto"}return(!C.boxSizingReliable()&&$||!C.reliableTrDimensions()&&De(d,"tr")||oe==="auto"||!parseFloat(oe)&&v.css(d,"display",!1,k)==="inline")&&d.getClientRects().length&&($=v.css(d,"boxSizing",!1,k)==="border-box",j=fe in d,j&&(oe=d[fe])),oe=parseFloat(oe)||0,oe+ul(d,m,A||($?"border":"content"),j,k,oe)+"px"}v.extend({cssHooks:{opacity:{get:function(d,m){if(m){var A=so(d,"opacity");return A===""?"1":A}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(d,m,A,k){if(!(!d||d.nodeType===3||d.nodeType===8||!d.style)){var D,$,j,oe=Y(m),fe=Tn.test(m),we=d.style;if(fe||(m=fo(oe)),j=v.cssHooks[m]||v.cssHooks[oe],A!==void 0){if($=typeof A,$==="string"&&(D=Li.exec(A))&&D[1]&&(A=vu(d,m,D),$="number"),A==null||A!==A)return;$==="number"&&!fe&&(A+=D&&D[3]||(v.cssNumber[oe]?"":"px")),!C.clearCloneStyle&&A===""&&m.indexOf("background")===0&&(we[m]="inherit"),(!j||!("set"in j)||(A=j.set(d,A,k))!==void 0)&&(fe?we.setProperty(m,A):we[m]=A)}else return j&&"get"in j&&(D=j.get(d,!1,k))!==void 0?D:we[m]}},css:function(d,m,A,k){var D,$,j,oe=Y(m),fe=Tn.test(m);return fe||(m=fo(oe)),j=v.cssHooks[m]||v.cssHooks[oe],j&&"get"in j&&(D=j.get(d,!0,A)),D===void 0&&(D=so(d,m,k)),D==="normal"&&m in al&&(D=al[m]),A===""||A?($=parseFloat(D),A===!0||isFinite($)?$||0:D):D}}),v.each(["height","width"],function(d,m){v.cssHooks[m]={get:function(A,k,D){if(k)return Su.test(v.css(A,"display"))&&(!A.getClientRects().length||!A.getBoundingClientRect().width)?Fo(A,co,function(){return ll(A,m,D)}):ll(A,m,D)},set:function(A,k,D){var $,j=xu(A),oe=!C.scrollboxSize()&&j.position==="absolute",fe=oe||D,we=fe&&v.css(A,"boxSizing",!1,j)==="border-box",Be=D?ul(A,m,D,we,j):0;return we&&oe&&(Be-=Math.ceil(A["offset"+m[0].toUpperCase()+m.slice(1)]-parseFloat(j[m])-ul(A,m,"border",!1,j)-.5)),Be&&($=Li.exec(k))&&($[3]||"px")!=="px"&&(A.style[m]=k,k=v.css(A,m)),ol(A,k,Be)}}}),v.cssHooks.marginLeft=xa(C.reliableMarginLeft,function(d,m){if(m)return(parseFloat(so(d,"marginLeft"))||d.getBoundingClientRect().left-Fo(d,{marginLeft:0},function(){return d.getBoundingClientRect().left}))+"px"}),v.each({margin:"",padding:"",border:"Width"},function(d,m){v.cssHooks[d+m]={expand:function(A){for(var k=0,D={},$=typeof A=="string"?A.split(" "):[A];k<4;k++)D[d+hn[k]+m]=$[k]||$[k-2]||$[0];return D}},d!=="margin"&&(v.cssHooks[d+m].set=ol)}),v.fn.extend({css:function(d,m){return at(this,function(A,k,D){var $,j,oe={},fe=0;if(Array.isArray(k)){for($=xu(A),j=k.length;fe<j;fe++)oe[k[fe]]=v.css(A,k[fe],!1,$);return oe}return D!==void 0?v.style(A,k,D):v.css(A,k)},d,m,arguments.length>1)}});function Yn(d,m,A,k,D){return new Yn.prototype.init(d,m,A,k,D)}v.Tween=Yn,Yn.prototype={constructor:Yn,init:function(d,m,A,k,D,$){this.elem=d,this.prop=A,this.easing=D||v.easing._default,this.options=m,this.start=this.now=this.cur(),this.end=k,this.unit=$||(v.cssNumber[A]?"":"px")},cur:function(){var d=Yn.propHooks[this.prop];return d&&d.get?d.get(this):Yn.propHooks._default.get(this)},run:function(d){var m,A=Yn.propHooks[this.prop];return this.options.duration?this.pos=m=v.easing[this.easing](d,this.options.duration*d,0,1,this.options.duration):this.pos=m=d,this.now=(this.end-this.start)*m+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),A&&A.set?A.set(this):Yn.propHooks._default.set(this),this}},Yn.prototype.init.prototype=Yn.prototype,Yn.propHooks={_default:{get:function(d){var m;return d.elem.nodeType!==1||d.elem[d.prop]!=null&&d.elem.style[d.prop]==null?d.elem[d.prop]:(m=v.css(d.elem,d.prop,""),!m||m==="auto"?0:m)},set:function(d){v.fx.step[d.prop]?v.fx.step[d.prop](d):d.elem.nodeType===1&&(v.cssHooks[d.prop]||d.elem.style[fo(d.prop)]!=null)?v.style(d.elem,d.prop,d.now+d.unit):d.elem[d.prop]=d.now}}},Yn.propHooks.scrollTop=Yn.propHooks.scrollLeft={set:function(d){d.elem.nodeType&&d.elem.parentNode&&(d.elem[d.prop]=d.now)}},v.easing={linear:function(d){return d},swing:function(d){return .5-Math.cos(d*Math.PI)/2},_default:"swing"},v.fx=Yn.prototype.init,v.fx.step={};var ho,Lo,ms=/^(?:toggle|show|hide)$/,ys=/queueHooks$/;function Cn(){Lo&&(S.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(Cn):t.setTimeout(Cn,v.fx.interval),v.fx.tick())}function bs(){return t.setTimeout(function(){ho=void 0}),ho=Date.now()}function po(d,m){var A,k=0,D={height:d};for(m=m?1:0;k<4;k+=2-m)A=hn[k],D["margin"+A]=D["padding"+A]=d;return m&&(D.opacity=D.width=d),D}function wa(d,m,A){for(var k,D=(Ai.tweeners[m]||[]).concat(Ai.tweeners["*"]),$=0,j=D.length;$<j;$++)if(k=D[$].call(A,m,d))return k}function Do(d,m,A){var k,D,$,j,oe,fe,we,Be,ot="width"in m||"height"in m,Oe=this,Ge={},or=d.style,yr=d.nodeType&&pu(d),nr=Te.get(d,"fxshow");A.queue||(j=v._queueHooks(d,"fx"),j.unqueued==null&&(j.unqueued=0,oe=j.empty.fire,j.empty.fire=function(){j.unqueued||oe()}),j.unqueued++,Oe.always(function(){Oe.always(function(){j.unqueued--,v.queue(d,"fx").length||j.empty.fire()})}));for(k in m)if(D=m[k],ms.test(D)){if(delete m[k],$=$||D==="toggle",D===(yr?"hide":"show"))if(D==="show"&&nr&&nr[k]!==void 0)yr=!0;else continue;Ge[k]=nr&&nr[k]||v.style(d,k)}if(fe=!v.isEmptyObject(m),!(!fe&&v.isEmptyObject(Ge))){ot&&d.nodeType===1&&(A.overflow=[or.overflow,or.overflowX,or.overflowY],we=nr&&nr.display,we==null&&(we=Te.get(d,"display")),Be=v.css(d,"display"),Be==="none"&&(we?Be=we:(li([d],!0),we=d.style.display||we,Be=v.css(d,"display"),li([d]))),(Be==="inline"||Be==="inline-block"&&we!=null)&&v.css(d,"float")==="none"&&(fe||(Oe.done(function(){or.display=we}),we==null&&(Be=or.display,we=Be==="none"?"":Be)),or.display="inline-block")),A.overflow&&(or.overflow="hidden",Oe.always(function(){or.overflow=A.overflow[0],or.overflowX=A.overflow[1],or.overflowY=A.overflow[2]})),fe=!1;for(k in Ge)fe||(nr?"hidden"in nr&&(yr=nr.hidden):nr=Te.access(d,"fxshow",{display:we}),$&&(nr.hidden=!yr),yr&&li([d],!0),Oe.done(function(){yr||li([d]),Te.remove(d,"fxshow");for(k in Ge)v.style(d,k,Ge[k])})),fe=wa(yr?nr[k]:0,k,Oe),k in nr||(nr[k]=fe.start,yr&&(fe.end=fe.start,fe.start=0))}}function vo(d,m){var A,k,D,$,j;for(A in d)if(k=Y(A),D=m[k],$=d[A],Array.isArray($)&&(D=$[1],$=d[A]=$[0]),A!==k&&(d[k]=$,delete d[A]),j=v.cssHooks[k],j&&"expand"in j){$=j.expand($),delete d[k];for(A in $)A in d||(d[A]=$[A],m[A]=D)}else m[k]=D}function Ai(d,m,A){var k,D,$=0,j=Ai.prefilters.length,oe=v.Deferred().always(function(){delete fe.elem}),fe=function(){if(D)return!1;for(var ot=ho||bs(),Oe=Math.max(0,we.startTime+we.duration-ot),Ge=Oe/we.duration||0,or=1-Ge,yr=0,nr=we.tweens.length;yr<nr;yr++)we.tweens[yr].run(or);return oe.notifyWith(d,[we,or,Oe]),or<1&&nr?Oe:(nr||oe.notifyWith(d,[we,1,0]),oe.resolveWith(d,[we]),!1)},we=oe.promise({elem:d,props:v.extend({},m),opts:v.extend(!0,{specialEasing:{},easing:v.easing._default},A),originalProperties:m,originalOptions:A,startTime:ho||bs(),duration:A.duration,tweens:[],createTween:function(ot,Oe){var Ge=v.Tween(d,we.opts,ot,Oe,we.opts.specialEasing[ot]||we.opts.easing);return we.tweens.push(Ge),Ge},stop:function(ot){var Oe=0,Ge=ot?we.tweens.length:0;if(D)return this;for(D=!0;Oe<Ge;Oe++)we.tweens[Oe].run(1);return ot?(oe.notifyWith(d,[we,1,0]),oe.resolveWith(d,[we,ot])):oe.rejectWith(d,[we,ot]),this}}),Be=we.props;for(vo(Be,we.opts.specialEasing);$<j;$++)if(k=Ai.prefilters[$].call(we,d,Be,we.opts),k)return R(k.stop)&&(v._queueHooks(we.elem,we.opts.queue).stop=k.stop.bind(k)),k;return v.map(Be,wa,we),R(we.opts.start)&&we.opts.start.call(d,we),we.progress(we.opts.progress).done(we.opts.done,we.opts.complete).fail(we.opts.fail).always(we.opts.always),v.fx.timer(v.extend(fe,{elem:d,anim:we,queue:we.opts.queue})),we}v.Animation=v.extend(Ai,{tweeners:{"*":[function(d,m){var A=this.createTween(d,m);return vu(A.elem,d,Li.exec(m),A),A}]},tweener:function(d,m){R(d)?(m=d,d=["*"]):d=d.match(Le);for(var A,k=0,D=d.length;k<D;k++)A=d[k],Ai.tweeners[A]=Ai.tweeners[A]||[],Ai.tweeners[A].unshift(m)},prefilters:[Do],prefilter:function(d,m){m?Ai.prefilters.unshift(d):Ai.prefilters.push(d)}}),v.speed=function(d,m,A){var k=d&&typeof d=="object"?v.extend({},d):{complete:A||!A&&m||R(d)&&d,duration:d,easing:A&&m||m&&!R(m)&&m};return v.fx.off?k.duration=0:typeof k.duration!="number"&&(k.duration in v.fx.speeds?k.duration=v.fx.speeds[k.duration]:k.duration=v.fx.speeds._default),(k.queue==null||k.queue===!0)&&(k.queue="fx"),k.old=k.complete,k.complete=function(){R(k.old)&&k.old.call(this),k.queue&&v.dequeue(this,k.queue)},k},v.fn.extend({fadeTo:function(d,m,A,k){return this.filter(pu).css("opacity",0).show().end().animate({opacity:m},d,A,k)},animate:function(d,m,A,k){var D=v.isEmptyObject(d),$=v.speed(m,A,k),j=function(){var oe=Ai(this,v.extend({},d),$);(D||Te.get(this,"finish"))&&oe.stop(!0)};return j.finish=j,D||$.queue===!1?this.each(j):this.queue($.queue,j)},stop:function(d,m,A){var k=function(D){var $=D.stop;delete D.stop,$(A)};return typeof d!="string"&&(A=m,m=d,d=void 0),m&&this.queue(d||"fx",[]),this.each(function(){var D=!0,$=d!=null&&d+"queueHooks",j=v.timers,oe=Te.get(this);if($)oe[$]&&oe[$].stop&&k(oe[$]);else for($ in oe)oe[$]&&oe[$].stop&&ys.test($)&&k(oe[$]);for($=j.length;$--;)j[$].elem===this&&(d==null||j[$].queue===d)&&(j[$].anim.stop(A),D=!1,j.splice($,1));(D||!A)&&v.dequeue(this,d)})},finish:function(d){return d!==!1&&(d=d||"fx"),this.each(function(){var m,A=Te.get(this),k=A[d+"queue"],D=A[d+"queueHooks"],$=v.timers,j=k?k.length:0;for(A.finish=!0,v.queue(this,d,[]),D&&D.stop&&D.stop.call(this,!0),m=$.length;m--;)$[m].elem===this&&$[m].queue===d&&($[m].anim.stop(!0),$.splice(m,1));for(m=0;m<j;m++)k[m]&&k[m].finish&&k[m].finish.call(this);delete A.finish})}}),v.each(["toggle","show","hide"],function(d,m){var A=v.fn[m];v.fn[m]=function(k,D,$){return k==null||typeof k=="boolean"?A.apply(this,arguments):this.animate(po(m,!0),k,D,$)}}),v.each({slideDown:po("show"),slideUp:po("hide"),slideToggle:po("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(d,m){v.fn[d]=function(A,k,D){return this.animate(m,A,k,D)}}),v.timers=[],v.fx.tick=function(){var d,m=0,A=v.timers;for(ho=Date.now();m<A.length;m++)d=A[m],!d()&&A[m]===d&&A.splice(m--,1);A.length||v.fx.stop(),ho=void 0},v.fx.timer=function(d){v.timers.push(d),v.fx.start()},v.fx.interval=13,v.fx.start=function(){Lo||(Lo=!0,Cn())},v.fx.stop=function(){Lo=null},v.fx.speeds={slow:600,fast:200,_default:400},v.fn.delay=function(d,m){return d=v.fx&&v.fx.speeds[d]||d,m=m||"fx",this.queue(m,function(A,k){var D=t.setTimeout(A,d);k.stop=function(){t.clearTimeout(D)}})},function(){var d=S.createElement("input"),m=S.createElement("select"),A=m.appendChild(S.createElement("option"));d.type="checkbox",C.checkOn=d.value!=="",C.optSelected=A.selected,d=S.createElement("input"),d.value="t",d.type="radio",C.radioValue=d.value==="t"}();var za,Ba=v.expr.attrHandle;v.fn.extend({attr:function(d,m){return at(this,v.attr,d,m,arguments.length>1)},removeAttr:function(d){return this.each(function(){v.removeAttr(this,d)})}}),v.extend({attr:function(d,m,A){var k,D,$=d.nodeType;if(!($===3||$===8||$===2)){if(typeof d.getAttribute>"u")return v.prop(d,m,A);if(($!==1||!v.isXMLDoc(d))&&(D=v.attrHooks[m.toLowerCase()]||(v.expr.match.bool.test(m)?za:void 0)),A!==void 0){if(A===null){v.removeAttr(d,m);return}return D&&"set"in D&&(k=D.set(d,A,m))!==void 0?k:(d.setAttribute(m,A+""),A)}return D&&"get"in D&&(k=D.get(d,m))!==null?k:(k=v.find.attr(d,m),k==null?void 0:k)}},attrHooks:{type:{set:function(d,m){if(!C.radioValue&&m==="radio"&&De(d,"input")){var A=d.value;return d.setAttribute("type",m),A&&(d.value=A),m}}}},removeAttr:function(d,m){var A,k=0,D=m&&m.match(Le);if(D&&d.nodeType===1)for(;A=D[k++];)d.removeAttribute(A)}}),za={set:function(d,m,A){return m===!1?v.removeAttr(d,A):d.setAttribute(A,A),A}},v.each(v.expr.match.bool.source.match(/\w+/g),function(d,m){var A=Ba[m]||v.find.attr;Ba[m]=function(k,D,$){var j,oe,fe=D.toLowerCase();return $||(oe=Ba[fe],Ba[fe]=j,j=A(k,D,$)!=null?fe:null,Ba[fe]=oe),j}});var ja=/^(?:input|select|textarea|button)$/i,$o=/^(?:a|area)$/i;v.fn.extend({prop:function(d,m){return at(this,v.prop,d,m,arguments.length>1)},removeProp:function(d){return this.each(function(){delete this[v.propFix[d]||d]})}}),v.extend({prop:function(d,m,A){var k,D,$=d.nodeType;if(!($===3||$===8||$===2))return($!==1||!v.isXMLDoc(d))&&(m=v.propFix[m]||m,D=v.propHooks[m]),A!==void 0?D&&"set"in D&&(k=D.set(d,A,m))!==void 0?k:d[m]=A:D&&"get"in D&&(k=D.get(d,m))!==null?k:d[m]},propHooks:{tabIndex:{get:function(d){var m=v.find.attr(d,"tabindex");return m?parseInt(m,10):ja.test(d.nodeName)||$o.test(d.nodeName)&&d.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),C.optSelected||(v.propHooks.selected={get:function(d){var m=d.parentNode;return m&&m.parentNode&&m.parentNode.selectedIndex,null},set:function(d){var m=d.parentNode;m&&(m.selectedIndex,m.parentNode&&m.parentNode.selectedIndex)}}),v.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){v.propFix[this.toLowerCase()]=this});function Rr(d){var m=d.match(Le)||[];return m.join(" ")}function _a(d){return d.getAttribute&&d.getAttribute("class")||""}function zo(d){return Array.isArray(d)?d:typeof d=="string"?d.match(Le)||[]:[]}v.fn.extend({addClass:function(d){var m,A,k,D,$,j,oe,fe=0;if(R(d))return this.each(function(we){v(this).addClass(d.call(this,we,_a(this)))});if(m=zo(d),m.length){for(;A=this[fe++];)if(D=_a(A),k=A.nodeType===1&&" "+Rr(D)+" ",k){for(j=0;$=m[j++];)k.indexOf(" "+$+" ")<0&&(k+=$+" ");oe=Rr(k),D!==oe&&A.setAttribute("class",oe)}}return this},removeClass:function(d){var m,A,k,D,$,j,oe,fe=0;if(R(d))return this.each(function(we){v(this).removeClass(d.call(this,we,_a(this)))});if(!arguments.length)return this.attr("class","");if(m=zo(d),m.length){for(;A=this[fe++];)if(D=_a(A),k=A.nodeType===1&&" "+Rr(D)+" ",k){for(j=0;$=m[j++];)for(;k.indexOf(" "+$+" ")>-1;)k=k.replace(" "+$+" "," ");oe=Rr(k),D!==oe&&A.setAttribute("class",oe)}}return this},toggleClass:function(d,m){var A=typeof d,k=A==="string"||Array.isArray(d);return typeof m=="boolean"&&k?m?this.addClass(d):this.removeClass(d):R(d)?this.each(function(D){v(this).toggleClass(d.call(this,D,_a(this),m),m)}):this.each(function(){var D,$,j,oe;if(k)for($=0,j=v(this),oe=zo(d);D=oe[$++];)j.hasClass(D)?j.removeClass(D):j.addClass(D);else(d===void 0||A==="boolean")&&(D=_a(this),D&&Te.set(this,"__className__",D),this.setAttribute&&this.setAttribute("class",D||d===!1?"":Te.get(this,"__className__")||""))})},hasClass:function(d){var m,A,k=0;for(m=" "+d+" ";A=this[k++];)if(A.nodeType===1&&(" "+Rr(_a(A))+" ").indexOf(m)>-1)return!0;return!1}});var $f=/\r/g;v.fn.extend({val:function(d){var m,A,k,D=this[0];return arguments.length?(k=R(d),this.each(function($){var j;this.nodeType===1&&(k?j=d.call(this,$,v(this).val()):j=d,j==null?j="":typeof j=="number"?j+="":Array.isArray(j)&&(j=v.map(j,function(oe){return oe==null?"":oe+""})),m=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()],(!m||!("set"in m)||m.set(this,j,"value")===void 0)&&(this.value=j))})):D?(m=v.valHooks[D.type]||v.valHooks[D.nodeName.toLowerCase()],m&&"get"in m&&(A=m.get(D,"value"))!==void 0?A:(A=D.value,typeof A=="string"?A.replace($f,""):A==null?"":A)):void 0}}),v.extend({valHooks:{option:{get:function(d){var m=v.find.attr(d,"value");return m!=null?m:Rr(v.text(d))}},select:{get:function(d){var m,A,k,D=d.options,$=d.selectedIndex,j=d.type==="select-one",oe=j?null:[],fe=j?$+1:D.length;for($<0?k=fe:k=j?$:0;k<fe;k++)if(A=D[k],(A.selected||k===$)&&!A.disabled&&(!A.parentNode.disabled||!De(A.parentNode,"optgroup"))){if(m=v(A).val(),j)return m;oe.push(m)}return oe},set:function(d,m){for(var A,k,D=d.options,$=v.makeArray(m),j=D.length;j--;)k=D[j],(k.selected=v.inArray(v.valHooks.option.get(k),$)>-1)&&(A=!0);return A||(d.selectedIndex=-1),$}}}}),v.each(["radio","checkbox"],function(){v.valHooks[this]={set:function(d,m){if(Array.isArray(m))return d.checked=v.inArray(v(d).val(),m)>-1}},C.checkOn||(v.valHooks[this].get=function(d){return d.getAttribute("value")===null?"on":d.value})}),C.focusin="onfocusin"in t;var zf=/^(?:focusinfocus|focusoutblur)$/,Eu=function(d){d.stopPropagation()};v.extend(v.event,{trigger:function(d,m,A,k){var D,$,j,oe,fe,we,Be,ot,Oe=[A||S],Ge=_.call(d,"type")?d.type:d,or=_.call(d,"namespace")?d.namespace.split("."):[];if($=ot=j=A=A||S,!(A.nodeType===3||A.nodeType===8)&&!zf.test(Ge+v.event.triggered)&&(Ge.indexOf(".")>-1&&(or=Ge.split("."),Ge=or.shift(),or.sort()),fe=Ge.indexOf(":")<0&&"on"+Ge,d=d[v.expando]?d:new v.Event(Ge,typeof d=="object"&&d),d.isTrigger=k?2:3,d.namespace=or.join("."),d.rnamespace=d.namespace?new RegExp("(^|\\.)"+or.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,d.result=void 0,d.target||(d.target=A),m=m==null?[d]:v.makeArray(m,[d]),Be=v.event.special[Ge]||{},!(!k&&Be.trigger&&Be.trigger.apply(A,m)===!1))){if(!k&&!Be.noBubble&&!E(A)){for(oe=Be.delegateType||Ge,zf.test(oe+Ge)||($=$.parentNode);$;$=$.parentNode)Oe.push($),j=$;j===(A.ownerDocument||S)&&Oe.push(j.defaultView||j.parentWindow||t)}for(D=0;($=Oe[D++])&&!d.isPropagationStopped();)ot=$,d.type=D>1?oe:Be.bindType||Ge,we=(Te.get($,"events")||Object.create(null))[d.type]&&Te.get($,"handle"),we&&we.apply($,m),we=fe&&$[fe],we&&we.apply&&he($)&&(d.result=we.apply($,m),d.result===!1&&d.preventDefault());return d.type=Ge,!k&&!d.isDefaultPrevented()&&(!Be._default||Be._default.apply(Oe.pop(),m)===!1)&&he(A)&&fe&&R(A[Ge])&&!E(A)&&(j=A[fe],j&&(A[fe]=null),v.event.triggered=Ge,d.isPropagationStopped()&&ot.addEventListener(Ge,Eu),A[Ge](),d.isPropagationStopped()&&ot.removeEventListener(Ge,Eu),v.event.triggered=void 0,j&&(A[fe]=j)),d.result}},simulate:function(d,m,A){var k=v.extend(new v.Event,A,{type:d,isSimulated:!0});v.event.trigger(k,null,m)}}),v.fn.extend({trigger:function(d,m){return this.each(function(){v.event.trigger(d,m,this)})},triggerHandler:function(d,m){var A=this[0];if(A)return v.event.trigger(d,m,A,!0)}}),C.focusin||v.each({focus:"focusin",blur:"focusout"},function(d,m){var A=function(k){v.event.simulate(m,k.target,v.event.fix(k))};v.event.special[m]={setup:function(){var k=this.ownerDocument||this.document||this,D=Te.access(k,m);D||k.addEventListener(d,A,!0),Te.access(k,m,(D||0)+1)},teardown:function(){var k=this.ownerDocument||this.document||this,D=Te.access(k,m)-1;D?Te.access(k,m,D):(k.removeEventListener(d,A,!0),Te.remove(k,m))}}});var Sa=t.location,Di={guid:Date.now()},Bo=/\?/;v.parseXML=function(d){var m,A;if(!d||typeof d!="string")return null;try{m=new t.DOMParser().parseFromString(d,"text/xml")}catch{}return A=m&&m.getElementsByTagName("parsererror")[0],(!m||A)&&v.error("Invalid XML: "+(A?v.map(A.childNodes,function(k){return k.textContent}).join(`
|
|
380
|
-
`):d)),m};var Xi=/\[\]$/,go=/\r?\n/g,jo=/^(?:submit|button|image|reset|file)$/i,Ua=/^(?:input|select|textarea|keygen)/i;function Uo(d,m,A,k){var D;if(Array.isArray(m))v.each(m,function($,j){A||Xi.test(d)?k(d,j):Uo(d+"["+(typeof j=="object"&&j!=null?$:"")+"]",j,A,k)});else if(!A&&M(m)==="object")for(D in m)Uo(d+"["+D+"]",m[D],A,k);else k(d,m)}v.param=function(d,m){var A,k=[],D=function($,j){var oe=R(j)?j():j;k[k.length]=encodeURIComponent($)+"="+encodeURIComponent(oe==null?"":oe)};if(d==null)return"";if(Array.isArray(d)||d.jquery&&!v.isPlainObject(d))v.each(d,function(){D(this.name,this.value)});else for(A in d)Uo(A,d[A],m,D);return k.join("&")},v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var d=v.prop(this,"elements");return d?v.makeArray(d):this}).filter(function(){var d=this.type;return this.name&&!v(this).is(":disabled")&&Ua.test(this.nodeName)&&!jo.test(d)&&(this.checked||!ma.test(d))}).map(function(d,m){var A=v(this).val();return A==null?null:Array.isArray(A)?v.map(A,function(k){return{name:m.name,value:k.replace(go,`\r
|
|
381
|
-
`)}}):{name:m.name,value:A.replace(go,`\r
|
|
382
|
-
`)}}).get()}});var Ea=/%20/g,Aa=/#.*$/,Au=/([?&])_=[^&]*/,Bf=/^(.*?):[ \t]*([^\r\n]*)$/mg,Ho=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,sl=/^(?:GET|HEAD)$/,xs=/^\/\//,ws={},Ha={},Wa="*/".concat("*"),aa=S.createElement("a");aa.href=Sa.href;function Wo(d){return function(m,A){typeof m!="string"&&(A=m,m="*");var k,D=0,$=m.toLowerCase().match(Le)||[];if(R(A))for(;k=$[D++];)k[0]==="+"?(k=k.slice(1)||"*",(d[k]=d[k]||[]).unshift(A)):(d[k]=d[k]||[]).push(A)}}function Go(d,m,A,k){var D={},$=d===Ha;function j(oe){var fe;return D[oe]=!0,v.each(d[oe]||[],function(we,Be){var ot=Be(m,A,k);if(typeof ot=="string"&&!$&&!D[ot])return m.dataTypes.unshift(ot),j(ot),!1;if($)return!(fe=ot)}),fe}return j(m.dataTypes[0])||!D["*"]&&j("*")}function Ta(d,m){var A,k,D=v.ajaxSettings.flatOptions||{};for(A in m)m[A]!==void 0&&((D[A]?d:k||(k={}))[A]=m[A]);return k&&v.extend(!0,d,k),d}function mo(d,m,A){for(var k,D,$,j,oe=d.contents,fe=d.dataTypes;fe[0]==="*";)fe.shift(),k===void 0&&(k=d.mimeType||m.getResponseHeader("Content-Type"));if(k){for(D in oe)if(oe[D]&&oe[D].test(k)){fe.unshift(D);break}}if(fe[0]in A)$=fe[0];else{for(D in A){if(!fe[0]||d.converters[D+" "+fe[0]]){$=D;break}j||(j=D)}$=$||j}if($)return $!==fe[0]&&fe.unshift($),A[$]}function _s(d,m,A,k){var D,$,j,oe,fe,we={},Be=d.dataTypes.slice();if(Be[1])for(j in d.converters)we[j.toLowerCase()]=d.converters[j];for($=Be.shift();$;)if(d.responseFields[$]&&(A[d.responseFields[$]]=m),!fe&&k&&d.dataFilter&&(m=d.dataFilter(m,d.dataType)),fe=$,$=Be.shift(),$){if($==="*")$=fe;else if(fe!=="*"&&fe!==$){if(j=we[fe+" "+$]||we["* "+$],!j){for(D in we)if(oe=D.split(" "),oe[1]===$&&(j=we[fe+" "+oe[0]]||we["* "+oe[0]],j)){j===!0?j=we[D]:we[D]!==!0&&($=oe[0],Be.unshift(oe[1]));break}}if(j!==!0)if(j&&d.throws)m=j(m);else try{m=j(m)}catch(ot){return{state:"parsererror",error:j?ot:"No conversion from "+fe+" to "+$}}}}return{state:"success",data:m}}v.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Sa.href,type:"GET",isLocal:Ho.test(Sa.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Wa,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":v.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(d,m){return m?Ta(Ta(d,v.ajaxSettings),m):Ta(v.ajaxSettings,d)},ajaxPrefilter:Wo(ws),ajaxTransport:Wo(Ha),ajax:function(d,m){typeof d=="object"&&(m=d,d=void 0),m=m||{};var A,k,D,$,j,oe,fe,we,Be,ot,Oe=v.ajaxSetup({},m),Ge=Oe.context||Oe,or=Oe.context&&(Ge.nodeType||Ge.jquery)?v(Ge):v.event,yr=v.Deferred(),nr=v.Callbacks("once memory"),pn=Oe.statusCode||{},fn={},fi={},zr="canceled",Sr={readyState:0,getResponseHeader:function(Br){var an;if(fe){if(!$)for($={};an=Bf.exec(D);)$[an[1].toLowerCase()+" "]=($[an[1].toLowerCase()+" "]||[]).concat(an[2]);an=$[Br.toLowerCase()+" "]}return an==null?null:an.join(", ")},getAllResponseHeaders:function(){return fe?D:null},setRequestHeader:function(Br,an){return fe==null&&(Br=fi[Br.toLowerCase()]=fi[Br.toLowerCase()]||Br,fn[Br]=an),this},overrideMimeType:function(Br){return fe==null&&(Oe.mimeType=Br),this},statusCode:function(Br){var an;if(Br)if(fe)Sr.always(Br[Sr.status]);else for(an in Br)pn[an]=[pn[an],Br[an]];return this},abort:function(Br){var an=Br||zr;return A&&A.abort(an),Ln(0,an),this}};if(yr.promise(Sr),Oe.url=((d||Oe.url||Sa.href)+"").replace(xs,Sa.protocol+"//"),Oe.type=m.method||m.type||Oe.method||Oe.type,Oe.dataTypes=(Oe.dataType||"*").toLowerCase().match(Le)||[""],Oe.crossDomain==null){oe=S.createElement("a");try{oe.href=Oe.url,oe.href=oe.href,Oe.crossDomain=aa.protocol+"//"+aa.host!=oe.protocol+"//"+oe.host}catch{Oe.crossDomain=!0}}if(Oe.data&&Oe.processData&&typeof Oe.data!="string"&&(Oe.data=v.param(Oe.data,Oe.traditional)),Go(ws,Oe,m,Sr),fe)return Sr;we=v.event&&Oe.global,we&&v.active++===0&&v.event.trigger("ajaxStart"),Oe.type=Oe.type.toUpperCase(),Oe.hasContent=!sl.test(Oe.type),k=Oe.url.replace(Aa,""),Oe.hasContent?Oe.data&&Oe.processData&&(Oe.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(Oe.data=Oe.data.replace(Ea,"+")):(ot=Oe.url.slice(k.length),Oe.data&&(Oe.processData||typeof Oe.data=="string")&&(k+=(Bo.test(k)?"&":"?")+Oe.data,delete Oe.data),Oe.cache===!1&&(k=k.replace(Au,"$1"),ot=(Bo.test(k)?"&":"?")+"_="+Di.guid+++ot),Oe.url=k+ot),Oe.ifModified&&(v.lastModified[k]&&Sr.setRequestHeader("If-Modified-Since",v.lastModified[k]),v.etag[k]&&Sr.setRequestHeader("If-None-Match",v.etag[k])),(Oe.data&&Oe.hasContent&&Oe.contentType!==!1||m.contentType)&&Sr.setRequestHeader("Content-Type",Oe.contentType),Sr.setRequestHeader("Accept",Oe.dataTypes[0]&&Oe.accepts[Oe.dataTypes[0]]?Oe.accepts[Oe.dataTypes[0]]+(Oe.dataTypes[0]!=="*"?", "+Wa+"; q=0.01":""):Oe.accepts["*"]);for(Be in Oe.headers)Sr.setRequestHeader(Be,Oe.headers[Be]);if(Oe.beforeSend&&(Oe.beforeSend.call(Ge,Sr,Oe)===!1||fe))return Sr.abort();if(zr="abort",nr.add(Oe.complete),Sr.done(Oe.success),Sr.fail(Oe.error),A=Go(Ha,Oe,m,Sr),!A)Ln(-1,"No Transport");else{if(Sr.readyState=1,we&&or.trigger("ajaxSend",[Sr,Oe]),fe)return Sr;Oe.async&&Oe.timeout>0&&(j=t.setTimeout(function(){Sr.abort("timeout")},Oe.timeout));try{fe=!1,A.send(fn,Ln)}catch(Br){if(fe)throw Br;Ln(-1,Br)}}function Ln(Br,an,Oa,hl){var Xn,Ga,Qn,Un,ci,di=an;fe||(fe=!0,j&&t.clearTimeout(j),A=void 0,D=hl||"",Sr.readyState=Br>0?4:0,Xn=Br>=200&&Br<300||Br===304,Oa&&(Un=mo(Oe,Sr,Oa)),!Xn&&v.inArray("script",Oe.dataTypes)>-1&&v.inArray("json",Oe.dataTypes)<0&&(Oe.converters["text script"]=function(){}),Un=_s(Oe,Un,Sr,Xn),Xn?(Oe.ifModified&&(ci=Sr.getResponseHeader("Last-Modified"),ci&&(v.lastModified[k]=ci),ci=Sr.getResponseHeader("etag"),ci&&(v.etag[k]=ci)),Br===204||Oe.type==="HEAD"?di="nocontent":Br===304?di="notmodified":(di=Un.state,Ga=Un.data,Qn=Un.error,Xn=!Qn)):(Qn=di,(Br||!di)&&(di="error",Br<0&&(Br=0))),Sr.status=Br,Sr.statusText=(an||di)+"",Xn?yr.resolveWith(Ge,[Ga,di,Sr]):yr.rejectWith(Ge,[Sr,di,Qn]),Sr.statusCode(pn),pn=void 0,we&&or.trigger(Xn?"ajaxSuccess":"ajaxError",[Sr,Oe,Xn?Ga:Qn]),nr.fireWith(Ge,[Sr,di]),we&&(or.trigger("ajaxComplete",[Sr,Oe]),--v.active||v.event.trigger("ajaxStop")))}return Sr},getJSON:function(d,m,A){return v.get(d,m,A,"json")},getScript:function(d,m){return v.get(d,void 0,m,"script")}}),v.each(["get","post"],function(d,m){v[m]=function(A,k,D,$){return R(k)&&($=$||D,D=k,k=void 0),v.ajax(v.extend({url:A,type:m,dataType:$,data:k,success:D},v.isPlainObject(A)&&A))}}),v.ajaxPrefilter(function(d){var m;for(m in d.headers)m.toLowerCase()==="content-type"&&(d.contentType=d.headers[m]||"")}),v._evalUrl=function(d,m,A){return v.ajax({url:d,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(k){v.globalEval(k,m,A)}})},v.fn.extend({wrapAll:function(d){var m;return this[0]&&(R(d)&&(d=d.call(this[0])),m=v(d,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&m.insertBefore(this[0]),m.map(function(){for(var A=this;A.firstElementChild;)A=A.firstElementChild;return A}).append(this)),this},wrapInner:function(d){return R(d)?this.each(function(m){v(this).wrapInner(d.call(this,m))}):this.each(function(){var m=v(this),A=m.contents();A.length?A.wrapAll(d):m.append(d)})},wrap:function(d){var m=R(d);return this.each(function(A){v(this).wrapAll(m?d.call(this,A):d)})},unwrap:function(d){return this.parent(d).not("body").each(function(){v(this).replaceWith(this.childNodes)}),this}}),v.expr.pseudos.hidden=function(d){return!v.expr.pseudos.visible(d)},v.expr.pseudos.visible=function(d){return!!(d.offsetWidth||d.offsetHeight||d.getClientRects().length)},v.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var fl={0:200,1223:204},Ca=v.ajaxSettings.xhr();C.cors=!!Ca&&"withCredentials"in Ca,C.ajax=Ca=!!Ca,v.ajaxTransport(function(d){var m,A;if(C.cors||Ca&&!d.crossDomain)return{send:function(k,D){var $,j=d.xhr();if(j.open(d.type,d.url,d.async,d.username,d.password),d.xhrFields)for($ in d.xhrFields)j[$]=d.xhrFields[$];d.mimeType&&j.overrideMimeType&&j.overrideMimeType(d.mimeType),!d.crossDomain&&!k["X-Requested-With"]&&(k["X-Requested-With"]="XMLHttpRequest");for($ in k)j.setRequestHeader($,k[$]);m=function(oe){return function(){m&&(m=A=j.onload=j.onerror=j.onabort=j.ontimeout=j.onreadystatechange=null,oe==="abort"?j.abort():oe==="error"?typeof j.status!="number"?D(0,"error"):D(j.status,j.statusText):D(fl[j.status]||j.status,j.statusText,(j.responseType||"text")!=="text"||typeof j.responseText!="string"?{binary:j.response}:{text:j.responseText},j.getAllResponseHeaders()))}},j.onload=m(),A=j.onerror=j.ontimeout=m("error"),j.onabort!==void 0?j.onabort=A:j.onreadystatechange=function(){j.readyState===4&&t.setTimeout(function(){m&&A()})},m=m("abort");try{j.send(d.hasContent&&d.data||null)}catch(oe){if(m)throw oe}},abort:function(){m&&m()}}}),v.ajaxPrefilter(function(d){d.crossDomain&&(d.contents.script=!1)}),v.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(d){return v.globalEval(d),d}}}),v.ajaxPrefilter("script",function(d){d.cache===void 0&&(d.cache=!1),d.crossDomain&&(d.type="GET")}),v.ajaxTransport("script",function(d){if(d.crossDomain||d.scriptAttrs){var m,A;return{send:function(k,D){m=v("<script>").attr(d.scriptAttrs||{}).prop({charset:d.scriptCharset,src:d.url}).on("load error",A=function($){m.remove(),A=null,$&&D($.type==="error"?404:200,$.type)}),S.head.appendChild(m[0])},abort:function(){A&&A()}}}});var cl=[],dl=/(=)\?(?=&|$)|\?\?/;v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var d=cl.pop()||v.expando+"_"+Di.guid++;return this[d]=!0,d}}),v.ajaxPrefilter("json jsonp",function(d,m,A){var k,D,$,j=d.jsonp!==!1&&(dl.test(d.url)?"url":typeof d.data=="string"&&(d.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&dl.test(d.data)&&"data");if(j||d.dataTypes[0]==="jsonp")return k=d.jsonpCallback=R(d.jsonpCallback)?d.jsonpCallback():d.jsonpCallback,j?d[j]=d[j].replace(dl,"$1"+k):d.jsonp!==!1&&(d.url+=(Bo.test(d.url)?"&":"?")+d.jsonp+"="+k),d.converters["script json"]=function(){return $||v.error(k+" was not called"),$[0]},d.dataTypes[0]="json",D=t[k],t[k]=function(){$=arguments},A.always(function(){D===void 0?v(t).removeProp(k):t[k]=D,d[k]&&(d.jsonpCallback=m.jsonpCallback,cl.push(k)),$&&R(D)&&D($[0]),$=D=void 0}),"script"}),C.createHTMLDocument=function(){var d=S.implementation.createHTMLDocument("").body;return d.innerHTML="<form></form><form></form>",d.childNodes.length===2}(),v.parseHTML=function(d,m,A){if(typeof d!="string")return[];typeof m=="boolean"&&(A=m,m=!1);var k,D,$;return m||(C.createHTMLDocument?(m=S.implementation.createHTMLDocument(""),k=m.createElement("base"),k.href=S.location.href,m.head.appendChild(k)):m=S),D=Ye.exec(d),$=!A&&[],D?[m.createElement(D[1])]:(D=yu([d],m,$),$&&$.length&&v($).remove(),v.merge([],D.childNodes))},v.fn.load=function(d,m,A){var k,D,$,j=this,oe=d.indexOf(" ");return oe>-1&&(k=Rr(d.slice(oe)),d=d.slice(0,oe)),R(m)?(A=m,m=void 0):m&&typeof m=="object"&&(D="POST"),j.length>0&&v.ajax({url:d,type:D||"GET",dataType:"html",data:m}).done(function(fe){$=arguments,j.html(k?v("<div>").append(v.parseHTML(fe)).find(k):fe)}).always(A&&function(fe,we){j.each(function(){A.apply(this,$||[fe.responseText,we,fe])})}),this},v.expr.pseudos.animated=function(d){return v.grep(v.timers,function(m){return d===m.elem}).length},v.offset={setOffset:function(d,m,A){var k,D,$,j,oe,fe,we,Be=v.css(d,"position"),ot=v(d),Oe={};Be==="static"&&(d.style.position="relative"),oe=ot.offset(),$=v.css(d,"top"),fe=v.css(d,"left"),we=(Be==="absolute"||Be==="fixed")&&($+fe).indexOf("auto")>-1,we?(k=ot.position(),j=k.top,D=k.left):(j=parseFloat($)||0,D=parseFloat(fe)||0),R(m)&&(m=m.call(d,A,v.extend({},oe))),m.top!=null&&(Oe.top=m.top-oe.top+j),m.left!=null&&(Oe.left=m.left-oe.left+D),"using"in m?m.using.call(d,Oe):ot.css(Oe)}},v.fn.extend({offset:function(d){if(arguments.length)return d===void 0?this:this.each(function(D){v.offset.setOffset(this,d,D)});var m,A,k=this[0];if(!!k)return k.getClientRects().length?(m=k.getBoundingClientRect(),A=k.ownerDocument.defaultView,{top:m.top+A.pageYOffset,left:m.left+A.pageXOffset}):{top:0,left:0}},position:function(){if(!!this[0]){var d,m,A,k=this[0],D={top:0,left:0};if(v.css(k,"position")==="fixed")m=k.getBoundingClientRect();else{for(m=this.offset(),A=k.ownerDocument,d=k.offsetParent||A.documentElement;d&&(d===A.body||d===A.documentElement)&&v.css(d,"position")==="static";)d=d.parentNode;d&&d!==k&&d.nodeType===1&&(D=v(d).offset(),D.top+=v.css(d,"borderTopWidth",!0),D.left+=v.css(d,"borderLeftWidth",!0))}return{top:m.top-D.top-v.css(k,"marginTop",!0),left:m.left-D.left-v.css(k,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var d=this.offsetParent;d&&v.css(d,"position")==="static";)d=d.offsetParent;return d||$a})}}),v.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(d,m){var A=m==="pageYOffset";v.fn[d]=function(k){return at(this,function(D,$,j){var oe;if(E(D)?oe=D:D.nodeType===9&&(oe=D.defaultView),j===void 0)return oe?oe[m]:D[$];oe?oe.scrollTo(A?oe.pageXOffset:j,A?j:oe.pageYOffset):D[$]=j},d,k,arguments.length)}}),v.each(["top","left"],function(d,m){v.cssHooks[m]=xa(C.pixelPosition,function(A,k){if(k)return k=so(A,m),bu.test(k)?v(A).position()[m]+"px":k})}),v.each({Height:"height",Width:"width"},function(d,m){v.each({padding:"inner"+d,content:m,"":"outer"+d},function(A,k){v.fn[k]=function(D,$){var j=arguments.length&&(A||typeof D!="boolean"),oe=A||(D===!0||$===!0?"margin":"border");return at(this,function(fe,we,Be){var ot;return E(fe)?k.indexOf("outer")===0?fe["inner"+d]:fe.document.documentElement["client"+d]:fe.nodeType===9?(ot=fe.documentElement,Math.max(fe.body["scroll"+d],ot["scroll"+d],fe.body["offset"+d],ot["offset"+d],ot["client"+d])):Be===void 0?v.css(fe,we,oe):v.style(fe,we,Be,oe)},m,j?D:void 0,j)}})}),v.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(d,m){v.fn[m]=function(A){return this.on(m,A)}}),v.fn.extend({bind:function(d,m,A){return this.on(d,null,m,A)},unbind:function(d,m){return this.off(d,null,m)},delegate:function(d,m,A,k){return this.on(m,d,A,k)},undelegate:function(d,m,A){return arguments.length===1?this.off(d,"**"):this.off(m,d||"**",A)},hover:function(d,m){return this.mouseenter(d).mouseleave(m||d)}}),v.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(d,m){v.fn[m]=function(A,k){return arguments.length>0?this.on(m,null,A,k):this.trigger(m)}});var Ss=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;v.proxy=function(d,m){var A,k,D;if(typeof m=="string"&&(A=d[m],m=d,d=A),!!R(d))return k=a.call(arguments,2),D=function(){return d.apply(m||this,k.concat(a.call(arguments)))},D.guid=d.guid=d.guid||v.guid++,D},v.holdReady=function(d){d?v.readyWait++:v.ready(!0)},v.isArray=Array.isArray,v.parseJSON=JSON.parse,v.nodeName=De,v.isFunction=R,v.isWindow=E,v.camelCase=Y,v.type=M,v.now=Date.now,v.isNumeric=function(d){var m=v.type(d);return(m==="number"||m==="string")&&!isNaN(d-parseFloat(d))},v.trim=function(d){return d==null?"":(d+"").replace(Ss,"")};var jf=t.jQuery,Es=t.$;return v.noConflict=function(d){return t.$===v&&(t.$=Es),d&&t.jQuery===v&&(t.jQuery=jf),v},typeof r>"u"&&(t.jQuery=t.$=v),v})})(aI);const Ete=aI.exports;var oI={exports:{}};/*!
|
|
383
|
-
Copyright (c) 2018 Jed Watson.
|
|
384
|
-
Licensed under the MIT License (MIT), see
|
|
385
|
-
http://jedwatson.github.io/classnames
|
|
386
|
-
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var n=[],i=0;i<arguments.length;i++){var a=arguments[i];if(!!a){var o=typeof a;if(o==="string"||o==="number")n.push(a);else if(Array.isArray(a)){if(a.length){var l=r.apply(null,a);l&&n.push(l)}}else if(o==="object")if(a.toString===Object.prototype.toString)for(var f in a)t.call(a,f)&&a[f]&&n.push(f);else n.push(a.toString())}}return n.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(oI);const Ate=oI.exports;function fu(){return fu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fu.apply(this,arguments)}function ld(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Lw(e,t){return Lw=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Lw(e,t)}function Zp(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Lw(e,t)}function JY(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function eX(e,t){e.classList?e.classList.add(t):JY(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function fO(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function tX(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=fO(e.className,t):e.setAttribute("class",fO(e.className&&e.className.baseVal||"",t))}const cO={disabled:!1},uI=Ii.createContext(null);var lI=function(t){return t.scrollTop},jh="unmounted",Ws="exited",Gs="entering",Sc="entered",Dw="exiting",rl=function(e){Zp(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var o=i,l=o&&!o.isMounting?n.enter:n.appear,f;return a.appearStatus=null,n.in?l?(f=Ws,a.appearStatus=Gs):f=Sc:n.unmountOnExit||n.mountOnEnter?f=jh:f=Ws,a.state={status:f},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var o=i.in;return o&&a.status===jh?{status:Ws}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(i){var a=null;if(i!==this.props){var o=this.state.status;this.props.in?o!==Gs&&o!==Sc&&(a=Gs):(o===Gs||o===Sc)&&(a=Dw)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,a,o,l;return a=o=l=i,i!=null&&typeof i!="number"&&(a=i.exit,o=i.enter,l=i.appear!==void 0?i.appear:o),{exit:a,enter:o,appear:l}},r.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===Gs){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:$h.findDOMNode(this);o&&lI(o)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ws&&this.setState({status:jh})},r.performEnter=function(i){var a=this,o=this.props.enter,l=this.context?this.context.isMounting:i,f=this.props.nodeRef?[l]:[$h.findDOMNode(this),l],c=f[0],p=f[1],_=this.getTimeouts(),x=l?_.appear:_.enter;if(!i&&!o||cO.disabled){this.safeSetState({status:Sc},function(){a.props.onEntered(c)});return}this.props.onEnter(c,p),this.safeSetState({status:Gs},function(){a.props.onEntering(c,p),a.onTransitionEnd(x,function(){a.safeSetState({status:Sc},function(){a.props.onEntered(c,p)})})})},r.performExit=function(){var i=this,a=this.props.exit,o=this.getTimeouts(),l=this.props.nodeRef?void 0:$h.findDOMNode(this);if(!a||cO.disabled){this.safeSetState({status:Ws},function(){i.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:Dw},function(){i.props.onExiting(l),i.onTransitionEnd(o.exit,function(){i.safeSetState({status:Ws},function(){i.props.onExited(l)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(i,a){a=this.setNextCallback(a),this.setState(i,a)},r.setNextCallback=function(i){var a=this,o=!0;return this.nextCallback=function(l){o&&(o=!1,a.nextCallback=null,i(l))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},r.onTransitionEnd=function(i,a){this.setNextCallback(a);var o=this.props.nodeRef?this.props.nodeRef.current:$h.findDOMNode(this),l=i==null&&!this.props.addEndListener;if(!o||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var f=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],c=f[0],p=f[1];this.props.addEndListener(c,p)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===jh)return null;var a=this.props,o=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var l=ld(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return su(uI.Provider,{value:null,children:typeof o=="function"?o(i,l):Ii.cloneElement(Ii.Children.only(o),l)})},t}(Ii.Component);rl.contextType=uI;rl.propTypes={};function gc(){}rl.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:gc,onEntering:gc,onEntered:gc,onExit:gc,onExiting:gc,onExited:gc};rl.UNMOUNTED=jh;rl.EXITED=Ws;rl.ENTERING=Gs;rl.ENTERED=Sc;rl.EXITING=Dw;const rX=rl;var nX=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return eX(t,n)})},rx=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return tX(t,n)})},X2=function(e){Zp(t,e);function t(){for(var n,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return n=e.call.apply(e,[this].concat(a))||this,n.appliedClasses={appear:{},enter:{},exit:{}},n.onEnter=function(l,f){var c=n.resolveArguments(l,f),p=c[0],_=c[1];n.removeClasses(p,"exit"),n.addClass(p,_?"appear":"enter","base"),n.props.onEnter&&n.props.onEnter(l,f)},n.onEntering=function(l,f){var c=n.resolveArguments(l,f),p=c[0],_=c[1],x=_?"appear":"enter";n.addClass(p,x,"active"),n.props.onEntering&&n.props.onEntering(l,f)},n.onEntered=function(l,f){var c=n.resolveArguments(l,f),p=c[0],_=c[1],x=_?"appear":"enter";n.removeClasses(p,x),n.addClass(p,x,"done"),n.props.onEntered&&n.props.onEntered(l,f)},n.onExit=function(l){var f=n.resolveArguments(l),c=f[0];n.removeClasses(c,"appear"),n.removeClasses(c,"enter"),n.addClass(c,"exit","base"),n.props.onExit&&n.props.onExit(l)},n.onExiting=function(l){var f=n.resolveArguments(l),c=f[0];n.addClass(c,"exit","active"),n.props.onExiting&&n.props.onExiting(l)},n.onExited=function(l){var f=n.resolveArguments(l),c=f[0];n.removeClasses(c,"exit"),n.addClass(c,"exit","done"),n.props.onExited&&n.props.onExited(l)},n.resolveArguments=function(l,f){return n.props.nodeRef?[n.props.nodeRef.current,l]:[l,f]},n.getClassNames=function(l){var f=n.props.classNames,c=typeof f=="string",p=c&&f?f+"-":"",_=c?""+p+l:f[l],x=c?_+"-active":f[l+"Active"],b=c?_+"-done":f[l+"Done"];return{baseClassName:_,activeClassName:x,doneClassName:b}},n}var r=t.prototype;return r.addClass=function(i,a,o){var l=this.getClassNames(a)[o+"ClassName"],f=this.getClassNames("enter"),c=f.doneClassName;a==="appear"&&o==="done"&&c&&(l+=" "+c),o==="active"&&i&&lI(i),l&&(this.appliedClasses[a][o]=l,nX(i,l))},r.removeClasses=function(i,a){var o=this.appliedClasses[a],l=o.base,f=o.active,c=o.done;this.appliedClasses[a]={},l&&rx(i,l),f&&rx(i,f),c&&rx(i,c)},r.render=function(){var i=this.props;i.classNames;var a=ld(i,["classNames"]);return su(rX,{...a,onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited})},t}(Ii.Component);X2.defaultProps={classNames:""};X2.propTypes={};const Tte=X2;function hg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}/**!
|
|
387
|
-
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
|
388
|
-
* @version 1.16.1
|
|
389
|
-
* @license
|
|
390
|
-
* Copyright (c) 2016 Federico Zivolo and contributors
|
|
391
|
-
*
|
|
392
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
393
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
394
|
-
* in the Software without restriction, including without limitation the rights
|
|
395
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
396
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
397
|
-
* furnished to do so, subject to the following conditions:
|
|
398
|
-
*
|
|
399
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
400
|
-
* copies or substantial portions of the Software.
|
|
401
|
-
*
|
|
402
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
403
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
404
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
405
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
406
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
407
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
408
|
-
* SOFTWARE.
|
|
409
|
-
*/var Kp=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",iX=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(Kp&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();function aX(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function oX(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},iX))}}var uX=Kp&&window.Promise,lX=uX?aX:oX;function sI(e){var t={};return e&&t.toString.call(e)==="[object Function]"}function Mf(e,t){if(e.nodeType!==1)return[];var r=e.ownerDocument.defaultView,n=r.getComputedStyle(e,null);return t?n[t]:n}function Q2(e){return e.nodeName==="HTML"?e:e.parentNode||e.host}function Jp(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=Mf(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(r+i+n)?e:Jp(Q2(e))}function fI(e){return e&&e.referenceNode?e.referenceNode:e}var dO=Kp&&!!(window.MSInputMethodContext&&document.documentMode),hO=Kp&&/MSIE 10/.test(navigator.userAgent);function Sd(e){return e===11?dO:e===10?hO:dO||hO}function sd(e){if(!e)return document.documentElement;for(var t=Sd(10)?document.body:null,r=e.offsetParent||null;r===t&&e.nextElementSibling;)r=(e=e.nextElementSibling).offsetParent;var n=r&&r.nodeName;return!n||n==="BODY"||n==="HTML"?e?e.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(r.nodeName)!==-1&&Mf(r,"position")==="static"?sd(r):r}function sX(e){var t=e.nodeName;return t==="BODY"?!1:t==="HTML"||sd(e.firstElementChild)===e}function $w(e){return e.parentNode!==null?$w(e.parentNode):e}function $0(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var r=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?e:t,i=r?t:e,a=document.createRange();a.setStart(n,0),a.setEnd(i,0);var o=a.commonAncestorContainer;if(e!==o&&t!==o||n.contains(i))return sX(o)?o:sd(o);var l=$w(e);return l.host?$0(l.host,t):$0(e,$w(t).host)}function fd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",r=t==="top"?"scrollTop":"scrollLeft",n=e.nodeName;if(n==="BODY"||n==="HTML"){var i=e.ownerDocument.documentElement,a=e.ownerDocument.scrollingElement||i;return a[r]}return e[r]}function fX(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=fd(t,"top"),i=fd(t,"left"),a=r?-1:1;return e.top+=n*a,e.bottom+=n*a,e.left+=i*a,e.right+=i*a,e}function pO(e,t){var r=t==="x"?"Left":"Top",n=r==="Left"?"Right":"Bottom";return parseFloat(e["border"+r+"Width"])+parseFloat(e["border"+n+"Width"])}function vO(e,t,r,n){return Math.max(t["offset"+e],t["scroll"+e],r["client"+e],r["offset"+e],r["scroll"+e],Sd(10)?parseInt(r["offset"+e])+parseInt(n["margin"+(e==="Height"?"Top":"Left")])+parseInt(n["margin"+(e==="Height"?"Bottom":"Right")]):0)}function cI(e){var t=e.body,r=e.documentElement,n=Sd(10)&&getComputedStyle(r);return{height:vO("Height",t,r,n),width:vO("Width",t,r,n)}}var cX=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},dX=function(){function e(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),cd=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},ro=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function us(e){return ro({},e,{right:e.left+e.width,bottom:e.top+e.height})}function zw(e){var t={};try{if(Sd(10)){t=e.getBoundingClientRect();var r=fd(e,"top"),n=fd(e,"left");t.top+=r,t.left+=n,t.bottom+=r,t.right+=n}else t=e.getBoundingClientRect()}catch{}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},a=e.nodeName==="HTML"?cI(e.ownerDocument):{},o=a.width||e.clientWidth||i.width,l=a.height||e.clientHeight||i.height,f=e.offsetWidth-o,c=e.offsetHeight-l;if(f||c){var p=Mf(e);f-=pO(p,"x"),c-=pO(p,"y"),i.width-=f,i.height-=c}return us(i)}function Z2(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=Sd(10),i=t.nodeName==="HTML",a=zw(e),o=zw(t),l=Jp(e),f=Mf(t),c=parseFloat(f.borderTopWidth),p=parseFloat(f.borderLeftWidth);r&&i&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0));var _=us({top:a.top-o.top-c,left:a.left-o.left-p,width:a.width,height:a.height});if(_.marginTop=0,_.marginLeft=0,!n&&i){var x=parseFloat(f.marginTop),b=parseFloat(f.marginLeft);_.top-=c-x,_.bottom-=c-x,_.left-=p-b,_.right-=p-b,_.marginTop=x,_.marginLeft=b}return(n&&!r?t.contains(l):t===l&&l.nodeName!=="BODY")&&(_=fX(_,t)),_}function hX(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=e.ownerDocument.documentElement,n=Z2(e,r),i=Math.max(r.clientWidth,window.innerWidth||0),a=Math.max(r.clientHeight,window.innerHeight||0),o=t?0:fd(r),l=t?0:fd(r,"left"),f={top:o-n.top+n.marginTop,left:l-n.left+n.marginLeft,width:i,height:a};return us(f)}function dI(e){var t=e.nodeName;if(t==="BODY"||t==="HTML")return!1;if(Mf(e,"position")==="fixed")return!0;var r=Q2(e);return r?dI(r):!1}function hI(e){if(!e||!e.parentElement||Sd())return document.documentElement;for(var t=e.parentElement;t&&Mf(t,"transform")==="none";)t=t.parentElement;return t||document.documentElement}function K2(e,t,r,n){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,a={top:0,left:0},o=i?hI(e):$0(e,fI(t));if(n==="viewport")a=hX(o,i);else{var l=void 0;n==="scrollParent"?(l=Jp(Q2(t)),l.nodeName==="BODY"&&(l=e.ownerDocument.documentElement)):n==="window"?l=e.ownerDocument.documentElement:l=n;var f=Z2(l,o,i);if(l.nodeName==="HTML"&&!dI(o)){var c=cI(e.ownerDocument),p=c.height,_=c.width;a.top+=f.top-f.marginTop,a.bottom=p+f.top,a.left+=f.left-f.marginLeft,a.right=_+f.left}else a=f}r=r||0;var x=typeof r=="number";return a.left+=x?r:r.left||0,a.top+=x?r:r.top||0,a.right-=x?r:r.right||0,a.bottom-=x?r:r.bottom||0,a}function pX(e){var t=e.width,r=e.height;return t*r}function pI(e,t,r,n,i){var a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;if(e.indexOf("auto")===-1)return e;var o=K2(r,n,a,i),l={top:{width:o.width,height:t.top-o.top},right:{width:o.right-t.right,height:o.height},bottom:{width:o.width,height:o.bottom-t.bottom},left:{width:t.left-o.left,height:o.height}},f=Object.keys(l).map(function(x){return ro({key:x},l[x],{area:pX(l[x])})}).sort(function(x,b){return b.area-x.area}),c=f.filter(function(x){var b=x.width,C=x.height;return b>=r.clientWidth&&C>=r.clientHeight}),p=c.length>0?c[0].key:f[0].key,_=e.split("-")[1];return p+(_?"-"+_:"")}function vI(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,i=n?hI(t):$0(t,fI(r));return Z2(r,i,n)}function gI(e){var t=e.ownerDocument.defaultView,r=t.getComputedStyle(e),n=parseFloat(r.marginTop||0)+parseFloat(r.marginBottom||0),i=parseFloat(r.marginLeft||0)+parseFloat(r.marginRight||0),a={width:e.offsetWidth+i,height:e.offsetHeight+n};return a}function z0(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(r){return t[r]})}function mI(e,t,r){r=r.split("-")[0];var n=gI(e),i={width:n.width,height:n.height},a=["right","left"].indexOf(r)!==-1,o=a?"top":"left",l=a?"left":"top",f=a?"height":"width",c=a?"width":"height";return i[o]=t[o]+t[f]/2-n[f]/2,r===l?i[l]=t[l]-n[c]:i[l]=t[z0(l)],i}function ev(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function vX(e,t,r){if(Array.prototype.findIndex)return e.findIndex(function(i){return i[t]===r});var n=ev(e,function(i){return i[t]===r});return e.indexOf(n)}function yI(e,t,r){var n=r===void 0?e:e.slice(0,vX(e,"name",r));return n.forEach(function(i){i.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var a=i.function||i.fn;i.enabled&&sI(a)&&(t.offsets.popper=us(t.offsets.popper),t.offsets.reference=us(t.offsets.reference),t=a(t,i))}),t}function gX(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=vI(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=pI(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=mI(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=yI(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function bI(e,t){return e.some(function(r){var n=r.name,i=r.enabled;return i&&n===t})}function J2(e){for(var t=[!1,"ms","Webkit","Moz","O"],r=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var i=t[n],a=i?""+i+r:e;if(typeof document.body.style[a]<"u")return a}return null}function mX(){return this.state.isDestroyed=!0,bI(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[J2("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function xI(e){var t=e.ownerDocument;return t?t.defaultView:window}function wI(e,t,r,n){var i=e.nodeName==="BODY",a=i?e.ownerDocument.defaultView:e;a.addEventListener(t,r,{passive:!0}),i||wI(Jp(a.parentNode),t,r,n),n.push(a)}function yX(e,t,r,n){r.updateBound=n,xI(e).addEventListener("resize",r.updateBound,{passive:!0});var i=Jp(e);return wI(i,"scroll",r.updateBound,r.scrollParents),r.scrollElement=i,r.eventsEnabled=!0,r}function bX(){this.state.eventsEnabled||(this.state=yX(this.reference,this.options,this.state,this.scheduleUpdate))}function xX(e,t){return xI(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(r){r.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function wX(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=xX(this.reference,this.state))}function eS(e){return e!==""&&!isNaN(parseFloat(e))&&isFinite(e)}function Bw(e,t){Object.keys(t).forEach(function(r){var n="";["width","height","top","right","bottom","left"].indexOf(r)!==-1&&eS(t[r])&&(n="px"),e.style[r]=t[r]+n})}function _X(e,t){Object.keys(t).forEach(function(r){var n=t[r];n!==!1?e.setAttribute(r,t[r]):e.removeAttribute(r)})}function SX(e){return Bw(e.instance.popper,e.styles),_X(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&Bw(e.arrowElement,e.arrowStyles),e}function EX(e,t,r,n,i){var a=vI(i,t,e,r.positionFixed),o=pI(r.placement,a,t,e,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return t.setAttribute("x-placement",o),Bw(t,{position:r.positionFixed?"fixed":"absolute"}),r}function AX(e,t){var r=e.offsets,n=r.popper,i=r.reference,a=Math.round,o=Math.floor,l=function(S){return S},f=a(i.width),c=a(n.width),p=["left","right"].indexOf(e.placement)!==-1,_=e.placement.indexOf("-")!==-1,x=f%2===c%2,b=f%2===1&&c%2===1,C=t?p||_||x?a:o:l,R=t?a:l;return{left:C(b&&!_&&t?n.left-1:n.left),top:R(n.top),bottom:R(n.bottom),right:C(n.right)}}var TX=Kp&&/Firefox/i.test(navigator.userAgent);function CX(e,t){var r=t.x,n=t.y,i=e.offsets.popper,a=ev(e.instance.modifiers,function(P){return P.name==="applyStyle"}).gpuAcceleration;a!==void 0&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var o=a!==void 0?a:t.gpuAcceleration,l=sd(e.instance.popper),f=zw(l),c={position:i.position},p=AX(e,window.devicePixelRatio<2||!TX),_=r==="bottom"?"top":"bottom",x=n==="right"?"left":"right",b=J2("transform"),C=void 0,R=void 0;if(_==="bottom"?l.nodeName==="HTML"?R=-l.clientHeight+p.bottom:R=-f.height+p.bottom:R=p.top,x==="right"?l.nodeName==="HTML"?C=-l.clientWidth+p.right:C=-f.width+p.right:C=p.left,o&&b)c[b]="translate3d("+C+"px, "+R+"px, 0)",c[_]=0,c[x]=0,c.willChange="transform";else{var E=_==="bottom"?-1:1,S=x==="right"?-1:1;c[_]=R*E,c[x]=C*S,c.willChange=_+", "+x}var T={"x-placement":e.placement};return e.attributes=ro({},T,e.attributes),e.styles=ro({},c,e.styles),e.arrowStyles=ro({},e.offsets.arrow,e.arrowStyles),e}function _I(e,t,r){var n=ev(e,function(l){var f=l.name;return f===t}),i=!!n&&e.some(function(l){return l.name===r&&l.enabled&&l.order<n.order});if(!i){var a="`"+t+"`",o="`"+r+"`";console.warn(o+" modifier is required by "+a+" modifier in order to work, be sure to include it before "+a+"!")}return i}function OX(e,t){var r;if(!_I(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if(typeof n=="string"){if(n=e.instance.popper.querySelector(n),!n)return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],a=e.offsets,o=a.popper,l=a.reference,f=["left","right"].indexOf(i)!==-1,c=f?"height":"width",p=f?"Top":"Left",_=p.toLowerCase(),x=f?"left":"top",b=f?"bottom":"right",C=gI(n)[c];l[b]-C<o[_]&&(e.offsets.popper[_]-=o[_]-(l[b]-C)),l[_]+C>o[b]&&(e.offsets.popper[_]+=l[_]+C-o[b]),e.offsets.popper=us(e.offsets.popper);var R=l[_]+l[c]/2-C/2,E=Mf(e.instance.popper),S=parseFloat(E["margin"+p]),T=parseFloat(E["border"+p+"Width"]),P=R-e.offsets.popper[_]-S-T;return P=Math.max(Math.min(o[c]-C,P),0),e.arrowElement=n,e.offsets.arrow=(r={},cd(r,_,Math.round(P)),cd(r,x,""),r),e}function kX(e){return e==="end"?"start":e==="start"?"end":e}var SI=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],nx=SI.slice(3);function gO(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=nx.indexOf(e),n=nx.slice(r+1).concat(nx.slice(0,r));return t?n.reverse():n}var ix={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function MX(e,t){if(bI(e.instance.modifiers,"inner")||e.flipped&&e.placement===e.originalPlacement)return e;var r=K2(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split("-")[0],i=z0(n),a=e.placement.split("-")[1]||"",o=[];switch(t.behavior){case ix.FLIP:o=[n,i];break;case ix.CLOCKWISE:o=gO(n);break;case ix.COUNTERCLOCKWISE:o=gO(n,!0);break;default:o=t.behavior}return o.forEach(function(l,f){if(n!==l||o.length===f+1)return e;n=e.placement.split("-")[0],i=z0(n);var c=e.offsets.popper,p=e.offsets.reference,_=Math.floor,x=n==="left"&&_(c.right)>_(p.left)||n==="right"&&_(c.left)<_(p.right)||n==="top"&&_(c.bottom)>_(p.top)||n==="bottom"&&_(c.top)<_(p.bottom),b=_(c.left)<_(r.left),C=_(c.right)>_(r.right),R=_(c.top)<_(r.top),E=_(c.bottom)>_(r.bottom),S=n==="left"&&b||n==="right"&&C||n==="top"&&R||n==="bottom"&&E,T=["top","bottom"].indexOf(n)!==-1,P=!!t.flipVariations&&(T&&a==="start"&&b||T&&a==="end"&&C||!T&&a==="start"&&R||!T&&a==="end"&&E),M=!!t.flipVariationsByContent&&(T&&a==="start"&&C||T&&a==="end"&&b||!T&&a==="start"&&E||!T&&a==="end"&&R),L=P||M;(x||S||L)&&(e.flipped=!0,(x||S)&&(n=o[f+1]),L&&(a=kX(a)),e.placement=n+(a?"-"+a:""),e.offsets.popper=ro({},e.offsets.popper,mI(e.instance.popper,e.offsets.reference,e.placement)),e=yI(e.instance.modifiers,e,"flip"))}),e}function PX(e){var t=e.offsets,r=t.popper,n=t.reference,i=e.placement.split("-")[0],a=Math.floor,o=["top","bottom"].indexOf(i)!==-1,l=o?"right":"bottom",f=o?"left":"top",c=o?"width":"height";return r[l]<a(n[f])&&(e.offsets.popper[f]=a(n[f])-r[c]),r[f]>a(n[l])&&(e.offsets.popper[f]=a(n[l])),e}function NX(e,t,r,n){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),a=+i[1],o=i[2];if(!a)return e;if(o.indexOf("%")===0){var l=void 0;switch(o){case"%p":l=r;break;case"%":case"%r":default:l=n}var f=us(l);return f[t]/100*a}else if(o==="vh"||o==="vw"){var c=void 0;return o==="vh"?c=Math.max(document.documentElement.clientHeight,window.innerHeight||0):c=Math.max(document.documentElement.clientWidth,window.innerWidth||0),c/100*a}else return a}function RX(e,t,r,n){var i=[0,0],a=["right","left"].indexOf(n)!==-1,o=e.split(/(\+|\-)/).map(function(p){return p.trim()}),l=o.indexOf(ev(o,function(p){return p.search(/,|\s/)!==-1}));o[l]&&o[l].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var f=/\s*,\s*|\s+/,c=l!==-1?[o.slice(0,l).concat([o[l].split(f)[0]]),[o[l].split(f)[1]].concat(o.slice(l+1))]:[o];return c=c.map(function(p,_){var x=(_===1?!a:a)?"height":"width",b=!1;return p.reduce(function(C,R){return C[C.length-1]===""&&["+","-"].indexOf(R)!==-1?(C[C.length-1]=R,b=!0,C):b?(C[C.length-1]+=R,b=!1,C):C.concat(R)},[]).map(function(C){return NX(C,x,t,r)})}),c.forEach(function(p,_){p.forEach(function(x,b){eS(x)&&(i[_]+=x*(p[b-1]==="-"?-1:1))})}),i}function IX(e,t){var r=t.offset,n=e.placement,i=e.offsets,a=i.popper,o=i.reference,l=n.split("-")[0],f=void 0;return eS(+r)?f=[+r,0]:f=RX(r,a,o,l),l==="left"?(a.top+=f[0],a.left-=f[1]):l==="right"?(a.top+=f[0],a.left+=f[1]):l==="top"?(a.left+=f[0],a.top-=f[1]):l==="bottom"&&(a.left+=f[0],a.top+=f[1]),e.popper=a,e}function FX(e,t){var r=t.boundariesElement||sd(e.instance.popper);e.instance.reference===r&&(r=sd(r));var n=J2("transform"),i=e.instance.popper.style,a=i.top,o=i.left,l=i[n];i.top="",i.left="",i[n]="";var f=K2(e.instance.popper,e.instance.reference,t.padding,r,e.positionFixed);i.top=a,i.left=o,i[n]=l,t.boundaries=f;var c=t.priority,p=e.offsets.popper,_={primary:function(b){var C=p[b];return p[b]<f[b]&&!t.escapeWithReference&&(C=Math.max(p[b],f[b])),cd({},b,C)},secondary:function(b){var C=b==="right"?"left":"top",R=p[C];return p[b]>f[b]&&!t.escapeWithReference&&(R=Math.min(p[C],f[b]-(b==="right"?p.width:p.height))),cd({},C,R)}};return c.forEach(function(x){var b=["left","top"].indexOf(x)!==-1?"primary":"secondary";p=ro({},p,_[b](x))}),e.offsets.popper=p,e}function LX(e){var t=e.placement,r=t.split("-")[0],n=t.split("-")[1];if(n){var i=e.offsets,a=i.reference,o=i.popper,l=["bottom","top"].indexOf(r)!==-1,f=l?"left":"top",c=l?"width":"height",p={start:cd({},f,a[f]),end:cd({},f,a[f]+a[c]-o[c])};e.offsets.popper=ro({},o,p[n])}return e}function DX(e){if(!_I(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,r=ev(e.instance.modifiers,function(n){return n.name==="preventOverflow"}).boundaries;if(t.bottom<r.top||t.left>r.right||t.top>r.bottom||t.right<r.left){if(e.hide===!0)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(e.hide===!1)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}function $X(e){var t=e.placement,r=t.split("-")[0],n=e.offsets,i=n.popper,a=n.reference,o=["left","right"].indexOf(r)!==-1,l=["top","left"].indexOf(r)===-1;return i[o?"left":"top"]=a[r]-(l?i[o?"width":"height"]:0),e.placement=z0(t),e.offsets.popper=us(i),e}var zX={shift:{order:100,enabled:!0,fn:LX},offset:{order:200,enabled:!0,fn:IX,offset:0},preventOverflow:{order:300,enabled:!0,fn:FX,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:PX},arrow:{order:500,enabled:!0,fn:OX,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:MX,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:$X},hide:{order:800,enabled:!0,fn:DX},computeStyle:{order:850,enabled:!0,fn:CX,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:SX,onLoad:EX,gpuAcceleration:void 0}},BX={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:zX},Fm=function(){function e(t,r){var n=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};cX(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=lX(this.update.bind(this)),this.options=ro({},e.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(ro({},e.Defaults.modifiers,i.modifiers)).forEach(function(o){n.options.modifiers[o]=ro({},e.Defaults.modifiers[o]||{},i.modifiers?i.modifiers[o]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(o){return ro({name:o},n.options.modifiers[o])}).sort(function(o,l){return o.order-l.order}),this.modifiers.forEach(function(o){o.enabled&&sI(o.onLoad)&&o.onLoad(n.reference,n.popper,n.options,o,n.state)}),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return dX(e,[{key:"update",value:function(){return gX.call(this)}},{key:"destroy",value:function(){return mX.call(this)}},{key:"enableEventListeners",value:function(){return bX.call(this)}},{key:"disableEventListeners",value:function(){return wX.call(this)}}]),e}();Fm.Utils=(typeof window<"u"?window:global).PopperUtils;Fm.placements=SI;Fm.Defaults=BX;const Cte=Fm;/*!
|
|
410
|
-
* Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com
|
|
411
|
-
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
412
|
-
* Copyright 2022 Fonticons, Inc.
|
|
413
|
-
*/function mO(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function tr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?mO(Object(r),!0).forEach(function(n){HX(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):mO(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function B0(e){return B0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},B0(e)}function jX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UX(e,t,r){return t&&yO(e.prototype,t),r&&yO(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function HX(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tS(e,t){return GX(e)||VX(e,t)||EI(e,t)||XX()}function Lm(e){return WX(e)||qX(e)||EI(e)||YX()}function WX(e){if(Array.isArray(e))return jw(e)}function GX(e){if(Array.isArray(e))return e}function qX(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function VX(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,a=!1,o,l;try{for(r=r.call(e);!(i=(o=r.next()).done)&&(n.push(o.value),!(t&&n.length===t));i=!0);}catch(f){a=!0,l=f}finally{try{!i&&r.return!=null&&r.return()}finally{if(a)throw l}}return n}}function EI(e,t){if(!!e){if(typeof e=="string")return jw(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return jw(e,t)}}function jw(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function YX(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
414
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function XX(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
415
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var bO=function(){},rS={},AI={},TI=null,CI={mark:bO,measure:bO};try{typeof window<"u"&&(rS=window),typeof document<"u"&&(AI=document),typeof MutationObserver<"u"&&(TI=MutationObserver),typeof performance<"u"&&(CI=performance)}catch{}var QX=rS.navigator||{},xO=QX.userAgent,wO=xO===void 0?"":xO,ls=rS,_n=AI,_O=TI,pg=CI;ls.document;var nl=!!_n.documentElement&&!!_n.head&&typeof _n.addEventListener=="function"&&typeof _n.createElement=="function",OI=~wO.indexOf("MSIE")||~wO.indexOf("Trident/"),Yu="___FONT_AWESOME___",Uw=16,kI="fa",MI="svg-inline--fa",hf="data-fa-i2svg",Hw="data-fa-pseudo-element",ZX="data-fa-pseudo-element-pending",nS="data-prefix",iS="data-icon",SO="fontawesome-i2svg",KX="async",JX=["HTML","HEAD","STYLE","SCRIPT"],PI=function(){try{return!0}catch{return!1}}(),aS={fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit",fa:"solid"},j0={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},NI={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},eQ={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},tQ=/fa[srltdbk\-\ ]/,RI="fa-layers-text",rQ=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,nQ={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},II=[1,2,3,4,5,6,7,8,9,10],iQ=II.concat([11,12,13,14,15,16,17,18,19,20]),aQ=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Js={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},oQ=[].concat(Lm(Object.keys(j0)),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Js.GROUP,Js.SWAP_OPACITY,Js.PRIMARY,Js.SECONDARY]).concat(II.map(function(e){return"".concat(e,"x")})).concat(iQ.map(function(e){return"w-".concat(e)})),FI=ls.FontAwesomeConfig||{};function uQ(e){var t=_n.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function lQ(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(_n&&typeof _n.querySelector=="function"){var sQ=[["data-family-prefix","familyPrefix"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];sQ.forEach(function(e){var t=tS(e,2),r=t[0],n=t[1],i=lQ(uQ(r));i!=null&&(FI[n]=i)})}var fQ={familyPrefix:kI,styleDefault:"solid",replacementClass:MI,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},lp=tr(tr({},fQ),FI);lp.autoReplaceSvg||(lp.observeMutations=!1);var _r={};Object.keys(lp).forEach(function(e){Object.defineProperty(_r,e,{enumerable:!0,set:function(r){lp[e]=r,Dg.forEach(function(n){return n(_r)})},get:function(){return lp[e]}})});ls.FontAwesomeConfig=_r;var Dg=[];function cQ(e){return Dg.push(e),function(){Dg.splice(Dg.indexOf(e),1)}}var Nl=Uw,iu={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function dQ(e){if(!(!e||!nl)){var t=_n.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var r=_n.head.childNodes,n=null,i=r.length-1;i>-1;i--){var a=r[i],o=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(n=a)}return _n.head.insertBefore(t,n),e}}var hQ="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Fp(){for(var e=12,t="";e-- >0;)t+=hQ[Math.random()*62|0];return t}function Ed(e){for(var t=[],r=(e||[]).length>>>0;r--;)t[r]=e[r];return t}function oS(e){return e.classList?Ed(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function LI(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function pQ(e){return Object.keys(e||{}).reduce(function(t,r){return t+"".concat(r,'="').concat(LI(e[r]),'" ')},"").trim()}function Dm(e){return Object.keys(e||{}).reduce(function(t,r){return t+"".concat(r,": ").concat(e[r].trim(),";")},"")}function uS(e){return e.size!==iu.size||e.x!==iu.x||e.y!==iu.y||e.rotate!==iu.rotate||e.flipX||e.flipY}function vQ(e){var t=e.transform,r=e.containerWidth,n=e.iconWidth,i={transform:"translate(".concat(r/2," 256)")},a="translate(".concat(t.x*32,", ").concat(t.y*32,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),l="rotate(".concat(t.rotate," 0 0)"),f={transform:"".concat(a," ").concat(o," ").concat(l)},c={transform:"translate(".concat(n/2*-1," -256)")};return{outer:i,inner:f,path:c}}function gQ(e){var t=e.transform,r=e.width,n=r===void 0?Uw:r,i=e.height,a=i===void 0?Uw:i,o=e.startCentered,l=o===void 0?!1:o,f="";return l&&OI?f+="translate(".concat(t.x/Nl-n/2,"em, ").concat(t.y/Nl-a/2,"em) "):l?f+="translate(calc(-50% + ".concat(t.x/Nl,"em), calc(-50% + ").concat(t.y/Nl,"em)) "):f+="translate(".concat(t.x/Nl,"em, ").concat(t.y/Nl,"em) "),f+="scale(".concat(t.size/Nl*(t.flipX?-1:1),", ").concat(t.size/Nl*(t.flipY?-1:1),") "),f+="rotate(".concat(t.rotate,"deg) "),f}var mQ=`:root, :host {
|
|
416
|
-
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
|
|
417
|
-
--fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
|
|
418
|
-
--fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
|
|
419
|
-
--fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";
|
|
420
|
-
--fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
|
|
421
|
-
--fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
425
|
-
overflow: visible;
|
|
426
|
-
box-sizing: content-box;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
.svg-inline--fa {
|
|
430
|
-
display: var(--fa-display, inline-block);
|
|
431
|
-
height: 1em;
|
|
432
|
-
overflow: visible;
|
|
433
|
-
vertical-align: -0.125em;
|
|
434
|
-
}
|
|
435
|
-
.svg-inline--fa.fa-2xs {
|
|
436
|
-
vertical-align: 0.1em;
|
|
437
|
-
}
|
|
438
|
-
.svg-inline--fa.fa-xs {
|
|
439
|
-
vertical-align: 0em;
|
|
440
|
-
}
|
|
441
|
-
.svg-inline--fa.fa-sm {
|
|
442
|
-
vertical-align: -0.0714285705em;
|
|
443
|
-
}
|
|
444
|
-
.svg-inline--fa.fa-lg {
|
|
445
|
-
vertical-align: -0.2em;
|
|
446
|
-
}
|
|
447
|
-
.svg-inline--fa.fa-xl {
|
|
448
|
-
vertical-align: -0.25em;
|
|
449
|
-
}
|
|
450
|
-
.svg-inline--fa.fa-2xl {
|
|
451
|
-
vertical-align: -0.3125em;
|
|
452
|
-
}
|
|
453
|
-
.svg-inline--fa.fa-pull-left {
|
|
454
|
-
margin-right: var(--fa-pull-margin, 0.3em);
|
|
455
|
-
width: auto;
|
|
456
|
-
}
|
|
457
|
-
.svg-inline--fa.fa-pull-right {
|
|
458
|
-
margin-left: var(--fa-pull-margin, 0.3em);
|
|
459
|
-
width: auto;
|
|
460
|
-
}
|
|
461
|
-
.svg-inline--fa.fa-li {
|
|
462
|
-
width: var(--fa-li-width, 2em);
|
|
463
|
-
top: 0.25em;
|
|
464
|
-
}
|
|
465
|
-
.svg-inline--fa.fa-fw {
|
|
466
|
-
width: var(--fa-fw-width, 1.25em);
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
.fa-layers svg.svg-inline--fa {
|
|
470
|
-
bottom: 0;
|
|
471
|
-
left: 0;
|
|
472
|
-
margin: auto;
|
|
473
|
-
position: absolute;
|
|
474
|
-
right: 0;
|
|
475
|
-
top: 0;
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
.fa-layers-counter, .fa-layers-text {
|
|
479
|
-
display: inline-block;
|
|
480
|
-
position: absolute;
|
|
481
|
-
text-align: center;
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
.fa-layers {
|
|
485
|
-
display: inline-block;
|
|
486
|
-
height: 1em;
|
|
487
|
-
position: relative;
|
|
488
|
-
text-align: center;
|
|
489
|
-
vertical-align: -0.125em;
|
|
490
|
-
width: 1em;
|
|
491
|
-
}
|
|
492
|
-
.fa-layers svg.svg-inline--fa {
|
|
493
|
-
-webkit-transform-origin: center center;
|
|
494
|
-
transform-origin: center center;
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
.fa-layers-text {
|
|
498
|
-
left: 50%;
|
|
499
|
-
top: 50%;
|
|
500
|
-
-webkit-transform: translate(-50%, -50%);
|
|
501
|
-
transform: translate(-50%, -50%);
|
|
502
|
-
-webkit-transform-origin: center center;
|
|
503
|
-
transform-origin: center center;
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
.fa-layers-counter {
|
|
507
|
-
background-color: var(--fa-counter-background-color, #ff253a);
|
|
508
|
-
border-radius: var(--fa-counter-border-radius, 1em);
|
|
509
|
-
box-sizing: border-box;
|
|
510
|
-
color: var(--fa-inverse, #fff);
|
|
511
|
-
line-height: var(--fa-counter-line-height, 1);
|
|
512
|
-
max-width: var(--fa-counter-max-width, 5em);
|
|
513
|
-
min-width: var(--fa-counter-min-width, 1.5em);
|
|
514
|
-
overflow: hidden;
|
|
515
|
-
padding: var(--fa-counter-padding, 0.25em 0.5em);
|
|
516
|
-
right: var(--fa-right, 0);
|
|
517
|
-
text-overflow: ellipsis;
|
|
518
|
-
top: var(--fa-top, 0);
|
|
519
|
-
-webkit-transform: scale(var(--fa-counter-scale, 0.25));
|
|
520
|
-
transform: scale(var(--fa-counter-scale, 0.25));
|
|
521
|
-
-webkit-transform-origin: top right;
|
|
522
|
-
transform-origin: top right;
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
.fa-layers-bottom-right {
|
|
526
|
-
bottom: var(--fa-bottom, 0);
|
|
527
|
-
right: var(--fa-right, 0);
|
|
528
|
-
top: auto;
|
|
529
|
-
-webkit-transform: scale(var(--fa-layers-scale, 0.25));
|
|
530
|
-
transform: scale(var(--fa-layers-scale, 0.25));
|
|
531
|
-
-webkit-transform-origin: bottom right;
|
|
532
|
-
transform-origin: bottom right;
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
.fa-layers-bottom-left {
|
|
536
|
-
bottom: var(--fa-bottom, 0);
|
|
537
|
-
left: var(--fa-left, 0);
|
|
538
|
-
right: auto;
|
|
539
|
-
top: auto;
|
|
540
|
-
-webkit-transform: scale(var(--fa-layers-scale, 0.25));
|
|
541
|
-
transform: scale(var(--fa-layers-scale, 0.25));
|
|
542
|
-
-webkit-transform-origin: bottom left;
|
|
543
|
-
transform-origin: bottom left;
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
.fa-layers-top-right {
|
|
547
|
-
top: var(--fa-top, 0);
|
|
548
|
-
right: var(--fa-right, 0);
|
|
549
|
-
-webkit-transform: scale(var(--fa-layers-scale, 0.25));
|
|
550
|
-
transform: scale(var(--fa-layers-scale, 0.25));
|
|
551
|
-
-webkit-transform-origin: top right;
|
|
552
|
-
transform-origin: top right;
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
.fa-layers-top-left {
|
|
556
|
-
left: var(--fa-left, 0);
|
|
557
|
-
right: auto;
|
|
558
|
-
top: var(--fa-top, 0);
|
|
559
|
-
-webkit-transform: scale(var(--fa-layers-scale, 0.25));
|
|
560
|
-
transform: scale(var(--fa-layers-scale, 0.25));
|
|
561
|
-
-webkit-transform-origin: top left;
|
|
562
|
-
transform-origin: top left;
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
.fa-1x {
|
|
566
|
-
font-size: 1em;
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
.fa-2x {
|
|
570
|
-
font-size: 2em;
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
.fa-3x {
|
|
574
|
-
font-size: 3em;
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
.fa-4x {
|
|
578
|
-
font-size: 4em;
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
.fa-5x {
|
|
582
|
-
font-size: 5em;
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
.fa-6x {
|
|
586
|
-
font-size: 6em;
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
.fa-7x {
|
|
590
|
-
font-size: 7em;
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
.fa-8x {
|
|
594
|
-
font-size: 8em;
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
.fa-9x {
|
|
598
|
-
font-size: 9em;
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
.fa-10x {
|
|
602
|
-
font-size: 10em;
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
.fa-2xs {
|
|
606
|
-
font-size: 0.625em;
|
|
607
|
-
line-height: 0.1em;
|
|
608
|
-
vertical-align: 0.225em;
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
.fa-xs {
|
|
612
|
-
font-size: 0.75em;
|
|
613
|
-
line-height: 0.0833333337em;
|
|
614
|
-
vertical-align: 0.125em;
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
.fa-sm {
|
|
618
|
-
font-size: 0.875em;
|
|
619
|
-
line-height: 0.0714285718em;
|
|
620
|
-
vertical-align: 0.0535714295em;
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
.fa-lg {
|
|
624
|
-
font-size: 1.25em;
|
|
625
|
-
line-height: 0.05em;
|
|
626
|
-
vertical-align: -0.075em;
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
.fa-xl {
|
|
630
|
-
font-size: 1.5em;
|
|
631
|
-
line-height: 0.0416666682em;
|
|
632
|
-
vertical-align: -0.125em;
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
.fa-2xl {
|
|
636
|
-
font-size: 2em;
|
|
637
|
-
line-height: 0.03125em;
|
|
638
|
-
vertical-align: -0.1875em;
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
.fa-fw {
|
|
642
|
-
text-align: center;
|
|
643
|
-
width: 1.25em;
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
.fa-ul {
|
|
647
|
-
list-style-type: none;
|
|
648
|
-
margin-left: var(--fa-li-margin, 2.5em);
|
|
649
|
-
padding-left: 0;
|
|
650
|
-
}
|
|
651
|
-
.fa-ul > li {
|
|
652
|
-
position: relative;
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
.fa-li {
|
|
656
|
-
left: calc(var(--fa-li-width, 2em) * -1);
|
|
657
|
-
position: absolute;
|
|
658
|
-
text-align: center;
|
|
659
|
-
width: var(--fa-li-width, 2em);
|
|
660
|
-
line-height: inherit;
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
.fa-border {
|
|
664
|
-
border-color: var(--fa-border-color, #eee);
|
|
665
|
-
border-radius: var(--fa-border-radius, 0.1em);
|
|
666
|
-
border-style: var(--fa-border-style, solid);
|
|
667
|
-
border-width: var(--fa-border-width, 0.08em);
|
|
668
|
-
padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
.fa-pull-left {
|
|
672
|
-
float: left;
|
|
673
|
-
margin-right: var(--fa-pull-margin, 0.3em);
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
.fa-pull-right {
|
|
677
|
-
float: right;
|
|
678
|
-
margin-left: var(--fa-pull-margin, 0.3em);
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
.fa-beat {
|
|
682
|
-
-webkit-animation-name: fa-beat;
|
|
683
|
-
animation-name: fa-beat;
|
|
684
|
-
-webkit-animation-delay: var(--fa-animation-delay, 0);
|
|
685
|
-
animation-delay: var(--fa-animation-delay, 0);
|
|
686
|
-
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
687
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
688
|
-
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
689
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
690
|
-
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
691
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
692
|
-
-webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
693
|
-
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
.fa-bounce {
|
|
697
|
-
-webkit-animation-name: fa-bounce;
|
|
698
|
-
animation-name: fa-bounce;
|
|
699
|
-
-webkit-animation-delay: var(--fa-animation-delay, 0);
|
|
700
|
-
animation-delay: var(--fa-animation-delay, 0);
|
|
701
|
-
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
702
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
703
|
-
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
704
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
705
|
-
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
706
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
707
|
-
-webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
|
|
708
|
-
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
.fa-fade {
|
|
712
|
-
-webkit-animation-name: fa-fade;
|
|
713
|
-
animation-name: fa-fade;
|
|
714
|
-
-webkit-animation-delay: var(--fa-animation-delay, 0);
|
|
715
|
-
animation-delay: var(--fa-animation-delay, 0);
|
|
716
|
-
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
717
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
718
|
-
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
719
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
720
|
-
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
721
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
722
|
-
-webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
723
|
-
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
.fa-beat-fade {
|
|
727
|
-
-webkit-animation-name: fa-beat-fade;
|
|
728
|
-
animation-name: fa-beat-fade;
|
|
729
|
-
-webkit-animation-delay: var(--fa-animation-delay, 0);
|
|
730
|
-
animation-delay: var(--fa-animation-delay, 0);
|
|
731
|
-
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
732
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
733
|
-
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
734
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
735
|
-
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
736
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
737
|
-
-webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
738
|
-
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
.fa-flip {
|
|
742
|
-
-webkit-animation-name: fa-flip;
|
|
743
|
-
animation-name: fa-flip;
|
|
744
|
-
-webkit-animation-delay: var(--fa-animation-delay, 0);
|
|
745
|
-
animation-delay: var(--fa-animation-delay, 0);
|
|
746
|
-
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
747
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
748
|
-
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
749
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
750
|
-
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
751
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
752
|
-
-webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
753
|
-
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
.fa-shake {
|
|
757
|
-
-webkit-animation-name: fa-shake;
|
|
758
|
-
animation-name: fa-shake;
|
|
759
|
-
-webkit-animation-delay: var(--fa-animation-delay, 0);
|
|
760
|
-
animation-delay: var(--fa-animation-delay, 0);
|
|
761
|
-
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
762
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
763
|
-
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
764
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
765
|
-
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
766
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
767
|
-
-webkit-animation-timing-function: var(--fa-animation-timing, linear);
|
|
768
|
-
animation-timing-function: var(--fa-animation-timing, linear);
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
.fa-spin {
|
|
772
|
-
-webkit-animation-name: fa-spin;
|
|
773
|
-
animation-name: fa-spin;
|
|
774
|
-
-webkit-animation-delay: var(--fa-animation-delay, 0);
|
|
775
|
-
animation-delay: var(--fa-animation-delay, 0);
|
|
776
|
-
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
777
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
778
|
-
-webkit-animation-duration: var(--fa-animation-duration, 2s);
|
|
779
|
-
animation-duration: var(--fa-animation-duration, 2s);
|
|
780
|
-
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
781
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
782
|
-
-webkit-animation-timing-function: var(--fa-animation-timing, linear);
|
|
783
|
-
animation-timing-function: var(--fa-animation-timing, linear);
|
|
784
|
-
}
|
|
785
|
-
|
|
786
|
-
.fa-spin-reverse {
|
|
787
|
-
--fa-animation-direction: reverse;
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
.fa-pulse,
|
|
791
|
-
.fa-spin-pulse {
|
|
792
|
-
-webkit-animation-name: fa-spin;
|
|
793
|
-
animation-name: fa-spin;
|
|
794
|
-
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
795
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
796
|
-
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
|
797
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
798
|
-
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
799
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
800
|
-
-webkit-animation-timing-function: var(--fa-animation-timing, steps(8));
|
|
801
|
-
animation-timing-function: var(--fa-animation-timing, steps(8));
|
|
802
|
-
}
|
|
803
|
-
|
|
804
|
-
@media (prefers-reduced-motion: reduce) {
|
|
805
|
-
.fa-beat,
|
|
806
|
-
.fa-bounce,
|
|
807
|
-
.fa-fade,
|
|
808
|
-
.fa-beat-fade,
|
|
809
|
-
.fa-flip,
|
|
810
|
-
.fa-pulse,
|
|
811
|
-
.fa-shake,
|
|
812
|
-
.fa-spin,
|
|
813
|
-
.fa-spin-pulse {
|
|
814
|
-
-webkit-animation-delay: -1ms;
|
|
815
|
-
animation-delay: -1ms;
|
|
816
|
-
-webkit-animation-duration: 1ms;
|
|
817
|
-
animation-duration: 1ms;
|
|
818
|
-
-webkit-animation-iteration-count: 1;
|
|
819
|
-
animation-iteration-count: 1;
|
|
820
|
-
transition-delay: 0s;
|
|
821
|
-
transition-duration: 0s;
|
|
822
|
-
}
|
|
823
|
-
}
|
|
824
|
-
@-webkit-keyframes fa-beat {
|
|
825
|
-
0%, 90% {
|
|
826
|
-
-webkit-transform: scale(1);
|
|
827
|
-
transform: scale(1);
|
|
828
|
-
}
|
|
829
|
-
45% {
|
|
830
|
-
-webkit-transform: scale(var(--fa-beat-scale, 1.25));
|
|
831
|
-
transform: scale(var(--fa-beat-scale, 1.25));
|
|
832
|
-
}
|
|
833
|
-
}
|
|
834
|
-
@keyframes fa-beat {
|
|
835
|
-
0%, 90% {
|
|
836
|
-
-webkit-transform: scale(1);
|
|
837
|
-
transform: scale(1);
|
|
838
|
-
}
|
|
839
|
-
45% {
|
|
840
|
-
-webkit-transform: scale(var(--fa-beat-scale, 1.25));
|
|
841
|
-
transform: scale(var(--fa-beat-scale, 1.25));
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
|
-
@-webkit-keyframes fa-bounce {
|
|
845
|
-
0% {
|
|
846
|
-
-webkit-transform: scale(1, 1) translateY(0);
|
|
847
|
-
transform: scale(1, 1) translateY(0);
|
|
848
|
-
}
|
|
849
|
-
10% {
|
|
850
|
-
-webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
|
851
|
-
transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
|
852
|
-
}
|
|
853
|
-
30% {
|
|
854
|
-
-webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
|
|
855
|
-
transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
|
|
856
|
-
}
|
|
857
|
-
50% {
|
|
858
|
-
-webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
|
859
|
-
transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
|
860
|
-
}
|
|
861
|
-
57% {
|
|
862
|
-
-webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
|
863
|
-
transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
|
864
|
-
}
|
|
865
|
-
64% {
|
|
866
|
-
-webkit-transform: scale(1, 1) translateY(0);
|
|
867
|
-
transform: scale(1, 1) translateY(0);
|
|
868
|
-
}
|
|
869
|
-
100% {
|
|
870
|
-
-webkit-transform: scale(1, 1) translateY(0);
|
|
871
|
-
transform: scale(1, 1) translateY(0);
|
|
872
|
-
}
|
|
873
|
-
}
|
|
874
|
-
@keyframes fa-bounce {
|
|
875
|
-
0% {
|
|
876
|
-
-webkit-transform: scale(1, 1) translateY(0);
|
|
877
|
-
transform: scale(1, 1) translateY(0);
|
|
878
|
-
}
|
|
879
|
-
10% {
|
|
880
|
-
-webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
|
881
|
-
transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
|
882
|
-
}
|
|
883
|
-
30% {
|
|
884
|
-
-webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
|
|
885
|
-
transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
|
|
886
|
-
}
|
|
887
|
-
50% {
|
|
888
|
-
-webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
|
889
|
-
transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
|
890
|
-
}
|
|
891
|
-
57% {
|
|
892
|
-
-webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
|
893
|
-
transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
|
894
|
-
}
|
|
895
|
-
64% {
|
|
896
|
-
-webkit-transform: scale(1, 1) translateY(0);
|
|
897
|
-
transform: scale(1, 1) translateY(0);
|
|
898
|
-
}
|
|
899
|
-
100% {
|
|
900
|
-
-webkit-transform: scale(1, 1) translateY(0);
|
|
901
|
-
transform: scale(1, 1) translateY(0);
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
@-webkit-keyframes fa-fade {
|
|
905
|
-
50% {
|
|
906
|
-
opacity: var(--fa-fade-opacity, 0.4);
|
|
907
|
-
}
|
|
908
|
-
}
|
|
909
|
-
@keyframes fa-fade {
|
|
910
|
-
50% {
|
|
911
|
-
opacity: var(--fa-fade-opacity, 0.4);
|
|
912
|
-
}
|
|
913
|
-
}
|
|
914
|
-
@-webkit-keyframes fa-beat-fade {
|
|
915
|
-
0%, 100% {
|
|
916
|
-
opacity: var(--fa-beat-fade-opacity, 0.4);
|
|
917
|
-
-webkit-transform: scale(1);
|
|
918
|
-
transform: scale(1);
|
|
919
|
-
}
|
|
920
|
-
50% {
|
|
921
|
-
opacity: 1;
|
|
922
|
-
-webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
|
|
923
|
-
transform: scale(var(--fa-beat-fade-scale, 1.125));
|
|
924
|
-
}
|
|
925
|
-
}
|
|
926
|
-
@keyframes fa-beat-fade {
|
|
927
|
-
0%, 100% {
|
|
928
|
-
opacity: var(--fa-beat-fade-opacity, 0.4);
|
|
929
|
-
-webkit-transform: scale(1);
|
|
930
|
-
transform: scale(1);
|
|
931
|
-
}
|
|
932
|
-
50% {
|
|
933
|
-
opacity: 1;
|
|
934
|
-
-webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
|
|
935
|
-
transform: scale(var(--fa-beat-fade-scale, 1.125));
|
|
936
|
-
}
|
|
937
|
-
}
|
|
938
|
-
@-webkit-keyframes fa-flip {
|
|
939
|
-
50% {
|
|
940
|
-
-webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
|
941
|
-
transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
|
942
|
-
}
|
|
943
|
-
}
|
|
944
|
-
@keyframes fa-flip {
|
|
945
|
-
50% {
|
|
946
|
-
-webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
|
947
|
-
transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
|
948
|
-
}
|
|
949
|
-
}
|
|
950
|
-
@-webkit-keyframes fa-shake {
|
|
951
|
-
0% {
|
|
952
|
-
-webkit-transform: rotate(-15deg);
|
|
953
|
-
transform: rotate(-15deg);
|
|
954
|
-
}
|
|
955
|
-
4% {
|
|
956
|
-
-webkit-transform: rotate(15deg);
|
|
957
|
-
transform: rotate(15deg);
|
|
958
|
-
}
|
|
959
|
-
8%, 24% {
|
|
960
|
-
-webkit-transform: rotate(-18deg);
|
|
961
|
-
transform: rotate(-18deg);
|
|
962
|
-
}
|
|
963
|
-
12%, 28% {
|
|
964
|
-
-webkit-transform: rotate(18deg);
|
|
965
|
-
transform: rotate(18deg);
|
|
966
|
-
}
|
|
967
|
-
16% {
|
|
968
|
-
-webkit-transform: rotate(-22deg);
|
|
969
|
-
transform: rotate(-22deg);
|
|
970
|
-
}
|
|
971
|
-
20% {
|
|
972
|
-
-webkit-transform: rotate(22deg);
|
|
973
|
-
transform: rotate(22deg);
|
|
974
|
-
}
|
|
975
|
-
32% {
|
|
976
|
-
-webkit-transform: rotate(-12deg);
|
|
977
|
-
transform: rotate(-12deg);
|
|
978
|
-
}
|
|
979
|
-
36% {
|
|
980
|
-
-webkit-transform: rotate(12deg);
|
|
981
|
-
transform: rotate(12deg);
|
|
982
|
-
}
|
|
983
|
-
40%, 100% {
|
|
984
|
-
-webkit-transform: rotate(0deg);
|
|
985
|
-
transform: rotate(0deg);
|
|
986
|
-
}
|
|
987
|
-
}
|
|
988
|
-
@keyframes fa-shake {
|
|
989
|
-
0% {
|
|
990
|
-
-webkit-transform: rotate(-15deg);
|
|
991
|
-
transform: rotate(-15deg);
|
|
992
|
-
}
|
|
993
|
-
4% {
|
|
994
|
-
-webkit-transform: rotate(15deg);
|
|
995
|
-
transform: rotate(15deg);
|
|
996
|
-
}
|
|
997
|
-
8%, 24% {
|
|
998
|
-
-webkit-transform: rotate(-18deg);
|
|
999
|
-
transform: rotate(-18deg);
|
|
1000
|
-
}
|
|
1001
|
-
12%, 28% {
|
|
1002
|
-
-webkit-transform: rotate(18deg);
|
|
1003
|
-
transform: rotate(18deg);
|
|
1004
|
-
}
|
|
1005
|
-
16% {
|
|
1006
|
-
-webkit-transform: rotate(-22deg);
|
|
1007
|
-
transform: rotate(-22deg);
|
|
1008
|
-
}
|
|
1009
|
-
20% {
|
|
1010
|
-
-webkit-transform: rotate(22deg);
|
|
1011
|
-
transform: rotate(22deg);
|
|
1012
|
-
}
|
|
1013
|
-
32% {
|
|
1014
|
-
-webkit-transform: rotate(-12deg);
|
|
1015
|
-
transform: rotate(-12deg);
|
|
1016
|
-
}
|
|
1017
|
-
36% {
|
|
1018
|
-
-webkit-transform: rotate(12deg);
|
|
1019
|
-
transform: rotate(12deg);
|
|
1020
|
-
}
|
|
1021
|
-
40%, 100% {
|
|
1022
|
-
-webkit-transform: rotate(0deg);
|
|
1023
|
-
transform: rotate(0deg);
|
|
1024
|
-
}
|
|
1025
|
-
}
|
|
1026
|
-
@-webkit-keyframes fa-spin {
|
|
1027
|
-
0% {
|
|
1028
|
-
-webkit-transform: rotate(0deg);
|
|
1029
|
-
transform: rotate(0deg);
|
|
1030
|
-
}
|
|
1031
|
-
100% {
|
|
1032
|
-
-webkit-transform: rotate(360deg);
|
|
1033
|
-
transform: rotate(360deg);
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
|
-
@keyframes fa-spin {
|
|
1037
|
-
0% {
|
|
1038
|
-
-webkit-transform: rotate(0deg);
|
|
1039
|
-
transform: rotate(0deg);
|
|
1040
|
-
}
|
|
1041
|
-
100% {
|
|
1042
|
-
-webkit-transform: rotate(360deg);
|
|
1043
|
-
transform: rotate(360deg);
|
|
1044
|
-
}
|
|
1045
|
-
}
|
|
1046
|
-
.fa-rotate-90 {
|
|
1047
|
-
-webkit-transform: rotate(90deg);
|
|
1048
|
-
transform: rotate(90deg);
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
.fa-rotate-180 {
|
|
1052
|
-
-webkit-transform: rotate(180deg);
|
|
1053
|
-
transform: rotate(180deg);
|
|
1054
|
-
}
|
|
1055
|
-
|
|
1056
|
-
.fa-rotate-270 {
|
|
1057
|
-
-webkit-transform: rotate(270deg);
|
|
1058
|
-
transform: rotate(270deg);
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
|
-
.fa-flip-horizontal {
|
|
1062
|
-
-webkit-transform: scale(-1, 1);
|
|
1063
|
-
transform: scale(-1, 1);
|
|
1064
|
-
}
|
|
1065
|
-
|
|
1066
|
-
.fa-flip-vertical {
|
|
1067
|
-
-webkit-transform: scale(1, -1);
|
|
1068
|
-
transform: scale(1, -1);
|
|
1069
|
-
}
|
|
1070
|
-
|
|
1071
|
-
.fa-flip-both,
|
|
1072
|
-
.fa-flip-horizontal.fa-flip-vertical {
|
|
1073
|
-
-webkit-transform: scale(-1, -1);
|
|
1074
|
-
transform: scale(-1, -1);
|
|
1075
|
-
}
|
|
1076
|
-
|
|
1077
|
-
.fa-rotate-by {
|
|
1078
|
-
-webkit-transform: rotate(var(--fa-rotate-angle, none));
|
|
1079
|
-
transform: rotate(var(--fa-rotate-angle, none));
|
|
1080
|
-
}
|
|
1081
|
-
|
|
1082
|
-
.fa-stack {
|
|
1083
|
-
display: inline-block;
|
|
1084
|
-
vertical-align: middle;
|
|
1085
|
-
height: 2em;
|
|
1086
|
-
position: relative;
|
|
1087
|
-
width: 2.5em;
|
|
1088
|
-
}
|
|
1089
|
-
|
|
1090
|
-
.fa-stack-1x,
|
|
1091
|
-
.fa-stack-2x {
|
|
1092
|
-
bottom: 0;
|
|
1093
|
-
left: 0;
|
|
1094
|
-
margin: auto;
|
|
1095
|
-
position: absolute;
|
|
1096
|
-
right: 0;
|
|
1097
|
-
top: 0;
|
|
1098
|
-
z-index: var(--fa-stack-z-index, auto);
|
|
1099
|
-
}
|
|
1100
|
-
|
|
1101
|
-
.svg-inline--fa.fa-stack-1x {
|
|
1102
|
-
height: 1em;
|
|
1103
|
-
width: 1.25em;
|
|
1104
|
-
}
|
|
1105
|
-
.svg-inline--fa.fa-stack-2x {
|
|
1106
|
-
height: 2em;
|
|
1107
|
-
width: 2.5em;
|
|
1108
|
-
}
|
|
1109
|
-
|
|
1110
|
-
.fa-inverse {
|
|
1111
|
-
color: var(--fa-inverse, #fff);
|
|
1112
|
-
}
|
|
1113
|
-
|
|
1114
|
-
.sr-only,
|
|
1115
|
-
.fa-sr-only {
|
|
1116
|
-
position: absolute;
|
|
1117
|
-
width: 1px;
|
|
1118
|
-
height: 1px;
|
|
1119
|
-
padding: 0;
|
|
1120
|
-
margin: -1px;
|
|
1121
|
-
overflow: hidden;
|
|
1122
|
-
clip: rect(0, 0, 0, 0);
|
|
1123
|
-
white-space: nowrap;
|
|
1124
|
-
border-width: 0;
|
|
1125
|
-
}
|
|
1126
|
-
|
|
1127
|
-
.sr-only-focusable:not(:focus),
|
|
1128
|
-
.fa-sr-only-focusable:not(:focus) {
|
|
1129
|
-
position: absolute;
|
|
1130
|
-
width: 1px;
|
|
1131
|
-
height: 1px;
|
|
1132
|
-
padding: 0;
|
|
1133
|
-
margin: -1px;
|
|
1134
|
-
overflow: hidden;
|
|
1135
|
-
clip: rect(0, 0, 0, 0);
|
|
1136
|
-
white-space: nowrap;
|
|
1137
|
-
border-width: 0;
|
|
1138
|
-
}
|
|
1139
|
-
|
|
1140
|
-
.svg-inline--fa .fa-primary {
|
|
1141
|
-
fill: var(--fa-primary-color, currentColor);
|
|
1142
|
-
opacity: var(--fa-primary-opacity, 1);
|
|
1143
|
-
}
|
|
1144
|
-
|
|
1145
|
-
.svg-inline--fa .fa-secondary {
|
|
1146
|
-
fill: var(--fa-secondary-color, currentColor);
|
|
1147
|
-
opacity: var(--fa-secondary-opacity, 0.4);
|
|
1148
|
-
}
|
|
1149
|
-
|
|
1150
|
-
.svg-inline--fa.fa-swap-opacity .fa-primary {
|
|
1151
|
-
opacity: var(--fa-secondary-opacity, 0.4);
|
|
1152
|
-
}
|
|
1153
|
-
|
|
1154
|
-
.svg-inline--fa.fa-swap-opacity .fa-secondary {
|
|
1155
|
-
opacity: var(--fa-primary-opacity, 1);
|
|
1156
|
-
}
|
|
1157
|
-
|
|
1158
|
-
.svg-inline--fa mask .fa-primary,
|
|
1159
|
-
.svg-inline--fa mask .fa-secondary {
|
|
1160
|
-
fill: black;
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
|
-
.fad.fa-inverse,
|
|
1164
|
-
.fa-duotone.fa-inverse {
|
|
1165
|
-
color: var(--fa-inverse, #fff);
|
|
1166
|
-
}`;function DI(){var e=kI,t=MI,r=_r.familyPrefix,n=_r.replacementClass,i=mQ;if(r!==e||n!==t){var a=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");i=i.replace(a,".".concat(r,"-")).replace(o,"--".concat(r,"-")).replace(l,".".concat(n))}return i}var EO=!1;function ax(){_r.autoAddCss&&!EO&&(dQ(DI()),EO=!0)}var yQ={mixout:function(){return{dom:{css:DI,insertCss:ax}}},hooks:function(){return{beforeDOMElementCreation:function(){ax()},beforeI2svg:function(){ax()}}}},Xu=ls||{};Xu[Yu]||(Xu[Yu]={});Xu[Yu].styles||(Xu[Yu].styles={});Xu[Yu].hooks||(Xu[Yu].hooks={});Xu[Yu].shims||(Xu[Yu].shims=[]);var Co=Xu[Yu],$I=[],bQ=function e(){_n.removeEventListener("DOMContentLoaded",e),U0=1,$I.map(function(t){return t()})},U0=!1;nl&&(U0=(_n.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(_n.readyState),U0||_n.addEventListener("DOMContentLoaded",bQ));function xQ(e){!nl||(U0?setTimeout(e,0):$I.push(e))}function tv(e){var t=e.tag,r=e.attributes,n=r===void 0?{}:r,i=e.children,a=i===void 0?[]:i;return typeof e=="string"?LI(e):"<".concat(t," ").concat(pQ(n),">").concat(a.map(tv).join(""),"</").concat(t,">")}function AO(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var wQ=function(t,r){return function(n,i,a,o){return t.call(r,n,i,a,o)}},ox=function(t,r,n,i){var a=Object.keys(t),o=a.length,l=i!==void 0?wQ(r,i):r,f,c,p;for(n===void 0?(f=1,p=t[a[0]]):(f=0,p=n);f<o;f++)c=a[f],p=l(p,t[c],c,t);return p};function _Q(e){for(var t=[],r=0,n=e.length;r<n;){var i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var a=e.charCodeAt(r++);(a&64512)==56320?t.push(((i&1023)<<10)+(a&1023)+65536):(t.push(i),r--)}else t.push(i)}return t}function Ww(e){var t=_Q(e);return t.length===1?t[0].toString(16):null}function SQ(e,t){var r=e.length,n=e.charCodeAt(t),i;return n>=55296&&n<=56319&&r>t+1&&(i=e.charCodeAt(t+1),i>=56320&&i<=57343)?(n-55296)*1024+i-56320+65536:n}function TO(e){return Object.keys(e).reduce(function(t,r){var n=e[r],i=!!n.icon;return i?t[n.iconName]=n.icon:t[r]=n,t},{})}function Gw(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.skipHooks,i=n===void 0?!1:n,a=TO(t);typeof Co.hooks.addPack=="function"&&!i?Co.hooks.addPack(e,TO(t)):Co.styles[e]=tr(tr({},Co.styles[e]||{}),a),e==="fas"&&Gw("fa",t)}var sp=Co.styles,EQ=Co.shims,AQ=Object.values(NI),lS=null,zI={},BI={},jI={},UI={},HI={},TQ=Object.keys(aS);function CQ(e){return~oQ.indexOf(e)}function OQ(e,t){var r=t.split("-"),n=r[0],i=r.slice(1).join("-");return n===e&&i!==""&&!CQ(i)?i:null}var WI=function(){var t=function(a){return ox(sp,function(o,l,f){return o[f]=ox(l,a,{}),o},{})};zI=t(function(i,a,o){if(a[3]&&(i[a[3]]=o),a[2]){var l=a[2].filter(function(f){return typeof f=="number"});l.forEach(function(f){i[f.toString(16)]=o})}return i}),BI=t(function(i,a,o){if(i[o]=o,a[2]){var l=a[2].filter(function(f){return typeof f=="string"});l.forEach(function(f){i[f]=o})}return i}),HI=t(function(i,a,o){var l=a[2];return i[o]=o,l.forEach(function(f){i[f]=o}),i});var r="far"in sp||_r.autoFetchSvg,n=ox(EQ,function(i,a){var o=a[0],l=a[1],f=a[2];return l==="far"&&!r&&(l="fas"),typeof o=="string"&&(i.names[o]={prefix:l,iconName:f}),typeof o=="number"&&(i.unicodes[o.toString(16)]={prefix:l,iconName:f}),i},{names:{},unicodes:{}});jI=n.names,UI=n.unicodes,lS=$m(_r.styleDefault)};cQ(function(e){lS=$m(e.styleDefault)});WI();function sS(e,t){return(zI[e]||{})[t]}function kQ(e,t){return(BI[e]||{})[t]}function Pc(e,t){return(HI[e]||{})[t]}function GI(e){return jI[e]||{prefix:null,iconName:null}}function MQ(e){var t=UI[e],r=sS("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function ss(){return lS}var fS=function(){return{prefix:null,iconName:null,rest:[]}};function $m(e){var t=aS[e],r=j0[e]||j0[t],n=e in Co.styles?e:null;return r||n||null}function zm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipLookups,n=r===void 0?!1:r,i=null,a=e.reduce(function(o,l){var f=OQ(_r.familyPrefix,l);if(sp[l]?(l=AQ.includes(l)?eQ[l]:l,i=l,o.prefix=l):TQ.indexOf(l)>-1?(i=l,o.prefix=$m(l)):f?o.iconName=f:l!==_r.replacementClass&&o.rest.push(l),!n&&o.prefix&&o.iconName){var c=i==="fa"?GI(o.iconName):{},p=Pc(o.prefix,o.iconName);c.prefix&&(i=null),o.iconName=c.iconName||p||o.iconName,o.prefix=c.prefix||o.prefix,o.prefix==="far"&&!sp.far&&sp.fas&&!_r.autoFetchSvg&&(o.prefix="fas")}return o},fS());return(a.prefix==="fa"||i==="fa")&&(a.prefix=ss()||"fas"),a}var PQ=function(){function e(){jX(this,e),this.definitions={}}return UX(e,[{key:"add",value:function(){for(var r=this,n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];var o=i.reduce(this._pullDefinitions,{});Object.keys(o).forEach(function(l){r.definitions[l]=tr(tr({},r.definitions[l]||{}),o[l]),Gw(l,o[l]);var f=NI[l];f&&Gw(f,o[l]),WI()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(r,n){var i=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(i).map(function(a){var o=i[a],l=o.prefix,f=o.iconName,c=o.icon,p=c[2];r[l]||(r[l]={}),p.length>0&&p.forEach(function(_){typeof _=="string"&&(r[l][_]=c)}),r[l][f]=c}),r}}]),e}(),CO=[],Nc={},Qc={},NQ=Object.keys(Qc);function RQ(e,t){var r=t.mixoutsTo;return CO=e,Nc={},Object.keys(Qc).forEach(function(n){NQ.indexOf(n)===-1&&delete Qc[n]}),CO.forEach(function(n){var i=n.mixout?n.mixout():{};if(Object.keys(i).forEach(function(o){typeof i[o]=="function"&&(r[o]=i[o]),B0(i[o])==="object"&&Object.keys(i[o]).forEach(function(l){r[o]||(r[o]={}),r[o][l]=i[o][l]})}),n.hooks){var a=n.hooks();Object.keys(a).forEach(function(o){Nc[o]||(Nc[o]=[]),Nc[o].push(a[o])})}n.provides&&n.provides(Qc)}),r}function qw(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];var a=Nc[e]||[];return a.forEach(function(o){t=o.apply(null,[t].concat(n))}),t}function pf(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=Nc[e]||[];i.forEach(function(a){a.apply(null,r)})}function Qu(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Qc[e]?Qc[e].apply(null,t):void 0}function Vw(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,r=e.prefix||ss();if(!!t)return t=Pc(r,t)||t,AO(qI.definitions,r,t)||AO(Co.styles,r,t)}var qI=new PQ,IQ=function(){_r.autoReplaceSvg=!1,_r.observeMutations=!1,pf("noAuto")},FQ={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return nl?(pf("beforeI2svg",t),Qu("pseudoElements2svg",t),Qu("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.autoReplaceSvgRoot;_r.autoReplaceSvg===!1&&(_r.autoReplaceSvg=!0),_r.observeMutations=!0,xQ(function(){DQ({autoReplaceSvgRoot:r}),pf("watch",t)})}},LQ={icon:function(t){if(t===null)return null;if(B0(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:Pc(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var r=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],n=$m(t[0]);return{prefix:n,iconName:Pc(n,r)||r}}if(typeof t=="string"&&(t.indexOf("".concat(_r.familyPrefix,"-"))>-1||t.match(tQ))){var i=zm(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||ss(),iconName:Pc(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var a=ss();return{prefix:a,iconName:Pc(a,t)||t}}}},La={noAuto:IQ,config:_r,dom:FQ,parse:LQ,library:qI,findIconDefinition:Vw,toHtml:tv},DQ=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.autoReplaceSvgRoot,n=r===void 0?_n:r;(Object.keys(Co.styles).length>0||_r.autoFetchSvg)&&nl&&_r.autoReplaceSvg&&La.dom.i2svg({node:n})};function Bm(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(n){return tv(n)})}}),Object.defineProperty(e,"node",{get:function(){if(!!nl){var n=_n.createElement("div");return n.innerHTML=e.html,n.children}}}),e}function $Q(e){var t=e.children,r=e.main,n=e.mask,i=e.attributes,a=e.styles,o=e.transform;if(uS(o)&&r.found&&!n.found){var l=r.width,f=r.height,c={x:l/f/2,y:.5};i.style=Dm(tr(tr({},a),{},{"transform-origin":"".concat(c.x+o.x/16,"em ").concat(c.y+o.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function zQ(e){var t=e.prefix,r=e.iconName,n=e.children,i=e.attributes,a=e.symbol,o=a===!0?"".concat(t,"-").concat(_r.familyPrefix,"-").concat(r):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:tr(tr({},i),{},{id:o}),children:n}]}]}function cS(e){var t=e.icons,r=t.main,n=t.mask,i=e.prefix,a=e.iconName,o=e.transform,l=e.symbol,f=e.title,c=e.maskId,p=e.titleId,_=e.extra,x=e.watchable,b=x===void 0?!1:x,C=n.found?n:r,R=C.width,E=C.height,S=i==="fak",T=[_r.replacementClass,a?"".concat(_r.familyPrefix,"-").concat(a):""].filter(function(ue){return _.classes.indexOf(ue)===-1}).filter(function(ue){return ue!==""||!!ue}).concat(_.classes).join(" "),P={children:[],attributes:tr(tr({},_.attributes),{},{"data-prefix":i,"data-icon":a,class:T,role:_.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(R," ").concat(E)})},M=S&&!~_.classes.indexOf("fa-fw")?{width:"".concat(R/E*16*.0625,"em")}:{};b&&(P.attributes[hf]=""),f&&(P.children.push({tag:"title",attributes:{id:P.attributes["aria-labelledby"]||"title-".concat(p||Fp())},children:[f]}),delete P.attributes.title);var L=tr(tr({},P),{},{prefix:i,iconName:a,main:r,mask:n,maskId:c,transform:o,symbol:l,styles:tr(tr({},M),_.styles)}),v=n.found&&r.found?Qu("generateAbstractMask",L)||{children:[],attributes:{}}:Qu("generateAbstractIcon",L)||{children:[],attributes:{}},K=v.children,q=v.attributes;return L.children=K,L.attributes=q,l?zQ(L):$Q(L)}function OO(e){var t=e.content,r=e.width,n=e.height,i=e.transform,a=e.title,o=e.extra,l=e.watchable,f=l===void 0?!1:l,c=tr(tr(tr({},o.attributes),a?{title:a}:{}),{},{class:o.classes.join(" ")});f&&(c[hf]="");var p=tr({},o.styles);uS(i)&&(p.transform=gQ({transform:i,startCentered:!0,width:r,height:n}),p["-webkit-transform"]=p.transform);var _=Dm(p);_.length>0&&(c.style=_);var x=[];return x.push({tag:"span",attributes:c,children:[t]}),a&&x.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),x}function BQ(e){var t=e.content,r=e.title,n=e.extra,i=tr(tr(tr({},n.attributes),r?{title:r}:{}),{},{class:n.classes.join(" ")}),a=Dm(n.styles);a.length>0&&(i.style=a);var o=[];return o.push({tag:"span",attributes:i,children:[t]}),r&&o.push({tag:"span",attributes:{class:"sr-only"},children:[r]}),o}var ux=Co.styles;function Yw(e){var t=e[0],r=e[1],n=e.slice(4),i=tS(n,1),a=i[0],o=null;return Array.isArray(a)?o={tag:"g",attributes:{class:"".concat(_r.familyPrefix,"-").concat(Js.GROUP)},children:[{tag:"path",attributes:{class:"".concat(_r.familyPrefix,"-").concat(Js.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(_r.familyPrefix,"-").concat(Js.PRIMARY),fill:"currentColor",d:a[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:a}},{found:!0,width:t,height:r,icon:o}}var jQ={found:!1,width:512,height:512};function UQ(e,t){!PI&&!_r.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Xw(e,t){var r=t;return t==="fa"&&_r.styleDefault!==null&&(t=ss()),new Promise(function(n,i){if(Qu("missingIconAbstract"),r==="fa"){var a=GI(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&ux[t]&&ux[t][e]){var o=ux[t][e];return n(Yw(o))}UQ(e,t),n(tr(tr({},jQ),{},{icon:_r.showMissingIcons&&e?Qu("missingIconAbstract")||{}:{}}))})}var kO=function(){},Qw=_r.measurePerformance&&pg&&pg.mark&&pg.measure?pg:{mark:kO,measure:kO},Uh='FA "6.1.1"',HQ=function(t){return Qw.mark("".concat(Uh," ").concat(t," begins")),function(){return VI(t)}},VI=function(t){Qw.mark("".concat(Uh," ").concat(t," ends")),Qw.measure("".concat(Uh," ").concat(t),"".concat(Uh," ").concat(t," begins"),"".concat(Uh," ").concat(t," ends"))},dS={begin:HQ,end:VI},$g=function(){};function MO(e){var t=e.getAttribute?e.getAttribute(hf):null;return typeof t=="string"}function WQ(e){var t=e.getAttribute?e.getAttribute(nS):null,r=e.getAttribute?e.getAttribute(iS):null;return t&&r}function GQ(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(_r.replacementClass)}function qQ(){if(_r.autoReplaceSvg===!0)return zg.replace;var e=zg[_r.autoReplaceSvg];return e||zg.replace}function VQ(e){return _n.createElementNS("http://www.w3.org/2000/svg",e)}function YQ(e){return _n.createElement(e)}function YI(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ceFn,n=r===void 0?e.tag==="svg"?VQ:YQ:r;if(typeof e=="string")return _n.createTextNode(e);var i=n(e.tag);Object.keys(e.attributes||[]).forEach(function(o){i.setAttribute(o,e.attributes[o])});var a=e.children||[];return a.forEach(function(o){i.appendChild(YI(o,{ceFn:n}))}),i}function XQ(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var zg={replace:function(t){var r=t[0];if(r.parentNode)if(t[1].forEach(function(i){r.parentNode.insertBefore(YI(i),r)}),r.getAttribute(hf)===null&&_r.keepOriginalSource){var n=_n.createComment(XQ(r));r.parentNode.replaceChild(n,r)}else r.remove()},nest:function(t){var r=t[0],n=t[1];if(~oS(r).indexOf(_r.replacementClass))return zg.replace(t);var i=new RegExp("".concat(_r.familyPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var a=n[0].attributes.class.split(" ").reduce(function(l,f){return f===_r.replacementClass||f.match(i)?l.toSvg.push(f):l.toNode.push(f),l},{toNode:[],toSvg:[]});n[0].attributes.class=a.toSvg.join(" "),a.toNode.length===0?r.removeAttribute("class"):r.setAttribute("class",a.toNode.join(" "))}var o=n.map(function(l){return tv(l)}).join(`
|
|
1167
|
-
`);r.setAttribute(hf,""),r.innerHTML=o}};function PO(e){e()}function XI(e,t){var r=typeof t=="function"?t:$g;if(e.length===0)r();else{var n=PO;_r.mutateApproach===KX&&(n=ls.requestAnimationFrame||PO),n(function(){var i=qQ(),a=dS.begin("mutate");e.map(i),a(),r()})}}var hS=!1;function QI(){hS=!0}function Zw(){hS=!1}var H0=null;function NO(e){if(!!_O&&!!_r.observeMutations){var t=e.treeCallback,r=t===void 0?$g:t,n=e.nodeCallback,i=n===void 0?$g:n,a=e.pseudoElementsCallback,o=a===void 0?$g:a,l=e.observeMutationsRoot,f=l===void 0?_n:l;H0=new _O(function(c){if(!hS){var p=ss();Ed(c).forEach(function(_){if(_.type==="childList"&&_.addedNodes.length>0&&!MO(_.addedNodes[0])&&(_r.searchPseudoElements&&o(_.target),r(_.target)),_.type==="attributes"&&_.target.parentNode&&_r.searchPseudoElements&&o(_.target.parentNode),_.type==="attributes"&&MO(_.target)&&~aQ.indexOf(_.attributeName))if(_.attributeName==="class"&&WQ(_.target)){var x=zm(oS(_.target)),b=x.prefix,C=x.iconName;_.target.setAttribute(nS,b||p),C&&_.target.setAttribute(iS,C)}else GQ(_.target)&&i(_.target)})}}),nl&&H0.observe(f,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function QQ(){!H0||H0.disconnect()}function ZQ(e){var t=e.getAttribute("style"),r=[];return t&&(r=t.split(";").reduce(function(n,i){var a=i.split(":"),o=a[0],l=a.slice(1);return o&&l.length>0&&(n[o]=l.join(":").trim()),n},{})),r}function KQ(e){var t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"",i=zm(oS(e));return i.prefix||(i.prefix=ss()),t&&r&&(i.prefix=t,i.iconName=r),i.iconName&&i.prefix||i.prefix&&n.length>0&&(i.iconName=kQ(i.prefix,e.innerText)||sS(i.prefix,Ww(e.innerText))),i}function JQ(e){var t=Ed(e.attributes).reduce(function(i,a){return i.name!=="class"&&i.name!=="style"&&(i[a.name]=a.value),i},{}),r=e.getAttribute("title"),n=e.getAttribute("data-fa-title-id");return _r.autoA11y&&(r?t["aria-labelledby"]="".concat(_r.replacementClass,"-title-").concat(n||Fp()):(t["aria-hidden"]="true",t.focusable="false")),t}function eZ(){return{iconName:null,title:null,titleId:null,prefix:null,transform:iu,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function RO(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},r=KQ(e),n=r.iconName,i=r.prefix,a=r.rest,o=JQ(e),l=qw("parseNodeAttributes",{},e),f=t.styleParser?ZQ(e):[];return tr({iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:iu,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:f,attributes:o}},l)}var tZ=Co.styles;function ZI(e){var t=_r.autoReplaceSvg==="nest"?RO(e,{styleParser:!1}):RO(e);return~t.extra.classes.indexOf(RI)?Qu("generateLayersText",e,t):Qu("generateSvgReplacementMutation",e,t)}function IO(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!nl)return Promise.resolve();var r=_n.documentElement.classList,n=function(_){return r.add("".concat(SO,"-").concat(_))},i=function(_){return r.remove("".concat(SO,"-").concat(_))},a=_r.autoFetchSvg?Object.keys(aS):Object.keys(tZ),o=[".".concat(RI,":not([").concat(hf,"])")].concat(a.map(function(p){return".".concat(p,":not([").concat(hf,"])")})).join(", ");if(o.length===0)return Promise.resolve();var l=[];try{l=Ed(e.querySelectorAll(o))}catch{}if(l.length>0)n("pending"),i("complete");else return Promise.resolve();var f=dS.begin("onTree"),c=l.reduce(function(p,_){try{var x=ZI(_);x&&p.push(x)}catch(b){PI||b.name==="MissingIcon"&&console.error(b)}return p},[]);return new Promise(function(p,_){Promise.all(c).then(function(x){XI(x,function(){n("active"),n("complete"),i("pending"),typeof t=="function"&&t(),f(),p()})}).catch(function(x){f(),_(x)})})}function rZ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;ZI(e).then(function(r){r&&XI([r],t)})}function nZ(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(t||{}).icon?t:Vw(t||{}),i=r.mask;return i&&(i=(i||{}).icon?i:Vw(i||{})),e(n,tr(tr({},r),{},{mask:i}))}}var iZ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.transform,i=n===void 0?iu:n,a=r.symbol,o=a===void 0?!1:a,l=r.mask,f=l===void 0?null:l,c=r.maskId,p=c===void 0?null:c,_=r.title,x=_===void 0?null:_,b=r.titleId,C=b===void 0?null:b,R=r.classes,E=R===void 0?[]:R,S=r.attributes,T=S===void 0?{}:S,P=r.styles,M=P===void 0?{}:P;if(!!t){var L=t.prefix,v=t.iconName,K=t.icon;return Bm(tr({type:"icon"},t),function(){return pf("beforeDOMElementCreation",{iconDefinition:t,params:r}),_r.autoA11y&&(x?T["aria-labelledby"]="".concat(_r.replacementClass,"-title-").concat(C||Fp()):(T["aria-hidden"]="true",T.focusable="false")),cS({icons:{main:Yw(K),mask:f?Yw(f.icon):{found:!1,width:null,height:null,icon:{}}},prefix:L,iconName:v,transform:tr(tr({},iu),i),symbol:o,title:x,maskId:p,titleId:C,extra:{attributes:T,styles:M,classes:E}})})}},aZ={mixout:function(){return{icon:nZ(iZ)}},hooks:function(){return{mutationObserverCallbacks:function(r){return r.treeCallback=IO,r.nodeCallback=rZ,r}}},provides:function(t){t.i2svg=function(r){var n=r.node,i=n===void 0?_n:n,a=r.callback,o=a===void 0?function(){}:a;return IO(i,o)},t.generateSvgReplacementMutation=function(r,n){var i=n.iconName,a=n.title,o=n.titleId,l=n.prefix,f=n.transform,c=n.symbol,p=n.mask,_=n.maskId,x=n.extra;return new Promise(function(b,C){Promise.all([Xw(i,l),p.iconName?Xw(p.iconName,p.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(R){var E=tS(R,2),S=E[0],T=E[1];b([r,cS({icons:{main:S,mask:T},prefix:l,iconName:i,transform:f,symbol:c,maskId:_,title:a,titleId:o,extra:x,watchable:!0})])}).catch(C)})},t.generateAbstractIcon=function(r){var n=r.children,i=r.attributes,a=r.main,o=r.transform,l=r.styles,f=Dm(l);f.length>0&&(i.style=f);var c;return uS(o)&&(c=Qu("generateAbstractTransformGrouping",{main:a,transform:o,containerWidth:a.width,iconWidth:a.width})),n.push(c||a.icon),{children:n,attributes:i}}}},oZ={mixout:function(){return{layer:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.classes,a=i===void 0?[]:i;return Bm({type:"layer"},function(){pf("beforeDOMElementCreation",{assembler:r,params:n});var o=[];return r(function(l){Array.isArray(l)?l.map(function(f){o=o.concat(f.abstract)}):o=o.concat(l.abstract)}),[{tag:"span",attributes:{class:["".concat(_r.familyPrefix,"-layers")].concat(Lm(a)).join(" ")},children:o}]})}}}},uZ={mixout:function(){return{counter:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.title,a=i===void 0?null:i,o=n.classes,l=o===void 0?[]:o,f=n.attributes,c=f===void 0?{}:f,p=n.styles,_=p===void 0?{}:p;return Bm({type:"counter",content:r},function(){return pf("beforeDOMElementCreation",{content:r,params:n}),BQ({content:r.toString(),title:a,extra:{attributes:c,styles:_,classes:["".concat(_r.familyPrefix,"-layers-counter")].concat(Lm(l))}})})}}}},lZ={mixout:function(){return{text:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.transform,a=i===void 0?iu:i,o=n.title,l=o===void 0?null:o,f=n.classes,c=f===void 0?[]:f,p=n.attributes,_=p===void 0?{}:p,x=n.styles,b=x===void 0?{}:x;return Bm({type:"text",content:r},function(){return pf("beforeDOMElementCreation",{content:r,params:n}),OO({content:r,transform:tr(tr({},iu),a),title:l,extra:{attributes:_,styles:b,classes:["".concat(_r.familyPrefix,"-layers-text")].concat(Lm(c))}})})}}},provides:function(t){t.generateLayersText=function(r,n){var i=n.title,a=n.transform,o=n.extra,l=null,f=null;if(OI){var c=parseInt(getComputedStyle(r).fontSize,10),p=r.getBoundingClientRect();l=p.width/c,f=p.height/c}return _r.autoA11y&&!i&&(o.attributes["aria-hidden"]="true"),Promise.resolve([r,OO({content:r.innerHTML,width:l,height:f,transform:a,title:i,extra:o,watchable:!0})])}}},sZ=new RegExp('"',"ug"),FO=[1105920,1112319];function fZ(e){var t=e.replace(sZ,""),r=SQ(t,0),n=r>=FO[0]&&r<=FO[1],i=t.length===2?t[0]===t[1]:!1;return{value:Ww(i?t[0]:t),isSecondary:n||i}}function LO(e,t){var r="".concat(ZX).concat(t.replace(":","-"));return new Promise(function(n,i){if(e.getAttribute(r)!==null)return n();var a=Ed(e.children),o=a.filter(function(v){return v.getAttribute(Hw)===t})[0],l=ls.getComputedStyle(e,t),f=l.getPropertyValue("font-family").match(rQ),c=l.getPropertyValue("font-weight"),p=l.getPropertyValue("content");if(o&&!f)return e.removeChild(o),n();if(f&&p!=="none"&&p!==""){var _=l.getPropertyValue("content"),x=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(f[2])?j0[f[2].toLowerCase()]:nQ[c],b=fZ(_),C=b.value,R=b.isSecondary,E=f[0].startsWith("FontAwesome"),S=sS(x,C),T=S;if(E){var P=MQ(C);P.iconName&&P.prefix&&(S=P.iconName,x=P.prefix)}if(S&&!R&&(!o||o.getAttribute(nS)!==x||o.getAttribute(iS)!==T)){e.setAttribute(r,T),o&&e.removeChild(o);var M=eZ(),L=M.extra;L.attributes[Hw]=t,Xw(S,x).then(function(v){var K=cS(tr(tr({},M),{},{icons:{main:v,mask:fS()},prefix:x,iconName:T,extra:L,watchable:!0})),q=_n.createElement("svg");t==="::before"?e.insertBefore(q,e.firstChild):e.appendChild(q),q.outerHTML=K.map(function(ue){return tv(ue)}).join(`
|
|
1168
|
-
`),e.removeAttribute(r),n()}).catch(i)}else n()}else n()})}function cZ(e){return Promise.all([LO(e,"::before"),LO(e,"::after")])}function dZ(e){return e.parentNode!==document.head&&!~JX.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Hw)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function DO(e){if(!!nl)return new Promise(function(t,r){var n=Ed(e.querySelectorAll("*")).filter(dZ).map(cZ),i=dS.begin("searchPseudoElements");QI(),Promise.all(n).then(function(){i(),Zw(),t()}).catch(function(){i(),Zw(),r()})})}var hZ={hooks:function(){return{mutationObserverCallbacks:function(r){return r.pseudoElementsCallback=DO,r}}},provides:function(t){t.pseudoElements2svg=function(r){var n=r.node,i=n===void 0?_n:n;_r.searchPseudoElements&&DO(i)}}},$O=!1,pZ={mixout:function(){return{dom:{unwatch:function(){QI(),$O=!0}}}},hooks:function(){return{bootstrap:function(){NO(qw("mutationObserverCallbacks",{}))},noAuto:function(){QQ()},watch:function(r){var n=r.observeMutationsRoot;$O?Zw():NO(qw("mutationObserverCallbacks",{observeMutationsRoot:n}))}}}},zO=function(t){var r={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(n,i){var a=i.toLowerCase().split("-"),o=a[0],l=a.slice(1).join("-");if(o&&l==="h")return n.flipX=!0,n;if(o&&l==="v")return n.flipY=!0,n;if(l=parseFloat(l),isNaN(l))return n;switch(o){case"grow":n.size=n.size+l;break;case"shrink":n.size=n.size-l;break;case"left":n.x=n.x-l;break;case"right":n.x=n.x+l;break;case"up":n.y=n.y-l;break;case"down":n.y=n.y+l;break;case"rotate":n.rotate=n.rotate+l;break}return n},r)},vZ={mixout:function(){return{parse:{transform:function(r){return zO(r)}}}},hooks:function(){return{parseNodeAttributes:function(r,n){var i=n.getAttribute("data-fa-transform");return i&&(r.transform=zO(i)),r}}},provides:function(t){t.generateAbstractTransformGrouping=function(r){var n=r.main,i=r.transform,a=r.containerWidth,o=r.iconWidth,l={transform:"translate(".concat(a/2," 256)")},f="translate(".concat(i.x*32,", ").concat(i.y*32,") "),c="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),p="rotate(".concat(i.rotate," 0 0)"),_={transform:"".concat(f," ").concat(c," ").concat(p)},x={transform:"translate(".concat(o/2*-1," -256)")},b={outer:l,inner:_,path:x};return{tag:"g",attributes:tr({},b.outer),children:[{tag:"g",attributes:tr({},b.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:tr(tr({},n.icon.attributes),b.path)}]}]}}}},lx={x:0,y:0,width:"100%",height:"100%"};function BO(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function gZ(e){return e.tag==="g"?e.children:[e]}var mZ={hooks:function(){return{parseNodeAttributes:function(r,n){var i=n.getAttribute("data-fa-mask"),a=i?zm(i.split(" ").map(function(o){return o.trim()})):fS();return a.prefix||(a.prefix=ss()),r.mask=a,r.maskId=n.getAttribute("data-fa-mask-id"),r}}},provides:function(t){t.generateAbstractMask=function(r){var n=r.children,i=r.attributes,a=r.main,o=r.mask,l=r.maskId,f=r.transform,c=a.width,p=a.icon,_=o.width,x=o.icon,b=vQ({transform:f,containerWidth:_,iconWidth:c}),C={tag:"rect",attributes:tr(tr({},lx),{},{fill:"white"})},R=p.children?{children:p.children.map(BO)}:{},E={tag:"g",attributes:tr({},b.inner),children:[BO(tr({tag:p.tag,attributes:tr(tr({},p.attributes),b.path)},R))]},S={tag:"g",attributes:tr({},b.outer),children:[E]},T="mask-".concat(l||Fp()),P="clip-".concat(l||Fp()),M={tag:"mask",attributes:tr(tr({},lx),{},{id:T,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[C,S]},L={tag:"defs",children:[{tag:"clipPath",attributes:{id:P},children:gZ(x)},M]};return n.push(L,{tag:"rect",attributes:tr({fill:"currentColor","clip-path":"url(#".concat(P,")"),mask:"url(#".concat(T,")")},lx)}),{children:n,attributes:i}}}},yZ={provides:function(t){var r=!1;ls.matchMedia&&(r=ls.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var n=[],i={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};n.push({tag:"path",attributes:tr(tr({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=tr(tr({},a),{},{attributeName:"opacity"}),l={tag:"circle",attributes:tr(tr({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return r||l.children.push({tag:"animate",attributes:tr(tr({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:tr(tr({},o),{},{values:"1;0;1;1;0;1;"})}),n.push(l),n.push({tag:"path",attributes:tr(tr({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:r?[]:[{tag:"animate",attributes:tr(tr({},o),{},{values:"1;0;0;0;0;1;"})}]}),r||n.push({tag:"path",attributes:tr(tr({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:tr(tr({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:n}}}},bZ={hooks:function(){return{parseNodeAttributes:function(r,n){var i=n.getAttribute("data-fa-symbol"),a=i===null?!1:i===""?!0:i;return r.symbol=a,r}}}},xZ=[yQ,aZ,oZ,uZ,lZ,hZ,pZ,vZ,mZ,yZ,bZ];RQ(xZ,{mixoutsTo:La});La.noAuto;La.config;La.library;La.dom;var Kw=La.parse;La.findIconDefinition;La.toHtml;var wZ=La.icon;La.layer;La.text;La.counter;function jO(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Hl(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?jO(Object(r),!0).forEach(function(n){Rc(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jO(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function W0(e){return W0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},W0(e)}function Rc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _Z(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function KI(e,t){if(e==null)return{};var r=_Z(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,n)||(r[n]=e[n]))}return r}function Jw(e){return SZ(e)||EZ(e)||AZ(e)||TZ()}function SZ(e){if(Array.isArray(e))return e_(e)}function EZ(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function AZ(e,t){if(!!e){if(typeof e=="string")return e_(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e_(e,t)}}function e_(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function TZ(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1169
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function CZ(e){var t,r=e.beat,n=e.fade,i=e.beatFade,a=e.bounce,o=e.shake,l=e.flash,f=e.spin,c=e.spinPulse,p=e.spinReverse,_=e.pulse,x=e.fixedWidth,b=e.inverse,C=e.border,R=e.listItem,E=e.flip,S=e.size,T=e.rotation,P=e.pull,M=(t={"fa-beat":r,"fa-fade":n,"fa-beat-fade":i,"fa-bounce":a,"fa-shake":o,"fa-flash":l,"fa-spin":f,"fa-spin-reverse":p,"fa-spin-pulse":c,"fa-pulse":_,"fa-fw":x,"fa-inverse":b,"fa-border":C,"fa-li":R,"fa-flip-horizontal":E==="horizontal"||E==="both","fa-flip-vertical":E==="vertical"||E==="both"},Rc(t,"fa-".concat(S),typeof S<"u"&&S!==null),Rc(t,"fa-rotate-".concat(T),typeof T<"u"&&T!==null&&T!==0),Rc(t,"fa-pull-".concat(P),typeof P<"u"&&P!==null),Rc(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(M).map(function(L){return M[L]?L:null}).filter(function(L){return L})}function OZ(e){return e=e-0,e===e}function JI(e){return OZ(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,r){return r?r.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var kZ=["style"];function MZ(e){return e.charAt(0).toUpperCase()+e.slice(1)}function PZ(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,r){var n=r.indexOf(":"),i=JI(r.slice(0,n)),a=r.slice(n+1).trim();return i.startsWith("webkit")?t[MZ(i)]=a:t[i]=a,t},{})}function e4(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var n=(t.children||[]).map(function(f){return e4(e,f)}),i=Object.keys(t.attributes||{}).reduce(function(f,c){var p=t.attributes[c];switch(c){case"class":f.attrs.className=p,delete t.attributes.class;break;case"style":f.attrs.style=PZ(p);break;default:c.indexOf("aria-")===0||c.indexOf("data-")===0?f.attrs[c.toLowerCase()]=p:f.attrs[JI(c)]=p}return f},{attrs:{}}),a=r.style,o=a===void 0?{}:a,l=KI(r,kZ);return i.attrs.style=Hl(Hl({},i.attrs.style),o),e.apply(void 0,[t.tag,Hl(Hl({},i.attrs),l)].concat(Jw(n)))}var t4=!1;try{t4=!0}catch{}function NZ(){if(!t4&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function UO(e){if(e&&W0(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Kw.icon)return Kw.icon(e);if(e===null)return null;if(e&&W0(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function sx(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Rc({},e,t):{}}var RZ=["forwardedRef"];function jm(e){var t=e.forwardedRef,r=KI(e,RZ),n=r.icon,i=r.mask,a=r.symbol,o=r.className,l=r.title,f=r.titleId,c=r.maskId,p=UO(n),_=sx("classes",[].concat(Jw(CZ(r)),Jw(o.split(" ")))),x=sx("transform",typeof r.transform=="string"?Kw.transform(r.transform):r.transform),b=sx("mask",UO(i)),C=wZ(p,Hl(Hl(Hl(Hl({},_),x),b),{},{symbol:a,title:l,titleId:f,maskId:c}));if(!C)return NZ("Could not find icon",p),null;var R=C.abstract,E={ref:t};return Object.keys(r).forEach(function(S){jm.defaultProps.hasOwnProperty(S)||(E[S]=r[S])}),IZ(R[0],E)}jm.displayName="FontAwesomeIcon";jm.propTypes={beat:Ur.exports.bool,border:Ur.exports.bool,bounce:Ur.exports.bool,className:Ur.exports.string,fade:Ur.exports.bool,flash:Ur.exports.bool,mask:Ur.exports.oneOfType([Ur.exports.object,Ur.exports.array,Ur.exports.string]),maskId:Ur.exports.string,fixedWidth:Ur.exports.bool,inverse:Ur.exports.bool,flip:Ur.exports.oneOf(["horizontal","vertical","both"]),icon:Ur.exports.oneOfType([Ur.exports.object,Ur.exports.array,Ur.exports.string]),listItem:Ur.exports.bool,pull:Ur.exports.oneOf(["right","left"]),pulse:Ur.exports.bool,rotation:Ur.exports.oneOf([0,90,180,270]),shake:Ur.exports.bool,size:Ur.exports.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Ur.exports.bool,spinPulse:Ur.exports.bool,spinReverse:Ur.exports.bool,symbol:Ur.exports.oneOfType([Ur.exports.bool,Ur.exports.string]),title:Ur.exports.string,titleId:Ur.exports.string,transform:Ur.exports.oneOfType([Ur.exports.string,Ur.exports.object]),swapOpacity:Ur.exports.bool};jm.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var IZ=e4.bind(null,Ii.createElement),r4={exports:{}},n4={exports:{}},Bg=1;function FZ(){return Bg=(Bg*9301+49297)%233280,Bg/233280}function LZ(e){Bg=e}var DZ={nextValue:FZ,seed:LZ},t_=DZ,Vs="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-",Wl,HO,Hh;function r_(){Hh=!1}function i4(e){if(!e){Wl!==Vs&&(Wl=Vs,r_());return}if(e!==Wl){if(e.length!==Vs.length)throw new Error("Custom alphabet for shortid must be "+Vs.length+" unique characters. You submitted "+e.length+" characters: "+e);var t=e.split("").filter(function(r,n,i){return n!==i.lastIndexOf(r)});if(t.length)throw new Error("Custom alphabet for shortid must be "+Vs.length+" unique characters. These characters were not unique: "+t.join(", "));Wl=e,r_()}}function $Z(e){return i4(e),Wl}function zZ(e){t_.seed(e),HO!==e&&(r_(),HO=e)}function BZ(){Wl||i4(Vs);for(var e=Wl.split(""),t=[],r=t_.nextValue(),n;e.length>0;)r=t_.nextValue(),n=Math.floor(r*e.length),t.push(e.splice(n,1)[0]);return t.join("")}function a4(){return Hh||(Hh=BZ(),Hh)}function jZ(e){var t=a4();return t[e]}function UZ(){return Wl||Vs}var pS={get:UZ,characters:$Z,seed:zZ,lookup:jZ,shuffled:a4},fx=typeof window=="object"&&(window.crypto||window.msCrypto),n_;!fx||!fx.getRandomValues?n_=function(e){for(var t=[],r=0;r<e;r++)t.push(Math.floor(Math.random()*256));return t}:n_=function(e){return fx.getRandomValues(new Uint8Array(e))};var HZ=n_,WZ=function(e,t,r){for(var n=(2<<Math.log(t.length-1)/Math.LN2)-1,i=-~(1.6*n*r/t.length),a="";;)for(var o=e(i),l=i;l--;)if(a+=t[o[l]&n]||"",a.length===+r)return a},GZ=pS,qZ=HZ,VZ=WZ;function YZ(e){for(var t=0,r,n="";!r;)n=n+VZ(qZ,GZ.get(),1),r=e<Math.pow(16,t+1),t++;return n}var XZ=YZ,vg=XZ,QZ=1567752802062,ZZ=7,gg,WO;function KZ(e){var t="",r=Math.floor((Date.now()-QZ)*.001);return r===WO?gg++:(gg=0,WO=r),t=t+vg(ZZ),t=t+vg(e),gg>0&&(t=t+vg(gg)),t=t+vg(r),t}var JZ=KZ,eK=pS;function tK(e){if(!e||typeof e!="string"||e.length<6)return!1;var t=new RegExp("[^"+eK.get().replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&")+"]");return!t.test(e)}var rK=tK;(function(e){var t=pS,r=JZ,n=rK,i=0;function a(c){return t.seed(c),e.exports}function o(c){return i=c,e.exports}function l(c){return c!==void 0&&t.characters(c),t.shuffled()}function f(){return r(i)}e.exports=f,e.exports.generate=f,e.exports.seed=a,e.exports.worker=o,e.exports.characters=l,e.exports.isValid=n})(n4);(function(e){e.exports=n4.exports})(r4);const Ote=s_(r4.exports);var nK=Ii.createContext(null);function iK(e){e()}var o4=iK,aK=function(t){return o4=t},oK=function(){return o4};function uK(){var e=oK(),t=null,r=null;return{clear:function(){t=null,r=null},notify:function(){e(function(){for(var i=t;i;)i.callback(),i=i.next})},get:function(){for(var i=[],a=t;a;)i.push(a),a=a.next;return i},subscribe:function(i){var a=!0,o=r={callback:i,next:null,prev:r};return o.prev?o.prev.next=o:t=o,function(){!a||t===null||(a=!1,o.next?o.next.prev=o.prev:r=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}var GO={notify:function(){},get:function(){return[]}};function lK(e,t){var r,n=GO;function i(_){return f(),n.subscribe(_)}function a(){n.notify()}function o(){p.onStateChange&&p.onStateChange()}function l(){return Boolean(r)}function f(){r||(r=t?t.addNestedSub(o):e.subscribe(o),n=uK())}function c(){r&&(r(),r=void 0,n.clear(),n=GO)}var p={addNestedSub:i,notifyNestedSubs:a,handleChangeWrapper:o,isSubscribed:l,trySubscribe:f,tryUnsubscribe:c,getListeners:function(){return n}};return p}var sK=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?Ar.exports.useLayoutEffect:Ar.exports.useEffect,u4={exports:{}},nn={};/** @license React v16.13.1
|
|
1170
|
-
* react-is.production.min.js
|
|
1171
|
-
*
|
|
1172
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1173
|
-
*
|
|
1174
|
-
* This source code is licensed under the MIT license found in the
|
|
1175
|
-
* LICENSE file in the root directory of this source tree.
|
|
1176
|
-
*/var Si=typeof Symbol=="function"&&Symbol.for,vS=Si?Symbol.for("react.element"):60103,gS=Si?Symbol.for("react.portal"):60106,Um=Si?Symbol.for("react.fragment"):60107,Hm=Si?Symbol.for("react.strict_mode"):60108,Wm=Si?Symbol.for("react.profiler"):60114,Gm=Si?Symbol.for("react.provider"):60109,qm=Si?Symbol.for("react.context"):60110,mS=Si?Symbol.for("react.async_mode"):60111,Vm=Si?Symbol.for("react.concurrent_mode"):60111,Ym=Si?Symbol.for("react.forward_ref"):60112,Xm=Si?Symbol.for("react.suspense"):60113,fK=Si?Symbol.for("react.suspense_list"):60120,Qm=Si?Symbol.for("react.memo"):60115,Zm=Si?Symbol.for("react.lazy"):60116,cK=Si?Symbol.for("react.block"):60121,dK=Si?Symbol.for("react.fundamental"):60117,hK=Si?Symbol.for("react.responder"):60118,pK=Si?Symbol.for("react.scope"):60119;function Da(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case vS:switch(e=e.type,e){case mS:case Vm:case Um:case Wm:case Hm:case Xm:return e;default:switch(e=e&&e.$$typeof,e){case qm:case Ym:case Zm:case Qm:case Gm:return e;default:return t}}case gS:return t}}}function l4(e){return Da(e)===Vm}nn.AsyncMode=mS;nn.ConcurrentMode=Vm;nn.ContextConsumer=qm;nn.ContextProvider=Gm;nn.Element=vS;nn.ForwardRef=Ym;nn.Fragment=Um;nn.Lazy=Zm;nn.Memo=Qm;nn.Portal=gS;nn.Profiler=Wm;nn.StrictMode=Hm;nn.Suspense=Xm;nn.isAsyncMode=function(e){return l4(e)||Da(e)===mS};nn.isConcurrentMode=l4;nn.isContextConsumer=function(e){return Da(e)===qm};nn.isContextProvider=function(e){return Da(e)===Gm};nn.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===vS};nn.isForwardRef=function(e){return Da(e)===Ym};nn.isFragment=function(e){return Da(e)===Um};nn.isLazy=function(e){return Da(e)===Zm};nn.isMemo=function(e){return Da(e)===Qm};nn.isPortal=function(e){return Da(e)===gS};nn.isProfiler=function(e){return Da(e)===Wm};nn.isStrictMode=function(e){return Da(e)===Hm};nn.isSuspense=function(e){return Da(e)===Xm};nn.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Um||e===Vm||e===Wm||e===Hm||e===Xm||e===fK||typeof e=="object"&&e!==null&&(e.$$typeof===Zm||e.$$typeof===Qm||e.$$typeof===Gm||e.$$typeof===qm||e.$$typeof===Ym||e.$$typeof===dK||e.$$typeof===hK||e.$$typeof===pK||e.$$typeof===cK)};nn.typeOf=Da;(function(e){e.exports=nn})(u4);var yS=u4.exports,vK={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},gK={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},mK={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s4={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},bS={};bS[yS.ForwardRef]=mK;bS[yS.Memo]=s4;function qO(e){return yS.isMemo(e)?s4:bS[e.$$typeof]||vK}var yK=Object.defineProperty,bK=Object.getOwnPropertyNames,VO=Object.getOwnPropertySymbols,xK=Object.getOwnPropertyDescriptor,wK=Object.getPrototypeOf,YO=Object.prototype;function f4(e,t,r){if(typeof t!="string"){if(YO){var n=wK(t);n&&n!==YO&&f4(e,n,r)}var i=bK(t);VO&&(i=i.concat(VO(t)));for(var a=qO(e),o=qO(t),l=0;l<i.length;++l){var f=i[l];if(!gK[f]&&!(r&&r[f])&&!(o&&o[f])&&!(a&&a[f])){var c=xK(t,f);try{yK(e,f,c)}catch{}}}}return e}var XO=f4,c4={exports:{}},dn={};/** @license React v17.0.2
|
|
1177
|
-
* react-is.production.min.js
|
|
1178
|
-
*
|
|
1179
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1180
|
-
*
|
|
1181
|
-
* This source code is licensed under the MIT license found in the
|
|
1182
|
-
* LICENSE file in the root directory of this source tree.
|
|
1183
|
-
*/var Km=60103,Jm=60106,rv=60107,nv=60108,iv=60114,av=60109,ov=60110,uv=60112,lv=60113,xS=60120,sv=60115,fv=60116,d4=60121,h4=60122,p4=60117,v4=60129,g4=60131;if(typeof Symbol=="function"&&Symbol.for){var ki=Symbol.for;Km=ki("react.element"),Jm=ki("react.portal"),rv=ki("react.fragment"),nv=ki("react.strict_mode"),iv=ki("react.profiler"),av=ki("react.provider"),ov=ki("react.context"),uv=ki("react.forward_ref"),lv=ki("react.suspense"),xS=ki("react.suspense_list"),sv=ki("react.memo"),fv=ki("react.lazy"),d4=ki("react.block"),h4=ki("react.server.block"),p4=ki("react.fundamental"),v4=ki("react.debug_trace_mode"),g4=ki("react.legacy_hidden")}function Mo(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Km:switch(e=e.type,e){case rv:case iv:case nv:case lv:case xS:return e;default:switch(e=e&&e.$$typeof,e){case ov:case uv:case fv:case sv:case av:return e;default:return t}}case Jm:return t}}}var _K=av,SK=Km,EK=uv,AK=rv,TK=fv,CK=sv,OK=Jm,kK=iv,MK=nv,PK=lv;dn.ContextConsumer=ov;dn.ContextProvider=_K;dn.Element=SK;dn.ForwardRef=EK;dn.Fragment=AK;dn.Lazy=TK;dn.Memo=CK;dn.Portal=OK;dn.Profiler=kK;dn.StrictMode=MK;dn.Suspense=PK;dn.isAsyncMode=function(){return!1};dn.isConcurrentMode=function(){return!1};dn.isContextConsumer=function(e){return Mo(e)===ov};dn.isContextProvider=function(e){return Mo(e)===av};dn.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Km};dn.isForwardRef=function(e){return Mo(e)===uv};dn.isFragment=function(e){return Mo(e)===rv};dn.isLazy=function(e){return Mo(e)===fv};dn.isMemo=function(e){return Mo(e)===sv};dn.isPortal=function(e){return Mo(e)===Jm};dn.isProfiler=function(e){return Mo(e)===iv};dn.isStrictMode=function(e){return Mo(e)===nv};dn.isSuspense=function(e){return Mo(e)===lv};dn.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===rv||e===iv||e===v4||e===nv||e===lv||e===xS||e===g4||typeof e=="object"&&e!==null&&(e.$$typeof===fv||e.$$typeof===sv||e.$$typeof===av||e.$$typeof===ov||e.$$typeof===uv||e.$$typeof===p4||e.$$typeof===d4||e[0]===h4)};dn.typeOf=Mo;(function(e){e.exports=dn})(c4);var NK=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],RK=["reactReduxForwardedRef"],IK=[],FK=[null,null];function LK(e,t){var r=e[1];return[t.payload,r+1]}function QO(e,t,r){sK(function(){return e.apply(void 0,t)},r)}function DK(e,t,r,n,i,a,o){e.current=n,t.current=i,r.current=!1,a.current&&(a.current=null,o())}function $K(e,t,r,n,i,a,o,l,f,c){if(!!e){var p=!1,_=null,x=function(){if(!p){var R=t.getState(),E,S;try{E=n(R,i.current)}catch(T){S=T,_=T}S||(_=null),E===a.current?o.current||f():(a.current=E,l.current=E,o.current=!0,c({type:"STORE_UPDATED",payload:{error:S}}))}};r.onStateChange=x,r.trySubscribe(),x();var b=function(){if(p=!0,r.tryUnsubscribe(),r.onStateChange=null,_)throw _};return b}}var zK=function(){return[null,0]};function BK(e,t){t===void 0&&(t={});var r=t,n=r.getDisplayName,i=n===void 0?function(P){return"ConnectAdvanced("+P+")"}:n,a=r.methodName,o=a===void 0?"connectAdvanced":a,l=r.renderCountProp,f=l===void 0?void 0:l,c=r.shouldHandleStateChanges,p=c===void 0?!0:c,_=r.storeKey,x=_===void 0?"store":_;r.withRef;var b=r.forwardRef,C=b===void 0?!1:b,R=r.context,E=R===void 0?nK:R,S=ld(r,NK),T=E;return function(M){var L=M.displayName||M.name||"Component",v=i(L),K=fu({},S,{getDisplayName:i,methodName:o,renderCountProp:f,shouldHandleStateChanges:p,storeKey:x,displayName:v,wrappedComponentName:L,WrappedComponent:M}),q=S.pure;function ue(Xe){return e(Xe.dispatch,K)}var Ie=q?Ar.exports.useMemo:function(Xe){return Xe()};function Ce(Xe){var Et=Ar.exports.useMemo(function(){var kr=Xe.reactReduxForwardedRef,qr=ld(Xe,RK);return[Xe.context,kr,qr]},[Xe]),yt=Et[0],Ze=Et[1],it=Et[2],Ut=Ar.exports.useMemo(function(){return yt&&yt.Consumer&&c4.exports.isContextConsumer(Ii.createElement(yt.Consumer,null))?yt:T},[yt,T]),bt=Ar.exports.useContext(Ut),Le=Boolean(Xe.store)&&Boolean(Xe.store.getState)&&Boolean(Xe.store.dispatch);Boolean(bt)&&Boolean(bt.store);var ut=Le?Xe.store:bt.store,At=Ar.exports.useMemo(function(){return ue(ut)},[ut]),st=Ar.exports.useMemo(function(){if(!p)return FK;var kr=lK(ut,Le?null:bt.subscription),qr=kr.notifyNestedSubs.bind(kr);return[kr,qr]},[ut,Le,bt]),Ct=st[0],Lt=st[1],hr=Ar.exports.useMemo(function(){return Le?bt:fu({},bt,{subscription:Ct})},[Le,bt,Ct]),mr=Ar.exports.useReducer(LK,IK,zK),at=mr[0],Gt=at[0],fr=mr[1];if(Gt&&Gt.error)throw Gt.error;var je=Ar.exports.useRef(),Y=Ar.exports.useRef(it),he=Ar.exports.useRef(),J=Ar.exports.useRef(!1),Te=Ie(function(){return he.current&&it===Y.current?he.current:At(ut.getState(),it)},[ut,Gt,it]);QO(DK,[Y,je,J,it,Te,he,Lt]),QO($K,[p,ut,Ct,At,Y,je,J,he,Lt,fr],[ut,Ct,At]);var wt=Ar.exports.useMemo(function(){return su(M,{...Te,ref:Ze})},[Ze,M,Te]),Dt=Ar.exports.useMemo(function(){return p?su(Ut.Provider,{value:hr,children:wt}):wt},[Ut,wt,hr]);return Dt}var De=q?Ii.memo(Ce):Ce;if(De.WrappedComponent=M,De.displayName=Ce.displayName=v,C){var Ye=Ii.forwardRef(function(Et,yt){return su(De,{...Et,reactReduxForwardedRef:yt})});return Ye.displayName=v,Ye.WrappedComponent=M,XO(Ye,M)}return XO(De,M)}}function ZO(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function cx(e,t){if(ZO(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var i=0;i<r.length;i++)if(!Object.prototype.hasOwnProperty.call(t,r[i])||!ZO(e[r[i]],t[r[i]]))return!1;return!0}function jK(e,t){var r={},n=function(o){var l=e[o];typeof l=="function"&&(r[o]=function(){return t(l.apply(void 0,arguments))})};for(var i in e)n(i);return r}function wS(e){return function(r,n){var i=e(r,n);function a(){return i}return a.dependsOnOwnProps=!1,a}}function KO(e){return e.dependsOnOwnProps!==null&&e.dependsOnOwnProps!==void 0?Boolean(e.dependsOnOwnProps):e.length!==1}function m4(e,t){return function(n,i){i.displayName;var a=function(l,f){return a.dependsOnOwnProps?a.mapToProps(l,f):a.mapToProps(l)};return a.dependsOnOwnProps=!0,a.mapToProps=function(l,f){a.mapToProps=e,a.dependsOnOwnProps=KO(e);var c=a(l,f);return typeof c=="function"&&(a.mapToProps=c,a.dependsOnOwnProps=KO(c),c=a(l,f)),c},a}}function UK(e){return typeof e=="function"?m4(e):void 0}function HK(e){return e?void 0:wS(function(t){return{dispatch:t}})}function WK(e){return e&&typeof e=="object"?wS(function(t){return jK(e,t)}):void 0}const GK=[UK,HK,WK];function qK(e){return typeof e=="function"?m4(e):void 0}function VK(e){return e?void 0:wS(function(){return{}})}const YK=[qK,VK];function XK(e,t,r){return fu({},r,e,t)}function QK(e){return function(r,n){n.displayName;var i=n.pure,a=n.areMergedPropsEqual,o=!1,l;return function(c,p,_){var x=e(c,p,_);return o?(!i||!a(x,l))&&(l=x):(o=!0,l=x),l}}}function ZK(e){return typeof e=="function"?QK(e):void 0}function KK(e){return e?void 0:function(){return XK}}const JK=[ZK,KK];var eJ=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function tJ(e,t,r,n){return function(a,o){return r(e(a,o),t(n,o),o)}}function rJ(e,t,r,n,i){var a=i.areStatesEqual,o=i.areOwnPropsEqual,l=i.areStatePropsEqual,f=!1,c,p,_,x,b;function C(P,M){return c=P,p=M,_=e(c,p),x=t(n,p),b=r(_,x,p),f=!0,b}function R(){return _=e(c,p),t.dependsOnOwnProps&&(x=t(n,p)),b=r(_,x,p),b}function E(){return e.dependsOnOwnProps&&(_=e(c,p)),t.dependsOnOwnProps&&(x=t(n,p)),b=r(_,x,p),b}function S(){var P=e(c,p),M=!l(P,_);return _=P,M&&(b=r(_,x,p)),b}function T(P,M){var L=!o(M,p),v=!a(P,c);return c=P,p=M,L&&v?R():L?E():v?S():b}return function(M,L){return f?T(M,L):C(M,L)}}function nJ(e,t){var r=t.initMapStateToProps,n=t.initMapDispatchToProps,i=t.initMergeProps,a=ld(t,eJ),o=r(e,a),l=n(e,a),f=i(e,a),c=a.pure?rJ:tJ;return c(o,l,f,e,a)}var iJ=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function dx(e,t,r){for(var n=t.length-1;n>=0;n--){var i=t[n](e);if(i)return i}return function(a,o){throw new Error("Invalid value of type "+typeof e+" for "+r+" argument when connecting component "+o.wrappedComponentName+".")}}function aJ(e,t){return e===t}function oJ(e){var t=e===void 0?{}:e,r=t.connectHOC,n=r===void 0?BK:r,i=t.mapStateToPropsFactories,a=i===void 0?YK:i,o=t.mapDispatchToPropsFactories,l=o===void 0?GK:o,f=t.mergePropsFactories,c=f===void 0?JK:f,p=t.selectorFactory,_=p===void 0?nJ:p;return function(b,C,R,E){E===void 0&&(E={});var S=E,T=S.pure,P=T===void 0?!0:T,M=S.areStatesEqual,L=M===void 0?aJ:M,v=S.areOwnPropsEqual,K=v===void 0?cx:v,q=S.areStatePropsEqual,ue=q===void 0?cx:q,Ie=S.areMergedPropsEqual,Ce=Ie===void 0?cx:Ie,De=ld(S,iJ),Ye=dx(b,a,"mapStateToProps"),Xe=dx(C,l,"mapDispatchToProps"),Et=dx(R,c,"mergeProps");return n(_,fu({methodName:"connect",getDisplayName:function(Ze){return"Connect("+Ze+")"},shouldHandleStateChanges:Boolean(b),initMapStateToProps:Ye,initMapDispatchToProps:Xe,initMergeProps:Et,pure:P,areStatesEqual:L,areOwnPropsEqual:K,areStatePropsEqual:ue,areMergedPropsEqual:Ce},De))}}const y4=oJ();aK(f_.exports.unstable_batchedUpdates);function uJ(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function b4(e,t){var r=Ar.exports.useState(function(){return{inputs:t,result:e()}})[0],n=Ar.exports.useRef(!0),i=Ar.exports.useRef(r),a=n.current||Boolean(t&&i.current.inputs&&uJ(t,i.current.inputs)),o=a?i.current:{inputs:t,result:e()};return Ar.exports.useEffect(function(){n.current=!1,i.current=o},[o]),o.result}function lJ(e,t){return b4(function(){return e},t)}var ta=b4,yi=lJ,sJ=!0,hx="Invariant failed";function fJ(e,t){if(!e){if(sJ)throw new Error(hx);var r=typeof t=="function"?t():t,n=r?hx+": "+r:hx;throw new Error(n)}}var Ic=function(t){var r=t.top,n=t.right,i=t.bottom,a=t.left,o=n-a,l=i-r,f={top:r,right:n,bottom:i,left:a,width:o,height:l,x:a,y:r,center:{x:(n+a)/2,y:(i+r)/2}};return f},x4=function(t,r){return{top:t.top-r.top,left:t.left-r.left,bottom:t.bottom+r.bottom,right:t.right+r.right}},JO=function(t,r){return{top:t.top+r.top,left:t.left+r.left,bottom:t.bottom-r.bottom,right:t.right-r.right}},cJ=function(t,r){return{top:t.top+r.y,left:t.left+r.x,bottom:t.bottom+r.y,right:t.right+r.x}},px={top:0,right:0,bottom:0,left:0},_S=function(t){var r=t.borderBox,n=t.margin,i=n===void 0?px:n,a=t.border,o=a===void 0?px:a,l=t.padding,f=l===void 0?px:l,c=Ic(x4(r,i)),p=Ic(JO(r,o)),_=Ic(JO(p,f));return{marginBox:c,borderBox:Ic(r),paddingBox:p,contentBox:_,margin:i,border:o,padding:f}},Ja=function(t){var r=t.slice(0,-2),n=t.slice(-2);if(n!=="px")return 0;var i=Number(r);return isNaN(i)&&fJ(!1),i},dJ=function(){return{x:window.pageXOffset,y:window.pageYOffset}},hJ=function(t,r){var n=t.borderBox,i=t.border,a=t.margin,o=t.padding,l=cJ(n,r);return _S({borderBox:l,border:i,margin:a,padding:o})},i_=function(t,r){return r===void 0&&(r=dJ()),hJ(t,r)},w4=function(t,r){var n={top:Ja(r.marginTop),right:Ja(r.marginRight),bottom:Ja(r.marginBottom),left:Ja(r.marginLeft)},i={top:Ja(r.paddingTop),right:Ja(r.paddingRight),bottom:Ja(r.paddingBottom),left:Ja(r.paddingLeft)},a={top:Ja(r.borderTopWidth),right:Ja(r.borderRightWidth),bottom:Ja(r.borderBottomWidth),left:Ja(r.borderLeftWidth)};return _S({borderBox:t,margin:n,padding:i,border:a})},_4=function(t){var r=t.getBoundingClientRect(),n=window.getComputedStyle(t);return w4(r,n)},pJ=function(t){var r=[],n=null,i=function(){for(var o=arguments.length,l=new Array(o),f=0;f<o;f++)l[f]=arguments[f];r=l,!n&&(n=requestAnimationFrame(function(){n=null,t.apply(void 0,r)}))};return i.cancel=function(){!n||(cancelAnimationFrame(n),n=null)},i};const vJ=pJ;function S4(e,t){}S4.bind(null,"warn");S4.bind(null,"error");function gJ(){}function mJ(e,t){return fu({},e,{},t)}function yJ(e,t,r){var n=t.map(function(i){var a=mJ(r,i.options);return e.addEventListener(i.eventName,i.fn,a),function(){e.removeEventListener(i.eventName,i.fn,a)}});return function(){n.forEach(function(a){a()})}}var bJ="Invariant failed";function G0(e){this.message=e}G0.prototype.toString=function(){return this.message};function Ra(e,t){if(!e)throw new G0(bJ)}(function(e){Zp(t,e);function t(){for(var n,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return n=e.call.apply(e,[this].concat(a))||this,n.callbacks=null,n.unbind=gJ,n.onWindowError=function(l){var f=n.getCallbacks();f.isDragging()&&f.tryAbort();var c=l.error;c instanceof G0&&l.preventDefault()},n.getCallbacks=function(){if(!n.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return n.callbacks},n.setCallbacks=function(l){n.callbacks=l},n}var r=t.prototype;return r.componentDidMount=function(){this.unbind=yJ(window,[{eventName:"error",fn:this.onWindowError}])},r.componentDidCatch=function(i){if(i instanceof G0){this.setState({});return}throw i},r.componentWillUnmount=function(){this.unbind()},r.render=function(){return this.props.children(this.setCallbacks)},t})(Ii.Component);var vf={x:0,y:0},xJ=function(t,r){return{x:t.x-r.x,y:t.y-r.y}},wJ=function(t,r){return t.x===r.x&&t.y===r.y},_J=function(t){return{x:t.x!==0?-t.x:0,y:t.y!==0?-t.y:0}},SJ=function(t,r,n){var i;return n===void 0&&(n=0),i={},i[t]=r,i[t==="x"?"y":"x"]=n,i},EJ=function(e,t){var r=Ic({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 r.width<=0||r.height<=0?null:r},AJ=function(t,r){return{top:t.top+r.y,left:t.left+r.x,bottom:t.bottom+r.y,right:t.right+r.x}},TJ={top:0,right:0,bottom:0,left:0},CJ=function(t,r){return r?AJ(t,r.scroll.diff.displacement):t},OJ=function(t,r,n){if(n&&n.increasedBy){var i;return fu({},t,(i={},i[r.end]=t[r.end]+n.increasedBy[r.line],i))}return t},kJ=function(t,r){return r&&r.shouldClipSubject?EJ(r.pageMarginBox,t):Ic(t)},MJ=function(e){var t=e.page,r=e.withPlaceholder,n=e.axis,i=e.frame,a=CJ(t.marginBox,i),o=OJ(a,n,r),l=kJ(o,i);return{page:t,withPlaceholder:r,active:l}};function E4(e){return Object.values?Object.values(e):Object.keys(e).map(function(t){return e[t]})}function PJ(e,t){if(e.findIndex)return e.findIndex(t);for(var r=0;r<e.length;r++)if(t(e[r]))return r;return-1}function A4(e,t){if(e.find)return e.find(t);var r=PJ(e,t);if(r!==-1)return e[r]}Gn(function(e){return e.reduce(function(t,r){return t[r.descriptor.id]=r,t},{})});Gn(function(e){return e.reduce(function(t,r){return t[r.descriptor.id]=r,t},{})});var NJ=Gn(function(e){return E4(e)}),RJ=Gn(function(e){return E4(e)});Gn(function(e,t){var r=RJ(t).filter(function(n){return e===n.descriptor.droppableId}).sort(function(n,i){return n.descriptor.index-i.descriptor.index});return r});function IJ(e){return e.at&&e.at.type==="COMBINE"?e.at.combine:null}Gn(function(e,t){return t.filter(function(r){return r.descriptor.id!==e.descriptor.id})});var FJ={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},LJ={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"};Gn(function(t,r){var n=r[t.line];return{value:n,point:SJ(t.line,n)}});var jg=function(e){var t=e.at;return t?t.type==="REORDER"?t.destination.droppableId:t.combine.droppableId:null},DJ=function(t){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:t}},$J=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}},SS={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Lp={opacity:{drop:0,combining:.7},scale:{drop:.75}},zJ={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},js=zJ.outOfTheWay+"s "+SS.outOfTheWay,Ug={fluid:"opacity "+js,snap:"transform "+js+", opacity "+js,drop:function(t){var r=t+"s "+SS.drop;return"transform "+r+", opacity "+r},outOfTheWay:"transform "+js,placeholder:"height "+js+", width "+js+", margin "+js},e5=function(t){return wJ(t,vf)?null:"translate("+t.x+"px, "+t.y+"px)"},a_={moveTo:e5,drop:function(t,r){var n=e5(t);return n?r?n+" scale("+Lp.scale.drop+")":n:null}},T4=function(e){var t=e.scrollHeight,r=e.scrollWidth,n=e.height,i=e.width,a=xJ({x:r,y:t},{x:i,y:n}),o={x:Math.max(0,a.x),y:Math.max(0,a.y)};return o},BJ=function(){var e=document.documentElement;return e||Ra(!1),e},jJ=function(){var e=BJ(),t=T4({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight});return t};Gn(function(e){return NJ(e).filter(function(t){return!(!t.isEnabled||!t.frame)})});var UJ="data-rbd",t5={contextId:UJ+"-scroll-container-context-id"},fp=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?Ar.exports.useLayoutEffect:Ar.exports.useEffect,C4=Ii.createContext(null),HJ=0,WJ={separator:"::"};function O4(e,t){return t===void 0&&(t=WJ),ta(function(){return""+e+t.separator+HJ++},[t.separator,e])}var ES=Ii.createContext(null);function GJ(e){var t=Ar.exports.useRef(e);return Ar.exports.useEffect(function(){t.current=e}),t}var qJ=9,VJ=13,YJ=33,XJ=34,QJ=35,ZJ=36,mg;mg={},mg[VJ]=!0,mg[qJ]=!0;(function(){var e="visibilitychange";if(typeof document>"u")return e;var t=[e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],r=A4(t,function(n){return"on"+n in document});return r||e})();var mc;mc={},mc[XJ]=!0,mc[YJ]=!0,mc[ZJ]=!0,mc[QJ]=!0;(function(){var e="matches";if(typeof document>"u")return e;var t=[e,"msMatchesSelector","webkitMatchesSelector"],r=A4(t,function(n){return n in Element.prototype});return r||e})();var k4=function(t){return function(r){return t===r}},KJ=k4("scroll"),JJ=k4("auto"),r5=function(t,r){return r(t.overflowX)||r(t.overflowY)},eee=function(t){var r=window.getComputedStyle(t),n={overflowX:r.overflowX,overflowY:r.overflowY};return r5(n,KJ)||r5(n,JJ)},tee=function(){return!1},ree=function e(t){return t==null?null:t===document.body?tee()?t:null:t===document.documentElement?null:eee(t)?t:e(t.parentElement)},o_=function(e){return{x:e.scrollLeft,y:e.scrollTop}},nee=function e(t){if(!t)return!1;var r=window.getComputedStyle(t);return r.position==="fixed"?!0:e(t.parentElement)},iee=function(e){var t=ree(e),r=nee(e);return{closestScrollable:t,isFixedOnPage:r}},aee=function(e){var t=e.descriptor,r=e.isEnabled,n=e.isCombineEnabled,i=e.isFixedOnPage,a=e.direction,o=e.client,l=e.page,f=e.closest,c=function(){if(!f)return null;var b=f.scrollSize,C=f.client,R=T4({scrollHeight:b.scrollHeight,scrollWidth:b.scrollWidth,height:C.paddingBox.height,width:C.paddingBox.width});return{pageMarginBox:f.page.marginBox,frameClient:C,scrollSize:b,shouldClipSubject:f.shouldClipSubject,scroll:{initial:f.scroll,current:f.scroll,max:R,diff:{value:vf,displacement:vf}}}}(),p=a==="vertical"?FJ:LJ,_=MJ({page:l,withPlaceholder:null,axis:p,frame:c}),x={descriptor:t,isCombineEnabled:n,isFixedOnPage:i,axis:p,isEnabled:r,client:o,page:l,frame:c,subject:_};return x},oee=function(t,r){var n=_4(t);if(!r||t!==r)return n;var i=n.paddingBox.top-r.scrollTop,a=n.paddingBox.left-r.scrollLeft,o=i+r.scrollHeight,l=a+r.scrollWidth,f={top:i,right:l,bottom:o,left:a},c=x4(f,n.border),p=_S({borderBox:c,margin:n.margin,border:n.border,padding:n.padding});return p},uee=function(e){var t=e.ref,r=e.descriptor,n=e.env,i=e.windowScroll,a=e.direction,o=e.isDropDisabled,l=e.isCombineEnabled,f=e.shouldClipSubject,c=n.closestScrollable,p=oee(t,c),_=i_(p,i),x=function(){if(!c)return null;var C=_4(c),R={scrollHeight:c.scrollHeight,scrollWidth:c.scrollWidth};return{client:C,page:i_(C,i),scroll:o_(c),scrollSize:R,shouldClipSubject:f}}(),b=aee({descriptor:r,isEnabled:!o,isCombineEnabled:l,isFixedOnPage:n.isFixedOnPage,direction:a,client:p,page:_,closest:x});return b},lee={passive:!1},see={passive:!0},n5=function(e){return e.shouldPublishImmediately?lee:see};function q0(e){var t=Ar.exports.useContext(e);return t||Ra(!1),t}var yg=function(t){return t&&t.env.closestScrollable||null};function fee(e){var t=Ar.exports.useRef(null),r=q0(ES),n=O4("droppable"),i=r.registry,a=r.marshal,o=GJ(e),l=ta(function(){return{id:e.droppableId,type:e.type,mode:e.mode}},[e.droppableId,e.mode,e.type]),f=Ar.exports.useRef(l),c=ta(function(){return Gn(function(M,L){t.current||Ra(!1);var v={x:M,y:L};a.updateDroppableScroll(l.id,v)})},[l.id,a]),p=yi(function(){var M=t.current;return!M||!M.env.closestScrollable?vf:o_(M.env.closestScrollable)},[]),_=yi(function(){var M=p();c(M.x,M.y)},[p,c]),x=ta(function(){return vJ(_)},[_]),b=yi(function(){var M=t.current,L=yg(M);M&&L||Ra(!1);var v=M.scrollOptions;if(v.shouldPublishImmediately){_();return}x()},[x,_]),C=yi(function(M,L){t.current&&Ra(!1);var v=o.current,K=v.getDroppableRef();K||Ra(!1);var q=iee(K),ue={ref:K,descriptor:l,env:q,scrollOptions:L};t.current=ue;var Ie=uee({ref:K,descriptor:l,env:q,windowScroll:M,direction:v.direction,isDropDisabled:v.isDropDisabled,isCombineEnabled:v.isCombineEnabled,shouldClipSubject:!v.ignoreContainerClipping}),Ce=q.closestScrollable;return Ce&&(Ce.setAttribute(t5.contextId,r.contextId),Ce.addEventListener("scroll",b,n5(ue.scrollOptions))),Ie},[r.contextId,l,b,o]),R=yi(function(){var M=t.current,L=yg(M);return M&&L||Ra(!1),o_(L)},[]),E=yi(function(){var M=t.current;M||Ra(!1);var L=yg(M);t.current=null,L&&(x.cancel(),L.removeAttribute(t5.contextId),L.removeEventListener("scroll",b,n5(M.scrollOptions)))},[b,x]),S=yi(function(M){var L=t.current;L||Ra(!1);var v=yg(L);v||Ra(!1),v.scrollTop+=M.y,v.scrollLeft+=M.x},[]),T=ta(function(){return{getDimensionAndWatchScroll:C,getScrollWhileDragging:R,dragStopped:E,scroll:S}},[E,C,R,S]),P=ta(function(){return{uniqueId:n,descriptor:l,callbacks:T}},[T,l,n]);fp(function(){return f.current=P.descriptor,i.droppable.register(P),function(){t.current&&E(),i.droppable.unregister(P)}},[T,l,E,P,a,i.droppable]),fp(function(){!t.current||a.updateDroppableIsEnabled(f.current.id,!e.isDropDisabled)},[e.isDropDisabled,a]),fp(function(){!t.current||a.updateDroppableIsCombineEnabled(f.current.id,e.isCombineEnabled)},[e.isCombineEnabled,a])}function vx(){}var i5={width:0,height:0,margin:TJ},cee=function(t){var r=t.isAnimatingOpenOnMount,n=t.placeholder,i=t.animate;return r||i==="close"?i5:{height:n.client.borderBox.height,width:n.client.borderBox.width,margin:n.client.margin}},dee=function(t){var r=t.isAnimatingOpenOnMount,n=t.placeholder,i=t.animate,a=cee({isAnimatingOpenOnMount:r,placeholder:n,animate:i});return{display:n.display,boxSizing:"border-box",width:a.width,height:a.height,marginTop:a.margin.top,marginRight:a.margin.right,marginBottom:a.margin.bottom,marginLeft:a.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:i!=="none"?Ug.placeholder:null}};function hee(e){var t=Ar.exports.useRef(null),r=yi(function(){!t.current||(clearTimeout(t.current),t.current=null)},[]),n=e.animate,i=e.onTransitionEnd,a=e.onClose,o=e.contextId,l=Ar.exports.useState(e.animate==="open"),f=l[0],c=l[1];Ar.exports.useEffect(function(){return f?n!=="open"?(r(),c(!1),vx):t.current?vx:(t.current=setTimeout(function(){t.current=null,c(!1)}),r):vx},[n,f,r]);var p=yi(function(x){x.propertyName==="height"&&(i(),n==="close"&&a())},[n,a,i]),_=dee({isAnimatingOpenOnMount:f,animate:e.animate,placeholder:e.placeholder});return Ii.createElement(e.placeholder.tagName,{style:_,"data-rbd-placeholder-context-id":o,onTransitionEnd:p,ref:e.innerRef})}var pee=Ii.memo(hee),AS=Ii.createContext(null),vee=function(e){Zp(t,e);function t(){for(var n,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return n=e.call.apply(e,[this].concat(a))||this,n.state={isVisible:Boolean(n.props.on),data:n.props.on,animate:n.props.shouldAnimate&&n.props.on?"open":"none"},n.onClose=function(){n.state.animate==="close"&&n.setState({isVisible:!1})},n}t.getDerivedStateFromProps=function(i,a){return i.shouldAnimate?i.on?{isVisible:!0,data:i.on,animate:"open"}:a.isVisible?{isVisible:!0,data:a.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(i.on),data:i.on,animate:"none"}};var r=t.prototype;return r.render=function(){if(!this.state.isVisible)return null;var i={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(i)},t}(Ii.PureComponent),a5={dragging:5e3,dropAnimating:4500},gee=function(t,r){return r?Ug.drop(r.duration):t?Ug.snap:Ug.fluid},mee=function(t,r){return t?r?Lp.opacity.drop:Lp.opacity.combining:null},yee=function(t){return t.forceShouldAnimate!=null?t.forceShouldAnimate:t.mode==="SNAP"};function bee(e){var t=e.dimension,r=t.client,n=e.offset,i=e.combineWith,a=e.dropping,o=Boolean(i),l=yee(e),f=Boolean(a),c=f?a_.drop(n,o):a_.moveTo(n),p={position:"fixed",top:r.marginBox.top,left:r.marginBox.left,boxSizing:"border-box",width:r.borderBox.width,height:r.borderBox.height,transition:gee(l,a),transform:c,opacity:mee(o,f),zIndex:f?a5.dropAnimating:a5.dragging,pointerEvents:"none"};return p}function xee(e){return{transform:a_.moveTo(e.offset),transition:e.shouldAnimateDisplacement?null:"none"}}function wee(e){return e.type==="DRAGGING"?bee(e):xee(e)}function _ee(e,t,r){r===void 0&&(r=vf);var n=window.getComputedStyle(t),i=t.getBoundingClientRect(),a=w4(i,n),o=i_(a,r),l={client:a,tagName:t.tagName.toLowerCase(),display:n.display},f={x:a.marginBox.width,y:a.marginBox.height},c={descriptor:e,placeholder:l,displaceBy:f,client:a,page:o};return c}function See(e){var t=O4("draggable"),r=e.descriptor,n=e.registry,i=e.getDraggableRef,a=e.canDragInteractiveElements,o=e.shouldRespectForcePress,l=e.isEnabled,f=ta(function(){return{canDragInteractiveElements:a,shouldRespectForcePress:o,isEnabled:l}},[a,l,o]),c=yi(function(b){var C=i();return C||Ra(!1),_ee(r,C,b)},[r,i]),p=ta(function(){return{uniqueId:t,descriptor:r,options:f,getDimension:c}},[r,c,f,t]),_=Ar.exports.useRef(p),x=Ar.exports.useRef(!0);fp(function(){return n.draggable.register(_.current),function(){return n.draggable.unregister(_.current)}},[n.draggable]),fp(function(){if(x.current){x.current=!1;return}var b=_.current;_.current=p,n.draggable.update(p,b)},[p,n.draggable])}function Eee(e){e.preventDefault()}function Aee(e){var t=Ar.exports.useRef(null),r=yi(function(ue){t.current=ue},[]),n=yi(function(){return t.current},[]),i=q0(ES),a=i.contextId,o=i.dragHandleUsageInstructionsId,l=i.registry,f=q0(AS),c=f.type,p=f.droppableId,_=ta(function(){return{id:e.draggableId,index:e.index,type:c,droppableId:p}},[e.draggableId,e.index,c,p]),x=e.children,b=e.draggableId,C=e.isEnabled,R=e.shouldRespectForcePress,E=e.canDragInteractiveElements,S=e.isClone,T=e.mapped,P=e.dropAnimationFinished;if(!S){var M=ta(function(){return{descriptor:_,registry:l,getDraggableRef:n,canDragInteractiveElements:E,shouldRespectForcePress:R,isEnabled:C}},[_,l,n,E,R,C]);See(M)}var L=ta(function(){return C?{tabIndex:0,role:"button","aria-describedby":o,"data-rbd-drag-handle-draggable-id":b,"data-rbd-drag-handle-context-id":a,draggable:!1,onDragStart:Eee}:null},[a,o,b,C]),v=yi(function(ue){T.type==="DRAGGING"&&(!T.dropping||ue.propertyName==="transform"&&P())},[P,T]),K=ta(function(){var ue=wee(T),Ie=T.type==="DRAGGING"&&T.dropping?v:null,Ce={innerRef:r,draggableProps:{"data-rbd-draggable-context-id":a,"data-rbd-draggable-id":b,style:ue,onTransitionEnd:Ie},dragHandleProps:L};return Ce},[a,L,b,T,v,r]),q=ta(function(){return{draggableId:_.id,type:_.type,source:{index:_.index,droppableId:_.droppableId}}},[_.droppableId,_.id,_.index,_.type]);return x(K,T.snapshot,q)}var M4=function(e,t){return e===t},P4=function(e){var t=e.combine,r=e.destination;return r?r.droppableId:t?t.droppableId:null},Tee=function(t){return t.combine?t.combine.draggableId:null},Cee=function(t){return t.at&&t.at.type==="COMBINE"?t.at.combine.draggableId:null};function Oee(){var e=Gn(function(i,a){return{x:i,y:a}}),t=Gn(function(i,a,o,l,f){return{isDragging:!0,isClone:a,isDropAnimating:Boolean(f),dropAnimation:f,mode:i,draggingOver:o,combineWith:l,combineTargetFor:null}}),r=Gn(function(i,a,o,l,f,c,p){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:f,combineWith:c,mode:a,offset:i,dimension:o,forceShouldAnimate:p,snapshot:t(a,l,f,c,null)}}}),n=function(a,o){if(a.isDragging){if(a.critical.draggable.id!==o.draggableId)return null;var l=a.current.client.offset,f=a.dimensions.draggables[o.draggableId],c=jg(a.impact),p=Cee(a.impact),_=a.forceShouldAnimate;return r(e(l.x,l.y),a.movementMode,f,o.isClone,c,p,_)}if(a.phase==="DROP_ANIMATING"){var x=a.completed;if(x.result.draggableId!==o.draggableId)return null;var b=o.isClone,C=a.dimensions.draggables[o.draggableId],R=x.result,E=R.mode,S=P4(R),T=Tee(R),P=a.dropDuration,M={duration:P,curve:SS.drop,moveTo:a.newHomeClientOffset,opacity:T?Lp.opacity.drop:null,scale:T?Lp.scale.drop:null};return{mapped:{type:"DRAGGING",offset:a.newHomeClientOffset,dimension:C,dropping:M,draggingOver:S,combineWith:T,mode:E,forceShouldAnimate:null,snapshot:t(E,b,S,T,M)}}}return null};return n}function N4(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var kee={mapped:{type:"SECONDARY",offset:vf,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:N4(null)}};function Mee(){var e=Gn(function(o,l){return{x:o,y:l}}),t=Gn(N4),r=Gn(function(o,l,f){return l===void 0&&(l=null),{mapped:{type:"SECONDARY",offset:o,combineTargetFor:l,shouldAnimateDisplacement:f,snapshot:t(l)}}}),n=function(l){return l?r(vf,l,!0):null},i=function(l,f,c,p){var _=c.displaced.visible[l],x=Boolean(p.inVirtualList&&p.effected[l]),b=IJ(c),C=b&&b.draggableId===l?f:null;if(!_){if(!x)return n(C);if(c.displaced.invisible[l])return null;var R=_J(p.displacedBy.point),E=e(R.x,R.y);return r(E,C,!0)}if(x)return n(C);var S=c.displacedBy.point,T=e(S.x,S.y);return r(T,C,_.shouldAnimate)},a=function(l,f){if(l.isDragging)return l.critical.draggable.id===f.draggableId?null:i(f.draggableId,l.critical.draggable.id,l.impact,l.afterCritical);if(l.phase==="DROP_ANIMATING"){var c=l.completed;return c.result.draggableId===f.draggableId?null:i(f.draggableId,c.result.draggableId,c.impact,c.afterCritical)}return null};return a}var Pee=function(){var t=Oee(),r=Mee(),n=function(a,o){return t(a,o)||r(a,o)||kee};return n},Nee={dropAnimationFinished:$J},Ree=y4(Pee,Nee,null,{context:C4,pure:!0,areStatePropsEqual:M4})(Aee);function R4(e){var t=q0(AS),r=t.isUsingCloneFor;return r===e.draggableId&&!e.isClone?null:su(Ree,{...e})}function kte(e){var t=typeof e.isDragDisabled=="boolean"?!e.isDragDisabled:!0,r=Boolean(e.disableInteractiveElementBlocking),n=Boolean(e.shouldRespectForcePress);return su(R4,{...e,isClone:!1,isEnabled:t,canDragInteractiveElements:r,shouldRespectForcePress:n})}function Iee(e){var t=Ar.exports.useContext(ES);t||Ra(!1);var r=t.contextId,n=t.isMovementAllowed,i=Ar.exports.useRef(null),a=Ar.exports.useRef(null),o=e.children,l=e.droppableId,f=e.type,c=e.mode,p=e.direction,_=e.ignoreContainerClipping,x=e.isDropDisabled,b=e.isCombineEnabled,C=e.snapshot,R=e.useClone,E=e.updateViewportMaxScroll,S=e.getContainerForClone,T=yi(function(){return i.current},[]),P=yi(function(Ce){i.current=Ce},[]);yi(function(){return a.current},[]);var M=yi(function(Ce){a.current=Ce},[]),L=yi(function(){n()&&E({maxScroll:jJ()})},[n,E]);fee({droppableId:l,type:f,mode:c,direction:p,isDropDisabled:x,isCombineEnabled:b,ignoreContainerClipping:_,getDroppableRef:T});var v=su(vee,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder,children:function(Ce){var De=Ce.onClose,Ye=Ce.data,Xe=Ce.animate;return su(pee,{placeholder:Ye,onClose:De,innerRef:M,animate:Xe,contextId:r,onTransitionEnd:L})}}),K=ta(function(){return{innerRef:P,placeholder:v,droppableProps:{"data-rbd-droppable-id":l,"data-rbd-droppable-context-id":r}}},[r,l,v,P]),q=R?R.dragging.draggableId:null,ue=ta(function(){return{droppableId:l,type:f,isUsingCloneFor:q}},[l,q,f]);function Ie(){if(!R)return null;var Ce=R.dragging,De=R.render,Ye=su(R4,{draggableId:Ce.draggableId,index:Ce.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0,children:function(Xe,Et){return De(Xe,Et,Ce)}});return $h.createPortal(Ye,S())}return HV(AS.Provider,{value:ue,children:[o(K,C),Ie()]})}var gx=function(t,r){return t===r.droppable.type},o5=function(t,r){return r.draggables[t.draggable.id]},Fee=function(){var t={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},r=fu({},t,{shouldAnimatePlaceholder:!1}),n=Gn(function(o){return{draggableId:o.id,type:o.type,source:{index:o.index,droppableId:o.droppableId}}}),i=Gn(function(o,l,f,c,p,_){var x=p.descriptor.id,b=p.descriptor.droppableId===o;if(b){var C=_?{render:_,dragging:n(p.descriptor)}:null,R={isDraggingOver:f,draggingOverWith:f?x:null,draggingFromThisWith:x,isUsingPlaceholder:!0};return{placeholder:p.placeholder,shouldAnimatePlaceholder:!1,snapshot:R,useClone:C}}if(!l)return r;if(!c)return t;var E={isDraggingOver:f,draggingOverWith:x,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:p.placeholder,shouldAnimatePlaceholder:!0,snapshot:E,useClone:null}}),a=function(l,f){var c=f.droppableId,p=f.type,_=!f.isDropDisabled,x=f.renderClone;if(l.isDragging){var b=l.critical;if(!gx(p,b))return r;var C=o5(b,l.dimensions),R=jg(l.impact)===c;return i(c,_,R,R,C,x)}if(l.phase==="DROP_ANIMATING"){var E=l.completed;if(!gx(p,E.critical))return r;var S=o5(E.critical,l.dimensions);return i(c,_,P4(E.result)===c,jg(E.impact)===c,S,x)}if(l.phase==="IDLE"&&l.completed&&!l.shouldFlush){var T=l.completed;if(!gx(p,T.critical))return r;var P=jg(T.impact)===c,M=Boolean(T.impact.at&&T.impact.at.type==="COMBINE"),L=T.critical.droppable.id===c;return P?M?t:r:L?t:r}return r};return a},Lee={updateViewportMaxScroll:DJ};function Dee(){return document.body||Ra(!1),document.body}var $ee={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Dee},zee=y4(Fee,Lee,null,{context:C4,pure:!0,areStatePropsEqual:M4})(Iee);zee.defaultProps=$ee;var Bee=typeof performance=="object"&&typeof performance.now=="function",u5=Bee?function(){return performance.now()}:function(){return Date.now()};function l5(e){cancelAnimationFrame(e.id)}function jee(e,t){var r=u5();function n(){u5()-r>=t?e.call(null):i.id=requestAnimationFrame(n)}var i={id:requestAnimationFrame(n)};return i}var yc=null;function s5(e){if(e===void 0&&(e=!1),yc===null||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),i=n.style;return i.width="100px",i.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?yc="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?yc="negative":yc="positive-ascending"),document.body.removeChild(t),yc}return yc}var Uee=150,Hee=function(t,r){return t};function Wee(e){var t,r,n=e.getItemOffset,i=e.getEstimatedTotalSize,a=e.getItemSize,o=e.getOffsetForIndexAndAlignment,l=e.getStartIndexForOffset,f=e.getStopIndexForStartIndex,c=e.initInstanceProps,p=e.shouldResetStyleCacheOnItemSizeChange,_=e.validateProps;return r=t=function(x){Zp(b,x);function b(R){var E;return E=x.call(this,R)||this,E._instanceProps=c(E.props,hg(hg(E))),E._outerRef=void 0,E._resetIsScrollingTimeoutId=null,E.state={instance:hg(hg(E)),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof E.props.initialScrollOffset=="number"?E.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},E._callOnItemsRendered=void 0,E._callOnItemsRendered=Gn(function(S,T,P,M){return E.props.onItemsRendered({overscanStartIndex:S,overscanStopIndex:T,visibleStartIndex:P,visibleStopIndex:M})}),E._callOnScroll=void 0,E._callOnScroll=Gn(function(S,T,P){return E.props.onScroll({scrollDirection:S,scrollOffset:T,scrollUpdateWasRequested:P})}),E._getItemStyle=void 0,E._getItemStyle=function(S){var T=E.props,P=T.direction,M=T.itemSize,L=T.layout,v=E._getItemStyleCache(p&&M,p&&L,p&&P),K;if(v.hasOwnProperty(S))K=v[S];else{var q=n(E.props,S,E._instanceProps),ue=a(E.props,S,E._instanceProps),Ie=P==="horizontal"||L==="horizontal",Ce=P==="rtl",De=Ie?q:0;v[S]=K={position:"absolute",left:Ce?void 0:De,right:Ce?De:void 0,top:Ie?0:q,height:Ie?"100%":ue,width:Ie?ue:"100%"}}return K},E._getItemStyleCache=void 0,E._getItemStyleCache=Gn(function(S,T,P){return{}}),E._onScrollHorizontal=function(S){var T=S.currentTarget,P=T.clientWidth,M=T.scrollLeft,L=T.scrollWidth;E.setState(function(v){if(v.scrollOffset===M)return null;var K=E.props.direction,q=M;if(K==="rtl")switch(s5()){case"negative":q=-M;break;case"positive-descending":q=L-P-M;break}return q=Math.max(0,Math.min(q,L-P)),{isScrolling:!0,scrollDirection:v.scrollOffset<M?"forward":"backward",scrollOffset:q,scrollUpdateWasRequested:!1}},E._resetIsScrollingDebounced)},E._onScrollVertical=function(S){var T=S.currentTarget,P=T.clientHeight,M=T.scrollHeight,L=T.scrollTop;E.setState(function(v){if(v.scrollOffset===L)return null;var K=Math.max(0,Math.min(L,M-P));return{isScrolling:!0,scrollDirection:v.scrollOffset<K?"forward":"backward",scrollOffset:K,scrollUpdateWasRequested:!1}},E._resetIsScrollingDebounced)},E._outerRefSetter=function(S){var T=E.props.outerRef;E._outerRef=S,typeof T=="function"?T(S):T!=null&&typeof T=="object"&&T.hasOwnProperty("current")&&(T.current=S)},E._resetIsScrollingDebounced=function(){E._resetIsScrollingTimeoutId!==null&&l5(E._resetIsScrollingTimeoutId),E._resetIsScrollingTimeoutId=jee(E._resetIsScrolling,Uee)},E._resetIsScrolling=function(){E._resetIsScrollingTimeoutId=null,E.setState({isScrolling:!1},function(){E._getItemStyleCache(-1,null)})},E}b.getDerivedStateFromProps=function(E,S){return Gee(E,S),_(E),null};var C=b.prototype;return C.scrollTo=function(E){E=Math.max(0,E),this.setState(function(S){return S.scrollOffset===E?null:{scrollDirection:S.scrollOffset<E?"forward":"backward",scrollOffset:E,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},C.scrollToItem=function(E,S){S===void 0&&(S="auto");var T=this.props.itemCount,P=this.state.scrollOffset;E=Math.max(0,Math.min(E,T-1)),this.scrollTo(o(this.props,E,S,P,this._instanceProps))},C.componentDidMount=function(){var E=this.props,S=E.direction,T=E.initialScrollOffset,P=E.layout;if(typeof T=="number"&&this._outerRef!=null){var M=this._outerRef;S==="horizontal"||P==="horizontal"?M.scrollLeft=T:M.scrollTop=T}this._callPropsCallbacks()},C.componentDidUpdate=function(){var E=this.props,S=E.direction,T=E.layout,P=this.state,M=P.scrollOffset,L=P.scrollUpdateWasRequested;if(L&&this._outerRef!=null){var v=this._outerRef;if(S==="horizontal"||T==="horizontal")if(S==="rtl")switch(s5()){case"negative":v.scrollLeft=-M;break;case"positive-ascending":v.scrollLeft=M;break;default:var K=v.clientWidth,q=v.scrollWidth;v.scrollLeft=q-K-M;break}else v.scrollLeft=M;else v.scrollTop=M}this._callPropsCallbacks()},C.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&l5(this._resetIsScrollingTimeoutId)},C.render=function(){var E=this.props,S=E.children,T=E.className,P=E.direction,M=E.height,L=E.innerRef,v=E.innerElementType,K=E.innerTagName,q=E.itemCount,ue=E.itemData,Ie=E.itemKey,Ce=Ie===void 0?Hee:Ie,De=E.layout,Ye=E.outerElementType,Xe=E.outerTagName,Et=E.style,yt=E.useIsScrolling,Ze=E.width,it=this.state.isScrolling,Ut=P==="horizontal"||De==="horizontal",bt=Ut?this._onScrollHorizontal:this._onScrollVertical,Le=this._getRangeToRender(),ut=Le[0],At=Le[1],st=[];if(q>0)for(var Ct=ut;Ct<=At;Ct++)st.push(Ar.exports.createElement(S,{data:ue,key:Ce(Ct,ue),index:Ct,isScrolling:yt?it:void 0,style:this._getItemStyle(Ct)}));var Lt=i(this.props,this._instanceProps);return Ar.exports.createElement(Ye||Xe||"div",{className:T,onScroll:bt,ref:this._outerRefSetter,style:fu({position:"relative",height:M,width:Ze,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:P},Et)},Ar.exports.createElement(v||K||"div",{children:st,ref:L,style:{height:Ut?"100%":Lt,pointerEvents:it?"none":void 0,width:Ut?Lt:"100%"}}))},C._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var E=this.props.itemCount;if(E>0){var S=this._getRangeToRender(),T=S[0],P=S[1],M=S[2],L=S[3];this._callOnItemsRendered(T,P,M,L)}}if(typeof this.props.onScroll=="function"){var v=this.state,K=v.scrollDirection,q=v.scrollOffset,ue=v.scrollUpdateWasRequested;this._callOnScroll(K,q,ue)}},C._getRangeToRender=function(){var E=this.props,S=E.itemCount,T=E.overscanCount,P=this.state,M=P.isScrolling,L=P.scrollDirection,v=P.scrollOffset;if(S===0)return[0,0,0,0];var K=l(this.props,v,this._instanceProps),q=f(this.props,K,v,this._instanceProps),ue=!M||L==="backward"?Math.max(1,T):1,Ie=!M||L==="forward"?Math.max(1,T):1;return[Math.max(0,K-ue),Math.max(0,Math.min(S-1,q+Ie)),K,q]},b}(Ar.exports.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},r}var Gee=function(t,r){t.children,t.direction,t.height,t.layout,t.innerTagName,t.outerTagName,t.width,r.instance},Mte=Wee({getItemOffset:function(t,r){var n=t.itemSize;return r*n},getItemSize:function(t,r){var n=t.itemSize;return n},getEstimatedTotalSize:function(t){var r=t.itemCount,n=t.itemSize;return n*r},getOffsetForIndexAndAlignment:function(t,r,n,i){var a=t.direction,o=t.height,l=t.itemCount,f=t.itemSize,c=t.layout,p=t.width,_=a==="horizontal"||c==="horizontal",x=_?p:o,b=Math.max(0,l*f-x),C=Math.min(b,r*f),R=Math.max(0,r*f-x+f);switch(n==="smart"&&(i>=R-x&&i<=C+x?n="auto":n="center"),n){case"start":return C;case"end":return R;case"center":{var E=Math.round(R+(C-R)/2);return E<Math.ceil(x/2)?0:E>b+Math.floor(x/2)?b:E}case"auto":default:return i>=R&&i<=C?i:i<R?R:C}},getStartIndexForOffset:function(t,r){var n=t.itemCount,i=t.itemSize;return Math.max(0,Math.min(n-1,Math.floor(r/i)))},getStopIndexForStartIndex:function(t,r,n){var i=t.direction,a=t.height,o=t.itemCount,l=t.itemSize,f=t.layout,c=t.width,p=i==="horizontal"||f==="horizontal",_=r*l,x=p?c:a,b=Math.ceil((x+n-_)/l);return Math.max(0,Math.min(o-1,r+b-1))},initInstanceProps:function(t){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(t){t.itemSize}}),qee=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Vee=function(){function e(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),Yee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Xee=function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},f5=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e},Qee=function(){function e(t,r){var n=[],i=!0,a=!1,o=void 0;try{for(var l=t[Symbol.iterator](),f;!(i=(f=l.next()).done)&&(n.push(f.value),!(r&&n.length===r));i=!0);}catch(c){a=!0,o=c}finally{try{!i&&l.return&&l.return()}finally{if(a)throw o}}return n}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),io=void 0;typeof window<"u"?io=window:typeof self<"u"?io=self:io=global;var u_=null,l_=null,c5=20,mx=io.clearTimeout,d5=io.setTimeout,yx=io.cancelAnimationFrame||io.mozCancelAnimationFrame||io.webkitCancelAnimationFrame,h5=io.requestAnimationFrame||io.mozRequestAnimationFrame||io.webkitRequestAnimationFrame;yx==null||h5==null?(u_=mx,l_=function(t){return d5(t,c5)}):(u_=function(t){var r=Qee(t,2),n=r[0],i=r[1];yx(n),mx(i)},l_=function(t){var r=h5(function(){mx(n),t()}),n=d5(function(){yx(r),t()},c5);return[r,n]});function Zee(e){var t=void 0,r=void 0,n=void 0,i=void 0,a=void 0,o=void 0,l=void 0,f=typeof document<"u"&&document.attachEvent;if(!f){o=function(M){var L=M.__resizeTriggers__,v=L.firstElementChild,K=L.lastElementChild,q=v.firstElementChild;K.scrollLeft=K.scrollWidth,K.scrollTop=K.scrollHeight,q.style.width=v.offsetWidth+1+"px",q.style.height=v.offsetHeight+1+"px",v.scrollLeft=v.scrollWidth,v.scrollTop=v.scrollHeight},a=function(M){return M.offsetWidth!==M.__resizeLast__.width||M.offsetHeight!==M.__resizeLast__.height},l=function(M){if(!(M.target.className&&typeof M.target.className.indexOf=="function"&&M.target.className.indexOf("contract-trigger")<0&&M.target.className.indexOf("expand-trigger")<0)){var L=this;o(this),this.__resizeRAF__&&u_(this.__resizeRAF__),this.__resizeRAF__=l_(function(){a(L)&&(L.__resizeLast__.width=L.offsetWidth,L.__resizeLast__.height=L.offsetHeight,L.__resizeListeners__.forEach(function(q){q.call(L,M)}))})}};var c=!1,p="";n="animationstart";var _="Webkit Moz O ms".split(" "),x="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),b="";{var C=document.createElement("fakeelement");if(C.style.animationName!==void 0&&(c=!0),c===!1){for(var R=0;R<_.length;R++)if(C.style[_[R]+"AnimationName"]!==void 0){b=_[R],p="-"+b.toLowerCase()+"-",n=x[R],c=!0;break}}}r="resizeanim",t="@"+p+"keyframes "+r+" { from { opacity: 0; } to { opacity: 0; } } ",i=p+"animation: 1ms "+r+"; "}var E=function(M){if(!M.getElementById("detectElementResize")){var L=(t||"")+".resize-triggers { "+(i||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',v=M.head||M.getElementsByTagName("head")[0],K=M.createElement("style");K.id="detectElementResize",K.type="text/css",e!=null&&K.setAttribute("nonce",e),K.styleSheet?K.styleSheet.cssText=L:K.appendChild(M.createTextNode(L)),v.appendChild(K)}},S=function(M,L){if(f)M.attachEvent("onresize",L);else{if(!M.__resizeTriggers__){var v=M.ownerDocument,K=io.getComputedStyle(M);K&&K.position==="static"&&(M.style.position="relative"),E(v),M.__resizeLast__={},M.__resizeListeners__=[],(M.__resizeTriggers__=v.createElement("div")).className="resize-triggers";var q=v.createElement("div");q.className="expand-trigger",q.appendChild(v.createElement("div"));var ue=v.createElement("div");ue.className="contract-trigger",M.__resizeTriggers__.appendChild(q),M.__resizeTriggers__.appendChild(ue),M.appendChild(M.__resizeTriggers__),o(M),M.addEventListener("scroll",l,!0),n&&(M.__resizeTriggers__.__animationListener__=function(Ce){Ce.animationName===r&&o(M)},M.__resizeTriggers__.addEventListener(n,M.__resizeTriggers__.__animationListener__))}M.__resizeListeners__.push(L)}},T=function(M,L){if(f)M.detachEvent("onresize",L);else if(M.__resizeListeners__.splice(M.__resizeListeners__.indexOf(L),1),!M.__resizeListeners__.length){M.removeEventListener("scroll",l,!0),M.__resizeTriggers__.__animationListener__&&(M.__resizeTriggers__.removeEventListener(n,M.__resizeTriggers__.__animationListener__),M.__resizeTriggers__.__animationListener__=null);try{M.__resizeTriggers__=!M.removeChild(M.__resizeTriggers__)}catch{}}};return{addResizeListener:S,removeResizeListener:T}}var Kee=function(e){Xee(t,e);function t(){var r,n,i,a;qee(this,t);for(var o=arguments.length,l=Array(o),f=0;f<o;f++)l[f]=arguments[f];return a=(n=(i=f5(this,(r=t.__proto__||Object.getPrototypeOf(t)).call.apply(r,[this].concat(l))),i),i.state={height:i.props.defaultHeight||0,width:i.props.defaultWidth||0},i._onResize=function(){var c=i.props,p=c.disableHeight,_=c.disableWidth,x=c.onResize;if(i._parentNode){var b=i._parentNode.offsetHeight||0,C=i._parentNode.offsetWidth||0,R=window.getComputedStyle(i._parentNode)||{},E=parseInt(R.paddingLeft,10)||0,S=parseInt(R.paddingRight,10)||0,T=parseInt(R.paddingTop,10)||0,P=parseInt(R.paddingBottom,10)||0,M=b-T-P,L=C-E-S;(!p&&i.state.height!==M||!_&&i.state.width!==L)&&(i.setState({height:b-T-P,width:C-E-S}),x({height:b,width:C}))}},i._setRef=function(c){i._autoSizer=c},n),f5(i,a)}return Vee(t,[{key:"componentDidMount",value:function(){var n=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._detectElementResize=Zee(n),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var n=this.props,i=n.children,a=n.className,o=n.disableHeight,l=n.disableWidth,f=n.style,c=this.state,p=c.height,_=c.width,x={overflow:"visible"},b={},C=!1;return o||(p===0&&(C=!0),x.height=0,b.height=p),l||(_===0&&(C=!0),x.width=0,b.width=_),Ar.exports.createElement("div",{className:a,ref:this._setRef,style:Yee({},x,f)},!C&&i(b))}}]),t}(Ar.exports.PureComponent);Kee.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};var Jee=typeof Jr=="object"&&Jr&&Jr.Object===Object&&Jr,ete=typeof self=="object"&&self&&self.Object===Object&&self,tte=Jee||ete||Function("return this")(),p5=tte.Symbol;p5&&p5.isConcatSpreadable;export{Ete as $,Ur as A,xte as B,Gn as C,nte as D,su as E,Ste as F,_te as G,Tte as H,Ate as I,HV as J,$h as K,jm as L,wte as M,Ote as N,Kee as O,Cte as P,Mte as Q,Ii as R,kte as S,zee as T,b2 as U,ate as a,fte as b,cte as c,V$ as d,XP as e,ote as f,ute as g,lte as h,T2 as i,P9 as j,dte as k,pm as l,ste as m,aN as n,BN as o,iN as p,pte as q,ite as r,hte as s,jB as t,vte as u,gte as v,mte as w,yte as x,bte as y,Ar as z};
|
|
1184
|
-
//# sourceMappingURL=vendor.420e3eae.js.map
|