@deephaven/embed-chart 0.16.1-vite.18 → 0.16.1-vite.20
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/helpers.162e09a8.js +1 -0
- package/build/assets/index.39f8baea.js +1 -0
- package/build/assets/{plotly.4348720c.js → plotly.c90ff494.js} +4 -4
- package/build/assets/vendor.420e3eae.js +1183 -0
- package/build/index.html +4 -3
- package/package.json +15 -14
- package/build/assets/index.452a8b27.js +0 -1
- package/build/assets/vendor.832c3e5c.js +0 -1183
|
@@ -1,1183 +0,0 @@
|
|
|
1
|
-
import{g as i_,a as vf,c as a_}from"./plotly.4348720c.js";import o_ from"ext/window-this";import s5 from"css-window-keywords";var u_={exports:{}},oo={},Ar={exports:{}},Yr={};/*
|
|
2
|
-
object-assign
|
|
3
|
-
(c) Sindre Sorhus
|
|
4
|
-
@license MIT
|
|
5
|
-
*/var SS=Object.getOwnPropertySymbols,O4=Object.prototype.hasOwnProperty,k4=Object.prototype.propertyIsEnumerable;function M4(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function P4(){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 gf=P4()?Object.assign:function(e,t){for(var r,n=M4(e),i,a=1;a<arguments.length;a++){r=Object(arguments[a]);for(var o in r)O4.call(r,o)&&(n[o]=r[o]);if(SS){i=SS(r);for(var l=0;l<i.length;l++)k4.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 l_=gf,cd=60103,f5=60106;Yr.Fragment=60107;Yr.StrictMode=60108;Yr.Profiler=60114;var c5=60109,d5=60110,h5=60112;Yr.Suspense=60113;var p5=60115,v5=60116;if(typeof Symbol=="function"&&Symbol.for){var _o=Symbol.for;cd=_o("react.element"),f5=_o("react.portal"),Yr.Fragment=_o("react.fragment"),Yr.StrictMode=_o("react.strict_mode"),Yr.Profiler=_o("react.profiler"),c5=_o("react.provider"),d5=_o("react.context"),h5=_o("react.forward_ref"),Yr.Suspense=_o("react.suspense"),p5=_o("react.memo"),v5=_o("react.lazy")}var ES=typeof Symbol=="function"&&Symbol.iterator;function N4(e){return e===null||typeof e!="object"?null:(e=ES&&e[ES]||e["@@iterator"],typeof e=="function"?e:null)}function Lp(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 g5={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m5={};function dd(e,t,r){this.props=e,this.context=t,this.refs=m5,this.updater=r||g5}dd.prototype.isReactComponent={};dd.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(Lp(85));this.updater.enqueueSetState(this,e,t,"setState")};dd.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function y5(){}y5.prototype=dd.prototype;function s_(e,t,r){this.props=e,this.context=t,this.refs=m5,this.updater=r||g5}var f_=s_.prototype=new y5;f_.constructor=s_;l_(f_,dd.prototype);f_.isPureReactComponent=!0;var c_={current:null},b5=Object.prototype.hasOwnProperty,x5={key:!0,ref:!0,__self:!0,__source:!0};function w5(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)b5.call(t,n)&&!x5.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:cd,type:e,key:a,ref:o,props:i,_owner:c_.current}}function R4(e,t){return{$$typeof:cd,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function d_(e){return typeof e=="object"&&e!==null&&e.$$typeof===cd}function I4(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var AS=/\/+/g;function sy(e,t){return typeof e=="object"&&e!==null&&e.key!=null?I4(""+e.key):t.toString(36)}function yg(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 cd:case f5:o=!0}}if(o)return o=e,i=i(o),e=n===""?"."+sy(o,0):n,Array.isArray(i)?(r="",e!=null&&(r=e.replace(AS,"$&/")+"/"),yg(i,t,r,"",function(c){return c})):i!=null&&(d_(i)&&(i=R4(i,r+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(AS,"$&/")+"/")+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+sy(a,l);o+=yg(a,t,r,f,i)}else if(f=N4(e),typeof f=="function")for(e=f.call(e),l=0;!(a=e.next()).done;)a=a.value,f=n+sy(a,l++),o+=yg(a,t,r,f,i);else if(a==="object")throw t=""+e,Error(Lp(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t));return o}function Mv(e,t,r){if(e==null)return e;var n=[],i=0;return yg(e,n,"","",function(a){return t.call(r,a,i++)}),n}function F4(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 _5={current:null};function Qu(){var e=_5.current;if(e===null)throw Error(Lp(321));return e}var L4={ReactCurrentDispatcher:_5,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:c_,IsSomeRendererActing:{current:!1},assign:l_};Yr.Children={map:Mv,forEach:function(e,t,r){Mv(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return Mv(e,function(){t++}),t},toArray:function(e){return Mv(e,function(t){return t})||[]},only:function(e){if(!d_(e))throw Error(Lp(143));return e}};Yr.Component=dd;Yr.PureComponent=s_;Yr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L4;Yr.cloneElement=function(e,t,r){if(e==null)throw Error(Lp(267,e));var n=l_({},e.props),i=e.key,a=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,o=c_.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(f in t)b5.call(t,f)&&!x5.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:cd,type:e.type,key:i,ref:a,props:n,_owner:o}};Yr.createContext=function(e,t){return t===void 0&&(t=null),e={$$typeof:d5,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:c5,_context:e},e.Consumer=e};Yr.createElement=w5;Yr.createFactory=function(e){var t=w5.bind(null,e);return t.type=e,t};Yr.createRef=function(){return{current:null}};Yr.forwardRef=function(e){return{$$typeof:h5,render:e}};Yr.isValidElement=d_;Yr.lazy=function(e){return{$$typeof:v5,_payload:{_status:-1,_result:e},_init:F4}};Yr.memo=function(e,t){return{$$typeof:p5,type:e,compare:t===void 0?null:t}};Yr.useCallback=function(e,t){return Qu().useCallback(e,t)};Yr.useContext=function(e,t){return Qu().useContext(e,t)};Yr.useDebugValue=function(){};Yr.useEffect=function(e,t){return Qu().useEffect(e,t)};Yr.useImperativeHandle=function(e,t,r){return Qu().useImperativeHandle(e,t,r)};Yr.useLayoutEffect=function(e,t){return Qu().useLayoutEffect(e,t)};Yr.useMemo=function(e,t){return Qu().useMemo(e,t)};Yr.useReducer=function(e,t,r){return Qu().useReducer(e,t,r)};Yr.useRef=function(e){return Qu().useRef(e)};Yr.useState=function(e){return Qu().useState(e)};Yr.version="17.0.2";(function(e){e.exports=Yr})(Ar);const Ri=i_(Ar.exports);var S5={exports:{}},E5={};/** @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 J(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=[],Te=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)J(Ie);else if(ut.startTime<=Le)J(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)&&J(ue),Ze(ut)}else J(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:Te++,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}}}})(E5);(function(e){e.exports=E5})(S5);/** @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 q0=Ar.exports,En=gf,xi=S5.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(!q0)throw Error(Mt(227));var A5=new Set,fp={};function mf(e,t){Qc(e,t),Qc(e+"Capture",t)}function Qc(e,t){for(fp[e]=t,e=0;e<t.length;e++)A5.add(t[e])}var Gu=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),D4=/^[: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]*$/,TS=Object.prototype.hasOwnProperty,CS={},OS={};function $4(e){return TS.call(OS,e)?!0:TS.call(CS,e)?!1:D4.test(e)?OS[e]=!0:(CS[e]=!0,!1)}function z4(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 B4(e,t,r,n){if(t===null||typeof t>"u"||z4(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 ra(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 Ii={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ii[e]=new ra(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ii[t]=new ra(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ii[e]=new ra(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ii[e]=new ra(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){Ii[e]=new ra(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ii[e]=new ra(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ii[e]=new ra(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ii[e]=new ra(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ii[e]=new ra(e,5,!1,e.toLowerCase(),null,!1,!1)});var h_=/[\-:]([a-z])/g;function p_(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(h_,p_);Ii[t]=new ra(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(h_,p_);Ii[t]=new ra(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(h_,p_);Ii[t]=new ra(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ii[e]=new ra(e,1,!1,e.toLowerCase(),null,!1,!1)});Ii.xlinkHref=new ra("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ii[e]=new ra(e,1,!1,e.toLowerCase(),null,!0,!0)});function v_(e,t,r,n){var i=Ii.hasOwnProperty(t)?Ii[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||(B4(t,r,i,n)&&(r=null),n||i===null?$4(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 yf=q0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Nh=60103,Vs=60106,Ll=60107,g_=60108,Hh=60114,m_=60109,y_=60110,V0=60112,Wh=60113,Ug=60120,Y0=60115,b_=60116,x_=60121,w_=60128,T5=60129,__=60130,px=60131;if(typeof Symbol=="function"&&Symbol.for){var gi=Symbol.for;Nh=gi("react.element"),Vs=gi("react.portal"),Ll=gi("react.fragment"),g_=gi("react.strict_mode"),Hh=gi("react.profiler"),m_=gi("react.provider"),y_=gi("react.context"),V0=gi("react.forward_ref"),Wh=gi("react.suspense"),Ug=gi("react.suspense_list"),Y0=gi("react.memo"),b_=gi("react.lazy"),x_=gi("react.block"),gi("react.scope"),w_=gi("react.opaque.id"),T5=gi("react.debug_trace_mode"),__=gi("react.offscreen"),px=gi("react.legacy_hidden")}var kS=typeof Symbol=="function"&&Symbol.iterator;function ih(e){return e===null||typeof e!="object"?null:(e=kS&&e[kS]||e["@@iterator"],typeof e=="function"?e:null)}var fy;function Rh(e){if(fy===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);fy=t&&t[1]||""}return`
|
|
27
|
-
`+fy+e}var cy=!1;function Pv(e,t){if(!e||cy)return"";cy=!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{cy=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Rh(e):""}function j4(e){switch(e.tag){case 5:return Rh(e.type);case 16:return Rh("Lazy");case 13:return Rh("Suspense");case 19:return Rh("SuspenseList");case 0:case 2:case 15:return e=Pv(e.type,!1),e;case 11:return e=Pv(e.type.render,!1),e;case 22:return e=Pv(e.type._render,!1),e;case 1:return e=Pv(e.type,!0),e;default:return""}}function Ic(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 Ll:return"Fragment";case Vs:return"Portal";case Hh:return"Profiler";case g_:return"StrictMode";case Wh:return"Suspense";case Ug:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case y_:return(e.displayName||"Context")+".Consumer";case m_:return(e._context.displayName||"Context")+".Provider";case V0:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case Y0:return Ic(e.type);case x_:return Ic(e._render);case b_:t=e._payload,e=e._init;try{return Ic(e(t))}catch{}}return null}function Kl(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function C5(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function U4(e){var t=C5(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 Nv(e){e._valueTracker||(e._valueTracker=U4(e))}function O5(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=C5(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Hg(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 vx(e,t){var r=t.checked;return En({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r!=null?r:e._wrapperState.initialChecked})}function MS(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Kl(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 k5(e,t){t=t.checked,t!=null&&v_(e,"checked",t,!1)}function gx(e,t){k5(e,t);var r=Kl(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")?mx(e,t.type,r):t.hasOwnProperty("defaultValue")&&mx(e,t.type,Kl(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function PS(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 mx(e,t,r){(t!=="number"||Hg(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function H4(e){var t="";return q0.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}function yx(e,t){return e=En({children:void 0},t),(t=H4(t.children))&&(e.children=t),e}function Fc(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=""+Kl(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 bx(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(Mt(91));return En({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function NS(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:Kl(r)}}function M5(e,t){var r=Kl(t.value),n=Kl(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 RS(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var xx={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function P5(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 wx(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?P5(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Rv,N5=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!==xx.svg||"innerHTML"in e)e.innerHTML=t;else{for(Rv=Rv||document.createElement("div"),Rv.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Rv.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function cp(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Gh={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},W4=["Webkit","ms","Moz","O"];Object.keys(Gh).forEach(function(e){W4.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Gh[t]=Gh[e]})});function R5(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Gh.hasOwnProperty(e)&&Gh[e]?(""+t).trim():t+"px"}function I5(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=R5(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var G4=En({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 _x(e,t){if(t){if(G4[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 Sx(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 S_(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ex=null,Lc=null,Dc=null;function IS(e){if(e=$p(e)){if(typeof Ex!="function")throw Error(Mt(280));var t=e.stateNode;t&&(t=em(t),Ex(e.stateNode,e.type,t))}}function F5(e){Lc?Dc?Dc.push(e):Dc=[e]:Lc=e}function L5(){if(Lc){var e=Lc,t=Dc;if(Dc=Lc=null,IS(e),t)for(e=0;e<t.length;e++)IS(t[e])}}function E_(e,t){return e(t)}function D5(e,t,r,n,i){return e(t,r,n,i)}function A_(){}var $5=E_,Ys=!1,dy=!1;function T_(){(Lc!==null||Dc!==null)&&(A_(),L5())}function q4(e,t,r){if(dy)return e(t,r);dy=!0;try{return $5(e,t,r)}finally{dy=!1,T_()}}function dp(e,t){var r=e.stateNode;if(r===null)return null;var n=em(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 Ax=!1;if(Gu)try{var ah={};Object.defineProperty(ah,"passive",{get:function(){Ax=!0}}),window.addEventListener("test",ah,ah),window.removeEventListener("test",ah,ah)}catch{Ax=!1}function V4(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 qh=!1,Wg=null,Gg=!1,Tx=null,Y4={onError:function(e){qh=!0,Wg=e}};function X4(e,t,r,n,i,a,o,l,f){qh=!1,Wg=null,V4.apply(Y4,arguments)}function Q4(e,t,r,n,i,a,o,l,f){if(X4.apply(this,arguments),qh){if(qh){var c=Wg;qh=!1,Wg=null}else throw Error(Mt(198));Gg||(Gg=!0,Tx=c)}}function bf(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 z5(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 FS(e){if(bf(e)!==e)throw Error(Mt(188))}function Z4(e){var t=e.alternate;if(!t){if(t=bf(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 FS(i),e;if(a===n)return FS(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 B5(e){if(e=Z4(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 LS(e,t){for(var r=e.alternate;t!==null;){if(t===e||t===r)return!0;t=t.return}return!1}var j5,C_,U5,H5,Cx=!1,eu=[],Wl=null,Gl=null,ql=null,hp=new Map,pp=new Map,oh=[],DS="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 Ox(e,t,r,n,i){return{blockedOn:e,domEventName:t,eventSystemFlags:r|16,nativeEvent:i,targetContainers:[n]}}function $S(e,t){switch(e){case"focusin":case"focusout":Wl=null;break;case"dragenter":case"dragleave":Gl=null;break;case"mouseover":case"mouseout":ql=null;break;case"pointerover":case"pointerout":hp.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":pp.delete(t.pointerId)}}function uh(e,t,r,n,i,a){return e===null||e.nativeEvent!==a?(e=Ox(t,r,n,i,a),t!==null&&(t=$p(t),t!==null&&C_(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function K4(e,t,r,n,i){switch(t){case"focusin":return Wl=uh(Wl,e,t,r,n,i),!0;case"dragenter":return Gl=uh(Gl,e,t,r,n,i),!0;case"mouseover":return ql=uh(ql,e,t,r,n,i),!0;case"pointerover":var a=i.pointerId;return hp.set(a,uh(hp.get(a)||null,e,t,r,n,i)),!0;case"gotpointercapture":return a=i.pointerId,pp.set(a,uh(pp.get(a)||null,e,t,r,n,i)),!0}return!1}function J4(e){var t=Xs(e.target);if(t!==null){var r=bf(t);if(r!==null){if(t=r.tag,t===13){if(t=z5(r),t!==null){e.blockedOn=t,H5(e.lanePriority,function(){xi.unstable_runWithPriority(e.priority,function(){U5(r)})});return}}else if(t===3&&r.stateNode.hydrate){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function bg(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=P_(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null)return t=$p(r),t!==null&&C_(t),e.blockedOn=r,!1;t.shift()}return!0}function zS(e,t,r){bg(e)&&r.delete(t)}function eF(){for(Cx=!1;0<eu.length;){var e=eu[0];if(e.blockedOn!==null){e=$p(e.blockedOn),e!==null&&j5(e);break}for(var t=e.targetContainers;0<t.length;){var r=P_(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null){e.blockedOn=r;break}t.shift()}e.blockedOn===null&&eu.shift()}Wl!==null&&bg(Wl)&&(Wl=null),Gl!==null&&bg(Gl)&&(Gl=null),ql!==null&&bg(ql)&&(ql=null),hp.forEach(zS),pp.forEach(zS)}function lh(e,t){e.blockedOn===t&&(e.blockedOn=null,Cx||(Cx=!0,xi.unstable_scheduleCallback(xi.unstable_NormalPriority,eF)))}function W5(e){function t(i){return lh(i,e)}if(0<eu.length){lh(eu[0],e);for(var r=1;r<eu.length;r++){var n=eu[r];n.blockedOn===e&&(n.blockedOn=null)}}for(Wl!==null&&lh(Wl,e),Gl!==null&&lh(Gl,e),ql!==null&&lh(ql,e),hp.forEach(t),pp.forEach(t),r=0;r<oh.length;r++)n=oh[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<oh.length&&(r=oh[0],r.blockedOn===null);)J4(r),r.blockedOn===null&&oh.shift()}function Iv(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Sc={animationend:Iv("Animation","AnimationEnd"),animationiteration:Iv("Animation","AnimationIteration"),animationstart:Iv("Animation","AnimationStart"),transitionend:Iv("Transition","TransitionEnd")},hy={},G5={};Gu&&(G5=document.createElement("div").style,"AnimationEvent"in window||(delete Sc.animationend.animation,delete Sc.animationiteration.animation,delete Sc.animationstart.animation),"TransitionEvent"in window||delete Sc.transitionend.transition);function X0(e){if(hy[e])return hy[e];if(!Sc[e])return e;var t=Sc[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in G5)return hy[e]=t[r];return e}var q5=X0("animationend"),V5=X0("animationiteration"),Y5=X0("animationstart"),X5=X0("transitionend"),Q5=new Map,O_=new Map,tF=["abort","abort",q5,"animationEnd",V5,"animationIteration",Y5,"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",X5,"transitionEnd","waiting","waiting"];function k_(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)),O_.set(n,t),Q5.set(n,i),mf(i,[n])}}var rF=xi.unstable_now;rF();var mn=8;function yc(e){if((1&e)!==0)return mn=15,1;if((2&e)!==0)return mn=14,2;if((4&e)!==0)return mn=13,4;var t=24&e;return t!==0?(mn=12,t):(e&32)!==0?(mn=11,32):(t=192&e,t!==0?(mn=10,t):(e&256)!==0?(mn=9,256):(t=3584&e,t!==0?(mn=8,t):(e&4096)!==0?(mn=7,4096):(t=4186112&e,t!==0?(mn=6,t):(t=62914560&e,t!==0?(mn=5,t):e&67108864?(mn=4,67108864):(e&134217728)!==0?(mn=3,134217728):(t=805306368&e,t!==0?(mn=2,t):(1073741824&e)!==0?(mn=1,1073741824):(mn=8,e))))))}function nF(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 iF(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 vp(e,t){var r=e.pendingLanes;if(r===0)return mn=0;var n=0,i=0,a=e.expiredLanes,o=e.suspendedLanes,l=e.pingedLanes;if(a!==0)n=a,i=mn=15;else if(a=r&134217727,a!==0){var f=a&~o;f!==0?(n=yc(f),i=mn):(l&=a,l!==0&&(n=yc(l),i=mn))}else a=r&~o,a!==0?(n=yc(a),i=mn):l!==0&&(n=yc(l),i=mn);if(n===0)return 0;if(n=31-Jl(n),n=r&((0>n?0:1<<n)<<1)-1,t!==0&&t!==n&&(t&o)===0){if(yc(t),i<=mn)return t;mn=i}if(t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-Jl(t),i=1<<r,n|=e[r],t&=~i;return n}function Z5(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function qg(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return e=bc(24&~t),e===0?qg(10,t):e;case 10:return e=bc(192&~t),e===0?qg(8,t):e;case 8:return e=bc(3584&~t),e===0&&(e=bc(4186112&~t),e===0&&(e=512)),e;case 2:return t=bc(805306368&~t),t===0&&(t=268435456),t}throw Error(Mt(358,e))}function bc(e){return e&-e}function py(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Q0(e,t,r){e.pendingLanes|=t;var n=t-1;e.suspendedLanes&=n,e.pingedLanes&=n,e=e.eventTimes,t=31-Jl(t),e[t]=r}var Jl=Math.clz32?Math.clz32:uF,aF=Math.log,oF=Math.LN2;function uF(e){return e===0?32:31-(aF(e)/oF|0)|0}var lF=xi.unstable_UserBlockingPriority,sF=xi.unstable_runWithPriority,xg=!0;function fF(e,t,r,n){Ys||A_();var i=M_,a=Ys;Ys=!0;try{D5(i,e,t,r,n)}finally{(Ys=a)||T_()}}function cF(e,t,r,n){sF(lF,M_.bind(null,e,t,r,n))}function M_(e,t,r,n){if(xg){var i;if((i=(t&4)===0)&&0<eu.length&&-1<DS.indexOf(e))e=Ox(null,e,t,r,n),eu.push(e);else{var a=P_(e,t,r,n);if(a===null)i&&$S(e,n);else{if(i){if(-1<DS.indexOf(e)){e=Ox(a,e,t,r,n),eu.push(e);return}if(K4(a,e,t,r,n))return;$S(e,n)}fk(e,t,n,null,r)}}}}function P_(e,t,r,n){var i=S_(n);if(i=Xs(i),i!==null){var a=bf(i);if(a===null)i=null;else{var o=a.tag;if(o===13){if(i=z5(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 fk(e,t,n,i,r),null}var $l=null,N_=null,wg=null;function K5(){if(wg)return wg;var e,t=N_,r=t.length,n,i="value"in $l?$l.value:$l.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 wg=i.slice(e,1<n?1-n:void 0)}function _g(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 Fv(){return!0}function BS(){return!1}function Ia(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)?Fv:BS,this.isPropagationStopped=BS,this}return En(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=Fv)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Fv)},persist:function(){},isPersistent:Fv}),t}var hd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},R_=Ia(hd),Dp=En({},hd,{view:0,detail:0}),dF=Ia(Dp),vy,gy,sh,Z0=En({},Dp,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:I_,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!==sh&&(sh&&e.type==="mousemove"?(vy=e.screenX-sh.screenX,gy=e.screenY-sh.screenY):gy=vy=0,sh=e),vy)},movementY:function(e){return"movementY"in e?e.movementY:gy}}),jS=Ia(Z0),hF=En({},Z0,{dataTransfer:0}),pF=Ia(hF),vF=En({},Dp,{relatedTarget:0}),my=Ia(vF),gF=En({},hd,{animationName:0,elapsedTime:0,pseudoElement:0}),mF=Ia(gF),yF=En({},hd,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bF=Ia(yF),xF=En({},hd,{data:0}),US=Ia(xF),wF={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_F={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"},SF={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function EF(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=SF[e])?!!t[e]:!1}function I_(){return EF}var AF=En({},Dp,{key:function(e){if(e.key){var t=wF[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=_g(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?_F[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:I_,charCode:function(e){return e.type==="keypress"?_g(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?_g(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),TF=Ia(AF),CF=En({},Z0,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),HS=Ia(CF),OF=En({},Dp,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:I_}),kF=Ia(OF),MF=En({},hd,{propertyName:0,elapsedTime:0,pseudoElement:0}),PF=Ia(MF),NF=En({},Z0,{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}),RF=Ia(NF),IF=[9,13,27,32],F_=Gu&&"CompositionEvent"in window,Vh=null;Gu&&"documentMode"in document&&(Vh=document.documentMode);var FF=Gu&&"TextEvent"in window&&!Vh,J5=Gu&&(!F_||Vh&&8<Vh&&11>=Vh),WS=String.fromCharCode(32),GS=!1;function ek(e,t){switch(e){case"keyup":return IF.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function tk(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ec=!1;function LF(e,t){switch(e){case"compositionend":return tk(t);case"keypress":return t.which!==32?null:(GS=!0,WS);case"textInput":return e=t.data,e===WS&&GS?null:e;default:return null}}function DF(e,t){if(Ec)return e==="compositionend"||!F_&&ek(e,t)?(e=K5(),wg=N_=$l=null,Ec=!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 J5&&t.locale!=="ko"?null:t.data;default:return null}}var $F={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 qS(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!$F[e.type]:t==="textarea"}function rk(e,t,r,n){F5(n),t=Vg(t,"onChange"),0<t.length&&(r=new R_("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var Yh=null,gp=null;function zF(e){uk(e,0)}function K0(e){var t=Tc(e);if(O5(t))return e}function BF(e,t){if(e==="change")return t}var nk=!1;if(Gu){var yy;if(Gu){var by="oninput"in document;if(!by){var VS=document.createElement("div");VS.setAttribute("oninput","return;"),by=typeof VS.oninput=="function"}yy=by}else yy=!1;nk=yy&&(!document.documentMode||9<document.documentMode)}function YS(){Yh&&(Yh.detachEvent("onpropertychange",ik),gp=Yh=null)}function ik(e){if(e.propertyName==="value"&&K0(gp)){var t=[];if(rk(t,gp,e,S_(e)),e=zF,Ys)e(t);else{Ys=!0;try{E_(e,t)}finally{Ys=!1,T_()}}}}function jF(e,t,r){e==="focusin"?(YS(),Yh=t,gp=r,Yh.attachEvent("onpropertychange",ik)):e==="focusout"&&YS()}function UF(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return K0(gp)}function HF(e,t){if(e==="click")return K0(t)}function WF(e,t){if(e==="input"||e==="change")return K0(t)}function GF(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ja=typeof Object.is=="function"?Object.is:GF,qF=Object.prototype.hasOwnProperty;function mp(e,t){if(Ja(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(!qF.call(t,r[n])||!Ja(e[r[n]],t[r[n]]))return!1;return!0}function XS(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function QS(e,t){var r=XS(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=XS(r)}}function ak(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ak(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ZS(){for(var e=window,t=Hg();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Hg(e.document)}return t}function kx(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 VF=Gu&&"documentMode"in document&&11>=document.documentMode,Ac=null,Mx=null,Xh=null,Px=!1;function KS(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Px||Ac==null||Ac!==Hg(n)||(n=Ac,"selectionStart"in n&&kx(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}),Xh&&mp(Xh,n)||(Xh=n,n=Vg(Mx,"onSelect"),0<n.length&&(t=new R_("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=Ac)))}k_("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);k_("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);k_(tF,2);for(var JS="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),xy=0;xy<JS.length;xy++)O_.set(JS[xy],0);Qc("onMouseEnter",["mouseout","mouseover"]);Qc("onMouseLeave",["mouseout","mouseover"]);Qc("onPointerEnter",["pointerout","pointerover"]);Qc("onPointerLeave",["pointerout","pointerover"]);mf("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));mf("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));mf("onBeforeInput",["compositionend","keypress","textInput","paste"]);mf("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));mf("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));mf("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ih="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ok=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ih));function eE(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,Q4(n,t,void 0,e),e.currentTarget=null}function uk(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;eE(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;eE(i,l,c),a=f}}}if(Gg)throw e=Tx,Gg=!1,Tx=null,e}function bn(e,t){var r=dk(t),n=e+"__bubble";r.has(n)||(sk(t,e,2,!1),r.add(n))}var tE="_reactListening"+Math.random().toString(36).slice(2);function lk(e){e[tE]||(e[tE]=!0,A5.forEach(function(t){ok.has(t)||rE(t,!1,e,null),rE(t,!0,e,null)}))}function rE(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&&ok.has(e)){if(e!=="scroll")return;i|=2,a=n}var o=dk(a),l=e+"__"+(t?"capture":"bubble");o.has(l)||(t&&(i|=4),sk(a,e,i,t),o.add(l))}function sk(e,t,r,n){var i=O_.get(t);switch(i===void 0?2:i){case 0:i=fF;break;case 1:i=cF;break;default:i=M_}r=i.bind(null,t,r,e),i=void 0,!Ax||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 fk(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=Xs(l),o===null)return;if(f=o.tag,f===5||f===6){n=a=o;continue e}l=l.parentNode}}n=n.return}q4(function(){var c=a,p=S_(r),_=[];e:{var x=Q5.get(e);if(x!==void 0){var b=R_,C=e;switch(e){case"keypress":if(_g(r)===0)break e;case"keydown":case"keyup":b=TF;break;case"focusin":C="focus",b=my;break;case"focusout":C="blur",b=my;break;case"beforeblur":case"afterblur":b=my;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=jS;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":b=pF;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":b=kF;break;case q5:case V5:case Y5:b=mF;break;case X5:b=PF;break;case"scroll":b=dF;break;case"wheel":b=RF;break;case"copy":case"cut":case"paste":b=bF;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":b=HS}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=dp(T,S),M!=null&&R.push(yp(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)&&(Xs(C)||C[pd]))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?Xs(C):null,C!==null&&(E=bf(C),C!==E||C.tag!==5&&C.tag!==6)&&(C=null)):(b=null,C=c),b!==C)){if(R=jS,M="onMouseLeave",S="onMouseEnter",T="mouse",(e==="pointerout"||e==="pointerover")&&(R=HS,M="onPointerLeave",S="onPointerEnter",T="pointer"),E=b==null?x:Tc(b),P=C==null?x:Tc(C),x=new R(M,T+"leave",b,r,p),x.target=E,x.relatedTarget=P,M=null,Xs(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=sc(P))T++;for(P=0,M=S;M;M=sc(M))P++;for(;0<T-P;)R=sc(R),T--;for(;0<P-T;)S=sc(S),P--;for(;T--;){if(R===S||S!==null&&R===S.alternate)break t;R=sc(R),S=sc(S)}R=null}else R=null;b!==null&&nE(_,x,b,R,!1),C!==null&&E!==null&&nE(_,E,C,R,!0)}}e:{if(x=c?Tc(c):window,b=x.nodeName&&x.nodeName.toLowerCase(),b==="select"||b==="input"&&x.type==="file")var L=BF;else if(qS(x))if(nk)L=WF;else{L=UF;var v=jF}else(b=x.nodeName)&&b.toLowerCase()==="input"&&(x.type==="checkbox"||x.type==="radio")&&(L=HF);if(L&&(L=L(e,c))){rk(_,L,r,p);break e}v&&v(e,x,c),e==="focusout"&&(v=x._wrapperState)&&v.controlled&&x.type==="number"&&mx(x,"number",x.value)}switch(v=c?Tc(c):window,e){case"focusin":(qS(v)||v.contentEditable==="true")&&(Ac=v,Mx=c,Xh=null);break;case"focusout":Xh=Mx=Ac=null;break;case"mousedown":Px=!0;break;case"contextmenu":case"mouseup":case"dragend":Px=!1,KS(_,r,p);break;case"selectionchange":if(VF)break;case"keydown":case"keyup":KS(_,r,p)}var J;if(F_)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 Ec?ek(e,r)&&(q="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(q="onCompositionStart");q&&(J5&&r.locale!=="ko"&&(Ec||q!=="onCompositionStart"?q==="onCompositionEnd"&&Ec&&(J=K5()):($l=p,N_="value"in $l?$l.value:$l.textContent,Ec=!0)),v=Vg(c,q),0<v.length&&(q=new US(q,e,null,r,p),_.push({event:q,listeners:v}),J?q.data=J:(J=tk(r),J!==null&&(q.data=J)))),(J=FF?LF(e,r):DF(e,r))&&(c=Vg(c,"onBeforeInput"),0<c.length&&(p=new US("onBeforeInput","beforeinput",null,r,p),_.push({event:p,listeners:c}),p.data=J))}uk(_,t)})}function yp(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Vg(e,t){for(var r=t+"Capture",n=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=dp(e,r),a!=null&&n.unshift(yp(e,a,i)),a=dp(e,t),a!=null&&n.push(yp(e,a,i))),e=e.return}return n}function sc(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function nE(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=dp(r,a),f!=null&&o.unshift(yp(r,f,l))):i||(f=dp(r,a),f!=null&&o.push(yp(r,f,l)))),r=r.return}o.length!==0&&e.push({event:t,listeners:o})}function Yg(){}var wy=null,_y=null;function ck(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Nx(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 iE=typeof setTimeout=="function"?setTimeout:void 0,YF=typeof clearTimeout=="function"?clearTimeout:void 0;function L_(e){e.nodeType===1?e.textContent="":e.nodeType===9&&(e=e.body,e!=null&&(e.textContent=""))}function $c(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break}return e}function aE(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 Sy=0;function XF(e){return{$$typeof:w_,toString:e,valueOf:e}}var J0=Math.random().toString(36).slice(2),zl="__reactFiber$"+J0,Xg="__reactProps$"+J0,pd="__reactContainer$"+J0,oE="__reactEvents$"+J0;function Xs(e){var t=e[zl];if(t)return t;for(var r=e.parentNode;r;){if(t=r[pd]||r[zl]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=aE(e);e!==null;){if(r=e[zl])return r;e=aE(e)}return t}e=r,r=e.parentNode}return null}function $p(e){return e=e[zl]||e[pd],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Tc(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(Mt(33))}function em(e){return e[Xg]||null}function dk(e){var t=e[oE];return t===void 0&&(t=e[oE]=new Set),t}var Rx=[],Cc=-1;function ss(e){return{current:e}}function xn(e){0>Cc||(e.current=Rx[Cc],Rx[Cc]=null,Cc--)}function In(e,t){Cc++,Rx[Cc]=e.current,e.current=t}var es={},Hi=ss(es),ha=ss(!1),nf=es;function Zc(e,t){var r=e.type.contextTypes;if(!r)return es;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 pa(e){return e=e.childContextTypes,e!=null}function Qg(){xn(ha),xn(Hi)}function uE(e,t,r){if(Hi.current!==es)throw Error(Mt(168));In(Hi,t),In(ha,r)}function hk(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,Ic(t)||"Unknown",i));return En({},r,n)}function Sg(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||es,nf=Hi.current,In(Hi,e),In(ha,ha.current),!0}function lE(e,t,r){var n=e.stateNode;if(!n)throw Error(Mt(169));r?(e=hk(e,t,nf),n.__reactInternalMemoizedMergedChildContext=e,xn(ha),xn(Hi),In(Hi,e)):xn(ha),In(ha,r)}var D_=null,Js=null,QF=xi.unstable_runWithPriority,$_=xi.unstable_scheduleCallback,Ix=xi.unstable_cancelCallback,ZF=xi.unstable_shouldYield,sE=xi.unstable_requestPaint,Fx=xi.unstable_now,KF=xi.unstable_getCurrentPriorityLevel,tm=xi.unstable_ImmediatePriority,pk=xi.unstable_UserBlockingPriority,vk=xi.unstable_NormalPriority,gk=xi.unstable_LowPriority,mk=xi.unstable_IdlePriority,Ey={},JF=sE!==void 0?sE:function(){},zu=null,Eg=null,Ay=!1,fE=Fx(),ji=1e4>fE?Fx:function(){return Fx()-fE};function Kc(){switch(KF()){case tm:return 99;case pk:return 98;case vk:return 97;case gk:return 96;case mk:return 95;default:throw Error(Mt(332))}}function yk(e){switch(e){case 99:return tm;case 98:return pk;case 97:return vk;case 96:return gk;case 95:return mk;default:throw Error(Mt(332))}}function af(e,t){return e=yk(e),QF(e,t)}function bp(e,t,r){return e=yk(e),$_(e,t,r)}function fu(){if(Eg!==null){var e=Eg;Eg=null,Ix(e)}bk()}function bk(){if(!Ay&&zu!==null){Ay=!0;var e=0;try{var t=zu;af(99,function(){for(;e<t.length;e++){var r=t[e];do r=r(!0);while(r!==null)}}),zu=null}catch(r){throw zu!==null&&(zu=zu.slice(e+1)),$_(tm,fu),r}finally{Ay=!1}}}var eL=yf.ReactCurrentBatchConfig;function Eo(e,t){if(e&&e.defaultProps){t=En({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}var Zg=ss(null),Kg=null,Oc=null,Jg=null;function z_(){Jg=Oc=Kg=null}function B_(e){var t=Zg.current;xn(Zg),e.type._context._currentValue=t}function xk(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 zc(e,t){Kg=e,Jg=Oc=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Ao=!0),e.firstContext=null)}function io(e,t){if(Jg!==e&&t!==!1&&t!==0)if((typeof t!="number"||t===1073741823)&&(Jg=e,t=1073741823),t={context:e,observedBits:t,next:null},Oc===null){if(Kg===null)throw Error(Mt(308));Oc=t,Kg.dependencies={lanes:0,firstContext:t,responders:null}}else Oc=Oc.next=t;return e._currentValue}var Nl=!1;function j_(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function wk(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 Vl(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Yl(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 cE(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 xp(e,t,r,n){var i=e.updateQueue;Nl=!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;_=En({},_,l);break e;case 2:Nl=!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,Bp|=o,e.lanes=o,e.memoizedState=_}}function dE(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 _k=new q0.Component().refs;function e0(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:En({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var rm={isMounted:function(e){return(e=e._reactInternals)?bf(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=Ra(),i=Xl(e),a=Vl(n,i);a.payload=t,r!=null&&(a.callback=r),Yl(e,a),Ql(e,i,n)},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=Ra(),i=Xl(e),a=Vl(n,i);a.tag=1,a.payload=t,r!=null&&(a.callback=r),Yl(e,a),Ql(e,i,n)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Ra(),n=Xl(e),i=Vl(r,n);i.tag=2,t!=null&&(i.callback=t),Yl(e,i),Ql(e,n,r)}};function hE(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?!mp(r,n)||!mp(i,a):!0}function Sk(e,t,r){var n=!1,i=es,a=t.contextType;return typeof a=="object"&&a!==null?a=io(a):(i=pa(t)?nf:Hi.current,n=t.contextTypes,a=(n=n!=null)?Zc(e,i):es),t=new t(r,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=rm,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function pE(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&&rm.enqueueReplaceState(t,t.state,null)}function Lx(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs=_k,j_(e);var a=t.contextType;typeof a=="object"&&a!==null?i.context=io(a):(a=pa(t)?nf:Hi.current,i.context=Zc(e,a)),xp(e,r,i,n),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(e0(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&&rm.enqueueReplaceState(i,i.state,null),xp(e,r,i,n),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4)}var Lv=Array.isArray;function fh(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===_k&&(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 Dv(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 Ek(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=rs(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=My(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=fh(E,S,T),P.return=E,P):(P=Og(T.type,T.key,T.props,null,E.mode,P),P.ref=fh(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=Py(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=Hc(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=My(""+S,E.mode,T),S.return=E,S;if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Nh:return T=Og(S.type,S.key,S.props,null,E.mode,T),T.ref=fh(E,null,S),T.return=E,T;case Vs:return S=Py(S,E.mode,T),S.return=E,S}if(Lv(S)||ih(S))return S=Hc(S,E.mode,T,null),S.return=E,S;Dv(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 Nh:return T.key===M?T.type===Ll?p(E,S,T.props.children,P,M):f(E,S,T,P):null;case Vs:return T.key===M?c(E,S,T,P):null}if(Lv(T)||ih(T))return M!==null?null:p(E,S,T,P,null);Dv(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 Nh:return E=E.get(P.key===null?T:P.key)||null,P.type===Ll?p(S,E,P.props.children,M,P.key):f(S,E,P,M);case Vs:return E=E.get(P.key===null?T:P.key)||null,c(S,E,P,M)}if(Lv(P)||ih(P))return E=E.get(T)||null,p(S,E,P,M,null);Dv(S,P)}return null}function C(E,S,T,P){for(var M=null,L=null,v=S,J=S=0,q=null;v!==null&&J<T.length;J++){v.index>J?(q=v,v=null):q=v.sibling;var ue=x(E,v,T[J],P);if(ue===null){v===null&&(v=q);break}e&&v&&ue.alternate===null&&t(E,v),S=a(ue,S,J),L===null?M=ue:L.sibling=ue,L=ue,v=q}if(J===T.length)return r(E,v),M;if(v===null){for(;J<T.length;J++)v=_(E,T[J],P),v!==null&&(S=a(v,S,J),L===null?M=v:L.sibling=v,L=v);return M}for(v=n(E,v);J<T.length;J++)q=b(v,E,J,T[J],P),q!==null&&(e&&q.alternate!==null&&v.delete(q.key===null?J:q.key),S=a(q,S,J),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=ih(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,J=S=0,q=null,ue=T.next();v!==null&&!ue.done;J++,ue=T.next()){v.index>J?(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,J),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;J++,ue=T.next())ue=_(E,ue.value,P),ue!==null&&(S=a(ue,S,J),L===null?M=ue:L.sibling=ue,L=ue);return M}for(v=n(E,v);!ue.done;J++,ue=T.next())ue=b(v,E,J,ue.value,P),ue!==null&&(e&&ue.alternate!==null&&v.delete(ue.key===null?J:ue.key),S=a(ue,S,J),L===null?M=ue:L.sibling=ue,L=ue);return e&&v.forEach(function(Te){return t(E,Te)}),M}return function(E,S,T,P){var M=typeof T=="object"&&T!==null&&T.type===Ll&&T.key===null;M&&(T=T.props.children);var L=typeof T=="object"&&T!==null;if(L)switch(T.$$typeof){case Nh:e:{for(L=T.key,M=S;M!==null;){if(M.key===L){switch(M.tag){case 7:if(T.type===Ll){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=fh(E,M,T),S.return=E,E=S;break e}}r(E,M);break}else t(E,M);M=M.sibling}T.type===Ll?(S=Hc(T.props.children,E.mode,P,T.key),S.return=E,E=S):(P=Og(T.type,T.key,T.props,null,E.mode,P),P.ref=fh(E,S,T),P.return=E,E=P)}return o(E);case Vs: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=Py(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=My(T,E.mode,P),S.return=E,E=S),o(E);if(Lv(T))return C(E,S,T,P);if(ih(T))return R(E,S,T,P);if(L&&Dv(E,T),typeof T>"u"&&!M)switch(E.tag){case 1:case 22:case 0:case 11:case 15:throw Error(Mt(152,Ic(E.type)||"Component"))}return r(E,S)}}var t0=Ek(!0),Ak=Ek(!1),zp={},iu=ss(zp),wp=ss(zp),_p=ss(zp);function Qs(e){if(e===zp)throw Error(Mt(174));return e}function Dx(e,t){switch(In(_p,t),In(wp,e),In(iu,zp),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:wx(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=wx(t,e)}xn(iu),In(iu,t)}function Jc(){xn(iu),xn(wp),xn(_p)}function vE(e){Qs(_p.current);var t=Qs(iu.current),r=wx(t,e.type);t!==r&&(In(wp,e),In(iu,r))}function U_(e){wp.current===e&&(xn(iu),xn(wp))}var Rn=ss(0);function r0(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 ju=null,Bl=null,au=!1;function Tk(e,t){var r=eo(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 gE(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 $x(e){if(au){var t=Bl;if(t){var r=t;if(!gE(e,t)){if(t=$c(r.nextSibling),!t||!gE(e,t)){e.flags=e.flags&-1025|2,au=!1,ju=e;return}Tk(ju,r)}ju=e,Bl=$c(t.firstChild)}else e.flags=e.flags&-1025|2,au=!1,ju=e}}function mE(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ju=e}function $v(e){if(e!==ju)return!1;if(!au)return mE(e),au=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!Nx(t,e.memoizedProps))for(t=Bl;t;)Tk(e,t),t=$c(t.nextSibling);if(mE(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){Bl=$c(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}Bl=null}}else Bl=ju?$c(e.stateNode.nextSibling):null;return!0}function Ty(){Bl=ju=null,au=!1}var Bc=[];function H_(){for(var e=0;e<Bc.length;e++)Bc[e]._workInProgressVersionPrimary=null;Bc.length=0}var Qh=yf.ReactCurrentDispatcher,ro=yf.ReactCurrentBatchConfig,Sp=0,zn=null,Bi=null,Mi=null,n0=!1,Zh=!1;function fa(){throw Error(Mt(321))}function W_(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!Ja(e[r],t[r]))return!1;return!0}function G_(e,t,r,n,i,a){if(Sp=a,zn=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Qh.current=e===null||e.memoizedState===null?rL:nL,e=r(n,i),Zh){a=0;do{if(Zh=!1,!(25>a))throw Error(Mt(301));a+=1,Mi=Bi=null,t.updateQueue=null,Qh.current=iL,e=r(n,i)}while(Zh)}if(Qh.current=u0,t=Bi!==null&&Bi.next!==null,Sp=0,Mi=Bi=zn=null,n0=!1,t)throw Error(Mt(300));return e}function Zs(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Mi===null?zn.memoizedState=Mi=e:Mi=Mi.next=e,Mi}function xf(){if(Bi===null){var e=zn.alternate;e=e!==null?e.memoizedState:null}else e=Bi.next;var t=Mi===null?zn.memoizedState:Mi.next;if(t!==null)Mi=t,Bi=e;else{if(e===null)throw Error(Mt(310));Bi=e,e={memoizedState:Bi.memoizedState,baseState:Bi.baseState,baseQueue:Bi.baseQueue,queue:Bi.queue,next:null},Mi===null?zn.memoizedState=Mi=e:Mi=Mi.next=e}return Mi}function tu(e,t){return typeof t=="function"?t(e):t}function ch(e){var t=xf(),r=t.queue;if(r===null)throw Error(Mt(311));r.lastRenderedReducer=e;var n=Bi,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((Sp&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,zn.lanes|=c,Bp|=c}f=f.next}while(f!==null&&f!==i);l===null?a=n:l.next=o,Ja(n,t.memoizedState)||(Ao=!0),t.memoizedState=n,t.baseState=a,t.baseQueue=l,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function dh(e){var t=xf(),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);Ja(a,t.memoizedState)||(Ao=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),r.lastRenderedState=a}return[a,n]}function yE(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=(Sp&e)===e)&&(t._workInProgressVersionPrimary=n,Bc.push(t))),e)return r(t._source);throw Bc.push(t),Error(Mt(350))}function Ck(e,t,r,n){var i=ta;if(i===null)throw Error(Mt(349));var a=t._getVersion,o=a(t._source),l=Qh.current,f=l.useState(function(){return yE(i,t,r)}),c=f[1],p=f[0];f=Mi;var _=e.memoizedState,x=_.refs,b=x.getSnapshot,C=_.source;_=_.subscribe;var R=zn;return e.memoizedState={refs:x,source:t,subscribe:n},l.useEffect(function(){x.getSnapshot=r,x.setSnapshot=c;var E=a(t._source);if(!Ja(o,E)){E=r(t._source),Ja(p,E)||(c(E),E=Xl(R),i.mutableReadLanes|=E&i.pendingLanes),E=i.mutableReadLanes,i.entangledLanes|=E;for(var S=i.entanglements,T=E;0<T;){var P=31-Jl(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=Xl(R);i.mutableReadLanes|=T&i.pendingLanes}catch(P){S(function(){throw P})}})},[t,n]),Ja(b,r)&&Ja(C,t)&&Ja(_,n)||(e={pending:null,dispatch:null,lastRenderedReducer:tu,lastRenderedState:p},e.dispatch=c=Y_.bind(null,zn,e),f.queue=e,f.baseQueue=null,p=yE(i,t,r),f.memoizedState=f.baseState=p),p}function Ok(e,t,r){var n=xf();return Ck(n,e,t,r)}function hh(e){var t=Zs();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:tu,lastRenderedState:e},e=e.dispatch=Y_.bind(null,zn,e),[t.memoizedState,e]}function i0(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=zn.updateQueue,t===null?(t={lastEffect:null},zn.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 bE(e){var t=Zs();return e={current:e},t.memoizedState=e}function a0(){return xf().memoizedState}function zx(e,t,r,n){var i=Zs();zn.flags|=e,i.memoizedState=i0(1|t,r,void 0,n===void 0?null:n)}function q_(e,t,r,n){var i=xf();n=n===void 0?null:n;var a=void 0;if(Bi!==null){var o=Bi.memoizedState;if(a=o.destroy,n!==null&&W_(n,o.deps)){i0(t,r,a,n);return}}zn.flags|=e,i.memoizedState=i0(1|t,r,a,n)}function xE(e,t){return zx(516,4,e,t)}function o0(e,t){return q_(516,4,e,t)}function kk(e,t){return q_(4,2,e,t)}function Mk(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 Pk(e,t,r){return r=r!=null?r.concat([e]):null,q_(4,2,Mk.bind(null,t,e),r)}function V_(){}function Nk(e,t){var r=xf();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&W_(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function Rk(e,t){var r=xf();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&W_(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function tL(e,t){var r=Kc();af(98>r?98:r,function(){e(!0)}),af(97<r?97:r,function(){var n=ro.transition;ro.transition=1;try{e(!1),t()}finally{ro.transition=n}})}function Y_(e,t,r){var n=Ra(),i=Xl(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===zn||o!==null&&o===zn)Zh=n0=!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,Ja(f,l))return}catch{}finally{}Ql(e,i,n)}}var u0={readContext:io,useCallback:fa,useContext:fa,useEffect:fa,useImperativeHandle:fa,useLayoutEffect:fa,useMemo:fa,useReducer:fa,useRef:fa,useState:fa,useDebugValue:fa,useDeferredValue:fa,useTransition:fa,useMutableSource:fa,useOpaqueIdentifier:fa,unstable_isNewReconciler:!1},rL={readContext:io,useCallback:function(e,t){return Zs().memoizedState=[e,t===void 0?null:t],e},useContext:io,useEffect:xE,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,zx(4,2,Mk.bind(null,t,e),r)},useLayoutEffect:function(e,t){return zx(4,2,e,t)},useMemo:function(e,t){var r=Zs();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Zs();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=Y_.bind(null,zn,e),[n.memoizedState,e]},useRef:bE,useState:hh,useDebugValue:V_,useDeferredValue:function(e){var t=hh(e),r=t[0],n=t[1];return xE(function(){var i=ro.transition;ro.transition=1;try{n(e)}finally{ro.transition=i}},[e]),r},useTransition:function(){var e=hh(!1),t=e[0];return e=tL.bind(null,e[1]),bE(e),[e,t]},useMutableSource:function(e,t,r){var n=Zs();return n.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:r},Ck(n,e,t,r)},useOpaqueIdentifier:function(){if(au){var e=!1,t=XF(function(){throw e||(e=!0,r("r:"+(Sy++).toString(36))),Error(Mt(355))}),r=hh(t)[1];return(zn.mode&2)===0&&(zn.flags|=516,i0(5,function(){r("r:"+(Sy++).toString(36))},void 0,null)),t}return t="r:"+(Sy++).toString(36),hh(t),t},unstable_isNewReconciler:!1},nL={readContext:io,useCallback:Nk,useContext:io,useEffect:o0,useImperativeHandle:Pk,useLayoutEffect:kk,useMemo:Rk,useReducer:ch,useRef:a0,useState:function(){return ch(tu)},useDebugValue:V_,useDeferredValue:function(e){var t=ch(tu),r=t[0],n=t[1];return o0(function(){var i=ro.transition;ro.transition=1;try{n(e)}finally{ro.transition=i}},[e]),r},useTransition:function(){var e=ch(tu)[0];return[a0().current,e]},useMutableSource:Ok,useOpaqueIdentifier:function(){return ch(tu)[0]},unstable_isNewReconciler:!1},iL={readContext:io,useCallback:Nk,useContext:io,useEffect:o0,useImperativeHandle:Pk,useLayoutEffect:kk,useMemo:Rk,useReducer:dh,useRef:a0,useState:function(){return dh(tu)},useDebugValue:V_,useDeferredValue:function(e){var t=dh(tu),r=t[0],n=t[1];return o0(function(){var i=ro.transition;ro.transition=1;try{n(e)}finally{ro.transition=i}},[e]),r},useTransition:function(){var e=dh(tu)[0];return[a0().current,e]},useMutableSource:Ok,useOpaqueIdentifier:function(){return dh(tu)[0]},unstable_isNewReconciler:!1},aL=yf.ReactCurrentOwner,Ao=!1;function ca(e,t,r,n){t.child=e===null?Ak(t,null,r,n):t0(t,e.child,r,n)}function wE(e,t,r,n,i){r=r.render;var a=t.ref;return zc(t,i),n=G_(e,t,r,n,a,i),e!==null&&!Ao?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,Uu(e,t,i)):(t.flags|=1,ca(e,t,n,i),t.child)}function _E(e,t,r,n,i,a){if(e===null){var o=r.type;return typeof o=="function"&&!e2(o)&&o.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=o,Ik(e,t,o,n,i,a)):(e=Og(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:mp,r(i,n)&&e.ref===t.ref)?Uu(e,t,a):(t.flags|=1,e=rs(o,n),e.ref=t.ref,e.return=t,t.child=e)}function Ik(e,t,r,n,i,a){if(e!==null&&mp(e.memoizedProps,n)&&e.ref===t.ref)if(Ao=!1,(a&i)!==0)(e.flags&16384)!==0&&(Ao=!0);else return t.lanes=e.lanes,Uu(e,t,a);return Bx(e,t,r,n,a)}function Cy(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},Bv(t,r);else if((r&1073741824)!==0)t.memoizedState={baseLanes:0},Bv(t,a!==null?a.baseLanes:r);else return e=a!==null?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Bv(t,e),null;else a!==null?(n=a.baseLanes|r,t.memoizedState=null):n=r,Bv(t,n);return ca(e,t,i,r),t.child}function Fk(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=128)}function Bx(e,t,r,n,i){var a=pa(r)?nf:Hi.current;return a=Zc(t,a),zc(t,i),r=G_(e,t,r,n,a,i),e!==null&&!Ao?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,Uu(e,t,i)):(t.flags|=1,ca(e,t,r,i),t.child)}function SE(e,t,r,n,i){if(pa(r)){var a=!0;Sg(t)}else a=!1;if(zc(t,i),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),Sk(t,r,n),Lx(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=io(c):(c=pa(r)?nf:Hi.current,c=Zc(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)&&pE(t,o,n,c),Nl=!1;var x=t.memoizedState;o.state=x,xp(t,n,o,i),f=t.memoizedState,l!==n||x!==f||ha.current||Nl?(typeof p=="function"&&(e0(t,r,p,n),f=t.memoizedState),(l=Nl||hE(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,wk(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:Eo(t.type,l),o.props=c,_=t.pendingProps,x=o.context,f=r.contextType,typeof f=="object"&&f!==null?f=io(f):(f=pa(r)?nf:Hi.current,f=Zc(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)&&pE(t,o,n,f),Nl=!1,x=t.memoizedState,o.state=x,xp(t,n,o,i);var C=t.memoizedState;l!==_||x!==C||ha.current||Nl?(typeof b=="function"&&(e0(t,r,b,n),C=t.memoizedState),(c=Nl||hE(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 jx(e,t,r,n,a,i)}function jx(e,t,r,n,i,a){Fk(e,t);var o=(t.flags&64)!==0;if(!n&&!o)return i&&lE(t,r,!1),Uu(e,t,a);n=t.stateNode,aL.current=t;var l=o&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&o?(t.child=t0(t,e.child,null,a),t.child=t0(t,null,l,a)):ca(e,t,l,a),t.memoizedState=n.state,i&&lE(t,r,!0),t.child}function EE(e){var t=e.stateNode;t.pendingContext?uE(e,t.pendingContext,t.pendingContext!==t.context):t.context&&uE(e,t.context,!1),Dx(e,t.containerInfo)}var zv={dehydrated:null,retryLane:0};function AE(e,t,r){var n=t.pendingProps,i=Rn.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),In(Rn,i&1),e===null?(n.fallback!==void 0&&$x(t),e=n.children,i=n.fallback,a?(e=TE(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=zv,e):typeof n.unstable_expectedLoadTime=="number"?(e=TE(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=zv,t.lanes=33554432,e):(r=t2({mode:"visible",children:e},t.mode,r,null),r.return=t,t.child=r)):e.memoizedState!==null?a?(n=OE(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=zv,n):(r=CE(e,t,n.children,r),t.memoizedState=null,r):a?(n=OE(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=zv,n):(r=CE(e,t,n.children,r),t.memoizedState=null,r)}function TE(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=t2(t,i,0,null),r=Hc(r,i,n,null),a.return=e,r.return=e,a.sibling=r,e.child=a,r}function CE(e,t,r,n){var i=e.child;return e=i.sibling,r=rs(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 OE(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=rs(o,l),e!==null?n=rs(e,n):(n=Hc(n,a,i,null),n.flags|=2),n.return=t,r.return=t,r.sibling=n,t.child=r,n}function kE(e,t){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),xk(e.return,t)}function Oy(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 ME(e,t,r){var n=t.pendingProps,i=n.revealOrder,a=n.tail;if(ca(e,t,n.children,r),n=Rn.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&&kE(e,r);else if(e.tag===19)kE(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(In(Rn,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&&r0(e)===null&&(i=r),r=r.sibling;r=i,r===null?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),Oy(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&&r0(e)===null){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}Oy(t,!0,r,null,a,t.lastEffect);break;case"together":Oy(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Uu(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Bp|=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=rs(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=rs(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}return null}var Lk,Ux,Dk,$k;Lk=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}};Ux=function(){};Dk=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,Qs(iu.current);var a=null;switch(r){case"input":i=vx(e,i),n=vx(e,n),a=[];break;case"option":i=yx(e,i),n=yx(e,n),a=[];break;case"select":i=En({},i,{value:void 0}),n=En({},n,{value:void 0}),a=[];break;case"textarea":i=bx(e,i),n=bx(e,n),a=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=Yg)}_x(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"&&(fp.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"&&(fp.hasOwnProperty(c)?(f!=null&&c==="onScroll"&&bn("scroll",e),a||l===f||(a=[])):typeof f=="object"&&f!==null&&f.$$typeof===w_?f.toString():(a=a||[]).push(c,f))}r&&(a=a||[]).push("style",r);var c=a;(t.updateQueue=c)&&(t.flags|=4)}};$k=function(e,t,r,n){r!==n&&(t.flags|=4)};function ph(e,t){if(!au)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 oL(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 pa(t.type)&&Qg(),null;case 3:return Jc(),xn(ha),xn(Hi),H_(),n=t.stateNode,n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&($v(t)?t.flags|=4:n.hydrate||(t.flags|=256)),Ux(t),null;case 5:U_(t);var i=Qs(_p.current);if(r=t.type,e!==null&&t.stateNode!=null)Dk(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=Qs(iu.current),$v(t)){n=t.stateNode,r=t.type;var a=t.memoizedProps;switch(n[zl]=t,n[Xg]=a,r){case"dialog":bn("cancel",n),bn("close",n);break;case"iframe":case"object":case"embed":bn("load",n);break;case"video":case"audio":for(e=0;e<Ih.length;e++)bn(Ih[e],n);break;case"source":bn("error",n);break;case"img":case"image":case"link":bn("error",n),bn("load",n);break;case"details":bn("toggle",n);break;case"input":MS(n,a),bn("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!a.multiple},bn("invalid",n);break;case"textarea":NS(n,a),bn("invalid",n)}_x(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]):fp.hasOwnProperty(o)&&i!=null&&o==="onScroll"&&bn("scroll",n));switch(r){case"input":Nv(n),PS(n,a,!0);break;case"textarea":Nv(n),RS(n);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(n.onclick=Yg)}n=e,t.updateQueue=n,n!==null&&(t.flags|=4)}else{switch(o=i.nodeType===9?i:i.ownerDocument,e===xx.html&&(e=P5(r)),e===xx.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[zl]=t,e[Xg]=n,Lk(e,t,!1,!1),t.stateNode=e,o=Sx(r,n),r){case"dialog":bn("cancel",e),bn("close",e),i=n;break;case"iframe":case"object":case"embed":bn("load",e),i=n;break;case"video":case"audio":for(i=0;i<Ih.length;i++)bn(Ih[i],e);i=n;break;case"source":bn("error",e),i=n;break;case"img":case"image":case"link":bn("error",e),bn("load",e),i=n;break;case"details":bn("toggle",e),i=n;break;case"input":MS(e,n),i=vx(e,n),bn("invalid",e);break;case"option":i=yx(e,n);break;case"select":e._wrapperState={wasMultiple:!!n.multiple},i=En({},n,{value:void 0}),bn("invalid",e);break;case"textarea":NS(e,n),i=bx(e,n),bn("invalid",e);break;default:i=n}_x(r,i);var l=i;for(a in l)if(l.hasOwnProperty(a)){var f=l[a];a==="style"?I5(e,f):a==="dangerouslySetInnerHTML"?(f=f?f.__html:void 0,f!=null&&N5(e,f)):a==="children"?typeof f=="string"?(r!=="textarea"||f!=="")&&cp(e,f):typeof f=="number"&&cp(e,""+f):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(fp.hasOwnProperty(a)?f!=null&&a==="onScroll"&&bn("scroll",e):f!=null&&v_(e,a,f,o))}switch(r){case"input":Nv(e),PS(e,n,!1);break;case"textarea":Nv(e),RS(e);break;case"option":n.value!=null&&e.setAttribute("value",""+Kl(n.value));break;case"select":e.multiple=!!n.multiple,a=n.value,a!=null?Fc(e,!!n.multiple,a,!1):n.defaultValue!=null&&Fc(e,!!n.multiple,n.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Yg)}ck(r,n)&&(t.flags|=4)}t.ref!==null&&(t.flags|=128)}return null;case 6:if(e&&t.stateNode!=null)$k(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(Mt(166));r=Qs(_p.current),Qs(iu.current),$v(t)?(n=t.stateNode,r=t.memoizedProps,n[zl]=t,n.nodeValue!==r&&(t.flags|=4)):(n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[zl]=t,t.stateNode=n)}return null;case 13:return xn(Rn),n=t.memoizedState,(t.flags&64)!==0?(t.lanes=r,t):(n=n!==null,r=!1,e===null?t.memoizedProps.fallback!==void 0&&$v(t):r=e.memoizedState!==null,n&&!r&&(t.mode&2)!==0&&(e===null&&t.memoizedProps.unstable_avoidThisFallback!==!0||(Rn.current&1)!==0?Pi===0&&(Pi=3):((Pi===0||Pi===3)&&(Pi=4),ta===null||(Bp&134217727)===0&&(gd&134217727)===0||jc(ta,Ui))),(n||r)&&(t.flags|=4),null);case 4:return Jc(),Ux(t),e===null&&lk(t.stateNode.containerInfo),null;case 10:return B_(t),null;case 17:return pa(t.type)&&Qg(),null;case 19:if(xn(Rn),n=t.memoizedState,n===null)return null;if(a=(t.flags&64)!==0,o=n.rendering,o===null)if(a)ph(n,!1);else{if(Pi!==0||e!==null&&(e.flags&64)!==0)for(e=t.child;e!==null;){if(o=r0(e),o!==null){for(t.flags|=64,ph(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 In(Rn,Rn.current&1|2),t.child}e=e.sibling}n.tail!==null&&ji()>Yx&&(t.flags|=64,a=!0,ph(n,!1),t.lanes=33554432)}else{if(!a)if(e=r0(o),e!==null){if(t.flags|=64,a=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),ph(n,!0),n.tail===null&&n.tailMode==="hidden"&&!o.alternate&&!au)return t=t.lastEffect=n.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*ji()-n.renderingStartTime>Yx&&r!==1073741824&&(t.flags|=64,a=!0,ph(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=ji(),r.sibling=null,t=Rn.current,In(Rn,a?t&1|2:t&1),r):null;case 23:case 24:return J_(),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 uL(e){switch(e.tag){case 1:pa(e.type)&&Qg();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(Jc(),xn(ha),xn(Hi),H_(),t=e.flags,(t&64)!==0)throw Error(Mt(285));return e.flags=t&-4097|64,e;case 5:return U_(e),null;case 13:return xn(Rn),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return xn(Rn),null;case 4:return Jc(),null;case 10:return B_(e),null;case 23:case 24:return J_(),null;default:return null}}function X_(e,t){try{var r="",n=t;do r+=j4(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 Hx(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var lL=typeof WeakMap=="function"?WeakMap:Map;function zk(e,t,r){r=Vl(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){s0||(s0=!0,Xx=n),Hx(e,t)},r}function Bk(e,t,r){r=Vl(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var i=t.value;r.payload=function(){return Hx(e,t),n(i)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){typeof n!="function"&&(ru===null?ru=new Set([this]):ru.add(this),Hx(e,t));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),r}var sL=typeof WeakSet=="function"?WeakSet:Set;function PE(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){Zl(e,r)}else t.current=null}function fL(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:Eo(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&L_(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(Mt(163))}function cL(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&&(Xk(r,e),bL(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:Eo(r.type,t.memoizedProps),e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=r.updateQueue,t!==null&&dE(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}dE(r,t,e)}return;case 5:e=r.stateNode,t===null&&r.flags&4&&ck(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&&W5(r))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(Mt(163))}function NE(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=R5("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 RE(e,t){if(Js&&typeof Js.onCommitFiberUnmount=="function")try{Js.onCommitFiberUnmount(D_,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)Xk(t,r);else{n=t;try{i()}catch(a){Zl(n,a)}}r=r.next}while(r!==e)}break;case 1:if(PE(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(a){Zl(t,a)}break;case 5:PE(t);break;case 4:jk(e,t)}}function IE(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 FE(e){return e.tag===5||e.tag===3||e.tag===4}function LE(e){e:{for(var t=e.return;t!==null;){if(FE(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&&(cp(t,""),r.flags&=-17);e:t:for(r=e;;){for(;r.sibling===null;){if(r.return===null||FE(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?Wx(e,r,t):Gx(e,r,t)}function Wx(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=Yg));else if(n!==4&&(e=e.child,e!==null))for(Wx(e,t,r),e=e.sibling;e!==null;)Wx(e,t,r),e=e.sibling}function Gx(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(Gx(e,t,r),e=e.sibling;e!==null;)Gx(e,t,r),e=e.sibling}function jk(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(RE(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(RE(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 ky(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[Xg]=n,e==="input"&&n.type==="radio"&&n.name!=null&&k5(r,n),Sx(e,i),t=Sx(e,n),i=0;i<a.length;i+=2){var o=a[i],l=a[i+1];o==="style"?I5(r,l):o==="dangerouslySetInnerHTML"?N5(r,l):o==="children"?cp(r,l):v_(r,o,l,t)}switch(e){case"input":gx(r,n);break;case"textarea":M5(r,n);break;case"select":e=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,a=n.value,a!=null?Fc(r,!!n.multiple,a,!1):e!==!!n.multiple&&(n.defaultValue!=null?Fc(r,!!n.multiple,n.defaultValue,!0):Fc(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,W5(r.containerInfo));return;case 12:return;case 13:t.memoizedState!==null&&(K_=ji(),NE(t.child,!0)),DE(t);return;case 19:DE(t);return;case 17:return;case 23:case 24:NE(t,t.memoizedState!==null);return}throw Error(Mt(163))}function DE(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new sL),t.forEach(function(n){var i=_L.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function dL(e,t){return e!==null&&(e=e.memoizedState,e===null||e.dehydrated!==null)?(t=t.memoizedState,t!==null&&t.dehydrated===null):!1}var hL=Math.ceil,l0=yf.ReactCurrentDispatcher,Q_=yf.ReactCurrentOwner,Tr=0,ta=null,ai=null,Ui=0,of=0,qx=ss(0),Pi=0,nm=null,vd=0,Bp=0,gd=0,Z_=0,Vx=null,K_=0,Yx=1/0;function md(){Yx=ji()+500}var ar=null,s0=!1,Xx=null,ru=null,ts=!1,Kh=null,Fh=90,Qx=[],Zx=[],Wu=null,Jh=0,Kx=null,Ag=-1,Bu=0,Tg=0,ep=null,Cg=!1;function Ra(){return(Tr&48)!==0?ji():Ag!==-1?Ag:Ag=ji()}function Xl(e){if(e=e.mode,(e&2)===0)return 1;if((e&4)===0)return Kc()===99?1:2;if(Bu===0&&(Bu=vd),eL.transition!==0){Tg!==0&&(Tg=Vx!==null?Vx.pendingLanes:0),e=Bu;var t=4186112&~Tg;return t&=-t,t===0&&(e=4186112&~e,t=e&-e,t===0&&(t=8192)),t}return e=Kc(),(Tr&4)!==0&&e===98?e=qg(12,Bu):(e=nF(e),e=qg(e,Bu)),e}function Ql(e,t,r){if(50<Jh)throw Jh=0,Kx=null,Error(Mt(185));if(e=im(e,t),e===null)return null;Q0(e,t,r),e===ta&&(gd|=t,Pi===4&&jc(e,Ui));var n=Kc();t===1?(Tr&8)!==0&&(Tr&48)===0?Jx(e):(ao(e,r),Tr===0&&(md(),fu())):((Tr&4)===0||n!==98&&n!==99||(Wu===null?Wu=new Set([e]):Wu.add(e)),ao(e,r)),Vx=e}function im(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 ao(e,t){for(var r=e.callbackNode,n=e.suspendedLanes,i=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var l=31-Jl(o),f=1<<l,c=a[l];if(c===-1){if((f&n)===0||(f&i)!==0){c=t,yc(f);var p=mn;a[l]=10<=p?c+250:6<=p?c+5e3:-1}}else c<=t&&(e.expiredLanes|=f);o&=~f}if(n=vp(e,e===ta?Ui:0),t=mn,n===0)r!==null&&(r!==Ey&&Ix(r),e.callbackNode=null,e.callbackPriority=0);else{if(r!==null){if(e.callbackPriority===t)return;r!==Ey&&Ix(r)}t===15?(r=Jx.bind(null,e),zu===null?(zu=[r],Eg=$_(tm,bk)):zu.push(r),r=Ey):t===14?r=bp(99,Jx.bind(null,e)):(r=iF(t),r=bp(r,Uk.bind(null,e))),e.callbackPriority=t,e.callbackNode=r}}function Uk(e){if(Ag=-1,Tg=Bu=0,(Tr&48)!==0)throw Error(Mt(327));var t=e.callbackNode;if(fs()&&e.callbackNode!==t)return null;var r=vp(e,e===ta?Ui:0);if(r===0)return null;var n=r,i=Tr;Tr|=16;var a=qk();(ta!==e||Ui!==n)&&(md(),Uc(e,n));do try{gL();break}catch(l){Gk(e,l)}while(1);if(z_(),l0.current=a,Tr=i,ai!==null?n=0:(ta=null,Ui=0,n=Pi),(vd&gd)!==0)Uc(e,0);else if(n!==0){if(n===2&&(Tr|=64,e.hydrate&&(e.hydrate=!1,L_(e.containerInfo)),r=Z5(e),r!==0&&(n=Lh(e,r))),n===1)throw t=nm,Uc(e,0),jc(e,r),ao(e,ji()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=r,n){case 0:case 1:throw Error(Mt(345));case 2:js(e);break;case 3:if(jc(e,r),(r&62914560)===r&&(n=K_+500-ji(),10<n)){if(vp(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Ra(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=iE(js.bind(null,e),n);break}js(e);break;case 4:if(jc(e,r),(r&4186112)===r)break;for(n=e.eventTimes,i=-1;0<r;){var o=31-Jl(r);a=1<<o,o=n[o],o>i&&(i=o),r&=~a}if(r=i,r=ji()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*hL(r/1960))-r,10<r){e.timeoutHandle=iE(js.bind(null,e),r);break}js(e);break;case 5:js(e);break;default:throw Error(Mt(329))}}return ao(e,ji()),e.callbackNode===t?Uk.bind(null,e):null}function jc(e,t){for(t&=~Z_,t&=~gd,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-Jl(t),n=1<<r;e[r]=-1,t&=~n}}function Jx(e){if((Tr&48)!==0)throw Error(Mt(327));if(fs(),e===ta&&(e.expiredLanes&Ui)!==0){var t=Ui,r=Lh(e,t);(vd&gd)!==0&&(t=vp(e,t),r=Lh(e,t))}else t=vp(e,0),r=Lh(e,t);if(e.tag!==0&&r===2&&(Tr|=64,e.hydrate&&(e.hydrate=!1,L_(e.containerInfo)),t=Z5(e),t!==0&&(r=Lh(e,t))),r===1)throw r=nm,Uc(e,0),jc(e,t),ao(e,ji()),r;return e.finishedWork=e.current.alternate,e.finishedLanes=t,js(e),ao(e,ji()),null}function pL(){if(Wu!==null){var e=Wu;Wu=null,e.forEach(function(t){t.expiredLanes|=24&t.pendingLanes,ao(t,ji())})}fu()}function Hk(e,t){var r=Tr;Tr|=1;try{return e(t)}finally{Tr=r,Tr===0&&(md(),fu())}}function Wk(e,t){var r=Tr;Tr&=-2,Tr|=8;try{return e(t)}finally{Tr=r,Tr===0&&(md(),fu())}}function Bv(e,t){In(qx,of),of|=t,vd|=t}function J_(){of=qx.current,xn(qx)}function Uc(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,YF(r)),ai!==null)for(r=ai.return;r!==null;){var n=r;switch(n.tag){case 1:n=n.type.childContextTypes,n!=null&&Qg();break;case 3:Jc(),xn(ha),xn(Hi),H_();break;case 5:U_(n);break;case 4:Jc();break;case 13:xn(Rn);break;case 19:xn(Rn);break;case 10:B_(n);break;case 23:case 24:J_()}r=r.return}ta=e,ai=rs(e.current,null),Ui=of=vd=t,Pi=0,nm=null,Z_=gd=Bp=0}function Gk(e,t){do{var r=ai;try{if(z_(),Qh.current=u0,n0){for(var n=zn.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}n0=!1}if(Sp=0,Mi=Bi=zn=null,Zh=!1,Q_.current=null,r===null||r.return===null){Pi=1,nm=t,ai=null;break}e:{var a=e,o=r.return,l=r,f=t;if(t=Ui,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 _=(Rn.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=Vl(-1,1);T.tag=2,Yl(l,T)}l.lanes|=1;break e}f=void 0,l=t;var P=a.pingCache;if(P===null?(P=a.pingCache=new lL,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=wL.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((Ic(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.`)}Pi!==5&&(Pi=2),f=X_(f,l),x=o;do{switch(x.tag){case 3:a=f,x.flags|=4096,t&=-t,x.lanes|=t;var L=zk(x,a,t);cE(x,L);break e;case 1:a=f;var v=x.type,J=x.stateNode;if((x.flags&64)===0&&(typeof v.getDerivedStateFromError=="function"||J!==null&&typeof J.componentDidCatch=="function"&&(ru===null||!ru.has(J)))){x.flags|=4096,t&=-t,x.lanes|=t;var q=Bk(x,a,t);cE(x,q);break e}}x=x.return}while(x!==null)}Yk(r)}catch(ue){t=ue,ai===r&&r!==null&&(ai=r=r.return);continue}break}while(1)}function qk(){var e=l0.current;return l0.current=u0,e===null?u0:e}function Lh(e,t){var r=Tr;Tr|=16;var n=qk();ta===e&&Ui===t||Uc(e,t);do try{vL();break}catch(i){Gk(e,i)}while(1);if(z_(),Tr=r,l0.current=n,ai!==null)throw Error(Mt(261));return ta=null,Ui=0,Pi}function vL(){for(;ai!==null;)Vk(ai)}function gL(){for(;ai!==null&&!ZF();)Vk(ai)}function Vk(e){var t=Qk(e.alternate,e,of);e.memoizedProps=e.pendingProps,t===null?Yk(e):ai=t,Q_.current=null}function Yk(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&2048)===0){if(r=oL(r,t,of),r!==null){ai=r;return}if(r=t,r.tag!==24&&r.tag!==23||r.memoizedState===null||(of&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=uL(t),r!==null){r.flags&=2047,ai=r;return}e!==null&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(t=t.sibling,t!==null){ai=t;return}ai=t=e}while(t!==null);Pi===0&&(Pi=5)}function js(e){var t=Kc();return af(99,mL.bind(null,e,t)),null}function mL(e,t){do fs();while(Kh!==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-Jl(a),c=1<<f;i[f]=0,o[f]=-1,l[f]=-1,a&=~c}if(Wu!==null&&(n&24)===0&&Wu.has(e)&&Wu.delete(e),e===ta&&(ai=ta=null,Ui=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,Q_.current=null,wy=xg,o=ZS(),kx(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;_y={focusedElem:o,selectionRange:l},xg=!1,ep=null,Cg=!1,ar=n;do try{yL()}catch(ue){if(ar===null)throw Error(Mt(330));Zl(ar,ue),ar=ar.nextEffect}while(ar!==null);ep=null,ar=n;do try{for(o=e;ar!==null;){var T=ar.flags;if(T&16&&cp(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:LE(ar),ar.flags&=-3;break;case 6:LE(ar),ar.flags&=-3,ky(ar.alternate,ar);break;case 1024:ar.flags&=-1025;break;case 1028:ar.flags&=-1025,ky(ar.alternate,ar);break;case 4:ky(ar.alternate,ar);break;case 8:l=ar,jk(o,l);var L=l.alternate;IE(l),L!==null&&IE(L)}ar=ar.nextEffect}}catch(ue){if(ar===null)throw Error(Mt(330));Zl(ar,ue),ar=ar.nextEffect}while(ar!==null);if(M=_y,P=ZS(),T=M.focusedElem,o=M.selectionRange,P!==T&&T&&T.ownerDocument&&ak(T.ownerDocument.documentElement,T)){for(o!==null&&kx(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=QS(T,L),a=QS(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}xg=!!wy,_y=wy=null,e.current=r,ar=n;do try{for(T=e;ar!==null;){var v=ar.flags;if(v&36&&cL(T,ar.alternate,ar),v&128){P=void 0;var J=ar.ref;if(J!==null){var q=ar.stateNode;switch(ar.tag){case 5:P=q;break;default:P=q}typeof J=="function"?J(P):J.current=P}}ar=ar.nextEffect}}catch(ue){if(ar===null)throw Error(Mt(330));Zl(ar,ue),ar=ar.nextEffect}while(ar!==null);ar=null,JF(),Tr=i}else e.current=r;if(ts)ts=!1,Kh=e,Fh=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&&(ru=null),n===1?e===Kx?Jh++:(Jh=0,Kx=e):Jh=0,r=r.stateNode,Js&&typeof Js.onCommitFiberRoot=="function")try{Js.onCommitFiberRoot(D_,r,void 0,(r.current.flags&64)===64)}catch{}if(ao(e,ji()),s0)throw s0=!1,e=Xx,Xx=null,e;return(Tr&8)!==0||fu(),null}function yL(){for(;ar!==null;){var e=ar.alternate;Cg||ep===null||((ar.flags&8)!==0?LS(ar,ep)&&(Cg=!0):ar.tag===13&&dL(e,ar)&&LS(ar,ep)&&(Cg=!0));var t=ar.flags;(t&256)!==0&&fL(e,ar),(t&512)===0||ts||(ts=!0,bp(97,function(){return fs(),null})),ar=ar.nextEffect}}function fs(){if(Fh!==90){var e=97<Fh?97:Fh;return Fh=90,af(e,xL)}return!1}function bL(e,t){Qx.push(t,e),ts||(ts=!0,bp(97,function(){return fs(),null}))}function Xk(e,t){Zx.push(t,e),ts||(ts=!0,bp(97,function(){return fs(),null}))}function xL(){if(Kh===null)return!1;var e=Kh;if(Kh=null,(Tr&48)!==0)throw Error(Mt(331));var t=Tr;Tr|=32;var r=Zx;Zx=[];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));Zl(a,f)}}for(r=Qx,Qx=[],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));Zl(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,fu(),!0}function $E(e,t,r){t=X_(r,t),t=zk(e,t,1),Yl(e,t),t=Ra(),e=im(e,1),e!==null&&(Q0(e,1,t),ao(e,t))}function Zl(e,t){if(e.tag===3)$E(e,e,t);else for(var r=e.return;r!==null;){if(r.tag===3){$E(r,e,t);break}else if(r.tag===1){var n=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(ru===null||!ru.has(n))){e=X_(t,e);var i=Bk(r,e,1);if(Yl(r,i),i=Ra(),r=im(r,1),r!==null)Q0(r,1,i),ao(r,i);else if(typeof n.componentDidCatch=="function"&&(ru===null||!ru.has(n)))try{n.componentDidCatch(t,e)}catch{}break}}r=r.return}}function wL(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=Ra(),e.pingedLanes|=e.suspendedLanes&r,ta===e&&(Ui&r)===r&&(Pi===4||Pi===3&&(Ui&62914560)===Ui&&500>ji()-K_?Uc(e,0):Z_|=r),ao(e,t)}function _L(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=Kc()===99?1:2:(Bu===0&&(Bu=vd),t=bc(62914560&~Bu),t===0&&(t=4194304))),r=Ra(),e=im(e,t),e!==null&&(Q0(e,t,r),ao(e,r))}var Qk;Qk=function(e,t,r){var n=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||ha.current)Ao=!0;else if((r&n)!==0)Ao=(e.flags&16384)!==0;else{switch(Ao=!1,t.tag){case 3:EE(t),Ty();break;case 5:vE(t);break;case 1:pa(t.type)&&Sg(t);break;case 4:Dx(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value;var i=t.type._context;In(Zg,i._currentValue),i._currentValue=n;break;case 13:if(t.memoizedState!==null)return(r&t.child.childLanes)!==0?AE(e,t,r):(In(Rn,Rn.current&1),t=Uu(e,t,r),t!==null?t.sibling:null);In(Rn,Rn.current&1);break;case 19:if(n=(r&t.childLanes)!==0,(e.flags&64)!==0){if(n)return ME(e,t,r);t.flags|=64}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),In(Rn,Rn.current),n)break;return null;case 23:case 24:return t.lanes=0,Cy(e,t,r)}return Uu(e,t,r)}else Ao=!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=Zc(t,Hi.current),zc(t,r),i=G_(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,pa(n)){var a=!0;Sg(t)}else a=!1;t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,j_(t);var o=n.getDerivedStateFromProps;typeof o=="function"&&e0(t,n,o,e),i.updater=rm,t.stateNode=i,i._reactInternals=t,Lx(t,n,e,r),t=jx(null,t,n,!0,a,r)}else t.tag=0,ca(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=EL(i),e=Eo(i,e),a){case 0:t=Bx(null,t,i,e,r);break e;case 1:t=SE(null,t,i,e,r);break e;case 11:t=wE(null,t,i,e,r);break e;case 14:t=_E(null,t,i,Eo(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:Eo(n,i),Bx(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Eo(n,i),SE(e,t,n,i,r);case 3:if(EE(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,wk(e,t),xp(t,n,null,r),n=t.memoizedState.element,n===i)Ty(),t=Uu(e,t,r);else{if(i=t.stateNode,(a=i.hydrate)&&(Bl=$c(t.stateNode.containerInfo.firstChild),ju=t,a=au=!0),a){if(e=i.mutableSourceEagerHydrationData,e!=null)for(i=0;i<e.length;i+=2)a=e[i],a._workInProgressVersionPrimary=e[i+1],Bc.push(a);for(r=Ak(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|1024,r=r.sibling}else ca(e,t,n,r),Ty();t=t.child}return t;case 5:return vE(t),e===null&&$x(t),n=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,Nx(n,i)?o=null:a!==null&&Nx(n,a)&&(t.flags|=16),Fk(e,t),ca(e,t,o,r),t.child;case 6:return e===null&&$x(t),null;case 13:return AE(e,t,r);case 4:return Dx(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=t0(t,null,n,r):ca(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Eo(n,i),wE(e,t,n,i,r);case 7:return ca(e,t,t.pendingProps,r),t.child;case 8:return ca(e,t,t.pendingProps.children,r),t.child;case 12:return ca(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(In(Zg,l._currentValue),l._currentValue=a,o!==null)if(l=o.value,a=Ja(l,a)?0:(typeof n._calculateChangedBits=="function"?n._calculateChangedBits(l,a):1073741823)|0,a===0){if(o.children===i.children&&!ha.current){t=Uu(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=Vl(-1,r&-r),c.tag=2,Yl(l,c)),l.lanes|=r,c=l.alternate,c!==null&&(c.lanes|=r),xk(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}ca(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,a=t.pendingProps,n=a.children,zc(t,r),i=io(i,a.unstable_observedBits),n=n(i),t.flags|=1,ca(e,t,n,r),t.child;case 14:return i=t.type,a=Eo(i,t.pendingProps),a=Eo(i.type,a),_E(e,t,i,a,n,r);case 15:return Ik(e,t,t.type,t.pendingProps,n,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Eo(n,i),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,pa(n)?(e=!0,Sg(t)):e=!1,zc(t,r),Sk(t,n,i),Lx(t,n,i,r),jx(null,t,n,!0,e,r);case 19:return ME(e,t,r);case 23:return Cy(e,t,r);case 24:return Cy(e,t,r)}throw Error(Mt(156,t.tag))};function SL(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 eo(e,t,r,n){return new SL(e,t,r,n)}function e2(e){return e=e.prototype,!(!e||!e.isReactComponent)}function EL(e){if(typeof e=="function")return e2(e)?1:0;if(e!=null){if(e=e.$$typeof,e===V0)return 11;if(e===Y0)return 14}return 2}function rs(e,t){var r=e.alternate;return r===null?(r=eo(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 Og(e,t,r,n,i,a){var o=2;if(n=e,typeof e=="function")e2(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Ll:return Hc(r.children,i,a,t);case T5:o=8,i|=16;break;case g_:o=8,i|=1;break;case Hh:return e=eo(12,r,t,i|8),e.elementType=Hh,e.type=Hh,e.lanes=a,e;case Wh:return e=eo(13,r,t,i),e.type=Wh,e.elementType=Wh,e.lanes=a,e;case Ug:return e=eo(19,r,t,i),e.elementType=Ug,e.lanes=a,e;case __:return t2(r,i,a,t);case px:return e=eo(24,r,t,i),e.elementType=px,e.lanes=a,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case m_:o=10;break e;case y_:o=9;break e;case V0:o=11;break e;case Y0:o=14;break e;case b_:o=16,n=null;break e;case x_:o=22;break e}throw Error(Mt(130,e==null?e:typeof e,""))}return t=eo(o,r,t,i),t.elementType=e,t.type=n,t.lanes=a,t}function Hc(e,t,r,n){return e=eo(7,e,n,t),e.lanes=r,e}function t2(e,t,r,n){return e=eo(23,e,n,t),e.elementType=__,e.lanes=r,e}function My(e,t,r){return e=eo(6,e,null,t),e.lanes=r,e}function Py(e,t,r){return t=eo(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function AL(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=py(0),this.expirationTimes=py(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=py(0),this.mutableSourceEagerHydrationData=null}function TL(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Vs,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function f0(e,t,r,n){var i=t.current,a=Ra(),o=Xl(i);e:if(r){r=r._reactInternals;t:{if(bf(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(pa(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(pa(f)){r=hk(r,f,l);break e}}r=l}else r=es;return t.context===null?t.context=r:t.pendingContext=r,t=Vl(a,o),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),Yl(i,t),Ql(i,o,a),o}function Ny(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 zE(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function r2(e,t){zE(e,t),(e=e.alternate)&&zE(e,t)}function CL(){return null}function n2(e,t,r){var n=r!=null&&r.hydrationOptions!=null&&r.hydrationOptions.mutableSources||null;if(r=new AL(e,t,r!=null&&r.hydrate===!0),t=eo(3,null,null,t===2?7:t===1?3:0),r.current=t,t.stateNode=r,j_(t),e[pd]=r.current,lk(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}n2.prototype.render=function(e){f0(e,this._internalRoot,null,null)};n2.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;f0(null,e,null,function(){t[pd]=null})};function jp(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function OL(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 n2(e,0,t?{hydrate:!0}:void 0)}function am(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=Ny(o);l.call(c)}}f0(t,o,e,i)}else{if(a=r._reactRootContainer=OL(r,n),o=a._internalRoot,typeof i=="function"){var f=i;i=function(){var c=Ny(o);f.call(c)}}Wk(function(){f0(t,o,e,i)})}return Ny(o)}j5=function(e){if(e.tag===13){var t=Ra();Ql(e,4,t),r2(e,4)}};C_=function(e){if(e.tag===13){var t=Ra();Ql(e,67108864,t),r2(e,67108864)}};U5=function(e){if(e.tag===13){var t=Ra(),r=Xl(e);Ql(e,r,t),r2(e,r)}};H5=function(e,t){return t()};Ex=function(e,t,r){switch(t){case"input":if(gx(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=em(n);if(!i)throw Error(Mt(90));O5(n),gx(n,i)}}}break;case"textarea":M5(e,r);break;case"select":t=r.value,t!=null&&Fc(e,!!r.multiple,t,!1)}};E_=Hk;D5=function(e,t,r,n,i){var a=Tr;Tr|=4;try{return af(98,e.bind(null,t,r,n,i))}finally{Tr=a,Tr===0&&(md(),fu())}};A_=function(){(Tr&49)===0&&(pL(),fs())};$5=function(e,t){var r=Tr;Tr|=2;try{return e(t)}finally{Tr=r,Tr===0&&(md(),fu())}};function Zk(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!jp(t))throw Error(Mt(200));return TL(e,t,null,r)}var kL={Events:[$p,Tc,em,F5,L5,fs,{current:!1}]},vh={findFiberByHostInstance:Xs,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},ML={bundleType:vh.bundleType,version:vh.version,rendererPackageName:vh.rendererPackageName,rendererConfig:vh.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:yf.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=B5(e),e===null?null:e.stateNode},findFiberByHostInstance:vh.findFiberByHostInstance||CL,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var jv=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!jv.isDisabled&&jv.supportsFiber)try{D_=jv.inject(ML),Js=jv}catch{}}oo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=kL;oo.createPortal=Zk;oo.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=B5(t),e=e===null?null:e.stateNode,e};oo.flushSync=function(e,t){var r=Tr;if((r&48)!==0)return e(t);Tr|=1;try{if(e)return af(99,e.bind(null,t))}finally{Tr=r,fu()}};oo.hydrate=function(e,t,r){if(!jp(t))throw Error(Mt(200));return am(null,e,t,!0,r)};oo.render=function(e,t,r){if(!jp(t))throw Error(Mt(200));return am(null,e,t,!1,r)};oo.unmountComponentAtNode=function(e){if(!jp(e))throw Error(Mt(40));return e._reactRootContainer?(Wk(function(){am(null,null,e,!1,function(){e._reactRootContainer=null,e[pd]=null})}),!0):!1};oo.unstable_batchedUpdates=Hk;oo.unstable_createPortal=function(e,t){return Zk(e,t,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)};oo.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!jp(r))throw Error(Mt(200));if(e==null||e._reactInternals===void 0)throw Error(Mt(38));return am(e,t,r,!1,n)};oo.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=oo})(u_);const Dh=i_(u_.exports);var BE=Object.prototype.toString,Kk=function(t){var r=BE.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&BE.call(t.callee)==="[object Function]"),n},Ry,jE;function PL(){if(jE)return Ry;jE=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Kk,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 J=_(b),q=0;q<l.length;++q)!(J&&l[q]==="constructor")&&t.call(b,l[q])&&T.push(l[q]);return T}}return Ry=e,Ry}var NL=Array.prototype.slice,RL=Kk,UE=Object.keys,kg=UE?function(t){return UE(t)}:PL(),HE=Object.keys;kg.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 RL(n)?HE(NL.call(n)):HE(n)})}else Object.keys=kg;return Object.keys||kg};var i2=kg,om=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},IL=om,cs=function(){return IL()&&!!Symbol.toStringTag},WE=typeof Symbol<"u"&&Symbol,FL=om,a2=function(){return typeof WE!="function"||typeof Symbol!="function"||typeof WE("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:FL()},LL="Function.prototype.bind called on incompatible ",Iy=Array.prototype.slice,DL=Object.prototype.toString,$L="[object Function]",zL=function(t){var r=this;if(typeof r!="function"||DL.call(r)!==$L)throw new TypeError(LL+r);for(var n=Iy.call(arguments,1),i,a=function(){if(this instanceof i){var p=r.apply(this,n.concat(Iy.call(arguments)));return Object(p)===p?p:this}else return r.apply(t,n.concat(Iy.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},BL=zL,o2=Function.prototype.bind||BL,jL=o2,UL=jL.call(Function.call,Object.prototype.hasOwnProperty),Vr,Ep=SyntaxError,Jk=Function,Wc=TypeError,Fy=function(e){try{return Jk('"use strict"; return ('+e+").constructor;")()}catch{}},ef=Object.getOwnPropertyDescriptor;if(ef)try{ef({},"")}catch{ef=null}var Ly=function(){throw new Wc},HL=ef?function(){try{return arguments.callee,Ly}catch{try{return ef(arguments,"callee").get}catch{return Ly}}}():Ly,fc=a2(),Rl=Object.getPrototypeOf||function(e){return e.__proto__},xc={},WL=typeof Uint8Array>"u"?Vr:Rl(Uint8Array),Gc={"%AggregateError%":typeof AggregateError>"u"?Vr:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Vr:ArrayBuffer,"%ArrayIteratorPrototype%":fc?Rl([][Symbol.iterator]()):Vr,"%AsyncFromSyncIteratorPrototype%":Vr,"%AsyncFunction%":xc,"%AsyncGenerator%":xc,"%AsyncGeneratorFunction%":xc,"%AsyncIteratorPrototype%":xc,"%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%":Jk,"%GeneratorFunction%":xc,"%Int8Array%":typeof Int8Array>"u"?Vr:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Vr:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Vr:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":fc?Rl(Rl([][Symbol.iterator]())):Vr,"%JSON%":typeof JSON=="object"?JSON:Vr,"%Map%":typeof Map>"u"?Vr:Map,"%MapIteratorPrototype%":typeof Map>"u"||!fc?Vr:Rl(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"||!fc?Vr:Rl(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Vr:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":fc?Rl(""[Symbol.iterator]()):Vr,"%Symbol%":fc?Symbol:Vr,"%SyntaxError%":Ep,"%ThrowTypeError%":HL,"%TypedArray%":WL,"%TypeError%":Wc,"%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},GL=function e(t){var r;if(t==="%AsyncFunction%")r=Fy("async function () {}");else if(t==="%GeneratorFunction%")r=Fy("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Fy("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&(r=Rl(i.prototype))}return Gc[t]=r,r},GE={"%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"]},um=o2,c0=UL,qL=um.call(Function.call,Array.prototype.concat),VL=um.call(Function.apply,Array.prototype.splice),qE=um.call(Function.call,String.prototype.replace),d0=um.call(Function.call,String.prototype.slice),YL=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,XL=/\\(\\)?/g,QL=function(t){var r=d0(t,0,1),n=d0(t,-1);if(r==="%"&&n!=="%")throw new Ep("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Ep("invalid intrinsic syntax, expected opening `%`");var i=[];return qE(t,YL,function(a,o,l,f){i[i.length]=l?qE(f,XL,"$1"):o||a}),i},ZL=function(t,r){var n=t,i;if(c0(GE,n)&&(i=GE[n],n="%"+i[0]+"%"),c0(Gc,n)){var a=Gc[n];if(a===xc&&(a=GL(n)),typeof a>"u"&&!r)throw new Wc("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:a}}throw new Ep("intrinsic "+t+" does not exist!")},wf=function(t,r){if(typeof t!="string"||t.length===0)throw new Wc("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Wc('"allowMissing" argument must be a boolean');var n=QL(t),i=n.length>0?n[0]:"",a=ZL("%"+i+"%",r),o=a.name,l=a.value,f=!1,c=a.alias;c&&(i=c[0],VL(n,qL([0,1],c)));for(var p=1,_=!0;p<n.length;p+=1){var x=n[p],b=d0(x,0,1),C=d0(x,-1);if((b==='"'||b==="'"||b==="`"||C==='"'||C==="'"||C==="`")&&b!==C)throw new Ep("property names with quotes must have matching quotes");if((x==="constructor"||!_)&&(f=!0),i+="."+x,o="%"+i+"%",c0(Gc,o))l=Gc[o];else if(l!=null){if(!(x in l)){if(!r)throw new Wc("base intrinsic for "+t+" exists, but the property is not available.");return}if(ef&&p+1>=n.length){var R=ef(l,x);_=!!R,_&&"get"in R&&!("originalValue"in R.get)?l=R.get:l=l[x]}else _=c0(l,x),l=l[x];_&&!f&&(Gc[o]=l)}}return l},Up={exports:{}};(function(e){var t=o2,r=wf,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})(Up);var eM=wf,tM=Up.exports,KL=tM(eM("String.prototype.indexOf")),cu=function(t,r){var n=eM(t,!!r);return typeof n=="function"&&KL(t,".prototype.")>-1?tM(n):n},JL=cs(),eD=cu,ew=eD("Object.prototype.toString"),lm=function(t){return JL&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:ew(t)==="[object Arguments]"},rM=function(t){return lm(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&ew(t)!=="[object Array]"&&ew(t.callee)==="[object Function]"},tD=function(){return lm(arguments)}();lm.isLegacyArguments=rM;var nM=tD?lm:rM,rD=i2,nD=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",iD=Object.prototype.toString,aD=Array.prototype.concat,u2=Object.defineProperty,oD=function(e){return typeof e=="function"&&iD.call(e)==="[object Function]"},uD=function(){var e={};try{u2(e,"x",{enumerable:!1,value:e});for(var t in e)return!1;return e.x===e}catch{return!1}},iM=u2&&uD(),lD=function(e,t,r,n){t in e&&(!oD(n)||!n())||(iM?u2(e,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):e[t]=r)},aM=function(e,t){var r=arguments.length>2?arguments[2]:{},n=rD(t);nD&&(n=aD.call(n,Object.getOwnPropertySymbols(t)));for(var i=0;i<n.length;i+=1)lD(e,n[i],t[n[i]],r[n[i]])};aM.supportsDescriptors=!!iM;var _f=aM,VE=function(e){return e!==e},oM=function(t,r){return t===0&&r===0?1/t===1/r:!!(t===r||VE(t)&&VE(r))},sD=oM,uM=function(){return typeof Object.is=="function"?Object.is:sD},fD=uM,cD=_f,dD=function(){var t=fD();return cD(Object,{is:t},{is:function(){return Object.is!==t}}),t},hD=_f,pD=Up.exports,vD=oM,lM=uM,gD=dD,sM=pD(lM(),Object);hD(sM,{getPolyfill:lM,implementation:vD,shim:gD});var mD=sM,tw=cu,fM=cs(),cM,dM,rw,nw;if(fM){cM=tw("Object.prototype.hasOwnProperty"),dM=tw("RegExp.prototype.exec"),rw={};var Dy=function(){throw rw};nw={toString:Dy,valueOf:Dy},typeof Symbol.toPrimitive=="symbol"&&(nw[Symbol.toPrimitive]=Dy)}var yD=tw("Object.prototype.toString"),bD=Object.getOwnPropertyDescriptor,xD="[object RegExp]",wD=fM?function(t){if(!t||typeof t!="object")return!1;var r=bD(t,"lastIndex"),n=r&&cM(r,"value");if(!n)return!1;try{dM(t,nw)}catch(i){return i===rw}}:function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:yD(t)===xD},_D=Object,SD=TypeError,hM=function(){if(this!=null&&this!==_D(this))throw new SD("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},ED=hM,AD=_f.supportsDescriptors,TD=Object.getOwnPropertyDescriptor,pM=function(){if(AD&&/a/mig.flags==="gim"){var t=TD(RegExp.prototype,"flags");if(t&&typeof t.get=="function"&&typeof/a/.dotAll=="boolean")return t.get}return ED},CD=_f.supportsDescriptors,OD=pM,kD=Object.getOwnPropertyDescriptor,MD=Object.defineProperty,PD=TypeError,YE=Object.getPrototypeOf,ND=/a/,RD=function(){if(!CD||!YE)throw new PD("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var t=OD(),r=YE(ND),n=kD(r,"flags");return(!n||n.get!==t)&&MD(r,"flags",{configurable:!0,enumerable:!1,get:t}),t},ID=_f,FD=Up.exports,LD=hM,vM=pM,DD=RD,gM=FD(vM());ID(gM,{getPolyfill:vM,implementation:LD,shim:DD});var $D=gM,zD={}.toString,mM=Array.isArray||function(e){return zD.call(e)=="[object Array]"},BD=Date.prototype.getDay,jD=function(t){try{return BD.call(t),!0}catch{return!1}},UD=Object.prototype.toString,HD="[object Date]",WD=cs(),GD=function(t){return typeof t!="object"||t===null?!1:WD?jD(t):UD.call(t)===HD},qD=String.prototype.valueOf,VD=function(t){try{return qD.call(t),!0}catch{return!1}},YD=Object.prototype.toString,XD="[object String]",QD=cs(),yM=function(t){return typeof t=="string"?!0:typeof t!="object"?!1:QD?VD(t):YD.call(t)===XD},ZD=Number.prototype.toString,KD=function(t){try{return ZD.call(t),!0}catch{return!1}},JD=Object.prototype.toString,e6="[object Number]",t6=cs(),r6=function(t){return typeof t=="number"?!0:typeof t!="object"?!1:t6?KD(t):JD.call(t)===e6},bM=cu,n6=bM("Boolean.prototype.toString"),i6=bM("Object.prototype.toString"),a6=function(t){try{return n6(t),!0}catch{return!1}},o6="[object Boolean]",u6=cs(),l6=function(t){return typeof t=="boolean"?!0:t===null||typeof t!="object"?!1:u6&&Symbol.toStringTag in t?a6(t):i6(t)===o6},iw={exports:{}},s6=Object.prototype.toString,f6=a2();if(f6){var c6=Symbol.prototype.toString,d6=/^Symbol\(.*\)$/,h6=function(t){return typeof t.valueOf()!="symbol"?!1:d6.test(c6.call(t))};iw.exports=function(t){if(typeof t=="symbol")return!0;if(s6.call(t)!=="[object Symbol]")return!1;try{return h6(t)}catch{return!1}}}else iw.exports=function(t){return!1};var aw={exports:{}},XE=window.BigInt,p6=function(){return typeof XE=="function"&&typeof BigInt=="function"&&typeof XE(42)=="bigint"&&typeof BigInt(42)=="bigint"},v6=p6();if(v6){var g6=BigInt.prototype.valueOf,m6=function(t){try{return g6.call(t),!0}catch{}return!1};aw.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:m6(t)}}else aw.exports=function(t){return!1};var y6=yM,b6=r6,x6=l6,w6=iw.exports,_6=aw.exports,S6=function(t){if(t==null||typeof t!="object"&&typeof t!="function")return null;if(y6(t))return"String";if(b6(t))return"Number";if(x6(t))return"Boolean";if(w6(t))return"Symbol";if(_6(t))return"BigInt"},l2=typeof Map=="function"&&Map.prototype?Map:null,E6=typeof Set=="function"&&Set.prototype?Set:null,h0;l2||(h0=function(t){return!1});var xM=l2?Map.prototype.has:null,QE=E6?Set.prototype.has:null;!h0&&!xM&&(h0=function(t){return!1});var wM=h0||function(t){if(!t||typeof t!="object")return!1;try{if(xM.call(t),QE)try{QE.call(t)}catch{return!0}return t instanceof l2}catch{}return!1},A6=typeof Map=="function"&&Map.prototype?Map:null,s2=typeof Set=="function"&&Set.prototype?Set:null,p0;s2||(p0=function(t){return!1});var ZE=A6?Map.prototype.has:null,_M=s2?Set.prototype.has:null;!p0&&!_M&&(p0=function(t){return!1});var SM=p0||function(t){if(!t||typeof t!="object")return!1;try{if(_M.call(t),ZE)try{ZE.call(t)}catch{return!0}return t instanceof s2}catch{}return!1},v0=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,KE=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,g0;v0||(g0=function(t){return!1});var ow=v0?v0.prototype.has:null,$y=KE?KE.prototype.has:null;!g0&&!ow&&(g0=function(t){return!1});var T6=g0||function(t){if(!t||typeof t!="object")return!1;try{if(ow.call(t,ow),$y)try{$y.call(t,$y)}catch{return!0}return t instanceof v0}catch{}return!1},uw={exports:{}},C6=wf,EM=cu,O6=C6("%WeakSet%",!0),zy=EM("WeakSet.prototype.has",!0);if(zy){var By=EM("WeakMap.prototype.has",!0);uw.exports=function(t){if(!t||typeof t!="object")return!1;try{if(zy(t,zy),By)try{By(t,By)}catch{return!0}return t instanceof O6}catch{}return!1}}else uw.exports=function(t){return!1};var k6=wM,M6=SM,P6=T6,N6=uw.exports,R6=function(t){if(t&&typeof t=="object"){if(k6(t))return"Map";if(M6(t))return"Set";if(P6(t))return"WeakMap";if(N6(t))return"WeakSet"}return!1},Mg={exports:{}},JE=nM;if(a2()||om()){var jy=Symbol.iterator;Mg.exports=function(t){if(t!=null&&typeof t[jy]<"u")return t[jy]();if(JE(t))return Array.prototype[jy].call(t)}}else{var I6=mM,F6=yM,eA=wf,L6=eA("%Map%",!0),D6=eA("%Set%",!0),So=cu,tA=So("Array.prototype.push"),rA=So("String.prototype.charCodeAt"),$6=So("String.prototype.slice"),z6=function(t,r){var n=t.length;if(r+1>=n)return r+1;var i=rA(t,r);if(i<55296||i>56319)return r+1;var a=rA(t,r+1);return a<56320||a>57343?r+1:r+2},Uy=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}}}},nA=function(t,r){if(I6(t)||JE(t))return Uy(t);if(F6(t)){var n=0;return{next:function(){var a=z6(t,n),o=$6(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(!L6&&!D6)Mg.exports=function(t){if(t!=null)return nA(t,!0)};else{var B6=wM,j6=SM,iA=So("Map.prototype.forEach",!0),aA=So("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var oA=So("Map.prototype.iterator",!0),uA=So("Set.prototype.iterator",!0),lA=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 sA=So("Map.prototype.@@iterator",!0)||So("Map.prototype._es6-shim iterator_",!0),fA=So("Set.prototype.@@iterator",!0)||So("Set.prototype._es6-shim iterator_",!0),U6=function(t){if(B6(t)){if(oA)return lA(oA(t));if(sA)return sA(t);if(iA){var r=[];return iA(t,function(i,a){tA(r,[a,i])}),Uy(r)}}if(j6(t)){if(uA)return lA(uA(t));if(fA)return fA(t);if(aA){var n=[];return aA(t,function(i){tA(n,i)}),Uy(n)}}};Mg.exports=function(t){return U6(t)||nA(t)}}}const H6={},W6=Object.freeze(Object.defineProperty({__proto__:null,default:H6},Symbol.toStringTag,{value:"Module"})),AM=vf(W6);var f2=typeof Map=="function"&&Map.prototype,Hy=Object.getOwnPropertyDescriptor&&f2?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,m0=f2&&Hy&&typeof Hy.get=="function"?Hy.get:null,G6=f2&&Map.prototype.forEach,c2=typeof Set=="function"&&Set.prototype,Wy=Object.getOwnPropertyDescriptor&&c2?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,y0=c2&&Wy&&typeof Wy.get=="function"?Wy.get:null,q6=c2&&Set.prototype.forEach,V6=typeof WeakMap=="function"&&WeakMap.prototype,tp=V6?WeakMap.prototype.has:null,Y6=typeof WeakSet=="function"&&WeakSet.prototype,rp=Y6?WeakSet.prototype.has:null,X6=typeof WeakRef=="function"&&WeakRef.prototype,cA=X6?WeakRef.prototype.deref:null,Q6=Boolean.prototype.valueOf,Z6=Object.prototype.toString,K6=Function.prototype.toString,J6=String.prototype.match,d2=String.prototype.slice,jl=String.prototype.replace,e8=String.prototype.toUpperCase,dA=String.prototype.toLowerCase,TM=RegExp.prototype.test,hA=Array.prototype.concat,Zo=Array.prototype.join,t8=Array.prototype.slice,pA=Math.floor,lw=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Gy=Object.getOwnPropertySymbols,sw=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ed=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Wi=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ed?"object":"symbol")?Symbol.toStringTag:null,CM=Object.prototype.propertyIsEnumerable,vA=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function gA(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||TM.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-pA(-e):pA(e);if(n!==e){var i=String(n),a=d2.call(t,i.length+1);return jl.call(i,r,"$&_")+"."+jl.call(jl.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return jl.call(t,r,"$&_")}var qy=AM.custom,Vy=qy&&kM(qy)?qy:null,r8=function e(t,r,n,i){var a=r||{};if(Il(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Il(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=Il(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(Il(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(Il(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 PM(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var f=String(t);return l?gA(t,f):f}if(typeof t=="bigint"){var c=String(t)+"n";return l?gA(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 fw(t)?"[Array]":"[Object]";var _=w8(a,n);if(typeof i>"u")i=[];else if(MM(i,t)>=0)return"[Circular]";function x(Ye,Xe,Et){if(Xe&&(i=t8.call(i),i.push(Xe)),Et){var yt={depth:a.depth};return Il(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=d8(t),C=Uv(t,x);return"[Function"+(b?": "+b:" (anonymous)")+"]"+(C.length>0?" { "+Zo.call(C,", ")+" }":"")}if(kM(t)){var R=ed?jl.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):sw.call(t);return typeof t=="object"&&!ed?gh(R):R}if(y8(t)){for(var E="<"+dA.call(String(t.nodeName)),S=t.attributes||[],T=0;T<S.length;T++)E+=" "+S[T].name+"="+OM(n8(S[T].value),"double",a);return E+=">",t.childNodes&&t.childNodes.length&&(E+="..."),E+="</"+dA.call(String(t.nodeName))+">",E}if(fw(t)){if(t.length===0)return"[]";var P=Uv(t,x);return _&&!x8(P)?"["+cw(P,_)+"]":"[ "+Zo.call(P,", ")+" ]"}if(o8(t)){var M=Uv(t,x);return"cause"in t&&!CM.call(t,"cause")?"{ ["+String(t)+"] "+Zo.call(hA.call("[cause]: "+x(t.cause),M),", ")+" }":M.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Zo.call(M,", ")+" }"}if(typeof t=="object"&&o){if(Vy&&typeof t[Vy]=="function")return t[Vy]();if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(h8(t)){var L=[];return G6.call(t,function(Ye,Xe){L.push(x(Xe,t,!0)+" => "+x(Ye,t))}),mA("Map",m0.call(t),L,_)}if(g8(t)){var v=[];return q6.call(t,function(Ye){v.push(x(Ye,t))}),mA("Set",y0.call(t),v,_)}if(p8(t))return Yy("WeakMap");if(m8(t))return Yy("WeakSet");if(v8(t))return Yy("WeakRef");if(l8(t))return gh(x(Number(t)));if(f8(t))return gh(x(lw.call(t)));if(s8(t))return gh(Q6.call(t));if(u8(t))return gh(x(String(t)));if(!i8(t)&&!a8(t)){var J=Uv(t,x),q=vA?vA(t)===Object.prototype:t instanceof Object||t.constructor===Object,ue=t instanceof Object?"":"null prototype",Ie=!q&&Wi&&Object(t)===t&&Wi in t?d2.call(ds(t),8,-1):ue?"Object":"",Te=q||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",De=Te+(Ie||ue?"["+Zo.call(hA.call([],Ie||[],ue||[]),": ")+"] ":"");return J.length===0?De+"{}":_?De+"{"+cw(J,_)+"}":De+"{ "+Zo.call(J,", ")+" }"}return String(t)};function OM(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function n8(e){return jl.call(String(e),/"/g,""")}function fw(e){return ds(e)==="[object Array]"&&(!Wi||!(typeof e=="object"&&Wi in e))}function i8(e){return ds(e)==="[object Date]"&&(!Wi||!(typeof e=="object"&&Wi in e))}function a8(e){return ds(e)==="[object RegExp]"&&(!Wi||!(typeof e=="object"&&Wi in e))}function o8(e){return ds(e)==="[object Error]"&&(!Wi||!(typeof e=="object"&&Wi in e))}function u8(e){return ds(e)==="[object String]"&&(!Wi||!(typeof e=="object"&&Wi in e))}function l8(e){return ds(e)==="[object Number]"&&(!Wi||!(typeof e=="object"&&Wi in e))}function s8(e){return ds(e)==="[object Boolean]"&&(!Wi||!(typeof e=="object"&&Wi in e))}function kM(e){if(ed)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!sw)return!1;try{return sw.call(e),!0}catch{}return!1}function f8(e){if(!e||typeof e!="object"||!lw)return!1;try{return lw.call(e),!0}catch{}return!1}var c8=Object.prototype.hasOwnProperty||function(e){return e in this};function Il(e,t){return c8.call(e,t)}function ds(e){return Z6.call(e)}function d8(e){if(e.name)return e.name;var t=J6.call(K6.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function MM(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 h8(e){if(!m0||!e||typeof e!="object")return!1;try{m0.call(e);try{y0.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function p8(e){if(!tp||!e||typeof e!="object")return!1;try{tp.call(e,tp);try{rp.call(e,rp)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function v8(e){if(!cA||!e||typeof e!="object")return!1;try{return cA.call(e),!0}catch{}return!1}function g8(e){if(!y0||!e||typeof e!="object")return!1;try{y0.call(e);try{m0.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function m8(e){if(!rp||!e||typeof e!="object")return!1;try{rp.call(e,rp);try{tp.call(e,tp)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function y8(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function PM(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return PM(d2.call(e,0,t.maxStringLength),t)+n}var i=jl.call(jl.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,b8);return OM(i,"single",t)}function b8(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":"")+e8.call(t.toString(16))}function gh(e){return"Object("+e+")"}function Yy(e){return e+" { ? }"}function mA(e,t,r,n){var i=n?cw(r,n):Zo.call(r,", ");return e+" ("+t+") {"+i+"}"}function x8(e){for(var t=0;t<e.length;t++)if(MM(e[t],`
|
|
35
|
-
`)>=0)return!1;return!0}function w8(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=Zo.call(Array(e.indent+1)," ");else return null;return{base:r,prev:Zo.call(Array(t+1),r)}}function cw(e,t){if(e.length===0)return"";var r=`
|
|
36
|
-
`+t.prev+t.base;return r+Zo.call(e,","+r)+`
|
|
37
|
-
`+t.prev}function Uv(e,t){var r=fw(e),n=[];if(r){n.length=e.length;for(var i=0;i<e.length;i++)n[i]=Il(e,i)?t(e[i],e):""}var a=typeof Gy=="function"?Gy(e):[],o;if(ed){o={};for(var l=0;l<a.length;l++)o["$"+a[l]]=a[l]}for(var f in e)!Il(e,f)||r&&String(Number(f))===f&&f<e.length||ed&&o["$"+f]instanceof Symbol||(TM.call(/[^\w$]/,f)?n.push(t(f,e)+": "+t(e[f],e)):n.push(f+": "+t(e[f],e)));if(typeof Gy=="function")for(var c=0;c<a.length;c++)CM.call(e,a[c])&&n.push("["+t(a[c])+"]: "+t(e[a[c]],e));return n}var h2=wf,yd=cu,_8=r8,S8=h2("%TypeError%"),Hv=h2("%WeakMap%",!0),Wv=h2("%Map%",!0),E8=yd("WeakMap.prototype.get",!0),A8=yd("WeakMap.prototype.set",!0),T8=yd("WeakMap.prototype.has",!0),C8=yd("Map.prototype.get",!0),O8=yd("Map.prototype.set",!0),k8=yd("Map.prototype.has",!0),p2=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},M8=function(e,t){var r=p2(e,t);return r&&r.value},P8=function(e,t,r){var n=p2(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},N8=function(e,t){return!!p2(e,t)},R8=function(){var t,r,n,i={assert:function(a){if(!i.has(a))throw new S8("Side channel does not contain "+_8(a))},get:function(a){if(Hv&&a&&(typeof a=="object"||typeof a=="function")){if(t)return E8(t,a)}else if(Wv){if(r)return C8(r,a)}else if(n)return M8(n,a)},has:function(a){if(Hv&&a&&(typeof a=="object"||typeof a=="function")){if(t)return T8(t,a)}else if(Wv){if(r)return k8(r,a)}else if(n)return N8(n,a);return!1},set:function(a,o){Hv&&a&&(typeof a=="object"||typeof a=="function")?(t||(t=new Hv),A8(t,a,o)):Wv?(r||(r=new Wv),O8(r,a,o)):(n||(n={key:{},next:null}),P8(n,a,o))}};return i},I8=Object.prototype.hasOwnProperty,F8=Object.prototype.toString,NM=function(t,r,n){if(F8.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)I8.call(t,o)&&r.call(n,t[o],o,t)},Xy=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],L8=typeof globalThis>"u"?window:globalThis,RM=function(){for(var t=[],r=0;r<Xy.length;r++)typeof L8[Xy[r]]=="function"&&(t[t.length]=Xy[r]);return t},Qy,yA;function IM(){if(yA)return Qy;yA=1;var e=wf,t=e("%Object.getOwnPropertyDescriptor%",!0);if(t)try{t([],"length")}catch{t=null}return Qy=t,Qy}var Zy,bA;function D8(){if(bA)return Zy;bA=1;var e=NM,t=RM,r=cu,n=r("Object.prototype.toString"),i=cs(),a=typeof globalThis>"u"?window: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=IM(),_=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 Zy=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},Zy}var FM=NM,$8=RM,LM=cu,z8=LM("Object.prototype.toString"),DM=cs(),xA=typeof globalThis>"u"?window:globalThis,B8=$8(),j8=LM("String.prototype.slice"),$M={},Ky=IM(),Jy=Object.getPrototypeOf;DM&&Ky&&Jy&&FM(B8,function(e){if(typeof xA[e]=="function"){var t=new xA[e];if(Symbol.toStringTag in t){var r=Jy(t),n=Ky(r,Symbol.toStringTag);if(!n){var i=Jy(r);n=Ky(i,Symbol.toStringTag)}$M[e]=n.get}}});var U8=function(t){var r=!1;return FM($M,function(n,i){if(!r)try{var a=n.call(t);a===i&&(r=a)}catch{}}),r},H8=D8(),W8=function(t){return H8(t)?!DM||!(Symbol.toStringTag in t)?j8(z8(t),8,-1):U8(t):!1},G8=i2,q8=function(e){return typeof e<"u"&&e!==null},zM=om(),BM=cu,wA=Object,V8=BM("Array.prototype.push"),_A=BM("Object.prototype.propertyIsEnumerable"),Y8=zM?Object.getOwnPropertySymbols:null,jM=function(t,r){if(!q8(t))throw new TypeError("target must be an object");var n=wA(t),i,a,o,l,f,c,p;for(i=1;i<arguments.length;++i){a=wA(arguments[i]),l=G8(a);var _=zM&&(Object.getOwnPropertySymbols||Y8);if(_)for(f=_(a),o=0;o<f.length;++o)p=f[o],_A(a,p)&&V8(l,p);for(o=0;o<l.length;++o)p=l[o],c=a[p],_A(a,p)&&(n[p]=c)}return n},e1=jM,X8=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},Q8=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},UM=function(){return!Object.assign||X8()||Q8()?e1:Object.assign},Z8=_f,K8=UM,J8=function(){var t=K8();return Z8(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t},e$=_f,t$=Up.exports,r$=jM,HM=UM,n$=J8,i$=t$.apply(HM()),WM=function(t,r){return i$(Object,arguments)};e$(WM,{getPolyfill:HM,implementation:r$,shim:n$});var a$=WM,SA=i2,EA=nM,AA=mD,TA=wD,CA=$D,OA=mM,kA=GD,MA=S6,o$=wf,Zu=cu,PA=R6,td=Mg.exports,u$=R8,NA=W8,GM=a$,RA=Zu("Date.prototype.getTime"),t1=Object.getPrototypeOf,IA=Zu("Object.prototype.toString"),b0=o$("%Set%",!0),dw=Zu("Map.prototype.has",!0),x0=Zu("Map.prototype.get",!0),FA=Zu("Map.prototype.size",!0),w0=Zu("Set.prototype.add",!0),qM=Zu("Set.prototype.delete",!0),_0=Zu("Set.prototype.has",!0),Pg=Zu("Set.prototype.size",!0);function LA(e,t,r,n){for(var i=td(e),a;(a=i.next())&&!a.done;)if(qu(t,a.value,r,n))return qM(e,a.value),!0;return!1}function VM(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 l$(e,t,r,n,i,a){var o=VM(r);if(o!=null)return o;var l=x0(t,o),f=GM({},i,{strict:!1});return typeof l>"u"&&!dw(t,o)||!qu(n,l,f,a)?!1:!dw(e,o)&&qu(n,l,f,a)}function s$(e,t,r){var n=VM(r);return n!=null?n:_0(t,n)&&!_0(e,n)}function DA(e,t,r,n,i,a){for(var o=td(e),l,f;(l=o.next())&&!l.done;)if(f=l.value,qu(r,f,i,a)&&qu(n,x0(t,f),i,a))return qM(e,f),!0;return!1}function qu(e,t,r,n){var i=r||{};if(i.strict?AA(e,t):e===t)return!0;var a=MA(e),o=MA(t);if(a!==o)return!1;if(!e||!t||typeof e!="object"&&typeof t!="object")return i.strict?AA(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),d$(e,t,i,n)}function $A(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 f$(e,t,r,n){if(Pg(e)!==Pg(t))return!1;for(var i=td(e),a=td(t),o,l,f;(o=i.next())&&!o.done;)if(o.value&&typeof o.value=="object")f||(f=new b0),w0(f,o.value);else if(!_0(t,o.value)){if(r.strict||!s$(e,t,o.value))return!1;f||(f=new b0),w0(f,o.value)}if(f){for(;(l=a.next())&&!l.done;)if(l.value&&typeof l.value=="object"){if(!LA(f,l.value,r.strict,n))return!1}else if(!r.strict&&!_0(e,l.value)&&!LA(f,l.value,r.strict,n))return!1;return Pg(f)===0}return!0}function c$(e,t,r,n){if(FA(e)!==FA(t))return!1;for(var i=td(e),a=td(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 b0),w0(f,c);else if(_=x0(t,c),typeof _>"u"&&!dw(t,c)||!qu(p,_,r,n)){if(r.strict||!l$(e,t,c,p,r,n))return!1;f||(f=new b0),w0(f,c)}if(f){for(;(l=a.next())&&!l.done;)if(c=l.value[0],_=l.value[1],c&&typeof c=="object"){if(!DA(f,e,c,_,r,n))return!1}else if(!r.strict&&(!e.has(c)||!qu(x0(e,c),_,r,n))&&!DA(f,e,c,_,GM({},r,{strict:!1}),n))return!1;return Pg(f)===0}return!0}function d$(e,t,r,n){var i,a;if(typeof e!=typeof t||e==null||t==null||IA(e)!==IA(t)||EA(e)!==EA(t))return!1;var o=OA(e),l=OA(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=TA(e),_=TA(t);if(p!==_||(p||_)&&(e.source!==t.source||CA(e)!==CA(t)))return!1;var x=kA(e),b=kA(t);if(x!==b||(x||b)&&RA(e)!==RA(t)||r.strict&&t1&&t1(e)!==t1(t)||NA(e)!==NA(t))return!1;var C=$A(e),R=$A(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=SA(e),S=SA(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],!qu(e[a],t[a],r,n))return!1;var T=PA(e),P=PA(t);return T!==P?!1:T==="Set"||P==="Set"?f$(e,t,r,n):T==="Map"?c$(e,t,r,n):!0}var Zee=function(t,r,n){return qu(t,r,n,u$())},zA=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function h$(e,t){return!!(e===t||zA(e)&&zA(t))}function p$(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!h$(e[r],t[r]))return!1;return!0}function Wn(e,t){t===void 0&&(t=p$);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:{}},v$="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",g$=v$,m$=g$;function YM(){}function XM(){}XM.resetWarningCache=YM;var y$=function(){function e(n,i,a,o,l,f){if(f!==m$){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:XM,resetWarningCache:YM};return r.PropTypes=r,r};Ur.exports=y$();function v2(e,t,...r){if(!e)throw new TypeError(QM(t,r))}function QM(e,t){let r=0;return e.replace(/%[os]/gu,()=>ZM(t[r++]))}function ZM(e){return typeof e!="object"||e===null?String(e):Object.prototype.toString.call(e)}let b$;function x$(e){try{const t=e instanceof Error?e:new Error(ZM(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 Co=typeof window<"u"?window:typeof self<"u"?self:typeof window<"u"?window:typeof globalThis<"u"?globalThis:void 0;let w$;class Ku{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 _$=new Ku("W01","Unable to initialize event under dispatching."),S$=new Ku("W02","Assigning any falsy value to 'cancelBubble' property has no effect."),E$=new Ku("W03","Assigning any truthy value to 'returnValue' property has no effect."),A$=new Ku("W04","Unable to preventDefault on non-cancelable events."),T$=new Ku("W05","Unable to preventDefault inside passive event listener invocation."),C$=new Ku("W06","An event listener wasn't added because it has been added already: %o, %o"),r1=new Ku("W07","The %o option value was abandoned because the event listener wasn't added as duplicated."),BA=new Ku("W08","The 'callback' argument must be a function or an object that has 'handleEvent' method: %o");new Ku("W09","Event attribute handler must be a function: %o");class Ju{static get NONE(){return jA}static get CAPTURING_PHASE(){return UA}static get AT_TARGET(){return HA}static get BUBBLING_PHASE(){return WA}constructor(t,r){Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});const n=r!=null?r:{};hw.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 Hn(this).type}get target(){return Hn(this).target}get srcElement(){return Hn(this).target}get currentTarget(){return Hn(this).currentTarget}composedPath(){const t=Hn(this).currentTarget;return t?[t]:[]}get NONE(){return jA}get CAPTURING_PHASE(){return UA}get AT_TARGET(){return HA}get BUBBLING_PHASE(){return WA}get eventPhase(){return Hn(this).dispatchFlag?2:0}stopPropagation(){Hn(this).stopPropagationFlag=!0}get cancelBubble(){return Hn(this).stopPropagationFlag}set cancelBubble(t){t?Hn(this).stopPropagationFlag=!0:S$.warn()}stopImmediatePropagation(){const t=Hn(this);t.stopPropagationFlag=t.stopImmediatePropagationFlag=!0}get bubbles(){return Hn(this).bubbles}get cancelable(){return Hn(this).cancelable}get returnValue(){return!Hn(this).canceledFlag}set returnValue(t){t?E$.warn():GA(Hn(this))}preventDefault(){GA(Hn(this))}get defaultPrevented(){return Hn(this).canceledFlag}get composed(){return Hn(this).composed}get isTrusted(){return!1}get timeStamp(){return Hn(this).timeStamp}initEvent(t,r=!1,n=!1){const i=Hn(this);if(i.dispatchFlag){_$.warn();return}hw.set(this,{...i,type:String(t),bubbles:Boolean(r),cancelable:Boolean(n),target:null,currentTarget:null,stopPropagationFlag:!1,stopImmediatePropagationFlag:!1,canceledFlag:!1})}}const jA=0,UA=1,HA=2,WA=3,hw=new WeakMap;function Hn(e,t="this"){const r=hw.get(e);return v2(r!=null,"'%s' must be an object that Event constructor created, but got another one: %o",t,e),r}function GA(e){if(e.inPassiveListenerFlag){T$.warn();return}if(!e.cancelable){A$.warn();return}e.canceledFlag=!0}Object.defineProperty(Ju,"NONE",{enumerable:!0});Object.defineProperty(Ju,"CAPTURING_PHASE",{enumerable:!0});Object.defineProperty(Ju,"AT_TARGET",{enumerable:!0});Object.defineProperty(Ju,"BUBBLING_PHASE",{enumerable:!0});const n1=Object.getOwnPropertyNames(Ju.prototype);for(let e=0;e<n1.length;++e)n1[e]!=="constructor"&&Object.defineProperty(Ju.prototype,n1[e],{enumerable:!0});typeof Co<"u"&&typeof Co.Event<"u"&&Object.setPrototypeOf(Ju.prototype,Co.Event.prototype);function O$(e){return Co.DOMException?new Co.DOMException(e,"InvalidStateError"):(cc==null&&(cc=class KM extends Error{constructor(r){super(r),Error.captureStackTrace&&Error.captureStackTrace(this,KM)}get code(){return 11}get name(){return"InvalidStateError"}},Object.defineProperties(cc.prototype,{code:{enumerable:!0},name:{enumerable:!0}}),VA(cc),VA(cc.prototype)),new cc(e))}let cc;const qA={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 VA(e){const t=Object.keys(qA);for(let r=0;r<t.length;++r){const n=t[r],i=qA[n];Object.defineProperty(e,n,{get(){return i},configurable:!0,enumerable:!0})}}class sm extends Ju{static wrap(t){return new(eP(t))(t)}constructor(t){super(t.type,{bubbles:t.bubbles,cancelable:t.cancelable,composed:t.composed}),t.cancelBubble&&super.stopPropagation(),t.defaultPrevented&&super.preventDefault(),JM.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,tP(t,i))}}stopPropagation(){super.stopPropagation();const{original:t}=Fl(this);"stopPropagation"in t&&t.stopPropagation()}get cancelBubble(){return super.cancelBubble}set cancelBubble(t){super.cancelBubble=t;const{original:r}=Fl(this);"cancelBubble"in r&&(r.cancelBubble=t)}stopImmediatePropagation(){super.stopImmediatePropagation();const{original:t}=Fl(this);"stopImmediatePropagation"in t&&t.stopImmediatePropagation()}get returnValue(){return super.returnValue}set returnValue(t){super.returnValue=t;const{original:r}=Fl(this);"returnValue"in r&&(r.returnValue=t)}preventDefault(){super.preventDefault();const{original:t}=Fl(this);"preventDefault"in t&&t.preventDefault()}get timeStamp(){const{original:t}=Fl(this);return"timeStamp"in t?t.timeStamp:super.timeStamp}}const JM=new WeakMap;function Fl(e){const t=JM.get(e);return v2(t!=null,"'this' is expected an Event object, but got",e),t}const S0=new WeakMap;S0.set(Object.prototype,sm);typeof Co<"u"&&typeof Co.Event<"u"&&S0.set(Co.Event.prototype,sm);function eP(e){const t=Object.getPrototypeOf(e);if(t==null)return sm;let r=S0.get(t);return r==null&&(r=k$(eP(t),t),S0.set(t,r)),r}function k$(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],tP(t,n[i]));return r}function tP(e,t){const r=Object.getOwnPropertyDescriptor(e,t);return{get(){const n=Fl(this).original,i=n[t];return typeof i=="function"?i.bind(n):i},set(n){const i=Fl(this).original;i[t]=n},configurable:r.configurable,enumerable:r.enumerable}}function M$(e,t,r,n,i,a){return{callback:e,flags:(t?1:0)|(r?2:0)|(n?4:0),signal:i,signalListener:a}}function P$(e){e.flags|=8}function rP(e){return(e.flags&1)===1}function nP(e){return(e.flags&2)===2}function iP(e){return(e.flags&4)===4}function N$(e){return(e.flags&8)===8}function R$({callback:e},t,r){try{typeof e=="function"?e.call(t,r):typeof e.handleEvent=="function"&&e.handleEvent(r)}catch(n){x$(n)}}function aP({listeners:e},t,r){for(let n=0;n<e.length;++n)if(e[n].callback===t&&rP(e[n])===r)return n;return-1}function I$(e,t,r,n,i,a){let o;a&&(o=oP.bind(null,e,t,r),a.addEventListener("abort",o));const l=M$(t,r,n,i,a,o);return e.cow?(e.cow=!1,e.listeners=[...e.listeners,l]):e.listeners.push(l),l}function oP(e,t,r){const n=aP(e,t,r);return n!==-1?uP(e,n):!1}function uP(e,t,r=!1){const n=e.listeners[t];return P$(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 F$(){return Object.create(null)}function L$(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 g2{constructor(){lP.set(this,F$())}addEventListener(t,r,n){const i=i1(this),{callback:a,capture:o,once:l,passive:f,signal:c,type:p}=D$(t,r,n);if(a==null||(c==null?void 0:c.aborted))return;const _=L$(i,p),x=aP(_,a,o);if(x!==-1){z$(_.listeners[x],f,l,c);return}I$(_,a,o,f,l,c)}removeEventListener(t,r,n){const i=i1(this),{callback:a,capture:o,type:l}=$$(t,r,n),f=i[l];a!=null&&f&&oP(f,a,o)}dispatchEvent(t){const r=i1(this)[String(t.type)];if(r==null)return!0;const n=t instanceof Ju?t:sm.wrap(t),i=Hn(n,"event");if(i.dispatchFlag)throw O$("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(!N$(f)&&(iP(f)&&uP(r,l,!a)&&(l-=1),i.inPassiveListenerFlag=nP(f),R$(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 lP=new WeakMap;function i1(e,t="this"){const r=lP.get(e);return v2(r!=null,"'%s' must be an object that EventTarget constructor created, but got another one: %o",t,e),r}function D$(e,t,r){var n;return sP(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 $$(e,t,r){return sP(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 sP(e){if(!(typeof e=="function"||typeof e=="object"&&e!==null&&typeof e.handleEvent=="function")){if(e==null||typeof e=="object"){BA.warn(e);return}throw new TypeError(QM(BA.message,[e]))}}function z$(e,t,r,n){C$.warn(rP(e)?"capture":"bubble",e.callback),nP(e)!==t&&r1.warn("passive"),iP(e)!==r&&r1.warn("once"),e.signal!==n&&r1.warn("signal")}const a1=Object.getOwnPropertyNames(g2.prototype);for(let e=0;e<a1.length;++e)a1[e]!=="constructor"&&Object.defineProperty(g2.prototype,a1[e],{enumerable:!0});typeof Co<"u"&&typeof Co.EventTarget<"u"&&Object.setPrototypeOf(g2.prototype,Co.EventTarget.prototype);var B$={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 window<"u"?window:a_,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(J,q){this.fn=J,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(J){M.reject(J)}}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 J={success:typeof L=="function"?L:!0,failure:typeof v=="function"?v:!1};return J.promise=new this.constructor(function(ue,Ie){if(typeof ue!="function"||typeof Ie!="function")throw TypeError("Not a function");J.resolve=ue,J.reject=Ie}),P.chain.push(J),P.state!==0&&l(c,P),J.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,J){if(typeof v!="function"||typeof J!="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,J){if(typeof v!="function"||typeof J!="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)},J)})}),r(E,"race",function(P){var M=this;return a.call(P)!="[object Array]"?M.reject(TypeError("Not an array")):new M(function(v,J){if(typeof v!="function"||typeof J!="function")throw TypeError("Not a function");b(M,P,function(ue,Ie){v(Ie)},J)})}),E})})(B$);var j$={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__",J="\0";M(L,{has:Ie,get:function(u){return this._[q(u)]},set:function(u,s){return this._[q(u)]=s},remove:Te,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]===J?J+u:u}function ue(u){return(u+="")[0]===J?u.slice(1):u}function Ie(u){return q(u)in this._}function Te(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++],ce,pe,V,te=new L,ie;++B<H;)(ie=te.get(ce=W(pe=I[B])))?ie.push(pe):te.set(ce,[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)}),te.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:Te,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 ee="http://www.w3.org/1999/xhtml",Ee={svg:"http://www.w3.org/2000/svg",xhtml:ee,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:Ee,qualify:function(u){var s=u.indexOf(":"),h=u;return s>=0&&(h=u.slice(0,s))!=="xmlns"&&(u=u.slice(s+1)),Ee.hasOwnProperty(h)?{space:Ee[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(Jr(s,u[s]));return this}return this.each(Jr(u,s))};function kr(u){return new RegExp("(?:^|\\s+)"+t.requote(u)+"(?:\\s+|$)","g")}function qr(u){return(u+"").trim().split(/^|\s+/)}function Jr(u,s){u=qr(u).map(Gn);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 Gn(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(Fi(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(Fi(u,s,h))};function Fi(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(dn(s,u[s]));return this}return this.each(dn(u,s))};function dn(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=Da(u),this.select(function(){return this.appendChild(u.apply(this,arguments))})};function Da(u){function s(){var g=this.ownerDocument,y=this.namespaceURI;return y===ee&&g.documentElement.namespaceURI===ee?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=Da(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(Mo)};function Mo(){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,ce=B.length,pe=H.length,V=Math.min(ce,pe),te=new Array(pe),ie=new Array(pe),ve=new Array(ce),ge,se;if(s){var qe=new L,tt=new Array(ce),gt;for(W=-1;++W<ce;)(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&&(te[W]=ge,ge.__data__=se):ie[W]=vs(se),qe.set(gt,!0);for(W=-1;++W<ce;)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,te[W]=ge):ie[W]=vs(se);for(;W<pe;++W)ie[W]=vs(H[W]);for(;W<ce;++W)ve[W]=B[W]}ie.update=te,ie.parentNode=te.parentNode=ve.parentNode=B.parentNode,O.push(ie),I.push(te),z.push(ve)}var O=Mf([]),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 vs(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=hu(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 hu(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=pu.apply(this,arguments);for(var s=-1,h=this.length;++s<h;)this[s].sort(u);return this.order()};function pu(u){return arguments.length||(u=x),function(s,h){return s&&h?u(s.__data__,h.__data__):!s-!h}}je.each=function(u){return Gi(this,function(s,h,g){u.call(s,s.__data__,h,g)})};function Gi(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 Gi(this,function(){++u}),u};function Mf(u){return hr(u,ui),u}var ui=[];t.selection.enter=Mf,t.selection.enter.prototype=ui,ui.append=je.append,ui.empty=je.empty,ui.node=je.node,ui.call=je.call,ui.size=je.size,ui.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)},ui.insert=function(u,s){return arguments.length<2&&(s=ga(this)),je.insert.call(this,u,s)};function ga(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(vu(h,u[h],s));return this}if(g<2)return(g=this.node()["__on"+u])&&g._;h=!1}return this.each(vu(u,s,h))};function vu(u,s,h){var g="__on"+u,y=u.indexOf("."),w=qn;y>0&&(u=u.slice(0,y));var N=gu.get(u);N&&(u=N,w=li);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 ce=this[W];this.removeEventListener(H[1],ce,ce.$),delete this[W]}}return y?s?I:O:s?bt:z}var gu=t.map({mouseenter:"mouseover",mouseleave:"mouseout"});i&&gu.forEach(function(u){"on"+u in i&&gu.remove(u)});function qn(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 li(u,s){var h=qn(u,s);return function(g){var y=this,w=g.relatedTarget;(!w||w!==y&&!(w.compareDocumentPosition(y)&8))&&h.call(y,g)}}var ma,Ed=0;function mu(u){var s=".dragsuppress-"+ ++Ed,h="click"+s,g=t.select(o(u)).on("touchmove"+s,At).on("dragstart"+s,At).on("selectstart"+s,At);if(ma==null&&(ma="onselectstart"in u?!1:it(u.style,"userSelect")),ma){var y=a(u).style,w=y[ma];y[ma]="none"}return function(N){if(g.on(s,null),ma&&(y[ma]=w),N){var O=function(){g.on(h,null)};g.on(h,function(){At(),O()},!0),setTimeout(O,0)}}}t.mouse=function(u){return Bn(u,st())};var Mn=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function Bn(u,s){s.changedTouches&&(s=s.changedTouches[0]);var h=u.ownerSVGElement||u;if(h.createSVGPoint){var g=h.createSVGPoint();if(Mn<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();Mn=!(w.f||w.e),h.remove()}}return Mn?(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 Bn(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(Pn,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,ce=H.parentNode,pe=u.of(H,arguments),V=0,te=N(),ie=".drag"+(te==null?"":"-"+te),ve,ge=t.select(I(W)).on(z+ie,tt).on(B+ie,gt),se=mu(W),qe=O(ce,te);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(ce,te),_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(ce,te)||(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 Pn(){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=Bn(u,h);return g.identifier=h.identifier,g}):[]};var Pr=1e-6,Pf=Pr*Pr,qi=Math.PI,ya=2*qi,Nf=ya-Pr,na=qi/2,Rf=qi/180,Po=180/qi;function Ad(u,s,h){return(s[0]-u[0])*(h[1]-u[1])-(s[1]-u[1])*(h[0]-u[0])}function If(u){return u>1?na:u<-1?-na:Math.asin(u)}function Ff(u){return((u=Math.exp(u))-1/u)/2}function Lf(u){return((u=Math.exp(u))+1/u)/2}function No(u){return((u=Math.exp(2*u))-1)/(u+1)}var Ro=Math.SQRT2,yu=2,bu=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<Pf)W=Math.log(O/y)/Ro,H=function(ve){return[h+ve*I,g+ve*z,y*Math.exp(Ro*ve*W)]};else{var ce=Math.sqrt(B),pe=(O*O-y*y+bu*B)/(2*y*yu*ce),V=(O*O-y*y-bu*B)/(2*O*yu*ce),te=Math.log(Math.sqrt(pe*pe+1)-pe),ie=Math.log(Math.sqrt(V*V+1)-V);W=(ie-te)/Ro,H=function(ve){var ge=ve*W,se=Lf(te),qe=y/(yu*ce)*(se*No(Ro*ge+te)-Ff(te));return[h+qe*I,g+qe*z,y*se/Lf(Ro*ge+te)]}}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=Io,N=250,O=0,I="mousedown.zoom",z="mousemove.zoom",B="mouseup.zoom",H,W="touchstart.zoom",ce,pe=Ct(ge,"zoomstart","zoom","zoomend"),V,te,ie,ve;lo||(lo="onwheel"in i?(nl=function(){return-t.event.deltaY*(t.event.deltaMode?120:1)},"wheel"):"onmousewheel"in i?(nl=function(){return t.event.wheelDelta},"mousewheel"):(nl=function(){return-t.event.detail},"MozMousePixelScroll"));function ge(mt){mt.on(I,sr).on(lo+".zoom",pn).on("dblclick.zoom",Hr).on(W,Ir)}ge.event=function(mt){mt.each(function(){var gr=pe.of(this,arguments),xr=u;xo?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],on=y[1],Sn=h?h[0]:Fr/2,Dn=h?h[1]:on/2,vi=t.interpolateZoom([(Sn-u.x)/u.k,(Dn-u.y)/u.k,Fr/u.k],[(Sn-xr.x)/xr.k,(Dn-xr.y)/xr.k,Fr/xr.k]);return function(Ti){var Jn=vi(Ti),$i=Fr/Jn[2];this.__chart__=u={x:Sn-Jn[0]*$i,y:Dn-Jn[1]*$i,k:$i},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?Io:[+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?(te=mt,V=mt.copy(),u={x:0,y:0,k:1},ge):te},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(){te&&te.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,Dn).on(B,vi),on=se(t.mouse(mt)),Sn=mu(mt);oc.call(mt),Rt(gr);function Dn(){xr=1,gt(t.mouse(mt),on),vr(gr)}function vi(){Fr.on(z,null).on(B,null),Sn(xr),Bt(gr)}}function Ir(){var mt=this,gr=pe.of(mt,arguments),xr={},Fr=0,on,Sn=".zoom-"+t.event.changedTouches[0].identifier,Dn="touchmove"+Sn,vi="touchend"+Sn,Ti=[],Jn=t.select(mt),$i=mu(mt);X(),Rt(gr),Jn.on(I,null).on(W,X);function F(){var He=t.touches(mt);return on=u.k,He.forEach(function(Pe){Pe.identifier in xr&&(xr[Pe.identifier]=se(Pe))}),He}function X(){var He=t.event.target;t.select(He).on(Dn,re).on(vi,Fe),Ti.push(He);for(var Pe=t.event.changedTouches,Re=0,ft=Pe.length;Re<ft;++Re)xr[Pe[Re].identifier]=null;var ct=F(),vt=Date.now();if(ct.length===1){if(vt-ce<500){var Ot=ct[0];rt(mt,Ot,xr[Ot.identifier],Math.floor(Math.log(u.k)/Math.LN2)+1),At()}ce=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 re(){var He=t.touches(mt),Pe,Re,ft,ct;oc.call(mt);for(var vt=0,Ot=He.length;vt<Ot;++vt,ct=null)if(ft=He[vt],ct=xr[ft.identifier]){if(Re)break;Pe=ft,Re=ct}if(ct){var Zt=(Zt=ft[0]-Pe[0])*Zt+(Zt=ft[1]-Pe[1])*Zt,Ht=Fr&&Math.sqrt(Zt/Fr);Pe=[(Pe[0]+ft[0])/2,(Pe[1]+ft[1])/2],Re=[(Re[0]+ct[0])/2,(Re[1]+ct[1])/2],tt(Ht*on)}ce=null,gt(Pe,Re),vr(gr)}function Fe(){if(t.event.touches.length){for(var He=t.event.changedTouches,Pe=0,Re=He.length;Pe<Re;++Pe)delete xr[He[Pe].identifier];for(var ft in xr)return void F()}t.selectAll(Ti).on(Sn,null),Jn.on(I,sr).on(W,Ir),$i(),Bt(gr)}}function pn(){var mt=pe.of(this,arguments);H?clearTimeout(H):(oc.call(this),s=se(h=g||t.mouse(this)),Rt(mt)),H=setTimeout(function(){H=null,Bt(mt)},50),At(),tt(Math.pow(2,nl()*.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 Io=[0,1/0],nl,lo;t.color=ba;function ba(){}ba.prototype.toString=function(){return this.rgb()+""},t.hsl=Si;function Si(u,s,h){return this instanceof Si?(this.h=+u,this.s=+s,void(this.l=+h)):arguments.length<2?u instanceof Si?new Si(u.h,u.s,u.l):po(""+u,Ei,Si):new Si(u,s,h)}var xu=Si.prototype=new ba;xu.brighter=function(u){return u=Math.pow(.7,arguments.length?u:1),new Si(this.h,this.s,this.l/u)},xu.darker=function(u){return u=Math.pow(.7,arguments.length?u:1),new Si(this.h,this.s,u*this.l)},xu.rgb=function(){return wu(this.h,this.s,this.l)};function wu(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 Tn(N(u+120),N(u),N(u-120))}t.hcl=Vi;function Vi(u,s,h){return this instanceof Vi?(this.h=+u,this.c=+s,void(this.l=+h)):arguments.length<2?u instanceof Vi?new Vi(u.h,u.c,u.l):u instanceof An?co(u.l,u.a,u.b):co((u=$a((u=t.rgb(u)).r,u.g,u.b)).l,u.a,u.b):new Vi(u,s,h)}var so=Vi.prototype=new ba;so.brighter=function(u){return new Vi(this.h,this.c,Math.min(100,this.l+fo*(arguments.length?u:1)))},so.darker=function(u){return new Vi(this.h,this.c,Math.max(0,this.l-fo*(arguments.length?u:1)))},so.rgb=function(){return _u(this.h,this.c,this.l).rgb()};function _u(u,s,h){return isNaN(u)&&(u=0),isNaN(s)&&(s=0),new An(h,Math.cos(u*=Rf)*s,Math.sin(u)*s)}t.lab=An;function An(u,s,h){return this instanceof An?(this.l=+u,this.a=+s,void(this.b=+h)):arguments.length<2?u instanceof An?new An(u.l,u.a,u.b):u instanceof Vi?_u(u.h,u.c,u.l):$a((u=Tn(u)).r,u.g,u.b):new An(u,s,h)}var fo=18,il=.95047,al=1,ol=1.08883,ul=An.prototype=new ba;ul.brighter=function(u){return new An(Math.min(100,this.l+fo*(arguments.length?u:1)),this.a,this.b)},ul.darker=function(u){return new An(Math.max(0,this.l-fo*(arguments.length?u:1)),this.a,this.b)},ul.rgb=function(){return Vn(this.l,this.a,this.b)};function Vn(u,s,h){var g=(u+16)/116,y=g+s/500,w=g-h/200;return y=Fo(y)*il,g=Fo(g)*al,w=Fo(w)*ol,new Tn(ms(3.2404542*y-1.5371385*g-.4985314*w),ms(-.969266*y+1.8760108*g+.041556*w),ms(.0556434*y-.2040259*g+1.0572252*w))}function co(u,s,h){return u>0?new Vi(Math.atan2(h,s)*Po,Math.sqrt(s*s+h*h),u):new Vi(NaN,NaN,u)}function Fo(u){return u>.206893034?u*u*u:(u-4/29)/7.787037}function gs(u){return u>.008856?Math.pow(u,1/3):7.787037*u+4/29}function ms(u){return Math.round(255*(u<=.00304?12.92*u:1.055*Math.pow(u,1/2.4)-.055))}t.rgb=Tn;function Tn(u,s,h){return this instanceof Tn?(this.r=~~u,this.g=~~s,void(this.b=~~h)):arguments.length<2?u instanceof Tn?new Tn(u.r,u.g,u.b):po(""+u,Tn,wu):new Tn(u,s,h)}function ys(u){return new Tn(u>>16,u>>8&255,u&255)}function ho(u){return ys(u)+""}var xa=Tn.prototype=new ba;xa.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 Tn(y,y,y):(s&&s<y&&(s=y),h&&h<y&&(h=y),g&&g<y&&(g=y),new Tn(Math.min(255,s/u),Math.min(255,h/u),Math.min(255,g/u)))},xa.darker=function(u){return u=Math.pow(.7,arguments.length?u:1),new Tn(u*this.r,u*this.g,u*this.b)},xa.hsl=function(){return Ei(this.r,this.g,this.b)},xa.toString=function(){return"#"+Lo(this.r)+Lo(this.g)+Lo(this.b)};function Lo(u){return u<16?"0"+Math.max(0,u).toString(16):Math.min(255,u).toString(16)}function po(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(Ba(O[0]),Ba(O[1]),Ba(O[2]))}return(I=Do.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 Ei(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 Si(N,O,I)}function $a(u,s,h){u=za(u),s=za(s),h=za(h);var g=gs((.4124564*u+.3575761*s+.1804375*h)/il),y=gs((.2126729*u+.7151522*s+.072175*h)/al),w=gs((.0193339*u+.119192*s+.9503041*h)/ol);return An(116*y-16,500*(g-y),200*(y-w))}function za(u){return(u/=255)<=.04045?u/12.92:Math.pow((u+.055)/1.055,2.4)}function Ba(u){var s=parseFloat(u);return u.charAt(u.length-1)==="%"?Math.round(s*2.55):s}var Do=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});Do.forEach(function(u,s){Do.set(u,ys(s))});function Rr(u){return typeof u=="function"?u:function(){return u}}t.functor=Rr,t.xhr=wa(yt);function wa(u){return function(s,h,g){return arguments.length===2&&typeof h=="function"&&(g=h,h=null),$o(s,h,u,g)}}function $o(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&&$f(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 ce in N)O.setRequestHeader(ce,N[ce]);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(Df(g))}function Df(u){return u.length===1?function(s,h){u(s==null?h:null)}:u}function $f(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=$o(z,s,B==null?w:N(B),H);return W.row=function(ce){return arguments.length?W.response((B=ce)==null?w:N(ce)):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,ce){if(H)return H(W,ce-1);var pe=function(V){for(var te={},ie=W.length,ve=0;ve<ie;++ve)te[W[ve]]=V[ve];return te};H=B?function(V,te){return B(pe(V),te)}:pe})},y.parseRows=function(z,B){var H={},W={},ce=[],pe=z.length,V=0,te=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,te++))==null||ce.push(se)}return ce},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 ce in W)B.has(ce)||H.push(B.add(ce))}),[H.map(I).join(u)].concat(z.map(function(W){return H.map(function(ce){return I(W[ce])}).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 Su,_a,Li,zo,Yi=this[it(this,"requestAnimationFrame")]||function(u){setTimeout(u,17)};t.timer=function(){vo.apply(this,arguments)};function vo(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 _a?_a.n=w:Su=w,_a=w,Li||(zo=clearTimeout(zo),Li=1,Yi(Bo)),w}function Bo(){var u=ja(),s=jo()-u;s>24?(isFinite(s)&&(clearTimeout(zo),zo=setTimeout(Bo,s)),Li=0):(Li=1,Yi(Bo))}t.timer.flush=function(){ja(),jo()};function ja(){for(var u=Date.now(),s=Su;s;)u>=s.t&&s.c(u-s.t)&&(s.c=null),s=s.n;return u}function jo(){for(var u,s=Su,h=1/0;s;)s.c?(s.t<h&&(h=s.t),s=(u=s).n):s=u?u.n=s.n:Su=s.n;return _a=u,h}t.round=function(u,s){return s?Math.round(u*(s=Math.pow(10,s)))/s:Math.round(u)},t.geom={};function Sa(u){return u[0]}function Ea(u){return u[1]}t.geom.hull=function(u){var s=Sa,h=Ea;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(zf),O=0;O<I;O++)B.push([z[O][0],-z[O][1]]);var H=Eu(z),W=Eu(B),ce=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=+ce;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 Eu(u){for(var s=u.length,h=[0,1],g=2,y=2;y<s;y++){for(;g>1&&Ad(u[h[g-2]],u[h[g-1]],u[y])<=0;)--g;h[g++]=y}return h.slice(0,g)}function zf(u,s){return u[0]-s[0]||u[1]-s[1]}t.geom.polygon=function(u){return hr(u,Uo),u};var Uo=t.geom.polygon.prototype=[];Uo.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},Uo.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]},Uo.clip=function(u){for(var s,h=xs(u),g=-1,y=this.length-xs(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],ll(B,O,I)?(ll(z,O,I)||u.push(bs(z,B,O,I)),u.push(B)):ll(z,O,I)&&u.push(bs(z,B,O,I)),z=B;h&&u.push(u[0]),O=I}return u};function ll(u,s,h){return(h[0]-s[0])*(u[1]-s[1])<(h[1]-s[1])*(u[0]-s[0])}function bs(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 xs(u){var s=u[0],h=u[u.length-1];return!(s[0]-h[0]||s[1]-h[1])}var Ua,Ha,ia,Ho=[],Wo,Aa,go=[];function ws(){or(this),this.edge=this.site=this.circle=null}function sl(u){var s=Ho.pop()||new ws;return s.site=u,s}function Ta(u){D(u),ia.remove(u),Ho.push(u),or(u)}function fl(u){var s=u.circle,h=s.x,g=s.cy,y={x:h,y:g},w=u.P,N=u.N,O=[u];Ta(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),Ta(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),Ta(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 cl(u){for(var s=u.x,h=u.y,g,y,w,N,O=ia._;O;)if(w=_s(O,h)-s,w>Pr)O=O.L;else if(N=s-Bf(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=sl(u);if(ia.insert(g,I),!(!g&&!y)){if(g===y){D(g),y=sl(g.site),ia.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,ce=u.y-H,pe=y.site,V=pe.x-B,te=pe.y-H,ie=2*(W*te-ce*V),ve=W*W+ce*ce,ge=V*V+te*te,se={x:(te*ve-ce*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 _s(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 Bf(u,s){var h=u.N;if(h)return _s(h,s);var g=u.site;return g.y===s?g.x:1/0}function Ss(u){this.site=u,this.edges=[]}Ss.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=Ha,B=z.length,H,W,ce,pe,V,te;B--;)if(H=z[B],!(!H||!H.prepare()))for(ce=H.edges,pe=ce.length,W=0;W<pe;)te=ce[W].end(),O=te.x,I=te.y,V=ce[++W%pe].start(),w=V.x,N=V.y,(T(O-w)>Pr||T(I-N)>Pr)&&(ce.splice(W,0,new ke(Be(H.site,te,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,te=w.y-O,H=2*(I*te-z*B);if(!(H>=-Pf)){var W=I*I+z*z,ce=B*B+te*te,pe=(te*W-z*ce)/H,V=(I*ce-B*W)/H,te=V+O,ie=go.pop()||new A;ie.arc=u,ie.site=y,ie.x=pe+N,ie.y=te+Math.sqrt(pe*pe+V*V),ie.cy=te,u.circle=ie;for(var ve=null,ge=Aa._;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}Aa.insert(ve,ie),ve||(Wo=ie)}}}}function D(u){var s=u.circle;s&&(s.P||(Wo=s.N),Aa.remove(s),go.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,ce=z-O,pe=B-I,V;if(V=u-O,!(!ce&&V>0)){if(V/=ce,ce<0){if(V<H)return;V<W&&(W=V)}else if(ce>0){if(V>W)return;V>H&&(H=V)}if(V=h-O,!(!ce&&V<0)){if(V/=ce,ce<0){if(V>W)return;V>H&&(H=V)}else if(ce>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*ce,y:I+H*pe}),W<1&&(y.b={x:O+W*ce,y:I+W*pe}),y}}}}}}function j(u){for(var s=Ua,h=$(u[0][0],u[0][1],u[1][0],u[1][1]),g=s.length,y;g--;)y=s[g],(!ae(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 ae(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,ce=z.y,pe=(B+W)/2,V=(H+ce)/2,te,ie;if(ce===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(te=(B-W)/(ce-H),ie=V-te*pe,te<-1||te>1)if(B>W){if(!g)g={x:(N-ie)/te,y:N};else if(g.y>=O)return;h={x:(O-ie)/te,y:O}}else{if(!g)g={x:(O-ie)/te,y:O};else if(g.y<N)return;h={x:(N-ie)/te,y:N}}else if(H<ce){if(!g)g={x:y,y:te*y+ie};else if(g.x>=w)return;h={x:w,y:te*w+ie}}else{if(!g)g={x:w,y:te*w+ie};else if(g.x<y)return;h={x:y,y:te*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 Ua.push(y),h&&ot(y,u,s,h),g&&ot(y,s,u,g),Ha[u.i].edges.push(new ke(y,u,s)),Ha[s.i].edges.push(new ke(y,s,u)),y}function Be(u,s,h){var g=new fe(u,null);return g.a=s,g.b=h,Ua.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 ke(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)}ke.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=hn(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=hn(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 hn(u){for(;u.L;)u=u.L;return u}function sn(u,s){var h=u.sort(si).pop(),g,y,w;for(Ua=[],Ha=new Array(u.length),ia=new Ge,Aa=new Ge;;)if(w=Wo,h&&(!w||h.y<w.y||h.y===w.y&&h.x<w.x))(h.x!==g||h.y!==y)&&(Ha[h.i]=new Ss(h),cl(h),g=h.x,y=h.y),h=u.pop();else if(w)fl(w.arc);else break;s&&(j(s),d(s));var N={cells:Ha,edges:Ua};return ia=Aa=Ua=Ha=null,N}function si(u,s){return s.y-u.y||s.x-u.x}t.geom.voronoi=function(u){var s=Sa,h=Ea,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],ce=w[1][1];return sn(O(I),w).cells.forEach(function(pe,V){var te=pe.edges,ie=pe.site,ve=z[V]=te.length?te.map(function(ge){var se=ge.start();return[se.x,se.y]}):ie.x>=B&&ie.x<=W&&ie.y>=H&&ie.y<=ce?[[B,ce],[W,ce],[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 sn(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 sn(O(I)).cells.forEach(function(B,H){for(var W=B.site,ce=B.edges.sort(m),pe=-1,V=ce.length,te,ie=ce[V-1].edge,ve=ie.l===W?ie.r:ie.l;++pe<V;)te=ve,ie=ce[pe].edge,ve=ie.l===W?ie.r:ie.l,H<te.i&&H<ve.i&&Sr(W,te,ve)<0&&z.push([I[H],I[te.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=Sa,N=Ea,O;if(O=arguments.length)return w=Fn,N=Br,O===3&&(y=h,g=s,h=s=0),I(u);function I(z){var B,H=Rr(w),W=Rr(N),ce,pe,V,te,ie,ve,ge,se;if(s!=null)ie=s,ve=h,ge=g,se=y;else if(ge=se=-(ie=ve=1/0),ce=[],pe=[],te=z.length,O)for(V=0;V<te;++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),ce.push(B.x),pe.push(B.y);else for(V=0;V<te;++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),ce.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,pn,Hr,mt,gr,xr){if(!(isNaN(Ir)||isNaN(pn)))if(Bt.leaf){var Fr=Bt.x,on=Bt.y;if(Fr!=null)if(T(Fr-Ir)+T(on-pn)<.01)Rt(Bt,sr,Ir,pn,Hr,mt,gr,xr);else{var Sn=Bt.point;Bt.x=Bt.y=Bt.point=null,Rt(Bt,Sn,Fr,on,Hr,mt,gr,xr),Rt(Bt,sr,Ir,pn,Hr,mt,gr,xr)}else Bt.x=Ir,Bt.y=pn,Bt.point=sr}else Rt(Bt,sr,Ir,pn,Hr,mt,gr,xr)}function Rt(Bt,sr,Ir,pn,Hr,mt,gr,xr){var Fr=(Hr+gr)*.5,on=(mt+xr)*.5,Sn=Ir>=Fr,Dn=pn>=on,vi=Dn<<1|Sn;Bt.leaf=!1,Bt=Bt.nodes[vi]||(Bt.nodes[vi]=nn()),Sn?Hr=Fr:gr=Fr,Dn?mt=on:xr=on,_t(Bt,sr,Ir,pn,Hr,mt,gr,xr)}var vr=nn();if(vr.add=function(Bt){_t(vr,Bt,+H(Bt,++V),+W(Bt,V),ie,ve,ge,se)},vr.visit=function(Bt){Ca(Bt,vr,ie,ve,ge,se)},vr.find=function(Bt){return dl(vr,Bt[0],Bt[1],ie,ve,ge,se)},V=-1,s==null){for(;++V<te;)_t(vr,z[V],ce[V],pe[V],ie,ve,ge,se);--V}else z.forEach(vr.add);return ce=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 Fn(u){return u.x}function Br(u){return u.y}function nn(){return{leaf:!0,nodes:[],point:null,x:null,y:null}}function Ca(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]&&Ca(u,I[0],h,g,N,O),I[1]&&Ca(u,I[1],N,g,y,O),I[2]&&Ca(u,I[2],h,O,N,w),I[3]&&Ca(u,I[3],N,O,y,w)}}function dl(u,s,h,g,y,w,N){var O=1/0,I;return function z(B,H,W,ce,pe){if(!(H>w||W>N||ce<g||pe<y)){if(V=B.point){var V,te=s-B.x,ie=h-B.y,ve=te*te+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+ce)*.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,ce,tt);break;case 2:z(B,H,tt,qe,pe);break;case 3:z(B,qe,tt,ce,pe);break}}}(u,g,y,w,N),I}t.interpolateRgb=Yn;function Yn(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"#"+Lo(Math.round(h+w*I))+Lo(Math.round(g+N*I))+Lo(Math.round(y+O*I))}}t.interpolateObject=Wa;function Wa(u,s){var h={},g={},y;for(y in u)y in s?h[y]=Ln(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=Xn;function Xn(u,s){return u=+u,s=+s,function(h){return u*(1-h)+s*h}}t.interpolateString=jn;function jn(u,s){var h=fi.lastIndex=ci.lastIndex=0,g,y,w,N=-1,O=[],I=[];for(u=u+"",s=s+"";(g=fi.exec(u))&&(y=ci.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:Xn(g,y)})),h=ci.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 fi=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ci=new RegExp(fi.source,"g");t.interpolate=Ln;function Ln(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"?Do.has(s.toLowerCase())||/^(#|rgb\(|hsl\()/i.test(s)?Yn:jn:s instanceof ba?Yn:Array.isArray(s)?Qn:h==="object"&&isNaN(s)?Wa:Xn)(u,s)}],t.interpolateArray=Qn;function Qn(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(Ln(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 Ai=function(){return yt},hl=t.map({linear:Ai,poly:Cn,quad:function(){return jf},cubic:function(){return vl},sin:function(){return Uf},exp:function(){return Hf},circle:function(){return mo},elastic:Tu,back:Wf,bounce:function(){return Td}}),Gr=t.map({in:yt,out:pl,"in-out":Au,"out-in":function(u){return Au(pl(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=hl.get(h)||Ai,g=Gr.get(g)||yt,Ga(g(h.apply(null,r.call(arguments,1))))};function Ga(u){return function(s){return s<=0?0:s>=1?1:u(s)}}function pl(u){return function(s){return 1-u(1-s)}}function Au(u){return function(s){return .5*(s<.5?u(2*s):2-u(2-2*s))}}function jf(u){return u*u}function vl(u){return u*u*u}function Go(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 Cn(u){return function(s){return Math.pow(s,u)}}function Uf(u){return 1-Math.cos(u*na)}function Hf(u){return Math.pow(2,10*(u-1))}function mo(u){return 1-Math.sqrt(1-u*u)}function Tu(u,s){var h;return arguments.length<2&&(s=.45),arguments.length?h=s/ya*Math.asin(1/u):(u=1,h=s/4),function(g){return 1+u*Math.pow(2,-10*g)*Math.sin((g-h)*ya/s)}}function Wf(u){return u||(u=1.70158),function(s){return s*s*((u+1)*s-u)}}function Td(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=Cd;function Cd(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 _u(h+w*I,g+N*I,y+O*I)+""}}t.interpolateHsl=Cu;function Cu(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 wu(h+w*I,g+N*I,y+O*I)+""}}t.interpolateLab=Od;function Od(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 Vn(h+w*I,g+N*I,y+O*I)+""}}t.interpolateRound=qo;function qo(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 Xi(g?g.matrix:Gf)})(u)};function Xi(u){var s=[u.a,u.b],h=[u.c,u.d],g=gl(s),y=aa(s,h),w=gl(Es(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]))*Po,this.translate=[u.e,u.f],this.scale=[g,w],this.skew=w?Math.atan2(y,w)*Po:0}Xi.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};function aa(u,s){return u[0]*s[0]+u[1]*s[1]}function gl(u){var s=Math.sqrt(aa(u,u));return s&&(u[0]/=s,u[1]/=s),s}function Es(u,s,h){return u[0]+=h*s[0],u[1]+=h*s[1],u}var Gf={a:1,b:0,c:0,d:1,e:0,f:0};t.interpolateTransform=Ou;function Oa(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:Xn(u[0],s[0])},{i:y-2,x:Xn(u[1],s[1])})}else(s[0]||s[1])&&h.push("translate("+s+")")}function Qi(u,s,h,g){u!==s?(u-s>180?s+=360:s-u>180&&(u+=360),g.push({i:h.push(Oa(h)+"rotate(",null,")")-2,x:Xn(u,s)})):s&&h.push(Oa(h)+"rotate("+s+")")}function di(u,s,h,g){u!==s?g.push({i:h.push(Oa(h)+"skewX(",null,")")-2,x:Xn(u,s)}):s&&h.push(Oa(h)+"skewX("+s+")")}function Di(u,s,h,g){if(u[0]!==s[0]||u[1]!==s[1]){var y=h.push(Oa(h)+"scale(",null,",",null,")");g.push({i:y-4,x:Xn(u[0],s[0])},{i:y-2,x:Xn(u[1],s[1])})}else(s[0]!==1||s[1]!==1)&&h.push(Oa(h)+"scale("+s+")")}function Ou(u,s){var h=[],g=[];return u=t.transform(u),s=t.transform(s),Zr(u.translate,s.translate,h,g),Qi(u.rotate,s.rotate,h,g),di(u.skew,s.skew,h,g),Di(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 As(u,s){return s=(s-=u=+u)||1/s,function(h){return(h-u)/s}}function qf(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(Vf(u[h]));return s}};function Vf(u){for(var s=u.source,h=u.target,g=qa(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 ml(u){for(var s=[],h=u.parent;h!=null;)s.push(u),u=h,h=h.parent;return s.push(u),s}function qa(u,s){if(u===s)return u;for(var h=ml(u),g=ml(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=[],ce=t.range(y),pe=[],V,te,ie,ve,ge;for(s=[],h=[],V=0,ve=-1;++ve<y;){for(te=0,ge=-1;++ge<y;)te+=g[ve][ge];W.push(te),pe.push(t.range(y)),V+=te}for(N&&ce.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=(ya-w*y)/V,te=0,ve=-1;++ve<y;){for(ie=te,ge=-1;++ge<y;){var se=ce[ve],qe=pe[se][ge],tt=g[se][qe],gt=te,rt=te+=tt*V;H[se+"-"+qe]={index:se,subindex:qe,startAngle:gt,endAngle:rt,value:tt}}h[se]={index:se,startAngle:ie,endAngle:te,value:W[se]},te+=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=ka,I=Vo,z=-30,B=Va,H=.1,W=.64,ce=[],pe=[],V,te,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=ce.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*te[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=ce[gt],rt.x+=(sr-rt.x)*Bt,rt.y+=(Ir-rt.y)*Bt;if(z)for(bl(tt=t.geom.quadtree(ce),w,ie),gt=-1;++gt<se;)(rt=ce[gt]).fixed||tt.visit(ve(rt));for(gt=-1;++gt<se;)rt=ce[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?(ce=se,u):ce},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=vo(u.tick)),u):w},u.start=function(){var se,qe=ce.length,tt=pe.length,gt=g[0],rt=g[1],_t,Rt;for(se=0;se<qe;++se)(Rt=ce[se]).index=se,Rt.weight=0;for(se=0;se<tt;++se)Rt=pe[se],typeof Rt.source=="number"&&(Rt.source=ce[Rt.source]),typeof Rt.target=="number"&&(Rt.target=ce[Rt.target]),++Rt.source.weight,++Rt.target.weight;for(se=0;se<qe;++se)Rt=ce[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(te=[],typeof I=="function")for(se=0;se<tt;++se)te[se]=+I.call(this,pe[se],se);else for(se=0;se<tt;++se)te[se]=I;if(ie=[],typeof z=="function")for(se=0;se<qe;++se)ie[se]=+z.call(this,ce[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 pn=_t[se],Hr=-1,mt=pn.length,gr;++Hr<mt;)if(!isNaN(gr=pn[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",yl).on("drag.force",ge).on("dragend.force",Ts)),!arguments.length)return y;this.on("mouseover.force",hi).on("mouseout.force",ku).call(y)};function ge(se){se.px=t.event.x,se.py=t.event.y,u.resume()}return t.rebind(u,s,"on")};function yl(u){u.fixed|=2}function Ts(u){u.fixed&=-7}function hi(u){u.fixed|=4,u.px=u.x,u.py=u.y}function ku(u){u.fixed&=-5}function bl(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&&(bl(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 ka=20,Vo=1,Va=1/0;t.layout.hierarchy=function(){var u=Ve,s=le,h=ye;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,ce;u&&(W=H.children)&&W.sort(u),h&&(ce=H.parent)&&(ce.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&&(Yo(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 Ya(u,s){return t.rebind(u,s,"sort","children","value"),u.nodes=u,u.links=Se,u}function Yo(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 ye(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,ce;for(O=w.value?O/w.value:0;++B<H;)h(W=z[B],N,ce=W.value*O,I),N+=ce}}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},Ya(y,u)},t.layout.pie=function(){var u=Number,s=et,h=0,g=ya,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),ce=t.sum(I),pe=ce?(B-O*W)/ce:0,V=t.range(O),te=[],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){te[ve]={data:N[ve],value:ie=I[ve],startAngle:z,endAngle:z+=ie*pe+W,padAngle:H}}),te}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),ce=z[0].length,pe,V,te,ie;for(te=0;te<ce;++te)for(g.call(N,z[0][te],ie=W[te],B[0][te][1]),V=1;V<pe;++V)g.call(N,z[V][te],ie+=B[V-1][te][1],B[V][te][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,ce=[];for(ce[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]}ce[w]=H-=O?I/O*B:0,H<W&&(W=H)}for(w=0;w<g;++w)ce[w]-=W;return ce},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(yn,0)}function yn(u,s){return u+s[1]}t.layout.histogram=function(){var u=!0,s=Number,h=an,g=Un;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,ce=I.length,pe=B.length-1,V=u?1:1/ce,te;++W<pe;)H=O[W]=[],H.dx=B[W+1]-(H.x=B[W]),H.y=0;if(pe>0)for(W=-1;++W<ce;)te=I[W],te>=z[0]&&te<=z[1]&&(H=O[t.bisect(B,te,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 Zn(N,w)}:Rr(w),y):g},y.frequency=function(w){return arguments.length?(u=!!w,y):u},y};function Un(u,s){return Zn(u,Math.ceil(Math.log(s.length)/Math.LN2+1))}function Zn(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 an(u){return[t.min(u),t.max(u)]}t.layout.pack=function(){var u=t.layout.hierarchy().sort(Mu),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(ce){ce.r=+H(ce.value)}),U(I,kd),s){var W=s*(g?1:Math.max(2*I.r/z,2*I.r/B))/2;U(I,function(ce){ce.r+=W}),U(I,kd),U(I,function(ce){ce.r-=W})}return cv(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},Ya(y,u)};function Mu(u,s){return u.value-s.value}function yo(u,s){var h=u._pack_next;u._pack_next=s,s._pack_prev=u,s._pack_next=h,h._pack_prev=s}function pi(u,s){u._pack_next=s,s._pack_prev=u}function fv(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 kd(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 ce(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(Km),N=s[0],N.x=-N.r,N.y=0,ce(N),W>1&&(O=s[1],O.x=O.r,O.y=0,ce(O),W>2))for(I=s[2],dv(N,O,I),ce(I),yo(N,I),N._pack_prev=I,yo(I,O),O=N._pack_next,z=3;z<W;z++){dv(N,O,I=s[z]);var pe=0,V=1,te=1;for(B=O._pack_next;B!==O;B=B._pack_next,V++)if(fv(B,I)){pe=1;break}if(pe==1)for(H=N._pack_prev;H!==B._pack_prev&&!fv(H,I);H=H._pack_prev,te++);pe?(V<te||V==te&&O.r<N.r?pi(N,O=B):pi(N=H,O),z--):(yo(N,I),O=I,ce(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(Jm)}function Km(u){u._pack_next=u._pack_prev=u}function Jm(u){delete u._pack_next,delete u._pack_prev}function cv(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;)cv(y[w],s,h,g)}function dv(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=hv,h=[1,1],g=null;function y(B,H){var W=u.call(this,B,H),ce=W[0],pe=w(ce);if(U(pe,N),pe.parent.m=-pe.z,Yo(pe,O),g)Yo(ce,z);else{var V=ce,te=ce,ie=ce;Yo(ce,function(qe){qe.x<V.x&&(V=qe),qe.x>te.x&&(te=qe),qe.depth>ie.depth&&(ie=qe)});var ve=s(V,te)/2-V.x,ge=h[0]/(te.x+s(te,V)/2+ve),se=h[1]/(ie.depth||1);Yo(ce,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],ce;(ce=W.pop())!=null;)for(var pe=ce.children,V,te=0,ie=pe.length;te<ie;++te)W.push((pe[te]=V={_:pe[te],parent:ce,children:(V=pe[te].children)&&V.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:te}).a=V);return H.children[0]}function N(B){var H=B.children,W=B.parent.children,ce=B.i?W[B.i-1]:null;if(H.length){ty(B);var pe=(H[0].z+H[H.length-1].z)/2;ce?(B.z=ce.z+s(B._,ce._),B.m=B.z-pe):B.z=pe}else ce&&(B.z=ce.z+s(B._,ce._));B.parent.A=I(B,ce,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 ce=B,pe=B,V=H,te=ce.parent.children[0],ie=ce.m,ve=pe.m,ge=V.m,se=te.m,qe;V=Pd(V),ce=Md(ce),V&&ce;)te=Md(te),pe=Pd(pe),pe.a=B,qe=V.z+ge-ce.z-ie+s(V._,ce._),qe>0&&(ey(Xa(V,B,W),B,qe),ie+=qe,ve+=qe),ge+=V.m,ie+=ce.m,se+=te.m,ve+=pe.m;V&&!Pd(pe)&&(pe.t=V,pe.m+=ge-ve),ce&&!Md(te)&&(te.t=ce,te.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},Ya(y,u)};function hv(u,s){return u.parent==s.parent?1:2}function Md(u){var s=u.children;return s.length?s[0]:u.t}function Pd(u){var s=u.children,h;return(h=s.length)?s[h-1]:u.t}function ey(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 ty(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 Xa(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=hv,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 te=V.children;te&&te.length?(V.x=ry(te),V.y=pv(te)):(V.x=z?B+=s(V,z):0,V.y=0,z=V)});var H=vv(I),W=gv(I),ce=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-ce)/(pe-ce)*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},Ya(y,u)};function pv(u){return 1+t.max(u,function(s){return s.y})}function ry(u){return u.reduce(function(s,h){return s+h.x},0)/u.length}function vv(u){var s=u.children;return s&&s.length?vv(s[0]):u}function gv(u){var s=u.children,h;return s&&(h=s.length)?gv(s[h-1]):u}t.layout.treemap=function(){var u=t.layout.hierarchy(),s=Math.round,h=[1,1],g=null,y=Nd,w=!1,N,O="squarify",I=.5*(1+Math.sqrt(5));function z(V,te){for(var ie=-1,ve=V.length,ge,se;++ie<ve;)se=(ge=V[ie]).value*(te<0?0:te),ge.area=isNaN(se)||se<=0?0:se}function B(V){var te=V.children;if(te&&te.length){var ie=y(V),ve=[],ge=te.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,ce(ve,gt,ie,!1),gt=Math.min(ie.dx,ie.dy),ve.length=ve.area=0,qe=1/0);ve.length&&(ce(ve,gt,ie,!0),ve.length=ve.area=0),te.forEach(B)}}function H(V){var te=V.children;if(te&&te.length){var ie=y(V),ve=te.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&&(ce(se,ge.z?ie.dx:ie.dy,ie,!ve.length),se.length=se.area=0);te.forEach(H)}}function W(V,te){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,te*=te,ie?Math.max(te*ge*I/ie,ie/(te*se*I)):1/0}function ce(V,te,ie,ve){var ge=-1,se=V.length,qe=ie.x,tt=ie.y,gt=te?s(V.area/te):0,rt;if(te==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 te=N||u(V),ie=te[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=te),te}return pe.size=function(V){return arguments.length?(h=V,pe):h},pe.padding=function(V){if(!arguments.length)return g;function te(ge){var se=V.call(pe,ge,ge.depth);return se==null?Nd(ge):mv(ge,typeof se=="number"?[se,se,se,se]:se)}function ie(ge){return mv(ge,V)}var ve;return y=(g=V)==null?Nd:(ve=typeof V)=="function"?te:(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},Ya(pe,u)};function Nd(u){return{x:u.x,y:u.y,dx:u.dx,dy:u.dy}}function mv(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 Yf(u){var s=u[0],h=u[u.length-1];return s<h?[s,h]:[h,s]}function Xf(u){return u.rangeExtent?u.rangeExtent():Yf(u.range())}function ny(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 Nn(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 Pu(u){return u?{floor:function(s){return Math.floor(s/u)*u},ceil:function(s){return Math.ceil(s/u)*u}}:xl}var xl={floor:yt,ceil:yt};function iy(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 Nu([0,1],[0,1],Ln,!1)};function Nu(u,s,h,g){var y,w;function N(){var I=Math.min(u.length,s.length)>2?iy:ny,z=g?qf:As;return y=I(u,s,z,h),w=I(s,u,z,Ln),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(qo)},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 Os(u,I)},O.tickFormat=function(I,z){return d3_scale_linearTickFormat(u,I,z)},O.nice=function(I){return Ru(u,I),N()},O.copy=function(){return Nu(u,s,h,g)},N()}function Rd(u,s){return t.rebind(u,s,"range","rangeRound","interpolate","clamp")}function Ru(u,s){return Nn(u,Pu(Cs(u,s)[2])),Nn(u,Pu(Cs(u,s)[2])),u}function Cs(u,s){s==null&&(s=10);var h=Yf(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 Os(u,s){return t.range.apply(t,Cs(u,s))}t.scale.log=function(){return Qf(t.scale.linear().domain([0,1]),10,!0,[1,10])};function Qf(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=Nn(g.map(y),h?Math:Id);return u.domain(O),g=O.map(w),N},N.ticks=function(){var O=Yf(g),I=[],z=O[0],B=O[1],H=Math.floor(y(z)),W=Math.ceil(y(B)),ce=s%1?2:s;if(isFinite(W-H)){if(h){for(;H<W;H++)for(var pe=1;pe<ce;pe++)I.push(w(H)*pe);I.push(w(H))}else for(I.push(w(H));H++<W;)for(var pe=ce-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 Qf(u.copy(),s,h,g)},Rd(N,u)}var Id={floor:function(u){return-Math.ceil(-u)},ceil:function(u){return-Math.floor(-u)}};t.scale.pow=function(){return Zf(t.scale.linear(),1,[0,1])};function Zf(u,s,h){var g=Iu(s),y=Iu(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 Os(h,N)},w.tickFormat=function(N,O){return d3_scale_linearTickFormat(h,N,O)},w.nice=function(N){return w.domain(Ru(h,N))},w.exponent=function(N){return arguments.length?(g=Iu(s=N),y=Iu(1/s),u.domain(h.map(g)),w):s},w.copy=function(){return Zf(u.copy(),s,h)},Rd(w,u)}function Iu(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 Fd([],{t:"range",a:[[]]})};function Fd(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],ce=(W-H)/(u.length-I+2*z);return g=N(H+ce*z,ce),B&&g.reverse(),y=ce*(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],ce=Math.floor((W-H)/(u.length-I+2*z));return g=N(H+Math.round((W-H-(u.length-I)*ce)/2),ce),B&&g.reverse(),y=Math.round(ce*(1-I)),s={t:"rangeRoundBands",a:arguments},w},w.rangeBand=function(){return y},w.rangeExtent=function(){return Yf(s.a[0])},w.copy=function(){return Fd(u,s)},w.domain(u)}t.scale.category10=function(){return t.scale.ordinal().range(yv)},t.scale.category20=function(){return t.scale.ordinal().range(bv)},t.scale.category20b=function(){return t.scale.ordinal().range(xv)},t.scale.category20c=function(){return t.scale.ordinal().range(wv)};var yv=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(ho),bv=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(ho),xv=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(ho),wv=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(ho);t.scale.quantile=function(){return Kf([],[])};function Kf(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 Kf(u,s)},g()}t.scale.quantize=function(){return Jf(0,1,[0,1])};function Jf(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 Jf(u,s,h)},N()}t.scale.threshold=function(){return Ld([.5],[0,1])};function Ld(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 Ld(u,s)},h}t.scale.identity=function(){return Dd([0,1])};function Dd(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 Os(u,h)},s.tickFormat=function(h,g){return d3_scale_linearTickFormat(u,h,g)},s.copy=function(){return Dd(u)},s}t.svg={};function _v(){return 0}t.svg.arc=function(){var u=$d,s=Sv,h=_v,g=ks,y=zd,w=ec,N=Bd;function O(){var z=Math.max(0,+u.apply(this,arguments)),B=Math.max(0,+s.apply(this,arguments)),H=y.apply(this,arguments)-na,W=w.apply(this,arguments)-na,ce=Math.abs(W-H),pe=H>W?0:1;if(B<z&&(V=B,B=z,z=V),ce>=Nf)return I(B,pe)+(z?I(z,1-pe):"")+"Z";var V,te,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===ks?Math.sqrt(z*z+B*B):+g.apply(this,arguments),pe||(se*=-1),B&&(se=If(ie/B*Math.sin(ve))),z&&(ge=If(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)<=qi?0:1;if(se&&Ms(qe,tt,gt,rt)===pe^Ir){var pn=(H+W)/2;qe=B*Math.cos(pn),tt=B*Math.sin(pn),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)<=qi?0:1;if(ge&&Ms(_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(ce>Pr&&(V=Math.min(Math.abs(B-z)/2,+h.apply(this,arguments)))>.001){te=z<B^pe?0:1;var gr=V,xr=V;if(ce<qi){var Fr=vr==null?[_t,Rt]:gt==null?[qe,tt]:bs([qe,tt],[vr,Bt],[gt,rt],[_t,Rt]),on=qe-Fr[0],Sn=tt-Fr[1],Dn=gt-Fr[0],vi=rt-Fr[1],Ti=1/Math.sin(Math.acos((on*Dn+Sn*vi)/(Math.sqrt(on*on+Sn*Sn)*Math.sqrt(Dn*Dn+vi*vi)))/2),Jn=Math.sqrt(Fr[0]*Fr[0]+Fr[1]*Fr[1]);xr=Math.min(V,(z-Jn)/(Ti-1)),gr=Math.min(V,(B-Jn)/(Ti+1))}if(gt!=null){var $i=wl(vr==null?[_t,Rt]:[vr,Bt],[qe,tt],B,gr,pe),F=wl([gt,rt],[_t,Rt],B,gr,pe);V===gr?sr.push("M",$i[0],"A",gr,",",gr," 0 0,",te," ",$i[1],"A",B,",",B," 0 ",1-pe^Ms($i[1][0],$i[1][1],F[1][0],F[1][1]),",",pe," ",F[1],"A",gr,",",gr," 0 0,",te," ",F[0]):sr.push("M",$i[0],"A",gr,",",gr," 0 1,",te," ",F[0])}else sr.push("M",qe,",",tt);if(vr!=null){var X=wl([qe,tt],[vr,Bt],z,-xr,pe),re=wl([_t,Rt],gt==null?[qe,tt]:[gt,rt],z,-xr,pe);V===xr?sr.push("L",re[0],"A",xr,",",xr," 0 0,",te," ",re[1],"A",z,",",z," 0 ",pe^Ms(re[1][0],re[1][1],X[1][0],X[1][1]),",",1-pe," ",X[1],"A",xr,",",xr," 0 0,",te," ",X[0]):sr.push("L",re[0],"A",xr,",",xr," 0 0,",te," ",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==ks?ks: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-na;return[Math.cos(B)*z,Math.sin(B)*z]},O};var ks="auto";function $d(u){return u.innerRadius}function Sv(u){return u.outerRadius}function zd(u){return u.startAngle}function ec(u){return u.endAngle}function Bd(u){return u&&u.padAngle}function Ms(u,s,h,g){return(u-h)*s-(s-g)*u>0?0:1}function wl(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,ce=s[1]+z,pe=(B+W)/2,V=(H+ce)/2,te=W-B,ie=ce-H,ve=te*te+ie*ie,ge=h-g,se=B*ce-W*H,qe=(ie<0?-1:1)*Math.sqrt(Math.max(0,ge*ge*ve-se*se)),tt=(se*ie-te*qe)/ve,gt=(-se*te-ie*qe)/ve,rt=(se*ie+te*qe)/ve,_t=(-se*te+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 jd(){return!0}function Ud(u){var s=Sa,h=Ea,g=jd,y=oa,w=y.key,N=.7;function O(I){var z=[],B=[],H=-1,W=I.length,ce,pe=Rr(s),V=Rr(h);function te(){z.push("M",y(u(B),N))}for(;++H<W;)g.call(this,ce=I[H],H)?B.push([+pe.call(this,ce,H),+V.call(this,ce,H)]):B.length&&(te(),B=[]);return B.length&&te(),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=Ps.get(I)||oa).key,O):w},O.tension=function(I){return arguments.length?(N=I,O):N},O}t.svg.line=function(){return Ud(yt)};var Ps=t.map({linear:oa,"linear-closed":Hd,step:Wd,"step-before":Ns,"step-after":Fu,basis:Rs,"basis-open":rc,"basis-closed":_l,bundle:Sl,cardinal:bo,"cardinal-open":Ev,"cardinal-closed":tc,monotone:ay});Ps.forEach(function(u,s){s.key=u,s.closed=/-closed$/.test(u)});function oa(u){return u.length>1?u.join("L"):u+"Z"}function Hd(u){return u.join("L")+"Z"}function Wd(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 Ns(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 Fu(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 Ev(u,s){return u.length<4?oa(u):u[1]+Lu(u.slice(1,-1),Xo(u,s))}function tc(u,s){return u.length<3?Hd(u):u[0]+Lu((u.push(u[0]),u),Xo([u[u.length-2]].concat(u,[u[1]]),s))}function bo(u,s){return u.length<3?oa(u):u[0]+Lu(u,Xo(u,s))}function Lu(u,s){if(s.length<1||u.length!=s.length&&u.length!=s.length+2)return oa(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 Xo(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 Rs(u){if(u.length<3)return oa(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",Kn(Ma,N),",",Kn(Ma,O)];for(u.push(u[h-1]);++s<=h;)g=u[s],N.shift(),N.push(g[0]),O.shift(),O.push(g[1]),Is(I,N,O);return u.pop(),I.push("L",g),I.join("")}function rc(u){if(u.length<4)return oa(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(Kn(Ma,w)+","+Kn(Ma,N)),--h;++h<g;)y=u[h],w.shift(),w.push(y[0]),N.shift(),N.push(y[1]),Is(s,w,N);return s.join("")}function _l(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=[Kn(Ma,N),",",Kn(Ma,O)],--h;++h<y;)w=u[h%g],N.shift(),N.push(w[0]),O.shift(),O.push(w[1]),Is(s,N,O);return s.join("")}function Sl(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 Rs(u)}function Kn(u,s){return u[0]*s[0]+u[1]*s[1]+u[2]*s[2]+u[3]*s[3]}var nc=[0,2/3,1/3,0],ic=[0,1/3,2/3,0],Ma=[0,1/6,2/3,1/6];function Is(u,s,h){u.push("C",Kn(nc,s),",",Kn(nc,h),",",Kn(ic,s),",",Kn(ic,h),",",Kn(Ma,s),",",Kn(Ma,h))}function Fs(u,s){return(s[1]-u[1])/(s[0]-u[0])}function El(u){for(var s=0,h=u.length-1,g=[],y=u[0],w=u[1],N=g[0]=Fs(y,w);++s<h;)g[s]=(N+(N=Fs(y=w,w=u[s+1])))/2;return g[s]=N,g}function Al(u){for(var s=[],h,g,y,w,N=El(u),O=-1,I=u.length-1;++O<I;)h=Fs(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 ay(u){return u.length<3?oa(u):u[0]+Lu(u,Al(u))}t.svg.line.radial=function(){var u=Ud(Av);return u.radius=u.x,delete u.x,u.angle=u.y,delete u.y,u};function Av(u){for(var s,h=-1,g=u.length,y,w;++h<g;)s=u[h],y=s[0],w=s[1]-na,s[0]=y*Math.cos(w),s[1]=y*Math.sin(w);return u}function Gd(u){var s=Sa,h=Sa,g=0,y=Ea,w=jd,N=oa,O=N.key,I=N,z="L",B=.7;function H(W){var ce=[],pe=[],V=[],te=-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(){ce.push("M",N(u(V),B),z,I(u(pe.reverse()),B),"Z")}for(;++te<ie;)w.call(this,ve=W[te],te)?(pe.push([gt=+ge.call(this,ve,te),rt=+se.call(this,ve,te)]),V.push([+qe.call(this,ve,te),+tt.call(this,ve,te)])):pe.length&&(_t(),pe=[],V=[]);return pe.length&&_t(),ce.length?ce.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=Ps.get(W)||oa).key,I=N.reverse||N,z=N.closed?"M":"L",H):O},H.tension=function(W){return arguments.length?(B=W,H):B},H}Ns.reverse=Fu,Fu.reverse=Ns,t.svg.area=function(){return Gd(yt)},t.svg.area.radial=function(){var u=Gd(Av);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 qd(u){return u.source}function Vd(u){return u.target}t.svg.chord=function(){var u=qd,s=Vd,h=oy,g=zd,y=ec;function w(B,H){var W=N(this,u,B,H),ce=N(this,s,B,H);return"M"+W.p0+I(W.r,W.p1,W.a1-W.a0)+(O(W,ce)?z(W.r,W.p1,W.r,W.p0):z(W.r,W.p1,ce.r,ce.p0)+I(ce.r,ce.p1,ce.a1-ce.a0)+z(ce.r,ce.p1,W.r,W.p0))+"Z"}function N(B,H,W,ce){var pe=H.call(B,W,ce),V=h.call(B,pe,ce),te=g.call(B,pe,ce)-na,ie=y.call(B,pe,ce)-na;return{r:V,a0:te,a1:ie,p0:[V*Math.cos(te),V*Math.sin(te)],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>qi)+",1 "+H}function z(B,H,W,ce){return"Q 0,0 "+ce}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 oy(u){return u.radius}t.svg.diagonal=function(){var u=qd,s=Vd,h=Du;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 Du(u){return[u.x,u.y]}t.svg.diagonal.radial=function(){var u=t.svg.diagonal(),s=Du,h=u.projection;return u.projection=function(g){return arguments.length?h(Yd(s=g)):s},u};function Yd(u){return function(){var s=u.apply(this,arguments),h=s[0],g=s[1]-na;return[h*Math.cos(g),h*Math.sin(g)]}}t.svg.symbol=function(){var u=ly,s=uy;function h(g,y){return(Cv.get(u.call(this,g,y))||Tv)(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 uy(){return 64}function ly(){return"circle"}function Tv(u){var s=Math.sqrt(u/qi);return"M0,"+s+"A"+s+","+s+" 0 1,1 0,"+-s+"A"+s+","+s+" 0 1,1 0,"+s+"Z"}var Cv=t.map({circle:Tv,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*Ov)),h=s*Ov;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/ac),h=s*ac/2;return"M0,"+h+"L"+s+","+-h+" "+-s+","+-h+"Z"},"triangle-up":function(u){var s=Math.sqrt(u/ac),h=s*ac/2;return"M0,"+-h+"L"+s+","+h+" "+-s+","+h+"Z"}});t.svg.symbolTypes=Cv.keys();var ac=Math.sqrt(3),Ov=Math.tan(30*Rf);je.transition=function(u){for(var s=xo||++uc,h=Ds(u),g=[],y,w,N=Tl||{time:Date.now(),ease:Go,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])&&Cl(w,B,h,s,N),y.push(w)}return Ls(g,h,s)},je.interrupt=function(u){return this.each(u==null?oc:kv(Ds(u)))};var oc=kv(Ds());function kv(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 Ls(u,s,h){return hr(u,_n),u.namespace=s,u.id=h,u}var _n=[],uc=0,xo,Tl;_n.call=je.call,_n.empty=je.empty,_n.node=je.node,_n.size=je.size,t.transition=function(u,s){return u&&u.transition?xo?u.transition(s):u:t.selection().transition(u)},t.transition.prototype=_n,_n.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__),Cl(w,B,h,s,N[h][s]),y.push(w)):y.push(null)}return Ls(g,h,s)},_n.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,ce=H.length;++W<ce;)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])&&Cl(O,pe,h,s,I),y.push(O)}return Ls(g,h,s)},_n.filter=function(u){var s=[],h,g,y;typeof u!="function"&&(u=hu(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 Ls(s,this.namespace,this.id)},_n.tween=function(u,s){var h=this.id,g=this.namespace;return arguments.length<2?this.node()[g][h].tween.get(u):Gi(this,s==null?function(y){y[g][h].tween.remove(u)}:function(y){y[g][h].tween.set(u,s)})};function lc(u,s,h,g){var y=u.id,w=u.namespace;return Gi(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)}))}_n.attr=function(u,s){if(arguments.length<2){for(s in u)this.attr(s,u[s]);return this}var h=u=="transform"?Ou:Ln,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 lc(this,"attr."+u,s,g.local?O:N)},_n.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)},_n.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=Ln(O,N),function(z){this.style.setProperty(u,I(z),h)})})}return lc(this,"style."+u,s,w)},_n.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)},_n.text=function(u){return lc(this,"text",u,Xd)};function Xd(u){return u==null&&(u=""),function(){this.textContent=u}}_n.remove=function(){var u=this.namespace;return this.each("end.transition",function(){var s;this[u].count<2&&(s=this.parentNode)&&s.removeChild(this)})},_n.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)),Gi(this,function(g){g[h][s].ease=u}))},_n.delay=function(u){var s=this.id,h=this.namespace;return arguments.length<1?this.node()[h][s].delay:Gi(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}))},_n.duration=function(u){var s=this.id,h=this.namespace;return arguments.length<1?this.node()[h][s].duration:Gi(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}))},_n.each=function(u,s){var h=this.id,g=this.namespace;if(arguments.length<2){var y=Tl,w=xo;try{xo=h,Gi(this,function(N,O,I){Tl=N[g][h],u.call(N,N.__data__,O,I)})}finally{Tl=y,xo=w}}else Gi(this,function(N){var O=N[g][h];(O.event||(O.event=t.dispatch("start","end","interrupt"))).on(u,s)});return this},_n.transition=function(){for(var u=this.id,s=++uc,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],Cl(N,B,h,s,{time:O.time,ease:O.ease,delay:O.delay+O.duration,duration:O.duration})),y.push(N)}return Ls(g,h,s)};function Ds(u){return u==null?"__transition__":"__transition_"+u+"__"}function Cl(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 te=N.delay;if(I.t=te+O,te<=V)return ce(V-te);I.c=ce}function ce(V){var te=w.active,ie=w[te];ie&&(ie.timer.c=null,ie.timer.t=NaN,--w.count,delete w[te],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,vo(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 te=V/z,ie=B(te),ve=H.length;ve>0;)H[--ve].call(u,ie);if(te>=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=vo(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=Qd,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(),ce=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(ce,W),te=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=Xf(W),tt=B.selectAll(".domain").data([0]),gt=(tt.enter().append("path").attr("class","domain"),t.transition(tt));te.append("line"),te.append("text");var rt=te.select("line"),_t=ve.select("line"),Rt=V.select("text").text(pe),vr=te.select("text"),Bt=ve.select("text"),sr=s==="top"||s==="left"?-1:1,Ir,pn,Hr,mt;if(s==="bottom"||s==="top"?(se=Kd,Ir="x",Hr="y",pn="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=Jd,Ir="y",Hr="x",pn="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(pn,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);te.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 Zd?z+"":Qd,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 Qd="bottom",Zd={top:1,right:1,bottom:1,left:1};function Kd(u,s,h){u.attr("transform",function(g){var y=s(g);return"translate("+(isFinite(y)?y:h(g))+",0)"})}function Jd(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=$s[0];function B(V){V.each(function(){var te=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=te.selectAll(".background").data([0]);ie.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),te.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var ve=te.selectAll(".resize").data(z,yt);ve.exit().remove(),ve.enter().append("g").attr("class",function(tt){return"resize "+tt}).style("cursor",function(tt){return eh[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(te),se=t.transition(ie),qe;s&&(qe=Xf(s),se.attr("x",qe[0]).attr("width",qe[1]-qe[0]),W(ge)),h&&(qe=Xf(h),se.attr("y",qe[0]).attr("height",qe[1]-qe[0]),ce(ge)),H(ge)})}B.event=function(V){V.each(function(){var te=u.of(this,arguments),ie={x:g,y,i:w,j:N},ve=this.__chart__||ie;this.__chart__=ie,xo?t.select(this).transition().each("start.brush",function(){w=ve.i,N=ve.j,g=ve.x,y=ve.y,te({type:"brushstart"})}).tween("brush:brush",function(){var ge=Qn(g,ie.x),se=Qn(y,ie.y);return w=N=null,function(qe){g=ie.x=ge(qe),y=ie.y=se(qe),te({type:"brush",mode:"resize"})}}).each("end.brush",function(){w=ie.i,N=ie.j,te({type:"brush",mode:"resize"}),te({type:"brushend"})}):(te({type:"brushstart"}),te({type:"brush",mode:"resize"}),te({type:"brushend"}))})};function H(V){V.selectAll(".resize").attr("transform",function(te){return"translate("+g[+/e$/.test(te)]+","+y[+/^s/.test(te)]+")"})}function W(V){V.select(".extent").attr("x",g[0]),V.selectAll(".extent,.n>rect,.s>rect").attr("width",g[1]-g[0])}function ce(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,te=t.select(t.event.target),ie=u.of(V,arguments),ve=t.select(V),ge=te.datum(),se=!/^(n|s)$/.test(ge)&&s,qe=!/^(e|w)$/.test(ge)&&h,tt=te.classed("extent"),gt=mu(V),rt,_t=t.mouse(V),Rt,vr=t.select(o(V)).on("keydown.brush",Ir).on("keyup.brush",pn);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",te.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 pn(){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)&&(ce(ve),Fr=!0),Fr&&(H(ve),ie({type:"brush",mode:tt?"move":"resize"}))}function mt(xr,Fr,on){var Sn=Xf(Fr),Dn=Sn[0],vi=Sn[1],Ti=_t[on],Jn=on?y:g,$i=Jn[1]-Jn[0],F,X;if(tt&&(Dn-=Ti,vi-=$i+Ti),F=(on?I:O)?Math.max(Dn,Math.min(vi,xr[on])):xr[on],tt?X=(F+=Ti)+$i:(rt&&(Ti=Math.max(Dn,Math.min(vi,2*rt[on]-F))),Ti<F?(X=F,F=Ti):X=Ti),Jn[0]!=F||Jn[1]!=X)return on?N=null:w=null,Jn[0]=F,Jn[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=$s[!s<<1|!h],B):s},B.y=function(V){return arguments.length?(h=V,z=$s[!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 te,ie,ve,ge,se;return arguments.length?(s&&(te=V[0],ie=V[1],h&&(te=te[0],ie=ie[0]),w=[te,ie],s.invert&&(te=s(te),ie=s(ie)),ie<te&&(se=te,te=ie,ie=se),(te!=g[0]||ie!=g[1])&&(g=[te,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?(te=w[0],ie=w[1]):(te=g[0],ie=g[1],s.invert&&(te=s.invert(te),ie=s.invert(ie)),ie<te&&(se=te,te=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?[[te,ve],[ie,ge]]:s?[te,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 eh={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},$s=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]];t.text=wa(function(u){return u.responseText}),t.json=function(u,s){return $o(u,"application/json",th,s)};function th(u){return JSON.parse(u.responseText)}t.html=function(u,s){return $o(u,"text/html",rh,s)};function rh(u){var s=i.createRange();return s.selectNode(i.body),s.createContextualFragment(u.responseText)}t.xml=wa(function(u){return u.responseXML}),e.exports?e.exports=t:this.d3=t}).apply(self)})(j$);var o1=new Date,u1=new Date;function oi(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 oi(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 o1.setTime(+a),u1.setTime(+o),e(o1),e(u1),Math.floor(r(o1,u1))},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 E0=oi(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});E0.every=function(e){return e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?oi(function(t){t.setTime(Math.floor(t/e)*e)},function(t,r){t.setTime(+t+r*e)},function(t,r){return(r-t)/e}):E0};const YA=E0;var XA=E0.range,A0=1e3,uf=6e4,T0=36e5,fP=864e5,cP=6048e5,dP=oi(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+t*A0)},function(e,t){return(t-e)/A0},function(e){return e.getUTCSeconds()});const QA=dP;var ZA=dP.range,hP=oi(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*A0)},function(e,t){e.setTime(+e+t*uf)},function(e,t){return(t-e)/uf},function(e){return e.getMinutes()});const U$=hP;var H$=hP.range,pP=oi(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*A0-e.getMinutes()*uf)},function(e,t){e.setTime(+e+t*T0)},function(e,t){return(t-e)/T0},function(e){return e.getHours()});const W$=pP;var G$=pP.range,vP=oi(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())*uf)/fP},function(e){return e.getDate()-1});const m2=vP;var q$=vP.range;function Sf(e){return oi(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())*uf)/cP})}var C0=Sf(0),Ap=Sf(1),gP=Sf(2),mP=Sf(3),lf=Sf(4),yP=Sf(5),bP=Sf(6),KA=C0.range,V$=Ap.range,Y$=gP.range,X$=mP.range,Q$=lf.range,Z$=yP.range,K$=bP.range,xP=oi(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 J$=xP;var ez=xP.range,y2=oi(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()});y2.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:oi(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 rd=y2;var tz=y2.range,wP=oi(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*uf)},function(e,t){return(t-e)/uf},function(e){return e.getUTCMinutes()});const rz=wP;var nz=wP.range,_P=oi(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*T0)},function(e,t){return(t-e)/T0},function(e){return e.getUTCHours()});const iz=_P;var az=_P.range,SP=oi(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/fP},function(e){return e.getUTCDate()-1});const b2=SP;var oz=SP.range;function Ef(e){return oi(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)/cP})}var O0=Ef(0),Tp=Ef(1),EP=Ef(2),AP=Ef(3),sf=Ef(4),TP=Ef(5),CP=Ef(6),JA=O0.range,uz=Tp.range,lz=EP.range,sz=AP.range,fz=sf.range,cz=TP.range,dz=CP.range,OP=oi(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 hz=OP;var pz=OP.range,x2=oi(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()});x2.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:oi(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 nd=x2;var vz=x2.range;const gz=Object.freeze(Object.defineProperty({__proto__:null,timeInterval:oi,timeMillisecond:YA,timeMilliseconds:XA,utcMillisecond:YA,utcMilliseconds:XA,timeSecond:QA,timeSeconds:ZA,utcSecond:QA,utcSeconds:ZA,timeMinute:U$,timeMinutes:H$,timeHour:W$,timeHours:G$,timeDay:m2,timeDays:q$,timeWeek:C0,timeWeeks:KA,timeSunday:C0,timeSundays:KA,timeMonday:Ap,timeMondays:V$,timeTuesday:gP,timeTuesdays:Y$,timeWednesday:mP,timeWednesdays:X$,timeThursday:lf,timeThursdays:Q$,timeFriday:yP,timeFridays:Z$,timeSaturday:bP,timeSaturdays:K$,timeMonth:J$,timeMonths:ez,timeYear:rd,timeYears:tz,utcMinute:rz,utcMinutes:nz,utcHour:iz,utcHours:az,utcDay:b2,utcDays:oz,utcWeek:O0,utcWeeks:JA,utcSunday:O0,utcSundays:JA,utcMonday:Tp,utcMondays:uz,utcTuesday:EP,utcTuesdays:lz,utcWednesday:AP,utcWednesdays:sz,utcThursday:sf,utcThursdays:fz,utcFriday:TP,utcFridays:cz,utcSaturday:CP,utcSaturdays:dz,utcMonth:hz,utcMonths:pz,utcYear:nd,utcYears:vz},Symbol.toStringTag,{value:"Module"}));function l1(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 s1(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 mh(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function kP(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=yh(i),p=bh(i),_=yh(a),x=bh(a),b=yh(o),C=bh(o),R=yh(l),E=bh(l),S=yh(f),T=bh(f),P={a:Ze,A:it,b:Ut,B:bt,c:null,d:aT,e:aT,f:zz,g:Xz,G:Zz,H:Lz,I:Dz,j:$z,L:MP,m:Bz,M:jz,p:Le,q:ut,Q:lT,s:sT,S:Uz,u:Hz,U:Wz,V:Gz,w:qz,W:Vz,x:null,X:null,y:Yz,Y:Qz,Z:Kz,"%":uT},M={a:At,A:st,b:Ct,B:Lt,c:null,d:oT,e:oT,f:rB,g:dB,G:pB,H:Jz,I:eB,j:tB,L:NP,m:nB,M:iB,p:hr,q:mr,Q:lT,s:sT,S:aB,u:oB,U:uB,V:lB,w:sB,W:fB,x:null,X:null,y:cB,Y:hB,Z:vB,"%":uT},L={a:Ie,A:Te,b:De,B:Ye,c:Xe,d:nT,e:nT,f:Nz,g:rT,G:tT,H:iT,I:iT,j:Oz,L:Pz,m:Cz,M:kz,p:ue,q:Tz,Q:Iz,s:Fz,S:Mz,u:wz,U:_z,V:Sz,w:xz,W:Ez,x:Et,X:yt,y:rT,Y:tT,Z:Az,"%":Rz};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,ee=at.length,Ee,wt,Dt;for(fr instanceof Date||(fr=new Date(+fr));++Y<ee;)at.charCodeAt(Y)===37&&(je.push(at.slice(he,Y)),(wt=eT[Ee=at.charAt(++Y)])!=null?Ee=at.charAt(++Y):wt=Ee==="e"?" ":"0",(Dt=Gt[Ee])&&(Ee=Dt(fr,wt)),je.push(Ee),he=Y+1);return je.push(at.slice(he,Y)),je.join("")}}function J(at,Gt){return function(fr){var je=mh(1900,void 0,1),Y=q(je,at,fr+="",0),he,ee;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=s1(mh(je.y,0,1)),ee=he.getUTCDay(),he=ee>4||ee===0?Tp.ceil(he):Tp(he),he=b2.offset(he,(je.V-1)*7),je.y=he.getUTCFullYear(),je.m=he.getUTCMonth(),je.d=he.getUTCDate()+(je.w+6)%7):(he=l1(mh(je.y,0,1)),ee=he.getDay(),he=ee>4||ee===0?Ap.ceil(he):Ap(he),he=m2.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),ee="Z"in je?s1(mh(je.y,0,1)).getUTCDay():l1(mh(je.y,0,1)).getDay(),je.m=0,je.d="W"in je?(je.w+6)%7+je.W*7-(ee+5)%7:je.w+je.U*7-(ee+6)%7);return"Z"in je?(je.H+=je.Z/100|0,je.M+=je.Z%100,s1(je)):l1(je)}}function q(at,Gt,fr,je){for(var Y=0,he=Gt.length,ee=fr.length,Ee,wt;Y<he;){if(je>=ee)return-1;if(Ee=Gt.charCodeAt(Y++),Ee===37){if(Ee=Gt.charAt(Y++),wt=L[Ee in eT?Gt.charAt(Y++):Ee],!wt||(je=wt(at,fr,je))<0)return-1}else if(Ee!=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 Te(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=J(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=J(at+="",!0);return Gt.toString=function(){return at},Gt}}}var eT={"-":"",_:" ",0:"0"},wi=/^\s*\d+/,mz=/^%/,yz=/[\\^$*+?|[\]().{}]/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 bz(e){return e.replace(yz,"\\$&")}function yh(e){return new RegExp("^(?:"+e.map(bz).join("|")+")","i")}function bh(e){for(var t={},r=-1,n=e.length;++r<n;)t[e[r].toLowerCase()]=r;return t}function xz(e,t,r){var n=wi.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function wz(e,t,r){var n=wi.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function _z(e,t,r){var n=wi.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function Sz(e,t,r){var n=wi.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function Ez(e,t,r){var n=wi.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function tT(e,t,r){var n=wi.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function rT(e,t,r){var n=wi.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function Az(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 Tz(e,t,r){var n=wi.exec(t.slice(r,r+1));return n?(e.q=n[0]*3-3,r+n[0].length):-1}function Cz(e,t,r){var n=wi.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function nT(e,t,r){var n=wi.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function Oz(e,t,r){var n=wi.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function iT(e,t,r){var n=wi.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function kz(e,t,r){var n=wi.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function Mz(e,t,r){var n=wi.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function Pz(e,t,r){var n=wi.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function Nz(e,t,r){var n=wi.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function Rz(e,t,r){var n=mz.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function Iz(e,t,r){var n=wi.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function Fz(e,t,r){var n=wi.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function aT(e,t){return Qr(e.getDate(),t,2)}function Lz(e,t){return Qr(e.getHours(),t,2)}function Dz(e,t){return Qr(e.getHours()%12||12,t,2)}function $z(e,t){return Qr(1+m2.count(rd(e),e),t,3)}function MP(e,t){return Qr(e.getMilliseconds(),t,3)}function zz(e,t){return MP(e,t)+"000"}function Bz(e,t){return Qr(e.getMonth()+1,t,2)}function jz(e,t){return Qr(e.getMinutes(),t,2)}function Uz(e,t){return Qr(e.getSeconds(),t,2)}function Hz(e){var t=e.getDay();return t===0?7:t}function Wz(e,t){return Qr(C0.count(rd(e)-1,e),t,2)}function PP(e){var t=e.getDay();return t>=4||t===0?lf(e):lf.ceil(e)}function Gz(e,t){return e=PP(e),Qr(lf.count(rd(e),e)+(rd(e).getDay()===4),t,2)}function qz(e){return e.getDay()}function Vz(e,t){return Qr(Ap.count(rd(e)-1,e),t,2)}function Yz(e,t){return Qr(e.getFullYear()%100,t,2)}function Xz(e,t){return e=PP(e),Qr(e.getFullYear()%100,t,2)}function Qz(e,t){return Qr(e.getFullYear()%1e4,t,4)}function Zz(e,t){var r=e.getDay();return e=r>=4||r===0?lf(e):lf.ceil(e),Qr(e.getFullYear()%1e4,t,4)}function Kz(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Qr(t/60|0,"0",2)+Qr(t%60,"0",2)}function oT(e,t){return Qr(e.getUTCDate(),t,2)}function Jz(e,t){return Qr(e.getUTCHours(),t,2)}function eB(e,t){return Qr(e.getUTCHours()%12||12,t,2)}function tB(e,t){return Qr(1+b2.count(nd(e),e),t,3)}function NP(e,t){return Qr(e.getUTCMilliseconds(),t,3)}function rB(e,t){return NP(e,t)+"000"}function nB(e,t){return Qr(e.getUTCMonth()+1,t,2)}function iB(e,t){return Qr(e.getUTCMinutes(),t,2)}function aB(e,t){return Qr(e.getUTCSeconds(),t,2)}function oB(e){var t=e.getUTCDay();return t===0?7:t}function uB(e,t){return Qr(O0.count(nd(e)-1,e),t,2)}function RP(e){var t=e.getUTCDay();return t>=4||t===0?sf(e):sf.ceil(e)}function lB(e,t){return e=RP(e),Qr(sf.count(nd(e),e)+(nd(e).getUTCDay()===4),t,2)}function sB(e){return e.getUTCDay()}function fB(e,t){return Qr(Tp.count(nd(e)-1,e),t,2)}function cB(e,t){return Qr(e.getUTCFullYear()%100,t,2)}function dB(e,t){return e=RP(e),Qr(e.getUTCFullYear()%100,t,2)}function hB(e,t){return Qr(e.getUTCFullYear()%1e4,t,4)}function pB(e,t){var r=e.getUTCDay();return e=r>=4||r===0?sf(e):sf.ceil(e),Qr(e.getUTCFullYear()%1e4,t,4)}function vB(){return"+0000"}function uT(){return"%"}function lT(e){return+e}function sT(e){return Math.floor(+e/1e3)}var dc,IP,FP,w2,_2;LP({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 LP(e){return dc=kP(e),IP=dc.format,FP=dc.parse,w2=dc.utcFormat,_2=dc.utcParse,dc}var DP="%Y-%m-%dT%H:%M:%S.%LZ";function gB(e){return e.toISOString()}var mB=Date.prototype.toISOString?gB:w2(DP);const yB=mB;function bB(e){var t=new Date(e);return isNaN(t)?null:t}var xB=+new Date("2000-01-01T00:00:00.000Z")?bB:_2(DP);const wB=xB,_B=Object.freeze(Object.defineProperty({__proto__:null,timeFormatDefaultLocale:LP,get timeFormat(){return IP},get timeParse(){return FP},get utcFormat(){return w2},get utcParse(){return _2},timeFormatLocale:kP,isoFormat:yB,isoParse:wB},Symbol.toStringTag,{value:"Module"})),Kee=vf(_B);function SB(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function k0(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 id(e){return e=k0(Math.abs(e)),e?e[1]:NaN}function EB(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 AB(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var TB=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function M0(e){if(!(t=TB.exec(e)))throw new Error("invalid format: "+e);var t;return new fm({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]})}M0.prototype=fm.prototype;function fm(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+""}fm.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 CB(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 $P;function OB(e,t){var r=k0(e,t);if(!r)return e+"";var n=r[0],i=r[1],a=i-($P=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")+k0(e,Math.max(0,t+a-1))[0]}function fT(e,t){var r=k0(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 cT={"%":function(e,t){return(e*100).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:SB,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 fT(e*100,t)},r:fT,s:OB,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function dT(e){return e}var hT=Array.prototype.map,pT=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function zP(e){var t=e.grouping===void 0||e.thousands===void 0?dT:EB(hT.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?dT:AB(hT.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(_){_=M0(_);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"):cT[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():"",J=R==="$"?n:/[%p]/.test(L)?o:"",q=cT[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(Te){var De=v,Ye=J,Xe,Et,yt;if(L==="c")Ye=q(Te)+Ye,Te="";else{Te=+Te;var Ze=Te<0||1/Te<0;if(Te=isNaN(Te)?f:q(Math.abs(Te),P),M&&(Te=CB(Te)),Ze&&+Te==0&&C!=="+"&&(Ze=!1),De=(Ze?C==="("?C:l:C==="-"||C==="("?"":C)+De,Ye=(L==="s"?pT[8+$P/3]:"")+Ye+(Ze&&C==="("?")":""),ue){for(Xe=-1,Et=Te.length;++Xe<Et;)if(yt=Te.charCodeAt(Xe),48>yt||yt>57){Ye=(yt===46?i+Te.slice(Xe+1):Te.slice(Xe))+Ye,Te=Te.slice(0,Xe);break}}}T&&!E&&(Te=t(Te,1/0));var it=De.length+Te.length+Ye.length,Ut=it<S?new Array(S-it+1).join(x):"";switch(T&&E&&(Te=t(Ut+Te,Ut.length?S-Ye.length:1/0),Ut=""),b){case"<":Te=De+Te+Ye+Ut;break;case"=":Te=De+Ut+Te+Ye;break;case"^":Te=Ut.slice(0,it=Ut.length>>1)+De+Te+Ye+Ut.slice(it);break;default:Te=Ut+De+Te+Ye;break}return a(Te)}return Ie.toString=function(){return _+""},Ie}function p(_,x){var b=c((_=M0(_),_.type="f",_)),C=Math.max(-8,Math.min(8,Math.floor(id(x)/3)))*3,R=Math.pow(10,-C),E=pT[8+C/3];return function(S){return b(R*S)+E}}return{format:c,formatPrefix:p}}var Gv,BP,jP;UP({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function UP(e){return Gv=zP(e),BP=Gv.format,jP=Gv.formatPrefix,Gv}function kB(e){return Math.max(0,-id(Math.abs(e)))}function MB(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(id(t)/3)))*3-id(Math.abs(e)))}function PB(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,id(t)-id(e))+1}const NB=Object.freeze(Object.defineProperty({__proto__:null,formatDefaultLocale:UP,get format(){return BP},get formatPrefix(){return jP},formatLocale:zP,formatSpecifier:M0,FormatSpecifier:fm,precisionFixed:kB,precisionPrefix:MB,precisionRound:PB},Symbol.toStringTag,{value:"Module"})),Jee=vf(NB);var RB=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},IB=RB,ete=function(e){var t=typeof e;if(t==="string"){var r=e;if(e=+e,e===0&&IB(r))return!1}else if(t!=="number")return!1;return e-e<1},FB={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 ee=p(Y);this._originalInput=Y,this._r=ee.r,this._g=ee.g,this._b=ee.b,this._a=ee.a,this._roundA=a(100*this._a)/100,this._format=he.format||ee.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=ee.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,ee,Ee,wt,Dt,kr;return he=Y.r/255,ee=Y.g/255,Ee=Y.b/255,he<=.03928?wt=he/12.92:wt=t.pow((he+.055)/1.055,2.4),ee<=.03928?Dt=ee/12.92:Dt=t.pow((ee+.055)/1.055,2.4),Ee<=.03928?kr=Ee/12.92:kr=t.pow((Ee+.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),ee=a(Y.s*100),Ee=a(Y.v*100);return this._a==1?"hsv("+he+", "+ee+"%, "+Ee+"%)":"hsva("+he+", "+ee+"%, "+Ee+"%, "+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),ee=a(Y.s*100),Ee=a(Y.l*100);return this._a==1?"hsl("+he+", "+ee+"%, "+Ee+"%)":"hsla("+he+", "+ee+"%, "+Ee+"%, "+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),ee=he,Ee=this._gradientType?"GradientType = 1, ":"";if(Y){var wt=c(Y);ee="#"+T(wt._r,wt._g,wt._b,wt._a)}return"progid:DXImageTransform.Microsoft.gradient("+Ee+"startColorstr="+he+",endColorstr="+ee+")"},toString:function(Y){var he=!!Y;Y=Y||this._format;var ee=!1,Ee=this._a<1&&this._a>=0,wt=!he&&Ee&&(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"&&(ee=this.toRgbString()),Y==="prgb"&&(ee=this.toPercentageRgbString()),(Y==="hex"||Y==="hex6")&&(ee=this.toHexString()),Y==="hex3"&&(ee=this.toHexString(!0)),Y==="hex4"&&(ee=this.toHex8String(!0)),Y==="hex8"&&(ee=this.toHex8String()),Y==="name"&&(ee=this.toName()),Y==="hsl"&&(ee=this.toHslString()),Y==="hsv"&&(ee=this.toHsvString()),ee||this.toHexString())},clone:function(){return c(this.toString())},_applyModification:function(Y,he){var ee=Y.apply(null,[this].concat([].slice.call(he)));return this._r=ee._r,this._g=ee._g,this._b=ee._b,this.setAlpha(ee._a),this},lighten:function(){return this._applyModification(v,arguments)},brighten:function(){return this._applyModification(J,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(Te,arguments)},tetrad:function(){return this._applyCombination(De,arguments)}},c.fromRatio=function(Y,he){if(typeof Y=="object"){var ee={};for(var Ee in Y)Y.hasOwnProperty(Ee)&&(Ee==="a"?ee[Ee]=Y[Ee]:ee[Ee]=Lt(Y[Ee]));Y=ee}return c(Y,he)};function p(Y){var he={r:0,g:0,b:0},ee=1,Ee=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)?(Ee=Lt(Y.s),wt=Lt(Y.v),he=R(Y.h,Ee,wt),kr=!0,qr="hsv"):Gt(Y.h)&&Gt(Y.s)&&Gt(Y.l)&&(Ee=Lt(Y.s),Dt=Lt(Y.l),he=b(Y.h,Ee,Dt),kr=!0,qr="hsl"),Y.hasOwnProperty("a")&&(ee=Y.a)),ee=Ut(ee),{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:ee}}function _(Y,he,ee){return{r:bt(Y,255)*255,g:bt(he,255)*255,b:bt(ee,255)*255}}function x(Y,he,ee){Y=bt(Y,255),he=bt(he,255),ee=bt(ee,255);var Ee=l(Y,he,ee),wt=o(Y,he,ee),Dt,kr,qr=(Ee+wt)/2;if(Ee==wt)Dt=kr=0;else{var Jr=Ee-wt;switch(kr=qr>.5?Jr/(2-Ee-wt):Jr/(Ee+wt),Ee){case Y:Dt=(he-ee)/Jr+(he<ee?6:0);break;case he:Dt=(ee-Y)/Jr+2;break;case ee:Dt=(Y-he)/Jr+4;break}Dt/=6}return{h:Dt,s:kr,l:qr}}function b(Y,he,ee){var Ee,wt,Dt;Y=bt(Y,360),he=bt(he,100),ee=bt(ee,100);function kr(Gn,Fi,dn){return dn<0&&(dn+=1),dn>1&&(dn-=1),dn<1/6?Gn+(Fi-Gn)*6*dn:dn<1/2?Fi:dn<2/3?Gn+(Fi-Gn)*(2/3-dn)*6:Gn}if(he===0)Ee=wt=Dt=ee;else{var qr=ee<.5?ee*(1+he):ee+he-ee*he,Jr=2*ee-qr;Ee=kr(Jr,qr,Y+1/3),wt=kr(Jr,qr,Y),Dt=kr(Jr,qr,Y-1/3)}return{r:Ee*255,g:wt*255,b:Dt*255}}function C(Y,he,ee){Y=bt(Y,255),he=bt(he,255),ee=bt(ee,255);var Ee=l(Y,he,ee),wt=o(Y,he,ee),Dt,kr,qr=Ee,Jr=Ee-wt;if(kr=Ee===0?0:Jr/Ee,Ee==wt)Dt=0;else{switch(Ee){case Y:Dt=(he-ee)/Jr+(he<ee?6:0);break;case he:Dt=(ee-Y)/Jr+2;break;case ee:Dt=(Y-he)/Jr+4;break}Dt/=6}return{h:Dt,s:kr,v:qr}}function R(Y,he,ee){Y=bt(Y,360)*6,he=bt(he,100),ee=bt(ee,100);var Ee=t.floor(Y),wt=Y-Ee,Dt=ee*(1-he),kr=ee*(1-wt*he),qr=ee*(1-(1-wt)*he),Jr=Ee%6,Gn=[ee,kr,Dt,Dt,qr,ee][Jr],Fi=[qr,ee,ee,kr,Dt,Dt][Jr],dn=[Dt,Dt,qr,ee,ee,kr][Jr];return{r:Gn*255,g:Fi*255,b:dn*255}}function E(Y,he,ee,Ee){var wt=[Ct(a(Y).toString(16)),Ct(a(he).toString(16)),Ct(a(ee).toString(16))];return Ee&&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,ee,Ee,wt){var Dt=[Ct(a(Y).toString(16)),Ct(a(he).toString(16)),Ct(a(ee).toString(16)),Ct(hr(Ee))];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,ee,Ee){var wt=[Ct(hr(Ee)),Ct(a(Y).toString(16)),Ct(a(he).toString(16)),Ct(a(ee).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 ee=c(Y).toHsl();return ee.s-=he/100,ee.s=Le(ee.s),c(ee)}function M(Y,he){he=he===0?0:he||10;var ee=c(Y).toHsl();return ee.s+=he/100,ee.s=Le(ee.s),c(ee)}function L(Y){return c(Y).desaturate(100)}function v(Y,he){he=he===0?0:he||10;var ee=c(Y).toHsl();return ee.l+=he/100,ee.l=Le(ee.l),c(ee)}function J(Y,he){he=he===0?0:he||10;var ee=c(Y).toRgb();return ee.r=l(0,o(255,ee.r-a(255*-(he/100)))),ee.g=l(0,o(255,ee.g-a(255*-(he/100)))),ee.b=l(0,o(255,ee.b-a(255*-(he/100)))),c(ee)}function q(Y,he){he=he===0?0:he||10;var ee=c(Y).toHsl();return ee.l-=he/100,ee.l=Le(ee.l),c(ee)}function ue(Y,he){var ee=c(Y).toHsl(),Ee=(ee.h+he)%360;return ee.h=Ee<0?360+Ee:Ee,c(ee)}function Ie(Y){var he=c(Y).toHsl();return he.h=(he.h+180)%360,c(he)}function Te(Y){var he=c(Y).toHsl(),ee=he.h;return[c(Y),c({h:(ee+120)%360,s:he.s,l:he.l}),c({h:(ee+240)%360,s:he.s,l:he.l})]}function De(Y){var he=c(Y).toHsl(),ee=he.h;return[c(Y),c({h:(ee+90)%360,s:he.s,l:he.l}),c({h:(ee+180)%360,s:he.s,l:he.l}),c({h:(ee+270)%360,s:he.s,l:he.l})]}function Ye(Y){var he=c(Y).toHsl(),ee=he.h;return[c(Y),c({h:(ee+72)%360,s:he.s,l:he.l}),c({h:(ee+216)%360,s:he.s,l:he.l})]}function Xe(Y,he,ee){he=he||6,ee=ee||30;var Ee=c(Y).toHsl(),wt=360/ee,Dt=[c(Y)];for(Ee.h=(Ee.h-(wt*he>>1)+720)%360;--he;)Ee.h=(Ee.h+wt)%360,Dt.push(c(Ee));return Dt}function Et(Y,he){he=he||6;for(var ee=c(Y).toHsv(),Ee=ee.h,wt=ee.s,Dt=ee.v,kr=[],qr=1/he;he--;)kr.push(c({h:Ee,s:wt,v:Dt})),Dt=(Dt+qr)%1;return kr}c.mix=function(Y,he,ee){ee=ee===0?0:ee||50;var Ee=c(Y).toRgb(),wt=c(he).toRgb(),Dt=ee/100,kr={r:(wt.r-Ee.r)*Dt+Ee.r,g:(wt.g-Ee.g)*Dt+Ee.g,b:(wt.b-Ee.b)*Dt+Ee.b,a:(wt.a-Ee.a)*Dt+Ee.a};return c(kr)},c.readability=function(Y,he){var ee=c(Y),Ee=c(he);return(t.max(ee.getLuminance(),Ee.getLuminance())+.05)/(t.min(ee.getLuminance(),Ee.getLuminance())+.05)},c.isReadable=function(Y,he,ee){var Ee=c.readability(Y,he),wt,Dt;switch(Dt=!1,wt=je(ee),wt.level+wt.size){case"AAsmall":case"AAAlarge":Dt=Ee>=4.5;break;case"AAlarge":Dt=Ee>=3;break;case"AAAsmall":Dt=Ee>=7;break}return Dt},c.mostReadable=function(Y,he,ee){var Ee=null,wt=0,Dt,kr,qr,Jr;ee=ee||{},kr=ee.includeFallbackColors,qr=ee.level,Jr=ee.size;for(var Gn=0;Gn<he.length;Gn++)Dt=c.readability(Y,he[Gn]),Dt>wt&&(wt=Dt,Ee=c(he[Gn]));return c.isReadable(Y,Ee,{level:qr,size:Jr})||!kr?Ee:(ee.includeFallbackColors=!1,c.mostReadable(Y,["#fff","#000"],ee))};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 ee in Y)Y.hasOwnProperty(ee)&&(he[Y[ee]]=ee);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 ee=st(Y);return Y=o(he,l(0,parseFloat(Y))),ee&&(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+%?",ee="(?:"+he+")|(?:"+Y+")",Ee="[\\s|\\(]+("+ee+")[,|\\s]+("+ee+")[,|\\s]+("+ee+")\\s*\\)?",wt="[\\s|\\(]+("+ee+")[,|\\s]+("+ee+")[,|\\s]+("+ee+")[,|\\s]+("+ee+")\\s*\\)?";return{CSS_UNIT:new RegExp(ee),rgb:new RegExp("rgb"+Ee),rgba:new RegExp("rgba"+wt),hsl:new RegExp("hsl"+Ee),hsla:new RegExp("hsla"+wt),hsv:new RegExp("hsv"+Ee),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 ee;return(ee=at.rgb.exec(Y))?{r:ee[1],g:ee[2],b:ee[3]}:(ee=at.rgba.exec(Y))?{r:ee[1],g:ee[2],b:ee[3],a:ee[4]}:(ee=at.hsl.exec(Y))?{h:ee[1],s:ee[2],l:ee[3]}:(ee=at.hsla.exec(Y))?{h:ee[1],s:ee[2],l:ee[3],a:ee[4]}:(ee=at.hsv.exec(Y))?{h:ee[1],s:ee[2],v:ee[3]}:(ee=at.hsva.exec(Y))?{h:ee[1],s:ee[2],v:ee[3],a:ee[4]}:(ee=at.hex8.exec(Y))?{r:ut(ee[1]),g:ut(ee[2]),b:ut(ee[3]),a:mr(ee[4]),format:he?"name":"hex8"}:(ee=at.hex6.exec(Y))?{r:ut(ee[1]),g:ut(ee[2]),b:ut(ee[3]),format:he?"name":"hex"}:(ee=at.hex4.exec(Y))?{r:ut(ee[1]+""+ee[1]),g:ut(ee[2]+""+ee[2]),b:ut(ee[3]+""+ee[3]),a:mr(ee[4]+""+ee[4]),format:he?"name":"hex8"}:(ee=at.hex3.exec(Y))?{r:ut(ee[1]+""+ee[1]),g:ut(ee[2]+""+ee[2]),b:ut(ee[3]+""+ee[3]),format:he?"name":"hex"}:!1}function je(Y){var he,ee;return Y=Y||{level:"AA",size:"small"},he=(Y.level||"AA").toUpperCase(),ee=(Y.size||"small").toLowerCase(),he!=="AA"&&he!=="AAA"&&(he="AA"),ee!=="small"&&ee!=="large"&&(ee="small"),{level:he,size:ee}}e.exports?e.exports=c:window.tinycolor=c})(Math)})(FB);var LB=DB;function DB(){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 $B=zB;function zB(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 BB=jB;function jB(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 HP=UB;function UB(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 HB=WB;function WB(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 GB=qB;function qB(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,J=i*c-a*f,q=p*R-_*C,ue=p*E-x*C,Ie=p*S-b*C,Te=_*E-x*R,De=_*S-b*R,Ye=x*S-b*E,Xe=T*Ye-P*De+M*Te+L*Ie-v*ue+J*q;return Xe?(Xe=1/Xe,e[0]=(l*Ye-f*De+c*Te)*Xe,e[1]=(i*De-n*Ye-a*Te)*Xe,e[2]=(R*J-E*v+S*L)*Xe,e[3]=(x*v-_*J-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*J-S*P)*Xe,e[7]=(p*J-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*Te-f*q)*Xe,e[13]=(r*Te-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 VB=YB;function YB(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 XB=QB;function QB(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,J=c*C-p*b,q=c*R-_*b,ue=c*E-x*b,Ie=p*R-_*C,Te=p*E-x*C,De=_*E-x*R;return S*De-T*Te+P*Ie+M*ue-L*q+v*J}var ZB=KB;function KB(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 JB=e9;function e9(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 t9=r9;function r9(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 n9=i9;function i9(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,J,q,ue,Ie,Te,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],J=i*i*p+c,q=a*i*p+o*f,ue=o*i*p-a*f,Ie=i*a*p-o*f,Te=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]=_*J+R*q+P*ue,e[1]=x*J+E*q+M*ue,e[2]=b*J+S*q+L*ue,e[3]=C*J+T*q+v*ue,e[4]=_*Ie+R*Te+P*De,e[5]=x*Ie+E*Te+M*De,e[6]=b*Ie+S*Te+L*De,e[7]=C*Ie+T*Te+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 a9=o9;function o9(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 u9=l9;function l9(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 s9=f9;function f9(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 c9=d9;function d9(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 h9=p9;function p9(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 v9=g9;function g9(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 m9=y9;function y9(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 b9=x9;function x9(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 w9=_9;function _9(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 S9=E9;function E9(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 A9=T9;function T9(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 C9=O9;function O9(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 k9=M9;function M9(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 P9=N9;function N9(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 R9=I9;function I9(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 F9=HP,L9=D9;function D9(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?F9(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 $9=z9;function z9(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 tte={create:LB,clone:$B,copy:BB,identity:HP,transpose:HB,invert:GB,adjoint:VB,determinant:XB,multiply:ZB,translate:JB,scale:t9,rotate:n9,rotateX:a9,rotateY:u9,rotateZ:s9,fromRotation:c9,fromRotationTranslation:h9,fromScaling:v9,fromTranslation:m9,fromXRotation:b9,fromYRotation:w9,fromZRotation:S9,fromQuat:A9,frustum:C9,perspective:k9,perspectiveFromFieldOfView:P9,ortho:R9,lookAt:L9,str:$9},S2={exports:{}};S2.exports=E2;S2.exports.isMobile=E2;S2.exports.default=E2;var B9=/(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,j9=/(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 E2(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?j9.test(t):B9.test(t);return!r&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&t.indexOf("Macintosh")!==-1&&t.indexOf("Safari")!==-1&&(r=!0),r}var U9=!0,H9=U9,pw;typeof window.matchMedia=="function"?pw=!window.matchMedia("(hover: none)").matches:pw=H9;var rte=pw,WP={exports:{}},qc=typeof Reflect=="object"?Reflect:null,vT=qc&&typeof qc.apply=="function"?qc.apply:function(t,r,n){return Function.prototype.apply.call(t,r,n)},Ng;qc&&typeof qc.ownKeys=="function"?Ng=qc.ownKeys:Object.getOwnPropertySymbols?Ng=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Ng=function(t){return Object.getOwnPropertyNames(t)};function W9(e){console&&console.warn&&console.warn(e)}var GP=Number.isNaN||function(t){return t!==t};function ln(){ln.init.call(this)}WP.exports=ln;WP.exports.once=Y9;ln.EventEmitter=ln;ln.prototype._events=void 0;ln.prototype._eventsCount=0;ln.prototype._maxListeners=void 0;var gT=10;function cm(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(ln,"defaultMaxListeners",{enumerable:!0,get:function(){return gT},set:function(e){if(typeof e!="number"||e<0||GP(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");gT=e}});ln.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};ln.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||GP(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 qP(e){return e._maxListeners===void 0?ln.defaultMaxListeners:e._maxListeners}ln.prototype.getMaxListeners=function(){return qP(this)};ln.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")vT(f,this,r);else for(var c=f.length,p=ZP(f,c),n=0;n<c;++n)vT(p[n],this,r);return!0};function VP(e,t,r,n){var i,a,o;if(cm(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=qP(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,W9(l)}return e}ln.prototype.addListener=function(t,r){return VP(this,t,r,!1)};ln.prototype.on=ln.prototype.addListener;ln.prototype.prependListener=function(t,r){return VP(this,t,r,!0)};function G9(){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 YP(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=G9.bind(n);return i.listener=r,n.wrapFn=i,i}ln.prototype.once=function(t,r){return cm(r),this.on(t,YP(this,t,r)),this};ln.prototype.prependOnceListener=function(t,r){return cm(r),this.prependListener(t,YP(this,t,r)),this};ln.prototype.removeListener=function(t,r){var n,i,a,o,l;if(cm(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():q9(n,a),n.length===1&&(i[t]=n[0]),i.removeListener!==void 0&&this.emit("removeListener",t,l||r)}return this};ln.prototype.off=ln.prototype.removeListener;ln.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 XP(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?V9(i):ZP(i,i.length)}ln.prototype.listeners=function(t){return XP(this,t,!0)};ln.prototype.rawListeners=function(t){return XP(this,t,!1)};ln.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):QP.call(e,t)};ln.prototype.listenerCount=QP;function QP(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}ln.prototype.eventNames=function(){return this._eventsCount>0?Ng(this._events):[]};function ZP(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function q9(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function V9(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function Y9(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))}KP(e,t,a,{once:!0}),t!=="error"&&X9(e,i,{once:!0})})}function X9(e,t,r){typeof e.on=="function"&&KP(e,"error",t,r)}function KP(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 Q9={left:0,top:0},nte=Z9;function Z9(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=K9(t);return r[0]=n-a.left,r[1]=i-a.top,r}function K9(e){return e===window||e===document||e===document.body?Q9:e.getBoundingClientRect()}function J9(){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 ite=J9(),JP=t7,f1={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},e7=/([astvzqmhlc])([^astvzqmhlc]*)/ig;function t7(e){var t=[];return e.replace(e7,function(r,n,i){var a=n.toLowerCase();for(i=n7(i),a=="m"&&i.length>2&&(t.push([n].concat(i.splice(0,2))),a="l",n=n=="m"?"l":"L");;){if(i.length==f1[a])return i.unshift(n),t.push(i);if(i.length<f1[a])throw new Error("malformed path data");t.push([n].concat(i.splice(0,f1[a])))}}),t}var r7=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/ig;function n7(e){var t=e.match(r7);return t?t.map(Number):[]}function i7(){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 a7=i7;function o7(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 u7=o7,l7={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}},s7=l7,xh=s7;function f7(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=xh.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=xh.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=xh.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=xh.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(J){var Et=P(L,J);if(Et)return Et}return q?P(L,q):!1};r&&r.segmentNew(L.seg,L.primary);var v=T(L),J=v.before?v.before.ev:null,q=v.after?v.after.ev:null;r&&r.tempStatus(L.seg,J?J.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 Te;q?L.primary===q.primary?Te=q.seg.otherFill.above:Te=q.seg.myFill.above:Te=L.primary?R:C,L.seg.otherFill={above:Te,below:Te}}r&&r.status(L.seg,J?J.seg:!1,q?q.seg:!1),L.other.status=v.insert(xh.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 c7=f7;function d7(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 J(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 Te=n[ue].length<n[Ie].length;f.matches_head?c.matches_head?Te?(J(ue),q(ue,Ie)):(J(Ie),q(Ie,ue)):q(Ie,ue):c.matches_head?q(ue,Ie):Te?(J(ue),q(Ie,ue)):(J(Ie),q(ue,Ie))}),i}var h7=d7;function wh(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 p7={union:function(e,t){return wh(e,[0,2,1,0,2,2,0,0,1,0,1,0,0,0,0,0],t)},intersect:function(e,t){return wh(e,[0,0,0,0,0,2,0,2,0,0,1,1,0,2,1,0],t)},difference:function(e,t){return wh(e,[0,0,0,0,2,0,2,0,1,1,0,0,0,1,2,0],t)},differenceRev:function(e,t){return wh(e,[0,2,1,0,0,0,1,1,0,2,0,2,0,0,0,0],t)},xor:function(e,t){return wh(e,[0,2,1,0,2,0,0,1,1,0,0,2,0,1,2,0],t)}},v7=p7,g7={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}}},m7=g7;/*
|
|
45
|
-
* @copyright 2016 Sean Connelly (@voidqk), http://syntheti.cc
|
|
46
|
-
* @license MIT
|
|
47
|
-
* @preserve Project Home: https://github.com/voidqk/polybooljs
|
|
48
|
-
*/var y7=a7,b7=u7,mT=c7,x7=h7,_h=v7,yT=m7,Za=!1,Sh=b7(),da;da={buildLog:function(e){return e===!0?Za=y7():e===!1&&(Za=!1),Za===!1?!1:Za.list},epsilon:function(e){return Sh.epsilon(e)},segments:function(e){var t=mT(!0,Sh,Za);return e.regions.forEach(t.addRegion),{segments:t.calculate(e.inverted),inverted:e.inverted}},combine:function(e,t){var r=mT(!1,Sh,Za);return{combined:r.calculate(e.segments,e.inverted,t.segments,t.inverted),inverted1:e.inverted,inverted2:t.inverted}},selectUnion:function(e){return{segments:_h.union(e.combined,Za),inverted:e.inverted1||e.inverted2}},selectIntersect:function(e){return{segments:_h.intersect(e.combined,Za),inverted:e.inverted1&&e.inverted2}},selectDifference:function(e){return{segments:_h.difference(e.combined,Za),inverted:e.inverted1&&!e.inverted2}},selectDifferenceRev:function(e){return{segments:_h.differenceRev(e.combined,Za),inverted:!e.inverted1&&e.inverted2}},selectXor:function(e){return{segments:_h.xor(e.combined,Za),inverted:e.inverted1!==e.inverted2}},polygon:function(e){return{regions:x7(e.segments,Sh,Za),inverted:e.inverted}},polygonFromGeoJSON:function(e){return yT.toPolygon(da,e)},polygonToGeoJSON:function(e){return yT.fromPolygon(da,Sh,e)},union:function(e,t){return Eh(e,t,da.selectUnion)},intersect:function(e,t){return Eh(e,t,da.selectIntersect)},difference:function(e,t){return Eh(e,t,da.selectDifference)},differenceRev:function(e,t){return Eh(e,t,da.selectDifferenceRev)},xor:function(e,t){return Eh(e,t,da.selectXor)}};function Eh(e,t,r){var n=da.segments(e),i=da.segments(t),a=da.combine(n,i),o=r(a);return da.polygon(o)}typeof window=="object"&&(window.PolyBool=da);var ate=da;const ote=vf(gz);var eN={exports:{}};function w7(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 _7(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 S7(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 E7(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 A7(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 Ah(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 T7={ge:function(e,t,r,n,i){return Ah(e,t,r,n,i,w7)},gt:function(e,t,r,n,i){return Ah(e,t,r,n,i,_7)},lt:function(e,t,r,n,i){return Ah(e,t,r,n,i,S7)},le:function(e,t,r,n,i){return Ah(e,t,r,n,i,E7)},eq:function(e,t,r,n,i){return Ah(e,t,r,n,i,A7)}},Hp=C7;function C7(e,t,r){return t<r?e<t?t:e>r?r:e:e<r?r:e>t?t:e}var hs=function(t,r,n){var i={},a,o;if(typeof r=="string"&&(r=bT(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]=bT(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},c1={};function bT(e){return c1[e]?c1[e]:(typeof e=="string"&&(e=c1[e]=e.split(/\s*,\s*|\s+/)),e)}var O7=hs,dm=k7;function k7(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=O7(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 Wp=M7;function M7(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 tN=function(){for(var e=0;e<arguments.length;e++)if(arguments[e]!==void 0)return arguments[e]},A2=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}},xT=A2,Gp=P7;function P7(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(xT(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=xT(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 N7=function(e){var t=typeof e;return e!==null&&(t==="object"||t==="function")},R7=Math.log2||function(e){return Math.log(e)*Math.LOG2E};const wT=T7,_T=Hp,I7=dm,F7=Wp,ST=hs,d1=tN,L7=Gp,D7=N7,$7=A2,ET=R7,z7=1073741824;var B7=function(t,r){r||(r={}),t=L7(t,"float64"),r=ST(r,{bounds:"range bounds dataBox databox",maxDepth:"depth maxDepth maxdepth level maxLevel maxlevel levels",dtype:"type dtype format out dst output destination"});let n=d1(r.maxDepth,255),i=d1(r.bounds,F7(t,2));i[0]===i[2]&&i[2]++,i[1]===i[3]&&i[3]++;let a=AT(t,i),o=t.length>>>1,l;r.dtype||(r.dtype="array"),typeof r.dtype=="string"?l=new($7(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 J=f[L]||(f[L]=[]),q=p[L]||(p[L]=[]),ue=c[L]||(c[L]=[]),Ie=J.length;if(L++,L>n||v>z7){for(let it=0;it<M.length;it++)J.push(M[it]),q.push(v),ue.push(null,null,null,null);return Ie}if(J.push(M[0]),q.push(v),M.length<=1)return ue.push(null,null,null,null),Ie;let Te=P*.5,De=S+Te,Ye=T+Te,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,Te,Xe,L,v),b(S,Ye,Te,Et,L,v+1),b(De,T,Te,yt,L,v+2),b(De,Ye,Te,Ze,L,v+3)),Ie}function C(...S){let T;if(D7(S[S.length-1])){let yt=S.pop();!S.length&&(yt.x!=null||yt.l!=null||yt.left!=null)&&(S=[yt],T={}),T=ST(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=I7(...S),[M,L,v,J]=[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,Te]=AT([M,L,v,J],i),De=d1(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(-ET(Math.abs(yt[0])/(i[2]-i[0]))),Math.ceil(-ET(Math.abs(yt[1])/(i[3]-i[1])))),De)}if(De=Math.min(De,f.length),T.lod)return R(q,ue,Ie,Te,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||Te<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],ee=t[he*2],Ee=t[he*2+1];ee>=M&&ee<=v&&Ee>=L&&Ee<=J&&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 J=0;J<L;J++){let q=p[J],ue=_[J][0],Ie=E(S,T,J),Te=E(P,M,J),De=wT.ge(q,Ie),Ye=wT.gt(q,Te,De,q.length-1);v[J]=[De+ue,Ye+ue]}return v}function E(S,T,P){let M=1,L=.5,v=.5,J=.5;for(let q=0;q<P;q++)M<<=2,M+=S<L?T<v?0:1:T<v?2:3,J*=.5,L+=S<L?-J:J,v+=T<v?-J:J;return M}};function AT(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]=_T((e[2*c]-r)*o,0,1),f[2*c+1]=_T((e[2*c+1]-n)*l,0,1);return f}(function(e){e.exports=B7})(eN);var rN=j7;function j7(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 U7=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")}}(),np=Math.PI*2,h1=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}},H7=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}]},TT=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)},W7=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,J=(x-P)/o,q=(-_-T)/a,ue=(-x-P)/o,Ie=TT(1,0,v,J),Te=TT(v,J,q,ue);return f===0&&Te>0&&(Te-=np),f===1&&Te<0&&(Te+=np),[M,L,Ie,Te]},G7=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*np/360),E=Math.cos(c*np/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=W7(r,n,i,a,o,l,_,b,R,E,S,T),L=U7(M,4),v=L[0],J=L[1],q=L[2],ue=L[3],Ie=Math.abs(ue)/(np/4);Math.abs(1-Ie)<1e-7&&(Ie=1);var Te=Math.max(Math.ceil(Ie),1);ue/=Te;for(var De=0;De<Te;De++)C.push(H7(q,ue)),q+=ue;return C.map(function(Ye){var Xe=h1(Ye[0],o,l,E,R,v,J),Et=Xe.x,yt=Xe.y,Ze=h1(Ye[1],o,l,E,R,v,J),it=Ze.x,Ut=Ze.y,bt=h1(Ye[2],o,l,E,R,v,J),Le=bt.x,ut=bt.y;return{x1:Et,y1:yt,x2:it,y2:Ut,x:Le,y:ut}})};const q7=Object.freeze(Object.defineProperty({__proto__:null,default:G7},Symbol.toStringTag,{value:"Module"})),V7=vf(q7);var Y7=Q7,X7=V7;function Q7(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=X7({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=CT(c,p,l,f,b[1],b[2]);break;case"Q":l=b[1],f=b[2],b=CT(c,p,b[1],b[2],b[3],b[4]);break;case"L":b=qv(c,p,b[1],b[2]);break;case"H":b=qv(c,p,b[1],p);break;case"V":b=qv(c,p,c,b[1]);break;case"Z":b=qv(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 qv(e,t,r,n){return["C",e,t,r,n,r,n]}function CT(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 nN=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))},Z7=JP,K7=rN,J7=Y7,ej=nN,tj=rj;function rj(e){if(Array.isArray(e)&&e.length===1&&typeof e[0]=="string"&&(e=e[0]),typeof e=="string"){if(!ej(e))throw Error("String is not an SVG path.");e=Z7(e)}if(!Array.isArray(e))throw Error("Argument should be a string or an array of path segments.");if(e=K7(e),e=J7(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 Us=Math.PI,OT=aN(120),nj=ij;function ij(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=iN(c,p,b[1],b[2],aN(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=kT(c,p,l,f,b[1],b[2]);break;case"Q":l=b[1],f=b[2],b=kT(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 kT(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 iN(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=p1(e,t,-i);e=p.x,t=p.y,p=p1(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?Us-P:P,M=l<S?Us-M:M,P<0&&(P=Us*2+P),M<0&&(M=Us*2+M),o&&P>M&&(P=P-Us*2),!o&&M>P&&(M=M-Us*2)}if(Math.abs(M-P)>OT){var L=M,v=l,J=f;M=P+OT*(o&&M>P?1:-1),l=S+r*Math.cos(M),f=T+n*Math.sin(M);var q=iN(l,f,r,n,i,0,o,v,J,[M,L,S,T])}var ue=Math.tan((M-P)/4),Ie=4/3*r*ue,Te=4/3*n*ue,De=[2*e-(e+Ie*Math.sin(P)),2*t-(t-Te*Math.cos(P)),l+Ie*Math.sin(M),f-Te*Math.cos(M),l,f];if(c)return De;q&&(De=De.concat(q));for(var Ye=0;Ye<De.length;){var Xe=p1(De[Ye],De[Ye+1],i);De[Ye++]=Xe.x,De[Ye++]=Xe.y}return De}function p1(e,t,r){return{x:e*Math.cos(r)-t*Math.sin(r),y:e*Math.sin(r)+t*Math.cos(r)}}function aN(e){return e*(Us/180)}var aj=rN,oj=nj,uj={M:"moveTo",C:"bezierCurveTo"},lj=function(e,t){e.beginPath(),oj(aj(t)).forEach(function(r){var n=r[0],i=r.slice(1);e[uj[n]].apply(e,i)}),e.closePath()},sj=Hp,fj=cj,ip=1e20;function cj(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?ip:Math.pow(Math.max(0,.5-v),2),S[C]=v===1?ip:v===0?0:Math.pow(Math.max(0,v-.5),2)}MT(E,a,o,T,P,L,M),MT(S,a,o,T,P,L,M);var J=window.Float32Array?new Float32Array(a*o):new Array(a*o);for(C=0,R=a*o;C<R;C++)J[C]=sj(1-((E[C]-S[C])/n+r),0,1);return J}function MT(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(PT(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(PT(n,i,a,o,t),l=0;l<t;l++)e[f*t+l]=Math.sqrt(i[l])}}function PT(e,t,r,n,i){r[0]=0,n[0]=-ip,n[1]=+ip;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]=+ip}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 dj=tj,hj=JP,pj=lj,vj=nN,gj=fj,vw=document.createElement("canvas"),Ji=vw.getContext("2d"),ute=mj;function mj(e,t){if(!vj(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=vw.width=t.w||t.width||200,n=vw.height=t.h||t.height||200);var i=Math.min(r,n),a=t.stroke||0,o=t.viewbox||t.viewBox||dj(e),l=[r/(o[2]-o[0]),n/(o[3]-o[1])],f=Math.min(l[0]||0,l[1]||0)/2;if(Ji.fillStyle="black",Ji.fillRect(0,0,r,n),Ji.fillStyle="white",a&&(typeof a!="number"&&(a=1),a>0?Ji.strokeStyle="white":Ji.strokeStyle="black",Ji.lineWidth=Math.abs(a)),Ji.translate(r*.5,n*.5),Ji.scale(f,f),yj()){var c=new Path2D(e);Ji.fill(c),a&&Ji.stroke(c)}else{var p=hj(e);pj(Ji,p),Ji.fill(),a&&Ji.stroke()}Ji.setTransform(1,0,0,1,0,0);var _=gj(Ji,{cutoff:t.cutoff!=null?t.cutoff:.5,radius:t.radius!=null?t.radius:i*.5});return _}var Yv;function yj(){if(Yv!=null)return Yv;var e=document.createElement("canvas").getContext("2d");if(e.canvas.width=e.canvas.height=1,!window.Path2D)return Yv=!1;var t=new Path2D("M0,0h1v1h-1v-1Z");e.fillStyle="black",e.fill(t);var r=e.getImageData(0,0,1,1);return Yv=r&&r.data&&r.data[3]===255}var bj={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]},xj=Object.prototype.toString,oN=function(e){var t;return xj.call(e)==="[object Object]"&&(t=Object.getPrototypeOf(e),t===null||t===Object.getPrototypeOf({}))},NT=bj,wj=oN,zs=tN,_j=Sj,RT={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function Sj(e){var t,r=[],n=1,i;if(typeof e=="string")if(NT[e])r=NT[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(RT[b]!==void 0)return RT[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(wj(e)){var p=zs(e.r,e.red,e.R,null);p!==null?(i="rgb",r=[p,zs(e.g,e.green,e.G),zs(e.b,e.blue,e.B)]):(i="hsl",r=[zs(e.h,e.hue,e.H),zs(e.s,e.saturation,e.S),zs(e.l,e.lightness,e.L,e.b,e.brightness)]),n=zs(e.a,e.alpha,e.opacity,1),e.opacity!=null&&(n/=100)}else(Array.isArray(e)||window.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 Ej={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}},Aj=_j,Tj=Ej,Xv=Hp,Cj=function(t){var r,n=Aj(t);return n.space?(r=Array(3),r[0]=Xv(n.values[0],0,255),r[1]=Xv(n.values[1],0,255),r[2]=Xv(n.values[2],0,255),n.space[0]==="h"&&(r=Tj.rgb(r)),r.push(Xv(n.alpha,0,1)),r):[]},Oj=Cj,Qv=Hp,kj=A2,hm=function(t,r){(r==="float"||!r)&&(r="array"),r==="uint"&&(r="uint8"),r==="uint_clamped"&&(r="uint8_clamped");var n=kj(r),i=new n(4),a=r!=="uint8"&&r!=="uint8_clamped";return(!t.length||typeof t=="string")&&(t=Oj(t),t[0]/=255,t[1]/=255,t[2]/=255),Mj(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]=Qv(Math.floor(t[0]*255),0,255),i[1]=Qv(Math.floor(t[1]*255),0,255),i[2]=Qv(Math.floor(t[2]*255),0,255),i[3]=t[3]==null?255:Qv(Math.floor(t[3]*255),0,255)),i)};function Mj(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 pm={exports:{}},Zv=Hp;pm.exports=uN;pm.exports.to=uN;pm.exports.from=Pj;function uN(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=Zv(r,0,255)&255,n=Zv(n,0,255)&255,i=Zv(i,0,255)&255,a=Zv(a,0,255)&255;var o=r*16777216+(n<<16)+(i<<8)+a;return o}function Pj(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 lN=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("")},sN=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},Nj=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion)),ns={exports:{}};ns.exports=ap;ns.exports.float32=ns.exports.float=ap;ns.exports.fract32=ns.exports.fract=Rj;var IT=new Float32Array(1);function Rj(e,t){if(e.length){if(e instanceof Float32Array)return new Float32Array(e.length);t instanceof Float32Array||(t=ap(e));for(var r=0,n=t.length;r<n;r++)t[r]=e[r]-t[r];return t}return ap(e-ap(e))}function ap(e){return e.length?e instanceof Float32Array?e:new Float32Array(e):(IT[0]=e,IT[0])}function Ij(e,t){return Dj(e)||zj(e,t)||fN(e,t)||jj()}function Fj(e){return Lj(e)||$j(e)||fN(e)||Bj()}function Lj(e){if(Array.isArray(e))return gw(e)}function Dj(e){if(Array.isArray(e))return e}function $j(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function zj(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 fN(e,t){if(!!e){if(typeof e=="string")return gw(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 gw(e,t)}}function gw(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 Bj(){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 jj(){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 Uj=hm,Hj=Wp,Wj=pm.exports,Gj=eN.exports,tf=gf,Kv=lN,qj=hs,Vj=sN,Yj=Gp,FT=Nj,Jv=ns.exports,Xj=dm,Qj=yi;function yi(e,t){var r=this;if(!(this instanceof yi))return new yi(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=FT,i=e.texture({data:new Uint8Array(p*4),width:p,height:1,type:"uint8",format:"rgba",wrapS:"clamp",wrapT:"clamp",mag:"nearest",min:"nearest"}),tf(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=tf({},x);b.frag=Kv([`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=Kv([`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=tf({},x);C.frag=Kv([`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=Kv([`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
|
-
`]),FT&&(C.frag=C.frag.replace("smoothstep","smoothStep"),b.frag=b.frag.replace("smoothstep","smoothStep")),this.drawCircle=e(C)}yi.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};yi.prototype.render=function(){return arguments.length&&this.update.apply(this,arguments),this.draw(),this};yi.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};yi.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,Fj(this.getMarkerDrawOptions(a,n,t)));i.length&&this.drawMarker(i)}};yi.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?[tf({},t,{markerTexture:this.markerTextures[e],activation:o[e],count:r.length,elements:r,offset:0})]:[tf({},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=Ij(p[E],2),T=S[0],P=S[1];c.push(tf({},t,{markerTexture:this.markerTextures[e],activation:r?l:o[e],offset:T,count:P-T}))}return c};yi.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=qj(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=tf({},yi.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(Vj(x,p,[{snap:!0,size:function(Ze,it){return Ze==null&&(Ze=yi.defaults.size),b+=Ze&&Ze.length?1:0,Ze},borderSize:function(Ze,it){return Ze==null&&(Ze=yi.defaults.borderSize),b+=Ze&&Ze.length?1:0,Ze},opacity:parseFloat,color:function(Ze,it){return Ze==null&&(Ze=yi.defaults.color),Ze=e.updateColor(Ze),C++,Ze},borderColor:function(Ze,it){return Ze==null&&(Ze=yi.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=Yj(Ze,"float64");var st=it.count=Math.floor(Ze.length/2),Ct=it.bounds=st?Hj(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=Gj(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=Jv.float32(Ze);Le({data:hr,usage:"dynamic"});var mr=Jv.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=Jv.fract(it.scale),it.translateFract=Jv.fract(it.translate),Ze},viewport:function(Ze){var it=Xj(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,J=v.count,q=v.color,ue=v.borderColor,Ie=v.colorBuffer,Te;if(e.tooManyColors){if(q.length||ue.length){Te=new Uint8Array(J*8);for(var De=0;De<J;De++){var Ye=q[De];Te[De*8]=c[Ye*4],Te[De*8+1]=c[Ye*4+1],Te[De*8+2]=c[Ye*4+2],Te[De*8+3]=c[Ye*4+3];var Xe=ue[De];Te[De*8+4]=c[Xe*4],Te[De*8+5]=c[Xe*4+1],Te[De*8+6]=c[Xe*4+2],Te[De*8+7]=c[Xe*4+3]}}}else if(q.length||ue.length){Te=new Uint8Array(J*4+2);for(var Et=0;Et<J;Et++)q[Et]!=null&&(Te[Et*4]=q[Et]%f,Te[Et*4+1]=Math.floor(q[Et]/f)),ue[Et]!=null&&(Te[Et*4+2]=ue[Et]%f,Te[Et*4+3]=Math.floor(ue[Et]/f))}Ie({data:Te||new Uint8Array(0),type:"uint8",usage:"dynamic"})}return x})}};yi.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};yi.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=Uj(c,"uint8");var p=Wj(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};yi.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)}};yi.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 Zj=gf,Kj=function(t,r){var n=new Qj(t,r),i=n.render.bind(n);return Zj(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},lte=Kj,T2={exports:{}};T2.exports=vm;T2.exports.default=vm;function vm(e,t,r){r=r||2;var n=t&&t.length,i=n?t[0]*r:e.length,a=cN(e,0,i,r,!0),o=[];if(!a||a.next===a.prev)return o;var l,f,c,p,_,x,b;if(n&&(a=nU(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 Cp(a,o,r,l,f,b),o}function cN(e,t,r,n,i){var a,o;if(i===bw(e,t,r,n)>0)for(a=t;a<r;a+=n)o=LT(a,e[a],e[a+1],o);else for(a=r-n;a>=t;a-=n)o=LT(a,e[a],e[a+1],o);return o&&gm(o,o.next)&&(kp(o),o=o.next),o}function is(e,t){if(!e)return e;t||(t=e);var r=e,n;do if(n=!1,!r.steiner&&(gm(r,r.next)||On(r.prev,r,r.next)===0)){if(kp(r),r=t=r.prev,r===r.next)break;n=!0}else r=r.next;while(n||r!==t);return t}function Cp(e,t,r,n,i,a,o){if(!!e){!o&&a&&lU(e,n,i,a);for(var l=e,f,c;e.prev!==e.next;){if(f=e.prev,c=e.next,a?eU(e,n,i,a):Jj(e)){t.push(f.i/r),t.push(e.i/r),t.push(c.i/r),kp(e),e=c.next,l=c.next;continue}if(e=c,e===l){o?o===1?(e=tU(is(e),t,r),Cp(e,t,r,n,i,a,2)):o===2&&rU(e,t,r,n,i,a):Cp(is(e),t,r,n,i,a,1);break}}}}function Jj(e){var t=e.prev,r=e,n=e.next;if(On(t,r,n)>=0)return!1;for(var i=e.next.next;i!==e.prev;){if(kc(t.x,t.y,r.x,r.y,n.x,n.y,i.x,i.y)&&On(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}function eU(e,t,r,n){var i=e.prev,a=e,o=e.next;if(On(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,_=mw(l,f,t,r,n),x=mw(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&&kc(i.x,i.y,a.x,a.y,o.x,o.y,b.x,b.y)&&On(b.prev,b,b.next)>=0||(b=b.prevZ,C!==e.prev&&C!==e.next&&kc(i.x,i.y,a.x,a.y,o.x,o.y,C.x,C.y)&&On(C.prev,C,C.next)>=0))return!1;C=C.nextZ}for(;b&&b.z>=_;){if(b!==e.prev&&b!==e.next&&kc(i.x,i.y,a.x,a.y,o.x,o.y,b.x,b.y)&&On(b.prev,b,b.next)>=0)return!1;b=b.prevZ}for(;C&&C.z<=x;){if(C!==e.prev&&C!==e.next&&kc(i.x,i.y,a.x,a.y,o.x,o.y,C.x,C.y)&&On(C.prev,C,C.next)>=0)return!1;C=C.nextZ}return!0}function tU(e,t,r){var n=e;do{var i=n.prev,a=n.next.next;!gm(i,a)&&dN(i,n,n.next,a)&&Op(i,a)&&Op(a,i)&&(t.push(i.i/r),t.push(n.i/r),t.push(a.i/r),kp(n),kp(n.next),n=e=a),n=n.next}while(n!==e);return is(n)}function rU(e,t,r,n,i,a){var o=e;do{for(var l=o.next.next;l!==o.prev;){if(o.i!==l.i&&cU(o,l)){var f=hN(o,l);o=is(o,o.next),f=is(f,f.next),Cp(o,t,r,n,i,a),Cp(f,t,r,n,i,a);return}l=l.next}o=o.next}while(o!==e)}function nU(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=cN(e,l,f,n,!1),c===c.next&&(c.steiner=!0),i.push(fU(c));for(i.sort(iU),a=0;a<i.length;a++)r=aU(i[a],r),r=is(r,r.next);return r}function iU(e,t){return e.x-t.x}function aU(e,t){var r=oU(e,t);if(!r)return t;var n=hN(r,e),i=is(r,r.next);return is(n,n.next),t===r?i:t}function oU(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&&kc(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),Op(r,e)&&(x<_||x===_&&(r.x>o.x||r.x===o.x&&uU(o,r)))&&(o=r,_=x)),r=r.next;while(r!==f);return o}function uU(e,t){return On(e.prev,e,t.prev)<0&&On(t.next,e,e.next)<0}function lU(e,t,r,n){var i=e;do i.z===null&&(i.z=mw(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,sU(i)}function sU(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 mw(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 fU(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 kc(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 cU(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!dU(e,t)&&(Op(e,t)&&Op(t,e)&&hU(e,t)&&(On(e.prev,e,t.prev)||On(e,t.prev,t))||gm(e,t)&&On(e.prev,e,e.next)>0&&On(t.prev,t,t.next)>0)}function On(e,t,r){return(t.y-e.y)*(r.x-t.x)-(t.x-e.x)*(r.y-t.y)}function gm(e,t){return e.x===t.x&&e.y===t.y}function dN(e,t,r,n){var i=tg(On(e,t,r)),a=tg(On(e,t,n)),o=tg(On(r,n,e)),l=tg(On(r,n,t));return!!(i!==a&&o!==l||i===0&&eg(e,r,t)||a===0&&eg(e,n,t)||o===0&&eg(r,e,n)||l===0&&eg(r,t,n))}function eg(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 tg(e){return e>0?1:e<0?-1:0}function dU(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&&dN(r,r.next,e,t))return!0;r=r.next}while(r!==e);return!1}function Op(e,t){return On(e.prev,e,e.next)<0?On(e,t,e.next)>=0&&On(e,e.prev,t)>=0:On(e,t,e.prev)<0||On(e,e.next,t)<0}function hU(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 hN(e,t){var r=new yw(e.i,e.x,e.y),n=new yw(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 LT(e,t,r,n){var i=new yw(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 kp(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 yw(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}vm.deviation=function(e,t,r,n){var i=t&&t.length,a=i?t[0]*r:e.length,o=Math.abs(bw(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(bw(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 bw(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}vm.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 pU=Wp,vU=gU;function gU(e,t,r){if(!e||e.length==null)throw Error("Argument should be an array");t==null&&(t=1),r==null&&(r=pU(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 mU=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")},yU=function(){},bU=yU(),el=function(e){return e!==bU&&e!==null},v1,DT;function pN(){if(DT)return v1;DT=1;var e=Object.create,t=Object.getPrototypeOf,r={};return v1=function(){var n=Object.setPrototypeOf,i=arguments[0]||e;return typeof n!="function"?!1:t(n(i(null),r))===r},v1}var xU=el,wU={function:!0,object:!0},C2=function(e){return xU(e)&&wU[typeof e]||!1},_U=el,Oo=function(e){if(!_U(e))throw new TypeError("Cannot use null or undefined");return e},g1,$T;function SU(){if($T)return g1;$T=1;var e=Object.create,t;return pN()()||(t=vN()),g1=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)})}(),g1}var m1,zT;function vN(){if(zT)return m1;zT=1;var e=C2,t=Oo,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")},m1=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)}()),SU(),m1}var y1,BT;function O2(){return BT||(BT=1,y1=pN()()?Object.setPrototypeOf:vN()),y1}var b1,jT;function EU(){if(jT)return b1;jT=1;var e=C2;return b1=function(t){if(!e(t))throw new TypeError(t+" is not an Object");return t},b1}var x1,UT;function AU(){if(UT)return x1;UT=1;var e=Object.create(null),t=Math.random;return x1=function(){var r;do r=t().toString(36).slice(2);while(e[r]);return r},x1}var uo={exports:{}},TU=void 0,bd=function(e){return e!==TU&&e!==null},CU=bd,OU={object:!0,function:!0,undefined:!0},k2=function(e){return CU(e)?hasOwnProperty.call(OU,typeof e):!1},kU=k2,MU=function(e){if(!kU(e))return!1;try{return e.constructor?e.constructor.prototype===e:!1}catch{return!1}},PU=MU,NU=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!PU(e)},RU=NU,IU=/^\s*class[\s{/}]/,FU=Function.prototype.toString,gN=function(e){return!(!RU(e)||IU.test(FU.call(e)))},LU=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")},w1,HT;function DU(){return HT||(HT=1,w1=function(){try{return Object.keys("primitive"),!0}catch{return!1}}),w1}var _1,WT;function $U(){if(WT)return _1;WT=1;var e=el,t=Object.keys;return _1=function(r){return t(e(r)?Object(r):r)},_1}var S1,GT;function zU(){return GT||(GT=1,S1=DU()()?Object.keys:$U()),S1}var E1,qT;function BU(){if(qT)return E1;qT=1;var e=zU(),t=Oo,r=Math.max;return E1=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},E1}var mm=LU()?Object.assign:BU(),jU=el,UU=Array.prototype.forEach,HU=Object.create,WU=function(e,t){var r;for(r in e)t[r]=e[r]},M2=function(e){var t=HU(null);return UU.call(arguments,function(r){!jU(r)||WU(Object(r),t)}),t},A1="razdwatrzy",GU=function(){return typeof A1.contains!="function"?!1:A1.contains("dwa")===!0&&A1.contains("foo")===!1},T1,VT;function qU(){if(VT)return T1;VT=1;var e=String.prototype.indexOf;return T1=function(t){return e.call(this,t,arguments[1])>-1},T1}var mN=GU()?String.prototype.contains:qU(),Rg=bd,YT=gN,yN=mm,bN=M2,op=mN,VU=uo.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],Rg(e)?(r=op.call(e,"c"),n=op.call(e,"e"),i=op.call(e,"w")):(r=i=!0,n=!1),o={value:t,configurable:r,enumerable:n,writable:i},a?yN(bN(a),o):o};VU.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],Rg(t)?YT(t)?Rg(r)?YT(r)||(a=r,r=void 0):r=void 0:(a=t,t=r=void 0):t=void 0,Rg(e)?(n=op.call(e,"c"),i=op.call(e,"e")):(n=!0,i=!1),o={get:t,set:r,configurable:n,enumerable:i},a?yN(bN(a),o):o};var C1,XT;function ym(){if(XT)return C1;XT=1;var e=Object.prototype.toString,t=e.call(function(){return arguments}());return C1=function(r){return e.call(r)===t},C1}var O1,QT;function bm(){if(QT)return O1;QT=1;var e=Object.prototype.toString,t=e.call("");return O1=function(r){return typeof r=="string"||r&&typeof r=="object"&&(r instanceof String||e.call(r)===t)||!1},O1}var k1={exports:{}},M1,ZT;function YU(){if(ZT)return M1;ZT=1;var e={object:!0,symbol:!0};return M1=function(){var t=window.Symbol,r;if(typeof t!="function")return!1;r=t("test symbol");try{String(r)}catch{return!1}return!(!e[typeof t.iterator]||!e[typeof t.toPrimitive]||!e[typeof t.toStringTag])},M1}var P1,KT;function XU(){return KT||(KT=1,P1=function(e){return e?typeof e=="symbol"?!0:!e.constructor||e.constructor.name!=="Symbol"?!1:e[e.constructor.toStringTag]==="Symbol":!1}),P1}var N1,JT;function xN(){if(JT)return N1;JT=1;var e=XU();return N1=function(t){if(!e(t))throw new TypeError(t+" is not a symbol");return t},N1}var R1,eC;function QU(){if(eC)return R1;eC=1;var e=uo.exports,t=Object.create,r=Object.defineProperty,n=Object.prototype,i=t(null);return R1=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},R1}var I1,tC;function ZU(){if(tC)return I1;tC=1;var e=uo.exports,t=o_.Symbol;return I1=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"))})},I1}var F1,rC;function KU(){if(rC)return F1;rC=1;var e=uo.exports,t=xN(),r=Object.create(null);return F1=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})})},F1}var L1,nC;function JU(){if(nC)return L1;nC=1;var e=uo.exports,t=xN(),r=o_.Symbol,n=QU(),i=ZU(),a=KU(),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)},L1=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])),L1}var D1,iC;function Af(){return iC||(iC=1,D1=YU()()?o_.Symbol:JU()),D1}var $1,aC;function eH(){if(aC)return $1;aC=1;var e=Oo;return $1=function(){return e(this).length=0,this},$1}var du=function(e){if(typeof e!="function")throw new TypeError(e+" is not a function");return e},z1,oC;function tH(){if(oC)return z1;oC=1;var e=bd,t=k2,r=Object.prototype.toString;return z1=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}},z1}var B1,uC;function rH(){return uC||(uC=1,B1=function(e){try{return e.toString()}catch{try{return String(e)}catch{return null}}}),B1}var j1,lC;function nH(){if(lC)return j1;lC=1;var e=rH(),t=/[\n\r\u2028\u2029]/g;return j1=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)},j1}var U1,sC;function wN(){if(sC)return U1;sC=1;var e=bd,t=k2,r=tH(),n=nH(),i=function(a,o){return a.replace("%v",n(o))};return U1=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))},U1}var H1,fC;function iH(){if(fC)return H1;fC=1;var e=wN(),t=bd;return H1=function(r){return t(r)?r:e(r,"Cannot use %v",arguments[1])},H1}var W1,cC;function aH(){if(cC)return W1;cC=1;var e=wN(),t=gN;return W1=function(r){return t(r)?r:e(r,"%v is not a plain function",arguments[1])},W1}var G1,dC;function oH(){return dC||(dC=1,G1=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"))}),G1}var q1,hC;function uH(){if(hC)return q1;hC=1;var e=Object.prototype.toString,t=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);return q1=function(r){return typeof r=="function"&&t(e.call(r))},q1}var lH=function(){var e=Math.sign;return typeof e!="function"?!1:e(10)===1&&e(-20)===-1},V1,pC;function sH(){return pC||(pC=1,V1=function(e){return e=Number(e),isNaN(e)||e===0?e:e>0?1:-1}),V1}var fH=lH()?Math.sign:sH(),cH=fH,dH=Math.abs,hH=Math.floor,pH=function(e){return isNaN(e)?0:(e=Number(e),e===0||!isFinite(e)?e:cH(e)*hH(dH(e)))},vH=pH,gH=Math.max,Tf=function(e){return gH(0,vH(e))},Y1,vC;function mH(){if(vC)return Y1;vC=1;var e=Af().iterator,t=ym(),r=uH(),n=Tf,i=du,a=Oo,o=el,l=bm(),f=Array.isArray,c=Function.prototype.call,p={configurable:!0,enumerable:!0,writable:!0,value:null},_=Object.defineProperty;return Y1=function(x){var b=arguments[1],C=arguments[2],R,E,S,T,P,M,L,v,J,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((J=x[e])!==void 0){for(L=i(J).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},Y1}var X1,gC;function xm(){return gC||(gC=1,X1=oH()()?Array.from:mH()),X1}var Q1,mC;function yH(){if(mC)return Q1;mC=1;var e=xm(),t=mm,r=Oo;return Q1=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},Q1}var bH=du,xH=Oo,wH=Function.prototype.bind,yC=Function.prototype.call,_H=Object.keys,SH=Object.prototype.propertyIsEnumerable,EH=function(e,t){return function(r,n){var i,a=arguments[2],o=arguments[3];return r=Object(xH(r)),bH(n),i=_H(r),o&&i.sort(typeof o=="function"?wH.call(o,r):void 0),typeof e!="function"&&(e=i[e]),yC.call(e,i,function(l,f){return SH.call(r,l)?yC.call(n,a,r[l],l,r,f):t})}},wm=EH("forEach"),Z1,bC;function P2(){if(bC)return Z1;bC=1;var e=du,t=wm,r=Function.prototype.call;return Z1=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},Z1}var K1,xC;function AH(){if(xC)return K1;xC=1;var e=bd,t=iH(),r=aH(),n=yH(),i=M2,a=P2(),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},K1=function(p){var _=i(arguments[1]);return e(_.resolveContext)&&r(_.resolveContext),a(p,function(x,b){return c(b,x,_)})},K1}var J1,wC;function _N(){if(wC)return J1;wC=1;var e=eH(),t=mm,r=du,n=Oo,i=uo.exports,a=AH(),o=Af(),l=Object.defineProperty,f=Object.defineProperties,c;return J1=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})),J1}var _C;function TH(){if(_C)return k1.exports;_C=1;var e=O2(),t=mN,r=uo.exports,n=Af(),i=_N(),a=Object.defineProperty,o;return o=k1.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")),k1.exports}var eb={exports:{}},SC;function CH(){if(SC)return eb.exports;SC=1;var e=O2(),t=uo.exports,r=Af(),n=_N(),i=Object.defineProperty,a;return a=eb.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")),eb.exports}var tb,EC;function OH(){if(EC)return tb;EC=1;var e=ym(),t=el,r=bm(),n=Af().iterator,i=Array.isArray;return tb=function(a){return t(a)?i(a)||r(a)||e(a)?!0:typeof a[n]=="function":!1},tb}var rb,AC;function kH(){if(AC)return rb;AC=1;var e=OH();return rb=function(t){if(!e(t))throw new TypeError(t+" is not iterable");return t},rb}var nb,TC;function SN(){if(TC)return nb;TC=1;var e=ym(),t=bm(),r=TH(),n=CH(),i=kH(),a=Af().iterator;return nb=function(o){return typeof i(o)[a]=="function"?o[a]():e(o)?new r(o):t(o)?new n(o):new r(o)},nb}var ib,CC;function MH(){if(CC)return ib;CC=1;var e=ym(),t=du,r=bm(),n=SN(),i=Array.isArray,a=Function.prototype.call,o=Array.prototype.some;return ib=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()}},ib}var ab,OC;function PH(){return OC||(OC=1,ab=function(){return typeof WeakMap!="function"?!1:Object.prototype.toString.call(new WeakMap)==="[object WeakMap]"}()),ab}var ob,kC;function NH(){if(kC)return ob;kC=1;var e=el,t=O2(),r=EU(),n=Oo,i=AU(),a=uo.exports,o=SN(),l=MH(),f=Af().toStringTag,c=PH(),p=Array.isArray,_=Object.defineProperty,x=Object.prototype.hasOwnProperty,b=Object.getPrototypeOf,C;return ob=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")),ob}var EN=mU()?WeakMap:NH(),RH=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 rg=hm,IH=Wp,xw=gf,hc=lN,FH=hs,LH=Gp,MC=T2.exports,DH=vU,{float32:$H,fract32:ub}=ns.exports,zH=EN,PC=dm,BH=RH;var ste=tn;function tn(e,t){if(!(this instanceof tn))return new tn(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=tn.shaders.has(e)?tn.shaders.get(e):tn.shaders.set(e,tn.createShaders(e)).get(e),this.update(t)}tn.dashMult=2;tn.maxPatternLength=256;tn.precisionThreshold=3e6;tn.maxPoints=1e4;tn.maxLines=2048;tn.shaders=new zH;tn.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(xw({vert:hc("./rect-vert.glsl"),frag:hc("./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(xw({cull:{enable:!0,face:"back"},vert:hc("./miter-vert.glsl"),frag:hc("./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:hc("./fill-vert.glsl"),frag:hc("./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}};tn.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};tn.prototype.render=function(...e){e.length&&this.update(...e),this.draw()};tn.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>tn.precisionThreshold||t.scale[1]*t.viewport.height>tn.precisionThreshold?this.shaders.rect(t):t.join==="rect"||!t.join&&(t.thickness<=2||t.count>=tn.maxPoints)?this.shaders.rect(t):this.shaders.miter(t)))}),this};tn.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=FH(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=xw({},tn.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<tn.maxLines&&(o.depth=2*(tn.maxLines-1-a%tn.maxLines)/tn.maxLines-1)),i.join!=null&&(o.join=i.join),i.hole!=null&&(o.hole=i.hole),i.fill!=null&&(o.fill=i.fill?rg(i.fill,"uint8"):null),i.viewport!=null&&(o.viewport=PC(i.viewport)),o.viewport||(o.viewport=PC([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=LH(i.positions,"float64"),p=o.count=Math.floor(c.length/2);let _=o.bounds=IH(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=BH(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):[]),J=(o.hole||[]).map(ue=>ue-M+(S[L]-P)),q=MC(v,J);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=MC(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);DH(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=$H(b);o.positionBuffer(l);var f=ub(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=ub(o.scale),o.translateFract=ub(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*tn.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]*tn.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=rg(p,"uint8");for(let b=0;b<c+1;b++)_.set(x,b*4)}else{for(let x=0;x<c;x++){let b=rg(p[x],"uint8");_.set(b,x*4)}_.set(rg(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};tn.prototype.destroy=function(){return this.passes.forEach(e=>{e.colorBuffer.destroy(),e.positionBuffer.destroy(),e.dashTexture.destroy()}),this.passes.length=0,this};const jH=Wp,UH=hm,HH=sN,WH=hs,NC=gf,RC=Gp,{float32:GH,fract32:lb}=ns.exports;var fte=qH;const IC=[[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 qH(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:IC}),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:IC.length}),NC(_,{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 J=p[v];if(L)typeof L=="function"?L={after:L}:typeof L[0]=="number"&&(L={positions:L});else return J;return L=WH(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"}),J||(p[v]=J={id:v,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},L=NC({},c,L)),HH(J,L,[{lineWidth:q=>+q*.5,capSize:q=>+q*.5,opacity:parseFloat,errors:q=>(q=RC(q),T+=q.length,q),positions:(q,ue)=>(q=RC(q,"float64"),ue.count=Math.floor(q.length/2),ue.bounds=jH(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 Te=new Uint8Array(Ie*4);for(let De=0;De<Ie;De++){let Ye=UH(q[De],"uint8");Te.set(Ye,De*4)}return Te},range:(q,ue,Ie)=>{let Te=ue.bounds;return q||(q=Te),ue.scale=[1/(q[2]-q[0]),1/(q[3]-q[1])],ue.translate=[-q[0],-q[1]],ue.scaleFract=lb(ue.scale),ue.translateFract=lb(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}}]),J}),S||T){let L=p.reduce((ue,Ie,Te)=>ue+(Ie?Ie.count:0),0),v=new Float64Array(L*2),J=new Uint8Array(L*4),q=new Float32Array(L*4);p.forEach((ue,Ie)=>{if(!ue)return;let{positions:Te,count:De,offset:Ye,color:Xe,errors:Et}=ue;!De||(J.set(Xe,Ye*4),q.set(Et,Ye*4),v.set(Te,Ye*2))});var P=GH(v);i(P);var M=lb(v,P);a(M),o(J),l(q)}}function R(){i.destroy(),a.destroy(),o.destroy(),l.destroy(),f.destroy()}}var FC=/[\'\"]/,VH=function(t){return t?(FC.test(t.charAt(0))&&(t=t.substr(1)),FC.test(t.charAt(t.length-1))&&(t=t.substr(0,t.length-1)),t):""};const AN=["caption","icon","menu","message-box","small-caption","status-bar"],TN=["normal","bold","bolder","lighter","100","200","300","400","500","600","700","800","900"],CN=["normal","italic","oblique"],ON=["normal","condensed","semi-condensed","extra-condensed","ultra-condensed","expanded","semi-expanded","extra-expanded","ultra-expanded"];function kN(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 MN(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 N2(e,t){return Array.isArray(e)?MN(e,t):kN(e,t)}N2.parse=kN;N2.stringify=MN;var YH=N2,LC=YH,XH=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=LC.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]=LC.stringify(i,{flat:!0});return o};const QH=["xx-small","x-small","small","medium","large","x-large","xx-large","larger","smaller"];var ZH=QH,PN={isSize:function(t){return/^[\d\.]/.test(t)||t.indexOf("/")!==-1||ZH.indexOf(t)!==-1}},KH=VH,JH=s5,eW=AN,tW=TN,rW=CN,nW=ON,sb=XH,iW=PN.isSize,aW=NN,Th=NN.cache={};function NN(e){if(typeof e!="string")throw new Error("Font argument must be a string.");if(Th[e])return Th[e];if(e==="")throw new Error("Cannot parse an empty string.");if(eW.indexOf(e)!==-1)return Th[e]={system:e};for(var t={style:"normal",variant:"normal",weight:"normal",stretch:"normal",lineHeight:"normal",size:"1rem",family:["serif"]},r=sb(e,/\s+/),n;n=r.shift();){if(JH.indexOf(n)!==-1)return["style","variant","weight","stretch"].forEach(function(a){t[a]=n}),Th[e]=t;if(rW.indexOf(n)!==-1){t.style=n;continue}if(n==="normal"||n==="small-caps"){t.variant=n;continue}if(nW.indexOf(n)!==-1){t.stretch=n;continue}if(tW.indexOf(n)!==-1){t.weight=n;continue}if(iW(n)){var i=sb(n,"/");if(t.size=i[0],i[1]!=null?t.lineHeight=DC(i[1]):r[0]==="/"&&(r.shift(),t.lineHeight=DC(r.shift())),!r.length)throw new Error("Missing required font-family.");return t.family=sb(r.join(" "),/\s*,\s*/).map(KH),Th[e]=t}throw new Error("Unknown or unsupported font token: "+n)}throw new Error("Missing required font-size.")}function DC(e){var t=parseFloat(e);return t.toString()===e?t:e}var oW=hs,uW=PN.isSize,lW=qp(s5),sW=qp(AN),fW=qp(TN),cW=qp(CN),dW=qp(ON),hW={normal:1,"small-caps":1},pW={serif:1,"sans-serif":1,monospace:1,cursive:1,fantasy:1,"system-ui":1},fb={style:"normal",variant:"normal",weight:"normal",stretch:"normal",size:"1rem",lineHeight:"normal",family:"serif"},RN=function(t){if(t=oW(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 window"}),t.system)return t.system&&Ch(t.system,sW),t.system;if(Ch(t.style,cW),Ch(t.variant,hW),Ch(t.weight,fW),Ch(t.stretch,dW),t.size==null&&(t.size=fb.size),typeof t.size=="number"&&(t.size+="px"),!uW)throw Error("Bad size value `"+t.size+"`");t.family||(t.family=fb.family),Array.isArray(t.family)&&(t.family.length||(t.family=[fb.family]),t.family=t.family.map(function(n){return pW[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 Ch(e,t){if(e&&!t[e]&&!lW[e])throw Error("Unknown keyword `"+e+"`");return e}function qp(e){for(var t={},r=0;r<e.length;r++)t[e[r]]=1;return t}var vW={parse:aW,stringify:RN},IN={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(a_,function(){var r=function(F,X){for(var re=Object.keys(X),Fe=0;Fe<re.length;++Fe)F[re[Fe]]=X[re[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),re=F.charAt(F.length-1);if(F.length>1&&X===re&&(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 Pe=[],Re=0;Re<He.length;++Re)Pe=Pe.concat(c(He[Re]));return Pe}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(re,Fe){return b(re)}));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(re){var Fe=F[re];return Fe||(Fe=F[re]=X.length,X.push(re),Fe)},str:function(re){return X[re]}}}function T(F,X,re){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=re*ft,Fe.height=re*ct}var Pe;F!==document.body&&typeof ResizeObserver=="function"?(Pe=new ResizeObserver(function(){setTimeout(He)}),Pe.observe(F)):window.addEventListener("resize",He,!1);function Re(){Pe?Pe.disconnect():window.removeEventListener("resize",He),F.removeChild(Fe)}return He(),{canvas:Fe,onDestroy:Re}}function P(F,X){function re(Fe){try{return F.getContext(Fe,X)}catch{return null}}return re("webgl")||re("experimental-webgl")||re("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 J(F){return typeof F=="string"?document.querySelector(F):F}function q(F){var X=F||{},re,Fe,He,Pe,Re={},ft=[],ct=[],vt=typeof window>"u"?1:window.devicePixelRatio,Ot=!1,Zt={},Ht=function(xe){},xt=function(){};if(typeof X=="string"?re=document.querySelector(X):typeof X=="object"&&(M(X)?re=X:L(X)?(Pe=X,He=Pe.canvas):("gl"in X?Pe=X.gl:"canvas"in X?He=J(X.canvas):"container"in X&&(Fe=J(X.container)),"attributes"in X&&(Re=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))),re&&(re.nodeName.toLowerCase()==="canvas"?He=re:Fe=re),!Pe){if(!He){var nt=T(Fe||document.body,Ht,vt);if(!nt)return null;He=nt.canvas,xt=nt.onDestroy}Re.premultipliedAlpha===void 0&&(Re.premultipliedAlpha=!0),Pe=P(He,Re)}return Pe?{gl:Pe,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 re={};function Fe(Re){var ft=Re.toLowerCase(),ct;try{ct=re[ft]=F.getExtension(ft)}catch{}return!!ct}for(var He=0;He<X.extensions.length;++He){var Pe=X.extensions[He];if(!Fe(Pe))return X.onDestroy(),X.onDone('"'+Pe+'" extension is not supported by the current WebGL context, try upgrading your system or a different browser'),null}return X.optionalExtensions.forEach(Fe),{extensions:re,restore:function(){Object.keys(re).forEach(function(Re){if(re[Re]&&!Fe(Re))throw new Error("(regl): error restoring extension "+Re)})}}}function Ie(F,X){for(var re=Array(F),Fe=0;Fe<F;++Fe)re[Fe]=X(Fe);return re}var Te=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,re;return X=(F>65535)<<4,F>>>=X,re=(F>255)<<3,F>>>=re,X|=re,re=(F>15)<<2,F>>>=re,X|=re,re=(F>3)<<1,F>>>=re,X|=re,X|F>>1}function bt(){var F=Ie(8,function(){return[]});function X(Pe){var Re=it(Pe),ft=F[Ut(Re)>>2];return ft.length>0?ft.pop():new ArrayBuffer(Re)}function re(Pe){F[Ut(Pe.byteLength)>>2].push(Pe)}function Fe(Pe,Re){var ft=null;switch(Pe){case Te:ft=new Int8Array(X(Re),0,Re);break;case De:ft=new Uint8Array(X(Re),0,Re);break;case Ye:ft=new Int16Array(X(2*Re),0,Re);break;case Xe:ft=new Uint16Array(X(2*Re),0,Re);break;case Et:ft=new Int32Array(X(4*Re),0,Re);break;case yt:ft=new Uint32Array(X(4*Re),0,Re);break;case Ze:ft=new Float32Array(X(4*Re),0,Re);break;default:return null}return ft.length!==Re?ft.subarray(0,Re):ft}function He(Pe){re(Pe.buffer)}return{alloc:X,free:re,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,ee=36348,Ee=35661,wt=35660,Dt=34930,kr=36349,qr=34076,Jr=34024,Gn=7936,Fi=7937,dn=7938,Da=35724,Mo=34047,vs=36063,hu=34852,pu=3553,Gi=34067,Mf=34069,ui=33984,ga=6408,vu=5126,gu=5121,qn=36160,li=36053,ma=36064,Ed=16384,mu=function(F,X){var re=1;X.ext_texture_filter_anisotropic&&(re=F.getParameter(Mo));var Fe=1,He=1;X.webgl_draw_buffers&&(Fe=F.getParameter(hu),He=F.getParameter(vs));var Pe=!!X.oes_texture_float;if(Pe){var Re=F.createTexture();F.bindTexture(pu,Re),F.texImage2D(pu,0,ga,1,1,0,ga,vu,null);var ft=F.createFramebuffer();if(F.bindFramebuffer(qn,ft),F.framebufferTexture2D(qn,ma,pu,Re,0),F.bindTexture(pu,null),F.checkFramebufferStatus(qn)!==li)Pe=!1;else{F.viewport(0,0,1,1),F.clearColor(1,0,0,1),F.clear(Ed);var ct=Le.allocType(vu,4);F.readPixels(0,0,1,1,ga,vu,ct),F.getError()?Pe=!1:(F.deleteFramebuffer(ft),F.deleteTexture(Re),Pe=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(gu,36);F.activeTexture(ui),F.bindTexture(Gi,Zt),F.texImage2D(Mf,0,ga,3,3,0,ga,gu,Ht),Le.freeType(Ht),F.bindTexture(Gi,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:re,maxDrawbuffers:Fe,maxColorAttachments:He,pointSizeDims:F.getParameter(at),lineWidthDims:F.getParameter(Gt),maxViewportDims:F.getParameter(je),maxCombinedTextureUnits:F.getParameter(Ee),maxCubeMapSize:F.getParameter(qr),maxRenderbufferSize:F.getParameter(Jr),maxTextureUnits:F.getParameter(Dt),maxTextureSize:F.getParameter(fr),maxAttributes:F.getParameter(Y),maxVertexUniforms:F.getParameter(he),maxVertexTextureUnits:F.getParameter(wt),maxVaryingVectors:F.getParameter(ee),maxFragmentUniforms:F.getParameter(kr),glsl:F.getParameter(Da),renderer:F.getParameter(Fi),vendor:F.getParameter(Gn),version:F.getParameter(dn),readFloat:Pe,npotTextureCube:Ot}},Mn=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 Bn(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)||Mn(F.data))}var Pn=function(F){return Object.keys(F).map(function(X){return F[X]})},Pr={shape:Rf,flatten:na};function Pf(F,X,re){for(var Fe=0;Fe<X;++Fe)re[Fe]=F[Fe]}function qi(F,X,re,Fe){for(var He=0,Pe=0;Pe<X;++Pe)for(var Re=F[Pe],ft=0;ft<re;++ft)Fe[He++]=Re[ft]}function ya(F,X,re,Fe,He,Pe){for(var Re=Pe,ft=0;ft<X;++ft)for(var ct=F[ft],vt=0;vt<re;++vt)for(var Ot=ct[vt],Zt=0;Zt<Fe;++Zt)He[Re++]=Ot[Zt]}function Nf(F,X,re,Fe,He){for(var Pe=1,Re=re+1;Re<X.length;++Re)Pe*=X[Re];var ft=X[re];if(X.length-re===4){var ct=X[re+1],vt=X[re+2],Ot=X[re+3];for(Re=0;Re<ft;++Re)ya(F[Re],ct,vt,Ot,Fe,He),He+=Pe}else for(Re=0;Re<ft;++Re)Nf(F[Re],X,re+1,Fe,He),He+=Pe}function na(F,X,re,Fe){var He=1;if(X.length)for(var Pe=0;Pe<X.length;++Pe)He*=X[Pe];else He=0;var Re=Fe||Le.allocType(re,He);switch(X.length){case 0:break;case 1:Pf(F,X[0],Re);break;case 2:qi(F,X[0],X[1],Re);break;case 3:ya(F,X[0],X[1],X[2],Re,0);break;default:Nf(F,X,0,Re,0)}return Re}function Rf(F){for(var X=[],re=F;re.length;re=re[0])X.push(re.length);return X}var Po={"[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},Ad=5120,If=5122,Ff=5124,Lf=5121,No=5123,Ro=5125,yu=5126,bu=5126,Io={int8:Ad,int16:If,int32:Ff,uint8:Lf,uint16:No,uint32:Ro,float:yu,float32:bu},nl=35048,lo=35040,ba={dynamic:nl,stream:lo,static:35044},Si=Pr.flatten,xu=Pr.shape,wu=35044,Vi=35040,so=5121,_u=5126,An=[];An[5120]=1,An[5122]=2,An[5124]=4,An[5121]=1,An[5123]=2,An[5125]=4,An[5126]=4;function fo(F){return Po[Object.prototype.toString.call(F)]|0}function il(F,X){for(var re=0;re<X.length;++re)F[re]=X[re]}function al(F,X,re,Fe,He,Pe,Re){for(var ft=0,ct=0;ct<re;++ct)for(var vt=0;vt<Fe;++vt)F[ft++]=X[He*ct+Pe*vt+Re]}function ol(F,X,re,Fe){var He=0,Pe={};function Re(xe){this.id=He++,this.buffer=F.createBuffer(),this.type=xe,this.usage=wu,this.byteLength=0,this.dimension=1,this.dtype=so,this.persistentData=null,re.profile&&(this.stats={size:0})}Re.prototype.bind=function(){F.bindBuffer(this.type,this.buffer)},Re.prototype.destroy=function(){Ht(this)};var ft=[];function ct(xe,ze){var lt=ft.pop();return lt||(lt=new Re(xe)),lt.bind(),Zt(lt,ze,Vi,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||_u,ze.length>0){var Kt;if(Array.isArray(ze[0])){St=xu(ze);for(var Ke=1,We=1;We<St.length;++We)Ke*=St[We];xe.dimension=Ke,Kt=Si(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);il(It,ze),Ot(xe,It,lt),Nt?xe.persistentData=It:Le.freeType(It)}else Mn(ze[0])&&(xe.dimension=ze[0].length,xe.dtype=ht||fo(ze[0])||_u,Kt=Si(ze,[ze.length,ze[0].length],xe.dtype),Ot(xe,Kt,lt),Nt?xe.persistentData=Kt:Le.freeType(Kt))}}else if(Mn(ze))xe.dtype=ht||fo(ze),xe.dimension=Qe,Ot(xe,ze,lt),Nt&&(xe.persistentData=new Uint8Array(new Uint8Array(ze.buffer)));else if(Bn(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||fo(ze.data)||_u,xe.dimension=Jt;var ur=Le.allocType(xe.dtype,pt*Jt);al(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=so,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 Pe[xe.id]}function xt(xe,ze,lt,ht){X.bufferCount++;var Qe=new Re(ze);Pe[Qe.id]=Qe;function Nt(Ke){var We=wu,It=null,$e=0,kt=0,pt=1;return Array.isArray(Ke)||Mn(Ke)||Bn(Ke)||Ke instanceof ArrayBuffer?It=Ke:typeof Ke=="number"?$e=Ke|0:Ke&&("data"in Ke&&(It=Ke.data),"usage"in Ke&&(We=ba[Ke.usage]),"type"in Ke&&(kt=Io[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||so,Qe.usage=We,Qe.dimension=pt,Qe.byteLength=$e),re.profile&&(Qe.stats.size=Qe.byteLength*An[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(),Mn(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);il(kt,Ke),St(kt,It),Le.freeType(kt)}else if(Array.isArray(Ke[0])||Mn(Ke[0])){$e=xu(Ke);var pt=Si(Ke,$e,Qe.dtype);St(pt,It),Le.freeType(pt)}}}else if(Bn(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:fo(Ke.data),Lr=Le.allocType(Or,Cr*$t);al(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,re.profile&&(Nt.stats=Qe.stats),Nt.destroy=function(){Ht(Qe)},Nt}function nt(){Pn(Pe).forEach(function(xe){xe.buffer=F.createBuffer(),F.bindBuffer(xe.type,xe.buffer),F.bufferData(xe.type,xe.persistentData||xe.byteLength,xe.usage)})}return re.profile&&(X.getTotalBufferSize=function(){var xe=0;return Object.keys(Pe).forEach(function(ze){xe+=Pe[ze].stats.size}),xe}),{create:xt,createStream:ct,destroyStream:vt,clear:function(){Pn(Pe).forEach(Ht),ft.forEach(Ht)},getBuffer:function(xe){return xe&&xe._buffer instanceof Re?xe._buffer:null},restore:nt,_initBuffer:Zt}}var ul=0,Vn=0,co=1,Fo=1,gs=4,ms=4,Tn={points:ul,point:Vn,lines:co,line:Fo,triangles:gs,triangle:ms,"line loop":2,"line strip":3,"triangle strip":5,"triangle fan":6},ys=0,ho=1,xa=4,Lo=5120,po=5121,Ei=5122,$a=5123,za=5124,Ba=5125,Do=34963,Rr=35040,wa=35044;function $o(F,X,re,Fe){var He={},Pe=0,Re={uint8:po,uint16:$a};X.oes_element_index_uint&&(Re.uint32=Ba);function ft(nt){this.id=Pe++,He[this.id]=this,this.buffer=nt,this.primType=xa,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(re.create(null,Do,!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&&(!Mn(xe)||Bn(xe)&&!Mn(xe.data))&&(Kt=X.oes_element_index_uint?Ba:$a),re._initBuffer(nt.buffer,xe,ze,Kt,3)}else F.bufferData(Do,Qe,ze),nt.buffer.dtype=St||po,nt.buffer.usage=ze,nt.buffer.dimension=3,nt.buffer.byteLength=Qe;if(St=Nt,!Nt){switch(nt.buffer.dtype){case po:case Lo:St=po;break;case $a:case Ei:St=$a;break;case Ba:case za:St=Ba;break}nt.buffer.dtype=St}nt.type=St;var Ke=ht;Ke<0&&(Ke=nt.buffer.byteLength,St===$a?Ke>>=1:St===Ba&&(Ke>>=2)),nt.vertCount=Ke;var We=lt;if(lt<0){We=xa;var It=nt.buffer.dimension;It===1&&(We=ys),It===2&&(We=ho),It===3&&(We=xa)}nt.primType=We}function Ht(nt){Fe.elementsCount--,delete He[nt.id],nt.buffer.destroy(),nt.buffer=null}function xt(nt,xe){var ze=re.create(null,Do,!0),lt=new ft(ze._buffer);Fe.elementsCount++;function ht(Qe){if(!Qe)ze(),lt.primType=xa,lt.vertCount=0,lt.type=po;else if(typeof Qe=="number")ze(Qe),lt.primType=xa,lt.vertCount=Qe|0,lt.type=po;else{var Nt=null,St=wa,Kt=-1,Ke=-1,We=0,It=0;Array.isArray(Qe)||Mn(Qe)||Bn(Qe)?Nt=Qe:("data"in Qe&&(Nt=Qe.data),"usage"in Qe&&(St=ba[Qe.usage]),"primitive"in Qe&&(Kt=Tn[Qe.primitive]),"count"in Qe&&(Ke=Qe.count|0),"type"in Qe&&(It=Re[Qe.type]),"length"in Qe?We=Qe.length|0:(We=Ke,It===$a||It===Ei?We*=2:(It===Ba||It===za)&&(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(){Pn(He).forEach(Ht)}}}var Df=new Float32Array(1),$f=new Uint32Array(Df.buffer),Su=5123;function _a(F){for(var X=Le.allocType(Su,F.length),re=0;re<F.length;++re)if(isNaN(F[re]))X[re]=65535;else if(F[re]===1/0)X[re]=31744;else if(F[re]===-1/0)X[re]=64512;else{Df[0]=F[re];var Fe=$f[0],He=Fe>>>31<<15,Pe=(Fe<<1>>>24)-127,Re=Fe>>13&(1<<10)-1;if(Pe<-24)X[re]=He;else if(Pe<-14){var ft=-14-Pe;X[re]=He+(Re+(1<<10)>>ft)}else Pe>15?X[re]=He+31744:X[re]=He+(Pe+15<<10)+Re}return X}function Li(F){return Array.isArray(F)||Mn(F)}var zo=34467,Yi=3553,vo=34067,Bo=34069,ja=6408,jo=6406,Sa=6407,Ea=6409,Eu=6410,zf=32854,Uo=32855,ll=36194,bs=32819,xs=32820,Ua=33635,Ha=34042,ia=6402,Ho=34041,Wo=35904,Aa=35906,go=36193,ws=33776,sl=33777,Ta=33778,fl=33779,cl=35986,_s=35987,Bf=34798,Ss=35840,d=35841,m=35842,A=35843,k=36196,D=5121,$=5123,j=5125,ae=5126,fe=10242,we=10243,Be=10497,ot=33071,ke=33648,Ge=10240,or=10241,yr=9728,nr=9729,hn=9984,sn=9985,si=9986,zr=9987,Sr=33170,Fn=4352,Br=4353,nn=4354,Ca=34046,dl=3317,Yn=37440,Wa=37441,Xn=37443,jn=37444,fi=33984,ci=[hn,si,sn,zr],Ln=[0,Ea,Eu,Sa,ja],Qn={};Qn[Ea]=Qn[jo]=Qn[ia]=1,Qn[Ho]=Qn[Eu]=2,Qn[Sa]=Qn[Wo]=3,Qn[ja]=Qn[Aa]=4;function Ai(F){return"[object "+F+"]"}var hl=Ai("HTMLCanvasElement"),Gr=Ai("OffscreenCanvas"),Ga=Ai("CanvasRenderingContext2D"),pl=Ai("ImageBitmap"),Au=Ai("HTMLImageElement"),jf=Ai("HTMLVideoElement"),vl=Object.keys(Po).concat([hl,Gr,Ga,pl,Au,jf]),Go=[];Go[D]=1,Go[ae]=4,Go[go]=2,Go[$]=2,Go[j]=4;var Cn=[];Cn[zf]=2,Cn[Uo]=2,Cn[ll]=2,Cn[Ho]=4,Cn[ws]=.5,Cn[sl]=.5,Cn[Ta]=1,Cn[fl]=1,Cn[cl]=.5,Cn[_s]=1,Cn[Bf]=1,Cn[Ss]=.5,Cn[d]=.25,Cn[m]=.5,Cn[A]=.25,Cn[k]=.5;function Uf(F){return Array.isArray(F)&&(F.length===0||typeof F[0]=="number")}function Hf(F){if(!Array.isArray(F))return!1;var X=F.length;return!(X===0||!Li(F[0]))}function mo(F){return Object.prototype.toString.call(F)}function Tu(F){return mo(F)===hl}function Wf(F){return mo(F)===Gr}function Td(F){return mo(F)===Ga}function Cd(F){return mo(F)===pl}function Cu(F){return mo(F)===Au}function Od(F){return mo(F)===jf}function qo(F){if(!F)return!1;var X=mo(F);return vl.indexOf(X)>=0?!0:Uf(F)||Hf(F)||Bn(F)}function Xi(F){return Po[Object.prototype.toString.call(F)]|0}function aa(F,X){var re=X.length;switch(F.type){case D:case $:case j:case ae:var Fe=Le.allocType(F.type,re);Fe.set(X),F.data=Fe;break;case go:F.data=_a(X);break}}function gl(F,X){return Le.allocType(F.type===go?ae:F.type,X)}function Es(F,X){F.type===go?(F.data=_a(X),Le.freeType(X)):F.data=X}function Gf(F,X,re,Fe,He,Pe){for(var Re=F.width,ft=F.height,ct=F.channels,vt=Re*ft*ct,Ot=gl(F,vt),Zt=0,Ht=0;Ht<ft;++Ht)for(var xt=0;xt<Re;++xt)for(var nt=0;nt<ct;++nt)Ot[Zt++]=X[re*xt+Fe*Ht+He*nt+Pe];Es(F,Ot)}function Oa(F,X,re,Fe,He,Pe){var Re;if(typeof Cn[F]<"u"?Re=Cn[F]:Re=Qn[F]*Go[X],Pe&&(Re*=6),He){for(var ft=0,ct=re;ct>=1;)ft+=Re*ct*ct,ct/=2;return ft}else return Re*re*Fe}function Zr(F,X,re,Fe,He,Pe,Re){var ft={"don't care":Fn,"dont care":Fn,nice:nn,fast:Br},ct={repeat:Be,clamp:ot,mirror:ke},vt={nearest:yr,linear:nr},Ot=r({mipmap:zr,"nearest mipmap nearest":hn,"linear mipmap nearest":sn,"nearest mipmap linear":si,"linear mipmap linear":zr},vt),Zt={none:0,browser:jn},Ht={uint8:D,rgba4:bs,rgb565:Ua,"rgb5 a1":xs},xt={alpha:jo,luminance:Ea,"luminance alpha":Eu,rgb:Sa,rgba:ja,rgba4:zf,"rgb5 a1":Uo,rgb565:ll},nt={};X.ext_srgb&&(xt.srgb=Wo,xt.srgba=Aa),X.oes_texture_float&&(Ht.float32=Ht.float=ae),X.oes_texture_half_float&&(Ht.float16=Ht["half float"]=go),X.webgl_depth_texture&&(r(xt,{depth:ia,"depth stencil":Ho}),r(Ht,{uint16:$,uint32:j,"depth stencil":Ha})),X.webgl_compressed_texture_s3tc&&r(nt,{"rgb s3tc dxt1":ws,"rgba s3tc dxt1":sl,"rgba s3tc dxt3":Ta,"rgba s3tc dxt5":fl}),X.webgl_compressed_texture_atc&&r(nt,{"rgb atc":cl,"rgba atc explicit alpha":_s,"rgba atc interpolated alpha":Bf}),X.webgl_compressed_texture_pvrtc&&r(nt,{"rgb pvrtc 4bppv1":Ss,"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(zo));Object.keys(nt).forEach(function(K){var Ne=nt[K];xe.indexOf(Ne)>=0&&(xt[K]=Ne)});var ze=Object.keys(xt);re.textureFormats=ze;var lt=[];Object.keys(xt).forEach(function(K){var Ne=xt[K];lt[Ne]=K});var ht=[];Object.keys(Ht).forEach(function(K){var Ne=Ht[K];ht[Ne]=K});var Qe=[];Object.keys(vt).forEach(function(K){var Ne=vt[K];Qe[Ne]=K});var Nt=[];Object.keys(Ot).forEach(function(K){var Ne=Ot[K];Nt[Ne]=K});var St=[];Object.keys(ct).forEach(function(K){var Ne=ct[K];St[Ne]=K});var Kt=ze.reduce(function(K,Ne){var Me=xt[Ne];return Me===Ea||Me===jo||Me===Ea||Me===Eu||Me===ia||Me===Ho||X.ext_srgb&&(Me===Wo||Me===Aa)?K[Me]=Me:Me===Uo||Ne.indexOf("rgba")>=0?K[Me]=ja:K[Me]=Sa,K},{});function Ke(){this.internalformat=ja,this.format=ja,this.type=D,this.compressed=!1,this.premultiplyAlpha=!1,this.flipY=!1,this.unpackAlignment=1,this.colorSpace=jn,this.width=0,this.height=0,this.channels=0}function We(K,Ne){K.internalformat=Ne.internalformat,K.format=Ne.format,K.type=Ne.type,K.compressed=Ne.compressed,K.premultiplyAlpha=Ne.premultiplyAlpha,K.flipY=Ne.flipY,K.unpackAlignment=Ne.unpackAlignment,K.colorSpace=Ne.colorSpace,K.width=Ne.width,K.height=Ne.height,K.channels=Ne.channels}function It(K,Ne){if(!(typeof Ne!="object"||!Ne)){if("premultiplyAlpha"in Ne&&(K.premultiplyAlpha=Ne.premultiplyAlpha),"flipY"in Ne&&(K.flipY=Ne.flipY),"alignment"in Ne&&(K.unpackAlignment=Ne.alignment),"colorSpace"in Ne&&(K.colorSpace=Zt[Ne.colorSpace]),"type"in Ne){var Me=Ne.type;K.type=Ht[Me]}var qt=K.width,Nr=K.height,vn=K.channels,Vt=!1;"shape"in Ne?(qt=Ne.shape[0],Nr=Ne.shape[1],Ne.shape.length===3&&(vn=Ne.shape[2],Vt=!0)):("radius"in Ne&&(qt=Nr=Ne.radius),"width"in Ne&&(qt=Ne.width),"height"in Ne&&(Nr=Ne.height),"channels"in Ne&&(vn=Ne.channels,Vt=!0)),K.width=qt|0,K.height=Nr|0,K.channels=vn|0;var G=!1;if("format"in Ne){var Q=Ne.format,oe=K.internalformat=xt[Q];K.format=Kt[oe],Q in Ht&&("type"in Ne||(K.type=Ht[Q])),Q in nt&&(K.compressed=!0),G=!0}!Vt&&G?K.channels=Qn[K.format]:Vt&&!G&&K.channels!==Ln[K.format]&&(K.format=K.internalformat=Ln[K.channels])}}function $e(K){F.pixelStorei(Yn,K.flipY),F.pixelStorei(Wa,K.premultiplyAlpha),F.pixelStorei(Xn,K.colorSpace),F.pixelStorei(dl,K.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(K,Ne){var Me=null;if(qo(Ne)?Me=Ne:Ne&&(It(K,Ne),"x"in Ne&&(K.xOffset=Ne.x|0),"y"in Ne&&(K.yOffset=Ne.y|0),qo(Ne.data)&&(Me=Ne.data)),Ne.copy){var qt=He.viewportWidth,Nr=He.viewportHeight;K.width=K.width||qt-K.xOffset,K.height=K.height||Nr-K.yOffset,K.needsCopy=!0}else if(!Me)K.width=K.width||1,K.height=K.height||1,K.channels=K.channels||4;else if(Mn(Me))K.channels=K.channels||4,K.data=Me,!("type"in Ne)&&K.type===D&&(K.type=Xi(Me));else if(Uf(Me))K.channels=K.channels||4,aa(K,Me),K.alignment=1,K.needsFree=!0;else if(Bn(Me)){var vn=Me.data;!Array.isArray(vn)&&K.type===D&&(K.type=Xi(vn));var Vt=Me.shape,G=Me.stride,Q,oe,Oe,Ce,_e,be;Vt.length===3?(Oe=Vt[2],be=G[2]):(Oe=1,be=1),Q=Vt[0],oe=Vt[1],Ce=G[0],_e=G[1],K.alignment=1,K.width=Q,K.height=oe,K.channels=Oe,K.format=K.internalformat=Ln[Oe],K.needsFree=!0,Gf(K,vn,Ce,_e,be,Me.offset)}else if(Tu(Me)||Wf(Me)||Td(Me))Tu(Me)||Wf(Me)?K.element=Me:K.element=Me.canvas,K.width=K.element.width,K.height=K.element.height,K.channels=4;else if(Cd(Me))K.element=Me,K.width=Me.width,K.height=Me.height,K.channels=4;else if(Cu(Me))K.element=Me,K.width=Me.naturalWidth,K.height=Me.naturalHeight,K.channels=4;else if(Od(Me))K.element=Me,K.width=Me.videoWidth,K.height=Me.videoHeight,K.channels=4;else if(Hf(Me)){var me=K.width||Me[0].length,Z=K.height||Me.length,de=K.channels;Li(Me[0][0])?de=de||Me[0][0].length:de=de||1;for(var ne=Pr.shape(Me),Ae=1,Ue=0;Ue<ne.length;++Ue)Ae*=ne[Ue];var Je=gl(K,Ae);Pr.flatten(Me,ne,"",Je),Es(K,Je),K.alignment=1,K.width=me,K.height=Z,K.channels=de,K.format=K.internalformat=Ln[de],K.needsFree=!0}K.type===ae||K.type}function Jt(K,Ne,Me){var qt=K.element,Nr=K.data,vn=K.internalformat,Vt=K.format,G=K.type,Q=K.width,oe=K.height;$e(K),qt?F.texImage2D(Ne,Me,Vt,Vt,G,qt):K.compressed?F.compressedTexImage2D(Ne,Me,vn,Q,oe,0,Nr):K.needsCopy?(Fe(),F.copyTexImage2D(Ne,Me,Vt,K.xOffset,K.yOffset,Q,oe,0)):F.texImage2D(Ne,Me,Vt,Q,oe,0,Vt,G,Nr||null)}function Cr(K,Ne,Me,qt,Nr){var vn=K.element,Vt=K.data,G=K.internalformat,Q=K.format,oe=K.type,Oe=K.width,Ce=K.height;$e(K),vn?F.texSubImage2D(Ne,Nr,Me,qt,Q,oe,vn):K.compressed?F.compressedTexSubImage2D(Ne,Nr,Me,qt,G,Oe,Ce,Vt):K.needsCopy?(Fe(),F.copyTexSubImage2D(Ne,Nr,Me,qt,K.xOffset,K.yOffset,Oe,Ce)):F.texSubImage2D(Ne,Nr,Me,qt,Oe,Ce,Q,oe,Vt)}var $t=[];function ur(){return $t.pop()||new kt}function Tt(K){K.needsFree&&Le.freeType(K.data),kt.call(K),$t.push(K)}function Or(){Ke.call(this),this.genMipmaps=!1,this.mipmapHint=Fn,this.mipmask=0,this.images=Array(16)}function Lr(K,Ne,Me){var qt=K.images[0]=ur();K.mipmask=1,qt.width=K.width=Ne,qt.height=K.height=Me,qt.channels=K.channels=4}function jr(K,Ne){var Me=null;if(qo(Ne))Me=K.images[0]=ur(),We(Me,K),pt(Me,Ne),K.mipmask=1;else if(It(K,Ne),Array.isArray(Ne.mipmap))for(var qt=Ne.mipmap,Nr=0;Nr<qt.length;++Nr)Me=K.images[Nr]=ur(),We(Me,K),Me.width>>=Nr,Me.height>>=Nr,pt(Me,qt[Nr]),K.mipmask|=1<<Nr;else Me=K.images[0]=ur(),We(Me,K),pt(Me,Ne),K.mipmask=1;We(K,K.images[0]),K.compressed&&(K.internalformat===ws||K.internalformat===sl||K.internalformat===Ta||K.internalformat)}function ei(K,Ne){for(var Me=K.images,qt=0;qt<Me.length;++qt){if(!Me[qt])return;Jt(Me[qt],Ne,qt)}}var Dr=[];function ua(){var K=Dr.pop()||new Or;Ke.call(K),K.mipmask=0;for(var Ne=0;Ne<16;++Ne)K.images[Ne]=null;return K}function un(K){for(var Ne=K.images,Me=0;Me<Ne.length;++Me)Ne[Me]&&Tt(Ne[Me]),Ne[Me]=null;Dr.push(K)}function Ci(){this.minFilter=yr,this.magFilter=yr,this.wrapS=ot,this.wrapT=ot,this.anisotropic=1,this.genMipmaps=!1,this.mipmapHint=Fn}function la(K,Ne){if("min"in Ne){var Me=Ne.min;K.minFilter=Ot[Me],ci.indexOf(K.minFilter)>=0&&!("faces"in Ne)&&(K.genMipmaps=!0)}if("mag"in Ne){var qt=Ne.mag;K.magFilter=vt[qt]}var Nr=K.wrapS,vn=K.wrapT;if("wrap"in Ne){var Vt=Ne.wrap;typeof Vt=="string"?Nr=vn=ct[Vt]:Array.isArray(Vt)&&(Nr=ct[Vt[0]],vn=ct[Vt[1]])}else{if("wrapS"in Ne){var G=Ne.wrapS;Nr=ct[G]}if("wrapT"in Ne){var Q=Ne.wrapT;vn=ct[Q]}}if(K.wrapS=Nr,K.wrapT=vn,"anisotropic"in Ne&&(Ne.anisotropic,K.anisotropic=Ne.anisotropic),"mipmap"in Ne){var oe=!1;switch(typeof Ne.mipmap){case"string":K.mipmapHint=ft[Ne.mipmap],K.genMipmaps=!0,oe=!0;break;case"boolean":oe=K.genMipmaps=Ne.mipmap;break;case"object":K.genMipmaps=!1,oe=!0;break}oe&&!("min"in Ne)&&(K.minFilter=hn)}}function zi(K,Ne){F.texParameteri(Ne,or,K.minFilter),F.texParameteri(Ne,Ge,K.magFilter),F.texParameteri(Ne,fe,K.wrapS),F.texParameteri(Ne,we,K.wrapT),X.ext_texture_filter_anisotropic&&F.texParameteri(Ne,Ca,K.anisotropic),K.genMipmaps&&(F.hint(Sr,K.mipmapHint),F.generateMipmap(Ne))}var wo=0,ti={},ri=re.maxTextureUnits,wr=Array(ri).map(function(){return null});function Pa(K){Ke.call(this),this.mipmask=0,this.internalformat=ja,this.id=wo++,this.refCount=1,this.target=K,this.texture=F.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new Ci,Re.profile&&(this.stats={size:0})}function en(K){F.activeTexture(fi),F.bindTexture(K.target,K.texture)}function ni(){var K=wr[0];K?F.bindTexture(K.target,K.texture):F.bindTexture(Yi,null)}function Zi(K){var Ne=K.texture,Me=K.unit,qt=K.target;Me>=0&&(F.activeTexture(fi+Me),F.bindTexture(qt,null),wr[Me]=null),F.deleteTexture(Ne),K.texture=null,K.params=null,K.pixels=null,K.refCount=0,delete ti[K.id],Pe.textureCount--}r(Pa.prototype,{bind:function(){var K=this;K.bindCount+=1;var Ne=K.unit;if(Ne<0){for(var Me=0;Me<ri;++Me){var qt=wr[Me];if(qt){if(qt.bindCount>0)continue;qt.unit=-1}wr[Me]=K,Ne=Me;break}Re.profile&&Pe.maxTextureUnits<Ne+1&&(Pe.maxTextureUnits=Ne+1),K.unit=Ne,F.activeTexture(fi+Ne),F.bindTexture(K.target,K.texture)}return Ne},unbind:function(){this.bindCount-=1},decRef:function(){--this.refCount<=0&&Zi(this)}});function Ki(K,Ne){var Me=new Pa(Yi);ti[Me.id]=Me,Pe.textureCount++;function qt(Vt,G){var Q=Me.texInfo;Ci.call(Q);var oe=ua();return typeof Vt=="number"?typeof G=="number"?Lr(oe,Vt|0,G|0):Lr(oe,Vt|0,Vt|0):Vt?(la(Q,Vt),jr(oe,Vt)):Lr(oe,1,1),Q.genMipmaps&&(oe.mipmask=(oe.width<<1)-1),Me.mipmask=oe.mipmask,We(Me,oe),Me.internalformat=oe.internalformat,qt.width=oe.width,qt.height=oe.height,en(Me),ei(oe,Yi),zi(Q,Yi),ni(),un(oe),Re.profile&&(Me.stats.size=Oa(Me.internalformat,Me.type,oe.width,oe.height,Q.genMipmaps,!1)),qt.format=lt[Me.internalformat],qt.type=ht[Me.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,oe){var Oe=G|0,Ce=Q|0,_e=oe|0,be=ur();return We(be,Me),be.width=0,be.height=0,pt(be,Vt),be.width=be.width||(Me.width>>_e)-Oe,be.height=be.height||(Me.height>>_e)-Ce,en(Me),Cr(be,Yi,Oe,Ce,_e),ni(),Tt(be),qt}function vn(Vt,G){var Q=Vt|0,oe=G|0||Q;if(Q===Me.width&&oe===Me.height)return qt;qt.width=Me.width=Q,qt.height=Me.height=oe,en(Me);for(var Oe=0;Me.mipmask>>Oe;++Oe){var Ce=Q>>Oe,_e=oe>>Oe;if(!Ce||!_e)break;F.texImage2D(Yi,Oe,Me.format,Ce,_e,0,Me.format,Me.type,null)}return ni(),Re.profile&&(Me.stats.size=Oa(Me.internalformat,Me.type,Q,oe,!1,!1)),qt}return qt(K,Ne),qt.subimage=Nr,qt.resize=vn,qt._reglType="texture2d",qt._texture=Me,Re.profile&&(qt.stats=Me.stats),qt.destroy=function(){Me.decRef()},qt}function Er(K,Ne,Me,qt,Nr,vn){var Vt=new Pa(vo);ti[Vt.id]=Vt,Pe.cubeCount++;var G=new Array(6);function Q(Ce,_e,be,me,Z,de){var ne,Ae=Vt.texInfo;for(Ci.call(Ae),ne=0;ne<6;++ne)G[ne]=ua();if(typeof Ce=="number"||!Ce){var Ue=Ce|0||1;for(ne=0;ne<6;++ne)Lr(G[ne],Ue,Ue)}else if(typeof Ce=="object")if(_e)jr(G[0],Ce),jr(G[1],_e),jr(G[2],be),jr(G[3],me),jr(G[4],Z),jr(G[5],de);else if(la(Ae,Ce),It(Vt,Ce),"faces"in Ce){var Je=Ce.faces;for(ne=0;ne<6;++ne)We(G[ne],Vt),jr(G[ne],Je[ne])}else for(ne=0;ne<6;++ne)jr(G[ne],Ce);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,en(Vt),ne=0;ne<6;++ne)ei(G[ne],Bo+ne);for(zi(Ae,vo),ni(),Re.profile&&(Vt.stats.size=Oa(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],ne=0;ne<6;++ne)un(G[ne]);return Q}function oe(Ce,_e,be,me,Z){var de=be|0,ne=me|0,Ae=Z|0,Ue=ur();return We(Ue,Vt),Ue.width=0,Ue.height=0,pt(Ue,_e),Ue.width=Ue.width||(Vt.width>>Ae)-de,Ue.height=Ue.height||(Vt.height>>Ae)-ne,en(Vt),Cr(Ue,Bo+Ce,de,ne,Ae),ni(),Tt(Ue),Q}function Oe(Ce){var _e=Ce|0;if(_e!==Vt.width){Q.width=Vt.width=_e,Q.height=Vt.height=_e,en(Vt);for(var be=0;be<6;++be)for(var me=0;Vt.mipmask>>me;++me)F.texImage2D(Bo+be,me,Vt.format,_e>>me,_e>>me,0,Vt.format,Vt.type,null);return ni(),Re.profile&&(Vt.stats.size=Oa(Vt.internalformat,Vt.type,Q.width,Q.height,!1,!0)),Q}}return Q(K,Ne,Me,qt,Nr,vn),Q.subimage=oe,Q.resize=Oe,Q._reglType="textureCube",Q._texture=Vt,Re.profile&&(Q.stats=Vt.stats),Q.destroy=function(){Vt.decRef()},Q}function $r(){for(var K=0;K<ri;++K)F.activeTexture(fi+K),F.bindTexture(Yi,null),wr[K]=null;Pn(ti).forEach(Zi),Pe.cubeCount=0,Pe.textureCount=0}Re.profile&&(Pe.getTotalTextureSize=function(){var K=0;return Object.keys(ti).forEach(function(Ne){K+=ti[Ne].stats.size}),K});function fn(){for(var K=0;K<ri;++K){var Ne=wr[K];Ne&&(Ne.bindCount=0,Ne.unit=-1,wr[K]=null)}Pn(ti).forEach(function(Me){Me.texture=F.createTexture(),F.bindTexture(Me.target,Me.texture);for(var qt=0;qt<32;++qt)if((Me.mipmask&1<<qt)!==0)if(Me.target===Yi)F.texImage2D(Yi,qt,Me.internalformat,Me.width>>qt,Me.height>>qt,0,Me.internalformat,Me.type,null);else for(var Nr=0;Nr<6;++Nr)F.texImage2D(Bo+Nr,qt,Me.internalformat,Me.width>>qt,Me.height>>qt,0,Me.internalformat,Me.type,null);zi(Me.texInfo,Me.target)})}function ii(){for(var K=0;K<ri;++K){var Ne=wr[K];Ne&&(Ne.bindCount=0,Ne.unit=-1,wr[K]=null),F.activeTexture(fi+K),F.bindTexture(Yi,null),F.bindTexture(vo,null)}}return{create2D:Ki,createCube:Er,clear:$r,getTexture:function(K){return null},restore:fn,refresh:ii}}var Qi=36161,di=32854,Di=32855,Ou=36194,As=33189,qf=36168,Vf=34041,ml=35907,qa=34836,yl=34842,Ts=34843,hi=[];hi[di]=2,hi[Di]=2,hi[Ou]=2,hi[As]=2,hi[qf]=1,hi[Vf]=4,hi[ml]=4,hi[qa]=16,hi[yl]=8,hi[Ts]=6;function ku(F,X,re){return hi[F]*X*re}var bl=function(F,X,re,Fe,He){var Pe={rgba4:di,rgb565:Ou,"rgb5 a1":Di,depth:As,stencil:qf,"depth stencil":Vf};X.ext_srgb&&(Pe.srgba=ml),X.ext_color_buffer_half_float&&(Pe.rgba16f=yl,Pe.rgb16f=Ts),X.webgl_color_buffer_float&&(Pe.rgba32f=qa);var Re=[];Object.keys(Pe).forEach(function(xt){var nt=Pe[xt];Re[nt]=xt});var ft=0,ct={};function vt(xt){this.id=ft++,this.refCount=1,this.renderbuffer=xt,this.format=di,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(Qi,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=di;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=Pe[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(Qi,xe.renderbuffer),F.renderbufferStorage(Qi,Kt,Nt,St),He.profile&&(xe.stats.size=ku(xe.format,xe.width,xe.height)),ze.format=Re[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(Qi,xe.renderbuffer),F.renderbufferStorage(Qi,xe.format,Nt,St),He.profile&&(xe.stats.size=ku(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(){Pn(ct).forEach(function(xt){xt.renderbuffer=F.createRenderbuffer(),F.bindRenderbuffer(Qi,xt.renderbuffer),F.renderbufferStorage(Qi,xt.format,xt.width,xt.height)}),F.bindRenderbuffer(Qi,null)}return{create:Zt,clear:function(){Pn(ct).forEach(Ot)},restore:Ht}},ka=36160,Vo=36161,Va=3553,Ya=34069,Yo=36064,U=36096,le=36128,ye=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,re,Fe,He,Pe){var Re={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(ka,$e,kt.target,kt.texture._texture.texture,0):F.framebufferRenderbuffer(ka,$e,Vo,kt.renderbuffer._renderbuffer.renderbuffer))}function xt($e){var kt=Va,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=Vo),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(Va,$t,null)}else{var ur=He.create({width:$e,height:kt,format:Jt});return ur._renderbuffer.refCount=0,new vt(Vo,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,Pe.framebufferCount--,delete ht[$e.id]}function Kt($e){var kt;F.bindFramebuffer(ka,$e.framebuffer);var pt=$e.colorAttachments;for(kt=0;kt<pt.length;++kt)Ht(Yo+kt,pt[kt]);for(kt=pt.length;kt<re.maxColorAttachments;++kt)F.framebufferTexture2D(ka,Yo+kt,Va,null,0);F.framebufferTexture2D(ka,ye,Va,null,0),F.framebufferTexture2D(ka,U,Va,null,0),F.framebufferTexture2D(ka,le,Va,null,0),Ht(U,$e.depthAttachment),Ht(le,$e.stencilAttachment),Ht(ye,$e.depthStencilAttachment);var Jt=F.checkFramebufferStatus(ka);F.isContextLost(),F.bindFramebuffer(ka,Re.next?Re.next.framebuffer:null),Re.cur=Re.next,F.getError()}function Ke($e,kt){var pt=new Qe;Pe.framebufferCount++;function Jt($t,ur){var Tt,Or=0,Lr=0,jr=!0,ei=!0,Dr=null,ua=!0,un="rgba",Ci="uint8",la=1,zi=null,wo=null,ti=null,ri=!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 Pa=wr.shape;Or=Pa[0],Lr=Pa[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&&(la=wr.colorCount|0),"colorTexture"in wr&&(ua=!!wr.colorTexture,un="rgba4"),"colorType"in wr&&(Ci=wr.colorType,ua||(Ci==="half float"||Ci==="float16"?un="rgba16f":(Ci==="float"||Ci==="float32")&&(un="rgba32f"))),"colorFormat"in wr&&(un=wr.colorFormat,ft.indexOf(un)>=0?ua=!0:ct.indexOf(un)>=0&&(ua=!1))),("depthTexture"in wr||"depthStencilTexture"in wr)&&(ri=!!(wr.depthTexture||wr.depthStencilTexture)),"depth"in wr&&(typeof wr.depth=="boolean"?jr=wr.depth:(zi=wr.depth,ei=!1)),"stencil"in wr&&(typeof wr.stencil=="boolean"?ei=wr.stencil:(wo=wr.stencil,jr=!1)),"depthStencil"in wr&&(typeof wr.depthStencil=="boolean"?jr=ei=wr.depthStencil:(ti=wr.depthStencil,jr=!1,ei=!1))}var en=null,ni=null,Zi=null,Ki=null;if(Array.isArray(Dr))en=Dr.map(xt);else if(Dr)en=[xt(Dr)];else for(en=new Array(la),Tt=0;Tt<la;++Tt)en[Tt]=nt(Or,Lr,ua,un,Ci);for(Or=Or||en[0].width,Lr=Lr||en[0].height,zi?ni=xt(zi):jr&&!ei&&(ni=nt(Or,Lr,ri,"depth","uint32")),wo?Zi=xt(wo):ei&&!jr&&(Zi=nt(Or,Lr,!1,"stencil","uint8")),ti?Ki=xt(ti):!zi&&!wo&&ei&&jr&&(Ki=nt(Or,Lr,ri,"depth stencil","depth stencil")),Tt=0;Tt<en.length;++Tt)Zt(en[Tt]),en[Tt]&&en[Tt].texture&&dr[en[Tt].texture._texture.format]*lr[en[Tt].texture._texture.type];return Zt(ni),Zt(Zi),Zt(Ki),Nt(pt),pt.width=Or,pt.height=Lr,pt.colorAttachments=en,pt.depthAttachment=ni,pt.stencilAttachment=Zi,pt.depthStencilAttachment=Ki,Jt.color=en.map(xe),Jt.depth=xe(ni),Jt.stencil=xe(Zi),Jt.depthStencil=xe(Ki),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){Re.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",ei=1;if(typeof Cr=="number")Tt=Cr|0;else if(!Cr)Tt=1;else{var Dr=Cr;if("shape"in Dr){var ua=Dr.shape;Tt=ua[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&&(ei=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 un;if(Or)if(Array.isArray(Or))for(un=[],$t=0;$t<Or.length;++$t)un[$t]=Or[$t];else un=[Or];else{un=Array(ei);var Ci={radius:Tt,format:Lr,type:jr};for($t=0;$t<ei;++$t)un[$t]=Fe.createCube(Ci)}for(ur.color=Array(un.length),$t=0;$t<un.length;++$t){var la=un[$t];Tt=Tt||la.width,ur.color[$t]={target:Ya,data:un[$t]}}for($t=0;$t<6;++$t){for(var zi=0;zi<un.length;++zi)ur.color[zi].target=Ya+$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:un})}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(){Re.cur=null,Re.next=null,Re.dirty=!0,Pn(ht).forEach(function($e){$e.framebuffer=F.createFramebuffer(),Kt($e)})}return r(Re,{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(){Pn(ht).forEach(St)},restore:It})}var Mr=5126,Xr=34962,cr=34963;function yn(){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 Un(F,X,re,Fe,He,Pe,Re){for(var ft=re.maxAttributes,ct=new Array(ft),vt=0;vt<ft;++vt)ct[vt]=new yn;var Ot=0,Zt={},Ht={Record:yn,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))}Re.elements?F.bindBuffer(cr,Re.elements.buffer.buffer):F.bindBuffer(cr,null)}Ht.currentVAO=Ke}}function Qe(){Pn(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=Pe.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&&Pn(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):Pe.getElements($e.elements)?(We.elements=$e.elements,We.ownsElements=!1):(We.elements=Pe.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=Tn[$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 yn,Or=ur.data||ur;if(Array.isArray(Or)||Mn(Or)||Bn(Or)){var Lr;We.buffers[$t]&&(Lr=We.buffers[$t],Mn(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=Io[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 Zn=35632,an=35633,Mu=35718,yo=35721;function pi(F,X,re,Fe){var He={},Pe={};function Re(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===Zn?He:Pe,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(Zn,xe.fragId),St=ct(an,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,Mu);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 Re(kt,X.id(kt),F.getUniformLocation(Kt,kt),Qe))}else ft(It,new Re(Qe.name,X.id(Qe.name),F.getUniformLocation(Kt,Qe.name),Qe));var pt=F.getProgramParameter(Kt,yo);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 Re(Qe.name,X.id(Qe.name),F.getAttribLocation(Kt,Qe.name),Qe))}Fe.profile&&(re.getMaxUniformsCount=function(){var xe=0;return Ot.forEach(function(ze){ze.stats.uniformsCount>xe&&(xe=ze.stats.uniformsCount)}),xe},re.getMaxAttributesCount=function(){var xe=0;return Ot.forEach(function(ze){ze.stats.attributesCount>xe&&(xe=ze.stats.attributesCount)}),xe});function nt(){He={},Pe={};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);Pn(He).forEach(xe),He={},Pn(Pe).forEach(xe),Pe={},Ot.forEach(function(ze){F.deleteProgram(ze.program)}),Ot.length=0,vt={},re.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 re.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),re.shaderCount--}Qe[St.vertId].refCount<=0&&(F.deleteShader(Pe[St.vertId]),delete Pe[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 fv=6408,kd=5121,Km=3333,Jm=5126;function cv(F,X,re,Fe,He,Pe,Re){function ft(Ot){var Zt;X.next===null?Zt=kd:Zt=X.next.colorAttachments[0].texture._texture.type;var Ht=0,xt=0,nt=Fe.framebufferWidth,xe=Fe.framebufferHeight,ze=null;Mn(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),re();var lt=nt*xe*4;return ze||(Zt===kd?ze=new Uint8Array(lt):Zt===Jm&&(ze=ze||new Float32Array(lt))),F.pixelStorei(Km,4),F.readPixels(Ht,xt,nt,xe,fv,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 dv(F){return Md(hv(Pd(F)))}function hv(F){return ty(ny(ey(F),F.length*8))}function Md(F){for(var X="0123456789abcdef",re="",Fe,He=0;He<F.length;He++)Fe=F.charCodeAt(He),re+=X.charAt(Fe>>>4&15)+X.charAt(Fe&15);return re}function Pd(F){for(var X="",re=-1,Fe,He;++re<F.length;)Fe=F.charCodeAt(re),He=re+1<F.length?F.charCodeAt(re+1):0,55296<=Fe&&Fe<=56319&&56320<=He&&He<=57343&&(Fe=65536+((Fe&1023)<<10)+(He&1023),re++),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 ey(F){for(var X=Array(F.length>>2),re=0;re<X.length;re++)X[re]=0;for(var re=0;re<F.length*8;re+=8)X[re>>5]|=(F.charCodeAt(re/8)&255)<<24-re%32;return X}function ty(F){for(var X="",re=0;re<F.length*32;re+=8)X+=String.fromCharCode(F[re>>5]>>>24-re%32&255);return X}function Xa(F,X){return F>>>X|F<<32-X}function pv(F,X){return F>>>X}function ry(F,X,re){return F&X^~F&re}function vv(F,X,re){return F&X^F&re^X&re}function gv(F){return Xa(F,2)^Xa(F,13)^Xa(F,22)}function Nd(F){return Xa(F,6)^Xa(F,11)^Xa(F,25)}function mv(F){return Xa(F,7)^Xa(F,18)^pv(F,3)}function Yf(F){return Xa(F,17)^Xa(F,19)^pv(F,10)}var Xf=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 ny(F,X){var re=new Array(1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225),Fe=new Array(64),He,Pe,Re,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=re[0],Pe=re[1],Re=re[2],ft=re[3],ct=re[4],vt=re[5],Ot=re[6],Zt=re[7],xt=0;xt<64;xt++)xt<16?Fe[xt]=F[xt+Ht]:Fe[xt]=Nn(Nn(Nn(Yf(Fe[xt-2]),Fe[xt-7]),mv(Fe[xt-15])),Fe[xt-16]),nt=Nn(Nn(Nn(Nn(Zt,Nd(ct)),ry(ct,vt,Ot)),Xf[xt]),Fe[xt]),xe=Nn(gv(He),vv(He,Pe,Re)),Zt=Ot,Ot=vt,vt=ct,ct=Nn(ft,nt),ft=Re,Re=Pe,Pe=He,He=Nn(nt,xe);re[0]=Nn(He,re[0]),re[1]=Nn(Pe,re[1]),re[2]=Nn(Re,re[2]),re[3]=Nn(ft,re[3]),re[4]=Nn(ct,re[4]),re[5]=Nn(vt,re[5]),re[6]=Nn(Ot,re[6]),re[7]=Nn(Zt,re[7])}return re}function Nn(F,X){var re=(F&65535)+(X&65535),Fe=(F>>16)+(X>>16)+(re>>16);return Fe<<16|re&65535}function Pu(F){return Array.prototype.slice.call(F)}function xl(F){return Pu(F).join("")}function iy(F){var X=F&&F.cache,re=0,Fe=[],He=[],Pe=[];function Re(nt,xe){var ze=xe&&xe.stable;if(!ze){for(var lt=0;lt<He.length;++lt)if(He[lt]===nt&&!Pe[lt])return Fe[lt]}var ht="g"+re++;return Fe.push(ht),He.push(nt),Pe.push(ze),ht}function ft(){var nt=[];function xe(){nt.push.apply(nt,Pu(arguments))}var ze=[];function lt(){var ht="v"+re++;return ze.push(ht),arguments.length>0&&(nt.push(ht,"="),nt.push.apply(nt,Pu(arguments)),nt.push(";")),ht}return r(xe,{def:lt,toString:function(){return xl([ze.length>0?"var "+ze.join(",")+";":"",xl(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,Pu(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=xl(arguments),xe=ct(),ze=ct(),lt=xe.toString,ht=ze.toString;return r(xe,{then:function(){return xe.apply(xe,Pu(arguments)),this},else:function(){return ze.apply(ze,Pu(arguments)),this},toString:function(){var Qe=ht();return Qe&&(Qe="else{"+Qe+"}"),xl(["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 xl(["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=xl(nt).replace(/;/g,`;
|
|
283
|
-
`).replace(/}/g,`}
|
|
284
|
-
`).replace(/{/g,`{
|
|
285
|
-
`),ze;if(X&&(ze=dv(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{window:Ot,link:Re,block:ft,proc:Ht,scope:ct,cond:vt,compile:xt}}var Nu="xyzw".split(""),Rd=5121,Ru=1,Cs=2,Os=0,Qf=1,Id=2,Zf=3,Iu=4,Fd=5,yv=6,bv="dither",xv="blend.enable",wv="blend.color",Kf="blend.equation",Jf="blend.func",Ld="depth.enable",Dd="depth.func",_v="depth.range",ks="depth.mask",$d="colorMask",Sv="cull.enable",zd="cull.face",ec="frontFace",Bd="lineWidth",Ms="polygonOffset.enable",wl="polygonOffset.offset",jd="sample.alpha",Ud="sample.enable",Ps="sample.coverage",oa="stencil.enable",Hd="stencil.mask",Wd="stencil.func",Ns="stencil.opFront",Fu="stencil.opBack",Ev="scissor.enable",tc="scissor.box",bo="viewport",Lu="profile",Xo="framebuffer",Rs="vert",rc="frag",_l="elements",Sl="primitive",Kn="count",nc="offset",ic="instances",Ma="vao",Is="Width",Fs="Height",El=Xo+Is,Al=Xo+Fs,ay=bo+Is,Av=bo+Fs,Gd="drawingBuffer",qd=Gd+Is,Vd=Gd+Fs,oy=[Jf,Kf,Wd,Ns,Fu,Ps,bo,tc,wl],Du=34962,Yd=34963,uy=2884,ly=3042,Tv=3024,Cv=2960,ac=2929,Ov=3089,oc=32823,kv=32926,Ls=32928,_n=5126,uc=35664,xo=35665,Tl=35666,lc=5124,Xd=35667,Ds=35668,Cl=35669,Qd=35670,Zd=35671,Kd=35672,Jd=35673,eh=35674,$s=35675,th=35676,rh=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,ce=513,pe=36160,V=36064,te={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)||Mn(F)||Bn(F)}function qe(F){return F.sort(function(X,re){return X===bo?-1:re===bo?1:X<re?-1:1})}function tt(F,X,re,Fe){this.thisDep=F,this.contextDep=X,this.propDep=re,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 re=F.type;if(re===Os){var Fe=F.data.length;return new tt(!0,Fe>=1,Fe>=2,X)}else if(re===Iu){var He=F.data;return new tt(He.thisDep,He.contextDep,He.propDep,X)}else{if(re===Fd)return new tt(!1,!1,!1,X);if(re===yv){for(var Pe=!1,Re=!1,ft=!1,ct=0;ct<F.data.length;++ct){var vt=F.data[ct];if(vt.type===Qf)ft=!0;else if(vt.type===Id)Re=!0;else if(vt.type===Zf)Pe=!0;else if(vt.type===Os){Pe=!0;var Ot=vt.data;Ot>=1&&(Re=!0),Ot>=2&&(ft=!0)}else vt.type===Iu&&(Pe=Pe||vt.data.thisDep,Re=Re||vt.data.contextDep,ft=ft||vt.data.propDep)}return new tt(Pe,Re,ft,X)}else return new tt(re===Zf,re===Id,re===Qf,X)}}var Rt=new tt(!1,!1,!1,function(){});function vr(F,X,re,Fe,He,Pe,Re,ft,ct,vt,Ot,Zt,Ht,xt,nt,xe){var ze=vt.Record,lt={add:32774,subtract:32778,"reverse subtract":32779};re.ext_blend_minmax&&(lt.min=N,lt.max=O);var ht=re.angle_instanced_arrays,Qe=re.webgl_draw_buffers,Nt=re.oes_vertex_array_object,St={dirty:!0,profile:xe.profile},Kt={},Ke=[],We={},It={};function $e(G){return G.replace(".","_")}function kt(G,Q,oe){var Oe=$e(G);Ke.push(G),Kt[Oe]=St[Oe]=!!oe,We[Oe]=Q}function pt(G,Q,oe){var Oe=$e(G);Ke.push(G),Array.isArray(oe)?(St[Oe]=oe.slice(),Kt[Oe]=oe.slice()):St[Oe]=Kt[Oe]=oe,It[Oe]=Q}function Jt(G){return!!isNaN(G)}kt(bv,Tv),kt(xv,ly),pt(wv,"blendColor",[0,0,0,0]),pt(Kf,"blendEquationSeparate",[W,W]),pt(Jf,"blendFuncSeparate",[H,B,H,B]),kt(Ld,ac,!0),pt(Dd,"depthFunc",ce),pt(_v,"depthRange",[0,1]),pt(ks,"depthMask",!0),pt($d,$d,[!0,!0,!0,!0]),kt(Sv,uy),pt(zd,"cullFace",g),pt(ec,ec,w),pt(Bd,Bd,1),kt(Ms,oc),pt(wl,"polygonOffset",[0,0]),kt(jd,kv),kt(Ud,Ls),pt(Ps,"sampleCoverage",[1,!1]),kt(oa,Cv),pt(Hd,"stencilMask",-1),pt(Wd,"stencilFunc",[I,0,-1]),pt(Ns,"stencilOpSeparate",[h,z,z,z]),pt(Fu,"stencilOpSeparate",[g,z,z,z]),kt(Ev,Ov),pt(tc,"scissor",[0,0,F.drawingBufferWidth,F.drawingBufferHeight]),pt(bo,bo,[0,0,F.drawingBufferWidth,F.drawingBufferHeight]);var Cr={gl:F,context:Ht,strings:X,next:Kt,current:St,draw:Zt,elements:Pe,buffer:He,shader:Ot,attributes:vt.state,vao:vt,uniforms:ct,framebuffer:ft,extensions:re,timer:xt,isBufferArgs:se},$t={primTypes:Tn,compareFuncs:ie,blendFuncs:te,blendEquations:lt,stencilOps:ve,glTypes:Io,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=iy({cache:nt}),Q=G.link;G.global,G.id=ur++,G.batchId="0";var oe=Q(Cr),Oe=G.shared={props:"a0"};Object.keys(Cr).forEach(function(Z){Oe[Z]=window.def(oe,".",Z)});var Ce=G.next={},_e=G.current={};Object.keys(It).forEach(function(Z){Array.isArray(St[Z])&&(Ce[Z]=window.def(Oe.next,".",Z),_e[Z]=window.def(Oe.current,".",Z))});var be=G.constants={};Object.keys($t).forEach(function(Z){be[Z]=window.def(JSON.stringify($t[Z]))}),G.invoke=function(Z,de){switch(de.type){case Os:var ne=["this",Oe.context,Oe.props,G.batchId];return Z.def(Q(de.data),".call(",ne.slice(0,Math.max(de.data.length+1,4)),")");case Qf:return Z.def(Oe.props,de.data);case Id:return Z.def(Oe.context,de.data);case Zf:return Z.def("this",de.data);case Iu:return de.data.append(G,Z),de.data.ref;case Fd:return de.data.toString();case yv:return de.data.map(function(Ae){return G.invoke(Z,Ae)})}},G.attribCache={};var me={};return G.scopeAttrib=function(Z){var de=X.id(Z);if(de in me)return me[de];var ne=vt.scope[de];ne||(ne=vt.scope[de]=new ze);var Ae=me[de]=Q(ne);return Ae},G}function Or(G){var Q=G.static,oe=G.dynamic,Oe;if(Lu in Q){var Ce=!!Q[Lu];Oe=rt(function(be,me){return Ce}),Oe.enable=Ce}else if(Lu in oe){var _e=oe[Lu];Oe=_t(_e,function(be,me){return be.invoke(me,_e)})}return Oe}function Lr(G,Q){var oe=G.static,Oe=G.dynamic;if(Xo in oe){var Ce=oe[Xo];return Ce?(Ce=ft.getFramebuffer(Ce),rt(function(be,me){var Z=be.link(Ce),de=be.shared;me.set(de.framebuffer,".next",Z);var ne=de.context;return me.set(ne,"."+El,Z+".width"),me.set(ne,"."+Al,Z+".height"),Z})):rt(function(be,me){var Z=be.shared;me.set(Z.framebuffer,".next","null");var de=Z.context;return me.set(de,"."+El,de+"."+qd),me.set(de,"."+Al,de+"."+Vd),"null"})}else if(Xo in Oe){var _e=Oe[Xo];return _t(_e,function(be,me){var Z=be.invoke(me,_e),de=be.shared,ne=de.framebuffer,Ae=me.def(ne,".getFramebuffer(",Z,")");me.set(ne,".next",Ae);var Ue=de.context;return me.set(Ue,"."+El,Ae+"?"+Ae+".width:"+Ue+"."+qd),me.set(Ue,"."+Al,Ae+"?"+Ae+".height:"+Ue+"."+Vd),Ae})}else return null}function jr(G,Q,oe){var Oe=G.static,Ce=G.dynamic;function _e(Z){if(Z in Oe){var de=Oe[Z],ne=!0,Ae=de.x|0,Ue=de.y|0,Je,rr;return"width"in de?Je=de.width|0:ne=!1,"height"in de?rr=de.height|0:ne=!1,new tt(!ne&&Q&&Q.thisDep,!ne&&Q&&Q.contextDep,!ne&&Q&&Q.propDep,function(er,Wt){var ir=er.shared.context,jt=Je;"width"in de||(jt=Wt.def(ir,".",El,"-",Ae));var Yt=rr;return"height"in de||(Yt=Wt.def(ir,".",Al,"-",Ue)),[Ae,Ue,jt,Yt]})}else if(Z in Ce){var Qt=Ce[Z],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,".",El,"-",Yt,")"),gn=Wt.def('"height" in ',ir,"?",ir,".height|0:","(",jt,".",Al,"-",Xt,")");return[Yt,Xt,br,gn]});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,".",El),Wt.def(ir,".",Al)]}):null}var be=_e(bo);if(be){var me=be;be=new tt(be.thisDep,be.contextDep,be.propDep,function(Z,de){var ne=me.append(Z,de),Ae=Z.shared.context;return de.set(Ae,"."+ay,ne[2]),de.set(Ae,"."+Av,ne[3]),ne})}return{viewport:be,scissor_box:_e(tc)}}function ei(G,Q){var oe=G.static,Oe=typeof oe[rc]=="string"&&typeof oe[Rs]=="string";if(Oe){if(Object.keys(Q.dynamic).length>0)return null;var Ce=Q.static,_e=Object.keys(Ce);if(_e.length>0&&typeof Ce[_e[0]]=="number"){for(var be=[],me=0;me<_e.length;++me)be.push([Ce[_e[me]]|0,_e[me]]);return be}}return null}function Dr(G,Q,oe){var Oe=G.static,Ce=G.dynamic;function _e(ne){if(ne in Oe){var Ae=X.id(Oe[ne]),Ue=rt(function(){return Ae});return Ue.id=Ae,Ue}else if(ne in Ce){var Je=Ce[ne];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(rc),me=_e(Rs),Z=null,de;return gt(be)&>(me)?(Z=Ot.program(me.id,be.id,null,oe),de=rt(function(ne,Ae){return ne.link(Z)})):de=new tt(be&&be.thisDep||me&&me.thisDep,be&&be.contextDep||me&&me.contextDep,be&&be.propDep||me&&me.propDep,function(ne,Ae){var Ue=ne.shared.shader,Je;be?Je=be.append(ne,Ae):Je=Ae.def(Ue,".",rc);var rr;me?rr=me.append(ne,Ae):rr=Ae.def(Ue,".",Rs);var Qt=Ue+".program("+rr+","+Je;return Ae.def(Qt+")")}),{frag:be,vert:me,progVar:de,program:Z}}function ua(G,Q){var oe=G.static,Oe=G.dynamic,Ce={},_e=!1;function be(){if(Ma in oe){var Wt=oe[Ma];return Wt!==null&&vt.getVAO(Wt)===null&&(Wt=vt.createVAO(Wt)),_e=!0,Ce.vao=Wt,rt(function(jt){var Yt=vt.getVAO(Wt);return Yt?jt.link(Yt):"null"})}else if(Ma in Oe){_e=!0;var ir=Oe[Ma];return _t(ir,function(jt,Yt){var Xt=jt.invoke(Yt,ir);return Yt.def(jt.shared.vao+".getVAO("+Xt+")")})}return null}var me=be(),Z=!1;function de(){if(_l in oe){var Wt=oe[_l];if(Ce.elements=Wt,se(Wt)){var ir=Ce.elements=Pe.create(Wt,!0);Wt=Pe.getElements(ir),Z=!0}else Wt&&(Wt=Pe.getElements(Wt),Z=!0);var jt=rt(function(Xt,br){if(Wt){var gn=Xt.link(Wt);return Xt.ELEMENTS=gn,gn}return Xt.ELEMENTS=null,null});return jt.value=Wt,jt}else if(_l in Oe){Z=!0;var Yt=Oe[_l];return _t(Yt,function(Xt,br){var gn=Xt.shared,sa=gn.isBufferArgs,$u=gn.elements,Ol=Xt.invoke(br,Yt),kl=br.def("null"),Qa=br.def(sa,"(",Ol,")"),nh=Xt.cond(Qa).then(kl,"=",$u,".createStream(",Ol,");").else(kl,"=",$u,".getElements(",Ol,");");return br.entry(nh),br.exit(Xt.cond(Qa).then($u,".destroyStream(",kl,");")),Xt.ELEMENTS=kl,kl})}else if(_e)return new tt(me.thisDep,me.contextDep,me.propDep,function(Xt,br){return br.def(Xt.shared.vao+".currentVAO?"+Xt.shared.elements+".getElements("+Xt.shared.vao+".currentVAO.elements):null")});return null}var ne=de();function Ae(){if(Sl in oe){var Wt=oe[Sl];return Ce.primitive=Wt,rt(function(jt,Yt){return Tn[Wt]})}else if(Sl in Oe){var ir=Oe[Sl];return _t(ir,function(jt,Yt){var Xt=jt.constants.primTypes,br=jt.invoke(Yt,ir);return Yt.def(Xt,"[",br,"]")})}else{if(Z)return gt(ne)?ne.value?rt(function(jt,Yt){return Yt.def(jt.ELEMENTS,".primType")}):rt(function(){return s}):new tt(ne.thisDep,ne.contextDep,ne.propDep,function(jt,Yt){var Xt=jt.ELEMENTS;return Yt.def(Xt,"?",Xt,".primType:",s)});if(_e)return new tt(me.thisDep,me.contextDep,me.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 oe){var jt=oe[Wt]|0;return ir?Ce.offset=jt:Ce.instances=jt,rt(function(Xt,br){return ir&&(Xt.OFFSET=jt),jt})}else if(Wt in Oe){var Yt=Oe[Wt];return _t(Yt,function(Xt,br){var gn=Xt.invoke(br,Yt);return ir&&(Xt.OFFSET=gn),gn})}else if(ir){if(Z)return rt(function(Xt,br){return Xt.OFFSET=0,0});if(_e)return new tt(me.thisDep,me.contextDep,me.propDep,function(Xt,br){return br.def(Xt.shared.vao+".currentVAO?"+Xt.shared.vao+".currentVAO.offset:0")})}else if(_e)return new tt(me.thisDep,me.contextDep,me.propDep,function(Xt,br){return br.def(Xt.shared.vao+".currentVAO?"+Xt.shared.vao+".currentVAO.instances:-1")});return null}var Je=Ue(nc,!0);function rr(){if(Kn in oe){var Wt=oe[Kn]|0;return Ce.count=Wt,rt(function(){return Wt})}else if(Kn in Oe){var ir=Oe[Kn];return _t(ir,function(br,gn){var sa=br.invoke(gn,ir);return sa})}else if(Z)if(gt(ne)){if(ne)return Je?new tt(Je.thisDep,Je.contextDep,Je.propDep,function(br,gn){var sa=gn.def(br.ELEMENTS,".vertCount-",br.OFFSET);return sa}):rt(function(br,gn){return gn.def(br.ELEMENTS,".vertCount")});var jt=rt(function(){return-1});return jt}else{var Yt=new tt(ne.thisDep||Je.thisDep,ne.contextDep||Je.contextDep,ne.propDep||Je.propDep,function(br,gn){var sa=br.ELEMENTS;return br.OFFSET?gn.def(sa,"?",sa,".vertCount-",br.OFFSET,":-1"):gn.def(sa,"?",sa,".vertCount:-1")});return Yt}else if(_e){var Xt=new tt(me.thisDep,me.contextDep,me.propDep,function(br,gn){return gn.def(br.shared.vao,".currentVAO?",br.shared.vao,".currentVAO.count:-1")});return Xt}return null}var Qt=Ae(),Ft=rr(),er=Ue(ic,!1);return{elements:ne,primitive:Qt,count:Ft,instances:er,offset:Je,vao:me,vaoActive:_e,elementsActive:Z,static:Ce}}function un(G,Q){var oe=G.static,Oe=G.dynamic,Ce={};return Ke.forEach(function(_e){var be=$e(_e);function me(Z,de){if(_e in oe){var ne=Z(oe[_e]);Ce[be]=rt(function(){return ne})}else if(_e in Oe){var Ae=Oe[_e];Ce[be]=_t(Ae,function(Ue,Je){return de(Ue,Je,Ue.invoke(Je,Ae))})}}switch(_e){case Sv:case xv:case bv:case oa:case Ld:case Ev:case Ms:case jd:case Ud:case ks:return me(function(Z){return Z},function(Z,de,ne){return ne});case Dd:return me(function(Z){return ie[Z]},function(Z,de,ne){var Ae=Z.constants.compareFuncs;return de.def(Ae,"[",ne,"]")});case _v:return me(function(Z){return Z},function(Z,de,ne){var Ae=de.def("+",ne,"[0]"),Ue=de.def("+",ne,"[1]");return[Ae,Ue]});case Jf:return me(function(Z){var de="srcRGB"in Z?Z.srcRGB:Z.src,ne="srcAlpha"in Z?Z.srcAlpha:Z.src,Ae="dstRGB"in Z?Z.dstRGB:Z.dst,Ue="dstAlpha"in Z?Z.dstAlpha:Z.dst;return[te[de],te[Ae],te[ne],te[Ue]]},function(Z,de,ne){var Ae=Z.constants.blendFuncs;function Ue(ir,jt){var Yt=de.def('"',ir,jt,'" in ',ne,"?",ne,".",ir,jt,":",ne,".",ir);return Yt}var Je=Ue("src","RGB"),rr=Ue("dst","RGB"),Qt=de.def(Ae,"[",Je,"]"),Ft=de.def(Ae,"[",Ue("src","Alpha"),"]"),er=de.def(Ae,"[",rr,"]"),Wt=de.def(Ae,"[",Ue("dst","Alpha"),"]");return[Qt,er,Ft,Wt]});case Kf:return me(function(Z){if(typeof Z=="string")return[lt[Z],lt[Z]];if(typeof Z=="object")return[lt[Z.rgb],lt[Z.alpha]]},function(Z,de,ne){var Ae=Z.constants.blendEquations,Ue=de.def(),Je=de.def(),rr=Z.cond("typeof ",ne,'==="string"');return rr.then(Ue,"=",Je,"=",Ae,"[",ne,"];"),rr.else(Ue,"=",Ae,"[",ne,".rgb];",Je,"=",Ae,"[",ne,".alpha];"),de(rr),[Ue,Je]});case wv:return me(function(Z){return Ie(4,function(de){return+Z[de]})},function(Z,de,ne){return Ie(4,function(Ae){return de.def("+",ne,"[",Ae,"]")})});case Hd:return me(function(Z){return Z|0},function(Z,de,ne){return de.def(ne,"|0")});case Wd:return me(function(Z){var de=Z.cmp||"keep",ne=Z.ref||0,Ae="mask"in Z?Z.mask:-1;return[ie[de],ne,Ae]},function(Z,de,ne){var Ae=Z.constants.compareFuncs,Ue=de.def('"cmp" in ',ne,"?",Ae,"[",ne,".cmp]",":",z),Je=de.def(ne,".ref|0"),rr=de.def('"mask" in ',ne,"?",ne,".mask|0:-1");return[Ue,Je,rr]});case Ns:case Fu:return me(function(Z){var de=Z.fail||"keep",ne=Z.zfail||"keep",Ae=Z.zpass||"keep";return[_e===Fu?g:h,ve[de],ve[ne],ve[Ae]]},function(Z,de,ne){var Ae=Z.constants.stencilOps;function Ue(Je){return de.def('"',Je,'" in ',ne,"?",Ae,"[",ne,".",Je,"]:",z)}return[_e===Fu?g:h,Ue("fail"),Ue("zfail"),Ue("zpass")]});case wl:return me(function(Z){var de=Z.factor|0,ne=Z.units|0;return[de,ne]},function(Z,de,ne){var Ae=de.def(ne,".factor|0"),Ue=de.def(ne,".units|0");return[Ae,Ue]});case zd:return me(function(Z){var de=0;return Z==="front"?de=h:Z==="back"&&(de=g),de},function(Z,de,ne){return de.def(ne,'==="front"?',h,":",g)});case Bd:return me(function(Z){return Z},function(Z,de,ne){return ne});case ec:return me(function(Z){return ge[Z]},function(Z,de,ne){return de.def(ne+'==="cw"?'+y+":"+w)});case $d:return me(function(Z){return Z.map(function(de){return!!de})},function(Z,de,ne){return Ie(4,function(Ae){return"!!"+ne+"["+Ae+"]"})});case Ps:return me(function(Z){var de="value"in Z?Z.value:1,ne=!!Z.invert;return[de,ne]},function(Z,de,ne){var Ae=de.def('"value" in ',ne,"?+",ne,".value:1"),Ue=de.def("!!",ne,".invert");return[Ae,Ue]})}}),Ce}function Ci(G,Q){var oe=G.static,Oe=G.dynamic,Ce={};return Object.keys(oe).forEach(function(_e){var be=oe[_e],me;if(typeof be=="number"||typeof be=="boolean")me=rt(function(){return be});else if(typeof be=="function"){var Z=be._reglType;Z==="texture2d"||Z==="textureCube"?me=rt(function(de){return de.link(be)}):(Z==="framebuffer"||Z==="framebufferCube")&&(me=rt(function(de){return de.link(be.color[0])}))}else Li(be)&&(me=rt(function(de){var ne=de.global.def("[",Ie(be.length,function(Ae){return be[Ae]}),"]");return ne}));me.value=be,Ce[_e]=me}),Object.keys(Oe).forEach(function(_e){var be=Oe[_e];Ce[_e]=_t(be,function(me,Z){return me.invoke(Z,be)})}),Ce}function la(G,Q){var oe=G.static,Oe=G.dynamic,Ce={};return Object.keys(oe).forEach(function(_e){var be=oe[_e],me=X.id(_e),Z=new ze;if(se(be))Z.state=Ru,Z.buffer=He.getBuffer(He.create(be,Du,!1,!0)),Z.type=0;else{var de=He.getBuffer(be);if(de)Z.state=Ru,Z.buffer=de,Z.type=0;else if("constant"in be){var ne=be.constant;Z.buffer="null",Z.state=Cs,typeof ne=="number"?Z.x=ne:Nu.forEach(function(er,Wt){Wt<ne.length&&(Z[er]=ne[Wt])})}else{se(be.buffer)?de=He.getBuffer(He.create(be.buffer,Du,!1,!0)):de=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=Io[be.type]);var Ft=be.divisor|0;Z.buffer=de,Z.state=Ru,Z.size=Je,Z.normalized=rr,Z.type=Qt||de.dtype,Z.offset=Ae,Z.stride=Ue,Z.divisor=Ft}}Ce[_e]=rt(function(er,Wt){var ir=er.attribCache;if(me in ir)return ir[me];var jt={isStream:!1};return Object.keys(Z).forEach(function(Yt){jt[Yt]=Z[Yt]}),Z.buffer&&(jt.buffer=er.link(Z.buffer),jt.type=jt.type||jt.buffer+".dtype"),ir[me]=jt,jt})}),Object.keys(Oe).forEach(function(_e){var be=Oe[_e];function me(Z,de){var ne=Z.invoke(de,be),Ae=Z.shared,Ue=Z.constants,Je=Ae.isBufferArgs,rr=Ae.buffer,Qt={isStream:de.def(!1)},Ft=new ze;Ft.state=Ru,Object.keys(Ft).forEach(function(jt){Qt[jt]=de.def(""+Ft[jt])});var er=Qt.buffer,Wt=Qt.type;de("if(",Je,"(",ne,")){",Qt.isStream,"=true;",er,"=",rr,".createStream(",Du,",",ne,");",Wt,"=",er,".dtype;","}else{",er,"=",rr,".getBuffer(",ne,");","if(",er,"){",Wt,"=",er,".dtype;",'}else if("constant" in ',ne,"){",Qt.state,"=",Cs,";","if(typeof "+ne+'.constant === "number"){',Qt[Nu[0]],"=",ne,".constant;",Nu.slice(1).map(function(jt){return Qt[jt]}).join("="),"=0;","}else{",Nu.map(function(jt,Yt){return Qt[jt]+"="+ne+".constant.length>"+Yt+"?"+ne+".constant["+Yt+"]:0;"}).join(""),"}}else{","if(",Je,"(",ne,".buffer)){",er,"=",rr,".createStream(",Du,",",ne,".buffer);","}else{",er,"=",rr,".getBuffer(",ne,".buffer);","}",Wt,'="type" in ',ne,"?",Ue.glTypes,"[",ne,".type]:",er,".dtype;",Qt.normalized,"=!!",ne,".normalized;");function ir(jt){de(Qt[jt],"=",ne,".",jt,"|0;")}return ir("size"),ir("offset"),ir("stride"),ir("divisor"),de("}}"),de.exit("if(",Qt.isStream,"){",rr,".destroyStream(",er,");","}"),Qt}Ce[_e]=_t(be,me)}),Ce}function zi(G){var Q=G.static,oe=G.dynamic,Oe={};return Object.keys(Q).forEach(function(Ce){var _e=Q[Ce];Oe[Ce]=rt(function(be,me){return typeof _e=="number"||typeof _e=="boolean"?""+_e:be.link(_e)})}),Object.keys(oe).forEach(function(Ce){var _e=oe[Ce];Oe[Ce]=_t(_e,function(be,me){return be.invoke(me,_e)})}),Oe}function wo(G,Q,oe,Oe,Ce){G.static,G.dynamic;var _e=ei(G,Q),be=Lr(G),me=jr(G,be),Z=ua(G),de=un(G),ne=Dr(G,Ce,_e);function Ae(er){var Wt=me[er];Wt&&(de[er]=Wt)}Ae(bo),Ae($e(tc));var Ue=Object.keys(de).length>0,Je={framebuffer:be,draw:Z,shader:ne,state:de,dirty:Ue,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}};if(Je.profile=Or(G),Je.uniforms=Ci(oe),Je.drawVAO=Je.scopeVAO=Z.vao,!Je.drawVAO&&ne.program&&!_e&&re.angle_instanced_arrays&&Z.static.elements){var rr=!0,Qt=ne.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:Z.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=la(Q),Je.context=zi(Oe),Je}function ti(G,Q,oe){var Oe=G.shared,Ce=Oe.context,_e=G.scope();Object.keys(oe).forEach(function(be){Q.save(Ce,"."+be);var me=oe[be],Z=me.append(G,Q);Array.isArray(Z)?_e(Ce,".",be,"=[",Z.join(),"];"):_e(Ce,".",be,"=",Z,";")}),Q(_e)}function ri(G,Q,oe,Oe){var Ce=G.shared,_e=Ce.gl,be=Ce.framebuffer,me;Qe&&(me=Q.def(Ce.extensions,".webgl_draw_buffers"));var Z=G.constants,de=Z.drawBuffer,ne=Z.backBuffer,Ae;oe?Ae=oe.append(G,Q):Ae=Q.def(be,".next"),Oe||Q("if(",Ae,"!==",be,".cur){"),Q("if(",Ae,"){",_e,".bindFramebuffer(",pe,",",Ae,".framebuffer);"),Qe&&Q(me,".drawBuffersWEBGL(",de,"[",Ae,".colorAttachments.length]);"),Q("}else{",_e,".bindFramebuffer(",pe,",null);"),Qe&&Q(me,".drawBuffersWEBGL(",ne,");"),Q("}",be,".cur=",Ae,";"),Oe||Q("}")}function wr(G,Q,oe){var Oe=G.shared,Ce=Oe.gl,_e=G.current,be=G.next,me=Oe.current,Z=Oe.next,de=G.cond(me,".dirty");Ke.forEach(function(ne){var Ae=$e(ne);if(!(Ae in oe.state)){var Ue,Je;if(Ae in be){Ue=be[Ae],Je=_e[Ae];var rr=Ie(St[Ae].length,function(Ft){return de.def(Ue,"[",Ft,"]")});de(G.cond(rr.map(function(Ft,er){return Ft+"!=="+Je+"["+er+"]"}).join("||")).then(Ce,".",It[Ae],"(",rr,");",rr.map(function(Ft,er){return Je+"["+er+"]="+Ft}).join(";"),";"))}else{Ue=de.def(Z,".",Ae);var Qt=G.cond(Ue,"!==",me,".",Ae);de(Qt),Ae in We?Qt(G.cond(Ue).then(Ce,".enable(",We[Ae],");").else(Ce,".disable(",We[Ae],");"),me,".",Ae,"=",Ue,";"):Qt(Ce,".",It[Ae],"(",Ue,");",me,".",Ae,"=",Ue,";")}}}),Object.keys(oe.state).length===0&&de(me,".dirty=false;"),Q(de)}function Pa(G,Q,oe,Oe){var Ce=G.shared,_e=G.current,be=Ce.current,me=Ce.gl,Z;qe(Object.keys(oe)).forEach(function(de){var ne=oe[de];if(!(Oe&&!Oe(ne))){var Ae=ne.append(G,Q);if(We[de]){var Ue=We[de];gt(ne)?(Z=G.link(Ae,{stable:!0}),Q(G.cond(Z).then(me,".enable(",Ue,");").else(me,".disable(",Ue,");")),Q(be,".",de,"=",Z,";")):(Q(G.cond(Ae).then(me,".enable(",Ue,");").else(me,".disable(",Ue,");")),Q(be,".",de,"=",Ae,";"))}else if(Li(Ae)){var Je=_e[de];Q(me,".",It[de],"(",Ae,");",Ae.map(function(rr,Qt){return Je+"["+Qt+"]="+rr}).join(";"),";")}else gt(ne)?(Z=G.link(Ae,{stable:!0}),Q(me,".",It[de],"(",Z,");",be,".",de,"=",Z,";")):Q(me,".",It[de],"(",Ae,");",be,".",de,"=",Ae,";")}})}function en(G,Q){ht&&(G.instancing=Q.def(G.shared.extensions,".angle_instanced_arrays"))}function ni(G,Q,oe,Oe,Ce){var _e=G.shared,be=G.stats,me=_e.current,Z=_e.timer,de=oe.profile;function ne(){return typeof performance>"u"?"Date.now()":"performance.now()"}var Ae,Ue;function Je(ir){Ae=Q.def(),ir(Ae,"=",ne(),";"),typeof Ce=="string"?ir(be,".count+=",Ce,";"):ir(be,".count++;"),xt&&(Oe?(Ue=Q.def(),ir(Ue,"=",Z,".getNumPendingQueries();")):ir(Z,".beginQuery(",be,");"))}function rr(ir){ir(be,".cpuTime+=",ne(),"-",Ae,";"),xt&&(Oe?ir(Z,".pushScopeStats(",Ue,",",Z,".getNumPendingQueries(),",be,");"):ir(Z,".endQuery();"))}function Qt(ir){var jt=Q.def(me,".profile");Q(me,".profile=",ir,";"),Q.exit(me,".profile=",jt,";")}var Ft;if(de){if(gt(de)){de.enable?(Je(Q),rr(Q.exit),Qt("true")):Qt("false");return}Ft=de.append(G,Q),Qt(Ft)}else Ft=Q.def(me,".profile");var er=G.block();Je(er),Q("if(",Ft,"){",er,"}");var Wt=G.block();rr(Wt),Q.exit("if(",Ft,"){",Wt,"}")}function Zi(G,Q,oe,Oe,Ce){var _e=G.shared;function be(Z){switch(Z){case uc:case Xd:case Zd:return 2;case xo:case Ds:case Kd:return 3;case Tl:case Cl:case Jd:return 4;default:return 1}}function me(Z,de,ne){var Ae=_e.gl,Ue=Q.def(Z,".location"),Je=Q.def(_e.attributes,"[",Ue,"]"),rr=ne.state,Qt=ne.buffer,Ft=[ne.x,ne.y,ne.z,ne.w],er=["buffer","normalized","offset","stride"];function Wt(){Q("if(!",Je,".buffer){",Ae,".enableVertexAttribArray(",Ue,");}");var jt=ne.type,Yt;if(ne.size?Yt=Q.def(ne.size,"||",de):Yt=de,Q("if(",Je,".type!==",jt,"||",Je,".size!==",Yt,"||",er.map(function(br){return Je+"."+br+"!=="+ne[br]}).join("||"),"){",Ae,".bindBuffer(",Du,",",Qt,".buffer);",Ae,".vertexAttribPointer(",[Ue,Yt,jt,ne.normalized,ne.stride,ne.offset],");",Je,".type=",jt,";",Je,".size=",Yt,";",er.map(function(br){return Je+"."+br+"="+ne[br]+";"}).join(""),"}"),ht){var Xt=ne.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(",Nu.map(function(jt,Yt){return Je+"."+jt+"!=="+Ft[Yt]}).join("||"),"){",Ae,".vertexAttrib4f(",Ue,",",Ft,");",Nu.map(function(jt,Yt){return Je+"."+jt+"="+Ft[Yt]+";"}).join(""),"}")}rr===Ru?Wt():rr===Cs?ir():(Q("if(",rr,"===",Ru,"){"),Wt(),Q("}else{"),ir(),Q("}"))}Oe.forEach(function(Z){var de=Z.name,ne=oe.attributes[de],Ae;if(ne){if(!Ce(ne))return;Ae=ne.append(G,Q)}else{if(!Ce(Rt))return;var Ue=G.scopeAttrib(de);Ae={},Object.keys(new ze).forEach(function(Je){Ae[Je]=Q.def(Ue,".",Je)})}me(G.link(Z),be(Z.info.type),Ae)})}function Ki(G,Q,oe,Oe,Ce,_e){for(var be=G.shared,me=be.gl,Z,de=0;de<Oe.length;++de){var ne=Oe[de],Ae=ne.name,Ue=ne.info.type,Je=oe.uniforms[Ae],rr=G.link(ne),Qt=rr+".location",Ft;if(Je){if(!Ce(Je))continue;if(gt(Je)){var er=Je.value;if(Ue===rh||Ue===u){var Wt=G.link(er._texture||er.color[0]._texture);Q(me,".uniform1i(",Qt,",",Wt+".bind());"),Q.exit(Wt,".unbind();")}else if(Ue===eh||Ue===$s||Ue===th){var ir=G.global.def("new Float32Array(["+Array.prototype.slice.call(er)+"])"),jt=2;Ue===$s?jt=3:Ue===th&&(jt=4),Q(me,".uniformMatrix",jt,"fv(",Qt,",false,",ir,");")}else{switch(Ue){case _n:Z="1f";break;case uc:Z="2f";break;case xo:Z="3f";break;case Tl:Z="4f";break;case Qd:Z="1i";break;case lc:Z="1i";break;case Zd:Z="2i";break;case Xd:Z="2i";break;case Kd:Z="3i";break;case Ds:Z="3i";break;case Jd:Z="4i";break;case Cl:Z="4i";break}Q(me,".uniform",Z,"(",Qt,",",Li(er)?Array.prototype.slice.call(er):er,");")}continue}else Ft=Je.append(G,Q)}else{if(!Ce(Rt))continue;Ft=Q.def(be.uniforms,"[",X.id(Ae),"]")}Ue===rh?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 rh:case u:var Xt=Q.def(Ft,"._texture");Q(me,".uniform1i(",Qt,",",Xt,".bind());"),Q.exit(Xt,".unbind();");continue;case lc:case Qd:Z="1i";break;case Xd:case Zd:Z="2i",Yt=2;break;case Ds:case Kd:Z="3i",Yt=3;break;case Cl:case Jd:Z="4i",Yt=4;break;case _n:Z="1f";break;case uc:Z="2f",Yt=2;break;case xo:Z="3f",Yt=3;break;case Tl:Z="4f",Yt=4;break;case eh:Z="Matrix2fv";break;case $s:Z="Matrix3fv";break;case th:Z="Matrix4fv";break}if(Z.charAt(0)==="M"){Q(me,".uniform",Z,"(",Qt,",");var br=Math.pow(Ue-eh+2,2),gn=G.global.def("new Float32Array(",br,")");Array.isArray(Ft)?Q("false,(",Ie(br,function(Qa){return gn+"["+Qa+"]="+Ft[Qa]}),",",gn,")"):Q("false,(Array.isArray(",Ft,")||",Ft," instanceof Float32Array)?",Ft,":(",Ie(br,function(Qa){return gn+"["+Qa+"]="+Ft+"["+Qa+"]"}),",",gn,")"),Q(");")}else if(Yt>1){for(var sa=[],$u=[],Ol=0;Ol<Yt;++Ol)Array.isArray(Ft)?$u.push(Ft[Ol]):$u.push(Q.def(Ft+"["+Ol+"]")),_e&&sa.push(Q.def());_e&&Q("if(!",G.batchId,"||",sa.map(function(Qa,nh){return Qa+"!=="+$u[nh]}).join("||"),"){",sa.map(function(Qa,nh){return Qa+"="+$u[nh]+";"}).join("")),Q(me,".uniform",Z,"(",Qt,",",$u.join(","),");"),_e&&Q("}")}else{if(_e){var kl=Q.def();Q("if(!",G.batchId,"||",kl,"!==",Ft,"){",kl,"=",Ft,";")}Q(me,".uniform",Z,"(",Qt,",",Ft,");"),_e&&Q("}")}}}function Er(G,Q,oe,Oe){var Ce=G.shared,_e=Ce.gl,be=Ce.draw,me=Oe.draw;function Z(){var Yt=me.elements,Xt,br=Q;return Yt?((Yt.contextDep&&Oe.contextDynamic||Yt.propDep)&&(br=oe),Xt=Yt.append(G,br),me.elementsActive&&br("if("+Xt+")"+_e+".bindBuffer("+Yd+","+Xt+".buffer.buffer);")):(Xt=br.def(),br(Xt,"=",be,".",_l,";","if(",Xt,"){",_e,".bindBuffer(",Yd,",",Xt,".buffer.buffer);}","else if(",Ce.vao,".currentVAO){",Xt,"=",G.shared.elements+".getElements("+Ce.vao,".currentVAO.elements);",Nt?"":"if("+Xt+")"+_e+".bindBuffer("+Yd+","+Xt+".buffer.buffer);","}")),Xt}function de(){var Yt=me.count,Xt,br=Q;return Yt?((Yt.contextDep&&Oe.contextDynamic||Yt.propDep)&&(br=oe),Xt=Yt.append(G,br)):Xt=br.def(be,".",Kn),Xt}var ne=Z();function Ae(Yt){var Xt=me[Yt];return Xt?Xt.contextDep&&Oe.contextDynamic||Xt.propDep?Xt.append(G,oe):Xt.append(G,Q):Q.def(be,".",Yt)}var Ue=Ae(Sl),Je=Ae(nc),rr=de();if(typeof rr=="number"){if(rr===0)return}else oe("if(",rr,"){"),oe.exit("}");var Qt,Ft;ht&&(Qt=Ae(ic),Ft=G.instancing);var er=ne+".type",Wt=me.elements&>(me.elements)&&!me.vaoActive;function ir(){function Yt(){oe(Ft,".drawElementsInstancedANGLE(",[Ue,rr,er,Je+"<<(("+er+"-"+Rd+")>>1)",Qt],");")}function Xt(){oe(Ft,".drawArraysInstancedANGLE(",[Ue,Je,rr,Qt],");")}ne&&ne!=="null"?Wt?Yt():(oe("if(",ne,"){"),Yt(),oe("}else{"),Xt(),oe("}")):Xt()}function jt(){function Yt(){oe(_e+".drawElements("+[Ue,rr,er,Je+"<<(("+er+"-"+Rd+")>>1)"]+");")}function Xt(){oe(_e+".drawArrays("+[Ue,Je,rr]+");")}ne&&ne!=="null"?Wt?Yt():(oe("if(",ne,"){"),Yt(),oe("}else{"),Xt(),oe("}")):Xt()}ht&&(typeof Qt!="number"||Qt>=0)?typeof Qt=="string"?(oe("if(",Qt,">0){"),ir(),oe("}else if(",Qt,"<0){"),jt(),oe("}")):ir():jt()}function $r(G,Q,oe,Oe,Ce){var _e=Tt(),be=_e.proc("body",Ce);return ht&&(_e.instancing=be.def(_e.shared.extensions,".angle_instanced_arrays")),G(_e,be,oe,Oe),_e.compile().body}function fn(G,Q,oe,Oe){en(G,Q),oe.useVAO?oe.drawVAO?Q(G.shared.vao,".setVAO(",oe.drawVAO.append(G,Q),");"):Q(G.shared.vao,".setVAO(",G.shared.vao,".targetVAO);"):(Q(G.shared.vao,".setVAO(null);"),Zi(G,Q,oe,Oe.attributes,function(){return!0})),Ki(G,Q,oe,Oe.uniforms,function(){return!0},!1),Er(G,Q,Q,oe)}function ii(G,Q){var oe=G.proc("draw",1);en(G,oe),ti(G,oe,Q.context),ri(G,oe,Q.framebuffer),wr(G,oe,Q),Pa(G,oe,Q.state),ni(G,oe,Q,!1,!0);var Oe=Q.shader.progVar.append(G,oe);if(oe(G.shared.gl,".useProgram(",Oe,".program);"),Q.shader.program)fn(G,oe,Q,Q.shader.program);else{oe(G.shared.vao,".setVAO(null);");var Ce=G.global.def("{}"),_e=oe.def(Oe,".id"),be=oe.def(Ce,"[",_e,"]");oe(G.cond(be).then(be,".call(this,a0);").else(be,"=",Ce,"[",_e,"]=",G.link(function(me){return $r(fn,G,Q,me,1)}),"(",Oe,");",be,".call(this,a0);"))}Object.keys(Q.state).length>0&&oe(G.shared.current,".dirty=true;"),G.shared.vao&&oe(G.shared.vao,".setVAO(null);")}function K(G,Q,oe,Oe){G.batchId="a1",en(G,Q);function Ce(){return!0}Zi(G,Q,oe,Oe.attributes,Ce),Ki(G,Q,oe,Oe.uniforms,Ce,!1),Er(G,Q,Q,oe)}function Ne(G,Q,oe,Oe){en(G,Q);var Ce=oe.contextDep,_e=Q.def(),be="a0",me="a1",Z=Q.def();G.shared.props=Z,G.batchId=_e;var de=G.scope(),ne=G.scope();Q(de.entry,"for(",_e,"=0;",_e,"<",me,";++",_e,"){",Z,"=",be,"[",_e,"];",ne,"}",de.exit);function Ae(er){return er.contextDep&&Ce||er.propDep}function Ue(er){return!Ae(er)}if(oe.needsContext&&ti(G,ne,oe.context),oe.needsFramebuffer&&ri(G,ne,oe.framebuffer),Pa(G,ne,oe.state,Ae),oe.profile&&Ae(oe.profile)&&ni(G,ne,oe,!1,!0),Oe)oe.useVAO?oe.drawVAO?Ae(oe.drawVAO)?ne(G.shared.vao,".setVAO(",oe.drawVAO.append(G,ne),");"):de(G.shared.vao,".setVAO(",oe.drawVAO.append(G,de),");"):de(G.shared.vao,".setVAO(",G.shared.vao,".targetVAO);"):(de(G.shared.vao,".setVAO(null);"),Zi(G,de,oe,Oe.attributes,Ue),Zi(G,ne,oe,Oe.attributes,Ae)),Ki(G,de,oe,Oe.uniforms,Ue,!1),Ki(G,ne,oe,Oe.uniforms,Ae,!0),Er(G,de,ne,oe);else{var Je=G.global.def("{}"),rr=oe.shader.progVar.append(G,ne),Qt=ne.def(rr,".id"),Ft=ne.def(Je,"[",Qt,"]");ne(G.shared.gl,".useProgram(",rr,".program);","if(!",Ft,"){",Ft,"=",Je,"[",Qt,"]=",G.link(function(er){return $r(K,G,oe,er,2)}),"(",rr,");}",Ft,".call(this,a0[",_e,"],",_e,");")}}function Me(G,Q){var oe=G.proc("batch",2);G.batchId="0",en(G,oe);var Oe=!1,Ce=!0;Object.keys(Q.context).forEach(function(Je){Oe=Oe||Q.context[Je].propDep}),Oe||(ti(G,oe,Q.context),Ce=!1);var _e=Q.framebuffer,be=!1;_e?(_e.propDep?Oe=be=!0:_e.contextDep&&Oe&&(be=!0),be||ri(G,oe,_e)):ri(G,oe,null),Q.state.viewport&&Q.state.viewport.propDep&&(Oe=!0);function me(Je){return Je.contextDep&&Oe||Je.propDep}wr(G,oe,Q),Pa(G,oe,Q.state,function(Je){return!me(Je)}),(!Q.profile||!me(Q.profile))&&ni(G,oe,Q,!1,"a1"),Q.contextDep=Oe,Q.needsContext=Ce,Q.needsFramebuffer=be;var Z=Q.shader.progVar;if(Z.contextDep&&Oe||Z.propDep)Ne(G,oe,Q,null);else{var de=Z.append(G,oe);if(oe(G.shared.gl,".useProgram(",de,".program);"),Q.shader.program)Ne(G,oe,Q,Q.shader.program);else{oe(G.shared.vao,".setVAO(null);");var ne=G.global.def("{}"),Ae=oe.def(de,".id"),Ue=oe.def(ne,"[",Ae,"]");oe(G.cond(Ue).then(Ue,".call(this,a0,a1);").else(Ue,"=",ne,"[",Ae,"]=",G.link(function(Je){return $r(Ne,G,Q,Je,2)}),"(",de,");",Ue,".call(this,a0,a1);"))}}Object.keys(Q.state).length>0&&oe(G.shared.current,".dirty=true;"),G.shared.vao&&oe(G.shared.vao,".setVAO(null);")}function qt(G,Q){var oe=G.proc("scope",3);G.batchId="a2";var Oe=G.shared,Ce=Oe.current;if(ti(G,oe,Q.context),Q.framebuffer&&Q.framebuffer.append(G,oe),qe(Object.keys(Q.state)).forEach(function(me){var Z=Q.state[me],de=Z.append(G,oe);Li(de)?de.forEach(function(ne,Ae){Jt(ne)?oe.set(G.next[me],"["+Ae+"]",ne):oe.set(G.next[me],"["+Ae+"]",G.link(ne,{stable:!0}))}):gt(Z)?oe.set(Oe.next,"."+me,G.link(de,{stable:!0})):oe.set(Oe.next,"."+me,de)}),ni(G,oe,Q,!0,!0),[_l,nc,Kn,ic,Sl].forEach(function(me){var Z=Q.draw[me];if(!!Z){var de=Z.append(G,oe);Jt(de)?oe.set(Oe.draw,"."+me,de):oe.set(Oe.draw,"."+me,G.link(de),{stable:!0})}}),Object.keys(Q.uniforms).forEach(function(me){var Z=Q.uniforms[me].append(G,oe);Array.isArray(Z)&&(Z="["+Z.map(function(de){return Jt(de)?de:G.link(de,{stable:!0})})+"]"),oe.set(Oe.uniforms,"["+G.link(X.id(me),{stable:!0})+"]",Z)}),Object.keys(Q.attributes).forEach(function(me){var Z=Q.attributes[me].append(G,oe),de=G.scopeAttrib(me);Object.keys(new ze).forEach(function(ne){oe.set(de,"."+ne,Z[ne])})}),Q.scopeVAO){var _e=Q.scopeVAO.append(G,oe);Jt(_e)?oe.set(Oe.vao,".targetVAO",_e):oe.set(Oe.vao,".targetVAO",G.link(_e,{stable:!0}))}function be(me){var Z=Q.shader[me];if(Z){var de=Z.append(G,oe);Jt(de)?oe.set(Oe.shader,"."+me,de):oe.set(Oe.shader,"."+me,G.link(de,{stable:!0}))}}be(Rs),be(rc),Object.keys(Q.state).length>0&&(oe(Ce,".dirty=true;"),oe.exit(Ce,".dirty=true;")),oe("a1(",G.shared.context,",a0,",G.batchId,");")}function Nr(G){if(!(typeof G!="object"||Li(G))){for(var Q=Object.keys(G),oe=0;oe<Q.length;++oe)if(C.isDynamic(G[Q[oe]]))return!0;return!1}}function vn(G,Q,oe){var Oe=Q.static[oe];if(!Oe||!Nr(Oe))return;var Ce=G.global,_e=Object.keys(Oe),be=!1,me=!1,Z=!1,de=G.global.def("{}");_e.forEach(function(Ae){var Ue=Oe[Ae];if(C.isDynamic(Ue)){typeof Ue=="function"&&(Ue=Oe[Ae]=C.unbox(Ue));var Je=_t(Ue,null);be=be||Je.thisDep,Z=Z||Je.propDep,me=me||Je.contextDep}else{switch(Ce(de,".",Ae,"="),typeof Ue){case"number":Ce(Ue);break;case"string":Ce('"',Ue,'"');break;case"object":Array.isArray(Ue)&&Ce("[",Ue.join(),"]");break;default:Ce(G.link(Ue));break}Ce(";")}});function ne(Ae,Ue){_e.forEach(function(Je){var rr=Oe[Je];if(!!C.isDynamic(rr)){var Qt=Ae.invoke(Ue,rr);Ue(de,".",Je,"=",Qt,";")}})}Q.dynamic[oe]=new C.DynamicVariable(Iu,{thisDep:be,contextDep:me,propDep:Z,ref:de,append:ne}),delete Q.static[oe]}function Vt(G,Q,oe,Oe,Ce){var _e=Tt();_e.stats=_e.link(Ce),Object.keys(Q.static).forEach(function(me){vn(_e,Q,me)}),oy.forEach(function(me){vn(_e,G,me)});var be=wo(G,Q,oe,Oe,_e);return be.shader.program&&(be.shader.program.attributes.sort(function(me,Z){return me.name<Z.name?-1:1}),be.shader.program.uniforms.sort(function(me,Z){return me.name<Z.name?-1:1})),ii(_e,be),qt(_e,be),Me(_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"),oe=G.proc("refresh"),Oe=G.block();Q(Oe),oe(Oe);var Ce=G.shared,_e=Ce.gl,be=Ce.next,me=Ce.current;Oe(me,".dirty=false;"),ri(G,Q),ri(G,oe,null,!0);var Z;ht&&(Z=G.link(ht)),re.oes_vertex_array_object&&oe(G.link(re.oes_vertex_array_object),".bindVertexArrayOES(null);");var de=oe.def(Ce.attributes),ne=oe.def(0),Ae=G.cond(ne,".buffer");Ae.then(_e,".enableVertexAttribArray(i);",_e,".bindBuffer(",Du,",",ne,".buffer.buffer);",_e,".vertexAttribPointer(i,",ne,".size,",ne,".type,",ne,".normalized,",ne,".stride,",ne,".offset);").else(_e,".disableVertexAttribArray(i);",_e,".vertexAttrib4f(i,",ne,".x,",ne,".y,",ne,".z,",ne,".w);",ne,".buffer=null;");var Ue=G.link(Fe.maxAttributes,{stable:!0});return oe("for(var i=0;i<",Ue,";++i){",ne,"=",de,"[i];",Ae,"}"),ht&&oe("for(var i=0;i<",Ue,";++i){",Z,".vertexAttribDivisorANGLE(i,",de,"[i].divisor);","}"),oe(G.shared.vao,".currentVAO=null;",G.shared.vao,".setVAO(",G.shared.vao,".targetVAO);"),Object.keys(We).forEach(function(Je){var rr=We[Je],Qt=Oe.def(be,".",Je),Ft=G.block();Ft("if(",Qt,"){",_e,".enable(",rr,")}else{",_e,".disable(",rr,")}",me,".",Je,"=",Qt,";"),oe(Ft),Q("if(",Qt,"!==",me,".",Je,"){",Ft,"}")}),Object.keys(It).forEach(function(Je){var rr=It[Je],Qt=St[Je],Ft,er,Wt=G.block();if(Wt(_e,".",rr,"("),Li(Qt)){var ir=Qt.length;Ft=G.global.def(be,".",Je),er=G.global.def(me,".",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=Oe.def(be,".",Je),er=Oe.def(me,".",Je),Wt(Ft,");",me,".",Je,"=",Ft,";"),Q("if(",Ft,"!==",er,"){",Wt,"}");oe(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,pn=35007,Hr=function(F,X){if(!X.ext_disjoint_timer_query)return null;var re=[];function Fe(){return re.pop()||X.ext_disjoint_timer_query.createQueryEXT()}function He(lt){re.push(lt)}var Pe=[];function Re(lt){var ht=Fe();X.ext_disjoint_timer_query.beginQueryEXT(pn,ht),Pe.push(ht),xt(Pe.length-1,Pe.length,lt)}function ft(){X.ext_disjoint_timer_query.endQueryEXT(pn)}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=Pe.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<Pe.length;++ht){var St=Pe[ht];X.ext_disjoint_timer_query.getQueryObjectEXT(St,Ir)?(Nt+=X.ext_disjoint_timer_query.getQueryObjectEXT(St,sr),He(St)):Pe[lt++]=St,nt[ht+1]=Nt,xe[ht+1]=lt}for(Pe.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:Re,endQuery:ft,pushScopeStats:xt,update:ze,getNumPendingQueries:function(){return Pe.length},clear:function(){re.push.apply(re,Pe);for(var lt=0;lt<re.length;lt++)X.ext_disjoint_timer_query.deleteQueryEXT(re[lt]);Pe.length=0,re.length=0},restore:function(){Pe.length=0,re.length=0}}},mt=16384,gr=256,xr=1024,Fr=34962,on="webglcontextlost",Sn="webglcontextrestored",Dn=1,vi=2,Ti=3;function Jn(F,X){for(var re=0;re<F.length;++re)if(F[re]===X)return re;return-1}function $i(F){var X=q(F);if(!X)return null;var re=X.gl,Fe=re.getContextAttributes();re.isContextLost();var He=ue(re,X);if(!He)return null;var Pe=S(),Re=Bt(),ft=X.cachedCode||{},ct=He.extensions,vt=Hr(re,ct),Ot=E(),Zt=re.drawingBufferWidth,Ht=re.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=mu(re,ct),lt=ol(re,Re,X,Nt),ht=$o(re,ct,lt,Re),Qe=Un(re,ct,ze,Re,lt,ht,xe);function Nt(Er){return Qe.destroyBuffer(Er)}var St=pi(re,Pe,Re,X),Kt=Zr(re,ct,ze,function(){It.procs.poll()},xt,Re,X),Ke=bl(re,ct,ze,Re,X),We=pr(re,ct,ze,Kt,Ke,Re),It=vr(re,Pe,ct,ze,lt,ht,Kt,We,nt,Qe,St,xe,xt,vt,ft,X),$e=cv(re,We,It.procs.poll,xt),kt=It.next,pt=re.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),ri();for(var Er=Jt.length-1;Er>=0;--Er){var $r=Jt[Er];$r&&$r(xt,null,0)}re.flush(),vt&&vt.update()}function Lr(){!Tt&&Jt.length>0&&(Tt=R.next(Or))}function jr(){Tt&&(R.cancel(Or),Tt=null)}function ei(Er){Er.preventDefault(),jr(),Cr.forEach(function($r){$r()})}function Dr(Er){re.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(on,ei,!1),pt.addEventListener(Sn,Dr,!1));function ua(){Jt.length=0,jr(),pt&&(pt.removeEventListener(on,ei),pt.removeEventListener(Sn,Dr)),St.clear(),We.clear(),Ke.clear(),Qe.clear(),Kt.clear(),ht.clear(),lt.clear(),vt&&vt.clear(),ur.forEach(function(Er){Er()})}function un(Er){function $r(Ce){var _e=r({},Ce);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(me){if(me in _e){var Z=_e[me];delete _e[me],Object.keys(Z).forEach(function(de){_e[me+"."+de]=Z[de]})}}return be("blend"),be("depth"),be("cull"),be("stencil"),be("polygonOffset"),be("scissor"),be("sample"),"vao"in Ce&&(_e.vao=Ce.vao),_e}function fn(Ce,_e){var be={},me={};return Object.keys(Ce).forEach(function(Z){var de=Ce[Z];if(C.isDynamic(de)){me[Z]=C.unbox(de,Z);return}else if(_e&&Array.isArray(de)){for(var ne=0;ne<de.length;++ne)if(C.isDynamic(de[ne])){me[Z]=C.unbox(de,Z);return}}be[Z]=de}),{dynamic:me,static:be}}var ii=fn(Er.context||{},!0),K=fn(Er.uniforms||{},!0),Ne=fn(Er.attributes||{},!1),Me=fn($r(Er),!1),qt={gpuTime:0,cpuTime:0,count:0},Nr=It.compile(Me,Ne,K,ii,qt),vn=Nr.draw,Vt=Nr.batch,G=Nr.scope,Q=[];function oe(Ce){for(;Q.length<Ce;)Q.push(null);return Q}function Oe(Ce,_e){var be;if(typeof Ce=="function")return G.call(this,null,Ce,0);if(typeof _e=="function")if(typeof Ce=="number")for(be=0;be<Ce;++be)G.call(this,null,_e,be);else if(Array.isArray(Ce))for(be=0;be<Ce.length;++be)G.call(this,Ce[be],_e,be);else return G.call(this,Ce,_e,0);else if(typeof Ce=="number"){if(Ce>0)return Vt.call(this,oe(Ce|0),Ce|0)}else if(Array.isArray(Ce)){if(Ce.length)return Vt.call(this,Ce,Ce.length)}else return vn.call(this,Ce)}return r(Oe,{stats:qt,destroy:function(){Nr.destroy()}})}var Ci=We.setFBO=un({framebuffer:C.define.call(null,Dn,"framebuffer")});function la(Er,$r){var fn=0;It.procs.poll();var ii=$r.color;ii&&(re.clearColor(+ii[0]||0,+ii[1]||0,+ii[2]||0,+ii[3]||0),fn|=mt),"depth"in $r&&(re.clearDepth(+$r.depth),fn|=gr),"stencil"in $r&&(re.clearStencil($r.stencil|0),fn|=xr),re.clear(fn)}function zi(Er){if("framebuffer"in Er)if(Er.framebuffer&&Er.framebuffer_reglType==="framebufferCube")for(var $r=0;$r<6;++$r)Ci(r({framebuffer:Er.framebuffer.faces[$r]},Er),la);else Ci(Er,la);else la(null,Er)}function wo(Er){Jt.push(Er);function $r(){var fn=Jn(Jt,Er);function ii(){var K=Jn(Jt,ii);Jt[K]=Jt[Jt.length-1],Jt.length-=1,Jt.length<=0&&jr()}Jt[fn]=ii}return Lr(),{cancel:$r}}function ti(){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]=re.drawingBufferWidth,xt.viewportHeight=xt.framebufferHeight=xt.drawingBufferHeight=Er[3]=$r[3]=re.drawingBufferHeight}function ri(){xt.tick+=1,xt.time=Pa(),ti(),It.procs.poll()}function wr(){Kt.refresh(),ti(),It.procs.refresh(),vt&&vt.update()}function Pa(){return(E()-Ot)/1e3}wr();function en(Er,$r){var fn;switch(Er){case"frame":return wo($r);case"lost":fn=Cr;break;case"restore":fn=$t;break;case"destroy":fn=ur;break}return fn.push($r),{cancel:function(){for(var ii=0;ii<fn.length;++ii)if(fn[ii]===$r){fn[ii]=fn[fn.length-1],fn.pop();return}}}}function ni(){return ft}function Zi(Er){Object.entries(Er).forEach(function($r){ft[$r[0]]=$r[1]})}var Ki=r(un,{clear:zi,prop:C.define.bind(null,Dn),context:C.define.bind(null,vi),this:C.define.bind(null,Ti),draw:un({}),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:wo,on:en,limits:ze,hasExtension:function(Er){return ze.extensions.indexOf(Er.toLowerCase())>=0},read:$e,destroy:ua,_gl:re,_refresh:wr,poll:function(){ri(),vt&&vt.update()},now:Pa,stats:Re,getCachedCode:ni,preloadCachedCode:Zi});return X.onDone(null,Ki),Ki}return $i})})(IN);var gW=hs,mW=function(t){if(t?typeof t=="string"&&(t={container:t}):t={},zC(t)?t={container:t}:yW(t)?t={container:t}:bW(t)?t={gl:t}:t=gW(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=window.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}zC(t.container)?(t.canvas=t.container,t.container=t.canvas.parentNode):t.canvas||(t.canvas=BC(),t.container.appendChild(t.canvas),$C(t))}else if(!t.canvas)if(typeof document<"u")t.container=document.body||document.documentElement,t.canvas=BC(),t.container.appendChild(t.canvas),$C(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 $C(e){if(e.container)if(e.container==document.body)document.body.style.width||(e.canvas.width=e.width||e.pixelRatio*window.innerWidth),document.body.style.height||(e.canvas.height=e.height||e.pixelRatio*window.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 zC(e){return typeof e.getContext=="function"&&"width"in e&&"height"in e}function yW(e){return typeof e.nodeName=="string"&&typeof e.appendChild=="function"&&typeof e.getBoundingClientRect=="function"}function bW(e){return typeof e.drawArrays=="function"||typeof e.drawElements=="function"}function BC(){var e=document.createElement("canvas");return e.style.position="absolute",e.style.top=0,e.style.left=0,e}var xW=RN,wW=[32,126],_W=SW;function SW(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||wW;if(n&&typeof n!="string"&&(n=xW(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={},kn={},R2=32;kn.INT_BITS=R2;kn.INT_MAX=2147483647;kn.INT_MIN=-1<<R2-1;kn.sign=function(e){return(e>0)-(e<0)};kn.abs=function(e){var t=e>>R2-1;return(e^t)-t};kn.min=function(e,t){return t^(e^t)&-(e<t)};kn.max=function(e,t){return e^(e^t)&-(e<t)};kn.isPow2=function(e){return!(e&e-1)&&!!e};kn.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};kn.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};kn.popCount=function(e){return e=e-(e>>>1&1431655765),e=(e&858993459)+(e>>>2&858993459),(e+(e>>>4)&252645135)*16843009>>>24};function FN(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}kn.countTrailingZeros=FN;kn.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};kn.prevPow2=function(e){return e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e-(e>>>1)};kn.parity=function(e){return e^=e>>>16,e^=e>>>8,e^=e>>>4,e&=15,27030>>>e&1};var $h=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}})($h);kn.reverse=function(e){return $h[e&255]<<24|$h[e>>>8&255]<<16|$h[e>>>16&255]<<8|$h[e>>>24&255]};kn.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};kn.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};kn.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};kn.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};kn.nextCombination=function(e){var t=e|e-1;return t+1|(~t&-~t)-1>>>FN(e)+1};function LN(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]=LN(e,t,r+1);return i}function EW(e,t){var r,n;for(r=new Array(e),n=0;n<e;++n)r[n]=t;return r}function AW(e,t){switch(typeof t>"u"&&(t=0),typeof e){case"number":if(e>0)return EW(e|0,t);break;case"object":if(typeof e.length=="number")return LN(e,t,0);break}return[]}var TW=AW,as=kn,ki=TW,DN=AM.Buffer;window.__TYPEDARRAY_POOL||(window.__TYPEDARRAY_POOL={UINT8:ki([32,0]),UINT16:ki([32,0]),UINT32:ki([32,0]),BIGUINT64:ki([32,0]),INT8:ki([32,0]),INT16:ki([32,0]),INT32:ki([32,0]),BIGINT64:ki([32,0]),FLOAT:ki([32,0]),DOUBLE:ki([32,0]),DATA:ki([32,0]),UINT8C:ki([32,0]),BUFFER:ki([32,0])});var CW=typeof Uint8ClampedArray<"u",OW=typeof BigUint64Array<"u",kW=typeof BigInt64Array<"u",$n=window.__TYPEDARRAY_POOL;$n.UINT8C||($n.UINT8C=ki([32,0]));$n.BIGUINT64||($n.BIGUINT64=ki([32,0]));$n.BIGINT64||($n.BIGINT64=ki([32,0]));$n.BUFFER||($n.BUFFER=ki([32,0]));var _m=$n.DATA,Sm=$n.BUFFER;Wr.free=function(t){if(DN.isBuffer(t))Sm[as.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=as.log2(r)|0;_m[n].push(t)}};function $N(e){if(!!e){var t=e.length||e.byteLength,r=as.log2(t);_m[r].push(e)}}function MW(e){$N(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=MW;Wr.freeArrayBuffer=$N;Wr.freeBuffer=function(t){Sm[as.log2(t.length)].push(t)};Wr.malloc=function(t,r){if(r===void 0||r==="arraybuffer")return va(t);switch(r){case"uint8":return I2(t);case"uint16":return zN(t);case"uint32":return BN(t);case"int8":return jN(t);case"int16":return UN(t);case"int32":return HN(t);case"float":case"float32":return WN(t);case"double":case"float64":return GN(t);case"uint8_clamped":return qN(t);case"bigint64":return YN(t);case"biguint64":return VN(t);case"buffer":return QN(t);case"data":case"dataview":return XN(t);default:return null}return null};function va(t){var t=as.nextPow2(t),r=as.log2(t),n=_m[r];return n.length>0?n.pop():new ArrayBuffer(t)}Wr.mallocArrayBuffer=va;function I2(e){return new Uint8Array(va(e),0,e)}Wr.mallocUint8=I2;function zN(e){return new Uint16Array(va(2*e),0,e)}Wr.mallocUint16=zN;function BN(e){return new Uint32Array(va(4*e),0,e)}Wr.mallocUint32=BN;function jN(e){return new Int8Array(va(e),0,e)}Wr.mallocInt8=jN;function UN(e){return new Int16Array(va(2*e),0,e)}Wr.mallocInt16=UN;function HN(e){return new Int32Array(va(4*e),0,e)}Wr.mallocInt32=HN;function WN(e){return new Float32Array(va(4*e),0,e)}Wr.mallocFloat32=Wr.mallocFloat=WN;function GN(e){return new Float64Array(va(8*e),0,e)}Wr.mallocFloat64=Wr.mallocDouble=GN;function qN(e){return CW?new Uint8ClampedArray(va(e),0,e):I2(e)}Wr.mallocUint8Clamped=qN;function VN(e){return OW?new BigUint64Array(va(8*e),0,e):null}Wr.mallocBigUint64=VN;function YN(e){return kW?new BigInt64Array(va(8*e),0,e):null}Wr.mallocBigInt64=YN;function XN(e){return new DataView(va(e),0,e)}Wr.mallocDataView=XN;function QN(e){e=as.nextPow2(e);var t=as.log2(e),r=Sm[t];return r.length>0?r.pop():new DN(e)}Wr.mallocBuffer=QN;Wr.clearCache=function(){for(var t=0;t<32;++t)$n.UINT8[t].length=0,$n.UINT16[t].length=0,$n.UINT32[t].length=0,$n.INT8[t].length=0,$n.INT16[t].length=0,$n.INT32[t].length=0,$n.FLOAT[t].length=0,$n.DOUBLE[t].length=0,$n.BIGUINT64[t].length=0,$n.BIGINT64[t].length=0,$n.UINT8C[t].length=0,_m[t].length=0,Sm[t].length=0};var ZN=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},PW=ZN,NW=KN,Oh=96;function ww(e,t){var r=PW(getComputedStyle(e).getPropertyValue(t));return r[0]*KN(r[1],e)}function RW(e,t){var r=document.createElement("div");r.style["font-size"]="128"+e,t.appendChild(r);var n=ww(r,"font-size")/128;return t.removeChild(r),n}function KN(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 RW(e,t);case"em":return ww(t,"font-size");case"rem":return ww(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 Oh;case"cm":return Oh/2.54;case"mm":return Oh/25.4;case"pt":return Oh/72;case"pc":return Oh/6}return 1}var IW=Em,FW=Em.canvas=document.createElement("canvas"),ng=FW.getContext("2d"),JN=P0([32,126]);Em.createPairs=P0;Em.ascii=JN;function Em(e,t){Array.isArray(e)&&(e=e.join(", "));var r={},n,i=16,a=.05;t&&(t.length===2&&typeof t[0]=="number"?n=P0(t):Array.isArray(t)?n=t:(t.o?n=P0(t.o):t.pairs&&(n=t.pairs),t.fontSize&&(i=t.fontSize),t.threshold!=null&&(a=t.threshold))),n||(n=JN),ng.font=i+"px "+e;for(var o=0;o<n.length;o++){var l=n[o],f=ng.measureText(l[0]).width+ng.measureText(l[1]).width,c=ng.measureText(l).width;if(Math.abs(f-c)>i*a){var p=(c-f)/i;r[l]=p*1e3}}return r}function P0(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 LW=Dl;Dl.canvas=document.createElement("canvas");Dl.cache={};function Dl(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(Dl.cache[r]&&n<=Dl.cache[r].em)return jC(Dl.cache[r],l);var f=t.canvas||Dl.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=Qo(c.getImageData(0,0,_,_));c.clearRect(0,0,_,_),c.textBaseline="bottom",c.fillText(x,0,_);var R=Qo(c.getImageData(0,0,_,_));b.lineHeight=b.bottom=_-R+C,c.clearRect(0,0,_,_),c.textBaseline="alphabetic",c.fillText(x,0,_);var E=Qo(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=Qo(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=Qo(c.getImageData(0,0,_,_));b.hanging=_-P-1+C-_*.5,c.clearRect(0,0,_,_),c.textBaseline="ideographic",c.fillText(x,0,_);var M=Qo(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=Qo(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=Qo(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=Qo(c.getImageData(0,0,_,_))),p.ascent&&(c.clearRect(0,0,_,_),c.textBaseline="top",c.fillText(p.ascent,0,0),b.ascent=Qo(c.getImageData(0,0,_,_))),p.descent&&(c.clearRect(0,0,_,_),c.textBaseline="top",c.fillText(p.descent,0,0),b.descent=UC(c.getImageData(0,0,_,_))),p.overshoot){c.clearRect(0,0,_,_),c.textBaseline="top",c.fillText(p.overshoot,0,0);var L=UC(c.getImageData(0,0,_,_));b.overshoot=L-S}for(var v in b)b[v]/=n;return b.em=n,Dl.cache[r]=b,jC(b,l)}function jC(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 Qo(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 UC(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 pc=vW,DW=hs,$W=IN.exports,zW=mW,BW=EN,cb=hm,jW=_W,Ml=Wr,UW=dm,HW=oN,WW=ZN,GW=NW,qW=IW,VW=gf,YW=LW,XW=Gp,QW=kn,HC=QW.nextPow2,WC=new BW,Ig=!1;if(document.body){var db=document.body.appendChild(document.createElement("div"));db.style.font="italic small-caps bold condensed 16px/2 cursive",getComputedStyle(db).fontStretch&&(Ig=!0),document.body.removeChild(db)}var Kr=function(t){ZW(t)?(t={regl:t},this.gl=t.regl._gl):this.gl=zW(t),this.shader=WC.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=t.regl||$W({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(),WC.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(HW(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=DW(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=UW(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=XW(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=pc.parse(st)}catch{st=pc.parse(Kr.baseFontSize+"px "+st)}else st=pc.parse(pc.stringify(st));var Lt=pc.stringify({size:Kr.baseFontSize,family:st.family,stretch:Ig?st.stretch:void 0,variant:st.variant,weight:st.weight,style:st.style}),hr=WW(st.size),mr=Math.round(hr[0]*GW(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),Ig&&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:YW(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=pc.stringify({size:r.fontSize[Ct],family:st.family,stretch:Ig?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);VW(st.kerning,qW(st.family,{pairs:at}))}}})}if(t.position)if(t.position.length>2){for(var c=!t.position[0].length,p=Ml.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}),Ml.freeFloat(p)}else this.position.destroy&&this.position.destroy(),this.position={constant:t.position};if(t.text||n){var E=Ml.mallocUint8(this.count),S=Ml.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],J=0;J<M;J++){var q=this.text.charAt(P),ue=this.text.charAt(P-1);if(E[P]=v.ids[q],S[P*2]=L.width[q],J){var Ie=S[P*2-2],Te=S[P*2],De=S[P*2-1],Ye=De+Ie*.5+Te*.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"}),Ml.freeUint8(E),Ml.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=HC(at*hr),je=HC(Gt*hr);Lt.width=fr,Lt.height=je,Lt.rows=Gt,Lt.cols=at,Lt.em&&Lt.texture({data:jW({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=cb(t.color,"uint8");else{var Et;if(typeof t.color[0]=="number"&&t.color.length>this.counts.length){var yt=t.color.length;Et=Ml.mallocUint8(yt);for(var Ze=(t.color.subarray||t.color.slice).bind(t.color),it=0;it<yt;it+=4)Et.set(cb(Ze(it,it+4),"uint8"),it)}else{var Ut=t.color.length;Et=Ml.mallocUint8(Ut*4);for(var bt=0;bt<Ut;bt++)Et.set(cb(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 ZW(e){return typeof e=="function"&&e._gl&&e.prop&&e.texture&&e.buffer}var cte=Kr;function KW(e,t){return e.parent===t.parent?1:2}function JW(e){return e.reduce(eG,0)/e.length}function eG(e,t){return e+t.x}function tG(e){return 1+e.reduce(rG,0)}function rG(e,t){return Math.max(e,t.y)}function nG(e){for(var t;t=e.children;)e=t[0];return e}function iG(e){for(var t;t=e.children;)e=t[t.length-1];return e}function aG(){var e=KW,t=1,r=1,n=!1;function i(a){var o,l=0;a.eachAfter(function(x){var b=x.children;b?(x.x=JW(b),x.y=tG(b)):(x.x=o?l+=e(x,o):0,x.y=0,o=x)});var f=nG(a),c=iG(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 oG(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 uG(){return this.eachAfter(oG)}function lG(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 sG(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 fG(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 cG(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 dG(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}function hG(e){for(var t=this,r=pG(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 pG(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 vG(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function gG(){var e=[];return this.each(function(t){e.push(t)}),e}function mG(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}function yG(){var e=this,t=[];return e.each(function(r){r!==e&&t.push({source:r.parent,target:r})}),t}function F2(e,t){var r=new ad(e),n=+e.value&&(r.value=e.value),i,a=[r],o,l,f,c;for(t==null&&(t=xG);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 ad(l[f])),o.parent=i,o.depth=i.depth+1;return r.eachBefore(eR)}function bG(){return F2(this).eachBefore(wG)}function xG(e){return e.children}function wG(e){e.data=e.data.data}function eR(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function ad(e){this.data=e,this.depth=this.height=0,this.parent=null}ad.prototype=F2.prototype={constructor:ad,count:uG,each:lG,eachAfter:fG,eachBefore:sG,sum:cG,sort:dG,path:hG,ancestors:vG,descendants:gG,leaves:mG,links:yG,copy:bG};var _G=Array.prototype.slice;function SG(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 tR(e){for(var t=0,r=(e=SG(_G.call(e))).length,n=[],i,a;t<r;)i=e[t],a&&rR(a,i)?++t:(a=AG(n=EG(n,i)),t=0);return a}function EG(e,t){var r,n;if(hb(t,e))return[t];for(r=0;r<e.length;++r)if(ig(t,e[r])&&hb(zh(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(ig(zh(e[r],e[n]),t)&&ig(zh(e[r],t),e[n])&&ig(zh(e[n],t),e[r])&&hb(nR(e[r],e[n],t),e))return[e[r],e[n],t];throw new Error}function ig(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 rR(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 hb(e,t){for(var r=0;r<t.length;++r)if(!rR(e,t[r]))return!1;return!0}function AG(e){switch(e.length){case 1:return TG(e[0]);case 2:return zh(e[0],e[1]);case 3:return nR(e[0],e[1],e[2])}}function TG(e){return{x:e.x,y:e.y,r:e.r}}function zh(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 nR(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,J=(R*E-C*S)/L,q=(b*P-x*M)/(L*2)-i,ue=(x*S-b*E)/L,Ie=J*J+ue*ue-1,Te=2*(a+v*J+q*ue),De=v*v+q*q-a*a,Ye=-(Ie?(Te+Math.sqrt(Te*Te-4*Ie*De))/(2*Ie):De/Te);return{x:n+v+J*Ye,y:i+q+ue*Ye,r:Ye}}function GC(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 qC(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 VC(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 ag(e){this._=e,this.next=null,this.previous=null}function iR(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;GC(r,t,n=e[2]),t=new ag(t),r=new ag(r),n=new ag(n),t.next=n.previous=r,r.next=t.previous=n,n.next=r.previous=t;e:for(l=3;l<i;++l){GC(t._,r._,n=e[l]),n=new ag(n),f=r.next,c=t.previous,p=r._.r,_=t._.r;do if(p<=_){if(qC(f._,n._)){r=f,t.next=r,r.previous=t,--l;continue e}p+=f._.r,f=f.next}else{if(qC(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=VC(t);(n=n.next)!==r;)(o=VC(n))<a&&(t=n,a=o);r=t.next}for(t=[r._],n=r;(n=n.next)!==r;)t.push(n._);for(n=tR(t),l=0;l<i;++l)t=e[l],t.x-=n.x,t.y-=n.y;return n.r}function CG(e){return iR(e),e}function OG(e){return e==null?null:N0(e)}function N0(e){if(typeof e!="function")throw new Error;return e}function Gs(){return 0}function wc(e){return function(){return e}}function kG(e){return Math.sqrt(e.value)}function MG(){var e=null,t=1,r=1,n=Gs;function i(a){return a.x=t/2,a.y=r/2,e?a.eachBefore(YC(e)).eachAfter(pb(n,.5)).eachBefore(XC(1)):a.eachBefore(YC(kG)).eachAfter(pb(Gs,1)).eachAfter(pb(n,a.r/Math.min(t,r))).eachBefore(XC(Math.min(t,r)/(2*a.r))),a}return i.radius=function(a){return arguments.length?(e=OG(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:wc(+a),i):n},i}function YC(e){return function(t){t.children||(t.r=Math.max(0,+e(t)||0))}}function pb(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=iR(n),o)for(i=0;i<a;++i)n[i].r-=o;r.r=l+o}}}function XC(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 aR(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 Vp(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 PG(){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(aR),o}function a(o,l){return function(f){f.children&&Vp(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 QC="$",NG={depth:-1},ZC={};function RG(e){return e.id}function IG(e){return e.parentId}function FG(){var e=RG,t=IG;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 ad(i),(_=e(i,a,n))!=null&&(_+="")&&(x=QC+(c.id=_),b[x]=x in b?ZC: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[QC+_],!f)throw new Error("missing: "+_);if(f===ZC)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=NG,l.eachBefore(function(C){C.depth=C.parent.depth+1,--o}).eachBefore(eR),l.parent=null,o>0)throw new Error("cycle");return l}return r.id=function(n){return arguments.length?(e=N0(n),r):e},r.parentId=function(n){return arguments.length?(t=N0(n),r):t},r}function LG(e,t){return e.parent===t.parent?1:2}function vb(e){var t=e.children;return t?t[0]:e.t}function gb(e){var t=e.children;return t?t[t.length-1]:e.t}function DG(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 $G(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 zG(e,t,r){return e.a.parent===t.parent?e.a:r}function Fg(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}Fg.prototype=Object.create(ad.prototype);function BG(e){for(var t=new Fg(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 Fg(a[o],o)),i.parent=r;return(t.parent=new Fg(null,0)).children=[t],t}function jG(){var e=LG,t=1,r=1,n=null;function i(c){var p=BG(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){$G(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=gb(C),x=vb(x),C&&x;)R=vb(R),b=gb(b),b.a=c,M=C.z+T-x.z-E+e(C._,x._),M>0&&(DG(zG(C,c,_),c,M),E+=M,S+=M),T+=C.m,E+=x.m,P+=R.m,S+=b.m;C&&!gb(b)&&(b.t=C,b.m+=T-S),x&&!vb(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 Am(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 oR=(1+Math.sqrt(5))/2;function uR(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?Vp(f,r,n,i,R?n+=C*E/R:a):Am(f,r,n,R?r+=b*E/R:i,a),R-=E,p=_}return o}const lR=function e(t){function r(n,i,a,o,l){uR(t,n,i,a,o,l)}return r.ratio=function(n){return e((n=+n)>1?n:1)},r}(oR);function UG(){var e=lR,t=!1,r=1,n=1,i=[0],a=Gs,o=Gs,l=Gs,f=Gs,c=Gs;function p(x){return x.x0=x.y0=0,x.x1=r,x.y1=n,x.eachBefore(_),i=[0],t&&x.eachBefore(aR),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=N0(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:wc(+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:wc(+x),p):o},p.paddingRight=function(x){return arguments.length?(l=typeof x=="function"?x:wc(+x),p):l},p.paddingBottom=function(x){return arguments.length?(f=typeof x=="function"?x:wc(+x),p):f},p.paddingLeft=function(x){return arguments.length?(c=typeof x=="function"?x:wc(+x),p):c},p}function HG(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 J=L+v>>>1;c[J]<M?L=J+1:v=J}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 Te=(R*ue+S*q)/b;p(_,L,q,C,R,E,Te),p(L,x,ue,C,Te,E,S)}}}function WG(e,t,r,n,i){(e.depth&1?Am:Vp)(e,t,r,n,i)}const GG=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?Vp(c,i,a,o,a+=(l-a)*c.value/R):Am(c,i,a,i+=(o-i)*c.value/R,l),R-=c.value}else n._squarify=f=uR(t,n,i,a,o,l),f.ratio=t}return r.ratio=function(n){return e((n=+n)>1?n:1)},r}(oR),qG=Object.freeze(Object.defineProperty({__proto__:null,cluster:aG,hierarchy:F2,pack:MG,packSiblings:CG,packEnclose:tR,partition:PG,stratify:FG,tree:jG,treemap:UG,treemapBinary:HG,treemapDice:Vp,treemapSlice:Am,treemapSliceDice:WG,treemapSquarify:lR,treemapResquarify:GG},Symbol.toStringTag,{value:"Module"})),dte=vf(qG);function xd(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function Yp(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function ps(){}var ff=.7,od=1/ff,Vc="\\s*([+-]?\\d+)\\s*",Mp="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",ou="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",VG=/^#([0-9a-f]{3,8})$/,YG=new RegExp("^rgb\\("+[Vc,Vc,Vc]+"\\)$"),XG=new RegExp("^rgb\\("+[ou,ou,ou]+"\\)$"),QG=new RegExp("^rgba\\("+[Vc,Vc,Vc,Mp]+"\\)$"),ZG=new RegExp("^rgba\\("+[ou,ou,ou,Mp]+"\\)$"),KG=new RegExp("^hsl\\("+[Mp,ou,ou]+"\\)$"),JG=new RegExp("^hsla\\("+[Mp,ou,ou,Mp]+"\\)$"),KC={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};xd(ps,Pp,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:JC,formatHex:JC,formatHsl:eq,formatRgb:e3,toString:e3});function JC(){return this.rgb().formatHex()}function eq(){return sR(this).formatHsl()}function e3(){return this.rgb().formatRgb()}function Pp(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=VG.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?t3(t):r===3?new Ni(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?og(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?og(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=YG.exec(e))?new Ni(t[1],t[2],t[3],1):(t=XG.exec(e))?new Ni(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=QG.exec(e))?og(t[1],t[2],t[3],t[4]):(t=ZG.exec(e))?og(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=KG.exec(e))?i3(t[1],t[2]/100,t[3]/100,1):(t=JG.exec(e))?i3(t[1],t[2]/100,t[3]/100,t[4]):KC.hasOwnProperty(e)?t3(KC[e]):e==="transparent"?new Ni(NaN,NaN,NaN,0):null}function t3(e){return new Ni(e>>16&255,e>>8&255,e&255,1)}function og(e,t,r,n){return n<=0&&(e=t=r=NaN),new Ni(e,t,r,n)}function L2(e){return e instanceof ps||(e=Pp(e)),e?(e=e.rgb(),new Ni(e.r,e.g,e.b,e.opacity)):new Ni}function R0(e,t,r,n){return arguments.length===1?L2(e):new Ni(e,t,r,n==null?1:n)}function Ni(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}xd(Ni,R0,Yp(ps,{brighter:function(e){return e=e==null?od:Math.pow(od,e),new Ni(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=e==null?ff:Math.pow(ff,e),new Ni(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:r3,formatHex:r3,formatRgb:n3,toString:n3}));function r3(){return"#"+mb(this.r)+mb(this.g)+mb(this.b)}function n3(){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 mb(e){return e=Math.max(0,Math.min(255,Math.round(e)||0)),(e<16?"0":"")+e.toString(16)}function i3(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new Jo(e,t,r,n)}function sR(e){if(e instanceof Jo)return new Jo(e.h,e.s,e.l,e.opacity);if(e instanceof ps||(e=Pp(e)),!e)return new Jo;if(e instanceof Jo)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 Jo(o,l,f,e.opacity)}function _w(e,t,r,n){return arguments.length===1?sR(e):new Jo(e,t,r,n==null?1:n)}function Jo(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}xd(Jo,_w,Yp(ps,{brighter:function(e){return e=e==null?od:Math.pow(od,e),new Jo(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=e==null?ff:Math.pow(ff,e),new Jo(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 Ni(yb(e>=240?e-240:e+120,i,n),yb(e,i,n),yb(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 yb(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 fR=Math.PI/180,cR=180/Math.PI,I0=18,dR=.96422,hR=1,pR=.82521,vR=4/29,Yc=6/29,gR=3*Yc*Yc,tq=Yc*Yc*Yc;function mR(e){if(e instanceof uu)return new uu(e.l,e.a,e.b,e.opacity);if(e instanceof Hu)return yR(e);e instanceof Ni||(e=L2(e));var t=_b(e.r),r=_b(e.g),n=_b(e.b),i=bb((.2225045*t+.7168786*r+.0606169*n)/hR),a,o;return t===r&&r===n?a=o=i:(a=bb((.4360747*t+.3850649*r+.1430804*n)/dR),o=bb((.0139322*t+.0971045*r+.7141733*n)/pR)),new uu(116*i-16,500*(a-i),200*(i-o),e.opacity)}function Sw(e,t,r,n){return arguments.length===1?mR(e):new uu(e,t,r,n==null?1:n)}function uu(e,t,r,n){this.l=+e,this.a=+t,this.b=+r,this.opacity=+n}xd(uu,Sw,Yp(ps,{brighter:function(e){return new uu(this.l+I0*(e==null?1:e),this.a,this.b,this.opacity)},darker:function(e){return new uu(this.l-I0*(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=dR*xb(t),e=hR*xb(e),r=pR*xb(r),new Ni(wb(3.1338561*t-1.6168667*e-.4906146*r),wb(-.9787684*t+1.9161415*e+.033454*r),wb(.0719453*t-.2289914*e+1.4052427*r),this.opacity)}}));function bb(e){return e>tq?Math.pow(e,1/3):e/gR+vR}function xb(e){return e>Yc?e*e*e:gR*(e-vR)}function wb(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function _b(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function rq(e){if(e instanceof Hu)return new Hu(e.h,e.c,e.l,e.opacity);if(e instanceof uu||(e=mR(e)),e.a===0&&e.b===0)return new Hu(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*cR;return new Hu(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function Ew(e,t,r,n){return arguments.length===1?rq(e):new Hu(e,t,r,n==null?1:n)}function Hu(e,t,r,n){this.h=+e,this.c=+t,this.l=+r,this.opacity=+n}function yR(e){if(isNaN(e.h))return new uu(e.l,0,0,e.opacity);var t=e.h*fR;return new uu(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}xd(Hu,Ew,Yp(ps,{brighter:function(e){return new Hu(this.h,this.c,this.l+I0*(e==null?1:e),this.opacity)},darker:function(e){return new Hu(this.h,this.c,this.l-I0*(e==null?1:e),this.opacity)},rgb:function(){return yR(this).rgb()}}));var bR=-.14861,D2=1.78277,$2=-.29227,Tm=-.90649,Np=1.97294,a3=Np*Tm,o3=Np*D2,u3=D2*$2-Tm*bR;function nq(e){if(e instanceof rf)return new rf(e.h,e.s,e.l,e.opacity);e instanceof Ni||(e=L2(e));var t=e.r/255,r=e.g/255,n=e.b/255,i=(u3*n+a3*t-o3*r)/(u3+a3-o3),a=n-i,o=(Np*(r-i)-$2*a)/Tm,l=Math.sqrt(o*o+a*a)/(Np*i*(1-i)),f=l?Math.atan2(o,a)*cR-120:NaN;return new rf(f<0?f+360:f,l,i,e.opacity)}function Aw(e,t,r,n){return arguments.length===1?nq(e):new rf(e,t,r,n==null?1:n)}function rf(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}xd(rf,Aw,Yp(ps,{brighter:function(e){return e=e==null?od:Math.pow(od,e),new rf(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=e==null?ff:Math.pow(ff,e),new rf(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*fR,t=+this.l,r=isNaN(this.s)?0:this.s*t*(1-t),n=Math.cos(e),i=Math.sin(e);return new Ni(255*(t+r*(bR*n+D2*i)),255*(t+r*($2*n+Tm*i)),255*(t+r*(Np*n)),this.opacity)}}));function xR(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 wR(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 xR((r-n/t)*t,o,i,a,l)}}function _R(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 xR((r-n/t)*t,i,a,o,l)}}function Cm(e){return function(){return e}}function SR(e,t){return function(r){return e+r*t}}function iq(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 Om(e,t){var r=t-e;return r?SR(e,r>180||r<-180?r-360*Math.round(r/360):r):Cm(isNaN(e)?t:e)}function aq(e){return(e=+e)==1?bi:function(t,r){return r-t?iq(t,r,e):Cm(isNaN(t)?r:t)}}function bi(e,t){var r=t-e;return r?SR(e,r):Cm(isNaN(e)?t:e)}const Tw=function e(t){var r=aq(t);function n(i,a){var o=r((i=R0(i)).r,(a=R0(a)).r),l=r(i.g,a.g),f=r(i.b,a.b),c=bi(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 ER(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=R0(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 oq=ER(wR),uq=ER(_R);function z2(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 AR(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function lq(e,t){return(AR(t)?z2:TR)(e,t)}function TR(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]=B2(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 CR(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function Ko(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function OR(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]=B2(e[i],t[i]):n[i]=t[i];return function(a){for(i in r)n[i]=r[i](a);return n}}var Cw=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Sb=new RegExp(Cw.source,"g");function sq(e){return function(){return e}}function fq(e){return function(t){return e(t)+""}}function kR(e,t){var r=Cw.lastIndex=Sb.lastIndex=0,n,i,a,o=-1,l=[],f=[];for(e=e+"",t=t+"";(n=Cw.exec(e))&&(i=Sb.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:Ko(n,i)})),r=Sb.lastIndex;return r<t.length&&(a=t.slice(r),l[o]?l[o]+=a:l[++o]=a),l.length<2?f[0]?fq(f[0].x):sq(t):(t=f.length,function(c){for(var p=0,_;p<t;++p)l[(_=f[p]).i]=_.x(c);return l.join("")})}function B2(e,t){var r=typeof t,n;return t==null||r==="boolean"?Cm(t):(r==="number"?Ko:r==="string"?(n=Pp(t))?(t=n,Tw):kR:t instanceof Pp?Tw:t instanceof Date?CR:AR(t)?z2:Array.isArray(t)?TR:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?OR:Ko)(e,t)}function cq(e){var t=e.length;return function(r){return e[Math.max(0,Math.min(t-1,Math.floor(r*t)))]}}function dq(e,t){var r=Om(+e,+t);return function(n){var i=r(n);return i-360*Math.floor(i/360)}}function hq(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}var l3=180/Math.PI,Ow={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function MR(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)*l3,skewX:Math.atan(f)*l3,scaleX:o,scaleY:l}}var kh,Eb,s3,ug;function pq(e){return e==="none"?Ow:(kh||(kh=document.createElement("DIV"),Eb=document.documentElement,s3=document.defaultView),kh.style.transform=e,e=s3.getComputedStyle(Eb.appendChild(kh),null).getPropertyValue("transform"),Eb.removeChild(kh),e=e.slice(7,-1).split(","),MR(+e[0],+e[1],+e[2],+e[3],+e[4],+e[5]))}function vq(e){return e==null||(ug||(ug=document.createElementNS("http://www.w3.org/2000/svg","g")),ug.setAttribute("transform",e),!(e=ug.transform.baseVal.consolidate()))?Ow:(e=e.matrix,MR(e.a,e.b,e.c,e.d,e.e,e.f))}function PR(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:Ko(c,_)},{i:R-2,x:Ko(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:Ko(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:Ko(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:Ko(c,_)},{i:R-2,x:Ko(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 gq=PR(pq,"px, ","px)","deg)"),mq=PR(vq,", ",")",")"),Mh=Math.SQRT2,Ab=2,f3=4,yq=1e-12;function c3(e){return((e=Math.exp(e))+1/e)/2}function bq(e){return((e=Math.exp(e))-1/e)/2}function xq(e){return((e=Math.exp(2*e))-1)/(e+1)}function wq(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<yq)x=Math.log(l/i)/Mh,_=function(T){return[r+T*f,n+T*c,i*Math.exp(Mh*T*x)]};else{var b=Math.sqrt(p),C=(l*l-i*i+f3*p)/(2*i*Ab*b),R=(l*l-i*i-f3*p)/(2*l*Ab*b),E=Math.log(Math.sqrt(C*C+1)-C),S=Math.log(Math.sqrt(R*R+1)-R);x=(S-E)/Mh,_=function(T){var P=T*x,M=c3(E),L=i/(Ab*b)*(M*xq(Mh*P+E)-bq(E));return[r+L*f,n+L*c,i*M/c3(Mh*P+E)]}}return _.duration=x*1e3,_}function NR(e){return function(t,r){var n=e((t=_w(t)).h,(r=_w(r)).h),i=bi(t.s,r.s),a=bi(t.l,r.l),o=bi(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 _q=NR(Om);var Sq=NR(bi);function Eq(e,t){var r=bi((e=Sw(e)).l,(t=Sw(t)).l),n=bi(e.a,t.a),i=bi(e.b,t.b),a=bi(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 RR(e){return function(t,r){var n=e((t=Ew(t)).h,(r=Ew(r)).h),i=bi(t.c,r.c),a=bi(t.l,r.l),o=bi(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 Aq=RR(Om);var Tq=RR(bi);function IR(e){return function t(r){r=+r;function n(i,a){var o=e((i=Aw(i)).h,(a=Aw(a)).h),l=bi(i.s,a.s),f=bi(i.l,a.l),c=bi(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 Cq=IR(Om);var Oq=IR(bi);function kq(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 Mq(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e(n/(t-1));return r}const Pq=Object.freeze(Object.defineProperty({__proto__:null,interpolate:B2,interpolateArray:lq,interpolateBasis:wR,interpolateBasisClosed:_R,interpolateDate:CR,interpolateDiscrete:cq,interpolateHue:dq,interpolateNumber:Ko,interpolateNumberArray:z2,interpolateObject:OR,interpolateRound:hq,interpolateString:kR,interpolateTransformCss:gq,interpolateTransformSvg:mq,interpolateZoom:wq,interpolateRgb:Tw,interpolateRgbBasis:oq,interpolateRgbBasisClosed:uq,interpolateHsl:_q,interpolateHslLong:Sq,interpolateLab:Eq,interpolateHcl:Aq,interpolateHclLong:Tq,interpolateCubehelix:Cq,interpolateCubehelixLong:Oq,piecewise:kq,quantize:Mq},Symbol.toStringTag,{value:"Module"})),hte=vf(Pq);var Nq="Expected a function",FR="__lodash_hash_undefined__",LR=1/0,Rq=9007199254740991,Iq="[object Function]",Fq="[object GeneratorFunction]",Lq="[object Symbol]",Dq=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$q=/^\w*$/,zq=/^\./,Bq=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,jq=/[\\^$.*+?()[\]{}|]/g,Uq=/\\(\\)?/g,Hq=/^\[object .+?Constructor\]$/,Wq=/^(?:0|[1-9]\d*)$/,Gq=typeof window=="object"&&window&&window.Object===Object&&window,qq=typeof self=="object"&&self&&self.Object===Object&&self,j2=Gq||qq||Function("return this")();function Vq(e,t){return e==null?void 0:e[t]}function Yq(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var Xq=Array.prototype,Qq=Function.prototype,DR=Object.prototype,Tb=j2["__core-js_shared__"],d3=function(){var e=/[^.]+$/.exec(Tb&&Tb.keys&&Tb.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),$R=Qq.toString,km=DR.hasOwnProperty,zR=DR.toString,Zq=RegExp("^"+$R.call(km).replace(jq,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),h3=j2.Symbol,Kq=Xq.splice,Jq=BR(j2,"Map"),Rp=BR(Object,"create"),p3=h3?h3.prototype:void 0,v3=p3?p3.toString:void 0;function cf(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 eV(){this.__data__=Rp?Rp(null):{}}function tV(e){return this.has(e)&&delete this.__data__[e]}function rV(e){var t=this.__data__;if(Rp){var r=t[e];return r===FR?void 0:r}return km.call(t,e)?t[e]:void 0}function nV(e){var t=this.__data__;return Rp?t[e]!==void 0:km.call(t,e)}function iV(e,t){var r=this.__data__;return r[e]=Rp&&t===void 0?FR:t,this}cf.prototype.clear=eV;cf.prototype.delete=tV;cf.prototype.get=rV;cf.prototype.has=nV;cf.prototype.set=iV;function wd(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 aV(){this.__data__=[]}function oV(e){var t=this.__data__,r=Mm(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Kq.call(t,r,1),!0}function uV(e){var t=this.__data__,r=Mm(t,e);return r<0?void 0:t[r][1]}function lV(e){return Mm(this.__data__,e)>-1}function sV(e,t){var r=this.__data__,n=Mm(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}wd.prototype.clear=aV;wd.prototype.delete=oV;wd.prototype.get=uV;wd.prototype.has=lV;wd.prototype.set=sV;function Cf(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 fV(){this.__data__={hash:new cf,map:new(Jq||wd),string:new cf}}function cV(e){return Pm(this,e).delete(e)}function dV(e){return Pm(this,e).get(e)}function hV(e){return Pm(this,e).has(e)}function pV(e,t){return Pm(this,e).set(e,t),this}Cf.prototype.clear=fV;Cf.prototype.delete=cV;Cf.prototype.get=dV;Cf.prototype.has=hV;Cf.prototype.set=pV;function vV(e,t,r){var n=e[t];(!(km.call(e,t)&&jR(n,r))||r===void 0&&!(t in e))&&(e[t]=r)}function Mm(e,t){for(var r=e.length;r--;)if(jR(e[r][0],t))return r;return-1}function gV(e){if(!F0(e)||SV(e))return!1;var t=CV(e)||Yq(e)?Zq:Hq;return t.test(TV(e))}function mV(e,t,r,n){if(!F0(e))return e;t=wV(t,e)?[t]:bV(t);for(var i=-1,a=t.length,o=a-1,l=e;l!=null&&++i<a;){var f=AV(t[i]),c=r;if(i!=o){var p=l[f];c=n?n(p,f,l):void 0,c===void 0&&(c=F0(p)?p:xV(t[i+1])?[]:{})}vV(l,f,c),l=l[f]}return e}function yV(e){if(typeof e=="string")return e;if(H2(e))return v3?v3.call(e):"";var t=e+"";return t=="0"&&1/e==-LR?"-0":t}function bV(e){return UR(e)?e:EV(e)}function Pm(e,t){var r=e.__data__;return _V(t)?r[typeof t=="string"?"string":"hash"]:r.map}function BR(e,t){var r=Vq(e,t);return gV(r)?r:void 0}function xV(e,t){return t=t==null?Rq:t,!!t&&(typeof e=="number"||Wq.test(e))&&e>-1&&e%1==0&&e<t}function wV(e,t){if(UR(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||H2(e)?!0:$q.test(e)||!Dq.test(e)||t!=null&&e in Object(t)}function _V(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function SV(e){return!!d3&&d3 in e}var EV=U2(function(e){e=kV(e);var t=[];return zq.test(e)&&t.push(""),e.replace(Bq,function(r,n,i,a){t.push(i?a.replace(Uq,"$1"):n||r)}),t});function AV(e){if(typeof e=="string"||H2(e))return e;var t=e+"";return t=="0"&&1/e==-LR?"-0":t}function TV(e){if(e!=null){try{return $R.call(e)}catch{}try{return e+""}catch{}}return""}function U2(e,t){if(typeof e!="function"||t&&typeof t!="function")throw new TypeError(Nq);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(U2.Cache||Cf),r}U2.Cache=Cf;function jR(e,t){return e===t||e!==e&&t!==t}var UR=Array.isArray;function CV(e){var t=F0(e)?zR.call(e):"";return t==Iq||t==Fq}function F0(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function OV(e){return!!e&&typeof e=="object"}function H2(e){return typeof e=="symbol"||OV(e)&&zR.call(e)==Lq}function kV(e){return e==null?"":yV(e)}function MV(e,t,r){return e==null?e:mV(e,t,r)}var pte=MV,Nm={exports:{}},Xp={};/** @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 PV=Ar.exports,HR=60103;Xp.Fragment=60107;if(typeof Symbol=="function"&&Symbol.for){var g3=Symbol.for;HR=g3("react.element"),Xp.Fragment=g3("react.fragment")}var NV=PV.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,RV=Object.prototype.hasOwnProperty,IV={key:!0,ref:!0,__self:!0,__source:!0};function WR(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)RV.call(t,n)&&!IV.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:HR,type:e,key:a,ref:o,props:i,_owner:NV.current}}Xp.jsx=WR;Xp.jsxs=WR;(function(e){e.exports=Xp})(Nm);const vte=Nm.exports.Fragment,lu=Nm.exports.jsx,FV=Nm.exports.jsxs;var LV=Tf,GR=function(e,t,r){var n;return isNaN(e)?(n=t,n>=0?r&&n?n-1:n:1):e===!1?!1:LV(e)},Of={},qR={exports:{}};(function(e){var t=mm,r=C2,n=el,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}})(qR);var L0={exports:{}},Cb,m3;function VR(){if(m3)return Cb;m3=1;var e=Oo,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols;return Cb=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},Cb}var y3=Tf,YR=function(e,t){return t},Ob,b3,x3,w3;try{Object.defineProperty(YR,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch{}YR.length===1?(Ob={configurable:!0,writable:!1,enumerable:!1},b3=Object.defineProperty,L0.exports=function(e,t){return t=y3(t),e.length===t?e:(Ob.value=t,b3(e,"length",Ob))}):(w3=VR(),x3=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); };")}}(),L0.exports=function(e,t){var r;if(t=y3(t),e.length===t)return e;r=x3(t)(e);try{w3(r,e)}catch{}return r});var kw={exports:{}};(function(e,t){var r=uo.exports,n=du,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,J;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(J=0;v=L[J];++J)(v===P||v.__eeOnceListener__===P)&&(L.length===2?M[T]=L[J?0:1]:L.splice(J,1));else(L===P||L.__eeOnceListener__===P)&&delete M[T];return this},C=function(T){var P,M,L,v,J;if(!!c.call(this,"__ee__")&&(v=this.__ee__[T],!!v))if(typeof v=="object"){for(M=arguments.length,J=new Array(M-1),P=1;P<M;++P)J[P-1]=arguments[P];for(v=v.slice(),P=0;L=v[P];++P)i.call(L,this,J)}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,J=new Array(M-1),P=1;P<M;++P)J[P-1]=arguments[P];i.call(v,this,J)}},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})(kw,kw.exports);var DV=xm(),$V=Array.isArray,zV=function(e){return $V(e)?e:DV(e)},BV=zV,jV=el,UV=du,HV=Array.prototype.slice,XR;XR=function(e){return this.map(function(t,r){return t?t(e[r]):e[r]}).concat(HV.call(e,this.length))};var WV=function(e){return e=BV(e),e.forEach(function(t){jV(t)&&UV(t)}),XR.bind(e)},lg=du,GV=function(e){var t;return typeof e=="function"?{set:e,get:e}:(t={get:lg(e.get)},e.set!==void 0?(t.set=lg(e.set),e.delete&&(t.delete=lg(e.delete)),e.clear&&(t.clear=lg(e.clear)),t):(t.set=t.get,t))},sg=qR.exports,fg=L0.exports,Ph=uo.exports,QR=kw.exports.methods,qV=WV,VV=GV,kb=Function.prototype.apply,Mb=Function.prototype.call,_3=Object.create,YV=Object.defineProperties,XV=QR.on,QV=QR.emit,ZV=function(e,t,r){var n=_3(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=VV(r.normalizer),o=b.get,l=b.set,f=b.delete,c=b.clear),r.resolvers!=null&&(T=qV(r.resolvers)),o?S=fg(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=Mb.call(e,this,v[0]):L=kb.call(e,this,v),M===null){if(M=o(v),M!==null)throw sg("Circular invocation","CIRCULAR_INVOCATION");M=l(v)}else if(hasOwnProperty.call(n,M))throw sg("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=kb.call(e,this,arguments):P=Mb.call(e,this),hasOwnProperty.call(n,"data"))throw sg("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=Mb.call(e,this,L[0]):M=kb.call(e,this,L),hasOwnProperty.call(n,v))throw sg("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=_3(null),i.emit("clear",P)},on:function(P,M){return P==="get"?C=!0:P==="set"?R=!0:P==="delete"&&(E=!0),XV.call(this,P,M)},emit:QV,updateEnv:function(){e=i.original}},o?p=fg(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)},_=fg(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=fg(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))}),YV(S,{__memoized__:Ph(!0),delete:Ph(p),clear:Ph(i.clear),_get:Ph(_),_has:Ph(x)}),i},KV=du,JV=wm,S3=Of,eY=ZV,tY=GR,rY=function e(t){var r,n,i;if(KV(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=tY(r.length,t.length,r.async&&S3.async),i=eY(t,n,r),JV(S3,function(a,o){r[o]&&a(r[o],i,r)}),e.__profiler__&&e.__profiler__(i),i.updateEnv(),i.memoized)},Pb,E3;function nY(){return E3||(E3=1,Pb=function(e){var t,r,n=e.length;if(!n)return"";for(t=String(e[r=0]);--n;)t+=""+e[++r];return t}),Pb}var Nb,A3;function iY(){return A3||(A3=1,Nb=function(e){return e?function(t){for(var r=String(t[0]),n=0,i=e;--i;)r+=""+t[++n];return r}:function(){return""}}),Nb}var Rb,T3;function aY(){return T3||(T3=1,Rb=function(){var e=Number.isNaN;return typeof e!="function"?!1:!e({})&&e(NaN)&&!e(34)}),Rb}var Ib,C3;function oY(){return C3||(C3=1,Ib=function(e){return e!==e}),Ib}var Fb,O3;function uY(){return O3||(O3=1,Fb=aY()()?Number.isNaN:oY()),Fb}var Lb,k3;function W2(){if(k3)return Lb;k3=1;var e=uY(),t=Tf,r=Oo,n=Array.prototype.indexOf,i=Object.prototype.hasOwnProperty,a=Math.abs,o=Math.floor;return Lb=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},Lb}var Db,M3;function lY(){if(M3)return Db;M3=1;var e=W2(),t=Object.create;return Db=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)}}},Db}var $b,P3;function sY(){if(P3)return $b;P3=1;var e=W2();return $b=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=[]}}},$b}var zb,N3;function fY(){if(N3)return zb;N3=1;var e=W2(),t=Object.create;return zb=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)}}},zb}var R3={},Bb,I3;function G2(){if(I3)return Bb;I3=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 Bb=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}(),Bb}var F3;function cY(){if(F3)return R3;F3=1;var e=xm(),t=P2(),r=VR(),n=L0.exports,i=G2(),a=Array.prototype.slice,o=Function.prototype.apply,l=Object.create;return Of.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 J,q,ue=L.id;if(ue==null){i(o.bind(L,this,arguments));return}if(delete L.id,J=p[ue],delete p[ue],!!J)return q=e(arguments),c.has(ue)&&(v?c.delete(ue):(_[ue]={context:this,args:q},c.emit("setasync",ue,typeof J=="function"?1:J.length))),typeof J=="function"?M=o.call(J,this,q):J.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)}))})},R3}var L3={},jb,D3;function dY(){if(D3)return jb;D3=1;var e=Array.prototype.forEach,t=Object.create;return jb=function(r){var n=t(null);return e.call(arguments,function(i){n[i]=!0}),n},jb}var Ub,$3;function ZR(){return $3||($3=1,Ub=function(e){return typeof e=="function"}),Ub}var Hb,z3;function hY(){if(z3)return Hb;z3=1;var e=ZR();return Hb=function(t){try{return t&&e(t.toString)?t.toString():String(t)}catch{throw new TypeError("Passed argument cannot be stringifed")}},Hb}var Wb,B3;function pY(){if(B3)return Wb;B3=1;var e=Oo,t=hY();return Wb=function(r){return t(e(r))},Wb}var Gb,j3;function vY(){if(j3)return Gb;j3=1;var e=ZR();return Gb=function(t){try{return t&&e(t.toString)?t.toString():String(t)}catch{return"<Non-coercible to string value>"}},Gb}var qb,U3;function gY(){if(U3)return qb;U3=1;var e=vY(),t=/[\n\r\u2028\u2029]/g;return qb=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},qb}var cg={exports:{}},H3;function KR(){if(H3)return cg.exports;H3=1,cg.exports=e,cg.exports.default=e;function e(t){return!!t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}return cg.exports}var W3;function mY(){if(W3)return L3;W3=1;var e=P2(),t=dY(),r=pY(),n=gY(),i=KR(),a=G2(),o=Object.create,l=t("then","then:finally","done","done:finally");return Of.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]}))})},L3}var G3={},q3;function yY(){if(q3)return G3;q3=1;var e=du,t=wm,r=Of,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)})})},G3}var V3={},Vb,Y3;function bY(){return Y3||(Y3=1,Vb=2147483647),Vb}var Yb,X3;function xY(){if(X3)return Yb;X3=1;var e=Tf,t=bY();return Yb=function(r){if(r=e(r),r>t)throw new TypeError(r+" exceeds maximum possible timeout");return r},Yb}var Q3;function wY(){if(Q3)return V3;Q3=1;var e=xm(),t=wm,r=G2(),n=KR(),i=xY(),a=Of,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={})}))},V3}var Z3={},Xb,K3;function _Y(){if(K3)return Xb;K3=1;var e=Tf,t=Object.create,r=Object.prototype.hasOwnProperty;return Xb=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}}},Xb}var J3;function SY(){if(J3)return Z3;J3=1;var e=Tf,t=_Y(),r=Of;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))},Z3}var eO={},tO;function EY(){if(tO)return eO;tO=1;var e=uo.exports,t=Of,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]})})},eO}var AY=M2,TY=GR,CY=rY,gte=function(e){var t=AY(arguments[1]),r;return t.normalizer||(r=t.length=TY(t.length,e.length,t.async),r!==0&&(t.primitive?r===!1?t.normalizer=nY():r>1&&(t.normalizer=iY()(r)):r===!1?t.normalizer=lY()():r===1?t.normalizer=sY()():t.normalizer=fY()(r))),t.async&&cY(),t.promise&&mY(),t.dispose&&yY(),t.maxAge&&wY(),t.max&&SY(),t.refCounter&&EY(),CY(e,t)},OY="Expected a function",rO=0/0,kY="[object Symbol]",MY=/^\s+|\s+$/g,PY=/^[-+]0x[0-9a-f]+$/i,NY=/^0b[01]+$/i,RY=/^0o[0-7]+$/i,IY=parseInt,FY=typeof window=="object"&&window&&window.Object===Object&&window,LY=typeof self=="object"&&self&&self.Object===Object&&self,DY=FY||LY||Function("return this")(),$Y=Object.prototype,zY=$Y.toString,BY=Math.max,jY=Math.min,Qb=function(){return DY.Date.now()};function UY(e,t,r){var n,i,a,o,l,f,c=0,p=!1,_=!1,x=!0;if(typeof e!="function")throw new TypeError(OY);t=nO(t)||0,Mw(r)&&(p=!!r.leading,_="maxWait"in r,a=_?BY(nO(r.maxWait)||0,t):a,x="trailing"in r?!!r.trailing:x);function b(v){var J=n,q=i;return n=i=void 0,c=v,o=e.apply(q,J),o}function C(v){return c=v,l=setTimeout(S,t),p?b(v):o}function R(v){var J=v-f,q=v-c,ue=t-J;return _?jY(ue,a-q):ue}function E(v){var J=v-f,q=v-c;return f===void 0||J>=t||J<0||_&&q>=a}function S(){var v=Qb();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(Qb())}function L(){var v=Qb(),J=E(v);if(n=arguments,i=this,f=v,J){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 Mw(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function HY(e){return!!e&&typeof e=="object"}function WY(e){return typeof e=="symbol"||HY(e)&&zY.call(e)==kY}function nO(e){if(typeof e=="number")return e;if(WY(e))return rO;if(Mw(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Mw(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(MY,"");var r=NY.test(e);return r||RY.test(e)?IY(e.slice(2),r?2:8):PY.test(e)?rO:+e}var mte=UY,JR={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:a_,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]||{},ae=1,fe=arguments.length,we=!1;for(typeof j=="boolean"&&(we=j,j=arguments[ae]||{},ae++),typeof j!="object"&&!R(j)&&(j={}),ae===fe&&(j=this,ae--);ae<fe;ae++)if((d=arguments[ae])!=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(J(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&&(J(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,ae=!A;$<j;$++)k=!m(d[$],$),k!==ae&&D.push(d[$]);return D},map:function(d,m,A){var k,D,$=0,j=[];if(J(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 J(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,ae,fe,we,Be,ot,ke,Ge,or,yr,nr,hn,sn,si,zr="sizzle"+1*new Date,Sr=d.document,Fn=0,Br=0,nn=Qi(),Ca=Qi(),dl=Qi(),Yn=Qi(),Wa=function(U,le){return U===le&&(ot=!0),0},Xn={}.hasOwnProperty,jn=[],fi=jn.pop,ci=jn.push,Ln=jn.push,Qn=jn.slice,Ai=function(U,le){for(var ye=0,Ve=U.length;ye<Ve;ye++)if(U[ye]===le)return ye;return-1},hl="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Gr="[\\x20\\t\\r\\n\\f]",Ga="(?:\\\\[\\da-fA-F]{1,6}"+Gr+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",pl="\\["+Gr+"*("+Ga+")(?:"+Gr+"*([*^$|!~]?=)"+Gr+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Ga+"))|)"+Gr+"*\\]",Au=":("+Ga+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+pl+")*)|.*)\\)|)",jf=new RegExp(Gr+"+","g"),vl=new RegExp("^"+Gr+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Gr+"+$","g"),Go=new RegExp("^"+Gr+"*,"+Gr+"*"),Cn=new RegExp("^"+Gr+"*([>+~]|"+Gr+")"+Gr+"*"),Uf=new RegExp(Gr+"|>"),Hf=new RegExp(Au),mo=new RegExp("^"+Ga+"$"),Tu={ID:new RegExp("^#("+Ga+")"),CLASS:new RegExp("^\\.("+Ga+")"),TAG:new RegExp("^("+Ga+"|[*])"),ATTR:new RegExp("^"+pl),PSEUDO:new RegExp("^"+Au),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("^(?:"+hl+")$","i"),needsContext:new RegExp("^"+Gr+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Gr+"*((?:-\\d)?\\d*)"+Gr+"*\\)|)(?=[^-]|$)","i")},Wf=/HTML$/i,Td=/^(?:input|select|textarea|button)$/i,Cd=/^h\d$/i,Cu=/^[^{]+\{\s*\[native \w/,Od=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,qo=/[+~]/,Xi=new RegExp("\\\\[\\da-fA-F]{1,6}"+Gr+"?|\\\\([^\\r\\n\\f])","g"),aa=function(U,le){var ye="0x"+U.slice(1)-65536;return le||(ye<0?String.fromCharCode(ye+65536):String.fromCharCode(ye>>10|55296,ye&1023|56320))},gl=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Es=function(U,le){return le?U==="\0"?"\uFFFD":U.slice(0,-1)+"\\"+U.charCodeAt(U.length-1).toString(16)+" ":"\\"+U},Gf=function(){ke()},Oa=ku(function(U){return U.disabled===!0&&U.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{Ln.apply(jn=Qn.call(Sr.childNodes),Sr.childNodes),jn[Sr.childNodes.length].nodeType}catch{Ln={apply:jn.length?function(le,ye){ci.apply(le,Qn.call(ye))}:function(le,ye){for(var Ve=le.length,Se=0;le[Ve++]=ye[Se++];);le.length=Ve-1}}}function Zr(U,le,ye,Ve){var Se,et,dt,Pt,zt,dr,lr,pr=le&&le.ownerDocument,Mr=le?le.nodeType:9;if(ye=ye||[],typeof U!="string"||!U||Mr!==1&&Mr!==9&&Mr!==11)return ye;if(!Ve&&(ke(le),le=le||Ge,yr)){if(Mr!==11&&(zt=Od.exec(U)))if(Se=zt[1]){if(Mr===9)if(dt=le.getElementById(Se)){if(dt.id===Se)return ye.push(dt),ye}else return ye;else if(pr&&(dt=pr.getElementById(Se))&&si(le,dt)&&dt.id===Se)return ye.push(dt),ye}else{if(zt[2])return Ln.apply(ye,le.getElementsByTagName(U)),ye;if((Se=zt[3])&&A.getElementsByClassName&&le.getElementsByClassName)return Ln.apply(ye,le.getElementsByClassName(Se)),ye}if(A.qsa&&!Yn[U+" "]&&(!nr||!nr.test(U))&&(Mr!==1||le.nodeName.toLowerCase()!=="object")){if(lr=U,pr=le,Mr===1&&(Uf.test(U)||Cn.test(U))){for(pr=qo.test(U)&&yl(le.parentNode)||le,(pr!==le||!A.scope)&&((Pt=le.getAttribute("id"))?Pt=Pt.replace(gl,Es):le.setAttribute("id",Pt=zr)),dr=j(U),et=dr.length;et--;)dr[et]=(Pt?"#"+Pt:":scope")+" "+hi(dr[et]);lr=dr.join(",")}try{return Ln.apply(ye,pr.querySelectorAll(lr)),ye}catch{Yn(U,!0)}finally{Pt===zr&&le.removeAttribute("id")}}}return fe(U.replace(vl,"$1"),le,ye,Ve)}function Qi(){var U=[];function le(ye,Ve){return U.push(ye+" ")>k.cacheLength&&delete le[U.shift()],le[ye+" "]=Ve}return le}function di(U){return U[zr]=!0,U}function Di(U){var le=Ge.createElement("fieldset");try{return!!U(le)}catch{return!1}finally{le.parentNode&&le.parentNode.removeChild(le),le=null}}function Ou(U,le){for(var ye=U.split("|"),Ve=ye.length;Ve--;)k.attrHandle[ye[Ve]]=le}function As(U,le){var ye=le&&U,Ve=ye&&U.nodeType===1&&le.nodeType===1&&U.sourceIndex-le.sourceIndex;if(Ve)return Ve;if(ye){for(;ye=ye.nextSibling;)if(ye===le)return-1}return U?1:-1}function qf(U){return function(le){var ye=le.nodeName.toLowerCase();return ye==="input"&&le.type===U}}function Vf(U){return function(le){var ye=le.nodeName.toLowerCase();return(ye==="input"||ye==="button")&&le.type===U}}function ml(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&&Oa(le)===U:le.disabled===U:"label"in le?le.disabled===U:!1}}function qa(U){return di(function(le){return le=+le,di(function(ye,Ve){for(var Se,et=U([],ye.length,le),dt=et.length;dt--;)ye[Se=et[dt]]&&(ye[Se]=!(Ve[Se]=ye[Se]))})})}function yl(U){return U&&typeof U.getElementsByTagName<"u"&&U}A=Zr.support={},$=Zr.isXML=function(U){var le=U&&U.namespaceURI,ye=U&&(U.ownerDocument||U).documentElement;return!Wf.test(le||ye&&ye.nodeName||"HTML")},ke=Zr.setDocument=function(U){var le,ye,Ve=U?U.ownerDocument||U:Sr;return Ve==Ge||Ve.nodeType!==9||!Ve.documentElement||(Ge=Ve,or=Ge.documentElement,yr=!$(Ge),Sr!=Ge&&(ye=Ge.defaultView)&&ye.top!==ye&&(ye.addEventListener?ye.addEventListener("unload",Gf,!1):ye.attachEvent&&ye.attachEvent("onunload",Gf)),A.scope=Di(function(Se){return or.appendChild(Se).appendChild(Ge.createElement("div")),typeof Se.querySelectorAll<"u"&&!Se.querySelectorAll(":scope fieldset div").length}),A.attributes=Di(function(Se){return Se.className="i",!Se.getAttribute("className")}),A.getElementsByTagName=Di(function(Se){return Se.appendChild(Ge.createComment("")),!Se.getElementsByTagName("*").length}),A.getElementsByClassName=Cu.test(Ge.getElementsByClassName),A.getById=Di(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(Xi,aa);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(Xi,aa);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)},hn=[],nr=[],(A.qsa=Cu.test(Ge.querySelectorAll))&&(Di(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|"+hl+")"),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]")}),Di(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=Cu.test(sn=or.matches||or.webkitMatchesSelector||or.mozMatchesSelector||or.oMatchesSelector||or.msMatchesSelector))&&Di(function(Se){A.disconnectedMatch=sn.call(Se,"*"),sn.call(Se,"[s!='']:x"),hn.push("!=",Au)}),nr=nr.length&&new RegExp(nr.join("|")),hn=hn.length&&new RegExp(hn.join("|")),le=Cu.test(or.compareDocumentPosition),si=le||Cu.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},Wa=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&&si(Sr,Se)?-1:et==Ge||et.ownerDocument==Sr&&si(Sr,et)?1:Be?Ai(Be,Se)-Ai(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?Ai(Be,Se)-Ai(Be,et):0;if(zt===dr)return As(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?As(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(ke(U),A.matchesSelector&&yr&&!Yn[le+" "]&&(!hn||!hn.test(le))&&(!nr||!nr.test(le)))try{var ye=sn.call(U,le);if(ye||A.disconnectedMatch||U.document&&U.document.nodeType!==11)return ye}catch{Yn(le,!0)}return Zr(le,Ge,null,[U]).length>0},Zr.contains=function(U,le){return(U.ownerDocument||U)!=Ge&&ke(U),si(U,le)},Zr.attr=function(U,le){(U.ownerDocument||U)!=Ge&&ke(U);var ye=k.attrHandle[le.toLowerCase()],Ve=ye&&Xn.call(k.attrHandle,le.toLowerCase())?ye(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(gl,Es)},Zr.error=function(U){throw new Error("Syntax error, unrecognized expression: "+U)},Zr.uniqueSort=function(U){var le,ye=[],Ve=0,Se=0;if(ot=!A.detectDuplicates,Be=!A.sortStable&&U.slice(0),U.sort(Wa),ot){for(;le=U[Se++];)le===U[Se]&&(Ve=ye.push(Se));for(;Ve--;)U.splice(ye[Ve],1)}return Be=null,U},D=Zr.getText=function(U){var le,ye="",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)ye+=D(U)}else if(Se===3||Se===4)return U.nodeValue}else for(;le=U[Ve++];)ye+=D(le);return ye},k=Zr.selectors={cacheLength:50,createPseudo:di,match:Tu,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(Xi,aa),U[3]=(U[3]||U[4]||U[5]||"").replace(Xi,aa),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,ye=!U[6]&&U[2];return Tu.CHILD.test(U[0])?null:(U[3]?U[2]=U[4]||U[5]||"":ye&&Hf.test(ye)&&(le=j(ye,!0))&&(le=ye.indexOf(")",ye.length-le)-ye.length)&&(U[0]=U[0].slice(0,le),U[2]=ye.slice(0,le)),U.slice(0,3))}},filter:{TAG:function(U){var le=U.replace(Xi,aa).toLowerCase();return U==="*"?function(){return!0}:function(ye){return ye.nodeName&&ye.nodeName.toLowerCase()===le}},CLASS:function(U){var le=nn[U+" "];return le||(le=new RegExp("(^|"+Gr+")"+U+"("+Gr+"|$)"))&&nn(U,function(ye){return le.test(typeof ye.className=="string"&&ye.className||typeof ye.getAttribute<"u"&&ye.getAttribute("class")||"")})},ATTR:function(U,le,ye){return function(Ve){var Se=Zr.attr(Ve,U);return Se==null?le==="!=":le?(Se+="",le==="="?Se===ye:le==="!="?Se!==ye:le==="^="?ye&&Se.indexOf(ye)===0:le==="*="?ye&&Se.indexOf(ye)>-1:le==="$="?ye&&Se.slice(-ye.length)===ye:le==="~="?(" "+Se.replace(jf," ")+" ").indexOf(ye)>-1:le==="|="?Se===ye||Se.slice(0,ye.length+1)===ye+"-":!1):!0}},CHILD:function(U,le,ye,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,yn,Un,Zn=et!==dt?"nextSibling":"previousSibling",an=zt.parentNode,Mu=Pt&&zt.nodeName.toLowerCase(),yo=!lr&&!Pt,pi=!1;if(an){if(et){for(;Zn;){for(cr=zt;cr=cr[Zn];)if(Pt?cr.nodeName.toLowerCase()===Mu:cr.nodeType===1)return!1;Un=Zn=U==="only"&&!Un&&"nextSibling"}return!0}if(Un=[dt?an.firstChild:an.lastChild],dt&&yo){for(cr=an,Xr=cr[zr]||(cr[zr]={}),Mr=Xr[cr.uniqueID]||(Xr[cr.uniqueID]={}),pr=Mr[U]||[],yn=pr[0]===Fn&&pr[1],pi=yn&&pr[2],cr=yn&&an.childNodes[yn];cr=++yn&&cr&&cr[Zn]||(pi=yn=0)||Un.pop();)if(cr.nodeType===1&&++pi&&cr===zt){Mr[U]=[Fn,yn,pi];break}}else if(yo&&(cr=zt,Xr=cr[zr]||(cr[zr]={}),Mr=Xr[cr.uniqueID]||(Xr[cr.uniqueID]={}),pr=Mr[U]||[],yn=pr[0]===Fn&&pr[1],pi=yn),pi===!1)for(;(cr=++yn&&cr&&cr[Zn]||(pi=yn=0)||Un.pop())&&!((Pt?cr.nodeName.toLowerCase()===Mu:cr.nodeType===1)&&++pi&&(yo&&(Xr=cr[zr]||(cr[zr]={}),Mr=Xr[cr.uniqueID]||(Xr[cr.uniqueID]={}),Mr[U]=[Fn,pi]),cr===zt)););return pi-=Se,pi===Ve||pi%Ve===0&&pi/Ve>=0}}},PSEUDO:function(U,le){var ye,Ve=k.pseudos[U]||k.setFilters[U.toLowerCase()]||Zr.error("unsupported pseudo: "+U);return Ve[zr]?Ve(le):Ve.length>1?(ye=[U,U,"",le],k.setFilters.hasOwnProperty(U.toLowerCase())?di(function(Se,et){for(var dt,Pt=Ve(Se,le),zt=Pt.length;zt--;)dt=Ai(Se,Pt[zt]),Se[dt]=!(et[dt]=Pt[zt])}):function(Se){return Ve(Se,0,ye)}):Ve}},pseudos:{not:di(function(U){var le=[],ye=[],Ve=ae(U.replace(vl,"$1"));return Ve[zr]?di(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,ye),le[0]=null,!ye.pop()}}),has:di(function(U){return function(le){return Zr(U,le).length>0}}),contains:di(function(U){return U=U.replace(Xi,aa),function(le){return(le.textContent||D(le)).indexOf(U)>-1}}),lang:di(function(U){return mo.test(U||"")||Zr.error("unsupported lang: "+U),U=U.replace(Xi,aa).toLowerCase(),function(le){var ye;do if(ye=yr?le.lang:le.getAttribute("xml:lang")||le.getAttribute("lang"))return ye=ye.toLowerCase(),ye===U||ye.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:ml(!1),disabled:ml(!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 Cd.test(U.nodeName)},input:function(U){return Td.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:qa(function(){return[0]}),last:qa(function(U,le){return[le-1]}),eq:qa(function(U,le,ye){return[ye<0?ye+le:ye]}),even:qa(function(U,le){for(var ye=0;ye<le;ye+=2)U.push(ye);return U}),odd:qa(function(U,le){for(var ye=1;ye<le;ye+=2)U.push(ye);return U}),lt:qa(function(U,le,ye){for(var Ve=ye<0?ye+le:ye>le?le:ye;--Ve>=0;)U.push(Ve);return U}),gt:qa(function(U,le,ye){for(var Ve=ye<0?ye+le:ye;++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]=qf(m);for(m in{submit:!0,reset:!0})k.pseudos[m]=Vf(m);function Ts(){}Ts.prototype=k.filters=k.pseudos,k.setFilters=new Ts,j=Zr.tokenize=function(U,le){var ye,Ve,Se,et,dt,Pt,zt,dr=Ca[U+" "];if(dr)return le?0:dr.slice(0);for(dt=U,Pt=[],zt=k.preFilter;dt;){(!ye||(Ve=Go.exec(dt)))&&(Ve&&(dt=dt.slice(Ve[0].length)||dt),Pt.push(Se=[])),ye=!1,(Ve=Cn.exec(dt))&&(ye=Ve.shift(),Se.push({value:ye,type:Ve[0].replace(vl," ")}),dt=dt.slice(ye.length));for(et in k.filter)(Ve=Tu[et].exec(dt))&&(!zt[et]||(Ve=zt[et](Ve)))&&(ye=Ve.shift(),Se.push({value:ye,type:et,matches:Ve}),dt=dt.slice(ye.length));if(!ye)break}return le?dt.length:dt?Zr.error(U):Ca(U,Pt).slice(0)};function hi(U){for(var le=0,ye=U.length,Ve="";le<ye;le++)Ve+=U[le].value;return Ve}function ku(U,le,ye){var Ve=le.dir,Se=le.next,et=Se||Ve,dt=ye&&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=[Fn,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]===Fn&&pr[1]===Pt)return cr[2]=pr[2];if(Mr[et]=cr,cr[2]=U(zt,dr,lr))return!0}return!1}}function bl(U){return U.length>1?function(le,ye,Ve){for(var Se=U.length;Se--;)if(!U[Se](le,ye,Ve))return!1;return!0}:U[0]}function ka(U,le,ye){for(var Ve=0,Se=le.length;Ve<Se;Ve++)Zr(U,le[Ve],ye);return ye}function Vo(U,le,ye,Ve,Se){for(var et,dt=[],Pt=0,zt=U.length,dr=le!=null;Pt<zt;Pt++)(et=U[Pt])&&(!ye||ye(et,Ve,Se))&&(dt.push(et),dr&&le.push(Pt));return dt}function Va(U,le,ye,Ve,Se,et){return Ve&&!Ve[zr]&&(Ve=Va(Ve)),Se&&!Se[zr]&&(Se=Va(Se,et)),di(function(dt,Pt,zt,dr){var lr,pr,Mr,Xr=[],cr=[],yn=Pt.length,Un=dt||ka(le||"*",zt.nodeType?[zt]:zt,[]),Zn=U&&(dt||!le)?Vo(Un,Xr,U,zt,dr):Un,an=ye?Se||(dt?U:yn||Ve)?[]:Pt:Zn;if(ye&&ye(Zn,an,zt,dr),Ve)for(lr=Vo(an,cr),Ve(lr,[],zt,dr),pr=lr.length;pr--;)(Mr=lr[pr])&&(an[cr[pr]]=!(Zn[cr[pr]]=Mr));if(dt){if(Se||U){if(Se){for(lr=[],pr=an.length;pr--;)(Mr=an[pr])&&lr.push(Zn[pr]=Mr);Se(null,an=[],lr,dr)}for(pr=an.length;pr--;)(Mr=an[pr])&&(lr=Se?Ai(dt,Mr):Xr[pr])>-1&&(dt[lr]=!(Pt[lr]=Mr))}}else an=Vo(an===Pt?an.splice(yn,an.length):an),Se?Se(null,Pt,an,dr):Ln.apply(Pt,an)})}function Ya(U){for(var le,ye,Ve,Se=U.length,et=k.relative[U[0].type],dt=et||k.relative[" "],Pt=et?1:0,zt=ku(function(pr){return pr===le},dt,!0),dr=ku(function(pr){return Ai(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(ye=k.relative[U[Pt].type])lr=[ku(bl(lr),ye)];else{if(ye=k.filter[U[Pt].type].apply(null,U[Pt].matches),ye[zr]){for(Ve=++Pt;Ve<Se&&!k.relative[U[Ve].type];Ve++);return Va(Pt>1&&bl(lr),Pt>1&&hi(U.slice(0,Pt-1).concat({value:U[Pt-2].type===" "?"*":""})).replace(vl,"$1"),ye,Pt<Ve&&Ya(U.slice(Pt,Ve)),Ve<Se&&Ya(U=U.slice(Ve)),Ve<Se&&hi(U))}lr.push(ye)}return bl(lr)}function Yo(U,le){var ye=le.length>0,Ve=U.length>0,Se=function(et,dt,Pt,zt,dr){var lr,pr,Mr,Xr=0,cr="0",yn=et&&[],Un=[],Zn=we,an=et||Ve&&k.find.TAG("*",dr),Mu=Fn+=Zn==null?1:Math.random()||.1,yo=an.length;for(dr&&(we=dt==Ge||dt||dr);cr!==yo&&(lr=an[cr])!=null;cr++){if(Ve&&lr){for(pr=0,!dt&&lr.ownerDocument!=Ge&&(ke(lr),Pt=!yr);Mr=U[pr++];)if(Mr(lr,dt||Ge,Pt)){zt.push(lr);break}dr&&(Fn=Mu)}ye&&((lr=!Mr&&lr)&&Xr--,et&&yn.push(lr))}if(Xr+=cr,ye&&cr!==Xr){for(pr=0;Mr=le[pr++];)Mr(yn,Un,dt,Pt);if(et){if(Xr>0)for(;cr--;)yn[cr]||Un[cr]||(Un[cr]=fi.call(zt));Un=Vo(Un)}Ln.apply(zt,Un),dr&&!et&&Un.length>0&&Xr+le.length>1&&Zr.uniqueSort(zt)}return dr&&(Fn=Mu,we=Zn),yn};return ye?di(Se):Se}return ae=Zr.compile=function(U,le){var ye,Ve=[],Se=[],et=dl[U+" "];if(!et){for(le||(le=j(U)),ye=le.length;ye--;)et=Ya(le[ye]),et[zr]?Ve.push(et):Se.push(et);et=dl(U,Yo(Se,Ve)),et.selector=U}return et},fe=Zr.select=function(U,le,ye,Ve){var Se,et,dt,Pt,zt,dr=typeof U=="function"&&U,lr=!Ve&&j(U=dr.selector||U);if(ye=ye||[],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(Xi,aa),le)||[])[0],le)dr&&(le=le.parentNode);else return ye;U=U.slice(et.shift().value.length)}for(Se=Tu.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(Xi,aa),qo.test(et[0].type)&&yl(le.parentNode)||le))){if(et.splice(Se,1),U=Ve.length&&hi(et),!U)return Ln.apply(ye,Ve),ye;break}}return(dr||ae(U,lr))(Ve,le,!yr,ye,!le||qo.test(U)&&yl(le.parentNode)||le),ye},A.sortStable=zr.split("").sort(Wa).join("")===zr,A.detectDuplicates=!!ot,ke(),A.sortDetached=Di(function(U){return U.compareDocumentPosition(Ge.createElement("fieldset"))&1}),Di(function(U){return U.innerHTML="<a href='#'></a>",U.firstChild.getAttribute("href")==="#"})||Ou("type|href|height|width",function(U,le,ye){if(!ye)return U.getAttribute(le,le.toLowerCase()==="type"?1:2)}),(!A.attributes||!Di(function(U){return U.innerHTML="<input/>",U.firstChild.setAttribute("value",""),U.firstChild.getAttribute("value")===""}))&&Ou("value",function(U,le,ye){if(!ye&&U.nodeName.toLowerCase()==="input")return U.defaultValue}),Di(function(U){return U.getAttribute("disabled")==null})||Ou(hl,function(U,le,ye){var Ve;if(!ye)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},Te=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"&&Te.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(!Te.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=[],ae=-1,fe=function(){for(D=D||d.once,k=m=!0;j.length;ae=-1)for(A=j.shift();++ae<$.length;)$[ae].apply(A[0],A[1])===!1&&d.stopOnFalse&&(ae=$.length,A=!1);d.memory||(A=!1),m=!1,D&&(A?$=[]:$="")},we={add:function(){return $&&(A&&!m&&(ae=$.length-1,j.push(A)),function Be(ot){v.each(ot,function(ke,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 ke;(ke=v.inArray(ot,$,ke))>-1;)$.splice(ke,1),ke<=ae&&ae--}),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(ae,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,ae){var fe=0;function we(Be,ot,ke,Ge){return function(){var or=this,yr=arguments,nr=function(){var sn,si;if(!(Be<fe)){if(sn=ke.apply(or,yr),sn===ot.promise())throw new TypeError("Thenable self-resolution");si=sn&&(typeof sn=="object"||typeof sn=="function")&&sn.then,R(si)?Ge?si.call(sn,we(fe,ot,At,Ge),we(fe,ot,st,Ge)):(fe++,si.call(sn,we(fe,ot,At,Ge),we(fe,ot,st,Ge),we(fe,ot,At,ot.notifyWith))):(ke!==At&&(or=void 0,yr=[sn]),(Ge||ot.resolveWith)(or,yr))}},hn=Ge?nr:function(){try{nr()}catch(sn){v.Deferred.exceptionHook&&v.Deferred.exceptionHook(sn,hn.stackTrace),Be+1>=fe&&(ke!==st&&(or=void 0,yr=[sn]),ot.rejectWith(or,yr))}};Be?hn():(v.Deferred.getStackHook&&(hn.stackTrace=v.Deferred.getStackHook()),t.setTimeout(hn))}}return v.Deferred(function(Be){m[0][3].add(we(0,Be,R(ae)?ae: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 ae=j[2],fe=j[5];k[j[1]]=ae.add,fe&&ae.add(function(){A=fe},m[3-$][2].disable,m[3-$][3].disable,m[0][2].lock,m[0][3].lock),ae.add(j[3].fire),D[j[0]]=function(){return D[j[0]+"With"](this===D?void 0:this,arguments),this},D[j[0]+"With"]=ae.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(ae){return function(fe){k[ae]=this,D[ae]=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 ae=0,fe=d.length,we=A==null;if(M(A)==="object"){D=!0;for(ae in A)at(d,m,ae,A[ae],!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,ke){return we.call(v(Be),ke)})),m))for(;ae<fe;ae++)m(d[ae],A,j?k:k.call(d[ae],ae,m(d[ae],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 ee(){this.expando=v.expando+ee.uid++}ee.uid=1,ee.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 Ee=new ee,wt=new ee,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 Jr(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)||Ee.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 Ee.access(d,m,A)},_removeData:function(d,m){Ee.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&&!Ee.get($,"hasDataAttrs"))){for(A=j.length;A--;)j[A]&&(k=j[A].name,k.indexOf("data-")===0&&(k=Y(k.slice(5)),Jr($,k,D[k])));Ee.set($,"hasDataAttrs",!0)}return D}return typeof d=="object"?this.each(function(){wt.set(this,d)}):at(this,function(ae){var fe;if($&&ae===void 0)return fe=wt.get($,d),fe!==void 0||(fe=Jr($,d),fe!==void 0)?fe:void 0;this.each(function(){wt.set(this,d,ae)})},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=Ee.get(d,m),A&&(!k||Array.isArray(A)?k=Ee.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 Ee.get(d,A)||Ee.access(d,A,{empty:v.Callbacks("once memory").add(function(){Ee.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,ae=function(){--k||D.resolveWith($,[$])};for(typeof d!="string"&&(m=d,d=void 0),d=d||"fx";j--;)A=Ee.get($[j],d+"queueHooks"),A&&A.empty&&(k++,A.empty.add(ae));return ae(),D.promise(m)}});var Gn=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Fi=new RegExp("^(?:([+-])=|)("+Gn+")([a-z%]*)$","i"),dn=["Top","Right","Bottom","Left"],Da=S.documentElement,Mo=function(d){return v.contains(d.ownerDocument,d)},vs={composed:!0};Da.getRootNode&&(Mo=function(d){return v.contains(d.ownerDocument,d)||d.getRootNode(vs)===d.ownerDocument});var hu=function(d,m){return d=m||d,d.style.display==="none"||d.style.display===""&&Mo(d)&&v.css(d,"display")==="none"};function pu(d,m,A,k){var D,$,j=20,ae=k?function(){return k.cur()}:function(){return v.css(d,m,"")},fe=ae(),we=A&&A[3]||(v.cssNumber[m]?"":"px"),Be=d.nodeType&&(v.cssNumber[m]||we!=="px"&&+fe)&&Fi.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-($=ae()/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 Gi={};function Mf(d){var m,A=d.ownerDocument,k=d.nodeName,D=Gi[k];return D||(m=A.body.appendChild(A.createElement(k)),D=v.css(m,"display"),m.parentNode.removeChild(m),D==="none"&&(D="block"),Gi[k]=D,D)}function ui(d,m){for(var A,k,D=[],$=0,j=d.length;$<j;$++)k=d[$],k.style&&(A=k.style.display,m?(A==="none"&&(D[$]=Ee.get(k,"display")||null,D[$]||(k.style.display="")),k.style.display===""&&hu(k)&&(D[$]=Mf(k))):A!=="none"&&(D[$]="none",Ee.set(k,"display",A)));for($=0;$<j;$++)D[$]!=null&&(d[$].style.display=D[$]);return d}v.fn.extend({show:function(){return ui(this,!0)},hide:function(){return ui(this)},toggle:function(d){return typeof d=="boolean"?d?this.show():this.hide():this.each(function(){hu(this)?v(this).show():v(this).hide()})}});var ga=/^(?:checkbox|radio)$/i,vu=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,gu=/^$|^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 qn={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,"",""]};qn.tbody=qn.tfoot=qn.colgroup=qn.caption=qn.thead,qn.th=qn.td,C.option||(qn.optgroup=qn.option=[1,"<select multiple='multiple'>","</select>"]);function li(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 ma(d,m){for(var A=0,k=d.length;A<k;A++)Ee.set(d[A],"globalEval",!m||Ee.get(m[A],"globalEval"))}var Ed=/<|&#?\w+;/;function mu(d,m,A,k,D){for(var $,j,ae,fe,we,Be,ot=m.createDocumentFragment(),ke=[],Ge=0,or=d.length;Ge<or;Ge++)if($=d[Ge],$||$===0)if(M($)==="object")v.merge(ke,$.nodeType?[$]:$);else if(!Ed.test($))ke.push(m.createTextNode($));else{for(j=j||ot.appendChild(m.createElement("div")),ae=(vu.exec($)||["",""])[1].toLowerCase(),fe=qn[ae]||qn._default,j.innerHTML=fe[1]+v.htmlPrefilter($)+fe[2],Be=fe[0];Be--;)j=j.lastChild;v.merge(ke,j.childNodes),j=ot.firstChild,j.textContent=""}for(ot.textContent="",Ge=0;$=ke[Ge++];){if(k&&v.inArray($,k)>-1){D&&D.push($);continue}if(we=Mo($),j=li(ot.appendChild($),"script"),we&&ma(j),A)for(Be=0;$=j[Be++];)gu.test($.type||"")&&A.push($)}return ot}var Mn=/^([^.]*)(?:\.(.+)|)/;function Bn(){return!0}function Pn(){return!1}function Pr(d,m){return d===Pf()==(m==="focus")}function Pf(){try{return S.activeElement}catch{}}function qi(d,m,A,k,D,$){var j,ae;if(typeof m=="object"){typeof A!="string"&&(k=k||A,A=void 0);for(ae in m)qi(d,ae,A,k,m[ae],$);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=Pn;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={window:{},add:function(d,m,A,k,D){var $,j,ae,fe,we,Be,ot,ke,Ge,or,yr,nr=Ee.get(d);if(!!he(d))for(A.handler&&($=A,A=$.handler,D=$.selector),D&&v.find.matchesSelector(Da,D),A.guid||(A.guid=v.guid++),(fe=nr.events)||(fe=nr.events=Object.create(null)),(j=nr.handle)||(j=nr.handle=function(hn){return typeof v<"u"&&v.event.triggered!==hn.type?v.event.dispatch.apply(d,arguments):void 0}),m=(m||"").match(Le)||[""],we=m.length;we--;)ae=Mn.exec(m[we])||[],Ge=yr=ae[1],or=(ae[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(".")},$),(ke=fe[Ge])||(ke=fe[Ge]=[],ke.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?ke.splice(ke.delegateCount++,0,Be):ke.push(Be),v.event.global[Ge]=!0)},remove:function(d,m,A,k,D){var $,j,ae,fe,we,Be,ot,ke,Ge,or,yr,nr=Ee.hasData(d)&&Ee.get(d);if(!(!nr||!(fe=nr.events))){for(m=(m||"").match(Le)||[""],we=m.length;we--;){if(ae=Mn.exec(m[we])||[],Ge=yr=ae[1],or=(ae[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,ke=fe[Ge]||[],ae=ae[2]&&new RegExp("(^|\\.)"+or.join("\\.(?:.*\\.|)")+"(\\.|$)"),j=$=ke.length;$--;)Be=ke[$],(D||yr===Be.origType)&&(!A||A.guid===Be.guid)&&(!ae||ae.test(Be.namespace))&&(!k||k===Be.selector||k==="**"&&Be.selector)&&(ke.splice($,1),Be.selector&&ke.delegateCount--,ot.remove&&ot.remove.call(d,Be));j&&!ke.length&&((!ot.teardown||ot.teardown.call(d,or,nr.handle)===!1)&&v.removeEvent(d,Ge,nr.handle),delete fe[Ge])}v.isEmptyObject(fe)&&Ee.remove(d,"handle events")}},dispatch:function(d){var m,A,k,D,$,j,ae=new Array(arguments.length),fe=v.event.fix(d),we=(Ee.get(this,"events")||Object.create(null))[fe.type]||[],Be=v.event.special[fe.type]||{};for(ae[0]=fe,m=1;m<arguments.length;m++)ae[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,ae),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,ae=[],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&&ae.push({elem:we,handlers:$})}}return we=this,fe<m.length&&ae.push({elem:we,handlers:m.slice(fe)}),ae},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 ga.test(m.type)&&m.click&&De(m,"input")&&ya(m,"click",Bn),!1},trigger:function(d){var m=this||d;return ga.test(m.type)&&m.click&&De(m,"input")&&ya(m,"click"),!0},_default:function(d){var m=d.target;return ga.test(m.type)&&m.click&&De(m,"input")&&Ee.get(m,"click")||De(m,"a")}},beforeunload:{postDispatch:function(d){d.result!==void 0&&d.originalEvent&&(d.originalEvent.returnValue=d.result)}}}};function ya(d,m,A){if(!A){Ee.get(d,m)===void 0&&v.event.add(d,m,Bn);return}Ee.set(d,m,!1),v.event.add(d,m,{namespace:!1,handler:function(k){var D,$,j=Ee.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),Ee.set(this,m,j),D=A(this,m),this[m](),$=Ee.get(this,m),j!==$||D?Ee.set(this,m,!1):$={},j!==$)return k.stopImmediatePropagation(),k.preventDefault(),$&&$.value}else j.length&&(Ee.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?Bn:Pn,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:Pn,isPropagationStopped:Pn,isImmediatePropagationStopped:Pn,isSimulated:!1,preventDefault:function(){var d=this.originalEvent;this.isDefaultPrevented=Bn,d&&!this.isSimulated&&d.preventDefault()},stopPropagation:function(){var d=this.originalEvent;this.isPropagationStopped=Bn,d&&!this.isSimulated&&d.stopPropagation()},stopImmediatePropagation:function(){var d=this.originalEvent;this.isImmediatePropagationStopped=Bn,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 ya(this,d,Pr),!1},trigger:function(){return ya(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 qi(this,d,m,A,k)},one:function(d,m,A,k){return qi(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=Pn),this.each(function(){v.event.remove(this,d,A,m)})}});var Nf=/<script|<style|<link/i,na=/checked\s*(?:[^=]|=\s*.checked.)/i,Rf=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Po(d,m){return De(d,"table")&&De(m.nodeType!==11?m:m.firstChild,"tr")&&v(d).children("tbody")[0]||d}function Ad(d){return d.type=(d.getAttribute("type")!==null)+"/"+d.type,d}function If(d){return(d.type||"").slice(0,5)==="true/"?d.type=d.type.slice(5):d.removeAttribute("type"),d}function Ff(d,m){var A,k,D,$,j,ae,fe;if(m.nodeType===1){if(Ee.hasData(d)&&($=Ee.get(d),fe=$.events,fe)){Ee.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),ae=v.extend({},j),wt.set(m,ae))}}function Lf(d,m){var A=m.nodeName.toLowerCase();A==="input"&&ga.test(d.type)?m.checked=d.checked:(A==="input"||A==="textarea")&&(m.defaultValue=d.defaultValue)}function No(d,m,A,k){m=o(m);var D,$,j,ae,fe,we,Be=0,ot=d.length,ke=ot-1,Ge=m[0],or=R(Ge);if(or||ot>1&&typeof Ge=="string"&&!C.checkClone&&na.test(Ge))return d.each(function(yr){var nr=d.eq(yr);or&&(m[0]=Ge.call(this,yr,nr.html())),No(nr,m,A,k)});if(ot&&(D=mu(m,d[0].ownerDocument,!1,d,k),$=D.firstChild,D.childNodes.length===1&&(D=$),$||k)){for(j=v.map(li(D,"script"),Ad),ae=j.length;Be<ot;Be++)fe=D,Be!==ke&&(fe=v.clone(fe,!0,!0),ae&&v.merge(j,li(fe,"script"))),A.call(d[Be],fe,Be);if(ae)for(we=j[j.length-1].ownerDocument,v.map(j,If),Be=0;Be<ae;Be++)fe=j[Be],gu.test(fe.type||"")&&!Ee.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(Rf,""),fe,we))}return d}function Ro(d,m,A){for(var k,D=m?v.filter(m,d):d,$=0;(k=D[$])!=null;$++)!A&&k.nodeType===1&&v.cleanData(li(k)),k.parentNode&&(A&&Mo(k)&&ma(li(k,"script")),k.parentNode.removeChild(k));return d}v.extend({htmlPrefilter:function(d){return d},clone:function(d,m,A){var k,D,$,j,ae=d.cloneNode(!0),fe=Mo(d);if(!C.noCloneChecked&&(d.nodeType===1||d.nodeType===11)&&!v.isXMLDoc(d))for(j=li(ae),$=li(d),k=0,D=$.length;k<D;k++)Lf($[k],j[k]);if(m)if(A)for($=$||li(d),j=j||li(ae),k=0,D=$.length;k<D;k++)Ff($[k],j[k]);else Ff(d,ae);return j=li(ae,"script"),j.length>0&&ma(j,!fe&&li(d,"script")),ae},cleanData:function(d){for(var m,A,k,D=v.event.special,$=0;(A=d[$])!==void 0;$++)if(he(A)){if(m=A[Ee.expando]){if(m.events)for(k in m.events)D[k]?v.event.remove(A,k):v.removeEvent(A,k,m.handle);A[Ee.expando]=void 0}A[wt.expando]&&(A[wt.expando]=void 0)}}}),v.fn.extend({detach:function(d){return Ro(this,d,!0)},remove:function(d){return Ro(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 No(this,arguments,function(d){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var m=Po(this,d);m.appendChild(d)}})},prepend:function(){return No(this,arguments,function(d){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var m=Po(this,d);m.insertBefore(d,m.firstChild)}})},before:function(){return No(this,arguments,function(d){this.parentNode&&this.parentNode.insertBefore(d,this)})},after:function(){return No(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(li(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"&&!Nf.test(m)&&!qn[(vu.exec(m)||["",""])[1].toLowerCase()]){m=v.htmlPrefilter(m);try{for(;k<D;k++)A=this[k]||{},A.nodeType===1&&(v.cleanData(li(A,!1)),A.innerHTML=m);A=0}catch{}}A&&this.empty().append(m)},null,d,arguments.length)},replaceWith:function(){var d=[];return No(this,arguments,function(m){var A=this.parentNode;v.inArray(this,d)<0&&(v.cleanData(li(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,ae=0;ae<=j;ae++)k=ae===j?this:this.clone(!0),v($[ae])[m](k),l.apply(D,k.get());return this.pushStack(D)}});var yu=new RegExp("^("+Gn+")(?!px)[a-z%]+$","i"),bu=function(d){var m=d.ownerDocument.defaultView;return(!m||!m.opener)&&(m=t),m.getComputedStyle(d)},Io=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},nl=new RegExp(dn.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%",Da.appendChild(fe).appendChild(we);var Be=t.getComputedStyle(we);A=Be.top!=="1%",ae=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,Da.removeChild(fe),we=null}}function m(Be){return Math.round(parseFloat(Be))}var A,k,D,$,j,ae,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(),ae},scrollboxSize:function(){return d(),D},reliableTrDimensions:function(){var Be,ot,ke,Ge;return j==null&&(Be=S.createElement("table"),ot=S.createElement("tr"),ke=S.createElement("div"),Be.style.cssText="position:absolute;left:-11111px;border-collapse:separate",ot.style.cssText="border:1px solid",ot.style.height="1px",ke.style.height="9px",ke.style.display="block",Da.appendChild(Be).appendChild(ot).appendChild(ke),Ge=t.getComputedStyle(ot),j=parseInt(Ge.height,10)+parseInt(Ge.borderTopWidth,10)+parseInt(Ge.borderBottomWidth,10)===ot.offsetHeight,Da.removeChild(Be)),j}}))})();function lo(d,m,A){var k,D,$,j,ae=d.style;return A=A||bu(d),A&&(j=A.getPropertyValue(m)||A[m],j===""&&!Mo(d)&&(j=v.style(d,m)),!C.pixelBoxStyles()&&yu.test(j)&&nl.test(m)&&(k=ae.width,D=ae.minWidth,$=ae.maxWidth,ae.minWidth=ae.maxWidth=ae.width=j,j=A.width,ae.width=k,ae.minWidth=D,ae.maxWidth=$)),j!==void 0?j+"":j}function ba(d,m){return{get:function(){if(d()){delete this.get;return}return(this.get=m).apply(this,arguments)}}}var Si=["Webkit","Moz","ms"],xu=S.createElement("div").style,wu={};function Vi(d){for(var m=d[0].toUpperCase()+d.slice(1),A=Si.length;A--;)if(d=Si[A]+m,d in xu)return d}function so(d){var m=v.cssProps[d]||wu[d];return m||(d in xu?d:wu[d]=Vi(d)||d)}var _u=/^(none|table(?!-c[ea]).+)/,An=/^--/,fo={position:"absolute",visibility:"hidden",display:"block"},il={letterSpacing:"0",fontWeight:"400"};function al(d,m,A){var k=Fi.exec(m);return k?Math.max(0,k[2]-(A||0))+(k[3]||"px"):m}function ol(d,m,A,k,D,$){var j=m==="width"?1:0,ae=0,fe=0;if(A===(k?"border":"content"))return 0;for(;j<4;j+=2)A==="margin"&&(fe+=v.css(d,A+dn[j],!0,D)),k?(A==="content"&&(fe-=v.css(d,"padding"+dn[j],!0,D)),A!=="margin"&&(fe-=v.css(d,"border"+dn[j]+"Width",!0,D))):(fe+=v.css(d,"padding"+dn[j],!0,D),A!=="padding"?fe+=v.css(d,"border"+dn[j]+"Width",!0,D):ae+=v.css(d,"border"+dn[j]+"Width",!0,D));return!k&&$>=0&&(fe+=Math.max(0,Math.ceil(d["offset"+m[0].toUpperCase()+m.slice(1)]-$-fe-ae-.5))||0),fe}function ul(d,m,A){var k=bu(d),D=!C.boxSizingReliable()||A,$=D&&v.css(d,"boxSizing",!1,k)==="border-box",j=$,ae=lo(d,m,k),fe="offset"+m[0].toUpperCase()+m.slice(1);if(yu.test(ae)){if(!A)return ae;ae="auto"}return(!C.boxSizingReliable()&&$||!C.reliableTrDimensions()&&De(d,"tr")||ae==="auto"||!parseFloat(ae)&&v.css(d,"display",!1,k)==="inline")&&d.getClientRects().length&&($=v.css(d,"boxSizing",!1,k)==="border-box",j=fe in d,j&&(ae=d[fe])),ae=parseFloat(ae)||0,ae+ol(d,m,A||($?"border":"content"),j,k,ae)+"px"}v.extend({cssHooks:{opacity:{get:function(d,m){if(m){var A=lo(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,ae=Y(m),fe=An.test(m),we=d.style;if(fe||(m=so(ae)),j=v.cssHooks[m]||v.cssHooks[ae],A!==void 0){if($=typeof A,$==="string"&&(D=Fi.exec(A))&&D[1]&&(A=pu(d,m,D),$="number"),A==null||A!==A)return;$==="number"&&!fe&&(A+=D&&D[3]||(v.cssNumber[ae]?"":"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,ae=Y(m),fe=An.test(m);return fe||(m=so(ae)),j=v.cssHooks[m]||v.cssHooks[ae],j&&"get"in j&&(D=j.get(d,!0,A)),D===void 0&&(D=lo(d,m,k)),D==="normal"&&m in il&&(D=il[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 _u.test(v.css(A,"display"))&&(!A.getClientRects().length||!A.getBoundingClientRect().width)?Io(A,fo,function(){return ul(A,m,D)}):ul(A,m,D)},set:function(A,k,D){var $,j=bu(A),ae=!C.scrollboxSize()&&j.position==="absolute",fe=ae||D,we=fe&&v.css(A,"boxSizing",!1,j)==="border-box",Be=D?ol(A,m,D,we,j):0;return we&&ae&&(Be-=Math.ceil(A["offset"+m[0].toUpperCase()+m.slice(1)]-parseFloat(j[m])-ol(A,m,"border",!1,j)-.5)),Be&&($=Fi.exec(k))&&($[3]||"px")!=="px"&&(A.style[m]=k,k=v.css(A,m)),al(A,k,Be)}}}),v.cssHooks.marginLeft=ba(C.reliableMarginLeft,function(d,m){if(m)return(parseFloat(lo(d,"marginLeft"))||d.getBoundingClientRect().left-Io(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+dn[k]+m]=$[k]||$[k-2]||$[0];return D}},d!=="margin"&&(v.cssHooks[d+m].set=al)}),v.fn.extend({css:function(d,m){return at(this,function(A,k,D){var $,j,ae={},fe=0;if(Array.isArray(k)){for($=bu(A),j=k.length;fe<j;fe++)ae[k[fe]]=v.css(A,k[fe],!1,$);return ae}return D!==void 0?v.style(A,k,D):v.css(A,k)},d,m,arguments.length>1)}});function Vn(d,m,A,k,D){return new Vn.prototype.init(d,m,A,k,D)}v.Tween=Vn,Vn.prototype={constructor:Vn,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=Vn.propHooks[this.prop];return d&&d.get?d.get(this):Vn.propHooks._default.get(this)},run:function(d){var m,A=Vn.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):Vn.propHooks._default.set(this),this}},Vn.prototype.init.prototype=Vn.prototype,Vn.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[so(d.prop)]!=null)?v.style(d.elem,d.prop,d.now+d.unit):d.elem[d.prop]=d.now}}},Vn.propHooks.scrollTop=Vn.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=Vn.prototype.init,v.fx.step={};var co,Fo,gs=/^(?:toggle|show|hide)$/,ms=/queueHooks$/;function Tn(){Fo&&(S.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(Tn):t.setTimeout(Tn,v.fx.interval),v.fx.tick())}function ys(){return t.setTimeout(function(){co=void 0}),co=Date.now()}function ho(d,m){var A,k=0,D={height:d};for(m=m?1:0;k<4;k+=2-m)A=dn[k],D["margin"+A]=D["padding"+A]=d;return m&&(D.opacity=D.width=d),D}function xa(d,m,A){for(var k,D=(Ei.tweeners[m]||[]).concat(Ei.tweeners["*"]),$=0,j=D.length;$<j;$++)if(k=D[$].call(A,m,d))return k}function Lo(d,m,A){var k,D,$,j,ae,fe,we,Be,ot="width"in m||"height"in m,ke=this,Ge={},or=d.style,yr=d.nodeType&&hu(d),nr=Ee.get(d,"fxshow");A.queue||(j=v._queueHooks(d,"fx"),j.unqueued==null&&(j.unqueued=0,ae=j.empty.fire,j.empty.fire=function(){j.unqueued||ae()}),j.unqueued++,ke.always(function(){ke.always(function(){j.unqueued--,v.queue(d,"fx").length||j.empty.fire()})}));for(k in m)if(D=m[k],gs.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=Ee.get(d,"display")),Be=v.css(d,"display"),Be==="none"&&(we?Be=we:(ui([d],!0),we=d.style.display||we,Be=v.css(d,"display"),ui([d]))),(Be==="inline"||Be==="inline-block"&&we!=null)&&v.css(d,"float")==="none"&&(fe||(ke.done(function(){or.display=we}),we==null&&(Be=or.display,we=Be==="none"?"":Be)),or.display="inline-block")),A.overflow&&(or.overflow="hidden",ke.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=Ee.access(d,"fxshow",{display:we}),$&&(nr.hidden=!yr),yr&&ui([d],!0),ke.done(function(){yr||ui([d]),Ee.remove(d,"fxshow");for(k in Ge)v.style(d,k,Ge[k])})),fe=xa(yr?nr[k]:0,k,ke),k in nr||(nr[k]=fe.start,yr&&(fe.end=fe.start,fe.start=0))}}function po(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 Ei(d,m,A){var k,D,$=0,j=Ei.prefilters.length,ae=v.Deferred().always(function(){delete fe.elem}),fe=function(){if(D)return!1;for(var ot=co||ys(),ke=Math.max(0,we.startTime+we.duration-ot),Ge=ke/we.duration||0,or=1-Ge,yr=0,nr=we.tweens.length;yr<nr;yr++)we.tweens[yr].run(or);return ae.notifyWith(d,[we,or,ke]),or<1&&nr?ke:(nr||ae.notifyWith(d,[we,1,0]),ae.resolveWith(d,[we]),!1)},we=ae.promise({elem:d,props:v.extend({},m),opts:v.extend(!0,{specialEasing:{},easing:v.easing._default},A),originalProperties:m,originalOptions:A,startTime:co||ys(),duration:A.duration,tweens:[],createTween:function(ot,ke){var Ge=v.Tween(d,we.opts,ot,ke,we.opts.specialEasing[ot]||we.opts.easing);return we.tweens.push(Ge),Ge},stop:function(ot){var ke=0,Ge=ot?we.tweens.length:0;if(D)return this;for(D=!0;ke<Ge;ke++)we.tweens[ke].run(1);return ot?(ae.notifyWith(d,[we,1,0]),ae.resolveWith(d,[we,ot])):ae.rejectWith(d,[we,ot]),this}}),Be=we.props;for(po(Be,we.opts.specialEasing);$<j;$++)if(k=Ei.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,xa,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(Ei,{tweeners:{"*":[function(d,m){var A=this.createTween(d,m);return pu(A.elem,d,Fi.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],Ei.tweeners[A]=Ei.tweeners[A]||[],Ei.tweeners[A].unshift(m)},prefilters:[Lo],prefilter:function(d,m){m?Ei.prefilters.unshift(d):Ei.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(hu).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 ae=Ei(this,v.extend({},d),$);(D||Ee.get(this,"finish"))&&ae.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,ae=Ee.get(this);if($)ae[$]&&ae[$].stop&&k(ae[$]);else for($ in ae)ae[$]&&ae[$].stop&&ms.test($)&&k(ae[$]);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=Ee.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(ho(m,!0),k,D,$)}}),v.each({slideDown:ho("show"),slideUp:ho("hide"),slideToggle:ho("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(co=Date.now();m<A.length;m++)d=A[m],!d()&&A[m]===d&&A.splice(m--,1);A.length||v.fx.stop(),co=void 0},v.fx.timer=function(d){v.timers.push(d),v.fx.start()},v.fx.interval=13,v.fx.start=function(){Fo||(Fo=!0,Tn())},v.fx.stop=function(){Fo=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 $a,za=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)?$a: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)}}),$a={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=za[m]||v.find.attr;za[m]=function(k,D,$){var j,ae,fe=D.toLowerCase();return $||(ae=za[fe],za[fe]=j,j=A(k,D,$)!=null?fe:null,za[fe]=ae),j}});var Ba=/^(?:input|select|textarea|button)$/i,Do=/^(?: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):Ba.test(d.nodeName)||Do.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 wa(d){return d.getAttribute&&d.getAttribute("class")||""}function $o(d){return Array.isArray(d)?d:typeof d=="string"?d.match(Le)||[]:[]}v.fn.extend({addClass:function(d){var m,A,k,D,$,j,ae,fe=0;if(R(d))return this.each(function(we){v(this).addClass(d.call(this,we,wa(this)))});if(m=$o(d),m.length){for(;A=this[fe++];)if(D=wa(A),k=A.nodeType===1&&" "+Rr(D)+" ",k){for(j=0;$=m[j++];)k.indexOf(" "+$+" ")<0&&(k+=$+" ");ae=Rr(k),D!==ae&&A.setAttribute("class",ae)}}return this},removeClass:function(d){var m,A,k,D,$,j,ae,fe=0;if(R(d))return this.each(function(we){v(this).removeClass(d.call(this,we,wa(this)))});if(!arguments.length)return this.attr("class","");if(m=$o(d),m.length){for(;A=this[fe++];)if(D=wa(A),k=A.nodeType===1&&" "+Rr(D)+" ",k){for(j=0;$=m[j++];)for(;k.indexOf(" "+$+" ")>-1;)k=k.replace(" "+$+" "," ");ae=Rr(k),D!==ae&&A.setAttribute("class",ae)}}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,wa(this),m),m)}):this.each(function(){var D,$,j,ae;if(k)for($=0,j=v(this),ae=$o(d);D=ae[$++];)j.hasClass(D)?j.removeClass(D):j.addClass(D);else(d===void 0||A==="boolean")&&(D=wa(this),D&&Ee.set(this,"__className__",D),this.setAttribute&&this.setAttribute("class",D||d===!1?"":Ee.get(this,"__className__")||""))})},hasClass:function(d){var m,A,k=0;for(m=" "+d+" ";A=this[k++];)if(A.nodeType===1&&(" "+Rr(wa(A))+" ").indexOf(m)>-1)return!0;return!1}});var Df=/\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(ae){return ae==null?"":ae+""})),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(Df,""):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",ae=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;ae.push(m)}return ae},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 $f=/^(?:focusinfocus|focusoutblur)$/,Su=function(d){d.stopPropagation()};v.extend(v.event,{trigger:function(d,m,A,k){var D,$,j,ae,fe,we,Be,ot,ke=[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)&&!$f.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(ae=Be.delegateType||Ge,$f.test(ae+Ge)||($=$.parentNode);$;$=$.parentNode)ke.push($),j=$;j===(A.ownerDocument||S)&&ke.push(j.defaultView||j.parentWindow||t)}for(D=0;($=ke[D++])&&!d.isPropagationStopped();)ot=$,d.type=D>1?ae:Be.bindType||Ge,we=(Ee.get($,"events")||Object.create(null))[d.type]&&Ee.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(ke.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,Su),A[Ge](),d.isPropagationStopped()&&ot.removeEventListener(Ge,Su),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=Ee.access(k,m);D||k.addEventListener(d,A,!0),Ee.access(k,m,(D||0)+1)},teardown:function(){var k=this.ownerDocument||this.document||this,D=Ee.access(k,m)-1;D?Ee.access(k,m,D):(k.removeEventListener(d,A,!0),Ee.remove(k,m))}}});var _a=t.location,Li={guid:Date.now()},zo=/\?/;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 Yi=/\[\]$/,vo=/\r?\n/g,Bo=/^(?:submit|button|image|reset|file)$/i,ja=/^(?:input|select|textarea|keygen)/i;function jo(d,m,A,k){var D;if(Array.isArray(m))v.each(m,function($,j){A||Yi.test(d)?k(d,j):jo(d+"["+(typeof j=="object"&&j!=null?$:"")+"]",j,A,k)});else if(!A&&M(m)==="object")for(D in m)jo(d+"["+D+"]",m[D],A,k);else k(d,m)}v.param=function(d,m){var A,k=[],D=function($,j){var ae=R(j)?j():j;k[k.length]=encodeURIComponent($)+"="+encodeURIComponent(ae==null?"":ae)};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)jo(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")&&ja.test(this.nodeName)&&!Bo.test(d)&&(this.checked||!ga.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(vo,`\r
|
|
381
|
-
`)}}):{name:m.name,value:A.replace(vo,`\r
|
|
382
|
-
`)}}).get()}});var Sa=/%20/g,Ea=/#.*$/,Eu=/([?&])_=[^&]*/,zf=/^(.*?):[ \t]*([^\r\n]*)$/mg,Uo=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,ll=/^(?:GET|HEAD)$/,bs=/^\/\//,xs={},Ua={},Ha="*/".concat("*"),ia=S.createElement("a");ia.href=_a.href;function Ho(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 Wo(d,m,A,k){var D={},$=d===Ua;function j(ae){var fe;return D[ae]=!0,v.each(d[ae]||[],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 Aa(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 go(d,m,A){for(var k,D,$,j,ae=d.contents,fe=d.dataTypes;fe[0]==="*";)fe.shift(),k===void 0&&(k=d.mimeType||m.getResponseHeader("Content-Type"));if(k){for(D in ae)if(ae[D]&&ae[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 ws(d,m,A,k){var D,$,j,ae,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(ae=D.split(" "),ae[1]===$&&(j=we[fe+" "+ae[0]]||we["* "+ae[0]],j)){j===!0?j=we[D]:we[D]!==!0&&($=ae[0],Be.unshift(ae[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:_a.href,type:"GET",isLocal:Uo.test(_a.protocol),window:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ha,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?Aa(Aa(d,v.ajaxSettings),m):Aa(v.ajaxSettings,d)},ajaxPrefilter:Ho(xs),ajaxTransport:Ho(Ua),ajax:function(d,m){typeof d=="object"&&(m=d,d=void 0),m=m||{};var A,k,D,$,j,ae,fe,we,Be,ot,ke=v.ajaxSetup({},m),Ge=ke.context||ke,or=ke.context&&(Ge.nodeType||Ge.jquery)?v(Ge):v.event,yr=v.Deferred(),nr=v.Callbacks("once memory"),hn=ke.statusCode||{},sn={},si={},zr="canceled",Sr={readyState:0,getResponseHeader:function(Br){var nn;if(fe){if(!$)for($={};nn=zf.exec(D);)$[nn[1].toLowerCase()+" "]=($[nn[1].toLowerCase()+" "]||[]).concat(nn[2]);nn=$[Br.toLowerCase()+" "]}return nn==null?null:nn.join(", ")},getAllResponseHeaders:function(){return fe?D:null},setRequestHeader:function(Br,nn){return fe==null&&(Br=si[Br.toLowerCase()]=si[Br.toLowerCase()]||Br,sn[Br]=nn),this},overrideMimeType:function(Br){return fe==null&&(ke.mimeType=Br),this},statusCode:function(Br){var nn;if(Br)if(fe)Sr.always(Br[Sr.status]);else for(nn in Br)hn[nn]=[hn[nn],Br[nn]];return this},abort:function(Br){var nn=Br||zr;return A&&A.abort(nn),Fn(0,nn),this}};if(yr.promise(Sr),ke.url=((d||ke.url||_a.href)+"").replace(bs,_a.protocol+"//"),ke.type=m.method||m.type||ke.method||ke.type,ke.dataTypes=(ke.dataType||"*").toLowerCase().match(Le)||[""],ke.crossDomain==null){ae=S.createElement("a");try{ae.href=ke.url,ae.href=ae.href,ke.crossDomain=ia.protocol+"//"+ia.host!=ae.protocol+"//"+ae.host}catch{ke.crossDomain=!0}}if(ke.data&&ke.processData&&typeof ke.data!="string"&&(ke.data=v.param(ke.data,ke.traditional)),Wo(xs,ke,m,Sr),fe)return Sr;we=v.event&&ke.global,we&&v.active++===0&&v.event.trigger("ajaxStart"),ke.type=ke.type.toUpperCase(),ke.hasContent=!ll.test(ke.type),k=ke.url.replace(Ea,""),ke.hasContent?ke.data&&ke.processData&&(ke.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(ke.data=ke.data.replace(Sa,"+")):(ot=ke.url.slice(k.length),ke.data&&(ke.processData||typeof ke.data=="string")&&(k+=(zo.test(k)?"&":"?")+ke.data,delete ke.data),ke.cache===!1&&(k=k.replace(Eu,"$1"),ot=(zo.test(k)?"&":"?")+"_="+Li.guid+++ot),ke.url=k+ot),ke.ifModified&&(v.lastModified[k]&&Sr.setRequestHeader("If-Modified-Since",v.lastModified[k]),v.etag[k]&&Sr.setRequestHeader("If-None-Match",v.etag[k])),(ke.data&&ke.hasContent&&ke.contentType!==!1||m.contentType)&&Sr.setRequestHeader("Content-Type",ke.contentType),Sr.setRequestHeader("Accept",ke.dataTypes[0]&&ke.accepts[ke.dataTypes[0]]?ke.accepts[ke.dataTypes[0]]+(ke.dataTypes[0]!=="*"?", "+Ha+"; q=0.01":""):ke.accepts["*"]);for(Be in ke.headers)Sr.setRequestHeader(Be,ke.headers[Be]);if(ke.beforeSend&&(ke.beforeSend.call(Ge,Sr,ke)===!1||fe))return Sr.abort();if(zr="abort",nr.add(ke.complete),Sr.done(ke.success),Sr.fail(ke.error),A=Wo(Ua,ke,m,Sr),!A)Fn(-1,"No Transport");else{if(Sr.readyState=1,we&&or.trigger("ajaxSend",[Sr,ke]),fe)return Sr;ke.async&&ke.timeout>0&&(j=t.setTimeout(function(){Sr.abort("timeout")},ke.timeout));try{fe=!1,A.send(sn,Fn)}catch(Br){if(fe)throw Br;Fn(-1,Br)}}function Fn(Br,nn,Ca,dl){var Yn,Wa,Xn,jn,fi,ci=nn;fe||(fe=!0,j&&t.clearTimeout(j),A=void 0,D=dl||"",Sr.readyState=Br>0?4:0,Yn=Br>=200&&Br<300||Br===304,Ca&&(jn=go(ke,Sr,Ca)),!Yn&&v.inArray("script",ke.dataTypes)>-1&&v.inArray("json",ke.dataTypes)<0&&(ke.converters["text script"]=function(){}),jn=ws(ke,jn,Sr,Yn),Yn?(ke.ifModified&&(fi=Sr.getResponseHeader("Last-Modified"),fi&&(v.lastModified[k]=fi),fi=Sr.getResponseHeader("etag"),fi&&(v.etag[k]=fi)),Br===204||ke.type==="HEAD"?ci="nocontent":Br===304?ci="notmodified":(ci=jn.state,Wa=jn.data,Xn=jn.error,Yn=!Xn)):(Xn=ci,(Br||!ci)&&(ci="error",Br<0&&(Br=0))),Sr.status=Br,Sr.statusText=(nn||ci)+"",Yn?yr.resolveWith(Ge,[Wa,ci,Sr]):yr.rejectWith(Ge,[Sr,ci,Xn]),Sr.statusCode(hn),hn=void 0,we&&or.trigger(Yn?"ajaxSuccess":"ajaxError",[Sr,ke,Yn?Wa:Xn]),nr.fireWith(Ge,[Sr,ci]),we&&(or.trigger("ajaxComplete",[Sr,ke]),--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,window:!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 sl={0:200,1223:204},Ta=v.ajaxSettings.xhr();C.cors=!!Ta&&"withCredentials"in Ta,C.ajax=Ta=!!Ta,v.ajaxTransport(function(d){var m,A;if(C.cors||Ta&&!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(ae){return function(){m&&(m=A=j.onload=j.onerror=j.onabort=j.ontimeout=j.onreadystatechange=null,ae==="abort"?j.abort():ae==="error"?typeof j.status!="number"?D(0,"error"):D(j.status,j.statusText):D(sl[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(ae){if(m)throw ae}},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 fl=[],cl=/(=)\?(?=&|$)|\?\?/;v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var d=fl.pop()||v.expando+"_"+Li.guid++;return this[d]=!0,d}}),v.ajaxPrefilter("json jsonp",function(d,m,A){var k,D,$,j=d.jsonp!==!1&&(cl.test(d.url)?"url":typeof d.data=="string"&&(d.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&cl.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(cl,"$1"+k):d.jsonp!==!1&&(d.url+=(zo.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,fl.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=mu([d],m,$),$&&$.length&&v($).remove(),v.merge([],D.childNodes))},v.fn.load=function(d,m,A){var k,D,$,j=this,ae=d.indexOf(" ");return ae>-1&&(k=Rr(d.slice(ae)),d=d.slice(0,ae)),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,ae,fe,we,Be=v.css(d,"position"),ot=v(d),ke={};Be==="static"&&(d.style.position="relative"),ae=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({},ae))),m.top!=null&&(ke.top=m.top-ae.top+j),m.left!=null&&(ke.left=m.left-ae.left+D),"using"in m?m.using.call(d,ke):ot.css(ke)}},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||Da})}}),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 ae;if(E(D)?ae=D:D.nodeType===9&&(ae=D.defaultView),j===void 0)return ae?ae[m]:D[$];ae?ae.scrollTo(A?ae.pageXOffset:j,A?j:ae.pageYOffset):D[$]=j},d,k,arguments.length)}}),v.each(["top","left"],function(d,m){v.cssHooks[m]=ba(C.pixelPosition,function(A,k){if(k)return k=lo(A,m),yu.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"),ae=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,ae):v.style(fe,we,Be,ae)},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 _s=/^[\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(_s,"")};var Bf=t.jQuery,Ss=t.$;return v.noConflict=function(d){return t.$===v&&(t.$=Ss),d&&t.jQuery===v&&(t.jQuery=Bf),v},typeof r>"u"&&(t.jQuery=t.$=v),v})})(JR);const yte=JR.exports;var eI={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})()})(eI);const bte=eI.exports;function su(){return su=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},su.apply(this,arguments)}function ud(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 Pw(e,t){return Pw=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Pw(e,t)}function Qp(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Pw(e,t)}function GY(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function qY(e,t){e.classList?e.classList.add(t):GY(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function iO(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function VY(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=iO(e.className,t):e.setAttribute("class",iO(e.className&&e.className.baseVal||"",t))}const aO={disabled:!1},tI=Ri.createContext(null);var rI=function(t){return t.scrollTop},Bh="unmounted",Hs="exited",Ws="entering",_c="entered",Nw="exiting",tl=function(e){Qp(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=Hs,a.appearStatus=Ws):f=_c:n.unmountOnExit||n.mountOnEnter?f=Bh:f=Hs,a.state={status:f},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var o=i.in;return o&&a.status===Bh?{status:Hs}: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!==Ws&&o!==_c&&(a=Ws):(o===Ws||o===_c)&&(a=Nw)}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===Ws){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:Dh.findDOMNode(this);o&&rI(o)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Hs&&this.setState({status:Bh})},r.performEnter=function(i){var a=this,o=this.props.enter,l=this.context?this.context.isMounting:i,f=this.props.nodeRef?[l]:[Dh.findDOMNode(this),l],c=f[0],p=f[1],_=this.getTimeouts(),x=l?_.appear:_.enter;if(!i&&!o||aO.disabled){this.safeSetState({status:_c},function(){a.props.onEntered(c)});return}this.props.onEnter(c,p),this.safeSetState({status:Ws},function(){a.props.onEntering(c,p),a.onTransitionEnd(x,function(){a.safeSetState({status:_c},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:Dh.findDOMNode(this);if(!a||aO.disabled){this.safeSetState({status:Hs},function(){i.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:Nw},function(){i.props.onExiting(l),i.onTransitionEnd(o.exit,function(){i.safeSetState({status:Hs},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:Dh.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===Bh)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=ud(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return lu(tI.Provider,{value:null,children:typeof o=="function"?o(i,l):Ri.cloneElement(Ri.Children.only(o),l)})},t}(Ri.Component);tl.contextType=tI;tl.propTypes={};function vc(){}tl.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:vc,onEntering:vc,onEntered:vc,onExit:vc,onExiting:vc,onExited:vc};tl.UNMOUNTED=Bh;tl.EXITED=Hs;tl.ENTERING=Ws;tl.ENTERED=_c;tl.EXITING=Nw;const YY=tl;var XY=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return qY(t,n)})},Zb=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return VY(t,n)})},q2=function(e){Qp(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&&rI(i),l&&(this.appliedClasses[a][o]=l,XY(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&&Zb(i,l),f&&Zb(i,f),c&&Zb(i,c)},r.render=function(){var i=this.props;i.classNames;var a=ud(i,["classNames"]);return lu(YY,{...a,onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited})},t}(Ri.Component);q2.defaultProps={classNames:""};q2.propTypes={};const xte=q2;function dg(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 Zp=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",QY=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(Zp&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();function ZY(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function KY(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},QY))}}var JY=Zp&&window.Promise,eX=JY?ZY:KY;function nI(e){var t={};return e&&t.toString.call(e)==="[object Function]"}function kf(e,t){if(e.nodeType!==1)return[];var r=e.ownerDocument.defaultView,n=r.getComputedStyle(e,null);return t?n[t]:n}function V2(e){return e.nodeName==="HTML"?e:e.parentNode||e.host}function Kp(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=kf(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(r+i+n)?e:Kp(V2(e))}function iI(e){return e&&e.referenceNode?e.referenceNode:e}var oO=Zp&&!!(window.MSInputMethodContext&&document.documentMode),uO=Zp&&/MSIE 10/.test(navigator.userAgent);function _d(e){return e===11?oO:e===10?uO:oO||uO}function ld(e){if(!e)return document.documentElement;for(var t=_d(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&&kf(r,"position")==="static"?ld(r):r}function tX(e){var t=e.nodeName;return t==="BODY"?!1:t==="HTML"||ld(e.firstElementChild)===e}function Rw(e){return e.parentNode!==null?Rw(e.parentNode):e}function D0(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 tX(o)?o:ld(o);var l=Rw(e);return l.host?D0(l.host,t):D0(e,Rw(t).host)}function sd(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 rX(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=sd(t,"top"),i=sd(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 lO(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 sO(e,t,r,n){return Math.max(t["offset"+e],t["scroll"+e],r["client"+e],r["offset"+e],r["scroll"+e],_d(10)?parseInt(r["offset"+e])+parseInt(n["margin"+(e==="Height"?"Top":"Left")])+parseInt(n["margin"+(e==="Height"?"Bottom":"Right")]):0)}function aI(e){var t=e.body,r=e.documentElement,n=_d(10)&&getComputedStyle(r);return{height:sO("Height",t,r,n),width:sO("Width",t,r,n)}}var nX=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},iX=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}}(),fd=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},to=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 os(e){return to({},e,{right:e.left+e.width,bottom:e.top+e.height})}function Iw(e){var t={};try{if(_d(10)){t=e.getBoundingClientRect();var r=sd(e,"top"),n=sd(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"?aI(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=kf(e);f-=lO(p,"x"),c-=lO(p,"y"),i.width-=f,i.height-=c}return os(i)}function Y2(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=_d(10),i=t.nodeName==="HTML",a=Iw(e),o=Iw(t),l=Kp(e),f=kf(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 _=os({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")&&(_=rX(_,t)),_}function aX(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=e.ownerDocument.documentElement,n=Y2(e,r),i=Math.max(r.clientWidth,window.innerWidth||0),a=Math.max(r.clientHeight,window.innerHeight||0),o=t?0:sd(r),l=t?0:sd(r,"left"),f={top:o-n.top+n.marginTop,left:l-n.left+n.marginLeft,width:i,height:a};return os(f)}function oI(e){var t=e.nodeName;if(t==="BODY"||t==="HTML")return!1;if(kf(e,"position")==="fixed")return!0;var r=V2(e);return r?oI(r):!1}function uI(e){if(!e||!e.parentElement||_d())return document.documentElement;for(var t=e.parentElement;t&&kf(t,"transform")==="none";)t=t.parentElement;return t||document.documentElement}function X2(e,t,r,n){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,a={top:0,left:0},o=i?uI(e):D0(e,iI(t));if(n==="viewport")a=aX(o,i);else{var l=void 0;n==="scrollParent"?(l=Kp(V2(t)),l.nodeName==="BODY"&&(l=e.ownerDocument.documentElement)):n==="window"?l=e.ownerDocument.documentElement:l=n;var f=Y2(l,o,i);if(l.nodeName==="HTML"&&!oI(o)){var c=aI(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 oX(e){var t=e.width,r=e.height;return t*r}function lI(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=X2(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 to({key:x},l[x],{area:oX(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 sI(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,i=n?uI(t):D0(t,iI(r));return Y2(r,i,n)}function fI(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 $0(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 cI(e,t,r){r=r.split("-")[0];var n=fI(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[$0(l)],i}function Jp(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function uX(e,t,r){if(Array.prototype.findIndex)return e.findIndex(function(i){return i[t]===r});var n=Jp(e,function(i){return i[t]===r});return e.indexOf(n)}function dI(e,t,r){var n=r===void 0?e:e.slice(0,uX(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&&nI(a)&&(t.offsets.popper=os(t.offsets.popper),t.offsets.reference=os(t.offsets.reference),t=a(t,i))}),t}function lX(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=sI(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=lI(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=cI(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=dI(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function hI(e,t){return e.some(function(r){var n=r.name,i=r.enabled;return i&&n===t})}function Q2(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 sX(){return this.state.isDestroyed=!0,hI(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[Q2("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function pI(e){var t=e.ownerDocument;return t?t.defaultView:window}function vI(e,t,r,n){var i=e.nodeName==="BODY",a=i?e.ownerDocument.defaultView:e;a.addEventListener(t,r,{passive:!0}),i||vI(Kp(a.parentNode),t,r,n),n.push(a)}function fX(e,t,r,n){r.updateBound=n,pI(e).addEventListener("resize",r.updateBound,{passive:!0});var i=Kp(e);return vI(i,"scroll",r.updateBound,r.scrollParents),r.scrollElement=i,r.eventsEnabled=!0,r}function cX(){this.state.eventsEnabled||(this.state=fX(this.reference,this.options,this.state,this.scheduleUpdate))}function dX(e,t){return pI(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 hX(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=dX(this.reference,this.state))}function Z2(e){return e!==""&&!isNaN(parseFloat(e))&&isFinite(e)}function Fw(e,t){Object.keys(t).forEach(function(r){var n="";["width","height","top","right","bottom","left"].indexOf(r)!==-1&&Z2(t[r])&&(n="px"),e.style[r]=t[r]+n})}function pX(e,t){Object.keys(t).forEach(function(r){var n=t[r];n!==!1?e.setAttribute(r,t[r]):e.removeAttribute(r)})}function vX(e){return Fw(e.instance.popper,e.styles),pX(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&Fw(e.arrowElement,e.arrowStyles),e}function gX(e,t,r,n,i){var a=sI(i,t,e,r.positionFixed),o=lI(r.placement,a,t,e,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return t.setAttribute("x-placement",o),Fw(t,{position:r.positionFixed?"fixed":"absolute"}),r}function mX(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 yX=Zp&&/Firefox/i.test(navigator.userAgent);function bX(e,t){var r=t.x,n=t.y,i=e.offsets.popper,a=Jp(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=ld(e.instance.popper),f=Iw(l),c={position:i.position},p=mX(e,window.devicePixelRatio<2||!yX),_=r==="bottom"?"top":"bottom",x=n==="right"?"left":"right",b=Q2("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=to({},T,e.attributes),e.styles=to({},c,e.styles),e.arrowStyles=to({},e.offsets.arrow,e.arrowStyles),e}function gI(e,t,r){var n=Jp(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 xX(e,t){var r;if(!gI(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=fI(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=os(e.offsets.popper);var R=l[_]+l[c]/2-C/2,E=kf(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={},fd(r,_,Math.round(P)),fd(r,x,""),r),e}function wX(e){return e==="end"?"start":e==="start"?"end":e}var mI=["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"],Kb=mI.slice(3);function fO(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=Kb.indexOf(e),n=Kb.slice(r+1).concat(Kb.slice(0,r));return t?n.reverse():n}var Jb={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function _X(e,t){if(hI(e.instance.modifiers,"inner")||e.flipped&&e.placement===e.originalPlacement)return e;var r=X2(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split("-")[0],i=$0(n),a=e.placement.split("-")[1]||"",o=[];switch(t.behavior){case Jb.FLIP:o=[n,i];break;case Jb.CLOCKWISE:o=fO(n);break;case Jb.COUNTERCLOCKWISE:o=fO(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=$0(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=wX(a)),e.placement=n+(a?"-"+a:""),e.offsets.popper=to({},e.offsets.popper,cI(e.instance.popper,e.offsets.reference,e.placement)),e=dI(e.instance.modifiers,e,"flip"))}),e}function SX(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 EX(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=os(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 AX(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(Jp(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 EX(C,x,t,r)})}),c.forEach(function(p,_){p.forEach(function(x,b){Z2(x)&&(i[_]+=x*(p[b-1]==="-"?-1:1))})}),i}function TX(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 Z2(+r)?f=[+r,0]:f=AX(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 CX(e,t){var r=t.boundariesElement||ld(e.instance.popper);e.instance.reference===r&&(r=ld(r));var n=Q2("transform"),i=e.instance.popper.style,a=i.top,o=i.left,l=i[n];i.top="",i.left="",i[n]="";var f=X2(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])),fd({},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))),fd({},C,R)}};return c.forEach(function(x){var b=["left","top"].indexOf(x)!==-1?"primary":"secondary";p=to({},p,_[b](x))}),e.offsets.popper=p,e}function OX(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:fd({},f,a[f]),end:fd({},f,a[f]+a[c]-o[c])};e.offsets.popper=to({},o,p[n])}return e}function kX(e){if(!gI(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,r=Jp(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 MX(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=$0(t),e.offsets.popper=os(i),e}var PX={shift:{order:100,enabled:!0,fn:OX},offset:{order:200,enabled:!0,fn:TX,offset:0},preventOverflow:{order:300,enabled:!0,fn:CX,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:SX},arrow:{order:500,enabled:!0,fn:xX,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:_X,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:MX},hide:{order:800,enabled:!0,fn:kX},computeStyle:{order:850,enabled:!0,fn:bX,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:vX,onLoad:gX,gpuAcceleration:void 0}},NX={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:PX},Rm=function(){function e(t,r){var n=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};nX(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=eX(this.update.bind(this)),this.options=to({},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(to({},e.Defaults.modifiers,i.modifiers)).forEach(function(o){n.options.modifiers[o]=to({},e.Defaults.modifiers[o]||{},i.modifiers?i.modifiers[o]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(o){return to({name:o},n.options.modifiers[o])}).sort(function(o,l){return o.order-l.order}),this.modifiers.forEach(function(o){o.enabled&&nI(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 iX(e,[{key:"update",value:function(){return lX.call(this)}},{key:"destroy",value:function(){return sX.call(this)}},{key:"enableEventListeners",value:function(){return cX.call(this)}},{key:"disableEventListeners",value:function(){return hX.call(this)}}]),e}();Rm.Utils=window.PopperUtils;Rm.placements=mI;Rm.Defaults=NX;const wte=Rm;/*!
|
|
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 cO(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?cO(Object(r),!0).forEach(function(n){FX(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cO(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function z0(e){return z0=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},z0(e)}function RX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dO(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 IX(e,t,r){return t&&dO(e.prototype,t),r&&dO(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function FX(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function K2(e,t){return DX(e)||zX(e,t)||yI(e,t)||jX()}function Im(e){return LX(e)||$X(e)||yI(e)||BX()}function LX(e){if(Array.isArray(e))return Lw(e)}function DX(e){if(Array.isArray(e))return e}function $X(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function zX(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 yI(e,t){if(!!e){if(typeof e=="string")return Lw(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 Lw(e,t)}}function Lw(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 BX(){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 jX(){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 hO=function(){},J2={},bI={},xI=null,wI={mark:hO,measure:hO};try{typeof window<"u"&&(J2=window),typeof document<"u"&&(bI=document),typeof MutationObserver<"u"&&(xI=MutationObserver),typeof performance<"u"&&(wI=performance)}catch{}var UX=J2.navigator||{},pO=UX.userAgent,vO=pO===void 0?"":pO,us=J2,wn=bI,gO=xI,hg=wI;us.document;var rl=!!wn.documentElement&&!!wn.head&&typeof wn.addEventListener=="function"&&typeof wn.createElement=="function",_I=~vO.indexOf("MSIE")||~vO.indexOf("Trident/"),Vu="___FONT_AWESOME___",Dw=16,SI="fa",EI="svg-inline--fa",df="data-fa-i2svg",$w="data-fa-pseudo-element",HX="data-fa-pseudo-element-pending",eS="data-prefix",tS="data-icon",mO="fontawesome-i2svg",WX="async",GX=["HTML","HEAD","STYLE","SCRIPT"],AI=function(){try{return!0}catch{return!1}}(),rS={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"},B0={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},TI={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},qX={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},VX=/fa[srltdbk\-\ ]/,CI="fa-layers-text",YX=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,XX={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},OI=[1,2,3,4,5,6,7,8,9,10],QX=OI.concat([11,12,13,14,15,16,17,18,19,20]),ZX=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Ks={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},KX=[].concat(Im(Object.keys(B0)),["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",Ks.GROUP,Ks.SWAP_OPACITY,Ks.PRIMARY,Ks.SECONDARY]).concat(OI.map(function(e){return"".concat(e,"x")})).concat(QX.map(function(e){return"w-".concat(e)})),kI=us.FontAwesomeConfig||{};function JX(e){var t=wn.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function eQ(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(wn&&typeof wn.querySelector=="function"){var tQ=[["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"]];tQ.forEach(function(e){var t=K2(e,2),r=t[0],n=t[1],i=eQ(JX(r));i!=null&&(kI[n]=i)})}var rQ={familyPrefix:SI,styleDefault:"solid",replacementClass:EI,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},up=tr(tr({},rQ),kI);up.autoReplaceSvg||(up.observeMutations=!1);var _r={};Object.keys(up).forEach(function(e){Object.defineProperty(_r,e,{enumerable:!0,set:function(r){up[e]=r,Lg.forEach(function(n){return n(_r)})},get:function(){return up[e]}})});us.FontAwesomeConfig=_r;var Lg=[];function nQ(e){return Lg.push(e),function(){Lg.splice(Lg.indexOf(e),1)}}var Pl=Dw,nu={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function iQ(e){if(!(!e||!rl)){var t=wn.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var r=wn.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 wn.head.insertBefore(t,n),e}}var aQ="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Ip(){for(var e=12,t="";e-- >0;)t+=aQ[Math.random()*62|0];return t}function Sd(e){for(var t=[],r=(e||[]).length>>>0;r--;)t[r]=e[r];return t}function nS(e){return e.classList?Sd(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function MI(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function oQ(e){return Object.keys(e||{}).reduce(function(t,r){return t+"".concat(r,'="').concat(MI(e[r]),'" ')},"").trim()}function Fm(e){return Object.keys(e||{}).reduce(function(t,r){return t+"".concat(r,": ").concat(e[r].trim(),";")},"")}function iS(e){return e.size!==nu.size||e.x!==nu.x||e.y!==nu.y||e.rotate!==nu.rotate||e.flipX||e.flipY}function uQ(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 lQ(e){var t=e.transform,r=e.width,n=r===void 0?Dw:r,i=e.height,a=i===void 0?Dw:i,o=e.startCentered,l=o===void 0?!1:o,f="";return l&&_I?f+="translate(".concat(t.x/Pl-n/2,"em, ").concat(t.y/Pl-a/2,"em) "):l?f+="translate(calc(-50% + ".concat(t.x/Pl,"em), calc(-50% + ").concat(t.y/Pl,"em)) "):f+="translate(".concat(t.x/Pl,"em, ").concat(t.y/Pl,"em) "),f+="scale(".concat(t.size/Pl*(t.flipX?-1:1),", ").concat(t.size/Pl*(t.flipY?-1:1),") "),f+="rotate(".concat(t.rotate,"deg) "),f}var sQ=`: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 PI(){var e=SI,t=EI,r=_r.familyPrefix,n=_r.replacementClass,i=sQ;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 yO=!1;function ex(){_r.autoAddCss&&!yO&&(iQ(PI()),yO=!0)}var fQ={mixout:function(){return{dom:{css:PI,insertCss:ex}}},hooks:function(){return{beforeDOMElementCreation:function(){ex()},beforeI2svg:function(){ex()}}}},Yu=us||{};Yu[Vu]||(Yu[Vu]={});Yu[Vu].styles||(Yu[Vu].styles={});Yu[Vu].hooks||(Yu[Vu].hooks={});Yu[Vu].shims||(Yu[Vu].shims=[]);var To=Yu[Vu],NI=[],cQ=function e(){wn.removeEventListener("DOMContentLoaded",e),j0=1,NI.map(function(t){return t()})},j0=!1;rl&&(j0=(wn.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(wn.readyState),j0||wn.addEventListener("DOMContentLoaded",cQ));function dQ(e){!rl||(j0?setTimeout(e,0):NI.push(e))}function ev(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"?MI(e):"<".concat(t," ").concat(oQ(n),">").concat(a.map(ev).join(""),"</").concat(t,">")}function bO(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var hQ=function(t,r){return function(n,i,a,o){return t.call(r,n,i,a,o)}},tx=function(t,r,n,i){var a=Object.keys(t),o=a.length,l=i!==void 0?hQ(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 pQ(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 zw(e){var t=pQ(e);return t.length===1?t[0].toString(16):null}function vQ(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 xO(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 Bw(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.skipHooks,i=n===void 0?!1:n,a=xO(t);typeof To.hooks.addPack=="function"&&!i?To.hooks.addPack(e,xO(t)):To.styles[e]=tr(tr({},To.styles[e]||{}),a),e==="fas"&&Bw("fa",t)}var lp=To.styles,gQ=To.shims,mQ=Object.values(TI),aS=null,RI={},II={},FI={},LI={},DI={},yQ=Object.keys(rS);function bQ(e){return~KX.indexOf(e)}function xQ(e,t){var r=t.split("-"),n=r[0],i=r.slice(1).join("-");return n===e&&i!==""&&!bQ(i)?i:null}var $I=function(){var t=function(a){return tx(lp,function(o,l,f){return o[f]=tx(l,a,{}),o},{})};RI=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}),II=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}),DI=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 lp||_r.autoFetchSvg,n=tx(gQ,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:{}});FI=n.names,LI=n.unicodes,aS=Lm(_r.styleDefault)};nQ(function(e){aS=Lm(e.styleDefault)});$I();function oS(e,t){return(RI[e]||{})[t]}function wQ(e,t){return(II[e]||{})[t]}function Mc(e,t){return(DI[e]||{})[t]}function zI(e){return FI[e]||{prefix:null,iconName:null}}function _Q(e){var t=LI[e],r=oS("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function ls(){return aS}var uS=function(){return{prefix:null,iconName:null,rest:[]}};function Lm(e){var t=rS[e],r=B0[e]||B0[t],n=e in To.styles?e:null;return r||n||null}function Dm(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=xQ(_r.familyPrefix,l);if(lp[l]?(l=mQ.includes(l)?qX[l]:l,i=l,o.prefix=l):yQ.indexOf(l)>-1?(i=l,o.prefix=Lm(l)):f?o.iconName=f:l!==_r.replacementClass&&o.rest.push(l),!n&&o.prefix&&o.iconName){var c=i==="fa"?zI(o.iconName):{},p=Mc(o.prefix,o.iconName);c.prefix&&(i=null),o.iconName=c.iconName||p||o.iconName,o.prefix=c.prefix||o.prefix,o.prefix==="far"&&!lp.far&&lp.fas&&!_r.autoFetchSvg&&(o.prefix="fas")}return o},uS());return(a.prefix==="fa"||i==="fa")&&(a.prefix=ls()||"fas"),a}var SQ=function(){function e(){RX(this,e),this.definitions={}}return IX(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]),Bw(l,o[l]);var f=TI[l];f&&Bw(f,o[l]),$I()})}},{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}(),wO=[],Pc={},Xc={},EQ=Object.keys(Xc);function AQ(e,t){var r=t.mixoutsTo;return wO=e,Pc={},Object.keys(Xc).forEach(function(n){EQ.indexOf(n)===-1&&delete Xc[n]}),wO.forEach(function(n){var i=n.mixout?n.mixout():{};if(Object.keys(i).forEach(function(o){typeof i[o]=="function"&&(r[o]=i[o]),z0(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){Pc[o]||(Pc[o]=[]),Pc[o].push(a[o])})}n.provides&&n.provides(Xc)}),r}function jw(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=Pc[e]||[];return a.forEach(function(o){t=o.apply(null,[t].concat(n))}),t}function hf(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=Pc[e]||[];i.forEach(function(a){a.apply(null,r)})}function Xu(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Xc[e]?Xc[e].apply(null,t):void 0}function Uw(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,r=e.prefix||ls();if(!!t)return t=Mc(r,t)||t,bO(BI.definitions,r,t)||bO(To.styles,r,t)}var BI=new SQ,TQ=function(){_r.autoReplaceSvg=!1,_r.observeMutations=!1,hf("noAuto")},CQ={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return rl?(hf("beforeI2svg",t),Xu("pseudoElements2svg",t),Xu("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,dQ(function(){kQ({autoReplaceSvgRoot:r}),hf("watch",t)})}},OQ={icon:function(t){if(t===null)return null;if(z0(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:Mc(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=Lm(t[0]);return{prefix:n,iconName:Mc(n,r)||r}}if(typeof t=="string"&&(t.indexOf("".concat(_r.familyPrefix,"-"))>-1||t.match(VX))){var i=Dm(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||ls(),iconName:Mc(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var a=ls();return{prefix:a,iconName:Mc(a,t)||t}}}},Fa={noAuto:TQ,config:_r,dom:CQ,parse:OQ,library:BI,findIconDefinition:Uw,toHtml:ev},kQ=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.autoReplaceSvgRoot,n=r===void 0?wn:r;(Object.keys(To.styles).length>0||_r.autoFetchSvg)&&rl&&_r.autoReplaceSvg&&Fa.dom.i2svg({node:n})};function $m(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(n){return ev(n)})}}),Object.defineProperty(e,"node",{get:function(){if(!!rl){var n=wn.createElement("div");return n.innerHTML=e.html,n.children}}}),e}function MQ(e){var t=e.children,r=e.main,n=e.mask,i=e.attributes,a=e.styles,o=e.transform;if(iS(o)&&r.found&&!n.found){var l=r.width,f=r.height,c={x:l/f/2,y:.5};i.style=Fm(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 PQ(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 lS(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[df]=""),f&&(P.children.push({tag:"title",attributes:{id:P.attributes["aria-labelledby"]||"title-".concat(p||Ip())},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?Xu("generateAbstractMask",L)||{children:[],attributes:{}}:Xu("generateAbstractIcon",L)||{children:[],attributes:{}},J=v.children,q=v.attributes;return L.children=J,L.attributes=q,l?PQ(L):MQ(L)}function _O(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[df]="");var p=tr({},o.styles);iS(i)&&(p.transform=lQ({transform:i,startCentered:!0,width:r,height:n}),p["-webkit-transform"]=p.transform);var _=Fm(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 NQ(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=Fm(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 rx=To.styles;function Hw(e){var t=e[0],r=e[1],n=e.slice(4),i=K2(n,1),a=i[0],o=null;return Array.isArray(a)?o={tag:"g",attributes:{class:"".concat(_r.familyPrefix,"-").concat(Ks.GROUP)},children:[{tag:"path",attributes:{class:"".concat(_r.familyPrefix,"-").concat(Ks.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(_r.familyPrefix,"-").concat(Ks.PRIMARY),fill:"currentColor",d:a[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:a}},{found:!0,width:t,height:r,icon:o}}var RQ={found:!1,width:512,height:512};function IQ(e,t){!AI&&!_r.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Ww(e,t){var r=t;return t==="fa"&&_r.styleDefault!==null&&(t=ls()),new Promise(function(n,i){if(Xu("missingIconAbstract"),r==="fa"){var a=zI(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&rx[t]&&rx[t][e]){var o=rx[t][e];return n(Hw(o))}IQ(e,t),n(tr(tr({},RQ),{},{icon:_r.showMissingIcons&&e?Xu("missingIconAbstract")||{}:{}}))})}var SO=function(){},Gw=_r.measurePerformance&&hg&&hg.mark&&hg.measure?hg:{mark:SO,measure:SO},jh='FA "6.1.1"',FQ=function(t){return Gw.mark("".concat(jh," ").concat(t," begins")),function(){return jI(t)}},jI=function(t){Gw.mark("".concat(jh," ").concat(t," ends")),Gw.measure("".concat(jh," ").concat(t),"".concat(jh," ").concat(t," begins"),"".concat(jh," ").concat(t," ends"))},sS={begin:FQ,end:jI},Dg=function(){};function EO(e){var t=e.getAttribute?e.getAttribute(df):null;return typeof t=="string"}function LQ(e){var t=e.getAttribute?e.getAttribute(eS):null,r=e.getAttribute?e.getAttribute(tS):null;return t&&r}function DQ(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(_r.replacementClass)}function $Q(){if(_r.autoReplaceSvg===!0)return $g.replace;var e=$g[_r.autoReplaceSvg];return e||$g.replace}function zQ(e){return wn.createElementNS("http://www.w3.org/2000/svg",e)}function BQ(e){return wn.createElement(e)}function UI(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ceFn,n=r===void 0?e.tag==="svg"?zQ:BQ:r;if(typeof e=="string")return wn.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(UI(o,{ceFn:n}))}),i}function jQ(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var $g={replace:function(t){var r=t[0];if(r.parentNode)if(t[1].forEach(function(i){r.parentNode.insertBefore(UI(i),r)}),r.getAttribute(df)===null&&_r.keepOriginalSource){var n=wn.createComment(jQ(r));r.parentNode.replaceChild(n,r)}else r.remove()},nest:function(t){var r=t[0],n=t[1];if(~nS(r).indexOf(_r.replacementClass))return $g.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 ev(l)}).join(`
|
|
1167
|
-
`);r.setAttribute(df,""),r.innerHTML=o}};function AO(e){e()}function HI(e,t){var r=typeof t=="function"?t:Dg;if(e.length===0)r();else{var n=AO;_r.mutateApproach===WX&&(n=us.requestAnimationFrame||AO),n(function(){var i=$Q(),a=sS.begin("mutate");e.map(i),a(),r()})}}var fS=!1;function WI(){fS=!0}function qw(){fS=!1}var U0=null;function TO(e){if(!!gO&&!!_r.observeMutations){var t=e.treeCallback,r=t===void 0?Dg:t,n=e.nodeCallback,i=n===void 0?Dg:n,a=e.pseudoElementsCallback,o=a===void 0?Dg:a,l=e.observeMutationsRoot,f=l===void 0?wn:l;U0=new gO(function(c){if(!fS){var p=ls();Sd(c).forEach(function(_){if(_.type==="childList"&&_.addedNodes.length>0&&!EO(_.addedNodes[0])&&(_r.searchPseudoElements&&o(_.target),r(_.target)),_.type==="attributes"&&_.target.parentNode&&_r.searchPseudoElements&&o(_.target.parentNode),_.type==="attributes"&&EO(_.target)&&~ZX.indexOf(_.attributeName))if(_.attributeName==="class"&&LQ(_.target)){var x=Dm(nS(_.target)),b=x.prefix,C=x.iconName;_.target.setAttribute(eS,b||p),C&&_.target.setAttribute(tS,C)}else DQ(_.target)&&i(_.target)})}}),rl&&U0.observe(f,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function UQ(){!U0||U0.disconnect()}function HQ(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 WQ(e){var t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"",i=Dm(nS(e));return i.prefix||(i.prefix=ls()),t&&r&&(i.prefix=t,i.iconName=r),i.iconName&&i.prefix||i.prefix&&n.length>0&&(i.iconName=wQ(i.prefix,e.innerText)||oS(i.prefix,zw(e.innerText))),i}function GQ(e){var t=Sd(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||Ip()):(t["aria-hidden"]="true",t.focusable="false")),t}function qQ(){return{iconName:null,title:null,titleId:null,prefix:null,transform:nu,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function CO(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},r=WQ(e),n=r.iconName,i=r.prefix,a=r.rest,o=GQ(e),l=jw("parseNodeAttributes",{},e),f=t.styleParser?HQ(e):[];return tr({iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:nu,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:f,attributes:o}},l)}var VQ=To.styles;function GI(e){var t=_r.autoReplaceSvg==="nest"?CO(e,{styleParser:!1}):CO(e);return~t.extra.classes.indexOf(CI)?Xu("generateLayersText",e,t):Xu("generateSvgReplacementMutation",e,t)}function OO(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!rl)return Promise.resolve();var r=wn.documentElement.classList,n=function(_){return r.add("".concat(mO,"-").concat(_))},i=function(_){return r.remove("".concat(mO,"-").concat(_))},a=_r.autoFetchSvg?Object.keys(rS):Object.keys(VQ),o=[".".concat(CI,":not([").concat(df,"])")].concat(a.map(function(p){return".".concat(p,":not([").concat(df,"])")})).join(", ");if(o.length===0)return Promise.resolve();var l=[];try{l=Sd(e.querySelectorAll(o))}catch{}if(l.length>0)n("pending"),i("complete");else return Promise.resolve();var f=sS.begin("onTree"),c=l.reduce(function(p,_){try{var x=GI(_);x&&p.push(x)}catch(b){AI||b.name==="MissingIcon"&&console.error(b)}return p},[]);return new Promise(function(p,_){Promise.all(c).then(function(x){HI(x,function(){n("active"),n("complete"),i("pending"),typeof t=="function"&&t(),f(),p()})}).catch(function(x){f(),_(x)})})}function YQ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;GI(e).then(function(r){r&&HI([r],t)})}function XQ(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(t||{}).icon?t:Uw(t||{}),i=r.mask;return i&&(i=(i||{}).icon?i:Uw(i||{})),e(n,tr(tr({},r),{},{mask:i}))}}var QQ=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.transform,i=n===void 0?nu: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,J=t.icon;return $m(tr({type:"icon"},t),function(){return hf("beforeDOMElementCreation",{iconDefinition:t,params:r}),_r.autoA11y&&(x?T["aria-labelledby"]="".concat(_r.replacementClass,"-title-").concat(C||Ip()):(T["aria-hidden"]="true",T.focusable="false")),lS({icons:{main:Hw(J),mask:f?Hw(f.icon):{found:!1,width:null,height:null,icon:{}}},prefix:L,iconName:v,transform:tr(tr({},nu),i),symbol:o,title:x,maskId:p,titleId:C,extra:{attributes:T,styles:M,classes:E}})})}},ZQ={mixout:function(){return{icon:XQ(QQ)}},hooks:function(){return{mutationObserverCallbacks:function(r){return r.treeCallback=OO,r.nodeCallback=YQ,r}}},provides:function(t){t.i2svg=function(r){var n=r.node,i=n===void 0?wn:n,a=r.callback,o=a===void 0?function(){}:a;return OO(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([Ww(i,l),p.iconName?Ww(p.iconName,p.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(R){var E=K2(R,2),S=E[0],T=E[1];b([r,lS({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=Fm(l);f.length>0&&(i.style=f);var c;return iS(o)&&(c=Xu("generateAbstractTransformGrouping",{main:a,transform:o,containerWidth:a.width,iconWidth:a.width})),n.push(c||a.icon),{children:n,attributes:i}}}},KQ={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 $m({type:"layer"},function(){hf("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(Im(a)).join(" ")},children:o}]})}}}},JQ={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 $m({type:"counter",content:r},function(){return hf("beforeDOMElementCreation",{content:r,params:n}),NQ({content:r.toString(),title:a,extra:{attributes:c,styles:_,classes:["".concat(_r.familyPrefix,"-layers-counter")].concat(Im(l))}})})}}}},eZ={mixout:function(){return{text:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.transform,a=i===void 0?nu: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 $m({type:"text",content:r},function(){return hf("beforeDOMElementCreation",{content:r,params:n}),_O({content:r,transform:tr(tr({},nu),a),title:l,extra:{attributes:_,styles:b,classes:["".concat(_r.familyPrefix,"-layers-text")].concat(Im(c))}})})}}},provides:function(t){t.generateLayersText=function(r,n){var i=n.title,a=n.transform,o=n.extra,l=null,f=null;if(_I){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,_O({content:r.innerHTML,width:l,height:f,transform:a,title:i,extra:o,watchable:!0})])}}},tZ=new RegExp('"',"ug"),kO=[1105920,1112319];function rZ(e){var t=e.replace(tZ,""),r=vQ(t,0),n=r>=kO[0]&&r<=kO[1],i=t.length===2?t[0]===t[1]:!1;return{value:zw(i?t[0]:t),isSecondary:n||i}}function MO(e,t){var r="".concat(HX).concat(t.replace(":","-"));return new Promise(function(n,i){if(e.getAttribute(r)!==null)return n();var a=Sd(e.children),o=a.filter(function(v){return v.getAttribute($w)===t})[0],l=us.getComputedStyle(e,t),f=l.getPropertyValue("font-family").match(YX),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])?B0[f[2].toLowerCase()]:XX[c],b=rZ(_),C=b.value,R=b.isSecondary,E=f[0].startsWith("FontAwesome"),S=oS(x,C),T=S;if(E){var P=_Q(C);P.iconName&&P.prefix&&(S=P.iconName,x=P.prefix)}if(S&&!R&&(!o||o.getAttribute(eS)!==x||o.getAttribute(tS)!==T)){e.setAttribute(r,T),o&&e.removeChild(o);var M=qQ(),L=M.extra;L.attributes[$w]=t,Ww(S,x).then(function(v){var J=lS(tr(tr({},M),{},{icons:{main:v,mask:uS()},prefix:x,iconName:T,extra:L,watchable:!0})),q=wn.createElement("svg");t==="::before"?e.insertBefore(q,e.firstChild):e.appendChild(q),q.outerHTML=J.map(function(ue){return ev(ue)}).join(`
|
|
1168
|
-
`),e.removeAttribute(r),n()}).catch(i)}else n()}else n()})}function nZ(e){return Promise.all([MO(e,"::before"),MO(e,"::after")])}function iZ(e){return e.parentNode!==document.head&&!~GX.indexOf(e.tagName.toUpperCase())&&!e.getAttribute($w)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function PO(e){if(!!rl)return new Promise(function(t,r){var n=Sd(e.querySelectorAll("*")).filter(iZ).map(nZ),i=sS.begin("searchPseudoElements");WI(),Promise.all(n).then(function(){i(),qw(),t()}).catch(function(){i(),qw(),r()})})}var aZ={hooks:function(){return{mutationObserverCallbacks:function(r){return r.pseudoElementsCallback=PO,r}}},provides:function(t){t.pseudoElements2svg=function(r){var n=r.node,i=n===void 0?wn:n;_r.searchPseudoElements&&PO(i)}}},NO=!1,oZ={mixout:function(){return{dom:{unwatch:function(){WI(),NO=!0}}}},hooks:function(){return{bootstrap:function(){TO(jw("mutationObserverCallbacks",{}))},noAuto:function(){UQ()},watch:function(r){var n=r.observeMutationsRoot;NO?qw():TO(jw("mutationObserverCallbacks",{observeMutationsRoot:n}))}}}},RO=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)},uZ={mixout:function(){return{parse:{transform:function(r){return RO(r)}}}},hooks:function(){return{parseNodeAttributes:function(r,n){var i=n.getAttribute("data-fa-transform");return i&&(r.transform=RO(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)}]}]}}}},nx={x:0,y:0,width:"100%",height:"100%"};function IO(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 lZ(e){return e.tag==="g"?e.children:[e]}var sZ={hooks:function(){return{parseNodeAttributes:function(r,n){var i=n.getAttribute("data-fa-mask"),a=i?Dm(i.split(" ").map(function(o){return o.trim()})):uS();return a.prefix||(a.prefix=ls()),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=uQ({transform:f,containerWidth:_,iconWidth:c}),C={tag:"rect",attributes:tr(tr({},nx),{},{fill:"white"})},R=p.children?{children:p.children.map(IO)}:{},E={tag:"g",attributes:tr({},b.inner),children:[IO(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||Ip()),P="clip-".concat(l||Ip()),M={tag:"mask",attributes:tr(tr({},nx),{},{id:T,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[C,S]},L={tag:"defs",children:[{tag:"clipPath",attributes:{id:P},children:lZ(x)},M]};return n.push(L,{tag:"rect",attributes:tr({fill:"currentColor","clip-path":"url(#".concat(P,")"),mask:"url(#".concat(T,")")},nx)}),{children:n,attributes:i}}}},fZ={provides:function(t){var r=!1;us.matchMedia&&(r=us.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}}}},cZ={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}}}},dZ=[fQ,ZQ,KQ,JQ,eZ,aZ,oZ,uZ,sZ,fZ,cZ];AQ(dZ,{mixoutsTo:Fa});Fa.noAuto;Fa.config;Fa.library;Fa.dom;var Vw=Fa.parse;Fa.findIconDefinition;Fa.toHtml;var hZ=Fa.icon;Fa.layer;Fa.text;Fa.counter;function FO(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 Ul(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?FO(Object(r),!0).forEach(function(n){Nc(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):FO(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function H0(e){return H0=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},H0(e)}function Nc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pZ(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 qI(e,t){if(e==null)return{};var r=pZ(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 Yw(e){return vZ(e)||gZ(e)||mZ(e)||yZ()}function vZ(e){if(Array.isArray(e))return Xw(e)}function gZ(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function mZ(e,t){if(!!e){if(typeof e=="string")return Xw(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 Xw(e,t)}}function Xw(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 yZ(){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 bZ(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"},Nc(t,"fa-".concat(S),typeof S<"u"&&S!==null),Nc(t,"fa-rotate-".concat(T),typeof T<"u"&&T!==null&&T!==0),Nc(t,"fa-pull-".concat(P),typeof P<"u"&&P!==null),Nc(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 xZ(e){return e=e-0,e===e}function VI(e){return xZ(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,r){return r?r.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var wZ=["style"];function _Z(e){return e.charAt(0).toUpperCase()+e.slice(1)}function SZ(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,r){var n=r.indexOf(":"),i=VI(r.slice(0,n)),a=r.slice(n+1).trim();return i.startsWith("webkit")?t[_Z(i)]=a:t[i]=a,t},{})}function YI(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 YI(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=SZ(p);break;default:c.indexOf("aria-")===0||c.indexOf("data-")===0?f.attrs[c.toLowerCase()]=p:f.attrs[VI(c)]=p}return f},{attrs:{}}),a=r.style,o=a===void 0?{}:a,l=qI(r,wZ);return i.attrs.style=Ul(Ul({},i.attrs.style),o),e.apply(void 0,[t.tag,Ul(Ul({},i.attrs),l)].concat(Yw(n)))}var XI=!1;try{XI=!0}catch{}function EZ(){if(!XI&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function LO(e){if(e&&H0(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Vw.icon)return Vw.icon(e);if(e===null)return null;if(e&&H0(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 ix(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Nc({},e,t):{}}var AZ=["forwardedRef"];function zm(e){var t=e.forwardedRef,r=qI(e,AZ),n=r.icon,i=r.mask,a=r.symbol,o=r.className,l=r.title,f=r.titleId,c=r.maskId,p=LO(n),_=ix("classes",[].concat(Yw(bZ(r)),Yw(o.split(" ")))),x=ix("transform",typeof r.transform=="string"?Vw.transform(r.transform):r.transform),b=ix("mask",LO(i)),C=hZ(p,Ul(Ul(Ul(Ul({},_),x),b),{},{symbol:a,title:l,titleId:f,maskId:c}));if(!C)return EZ("Could not find icon",p),null;var R=C.abstract,E={ref:t};return Object.keys(r).forEach(function(S){zm.defaultProps.hasOwnProperty(S)||(E[S]=r[S])}),TZ(R[0],E)}zm.displayName="FontAwesomeIcon";zm.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};zm.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 TZ=YI.bind(null,Ri.createElement),QI={exports:{}},ZI={exports:{}},zg=1;function CZ(){return zg=(zg*9301+49297)%233280,zg/233280}function OZ(e){zg=e}var kZ={nextValue:CZ,seed:OZ},Qw=kZ,qs="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-",Hl,DO,Uh;function Zw(){Uh=!1}function KI(e){if(!e){Hl!==qs&&(Hl=qs,Zw());return}if(e!==Hl){if(e.length!==qs.length)throw new Error("Custom alphabet for shortid must be "+qs.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 "+qs.length+" unique characters. These characters were not unique: "+t.join(", "));Hl=e,Zw()}}function MZ(e){return KI(e),Hl}function PZ(e){Qw.seed(e),DO!==e&&(Zw(),DO=e)}function NZ(){Hl||KI(qs);for(var e=Hl.split(""),t=[],r=Qw.nextValue(),n;e.length>0;)r=Qw.nextValue(),n=Math.floor(r*e.length),t.push(e.splice(n,1)[0]);return t.join("")}function JI(){return Uh||(Uh=NZ(),Uh)}function RZ(e){var t=JI();return t[e]}function IZ(){return Hl||qs}var cS={get:IZ,characters:MZ,seed:PZ,lookup:RZ,shuffled:JI},ax=typeof window=="object"&&(window.crypto||window.msCrypto),Kw;!ax||!ax.getRandomValues?Kw=function(e){for(var t=[],r=0;r<e;r++)t.push(Math.floor(Math.random()*256));return t}:Kw=function(e){return ax.getRandomValues(new Uint8Array(e))};var FZ=Kw,LZ=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},DZ=cS,$Z=FZ,zZ=LZ;function BZ(e){for(var t=0,r,n="";!r;)n=n+zZ($Z,DZ.get(),1),r=e<Math.pow(16,t+1),t++;return n}var jZ=BZ,pg=jZ,UZ=1567752802062,HZ=7,vg,$O;function WZ(e){var t="",r=Math.floor((Date.now()-UZ)*.001);return r===$O?vg++:(vg=0,$O=r),t=t+pg(HZ),t=t+pg(e),vg>0&&(t=t+pg(vg)),t=t+pg(r),t}var GZ=WZ,qZ=cS;function VZ(e){if(!e||typeof e!="string"||e.length<6)return!1;var t=new RegExp("[^"+qZ.get().replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&")+"]");return!t.test(e)}var YZ=VZ;(function(e){var t=cS,r=GZ,n=YZ,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})(ZI);(function(e){e.exports=ZI.exports})(QI);const _te=i_(QI.exports);var XZ=Ri.createContext(null);function QZ(e){e()}var e4=QZ,ZZ=function(t){return e4=t},KZ=function(){return e4};function JZ(){var e=KZ(),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 zO={notify:function(){},get:function(){return[]}};function eK(e,t){var r,n=zO;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=JZ())}function c(){r&&(r(),r=void 0,n.clear(),n=zO)}var p={addNestedSub:i,notifyNestedSubs:a,handleChangeWrapper:o,isSubscribed:l,trySubscribe:f,tryUnsubscribe:c,getListeners:function(){return n}};return p}var tK=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?Ar.exports.useLayoutEffect:Ar.exports.useEffect,t4={exports:{}},rn={};/** @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 _i=typeof Symbol=="function"&&Symbol.for,dS=_i?Symbol.for("react.element"):60103,hS=_i?Symbol.for("react.portal"):60106,Bm=_i?Symbol.for("react.fragment"):60107,jm=_i?Symbol.for("react.strict_mode"):60108,Um=_i?Symbol.for("react.profiler"):60114,Hm=_i?Symbol.for("react.provider"):60109,Wm=_i?Symbol.for("react.context"):60110,pS=_i?Symbol.for("react.async_mode"):60111,Gm=_i?Symbol.for("react.concurrent_mode"):60111,qm=_i?Symbol.for("react.forward_ref"):60112,Vm=_i?Symbol.for("react.suspense"):60113,rK=_i?Symbol.for("react.suspense_list"):60120,Ym=_i?Symbol.for("react.memo"):60115,Xm=_i?Symbol.for("react.lazy"):60116,nK=_i?Symbol.for("react.block"):60121,iK=_i?Symbol.for("react.fundamental"):60117,aK=_i?Symbol.for("react.responder"):60118,oK=_i?Symbol.for("react.scope"):60119;function La(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case dS:switch(e=e.type,e){case pS:case Gm:case Bm:case Um:case jm:case Vm:return e;default:switch(e=e&&e.$$typeof,e){case Wm:case qm:case Xm:case Ym:case Hm:return e;default:return t}}case hS:return t}}}function r4(e){return La(e)===Gm}rn.AsyncMode=pS;rn.ConcurrentMode=Gm;rn.ContextConsumer=Wm;rn.ContextProvider=Hm;rn.Element=dS;rn.ForwardRef=qm;rn.Fragment=Bm;rn.Lazy=Xm;rn.Memo=Ym;rn.Portal=hS;rn.Profiler=Um;rn.StrictMode=jm;rn.Suspense=Vm;rn.isAsyncMode=function(e){return r4(e)||La(e)===pS};rn.isConcurrentMode=r4;rn.isContextConsumer=function(e){return La(e)===Wm};rn.isContextProvider=function(e){return La(e)===Hm};rn.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===dS};rn.isForwardRef=function(e){return La(e)===qm};rn.isFragment=function(e){return La(e)===Bm};rn.isLazy=function(e){return La(e)===Xm};rn.isMemo=function(e){return La(e)===Ym};rn.isPortal=function(e){return La(e)===hS};rn.isProfiler=function(e){return La(e)===Um};rn.isStrictMode=function(e){return La(e)===jm};rn.isSuspense=function(e){return La(e)===Vm};rn.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Bm||e===Gm||e===Um||e===jm||e===Vm||e===rK||typeof e=="object"&&e!==null&&(e.$$typeof===Xm||e.$$typeof===Ym||e.$$typeof===Hm||e.$$typeof===Wm||e.$$typeof===qm||e.$$typeof===iK||e.$$typeof===aK||e.$$typeof===oK||e.$$typeof===nK)};rn.typeOf=La;(function(e){e.exports=rn})(t4);var vS=t4.exports,uK={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},lK={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},sK={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},n4={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},gS={};gS[vS.ForwardRef]=sK;gS[vS.Memo]=n4;function BO(e){return vS.isMemo(e)?n4:gS[e.$$typeof]||uK}var fK=Object.defineProperty,cK=Object.getOwnPropertyNames,jO=Object.getOwnPropertySymbols,dK=Object.getOwnPropertyDescriptor,hK=Object.getPrototypeOf,UO=Object.prototype;function i4(e,t,r){if(typeof t!="string"){if(UO){var n=hK(t);n&&n!==UO&&i4(e,n,r)}var i=cK(t);jO&&(i=i.concat(jO(t)));for(var a=BO(e),o=BO(t),l=0;l<i.length;++l){var f=i[l];if(!lK[f]&&!(r&&r[f])&&!(o&&o[f])&&!(a&&a[f])){var c=dK(t,f);try{fK(e,f,c)}catch{}}}}return e}var HO=i4,a4={exports:{}},cn={};/** @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 Qm=60103,Zm=60106,tv=60107,rv=60108,nv=60114,iv=60109,av=60110,ov=60112,uv=60113,mS=60120,lv=60115,sv=60116,o4=60121,u4=60122,l4=60117,s4=60129,f4=60131;if(typeof Symbol=="function"&&Symbol.for){var Oi=Symbol.for;Qm=Oi("react.element"),Zm=Oi("react.portal"),tv=Oi("react.fragment"),rv=Oi("react.strict_mode"),nv=Oi("react.profiler"),iv=Oi("react.provider"),av=Oi("react.context"),ov=Oi("react.forward_ref"),uv=Oi("react.suspense"),mS=Oi("react.suspense_list"),lv=Oi("react.memo"),sv=Oi("react.lazy"),o4=Oi("react.block"),u4=Oi("react.server.block"),l4=Oi("react.fundamental"),s4=Oi("react.debug_trace_mode"),f4=Oi("react.legacy_hidden")}function ko(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Qm:switch(e=e.type,e){case tv:case nv:case rv:case uv:case mS:return e;default:switch(e=e&&e.$$typeof,e){case av:case ov:case sv:case lv:case iv:return e;default:return t}}case Zm:return t}}}var pK=iv,vK=Qm,gK=ov,mK=tv,yK=sv,bK=lv,xK=Zm,wK=nv,_K=rv,SK=uv;cn.ContextConsumer=av;cn.ContextProvider=pK;cn.Element=vK;cn.ForwardRef=gK;cn.Fragment=mK;cn.Lazy=yK;cn.Memo=bK;cn.Portal=xK;cn.Profiler=wK;cn.StrictMode=_K;cn.Suspense=SK;cn.isAsyncMode=function(){return!1};cn.isConcurrentMode=function(){return!1};cn.isContextConsumer=function(e){return ko(e)===av};cn.isContextProvider=function(e){return ko(e)===iv};cn.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Qm};cn.isForwardRef=function(e){return ko(e)===ov};cn.isFragment=function(e){return ko(e)===tv};cn.isLazy=function(e){return ko(e)===sv};cn.isMemo=function(e){return ko(e)===lv};cn.isPortal=function(e){return ko(e)===Zm};cn.isProfiler=function(e){return ko(e)===nv};cn.isStrictMode=function(e){return ko(e)===rv};cn.isSuspense=function(e){return ko(e)===uv};cn.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===tv||e===nv||e===s4||e===rv||e===uv||e===mS||e===f4||typeof e=="object"&&e!==null&&(e.$$typeof===sv||e.$$typeof===lv||e.$$typeof===iv||e.$$typeof===av||e.$$typeof===ov||e.$$typeof===l4||e.$$typeof===o4||e[0]===u4)};cn.typeOf=ko;(function(e){e.exports=cn})(a4);var EK=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],AK=["reactReduxForwardedRef"],TK=[],CK=[null,null];function OK(e,t){var r=e[1];return[t.payload,r+1]}function WO(e,t,r){tK(function(){return e.apply(void 0,t)},r)}function kK(e,t,r,n,i,a,o){e.current=n,t.current=i,r.current=!1,a.current&&(a.current=null,o())}function MK(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 PK=function(){return[null,0]};function NK(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?XZ:R,S=ud(r,EK),T=E;return function(M){var L=M.displayName||M.name||"Component",v=i(L),J=su({},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,J)}var Ie=q?Ar.exports.useMemo:function(Xe){return Xe()};function Te(Xe){var Et=Ar.exports.useMemo(function(){var kr=Xe.reactReduxForwardedRef,qr=ud(Xe,AK);return[Xe.context,kr,qr]},[Xe]),yt=Et[0],Ze=Et[1],it=Et[2],Ut=Ar.exports.useMemo(function(){return yt&&yt.Consumer&&a4.exports.isContextConsumer(Ri.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 CK;var kr=eK(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:su({},bt,{subscription:Ct})},[Le,bt,Ct]),mr=Ar.exports.useReducer(OK,TK,PK),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(),ee=Ar.exports.useRef(!1),Ee=Ie(function(){return he.current&&it===Y.current?he.current:At(ut.getState(),it)},[ut,Gt,it]);WO(kK,[Y,je,ee,it,Ee,he,Lt]),WO(MK,[p,ut,Ct,At,Y,je,ee,he,Lt,fr],[ut,Ct,At]);var wt=Ar.exports.useMemo(function(){return lu(M,{...Ee,ref:Ze})},[Ze,M,Ee]),Dt=Ar.exports.useMemo(function(){return p?lu(Ut.Provider,{value:hr,children:wt}):wt},[Ut,wt,hr]);return Dt}var De=q?Ri.memo(Te):Te;if(De.WrappedComponent=M,De.displayName=Te.displayName=v,C){var Ye=Ri.forwardRef(function(Et,yt){return lu(De,{...Et,reactReduxForwardedRef:yt})});return Ye.displayName=v,Ye.WrappedComponent=M,HO(Ye,M)}return HO(De,M)}}function GO(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function ox(e,t){if(GO(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])||!GO(e[r[i]],t[r[i]]))return!1;return!0}function RK(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 yS(e){return function(r,n){var i=e(r,n);function a(){return i}return a.dependsOnOwnProps=!1,a}}function qO(e){return e.dependsOnOwnProps!==null&&e.dependsOnOwnProps!==void 0?Boolean(e.dependsOnOwnProps):e.length!==1}function c4(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=qO(e);var c=a(l,f);return typeof c=="function"&&(a.mapToProps=c,a.dependsOnOwnProps=qO(c),c=a(l,f)),c},a}}function IK(e){return typeof e=="function"?c4(e):void 0}function FK(e){return e?void 0:yS(function(t){return{dispatch:t}})}function LK(e){return e&&typeof e=="object"?yS(function(t){return RK(e,t)}):void 0}const DK=[IK,FK,LK];function $K(e){return typeof e=="function"?c4(e):void 0}function zK(e){return e?void 0:yS(function(){return{}})}const BK=[$K,zK];function jK(e,t,r){return su({},r,e,t)}function UK(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 HK(e){return typeof e=="function"?UK(e):void 0}function WK(e){return e?void 0:function(){return jK}}const GK=[HK,WK];var qK=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function VK(e,t,r,n){return function(a,o){return r(e(a,o),t(n,o),o)}}function YK(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 XK(e,t){var r=t.initMapStateToProps,n=t.initMapDispatchToProps,i=t.initMergeProps,a=ud(t,qK),o=r(e,a),l=n(e,a),f=i(e,a),c=a.pure?YK:VK;return c(o,l,f,e,a)}var QK=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function ux(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 ZK(e,t){return e===t}function KK(e){var t=e===void 0?{}:e,r=t.connectHOC,n=r===void 0?NK:r,i=t.mapStateToPropsFactories,a=i===void 0?BK:i,o=t.mapDispatchToPropsFactories,l=o===void 0?DK:o,f=t.mergePropsFactories,c=f===void 0?GK:f,p=t.selectorFactory,_=p===void 0?XK: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?ZK:M,v=S.areOwnPropsEqual,J=v===void 0?ox:v,q=S.areStatePropsEqual,ue=q===void 0?ox:q,Ie=S.areMergedPropsEqual,Te=Ie===void 0?ox:Ie,De=ud(S,QK),Ye=ux(b,a,"mapStateToProps"),Xe=ux(C,l,"mapDispatchToProps"),Et=ux(R,c,"mergeProps");return n(_,su({methodName:"connect",getDisplayName:function(Ze){return"Connect("+Ze+")"},shouldHandleStateChanges:Boolean(b),initMapStateToProps:Ye,initMapDispatchToProps:Xe,initMergeProps:Et,pure:P,areStatesEqual:L,areOwnPropsEqual:J,areStatePropsEqual:ue,areMergedPropsEqual:Te},De))}}const d4=KK();ZZ(u_.exports.unstable_batchedUpdates);function JK(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 h4(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&&JK(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 eJ(e,t){return h4(function(){return e},t)}var ea=h4,mi=eJ,tJ=!0,lx="Invariant failed";function rJ(e,t){if(!e){if(tJ)throw new Error(lx);var r=typeof t=="function"?t():t,n=r?lx+": "+r:lx;throw new Error(n)}}var Rc=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},p4=function(t,r){return{top:t.top-r.top,left:t.left-r.left,bottom:t.bottom+r.bottom,right:t.right+r.right}},VO=function(t,r){return{top:t.top+r.top,left:t.left+r.left,bottom:t.bottom-r.bottom,right:t.right-r.right}},nJ=function(t,r){return{top:t.top+r.y,left:t.left+r.x,bottom:t.bottom+r.y,right:t.right+r.x}},sx={top:0,right:0,bottom:0,left:0},bS=function(t){var r=t.borderBox,n=t.margin,i=n===void 0?sx:n,a=t.border,o=a===void 0?sx:a,l=t.padding,f=l===void 0?sx:l,c=Rc(p4(r,i)),p=Rc(VO(r,o)),_=Rc(VO(p,f));return{marginBox:c,borderBox:Rc(r),paddingBox:p,contentBox:_,margin:i,border:o,padding:f}},Ka=function(t){var r=t.slice(0,-2),n=t.slice(-2);if(n!=="px")return 0;var i=Number(r);return isNaN(i)&&rJ(!1),i},iJ=function(){return{x:window.pageXOffset,y:window.pageYOffset}},aJ=function(t,r){var n=t.borderBox,i=t.border,a=t.margin,o=t.padding,l=nJ(n,r);return bS({borderBox:l,border:i,margin:a,padding:o})},Jw=function(t,r){return r===void 0&&(r=iJ()),aJ(t,r)},v4=function(t,r){var n={top:Ka(r.marginTop),right:Ka(r.marginRight),bottom:Ka(r.marginBottom),left:Ka(r.marginLeft)},i={top:Ka(r.paddingTop),right:Ka(r.paddingRight),bottom:Ka(r.paddingBottom),left:Ka(r.paddingLeft)},a={top:Ka(r.borderTopWidth),right:Ka(r.borderRightWidth),bottom:Ka(r.borderBottomWidth),left:Ka(r.borderLeftWidth)};return bS({borderBox:t,margin:n,padding:i,border:a})},g4=function(t){var r=t.getBoundingClientRect(),n=window.getComputedStyle(t);return v4(r,n)},oJ=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 uJ=oJ;function m4(e,t){}m4.bind(null,"warn");m4.bind(null,"error");function lJ(){}function sJ(e,t){return su({},e,{},t)}function fJ(e,t,r){var n=t.map(function(i){var a=sJ(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 cJ="Invariant failed";function W0(e){this.message=e}W0.prototype.toString=function(){return this.message};function Na(e,t){if(!e)throw new W0(cJ)}(function(e){Qp(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=lJ,n.onWindowError=function(l){var f=n.getCallbacks();f.isDragging()&&f.tryAbort();var c=l.error;c instanceof W0&&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=fJ(window,[{eventName:"error",fn:this.onWindowError}])},r.componentDidCatch=function(i){if(i instanceof W0){this.setState({});return}throw i},r.componentWillUnmount=function(){this.unbind()},r.render=function(){return this.props.children(this.setCallbacks)},t})(Ri.Component);var pf={x:0,y:0},dJ=function(t,r){return{x:t.x-r.x,y:t.y-r.y}},hJ=function(t,r){return t.x===r.x&&t.y===r.y},pJ=function(t){return{x:t.x!==0?-t.x:0,y:t.y!==0?-t.y:0}},vJ=function(t,r,n){var i;return n===void 0&&(n=0),i={},i[t]=r,i[t==="x"?"y":"x"]=n,i},gJ=function(e,t){var r=Rc({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},mJ=function(t,r){return{top:t.top+r.y,left:t.left+r.x,bottom:t.bottom+r.y,right:t.right+r.x}},yJ={top:0,right:0,bottom:0,left:0},bJ=function(t,r){return r?mJ(t,r.scroll.diff.displacement):t},xJ=function(t,r,n){if(n&&n.increasedBy){var i;return su({},t,(i={},i[r.end]=t[r.end]+n.increasedBy[r.line],i))}return t},wJ=function(t,r){return r&&r.shouldClipSubject?gJ(r.pageMarginBox,t):Rc(t)},_J=function(e){var t=e.page,r=e.withPlaceholder,n=e.axis,i=e.frame,a=bJ(t.marginBox,i),o=xJ(a,n,r),l=wJ(o,i);return{page:t,withPlaceholder:r,active:l}};function y4(e){return Object.values?Object.values(e):Object.keys(e).map(function(t){return e[t]})}function SJ(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 b4(e,t){if(e.find)return e.find(t);var r=SJ(e,t);if(r!==-1)return e[r]}Wn(function(e){return e.reduce(function(t,r){return t[r.descriptor.id]=r,t},{})});Wn(function(e){return e.reduce(function(t,r){return t[r.descriptor.id]=r,t},{})});var EJ=Wn(function(e){return y4(e)}),AJ=Wn(function(e){return y4(e)});Wn(function(e,t){var r=AJ(t).filter(function(n){return e===n.descriptor.droppableId}).sort(function(n,i){return n.descriptor.index-i.descriptor.index});return r});function TJ(e){return e.at&&e.at.type==="COMBINE"?e.at.combine:null}Wn(function(e,t){return t.filter(function(r){return r.descriptor.id!==e.descriptor.id})});var CJ={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},OJ={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"};Wn(function(t,r){var n=r[t.line];return{value:n,point:vJ(t.line,n)}});var Bg=function(e){var t=e.at;return t?t.type==="REORDER"?t.destination.droppableId:t.combine.droppableId:null},kJ=function(t){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:t}},MJ=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}},xS={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Fp={opacity:{drop:0,combining:.7},scale:{drop:.75}},PJ={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},Bs=PJ.outOfTheWay+"s "+xS.outOfTheWay,jg={fluid:"opacity "+Bs,snap:"transform "+Bs+", opacity "+Bs,drop:function(t){var r=t+"s "+xS.drop;return"transform "+r+", opacity "+r},outOfTheWay:"transform "+Bs,placeholder:"height "+Bs+", width "+Bs+", margin "+Bs},YO=function(t){return hJ(t,pf)?null:"translate("+t.x+"px, "+t.y+"px)"},e_={moveTo:YO,drop:function(t,r){var n=YO(t);return n?r?n+" scale("+Fp.scale.drop+")":n:null}},x4=function(e){var t=e.scrollHeight,r=e.scrollWidth,n=e.height,i=e.width,a=dJ({x:r,y:t},{x:i,y:n}),o={x:Math.max(0,a.x),y:Math.max(0,a.y)};return o},NJ=function(){var e=document.documentElement;return e||Na(!1),e},RJ=function(){var e=NJ(),t=x4({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight});return t};Wn(function(e){return EJ(e).filter(function(t){return!(!t.isEnabled||!t.frame)})});var IJ="data-rbd",XO={contextId:IJ+"-scroll-container-context-id"},sp=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?Ar.exports.useLayoutEffect:Ar.exports.useEffect,w4=Ri.createContext(null),FJ=0,LJ={separator:"::"};function _4(e,t){return t===void 0&&(t=LJ),ea(function(){return""+e+t.separator+FJ++},[t.separator,e])}var wS=Ri.createContext(null);function DJ(e){var t=Ar.exports.useRef(e);return Ar.exports.useEffect(function(){t.current=e}),t}var $J=9,zJ=13,BJ=33,jJ=34,UJ=35,HJ=36,gg;gg={},gg[zJ]=!0,gg[$J]=!0;(function(){var e="visibilitychange";if(typeof document>"u")return e;var t=[e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],r=b4(t,function(n){return"on"+n in document});return r||e})();var gc;gc={},gc[jJ]=!0,gc[BJ]=!0,gc[HJ]=!0,gc[UJ]=!0;(function(){var e="matches";if(typeof document>"u")return e;var t=[e,"msMatchesSelector","webkitMatchesSelector"],r=b4(t,function(n){return n in Element.prototype});return r||e})();var S4=function(t){return function(r){return t===r}},WJ=S4("scroll"),GJ=S4("auto"),QO=function(t,r){return r(t.overflowX)||r(t.overflowY)},qJ=function(t){var r=window.getComputedStyle(t),n={overflowX:r.overflowX,overflowY:r.overflowY};return QO(n,WJ)||QO(n,GJ)},VJ=function(){return!1},YJ=function e(t){return t==null?null:t===document.body?VJ()?t:null:t===document.documentElement?null:qJ(t)?t:e(t.parentElement)},t_=function(e){return{x:e.scrollLeft,y:e.scrollTop}},XJ=function e(t){if(!t)return!1;var r=window.getComputedStyle(t);return r.position==="fixed"?!0:e(t.parentElement)},QJ=function(e){var t=YJ(e),r=XJ(e);return{closestScrollable:t,isFixedOnPage:r}},ZJ=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=x4({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:pf,displacement:pf}}}}(),p=a==="vertical"?CJ:OJ,_=_J({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},KJ=function(t,r){var n=g4(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=p4(f,n.border),p=bS({borderBox:c,margin:n.margin,border:n.border,padding:n.padding});return p},JJ=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=KJ(t,c),_=Jw(p,i),x=function(){if(!c)return null;var C=g4(c),R={scrollHeight:c.scrollHeight,scrollWidth:c.scrollWidth};return{client:C,page:Jw(C,i),scroll:t_(c),scrollSize:R,shouldClipSubject:f}}(),b=ZJ({descriptor:r,isEnabled:!o,isCombineEnabled:l,isFixedOnPage:n.isFixedOnPage,direction:a,client:p,page:_,closest:x});return b},eee={passive:!1},tee={passive:!0},ZO=function(e){return e.shouldPublishImmediately?eee:tee};function G0(e){var t=Ar.exports.useContext(e);return t||Na(!1),t}var mg=function(t){return t&&t.env.closestScrollable||null};function ree(e){var t=Ar.exports.useRef(null),r=G0(wS),n=_4("droppable"),i=r.registry,a=r.marshal,o=DJ(e),l=ea(function(){return{id:e.droppableId,type:e.type,mode:e.mode}},[e.droppableId,e.mode,e.type]),f=Ar.exports.useRef(l),c=ea(function(){return Wn(function(M,L){t.current||Na(!1);var v={x:M,y:L};a.updateDroppableScroll(l.id,v)})},[l.id,a]),p=mi(function(){var M=t.current;return!M||!M.env.closestScrollable?pf:t_(M.env.closestScrollable)},[]),_=mi(function(){var M=p();c(M.x,M.y)},[p,c]),x=ea(function(){return uJ(_)},[_]),b=mi(function(){var M=t.current,L=mg(M);M&&L||Na(!1);var v=M.scrollOptions;if(v.shouldPublishImmediately){_();return}x()},[x,_]),C=mi(function(M,L){t.current&&Na(!1);var v=o.current,J=v.getDroppableRef();J||Na(!1);var q=QJ(J),ue={ref:J,descriptor:l,env:q,scrollOptions:L};t.current=ue;var Ie=JJ({ref:J,descriptor:l,env:q,windowScroll:M,direction:v.direction,isDropDisabled:v.isDropDisabled,isCombineEnabled:v.isCombineEnabled,shouldClipSubject:!v.ignoreContainerClipping}),Te=q.closestScrollable;return Te&&(Te.setAttribute(XO.contextId,r.contextId),Te.addEventListener("scroll",b,ZO(ue.scrollOptions))),Ie},[r.contextId,l,b,o]),R=mi(function(){var M=t.current,L=mg(M);return M&&L||Na(!1),t_(L)},[]),E=mi(function(){var M=t.current;M||Na(!1);var L=mg(M);t.current=null,L&&(x.cancel(),L.removeAttribute(XO.contextId),L.removeEventListener("scroll",b,ZO(M.scrollOptions)))},[b,x]),S=mi(function(M){var L=t.current;L||Na(!1);var v=mg(L);v||Na(!1),v.scrollTop+=M.y,v.scrollLeft+=M.x},[]),T=ea(function(){return{getDimensionAndWatchScroll:C,getScrollWhileDragging:R,dragStopped:E,scroll:S}},[E,C,R,S]),P=ea(function(){return{uniqueId:n,descriptor:l,callbacks:T}},[T,l,n]);sp(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]),sp(function(){!t.current||a.updateDroppableIsEnabled(f.current.id,!e.isDropDisabled)},[e.isDropDisabled,a]),sp(function(){!t.current||a.updateDroppableIsCombineEnabled(f.current.id,e.isCombineEnabled)},[e.isCombineEnabled,a])}function fx(){}var KO={width:0,height:0,margin:yJ},nee=function(t){var r=t.isAnimatingOpenOnMount,n=t.placeholder,i=t.animate;return r||i==="close"?KO:{height:n.client.borderBox.height,width:n.client.borderBox.width,margin:n.client.margin}},iee=function(t){var r=t.isAnimatingOpenOnMount,n=t.placeholder,i=t.animate,a=nee({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"?jg.placeholder:null}};function aee(e){var t=Ar.exports.useRef(null),r=mi(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),fx):t.current?fx:(t.current=setTimeout(function(){t.current=null,c(!1)}),r):fx},[n,f,r]);var p=mi(function(x){x.propertyName==="height"&&(i(),n==="close"&&a())},[n,a,i]),_=iee({isAnimatingOpenOnMount:f,animate:e.animate,placeholder:e.placeholder});return Ri.createElement(e.placeholder.tagName,{style:_,"data-rbd-placeholder-context-id":o,onTransitionEnd:p,ref:e.innerRef})}var oee=Ri.memo(aee),_S=Ri.createContext(null),uee=function(e){Qp(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}(Ri.PureComponent),JO={dragging:5e3,dropAnimating:4500},lee=function(t,r){return r?jg.drop(r.duration):t?jg.snap:jg.fluid},see=function(t,r){return t?r?Fp.opacity.drop:Fp.opacity.combining:null},fee=function(t){return t.forceShouldAnimate!=null?t.forceShouldAnimate:t.mode==="SNAP"};function cee(e){var t=e.dimension,r=t.client,n=e.offset,i=e.combineWith,a=e.dropping,o=Boolean(i),l=fee(e),f=Boolean(a),c=f?e_.drop(n,o):e_.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:lee(l,a),transform:c,opacity:see(o,f),zIndex:f?JO.dropAnimating:JO.dragging,pointerEvents:"none"};return p}function dee(e){return{transform:e_.moveTo(e.offset),transition:e.shouldAnimateDisplacement?null:"none"}}function hee(e){return e.type==="DRAGGING"?cee(e):dee(e)}function pee(e,t,r){r===void 0&&(r=pf);var n=window.getComputedStyle(t),i=t.getBoundingClientRect(),a=v4(i,n),o=Jw(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 vee(e){var t=_4("draggable"),r=e.descriptor,n=e.registry,i=e.getDraggableRef,a=e.canDragInteractiveElements,o=e.shouldRespectForcePress,l=e.isEnabled,f=ea(function(){return{canDragInteractiveElements:a,shouldRespectForcePress:o,isEnabled:l}},[a,l,o]),c=mi(function(b){var C=i();return C||Na(!1),pee(r,C,b)},[r,i]),p=ea(function(){return{uniqueId:t,descriptor:r,options:f,getDimension:c}},[r,c,f,t]),_=Ar.exports.useRef(p),x=Ar.exports.useRef(!0);sp(function(){return n.draggable.register(_.current),function(){return n.draggable.unregister(_.current)}},[n.draggable]),sp(function(){if(x.current){x.current=!1;return}var b=_.current;_.current=p,n.draggable.update(p,b)},[p,n.draggable])}function gee(e){e.preventDefault()}function mee(e){var t=Ar.exports.useRef(null),r=mi(function(ue){t.current=ue},[]),n=mi(function(){return t.current},[]),i=G0(wS),a=i.contextId,o=i.dragHandleUsageInstructionsId,l=i.registry,f=G0(_S),c=f.type,p=f.droppableId,_=ea(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=ea(function(){return{descriptor:_,registry:l,getDraggableRef:n,canDragInteractiveElements:E,shouldRespectForcePress:R,isEnabled:C}},[_,l,n,E,R,C]);vee(M)}var L=ea(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:gee}:null},[a,o,b,C]),v=mi(function(ue){T.type==="DRAGGING"&&(!T.dropping||ue.propertyName==="transform"&&P())},[P,T]),J=ea(function(){var ue=hee(T),Ie=T.type==="DRAGGING"&&T.dropping?v:null,Te={innerRef:r,draggableProps:{"data-rbd-draggable-context-id":a,"data-rbd-draggable-id":b,style:ue,onTransitionEnd:Ie},dragHandleProps:L};return Te},[a,L,b,T,v,r]),q=ea(function(){return{draggableId:_.id,type:_.type,source:{index:_.index,droppableId:_.droppableId}}},[_.droppableId,_.id,_.index,_.type]);return x(J,T.snapshot,q)}var E4=function(e,t){return e===t},A4=function(e){var t=e.combine,r=e.destination;return r?r.droppableId:t?t.droppableId:null},yee=function(t){return t.combine?t.combine.draggableId:null},bee=function(t){return t.at&&t.at.type==="COMBINE"?t.at.combine.draggableId:null};function xee(){var e=Wn(function(i,a){return{x:i,y:a}}),t=Wn(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=Wn(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=Bg(a.impact),p=bee(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=A4(R),T=yee(R),P=a.dropDuration,M={duration:P,curve:xS.drop,moveTo:a.newHomeClientOffset,opacity:T?Fp.opacity.drop:null,scale:T?Fp.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 T4(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var wee={mapped:{type:"SECONDARY",offset:pf,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:T4(null)}};function _ee(){var e=Wn(function(o,l){return{x:o,y:l}}),t=Wn(T4),r=Wn(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(pf,l,!0):null},i=function(l,f,c,p){var _=c.displaced.visible[l],x=Boolean(p.inVirtualList&&p.effected[l]),b=TJ(c),C=b&&b.draggableId===l?f:null;if(!_){if(!x)return n(C);if(c.displaced.invisible[l])return null;var R=pJ(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 See=function(){var t=xee(),r=_ee(),n=function(a,o){return t(a,o)||r(a,o)||wee};return n},Eee={dropAnimationFinished:MJ},Aee=d4(See,Eee,null,{context:w4,pure:!0,areStatePropsEqual:E4})(mee);function C4(e){var t=G0(_S),r=t.isUsingCloneFor;return r===e.draggableId&&!e.isClone?null:lu(Aee,{...e})}function Ste(e){var t=typeof e.isDragDisabled=="boolean"?!e.isDragDisabled:!0,r=Boolean(e.disableInteractiveElementBlocking),n=Boolean(e.shouldRespectForcePress);return lu(C4,{...e,isClone:!1,isEnabled:t,canDragInteractiveElements:r,shouldRespectForcePress:n})}function Tee(e){var t=Ar.exports.useContext(wS);t||Na(!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=mi(function(){return i.current},[]),P=mi(function(Te){i.current=Te},[]);mi(function(){return a.current},[]);var M=mi(function(Te){a.current=Te},[]),L=mi(function(){n()&&E({maxScroll:RJ()})},[n,E]);ree({droppableId:l,type:f,mode:c,direction:p,isDropDisabled:x,isCombineEnabled:b,ignoreContainerClipping:_,getDroppableRef:T});var v=lu(uee,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder,children:function(Te){var De=Te.onClose,Ye=Te.data,Xe=Te.animate;return lu(oee,{placeholder:Ye,onClose:De,innerRef:M,animate:Xe,contextId:r,onTransitionEnd:L})}}),J=ea(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=ea(function(){return{droppableId:l,type:f,isUsingCloneFor:q}},[l,q,f]);function Ie(){if(!R)return null;var Te=R.dragging,De=R.render,Ye=lu(C4,{draggableId:Te.draggableId,index:Te.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0,children:function(Xe,Et){return De(Xe,Et,Te)}});return Dh.createPortal(Ye,S())}return FV(_S.Provider,{value:ue,children:[o(J,C),Ie()]})}var cx=function(t,r){return t===r.droppable.type},e5=function(t,r){return r.draggables[t.draggable.id]},Cee=function(){var t={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},r=su({},t,{shouldAnimatePlaceholder:!1}),n=Wn(function(o){return{draggableId:o.id,type:o.type,source:{index:o.index,droppableId:o.droppableId}}}),i=Wn(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(!cx(p,b))return r;var C=e5(b,l.dimensions),R=Bg(l.impact)===c;return i(c,_,R,R,C,x)}if(l.phase==="DROP_ANIMATING"){var E=l.completed;if(!cx(p,E.critical))return r;var S=e5(E.critical,l.dimensions);return i(c,_,A4(E.result)===c,Bg(E.impact)===c,S,x)}if(l.phase==="IDLE"&&l.completed&&!l.shouldFlush){var T=l.completed;if(!cx(p,T.critical))return r;var P=Bg(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},Oee={updateViewportMaxScroll:kJ};function kee(){return document.body||Na(!1),document.body}var Mee={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:kee},Pee=d4(Cee,Oee,null,{context:w4,pure:!0,areStatePropsEqual:E4})(Tee);Pee.defaultProps=Mee;var Nee=typeof performance=="object"&&typeof performance.now=="function",t5=Nee?function(){return performance.now()}:function(){return Date.now()};function r5(e){cancelAnimationFrame(e.id)}function Ree(e,t){var r=t5();function n(){t5()-r>=t?e.call(null):i.id=requestAnimationFrame(n)}var i={id:requestAnimationFrame(n)};return i}var mc=null;function n5(e){if(e===void 0&&(e=!1),mc===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?mc="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?mc="negative":mc="positive-ascending"),document.body.removeChild(t),mc}return mc}var Iee=150,Fee=function(t,r){return t};function Lee(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){Qp(b,x);function b(R){var E;return E=x.call(this,R)||this,E._instanceProps=c(E.props,dg(dg(E))),E._outerRef=void 0,E._resetIsScrollingTimeoutId=null,E.state={instance:dg(dg(E)),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof E.props.initialScrollOffset=="number"?E.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},E._callOnItemsRendered=void 0,E._callOnItemsRendered=Wn(function(S,T,P,M){return E.props.onItemsRendered({overscanStartIndex:S,overscanStopIndex:T,visibleStartIndex:P,visibleStopIndex:M})}),E._callOnScroll=void 0,E._callOnScroll=Wn(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),J;if(v.hasOwnProperty(S))J=v[S];else{var q=n(E.props,S,E._instanceProps),ue=a(E.props,S,E._instanceProps),Ie=P==="horizontal"||L==="horizontal",Te=P==="rtl",De=Ie?q:0;v[S]=J={position:"absolute",left:Te?void 0:De,right:Te?De:void 0,top:Ie?0:q,height:Ie?"100%":ue,width:Ie?ue:"100%"}}return J},E._getItemStyleCache=void 0,E._getItemStyleCache=Wn(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 J=E.props.direction,q=M;if(J==="rtl")switch(n5()){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 J=Math.max(0,Math.min(L,M-P));return{isScrolling:!0,scrollDirection:v.scrollOffset<J?"forward":"backward",scrollOffset:J,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&&r5(E._resetIsScrollingTimeoutId),E._resetIsScrollingTimeoutId=Ree(E._resetIsScrolling,Iee)},E._resetIsScrolling=function(){E._resetIsScrollingTimeoutId=null,E.setState({isScrolling:!1},function(){E._getItemStyleCache(-1,null)})},E}b.getDerivedStateFromProps=function(E,S){return Dee(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(n5()){case"negative":v.scrollLeft=-M;break;case"positive-ascending":v.scrollLeft=M;break;default:var J=v.clientWidth,q=v.scrollWidth;v.scrollLeft=q-J-M;break}else v.scrollLeft=M;else v.scrollTop=M}this._callPropsCallbacks()},C.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&r5(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,J=E.innerTagName,q=E.itemCount,ue=E.itemData,Ie=E.itemKey,Te=Ie===void 0?Fee: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:Te(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:su({position:"relative",height:M,width:Ze,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:P},Et)},Ar.exports.createElement(v||J||"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,J=v.scrollDirection,q=v.scrollOffset,ue=v.scrollUpdateWasRequested;this._callOnScroll(J,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 J=l(this.props,v,this._instanceProps),q=f(this.props,J,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,J-ue),Math.max(0,Math.min(S-1,q+Ie)),J,q]},b}(Ar.exports.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},r}var Dee=function(t,r){t.children,t.direction,t.height,t.layout,t.innerTagName,t.outerTagName,t.width,r.instance},Ete=Lee({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}}),$ee=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},zee=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}}(),Bee=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},jee=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)},i5=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},Uee=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")}}(),no=void 0;typeof window<"u"?no=window:typeof self<"u"?no=self:no=window;var r_=null,n_=null,a5=20,dx=no.clearTimeout,o5=no.setTimeout,hx=no.cancelAnimationFrame||no.mozCancelAnimationFrame||no.webkitCancelAnimationFrame,u5=no.requestAnimationFrame||no.mozRequestAnimationFrame||no.webkitRequestAnimationFrame;hx==null||u5==null?(r_=dx,n_=function(t){return o5(t,a5)}):(r_=function(t){var r=Uee(t,2),n=r[0],i=r[1];hx(n),dx(i)},n_=function(t){var r=u5(function(){dx(n),t()}),n=o5(function(){hx(r),t()},a5);return[r,n]});function Hee(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,J=L.lastElementChild,q=v.firstElementChild;J.scrollLeft=J.scrollWidth,J.scrollTop=J.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__&&r_(this.__resizeRAF__),this.__resizeRAF__=n_(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],J=M.createElement("style");J.id="detectElementResize",J.type="text/css",e!=null&&J.setAttribute("nonce",e),J.styleSheet?J.styleSheet.cssText=L:J.appendChild(M.createTextNode(L)),v.appendChild(J)}},S=function(M,L){if(f)M.attachEvent("onresize",L);else{if(!M.__resizeTriggers__){var v=M.ownerDocument,J=no.getComputedStyle(M);J&&J.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(Te){Te.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 Wee=function(e){jee(t,e);function t(){var r,n,i,a;$ee(this,t);for(var o=arguments.length,l=Array(o),f=0;f<o;f++)l[f]=arguments[f];return a=(n=(i=i5(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),i5(i,a)}return zee(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=Hee(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:Bee({},x,f)},!C&&i(b))}}]),t}(Ar.exports.PureComponent);Wee.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};var Gee=typeof window=="object"&&window&&window.Object===Object&&window,qee=typeof self=="object"&&self&&self.Object===Object&&self,Vee=Gee||qee||Function("return this")(),l5=Vee.Symbol;l5&&l5.isConcatSpreadable;export{yte as $,Ur as A,pte as B,Wn as C,Zee as D,lu as E,mte as F,gte as G,xte as H,bte as I,FV as J,Dh as K,zm as L,vte as M,_te as N,Wee as O,wte as P,Ete as Q,Ri as R,Ste as S,Pee as T,g2 as U,Jee as a,ite as b,ate as c,j$ as d,WP as e,ete as f,tte as g,rte as h,S2 as i,A9 as j,ote as k,hm as l,nte as m,eN as n,IN as o,JP as p,lte as q,Kee as r,ute as s,FB as t,ste as u,fte as v,cte as w,dte as x,hte as y,Ar as z};
|