文件操作 - main-4e3b1a15.js
返回文件管理
返回主菜单
删除本文件
文件: /storage/v12552/stanleysteamer/public_html/wp-content/plugins/core-framework/dist/main-4e3b1a15.js
编辑文件内容
var h_e=Object.defineProperty;var m_e=(t,e,r)=>e in t?h_e(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var Tt=(t,e,r)=>(m_e(t,typeof e!="symbol"?e+"":e,r),r);function g_e(t,e){for(var r=0;r<e.length;r++){const n=e[r];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in t)){const o=Object.getOwnPropertyDescriptor(n,i);o&&Object.defineProperty(t,i,o.get?o:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var fQ=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Io(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function k3(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}),r}var uye={exports:{}},EP={},fye={exports:{}},Qn={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var O3=Symbol.for("react.element"),v_e=Symbol.for("react.portal"),y_e=Symbol.for("react.fragment"),B_e=Symbol.for("react.strict_mode"),C_e=Symbol.for("react.profiler"),b_e=Symbol.for("react.provider"),w_e=Symbol.for("react.context"),x_e=Symbol.for("react.forward_ref"),S_e=Symbol.for("react.suspense"),E_e=Symbol.for("react.memo"),D_e=Symbol.for("react.lazy"),vre=Symbol.iterator;function k_e(t){return t===null||typeof t!="object"?null:(t=vre&&t[vre]||t["@@iterator"],typeof t=="function"?t:null)}var dye={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},pye=Object.assign,Aye={};function oC(t,e,r){this.props=t,this.context=e,this.refs=Aye,this.updater=r||dye}oC.prototype.isReactComponent={};oC.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};oC.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function hye(){}hye.prototype=oC.prototype;function Hq(t,e,r){this.props=t,this.context=e,this.refs=Aye,this.updater=r||dye}var Gq=Hq.prototype=new hye;Gq.constructor=Hq;pye(Gq,oC.prototype);Gq.isPureReactComponent=!0;var yre=Array.isArray,mye=Object.prototype.hasOwnProperty,Wq={current:null},gye={key:!0,ref:!0,__self:!0,__source:!0};function vye(t,e,r){var n,i={},o=null,s=null;if(e!=null)for(n in e.ref!==void 0&&(s=e.ref),e.key!==void 0&&(o=""+e.key),e)mye.call(e,n)&&!gye.hasOwnProperty(n)&&(i[n]=e[n]);var a=arguments.length-2;if(a===1)i.children=r;else if(1<a){for(var l=Array(a),c=0;c<a;c++)l[c]=arguments[c+2];i.children=l}if(t&&t.defaultProps)for(n in a=t.defaultProps,a)i[n]===void 0&&(i[n]=a[n]);return{$$typeof:O3,type:t,key:o,ref:s,props:i,_owner:Wq.current}}function O_e(t,e){return{$$typeof:O3,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function zq(t){return typeof t=="object"&&t!==null&&t.$$typeof===O3}function P_e(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(r){return e[r]})}var Bre=/\/+/g;function UF(t,e){return typeof t=="object"&&t!==null&&t.key!=null?P_e(""+t.key):e.toString(36)}function FE(t,e,r,n,i){var o=typeof t;(o==="undefined"||o==="boolean")&&(t=null);var s=!1;if(t===null)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case O3:case v_e:s=!0}}if(s)return s=t,i=i(s),t=n===""?"."+UF(s,0):n,yre(i)?(r="",t!=null&&(r=t.replace(Bre,"$&/")+"/"),FE(i,e,r,"",function(c){return c})):i!=null&&(zq(i)&&(i=O_e(i,r+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(Bre,"$&/")+"/")+t)),e.push(i)),1;if(s=0,n=n===""?".":n+":",yre(t))for(var a=0;a<t.length;a++){o=t[a];var l=n+UF(o,a);s+=FE(o,e,r,l,i)}else if(l=k_e(t),typeof l=="function")for(t=l.call(t),a=0;!(o=t.next()).done;)o=o.value,l=n+UF(o,a++),s+=FE(o,e,r,l,i);else if(o==="object")throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return s}function xS(t,e,r){if(t==null)return t;var n=[],i=0;return FE(t,n,"","",function(o){return e.call(r,o,i++)}),n}function I_e(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(r){(t._status===0||t._status===-1)&&(t._status=1,t._result=r)},function(r){(t._status===0||t._status===-1)&&(t._status=2,t._result=r)}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var Cl={current:null},TE={transition:null},N_e={ReactCurrentDispatcher:Cl,ReactCurrentBatchConfig:TE,ReactCurrentOwner:Wq};function yye(){throw Error("act(...) is not supported in production builds of React.")}Qn.Children={map:xS,forEach:function(t,e,r){xS(t,function(){e.apply(this,arguments)},r)},count:function(t){var e=0;return xS(t,function(){e++}),e},toArray:function(t){return xS(t,function(e){return e})||[]},only:function(t){if(!zq(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};Qn.Component=oC;Qn.Fragment=y_e;Qn.Profiler=C_e;Qn.PureComponent=Hq;Qn.StrictMode=B_e;Qn.Suspense=S_e;Qn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N_e;Qn.act=yye;Qn.cloneElement=function(t,e,r){if(t==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var n=pye({},t.props),i=t.key,o=t.ref,s=t._owner;if(e!=null){if(e.ref!==void 0&&(o=e.ref,s=Wq.current),e.key!==void 0&&(i=""+e.key),t.type&&t.type.defaultProps)var a=t.type.defaultProps;for(l in e)mye.call(e,l)&&!gye.hasOwnProperty(l)&&(n[l]=e[l]===void 0&&a!==void 0?a[l]:e[l])}var l=arguments.length-2;if(l===1)n.children=r;else if(1<l){a=Array(l);for(var c=0;c<l;c++)a[c]=arguments[c+2];n.children=a}return{$$typeof:O3,type:t.type,key:i,ref:o,props:n,_owner:s}};Qn.createContext=function(t){return t={$$typeof:w_e,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},t.Provider={$$typeof:b_e,_context:t},t.Consumer=t};Qn.createElement=vye;Qn.createFactory=function(t){var e=vye.bind(null,t);return e.type=t,e};Qn.createRef=function(){return{current:null}};Qn.forwardRef=function(t){return{$$typeof:x_e,render:t}};Qn.isValidElement=zq;Qn.lazy=function(t){return{$$typeof:D_e,_payload:{_status:-1,_result:t},_init:I_e}};Qn.memo=function(t,e){return{$$typeof:E_e,type:t,compare:e===void 0?null:e}};Qn.startTransition=function(t){var e=TE.transition;TE.transition={};try{t()}finally{TE.transition=e}};Qn.unstable_act=yye;Qn.useCallback=function(t,e){return Cl.current.useCallback(t,e)};Qn.useContext=function(t){return Cl.current.useContext(t)};Qn.useDebugValue=function(){};Qn.useDeferredValue=function(t){return Cl.current.useDeferredValue(t)};Qn.useEffect=function(t,e){return Cl.current.useEffect(t,e)};Qn.useId=function(){return Cl.current.useId()};Qn.useImperativeHandle=function(t,e,r){return Cl.current.useImperativeHandle(t,e,r)};Qn.useInsertionEffect=function(t,e){return Cl.current.useInsertionEffect(t,e)};Qn.useLayoutEffect=function(t,e){return Cl.current.useLayoutEffect(t,e)};Qn.useMemo=function(t,e){return Cl.current.useMemo(t,e)};Qn.useReducer=function(t,e,r){return Cl.current.useReducer(t,e,r)};Qn.useRef=function(t){return Cl.current.useRef(t)};Qn.useState=function(t){return Cl.current.useState(t)};Qn.useSyncExternalStore=function(t,e,r){return Cl.current.useSyncExternalStore(t,e,r)};Qn.useTransition=function(){return Cl.current.useTransition()};Qn.version="18.3.1";fye.exports=Qn;var E=fye.exports;const ve=Io(E),G5=g_e({__proto__:null,default:ve},[E]);/** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var F_e=E,T_e=Symbol.for("react.element"),L_e=Symbol.for("react.fragment"),R_e=Object.prototype.hasOwnProperty,M_e=F_e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,__e={key:!0,ref:!0,__self:!0,__source:!0};function Bye(t,e,r){var n,i={},o=null,s=null;r!==void 0&&(o=""+r),e.key!==void 0&&(o=""+e.key),e.ref!==void 0&&(s=e.ref);for(n in e)R_e.call(e,n)&&!__e.hasOwnProperty(n)&&(i[n]=e[n]);if(t&&t.defaultProps)for(n in e=t.defaultProps,e)i[n]===void 0&&(i[n]=e[n]);return{$$typeof:T_e,type:t,key:o,ref:s,props:i,_owner:M_e.current}}EP.Fragment=L_e;EP.jsx=Bye;EP.jsxs=Bye;uye.exports=EP;var C=uye.exports,dQ={},Cye={exports:{}},zc={},bye={exports:{}},wye={};/** * @license React * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */(function(t){function e(R,Q){var z=R.length;R.push(Q);e:for(;0<z;){var X=z-1>>>1,_=R[X];if(0<i(_,Q))R[X]=Q,R[z]=_,z=X;else break e}}function r(R){return R.length===0?null:R[0]}function n(R){if(R.length===0)return null;var Q=R[0],z=R.pop();if(z!==Q){R[0]=z;e:for(var X=0,_=R.length,G=_>>>1;X<G;){var W=2*(X+1)-1,J=R[W],ee=W+1,q=R[ee];if(0>i(J,z))ee<_&&0>i(q,J)?(R[X]=q,R[ee]=z,X=ee):(R[X]=J,R[W]=z,X=W);else if(ee<_&&0>i(q,z))R[X]=q,R[ee]=z,X=ee;else break e}}return Q}function i(R,Q){var z=R.sortIndex-Q.sortIndex;return z!==0?z:R.id-Q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;t.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();t.unstable_now=function(){return s.now()-a}}var l=[],c=[],u=1,f=null,d=3,p=!1,h=!1,A=!1,g=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(R){for(var Q=r(c);Q!==null;){if(Q.callback===null)n(c);else if(Q.startTime<=R)n(c),Q.sortIndex=Q.expirationTime,e(l,Q);else break;Q=r(c)}}function b(R){if(A=!1,y(R),!h)if(r(l)!==null)h=!0,V(B);else{var Q=r(c);Q!==null&&j(b,Q.startTime-R)}}function B(R,Q){h=!1,A&&(A=!1,m(x),x=-1),p=!0;var z=d;try{for(y(Q),f=r(l);f!==null&&(!(f.expirationTime>Q)||R&&!k());){var X=f.callback;if(typeof X=="function"){f.callback=null,d=f.priorityLevel;var _=X(f.expirationTime<=Q);Q=t.unstable_now(),typeof _=="function"?f.callback=_:f===r(l)&&n(l),y(Q)}else n(l);f=r(l)}if(f!==null)var G=!0;else{var W=r(c);W!==null&&j(b,W.startTime-Q),G=!1}return G}finally{f=null,d=z,p=!1}}var S=!1,w=null,x=-1,I=5,F=-1;function k(){return!(t.unstable_now()-F<I)}function O(){if(w!==null){var R=t.unstable_now();F=R;var Q=!0;try{Q=w(!0,R)}finally{Q?L():(S=!1,w=null)}}else S=!1}var L;if(typeof v=="function")L=function(){v(O)};else if(typeof MessageChannel<"u"){var M=new MessageChannel,H=M.port2;M.port1.onmessage=O,L=function(){H.postMessage(null)}}else L=function(){g(O,0)};function V(R){w=R,S||(S=!0,L())}function j(R,Q){x=g(function(){R(t.unstable_now())},Q)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(R){R.callback=null},t.unstable_continueExecution=function(){h||p||(h=!0,V(B))},t.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<R?Math.floor(1e3/R):5},t.unstable_getCurrentPriorityLevel=function(){return d},t.unstable_getFirstCallbackNode=function(){return r(l)},t.unstable_next=function(R){switch(d){case 1:case 2:case 3:var Q=3;break;default:Q=d}var z=d;d=Q;try{return R()}finally{d=z}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(R,Q){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var z=d;d=R;try{return Q()}finally{d=z}},t.unstable_scheduleCallback=function(R,Q,z){var X=t.unstable_now();switch(typeof z=="object"&&z!==null?(z=z.delay,z=typeof z=="number"&&0<z?X+z:X):z=X,R){case 1:var _=-1;break;case 2:_=250;break;case 5:_=1073741823;break;case 4:_=1e4;break;default:_=5e3}return _=z+_,R={id:u++,callback:Q,priorityLevel:R,startTime:z,expirationTime:_,sortIndex:-1},z>X?(R.sortIndex=z,e(c,R),r(l)===null&&R===r(c)&&(A?(m(x),x=-1):A=!0,j(b,z-X))):(R.sortIndex=_,e(l,R),h||p||(h=!0,V(B))),R},t.unstable_shouldYield=k,t.unstable_wrapCallback=function(R){var Q=d;return function(){var z=d;d=Q;try{return R.apply(this,arguments)}finally{d=z}}}})(wye);bye.exports=wye;var j_e=bye.exports;/** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var U_e=E,Hc=j_e;function Qt(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var xye=new Set,W5={};function rv(t,e){eB(t,e),eB(t+"Capture",e)}function eB(t,e){for(W5[t]=e,t=0;t<e.length;t++)xye.add(e[t])}var KA=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),pQ=Object.prototype.hasOwnProperty,Q_e=/^[: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]*$/,Cre={},bre={};function V_e(t){return pQ.call(bre,t)?!0:pQ.call(Cre,t)?!1:Q_e.test(t)?bre[t]=!0:(Cre[t]=!0,!1)}function $_e(t,e,r,n){if(r!==null&&r.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function H_e(t,e,r,n){if(e===null||typeof e>"u"||$_e(t,e,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function bl(t,e,r,n,i,o,s){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=t,this.type=e,this.sanitizeURL=o,this.removeEmptyString=s}var Ca={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){Ca[t]=new bl(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];Ca[e]=new bl(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){Ca[t]=new bl(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){Ca[t]=new bl(t,2,!1,t,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(t){Ca[t]=new bl(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){Ca[t]=new bl(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){Ca[t]=new bl(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){Ca[t]=new bl(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){Ca[t]=new bl(t,5,!1,t.toLowerCase(),null,!1,!1)});var Kq=/[\-:]([a-z])/g;function qq(t){return t[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(t){var e=t.replace(Kq,qq);Ca[e]=new bl(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(Kq,qq);Ca[e]=new bl(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(Kq,qq);Ca[e]=new bl(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){Ca[t]=new bl(t,1,!1,t.toLowerCase(),null,!1,!1)});Ca.xlinkHref=new bl("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){Ca[t]=new bl(t,1,!1,t.toLowerCase(),null,!0,!0)});function Xq(t,e,r,n){var i=Ca.hasOwnProperty(e)?Ca[e]:null;(i!==null?i.type!==0:n||!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&(H_e(e,r,i,n)&&(r=null),n||i===null?V_e(e)&&(r===null?t.removeAttribute(e):t.setAttribute(e,""+r)):i.mustUseProperty?t[i.propertyName]=r===null?i.type===3?!1:"":r:(e=i.attributeName,n=i.attributeNamespace,r===null?t.removeAttribute(e):(i=i.type,r=i===3||i===4&&r===!0?"":""+r,n?t.setAttributeNS(n,e,r):t.setAttribute(e,r))))}var yh=U_e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,SS=Symbol.for("react.element"),Xy=Symbol.for("react.portal"),Yy=Symbol.for("react.fragment"),Yq=Symbol.for("react.strict_mode"),AQ=Symbol.for("react.profiler"),Sye=Symbol.for("react.provider"),Eye=Symbol.for("react.context"),Jq=Symbol.for("react.forward_ref"),hQ=Symbol.for("react.suspense"),mQ=Symbol.for("react.suspense_list"),Zq=Symbol.for("react.memo"),l0=Symbol.for("react.lazy"),Dye=Symbol.for("react.offscreen"),wre=Symbol.iterator;function wb(t){return t===null||typeof t!="object"?null:(t=wre&&t[wre]||t["@@iterator"],typeof t=="function"?t:null)}var Oo=Object.assign,QF;function Dw(t){if(QF===void 0)try{throw Error()}catch(r){var e=r.stack.trim().match(/\n( *(at )?)/);QF=e&&e[1]||""}return` `+QF+t}var VF=!1;function $F(t,e){if(!t||VF)return"";VF=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(e)if(e=function(){throw Error()},Object.defineProperty(e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(e,[])}catch(c){var n=c}Reflect.construct(t,[],e)}else{try{e.call()}catch(c){n=c}t.call(e.prototype)}else{try{throw Error()}catch(c){n=c}t()}}catch(c){if(c&&n&&typeof c.stack=="string"){for(var i=c.stack.split(` `),o=n.stack.split(` `),s=i.length-1,a=o.length-1;1<=s&&0<=a&&i[s]!==o[a];)a--;for(;1<=s&&0<=a;s--,a--)if(i[s]!==o[a]){if(s!==1||a!==1)do if(s--,a--,0>a||i[s]!==o[a]){var l=` `+i[s].replace(" at new "," at ");return t.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",t.displayName)),l}while(1<=s&&0<=a);break}}}finally{VF=!1,Error.prepareStackTrace=r}return(t=t?t.displayName||t.name:"")?Dw(t):""}function G_e(t){switch(t.tag){case 5:return Dw(t.type);case 16:return Dw("Lazy");case 13:return Dw("Suspense");case 19:return Dw("SuspenseList");case 0:case 2:case 15:return t=$F(t.type,!1),t;case 11:return t=$F(t.type.render,!1),t;case 1:return t=$F(t.type,!0),t;default:return""}}function gQ(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Yy:return"Fragment";case Xy:return"Portal";case AQ:return"Profiler";case Yq:return"StrictMode";case hQ:return"Suspense";case mQ:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case Eye:return(t.displayName||"Context")+".Consumer";case Sye:return(t._context.displayName||"Context")+".Provider";case Jq:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Zq:return e=t.displayName||null,e!==null?e:gQ(t.type)||"Memo";case l0:e=t._payload,t=t._init;try{return gQ(t(e))}catch{}}return null}function W_e(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return gQ(e);case 8:return e===Yq?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function dm(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function kye(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function z_e(t){var e=kye(t)?"checked":"value",r=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),n=""+t[e];if(!t.hasOwnProperty(e)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,o=r.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(s){n=""+s,o.call(this,s)}}),Object.defineProperty(t,e,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(s){n=""+s},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function ES(t){t._valueTracker||(t._valueTracker=z_e(t))}function Oye(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var r=e.getValue(),n="";return t&&(n=kye(t)?t.checked?"true":"false":t.value),t=n,t!==r?(e.setValue(t),!0):!1}function t7(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function vQ(t,e){var r=e.checked;return Oo({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??t._wrapperState.initialChecked})}function xre(t,e){var r=e.defaultValue==null?"":e.defaultValue,n=e.checked!=null?e.checked:e.defaultChecked;r=dm(e.value!=null?e.value:r),t._wrapperState={initialChecked:n,initialValue:r,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function Pye(t,e){e=e.checked,e!=null&&Xq(t,"checked",e,!1)}function yQ(t,e){Pye(t,e);var r=dm(e.value),n=e.type;if(r!=null)n==="number"?(r===0&&t.value===""||t.value!=r)&&(t.value=""+r):t.value!==""+r&&(t.value=""+r);else if(n==="submit"||n==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?BQ(t,e.type,r):e.hasOwnProperty("defaultValue")&&BQ(t,e.type,dm(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function Sre(t,e,r){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var n=e.type;if(!(n!=="submit"&&n!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,r||e===t.value||(t.value=e),t.defaultValue=e}r=t.name,r!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,r!==""&&(t.name=r)}function BQ(t,e,r){(e!=="number"||t7(t.ownerDocument)!==t)&&(r==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+r&&(t.defaultValue=""+r))}var kw=Array.isArray;function b2(t,e,r,n){if(t=t.options,e){e={};for(var i=0;i<r.length;i++)e["$"+r[i]]=!0;for(r=0;r<t.length;r++)i=e.hasOwnProperty("$"+t[r].value),t[r].selected!==i&&(t[r].selected=i),i&&n&&(t[r].defaultSelected=!0)}else{for(r=""+dm(r),e=null,i=0;i<t.length;i++){if(t[i].value===r){t[i].selected=!0,n&&(t[i].defaultSelected=!0);return}e!==null||t[i].disabled||(e=t[i])}e!==null&&(e.selected=!0)}}function CQ(t,e){if(e.dangerouslySetInnerHTML!=null)throw Error(Qt(91));return Oo({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function Ere(t,e){var r=e.value;if(r==null){if(r=e.children,e=e.defaultValue,r!=null){if(e!=null)throw Error(Qt(92));if(kw(r)){if(1<r.length)throw Error(Qt(93));r=r[0]}e=r}e==null&&(e=""),r=e}t._wrapperState={initialValue:dm(r)}}function Iye(t,e){var r=dm(e.value),n=dm(e.defaultValue);r!=null&&(r=""+r,r!==t.value&&(t.value=r),e.defaultValue==null&&t.defaultValue!==r&&(t.defaultValue=r)),n!=null&&(t.defaultValue=""+n)}function Dre(t){var e=t.textContent;e===t._wrapperState.initialValue&&e!==""&&e!==null&&(t.value=e)}function Nye(t){switch(t){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 bQ(t,e){return t==null||t==="http://www.w3.org/1999/xhtml"?Nye(e):t==="http://www.w3.org/2000/svg"&&e==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var DS,Fye=function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(e,r,n,i){MSApp.execUnsafeLocalFunction(function(){return t(e,r,n,i)})}:t}(function(t,e){if(t.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in t)t.innerHTML=e;else{for(DS=DS||document.createElement("div"),DS.innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=DS.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function z5(t,e){if(e){var r=t.firstChild;if(r&&r===t.lastChild&&r.nodeType===3){r.nodeValue=e;return}}t.textContent=e}var t5={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},K_e=["Webkit","ms","Moz","O"];Object.keys(t5).forEach(function(t){K_e.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),t5[e]=t5[t]})});function Tye(t,e,r){return e==null||typeof e=="boolean"||e===""?"":r||typeof e!="number"||e===0||t5.hasOwnProperty(t)&&t5[t]?(""+e).trim():e+"px"}function Lye(t,e){t=t.style;for(var r in e)if(e.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=Tye(r,e[r],n);r==="float"&&(r="cssFloat"),n?t.setProperty(r,i):t[r]=i}}var q_e=Oo({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 wQ(t,e){if(e){if(q_e[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(Qt(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(Qt(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(Qt(61))}if(e.style!=null&&typeof e.style!="object")throw Error(Qt(62))}}function xQ(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var SQ=null;function eX(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var EQ=null,w2=null,x2=null;function kre(t){if(t=N3(t)){if(typeof EQ!="function")throw Error(Qt(280));var e=t.stateNode;e&&(e=IP(e),EQ(t.stateNode,t.type,e))}}function Rye(t){w2?x2?x2.push(t):x2=[t]:w2=t}function Mye(){if(w2){var t=w2,e=x2;if(x2=w2=null,kre(t),e)for(t=0;t<e.length;t++)kre(e[t])}}function _ye(t,e){return t(e)}function jye(){}var HF=!1;function Uye(t,e,r){if(HF)return t(e,r);HF=!0;try{return _ye(t,e,r)}finally{HF=!1,(w2!==null||x2!==null)&&(jye(),Mye())}}function K5(t,e){var r=t.stateNode;if(r===null)return null;var n=IP(r);if(n===null)return null;r=n[e];e:switch(e){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)||(t=t.type,n=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!n;break e;default:t=!1}if(t)return null;if(r&&typeof r!="function")throw Error(Qt(231,e,typeof r));return r}var DQ=!1;if(KA)try{var xb={};Object.defineProperty(xb,"passive",{get:function(){DQ=!0}}),window.addEventListener("test",xb,xb),window.removeEventListener("test",xb,xb)}catch{DQ=!1}function X_e(t,e,r,n,i,o,s,a,l){var c=Array.prototype.slice.call(arguments,3);try{e.apply(r,c)}catch(u){this.onError(u)}}var r5=!1,r7=null,n7=!1,kQ=null,Y_e={onError:function(t){r5=!0,r7=t}};function J_e(t,e,r,n,i,o,s,a,l){r5=!1,r7=null,X_e.apply(Y_e,arguments)}function Z_e(t,e,r,n,i,o,s,a,l){if(J_e.apply(this,arguments),r5){if(r5){var c=r7;r5=!1,r7=null}else throw Error(Qt(198));n7||(n7=!0,kQ=c)}}function nv(t){var e=t,r=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,e.flags&4098&&(r=e.return),t=e.return;while(t)}return e.tag===3?r:null}function Qye(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function Ore(t){if(nv(t)!==t)throw Error(Qt(188))}function eje(t){var e=t.alternate;if(!e){if(e=nv(t),e===null)throw Error(Qt(188));return e!==t?null:t}for(var r=t,n=e;;){var i=r.return;if(i===null)break;var o=i.alternate;if(o===null){if(n=i.return,n!==null){r=n;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===r)return Ore(i),t;if(o===n)return Ore(i),e;o=o.sibling}throw Error(Qt(188))}if(r.return!==n.return)r=i,n=o;else{for(var s=!1,a=i.child;a;){if(a===r){s=!0,r=i,n=o;break}if(a===n){s=!0,n=i,r=o;break}a=a.sibling}if(!s){for(a=o.child;a;){if(a===r){s=!0,r=o,n=i;break}if(a===n){s=!0,n=o,r=i;break}a=a.sibling}if(!s)throw Error(Qt(189))}}if(r.alternate!==n)throw Error(Qt(190))}if(r.tag!==3)throw Error(Qt(188));return r.stateNode.current===r?t:e}function Vye(t){return t=eje(t),t!==null?$ye(t):null}function $ye(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var e=$ye(t);if(e!==null)return e;t=t.sibling}return null}var Hye=Hc.unstable_scheduleCallback,Pre=Hc.unstable_cancelCallback,tje=Hc.unstable_shouldYield,rje=Hc.unstable_requestPaint,ts=Hc.unstable_now,nje=Hc.unstable_getCurrentPriorityLevel,tX=Hc.unstable_ImmediatePriority,Gye=Hc.unstable_UserBlockingPriority,i7=Hc.unstable_NormalPriority,ije=Hc.unstable_LowPriority,Wye=Hc.unstable_IdlePriority,DP=null,dp=null;function oje(t){if(dp&&typeof dp.onCommitFiberRoot=="function")try{dp.onCommitFiberRoot(DP,t,void 0,(t.current.flags&128)===128)}catch{}}var Tf=Math.clz32?Math.clz32:lje,sje=Math.log,aje=Math.LN2;function lje(t){return t>>>=0,t===0?32:31-(sje(t)/aje|0)|0}var kS=64,OS=4194304;function Ow(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function o7(t,e){var r=t.pendingLanes;if(r===0)return 0;var n=0,i=t.suspendedLanes,o=t.pingedLanes,s=r&268435455;if(s!==0){var a=s&~i;a!==0?n=Ow(a):(o&=s,o!==0&&(n=Ow(o)))}else s=r&~i,s!==0?n=Ow(s):o!==0&&(n=Ow(o));if(n===0)return 0;if(e!==0&&e!==n&&!(e&i)&&(i=n&-n,o=e&-e,i>=o||i===16&&(o&4194240)!==0))return e;if(n&4&&(n|=r&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=n;0<e;)r=31-Tf(e),i=1<<r,n|=t[r],e&=~i;return n}function cje(t,e){switch(t){case 1:case 2:case 4:return e+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function uje(t,e){for(var r=t.suspendedLanes,n=t.pingedLanes,i=t.expirationTimes,o=t.pendingLanes;0<o;){var s=31-Tf(o),a=1<<s,l=i[s];l===-1?(!(a&r)||a&n)&&(i[s]=cje(a,e)):l<=e&&(t.expiredLanes|=a),o&=~a}}function OQ(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function zye(){var t=kS;return kS<<=1,!(kS&4194240)&&(kS=64),t}function GF(t){for(var e=[],r=0;31>r;r++)e.push(t);return e}function P3(t,e,r){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-Tf(e),t[e]=r}function fje(t,e){var r=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var n=t.eventTimes;for(t=t.expirationTimes;0<r;){var i=31-Tf(r),o=1<<i;e[i]=0,n[i]=-1,t[i]=-1,r&=~o}}function rX(t,e){var r=t.entangledLanes|=e;for(t=t.entanglements;r;){var n=31-Tf(r),i=1<<n;i&e|t[n]&e&&(t[n]|=e),r&=~i}}var Di=0;function Kye(t){return t&=-t,1<t?4<t?t&268435455?16:536870912:4:1}var qye,nX,Xye,Yye,Jye,PQ=!1,PS=[],$0=null,H0=null,G0=null,q5=new Map,X5=new Map,g0=[],dje="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 Ire(t,e){switch(t){case"focusin":case"focusout":$0=null;break;case"dragenter":case"dragleave":H0=null;break;case"mouseover":case"mouseout":G0=null;break;case"pointerover":case"pointerout":q5.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":X5.delete(e.pointerId)}}function Sb(t,e,r,n,i,o){return t===null||t.nativeEvent!==o?(t={blockedOn:e,domEventName:r,eventSystemFlags:n,nativeEvent:o,targetContainers:[i]},e!==null&&(e=N3(e),e!==null&&nX(e)),t):(t.eventSystemFlags|=n,e=t.targetContainers,i!==null&&e.indexOf(i)===-1&&e.push(i),t)}function pje(t,e,r,n,i){switch(e){case"focusin":return $0=Sb($0,t,e,r,n,i),!0;case"dragenter":return H0=Sb(H0,t,e,r,n,i),!0;case"mouseover":return G0=Sb(G0,t,e,r,n,i),!0;case"pointerover":var o=i.pointerId;return q5.set(o,Sb(q5.get(o)||null,t,e,r,n,i)),!0;case"gotpointercapture":return o=i.pointerId,X5.set(o,Sb(X5.get(o)||null,t,e,r,n,i)),!0}return!1}function Zye(t){var e=Wg(t.target);if(e!==null){var r=nv(e);if(r!==null){if(e=r.tag,e===13){if(e=Qye(r),e!==null){t.blockedOn=e,Jye(t.priority,function(){Xye(r)});return}}else if(e===3&&r.stateNode.current.memoizedState.isDehydrated){t.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}t.blockedOn=null}function LE(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var r=IQ(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(r===null){r=t.nativeEvent;var n=new r.constructor(r.type,r);SQ=n,r.target.dispatchEvent(n),SQ=null}else return e=N3(r),e!==null&&nX(e),t.blockedOn=r,!1;e.shift()}return!0}function Nre(t,e,r){LE(t)&&r.delete(e)}function Aje(){PQ=!1,$0!==null&&LE($0)&&($0=null),H0!==null&&LE(H0)&&(H0=null),G0!==null&&LE(G0)&&(G0=null),q5.forEach(Nre),X5.forEach(Nre)}function Eb(t,e){t.blockedOn===e&&(t.blockedOn=null,PQ||(PQ=!0,Hc.unstable_scheduleCallback(Hc.unstable_NormalPriority,Aje)))}function Y5(t){function e(i){return Eb(i,t)}if(0<PS.length){Eb(PS[0],t);for(var r=1;r<PS.length;r++){var n=PS[r];n.blockedOn===t&&(n.blockedOn=null)}}for($0!==null&&Eb($0,t),H0!==null&&Eb(H0,t),G0!==null&&Eb(G0,t),q5.forEach(e),X5.forEach(e),r=0;r<g0.length;r++)n=g0[r],n.blockedOn===t&&(n.blockedOn=null);for(;0<g0.length&&(r=g0[0],r.blockedOn===null);)Zye(r),r.blockedOn===null&&g0.shift()}var S2=yh.ReactCurrentBatchConfig,s7=!0;function hje(t,e,r,n){var i=Di,o=S2.transition;S2.transition=null;try{Di=1,iX(t,e,r,n)}finally{Di=i,S2.transition=o}}function mje(t,e,r,n){var i=Di,o=S2.transition;S2.transition=null;try{Di=4,iX(t,e,r,n)}finally{Di=i,S2.transition=o}}function iX(t,e,r,n){if(s7){var i=IQ(t,e,r,n);if(i===null)tT(t,e,n,a7,r),Ire(t,n);else if(pje(i,t,e,r,n))n.stopPropagation();else if(Ire(t,n),e&4&&-1<dje.indexOf(t)){for(;i!==null;){var o=N3(i);if(o!==null&&qye(o),o=IQ(t,e,r,n),o===null&&tT(t,e,n,a7,r),o===i)break;i=o}i!==null&&n.stopPropagation()}else tT(t,e,n,null,r)}}var a7=null;function IQ(t,e,r,n){if(a7=null,t=eX(n),t=Wg(t),t!==null)if(e=nv(t),e===null)t=null;else if(r=e.tag,r===13){if(t=Qye(e),t!==null)return t;t=null}else if(r===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null);return a7=t,null}function e2e(t){switch(t){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(nje()){case tX:return 1;case Gye:return 4;case i7:case ije:return 16;case Wye:return 536870912;default:return 16}default:return 16}}var S0=null,oX=null,RE=null;function t2e(){if(RE)return RE;var t,e=oX,r=e.length,n,i="value"in S0?S0.value:S0.textContent,o=i.length;for(t=0;t<r&&e[t]===i[t];t++);var s=r-t;for(n=1;n<=s&&e[r-n]===i[o-n];n++);return RE=i.slice(t,1<n?1-n:void 0)}function ME(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function IS(){return!0}function Fre(){return!1}function Kc(t){function e(r,n,i,o,s){this._reactName=r,this._targetInst=i,this.type=n,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var a in t)t.hasOwnProperty(a)&&(r=t[a],this[a]=r?r(o):o[a]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?IS:Fre,this.isPropagationStopped=Fre,this}return Oo(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=IS)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=IS)},persist:function(){},isPersistent:IS}),e}var sC={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},sX=Kc(sC),I3=Oo({},sC,{view:0,detail:0}),gje=Kc(I3),WF,zF,Db,kP=Oo({},I3,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:aX,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Db&&(Db&&t.type==="mousemove"?(WF=t.screenX-Db.screenX,zF=t.screenY-Db.screenY):zF=WF=0,Db=t),WF)},movementY:function(t){return"movementY"in t?t.movementY:zF}}),Tre=Kc(kP),vje=Oo({},kP,{dataTransfer:0}),yje=Kc(vje),Bje=Oo({},I3,{relatedTarget:0}),KF=Kc(Bje),Cje=Oo({},sC,{animationName:0,elapsedTime:0,pseudoElement:0}),bje=Kc(Cje),wje=Oo({},sC,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),xje=Kc(wje),Sje=Oo({},sC,{data:0}),Lre=Kc(Sje),Eje={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Dje={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"},kje={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Oje(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=kje[t])?!!e[t]:!1}function aX(){return Oje}var Pje=Oo({},I3,{key:function(t){if(t.key){var e=Eje[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=ME(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Dje[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:aX,charCode:function(t){return t.type==="keypress"?ME(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?ME(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Ije=Kc(Pje),Nje=Oo({},kP,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Rre=Kc(Nje),Fje=Oo({},I3,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:aX}),Tje=Kc(Fje),Lje=Oo({},sC,{propertyName:0,elapsedTime:0,pseudoElement:0}),Rje=Kc(Lje),Mje=Oo({},kP,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),_je=Kc(Mje),jje=[9,13,27,32],lX=KA&&"CompositionEvent"in window,n5=null;KA&&"documentMode"in document&&(n5=document.documentMode);var Uje=KA&&"TextEvent"in window&&!n5,r2e=KA&&(!lX||n5&&8<n5&&11>=n5),Mre=String.fromCharCode(32),_re=!1;function n2e(t,e){switch(t){case"keyup":return jje.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function i2e(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Jy=!1;function Qje(t,e){switch(t){case"compositionend":return i2e(e);case"keypress":return e.which!==32?null:(_re=!0,Mre);case"textInput":return t=e.data,t===Mre&&_re?null:t;default:return null}}function Vje(t,e){if(Jy)return t==="compositionend"||!lX&&n2e(t,e)?(t=t2e(),RE=oX=S0=null,Jy=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return r2e&&e.locale!=="ko"?null:e.data;default:return null}}var $je={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 jre(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!$je[t.type]:e==="textarea"}function o2e(t,e,r,n){Rye(n),e=l7(e,"onChange"),0<e.length&&(r=new sX("onChange","change",null,r,n),t.push({event:r,listeners:e}))}var i5=null,J5=null;function Hje(t){m2e(t,0)}function OP(t){var e=t2(t);if(Oye(e))return t}function Gje(t,e){if(t==="change")return e}var s2e=!1;if(KA){var qF;if(KA){var XF="oninput"in document;if(!XF){var Ure=document.createElement("div");Ure.setAttribute("oninput","return;"),XF=typeof Ure.oninput=="function"}qF=XF}else qF=!1;s2e=qF&&(!document.documentMode||9<document.documentMode)}function Qre(){i5&&(i5.detachEvent("onpropertychange",a2e),J5=i5=null)}function a2e(t){if(t.propertyName==="value"&&OP(J5)){var e=[];o2e(e,J5,t,eX(t)),Uye(Hje,e)}}function Wje(t,e,r){t==="focusin"?(Qre(),i5=e,J5=r,i5.attachEvent("onpropertychange",a2e)):t==="focusout"&&Qre()}function zje(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return OP(J5)}function Kje(t,e){if(t==="click")return OP(e)}function qje(t,e){if(t==="input"||t==="change")return OP(e)}function Xje(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Mf=typeof Object.is=="function"?Object.is:Xje;function Z5(t,e){if(Mf(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var i=r[n];if(!pQ.call(e,i)||!Mf(t[i],e[i]))return!1}return!0}function Vre(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function $re(t,e){var r=Vre(t);t=0;for(var n;r;){if(r.nodeType===3){if(n=t+r.textContent.length,t<=e&&n>=e)return{node:r,offset:e-t};t=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Vre(r)}}function l2e(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?l2e(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function c2e(){for(var t=window,e=t7();e instanceof t.HTMLIFrameElement;){try{var r=typeof e.contentWindow.location.href=="string"}catch{r=!1}if(r)t=e.contentWindow;else break;e=t7(t.document)}return e}function cX(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function Yje(t){var e=c2e(),r=t.focusedElem,n=t.selectionRange;if(e!==r&&r&&r.ownerDocument&&l2e(r.ownerDocument.documentElement,r)){if(n!==null&&cX(r)){if(e=n.start,t=n.end,t===void 0&&(t=e),"selectionStart"in r)r.selectionStart=e,r.selectionEnd=Math.min(t,r.value.length);else if(t=(e=r.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var i=r.textContent.length,o=Math.min(n.start,i);n=n.end===void 0?o:Math.min(n.end,i),!t.extend&&o>n&&(i=n,n=o,o=i),i=$re(r,o);var s=$re(r,n);i&&s&&(t.rangeCount!==1||t.anchorNode!==i.node||t.anchorOffset!==i.offset||t.focusNode!==s.node||t.focusOffset!==s.offset)&&(e=e.createRange(),e.setStart(i.node,i.offset),t.removeAllRanges(),o>n?(t.addRange(e),t.extend(s.node,s.offset)):(e.setEnd(s.node,s.offset),t.addRange(e)))}}for(e=[],t=r;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<e.length;r++)t=e[r],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var Jje=KA&&"documentMode"in document&&11>=document.documentMode,Zy=null,NQ=null,o5=null,FQ=!1;function Hre(t,e,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;FQ||Zy==null||Zy!==t7(n)||(n=Zy,"selectionStart"in n&&cX(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}),o5&&Z5(o5,n)||(o5=n,n=l7(NQ,"onSelect"),0<n.length&&(e=new sX("onSelect","select",null,e,r),t.push({event:e,listeners:n}),e.target=Zy)))}function NS(t,e){var r={};return r[t.toLowerCase()]=e.toLowerCase(),r["Webkit"+t]="webkit"+e,r["Moz"+t]="moz"+e,r}var e2={animationend:NS("Animation","AnimationEnd"),animationiteration:NS("Animation","AnimationIteration"),animationstart:NS("Animation","AnimationStart"),transitionend:NS("Transition","TransitionEnd")},YF={},u2e={};KA&&(u2e=document.createElement("div").style,"AnimationEvent"in window||(delete e2.animationend.animation,delete e2.animationiteration.animation,delete e2.animationstart.animation),"TransitionEvent"in window||delete e2.transitionend.transition);function PP(t){if(YF[t])return YF[t];if(!e2[t])return t;var e=e2[t],r;for(r in e)if(e.hasOwnProperty(r)&&r in u2e)return YF[t]=e[r];return t}var f2e=PP("animationend"),d2e=PP("animationiteration"),p2e=PP("animationstart"),A2e=PP("transitionend"),h2e=new Map,Gre="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Lm(t,e){h2e.set(t,e),rv(e,[t])}for(var JF=0;JF<Gre.length;JF++){var ZF=Gre[JF],Zje=ZF.toLowerCase(),eUe=ZF[0].toUpperCase()+ZF.slice(1);Lm(Zje,"on"+eUe)}Lm(f2e,"onAnimationEnd");Lm(d2e,"onAnimationIteration");Lm(p2e,"onAnimationStart");Lm("dblclick","onDoubleClick");Lm("focusin","onFocus");Lm("focusout","onBlur");Lm(A2e,"onTransitionEnd");eB("onMouseEnter",["mouseout","mouseover"]);eB("onMouseLeave",["mouseout","mouseover"]);eB("onPointerEnter",["pointerout","pointerover"]);eB("onPointerLeave",["pointerout","pointerover"]);rv("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));rv("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));rv("onBeforeInput",["compositionend","keypress","textInput","paste"]);rv("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));rv("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));rv("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Pw="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),tUe=new Set("cancel close invalid load scroll toggle".split(" ").concat(Pw));function Wre(t,e,r){var n=t.type||"unknown-event";t.currentTarget=r,Z_e(n,e,void 0,t),t.currentTarget=null}function m2e(t,e){e=(e&4)!==0;for(var r=0;r<t.length;r++){var n=t[r],i=n.event;n=n.listeners;e:{var o=void 0;if(e)for(var s=n.length-1;0<=s;s--){var a=n[s],l=a.instance,c=a.currentTarget;if(a=a.listener,l!==o&&i.isPropagationStopped())break e;Wre(i,a,c),o=l}else for(s=0;s<n.length;s++){if(a=n[s],l=a.instance,c=a.currentTarget,a=a.listener,l!==o&&i.isPropagationStopped())break e;Wre(i,a,c),o=l}}}if(n7)throw t=kQ,n7=!1,kQ=null,t}function ro(t,e){var r=e[_Q];r===void 0&&(r=e[_Q]=new Set);var n=t+"__bubble";r.has(n)||(g2e(e,t,2,!1),r.add(n))}function eT(t,e,r){var n=0;e&&(n|=4),g2e(r,t,n,e)}var FS="_reactListening"+Math.random().toString(36).slice(2);function e4(t){if(!t[FS]){t[FS]=!0,xye.forEach(function(r){r!=="selectionchange"&&(tUe.has(r)||eT(r,!1,t),eT(r,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[FS]||(e[FS]=!0,eT("selectionchange",!1,e))}}function g2e(t,e,r,n){switch(e2e(e)){case 1:var i=hje;break;case 4:i=mje;break;default:i=iX}r=i.bind(null,e,r,t),i=void 0,!DQ||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(i=!0),n?i!==void 0?t.addEventListener(e,r,{capture:!0,passive:i}):t.addEventListener(e,r,!0):i!==void 0?t.addEventListener(e,r,{passive:i}):t.addEventListener(e,r,!1)}function tT(t,e,r,n,i){var o=n;if(!(e&1)&&!(e&2)&&n!==null)e:for(;;){if(n===null)return;var s=n.tag;if(s===3||s===4){var a=n.stateNode.containerInfo;if(a===i||a.nodeType===8&&a.parentNode===i)break;if(s===4)for(s=n.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;s=s.return}for(;a!==null;){if(s=Wg(a),s===null)return;if(l=s.tag,l===5||l===6){n=o=s;continue e}a=a.parentNode}}n=n.return}Uye(function(){var c=o,u=eX(r),f=[];e:{var d=h2e.get(t);if(d!==void 0){var p=sX,h=t;switch(t){case"keypress":if(ME(r)===0)break e;case"keydown":case"keyup":p=Ije;break;case"focusin":h="focus",p=KF;break;case"focusout":h="blur",p=KF;break;case"beforeblur":case"afterblur":p=KF;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":p=Tre;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=yje;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=Tje;break;case f2e:case d2e:case p2e:p=bje;break;case A2e:p=Rje;break;case"scroll":p=gje;break;case"wheel":p=_je;break;case"copy":case"cut":case"paste":p=xje;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=Rre}var A=(e&4)!==0,g=!A&&t==="scroll",m=A?d!==null?d+"Capture":null:d;A=[];for(var v=c,y;v!==null;){y=v;var b=y.stateNode;if(y.tag===5&&b!==null&&(y=b,m!==null&&(b=K5(v,m),b!=null&&A.push(t4(v,b,y)))),g)break;v=v.return}0<A.length&&(d=new p(d,h,null,r,u),f.push({event:d,listeners:A}))}}if(!(e&7)){e:{if(d=t==="mouseover"||t==="pointerover",p=t==="mouseout"||t==="pointerout",d&&r!==SQ&&(h=r.relatedTarget||r.fromElement)&&(Wg(h)||h[qA]))break e;if((p||d)&&(d=u.window===u?u:(d=u.ownerDocument)?d.defaultView||d.parentWindow:window,p?(h=r.relatedTarget||r.toElement,p=c,h=h?Wg(h):null,h!==null&&(g=nv(h),h!==g||h.tag!==5&&h.tag!==6)&&(h=null)):(p=null,h=c),p!==h)){if(A=Tre,b="onMouseLeave",m="onMouseEnter",v="mouse",(t==="pointerout"||t==="pointerover")&&(A=Rre,b="onPointerLeave",m="onPointerEnter",v="pointer"),g=p==null?d:t2(p),y=h==null?d:t2(h),d=new A(b,v+"leave",p,r,u),d.target=g,d.relatedTarget=y,b=null,Wg(u)===c&&(A=new A(m,v+"enter",h,r,u),A.target=y,A.relatedTarget=g,b=A),g=b,p&&h)t:{for(A=p,m=h,v=0,y=A;y;y=Jv(y))v++;for(y=0,b=m;b;b=Jv(b))y++;for(;0<v-y;)A=Jv(A),v--;for(;0<y-v;)m=Jv(m),y--;for(;v--;){if(A===m||m!==null&&A===m.alternate)break t;A=Jv(A),m=Jv(m)}A=null}else A=null;p!==null&&zre(f,d,p,A,!1),h!==null&&g!==null&&zre(f,g,h,A,!0)}}e:{if(d=c?t2(c):window,p=d.nodeName&&d.nodeName.toLowerCase(),p==="select"||p==="input"&&d.type==="file")var B=Gje;else if(jre(d))if(s2e)B=qje;else{B=zje;var S=Wje}else(p=d.nodeName)&&p.toLowerCase()==="input"&&(d.type==="checkbox"||d.type==="radio")&&(B=Kje);if(B&&(B=B(t,c))){o2e(f,B,r,u);break e}S&&S(t,d,c),t==="focusout"&&(S=d._wrapperState)&&S.controlled&&d.type==="number"&&BQ(d,"number",d.value)}switch(S=c?t2(c):window,t){case"focusin":(jre(S)||S.contentEditable==="true")&&(Zy=S,NQ=c,o5=null);break;case"focusout":o5=NQ=Zy=null;break;case"mousedown":FQ=!0;break;case"contextmenu":case"mouseup":case"dragend":FQ=!1,Hre(f,r,u);break;case"selectionchange":if(Jje)break;case"keydown":case"keyup":Hre(f,r,u)}var w;if(lX)e:{switch(t){case"compositionstart":var x="onCompositionStart";break e;case"compositionend":x="onCompositionEnd";break e;case"compositionupdate":x="onCompositionUpdate";break e}x=void 0}else Jy?n2e(t,r)&&(x="onCompositionEnd"):t==="keydown"&&r.keyCode===229&&(x="onCompositionStart");x&&(r2e&&r.locale!=="ko"&&(Jy||x!=="onCompositionStart"?x==="onCompositionEnd"&&Jy&&(w=t2e()):(S0=u,oX="value"in S0?S0.value:S0.textContent,Jy=!0)),S=l7(c,x),0<S.length&&(x=new Lre(x,t,null,r,u),f.push({event:x,listeners:S}),w?x.data=w:(w=i2e(r),w!==null&&(x.data=w)))),(w=Uje?Qje(t,r):Vje(t,r))&&(c=l7(c,"onBeforeInput"),0<c.length&&(u=new Lre("onBeforeInput","beforeinput",null,r,u),f.push({event:u,listeners:c}),u.data=w))}m2e(f,e)})}function t4(t,e,r){return{instance:t,listener:e,currentTarget:r}}function l7(t,e){for(var r=e+"Capture",n=[];t!==null;){var i=t,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=K5(t,r),o!=null&&n.unshift(t4(t,o,i)),o=K5(t,e),o!=null&&n.push(t4(t,o,i))),t=t.return}return n}function Jv(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function zre(t,e,r,n,i){for(var o=e._reactName,s=[];r!==null&&r!==n;){var a=r,l=a.alternate,c=a.stateNode;if(l!==null&&l===n)break;a.tag===5&&c!==null&&(a=c,i?(l=K5(r,o),l!=null&&s.unshift(t4(r,l,a))):i||(l=K5(r,o),l!=null&&s.push(t4(r,l,a)))),r=r.return}s.length!==0&&t.push({event:e,listeners:s})}var rUe=/\r\n?/g,nUe=/\u0000|\uFFFD/g;function Kre(t){return(typeof t=="string"?t:""+t).replace(rUe,` `).replace(nUe,"")}function TS(t,e,r){if(e=Kre(e),Kre(t)!==e&&r)throw Error(Qt(425))}function c7(){}var TQ=null,LQ=null;function RQ(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var MQ=typeof setTimeout=="function"?setTimeout:void 0,iUe=typeof clearTimeout=="function"?clearTimeout:void 0,qre=typeof Promise=="function"?Promise:void 0,oUe=typeof queueMicrotask=="function"?queueMicrotask:typeof qre<"u"?function(t){return qre.resolve(null).then(t).catch(sUe)}:MQ;function sUe(t){setTimeout(function(){throw t})}function rT(t,e){var r=e,n=0;do{var i=r.nextSibling;if(t.removeChild(r),i&&i.nodeType===8)if(r=i.data,r==="/$"){if(n===0){t.removeChild(i),Y5(e);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=i}while(r);Y5(e)}function W0(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?")break;if(e==="/$")return null}}return t}function Xre(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var r=t.data;if(r==="$"||r==="$!"||r==="$?"){if(e===0)return t;e--}else r==="/$"&&e++}t=t.previousSibling}return null}var aC=Math.random().toString(36).slice(2),zd="__reactFiber$"+aC,r4="__reactProps$"+aC,qA="__reactContainer$"+aC,_Q="__reactEvents$"+aC,aUe="__reactListeners$"+aC,lUe="__reactHandles$"+aC;function Wg(t){var e=t[zd];if(e)return e;for(var r=t.parentNode;r;){if(e=r[qA]||r[zd]){if(r=e.alternate,e.child!==null||r!==null&&r.child!==null)for(t=Xre(t);t!==null;){if(r=t[zd])return r;t=Xre(t)}return e}t=r,r=t.parentNode}return null}function N3(t){return t=t[zd]||t[qA],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function t2(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(Qt(33))}function IP(t){return t[r4]||null}var jQ=[],r2=-1;function Rm(t){return{current:t}}function lo(t){0>r2||(t.current=jQ[r2],jQ[r2]=null,r2--)}function Ji(t,e){r2++,jQ[r2]=t.current,t.current=e}var pm={},Xa=Rm(pm),Zl=Rm(!1),I1=pm;function tB(t,e){var r=t.type.contextTypes;if(!r)return pm;var n=t.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===e)return n.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in r)i[o]=e[o];return n&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=i),i}function ec(t){return t=t.childContextTypes,t!=null}function u7(){lo(Zl),lo(Xa)}function Yre(t,e,r){if(Xa.current!==pm)throw Error(Qt(168));Ji(Xa,e),Ji(Zl,r)}function v2e(t,e,r){var n=t.stateNode;if(e=e.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in e))throw Error(Qt(108,W_e(t)||"Unknown",i));return Oo({},r,n)}function f7(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||pm,I1=Xa.current,Ji(Xa,t),Ji(Zl,Zl.current),!0}function Jre(t,e,r){var n=t.stateNode;if(!n)throw Error(Qt(169));r?(t=v2e(t,e,I1),n.__reactInternalMemoizedMergedChildContext=t,lo(Zl),lo(Xa),Ji(Xa,t)):lo(Zl),Ji(Zl,r)}var gA=null,NP=!1,nT=!1;function y2e(t){gA===null?gA=[t]:gA.push(t)}function cUe(t){NP=!0,y2e(t)}function Mm(){if(!nT&&gA!==null){nT=!0;var t=0,e=Di;try{var r=gA;for(Di=1;t<r.length;t++){var n=r[t];do n=n(!0);while(n!==null)}gA=null,NP=!1}catch(i){throw gA!==null&&(gA=gA.slice(t+1)),Hye(tX,Mm),i}finally{Di=e,nT=!1}}return null}var n2=[],i2=0,d7=null,p7=0,gu=[],vu=0,N1=null,xA=1,SA="";function Ig(t,e){n2[i2++]=p7,n2[i2++]=d7,d7=t,p7=e}function B2e(t,e,r){gu[vu++]=xA,gu[vu++]=SA,gu[vu++]=N1,N1=t;var n=xA;t=SA;var i=32-Tf(n)-1;n&=~(1<<i),r+=1;var o=32-Tf(e)+i;if(30<o){var s=i-i%5;o=(n&(1<<s)-1).toString(32),n>>=s,i-=s,xA=1<<32-Tf(e)+i|r<<i|n,SA=o+t}else xA=1<<o|r<<i|n,SA=t}function uX(t){t.return!==null&&(Ig(t,1),B2e(t,1,0))}function fX(t){for(;t===d7;)d7=n2[--i2],n2[i2]=null,p7=n2[--i2],n2[i2]=null;for(;t===N1;)N1=gu[--vu],gu[vu]=null,SA=gu[--vu],gu[vu]=null,xA=gu[--vu],gu[vu]=null}var Mc=null,Pc=null,Co=!1,wf=null;function C2e(t,e){var r=xu(5,null,null,0);r.elementType="DELETED",r.stateNode=e,r.return=t,e=t.deletions,e===null?(t.deletions=[r],t.flags|=16):e.push(r)}function Zre(t,e){switch(t.tag){case 5:var r=t.type;return e=e.nodeType!==1||r.toLowerCase()!==e.nodeName.toLowerCase()?null:e,e!==null?(t.stateNode=e,Mc=t,Pc=W0(e.firstChild),!0):!1;case 6:return e=t.pendingProps===""||e.nodeType!==3?null:e,e!==null?(t.stateNode=e,Mc=t,Pc=null,!0):!1;case 13:return e=e.nodeType!==8?null:e,e!==null?(r=N1!==null?{id:xA,overflow:SA}:null,t.memoizedState={dehydrated:e,treeContext:r,retryLane:1073741824},r=xu(18,null,null,0),r.stateNode=e,r.return=t,t.child=r,Mc=t,Pc=null,!0):!1;default:return!1}}function UQ(t){return(t.mode&1)!==0&&(t.flags&128)===0}function QQ(t){if(Co){var e=Pc;if(e){var r=e;if(!Zre(t,e)){if(UQ(t))throw Error(Qt(418));e=W0(r.nextSibling);var n=Mc;e&&Zre(t,e)?C2e(n,r):(t.flags=t.flags&-4097|2,Co=!1,Mc=t)}}else{if(UQ(t))throw Error(Qt(418));t.flags=t.flags&-4097|2,Co=!1,Mc=t}}}function ene(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;Mc=t}function LS(t){if(t!==Mc)return!1;if(!Co)return ene(t),Co=!0,!1;var e;if((e=t.tag!==3)&&!(e=t.tag!==5)&&(e=t.type,e=e!=="head"&&e!=="body"&&!RQ(t.type,t.memoizedProps)),e&&(e=Pc)){if(UQ(t))throw b2e(),Error(Qt(418));for(;e;)C2e(t,e),e=W0(e.nextSibling)}if(ene(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(Qt(317));e:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8){var r=t.data;if(r==="/$"){if(e===0){Pc=W0(t.nextSibling);break e}e--}else r!=="$"&&r!=="$!"&&r!=="$?"||e++}t=t.nextSibling}Pc=null}}else Pc=Mc?W0(t.stateNode.nextSibling):null;return!0}function b2e(){for(var t=Pc;t;)t=W0(t.nextSibling)}function rB(){Pc=Mc=null,Co=!1}function dX(t){wf===null?wf=[t]:wf.push(t)}var uUe=yh.ReactCurrentBatchConfig;function kb(t,e,r){if(t=r.ref,t!==null&&typeof t!="function"&&typeof t!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(Qt(309));var n=r.stateNode}if(!n)throw Error(Qt(147,t));var i=n,o=""+t;return e!==null&&e.ref!==null&&typeof e.ref=="function"&&e.ref._stringRef===o?e.ref:(e=function(s){var a=i.refs;s===null?delete a[o]:a[o]=s},e._stringRef=o,e)}if(typeof t!="string")throw Error(Qt(284));if(!r._owner)throw Error(Qt(290,t))}return t}function RS(t,e){throw t=Object.prototype.toString.call(e),Error(Qt(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t))}function tne(t){var e=t._init;return e(t._payload)}function w2e(t){function e(m,v){if(t){var y=m.deletions;y===null?(m.deletions=[v],m.flags|=16):y.push(v)}}function r(m,v){if(!t)return null;for(;v!==null;)e(m,v),v=v.sibling;return null}function n(m,v){for(m=new Map;v!==null;)v.key!==null?m.set(v.key,v):m.set(v.index,v),v=v.sibling;return m}function i(m,v){return m=X0(m,v),m.index=0,m.sibling=null,m}function o(m,v,y){return m.index=y,t?(y=m.alternate,y!==null?(y=y.index,y<v?(m.flags|=2,v):y):(m.flags|=2,v)):(m.flags|=1048576,v)}function s(m){return t&&m.alternate===null&&(m.flags|=2),m}function a(m,v,y,b){return v===null||v.tag!==6?(v=uT(y,m.mode,b),v.return=m,v):(v=i(v,y),v.return=m,v)}function l(m,v,y,b){var B=y.type;return B===Yy?u(m,v,y.props.children,b,y.key):v!==null&&(v.elementType===B||typeof B=="object"&&B!==null&&B.$$typeof===l0&&tne(B)===v.type)?(b=i(v,y.props),b.ref=kb(m,v,y),b.return=m,b):(b=HE(y.type,y.key,y.props,null,m.mode,b),b.ref=kb(m,v,y),b.return=m,b)}function c(m,v,y,b){return v===null||v.tag!==4||v.stateNode.containerInfo!==y.containerInfo||v.stateNode.implementation!==y.implementation?(v=fT(y,m.mode,b),v.return=m,v):(v=i(v,y.children||[]),v.return=m,v)}function u(m,v,y,b,B){return v===null||v.tag!==7?(v=A1(y,m.mode,b,B),v.return=m,v):(v=i(v,y),v.return=m,v)}function f(m,v,y){if(typeof v=="string"&&v!==""||typeof v=="number")return v=uT(""+v,m.mode,y),v.return=m,v;if(typeof v=="object"&&v!==null){switch(v.$$typeof){case SS:return y=HE(v.type,v.key,v.props,null,m.mode,y),y.ref=kb(m,null,v),y.return=m,y;case Xy:return v=fT(v,m.mode,y),v.return=m,v;case l0:var b=v._init;return f(m,b(v._payload),y)}if(kw(v)||wb(v))return v=A1(v,m.mode,y,null),v.return=m,v;RS(m,v)}return null}function d(m,v,y,b){var B=v!==null?v.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return B!==null?null:a(m,v,""+y,b);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case SS:return y.key===B?l(m,v,y,b):null;case Xy:return y.key===B?c(m,v,y,b):null;case l0:return B=y._init,d(m,v,B(y._payload),b)}if(kw(y)||wb(y))return B!==null?null:u(m,v,y,b,null);RS(m,y)}return null}function p(m,v,y,b,B){if(typeof b=="string"&&b!==""||typeof b=="number")return m=m.get(y)||null,a(v,m,""+b,B);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case SS:return m=m.get(b.key===null?y:b.key)||null,l(v,m,b,B);case Xy:return m=m.get(b.key===null?y:b.key)||null,c(v,m,b,B);case l0:var S=b._init;return p(m,v,y,S(b._payload),B)}if(kw(b)||wb(b))return m=m.get(y)||null,u(v,m,b,B,null);RS(v,b)}return null}function h(m,v,y,b){for(var B=null,S=null,w=v,x=v=0,I=null;w!==null&&x<y.length;x++){w.index>x?(I=w,w=null):I=w.sibling;var F=d(m,w,y[x],b);if(F===null){w===null&&(w=I);break}t&&w&&F.alternate===null&&e(m,w),v=o(F,v,x),S===null?B=F:S.sibling=F,S=F,w=I}if(x===y.length)return r(m,w),Co&&Ig(m,x),B;if(w===null){for(;x<y.length;x++)w=f(m,y[x],b),w!==null&&(v=o(w,v,x),S===null?B=w:S.sibling=w,S=w);return Co&&Ig(m,x),B}for(w=n(m,w);x<y.length;x++)I=p(w,m,x,y[x],b),I!==null&&(t&&I.alternate!==null&&w.delete(I.key===null?x:I.key),v=o(I,v,x),S===null?B=I:S.sibling=I,S=I);return t&&w.forEach(function(k){return e(m,k)}),Co&&Ig(m,x),B}function A(m,v,y,b){var B=wb(y);if(typeof B!="function")throw Error(Qt(150));if(y=B.call(y),y==null)throw Error(Qt(151));for(var S=B=null,w=v,x=v=0,I=null,F=y.next();w!==null&&!F.done;x++,F=y.next()){w.index>x?(I=w,w=null):I=w.sibling;var k=d(m,w,F.value,b);if(k===null){w===null&&(w=I);break}t&&w&&k.alternate===null&&e(m,w),v=o(k,v,x),S===null?B=k:S.sibling=k,S=k,w=I}if(F.done)return r(m,w),Co&&Ig(m,x),B;if(w===null){for(;!F.done;x++,F=y.next())F=f(m,F.value,b),F!==null&&(v=o(F,v,x),S===null?B=F:S.sibling=F,S=F);return Co&&Ig(m,x),B}for(w=n(m,w);!F.done;x++,F=y.next())F=p(w,m,x,F.value,b),F!==null&&(t&&F.alternate!==null&&w.delete(F.key===null?x:F.key),v=o(F,v,x),S===null?B=F:S.sibling=F,S=F);return t&&w.forEach(function(O){return e(m,O)}),Co&&Ig(m,x),B}function g(m,v,y,b){if(typeof y=="object"&&y!==null&&y.type===Yy&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case SS:e:{for(var B=y.key,S=v;S!==null;){if(S.key===B){if(B=y.type,B===Yy){if(S.tag===7){r(m,S.sibling),v=i(S,y.props.children),v.return=m,m=v;break e}}else if(S.elementType===B||typeof B=="object"&&B!==null&&B.$$typeof===l0&&tne(B)===S.type){r(m,S.sibling),v=i(S,y.props),v.ref=kb(m,S,y),v.return=m,m=v;break e}r(m,S);break}else e(m,S);S=S.sibling}y.type===Yy?(v=A1(y.props.children,m.mode,b,y.key),v.return=m,m=v):(b=HE(y.type,y.key,y.props,null,m.mode,b),b.ref=kb(m,v,y),b.return=m,m=b)}return s(m);case Xy:e:{for(S=y.key;v!==null;){if(v.key===S)if(v.tag===4&&v.stateNode.containerInfo===y.containerInfo&&v.stateNode.implementation===y.implementation){r(m,v.sibling),v=i(v,y.children||[]),v.return=m,m=v;break e}else{r(m,v);break}else e(m,v);v=v.sibling}v=fT(y,m.mode,b),v.return=m,m=v}return s(m);case l0:return S=y._init,g(m,v,S(y._payload),b)}if(kw(y))return h(m,v,y,b);if(wb(y))return A(m,v,y,b);RS(m,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,v!==null&&v.tag===6?(r(m,v.sibling),v=i(v,y),v.return=m,m=v):(r(m,v),v=uT(y,m.mode,b),v.return=m,m=v),s(m)):r(m,v)}return g}var nB=w2e(!0),x2e=w2e(!1),A7=Rm(null),h7=null,o2=null,pX=null;function AX(){pX=o2=h7=null}function hX(t){var e=A7.current;lo(A7),t._currentValue=e}function VQ(t,e,r){for(;t!==null;){var n=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,n!==null&&(n.childLanes|=e)):n!==null&&(n.childLanes&e)!==e&&(n.childLanes|=e),t===r)break;t=t.return}}function E2(t,e){h7=t,pX=o2=null,t=t.dependencies,t!==null&&t.firstContext!==null&&(t.lanes&e&&(ql=!0),t.firstContext=null)}function Mu(t){var e=t._currentValue;if(pX!==t)if(t={context:t,memoizedValue:e,next:null},o2===null){if(h7===null)throw Error(Qt(308));o2=t,h7.dependencies={lanes:0,firstContext:t}}else o2=o2.next=t;return e}var zg=null;function mX(t){zg===null?zg=[t]:zg.push(t)}function S2e(t,e,r,n){var i=e.interleaved;return i===null?(r.next=r,mX(e)):(r.next=i.next,i.next=r),e.interleaved=r,XA(t,n)}function XA(t,e){t.lanes|=e;var r=t.alternate;for(r!==null&&(r.lanes|=e),r=t,t=t.return;t!==null;)t.childLanes|=e,r=t.alternate,r!==null&&(r.childLanes|=e),r=t,t=t.return;return r.tag===3?r.stateNode:null}var c0=!1;function gX(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function E2e(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function jA(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function z0(t,e,r){var n=t.updateQueue;if(n===null)return null;if(n=n.shared,oi&2){var i=n.pending;return i===null?e.next=e:(e.next=i.next,i.next=e),n.pending=e,XA(t,r)}return i=n.interleaved,i===null?(e.next=e,mX(n)):(e.next=i.next,i.next=e),n.interleaved=e,XA(t,r)}function _E(t,e,r){if(e=e.updateQueue,e!==null&&(e=e.shared,(r&4194240)!==0)){var n=e.lanes;n&=t.pendingLanes,r|=n,e.lanes=r,rX(t,r)}}function rne(t,e){var r=t.updateQueue,n=t.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var i=null,o=null;if(r=r.firstBaseUpdate,r!==null){do{var s={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};o===null?i=o=s:o=o.next=s,r=r.next}while(r!==null);o===null?i=o=e:o=o.next=e}else i=o=e;r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:n.shared,effects:n.effects},t.updateQueue=r;return}t=r.lastBaseUpdate,t===null?r.firstBaseUpdate=e:t.next=e,r.lastBaseUpdate=e}function m7(t,e,r,n){var i=t.updateQueue;c0=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,c=l.next;l.next=null,s===null?o=c:s.next=c,s=l;var u=t.alternate;u!==null&&(u=u.updateQueue,a=u.lastBaseUpdate,a!==s&&(a===null?u.firstBaseUpdate=c:a.next=c,u.lastBaseUpdate=l))}if(o!==null){var f=i.baseState;s=0,u=c=l=null,a=o;do{var d=a.lane,p=a.eventTime;if((n&d)===d){u!==null&&(u=u.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=t,A=a;switch(d=e,p=r,A.tag){case 1:if(h=A.payload,typeof h=="function"){f=h.call(p,f,d);break e}f=h;break e;case 3:h.flags=h.flags&-65537|128;case 0:if(h=A.payload,d=typeof h=="function"?h.call(p,f,d):h,d==null)break e;f=Oo({},f,d);break e;case 2:c0=!0}}a.callback!==null&&a.lane!==0&&(t.flags|=64,d=i.effects,d===null?i.effects=[a]:d.push(a))}else p={eventTime:p,lane:d,tag:a.tag,payload:a.payload,callback:a.callback,next:null},u===null?(c=u=p,l=f):u=u.next=p,s|=d;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;d=a,a=d.next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}while(1);if(u===null&&(l=f),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,e=i.shared.interleaved,e!==null){i=e;do s|=i.lane,i=i.next;while(i!==e)}else o===null&&(i.shared.lanes=0);T1|=s,t.lanes=s,t.memoizedState=f}}function nne(t,e,r){if(t=e.effects,e.effects=null,t!==null)for(e=0;e<t.length;e++){var n=t[e],i=n.callback;if(i!==null){if(n.callback=null,n=r,typeof i!="function")throw Error(Qt(191,i));i.call(n)}}}var F3={},pp=Rm(F3),n4=Rm(F3),i4=Rm(F3);function Kg(t){if(t===F3)throw Error(Qt(174));return t}function vX(t,e){switch(Ji(i4,e),Ji(n4,t),Ji(pp,F3),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:bQ(null,"");break;default:t=t===8?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=bQ(e,t)}lo(pp),Ji(pp,e)}function iB(){lo(pp),lo(n4),lo(i4)}function D2e(t){Kg(i4.current);var e=Kg(pp.current),r=bQ(e,t.type);e!==r&&(Ji(n4,t),Ji(pp,r))}function yX(t){n4.current===t&&(lo(pp),lo(n4))}var So=Rm(0);function g7(t){for(var e=t;e!==null;){if(e.tag===13){var r=e.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var iT=[];function BX(){for(var t=0;t<iT.length;t++)iT[t]._workInProgressVersionPrimary=null;iT.length=0}var jE=yh.ReactCurrentDispatcher,oT=yh.ReactCurrentBatchConfig,F1=0,Do=null,Os=null,Ws=null,v7=!1,s5=!1,o4=0,fUe=0;function Ia(){throw Error(Qt(321))}function CX(t,e){if(e===null)return!1;for(var r=0;r<e.length&&r<t.length;r++)if(!Mf(t[r],e[r]))return!1;return!0}function bX(t,e,r,n,i,o){if(F1=o,Do=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,jE.current=t===null||t.memoizedState===null?hUe:mUe,t=r(n,i),s5){o=0;do{if(s5=!1,o4=0,25<=o)throw Error(Qt(301));o+=1,Ws=Os=null,e.updateQueue=null,jE.current=gUe,t=r(n,i)}while(s5)}if(jE.current=y7,e=Os!==null&&Os.next!==null,F1=0,Ws=Os=Do=null,v7=!1,e)throw Error(Qt(300));return t}function wX(){var t=o4!==0;return o4=0,t}function Td(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ws===null?Do.memoizedState=Ws=t:Ws=Ws.next=t,Ws}function _u(){if(Os===null){var t=Do.alternate;t=t!==null?t.memoizedState:null}else t=Os.next;var e=Ws===null?Do.memoizedState:Ws.next;if(e!==null)Ws=e,Os=t;else{if(t===null)throw Error(Qt(310));Os=t,t={memoizedState:Os.memoizedState,baseState:Os.baseState,baseQueue:Os.baseQueue,queue:Os.queue,next:null},Ws===null?Do.memoizedState=Ws=t:Ws=Ws.next=t}return Ws}function s4(t,e){return typeof e=="function"?e(t):e}function sT(t){var e=_u(),r=e.queue;if(r===null)throw Error(Qt(311));r.lastRenderedReducer=t;var n=Os,i=n.baseQueue,o=r.pending;if(o!==null){if(i!==null){var s=i.next;i.next=o.next,o.next=s}n.baseQueue=i=o,r.pending=null}if(i!==null){o=i.next,n=n.baseState;var a=s=null,l=null,c=o;do{var u=c.lane;if((F1&u)===u)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),n=c.hasEagerState?c.eagerState:t(n,c.action);else{var f={lane:u,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(a=l=f,s=n):l=l.next=f,Do.lanes|=u,T1|=u}c=c.next}while(c!==null&&c!==o);l===null?s=n:l.next=a,Mf(n,e.memoizedState)||(ql=!0),e.memoizedState=n,e.baseState=s,e.baseQueue=l,r.lastRenderedState=n}if(t=r.interleaved,t!==null){i=t;do o=i.lane,Do.lanes|=o,T1|=o,i=i.next;while(i!==t)}else i===null&&(r.lanes=0);return[e.memoizedState,r.dispatch]}function aT(t){var e=_u(),r=e.queue;if(r===null)throw Error(Qt(311));r.lastRenderedReducer=t;var n=r.dispatch,i=r.pending,o=e.memoizedState;if(i!==null){r.pending=null;var s=i=i.next;do o=t(o,s.action),s=s.next;while(s!==i);Mf(o,e.memoizedState)||(ql=!0),e.memoizedState=o,e.baseQueue===null&&(e.baseState=o),r.lastRenderedState=o}return[o,n]}function k2e(){}function O2e(t,e){var r=Do,n=_u(),i=e(),o=!Mf(n.memoizedState,i);if(o&&(n.memoizedState=i,ql=!0),n=n.queue,xX(N2e.bind(null,r,n,t),[t]),n.getSnapshot!==e||o||Ws!==null&&Ws.memoizedState.tag&1){if(r.flags|=2048,a4(9,I2e.bind(null,r,n,i,e),void 0,null),ta===null)throw Error(Qt(349));F1&30||P2e(r,e,i)}return i}function P2e(t,e,r){t.flags|=16384,t={getSnapshot:e,value:r},e=Do.updateQueue,e===null?(e={lastEffect:null,stores:null},Do.updateQueue=e,e.stores=[t]):(r=e.stores,r===null?e.stores=[t]:r.push(t))}function I2e(t,e,r,n){e.value=r,e.getSnapshot=n,F2e(e)&&T2e(t)}function N2e(t,e,r){return r(function(){F2e(e)&&T2e(t)})}function F2e(t){var e=t.getSnapshot;t=t.value;try{var r=e();return!Mf(t,r)}catch{return!0}}function T2e(t){var e=XA(t,1);e!==null&&Lf(e,t,1,-1)}function ine(t){var e=Td();return typeof t=="function"&&(t=t()),e.memoizedState=e.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:s4,lastRenderedState:t},e.queue=t,t=t.dispatch=AUe.bind(null,Do,t),[e.memoizedState,t]}function a4(t,e,r,n){return t={tag:t,create:e,destroy:r,deps:n,next:null},e=Do.updateQueue,e===null?(e={lastEffect:null,stores:null},Do.updateQueue=e,e.lastEffect=t.next=t):(r=e.lastEffect,r===null?e.lastEffect=t.next=t:(n=r.next,r.next=t,t.next=n,e.lastEffect=t)),t}function L2e(){return _u().memoizedState}function UE(t,e,r,n){var i=Td();Do.flags|=t,i.memoizedState=a4(1|e,r,void 0,n===void 0?null:n)}function FP(t,e,r,n){var i=_u();n=n===void 0?null:n;var o=void 0;if(Os!==null){var s=Os.memoizedState;if(o=s.destroy,n!==null&&CX(n,s.deps)){i.memoizedState=a4(e,r,o,n);return}}Do.flags|=t,i.memoizedState=a4(1|e,r,o,n)}function one(t,e){return UE(8390656,8,t,e)}function xX(t,e){return FP(2048,8,t,e)}function R2e(t,e){return FP(4,2,t,e)}function M2e(t,e){return FP(4,4,t,e)}function _2e(t,e){if(typeof e=="function")return t=t(),e(t),function(){e(null)};if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function j2e(t,e,r){return r=r!=null?r.concat([t]):null,FP(4,4,_2e.bind(null,e,t),r)}function SX(){}function U2e(t,e){var r=_u();e=e===void 0?null:e;var n=r.memoizedState;return n!==null&&e!==null&&CX(e,n[1])?n[0]:(r.memoizedState=[t,e],t)}function Q2e(t,e){var r=_u();e=e===void 0?null:e;var n=r.memoizedState;return n!==null&&e!==null&&CX(e,n[1])?n[0]:(t=t(),r.memoizedState=[t,e],t)}function V2e(t,e,r){return F1&21?(Mf(r,e)||(r=zye(),Do.lanes|=r,T1|=r,t.baseState=!0),e):(t.baseState&&(t.baseState=!1,ql=!0),t.memoizedState=r)}function dUe(t,e){var r=Di;Di=r!==0&&4>r?r:4,t(!0);var n=oT.transition;oT.transition={};try{t(!1),e()}finally{Di=r,oT.transition=n}}function $2e(){return _u().memoizedState}function pUe(t,e,r){var n=q0(t);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},H2e(t))G2e(e,r);else if(r=S2e(t,e,r,n),r!==null){var i=ml();Lf(r,t,n,i),W2e(r,e,n)}}function AUe(t,e,r){var n=q0(t),i={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(H2e(t))G2e(e,i);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var s=e.lastRenderedState,a=o(s,r);if(i.hasEagerState=!0,i.eagerState=a,Mf(a,s)){var l=e.interleaved;l===null?(i.next=i,mX(e)):(i.next=l.next,l.next=i),e.interleaved=i;return}}catch{}finally{}r=S2e(t,e,i,n),r!==null&&(i=ml(),Lf(r,t,n,i),W2e(r,e,n))}}function H2e(t){var e=t.alternate;return t===Do||e!==null&&e===Do}function G2e(t,e){s5=v7=!0;var r=t.pending;r===null?e.next=e:(e.next=r.next,r.next=e),t.pending=e}function W2e(t,e,r){if(r&4194240){var n=e.lanes;n&=t.pendingLanes,r|=n,e.lanes=r,rX(t,r)}}var y7={readContext:Mu,useCallback:Ia,useContext:Ia,useEffect:Ia,useImperativeHandle:Ia,useInsertionEffect:Ia,useLayoutEffect:Ia,useMemo:Ia,useReducer:Ia,useRef:Ia,useState:Ia,useDebugValue:Ia,useDeferredValue:Ia,useTransition:Ia,useMutableSource:Ia,useSyncExternalStore:Ia,useId:Ia,unstable_isNewReconciler:!1},hUe={readContext:Mu,useCallback:function(t,e){return Td().memoizedState=[t,e===void 0?null:e],t},useContext:Mu,useEffect:one,useImperativeHandle:function(t,e,r){return r=r!=null?r.concat([t]):null,UE(4194308,4,_2e.bind(null,e,t),r)},useLayoutEffect:function(t,e){return UE(4194308,4,t,e)},useInsertionEffect:function(t,e){return UE(4,2,t,e)},useMemo:function(t,e){var r=Td();return e=e===void 0?null:e,t=t(),r.memoizedState=[t,e],t},useReducer:function(t,e,r){var n=Td();return e=r!==void 0?r(e):e,n.memoizedState=n.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},n.queue=t,t=t.dispatch=pUe.bind(null,Do,t),[n.memoizedState,t]},useRef:function(t){var e=Td();return t={current:t},e.memoizedState=t},useState:ine,useDebugValue:SX,useDeferredValue:function(t){return Td().memoizedState=t},useTransition:function(){var t=ine(!1),e=t[0];return t=dUe.bind(null,t[1]),Td().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,r){var n=Do,i=Td();if(Co){if(r===void 0)throw Error(Qt(407));r=r()}else{if(r=e(),ta===null)throw Error(Qt(349));F1&30||P2e(n,e,r)}i.memoizedState=r;var o={value:r,getSnapshot:e};return i.queue=o,one(N2e.bind(null,n,o,t),[t]),n.flags|=2048,a4(9,I2e.bind(null,n,o,r,e),void 0,null),r},useId:function(){var t=Td(),e=ta.identifierPrefix;if(Co){var r=SA,n=xA;r=(n&~(1<<32-Tf(n)-1)).toString(32)+r,e=":"+e+"R"+r,r=o4++,0<r&&(e+="H"+r.toString(32)),e+=":"}else r=fUe++,e=":"+e+"r"+r.toString(32)+":";return t.memoizedState=e},unstable_isNewReconciler:!1},mUe={readContext:Mu,useCallback:U2e,useContext:Mu,useEffect:xX,useImperativeHandle:j2e,useInsertionEffect:R2e,useLayoutEffect:M2e,useMemo:Q2e,useReducer:sT,useRef:L2e,useState:function(){return sT(s4)},useDebugValue:SX,useDeferredValue:function(t){var e=_u();return V2e(e,Os.memoizedState,t)},useTransition:function(){var t=sT(s4)[0],e=_u().memoizedState;return[t,e]},useMutableSource:k2e,useSyncExternalStore:O2e,useId:$2e,unstable_isNewReconciler:!1},gUe={readContext:Mu,useCallback:U2e,useContext:Mu,useEffect:xX,useImperativeHandle:j2e,useInsertionEffect:R2e,useLayoutEffect:M2e,useMemo:Q2e,useReducer:aT,useRef:L2e,useState:function(){return aT(s4)},useDebugValue:SX,useDeferredValue:function(t){var e=_u();return Os===null?e.memoizedState=t:V2e(e,Os.memoizedState,t)},useTransition:function(){var t=aT(s4)[0],e=_u().memoizedState;return[t,e]},useMutableSource:k2e,useSyncExternalStore:O2e,useId:$2e,unstable_isNewReconciler:!1};function Af(t,e){if(t&&t.defaultProps){e=Oo({},e),t=t.defaultProps;for(var r in t)e[r]===void 0&&(e[r]=t[r]);return e}return e}function $Q(t,e,r,n){e=t.memoizedState,r=r(n,e),r=r==null?e:Oo({},e,r),t.memoizedState=r,t.lanes===0&&(t.updateQueue.baseState=r)}var TP={isMounted:function(t){return(t=t._reactInternals)?nv(t)===t:!1},enqueueSetState:function(t,e,r){t=t._reactInternals;var n=ml(),i=q0(t),o=jA(n,i);o.payload=e,r!=null&&(o.callback=r),e=z0(t,o,i),e!==null&&(Lf(e,t,i,n),_E(e,t,i))},enqueueReplaceState:function(t,e,r){t=t._reactInternals;var n=ml(),i=q0(t),o=jA(n,i);o.tag=1,o.payload=e,r!=null&&(o.callback=r),e=z0(t,o,i),e!==null&&(Lf(e,t,i,n),_E(e,t,i))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var r=ml(),n=q0(t),i=jA(r,n);i.tag=2,e!=null&&(i.callback=e),e=z0(t,i,n),e!==null&&(Lf(e,t,n,r),_E(e,t,n))}};function sne(t,e,r,n,i,o,s){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(n,o,s):e.prototype&&e.prototype.isPureReactComponent?!Z5(r,n)||!Z5(i,o):!0}function z2e(t,e,r){var n=!1,i=pm,o=e.contextType;return typeof o=="object"&&o!==null?o=Mu(o):(i=ec(e)?I1:Xa.current,n=e.contextTypes,o=(n=n!=null)?tB(t,i):pm),e=new e(r,o),t.memoizedState=e.state!==null&&e.state!==void 0?e.state:null,e.updater=TP,t.stateNode=e,e._reactInternals=t,n&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=i,t.__reactInternalMemoizedMaskedChildContext=o),e}function ane(t,e,r,n){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(r,n),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(r,n),e.state!==t&&TP.enqueueReplaceState(e,e.state,null)}function HQ(t,e,r,n){var i=t.stateNode;i.props=r,i.state=t.memoizedState,i.refs={},gX(t);var o=e.contextType;typeof o=="object"&&o!==null?i.context=Mu(o):(o=ec(e)?I1:Xa.current,i.context=tB(t,o)),i.state=t.memoizedState,o=e.getDerivedStateFromProps,typeof o=="function"&&($Q(t,e,o,r),i.state=t.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(e=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),e!==i.state&&TP.enqueueReplaceState(i,i.state,null),m7(t,r,i,n),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308)}function oB(t,e){try{var r="",n=e;do r+=G_e(n),n=n.return;while(n);var i=r}catch(o){i=` Error generating stack: `+o.message+` `+o.stack}return{value:t,source:e,stack:i,digest:null}}function lT(t,e,r){return{value:t,source:null,stack:r??null,digest:e??null}}function GQ(t,e){try{console.error(e.value)}catch(r){setTimeout(function(){throw r})}}var vUe=typeof WeakMap=="function"?WeakMap:Map;function K2e(t,e,r){r=jA(-1,r),r.tag=3,r.payload={element:null};var n=e.value;return r.callback=function(){C7||(C7=!0,tV=n),GQ(t,e)},r}function q2e(t,e,r){r=jA(-1,r),r.tag=3;var n=t.type.getDerivedStateFromError;if(typeof n=="function"){var i=e.value;r.payload=function(){return n(i)},r.callback=function(){GQ(t,e)}}var o=t.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(r.callback=function(){GQ(t,e),typeof n!="function"&&(K0===null?K0=new Set([this]):K0.add(this));var s=e.stack;this.componentDidCatch(e.value,{componentStack:s!==null?s:""})}),r}function lne(t,e,r){var n=t.pingCache;if(n===null){n=t.pingCache=new vUe;var i=new Set;n.set(e,i)}else i=n.get(e),i===void 0&&(i=new Set,n.set(e,i));i.has(r)||(i.add(r),t=NUe.bind(null,t,e,r),e.then(t,t))}function cne(t){do{var e;if((e=t.tag===13)&&(e=t.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return t;t=t.return}while(t!==null);return null}function une(t,e,r,n,i){return t.mode&1?(t.flags|=65536,t.lanes=i,t):(t===e?t.flags|=65536:(t.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(e=jA(-1,1),e.tag=2,z0(r,e,1))),r.lanes|=1),t)}var yUe=yh.ReactCurrentOwner,ql=!1;function cl(t,e,r,n){e.child=t===null?x2e(e,null,r,n):nB(e,t.child,r,n)}function fne(t,e,r,n,i){r=r.render;var o=e.ref;return E2(e,i),n=bX(t,e,r,n,o,i),r=wX(),t!==null&&!ql?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,YA(t,e,i)):(Co&&r&&uX(e),e.flags|=1,cl(t,e,n,i),e.child)}function dne(t,e,r,n,i){if(t===null){var o=r.type;return typeof o=="function"&&!FX(o)&&o.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(e.tag=15,e.type=o,X2e(t,e,o,n,i)):(t=HE(r.type,null,n,e,e.mode,i),t.ref=e.ref,t.return=e,e.child=t)}if(o=t.child,!(t.lanes&i)){var s=o.memoizedProps;if(r=r.compare,r=r!==null?r:Z5,r(s,n)&&t.ref===e.ref)return YA(t,e,i)}return e.flags|=1,t=X0(o,n),t.ref=e.ref,t.return=e,e.child=t}function X2e(t,e,r,n,i){if(t!==null){var o=t.memoizedProps;if(Z5(o,n)&&t.ref===e.ref)if(ql=!1,e.pendingProps=n=o,(t.lanes&i)!==0)t.flags&131072&&(ql=!0);else return e.lanes=t.lanes,YA(t,e,i)}return WQ(t,e,r,n,i)}function Y2e(t,e,r){var n=e.pendingProps,i=n.children,o=t!==null?t.memoizedState:null;if(n.mode==="hidden")if(!(e.mode&1))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ji(a2,xc),xc|=r;else{if(!(r&1073741824))return t=o!==null?o.baseLanes|r:r,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,Ji(a2,xc),xc|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=o!==null?o.baseLanes:r,Ji(a2,xc),xc|=n}else o!==null?(n=o.baseLanes|r,e.memoizedState=null):n=r,Ji(a2,xc),xc|=n;return cl(t,e,i,r),e.child}function J2e(t,e){var r=e.ref;(t===null&&r!==null||t!==null&&t.ref!==r)&&(e.flags|=512,e.flags|=2097152)}function WQ(t,e,r,n,i){var o=ec(r)?I1:Xa.current;return o=tB(e,o),E2(e,i),r=bX(t,e,r,n,o,i),n=wX(),t!==null&&!ql?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,YA(t,e,i)):(Co&&n&&uX(e),e.flags|=1,cl(t,e,r,i),e.child)}function pne(t,e,r,n,i){if(ec(r)){var o=!0;f7(e)}else o=!1;if(E2(e,i),e.stateNode===null)QE(t,e),z2e(e,r,n),HQ(e,r,n,i),n=!0;else if(t===null){var s=e.stateNode,a=e.memoizedProps;s.props=a;var l=s.context,c=r.contextType;typeof c=="object"&&c!==null?c=Mu(c):(c=ec(r)?I1:Xa.current,c=tB(e,c));var u=r.getDerivedStateFromProps,f=typeof u=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==n||l!==c)&&ane(e,s,n,c),c0=!1;var d=e.memoizedState;s.state=d,m7(e,n,s,i),l=e.memoizedState,a!==n||d!==l||Zl.current||c0?(typeof u=="function"&&($Q(e,r,u,n),l=e.memoizedState),(a=c0||sne(e,r,a,n,d,l,c))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(e.flags|=4194308)):(typeof s.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=n,e.memoizedState=l),s.props=n,s.state=l,s.context=c,n=a):(typeof s.componentDidMount=="function"&&(e.flags|=4194308),n=!1)}else{s=e.stateNode,E2e(t,e),a=e.memoizedProps,c=e.type===e.elementType?a:Af(e.type,a),s.props=c,f=e.pendingProps,d=s.context,l=r.contextType,typeof l=="object"&&l!==null?l=Mu(l):(l=ec(r)?I1:Xa.current,l=tB(e,l));var p=r.getDerivedStateFromProps;(u=typeof p=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==f||d!==l)&&ane(e,s,n,l),c0=!1,d=e.memoizedState,s.state=d,m7(e,n,s,i);var h=e.memoizedState;a!==f||d!==h||Zl.current||c0?(typeof p=="function"&&($Q(e,r,p,n),h=e.memoizedState),(c=c0||sne(e,r,c,n,d,h,l)||!1)?(u||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(n,h,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(n,h,l)),typeof s.componentDidUpdate=="function"&&(e.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===t.memoizedProps&&d===t.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===t.memoizedProps&&d===t.memoizedState||(e.flags|=1024),e.memoizedProps=n,e.memoizedState=h),s.props=n,s.state=h,s.context=l,n=c):(typeof s.componentDidUpdate!="function"||a===t.memoizedProps&&d===t.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===t.memoizedProps&&d===t.memoizedState||(e.flags|=1024),n=!1)}return zQ(t,e,r,n,o,i)}function zQ(t,e,r,n,i,o){J2e(t,e);var s=(e.flags&128)!==0;if(!n&&!s)return i&&Jre(e,r,!1),YA(t,e,o);n=e.stateNode,yUe.current=e;var a=s&&typeof r.getDerivedStateFromError!="function"?null:n.render();return e.flags|=1,t!==null&&s?(e.child=nB(e,t.child,null,o),e.child=nB(e,null,a,o)):cl(t,e,a,o),e.memoizedState=n.state,i&&Jre(e,r,!0),e.child}function Z2e(t){var e=t.stateNode;e.pendingContext?Yre(t,e.pendingContext,e.pendingContext!==e.context):e.context&&Yre(t,e.context,!1),vX(t,e.containerInfo)}function Ane(t,e,r,n,i){return rB(),dX(i),e.flags|=256,cl(t,e,r,n),e.child}var KQ={dehydrated:null,treeContext:null,retryLane:0};function qQ(t){return{baseLanes:t,cachePool:null,transitions:null}}function eBe(t,e,r){var n=e.pendingProps,i=So.current,o=!1,s=(e.flags&128)!==0,a;if((a=s)||(a=t!==null&&t.memoizedState===null?!1:(i&2)!==0),a?(o=!0,e.flags&=-129):(t===null||t.memoizedState!==null)&&(i|=1),Ji(So,i&1),t===null)return QQ(e),t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?(e.mode&1?t.data==="$!"?e.lanes=8:e.lanes=1073741824:e.lanes=1,null):(s=n.children,t=n.fallback,o?(n=e.mode,o=e.child,s={mode:"hidden",children:s},!(n&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=MP(s,n,0,null),t=A1(t,n,r,null),o.return=e,t.return=e,o.sibling=t,e.child=o,e.child.memoizedState=qQ(r),e.memoizedState=KQ,t):EX(e,s));if(i=t.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return BUe(t,e,s,n,a,i,r);if(o){o=n.fallback,s=e.mode,i=t.child,a=i.sibling;var l={mode:"hidden",children:n.children};return!(s&1)&&e.child!==i?(n=e.child,n.childLanes=0,n.pendingProps=l,e.deletions=null):(n=X0(i,l),n.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=X0(a,o):(o=A1(o,s,r,null),o.flags|=2),o.return=e,n.return=e,n.sibling=o,e.child=n,n=o,o=e.child,s=t.child.memoizedState,s=s===null?qQ(r):{baseLanes:s.baseLanes|r,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=t.childLanes&~r,e.memoizedState=KQ,n}return o=t.child,t=o.sibling,n=X0(o,{mode:"visible",children:n.children}),!(e.mode&1)&&(n.lanes=r),n.return=e,n.sibling=null,t!==null&&(r=e.deletions,r===null?(e.deletions=[t],e.flags|=16):r.push(t)),e.child=n,e.memoizedState=null,n}function EX(t,e){return e=MP({mode:"visible",children:e},t.mode,0,null),e.return=t,t.child=e}function MS(t,e,r,n){return n!==null&&dX(n),nB(e,t.child,null,r),t=EX(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function BUe(t,e,r,n,i,o,s){if(r)return e.flags&256?(e.flags&=-257,n=lT(Error(Qt(422))),MS(t,e,s,n)):e.memoizedState!==null?(e.child=t.child,e.flags|=128,null):(o=n.fallback,i=e.mode,n=MP({mode:"visible",children:n.children},i,0,null),o=A1(o,i,s,null),o.flags|=2,n.return=e,o.return=e,n.sibling=o,e.child=n,e.mode&1&&nB(e,t.child,null,s),e.child.memoizedState=qQ(s),e.memoizedState=KQ,o);if(!(e.mode&1))return MS(t,e,s,null);if(i.data==="$!"){if(n=i.nextSibling&&i.nextSibling.dataset,n)var a=n.dgst;return n=a,o=Error(Qt(419)),n=lT(o,n,void 0),MS(t,e,s,n)}if(a=(s&t.childLanes)!==0,ql||a){if(n=ta,n!==null){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(n.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,XA(t,i),Lf(n,t,i,-1))}return NX(),n=lT(Error(Qt(421))),MS(t,e,s,n)}return i.data==="$?"?(e.flags|=128,e.child=t.child,e=FUe.bind(null,t),i._reactRetry=e,null):(t=o.treeContext,Pc=W0(i.nextSibling),Mc=e,Co=!0,wf=null,t!==null&&(gu[vu++]=xA,gu[vu++]=SA,gu[vu++]=N1,xA=t.id,SA=t.overflow,N1=e),e=EX(e,n.children),e.flags|=4096,e)}function hne(t,e,r){t.lanes|=e;var n=t.alternate;n!==null&&(n.lanes|=e),VQ(t.return,e,r)}function cT(t,e,r,n,i){var o=t.memoizedState;o===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i}:(o.isBackwards=e,o.rendering=null,o.renderingStartTime=0,o.last=n,o.tail=r,o.tailMode=i)}function tBe(t,e,r){var n=e.pendingProps,i=n.revealOrder,o=n.tail;if(cl(t,e,n.children,r),n=So.current,n&2)n=n&1|2,e.flags|=128;else{if(t!==null&&t.flags&128)e:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&hne(t,r,e);else if(t.tag===19)hne(t,r,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}n&=1}if(Ji(So,n),!(e.mode&1))e.memoizedState=null;else switch(i){case"forwards":for(r=e.child,i=null;r!==null;)t=r.alternate,t!==null&&g7(t)===null&&(i=r),r=r.sibling;r=i,r===null?(i=e.child,e.child=null):(i=r.sibling,r.sibling=null),cT(e,!1,i,r,o);break;case"backwards":for(r=null,i=e.child,e.child=null;i!==null;){if(t=i.alternate,t!==null&&g7(t)===null){e.child=i;break}t=i.sibling,i.sibling=r,r=i,i=t}cT(e,!0,r,null,o);break;case"together":cT(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function QE(t,e){!(e.mode&1)&&t!==null&&(t.alternate=null,e.alternate=null,e.flags|=2)}function YA(t,e,r){if(t!==null&&(e.dependencies=t.dependencies),T1|=e.lanes,!(r&e.childLanes))return null;if(t!==null&&e.child!==t.child)throw Error(Qt(153));if(e.child!==null){for(t=e.child,r=X0(t,t.pendingProps),e.child=r,r.return=e;t.sibling!==null;)t=t.sibling,r=r.sibling=X0(t,t.pendingProps),r.return=e;r.sibling=null}return e.child}function CUe(t,e,r){switch(e.tag){case 3:Z2e(e),rB();break;case 5:D2e(e);break;case 1:ec(e.type)&&f7(e);break;case 4:vX(e,e.stateNode.containerInfo);break;case 10:var n=e.type._context,i=e.memoizedProps.value;Ji(A7,n._currentValue),n._currentValue=i;break;case 13:if(n=e.memoizedState,n!==null)return n.dehydrated!==null?(Ji(So,So.current&1),e.flags|=128,null):r&e.child.childLanes?eBe(t,e,r):(Ji(So,So.current&1),t=YA(t,e,r),t!==null?t.sibling:null);Ji(So,So.current&1);break;case 19:if(n=(r&e.childLanes)!==0,t.flags&128){if(n)return tBe(t,e,r);e.flags|=128}if(i=e.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ji(So,So.current),n)break;return null;case 22:case 23:return e.lanes=0,Y2e(t,e,r)}return YA(t,e,r)}var rBe,XQ,nBe,iBe;rBe=function(t,e){for(var r=e.child;r!==null;){if(r.tag===5||r.tag===6)t.appendChild(r.stateNode);else if(r.tag!==4&&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}};XQ=function(){};nBe=function(t,e,r,n){var i=t.memoizedProps;if(i!==n){t=e.stateNode,Kg(pp.current);var o=null;switch(r){case"input":i=vQ(t,i),n=vQ(t,n),o=[];break;case"select":i=Oo({},i,{value:void 0}),n=Oo({},n,{value:void 0}),o=[];break;case"textarea":i=CQ(t,i),n=CQ(t,n),o=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(t.onclick=c7)}wQ(r,n);var s;r=null;for(c in i)if(!n.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var a=i[c];for(s in a)a.hasOwnProperty(s)&&(r||(r={}),r[s]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(W5.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in n){var l=n[c];if(a=i?.[c],n.hasOwnProperty(c)&&l!==a&&(l!=null||a!=null))if(c==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(r||(r={}),r[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(r||(r={}),r[s]=l[s])}else r||(o||(o=[]),o.push(c,r)),r=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(o=o||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(W5.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&ro("scroll",t),o||a===l||(o=[])):(o=o||[]).push(c,l))}r&&(o=o||[]).push("style",r);var c=o;(e.updateQueue=c)&&(e.flags|=4)}};iBe=function(t,e,r,n){r!==n&&(e.flags|=4)};function Ob(t,e){if(!Co)switch(t.tailMode){case"hidden":e=t.tail;for(var r=null;e!==null;)e.alternate!==null&&(r=e),e=e.sibling;r===null?t.tail=null:r.sibling=null;break;case"collapsed":r=t.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:n.sibling=null}}function Na(t){var e=t.alternate!==null&&t.alternate.child===t.child,r=0,n=0;if(e)for(var i=t.child;i!==null;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags&14680064,n|=i.flags&14680064,i.return=t,i=i.sibling;else for(i=t.child;i!==null;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags,n|=i.flags,i.return=t,i=i.sibling;return t.subtreeFlags|=n,t.childLanes=r,e}function bUe(t,e,r){var n=e.pendingProps;switch(fX(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Na(e),null;case 1:return ec(e.type)&&u7(),Na(e),null;case 3:return n=e.stateNode,iB(),lo(Zl),lo(Xa),BX(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(LS(e)?e.flags|=4:t===null||t.memoizedState.isDehydrated&&!(e.flags&256)||(e.flags|=1024,wf!==null&&(iV(wf),wf=null))),XQ(t,e),Na(e),null;case 5:yX(e);var i=Kg(i4.current);if(r=e.type,t!==null&&e.stateNode!=null)nBe(t,e,r,n,i),t.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!n){if(e.stateNode===null)throw Error(Qt(166));return Na(e),null}if(t=Kg(pp.current),LS(e)){n=e.stateNode,r=e.type;var o=e.memoizedProps;switch(n[zd]=e,n[r4]=o,t=(e.mode&1)!==0,r){case"dialog":ro("cancel",n),ro("close",n);break;case"iframe":case"object":case"embed":ro("load",n);break;case"video":case"audio":for(i=0;i<Pw.length;i++)ro(Pw[i],n);break;case"source":ro("error",n);break;case"img":case"image":case"link":ro("error",n),ro("load",n);break;case"details":ro("toggle",n);break;case"input":xre(n,o),ro("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!o.multiple},ro("invalid",n);break;case"textarea":Ere(n,o),ro("invalid",n)}wQ(r,o),i=null;for(var s in o)if(o.hasOwnProperty(s)){var a=o[s];s==="children"?typeof a=="string"?n.textContent!==a&&(o.suppressHydrationWarning!==!0&&TS(n.textContent,a,t),i=["children",a]):typeof a=="number"&&n.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&TS(n.textContent,a,t),i=["children",""+a]):W5.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&ro("scroll",n)}switch(r){case"input":ES(n),Sre(n,o,!0);break;case"textarea":ES(n),Dre(n);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(n.onclick=c7)}n=i,e.updateQueue=n,n!==null&&(e.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=Nye(r)),t==="http://www.w3.org/1999/xhtml"?r==="script"?(t=s.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof n.is=="string"?t=s.createElement(r,{is:n.is}):(t=s.createElement(r),r==="select"&&(s=t,n.multiple?s.multiple=!0:n.size&&(s.size=n.size))):t=s.createElementNS(t,r),t[zd]=e,t[r4]=n,rBe(t,e,!1,!1),e.stateNode=t;e:{switch(s=xQ(r,n),r){case"dialog":ro("cancel",t),ro("close",t),i=n;break;case"iframe":case"object":case"embed":ro("load",t),i=n;break;case"video":case"audio":for(i=0;i<Pw.length;i++)ro(Pw[i],t);i=n;break;case"source":ro("error",t),i=n;break;case"img":case"image":case"link":ro("error",t),ro("load",t),i=n;break;case"details":ro("toggle",t),i=n;break;case"input":xre(t,n),i=vQ(t,n),ro("invalid",t);break;case"option":i=n;break;case"select":t._wrapperState={wasMultiple:!!n.multiple},i=Oo({},n,{value:void 0}),ro("invalid",t);break;case"textarea":Ere(t,n),i=CQ(t,n),ro("invalid",t);break;default:i=n}wQ(r,i),a=i;for(o in a)if(a.hasOwnProperty(o)){var l=a[o];o==="style"?Lye(t,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Fye(t,l)):o==="children"?typeof l=="string"?(r!=="textarea"||l!=="")&&z5(t,l):typeof l=="number"&&z5(t,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(W5.hasOwnProperty(o)?l!=null&&o==="onScroll"&&ro("scroll",t):l!=null&&Xq(t,o,l,s))}switch(r){case"input":ES(t),Sre(t,n,!1);break;case"textarea":ES(t),Dre(t);break;case"option":n.value!=null&&t.setAttribute("value",""+dm(n.value));break;case"select":t.multiple=!!n.multiple,o=n.value,o!=null?b2(t,!!n.multiple,o,!1):n.defaultValue!=null&&b2(t,!!n.multiple,n.defaultValue,!0);break;default:typeof i.onClick=="function"&&(t.onclick=c7)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(e.flags|=4)}e.ref!==null&&(e.flags|=512,e.flags|=2097152)}return Na(e),null;case 6:if(t&&e.stateNode!=null)iBe(t,e,t.memoizedProps,n);else{if(typeof n!="string"&&e.stateNode===null)throw Error(Qt(166));if(r=Kg(i4.current),Kg(pp.current),LS(e)){if(n=e.stateNode,r=e.memoizedProps,n[zd]=e,(o=n.nodeValue!==r)&&(t=Mc,t!==null))switch(t.tag){case 3:TS(n.nodeValue,r,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&TS(n.nodeValue,r,(t.mode&1)!==0)}o&&(e.flags|=4)}else n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[zd]=e,e.stateNode=n}return Na(e),null;case 13:if(lo(So),n=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(Co&&Pc!==null&&e.mode&1&&!(e.flags&128))b2e(),rB(),e.flags|=98560,o=!1;else if(o=LS(e),n!==null&&n.dehydrated!==null){if(t===null){if(!o)throw Error(Qt(318));if(o=e.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(Qt(317));o[zd]=e}else rB(),!(e.flags&128)&&(e.memoizedState=null),e.flags|=4;Na(e),o=!1}else wf!==null&&(iV(wf),wf=null),o=!0;if(!o)return e.flags&65536?e:null}return e.flags&128?(e.lanes=r,e):(n=n!==null,n!==(t!==null&&t.memoizedState!==null)&&n&&(e.child.flags|=8192,e.mode&1&&(t===null||So.current&1?Rs===0&&(Rs=3):NX())),e.updateQueue!==null&&(e.flags|=4),Na(e),null);case 4:return iB(),XQ(t,e),t===null&&e4(e.stateNode.containerInfo),Na(e),null;case 10:return hX(e.type._context),Na(e),null;case 17:return ec(e.type)&&u7(),Na(e),null;case 19:if(lo(So),o=e.memoizedState,o===null)return Na(e),null;if(n=(e.flags&128)!==0,s=o.rendering,s===null)if(n)Ob(o,!1);else{if(Rs!==0||t!==null&&t.flags&128)for(t=e.child;t!==null;){if(s=g7(t),s!==null){for(e.flags|=128,Ob(o,!1),n=s.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),e.subtreeFlags=0,n=r,r=e.child;r!==null;)o=r,t=n,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=t,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,t=s.dependencies,o.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),r=r.sibling;return Ji(So,So.current&1|2),e.child}t=t.sibling}o.tail!==null&&ts()>sB&&(e.flags|=128,n=!0,Ob(o,!1),e.lanes=4194304)}else{if(!n)if(t=g7(s),t!==null){if(e.flags|=128,n=!0,r=t.updateQueue,r!==null&&(e.updateQueue=r,e.flags|=4),Ob(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!Co)return Na(e),null}else 2*ts()-o.renderingStartTime>sB&&r!==1073741824&&(e.flags|=128,n=!0,Ob(o,!1),e.lanes=4194304);o.isBackwards?(s.sibling=e.child,e.child=s):(r=o.last,r!==null?r.sibling=s:e.child=s,o.last=s)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=ts(),e.sibling=null,r=So.current,Ji(So,n?r&1|2:r&1),e):(Na(e),null);case 22:case 23:return IX(),n=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==n&&(e.flags|=8192),n&&e.mode&1?xc&1073741824&&(Na(e),e.subtreeFlags&6&&(e.flags|=8192)):Na(e),null;case 24:return null;case 25:return null}throw Error(Qt(156,e.tag))}function wUe(t,e){switch(fX(e),e.tag){case 1:return ec(e.type)&&u7(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return iB(),lo(Zl),lo(Xa),BX(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return yX(e),null;case 13:if(lo(So),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(Qt(340));rB()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return lo(So),null;case 4:return iB(),null;case 10:return hX(e.type._context),null;case 22:case 23:return IX(),null;case 24:return null;default:return null}}var _S=!1,$a=!1,xUe=typeof WeakSet=="function"?WeakSet:Set,xr=null;function s2(t,e){var r=t.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){Qo(t,e,n)}else r.current=null}function YQ(t,e,r){try{r()}catch(n){Qo(t,e,n)}}var mne=!1;function SUe(t,e){if(TQ=s7,t=c2e(),cX(t)){if("selectionStart"in t)var r={start:t.selectionStart,end:t.selectionEnd};else e:{r=(r=t.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var i=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break e}var s=0,a=-1,l=-1,c=0,u=0,f=t,d=null;t:for(;;){for(var p;f!==r||i!==0&&f.nodeType!==3||(a=s+i),f!==o||n!==0&&f.nodeType!==3||(l=s+n),f.nodeType===3&&(s+=f.nodeValue.length),(p=f.firstChild)!==null;)d=f,f=p;for(;;){if(f===t)break t;if(d===r&&++c===i&&(a=s),d===o&&++u===n&&(l=s),(p=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=p}r=a===-1||l===-1?null:{start:a,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(LQ={focusedElem:t,selectionRange:r},s7=!1,xr=e;xr!==null;)if(e=xr,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,xr=t;else for(;xr!==null;){e=xr;try{var h=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var A=h.memoizedProps,g=h.memoizedState,m=e.stateNode,v=m.getSnapshotBeforeUpdate(e.elementType===e.type?A:Af(e.type,A),g);m.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var y=e.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Qt(163))}}catch(b){Qo(e,e.return,b)}if(t=e.sibling,t!==null){t.return=e.return,xr=t;break}xr=e.return}return h=mne,mne=!1,h}function a5(t,e,r){var n=e.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&t)===t){var o=i.destroy;i.destroy=void 0,o!==void 0&&YQ(e,r,o)}i=i.next}while(i!==n)}}function LP(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var r=e=e.next;do{if((r.tag&t)===t){var n=r.create;r.destroy=n()}r=r.next}while(r!==e)}}function JQ(t){var e=t.ref;if(e!==null){var r=t.stateNode;switch(t.tag){case 5:t=r;break;default:t=r}typeof e=="function"?e(t):e.current=t}}function oBe(t){var e=t.alternate;e!==null&&(t.alternate=null,oBe(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[zd],delete e[r4],delete e[_Q],delete e[aUe],delete e[lUe])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function sBe(t){return t.tag===5||t.tag===3||t.tag===4}function gne(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||sBe(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function ZQ(t,e,r){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?r.nodeType===8?r.parentNode.insertBefore(t,e):r.insertBefore(t,e):(r.nodeType===8?(e=r.parentNode,e.insertBefore(t,r)):(e=r,e.appendChild(t)),r=r._reactRootContainer,r!=null||e.onclick!==null||(e.onclick=c7));else if(n!==4&&(t=t.child,t!==null))for(ZQ(t,e,r),t=t.sibling;t!==null;)ZQ(t,e,r),t=t.sibling}function eV(t,e,r){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?r.insertBefore(t,e):r.appendChild(t);else if(n!==4&&(t=t.child,t!==null))for(eV(t,e,r),t=t.sibling;t!==null;)eV(t,e,r),t=t.sibling}var ca=null,yf=!1;function $h(t,e,r){for(r=r.child;r!==null;)aBe(t,e,r),r=r.sibling}function aBe(t,e,r){if(dp&&typeof dp.onCommitFiberUnmount=="function")try{dp.onCommitFiberUnmount(DP,r)}catch{}switch(r.tag){case 5:$a||s2(r,e);case 6:var n=ca,i=yf;ca=null,$h(t,e,r),ca=n,yf=i,ca!==null&&(yf?(t=ca,r=r.stateNode,t.nodeType===8?t.parentNode.removeChild(r):t.removeChild(r)):ca.removeChild(r.stateNode));break;case 18:ca!==null&&(yf?(t=ca,r=r.stateNode,t.nodeType===8?rT(t.parentNode,r):t.nodeType===1&&rT(t,r),Y5(t)):rT(ca,r.stateNode));break;case 4:n=ca,i=yf,ca=r.stateNode.containerInfo,yf=!0,$h(t,e,r),ca=n,yf=i;break;case 0:case 11:case 14:case 15:if(!$a&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){i=n=n.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&YQ(r,e,s),i=i.next}while(i!==n)}$h(t,e,r);break;case 1:if(!$a&&(s2(r,e),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(a){Qo(r,e,a)}$h(t,e,r);break;case 21:$h(t,e,r);break;case 22:r.mode&1?($a=(n=$a)||r.memoizedState!==null,$h(t,e,r),$a=n):$h(t,e,r);break;default:$h(t,e,r)}}function vne(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var r=t.stateNode;r===null&&(r=t.stateNode=new xUe),e.forEach(function(n){var i=TUe.bind(null,t,n);r.has(n)||(r.add(n),n.then(i,i))})}}function lf(t,e){var r=e.deletions;if(r!==null)for(var n=0;n<r.length;n++){var i=r[n];try{var o=t,s=e,a=s;e:for(;a!==null;){switch(a.tag){case 5:ca=a.stateNode,yf=!1;break e;case 3:ca=a.stateNode.containerInfo,yf=!0;break e;case 4:ca=a.stateNode.containerInfo,yf=!0;break e}a=a.return}if(ca===null)throw Error(Qt(160));aBe(o,s,i),ca=null,yf=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(c){Qo(i,e,c)}}if(e.subtreeFlags&12854)for(e=e.child;e!==null;)lBe(e,t),e=e.sibling}function lBe(t,e){var r=t.alternate,n=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(lf(e,t),md(t),n&4){try{a5(3,t,t.return),LP(3,t)}catch(A){Qo(t,t.return,A)}try{a5(5,t,t.return)}catch(A){Qo(t,t.return,A)}}break;case 1:lf(e,t),md(t),n&512&&r!==null&&s2(r,r.return);break;case 5:if(lf(e,t),md(t),n&512&&r!==null&&s2(r,r.return),t.flags&32){var i=t.stateNode;try{z5(i,"")}catch(A){Qo(t,t.return,A)}}if(n&4&&(i=t.stateNode,i!=null)){var o=t.memoizedProps,s=r!==null?r.memoizedProps:o,a=t.type,l=t.updateQueue;if(t.updateQueue=null,l!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&Pye(i,o),xQ(a,s);var c=xQ(a,o);for(s=0;s<l.length;s+=2){var u=l[s],f=l[s+1];u==="style"?Lye(i,f):u==="dangerouslySetInnerHTML"?Fye(i,f):u==="children"?z5(i,f):Xq(i,u,f,c)}switch(a){case"input":yQ(i,o);break;case"textarea":Iye(i,o);break;case"select":var d=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var p=o.value;p!=null?b2(i,!!o.multiple,p,!1):d!==!!o.multiple&&(o.defaultValue!=null?b2(i,!!o.multiple,o.defaultValue,!0):b2(i,!!o.multiple,o.multiple?[]:"",!1))}i[r4]=o}catch(A){Qo(t,t.return,A)}}break;case 6:if(lf(e,t),md(t),n&4){if(t.stateNode===null)throw Error(Qt(162));i=t.stateNode,o=t.memoizedProps;try{i.nodeValue=o}catch(A){Qo(t,t.return,A)}}break;case 3:if(lf(e,t),md(t),n&4&&r!==null&&r.memoizedState.isDehydrated)try{Y5(e.containerInfo)}catch(A){Qo(t,t.return,A)}break;case 4:lf(e,t),md(t);break;case 13:lf(e,t),md(t),i=t.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(OX=ts())),n&4&&vne(t);break;case 22:if(u=r!==null&&r.memoizedState!==null,t.mode&1?($a=(c=$a)||u,lf(e,t),$a=c):lf(e,t),md(t),n&8192){if(c=t.memoizedState!==null,(t.stateNode.isHidden=c)&&!u&&t.mode&1)for(xr=t,u=t.child;u!==null;){for(f=xr=u;xr!==null;){switch(d=xr,p=d.child,d.tag){case 0:case 11:case 14:case 15:a5(4,d,d.return);break;case 1:s2(d,d.return);var h=d.stateNode;if(typeof h.componentWillUnmount=="function"){n=d,r=d.return;try{e=n,h.props=e.memoizedProps,h.state=e.memoizedState,h.componentWillUnmount()}catch(A){Qo(n,r,A)}}break;case 5:s2(d,d.return);break;case 22:if(d.memoizedState!==null){Bne(f);continue}}p!==null?(p.return=d,xr=p):Bne(f)}u=u.sibling}e:for(u=null,f=t;;){if(f.tag===5){if(u===null){u=f;try{i=f.stateNode,c?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=f.stateNode,l=f.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=Tye("display",s))}catch(A){Qo(t,t.return,A)}}}else if(f.tag===6){if(u===null)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(A){Qo(t,t.return,A)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===t)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===t)break e;for(;f.sibling===null;){if(f.return===null||f.return===t)break e;u===f&&(u=null),f=f.return}u===f&&(u=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:lf(e,t),md(t),n&4&&vne(t);break;case 21:break;default:lf(e,t),md(t)}}function md(t){var e=t.flags;if(e&2){try{e:{for(var r=t.return;r!==null;){if(sBe(r)){var n=r;break e}r=r.return}throw Error(Qt(160))}switch(n.tag){case 5:var i=n.stateNode;n.flags&32&&(z5(i,""),n.flags&=-33);var o=gne(t);eV(t,o,i);break;case 3:case 4:var s=n.stateNode.containerInfo,a=gne(t);ZQ(t,a,s);break;default:throw Error(Qt(161))}}catch(l){Qo(t,t.return,l)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function EUe(t,e,r){xr=t,cBe(t)}function cBe(t,e,r){for(var n=(t.mode&1)!==0;xr!==null;){var i=xr,o=i.child;if(i.tag===22&&n){var s=i.memoizedState!==null||_S;if(!s){var a=i.alternate,l=a!==null&&a.memoizedState!==null||$a;a=_S;var c=$a;if(_S=s,($a=l)&&!c)for(xr=i;xr!==null;)s=xr,l=s.child,s.tag===22&&s.memoizedState!==null?Cne(i):l!==null?(l.return=s,xr=l):Cne(i);for(;o!==null;)xr=o,cBe(o),o=o.sibling;xr=i,_S=a,$a=c}yne(t)}else i.subtreeFlags&8772&&o!==null?(o.return=i,xr=o):yne(t)}}function yne(t){for(;xr!==null;){var e=xr;if(e.flags&8772){var r=e.alternate;try{if(e.flags&8772)switch(e.tag){case 0:case 11:case 15:$a||LP(5,e);break;case 1:var n=e.stateNode;if(e.flags&4&&!$a)if(r===null)n.componentDidMount();else{var i=e.elementType===e.type?r.memoizedProps:Af(e.type,r.memoizedProps);n.componentDidUpdate(i,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var o=e.updateQueue;o!==null&&nne(e,o,n);break;case 3:var s=e.updateQueue;if(s!==null){if(r=null,e.child!==null)switch(e.child.tag){case 5:r=e.child.stateNode;break;case 1:r=e.child.stateNode}nne(e,s,r)}break;case 5:var a=e.stateNode;if(r===null&&e.flags&4){r=a;var l=e.memoizedProps;switch(e.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&r.focus();break;case"img":l.src&&(r.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(e.memoizedState===null){var c=e.alternate;if(c!==null){var u=c.memoizedState;if(u!==null){var f=u.dehydrated;f!==null&&Y5(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(Qt(163))}$a||e.flags&512&&JQ(e)}catch(d){Qo(e,e.return,d)}}if(e===t){xr=null;break}if(r=e.sibling,r!==null){r.return=e.return,xr=r;break}xr=e.return}}function Bne(t){for(;xr!==null;){var e=xr;if(e===t){xr=null;break}var r=e.sibling;if(r!==null){r.return=e.return,xr=r;break}xr=e.return}}function Cne(t){for(;xr!==null;){var e=xr;try{switch(e.tag){case 0:case 11:case 15:var r=e.return;try{LP(4,e)}catch(l){Qo(e,r,l)}break;case 1:var n=e.stateNode;if(typeof n.componentDidMount=="function"){var i=e.return;try{n.componentDidMount()}catch(l){Qo(e,i,l)}}var o=e.return;try{JQ(e)}catch(l){Qo(e,o,l)}break;case 5:var s=e.return;try{JQ(e)}catch(l){Qo(e,s,l)}}}catch(l){Qo(e,e.return,l)}if(e===t){xr=null;break}var a=e.sibling;if(a!==null){a.return=e.return,xr=a;break}xr=e.return}}var DUe=Math.ceil,B7=yh.ReactCurrentDispatcher,DX=yh.ReactCurrentOwner,Fu=yh.ReactCurrentBatchConfig,oi=0,ta=null,ys=null,va=0,xc=0,a2=Rm(0),Rs=0,l4=null,T1=0,RP=0,kX=0,l5=null,Hl=null,OX=0,sB=1/0,AA=null,C7=!1,tV=null,K0=null,jS=!1,E0=null,b7=0,c5=0,rV=null,VE=-1,$E=0;function ml(){return oi&6?ts():VE!==-1?VE:VE=ts()}function q0(t){return t.mode&1?oi&2&&va!==0?va&-va:uUe.transition!==null?($E===0&&($E=zye()),$E):(t=Di,t!==0||(t=window.event,t=t===void 0?16:e2e(t.type)),t):1}function Lf(t,e,r,n){if(50<c5)throw c5=0,rV=null,Error(Qt(185));P3(t,r,n),(!(oi&2)||t!==ta)&&(t===ta&&(!(oi&2)&&(RP|=r),Rs===4&&v0(t,va)),tc(t,n),r===1&&oi===0&&!(e.mode&1)&&(sB=ts()+500,NP&&Mm()))}function tc(t,e){var r=t.callbackNode;uje(t,e);var n=o7(t,t===ta?va:0);if(n===0)r!==null&&Pre(r),t.callbackNode=null,t.callbackPriority=0;else if(e=n&-n,t.callbackPriority!==e){if(r!=null&&Pre(r),e===1)t.tag===0?cUe(bne.bind(null,t)):y2e(bne.bind(null,t)),oUe(function(){!(oi&6)&&Mm()}),r=null;else{switch(Kye(n)){case 1:r=tX;break;case 4:r=Gye;break;case 16:r=i7;break;case 536870912:r=Wye;break;default:r=i7}r=gBe(r,uBe.bind(null,t))}t.callbackPriority=e,t.callbackNode=r}}function uBe(t,e){if(VE=-1,$E=0,oi&6)throw Error(Qt(327));var r=t.callbackNode;if(D2()&&t.callbackNode!==r)return null;var n=o7(t,t===ta?va:0);if(n===0)return null;if(n&30||n&t.expiredLanes||e)e=w7(t,n);else{e=n;var i=oi;oi|=2;var o=dBe();(ta!==t||va!==e)&&(AA=null,sB=ts()+500,p1(t,e));do try{PUe();break}catch(a){fBe(t,a)}while(1);AX(),B7.current=o,oi=i,ys!==null?e=0:(ta=null,va=0,e=Rs)}if(e!==0){if(e===2&&(i=OQ(t),i!==0&&(n=i,e=nV(t,i))),e===1)throw r=l4,p1(t,0),v0(t,n),tc(t,ts()),r;if(e===6)v0(t,n);else{if(i=t.current.alternate,!(n&30)&&!kUe(i)&&(e=w7(t,n),e===2&&(o=OQ(t),o!==0&&(n=o,e=nV(t,o))),e===1))throw r=l4,p1(t,0),v0(t,n),tc(t,ts()),r;switch(t.finishedWork=i,t.finishedLanes=n,e){case 0:case 1:throw Error(Qt(345));case 2:Ng(t,Hl,AA);break;case 3:if(v0(t,n),(n&130023424)===n&&(e=OX+500-ts(),10<e)){if(o7(t,0)!==0)break;if(i=t.suspendedLanes,(i&n)!==n){ml(),t.pingedLanes|=t.suspendedLanes&i;break}t.timeoutHandle=MQ(Ng.bind(null,t,Hl,AA),e);break}Ng(t,Hl,AA);break;case 4:if(v0(t,n),(n&4194240)===n)break;for(e=t.eventTimes,i=-1;0<n;){var s=31-Tf(n);o=1<<s,s=e[s],s>i&&(i=s),n&=~o}if(n=i,n=ts()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*DUe(n/1960))-n,10<n){t.timeoutHandle=MQ(Ng.bind(null,t,Hl,AA),n);break}Ng(t,Hl,AA);break;case 5:Ng(t,Hl,AA);break;default:throw Error(Qt(329))}}}return tc(t,ts()),t.callbackNode===r?uBe.bind(null,t):null}function nV(t,e){var r=l5;return t.current.memoizedState.isDehydrated&&(p1(t,e).flags|=256),t=w7(t,e),t!==2&&(e=Hl,Hl=r,e!==null&&iV(e)),t}function iV(t){Hl===null?Hl=t:Hl.push.apply(Hl,t)}function kUe(t){for(var e=t;;){if(e.flags&16384){var r=e.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var n=0;n<r.length;n++){var i=r[n],o=i.getSnapshot;i=i.value;try{if(!Mf(o(),i))return!1}catch{return!1}}}if(r=e.child,e.subtreeFlags&16384&&r!==null)r.return=e,e=r;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function v0(t,e){for(e&=~kX,e&=~RP,t.suspendedLanes|=e,t.pingedLanes&=~e,t=t.expirationTimes;0<e;){var r=31-Tf(e),n=1<<r;t[r]=-1,e&=~n}}function bne(t){if(oi&6)throw Error(Qt(327));D2();var e=o7(t,0);if(!(e&1))return tc(t,ts()),null;var r=w7(t,e);if(t.tag!==0&&r===2){var n=OQ(t);n!==0&&(e=n,r=nV(t,n))}if(r===1)throw r=l4,p1(t,0),v0(t,e),tc(t,ts()),r;if(r===6)throw Error(Qt(345));return t.finishedWork=t.current.alternate,t.finishedLanes=e,Ng(t,Hl,AA),tc(t,ts()),null}function PX(t,e){var r=oi;oi|=1;try{return t(e)}finally{oi=r,oi===0&&(sB=ts()+500,NP&&Mm())}}function L1(t){E0!==null&&E0.tag===0&&!(oi&6)&&D2();var e=oi;oi|=1;var r=Fu.transition,n=Di;try{if(Fu.transition=null,Di=1,t)return t()}finally{Di=n,Fu.transition=r,oi=e,!(oi&6)&&Mm()}}function IX(){xc=a2.current,lo(a2)}function p1(t,e){t.finishedWork=null,t.finishedLanes=0;var r=t.timeoutHandle;if(r!==-1&&(t.timeoutHandle=-1,iUe(r)),ys!==null)for(r=ys.return;r!==null;){var n=r;switch(fX(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&u7();break;case 3:iB(),lo(Zl),lo(Xa),BX();break;case 5:yX(n);break;case 4:iB();break;case 13:lo(So);break;case 19:lo(So);break;case 10:hX(n.type._context);break;case 22:case 23:IX()}r=r.return}if(ta=t,ys=t=X0(t.current,null),va=xc=e,Rs=0,l4=null,kX=RP=T1=0,Hl=l5=null,zg!==null){for(e=0;e<zg.length;e++)if(r=zg[e],n=r.interleaved,n!==null){r.interleaved=null;var i=n.next,o=r.pending;if(o!==null){var s=o.next;o.next=i,n.next=s}r.pending=n}zg=null}return t}function fBe(t,e){do{var r=ys;try{if(AX(),jE.current=y7,v7){for(var n=Do.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}v7=!1}if(F1=0,Ws=Os=Do=null,s5=!1,o4=0,DX.current=null,r===null||r.return===null){Rs=1,l4=e,ys=null;break}e:{var o=t,s=r.return,a=r,l=e;if(e=va,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,u=a,f=u.tag;if(!(u.mode&1)&&(f===0||f===11||f===15)){var d=u.alternate;d?(u.updateQueue=d.updateQueue,u.memoizedState=d.memoizedState,u.lanes=d.lanes):(u.updateQueue=null,u.memoizedState=null)}var p=cne(s);if(p!==null){p.flags&=-257,une(p,s,a,o,e),p.mode&1&&lne(o,c,e),e=p,l=c;var h=e.updateQueue;if(h===null){var A=new Set;A.add(l),e.updateQueue=A}else h.add(l);break e}else{if(!(e&1)){lne(o,c,e),NX();break e}l=Error(Qt(426))}}else if(Co&&a.mode&1){var g=cne(s);if(g!==null){!(g.flags&65536)&&(g.flags|=256),une(g,s,a,o,e),dX(oB(l,a));break e}}o=l=oB(l,a),Rs!==4&&(Rs=2),l5===null?l5=[o]:l5.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,e&=-e,o.lanes|=e;var m=K2e(o,l,e);rne(o,m);break e;case 1:a=l;var v=o.type,y=o.stateNode;if(!(o.flags&128)&&(typeof v.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(K0===null||!K0.has(y)))){o.flags|=65536,e&=-e,o.lanes|=e;var b=q2e(o,a,e);rne(o,b);break e}}o=o.return}while(o!==null)}ABe(r)}catch(B){e=B,ys===r&&r!==null&&(ys=r=r.return);continue}break}while(1)}function dBe(){var t=B7.current;return B7.current=y7,t===null?y7:t}function NX(){(Rs===0||Rs===3||Rs===2)&&(Rs=4),ta===null||!(T1&268435455)&&!(RP&268435455)||v0(ta,va)}function w7(t,e){var r=oi;oi|=2;var n=dBe();(ta!==t||va!==e)&&(AA=null,p1(t,e));do try{OUe();break}catch(i){fBe(t,i)}while(1);if(AX(),oi=r,B7.current=n,ys!==null)throw Error(Qt(261));return ta=null,va=0,Rs}function OUe(){for(;ys!==null;)pBe(ys)}function PUe(){for(;ys!==null&&!tje();)pBe(ys)}function pBe(t){var e=mBe(t.alternate,t,xc);t.memoizedProps=t.pendingProps,e===null?ABe(t):ys=e,DX.current=null}function ABe(t){var e=t;do{var r=e.alternate;if(t=e.return,e.flags&32768){if(r=wUe(r,e),r!==null){r.flags&=32767,ys=r;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{Rs=6,ys=null;return}}else if(r=bUe(r,e,xc),r!==null){ys=r;return}if(e=e.sibling,e!==null){ys=e;return}ys=e=t}while(e!==null);Rs===0&&(Rs=5)}function Ng(t,e,r){var n=Di,i=Fu.transition;try{Fu.transition=null,Di=1,IUe(t,e,r,n)}finally{Fu.transition=i,Di=n}return null}function IUe(t,e,r,n){do D2();while(E0!==null);if(oi&6)throw Error(Qt(327));r=t.finishedWork;var i=t.finishedLanes;if(r===null)return null;if(t.finishedWork=null,t.finishedLanes=0,r===t.current)throw Error(Qt(177));t.callbackNode=null,t.callbackPriority=0;var o=r.lanes|r.childLanes;if(fje(t,o),t===ta&&(ys=ta=null,va=0),!(r.subtreeFlags&2064)&&!(r.flags&2064)||jS||(jS=!0,gBe(i7,function(){return D2(),null})),o=(r.flags&15990)!==0,r.subtreeFlags&15990||o){o=Fu.transition,Fu.transition=null;var s=Di;Di=1;var a=oi;oi|=4,DX.current=null,SUe(t,r),lBe(r,t),Yje(LQ),s7=!!TQ,LQ=TQ=null,t.current=r,EUe(r),rje(),oi=a,Di=s,Fu.transition=o}else t.current=r;if(jS&&(jS=!1,E0=t,b7=i),o=t.pendingLanes,o===0&&(K0=null),oje(r.stateNode),tc(t,ts()),e!==null)for(n=t.onRecoverableError,r=0;r<e.length;r++)i=e[r],n(i.value,{componentStack:i.stack,digest:i.digest});if(C7)throw C7=!1,t=tV,tV=null,t;return b7&1&&t.tag!==0&&D2(),o=t.pendingLanes,o&1?t===rV?c5++:(c5=0,rV=t):c5=0,Mm(),null}function D2(){if(E0!==null){var t=Kye(b7),e=Fu.transition,r=Di;try{if(Fu.transition=null,Di=16>t?16:t,E0===null)var n=!1;else{if(t=E0,E0=null,b7=0,oi&6)throw Error(Qt(331));var i=oi;for(oi|=4,xr=t.current;xr!==null;){var o=xr,s=o.child;if(xr.flags&16){var a=o.deletions;if(a!==null){for(var l=0;l<a.length;l++){var c=a[l];for(xr=c;xr!==null;){var u=xr;switch(u.tag){case 0:case 11:case 15:a5(8,u,o)}var f=u.child;if(f!==null)f.return=u,xr=f;else for(;xr!==null;){u=xr;var d=u.sibling,p=u.return;if(oBe(u),u===c){xr=null;break}if(d!==null){d.return=p,xr=d;break}xr=p}}}var h=o.alternate;if(h!==null){var A=h.child;if(A!==null){h.child=null;do{var g=A.sibling;A.sibling=null,A=g}while(A!==null)}}xr=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,xr=s;else e:for(;xr!==null;){if(o=xr,o.flags&2048)switch(o.tag){case 0:case 11:case 15:a5(9,o,o.return)}var m=o.sibling;if(m!==null){m.return=o.return,xr=m;break e}xr=o.return}}var v=t.current;for(xr=v;xr!==null;){s=xr;var y=s.child;if(s.subtreeFlags&2064&&y!==null)y.return=s,xr=y;else e:for(s=v;xr!==null;){if(a=xr,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:LP(9,a)}}catch(B){Qo(a,a.return,B)}if(a===s){xr=null;break e}var b=a.sibling;if(b!==null){b.return=a.return,xr=b;break e}xr=a.return}}if(oi=i,Mm(),dp&&typeof dp.onPostCommitFiberRoot=="function")try{dp.onPostCommitFiberRoot(DP,t)}catch{}n=!0}return n}finally{Di=r,Fu.transition=e}}return!1}function wne(t,e,r){e=oB(r,e),e=K2e(t,e,1),t=z0(t,e,1),e=ml(),t!==null&&(P3(t,1,e),tc(t,e))}function Qo(t,e,r){if(t.tag===3)wne(t,t,r);else for(;e!==null;){if(e.tag===3){wne(e,t,r);break}else if(e.tag===1){var n=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(K0===null||!K0.has(n))){t=oB(r,t),t=q2e(e,t,1),e=z0(e,t,1),t=ml(),e!==null&&(P3(e,1,t),tc(e,t));break}}e=e.return}}function NUe(t,e,r){var n=t.pingCache;n!==null&&n.delete(e),e=ml(),t.pingedLanes|=t.suspendedLanes&r,ta===t&&(va&r)===r&&(Rs===4||Rs===3&&(va&130023424)===va&&500>ts()-OX?p1(t,0):kX|=r),tc(t,e)}function hBe(t,e){e===0&&(t.mode&1?(e=OS,OS<<=1,!(OS&130023424)&&(OS=4194304)):e=1);var r=ml();t=XA(t,e),t!==null&&(P3(t,e,r),tc(t,r))}function FUe(t){var e=t.memoizedState,r=0;e!==null&&(r=e.retryLane),hBe(t,r)}function TUe(t,e){var r=0;switch(t.tag){case 13:var n=t.stateNode,i=t.memoizedState;i!==null&&(r=i.retryLane);break;case 19:n=t.stateNode;break;default:throw Error(Qt(314))}n!==null&&n.delete(e),hBe(t,r)}var mBe;mBe=function(t,e,r){if(t!==null)if(t.memoizedProps!==e.pendingProps||Zl.current)ql=!0;else{if(!(t.lanes&r)&&!(e.flags&128))return ql=!1,CUe(t,e,r);ql=!!(t.flags&131072)}else ql=!1,Co&&e.flags&1048576&&B2e(e,p7,e.index);switch(e.lanes=0,e.tag){case 2:var n=e.type;QE(t,e),t=e.pendingProps;var i=tB(e,Xa.current);E2(e,r),i=bX(null,e,n,t,i,r);var o=wX();return e.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,ec(n)?(o=!0,f7(e)):o=!1,e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,gX(e),i.updater=TP,e.stateNode=i,i._reactInternals=e,HQ(e,n,t,r),e=zQ(null,e,n,!0,o,r)):(e.tag=0,Co&&o&&uX(e),cl(null,e,i,r),e=e.child),e;case 16:n=e.elementType;e:{switch(QE(t,e),t=e.pendingProps,i=n._init,n=i(n._payload),e.type=n,i=e.tag=RUe(n),t=Af(n,t),i){case 0:e=WQ(null,e,n,t,r);break e;case 1:e=pne(null,e,n,t,r);break e;case 11:e=fne(null,e,n,t,r);break e;case 14:e=dne(null,e,n,Af(n.type,t),r);break e}throw Error(Qt(306,n,""))}return e;case 0:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:Af(n,i),WQ(t,e,n,i,r);case 1:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:Af(n,i),pne(t,e,n,i,r);case 3:e:{if(Z2e(e),t===null)throw Error(Qt(387));n=e.pendingProps,o=e.memoizedState,i=o.element,E2e(t,e),m7(e,n,null,r);var s=e.memoizedState;if(n=s.element,o.isDehydrated)if(o={element:n,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){i=oB(Error(Qt(423)),e),e=Ane(t,e,n,r,i);break e}else if(n!==i){i=oB(Error(Qt(424)),e),e=Ane(t,e,n,r,i);break e}else for(Pc=W0(e.stateNode.containerInfo.firstChild),Mc=e,Co=!0,wf=null,r=x2e(e,null,n,r),e.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(rB(),n===i){e=YA(t,e,r);break e}cl(t,e,n,r)}e=e.child}return e;case 5:return D2e(e),t===null&&QQ(e),n=e.type,i=e.pendingProps,o=t!==null?t.memoizedProps:null,s=i.children,RQ(n,i)?s=null:o!==null&&RQ(n,o)&&(e.flags|=32),J2e(t,e),cl(t,e,s,r),e.child;case 6:return t===null&&QQ(e),null;case 13:return eBe(t,e,r);case 4:return vX(e,e.stateNode.containerInfo),n=e.pendingProps,t===null?e.child=nB(e,null,n,r):cl(t,e,n,r),e.child;case 11:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:Af(n,i),fne(t,e,n,i,r);case 7:return cl(t,e,e.pendingProps,r),e.child;case 8:return cl(t,e,e.pendingProps.children,r),e.child;case 12:return cl(t,e,e.pendingProps.children,r),e.child;case 10:e:{if(n=e.type._context,i=e.pendingProps,o=e.memoizedProps,s=i.value,Ji(A7,n._currentValue),n._currentValue=s,o!==null)if(Mf(o.value,s)){if(o.children===i.children&&!Zl.current){e=YA(t,e,r);break e}}else for(o=e.child,o!==null&&(o.return=e);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===n){if(o.tag===1){l=jA(-1,r&-r),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}o.lanes|=r,l=o.alternate,l!==null&&(l.lanes|=r),VQ(o.return,r,e),a.lanes|=r;break}l=l.next}}else if(o.tag===10)s=o.type===e.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(Qt(341));s.lanes|=r,a=s.alternate,a!==null&&(a.lanes|=r),VQ(s,r,e),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===e){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}cl(t,e,i.children,r),e=e.child}return e;case 9:return i=e.type,n=e.pendingProps.children,E2(e,r),i=Mu(i),n=n(i),e.flags|=1,cl(t,e,n,r),e.child;case 14:return n=e.type,i=Af(n,e.pendingProps),i=Af(n.type,i),dne(t,e,n,i,r);case 15:return X2e(t,e,e.type,e.pendingProps,r);case 17:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:Af(n,i),QE(t,e),e.tag=1,ec(n)?(t=!0,f7(e)):t=!1,E2(e,r),z2e(e,n,i),HQ(e,n,i,r),zQ(null,e,n,!0,t,r);case 19:return tBe(t,e,r);case 22:return Y2e(t,e,r)}throw Error(Qt(156,e.tag))};function gBe(t,e){return Hye(t,e)}function LUe(t,e,r,n){this.tag=t,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function xu(t,e,r,n){return new LUe(t,e,r,n)}function FX(t){return t=t.prototype,!(!t||!t.isReactComponent)}function RUe(t){if(typeof t=="function")return FX(t)?1:0;if(t!=null){if(t=t.$$typeof,t===Jq)return 11;if(t===Zq)return 14}return 2}function X0(t,e){var r=t.alternate;return r===null?(r=xu(t.tag,e,t.key,t.mode),r.elementType=t.elementType,r.type=t.type,r.stateNode=t.stateNode,r.alternate=t,t.alternate=r):(r.pendingProps=e,r.type=t.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=t.flags&14680064,r.childLanes=t.childLanes,r.lanes=t.lanes,r.child=t.child,r.memoizedProps=t.memoizedProps,r.memoizedState=t.memoizedState,r.updateQueue=t.updateQueue,e=t.dependencies,r.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},r.sibling=t.sibling,r.index=t.index,r.ref=t.ref,r}function HE(t,e,r,n,i,o){var s=2;if(n=t,typeof t=="function")FX(t)&&(s=1);else if(typeof t=="string")s=5;else e:switch(t){case Yy:return A1(r.children,i,o,e);case Yq:s=8,i|=8;break;case AQ:return t=xu(12,r,e,i|2),t.elementType=AQ,t.lanes=o,t;case hQ:return t=xu(13,r,e,i),t.elementType=hQ,t.lanes=o,t;case mQ:return t=xu(19,r,e,i),t.elementType=mQ,t.lanes=o,t;case Dye:return MP(r,i,o,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Sye:s=10;break e;case Eye:s=9;break e;case Jq:s=11;break e;case Zq:s=14;break e;case l0:s=16,n=null;break e}throw Error(Qt(130,t==null?t:typeof t,""))}return e=xu(s,r,e,i),e.elementType=t,e.type=n,e.lanes=o,e}function A1(t,e,r,n){return t=xu(7,t,n,e),t.lanes=r,t}function MP(t,e,r,n){return t=xu(22,t,n,e),t.elementType=Dye,t.lanes=r,t.stateNode={isHidden:!1},t}function uT(t,e,r){return t=xu(6,t,null,e),t.lanes=r,t}function fT(t,e,r){return e=xu(4,t.children!==null?t.children:[],t.key,e),e.lanes=r,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function MUe(t,e,r,n,i){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=GF(0),this.expirationTimes=GF(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=GF(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function TX(t,e,r,n,i,o,s,a,l){return t=new MUe(t,e,r,a,l),e===1?(e=1,o===!0&&(e|=8)):e=0,o=xu(3,null,null,e),t.current=o,o.stateNode=t,o.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},gX(o),t}function _Ue(t,e,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Xy,key:n==null?null:""+n,children:t,containerInfo:e,implementation:r}}function vBe(t){if(!t)return pm;t=t._reactInternals;e:{if(nv(t)!==t||t.tag!==1)throw Error(Qt(170));var e=t;do{switch(e.tag){case 3:e=e.stateNode.context;break e;case 1:if(ec(e.type)){e=e.stateNode.__reactInternalMemoizedMergedChildContext;break e}}e=e.return}while(e!==null);throw Error(Qt(171))}if(t.tag===1){var r=t.type;if(ec(r))return v2e(t,r,e)}return e}function yBe(t,e,r,n,i,o,s,a,l){return t=TX(r,n,!0,t,i,o,s,a,l),t.context=vBe(null),r=t.current,n=ml(),i=q0(r),o=jA(n,i),o.callback=e??null,z0(r,o,i),t.current.lanes=i,P3(t,i,n),tc(t,n),t}function _P(t,e,r,n){var i=e.current,o=ml(),s=q0(i);return r=vBe(r),e.context===null?e.context=r:e.pendingContext=r,e=jA(o,s),e.payload={element:t},n=n===void 0?null:n,n!==null&&(e.callback=n),t=z0(i,e,s),t!==null&&(Lf(t,i,s,o),_E(t,i,s)),s}function x7(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:return t.child.stateNode;default:return t.child.stateNode}}function xne(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var r=t.retryLane;t.retryLane=r!==0&&r<e?r:e}}function LX(t,e){xne(t,e),(t=t.alternate)&&xne(t,e)}function jUe(){return null}var BBe=typeof reportError=="function"?reportError:function(t){console.error(t)};function RX(t){this._internalRoot=t}jP.prototype.render=RX.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(Qt(409));_P(t,e,null,null)};jP.prototype.unmount=RX.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;L1(function(){_P(null,t,null,null)}),e[qA]=null}};function jP(t){this._internalRoot=t}jP.prototype.unstable_scheduleHydration=function(t){if(t){var e=Yye();t={blockedOn:null,target:t,priority:e};for(var r=0;r<g0.length&&e!==0&&e<g0[r].priority;r++);g0.splice(r,0,t),r===0&&Zye(t)}};function MX(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function UP(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function Sne(){}function UUe(t,e,r,n,i){if(i){if(typeof n=="function"){var o=n;n=function(){var c=x7(s);o.call(c)}}var s=yBe(e,n,t,0,null,!1,!1,"",Sne);return t._reactRootContainer=s,t[qA]=s.current,e4(t.nodeType===8?t.parentNode:t),L1(),s}for(;i=t.lastChild;)t.removeChild(i);if(typeof n=="function"){var a=n;n=function(){var c=x7(l);a.call(c)}}var l=TX(t,0,!1,null,null,!1,!1,"",Sne);return t._reactRootContainer=l,t[qA]=l.current,e4(t.nodeType===8?t.parentNode:t),L1(function(){_P(e,l,r,n)}),l}function QP(t,e,r,n,i){var o=r._reactRootContainer;if(o){var s=o;if(typeof i=="function"){var a=i;i=function(){var l=x7(s);a.call(l)}}_P(e,s,t,i)}else s=UUe(r,e,t,i,n);return x7(s)}qye=function(t){switch(t.tag){case 3:var e=t.stateNode;if(e.current.memoizedState.isDehydrated){var r=Ow(e.pendingLanes);r!==0&&(rX(e,r|1),tc(e,ts()),!(oi&6)&&(sB=ts()+500,Mm()))}break;case 13:L1(function(){var n=XA(t,1);if(n!==null){var i=ml();Lf(n,t,1,i)}}),LX(t,1)}};nX=function(t){if(t.tag===13){var e=XA(t,134217728);if(e!==null){var r=ml();Lf(e,t,134217728,r)}LX(t,134217728)}};Xye=function(t){if(t.tag===13){var e=q0(t),r=XA(t,e);if(r!==null){var n=ml();Lf(r,t,e,n)}LX(t,e)}};Yye=function(){return Di};Jye=function(t,e){var r=Di;try{return Di=t,e()}finally{Di=r}};EQ=function(t,e,r){switch(e){case"input":if(yQ(t,r),e=r.name,r.type==="radio"&&e!=null){for(r=t;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<r.length;e++){var n=r[e];if(n!==t&&n.form===t.form){var i=IP(n);if(!i)throw Error(Qt(90));Oye(n),yQ(n,i)}}}break;case"textarea":Iye(t,r);break;case"select":e=r.value,e!=null&&b2(t,!!r.multiple,e,!1)}};_ye=PX;jye=L1;var QUe={usingClientEntryPoint:!1,Events:[N3,t2,IP,Rye,Mye,PX]},Pb={findFiberByHostInstance:Wg,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},VUe={bundleType:Pb.bundleType,version:Pb.version,rendererPackageName:Pb.rendererPackageName,rendererConfig:Pb.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:yh.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=Vye(t),t===null?null:t.stateNode},findFiberByHostInstance:Pb.findFiberByHostInstance||jUe,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var US=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!US.isDisabled&&US.supportsFiber)try{DP=US.inject(VUe),dp=US}catch{}}zc.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=QUe;zc.createPortal=function(t,e){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!MX(e))throw Error(Qt(200));return _Ue(t,e,null,r)};zc.createRoot=function(t,e){if(!MX(t))throw Error(Qt(299));var r=!1,n="",i=BBe;return e!=null&&(e.unstable_strictMode===!0&&(r=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onRecoverableError!==void 0&&(i=e.onRecoverableError)),e=TX(t,1,!1,null,null,r,!1,n,i),t[qA]=e.current,e4(t.nodeType===8?t.parentNode:t),new RX(e)};zc.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(Qt(188)):(t=Object.keys(t).join(","),Error(Qt(268,t)));return t=Vye(e),t=t===null?null:t.stateNode,t};zc.flushSync=function(t){return L1(t)};zc.hydrate=function(t,e,r){if(!UP(e))throw Error(Qt(200));return QP(null,t,e,!0,r)};zc.hydrateRoot=function(t,e,r){if(!MX(t))throw Error(Qt(405));var n=r!=null&&r.hydratedSources||null,i=!1,o="",s=BBe;if(r!=null&&(r.unstable_strictMode===!0&&(i=!0),r.identifierPrefix!==void 0&&(o=r.identifierPrefix),r.onRecoverableError!==void 0&&(s=r.onRecoverableError)),e=yBe(e,null,t,1,r??null,i,!1,o,s),t[qA]=e.current,e4(t),n)for(t=0;t<n.length;t++)r=n[t],i=r._getVersion,i=i(r._source),e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[r,i]:e.mutableSourceEagerHydrationData.push(r,i);return new jP(e)};zc.render=function(t,e,r){if(!UP(e))throw Error(Qt(200));return QP(null,t,e,!1,r)};zc.unmountComponentAtNode=function(t){if(!UP(t))throw Error(Qt(40));return t._reactRootContainer?(L1(function(){QP(null,null,t,!1,function(){t._reactRootContainer=null,t[qA]=null})}),!0):!1};zc.unstable_batchedUpdates=PX;zc.unstable_renderSubtreeIntoContainer=function(t,e,r,n){if(!UP(r))throw Error(Qt(200));if(t==null||t._reactInternals===void 0)throw Error(Qt(38));return QP(t,e,r,!1,n)};zc.version="18.3.1-next-f1338f8080-20240426";function CBe(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(CBe)}catch(t){console.error(t)}}CBe(),Cye.exports=zc;var pl=Cye.exports;const $Ue=Io(pl);var Ene=pl;dQ.createRoot=Ene.createRoot,dQ.hydrateRoot=Ene.hydrateRoot;var Kd=function(){return Kd=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Kd.apply(this,arguments)};function bBe(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function Ea(t,e,r,n){var i=arguments.length,o=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(i<3?s(o):i>3?s(e,r,o):s(e,r))||o);return i>3&&o&&Object.defineProperty(e,r,o),o}function HUe(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,o;n<i;n++)(o||!(n in e))&&(o||(o=Array.prototype.slice.call(e,0,n)),o[n]=e[n]);return t.concat(o||Array.prototype.slice.call(e))}var GE="right-scroll-bar-position",WE="width-before-scroll-bar",GUe="with-scroll-bars-hidden",WUe="--removed-body-scroll-bar-size";function dT(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function zUe(t,e){var r=E.useState(function(){return{value:t,callback:e,facade:{get current(){return r.value},set current(n){var i=r.value;i!==n&&(r.value=n,r.callback(n,i))}}}})[0];return r.callback=e,r.facade}var KUe=typeof window<"u"?E.useLayoutEffect:E.useEffect,Dne=new WeakMap;function qUe(t,e){var r=zUe(e||null,function(n){return t.forEach(function(i){return dT(i,n)})});return KUe(function(){var n=Dne.get(r);if(n){var i=new Set(n),o=new Set(t),s=r.current;i.forEach(function(a){o.has(a)||dT(a,null)}),o.forEach(function(a){i.has(a)||dT(a,s)})}Dne.set(r,t)},[t]),r}function XUe(t){return t}function YUe(t,e){e===void 0&&(e=XUe);var r=[],n=!1,i={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:t},useMedium:function(o){var s=e(o,n);return r.push(s),function(){r=r.filter(function(a){return a!==s})}},assignSyncMedium:function(o){for(n=!0;r.length;){var s=r;r=[],s.forEach(o)}r={push:function(a){return o(a)},filter:function(){return r}}},assignMedium:function(o){n=!0;var s=[];if(r.length){var a=r;r=[],a.forEach(o),s=r}var l=function(){var u=s;s=[],u.forEach(o)},c=function(){return Promise.resolve().then(l)};c(),r={push:function(u){s.push(u),c()},filter:function(u){return s=s.filter(u),r}}}};return i}function JUe(t){t===void 0&&(t={});var e=YUe(null);return e.options=Kd({async:!0,ssr:!1},t),e}var wBe=function(t){var e=t.sideCar,r=bBe(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=e.read();if(!n)throw new Error("Sidecar medium not found");return E.createElement(n,Kd({},r))};wBe.isSideCarExport=!0;function ZUe(t,e){return t.useMedium(e),wBe}var xBe=JUe(),pT=function(){},VP=E.forwardRef(function(t,e){var r=E.useRef(null),n=E.useState({onScrollCapture:pT,onWheelCapture:pT,onTouchMoveCapture:pT}),i=n[0],o=n[1],s=t.forwardProps,a=t.children,l=t.className,c=t.removeScrollBar,u=t.enabled,f=t.shards,d=t.sideCar,p=t.noRelative,h=t.noIsolation,A=t.inert,g=t.allowPinchZoom,m=t.as,v=m===void 0?"div":m,y=t.gapMode,b=bBe(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),B=d,S=qUe([r,e]),w=Kd(Kd({},b),i);return E.createElement(E.Fragment,null,u&&E.createElement(B,{sideCar:xBe,removeScrollBar:c,shards:f,noRelative:p,noIsolation:h,inert:A,setCallbacks:o,allowPinchZoom:!!g,lockRef:r,gapMode:y}),s?E.cloneElement(E.Children.only(a),Kd(Kd({},w),{ref:S})):E.createElement(v,Kd({},w,{className:l,ref:S}),a))});VP.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};VP.classNames={fullWidth:WE,zeroRight:GE};var kne,eQe=function(){if(kne)return kne;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function tQe(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=eQe();return e&&t.setAttribute("nonce",e),t}function rQe(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function nQe(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var iQe=function(){var t=0,e=null;return{add:function(r){t==0&&(e=tQe())&&(rQe(e,r),nQe(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},oQe=function(){var t=iQe();return function(e,r){E.useEffect(function(){return t.add(e),function(){t.remove()}},[e&&r])}},SBe=function(){var t=oQe(),e=function(r){var n=r.styles,i=r.dynamic;return t(n,i),null};return e},sQe={left:0,top:0,right:0,gap:0},AT=function(t){return parseInt(t||"",10)||0},aQe=function(t){var e=window.getComputedStyle(document.body),r=e[t==="padding"?"paddingLeft":"marginLeft"],n=e[t==="padding"?"paddingTop":"marginTop"],i=e[t==="padding"?"paddingRight":"marginRight"];return[AT(r),AT(n),AT(i)]},lQe=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return sQe;var e=aQe(t),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,n-r+e[2]-e[0])}},cQe=SBe(),k2="data-scroll-locked",uQe=function(t,e,r,n){var i=t.left,o=t.top,s=t.right,a=t.gap;return r===void 0&&(r="margin"),` .`.concat(GUe,` { overflow: hidden `).concat(n,`; padding-right: `).concat(a,"px ").concat(n,`; } body[`).concat(k2,`] { overflow: hidden `).concat(n,`; overscroll-behavior: contain; `).concat([e&&"position: relative ".concat(n,";"),r==="margin"&&` padding-left: `.concat(i,`px; padding-top: `).concat(o,`px; padding-right: `).concat(s,`px; margin-left:0; margin-top:0; margin-right: `).concat(a,"px ").concat(n,`; `),r==="padding"&&"padding-right: ".concat(a,"px ").concat(n,";")].filter(Boolean).join(""),` } .`).concat(GE,` { right: `).concat(a,"px ").concat(n,`; } .`).concat(WE,` { margin-right: `).concat(a,"px ").concat(n,`; } .`).concat(GE," .").concat(GE,` { right: 0 `).concat(n,`; } .`).concat(WE," .").concat(WE,` { margin-right: 0 `).concat(n,`; } body[`).concat(k2,`] { `).concat(WUe,": ").concat(a,`px; } `)},One=function(){var t=parseInt(document.body.getAttribute(k2)||"0",10);return isFinite(t)?t:0},fQe=function(){E.useEffect(function(){return document.body.setAttribute(k2,(One()+1).toString()),function(){var t=One()-1;t<=0?document.body.removeAttribute(k2):document.body.setAttribute(k2,t.toString())}},[])},dQe=function(t){var e=t.noRelative,r=t.noImportant,n=t.gapMode,i=n===void 0?"margin":n;fQe();var o=E.useMemo(function(){return lQe(i)},[i]);return E.createElement(cQe,{styles:uQe(o,!e,i,r?"":"!important")})},oV=!1;if(typeof window<"u")try{var QS=Object.defineProperty({},"passive",{get:function(){return oV=!0,!0}});window.addEventListener("test",QS,QS),window.removeEventListener("test",QS,QS)}catch{oV=!1}var Zv=oV?{passive:!1}:!1,pQe=function(t){return t.tagName==="TEXTAREA"},EBe=function(t,e){if(!(t instanceof Element))return!1;var r=window.getComputedStyle(t);return r[e]!=="hidden"&&!(r.overflowY===r.overflowX&&!pQe(t)&&r[e]==="visible")},AQe=function(t){return EBe(t,"overflowY")},hQe=function(t){return EBe(t,"overflowX")},Pne=function(t,e){var r=e.ownerDocument,n=e;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var i=DBe(t,n);if(i){var o=kBe(t,n),s=o[1],a=o[2];if(s>a)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},mQe=function(t){var e=t.scrollTop,r=t.scrollHeight,n=t.clientHeight;return[e,r,n]},gQe=function(t){var e=t.scrollLeft,r=t.scrollWidth,n=t.clientWidth;return[e,r,n]},DBe=function(t,e){return t==="v"?AQe(e):hQe(e)},kBe=function(t,e){return t==="v"?mQe(e):gQe(e)},vQe=function(t,e){return t==="h"&&e==="rtl"?-1:1},yQe=function(t,e,r,n,i){var o=vQe(t,window.getComputedStyle(e).direction),s=o*n,a=r.target,l=e.contains(a),c=!1,u=s>0,f=0,d=0;do{if(!a)break;var p=kBe(t,a),h=p[0],A=p[1],g=p[2],m=A-g-o*h;(h||m)&&DBe(t,a)&&(f+=m,d+=h);var v=a.parentNode;a=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!l&&a!==document.body||l&&(e.contains(a)||e===a));return(u&&(i&&Math.abs(f)<1||!i&&s>f)||!u&&(i&&Math.abs(d)<1||!i&&-s>d))&&(c=!0),c},VS=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},Ine=function(t){return[t.deltaX,t.deltaY]},Nne=function(t){return t&&"current"in t?t.current:t},BQe=function(t,e){return t[0]===e[0]&&t[1]===e[1]},CQe=function(t){return` .block-interactivity-`.concat(t,` {pointer-events: none;} .allow-interactivity-`).concat(t,` {pointer-events: all;} `)},bQe=0,ey=[];function wQe(t){var e=E.useRef([]),r=E.useRef([0,0]),n=E.useRef(),i=E.useState(bQe++)[0],o=E.useState(SBe)[0],s=E.useRef(t);E.useEffect(function(){s.current=t},[t]),E.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(i));var A=HUe([t.lockRef.current],(t.shards||[]).map(Nne),!0).filter(Boolean);return A.forEach(function(g){return g.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),A.forEach(function(g){return g.classList.remove("allow-interactivity-".concat(i))})}}},[t.inert,t.lockRef.current,t.shards]);var a=E.useCallback(function(A,g){if("touches"in A&&A.touches.length===2||A.type==="wheel"&&A.ctrlKey)return!s.current.allowPinchZoom;var m=VS(A),v=r.current,y="deltaX"in A?A.deltaX:v[0]-m[0],b="deltaY"in A?A.deltaY:v[1]-m[1],B,S=A.target,w=Math.abs(y)>Math.abs(b)?"h":"v";if("touches"in A&&w==="h"&&S.type==="range")return!1;var x=Pne(w,S);if(!x)return!0;if(x?B=w:(B=w==="v"?"h":"v",x=Pne(w,S)),!x)return!1;if(!n.current&&"changedTouches"in A&&(y||b)&&(n.current=B),!B)return!0;var I=n.current||B;return yQe(I,g,A,I==="h"?y:b,!0)},[]),l=E.useCallback(function(A){var g=A;if(!(!ey.length||ey[ey.length-1]!==o)){var m="deltaY"in g?Ine(g):VS(g),v=e.current.filter(function(B){return B.name===g.type&&(B.target===g.target||g.target===B.shadowParent)&&BQe(B.delta,m)})[0];if(v&&v.should){g.cancelable&&g.preventDefault();return}if(!v){var y=(s.current.shards||[]).map(Nne).filter(Boolean).filter(function(B){return B.contains(g.target)}),b=y.length>0?a(g,y[0]):!s.current.noIsolation;b&&g.cancelable&&g.preventDefault()}}},[]),c=E.useCallback(function(A,g,m,v){var y={name:A,delta:g,target:m,should:v,shadowParent:xQe(m)};e.current.push(y),setTimeout(function(){e.current=e.current.filter(function(b){return b!==y})},1)},[]),u=E.useCallback(function(A){r.current=VS(A),n.current=void 0},[]),f=E.useCallback(function(A){c(A.type,Ine(A),A.target,a(A,t.lockRef.current))},[]),d=E.useCallback(function(A){c(A.type,VS(A),A.target,a(A,t.lockRef.current))},[]);E.useEffect(function(){return ey.push(o),t.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",l,Zv),document.addEventListener("touchmove",l,Zv),document.addEventListener("touchstart",u,Zv),function(){ey=ey.filter(function(A){return A!==o}),document.removeEventListener("wheel",l,Zv),document.removeEventListener("touchmove",l,Zv),document.removeEventListener("touchstart",u,Zv)}},[]);var p=t.removeScrollBar,h=t.inert;return E.createElement(E.Fragment,null,h?E.createElement(o,{styles:CQe(i)}):null,p?E.createElement(dQe,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function xQe(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const SQe=ZUe(xBe,wQe);var OBe=E.forwardRef(function(t,e){return E.createElement(VP,Kd({},t,{ref:e,sideCar:SQe}))});OBe.classNames=VP.classNames;const EQe=OBe;function S7(t,e){let r=t;for(;(r=r.parentElement)&&!r.matches(e););return r}function DQe(t,e,r){for(let n=t-1;n>=0;n-=1)if(!e[n].disabled)return n;if(r){for(let n=e.length-1;n>-1;n-=1)if(!e[n].disabled)return n}return t}function kQe(t,e,r){for(let n=t+1;n<e.length;n+=1)if(!e[n].disabled)return n;if(r){for(let n=0;n<e.length;n+=1)if(!e[n].disabled)return n}return t}function OQe(t,e,r){return S7(t,r)===S7(e,r)}function PQe({parentSelector:t,siblingSelector:e,onKeyDown:r,loop:n=!0,activateOnFocus:i=!1,dir:o="rtl",orientation:s}){return a=>{var l;r?.(a);const c=Array.from(((l=S7(a.currentTarget,t))==null?void 0:l.querySelectorAll(e))||[]).filter(A=>OQe(a.currentTarget,A,t)),u=c.findIndex(A=>a.currentTarget===A),f=kQe(u,c,n),d=DQe(u,c,n),p=o==="rtl"?d:f,h=o==="rtl"?f:d;switch(a.key){case"ArrowRight":{s==="horizontal"&&(a.stopPropagation(),a.preventDefault(),c[p].focus(),i&&c[p].click());break}case"ArrowLeft":{s==="horizontal"&&(a.stopPropagation(),a.preventDefault(),c[h].focus(),i&&c[h].click());break}case"ArrowUp":{s==="vertical"&&(a.stopPropagation(),a.preventDefault(),c[d].focus(),i&&c[d].click());break}case"ArrowDown":{s==="vertical"&&(a.stopPropagation(),a.preventDefault(),c[f].focus(),i&&c[f].click());break}case"Home":{a.stopPropagation(),a.preventDefault(),!c[0].disabled&&c[0].focus();break}case"End":{a.stopPropagation(),a.preventDefault();const A=c.length-1;!c[A].disabled&&c[A].focus();break}}}}function IQe(t,e,r){var n;return r?Array.from(((n=S7(r,e))==null?void 0:n.querySelectorAll(t))||[]).findIndex(i=>i===r):null}function $P(t){const e=E.createContext(null);return[({children:i,value:o})=>ve.createElement(e.Provider,{value:o},i),()=>{const i=E.useContext(e);if(i===null)throw new Error(t);return i}]}function PBe(t){return Array.isArray(t)?t:[t]}const IBe=()=>{};function NQe(t,e={active:!0}){return typeof t!="function"||!e.active?e.onKeyDown||IBe:r=>{var n;r.key==="Escape"&&(t(r),(n=e.onTrigger)==null||n.call(e))}}function EA(t,e){return r=>{t?.(r),e?.(r)}}function FQe(){const[t,e]=E.useState(-1);return[t,{setHovered:e,resetHovered:()=>e(-1)}]}function TQe({data:t}){const e=[],r=[],n=t.reduce((i,o,s)=>(o.group?i[o.group]?i[o.group].push(s):i[o.group]=[s]:r.push(s),i),{});return Object.keys(n).forEach(i=>{e.push(...n[i].map(o=>t[o]))}),e.push(...r.map(i=>t[i])),e}function T3(t){return Array.isArray(t)||t===null?!1:typeof t=="object"?t.type!==ve.Fragment:!1}function NBe(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(r=NBe(t[e]))&&(n&&(n+=" "),n+=r);else for(e in t)t[e]&&(n&&(n+=" "),n+=e);return n}function L3(){for(var t=0,e,r,n="";t<arguments.length;)(e=arguments[t++])&&(r=NBe(e))&&(n&&(n+=" "),n+=r);return n}const LQe={dark:["#C1C2C5","#A6A7AB","#909296","#5c5f66","#373A40","#2C2E33","#25262b","#1A1B1E","#141517","#101113"],gray:["#f8f9fa","#f1f3f5","#e9ecef","#dee2e6","#ced4da","#adb5bd","#868e96","#495057","#343a40","#212529"],red:["#fff5f5","#ffe3e3","#ffc9c9","#ffa8a8","#ff8787","#ff6b6b","#fa5252","#f03e3e","#e03131","#c92a2a"],pink:["#fff0f6","#ffdeeb","#fcc2d7","#faa2c1","#f783ac","#f06595","#e64980","#d6336c","#c2255c","#a61e4d"],grape:["#f8f0fc","#f3d9fa","#eebefa","#e599f7","#da77f2","#cc5de8","#be4bdb","#ae3ec9","#9c36b5","#862e9c"],violet:["#f3f0ff","#e5dbff","#d0bfff","#b197fc","#9775fa","#845ef7","#7950f2","#7048e8","#6741d9","#5f3dc4"],indigo:["#edf2ff","#dbe4ff","#bac8ff","#91a7ff","#748ffc","#5c7cfa","#4c6ef5","#4263eb","#3b5bdb","#364fc7"],blue:["#e7f5ff","#d0ebff","#a5d8ff","#74c0fc","#4dabf7","#339af0","#228be6","#1c7ed6","#1971c2","#1864ab"],cyan:["#e3fafc","#c5f6fa","#99e9f2","#66d9e8","#3bc9db","#22b8cf","#15aabf","#1098ad","#0c8599","#0b7285"],teal:["#e6fcf5","#c3fae8","#96f2d7","#63e6be","#38d9a9","#20c997","#12b886","#0ca678","#099268","#087f5b"],green:["#ebfbee","#d3f9d8","#b2f2bb","#8ce99a","#69db7c","#51cf66","#40c057","#37b24d","#2f9e44","#2b8a3e"],lime:["#f4fce3","#e9fac8","#d8f5a2","#c0eb75","#a9e34b","#94d82d","#82c91e","#74b816","#66a80f","#5c940d"],yellow:["#fff9db","#fff3bf","#ffec99","#ffe066","#ffd43b","#fcc419","#fab005","#f59f00","#f08c00","#e67700"],orange:["#fff4e6","#ffe8cc","#ffd8a8","#ffc078","#ffa94d","#ff922b","#fd7e14","#f76707","#e8590c","#d9480f"]};function RQe(t){return()=>({fontFamily:t.fontFamily||"sans-serif"})}var MQe=Object.defineProperty,Fne=Object.getOwnPropertySymbols,_Qe=Object.prototype.hasOwnProperty,jQe=Object.prototype.propertyIsEnumerable,Tne=(t,e,r)=>e in t?MQe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Lne=(t,e)=>{for(var r in e||(e={}))_Qe.call(e,r)&&Tne(t,r,e[r]);if(Fne)for(var r of Fne(e))jQe.call(e,r)&&Tne(t,r,e[r]);return t};function UQe(t){return e=>({WebkitTapHighlightColor:"transparent",[e||"&:focus"]:Lne({},t.focusRing==="always"||t.focusRing==="auto"?t.focusRingStyles.styles(t):t.focusRingStyles.resetStyles(t)),[e?e.replace(":focus",":focus:not(:focus-visible)"):"&:focus:not(:focus-visible)"]:Lne({},t.focusRing==="auto"||t.focusRing==="never"?t.focusRingStyles.resetStyles(t):null)})}function R3(t){return e=>typeof t.primaryShade=="number"?t.primaryShade:t.primaryShade[e||t.colorScheme]}function _X(t){const e=R3(t);return(r,n,i=!0,o=!0)=>{if(typeof r=="string"&&r.includes(".")){const[a,l]=r.split("."),c=parseInt(l,10);if(a in t.colors&&c>=0&&c<10)return t.colors[a][typeof n=="number"&&!o?n:c]}const s=typeof n=="number"?n:e();return r in t.colors?t.colors[r][s]:i?t.colors[t.primaryColor][s]:r}}function FBe(t){let e="";for(let r=1;r<t.length-1;r+=1)e+=`${t[r]} ${r/(t.length-1)*100}%, `;return`${t[0]} 0%, ${e}${t[t.length-1]} 100%`}function QQe(t,...e){return`linear-gradient(${t}deg, ${FBe(e)})`}function VQe(...t){return`radial-gradient(circle, ${FBe(t)})`}function TBe(t){const e=_X(t),r=R3(t);return n=>{const i={from:n?.from||t.defaultGradient.from,to:n?.to||t.defaultGradient.to,deg:n?.deg||t.defaultGradient.deg};return`linear-gradient(${i.deg}deg, ${e(i.from,r(),!1)} 0%, ${e(i.to,r(),!1)} 100%)`}}function LBe(t){return e=>{if(typeof e=="number")return`${e/16}${t}`;if(typeof e=="string"){const r=e.replace("px","");if(!Number.isNaN(Number(r)))return`${Number(r)/16}${t}`}return e}}const $e=LBe("rem"),HP=LBe("em");function Yt({size:t,sizes:e,units:r}){return t in e?e[t]:typeof t=="number"?r==="em"?HP(t):$e(t):t||e.md}function aB(t){return typeof t=="number"?t:typeof t=="string"&&t.includes("rem")?Number(t.replace("rem",""))*16:typeof t=="string"&&t.includes("em")?Number(t.replace("em",""))*16:Number(t)}function $Qe(t){return e=>`@media (min-width: ${HP(aB(Yt({size:e,sizes:t.breakpoints})))})`}function HQe(t){return e=>`@media (max-width: ${HP(aB(Yt({size:e,sizes:t.breakpoints}))-1)})`}function GQe(t){return/^#?([0-9A-F]{3}){1,2}$/i.test(t)}function WQe(t){let e=t.replace("#","");if(e.length===3){const s=e.split("");e=[s[0],s[0],s[1],s[1],s[2],s[2]].join("")}const r=parseInt(e,16),n=r>>16&255,i=r>>8&255,o=r&255;return{r:n,g:i,b:o,a:1}}function zQe(t){const[e,r,n,i]=t.replace(/[^0-9,.]/g,"").split(",").map(Number);return{r:e,g:r,b:n,a:i||1}}function jX(t){return GQe(t)?WQe(t):t.startsWith("rgb")?zQe(t):{r:0,g:0,b:0,a:1}}function My(t,e){if(typeof t!="string"||e>1||e<0)return"rgba(0, 0, 0, 1)";if(t.startsWith("var(--"))return t;const{r,g:n,b:i}=jX(t);return`rgba(${r}, ${n}, ${i}, ${e})`}function KQe(t=0){return{position:"absolute",top:$e(t),right:$e(t),left:$e(t),bottom:$e(t)}}function qQe(t,e){if(typeof t=="string"&&t.startsWith("var(--"))return t;const{r,g:n,b:i,a:o}=jX(t),s=1-e,a=l=>Math.round(l*s);return`rgba(${a(r)}, ${a(n)}, ${a(i)}, ${o})`}function XQe(t,e){if(typeof t=="string"&&t.startsWith("var(--"))return t;const{r,g:n,b:i,a:o}=jX(t),s=a=>Math.round(a+(255-a)*e);return`rgba(${s(r)}, ${s(n)}, ${s(i)}, ${o})`}function YQe(t){return e=>{if(typeof e=="number")return $e(e);const r=typeof t.defaultRadius=="number"?t.defaultRadius:t.radius[t.defaultRadius]||t.defaultRadius;return t.radius[e]||e||r}}function JQe(t,e){if(typeof t=="string"&&t.includes(".")){const[r,n]=t.split("."),i=parseInt(n,10);if(r in e.colors&&i>=0&&i<10)return{isSplittedColor:!0,key:r,shade:i}}return{isSplittedColor:!1}}function ZQe(t){const e=_X(t),r=R3(t),n=TBe(t);return({variant:i,color:o,gradient:s,primaryFallback:a})=>{const l=JQe(o,t);switch(i){case"light":return{border:"transparent",background:My(e(o,t.colorScheme==="dark"?8:0,a,!1),t.colorScheme==="dark"?.2:1),color:o==="dark"?t.colorScheme==="dark"?t.colors.dark[0]:t.colors.dark[9]:e(o,t.colorScheme==="dark"?2:r("light")),hover:My(e(o,t.colorScheme==="dark"?7:1,a,!1),t.colorScheme==="dark"?.25:.65)};case"subtle":return{border:"transparent",background:"transparent",color:o==="dark"?t.colorScheme==="dark"?t.colors.dark[0]:t.colors.dark[9]:e(o,t.colorScheme==="dark"?2:r("light")),hover:My(e(o,t.colorScheme==="dark"?8:0,a,!1),t.colorScheme==="dark"?.2:1)};case"outline":return{border:e(o,t.colorScheme==="dark"?5:r("light")),background:"transparent",color:e(o,t.colorScheme==="dark"?5:r("light")),hover:t.colorScheme==="dark"?My(e(o,5,a,!1),.05):My(e(o,0,a,!1),.35)};case"default":return{border:t.colorScheme==="dark"?t.colors.dark[4]:t.colors.gray[4],background:t.colorScheme==="dark"?t.colors.dark[6]:t.white,color:t.colorScheme==="dark"?t.white:t.black,hover:t.colorScheme==="dark"?t.colors.dark[5]:t.colors.gray[0]};case"white":return{border:"transparent",background:t.white,color:e(o,r()),hover:null};case"transparent":return{border:"transparent",color:o==="dark"?t.colorScheme==="dark"?t.colors.dark[0]:t.colors.dark[9]:e(o,t.colorScheme==="dark"?2:r("light")),background:"transparent",hover:null};case"gradient":return{background:n(s),color:t.white,border:"transparent",hover:null};default:{const c=r(),u=l.isSplittedColor?l.shade:c,f=l.isSplittedColor?l.key:o;return{border:"transparent",background:e(f,u,a),color:t.white,hover:e(f,u===9?8:u+1)}}}}}function eVe(t){return e=>{const r=R3(t)(e);return t.colors[t.primaryColor][r]}}function tVe(t){return{"@media (hover: hover)":{"&:hover":t},"@media (hover: none)":{"&:active":t}}}function rVe(t){return()=>({userSelect:"none",color:t.colorScheme==="dark"?t.colors.dark[3]:t.colors.gray[5]})}function nVe(t){return()=>t.colorScheme==="dark"?t.colors.dark[2]:t.colors.gray[6]}const Es={fontStyles:RQe,themeColor:_X,focusStyles:UQe,linearGradient:QQe,radialGradient:VQe,smallerThan:HQe,largerThan:$Qe,rgba:My,cover:KQe,darken:qQe,lighten:XQe,radius:YQe,variant:ZQe,primaryShade:R3,hover:tVe,gradient:TBe,primaryColor:eVe,placeholderStyles:rVe,dimmed:nVe};var iVe=Object.defineProperty,oVe=Object.defineProperties,sVe=Object.getOwnPropertyDescriptors,Rne=Object.getOwnPropertySymbols,aVe=Object.prototype.hasOwnProperty,lVe=Object.prototype.propertyIsEnumerable,Mne=(t,e,r)=>e in t?iVe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,cVe=(t,e)=>{for(var r in e||(e={}))aVe.call(e,r)&&Mne(t,r,e[r]);if(Rne)for(var r of Rne(e))lVe.call(e,r)&&Mne(t,r,e[r]);return t},uVe=(t,e)=>oVe(t,sVe(e));function RBe(t){return uVe(cVe({},t),{fn:{fontStyles:Es.fontStyles(t),themeColor:Es.themeColor(t),focusStyles:Es.focusStyles(t),largerThan:Es.largerThan(t),smallerThan:Es.smallerThan(t),radialGradient:Es.radialGradient,linearGradient:Es.linearGradient,gradient:Es.gradient(t),rgba:Es.rgba,cover:Es.cover,lighten:Es.lighten,darken:Es.darken,primaryShade:Es.primaryShade(t),radius:Es.radius(t),variant:Es.variant(t),hover:Es.hover,primaryColor:Es.primaryColor(t),placeholderStyles:Es.placeholderStyles(t),dimmed:Es.dimmed(t)}})}const fVe={dir:"ltr",primaryShade:{light:6,dark:8},focusRing:"auto",loader:"oval",colorScheme:"light",white:"#fff",black:"#000",defaultRadius:"sm",transitionTimingFunction:"ease",colors:LQe,lineHeight:1.55,fontFamily:"-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji",fontFamilyMonospace:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",primaryColor:"blue",respectReducedMotion:!0,cursorType:"default",defaultGradient:{from:"indigo",to:"cyan",deg:45},shadows:{xs:"0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.05), 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.1)",sm:"0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 0.625rem 0.9375rem -0.3125rem, rgba(0, 0, 0, 0.04) 0 0.4375rem 0.4375rem -0.3125rem",md:"0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 1.25rem 1.5625rem -0.3125rem, rgba(0, 0, 0, 0.04) 0 0.625rem 0.625rem -0.3125rem",lg:"0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 1.75rem 1.4375rem -0.4375rem, rgba(0, 0, 0, 0.04) 0 0.75rem 0.75rem -0.4375rem",xl:"0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 2.25rem 1.75rem -0.4375rem, rgba(0, 0, 0, 0.04) 0 1.0625rem 1.0625rem -0.4375rem"},fontSizes:{xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem"},radius:{xs:"0.125rem",sm:"0.25rem",md:"0.5rem",lg:"1rem",xl:"2rem"},spacing:{xs:"0.625rem",sm:"0.75rem",md:"1rem",lg:"1.25rem",xl:"1.5rem"},breakpoints:{xs:"36em",sm:"48em",md:"62em",lg:"75em",xl:"88em"},headings:{fontFamily:"-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji",fontWeight:700,sizes:{h1:{fontSize:"2.125rem",lineHeight:1.3,fontWeight:void 0},h2:{fontSize:"1.625rem",lineHeight:1.35,fontWeight:void 0},h3:{fontSize:"1.375rem",lineHeight:1.4,fontWeight:void 0},h4:{fontSize:"1.125rem",lineHeight:1.45,fontWeight:void 0},h5:{fontSize:"1rem",lineHeight:1.5,fontWeight:void 0},h6:{fontSize:"0.875rem",lineHeight:1.5,fontWeight:void 0}}},other:{},components:{},activeStyles:{transform:"translateY(0.0625rem)"},datesLocale:"en",globalStyles:void 0,focusRingStyles:{styles:t=>({outlineOffset:"0.125rem",outline:`0.125rem solid ${t.colors[t.primaryColor][t.colorScheme==="dark"?7:5]}`}),resetStyles:()=>({outline:"none"}),inputStyles:t=>({outline:"none",borderColor:t.colors[t.primaryColor][typeof t.primaryShade=="object"?t.primaryShade[t.colorScheme]:t.primaryShade]})}},UX=RBe(fVe);var dVe=!1;function pVe(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function AVe(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var hVe=function(){function t(r){var n=this;this._insertTag=function(i){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,o),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!dVe:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(n){n.forEach(this._insertTag)},e.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(AVe(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=pVe(i);try{o.insertRule(n,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(n));this.ctr++},e.flush=function(){this.tags.forEach(function(n){var i;return(i=n.parentNode)==null?void 0:i.removeChild(n)}),this.tags=[],this.ctr=0},t}(),_a="-ms-",E7="-moz-",ui="-webkit-",MBe="comm",QX="rule",VX="decl",mVe="@import",_Be="@keyframes",gVe="@layer",vVe=Math.abs,GP=String.fromCharCode,yVe=Object.assign;function BVe(t,e){return pa(t,0)^45?(((e<<2^pa(t,0))<<2^pa(t,1))<<2^pa(t,2))<<2^pa(t,3):0}function jBe(t){return t.trim()}function CVe(t,e){return(t=e.exec(t))?t[0]:t}function fi(t,e,r){return t.replace(e,r)}function sV(t,e){return t.indexOf(e)}function pa(t,e){return t.charCodeAt(e)|0}function c4(t,e,r){return t.slice(e,r)}function Qd(t){return t.length}function $X(t){return t.length}function $S(t,e){return e.push(t),t}function bVe(t,e){return t.map(e).join("")}var WP=1,lB=1,UBe=0,oc=0,gs=0,lC="";function zP(t,e,r,n,i,o,s){return{value:t,root:e,parent:r,type:n,props:i,children:o,line:WP,column:lB,length:s,return:""}}function Ib(t,e){return yVe(zP("",null,null,"",null,null,0),t,{length:-t.length},e)}function wVe(){return gs}function xVe(){return gs=oc>0?pa(lC,--oc):0,lB--,gs===10&&(lB=1,WP--),gs}function _c(){return gs=oc<UBe?pa(lC,oc++):0,lB++,gs===10&&(lB=1,WP++),gs}function Ap(){return pa(lC,oc)}function zE(){return oc}function M3(t,e){return c4(lC,t,e)}function u4(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function QBe(t){return WP=lB=1,UBe=Qd(lC=t),oc=0,[]}function VBe(t){return lC="",t}function KE(t){return jBe(M3(oc-1,aV(t===91?t+2:t===40?t+1:t)))}function SVe(t){for(;(gs=Ap())&&gs<33;)_c();return u4(t)>2||u4(gs)>3?"":" "}function EVe(t,e){for(;--e&&_c()&&!(gs<48||gs>102||gs>57&&gs<65||gs>70&&gs<97););return M3(t,zE()+(e<6&&Ap()==32&&_c()==32))}function aV(t){for(;_c();)switch(gs){case t:return oc;case 34:case 39:t!==34&&t!==39&&aV(gs);break;case 40:t===41&&aV(t);break;case 92:_c();break}return oc}function DVe(t,e){for(;_c()&&t+gs!==47+10;)if(t+gs===42+42&&Ap()===47)break;return"/*"+M3(e,oc-1)+"*"+GP(t===47?t:_c())}function kVe(t){for(;!u4(Ap());)_c();return M3(t,oc)}function OVe(t){return VBe(qE("",null,null,null,[""],t=QBe(t),0,[0],t))}function qE(t,e,r,n,i,o,s,a,l){for(var c=0,u=0,f=s,d=0,p=0,h=0,A=1,g=1,m=1,v=0,y="",b=i,B=o,S=n,w=y;g;)switch(h=v,v=_c()){case 40:if(h!=108&&pa(w,f-1)==58){sV(w+=fi(KE(v),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:w+=KE(v);break;case 9:case 10:case 13:case 32:w+=SVe(h);break;case 92:w+=EVe(zE()-1,7);continue;case 47:switch(Ap()){case 42:case 47:$S(PVe(DVe(_c(),zE()),e,r),l);break;default:w+="/"}break;case 123*A:a[c++]=Qd(w)*m;case 125*A:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:m==-1&&(w=fi(w,/\f/g,"")),p>0&&Qd(w)-f&&$S(p>32?jne(w+";",n,r,f-1):jne(fi(w," ","")+";",n,r,f-2),l);break;case 59:w+=";";default:if($S(S=_ne(w,e,r,c,u,i,a,y,b=[],B=[],f),o),v===123)if(u===0)qE(w,e,S,S,b,o,f,a,B);else switch(d===99&&pa(w,3)===110?100:d){case 100:case 108:case 109:case 115:qE(t,S,S,n&&$S(_ne(t,S,S,0,0,i,a,y,i,b=[],f),B),i,B,f,a,n?b:B);break;default:qE(w,S,S,S,[""],B,0,a,B)}}c=u=p=0,A=m=1,y=w="",f=s;break;case 58:f=1+Qd(w),p=h;default:if(A<1){if(v==123)--A;else if(v==125&&A++==0&&xVe()==125)continue}switch(w+=GP(v),v*A){case 38:m=u>0?1:(w+="\f",-1);break;case 44:a[c++]=(Qd(w)-1)*m,m=1;break;case 64:Ap()===45&&(w+=KE(_c())),d=Ap(),u=f=Qd(y=w+=kVe(zE())),v++;break;case 45:h===45&&Qd(w)==2&&(A=0)}}return o}function _ne(t,e,r,n,i,o,s,a,l,c,u){for(var f=i-1,d=i===0?o:[""],p=$X(d),h=0,A=0,g=0;h<n;++h)for(var m=0,v=c4(t,f+1,f=vVe(A=s[h])),y=t;m<p;++m)(y=jBe(A>0?d[m]+" "+v:fi(v,/&\f/g,d[m])))&&(l[g++]=y);return zP(t,e,r,i===0?QX:a,l,c,u)}function PVe(t,e,r){return zP(t,e,r,MBe,GP(wVe()),c4(t,2,-2),0)}function jne(t,e,r,n){return zP(t,e,r,VX,c4(t,0,n),c4(t,n+1,-1),n)}function O2(t,e){for(var r="",n=$X(t),i=0;i<n;i++)r+=e(t[i],i,t,e)||"";return r}function IVe(t,e,r,n){switch(t.type){case gVe:if(t.children.length)break;case mVe:case VX:return t.return=t.return||t.value;case MBe:return"";case _Be:return t.return=t.value+"{"+O2(t.children,n)+"}";case QX:t.value=t.props.join(",")}return Qd(r=O2(t.children,n))?t.return=t.value+"{"+r+"}":""}function NVe(t){var e=$X(t);return function(r,n,i,o){for(var s="",a=0;a<e;a++)s+=t[a](r,n,i,o)||"";return s}}function FVe(t){return function(e){e.root||(e=e.return)&&t(e)}}var Une=function(e){var r=new WeakMap;return function(n){if(r.has(n))return r.get(n);var i=e(n);return r.set(n,i),i}};function TVe(t){var e=Object.create(null);return function(r){return e[r]===void 0&&(e[r]=t(r)),e[r]}}var LVe=function(e,r,n){for(var i=0,o=0;i=o,o=Ap(),i===38&&o===12&&(r[n]=1),!u4(o);)_c();return M3(e,oc)},RVe=function(e,r){var n=-1,i=44;do switch(u4(i)){case 0:i===38&&Ap()===12&&(r[n]=1),e[n]+=LVe(oc-1,r,n);break;case 2:e[n]+=KE(i);break;case 4:if(i===44){e[++n]=Ap()===58?"&\f":"",r[n]=e[n].length;break}default:e[n]+=GP(i)}while(i=_c());return e},MVe=function(e,r){return VBe(RVe(QBe(e),r))},Qne=new WeakMap,_Ve=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var r=e.value,n=e.parent,i=e.column===n.column&&e.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(e.props.length===1&&r.charCodeAt(0)!==58&&!Qne.get(n))&&!i){Qne.set(e,!0);for(var o=[],s=MVe(r,o),a=n.props,l=0,c=0;l<s.length;l++)for(var u=0;u<a.length;u++,c++)e.props[c]=o[l]?s[l].replace(/&\f/g,a[u]):a[u]+" "+s[l]}}},jVe=function(e){if(e.type==="decl"){var r=e.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(e.return="",e.value="")}};function $Be(t,e){switch(BVe(t,e)){case 5103:return ui+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ui+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return ui+t+E7+t+_a+t+t;case 6828:case 4268:return ui+t+_a+t+t;case 6165:return ui+t+_a+"flex-"+t+t;case 5187:return ui+t+fi(t,/(\w+).+(:[^]+)/,ui+"box-$1$2"+_a+"flex-$1$2")+t;case 5443:return ui+t+_a+"flex-item-"+fi(t,/flex-|-self/,"")+t;case 4675:return ui+t+_a+"flex-line-pack"+fi(t,/align-content|flex-|-self/,"")+t;case 5548:return ui+t+_a+fi(t,"shrink","negative")+t;case 5292:return ui+t+_a+fi(t,"basis","preferred-size")+t;case 6060:return ui+"box-"+fi(t,"-grow","")+ui+t+_a+fi(t,"grow","positive")+t;case 4554:return ui+fi(t,/([^-])(transform)/g,"$1"+ui+"$2")+t;case 6187:return fi(fi(fi(t,/(zoom-|grab)/,ui+"$1"),/(image-set)/,ui+"$1"),t,"")+t;case 5495:case 3959:return fi(t,/(image-set\([^]*)/,ui+"$1$`$1");case 4968:return fi(fi(t,/(.+:)(flex-)?(.*)/,ui+"box-pack:$3"+_a+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ui+t+t;case 4095:case 3583:case 4068:case 2532:return fi(t,/(.+)-inline(.+)/,ui+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Qd(t)-1-e>6)switch(pa(t,e+1)){case 109:if(pa(t,e+4)!==45)break;case 102:return fi(t,/(.+:)(.+)-([^]+)/,"$1"+ui+"$2-$3$1"+E7+(pa(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~sV(t,"stretch")?$Be(fi(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(pa(t,e+1)!==115)break;case 6444:switch(pa(t,Qd(t)-3-(~sV(t,"!important")&&10))){case 107:return fi(t,":",":"+ui)+t;case 101:return fi(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ui+(pa(t,14)===45?"inline-":"")+"box$3$1"+ui+"$2$3$1"+_a+"$2box$3")+t}break;case 5936:switch(pa(t,e+11)){case 114:return ui+t+_a+fi(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return ui+t+_a+fi(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return ui+t+_a+fi(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return ui+t+_a+t+t}return t}var UVe=function(e,r,n,i){if(e.length>-1&&!e.return)switch(e.type){case VX:e.return=$Be(e.value,e.length);break;case _Be:return O2([Ib(e,{value:fi(e.value,"@","@"+ui)})],i);case QX:if(e.length)return bVe(e.props,function(o){switch(CVe(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return O2([Ib(e,{props:[fi(o,/:(read-\w+)/,":"+E7+"$1")]})],i);case"::placeholder":return O2([Ib(e,{props:[fi(o,/:(plac\w+)/,":"+ui+"input-$1")]}),Ib(e,{props:[fi(o,/:(plac\w+)/,":"+E7+"$1")]}),Ib(e,{props:[fi(o,/:(plac\w+)/,_a+"input-$1")]})],i)}return""})}},QVe=[UVe],HBe=function(e){var r=e.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(A){var g=A.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(A),A.setAttribute("data-s",""))})}var i=e.stylisPlugins||QVe,o={},s,a=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(A){for(var g=A.getAttribute("data-emotion").split(" "),m=1;m<g.length;m++)o[g[m]]=!0;a.push(A)});var l,c=[_Ve,jVe];{var u,f=[IVe,FVe(function(A){u.insert(A)})],d=NVe(c.concat(i,f)),p=function(g){return O2(OVe(g),d)};l=function(g,m,v,y){u=v,p(g?g+"{"+m.styles+"}":m.styles),y&&(h.inserted[m.name]=!0)}}var h={key:r,sheet:new hVe({key:r,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:o,registered:{},insert:l};return h.sheet.hydrate(a),h};function co(){return co=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},co.apply(null,arguments)}var GBe={exports:{}},Oi={};/** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var oa=typeof Symbol=="function"&&Symbol.for,HX=oa?Symbol.for("react.element"):60103,GX=oa?Symbol.for("react.portal"):60106,KP=oa?Symbol.for("react.fragment"):60107,qP=oa?Symbol.for("react.strict_mode"):60108,XP=oa?Symbol.for("react.profiler"):60114,YP=oa?Symbol.for("react.provider"):60109,JP=oa?Symbol.for("react.context"):60110,WX=oa?Symbol.for("react.async_mode"):60111,ZP=oa?Symbol.for("react.concurrent_mode"):60111,eI=oa?Symbol.for("react.forward_ref"):60112,tI=oa?Symbol.for("react.suspense"):60113,VVe=oa?Symbol.for("react.suspense_list"):60120,rI=oa?Symbol.for("react.memo"):60115,nI=oa?Symbol.for("react.lazy"):60116,$Ve=oa?Symbol.for("react.block"):60121,HVe=oa?Symbol.for("react.fundamental"):60117,GVe=oa?Symbol.for("react.responder"):60118,WVe=oa?Symbol.for("react.scope"):60119;function qc(t){if(typeof t=="object"&&t!==null){var e=t.$$typeof;switch(e){case HX:switch(t=t.type,t){case WX:case ZP:case KP:case XP:case qP:case tI:return t;default:switch(t=t&&t.$$typeof,t){case JP:case eI:case nI:case rI:case YP:return t;default:return e}}case GX:return e}}}function WBe(t){return qc(t)===ZP}Oi.AsyncMode=WX;Oi.ConcurrentMode=ZP;Oi.ContextConsumer=JP;Oi.ContextProvider=YP;Oi.Element=HX;Oi.ForwardRef=eI;Oi.Fragment=KP;Oi.Lazy=nI;Oi.Memo=rI;Oi.Portal=GX;Oi.Profiler=XP;Oi.StrictMode=qP;Oi.Suspense=tI;Oi.isAsyncMode=function(t){return WBe(t)||qc(t)===WX};Oi.isConcurrentMode=WBe;Oi.isContextConsumer=function(t){return qc(t)===JP};Oi.isContextProvider=function(t){return qc(t)===YP};Oi.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===HX};Oi.isForwardRef=function(t){return qc(t)===eI};Oi.isFragment=function(t){return qc(t)===KP};Oi.isLazy=function(t){return qc(t)===nI};Oi.isMemo=function(t){return qc(t)===rI};Oi.isPortal=function(t){return qc(t)===GX};Oi.isProfiler=function(t){return qc(t)===XP};Oi.isStrictMode=function(t){return qc(t)===qP};Oi.isSuspense=function(t){return qc(t)===tI};Oi.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===KP||t===ZP||t===XP||t===qP||t===tI||t===VVe||typeof t=="object"&&t!==null&&(t.$$typeof===nI||t.$$typeof===rI||t.$$typeof===YP||t.$$typeof===JP||t.$$typeof===eI||t.$$typeof===HVe||t.$$typeof===GVe||t.$$typeof===WVe||t.$$typeof===$Ve)};Oi.typeOf=qc;GBe.exports=Oi;var zVe=GBe.exports,zBe=zVe,KVe={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},qVe={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},KBe={};KBe[zBe.ForwardRef]=KVe;KBe[zBe.Memo]=qVe;var XVe=!0;function qBe(t,e,r){var n="";return r.split(" ").forEach(function(i){t[i]!==void 0?e.push(t[i]+";"):i&&(n+=i+" ")}),n}var XBe=function(e,r,n){var i=e.key+"-"+r.name;(n===!1||XVe===!1)&&e.registered[i]===void 0&&(e.registered[i]=r.styles)},zX=function(e,r,n){XBe(e,r,n);var i=e.key+"-"+r.name;if(e.inserted[r.name]===void 0){var o=r;do e.insert(r===o?"."+i:"",o,e.sheet,!0),o=o.next;while(o!==void 0)}};function YVe(t){for(var e=0,r,n=0,i=t.length;i>=4;++n,i-=4)r=t.charCodeAt(n)&255|(t.charCodeAt(++n)&255)<<8|(t.charCodeAt(++n)&255)<<16|(t.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,e=(r&65535)*1540483477+((r>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(t.charCodeAt(n+2)&255)<<16;case 2:e^=(t.charCodeAt(n+1)&255)<<8;case 1:e^=t.charCodeAt(n)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var JVe={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ZVe=!1,e$e=/[A-Z]|^ms/g,t$e=/_EMO_([^_]+?)_([^]*?)_EMO_/g,YBe=function(e){return e.charCodeAt(1)===45},Vne=function(e){return e!=null&&typeof e!="boolean"},hT=TVe(function(t){return YBe(t)?t:t.replace(e$e,"-$&").toLowerCase()}),$ne=function(e,r){switch(e){case"animation":case"animationName":if(typeof r=="string")return r.replace(t$e,function(n,i,o){return Vd={name:i,styles:o,next:Vd},i})}return JVe[e]!==1&&!YBe(e)&&typeof r=="number"&&r!==0?r+"px":r},r$e="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function f4(t,e,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var i=r;if(i.anim===1)return Vd={name:i.name,styles:i.styles,next:Vd},i.name;var o=r;if(o.styles!==void 0){var s=o.next;if(s!==void 0)for(;s!==void 0;)Vd={name:s.name,styles:s.styles,next:Vd},s=s.next;var a=o.styles+";";return a}return n$e(t,e,r)}case"function":{if(t!==void 0){var l=Vd,c=r(t);return Vd=l,f4(t,e,c)}break}}var u=r;if(e==null)return u;var f=e[u];return f!==void 0?f:u}function n$e(t,e,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=f4(t,e,r[i])+";";else for(var o in r){var s=r[o];if(typeof s!="object"){var a=s;e!=null&&e[a]!==void 0?n+=o+"{"+e[a]+"}":Vne(a)&&(n+=hT(o)+":"+$ne(o,a)+";")}else{if(o==="NO_COMPONENT_SELECTOR"&&ZVe)throw new Error(r$e);if(Array.isArray(s)&&typeof s[0]=="string"&&(e==null||e[s[0]]===void 0))for(var l=0;l<s.length;l++)Vne(s[l])&&(n+=hT(o)+":"+$ne(o,s[l])+";");else{var c=f4(t,e,s);switch(o){case"animation":case"animationName":{n+=hT(o)+":"+c+";";break}default:n+=o+"{"+c+"}"}}}}return n}var Hne=/label:\s*([^\s;{]+)\s*(;|$)/g,Vd;function KX(t,e,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var n=!0,i="";Vd=void 0;var o=t[0];if(o==null||o.raw===void 0)n=!1,i+=f4(r,e,o);else{var s=o;i+=s[0]}for(var a=1;a<t.length;a++)if(i+=f4(r,e,t[a]),n){var l=o;i+=l[a]}Hne.lastIndex=0;for(var c="",u;(u=Hne.exec(i))!==null;)c+="-"+u[1];var f=YVe(i)+c;return{name:f,styles:i,next:Vd}}var i$e=function(e){return e()},JBe=G5["useInsertionEffect"]?G5["useInsertionEffect"]:!1,o$e=JBe||i$e,Gne=JBe||E.useLayoutEffect,s$e=!1,ZBe=E.createContext(typeof HTMLElement<"u"?HBe({key:"css"}):null);ZBe.Provider;var eCe=function(e){return E.forwardRef(function(r,n){var i=E.useContext(ZBe);return e(r,i,n)})},D7=E.createContext({}),a$e=function(e,r){if(typeof r=="function"){var n=r(e);return n}return co({},e,r)},l$e=Une(function(t){return Une(function(e){return a$e(t,e)})}),c$e=function(e){var r=E.useContext(D7);return e.theme!==r&&(r=l$e(r)(e.theme)),E.createElement(D7.Provider,{value:r},e.children)},qX={}.hasOwnProperty,lV="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",u$e=function(e,r){var n={};for(var i in r)qX.call(r,i)&&(n[i]=r[i]);return n[lV]=e,n},f$e=function(e){var r=e.cache,n=e.serialized,i=e.isStringTag;return XBe(r,n,i),o$e(function(){return zX(r,n,i)}),null},d$e=eCe(function(t,e,r){var n=t.css;typeof n=="string"&&e.registered[n]!==void 0&&(n=e.registered[n]);var i=t[lV],o=[n],s="";typeof t.className=="string"?s=qBe(e.registered,o,t.className):t.className!=null&&(s=t.className+" ");var a=KX(o,void 0,E.useContext(D7));s+=e.key+"-"+a.name;var l={};for(var c in t)qX.call(t,c)&&c!=="css"&&c!==lV&&!s$e&&(l[c]=t[c]);return l.className=s,r&&(l.ref=r),E.createElement(E.Fragment,null,E.createElement(f$e,{cache:e,serialized:a,isStringTag:typeof i=="string"}),E.createElement(i,l))}),p$e=d$e,Wne=function(e,r){var n=arguments;if(r==null||!qX.call(r,"css"))return E.createElement.apply(void 0,n);var i=n.length,o=new Array(i);o[0]=p$e,o[1]=u$e(e,r);for(var s=2;s<i;s++)o[s]=n[s];return E.createElement.apply(null,o)};(function(t){var e;e||(e=t.JSX||(t.JSX={}))})(Wne||(Wne={}));var iI=eCe(function(t,e){var r=t.styles,n=KX([r],void 0,E.useContext(D7)),i=E.useRef();return Gne(function(){var o=e.key+"-global",s=new e.sheet.constructor({key:o,nonce:e.sheet.nonce,container:e.sheet.container,speedy:e.sheet.isSpeedy}),a=!1,l=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return e.sheet.tags.length&&(s.before=e.sheet.tags[0]),l!==null&&(a=!0,l.setAttribute("data-emotion",o),s.hydrate([l])),i.current=[s,a],function(){s.flush()}},[e]),Gne(function(){var o=i.current,s=o[0],a=o[1];if(a){o[1]=!1;return}if(n.next!==void 0&&zX(e,n.next,!0),s.tags.length){var l=s.tags[s.tags.length-1].nextElementSibling;s.before=l,s.flush()}e.insert("",n,s,!1)},[e,n.name]),null}),A$e=Object.defineProperty,h$e=Object.defineProperties,m$e=Object.getOwnPropertyDescriptors,zne=Object.getOwnPropertySymbols,g$e=Object.prototype.hasOwnProperty,v$e=Object.prototype.propertyIsEnumerable,Kne=(t,e,r)=>e in t?A$e(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,y$e=(t,e)=>{for(var r in e||(e={}))g$e.call(e,r)&&Kne(t,r,e[r]);if(zne)for(var r of zne(e))v$e.call(e,r)&&Kne(t,r,e[r]);return t},B$e=(t,e)=>h$e(t,m$e(e));function C$e({theme:t}){return ve.createElement(iI,{styles:{"*, *::before, *::after":{boxSizing:"border-box"},html:{colorScheme:t.colorScheme==="dark"?"dark":"light"},body:B$e(y$e({},t.fn.fontStyles()),{backgroundColor:t.colorScheme==="dark"?t.colors.dark[7]:t.white,color:t.colorScheme==="dark"?t.colors.dark[0]:t.black,lineHeight:t.lineHeight,fontSize:t.fontSizes.md,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"})}})}function Nb(t,e,r,n=$e){Object.keys(e).forEach(i=>{t[`--mantine-${r}-${i}`]=n(e[i])})}function b$e({theme:t}){const e={"--mantine-color-white":t.white,"--mantine-color-black":t.black,"--mantine-transition-timing-function":t.transitionTimingFunction,"--mantine-line-height":`${t.lineHeight}`,"--mantine-font-family":t.fontFamily,"--mantine-font-family-monospace":t.fontFamilyMonospace,"--mantine-font-family-headings":t.headings.fontFamily,"--mantine-heading-font-weight":`${t.headings.fontWeight}`};Nb(e,t.shadows,"shadow"),Nb(e,t.fontSizes,"font-size"),Nb(e,t.radius,"radius"),Nb(e,t.spacing,"spacing"),Nb(e,t.breakpoints,"breakpoints",HP),Object.keys(t.colors).forEach(n=>{t.colors[n].forEach((i,o)=>{e[`--mantine-color-${n}-${o}`]=i})});const r=t.headings.sizes;return Object.keys(r).forEach(n=>{e[`--mantine-${n}-font-size`]=r[n].fontSize,e[`--mantine-${n}-line-height`]=`${r[n].lineHeight}`}),ve.createElement(iI,{styles:{":root":e}})}var w$e=Object.defineProperty,x$e=Object.defineProperties,S$e=Object.getOwnPropertyDescriptors,qne=Object.getOwnPropertySymbols,E$e=Object.prototype.hasOwnProperty,D$e=Object.prototype.propertyIsEnumerable,Xne=(t,e,r)=>e in t?w$e(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,gd=(t,e)=>{for(var r in e||(e={}))E$e.call(e,r)&&Xne(t,r,e[r]);if(qne)for(var r of qne(e))D$e.call(e,r)&&Xne(t,r,e[r]);return t},mT=(t,e)=>x$e(t,S$e(e));function k$e(t,e){var r;if(!e)return t;const n=Object.keys(t).reduce((i,o)=>{if(o==="headings"&&e.headings){const s=e.headings.sizes?Object.keys(t.headings.sizes).reduce((a,l)=>(a[l]=gd(gd({},t.headings.sizes[l]),e.headings.sizes[l]),a),{}):t.headings.sizes;return mT(gd({},i),{headings:mT(gd(gd({},t.headings),e.headings),{sizes:s})})}if(o==="breakpoints"&&e.breakpoints){const s=gd(gd({},t.breakpoints),e.breakpoints);return mT(gd({},i),{breakpoints:Object.fromEntries(Object.entries(s).sort((a,l)=>aB(a[1])-aB(l[1])))})}return i[o]=typeof e[o]=="object"?gd(gd({},t[o]),e[o]):typeof e[o]=="number"||typeof e[o]=="boolean"||typeof e[o]=="function"?e[o]:e[o]||t[o],i},{});if(e?.fontFamily&&!((r=e?.headings)!=null&&r.fontFamily)&&(n.headings.fontFamily=e.fontFamily),!(n.primaryColor in n.colors))throw new Error("MantineProvider: Invalid theme.primaryColor, it accepts only key of theme.colors, learn more – https://mantine.dev/theming/colors/#primary-color");return n}function O$e(t,e){return RBe(k$e(t,e))}function tCe(t){return Object.keys(t).reduce((e,r)=>(t[r]!==void 0&&(e[r]=t[r]),e),{})}const P$e={html:{fontFamily:"sans-serif",lineHeight:"1.15",textSizeAdjust:"100%"},body:{margin:0},"article, aside, footer, header, nav, section, figcaption, figure, main":{display:"block"},h1:{fontSize:"2em"},hr:{boxSizing:"content-box",height:0,overflow:"visible"},pre:{fontFamily:"monospace, monospace",fontSize:"1em"},a:{background:"transparent",textDecorationSkip:"objects"},"a:active, a:hover":{outlineWidth:0},"abbr[title]":{borderBottom:"none",textDecoration:"underline"},"b, strong":{fontWeight:"bolder"},"code, kbp, samp":{fontFamily:"monospace, monospace",fontSize:"1em"},dfn:{fontStyle:"italic"},mark:{backgroundColor:"#ff0",color:"#000"},small:{fontSize:"80%"},"sub, sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sup:{top:"-0.5em"},sub:{bottom:"-0.25em"},"audio, video":{display:"inline-block"},"audio:not([controls])":{display:"none",height:0},img:{borderStyle:"none",verticalAlign:"middle"},"svg:not(:root)":{overflow:"hidden"},"button, input, optgroup, select, textarea":{fontFamily:"sans-serif",fontSize:"100%",lineHeight:"1.15",margin:0},"button, input":{overflow:"visible"},"button, select":{textTransform:"none"},"button, [type=reset], [type=submit]":{WebkitAppearance:"button"},"button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner":{borderStyle:"none",padding:0},"button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring":{outline:`${$e(1)} dotted ButtonText`},legend:{boxSizing:"border-box",color:"inherit",display:"table",maxWidth:"100%",padding:0,whiteSpace:"normal"},progress:{display:"inline-block",verticalAlign:"baseline"},textarea:{overflow:"auto"},"[type=checkbox], [type=radio]":{boxSizing:"border-box",padding:0},"[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button":{height:"auto"},"[type=search]":{appearance:"none"},"[type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration":{appearance:"none"},"::-webkit-file-upload-button":{appearance:"button",font:"inherit"},"details, menu":{display:"block"},summary:{display:"list-item"},canvas:{display:"inline-block"},template:{display:"none"}};function I$e(){return ve.createElement(iI,{styles:P$e})}var N$e=Object.defineProperty,Yne=Object.getOwnPropertySymbols,F$e=Object.prototype.hasOwnProperty,T$e=Object.prototype.propertyIsEnumerable,Jne=(t,e,r)=>e in t?N$e(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,u5=(t,e)=>{for(var r in e||(e={}))F$e.call(e,r)&&Jne(t,r,e[r]);if(Yne)for(var r of Yne(e))T$e.call(e,r)&&Jne(t,r,e[r]);return t};const k7=E.createContext({theme:UX});function wl(){var t;return((t=E.useContext(k7))==null?void 0:t.theme)||UX}function L$e(t){const e=wl(),r=n=>{var i,o,s,a;return{styles:((i=e.components[n])==null?void 0:i.styles)||{},classNames:((o=e.components[n])==null?void 0:o.classNames)||{},variants:(s=e.components[n])==null?void 0:s.variants,sizes:(a=e.components[n])==null?void 0:a.sizes}};return Array.isArray(t)?t.map(r):[r(t)]}function rCe(){var t;return(t=E.useContext(k7))==null?void 0:t.emotionCache}function Xr(t,e,r){var n;const i=wl(),o=(n=i.components[t])==null?void 0:n.defaultProps,s=typeof o=="function"?o(i):o;return u5(u5(u5({},e),s),tCe(r))}function nCe({theme:t,emotionCache:e,withNormalizeCSS:r=!1,withGlobalStyles:n=!1,withCSSVariables:i=!1,inherit:o=!1,children:s}){const a=E.useContext(k7),l=O$e(UX,o?u5(u5({},a.theme),t):t);return ve.createElement(c$e,{theme:l},ve.createElement(k7.Provider,{value:{theme:l,emotionCache:e}},r&&ve.createElement(I$e,null),n&&ve.createElement(C$e,{theme:l}),i&&ve.createElement(b$e,{theme:l}),typeof l.globalStyles=="function"&&ve.createElement(iI,{styles:l.globalStyles(l)}),s))}nCe.displayName="@mantine/core/MantineProvider";const R$e={app:100,modal:200,popover:300,overlay:400,max:9999};function iv(t){return R$e[t]}function M$e(t,e){const r=E.useRef();return(!r.current||e.length!==r.current.prevDeps.length||r.current.prevDeps.map((n,i)=>n===e[i]).indexOf(!1)>=0)&&(r.current={v:t(),prevDeps:[...e]}),r.current.v}const _$e=HBe({key:"mantine",prepend:!0});function j$e(){return rCe()||_$e}var U$e=Object.defineProperty,Zne=Object.getOwnPropertySymbols,Q$e=Object.prototype.hasOwnProperty,V$e=Object.prototype.propertyIsEnumerable,eie=(t,e,r)=>e in t?U$e(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,$$e=(t,e)=>{for(var r in e||(e={}))Q$e.call(e,r)&&eie(t,r,e[r]);if(Zne)for(var r of Zne(e))V$e.call(e,r)&&eie(t,r,e[r]);return t};const gT="ref";function H$e(t){let e;if(t.length!==1)return{args:t,ref:e};const[r]=t;if(!(r instanceof Object))return{args:t,ref:e};if(!(gT in r))return{args:t,ref:e};e=r[gT];const n=$$e({},r);return delete n[gT],{args:[n],ref:e}}const{cssFactory:G$e}=(()=>{function t(r,n,i){const o=[],s=qBe(r,o,i);return o.length<2?i:s+n(o)}function e(r){const{cache:n}=r,i=(...s)=>{const{ref:a,args:l}=H$e(s),c=KX(l,n.registered);return zX(n,c,!1),`${n.key}-${c.name}${a===void 0?"":` ${a}`}`};return{css:i,cx:(...s)=>t(n.registered,i,L3(s))}}return{cssFactory:e}})();function iCe(){const t=j$e();return M$e(()=>G$e({cache:t}),[t])}function W$e({cx:t,classes:e,context:r,classNames:n,name:i,cache:o}){const s=r.reduce((a,l)=>(Object.keys(l.classNames).forEach(c=>{typeof a[c]!="string"?a[c]=`${l.classNames[c]}`:a[c]=`${a[c]} ${l.classNames[c]}`}),a),{});return Object.keys(e).reduce((a,l)=>(a[l]=t(e[l],s[l],n!=null&&n[l],Array.isArray(i)?i.filter(Boolean).map(c=>`${o?.key||"mantine"}-${c}-${l}`).join(" "):i?`${o?.key||"mantine"}-${i}-${l}`:null),a),{})}var z$e=Object.defineProperty,tie=Object.getOwnPropertySymbols,K$e=Object.prototype.hasOwnProperty,q$e=Object.prototype.propertyIsEnumerable,rie=(t,e,r)=>e in t?z$e(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,vT=(t,e)=>{for(var r in e||(e={}))K$e.call(e,r)&&rie(t,r,e[r]);if(tie)for(var r of tie(e))q$e.call(e,r)&&rie(t,r,e[r]);return t};function cV(t,e){return e&&Object.keys(e).forEach(r=>{t[r]?t[r]=vT(vT({},t[r]),e[r]):t[r]=vT({},e[r])}),t}function nie(t,e,r,n){const i=o=>typeof o=="function"?o(e,r||{},n):o||{};return Array.isArray(t)?t.map(o=>i(o.styles)).reduce((o,s)=>cV(o,s),{}):i(t)}function X$e({ctx:t,theme:e,params:r,variant:n,size:i}){return t.reduce((o,s)=>(s.variants&&n in s.variants&&cV(o,s.variants[n](e,r,{variant:n,size:i})),s.sizes&&i in s.sizes&&cV(o,s.sizes[i](e,r,{variant:n,size:i})),o),{})}function Pn(t){const e=typeof t=="function"?t:()=>t;function r(n,i){const o=wl(),s=L$e(i?.name),a=rCe(),l={variant:i?.variant,size:i?.size},{css:c,cx:u}=iCe(),f=e(o,n,l),d=nie(i?.styles,o,n,l),p=nie(s,o,n,l),h=X$e({ctx:s,theme:o,params:n,variant:i?.variant,size:i?.size}),A=Object.fromEntries(Object.keys(f).map(g=>{const m=u({[c(f[g])]:!i?.unstyled},c(h[g]),c(p[g]),c(d[g]));return[g,m]}));return{classes:W$e({cx:u,classes:A,context:s,classNames:i?.classNames,name:i?.name,cache:a}),cx:u,theme:o}}return r}function Ns(t){return`___ref-${t||""}`}var Y$e=Object.defineProperty,J$e=Object.defineProperties,Z$e=Object.getOwnPropertyDescriptors,iie=Object.getOwnPropertySymbols,eHe=Object.prototype.hasOwnProperty,tHe=Object.prototype.propertyIsEnumerable,oie=(t,e,r)=>e in t?Y$e(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Fb=(t,e)=>{for(var r in e||(e={}))eHe.call(e,r)&&oie(t,r,e[r]);if(iie)for(var r of iie(e))tHe.call(e,r)&&oie(t,r,e[r]);return t},Tb=(t,e)=>J$e(t,Z$e(e));const Lb={in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:`scale(.9) translateY(${$e(10)})`},transitionProperty:"transform, opacity"},HS={fade:{in:{opacity:1},out:{opacity:0},transitionProperty:"opacity"},scale:{in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:"scale(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-y":{in:{opacity:1,transform:"scaleY(1)"},out:{opacity:0,transform:"scaleY(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-x":{in:{opacity:1,transform:"scaleX(1)"},out:{opacity:0,transform:"scaleX(0)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"skew-up":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:`translateY(-${$e(20)}) skew(-10deg, -5deg)`},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"skew-down":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:`translateY(${$e(20)}) skew(-10deg, -5deg)`},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-left":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:`translateY(${$e(20)}) rotate(-5deg)`},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-right":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:`translateY(${$e(20)}) rotate(5deg)`},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-100%)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(100%)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"slide-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(100%)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"slide-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-100%)"},common:{transformOrigin:"right"},transitionProperty:"transform, opacity"},pop:Tb(Fb({},Lb),{common:{transformOrigin:"center center"}}),"pop-bottom-left":Tb(Fb({},Lb),{common:{transformOrigin:"bottom left"}}),"pop-bottom-right":Tb(Fb({},Lb),{common:{transformOrigin:"bottom right"}}),"pop-top-left":Tb(Fb({},Lb),{common:{transformOrigin:"top left"}}),"pop-top-right":Tb(Fb({},Lb),{common:{transformOrigin:"top right"}})},sie=["mousedown","touchstart"];function rHe(t,e,r){const n=E.useRef();return E.useEffect(()=>{const i=o=>{const{target:s}=o??{};if(Array.isArray(r)){const a=s?.hasAttribute("data-ignore-outside-clicks")||!document.body.contains(s)&&s.tagName!=="HTML";r.every(c=>!!c&&!o.composedPath().includes(c))&&!a&&t()}else n.current&&!n.current.contains(s)&&t()};return(e||sie).forEach(o=>document.addEventListener(o,i)),()=>{(e||sie).forEach(o=>document.removeEventListener(o,i))}},[n,t,r]),n}function nHe(t,e){try{return t.addEventListener("change",e),()=>t.removeEventListener("change",e)}catch{return t.addListener(e),()=>t.removeListener(e)}}function iHe(t,e){return typeof e=="boolean"?e:typeof window<"u"&&"matchMedia"in window?window.matchMedia(t).matches:!1}function oHe(t,e,{getInitialValueInEffect:r}={getInitialValueInEffect:!0}){const[n,i]=E.useState(r?e:iHe(t,e)),o=E.useRef();return E.useEffect(()=>{if("matchMedia"in window)return o.current=window.matchMedia(t),i(o.current.matches),nHe(o.current,s=>i(s.matches))},[t]),n}function O7(t,e,r){return Math.min(Math.max(t,e),r)}const _3=typeof document<"u"?E.useLayoutEffect:E.useEffect;function yl(t,e){const r=E.useRef(!1);E.useEffect(()=>()=>{r.current=!1},[]),E.useEffect(()=>{if(r.current)return t();r.current=!0},e)}function oCe({opened:t,shouldReturnFocus:e=!0}){const r=E.useRef(),n=()=>{var i;r.current&&"focus"in r.current&&typeof r.current.focus=="function"&&((i=r.current)==null||i.focus({preventScroll:!0}))};return yl(()=>{let i=-1;const o=s=>{s.key==="Tab"&&window.clearTimeout(i)};return document.addEventListener("keydown",o),t?r.current=document.activeElement:e&&(i=window.setTimeout(n,10)),()=>{window.clearTimeout(i),document.removeEventListener("keydown",o)}},[t,e]),n}const sHe=/input|select|textarea|button|object/,sCe="a, input, select, textarea, button, object, [tabindex]";function aHe(t){return t.style.display==="none"}function lHe(t){if(t.getAttribute("aria-hidden")||t.getAttribute("hidden")||t.getAttribute("type")==="hidden")return!1;let r=t;for(;r&&!(r===document.body||r.nodeType===11);){if(aHe(r))return!1;r=r.parentNode}return!0}function aCe(t){let e=t.getAttribute("tabindex");return e===null&&(e=void 0),parseInt(e,10)}function uV(t){const e=t.nodeName.toLowerCase(),r=!Number.isNaN(aCe(t));return(sHe.test(e)&&!t.disabled||t instanceof HTMLAnchorElement&&t.href||r)&&lHe(t)}function lCe(t){const e=aCe(t);return(Number.isNaN(e)||e>=0)&&uV(t)}function cHe(t){return Array.from(t.querySelectorAll(sCe)).filter(lCe)}function uHe(t,e){const r=cHe(t);if(!r.length){e.preventDefault();return}const n=r[e.shiftKey?0:r.length-1],i=t.getRootNode();if(!(n===i.activeElement||t===i.activeElement))return;e.preventDefault();const s=r[e.shiftKey?r.length-1:0];s&&s.focus()}function XX(){return`mantine-${Math.random().toString(36).slice(2,11)}`}function fHe(t,e="body > :not(script)"){const r=XX(),n=Array.from(document.querySelectorAll(e)).map(i=>{var o;if((o=i?.shadowRoot)!=null&&o.contains(t)||i.contains(t))return;const s=i.getAttribute("aria-hidden"),a=i.getAttribute("data-hidden"),l=i.getAttribute("data-focus-id");return i.setAttribute("data-focus-id",r),s===null||s==="false"?i.setAttribute("aria-hidden","true"):!a&&!l&&i.setAttribute("data-hidden",s),{node:i,ariaHidden:a||null}});return()=>{n.forEach(i=>{!i||r!==i.node.getAttribute("data-focus-id")||(i.ariaHidden===null?i.node.removeAttribute("aria-hidden"):i.node.setAttribute("aria-hidden",i.ariaHidden),i.node.removeAttribute("data-focus-id"),i.node.removeAttribute("data-hidden"))})}}function dHe(t=!0){const e=E.useRef(),r=E.useRef(null),n=o=>{let s=o.querySelector("[data-autofocus]");if(!s){const a=Array.from(o.querySelectorAll(sCe));s=a.find(lCe)||a.find(uV)||null,!s&&uV(o)&&(s=o)}s&&s.focus({preventScroll:!0})},i=E.useCallback(o=>{if(t){if(o===null){r.current&&(r.current(),r.current=null);return}r.current=fHe(o),e.current!==o&&(o?(setTimeout(()=>{o.getRootNode()&&n(o)}),e.current=o):e.current=null)}},[t]);return E.useEffect(()=>{if(!t)return;e.current&&setTimeout(()=>n(e.current));const o=s=>{s.key==="Tab"&&e.current&&uHe(e.current,s)};return document.addEventListener("keydown",o),()=>{document.removeEventListener("keydown",o),r.current&&r.current()}},[t]),i}const pHe=ve["useId".toString()]||(()=>{});function AHe(){const t=pHe();return t?`mantine-${t.replace(/:/g,"")}`:""}function ov(t){const e=AHe(),[r,n]=E.useState(e);return _3(()=>{n(XX())},[]),typeof t=="string"?t:typeof window>"u"?e:r}function fV(t,e,r){E.useEffect(()=>(window.addEventListener(t,e,r),()=>window.removeEventListener(t,e,r)),[t,e])}function hHe(t,e){typeof t=="function"?t(e):typeof t=="object"&&t!==null&&"current"in t&&(t.current=e)}function cCe(...t){return e=>{t.forEach(r=>hHe(r,e))}}function _m(...t){return E.useCallback(cCe(...t),t)}const uCe=t=>({x:O7(t.x,0,1),y:O7(t.y,0,1)});function fCe(t,e,r="ltr"){const n=E.useRef(),i=E.useRef(!1),o=E.useRef(!1),s=E.useRef(0),[a,l]=E.useState(!1);return E.useEffect(()=>{i.current=!0},[]),E.useEffect(()=>{const c=({x:v,y})=>{cancelAnimationFrame(s.current),s.current=requestAnimationFrame(()=>{if(i.current&&n.current){n.current.style.userSelect="none";const b=n.current.getBoundingClientRect();if(b.width&&b.height){const B=O7((v-b.left)/b.width,0,1);t({x:r==="ltr"?B:1-B,y:O7((y-b.top)/b.height,0,1)})}}})},u=()=>{document.addEventListener("mousemove",A),document.addEventListener("mouseup",p),document.addEventListener("touchmove",m),document.addEventListener("touchend",p)},f=()=>{document.removeEventListener("mousemove",A),document.removeEventListener("mouseup",p),document.removeEventListener("touchmove",m),document.removeEventListener("touchend",p)},d=()=>{!o.current&&i.current&&(o.current=!0,typeof e?.onScrubStart=="function"&&e.onScrubStart(),l(!0),u())},p=()=>{o.current&&i.current&&(o.current=!1,l(!1),f(),setTimeout(()=>{typeof e?.onScrubEnd=="function"&&e.onScrubEnd()},0))},h=v=>{d(),v.preventDefault(),A(v)},A=v=>c({x:v.clientX,y:v.clientY}),g=v=>{v.cancelable&&v.preventDefault(),d(),m(v)},m=v=>{v.cancelable&&v.preventDefault(),c({x:v.changedTouches[0].clientX,y:v.changedTouches[0].clientY})};return n.current.addEventListener("mousedown",h),n.current.addEventListener("touchstart",g,{passive:!1}),()=>{n.current&&(n.current.removeEventListener("mousedown",h),n.current.removeEventListener("touchstart",g))}},[r,t]),{ref:n,active:a}}function _f({value:t,defaultValue:e,finalValue:r,onChange:n=()=>{}}){const[i,o]=E.useState(e!==void 0?e:r),s=a=>{o(a),n?.(a)};return t!==void 0?[t,n,!0]:[i,s,!1]}function j3(t,e){return oHe("(prefers-reduced-motion: reduce)",t,e)}const mHe=t=>t<.5?2*t*t:-1+(4-2*t)*t,gHe=({axis:t,target:e,parent:r,alignment:n,offset:i,isList:o})=>{if(!e||!r&&typeof document>"u")return 0;const s=!!r,l=(r||document.body).getBoundingClientRect(),c=e.getBoundingClientRect(),u=f=>c[f]-l[f];if(t==="y"){const f=u("top");if(f===0)return 0;if(n==="start"){const p=f-i;return p<=c.height*(o?0:1)||!o?p:0}const d=s?l.height:window.innerHeight;if(n==="end"){const p=f+i-d+c.height;return p>=-c.height*(o?0:1)||!o?p:0}return n==="center"?f-d/2+c.height/2:0}if(t==="x"){const f=u("left");if(f===0)return 0;if(n==="start"){const p=f-i;return p<=c.width||!o?p:0}const d=s?l.width:window.innerWidth;if(n==="end"){const p=f+i-d+c.width;return p>=-c.width||!o?p:0}return n==="center"?f-d/2+c.width/2:0}return 0},vHe=({axis:t,parent:e})=>{if(!e&&typeof document>"u")return 0;const r=t==="y"?"scrollTop":"scrollLeft";if(e)return e[r];const{body:n,documentElement:i}=document;return n[r]+i[r]},yHe=({axis:t,parent:e,distance:r})=>{if(!e&&typeof document>"u")return;const n=t==="y"?"scrollTop":"scrollLeft";if(e)e[n]=r;else{const{body:i,documentElement:o}=document;i[n]=r,o[n]=r}};function BHe({duration:t=1250,axis:e="y",onScrollFinish:r,easing:n=mHe,offset:i=0,cancelable:o=!0,isList:s=!1}={}){const a=E.useRef(0),l=E.useRef(0),c=E.useRef(!1),u=E.useRef(null),f=E.useRef(null),d=j3(),p=()=>{a.current&&cancelAnimationFrame(a.current)},h=E.useCallback(({alignment:g="start"}={})=>{var m;c.current=!1,a.current&&p();const v=(m=vHe({parent:u.current,axis:e}))!=null?m:0,y=gHe({parent:u.current,target:f.current,axis:e,alignment:g,offset:i,isList:s})-(u.current?0:v);function b(){l.current===0&&(l.current=performance.now());const S=performance.now()-l.current,w=d||t===0?1:S/t,x=v+y*n(w);yHe({parent:u.current,axis:e,distance:x}),!c.current&&w<1?a.current=requestAnimationFrame(b):(typeof r=="function"&&r(),l.current=0,a.current=0,p())}b()},[e,t,n,s,i,r,d]),A=()=>{o&&(c.current=!0)};return fV("wheel",A,{passive:!0}),fV("touchmove",A,{passive:!0}),E.useEffect(()=>p,[]),{scrollableRef:u,targetRef:f,scrollIntoView:h,cancel:p}}const CHe={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};function bHe(){const t=E.useRef(0),e=E.useRef(null),[r,n]=E.useState(CHe),i=E.useMemo(()=>typeof window<"u"?new ResizeObserver(o=>{const s=o[0];s&&(cancelAnimationFrame(t.current),t.current=requestAnimationFrame(()=>{e.current&&n(s.contentRect)}))}):null,[]);return _3(()=>(e.current&&(i.observe(e.current),n(e.current.getBoundingClientRect())),()=>{i.disconnect(),t.current&&cancelAnimationFrame(t.current)}),[e.current]),[e,r]}var wHe=Object.defineProperty,xHe=Object.defineProperties,SHe=Object.getOwnPropertyDescriptors,aie=Object.getOwnPropertySymbols,EHe=Object.prototype.hasOwnProperty,DHe=Object.prototype.propertyIsEnumerable,lie=(t,e,r)=>e in t?wHe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,kHe=(t,e)=>{for(var r in e||(e={}))EHe.call(e,r)&&lie(t,r,e[r]);if(aie)for(var r of aie(e))DHe.call(e,r)&&lie(t,r,e[r]);return t},OHe=(t,e)=>xHe(t,SHe(e));function PHe(t){const e=t.toLowerCase().split("+").map(o=>o.trim()),r={alt:e.includes("alt"),ctrl:e.includes("ctrl"),meta:e.includes("meta"),mod:e.includes("mod"),shift:e.includes("shift")},n=["alt","ctrl","meta","shift","mod"],i=e.find(o=>!n.includes(o));return OHe(kHe({},r),{key:i})}function IHe(t,e){const{alt:r,ctrl:n,meta:i,mod:o,shift:s,key:a}=t,{altKey:l,ctrlKey:c,metaKey:u,shiftKey:f,key:d}=e;if(r!==l)return!1;if(o){if(!c&&!u)return!1}else if(n!==c||i!==u)return!1;return s!==f?!1:!!(a&&(d.toLowerCase()===a.toLowerCase()||e.code.replace("Key","").toLowerCase()===a.toLowerCase()))}function NHe(t){return e=>IHe(PHe(t),e)}function FHe(t,e,r=!1){return t.target instanceof HTMLElement?(r||!t.target.isContentEditable)&&!e.includes(t.target.tagName):!0}function P7(t,e=["INPUT","TEXTAREA","SELECT"],r=!1){E.useEffect(()=>{const n=i=>{t.forEach(([o,s,a={preventDefault:!0}])=>{NHe(o)(i)&&FHe(i,e,r)&&(a.preventDefault&&i.preventDefault(),s(i))})};return document.documentElement.addEventListener("keydown",n),()=>document.documentElement.removeEventListener("keydown",n)},[t])}function yT(t=!1,e){const{onOpen:r,onClose:n}=e||{},[i,o]=E.useState(t),s=E.useCallback(()=>{o(c=>c||(r?.(),!0))},[r]),a=E.useCallback(()=>{o(c=>c&&(n?.(),!1))},[n]),l=E.useCallback(()=>{i?a():s()},[a,s,i]);return[i,{open:s,close:a,toggle:l}]}function THe(){const[t,e]=E.useState(!1);_3(()=>{e(typeof window<"u"&&"EyeDropper"in window)},[]);const r=E.useCallback((n={})=>{if(t)return new window.EyeDropper().open(n)},[t]);return{supported:t,open:r}}var cie=Object.getOwnPropertySymbols,LHe=Object.prototype.hasOwnProperty,RHe=Object.prototype.propertyIsEnumerable,MHe=(t,e)=>{var r={};for(var n in t)LHe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&cie)for(var n of cie(t))e.indexOf(n)<0&&RHe.call(t,n)&&(r[n]=t[n]);return r};function cC(t){const e=t,{m:r,mx:n,my:i,mt:o,mb:s,ml:a,mr:l,p:c,px:u,py:f,pt:d,pb:p,pl:h,pr:A,bg:g,c:m,opacity:v,ff:y,fz:b,fw:B,lts:S,ta:w,lh:x,fs:I,tt:F,td:k,w:O,miw:L,maw:M,h:H,mih:V,mah:j,bgsz:R,bgp:Q,bgr:z,bga:X,pos:_,top:G,left:W,bottom:J,right:ee,inset:q,display:Z}=e,re=MHe(e,["m","mx","my","mt","mb","ml","mr","p","px","py","pt","pb","pl","pr","bg","c","opacity","ff","fz","fw","lts","ta","lh","fs","tt","td","w","miw","maw","h","mih","mah","bgsz","bgp","bgr","bga","pos","top","left","bottom","right","inset","display"]);return{systemStyles:tCe({m:r,mx:n,my:i,mt:o,mb:s,ml:a,mr:l,p:c,px:u,py:f,pt:d,pb:p,pl:h,pr:A,bg:g,c:m,opacity:v,ff:y,fz:b,fw:B,lts:S,ta:w,lh:x,fs:I,tt:F,td:k,w:O,miw:L,maw:M,h:H,mih:V,mah:j,bgsz:R,bgp:Q,bgr:z,bga:X,pos:_,top:G,left:W,bottom:J,right:ee,inset:q,display:Z}),rest:re}}function _He(t,e){const r=Object.keys(t).filter(n=>n!=="base").sort((n,i)=>aB(Yt({size:n,sizes:e.breakpoints}))-aB(Yt({size:i,sizes:e.breakpoints})));return"base"in t?["base",...r]:r}function jHe({value:t,theme:e,getValue:r,property:n}){if(t==null)return;if(typeof t=="object")return _He(t,e).reduce((s,a)=>{if(a==="base"&&t.base!==void 0){const c=r(t.base,e);return Array.isArray(n)?(n.forEach(u=>{s[u]=c}),s):(s[n]=c,s)}const l=r(t[a],e);return Array.isArray(n)?(s[e.fn.largerThan(a)]={},n.forEach(c=>{s[e.fn.largerThan(a)][c]=l}),s):(s[e.fn.largerThan(a)]={[n]:l},s)},{});const i=r(t,e);return Array.isArray(n)?n.reduce((o,s)=>(o[s]=i,o),{}):{[n]:i}}function UHe(t,e){return t==="dimmed"?e.colorScheme==="dark"?e.colors.dark[2]:e.colors.gray[6]:e.fn.variant({variant:"filled",color:t,primaryFallback:!1}).background}function QHe(t){return $e(t)}function VHe(t){return t}function $He(t,e){return Yt({size:t,sizes:e.fontSizes})}const HHe=["-xs","-sm","-md","-lg","-xl"];function GHe(t,e){return HHe.includes(t)?`calc(${Yt({size:t.replace("-",""),sizes:e.spacing})} * -1)`:Yt({size:t,sizes:e.spacing})}const WHe={identity:VHe,color:UHe,size:QHe,fontSize:$He,spacing:GHe},zHe={m:{type:"spacing",property:"margin"},mt:{type:"spacing",property:"marginTop"},mb:{type:"spacing",property:"marginBottom"},ml:{type:"spacing",property:"marginLeft"},mr:{type:"spacing",property:"marginRight"},mx:{type:"spacing",property:["marginRight","marginLeft"]},my:{type:"spacing",property:["marginTop","marginBottom"]},p:{type:"spacing",property:"padding"},pt:{type:"spacing",property:"paddingTop"},pb:{type:"spacing",property:"paddingBottom"},pl:{type:"spacing",property:"paddingLeft"},pr:{type:"spacing",property:"paddingRight"},px:{type:"spacing",property:["paddingRight","paddingLeft"]},py:{type:"spacing",property:["paddingTop","paddingBottom"]},bg:{type:"color",property:"background"},c:{type:"color",property:"color"},opacity:{type:"identity",property:"opacity"},ff:{type:"identity",property:"fontFamily"},fz:{type:"fontSize",property:"fontSize"},fw:{type:"identity",property:"fontWeight"},lts:{type:"size",property:"letterSpacing"},ta:{type:"identity",property:"textAlign"},lh:{type:"identity",property:"lineHeight"},fs:{type:"identity",property:"fontStyle"},tt:{type:"identity",property:"textTransform"},td:{type:"identity",property:"textDecoration"},w:{type:"spacing",property:"width"},miw:{type:"spacing",property:"minWidth"},maw:{type:"spacing",property:"maxWidth"},h:{type:"spacing",property:"height"},mih:{type:"spacing",property:"minHeight"},mah:{type:"spacing",property:"maxHeight"},bgsz:{type:"size",property:"backgroundSize"},bgp:{type:"identity",property:"backgroundPosition"},bgr:{type:"identity",property:"backgroundRepeat"},bga:{type:"identity",property:"backgroundAttachment"},pos:{type:"identity",property:"position"},top:{type:"identity",property:"top"},left:{type:"size",property:"left"},bottom:{type:"size",property:"bottom"},right:{type:"size",property:"right"},inset:{type:"size",property:"inset"},display:{type:"identity",property:"display"}};var KHe=Object.defineProperty,uie=Object.getOwnPropertySymbols,qHe=Object.prototype.hasOwnProperty,XHe=Object.prototype.propertyIsEnumerable,fie=(t,e,r)=>e in t?KHe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,die=(t,e)=>{for(var r in e||(e={}))qHe.call(e,r)&&fie(t,r,e[r]);if(uie)for(var r of uie(e))XHe.call(e,r)&&fie(t,r,e[r]);return t};function pie(t,e,r=zHe){return Object.keys(r).reduce((i,o)=>(o in t&&t[o]!==void 0&&i.push(jHe({value:t[o],getValue:WHe[r[o].type],property:r[o].property,theme:e})),i),[]).reduce((i,o)=>(Object.keys(o).forEach(s=>{typeof o[s]=="object"&&o[s]!==null&&s in i?i[s]=die(die({},i[s]),o[s]):i[s]=o[s]}),i),{})}function Aie(t,e){return typeof t=="function"?t(e):t}function YHe(t,e,r){const n=wl(),{css:i,cx:o}=iCe();return Array.isArray(t)?o(r,i(pie(e,n)),t.map(s=>i(Aie(s,n)))):o(r,i(Aie(t,n)),i(pie(e,n)))}var JHe=Object.defineProperty,I7=Object.getOwnPropertySymbols,dCe=Object.prototype.hasOwnProperty,pCe=Object.prototype.propertyIsEnumerable,hie=(t,e,r)=>e in t?JHe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,ZHe=(t,e)=>{for(var r in e||(e={}))dCe.call(e,r)&&hie(t,r,e[r]);if(I7)for(var r of I7(e))pCe.call(e,r)&&hie(t,r,e[r]);return t},eGe=(t,e)=>{var r={};for(var n in t)dCe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&I7)for(var n of I7(t))e.indexOf(n)<0&&pCe.call(t,n)&&(r[n]=t[n]);return r};const ACe=E.forwardRef((t,e)=>{var r=t,{className:n,component:i,style:o,sx:s}=r,a=eGe(r,["className","component","style","sx"]);const{systemStyles:l,rest:c}=cC(a),u=i||"div";return ve.createElement(u,ZHe({ref:e,className:YHe(s,l,n),style:o},c))});ACe.displayName="@mantine/core/Box";const Wn=ACe;var tGe=Object.defineProperty,rGe=Object.defineProperties,nGe=Object.getOwnPropertyDescriptors,mie=Object.getOwnPropertySymbols,iGe=Object.prototype.hasOwnProperty,oGe=Object.prototype.propertyIsEnumerable,gie=(t,e,r)=>e in t?tGe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,vie=(t,e)=>{for(var r in e||(e={}))iGe.call(e,r)&&gie(t,r,e[r]);if(mie)for(var r of mie(e))oGe.call(e,r)&&gie(t,r,e[r]);return t},sGe=(t,e)=>rGe(t,nGe(e)),aGe=Pn(t=>({root:sGe(vie(vie({},t.fn.focusStyles()),t.fn.fontStyles()),{cursor:"pointer",border:0,padding:0,appearance:"none",fontSize:t.fontSizes.md,backgroundColor:"transparent",textAlign:"left",color:t.colorScheme==="dark"?t.colors.dark[0]:t.black,textDecoration:"none",boxSizing:"border-box"})}));const lGe=aGe;var cGe=Object.defineProperty,N7=Object.getOwnPropertySymbols,hCe=Object.prototype.hasOwnProperty,mCe=Object.prototype.propertyIsEnumerable,yie=(t,e,r)=>e in t?cGe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,uGe=(t,e)=>{for(var r in e||(e={}))hCe.call(e,r)&&yie(t,r,e[r]);if(N7)for(var r of N7(e))mCe.call(e,r)&&yie(t,r,e[r]);return t},fGe=(t,e)=>{var r={};for(var n in t)hCe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&N7)for(var n of N7(t))e.indexOf(n)<0&&mCe.call(t,n)&&(r[n]=t[n]);return r};const gCe=E.forwardRef((t,e)=>{const r=Xr("UnstyledButton",{},t),{className:n,component:i="button",unstyled:o,variant:s}=r,a=fGe(r,["className","component","unstyled","variant"]),{classes:l,cx:c}=lGe(null,{name:"UnstyledButton",unstyled:o,variant:s});return ve.createElement(Wn,uGe({component:i,ref:e,className:c(l.root,n),type:i==="button"?"button":void 0},a))});gCe.displayName="@mantine/core/UnstyledButton";const dGe=gCe;var pGe=Object.defineProperty,AGe=Object.defineProperties,hGe=Object.getOwnPropertyDescriptors,F7=Object.getOwnPropertySymbols,vCe=Object.prototype.hasOwnProperty,yCe=Object.prototype.propertyIsEnumerable,Bie=(t,e,r)=>e in t?pGe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,pg=(t,e)=>{for(var r in e||(e={}))vCe.call(e,r)&&Bie(t,r,e[r]);if(F7)for(var r of F7(e))yCe.call(e,r)&&Bie(t,r,e[r]);return t},BT=(t,e)=>AGe(t,hGe(e)),mGe=(t,e)=>{var r={};for(var n in t)vCe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&F7)for(var n of F7(t))e.indexOf(n)<0&&yCe.call(t,n)&&(r[n]=t[n]);return r};function gGe(t){if(!t||typeof t=="string")return 0;const e=t/36;return Math.round((4+15*e**.25+e/5)*10)}function CT(t){return t?.current?t.current.scrollHeight:"auto"}const GS=typeof window<"u"&&window.requestAnimationFrame;function vGe({transitionDuration:t,transitionTimingFunction:e="ease",onTransitionEnd:r=()=>{},opened:n}){const i=E.useRef(null),o=0,s={display:"none",height:0,overflow:"hidden"},[a,l]=E.useState(n?{}:s),c=h=>{pl.flushSync(()=>l(h))},u=h=>{c(A=>pg(pg({},A),h))};function f(h){return{transition:`height ${t||gGe(h)}ms ${e}`}}yl(()=>{GS(n?()=>{u({willChange:"height",display:"block",overflow:"hidden"}),GS(()=>{const h=CT(i);u(BT(pg({},f(h)),{height:h}))})}:()=>{const h=CT(i);u(BT(pg({},f(h)),{willChange:"height",height:h})),GS(()=>u({height:o,overflow:"hidden"}))})},[n]);const d=h=>{if(!(h.target!==i.current||h.propertyName!=="height"))if(n){const A=CT(i);A===a.height?c({}):u({height:A}),r()}else a.height===o&&(c(s),r())};function p(h={}){var A=h,{style:g={},refKey:m="ref"}=A,v=mGe(A,["style","refKey"]);const y=v[m];return BT(pg({"aria-hidden":!n},v),{[m]:cCe(i,y),onTransitionEnd:d,style:pg(pg({boxSizing:"border-box"},g),a)})}return p}var yGe=Object.defineProperty,T7=Object.getOwnPropertySymbols,BCe=Object.prototype.hasOwnProperty,CCe=Object.prototype.propertyIsEnumerable,Cie=(t,e,r)=>e in t?yGe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,WS=(t,e)=>{for(var r in e||(e={}))BCe.call(e,r)&&Cie(t,r,e[r]);if(T7)for(var r of T7(e))CCe.call(e,r)&&Cie(t,r,e[r]);return t},BGe=(t,e)=>{var r={};for(var n in t)BCe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&T7)for(var n of T7(t))e.indexOf(n)<0&&CCe.call(t,n)&&(r[n]=t[n]);return r};const CGe={transitionDuration:200,transitionTimingFunction:"ease",animateOpacity:!0},YX=E.forwardRef((t,e)=>{const r=Xr("Collapse",CGe,t),{children:n,in:i,transitionDuration:o,transitionTimingFunction:s,style:a,onTransitionEnd:l,animateOpacity:c}=r,u=BGe(r,["children","in","transitionDuration","transitionTimingFunction","style","onTransitionEnd","animateOpacity"]),f=wl(),d=j3(),h=(f.respectReducedMotion?d:!1)?0:o,{systemStyles:A,rest:g}=cC(u),m=vGe({opened:i,transitionDuration:h,transitionTimingFunction:s,onTransitionEnd:l});return h===0?i?ve.createElement(Wn,WS({},g),n):null:ve.createElement(Wn,WS({},m(WS(WS({style:a,ref:e},g),A))),ve.createElement("div",{style:{opacity:i||!c?1:0,transition:c?`opacity ${h}ms ${s}`:"none"}},n))});YX.displayName="@mantine/core/Collapse";var bGe=Object.defineProperty,wGe=Object.defineProperties,xGe=Object.getOwnPropertyDescriptors,bie=Object.getOwnPropertySymbols,SGe=Object.prototype.hasOwnProperty,EGe=Object.prototype.propertyIsEnumerable,wie=(t,e,r)=>e in t?bGe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,dV=(t,e)=>{for(var r in e||(e={}))SGe.call(e,r)&&wie(t,r,e[r]);if(bie)for(var r of bie(e))EGe.call(e,r)&&wie(t,r,e[r]);return t},xie=(t,e)=>wGe(t,xGe(e));const DGe=["subtle","filled","outline","light","default","transparent","gradient"],zS={xs:$e(18),sm:$e(22),md:$e(28),lg:$e(34),xl:$e(44)};function kGe({variant:t,theme:e,color:r,gradient:n}){const i=e.fn.variant({color:r,variant:t,gradient:n});return t==="gradient"?{border:0,backgroundImage:i.background,color:i.color,"&:hover":e.fn.hover({backgroundSize:"200%"})}:DGe.includes(t)?dV({border:`${$e(1)} solid ${i.border}`,backgroundColor:i.background,color:i.color},e.fn.hover({backgroundColor:i.hover})):null}var OGe=Pn((t,{radius:e,color:r,gradient:n},{variant:i,size:o})=>({root:xie(dV({position:"relative",borderRadius:t.fn.radius(e),padding:0,lineHeight:1,display:"flex",alignItems:"center",justifyContent:"center",height:Yt({size:o,sizes:zS}),minHeight:Yt({size:o,sizes:zS}),width:Yt({size:o,sizes:zS}),minWidth:Yt({size:o,sizes:zS})},kGe({variant:i,theme:t,color:r,gradient:n})),{"&:active":t.activeStyles,"& [data-action-icon-loader]":{maxWidth:"70%"},"&:disabled, &[data-disabled]":{color:t.colors.gray[t.colorScheme==="dark"?6:4],cursor:"not-allowed",backgroundColor:i==="transparent"?void 0:t.fn.themeColor("gray",t.colorScheme==="dark"?8:1),borderColor:i==="transparent"?void 0:t.fn.themeColor("gray",t.colorScheme==="dark"?8:1),backgroundImage:"none",pointerEvents:"none","&:active":{transform:"none"}},"&[data-loading]":{pointerEvents:"none","&::before":xie(dV({content:'""'},t.fn.cover($e(-1))),{backgroundColor:t.colorScheme==="dark"?t.fn.rgba(t.colors.dark[7],.5):"rgba(255, 255, 255, .5)",borderRadius:t.fn.radius(e),cursor:"not-allowed"})}})}));const PGe=OGe;var IGe=Object.defineProperty,L7=Object.getOwnPropertySymbols,bCe=Object.prototype.hasOwnProperty,wCe=Object.prototype.propertyIsEnumerable,Sie=(t,e,r)=>e in t?IGe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Eie=(t,e)=>{for(var r in e||(e={}))bCe.call(e,r)&&Sie(t,r,e[r]);if(L7)for(var r of L7(e))wCe.call(e,r)&&Sie(t,r,e[r]);return t},Die=(t,e)=>{var r={};for(var n in t)bCe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&L7)for(var n of L7(t))e.indexOf(n)<0&&wCe.call(t,n)&&(r[n]=t[n]);return r};function NGe(t){var e=t,{size:r,color:n}=e,i=Die(e,["size","color"]);const o=i,{style:s}=o,a=Die(o,["style"]);return ve.createElement("svg",Eie({viewBox:"0 0 135 140",xmlns:"http://www.w3.org/2000/svg",fill:n,style:Eie({width:r},s)},a),ve.createElement("rect",{y:"10",width:"15",height:"120",rx:"6"},ve.createElement("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),ve.createElement("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),ve.createElement("rect",{x:"30",y:"10",width:"15",height:"120",rx:"6"},ve.createElement("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),ve.createElement("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),ve.createElement("rect",{x:"60",width:"15",height:"140",rx:"6"},ve.createElement("animate",{attributeName:"height",begin:"0s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),ve.createElement("animate",{attributeName:"y",begin:"0s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),ve.createElement("rect",{x:"90",y:"10",width:"15",height:"120",rx:"6"},ve.createElement("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),ve.createElement("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),ve.createElement("rect",{x:"120",y:"10",width:"15",height:"120",rx:"6"},ve.createElement("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),ve.createElement("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})))}var FGe=Object.defineProperty,R7=Object.getOwnPropertySymbols,xCe=Object.prototype.hasOwnProperty,SCe=Object.prototype.propertyIsEnumerable,kie=(t,e,r)=>e in t?FGe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Oie=(t,e)=>{for(var r in e||(e={}))xCe.call(e,r)&&kie(t,r,e[r]);if(R7)for(var r of R7(e))SCe.call(e,r)&&kie(t,r,e[r]);return t},Pie=(t,e)=>{var r={};for(var n in t)xCe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&R7)for(var n of R7(t))e.indexOf(n)<0&&SCe.call(t,n)&&(r[n]=t[n]);return r};function TGe(t){var e=t,{size:r,color:n}=e,i=Pie(e,["size","color"]);const o=i,{style:s}=o,a=Pie(o,["style"]);return ve.createElement("svg",Oie({viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",stroke:n,style:Oie({width:r,height:r},s)},a),ve.createElement("g",{fill:"none",fillRule:"evenodd"},ve.createElement("g",{transform:"translate(2.5 2.5)",strokeWidth:"5"},ve.createElement("circle",{strokeOpacity:".5",cx:"16",cy:"16",r:"16"}),ve.createElement("path",{d:"M32 16c0-9.94-8.06-16-16-16"},ve.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 16 16",to:"360 16 16",dur:"1s",repeatCount:"indefinite"})))))}var LGe=Object.defineProperty,M7=Object.getOwnPropertySymbols,ECe=Object.prototype.hasOwnProperty,DCe=Object.prototype.propertyIsEnumerable,Iie=(t,e,r)=>e in t?LGe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Nie=(t,e)=>{for(var r in e||(e={}))ECe.call(e,r)&&Iie(t,r,e[r]);if(M7)for(var r of M7(e))DCe.call(e,r)&&Iie(t,r,e[r]);return t},Fie=(t,e)=>{var r={};for(var n in t)ECe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&M7)for(var n of M7(t))e.indexOf(n)<0&&DCe.call(t,n)&&(r[n]=t[n]);return r};function RGe(t){var e=t,{size:r,color:n}=e,i=Fie(e,["size","color"]);const o=i,{style:s}=o,a=Fie(o,["style"]);return ve.createElement("svg",Nie({viewBox:"0 0 120 30",xmlns:"http://www.w3.org/2000/svg",fill:n,style:Nie({width:r},s)},a),ve.createElement("circle",{cx:"15",cy:"15",r:"15"},ve.createElement("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),ve.createElement("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})),ve.createElement("circle",{cx:"60",cy:"15",r:"9",fillOpacity:"0.3"},ve.createElement("animate",{attributeName:"r",from:"9",to:"9",begin:"0s",dur:"0.8s",values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}),ve.createElement("animate",{attributeName:"fill-opacity",from:"0.5",to:"0.5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"})),ve.createElement("circle",{cx:"105",cy:"15",r:"15"},ve.createElement("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),ve.createElement("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})))}var MGe=Object.defineProperty,_7=Object.getOwnPropertySymbols,kCe=Object.prototype.hasOwnProperty,OCe=Object.prototype.propertyIsEnumerable,Tie=(t,e,r)=>e in t?MGe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,_Ge=(t,e)=>{for(var r in e||(e={}))kCe.call(e,r)&&Tie(t,r,e[r]);if(_7)for(var r of _7(e))OCe.call(e,r)&&Tie(t,r,e[r]);return t},jGe=(t,e)=>{var r={};for(var n in t)kCe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&_7)for(var n of _7(t))e.indexOf(n)<0&&OCe.call(t,n)&&(r[n]=t[n]);return r};const bT={bars:NGe,oval:TGe,dots:RGe},UGe={xs:$e(18),sm:$e(22),md:$e(36),lg:$e(44),xl:$e(58)},QGe={size:"md"};function PCe(t){const e=Xr("Loader",QGe,t),{size:r,color:n,variant:i}=e,o=jGe(e,["size","color","variant"]),s=wl(),a=i in bT?i:s.loader;return ve.createElement(Wn,_Ge({role:"presentation",component:bT[a]||bT.bars,size:Yt({size:r,sizes:UGe}),color:s.fn.variant({variant:"filled",primaryFallback:!1,color:n||s.primaryColor}).background},o))}PCe.displayName="@mantine/core/Loader";var VGe=Object.defineProperty,j7=Object.getOwnPropertySymbols,ICe=Object.prototype.hasOwnProperty,NCe=Object.prototype.propertyIsEnumerable,Lie=(t,e,r)=>e in t?VGe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Rie=(t,e)=>{for(var r in e||(e={}))ICe.call(e,r)&&Lie(t,r,e[r]);if(j7)for(var r of j7(e))NCe.call(e,r)&&Lie(t,r,e[r]);return t},$Ge=(t,e)=>{var r={};for(var n in t)ICe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&j7)for(var n of j7(t))e.indexOf(n)<0&&NCe.call(t,n)&&(r[n]=t[n]);return r};const HGe={color:"gray",size:"md",variant:"subtle"},FCe=E.forwardRef((t,e)=>{const r=Xr("ActionIcon",HGe,t),{className:n,color:i,children:o,radius:s,size:a,variant:l,gradient:c,disabled:u,loaderProps:f,loading:d,unstyled:p,__staticSelector:h}=r,A=$Ge(r,["className","color","children","radius","size","variant","gradient","disabled","loaderProps","loading","unstyled","__staticSelector"]),{classes:g,cx:m,theme:v}=PGe({radius:s,color:i,gradient:c},{name:["ActionIcon",h],unstyled:p,size:a,variant:l}),y=ve.createElement(PCe,Rie({color:v.fn.variant({color:i,variant:l}).color,size:"100%","data-action-icon-loader":!0},f));return ve.createElement(dGe,Rie({className:m(g.root,n),ref:e,disabled:u,"data-disabled":u||void 0,"data-loading":d||void 0,unstyled:p},A),d?y:o)});FCe.displayName="@mantine/core/ActionIcon";const TCe=FCe;var GGe=Object.defineProperty,WGe=Object.defineProperties,zGe=Object.getOwnPropertyDescriptors,U7=Object.getOwnPropertySymbols,LCe=Object.prototype.hasOwnProperty,RCe=Object.prototype.propertyIsEnumerable,Mie=(t,e,r)=>e in t?GGe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,KGe=(t,e)=>{for(var r in e||(e={}))LCe.call(e,r)&&Mie(t,r,e[r]);if(U7)for(var r of U7(e))RCe.call(e,r)&&Mie(t,r,e[r]);return t},qGe=(t,e)=>WGe(t,zGe(e)),XGe=(t,e)=>{var r={};for(var n in t)LCe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&U7)for(var n of U7(t))e.indexOf(n)<0&&RCe.call(t,n)&&(r[n]=t[n]);return r};function MCe(t){const e=Xr("Portal",{},t),{children:r,target:n,className:i,innerRef:o}=e,s=XGe(e,["children","target","className","innerRef"]),a=wl(),[l,c]=E.useState(!1),u=E.useRef();return _3(()=>(c(!0),u.current=n?typeof n=="string"?document.querySelector(n):n:document.createElement("div"),n||document.body.appendChild(u.current),()=>{!n&&document.body.removeChild(u.current)}),[n]),l?pl.createPortal(ve.createElement("div",qGe(KGe({className:i,dir:a.dir},s),{ref:o}),r),u.current):null}MCe.displayName="@mantine/core/Portal";var YGe=Object.defineProperty,Q7=Object.getOwnPropertySymbols,_Ce=Object.prototype.hasOwnProperty,jCe=Object.prototype.propertyIsEnumerable,_ie=(t,e,r)=>e in t?YGe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,JGe=(t,e)=>{for(var r in e||(e={}))_Ce.call(e,r)&&_ie(t,r,e[r]);if(Q7)for(var r of Q7(e))jCe.call(e,r)&&_ie(t,r,e[r]);return t},ZGe=(t,e)=>{var r={};for(var n in t)_Ce.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Q7)for(var n of Q7(t))e.indexOf(n)<0&&jCe.call(t,n)&&(r[n]=t[n]);return r};function U3(t){var e=t,{withinPortal:r=!0,children:n}=e,i=ZGe(e,["withinPortal","children"]);return r?ve.createElement(MCe,JGe({},i),n):ve.createElement(ve.Fragment,null,n)}U3.displayName="@mantine/core/OptionalPortal";var eWe=Object.defineProperty,V7=Object.getOwnPropertySymbols,UCe=Object.prototype.hasOwnProperty,QCe=Object.prototype.propertyIsEnumerable,jie=(t,e,r)=>e in t?eWe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Uie=(t,e)=>{for(var r in e||(e={}))UCe.call(e,r)&&jie(t,r,e[r]);if(V7)for(var r of V7(e))QCe.call(e,r)&&jie(t,r,e[r]);return t},tWe=(t,e)=>{var r={};for(var n in t)UCe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&V7)for(var n of V7(t))e.indexOf(n)<0&&QCe.call(t,n)&&(r[n]=t[n]);return r};function VCe(t){const e=t,{width:r,height:n,style:i}=e,o=tWe(e,["width","height","style"]);return ve.createElement("svg",Uie({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:Uie({width:r,height:n},i)},o),ve.createElement("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}VCe.displayName="@mantine/core/CloseIcon";var rWe=Object.defineProperty,$7=Object.getOwnPropertySymbols,$Ce=Object.prototype.hasOwnProperty,HCe=Object.prototype.propertyIsEnumerable,Qie=(t,e,r)=>e in t?rWe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,nWe=(t,e)=>{for(var r in e||(e={}))$Ce.call(e,r)&&Qie(t,r,e[r]);if($7)for(var r of $7(e))HCe.call(e,r)&&Qie(t,r,e[r]);return t},iWe=(t,e)=>{var r={};for(var n in t)$Ce.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&$7)for(var n of $7(t))e.indexOf(n)<0&&HCe.call(t,n)&&(r[n]=t[n]);return r};const oWe={xs:$e(12),sm:$e(16),md:$e(20),lg:$e(28),xl:$e(34)},sWe={size:"sm"},GCe=E.forwardRef((t,e)=>{const r=Xr("CloseButton",sWe,t),{iconSize:n,size:i,children:o}=r,s=iWe(r,["iconSize","size","children"]),a=$e(n||oWe[i]);return ve.createElement(TCe,nWe({ref:e,__staticSelector:"CloseButton",size:i},s),o||ve.createElement(VCe,{width:a,height:a}))});GCe.displayName="@mantine/core/CloseButton";const WCe=GCe;var aWe=Object.defineProperty,lWe=Object.defineProperties,cWe=Object.getOwnPropertyDescriptors,Vie=Object.getOwnPropertySymbols,uWe=Object.prototype.hasOwnProperty,fWe=Object.prototype.propertyIsEnumerable,$ie=(t,e,r)=>e in t?aWe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,KS=(t,e)=>{for(var r in e||(e={}))uWe.call(e,r)&&$ie(t,r,e[r]);if(Vie)for(var r of Vie(e))fWe.call(e,r)&&$ie(t,r,e[r]);return t},dWe=(t,e)=>lWe(t,cWe(e));function pWe({underline:t,strikethrough:e}){const r=[];return t&&r.push("underline"),e&&r.push("line-through"),r.length>0?r.join(" "):"none"}function AWe({theme:t,color:e}){return e==="dimmed"?t.fn.dimmed():typeof e=="string"&&(e in t.colors||e.split(".")[0]in t.colors)?t.fn.variant({variant:"filled",color:e}).background:e||"inherit"}function hWe(t){return typeof t=="number"?{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:t,WebkitBoxOrient:"vertical"}:null}function mWe({theme:t,truncate:e}){return e==="start"?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",direction:t.dir==="ltr"?"rtl":"ltr",textAlign:t.dir==="ltr"?"right":"left"}:e?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:null}var gWe=Pn((t,{color:e,lineClamp:r,truncate:n,inline:i,inherit:o,underline:s,gradient:a,weight:l,transform:c,align:u,strikethrough:f,italic:d},{size:p})=>{const h=t.fn.variant({variant:"gradient",gradient:a});return{root:dWe(KS(KS(KS(KS({},t.fn.fontStyles()),t.fn.focusStyles()),hWe(r)),mWe({theme:t,truncate:n})),{color:AWe({color:e,theme:t}),fontFamily:o?"inherit":t.fontFamily,fontSize:o||p===void 0?"inherit":Yt({size:p,sizes:t.fontSizes}),lineHeight:o?"inherit":i?1:t.lineHeight,textDecoration:pWe({underline:s,strikethrough:f}),WebkitTapHighlightColor:"transparent",fontWeight:o?"inherit":l,textTransform:c,textAlign:u,fontStyle:d?"italic":void 0}),gradient:{backgroundImage:h.background,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"}}});const vWe=gWe;var yWe=Object.defineProperty,H7=Object.getOwnPropertySymbols,zCe=Object.prototype.hasOwnProperty,KCe=Object.prototype.propertyIsEnumerable,Hie=(t,e,r)=>e in t?yWe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,BWe=(t,e)=>{for(var r in e||(e={}))zCe.call(e,r)&&Hie(t,r,e[r]);if(H7)for(var r of H7(e))KCe.call(e,r)&&Hie(t,r,e[r]);return t},CWe=(t,e)=>{var r={};for(var n in t)zCe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&H7)for(var n of H7(t))e.indexOf(n)<0&&KCe.call(t,n)&&(r[n]=t[n]);return r};const bWe={variant:"text"},qCe=E.forwardRef((t,e)=>{const r=Xr("Text",bWe,t),{className:n,size:i,weight:o,transform:s,color:a,align:l,variant:c,lineClamp:u,truncate:f,gradient:d,inline:p,inherit:h,underline:A,strikethrough:g,italic:m,classNames:v,styles:y,unstyled:b,span:B,__staticSelector:S}=r,w=CWe(r,["className","size","weight","transform","color","align","variant","lineClamp","truncate","gradient","inline","inherit","underline","strikethrough","italic","classNames","styles","unstyled","span","__staticSelector"]),{classes:x,cx:I}=vWe({color:a,lineClamp:u,truncate:f,inline:p,inherit:h,underline:A,strikethrough:g,italic:m,weight:o,transform:s,align:l,gradient:d},{unstyled:b,name:S||"Text",variant:c,size:i});return ve.createElement(Wn,BWe({ref:e,className:I(x.root,{[x.gradient]:c==="gradient"},n),component:B?"span":"div"},w))});qCe.displayName="@mantine/core/Text";const Q3=qCe,qS={xs:$e(1),sm:$e(2),md:$e(3),lg:$e(4),xl:$e(5)};function XS(t,e){const r=t.fn.variant({variant:"outline",color:e}).border;return typeof e=="string"&&(e in t.colors||e.split(".")[0]in t.colors)?r:e===void 0?t.colorScheme==="dark"?t.colors.dark[4]:t.colors.gray[4]:e}var wWe=Pn((t,{color:e},{size:r,variant:n})=>({root:{},withLabel:{borderTop:"0 !important"},left:{"&::before":{display:"none"}},right:{"&::after":{display:"none"}},label:{display:"flex",alignItems:"center","&::before":{content:'""',flex:1,height:$e(1),borderTop:`${Yt({size:r,sizes:qS})} ${n} ${XS(t,e)}`,marginRight:t.spacing.xs},"&::after":{content:'""',flex:1,borderTop:`${Yt({size:r,sizes:qS})} ${n} ${XS(t,e)}`,marginLeft:t.spacing.xs}},labelDefaultStyles:{color:e==="dark"?t.colors.dark[1]:t.fn.themeColor(e,t.colorScheme==="dark"?5:t.fn.primaryShade(),!1)},horizontal:{border:0,borderTopWidth:$e(Yt({size:r,sizes:qS})),borderTopColor:XS(t,e),borderTopStyle:n,margin:0},vertical:{border:0,alignSelf:"stretch",height:"auto",borderLeftWidth:$e(Yt({size:r,sizes:qS})),borderLeftColor:XS(t,e),borderLeftStyle:n}}));const xWe=wWe;var SWe=Object.defineProperty,EWe=Object.defineProperties,DWe=Object.getOwnPropertyDescriptors,G7=Object.getOwnPropertySymbols,XCe=Object.prototype.hasOwnProperty,YCe=Object.prototype.propertyIsEnumerable,Gie=(t,e,r)=>e in t?SWe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Wie=(t,e)=>{for(var r in e||(e={}))XCe.call(e,r)&&Gie(t,r,e[r]);if(G7)for(var r of G7(e))YCe.call(e,r)&&Gie(t,r,e[r]);return t},kWe=(t,e)=>EWe(t,DWe(e)),OWe=(t,e)=>{var r={};for(var n in t)XCe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&G7)for(var n of G7(t))e.indexOf(n)<0&&YCe.call(t,n)&&(r[n]=t[n]);return r};const PWe={orientation:"horizontal",size:"xs",labelPosition:"left",variant:"solid"},pV=E.forwardRef((t,e)=>{const r=Xr("Divider",PWe,t),{className:n,color:i,orientation:o,size:s,label:a,labelPosition:l,labelProps:c,variant:u,styles:f,classNames:d,unstyled:p}=r,h=OWe(r,["className","color","orientation","size","label","labelPosition","labelProps","variant","styles","classNames","unstyled"]),{classes:A,cx:g}=xWe({color:i},{classNames:d,styles:f,unstyled:p,name:"Divider",variant:u,size:s}),m=o==="vertical",v=o==="horizontal",y=!!a&&v,b=!c?.color;return ve.createElement(Wn,Wie({ref:e,className:g(A.root,{[A.vertical]:m,[A.horizontal]:v,[A.withLabel]:y},n),role:"separator"},h),y&&ve.createElement(Q3,kWe(Wie({},c),{size:c?.size||"xs",mt:$e(2),className:g(A.label,A[l],{[A.labelDefaultStyles]:b})}),a))});pV.displayName="@mantine/core/Divider";var IWe=Object.defineProperty,NWe=Object.defineProperties,FWe=Object.getOwnPropertyDescriptors,zie=Object.getOwnPropertySymbols,TWe=Object.prototype.hasOwnProperty,LWe=Object.prototype.propertyIsEnumerable,Kie=(t,e,r)=>e in t?IWe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,qie=(t,e)=>{for(var r in e||(e={}))TWe.call(e,r)&&Kie(t,r,e[r]);if(zie)for(var r of zie(e))LWe.call(e,r)&&Kie(t,r,e[r]);return t},RWe=(t,e)=>NWe(t,FWe(e)),MWe=Pn((t,e,{size:r})=>({item:RWe(qie({},t.fn.fontStyles()),{boxSizing:"border-box",wordBreak:"break-all",textAlign:"left",width:"100%",padding:`calc(${Yt({size:r,sizes:t.spacing})} / 1.5) ${Yt({size:r,sizes:t.spacing})}`,cursor:"pointer",fontSize:Yt({size:r,sizes:t.fontSizes}),color:t.colorScheme==="dark"?t.colors.dark[0]:t.black,borderRadius:t.fn.radius(),"&[data-hovered]":{backgroundColor:t.colorScheme==="dark"?t.colors.dark[4]:t.colors.gray[1]},"&[data-selected]":qie({backgroundColor:t.fn.variant({variant:"filled"}).background,color:t.fn.variant({variant:"filled"}).color},t.fn.hover({backgroundColor:t.fn.variant({variant:"filled"}).hover})),"&[data-disabled]":{cursor:"default",color:t.colors.dark[2]}}),nothingFound:{boxSizing:"border-box",color:t.colors.gray[6],paddingTop:`calc(${Yt({size:r,sizes:t.spacing})} / 2)`,paddingBottom:`calc(${Yt({size:r,sizes:t.spacing})} / 2)`,textAlign:"center"},separator:{boxSizing:"border-box",textAlign:"left",width:"100%",padding:`calc(${Yt({size:r,sizes:t.spacing})} / 1.5) ${Yt({size:r,sizes:t.spacing})}`},separatorLabel:{color:t.colorScheme==="dark"?t.colors.dark[3]:t.colors.gray[5]}}));const _We=MWe;var jWe=Object.defineProperty,Xie=Object.getOwnPropertySymbols,UWe=Object.prototype.hasOwnProperty,QWe=Object.prototype.propertyIsEnumerable,Yie=(t,e,r)=>e in t?jWe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,VWe=(t,e)=>{for(var r in e||(e={}))UWe.call(e,r)&&Yie(t,r,e[r]);if(Xie)for(var r of Xie(e))QWe.call(e,r)&&Yie(t,r,e[r]);return t};function JCe({data:t,hovered:e,classNames:r,styles:n,isItemSelected:i,uuid:o,__staticSelector:s,onItemHover:a,onItemSelect:l,itemsRefs:c,itemComponent:u,size:f,nothingFound:d,creatable:p,createLabel:h,unstyled:A,variant:g}){const{classes:m}=_We(null,{classNames:r,styles:n,unstyled:A,name:s,variant:g,size:f}),v=[],y=[];let b=null;const B=(w,x)=>{const I=typeof i=="function"?i(w.value):!1;return ve.createElement(u,VWe({key:w.value,className:m.item,"data-disabled":w.disabled||void 0,"data-hovered":!w.disabled&&e===x||void 0,"data-selected":!w.disabled&&I||void 0,selected:I,onMouseEnter:()=>a(x),id:`${o}-${x}`,role:"option",tabIndex:-1,"aria-selected":e===x,ref:F=>{c&&c.current&&(c.current[w.value]=F)},onMouseDown:w.disabled?null:F=>{F.preventDefault(),l(w)},disabled:w.disabled,variant:g},w))};let S=null;if(t.forEach((w,x)=>{w.creatable?b=x:w.group?(S!==w.group&&(S=w.group,y.push(ve.createElement("div",{className:m.separator,key:`__mantine-divider-${x}`},ve.createElement(pV,{classNames:{label:m.separatorLabel},label:w.group})))),y.push(B(w,x))):v.push(B(w,x))}),p){const w=t[b];v.push(ve.createElement("div",{key:XX(),className:m.item,"data-hovered":e===b||void 0,onMouseEnter:()=>a(b),onMouseDown:x=>{x.preventDefault(),l(w)},tabIndex:-1,ref:x=>{c&&c.current&&(c.current[w.value]=x)}},h))}return y.length>0&&v.length>0&&v.unshift(ve.createElement("div",{className:m.separator,key:"empty-group-separator"},ve.createElement(pV,null))),y.length>0||v.length>0?ve.createElement(ve.Fragment,null,y,v):ve.createElement(Q3,{size:f,unstyled:A,className:m.nothingFound},d)}JCe.displayName="@mantine/core/SelectItems";var $We=Object.defineProperty,W7=Object.getOwnPropertySymbols,ZCe=Object.prototype.hasOwnProperty,ebe=Object.prototype.propertyIsEnumerable,Jie=(t,e,r)=>e in t?$We(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,HWe=(t,e)=>{for(var r in e||(e={}))ZCe.call(e,r)&&Jie(t,r,e[r]);if(W7)for(var r of W7(e))ebe.call(e,r)&&Jie(t,r,e[r]);return t},GWe=(t,e)=>{var r={};for(var n in t)ZCe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&W7)for(var n of W7(t))e.indexOf(n)<0&&ebe.call(t,n)&&(r[n]=t[n]);return r};const tbe=E.forwardRef((t,e)=>{var r=t,{label:n,value:i}=r,o=GWe(r,["label","value"]);return ve.createElement("div",HWe({ref:e},o),n||i)});tbe.displayName="@mantine/core/DefaultItem";function WWe(t,e){typeof t=="function"?t(e):t!=null&&(t.current=e)}function rbe(...t){return e=>t.forEach(r=>WWe(r,e))}function sv(...t){return E.useCallback(rbe(...t),t)}const nbe=E.forwardRef((t,e)=>{const{children:r,...n}=t,i=E.Children.toArray(r),o=i.find(KWe);if(o){const s=o.props.children,a=i.map(l=>l===o?E.Children.count(s)>1?E.Children.only(null):E.isValidElement(s)?s.props.children:null:l);return E.createElement(AV,co({},n,{ref:e}),E.isValidElement(s)?E.cloneElement(s,void 0,a):null)}return E.createElement(AV,co({},n,{ref:e}),r)});nbe.displayName="Slot";const AV=E.forwardRef((t,e)=>{const{children:r,...n}=t;return E.isValidElement(r)?E.cloneElement(r,{...qWe(n,r.props),ref:rbe(e,r.ref)}):E.Children.count(r)>1?E.Children.only(null):null});AV.displayName="SlotClone";const zWe=({children:t})=>E.createElement(E.Fragment,null,t);function KWe(t){return E.isValidElement(t)&&t.type===zWe}function qWe(t,e){const r={...e};for(const n in e){const i=t[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...a)=>{o(...a),i(...a)}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...t,...r}}const XWe=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"],V3=XWe.reduce((t,e)=>{const r=E.forwardRef((n,i)=>{const{asChild:o,...s}=n,a=o?nbe:e;return E.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),E.createElement(a,co({},s,{ref:i}))});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{}),hV=globalThis?.document?E.useLayoutEffect:()=>{};function YWe(t,e){return E.useReducer((r,n)=>{const i=e[r][n];return i??r},t)}const $3=t=>{const{present:e,children:r}=t,n=JWe(e),i=typeof r=="function"?r({present:n.isPresent}):E.Children.only(r),o=sv(n.ref,i.ref);return typeof r=="function"||n.isPresent?E.cloneElement(i,{ref:o}):null};$3.displayName="Presence";function JWe(t){const[e,r]=E.useState(),n=E.useRef({}),i=E.useRef(t),o=E.useRef("none"),s=t?"mounted":"unmounted",[a,l]=YWe(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return E.useEffect(()=>{const c=YS(n.current);o.current=a==="mounted"?c:"none"},[a]),hV(()=>{const c=n.current,u=i.current;if(u!==t){const d=o.current,p=YS(c);t?l("MOUNT"):p==="none"||c?.display==="none"?l("UNMOUNT"):l(u&&d!==p?"ANIMATION_OUT":"UNMOUNT"),i.current=t}},[t,l]),hV(()=>{if(e){const c=f=>{const p=YS(n.current).includes(f.animationName);f.target===e&&p&&pl.flushSync(()=>l("ANIMATION_END"))},u=f=>{f.target===e&&(o.current=YS(n.current))};return e.addEventListener("animationstart",u),e.addEventListener("animationcancel",c),e.addEventListener("animationend",c),()=>{e.removeEventListener("animationstart",u),e.removeEventListener("animationcancel",c),e.removeEventListener("animationend",c)}}else l("ANIMATION_END")},[e,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:E.useCallback(c=>{c&&(n.current=getComputedStyle(c)),r(c)},[])}}function YS(t){return t?.animationName||"none"}function ZWe(t,e=[]){let r=[];function n(o,s){const a=E.createContext(s),l=r.length;r=[...r,s];function c(f){const{scope:d,children:p,...h}=f,A=d?.[t][l]||a,g=E.useMemo(()=>h,Object.values(h));return E.createElement(A.Provider,{value:g},p)}function u(f,d){const p=d?.[t][l]||a,h=E.useContext(p);if(h)return h;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${o}\``)}return c.displayName=o+"Provider",[c,u]}const i=()=>{const o=r.map(s=>E.createContext(s));return function(a){const l=a?.[t]||o;return E.useMemo(()=>({[`__scope${t}`]:{...a,[t]:l}}),[a,l])}};return i.scopeName=t,[n,eze(i,...e)]}function eze(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const s=n.reduce((a,{useScope:l,scopeName:c})=>{const f=l(o)[`__scope${c}`];return{...a,...f}},{});return E.useMemo(()=>({[`__scope${e.scopeName}`]:s}),[s])}};return r.scopeName=e.scopeName,r}function jg(t){const e=E.useRef(t);return E.useEffect(()=>{e.current=t}),E.useMemo(()=>(...r)=>{var n;return(n=e.current)===null||n===void 0?void 0:n.call(e,...r)},[])}const tze=E.createContext(void 0);function rze(t){const e=E.useContext(tze);return t||e||"ltr"}function nze(t,[e,r]){return Math.min(r,Math.max(e,t))}function h1(t,e,{checkForDefaultPrevented:r=!0}={}){return function(i){if(t?.(i),r===!1||!i.defaultPrevented)return e?.(i)}}function ize(t,e){return E.useReducer((r,n)=>{const i=e[r][n];return i??r},t)}const ibe="ScrollArea",[obe,Ksr]=ZWe(ibe),[oze,zu]=obe(ibe),sze=E.forwardRef((t,e)=>{const{__scopeScrollArea:r,type:n="hover",dir:i,scrollHideDelay:o=600,...s}=t,[a,l]=E.useState(null),[c,u]=E.useState(null),[f,d]=E.useState(null),[p,h]=E.useState(null),[A,g]=E.useState(null),[m,v]=E.useState(0),[y,b]=E.useState(0),[B,S]=E.useState(!1),[w,x]=E.useState(!1),I=sv(e,k=>l(k)),F=rze(i);return E.createElement(oze,{scope:r,type:n,dir:F,scrollHideDelay:o,scrollArea:a,viewport:c,onViewportChange:u,content:f,onContentChange:d,scrollbarX:p,onScrollbarXChange:h,scrollbarXEnabled:B,onScrollbarXEnabledChange:S,scrollbarY:A,onScrollbarYChange:g,scrollbarYEnabled:w,onScrollbarYEnabledChange:x,onCornerWidthChange:v,onCornerHeightChange:b},E.createElement(V3.div,co({dir:F},s,{ref:I,style:{position:"relative","--radix-scroll-area-corner-width":m+"px","--radix-scroll-area-corner-height":y+"px",...t.style}})))}),aze="ScrollAreaViewport",lze=E.forwardRef((t,e)=>{const{__scopeScrollArea:r,children:n,...i}=t,o=zu(aze,r),s=E.useRef(null),a=sv(e,s,o.onViewportChange);return E.createElement(E.Fragment,null,E.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"}}),E.createElement(V3.div,co({"data-radix-scroll-area-viewport":""},i,{ref:a,style:{overflowX:o.scrollbarXEnabled?"scroll":"hidden",overflowY:o.scrollbarYEnabled?"scroll":"hidden",...t.style}}),E.createElement("div",{ref:o.onContentChange,style:{minWidth:"100%",display:"table"}},n)))}),Bh="ScrollAreaScrollbar",cze=E.forwardRef((t,e)=>{const{forceMount:r,...n}=t,i=zu(Bh,t.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:s}=i,a=t.orientation==="horizontal";return E.useEffect(()=>(a?o(!0):s(!0),()=>{a?o(!1):s(!1)}),[a,o,s]),i.type==="hover"?E.createElement(uze,co({},n,{ref:e,forceMount:r})):i.type==="scroll"?E.createElement(fze,co({},n,{ref:e,forceMount:r})):i.type==="auto"?E.createElement(sbe,co({},n,{ref:e,forceMount:r})):i.type==="always"?E.createElement(JX,co({},n,{ref:e})):null}),uze=E.forwardRef((t,e)=>{const{forceMount:r,...n}=t,i=zu(Bh,t.__scopeScrollArea),[o,s]=E.useState(!1);return E.useEffect(()=>{const a=i.scrollArea;let l=0;if(a){const c=()=>{window.clearTimeout(l),s(!0)},u=()=>{l=window.setTimeout(()=>s(!1),i.scrollHideDelay)};return a.addEventListener("pointerenter",c),a.addEventListener("pointerleave",u),()=>{window.clearTimeout(l),a.removeEventListener("pointerenter",c),a.removeEventListener("pointerleave",u)}}},[i.scrollArea,i.scrollHideDelay]),E.createElement($3,{present:r||o},E.createElement(sbe,co({"data-state":o?"visible":"hidden"},n,{ref:e})))}),fze=E.forwardRef((t,e)=>{const{forceMount:r,...n}=t,i=zu(Bh,t.__scopeScrollArea),o=t.orientation==="horizontal",s=sI(()=>l("SCROLL_END"),100),[a,l]=ize("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return E.useEffect(()=>{if(a==="idle"){const c=window.setTimeout(()=>l("HIDE"),i.scrollHideDelay);return()=>window.clearTimeout(c)}},[a,i.scrollHideDelay,l]),E.useEffect(()=>{const c=i.viewport,u=o?"scrollLeft":"scrollTop";if(c){let f=c[u];const d=()=>{const p=c[u];f!==p&&(l("SCROLL"),s()),f=p};return c.addEventListener("scroll",d),()=>c.removeEventListener("scroll",d)}},[i.viewport,o,l,s]),E.createElement($3,{present:r||a!=="hidden"},E.createElement(JX,co({"data-state":a==="hidden"?"hidden":"visible"},n,{ref:e,onPointerEnter:h1(t.onPointerEnter,()=>l("POINTER_ENTER")),onPointerLeave:h1(t.onPointerLeave,()=>l("POINTER_LEAVE"))})))}),sbe=E.forwardRef((t,e)=>{const r=zu(Bh,t.__scopeScrollArea),{forceMount:n,...i}=t,[o,s]=E.useState(!1),a=t.orientation==="horizontal",l=sI(()=>{if(r.viewport){const c=r.viewport.offsetWidth<r.viewport.scrollWidth,u=r.viewport.offsetHeight<r.viewport.scrollHeight;s(a?c:u)}},10);return cB(r.viewport,l),cB(r.content,l),E.createElement($3,{present:n||o},E.createElement(JX,co({"data-state":o?"visible":"hidden"},i,{ref:e})))}),JX=E.forwardRef((t,e)=>{const{orientation:r="vertical",...n}=t,i=zu(Bh,t.__scopeScrollArea),o=E.useRef(null),s=E.useRef(0),[a,l]=E.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),c=ube(a.viewport,a.content),u={...n,sizes:a,onSizesChange:l,hasThumb:c>0&&c<1,onThumbChange:d=>o.current=d,onThumbPointerUp:()=>s.current=0,onThumbPointerDown:d=>s.current=d};function f(d,p){return yze(d,s.current,a,p)}return r==="horizontal"?E.createElement(dze,co({},u,{ref:e,onThumbPositionChange:()=>{if(i.viewport&&o.current){const d=i.viewport.scrollLeft,p=Zie(d,a,i.dir);o.current.style.transform=`translate3d(${p}px, 0, 0)`}},onWheelScroll:d=>{i.viewport&&(i.viewport.scrollLeft=d)},onDragScroll:d=>{i.viewport&&(i.viewport.scrollLeft=f(d,i.dir))}})):r==="vertical"?E.createElement(pze,co({},u,{ref:e,onThumbPositionChange:()=>{if(i.viewport&&o.current){const d=i.viewport.scrollTop,p=Zie(d,a);o.current.style.transform=`translate3d(0, ${p}px, 0)`}},onWheelScroll:d=>{i.viewport&&(i.viewport.scrollTop=d)},onDragScroll:d=>{i.viewport&&(i.viewport.scrollTop=f(d))}})):null}),dze=E.forwardRef((t,e)=>{const{sizes:r,onSizesChange:n,...i}=t,o=zu(Bh,t.__scopeScrollArea),[s,a]=E.useState(),l=E.useRef(null),c=sv(e,l,o.onScrollbarXChange);return E.useEffect(()=>{l.current&&a(getComputedStyle(l.current))},[l]),E.createElement(lbe,co({"data-orientation":"horizontal"},i,{ref:c,sizes:r,style:{bottom:0,left:o.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:o.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":oI(r)+"px",...t.style},onThumbPointerDown:u=>t.onThumbPointerDown(u.x),onDragScroll:u=>t.onDragScroll(u.x),onWheelScroll:(u,f)=>{if(o.viewport){const d=o.viewport.scrollLeft+u.deltaX;t.onWheelScroll(d),dbe(d,f)&&u.preventDefault()}},onResize:()=>{l.current&&o.viewport&&s&&n({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:l.current.clientWidth,paddingStart:z7(s.paddingLeft),paddingEnd:z7(s.paddingRight)}})}}))}),pze=E.forwardRef((t,e)=>{const{sizes:r,onSizesChange:n,...i}=t,o=zu(Bh,t.__scopeScrollArea),[s,a]=E.useState(),l=E.useRef(null),c=sv(e,l,o.onScrollbarYChange);return E.useEffect(()=>{l.current&&a(getComputedStyle(l.current))},[l]),E.createElement(lbe,co({"data-orientation":"vertical"},i,{ref:c,sizes:r,style:{top:0,right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":oI(r)+"px",...t.style},onThumbPointerDown:u=>t.onThumbPointerDown(u.y),onDragScroll:u=>t.onDragScroll(u.y),onWheelScroll:(u,f)=>{if(o.viewport){const d=o.viewport.scrollTop+u.deltaY;t.onWheelScroll(d),dbe(d,f)&&u.preventDefault()}},onResize:()=>{l.current&&o.viewport&&s&&n({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:l.current.clientHeight,paddingStart:z7(s.paddingTop),paddingEnd:z7(s.paddingBottom)}})}}))}),[Aze,abe]=obe(Bh),lbe=E.forwardRef((t,e)=>{const{__scopeScrollArea:r,sizes:n,hasThumb:i,onThumbChange:o,onThumbPointerUp:s,onThumbPointerDown:a,onThumbPositionChange:l,onDragScroll:c,onWheelScroll:u,onResize:f,...d}=t,p=zu(Bh,r),[h,A]=E.useState(null),g=sv(e,I=>A(I)),m=E.useRef(null),v=E.useRef(""),y=p.viewport,b=n.content-n.viewport,B=jg(u),S=jg(l),w=sI(f,10);function x(I){if(m.current){const F=I.clientX-m.current.left,k=I.clientY-m.current.top;c({x:F,y:k})}}return E.useEffect(()=>{const I=F=>{const k=F.target;h?.contains(k)&&B(F,b)};return document.addEventListener("wheel",I,{passive:!1}),()=>document.removeEventListener("wheel",I,{passive:!1})},[y,h,b,B]),E.useEffect(S,[n,S]),cB(h,w),cB(p.content,w),E.createElement(Aze,{scope:r,scrollbar:h,hasThumb:i,onThumbChange:jg(o),onThumbPointerUp:jg(s),onThumbPositionChange:S,onThumbPointerDown:jg(a)},E.createElement(V3.div,co({},d,{ref:g,style:{position:"absolute",...d.style},onPointerDown:h1(t.onPointerDown,I=>{I.button===0&&(I.target.setPointerCapture(I.pointerId),m.current=h.getBoundingClientRect(),v.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",x(I))}),onPointerMove:h1(t.onPointerMove,x),onPointerUp:h1(t.onPointerUp,I=>{const F=I.target;F.hasPointerCapture(I.pointerId)&&F.releasePointerCapture(I.pointerId),document.body.style.webkitUserSelect=v.current,m.current=null})})))}),mV="ScrollAreaThumb",hze=E.forwardRef((t,e)=>{const{forceMount:r,...n}=t,i=abe(mV,t.__scopeScrollArea);return E.createElement($3,{present:r||i.hasThumb},E.createElement(mze,co({ref:e},n)))}),mze=E.forwardRef((t,e)=>{const{__scopeScrollArea:r,style:n,...i}=t,o=zu(mV,r),s=abe(mV,r),{onThumbPositionChange:a}=s,l=sv(e,f=>s.onThumbChange(f)),c=E.useRef(),u=sI(()=>{c.current&&(c.current(),c.current=void 0)},100);return E.useEffect(()=>{const f=o.viewport;if(f){const d=()=>{if(u(),!c.current){const p=Bze(f,a);c.current=p,a()}};return a(),f.addEventListener("scroll",d),()=>f.removeEventListener("scroll",d)}},[o.viewport,u,a]),E.createElement(V3.div,co({"data-state":s.hasThumb?"visible":"hidden"},i,{ref:l,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:h1(t.onPointerDownCapture,f=>{const p=f.target.getBoundingClientRect(),h=f.clientX-p.left,A=f.clientY-p.top;s.onThumbPointerDown({x:h,y:A})}),onPointerUp:h1(t.onPointerUp,s.onThumbPointerUp)}))}),cbe="ScrollAreaCorner",gze=E.forwardRef((t,e)=>{const r=zu(cbe,t.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?E.createElement(vze,co({},t,{ref:e})):null}),vze=E.forwardRef((t,e)=>{const{__scopeScrollArea:r,...n}=t,i=zu(cbe,r),[o,s]=E.useState(0),[a,l]=E.useState(0),c=!!(o&&a);return cB(i.scrollbarX,()=>{var u;const f=((u=i.scrollbarX)===null||u===void 0?void 0:u.offsetHeight)||0;i.onCornerHeightChange(f),l(f)}),cB(i.scrollbarY,()=>{var u;const f=((u=i.scrollbarY)===null||u===void 0?void 0:u.offsetWidth)||0;i.onCornerWidthChange(f),s(f)}),c?E.createElement(V3.div,co({},n,{ref:e,style:{width:o,height:a,position:"absolute",right:i.dir==="ltr"?0:void 0,left:i.dir==="rtl"?0:void 0,bottom:0,...t.style}})):null});function z7(t){return t?parseInt(t,10):0}function ube(t,e){const r=t/e;return isNaN(r)?0:r}function oI(t){const e=ube(t.viewport,t.content),r=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,n=(t.scrollbar.size-r)*e;return Math.max(n,18)}function yze(t,e,r,n="ltr"){const i=oI(r),o=i/2,s=e||o,a=i-s,l=r.scrollbar.paddingStart+s,c=r.scrollbar.size-r.scrollbar.paddingEnd-a,u=r.content-r.viewport,f=n==="ltr"?[0,u]:[u*-1,0];return fbe([l,c],f)(t)}function Zie(t,e,r="ltr"){const n=oI(e),i=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,o=e.scrollbar.size-i,s=e.content-e.viewport,a=o-n,l=r==="ltr"?[0,s]:[s*-1,0],c=nze(t,l);return fbe([0,s],[0,a])(c)}function fbe(t,e){return r=>{if(t[0]===t[1]||e[0]===e[1])return e[0];const n=(e[1]-e[0])/(t[1]-t[0]);return e[0]+n*(r-t[0])}}function dbe(t,e){return t>0&&t<e}const Bze=(t,e=()=>{})=>{let r={left:t.scrollLeft,top:t.scrollTop},n=0;return function i(){const o={left:t.scrollLeft,top:t.scrollTop},s=r.left!==o.left,a=r.top!==o.top;(s||a)&&e(),r=o,n=window.requestAnimationFrame(i)}(),()=>window.cancelAnimationFrame(n)};function sI(t,e){const r=jg(t),n=E.useRef(0);return E.useEffect(()=>()=>window.clearTimeout(n.current),[]),E.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,e)},[r,e])}function cB(t,e){const r=jg(e);hV(()=>{let n=0;if(t){const i=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return i.observe(t),()=>{window.cancelAnimationFrame(n),i.unobserve(t)}}},[t,r])}const Cze=sze,bze=lze,eoe=cze,toe=hze,wze=gze;var xze=Pn((t,{scrollbarSize:e,offsetScrollbars:r,scrollbarHovered:n,hidden:i})=>({root:{overflow:"hidden"},viewport:{width:"100%",height:"100%",paddingRight:r?$e(e):void 0,paddingBottom:r?$e(e):void 0},scrollbar:{display:i?"none":"flex",userSelect:"none",touchAction:"none",boxSizing:"border-box",padding:`calc(${$e(e)} / 5)`,transition:"background-color 150ms ease, opacity 150ms ease","&:hover":{backgroundColor:t.colorScheme==="dark"?t.colors.dark[8]:t.colors.gray[0],[`& .${Ns("thumb")}`]:{backgroundColor:t.colorScheme==="dark"?t.fn.rgba(t.white,.5):t.fn.rgba(t.black,.5)}},'&[data-orientation="vertical"]':{width:$e(e)},'&[data-orientation="horizontal"]':{flexDirection:"column",height:$e(e)},'&[data-state="hidden"]':{display:"none",opacity:0}},thumb:{ref:Ns("thumb"),flex:1,backgroundColor:t.colorScheme==="dark"?t.fn.rgba(t.white,.4):t.fn.rgba(t.black,.4),borderRadius:$e(e),position:"relative",transition:"background-color 150ms ease",display:i?"none":void 0,overflow:"hidden","&::before":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"100%",height:"100%",minWidth:$e(44),minHeight:$e(44)}},corner:{backgroundColor:t.colorScheme==="dark"?t.colors.dark[6]:t.colors.gray[0],transition:"opacity 150ms ease",opacity:n?1:0,display:i?"none":void 0}}));const Sze=xze;var Eze=Object.defineProperty,Dze=Object.defineProperties,kze=Object.getOwnPropertyDescriptors,K7=Object.getOwnPropertySymbols,pbe=Object.prototype.hasOwnProperty,Abe=Object.prototype.propertyIsEnumerable,roe=(t,e,r)=>e in t?Eze(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,gV=(t,e)=>{for(var r in e||(e={}))pbe.call(e,r)&&roe(t,r,e[r]);if(K7)for(var r of K7(e))Abe.call(e,r)&&roe(t,r,e[r]);return t},hbe=(t,e)=>Dze(t,kze(e)),mbe=(t,e)=>{var r={};for(var n in t)pbe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&K7)for(var n of K7(t))e.indexOf(n)<0&&Abe.call(t,n)&&(r[n]=t[n]);return r};const gbe={scrollbarSize:12,scrollHideDelay:1e3,type:"hover",offsetScrollbars:!1},aI=E.forwardRef((t,e)=>{const r=Xr("ScrollArea",gbe,t),{children:n,className:i,classNames:o,styles:s,scrollbarSize:a,scrollHideDelay:l,type:c,dir:u,offsetScrollbars:f,viewportRef:d,onScrollPositionChange:p,unstyled:h,variant:A,viewportProps:g}=r,m=mbe(r,["children","className","classNames","styles","scrollbarSize","scrollHideDelay","type","dir","offsetScrollbars","viewportRef","onScrollPositionChange","unstyled","variant","viewportProps"]),[v,y]=E.useState(!1),b=wl(),{classes:B,cx:S}=Sze({scrollbarSize:a,offsetScrollbars:f,scrollbarHovered:v,hidden:c==="never"},{name:"ScrollArea",classNames:o,styles:s,unstyled:h,variant:A});return ve.createElement(Cze,{type:c==="never"?"always":c,scrollHideDelay:l,dir:u||b.dir,ref:e,asChild:!0},ve.createElement(Wn,gV({className:S(B.root,i)},m),ve.createElement(bze,hbe(gV({},g),{className:B.viewport,ref:d,onScroll:typeof p=="function"?({currentTarget:w})=>p({x:w.scrollLeft,y:w.scrollTop}):void 0}),n),ve.createElement(eoe,{orientation:"horizontal",className:B.scrollbar,forceMount:!0,onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1)},ve.createElement(toe,{className:B.thumb})),ve.createElement(eoe,{orientation:"vertical",className:B.scrollbar,forceMount:!0,onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1)},ve.createElement(toe,{className:B.thumb})),ve.createElement(wze,{className:B.corner})))}),vbe=E.forwardRef((t,e)=>{const r=Xr("ScrollAreaAutosize",gbe,t),{children:n,classNames:i,styles:o,scrollbarSize:s,scrollHideDelay:a,type:l,dir:c,offsetScrollbars:u,viewportRef:f,onScrollPositionChange:d,unstyled:p,sx:h,variant:A,viewportProps:g}=r,m=mbe(r,["children","classNames","styles","scrollbarSize","scrollHideDelay","type","dir","offsetScrollbars","viewportRef","onScrollPositionChange","unstyled","sx","variant","viewportProps"]);return ve.createElement(Wn,hbe(gV({},m),{ref:e,sx:[{display:"flex"},...PBe(h)]}),ve.createElement(Wn,{sx:{display:"flex",flexDirection:"column",flex:1}},ve.createElement(aI,{classNames:i,styles:o,scrollHideDelay:a,scrollbarSize:s,type:l,dir:c,offsetScrollbars:u,viewportRef:f,onScrollPositionChange:d,unstyled:p,variant:A,viewportProps:g},n)))});vbe.displayName="@mantine/core/ScrollAreaAutosize";aI.displayName="@mantine/core/ScrollArea";aI.Autosize=vbe;const Oze=aI;var Pze=Object.defineProperty,Ize=Object.defineProperties,Nze=Object.getOwnPropertyDescriptors,q7=Object.getOwnPropertySymbols,ybe=Object.prototype.hasOwnProperty,Bbe=Object.prototype.propertyIsEnumerable,noe=(t,e,r)=>e in t?Pze(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,ioe=(t,e)=>{for(var r in e||(e={}))ybe.call(e,r)&&noe(t,r,e[r]);if(q7)for(var r of q7(e))Bbe.call(e,r)&&noe(t,r,e[r]);return t},Fze=(t,e)=>Ize(t,Nze(e)),Tze=(t,e)=>{var r={};for(var n in t)ybe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&q7)for(var n of q7(t))e.indexOf(n)<0&&Bbe.call(t,n)&&(r[n]=t[n]);return r};const ZX=E.forwardRef((t,e)=>{var r=t,{style:n}=r,i=Tze(r,["style"]);return ve.createElement(Oze,Fze(ioe({},i),{style:ioe({width:"100%"},n),viewportProps:{tabIndex:-1},viewportRef:e}),i.children)});ZX.displayName="@mantine/core/SelectScrollArea";var Lze=Pn(()=>({dropdown:{},itemsWrapper:{padding:$e(4),display:"flex",width:"100%",boxSizing:"border-box"}}));const Rze=Lze;/*! * tabbable 6.2.0 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE */var Mze=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],X7=Mze.join(","),Cbe=typeof Element>"u",uB=Cbe?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Y7=!Cbe&&Element.prototype.getRootNode?function(t){var e;return t==null||(e=t.getRootNode)===null||e===void 0?void 0:e.call(t)}:function(t){return t?.ownerDocument},J7=function t(e,r){var n;r===void 0&&(r=!0);var i=e==null||(n=e.getAttribute)===null||n===void 0?void 0:n.call(e,"inert"),o=i===""||i==="true",s=o||r&&e&&t(e.parentNode);return s},_ze=function(e){var r,n=e==null||(r=e.getAttribute)===null||r===void 0?void 0:r.call(e,"contenteditable");return n===""||n==="true"},jze=function(e,r,n){if(J7(e))return[];var i=Array.prototype.slice.apply(e.querySelectorAll(X7));return r&&uB.call(e,X7)&&i.unshift(e),i=i.filter(n),i},Uze=function t(e,r,n){for(var i=[],o=Array.from(e);o.length;){var s=o.shift();if(!J7(s,!1))if(s.tagName==="SLOT"){var a=s.assignedElements(),l=a.length?a:s.children,c=t(l,!0,n);n.flatten?i.push.apply(i,c):i.push({scopeParent:s,candidates:c})}else{var u=uB.call(s,X7);u&&n.filter(s)&&(r||!e.includes(s))&&i.push(s);var f=s.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(s),d=!J7(f,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(s));if(f&&d){var p=t(f===!0?s.children:f.children,!0,n);n.flatten?i.push.apply(i,p):i.push({scopeParent:s,candidates:p})}else o.unshift.apply(o,s.children)}}return i},bbe=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},wbe=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||_ze(e))&&!bbe(e)?0:e.tabIndex},Qze=function(e,r){var n=wbe(e);return n<0&&r&&!bbe(e)?0:n},Vze=function(e,r){return e.tabIndex===r.tabIndex?e.documentOrder-r.documentOrder:e.tabIndex-r.tabIndex},xbe=function(e){return e.tagName==="INPUT"},$ze=function(e){return xbe(e)&&e.type==="hidden"},Hze=function(e){var r=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(n){return n.tagName==="SUMMARY"});return r},Gze=function(e,r){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===r)return e[n]},Wze=function(e){if(!e.name)return!0;var r=e.form||Y7(e),n=function(a){return r.querySelectorAll('input[type="radio"][name="'+a+'"]')},i;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")i=n(window.CSS.escape(e.name));else try{i=n(e.name)}catch(s){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",s.message),!1}var o=Gze(i,e.form);return!o||o===e},zze=function(e){return xbe(e)&&e.type==="radio"},Kze=function(e){return zze(e)&&!Wze(e)},qze=function(e){var r,n=e&&Y7(e),i=(r=n)===null||r===void 0?void 0:r.host,o=!1;if(n&&n!==e){var s,a,l;for(o=!!((s=i)!==null&&s!==void 0&&(a=s.ownerDocument)!==null&&a!==void 0&&a.contains(i)||e!=null&&(l=e.ownerDocument)!==null&&l!==void 0&&l.contains(e));!o&&i;){var c,u,f;n=Y7(i),i=(c=n)===null||c===void 0?void 0:c.host,o=!!((u=i)!==null&&u!==void 0&&(f=u.ownerDocument)!==null&&f!==void 0&&f.contains(i))}}return o},ooe=function(e){var r=e.getBoundingClientRect(),n=r.width,i=r.height;return n===0&&i===0},Xze=function(e,r){var n=r.displayCheck,i=r.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var o=uB.call(e,"details>summary:first-of-type"),s=o?e.parentElement:e;if(uB.call(s,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="legacy-full"){if(typeof i=="function"){for(var a=e;e;){var l=e.parentElement,c=Y7(e);if(l&&!l.shadowRoot&&i(l)===!0)return ooe(e);e.assignedSlot?e=e.assignedSlot:!l&&c!==e.ownerDocument?e=c.host:e=l}e=a}if(qze(e))return!e.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return ooe(e);return!1},Yze=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var r=e.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var n=0;n<r.children.length;n++){var i=r.children.item(n);if(i.tagName==="LEGEND")return uB.call(r,"fieldset[disabled] *")?!0:!i.contains(e)}return!0}r=r.parentElement}return!1},Jze=function(e,r){return!(r.disabled||J7(r)||$ze(r)||Xze(r,e)||Hze(r)||Yze(r))},vV=function(e,r){return!(Kze(r)||wbe(r)<0||!Jze(e,r))},Zze=function(e){var r=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(r)||r>=0)},eKe=function t(e){var r=[],n=[];return e.forEach(function(i,o){var s=!!i.scopeParent,a=s?i.scopeParent:i,l=Qze(a,s),c=s?t(i.candidates):a;l===0?s?r.push.apply(r,c):r.push(a):n.push({documentOrder:o,tabIndex:l,item:i,isScope:s,content:c})}),n.sort(Vze).reduce(function(i,o){return o.isScope?i.push.apply(i,o.content):i.push(o.content),i},[]).concat(r)},lI=function(e,r){r=r||{};var n;return r.getShadowRoot?n=Uze([e],r.includeContainer,{filter:vV.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:Zze}):n=jze(e,r.includeContainer,vV.bind(null,r)),eKe(n)},tKe=function(e,r){if(r=r||{},!e)throw new Error("No node provided");return uB.call(e,X7)===!1?!1:vV(r,e)};const jf=Math.min,Ha=Math.max,Z7=Math.round,JS=Math.floor,hp=t=>({x:t,y:t}),rKe={left:"right",right:"left",bottom:"top",top:"bottom"},nKe={start:"end",end:"start"};function yV(t,e,r){return Ha(t,jf(e,r))}function JA(t,e){return typeof t=="function"?t(e):t}function Uf(t){return t.split("-")[0]}function uC(t){return t.split("-")[1]}function eY(t){return t==="x"?"y":"x"}function tY(t){return t==="y"?"height":"width"}const iKe=new Set(["top","bottom"]);function Of(t){return iKe.has(Uf(t))?"y":"x"}function rY(t){return eY(Of(t))}function oKe(t,e,r){r===void 0&&(r=!1);const n=uC(t),i=rY(t),o=tY(i);let s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[o]>e.floating[o]&&(s=ek(s)),[s,ek(s)]}function sKe(t){const e=ek(t);return[BV(t),e,BV(e)]}function BV(t){return t.replace(/start|end/g,e=>nKe[e])}const soe=["left","right"],aoe=["right","left"],aKe=["top","bottom"],lKe=["bottom","top"];function cKe(t,e,r){switch(t){case"top":case"bottom":return r?e?aoe:soe:e?soe:aoe;case"left":case"right":return e?aKe:lKe;default:return[]}}function uKe(t,e,r,n){const i=uC(t);let o=cKe(Uf(t),r==="start",n);return i&&(o=o.map(s=>s+"-"+i),e&&(o=o.concat(o.map(BV)))),o}function ek(t){return t.replace(/left|right|bottom|top/g,e=>rKe[e])}function fKe(t){return{top:0,right:0,bottom:0,left:0,...t}}function nY(t){return typeof t!="number"?fKe(t):{top:t,right:t,bottom:t,left:t}}function fB(t){const{x:e,y:r,width:n,height:i}=t;return{width:n,height:i,top:r,left:e,right:e+n,bottom:r+i,x:e,y:r}}function loe(t,e,r){let{reference:n,floating:i}=t;const o=Of(e),s=rY(e),a=tY(s),l=Uf(e),c=o==="y",u=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,d=n[a]/2-i[a]/2;let p;switch(l){case"top":p={x:u,y:n.y-i.height};break;case"bottom":p={x:u,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:f};break;case"left":p={x:n.x-i.width,y:f};break;default:p={x:n.x,y:n.y}}switch(uC(e)){case"start":p[s]-=d*(r&&c?-1:1);break;case"end":p[s]+=d*(r&&c?-1:1);break}return p}const dKe=async(t,e,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:s}=r,a=o.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:u,y:f}=loe(c,n,l),d=n,p={},h=0;for(let A=0;A<a.length;A++){const{name:g,fn:m}=a[A],{x:v,y,data:b,reset:B}=await m({x:u,y:f,initialPlacement:n,placement:d,strategy:i,middlewareData:p,rects:c,platform:s,elements:{reference:t,floating:e}});u=v??u,f=y??f,p={...p,[g]:{...p[g],...b}},B&&h<=50&&(h++,typeof B=="object"&&(B.placement&&(d=B.placement),B.rects&&(c=B.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):B.rects),{x:u,y:f}=loe(c,d,l)),A=-1)}return{x:u,y:f,placement:d,strategy:i,middlewareData:p}};async function iY(t,e){var r;e===void 0&&(e={});const{x:n,y:i,platform:o,rects:s,elements:a,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=JA(e,t),h=nY(p),g=a[d?f==="floating"?"reference":"floating":f],m=fB(await o.getClippingRect({element:(r=await(o.isElement==null?void 0:o.isElement(g)))==null||r?g:g.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),v=f==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,y=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),b=await(o.isElement==null?void 0:o.isElement(y))?await(o.getScale==null?void 0:o.getScale(y))||{x:1,y:1}:{x:1,y:1},B=fB(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:y,strategy:l}):v);return{top:(m.top-B.top+h.top)/b.y,bottom:(B.bottom-m.bottom+h.bottom)/b.y,left:(m.left-B.left+h.left)/b.x,right:(B.right-m.right+h.right)/b.x}}const pKe=t=>({name:"arrow",options:t,async fn(e){const{x:r,y:n,placement:i,rects:o,platform:s,elements:a,middlewareData:l}=e,{element:c,padding:u=0}=JA(t,e)||{};if(c==null)return{};const f=nY(u),d={x:r,y:n},p=rY(i),h=tY(p),A=await s.getDimensions(c),g=p==="y",m=g?"top":"left",v=g?"bottom":"right",y=g?"clientHeight":"clientWidth",b=o.reference[h]+o.reference[p]-d[p]-o.floating[h],B=d[p]-o.reference[p],S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let w=S?S[y]:0;(!w||!await(s.isElement==null?void 0:s.isElement(S)))&&(w=a.floating[y]||o.floating[h]);const x=b/2-B/2,I=w/2-A[h]/2-1,F=jf(f[m],I),k=jf(f[v],I),O=F,L=w-A[h]-k,M=w/2-A[h]/2+x,H=yV(O,M,L),V=!l.arrow&&uC(i)!=null&&M!==H&&o.reference[h]/2-(M<O?F:k)-A[h]/2<0,j=V?M<O?M-O:M-L:0;return{[p]:d[p]+j,data:{[p]:H,centerOffset:M-H-j,...V&&{alignmentOffset:j}},reset:V}}}),AKe=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;const{placement:i,middlewareData:o,rects:s,initialPlacement:a,platform:l,elements:c}=e,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:A=!0,...g}=JA(t,e);if((r=o.arrow)!=null&&r.alignmentOffset)return{};const m=Uf(i),v=Of(a),y=Uf(a)===a,b=await(l.isRTL==null?void 0:l.isRTL(c.floating)),B=d||(y||!A?[ek(a)]:sKe(a)),S=h!=="none";!d&&S&&B.push(...uKe(a,A,h,b));const w=[a,...B],x=await iY(e,g),I=[];let F=((n=o.flip)==null?void 0:n.overflows)||[];if(u&&I.push(x[m]),f){const M=oKe(i,s,b);I.push(x[M[0]],x[M[1]])}if(F=[...F,{placement:i,overflows:I}],!I.every(M=>M<=0)){var k,O;const M=(((k=o.flip)==null?void 0:k.index)||0)+1,H=w[M];if(H&&(!(f==="alignment"?v!==Of(H):!1)||F.every(R=>Of(R.placement)===v?R.overflows[0]>0:!0)))return{data:{index:M,overflows:F},reset:{placement:H}};let V=(O=F.filter(j=>j.overflows[0]<=0).sort((j,R)=>j.overflows[1]-R.overflows[1])[0])==null?void 0:O.placement;if(!V)switch(p){case"bestFit":{var L;const j=(L=F.filter(R=>{if(S){const Q=Of(R.placement);return Q===v||Q==="y"}return!0}).map(R=>[R.placement,R.overflows.filter(Q=>Q>0).reduce((Q,z)=>Q+z,0)]).sort((R,Q)=>R[1]-Q[1])[0])==null?void 0:L[0];j&&(V=j);break}case"initialPlacement":V=a;break}if(i!==V)return{reset:{placement:V}}}return{}}}};function Sbe(t){const e=jf(...t.map(o=>o.left)),r=jf(...t.map(o=>o.top)),n=Ha(...t.map(o=>o.right)),i=Ha(...t.map(o=>o.bottom));return{x:e,y:r,width:n-e,height:i-r}}function hKe(t){const e=t.slice().sort((i,o)=>i.y-o.y),r=[];let n=null;for(let i=0;i<e.length;i++){const o=e[i];!n||o.y-n.y>n.height/2?r.push([o]):r[r.length-1].push(o),n=o}return r.map(i=>fB(Sbe(i)))}const mKe=function(t){return t===void 0&&(t={}),{name:"inline",options:t,async fn(e){const{placement:r,elements:n,rects:i,platform:o,strategy:s}=e,{padding:a=2,x:l,y:c}=JA(t,e),u=Array.from(await(o.getClientRects==null?void 0:o.getClientRects(n.reference))||[]),f=hKe(u),d=fB(Sbe(u)),p=nY(a);function h(){if(f.length===2&&f[0].left>f[1].right&&l!=null&&c!=null)return f.find(g=>l>g.left-p.left&&l<g.right+p.right&&c>g.top-p.top&&c<g.bottom+p.bottom)||d;if(f.length>=2){if(Of(r)==="y"){const F=f[0],k=f[f.length-1],O=Uf(r)==="top",L=F.top,M=k.bottom,H=O?F.left:k.left,V=O?F.right:k.right,j=V-H,R=M-L;return{top:L,bottom:M,left:H,right:V,width:j,height:R,x:H,y:L}}const g=Uf(r)==="left",m=Ha(...f.map(F=>F.right)),v=jf(...f.map(F=>F.left)),y=f.filter(F=>g?F.left===v:F.right===m),b=y[0].top,B=y[y.length-1].bottom,S=v,w=m,x=w-S,I=B-b;return{top:b,bottom:B,left:S,right:w,width:x,height:I,x:S,y:b}}return d}const A=await o.getElementRects({reference:{getBoundingClientRect:h},floating:n.floating,strategy:s});return i.reference.x!==A.reference.x||i.reference.y!==A.reference.y||i.reference.width!==A.reference.width||i.reference.height!==A.reference.height?{reset:{rects:A}}:{}}}},Ebe=new Set(["left","top"]);async function gKe(t,e){const{placement:r,platform:n,elements:i}=t,o=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=Uf(r),a=uC(r),l=Of(r)==="y",c=Ebe.has(s)?-1:1,u=o&&l?-1:1,f=JA(e,t);let{mainAxis:d,crossAxis:p,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof h=="number"&&(p=a==="end"?h*-1:h),l?{x:p*u,y:d*c}:{x:d*c,y:p*u}}const vKe=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;const{x:i,y:o,placement:s,middlewareData:a}=e,l=await gKe(e,t);return s===((r=a.offset)==null?void 0:r.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:s}}}}},yKe=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:r,y:n,placement:i}=e,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:g=>{let{x:m,y:v}=g;return{x:m,y:v}}},...l}=JA(t,e),c={x:r,y:n},u=await iY(e,l),f=Of(Uf(i)),d=eY(f);let p=c[d],h=c[f];if(o){const g=d==="y"?"top":"left",m=d==="y"?"bottom":"right",v=p+u[g],y=p-u[m];p=yV(v,p,y)}if(s){const g=f==="y"?"top":"left",m=f==="y"?"bottom":"right",v=h+u[g],y=h-u[m];h=yV(v,h,y)}const A=a.fn({...e,[d]:p,[f]:h});return{...A,data:{x:A.x-r,y:A.y-n,enabled:{[d]:o,[f]:s}}}}}},BKe=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:r,y:n,placement:i,rects:o,middlewareData:s}=e,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=JA(t,e),u={x:r,y:n},f=Of(i),d=eY(f);let p=u[d],h=u[f];const A=JA(a,e),g=typeof A=="number"?{mainAxis:A,crossAxis:0}:{mainAxis:0,crossAxis:0,...A};if(l){const y=d==="y"?"height":"width",b=o.reference[d]-o.floating[y]+g.mainAxis,B=o.reference[d]+o.reference[y]-g.mainAxis;p<b?p=b:p>B&&(p=B)}if(c){var m,v;const y=d==="y"?"width":"height",b=Ebe.has(Uf(i)),B=o.reference[f]-o.floating[y]+(b&&((m=s.offset)==null?void 0:m[f])||0)+(b?0:g.crossAxis),S=o.reference[f]+o.reference[y]+(b?0:((v=s.offset)==null?void 0:v[f])||0)-(b?g.crossAxis:0);h<B?h=B:h>S&&(h=S)}return{[d]:p,[f]:h}}}},CKe=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,n;const{placement:i,rects:o,platform:s,elements:a}=e,{apply:l=()=>{},...c}=JA(t,e),u=await iY(e,c),f=Uf(i),d=uC(i),p=Of(i)==="y",{width:h,height:A}=o.floating;let g,m;f==="top"||f==="bottom"?(g=f,m=d===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(m=f,g=d==="end"?"top":"bottom");const v=A-u.top-u.bottom,y=h-u.left-u.right,b=jf(A-u[g],v),B=jf(h-u[m],y),S=!e.middlewareData.shift;let w=b,x=B;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(x=y),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(w=v),S&&!d){const F=Ha(u.left,0),k=Ha(u.right,0),O=Ha(u.top,0),L=Ha(u.bottom,0);p?x=h-2*(F!==0||k!==0?F+k:Ha(u.left,u.right)):w=A-2*(O!==0||L!==0?O+L:Ha(u.top,u.bottom))}await l({...e,availableWidth:x,availableHeight:w});const I=await s.getDimensions(a.floating);return h!==I.width||A!==I.height?{reset:{rects:!0}}:{}}}};function cI(){return typeof window<"u"}function jm(t){return Dbe(t)?(t.nodeName||"").toLowerCase():"#document"}function jc(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function kp(t){var e;return(e=(Dbe(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Dbe(t){return cI()?t instanceof Node||t instanceof jc(t).Node:!1}function $o(t){return cI()?t instanceof Element||t instanceof jc(t).Element:!1}function Ys(t){return cI()?t instanceof HTMLElement||t instanceof jc(t).HTMLElement:!1}function CV(t){return!cI()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof jc(t).ShadowRoot}const bKe=new Set(["inline","contents"]);function H3(t){const{overflow:e,overflowX:r,overflowY:n,display:i}=ju(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!bKe.has(i)}const wKe=new Set(["table","td","th"]);function xKe(t){return wKe.has(jm(t))}const SKe=[":popover-open",":modal"];function uI(t){return SKe.some(e=>{try{return t.matches(e)}catch{return!1}})}const EKe=["transform","translate","scale","rotate","perspective"],DKe=["transform","translate","scale","rotate","perspective","filter"],kKe=["paint","layout","strict","content"];function oY(t){const e=fI(),r=$o(t)?ju(t):t;return EKe.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||DKe.some(n=>(r.willChange||"").includes(n))||kKe.some(n=>(r.contain||"").includes(n))}function OKe(t){let e=ZA(t);for(;Ys(e)&&!Am(e);){if(oY(e))return e;if(uI(e))return null;e=ZA(e)}return null}function fI(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const PKe=new Set(["html","body","#document"]);function Am(t){return PKe.has(jm(t))}function ju(t){return jc(t).getComputedStyle(t)}function dI(t){return $o(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function ZA(t){if(jm(t)==="html")return t;const e=t.assignedSlot||t.parentNode||CV(t)&&t.host||kp(t);return CV(e)?e.host:e}function kbe(t){const e=ZA(t);return Am(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ys(e)&&H3(e)?e:kbe(e)}function Tu(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const i=kbe(t),o=i===((n=t.ownerDocument)==null?void 0:n.body),s=jc(i);if(o){const a=bV(s);return e.concat(s,s.visualViewport||[],H3(i)?i:[],a&&r?Tu(a):[])}return e.concat(i,Tu(i,[],r))}function bV(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Obe(t){const e=ju(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=Ys(t),o=i?t.offsetWidth:r,s=i?t.offsetHeight:n,a=Z7(r)!==o||Z7(n)!==s;return a&&(r=o,n=s),{width:r,height:n,$:a}}function sY(t){return $o(t)?t:t.contextElement}function P2(t){const e=sY(t);if(!Ys(e))return hp(1);const r=e.getBoundingClientRect(),{width:n,height:i,$:o}=Obe(e);let s=(o?Z7(r.width):r.width)/n,a=(o?Z7(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const IKe=hp(0);function Pbe(t){const e=jc(t);return!fI()||!e.visualViewport?IKe:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function NKe(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==jc(t)?!1:e}function R1(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const i=t.getBoundingClientRect(),o=sY(t);let s=hp(1);e&&(n?$o(n)&&(s=P2(n)):s=P2(t));const a=NKe(o,r,n)?Pbe(o):hp(0);let l=(i.left+a.x)/s.x,c=(i.top+a.y)/s.y,u=i.width/s.x,f=i.height/s.y;if(o){const d=jc(o),p=n&&$o(n)?jc(n):n;let h=d,A=bV(h);for(;A&&n&&p!==h;){const g=P2(A),m=A.getBoundingClientRect(),v=ju(A),y=m.left+(A.clientLeft+parseFloat(v.paddingLeft))*g.x,b=m.top+(A.clientTop+parseFloat(v.paddingTop))*g.y;l*=g.x,c*=g.y,u*=g.x,f*=g.y,l+=y,c+=b,h=jc(A),A=bV(h)}}return fB({width:u,height:f,x:l,y:c})}function pI(t,e){const r=dI(t).scrollLeft;return e?e.left+r:R1(kp(t)).left+r}function Ibe(t,e){const r=t.getBoundingClientRect(),n=r.left+e.scrollLeft-pI(t,r),i=r.top+e.scrollTop;return{x:n,y:i}}function FKe(t){let{elements:e,rect:r,offsetParent:n,strategy:i}=t;const o=i==="fixed",s=kp(n),a=e?uI(e.floating):!1;if(n===s||a&&o)return r;let l={scrollLeft:0,scrollTop:0},c=hp(1);const u=hp(0),f=Ys(n);if((f||!f&&!o)&&((jm(n)!=="body"||H3(s))&&(l=dI(n)),Ys(n))){const p=R1(n);c=P2(n),u.x=p.x+n.clientLeft,u.y=p.y+n.clientTop}const d=s&&!f&&!o?Ibe(s,l):hp(0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+u.x+d.x,y:r.y*c.y-l.scrollTop*c.y+u.y+d.y}}function TKe(t){return Array.from(t.getClientRects())}function LKe(t){const e=kp(t),r=dI(t),n=t.ownerDocument.body,i=Ha(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),o=Ha(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+pI(t);const a=-r.scrollTop;return ju(n).direction==="rtl"&&(s+=Ha(e.clientWidth,n.clientWidth)-i),{width:i,height:o,x:s,y:a}}const coe=25;function RKe(t,e){const r=jc(t),n=kp(t),i=r.visualViewport;let o=n.clientWidth,s=n.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;const u=fI();(!u||u&&e==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}const c=pI(n);if(c<=0){const u=n.ownerDocument,f=u.body,d=getComputedStyle(f),p=u.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,h=Math.abs(n.clientWidth-f.clientWidth-p);h<=coe&&(o-=h)}else c<=coe&&(o+=c);return{width:o,height:s,x:a,y:l}}const MKe=new Set(["absolute","fixed"]);function _Ke(t,e){const r=R1(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,o=Ys(t)?P2(t):hp(1),s=t.clientWidth*o.x,a=t.clientHeight*o.y,l=i*o.x,c=n*o.y;return{width:s,height:a,x:l,y:c}}function uoe(t,e,r){let n;if(e==="viewport")n=RKe(t,r);else if(e==="document")n=LKe(kp(t));else if($o(e))n=_Ke(e,r);else{const i=Pbe(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return fB(n)}function Nbe(t,e){const r=ZA(t);return r===e||!$o(r)||Am(r)?!1:ju(r).position==="fixed"||Nbe(r,e)}function jKe(t,e){const r=e.get(t);if(r)return r;let n=Tu(t,[],!1).filter(a=>$o(a)&&jm(a)!=="body"),i=null;const o=ju(t).position==="fixed";let s=o?ZA(t):t;for(;$o(s)&&!Am(s);){const a=ju(s),l=oY(s);!l&&a.position==="fixed"&&(i=null),(o?!l&&!i:!l&&a.position==="static"&&!!i&&MKe.has(i.position)||H3(s)&&!l&&Nbe(t,s))?n=n.filter(u=>u!==s):i=a,s=ZA(s)}return e.set(t,n),n}function UKe(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t;const s=[...r==="clippingAncestors"?uI(e)?[]:jKe(e,this._c):[].concat(r),n],a=s[0],l=s.reduce((c,u)=>{const f=uoe(e,u,i);return c.top=Ha(f.top,c.top),c.right=jf(f.right,c.right),c.bottom=jf(f.bottom,c.bottom),c.left=Ha(f.left,c.left),c},uoe(e,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function QKe(t){const{width:e,height:r}=Obe(t);return{width:e,height:r}}function VKe(t,e,r){const n=Ys(e),i=kp(e),o=r==="fixed",s=R1(t,!0,o,e);let a={scrollLeft:0,scrollTop:0};const l=hp(0);function c(){l.x=pI(i)}if(n||!n&&!o)if((jm(e)!=="body"||H3(i))&&(a=dI(e)),n){const p=R1(e,!0,o,e);l.x=p.x+e.clientLeft,l.y=p.y+e.clientTop}else i&&c();o&&!n&&i&&c();const u=i&&!n&&!o?Ibe(i,a):hp(0),f=s.left+a.scrollLeft-l.x-u.x,d=s.top+a.scrollTop-l.y-u.y;return{x:f,y:d,width:s.width,height:s.height}}function wT(t){return ju(t).position==="static"}function foe(t,e){if(!Ys(t)||ju(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return kp(t)===r&&(r=r.ownerDocument.body),r}function Fbe(t,e){const r=jc(t);if(uI(t))return r;if(!Ys(t)){let i=ZA(t);for(;i&&!Am(i);){if($o(i)&&!wT(i))return i;i=ZA(i)}return r}let n=foe(t,e);for(;n&&xKe(n)&&wT(n);)n=foe(n,e);return n&&Am(n)&&wT(n)&&!oY(n)?r:n||OKe(t)||r}const $Ke=async function(t){const e=this.getOffsetParent||Fbe,r=this.getDimensions,n=await r(t.floating);return{reference:VKe(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function HKe(t){return ju(t).direction==="rtl"}const GKe={convertOffsetParentRelativeRectToViewportRelativeRect:FKe,getDocumentElement:kp,getClippingRect:UKe,getOffsetParent:Fbe,getElementRects:$Ke,getClientRects:TKe,getDimensions:QKe,getScale:P2,isElement:$o,isRTL:HKe};function Tbe(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function WKe(t,e){let r=null,n;const i=kp(t);function o(){var a;clearTimeout(n),(a=r)==null||a.disconnect(),r=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),o();const c=t.getBoundingClientRect(),{left:u,top:f,width:d,height:p}=c;if(a||e(),!d||!p)return;const h=JS(f),A=JS(i.clientWidth-(u+d)),g=JS(i.clientHeight-(f+p)),m=JS(u),y={rootMargin:-h+"px "+-A+"px "+-g+"px "+-m+"px",threshold:Ha(0,jf(1,l))||1};let b=!0;function B(S){const w=S[0].intersectionRatio;if(w!==l){if(!b)return s();w?s(!1,w):n=setTimeout(()=>{s(!1,1e-7)},1e3)}w===1&&!Tbe(c,t.getBoundingClientRect())&&s(),b=!1}try{r=new IntersectionObserver(B,{...y,root:i.ownerDocument})}catch{r=new IntersectionObserver(B,y)}r.observe(t)}return s(!0),o}function Lbe(t,e,r,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,c=sY(t),u=i||o?[...c?Tu(c):[],...Tu(e)]:[];u.forEach(m=>{i&&m.addEventListener("scroll",r,{passive:!0}),o&&m.addEventListener("resize",r)});const f=c&&a?WKe(c,r):null;let d=-1,p=null;s&&(p=new ResizeObserver(m=>{let[v]=m;v&&v.target===c&&p&&(p.unobserve(e),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var y;(y=p)==null||y.observe(e)})),r()}),c&&!l&&p.observe(c),p.observe(e));let h,A=l?R1(t):null;l&&g();function g(){const m=R1(t);A&&!Tbe(A,m)&&r(),A=m,h=requestAnimationFrame(g)}return r(),()=>{var m;u.forEach(v=>{i&&v.removeEventListener("scroll",r),o&&v.removeEventListener("resize",r)}),f?.(),(m=p)==null||m.disconnect(),p=null,l&&cancelAnimationFrame(h)}}const aY=vKe,AI=yKe,lY=AKe,zKe=CKe,doe=pKe,Rbe=mKe,KKe=BKe,Mbe=(t,e,r)=>{const n=new Map,i={platform:GKe,...r},o={...i.platform,_c:n};return dKe(t,e,{...i,platform:o})},_be=t=>{const{element:e,padding:r}=t;function n(i){return Object.prototype.hasOwnProperty.call(i,"current")}return{name:"arrow",options:t,fn(i){return n(e)?e.current!=null?doe({element:e.current,padding:r}).fn(i):{}:e?doe({element:e,padding:r}).fn(i):{}}}};var XE=typeof document<"u"?E.useLayoutEffect:E.useEffect;function tk(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let r,n,i;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!tk(t[n],e[n]))return!1;return!0}if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){const o=i[n];if(!(o==="_owner"&&t.$$typeof)&&!tk(t[o],e[o]))return!1}return!0}return t!==t&&e!==e}function poe(t){const e=E.useRef(t);return XE(()=>{e.current=t}),e}function qKe(t){t===void 0&&(t={});const{placement:e="bottom",strategy:r="absolute",middleware:n=[],platform:i,whileElementsMounted:o,open:s}=t,[a,l]=E.useState({x:null,y:null,strategy:r,placement:e,middlewareData:{},isPositioned:!1}),[c,u]=E.useState(n);tk(c,n)||u(n);const f=E.useRef(null),d=E.useRef(null),p=E.useRef(a),h=poe(o),A=poe(i),[g,m]=E.useState(null),[v,y]=E.useState(null),b=E.useCallback(F=>{f.current!==F&&(f.current=F,m(F))},[]),B=E.useCallback(F=>{d.current!==F&&(d.current=F,y(F))},[]),S=E.useCallback(()=>{if(!f.current||!d.current)return;const F={placement:e,strategy:r,middleware:c};A.current&&(F.platform=A.current),Mbe(f.current,d.current,F).then(k=>{const O={...k,isPositioned:!0};w.current&&!tk(p.current,O)&&(p.current=O,pl.flushSync(()=>{l(O)}))})},[c,e,r,A]);XE(()=>{s===!1&&p.current.isPositioned&&(p.current.isPositioned=!1,l(F=>({...F,isPositioned:!1})))},[s]);const w=E.useRef(!1);XE(()=>(w.current=!0,()=>{w.current=!1}),[]),XE(()=>{if(g&&v){if(h.current)return h.current(g,v,S);S()}},[g,v,S,h]);const x=E.useMemo(()=>({reference:f,floating:d,setReference:b,setFloating:B}),[b,B]),I=E.useMemo(()=>({reference:g,floating:v}),[g,v]);return E.useMemo(()=>({...a,update:S,refs:x,elements:I,reference:b,floating:B}),[a,S,x,I,b,B])}var dB=typeof document<"u"?E.useLayoutEffect:E.useEffect;let xT=!1,XKe=0;const Aoe=()=>"floating-ui-"+XKe++;function YKe(){const[t,e]=E.useState(()=>xT?Aoe():void 0);return dB(()=>{t==null&&e(Aoe())},[]),E.useEffect(()=>{xT||(xT=!0)},[]),t}const JKe=G5["useId".toString()],hoe=JKe||YKe;function ZKe(){const t=new Map;return{emit(e,r){var n;(n=t.get(e))==null||n.forEach(i=>i(r))},on(e,r){t.set(e,[...t.get(e)||[],r])},off(e,r){t.set(e,(t.get(e)||[]).filter(n=>n!==r))}}}const eqe=E.createContext(null),tqe=E.createContext(null),jbe=()=>{var t;return((t=E.useContext(eqe))==null?void 0:t.id)||null},cY=()=>E.useContext(tqe);function D0(t){return t?.ownerDocument||document}function rqe(){const t=navigator.userAgentData;return t!=null&&t.platform?t.platform:navigator.platform}function nqe(){const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?t.brands.map(e=>{let{brand:r,version:n}=e;return r+"/"+n}).join(" "):navigator.userAgent}function uY(t){return D0(t).defaultView||window}function rp(t){return t?t instanceof uY(t).Element:!1}function Ube(t){return t?t instanceof uY(t).HTMLElement:!1}function iqe(t){if(typeof ShadowRoot>"u")return!1;const e=uY(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function oqe(t){if(t.mozInputSource===0&&t.isTrusted)return!0;const e=/Android/i;return(e.test(rqe())||e.test(nqe()))&&t.pointerType?t.type==="click"&&t.buttons===1:t.detail===0&&!t.pointerType}function sqe(t){return t.width===0&&t.height===0||t.width===1&&t.height===1&&t.pressure===0&&t.detail===0&&t.pointerType!=="mouse"||t.width<1&&t.height<1&&t.pressure===0&&t.detail===0}function Qbe(t,e){const r=["mouse","pen"];return e||r.push("",void 0),r.includes(t)}function moe(t){const e=E.useRef(t);return dB(()=>{e.current=t}),e}const goe="data-floating-ui-safe-polygon";function YE(t,e,r){return r&&!Qbe(r)?0:typeof t=="number"?t:t?.[e]}const aqe=function(t,e){let{enabled:r=!0,delay:n=0,handleClose:i=null,mouseOnly:o=!1,restMs:s=0,move:a=!0}=e===void 0?{}:e;const{open:l,onOpenChange:c,dataRef:u,events:f,elements:{domReference:d,floating:p},refs:h}=t,A=cY(),g=jbe(),m=moe(i),v=moe(n),y=E.useRef(),b=E.useRef(),B=E.useRef(),S=E.useRef(),w=E.useRef(!0),x=E.useRef(!1),I=E.useRef(()=>{}),F=E.useCallback(()=>{var M;const H=(M=u.current.openEvent)==null?void 0:M.type;return H?.includes("mouse")&&H!=="mousedown"},[u]);E.useEffect(()=>{if(!r)return;function M(){clearTimeout(b.current),clearTimeout(S.current),w.current=!0}return f.on("dismiss",M),()=>{f.off("dismiss",M)}},[r,f]),E.useEffect(()=>{if(!r||!m.current||!l)return;function M(){F()&&c(!1)}const H=D0(p).documentElement;return H.addEventListener("mouseleave",M),()=>{H.removeEventListener("mouseleave",M)}},[p,l,c,r,m,u,F]);const k=E.useCallback(function(M){M===void 0&&(M=!0);const H=YE(v.current,"close",y.current);H&&!B.current?(clearTimeout(b.current),b.current=setTimeout(()=>c(!1),H)):M&&(clearTimeout(b.current),c(!1))},[v,c]),O=E.useCallback(()=>{I.current(),B.current=void 0},[]),L=E.useCallback(()=>{if(x.current){const M=D0(h.floating.current).body;M.style.pointerEvents="",M.removeAttribute(goe),x.current=!1}},[h]);return E.useEffect(()=>{if(!r)return;function M(){return u.current.openEvent?["click","mousedown"].includes(u.current.openEvent.type):!1}function H(R){if(clearTimeout(b.current),w.current=!1,o&&!Qbe(y.current)||s>0&&YE(v.current,"open")===0)return;u.current.openEvent=R;const Q=YE(v.current,"open",y.current);Q?b.current=setTimeout(()=>{c(!0)},Q):c(!0)}function V(R){if(M())return;I.current();const Q=D0(p);if(clearTimeout(S.current),m.current){l||clearTimeout(b.current),B.current=m.current({...t,tree:A,x:R.clientX,y:R.clientY,onClose(){L(),O(),k()}});const z=B.current;Q.addEventListener("mousemove",z),I.current=()=>{Q.removeEventListener("mousemove",z)};return}k()}function j(R){M()||m.current==null||m.current({...t,tree:A,x:R.clientX,y:R.clientY,onClose(){L(),O(),k()}})(R)}if(rp(d)){const R=d;return l&&R.addEventListener("mouseleave",j),p?.addEventListener("mouseleave",j),a&&R.addEventListener("mousemove",H,{once:!0}),R.addEventListener("mouseenter",H),R.addEventListener("mouseleave",V),()=>{l&&R.removeEventListener("mouseleave",j),p?.removeEventListener("mouseleave",j),a&&R.removeEventListener("mousemove",H),R.removeEventListener("mouseenter",H),R.removeEventListener("mouseleave",V)}}},[d,p,r,t,o,s,a,k,O,L,c,l,A,v,m,u]),dB(()=>{var M;if(r&&l&&(M=m.current)!=null&&M.__options.blockPointerEvents&&F()){const j=D0(p).body;if(j.setAttribute(goe,""),j.style.pointerEvents="none",x.current=!0,rp(d)&&p){var H,V;const R=d,Q=A==null||(H=A.nodesRef.current.find(z=>z.id===g))==null||(V=H.context)==null?void 0:V.elements.floating;return Q&&(Q.style.pointerEvents=""),R.style.pointerEvents="auto",p.style.pointerEvents="auto",()=>{R.style.pointerEvents="",p.style.pointerEvents=""}}}},[r,l,g,p,d,A,m,u,F]),dB(()=>{l||(y.current=void 0,O(),L())},[l,O,L]),E.useEffect(()=>()=>{O(),clearTimeout(b.current),clearTimeout(S.current),L()},[r,O,L]),E.useMemo(()=>{if(!r)return{};function M(H){y.current=H.pointerType}return{reference:{onPointerDown:M,onPointerEnter:M,onMouseMove(){l||s===0||(clearTimeout(S.current),S.current=setTimeout(()=>{w.current||c(!0)},s))}},floating:{onMouseEnter(){clearTimeout(b.current)},onMouseLeave(){f.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),k(!1)}}}},[f,r,s,l,c,k])},Vbe=E.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:()=>{},setState:()=>{},isInstantPhase:!1}),$be=()=>E.useContext(Vbe),lqe=t=>{let{children:e,delay:r,timeoutMs:n=0}=t;const[i,o]=E.useReducer((l,c)=>({...l,...c}),{delay:r,timeoutMs:n,initialDelay:r,currentId:null,isInstantPhase:!1}),s=E.useRef(null),a=E.useCallback(l=>{o({currentId:l})},[]);return dB(()=>{i.currentId?s.current===null?s.current=i.currentId:o({isInstantPhase:!0}):(o({isInstantPhase:!1}),s.current=null)},[i.currentId]),E.createElement(Vbe.Provider,{value:E.useMemo(()=>({...i,setState:o,setCurrentId:a}),[i,o,a])},e)},cqe=(t,e)=>{let{open:r,onOpenChange:n}=t,{id:i}=e;const{currentId:o,setCurrentId:s,initialDelay:a,setState:l,timeoutMs:c}=$be();E.useEffect(()=>{o&&(l({delay:{open:1,close:YE(a,"close")}}),o!==i&&n(!1))},[i,n,l,o,a]),E.useEffect(()=>{function u(){n(!1),l({delay:a,currentId:null})}if(!r&&o===i)if(c){const f=window.setTimeout(u,c);return()=>{clearTimeout(f)}}else u()},[r,l,o,i,n,a,c]),E.useEffect(()=>{r&&s(i)},[r,s,i])};function uqe(t){let e=t.activeElement;for(;((r=e)==null||(n=r.shadowRoot)==null?void 0:n.activeElement)!=null;){var r,n;e=e.shadowRoot.activeElement}return e}function voe(t,e){if(!t||!e)return!1;const r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&iqe(r)){let n=e;do{if(n&&t===n)return!0;n=n.parentNode||n.host}while(n)}return!1}function ST(t,e){let r=t.filter(i=>{var o;return i.parentId===e&&((o=i.context)==null?void 0:o.open)})||[],n=r;for(;n.length;)n=t.filter(i=>{var o;return(o=n)==null?void 0:o.some(s=>{var a;return i.parentId===s.id&&((a=i.context)==null?void 0:a.open)})})||[],r=r.concat(n);return r}function fqe(t){return"composedPath"in t?t.composedPath()[0]:t.target}const dqe=G5["useInsertionEffect".toString()],pqe=dqe||(t=>t());function Hbe(t){const e=E.useRef(()=>{});return pqe(()=>{e.current=t}),E.useCallback(function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return e.current==null?void 0:e.current(...n)},[])}function JE(t,e){if(e==null)return!1;if("composedPath"in t)return t.composedPath().includes(e);const r=t;return r.target!=null&&e.contains(r.target)}const Aqe={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},hqe={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},mqe=function(t){var e,r;return t===void 0&&(t=!0),{escapeKeyBubbles:typeof t=="boolean"?t:(e=t.escapeKey)!=null?e:!0,outsidePressBubbles:typeof t=="boolean"?t:(r=t.outsidePress)!=null?r:!0}},gqe=function(t,e){let{open:r,onOpenChange:n,events:i,nodeId:o,elements:{reference:s,domReference:a,floating:l},dataRef:c}=t,{enabled:u=!0,escapeKey:f=!0,outsidePress:d=!0,outsidePressEvent:p="pointerdown",referencePress:h=!1,referencePressEvent:A="pointerdown",ancestorScroll:g=!1,bubbles:m=!0}=e===void 0?{}:e;const v=cY(),y=jbe()!=null,b=Hbe(typeof d=="function"?d:()=>!1),B=typeof d=="function"?b:d,S=E.useRef(!1),{escapeKeyBubbles:w,outsidePressBubbles:x}=mqe(m);return E.useEffect(()=>{if(!r||!u)return;c.current.__escapeKeyBubbles=w,c.current.__outsidePressBubbles=x;function I(M){if(M.key==="Escape"){const H=v?ST(v.nodesRef.current,o):[];if(H.length>0){let V=!0;if(H.forEach(j=>{var R;if((R=j.context)!=null&&R.open&&!j.context.dataRef.current.__escapeKeyBubbles){V=!1;return}}),!V)return}i.emit("dismiss",{type:"escapeKey",data:{returnFocus:{preventScroll:!1}}}),n(!1)}}function F(M){const H=S.current;if(S.current=!1,H||typeof B=="function"&&!B(M))return;const V=fqe(M);if(Ube(V)&&l){const Q=l.ownerDocument.defaultView||window,z=V.scrollWidth>V.clientWidth,X=V.scrollHeight>V.clientHeight;let _=X&&M.offsetX>V.clientWidth;if(X&&Q.getComputedStyle(V).direction==="rtl"&&(_=M.offsetX<=V.offsetWidth-V.clientWidth),_||z&&M.offsetY>V.clientHeight)return}const j=v&&ST(v.nodesRef.current,o).some(Q=>{var z;return JE(M,(z=Q.context)==null?void 0:z.elements.floating)});if(JE(M,l)||JE(M,a)||j)return;const R=v?ST(v.nodesRef.current,o):[];if(R.length>0){let Q=!0;if(R.forEach(z=>{var X;if((X=z.context)!=null&&X.open&&!z.context.dataRef.current.__outsidePressBubbles){Q=!1;return}}),!Q)return}i.emit("dismiss",{type:"outsidePress",data:{returnFocus:y?{preventScroll:!0}:oqe(M)||sqe(M)}}),n(!1)}function k(){n(!1)}const O=D0(l);f&&O.addEventListener("keydown",I),B&&O.addEventListener(p,F);let L=[];return g&&(rp(a)&&(L=Tu(a)),rp(l)&&(L=L.concat(Tu(l))),!rp(s)&&s&&s.contextElement&&(L=L.concat(Tu(s.contextElement)))),L=L.filter(M=>{var H;return M!==((H=O.defaultView)==null?void 0:H.visualViewport)}),L.forEach(M=>{M.addEventListener("scroll",k,{passive:!0})}),()=>{f&&O.removeEventListener("keydown",I),B&&O.removeEventListener(p,F),L.forEach(M=>{M.removeEventListener("scroll",k)})}},[c,l,a,s,f,B,p,i,v,o,r,n,g,u,w,x,y]),E.useEffect(()=>{S.current=!1},[B,p]),E.useMemo(()=>u?{reference:{[Aqe[A]]:()=>{h&&(i.emit("dismiss",{type:"referencePress",data:{returnFocus:!1}}),n(!1))}},floating:{[hqe[p]]:()=>{S.current=!0}}}:{},[u,i,h,p,A,n])},vqe=function(t,e){let{open:r,onOpenChange:n,dataRef:i,events:o,refs:s,elements:{floating:a,domReference:l}}=t,{enabled:c=!0,keyboardOnly:u=!0}=e===void 0?{}:e;const f=E.useRef(""),d=E.useRef(!1),p=E.useRef();return E.useEffect(()=>{if(!c)return;const A=D0(a).defaultView||window;function g(){!r&&Ube(l)&&l===uqe(D0(l))&&(d.current=!0)}return A.addEventListener("blur",g),()=>{A.removeEventListener("blur",g)}},[a,l,r,c]),E.useEffect(()=>{if(!c)return;function h(A){(A.type==="referencePress"||A.type==="escapeKey")&&(d.current=!0)}return o.on("dismiss",h),()=>{o.off("dismiss",h)}},[o,c]),E.useEffect(()=>()=>{clearTimeout(p.current)},[]),E.useMemo(()=>c?{reference:{onPointerDown(h){let{pointerType:A}=h;f.current=A,d.current=!!(A&&u)},onMouseLeave(){d.current=!1},onFocus(h){var A;d.current||h.type==="focus"&&((A=i.current.openEvent)==null?void 0:A.type)==="mousedown"&&i.current.openEvent&&JE(i.current.openEvent,l)||(i.current.openEvent=h.nativeEvent,n(!0))},onBlur(h){d.current=!1;const A=h.relatedTarget,g=rp(A)&&A.hasAttribute("data-floating-ui-focus-guard")&&A.getAttribute("data-type")==="outside";p.current=setTimeout(()=>{voe(s.floating.current,A)||voe(l,A)||g||n(!1)})}}}:{},[c,u,l,s,i,n])},yqe=function(t,e){let{open:r}=t,{enabled:n=!0,role:i="dialog"}=e===void 0?{}:e;const o=hoe(),s=hoe();return E.useMemo(()=>{const a={id:o,role:i};return n?i==="tooltip"?{reference:{"aria-describedby":r?o:void 0},floating:a}:{reference:{"aria-expanded":r?"true":"false","aria-haspopup":i==="alertdialog"?"dialog":i,"aria-controls":r?o:void 0,...i==="listbox"&&{role:"combobox"},...i==="menu"&&{id:s}},floating:{...a,...i==="menu"&&{"aria-labelledby":s}}}:{}},[n,i,r,o,s])};function fY(t){t===void 0&&(t={});const{open:e=!1,onOpenChange:r,nodeId:n}=t,i=qKe(t),o=cY(),s=E.useRef(null),a=E.useRef({}),l=E.useState(()=>ZKe())[0],[c,u]=E.useState(null),f=E.useCallback(m=>{const v=rp(m)?{getBoundingClientRect:()=>m.getBoundingClientRect(),contextElement:m}:m;i.refs.setReference(v)},[i.refs]),d=E.useCallback(m=>{(rp(m)||m===null)&&(s.current=m,u(m)),(rp(i.refs.reference.current)||i.refs.reference.current===null||m!==null&&!rp(m))&&i.refs.setReference(m)},[i.refs]),p=E.useMemo(()=>({...i.refs,setReference:d,setPositionReference:f,domReference:s}),[i.refs,d,f]),h=E.useMemo(()=>({...i.elements,domReference:c}),[i.elements,c]),A=Hbe(r),g=E.useMemo(()=>({...i,refs:p,elements:h,dataRef:a,nodeId:n,events:l,open:e,onOpenChange:A}),[i,n,l,e,A,p,h]);return dB(()=>{const m=o?.nodesRef.current.find(v=>v.id===n);m&&(m.context=g)}),E.useMemo(()=>({...i,context:g,refs:p,reference:d,positionReference:f}),[i,p,g,d,f])}function ET(t,e,r){const n=new Map;return{...r==="floating"&&{tabIndex:-1},...t,...e.map(i=>i?i[r]:null).concat(t).reduce((i,o)=>(o&&Object.entries(o).forEach(s=>{let[a,l]=s;if(a.indexOf("on")===0){if(n.has(a)||n.set(a,[]),typeof l=="function"){var c;(c=n.get(a))==null||c.push(l),i[a]=function(){for(var u,f=arguments.length,d=new Array(f),p=0;p<f;p++)d[p]=arguments[p];(u=n.get(a))==null||u.forEach(h=>h(...d))}}}else i[a]=l}),i),{})}}const Bqe=function(t){t===void 0&&(t=[]);const e=t,r=E.useCallback(o=>ET(o,t,"reference"),e),n=E.useCallback(o=>ET(o,t,"floating"),e),i=E.useCallback(o=>ET(o,t,"item"),t.map(o=>o?.item));return E.useMemo(()=>({getReferenceProps:r,getFloatingProps:n,getItemProps:i}),[r,n,i])};function Gbe({opened:t,floating:e,position:r,positionDependencies:n}){const[i,o]=E.useState(0);E.useEffect(()=>{if(e.refs.reference.current&&e.refs.floating.current)return Lbe(e.refs.reference.current,e.refs.floating.current,e.update)},[e.refs.reference.current,e.refs.floating.current,t,i,r]),yl(()=>{e.update()},n),yl(()=>{o(s=>s+1)},[t])}function Cqe(t,e){const r=[aY(t.offset)];return t.middlewares.shift&&r.push(AI({limiter:KKe()})),t.middlewares.flip&&r.push(lY()),t.middlewares.inline&&r.push(Rbe()),r.push(_be({element:t.arrowRef,padding:t.arrowOffset})),(t.middlewares.size||t.width==="target")&&r.push(zKe({apply({rects:n,availableWidth:i,availableHeight:o}){var s,a;const c=(a=(s=e().refs.floating.current)==null?void 0:s.style)!=null?a:{};t.middlewares.size&&Object.assign(c,{maxWidth:`${i}px`,maxHeight:`${o}px`}),t.width==="target"&&Object.assign(c,{width:`${n.reference.width}px`})}})),r}function bqe(t){const[e,r]=_f({value:t.opened,defaultValue:t.defaultOpened,finalValue:!1,onChange:t.onChange}),n=()=>{var s;(s=t.onClose)==null||s.call(t),r(!1)},i=()=>{var s,a;e?((s=t.onClose)==null||s.call(t),r(!1)):((a=t.onOpen)==null||a.call(t),r(!0))},o=fY({placement:t.position,middleware:Cqe(t,()=>o)});return Gbe({opened:t.opened,position:t.position,positionDependencies:t.positionDependencies,floating:o}),yl(()=>{var s;(s=t.onPositionChange)==null||s.call(t,o.placement)},[o.placement]),yl(()=>{var s,a;t.opened?(a=t.onOpen)==null||a.call(t):(s=t.onClose)==null||s.call(t)},[t.opened]),{floating:o,controlled:typeof t.opened=="boolean",opened:e,onClose:n,onToggle:i}}const Wbe={context:"Popover component was not found in the tree",children:"Popover.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported"},[wqe,zbe]=$P(Wbe.context);var xqe=Object.defineProperty,Sqe=Object.defineProperties,Eqe=Object.getOwnPropertyDescriptors,rk=Object.getOwnPropertySymbols,Kbe=Object.prototype.hasOwnProperty,qbe=Object.prototype.propertyIsEnumerable,yoe=(t,e,r)=>e in t?xqe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,ZS=(t,e)=>{for(var r in e||(e={}))Kbe.call(e,r)&&yoe(t,r,e[r]);if(rk)for(var r of rk(e))qbe.call(e,r)&&yoe(t,r,e[r]);return t},Dqe=(t,e)=>Sqe(t,Eqe(e)),kqe=(t,e)=>{var r={};for(var n in t)Kbe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&rk)for(var n of rk(t))e.indexOf(n)<0&&qbe.call(t,n)&&(r[n]=t[n]);return r};const Oqe={refProp:"ref",popupType:"dialog",shouldOverrideDefaultTargetId:!0},Xbe=E.forwardRef((t,e)=>{const r=Xr("PopoverTarget",Oqe,t),{children:n,refProp:i,popupType:o,shouldOverrideDefaultTargetId:s}=r,a=kqe(r,["children","refProp","popupType","shouldOverrideDefaultTargetId"]);if(!T3(n))throw new Error(Wbe.children);const l=a,c=zbe(),u=_m(c.reference,n.ref,e),f=c.withRoles?{"aria-haspopup":o,"aria-expanded":c.opened,"aria-controls":c.getDropdownId(),id:s?c.getTargetId():n.props.id}:{};return E.cloneElement(n,ZS(Dqe(ZS(ZS(ZS({},l),f),c.targetProps),{className:L3(c.targetProps.className,l.className,n.props.className),[i]:u}),c.controlled?null:{onClick:c.onToggle}))});Xbe.displayName="@mantine/core/PopoverTarget";var Pqe=Pn((t,{radius:e,shadow:r})=>({dropdown:{position:"absolute",backgroundColor:t.white,background:t.colorScheme==="dark"?t.colors.dark[6]:t.white,border:`${$e(1)} solid ${t.colorScheme==="dark"?t.colors.dark[4]:t.colors.gray[2]}`,padding:`${t.spacing.sm} ${t.spacing.md}`,boxShadow:t.shadows[r]||r||"none",borderRadius:t.fn.radius(e),"&:focus":{outline:0}},arrow:{backgroundColor:"inherit",border:`${$e(1)} solid ${t.colorScheme==="dark"?t.colors.dark[4]:t.colors.gray[2]}`,zIndex:1}}));const Iqe=Pqe;var Nqe=Object.defineProperty,Boe=Object.getOwnPropertySymbols,Fqe=Object.prototype.hasOwnProperty,Tqe=Object.prototype.propertyIsEnumerable,Coe=(t,e,r)=>e in t?Nqe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,ty=(t,e)=>{for(var r in e||(e={}))Fqe.call(e,r)&&Coe(t,r,e[r]);if(Boe)for(var r of Boe(e))Tqe.call(e,r)&&Coe(t,r,e[r]);return t};const boe={entering:"in",entered:"in",exiting:"out",exited:"out","pre-exiting":"out","pre-entering":"out"};function Lqe({transition:t,state:e,duration:r,timingFunction:n}){const i={transitionDuration:`${r}ms`,transitionTimingFunction:n};return typeof t=="string"?t in HS?ty(ty(ty({transitionProperty:HS[t].transitionProperty},i),HS[t].common),HS[t][boe[e]]):null:ty(ty(ty({transitionProperty:t.transitionProperty},i),t.common),t[boe[e]])}function Rqe({duration:t,exitDuration:e,timingFunction:r,mounted:n,onEnter:i,onExit:o,onEntered:s,onExited:a}){const l=wl(),c=j3(),u=l.respectReducedMotion?c:!1,[f,d]=E.useState(u?0:t),[p,h]=E.useState(n?"entered":"exited"),A=E.useRef(-1),g=m=>{const v=m?i:o,y=m?s:a;h(m?"pre-entering":"pre-exiting"),window.clearTimeout(A.current);const b=u?0:m?t:e;if(d(b),b===0)typeof v=="function"&&v(),typeof y=="function"&&y(),h(m?"entered":"exited");else{const B=window.setTimeout(()=>{typeof v=="function"&&v(),h(m?"entering":"exiting")},10);A.current=window.setTimeout(()=>{window.clearTimeout(B),typeof y=="function"&&y(),h(m?"entered":"exited")},b)}};return yl(()=>{g(n)},[n]),E.useEffect(()=>()=>window.clearTimeout(A.current),[]),{transitionDuration:f,transitionStatus:p,transitionTimingFunction:r||l.transitionTimingFunction}}function G3({keepMounted:t,transition:e,duration:r=250,exitDuration:n=r,mounted:i,children:o,timingFunction:s,onExit:a,onEntered:l,onEnter:c,onExited:u}){const{transitionDuration:f,transitionStatus:d,transitionTimingFunction:p}=Rqe({mounted:i,exitDuration:n,duration:r,timingFunction:s,onExit:a,onEntered:l,onEnter:c,onExited:u});return f===0?i?ve.createElement(ve.Fragment,null,o({})):t?o({display:"none"}):null:d==="exited"?t?o({display:"none"}):null:ve.createElement(ve.Fragment,null,o(Lqe({transition:e,duration:f,state:d,timingFunction:p})))}G3.displayName="@mantine/core/Transition";function dY({children:t,active:e=!0,refProp:r="ref"}){const n=dHe(e),i=_m(n,t?.ref);return T3(t)?E.cloneElement(t,{[r]:i}):t}dY.displayName="@mantine/core/FocusTrap";var Mqe=Object.defineProperty,_qe=Object.defineProperties,jqe=Object.getOwnPropertyDescriptors,woe=Object.getOwnPropertySymbols,Uqe=Object.prototype.hasOwnProperty,Qqe=Object.prototype.propertyIsEnumerable,xoe=(t,e,r)=>e in t?Mqe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Hh=(t,e)=>{for(var r in e||(e={}))Uqe.call(e,r)&&xoe(t,r,e[r]);if(woe)for(var r of woe(e))Qqe.call(e,r)&&xoe(t,r,e[r]);return t},e6=(t,e)=>_qe(t,jqe(e));function Soe(t,e,r,n){return t==="center"||n==="center"?{top:e}:t==="end"?{bottom:r}:t==="start"?{top:r}:{}}function Eoe(t,e,r,n,i){return t==="center"||n==="center"?{left:e}:t==="end"?{[i==="ltr"?"right":"left"]:r}:t==="start"?{[i==="ltr"?"left":"right"]:r}:{}}const Vqe={bottom:"borderTopLeftRadius",left:"borderTopRightRadius",right:"borderBottomLeftRadius",top:"borderBottomRightRadius"};function $qe({position:t,arrowSize:e,arrowOffset:r,arrowRadius:n,arrowPosition:i,arrowX:o,arrowY:s,dir:a}){const[l,c="center"]=t.split("-"),u={width:$e(e),height:$e(e),transform:"rotate(45deg)",position:"absolute",[Vqe[l]]:$e(n)},f=$e(-e/2);return l==="left"?e6(Hh(Hh({},u),Soe(c,s,r,i)),{right:f,borderLeftColor:"transparent",borderBottomColor:"transparent"}):l==="right"?e6(Hh(Hh({},u),Soe(c,s,r,i)),{left:f,borderRightColor:"transparent",borderTopColor:"transparent"}):l==="top"?e6(Hh(Hh({},u),Eoe(c,o,r,i,a)),{bottom:f,borderTopColor:"transparent",borderLeftColor:"transparent"}):l==="bottom"?e6(Hh(Hh({},u),Eoe(c,o,r,i,a)),{top:f,borderBottomColor:"transparent",borderRightColor:"transparent"}):{}}var Hqe=Object.defineProperty,Gqe=Object.defineProperties,Wqe=Object.getOwnPropertyDescriptors,nk=Object.getOwnPropertySymbols,Ybe=Object.prototype.hasOwnProperty,Jbe=Object.prototype.propertyIsEnumerable,Doe=(t,e,r)=>e in t?Hqe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,zqe=(t,e)=>{for(var r in e||(e={}))Ybe.call(e,r)&&Doe(t,r,e[r]);if(nk)for(var r of nk(e))Jbe.call(e,r)&&Doe(t,r,e[r]);return t},Kqe=(t,e)=>Gqe(t,Wqe(e)),qqe=(t,e)=>{var r={};for(var n in t)Ybe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&nk)for(var n of nk(t))e.indexOf(n)<0&&Jbe.call(t,n)&&(r[n]=t[n]);return r};const pY=E.forwardRef((t,e)=>{var r=t,{position:n,arrowSize:i,arrowOffset:o,arrowRadius:s,arrowPosition:a,visible:l,arrowX:c,arrowY:u}=r,f=qqe(r,["position","arrowSize","arrowOffset","arrowRadius","arrowPosition","visible","arrowX","arrowY"]);const d=wl();return l?ve.createElement("div",Kqe(zqe({},f),{ref:e,style:$qe({position:n,arrowSize:i,arrowOffset:o,arrowRadius:s,arrowPosition:a,dir:d.dir,arrowX:c,arrowY:u})})):null});pY.displayName="@mantine/core/FloatingArrow";var Xqe=Object.defineProperty,Yqe=Object.defineProperties,Jqe=Object.getOwnPropertyDescriptors,ik=Object.getOwnPropertySymbols,Zbe=Object.prototype.hasOwnProperty,ewe=Object.prototype.propertyIsEnumerable,koe=(t,e,r)=>e in t?Xqe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,ry=(t,e)=>{for(var r in e||(e={}))Zbe.call(e,r)&&koe(t,r,e[r]);if(ik)for(var r of ik(e))ewe.call(e,r)&&koe(t,r,e[r]);return t},t6=(t,e)=>Yqe(t,Jqe(e)),Zqe=(t,e)=>{var r={};for(var n in t)Zbe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&ik)for(var n of ik(t))e.indexOf(n)<0&&ewe.call(t,n)&&(r[n]=t[n]);return r};const eXe={};function twe(t){var e;const r=Xr("PopoverDropdown",eXe,t),{style:n,className:i,children:o,onKeyDownCapture:s}=r,a=Zqe(r,["style","className","children","onKeyDownCapture"]),l=zbe(),{classes:c,cx:u}=Iqe({radius:l.radius,shadow:l.shadow},{name:l.__staticSelector,classNames:l.classNames,styles:l.styles,unstyled:l.unstyled,variant:l.variant}),f=oCe({opened:l.opened,shouldReturnFocus:l.returnFocus}),d=l.withRoles?{"aria-labelledby":l.getTargetId(),id:l.getDropdownId(),role:"dialog"}:{};return l.disabled?null:ve.createElement(U3,t6(ry({},l.portalProps),{withinPortal:l.withinPortal}),ve.createElement(G3,t6(ry({mounted:l.opened},l.transitionProps),{transition:l.transitionProps.transition||"fade",duration:(e=l.transitionProps.duration)!=null?e:150,keepMounted:l.keepMounted,exitDuration:typeof l.transitionProps.exitDuration=="number"?l.transitionProps.exitDuration:l.transitionProps.duration}),p=>{var h,A;return ve.createElement(dY,{active:l.trapFocus},ve.createElement(Wn,ry(t6(ry({},d),{tabIndex:-1,ref:l.floating,style:t6(ry(ry({},n),p),{zIndex:l.zIndex,top:(h=l.y)!=null?h:0,left:(A=l.x)!=null?A:0,width:l.width==="target"?void 0:$e(l.width)}),className:u(c.dropdown,i),onKeyDownCapture:NQe(l.onClose,{active:l.closeOnEscape,onTrigger:f,onKeyDown:s}),"data-position":l.placement}),a),o,ve.createElement(pY,{ref:l.arrowRef,arrowX:l.arrowX,arrowY:l.arrowY,visible:l.withArrow,position:l.placement,arrowSize:l.arrowSize,arrowRadius:l.arrowRadius,arrowOffset:l.arrowOffset,arrowPosition:l.arrowPosition,className:c.arrow})))}))}twe.displayName="@mantine/core/PopoverDropdown";function rwe(t,e){if(t==="rtl"&&(e.includes("right")||e.includes("left"))){const[r,n]=e.split("-"),i=r==="right"?"left":"right";return n===void 0?i:`${i}-${n}`}return e}var Ooe=Object.getOwnPropertySymbols,tXe=Object.prototype.hasOwnProperty,rXe=Object.prototype.propertyIsEnumerable,nXe=(t,e)=>{var r={};for(var n in t)tXe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Ooe)for(var n of Ooe(t))e.indexOf(n)<0&&rXe.call(t,n)&&(r[n]=t[n]);return r};const iXe={position:"bottom",offset:8,positionDependencies:[],transitionProps:{transition:"fade",duration:150},middlewares:{flip:!0,shift:!0,inline:!1},arrowSize:7,arrowOffset:5,arrowRadius:0,arrowPosition:"side",closeOnClickOutside:!0,withinPortal:!1,closeOnEscape:!0,trapFocus:!1,withRoles:!0,returnFocus:!1,clickOutsideEvents:["mousedown","touchstart"],zIndex:iv("popover"),__staticSelector:"Popover",width:"max-content"};function yi(t){var e,r,n,i,o,s;const a=E.useRef(null),l=Xr("Popover",iXe,t),{children:c,position:u,offset:f,onPositionChange:d,positionDependencies:p,opened:h,transitionProps:A,width:g,middlewares:m,withArrow:v,arrowSize:y,arrowOffset:b,arrowRadius:B,arrowPosition:S,unstyled:w,classNames:x,styles:I,closeOnClickOutside:F,withinPortal:k,portalProps:O,closeOnEscape:L,clickOutsideEvents:M,trapFocus:H,onClose:V,onOpen:j,onChange:R,zIndex:Q,radius:z,shadow:X,id:_,defaultOpened:G,__staticSelector:W,withRoles:J,disabled:ee,returnFocus:q,variant:Z,keepMounted:re}=l,fe=nXe(l,["children","position","offset","onPositionChange","positionDependencies","opened","transitionProps","width","middlewares","withArrow","arrowSize","arrowOffset","arrowRadius","arrowPosition","unstyled","classNames","styles","closeOnClickOutside","withinPortal","portalProps","closeOnEscape","clickOutsideEvents","trapFocus","onClose","onOpen","onChange","zIndex","radius","shadow","id","defaultOpened","__staticSelector","withRoles","disabled","returnFocus","variant","keepMounted"]),[de,ie]=E.useState(null),[le,De]=E.useState(null),Ae=ov(_),ue=wl(),Ne=bqe({middlewares:m,width:g,position:rwe(ue.dir,u),offset:typeof f=="number"?f+(v?y/2:0):f,arrowRef:a,arrowOffset:b,onPositionChange:d,positionDependencies:p,opened:h,defaultOpened:G,onChange:R,onOpen:j,onClose:V});rHe(()=>Ne.opened&&F&&Ne.onClose(),M,[de,le]);const Te=E.useCallback(je=>{ie(je),Ne.floating.reference(je)},[Ne.floating.reference]),Re=E.useCallback(je=>{De(je),Ne.floating.floating(je)},[Ne.floating.floating]);return ve.createElement(wqe,{value:{returnFocus:q,disabled:ee,controlled:Ne.controlled,reference:Te,floating:Re,x:Ne.floating.x,y:Ne.floating.y,arrowX:(n=(r=(e=Ne.floating)==null?void 0:e.middlewareData)==null?void 0:r.arrow)==null?void 0:n.x,arrowY:(s=(o=(i=Ne.floating)==null?void 0:i.middlewareData)==null?void 0:o.arrow)==null?void 0:s.y,opened:Ne.opened,arrowRef:a,transitionProps:A,width:g,withArrow:v,arrowSize:y,arrowOffset:b,arrowRadius:B,arrowPosition:S,placement:Ne.floating.placement,trapFocus:H,withinPortal:k,portalProps:O,zIndex:Q,radius:z,shadow:X,closeOnEscape:L,onClose:Ne.onClose,onToggle:Ne.onToggle,getTargetId:()=>`${Ae}-target`,getDropdownId:()=>`${Ae}-dropdown`,withRoles:J,targetProps:fe,__staticSelector:W,classNames:x,styles:I,unstyled:w,variant:Z,keepMounted:re}},c)}yi.Target=Xbe;yi.Dropdown=twe;yi.displayName="@mantine/core/Popover";var oXe=Object.defineProperty,ok=Object.getOwnPropertySymbols,nwe=Object.prototype.hasOwnProperty,iwe=Object.prototype.propertyIsEnumerable,Poe=(t,e,r)=>e in t?oXe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,sXe=(t,e)=>{for(var r in e||(e={}))nwe.call(e,r)&&Poe(t,r,e[r]);if(ok)for(var r of ok(e))iwe.call(e,r)&&Poe(t,r,e[r]);return t},aXe=(t,e)=>{var r={};for(var n in t)nwe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&ok)for(var n of ok(t))e.indexOf(n)<0&&iwe.call(t,n)&&(r[n]=t[n]);return r};function lXe(t){var e=t,{children:r,component:n="div",maxHeight:i=220,direction:o="column",id:s,innerRef:a,__staticSelector:l,styles:c,classNames:u,unstyled:f}=e,d=aXe(e,["children","component","maxHeight","direction","id","innerRef","__staticSelector","styles","classNames","unstyled"]);const{classes:p}=Rze(null,{name:l,styles:c,classNames:u,unstyled:f});return ve.createElement(yi.Dropdown,sXe({p:0,onMouseDown:h=>h.preventDefault()},d),ve.createElement("div",{style:{maxHeight:$e(i),display:"flex"}},ve.createElement(Wn,{component:n||"div",id:`${s}-items`,"aria-labelledby":`${s}-label`,role:"listbox",onMouseDown:h=>h.preventDefault(),style:{flex:1,overflowY:n!==ZX?"auto":void 0},"data-combobox-popover":!0,tabIndex:-1,ref:a},ve.createElement("div",{className:p.itemsWrapper,style:{flexDirection:o}},r))))}function f5({opened:t,transitionProps:e={transition:"fade",duration:0},shadow:r,withinPortal:n,portalProps:i,children:o,__staticSelector:s,onDirectionChange:a,switchDirectionOnFlip:l,zIndex:c,dropdownPosition:u,positionDependencies:f=[],classNames:d,styles:p,unstyled:h,readOnly:A,variant:g}){return ve.createElement(yi,{unstyled:h,classNames:d,styles:p,width:"target",withRoles:!1,opened:t,middlewares:{flip:u==="flip",shift:!1},position:u==="flip"?"bottom":u,positionDependencies:f,zIndex:c,__staticSelector:s,withinPortal:n,portalProps:i,transitionProps:e,shadow:r,disabled:A,onPositionChange:m=>l&&a?.(m==="top"?"column-reverse":"column"),variant:g},o)}f5.Target=yi.Target;f5.Dropdown=lXe;var cXe=Object.defineProperty,uXe=Object.defineProperties,fXe=Object.getOwnPropertyDescriptors,sk=Object.getOwnPropertySymbols,owe=Object.prototype.hasOwnProperty,swe=Object.prototype.propertyIsEnumerable,Ioe=(t,e,r)=>e in t?cXe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,r6=(t,e)=>{for(var r in e||(e={}))owe.call(e,r)&&Ioe(t,r,e[r]);if(sk)for(var r of sk(e))swe.call(e,r)&&Ioe(t,r,e[r]);return t},dXe=(t,e)=>uXe(t,fXe(e)),pXe=(t,e)=>{var r={};for(var n in t)owe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&sk)for(var n of sk(t))e.indexOf(n)<0&&swe.call(t,n)&&(r[n]=t[n]);return r};function awe(t,e,r){const n=Xr(t,e,r),{label:i,description:o,error:s,required:a,classNames:l,styles:c,className:u,unstyled:f,__staticSelector:d,sx:p,errorProps:h,labelProps:A,descriptionProps:g,wrapperProps:m,id:v,size:y,style:b,inputContainer:B,inputWrapperOrder:S,withAsterisk:w,variant:x}=n,I=pXe(n,["label","description","error","required","classNames","styles","className","unstyled","__staticSelector","sx","errorProps","labelProps","descriptionProps","wrapperProps","id","size","style","inputContainer","inputWrapperOrder","withAsterisk","variant"]),F=ov(v),{systemStyles:k,rest:O}=cC(I),L=r6({label:i,description:o,error:s,required:a,classNames:l,className:u,__staticSelector:d,sx:p,errorProps:h,labelProps:A,descriptionProps:g,unstyled:f,styles:c,id:F,size:y,style:b,inputContainer:B,inputWrapperOrder:S,withAsterisk:w,variant:x},m);return dXe(r6({},O),{classNames:l,styles:c,unstyled:f,wrapperProps:r6(r6({},L),k),inputProps:{required:a,classNames:l,styles:c,unstyled:f,id:F,size:y,__staticSelector:d,error:s,variant:x}})}var AXe=Pn((t,e,{size:r})=>({label:{display:"inline-block",fontSize:Yt({size:r,sizes:t.fontSizes}),fontWeight:500,color:t.colorScheme==="dark"?t.colors.dark[0]:t.colors.gray[9],wordBreak:"break-word",cursor:"default",WebkitTapHighlightColor:"transparent"},required:{color:t.fn.variant({variant:"filled",color:"red"}).background}}));const hXe=AXe;var mXe=Object.defineProperty,ak=Object.getOwnPropertySymbols,lwe=Object.prototype.hasOwnProperty,cwe=Object.prototype.propertyIsEnumerable,Noe=(t,e,r)=>e in t?mXe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,gXe=(t,e)=>{for(var r in e||(e={}))lwe.call(e,r)&&Noe(t,r,e[r]);if(ak)for(var r of ak(e))cwe.call(e,r)&&Noe(t,r,e[r]);return t},vXe=(t,e)=>{var r={};for(var n in t)lwe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&ak)for(var n of ak(t))e.indexOf(n)<0&&cwe.call(t,n)&&(r[n]=t[n]);return r};const yXe={labelElement:"label",size:"sm"},AY=E.forwardRef((t,e)=>{const r=Xr("InputLabel",yXe,t),{labelElement:n,children:i,required:o,size:s,classNames:a,styles:l,unstyled:c,className:u,htmlFor:f,__staticSelector:d,variant:p,onMouseDown:h}=r,A=vXe(r,["labelElement","children","required","size","classNames","styles","unstyled","className","htmlFor","__staticSelector","variant","onMouseDown"]),{classes:g,cx:m}=hXe(null,{name:["InputWrapper",d],classNames:a,styles:l,unstyled:c,variant:p,size:s});return ve.createElement(Wn,gXe({component:n,ref:e,className:m(g.label,u),htmlFor:n==="label"?f:void 0,onMouseDown:v=>{h?.(v),!v.defaultPrevented&&v.detail>1&&v.preventDefault()}},A),i,o&&ve.createElement("span",{className:g.required,"aria-hidden":!0}," *"))});AY.displayName="@mantine/core/InputLabel";var BXe=Pn((t,e,{size:r})=>({error:{wordBreak:"break-word",color:t.fn.variant({variant:"filled",color:"red"}).background,fontSize:`calc(${Yt({size:r,sizes:t.fontSizes})} - ${$e(2)})`,lineHeight:1.2,display:"block"}}));const CXe=BXe;var bXe=Object.defineProperty,lk=Object.getOwnPropertySymbols,uwe=Object.prototype.hasOwnProperty,fwe=Object.prototype.propertyIsEnumerable,Foe=(t,e,r)=>e in t?bXe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,wXe=(t,e)=>{for(var r in e||(e={}))uwe.call(e,r)&&Foe(t,r,e[r]);if(lk)for(var r of lk(e))fwe.call(e,r)&&Foe(t,r,e[r]);return t},xXe=(t,e)=>{var r={};for(var n in t)uwe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&lk)for(var n of lk(t))e.indexOf(n)<0&&fwe.call(t,n)&&(r[n]=t[n]);return r};const SXe={size:"sm"},hY=E.forwardRef((t,e)=>{const r=Xr("InputError",SXe,t),{children:n,className:i,classNames:o,styles:s,unstyled:a,size:l,__staticSelector:c,variant:u}=r,f=xXe(r,["children","className","classNames","styles","unstyled","size","__staticSelector","variant"]),{classes:d,cx:p}=CXe(null,{name:["InputWrapper",c],classNames:o,styles:s,unstyled:a,variant:u,size:l});return ve.createElement(Q3,wXe({className:p(d.error,i),ref:e},f),n)});hY.displayName="@mantine/core/InputError";var EXe=Pn((t,e,{size:r})=>({description:{wordBreak:"break-word",color:t.colorScheme==="dark"?t.colors.dark[2]:t.colors.gray[6],fontSize:`calc(${Yt({size:r,sizes:t.fontSizes})} - ${$e(2)})`,lineHeight:1.2,display:"block"}}));const DXe=EXe;var kXe=Object.defineProperty,ck=Object.getOwnPropertySymbols,dwe=Object.prototype.hasOwnProperty,pwe=Object.prototype.propertyIsEnumerable,Toe=(t,e,r)=>e in t?kXe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,OXe=(t,e)=>{for(var r in e||(e={}))dwe.call(e,r)&&Toe(t,r,e[r]);if(ck)for(var r of ck(e))pwe.call(e,r)&&Toe(t,r,e[r]);return t},PXe=(t,e)=>{var r={};for(var n in t)dwe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&ck)for(var n of ck(t))e.indexOf(n)<0&&pwe.call(t,n)&&(r[n]=t[n]);return r};const IXe={size:"sm"},mY=E.forwardRef((t,e)=>{const r=Xr("InputDescription",IXe,t),{children:n,className:i,classNames:o,styles:s,unstyled:a,size:l,__staticSelector:c,variant:u}=r,f=PXe(r,["children","className","classNames","styles","unstyled","size","__staticSelector","variant"]),{classes:d,cx:p}=DXe(null,{name:["InputWrapper",c],classNames:o,styles:s,unstyled:a,variant:u,size:l});return ve.createElement(Q3,OXe({color:"dimmed",className:p(d.description,i),ref:e,unstyled:a},f),n)});mY.displayName="@mantine/core/InputDescription";const Awe=E.createContext({offsetBottom:!1,offsetTop:!1,describedBy:void 0}),NXe=Awe.Provider,FXe=()=>E.useContext(Awe);function TXe(t,{hasDescription:e,hasError:r}){const n=t.findIndex(l=>l==="input"),i=t[n-1],o=t[n+1];return{offsetBottom:e&&o==="description"||r&&o==="error",offsetTop:e&&i==="description"||r&&i==="error"}}var LXe=Object.defineProperty,RXe=Object.defineProperties,MXe=Object.getOwnPropertyDescriptors,Loe=Object.getOwnPropertySymbols,_Xe=Object.prototype.hasOwnProperty,jXe=Object.prototype.propertyIsEnumerable,Roe=(t,e,r)=>e in t?LXe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,UXe=(t,e)=>{for(var r in e||(e={}))_Xe.call(e,r)&&Roe(t,r,e[r]);if(Loe)for(var r of Loe(e))jXe.call(e,r)&&Roe(t,r,e[r]);return t},QXe=(t,e)=>RXe(t,MXe(e)),VXe=Pn(t=>({root:QXe(UXe({},t.fn.fontStyles()),{lineHeight:t.lineHeight})}));const $Xe=VXe;var HXe=Object.defineProperty,GXe=Object.defineProperties,WXe=Object.getOwnPropertyDescriptors,uk=Object.getOwnPropertySymbols,hwe=Object.prototype.hasOwnProperty,mwe=Object.prototype.propertyIsEnumerable,Moe=(t,e,r)=>e in t?HXe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Gh=(t,e)=>{for(var r in e||(e={}))hwe.call(e,r)&&Moe(t,r,e[r]);if(uk)for(var r of uk(e))mwe.call(e,r)&&Moe(t,r,e[r]);return t},_oe=(t,e)=>GXe(t,WXe(e)),zXe=(t,e)=>{var r={};for(var n in t)hwe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&uk)for(var n of uk(t))e.indexOf(n)<0&&mwe.call(t,n)&&(r[n]=t[n]);return r};const KXe={labelElement:"label",size:"sm",inputContainer:t=>t,inputWrapperOrder:["label","description","input","error"]},gwe=E.forwardRef((t,e)=>{const r=Xr("InputWrapper",KXe,t),{className:n,label:i,children:o,required:s,id:a,error:l,description:c,labelElement:u,labelProps:f,descriptionProps:d,errorProps:p,classNames:h,styles:A,size:g,inputContainer:m,__staticSelector:v,unstyled:y,inputWrapperOrder:b,withAsterisk:B,variant:S}=r,w=zXe(r,["className","label","children","required","id","error","description","labelElement","labelProps","descriptionProps","errorProps","classNames","styles","size","inputContainer","__staticSelector","unstyled","inputWrapperOrder","withAsterisk","variant"]),{classes:x,cx:I}=$Xe(null,{classNames:h,styles:A,name:["InputWrapper",v],unstyled:y,variant:S,size:g}),F={classNames:h,styles:A,unstyled:y,size:g,variant:S,__staticSelector:v},k=typeof B=="boolean"?B:s,O=a?`${a}-error`:p?.id,L=a?`${a}-description`:d?.id,H=`${!!l&&typeof l!="boolean"?O:""} ${c?L:""}`,V=H.trim().length>0?H.trim():void 0,j=i&&ve.createElement(AY,Gh(Gh({key:"label",labelElement:u,id:a?`${a}-label`:void 0,htmlFor:a,required:k},F),f),i),R=c&&ve.createElement(mY,_oe(Gh(Gh({key:"description"},d),F),{size:d?.size||F.size,id:d?.id||L}),c),Q=ve.createElement(E.Fragment,{key:"input"},m(o)),z=typeof l!="boolean"&&l&&ve.createElement(hY,_oe(Gh(Gh({},p),F),{size:p?.size||F.size,key:"error",id:p?.id||O}),l),X=b.map(_=>{switch(_){case"label":return j;case"input":return Q;case"description":return R;case"error":return z;default:return null}});return ve.createElement(NXe,{value:Gh({describedBy:V},TXe(b,{hasDescription:!!R,hasError:!!z}))},ve.createElement(Wn,Gh({className:I(x.root,n),ref:e},w),X))});gwe.displayName="@mantine/core/InputWrapper";var qXe=Object.defineProperty,fk=Object.getOwnPropertySymbols,vwe=Object.prototype.hasOwnProperty,ywe=Object.prototype.propertyIsEnumerable,joe=(t,e,r)=>e in t?qXe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,XXe=(t,e)=>{for(var r in e||(e={}))vwe.call(e,r)&&joe(t,r,e[r]);if(fk)for(var r of fk(e))ywe.call(e,r)&&joe(t,r,e[r]);return t},YXe=(t,e)=>{var r={};for(var n in t)vwe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&fk)for(var n of fk(t))e.indexOf(n)<0&&ywe.call(t,n)&&(r[n]=t[n]);return r};const JXe={},Bwe=E.forwardRef((t,e)=>{const r=Xr("InputPlaceholder",JXe,t),{sx:n}=r,i=YXe(r,["sx"]);return ve.createElement(Wn,XXe({component:"span",sx:[o=>o.fn.placeholderStyles(),...PBe(n)],ref:e},i))});Bwe.displayName="@mantine/core/InputPlaceholder";var ZXe=Object.defineProperty,eYe=Object.defineProperties,tYe=Object.getOwnPropertyDescriptors,Uoe=Object.getOwnPropertySymbols,rYe=Object.prototype.hasOwnProperty,nYe=Object.prototype.propertyIsEnumerable,Qoe=(t,e,r)=>e in t?ZXe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,n6=(t,e)=>{for(var r in e||(e={}))rYe.call(e,r)&&Qoe(t,r,e[r]);if(Uoe)for(var r of Uoe(e))nYe.call(e,r)&&Qoe(t,r,e[r]);return t},DT=(t,e)=>eYe(t,tYe(e));const vd={xs:$e(30),sm:$e(36),md:$e(42),lg:$e(50),xl:$e(60)},iYe=["default","filled","unstyled"];function oYe({theme:t,variant:e}){return iYe.includes(e)?e==="default"?{border:`${$e(1)} solid ${t.colorScheme==="dark"?t.colors.dark[4]:t.colors.gray[4]}`,backgroundColor:t.colorScheme==="dark"?t.colors.dark[6]:t.white,transition:"border-color 100ms ease","&:focus, &:focus-within":t.focusRingStyles.inputStyles(t)}:e==="filled"?{border:`${$e(1)} solid transparent`,backgroundColor:t.colorScheme==="dark"?t.colors.dark[5]:t.colors.gray[1],"&:focus, &:focus-within":t.focusRingStyles.inputStyles(t)}:{borderWidth:0,color:t.colorScheme==="dark"?t.colors.dark[0]:t.black,backgroundColor:"transparent",minHeight:$e(28),outline:0,"&:focus, &:focus-within":{outline:"none",borderColor:"transparent"},"&:disabled":{backgroundColor:"transparent","&:focus, &:focus-within":{outline:"none",borderColor:"transparent"}}}:null}var sYe=Pn((t,{multiline:e,radius:r,invalid:n,rightSectionWidth:i,withRightSection:o,iconWidth:s,offsetBottom:a,offsetTop:l,pointer:c},{variant:u,size:f})=>{const d=t.fn.variant({variant:"filled",color:"red"}).background,p=u==="default"||u==="filled"?{minHeight:Yt({size:f,sizes:vd}),paddingLeft:`calc(${Yt({size:f,sizes:vd})} / 3)`,paddingRight:o?i||Yt({size:f,sizes:vd}):`calc(${Yt({size:f,sizes:vd})} / 3)`,borderRadius:t.fn.radius(r)}:u==="unstyled"&&o?{paddingRight:i||Yt({size:f,sizes:vd})}:null;return{wrapper:{position:"relative",marginTop:l?`calc(${t.spacing.xs} / 2)`:void 0,marginBottom:a?`calc(${t.spacing.xs} / 2)`:void 0,"&:has(input:disabled)":{"& .mantine-Input-rightSection":{display:"none"}}},input:DT(n6(n6(DT(n6({},t.fn.fontStyles()),{height:e?u==="unstyled"?void 0:"auto":Yt({size:f,sizes:vd}),WebkitTapHighlightColor:"transparent",lineHeight:e?t.lineHeight:`calc(${Yt({size:f,sizes:vd})} - ${$e(2)})`,appearance:"none",resize:"none",boxSizing:"border-box",fontSize:Yt({size:f,sizes:t.fontSizes}),width:"100%",color:t.colorScheme==="dark"?t.colors.dark[0]:t.black,display:"block",textAlign:"left",cursor:c?"pointer":void 0}),oYe({theme:t,variant:u})),p),{"&:disabled, &[data-disabled]":{backgroundColor:t.colorScheme==="dark"?t.colors.dark[6]:t.colors.gray[1],color:t.colors.dark[2],opacity:.6,cursor:"not-allowed",pointerEvents:"none","&::placeholder":{color:t.colors.dark[2]}},"&[data-invalid]":{color:d,borderColor:d,"&::placeholder":{opacity:1,color:d}},"&[data-with-icon]":{paddingLeft:typeof s=="number"?$e(s):Yt({size:f,sizes:vd})},"&::placeholder":DT(n6({},t.fn.placeholderStyles()),{opacity:1}),"&::-webkit-inner-spin-button, &::-webkit-outer-spin-button, &::-webkit-search-decoration, &::-webkit-search-cancel-button, &::-webkit-search-results-button, &::-webkit-search-results-decoration":{appearance:"none"},"&[type=number]":{MozAppearance:"textfield"}}),icon:{pointerEvents:"none",position:"absolute",zIndex:1,left:0,top:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",width:s?$e(s):Yt({size:f,sizes:vd}),color:n?t.colors.red[t.colorScheme==="dark"?6:7]:t.colorScheme==="dark"?t.colors.dark[2]:t.colors.gray[5]},rightSection:{position:"absolute",top:0,bottom:0,right:0,display:"flex",alignItems:"center",justifyContent:"center",width:i||Yt({size:f,sizes:vd})}}});const aYe=sYe;var lYe=Object.defineProperty,cYe=Object.defineProperties,uYe=Object.getOwnPropertyDescriptors,dk=Object.getOwnPropertySymbols,Cwe=Object.prototype.hasOwnProperty,bwe=Object.prototype.propertyIsEnumerable,Voe=(t,e,r)=>e in t?lYe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,i6=(t,e)=>{for(var r in e||(e={}))Cwe.call(e,r)&&Voe(t,r,e[r]);if(dk)for(var r of dk(e))bwe.call(e,r)&&Voe(t,r,e[r]);return t},$oe=(t,e)=>cYe(t,uYe(e)),fYe=(t,e)=>{var r={};for(var n in t)Cwe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&dk)for(var n of dk(t))e.indexOf(n)<0&&bwe.call(t,n)&&(r[n]=t[n]);return r};const dYe={size:"sm",variant:"default"},av=E.forwardRef((t,e)=>{const r=Xr("Input",dYe,t),{className:n,error:i,required:o,disabled:s,variant:a,icon:l,style:c,rightSectionWidth:u,iconWidth:f,rightSection:d,rightSectionProps:p,radius:h,size:A,wrapperProps:g,classNames:m,styles:v,__staticSelector:y,multiline:b,sx:B,unstyled:S,pointer:w}=r,x=fYe(r,["className","error","required","disabled","variant","icon","style","rightSectionWidth","iconWidth","rightSection","rightSectionProps","radius","size","wrapperProps","classNames","styles","__staticSelector","multiline","sx","unstyled","pointer"]),{offsetBottom:I,offsetTop:F,describedBy:k}=FXe(),{classes:O,cx:L}=aYe({radius:h,multiline:b,invalid:!!i,rightSectionWidth:u?$e(u):void 0,iconWidth:f,withRightSection:!!d,offsetBottom:I,offsetTop:F,pointer:w},{classNames:m,styles:v,name:["Input",y],unstyled:S,variant:a,size:A}),{systemStyles:M,rest:H}=cC(x);return ve.createElement(Wn,i6(i6({className:L(O.wrapper,n),sx:B,style:c},M),g),l&&ve.createElement("div",{className:O.icon},l),ve.createElement(Wn,$oe(i6({component:"input"},H),{ref:e,required:o,"aria-invalid":!!i,"aria-describedby":k,disabled:s,"data-disabled":s||void 0,"data-with-icon":!!l||void 0,"data-invalid":!!i||void 0,className:O.input})),d&&ve.createElement("div",$oe(i6({},p),{className:O.rightSection}),d))});av.displayName="@mantine/core/Input";av.Wrapper=gwe;av.Label=AY;av.Description=mY;av.Error=hY;av.Placeholder=Bwe;const eh=av;var pYe=Object.defineProperty,AYe=Object.defineProperties,hYe=Object.getOwnPropertyDescriptors,Hoe=Object.getOwnPropertySymbols,mYe=Object.prototype.hasOwnProperty,gYe=Object.prototype.propertyIsEnumerable,Goe=(t,e,r)=>e in t?pYe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,kT=(t,e)=>{for(var r in e||(e={}))mYe.call(e,r)&&Goe(t,r,e[r]);if(Hoe)for(var r of Hoe(e))gYe.call(e,r)&&Goe(t,r,e[r]);return t},vYe=(t,e)=>AYe(t,hYe(e));const yYe=["light","filled","outline","dot","gradient"],OT={xs:{fontSize:$e(9),height:$e(16)},sm:{fontSize:$e(10),height:$e(18)},md:{fontSize:$e(11),height:$e(20)},lg:{fontSize:$e(13),height:$e(26)},xl:{fontSize:$e(16),height:$e(32)}},BYe={xs:$e(4),sm:$e(4),md:$e(6),lg:$e(8),xl:$e(10)};function CYe({theme:t,variant:e,color:r,size:n,gradient:i}){if(!yYe.includes(e))return null;if(e==="dot"){const s=Yt({size:n,sizes:BYe});return{backgroundColor:"transparent",color:t.colorScheme==="dark"?t.colors.dark[0]:t.colors.gray[7],border:`${$e(1)} solid ${t.colorScheme==="dark"?t.colors.dark[3]:t.colors.gray[3]}`,paddingLeft:`calc(${Yt({size:n,sizes:t.spacing})} / 1.5 - ${s} / 2)`,"&::before":{content:'""',display:"block",width:s,height:s,borderRadius:s,backgroundColor:t.fn.themeColor(r,t.colorScheme==="dark"?4:t.fn.primaryShade("light"),!0),marginRight:s}}}const o=t.fn.variant({color:r,variant:e,gradient:i});return{background:o.background,color:o.color,border:`${$e(e==="gradient"?0:1)} solid ${o.border}`}}var bYe=Pn((t,{color:e,radius:r,gradient:n,fullWidth:i},{variant:o,size:s})=>{const{fontSize:a,height:l}=s in OT?OT[s]:OT.md;return{leftSection:{marginRight:`calc(${t.spacing.xs} / 2)`},rightSection:{marginLeft:`calc(${t.spacing.xs} / 2)`},inner:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},root:kT(vYe(kT(kT({},t.fn.focusStyles()),t.fn.fontStyles()),{fontSize:a,height:l,WebkitTapHighlightColor:"transparent",lineHeight:`calc(${l} - ${$e(2)})`,textDecoration:"none",padding:`0 calc(${Yt({size:s,sizes:t.spacing})} / 1.5)`,boxSizing:"border-box",display:i?"flex":"inline-flex",alignItems:"center",justifyContent:"center",width:i?"100%":"auto",textTransform:"uppercase",borderRadius:t.fn.radius(r),fontWeight:700,letterSpacing:$e(.25),cursor:"inherit",textOverflow:"ellipsis",overflow:"hidden"}),CYe({theme:t,variant:o,color:e,size:s,gradient:n}))}});const wYe=bYe;var xYe=Object.defineProperty,pk=Object.getOwnPropertySymbols,wwe=Object.prototype.hasOwnProperty,xwe=Object.prototype.propertyIsEnumerable,Woe=(t,e,r)=>e in t?xYe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,SYe=(t,e)=>{for(var r in e||(e={}))wwe.call(e,r)&&Woe(t,r,e[r]);if(pk)for(var r of pk(e))xwe.call(e,r)&&Woe(t,r,e[r]);return t},EYe=(t,e)=>{var r={};for(var n in t)wwe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&pk)for(var n of pk(t))e.indexOf(n)<0&&xwe.call(t,n)&&(r[n]=t[n]);return r};const DYe={variant:"light",size:"md",radius:"xl"},Swe=E.forwardRef((t,e)=>{const r=Xr("Badge",DYe,t),{className:n,color:i,variant:o,fullWidth:s,children:a,size:l,leftSection:c,rightSection:u,radius:f,gradient:d,classNames:p,styles:h,unstyled:A}=r,g=EYe(r,["className","color","variant","fullWidth","children","size","leftSection","rightSection","radius","gradient","classNames","styles","unstyled"]),{classes:m,cx:v}=wYe({fullWidth:s,color:i,radius:f,gradient:d},{classNames:p,styles:h,name:"Badge",unstyled:A,variant:o,size:l});return ve.createElement(Wn,SYe({className:v(m.root,n),ref:e},g),c&&ve.createElement("span",{className:m.leftSection},c),ve.createElement("span",{className:m.inner},a),u&&ve.createElement("span",{className:m.rightSection},u))});Swe.displayName="@mantine/core/Badge";const kYe=Swe;var OYe=Pn((t,{radius:e,shadow:r})=>({root:{outline:0,WebkitTapHighlightColor:"transparent",display:"block",textDecoration:"none",color:t.colorScheme==="dark"?t.colors.dark[0]:t.black,backgroundColor:t.colorScheme==="dark"?t.colors.dark[7]:t.white,boxSizing:"border-box",borderRadius:t.fn.radius(e),boxShadow:t.shadows[r]||r||"none","&[data-with-border]":{border:`${$e(1)} solid ${t.colorScheme==="dark"?t.colors.dark[4]:t.colors.gray[3]}`}}}));const PYe=OYe;var IYe=Object.defineProperty,Ak=Object.getOwnPropertySymbols,Ewe=Object.prototype.hasOwnProperty,Dwe=Object.prototype.propertyIsEnumerable,zoe=(t,e,r)=>e in t?IYe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,NYe=(t,e)=>{for(var r in e||(e={}))Ewe.call(e,r)&&zoe(t,r,e[r]);if(Ak)for(var r of Ak(e))Dwe.call(e,r)&&zoe(t,r,e[r]);return t},FYe=(t,e)=>{var r={};for(var n in t)Ewe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Ak)for(var n of Ak(t))e.indexOf(n)<0&&Dwe.call(t,n)&&(r[n]=t[n]);return r};const TYe={},kwe=E.forwardRef((t,e)=>{const r=Xr("Paper",TYe,t),{className:n,children:i,radius:o,withBorder:s,shadow:a,unstyled:l,variant:c}=r,u=FYe(r,["className","children","radius","withBorder","shadow","unstyled","variant"]),{classes:f,cx:d}=PYe({radius:o,shadow:a},{name:"Paper",unstyled:l,variant:c});return ve.createElement(Wn,NYe({className:d(f.root,n),"data-with-border":s||void 0,ref:e},u),i)});kwe.displayName="@mantine/core/Paper";const LYe=kwe;var RYe=Object.defineProperty,hk=Object.getOwnPropertySymbols,Owe=Object.prototype.hasOwnProperty,Pwe=Object.prototype.propertyIsEnumerable,Koe=(t,e,r)=>e in t?RYe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,qoe=(t,e)=>{for(var r in e||(e={}))Owe.call(e,r)&&Koe(t,r,e[r]);if(hk)for(var r of hk(e))Pwe.call(e,r)&&Koe(t,r,e[r]);return t},MYe=(t,e)=>{var r={};for(var n in t)Owe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&hk)for(var n of hk(t))e.indexOf(n)<0&&Pwe.call(t,n)&&(r[n]=t[n]);return r};function _Ye(t){const e=t,{width:r,height:n,style:i}=e,o=MYe(e,["width","height","style"]);return ve.createElement("svg",qoe({viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:qoe({width:r,height:n},i)},o),ve.createElement("path",{d:"M4 4.586L1.707 2.293A1 1 0 1 0 .293 3.707l3 3a.997.997 0 0 0 1.414 0l5-5A1 1 0 1 0 8.293.293L4 4.586z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}var jYe=Object.defineProperty,UYe=Object.defineProperties,QYe=Object.getOwnPropertyDescriptors,Xoe=Object.getOwnPropertySymbols,VYe=Object.prototype.hasOwnProperty,$Ye=Object.prototype.propertyIsEnumerable,Yoe=(t,e,r)=>e in t?jYe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,HYe=(t,e)=>{for(var r in e||(e={}))VYe.call(e,r)&&Yoe(t,r,e[r]);if(Xoe)for(var r of Xoe(e))$Ye.call(e,r)&&Yoe(t,r,e[r]);return t},GYe=(t,e)=>UYe(t,QYe(e));const PT={xs:$e(16),sm:$e(20),md:$e(24),lg:$e(30),xl:$e(36)};var WYe=Pn((t,{labelPosition:e},{size:r})=>({root:{},body:{display:"flex","&:has(input:disabled) label":{color:t.colorScheme==="dark"?t.colors.dark[3]:t.colors.gray[5]}},labelWrapper:GYe(HYe({},t.fn.fontStyles()),{display:"inline-flex",flexDirection:"column",WebkitTapHighlightColor:"transparent",fontSize:r in PT?Yt({size:r,sizes:t.fontSizes}):void 0,lineHeight:r in PT?Yt({size:r,sizes:PT}):void 0,color:t.colorScheme==="dark"?t.colors.dark[0]:t.black,cursor:t.cursorType,order:e==="left"?1:2}),description:{marginTop:`calc(${t.spacing.xs} / 2)`,[e==="left"?"paddingRight":"paddingLeft"]:t.spacing.sm},error:{marginTop:`calc(${t.spacing.xs} / 2)`,[e==="left"?"paddingRight":"paddingLeft"]:t.spacing.sm},label:{cursor:t.cursorType,[e==="left"?"paddingRight":"paddingLeft"]:t.spacing.sm,"&:disabled, &[data-disabled]":{color:t.colorScheme==="dark"?t.colors.dark[3]:t.colors.gray[5]}}}));const zYe=WYe;var KYe=Object.defineProperty,mk=Object.getOwnPropertySymbols,Iwe=Object.prototype.hasOwnProperty,Nwe=Object.prototype.propertyIsEnumerable,Joe=(t,e,r)=>e in t?KYe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,qYe=(t,e)=>{for(var r in e||(e={}))Iwe.call(e,r)&&Joe(t,r,e[r]);if(mk)for(var r of mk(e))Nwe.call(e,r)&&Joe(t,r,e[r]);return t},XYe=(t,e)=>{var r={};for(var n in t)Iwe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&mk)for(var n of mk(t))e.indexOf(n)<0&&Nwe.call(t,n)&&(r[n]=t[n]);return r};const Fwe=E.forwardRef((t,e)=>{var r=t,{__staticSelector:n,className:i,classNames:o,styles:s,unstyled:a,children:l,label:c,description:u,id:f,disabled:d,error:p,size:h,labelPosition:A,bodyElement:g="div",labelElement:m="label",variant:v}=r,y=XYe(r,["__staticSelector","className","classNames","styles","unstyled","children","label","description","id","disabled","error","size","labelPosition","bodyElement","labelElement","variant"]);const{classes:b,cx:B}=zYe({labelPosition:A},{name:n,styles:s,classNames:o,unstyled:a,variant:v,size:h});return ve.createElement(Wn,qYe({className:B(b.root,i),ref:e},y),ve.createElement(Wn,{component:g,htmlFor:g==="label"?f:void 0,className:B(b.body)},l,ve.createElement("div",{className:b.labelWrapper},c!=null&&ve.createElement(Wn,{component:m,htmlFor:m==="label"?f:void 0,className:b.label,"data-disabled":d||void 0},c),u&&ve.createElement(eh.Description,{className:b.description},u),p&&p!=="boolean"&&ve.createElement(eh.Error,{className:b.error},p))))});Fwe.displayName="@mantine/core/InlineInput";const Twe=E.createContext(null),YYe=Twe.Provider,JYe=()=>E.useContext(Twe),ZYe={};function Lwe(t){const{value:e,defaultValue:r,onChange:n,multiple:i,children:o}=Xr("ChipGroup",ZYe,t),[s,a]=_f({value:e,defaultValue:r,finalValue:i?[]:null,onChange:n}),l=u=>Array.isArray(s)?s.includes(u):u===s,c=u=>{const f=u.currentTarget.value;Array.isArray(s)?a(s.includes(f)?s.filter(d=>d!==f):[...s,f]):a(f)};return ve.createElement(YYe,{value:{isChipSelected:l,onChange:c,multiple:i}},o)}Lwe.displayName="@mantine/core/ChipGroup";var eJe=Object.defineProperty,tJe=Object.defineProperties,rJe=Object.getOwnPropertyDescriptors,Zoe=Object.getOwnPropertySymbols,nJe=Object.prototype.hasOwnProperty,iJe=Object.prototype.propertyIsEnumerable,ese=(t,e,r)=>e in t?eJe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,xf=(t,e)=>{for(var r in e||(e={}))nJe.call(e,r)&&ese(t,r,e[r]);if(Zoe)for(var r of Zoe(e))iJe.call(e,r)&&ese(t,r,e[r]);return t},Iw=(t,e)=>tJe(t,rJe(e));const tse={xs:$e(24),sm:$e(28),md:$e(32),lg:$e(36),xl:$e(40)},Rb={xs:$e(10),sm:$e(12),md:$e(14),lg:$e(16),xl:$e(18)},rse={xs:$e(16),sm:$e(20),md:$e(24),lg:$e(28),xl:$e(32)},o6={xs:$e(7.5),sm:$e(10),md:$e(11.5),lg:$e(13),xl:$e(15)};function oJe(t,{color:e},r){const n=t.fn.variant({variant:"filled",color:e}),i=t.fn.variant({variant:"light",color:e});return r==="light"?{label:xf({backgroundColor:t.colorScheme==="dark"?t.colors.dark[6]:t.colors.gray[1]},t.fn.hover({backgroundColor:t.colorScheme==="dark"?t.colors.dark[5]:t.colors.gray[0]})),checked:Iw(xf({color:i.color,backgroundColor:i.background},t.fn.hover({backgroundColor:i.hover})),{"&, &:hover":{backgroundColor:t.fn.variant({variant:"light",color:e}).background}})}:r==="filled"?{label:xf({backgroundColor:t.colorScheme==="dark"?t.colors.dark[6]:t.colors.gray[1]},t.fn.hover({backgroundColor:t.colorScheme==="dark"?t.colors.dark[5]:t.colors.gray[0]})),checked:xf({color:n.color,backgroundColor:n.background},t.fn.hover({backgroundColor:n.hover}))}:r==="outline"?{label:xf({backgroundColor:t.colorScheme==="dark"?t.colors.dark[6]:t.white,borderColor:t.colorScheme==="dark"?t.colors.dark[4]:t.colors.gray[4]},t.fn.hover({backgroundColor:t.colorScheme==="dark"?t.colors.dark[5]:t.colors.gray[0]})),checked:{border:`${$e(1)} solid ${n.background}`}}:{label:null,checked:null}}var sJe=Pn((t,{radius:e,color:r},{size:n,variant:i})=>{const o=oJe(t,{color:r},i);return{root:{},label:Iw(xf(Iw(xf({ref:Ns("label")},t.fn.fontStyles()),{boxSizing:"border-box",color:t.colorScheme==="dark"?t.colors.dark[0]:t.black,display:"inline-flex",alignItems:"center",userSelect:"none",border:`${$e(1)} solid transparent`,borderRadius:t.fn.radius(e),height:Yt({size:n,sizes:tse}),fontSize:Yt({size:n,sizes:t.fontSizes}),lineHeight:`calc(${Yt({size:n,sizes:tse})} - ${$e(2)})`,paddingLeft:Yt({size:n,sizes:rse}),paddingRight:Yt({size:n,sizes:rse}),cursor:"pointer",whiteSpace:"nowrap",transition:"background-color 100ms ease",WebkitTapHighlightColor:"transparent"}),o.label),{"&[data-disabled]":Iw(xf({backgroundColor:t.colorScheme==="dark"?t.colors.dark[5]:t.colors.gray[1],borderColor:t.colorScheme==="dark"?t.colors.dark[5]:t.colors.gray[1],color:t.colorScheme==="dark"?t.colors.dark[3]:t.colors.gray[5],cursor:"not-allowed",pointerEvents:"none"},t.fn.hover({backgroundColor:t.colorScheme==="dark"?t.colors.dark[5]:t.colors.gray[1]})),{[`& .${Ns("iconWrapper")}`]:{color:t.colorScheme==="dark"?t.colors.dark[3]:t.colors.gray[5]}}),"&[data-checked]":{paddingLeft:Yt({size:n,sizes:o6}),paddingRight:Yt({size:n,sizes:o6}),"&:not([data-disabled])":o.checked}}),iconWrapper:{ref:Ns("iconWrapper"),color:i==="filled"?t.white:t.fn.variant({variant:"filled",color:r}).background,width:`calc(${Yt({size:n,sizes:Rb})} + (${Yt({size:n,sizes:t.spacing})} / 1.5))`,maxWidth:`calc(${Yt({size:n,sizes:Rb})} + (${Yt({size:n,sizes:t.spacing})} / 1.5))`,height:Yt({size:n,sizes:Rb}),display:"inline-block",verticalAlign:"middle",overflow:"hidden"},checkIcon:{width:Yt({size:n,sizes:Rb}),height:`calc(${Yt({size:n,sizes:Rb})} / 1.1)`,display:"block"},input:{width:0,height:0,padding:0,opacity:0,margin:0,"&:disabled + label":Iw(xf({backgroundColor:t.colorScheme==="dark"?t.colors.dark[5]:t.colors.gray[1],borderColor:t.colorScheme==="dark"?t.colors.dark[5]:t.colors.gray[1],color:t.colorScheme==="dark"?t.colors.dark[3]:t.colors.gray[5],cursor:"not-allowed",pointerEvents:"none"},t.fn.hover({backgroundColor:t.colorScheme==="dark"?t.colors.dark[5]:t.colors.gray[1]})),{[`& .${Ns("iconWrapper")}`]:{color:t.colorScheme==="dark"?t.colors.dark[3]:t.colors.gray[5]},"&[data-checked]":{paddingLeft:Yt({size:n,sizes:o6}),paddingRight:Yt({size:n,sizes:o6}),"&:not([data-disabled])":{backgroundColor:t.colorScheme==="dark"?t.colors.dark[5]:t.colors.gray[1],borderColor:t.colorScheme==="dark"?t.colors.dark[5]:t.colors.gray[1],color:t.colorScheme==="dark"?t.colors.dark[3]:t.colors.gray[5]}}}),"&:focus":{outline:"none",[`& + .${Ns("label")}`]:xf({},t.focusRing==="always"||t.focusRing==="auto"?t.focusRingStyles.styles(t):t.focusRingStyles.resetStyles(t)),"&:focus:not(:focus-visible)":{[`& + .${Ns("label")}`]:xf({},t.focusRing==="auto"||t.focusRing==="never"?t.focusRingStyles.resetStyles(t):null)}}}}});const aJe=sJe;var lJe=Object.defineProperty,gk=Object.getOwnPropertySymbols,Rwe=Object.prototype.hasOwnProperty,Mwe=Object.prototype.propertyIsEnumerable,nse=(t,e,r)=>e in t?lJe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,s6=(t,e)=>{for(var r in e||(e={}))Rwe.call(e,r)&&nse(t,r,e[r]);if(gk)for(var r of gk(e))Mwe.call(e,r)&&nse(t,r,e[r]);return t},cJe=(t,e)=>{var r={};for(var n in t)Rwe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&gk)for(var n of gk(t))e.indexOf(n)<0&&Mwe.call(t,n)&&(r[n]=t[n]);return r};const uJe={type:"checkbox",size:"sm",radius:"xl",variant:"outline"},gY=E.forwardRef((t,e)=>{const r=Xr("Chip",uJe,t),{radius:n,type:i,size:o,variant:s,disabled:a,id:l,color:c,children:u,className:f,classNames:d,style:p,styles:h,checked:A,defaultChecked:g,onChange:m,sx:v,wrapperProps:y,value:b,unstyled:B}=r,S=cJe(r,["radius","type","size","variant","disabled","id","color","children","className","classNames","style","styles","checked","defaultChecked","onChange","sx","wrapperProps","value","unstyled"]),w=JYe(),x=ov(l),{systemStyles:I,rest:F}=cC(S),{classes:k,cx:O}=aJe({radius:n,color:c},{classNames:d,styles:h,unstyled:B,name:"Chip",variant:s,size:o}),[L,M]=_f({value:A,defaultValue:g,finalValue:!1,onChange:m}),H=w?{checked:w.isChipSelected(b),onChange:w.onChange,type:w.multiple?"checkbox":"radio"}:{},V=H.checked||L;return ve.createElement(Wn,s6(s6({className:O(k.root,f),style:p,sx:v},I),y),ve.createElement("input",s6(s6({type:i,className:k.input,checked:V,onChange:j=>M(j.currentTarget.checked),id:x,disabled:a,ref:e,value:b},H),F)),ve.createElement("label",{htmlFor:x,"data-checked":V||void 0,"data-disabled":a||void 0,className:k.label},V&&ve.createElement("span",{className:k.iconWrapper},ve.createElement(_Ye,{className:k.checkIcon})),u))});gY.displayName="@mantine/core/Chip";gY.Group=Lwe;var fJe=Object.defineProperty,dJe=Object.defineProperties,pJe=Object.getOwnPropertyDescriptors,ise=Object.getOwnPropertySymbols,AJe=Object.prototype.hasOwnProperty,hJe=Object.prototype.propertyIsEnumerable,ose=(t,e,r)=>e in t?fJe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,sse=(t,e)=>{for(var r in e||(e={}))AJe.call(e,r)&&ose(t,r,e[r]);if(ise)for(var r of ise(e))hJe.call(e,r)&&ose(t,r,e[r]);return t},ase=(t,e)=>dJe(t,pJe(e)),mJe=Pn((t,{radius:e},{size:r})=>{const n=t.colorScheme==="dark"?t.colors.dark[4]:t.colors.gray[3];return{root:ase(sse({},t.fn.focusStyles()),{width:$e(r),height:$e(r),WebkitTapHighlightColor:"transparent",border:0,borderRadius:t.fn.radius(e),appearance:"none",WebkitAppearance:"none",padding:0,position:"relative",overflow:"hidden"}),overlay:ase(sse({},t.fn.cover()),{position:"absolute",borderRadius:t.fn.radius(e)}),children:{display:"inline-flex",justifyContent:"center",alignItems:"center"},shadowOverlay:{boxShadow:`rgba(0, 0, 0, .1) 0 0 0 ${$e(1)} inset, rgb(0, 0, 0, .15) 0 0 ${$e(4)} inset`,zIndex:1},alphaOverlay:{backgroundImage:`linear-gradient(45deg, ${n} 25%, transparent 25%), linear-gradient(-45deg, ${n} 25%, transparent 25%), linear-gradient(45deg, transparent 75%, ${n} 75%), linear-gradient(-45deg, ${t.colorScheme==="dark"?t.colors.dark[7]:t.white} 75%, ${n} 75%)`,backgroundSize:`${$e(8)} ${$e(8)}`,backgroundPosition:`0 0, 0 ${$e(4)}, ${$e(4)} -${$e(4)}, -${$e(4)} 0`}}});const gJe=mJe;var vJe=Object.defineProperty,vk=Object.getOwnPropertySymbols,_we=Object.prototype.hasOwnProperty,jwe=Object.prototype.propertyIsEnumerable,lse=(t,e,r)=>e in t?vJe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,yJe=(t,e)=>{for(var r in e||(e={}))_we.call(e,r)&&lse(t,r,e[r]);if(vk)for(var r of vk(e))jwe.call(e,r)&&lse(t,r,e[r]);return t},BJe=(t,e)=>{var r={};for(var n in t)_we.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&vk)for(var n of vk(t))e.indexOf(n)<0&&jwe.call(t,n)&&(r[n]=t[n]);return r};const CJe={size:$e(25),radius:$e(25),withShadow:!0},Uwe=E.forwardRef((t,e)=>{const r=Xr("ColorSwatch",CJe,t),{color:n,size:i,radius:o,className:s,children:a,classNames:l,styles:c,unstyled:u,withShadow:f,variant:d}=r,p=BJe(r,["color","size","radius","className","children","classNames","styles","unstyled","withShadow","variant"]),{classes:h,cx:A}=gJe({radius:o},{classNames:l,styles:c,unstyled:u,name:"ColorSwatch",size:i,variant:d});return ve.createElement(Wn,yJe({className:A(h.root,s),ref:e},p),ve.createElement("div",{className:A(h.alphaOverlay,h.overlay)}),f&&ve.createElement("div",{className:A(h.shadowOverlay,h.overlay)}),ve.createElement("div",{className:h.overlay,style:{backgroundColor:n}}),ve.createElement("div",{className:A(h.children,h.overlay)},a))});Uwe.displayName="@mantine/core/ColorSwatch";const vY=Uwe,qd={xs:$e(8),sm:$e(12),md:$e(16),lg:$e(20),xl:$e(22)};var bJe=Pn((t,e,{size:r})=>{const n=Yt({size:r,sizes:qd});return{thumb:{overflow:"hidden",boxSizing:"border-box",position:"absolute",boxShadow:`0 0 ${$e(1)} rgba(0, 0, 0, .6)`,border:`${$e(2)} solid ${t.white}`,backgroundColor:"transparent",width:n,height:n,borderRadius:n}}});const wJe=bJe;var xJe=Object.defineProperty,cse=Object.getOwnPropertySymbols,SJe=Object.prototype.hasOwnProperty,EJe=Object.prototype.propertyIsEnumerable,use=(t,e,r)=>e in t?xJe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,DJe=(t,e)=>{for(var r in e||(e={}))SJe.call(e,r)&&use(t,r,e[r]);if(cse)for(var r of cse(e))EJe.call(e,r)&&use(t,r,e[r]);return t};function yY({position:t,className:e,styles:r,classNames:n,style:i,size:o,__staticSelector:s,unstyled:a,variant:l}){const{classes:c,cx:u}=wJe(null,{classNames:n,styles:r,name:s,unstyled:a,size:o,variant:l});return ve.createElement("div",{className:u(c.thumb,e),style:DJe({left:`calc(${t.x*100}% - ${qd[o]} / 2)`,top:`calc(${t.y*100}% - ${qd[o]} / 2)`},i)})}yY.displayName="@mantine/core/Thumb";var kJe=Object.defineProperty,fse=Object.getOwnPropertySymbols,OJe=Object.prototype.hasOwnProperty,PJe=Object.prototype.propertyIsEnumerable,dse=(t,e,r)=>e in t?kJe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,pse=(t,e)=>{for(var r in e||(e={}))OJe.call(e,r)&&dse(t,r,e[r]);if(fse)for(var r of fse(e))PJe.call(e,r)&&dse(t,r,e[r]);return t},IJe=Pn((t,e,{size:r})=>({sliderThumb:{ref:Ns("sliderThumb")},slider:{position:"relative",height:`calc(${Yt({size:r,sizes:qd})} + ${$e(2)})`,boxSizing:"border-box",marginLeft:`calc(${Yt({size:r,sizes:qd})} / 2)`,marginRight:`calc(${Yt({size:r,sizes:qd})} / 2)`,outline:0,[`&:focus .${Ns("sliderThumb")}`]:pse({},t.focusRing==="always"||t.focusRing==="auto"?t.focusRingStyles.styles(t):t.focusRingStyles.resetStyles(t)),[`&:focus:not(:focus-visible) .${Ns("sliderThumb")}`]:pse({},t.focusRing==="auto"||t.focusRing==="never"?t.focusRingStyles.resetStyles(t):null)},sliderOverlay:{position:"absolute",boxSizing:"border-box",top:0,bottom:0,left:`calc(${Yt({size:r,sizes:qd})} * -1 / 2 - ${$e(1)})`,right:`calc(${Yt({size:r,sizes:qd})} * -1 / 2 - ${$e(1)})`,borderRadius:1e3}}));const NJe=IJe;var FJe=Object.defineProperty,TJe=Object.defineProperties,LJe=Object.getOwnPropertyDescriptors,yk=Object.getOwnPropertySymbols,Qwe=Object.prototype.hasOwnProperty,Vwe=Object.prototype.propertyIsEnumerable,Ase=(t,e,r)=>e in t?FJe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,RJe=(t,e)=>{for(var r in e||(e={}))Qwe.call(e,r)&&Ase(t,r,e[r]);if(yk)for(var r of yk(e))Vwe.call(e,r)&&Ase(t,r,e[r]);return t},MJe=(t,e)=>TJe(t,LJe(e)),_Je=(t,e)=>{var r={};for(var n in t)Qwe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&yk)for(var n of yk(t))e.indexOf(n)<0&&Vwe.call(t,n)&&(r[n]=t[n]);return r};const BY=E.forwardRef((t,e)=>{var r=t,{value:n,onChange:i,onChangeEnd:o,maxValue:s,round:a,size:l="md",thumbColor:c="transparent",__staticSelector:u="ColorSlider",focusable:f=!0,overlays:d,classNames:p,styles:h,className:A,unstyled:g,variant:m}=r,v=_Je(r,["value","onChange","onChangeEnd","maxValue","round","size","thumbColor","__staticSelector","focusable","overlays","classNames","styles","className","unstyled","variant"]);const{classes:y,cx:b}=NJe(null,{classNames:p,styles:h,name:u,unstyled:g,variant:m,size:l}),[B,S]=E.useState({y:0,x:n/s}),w=E.useRef(B),x=L=>a?Math.round(L*s):L*s,{ref:I}=fCe(({x:L,y:M})=>{w.current={x:L,y:M},i(x(L))},{onScrubEnd:()=>{const{x:L}=w.current;o(x(L))}});yl(()=>{S({y:0,x:n/s})},[n]);const F=(L,M)=>{L.preventDefault();const H=uCe(M);i(x(H.x)),o(x(H.x))},k=L=>{switch(L.key){case"ArrowRight":{F(L,{x:B.x+.05,y:B.y});break}case"ArrowLeft":{F(L,{x:B.x-.05,y:B.y});break}}},O=d.map((L,M)=>ve.createElement("div",{className:y.sliderOverlay,style:L,key:M}));return ve.createElement(Wn,MJe(RJe({},v),{ref:_m(I,e),className:b(y.slider,A),role:"slider","aria-valuenow":n,"aria-valuemax":s,"aria-valuemin":0,tabIndex:f?0:-1,onKeyDown:k}),O,ve.createElement(yY,{__staticSelector:u,classNames:p,styles:h,position:B,style:{top:$e(1),backgroundColor:c},className:y.sliderThumb,size:l}))});BY.displayName="@mantine/core/ColorSlider";var jJe=Object.defineProperty,UJe=Object.defineProperties,QJe=Object.getOwnPropertyDescriptors,Bk=Object.getOwnPropertySymbols,$we=Object.prototype.hasOwnProperty,Hwe=Object.prototype.propertyIsEnumerable,hse=(t,e,r)=>e in t?jJe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,VJe=(t,e)=>{for(var r in e||(e={}))$we.call(e,r)&&hse(t,r,e[r]);if(Bk)for(var r of Bk(e))Hwe.call(e,r)&&hse(t,r,e[r]);return t},$Je=(t,e)=>UJe(t,QJe(e)),HJe=(t,e)=>{var r={};for(var n in t)$we.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Bk)for(var n of Bk(t))e.indexOf(n)<0&&Hwe.call(t,n)&&(r[n]=t[n]);return r};const GJe={},Gwe=E.forwardRef((t,e)=>{const r=Xr("HueSlider",GJe,t),{value:n,onChange:i,onChangeEnd:o,__staticSelector:s}=r,a=HJe(r,["value","onChange","onChangeEnd","__staticSelector"]);return ve.createElement(BY,$Je(VJe({},a),{ref:e,value:n,onChange:i,onChangeEnd:o,maxValue:360,thumbColor:`hsl(${n}, 100%, 50%)`,round:!0,__staticSelector:s||"HueSlider",overlays:[{backgroundImage:"linear-gradient(to right,hsl(0,100%,50%),hsl(60,100%,50%),hsl(120,100%,50%),hsl(170,100%,50%),hsl(240,100%,50%),hsl(300,100%,50%),hsl(360,100%,50%))"},{boxShadow:`rgba(0, 0, 0, .1) 0 0 0 ${$e(1)} inset, rgb(0, 0, 0, .15) 0 0 ${$e(4)} inset`}]}))});Gwe.displayName="@mantine/core/HueSlider";var WJe=Object.defineProperty,zJe=Object.defineProperties,KJe=Object.getOwnPropertyDescriptors,mse=Object.getOwnPropertySymbols,qJe=Object.prototype.hasOwnProperty,XJe=Object.prototype.propertyIsEnumerable,gse=(t,e,r)=>e in t?WJe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,vse=(t,e)=>{for(var r in e||(e={}))qJe.call(e,r)&&gse(t,r,e[r]);if(mse)for(var r of mse(e))XJe.call(e,r)&&gse(t,r,e[r]);return t},yse=(t,e)=>zJe(t,KJe(e));function Su(t,e=0,r=10**e){return Math.round(r*t)/r}function YJe({h:t,s:e,l:r,a:n}){const i=e*((r<50?r:100-r)/100);return{h:t,s:i>0?2*i/(r+i)*100:0,v:r+i,a:n}}const JJe={grad:360/400,turn:360,rad:360/(Math.PI*2)};function ZJe(t,e="deg"){return Number(t)*(JJe[e]||1)}const eZe=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i;function Bse(t){const e=eZe.exec(t);return e?YJe({h:ZJe(e[1],e[2]),s:Number(e[3]),l:Number(e[4]),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)}):{h:0,s:0,v:0,a:1}}function wV({r:t,g:e,b:r,a:n}){const i=Math.max(t,e,r),o=i-Math.min(t,e,r),s=o?i===t?(e-r)/o:i===e?2+(r-t)/o:4+(t-e)/o:0;return{h:Su(60*(s<0?s+6:s),3),s:Su(i?o/i*100:0,3),v:Su(i/255*100,3),a:n}}function xV(t){const e=t[0]==="#"?t.slice(1):t;return e.length===3?wV({r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:1}):wV({r:parseInt(e.slice(0,2),16),g:parseInt(e.slice(2,4),16),b:parseInt(e.slice(4,6),16),a:1})}function tZe(t){const e=t[0]==="#"?t.slice(1):t,r=s=>Su(parseInt(s,16)/255,3);if(e.length===4){const s=e.slice(0,3),a=r(e[3]+e[3]);return yse(vse({},xV(s)),{a})}const n=e.slice(0,6),i=r(e.slice(6,8));return yse(vse({},xV(n)),{a:i})}const rZe=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i;function Cse(t){const e=rZe.exec(t);return e?wV({r:Number(e[1])/(e[2]?100/255:1),g:Number(e[3])/(e[4]?100/255:1),b:Number(e[5])/(e[6]?100/255:1),a:e[7]===void 0?1:Number(e[7])/(e[8]?100:1)}):{h:0,s:0,v:0,a:1}}const Wwe={hex:/^#?([0-9A-F]{3}){1,2}$/i,hexa:/^#?([0-9A-F]{4}){1,2}$/i,rgb:/^rgb\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/i,rgba:/^rgba\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/i,hsl:/hsl\(\s*(\d+)\s*,\s*(\d+(?:\.\d+)?%)\s*,\s*(\d+(?:\.\d+)?%)\)/i,hsla:/^hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*(\d*(?:\.\d+)?)\)$/i},nZe={hex:xV,hexa:tZe,rgb:Cse,rgba:Cse,hsl:Bse,hsla:Bse};function Nw(t){for(const[,e]of Object.entries(Wwe))if(e.test(t))return!0;return!1}function qg(t){if(typeof t!="string")return{h:0,s:0,v:0,a:1};if(t==="transparent")return{h:0,s:0,v:0,a:0};const e=t.trim();for(const[r,n]of Object.entries(Wwe))if(n.test(e))return nZe[r](e);return{h:0,s:0,v:0,a:1}}var iZe=Object.defineProperty,oZe=Object.defineProperties,sZe=Object.getOwnPropertyDescriptors,Ck=Object.getOwnPropertySymbols,zwe=Object.prototype.hasOwnProperty,Kwe=Object.prototype.propertyIsEnumerable,bse=(t,e,r)=>e in t?iZe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,aZe=(t,e)=>{for(var r in e||(e={}))zwe.call(e,r)&&bse(t,r,e[r]);if(Ck)for(var r of Ck(e))Kwe.call(e,r)&&bse(t,r,e[r]);return t},lZe=(t,e)=>oZe(t,sZe(e)),cZe=(t,e)=>{var r={};for(var n in t)zwe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Ck)for(var n of Ck(t))e.indexOf(n)<0&&Kwe.call(t,n)&&(r[n]=t[n]);return r};const uZe={},qwe=E.forwardRef((t,e)=>{const r=Xr("AlphaSlider",uZe,t),{value:n,onChange:i,onChangeEnd:o,color:s,__staticSelector:a}=r,l=cZe(r,["value","onChange","onChangeEnd","color","__staticSelector"]),c=wl(),u=c.colorScheme==="dark"?c.colors.dark[4]:c.colors.gray[3];return ve.createElement(BY,lZe(aZe({},l),{ref:e,value:n,onChange:f=>i(Su(f,2)),onChangeEnd:f=>o(Su(f,2)),maxValue:1,round:!1,__staticSelector:a||"AlphaSlider",overlays:[{backgroundImage:`linear-gradient(45deg, ${u} 25%, transparent 25%), linear-gradient(-45deg, ${u} 25%, transparent 25%), linear-gradient(45deg, transparent 75%, ${u} 75%), linear-gradient(-45deg, ${c.colorScheme==="dark"?c.colors.dark[7]:c.white} 75%, ${u} 75%)`,backgroundSize:`${$e(8)} ${$e(8)}`,backgroundPosition:`0 0, 0 ${$e(4)}, ${$e(4)} -${$e(4)}, -${$e(4)} 0`},{backgroundImage:`linear-gradient(90deg, transparent, ${s})`},{boxShadow:`rgba(0, 0, 0, .1) 0 0 0 ${$e(1)} inset, rgb(0, 0, 0, .15) 0 0 ${$e(4)} inset`}]}))});qwe.displayName="@mantine/core/AlphaSlider";var fZe=Object.defineProperty,wse=Object.getOwnPropertySymbols,dZe=Object.prototype.hasOwnProperty,pZe=Object.prototype.propertyIsEnumerable,xse=(t,e,r)=>e in t?fZe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,IT=(t,e)=>{for(var r in e||(e={}))dZe.call(e,r)&&xse(t,r,e[r]);if(wse)for(var r of wse(e))pZe.call(e,r)&&xse(t,r,e[r]);return t};const AZe={xs:$e(100),sm:$e(110),md:$e(120),lg:$e(140),xl:$e(160)};var hZe=Pn((t,e,{size:r})=>({saturationThumb:{ref:Ns("saturationThumb")},saturation:{boxSizing:"border-box",position:"relative",height:Yt({size:r,sizes:AZe}),borderRadius:t.radius.sm,margin:`calc(${Yt({size:r,sizes:qd})} / 2)`,WebkitTapHighlightColor:"transparent",[`&:focus .${Ns("saturationThumb")}`]:IT({},t.focusRing==="always"||t.focusRing==="auto"?t.focusRingStyles.styles(t):t.focusRingStyles.resetStyles(t)),[`&:focus:not(:focus-visible) .${Ns("saturationThumb")}`]:IT({},t.focusRing==="auto"||t.focusRing==="never"?t.focusRingStyles.resetStyles(t):null)},saturationOverlay:IT({boxSizing:"border-box",borderRadius:t.radius.sm},t.fn.cover(`calc(${Yt({size:r,sizes:qd})} * -1 / 2 - ${$e(1)})`))}));const mZe=hZe;function Xwe({h:t,s:e,v:r,a:n}){const i=t/360*6,o=e/100,s=r/100,a=Math.floor(i),l=s*(1-o),c=s*(1-(i-a)*o),u=s*(1-(1-i+a)*o),f=a%6;return{r:Su([s,c,l,l,u,s][f]*255),g:Su([u,s,s,c,l,l][f]*255),b:Su([l,l,u,s,s,c][f]*255),a:Su(n,2)}}function Sse(t,e){const{r,g:n,b:i,a:o}=Xwe(t);return e?`rgba(${r}, ${n}, ${i}, ${Su(o,2)})`:`rgb(${r}, ${n}, ${i})`}function Ese({h:t,s:e,v:r,a:n},i){const o=(200-e)*r/100,s={h:Math.round(t),s:Math.round(o>0&&o<200?e*r/100/(o<=100?o:200-o)*100:0),l:Math.round(o/2)};return i?`hsla(${s.h}, ${s.s}%, ${s.l}%, ${Su(n,2)})`:`hsl(${s.h}, ${s.s}%, ${s.l}%)`}function ZE(t){const e=t.toString(16);return e.length<2?`0${e}`:e}function Ywe(t){const{r:e,g:r,b:n}=Xwe(t);return`#${ZE(e)}${ZE(r)}${ZE(n)}`}function gZe(t){const e=Math.round(t.a*255);return`${Ywe(t)}${ZE(e)}`}const NT={hex:Ywe,hexa:t=>gZe(t),rgb:t=>Sse(t,!1),rgba:t=>Sse(t,!0),hsl:t=>Ese(t,!1),hsla:t=>Ese(t,!0)};function Bf(t,e){return e?t in NT?NT[t](e):NT.hex(e):"#000000"}function Jwe({value:t,onChange:e,onChangeEnd:r,focusable:n=!0,__staticSelector:i="saturation",size:o,color:s,saturationLabel:a,classNames:l,styles:c,unstyled:u,variant:f}){const{classes:d}=mZe(null,{classNames:l,styles:c,name:i,unstyled:u,variant:f,size:o}),[p,h]=E.useState({x:t.s/100,y:1-t.v/100}),A=E.useRef(p),{ref:g}=fCe(({x:y,y:b})=>{A.current={x:y,y:b},e({s:Math.round(y*100),v:Math.round((1-b)*100)})},{onScrubEnd:()=>{const{x:y,y:b}=A.current;r({s:Math.round(y*100),v:Math.round((1-b)*100)})}});E.useEffect(()=>{h({x:t.s/100,y:1-t.v/100})},[t.s,t.v]);const m=(y,b)=>{y.preventDefault();const B=uCe(b);e({s:Math.round(B.x*100),v:Math.round((1-B.y)*100)}),r({s:Math.round(B.x*100),v:Math.round((1-B.y)*100)})},v=y=>{switch(y.key){case"ArrowUp":{m(y,{y:p.y-.05,x:p.x});break}case"ArrowDown":{m(y,{y:p.y+.05,x:p.x});break}case"ArrowRight":{m(y,{x:p.x+.05,y:p.y});break}case"ArrowLeft":{m(y,{x:p.x-.05,y:p.y});break}}};return ve.createElement("div",{className:d.saturation,ref:g,role:"slider","aria-label":a,"aria-valuenow":p.x,"aria-valuetext":Bf("rgba",t),tabIndex:n?0:-1,onKeyDown:v},ve.createElement("div",{className:d.saturationOverlay,style:{backgroundColor:`hsl(${t.h}, 100%, 50%)`}}),ve.createElement("div",{className:d.saturationOverlay,style:{backgroundImage:"linear-gradient(90deg, #fff, transparent)"}}),ve.createElement("div",{className:d.saturationOverlay,style:{backgroundImage:"linear-gradient(0deg, #000, transparent)"}}),ve.createElement(yY,{__staticSelector:i,classNames:l,styles:c,position:p,className:d.saturationThumb,style:{backgroundColor:s},size:o}))}Jwe.displayName="@mantine/core/Saturation";var vZe=Pn((t,{swatchesPerRow:e})=>({swatch:{width:`calc(${100/e}% - ${$e(4)})`,height:0,paddingBottom:`calc(${100/e}% - ${$e(4)})`,margin:$e(2),boxSizing:"content-box"},swatches:{boxSizing:"border-box",marginLeft:$e(-2),marginRight:$e(-2),display:"flex",flexWrap:"wrap"}}));const yZe=vZe;var BZe=Object.defineProperty,bk=Object.getOwnPropertySymbols,Zwe=Object.prototype.hasOwnProperty,e5e=Object.prototype.propertyIsEnumerable,Dse=(t,e,r)=>e in t?BZe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,CZe=(t,e)=>{for(var r in e||(e={}))Zwe.call(e,r)&&Dse(t,r,e[r]);if(bk)for(var r of bk(e))e5e.call(e,r)&&Dse(t,r,e[r]);return t},bZe=(t,e)=>{var r={};for(var n in t)Zwe.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&bk)for(var n of bk(t))e.indexOf(n)<0&&e5e.call(t,n)&&(r[n]=t[n]);return r};function t5e(t){var e=t,{data:r,swatchesPerRow:n=10,focusable:i=!0,classNames:o,styles:s,__staticSelector:a="color-picker",unstyled:l,setValue:c,onChangeEnd:u,variant:f,size:d}=e,p=bZe(e,["data","swatchesPerRow","focusable","classNames","styles","__staticSelector","unstyled","setValue","onChangeEnd","variant","size"]);const{classes:h}=yZe({swatchesPerRow:n},{classNames:o,styles:s,name:a,unstyled:l,variant:f,size:d}),A=r.map((g,m)=>ve.createElement(vY,{className:h.swatch,component:"button",type:"button",color:g,key:m,radius:"sm",onClick:()=>{c(g),u?.(g)},style:{cursor:"pointer"},"aria-label":g,tabIndex:i?0:-1}));return ve.createElement("div",CZe({className:h.swatches},p),A)}t5e.displayName="@mantine/core/Swatches";const wZe={xs:$e(180),sm:$e(200),md:$e(240),lg:$e(280),xl:$e(320)};var xZe=Pn((t,{fullWidth:e},{size:r})=>({preview:{},wrapper:{boxSizing:"border-box",width:e?"100%":Yt({size:r,sizes:wZe}),padding:$e(1)},body:{display:"flex",boxSizing:"border-box",paddingTop:`calc(${Yt({size:r,sizes:t.spacing})} / 2)`},sliders:{flex:1,boxSizing:"border-box","&:not(:only-child)":{marginRight:t.spacing.xs}},slider:{boxSizing:"border-box","& + &":{marginTop:$e(5)}},swatch:{cursor:"pointer"}}));const SZe=xZe;var EZe=Object.defineProperty,DZe=Object.defineProperties,kZe=Object.getOwnPropertyDescriptors,wk=Object.getOwnPropertySymbols,r5e=Object.prototype.hasOwnProperty,n5e=Object.prototype.propertyIsEnumerable,kse=(t,e,r)=>e in t?EZe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,ny=(t,e)=>{for(var r in e||(e={}))r5e.call(e,r)&&kse(t,r,e[r]);if(wk)for(var r of wk(e))n5e.call(e,r)&&kse(t,r,e[r]);return t},FT=(t,e)=>DZe(t,kZe(e)),OZe=(t,e)=>{var r={};for(var n in t)r5e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&wk)for(var n of wk(t))e.indexOf(n)<0&&n5e.call(t,n)&&(r[n]=t[n]);return r};const PZe={xs:26,sm:34,md:42,lg:50,xl:54},IZe={swatchesPerRow:10,size:"sm",withPicker:!0,focusable:!0,__staticSelector:"ColorPicker"},i5e=E.forwardRef((t,e)=>{const r=Xr("ColorPicker",IZe,t),{value:n,defaultValue:i,onChange:o,onChangeEnd:s,format:a,swatches:l,swatchesPerRow:c,size:u,withPicker:f,fullWidth:d,focusable:p,__staticSelector:h,saturationLabel:A,hueLabel:g,alphaLabel:m,className:v,styles:y,classNames:b,unstyled:B,onColorSwatchClick:S,variant:w}=r,x=OZe(r,["value","defaultValue","onChange","onChangeEnd","format","swatches","swatchesPerRow","size","withPicker","fullWidth","focusable","__staticSelector","saturationLabel","hueLabel","alphaLabel","className","styles","classNames","unstyled","onColorSwatchClick","variant"]),{classes:I,cx:F}=SZe({fullWidth:d},{classNames:b,styles:y,name:h,unstyled:B,variant:w,size:u}),k=E.useRef(a),O=E.useRef(null),L=E.useRef(!0),M=a==="hexa"||a==="rgba"||a==="hsla",[H,V,j]=_f({value:n,defaultValue:i,finalValue:"#FFFFFF",onChange:o}),[R,Q]=E.useState(qg(H)),z=X=>{L.current=!1,Q(_=>{const G=ny(ny({},_),X);return O.current=Bf(k.current,G),G}),V(O.current),setTimeout(()=>{L.current=!0},0)};return yl(()=>{Nw(n)&&L.current&&(Q(qg(n)),L.current=!0)},[n]),yl(()=>{k.current=a,V(Bf(a,R))},[a]),ve.createElement(Wn,ny({className:F(I.wrapper,v),ref:e},x),f&&ve.createElement(ve.Fragment,null,ve.createElement(Jwe,{value:R,onChange:z,onChangeEnd:({s:X,v:_})=>s?.(Bf(k.current,FT(ny({},R),{s:X,v:_}))),color:H,styles:y,classNames:b,size:u,focusable:p,saturationLabel:A,__staticSelector:h}),ve.createElement("div",{className:I.body},ve.createElement("div",{className:I.sliders},ve.createElement(Gwe,{value:R.h,onChange:X=>z({h:X}),onChangeEnd:X=>s?.(Bf(k.current,FT(ny({},R),{h:X}))),size:u,styles:y,classNames:b,focusable:p,"aria-label":g,__staticSelector:h}),M&&ve.createElement(qwe,{value:R.a,onChange:X=>z({a:X}),onChangeEnd:X=>{s?.(Bf(k.current,FT(ny({},R),{a:X})))},size:u,color:Bf("hex",R),style:{marginTop:$e(6)},styles:y,classNames:b,focusable:p,"aria-label":m,__staticSelector:h})),M&&ve.createElement(vY,{color:H,radius:"sm",size:Yt({size:u,sizes:PZe}),className:I.preview}))),Array.isArray(l)&&ve.createElement(t5e,{data:l,style:{marginTop:$e(5)},swatchesPerRow:c,focusable:p,classNames:b,styles:y,__staticSelector:h,setValue:V,onChangeEnd:X=>{const _=Bf(a,qg(X));S?.(_),s?.(_),j||Q(qg(X))}}))});i5e.displayName="@mantine/core/ColorPicker";var NZe=Object.defineProperty,xk=Object.getOwnPropertySymbols,o5e=Object.prototype.hasOwnProperty,s5e=Object.prototype.propertyIsEnumerable,Ose=(t,e,r)=>e in t?NZe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Pse=(t,e)=>{for(var r in e||(e={}))o5e.call(e,r)&&Ose(t,r,e[r]);if(xk)for(var r of xk(e))s5e.call(e,r)&&Ose(t,r,e[r]);return t},FZe=(t,e)=>{var r={};for(var n in t)o5e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&xk)for(var n of xk(t))e.indexOf(n)<0&&s5e.call(t,n)&&(r[n]=t[n]);return r};function TZe(t){var e=t,{size:r,style:n}=e,i=FZe(e,["size","style"]);return ve.createElement("svg",Pse({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-color-picker",style:Pse({width:r,height:r},n),viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},i),ve.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),ve.createElement("path",{d:"M11 7l6 6"}),ve.createElement("path",{d:"M4 16l11.7 -11.7a1 1 0 0 1 1.4 0l2.6 2.6a1 1 0 0 1 0 1.4l-11.7 11.7h-4v-4z"}))}var LZe=Object.defineProperty,RZe=Object.defineProperties,MZe=Object.getOwnPropertyDescriptors,Sk=Object.getOwnPropertySymbols,a5e=Object.prototype.hasOwnProperty,l5e=Object.prototype.propertyIsEnumerable,Ise=(t,e,r)=>e in t?LZe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,TT=(t,e)=>{for(var r in e||(e={}))a5e.call(e,r)&&Ise(t,r,e[r]);if(Sk)for(var r of Sk(e))l5e.call(e,r)&&Ise(t,r,e[r]);return t},Nse=(t,e)=>RZe(t,MZe(e)),_Ze=(t,e)=>{var r={};for(var n in t)a5e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Sk)for(var n of Sk(t))e.indexOf(n)<0&&l5e.call(t,n)&&(r[n]=t[n]);return r};const jZe={xs:$e(16),sm:$e(18),md:$e(22),lg:$e(28),xl:$e(36)},UZe={xs:$e(14),sm:$e(16),md:$e(18),lg:$e(20),xl:$e(22)},QZe={size:"sm",format:"hex",fixOnBlur:!0,withPreview:!0,swatchesPerRow:10,withPicker:!0,transitionProps:{transition:"fade",duration:0},dropdownZIndex:iv("popover"),withinPortal:!0,shadow:"md",withEyeDropper:!0},CY=E.forwardRef((t,e)=>{const r=awe("ColorInput",QZe,t),{wrapperProps:n,inputProps:i,format:o,onChange:s,onChangeEnd:a,onFocus:l,onBlur:c,onClick:u,value:f,defaultValue:d,disallowInput:p,fixOnBlur:h,withPreview:A,swatchesPerRow:g,withPicker:m,icon:v,transitionProps:y,dropdownZIndex:b,withinPortal:B,portalProps:S,swatches:w,shadow:x,classNames:I,styles:F,unstyled:k,readOnly:O,withEyeDropper:L,eyeDropperIcon:M,rightSection:H,closeOnColorSwatchClick:V,disabled:j,eyeDropperLabel:R}=r,Q=_Ze(r,["wrapperProps","inputProps","format","onChange","onChangeEnd","onFocus","onBlur","onClick","value","defaultValue","disallowInput","fixOnBlur","withPreview","swatchesPerRow","withPicker","icon","transitionProps","dropdownZIndex","withinPortal","portalProps","swatches","shadow","classNames","styles","unstyled","readOnly","withEyeDropper","eyeDropperIcon","rightSection","closeOnColorSwatchClick","disabled","eyeDropperLabel"]),z=wl(),[X,_]=E.useState(!1),[G,W]=E.useState(""),[J,ee]=_f({value:f,defaultValue:d,finalValue:"",onChange:s}),{supported:q,open:Z}=THe(),re=ve.createElement(TCe,{sx:{color:z.colorScheme==="dark"?z.colors.dark[0]:z.black},size:i.size,"aria-label":R,onClick:()=>Z().then(({sRGBHex:le})=>{const De=Bf(o,qg(le));ee(De),a?.(De)}).catch(IBe)},M||ve.createElement(TZe,{size:Yt({size:i.size,sizes:UZe})})),fe=le=>{l?.(le),_(!0)},de=le=>{h&&ee(G),c?.(le),_(!1)},ie=le=>{u?.(le),_(!0)};return E.useEffect(()=>{(Nw(J)||J.trim()==="")&&W(J)},[J]),yl(()=>{Nw(J)&&ee(Bf(o,qg(J)))},[o]),ve.createElement(eh.Wrapper,Nse(TT({},n),{__staticSelector:"ColorInput"}),ve.createElement(yi,{__staticSelector:"ColorInput",position:"bottom-start",offset:5,zIndex:b,withinPortal:B,portalProps:S,transitionProps:y,opened:X,shadow:x,classNames:I,styles:F,unstyled:k,disabled:O||m===!1&&(!Array.isArray(w)||w.length===0)},ve.createElement(yi.Target,null,ve.createElement("div",null,ve.createElement(eh,Nse(TT(TT({autoComplete:"off"},Q),i),{disabled:j,ref:e,__staticSelector:"ColorInput",onFocus:fe,onBlur:de,onClick:ie,spellCheck:!1,value:J,onChange:le=>{const De=le.currentTarget.value;ee(De),Nw(De)&&a?.(Bf(o,qg(De)))},icon:v||(A?ve.createElement(vY,{color:Nw(J)?J:"#fff",size:Yt({size:i.size,sizes:jZe})}):null),readOnly:p||O,sx:{cursor:p?"pointer":void 0},unstyled:k,classNames:I,styles:F,rightSection:H||(L&&!j&&!O&&q?re:null)})))),ve.createElement(yi.Dropdown,{onMouseDown:le=>le.preventDefault(),p:i.size},ve.createElement(i5e,{__staticSelector:"ColorInput",value:J,onChange:ee,onChangeEnd:a,format:o,swatches:w,swatchesPerRow:g,withPicker:m,size:i.size,focusable:!1,unstyled:k,styles:F,classNames:I,onColorSwatchClick:()=>V&&_(!1)}))))});CY.displayName="@mantine/core/ColorInput";const[VZe,fC]=$P("ModalBase component was not found in tree");var $Ze=Pn(()=>({close:{marginLeft:"auto",marginRight:0}}));const HZe=$Ze;var GZe=Object.defineProperty,Ek=Object.getOwnPropertySymbols,c5e=Object.prototype.hasOwnProperty,u5e=Object.prototype.propertyIsEnumerable,Fse=(t,e,r)=>e in t?GZe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,WZe=(t,e)=>{for(var r in e||(e={}))c5e.call(e,r)&&Fse(t,r,e[r]);if(Ek)for(var r of Ek(e))u5e.call(e,r)&&Fse(t,r,e[r]);return t},zZe=(t,e)=>{var r={};for(var n in t)c5e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Ek)for(var n of Ek(t))e.indexOf(n)<0&&u5e.call(t,n)&&(r[n]=t[n]);return r};const KZe={size:"sm"},qZe=E.forwardRef((t,e)=>{const r=fC(),n=Xr(`${r.__staticSelector}CloseButton`,KZe,t),{className:i}=n,o=zZe(n,["className"]),{classes:s,cx:a}=HZe(null,r.stylesApi);return ve.createElement(WCe,WZe({className:a(s.close,i),ref:e,onClick:r.onClose},o))});var XZe=Pn(()=>({overlay:{}}));const YZe=XZe;var JZe=Object.defineProperty,ZZe=Object.defineProperties,eet=Object.getOwnPropertyDescriptors,Tse=Object.getOwnPropertySymbols,tet=Object.prototype.hasOwnProperty,ret=Object.prototype.propertyIsEnumerable,Lse=(t,e,r)=>e in t?JZe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,net=(t,e)=>{for(var r in e||(e={}))tet.call(e,r)&&Lse(t,r,e[r]);if(Tse)for(var r of Tse(e))ret.call(e,r)&&Lse(t,r,e[r]);return t},iet=(t,e)=>ZZe(t,eet(e)),oet=Pn((t,{color:e,opacity:r,blur:n,radius:i,gradient:o,fixed:s,zIndex:a})=>({root:iet(net({},t.fn.cover(0)),{position:s?"fixed":"absolute",backgroundColor:o?void 0:t.fn.rgba(e,r),backgroundImage:o,backdropFilter:n?`blur(${$e(n)})`:void 0,borderRadius:t.fn.radius(i),zIndex:a,"&[data-center]":{display:"flex",alignItems:"center",justifyContent:"center"}})}));const set=oet;var aet=Object.defineProperty,Dk=Object.getOwnPropertySymbols,f5e=Object.prototype.hasOwnProperty,d5e=Object.prototype.propertyIsEnumerable,Rse=(t,e,r)=>e in t?aet(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,cet=(t,e)=>{for(var r in e||(e={}))f5e.call(e,r)&&Rse(t,r,e[r]);if(Dk)for(var r of Dk(e))d5e.call(e,r)&&Rse(t,r,e[r]);return t},uet=(t,e)=>{var r={};for(var n in t)f5e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Dk)for(var n of Dk(t))e.indexOf(n)<0&&d5e.call(t,n)&&(r[n]=t[n]);return r};const fet={opacity:.6,color:"#000",zIndex:iv("modal"),radius:0},p5e=E.forwardRef((t,e)=>{const r=Xr("Overlay",fet,t),{variant:n,opacity:i,color:o,blur:s,gradient:a,zIndex:l,radius:c,children:u,className:f,classNames:d,styles:p,unstyled:h,center:A,fixed:g}=r,m=uet(r,["variant","opacity","color","blur","gradient","zIndex","radius","children","className","classNames","styles","unstyled","center","fixed"]),{classes:v,cx:y}=set({color:o,opacity:i,blur:s,radius:c,gradient:a,fixed:g,zIndex:l},{name:"Overlay",classNames:d,styles:p,unstyled:h,variant:n});return ve.createElement(Wn,cet({ref:e,className:y(v.root,f),"data-center":A||void 0},m),u)});p5e.displayName="@mantine/core/Overlay";const det=p5e;var pet=Object.defineProperty,Aet=Object.defineProperties,het=Object.getOwnPropertyDescriptors,kk=Object.getOwnPropertySymbols,A5e=Object.prototype.hasOwnProperty,h5e=Object.prototype.propertyIsEnumerable,Mse=(t,e,r)=>e in t?pet(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Mb=(t,e)=>{for(var r in e||(e={}))A5e.call(e,r)&&Mse(t,r,e[r]);if(kk)for(var r of kk(e))h5e.call(e,r)&&Mse(t,r,e[r]);return t},met=(t,e)=>Aet(t,het(e)),get=(t,e)=>{var r={};for(var n in t)A5e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&kk)for(var n of kk(t))e.indexOf(n)<0&&h5e.call(t,n)&&(r[n]=t[n]);return r};const vet={},yet=E.forwardRef((t,e)=>{const r=fC(),n=Xr(`${r.__staticSelector}Overlay`,vet,t),{onClick:i,transitionProps:o,style:s,className:a}=n,l=get(n,["onClick","transitionProps","style","className"]),{classes:c,cx:u}=YZe(null,r.stylesApi),f=d=>{i?.(d),r.closeOnClickOutside&&r.onClose()};return ve.createElement(G3,met(Mb(Mb({mounted:r.opened},r.transitionProps),o),{transition:"fade"}),d=>ve.createElement(det,Mb({ref:e,onClick:f,fixed:!0,style:Mb(Mb({},s),d),className:u(c.overlay,a),zIndex:r.zIndex},l)))});var Bet=Pn((t,{zIndex:e})=>({inner:{position:"fixed",width:"100%",top:0,bottom:0,maxHeight:"100%",zIndex:e,pointerEvents:"none"},content:{pointerEvents:"all"}}));const Cet=Bet;var bet=Object.defineProperty,Ok=Object.getOwnPropertySymbols,m5e=Object.prototype.hasOwnProperty,g5e=Object.prototype.propertyIsEnumerable,_se=(t,e,r)=>e in t?bet(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,_b=(t,e)=>{for(var r in e||(e={}))m5e.call(e,r)&&_se(t,r,e[r]);if(Ok)for(var r of Ok(e))g5e.call(e,r)&&_se(t,r,e[r]);return t},wet=(t,e)=>{var r={};for(var n in t)m5e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Ok)for(var n of Ok(t))e.indexOf(n)<0&&g5e.call(t,n)&&(r[n]=t[n]);return r};const xet={},Eet=E.forwardRef((t,e)=>{const r=fC(),n=Xr(`${r.__staticSelector}Content`,xet,t),{className:i,transitionProps:o,style:s,onKeyDown:a}=n,l=wet(n,["className","transitionProps","style","onKeyDown"]),{classes:c,cx:u}=Cet({zIndex:r.zIndex},r.stylesApi),f=d=>{var p;((p=d.target)==null?void 0:p.getAttribute("data-mantine-stop-propagation"))!=="true"&&d.key==="Escape"&&r.closeOnEscape&&r.onClose(),a?.(d)};return ve.createElement(G3,_b(_b({mounted:r.opened,transition:"pop"},r.transitionProps),o),d=>ve.createElement("div",{className:u(c.inner)},ve.createElement(dY,{active:r.opened&&r.trapFocus},ve.createElement(LYe,_b({component:"section",role:"dialog",tabIndex:-1,"aria-modal":!0,"aria-describedby":r.bodyMounted?r.getBodyId():void 0,"aria-labelledby":r.titleMounted?r.getTitleId():void 0,onKeyDown:f,ref:e,className:u(c.content,i),style:_b(_b({},s),d),shadow:r.shadow},l),l.children))))});var Det=Pn((t,{padding:e})=>{const r=Yt({size:e,sizes:t.spacing});return{header:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:r,paddingRight:`calc(${r} - ${$e(5)})`,position:"sticky",top:0,backgroundColor:t.colorScheme==="dark"?t.colors.dark[7]:t.white,zIndex:1e3}}});const ket=Det;var Oet=Object.defineProperty,Pk=Object.getOwnPropertySymbols,v5e=Object.prototype.hasOwnProperty,y5e=Object.prototype.propertyIsEnumerable,jse=(t,e,r)=>e in t?Oet(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Pet=(t,e)=>{for(var r in e||(e={}))v5e.call(e,r)&&jse(t,r,e[r]);if(Pk)for(var r of Pk(e))y5e.call(e,r)&&jse(t,r,e[r]);return t},Iet=(t,e)=>{var r={};for(var n in t)v5e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Pk)for(var n of Pk(t))e.indexOf(n)<0&&y5e.call(t,n)&&(r[n]=t[n]);return r};const Net={},Fet=E.forwardRef((t,e)=>{const r=fC(),n=Xr(`${r.__staticSelector}Header`,Net,t),{className:i}=n,o=Iet(n,["className"]),{classes:s,cx:a}=ket({padding:r.padding},r.stylesApi);return ve.createElement(Wn,Pet({ref:e,className:a(s.header,i)},o))});var Tet=Pn(t=>({title:{lineHeight:1,padding:0,margin:0,fontWeight:400,fontSize:t.fontSizes.md}}));const Let=Tet;var Ret=Object.defineProperty,Ik=Object.getOwnPropertySymbols,B5e=Object.prototype.hasOwnProperty,C5e=Object.prototype.propertyIsEnumerable,Use=(t,e,r)=>e in t?Ret(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Met=(t,e)=>{for(var r in e||(e={}))B5e.call(e,r)&&Use(t,r,e[r]);if(Ik)for(var r of Ik(e))C5e.call(e,r)&&Use(t,r,e[r]);return t},_et=(t,e)=>{var r={};for(var n in t)B5e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Ik)for(var n of Ik(t))e.indexOf(n)<0&&C5e.call(t,n)&&(r[n]=t[n]);return r};const jet={},Uet=E.forwardRef((t,e)=>{const r=fC(),n=Xr(`${r.__staticSelector}Title`,jet,t),{className:i}=n,o=_et(n,["className"]),{classes:s,cx:a}=Let(null,r.stylesApi);return E.useEffect(()=>(r.setTitleMounted(!0),()=>r.setTitleMounted(!1)),[]),ve.createElement(Wn,Met({component:"h2",id:r.getTitleId(),className:a(s.title,i),ref:e},o))});var Qet=Pn((t,{padding:e})=>({body:{padding:Yt({size:e,sizes:t.spacing}),"&:not(:only-child)":{paddingTop:0}}}));const Vet=Qet;var $et=Object.defineProperty,Nk=Object.getOwnPropertySymbols,b5e=Object.prototype.hasOwnProperty,w5e=Object.prototype.propertyIsEnumerable,Qse=(t,e,r)=>e in t?$et(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Het=(t,e)=>{for(var r in e||(e={}))b5e.call(e,r)&&Qse(t,r,e[r]);if(Nk)for(var r of Nk(e))w5e.call(e,r)&&Qse(t,r,e[r]);return t},Get=(t,e)=>{var r={};for(var n in t)b5e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Nk)for(var n of Nk(t))e.indexOf(n)<0&&w5e.call(t,n)&&(r[n]=t[n]);return r};const Wet={},zet=E.forwardRef((t,e)=>{const r=fC(),n=Xr(`${r.__staticSelector}Body`,Wet,t),{className:i}=n,o=Get(n,["className"]),{classes:s,cx:a}=Vet({padding:r.padding},r.stylesApi);return E.useEffect(()=>(r.setBodyMounted(!0),()=>r.setBodyMounted(!1)),[]),ve.createElement(Wn,Het({id:r.getBodyId(),className:a(s.body,i),ref:e},o))});function Ket({children:t}){return ve.createElement(ve.Fragment,null,t)}function qet({opened:t,transitionDuration:e}){const[r,n]=E.useState(t),i=E.useRef(),s=j3()?0:e;return E.useEffect(()=>(t?(n(!0),window.clearTimeout(i.current)):s===0?n(!1):i.current=window.setTimeout(()=>n(!1),s),()=>window.clearTimeout(i.current)),[t,s]),r}var Xet=Pn(()=>({root:{}}));const Yet=Xet;var Jet=Object.defineProperty,Zet=Object.defineProperties,ett=Object.getOwnPropertyDescriptors,Fk=Object.getOwnPropertySymbols,x5e=Object.prototype.hasOwnProperty,S5e=Object.prototype.propertyIsEnumerable,Vse=(t,e,r)=>e in t?Jet(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,LT=(t,e)=>{for(var r in e||(e={}))x5e.call(e,r)&&Vse(t,r,e[r]);if(Fk)for(var r of Fk(e))S5e.call(e,r)&&Vse(t,r,e[r]);return t},$se=(t,e)=>Zet(t,ett(e)),ttt=(t,e)=>{var r={};for(var n in t)x5e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Fk)for(var n of Fk(t))e.indexOf(n)<0&&S5e.call(t,n)&&(r[n]=t[n]);return r};const bY={closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:iv("modal"),padding:"md",size:"md",shadow:"xl"};function os(t){const e=Xr("ModalBase",bY,t),{opened:r,onClose:n,children:i,closeOnClickOutside:o,__staticSelector:s,transitionProps:a,withinPortal:l,portalProps:c,keepMounted:u,target:f,zIndex:d,lockScroll:p,trapFocus:h,closeOnEscape:A,returnFocus:g,padding:m,shadow:v,id:y,size:b,variant:B,classNames:S,unstyled:w,styles:x,className:I}=e,F=ttt(e,["opened","onClose","children","closeOnClickOutside","__staticSelector","transitionProps","withinPortal","portalProps","keepMounted","target","zIndex","lockScroll","trapFocus","closeOnEscape","returnFocus","padding","shadow","id","size","variant","classNames","unstyled","styles","className"]),{classes:k,cx:O}=Yet(null,{name:s,classNames:S,styles:x,unstyled:w,variant:B,size:b}),L=ov(y),[M,H]=E.useState(!1),[V,j]=E.useState(!1),R=typeof a?.duration=="number"?a?.duration:200,Q=qet({opened:r,transitionDuration:R});return fV("keydown",z=>{!h&&z.key==="Escape"&&A&&n()}),oCe({opened:r,shouldReturnFocus:h&&g}),ve.createElement(U3,$se(LT({},c),{withinPortal:l,target:f}),ve.createElement(VZe,{value:{__staticSelector:s,opened:r,onClose:n,closeOnClickOutside:o,transitionProps:$se(LT({},a),{duration:R,keepMounted:u}),zIndex:d,padding:m,id:L,getTitleId:()=>`${L}-title`,getBodyId:()=>`${L}-body`,titleMounted:M,bodyMounted:V,setTitleMounted:H,setBodyMounted:j,trapFocus:h,closeOnEscape:A,shadow:v,stylesApi:{name:s,size:b,variant:B,classNames:S,styles:x,unstyled:w}}},ve.createElement(EQe,{enabled:Q&&p},ve.createElement(Wn,LT({className:O(k.root,I)},F),i))))}os.CloseButton=qZe;os.Overlay=yet;os.Content=Eet;os.Header=Fet;os.Title=Uet;os.Body=zet;os.NativeScrollArea=Ket;function rtt({open:t,close:e,openDelay:r,closeDelay:n}){const i=E.useRef(-1),o=E.useRef(-1),s=()=>{window.clearTimeout(i.current),window.clearTimeout(o.current)},a=()=>{s(),r===0?t():i.current=window.setTimeout(t,r)},l=()=>{s(),n===0?e():o.current=window.setTimeout(e,n)};return E.useEffect(()=>s,[]),{openDropdown:a,closeDropdown:l}}function ntt(t,e){if(t==null)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(e.indexOf(n)!==-1)continue;r[n]=t[n]}return r}const E5e={context:"Menu component was not found in the tree",children:"Menu.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported"},[itt,W3]=$P(E5e.context);var ott=Pn(t=>({divider:{marginTop:$e(4),marginBottom:$e(4),borderTop:`${$e(1)} solid ${t.colorScheme==="dark"?t.colors.dark[4]:t.colors.gray[2]}`}}));const stt=ott;var att=Object.defineProperty,Tk=Object.getOwnPropertySymbols,D5e=Object.prototype.hasOwnProperty,k5e=Object.prototype.propertyIsEnumerable,Hse=(t,e,r)=>e in t?att(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,ltt=(t,e)=>{for(var r in e||(e={}))D5e.call(e,r)&&Hse(t,r,e[r]);if(Tk)for(var r of Tk(e))k5e.call(e,r)&&Hse(t,r,e[r]);return t},ctt=(t,e)=>{var r={};for(var n in t)D5e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Tk)for(var n of Tk(t))e.indexOf(n)<0&&k5e.call(t,n)&&(r[n]=t[n]);return r};const utt={},O5e=E.forwardRef((t,e)=>{const r=Xr("MenuDivider",utt,t),{children:n,className:i}=r,o=ctt(r,["children","className"]),{classNames:s,styles:a,unstyled:l,variant:c}=W3(),{classes:u,cx:f}=stt(null,{name:"Menu",classNames:s,styles:a,unstyled:l,variant:c});return ve.createElement(Wn,ltt({className:f(u.divider,i),ref:e},o))});O5e.displayName="@mantine/core/MenuDivider";var ftt=Object.defineProperty,Lk=Object.getOwnPropertySymbols,P5e=Object.prototype.hasOwnProperty,I5e=Object.prototype.propertyIsEnumerable,Gse=(t,e,r)=>e in t?ftt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,dtt=(t,e)=>{for(var r in e||(e={}))P5e.call(e,r)&&Gse(t,r,e[r]);if(Lk)for(var r of Lk(e))I5e.call(e,r)&&Gse(t,r,e[r]);return t},ptt=(t,e)=>{var r={};for(var n in t)P5e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Lk)for(var n of Lk(t))e.indexOf(n)<0&&I5e.call(t,n)&&(r[n]=t[n]);return r};const Att={};function N5e(t){const e=Xr("MenuDropdown",Att,t),{children:r,onMouseEnter:n,onMouseLeave:i}=e,o=ptt(e,["children","onMouseEnter","onMouseLeave"]),s=E.useRef(),a=W3(),l=f=>{var d;(f.key==="ArrowUp"||f.key==="ArrowDown")&&(f.preventDefault(),(d=s.current.querySelectorAll("[data-menu-item]:not(:disabled)")[0])==null||d.focus())},c=EA(n,()=>a.trigger==="hover"&&a.openDropdown()),u=EA(i,()=>a.trigger==="hover"&&a.closeDropdown());return ve.createElement(yi.Dropdown,dtt({onMouseEnter:c,onMouseLeave:u,role:"menu","aria-orientation":"vertical"},o),ve.createElement("div",{tabIndex:-1,"data-menu-dropdown":!0,"data-autofocus":!0,onKeyDown:l,ref:s,style:{outline:0}},r))}N5e.displayName="@mantine/core/MenuDropdown";var htt=Object.defineProperty,mtt=Object.defineProperties,gtt=Object.getOwnPropertyDescriptors,Wse=Object.getOwnPropertySymbols,vtt=Object.prototype.hasOwnProperty,ytt=Object.prototype.propertyIsEnumerable,zse=(t,e,r)=>e in t?htt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Btt=(t,e)=>{for(var r in e||(e={}))vtt.call(e,r)&&zse(t,r,e[r]);if(Wse)for(var r of Wse(e))ytt.call(e,r)&&zse(t,r,e[r]);return t},Ctt=(t,e)=>mtt(t,gtt(e)),btt=Pn((t,{color:e,radius:r})=>({item:Ctt(Btt({},t.fn.fontStyles()),{WebkitTapHighlightColor:"transparent",fontSize:t.fontSizes.sm,border:0,backgroundColor:"transparent",outline:0,width:"100%",textAlign:"left",textDecoration:"none",boxSizing:"border-box",padding:`${t.spacing.xs} ${t.spacing.sm}`,cursor:"pointer",borderRadius:t.fn.radius(r),color:e?t.fn.variant({variant:"filled",primaryFallback:!1,color:e}).background:t.colorScheme==="dark"?t.colors.dark[0]:t.black,display:"flex",alignItems:"center","&:disabled":{color:t.colorScheme==="dark"?t.colors.dark[3]:t.colors.gray[5],pointerEvents:"none",userSelect:"none"},"&[data-hovered]":{backgroundColor:e?t.fn.variant({variant:"light",color:e}).background:t.colorScheme==="dark"?t.fn.rgba(t.colors.dark[3],.35):t.colors.gray[1]}}),itemLabel:{flex:1},itemIcon:{display:"flex",justifyContent:"center",alignItems:"center",marginRight:t.spacing.xs},itemRightSection:{}}));const wtt=btt;var xtt=Object.defineProperty,Stt=Object.defineProperties,Ett=Object.getOwnPropertyDescriptors,Rk=Object.getOwnPropertySymbols,F5e=Object.prototype.hasOwnProperty,T5e=Object.prototype.propertyIsEnumerable,Kse=(t,e,r)=>e in t?xtt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Dtt=(t,e)=>{for(var r in e||(e={}))F5e.call(e,r)&&Kse(t,r,e[r]);if(Rk)for(var r of Rk(e))T5e.call(e,r)&&Kse(t,r,e[r]);return t},ktt=(t,e)=>Stt(t,Ett(e)),Ott=(t,e)=>{var r={};for(var n in t)F5e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Rk)for(var n of Rk(t))e.indexOf(n)<0&&T5e.call(t,n)&&(r[n]=t[n]);return r};const Ptt={},L5e=E.forwardRef((t,e)=>{const r=Xr("MenuItem",Ptt,t),{children:n,className:i,color:o,closeMenuOnClick:s,icon:a,rightSection:l}=r,c=Ott(r,["children","className","color","closeMenuOnClick","icon","rightSection"]),u=W3(),{classes:f,cx:d,theme:p}=wtt({radius:u.radius,color:o},{name:"Menu",classNames:u.classNames,styles:u.styles,unstyled:u.unstyled,variant:u.variant}),h=E.useRef(),A=u.getItemIndex(h.current),g=c,m=EA(g.onMouseLeave,()=>u.setHovered(-1)),v=EA(g.onMouseEnter,()=>u.setHovered(u.getItemIndex(h.current))),y=EA(g.onClick,()=>{typeof s=="boolean"?s&&u.closeDropdownImmediately():u.closeOnItemClick&&u.closeDropdownImmediately()}),b=EA(g.onFocus,()=>u.setHovered(u.getItemIndex(h.current)));return ve.createElement(Wn,ktt(Dtt({component:"button",type:"button"},c),{tabIndex:-1,onFocus:b,className:d(f.item,i),ref:_m(h,e),role:"menuitem","data-menu-item":!0,"data-hovered":u.hovered===A?!0:void 0,onMouseEnter:v,onMouseLeave:m,onClick:y,onKeyDown:PQe({siblingSelector:"[data-menu-item]",parentSelector:"[data-menu-dropdown]",activateOnFocus:!1,loop:u.loop,dir:p.dir,orientation:"vertical",onKeyDown:g.onKeydown})}),a&&ve.createElement("div",{className:f.itemIcon},a),n&&ve.createElement("div",{className:f.itemLabel},n),l&&ve.createElement("div",{className:f.itemRightSection},l))});L5e.displayName="@mantine/core/MenuItem";const Itt=L5e;var Ntt=Pn(t=>({label:{color:t.colorScheme==="dark"?t.colors.dark[2]:t.colors.gray[6],fontWeight:500,fontSize:t.fontSizes.xs,padding:`calc(${t.spacing.xs} / 2) ${t.spacing.sm}`,cursor:"default"}}));const Ftt=Ntt;var Ttt=Object.defineProperty,Mk=Object.getOwnPropertySymbols,R5e=Object.prototype.hasOwnProperty,M5e=Object.prototype.propertyIsEnumerable,qse=(t,e,r)=>e in t?Ttt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ltt=(t,e)=>{for(var r in e||(e={}))R5e.call(e,r)&&qse(t,r,e[r]);if(Mk)for(var r of Mk(e))M5e.call(e,r)&&qse(t,r,e[r]);return t},Rtt=(t,e)=>{var r={};for(var n in t)R5e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Mk)for(var n of Mk(t))e.indexOf(n)<0&&M5e.call(t,n)&&(r[n]=t[n]);return r};const Mtt={},_5e=E.forwardRef((t,e)=>{const r=Xr("MenuLabel",Mtt,t),{children:n,className:i}=r,o=Rtt(r,["children","className"]),{classNames:s,styles:a,unstyled:l,variant:c}=W3(),{classes:u,cx:f}=Ftt(null,{name:"Menu",classNames:s,styles:a,unstyled:l,variant:c});return ve.createElement(Q3,Ltt({className:f(u.label,i),ref:e},o),n)});_5e.displayName="@mantine/core/MenuLabel";var _tt=Object.defineProperty,_k=Object.getOwnPropertySymbols,j5e=Object.prototype.hasOwnProperty,U5e=Object.prototype.propertyIsEnumerable,Xse=(t,e,r)=>e in t?_tt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,jtt=(t,e)=>{for(var r in e||(e={}))j5e.call(e,r)&&Xse(t,r,e[r]);if(_k)for(var r of _k(e))U5e.call(e,r)&&Xse(t,r,e[r]);return t},Utt=(t,e)=>{var r={};for(var n in t)j5e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&_k)for(var n of _k(t))e.indexOf(n)<0&&U5e.call(t,n)&&(r[n]=t[n]);return r};const Qtt={refProp:"ref"},Q5e=E.forwardRef((t,e)=>{const r=Xr("MenuTarget",Qtt,t),{children:n,refProp:i}=r,o=Utt(r,["children","refProp"]);if(!T3(n))throw new Error(E5e.children);const s=W3(),a=EA(n.props.onClick,()=>s.trigger==="click"&&s.toggleDropdown()),l=EA(n.props.onMouseEnter,()=>s.trigger==="hover"&&s.openDropdown()),c=EA(n.props.onMouseLeave,()=>s.trigger==="hover"&&s.closeDropdown());return ve.createElement(yi.Target,jtt({refProp:i,popupType:"menu",ref:e},o),E.cloneElement(n,{onClick:a,onMouseEnter:l,onMouseLeave:c,"data-expanded":s.opened?!0:void 0}))});Q5e.displayName="@mantine/core/MenuTarget";var Vtt=Pn({dropdown:{padding:$e(4)}});const $tt=Vtt;var Htt=Object.defineProperty,Gtt=Object.defineProperties,Wtt=Object.getOwnPropertyDescriptors,jk=Object.getOwnPropertySymbols,V5e=Object.prototype.hasOwnProperty,$5e=Object.prototype.propertyIsEnumerable,Yse=(t,e,r)=>e in t?Htt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Jse=(t,e)=>{for(var r in e||(e={}))V5e.call(e,r)&&Yse(t,r,e[r]);if(jk)for(var r of jk(e))$5e.call(e,r)&&Yse(t,r,e[r]);return t},Zse=(t,e)=>Gtt(t,Wtt(e)),ztt=(t,e)=>{var r={};for(var n in t)V5e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&jk)for(var n of jk(t))e.indexOf(n)<0&&$5e.call(t,n)&&(r[n]=t[n]);return r};const Ktt={closeOnItemClick:!0,loop:!0,trigger:"click",openDelay:0,closeDelay:100};function br(t){const e=Xr("Menu",Ktt,t),{children:r,onOpen:n,onClose:i,opened:o,defaultOpened:s,onChange:a,closeOnItemClick:l,loop:c,closeOnEscape:u,trigger:f,openDelay:d,closeDelay:p,classNames:h,styles:A,unstyled:g,radius:m,variant:v}=e,y=ztt(e,["children","onOpen","onClose","opened","defaultOpened","onChange","closeOnItemClick","loop","closeOnEscape","trigger","openDelay","closeDelay","classNames","styles","unstyled","radius","variant"]),{classes:b,cx:B}=$tt(),[S,{setHovered:w,resetHovered:x}]=FQe(),[I,F]=_f({value:o,defaultValue:s,finalValue:!1,onChange:a}),k=()=>{F(!1),I&&i?.()},O=()=>{F(!0),!I&&n?.()},L=()=>I?k():O(),{openDropdown:M,closeDropdown:H}=rtt({open:O,close:k,closeDelay:p,openDelay:d}),V=j=>IQe("[data-menu-item]","[data-menu-dropdown]",j);return yl(()=>{x()},[I]),ve.createElement(itt,{value:{opened:I,toggleDropdown:L,getItemIndex:V,hovered:S,setHovered:w,closeOnItemClick:l,closeDropdown:f==="click"?k:H,openDropdown:f==="click"?O:M,closeDropdownImmediately:k,loop:c,trigger:f,radius:m,classNames:h,styles:A,unstyled:g,variant:v}},ve.createElement(yi,Zse(Jse({},y),{radius:m,opened:I,onChange:L,defaultOpened:s,trapFocus:f==="click"&&I,closeOnEscape:u&&f==="click",__staticSelector:"Menu",classNames:Zse(Jse({},h),{dropdown:B(b.dropdown,h?.dropdown)}),styles:A,unstyled:g,variant:v}),r))}br.displayName="@mantine/core/Menu";br.Item=Itt;br.Label=_5e;br.Dropdown=N5e;br.Target=Q5e;br.Divider=O5e;const[qtt,Xtt]=$P("Modal component was not found in tree"),Ytt={xs:$e(320),sm:$e(380),md:$e(440),lg:$e(620),xl:$e(780)};var Jtt=Pn((t,{yOffset:e,xOffset:r,centered:n,fullScreen:i},{size:o})=>({content:{flex:i?"0 0 100%":`0 0 ${Yt({size:o,sizes:Ytt})}`,maxWidth:"100%",maxHeight:i?void 0:`calc(100dvh - (${$e(e)} * 2))`,height:i?"100vh":void 0,borderRadius:i?0:void 0,overflowY:"auto"},inner:{paddingTop:i?0:e,paddingBottom:i?0:e,paddingLeft:i?0:r,paddingRight:i?0:r,display:"flex",justifyContent:"center",alignItems:n?"center":"flex-start"}}));const Ztt=Jtt;var ert=Object.defineProperty,trt=Object.defineProperties,rrt=Object.getOwnPropertyDescriptors,Uk=Object.getOwnPropertySymbols,H5e=Object.prototype.hasOwnProperty,G5e=Object.prototype.propertyIsEnumerable,eae=(t,e,r)=>e in t?ert(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,SV=(t,e)=>{for(var r in e||(e={}))H5e.call(e,r)&&eae(t,r,e[r]);if(Uk)for(var r of Uk(e))G5e.call(e,r)&&eae(t,r,e[r]);return t},W5e=(t,e)=>trt(t,rrt(e)),nrt=(t,e)=>{var r={};for(var n in t)H5e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Uk)for(var n of Uk(t))e.indexOf(n)<0&&G5e.call(t,n)&&(r[n]=t[n]);return r};const irt=W5e(SV({},bY),{yOffset:"5dvh",xOffset:"5vw"});function z5e(t){const e=Xr("ModalRoot",irt,t),{classNames:r,variant:n,size:i,yOffset:o,xOffset:s,scrollAreaComponent:a,radius:l,centered:c,fullScreen:u}=e,f=nrt(e,["classNames","variant","size","yOffset","xOffset","scrollAreaComponent","radius","centered","fullScreen"]),{classes:d,cx:p}=Ztt({yOffset:o,xOffset:s,centered:c,fullScreen:u},{name:"Modal",variant:n,size:i});return ve.createElement(qtt,{value:{yOffset:o,scrollAreaComponent:a,radius:l}},ve.createElement(os,SV({__staticSelector:"Modal",size:i,variant:n,classNames:W5e(SV({},r),{content:p(d.content,r?.content),inner:p(d.inner,r?.inner)})},f)))}var ort=Object.defineProperty,Qk=Object.getOwnPropertySymbols,K5e=Object.prototype.hasOwnProperty,q5e=Object.prototype.propertyIsEnumerable,tae=(t,e,r)=>e in t?ort(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,srt=(t,e)=>{for(var r in e||(e={}))K5e.call(e,r)&&tae(t,r,e[r]);if(Qk)for(var r of Qk(e))q5e.call(e,r)&&tae(t,r,e[r]);return t},art=(t,e)=>{var r={};for(var n in t)K5e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Qk)for(var n of Qk(t))e.indexOf(n)<0&&q5e.call(t,n)&&(r[n]=t[n]);return r};const lrt={shadow:"xl"},X5e=E.forwardRef((t,e)=>{const r=Xr("ModalContent",lrt,t),{children:n,scrollAreaComponent:i}=r,o=art(r,["children","scrollAreaComponent"]),s=Xtt(),a=i||s.scrollAreaComponent||os.NativeScrollArea;return ve.createElement(os.Content,srt({ref:e,radius:s.radius},o),ve.createElement(a,{style:{maxHeight:`calc(100dvh - (${$e(s.yOffset)} * 2))`}},n))});var crt=Object.defineProperty,urt=Object.defineProperties,frt=Object.getOwnPropertyDescriptors,Vk=Object.getOwnPropertySymbols,Y5e=Object.prototype.hasOwnProperty,J5e=Object.prototype.propertyIsEnumerable,rae=(t,e,r)=>e in t?crt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,eD=(t,e)=>{for(var r in e||(e={}))Y5e.call(e,r)&&rae(t,r,e[r]);if(Vk)for(var r of Vk(e))J5e.call(e,r)&&rae(t,r,e[r]);return t},drt=(t,e)=>urt(t,frt(e)),prt=(t,e)=>{var r={};for(var n in t)Y5e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Vk)for(var n of Vk(t))e.indexOf(n)<0&&J5e.call(t,n)&&(r[n]=t[n]);return r};const Art=drt(eD({},bY),{transitionProps:{duration:200,transition:"pop"},withOverlay:!0,withCloseButton:!0});function Ch(t){const e=Xr("Modal",Art,t),{title:r,withOverlay:n,overlayProps:i,withCloseButton:o,closeButtonProps:s,children:a}=e,l=prt(e,["title","withOverlay","overlayProps","withCloseButton","closeButtonProps","children"]),c=!!r||o;return ve.createElement(z5e,eD({},l),n&&ve.createElement(os.Overlay,eD({},i)),ve.createElement(X5e,null,c&&ve.createElement(os.Header,null,r&&ve.createElement(os.Title,null,r),o&&ve.createElement(os.CloseButton,eD({},s))),ve.createElement(os.Body,null,a)))}Ch.Root=z5e;Ch.CloseButton=os.CloseButton;Ch.Overlay=os.Overlay;Ch.Content=X5e;Ch.Header=os.Header;Ch.Title=os.Title;Ch.Body=os.Body;Ch.NativeScrollArea=os.NativeScrollArea;var hrt=Object.defineProperty,$k=Object.getOwnPropertySymbols,Z5e=Object.prototype.hasOwnProperty,e4e=Object.prototype.propertyIsEnumerable,nae=(t,e,r)=>e in t?hrt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,iae=(t,e)=>{for(var r in e||(e={}))Z5e.call(e,r)&&nae(t,r,e[r]);if($k)for(var r of $k(e))e4e.call(e,r)&&nae(t,r,e[r]);return t},mrt=(t,e)=>{var r={};for(var n in t)Z5e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&$k)for(var n of $k(t))e.indexOf(n)<0&&e4e.call(t,n)&&(r[n]=t[n]);return r};const grt={xs:$e(14),sm:$e(18),md:$e(20),lg:$e(24),xl:$e(28)};function vrt(t){var e=t,{size:r,error:n,style:i}=e,o=mrt(e,["size","error","style"]);const s=wl(),a=Yt({size:r,sizes:grt});return ve.createElement("svg",iae({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:iae({color:n?s.colors.red[6]:s.colors.gray[6],width:a,height:a},i),"data-chevron":!0},o),ve.createElement("path",{d:"M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}var yrt=Object.defineProperty,Brt=Object.defineProperties,Crt=Object.getOwnPropertyDescriptors,oae=Object.getOwnPropertySymbols,brt=Object.prototype.hasOwnProperty,wrt=Object.prototype.propertyIsEnumerable,sae=(t,e,r)=>e in t?yrt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,xrt=(t,e)=>{for(var r in e||(e={}))brt.call(e,r)&&sae(t,r,e[r]);if(oae)for(var r of oae(e))wrt.call(e,r)&&sae(t,r,e[r]);return t},Srt=(t,e)=>Brt(t,Crt(e));function t4e({shouldClear:t,clearButtonProps:e,onClear:r,size:n,error:i}){return t?ve.createElement(WCe,Srt(xrt({},e),{variant:"transparent",onClick:r,size:n,onMouseDown:o=>o.preventDefault()})):ve.createElement(vrt,{error:i,size:n})}t4e.displayName="@mantine/core/SelectRightSection";var Ert=Object.defineProperty,Drt=Object.defineProperties,krt=Object.getOwnPropertyDescriptors,Hk=Object.getOwnPropertySymbols,r4e=Object.prototype.hasOwnProperty,n4e=Object.prototype.propertyIsEnumerable,aae=(t,e,r)=>e in t?Ert(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,RT=(t,e)=>{for(var r in e||(e={}))r4e.call(e,r)&&aae(t,r,e[r]);if(Hk)for(var r of Hk(e))n4e.call(e,r)&&aae(t,r,e[r]);return t},lae=(t,e)=>Drt(t,krt(e)),Ort=(t,e)=>{var r={};for(var n in t)r4e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Hk)for(var n of Hk(t))e.indexOf(n)<0&&n4e.call(t,n)&&(r[n]=t[n]);return r};function Prt(t){var e=t,{styles:r,rightSection:n,rightSectionWidth:i,theme:o}=e,s=Ort(e,["styles","rightSection","rightSectionWidth","theme"]);if(n)return{rightSection:n,rightSectionWidth:i,styles:r};const a=typeof r=="function"?r(o):r;return{rightSection:!s.readOnly&&!(s.disabled&&s.shouldClear)&&ve.createElement(t4e,RT({},s)),styles:lae(RT({},a),{rightSection:lae(RT({},a?.rightSection),{pointerEvents:s.shouldClear?void 0:"none"})})}}const i4e=E.createContext(!1),Irt=i4e.Provider,Nrt=()=>E.useContext(i4e);function o4e({children:t,openDelay:e=0,closeDelay:r=0}){return ve.createElement(Irt,{value:!0},ve.createElement(lqe,{delay:{open:e,close:r}},t))}o4e.displayName="@mantine/core/TooltipGroup";var Frt=Object.defineProperty,Trt=Object.defineProperties,Lrt=Object.getOwnPropertyDescriptors,cae=Object.getOwnPropertySymbols,Rrt=Object.prototype.hasOwnProperty,Mrt=Object.prototype.propertyIsEnumerable,uae=(t,e,r)=>e in t?Frt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,fae=(t,e)=>{for(var r in e||(e={}))Rrt.call(e,r)&&uae(t,r,e[r]);if(cae)for(var r of cae(e))Mrt.call(e,r)&&uae(t,r,e[r]);return t},_rt=(t,e)=>Trt(t,Lrt(e));function jrt(t,e){if(!e)return{backgroundColor:t.colorScheme==="dark"?t.colors.gray[2]:t.colors.gray[9],color:t.colorScheme==="dark"?t.black:t.white};const r=t.fn.variant({variant:"filled",color:e,primaryFallback:!1});return{backgroundColor:r.background,color:r.color}}var Urt=Pn((t,{color:e,radius:r,width:n,multiline:i})=>({tooltip:_rt(fae(fae({},t.fn.fontStyles()),jrt(t,e)),{lineHeight:t.lineHeight,fontSize:t.fontSizes.sm,borderRadius:t.fn.radius(r),padding:`calc(${t.spacing.xs} / 2) ${t.spacing.xs}`,position:"absolute",whiteSpace:i?"unset":"nowrap",pointerEvents:"none",width:n}),arrow:{backgroundColor:"inherit",border:0,zIndex:1}}));const s4e=Urt,a4e={children:"Tooltip component children should be an element or a component that accepts ref, fragments, strings, numbers and other primitive values are not supported"};function Qrt({offset:t,position:e}){const[r,n]=E.useState(!1),i=E.useRef(),{x:o,y:s,reference:a,floating:l,refs:c,update:u,placement:f}=fY({placement:e,middleware:[AI({crossAxis:!0,padding:5,rootBoundary:"document"})]}),d=f.includes("right")?t:e.includes("left")?t*-1:0,p=f.includes("bottom")?t:e.includes("top")?t*-1:0,h=E.useCallback(({clientX:A,clientY:g})=>{a({getBoundingClientRect(){return{width:0,height:0,x:A,y:g,left:A+d,top:g+p,right:A,bottom:g}}})},[a]);return E.useEffect(()=>{if(c.floating.current){const A=i.current;A.addEventListener("mousemove",h);const g=Tu(c.floating.current);return g.forEach(m=>{m.addEventListener("scroll",u)}),()=>{A.removeEventListener("mousemove",h),g.forEach(m=>{m.removeEventListener("scroll",u)})}}},[a,c.floating.current,u,h,r]),{handleMouseMove:h,x:o,y:s,opened:r,setOpened:n,boundaryRef:i,floating:l}}var Vrt=Object.defineProperty,$rt=Object.defineProperties,Hrt=Object.getOwnPropertyDescriptors,Gk=Object.getOwnPropertySymbols,l4e=Object.prototype.hasOwnProperty,c4e=Object.prototype.propertyIsEnumerable,dae=(t,e,r)=>e in t?Vrt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,a6=(t,e)=>{for(var r in e||(e={}))l4e.call(e,r)&&dae(t,r,e[r]);if(Gk)for(var r of Gk(e))c4e.call(e,r)&&dae(t,r,e[r]);return t},l6=(t,e)=>$rt(t,Hrt(e)),Grt=(t,e)=>{var r={};for(var n in t)l4e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Gk)for(var n of Gk(t))e.indexOf(n)<0&&c4e.call(t,n)&&(r[n]=t[n]);return r};const Wrt={refProp:"ref",withinPortal:!0,offset:10,position:"right",zIndex:iv("popover")};function u4e(t){var e;const r=Xr("TooltipFloating",Wrt,t),{children:n,refProp:i,withinPortal:o,portalProps:s,style:a,className:l,classNames:c,styles:u,unstyled:f,radius:d,color:p,label:h,offset:A,position:g,multiline:m,width:v,zIndex:y,disabled:b,variant:B}=r,S=Grt(r,["children","refProp","withinPortal","portalProps","style","className","classNames","styles","unstyled","radius","color","label","offset","position","multiline","width","zIndex","disabled","variant"]),{handleMouseMove:w,x,y:I,opened:F,boundaryRef:k,floating:O,setOpened:L}=Qrt({offset:A,position:g}),{classes:M,cx:H}=s4e({radius:d,color:p,multiline:m,width:v},{name:"TooltipFloating",classNames:c,styles:u,unstyled:f,variant:B});if(!T3(n))throw new Error(a4e.children);const V=_m(k,n.ref),j=Q=>{var z,X;(X=(z=n.props).onMouseEnter)==null||X.call(z,Q),w(Q),L(!0)},R=Q=>{var z,X;(X=(z=n.props).onMouseLeave)==null||X.call(z,Q),L(!1)};return ve.createElement(ve.Fragment,null,ve.createElement(U3,l6(a6({},s),{withinPortal:o}),ve.createElement(Wn,l6(a6({},S),{ref:O,className:H(M.tooltip,l),style:l6(a6({},a),{zIndex:y,display:!b&&F?"block":"none",top:I??"",left:(e=Math.round(x))!=null?e:""})}),h)),E.cloneElement(n,l6(a6({},n.props),{[i]:V,onMouseEnter:j,onMouseLeave:R})))}u4e.displayName="@mantine/core/TooltipFloating";function zrt(t){const[e,r]=E.useState(!1),i=typeof t.opened=="boolean"?t.opened:e,o=Nrt(),s=ov(),{delay:a,currentId:l,setCurrentId:c}=$be(),u=E.useCallback(x=>{r(x),x&&c(s)},[c,s]),{x:f,y:d,reference:p,floating:h,context:A,refs:g,update:m,placement:v,middlewareData:{arrow:{x:y,y:b}={}}}=fY({placement:t.position,open:i,onOpenChange:u,middleware:[aY(t.offset),AI({padding:8}),lY(),_be({element:t.arrowRef,padding:t.arrowOffset}),...t.inline?[Rbe()]:[]]}),{getReferenceProps:B,getFloatingProps:S}=Bqe([aqe(A,{enabled:t.events.hover,delay:o?a:{open:t.openDelay,close:t.closeDelay},mouseOnly:!t.events.touch}),vqe(A,{enabled:t.events.focus,keyboardOnly:!0}),yqe(A,{role:"tooltip"}),gqe(A,{enabled:typeof t.opened===void 0}),cqe(A,{id:s})]);return Gbe({opened:i,position:t.position,positionDependencies:t.positionDependencies,floating:{refs:g,update:m}}),yl(()=>{var x;(x=t.onPositionChange)==null||x.call(t,v)},[v]),{x:f,y:d,arrowX:y,arrowY:b,reference:p,floating:h,getFloatingProps:S,getReferenceProps:B,isGroupPhase:i&&l&&l!==s,opened:i,placement:v}}var Krt=Object.defineProperty,qrt=Object.defineProperties,Xrt=Object.getOwnPropertyDescriptors,Wk=Object.getOwnPropertySymbols,f4e=Object.prototype.hasOwnProperty,d4e=Object.prototype.propertyIsEnumerable,pae=(t,e,r)=>e in t?Krt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ag=(t,e)=>{for(var r in e||(e={}))f4e.call(e,r)&&pae(t,r,e[r]);if(Wk)for(var r of Wk(e))d4e.call(e,r)&&pae(t,r,e[r]);return t},MT=(t,e)=>qrt(t,Xrt(e)),Yrt=(t,e)=>{var r={};for(var n in t)f4e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Wk)for(var n of Wk(t))e.indexOf(n)<0&&d4e.call(t,n)&&(r[n]=t[n]);return r};const Jrt={position:"top",refProp:"ref",withinPortal:!1,inline:!1,arrowSize:4,arrowOffset:5,arrowRadius:0,arrowPosition:"side",offset:5,transitionProps:{duration:100,transition:"fade"},width:"auto",events:{hover:!0,focus:!1,touch:!1},zIndex:iv("popover"),positionDependencies:[]},hI=E.forwardRef((t,e)=>{var r;const n=E.useRef(null),i=Xr("Tooltip",Jrt,t),{children:o,position:s,refProp:a,label:l,openDelay:c,closeDelay:u,onPositionChange:f,opened:d,withinPortal:p,portalProps:h,radius:A,color:g,classNames:m,styles:v,unstyled:y,style:b,className:B,withArrow:S,arrowSize:w,arrowOffset:x,arrowRadius:I,arrowPosition:F,offset:k,transitionProps:O,multiline:L,width:M,events:H,zIndex:V,disabled:j,positionDependencies:R,onClick:Q,onMouseEnter:z,onMouseLeave:X,inline:_,variant:G,keepMounted:W}=i,J=Yrt(i,["children","position","refProp","label","openDelay","closeDelay","onPositionChange","opened","withinPortal","portalProps","radius","color","classNames","styles","unstyled","style","className","withArrow","arrowSize","arrowOffset","arrowRadius","arrowPosition","offset","transitionProps","multiline","width","events","zIndex","disabled","positionDependencies","onClick","onMouseEnter","onMouseLeave","inline","variant","keepMounted"]),{classes:ee,cx:q,theme:Z}=s4e({radius:A,color:g,width:M,multiline:L},{name:"Tooltip",classNames:m,styles:v,unstyled:y,variant:G}),re=zrt({position:rwe(Z.dir,s),closeDelay:u,openDelay:c,onPositionChange:f,opened:d,events:H,arrowRef:n,arrowOffset:x,offset:k+(S?w/2:0),positionDependencies:[...R,o],inline:_});if(!T3(o))throw new Error(a4e.children);const fe=_m(re.reference,o.ref,e);return ve.createElement(ve.Fragment,null,ve.createElement(U3,MT(Ag({},h),{withinPortal:p}),ve.createElement(G3,MT(Ag({keepMounted:W,mounted:!j&&re.opened},O),{transition:O.transition||"fade",duration:re.isGroupPhase?10:(r=O.duration)!=null?r:100}),de=>{var ie,le;return ve.createElement(Wn,Ag(Ag({},J),re.getFloatingProps({ref:re.floating,className:ee.tooltip,style:MT(Ag(Ag({},b),de),{zIndex:V,top:(ie=re.y)!=null?ie:0,left:(le=re.x)!=null?le:0})})),l,ve.createElement(pY,{ref:n,arrowX:re.arrowX,arrowY:re.arrowY,visible:S,position:re.placement,arrowSize:w,arrowOffset:x,arrowRadius:I,arrowPosition:F,className:ee.arrow}))})),E.cloneElement(o,re.getReferenceProps(Ag({onClick:Q,onMouseEnter:z,onMouseLeave:X,onMouseMove:t.onMouseMove,onPointerDown:t.onPointerDown,onPointerEnter:t.onPointerEnter,[a]:fe,className:q(B,o.props.className)},o.props))))});hI.Group=o4e;hI.Floating=u4e;hI.displayName="@mantine/core/Tooltip";const mp=hI;var Zrt=Object.defineProperty,ent=Object.defineProperties,tnt=Object.getOwnPropertyDescriptors,Aae=Object.getOwnPropertySymbols,rnt=Object.prototype.hasOwnProperty,nnt=Object.prototype.propertyIsEnumerable,hae=(t,e,r)=>e in t?Zrt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,c6=(t,e)=>{for(var r in e||(e={}))rnt.call(e,r)&&hae(t,r,e[r]);if(Aae)for(var r of Aae(e))nnt.call(e,r)&&hae(t,r,e[r]);return t},int=(t,e)=>ent(t,tnt(e));const tD=4,mae={xs:`${$e(3)} ${$e(6)}`,sm:`${$e(5)} ${$e(10)}`,md:`${$e(7)} ${$e(14)}`,lg:`${$e(9)} ${$e(16)}`,xl:`${$e(12)} ${$e(20)}`};var ont=Pn((t,{fullWidth:e,color:r,radius:n,shouldAnimate:i,transitionDuration:o,transitionTimingFunction:s,orientation:a},{size:l})=>{const c=a==="vertical",u=t.fn.variant({variant:"filled",color:r});return{label:int(c6(c6({ref:Ns("label")},t.fn.focusStyles()),t.fn.fontStyles()),{WebkitTapHighlightColor:"transparent",borderRadius:t.fn.radius(n),fontWeight:500,fontSize:l in t.fontSizes?t.fontSizes[l]:t.fontSizes.sm,cursor:"pointer",display:"block",textAlign:"center",padding:mae[l in mae?l:"sm"],whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",userSelect:"none",color:t.colorScheme==="dark"?t.colors.dark[1]:t.colors.gray[7],transition:`color ${i?0:o}ms ${s||t.transitionTimingFunction}`,"&:hover":{color:t.colorScheme==="dark"?t.colors.dark[0]:t.black},"&[data-disabled]":{"&, &:hover":{color:t.colorScheme==="dark"?t.colors.dark[3]:t.colors.gray[5],cursor:"not-allowed",pointerEvents:"none"}},"&[data-active]":{"&, &:hover":{color:r||t.colorScheme==="dark"?t.white:t.black}}}),control:{ref:Ns("control"),position:"relative",boxSizing:"border-box",flex:1,zIndex:2,transition:`border-left-color ${i?0:o}ms ${s||t.transitionTimingFunction}`,"&:not(:first-of-type)":{borderStyle:"solid",borderWidth:c?`${$e(1)} 0 0 0`:`0 0 0 ${$e(1)}`,borderColor:t.colorScheme==="dark"?t.colors.dark[4]:t.colors.gray[3]}},input:{height:0,width:0,position:"absolute",overflow:"hidden",whiteSpace:"nowrap",opacity:0,"&:focus":{outline:"none",[`& + .${Ns("label")}`]:c6({},t.focusRing==="always"||t.focusRing==="auto"?t.focusRingStyles.styles(t):t.focusRingStyles.resetStyles(t)),"&:focus:not(:focus-visible)":{[`& + .${Ns("label")}`]:c6({},t.focusRing==="auto"||t.focusRing==="never"?t.focusRingStyles.resetStyles(t):null)}},"&:disabled + label":{"&, &:hover":{color:t.colorScheme==="dark"?t.colors.dark[3]:t.colors.gray[5],cursor:"not-allowed",pointerEvents:"none"}}},root:{position:"relative",display:e||c?"flex":"inline-flex",width:c&&!e?"max-content":"auto",flexDirection:c?"column":"row",backgroundColor:t.colorScheme==="dark"?t.colors.dark[8]:t.colors.gray[1],borderRadius:t.fn.radius(n),overflow:"hidden",padding:tD},controlActive:{borderLeftColor:"transparent !important",borderTopColor:"transparent !important",[`& + .${Ns("control")}`]:{[c?"borderTopColor":"borderLeftColor"]:"transparent !important"},borderRadius:t.fn.radius(n),boxShadow:i?r||t.colorScheme==="dark"?"none":t.shadows.xs:void 0,backgroundColor:i?r?u.background:t.colorScheme==="dark"?t.colors.dark[5]:t.white:void 0},indicator:{boxSizing:"border-box",borderRadius:t.fn.radius(n),position:"absolute",zIndex:1,boxShadow:r||t.colorScheme==="dark"?"none":t.shadows.xs,transition:`transform ${i?0:o}ms ${t.transitionTimingFunction}, width ${i?0:o/2}ms ${s||t.transitionTimingFunction}`,backgroundColor:r?u.background:t.colorScheme==="dark"?t.colors.dark[5]:t.white}}});const snt=ont;var ant=Object.defineProperty,zk=Object.getOwnPropertySymbols,p4e=Object.prototype.hasOwnProperty,A4e=Object.prototype.propertyIsEnumerable,gae=(t,e,r)=>e in t?ant(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,lnt=(t,e)=>{for(var r in e||(e={}))p4e.call(e,r)&&gae(t,r,e[r]);if(zk)for(var r of zk(e))A4e.call(e,r)&&gae(t,r,e[r]);return t},cnt=(t,e)=>{var r={};for(var n in t)p4e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&zk)for(var n of zk(t))e.indexOf(n)<0&&A4e.call(t,n)&&(r[n]=t[n]);return r};const unt={disabled:!1,size:"sm",transitionDuration:200},wY=E.forwardRef((t,e)=>{var r,n,i,o;const s=Xr("SegmentedControl",unt,t),{className:a,disabled:l,data:c,name:u,value:f,onChange:d,color:p,fullWidth:h,radius:A,size:g,transitionDuration:m,transitionTimingFunction:v,classNames:y,styles:b,defaultValue:B,orientation:S,unstyled:w,variant:x,readOnly:I}=s,F=cnt(s,["className","disabled","data","name","value","onChange","color","fullWidth","radius","size","transitionDuration","transitionTimingFunction","classNames","styles","defaultValue","orientation","unstyled","variant","readOnly"]),k=wl(),O=j3(),L=k.respectReducedMotion?O:!1,M=c.map(fe=>typeof fe=="string"?{label:fe,value:fe}:fe),H=E.useRef(),[V,j]=E.useState(!1),[R,Q]=_f({value:f,defaultValue:B,finalValue:Array.isArray(M)&&(o=(i=(r=M.find(fe=>!fe.disabled))==null?void 0:r.value)!=null?i:(n=M[0])==null?void 0:n.value)!=null?o:null,onChange:d}),{classes:z,cx:X}=snt({fullWidth:h,color:p,radius:A,shouldAnimate:L||!V,transitionDuration:m,transitionTimingFunction:v,orientation:S},{name:"SegmentedControl",classNames:y,styles:b,unstyled:w,variant:x,size:g}),[_,G]=E.useState({width:0,height:0,translate:[0,0]}),W=ov(u),J=E.useRef({}),[ee,q]=bHe();_3(()=>{H.current?j(!0):(H.current=!0,j(!1))}),E.useEffect(()=>{if(R in J.current&&ee.current){const fe=J.current[R],de=fe.getBoundingClientRect(),ie=fe.offsetWidth/de.width,le=de.width*ie||0,De=de.height*ie||0,Ae=q.width-fe.parentElement.offsetLeft+tD-le,ue=fe.parentElement.offsetLeft-tD;G({width:le,height:De,translate:[k.dir==="rtl"?Ae:ue,fe.parentElement.offsetTop-tD]})}},[R,q]);const Z=M.map(fe=>ve.createElement("div",{className:X(z.control,{[z.controlActive]:R===fe.value}),key:fe.value},ve.createElement("input",{className:z.input,disabled:l||fe.disabled,type:"radio",name:W,value:fe.value,id:`${W}-${fe.value}`,checked:R===fe.value,onChange:()=>!I&&Q(fe.value)}),ve.createElement("label",{className:z.label,"data-active":R===fe.value&&!(l||fe.disabled)||void 0,"data-disabled":l||fe.disabled||void 0,htmlFor:`${W}-${fe.value}`,ref:de=>{J.current[fe.value]=de}},fe.label))),re=_m(ee,e);return M.length===0?null:ve.createElement(Wn,lnt({className:X(z.root,a),ref:re},F),typeof R=="string"&&V&&ve.createElement(Wn,{component:"span",className:z.indicator,sx:{width:_.width,height:_.height,transform:`translate(${_.translate[0]}px, ${_.translate[1]}px)`}}),Z)});wY.displayName="@mantine/core/SegmentedControl";function fnt({data:t,searchable:e,limit:r,searchValue:n,filter:i,value:o,filterDataOnExactSearchMatch:s}){if(!e)return t;const a=o!=null&&t.find(c=>c.value===o)||null;if(a&&!s&&a?.label===n){if(r){if(r>=t.length)return t;const c=t.indexOf(a),u=c+r,f=u-t.length;return f>0?t.slice(c-f):t.slice(c,u)}return t}const l=[];for(let c=0;c<t.length&&(i(n,t[c])&&l.push(t[c]),!(l.length>=r));c+=1);return l}var dnt=Pn(()=>({input:{"&:not(:disabled)":{cursor:"pointer","&::selection":{backgroundColor:"transparent"}}}}));const pnt=dnt;var Ant=Object.defineProperty,hnt=Object.defineProperties,mnt=Object.getOwnPropertyDescriptors,Kk=Object.getOwnPropertySymbols,h4e=Object.prototype.hasOwnProperty,m4e=Object.prototype.propertyIsEnumerable,vae=(t,e,r)=>e in t?Ant(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,jb=(t,e)=>{for(var r in e||(e={}))h4e.call(e,r)&&vae(t,r,e[r]);if(Kk)for(var r of Kk(e))m4e.call(e,r)&&vae(t,r,e[r]);return t},_T=(t,e)=>hnt(t,mnt(e)),gnt=(t,e)=>{var r={};for(var n in t)h4e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Kk)for(var n of Kk(t))e.indexOf(n)<0&&m4e.call(t,n)&&(r[n]=t[n]);return r};function vnt(t,e){return e.label.toLowerCase().trim().includes(t.toLowerCase().trim())}function ynt(t,e){return!!t&&!e.some(r=>r.label.toLowerCase()===t.toLowerCase())}const Bnt={required:!1,size:"sm",shadow:"sm",itemComponent:tbe,transitionProps:{transition:"fade",duration:0},initiallyOpened:!1,filter:vnt,maxDropdownHeight:220,searchable:!1,clearable:!1,limit:1/0,disabled:!1,creatable:!1,shouldCreate:ynt,selectOnBlur:!1,switchDirectionOnFlip:!1,filterDataOnExactSearchMatch:!1,zIndex:iv("popover"),positionDependencies:[],dropdownPosition:"flip"},ra=E.forwardRef((t,e)=>{const r=awe("Select",Bnt,t),{inputProps:n,wrapperProps:i,shadow:o,data:s,value:a,defaultValue:l,onChange:c,itemComponent:u,onKeyDown:f,onBlur:d,onFocus:p,transitionProps:h,initiallyOpened:A,unstyled:g,classNames:m,styles:v,filter:y,maxDropdownHeight:b,searchable:B,clearable:S,nothingFound:w,limit:x,disabled:I,onSearchChange:F,searchValue:k,rightSection:O,rightSectionWidth:L,creatable:M,getCreateLabel:H,shouldCreate:V,selectOnBlur:j,onCreate:R,dropdownComponent:Q,onDropdownClose:z,onDropdownOpen:X,withinPortal:_,portalProps:G,switchDirectionOnFlip:W,zIndex:J,name:ee,dropdownPosition:q,allowDeselect:Z,placeholder:re,filterDataOnExactSearchMatch:fe,form:de,positionDependencies:ie,readOnly:le,clearButtonProps:De,hoverOnSearchChange:Ae}=r,ue=gnt(r,["inputProps","wrapperProps","shadow","data","value","defaultValue","onChange","itemComponent","onKeyDown","onBlur","onFocus","transitionProps","initiallyOpened","unstyled","classNames","styles","filter","maxDropdownHeight","searchable","clearable","nothingFound","limit","disabled","onSearchChange","searchValue","rightSection","rightSectionWidth","creatable","getCreateLabel","shouldCreate","selectOnBlur","onCreate","dropdownComponent","onDropdownClose","onDropdownOpen","withinPortal","portalProps","switchDirectionOnFlip","zIndex","name","dropdownPosition","allowDeselect","placeholder","filterDataOnExactSearchMatch","form","positionDependencies","readOnly","clearButtonProps","hoverOnSearchChange"]),{classes:Ne,cx:Te,theme:Re}=pnt(),[je,Ve]=E.useState(A),[ze,lt]=E.useState(-1),gt=E.useRef(),_t=E.useRef({}),[U,D]=E.useState("column"),N=U==="column",{scrollIntoView:Y,targetRef:pe,scrollableRef:be}=BHe({duration:0,offset:5,cancelable:!1,isList:!0}),_e=Z===void 0?S:Z,he=nt=>{if(je!==nt){Ve(nt);const Ft=nt?X:z;typeof Ft=="function"&&Ft()}},Ee=M&&typeof H=="function";let ot=null;const At=s.map(nt=>typeof nt=="string"?{label:nt,value:nt}:nt),Ct=TQe({data:At}),[pt,Bn,jr]=_f({value:a,defaultValue:l,finalValue:null,onChange:c}),yr=Ct.find(nt=>nt.value===pt),[Sr,Jt]=_f({value:k,defaultValue:yr?.label||"",finalValue:void 0,onChange:F}),Dt=nt=>{Jt(nt),B&&typeof F=="function"&&F(nt)},ir=()=>{var nt;le||(Bn(null),jr||Dt(""),(nt=gt.current)==null||nt.focus())};E.useEffect(()=>{const nt=Ct.find(Ft=>Ft.value===pt);nt?Dt(nt.label):(!Ee||!pt)&&Dt("")},[pt]),E.useEffect(()=>{yr&&(!B||!je)&&Dt(yr.label)},[yr?.label]);const xn=nt=>{if(!le)if(_e&&yr?.value===nt.value)Bn(null),he(!1);else{if(nt.creatable&&typeof R=="function"){const Ft=R(nt.value);typeof Ft<"u"&&Ft!==null&&Bn(typeof Ft=="string"?Ft:Ft.value)}else Bn(nt.value);jr||Dt(nt.label),lt(-1),he(!1),gt.current.focus()}},Ar=fnt({data:Ct,searchable:B,limit:x,searchValue:Sr,filter:y,filterDataOnExactSearchMatch:fe,value:pt});Ee&&V(Sr,Ar)&&(ot=H(Sr),Ar.push({label:Sr,value:Sr,creatable:!0}));const Yr=(nt,Ft,mt)=>{let dt=nt;for(;mt(dt);)if(dt=Ft(dt),!Ar[dt].disabled)return dt;return nt};yl(()=>{lt(Ae&&Sr?0:-1)},[Sr,Ae]);const se=pt?Ar.findIndex(nt=>nt.value===pt):0,ae=!le&&(Ar.length>0?je:je&&!!w),Ce=()=>{lt(nt=>{var Ft;const mt=Yr(nt,dt=>dt-1,dt=>dt>0);return pe.current=_t.current[(Ft=Ar[mt])==null?void 0:Ft.value],ae&&Y({alignment:N?"start":"end"}),mt})},Oe=()=>{lt(nt=>{var Ft;const mt=Yr(nt,dt=>dt+1,dt=>dt<Ar.length-1);return pe.current=_t.current[(Ft=Ar[mt])==null?void 0:Ft.value],ae&&Y({alignment:N?"end":"start"}),mt})},Ie=()=>window.setTimeout(()=>{var nt;pe.current=_t.current[(nt=Ar[se])==null?void 0:nt.value],Y({alignment:N?"end":"start"})},50);yl(()=>{ae&&Ie()},[ae]);const Le=nt=>{switch(typeof f=="function"&&f(nt),nt.key){case"ArrowUp":{nt.preventDefault(),je?N?Ce():Oe():(lt(se),he(!0),Ie());break}case"ArrowDown":{nt.preventDefault(),je?N?Oe():Ce():(lt(se),he(!0),Ie());break}case"Home":{if(!B){nt.preventDefault(),je||he(!0);const Ft=Ar.findIndex(mt=>!mt.disabled);lt(Ft),ae&&Y({alignment:N?"end":"start"})}break}case"End":{if(!B){nt.preventDefault(),je||he(!0);const Ft=Ar.map(mt=>!!mt.disabled).lastIndexOf(!1);lt(Ft),ae&&Y({alignment:N?"end":"start"})}break}case"Escape":{nt.preventDefault(),he(!1),lt(-1);break}case" ":{B||(nt.preventDefault(),Ar[ze]&&je?xn(Ar[ze]):(he(!0),lt(se),Ie()));break}case"Enter":B||nt.preventDefault(),Ar[ze]&&je&&(nt.preventDefault(),xn(Ar[ze]))}},Qe=nt=>{typeof d=="function"&&d(nt);const Ft=Ct.find(mt=>mt.value===pt);j&&Ar[ze]&&je&&xn(Ar[ze]),Dt(Ft?.label||""),he(!1)},Ge=nt=>{typeof p=="function"&&p(nt),B&&he(!0)},ft=nt=>{le||(Dt(nt.currentTarget.value),S&&nt.currentTarget.value===""&&Bn(null),lt(-1),he(!0))},yt=()=>{le||(he(!je),pt&&!je&<(se))};return ve.createElement(eh.Wrapper,_T(jb({},i),{__staticSelector:"Select"}),ve.createElement(f5,{opened:ae,transitionProps:h,shadow:o,withinPortal:_,portalProps:G,__staticSelector:"Select",onDirectionChange:D,switchDirectionOnFlip:W,zIndex:J,dropdownPosition:q,positionDependencies:[...ie,Sr],classNames:m,styles:v,unstyled:g,variant:n.variant},ve.createElement(f5.Target,null,ve.createElement("div",{role:"combobox","aria-haspopup":"listbox","aria-owns":ae?`${n.id}-items`:null,"aria-controls":n.id,"aria-expanded":ae,onMouseLeave:()=>lt(-1),tabIndex:-1},ve.createElement("input",{type:"hidden",name:ee,value:pt||"",form:de,disabled:I}),ve.createElement(eh,jb(_T(jb(jb({autoComplete:"off",type:"search"},n),ue),{ref:_m(e,gt),onKeyDown:Le,__staticSelector:"Select",value:Sr,placeholder:re,onChange:ft,"aria-autocomplete":"list","aria-controls":ae?`${n.id}-items`:null,"aria-activedescendant":ze>=0?`${n.id}-${ze}`:null,onMouseDown:yt,onBlur:Qe,onFocus:Ge,readOnly:!B||le,disabled:I,"data-mantine-stop-propagation":ae,name:null,classNames:_T(jb({},m),{input:Te({[Ne.input]:!B},m?.input)})}),Prt({theme:Re,rightSection:O,rightSectionWidth:L,styles:v,size:n.size,shouldClear:S&&!!yr,onClear:ir,error:i.error,clearButtonProps:De,disabled:I,readOnly:le}))))),ve.createElement(f5.Dropdown,{component:Q||ZX,maxHeight:b,direction:U,id:n.id,innerRef:be,__staticSelector:"Select",classNames:m,styles:v},ve.createElement(JCe,{data:Ar,hovered:ze,classNames:m,styles:v,isItemSelected:nt=>nt===pt,uuid:n.id,__staticSelector:"Select",onItemHover:lt,onItemSelect:xn,itemsRefs:_t,itemComponent:u,size:n.size,nothingFound:w,creatable:Ee&&!!ot,createLabel:ot,"aria-label":i.label,unstyled:g,variant:n.variant}))))});ra.displayName="@mantine/core/Select";const g4e=E.createContext(null),Cnt=g4e.Provider,bnt=()=>E.useContext(g4e);var wnt=Object.defineProperty,qk=Object.getOwnPropertySymbols,v4e=Object.prototype.hasOwnProperty,y4e=Object.prototype.propertyIsEnumerable,yae=(t,e,r)=>e in t?wnt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Bae=(t,e)=>{for(var r in e||(e={}))v4e.call(e,r)&&yae(t,r,e[r]);if(qk)for(var r of qk(e))y4e.call(e,r)&&yae(t,r,e[r]);return t},xnt=(t,e)=>{var r={};for(var n in t)v4e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&qk)for(var n of qk(t))e.indexOf(n)<0&&y4e.call(t,n)&&(r[n]=t[n]);return r};const Snt={size:"sm"},B4e=E.forwardRef((t,e)=>{const r=Xr("SwitchGroup",Snt,t),{children:n,value:i,defaultValue:o,onChange:s,size:a,wrapperProps:l}=r,c=xnt(r,["children","value","defaultValue","onChange","size","wrapperProps"]),[u,f]=_f({value:i,defaultValue:o,finalValue:[],onChange:s}),d=p=>{const h=p.currentTarget.value;f(u.includes(h)?u.filter(A=>A!==h):[...u,h])};return ve.createElement(Cnt,{value:{value:u,onChange:d,size:a}},ve.createElement(eh.Wrapper,Bae(Bae({labelElement:"div",size:a,__staticSelector:"SwitchGroup",ref:e},l),c),n))});B4e.displayName="@mantine/core/SwitchGroup";var Ent=Object.defineProperty,Dnt=Object.defineProperties,knt=Object.getOwnPropertyDescriptors,Cae=Object.getOwnPropertySymbols,Ont=Object.prototype.hasOwnProperty,Pnt=Object.prototype.propertyIsEnumerable,bae=(t,e,r)=>e in t?Ent(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Int=(t,e)=>{for(var r in e||(e={}))Ont.call(e,r)&&bae(t,r,e[r]);if(Cae)for(var r of Cae(e))Pnt.call(e,r)&&bae(t,r,e[r]);return t},Nnt=(t,e)=>Dnt(t,knt(e));const Fnt={xs:$e(16),sm:$e(20),md:$e(24),lg:$e(30),xl:$e(36)},Tnt={xs:$e(32),sm:$e(38),md:$e(46),lg:$e(56),xl:$e(72)},Lnt={xs:$e(12),sm:$e(14),md:$e(18),lg:$e(22),xl:$e(28)},Rnt={xs:$e(5),sm:$e(6),md:$e(7),lg:$e(9),xl:$e(11)},Mnt={xs:$e(4),sm:$e(5),md:$e(6),lg:$e(8),xl:$e(10)};var _nt=Pn((t,{radius:e,color:r,labelPosition:n,error:i},{size:o})=>{const s=Yt({size:o,sizes:Lnt}),a=Yt({size:e,sizes:t.radius}),l=t.fn.variant({variant:"filled",color:r}),c=Yt({size:o,sizes:Tnt}),u=$e(o==="xs"?1:2),f=t.fn.variant({variant:"filled",color:"red"}).background;return{root:{position:"relative"},input:{height:0,width:0,overflow:"hidden",whiteSpace:"nowrap",padding:0,WebkitClipPath:"inset(50%)",clipPath:"inset(50%)",position:"absolute"},track:Nnt(Int({},t.fn.focusStyles("input:focus + &")),{cursor:t.cursorType,overflow:"hidden",WebkitTapHighlightColor:"transparent",position:"relative",borderRadius:a,backgroundColor:t.colorScheme==="dark"?t.colors.dark[6]:t.colors.gray[2],border:`${$e(1)} solid ${i?f:t.colorScheme==="dark"?t.colors.dark[4]:t.colors.gray[3]}`,height:Yt({size:o,sizes:Fnt}),minWidth:c,margin:0,transitionProperty:"background-color, border-color",transitionTimingFunction:t.transitionTimingFunction,transitionDuration:"150ms",boxSizing:"border-box",appearance:"none",display:"flex",alignItems:"center",fontSize:Yt({size:o,sizes:Rnt}),fontWeight:600,order:n==="left"?2:1,userSelect:"none",zIndex:0,lineHeight:0,color:t.colorScheme==="dark"?t.colors.dark[1]:t.colors.gray[6],transition:`color 150ms ${t.transitionTimingFunction}`,"input:checked + &":{backgroundColor:l.background,borderColor:l.background,color:t.white,transition:`color 150ms ${t.transitionTimingFunction}`},"input:disabled + &":{backgroundColor:t.colorScheme==="dark"?t.colors.dark[4]:t.colors.gray[2],borderColor:t.colorScheme==="dark"?t.colors.dark[4]:t.colors.gray[2],cursor:"not-allowed",pointerEvents:"none"}}),thumb:{position:"absolute",zIndex:1,borderRadius:a,boxSizing:"border-box",display:"flex",backgroundColor:t.white,height:s,width:s,border:`${$e(1)} solid ${t.colorScheme==="dark"?t.white:t.colors.gray[3]}`,left:u,transition:`left 150ms ${t.transitionTimingFunction}`,"& > *":{margin:"auto"},"@media (prefers-reduced-motion)":{transitionDuration:t.respectReducedMotion?"0ms":""},"input:checked + * > &":{left:`calc(100% - ${s} - ${u})`,borderColor:t.white},"input:disabled + * > &":{borderColor:t.colorScheme==="dark"?t.colors.dark[4]:t.colors.gray[2],backgroundColor:t.colorScheme==="dark"?t.colors.dark[3]:t.colors.gray[0]}},trackLabel:{height:"100%",display:"grid",placeContent:"center",minWidth:`calc(${c} - ${s})`,paddingInline:Yt({size:o,sizes:Mnt}),marginLeft:`calc(${s} + ${u})`,transition:`margin 150ms ${t.transitionTimingFunction}`,"input:checked + * > &":{marginLeft:0,marginRight:`calc(${s} + ${u})`}}}});const jnt=_nt;var Unt=Object.defineProperty,Qnt=Object.defineProperties,Vnt=Object.getOwnPropertyDescriptors,Xk=Object.getOwnPropertySymbols,C4e=Object.prototype.hasOwnProperty,b4e=Object.prototype.propertyIsEnumerable,wae=(t,e,r)=>e in t?Unt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,jT=(t,e)=>{for(var r in e||(e={}))C4e.call(e,r)&&wae(t,r,e[r]);if(Xk)for(var r of Xk(e))b4e.call(e,r)&&wae(t,r,e[r]);return t},$nt=(t,e)=>Qnt(t,Vnt(e)),Hnt=(t,e)=>{var r={};for(var n in t)C4e.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Xk)for(var n of Xk(t))e.indexOf(n)<0&&b4e.call(t,n)&&(r[n]=t[n]);return r};const Gnt={offLabel:"",onLabel:"",size:"sm",radius:"xl",error:!1},Ln=E.forwardRef((t,e)=>{var r;const n=Xr("Switch",Gnt,t),{className:i,color:o,label:s,offLabel:a,onLabel:l,id:c,style:u,size:f,radius:d,wrapperProps:p,children:h,unstyled:A,styles:g,classNames:m,thumbIcon:v,sx:y,checked:b,defaultChecked:B,onChange:S,labelPosition:w,description:x,error:I,disabled:F,variant:k}=n,O=Hnt(n,["className","color","label","offLabel","onLabel","id","style","size","radius","wrapperProps","children","unstyled","styles","classNames","thumbIcon","sx","checked","defaultChecked","onChange","labelPosition","description","error","disabled","variant"]),L=bnt(),M=L?.size||f,{classes:H,cx:V}=jnt({color:o,radius:d,labelPosition:w,error:!!I},{name:"Switch",classNames:m,styles:g,unstyled:A,size:M,variant:k}),{systemStyles:j,rest:R}=cC(O),Q=ov(c),z=L?{checked:L.value.includes(R.value),onChange:L.onChange}:{},[X,_]=_f({value:(r=z.checked)!=null?r:b,defaultValue:B,finalValue:!1});return ve.createElement(Fwe,jT(jT({className:V(i,H.root),sx:y,style:u,id:Q,size:L?.size||f,labelPosition:w,label:s,description:x,error:I,disabled:F,bodyElement:"label",labelElement:"span",__staticSelector:"Switch",classNames:m,styles:g,unstyled:A,"data-checked":z.checked||void 0,variant:k},j),p),ve.createElement("input",$nt(jT({},R),{disabled:F,checked:X,onChange:G=>{L?z.onChange(G):S?.(G),_(G.currentTarget.checked)},id:Q,ref:e,type:"checkbox",role:"switch",className:H.input})),ve.createElement("div",{className:H.track,"aria-hidden":!0},ve.createElement("div",{className:H.thumb},v),ve.createElement("div",{className:H.trackLabel},X?l:a)))});Ln.displayName="@mantine/core/Switch";Ln.Group=B4e;function Wnt(t,{insertAt:e}={}){if(!t||typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",e==="top"&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}Wnt(`[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 6px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}[data-sonner-toaster][data-x-position=right]{right:max(var(--offset),env(safe-area-inset-right))}[data-sonner-toaster][data-x-position=left]{left:max(var(--offset),env(safe-area-inset-left))}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translate(-50%)}[data-sonner-toaster][data-y-position=top]{top:max(var(--offset),env(safe-area-inset-top))}[data-sonner-toaster][data-y-position=bottom]{bottom:max(var(--offset),env(safe-area-inset-bottom))}[data-sonner-toast]{--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;will-change:transform,opacity,height;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}[data-sonner-toast][data-y-position=top]{top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}[data-sonner-toast] [data-description]{font-weight:400;line-height:1.4;color:inherit}[data-sonner-toast] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:-3px;margin-right:4px}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast] [data-icon]>*{flex-shrink:0}[data-sonner-toast] [data-icon] svg{margin-left:-1px}[data-sonner-toast] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:auto;border:none;cursor:pointer;outline:none;transition:opacity .4s,box-shadow .2s}[data-sonner-toast] [data-button]:focus-visible{box-shadow:0 0 0 2px #0006}[data-sonner-toast] [data-button]:first-of-type{margin-left:auto}[data-sonner-toast] [data-cancel]{color:var(--color);background:var(--border-color)}[data-sonner-toast] [data-close-button]{position:absolute;left:0;top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:translate(-35%,-35%);border-radius:50%;opacity:0;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast]:hover [data-close-button]{opacity:1}[data-sonner-toast]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]:before{content:"";position:absolute;left:0;right:0;height:100%}[data-sonner-toast][data-y-position=top][data-swiping=true]:before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]:before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]:before{content:"";position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast]:after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y: translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y: translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]:before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toast]{left:0;right:0;width:calc(100% - 32px)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true] [data-sonner-toast][data-type=success],[data-rich-colors=true] [data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true] [data-sonner-toast][data-type=error],[data-rich-colors=true] [data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}} `);var znt=t=>{switch(t){case"success":return Xnt;case"error":return Ynt}},Knt=Array(12).fill(0),qnt=({visible:t})=>ve.createElement("div",{className:"sonner-loading-wrapper","data-visible":t},ve.createElement("div",{className:"sonner-spinner"},Knt.map((e,r)=>ve.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),Xnt=ve.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ve.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),Ynt=ve.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ve.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),_y=0,Jnt=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let r=this.subscribers.indexOf(e);this.subscribers.splice(r,1)}),this.publish=e=>{this.subscribers.forEach(r=>r(e)),this.toasts=[...this.toasts,e]},this.dismiss=e=>(e||this.toasts.forEach(r=>{this.subscribers.forEach(n=>n({id:r.id,dismiss:!0}))}),this.subscribers.forEach(r=>r({id:e,dismiss:!0})),e),this.message=(e,r)=>{let n=r?.id||_y++;return this.publish({...r,id:n,title:e}),n},this.error=(e,r)=>{let n=r?.id||_y++;return this.publish({...r,id:n,type:"error",title:e}),n},this.success=(e,r)=>{let n=r?.id||_y++;return this.publish({...r,id:n,type:"success",title:e}),n},this.promise=(e,r)=>{let n=r?.id||_y++;return this.publish({...r,promise:e,id:n}),n},this.custom=(e,r)=>{let n=r?.id||_y++;this.publish({jsx:e(n),id:n,...r})},this.subscribers=[],this.toasts=[]}},u0=new Jnt,Znt=(t,e)=>{let r=e?.id||_y++;return u0.publish({title:t,...e,id:r}),r},eit=Znt,wr=Object.assign(eit,{success:u0.success,error:u0.error,custom:u0.custom,message:u0.message,promise:u0.promise,dismiss:u0.dismiss}),tit=3,rit="32px",nit=4e3,iit=356,w4e=14,oit=20,sit=200,xae=t=>!!t.promise,ait=t=>{var e;let{invert:r,toast:n,interacting:i,setHeights:o,visibleToasts:s,heights:a,index:l,toasts:c,expanded:u,removeToast:f,closeButton:d,style:p,className:h="",descriptionClassName:A="",duration:g,position:m,expandByDefault:v}=t,[y,b]=ve.useState(!1),[B,S]=ve.useState(!1),[w,x]=ve.useState(!1),[I,F]=ve.useState(!1),[k,O]=ve.useState(null),[L,M]=ve.useState(0),[H,V]=ve.useState(0),[j,R]=ve.useState(null),Q=ve.useRef(null),z=l===0,X=l+1<=s,_=n.type,G=n.className||"",W=n.descriptionClassName||"",J=ve.useMemo(()=>a.findIndex(Re=>Re.toastId===n.id)||0,[a,n.id]),ee=ve.useMemo(()=>n.duration||g||nit,[n.duration,g]),q=ve.useRef(0),Z=ve.useRef(0),re=ve.useRef(ee),fe=ve.useRef(0),de=ve.useRef(null),[ie,le]=m.split("-"),De=ve.useMemo(()=>a.reduce((Re,je,Ve)=>Ve>=J?Re:Re+je.height,0),[a,J]),Ae=n.invert||r,ue=k==="loading";Z.current=ve.useMemo(()=>J*w4e+De,[J,De]),ve.useEffect(()=>{b(!0)},[]),ve.useEffect(()=>{if(xae(n)){O("loading");let Re=je=>{je.then(Ve=>{n.success&&typeof n.success=="function"&&R(n.success(Ve)),O("success")}).catch(Ve=>{O("error"),n.error&&typeof n.error=="function"&&R(n.error(Ve))})};n.promise instanceof Promise?Re(n.promise):typeof n.promise=="function"&&Re(n.promise())}},[n]);let Ne=ve.useCallback(()=>{S(!0),M(Z.current),o(Re=>Re.filter(je=>je.toastId!==n.id)),setTimeout(()=>{f(n)},sit)},[n,f,o,Z]);ve.useEffect(()=>{if(n.promise&&k==="loading"||n.duration===1/0)return;let Re;return u||i?(()=>{if(fe.current<q.current){let je=new Date().getTime()-q.current;re.current=re.current-je}fe.current=new Date().getTime()})():(q.current=new Date().getTime(),Re=setTimeout(()=>{var je;(je=n.onAutoClose)==null||je.call(n,n),Ne()},re.current)),()=>clearTimeout(Re)},[u,i,v,n,ee,Ne,n.promise,k]),ve.useEffect(()=>{let Re=Q.current;if(Re){let je=Re.getBoundingClientRect().height;return V(je),o(Ve=>[{toastId:n.id,height:je},...Ve]),()=>o(Ve=>Ve.filter(ze=>ze.toastId!==n.id))}},[o,n.id]),ve.useEffect(()=>{n.delete&&Ne()},[n.delete]);let Te=ve.useMemo(()=>{if(!xae(n))return null;switch(k){case"loading":return n.loading;case"success":return typeof n.success=="function"?j:n.success;case"error":return typeof n.error=="function"?j:n.error;default:return null}},[k,j]);return ve.createElement("li",{"aria-live":n.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:Q,className:h+" "+G,"data-sonner-toast":"","data-styled":!n.jsx,"data-mounted":y,"data-promise":!!n.promise,"data-removed":B,"data-visible":X,"data-y-position":ie,"data-x-position":le,"data-index":l,"data-front":z,"data-swiping":w,"data-type":k!=="loading"&&k?k:_,"data-invert":Ae,"data-swipe-out":I,"data-expanded":!!(u||v&&y),style:{"--index":l,"--toasts-before":l,"--z-index":c.length-l,"--offset":`${B?L:Z.current}px`,"--initial-height":v?"auto":`${H}px`,...p,...n.style},onPointerDown:Re=>{ue||(M(Z.current),Re.target.setPointerCapture(Re.pointerId),Re.target.tagName!=="BUTTON"&&(x(!0),de.current=Re.clientY))},onPointerUp:()=>{var Re,je,Ve;if(I)return;let ze=Number(((Re=Q.current)==null?void 0:Re.style.getPropertyValue("--swipe-amount").replace("px",""))||0);if(Math.abs(ze)>=oit){M(Z.current),(je=n.onDismiss)==null||je.call(n,n),Ne(),F(!0);return}(Ve=Q.current)==null||Ve.style.setProperty("--swipe-amount","0px"),de.current=null,x(!1)},onPointerMove:Re=>{var je,Ve;if(!de.current)return;let ze=Re.clientY-de.current;if(!(ie==="top"?ze<0:ze>0)){(je=Q.current)==null||je.style.setProperty("--swipe-amount","0px");return}(Ve=Q.current)==null||Ve.style.setProperty("--swipe-amount",`${ze}px`)}},d&&!n.jsx?ve.createElement("button",{"aria-label":"Close toast","data-disabled":ue,"data-close-button":!0,onClick:ue?void 0:()=>{var Re;Ne(),(Re=n.onDismiss)==null||Re.call(n,n)}},ve.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},ve.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),ve.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,n.jsx||ve.isValidElement(n.title)?n.jsx||n.title:ve.createElement(ve.Fragment,null,_||n.icon||n.promise?ve.createElement("div",{"data-icon":""},n.promise?ve.createElement(qnt,{visible:k==="loading"}):null,n.icon||znt(k??n.type)):null,ve.createElement("div",{"data-content":""},ve.createElement("div",{"data-title":""},ve.createElement(ve.Fragment,null,(e=n.title)!=null?e:Te)),n.description?ve.createElement("div",{"data-description":"",className:A+W},n.description):null),n.cancel?ve.createElement("button",{"data-button":!0,"data-cancel":!0,onClick:()=>{var Re;Ne(),(Re=n.cancel)!=null&&Re.onClick&&n.cancel.onClick()}},n.cancel.label):null,n.action?ve.createElement("button",{"data-button":"",onClick:()=>{var Re;Ne(),(Re=n.action)==null||Re.onClick()}},n.action.label):null))},lit=t=>{var e;let{invert:r,position:n="bottom-right",hotkey:i=["altKey","KeyT"],expand:o,closeButton:s,className:a,offset:l,theme:c="light",richColors:u,duration:f,style:d,visibleToasts:p=tit,toastOptions:h}=t,[A,g]=ve.useState([]),[m,v]=ve.useState([]),[y,b]=ve.useState(!1),[B,S]=ve.useState(!1),[w,x]=n.split("-"),I=ve.useRef(null),F=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),k=ve.useCallback(O=>g(L=>L.filter(({id:M})=>M!==O.id)),[]);return ve.useEffect(()=>u0.subscribe(O=>{if(O.dismiss){g(L=>L.map(M=>M.id===O.id?{...M,delete:!0}:M));return}setTimeout(()=>{$Ue.flushSync(()=>{g(L=>[O,...L])})})}),[]),ve.useEffect(()=>{A.length<=1&&b(!1)},[A]),ve.useEffect(()=>{let O=L=>{var M,H;i.every(V=>L[V]||L.code===V)&&(b(!0),(M=I.current)==null||M.focus()),L.code==="Escape"&&(document.activeElement===I.current||(H=I.current)!=null&&H.contains(document.activeElement))&&b(!1)};return document.addEventListener("keydown",O),()=>document.removeEventListener("keydown",O)},[i]),A.length?ve.createElement("section",{"aria-label":`Notifications ${F}`,tabIndex:-1},ve.createElement("ol",{tabIndex:-1,ref:I,className:a,"data-sonner-toaster":!0,"data-theme":c,"data-rich-colors":u,"data-y-position":w,"data-x-position":x,style:{"--front-toast-height":`${(e=m[0])==null?void 0:e.height}px`,"--offset":typeof l=="number"?`${l}px`:l||rit,"--width":`${iit}px`,"--gap":`${w4e}px`,...d},onMouseEnter:()=>b(!0),onMouseMove:()=>b(!0),onMouseLeave:()=>{B||b(!1)},onPointerDown:()=>{S(!0)},onPointerUp:()=>S(!1)},A.map((O,L)=>ve.createElement(ait,{key:O.id,index:L,toast:O,duration:f,className:h?.className,descriptionClassName:h?.descriptionClassName,invert:r,visibleToasts:p,closeButton:s,interacting:B,position:n,style:h?.style,removeToast:k,toasts:A,heights:m,setHeights:v,expandByDefault:o,expanded:y})))):null};const td=({size:t="medium"})=>C.jsx("div",{role:"presentation",className:`loader-spinner ${t}`});function bc(){return C.jsx("div",{className:"loader",children:C.jsx(td,{size:"medium"})})}function x4e(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(r=x4e(t[e]))&&(n&&(n+=" "),n+=r);else for(e in t)t[e]&&(n&&(n+=" "),n+=e);return n}function zr(){for(var t,e,r=0,n="";r<arguments.length;)(t=arguments[r++])&&(e=x4e(t))&&(n&&(n+=" "),n+=e);return n}function uo(t,...e){const r=new URLSearchParams(window?.location?.search??{}).get("dev_mode")!==null;(window?.secret_dev_mode||r)&&console.info(`👀 %c${t}`,"color: #22f0d2",...e)}const cit=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,Sae=t=>{if(typeof t!="string")throw new TypeError("Invalid argument expected string");const e=t.match(cit);if(!e)throw new Error(`Invalid argument not valid semver ('${t}' received)`);return e.shift(),e},Eae=t=>t==="*"||t==="x"||t==="X",Dae=t=>{const e=parseInt(t,10);return isNaN(e)?t:e},uit=(t,e)=>typeof t!=typeof e?[String(t),String(e)]:[t,e],fit=(t,e)=>{if(Eae(t)||Eae(e))return 0;const[r,n]=uit(Dae(t),Dae(e));return r>n?1:r<n?-1:0},kae=(t,e)=>{for(let r=0;r<Math.max(t.length,e.length);r++){const n=fit(t[r]||"0",e[r]||"0");if(n!==0)return n}return 0},dit=(t,e)=>{const r=Sae(t),n=Sae(e),i=r.pop(),o=n.pop(),s=kae(r,n);return s!==0?s:i&&o?kae(i.split("."),o.split(".")):i||o?i?-1:1:0},S4e=(t,e,r)=>{pit(r);const n=dit(t,e);return E4e[r].includes(n)},E4e={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},Oae=Object.keys(E4e),pit=t=>{if(typeof t!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof t}`);if(Oae.indexOf(t)===-1)throw new Error(`Invalid operator, expected one of ${Oae.join("|")}`)};var Ait={grad:.9,turn:360,rad:360/(2*Math.PI)},eA=function(t){return typeof t=="string"?t.length>0:typeof t=="number"},zs=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=Math.pow(10,e)),Math.round(r*t)/r+0},Eu=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t>e?t:e},D4e=function(t){return(t=isFinite(t)?t%360:0)>0?t:t+360},Pae=function(t){return{r:Eu(t.r,0,255),g:Eu(t.g,0,255),b:Eu(t.b,0,255),a:Eu(t.a)}},UT=function(t){return{r:zs(t.r),g:zs(t.g),b:zs(t.b),a:zs(t.a,3)}},hit=/^#([0-9a-f]{3,8})$/i,u6=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},k4e=function(t){var e=t.r,r=t.g,n=t.b,i=t.a,o=Math.max(e,r,n),s=o-Math.min(e,r,n),a=s?o===e?(r-n)/s:o===r?2+(n-e)/s:4+(e-r)/s:0;return{h:60*(a<0?a+6:a),s:o?s/o*100:0,v:o/255*100,a:i}},O4e=function(t){var e=t.h,r=t.s,n=t.v,i=t.a;e=e/360*6,r/=100,n/=100;var o=Math.floor(e),s=n*(1-r),a=n*(1-(e-o)*r),l=n*(1-(1-e+o)*r),c=o%6;return{r:255*[n,a,s,s,l,n][c],g:255*[l,n,n,a,s,s][c],b:255*[s,s,l,n,n,a][c],a:i}},Iae=function(t){return{h:D4e(t.h),s:Eu(t.s,0,100),l:Eu(t.l,0,100),a:Eu(t.a)}},Nae=function(t){return{h:zs(t.h),s:zs(t.s),l:zs(t.l),a:zs(t.a,3)}},Fae=function(t){return O4e((r=(e=t).s,{h:e.h,s:(r*=((n=e.l)<50?n:100-n)/100)>0?2*r/(n+r)*100:0,v:n+r,a:e.a}));var e,r,n},d5=function(t){return{h:(e=k4e(t)).h,s:(i=(200-(r=e.s))*(n=e.v)/100)>0&&i<200?r*n/100/(i<=100?i:200-i)*100:0,l:i/2,a:e.a};var e,r,n,i},mit=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,git=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,vit=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,yit=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,EV={string:[[function(t){var e=hit.exec(t);return e?(t=e[1]).length<=4?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:t.length===4?zs(parseInt(t[3]+t[3],16)/255,2):1}:t.length===6||t.length===8?{r:parseInt(t.substr(0,2),16),g:parseInt(t.substr(2,2),16),b:parseInt(t.substr(4,2),16),a:t.length===8?zs(parseInt(t.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(t){var e=vit.exec(t)||yit.exec(t);return e?e[2]!==e[4]||e[4]!==e[6]?null:Pae({r:Number(e[1])/(e[2]?100/255:1),g:Number(e[3])/(e[4]?100/255:1),b:Number(e[5])/(e[6]?100/255:1),a:e[7]===void 0?1:Number(e[7])/(e[8]?100:1)}):null},"rgb"],[function(t){var e=mit.exec(t)||git.exec(t);if(!e)return null;var r,n,i=Iae({h:(r=e[1],n=e[2],n===void 0&&(n="deg"),Number(r)*(Ait[n]||1)),s:Number(e[3]),l:Number(e[4]),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return Fae(i)},"hsl"]],object:[[function(t){var e=t.r,r=t.g,n=t.b,i=t.a,o=i===void 0?1:i;return eA(e)&&eA(r)&&eA(n)?Pae({r:Number(e),g:Number(r),b:Number(n),a:Number(o)}):null},"rgb"],[function(t){var e=t.h,r=t.s,n=t.l,i=t.a,o=i===void 0?1:i;if(!eA(e)||!eA(r)||!eA(n))return null;var s=Iae({h:Number(e),s:Number(r),l:Number(n),a:Number(o)});return Fae(s)},"hsl"],[function(t){var e=t.h,r=t.s,n=t.v,i=t.a,o=i===void 0?1:i;if(!eA(e)||!eA(r)||!eA(n))return null;var s=function(a){return{h:D4e(a.h),s:Eu(a.s,0,100),v:Eu(a.v,0,100),a:Eu(a.a)}}({h:Number(e),s:Number(r),v:Number(n),a:Number(o)});return O4e(s)},"hsv"]]},Tae=function(t,e){for(var r=0;r<e.length;r++){var n=e[r][0](t);if(n)return[n,e[r][1]]}return[null,void 0]},P4e=function(t){return typeof t=="string"?Tae(t.trim(),EV.string):typeof t=="object"&&t!==null?Tae(t,EV.object):[null,void 0]},I4e=function(t){return P4e(t)[1]},QT=function(t,e){var r=d5(t);return{h:r.h,s:Eu(r.s+100*e,0,100),l:r.l,a:r.a}},VT=function(t){return(299*t.r+587*t.g+114*t.b)/1e3/255},Lae=function(t,e){var r=d5(t);return{h:r.h,s:r.s,l:Eu(r.l+100*e,0,100),a:r.a}},Yk=function(){function t(e){this.parsed=P4e(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return t.prototype.isValid=function(){return this.parsed!==null},t.prototype.brightness=function(){return zs(VT(this.rgba),2)},t.prototype.isDark=function(){return VT(this.rgba)<.5},t.prototype.isLight=function(){return VT(this.rgba)>=.5},t.prototype.toHex=function(){return e=UT(this.rgba),r=e.r,n=e.g,i=e.b,s=(o=e.a)<1?u6(zs(255*o)):"","#"+u6(r)+u6(n)+u6(i)+s;var e,r,n,i,o,s},t.prototype.toRgb=function(){return UT(this.rgba)},t.prototype.toRgbString=function(){return e=UT(this.rgba),r=e.r,n=e.g,i=e.b,(o=e.a)<1?"rgba("+r+", "+n+", "+i+", "+o+")":"rgb("+r+", "+n+", "+i+")";var e,r,n,i,o},t.prototype.toHsl=function(){return Nae(d5(this.rgba))},t.prototype.toHslString=function(){return e=Nae(d5(this.rgba)),r=e.h,n=e.s,i=e.l,(o=e.a)<1?"hsla("+r+", "+n+"%, "+i+"%, "+o+")":"hsl("+r+", "+n+"%, "+i+"%)";var e,r,n,i,o},t.prototype.toHsv=function(){return e=k4e(this.rgba),{h:zs(e.h),s:zs(e.s),v:zs(e.v),a:zs(e.a,3)};var e},t.prototype.invert=function(){return Si({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},t.prototype.saturate=function(e){return e===void 0&&(e=.1),Si(QT(this.rgba,e))},t.prototype.desaturate=function(e){return e===void 0&&(e=.1),Si(QT(this.rgba,-e))},t.prototype.grayscale=function(){return Si(QT(this.rgba,-1))},t.prototype.lighten=function(e){return e===void 0&&(e=.1),Si(Lae(this.rgba,e))},t.prototype.darken=function(e){return e===void 0&&(e=.1),Si(Lae(this.rgba,-e))},t.prototype.rotate=function(e){return e===void 0&&(e=15),this.hue(this.hue()+e)},t.prototype.alpha=function(e){return typeof e=="number"?Si({r:(r=this.rgba).r,g:r.g,b:r.b,a:e}):zs(this.rgba.a,3);var r},t.prototype.hue=function(e){var r=d5(this.rgba);return typeof e=="number"?Si({h:e,s:r.s,l:r.l,a:r.a}):zs(r.h)},t.prototype.isEqual=function(e){return this.toHex()===Si(e).toHex()},t}(),Si=function(t){return t instanceof Yk?t:new Yk(t)},Rae=[],N4e=function(t){t.forEach(function(e){Rae.indexOf(e)<0&&(e(Yk,EV),Rae.push(e))})},F4e=function(){return new Yk({r:255*Math.random(),g:255*Math.random(),b:255*Math.random()})},xY={exports:{}};xY.exports;(function(t){var e=function(){var r=String.fromCharCode,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",o={};function s(l,c){if(!o[l]){o[l]={};for(var u=0;u<l.length;u++)o[l][l.charAt(u)]=u}return o[l][c]}var a={compressToBase64:function(l){if(l==null)return"";var c=a._compress(l,6,function(u){return n.charAt(u)});switch(c.length%4){default:case 0:return c;case 1:return c+"===";case 2:return c+"==";case 3:return c+"="}},decompressFromBase64:function(l){return l==null?"":l==""?null:a._decompress(l.length,32,function(c){return s(n,l.charAt(c))})},compressToUTF16:function(l){return l==null?"":a._compress(l,15,function(c){return r(c+32)})+" "},decompressFromUTF16:function(l){return l==null?"":l==""?null:a._decompress(l.length,16384,function(c){return l.charCodeAt(c)-32})},compressToUint8Array:function(l){for(var c=a.compress(l),u=new Uint8Array(c.length*2),f=0,d=c.length;f<d;f++){var p=c.charCodeAt(f);u[f*2]=p>>>8,u[f*2+1]=p%256}return u},decompressFromUint8Array:function(l){if(l==null)return a.decompress(l);for(var c=new Array(l.length/2),u=0,f=c.length;u<f;u++)c[u]=l[u*2]*256+l[u*2+1];var d=[];return c.forEach(function(p){d.push(r(p))}),a.decompress(d.join(""))},compressToEncodedURIComponent:function(l){return l==null?"":a._compress(l,6,function(c){return i.charAt(c)})},decompressFromEncodedURIComponent:function(l){return l==null?"":l==""?null:(l=l.replace(/ /g,"+"),a._decompress(l.length,32,function(c){return s(i,l.charAt(c))}))},compress:function(l){return a._compress(l,16,function(c){return r(c)})},_compress:function(l,c,u){if(l==null)return"";var f,d,p={},h={},A="",g="",m="",v=2,y=3,b=2,B=[],S=0,w=0,x;for(x=0;x<l.length;x+=1)if(A=l.charAt(x),Object.prototype.hasOwnProperty.call(p,A)||(p[A]=y++,h[A]=!0),g=m+A,Object.prototype.hasOwnProperty.call(p,g))m=g;else{if(Object.prototype.hasOwnProperty.call(h,m)){if(m.charCodeAt(0)<256){for(f=0;f<b;f++)S=S<<1,w==c-1?(w=0,B.push(u(S)),S=0):w++;for(d=m.charCodeAt(0),f=0;f<8;f++)S=S<<1|d&1,w==c-1?(w=0,B.push(u(S)),S=0):w++,d=d>>1}else{for(d=1,f=0;f<b;f++)S=S<<1|d,w==c-1?(w=0,B.push(u(S)),S=0):w++,d=0;for(d=m.charCodeAt(0),f=0;f<16;f++)S=S<<1|d&1,w==c-1?(w=0,B.push(u(S)),S=0):w++,d=d>>1}v--,v==0&&(v=Math.pow(2,b),b++),delete h[m]}else for(d=p[m],f=0;f<b;f++)S=S<<1|d&1,w==c-1?(w=0,B.push(u(S)),S=0):w++,d=d>>1;v--,v==0&&(v=Math.pow(2,b),b++),p[g]=y++,m=String(A)}if(m!==""){if(Object.prototype.hasOwnProperty.call(h,m)){if(m.charCodeAt(0)<256){for(f=0;f<b;f++)S=S<<1,w==c-1?(w=0,B.push(u(S)),S=0):w++;for(d=m.charCodeAt(0),f=0;f<8;f++)S=S<<1|d&1,w==c-1?(w=0,B.push(u(S)),S=0):w++,d=d>>1}else{for(d=1,f=0;f<b;f++)S=S<<1|d,w==c-1?(w=0,B.push(u(S)),S=0):w++,d=0;for(d=m.charCodeAt(0),f=0;f<16;f++)S=S<<1|d&1,w==c-1?(w=0,B.push(u(S)),S=0):w++,d=d>>1}v--,v==0&&(v=Math.pow(2,b),b++),delete h[m]}else for(d=p[m],f=0;f<b;f++)S=S<<1|d&1,w==c-1?(w=0,B.push(u(S)),S=0):w++,d=d>>1;v--,v==0&&(v=Math.pow(2,b),b++)}for(d=2,f=0;f<b;f++)S=S<<1|d&1,w==c-1?(w=0,B.push(u(S)),S=0):w++,d=d>>1;for(;;)if(S=S<<1,w==c-1){B.push(u(S));break}else w++;return B.join("")},decompress:function(l){return l==null?"":l==""?null:a._decompress(l.length,32768,function(c){return l.charCodeAt(c)})},_decompress:function(l,c,u){var f=[],d=4,p=4,h=3,A="",g=[],m,v,y,b,B,S,w,x={val:u(0),position:c,index:1};for(m=0;m<3;m+=1)f[m]=m;for(y=0,B=Math.pow(2,2),S=1;S!=B;)b=x.val&x.position,x.position>>=1,x.position==0&&(x.position=c,x.val=u(x.index++)),y|=(b>0?1:0)*S,S<<=1;switch(y){case 0:for(y=0,B=Math.pow(2,8),S=1;S!=B;)b=x.val&x.position,x.position>>=1,x.position==0&&(x.position=c,x.val=u(x.index++)),y|=(b>0?1:0)*S,S<<=1;w=r(y);break;case 1:for(y=0,B=Math.pow(2,16),S=1;S!=B;)b=x.val&x.position,x.position>>=1,x.position==0&&(x.position=c,x.val=u(x.index++)),y|=(b>0?1:0)*S,S<<=1;w=r(y);break;case 2:return""}for(f[3]=w,v=w,g.push(w);;){if(x.index>l)return"";for(y=0,B=Math.pow(2,h),S=1;S!=B;)b=x.val&x.position,x.position>>=1,x.position==0&&(x.position=c,x.val=u(x.index++)),y|=(b>0?1:0)*S,S<<=1;switch(w=y){case 0:for(y=0,B=Math.pow(2,8),S=1;S!=B;)b=x.val&x.position,x.position>>=1,x.position==0&&(x.position=c,x.val=u(x.index++)),y|=(b>0?1:0)*S,S<<=1;f[p++]=r(y),w=p-1,d--;break;case 1:for(y=0,B=Math.pow(2,16),S=1;S!=B;)b=x.val&x.position,x.position>>=1,x.position==0&&(x.position=c,x.val=u(x.index++)),y|=(b>0?1:0)*S,S<<=1;f[p++]=r(y),w=p-1,d--;break;case 2:return g.join("")}if(d==0&&(d=Math.pow(2,h),h++),f[w])A=f[w];else if(w===p)A=v+v.charAt(0);else return null;g.push(A),f[p++]=v+A.charAt(0),d--,v=A,d==0&&(d=Math.pow(2,h),h++)}}};return a}();t!=null?t.exports=e:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return e})})(xY);var Bit=xY.exports;const mI=Io(Bit);function rD(t){const e=new Error(t);return e.source="ulid",e}const SY="0123456789ABCDEFGHJKMNPQRSTVWXYZ",p5=SY.length,Mae=Math.pow(2,48)-1,Cit=10,bit=16;function wit(t){let e=Math.floor(t()*p5);return e===p5&&(e=p5-1),SY.charAt(e)}function xit(t,e){if(isNaN(t))throw new Error(t+" must be a number");if(t>Mae)throw rD("cannot encode time greater than "+Mae);if(t<0)throw rD("time must be positive");if(Number.isInteger(Number(t))===!1)throw rD("time must be an integer");let r,n="";for(;e>0;e--)r=t%p5,n=SY.charAt(r)+n,t=(t-r)/p5;return n}function Sit(t,e){let r="";for(;t>0;t--)r=wit(e)+r;return r}function Eit(t=!1,e){e||(e=typeof window<"u"?window:null);const r=e&&(e.crypto||e.msCrypto);if(r)return()=>{const n=new Uint8Array(1);return r.getRandomValues(n),n[0]/255};try{const n=require("crypto");return()=>n.randomBytes(1).readUInt8()/255}catch{}if(t){try{console.error("secure crypto unusable, falling back to insecure Math.random()!")}catch{}return()=>Math.random()}throw rD("secure crypto unusable, insecure Math.random not allowed")}function Dit(t){return t||(t=Eit()),function(r){return isNaN(r)&&(r=Date.now()),xit(r,Cit)+Sit(bit,t)}}const ht=Dit(),gI=(t,e)=>{try{return t()}catch{return e}};function DV(t,e,r=!1,n){const i=typeof t=="string"?document.querySelector(t):t,o=typeof e=="string"?document.querySelector(e):e;if(!(i&&o)||r&&i.scrollTop<=o.offsetTop&&i.scrollTop+i.clientHeight>=o.offsetTop+o.clientHeight)return!1;const s=o.offsetTop;return i.scrollTop=s-(n||0),!0}function Jk(t,e=!0,r=1){const n=e?1e3:1024;if(Math.abs(t)<n)return`${t} B`;const i=e?["kB","MB","GB","TB","PB","EB","ZB","YB"]:["KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"];let o=-1;const s=10**r;do t/=n,++o;while(Math.round(Math.abs(t)*s)/s>=n&&o<i.length-1);return`${t.toFixed(r)} ${i[o]}`}function T4e(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function M1(t){return t.replace(" ","-").replace(/[^a-zA-Z0-9-_]/g,"")}function Ks(t){return T4e(t.startsWith("--")?t:`--${t}`)}function $T(t){return`var(${Ks(t)})`}function _ae(t){return t.toLowerCase().replace(/ /g,"_")}function kit(t,e){let r=Date.now();return function(...n){r+e-Date.now()<0&&(t.apply(this,n),r=Date.now())}}const Oit=(t,e=16)=>`${Hi(t/e)}rem`,Hi=t=>Number(t.toFixed(2)),vI=(t,e)=>`--${t.replace("{step}",e).replace(/\s/g,"-")}${t.includes("{step}")?"":`-${e}`}`;function na(t,e,r=16){switch(e){case"px":return`${t}px`;case"rem":return Oit(Number(t),r);default:return String(t)}}const Y0=()=>({id:ht(),property:"",value:""}),jae=(t=!1)=>({id:ht(),selector:t?":root":"",declarations:[Y0()]});function Pit(t){return t=t??[],Array.isArray(t)?t:[t]}function Iit(t){return Pit(t).flat()}function Um(...t){return t.flatMap(e=>Iit(e||[]))}function Zk(t,e){const r=document.createElement("a"),n=new Blob([t],{type:"text/json"});r.href=URL.createObjectURL(n),r.download=e,document.body.appendChild(r),r.click(),r.remove()}function L4e(t){return gI(()=>mI.compressToUTF16(t),t)}function Nit(t){return gI(()=>mI.compressToBase64(t),t)}function R4e(t){return gI(()=>mI.decompressFromUTF16(t),t)}function Fit(t){return gI(()=>mI.decompressFromBase64(t),t)}const d4=t=>t.charAt(0).toUpperCase()+t.slice(1);function Uae(t,e){if(!t)return"0";const r=[{value:1,symbol:""},{value:1e3,symbol:"K"},{value:1e6,symbol:"M"},{value:1e9,symbol:"G"},{value:1e12,symbol:"T"},{value:1e15,symbol:"P"},{value:1e18,symbol:"E"}],n=/\.0+$|(\.[0-9]*[1-9])0+$/,i=r.slice().reverse().find(o=>t>=o.value);return i?(t/i.value).toFixed(e||1).replace(n,"$1")+i.symbol:"0"}async function sc(t){try{if(navigator.clipboard)return await navigator?.clipboard?.writeText(t),!0;{const e=document.createElement("textarea");e.value=t,e.style.opacity="0",e.style.position="fixed",document.body.appendChild(e),e.focus(),e.select();try{return document.execCommand("copy")?(window.clipboardData=t,document.body.removeChild(e),!0):(document.body.removeChild(e),!1)}catch{return document.body.removeChild(e),!1}}}catch(e){return console.error("Failed to copy text: ",e),!1}}async function l2(){if(navigator?.clipboard?.readText)try{return await navigator.clipboard.readText()}catch{return""}else{const t=window.clipboardData??"";return delete window.clipboardData,t}}function Qae(t,e){const r=t.split("."),n=e.split(".");for(let i=0;i<r.length;++i){if(n.length===i)return 1;if(r[i]!==n[i])return r[i]>n[i]?1:-1}return r.length!==n.length?-1:0}function UA(t,e){if(typeof t=="string"){const n=Si(t);if(!n.isValid())return"#000000";t=n}const r=Math.round(t.alpha()*100)/100;switch(e){case"name":case"hex":return t.toHex();case"hexa":const n=t.toHex().slice(0,7),i=Math.round(r*255).toString(16).padStart(2,"0");return`${n}${i}`;case"rgb":return t.toRgbString();case"rgba":const{r:o,g:s,b:a}=t.toRgb();return`rgba(${o}, ${s}, ${a}, ${r})`;case"hsl":return t.toHslString();case"hsla":const{h:l,s:c,l:u}=t.toHsl();return`hsla(${l}, ${c}%, ${u}%, ${r})`;default:return t.toHex()}}const Ub=(t,e="hsl(0, 0%, 0%)")=>{const r=Si(e);switch(t){case"hex":case"hexa":return r.toHex();case"rgb":case"rgba":return r.toRgbString();case"hsl":case"hsla":return r.toHslString();default:return r.toHex()}},M4e=t=>Si(t).isValid();function Tit(t){try{const e={},r=t.split(""),n=[];let i,o=r[0],s=256,a;for(a=1;a<r.length;a++)i=r[a],e[o+i]==null?(n.push(o.length>1?e[o]:o.charCodeAt(0)),e[o+i]=s,s++,o=i):o+=i;for(n.push(o.length>1?e[o]:o.charCodeAt(0)),a=0;a<n.length;a++)n[a]=String.fromCharCode(Number(n[a]));return n.join("")}catch{return""}}function ul(t){return(...e)=>{const r=performance.now(),n=t(...e),i=o=>{const s=(o-r).toFixed(2),a=new URLSearchParams(window?.location?.search??{}).get("dev_mode")!==null;(window?.secret_dev_mode||a)&&uo(`'${t.name}' time: ${s} ms`)};return n instanceof Promise?n.then(o=>(i(performance.now()),o)):(i(performance.now()),n)}}function Lit(t){var e={analogous:[-30,0,30],complementary:[0,180],"double-split-complementary":[-30,0,30,150,210],rectangle:[0,60,180,240],tetradic:[0,90,180,270],triadic:[0,120,240],"split-complementary":[0,150,210]};t.prototype.harmonies=function(r){var n=this;return r===void 0&&(r="complementary"),e[r].map(function(i){return n.rotate(i)})}}try{N4e([Lit])}catch{}const Rit=F4e(),e9=8,Mit=8,_it="default",Vae={value:Rit?.toHslString(),name:_it,format:"hsla"},yI={groups:[{name:"Brand",colors:[{id:"01GXBWJFMN0FTV5W63KFVZYHHA",name:"primary",value:"hsla(238, 100%, 62%, 1)",format:"hsla",transparent:!0,transparentVariables:[5,10,20,30,40,50,60,70,80,90],isShades:!0,shades:[{name:"primary-d-1",value:"hsla(240, 56%, 50%, 1)"},{name:"primary-d-2",value:"hsla(243, 54%, 37%, 1)"},{name:"primary-d-3",value:"hsla(246, 51%, 25%, 1)"},{name:"primary-d-4",value:"hsla(250, 43%, 13%, 1)"}],shadesNumber:4,isTints:!0,tints:[{name:"primary-l-1",value:"hsla(247, 100%, 70%, 1)"},{name:"primary-l-2",value:"hsla(251, 100%, 77%, 1)"},{name:"primary-l-3",value:"hsla(254, 100%, 85%, 1)"},{name:"primary-l-4",value:"hsla(256, 100%, 92%, 1)"}],tintsNumber:4,gen:["text","bg","border"]},{id:"01GXBWJMZX793Y156N940FCB3G",name:"secondary",value:"hsla(0, 94%, 68%, 1)",format:"hsla",transparent:!0,transparentVariables:[5,10,20,30,40,50,60,70,80,90],isShades:!0,shades:[{name:"secondary-d-1",value:"hsla(1, 50%, 53%, 1)"},{name:"secondary-d-2",value:"hsla(1, 42%, 40%, 1)"},{name:"secondary-d-3",value:"hsla(2, 40%, 26%, 1)"},{name:"secondary-d-4",value:"hsla(4, 35%, 14%, 1)"}],shadesNumber:4,isTints:!0,tints:[{name:"secondary-l-1",value:"hsla(3, 100%, 75%, 1)"},{name:"secondary-l-2",value:"hsla(5, 100%, 81%, 1)"},{name:"secondary-l-3",value:"hsla(6, 100%, 87%, 1)"},{name:"secondary-l-4",value:"hsla(7, 100%, 93%, 1)"}],tintsNumber:4,gen:["border","bg","text"]},{id:"01H4DWRBRV1RDP8CF36THAMMGK",name:"tertiary",value:"hsla(198, 74%, 51%, 1)",format:"hsla",transparent:!0,transparentVariables:[5,10,20,30,40,50,60,70,80,90],isShades:!0,shades:[{name:"tertiary-d-1",value:"hsla(199, 63%, 42%, 1)"},{name:"tertiary-d-2",value:"hsla(200, 55%, 32%, 1)"},{name:"tertiary-d-3",value:"hsla(201, 46%, 22%, 1)"},{name:"tertiary-d-4",value:"hsla(203, 35%, 13%, 1)"}],shadesNumber:4,isTints:!0,tints:[{name:"tertiary-l-1",value:"hsla(202, 71%, 65%, 1)"},{name:"tertiary-l-2",value:"hsla(203, 70%, 75%, 1)"},{name:"tertiary-l-3",value:"hsla(204, 70%, 84%, 1)"},{name:"tertiary-l-4",value:"hsla(205, 70%, 92%, 1)"}],tintsNumber:4,gen:["text","bg","border"]}],id:"01GXBWJFMNRRW8CMRQY1B2BQGG"},{name:"Background",colors:[{id:"01H7SXSF0MT89ZA0Z8BTGTF54C",name:"bg-body",value:"hsla(0, 0%, 90%, 1)",isDarkMode:!0,darkValue:"hsla(0, 0%, 5%, 1)",format:"hsla",shades:[],darkShades:[],tints:[],darkTints:[],gen:["bg"]},{id:"01H7SXTAZRTJ6K45EFMZ2MGAR8",name:"bg-surface",value:"hsla(0, 0%, 100%, 1)",isDarkMode:!0,darkValue:"hsla(0, 0%, 15%, 1)",format:"hsla",shades:[],darkShades:[],tints:[],darkTints:[],gen:["bg"]}],id:"01H7SXSF0M6CW6E204S00ZA61N"},{name:"Text",colors:[{id:"01H7SXV8GB7CBRPWMX4FH73YS2",name:"text-body",value:"hsla(0, 0%, 25%, 1)",isDarkMode:!0,darkValue:"hsla(0, 0%, 75%, 1)",format:"hsla",shades:[],darkShades:[],tints:[],darkTints:[],gen:["text"]},{id:"01H7SXSV7G1CR23F3WSEF02CEE",name:"text-title",value:"hsla(0, 0%, 0%, 1)",isDarkMode:!0,darkValue:"hsla(0, 0%, 100%, 1)",format:"hsla",shades:[],darkShades:[],tints:[],darkTints:[],gen:["text"]}],id:"01H7SXSV7GG9EHNS4ZH046895Y"},{name:"Base",colors:[{id:"01H7XJSG365T8WPY0M8A651XE9",name:"border-primary",value:"hsla(0, 0%, 50%, 0.25)",isDarkMode:!0,darkValue:"hsla(0, 0%, 75%, 0.1)",format:"hsla",shades:[],darkShades:[],tints:[],darkTints:[],gen:["border"]},{id:"01H7XJSTXV32VCY86ZHPGE60MQ",name:"shadow-primary",value:"hsla(0, 0%, 0%, 0.15)",isDarkMode:!0,darkValue:"hsla(0, 0%, 0%, 0.4)",format:"hsla",shades:[],darkShades:[],tints:[],darkTints:[]}],id:"01GXDSXTV182G3Z78KX22K2T5D"},{name:"Neutral",colors:[{id:"01H7XJZ0KTXZ00FKVG3Y345XCP",name:"light",value:"hsla(85, 0%, 100%, 1)",isDarkMode:!0,darkValue:"hsla(0, 0%, 0%, 1)",format:"hsla",transparent:!0,transparentVariables:[5,10,20,30,40,50,60,70,80,90],isShades:!1,shades:[],darkShades:[],shadesNumber:8,tints:[],darkTints:[],gen:["bg","text","border"]},{id:"01H7XJZ4GBR5DD6Q0547QE5P4H",name:"dark",value:"hsla(0, 0%, 0%, 1)",isDarkMode:!0,darkValue:"hsla(0, 0%, 100%, 1)",format:"hsla",transparent:!0,transparentVariables:[5,10,20,30,40,50,60,70,80,90],isShades:!1,shades:[],darkShades:[],shadesNumber:8,isTints:!1,tints:[],darkTints:[],tintsNumber:8,gen:["bg","text","border"]}],id:"01H7XJYM4SGDHFEJNT2KV3PWJ5"},{name:"Status",colors:[{id:"01GXK54XWRD73XSRXMZVMQPZY4",name:"success",value:"hsla(136, 95%, 56%, 1)",format:"hsla",transparent:!0,transparentVariables:[5,10,20,30,40,50,60,70,80,90],isShades:!1,gen:["text","bg","border"]},{id:"01GXK554KKPN6BGJCW08B79T3M",name:"error",value:"hsla(351, 95%, 56%, 1)",format:"hsla",transparent:!0,transparentVariables:[5,10,20,30,40,50,60,70,80,90],isShades:!1,gen:["text","bg","border"]}],id:"01GXK54XWR1373HKFFPZAVJSW5"}]},jit=[5,10,20,30,40,50,60,70,80,90];var li;(function(t){t.assertEqual=i=>{};function e(i){}t.assertIs=e;function r(i){throw new Error}t.assertNever=r,t.arrayToEnum=i=>{const o={};for(const s of i)o[s]=s;return o},t.getValidEnumValues=i=>{const o=t.objectKeys(i).filter(a=>typeof i[i[a]]!="number"),s={};for(const a of o)s[a]=i[a];return t.objectValues(s)},t.objectValues=i=>t.objectKeys(i).map(function(o){return i[o]}),t.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{const o=[];for(const s in i)Object.prototype.hasOwnProperty.call(i,s)&&o.push(s);return o},t.find=(i,o)=>{for(const s of i)if(o(s))return s},t.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&Number.isFinite(i)&&Math.floor(i)===i;function n(i,o=" | "){return i.map(s=>typeof s=="string"?`'${s}'`:s).join(o)}t.joinValues=n,t.jsonStringifyReplacer=(i,o)=>typeof o=="bigint"?o.toString():o})(li||(li={}));var $ae;(function(t){t.mergeShapes=(e,r)=>({...e,...r})})($ae||($ae={}));const Or=li.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),f0=t=>{switch(typeof t){case"undefined":return Or.undefined;case"string":return Or.string;case"number":return Number.isNaN(t)?Or.nan:Or.number;case"boolean":return Or.boolean;case"function":return Or.function;case"bigint":return Or.bigint;case"symbol":return Or.symbol;case"object":return Array.isArray(t)?Or.array:t===null?Or.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?Or.promise:typeof Map<"u"&&t instanceof Map?Or.map:typeof Set<"u"&&t instanceof Set?Or.set:typeof Date<"u"&&t instanceof Date?Or.date:Or.object;default:return Or.unknown}},Ht=li.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class th extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};const r=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,r):this.__proto__=r,this.name="ZodError",this.issues=e}format(e){const r=e||function(o){return o.message},n={_errors:[]},i=o=>{for(const s of o.issues)if(s.code==="invalid_union")s.unionErrors.map(i);else if(s.code==="invalid_return_type")i(s.returnTypeError);else if(s.code==="invalid_arguments")i(s.argumentsError);else if(s.path.length===0)n._errors.push(r(s));else{let a=n,l=0;for(;l<s.path.length;){const c=s.path[l];l===s.path.length-1?(a[c]=a[c]||{_errors:[]},a[c]._errors.push(r(s))):a[c]=a[c]||{_errors:[]},a=a[c],l++}}};return i(this),n}static assert(e){if(!(e instanceof th))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,li.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=r=>r.message){const r={},n=[];for(const i of this.issues)if(i.path.length>0){const o=i.path[0];r[o]=r[o]||[],r[o].push(e(i))}else n.push(e(i));return{formErrors:n,fieldErrors:r}}get formErrors(){return this.flatten()}}th.create=t=>new th(t);const Uit=(t,e)=>{let r;switch(t.code){case Ht.invalid_type:t.received===Or.undefined?r="Required":r=`Expected ${t.expected}, received ${t.received}`;break;case Ht.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(t.expected,li.jsonStringifyReplacer)}`;break;case Ht.unrecognized_keys:r=`Unrecognized key(s) in object: ${li.joinValues(t.keys,", ")}`;break;case Ht.invalid_union:r="Invalid input";break;case Ht.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${li.joinValues(t.options)}`;break;case Ht.invalid_enum_value:r=`Invalid enum value. Expected ${li.joinValues(t.options)}, received '${t.received}'`;break;case Ht.invalid_arguments:r="Invalid function arguments";break;case Ht.invalid_return_type:r="Invalid function return type";break;case Ht.invalid_date:r="Invalid date";break;case Ht.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(r=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(r=`${r} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?r=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?r=`Invalid input: must end with "${t.validation.endsWith}"`:li.assertNever(t.validation):t.validation!=="regex"?r=`Invalid ${t.validation}`:r="Invalid";break;case Ht.too_small:t.type==="array"?r=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?r=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?r=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="bigint"?r=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?r=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:r="Invalid input";break;case Ht.too_big:t.type==="array"?r=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?r=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?r=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?r=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?r=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:r="Invalid input";break;case Ht.custom:r="Invalid input";break;case Ht.invalid_intersection_types:r="Intersection results could not be merged";break;case Ht.not_multiple_of:r=`Number must be a multiple of ${t.multipleOf}`;break;case Ht.not_finite:r="Number must be finite";break;default:r=e.defaultError,li.assertNever(t)}return{message:r}},kV=Uit;let Qit=kV;function Vit(){return Qit}const $it=t=>{const{data:e,path:r,errorMaps:n,issueData:i}=t,o=[...r,...i.path||[]],s={...i,path:o};if(i.message!==void 0)return{...i,path:o,message:i.message};let a="";const l=n.filter(c=>!!c).slice().reverse();for(const c of l)a=c(s,{data:e,defaultError:a}).message;return{...i,path:o,message:a}};function mr(t,e){const r=Vit(),n=$it({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,r,r===kV?void 0:kV].filter(i=>!!i)});t.common.issues.push(n)}class Bl{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,r){const n=[];for(const i of r){if(i.status==="aborted")return fn;i.status==="dirty"&&e.dirty(),n.push(i.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,r){const n=[];for(const i of r){const o=await i.key,s=await i.value;n.push({key:o,value:s})}return Bl.mergeObjectSync(e,n)}static mergeObjectSync(e,r){const n={};for(const i of r){const{key:o,value:s}=i;if(o.status==="aborted"||s.status==="aborted")return fn;o.status==="dirty"&&e.dirty(),s.status==="dirty"&&e.dirty(),o.value!=="__proto__"&&(typeof s.value<"u"||i.alwaysSet)&&(n[o.value]=s.value)}return{status:e.value,value:n}}}const fn=Object.freeze({status:"aborted"}),Fw=t=>({status:"dirty",value:t}),Ku=t=>({status:"valid",value:t}),Hae=t=>t.status==="aborted",Gae=t=>t.status==="dirty",pB=t=>t.status==="valid",t9=t=>typeof Promise<"u"&&t instanceof Promise;var Lr;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e?.message})(Lr||(Lr={}));class bp{constructor(e,r,n,i){this._cachedPath=[],this.parent=e,this.data=r,this._path=n,this._key=i}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const Wae=(t,e)=>{if(pB(e))return{success:!0,data:e.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const r=new th(t.common.issues);return this._error=r,this._error}}};function On(t){if(!t)return{};const{errorMap:e,invalid_type_error:r,required_error:n,description:i}=t;if(e&&(r||n))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:i}:{errorMap:(s,a)=>{const{message:l}=t;return s.code==="invalid_enum_value"?{message:l??a.defaultError}:typeof a.data>"u"?{message:l??n??a.defaultError}:s.code!=="invalid_type"?{message:a.defaultError}:{message:l??r??a.defaultError}},description:i}}class Jn{get description(){return this._def.description}_getType(e){return f0(e.data)}_getOrReturnCtx(e,r){return r||{common:e.parent.common,data:e.data,parsedType:f0(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new Bl,ctx:{common:e.parent.common,data:e.data,parsedType:f0(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const r=this._parse(e);if(t9(r))throw new Error("Synchronous parse encountered promise.");return r}_parseAsync(e){const r=this._parse(e);return Promise.resolve(r)}parse(e,r){const n=this.safeParse(e,r);if(n.success)return n.data;throw n.error}safeParse(e,r){const n={common:{issues:[],async:r?.async??!1,contextualErrorMap:r?.errorMap},path:r?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:f0(e)},i=this._parseSync({data:e,path:n.path,parent:n});return Wae(n,i)}"~validate"(e){const r={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:f0(e)};if(!this["~standard"].async)try{const n=this._parseSync({data:e,path:[],parent:r});return pB(n)?{value:n.value}:{issues:r.common.issues}}catch(n){n?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),r.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:r}).then(n=>pB(n)?{value:n.value}:{issues:r.common.issues})}async parseAsync(e,r){const n=await this.safeParseAsync(e,r);if(n.success)return n.data;throw n.error}async safeParseAsync(e,r){const n={common:{issues:[],contextualErrorMap:r?.errorMap,async:!0},path:r?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:f0(e)},i=this._parse({data:e,path:n.path,parent:n}),o=await(t9(i)?i:Promise.resolve(i));return Wae(n,o)}refine(e,r){const n=i=>typeof r=="string"||typeof r>"u"?{message:r}:typeof r=="function"?r(i):r;return this._refinement((i,o)=>{const s=e(i),a=()=>o.addIssue({code:Ht.custom,...n(i)});return typeof Promise<"u"&&s instanceof Promise?s.then(l=>l?!0:(a(),!1)):s?!0:(a(),!1)})}refinement(e,r){return this._refinement((n,i)=>e(n)?!0:(i.addIssue(typeof r=="function"?r(n,i):r),!1))}_refinement(e){return new mm({schema:this,typeName:sn.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:r=>this["~validate"](r)}}optional(){return J0.create(this,this._def)}nullable(){return vB.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return gp.create(this)}promise(){return o9.create(this,this._def)}or(e){return r9.create([this,e],this._def)}and(e){return n9.create(this,e,this._def)}transform(e){return new mm({...On(this._def),schema:this,typeName:sn.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const r=typeof e=="function"?e:()=>e;return new QV({...On(this._def),innerType:this,defaultValue:r,typeName:sn.ZodDefault})}brand(){return new dot({typeName:sn.ZodBranded,type:this,...On(this._def)})}catch(e){const r=typeof e=="function"?e:()=>e;return new VV({...On(this._def),innerType:this,catchValue:r,typeName:sn.ZodCatch})}describe(e){const r=this.constructor;return new r({...this._def,description:e})}pipe(e){return EY.create(this,e)}readonly(){return HV.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Hit=/^c[^\s-]{8,}$/i,Git=/^[0-9a-z]+$/,Wit=/^[0-9A-HJKMNP-TV-Z]{26}$/i,zit=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Kit=/^[a-z0-9_-]{21}$/i,qit=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Xit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?)|([0-9a-zA-Z-_]{3}(=)?))?$/,_4e="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",oot=new RegExp(`^${_4e}$`);function j4e(t){let e="[0-5]\\d";t.precision?e=`${e}\\.\\d{${t.precision}}`:t.precision==null&&(e=`${e}(\\.\\d+)?`);const r=t.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${e})${r}`}function sot(t){return new RegExp(`^${j4e(t)}$`)}function aot(t){let e=`${_4e}T${j4e(t)}`;const r=[];return r.push(t.local?"Z?":"Z"),t.offset&&r.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${r.join("|")})`,new RegExp(`^${e}$`)}function lot(t,e){return!!((e==="v4"||!e)&&Zit.test(t)||(e==="v6"||!e)&&tot.test(t))}function cot(t,e){if(!qit.test(t))return!1;try{const[r]=t.split(".");if(!r)return!1;const n=r.replace(/-/g,"+").replace(/_/g,"/").padEnd(r.length+(4-r.length%4)%4,"="),i=JSON.parse(atob(n));return!(typeof i!="object"||i===null||"typ"in i&&i?.typ!=="JWT"||!i.alg||e&&i.alg!==e)}catch{return!1}}function uot(t,e){return!!((e==="v4"||!e)&&eot.test(t)||(e==="v6"||!e)&&rot.test(t))}class DA extends Jn{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==Or.string){const o=this._getOrReturnCtx(e);return mr(o,{code:Ht.invalid_type,expected:Or.string,received:o.parsedType}),fn}const n=new Bl;let i;for(const o of this._def.checks)if(o.kind==="min")e.data.length<o.value&&(i=this._getOrReturnCtx(e,i),mr(i,{code:Ht.too_small,minimum:o.value,type:"string",inclusive:!0,exact:!1,message:o.message}),n.dirty());else if(o.kind==="max")e.data.length>o.value&&(i=this._getOrReturnCtx(e,i),mr(i,{code:Ht.too_big,maximum:o.value,type:"string",inclusive:!0,exact:!1,message:o.message}),n.dirty());else if(o.kind==="length"){const s=e.data.length>o.value,a=e.data.length<o.value;(s||a)&&(i=this._getOrReturnCtx(e,i),s?mr(i,{code:Ht.too_big,maximum:o.value,type:"string",inclusive:!0,exact:!0,message:o.message}):a&&mr(i,{code:Ht.too_small,minimum:o.value,type:"string",inclusive:!0,exact:!0,message:o.message}),n.dirty())}else if(o.kind==="email")Yit.test(e.data)||(i=this._getOrReturnCtx(e,i),mr(i,{validation:"email",code:Ht.invalid_string,message:o.message}),n.dirty());else if(o.kind==="emoji")HT||(HT=new RegExp(Jit,"u")),HT.test(e.data)||(i=this._getOrReturnCtx(e,i),mr(i,{validation:"emoji",code:Ht.invalid_string,message:o.message}),n.dirty());else if(o.kind==="uuid")zit.test(e.data)||(i=this._getOrReturnCtx(e,i),mr(i,{validation:"uuid",code:Ht.invalid_string,message:o.message}),n.dirty());else if(o.kind==="nanoid")Kit.test(e.data)||(i=this._getOrReturnCtx(e,i),mr(i,{validation:"nanoid",code:Ht.invalid_string,message:o.message}),n.dirty());else if(o.kind==="cuid")Hit.test(e.data)||(i=this._getOrReturnCtx(e,i),mr(i,{validation:"cuid",code:Ht.invalid_string,message:o.message}),n.dirty());else if(o.kind==="cuid2")Git.test(e.data)||(i=this._getOrReturnCtx(e,i),mr(i,{validation:"cuid2",code:Ht.invalid_string,message:o.message}),n.dirty());else if(o.kind==="ulid")Wit.test(e.data)||(i=this._getOrReturnCtx(e,i),mr(i,{validation:"ulid",code:Ht.invalid_string,message:o.message}),n.dirty());else if(o.kind==="url")try{new URL(e.data)}catch{i=this._getOrReturnCtx(e,i),mr(i,{validation:"url",code:Ht.invalid_string,message:o.message}),n.dirty()}else o.kind==="regex"?(o.regex.lastIndex=0,o.regex.test(e.data)||(i=this._getOrReturnCtx(e,i),mr(i,{validation:"regex",code:Ht.invalid_string,message:o.message}),n.dirty())):o.kind==="trim"?e.data=e.data.trim():o.kind==="includes"?e.data.includes(o.value,o.position)||(i=this._getOrReturnCtx(e,i),mr(i,{code:Ht.invalid_string,validation:{includes:o.value,position:o.position},message:o.message}),n.dirty()):o.kind==="toLowerCase"?e.data=e.data.toLowerCase():o.kind==="toUpperCase"?e.data=e.data.toUpperCase():o.kind==="startsWith"?e.data.startsWith(o.value)||(i=this._getOrReturnCtx(e,i),mr(i,{code:Ht.invalid_string,validation:{startsWith:o.value},message:o.message}),n.dirty()):o.kind==="endsWith"?e.data.endsWith(o.value)||(i=this._getOrReturnCtx(e,i),mr(i,{code:Ht.invalid_string,validation:{endsWith:o.value},message:o.message}),n.dirty()):o.kind==="datetime"?aot(o).test(e.data)||(i=this._getOrReturnCtx(e,i),mr(i,{code:Ht.invalid_string,validation:"datetime",message:o.message}),n.dirty()):o.kind==="date"?oot.test(e.data)||(i=this._getOrReturnCtx(e,i),mr(i,{code:Ht.invalid_string,validation:"date",message:o.message}),n.dirty()):o.kind==="time"?sot(o).test(e.data)||(i=this._getOrReturnCtx(e,i),mr(i,{code:Ht.invalid_string,validation:"time",message:o.message}),n.dirty()):o.kind==="duration"?Xit.test(e.data)||(i=this._getOrReturnCtx(e,i),mr(i,{validation:"duration",code:Ht.invalid_string,message:o.message}),n.dirty()):o.kind==="ip"?lot(e.data,o.version)||(i=this._getOrReturnCtx(e,i),mr(i,{validation:"ip",code:Ht.invalid_string,message:o.message}),n.dirty()):o.kind==="jwt"?cot(e.data,o.alg)||(i=this._getOrReturnCtx(e,i),mr(i,{validation:"jwt",code:Ht.invalid_string,message:o.message}),n.dirty()):o.kind==="cidr"?uot(e.data,o.version)||(i=this._getOrReturnCtx(e,i),mr(i,{validation:"cidr",code:Ht.invalid_string,message:o.message}),n.dirty()):o.kind==="base64"?not.test(e.data)||(i=this._getOrReturnCtx(e,i),mr(i,{validation:"base64",code:Ht.invalid_string,message:o.message}),n.dirty()):o.kind==="base64url"?iot.test(e.data)||(i=this._getOrReturnCtx(e,i),mr(i,{validation:"base64url",code:Ht.invalid_string,message:o.message}),n.dirty()):li.assertNever(o);return{status:n.value,value:e.data}}_regex(e,r,n){return this.refinement(i=>e.test(i),{validation:r,code:Ht.invalid_string,...Lr.errToObj(n)})}_addCheck(e){return new DA({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...Lr.errToObj(e)})}url(e){return this._addCheck({kind:"url",...Lr.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...Lr.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...Lr.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...Lr.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...Lr.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...Lr.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...Lr.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...Lr.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...Lr.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...Lr.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...Lr.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...Lr.errToObj(e)})}datetime(e){return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof e?.precision>"u"?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...Lr.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof e?.precision>"u"?null:e?.precision,...Lr.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...Lr.errToObj(e)})}regex(e,r){return this._addCheck({kind:"regex",regex:e,...Lr.errToObj(r)})}includes(e,r){return this._addCheck({kind:"includes",value:e,position:r?.position,...Lr.errToObj(r?.message)})}startsWith(e,r){return this._addCheck({kind:"startsWith",value:e,...Lr.errToObj(r)})}endsWith(e,r){return this._addCheck({kind:"endsWith",value:e,...Lr.errToObj(r)})}min(e,r){return this._addCheck({kind:"min",value:e,...Lr.errToObj(r)})}max(e,r){return this._addCheck({kind:"max",value:e,...Lr.errToObj(r)})}length(e,r){return this._addCheck({kind:"length",value:e,...Lr.errToObj(r)})}nonempty(e){return this.min(1,Lr.errToObj(e))}trim(){return new DA({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new DA({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new DA({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isCIDR(){return!!this._def.checks.find(e=>e.kind==="cidr")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get isBase64url(){return!!this._def.checks.find(e=>e.kind==="base64url")}get minLength(){let e=null;for(const r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e}get maxLength(){let e=null;for(const r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e}}DA.create=t=>new DA({checks:[],typeName:sn.ZodString,coerce:t?.coerce??!1,...On(t)});function fot(t,e){const r=(t.toString().split(".")[1]||"").length,n=(e.toString().split(".")[1]||"").length,i=r>n?r:n,o=Number.parseInt(t.toFixed(i).replace(".","")),s=Number.parseInt(e.toFixed(i).replace(".",""));return o%s/10**i}class AB extends Jn{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==Or.number){const o=this._getOrReturnCtx(e);return mr(o,{code:Ht.invalid_type,expected:Or.number,received:o.parsedType}),fn}let n;const i=new Bl;for(const o of this._def.checks)o.kind==="int"?li.isInteger(e.data)||(n=this._getOrReturnCtx(e,n),mr(n,{code:Ht.invalid_type,expected:"integer",received:"float",message:o.message}),i.dirty()):o.kind==="min"?(o.inclusive?e.data<o.value:e.data<=o.value)&&(n=this._getOrReturnCtx(e,n),mr(n,{code:Ht.too_small,minimum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),i.dirty()):o.kind==="max"?(o.inclusive?e.data>o.value:e.data>=o.value)&&(n=this._getOrReturnCtx(e,n),mr(n,{code:Ht.too_big,maximum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),i.dirty()):o.kind==="multipleOf"?fot(e.data,o.value)!==0&&(n=this._getOrReturnCtx(e,n),mr(n,{code:Ht.not_multiple_of,multipleOf:o.value,message:o.message}),i.dirty()):o.kind==="finite"?Number.isFinite(e.data)||(n=this._getOrReturnCtx(e,n),mr(n,{code:Ht.not_finite,message:o.message}),i.dirty()):li.assertNever(o);return{status:i.value,value:e.data}}gte(e,r){return this.setLimit("min",e,!0,Lr.toString(r))}gt(e,r){return this.setLimit("min",e,!1,Lr.toString(r))}lte(e,r){return this.setLimit("max",e,!0,Lr.toString(r))}lt(e,r){return this.setLimit("max",e,!1,Lr.toString(r))}setLimit(e,r,n,i){return new AB({...this._def,checks:[...this._def.checks,{kind:e,value:r,inclusive:n,message:Lr.toString(i)}]})}_addCheck(e){return new AB({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:Lr.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Lr.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Lr.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Lr.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Lr.toString(e)})}multipleOf(e,r){return this._addCheck({kind:"multipleOf",value:e,message:Lr.toString(r)})}finite(e){return this._addCheck({kind:"finite",message:Lr.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Lr.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Lr.toString(e)})}get minValue(){let e=null;for(const r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e}get maxValue(){let e=null;for(const r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&li.isInteger(e.value))}get isFinite(){let e=null,r=null;for(const n of this._def.checks){if(n.kind==="finite"||n.kind==="int"||n.kind==="multipleOf")return!0;n.kind==="min"?(r===null||n.value>r)&&(r=n.value):n.kind==="max"&&(e===null||n.value<e)&&(e=n.value)}return Number.isFinite(r)&&Number.isFinite(e)}}AB.create=t=>new AB({checks:[],typeName:sn.ZodNumber,coerce:t?.coerce||!1,...On(t)});class hB extends Jn{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==Or.bigint)return this._getInvalidInput(e);let n;const i=new Bl;for(const o of this._def.checks)o.kind==="min"?(o.inclusive?e.data<o.value:e.data<=o.value)&&(n=this._getOrReturnCtx(e,n),mr(n,{code:Ht.too_small,type:"bigint",minimum:o.value,inclusive:o.inclusive,message:o.message}),i.dirty()):o.kind==="max"?(o.inclusive?e.data>o.value:e.data>=o.value)&&(n=this._getOrReturnCtx(e,n),mr(n,{code:Ht.too_big,type:"bigint",maximum:o.value,inclusive:o.inclusive,message:o.message}),i.dirty()):o.kind==="multipleOf"?e.data%o.value!==BigInt(0)&&(n=this._getOrReturnCtx(e,n),mr(n,{code:Ht.not_multiple_of,multipleOf:o.value,message:o.message}),i.dirty()):li.assertNever(o);return{status:i.value,value:e.data}}_getInvalidInput(e){const r=this._getOrReturnCtx(e);return mr(r,{code:Ht.invalid_type,expected:Or.bigint,received:r.parsedType}),fn}gte(e,r){return this.setLimit("min",e,!0,Lr.toString(r))}gt(e,r){return this.setLimit("min",e,!1,Lr.toString(r))}lte(e,r){return this.setLimit("max",e,!0,Lr.toString(r))}lt(e,r){return this.setLimit("max",e,!1,Lr.toString(r))}setLimit(e,r,n,i){return new hB({...this._def,checks:[...this._def.checks,{kind:e,value:r,inclusive:n,message:Lr.toString(i)}]})}_addCheck(e){return new hB({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Lr.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Lr.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Lr.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Lr.toString(e)})}multipleOf(e,r){return this._addCheck({kind:"multipleOf",value:e,message:Lr.toString(r)})}get minValue(){let e=null;for(const r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e}get maxValue(){let e=null;for(const r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e}}hB.create=t=>new hB({checks:[],typeName:sn.ZodBigInt,coerce:t?.coerce??!1,...On(t)});class OV extends Jn{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==Or.boolean){const n=this._getOrReturnCtx(e);return mr(n,{code:Ht.invalid_type,expected:Or.boolean,received:n.parsedType}),fn}return Ku(e.data)}}OV.create=t=>new OV({typeName:sn.ZodBoolean,coerce:t?.coerce||!1,...On(t)});class p4 extends Jn{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==Or.date){const o=this._getOrReturnCtx(e);return mr(o,{code:Ht.invalid_type,expected:Or.date,received:o.parsedType}),fn}if(Number.isNaN(e.data.getTime())){const o=this._getOrReturnCtx(e);return mr(o,{code:Ht.invalid_date}),fn}const n=new Bl;let i;for(const o of this._def.checks)o.kind==="min"?e.data.getTime()<o.value&&(i=this._getOrReturnCtx(e,i),mr(i,{code:Ht.too_small,message:o.message,inclusive:!0,exact:!1,minimum:o.value,type:"date"}),n.dirty()):o.kind==="max"?e.data.getTime()>o.value&&(i=this._getOrReturnCtx(e,i),mr(i,{code:Ht.too_big,message:o.message,inclusive:!0,exact:!1,maximum:o.value,type:"date"}),n.dirty()):li.assertNever(o);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new p4({...this._def,checks:[...this._def.checks,e]})}min(e,r){return this._addCheck({kind:"min",value:e.getTime(),message:Lr.toString(r)})}max(e,r){return this._addCheck({kind:"max",value:e.getTime(),message:Lr.toString(r)})}get minDate(){let e=null;for(const r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e!=null?new Date(e):null}}p4.create=t=>new p4({checks:[],coerce:t?.coerce||!1,typeName:sn.ZodDate,...On(t)});class PV extends Jn{_parse(e){if(this._getType(e)!==Or.symbol){const n=this._getOrReturnCtx(e);return mr(n,{code:Ht.invalid_type,expected:Or.symbol,received:n.parsedType}),fn}return Ku(e.data)}}PV.create=t=>new PV({typeName:sn.ZodSymbol,...On(t)});class IV extends Jn{_parse(e){if(this._getType(e)!==Or.undefined){const n=this._getOrReturnCtx(e);return mr(n,{code:Ht.invalid_type,expected:Or.undefined,received:n.parsedType}),fn}return Ku(e.data)}}IV.create=t=>new IV({typeName:sn.ZodUndefined,...On(t)});class NV extends Jn{_parse(e){if(this._getType(e)!==Or.null){const n=this._getOrReturnCtx(e);return mr(n,{code:Ht.invalid_type,expected:Or.null,received:n.parsedType}),fn}return Ku(e.data)}}NV.create=t=>new NV({typeName:sn.ZodNull,...On(t)});class FV extends Jn{constructor(){super(...arguments),this._any=!0}_parse(e){return Ku(e.data)}}FV.create=t=>new FV({typeName:sn.ZodAny,...On(t)});class TV extends Jn{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Ku(e.data)}}TV.create=t=>new TV({typeName:sn.ZodUnknown,...On(t)});class hm extends Jn{_parse(e){const r=this._getOrReturnCtx(e);return mr(r,{code:Ht.invalid_type,expected:Or.never,received:r.parsedType}),fn}}hm.create=t=>new hm({typeName:sn.ZodNever,...On(t)});class LV extends Jn{_parse(e){if(this._getType(e)!==Or.undefined){const n=this._getOrReturnCtx(e);return mr(n,{code:Ht.invalid_type,expected:Or.void,received:n.parsedType}),fn}return Ku(e.data)}}LV.create=t=>new LV({typeName:sn.ZodVoid,...On(t)});class gp extends Jn{_parse(e){const{ctx:r,status:n}=this._processInputParams(e),i=this._def;if(r.parsedType!==Or.array)return mr(r,{code:Ht.invalid_type,expected:Or.array,received:r.parsedType}),fn;if(i.exactLength!==null){const s=r.data.length>i.exactLength.value,a=r.data.length<i.exactLength.value;(s||a)&&(mr(r,{code:s?Ht.too_big:Ht.too_small,minimum:a?i.exactLength.value:void 0,maximum:s?i.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:i.exactLength.message}),n.dirty())}if(i.minLength!==null&&r.data.length<i.minLength.value&&(mr(r,{code:Ht.too_small,minimum:i.minLength.value,type:"array",inclusive:!0,exact:!1,message:i.minLength.message}),n.dirty()),i.maxLength!==null&&r.data.length>i.maxLength.value&&(mr(r,{code:Ht.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),n.dirty()),r.common.async)return Promise.all([...r.data].map((s,a)=>i.type._parseAsync(new bp(r,s,r.path,a)))).then(s=>Bl.mergeArray(n,s));const o=[...r.data].map((s,a)=>i.type._parseSync(new bp(r,s,r.path,a)));return Bl.mergeArray(n,o)}get element(){return this._def.type}min(e,r){return new gp({...this._def,minLength:{value:e,message:Lr.toString(r)}})}max(e,r){return new gp({...this._def,maxLength:{value:e,message:Lr.toString(r)}})}length(e,r){return new gp({...this._def,exactLength:{value:e,message:Lr.toString(r)}})}nonempty(e){return this.min(1,e)}}gp.create=(t,e)=>new gp({type:t,minLength:null,maxLength:null,exactLength:null,typeName:sn.ZodArray,...On(e)});function jy(t){if(t instanceof jo){const e={};for(const r in t.shape){const n=t.shape[r];e[r]=J0.create(jy(n))}return new jo({...t._def,shape:()=>e})}else return t instanceof gp?new gp({...t._def,type:jy(t.element)}):t instanceof J0?J0.create(jy(t.unwrap())):t instanceof vB?vB.create(jy(t.unwrap())):t instanceof _1?_1.create(t.items.map(e=>jy(e))):t}class jo extends Jn{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape(),r=li.objectKeys(e);return this._cached={shape:e,keys:r},this._cached}_parse(e){if(this._getType(e)!==Or.object){const c=this._getOrReturnCtx(e);return mr(c,{code:Ht.invalid_type,expected:Or.object,received:c.parsedType}),fn}const{status:n,ctx:i}=this._processInputParams(e),{shape:o,keys:s}=this._getCached(),a=[];if(!(this._def.catchall instanceof hm&&this._def.unknownKeys==="strip"))for(const c in i.data)s.includes(c)||a.push(c);const l=[];for(const c of s){const u=o[c],f=i.data[c];l.push({key:{status:"valid",value:c},value:u._parse(new bp(i,f,i.path,c)),alwaysSet:c in i.data})}if(this._def.catchall instanceof hm){const c=this._def.unknownKeys;if(c==="passthrough")for(const u of a)l.push({key:{status:"valid",value:u},value:{status:"valid",value:i.data[u]}});else if(c==="strict")a.length>0&&(mr(i,{code:Ht.unrecognized_keys,keys:a}),n.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const c=this._def.catchall;for(const u of a){const f=i.data[u];l.push({key:{status:"valid",value:u},value:c._parse(new bp(i,f,i.path,u)),alwaysSet:u in i.data})}}return i.common.async?Promise.resolve().then(async()=>{const c=[];for(const u of l){const f=await u.key,d=await u.value;c.push({key:f,value:d,alwaysSet:u.alwaysSet})}return c}).then(c=>Bl.mergeObjectSync(n,c)):Bl.mergeObjectSync(n,l)}get shape(){return this._def.shape()}strict(e){return Lr.errToObj,new jo({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(r,n)=>{const i=this._def.errorMap?.(r,n).message??n.defaultError;return r.code==="unrecognized_keys"?{message:Lr.errToObj(e).message??i}:{message:i}}}:{}})}strip(){return new jo({...this._def,unknownKeys:"strip"})}passthrough(){return new jo({...this._def,unknownKeys:"passthrough"})}extend(e){return new jo({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new jo({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:sn.ZodObject})}setKey(e,r){return this.augment({[e]:r})}catchall(e){return new jo({...this._def,catchall:e})}pick(e){const r={};for(const n of li.objectKeys(e))e[n]&&this.shape[n]&&(r[n]=this.shape[n]);return new jo({...this._def,shape:()=>r})}omit(e){const r={};for(const n of li.objectKeys(this.shape))e[n]||(r[n]=this.shape[n]);return new jo({...this._def,shape:()=>r})}deepPartial(){return jy(this)}partial(e){const r={};for(const n of li.objectKeys(this.shape)){const i=this.shape[n];e&&!e[n]?r[n]=i:r[n]=i.optional()}return new jo({...this._def,shape:()=>r})}required(e){const r={};for(const n of li.objectKeys(this.shape))if(e&&!e[n])r[n]=this.shape[n];else{let o=this.shape[n];for(;o instanceof J0;)o=o._def.innerType;r[n]=o}return new jo({...this._def,shape:()=>r})}keyof(){return U4e(li.objectKeys(this.shape))}}jo.create=(t,e)=>new jo({shape:()=>t,unknownKeys:"strip",catchall:hm.create(),typeName:sn.ZodObject,...On(e)});jo.strictCreate=(t,e)=>new jo({shape:()=>t,unknownKeys:"strict",catchall:hm.create(),typeName:sn.ZodObject,...On(e)});jo.lazycreate=(t,e)=>new jo({shape:t,unknownKeys:"strip",catchall:hm.create(),typeName:sn.ZodObject,...On(e)});class r9 extends Jn{_parse(e){const{ctx:r}=this._processInputParams(e),n=this._def.options;function i(o){for(const a of o)if(a.result.status==="valid")return a.result;for(const a of o)if(a.result.status==="dirty")return r.common.issues.push(...a.ctx.common.issues),a.result;const s=o.map(a=>new th(a.ctx.common.issues));return mr(r,{code:Ht.invalid_union,unionErrors:s}),fn}if(r.common.async)return Promise.all(n.map(async o=>{const s={...r,common:{...r.common,issues:[]},parent:null};return{result:await o._parseAsync({data:r.data,path:r.path,parent:s}),ctx:s}})).then(i);{let o;const s=[];for(const l of n){const c={...r,common:{...r.common,issues:[]},parent:null},u=l._parseSync({data:r.data,path:r.path,parent:c});if(u.status==="valid")return u;u.status==="dirty"&&!o&&(o={result:u,ctx:c}),c.common.issues.length&&s.push(c.common.issues)}if(o)return r.common.issues.push(...o.ctx.common.issues),o.result;const a=s.map(l=>new th(l));return mr(r,{code:Ht.invalid_union,unionErrors:a}),fn}}get options(){return this._def.options}}r9.create=(t,e)=>new r9({options:t,typeName:sn.ZodUnion,...On(e)});function RV(t,e){const r=f0(t),n=f0(e);if(t===e)return{valid:!0,data:t};if(r===Or.object&&n===Or.object){const i=li.objectKeys(e),o=li.objectKeys(t).filter(a=>i.indexOf(a)!==-1),s={...t,...e};for(const a of o){const l=RV(t[a],e[a]);if(!l.valid)return{valid:!1};s[a]=l.data}return{valid:!0,data:s}}else if(r===Or.array&&n===Or.array){if(t.length!==e.length)return{valid:!1};const i=[];for(let o=0;o<t.length;o++){const s=t[o],a=e[o],l=RV(s,a);if(!l.valid)return{valid:!1};i.push(l.data)}return{valid:!0,data:i}}else return r===Or.date&&n===Or.date&&+t==+e?{valid:!0,data:t}:{valid:!1}}class n9 extends Jn{_parse(e){const{status:r,ctx:n}=this._processInputParams(e),i=(o,s)=>{if(Hae(o)||Hae(s))return fn;const a=RV(o.value,s.value);return a.valid?((Gae(o)||Gae(s))&&r.dirty(),{status:r.value,value:a.data}):(mr(n,{code:Ht.invalid_intersection_types}),fn)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([o,s])=>i(o,s)):i(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}n9.create=(t,e,r)=>new n9({left:t,right:e,typeName:sn.ZodIntersection,...On(r)});class _1 extends Jn{_parse(e){const{status:r,ctx:n}=this._processInputParams(e);if(n.parsedType!==Or.array)return mr(n,{code:Ht.invalid_type,expected:Or.array,received:n.parsedType}),fn;if(n.data.length<this._def.items.length)return mr(n,{code:Ht.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),fn;!this._def.rest&&n.data.length>this._def.items.length&&(mr(n,{code:Ht.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),r.dirty());const o=[...n.data].map((s,a)=>{const l=this._def.items[a]||this._def.rest;return l?l._parse(new bp(n,s,n.path,a)):null}).filter(s=>!!s);return n.common.async?Promise.all(o).then(s=>Bl.mergeArray(r,s)):Bl.mergeArray(r,o)}get items(){return this._def.items}rest(e){return new _1({...this._def,rest:e})}}_1.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new _1({items:t,typeName:sn.ZodTuple,rest:null,...On(e)})};class i9 extends Jn{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:r,ctx:n}=this._processInputParams(e);if(n.parsedType!==Or.object)return mr(n,{code:Ht.invalid_type,expected:Or.object,received:n.parsedType}),fn;const i=[],o=this._def.keyType,s=this._def.valueType;for(const a in n.data)i.push({key:o._parse(new bp(n,a,n.path,a)),value:s._parse(new bp(n,n.data[a],n.path,a)),alwaysSet:a in n.data});return n.common.async?Bl.mergeObjectAsync(r,i):Bl.mergeObjectSync(r,i)}get element(){return this._def.valueType}static create(e,r,n){return r instanceof Jn?new i9({keyType:e,valueType:r,typeName:sn.ZodRecord,...On(n)}):new i9({keyType:DA.create(),valueType:e,typeName:sn.ZodRecord,...On(r)})}}class MV extends Jn{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:r,ctx:n}=this._processInputParams(e);if(n.parsedType!==Or.map)return mr(n,{code:Ht.invalid_type,expected:Or.map,received:n.parsedType}),fn;const i=this._def.keyType,o=this._def.valueType,s=[...n.data.entries()].map(([a,l],c)=>({key:i._parse(new bp(n,a,n.path,[c,"key"])),value:o._parse(new bp(n,l,n.path,[c,"value"]))}));if(n.common.async){const a=new Map;return Promise.resolve().then(async()=>{for(const l of s){const c=await l.key,u=await l.value;if(c.status==="aborted"||u.status==="aborted")return fn;(c.status==="dirty"||u.status==="dirty")&&r.dirty(),a.set(c.value,u.value)}return{status:r.value,value:a}})}else{const a=new Map;for(const l of s){const c=l.key,u=l.value;if(c.status==="aborted"||u.status==="aborted")return fn;(c.status==="dirty"||u.status==="dirty")&&r.dirty(),a.set(c.value,u.value)}return{status:r.value,value:a}}}}MV.create=(t,e,r)=>new MV({valueType:e,keyType:t,typeName:sn.ZodMap,...On(r)});class mB extends Jn{_parse(e){const{status:r,ctx:n}=this._processInputParams(e);if(n.parsedType!==Or.set)return mr(n,{code:Ht.invalid_type,expected:Or.set,received:n.parsedType}),fn;const i=this._def;i.minSize!==null&&n.data.size<i.minSize.value&&(mr(n,{code:Ht.too_small,minimum:i.minSize.value,type:"set",inclusive:!0,exact:!1,message:i.minSize.message}),r.dirty()),i.maxSize!==null&&n.data.size>i.maxSize.value&&(mr(n,{code:Ht.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),r.dirty());const o=this._def.valueType;function s(l){const c=new Set;for(const u of l){if(u.status==="aborted")return fn;u.status==="dirty"&&r.dirty(),c.add(u.value)}return{status:r.value,value:c}}const a=[...n.data.values()].map((l,c)=>o._parse(new bp(n,l,n.path,c)));return n.common.async?Promise.all(a).then(l=>s(l)):s(a)}min(e,r){return new mB({...this._def,minSize:{value:e,message:Lr.toString(r)}})}max(e,r){return new mB({...this._def,maxSize:{value:e,message:Lr.toString(r)}})}size(e,r){return this.min(e,r).max(e,r)}nonempty(e){return this.min(1,e)}}mB.create=(t,e)=>new mB({valueType:t,minSize:null,maxSize:null,typeName:sn.ZodSet,...On(e)});class _V extends Jn{get schema(){return this._def.getter()}_parse(e){const{ctx:r}=this._processInputParams(e);return this._def.getter()._parse({data:r.data,path:r.path,parent:r})}}_V.create=(t,e)=>new _V({getter:t,typeName:sn.ZodLazy,...On(e)});class jV extends Jn{_parse(e){if(e.data!==this._def.value){const r=this._getOrReturnCtx(e);return mr(r,{received:r.data,code:Ht.invalid_literal,expected:this._def.value}),fn}return{status:"valid",value:e.data}}get value(){return this._def.value}}jV.create=(t,e)=>new jV({value:t,typeName:sn.ZodLiteral,...On(e)});function U4e(t,e){return new gB({values:t,typeName:sn.ZodEnum,...On(e)})}class gB extends Jn{_parse(e){if(typeof e.data!="string"){const r=this._getOrReturnCtx(e),n=this._def.values;return mr(r,{expected:li.joinValues(n),received:r.parsedType,code:Ht.invalid_type}),fn}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){const r=this._getOrReturnCtx(e),n=this._def.values;return mr(r,{received:r.data,code:Ht.invalid_enum_value,options:n}),fn}return Ku(e.data)}get options(){return this._def.values}get enum(){const e={};for(const r of this._def.values)e[r]=r;return e}get Values(){const e={};for(const r of this._def.values)e[r]=r;return e}get Enum(){const e={};for(const r of this._def.values)e[r]=r;return e}extract(e,r=this._def){return gB.create(e,{...this._def,...r})}exclude(e,r=this._def){return gB.create(this.options.filter(n=>!e.includes(n)),{...this._def,...r})}}gB.create=U4e;class UV extends Jn{_parse(e){const r=li.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==Or.string&&n.parsedType!==Or.number){const i=li.objectValues(r);return mr(n,{expected:li.joinValues(i),received:n.parsedType,code:Ht.invalid_type}),fn}if(this._cache||(this._cache=new Set(li.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){const i=li.objectValues(r);return mr(n,{received:n.data,code:Ht.invalid_enum_value,options:i}),fn}return Ku(e.data)}get enum(){return this._def.values}}UV.create=(t,e)=>new UV({values:t,typeName:sn.ZodNativeEnum,...On(e)});class o9 extends Jn{unwrap(){return this._def.type}_parse(e){const{ctx:r}=this._processInputParams(e);if(r.parsedType!==Or.promise&&r.common.async===!1)return mr(r,{code:Ht.invalid_type,expected:Or.promise,received:r.parsedType}),fn;const n=r.parsedType===Or.promise?r.data:Promise.resolve(r.data);return Ku(n.then(i=>this._def.type.parseAsync(i,{path:r.path,errorMap:r.common.contextualErrorMap})))}}o9.create=(t,e)=>new o9({type:t,typeName:sn.ZodPromise,...On(e)});class mm extends Jn{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===sn.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:r,ctx:n}=this._processInputParams(e),i=this._def.effect||null,o={addIssue:s=>{mr(n,s),s.fatal?r.abort():r.dirty()},get path(){return n.path}};if(o.addIssue=o.addIssue.bind(o),i.type==="preprocess"){const s=i.transform(n.data,o);if(n.common.async)return Promise.resolve(s).then(async a=>{if(r.value==="aborted")return fn;const l=await this._def.schema._parseAsync({data:a,path:n.path,parent:n});return l.status==="aborted"?fn:l.status==="dirty"||r.value==="dirty"?Fw(l.value):l});{if(r.value==="aborted")return fn;const a=this._def.schema._parseSync({data:s,path:n.path,parent:n});return a.status==="aborted"?fn:a.status==="dirty"||r.value==="dirty"?Fw(a.value):a}}if(i.type==="refinement"){const s=a=>{const l=i.refinement(a,o);if(n.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return a};if(n.common.async===!1){const a=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return a.status==="aborted"?fn:(a.status==="dirty"&&r.dirty(),s(a.value),{status:r.value,value:a.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(a=>a.status==="aborted"?fn:(a.status==="dirty"&&r.dirty(),s(a.value).then(()=>({status:r.value,value:a.value}))))}if(i.type==="transform")if(n.common.async===!1){const s=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!pB(s))return fn;const a=i.transform(s.value,o);if(a instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:r.value,value:a}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(s=>pB(s)?Promise.resolve(i.transform(s.value,o)).then(a=>({status:r.value,value:a})):fn);li.assertNever(i)}}mm.create=(t,e,r)=>new mm({schema:t,typeName:sn.ZodEffects,effect:e,...On(r)});mm.createWithPreprocess=(t,e,r)=>new mm({schema:e,effect:{type:"preprocess",transform:t},typeName:sn.ZodEffects,...On(r)});class J0 extends Jn{_parse(e){return this._getType(e)===Or.undefined?Ku(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}J0.create=(t,e)=>new J0({innerType:t,typeName:sn.ZodOptional,...On(e)});class vB extends Jn{_parse(e){return this._getType(e)===Or.null?Ku(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}vB.create=(t,e)=>new vB({innerType:t,typeName:sn.ZodNullable,...On(e)});class QV extends Jn{_parse(e){const{ctx:r}=this._processInputParams(e);let n=r.data;return r.parsedType===Or.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:r.path,parent:r})}removeDefault(){return this._def.innerType}}QV.create=(t,e)=>new QV({innerType:t,typeName:sn.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...On(e)});class VV extends Jn{_parse(e){const{ctx:r}=this._processInputParams(e),n={...r,common:{...r.common,issues:[]}},i=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return t9(i)?i.then(o=>({status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new th(n.common.issues)},input:n.data})})):{status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new th(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}VV.create=(t,e)=>new VV({innerType:t,typeName:sn.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...On(e)});class $V extends Jn{_parse(e){if(this._getType(e)!==Or.nan){const n=this._getOrReturnCtx(e);return mr(n,{code:Ht.invalid_type,expected:Or.nan,received:n.parsedType}),fn}return{status:"valid",value:e.data}}}$V.create=t=>new $V({typeName:sn.ZodNaN,...On(t)});class dot extends Jn{_parse(e){const{ctx:r}=this._processInputParams(e),n=r.data;return this._def.type._parse({data:n,path:r.path,parent:r})}unwrap(){return this._def.type}}class EY extends Jn{_parse(e){const{status:r,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{const o=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return o.status==="aborted"?fn:o.status==="dirty"?(r.dirty(),Fw(o.value)):this._def.out._parseAsync({data:o.value,path:n.path,parent:n})})();{const i=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return i.status==="aborted"?fn:i.status==="dirty"?(r.dirty(),{status:"dirty",value:i.value}):this._def.out._parseSync({data:i.value,path:n.path,parent:n})}}static create(e,r){return new EY({in:e,out:r,typeName:sn.ZodPipeline})}}class HV extends Jn{_parse(e){const r=this._def.innerType._parse(e),n=i=>(pB(i)&&(i.value=Object.freeze(i.value)),i);return t9(r)?r.then(i=>n(i)):n(r)}unwrap(){return this._def.innerType}}HV.create=(t,e)=>new HV({innerType:t,typeName:sn.ZodReadonly,...On(e)});jo.lazycreate;var sn;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(sn||(sn={}));const Bt=DA.create,Gn=AB.create;$V.create;hB.create;const Ut=OV.create;p4.create;PV.create;IV.create;const Q4e=NV.create;FV.create;TV.create;hm.create;LV.create;const Dr=gp.create,Fr=jo.create;jo.strictCreate;const vp=r9.create;n9.create;_1.create;const DY=i9.create;MV.create;mB.create;_V.create;jV.create;const ba=gB.create;UV.create;o9.create;mm.create;J0.create;const pot=vB.create;mm.createWithPreprocess;const Aot=["name","hex","rgb","hsl","hsv","hwb","xyz","lab","lch","cmyk","hexa","rgba","hsla","hsva","hwba","lcha","raw"],f6=Fr({name:Bt(),value:Bt()}),V4e=Fr({id:Bt(),name:Bt(),value:Bt(),isDarkMode:Ut().optional(),darkValue:Bt().optional(),format:ba(Aot).optional(),transparent:Ut().optional(),transparentVariables:Dr(vp([Gn(),Bt()])).optional(),isShades:Ut().optional(),shades:Dr(f6).optional(),darkShades:Dr(f6).optional(),shadesNumber:Gn().optional(),isTints:Ut().optional(),tints:Dr(f6).optional(),darkTints:Dr(f6).optional(),tintsNumber:Gn().optional(),gen:Dr(Bt()).optional(),prevFormat:Bt().optional()}),$4e=Fr({name:Bt(),colors:Dr(V4e),id:Bt(),isDisabled:Ut().optional()}),H4e=Fr({genBg:Ut().optional(),genText:Ut().optional(),groups:Dr($4e)}),Qf=E.memo(({onClick:t,icon:e,title:r="Nothing in this section...",description:n="Click here to add a new selector"})=>C.jsxs("li",{className:"row align-center padding-l gap-l radius bg-primary hover-bg-tertiary pointer shadow-l",onClick:t,children:[e?C.jsx("span",{className:"svg-xl svg-filter-1",children:e}):null,C.jsxs("div",{className:"grid gap-s",children:[C.jsx("b",{className:"text-m",children:r}),n?C.jsx("p",{className:"text-s opacity-60",children:n}):null]})]}));Qf.displayName="EmptyClassSection";const j1=E.memo(function(){return C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2.5 14.5",children:C.jsx("g",{stroke:"currentColor",children:C.jsx("path",{d:"M1.25 12.75c-.27 0-.5.23-.5.5s.23.5.5.5.5-.23.5-.5-.23-.5-.5-.5M1.25 6.75c-.27 0-.5.23-.5.5s.23.5.5.5.5-.23.5-.5-.23-.5-.5-.5M1.25.75c-.27 0-.5.22-.5.5s.23.5.5.5.5-.22.5-.5-.23-.5-.5-.5",className:"d"})})})}),BI=E.memo(({value:t,onChange:e,onBlur:r,placeholder:n="Untitled",className:i,inputClasses:o})=>{const s=a=>e(a);return C.jsxs("div",{className:zr("autosize-input",i),children:[C.jsx("span",{className:"size-span",children:t}),C.jsx("input",{className:o,value:t,onChange:a=>s(a.target.value),placeholder:n,autoComplete:"off",spellCheck:"false",onBlur:a=>r(a.target.value)})]})});function Al(t,e){const[r,n]=E.useState(t);return E.useEffect(()=>{const i=setTimeout(()=>{n(t)},e);return()=>{clearTimeout(i)}},[t,e]),r}function rh(t,e){const r=E.useRef(!1);E.useEffect(()=>{r.current?t():r.current=!0},e)}const lv=E.forwardRef(({onTitleChange:t,onTargetClick:e,onTitleBlur:r,title:n,leftItems:i,rightItems:o,menuItems:s,titleInputClassName:a},l)=>{const[c,u]=E.useState(n),[f,d]=E.useState(!1),p=Al(c,300),h=E.useMemo(()=>s?.map(g=>g.confirm?{...Object.fromEntries(Object.entries(g).filter(([m])=>m!=="confirm")),onClick:()=>f?g.onClick?.():d(!0),closeMenuOnClick:f,style:f?{background:"#c2344e"}:{},label:f?"Are you sure?":g.label}:g),[f,s]),A=()=>{d(!1),e?.()};return rh(()=>t?.(p),[p]),C.jsxs("header",{className:"class-section-heading row space-between gap-m",children:[C.jsxs("div",{className:"input-wrapper row align-center gap-m",children:[t?C.jsx(BI,{className:zr("heading-input group-heading-input",a),value:c,onChange:g=>u(g),onBlur:()=>r?.()??void 0}):C.jsx("h2",{children:n}),!!i?.length&&C.jsx("div",{ref:l,className:"row align-center gap-s",children:i})]}),C.jsxs("div",{className:"row align-center gap-s",children:[!!o?.length&&C.jsx("div",{className:"row align-center gap-s full-height",children:o}),!!s?.length&&C.jsxs(br,{width:215,children:[C.jsx(br.Target,{children:C.jsx("button",{onClick:A,className:"btn-quaternary btn-box",children:C.jsx(j1,{})})}),C.jsx(br.Dropdown,{children:h?.map(({label:g,...m})=>C.jsx(br.Item,{...m,children:g},g))})]})]})]})});lv.displayName="ClassSectionHeading";const z3=E.memo(function(){return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 3",viewBox:"0 0 24 24",children:[C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M14.557 13.557a3.001 3.001 0 11-4.113-4.113M17.994 16.994A9.869 9.869 0 0112 19a9.453 9.453 0 01-8.554-5.088 4.322 4.322 0 010-3.824 8.9 8.9 0 013.777-3.865M20.424 14.134c.04-.076.092-.145.13-.222a4.322 4.322 0 000-3.824A9.453 9.453 0 0012 5c-.225 0-.443.03-.665.045"}),C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M21 20L4 3"})]})}),Uc=E.memo(function(){return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[C.jsx("rect",{width:"14",height:"14",x:"3",y:"7",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",rx:"3"}),C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M20 16a2.98 2.98 0 001-2.221V6a3 3 0 00-3-3h-7.779A2.98 2.98 0 008 4"}),C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M10 16.5L10 11.5"}),C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M7.5 14L12.5 14"})]})}),cv=E.memo(function(){return C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:C.jsxs("g",{fill:"none",children:[C.jsx("path",{d:"M0 0h24v24H0z"}),C.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M21 16.5l-9.011-9L3 16.5"})]})})}),gm=E.memo(function(){return C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:C.jsxs("g",{fill:"none",children:[C.jsx("path",{d:"M0 0h24v24H0z"}),C.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M21 7.5l-9 9-9-9"})]})})}),Xl=E.memo(function(){return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M21 7.492V19a2 2 0 01-2 2H5a2 2 0 01-2-2V7.492a4 4 0 01.12-.97l.501-2.007A2 2 0 015.561 3h12.877a2 2 0 011.94 1.515l.503 2.007a4 4 0 01.119.97z"}),C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M14.5 13.5L12 11 9.5 13.5"}),C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M12 17L12 11"}),C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M20.969 7L3.031 7"}),C.jsx("path",{fill:"none",d:"M0 0H24V24H0z"})]})}),_s=E.memo(function(){return C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:C.jsxs("g",{fill:"none",children:[C.jsx("path",{d:"M0 0h24v24H0z"}),C.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M16.138 21h-8.28a2.001 2.001 0 01-1.995-1.853L4.966 7H19l-.867 12.142A2 2 0 0116.138 21zM12 11v6M4 7h16M17 7l-1.013-2.702A2 2 0 0014.114 3H9.886a2 2 0 00-1.873 1.298L7 7M15.43 11L15 17M8.57 11L9 17"})]})})});function hot(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return E.useMemo(()=>n=>{e.forEach(i=>i(n))},e)}const CI=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function dC(t){const e=Object.prototype.toString.call(t);return e==="[object Window]"||e==="[object global]"}function kY(t){return"nodeType"in t}function xl(t){var e,r;return t?dC(t)?t:kY(t)&&(e=(r=t.ownerDocument)==null?void 0:r.defaultView)!=null?e:window:window}function OY(t){const{Document:e}=xl(t);return t instanceof e}function K3(t){return dC(t)?!1:t instanceof xl(t).HTMLElement}function G4e(t){return t instanceof xl(t).SVGElement}function pC(t){return t?dC(t)?t.document:kY(t)?OY(t)?t:K3(t)||G4e(t)?t.ownerDocument:document:document:document}const Vf=CI?E.useLayoutEffect:E.useEffect;function bI(t){const e=E.useRef(t);return Vf(()=>{e.current=t}),E.useCallback(function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return e.current==null?void 0:e.current(...n)},[])}function mot(){const t=E.useRef(null),e=E.useCallback((n,i)=>{t.current=setInterval(n,i)},[]),r=E.useCallback(()=>{t.current!==null&&(clearInterval(t.current),t.current=null)},[]);return[e,r]}function A4(t,e){e===void 0&&(e=[t]);const r=E.useRef(t);return Vf(()=>{r.current!==t&&(r.current=t)},e),r}function q3(t,e){const r=E.useRef();return E.useMemo(()=>{const n=t(r.current);return r.current=n,n},[...e])}function s9(t){const e=bI(t),r=E.useRef(null),n=E.useCallback(i=>{i!==r.current&&e?.(i,r.current),r.current=i},[]);return[r,n]}function a9(t){const e=E.useRef();return E.useEffect(()=>{e.current=t},[t]),e.current}let GT={};function X3(t,e){return E.useMemo(()=>{if(e)return e;const r=GT[t]==null?0:GT[t]+1;return GT[t]=r,t+"-"+r},[t,e])}function W4e(t){return function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return n.reduce((o,s)=>{const a=Object.entries(s);for(const[l,c]of a){const u=o[l];u!=null&&(o[l]=u+t*c)}return o},{...e})}}const I2=W4e(1),h4=W4e(-1);function got(t){return"clientX"in t&&"clientY"in t}function wI(t){if(!t)return!1;const{KeyboardEvent:e}=xl(t.target);return e&&t instanceof e}function vot(t){if(!t)return!1;const{TouchEvent:e}=xl(t.target);return e&&t instanceof e}function l9(t){if(vot(t)){if(t.touches&&t.touches.length){const{clientX:e,clientY:r}=t.touches[0];return{x:e,y:r}}else if(t.changedTouches&&t.changedTouches.length){const{clientX:e,clientY:r}=t.changedTouches[0];return{x:e,y:r}}}return got(t)?{x:t.clientX,y:t.clientY}:null}const Po=Object.freeze({Translate:{toString(t){if(!t)return;const{x:e,y:r}=t;return"translate3d("+(e?Math.round(e):0)+"px, "+(r?Math.round(r):0)+"px, 0)"}},Scale:{toString(t){if(!t)return;const{scaleX:e,scaleY:r}=t;return"scaleX("+e+") scaleY("+r+")"}},Transform:{toString(t){if(t)return[Po.Translate.toString(t),Po.Scale.toString(t)].join(" ")}},Transition:{toString(t){let{property:e,duration:r,easing:n}=t;return e+" "+r+"ms "+n}}}),zae="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function yot(t){return t.matches(zae)?t:t.querySelector(zae)}const Bot={display:"none"};function Cot(t){let{id:e,value:r}=t;return ve.createElement("div",{id:e,style:Bot},r)}function bot(t){let{id:e,announcement:r,ariaLiveType:n="assertive"}=t;const i={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return ve.createElement("div",{id:e,style:i,role:"status","aria-live":n,"aria-atomic":!0},r)}function wot(){const[t,e]=E.useState("");return{announce:E.useCallback(n=>{n!=null&&e(n)},[]),announcement:t}}const z4e=E.createContext(null);function xot(t){const e=E.useContext(z4e);E.useEffect(()=>{if(!e)throw new Error("useDndMonitor must be used within a children of <DndContext>");return e(t)},[t,e])}function Sot(){const[t]=E.useState(()=>new Set),e=E.useCallback(n=>(t.add(n),()=>t.delete(n)),[t]);return[E.useCallback(n=>{let{type:i,event:o}=n;t.forEach(s=>{var a;return(a=s[i])==null?void 0:a.call(s,o)})},[t]),e]}const Eot={draggable:` To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel. `},Dot={onDragStart(t){let{active:e}=t;return"Picked up draggable item "+e.id+"."},onDragOver(t){let{active:e,over:r}=t;return r?"Draggable item "+e.id+" was moved over droppable area "+r.id+".":"Draggable item "+e.id+" is no longer over a droppable area."},onDragEnd(t){let{active:e,over:r}=t;return r?"Draggable item "+e.id+" was dropped over droppable area "+r.id:"Draggable item "+e.id+" was dropped."},onDragCancel(t){let{active:e}=t;return"Dragging was cancelled. Draggable item "+e.id+" was dropped."}};function kot(t){let{announcements:e=Dot,container:r,hiddenTextDescribedById:n,screenReaderInstructions:i=Eot}=t;const{announce:o,announcement:s}=wot(),a=X3("DndLiveRegion"),[l,c]=E.useState(!1);if(E.useEffect(()=>{c(!0)},[]),xot(E.useMemo(()=>({onDragStart(f){let{active:d}=f;o(e.onDragStart({active:d}))},onDragMove(f){let{active:d,over:p}=f;e.onDragMove&&o(e.onDragMove({active:d,over:p}))},onDragOver(f){let{active:d,over:p}=f;o(e.onDragOver({active:d,over:p}))},onDragEnd(f){let{active:d,over:p}=f;o(e.onDragEnd({active:d,over:p}))},onDragCancel(f){let{active:d,over:p}=f;o(e.onDragCancel({active:d,over:p}))}}),[o,e])),!l)return null;const u=ve.createElement(ve.Fragment,null,ve.createElement(Cot,{id:n,value:i.draggable}),ve.createElement(bot,{id:a,announcement:s}));return r?pl.createPortal(u,r):u}var Ps;(function(t){t.DragStart="dragStart",t.DragMove="dragMove",t.DragEnd="dragEnd",t.DragCancel="dragCancel",t.DragOver="dragOver",t.RegisterDroppable="registerDroppable",t.SetDroppableDisabled="setDroppableDisabled",t.UnregisterDroppable="unregisterDroppable"})(Ps||(Ps={}));function c9(){}function ls(t,e){return E.useMemo(()=>({sensor:t,options:e??{}}),[t,e])}function rd(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return E.useMemo(()=>[...e].filter(n=>n!=null),[...e])}const $f=Object.freeze({x:0,y:0});function K4e(t,e){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function Oot(t,e){const r=l9(t);if(!r)return"0 0";const n={x:(r.x-e.left)/e.width*100,y:(r.y-e.top)/e.height*100};return n.x+"% "+n.y+"%"}function q4e(t,e){let{data:{value:r}}=t,{data:{value:n}}=e;return r-n}function Pot(t,e){let{data:{value:r}}=t,{data:{value:n}}=e;return n-r}function Kae(t){let{left:e,top:r,height:n,width:i}=t;return[{x:e,y:r},{x:e+i,y:r},{x:e,y:r+n},{x:e+i,y:r+n}]}function X4e(t,e){if(!t||t.length===0)return null;const[r]=t;return e?r[e]:r}function qae(t,e,r){return e===void 0&&(e=t.left),r===void 0&&(r=t.top),{x:e+t.width*.5,y:r+t.height*.5}}const Hf=t=>{let{collisionRect:e,droppableRects:r,droppableContainers:n}=t;const i=qae(e,e.left,e.top),o=[];for(const s of n){const{id:a}=s,l=r.get(a);if(l){const c=K4e(qae(l),i);o.push({id:a,data:{droppableContainer:s,value:c}})}}return o.sort(q4e)},Y4e=t=>{let{collisionRect:e,droppableRects:r,droppableContainers:n}=t;const i=Kae(e),o=[];for(const s of n){const{id:a}=s,l=r.get(a);if(l){const c=Kae(l),u=i.reduce((d,p,h)=>d+K4e(c[h],p),0),f=Number((u/4).toFixed(4));o.push({id:a,data:{droppableContainer:s,value:f}})}}return o.sort(q4e)};function Iot(t,e){const r=Math.max(e.top,t.top),n=Math.max(e.left,t.left),i=Math.min(e.left+e.width,t.left+t.width),o=Math.min(e.top+e.height,t.top+t.height),s=i-n,a=o-r;if(n<i&&r<o){const l=e.width*e.height,c=t.width*t.height,u=s*a,f=u/(l+c-u);return Number(f.toFixed(4))}return 0}const Not=t=>{let{collisionRect:e,droppableRects:r,droppableContainers:n}=t;const i=[];for(const o of n){const{id:s}=o,a=r.get(s);if(a){const l=Iot(a,e);l>0&&i.push({id:s,data:{droppableContainer:o,value:l}})}}return i.sort(Pot)};function Fot(t,e,r){return{...t,scaleX:e&&r?e.width/r.width:1,scaleY:e&&r?e.height/r.height:1}}function J4e(t,e){return t&&e?{x:t.left-e.left,y:t.top-e.top}:$f}function Tot(t){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return i.reduce((s,a)=>({...s,top:s.top+t*a.y,bottom:s.bottom+t*a.y,left:s.left+t*a.x,right:s.right+t*a.x}),{...r})}}const Lot=Tot(1);function Z4e(t){if(t.startsWith("matrix3d(")){const e=t.slice(9,-1).split(/, /);return{x:+e[12],y:+e[13],scaleX:+e[0],scaleY:+e[5]}}else if(t.startsWith("matrix(")){const e=t.slice(7,-1).split(/, /);return{x:+e[4],y:+e[5],scaleX:+e[0],scaleY:+e[3]}}return null}function Rot(t,e,r){const n=Z4e(e);if(!n)return t;const{scaleX:i,scaleY:o,x:s,y:a}=n,l=t.left-s-(1-i)*parseFloat(r),c=t.top-a-(1-o)*parseFloat(r.slice(r.indexOf(" ")+1)),u=i?t.width/i:t.width,f=o?t.height/o:t.height;return{width:u,height:f,top:c,right:l+u,bottom:c+f,left:l}}const Mot={ignoreTransform:!1};function AC(t,e){e===void 0&&(e=Mot);let r=t.getBoundingClientRect();if(e.ignoreTransform){const{transform:c,transformOrigin:u}=xl(t).getComputedStyle(t);c&&(r=Rot(r,c,u))}const{top:n,left:i,width:o,height:s,bottom:a,right:l}=r;return{top:n,left:i,width:o,height:s,bottom:a,right:l}}function Xae(t){return AC(t,{ignoreTransform:!0})}function _ot(t){const e=t.innerWidth,r=t.innerHeight;return{top:0,left:0,right:e,bottom:r,width:e,height:r}}function jot(t,e){return e===void 0&&(e=xl(t).getComputedStyle(t)),e.position==="fixed"}function Uot(t,e){e===void 0&&(e=xl(t).getComputedStyle(t));const r=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(i=>{const o=e[i];return typeof o=="string"?r.test(o):!1})}function xI(t,e){const r=[];function n(i){if(e!=null&&r.length>=e||!i)return r;if(OY(i)&&i.scrollingElement!=null&&!r.includes(i.scrollingElement))return r.push(i.scrollingElement),r;if(!K3(i)||G4e(i)||r.includes(i))return r;const o=xl(t).getComputedStyle(i);return i!==t&&Uot(i,o)&&r.push(i),jot(i,o)?r:n(i.parentNode)}return t?n(t):r}function e3e(t){const[e]=xI(t,1);return e??null}function WT(t){return!CI||!t?null:dC(t)?t:kY(t)?OY(t)||t===pC(t).scrollingElement?window:K3(t)?t:null:null}function t3e(t){return dC(t)?t.scrollX:t.scrollLeft}function r3e(t){return dC(t)?t.scrollY:t.scrollTop}function GV(t){return{x:t3e(t),y:r3e(t)}}var qs;(function(t){t[t.Forward=1]="Forward",t[t.Backward=-1]="Backward"})(qs||(qs={}));function n3e(t){return!CI||!t?!1:t===document.scrollingElement}function i3e(t){const e={x:0,y:0},r=n3e(t)?{height:window.innerHeight,width:window.innerWidth}:{height:t.clientHeight,width:t.clientWidth},n={x:t.scrollWidth-r.width,y:t.scrollHeight-r.height},i=t.scrollTop<=e.y,o=t.scrollLeft<=e.x,s=t.scrollTop>=n.y,a=t.scrollLeft>=n.x;return{isTop:i,isLeft:o,isBottom:s,isRight:a,maxScroll:n,minScroll:e}}const Qot={x:.2,y:.2};function Vot(t,e,r,n,i){let{top:o,left:s,right:a,bottom:l}=r;n===void 0&&(n=10),i===void 0&&(i=Qot);const{isTop:c,isBottom:u,isLeft:f,isRight:d}=i3e(t),p={x:0,y:0},h={x:0,y:0},A={height:e.height*i.y,width:e.width*i.x};return!c&&o<=e.top+A.height?(p.y=qs.Backward,h.y=n*Math.abs((e.top+A.height-o)/A.height)):!u&&l>=e.bottom-A.height&&(p.y=qs.Forward,h.y=n*Math.abs((e.bottom-A.height-l)/A.height)),!d&&a>=e.right-A.width?(p.x=qs.Forward,h.x=n*Math.abs((e.right-A.width-a)/A.width)):!f&&s<=e.left+A.width&&(p.x=qs.Backward,h.x=n*Math.abs((e.left+A.width-s)/A.width)),{direction:p,speed:h}}function $ot(t){if(t===document.scrollingElement){const{innerWidth:o,innerHeight:s}=window;return{top:0,left:0,right:o,bottom:s,width:o,height:s}}const{top:e,left:r,right:n,bottom:i}=t.getBoundingClientRect();return{top:e,left:r,right:n,bottom:i,width:t.clientWidth,height:t.clientHeight}}function o3e(t){return t.reduce((e,r)=>I2(e,GV(r)),$f)}function Hot(t){return t.reduce((e,r)=>e+t3e(r),0)}function Got(t){return t.reduce((e,r)=>e+r3e(r),0)}function s3e(t,e){if(e===void 0&&(e=AC),!t)return;const{top:r,left:n,bottom:i,right:o}=e(t);e3e(t)&&(i<=0||o<=0||r>=window.innerHeight||n>=window.innerWidth)&&t.scrollIntoView({block:"center",inline:"center"})}const Wot=[["x",["left","right"],Hot],["y",["top","bottom"],Got]];class PY{constructor(e,r){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=xI(r),i=o3e(n);this.rect={...e},this.width=e.width,this.height=e.height;for(const[o,s,a]of Wot)for(const l of s)Object.defineProperty(this,l,{get:()=>{const c=a(n),u=i[o]-c;return this.rect[l]+u},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class A5{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(r=>{var n;return(n=this.target)==null?void 0:n.removeEventListener(...r)})},this.target=e}add(e,r,n){var i;(i=this.target)==null||i.addEventListener(e,r,n),this.listeners.push([e,r,n])}}function zot(t){const{EventTarget:e}=xl(t);return t instanceof e?t:pC(t)}function zT(t,e){const r=Math.abs(t.x),n=Math.abs(t.y);return typeof e=="number"?Math.sqrt(r**2+n**2)>e:"x"in e&&"y"in e?r>e.x&&n>e.y:"x"in e?r>e.x:"y"in e?n>e.y:!1}var Au;(function(t){t.Click="click",t.DragStart="dragstart",t.Keydown="keydown",t.ContextMenu="contextmenu",t.Resize="resize",t.SelectionChange="selectionchange",t.VisibilityChange="visibilitychange"})(Au||(Au={}));function Yae(t){t.preventDefault()}function Kot(t){t.stopPropagation()}var Kn;(function(t){t.Space="Space",t.Down="ArrowDown",t.Right="ArrowRight",t.Left="ArrowLeft",t.Up="ArrowUp",t.Esc="Escape",t.Enter="Enter",t.Tab="Tab"})(Kn||(Kn={}));const a3e={start:[Kn.Space,Kn.Enter],cancel:[Kn.Esc],end:[Kn.Space,Kn.Enter,Kn.Tab]},qot=(t,e)=>{let{currentCoordinates:r}=e;switch(t.code){case Kn.Right:return{...r,x:r.x+25};case Kn.Left:return{...r,x:r.x-25};case Kn.Down:return{...r,y:r.y+25};case Kn.Up:return{...r,y:r.y-25}}};class qu{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:r}}=e;this.props=e,this.listeners=new A5(pC(r)),this.windowListeners=new A5(xl(r)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Au.Resize,this.handleCancel),this.windowListeners.add(Au.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Au.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:e,onStart:r}=this.props,n=e.node.current;n&&s3e(n),r($f)}handleKeyDown(e){if(wI(e)){const{active:r,context:n,options:i}=this.props,{keyboardCodes:o=a3e,coordinateGetter:s=qot,scrollBehavior:a="smooth"}=i,{code:l}=e;if(o.end.includes(l)){this.handleEnd(e);return}if(o.cancel.includes(l)){this.handleCancel(e);return}const{collisionRect:c}=n.current,u=c?{x:c.left,y:c.top}:$f;this.referenceCoordinates||(this.referenceCoordinates=u);const f=s(e,{active:r,context:n.current,currentCoordinates:u});if(f){const d=h4(f,u),p={x:0,y:0},{scrollableAncestors:h}=n.current;for(const A of h){const g=e.code,{isTop:m,isRight:v,isLeft:y,isBottom:b,maxScroll:B,minScroll:S}=i3e(A),w=$ot(A),x={x:Math.min(g===Kn.Right?w.right-w.width/2:w.right,Math.max(g===Kn.Right?w.left:w.left+w.width/2,f.x)),y:Math.min(g===Kn.Down?w.bottom-w.height/2:w.bottom,Math.max(g===Kn.Down?w.top:w.top+w.height/2,f.y))},I=g===Kn.Right&&!v||g===Kn.Left&&!y,F=g===Kn.Down&&!b||g===Kn.Up&&!m;if(I&&x.x!==f.x){const k=A.scrollLeft+d.x,O=g===Kn.Right&&k<=B.x||g===Kn.Left&&k>=S.x;if(O&&!d.y){A.scrollTo({left:k,behavior:a});return}O?p.x=A.scrollLeft-k:p.x=g===Kn.Right?A.scrollLeft-B.x:A.scrollLeft-S.x,p.x&&A.scrollBy({left:-p.x,behavior:a});break}else if(F&&x.y!==f.y){const k=A.scrollTop+d.y,O=g===Kn.Down&&k<=B.y||g===Kn.Up&&k>=S.y;if(O&&!d.x){A.scrollTo({top:k,behavior:a});return}O?p.y=A.scrollTop-k:p.y=g===Kn.Down?A.scrollTop-B.y:A.scrollTop-S.y,p.y&&A.scrollBy({top:-p.y,behavior:a});break}}this.handleMove(e,I2(h4(f,this.referenceCoordinates),p))}}}handleMove(e,r){const{onMove:n}=this.props;e.preventDefault(),n(r)}handleEnd(e){const{onEnd:r}=this.props;e.preventDefault(),this.detach(),r()}handleCancel(e){const{onCancel:r}=this.props;e.preventDefault(),this.detach(),r()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}qu.activators=[{eventName:"onKeyDown",handler:(t,e,r)=>{let{keyboardCodes:n=a3e,onActivation:i}=e,{active:o}=r;const{code:s}=t.nativeEvent;if(n.start.includes(s)){const a=o.activatorNode.current;return a&&t.target!==a?!1:(t.preventDefault(),i?.({event:t.nativeEvent}),!0)}return!1}}];function Jae(t){return!!(t&&"distance"in t)}function Zae(t){return!!(t&&"delay"in t)}class IY{constructor(e,r,n){var i;n===void 0&&(n=zot(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=r;const{event:o}=e,{target:s}=o;this.props=e,this.events=r,this.document=pC(s),this.documentListeners=new A5(this.document),this.listeners=new A5(n),this.windowListeners=new A5(xl(s)),this.initialCoordinates=(i=l9(o))!=null?i:$f,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:r,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(Au.Resize,this.handleCancel),this.windowListeners.add(Au.DragStart,Yae),this.windowListeners.add(Au.VisibilityChange,this.handleCancel),this.windowListeners.add(Au.ContextMenu,Yae),this.documentListeners.add(Au.Keydown,this.handleKeydown),r){if(n!=null&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(Zae(r)){this.timeoutId=setTimeout(this.handleStart,r.delay),this.handlePending(r);return}if(Jae(r)){this.handlePending(r);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,r){const{active:n,onPending:i}=this.props;i(n,e,this.initialCoordinates,r)}handleStart(){const{initialCoordinates:e}=this,{onStart:r}=this.props;e&&(this.activated=!0,this.documentListeners.add(Au.Click,Kot,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Au.SelectionChange,this.removeTextSelection),r(e))}handleMove(e){var r;const{activated:n,initialCoordinates:i,props:o}=this,{onMove:s,options:{activationConstraint:a}}=o;if(!i)return;const l=(r=l9(e))!=null?r:$f,c=h4(i,l);if(!n&&a){if(Jae(a)){if(a.tolerance!=null&&zT(c,a.tolerance))return this.handleCancel();if(zT(c,a.distance))return this.handleStart()}if(Zae(a)&&zT(c,a.tolerance))return this.handleCancel();this.handlePending(a,c);return}e.cancelable&&e.preventDefault(),s(l)}handleEnd(){const{onAbort:e,onEnd:r}=this.props;this.detach(),this.activated||e(this.props.active),r()}handleCancel(){const{onAbort:e,onCancel:r}=this.props;this.detach(),this.activated||e(this.props.active),r()}handleKeydown(e){e.code===Kn.Esc&&this.handleCancel()}removeTextSelection(){var e;(e=this.document.getSelection())==null||e.removeAllRanges()}}const Xot={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class Xc extends IY{constructor(e){const{event:r}=e,n=pC(r.target);super(e,Xot,n)}}Xc.activators=[{eventName:"onPointerDown",handler:(t,e)=>{let{nativeEvent:r}=t,{onActivation:n}=e;return!r.isPrimary||r.button!==0?!1:(n?.({event:r}),!0)}}];const Yot={move:{name:"mousemove"},end:{name:"mouseup"}};var WV;(function(t){t[t.RightClick=2]="RightClick"})(WV||(WV={}));class Jot extends IY{constructor(e){super(e,Yot,pC(e.event.target))}}Jot.activators=[{eventName:"onMouseDown",handler:(t,e)=>{let{nativeEvent:r}=t,{onActivation:n}=e;return r.button===WV.RightClick?!1:(n?.({event:r}),!0)}}];const KT={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class Zot extends IY{constructor(e){super(e,KT)}static setup(){return window.addEventListener(KT.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(KT.move.name,e)};function e(){}}}Zot.activators=[{eventName:"onTouchStart",handler:(t,e)=>{let{nativeEvent:r}=t,{onActivation:n}=e;const{touches:i}=r;return i.length>1?!1:(n?.({event:r}),!0)}}];var h5;(function(t){t[t.Pointer=0]="Pointer",t[t.DraggableRect=1]="DraggableRect"})(h5||(h5={}));var u9;(function(t){t[t.TreeOrder=0]="TreeOrder",t[t.ReversedTreeOrder=1]="ReversedTreeOrder"})(u9||(u9={}));function est(t){let{acceleration:e,activator:r=h5.Pointer,canScroll:n,draggingRect:i,enabled:o,interval:s=5,order:a=u9.TreeOrder,pointerCoordinates:l,scrollableAncestors:c,scrollableAncestorRects:u,delta:f,threshold:d}=t;const p=rst({delta:f,disabled:!o}),[h,A]=mot(),g=E.useRef({x:0,y:0}),m=E.useRef({x:0,y:0}),v=E.useMemo(()=>{switch(r){case h5.Pointer:return l?{top:l.y,bottom:l.y,left:l.x,right:l.x}:null;case h5.DraggableRect:return i}},[r,i,l]),y=E.useRef(null),b=E.useCallback(()=>{const S=y.current;if(!S)return;const w=g.current.x*m.current.x,x=g.current.y*m.current.y;S.scrollBy(w,x)},[]),B=E.useMemo(()=>a===u9.TreeOrder?[...c].reverse():c,[a,c]);E.useEffect(()=>{if(!o||!c.length||!v){A();return}for(const S of B){if(n?.(S)===!1)continue;const w=c.indexOf(S),x=u[w];if(!x)continue;const{direction:I,speed:F}=Vot(S,x,v,e,d);for(const k of["x","y"])p[k][I[k]]||(F[k]=0,I[k]=0);if(F.x>0||F.y>0){A(),y.current=S,h(b,s),g.current=F,m.current=I;return}}g.current={x:0,y:0},m.current={x:0,y:0},A()},[e,b,n,A,o,s,JSON.stringify(v),JSON.stringify(p),h,c,B,u,JSON.stringify(d)])}const tst={x:{[qs.Backward]:!1,[qs.Forward]:!1},y:{[qs.Backward]:!1,[qs.Forward]:!1}};function rst(t){let{delta:e,disabled:r}=t;const n=a9(e);return q3(i=>{if(r||!n||!i)return tst;const o={x:Math.sign(e.x-n.x),y:Math.sign(e.y-n.y)};return{x:{[qs.Backward]:i.x[qs.Backward]||o.x===-1,[qs.Forward]:i.x[qs.Forward]||o.x===1},y:{[qs.Backward]:i.y[qs.Backward]||o.y===-1,[qs.Forward]:i.y[qs.Forward]||o.y===1}}},[r,e,n])}function nst(t,e){const r=e!=null?t.get(e):void 0,n=r?r.node.current:null;return q3(i=>{var o;return e==null?null:(o=n??i)!=null?o:null},[n,e])}function ist(t,e){return E.useMemo(()=>t.reduce((r,n)=>{const{sensor:i}=n,o=i.activators.map(s=>({eventName:s.eventName,handler:e(s.handler,n)}));return[...r,...o]},[]),[t,e])}var m4;(function(t){t[t.Always=0]="Always",t[t.BeforeDragging=1]="BeforeDragging",t[t.WhileDragging=2]="WhileDragging"})(m4||(m4={}));var zV;(function(t){t.Optimized="optimized"})(zV||(zV={}));const ele=new Map;function ost(t,e){let{dragging:r,dependencies:n,config:i}=e;const[o,s]=E.useState(null),{frequency:a,measure:l,strategy:c}=i,u=E.useRef(t),f=g(),d=A4(f),p=E.useCallback(function(m){m===void 0&&(m=[]),!d.current&&s(v=>v===null?m:v.concat(m.filter(y=>!v.includes(y))))},[d]),h=E.useRef(null),A=q3(m=>{if(f&&!r)return ele;if(!m||m===ele||u.current!==t||o!=null){const v=new Map;for(let y of t){if(!y)continue;if(o&&o.length>0&&!o.includes(y.id)&&y.rect.current){v.set(y.id,y.rect.current);continue}const b=y.node.current,B=b?new PY(l(b),b):null;y.rect.current=B,B&&v.set(y.id,B)}return v}return m},[t,o,r,f,l]);return E.useEffect(()=>{u.current=t},[t]),E.useEffect(()=>{f||p()},[r,f]),E.useEffect(()=>{o&&o.length>0&&s(null)},[JSON.stringify(o)]),E.useEffect(()=>{f||typeof a!="number"||h.current!==null||(h.current=setTimeout(()=>{p(),h.current=null},a))},[a,f,p,...n]),{droppableRects:A,measureDroppableContainers:p,measuringScheduled:o!=null};function g(){switch(c){case m4.Always:return!1;case m4.BeforeDragging:return r;default:return!r}}}function NY(t,e){return q3(r=>t?r||(typeof e=="function"?e(t):t):null,[e,t])}function sst(t,e){return NY(t,e)}function ast(t){let{callback:e,disabled:r}=t;const n=bI(e),i=E.useMemo(()=>{if(r||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:o}=window;return new o(n)},[n,r]);return E.useEffect(()=>()=>i?.disconnect(),[i]),i}function SI(t){let{callback:e,disabled:r}=t;const n=bI(e),i=E.useMemo(()=>{if(r||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:o}=window;return new o(n)},[r]);return E.useEffect(()=>()=>i?.disconnect(),[i]),i}function lst(t){return new PY(AC(t),t)}function tle(t,e,r){e===void 0&&(e=lst);const[n,i]=E.useState(null);function o(){i(l=>{if(!t)return null;if(t.isConnected===!1){var c;return(c=l??r)!=null?c:null}const u=e(t);return JSON.stringify(l)===JSON.stringify(u)?l:u})}const s=ast({callback(l){if(t)for(const c of l){const{type:u,target:f}=c;if(u==="childList"&&f instanceof HTMLElement&&f.contains(t)){o();break}}}}),a=SI({callback:o});return Vf(()=>{o(),t?(a?.observe(t),s?.observe(document.body,{childList:!0,subtree:!0})):(a?.disconnect(),s?.disconnect())},[t]),n}function cst(t){const e=NY(t);return J4e(t,e)}const rle=[];function ust(t){const e=E.useRef(t),r=q3(n=>t?n&&n!==rle&&t&&e.current&&t.parentNode===e.current.parentNode?n:xI(t):rle,[t]);return E.useEffect(()=>{e.current=t},[t]),r}function fst(t){const[e,r]=E.useState(null),n=E.useRef(t),i=E.useCallback(o=>{const s=WT(o.target);s&&r(a=>a?(a.set(s,GV(s)),new Map(a)):null)},[]);return E.useEffect(()=>{const o=n.current;if(t!==o){s(o);const a=t.map(l=>{const c=WT(l);return c?(c.addEventListener("scroll",i,{passive:!0}),[c,GV(c)]):null}).filter(l=>l!=null);r(a.length?new Map(a):null),n.current=t}return()=>{s(t),s(o)};function s(a){a.forEach(l=>{const c=WT(l);c?.removeEventListener("scroll",i)})}},[i,t]),E.useMemo(()=>t.length?e?Array.from(e.values()).reduce((o,s)=>I2(o,s),$f):o3e(t):$f,[t,e])}function nle(t,e){e===void 0&&(e=[]);const r=E.useRef(null);return E.useEffect(()=>{r.current=null},e),E.useEffect(()=>{const n=t!==$f;n&&!r.current&&(r.current=t),!n&&r.current&&(r.current=null)},[t]),r.current?h4(t,r.current):$f}function dst(t){E.useEffect(()=>{if(!CI)return;const e=t.map(r=>{let{sensor:n}=r;return n.setup==null?void 0:n.setup()});return()=>{for(const r of e)r?.()}},t.map(e=>{let{sensor:r}=e;return r}))}function pst(t,e){return E.useMemo(()=>t.reduce((r,n)=>{let{eventName:i,handler:o}=n;return r[i]=s=>{o(s,e)},r},{}),[t,e])}function l3e(t){return E.useMemo(()=>t?_ot(t):null,[t])}const ile=[];function Ast(t,e){e===void 0&&(e=AC);const[r]=t,n=l3e(r?xl(r):null),[i,o]=E.useState(ile);function s(){o(()=>t.length?t.map(l=>n3e(l)?n:new PY(e(l),l)):ile)}const a=SI({callback:s});return Vf(()=>{a?.disconnect(),s(),t.forEach(l=>a?.observe(l))},[t]),i}function c3e(t){if(!t)return null;if(t.children.length>1)return t;const e=t.children[0];return K3(e)?e:t}function hst(t){let{measure:e}=t;const[r,n]=E.useState(null),i=E.useCallback(c=>{for(const{target:u}of c)if(K3(u)){n(f=>{const d=e(u);return f?{...f,width:d.width,height:d.height}:d});break}},[e]),o=SI({callback:i}),s=E.useCallback(c=>{const u=c3e(c);o?.disconnect(),u&&o?.observe(u),n(u?e(u):null)},[e,o]),[a,l]=s9(s);return E.useMemo(()=>({nodeRef:a,rect:r,setRef:l}),[r,a,l])}const mst=[{sensor:Xc,options:{}},{sensor:qu,options:{}}],gst={current:{}},nD={draggable:{measure:Xae},droppable:{measure:Xae,strategy:m4.WhileDragging,frequency:zV.Optimized},dragOverlay:{measure:AC}};class m5 extends Map{get(e){var r;return e!=null&&(r=super.get(e))!=null?r:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:r}=e;return!r})}getNodeFor(e){var r,n;return(r=(n=this.get(e))==null?void 0:n.node.current)!=null?r:void 0}}const vst={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new m5,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:c9},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:nD,measureDroppableContainers:c9,windowRect:null,measuringScheduled:!1},u3e={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:c9,draggableNodes:new Map,over:null,measureDroppableContainers:c9},Y3=E.createContext(u3e),f3e=E.createContext(vst);function yst(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new m5}}}function Bst(t,e){switch(e.type){case Ps.DragStart:return{...t,draggable:{...t.draggable,initialCoordinates:e.initialCoordinates,active:e.active}};case Ps.DragMove:return t.draggable.active==null?t:{...t,draggable:{...t.draggable,translate:{x:e.coordinates.x-t.draggable.initialCoordinates.x,y:e.coordinates.y-t.draggable.initialCoordinates.y}}};case Ps.DragEnd:case Ps.DragCancel:return{...t,draggable:{...t.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case Ps.RegisterDroppable:{const{element:r}=e,{id:n}=r,i=new m5(t.droppable.containers);return i.set(n,r),{...t,droppable:{...t.droppable,containers:i}}}case Ps.SetDroppableDisabled:{const{id:r,key:n,disabled:i}=e,o=t.droppable.containers.get(r);if(!o||n!==o.key)return t;const s=new m5(t.droppable.containers);return s.set(r,{...o,disabled:i}),{...t,droppable:{...t.droppable,containers:s}}}case Ps.UnregisterDroppable:{const{id:r,key:n}=e,i=t.droppable.containers.get(r);if(!i||n!==i.key)return t;const o=new m5(t.droppable.containers);return o.delete(r),{...t,droppable:{...t.droppable,containers:o}}}default:return t}}function Cst(t){let{disabled:e}=t;const{active:r,activatorEvent:n,draggableNodes:i}=E.useContext(Y3),o=a9(n),s=a9(r?.id);return E.useEffect(()=>{if(!e&&!n&&o&&s!=null){if(!wI(o)||document.activeElement===o.target)return;const a=i.get(s);if(!a)return;const{activatorNode:l,node:c}=a;if(!l.current&&!c.current)return;requestAnimationFrame(()=>{for(const u of[l.current,c.current]){if(!u)continue;const f=yot(u);if(f){f.focus();break}}})}},[n,e,i,s,o]),null}function d3e(t,e){let{transform:r,...n}=e;return t!=null&&t.length?t.reduce((i,o)=>o({transform:i,...n}),r):r}function bst(t){return E.useMemo(()=>({draggable:{...nD.draggable,...t?.draggable},droppable:{...nD.droppable,...t?.droppable},dragOverlay:{...nD.dragOverlay,...t?.dragOverlay}}),[t?.draggable,t?.droppable,t?.dragOverlay])}function wst(t){let{activeNode:e,measure:r,initialRect:n,config:i=!0}=t;const o=E.useRef(!1),{x:s,y:a}=typeof i=="boolean"?{x:i,y:i}:i;Vf(()=>{if(!s&&!a||!e){o.current=!1;return}if(o.current||!n)return;const c=e?.node.current;if(!c||c.isConnected===!1)return;const u=r(c),f=J4e(u,n);if(s||(f.x=0),a||(f.y=0),o.current=!0,Math.abs(f.x)>0||Math.abs(f.y)>0){const d=e3e(c);d&&d.scrollBy({top:f.y,left:f.x})}},[e,s,a,n,r])}const EI=E.createContext({...$f,scaleX:1,scaleY:1});var d0;(function(t){t[t.Uninitialized=0]="Uninitialized",t[t.Initializing=1]="Initializing",t[t.Initialized=2]="Initialized"})(d0||(d0={}));const Uu=E.memo(function(e){var r,n,i,o;let{id:s,accessibility:a,autoScroll:l=!0,children:c,sensors:u=mst,collisionDetection:f=Not,measuring:d,modifiers:p,...h}=e;const A=E.useReducer(Bst,void 0,yst),[g,m]=A,[v,y]=Sot(),[b,B]=E.useState(d0.Uninitialized),S=b===d0.Initialized,{draggable:{active:w,nodes:x,translate:I},droppable:{containers:F}}=g,k=w!=null?x.get(w):null,O=E.useRef({initial:null,translated:null}),L=E.useMemo(()=>{var Sr;return w!=null?{id:w,data:(Sr=k?.data)!=null?Sr:gst,rect:O}:null},[w,k]),M=E.useRef(null),[H,V]=E.useState(null),[j,R]=E.useState(null),Q=A4(h,Object.values(h)),z=X3("DndDescribedBy",s),X=E.useMemo(()=>F.getEnabled(),[F]),_=bst(d),{droppableRects:G,measureDroppableContainers:W,measuringScheduled:J}=ost(X,{dragging:S,dependencies:[I.x,I.y],config:_.droppable}),ee=nst(x,w),q=E.useMemo(()=>j?l9(j):null,[j]),Z=yr(),re=sst(ee,_.draggable.measure);wst({activeNode:w!=null?x.get(w):null,config:Z.layoutShiftCompensation,initialRect:re,measure:_.draggable.measure});const fe=tle(ee,_.draggable.measure,re),de=tle(ee?ee.parentElement:null),ie=E.useRef({activatorEvent:null,active:null,activeNode:ee,collisionRect:null,collisions:null,droppableRects:G,draggableNodes:x,draggingNode:null,draggingNodeRect:null,droppableContainers:F,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),le=F.getNodeFor((r=ie.current.over)==null?void 0:r.id),De=hst({measure:_.dragOverlay.measure}),Ae=(n=De.nodeRef.current)!=null?n:ee,ue=S?(i=De.rect)!=null?i:fe:null,Ne=!!(De.nodeRef.current&&De.rect),Te=cst(Ne?null:fe),Re=l3e(Ae?xl(Ae):null),je=ust(S?le??ee:null),Ve=Ast(je),ze=d3e(p,{transform:{x:I.x-Te.x,y:I.y-Te.y,scaleX:1,scaleY:1},activatorEvent:j,active:L,activeNodeRect:fe,containerNodeRect:de,draggingNodeRect:ue,over:ie.current.over,overlayNodeRect:De.rect,scrollableAncestors:je,scrollableAncestorRects:Ve,windowRect:Re}),lt=q?I2(q,I):null,gt=fst(je),_t=nle(gt),U=nle(gt,[fe]),D=I2(ze,_t),N=ue?Lot(ue,ze):null,Y=L&&N?f({active:L,collisionRect:N,droppableRects:G,droppableContainers:X,pointerCoordinates:lt}):null,pe=X4e(Y,"id"),[be,_e]=E.useState(null),he=Ne?ze:I2(ze,U),Ee=Fot(he,(o=be?.rect)!=null?o:null,fe),ot=E.useRef(null),At=E.useCallback((Sr,Jt)=>{let{sensor:Dt,options:ir}=Jt;if(M.current==null)return;const xn=x.get(M.current);if(!xn)return;const Ar=Sr.nativeEvent,Yr=new Dt({active:M.current,activeNode:xn,event:Ar,options:ir,context:ie,onAbort(ae){if(!x.get(ae))return;const{onDragAbort:Oe}=Q.current,Ie={id:ae};Oe?.(Ie),v({type:"onDragAbort",event:Ie})},onPending(ae,Ce,Oe,Ie){if(!x.get(ae))return;const{onDragPending:Qe}=Q.current,Ge={id:ae,constraint:Ce,initialCoordinates:Oe,offset:Ie};Qe?.(Ge),v({type:"onDragPending",event:Ge})},onStart(ae){const Ce=M.current;if(Ce==null)return;const Oe=x.get(Ce);if(!Oe)return;const{onDragStart:Ie}=Q.current,Le={activatorEvent:Ar,active:{id:Ce,data:Oe.data,rect:O}};pl.unstable_batchedUpdates(()=>{Ie?.(Le),B(d0.Initializing),m({type:Ps.DragStart,initialCoordinates:ae,active:Ce}),v({type:"onDragStart",event:Le}),V(ot.current),R(Ar)})},onMove(ae){m({type:Ps.DragMove,coordinates:ae})},onEnd:se(Ps.DragEnd),onCancel:se(Ps.DragCancel)});ot.current=Yr;function se(ae){return async function(){const{active:Oe,collisions:Ie,over:Le,scrollAdjustedTranslate:Qe}=ie.current;let Ge=null;if(Oe&&Qe){const{cancelDrop:ft}=Q.current;Ge={activatorEvent:Ar,active:Oe,collisions:Ie,delta:Qe,over:Le},ae===Ps.DragEnd&&typeof ft=="function"&&await Promise.resolve(ft(Ge))&&(ae=Ps.DragCancel)}M.current=null,pl.unstable_batchedUpdates(()=>{m({type:ae}),B(d0.Uninitialized),_e(null),V(null),R(null),ot.current=null;const ft=ae===Ps.DragEnd?"onDragEnd":"onDragCancel";if(Ge){const yt=Q.current[ft];yt?.(Ge),v({type:ft,event:Ge})}})}}},[x]),Ct=E.useCallback((Sr,Jt)=>(Dt,ir)=>{const xn=Dt.nativeEvent,Ar=x.get(ir);if(M.current!==null||!Ar||xn.dndKit||xn.defaultPrevented)return;const Yr={active:Ar};Sr(Dt,Jt.options,Yr)===!0&&(xn.dndKit={capturedBy:Jt.sensor},M.current=ir,At(Dt,Jt))},[x,At]),pt=ist(u,Ct);dst(u),Vf(()=>{fe&&b===d0.Initializing&&B(d0.Initialized)},[fe,b]),E.useEffect(()=>{const{onDragMove:Sr}=Q.current,{active:Jt,activatorEvent:Dt,collisions:ir,over:xn}=ie.current;if(!Jt||!Dt)return;const Ar={active:Jt,activatorEvent:Dt,collisions:ir,delta:{x:D.x,y:D.y},over:xn};pl.unstable_batchedUpdates(()=>{Sr?.(Ar),v({type:"onDragMove",event:Ar})})},[D.x,D.y]),E.useEffect(()=>{const{active:Sr,activatorEvent:Jt,collisions:Dt,droppableContainers:ir,scrollAdjustedTranslate:xn}=ie.current;if(!Sr||M.current==null||!Jt||!xn)return;const{onDragOver:Ar}=Q.current,Yr=ir.get(pe),se=Yr&&Yr.rect.current?{id:Yr.id,rect:Yr.rect.current,data:Yr.data,disabled:Yr.disabled}:null,ae={active:Sr,activatorEvent:Jt,collisions:Dt,delta:{x:xn.x,y:xn.y},over:se};pl.unstable_batchedUpdates(()=>{_e(se),Ar?.(ae),v({type:"onDragOver",event:ae})})},[pe]),Vf(()=>{ie.current={activatorEvent:j,active:L,activeNode:ee,collisionRect:N,collisions:Y,droppableRects:G,draggableNodes:x,draggingNode:Ae,draggingNodeRect:ue,droppableContainers:F,over:be,scrollableAncestors:je,scrollAdjustedTranslate:D},O.current={initial:ue,translated:N}},[L,ee,Y,N,x,Ae,ue,G,F,be,je,D]),est({...Z,delta:I,draggingRect:N,pointerCoordinates:lt,scrollableAncestors:je,scrollableAncestorRects:Ve});const Bn=E.useMemo(()=>({active:L,activeNode:ee,activeNodeRect:fe,activatorEvent:j,collisions:Y,containerNodeRect:de,dragOverlay:De,draggableNodes:x,droppableContainers:F,droppableRects:G,over:be,measureDroppableContainers:W,scrollableAncestors:je,scrollableAncestorRects:Ve,measuringConfiguration:_,measuringScheduled:J,windowRect:Re}),[L,ee,fe,j,Y,de,De,x,F,G,be,W,je,Ve,_,J,Re]),jr=E.useMemo(()=>({activatorEvent:j,activators:pt,active:L,activeNodeRect:fe,ariaDescribedById:{draggable:z},dispatch:m,draggableNodes:x,over:be,measureDroppableContainers:W}),[j,pt,L,fe,m,z,x,be,W]);return ve.createElement(z4e.Provider,{value:y},ve.createElement(Y3.Provider,{value:jr},ve.createElement(f3e.Provider,{value:Bn},ve.createElement(EI.Provider,{value:Ee},c)),ve.createElement(Cst,{disabled:a?.restoreFocus===!1})),ve.createElement(kot,{...a,hiddenTextDescribedById:z}));function yr(){const Sr=H?.autoScrollEnabled===!1,Jt=typeof l=="object"?l.enabled===!1:l===!1,Dt=S&&!Sr&&!Jt;return typeof l=="object"?{...l,enabled:Dt}:{enabled:Dt}}}),xst=E.createContext(null),ole="button",Sst="Draggable";function Est(t){let{id:e,data:r,disabled:n=!1,attributes:i}=t;const o=X3(Sst),{activators:s,activatorEvent:a,active:l,activeNodeRect:c,ariaDescribedById:u,draggableNodes:f,over:d}=E.useContext(Y3),{role:p=ole,roleDescription:h="draggable",tabIndex:A=0}=i??{},g=l?.id===e,m=E.useContext(g?EI:xst),[v,y]=s9(),[b,B]=s9(),S=pst(s,e),w=A4(r);Vf(()=>(f.set(e,{id:e,key:o,node:v,activatorNode:b,data:w}),()=>{const I=f.get(e);I&&I.key===o&&f.delete(e)}),[f,e]);const x=E.useMemo(()=>({role:p,tabIndex:A,"aria-disabled":n,"aria-pressed":g&&p===ole?!0:void 0,"aria-roledescription":h,"aria-describedby":u.draggable}),[n,p,A,g,h,u.draggable]);return{active:l,activatorEvent:a,activeNodeRect:c,attributes:x,isDragging:g,listeners:n?void 0:S,node:v,over:d,setNodeRef:y,setActivatorNodeRef:B,transform:m}}function p3e(){return E.useContext(f3e)}const Dst="Droppable",kst={timeout:25};function A3e(t){let{data:e,disabled:r=!1,id:n,resizeObserverConfig:i}=t;const o=X3(Dst),{active:s,dispatch:a,over:l,measureDroppableContainers:c}=E.useContext(Y3),u=E.useRef({disabled:r}),f=E.useRef(!1),d=E.useRef(null),p=E.useRef(null),{disabled:h,updateMeasurementsFor:A,timeout:g}={...kst,...i},m=A4(A??n),v=E.useCallback(()=>{if(!f.current){f.current=!0;return}p.current!=null&&clearTimeout(p.current),p.current=setTimeout(()=>{c(Array.isArray(m.current)?m.current:[m.current]),p.current=null},g)},[g]),y=SI({callback:v,disabled:h||!s}),b=E.useCallback((x,I)=>{y&&(I&&(y.unobserve(I),f.current=!1),x&&y.observe(x))},[y]),[B,S]=s9(b),w=A4(e);return E.useEffect(()=>{!y||!B.current||(y.disconnect(),f.current=!1,y.observe(B.current))},[B,y]),E.useEffect(()=>(a({type:Ps.RegisterDroppable,element:{id:n,key:o,disabled:r,node:B,rect:d,data:w}}),()=>a({type:Ps.UnregisterDroppable,key:o,id:n})),[n]),E.useEffect(()=>{r!==u.current.disabled&&(a({type:Ps.SetDroppableDisabled,id:n,key:o,disabled:r}),u.current.disabled=r)},[n,o,r,a]),{active:s,rect:d,isOver:l?.id===n,node:B,over:l,setNodeRef:S}}function Ost(t){let{animation:e,children:r}=t;const[n,i]=E.useState(null),[o,s]=E.useState(null),a=a9(r);return!r&&!n&&a&&i(a),Vf(()=>{if(!o)return;const l=n?.key,c=n?.props.id;if(l==null||c==null){i(null);return}Promise.resolve(e(c,o)).then(()=>{i(null)})},[e,n,o]),ve.createElement(ve.Fragment,null,r,n?E.cloneElement(n,{ref:s}):null)}const Pst={x:0,y:0,scaleX:1,scaleY:1};function Ist(t){let{children:e}=t;return ve.createElement(Y3.Provider,{value:u3e},ve.createElement(EI.Provider,{value:Pst},e))}const Nst={position:"fixed",touchAction:"none"},Fst=t=>wI(t)?"transform 250ms ease":void 0,Tst=E.forwardRef((t,e)=>{let{as:r,activatorEvent:n,adjustScale:i,children:o,className:s,rect:a,style:l,transform:c,transition:u=Fst}=t;if(!a)return null;const f=i?c:{...c,scaleX:1,scaleY:1},d={...Nst,width:a.width,height:a.height,top:a.top,left:a.left,transform:Po.Transform.toString(f),transformOrigin:i&&n?Oot(n,a):void 0,transition:typeof u=="function"?u(n):u,...l};return ve.createElement(r,{className:s,style:d,ref:e},o)}),Lst=t=>e=>{let{active:r,dragOverlay:n}=e;const i={},{styles:o,className:s}=t;if(o!=null&&o.active)for(const[a,l]of Object.entries(o.active))l!==void 0&&(i[a]=r.node.style.getPropertyValue(a),r.node.style.setProperty(a,l));if(o!=null&&o.dragOverlay)for(const[a,l]of Object.entries(o.dragOverlay))l!==void 0&&n.node.style.setProperty(a,l);return s!=null&&s.active&&r.node.classList.add(s.active),s!=null&&s.dragOverlay&&n.node.classList.add(s.dragOverlay),function(){for(const[l,c]of Object.entries(i))r.node.style.setProperty(l,c);s!=null&&s.active&&r.node.classList.remove(s.active)}},Rst=t=>{let{transform:{initial:e,final:r}}=t;return[{transform:Po.Transform.toString(e)},{transform:Po.Transform.toString(r)}]},Mst={duration:250,easing:"ease",keyframes:Rst,sideEffects:Lst({styles:{active:{opacity:"0"}}})};function _st(t){let{config:e,draggableNodes:r,droppableContainers:n,measuringConfiguration:i}=t;return bI((o,s)=>{if(e===null)return;const a=r.get(o);if(!a)return;const l=a.node.current;if(!l)return;const c=c3e(s);if(!c)return;const{transform:u}=xl(s).getComputedStyle(s),f=Z4e(u);if(!f)return;const d=typeof e=="function"?e:jst(e);return s3e(l,i.draggable.measure),d({active:{id:o,data:a.data,node:l,rect:i.draggable.measure(l)},draggableNodes:r,dragOverlay:{node:s,rect:i.dragOverlay.measure(c)},droppableContainers:n,measuringConfiguration:i,transform:f})})}function jst(t){const{duration:e,easing:r,sideEffects:n,keyframes:i}={...Mst,...t};return o=>{let{active:s,dragOverlay:a,transform:l,...c}=o;if(!e)return;const u={x:a.rect.left-s.rect.left,y:a.rect.top-s.rect.top},f={scaleX:l.scaleX!==1?s.rect.width*l.scaleX/a.rect.width:1,scaleY:l.scaleY!==1?s.rect.height*l.scaleY/a.rect.height:1},d={x:l.x-u.x,y:l.y-u.y,...f},p=i({...c,active:s,dragOverlay:a,transform:{initial:l,final:d}}),[h]=p,A=p[p.length-1];if(JSON.stringify(h)===JSON.stringify(A))return;const g=n?.({active:s,dragOverlay:a,...c}),m=a.node.animate(p,{duration:e,easing:r,fill:"forwards"});return new Promise(v=>{m.onfinish=()=>{g?.(),v()}})}}let sle=0;function Ust(t){return E.useMemo(()=>{if(t!=null)return sle++,sle},[t])}const Qst=ve.memo(t=>{let{adjustScale:e=!1,children:r,dropAnimation:n,style:i,transition:o,modifiers:s,wrapperElement:a="div",className:l,zIndex:c=999}=t;const{activatorEvent:u,active:f,activeNodeRect:d,containerNodeRect:p,draggableNodes:h,droppableContainers:A,dragOverlay:g,over:m,measuringConfiguration:v,scrollableAncestors:y,scrollableAncestorRects:b,windowRect:B}=p3e(),S=E.useContext(EI),w=Ust(f?.id),x=d3e(s,{activatorEvent:u,active:f,activeNodeRect:d,containerNodeRect:p,draggingNodeRect:g.rect,over:m,overlayNodeRect:g.rect,scrollableAncestors:y,scrollableAncestorRects:b,transform:S,windowRect:B}),I=NY(d),F=_st({config:n,draggableNodes:h,droppableContainers:A,measuringConfiguration:v}),k=I?g.setRef:void 0;return ve.createElement(Ist,null,ve.createElement(Ost,{animation:F},f&&w?ve.createElement(Tst,{key:w,id:f.id,ref:k,as:a,activatorEvent:u,adjustScale:e,className:l,transition:o,rect:I,style:{zIndex:c,...i},transform:x},r):null))});function FY(t,e,r){const n=t.slice();return n.splice(r<0?n.length+r:r,0,n.splice(e,1)[0]),n}function Vst(t,e){return t.reduce((r,n,i)=>{const o=e.get(n);return o&&(r[i]=o),r},Array(t.length))}function d6(t){return t!==null&&t>=0}function $st(t,e){if(t===e)return!0;if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}function Hst(t){return typeof t=="boolean"?{draggable:t,droppable:t}:t}const hC=t=>{let{rects:e,activeIndex:r,overIndex:n,index:i}=t;const o=FY(e,n,r),s=e[i],a=o[i];return!a||!s?null:{x:a.left-s.left,y:a.top-s.top,scaleX:a.width/s.width,scaleY:a.height/s.height}},p6={scaleX:1,scaleY:1},vm=t=>{var e;let{activeIndex:r,activeNodeRect:n,index:i,rects:o,overIndex:s}=t;const a=(e=o[r])!=null?e:n;if(!a)return null;if(i===r){const c=o[s];return c?{x:0,y:r<s?c.top+c.height-(a.top+a.height):c.top-a.top,...p6}:null}const l=Gst(o,i,r);return i>r&&i<=s?{x:0,y:-a.height-l,...p6}:i<r&&i>=s?{x:0,y:a.height+l,...p6}:{x:0,y:0,...p6}};function Gst(t,e,r){const n=t[e],i=t[e-1],o=t[e+1];return n?r<e?i?n.top-(i.top+i.height):o?o.top-(n.top+n.height):0:o?o.top-(n.top+n.height):i?n.top-(i.top+i.height):0:0}const h3e="Sortable",m3e=ve.createContext({activeIndex:-1,containerId:h3e,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:hC,disabled:{draggable:!1,droppable:!1}});function Qu(t){let{children:e,id:r,items:n,strategy:i=hC,disabled:o=!1}=t;const{active:s,dragOverlay:a,droppableRects:l,over:c,measureDroppableContainers:u}=p3e(),f=X3(h3e,r),d=a.rect!==null,p=E.useMemo(()=>n.map(S=>typeof S=="object"&&"id"in S?S.id:S),[n]),h=s!=null,A=s?p.indexOf(s.id):-1,g=c?p.indexOf(c.id):-1,m=E.useRef(p),v=!$st(p,m.current),y=g!==-1&&A===-1||v,b=Hst(o);Vf(()=>{v&&h&&u(p)},[v,p,h,u]),E.useEffect(()=>{m.current=p},[p]);const B=E.useMemo(()=>({activeIndex:A,containerId:f,disabled:b,disableTransforms:y,items:p,overIndex:g,useDragOverlay:d,sortedRects:Vst(p,l),strategy:i}),[A,f,b.draggable,b.droppable,y,p,g,l,d,i]);return ve.createElement(m3e.Provider,{value:B},e)}const Wst=t=>{let{id:e,items:r,activeIndex:n,overIndex:i}=t;return FY(r,n,i).indexOf(e)},zst=t=>{let{containerId:e,isSorting:r,wasDragging:n,index:i,items:o,newIndex:s,previousItems:a,previousContainerId:l,transition:c}=t;return!c||!n||a!==o&&i===s?!1:r?!0:s!==i&&e===l},Kst={duration:200,easing:"ease"},g3e="transform",qst=Po.Transition.toString({property:g3e,duration:0,easing:"linear"}),Xst={roleDescription:"sortable"};function Yst(t){let{disabled:e,index:r,node:n,rect:i}=t;const[o,s]=E.useState(null),a=E.useRef(r);return Vf(()=>{if(!e&&r!==a.current&&n.current){const l=i.current;if(l){const c=AC(n.current,{ignoreTransform:!0}),u={x:l.left-c.left,y:l.top-c.top,scaleX:l.width/c.width,scaleY:l.height/c.height};(u.x||u.y)&&s(u)}}r!==a.current&&(a.current=r)},[e,r,n,i]),E.useEffect(()=>{o&&s(null)},[o]),o}function bh(t){let{animateLayoutChanges:e=zst,attributes:r,disabled:n,data:i,getNewIndex:o=Wst,id:s,strategy:a,resizeObserverConfig:l,transition:c=Kst}=t;const{items:u,containerId:f,activeIndex:d,disabled:p,disableTransforms:h,sortedRects:A,overIndex:g,useDragOverlay:m,strategy:v}=E.useContext(m3e),y=Jst(n,p),b=u.indexOf(s),B=E.useMemo(()=>({sortable:{containerId:f,index:b,items:u},...i}),[f,i,b,u]),S=E.useMemo(()=>u.slice(u.indexOf(s)),[u,s]),{rect:w,node:x,isOver:I,setNodeRef:F}=A3e({id:s,data:B,disabled:y.droppable,resizeObserverConfig:{updateMeasurementsFor:S,...l}}),{active:k,activatorEvent:O,activeNodeRect:L,attributes:M,setNodeRef:H,listeners:V,isDragging:j,over:R,setActivatorNodeRef:Q,transform:z}=Est({id:s,data:B,attributes:{...Xst,...r},disabled:y.draggable}),X=hot(F,H),_=!!k,G=_&&!h&&d6(d)&&d6(g),W=!m&&j,J=W&&G?z:null,q=G?J??(a??v)({rects:A,activeNodeRect:L,activeIndex:d,overIndex:g,index:b}):null,Z=d6(d)&&d6(g)?o({id:s,items:u,activeIndex:d,overIndex:g}):b,re=k?.id,fe=E.useRef({activeId:re,items:u,newIndex:Z,containerId:f}),de=u!==fe.current.items,ie=e({active:k,containerId:f,isDragging:j,isSorting:_,id:s,index:b,items:u,newIndex:fe.current.newIndex,previousItems:fe.current.items,previousContainerId:fe.current.containerId,transition:c,wasDragging:fe.current.activeId!=null}),le=Yst({disabled:!ie,index:b,node:x,rect:w});return E.useEffect(()=>{_&&fe.current.newIndex!==Z&&(fe.current.newIndex=Z),f!==fe.current.containerId&&(fe.current.containerId=f),u!==fe.current.items&&(fe.current.items=u)},[_,Z,f,u]),E.useEffect(()=>{if(re===fe.current.activeId)return;if(re&&!fe.current.activeId){fe.current.activeId=re;return}const Ae=setTimeout(()=>{fe.current.activeId=re},50);return()=>clearTimeout(Ae)},[re]),{active:k,activeIndex:d,attributes:M,data:B,rect:w,index:b,newIndex:Z,items:u,isOver:I,isSorting:_,isDragging:j,listeners:V,node:x,overIndex:g,over:R,setNodeRef:X,setActivatorNodeRef:Q,setDroppableNodeRef:F,setDraggableNodeRef:H,transform:le??q,transition:De()};function De(){if(le||de&&fe.current.newIndex===b)return qst;if(!(W&&!wI(O)||!c)&&(_||ie))return Po.Transition.toString({...c,property:g3e})}}function Jst(t,e){var r,n;return typeof t=="boolean"?{draggable:t,droppable:!1}:{draggable:(r=t?.draggable)!=null?r:e.draggable,droppable:(n=t?.droppable)!=null?n:e.droppable}}function f9(t){if(!t)return!1;const e=t.data.current;return!!(e&&"sortable"in e&&typeof e.sortable=="object"&&"containerId"in e.sortable&&"items"in e.sortable&&"index"in e.sortable)}const Zst=[Kn.Down,Kn.Right,Kn.Up,Kn.Left],Op=(t,e)=>{let{context:{active:r,collisionRect:n,droppableRects:i,droppableContainers:o,over:s,scrollableAncestors:a}}=e;if(Zst.includes(t.code)){if(t.preventDefault(),!r||!n)return;const l=[];o.getEnabled().forEach(f=>{if(!f||f!=null&&f.disabled)return;const d=i.get(f.id);if(d)switch(t.code){case Kn.Down:n.top<d.top&&l.push(f);break;case Kn.Up:n.top>d.top&&l.push(f);break;case Kn.Left:n.left>d.left&&l.push(f);break;case Kn.Right:n.left<d.left&&l.push(f);break}});const c=Y4e({active:r,collisionRect:n,droppableRects:i,droppableContainers:l,pointerCoordinates:null});let u=X4e(c,"id");if(u===s?.id&&c.length>1&&(u=c[1].id),u!=null){const f=o.get(r.id),d=o.get(u),p=d?i.get(d.id):null,h=d?.node.current;if(h&&p&&f&&d){const g=xI(h).some((S,w)=>a[w]!==S),m=v3e(f,d),v=eat(f,d),y=g||!m?{x:0,y:0}:{x:v?n.width-p.width:0,y:v?n.height-p.height:0},b={x:p.left,y:p.top};return y.x&&y.y?b:h4(b,y)}}}};function v3e(t,e){return!f9(t)||!f9(e)?!1:t.data.current.sortable.containerId===e.data.current.sortable.containerId}function eat(t,e){return!f9(t)||!f9(e)||!v3e(t,e)?!1:t.data.current.sortable.index<e.data.current.sortable.index}const wo=E.memo(function(){return C.jsx("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 122.875 122.648",enableBackground:"new 0 0 122.875 122.648",children:C.jsx("g",{fill:"currentColor",children:C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M108.993,47.079c7.683-0.059,13.898,6.12,13.882,13.805 c-0.018,7.683-6.26,13.959-13.942,14.019L75.24,75.138l-0.235,33.73c-0.063,7.619-6.338,13.789-14.014,13.78 c-7.678-0.01-13.848-6.197-13.785-13.818l0.233-33.497l-33.558,0.235C6.2,75.628-0.016,69.448,0,61.764 c0.018-7.683,6.261-13.959,13.943-14.018l33.692-0.236l0.236-33.73C47.935,6.161,54.209-0.009,61.885,0 c7.678,0.009,13.848,6.197,13.784,13.818l-0.233,33.497L108.993,47.079L108.993,47.079z"})})})}),ale=(t,e)=>t.unstable_is?t.unstable_is(e):e===t,lle=t=>"init"in t,cle=t=>!!t.write,ule=t=>"v"in t||"e"in t,A6=t=>{if("e"in t)throw t.e;return t.v},d9=new WeakMap,fle=t=>{var e;return p9(t)&&!!((e=d9.get(t))!=null&&e[0])},tat=t=>{const e=d9.get(t);e?.[0]&&(e[0]=!1,e[1].forEach(r=>r()))},y3e=(t,e)=>{let r=d9.get(t);if(!r){r=[!0,new Set],d9.set(t,r);const n=()=>{r[0]=!1};t.then(n,n)}r[1].add(e)},p9=t=>typeof t?.then=="function",B3e=(t,e,r)=>{r.p.has(t)||(r.p.add(t),e.then(()=>{r.p.delete(t)},()=>{r.p.delete(t)}))},qT=(t,e,r)=>{const n=r(t),i="v"in n,o=n.v;if(p9(e))for(const s of n.d.keys())B3e(t,e,r(s));n.v=e,delete n.e,(!i||!Object.is(o,n.v))&&(++n.n,p9(o)&&tat(o))},dle=(t,e,r)=>{var n;const i=new Set;for(const o of((n=r.get(t))==null?void 0:n.t)||[])r.has(o)&&i.add(o);for(const o of e.p)i.add(o);return i},rat=Symbol(),nat=(t=new WeakMap,e=new WeakMap,r=new WeakMap,n=new Set,i=new Set,o=new Set,s={},a=(d,...p)=>d.read(...p),l=(d,...p)=>d.write(...p),c=(d,p)=>{var h;return(h=d.unstable_onInit)==null?void 0:h.call(d,p)},u=(d,p)=>{var h;return(h=d.onMount)==null?void 0:h.call(d,p)},...f)=>{const d=f[0]||(w=>{let x=t.get(w);return x||(x={d:new Map,p:new Set,n:0},t.set(w,x),c?.(w,S)),x}),p=f[1]||(()=>{const w=[],x=I=>{try{I()}catch(F){w.push(F)}};do{s.f&&x(s.f);const I=new Set,F=I.add.bind(I);n.forEach(k=>{var O;return(O=e.get(k))==null?void 0:O.l.forEach(F)}),n.clear(),o.forEach(F),o.clear(),i.forEach(F),i.clear(),I.forEach(x),n.size&&h()}while(n.size||o.size||i.size);if(w.length)throw new AggregateError(w)}),h=f[2]||(()=>{const w=[],x=new WeakSet,I=new WeakSet,F=Array.from(n);for(;F.length;){const k=F[F.length-1],O=d(k);if(I.has(k)){F.pop();continue}if(x.has(k)){r.get(k)===O.n&&w.push([k,O]),I.add(k),F.pop();continue}x.add(k);for(const L of dle(k,O,e))x.has(L)||F.push(L)}for(let k=w.length-1;k>=0;--k){const[O,L]=w[k];let M=!1;for(const H of L.d.keys())if(H!==O&&n.has(H)){M=!0;break}M&&(A(O),v(O)),r.delete(O)}}),A=f[3]||(w=>{var x;const I=d(w);if(ule(I)&&(e.has(w)&&r.get(w)!==I.n||Array.from(I.d).every(([j,R])=>A(j).n===R)))return I;I.d.clear();let F=!0;const k=()=>{e.has(w)&&(v(w),h(),p())},O=j=>{var R;if(ale(w,j)){const z=d(j);if(!ule(z))if(lle(j))qT(j,j.init,d);else throw new Error("no atom init");return A6(z)}const Q=A(j);try{return A6(Q)}finally{I.d.set(j,Q.n),fle(I.v)&&B3e(w,I.v,Q),(R=e.get(j))==null||R.t.add(w),F||k()}};let L,M;const H={get signal(){return L||(L=new AbortController),L.signal},get setSelf(){return!M&&cle(w)&&(M=(...j)=>{if(!F)try{return m(w,...j)}finally{h(),p()}}),M}},V=I.n;try{const j=a(w,O,H);return qT(w,j,d),p9(j)&&(y3e(j,()=>L?.abort()),j.then(k,k)),I}catch(j){return delete I.v,I.e=j,++I.n,I}finally{F=!1,V!==I.n&&r.get(w)===V&&(r.set(w,I.n),n.add(w),(x=s.c)==null||x.call(s,w))}}),g=f[4]||(w=>{const x=[w];for(;x.length;){const I=x.pop(),F=d(I);for(const k of dle(I,F,e)){const O=d(k);r.set(k,O.n),x.push(k)}}}),m=f[5]||((w,...x)=>{let I=!0;const F=O=>A6(A(O)),k=(O,...L)=>{var M;const H=d(O);try{if(ale(w,O)){if(!lle(O))throw new Error("atom not writable");const V=H.n,j=L[0];qT(O,j,d),v(O),V!==H.n&&(n.add(O),(M=s.c)==null||M.call(s,O),g(O));return}else return m(O,...L)}finally{I||(h(),p())}};try{return l(w,F,k,...x)}finally{I=!1}}),v=f[6]||(w=>{var x;const I=d(w),F=e.get(w);if(F&&!fle(I.v)){for(const[k,O]of I.d)if(!F.d.has(k)){const L=d(k);y(k).t.add(w),F.d.add(k),O!==L.n&&(n.add(k),(x=s.c)==null||x.call(s,k),g(k))}for(const k of F.d||[])if(!I.d.has(k)){F.d.delete(k);const O=b(k);O?.t.delete(w)}}}),y=f[7]||(w=>{var x;const I=d(w);let F=e.get(w);if(!F){A(w);for(const k of I.d.keys())y(k).t.add(w);if(F={l:new Set,d:new Set(I.d.keys()),t:new Set},e.set(w,F),(x=s.m)==null||x.call(s,w),cle(w)){const k=()=>{let O=!0;const L=(...M)=>{try{return m(w,...M)}finally{O||(h(),p())}};try{const M=u(w,L);M&&(F.u=()=>{O=!0;try{M()}finally{O=!1}})}finally{O=!1}};i.add(k)}}return F}),b=f[8]||(w=>{var x;const I=d(w);let F=e.get(w);if(F&&!F.l.size&&!Array.from(F.t).some(k=>{var O;return(O=e.get(k))==null?void 0:O.d.has(w)})){F.u&&o.add(F.u),F=void 0,e.delete(w),(x=s.u)==null||x.call(s,w);for(const k of I.d.keys()){const O=b(k);O?.t.delete(w)}return}return F}),B=[t,e,r,n,i,o,s,a,l,c,u,d,p,h,A,g,m,v,y,b],S={get:w=>A6(A(w)),set:(w,...x)=>{try{return m(w,...x)}finally{h(),p()}},sub:(w,x)=>{const F=y(w).l;return F.add(x),p(),()=>{F.delete(x),b(w),p()}}};return Object.defineProperty(S,rat,{value:B}),S},iat=nat,ple=y3e;let oat=0;function Zr(t,e){const r=`atom${++oat}`,n={toString(){return r}};return typeof t=="function"?n.read=t:(n.init=t,n.read=sat,n.write=aat),e&&(n.write=e),n}function sat(t){return t(this)}function aat(t,e,r){return e(this,typeof r=="function"?r(t(this)):r)}function lat(){return iat()}let XT;function cat(){return XT||(XT=lat()),XT}const uat=E.createContext(void 0);function C3e(t){const e=E.useContext(uat);return t?.store||e||cat()}const KV=t=>typeof t?.then=="function",qV=t=>{t.status||(t.status="pending",t.then(e=>{t.status="fulfilled",t.value=e},e=>{t.status="rejected",t.reason=e}))},fat=ve.use||(t=>{if(t.status==="pending")throw t;if(t.status==="fulfilled")return t.value;throw t.status==="rejected"?t.reason:(qV(t),t)}),YT=new WeakMap,Ale=(t,e)=>{let r=YT.get(t);return r||(r=new Promise((n,i)=>{let o=t;const s=c=>u=>{o===c&&n(u)},a=c=>u=>{o===c&&i(u)},l=()=>{try{const c=e();KV(c)?(YT.set(c,r),o=c,c.then(s(c),a(c)),ple(c,l)):n(c)}catch(c){i(c)}};t.then(s(t),a(t)),ple(t,l)}),YT.set(t,r)),r};function tn(t,e){const{delay:r,unstable_promiseStatus:n=!ve.use}=e||{},i=C3e(e),[[o,s,a],l]=E.useReducer(u=>{const f=i.get(t);return Object.is(u[0],f)&&u[1]===i&&u[2]===t?u:[f,i,t]},void 0,()=>[i.get(t),i,t]);let c=o;if((s!==i||a!==t)&&(l(),c=i.get(t)),E.useEffect(()=>{const u=i.sub(t,()=>{if(n)try{const f=i.get(t);KV(f)&&qV(Ale(f,()=>i.get(t)))}catch{}if(typeof r=="number"){setTimeout(l,r);return}l()});return l(),u},[i,t,r,n]),E.useDebugValue(c),KV(c)){const u=Ale(c,()=>i.get(t));return n&&qV(u),fat(u)}return c}function kn(t,e){const r=C3e(e);return E.useCallback((...i)=>r.set(t,...i),[r,t])}function Yn(t,e){return[tn(t,e),kn(t,e)]}const g4=Zr({FLUID_TYPOGRAPHY:[],COLOR_SYSTEM:[],SPACING:[],GLOBAL:[],FONTS:[],STYLESHEETS:[]}),nh=Zr(null,(t,e,{variables:r,type:n})=>{const i=t(g4);e(g4,{...i,[n]:r})});function TY({property:t,value:e,variable:r,name:n,prefix:i,suffix:o}){const s=i?n.replace(`${i}-`,""):n,a=`.${i?`${i}-`:""}${s}${o?`-${o}`:""}`,l=String(Math.random()).slice(2,6);return{declarations:[{property:t,value:e??`var(${r})`,id:"0"}],selector:a,id:l}}const v4={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",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:"#ff00ff",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:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",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:"#ff0000",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:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},b3e=/^var\(--(.*?)\)$/,$d=(t,e,r,n)=>{const i=(r?window.colorVariables:e)||[];function o(s,a=new Set,l=n??!1){const c=s.match(b3e);if(!c)return v4[s]??s;const u=c[1],f=i.find(d=>d.name===u);if(a.has(u))return"";if(f){a.add(u);const d=l?f.colorDarkValue||"":f.colorValue;return o(d,a,l)}return v4[s]??s}return o(t)},w3e=t=>{const e=t.match(b3e);return!!(M4e(t)||v4[t]||$d(t)&&e?.length)};function x3e(t){return t.groups.flatMap(e=>e.isDisabled?[]:e.colors.flatMap(r=>{const n=r.isDarkMode??!1,i={name:r.name,colorValue:r.value,colorDarkValue:n&&r.darkValue||null},o=r.shades?.map((l,c)=>({name:l.name,colorValue:l.value,colorDarkValue:n&&r.darkShades?.[c]?.value||null}))||[],s=r.tints?.map((l,c)=>({name:l.name,colorValue:l.value,colorDarkValue:n&&r.darkTints?.[c]?.value||null}))||[],a=r.transparentVariables?.map(l=>({name:`${r.name}-${l}`,colorValue:r.value,colorDarkValue:n&&r.darkValue||null,transparent:Number(l)}))||[];return[i,...o,...s,...a]}))}function XV(t,e,r=!1,n=!1,i=!1){const{format:o}=t,s=n?$d(t.darkValue,[],!0,!0):$d(t.value,[],!0);if(!s||!w3e(s))return null;const a=`${t.name}-${String(e).replace("0.","")}`,l=Si(s).alpha(Number(e)/100),c=UA(l,o),u=[t.id,e].join(".");return{name:a,value:c,format:o,id:u,...r&&{raw:t.value},...i?{types:n?["variable","transparent-class","dark-mode"]:["variable","transparent-class"]}:{}}}function hle(t,e=!1,r=!1){const n=[],i=x3e({groups:t});for(const{colors:o,isDisabled:s,name:a}of t)if(!s)for(const l of o){const c=e?l.darkValue:l.value;if(!c||!w3e($d(c,i)))continue;const u=e?{...l,value:l.darkValue??""}:l;n.push({...u,...r?{types:["variable"],groupName:a}:{}}),l?.transparent&&l?.transparentVariables?.length&&l.transparentVariables.forEach(f=>{const d=XV(l,f,!1,e,r);d&&n.push({...d,...r?{groupName:a}:{}})}),l.isShades&&(e?l.darkShades:l.shades)&&(e?l.darkShades:l.shades)?.map(({name:d,value:p},h)=>{n.push({id:String(h)+p,name:d,value:p,...r?{types:["variable","shade-tint",...e?["dark-mode"]:[]],groupName:a}:{}})}),l.isTints&&(e?l.darkTints:l.tints)&&(e?l.darkTints:l.tints)?.forEach(({name:d,value:p},h)=>{n.push({id:String(h)+p,name:d,value:p,...r?{types:["variable","shade-tint",...e?["dark-mode"]:[]],groupName:a}:{}})})}return n.map(o=>{const{value:s,name:a}=o,{types:l,groupName:c}=o,u=Ks(a);return{id:ht(),property:u,value:s,...l?.length?{types:l}:{},...c?{groupName:c}:{}}})}function S3e({colorSystemState:t,manual_theme:e,darkModeSelector:r=".cf-theme-dark",lightModeSelector:n=".cf-theme-light",classPrefix:i="",includeVariants:o}){if(t.isDisabled)return[];const s=hle(t.groups,!1,o),a={id:ht(),selector:":root",declarations:s,...o?{types:["variable"]}:{}},l=hle(t.groups,!0,o),c=e?{id:ht(),selector:`:root${r}, :root${n} .${i}theme-inverted, :root${n} .theme-always-dark, :root${r} .${i}theme-inverted .theme-always-dark`,declarations:l,...o?{types:["variable","dark-mode"]}:{}}:{id:ht(),selector:":root",media:"DARK_MODE",declarations:l,...o?{types:["variable","dark-mode"]}:{}},u=l.length?[{id:"prefers-color-scheme-html",selector:`html${e?r:""}`,...e?{}:{media:"DARK_MODE"},declarations:[{id:"1",property:"color-scheme",value:"dark"}]}]:[];return[c,a,...u]}function dat({name:t,transparentVariables:e,property:r,prefix:n,includeVariants:i}){const o=[];for(const s of e){const a=`${t}-${s}`,l=`--${a}`;o.push({...TY({variable:l,name:a,property:r,prefix:n}),...i&&{types:["class","transparent-class"]}})}return o}function mle({shades:t,prefix:e,property:r,includeVariants:n}){const i=[];for(const{name:o}of t)i.push({...TY({variable:`--${o}`,name:o,prefix:e,property:r}),...n&&{types:["class","shade-tint"]}});return i}function J3({formData:t,darkModeSelector:e,lightModeSelector:r,classPrefix:n,onlyVariables:i=!1,manualTheme:o=!0,isAddGroupComments:s,includeVariants:a}){const{groups:l}=t,c=S3e({colorSystemState:t,manual_theme:o,darkModeSelector:e,lightModeSelector:r,classPrefix:n,includeVariants:a});if(i)return c;const u=[],f=["class"],d=(A,g=[],m)=>({...A,...a&&{types:[...new Set([...A.types||[],...g])],groupName:m}}),p=({name:A,variable:g,transparentVariables:m,isShades:v,shades:y,isTints:b,tints:B,property:S,prefix:w,types:x=[],groupName:I})=>{u.push(d(TY({variable:g,name:A,prefix:w,property:S}),x,I),...m?dat({name:A,transparentVariables:m,property:S,prefix:w,includeVariants:a}).map(F=>d(F,x,I)):[],...v&&y?.length?mle({shades:y,prefix:w,property:S,includeVariants:a}).map(F=>d(F,x,I)):[],...b&&B?.length?mle({shades:B,prefix:w,property:S,includeVariants:a}).map(F=>d(F,x,I)):[])};for(const{colors:A,name:g}of l)for(const{transparentVariables:m,name:v,isShades:y,shades:b,isTints:B,tints:S,gen:w}of A){const x=`--${v}`,I=(F,k,O=[])=>p({name:v,variable:x,transparentVariables:m,isShades:y,shades:b,isTints:B,tints:S,property:F,prefix:k,types:O,groupName:g});w?.includes("bg")&&I("background-color","bg",[...f,"bg-class"]),w?.includes("text")&&I("color","text",[...f,"text-class"]),w?.includes("border")&&I("border-color","border",[...f,"border-class"]),w?.includes("fill")&&I("fill","fill",[...f,"fill-class"])}return Um(s?[{id:"cs-c",selector:"/* Color System */",declarations:[]}]:[],c,u)}const E3e=({e:t,onDeclarationAdd:e})=>{const n=t.target?.parentElement?.parentElement?.parentElement;if([...n?.parentElement?.querySelectorAll(".declaration")||[]].at(-1)!==n){n?.nextElementSibling?.querySelector("input")?.focus();return}e();let s=0;const a=l=>{s++;const f=l.target?.parentElement?.parentElement?.parentElement?.parentElement;if(!f){setTimeout(()=>s<5&&a(l),1);return}const d=[...f.querySelectorAll(".declaration")].at(-1);d?.scrollIntoView(),d?.querySelector("input")?.focus()};setTimeout(()=>a(t),20)};function pat(t){return t.replace(/\/\*[\s\S]*?\*\/|([^\\:]|^)\/\/.*$/gm,"")}function Aat(t){const e=[];for(const r of t)r.selector===":root"&&e.push(r);return e}function hat(t,e){const r=t.trim(),n=I4e(e);return n?{format:n,id:ht(),name:r,value:e}:null}function mat(t){const{declarations:e}=t,r=[];for(const n of e){const{property:i,value:o}=n,s=hat(i,o);s&&r.push(s)}return r}function gat(t){const[e,r]=t.split(":");if(!(e&&r))return null;const n=e.trim(),i=r.trim(),o=`${n}-${i}`;return{property:n,value:i,id:o}}function vat(t){const[e,r]=t.split("{");if(!(e&&r))return null;const n=e.trim(),o=r.trim().split(";"),s=[],a=`rule-${n}-${s.length}`;for(const l of o){const c=gat(l);c&&s.push(c)}return{id:a,selector:n,declarations:s}}function A9(t){const e=[],r=pat(t).split("}").filter(Boolean);for(const o of r){const s=vat(o);s&&e.push(s)}const i=Aat(e).map(mat);return{cssObjects:e,...i.length&&{modulesData:{COLOR_SYSTEM:{colors:i.flat()}}}}}const Dc="default",yat="custom",iD="variant",Bat=[iD,"hover","focus","active","disabled","before","after","checked","invalid","valid","checked","focus-visible"],YV=Bat.filter(t=>t!=="variant"),LY=["button","input","select","textarea","checkbox","radio","img","icon","hr","link","card"],hg=["transparent","white","gray","black"];Y0();const Cat=".btn-primary",bat={id:"7",selector:".btn-primary",type:"button",variants:[{id:ht(),type:Dc,declarations:[{id:"1",property:"",value:""}]}]},DI={components:[{id:"13",selector:".btn",type:"button",variants:[{id:"default",type:"default",parentId:"default",declarations:[{property:"display",value:"flex",fluidValue:[0,0,"px"],id:"01GXK889W5DSJFR4GXE2AKV5B8"},{property:"align-items",value:"center",fluidValue:[0,0,"px"],id:"01GXK88EQ2PNM94ZPJ693SKZAV"},{property:"justify-content",value:"center",fluidValue:[0,0,"px"],id:"01GXS4P4RHQX31G5JDC5K5YMDV"},{property:"gap",value:"var(--space-3xs)",fluidValue:[0,0,"px"],id:"01H2AN4ZZ15T716YA3K32CR3MH"},{property:"padding",value:"var(--space-xs) var(--space-s)",fluidValue:[0,0,"px"],id:"1"},{property:"background",value:"var(--primary)",fluidValue:[0,0,"px"],id:"3"},{property:"color",value:"#fff",fluidValue:[0,0,"px"],id:"4"},{property:"font-size",value:"var(--text-m)",fluidValue:[0,0,"px"],id:"6"},{property:"font-weight",value:"600",fluidValue:[0,0,"px"],id:"7"},{property:"border-radius",value:"var(--radius-m)",fluidValue:[0,0,"px"],id:"2"},{property:"border",value:"1px solid var(--primary-d-1)",fluidValue:[0,0,"px"],id:"01GXVXT6T00NVQ3WX41QKNAH4K"},{property:"box-shadow",value:"var(--shadow-m)",fluidValue:[0,0,"px"],id:"01H7XPQAXZ5FGTPA4YM3WZHD2M"},{property:"transition",value:"all 0.25s ease-in-out",fluidValue:[0,0,"px"],id:"5"},{property:"outline",value:"0",fluidValue:[0,0,"px"],id:"01GXVY3A0ZG5GEHB3NW6XW7M9E"},{property:"cursor",value:"pointer",fluidValue:[0,0,"px"],id:"01H6BANDB71EQ76HQZS4ZH09VW"}]},{id:"1",type:"hover",parentId:"default",declarations:[{property:"background",value:"var(--primary-d-1)",fluidValue:[0,0,"px"],id:"0"},{property:"transform",value:"translateY(-0.1rem)",fluidValue:[0,0,"px"],id:"2"}]},{id:"2",type:"variant",parentId:"default",variantSelector:".small",declarations:[{property:"font-size",value:"var(--text-s)",fluidValue:[0,0,"px"],id:"01H03MMGG4K9E5DSXDRG9MKNJ9"},{property:"padding",value:"var(--space-xs) var(--space-s)",fluidValue:[0,0,"px"],id:"01H03MNZCQS0PQBYV6XYJNH03E"}]},{id:"3",type:"variant",parentId:"default",variantSelector:".large",declarations:[{property:"font-size",value:"var(--text-l)",fluidValue:[0,0,"px"],id:"01H03MPW3N1050D9AZE17A5BPC"},{property:"padding",value:"var(--space-s) var(--space-m)",fluidValue:[0,0,"px"],id:"01H03MPKZSGRNJC3591FTWYT5A"}]},{id:"4",type:"variant",parentId:"default",variantSelector:".tertiary",declarations:[{property:"background",value:"var(--tertiary)",fluidValue:[0,0,"px"],id:"01H2AN6VQWY6W35R81S8PS5G6K"},{property:"border-color",value:"var(--tertiary-d-1)",fluidValue:[0,0,"px"],id:"01H7XQ8FMBDKNDQ36EJYJY82DE"}]},{id:"5",type:"variant",parentId:"default",variantSelector:".ghost",declarations:[{property:"color",value:"var(--dark-80)",fluidValue:[0,0,"px"],id:"01H2AZSA9S6Z6P66393MJP8D7C"},{property:"background",value:"transparent",fluidValue:[0,0,"px"],id:"01H2ANCYYD5094EY54FE8WA0PJ"},{property:"border-color",value:"transparent",fluidValue:[0,0,"px"],id:"01H7XQ0J706724JARPFC19RTJH"},{property:"box-shadow",value:"none",fluidValue:[0,0,"px"],id:"01H7XQ0VFG265Q39E88QHYCTKD"}]},{id:"6",type:"variant",parentId:"default",variantSelector:".slight",declarations:[{property:"color",value:"var(--dark-80)",fluidValue:[0,0,"px"],id:"01H7XPTQTY0MHB4G23C4S68CSY"},{property:"background",value:"var(--bg-surface)",fluidValue:[0,0,"px"],id:"01H2AN0EGN5CD2A0R65PK0D3YP"},{property:"border-color",value:"var(--border-primary)",fluidValue:[0,0,"px"],id:"01H7XPWCRH6GN1NSN6064FHM32"},{property:"box-shadow",value:"var(--shadow-s)",fluidValue:[0,0,"px"],id:"01H7XPY7G6VDV83NG95HXB3EA2"}]},{id:"7",type:"variant",parentId:"default",variantSelector:".secondary",declarations:[{property:"background",value:"var(--secondary)",fluidValue:[0,0,"px"],id:"01H2EM0TBH1T9NE2RG2A2FYDP1"},{property:"border-color",value:"var(--secondary-d-1)",fluidValue:[0,0,"px"],id:"01H7XPT2NPK15ZKQR6T44GDTDD"}]},{id:"hover-9",type:"hover",parentId:"5",declarations:[{property:"background",value:"var(--dark-10)",fluidValue:[0,0,"px"],id:"01H4DTNRBZK42WBS6PHF1V3721"}]},{id:"hover-10",type:"hover",parentId:"6",declarations:[{property:"background",value:"var(--dark-5)",fluidValue:[0,0,"px"],id:"01H4DTQ00D8GS0EKPXYCS67PDC"}]},{id:"hover-11",type:"hover",parentId:"4",declarations:[{property:"background",value:"var(--tertiary-d-1)",fluidValue:[0,0,"px"],id:"01H4DTQDEFKWP5YXADVZYH00NE"}]},{id:"hover-12",type:"hover",parentId:"7",declarations:[{property:"background",value:"var(--secondary-d-1)",fluidValue:[0,0,"px"],id:"01H4DTRBYQXAZKHEVQTMN8CHPX"}]},{id:"focus-13",type:"focus",parentId:"default",declarations:[{property:"outline",value:"4px solid var(--primary-l-3)",fluidValue:[0,0,"px"],id:"01H7XQ5EAYQ8ZSFC0W8CC23GRP"},{property:"outline-offset",value:"2px",fluidValue:[0,0,"px"],id:"01H7XQ5YYM4A5BZWEFTX2W7C1Z"}]},{id:"variant-18",type:"variant",parentId:"default",variantSelector:".no-bg",declarations:[{property:"color",value:"var(--dark-80)",fluidValue:[0,0,"px"],id:"01H7XQ3RR0A7H54MQFGJFZ9R3E"},{property:"background",value:"transparent",fluidValue:[0,0,"px"],id:"01H6BYF73VBZY1K4GWHGMEE0MD"},{property:"box-shadow",value:"none",fluidValue:[0,0,"px"],id:"01H7XQ38GAGAAV9QYDAMATM1ZD"},{property:"border-color",value:"transparent",fluidValue:[0,0,"px"],id:"01H7XQ3J34EYZWMEM4D9K8NPCD"}]},{id:"hover-19",type:"hover",parentId:"variant-18",declarations:[{property:"color",value:"var(--dark)",fluidValue:[0,0,"px"],id:"01H7XQ42WKZWYX3GCMJVNCCQK2"}]}],order:["default","2","3","7","4","6","5","variant-18"]},{id:"28",selector:".badge",type:"button",variants:[{id:"default",type:"default",parentId:"default",declarations:[{property:"display",value:"flex",fluidValue:[0,0,"px"],id:"01GXK889W5DSJFR4GXE2AKV5B8"},{property:"align-items",value:"center",fluidValue:[0,0,"px"],id:"01GXK88EQ2PNM94ZPJ693SKZAV"},{property:"justify-content",value:"center",fluidValue:[0,0,"px"],id:"01GXS4P4RHQX31G5JDC5K5YMDV"},{property:"gap",value:"var(--space-4xs)",fluidValue:[0,0,"px"],id:"01H2EB9XPZCAP2YGT1G74VX6AD"},{property:"padding",value:"var(--space-2xs) var(--space-s)",fluidValue:[0,0,"px"],id:"1"},{property:"background",value:"var(--dark-10)",fluidValue:[0,0,"px"],id:"01H2C16FHYMC537KF3QCT13ZNG"},{property:"color",value:"var(--primary)",fluidValue:[0,0,"px"],id:"4"},{property:"font-size",value:"var(--text-s)",fluidValue:[0,0,"px"],id:"6"},{property:"font-weight",value:"500",fluidValue:[0,0,"px"],id:"7"},{property:"border-radius",value:"var(--radius-full)",fluidValue:[0,0,"px"],id:"2"},{property:"border",value:"0",fluidValue:[0,0,"px"],id:"01GXVXT6T00NVQ3WX41QKNAH4K"},{property:"outline",value:"0",fluidValue:[0,0,"px"],id:"01GXVY3A0ZG5GEHB3NW6XW7M9E"}]},{id:"2",type:"variant",parentId:"default",variantSelector:".secondary",declarations:[{property:"color",value:"var(--secondary)",fluidValue:[0,0,"px"],id:"01H2C1J84K8X82MG40126XNKSM"}]}],order:["default","1","2","01H7XH8HEJ7YMASS4HDKB3NEWZ"]},{id:"23",selector:".link",type:"link",variants:[{id:"default",type:"default",parentId:"default",declarations:[{property:"color",value:"var(--primary)",fluidValue:[0,0,"px"],id:"2"},{property:"font-size",value:"var(--text-m)",fluidValue:[0,0,"px"],id:"01H03M629TXYSC75J90PC06DWG"},{property:"font-weight",value:"600",fluidValue:[0,0,"px"],id:"01H03M4B8XRXF6C339S4S64RQP"},{property:"letter-spacing",value:"0.05rem",fluidValue:[0,0,"px"],id:"01H7XHBZ8JD2AJM3YHS733JXGJ"},{property:"box-shadow",value:"0 2px 0 var(--primary-20)",fluidValue:[0,0,"px"],id:"01H03M16Z7Y5R90FS0TGZ53WRF"},{property:"text-decoration",value:"none",fluidValue:[0,0,"px"],id:"01H03KVWXRH9MP5PV9S4GBW8SP"},{property:"transition",value:"all 0.15s ease-in-out",fluidValue:[0,0,"px"],id:"7"}]},{id:"1",type:"hover",parentId:"default",declarations:[{property:"box-shadow",value:"0 2px 0 var(--primary-40)",fluidValue:[0,0,"px"],id:"01H03KX5FRKWRN14H9NYFPJ69X"}]},{id:"2",type:"focus",parentId:"default",declarations:[{property:"background",value:"var(--primary-10)",fluidValue:[0,0,"px"],id:"01H7XHDXBGYPXF7NAWGJRAFRXK"}]},{id:"variant-4",type:"variant",parentId:"default",variantSelector:".secondary",declarations:[{property:"color",value:"var(--secondary)",fluidValue:[0,0,"px"],id:"01H4DYME2HQDM3M34K59B6Z62R"},{property:"border-color",value:"var(--secondary-20)",fluidValue:[0,0,"px"],id:"01H4DYNCES0ENDHQ47Z5H5E58M"}]},{id:"variant-5",type:"variant",parentId:"default",variantSelector:".tertiary",declarations:[{property:"color",value:"var(--tertiary)",fluidValue:[0,0,"px"],id:"01H4DYRDD5HRFF0ABRAW1JSHX1"},{property:"border-color",value:"var(--tertiary-20)",fluidValue:[0,0,"px"],id:"01H4DYRVBJ8VPHVWCDGBFK3S7N"}]}],order:["default","variant-4","variant-5"]},{id:"12",selector:".input",type:"input",variants:[{id:"default",type:"default",parentId:"default",declarations:[{property:"padding",value:"var(--space-xs) var(--space-s)",fluidValue:[0,0,"px"],id:"1"},{property:"background",value:"var(--dark-5)",fluidValue:[0,0,"px"],id:"01H03JQG1QV6WDF0NJK9T9KK07"},{property:"color",value:"var(--text-title)",fluidValue:[0,0,"px"],id:"5"},{property:"font-size",value:"var(--text-m)",fluidValue:[0,0,"px"],id:"01GXK847GBE4GBTSH4P0ATTY9P"},{property:"font-weight",value:"500",fluidValue:[0,0,"px"],id:"01H7XNJ43DQQQHHK9XP2GTRNAX"},{property:"border-radius",value:"var(--radius-m)",fluidValue:[0,0,"px"],id:"2"},{property:"border",value:"1px solid var(--border-primary)",fluidValue:[0,0,"px"],id:"01H7XN4P0BGXGMJ8CZE3RHGMC9"},{property:"box-shadow",value:"var(--shadow-xs)",fluidValue:[0,0,"px"],id:"01H7XN5439B19YAVG2XZ2FC8X2"},{property:"transition",value:"all 0.25s ease-in-out",fluidValue:[0,0,"px"],id:"01GXVZ9X2B6W610V0CZS67AAKD"},{property:"appearance",value:"none",fluidValue:[0,0,"px"],id:"01GXX7PQPJV3MPKW4JZY39EQ46"},{property:"outline",value:"0",fluidValue:[0,0,"px"],id:"01GXVZ38HPFY662JV1MG43SMJ8"}]},{id:"1",type:"focus",parentId:"default",declarations:[{property:"background",value:"var(--primary-20)",fluidValue:[0,0,"px"],id:"01H7XQHQPY99R3PY05W2W7YTGG"},{property:"border-color",value:"var(--primary)",fluidValue:[0,0,"px"],id:"01H7XQJ3DH5E5GXQ5J2693EHXX"},{property:"box-shadow",value:"var(--shadow-l)",fluidValue:[0,0,"px"],id:"01H7YV3DZBPZ3WB3VMDP6BC6MZ"}]},{id:"2",type:"hover",parentId:"default",declarations:[{property:"border-color",value:"var(--primary)",fluidValue:[0,0,"px"],id:"01GZ1HVZ6JKR6F79BJXFKCABF7"},{property:"background",value:"transparent",fluidValue:[0,0,"px"],id:"01H7YTYXH3VRS2BP7AV87WJ7B6"},{property:"box-shadow",value:"var(--shadow-l)",fluidValue:[0,0,"px"],id:"01H7YV2KNNPRGMDS1RFM2RD3HJ"}]},{id:"variant-4",type:"variant",parentId:"default",variantSelector:"::placeholder",declarations:[{property:"color",value:"var(--dark-40)",fluidValue:[0,0,"px"],id:"01H7TF2XBN7YD98SFWWWXBD0TS"}]},{id:"invalid-7",type:"invalid",parentId:"default",declarations:[{property:"border-color",value:"var(--error)",fluidValue:[0,0,"px"],id:"01H7XNY2GSHT2C3GS5WA4X1H72"},{property:"background",value:"var(--error-10)",fluidValue:[0,0,"px"],id:"01H7XP92AX805YWHBK4P6098GA"}]},{id:"disabled-7",type:"disabled",parentId:"default",declarations:[{property:"cursor",value:"not-allowed",fluidValue:[0,0,"px"],id:"01H7XP6JMC0THC1CNJTC1NW0SV"},{property:"opacity",value:".75",fluidValue:[0,0,"px"],id:"01H7XP6Y3XYBCFG6WD85MPXD69"},{property:"box-shadow",value:"none",fluidValue:[0,0,"px"],id:"01H7XP7R5NQ23NZE3P8HBX1K4W"},{property:"background",value:"var(--dark-10)",fluidValue:[0,0,"px"],id:"01H7XP88NKBDG7QT8QN3P7BAMH"}]}],order:["default","3","variant-4","variant-4","variant-4","variant-5","01H7XNWME9ZJA7PPD8XARCF0BZ"]},{id:"30",selector:".select",type:"select",variants:[{id:"default",type:"default",parentId:"default",declarations:[{property:"padding",value:"var(--space-xs) var(--space-s)",fluidValue:[0,0,"px"],id:"1"},{property:"background",value:"var(--dark-5)",fluidValue:[0,0,"px"],id:"01H03JQG1QV6WDF0NJK9T9KK07"},{property:"color",value:"var(--text-body)",fluidValue:[0,0,"px"],id:"5"},{property:"font-size",value:"var(--text-m)",fluidValue:[0,0,"px"],id:"01GXK847GBE4GBTSH4P0ATTY9P"},{property:"font-weight",value:"500",fluidValue:[0,0,"px"],id:"01H7XNJ43DQQQHHK9XP2GTRNAX"},{property:"border-radius",value:"var(--radius-m)",fluidValue:[0,0,"px"],id:"2"},{property:"border",value:"1px solid var(--border-primary)",fluidValue:[0,0,"px"],id:"01H7XN4P0BGXGMJ8CZE3RHGMC9"},{property:"box-shadow",value:"var(--shadow-xs)",fluidValue:[0,0,"px"],id:"01H7XN5439B19YAVG2XZ2FC8X2"},{property:"transition",value:"all 0.25s ease-in-out",fluidValue:[0,0,"px"],id:"01GXVZ9X2B6W610V0CZS67AAKD"},{property:"outline",value:"0",fluidValue:[0,0,"px"],id:"01GXVZ38HPFY662JV1MG43SMJ8"}]},{id:"1",type:"focus",parentId:"default",declarations:[{property:"background",value:"var(--primary-20)",fluidValue:[0,0,"px"],id:"01H7XQHQPY99R3PY05W2W7YTGG"},{property:"border-color",value:"var(--primary)",fluidValue:[0,0,"px"],id:"01H7XQJ3DH5E5GXQ5J2693EHXX"}]},{id:"2",type:"hover",parentId:"default",declarations:[{property:"border-color",value:"var(--primary)",fluidValue:[0,0,"px"],id:"01GZ1HVZ6JKR6F79BJXFKCABF7"}]},{id:"variant-4",type:"variant",parentId:"default",variantSelector:"::placeholder",declarations:[{property:"color",value:"var(--dark-40)",fluidValue:[0,0,"px"],id:"01H7TF2XBN7YD98SFWWWXBD0TS"}]},{id:"invalid-7",type:"invalid",parentId:"default",declarations:[{property:"border-color",value:"var(--error)",fluidValue:[0,0,"px"],id:"01H7XNY2GSHT2C3GS5WA4X1H72"},{property:"background",value:"var(--error-10)",fluidValue:[0,0,"px"],id:"01H7XP92AX805YWHBK4P6098GA"}]},{id:"disabled-7",type:"disabled",parentId:"default",declarations:[{property:"cursor",value:"not-allowed",fluidValue:[0,0,"px"],id:"01H7XP6JMC0THC1CNJTC1NW0SV"},{property:"opacity",value:".75",fluidValue:[0,0,"px"],id:"01H7XP6Y3XYBCFG6WD85MPXD69"},{property:"box-shadow",value:"none",fluidValue:[0,0,"px"],id:"01H7XP7R5NQ23NZE3P8HBX1K4W"},{property:"background",value:"var(--dark-10)",fluidValue:[0,0,"px"],id:"01H7XP88NKBDG7QT8QN3P7BAMH"}]}],order:["default","3","variant-4","variant-4","variant-4","variant-5","01H7XNWME9ZJA7PPD8XARCF0BZ"]},{id:"26",selector:".card",type:"card",variants:[{id:"default",type:"default",parentId:"default",declarations:[{property:"display",value:"grid",fluidValue:[0,0,"px"],id:"01H03NDTT4CMH6MWAR36E40KXK"},{property:"gap",value:"var(--space-xs)",fluidValue:[0,0,"px"],id:"01H05KSB2EF6TCZZBEPEFD4162"},{property:"padding",value:"var(--space-m)",fluidValue:[0,0,"px"],id:"5"},{property:"font-size",value:"var(--text-m)",fluidValue:[0,0,"px"],id:"01H05KSXJ1EZ1TTDK8KSX39GGV"},{property:"color",value:"var(--text-body)",fluidValue:[0,0,"px"],id:"01H05KWE2EMWWNF4JYP09E8VM8"},{property:"background",value:"var(--bg-surface)",fluidValue:[0,0,"px"],id:"01H03NCMZK4KCFWGF9G075X8W4"},{property:"line-height",value:"1.3",fluidValue:[0,0,"px"],id:"01H05M7PQJGG0T4R6SE0B90BQY"},{property:"border-radius",value:"var(--radius-m)",fluidValue:[0,0,"px"],id:"4"},{property:"box-shadow",value:"var(--shadow-m)",fluidValue:[0,0,"px"],id:"01H4DX0M24B0Z50P5AWDF1VC2F"}]},{id:"variant-2",type:"variant",parentId:"default",variantSelector:".secondary",declarations:[{property:"background",value:"var(--secondary)",fluidValue:[0,0,"px"],id:"01H4DWYW996PEEQD8ZC6BH3P93"},{property:"color",value:"#fff",fluidValue:[0,0,"px"],id:"01H4DWZXGPM4SV8XRJSEC1ZJCY"}]},{id:"variant-3",type:"variant",parentId:"default",variantSelector:".primary",declarations:[{property:"background",value:"var(--primary)",fluidValue:[0,0,"px"],id:"01H4DXBK41R87KK6M3PEW8639E"},{property:"color",value:"#fff",fluidValue:[0,0,"px"],id:"01H4DXBZFWZ989QVC1APT87PY5"}]}],order:["default","variant-3","variant-2"]},{id:"17",selector:".icon",type:"icon",variants:[{id:"default",type:"default",parentId:"default",declarations:[{property:"color",value:"var(--primary)",fluidValue:[0,0,"px"],id:"01H03HQAHBYGZXCFC1WVB40NJC"},{property:"width",value:"var(--space-2xl)",fluidValue:[0,0,"px"],id:"01H03HXBGDBYY8EMPCCSGFA5CY"},{property:"height",value:"auto",fluidValue:[0,0,"px"],id:"01H03HZ45Z855S7T826J0DSCZ4"},{property:"font-size",value:"var(--space-2xl)",fluidValue:[0,0,"px"],id:"01H7XMHN3DC2B6YDTQDV0VH0YY"}]},{id:"1",type:"variant",parentId:"default",variantSelector:".large",declarations:[{property:"width",value:"var(--space-3xl)",fluidValue:[0,0,"px"],id:"01H03JCJP3E9ZCZ2X7M4W5AZV4"},{property:"font-size",value:"var(--space-3xl)",fluidValue:[0,0,"px"],id:"01H7XMHD6J6G9C49BX59EHHG5F"}]},{id:"01H7XMKQ8G8AJ253128HMNCJZ3",type:"variant",parentId:"default",variantSelector:".secondary",declarations:[{property:"color",value:"var(--secondary)",fluidValue:[0,0,"px"],id:"01H03JCJP3E9ZCZ2X7M4W5AZV4"}]},{id:"01H7XMQYKA98R542MQN0WJ2YX6",type:"variant",parentId:"default",variantSelector:".tertiary",declarations:[{property:"color",value:"var(--tertiary)",fluidValue:[0,0,"px"],id:"01H03JCJP3E9ZCZ2X7M4W5AZV4"}]},{id:"01H7XMMW0DYJVCK68KAE96PPQV",type:"variant",parentId:"default",variantSelector:".outline",declarations:[{property:"padding",value:"0.5em",fluidValue:[0,0,"px"],id:"01H03JCJP3E9ZCZ2X7M4W5AZV4"},{property:"border",value:"1px solid var(--border-primary)",fluidValue:[0,0,"px"],id:"01H7XMNMMKFCMWTQ7R1V0VNFQW"},{property:"border-radius",value:"100%",fluidValue:[0,0,"px"],id:"01H7XMNWFDJVA1ZTMGT74JFJW8"},{property:"box-sizing",value:"content-box",fluidValue:[0,0,"px"],id:"01H7XMN7VRB41XWDMG6048G9A5"}]},{id:"01H7XMSWZ8JQ23MKC7CRPQPZWT",type:"variant",parentId:"default",variantSelector:".filled",declarations:[{property:"padding",value:"0.5em",fluidValue:[0,0,"px"],id:"01H03JCJP3E9ZCZ2X7M4W5AZV4"},{property:"border-radius",value:"100%",fluidValue:[0,0,"px"],id:"01H7XMNWFDJVA1ZTMGT74JFJW8"},{property:"box-sizing",value:"content-box",fluidValue:[0,0,"px"],id:"01H7XMN7VRB41XWDMG6048G9A5"},{property:"background",value:"var(--dark-10)",fluidValue:[0,0,"px"],id:"01H7XMTKD4ZG5FQK8JDGVRXB96"}]},{id:"2",type:"variant",parentId:"default",variantSelector:".small",declarations:[{property:"width",value:"var(--space-l)",fluidValue:[0,0,"px"],id:"01H03JE4CJRXSYY698MHKZ716W"},{property:"font-size",value:"var(--space-l)",fluidValue:[0,0,"px"],id:"01H7XMH7VVBVRB1ZZ86ENCZQ06"}]}],order:["default","variant-4","2","1","01H7XMKQ8G8AJ253128HMNCJZ3","01H7XMQYKA98R542MQN0WJ2YX6","01H7XMMW0DYJVCK68KAE96PPQV","01H7XMSWZ8JQ23MKC7CRPQPZWT","variant-4","variant-5"]},{id:"24",selector:".avatar",type:"img",variants:[{id:"default",type:"default",parentId:"default",declarations:[{property:"width",value:"var(--space-2xl)",fluidValue:[0,0,"px"],id:"01H03HXBGDBYY8EMPCCSGFA5CY"},{property:"height",value:"var(--space-2xl)",fluidValue:[0,0,"px"],id:"01H03HZ45Z855S7T826J0DSCZ4"},{property:"border-radius",value:"100%",fluidValue:[0,0,"px"],id:"01H03J5WDKVGQP2BQBZTABYNDG"},{property:"box-shadow",value:"var(--shadow-m)",fluidValue:[0,0,"px"],id:"01H03MHN91S582VKNJ834X6S0Q"},{property:"object-fit",value:"cover",fluidValue:[0,0,"px"],id:"01H03N9E7NS8V1TV5JC0MFMKQF"}]},{id:"1",type:"variant",parentId:"default",variantSelector:".small",declarations:[{property:"width",value:"var(--space-l)",fluidValue:[0,0,"px"],id:"01H03JE4CJRXSYY698MHKZ716W"},{property:"height",value:"var(--space-l)",fluidValue:[0,0,"px"],id:"01H03JF74SYT39WMBTJQ8PXG31"}]},{id:"2",type:"variant",parentId:"default",variantSelector:".large",declarations:[{property:"width",value:"var(--space-4xl)",fluidValue:[0,0,"px"],id:"01H03JCJP3E9ZCZ2X7M4W5AZV4"},{property:"height",value:"var(--space-4xl)",fluidValue:[0,0,"px"],id:"01H03JDAE6CHNYGJ2PPF2RXCQN"}]}],order:["default","1","2"]},{id:"29",selector:".divider",type:"hr",variants:[{id:"01H7XSHWXFH4TAFPE5V1SJQ9SV",type:"default",declarations:[{property:"min-width",value:"100%",fluidValue:[0,0,"px"],id:"01H7YTT8FPJZE1A3ZFM2ZVXQSY"},{property:"width",value:"100%",fluidValue:[0,0,"px"],id:"1"},{property:"max-width",value:"100%",fluidValue:[0,0,"px"],id:"01H7YTS6S36RZTWZ4RF7T24C3R"},{property:"min-height",value:"1px",fluidValue:[0,0,"px"],id:"01H7YTTF2P8D4F203A2G21CJST"},{property:"height",value:"1px",fluidValue:[0,0,"px"],id:"01H7XSTEA4C5JR8418GTG54VE8"},{property:"max-height",value:"1px",fluidValue:[0,0,"px"],id:"01H7YTQ1D9BPYDBF09B1GW84Y2"},{property:"background",value:"var(--border-primary)",fluidValue:[0,0,"px"],id:"01H7XSTK9VJ88CKSRYV27GBAPJ"},{property:"margin",value:"var(--space-m) 0",fluidValue:[0,0,"px"],id:"01H7XSW78K8BJ5Z1B1HMJXBQ44"},{property:"border",value:"0",fluidValue:[0,0,"px"],id:"01H7XT25XV7GC0AJMF6QE4SYPN"}]},{id:"variant-2",type:"variant",parentId:"01H7XSHWXFH4TAFPE5V1SJQ9SV",variantSelector:".vertical",declarations:[{property:"min-width",value:"1px",fluidValue:[0,0,"px"],id:"01H7YTTZQQD7B3Z2KJ4A75JCGF"},{property:"width",value:"1px",fluidValue:[0,0,"px"],id:"01H7XSV8PWYHV64S3SH7ZHYW57"},{property:"max-width",value:"1px",fluidValue:[0,0,"px"],id:"01H7YTR4VGN9PZT581AETZ08CT"},{property:"min-height",value:"100%",fluidValue:[0,0,"px"],id:"01H7YTTRN999WFTV0WZN31TEVN"},{property:"height",value:"100%",fluidValue:[0,0,"px"],id:"01H7XT5M8NNZJASXD1426EHWSF"},{property:"max-height",value:"100%",fluidValue:[0,0,"px"],id:"01H7YTRY6N9288YRBEZFEAS26E"}]}],order:["default","variant-2"]},{id:"31",selector:".checkbox",type:"checkbox",variants:[{id:"01H7YRNS62BZCCQQ96BRHG9T8E",type:"default",declarations:[{property:"appearance",value:"none",fluidValue:[0,0,"px"],id:"1"},{property:"display",value:"grid",fluidValue:[0,0,"px"],id:"01H7YSER33D3KRRR7FQTPCBGXM"},{property:"place-content",value:"center",fluidValue:[0,0,"px"],id:"01H7YSEZ56ZJ0SFA9Y84284Q8B"},{property:"border",value:"2px solid var(--dark-40)",fluidValue:[0,0,"px"],id:"01H7YSANWR5YVRFJ16R9RVS6H7"},{property:"border-radius",value:"var(--radius-s)",fluidValue:[0,0,"px"],id:"01H7YSFJE34KAZY3FK518DZ7ZZ"},{property:"width",value:"2rem",type:"fluid",fluidValue:[18,22,"px"],id:"01H7YSBES6KNSFXC2ZP11363ZT"},{property:"height",value:"2rem",type:"fluid",fluidValue:[18,22,"px"],id:"01H7YSBYT10EEDRSVZK0TWA1ZC"}]},{id:"variant-2",type:"variant",parentId:"01H7YRNS62BZCCQQ96BRHG9T8E",variantSelector:":checked:before",declarations:[{property:"transform",value:"scale(1)",fluidValue:[0,0,"px"],id:"01H7YSGH3HSHA47KRKDS74CW1T"}]},{id:"before-4",type:"before",parentId:"default",declarations:[{property:"content",value:'""',fluidValue:[0,0,"px"],id:"01H7YT245YDARX5607VVCMFKT5"},{property:"width",value:"1em",fluidValue:[0,0,"px"],id:"01H7YT2CX2C5RYT1K9X5BB1V45"},{property:"height",value:"1em",fluidValue:[0,0,"px"],id:"01H7YT2JJWRHNCJZJHA5JSQZC8"},{property:"box-shadow",value:"inset 1em 1em #fff",fluidValue:[0,0,"px"],id:"01H7YT4ZEQ75X0JAE5XW628XCV"},{property:"clip-path",value:"polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%)",fluidValue:[0,0,"px"],id:"01H7YT3FZ9H7M33YNQSTC4W9SW"},{property:"transform",value:"scale(0)",fluidValue:[0,0,"px"],id:"01H7YSZCPMXN4MF4MBE5PNN159"},{property:"transition",value:"transform 0.2s",fluidValue:[0,0,"px"],id:"01H7YSZJC68XXMSS1V6QHRS7KK"}]},{id:"hover-5",type:"hover",parentId:"default",declarations:[{property:"border-color",value:"var(--primary)",fluidValue:[0,0,"px"],id:"01H7YT6GF7N70BYAMHH299KS6R"}]},{id:"focus-6",type:"focus",parentId:"default",declarations:[{property:"outline",value:"3px solid var(--primary-l-3)",fluidValue:[0,0,"px"],id:"01H7YTN772CE2FG2Y91RTFRYTD"},{property:"outline-offset",value:"2px",fluidValue:[0,0,"px"],id:"01H7YTNM9SRNHKB81S4G95V771"}]},{id:"checked-7",type:"checked",parentId:"default",declarations:[{property:"background",value:"var(--primary)",fluidValue:[0,0,"px"],id:"01H7ZA2DGMBTD4SFJNFWYKA3T2"},{property:"border-color",value:"var(--primary)",fluidValue:[0,0,"px"],id:"01H7ZA2GNXBM0CS81PPX1ERH3Z"}]}],order:["default","variant-2"]},{id:"32",selector:".radio",type:"radio",variants:[{id:"01H7YRNS62BZCCQQ96BRHG9T8E",type:"default",declarations:[{property:"appearance",value:"none",fluidValue:[0,0,"px"],id:"1"},{property:"display",value:"grid",fluidValue:[0,0,"px"],id:"01H7YSER33D3KRRR7FQTPCBGXM"},{property:"place-content",value:"center",fluidValue:[0,0,"px"],id:"01H7YSEZ56ZJ0SFA9Y84284Q8B"},{property:"border",value:"2px solid var(--dark-40)",fluidValue:[0,0,"px"],id:"01H7YSANWR5YVRFJ16R9RVS6H7"},{property:"border-radius",value:"var(--radius-full)",fluidValue:[0,0,"px"],id:"01H7YSFJE34KAZY3FK518DZ7ZZ"},{property:"width",value:"2rem",type:"fluid",fluidValue:[18,22,"px"],id:"01H7YSBES6KNSFXC2ZP11363ZT"},{property:"height",value:"2rem",type:"fluid",fluidValue:[18,22,"px"],id:"01H7YSBYT10EEDRSVZK0TWA1ZC"}]},{id:"variant-2",type:"variant",parentId:"01H7YRNS62BZCCQQ96BRHG9T8E",variantSelector:":checked:before",declarations:[{property:"transform",value:"scale(1)",fluidValue:[0,0,"px"],id:"01H7YSSBKVFA7Y0X3TZ84SQD3Z"}]},{id:"before-4",type:"before",parentId:"default",declarations:[{property:"content",value:'""',fluidValue:[0,0,"px"],id:"01H7YT245YDARX5607VVCMFKT5"},{property:"width",value:"1em",fluidValue:[0,0,"px"],id:"01H7YT2CX2C5RYT1K9X5BB1V45"},{property:"height",value:"1em",fluidValue:[0,0,"px"],id:"01H7YT2JJWRHNCJZJHA5JSQZC8"},{property:"border-radius",value:"100%",fluidValue:[0,0,"px"],id:"01H7YVZ430A13HMWMSJ6N456BX"},{property:"transform",value:"scale(0)",fluidValue:[0,0,"px"],id:"01H7YSZCPMXN4MF4MBE5PNN159"},{property:"transition",value:"transform 0.2s",fluidValue:[0,0,"px"],id:"01H7YSZJC68XXMSS1V6QHRS7KK"},{property:"background",value:"var(--primary)",fluidValue:[0,0,"px"],id:"01H7YVZHENN54RT912C6NDAJV9"}]},{id:"hover-5",type:"hover",parentId:"default",declarations:[{property:"border-color",value:"var(--primary)",fluidValue:[0,0,"px"],id:"01H7YT6GF7N70BYAMHH299KS6R"}]},{id:"focus-6",type:"focus",parentId:"default",declarations:[{property:"outline",value:"3px solid var(--primary-l-3)",fluidValue:[0,0,"px"],id:"01H7YTN772CE2FG2Y91RTFRYTD"},{property:"outline-offset",value:"2px",fluidValue:[0,0,"px"],id:"01H7YTNM9SRNHKB81S4G95V771"}]},{id:"checked-7",parentId:"default",type:"checked",declarations:[{id:"01H7ZB8WY1YG6Y6NZF4F80HQBZ",property:"border-color",value:"var(--primary)",fluidValue:[0,0,"px"]}]}],order:["default","variant-2"]}]},wat=ba(LY),D3e=Fr({property:Bt(),value:Bt(),type:Bt().optional(),fluidValue:Dr(Gn().or(Bt())).length(3).optional(),colorValue:Bt().optional(),id:Bt()}),xat=DY(Bt(),Dr(D3e)),JV=Fr({id:Bt(),type:Bt(),parentId:Bt().optional(),variantSelector:Bt().optional(),declarations:Dr(D3e)}),k3e=Fr({id:Bt(),selector:Bt(),type:wat,declarations:xat.optional(),variants:Dr(JV).optional(),order:Dr(Bt()).optional()}),O3e=Fr({components:Dr(k3e),isDisabled:Ut().optional()}),Sat=Symbol(""),JT=(t,e,r)=>(e.has(r)?e:e.set(r,t())).get(r),Eat=new WeakMap,Dat=(t,e,r,n)=>{const i=JT(()=>new WeakMap,Eat,e),o=JT(()=>new WeakMap,i,r);return JT(t,o,n)};function P3e(t,e,r=Object.is){return Dat(()=>{const n=Symbol(),i=([s,a])=>{if(a===n)return e(s);const l=e(s,a);return r(a,l)?a:l},o=Zr(s=>{const a=s(o),l=s(t);return i([l,a])});return o.init=n,o},t,e,r)}const I3e=t=>typeof t?.then=="function";function kat(t=()=>{try{return window.localStorage}catch{return}},e){var r;let n,i;const o={getItem:(l,c)=>{var u,f;const d=h=>{if(h=h||"",n!==h){try{i=JSON.parse(h,e?.reviver)}catch{return c}n=h}return i},p=(f=(u=t())==null?void 0:u.getItem(l))!=null?f:null;return I3e(p)?p.then(d):d(p)},setItem:(l,c)=>{var u;return(u=t())==null?void 0:u.setItem(l,JSON.stringify(c,e?.replacer))},removeItem:l=>{var c;return(c=t())==null?void 0:c.removeItem(l)}},s=l=>(c,u,f)=>l(c,d=>{let p;try{p=JSON.parse(d||"")}catch{p=f}u(p)});let a;try{a=(r=t())==null?void 0:r.subscribe}catch{}return!a&&typeof window<"u"&&typeof window.addEventListener=="function"&&window.Storage&&(a=(l,c)=>{if(!(t()instanceof window.Storage))return()=>{};const u=f=>{f.storageArea===t()&&f.key===l&&c(f.newValue)};return window.addEventListener("storage",u),()=>{window.removeEventListener("storage",u)}}),a&&(o.subscribe=s(a)),o}const Oat=kat();function kI(t,e,r=Oat,n){const i=n?.getOnInit,o=Zr(i?r.getItem(t,e):e);return o.onMount=a=>{a(r.getItem(t,e));let l;return r.subscribe&&(l=r.subscribe(t,a,e)),l},Zr(a=>a(o),(a,l,c)=>{const u=typeof c=="function"?c(a(o)):c;return u===Sat?(l(o,e),r.removeItem(t)):I3e(u)?u.then(f=>(l(o,f),r.setItem(t,f))):(l(o,u),r.setItem(t,u))})}function Xn(t,e){const r=E.useMemo(()=>Zr(null,(n,i,...o)=>t(n,i,...o)),[t]);return kn(r,e)}const RY=E.memo(function(){return C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:C.jsx("path",{fill:"currentColor",d:"M19 8v3H5.83l2.88-2.88A.996.996 0 107.3 6.71L2.71 11.3a.996.996 0 000 1.41L7.3 17.3a.996.996 0 101.41-1.41L5.83 13H20c.55 0 1-.45 1-1V8c0-.55-.45-1-1-1s-1 .45-1 1z"})})}),MY=E.memo(function(){return C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M18.28 14.184a.5.5 0 01.704.566 8.243 8.243 0 01-2.155 3.787 8.145 8.145 0 01-11.518.151 8.15 8.15 0 01.152-11.522 8.234 8.234 0 013.766-2.15.51.51 0 01.577.718 6.43 6.43 0 001.19 7.268 6.426 6.426 0 007.285 1.182zM17.34 3.392a.753.753 0 011.32 0l.584 1.066a.75.75 0 00.298.298l1.066.583a.753.753 0 010 1.322l-1.066.583a.75.75 0 00-.298.298l-.583 1.066a.753.753 0 01-1.322 0l-.583-1.066a.75.75 0 00-.298-.298l-1.066-.583a.753.753 0 010-1.322l1.066-.583a.75.75 0 00.298-.298z"})})}),_Y=E.memo(function(){return C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:C.jsx("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",children:C.jsx("path",{d:"M15.536 8.464a5 5 0 11-7.072 7.072 5 5 0 017.071-7.072M12 4V2M12 22v-2M18.36 5.64l.71-.71M4.93 19.07l.71-.71M20 12h2M2 12h2M18.36 18.36l.71.71M4.93 4.93l.71.71"})})})}),jY=E.forwardRef(({onclick:t},e)=>C.jsx("button",{ref:e,onClick:t,className:"new-group with-icon",style:{transform:"rotate(180deg)"},children:C.jsx(Xl,{})})),Pat={position:"top"},Iat="Missing label",Qr=({children:t,label:e=Iat,...r})=>{const n={...Pat,...r};return e?C.jsx(mp,{label:e,...n,children:t}):C.jsx(C.Fragment,{children:t})},Nat=({minFontSize:t,maxFontSize:e,minScreenWidth:r,maxScreenWidth:n})=>{let i={fontSize:Number(t),breakpoint:Number(r)},o={fontSize:Number(e),breakpoint:Number(n)};const s=(o.fontSize-i.fontSize)/(o.breakpoint-i.breakpoint),a=`${Hi(s*100)}vw`,l=i.fontSize-s*i.breakpoint;return{min:`${Hi(i.fontSize)}`,max:`${Hi(o.fontSize)}`,preferred:`${a} + ${Hi(l)}`,getFontSize:c=>{const u=s*c+l;return`${Hi(Math.min(o.fontSize,u))}`}}},U1=({minFontSize:t,maxFontSize:e,minScreenWidth:r,maxScreenWidth:n,isRem:i,rootFontSize:o=16})=>{const s=Nat({minFontSize:t,maxFontSize:e,minScreenWidth:r,maxScreenWidth:n}),a=i?`${na(s.min,"rem",o)}`:`${s.min}px`,l=s.preferred.split(" + "),c=`${l[0]} + ${na(l[1],i?"rem":"px",o)}`,u=i?`${na(s.max,"rem",o)}`:`${s.max}px`;return`clamp(${a}, calc(${c}), ${u})`};function N3e({state:t,minScreenWidth:e,maxScreenWidth:r}){const n=[],i=t.steps.split(",").map((o,s)=>s-t.baseScaleIndex);for(const o of i){const s=t.min.isCustomScaleRatio&&t.min.scaleRatioInputValue?t.min.scaleRatioInputValue:t.min.scaleRatio,a=t.max.isCustomScaleRatio&&t.max.scaleRatioInputValue?t.max.scaleRatioInputValue:t.max.scaleRatio;let l={fontSize:Number(t.min.size)*Math.pow(Number(s),o),breakpoint:e},c={fontSize:Number(t.max.size)*Math.pow(Number(a),o),breakpoint:r};const u=(c.fontSize-l.fontSize)/(c.breakpoint-l.breakpoint),f=`${Hi(u*100)}vw`,d=l.fontSize-u*l.breakpoint;n.push({min:`${Hi(l.fontSize)}`,max:`${Hi(c.fontSize)}`,preferred:`${f} + ${Hi(d)}`,getFontSize:p=>{const h=u*p+d;return`${Hi(Math.min(c.fontSize,h))}`}})}return n}const F3e=t=>t?[{id:"cs-c",selector:"/* Fluid Spacing */",declarations:[]}]:[];function Fat(t,e,r){if(!Object.values(t).length)return[];const n=[];return e.classes?.map(({tabId:i,name:o,isDisabled:s,property:a})=>{if(s)return;const l=t[i]?i:"";if(!l||!t[l])return;const c=e.groups.find(f=>f.id===l);c?.steps?.split(",")?.map((f,d)=>{const p=o.replace("*",f),h=t[l][d],g=`var(${Object.keys(h)[0]})`;n.push({id:p,selector:p,declarations:a.map((m,v)=>({id:(v+1).toString(),property:m,value:g})),...r?{types:["class","space-class"],groupName:c?.name??""}:{}})})}),n}function Tat({id:t,manualSizes:e,data:r,includeVariants:n}){if(!e.length)return[];const i=[];return r.classes?.map(({isDisabled:o,property:s,tabId:a,name:l})=>{if(o)return;const c=t===a?a:"";if(t!==c)return;const u=r.groups.find(d=>d.id===c);u?.steps?.split(",")?.map((d,p)=>{if(p>=e.length)return null;const h=l.replace("*",d),g=`var(--${e[p].name})`;i.push({id:h,selector:h,declarations:s.map((m,v)=>({id:(v+1).toString(),property:m,value:g})),...n?{types:["class","space-class"],groupName:u?.name??""}:{}})})}),i}function Lat({spacingState:t,preferences:e,includeVariants:r}){const{isDisabled:n,manualSizes:i,id:o,name:s}=t;if(!i?.length)return[];const a=i.map((c,u)=>{const f=Ks(c.name),d=U1({minFontSize:Number(c.min),maxFontSize:Number(c.max),minScreenWidth:Number(e.min_screen_width),maxScreenWidth:Number(e.max_screen_width),isRem:!!e.is_rem,rootFontSize:Number(e.root_font_size)}),p=`f_m_${u}}`;return{property:f,value:d,id:p,...r?{types:["variable","space-variable"],groupName:s}:{}}}),l={selector:":root",id:ht(),declarations:n?[]:a};return[...F3e(e.is_add_group_comments),l]}const T3e=(t,e)=>e.split(",")[t],Rat=({typeScales:t,namingConvention:e,steps:r,targetUnit:n,root_font_size:i})=>t.map(({min:o,max:s,preferred:a},l)=>({[vI(e,String(T3e(l,r)))]:`clamp(${na(Number(o),n,i)}, calc(${[a.split(" + ")[0],na(a.split(" + ")[1],n,i)].join(" + ")}), ${na(s,n,i)})`}));function mC({formData:t,onlyVariables:e,root_font_size:r,min_screen_width:n,max_screen_width:i,is_rem:o,is_add_group_comments:s,includeVariants:a}){const l=[],c=[],u=[],f={},{groups:d,has_legacy_manual_class_generator:p,classes:h}=t,A=h?.filter(({tabId:v,isDisabled:y})=>d.some(({id:b,mode:B})=>b===v&&B==="fluid_manual")&&!y);if(p&&A?.length){const v=d.filter(({id:y})=>A.some(({tabId:b})=>b===y));for(const{id:y,manualSizes:b}of v){if(!b?.length)continue;const B=Tat({id:y,manualSizes:b,data:t});c.push(...B)}}for(const v of d){const{isDisabled:y,namingConvention:b,steps:B,mode:S,manualSizes:w,id:x}=v;if(!y)if(S==="fluid_manual"&&w?.length)c.push(...Lat({spacingState:v,preferences:{root_font_size:r,min_screen_width:n,max_screen_width:i,is_rem:o,is_add_group_comments:s},includeVariants:a}));else{const I=N3e({state:v,minScreenWidth:n,maxScreenWidth:i});l.push(...I);const F=o?"rem":"px",k=I.map(({min:O,max:L,preferred:M},H)=>({[vI(b,String(T3e(H,B)))]:`clamp(${na(Number(O),F,r)}, calc(${[M.split(" + ")[0],na(M.split(" + ")[1],F,r)].join(" + ")}), ${na(L,F,r)})`}));f[x]||(f[x]=[]),f[x].push(...k),k.forEach(O=>{const L=Object.keys(O)[0],M=O[L];u.push({property:L,value:M,id:ht(),...a?{types:["variable","space-variable"],groupName:name}:{}})})}}const g={selector:":root",id:ht(),declarations:u,...a?{types:["variable"]}:{}};if(e)return[g,...c];const m=t.classes?.some(v=>!v.isDisabled)?Fat(f,t,a):[];return[...F3e(s),...m,g,...c]}function gC({spacingState:t,root_font_size:e,is_rem:r,min_screen_width:n,max_screen_width:i}){const o=r?"rem":"px",s=[],a=[];for(const l of t.groups){const{namingConvention:c,steps:u}=l,f=N3e({state:l,minScreenWidth:n,maxScreenWidth:i}),d=Rat({typeScales:f,namingConvention:c,steps:u,targetUnit:o,root_font_size:e});a.push(...f),s.push(...d)}return{typeScales:a,declarations:s}}function Z3(t){const{mode:e,manualSizes:r,steps:n,namingConvention:i}=t;return e==="fluid"?n.split(",").map(o=>Ks(`${i}-${o}`)):r?.map(o=>Ks(o.name))||[]}function L3e({state:t,minScreenWidth:e,maxScreenWidth:r}){const n=[],i=t.steps.split(",").map((o,s)=>s-t.baseScaleIndex);for(const o of i){const s=t.min.isCustomScaleRatio&&t.min.scaleRatioInputValue?t.min.scaleRatioInputValue:t.min.scaleRatio,a=t.max.isCustomScaleRatio&&t.max.scaleRatioInputValue?t.max.scaleRatioInputValue:t.max.scaleRatio;let l={fontSize:Number(t.min.fontSize)*Math.pow(Number(s),o),breakpoint:e},c={fontSize:Number(t.max.fontSize)*Math.pow(Number(a),o),breakpoint:r};const u=(c.fontSize-l.fontSize)/(c.breakpoint-l.breakpoint),f=`${Hi(u*100)}vw`,d=l.fontSize-u*l.breakpoint;n.push({min:`${Hi(l.fontSize)}`,max:`${Hi(c.fontSize)}`,preferred:`${f} + ${Hi(d)}`,getFontSize:p=>{const h=u*p+d;return`${Hi(Math.min(c.fontSize,h))}`}})}return n}const UY="Spacing",Fa="01GXBWJF103RRW8CM456QY1B2BQGG",QY="Typography",gle="01GXBWJFMNRRW8CM456QY1B2BQGG",kA={selected_id:"",root_font_size:16},Mat=!1,_at=!1,jat="COLOR_SYSTEM",ha={root_font_size:10,postcss:!0,min_screen_width:320,max_screen_width:1400,is_rem:!0},Gc={groups:[{id:Fa,name:UY,min:{size:16,scaleRatio:1.25},max:{size:28,scaleRatio:1.414,isCustomScaleRatio:!1,scaleRatioInputValue:1.333},steps:"4xs,3xs,2xs,xs,s,m,l,xl,2xl,3xl,4xl",namingConvention:"space",baseScaleIndex:5,isRem:!0,mode:"fluid",manualSizes:[{min:5.24,max:4.95,name:"space-4xs",css:"clamp(0.52rem, calc(-0.03vw + 0.53rem), 0.49rem)",id:"01H6EYBJTQAKTRCK7T688VVF61"},{min:6.55,max:7,name:"space-3xs",css:"clamp(0.66rem, calc(0.04vw + 0.64rem), 0.7rem)",id:"01H6EYBJTQ9KPS3EAZF2B0YTA2"},{min:8.19,max:9.9,name:"space-2xs",css:"clamp(0.82rem, calc(0.16vw + 0.77rem), 0.99rem)",id:"01H6EYBJTQFGN675Z8538K8WVT"},{min:10.24,max:14,name:"space-xs",css:"clamp(1.02rem, calc(0.35vw + 0.91rem), 1.4rem)",id:"01H6EYBJTQ9PYFNSA3NG9YPCXN"},{min:12.8,max:19.8,name:"space-s",css:"clamp(1.28rem, calc(0.65vw + 1.07rem), 1.98rem)",id:"01H6EYBJTQDTTWKAK09VSTNTJ7"},{min:16,max:28,name:"space-m",css:"clamp(1.6rem, calc(1.11vw + 1.24rem), 2.8rem)",id:"01H6EYBJTQ8PY1JWGFXH4FMD80"},{min:20,max:39.59,name:"space-l",css:"clamp(2rem, calc(1.81vw + 1.42rem), 3.96rem)",id:"01H6EYBJTQ95FSPZ26R790ZH9G"},{min:25,max:55.98,name:"space-xl",css:"clamp(2.5rem, calc(2.87vw + 1.58rem), 5.6rem)",id:"01H6EYBJTQC9D1TQ92B7FFV04W"},{min:31.25,max:79.16,name:"space-2xl",css:"clamp(3.13rem, calc(4.44vw + 1.71rem), 7.92rem)",id:"01H6EYBJTQPY2F62TD44J01KNM"},{min:39.06,max:111.93,name:"space-3xl",css:"clamp(3.91rem, calc(6.75vw + 1.75rem), 11.19rem)",id:"01H6EYBJTRQJFPVJDTYGHE0BS5"},{min:48.83,max:158.27,name:"space-4xl",css:"clamp(4.88rem, calc(10.13vw + 1.64rem), 15.83rem)",id:"01H6EYBJTRFR8R2AE47D4Z2FRH"}]}],classes:[{id:ht(),tabId:Fa,name:".padding-*",property:["padding"]},{id:ht(),tabId:Fa,name:".padding-left-*",property:["padding-left"]},{id:ht(),tabId:Fa,name:".padding-right-*",property:["padding-right"]},{id:ht(),tabId:Fa,name:".padding-top-*",property:["padding-top"]},{id:ht(),tabId:Fa,name:".padding-bottom-*",property:["padding-bottom"]},{id:ht(),tabId:Fa,name:".padding-horizontal-*",property:["padding-left","padding-right"]},{id:ht(),tabId:Fa,name:".padding-vertical-*",property:["padding-top","padding-bottom"]},{id:ht(),tabId:Fa,name:".margin-*",property:["margin"]},{id:ht(),tabId:Fa,name:".margin-left-*",property:["margin-left"]},{id:ht(),tabId:Fa,name:".margin-right-*",property:["margin-right"]},{id:ht(),tabId:Fa,name:".margin-top-*",property:["margin-top"]},{id:ht(),tabId:Fa,name:".margin-bottom-*",property:["margin-bottom"]},{id:ht(),tabId:Fa,name:".margin-horizontal-*",property:["margin-left","margin-right"]},{id:ht(),tabId:Fa,name:".margin-vertical-*",property:["margin-top","margin-bottom"]},{id:ht(),tabId:Fa,name:".gap-*",property:["gap"]}]},VY={isDisabled:!1,groups:[{id:ht(),name:"Custom Styles",css:`/* Add your custom CSS here */ `,isActive:!0}]},ac={groups:[{id:gle,name:QY,min:{fontSize:16,scaleRatio:1.125},max:{fontSize:18,scaleRatio:1.333},steps:"xs,s,m,l,xl,2xl,3xl,4xl",namingConvention:"text",baseScaleIndex:2,mode:"fluid",manualSizes:[{min:12.64,max:10.13,name:"text-xs",css:"clamp(1.26rem, calc(-0.23vw + 1.34rem), 1.01rem)",id:"01H6EYBJTQFVBD542QNZH2V7JZ"},{min:14.22,max:13.5,name:"text-s",css:"clamp(1.42rem, calc(-0.07vw + 1.44rem), 1.35rem)",id:"01H6EYBJTQZDEJHG8HBWB9DJG1"},{min:16,max:18,name:"text-m",css:"clamp(1.6rem, calc(0.19vw + 1.54rem), 1.8rem)",id:"01H6EYBJTQE0AQZJV5TGX1TQTQ"},{min:18,max:23.99,name:"text-l",css:"clamp(1.8rem, calc(0.55vw + 1.62rem), 2.4rem)",id:"01H6EYBJTQV3QP43BSW3CGB24E"},{min:20.25,max:31.98,name:"text-xl",css:"clamp(2.02rem, calc(1.09vw + 1.68rem), 3.2rem)",id:"01H6EYBJTQT1CXDDN6356YMZBE"},{min:22.78,max:42.63,name:"text-2xl",css:"clamp(2.28rem, calc(1.84vw + 1.69rem), 4.26rem)",id:"01H6EYBJTQ6CDWAQVHMKR9THNJ"},{min:25.63,max:56.83,name:"text-3xl",css:"clamp(2.56rem, calc(2.89vw + 1.64rem), 5.68rem)",id:"01H6EYBJTQJES9TKQX5JMEF14P"},{min:28.83,max:75.76,name:"text-4xl",css:"clamp(2.88rem, calc(4.35vw + 1.49rem), 7.58rem)",id:"01H6EYBJTQJCTAJXM4HHS9BZ4P"}]}],classes:[{id:ht(),tabId:gle,name:".text-*",property:["font-size"]}]},bn=ha.min_screen_width,bs=ha.max_screen_width,Uat="font-m",Qat="space-m",Vat={id:"",min:16,max:22,name:"font-m",css:U1({minFontSize:16,maxFontSize:22,minScreenWidth:bn,maxScreenWidth:bs,isRem:ha.is_rem})},$at={id:"",min:10,max:15,name:"space-m",css:U1({minFontSize:10,maxFontSize:15,minScreenWidth:bn,maxScreenWidth:bs,isRem:ha.is_rem})},Md=".expand-click",Hat=[{id:ht(),selector:`${Md}:not(a)`,declarations:[{id:ht(),property:"position",value:"static",fluidValue:[0,0,"px"]}]},{id:ht(),selector:`${Md}:not(a) a`,declarations:[{id:ht(),property:"position",value:"static",fluidValue:[0,0,"px"]}]},{id:ht(),selector:`${Md}:not(a) > a:before`,declarations:[{id:ht(),property:"content",value:"''",fluidValue:[0,0,"px"]},{id:ht(),property:"position",value:"absolute",fluidValue:[0,0,"px"]},{id:ht(),property:"inset",value:"0",fluidValue:[0,0,"px"]},{id:ht(),property:"cursor",value:"pointer",fluidValue:[0,0,"px"]},{id:ht(),property:"display",value:"flex",fluidValue:[0,0,"px"]},{id:ht(),property:"z-index",value:"2",fluidValue:[0,0,"px"]}]},{id:ht(),selector:`a${Md}`,declarations:[{id:ht(),property:"position",value:"static",fluidValue:[0,0,"px"]}]},{id:ht(),selector:`a${Md}:before`,declarations:[{id:ht(),property:"content",value:"''",fluidValue:[0,0,"px"]},{id:ht(),property:"position",value:"absolute",fluidValue:[0,0,"px"]},{id:ht(),property:"inset",value:"0",fluidValue:[0,0,"px"]},{id:ht(),property:"cursor",value:"pointer",fluidValue:[0,0,"px"]},{id:ht(),property:"display",value:"flex",fluidValue:[0,0,"px"]}]},{id:ht(),selector:`${Md}:focus-within:after`,declarations:[{id:ht(),property:"content",value:"''",fluidValue:[0,0,"px"]},{id:ht(),property:"position",value:"absolute",fluidValue:[0,0,"px"]},{id:ht(),property:"inset",value:"-2px",fluidValue:[0,0,"px"]},{id:ht(),property:"z-index",value:"1",fluidValue:[0,0,"px"]},{id:ht(),property:"outline",value:"2px solid var(--primary)",fluidValue:[0,0,"px"]},{id:ht(),property:"outline-offset",value:"2px",fluidValue:[0,0,"px"]},{id:ht(),property:"display",value:"var(--after-display)",fluidValue:[0,0,"px"]}]},{id:ht(),selector:`${Md}:focus-within:focus`,declarations:[{id:ht(),property:"outline",value:"none",fluidValue:[0,0,"px"]}]}],h9=".sr-only",Gat=[{id:ht(),selector:`${h9}`,declarations:[{id:ht(),property:"position",value:"absolute",fluidValue:[0,0,"px"]},{id:ht(),property:"width",value:"1px",fluidValue:[0,0,"px"]},{id:ht(),property:"height",value:"1px",fluidValue:[0,0,"px"]},{id:ht(),property:"padding",value:"0",fluidValue:[0,0,"px"]},{id:ht(),property:"margin",value:"-1px",fluidValue:[0,0,"px"]},{id:ht(),property:"overflow",value:"hidden",fluidValue:[0,0,"px"]},{id:ht(),property:"clip-path",value:"inset(0 100% 100% 0)",fluidValue:[0,0,"px"]},{id:ht(),property:"white-space",value:"nowrap",fluidValue:[0,0,"px"]},{id:ht(),property:"border-width",value:"0",fluidValue:[0,0,"px"]}]}],R3e="Grid Variables",M3e="Grid Layouts",Wat=({minFontSize:t,maxFontSize:e,minScreenWidth:r,maxScreenWidth:n})=>{const i={fontSize:Number(t),breakpoint:Number(r)},o={fontSize:Number(e),breakpoint:Number(n)},s=(o.fontSize-i.fontSize)/(o.breakpoint-i.breakpoint),a=`${Hi(s*100)}vw`,l=i.fontSize-s*i.breakpoint;return{min:`${Hi(i.fontSize)}`,max:`${Hi(o.fontSize)}`,preferred:`${a} + ${Hi(l)}`,getFontSize:c=>{const u=s*c+l;return`${Hi(Math.min(o.fontSize,u))}`}}},m9=({minFontSize:t,maxFontSize:e,minScreenWidth:r,maxScreenWidth:n,isRem:i,rootFontSize:o=16})=>{const s=Wat({minFontSize:t,maxFontSize:e,minScreenWidth:r,maxScreenWidth:n}),a=i?`${na(s.min,"rem",o)}`:`${s.min}px`,l=s.preferred.split(" + "),c=`${l[0]} + ${na(l[1],i?"rem":"px",o)}`,u=i?`${na(s.max,"rem",o)}`:`${s.max}px`;return`clamp(${a}, calc(${c}), ${u})`},_3e=t=>t?[{id:"cs-c",selector:"/* Fluid Typography */",declarations:[]}]:[];function zat({id:t,manualSizes:e,data:r,includeVariants:n}){if(!e.length)return[];const i=[];return r.classes?.map(({isDisabled:o,property:s,tabId:a,name:l})=>{if(o)return;const c=t===a?a:"";if(t!==c)return;const u=r.groups.find(d=>d.id===c);u?.steps?.split(",")?.map((d,p)=>{if(p>=e.length)return null;const h=l.replace("*",d),g=`var(--${e[p].name})`;i.push({id:h,selector:h,declarations:s.map((m,v)=>({id:(v+1).toString(),property:m,value:g})),...n?{types:["class","typo-class"],groupName:u?.name??""}:{}})})}),i}function Kat({typographyState:t,preferences:e,includeVariants:r}){const{isDisabled:n,manualSizes:i,id:o,name:s}=t;if(!i?.length)return[];const a=i.map((c,u)=>{const f=Ks(c.name),d=m9({minFontSize:Number(c.min),maxFontSize:Number(c.max),minScreenWidth:Number(e.min_screen_width),maxScreenWidth:Number(e.max_screen_width),isRem:!!e.is_rem,rootFontSize:Number(e.root_font_size)}),p=`f_m_${u}}`;return{property:f,value:d,id:p,...r?{types:["variable","typo-variable"],groupName:s}:{}}}),l={selector:":root",id:ht(),declarations:n?[]:a};return[..._3e(e.is_add_group_comments),l]}function qat(t,e,r){if(!Object.values(t).length)return[];const n=[];return e.classes?.map(({tabId:i,name:o,isDisabled:s,property:a})=>{if(s)return;const l=i&&t[i]?i:"";if(!l||!t[l])return;const c=e.groups.find(f=>f.id===l);c?.steps?.split(",")?.map((f,d)=>{const p=o.replace("*",f),h=t[l][d],g=`var(${Object.keys(h)[0]})`;n.push({id:p,selector:p,declarations:a.map((m,v)=>({id:(v+1).toString(),property:m,value:g})),...r?{types:["class","typo-class"],groupName:c?.name??""}:{}})})}),n}const j3e=(t,e)=>e.split(",")[t],Xat=({typeScales:t,namingConvention:e,steps:r,targetUnit:n,root_font_size:i})=>t.map(({min:o,max:s,preferred:a},l)=>({[vI(e,String(j3e(l,r)))]:`clamp(${na(Number(o),n,i)}, calc(${[a.split(" + ")[0],na(a.split(" + ")[1],n,i)].join(" + ")}), ${na(s,n,i)})`}));function vC({formData:t,onlyVariables:e,root_font_size:r,min_screen_width:n,max_screen_width:i,is_rem:o,is_add_group_comments:s,includeVariants:a}){const l=[],c=[],u=[],f={},{groups:d,has_legacy_manual_class_generator:p,classes:h}=t,A=h?.filter(({tabId:v,isDisabled:y})=>d.some(({id:b,mode:B})=>b===v&&B==="fluid_manual")&&!y);if(p&&A?.length){const v=d.filter(({id:y})=>A.some(({tabId:b})=>b===y));for(const{id:y,manualSizes:b}of v){if(!b?.length)continue;const B=zat({id:y,manualSizes:b,data:t});c.push(...B)}}for(const v of d){const{isDisabled:y,namingConvention:b,steps:B,mode:S,manualSizes:w,id:x}=v;if(!y)if(S==="fluid_manual"&&w?.length)c.push(...Kat({typographyState:v,preferences:{root_font_size:r,min_screen_width:n,max_screen_width:i,is_rem:o,is_add_group_comments:s},includeVariants:a}));else{const I=L3e({state:v,minScreenWidth:n,maxScreenWidth:i});l.push(...I);const F=o?"rem":"px",k=I.map(({min:O,max:L,preferred:M},H)=>({[vI(b,String(j3e(H,B)))]:`clamp(${na(Number(O),F,r)}, calc(${[M.split(" + ")[0],na(M.split(" + ")[1],F,r)].join(" + ")}), ${na(L,F,r)})`}));f[x]||(f[x]=[]),f[x].push(...k),k.forEach(O=>{const L=Object.keys(O)[0],M=O[L];u.push({id:ht(),property:L,value:M,...a?{types:["variable","typo-variable"],groupName:name}:{}})})}}const g={selector:":root",id:"font-sizes-root",declarations:u,...a?{types:["variable"]}:{}};if(e)return[g,...c];const m=t.classes?.some(v=>!v.isDisabled)?qat(f,t,a):[];return[..._3e(s),...m,g,...c]}function yC({typographyData:t=ac,root_font_size:e,is_rem:r,min_screen_width:n,max_screen_width:i}){const o=r?"rem":"px",s=[],a=[];for(const l of t?.groups){const{namingConvention:c,steps:u}=l,f=L3e({state:l,minScreenWidth:n,maxScreenWidth:i}),d=Xat({typeScales:f,namingConvention:c,steps:u,targetUnit:o,root_font_size:e});a.push(...f),s.push(...d)}return{typeScales:a,declarations:s}}function ex(t){const{mode:e,manualSizes:r,steps:n,namingConvention:i}=t;return e==="fluid"?n.split(",").map(o=>Ks(`${i}-${o}`)):r?.map(o=>Ks(o.name))||[]}const Yat=t=>{const e=new Map([["colorStyles",t?.colorStyles],["typographyStyles",t?.typographyStyles],["spacingStyles",t?.spacingStyles],["layoutsStyles",t?.layoutsStyles],["designStyles",t?.designStyles],["componentsStyles",t?.componentsStyles],["otherStyles",t?.otherStyles],["fontsStyles",t?.fontsStyles]]);if(!t)return[];const r=[];for(const[,n]of e)if(n)for(const i of n){if(!i?.cssObjects||i?.isDisabled||i?.type!=="variable")continue;const{declarations:o}=i?.cssObjects[0];r.push(o.map(s=>s?.property&&s?.value&&`var(${s.property})`).filter(Boolean))}return r.flat()},Jat=t=>{const e=new Map([["colorStyles",t?.colorStyles],["typographyStyles",t?.typographyStyles],["spacingStyles",t?.spacingStyles],["layoutsStyles",t?.layoutsStyles],["designStyles",t?.designStyles],["componentsStyles",t?.componentsStyles],["otherStyles",t?.otherStyles],["fontsStyles",t?.fontsStyles]]);if(!t)return[];const r=[];for(const[,n]of e)if(n)for(const i of n)!i?.cssObjects||i?.isDisabled||i?.type==="variable"&&r.push(i?.cssObjects);return r.flat()},tx=()=>{const t=kn(nh),e=kn(yee),r=kn(Bee),n=Xn(E.useCallback(s=>s(eu),[])),i=s=>{e(yC({typographyData:s?.modulesData?.FLUID_TYPOGRAPHY||ac,root_font_size:Number(s?.preferences?.root_font_size||ha.root_font_size),is_rem:!!(s?.preferences?.is_rem||ha.is_rem),min_screen_width:s?.preferences?.min_screen_width||bn,max_screen_width:s?.preferences?.max_screen_width||bs})),r(gC({spacingState:s?.modulesData?.FLUID_SPACING||Gc,root_font_size:Number(s?.preferences?.root_font_size||ha.root_font_size),is_rem:!!(s?.preferences?.is_rem||ha.is_rem),min_screen_width:s?.preferences?.min_screen_width||bn,max_screen_width:s?.preferences?.max_screen_width||bs}));const a=[];for(const u of s?.modulesData?.FLUID_SPACING?.groups||Gc.groups)a.push(...Z3(u));t({variables:a,type:"SPACING"});const l=[];for(const u of s?.modulesData?.FLUID_TYPOGRAPHY?.groups||ac.groups)l.push(...ex(u));t({variables:l,type:"FLUID_TYPOGRAPHY"});const c=Yat(s?.styleSheetData);t({variables:c,type:"GLOBAL"})};return{handleLoadOfAutocomplete:(...s)=>setTimeout(()=>i(...s),200),getCssVarsObjects:()=>{const s=n();return Jat(s?.styleSheetData)}}},ym=(t,e=null)=>{const r=E.useRef(!1);E.useEffect(()=>{r.current||(t(),r.current=!0)},[e])};var $Y={exports:{}},Sn=String,U3e=function(){return{isColorSupported:!1,reset:Sn,bold:Sn,dim:Sn,italic:Sn,underline:Sn,inverse:Sn,hidden:Sn,strikethrough:Sn,black:Sn,red:Sn,green:Sn,yellow:Sn,blue:Sn,magenta:Sn,cyan:Sn,white:Sn,gray:Sn,bgBlack:Sn,bgRed:Sn,bgGreen:Sn,bgYellow:Sn,bgBlue:Sn,bgMagenta:Sn,bgCyan:Sn,bgWhite:Sn,blackBright:Sn,redBright:Sn,greenBright:Sn,yellowBright:Sn,blueBright:Sn,magentaBright:Sn,cyanBright:Sn,whiteBright:Sn,bgBlackBright:Sn,bgRedBright:Sn,bgGreenBright:Sn,bgYellowBright:Sn,bgBlueBright:Sn,bgMagentaBright:Sn,bgCyanBright:Sn,bgWhiteBright:Sn}};$Y.exports=U3e();$Y.exports.createColors=U3e;var Q3e=$Y.exports;const Zat={},elt=Object.freeze(Object.defineProperty({__proto__:null,default:Zat},Symbol.toStringTag,{value:"Module"})),HY=k3(elt);let vle=Q3e,yle=HY,ZV=class V3e extends Error{constructor(e,r,n,i,o,s){super(e),this.name="CssSyntaxError",this.reason=e,o&&(this.file=o),i&&(this.source=i),s&&(this.plugin=s),typeof r<"u"&&typeof n<"u"&&(typeof r=="number"?(this.line=r,this.column=n):(this.line=r.line,this.column=r.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,V3e)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let r=this.source;e==null&&(e=vle.isColorSupported);let n=u=>u,i=u=>u,o=u=>u;if(e){let{bold:u,gray:f,red:d}=vle.createColors(!0);i=p=>u(d(p)),n=p=>f(p),yle&&(o=p=>yle(p))}let s=r.split(/\r?\n/),a=Math.max(this.line-3,0),l=Math.min(this.line+2,s.length),c=String(l).length;return s.slice(a,l).map((u,f)=>{let d=a+1+f,p=" "+(" "+d).slice(-c)+" | ";if(d===this.line){if(u.length>160){let A=20,g=Math.max(0,this.column-A),m=Math.max(this.column+A,this.endColumn+A),v=u.slice(g,m),y=n(p.replace(/\d/g," "))+u.slice(0,Math.min(this.column-1,A-1)).replace(/[^\t]/g," ");return i(">")+n(p)+o(v)+` `+y+i("^")}let h=n(p.replace(/\d/g," "))+u.slice(0,this.column-1).replace(/[^\t]/g," ");return i(">")+n(p)+o(u)+` `+h+i("^")}return" "+n(p)+o(u)}).join(` `)}toString(){let e=this.showSourceCode();return e&&(e=` `+e+` `),this.name+": "+this.message+e}};var GY=ZV;ZV.default=ZV;const Ble={after:` `,beforeClose:` `,beforeComment:` `,beforeDecl:` `,beforeOpen:" ",beforeRule:` `,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function tlt(t){return t[0].toUpperCase()+t.slice(1)}let e$=class{constructor(e){this.builder=e}atrule(e,r){let n="@"+e.name,i=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?n+=e.raws.afterName:i&&(n+=" "),e.nodes)this.block(e,n+i);else{let o=(e.raws.between||"")+(r?";":"");this.builder(n+i+o,e)}}beforeAfter(e,r){let n;e.type==="decl"?n=this.raw(e,null,"beforeDecl"):e.type==="comment"?n=this.raw(e,null,"beforeComment"):r==="before"?n=this.raw(e,null,"beforeRule"):n=this.raw(e,null,"beforeClose");let i=e.parent,o=0;for(;i&&i.type!=="root";)o+=1,i=i.parent;if(n.includes(` `)){let s=this.raw(e,null,"indent");if(s.length)for(let a=0;a<o;a++)n+=s}return n}block(e,r){let n=this.raw(e,"between","beforeOpen");this.builder(r+n+"{",e,"start");let i;e.nodes&&e.nodes.length?(this.body(e),i=this.raw(e,"after")):i=this.raw(e,"after","emptyBody"),i&&this.builder(i),this.builder("}",e,"end")}body(e){let r=e.nodes.length-1;for(;r>0&&e.nodes[r].type==="comment";)r-=1;let n=this.raw(e,"semicolon");for(let i=0;i<e.nodes.length;i++){let o=e.nodes[i],s=this.raw(o,"before");s&&this.builder(s),this.stringify(o,r!==i||n)}}comment(e){let r=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+r+e.text+n+"*/",e)}decl(e,r){let n=this.raw(e,"between","colon"),i=e.prop+n+this.rawValue(e,"value");e.important&&(i+=e.raws.important||" !important"),r&&(i+=";"),this.builder(i,e)}document(e){this.body(e)}raw(e,r,n){let i;if(n||(n=r),r&&(i=e.raws[r],typeof i<"u"))return i;let o=e.parent;if(n==="before"&&(!o||o.type==="root"&&o.first===e||o&&o.type==="document"))return"";if(!o)return Ble[n];let s=e.root();if(s.rawCache||(s.rawCache={}),typeof s.rawCache[n]<"u")return s.rawCache[n];if(n==="before"||n==="after")return this.beforeAfter(e,n);{let a="raw"+tlt(n);this[a]?i=this[a](s,e):s.walk(l=>{if(i=l.raws[r],typeof i<"u")return!1})}return typeof i>"u"&&(i=Ble[n]),s.rawCache[n]=i,i}rawBeforeClose(e){let r;return e.walk(n=>{if(n.nodes&&n.nodes.length>0&&typeof n.raws.after<"u")return r=n.raws.after,r.includes(` `)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r}rawBeforeComment(e,r){let n;return e.walkComments(i=>{if(typeof i.raws.before<"u")return n=i.raws.before,n.includes(` `)&&(n=n.replace(/[^\n]+$/,"")),!1}),typeof n>"u"?n=this.raw(r,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeDecl(e,r){let n;return e.walkDecls(i=>{if(typeof i.raws.before<"u")return n=i.raws.before,n.includes(` `)&&(n=n.replace(/[^\n]+$/,"")),!1}),typeof n>"u"?n=this.raw(r,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeOpen(e){let r;return e.walk(n=>{if(n.type!=="decl"&&(r=n.raws.between,typeof r<"u"))return!1}),r}rawBeforeRule(e){let r;return e.walk(n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&typeof n.raws.before<"u")return r=n.raws.before,r.includes(` `)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r}rawColon(e){let r;return e.walkDecls(n=>{if(typeof n.raws.between<"u")return r=n.raws.between.replace(/[^\s:]/g,""),!1}),r}rawEmptyBody(e){let r;return e.walk(n=>{if(n.nodes&&n.nodes.length===0&&(r=n.raws.after,typeof r<"u"))return!1}),r}rawIndent(e){if(e.raws.indent)return e.raws.indent;let r;return e.walk(n=>{let i=n.parent;if(i&&i!==e&&i.parent&&i.parent===e&&typeof n.raws.before<"u"){let o=n.raws.before.split(` `);return r=o[o.length-1],r=r.replace(/\S/g,""),!1}}),r}rawSemicolon(e){let r;return e.walk(n=>{if(n.nodes&&n.nodes.length&&n.last.type==="decl"&&(r=n.raws.semicolon,typeof r<"u"))return!1}),r}rawValue(e,r){let n=e[r],i=e.raws[r];return i&&i.value===n?i.raw:n}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,r){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,r)}};var $3e=e$;e$.default=e$;let rlt=$3e;function t$(t,e){new rlt(e).stringify(t)}var OI=t$;t$.default=t$;var rx={};rx.isClean=Symbol("isClean");rx.my=Symbol("my");let nlt=GY,ilt=$3e,olt=OI,{isClean:Qb,my:slt}=rx;function r$(t,e){let r=new t.constructor;for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n)||n==="proxyCache")continue;let i=t[n],o=typeof i;n==="parent"&&o==="object"?e&&(r[n]=e):n==="source"?r[n]=i:Array.isArray(i)?r[n]=i.map(s=>r$(s,r)):(o==="object"&&i!==null&&(i=r$(i)),r[n]=i)}return r}function tA(t,e){if(e&&typeof e.offset<"u")return e.offset;let r=1,n=1,i=0;for(let o=0;o<t.length;o++){if(n===e.line&&r===e.column){i=o;break}t[o]===` `?(r=1,n+=1):r+=1}return i}let n$=class{get proxyOf(){return this}constructor(e={}){this.raws={},this[Qb]=!1,this[slt]=!0;for(let r in e)if(r==="nodes"){this.nodes=[];for(let n of e[r])typeof n.clone=="function"?this.append(n.clone()):this.append(n)}else this[r]=e[r]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let r=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${r.input.from}:${r.start.line}:${r.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let r in e)this[r]=e[r];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let r=r$(this);for(let n in e)r[n]=e[n];return r}cloneAfter(e={}){let r=this.clone(e);return this.parent.insertAfter(this,r),r}cloneBefore(e={}){let r=this.clone(e);return this.parent.insertBefore(this,r),r}error(e,r={}){if(this.source){let{end:n,start:i}=this.rangeBy(r);return this.source.input.error(e,{column:i.column,line:i.line},{column:n.column,line:n.line},r)}return new nlt(e)}getProxyProcessor(){return{get(e,r){return r==="proxyOf"?e:r==="root"?()=>e.root().toProxy():e[r]},set(e,r,n){return e[r]===n||(e[r]=n,(r==="prop"||r==="value"||r==="name"||r==="params"||r==="important"||r==="text")&&e.markDirty()),!0}}}markClean(){this[Qb]=!0}markDirty(){if(this[Qb]){this[Qb]=!1;let e=this;for(;e=e.parent;)e[Qb]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e={}){let r=this.source.start;if(e.index)r=this.positionInside(e.index);else if(e.word){let n="document"in this.source.input?this.source.input.document:this.source.input.css,o=n.slice(tA(n,this.source.start),tA(n,this.source.end)).indexOf(e.word);o!==-1&&(r=this.positionInside(o))}return r}positionInside(e){let r=this.source.start.column,n=this.source.start.line,i="document"in this.source.input?this.source.input.document:this.source.input.css,o=tA(i,this.source.start),s=o+e;for(let a=o;a<s;a++)i[a]===` `?(r=1,n+=1):r+=1;return{column:r,line:n,offset:s}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e={}){let r="document"in this.source.input?this.source.input.document:this.source.input.css,n={column:this.source.start.column,line:this.source.start.line,offset:tA(r,this.source.start)},i=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:typeof this.source.end.offset=="number"?this.source.end.offset:tA(r,this.source.end)+1}:{column:n.column+1,line:n.line,offset:n.offset+1};if(e.word){let s=r.slice(tA(r,this.source.start),tA(r,this.source.end)).indexOf(e.word);s!==-1&&(n=this.positionInside(s),i=this.positionInside(s+e.word.length))}else e.start?n={column:e.start.column,line:e.start.line,offset:tA(r,e.start)}:e.index&&(n=this.positionInside(e.index)),e.end?i={column:e.end.column,line:e.end.line,offset:tA(r,e.end)}:typeof e.endIndex=="number"?i=this.positionInside(e.endIndex):e.index&&(i=this.positionInside(e.index+1));return(i.line<n.line||i.line===n.line&&i.column<=n.column)&&(i={column:n.column+1,line:n.line,offset:n.offset+1}),{end:i,start:n}}raw(e,r){return new ilt().raw(this,e,r)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let r=this,n=!1;for(let i of e)i===this?n=!0:n?(this.parent.insertAfter(r,i),r=i):this.parent.insertBefore(r,i);n||this.remove()}return this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}toJSON(e,r){let n={},i=r==null;r=r||new Map;let o=0;for(let s in this){if(!Object.prototype.hasOwnProperty.call(this,s)||s==="parent"||s==="proxyCache")continue;let a=this[s];if(Array.isArray(a))n[s]=a.map(l=>typeof l=="object"&&l.toJSON?l.toJSON(null,r):l);else if(typeof a=="object"&&a.toJSON)n[s]=a.toJSON(null,r);else if(s==="source"){if(a==null)continue;let l=r.get(a.input);l==null&&(l=o,r.set(a.input,o),o++),n[s]={end:a.end,inputId:l,start:a.start}}else n[s]=a}return i&&(n.inputs=[...r.keys()].map(s=>s.toJSON())),n}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=olt){e.stringify&&(e=e.stringify);let r="";return e(this,n=>{r+=n}),r}warn(e,r,n={}){let i={node:this};for(let o in n)i[o]=n[o];return e.warn(r,i)}};var PI=n$;n$.default=n$;let alt=PI,i$=class extends alt{constructor(e){super(e),this.type="comment"}};var II=i$;i$.default=i$;let llt=PI,o$=class extends llt{get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}};var NI=o$;o$.default=o$;let H3e=II,G3e=NI,clt=PI,{isClean:W3e,my:z3e}=rx,WY,K3e,q3e,zY;function X3e(t){return t.map(e=>(e.nodes&&(e.nodes=X3e(e.nodes)),delete e.source,e))}function Y3e(t){if(t[W3e]=!1,t.proxyOf.nodes)for(let e of t.proxyOf.nodes)Y3e(e)}let ih=class J3e extends clt{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...e){for(let r of e){let n=this.normalize(r,this.last);for(let i of n)this.proxyOf.nodes.push(i)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let r of this.nodes)r.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let r=this.getIterator(),n,i;for(;this.indexes[r]<this.proxyOf.nodes.length&&(n=this.indexes[r],i=e(this.proxyOf.nodes[n],n),i!==!1);)this.indexes[r]+=1;return delete this.indexes[r],i}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,r){return r==="proxyOf"?e:e[r]?r==="each"||typeof r=="string"&&r.startsWith("walk")?(...n)=>e[r](...n.map(i=>typeof i=="function"?(o,s)=>i(o.toProxy(),s):i)):r==="every"||r==="some"?n=>e[r]((i,...o)=>n(i.toProxy(),...o)):r==="root"?()=>e.root().toProxy():r==="nodes"?e.nodes.map(n=>n.toProxy()):r==="first"||r==="last"?e[r].toProxy():e[r]:e[r]},set(e,r,n){return e[r]===n||(e[r]=n,(r==="name"||r==="params"||r==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,r){let n=this.index(e),i=this.normalize(r,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(let s of i)this.proxyOf.nodes.splice(n+1,0,s);let o;for(let s in this.indexes)o=this.indexes[s],n<o&&(this.indexes[s]=o+i.length);return this.markDirty(),this}insertBefore(e,r){let n=this.index(e),i=n===0?"prepend":!1,o=this.normalize(r,this.proxyOf.nodes[n],i).reverse();n=this.index(e);for(let a of o)this.proxyOf.nodes.splice(n,0,a);let s;for(let a in this.indexes)s=this.indexes[a],n<=s&&(this.indexes[a]=s+o.length);return this.markDirty(),this}normalize(e,r){if(typeof e=="string")e=X3e(K3e(e).nodes);else if(typeof e>"u")e=[];else if(Array.isArray(e)){e=e.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new G3e(e)]}else if(e.selector||e.selectors)e=[new zY(e)];else if(e.name)e=[new WY(e)];else if(e.text)e=[new H3e(e)];else throw new Error("Unknown node type in node creation");return e.map(i=>(i[z3e]||J3e.rebuild(i),i=i.proxyOf,i.parent&&i.parent.removeChild(i),i[W3e]&&Y3e(i),i.raws||(i.raws={}),typeof i.raws.before>"u"&&r&&typeof r.raws.before<"u"&&(i.raws.before=r.raws.before.replace(/\S/g,"")),i.parent=this.proxyOf,i))}prepend(...e){e=e.reverse();for(let r of e){let n=this.normalize(r,this.first,"prepend").reverse();for(let i of n)this.proxyOf.nodes.unshift(i);for(let i in this.indexes)this.indexes[i]=this.indexes[i]+n.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let r;for(let n in this.indexes)r=this.indexes[n],r>=e&&(this.indexes[n]=r-1);return this.markDirty(),this}replaceValues(e,r,n){return n||(n=r,r={}),this.walkDecls(i=>{r.props&&!r.props.includes(i.prop)||r.fast&&!i.value.includes(r.fast)||(i.value=i.value.replace(e,n))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((r,n)=>{let i;try{i=e(r,n)}catch(o){throw r.addToError(o)}return i!==!1&&r.walk&&(i=r.walk(e)),i})}walkAtRules(e,r){return r?e instanceof RegExp?this.walk((n,i)=>{if(n.type==="atrule"&&e.test(n.name))return r(n,i)}):this.walk((n,i)=>{if(n.type==="atrule"&&n.name===e)return r(n,i)}):(r=e,this.walk((n,i)=>{if(n.type==="atrule")return r(n,i)}))}walkComments(e){return this.walk((r,n)=>{if(r.type==="comment")return e(r,n)})}walkDecls(e,r){return r?e instanceof RegExp?this.walk((n,i)=>{if(n.type==="decl"&&e.test(n.prop))return r(n,i)}):this.walk((n,i)=>{if(n.type==="decl"&&n.prop===e)return r(n,i)}):(r=e,this.walk((n,i)=>{if(n.type==="decl")return r(n,i)}))}walkRules(e,r){return r?e instanceof RegExp?this.walk((n,i)=>{if(n.type==="rule"&&e.test(n.selector))return r(n,i)}):this.walk((n,i)=>{if(n.type==="rule"&&n.selector===e)return r(n,i)}):(r=e,this.walk((n,i)=>{if(n.type==="rule")return r(n,i)}))}};ih.registerParse=t=>{K3e=t};ih.registerRule=t=>{zY=t};ih.registerAtRule=t=>{WY=t};ih.registerRoot=t=>{q3e=t};var uv=ih;ih.default=ih;ih.rebuild=t=>{t.type==="atrule"?Object.setPrototypeOf(t,WY.prototype):t.type==="rule"?Object.setPrototypeOf(t,zY.prototype):t.type==="decl"?Object.setPrototypeOf(t,G3e.prototype):t.type==="comment"?Object.setPrototypeOf(t,H3e.prototype):t.type==="root"&&Object.setPrototypeOf(t,q3e.prototype),t[z3e]=!0,t.nodes&&t.nodes.forEach(e=>{ih.rebuild(e)})};let Z3e=uv,g9=class extends Z3e{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};var KY=g9;g9.default=g9;Z3e.registerAtRule(g9);let ult=uv,exe,txe,y4=class extends ult{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new exe(new txe,this,e).stringify()}};y4.registerLazyResult=t=>{exe=t};y4.registerProcessor=t=>{txe=t};var qY=y4;y4.default=y4;let flt="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",dlt=(t,e=21)=>(r=e)=>{let n="",i=r|0;for(;i--;)n+=t[Math.random()*t.length|0];return n},plt=(t=21)=>{let e="",r=t|0;for(;r--;)e+=flt[Math.random()*64|0];return e};var Alt={nanoid:plt,customAlphabet:dlt};function XY(t){throw new Error("Node.js process "+t+" is not supported by JSPM core outside of Node.js")}var OA=[],N2=!1,Xg,oD=-1;function hlt(){!N2||!Xg||(N2=!1,Xg.length?OA=Xg.concat(OA):oD=-1,OA.length&&rxe())}function rxe(){if(!N2){var t=setTimeout(hlt,0);N2=!0;for(var e=OA.length;e;){for(Xg=OA,OA=[];++oD<e;)Xg&&Xg[oD].run();oD=-1,e=OA.length}Xg=null,N2=!1,clearTimeout(t)}}function mlt(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];OA.push(new nxe(t,e)),OA.length===1&&!N2&&setTimeout(rxe,0)}function nxe(t,e){this.fun=t,this.array=e}nxe.prototype.run=function(){this.fun.apply(null,this.array)};var glt="browser",vlt="x64",ylt="browser",Blt={PATH:"/usr/bin",LANG:navigator.language+".UTF-8",PWD:"/",HOME:"/home",TMP:"/tmp"},Clt=["/usr/bin/node"],blt=[],wlt="v16.8.0",xlt={},Slt=function(t,e){console.warn((e?e+": ":"")+t)},Elt=function(t){XY("binding")},Dlt=function(t){return 0},klt=function(){return"/"},Olt=function(t){},Plt={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};function el(){}var Ilt=el,Nlt=[];function Flt(t){XY("_linkedBinding")}var Tlt={},Llt=!1,Rlt={};function Mlt(t){XY("dlopen")}function _lt(){return[]}function jlt(){return[]}var Ult=el,Qlt=el,YY=function(){return{}},Vlt=YY,$lt=YY,Hlt=el,Glt=el,Wlt=el,zlt={};function Klt(t,e){if(!t)throw new Error(e||"assertion error")}var qlt={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},Xlt=el,Ylt=el;function Jlt(){return!1}var Zlt=el,ect=el,tct=el,rct=el,nct=el,ict=void 0,oct=void 0,sct=void 0,act=el,lct=2,cct=1,uct="/bin/usr/node",fct=9229,dct="node",pct=[],Act=el,y0={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};if(y0.now===void 0){var Cle=Date.now();y0.timing&&y0.timing.navigationStart&&(Cle=y0.timing.navigationStart),y0.now=()=>Date.now()-Cle}function hct(){return y0.now()/1e3}var s$=1e9;function a$(t){var e=Math.floor((Date.now()-y0.now())*.001),r=y0.now()*.001,n=Math.floor(r)+e,i=Math.floor(r%1*1e9);return t&&(n=n-t[0],i=i-t[1],i<0&&(n--,i+=s$)),[n,i]}a$.bigint=function(t){var e=a$(t);return typeof BigInt>"u"?e[0]*s$+e[1]:BigInt(e[0]*s$)+BigInt(e[1])};var mct=10,gct={},vct=0;function Qm(){return yB}var yct=Qm,Bct=Qm,Cct=Qm,bct=Qm,wct=Qm,xct=el,Sct=Qm,Ect=Qm;function Dct(t){return[]}var yB={version:wlt,versions:xlt,arch:vlt,platform:ylt,release:Plt,_rawDebug:Ilt,moduleLoadList:Nlt,binding:Elt,_linkedBinding:Flt,_events:gct,_eventsCount:vct,_maxListeners:mct,on:Qm,addListener:yct,once:Bct,off:Cct,removeListener:bct,removeAllListeners:wct,emit:xct,prependListener:Sct,prependOnceListener:Ect,listeners:Dct,domain:Tlt,_exiting:Llt,config:Rlt,dlopen:Mlt,uptime:hct,_getActiveRequests:_lt,_getActiveHandles:jlt,reallyExit:Ult,_kill:Qlt,cpuUsage:YY,resourceUsage:Vlt,memoryUsage:$lt,kill:Hlt,exit:Glt,openStdin:Wlt,allowedNodeEnvironmentFlags:zlt,assert:Klt,features:qlt,_fatalExceptions:Xlt,setUncaughtExceptionCaptureCallback:Ylt,hasUncaughtExceptionCaptureCallback:Jlt,emitWarning:Slt,nextTick:mlt,_tickCallback:Zlt,_debugProcess:ect,_debugEnd:tct,_startProfilerIdleNotifier:rct,_stopProfilerIdleNotifier:nct,stdout:ict,stdin:sct,stderr:oct,abort:act,umask:Dlt,chdir:Olt,cwd:klt,env:Blt,title:glt,argv:Clt,execArgv:blt,pid:lct,ppid:cct,execPath:uct,debugPort:fct,hrtime:a$,argv0:dct,_preload_modules:pct,setSourceMapsEnabled:Act},ZT={},ble=!1;function kct(){if(ble)return ZT;ble=!0;var t=yB;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function r(o,s){for(var a="",l=0,c=-1,u=0,f,d=0;d<=o.length;++d){if(d<o.length)f=o.charCodeAt(d);else{if(f===47)break;f=47}if(f===47){if(!(c===d-1||u===1))if(c!==d-1&&u===2){if(a.length<2||l!==2||a.charCodeAt(a.length-1)!==46||a.charCodeAt(a.length-2)!==46){if(a.length>2){var p=a.lastIndexOf("/");if(p!==a.length-1){p===-1?(a="",l=0):(a=a.slice(0,p),l=a.length-1-a.lastIndexOf("/")),c=d,u=0;continue}}else if(a.length===2||a.length===1){a="",l=0,c=d,u=0;continue}}s&&(a.length>0?a+="/..":a="..",l=2)}else a.length>0?a+="/"+o.slice(c+1,d):a=o.slice(c+1,d),l=d-c-1;c=d,u=0}else f===46&&u!==-1?++u:u=-1}return a}function n(o,s){var a=s.dir||s.root,l=s.base||(s.name||"")+(s.ext||"");return a?a===s.root?a+l:a+o+l:l}var i={resolve:function(){for(var s="",a=!1,l,c=arguments.length-1;c>=-1&&!a;c--){var u;c>=0?u=arguments[c]:(l===void 0&&(l=t.cwd()),u=l),e(u),u.length!==0&&(s=u+"/"+s,a=u.charCodeAt(0)===47)}return s=r(s,!a),a?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(e(s),s.length===0)return".";var a=s.charCodeAt(0)===47,l=s.charCodeAt(s.length-1)===47;return s=r(s,!a),s.length===0&&!a&&(s="."),s.length>0&&l&&(s+="/"),a?"/"+s:s},isAbsolute:function(s){return e(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,a=0;a<arguments.length;++a){var l=arguments[a];e(l),l.length>0&&(s===void 0?s=l:s+="/"+l)}return s===void 0?".":i.normalize(s)},relative:function(s,a){if(e(s),e(a),s===a||(s=i.resolve(s),a=i.resolve(a),s===a))return"";for(var l=1;l<s.length&&s.charCodeAt(l)===47;++l);for(var c=s.length,u=c-l,f=1;f<a.length&&a.charCodeAt(f)===47;++f);for(var d=a.length,p=d-f,h=u<p?u:p,A=-1,g=0;g<=h;++g){if(g===h){if(p>h){if(a.charCodeAt(f+g)===47)return a.slice(f+g+1);if(g===0)return a.slice(f+g)}else u>h&&(s.charCodeAt(l+g)===47?A=g:g===0&&(A=0));break}var m=s.charCodeAt(l+g),v=a.charCodeAt(f+g);if(m!==v)break;m===47&&(A=g)}var y="";for(g=l+A+1;g<=c;++g)(g===c||s.charCodeAt(g)===47)&&(y.length===0?y+="..":y+="/..");return y.length>0?y+a.slice(f+A):(f+=A,a.charCodeAt(f)===47&&++f,a.slice(f))},_makeLong:function(s){return s},dirname:function(s){if(e(s),s.length===0)return".";for(var a=s.charCodeAt(0),l=a===47,c=-1,u=!0,f=s.length-1;f>=1;--f)if(a=s.charCodeAt(f),a===47){if(!u){c=f;break}}else u=!1;return c===-1?l?"/":".":l&&c===1?"//":s.slice(0,c)},basename:function(s,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');e(s);var l=0,c=-1,u=!0,f;if(a!==void 0&&a.length>0&&a.length<=s.length){if(a.length===s.length&&a===s)return"";var d=a.length-1,p=-1;for(f=s.length-1;f>=0;--f){var h=s.charCodeAt(f);if(h===47){if(!u){l=f+1;break}}else p===-1&&(u=!1,p=f+1),d>=0&&(h===a.charCodeAt(d)?--d===-1&&(c=f):(d=-1,c=p))}return l===c?c=p:c===-1&&(c=s.length),s.slice(l,c)}else{for(f=s.length-1;f>=0;--f)if(s.charCodeAt(f)===47){if(!u){l=f+1;break}}else c===-1&&(u=!1,c=f+1);return c===-1?"":s.slice(l,c)}},extname:function(s){e(s);for(var a=-1,l=0,c=-1,u=!0,f=0,d=s.length-1;d>=0;--d){var p=s.charCodeAt(d);if(p===47){if(!u){l=d+1;break}continue}c===-1&&(u=!1,c=d+1),p===46?a===-1?a=d:f!==1&&(f=1):a!==-1&&(f=-1)}return a===-1||c===-1||f===0||f===1&&a===c-1&&a===l+1?"":s.slice(a,c)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof s);return n("/",s)},parse:function(s){e(s);var a={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return a;var l=s.charCodeAt(0),c=l===47,u;c?(a.root="/",u=1):u=0;for(var f=-1,d=0,p=-1,h=!0,A=s.length-1,g=0;A>=u;--A){if(l=s.charCodeAt(A),l===47){if(!h){d=A+1;break}continue}p===-1&&(h=!1,p=A+1),l===46?f===-1?f=A:g!==1&&(g=1):f!==-1&&(g=-1)}return f===-1||p===-1||g===0||g===1&&f===p-1&&f===d+1?p!==-1&&(d===0&&c?a.base=a.name=s.slice(1,p):a.base=a.name=s.slice(d,p)):(d===0&&c?(a.name=s.slice(1,f),a.base=s.slice(1,p)):(a.name=s.slice(d,f),a.base=s.slice(d,p)),a.ext=s.slice(f,p)),d>0?a.dir=s.slice(0,d-1):c&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};return i.posix=i,ZT=i,ZT}const ws=kct();var Oct=ws._makeLong,Pct=ws.basename,Ict=ws.delimiter,Nct=ws.dirname,Fct=ws.extname,Tct=ws.format,Lct=ws.isAbsolute,Rct=ws.join,Mct=ws.normalize,_ct=ws.parse,jct=ws.posix,Uct=ws.relative,Qct=ws.resolve,Vct=ws.sep,$ct=ws.win32;const Hct=Object.freeze(Object.defineProperty({__proto__:null,_makeLong:Oct,basename:Pct,default:ws,delimiter:Ict,dirname:Nct,extname:Fct,format:Tct,isAbsolute:Lct,join:Rct,normalize:Mct,parse:_ct,posix:jct,relative:Uct,resolve:Qct,sep:Vct,win32:$ct},Symbol.toStringTag,{value:"Module"})),fv=k3(Hct);var BC={},JY={},FI={},ZY={},wle="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");ZY.encode=function(t){if(0<=t&&t<wle.length)return wle[t];throw new TypeError("Must be between 0 and 63: "+t)};ZY.decode=function(t){var e=65,r=90,n=97,i=122,o=48,s=57,a=43,l=47,c=26,u=52;return e<=t&&t<=r?t-e:n<=t&&t<=i?t-n+c:o<=t&&t<=s?t-o+u:t==a?62:t==l?63:-1};var ixe=ZY,eJ=5,oxe=1<<eJ,sxe=oxe-1,axe=oxe;function Gct(t){return t<0?(-t<<1)+1:(t<<1)+0}function Wct(t){var e=(t&1)===1,r=t>>1;return e?-r:r}FI.encode=function(e){var r="",n,i=Gct(e);do n=i&sxe,i>>>=eJ,i>0&&(n|=axe),r+=ixe.encode(n);while(i>0);return r};FI.decode=function(e,r,n){var i=e.length,o=0,s=0,a,l;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(l=ixe.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));a=!!(l&axe),l&=sxe,o=o+(l<<s),s+=eJ}while(a);n.value=Wct(o),n.rest=r};var CC={};(function(t){function e(x,I,F){if(I in x)return x[I];if(arguments.length===3)return F;throw new Error('"'+I+'" is a required argument.')}t.getArg=e;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function i(x){var I=x.match(r);return I?{scheme:I[1],auth:I[2],host:I[3],port:I[4],path:I[5]}:null}t.urlParse=i;function o(x){var I="";return x.scheme&&(I+=x.scheme+":"),I+="//",x.auth&&(I+=x.auth+"@"),x.host&&(I+=x.host),x.port&&(I+=":"+x.port),x.path&&(I+=x.path),I}t.urlGenerate=o;var s=32;function a(x){var I=[];return function(F){for(var k=0;k<I.length;k++)if(I[k].input===F){var O=I[0];return I[0]=I[k],I[k]=O,I[0].result}var L=x(F);return I.unshift({input:F,result:L}),I.length>s&&I.pop(),L}}var l=a(function(I){var F=I,k=i(I);if(k){if(!k.path)return I;F=k.path}for(var O=t.isAbsolute(F),L=[],M=0,H=0;;)if(M=H,H=F.indexOf("/",M),H===-1){L.push(F.slice(M));break}else for(L.push(F.slice(M,H));H<F.length&&F[H]==="/";)H++;for(var V,j=0,H=L.length-1;H>=0;H--)V=L[H],V==="."?L.splice(H,1):V===".."?j++:j>0&&(V===""?(L.splice(H+1,j),j=0):(L.splice(H,2),j--));return F=L.join("/"),F===""&&(F=O?"/":"."),k?(k.path=F,o(k)):F});t.normalize=l;function c(x,I){x===""&&(x="."),I===""&&(I=".");var F=i(I),k=i(x);if(k&&(x=k.path||"/"),F&&!F.scheme)return k&&(F.scheme=k.scheme),o(F);if(F||I.match(n))return I;if(k&&!k.host&&!k.path)return k.host=I,o(k);var O=I.charAt(0)==="/"?I:l(x.replace(/\/+$/,"")+"/"+I);return k?(k.path=O,o(k)):O}t.join=c,t.isAbsolute=function(x){return x.charAt(0)==="/"||r.test(x)};function u(x,I){x===""&&(x="."),x=x.replace(/\/$/,"");for(var F=0;I.indexOf(x+"/")!==0;){var k=x.lastIndexOf("/");if(k<0||(x=x.slice(0,k),x.match(/^([^\/]+:\/)?\/*$/)))return I;++F}return Array(F+1).join("../")+I.substr(x.length+1)}t.relative=u;var f=function(){var x=Object.create(null);return!("__proto__"in x)}();function d(x){return x}function p(x){return A(x)?"$"+x:x}t.toSetString=f?d:p;function h(x){return A(x)?x.slice(1):x}t.fromSetString=f?d:h;function A(x){if(!x)return!1;var I=x.length;if(I<9||x.charCodeAt(I-1)!==95||x.charCodeAt(I-2)!==95||x.charCodeAt(I-3)!==111||x.charCodeAt(I-4)!==116||x.charCodeAt(I-5)!==111||x.charCodeAt(I-6)!==114||x.charCodeAt(I-7)!==112||x.charCodeAt(I-8)!==95||x.charCodeAt(I-9)!==95)return!1;for(var F=I-10;F>=0;F--)if(x.charCodeAt(F)!==36)return!1;return!0}function g(x,I,F){var k=b(x.source,I.source);return k!==0||(k=x.originalLine-I.originalLine,k!==0)||(k=x.originalColumn-I.originalColumn,k!==0||F)||(k=x.generatedColumn-I.generatedColumn,k!==0)||(k=x.generatedLine-I.generatedLine,k!==0)?k:b(x.name,I.name)}t.compareByOriginalPositions=g;function m(x,I,F){var k;return k=x.originalLine-I.originalLine,k!==0||(k=x.originalColumn-I.originalColumn,k!==0||F)||(k=x.generatedColumn-I.generatedColumn,k!==0)||(k=x.generatedLine-I.generatedLine,k!==0)?k:b(x.name,I.name)}t.compareByOriginalPositionsNoSource=m;function v(x,I,F){var k=x.generatedLine-I.generatedLine;return k!==0||(k=x.generatedColumn-I.generatedColumn,k!==0||F)||(k=b(x.source,I.source),k!==0)||(k=x.originalLine-I.originalLine,k!==0)||(k=x.originalColumn-I.originalColumn,k!==0)?k:b(x.name,I.name)}t.compareByGeneratedPositionsDeflated=v;function y(x,I,F){var k=x.generatedColumn-I.generatedColumn;return k!==0||F||(k=b(x.source,I.source),k!==0)||(k=x.originalLine-I.originalLine,k!==0)||(k=x.originalColumn-I.originalColumn,k!==0)?k:b(x.name,I.name)}t.compareByGeneratedPositionsDeflatedNoLine=y;function b(x,I){return x===I?0:x===null?1:I===null?-1:x>I?1:-1}function B(x,I){var F=x.generatedLine-I.generatedLine;return F!==0||(F=x.generatedColumn-I.generatedColumn,F!==0)||(F=b(x.source,I.source),F!==0)||(F=x.originalLine-I.originalLine,F!==0)||(F=x.originalColumn-I.originalColumn,F!==0)?F:b(x.name,I.name)}t.compareByGeneratedPositionsInflated=B;function S(x){return JSON.parse(x.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=S;function w(x,I,F){if(I=I||"",x&&(x[x.length-1]!=="/"&&I[0]!=="/"&&(x+="/"),I=x+I),F){var k=i(F);if(!k)throw new Error("sourceMapURL could not be parsed");if(k.path){var O=k.path.lastIndexOf("/");O>=0&&(k.path=k.path.substring(0,O+1))}I=c(o(k),I)}return l(I)}t.computeSourceURL=w})(CC);var tJ={},rJ=CC,nJ=Object.prototype.hasOwnProperty,m1=typeof Map<"u";function oh(){this._array=[],this._set=m1?new Map:Object.create(null)}oh.fromArray=function(e,r){for(var n=new oh,i=0,o=e.length;i<o;i++)n.add(e[i],r);return n};oh.prototype.size=function(){return m1?this._set.size:Object.getOwnPropertyNames(this._set).length};oh.prototype.add=function(e,r){var n=m1?e:rJ.toSetString(e),i=m1?this.has(e):nJ.call(this._set,n),o=this._array.length;(!i||r)&&this._array.push(e),i||(m1?this._set.set(e,o):this._set[n]=o)};oh.prototype.has=function(e){if(m1)return this._set.has(e);var r=rJ.toSetString(e);return nJ.call(this._set,r)};oh.prototype.indexOf=function(e){if(m1){var r=this._set.get(e);if(r>=0)return r}else{var n=rJ.toSetString(e);if(nJ.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')};oh.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};oh.prototype.toArray=function(){return this._array.slice()};tJ.ArraySet=oh;var lxe={},cxe=CC;function zct(t,e){var r=t.generatedLine,n=e.generatedLine,i=t.generatedColumn,o=e.generatedColumn;return n>r||n==r&&o>=i||cxe.compareByGeneratedPositionsInflated(t,e)<=0}function TI(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}TI.prototype.unsortedForEach=function(e,r){this._array.forEach(e,r)};TI.prototype.add=function(e){zct(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};TI.prototype.toArray=function(){return this._sorted||(this._array.sort(cxe.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};lxe.MappingList=TI;var Vb=FI,ss=CC,v9=tJ.ArraySet,Kct=lxe.MappingList;function Vu(t){t||(t={}),this._file=ss.getArg(t,"file",null),this._sourceRoot=ss.getArg(t,"sourceRoot",null),this._skipValidation=ss.getArg(t,"skipValidation",!1),this._ignoreInvalidMapping=ss.getArg(t,"ignoreInvalidMapping",!1),this._sources=new v9,this._names=new v9,this._mappings=new Kct,this._sourcesContents=null}Vu.prototype._version=3;Vu.fromSourceMap=function(e,r){var n=e.sourceRoot,i=new Vu(Object.assign(r||{},{file:e.file,sourceRoot:n}));return e.eachMapping(function(o){var s={generated:{line:o.generatedLine,column:o.generatedColumn}};o.source!=null&&(s.source=o.source,n!=null&&(s.source=ss.relative(n,s.source)),s.original={line:o.originalLine,column:o.originalColumn},o.name!=null&&(s.name=o.name)),i.addMapping(s)}),e.sources.forEach(function(o){var s=o;n!==null&&(s=ss.relative(n,o)),i._sources.has(s)||i._sources.add(s);var a=e.sourceContentFor(o);a!=null&&i.setSourceContent(o,a)}),i};Vu.prototype.addMapping=function(e){var r=ss.getArg(e,"generated"),n=ss.getArg(e,"original",null),i=ss.getArg(e,"source",null),o=ss.getArg(e,"name",null);!this._skipValidation&&this._validateMapping(r,n,i,o)===!1||(i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),o!=null&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:i,name:o}))};Vu.prototype.setSourceContent=function(e,r){var n=e;this._sourceRoot!=null&&(n=ss.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[ss.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[ss.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};Vu.prototype.applySourceMap=function(e,r,n){var i=r;if(r==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);i=e.file}var o=this._sourceRoot;o!=null&&(i=ss.relative(o,i));var s=new v9,a=new v9;this._mappings.unsortedForEach(function(l){if(l.source===i&&l.originalLine!=null){var c=e.originalPositionFor({line:l.originalLine,column:l.originalColumn});c.source!=null&&(l.source=c.source,n!=null&&(l.source=ss.join(n,l.source)),o!=null&&(l.source=ss.relative(o,l.source)),l.originalLine=c.line,l.originalColumn=c.column,c.name!=null&&(l.name=c.name))}var u=l.source;u!=null&&!s.has(u)&&s.add(u);var f=l.name;f!=null&&!a.has(f)&&a.add(f)},this),this._sources=s,this._names=a,e.sources.forEach(function(l){var c=e.sourceContentFor(l);c!=null&&(n!=null&&(l=ss.join(n,l)),o!=null&&(l=ss.relative(o,l)),this.setSourceContent(l,c))},this)};Vu.prototype._validateMapping=function(e,r,n,i){if(r&&typeof r.line!="number"&&typeof r.column!="number"){var o="original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(o),!1;throw new Error(o)}if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!n&&!i)){if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&n)return;var o="Invalid mapping: "+JSON.stringify({generated:e,source:n,original:r,name:i});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(o),!1;throw new Error(o)}};Vu.prototype._serializeMappings=function(){for(var e=0,r=1,n=0,i=0,o=0,s=0,a="",l,c,u,f,d=this._mappings.toArray(),p=0,h=d.length;p<h;p++){if(c=d[p],l="",c.generatedLine!==r)for(e=0;c.generatedLine!==r;)l+=";",r++;else if(p>0){if(!ss.compareByGeneratedPositionsInflated(c,d[p-1]))continue;l+=","}l+=Vb.encode(c.generatedColumn-e),e=c.generatedColumn,c.source!=null&&(f=this._sources.indexOf(c.source),l+=Vb.encode(f-s),s=f,l+=Vb.encode(c.originalLine-1-i),i=c.originalLine-1,l+=Vb.encode(c.originalColumn-n),n=c.originalColumn,c.name!=null&&(u=this._names.indexOf(c.name),l+=Vb.encode(u-o),o=u)),a+=l}return a};Vu.prototype._generateSourcesContent=function(e,r){return e.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=ss.relative(r,n));var i=ss.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};Vu.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e};Vu.prototype.toString=function(){return JSON.stringify(this.toJSON())};JY.SourceMapGenerator=Vu;var LI={},uxe={};(function(t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2;function e(r,n,i,o,s,a){var l=Math.floor((n-r)/2)+r,c=s(i,o[l],!0);return c===0?l:c>0?n-l>1?e(l,n,i,o,s,a):a==t.LEAST_UPPER_BOUND?n<o.length?n:-1:l:l-r>1?e(r,l,i,o,s,a):a==t.LEAST_UPPER_BOUND?l:r<0?-1:r}t.search=function(n,i,o,s){if(i.length===0)return-1;var a=e(-1,i.length,n,i,o,s||t.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&o(i[a],i[a-1],!0)===0;)--a;return a}})(uxe);var fxe={};function qct(t){function e(i,o,s){var a=i[o];i[o]=i[s],i[s]=a}function r(i,o){return Math.round(i+Math.random()*(o-i))}function n(i,o,s,a){if(s<a){var l=r(s,a),c=s-1;e(i,l,a);for(var u=i[a],f=s;f<a;f++)o(i[f],u,!1)<=0&&(c+=1,e(i,c,f));e(i,c+1,f);var d=c+1;n(i,o,s,d-1),n(i,o,d+1,a)}}return n}function Xct(t){let e=qct.toString();return new Function(`return ${e}`)()(t)}let xle=new WeakMap;fxe.quickSort=function(t,e,r=0){let n=xle.get(e);n===void 0&&(n=Xct(e),xle.set(e,n)),n(t,e,r,t.length-1)};var Pr=CC,iJ=uxe,BB=tJ.ArraySet,Yct=FI,B4=fxe.quickSort;function fo(t,e){var r=t;return typeof t=="string"&&(r=Pr.parseSourceMapInput(t)),r.sections!=null?new nd(r,e):new wa(r,e)}fo.fromSourceMap=function(t,e){return wa.fromSourceMap(t,e)};fo.prototype._version=3;fo.prototype.__generatedMappings=null;Object.defineProperty(fo.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});fo.prototype.__originalMappings=null;Object.defineProperty(fo.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});fo.prototype._charIsMappingSeparator=function(e,r){var n=e.charAt(r);return n===";"||n===","};fo.prototype._parseMappings=function(e,r){throw new Error("Subclasses must implement _parseMappings")};fo.GENERATED_ORDER=1;fo.ORIGINAL_ORDER=2;fo.GREATEST_LOWER_BOUND=1;fo.LEAST_UPPER_BOUND=2;fo.prototype.eachMapping=function(e,r,n){var i=r||null,o=n||fo.GENERATED_ORDER,s;switch(o){case fo.GENERATED_ORDER:s=this._generatedMappings;break;case fo.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var a=this.sourceRoot,l=e.bind(i),c=this._names,u=this._sources,f=this._sourceMapURL,d=0,p=s.length;d<p;d++){var h=s[d],A=h.source===null?null:u.at(h.source);A!==null&&(A=Pr.computeSourceURL(a,A,f)),l({source:A,generatedLine:h.generatedLine,generatedColumn:h.generatedColumn,originalLine:h.originalLine,originalColumn:h.originalColumn,name:h.name===null?null:c.at(h.name)})}};fo.prototype.allGeneratedPositionsFor=function(e){var r=Pr.getArg(e,"line"),n={source:Pr.getArg(e,"source"),originalLine:r,originalColumn:Pr.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var i=[],o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",Pr.compareByOriginalPositions,iJ.LEAST_UPPER_BOUND);if(o>=0){var s=this._originalMappings[o];if(e.column===void 0)for(var a=s.originalLine;s&&s.originalLine===a;)i.push({line:Pr.getArg(s,"generatedLine",null),column:Pr.getArg(s,"generatedColumn",null),lastColumn:Pr.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++o];else for(var l=s.originalColumn;s&&s.originalLine===r&&s.originalColumn==l;)i.push({line:Pr.getArg(s,"generatedLine",null),column:Pr.getArg(s,"generatedColumn",null),lastColumn:Pr.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++o]}return i};LI.SourceMapConsumer=fo;function wa(t,e){var r=t;typeof t=="string"&&(r=Pr.parseSourceMapInput(t));var n=Pr.getArg(r,"version"),i=Pr.getArg(r,"sources"),o=Pr.getArg(r,"names",[]),s=Pr.getArg(r,"sourceRoot",null),a=Pr.getArg(r,"sourcesContent",null),l=Pr.getArg(r,"mappings"),c=Pr.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);s&&(s=Pr.normalize(s)),i=i.map(String).map(Pr.normalize).map(function(u){return s&&Pr.isAbsolute(s)&&Pr.isAbsolute(u)?Pr.relative(s,u):u}),this._names=BB.fromArray(o.map(String),!0),this._sources=BB.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(u){return Pr.computeSourceURL(s,u,e)}),this.sourceRoot=s,this.sourcesContent=a,this._mappings=l,this._sourceMapURL=e,this.file=c}wa.prototype=Object.create(fo.prototype);wa.prototype.consumer=fo;wa.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=Pr.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==t)return r;return-1};wa.fromSourceMap=function(e,r){var n=Object.create(wa.prototype),i=n._names=BB.fromArray(e._names.toArray(),!0),o=n._sources=BB.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file,n._sourceMapURL=r,n._absoluteSources=n._sources.toArray().map(function(p){return Pr.computeSourceURL(n.sourceRoot,p,r)});for(var s=e._mappings.toArray().slice(),a=n.__generatedMappings=[],l=n.__originalMappings=[],c=0,u=s.length;c<u;c++){var f=s[c],d=new dxe;d.generatedLine=f.generatedLine,d.generatedColumn=f.generatedColumn,f.source&&(d.source=o.indexOf(f.source),d.originalLine=f.originalLine,d.originalColumn=f.originalColumn,f.name&&(d.name=i.indexOf(f.name)),l.push(d)),a.push(d)}return B4(n.__originalMappings,Pr.compareByOriginalPositions),n};wa.prototype._version=3;Object.defineProperty(wa.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function dxe(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}const eL=Pr.compareByGeneratedPositionsDeflatedNoLine;function Sle(t,e){let r=t.length,n=t.length-e;if(!(n<=1))if(n==2){let i=t[e],o=t[e+1];eL(i,o)>0&&(t[e]=o,t[e+1]=i)}else if(n<20)for(let i=e;i<r;i++)for(let o=i;o>e;o--){let s=t[o-1],a=t[o];if(eL(s,a)<=0)break;t[o-1]=a,t[o]=s}else B4(t,eL,e)}wa.prototype._parseMappings=function(e,r){var n=1,i=0,o=0,s=0,a=0,l=0,c=e.length,u=0,f={},d=[],p=[],h,A,g,m;let v=0;for(;u<c;)if(e.charAt(u)===";")n++,u++,i=0,Sle(p,v),v=p.length;else if(e.charAt(u)===",")u++;else{for(h=new dxe,h.generatedLine=n,g=u;g<c&&!this._charIsMappingSeparator(e,g);g++);for(e.slice(u,g),A=[];u<g;)Yct.decode(e,u,f),m=f.value,u=f.rest,A.push(m);if(A.length===2)throw new Error("Found a source, but no line and column");if(A.length===3)throw new Error("Found a source and line, but no column");if(h.generatedColumn=i+A[0],i=h.generatedColumn,A.length>1&&(h.source=a+A[1],a+=A[1],h.originalLine=o+A[2],o=h.originalLine,h.originalLine+=1,h.originalColumn=s+A[3],s=h.originalColumn,A.length>4&&(h.name=l+A[4],l+=A[4])),p.push(h),typeof h.originalLine=="number"){let b=h.source;for(;d.length<=b;)d.push(null);d[b]===null&&(d[b]=[]),d[b].push(h)}}Sle(p,v),this.__generatedMappings=p;for(var y=0;y<d.length;y++)d[y]!=null&&B4(d[y],Pr.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...d)};wa.prototype._findMapping=function(e,r,n,i,o,s){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[i]);return iJ.search(e,r,o,s)};wa.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var r=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(r.generatedLine===n.generatedLine){r.lastGeneratedColumn=n.generatedColumn-1;continue}}r.lastGeneratedColumn=1/0}};wa.prototype.originalPositionFor=function(e){var r={generatedLine:Pr.getArg(e,"line"),generatedColumn:Pr.getArg(e,"column")},n=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",Pr.compareByGeneratedPositionsDeflated,Pr.getArg(e,"bias",fo.GREATEST_LOWER_BOUND));if(n>=0){var i=this._generatedMappings[n];if(i.generatedLine===r.generatedLine){var o=Pr.getArg(i,"source",null);o!==null&&(o=this._sources.at(o),o=Pr.computeSourceURL(this.sourceRoot,o,this._sourceMapURL));var s=Pr.getArg(i,"name",null);return s!==null&&(s=this._names.at(s)),{source:o,line:Pr.getArg(i,"originalLine",null),column:Pr.getArg(i,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}};wa.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};wa.prototype.sourceContentFor=function(e,r){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var i=e;this.sourceRoot!=null&&(i=Pr.relative(this.sourceRoot,i));var o;if(this.sourceRoot!=null&&(o=Pr.urlParse(this.sourceRoot))){var s=i.replace(/^file:\/\//,"");if(o.scheme=="file"&&this._sources.has(s))return this.sourcesContent[this._sources.indexOf(s)];if((!o.path||o.path=="/")&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(r)return null;throw new Error('"'+i+'" is not in the SourceMap.')};wa.prototype.generatedPositionFor=function(e){var r=Pr.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:Pr.getArg(e,"line"),originalColumn:Pr.getArg(e,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",Pr.compareByOriginalPositions,Pr.getArg(e,"bias",fo.GREATEST_LOWER_BOUND));if(i>=0){var o=this._originalMappings[i];if(o.source===n.source)return{line:Pr.getArg(o,"generatedLine",null),column:Pr.getArg(o,"generatedColumn",null),lastColumn:Pr.getArg(o,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};LI.BasicSourceMapConsumer=wa;function nd(t,e){var r=t;typeof t=="string"&&(r=Pr.parseSourceMapInput(t));var n=Pr.getArg(r,"version"),i=Pr.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new BB,this._names=new BB;var o={line:-1,column:0};this._sections=i.map(function(s){if(s.url)throw new Error("Support for url field in sections not implemented.");var a=Pr.getArg(s,"offset"),l=Pr.getArg(a,"line"),c=Pr.getArg(a,"column");if(l<o.line||l===o.line&&c<o.column)throw new Error("Section offsets must be ordered and non-overlapping.");return o=a,{generatedOffset:{generatedLine:l+1,generatedColumn:c+1},consumer:new fo(Pr.getArg(s,"map"),e)}})}nd.prototype=Object.create(fo.prototype);nd.prototype.constructor=fo;nd.prototype._version=3;Object.defineProperty(nd.prototype,"sources",{get:function(){for(var t=[],e=0;e<this._sections.length;e++)for(var r=0;r<this._sections[e].consumer.sources.length;r++)t.push(this._sections[e].consumer.sources[r]);return t}});nd.prototype.originalPositionFor=function(e){var r={generatedLine:Pr.getArg(e,"line"),generatedColumn:Pr.getArg(e,"column")},n=iJ.search(r,this._sections,function(o,s){var a=o.generatedLine-s.generatedOffset.generatedLine;return a||o.generatedColumn-s.generatedOffset.generatedColumn}),i=this._sections[n];return i?i.consumer.originalPositionFor({line:r.generatedLine-(i.generatedOffset.generatedLine-1),column:r.generatedColumn-(i.generatedOffset.generatedLine===r.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};nd.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};nd.prototype.sourceContentFor=function(e,r){for(var n=0;n<this._sections.length;n++){var i=this._sections[n],o=i.consumer.sourceContentFor(e,!0);if(o||o==="")return o}if(r)return null;throw new Error('"'+e+'" is not in the SourceMap.')};nd.prototype.generatedPositionFor=function(e){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];if(n.consumer._findSourceIndex(Pr.getArg(e,"source"))!==-1){var i=n.consumer.generatedPositionFor(e);if(i){var o={line:i.line+(n.generatedOffset.generatedLine-1),column:i.column+(n.generatedOffset.generatedLine===i.line?n.generatedOffset.generatedColumn-1:0)};return o}}}return{line:null,column:null}};nd.prototype._parseMappings=function(e,r){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var i=this._sections[n],o=i.consumer._generatedMappings,s=0;s<o.length;s++){var a=o[s],l=i.consumer._sources.at(a.source);l!==null&&(l=Pr.computeSourceURL(i.consumer.sourceRoot,l,this._sourceMapURL)),this._sources.add(l),l=this._sources.indexOf(l);var c=null;a.name&&(c=i.consumer._names.at(a.name),this._names.add(c),c=this._names.indexOf(c));var u={source:l,generatedLine:a.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(i.generatedOffset.generatedLine===a.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:c};this.__generatedMappings.push(u),typeof u.originalLine=="number"&&this.__originalMappings.push(u)}B4(this.__generatedMappings,Pr.compareByGeneratedPositionsDeflated),B4(this.__originalMappings,Pr.compareByOriginalPositions)};LI.IndexedSourceMapConsumer=nd;var pxe={},Jct=JY.SourceMapGenerator,y9=CC,Zct=/(\r?\n)/,eut=10,bC="$$$isSourceNode$$$";function Qc(t,e,r,n,i){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=r??null,this.name=i??null,this[bC]=!0,n!=null&&this.add(n)}Qc.fromStringWithSourceMap=function(e,r,n){var i=new Qc,o=e.split(Zct),s=0,a=function(){var d=h(),p=h()||"";return d+p;function h(){return s<o.length?o[s++]:void 0}},l=1,c=0,u=null;return r.eachMapping(function(d){if(u!==null)if(l<d.generatedLine)f(u,a()),l++,c=0;else{var p=o[s]||"",h=p.substr(0,d.generatedColumn-c);o[s]=p.substr(d.generatedColumn-c),c=d.generatedColumn,f(u,h),u=d;return}for(;l<d.generatedLine;)i.add(a()),l++;if(c<d.generatedColumn){var p=o[s]||"";i.add(p.substr(0,d.generatedColumn)),o[s]=p.substr(d.generatedColumn),c=d.generatedColumn}u=d},this),s<o.length&&(u&&f(u,a()),i.add(o.splice(s).join(""))),r.sources.forEach(function(d){var p=r.sourceContentFor(d);p!=null&&(n!=null&&(d=y9.join(n,d)),i.setSourceContent(d,p))}),i;function f(d,p){if(d===null||d.source===void 0)i.add(p);else{var h=n?y9.join(n,d.source):d.source;i.add(new Qc(d.originalLine,d.originalColumn,h,p,d.name))}}};Qc.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(r){this.add(r)},this);else if(e[bC]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};Qc.prototype.prepend=function(e){if(Array.isArray(e))for(var r=e.length-1;r>=0;r--)this.prepend(e[r]);else if(e[bC]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};Qc.prototype.walk=function(e){for(var r,n=0,i=this.children.length;n<i;n++)r=this.children[n],r[bC]?r.walk(e):r!==""&&e(r,{source:this.source,line:this.line,column:this.column,name:this.name})};Qc.prototype.join=function(e){var r,n,i=this.children.length;if(i>0){for(r=[],n=0;n<i-1;n++)r.push(this.children[n]),r.push(e);r.push(this.children[n]),this.children=r}return this};Qc.prototype.replaceRight=function(e,r){var n=this.children[this.children.length-1];return n[bC]?n.replaceRight(e,r):typeof n=="string"?this.children[this.children.length-1]=n.replace(e,r):this.children.push("".replace(e,r)),this};Qc.prototype.setSourceContent=function(e,r){this.sourceContents[y9.toSetString(e)]=r};Qc.prototype.walkSourceContents=function(e){for(var r=0,n=this.children.length;r<n;r++)this.children[r][bC]&&this.children[r].walkSourceContents(e);for(var i=Object.keys(this.sourceContents),r=0,n=i.length;r<n;r++)e(y9.fromSetString(i[r]),this.sourceContents[i[r]])};Qc.prototype.toString=function(){var e="";return this.walk(function(r){e+=r}),e};Qc.prototype.toStringWithSourceMap=function(e){var r={code:"",line:1,column:0},n=new Jct(e),i=!1,o=null,s=null,a=null,l=null;return this.walk(function(c,u){r.code+=c,u.source!==null&&u.line!==null&&u.column!==null?((o!==u.source||s!==u.line||a!==u.column||l!==u.name)&&n.addMapping({source:u.source,original:{line:u.line,column:u.column},generated:{line:r.line,column:r.column},name:u.name}),o=u.source,s=u.line,a=u.column,l=u.name,i=!0):i&&(n.addMapping({generated:{line:r.line,column:r.column}}),o=null,i=!1);for(var f=0,d=c.length;f<d;f++)c.charCodeAt(f)===eut?(r.line++,r.column=0,f+1===d?(o=null,i=!1):i&&n.addMapping({source:u.source,original:{line:u.line,column:u.column},generated:{line:r.line,column:r.column},name:u.name})):r.column++}),this.walkSourceContents(function(c,u){n.setSourceContent(c,u)}),{code:r.code,map:n}};pxe.SourceNode=Qc;BC.SourceMapGenerator=JY.SourceMapGenerator;BC.SourceMapConsumer=LI.SourceMapConsumer;BC.SourceNode=pxe.SourceNode;var tL={},Ele=!1;function tut(){if(Ele)return tL;Ele=!0;const t=2147483647,e=36,r=1,n=26,i=38,o=700,s=72,a=128,l="-",c=/^xn--/,u=/[^\0-\x7F]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=e-r,h=Math.floor,A=String.fromCharCode;function g(L){throw new RangeError(d[L])}function m(L,M){const H=[];let V=L.length;for(;V--;)H[V]=M(L[V]);return H}function v(L,M){const H=L.split("@");let V="";H.length>1&&(V=H[0]+"@",L=H[1]),L=L.replace(f,".");const j=L.split("."),R=m(j,M).join(".");return V+R}function y(L){const M=[];let H=0;const V=L.length;for(;H<V;){const j=L.charCodeAt(H++);if(j>=55296&&j<=56319&&H<V){const R=L.charCodeAt(H++);(R&64512)==56320?M.push(((j&1023)<<10)+(R&1023)+65536):(M.push(j),H--)}else M.push(j)}return M}const b=L=>String.fromCodePoint(...L),B=function(L){return L>=48&&L<58?26+(L-48):L>=65&&L<91?L-65:L>=97&&L<123?L-97:e},S=function(L,M){return L+22+75*(L<26)-((M!=0)<<5)},w=function(L,M,H){let V=0;for(L=H?h(L/o):L>>1,L+=h(L/M);L>p*n>>1;V+=e)L=h(L/p);return h(V+(p+1)*L/(L+i))},x=function(L){const M=[],H=L.length;let V=0,j=a,R=s,Q=L.lastIndexOf(l);Q<0&&(Q=0);for(let z=0;z<Q;++z)L.charCodeAt(z)>=128&&g("not-basic"),M.push(L.charCodeAt(z));for(let z=Q>0?Q+1:0;z<H;){const X=V;for(let G=1,W=e;;W+=e){z>=H&&g("invalid-input");const J=B(L.charCodeAt(z++));J>=e&&g("invalid-input"),J>h((t-V)/G)&&g("overflow"),V+=J*G;const ee=W<=R?r:W>=R+n?n:W-R;if(J<ee)break;const q=e-ee;G>h(t/q)&&g("overflow"),G*=q}const _=M.length+1;R=w(V-X,_,X==0),h(V/_)>t-j&&g("overflow"),j+=h(V/_),V%=_,M.splice(V++,0,j)}return String.fromCodePoint(...M)},I=function(L){const M=[];L=y(L);const H=L.length;let V=a,j=0,R=s;for(const X of L)X<128&&M.push(A(X));const Q=M.length;let z=Q;for(Q&&M.push(l);z<H;){let X=t;for(const G of L)G>=V&&G<X&&(X=G);const _=z+1;X-V>h((t-j)/_)&&g("overflow"),j+=(X-V)*_,V=X;for(const G of L)if(G<V&&++j>t&&g("overflow"),G===V){let W=j;for(let J=e;;J+=e){const ee=J<=R?r:J>=R+n?n:J-R;if(W<ee)break;const q=W-ee,Z=e-ee;M.push(A(S(ee+q%Z,0))),W=h(q/Z)}M.push(A(S(W,0))),R=w(j,_,z===Q),j=0,++z}++j,++V}return M.join("")};return tL={version:"2.3.1",ucs2:{decode:y,encode:b},decode:x,encode:I,toASCII:function(L){return v(L,function(M){return u.test(M)?"xn--"+I(M):M})},toUnicode:function(L){return v(L,function(M){return c.test(M)?x(M.slice(4).toLowerCase()):M})}},tL}const Vm=tut();Vm.decode;Vm.encode;Vm.toASCII;Vm.toUnicode;Vm.ucs2;Vm.version;var rL={},Dle=!1;function rut(){return Dle||(Dle=!0,rL=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},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;e[r]=i;for(r in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(e,r);if(s.value!==i||s.enumerable!==!0)return!1}return!0}),rL}var nL={},kle=!1;function nut(){return kle||(kle=!0,nL=Error),nL}var iL={},Ole=!1;function iut(){return Ole||(Ole=!0,iL=EvalError),iL}var oL={},Ple=!1;function out(){return Ple||(Ple=!0,oL=RangeError),oL}var sL={},Ile=!1;function sut(){return Ile||(Ile=!0,sL=ReferenceError),sL}var aL={},Nle=!1;function Axe(){return Nle||(Nle=!0,aL=SyntaxError),aL}var lL={},Fle=!1;function wC(){return Fle||(Fle=!0,lL=TypeError),lL}var cL={},Tle=!1;function aut(){return Tle||(Tle=!0,cL=URIError),cL}var uL={},Lle=!1;function lut(){if(Lle)return uL;Lle=!0;var t=typeof Symbol<"u"&&Symbol,e=rut();return uL=function(){return typeof t!="function"||typeof Symbol!="function"||typeof t("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},uL}var fL={},Rle=!1;function cut(){if(Rle)return fL;Rle=!0;var t={__proto__:null,foo:{}},e=Object;return fL=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof e)},fL}var dL={},Mle=!1;function uut(){if(Mle)return dL;Mle=!0;var t="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,r=Math.max,n="[object Function]",i=function(l,c){for(var u=[],f=0;f<l.length;f+=1)u[f]=l[f];for(var d=0;d<c.length;d+=1)u[d+l.length]=c[d];return u},o=function(l,c){for(var u=[],f=c,d=0;f<l.length;f+=1,d+=1)u[d]=l[f];return u},s=function(a,l){for(var c="",u=0;u<a.length;u+=1)c+=a[u],u+1<a.length&&(c+=l);return c};return dL=function(l){var c=this;if(typeof c!="function"||e.apply(c)!==n)throw new TypeError(t+c);for(var u=o(arguments,1),f,d=function(){if(this instanceof f){var m=c.apply(this,i(u,arguments));return Object(m)===m?m:this}return c.apply(l,i(u,arguments))},p=r(0,c.length-u.length),h=[],A=0;A<p;A++)h[A]="$"+A;if(f=Function("binder","return function ("+s(h,",")+"){ return binder.apply(this,arguments); }")(d),c.prototype){var g=function(){};g.prototype=c.prototype,f.prototype=new g,g.prototype=null}return f},dL}var pL={},_le=!1;function oJ(){if(_le)return pL;_le=!0;var t=uut();return pL=Function.prototype.bind||t,pL}var AL={},jle=!1;function fut(){if(jle)return AL;jle=!0;var t=Function.prototype.call,e=Object.prototype.hasOwnProperty,r=oJ();return AL=r.call(t,e),AL}var hL={},Ule=!1;function dv(){if(Ule)return hL;Ule=!0;var t,e=nut(),r=iut(),n=out(),i=sut(),o=Axe(),s=wC(),a=aut(),l=Function,c=function(j){try{return l('"use strict"; return ('+j+").constructor;")()}catch{}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch{u=null}var f=function(){throw new s},d=u?function(){try{return arguments.callee,f}catch{try{return u(arguments,"callee").get}catch{return f}}}():f,p=lut()(),h=cut()(),A=Object.getPrototypeOf||(h?function(j){return j.__proto__}:null),g={},m=typeof Uint8Array>"u"||!A?t:A(Uint8Array),v={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?t:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?t:ArrayBuffer,"%ArrayIteratorPrototype%":p&&A?A([][Symbol.iterator]()):t,"%AsyncFromSyncIteratorPrototype%":t,"%AsyncFunction%":g,"%AsyncGenerator%":g,"%AsyncGeneratorFunction%":g,"%AsyncIteratorPrototype%":g,"%Atomics%":typeof Atomics>"u"?t:Atomics,"%BigInt%":typeof BigInt>"u"?t:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?t:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?t:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?t:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":e,"%eval%":eval,"%EvalError%":r,"%Float32Array%":typeof Float32Array>"u"?t:Float32Array,"%Float64Array%":typeof Float64Array>"u"?t:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?t:FinalizationRegistry,"%Function%":l,"%GeneratorFunction%":g,"%Int8Array%":typeof Int8Array>"u"?t:Int8Array,"%Int16Array%":typeof Int16Array>"u"?t:Int16Array,"%Int32Array%":typeof Int32Array>"u"?t:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p&&A?A(A([][Symbol.iterator]())):t,"%JSON%":typeof JSON=="object"?JSON:t,"%Map%":typeof Map>"u"?t:Map,"%MapIteratorPrototype%":typeof Map>"u"||!p||!A?t:A(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?t:Promise,"%Proxy%":typeof Proxy>"u"?t:Proxy,"%RangeError%":n,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?t:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?t:Set,"%SetIteratorPrototype%":typeof Set>"u"||!p||!A?t:A(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?t:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p&&A?A(""[Symbol.iterator]()):t,"%Symbol%":p?Symbol:t,"%SyntaxError%":o,"%ThrowTypeError%":d,"%TypedArray%":m,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?t:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?t:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?t:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?t:Uint32Array,"%URIError%":a,"%WeakMap%":typeof WeakMap>"u"?t:WeakMap,"%WeakRef%":typeof WeakRef>"u"?t:WeakRef,"%WeakSet%":typeof WeakSet>"u"?t:WeakSet};if(A)try{null.error}catch(j){var y=A(A(j));v["%Error.prototype%"]=y}var b=function j(R){var Q;if(R==="%AsyncFunction%")Q=c("async function () {}");else if(R==="%GeneratorFunction%")Q=c("function* () {}");else if(R==="%AsyncGeneratorFunction%")Q=c("async function* () {}");else if(R==="%AsyncGenerator%"){var z=j("%AsyncGeneratorFunction%");z&&(Q=z.prototype)}else if(R==="%AsyncIteratorPrototype%"){var X=j("%AsyncGenerator%");X&&A&&(Q=A(X.prototype))}return v[R]=Q,Q},B={__proto__:null,"%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"]},S=oJ(),w=fut(),x=S.call(Function.call,Array.prototype.concat),I=S.call(Function.apply,Array.prototype.splice),F=S.call(Function.call,String.prototype.replace),k=S.call(Function.call,String.prototype.slice),O=S.call(Function.call,RegExp.prototype.exec),L=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,M=/\\(\\)?/g,H=function(R){var Q=k(R,0,1),z=k(R,-1);if(Q==="%"&&z!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(z==="%"&&Q!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var X=[];return F(R,L,function(_,G,W,J){X[X.length]=W?F(J,M,"$1"):G||_}),X},V=function(R,Q){var z=R,X;if(w(B,z)&&(X=B[z],z="%"+X[0]+"%"),w(v,z)){var _=v[z];if(_===g&&(_=b(z)),typeof _>"u"&&!Q)throw new s("intrinsic "+R+" exists, but is not available. Please file an issue!");return{alias:X,name:z,value:_}}throw new o("intrinsic "+R+" does not exist!")};return hL=function(R,Q){if(typeof R!="string"||R.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Q!="boolean")throw new s('"allowMissing" argument must be a boolean');if(O(/^%?[^%]*%?$/,R)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var z=H(R),X=z.length>0?z[0]:"",_=V("%"+X+"%",Q),G=_.name,W=_.value,J=!1,ee=_.alias;ee&&(X=ee[0],I(z,x([0,1],ee)));for(var q=1,Z=!0;q<z.length;q+=1){var re=z[q],fe=k(re,0,1),de=k(re,-1);if((fe==='"'||fe==="'"||fe==="`"||de==='"'||de==="'"||de==="`")&&fe!==de)throw new o("property names with quotes must have matching quotes");if((re==="constructor"||!Z)&&(J=!0),X+="."+re,G="%"+X+"%",w(v,G))W=v[G];else if(W!=null){if(!(re in W)){if(!Q)throw new s("base intrinsic for "+R+" exists, but the property is not available.");return}if(u&&q+1>=z.length){var ie=u(W,re);Z=!!ie,Z&&"get"in ie&&!("originalValue"in ie.get)?W=ie.get:W=W[re]}else Z=w(W,re),W=W[re];Z&&!J&&(v[G]=W)}}return W},hL}var mL={},Qle=!1;function sJ(){if(Qle)return mL;Qle=!0;var t=dv(),e=t("%Object.defineProperty%",!0)||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return mL=e,mL}var gL={},Vle=!1;function hxe(){if(Vle)return gL;Vle=!0;var t=dv(),e=t("%Object.getOwnPropertyDescriptor%",!0);if(e)try{e([],"length")}catch{e=null}return gL=e,gL}var vL={},$le=!1;function dut(){if($le)return vL;$le=!0;var t=sJ(),e=Axe(),r=wC(),n=hxe();return vL=function(o,s,a){if(!o||typeof o!="object"&&typeof o!="function")throw new r("`obj` must be an object or a function`");if(typeof s!="string"&&typeof s!="symbol")throw new r("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new r("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new r("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new r("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new r("`loose`, if provided, must be a boolean");var l=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,f=arguments.length>6?arguments[6]:!1,d=!!n&&n(o,s);if(t)t(o,s,{configurable:u===null&&d?d.configurable:!u,enumerable:l===null&&d?d.enumerable:!l,value:a,writable:c===null&&d?d.writable:!c});else if(f||!l&&!c&&!u)o[s]=a;else throw new e("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},vL}var yL={},Hle=!1;function put(){if(Hle)return yL;Hle=!0;var t=sJ(),e=function(){return!!t};return e.hasArrayLengthDefineBug=function(){if(!t)return null;try{return t([],"length",{value:1}).length!==1}catch{return!0}},yL=e,yL}var BL={},Gle=!1;function Aut(){if(Gle)return BL;Gle=!0;var t=dv(),e=dut(),r=put()(),n=hxe(),i=wC(),o=t("%Math.floor%");return BL=function(a,l){if(typeof a!="function")throw new i("`fn` is not a function");if(typeof l!="number"||l<0||l>4294967295||o(l)!==l)throw new i("`length` must be a positive 32-bit integer");var c=arguments.length>2&&!!arguments[2],u=!0,f=!0;if("length"in a&&n){var d=n(a,"length");d&&!d.configurable&&(u=!1),d&&!d.writable&&(f=!1)}return(u||f||!c)&&(r?e(a,"length",l,!0,!0):e(a,"length",l)),a},BL}var $b={},Wle=!1;function hut(){if(Wle)return $b;Wle=!0;var t=oJ(),e=dv(),r=Aut(),n=wC(),i=e("%Function.prototype.apply%"),o=e("%Function.prototype.call%"),s=e("%Reflect.apply%",!0)||t.call(o,i),a=sJ(),l=e("%Math.max%");$b=function(f){if(typeof f!="function")throw new n("a function is required");var d=s(t,o,arguments);return r(d,1+l(0,f.length-(arguments.length-1)),!0)};var c=function(){return s(t,i,arguments)};return a?a($b,"apply",{value:c}):$b.apply=c,$b}var CL={},zle=!1;function mxe(){if(zle)return CL;zle=!0;var t=dv(),e=hut(),r=e(t("String.prototype.indexOf"));return CL=function(i,o){var s=t(i,!!o);return typeof s=="function"&&r(i,".prototype.")>-1?e(s):s},CL}var mut=Object.freeze(Object.create(null)),bL={},Kle=!1,wL=typeof globalThis<"u"?globalThis:typeof self<"u"?self:global;function gut(){if(Kle)return bL;Kle=!0;var t=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&t?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=t&&e&&typeof e.get=="function"?e.get:null,n=t&&Map.prototype.forEach,i=typeof Set=="function"&&Set.prototype,o=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,s=i&&o&&typeof o.get=="function"?o.get:null,a=i&&Set.prototype.forEach,l=typeof WeakMap=="function"&&WeakMap.prototype,c=l?WeakMap.prototype.has:null,u=typeof WeakSet=="function"&&WeakSet.prototype,f=u?WeakSet.prototype.has:null,d=typeof WeakRef=="function"&&WeakRef.prototype,p=d?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,A=Object.prototype.toString,g=Function.prototype.toString,m=String.prototype.match,v=String.prototype.slice,y=String.prototype.replace,b=String.prototype.toUpperCase,B=String.prototype.toLowerCase,S=RegExp.prototype.test,w=Array.prototype.concat,x=Array.prototype.join,I=Array.prototype.slice,F=Math.floor,k=typeof BigInt=="function"?BigInt.prototype.valueOf:null,O=Object.getOwnPropertySymbols,L=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,M=typeof Symbol=="function"&&typeof Symbol.iterator=="object",H=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===M||"symbol")?Symbol.toStringTag:null,V=Object.prototype.propertyIsEnumerable,j=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(he){return he.__proto__}:null);function R(he,Ee){if(he===1/0||he===-1/0||he!==he||he&&he>-1e3&&he<1e3||S.call(/e/,Ee))return Ee;var ot=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof he=="number"){var At=he<0?-F(-he):F(he);if(At!==he){var Ct=String(At),pt=v.call(Ee,Ct.length+1);return y.call(Ct,ot,"$&_")+"."+y.call(y.call(pt,/([0-9]{3})/g,"$&_"),/_$/,"")}}return y.call(Ee,ot,"$&_")}var Q=mut,z=Q.custom,X=de(z)?z:null;bL=function he(Ee,ot,At,Ct){var pt=ot||{};if(De(pt,"quoteStyle")&&pt.quoteStyle!=="single"&&pt.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(De(pt,"maxStringLength")&&(typeof pt.maxStringLength=="number"?pt.maxStringLength<0&&pt.maxStringLength!==1/0:pt.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Bn=De(pt,"customInspect")?pt.customInspect:!0;if(typeof Bn!="boolean"&&Bn!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(De(pt,"indent")&&pt.indent!==null&&pt.indent!==" "&&!(parseInt(pt.indent,10)===pt.indent&&pt.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(De(pt,"numericSeparator")&&typeof pt.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var jr=pt.numericSeparator;if(typeof Ee>"u")return"undefined";if(Ee===null)return"null";if(typeof Ee=="boolean")return Ee?"true":"false";if(typeof Ee=="string")return gt(Ee,pt);if(typeof Ee=="number"){if(Ee===0)return 1/0/Ee>0?"0":"-0";var yr=String(Ee);return jr?R(Ee,yr):yr}if(typeof Ee=="bigint"){var Sr=String(Ee)+"n";return jr?R(Ee,Sr):Sr}var Jt=typeof pt.depth>"u"?5:pt.depth;if(typeof At>"u"&&(At=0),At>=Jt&&Jt>0&&typeof Ee=="object")return W(Ee)?"[Array]":"[Object]";var Dt=pe(pt,At);if(typeof Ct>"u")Ct=[];else if(Ne(Ct,Ee)>=0)return"[Circular]";function ir(dt,Lt,tr){if(Lt&&(Ct=I.call(Ct),Ct.push(Lt)),tr){var ur={depth:pt.depth};return De(pt,"quoteStyle")&&(ur.quoteStyle=pt.quoteStyle),he(dt,ur,At+1,Ct)}return he(dt,pt,At+1,Ct)}if(typeof Ee=="function"&&!ee(Ee)){var xn=ue(Ee),Ar=_e(Ee,ir);return"[Function"+(xn?": "+xn:" (anonymous)")+"]"+(Ar.length>0?" { "+x.call(Ar,", ")+" }":"")}if(de(Ee)){var Yr=M?y.call(String(Ee),/^(Symbol\(.*\))_[^)]*$/,"$1"):L.call(Ee);return typeof Ee=="object"&&!M?U(Yr):Yr}if(lt(Ee)){for(var se="<"+B.call(String(Ee.nodeName)),ae=Ee.attributes||[],Ce=0;Ce<ae.length;Ce++)se+=" "+ae[Ce].name+"="+_(G(ae[Ce].value),"double",pt);return se+=">",Ee.childNodes&&Ee.childNodes.length&&(se+="..."),se+="</"+B.call(String(Ee.nodeName))+">",se}if(W(Ee)){if(Ee.length===0)return"[]";var Oe=_e(Ee,ir);return Dt&&!Y(Oe)?"["+be(Oe,Dt)+"]":"[ "+x.call(Oe,", ")+" ]"}if(q(Ee)){var Ie=_e(Ee,ir);return!("cause"in Error.prototype)&&"cause"in Ee&&!V.call(Ee,"cause")?"{ ["+String(Ee)+"] "+x.call(w.call("[cause]: "+ir(Ee.cause),Ie),", ")+" }":Ie.length===0?"["+String(Ee)+"]":"{ ["+String(Ee)+"] "+x.call(Ie,", ")+" }"}if(typeof Ee=="object"&&Bn){if(X&&typeof Ee[X]=="function"&&Q)return Q(Ee,{depth:Jt-At});if(Bn!=="symbol"&&typeof Ee.inspect=="function")return Ee.inspect()}if(Te(Ee)){var Le=[];return n&&n.call(Ee,function(dt,Lt){Le.push(ir(Lt,Ee,!0)+" => "+ir(dt,Ee))}),N("Map",r.call(Ee),Le,Dt)}if(Ve(Ee)){var Qe=[];return a&&a.call(Ee,function(dt){Qe.push(ir(dt,Ee))}),N("Set",s.call(Ee),Qe,Dt)}if(Re(Ee))return D("WeakMap");if(ze(Ee))return D("WeakSet");if(je(Ee))return D("WeakRef");if(re(Ee))return U(ir(Number(Ee)));if(ie(Ee))return U(ir(k.call(Ee)));if(fe(Ee))return U(h.call(Ee));if(Z(Ee))return U(ir(String(Ee)));if(typeof window<"u"&&Ee===window)return"{ [object Window] }";if(typeof globalThis<"u"&&Ee===globalThis||typeof wL<"u"&&Ee===wL)return"{ [object globalThis] }";if(!J(Ee)&&!ee(Ee)){var Ge=_e(Ee,ir),ft=j?j(Ee)===Object.prototype:Ee instanceof Object||Ee.constructor===Object,yt=Ee instanceof Object?"":"null prototype",nt=!ft&&H&&Object(Ee)===Ee&&H in Ee?v.call(Ae(Ee),8,-1):yt?"Object":"",Ft=ft||typeof Ee.constructor!="function"?"":Ee.constructor.name?Ee.constructor.name+" ":"",mt=Ft+(nt||yt?"["+x.call(w.call([],nt||[],yt||[]),": ")+"] ":"");return Ge.length===0?mt+"{}":Dt?mt+"{"+be(Ge,Dt)+"}":mt+"{ "+x.call(Ge,", ")+" }"}return String(Ee)};function _(he,Ee,ot){var At=(ot.quoteStyle||Ee)==="double"?'"':"'";return At+he+At}function G(he){return y.call(String(he),/"/g,""")}function W(he){return Ae(he)==="[object Array]"&&(!H||!(typeof he=="object"&&H in he))}function J(he){return Ae(he)==="[object Date]"&&(!H||!(typeof he=="object"&&H in he))}function ee(he){return Ae(he)==="[object RegExp]"&&(!H||!(typeof he=="object"&&H in he))}function q(he){return Ae(he)==="[object Error]"&&(!H||!(typeof he=="object"&&H in he))}function Z(he){return Ae(he)==="[object String]"&&(!H||!(typeof he=="object"&&H in he))}function re(he){return Ae(he)==="[object Number]"&&(!H||!(typeof he=="object"&&H in he))}function fe(he){return Ae(he)==="[object Boolean]"&&(!H||!(typeof he=="object"&&H in he))}function de(he){if(M)return he&&typeof he=="object"&&he instanceof Symbol;if(typeof he=="symbol")return!0;if(!he||typeof he!="object"||!L)return!1;try{return L.call(he),!0}catch{}return!1}function ie(he){if(!he||typeof he!="object"||!k)return!1;try{return k.call(he),!0}catch{}return!1}var le=Object.prototype.hasOwnProperty||function(he){return he in(this||wL)};function De(he,Ee){return le.call(he,Ee)}function Ae(he){return A.call(he)}function ue(he){if(he.name)return he.name;var Ee=m.call(g.call(he),/^function\s*([\w$]+)/);return Ee?Ee[1]:null}function Ne(he,Ee){if(he.indexOf)return he.indexOf(Ee);for(var ot=0,At=he.length;ot<At;ot++)if(he[ot]===Ee)return ot;return-1}function Te(he){if(!r||!he||typeof he!="object")return!1;try{r.call(he);try{s.call(he)}catch{return!0}return he instanceof Map}catch{}return!1}function Re(he){if(!c||!he||typeof he!="object")return!1;try{c.call(he,c);try{f.call(he,f)}catch{return!0}return he instanceof WeakMap}catch{}return!1}function je(he){if(!p||!he||typeof he!="object")return!1;try{return p.call(he),!0}catch{}return!1}function Ve(he){if(!s||!he||typeof he!="object")return!1;try{s.call(he);try{r.call(he)}catch{return!0}return he instanceof Set}catch{}return!1}function ze(he){if(!f||!he||typeof he!="object")return!1;try{f.call(he,f);try{c.call(he,c)}catch{return!0}return he instanceof WeakSet}catch{}return!1}function lt(he){return!he||typeof he!="object"?!1:typeof HTMLElement<"u"&&he instanceof HTMLElement?!0:typeof he.nodeName=="string"&&typeof he.getAttribute=="function"}function gt(he,Ee){if(he.length>Ee.maxStringLength){var ot=he.length-Ee.maxStringLength,At="... "+ot+" more character"+(ot>1?"s":"");return gt(v.call(he,0,Ee.maxStringLength),Ee)+At}var Ct=y.call(y.call(he,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,_t);return _(Ct,"single",Ee)}function _t(he){var Ee=he.charCodeAt(0),ot={8:"b",9:"t",10:"n",12:"f",13:"r"}[Ee];return ot?"\\"+ot:"\\x"+(Ee<16?"0":"")+b.call(Ee.toString(16))}function U(he){return"Object("+he+")"}function D(he){return he+" { ? }"}function N(he,Ee,ot,At){var Ct=At?be(ot,At):x.call(ot,", ");return he+" ("+Ee+") {"+Ct+"}"}function Y(he){for(var Ee=0;Ee<he.length;Ee++)if(Ne(he[Ee],` `)>=0)return!1;return!0}function pe(he,Ee){var ot;if(he.indent===" ")ot=" ";else if(typeof he.indent=="number"&&he.indent>0)ot=x.call(Array(he.indent+1)," ");else return null;return{base:ot,prev:x.call(Array(Ee+1),ot)}}function be(he,Ee){if(he.length===0)return"";var ot=` `+Ee.prev+Ee.base;return ot+x.call(he,","+ot)+` `+Ee.prev}function _e(he,Ee){var ot=W(he),At=[];if(ot){At.length=he.length;for(var Ct=0;Ct<he.length;Ct++)At[Ct]=De(he,Ct)?Ee(he[Ct],he):""}var pt=typeof O=="function"?O(he):[],Bn;if(M){Bn={};for(var jr=0;jr<pt.length;jr++)Bn["$"+pt[jr]]=pt[jr]}for(var yr in he)De(he,yr)&&(ot&&String(Number(yr))===yr&&yr<he.length||M&&Bn["$"+yr]instanceof Symbol||(S.call(/[^\w$]/,yr)?At.push(Ee(yr,he)+": "+Ee(he[yr],he)):At.push(yr+": "+Ee(he[yr],he))));if(typeof O=="function")for(var Sr=0;Sr<pt.length;Sr++)V.call(he,pt[Sr])&&At.push("["+Ee(pt[Sr])+"]: "+Ee(he[pt[Sr]],he));return At}return bL}var xL={},qle=!1;function vut(){if(qle)return xL;qle=!0;var t=dv(),e=mxe(),r=gut(),n=wC(),i=t("%WeakMap%",!0),o=t("%Map%",!0),s=e("WeakMap.prototype.get",!0),a=e("WeakMap.prototype.set",!0),l=e("WeakMap.prototype.has",!0),c=e("Map.prototype.get",!0),u=e("Map.prototype.set",!0),f=e("Map.prototype.has",!0),d=function(g,m){for(var v=g,y;(y=v.next)!==null;v=y)if(y.key===m)return v.next=y.next,y.next=g.next,g.next=y,y},p=function(g,m){var v=d(g,m);return v&&v.value},h=function(g,m,v){var y=d(g,m);y?y.value=v:g.next={key:m,next:g.next,value:v}},A=function(g,m){return!!d(g,m)};return xL=function(){var m,v,y,b={assert:function(B){if(!b.has(B))throw new n("Side channel does not contain "+r(B))},get:function(B){if(i&&B&&(typeof B=="object"||typeof B=="function")){if(m)return s(m,B)}else if(o){if(v)return c(v,B)}else if(y)return p(y,B)},has:function(B){if(i&&B&&(typeof B=="object"||typeof B=="function")){if(m)return l(m,B)}else if(o){if(v)return f(v,B)}else if(y)return A(y,B);return!1},set:function(B,S){i&&B&&(typeof B=="object"||typeof B=="function")?(m||(m=new i),a(m,B,S)):o?(v||(v=new o),u(v,B,S)):(y||(y={key:{},next:null}),h(y,B,S))}};return b},xL}var SL={},Xle=!1;function aJ(){if(Xle)return SL;Xle=!0;var t=String.prototype.replace,e=/%20/g,r={RFC1738:"RFC1738",RFC3986:"RFC3986"};return SL={default:r.RFC3986,formatters:{RFC1738:function(n){return t.call(n,e,"+")},RFC3986:function(n){return String(n)}},RFC1738:r.RFC1738,RFC3986:r.RFC3986},SL}var EL={},Yle=!1;function gxe(){if(Yle)return EL;Yle=!0;var t=aJ(),e=Object.prototype.hasOwnProperty,r=Array.isArray,n=function(){for(var g=[],m=0;m<256;++m)g.push("%"+((m<16?"0":"")+m.toString(16)).toUpperCase());return g}(),i=function(m){for(;m.length>1;){var v=m.pop(),y=v.obj[v.prop];if(r(y)){for(var b=[],B=0;B<y.length;++B)typeof y[B]<"u"&&b.push(y[B]);v.obj[v.prop]=b}}},o=function(m,v){for(var y=v&&v.plainObjects?Object.create(null):{},b=0;b<m.length;++b)typeof m[b]<"u"&&(y[b]=m[b]);return y},s=function g(m,v,y){if(!v)return m;if(typeof v!="object"){if(r(m))m.push(v);else if(m&&typeof m=="object")(y&&(y.plainObjects||y.allowPrototypes)||!e.call(Object.prototype,v))&&(m[v]=!0);else return[m,v];return m}if(!m||typeof m!="object")return[m].concat(v);var b=m;return r(m)&&!r(v)&&(b=o(m,y)),r(m)&&r(v)?(v.forEach(function(B,S){if(e.call(m,S)){var w=m[S];w&&typeof w=="object"&&B&&typeof B=="object"?m[S]=g(w,B,y):m.push(B)}else m[S]=B}),m):Object.keys(v).reduce(function(B,S){var w=v[S];return e.call(B,S)?B[S]=g(B[S],w,y):B[S]=w,B},b)},a=function(m,v){return Object.keys(v).reduce(function(y,b){return y[b]=v[b],y},m)},l=function(g,m,v){var y=g.replace(/\+/g," ");if(v==="iso-8859-1")return y.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(y)}catch{return y}},c=1024,u=function(m,v,y,b,B){if(m.length===0)return m;var S=m;if(typeof m=="symbol"?S=Symbol.prototype.toString.call(m):typeof m!="string"&&(S=String(m)),y==="iso-8859-1")return escape(S).replace(/%u[0-9a-f]{4}/gi,function(L){return"%26%23"+parseInt(L.slice(2),16)+"%3B"});for(var w="",x=0;x<S.length;x+=c){for(var I=S.length>=c?S.slice(x,x+c):S,F=[],k=0;k<I.length;++k){var O=I.charCodeAt(k);if(O===45||O===46||O===95||O===126||O>=48&&O<=57||O>=65&&O<=90||O>=97&&O<=122||B===t.RFC1738&&(O===40||O===41)){F[F.length]=I.charAt(k);continue}if(O<128){F[F.length]=n[O];continue}if(O<2048){F[F.length]=n[192|O>>6]+n[128|O&63];continue}if(O<55296||O>=57344){F[F.length]=n[224|O>>12]+n[128|O>>6&63]+n[128|O&63];continue}k+=1,O=65536+((O&1023)<<10|I.charCodeAt(k)&1023),F[F.length]=n[240|O>>18]+n[128|O>>12&63]+n[128|O>>6&63]+n[128|O&63]}w+=F.join("")}return w},f=function(m){for(var v=[{obj:{o:m},prop:"o"}],y=[],b=0;b<v.length;++b)for(var B=v[b],S=B.obj[B.prop],w=Object.keys(S),x=0;x<w.length;++x){var I=w[x],F=S[I];typeof F=="object"&&F!==null&&y.indexOf(F)===-1&&(v.push({obj:S,prop:I}),y.push(F))}return i(v),m},d=function(m){return Object.prototype.toString.call(m)==="[object RegExp]"},p=function(m){return!m||typeof m!="object"?!1:!!(m.constructor&&m.constructor.isBuffer&&m.constructor.isBuffer(m))},h=function(m,v){return[].concat(m,v)},A=function(m,v){if(r(m)){for(var y=[],b=0;b<m.length;b+=1)y.push(v(m[b]));return y}return v(m)};return EL={arrayToObject:o,assign:a,combine:h,compact:f,decode:l,encode:u,isBuffer:p,isRegExp:d,maybeMap:A,merge:s},EL}var DL={},Jle=!1;function yut(){if(Jle)return DL;Jle=!0;var t=vut(),e=gxe(),r=aJ(),n=Object.prototype.hasOwnProperty,i={brackets:function(g){return g+"[]"},comma:"comma",indices:function(g,m){return g+"["+m+"]"},repeat:function(g){return g}},o=Array.isArray,s=Array.prototype.push,a=function(A,g){s.apply(A,o(g)?g:[g])},l=Date.prototype.toISOString,c=r.default,u={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:e.encode,encodeValuesOnly:!1,format:c,formatter:r.formatters[c],indices:!1,serializeDate:function(g){return l.call(g)},skipNulls:!1,strictNullHandling:!1},f=function(g){return typeof g=="string"||typeof g=="number"||typeof g=="boolean"||typeof g=="symbol"||typeof g=="bigint"},d={},p=function A(g,m,v,y,b,B,S,w,x,I,F,k,O,L,M,H,V,j){for(var R=g,Q=j,z=0,X=!1;(Q=Q.get(d))!==void 0&&!X;){var _=Q.get(g);if(z+=1,typeof _<"u"){if(_===z)throw new RangeError("Cyclic object value");X=!0}typeof Q.get(d)>"u"&&(z=0)}if(typeof I=="function"?R=I(m,R):R instanceof Date?R=O(R):v==="comma"&&o(R)&&(R=e.maybeMap(R,function(Ae){return Ae instanceof Date?O(Ae):Ae})),R===null){if(B)return x&&!H?x(m,u.encoder,V,"key",L):m;R=""}if(f(R)||e.isBuffer(R)){if(x){var G=H?m:x(m,u.encoder,V,"key",L);return[M(G)+"="+M(x(R,u.encoder,V,"value",L))]}return[M(m)+"="+M(String(R))]}var W=[];if(typeof R>"u")return W;var J;if(v==="comma"&&o(R))H&&x&&(R=e.maybeMap(R,x)),J=[{value:R.length>0?R.join(",")||null:void 0}];else if(o(I))J=I;else{var ee=Object.keys(R);J=F?ee.sort(F):ee}var q=w?m.replace(/\./g,"%2E"):m,Z=y&&o(R)&&R.length===1?q+"[]":q;if(b&&o(R)&&R.length===0)return Z+"[]";for(var re=0;re<J.length;++re){var fe=J[re],de=typeof fe=="object"&&typeof fe.value<"u"?fe.value:R[fe];if(!(S&&de===null)){var ie=k&&w?fe.replace(/\./g,"%2E"):fe,le=o(R)?typeof v=="function"?v(Z,ie):Z:Z+(k?"."+ie:"["+ie+"]");j.set(g,z);var De=t();De.set(d,j),a(W,A(de,le,v,y,b,B,S,w,v==="comma"&&H&&o(R)?null:x,I,F,k,O,L,M,H,V,De))}}return W},h=function(g){if(!g)return u;if(typeof g.allowEmptyArrays<"u"&&typeof g.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof g.encodeDotInKeys<"u"&&typeof g.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(g.encoder!==null&&typeof g.encoder<"u"&&typeof g.encoder!="function")throw new TypeError("Encoder has to be a function.");var m=g.charset||u.charset;if(typeof g.charset<"u"&&g.charset!=="utf-8"&&g.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var v=r.default;if(typeof g.format<"u"){if(!n.call(r.formatters,g.format))throw new TypeError("Unknown format option provided.");v=g.format}var y=r.formatters[v],b=u.filter;(typeof g.filter=="function"||o(g.filter))&&(b=g.filter);var B;if(g.arrayFormat in i?B=g.arrayFormat:"indices"in g?B=g.indices?"indices":"repeat":B=u.arrayFormat,"commaRoundTrip"in g&&typeof g.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var S=typeof g.allowDots>"u"?g.encodeDotInKeys===!0?!0:u.allowDots:!!g.allowDots;return{addQueryPrefix:typeof g.addQueryPrefix=="boolean"?g.addQueryPrefix:u.addQueryPrefix,allowDots:S,allowEmptyArrays:typeof g.allowEmptyArrays=="boolean"?!!g.allowEmptyArrays:u.allowEmptyArrays,arrayFormat:B,charset:m,charsetSentinel:typeof g.charsetSentinel=="boolean"?g.charsetSentinel:u.charsetSentinel,commaRoundTrip:g.commaRoundTrip,delimiter:typeof g.delimiter>"u"?u.delimiter:g.delimiter,encode:typeof g.encode=="boolean"?g.encode:u.encode,encodeDotInKeys:typeof g.encodeDotInKeys=="boolean"?g.encodeDotInKeys:u.encodeDotInKeys,encoder:typeof g.encoder=="function"?g.encoder:u.encoder,encodeValuesOnly:typeof g.encodeValuesOnly=="boolean"?g.encodeValuesOnly:u.encodeValuesOnly,filter:b,format:v,formatter:y,serializeDate:typeof g.serializeDate=="function"?g.serializeDate:u.serializeDate,skipNulls:typeof g.skipNulls=="boolean"?g.skipNulls:u.skipNulls,sort:typeof g.sort=="function"?g.sort:null,strictNullHandling:typeof g.strictNullHandling=="boolean"?g.strictNullHandling:u.strictNullHandling}};return DL=function(A,g){var m=A,v=h(g),y,b;typeof v.filter=="function"?(b=v.filter,m=b("",m)):o(v.filter)&&(b=v.filter,y=b);var B=[];if(typeof m!="object"||m===null)return"";var S=i[v.arrayFormat],w=S==="comma"&&v.commaRoundTrip;y||(y=Object.keys(m)),v.sort&&y.sort(v.sort);for(var x=t(),I=0;I<y.length;++I){var F=y[I];v.skipNulls&&m[F]===null||a(B,p(m[F],F,S,w,v.allowEmptyArrays,v.strictNullHandling,v.skipNulls,v.encodeDotInKeys,v.encode?v.encoder:null,v.filter,v.sort,v.allowDots,v.serializeDate,v.format,v.formatter,v.encodeValuesOnly,v.charset,x))}var k=B.join(v.delimiter),O=v.addQueryPrefix===!0?"?":"";return v.charsetSentinel&&(v.charset==="iso-8859-1"?O+="utf8=%26%2310003%3B&":O+="utf8=%E2%9C%93&"),k.length>0?O+k:""},DL}var kL={},Zle=!1;function But(){if(Zle)return kL;Zle=!0;var t=gxe(),e=Object.prototype.hasOwnProperty,r=Array.isArray,n={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:t.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},i=function(d){return d.replace(/&#(\d+);/g,function(p,h){return String.fromCharCode(parseInt(h,10))})},o=function(d,p){return d&&typeof d=="string"&&p.comma&&d.indexOf(",")>-1?d.split(","):d},s="utf8=%26%2310003%3B",a="utf8=%E2%9C%93",l=function(p,h){var A={__proto__:null},g=h.ignoreQueryPrefix?p.replace(/^\?/,""):p;g=g.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var m=h.parameterLimit===1/0?void 0:h.parameterLimit,v=g.split(h.delimiter,m),y=-1,b,B=h.charset;if(h.charsetSentinel)for(b=0;b<v.length;++b)v[b].indexOf("utf8=")===0&&(v[b]===a?B="utf-8":v[b]===s&&(B="iso-8859-1"),y=b,b=v.length);for(b=0;b<v.length;++b)if(b!==y){var S=v[b],w=S.indexOf("]="),x=w===-1?S.indexOf("="):w+1,I,F;x===-1?(I=h.decoder(S,n.decoder,B,"key"),F=h.strictNullHandling?null:""):(I=h.decoder(S.slice(0,x),n.decoder,B,"key"),F=t.maybeMap(o(S.slice(x+1),h),function(O){return h.decoder(O,n.decoder,B,"value")})),F&&h.interpretNumericEntities&&B==="iso-8859-1"&&(F=i(F)),S.indexOf("[]=")>-1&&(F=r(F)?[F]:F);var k=e.call(A,I);k&&h.duplicates==="combine"?A[I]=t.combine(A[I],F):(!k||h.duplicates==="last")&&(A[I]=F)}return A},c=function(d,p,h,A){for(var g=A?p:o(p,h),m=d.length-1;m>=0;--m){var v,y=d[m];if(y==="[]"&&h.parseArrays)v=h.allowEmptyArrays&&(g===""||h.strictNullHandling&&g===null)?[]:[].concat(g);else{v=h.plainObjects?Object.create(null):{};var b=y.charAt(0)==="["&&y.charAt(y.length-1)==="]"?y.slice(1,-1):y,B=h.decodeDotInKeys?b.replace(/%2E/g,"."):b,S=parseInt(B,10);!h.parseArrays&&B===""?v={0:g}:!isNaN(S)&&y!==B&&String(S)===B&&S>=0&&h.parseArrays&&S<=h.arrayLimit?(v=[],v[S]=g):B!=="__proto__"&&(v[B]=g)}g=v}return g},u=function(p,h,A,g){if(p){var m=A.allowDots?p.replace(/\.([^.[]+)/g,"[$1]"):p,v=/(\[[^[\]]*])/,y=/(\[[^[\]]*])/g,b=A.depth>0&&v.exec(m),B=b?m.slice(0,b.index):m,S=[];if(B){if(!A.plainObjects&&e.call(Object.prototype,B)&&!A.allowPrototypes)return;S.push(B)}for(var w=0;A.depth>0&&(b=y.exec(m))!==null&&w<A.depth;){if(w+=1,!A.plainObjects&&e.call(Object.prototype,b[1].slice(1,-1))&&!A.allowPrototypes)return;S.push(b[1])}if(b){if(A.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+A.depth+" and strictDepth is true");S.push("["+m.slice(b.index)+"]")}return c(S,h,A,g)}},f=function(p){if(!p)return n;if(typeof p.allowEmptyArrays<"u"&&typeof p.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof p.decodeDotInKeys<"u"&&typeof p.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(p.decoder!==null&&typeof p.decoder<"u"&&typeof p.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof p.charset<"u"&&p.charset!=="utf-8"&&p.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var h=typeof p.charset>"u"?n.charset:p.charset,A=typeof p.duplicates>"u"?n.duplicates:p.duplicates;if(A!=="combine"&&A!=="first"&&A!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var g=typeof p.allowDots>"u"?p.decodeDotInKeys===!0?!0:n.allowDots:!!p.allowDots;return{allowDots:g,allowEmptyArrays:typeof p.allowEmptyArrays=="boolean"?!!p.allowEmptyArrays:n.allowEmptyArrays,allowPrototypes:typeof p.allowPrototypes=="boolean"?p.allowPrototypes:n.allowPrototypes,allowSparse:typeof p.allowSparse=="boolean"?p.allowSparse:n.allowSparse,arrayLimit:typeof p.arrayLimit=="number"?p.arrayLimit:n.arrayLimit,charset:h,charsetSentinel:typeof p.charsetSentinel=="boolean"?p.charsetSentinel:n.charsetSentinel,comma:typeof p.comma=="boolean"?p.comma:n.comma,decodeDotInKeys:typeof p.decodeDotInKeys=="boolean"?p.decodeDotInKeys:n.decodeDotInKeys,decoder:typeof p.decoder=="function"?p.decoder:n.decoder,delimiter:typeof p.delimiter=="string"||t.isRegExp(p.delimiter)?p.delimiter:n.delimiter,depth:typeof p.depth=="number"||p.depth===!1?+p.depth:n.depth,duplicates:A,ignoreQueryPrefix:p.ignoreQueryPrefix===!0,interpretNumericEntities:typeof p.interpretNumericEntities=="boolean"?p.interpretNumericEntities:n.interpretNumericEntities,parameterLimit:typeof p.parameterLimit=="number"?p.parameterLimit:n.parameterLimit,parseArrays:p.parseArrays!==!1,plainObjects:typeof p.plainObjects=="boolean"?p.plainObjects:n.plainObjects,strictDepth:typeof p.strictDepth=="boolean"?!!p.strictDepth:n.strictDepth,strictNullHandling:typeof p.strictNullHandling=="boolean"?p.strictNullHandling:n.strictNullHandling}};return kL=function(d,p){var h=f(p);if(d===""||d===null||typeof d>"u")return h.plainObjects?Object.create(null):{};for(var A=typeof d=="string"?l(d,h):d,g=h.plainObjects?Object.create(null):{},m=Object.keys(A),v=0;v<m.length;++v){var y=m[v],b=u(y,A[y],h,typeof d=="string");g=t.merge(g,b,h)}return h.allowSparse===!0?g:t.compact(g)},kL}var OL={},ece=!1;function Cut(){if(ece)return OL;ece=!0;var t=yut(),e=But(),r=aJ();return OL={formats:r,parse:e,stringify:t},OL}var mg={},tce=!1;function but(){if(tce)return mg;tce=!0;var t=Vm;function e(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var r=/^([a-z0-9.+-]+:)/i,n=/:[0-9]*$/,i=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,o=["<",">",'"',"`"," ","\r",` `," "],s=["{","}","|","\\","^","`"].concat(o),a=["'"].concat(s),l=["%","/","?",";","#"].concat(a),c=["/","?","#"],u=255,f=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},h={javascript:!0,"javascript:":!0},A={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=Cut();function m(B,S,w){if(B&&typeof B=="object"&&B instanceof e)return B;var x=new e;return x.parse(B,S,w),x}e.prototype.parse=function(B,S,w){if(typeof B!="string")throw new TypeError("Parameter 'url' must be a string, not "+typeof B);var x=B.indexOf("?"),I=x!==-1&&x<B.indexOf("#")?"?":"#",F=B.split(I),k=/\\/g;F[0]=F[0].replace(k,"/"),B=F.join(I);var O=B;if(O=O.trim(),!w&&B.split("#").length===1){var L=i.exec(O);if(L)return this.path=O,this.href=O,this.pathname=L[1],L[2]?(this.search=L[2],S?this.query=g.parse(this.search.substr(1)):this.query=this.search.substr(1)):S&&(this.search="",this.query={}),this}var M=r.exec(O);if(M){M=M[0];var H=M.toLowerCase();this.protocol=H,O=O.substr(M.length)}if(w||M||O.match(/^\/\/[^@/]+@[^@/]+/)){var V=O.substr(0,2)==="//";V&&!(M&&h[M])&&(O=O.substr(2),this.slashes=!0)}if(!h[M]&&(V||M&&!A[M])){for(var j=-1,R=0;R<c.length;R++){var Q=O.indexOf(c[R]);Q!==-1&&(j===-1||Q<j)&&(j=Q)}var z,X;j===-1?X=O.lastIndexOf("@"):X=O.lastIndexOf("@",j),X!==-1&&(z=O.slice(0,X),O=O.slice(X+1),this.auth=decodeURIComponent(z)),j=-1;for(var R=0;R<l.length;R++){var Q=O.indexOf(l[R]);Q!==-1&&(j===-1||Q<j)&&(j=Q)}j===-1&&(j=O.length),this.host=O.slice(0,j),O=O.slice(j),this.parseHost(),this.hostname=this.hostname||"";var _=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!_)for(var G=this.hostname.split(/\./),R=0,W=G.length;R<W;R++){var J=G[R];if(J&&!J.match(f)){for(var ee="",q=0,Z=J.length;q<Z;q++)J.charCodeAt(q)>127?ee+="x":ee+=J[q];if(!ee.match(f)){var re=G.slice(0,R),fe=G.slice(R+1),de=J.match(d);de&&(re.push(de[1]),fe.unshift(de[2])),fe.length&&(O="/"+fe.join(".")+O),this.hostname=re.join(".");break}}}this.hostname.length>u?this.hostname="":this.hostname=this.hostname.toLowerCase(),_||(this.hostname=t.toASCII(this.hostname));var ie=this.port?":"+this.port:"",le=this.hostname||"";this.host=le+ie,this.href+=this.host,_&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),O[0]!=="/"&&(O="/"+O))}if(!p[H])for(var R=0,W=a.length;R<W;R++){var De=a[R];if(O.indexOf(De)!==-1){var Ae=encodeURIComponent(De);Ae===De&&(Ae=escape(De)),O=O.split(De).join(Ae)}}var ue=O.indexOf("#");ue!==-1&&(this.hash=O.substr(ue),O=O.slice(0,ue));var Ne=O.indexOf("?");if(Ne!==-1?(this.search=O.substr(Ne),this.query=O.substr(Ne+1),S&&(this.query=g.parse(this.query)),O=O.slice(0,Ne)):S&&(this.search="",this.query={}),O&&(this.pathname=O),A[H]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var ie=this.pathname||"",Te=this.search||"";this.path=ie+Te}return this.href=this.format(),this};function v(B){return typeof B=="string"&&(B=m(B)),B instanceof e?B.format():e.prototype.format.call(B)}e.prototype.format=function(){var B=this.auth||"";B&&(B=encodeURIComponent(B),B=B.replace(/%3A/i,":"),B+="@");var S=this.protocol||"",w=this.pathname||"",x=this.hash||"",I=!1,F="";this.host?I=B+this.host:this.hostname&&(I=B+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(I+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(F=g.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var k=this.search||F&&"?"+F||"";return S&&S.substr(-1)!==":"&&(S+=":"),this.slashes||(!S||A[S])&&I!==!1?(I="//"+(I||""),w&&w.charAt(0)!=="/"&&(w="/"+w)):I||(I=""),x&&x.charAt(0)!=="#"&&(x="#"+x),k&&k.charAt(0)!=="?"&&(k="?"+k),w=w.replace(/[?#]/g,function(O){return encodeURIComponent(O)}),k=k.replace("#","%23"),S+I+w+k+x};function y(B,S){return m(B,!1,!0).resolve(S)}e.prototype.resolve=function(B){return this.resolveObject(m(B,!1,!0)).format()};function b(B,S){return B?m(B,!1,!0).resolveObject(S):S}return e.prototype.resolveObject=function(B){if(typeof B=="string"){var S=new e;S.parse(B,!1,!0),B=S}for(var w=new e,x=Object.keys(this),I=0;I<x.length;I++){var F=x[I];w[F]=this[F]}if(w.hash=B.hash,B.href==="")return w.href=w.format(),w;if(B.slashes&&!B.protocol){for(var k=Object.keys(B),O=0;O<k.length;O++){var L=k[O];L!=="protocol"&&(w[L]=B[L])}return A[w.protocol]&&w.hostname&&!w.pathname&&(w.pathname="/",w.path=w.pathname),w.href=w.format(),w}if(B.protocol&&B.protocol!==w.protocol){if(!A[B.protocol]){for(var M=Object.keys(B),H=0;H<M.length;H++){var V=M[H];w[V]=B[V]}return w.href=w.format(),w}if(w.protocol=B.protocol,!B.host&&!h[B.protocol]){for(var W=(B.pathname||"").split("/");W.length&&!(B.host=W.shift()););B.host||(B.host=""),B.hostname||(B.hostname=""),W[0]!==""&&W.unshift(""),W.length<2&&W.unshift(""),w.pathname=W.join("/")}else w.pathname=B.pathname;if(w.search=B.search,w.query=B.query,w.host=B.host||"",w.auth=B.auth,w.hostname=B.hostname||B.host,w.port=B.port,w.pathname||w.search){var j=w.pathname||"",R=w.search||"";w.path=j+R}return w.slashes=w.slashes||B.slashes,w.href=w.format(),w}var Q=w.pathname&&w.pathname.charAt(0)==="/",z=B.host||B.pathname&&B.pathname.charAt(0)==="/",X=z||Q||w.host&&B.pathname,_=X,G=w.pathname&&w.pathname.split("/")||[],W=B.pathname&&B.pathname.split("/")||[],J=w.protocol&&!A[w.protocol];if(J&&(w.hostname="",w.port=null,w.host&&(G[0]===""?G[0]=w.host:G.unshift(w.host)),w.host="",B.protocol&&(B.hostname=null,B.port=null,B.host&&(W[0]===""?W[0]=B.host:W.unshift(B.host)),B.host=null),X=X&&(W[0]===""||G[0]==="")),z)w.host=B.host||B.host===""?B.host:w.host,w.hostname=B.hostname||B.hostname===""?B.hostname:w.hostname,w.search=B.search,w.query=B.query,G=W;else if(W.length)G||(G=[]),G.pop(),G=G.concat(W),w.search=B.search,w.query=B.query;else if(B.search!=null){if(J){w.host=G.shift(),w.hostname=w.host;var ee=w.host&&w.host.indexOf("@")>0?w.host.split("@"):!1;ee&&(w.auth=ee.shift(),w.hostname=ee.shift(),w.host=w.hostname)}return w.search=B.search,w.query=B.query,(w.pathname!==null||w.search!==null)&&(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.href=w.format(),w}if(!G.length)return w.pathname=null,w.search?w.path="/"+w.search:w.path=null,w.href=w.format(),w;for(var q=G.slice(-1)[0],Z=(w.host||B.host||G.length>1)&&(q==="."||q==="..")||q==="",re=0,fe=G.length;fe>=0;fe--)q=G[fe],q==="."?G.splice(fe,1):q===".."?(G.splice(fe,1),re++):re&&(G.splice(fe,1),re--);if(!X&&!_)for(;re--;re)G.unshift("..");X&&G[0]!==""&&(!G[0]||G[0].charAt(0)!=="/")&&G.unshift(""),Z&&G.join("/").substr(-1)!=="/"&&G.push("");var de=G[0]===""||G[0]&&G[0].charAt(0)==="/";if(J){w.hostname=de?"":G.length?G.shift():"",w.host=w.hostname;var ee=w.host&&w.host.indexOf("@")>0?w.host.split("@"):!1;ee&&(w.auth=ee.shift(),w.hostname=ee.shift(),w.host=w.hostname)}return X=X||w.host&&G.length,X&&!de&&G.unshift(""),G.length>0?w.pathname=G.join("/"):(w.pathname=null,w.path=null),(w.pathname!==null||w.search!==null)&&(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.auth=B.auth||w.auth,w.slashes=w.slashes||B.slashes,w.href=w.format(),w},e.prototype.parseHost=function(){var B=this.host,S=n.exec(B);S&&(S=S[0],S!==":"&&(this.port=S.substr(1)),B=B.substr(0,B.length-S.length)),B&&(this.hostname=B)},mg.parse=m,mg.resolve=y,mg.resolveObject=b,mg.format=v,mg.Url=e,mg}const Sl=but();Sl.parse;Sl.resolve;Sl.resolveObject;Sl.format;Sl.Url;const wut=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0;Sl.URL=typeof URL<"u"?URL:null;Sl.pathToFileURL=yxe;Sl.fileURLToPath=vxe;var xut=Sl.Url,Sut=Sl.format,Eut=Sl.resolve,Dut=Sl.resolveObject,kut=Sl.parse;const Out=Sl.URL,Put=92,Iut=47,Nut=97,Fut=122,l$=wut==="win32",Tut=/\//g,Lut=/%/g,Rut=/\\/g,Mut=/\n/g,_ut=/\r/g,jut=/\t/g;function vxe(t){if(typeof t=="string")t=new URL(t);else if(!(t instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if(t.protocol!=="file:")throw new Deno.errors.InvalidData("invalid url scheme");return l$?Uut(t):Qut(t)}function Uut(t){const e=t.hostname;let r=t.pathname;for(let n=0;n<r.length;n++)if(r[n]==="%"){const i=r.codePointAt(n+2)||32;if(r[n+1]==="2"&&i===102||r[n+1]==="5"&&i===99)throw new Deno.errors.InvalidData("must not include encoded \\ or / characters")}if(r=r.replace(Tut,"\\"),r=decodeURIComponent(r),e!=="")return`\\\\${e}${r}`;{const n=r.codePointAt(1)|32,i=r[2];if(n<Nut||n>Fut||i!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return r.slice(1)}}function Qut(t){if(t.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");const e=t.pathname;for(let r=0;r<e.length;r++)if(e[r]==="%"){const n=e.codePointAt(r+2)||32;if(e[r+1]==="2"&&n===102)throw new Deno.errors.InvalidData("must not include encoded / characters")}return decodeURIComponent(e)}function yxe(t){let e=ws.resolve(t);const r=t.charCodeAt(t.length-1);(r===Iut||l$&&r===Put)&&e[e.length-1]!==ws.sep&&(e+="/");const n=new URL("file://");return e.includes("%")&&(e=e.replace(Lut,"%25")),!l$&&e.includes("\\")&&(e=e.replace(Rut,"%5C")),e.includes(` `)&&(e=e.replace(Mut,"%0A")),e.includes("\r")&&(e=e.replace(_ut,"%0D")),e.includes(" ")&&(e=e.replace(jut,"%09")),n.pathname=e,n}const Vut=Object.freeze(Object.defineProperty({__proto__:null,URL:Out,Url:xut,default:Sl,fileURLToPath:vxe,format:Sut,parse:kut,pathToFileURL:yxe,resolve:Eut,resolveObject:Dut},Symbol.toStringTag,{value:"Module"})),Bxe=k3(Vut);var Hb={},rce=!1;function $ut(){if(rce)return Hb;rce=!0,Hb.byteLength=a,Hb.toByteArray=c,Hb.fromByteArray=d;for(var t=[],e=[],r=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,o=n.length;i<o;++i)t[i]=n[i],e[n.charCodeAt(i)]=i;e["-".charCodeAt(0)]=62,e["_".charCodeAt(0)]=63;function s(p){var h=p.length;if(h%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var A=p.indexOf("=");A===-1&&(A=h);var g=A===h?0:4-A%4;return[A,g]}function a(p){var h=s(p),A=h[0],g=h[1];return(A+g)*3/4-g}function l(p,h,A){return(h+A)*3/4-A}function c(p){var h,A=s(p),g=A[0],m=A[1],v=new r(l(p,g,m)),y=0,b=m>0?g-4:g,B;for(B=0;B<b;B+=4)h=e[p.charCodeAt(B)]<<18|e[p.charCodeAt(B+1)]<<12|e[p.charCodeAt(B+2)]<<6|e[p.charCodeAt(B+3)],v[y++]=h>>16&255,v[y++]=h>>8&255,v[y++]=h&255;return m===2&&(h=e[p.charCodeAt(B)]<<2|e[p.charCodeAt(B+1)]>>4,v[y++]=h&255),m===1&&(h=e[p.charCodeAt(B)]<<10|e[p.charCodeAt(B+1)]<<4|e[p.charCodeAt(B+2)]>>2,v[y++]=h>>8&255,v[y++]=h&255),v}function u(p){return t[p>>18&63]+t[p>>12&63]+t[p>>6&63]+t[p&63]}function f(p,h,A){for(var g,m=[],v=h;v<A;v+=3)g=(p[v]<<16&16711680)+(p[v+1]<<8&65280)+(p[v+2]&255),m.push(u(g));return m.join("")}function d(p){for(var h,A=p.length,g=A%3,m=[],v=16383,y=0,b=A-g;y<b;y+=v)m.push(f(p,y,y+v>b?b:y+v));return g===1?(h=p[A-1],m.push(t[h>>2]+t[h<<4&63]+"==")):g===2&&(h=(p[A-2]<<8)+p[A-1],m.push(t[h>>10]+t[h>>4&63]+t[h<<2&63]+"=")),m.join("")}return Hb}var h6={},nce=!1;function Hut(){if(nce)return h6;nce=!0;/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */return h6.read=function(t,e,r,n,i){var o,s,a=i*8-n-1,l=(1<<a)-1,c=l>>1,u=-7,f=r?i-1:0,d=r?-1:1,p=t[e+f];for(f+=d,o=p&(1<<-u)-1,p>>=-u,u+=a;u>0;o=o*256+t[e+f],f+=d,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=n;u>0;s=s*256+t[e+f],f+=d,u-=8);if(o===0)o=1-c;else{if(o===l)return s?NaN:(p?-1:1)*(1/0);s=s+Math.pow(2,n),o=o-c}return(p?-1:1)*s*Math.pow(2,o-n)},h6.write=function(t,e,r,n,i,o){var s,a,l,c=o*8-i-1,u=(1<<c)-1,f=u>>1,d=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,h=n?1:-1,A=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=u):(s=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+f>=1?e+=d/l:e+=d*Math.pow(2,1-f),e*l>=2&&(s++,l/=2),s+f>=u?(a=0,s=u):s+f>=1?(a=(e*l-1)*Math.pow(2,i),s=s+f):(a=e*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;t[r+p]=a&255,p+=h,a/=256,i-=8);for(s=s<<i|a,c+=i;c>0;t[r+p]=s&255,p+=h,s/=256,c-=8);t[r+p-h]|=A*128},h6}var gg={},ice=!1;function Cxe(){if(ice)return gg;ice=!0;const t=$ut(),e=Hut(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;gg.Buffer=s,gg.SlowBuffer=m,gg.INSPECT_MAX_BYTES=50;const n=2147483647;gg.kMaxLength=n,s.TYPED_ARRAY_SUPPORT=i(),!s.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function i(){try{const U=new Uint8Array(1),D={foo:function(){return 42}};return Object.setPrototypeOf(D,Uint8Array.prototype),Object.setPrototypeOf(U,D),U.foo()===42}catch{return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}});function o(U){if(U>n)throw new RangeError('The value "'+U+'" is invalid for option "size"');const D=new Uint8Array(U);return Object.setPrototypeOf(D,s.prototype),D}function s(U,D,N){if(typeof U=="number"){if(typeof D=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return u(U)}return a(U,D,N)}s.poolSize=8192;function a(U,D,N){if(typeof U=="string")return f(U,D);if(ArrayBuffer.isView(U))return p(U);if(U==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof U);if(Ve(U,ArrayBuffer)||U&&Ve(U.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ve(U,SharedArrayBuffer)||U&&Ve(U.buffer,SharedArrayBuffer)))return h(U,D,N);if(typeof U=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const Y=U.valueOf&&U.valueOf();if(Y!=null&&Y!==U)return s.from(Y,D,N);const pe=A(U);if(pe)return pe;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof U[Symbol.toPrimitive]=="function")return s.from(U[Symbol.toPrimitive]("string"),D,N);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof U)}s.from=function(U,D,N){return a(U,D,N)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array);function l(U){if(typeof U!="number")throw new TypeError('"size" argument must be of type number');if(U<0)throw new RangeError('The value "'+U+'" is invalid for option "size"')}function c(U,D,N){return l(U),U<=0?o(U):D!==void 0?typeof N=="string"?o(U).fill(D,N):o(U).fill(D):o(U)}s.alloc=function(U,D,N){return c(U,D,N)};function u(U){return l(U),o(U<0?0:g(U)|0)}s.allocUnsafe=function(U){return u(U)},s.allocUnsafeSlow=function(U){return u(U)};function f(U,D){if((typeof D!="string"||D==="")&&(D="utf8"),!s.isEncoding(D))throw new TypeError("Unknown encoding: "+D);const N=v(U,D)|0;let Y=o(N);const pe=Y.write(U,D);return pe!==N&&(Y=Y.slice(0,pe)),Y}function d(U){const D=U.length<0?0:g(U.length)|0,N=o(D);for(let Y=0;Y<D;Y+=1)N[Y]=U[Y]&255;return N}function p(U){if(Ve(U,Uint8Array)){const D=new Uint8Array(U);return h(D.buffer,D.byteOffset,D.byteLength)}return d(U)}function h(U,D,N){if(D<0||U.byteLength<D)throw new RangeError('"offset" is outside of buffer bounds');if(U.byteLength<D+(N||0))throw new RangeError('"length" is outside of buffer bounds');let Y;return D===void 0&&N===void 0?Y=new Uint8Array(U):N===void 0?Y=new Uint8Array(U,D):Y=new Uint8Array(U,D,N),Object.setPrototypeOf(Y,s.prototype),Y}function A(U){if(s.isBuffer(U)){const D=g(U.length)|0,N=o(D);return N.length===0||U.copy(N,0,0,D),N}if(U.length!==void 0)return typeof U.length!="number"||ze(U.length)?o(0):d(U);if(U.type==="Buffer"&&Array.isArray(U.data))return d(U.data)}function g(U){if(U>=n)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n.toString(16)+" bytes");return U|0}function m(U){return+U!=U&&(U=0),s.alloc(+U)}s.isBuffer=function(D){return D!=null&&D._isBuffer===!0&&D!==s.prototype},s.compare=function(D,N){if(Ve(D,Uint8Array)&&(D=s.from(D,D.offset,D.byteLength)),Ve(N,Uint8Array)&&(N=s.from(N,N.offset,N.byteLength)),!s.isBuffer(D)||!s.isBuffer(N))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(D===N)return 0;let Y=D.length,pe=N.length;for(let be=0,_e=Math.min(Y,pe);be<_e;++be)if(D[be]!==N[be]){Y=D[be],pe=N[be];break}return Y<pe?-1:pe<Y?1:0},s.isEncoding=function(D){switch(String(D).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(D,N){if(!Array.isArray(D))throw new TypeError('"list" argument must be an Array of Buffers');if(D.length===0)return s.alloc(0);let Y;if(N===void 0)for(N=0,Y=0;Y<D.length;++Y)N+=D[Y].length;const pe=s.allocUnsafe(N);let be=0;for(Y=0;Y<D.length;++Y){let _e=D[Y];if(Ve(_e,Uint8Array))be+_e.length>pe.length?(s.isBuffer(_e)||(_e=s.from(_e)),_e.copy(pe,be)):Uint8Array.prototype.set.call(pe,_e,be);else if(s.isBuffer(_e))_e.copy(pe,be);else throw new TypeError('"list" argument must be an Array of Buffers');be+=_e.length}return pe};function v(U,D){if(s.isBuffer(U))return U.length;if(ArrayBuffer.isView(U)||Ve(U,ArrayBuffer))return U.byteLength;if(typeof U!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof U);const N=U.length,Y=arguments.length>2&&arguments[2]===!0;if(!Y&&N===0)return 0;let pe=!1;for(;;)switch(D){case"ascii":case"latin1":case"binary":return N;case"utf8":case"utf-8":return ue(U).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N*2;case"hex":return N>>>1;case"base64":return Re(U).length;default:if(pe)return Y?-1:ue(U).length;D=(""+D).toLowerCase(),pe=!0}}s.byteLength=v;function y(U,D,N){let Y=!1;if((D===void 0||D<0)&&(D=0),D>this.length||((N===void 0||N>this.length)&&(N=this.length),N<=0)||(N>>>=0,D>>>=0,N<=D))return"";for(U||(U="utf8");;)switch(U){case"hex":return R(this,D,N);case"utf8":case"utf-8":return L(this,D,N);case"ascii":return V(this,D,N);case"latin1":case"binary":return j(this,D,N);case"base64":return O(this,D,N);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Q(this,D,N);default:if(Y)throw new TypeError("Unknown encoding: "+U);U=(U+"").toLowerCase(),Y=!0}}s.prototype._isBuffer=!0;function b(U,D,N){const Y=U[D];U[D]=U[N],U[N]=Y}s.prototype.swap16=function(){const D=this.length;if(D%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let N=0;N<D;N+=2)b(this,N,N+1);return this},s.prototype.swap32=function(){const D=this.length;if(D%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let N=0;N<D;N+=4)b(this,N,N+3),b(this,N+1,N+2);return this},s.prototype.swap64=function(){const D=this.length;if(D%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let N=0;N<D;N+=8)b(this,N,N+7),b(this,N+1,N+6),b(this,N+2,N+5),b(this,N+3,N+4);return this},s.prototype.toString=function(){const D=this.length;return D===0?"":arguments.length===0?L(this,0,D):y.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(D){if(!s.isBuffer(D))throw new TypeError("Argument must be a Buffer");return this===D?!0:s.compare(this,D)===0},s.prototype.inspect=function(){let D="";const N=gg.INSPECT_MAX_BYTES;return D=this.toString("hex",0,N).replace(/(.{2})/g,"$1 ").trim(),this.length>N&&(D+=" ... "),"<Buffer "+D+">"},r&&(s.prototype[r]=s.prototype.inspect),s.prototype.compare=function(D,N,Y,pe,be){if(Ve(D,Uint8Array)&&(D=s.from(D,D.offset,D.byteLength)),!s.isBuffer(D))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof D);if(N===void 0&&(N=0),Y===void 0&&(Y=D?D.length:0),pe===void 0&&(pe=0),be===void 0&&(be=this.length),N<0||Y>D.length||pe<0||be>this.length)throw new RangeError("out of range index");if(pe>=be&&N>=Y)return 0;if(pe>=be)return-1;if(N>=Y)return 1;if(N>>>=0,Y>>>=0,pe>>>=0,be>>>=0,this===D)return 0;let _e=be-pe,he=Y-N;const Ee=Math.min(_e,he),ot=this.slice(pe,be),At=D.slice(N,Y);for(let Ct=0;Ct<Ee;++Ct)if(ot[Ct]!==At[Ct]){_e=ot[Ct],he=At[Ct];break}return _e<he?-1:he<_e?1:0};function B(U,D,N,Y,pe){if(U.length===0)return-1;if(typeof N=="string"?(Y=N,N=0):N>2147483647?N=2147483647:N<-2147483648&&(N=-2147483648),N=+N,ze(N)&&(N=pe?0:U.length-1),N<0&&(N=U.length+N),N>=U.length){if(pe)return-1;N=U.length-1}else if(N<0)if(pe)N=0;else return-1;if(typeof D=="string"&&(D=s.from(D,Y)),s.isBuffer(D))return D.length===0?-1:S(U,D,N,Y,pe);if(typeof D=="number")return D=D&255,typeof Uint8Array.prototype.indexOf=="function"?pe?Uint8Array.prototype.indexOf.call(U,D,N):Uint8Array.prototype.lastIndexOf.call(U,D,N):S(U,[D],N,Y,pe);throw new TypeError("val must be string, number or Buffer")}function S(U,D,N,Y,pe){let be=1,_e=U.length,he=D.length;if(Y!==void 0&&(Y=String(Y).toLowerCase(),Y==="ucs2"||Y==="ucs-2"||Y==="utf16le"||Y==="utf-16le")){if(U.length<2||D.length<2)return-1;be=2,_e/=2,he/=2,N/=2}function Ee(At,Ct){return be===1?At[Ct]:At.readUInt16BE(Ct*be)}let ot;if(pe){let At=-1;for(ot=N;ot<_e;ot++)if(Ee(U,ot)===Ee(D,At===-1?0:ot-At)){if(At===-1&&(At=ot),ot-At+1===he)return At*be}else At!==-1&&(ot-=ot-At),At=-1}else for(N+he>_e&&(N=_e-he),ot=N;ot>=0;ot--){let At=!0;for(let Ct=0;Ct<he;Ct++)if(Ee(U,ot+Ct)!==Ee(D,Ct)){At=!1;break}if(At)return ot}return-1}s.prototype.includes=function(D,N,Y){return this.indexOf(D,N,Y)!==-1},s.prototype.indexOf=function(D,N,Y){return B(this,D,N,Y,!0)},s.prototype.lastIndexOf=function(D,N,Y){return B(this,D,N,Y,!1)};function w(U,D,N,Y){N=Number(N)||0;const pe=U.length-N;Y?(Y=Number(Y),Y>pe&&(Y=pe)):Y=pe;const be=D.length;Y>be/2&&(Y=be/2);let _e;for(_e=0;_e<Y;++_e){const he=parseInt(D.substr(_e*2,2),16);if(ze(he))return _e;U[N+_e]=he}return _e}function x(U,D,N,Y){return je(ue(D,U.length-N),U,N,Y)}function I(U,D,N,Y){return je(Ne(D),U,N,Y)}function F(U,D,N,Y){return je(Re(D),U,N,Y)}function k(U,D,N,Y){return je(Te(D,U.length-N),U,N,Y)}s.prototype.write=function(D,N,Y,pe){if(N===void 0)pe="utf8",Y=this.length,N=0;else if(Y===void 0&&typeof N=="string")pe=N,Y=this.length,N=0;else if(isFinite(N))N=N>>>0,isFinite(Y)?(Y=Y>>>0,pe===void 0&&(pe="utf8")):(pe=Y,Y=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const be=this.length-N;if((Y===void 0||Y>be)&&(Y=be),D.length>0&&(Y<0||N<0)||N>this.length)throw new RangeError("Attempt to write outside buffer bounds");pe||(pe="utf8");let _e=!1;for(;;)switch(pe){case"hex":return w(this,D,N,Y);case"utf8":case"utf-8":return x(this,D,N,Y);case"ascii":case"latin1":case"binary":return I(this,D,N,Y);case"base64":return F(this,D,N,Y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,D,N,Y);default:if(_e)throw new TypeError("Unknown encoding: "+pe);pe=(""+pe).toLowerCase(),_e=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function O(U,D,N){return D===0&&N===U.length?t.fromByteArray(U):t.fromByteArray(U.slice(D,N))}function L(U,D,N){N=Math.min(U.length,N);const Y=[];let pe=D;for(;pe<N;){const be=U[pe];let _e=null,he=be>239?4:be>223?3:be>191?2:1;if(pe+he<=N){let Ee,ot,At,Ct;switch(he){case 1:be<128&&(_e=be);break;case 2:Ee=U[pe+1],(Ee&192)===128&&(Ct=(be&31)<<6|Ee&63,Ct>127&&(_e=Ct));break;case 3:Ee=U[pe+1],ot=U[pe+2],(Ee&192)===128&&(ot&192)===128&&(Ct=(be&15)<<12|(Ee&63)<<6|ot&63,Ct>2047&&(Ct<55296||Ct>57343)&&(_e=Ct));break;case 4:Ee=U[pe+1],ot=U[pe+2],At=U[pe+3],(Ee&192)===128&&(ot&192)===128&&(At&192)===128&&(Ct=(be&15)<<18|(Ee&63)<<12|(ot&63)<<6|At&63,Ct>65535&&Ct<1114112&&(_e=Ct))}}_e===null?(_e=65533,he=1):_e>65535&&(_e-=65536,Y.push(_e>>>10&1023|55296),_e=56320|_e&1023),Y.push(_e),pe+=he}return H(Y)}const M=4096;function H(U){const D=U.length;if(D<=M)return String.fromCharCode.apply(String,U);let N="",Y=0;for(;Y<D;)N+=String.fromCharCode.apply(String,U.slice(Y,Y+=M));return N}function V(U,D,N){let Y="";N=Math.min(U.length,N);for(let pe=D;pe<N;++pe)Y+=String.fromCharCode(U[pe]&127);return Y}function j(U,D,N){let Y="";N=Math.min(U.length,N);for(let pe=D;pe<N;++pe)Y+=String.fromCharCode(U[pe]);return Y}function R(U,D,N){const Y=U.length;(!D||D<0)&&(D=0),(!N||N<0||N>Y)&&(N=Y);let pe="";for(let be=D;be<N;++be)pe+=lt[U[be]];return pe}function Q(U,D,N){const Y=U.slice(D,N);let pe="";for(let be=0;be<Y.length-1;be+=2)pe+=String.fromCharCode(Y[be]+Y[be+1]*256);return pe}s.prototype.slice=function(D,N){const Y=this.length;D=~~D,N=N===void 0?Y:~~N,D<0?(D+=Y,D<0&&(D=0)):D>Y&&(D=Y),N<0?(N+=Y,N<0&&(N=0)):N>Y&&(N=Y),N<D&&(N=D);const pe=this.subarray(D,N);return Object.setPrototypeOf(pe,s.prototype),pe};function z(U,D,N){if(U%1!==0||U<0)throw new RangeError("offset is not uint");if(U+D>N)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(D,N,Y){D=D>>>0,N=N>>>0,Y||z(D,N,this.length);let pe=this[D],be=1,_e=0;for(;++_e<N&&(be*=256);)pe+=this[D+_e]*be;return pe},s.prototype.readUintBE=s.prototype.readUIntBE=function(D,N,Y){D=D>>>0,N=N>>>0,Y||z(D,N,this.length);let pe=this[D+--N],be=1;for(;N>0&&(be*=256);)pe+=this[D+--N]*be;return pe},s.prototype.readUint8=s.prototype.readUInt8=function(D,N){return D=D>>>0,N||z(D,1,this.length),this[D]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(D,N){return D=D>>>0,N||z(D,2,this.length),this[D]|this[D+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(D,N){return D=D>>>0,N||z(D,2,this.length),this[D]<<8|this[D+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(D,N){return D=D>>>0,N||z(D,4,this.length),(this[D]|this[D+1]<<8|this[D+2]<<16)+this[D+3]*16777216},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(D,N){return D=D>>>0,N||z(D,4,this.length),this[D]*16777216+(this[D+1]<<16|this[D+2]<<8|this[D+3])},s.prototype.readBigUInt64LE=gt(function(D){D=D>>>0,ie(D,"offset");const N=this[D],Y=this[D+7];(N===void 0||Y===void 0)&&le(D,this.length-8);const pe=N+this[++D]*2**8+this[++D]*2**16+this[++D]*2**24,be=this[++D]+this[++D]*2**8+this[++D]*2**16+Y*2**24;return BigInt(pe)+(BigInt(be)<<BigInt(32))}),s.prototype.readBigUInt64BE=gt(function(D){D=D>>>0,ie(D,"offset");const N=this[D],Y=this[D+7];(N===void 0||Y===void 0)&&le(D,this.length-8);const pe=N*2**24+this[++D]*2**16+this[++D]*2**8+this[++D],be=this[++D]*2**24+this[++D]*2**16+this[++D]*2**8+Y;return(BigInt(pe)<<BigInt(32))+BigInt(be)}),s.prototype.readIntLE=function(D,N,Y){D=D>>>0,N=N>>>0,Y||z(D,N,this.length);let pe=this[D],be=1,_e=0;for(;++_e<N&&(be*=256);)pe+=this[D+_e]*be;return be*=128,pe>=be&&(pe-=Math.pow(2,8*N)),pe},s.prototype.readIntBE=function(D,N,Y){D=D>>>0,N=N>>>0,Y||z(D,N,this.length);let pe=N,be=1,_e=this[D+--pe];for(;pe>0&&(be*=256);)_e+=this[D+--pe]*be;return be*=128,_e>=be&&(_e-=Math.pow(2,8*N)),_e},s.prototype.readInt8=function(D,N){return D=D>>>0,N||z(D,1,this.length),this[D]&128?(255-this[D]+1)*-1:this[D]},s.prototype.readInt16LE=function(D,N){D=D>>>0,N||z(D,2,this.length);const Y=this[D]|this[D+1]<<8;return Y&32768?Y|4294901760:Y},s.prototype.readInt16BE=function(D,N){D=D>>>0,N||z(D,2,this.length);const Y=this[D+1]|this[D]<<8;return Y&32768?Y|4294901760:Y},s.prototype.readInt32LE=function(D,N){return D=D>>>0,N||z(D,4,this.length),this[D]|this[D+1]<<8|this[D+2]<<16|this[D+3]<<24},s.prototype.readInt32BE=function(D,N){return D=D>>>0,N||z(D,4,this.length),this[D]<<24|this[D+1]<<16|this[D+2]<<8|this[D+3]},s.prototype.readBigInt64LE=gt(function(D){D=D>>>0,ie(D,"offset");const N=this[D],Y=this[D+7];(N===void 0||Y===void 0)&&le(D,this.length-8);const pe=this[D+4]+this[D+5]*2**8+this[D+6]*2**16+(Y<<24);return(BigInt(pe)<<BigInt(32))+BigInt(N+this[++D]*2**8+this[++D]*2**16+this[++D]*2**24)}),s.prototype.readBigInt64BE=gt(function(D){D=D>>>0,ie(D,"offset");const N=this[D],Y=this[D+7];(N===void 0||Y===void 0)&&le(D,this.length-8);const pe=(N<<24)+this[++D]*2**16+this[++D]*2**8+this[++D];return(BigInt(pe)<<BigInt(32))+BigInt(this[++D]*2**24+this[++D]*2**16+this[++D]*2**8+Y)}),s.prototype.readFloatLE=function(D,N){return D=D>>>0,N||z(D,4,this.length),e.read(this,D,!0,23,4)},s.prototype.readFloatBE=function(D,N){return D=D>>>0,N||z(D,4,this.length),e.read(this,D,!1,23,4)},s.prototype.readDoubleLE=function(D,N){return D=D>>>0,N||z(D,8,this.length),e.read(this,D,!0,52,8)},s.prototype.readDoubleBE=function(D,N){return D=D>>>0,N||z(D,8,this.length),e.read(this,D,!1,52,8)};function X(U,D,N,Y,pe,be){if(!s.isBuffer(U))throw new TypeError('"buffer" argument must be a Buffer instance');if(D>pe||D<be)throw new RangeError('"value" argument is out of bounds');if(N+Y>U.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(D,N,Y,pe){if(D=+D,N=N>>>0,Y=Y>>>0,!pe){const he=Math.pow(2,8*Y)-1;X(this,D,N,Y,he,0)}let be=1,_e=0;for(this[N]=D&255;++_e<Y&&(be*=256);)this[N+_e]=D/be&255;return N+Y},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(D,N,Y,pe){if(D=+D,N=N>>>0,Y=Y>>>0,!pe){const he=Math.pow(2,8*Y)-1;X(this,D,N,Y,he,0)}let be=Y-1,_e=1;for(this[N+be]=D&255;--be>=0&&(_e*=256);)this[N+be]=D/_e&255;return N+Y},s.prototype.writeUint8=s.prototype.writeUInt8=function(D,N,Y){return D=+D,N=N>>>0,Y||X(this,D,N,1,255,0),this[N]=D&255,N+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(D,N,Y){return D=+D,N=N>>>0,Y||X(this,D,N,2,65535,0),this[N]=D&255,this[N+1]=D>>>8,N+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(D,N,Y){return D=+D,N=N>>>0,Y||X(this,D,N,2,65535,0),this[N]=D>>>8,this[N+1]=D&255,N+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(D,N,Y){return D=+D,N=N>>>0,Y||X(this,D,N,4,4294967295,0),this[N+3]=D>>>24,this[N+2]=D>>>16,this[N+1]=D>>>8,this[N]=D&255,N+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(D,N,Y){return D=+D,N=N>>>0,Y||X(this,D,N,4,4294967295,0),this[N]=D>>>24,this[N+1]=D>>>16,this[N+2]=D>>>8,this[N+3]=D&255,N+4};function _(U,D,N,Y,pe){de(D,Y,pe,U,N,7);let be=Number(D&BigInt(4294967295));U[N++]=be,be=be>>8,U[N++]=be,be=be>>8,U[N++]=be,be=be>>8,U[N++]=be;let _e=Number(D>>BigInt(32)&BigInt(4294967295));return U[N++]=_e,_e=_e>>8,U[N++]=_e,_e=_e>>8,U[N++]=_e,_e=_e>>8,U[N++]=_e,N}function G(U,D,N,Y,pe){de(D,Y,pe,U,N,7);let be=Number(D&BigInt(4294967295));U[N+7]=be,be=be>>8,U[N+6]=be,be=be>>8,U[N+5]=be,be=be>>8,U[N+4]=be;let _e=Number(D>>BigInt(32)&BigInt(4294967295));return U[N+3]=_e,_e=_e>>8,U[N+2]=_e,_e=_e>>8,U[N+1]=_e,_e=_e>>8,U[N]=_e,N+8}s.prototype.writeBigUInt64LE=gt(function(D,N=0){return _(this,D,N,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=gt(function(D,N=0){return G(this,D,N,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(D,N,Y,pe){if(D=+D,N=N>>>0,!pe){const Ee=Math.pow(2,8*Y-1);X(this,D,N,Y,Ee-1,-Ee)}let be=0,_e=1,he=0;for(this[N]=D&255;++be<Y&&(_e*=256);)D<0&&he===0&&this[N+be-1]!==0&&(he=1),this[N+be]=(D/_e>>0)-he&255;return N+Y},s.prototype.writeIntBE=function(D,N,Y,pe){if(D=+D,N=N>>>0,!pe){const Ee=Math.pow(2,8*Y-1);X(this,D,N,Y,Ee-1,-Ee)}let be=Y-1,_e=1,he=0;for(this[N+be]=D&255;--be>=0&&(_e*=256);)D<0&&he===0&&this[N+be+1]!==0&&(he=1),this[N+be]=(D/_e>>0)-he&255;return N+Y},s.prototype.writeInt8=function(D,N,Y){return D=+D,N=N>>>0,Y||X(this,D,N,1,127,-128),D<0&&(D=255+D+1),this[N]=D&255,N+1},s.prototype.writeInt16LE=function(D,N,Y){return D=+D,N=N>>>0,Y||X(this,D,N,2,32767,-32768),this[N]=D&255,this[N+1]=D>>>8,N+2},s.prototype.writeInt16BE=function(D,N,Y){return D=+D,N=N>>>0,Y||X(this,D,N,2,32767,-32768),this[N]=D>>>8,this[N+1]=D&255,N+2},s.prototype.writeInt32LE=function(D,N,Y){return D=+D,N=N>>>0,Y||X(this,D,N,4,2147483647,-2147483648),this[N]=D&255,this[N+1]=D>>>8,this[N+2]=D>>>16,this[N+3]=D>>>24,N+4},s.prototype.writeInt32BE=function(D,N,Y){return D=+D,N=N>>>0,Y||X(this,D,N,4,2147483647,-2147483648),D<0&&(D=4294967295+D+1),this[N]=D>>>24,this[N+1]=D>>>16,this[N+2]=D>>>8,this[N+3]=D&255,N+4},s.prototype.writeBigInt64LE=gt(function(D,N=0){return _(this,D,N,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=gt(function(D,N=0){return G(this,D,N,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function W(U,D,N,Y,pe,be){if(N+Y>U.length)throw new RangeError("Index out of range");if(N<0)throw new RangeError("Index out of range")}function J(U,D,N,Y,pe){return D=+D,N=N>>>0,pe||W(U,D,N,4),e.write(U,D,N,Y,23,4),N+4}s.prototype.writeFloatLE=function(D,N,Y){return J(this,D,N,!0,Y)},s.prototype.writeFloatBE=function(D,N,Y){return J(this,D,N,!1,Y)};function ee(U,D,N,Y,pe){return D=+D,N=N>>>0,pe||W(U,D,N,8),e.write(U,D,N,Y,52,8),N+8}s.prototype.writeDoubleLE=function(D,N,Y){return ee(this,D,N,!0,Y)},s.prototype.writeDoubleBE=function(D,N,Y){return ee(this,D,N,!1,Y)},s.prototype.copy=function(D,N,Y,pe){if(!s.isBuffer(D))throw new TypeError("argument should be a Buffer");if(Y||(Y=0),!pe&&pe!==0&&(pe=this.length),N>=D.length&&(N=D.length),N||(N=0),pe>0&&pe<Y&&(pe=Y),pe===Y||D.length===0||this.length===0)return 0;if(N<0)throw new RangeError("targetStart out of bounds");if(Y<0||Y>=this.length)throw new RangeError("Index out of range");if(pe<0)throw new RangeError("sourceEnd out of bounds");pe>this.length&&(pe=this.length),D.length-N<pe-Y&&(pe=D.length-N+Y);const be=pe-Y;return this===D&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(N,Y,pe):Uint8Array.prototype.set.call(D,this.subarray(Y,pe),N),be},s.prototype.fill=function(D,N,Y,pe){if(typeof D=="string"){if(typeof N=="string"?(pe=N,N=0,Y=this.length):typeof Y=="string"&&(pe=Y,Y=this.length),pe!==void 0&&typeof pe!="string")throw new TypeError("encoding must be a string");if(typeof pe=="string"&&!s.isEncoding(pe))throw new TypeError("Unknown encoding: "+pe);if(D.length===1){const _e=D.charCodeAt(0);(pe==="utf8"&&_e<128||pe==="latin1")&&(D=_e)}}else typeof D=="number"?D=D&255:typeof D=="boolean"&&(D=Number(D));if(N<0||this.length<N||this.length<Y)throw new RangeError("Out of range index");if(Y<=N)return this;N=N>>>0,Y=Y===void 0?this.length:Y>>>0,D||(D=0);let be;if(typeof D=="number")for(be=N;be<Y;++be)this[be]=D;else{const _e=s.isBuffer(D)?D:s.from(D,pe),he=_e.length;if(he===0)throw new TypeError('The value "'+D+'" is invalid for argument "value"');for(be=0;be<Y-N;++be)this[be+N]=_e[be%he]}return this};const q={};function Z(U,D,N){q[U]=class extends N{constructor(){super(),Object.defineProperty(this,"message",{value:D.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${U}]`,this.stack,delete this.name}get code(){return U}set code(pe){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:pe,writable:!0})}toString(){return`${this.name} [${U}]: ${this.message}`}}}Z("ERR_BUFFER_OUT_OF_BOUNDS",function(U){return U?`${U} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Z("ERR_INVALID_ARG_TYPE",function(U,D){return`The "${U}" argument must be of type number. Received type ${typeof D}`},TypeError),Z("ERR_OUT_OF_RANGE",function(U,D,N){let Y=`The value of "${U}" is out of range.`,pe=N;return Number.isInteger(N)&&Math.abs(N)>2**32?pe=re(String(N)):typeof N=="bigint"&&(pe=String(N),(N>BigInt(2)**BigInt(32)||N<-(BigInt(2)**BigInt(32)))&&(pe=re(pe)),pe+="n"),Y+=` It must be ${D}. Received ${pe}`,Y},RangeError);function re(U){let D="",N=U.length;const Y=U[0]==="-"?1:0;for(;N>=Y+4;N-=3)D=`_${U.slice(N-3,N)}${D}`;return`${U.slice(0,N)}${D}`}function fe(U,D,N){ie(D,"offset"),(U[D]===void 0||U[D+N]===void 0)&&le(D,U.length-(N+1))}function de(U,D,N,Y,pe,be){if(U>N||U<D){const _e=typeof D=="bigint"?"n":"";let he;throw D===0||D===BigInt(0)?he=`>= 0${_e} and < 2${_e} ** ${(be+1)*8}${_e}`:he=`>= -(2${_e} ** ${(be+1)*8-1}${_e}) and < 2 ** ${(be+1)*8-1}${_e}`,new q.ERR_OUT_OF_RANGE("value",he,U)}fe(Y,pe,be)}function ie(U,D){if(typeof U!="number")throw new q.ERR_INVALID_ARG_TYPE(D,"number",U)}function le(U,D,N){throw Math.floor(U)!==U?(ie(U,N),new q.ERR_OUT_OF_RANGE("offset","an integer",U)):D<0?new q.ERR_BUFFER_OUT_OF_BOUNDS:new q.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${D}`,U)}const De=/[^+/0-9A-Za-z-_]/g;function Ae(U){if(U=U.split("=")[0],U=U.trim().replace(De,""),U.length<2)return"";for(;U.length%4!==0;)U=U+"=";return U}function ue(U,D){D=D||1/0;let N;const Y=U.length;let pe=null;const be=[];for(let _e=0;_e<Y;++_e){if(N=U.charCodeAt(_e),N>55295&&N<57344){if(!pe){if(N>56319){(D-=3)>-1&&be.push(239,191,189);continue}else if(_e+1===Y){(D-=3)>-1&&be.push(239,191,189);continue}pe=N;continue}if(N<56320){(D-=3)>-1&&be.push(239,191,189),pe=N;continue}N=(pe-55296<<10|N-56320)+65536}else pe&&(D-=3)>-1&&be.push(239,191,189);if(pe=null,N<128){if((D-=1)<0)break;be.push(N)}else if(N<2048){if((D-=2)<0)break;be.push(N>>6|192,N&63|128)}else if(N<65536){if((D-=3)<0)break;be.push(N>>12|224,N>>6&63|128,N&63|128)}else if(N<1114112){if((D-=4)<0)break;be.push(N>>18|240,N>>12&63|128,N>>6&63|128,N&63|128)}else throw new Error("Invalid code point")}return be}function Ne(U){const D=[];for(let N=0;N<U.length;++N)D.push(U.charCodeAt(N)&255);return D}function Te(U,D){let N,Y,pe;const be=[];for(let _e=0;_e<U.length&&!((D-=2)<0);++_e)N=U.charCodeAt(_e),Y=N>>8,pe=N%256,be.push(pe),be.push(Y);return be}function Re(U){return t.toByteArray(Ae(U))}function je(U,D,N,Y){let pe;for(pe=0;pe<Y&&!(pe+N>=D.length||pe>=U.length);++pe)D[pe+N]=U[pe];return pe}function Ve(U,D){return U instanceof D||U!=null&&U.constructor!=null&&U.constructor.name!=null&&U.constructor.name===D.name}function ze(U){return U!==U}const lt=function(){const U="0123456789abcdef",D=new Array(256);for(let N=0;N<16;++N){const Y=N*16;for(let pe=0;pe<16;++pe)D[Y+pe]=U[N]+U[pe]}return D}();function gt(U){return typeof BigInt>"u"?_t:U}function _t(){throw new Error("BigInt not supported")}return gg}var bxe,hA,mA,CB=typeof globalThis<"u"?globalThis:typeof self<"u"?self:global,Xo=bxe={};function c$(){throw new Error("setTimeout has not been defined")}function u$(){throw new Error("clearTimeout has not been defined")}function wxe(t){if(hA===setTimeout)return setTimeout(t,0);if((hA===c$||!hA)&&setTimeout)return hA=setTimeout,setTimeout(t,0);try{return hA(t,0)}catch{try{return hA.call(null,t,0)}catch{return hA.call(this||CB,t,0)}}}(function(){try{hA=typeof setTimeout=="function"?setTimeout:c$}catch{hA=c$}try{mA=typeof clearTimeout=="function"?clearTimeout:u$}catch{mA=u$}})();var Yg,PA=[],F2=!1,sD=-1;function Gut(){F2&&Yg&&(F2=!1,Yg.length?PA=Yg.concat(PA):sD=-1,PA.length&&xxe())}function xxe(){if(!F2){var t=wxe(Gut);F2=!0;for(var e=PA.length;e;){for(Yg=PA,PA=[];++sD<e;)Yg&&Yg[sD].run();sD=-1,e=PA.length}Yg=null,F2=!1,function(r){if(mA===clearTimeout)return clearTimeout(r);if((mA===u$||!mA)&&clearTimeout)return mA=clearTimeout,clearTimeout(r);try{mA(r)}catch{try{return mA.call(null,r)}catch{return mA.call(this||CB,r)}}}(t)}}function oce(t,e){(this||CB).fun=t,(this||CB).array=e}function rA(){}Xo.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];PA.push(new oce(t,e)),PA.length!==1||F2||wxe(xxe)},oce.prototype.run=function(){(this||CB).fun.apply(null,(this||CB).array)},Xo.title="browser",Xo.browser=!0,Xo.env={},Xo.argv=[],Xo.version="",Xo.versions={},Xo.on=rA,Xo.addListener=rA,Xo.once=rA,Xo.off=rA,Xo.removeListener=rA,Xo.removeAllListeners=rA,Xo.emit=rA,Xo.prependListener=rA,Xo.prependOnceListener=rA,Xo.listeners=function(t){return[]},Xo.binding=function(t){throw new Error("process.binding is not supported")},Xo.cwd=function(){return"/"},Xo.chdir=function(t){throw new Error("process.chdir is not supported")},Xo.umask=function(){return 0};var go=bxe;go.addListener;go.argv;go.binding;go.browser;go.chdir;go.cwd;go.emit;go.env;go.listeners;go.nextTick;go.off;go.on;go.once;go.prependListener;go.prependOnceListener;go.removeAllListeners;go.removeListener;go.title;go.umask;go.version;go.versions;var Wut=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",f$=Object.prototype.toString,RI=function(t){return!(Wut&&t&&typeof t=="object"&&Symbol.toStringTag in t)&&f$.call(t)==="[object Arguments]"},Sxe=function(t){return!!RI(t)||t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&f$.call(t)!=="[object Array]"&&f$.call(t.callee)==="[object Function]"},zut=function(){return RI(arguments)}();RI.isLegacyArguments=Sxe;var Kut=zut?RI:Sxe,qut=Object.prototype.toString,Xut=Function.prototype.toString,Yut=/^\s*(?:function)?\*/,Exe=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Dxe=Object.getPrototypeOf,sce=function(){if(!Exe)return!1;try{return Function("return function*() {}")()}catch{}}(),Jut=sce?Dxe(sce):{},Zut=function(t){return typeof t=="function"&&(!!Yut.test(Xut.call(t))||(Exe?Dxe(t)===Jut:qut.call(t)==="[object GeneratorFunction]"))},eft=typeof Object.create=="function"?function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}},kxe=function(t){return t&&typeof t=="object"&&typeof t.copy=="function"&&typeof t.fill=="function"&&typeof t.readUInt8=="function"},jn={},tft=kxe,rft=Kut,nft=Zut;function pv(t){return t.call.bind(t)}var Oxe=typeof BigInt<"u",lJ=typeof Symbol<"u",Yc=lJ&&Symbol.toStringTag!==void 0,uc=typeof Uint8Array<"u",ift=typeof ArrayBuffer<"u";if(uc&&Yc)var oft=Object.getPrototypeOf(Uint8Array.prototype),Xu=pv(Object.getOwnPropertyDescriptor(oft,Symbol.toStringTag).get);var Eo=pv(Object.prototype.toString),sft=pv(Number.prototype.valueOf),aft=pv(String.prototype.valueOf),lft=pv(Boolean.prototype.valueOf);if(Oxe)var cft=pv(BigInt.prototype.valueOf);if(lJ)var uft=pv(Symbol.prototype.valueOf);function nx(t,e){if(typeof t!="object")return!1;try{return e(t),!0}catch{return!1}}function ace(t){return uc&&Yc?Xu(t)!==void 0:Pxe(t)||Ixe(t)||Nxe(t)||Fxe(t)||Txe(t)||Lxe(t)||Rxe(t)||Mxe(t)||_xe(t)||jxe(t)||Uxe(t)}function Pxe(t){return uc&&Yc?Xu(t)==="Uint8Array":Eo(t)==="[object Uint8Array]"||tft(t)&&t.buffer!==void 0}function Ixe(t){return uc&&Yc?Xu(t)==="Uint8ClampedArray":Eo(t)==="[object Uint8ClampedArray]"}function Nxe(t){return uc&&Yc?Xu(t)==="Uint16Array":Eo(t)==="[object Uint16Array]"}function Fxe(t){return uc&&Yc?Xu(t)==="Uint32Array":Eo(t)==="[object Uint32Array]"}function Txe(t){return uc&&Yc?Xu(t)==="Int8Array":Eo(t)==="[object Int8Array]"}function Lxe(t){return uc&&Yc?Xu(t)==="Int16Array":Eo(t)==="[object Int16Array]"}function Rxe(t){return uc&&Yc?Xu(t)==="Int32Array":Eo(t)==="[object Int32Array]"}function Mxe(t){return uc&&Yc?Xu(t)==="Float32Array":Eo(t)==="[object Float32Array]"}function _xe(t){return uc&&Yc?Xu(t)==="Float64Array":Eo(t)==="[object Float64Array]"}function jxe(t){return uc&&Yc?Xu(t)==="BigInt64Array":Eo(t)==="[object BigInt64Array]"}function Uxe(t){return uc&&Yc?Xu(t)==="BigUint64Array":Eo(t)==="[object BigUint64Array]"}function m6(t){return Eo(t)==="[object Map]"}function g6(t){return Eo(t)==="[object Set]"}function v6(t){return Eo(t)==="[object WeakMap]"}function PL(t){return Eo(t)==="[object WeakSet]"}function B9(t){return Eo(t)==="[object ArrayBuffer]"}function lce(t){return typeof ArrayBuffer<"u"&&(B9.working?B9(t):t instanceof ArrayBuffer)}function C9(t){return Eo(t)==="[object DataView]"}function cce(t){return typeof DataView<"u"&&(C9.working?C9(t):t instanceof DataView)}function b9(t){return Eo(t)==="[object SharedArrayBuffer]"}function uce(t){return typeof SharedArrayBuffer<"u"&&(b9.working?b9(t):t instanceof SharedArrayBuffer)}function fce(t){return nx(t,sft)}function dce(t){return nx(t,aft)}function pce(t){return nx(t,lft)}function Ace(t){return Oxe&&nx(t,cft)}function hce(t){return lJ&&nx(t,uft)}jn.isArgumentsObject=rft,jn.isGeneratorFunction=nft,jn.isPromise=function(t){return typeof Promise<"u"&&t instanceof Promise||t!==null&&typeof t=="object"&&typeof t.then=="function"&&typeof t.catch=="function"},jn.isArrayBufferView=function(t){return ift&&ArrayBuffer.isView?ArrayBuffer.isView(t):ace(t)||cce(t)},jn.isTypedArray=ace,jn.isUint8Array=Pxe,jn.isUint8ClampedArray=Ixe,jn.isUint16Array=Nxe,jn.isUint32Array=Fxe,jn.isInt8Array=Txe,jn.isInt16Array=Lxe,jn.isInt32Array=Rxe,jn.isFloat32Array=Mxe,jn.isFloat64Array=_xe,jn.isBigInt64Array=jxe,jn.isBigUint64Array=Uxe,m6.working=typeof Map<"u"&&m6(new Map),jn.isMap=function(t){return typeof Map<"u"&&(m6.working?m6(t):t instanceof Map)},g6.working=typeof Set<"u"&&g6(new Set),jn.isSet=function(t){return typeof Set<"u"&&(g6.working?g6(t):t instanceof Set)},v6.working=typeof WeakMap<"u"&&v6(new WeakMap),jn.isWeakMap=function(t){return typeof WeakMap<"u"&&(v6.working?v6(t):t instanceof WeakMap)},PL.working=typeof WeakSet<"u"&&PL(new WeakSet),jn.isWeakSet=function(t){return PL(t)},B9.working=typeof ArrayBuffer<"u"&&B9(new ArrayBuffer),jn.isArrayBuffer=lce,C9.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&C9(new DataView(new ArrayBuffer(1),0,1)),jn.isDataView=cce,b9.working=typeof SharedArrayBuffer<"u"&&b9(new SharedArrayBuffer),jn.isSharedArrayBuffer=uce,jn.isAsyncFunction=function(t){return Eo(t)==="[object AsyncFunction]"},jn.isMapIterator=function(t){return Eo(t)==="[object Map Iterator]"},jn.isSetIterator=function(t){return Eo(t)==="[object Set Iterator]"},jn.isGeneratorObject=function(t){return Eo(t)==="[object Generator]"},jn.isWebAssemblyCompiledModule=function(t){return Eo(t)==="[object WebAssembly.Module]"},jn.isNumberObject=fce,jn.isStringObject=dce,jn.isBooleanObject=pce,jn.isBigIntObject=Ace,jn.isSymbolObject=hce,jn.isBoxedPrimitive=function(t){return fce(t)||dce(t)||pce(t)||Ace(t)||hce(t)},jn.isAnyArrayBuffer=function(t){return uc&&(lce(t)||uce(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(t){Object.defineProperty(jn,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})});var g5=typeof globalThis<"u"?globalThis:typeof self<"u"?self:global,xt={},Xd=go,mce=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++)r[e[n]]=Object.getOwnPropertyDescriptor(t,e[n]);return r},fft=/%[sdj%]/g;xt.format=function(t){if(!x9(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(Z0(arguments[r]));return e.join(" ")}r=1;for(var n=arguments,i=n.length,o=String(t).replace(fft,function(a){if(a==="%%")return"%";if(r>=i)return a;switch(a){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch{return"[Circular]"}default:return a}}),s=n[r];r<i;s=n[++r])MI(s)||!xC(s)?o+=" "+s:o+=" "+Z0(s);return o},xt.deprecate=function(t,e){if(Xd!==void 0&&Xd.noDeprecation===!0)return t;if(Xd===void 0)return function(){return xt.deprecate(t,e).apply(this||g5,arguments)};var r=!1;return function(){if(!r){if(Xd.throwDeprecation)throw new Error(e);Xd.traceDeprecation?console.trace(e):console.error(e),r=!0}return t.apply(this||g5,arguments)}};var y6={},Qxe=/^$/;if(Xd.env.NODE_DEBUG){var IL=Xd.env.NODE_DEBUG;IL=IL.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),Qxe=new RegExp("^"+IL+"$","i")}function Z0(t,e){var r={seen:[],stylize:pft};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),cJ(e)?r.showHidden=e:e&&xt._extend(r,e),Jg(r.showHidden)&&(r.showHidden=!1),Jg(r.depth)&&(r.depth=2),Jg(r.colors)&&(r.colors=!1),Jg(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=dft),w9(r,t,r.depth)}function dft(t,e){var r=Z0.styles[e];return r?"\x1B["+Z0.colors[r][0]+"m"+t+"\x1B["+Z0.colors[r][1]+"m":t}function pft(t,e){return t}function w9(t,e,r){if(t.customInspect&&e&&aD(e.inspect)&&e.inspect!==xt.inspect&&(!e.constructor||e.constructor.prototype!==e)){var n=e.inspect(r,t);return x9(n)||(n=w9(t,n,r)),n}var i=function(d,p){if(Jg(p))return d.stylize("undefined","undefined");if(x9(p)){var h="'"+JSON.stringify(p).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return d.stylize(h,"string")}if($xe(p))return d.stylize(""+p,"number");if(cJ(p))return d.stylize(""+p,"boolean");if(MI(p))return d.stylize("null","null")}(t,e);if(i)return i;var o=Object.keys(e),s=function(d){var p={};return d.forEach(function(h,A){p[h]=!0}),p}(o);if(t.showHidden&&(o=Object.getOwnPropertyNames(e)),y5(e)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return NL(e);if(o.length===0){if(aD(e)){var a=e.name?": "+e.name:"";return t.stylize("[Function"+a+"]","special")}if(v5(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(S9(e))return t.stylize(Date.prototype.toString.call(e),"date");if(y5(e))return NL(e)}var l,c="",u=!1,f=["{","}"];return Vxe(e)&&(u=!0,f=["[","]"]),aD(e)&&(c=" [Function"+(e.name?": "+e.name:"")+"]"),v5(e)&&(c=" "+RegExp.prototype.toString.call(e)),S9(e)&&(c=" "+Date.prototype.toUTCString.call(e)),y5(e)&&(c=" "+NL(e)),o.length!==0||u&&e.length!=0?r<0?v5(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special"):(t.seen.push(e),l=u?function(d,p,h,A,g){for(var m=[],v=0,y=p.length;v<y;++v)Hxe(p,String(v))?m.push(FL(d,p,h,A,String(v),!0)):m.push("");return g.forEach(function(b){b.match(/^\d+$/)||m.push(FL(d,p,h,A,b,!0))}),m}(t,e,r,s,o):o.map(function(d){return FL(t,e,r,s,d,u)}),t.seen.pop(),function(d,p,h){var A=0;return d.reduce(function(g,m){return A++,m.indexOf(` `)>=0&&A++,g+m.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?h[0]+(p===""?"":p+` `)+" "+d.join(`, `)+" "+h[1]:h[0]+p+" "+d.join(", ")+" "+h[1]}(l,c,f)):f[0]+c+f[1]}function NL(t){return"["+Error.prototype.toString.call(t)+"]"}function FL(t,e,r,n,i,o){var s,a,l;if((l=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?a=l.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):l.set&&(a=t.stylize("[Setter]","special")),Hxe(n,i)||(s="["+i+"]"),a||(t.seen.indexOf(l.value)<0?(a=MI(r)?w9(t,l.value,null):w9(t,l.value,r-1)).indexOf(` `)>-1&&(a=o?a.split(` `).map(function(c){return" "+c}).join(` `).substr(2):` `+a.split(` `).map(function(c){return" "+c}).join(` `)):a=t.stylize("[Circular]","special")),Jg(s)){if(o&&i.match(/^\d+$/))return a;(s=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=t.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=t.stylize(s,"string"))}return s+": "+a}function Vxe(t){return Array.isArray(t)}function cJ(t){return typeof t=="boolean"}function MI(t){return t===null}function $xe(t){return typeof t=="number"}function x9(t){return typeof t=="string"}function Jg(t){return t===void 0}function v5(t){return xC(t)&&uJ(t)==="[object RegExp]"}function xC(t){return typeof t=="object"&&t!==null}function S9(t){return xC(t)&&uJ(t)==="[object Date]"}function y5(t){return xC(t)&&(uJ(t)==="[object Error]"||t instanceof Error)}function aD(t){return typeof t=="function"}function uJ(t){return Object.prototype.toString.call(t)}function TL(t){return t<10?"0"+t.toString(10):t.toString(10)}xt.debuglog=function(t){if(t=t.toUpperCase(),!y6[t])if(Qxe.test(t)){var e=Xd.pid;y6[t]=function(){var r=xt.format.apply(xt,arguments);console.error("%s %d: %s",t,e,r)}}else y6[t]=function(){};return y6[t]},xt.inspect=Z0,Z0.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},Z0.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},xt.types=jn,xt.isArray=Vxe,xt.isBoolean=cJ,xt.isNull=MI,xt.isNullOrUndefined=function(t){return t==null},xt.isNumber=$xe,xt.isString=x9,xt.isSymbol=function(t){return typeof t=="symbol"},xt.isUndefined=Jg,xt.isRegExp=v5,xt.types.isRegExp=v5,xt.isObject=xC,xt.isDate=S9,xt.types.isDate=S9,xt.isError=y5,xt.types.isNativeError=y5,xt.isFunction=aD,xt.isPrimitive=function(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||t===void 0},xt.isBuffer=kxe;var Aft=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function hft(){var t=new Date,e=[TL(t.getHours()),TL(t.getMinutes()),TL(t.getSeconds())].join(":");return[t.getDate(),Aft[t.getMonth()],e].join(" ")}function Hxe(t,e){return Object.prototype.hasOwnProperty.call(t,e)}xt.log=function(){console.log("%s - %s",hft(),xt.format.apply(xt,arguments))},xt.inherits=eft,xt._extend=function(t,e){if(!e||!xC(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t};var vg=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function mft(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}xt.promisify=function(t){if(typeof t!="function")throw new TypeError('The "original" argument must be of type Function');if(vg&&t[vg]){var e;if(typeof(e=t[vg])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,vg,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var r,n,i=new Promise(function(a,l){r=a,n=l}),o=[],s=0;s<arguments.length;s++)o.push(arguments[s]);o.push(function(a,l){a?n(a):r(l)});try{t.apply(this||g5,o)}catch(a){n(a)}return i}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),vg&&Object.defineProperty(e,vg,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,mce(t))},xt.promisify.custom=vg,xt.callbackify=function(t){if(typeof t!="function")throw new TypeError('The "original" argument must be of type Function');function e(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var i=r.pop();if(typeof i!="function")throw new TypeError("The last argument must be of type Function");var o=this||g5,s=function(){return i.apply(o,arguments)};t.apply(this||g5,r).then(function(a){Xd.nextTick(s.bind(null,null,a))},function(a){Xd.nextTick(mft.bind(null,a,s))})}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Object.defineProperties(e,mce(t)),e};xt._extend;xt.callbackify;xt.debuglog;xt.deprecate;xt.format;xt.inherits;xt.inspect;xt.isArray;xt.isBoolean;xt.isBuffer;xt.isDate;xt.isError;xt.isFunction;xt.isNull;xt.isNullOrUndefined;xt.isNumber;xt.isObject;xt.isPrimitive;xt.isRegExp;xt.isString;xt.isSymbol;xt.isUndefined;xt.log;xt.promisify;xt._extend;xt.callbackify;xt.debuglog;xt.deprecate;xt.format;xt.inherits;xt.inspect;xt.isArray;xt.isBoolean;xt.isBuffer;xt.isDate;xt.isError;xt.isFunction;xt.isNull;xt.isNullOrUndefined;xt.isNumber;xt.isObject;xt.isPrimitive;xt.isRegExp;xt.isString;xt.isSymbol;xt.isUndefined;xt.log;xt.promisify;xt.types;function gce(t,e){if(t==null)throw new TypeError("Cannot convert first argument to object");for(var r=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(i!=null)for(var o=Object.keys(Object(i)),s=0,a=o.length;s<a;s++){var l=o[s],c=Object.getOwnPropertyDescriptor(i,l);c!==void 0&&c.enumerable&&(r[l]=i[l])}}return r}var gft={assign:gce,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:gce})}},Gxe,vce=Object.prototype.toString,Wxe=function(t){var e=vce.call(t),r=e==="[object Arguments]";return r||(r=e!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&vce.call(t.callee)==="[object Function]"),r};if(!Object.keys){var B6=Object.prototype.hasOwnProperty,yce=Object.prototype.toString,vft=Wxe,Bce=Object.prototype.propertyIsEnumerable,yft=!Bce.call({toString:null},"toString"),Bft=Bce.call(function(){},"prototype"),C6=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],LL=function(t){var e=t.constructor;return e&&e.prototype===t},Cft={$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},bft=function(){if(typeof window>"u")return!1;for(var t in window)try{if(!Cft["$"+t]&&B6.call(window,t)&&window[t]!==null&&typeof window[t]=="object")try{LL(window[t])}catch{return!0}}catch{return!0}return!1}();Gxe=function(t){var e=t!==null&&typeof t=="object",r=yce.call(t)==="[object Function]",n=vft(t),i=e&&yce.call(t)==="[object String]",o=[];if(!e&&!r&&!n)throw new TypeError("Object.keys called on a non-object");var s=Bft&&r;if(i&&t.length>0&&!B6.call(t,0))for(var a=0;a<t.length;++a)o.push(String(a));if(n&&t.length>0)for(var l=0;l<t.length;++l)o.push(String(l));else for(var c in t)s&&c==="prototype"||!B6.call(t,c)||o.push(String(c));if(yft)for(var u=function(d){if(typeof window>"u"||!bft)return LL(d);try{return LL(d)}catch{return!1}}(t),f=0;f<C6.length;++f)u&&C6[f]==="constructor"||!B6.call(t,C6[f])||o.push(C6[f]);return o}}var wft=Gxe,xft=Array.prototype.slice,Sft=Wxe,Cce=Object.keys,lD=Cce?function(t){return Cce(t)}:wft,bce=Object.keys;lD.shim=function(){return Object.keys?function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2)||(Object.keys=function(t){return Sft(t)?bce(xft.call(t)):bce(t)}):Object.keys=lD,Object.keys||lD};var Eft=lD,Dft=Eft,kft=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",Oft=Object.prototype.toString,Pft=Array.prototype.concat,d$=Object.defineProperty,zxe=d$&&function(){var t={};try{for(var e in d$(t,"x",{enumerable:!1,value:t}),t)return!1;return t.x===t}catch{return!1}}(),Ift=function(t,e,r,n){var i;(!(e in t)||typeof(i=n)=="function"&&Oft.call(i)==="[object Function]"&&n())&&(zxe?d$(t,e,{configurable:!0,enumerable:!1,value:r,writable:!0}):t[e]=r)},Kxe=function(t,e){var r=arguments.length>2?arguments[2]:{},n=Dft(e);kft&&(n=Pft.call(n,Object.getOwnPropertySymbols(e)));for(var i=0;i<n.length;i+=1)Ift(t,n[i],e[n[i]],r[n[i]])};Kxe.supportsDescriptors=!!zxe;var _I=Kxe,Nft=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},e=Symbol("test"),r=Object(e);if(typeof e=="string"||Object.prototype.toString.call(e)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;for(e in t[e]=42,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 n=Object.getOwnPropertySymbols(t);if(n.length!==1||n[0]!==e||!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var i=Object.getOwnPropertyDescriptor(t,e);if(i.value!==42||i.enumerable!==!0)return!1}return!0},wce=(typeof globalThis<"u"?globalThis:typeof self<"u"?self:global).Symbol,Fft=Nft,Tft=function(){return typeof wce=="function"&&typeof Symbol=="function"&&typeof wce("foo")=="symbol"&&typeof Symbol("bar")=="symbol"&&Fft()},Lft="Function.prototype.bind called on incompatible ",RL=Array.prototype.slice,Rft=Object.prototype.toString,Mft=function(t){var e=this;if(typeof e!="function"||Rft.call(e)!=="[object Function]")throw new TypeError(Lft+e);for(var r,n=RL.call(arguments,1),i=function(){if(this instanceof r){var c=e.apply(this,n.concat(RL.call(arguments)));return Object(c)===c?c:this}return e.apply(t,n.concat(RL.call(arguments)))},o=Math.max(0,e.length-n.length),s=[],a=0;a<o;a++)s.push("$"+a);if(r=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")(i),e.prototype){var l=function(){};l.prototype=e.prototype,r.prototype=new l,l.prototype=null}return r},qxe=Function.prototype.bind||Mft,C4=TypeError,g1=Object.getOwnPropertyDescriptor;if(g1)try{g1({},"")}catch{g1=null}var ML=function(){throw new C4},_ft=g1?function(){try{return arguments.callee,ML}catch{try{return g1(arguments,"callee").get}catch{return ML}}}():ML,yg=Tft(),Fg=Object.getPrototypeOf||function(t){return t.__proto__},_L=typeof Uint8Array>"u"?void 0:Fg(Uint8Array),jL={"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?void 0:ArrayBuffer,"%ArrayBufferPrototype%":typeof ArrayBuffer>"u"?void 0:ArrayBuffer.prototype,"%ArrayIteratorPrototype%":yg?Fg([][Symbol.iterator]()):void 0,"%ArrayPrototype%":Array.prototype,"%ArrayProto_entries%":Array.prototype.entries,"%ArrayProto_forEach%":Array.prototype.forEach,"%ArrayProto_keys%":Array.prototype.keys,"%ArrayProto_values%":Array.prototype.values,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":void 0,"%AsyncFunctionPrototype%":void 0,"%AsyncGenerator%":void 0,"%AsyncGeneratorFunction%":void 0,"%AsyncGeneratorPrototype%":void 0,"%AsyncIteratorPrototype%":void 0,"%Atomics%":typeof Atomics>"u"?void 0:Atomics,"%Boolean%":Boolean,"%BooleanPrototype%":Boolean.prototype,"%DataView%":typeof DataView>"u"?void 0:DataView,"%DataViewPrototype%":typeof DataView>"u"?void 0:DataView.prototype,"%Date%":Date,"%DatePrototype%":Date.prototype,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%ErrorPrototype%":Error.prototype,"%eval%":eval,"%EvalError%":EvalError,"%EvalErrorPrototype%":EvalError.prototype,"%Float32Array%":typeof Float32Array>"u"?void 0:Float32Array,"%Float32ArrayPrototype%":typeof Float32Array>"u"?void 0:Float32Array.prototype,"%Float64Array%":typeof Float64Array>"u"?void 0:Float64Array,"%Float64ArrayPrototype%":typeof Float64Array>"u"?void 0:Float64Array.prototype,"%Function%":Function,"%FunctionPrototype%":Function.prototype,"%Generator%":void 0,"%GeneratorFunction%":void 0,"%GeneratorPrototype%":void 0,"%Int8Array%":typeof Int8Array>"u"?void 0:Int8Array,"%Int8ArrayPrototype%":typeof Int8Array>"u"?void 0:Int8Array.prototype,"%Int16Array%":typeof Int16Array>"u"?void 0:Int16Array,"%Int16ArrayPrototype%":typeof Int16Array>"u"?void 0:Int8Array.prototype,"%Int32Array%":typeof Int32Array>"u"?void 0:Int32Array,"%Int32ArrayPrototype%":typeof Int32Array>"u"?void 0:Int32Array.prototype,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":yg?Fg(Fg([][Symbol.iterator]())):void 0,"%JSON%":typeof JSON=="object"?JSON:void 0,"%JSONParse%":typeof JSON=="object"?JSON.parse:void 0,"%Map%":typeof Map>"u"?void 0:Map,"%MapIteratorPrototype%":typeof Map<"u"&&yg?Fg(new Map()[Symbol.iterator]()):void 0,"%MapPrototype%":typeof Map>"u"?void 0:Map.prototype,"%Math%":Math,"%Number%":Number,"%NumberPrototype%":Number.prototype,"%Object%":Object,"%ObjectPrototype%":Object.prototype,"%ObjProto_toString%":Object.prototype.toString,"%ObjProto_valueOf%":Object.prototype.valueOf,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?void 0:Promise,"%PromisePrototype%":typeof Promise>"u"?void 0:Promise.prototype,"%PromiseProto_then%":typeof Promise>"u"?void 0:Promise.prototype.then,"%Promise_all%":typeof Promise>"u"?void 0:Promise.all,"%Promise_reject%":typeof Promise>"u"?void 0:Promise.reject,"%Promise_resolve%":typeof Promise>"u"?void 0:Promise.resolve,"%Proxy%":typeof Proxy>"u"?void 0:Proxy,"%RangeError%":RangeError,"%RangeErrorPrototype%":RangeError.prototype,"%ReferenceError%":ReferenceError,"%ReferenceErrorPrototype%":ReferenceError.prototype,"%Reflect%":typeof Reflect>"u"?void 0:Reflect,"%RegExp%":RegExp,"%RegExpPrototype%":RegExp.prototype,"%Set%":typeof Set>"u"?void 0:Set,"%SetIteratorPrototype%":typeof Set<"u"&&yg?Fg(new Set()[Symbol.iterator]()):void 0,"%SetPrototype%":typeof Set>"u"?void 0:Set.prototype,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?void 0:SharedArrayBuffer,"%SharedArrayBufferPrototype%":typeof SharedArrayBuffer>"u"?void 0:SharedArrayBuffer.prototype,"%String%":String,"%StringIteratorPrototype%":yg?Fg(""[Symbol.iterator]()):void 0,"%StringPrototype%":String.prototype,"%Symbol%":yg?Symbol:void 0,"%SymbolPrototype%":yg?Symbol.prototype:void 0,"%SyntaxError%":SyntaxError,"%SyntaxErrorPrototype%":SyntaxError.prototype,"%ThrowTypeError%":_ft,"%TypedArray%":_L,"%TypedArrayPrototype%":_L?_L.prototype:void 0,"%TypeError%":C4,"%TypeErrorPrototype%":C4.prototype,"%Uint8Array%":typeof Uint8Array>"u"?void 0:Uint8Array,"%Uint8ArrayPrototype%":typeof Uint8Array>"u"?void 0:Uint8Array.prototype,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?void 0:Uint8ClampedArray,"%Uint8ClampedArrayPrototype%":typeof Uint8ClampedArray>"u"?void 0:Uint8ClampedArray.prototype,"%Uint16Array%":typeof Uint16Array>"u"?void 0:Uint16Array,"%Uint16ArrayPrototype%":typeof Uint16Array>"u"?void 0:Uint16Array.prototype,"%Uint32Array%":typeof Uint32Array>"u"?void 0:Uint32Array,"%Uint32ArrayPrototype%":typeof Uint32Array>"u"?void 0:Uint32Array.prototype,"%URIError%":URIError,"%URIErrorPrototype%":URIError.prototype,"%WeakMap%":typeof WeakMap>"u"?void 0:WeakMap,"%WeakMapPrototype%":typeof WeakMap>"u"?void 0:WeakMap.prototype,"%WeakSet%":typeof WeakSet>"u"?void 0:WeakSet,"%WeakSetPrototype%":typeof WeakSet>"u"?void 0:WeakSet.prototype},xce=qxe.call(Function.call,String.prototype.replace),jft=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Uft=/\\(\\)?/g,Qft=function(t){var e=[];return xce(t,jft,function(r,n,i,o){e[e.length]=i?xce(o,Uft,"$1"):n||r}),e},Vft=function(t,e){if(!(t in jL))throw new SyntaxError("intrinsic "+t+" does not exist!");if(jL[t]===void 0&&!e)throw new C4("intrinsic "+t+" exists, but is not available. Please file an issue!");return jL[t]},$ft=function(t,e){if(t.length===0)throw new TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof e!="boolean")throw new TypeError('"allowMissing" argument must be a boolean');for(var r=Qft(t),n=Vft("%"+(r.length>0?r[0]:"")+"%",e),i=1;i<r.length;i+=1)if(n!=null)if(g1&&i+1>=r.length){var o=g1(n,r[i]);if(!(r[i]in n))throw new C4("base intrinsic for "+t+" exists, but the property is not available.");n=o?o.get||o.value:n[r[i]]}else n=n[r[i]];return n},Xxe,Sce=qxe,Yxe=$ft("%Function%"),Hft=Yxe.apply,Gft=Yxe.call;(Xxe=function(){return Sce.apply(Gft,arguments)}).apply=function(){return Sce.apply(Hft,arguments)};var Wft=Xxe,p$,A$,Ece=function(t){return t!=t},zft=(p$=function(t,e){return t===0&&e===0?1/t==1/e:t===e||!(!Ece(t)||!Ece(e))},p$),Kft=(A$=function(){return typeof Object.is=="function"?Object.is:zft},A$),qft=_I,Xft=_I,Yft=p$,Jxe=A$,Jft=function(){var t=Kft();return qft(Object,{is:t},{is:function(){return Object.is!==t}}),t},Zxe=Wft(Jxe(),Object);Xft(Zxe,{getPolyfill:Jxe,implementation:Yft,shim:Jft});var eSe=Zxe;fJ=function(t){return t!=t};var fJ,dJ,Zft=fJ,edt=(dJ=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:Zft},_I),tdt=dJ,rdt=_I,ndt=fJ,tSe=dJ,idt=function(){var t=tdt();return edt(Number,{isNaN:t},{isNaN:function(){return Number.isNaN!==t}}),t},rSe=tSe();rdt(rSe,{getPolyfill:tSe,implementation:ndt,shim:idt});var odt=rSe,UL={},Dce=!1;function nSe(){if(Dce)return UL;function t(c){return(t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u})(c)}function e(c,u){return!u||t(u)!=="object"&&typeof u!="function"?function(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}(c):u}function r(c){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(u){return u.__proto__||Object.getPrototypeOf(u)})(c)}function n(c,u){return(n=Object.setPrototypeOf||function(f,d){return f.__proto__=d,f})(c,u)}Dce=!0;var i,o,s={};function a(c,u,f){f||(f=Error);var d=function(p){function h(A,g,m){var v;return function(y,b){if(!(y instanceof b))throw new TypeError("Cannot call a class as a function")}(this,h),(v=e(this,r(h).call(this,function(y,b,B){return typeof u=="string"?u:u(y,b,B)}(A,g,m)))).code=c,v}return function(A,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(g&&g.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),g&&n(A,g)}(h,p),h}(f);s[c]=d}function l(c,u){if(Array.isArray(c)){var f=c.length;return c=c.map(function(d){return String(d)}),f>2?"one of ".concat(u," ").concat(c.slice(0,f-1).join(", "),", or ")+c[f-1]:f===2?"one of ".concat(u," ").concat(c[0]," or ").concat(c[1]):"of ".concat(u," ").concat(c[0])}return"of ".concat(u," ").concat(String(c))}return a("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),a("ERR_INVALID_ARG_TYPE",function(c,u,f){var d,p,h;if(i===void 0&&(i=m$()),i(typeof c=="string","'name' must be a string"),typeof u=="string"&&(p="not ",u.substr(0,p.length)===p)?(d="must not be",u=u.replace(/^not /,"")):d="must be",function(g,m,v){return(v===void 0||v>g.length)&&(v=g.length),g.substring(v-m.length,v)===m}(c," argument"))h="The ".concat(c," ").concat(d," ").concat(l(u,"type"));else{var A=function(g,m,v){return typeof v!="number"&&(v=0),!(v+m.length>g.length)&&g.indexOf(m,v)!==-1}(c,".")?"property":"argument";h='The "'.concat(c,'" ').concat(A," ").concat(d," ").concat(l(u,"type"))}return h+=". Received type ".concat(t(f))},TypeError),a("ERR_INVALID_ARG_VALUE",function(c,u){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";o===void 0&&(o=xt);var d=o.inspect(u);return d.length>128&&(d="".concat(d.slice(0,128),"...")),"The argument '".concat(c,"' ").concat(f,". Received ").concat(d)},TypeError),a("ERR_INVALID_RETURN_VALUE",function(c,u,f){var d;return d=f&&f.constructor&&f.constructor.name?"instance of ".concat(f.constructor.name):"type ".concat(t(f)),"Expected ".concat(c,' to be returned from the "').concat(u,'"')+" function but got ".concat(d,".")},TypeError),a("ERR_MISSING_ARGS",function(){for(var c=arguments.length,u=new Array(c),f=0;f<c;f++)u[f]=arguments[f];i===void 0&&(i=m$()),i(u.length>0,"At least one arg needs to be specified");var d="The ",p=u.length;switch(u=u.map(function(h){return'"'.concat(h,'"')}),p){case 1:d+="".concat(u[0]," argument");break;case 2:d+="".concat(u[0]," and ").concat(u[1]," arguments");break;default:d+=u.slice(0,p-1).join(", "),d+=", and ".concat(u[p-1]," arguments")}return"".concat(d," must be specified")},TypeError),UL.codes=s,UL}var kce={},Oce=!1;function sdt(){if(Oce)return kce;Oce=!0;var t=go;function e(w,x,I){return x in w?Object.defineProperty(w,x,{value:I,enumerable:!0,configurable:!0,writable:!0}):w[x]=I,w}function r(w,x){for(var I=0;I<x.length;I++){var F=x[I];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(w,F.key,F)}}function n(w,x){return!x||u(x)!=="object"&&typeof x!="function"?i(w):x}function i(w){if(w===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w}function o(w){var x=typeof Map=="function"?new Map:void 0;return(o=function(I){if(I===null||(F=I,Function.toString.call(F).indexOf("[native code]")===-1))return I;var F;if(typeof I!="function")throw new TypeError("Super expression must either be null or a function");if(x!==void 0){if(x.has(I))return x.get(I);x.set(I,k)}function k(){return a(I,arguments,c(this).constructor)}return k.prototype=Object.create(I.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),l(k,I)})(w)}function s(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function a(w,x,I){return(a=s()?Reflect.construct:function(F,k,O){var L=[null];L.push.apply(L,k);var M=new(Function.bind.apply(F,L));return O&&l(M,O.prototype),M}).apply(null,arguments)}function l(w,x){return(l=Object.setPrototypeOf||function(I,F){return I.__proto__=F,I})(w,x)}function c(w){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(x){return x.__proto__||Object.getPrototypeOf(x)})(w)}function u(w){return(u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(x){return typeof x}:function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x})(w)}var f=xt.inspect,d=nSe().codes.ERR_INVALID_ARG_TYPE;function p(w,x,I){return(I===void 0||I>w.length)&&(I=w.length),w.substring(I-x.length,I)===x}var h="",A="",g="",m="",v={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function y(w){var x=Object.keys(w),I=Object.create(Object.getPrototypeOf(w));return x.forEach(function(F){I[F]=w[F]}),Object.defineProperty(I,"message",{value:w.message}),I}function b(w){return f(w,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function B(w,x,I){var F="",k="",O=0,L="",M=!1,H=b(w),V=H.split(` `),j=b(x).split(` `),R=0,Q="";if(I==="strictEqual"&&u(w)==="object"&&u(x)==="object"&&w!==null&&x!==null&&(I="strictEqualObject"),V.length===1&&j.length===1&&V[0]!==j[0]){var z=V[0].length+j[0].length;if(z<=10){if(!(u(w)==="object"&&w!==null||u(x)==="object"&&x!==null||w===0&&x===0))return"".concat(v[I],` `)+"".concat(V[0]," !== ").concat(j[0],` `)}else if(I!=="strictEqualObject"&&z<(t.stderr&&t.stderr.isTTY?t.stderr.columns:80)){for(;V[0][R]===j[0][R];)R++;R>2&&(Q=` `.concat(function(ie,le){if(le=Math.floor(le),ie.length==0||le==0)return"";var De=ie.length*le;for(le=Math.floor(Math.log(le)/Math.log(2));le;)ie+=ie,le--;return ie+=ie.substring(0,De-ie.length)}(" ",R),"^"),R=0)}}for(var X=V[V.length-1],_=j[j.length-1];X===_&&(R++<2?L=` `.concat(X).concat(L):F=X,V.pop(),j.pop(),V.length!==0&&j.length!==0);)X=V[V.length-1],_=j[j.length-1];var G=Math.max(V.length,j.length);if(G===0){var W=H.split(` `);if(W.length>30)for(W[26]="".concat(h,"...").concat(m);W.length>27;)W.pop();return"".concat(v.notIdentical,` `).concat(W.join(` `),` `)}R>3&&(L=` `.concat(h,"...").concat(m).concat(L),M=!0),F!==""&&(L=` `.concat(F).concat(L),F="");var J=0,ee=v[I]+` `.concat(A,"+ actual").concat(m," ").concat(g,"- expected").concat(m),q=" ".concat(h,"...").concat(m," Lines skipped");for(R=0;R<G;R++){var Z=R-O;if(V.length<R+1)Z>1&&R>2&&(Z>4?(k+=` `.concat(h,"...").concat(m),M=!0):Z>3&&(k+=` `.concat(j[R-2]),J++),k+=` `.concat(j[R-1]),J++),O=R,F+=` `.concat(g,"-").concat(m," ").concat(j[R]),J++;else if(j.length<R+1)Z>1&&R>2&&(Z>4?(k+=` `.concat(h,"...").concat(m),M=!0):Z>3&&(k+=` `.concat(V[R-2]),J++),k+=` `.concat(V[R-1]),J++),O=R,k+=` `.concat(A,"+").concat(m," ").concat(V[R]),J++;else{var re=j[R],fe=V[R],de=fe!==re&&(!p(fe,",")||fe.slice(0,-1)!==re);de&&p(re,",")&&re.slice(0,-1)===fe&&(de=!1,fe+=","),de?(Z>1&&R>2&&(Z>4?(k+=` `.concat(h,"...").concat(m),M=!0):Z>3&&(k+=` `.concat(V[R-2]),J++),k+=` `.concat(V[R-1]),J++),O=R,k+=` `.concat(A,"+").concat(m," ").concat(fe),F+=` `.concat(g,"-").concat(m," ").concat(re),J+=2):(k+=F,F="",Z!==1&&R!==0||(k+=` `.concat(fe),J++))}if(J>20&&R<G-2)return"".concat(ee).concat(q,` `).concat(k,` `).concat(h,"...").concat(m).concat(F,` `)+"".concat(h,"...").concat(m)}return"".concat(ee).concat(M?q:"",` `).concat(k).concat(F).concat(L).concat(Q)}var S=function(w){function x(k){var O;if(function(W,J){if(!(W instanceof J))throw new TypeError("Cannot call a class as a function")}(this,x),u(k)!=="object"||k===null)throw new d("options","Object",k);var L=k.message,M=k.operator,H=k.stackStartFn,V=k.actual,j=k.expected,R=Error.stackTraceLimit;if(Error.stackTraceLimit=0,L!=null)O=n(this,c(x).call(this,String(L)));else if(t.stderr&&t.stderr.isTTY&&(t.stderr&&t.stderr.getColorDepth&&t.stderr.getColorDepth()!==1?(h="\x1B[34m",A="\x1B[32m",m="\x1B[39m",g="\x1B[31m"):(h="",A="",m="",g="")),u(V)==="object"&&V!==null&&u(j)==="object"&&j!==null&&"stack"in V&&V instanceof Error&&"stack"in j&&j instanceof Error&&(V=y(V),j=y(j)),M==="deepStrictEqual"||M==="strictEqual")O=n(this,c(x).call(this,B(V,j,M)));else if(M==="notDeepStrictEqual"||M==="notStrictEqual"){var Q=v[M],z=b(V).split(` `);if(M==="notStrictEqual"&&u(V)==="object"&&V!==null&&(Q=v.notStrictEqualObject),z.length>30)for(z[26]="".concat(h,"...").concat(m);z.length>27;)z.pop();O=z.length===1?n(this,c(x).call(this,"".concat(Q," ").concat(z[0]))):n(this,c(x).call(this,"".concat(Q,` `).concat(z.join(` `),` `)))}else{var X=b(V),_="",G=v[M];M==="notDeepEqual"||M==="notEqual"?(X="".concat(v[M],` `).concat(X)).length>1024&&(X="".concat(X.slice(0,1021),"...")):(_="".concat(b(j)),X.length>512&&(X="".concat(X.slice(0,509),"...")),_.length>512&&(_="".concat(_.slice(0,509),"...")),M==="deepEqual"||M==="equal"?X="".concat(G,` `).concat(X,` should equal `):_=" ".concat(M," ").concat(_)),O=n(this,c(x).call(this,"".concat(X).concat(_)))}return Error.stackTraceLimit=R,O.generatedMessage=!L,Object.defineProperty(i(O),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),O.code="ERR_ASSERTION",O.actual=V,O.expected=j,O.operator=M,Error.captureStackTrace&&Error.captureStackTrace(i(O),H),O.stack,O.name="AssertionError",n(O)}var I,F;return function(k,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function");k.prototype=Object.create(O&&O.prototype,{constructor:{value:k,writable:!0,configurable:!0}}),O&&l(k,O)}(x,w),I=x,(F=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:f.custom,value:function(k,O){return f(this,function(L){for(var M=1;M<arguments.length;M++){var H=arguments[M]!=null?arguments[M]:{},V=Object.keys(H);typeof Object.getOwnPropertySymbols=="function"&&(V=V.concat(Object.getOwnPropertySymbols(H).filter(function(j){return Object.getOwnPropertyDescriptor(H,j).enumerable}))),V.forEach(function(j){e(L,j,H[j])})}return L}({},O,{customInspect:!1,depth:0}))}}])&&r(I.prototype,F),x}(o(Error));return kce=S}function Pce(t,e){return function(r){if(Array.isArray(r))return r}(t)||function(r,n){var i=[],o=!0,s=!1,a=void 0;try{for(var l,c=r[Symbol.iterator]();!(o=(l=c.next()).done)&&(i.push(l.value),!n||i.length!==n);o=!0);}catch(u){s=!0,a=u}finally{try{o||c.return==null||c.return()}finally{if(s)throw a}}return i}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Ef(t){return(Ef=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}var adt=/a/g.flags!==void 0,E9=function(t){var e=[];return t.forEach(function(r){return e.push(r)}),e},Ice=function(t){var e=[];return t.forEach(function(r,n){return e.push([n,r])}),e},Nce=Object.is?Object.is:eSe,cD=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},h$=Number.isNaN?Number.isNaN:odt;function pJ(t){return t.call.bind(t)}var Tw=pJ(Object.prototype.hasOwnProperty),uD=pJ(Object.prototype.propertyIsEnumerable),Fce=pJ(Object.prototype.toString),El=xt.types,ldt=El.isAnyArrayBuffer,cdt=El.isArrayBufferView,Tce=El.isDate,b6=El.isMap,Lce=El.isRegExp,w6=El.isSet,udt=El.isNativeError,fdt=El.isBoxedPrimitive,Rce=El.isNumberObject,Mce=El.isStringObject,_ce=El.isBooleanObject,jce=El.isBigIntObject,ddt=El.isSymbolObject,pdt=El.isFloat32Array,Adt=El.isFloat64Array;function hdt(t){if(t.length===0||t.length>10)return!0;for(var e=0;e<t.length;e++){var r=t.charCodeAt(e);if(r<48||r>57)return!0}return t.length===10&&t>=Math.pow(2,32)}function x6(t){return Object.keys(t).filter(hdt).concat(cD(t).filter(Object.prototype.propertyIsEnumerable.bind(t)))}/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org> * @license MIT */function Uce(t,e){if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0}function bu(t,e,r,n){if(t===e)return t!==0||!r||Nce(t,e);if(r){if(Ef(t)!=="object")return typeof t=="number"&&h$(t)&&h$(e);if(Ef(e)!=="object"||t===null||e===null||Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1}else{if(t===null||Ef(t)!=="object")return(e===null||Ef(e)!=="object")&&t==e;if(e===null||Ef(e)!=="object")return!1}var i,o,s,a,l=Fce(t);if(l!==Fce(e))return!1;if(Array.isArray(t)){if(t.length!==e.length)return!1;var c=x6(t),u=x6(e);return c.length===u.length&&Gb(t,e,r,n,1,c)}if(l==="[object Object]"&&(!b6(t)&&b6(e)||!w6(t)&&w6(e)))return!1;if(Tce(t)){if(!Tce(e)||Date.prototype.getTime.call(t)!==Date.prototype.getTime.call(e))return!1}else if(Lce(t)){if(!Lce(e)||(s=t,a=e,!(adt?s.source===a.source&&s.flags===a.flags:RegExp.prototype.toString.call(s)===RegExp.prototype.toString.call(a))))return!1}else if(udt(t)||t instanceof Error){if(t.message!==e.message||t.name!==e.name)return!1}else{if(cdt(t)){if(r||!pdt(t)&&!Adt(t)){if(!function(p,h){return p.byteLength===h.byteLength&&Uce(new Uint8Array(p.buffer,p.byteOffset,p.byteLength),new Uint8Array(h.buffer,h.byteOffset,h.byteLength))===0}(t,e))return!1}else if(!function(p,h){if(p.byteLength!==h.byteLength)return!1;for(var A=0;A<p.byteLength;A++)if(p[A]!==h[A])return!1;return!0}(t,e))return!1;var f=x6(t),d=x6(e);return f.length===d.length&&Gb(t,e,r,n,0,f)}if(w6(t))return!(!w6(e)||t.size!==e.size)&&Gb(t,e,r,n,2);if(b6(t))return!(!b6(e)||t.size!==e.size)&&Gb(t,e,r,n,3);if(ldt(t)){if(o=e,(i=t).byteLength!==o.byteLength||Uce(new Uint8Array(i),new Uint8Array(o))!==0)return!1}else if(fdt(t)&&!function(p,h){return Rce(p)?Rce(h)&&Nce(Number.prototype.valueOf.call(p),Number.prototype.valueOf.call(h)):Mce(p)?Mce(h)&&String.prototype.valueOf.call(p)===String.prototype.valueOf.call(h):_ce(p)?_ce(h)&&Boolean.prototype.valueOf.call(p)===Boolean.prototype.valueOf.call(h):jce(p)?jce(h)&&BigInt.prototype.valueOf.call(p)===BigInt.prototype.valueOf.call(h):ddt(h)&&Symbol.prototype.valueOf.call(p)===Symbol.prototype.valueOf.call(h)}(t,e))return!1}return Gb(t,e,r,n,0)}function Qce(t,e){return e.filter(function(r){return uD(t,r)})}function Gb(t,e,r,n,i,o){if(arguments.length===5){o=Object.keys(t);var s=Object.keys(e);if(o.length!==s.length)return!1}for(var a=0;a<o.length;a++)if(!Tw(e,o[a]))return!1;if(r&&arguments.length===5){var l=cD(t);if(l.length!==0){var c=0;for(a=0;a<l.length;a++){var u=l[a];if(uD(t,u)){if(!uD(e,u))return!1;o.push(u),c++}else if(uD(e,u))return!1}var f=cD(e);if(l.length!==f.length&&Qce(e,f).length!==c)return!1}else{var d=cD(e);if(d.length!==0&&Qce(e,d).length!==0)return!1}}if(o.length===0&&(i===0||i===1&&t.length===0||t.size===0))return!0;if(n===void 0)n={val1:new Map,val2:new Map,position:0};else{var p=n.val1.get(t);if(p!==void 0){var h=n.val2.get(e);if(h!==void 0)return p===h}n.position++}n.val1.set(t,n.position),n.val2.set(e,n.position);var A=vdt(t,e,r,o,n,i);return n.val1.delete(t),n.val2.delete(e),A}function Vce(t,e,r,n){for(var i=E9(t),o=0;o<i.length;o++){var s=i[o];if(bu(e,s,r,n))return t.delete(s),!0}return!1}function iSe(t){switch(Ef(t)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":t=+t;case"number":if(h$(t))return!1}return!0}function mdt(t,e,r){var n=iSe(r);return n??(e.has(n)&&!t.has(n))}function gdt(t,e,r,n,i){var o=iSe(r);if(o!=null)return o;var s=e.get(o);return!(s===void 0&&!e.has(o)||!bu(n,s,!1,i))&&!t.has(o)&&bu(n,s,!1,i)}function $ce(t,e,r,n,i,o){for(var s=E9(t),a=0;a<s.length;a++){var l=s[a];if(bu(r,l,i,o)&&bu(n,e.get(l),i,o))return t.delete(l),!0}return!1}function vdt(t,e,r,n,i,o){var s=0;if(o===2){if(!function(u,f,d,p){for(var h=null,A=E9(u),g=0;g<A.length;g++){var m=A[g];if(Ef(m)==="object"&&m!==null)h===null&&(h=new Set),h.add(m);else if(!f.has(m)){if(d||!mdt(u,f,m))return!1;h===null&&(h=new Set),h.add(m)}}if(h!==null){for(var v=E9(f),y=0;y<v.length;y++){var b=v[y];if(Ef(b)==="object"&&b!==null){if(!Vce(h,b,d,p))return!1}else if(!d&&!u.has(b)&&!Vce(h,b,d,p))return!1}return h.size===0}return!0}(t,e,r,i))return!1}else if(o===3){if(!function(u,f,d,p){for(var h=null,A=Ice(u),g=0;g<A.length;g++){var m=Pce(A[g],2),v=m[0],y=m[1];if(Ef(v)==="object"&&v!==null)h===null&&(h=new Set),h.add(v);else{var b=f.get(v);if(b===void 0&&!f.has(v)||!bu(y,b,d,p)){if(d||!gdt(u,f,v,y,p))return!1;h===null&&(h=new Set),h.add(v)}}}if(h!==null){for(var B=Ice(f),S=0;S<B.length;S++){var w=Pce(B[S],2),x=(v=w[0],w[1]);if(Ef(v)==="object"&&v!==null){if(!$ce(h,u,v,x,d,p))return!1}else if(!(d||u.has(v)&&bu(u.get(v),x,!1,p)||$ce(h,u,v,x,!1,p)))return!1}return h.size===0}return!0}(t,e,r,i))return!1}else if(o===1)for(;s<t.length;s++){if(!Tw(t,s)){if(Tw(e,s))return!1;for(var a=Object.keys(t);s<a.length;s++){var l=a[s];if(!Tw(e,l)||!bu(t[l],e[l],r,i))return!1}return a.length===Object.keys(e).length}if(!Tw(e,s)||!bu(t[s],e[s],r,i))return!1}for(s=0;s<n.length;s++){var c=n[s];if(!bu(t[c],e[c],r,i))return!1}return!0}var Hce={isDeepEqual:function(t,e){return bu(t,e,!1)},isDeepStrictEqual:function(t,e){return bu(t,e,!0)}},QL={},Gce=!1;function m$(){if(Gce)return QL;Gce=!0;var t=go;function e(j){return(e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R})(j)}var r,n,i=nSe().codes,o=i.ERR_AMBIGUOUS_ARGUMENT,s=i.ERR_INVALID_ARG_TYPE,a=i.ERR_INVALID_ARG_VALUE,l=i.ERR_INVALID_RETURN_VALUE,c=i.ERR_MISSING_ARGS,u=sdt(),f=xt.inspect,d=xt.types,p=d.isPromise,h=d.isRegExp,A=Object.assign?Object.assign:gft.assign,g=Object.is?Object.is:eSe;function m(){r=Hce.isDeepEqual,n=Hce.isDeepStrictEqual}var v=!1,y=QL=w,b={};function B(j){throw j.message instanceof Error?j.message:new u(j)}function S(j,R,Q,z){if(!Q){var X=!1;if(R===0)X=!0,z="No value argument passed to `assert.ok()`";else if(z instanceof Error)throw z;var _=new u({actual:Q,expected:!0,message:z,operator:"==",stackStartFn:j});throw _.generatedMessage=X,_}}function w(){for(var j=arguments.length,R=new Array(j),Q=0;Q<j;Q++)R[Q]=arguments[Q];S.apply(void 0,[w,R.length].concat(R))}y.fail=function j(R,Q,z,X,_){var G,W=arguments.length;if(W===0)G="Failed";else if(W===1)z=R,R=void 0;else{if(v===!1){v=!0;var J=t.emitWarning?t.emitWarning:console.warn.bind(console);J("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}W===2&&(X="!=")}if(z instanceof Error)throw z;var ee={actual:R,expected:Q,operator:X===void 0?"fail":X,stackStartFn:_||j};z!==void 0&&(ee.message=z);var q=new u(ee);throw G&&(q.message=G,q.generatedMessage=!0),q},y.AssertionError=u,y.ok=w,y.equal=function j(R,Q,z){if(arguments.length<2)throw new c("actual","expected");R!=Q&&B({actual:R,expected:Q,message:z,operator:"==",stackStartFn:j})},y.notEqual=function j(R,Q,z){if(arguments.length<2)throw new c("actual","expected");R==Q&&B({actual:R,expected:Q,message:z,operator:"!=",stackStartFn:j})},y.deepEqual=function j(R,Q,z){if(arguments.length<2)throw new c("actual","expected");r===void 0&&m(),r(R,Q)||B({actual:R,expected:Q,message:z,operator:"deepEqual",stackStartFn:j})},y.notDeepEqual=function j(R,Q,z){if(arguments.length<2)throw new c("actual","expected");r===void 0&&m(),r(R,Q)&&B({actual:R,expected:Q,message:z,operator:"notDeepEqual",stackStartFn:j})},y.deepStrictEqual=function j(R,Q,z){if(arguments.length<2)throw new c("actual","expected");r===void 0&&m(),n(R,Q)||B({actual:R,expected:Q,message:z,operator:"deepStrictEqual",stackStartFn:j})},y.notDeepStrictEqual=function j(R,Q,z){if(arguments.length<2)throw new c("actual","expected");r===void 0&&m(),n(R,Q)&&B({actual:R,expected:Q,message:z,operator:"notDeepStrictEqual",stackStartFn:j})},y.strictEqual=function j(R,Q,z){if(arguments.length<2)throw new c("actual","expected");g(R,Q)||B({actual:R,expected:Q,message:z,operator:"strictEqual",stackStartFn:j})},y.notStrictEqual=function j(R,Q,z){if(arguments.length<2)throw new c("actual","expected");g(R,Q)&&B({actual:R,expected:Q,message:z,operator:"notStrictEqual",stackStartFn:j})};var x=function j(R,Q,z){var X=this;(function(_,G){if(!(_ instanceof G))throw new TypeError("Cannot call a class as a function")})(this,j),Q.forEach(function(_){_ in R&&(z!==void 0&&typeof z[_]=="string"&&h(R[_])&&R[_].test(z[_])?X[_]=z[_]:X[_]=R[_])})};function I(j,R,Q,z,X,_){if(!(Q in j)||!n(j[Q],R[Q])){if(!z){var G=new x(j,X),W=new x(R,X,j),J=new u({actual:G,expected:W,operator:"deepStrictEqual",stackStartFn:_});throw J.actual=j,J.expected=R,J.operator=_.name,J}B({actual:j,expected:R,message:z,operator:_.name,stackStartFn:_})}}function F(j,R,Q,z){if(typeof R!="function"){if(h(R))return R.test(j);if(arguments.length===2)throw new s("expected",["Function","RegExp"],R);if(e(j)!=="object"||j===null){var X=new u({actual:j,expected:R,message:Q,operator:"deepStrictEqual",stackStartFn:z});throw X.operator=z.name,X}var _=Object.keys(R);if(R instanceof Error)_.push("name","message");else if(_.length===0)throw new a("error",R,"may not be an empty object");return r===void 0&&m(),_.forEach(function(G){typeof j[G]=="string"&&h(R[G])&&R[G].test(j[G])||I(j,R,G,Q,_,z)}),!0}return R.prototype!==void 0&&j instanceof R||!Error.isPrototypeOf(R)&&R.call({},j)===!0}function k(j){if(typeof j!="function")throw new s("fn","Function",j);try{j()}catch(R){return R}return b}function O(j){return p(j)||j!==null&&e(j)==="object"&&typeof j.then=="function"&&typeof j.catch=="function"}function L(j){return Promise.resolve().then(function(){var R;if(typeof j=="function"){if(!O(R=j()))throw new l("instance of Promise","promiseFn",R)}else{if(!O(j))throw new s("promiseFn",["Function","Promise"],j);R=j}return Promise.resolve().then(function(){return R}).then(function(){return b}).catch(function(Q){return Q})})}function M(j,R,Q,z){if(typeof Q=="string"){if(arguments.length===4)throw new s("error",["Object","Error","Function","RegExp"],Q);if(e(R)==="object"&&R!==null){if(R.message===Q)throw new o("error/message",'The error message "'.concat(R.message,'" is identical to the message.'))}else if(R===Q)throw new o("error/message",'The error "'.concat(R,'" is identical to the message.'));z=Q,Q=void 0}else if(Q!=null&&e(Q)!=="object"&&typeof Q!="function")throw new s("error",["Object","Error","Function","RegExp"],Q);if(R===b){var X="";Q&&Q.name&&(X+=" (".concat(Q.name,")")),X+=z?": ".concat(z):".";var _=j.name==="rejects"?"rejection":"exception";B({actual:void 0,expected:Q,operator:j.name,message:"Missing expected ".concat(_).concat(X),stackStartFn:j})}if(Q&&!F(R,Q,z,j))throw R}function H(j,R,Q,z){if(R!==b){if(typeof Q=="string"&&(z=Q,Q=void 0),!Q||F(R,Q)){var X=z?": ".concat(z):".",_=j.name==="doesNotReject"?"rejection":"exception";B({actual:R,expected:Q,operator:j.name,message:"Got unwanted ".concat(_).concat(X,` `)+'Actual message: "'.concat(R&&R.message,'"'),stackStartFn:j})}throw R}}function V(){for(var j=arguments.length,R=new Array(j),Q=0;Q<j;Q++)R[Q]=arguments[Q];S.apply(void 0,[V,R.length].concat(R))}return y.throws=function j(R){for(var Q=arguments.length,z=new Array(Q>1?Q-1:0),X=1;X<Q;X++)z[X-1]=arguments[X];M.apply(void 0,[j,k(R)].concat(z))},y.rejects=function j(R){for(var Q=arguments.length,z=new Array(Q>1?Q-1:0),X=1;X<Q;X++)z[X-1]=arguments[X];return L(R).then(function(_){return M.apply(void 0,[j,_].concat(z))})},y.doesNotThrow=function j(R){for(var Q=arguments.length,z=new Array(Q>1?Q-1:0),X=1;X<Q;X++)z[X-1]=arguments[X];H.apply(void 0,[j,k(R)].concat(z))},y.doesNotReject=function j(R){for(var Q=arguments.length,z=new Array(Q>1?Q-1:0),X=1;X<Q;X++)z[X-1]=arguments[X];return L(R).then(function(_){return H.apply(void 0,[j,_].concat(z))})},y.ifError=function j(R){if(R!=null){var Q="ifError got unwanted exception: ";e(R)==="object"&&typeof R.message=="string"?R.message.length===0&&R.constructor?Q+=R.constructor.name:Q+=R.message:Q+=f(R);var z=new u({actual:R,expected:null,operator:"ifError",message:Q,stackStartFn:j}),X=R.stack;if(typeof X=="string"){var _=X.split(` `);_.shift();for(var G=z.stack.split(` `),W=0;W<_.length;W++){var J=G.indexOf(_[W]);if(J!==-1){G=G.slice(0,J);break}}z.stack="".concat(G.join(` `),` `).concat(_.join(` `))}throw z}},y.strict=A(V,y,{equal:y.strictEqual,deepEqual:y.deepStrictEqual,notEqual:y.notStrictEqual,notDeepEqual:y.notDeepStrictEqual}),y.strict.strict=y.strict,QL}var Kr=m$();Kr.AssertionError;Kr.deepEqual;Kr.deepStrictEqual;Kr.doesNotReject;Kr.doesNotThrow;Kr.equal;Kr.fail;Kr.ifError;Kr.notDeepEqual;Kr.notDeepStrictEqual;Kr.notEqual;Kr.notStrictEqual;Kr.ok;Kr.rejects;Kr.strict;Kr.strictEqual;Kr.throws;Kr.AssertionError;Kr.deepEqual;Kr.deepStrictEqual;Kr.doesNotReject;Kr.doesNotThrow;Kr.equal;Kr.fail;Kr.ifError;Kr.notDeepEqual;Kr.notDeepStrictEqual;Kr.notEqual;Kr.notStrictEqual;Kr.ok;Kr.rejects;Kr.strict;Kr.strictEqual;Kr.throws;Kr.AssertionError;Kr.deepEqual;Kr.deepStrictEqual;Kr.doesNotReject;Kr.doesNotThrow;Kr.equal;Kr.fail;Kr.ifError;Kr.notDeepEqual;Kr.notDeepStrictEqual;Kr.notEqual;Kr.notStrictEqual;Kr.ok;Kr.rejects;Kr.strict;Kr.strictEqual;Kr.throws;xt._extend;xt.callbackify;xt.debuglog;xt.deprecate;xt.format;xt.inherits;xt.inspect;xt.isArray;xt.isBoolean;xt.isBuffer;xt.isDate;xt.isError;xt.isFunction;xt.isNull;xt.isNullOrUndefined;xt.isNumber;xt.isObject;xt.isPrimitive;xt.isRegExp;xt.isString;xt.isSymbol;xt.isUndefined;xt.log;var Wce=xt.promisify;xt.types;xt.TextEncoder=globalThis.TextEncoder;xt.TextDecoder=globalThis.TextDecoder;var VL={},zce=!1,iy=typeof globalThis<"u"?globalThis:typeof self<"u"?self:global;function ydt(){if(zce)return VL;zce=!0;var t=VL={},e,r;function n(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?e=setTimeout:e=n}catch{e=n}try{typeof clearTimeout=="function"?r=clearTimeout:r=i}catch{r=i}})();function o(A){if(e===setTimeout)return setTimeout(A,0);if((e===n||!e)&&setTimeout)return e=setTimeout,setTimeout(A,0);try{return e(A,0)}catch{try{return e.call(null,A,0)}catch{return e.call(this||iy,A,0)}}}function s(A){if(r===clearTimeout)return clearTimeout(A);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(A);try{return r(A)}catch{try{return r.call(null,A)}catch{return r.call(this||iy,A)}}}var a=[],l=!1,c,u=-1;function f(){!l||!c||(l=!1,c.length?a=c.concat(a):u=-1,a.length&&d())}function d(){if(!l){var A=o(f);l=!0;for(var g=a.length;g;){for(c=a,a=[];++u<g;)c&&c[u].run();u=-1,g=a.length}c=null,l=!1,s(A)}}t.nextTick=function(A){var g=new Array(arguments.length-1);if(arguments.length>1)for(var m=1;m<arguments.length;m++)g[m-1]=arguments[m];a.push(new p(A,g)),a.length===1&&!l&&o(d)};function p(A,g){(this||iy).fun=A,(this||iy).array=g}p.prototype.run=function(){(this||iy).fun.apply(null,(this||iy).array)},t.title="browser",t.browser=!0,t.env={},t.argv=[],t.version="",t.versions={};function h(){}return t.on=h,t.addListener=h,t.once=h,t.off=h,t.removeListener=h,t.removeAllListeners=h,t.emit=h,t.prependListener=h,t.prependOnceListener=h,t.listeners=function(A){return[]},t.binding=function(A){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(A){throw new Error("process.chdir is not supported")},t.umask=function(){return 0},VL}var _i=ydt();_i.platform="browser";_i.addListener;_i.argv;_i.binding;_i.browser;_i.chdir;_i.cwd;_i.emit;_i.env;_i.listeners;_i.nextTick;_i.off;_i.on;_i.once;_i.prependListener;_i.prependOnceListener;_i.removeAllListeners;_i.removeListener;_i.title;_i.umask;_i.version;_i.versions;var $L={},Kce=!1;function Bdt(){if(Kce)return $L;Kce=!0;var t=_i;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function r(o,s){for(var a="",l=0,c=-1,u=0,f,d=0;d<=o.length;++d){if(d<o.length)f=o.charCodeAt(d);else{if(f===47)break;f=47}if(f===47){if(!(c===d-1||u===1))if(c!==d-1&&u===2){if(a.length<2||l!==2||a.charCodeAt(a.length-1)!==46||a.charCodeAt(a.length-2)!==46){if(a.length>2){var p=a.lastIndexOf("/");if(p!==a.length-1){p===-1?(a="",l=0):(a=a.slice(0,p),l=a.length-1-a.lastIndexOf("/")),c=d,u=0;continue}}else if(a.length===2||a.length===1){a="",l=0,c=d,u=0;continue}}s&&(a.length>0?a+="/..":a="..",l=2)}else a.length>0?a+="/"+o.slice(c+1,d):a=o.slice(c+1,d),l=d-c-1;c=d,u=0}else f===46&&u!==-1?++u:u=-1}return a}function n(o,s){var a=s.dir||s.root,l=s.base||(s.name||"")+(s.ext||"");return a?a===s.root?a+l:a+o+l:l}var i={resolve:function(){for(var s="",a=!1,l,c=arguments.length-1;c>=-1&&!a;c--){var u;c>=0?u=arguments[c]:(l===void 0&&(l=t.cwd()),u=l),e(u),u.length!==0&&(s=u+"/"+s,a=u.charCodeAt(0)===47)}return s=r(s,!a),a?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(e(s),s.length===0)return".";var a=s.charCodeAt(0)===47,l=s.charCodeAt(s.length-1)===47;return s=r(s,!a),s.length===0&&!a&&(s="."),s.length>0&&l&&(s+="/"),a?"/"+s:s},isAbsolute:function(s){return e(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,a=0;a<arguments.length;++a){var l=arguments[a];e(l),l.length>0&&(s===void 0?s=l:s+="/"+l)}return s===void 0?".":i.normalize(s)},relative:function(s,a){if(e(s),e(a),s===a||(s=i.resolve(s),a=i.resolve(a),s===a))return"";for(var l=1;l<s.length&&s.charCodeAt(l)===47;++l);for(var c=s.length,u=c-l,f=1;f<a.length&&a.charCodeAt(f)===47;++f);for(var d=a.length,p=d-f,h=u<p?u:p,A=-1,g=0;g<=h;++g){if(g===h){if(p>h){if(a.charCodeAt(f+g)===47)return a.slice(f+g+1);if(g===0)return a.slice(f+g)}else u>h&&(s.charCodeAt(l+g)===47?A=g:g===0&&(A=0));break}var m=s.charCodeAt(l+g),v=a.charCodeAt(f+g);if(m!==v)break;m===47&&(A=g)}var y="";for(g=l+A+1;g<=c;++g)(g===c||s.charCodeAt(g)===47)&&(y.length===0?y+="..":y+="/..");return y.length>0?y+a.slice(f+A):(f+=A,a.charCodeAt(f)===47&&++f,a.slice(f))},_makeLong:function(s){return s},dirname:function(s){if(e(s),s.length===0)return".";for(var a=s.charCodeAt(0),l=a===47,c=-1,u=!0,f=s.length-1;f>=1;--f)if(a=s.charCodeAt(f),a===47){if(!u){c=f;break}}else u=!1;return c===-1?l?"/":".":l&&c===1?"//":s.slice(0,c)},basename:function(s,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');e(s);var l=0,c=-1,u=!0,f;if(a!==void 0&&a.length>0&&a.length<=s.length){if(a.length===s.length&&a===s)return"";var d=a.length-1,p=-1;for(f=s.length-1;f>=0;--f){var h=s.charCodeAt(f);if(h===47){if(!u){l=f+1;break}}else p===-1&&(u=!1,p=f+1),d>=0&&(h===a.charCodeAt(d)?--d===-1&&(c=f):(d=-1,c=p))}return l===c?c=p:c===-1&&(c=s.length),s.slice(l,c)}else{for(f=s.length-1;f>=0;--f)if(s.charCodeAt(f)===47){if(!u){l=f+1;break}}else c===-1&&(u=!1,c=f+1);return c===-1?"":s.slice(l,c)}},extname:function(s){e(s);for(var a=-1,l=0,c=-1,u=!0,f=0,d=s.length-1;d>=0;--d){var p=s.charCodeAt(d);if(p===47){if(!u){l=d+1;break}continue}c===-1&&(u=!1,c=d+1),p===46?a===-1?a=d:f!==1&&(f=1):a!==-1&&(f=-1)}return a===-1||c===-1||f===0||f===1&&a===c-1&&a===l+1?"":s.slice(a,c)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof s);return n("/",s)},parse:function(s){e(s);var a={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return a;var l=s.charCodeAt(0),c=l===47,u;c?(a.root="/",u=1):u=0;for(var f=-1,d=0,p=-1,h=!0,A=s.length-1,g=0;A>=u;--A){if(l=s.charCodeAt(A),l===47){if(!h){d=A+1;break}continue}p===-1&&(h=!1,p=A+1),l===46?f===-1?f=A:g!==1&&(g=1):f!==-1&&(g=-1)}return f===-1||p===-1||g===0||g===1&&f===p-1&&f===d+1?p!==-1&&(d===0&&c?a.base=a.name=s.slice(1,p):a.base=a.name=s.slice(d,p)):(d===0&&c?(a.name=s.slice(1,f),a.base=s.slice(1,p)):(a.name=s.slice(d,f),a.base=s.slice(d,p)),a.ext=s.slice(f,p)),d>0?a.dir=s.slice(0,d-1):c&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};return i.posix=i,$L=i,$L}const ia=Bdt(),T2=2147483647,Cdt=/^xn--/,bdt=/[^\0-\x7E]/,wdt=/[\x2E\u3002\uFF0E\uFF61]/g,xdt={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},np=Math.floor,HL=String.fromCharCode;function Ug(t){throw new RangeError(xdt[t])}function qce(t,e){const r=t.split("@");let n="";r.length>1&&(n=r[0]+"@",t=r[1]);const i=function(o,s){const a=[];let l=o.length;for(;l--;)a[l]=s(o[l]);return a}((t=t.replace(wdt,".")).split("."),e).join(".");return n+i}function oSe(t){const e=[];let r=0;const n=t.length;for(;r<n;){const i=t.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){const o=t.charCodeAt(r++);(64512&o)==56320?e.push(((1023&i)<<10)+(1023&o)+65536):(e.push(i),r--)}else e.push(i)}return e}const Xce=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},sSe=function(t,e,r){let n=0;for(t=r?np(t/700):t>>1,t+=np(t/e);t>455;n+=36)t=np(t/35);return np(n+36*t/(t+38))},Yce=function(t){const e=[],r=t.length;let n=0,i=128,o=72,s=t.lastIndexOf("-");s<0&&(s=0);for(let l=0;l<s;++l)t.charCodeAt(l)>=128&&Ug("not-basic"),e.push(t.charCodeAt(l));for(let l=s>0?s+1:0;l<r;){let c=n;for(let f=1,d=36;;d+=36){l>=r&&Ug("invalid-input");const p=(a=t.charCodeAt(l++))-48<10?a-22:a-65<26?a-65:a-97<26?a-97:36;(p>=36||p>np((T2-n)/f))&&Ug("overflow"),n+=p*f;const h=d<=o?1:d>=o+26?26:d-o;if(p<h)break;const A=36-h;f>np(T2/A)&&Ug("overflow"),f*=A}const u=e.length+1;o=sSe(n-c,u,c==0),np(n/u)>T2-i&&Ug("overflow"),i+=np(n/u),n%=u,e.splice(n++,0,i)}var a;return String.fromCodePoint(...e)},Jce=function(t){const e=[];let r=(t=oSe(t)).length,n=128,i=0,o=72;for(const l of t)l<128&&e.push(HL(l));let s=e.length,a=s;for(s&&e.push("-");a<r;){let l=T2;for(const u of t)u>=n&&u<l&&(l=u);const c=a+1;l-n>np((T2-i)/c)&&Ug("overflow"),i+=(l-n)*c,n=l;for(const u of t)if(u<n&&++i>T2&&Ug("overflow"),u==n){let f=i;for(let d=36;;d+=36){const p=d<=o?1:d>=o+26?26:d-o;if(f<p)break;const h=f-p,A=36-p;e.push(HL(Xce(p+h%A,0))),f=np(h/A)}e.push(HL(Xce(f,0))),o=sSe(i,c,a==s),i=0,++a}++i,++n}return e.join("")};var Sdt={version:"2.1.0",ucs2:{decode:oSe,encode:t=>String.fromCodePoint(...t)},decode:Yce,encode:Jce,toASCII:function(t){return qce(t,function(e){return bdt.test(e)?"xn--"+Jce(e):e})},toUnicode:function(t){return qce(t,function(e){return Cdt.test(e)?Yce(e.slice(4).toLowerCase()):e})}};function Edt(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var Ddt=function(t,e,r,n){e=e||"&",r=r||"=";var i={};if(typeof t!="string"||t.length===0)return i;var o=/\+/g;t=t.split(e);var s=1e3;n&&typeof n.maxKeys=="number"&&(s=n.maxKeys);var a=t.length;s>0&&a>s&&(a=s);for(var l=0;l<a;++l){var c,u,f,d,p=t[l].replace(o,"%20"),h=p.indexOf(r);h>=0?(c=p.substr(0,h),u=p.substr(h+1)):(c=p,u=""),f=decodeURIComponent(c),d=decodeURIComponent(u),Edt(i,f)?Array.isArray(i[f])?i[f].push(d):i[f]=[i[f],d]:i[f]=d}return i},Wb=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}},kdt=function(t,e,r,n){return e=e||"&",r=r||"=",t===null&&(t=void 0),typeof t=="object"?Object.keys(t).map(function(i){var o=encodeURIComponent(Wb(i))+r;return Array.isArray(t[i])?t[i].map(function(s){return o+encodeURIComponent(Wb(s))}).join(e):o+encodeURIComponent(Wb(t[i]))}).join(e):n?encodeURIComponent(Wb(n))+r+encodeURIComponent(Wb(t)):""},IA={};IA.decode=IA.parse=Ddt,IA.encode=IA.stringify=kdt;IA.decode;IA.encode;IA.parse;IA.stringify;var wu={},Odt=Sdt,Ld={isString:function(t){return typeof t=="string"},isObject:function(t){return typeof t=="object"&&t!==null},isNull:function(t){return t===null},isNullOrUndefined:function(t){return t==null}};function hu(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}wu.parse=Lw,wu.resolve=function(t,e){return Lw(t,!1,!0).resolve(e)},wu.resolveObject=function(t,e){return t?Lw(t,!1,!0).resolveObject(e):e},wu.format=function(t){return Ld.isString(t)&&(t=Lw(t)),t instanceof hu?t.format():hu.prototype.format.call(t)},wu.Url=hu;var Pdt=/^([a-z0-9.+-]+:)/i,Idt=/:[0-9]*$/,Ndt=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Fdt=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` `," "]),g$=["'"].concat(Fdt),Zce=["%","/","?",";","#"].concat(g$),eue=["/","?","#"],tue=/^[+a-z0-9A-Z_-]{0,63}$/,Tdt=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Ldt={javascript:!0,"javascript:":!0},GL={javascript:!0,"javascript:":!0},oy={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},WL=IA;function Lw(t,e,r){if(t&&Ld.isObject(t)&&t instanceof hu)return t;var n=new hu;return n.parse(t,e,r),n}hu.prototype.parse=function(t,e,r){if(!Ld.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var n=t.indexOf("?"),i=n!==-1&&n<t.indexOf("#")?"?":"#",o=t.split(i);o[0]=o[0].replace(/\\/g,"/");var s=t=o.join(i);if(s=s.trim(),!r&&t.split("#").length===1){var a=Ndt.exec(s);if(a)return this.path=s,this.href=s,this.pathname=a[1],a[2]?(this.search=a[2],this.query=e?WL.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var l=Pdt.exec(s);if(l){var c=(l=l[0]).toLowerCase();this.protocol=c,s=s.substr(l.length)}if(r||l||s.match(/^\/\/[^@\/]+@[^@\/]+/)){var u=s.substr(0,2)==="//";!u||l&&GL[l]||(s=s.substr(2),this.slashes=!0)}if(!GL[l]&&(u||l&&!oy[l])){for(var f,d,p=-1,h=0;h<eue.length;h++)(A=s.indexOf(eue[h]))!==-1&&(p===-1||A<p)&&(p=A);for((d=p===-1?s.lastIndexOf("@"):s.lastIndexOf("@",p))!==-1&&(f=s.slice(0,d),s=s.slice(d+1),this.auth=decodeURIComponent(f)),p=-1,h=0;h<Zce.length;h++){var A;(A=s.indexOf(Zce[h]))!==-1&&(p===-1||A<p)&&(p=A)}p===-1&&(p=s.length),this.host=s.slice(0,p),s=s.slice(p),this.parseHost(),this.hostname=this.hostname||"";var g=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!g)for(var m=this.hostname.split(/\./),v=(h=0,m.length);h<v;h++){var y=m[h];if(y&&!y.match(tue)){for(var b="",B=0,S=y.length;B<S;B++)y.charCodeAt(B)>127?b+="x":b+=y[B];if(!b.match(tue)){var w=m.slice(0,h),x=m.slice(h+1),I=y.match(Tdt);I&&(w.push(I[1]),x.unshift(I[2])),x.length&&(s="/"+x.join(".")+s),this.hostname=w.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),g||(this.hostname=Odt.toASCII(this.hostname));var F=this.port?":"+this.port:"",k=this.hostname||"";this.host=k+F,this.href+=this.host,g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),s[0]!=="/"&&(s="/"+s))}if(!Ldt[c])for(h=0,v=g$.length;h<v;h++){var O=g$[h];if(s.indexOf(O)!==-1){var L=encodeURIComponent(O);L===O&&(L=escape(O)),s=s.split(O).join(L)}}var M=s.indexOf("#");M!==-1&&(this.hash=s.substr(M),s=s.slice(0,M));var H=s.indexOf("?");if(H!==-1?(this.search=s.substr(H),this.query=s.substr(H+1),e&&(this.query=WL.parse(this.query)),s=s.slice(0,H)):e&&(this.search="",this.query={}),s&&(this.pathname=s),oy[c]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){F=this.pathname||"";var V=this.search||"";this.path=F+V}return this.href=this.format(),this},hu.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",r=this.pathname||"",n=this.hash||"",i=!1,o="";this.host?i=t+this.host:this.hostname&&(i=t+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&Ld.isObject(this.query)&&Object.keys(this.query).length&&(o=WL.stringify(this.query));var s=this.search||o&&"?"+o||"";return e&&e.substr(-1)!==":"&&(e+=":"),this.slashes||(!e||oy[e])&&i!==!1?(i="//"+(i||""),r&&r.charAt(0)!=="/"&&(r="/"+r)):i||(i=""),n&&n.charAt(0)!=="#"&&(n="#"+n),s&&s.charAt(0)!=="?"&&(s="?"+s),e+i+(r=r.replace(/[?#]/g,function(a){return encodeURIComponent(a)}))+(s=s.replace("#","%23"))+n},hu.prototype.resolve=function(t){return this.resolveObject(Lw(t,!1,!0)).format()},hu.prototype.resolveObject=function(t){if(Ld.isString(t)){var e=new hu;e.parse(t,!1,!0),t=e}for(var r=new hu,n=Object.keys(this),i=0;i<n.length;i++){var o=n[i];r[o]=this[o]}if(r.hash=t.hash,t.href==="")return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var s=Object.keys(t),a=0;a<s.length;a++){var l=s[a];l!=="protocol"&&(r[l]=t[l])}return oy[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(t.protocol&&t.protocol!==r.protocol){if(!oy[t.protocol]){for(var c=Object.keys(t),u=0;u<c.length;u++){var f=c[u];r[f]=t[f]}return r.href=r.format(),r}if(r.protocol=t.protocol,t.host||GL[t.protocol])r.pathname=t.pathname;else{for(var d=(t.pathname||"").split("/");d.length&&!(t.host=d.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),d[0]!==""&&d.unshift(""),d.length<2&&d.unshift(""),r.pathname=d.join("/")}if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var p=r.pathname||"",h=r.search||"";r.path=p+h}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var A=r.pathname&&r.pathname.charAt(0)==="/",g=t.host||t.pathname&&t.pathname.charAt(0)==="/",m=g||A||r.host&&t.pathname,v=m,y=r.pathname&&r.pathname.split("/")||[],b=(d=t.pathname&&t.pathname.split("/")||[],r.protocol&&!oy[r.protocol]);if(b&&(r.hostname="",r.port=null,r.host&&(y[0]===""?y[0]=r.host:y.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(d[0]===""?d[0]=t.host:d.unshift(t.host)),t.host=null),m=m&&(d[0]===""||y[0]==="")),g)r.host=t.host||t.host===""?t.host:r.host,r.hostname=t.hostname||t.hostname===""?t.hostname:r.hostname,r.search=t.search,r.query=t.query,y=d;else if(d.length)y||(y=[]),y.pop(),y=y.concat(d),r.search=t.search,r.query=t.query;else if(!Ld.isNullOrUndefined(t.search))return b&&(r.hostname=r.host=y.shift(),(I=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=I.shift(),r.host=r.hostname=I.shift())),r.search=t.search,r.query=t.query,Ld.isNull(r.pathname)&&Ld.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!y.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var B=y.slice(-1)[0],S=(r.host||t.host||y.length>1)&&(B==="."||B==="..")||B==="",w=0,x=y.length;x>=0;x--)(B=y[x])==="."?y.splice(x,1):B===".."?(y.splice(x,1),w++):w&&(y.splice(x,1),w--);if(!m&&!v)for(;w--;w)y.unshift("..");!m||y[0]===""||y[0]&&y[0].charAt(0)==="/"||y.unshift(""),S&&y.join("/").substr(-1)!=="/"&&y.push("");var I,F=y[0]===""||y[0]&&y[0].charAt(0)==="/";return b&&(r.hostname=r.host=F?"":y.length?y.shift():"",(I=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=I.shift(),r.host=r.hostname=I.shift())),(m=m||r.host&&y.length)&&!F&&y.unshift(""),y.length?r.pathname=y.join("/"):(r.pathname=null,r.path=null),Ld.isNull(r.pathname)&&Ld.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r},hu.prototype.parseHost=function(){var t=this.host,e=Idt.exec(t);e&&((e=e[0])!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var zL={},rue=!1;function Rdt(){if(rue)return zL;rue=!0;var t=go;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function r(o,s){for(var a="",l=0,c=-1,u=0,f,d=0;d<=o.length;++d){if(d<o.length)f=o.charCodeAt(d);else{if(f===47)break;f=47}if(f===47){if(!(c===d-1||u===1))if(c!==d-1&&u===2){if(a.length<2||l!==2||a.charCodeAt(a.length-1)!==46||a.charCodeAt(a.length-2)!==46){if(a.length>2){var p=a.lastIndexOf("/");if(p!==a.length-1){p===-1?(a="",l=0):(a=a.slice(0,p),l=a.length-1-a.lastIndexOf("/")),c=d,u=0;continue}}else if(a.length===2||a.length===1){a="",l=0,c=d,u=0;continue}}s&&(a.length>0?a+="/..":a="..",l=2)}else a.length>0?a+="/"+o.slice(c+1,d):a=o.slice(c+1,d),l=d-c-1;c=d,u=0}else f===46&&u!==-1?++u:u=-1}return a}function n(o,s){var a=s.dir||s.root,l=s.base||(s.name||"")+(s.ext||"");return a?a===s.root?a+l:a+o+l:l}var i={resolve:function(){for(var s="",a=!1,l,c=arguments.length-1;c>=-1&&!a;c--){var u;c>=0?u=arguments[c]:(l===void 0&&(l=t.cwd()),u=l),e(u),u.length!==0&&(s=u+"/"+s,a=u.charCodeAt(0)===47)}return s=r(s,!a),a?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(e(s),s.length===0)return".";var a=s.charCodeAt(0)===47,l=s.charCodeAt(s.length-1)===47;return s=r(s,!a),s.length===0&&!a&&(s="."),s.length>0&&l&&(s+="/"),a?"/"+s:s},isAbsolute:function(s){return e(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,a=0;a<arguments.length;++a){var l=arguments[a];e(l),l.length>0&&(s===void 0?s=l:s+="/"+l)}return s===void 0?".":i.normalize(s)},relative:function(s,a){if(e(s),e(a),s===a||(s=i.resolve(s),a=i.resolve(a),s===a))return"";for(var l=1;l<s.length&&s.charCodeAt(l)===47;++l);for(var c=s.length,u=c-l,f=1;f<a.length&&a.charCodeAt(f)===47;++f);for(var d=a.length,p=d-f,h=u<p?u:p,A=-1,g=0;g<=h;++g){if(g===h){if(p>h){if(a.charCodeAt(f+g)===47)return a.slice(f+g+1);if(g===0)return a.slice(f+g)}else u>h&&(s.charCodeAt(l+g)===47?A=g:g===0&&(A=0));break}var m=s.charCodeAt(l+g),v=a.charCodeAt(f+g);if(m!==v)break;m===47&&(A=g)}var y="";for(g=l+A+1;g<=c;++g)(g===c||s.charCodeAt(g)===47)&&(y.length===0?y+="..":y+="/..");return y.length>0?y+a.slice(f+A):(f+=A,a.charCodeAt(f)===47&&++f,a.slice(f))},_makeLong:function(s){return s},dirname:function(s){if(e(s),s.length===0)return".";for(var a=s.charCodeAt(0),l=a===47,c=-1,u=!0,f=s.length-1;f>=1;--f)if(a=s.charCodeAt(f),a===47){if(!u){c=f;break}}else u=!1;return c===-1?l?"/":".":l&&c===1?"//":s.slice(0,c)},basename:function(s,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');e(s);var l=0,c=-1,u=!0,f;if(a!==void 0&&a.length>0&&a.length<=s.length){if(a.length===s.length&&a===s)return"";var d=a.length-1,p=-1;for(f=s.length-1;f>=0;--f){var h=s.charCodeAt(f);if(h===47){if(!u){l=f+1;break}}else p===-1&&(u=!1,p=f+1),d>=0&&(h===a.charCodeAt(d)?--d===-1&&(c=f):(d=-1,c=p))}return l===c?c=p:c===-1&&(c=s.length),s.slice(l,c)}else{for(f=s.length-1;f>=0;--f)if(s.charCodeAt(f)===47){if(!u){l=f+1;break}}else c===-1&&(u=!1,c=f+1);return c===-1?"":s.slice(l,c)}},extname:function(s){e(s);for(var a=-1,l=0,c=-1,u=!0,f=0,d=s.length-1;d>=0;--d){var p=s.charCodeAt(d);if(p===47){if(!u){l=d+1;break}continue}c===-1&&(u=!1,c=d+1),p===46?a===-1?a=d:f!==1&&(f=1):a!==-1&&(f=-1)}return a===-1||c===-1||f===0||f===1&&a===c-1&&a===l+1?"":s.slice(a,c)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof s);return n("/",s)},parse:function(s){e(s);var a={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return a;var l=s.charCodeAt(0),c=l===47,u;c?(a.root="/",u=1):u=0;for(var f=-1,d=0,p=-1,h=!0,A=s.length-1,g=0;A>=u;--A){if(l=s.charCodeAt(A),l===47){if(!h){d=A+1;break}continue}p===-1&&(h=!1,p=A+1),l===46?f===-1?f=A:g!==1&&(g=1):f!==-1&&(g=-1)}return f===-1||p===-1||g===0||g===1&&f===p-1&&f===d+1?p!==-1&&(d===0&&c?a.base=a.name=s.slice(1,p):a.base=a.name=s.slice(d,p)):(d===0&&c?(a.name=s.slice(1,f),a.base=s.slice(1,p)):(a.name=s.slice(d,f),a.base=s.slice(d,p)),a.ext=s.slice(f,p)),d>0?a.dir=s.slice(0,d-1):c&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};return i.posix=i,zL=i,zL}var nue=Rdt();const Mdt=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0;wu.URL=typeof URL<"u"?URL:null;wu.pathToFileURL=Ydt;wu.fileURLToPath=Kdt;const _dt=92,jdt=47,Udt=97,Qdt=122,v$=Mdt==="win32",Vdt=/\//g,$dt=/%/g,Hdt=/\\/g,Gdt=/\n/g,Wdt=/\r/g,zdt=/\t/g;function Kdt(t){if(typeof t=="string")t=new URL(t);else if(!(t instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if(t.protocol!=="file:")throw new Deno.errors.InvalidData("invalid url scheme");return v$?qdt(t):Xdt(t)}function qdt(t){const e=t.hostname;let r=t.pathname;for(let n=0;n<r.length;n++)if(r[n]==="%"){const i=r.codePointAt(n+2)||32;if(r[n+1]==="2"&&i===102||r[n+1]==="5"&&i===99)throw new Deno.errors.InvalidData("must not include encoded \\ or / characters")}if(r=r.replace(Vdt,"\\"),r=decodeURIComponent(r),e!=="")return`\\\\${e}${r}`;{const n=r.codePointAt(1)|32,i=r[2];if(n<Udt||n>Qdt||i!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return r.slice(1)}}function Xdt(t){if(t.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");const e=t.pathname;for(let r=0;r<e.length;r++)if(e[r]==="%"){const n=e.codePointAt(r+2)||32;if(e[r+1]==="2"&&n===102)throw new Deno.errors.InvalidData("must not include encoded / characters")}return decodeURIComponent(e)}function Ydt(t){let e=nue.resolve(t);const r=t.charCodeAt(t.length-1);(r===jdt||v$&&r===_dt)&&e[e.length-1]!==nue.sep&&(e+="/");const n=new URL("file://");return e.includes("%")&&(e=e.replace($dt,"%25")),!v$&&e.includes("\\")&&(e=e.replace(Hdt,"%5C")),e.includes(` `)&&(e=e.replace(Gdt,"%0A")),e.includes("\r")&&(e=e.replace(Wdt,"%0D")),e.includes(" ")&&(e=e.replace(zdt,"%09")),n.pathname=e,n}const Jdt=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0;wu.URL=typeof URL<"u"?URL:null;wu.pathToFileURL=dpt;wu.fileURLToPath=cpt;const Zdt=92,ept=47,tpt=97,rpt=122,y$=Jdt==="win32",npt=/\//g,ipt=/%/g,opt=/\\/g,spt=/\n/g,apt=/\r/g,lpt=/\t/g;function cpt(t){if(typeof t=="string")t=new URL(t);else if(!(t instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if(t.protocol!=="file:")throw new Deno.errors.InvalidData("invalid url scheme");return y$?upt(t):fpt(t)}function upt(t){const e=t.hostname;let r=t.pathname;for(let n=0;n<r.length;n++)if(r[n]==="%"){const i=r.codePointAt(n+2)||32;if(r[n+1]==="2"&&i===102||r[n+1]==="5"&&i===99)throw new Deno.errors.InvalidData("must not include encoded \\ or / characters")}if(r=r.replace(npt,"\\"),r=decodeURIComponent(r),e!=="")return`\\\\${e}${r}`;{const n=r.codePointAt(1)|32,i=r[2];if(n<tpt||n>rpt||i!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return r.slice(1)}}function fpt(t){if(t.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");const e=t.pathname;for(let r=0;r<e.length;r++)if(e[r]==="%"){const n=e.codePointAt(r+2)||32;if(e[r+1]==="2"&&n===102)throw new Deno.errors.InvalidData("must not include encoded / characters")}return decodeURIComponent(e)}function dpt(t){let e=ia.resolve(t);const r=t.charCodeAt(t.length-1);(r===ept||y$&&r===Zdt)&&e[e.length-1]!==ia.sep&&(e+="/");const n=new URL("file://");return e.includes("%")&&(e=e.replace(ipt,"%25")),!y$&&e.includes("\\")&&(e=e.replace(opt,"%5C")),e.includes(` `)&&(e=e.replace(spt,"%0A")),e.includes("\r")&&(e=e.replace(apt,"%0D")),e.includes(" ")&&(e=e.replace(lpt,"%09")),n.pathname=e,n}var aSe,lSe,L2=typeof Reflect=="object"?Reflect:null,iue=L2&&typeof L2.apply=="function"?L2.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};lSe=L2&&typeof L2.ownKeys=="function"?L2.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var oue=Number.isNaN||function(t){return t!=t};function Ti(){Ti.init.call(this)}aSe=Ti,Ti.EventEmitter=Ti,Ti.prototype._events=void 0,Ti.prototype._eventsCount=0,Ti.prototype._maxListeners=void 0;var sue=10;function fD(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function cSe(t){return t._maxListeners===void 0?Ti.defaultMaxListeners:t._maxListeners}function aue(t,e,r,n){var i,o,s,a;if(fD(r),(o=t._events)===void 0?(o=t._events=Object.create(null),t._eventsCount=0):(o.newListener!==void 0&&(t.emit("newListener",e,r.listener?r.listener:r),o=t._events),s=o[e]),s===void 0)s=o[e]=r,++t._eventsCount;else if(typeof s=="function"?s=o[e]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),(i=cSe(t))>0&&s.length>i&&!s.warned){s.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=t,l.type=e,l.count=s.length,a=l,console&&console.warn&&console.warn(a)}return t}function ppt(){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 lue(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},i=ppt.bind(n);return i.listener=r,n.wrapFn=i,i}function cue(t,e,r){var n=t._events;if(n===void 0)return[];var i=n[e];return i===void 0?[]:typeof i=="function"?r?[i.listener||i]:[i]:r?function(o){for(var s=new Array(o.length),a=0;a<s.length;++a)s[a]=o[a].listener||o[a];return s}(i):uSe(i,i.length)}function uue(t){var e=this._events;if(e!==void 0){var r=e[t];if(typeof r=="function")return 1;if(r!==void 0)return r.length}return 0}function uSe(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t[n];return r}Object.defineProperty(Ti,"defaultMaxListeners",{enumerable:!0,get:function(){return sue},set:function(t){if(typeof t!="number"||t<0||oue(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");sue=t}}),Ti.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},Ti.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||oue(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},Ti.prototype.getMaxListeners=function(){return cSe(this)},Ti.prototype.emit=function(t){for(var e=[],r=1;r<arguments.length;r++)e.push(arguments[r]);var n=t==="error",i=this._events;if(i!==void 0)n=n&&i.error===void 0;else if(!n)return!1;if(n){var o;if(e.length>0&&(o=e[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var a=i[t];if(a===void 0)return!1;if(typeof a=="function")iue(a,this,e);else{var l=a.length,c=uSe(a,l);for(r=0;r<l;++r)iue(c[r],this,e)}return!0},Ti.prototype.addListener=function(t,e){return aue(this,t,e,!1)},Ti.prototype.on=Ti.prototype.addListener,Ti.prototype.prependListener=function(t,e){return aue(this,t,e,!0)},Ti.prototype.once=function(t,e){return fD(e),this.on(t,lue(this,t,e)),this},Ti.prototype.prependOnceListener=function(t,e){return fD(e),this.prependListener(t,lue(this,t,e)),this},Ti.prototype.removeListener=function(t,e){var r,n,i,o,s;if(fD(e),(n=this._events)===void 0)return this;if((r=n[t])===void 0)return this;if(r===e||r.listener===e)--this._eventsCount==0?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if(typeof r!="function"){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===e||r[o].listener===e){s=r[o].listener,i=o;break}if(i<0)return this;i===0?r.shift():function(a,l){for(;l+1<a.length;l++)a[l]=a[l+1];a.pop()}(r,i),r.length===1&&(n[t]=r[0]),n.removeListener!==void 0&&this.emit("removeListener",t,s||e)}return this},Ti.prototype.off=Ti.prototype.removeListener,Ti.prototype.removeAllListeners=function(t){var e,r,n;if((r=this._events)===void 0)return this;if(r.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):r[t]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete r[t]),this;if(arguments.length===0){var i,o=Object.keys(r);for(n=0;n<o.length;++n)(i=o[n])!=="removeListener"&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(typeof(e=r[t])=="function")this.removeListener(t,e);else if(e!==void 0)for(n=e.length-1;n>=0;n--)this.removeListener(t,e[n]);return this},Ti.prototype.listeners=function(t){return cue(this,t,!0)},Ti.prototype.rawListeners=function(t){return cue(this,t,!1)},Ti.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):uue.call(t,e)},Ti.prototype.listenerCount=uue,Ti.prototype.eventNames=function(){return this._eventsCount>0?lSe(this._events):[]};var Dl=aSe;Dl.EventEmitter;Dl.defaultMaxListeners;Dl.init;Dl.listenerCount;Dl.EventEmitter;Dl.defaultMaxListeners;Dl.init;Dl.listenerCount;Dl.once=function(t,e){return new Promise((r,n)=>{function i(...s){o!==void 0&&t.removeListener("error",o),r(s)}let o;e!=="error"&&(o=s=>{t.removeListener(name,i),n(s)},t.once("error",o)),t.once(e,i)})};Dl.on=function(t,e){const r=[],n=[];let i=null,o=!1;const s={async next(){const c=r.shift();if(c)return createIterResult(c,!1);if(i){const u=Promise.reject(i);return i=null,u}return o?createIterResult(void 0,!0):new Promise((u,f)=>n.push({resolve:u,reject:f}))},async return(){t.removeListener(e,a),t.removeListener("error",l),o=!0;for(const c of n)c.resolve(createIterResult(void 0,!0));return createIterResult(void 0,!0)},throw(c){i=c,t.removeListener(e,a),t.removeListener("error",l)},[Symbol.asyncIterator](){return this}};return t.on(e,a),t.on("error",l),s;function a(...c){const u=n.shift();u?u.resolve(createIterResult(c,!1)):r.push(c)}function l(c){o=!0;const u=n.shift();u?u.reject(c):i=c,s.return()}};for(var Apt={byteLength:function(t){var e=fue(t),r=e[0],n=e[1];return 3*(r+n)/4-n},toByteArray:function(t){var e,r,n=fue(t),i=n[0],o=n[1],s=new hpt(function(c,u,f){return 3*(u+f)/4-f}(0,i,o)),a=0,l=o>0?i-4:i;for(r=0;r<l;r+=4)e=cu[t.charCodeAt(r)]<<18|cu[t.charCodeAt(r+1)]<<12|cu[t.charCodeAt(r+2)]<<6|cu[t.charCodeAt(r+3)],s[a++]=e>>16&255,s[a++]=e>>8&255,s[a++]=255&e;return o===2&&(e=cu[t.charCodeAt(r)]<<2|cu[t.charCodeAt(r+1)]>>4,s[a++]=255&e),o===1&&(e=cu[t.charCodeAt(r)]<<10|cu[t.charCodeAt(r+1)]<<4|cu[t.charCodeAt(r+2)]>>2,s[a++]=e>>8&255,s[a++]=255&e),s},fromByteArray:function(t){for(var e,r=t.length,n=r%3,i=[],o=0,s=r-n;o<s;o+=16383)i.push(gpt(t,o,o+16383>s?s:o+16383));return n===1?(e=t[r-1],i.push(Hd[e>>2]+Hd[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(Hd[e>>10]+Hd[e>>4&63]+Hd[e<<2&63]+"=")),i.join("")}},Hd=[],cu=[],hpt=typeof Uint8Array<"u"?Uint8Array:Array,KL="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",sy=0,mpt=KL.length;sy<mpt;++sy)Hd[sy]=KL[sy],cu[KL.charCodeAt(sy)]=sy;function fue(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return r===-1&&(r=e),[r,r===e?0:4-r%4]}function gpt(t,e,r){for(var n,i,o=[],s=e;s<r;s+=3)n=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),o.push(Hd[(i=n)>>18&63]+Hd[i>>12&63]+Hd[i>>6&63]+Hd[63&i]);return o.join("")}cu["-".charCodeAt(0)]=62,cu["_".charCodeAt(0)]=63;var vpt={read:function(t,e,r,n,i){var o,s,a=8*i-n-1,l=(1<<a)-1,c=l>>1,u=-7,f=r?i-1:0,d=r?-1:1,p=t[e+f];for(f+=d,o=p&(1<<-u)-1,p>>=-u,u+=a;u>0;o=256*o+t[e+f],f+=d,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=n;u>0;s=256*s+t[e+f],f+=d,u-=8);if(o===0)o=1-c;else{if(o===l)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),o-=c}return(p?-1:1)*s*Math.pow(2,o-n)},write:function(t,e,r,n,i,o){var s,a,l,c=8*o-i-1,u=(1<<c)-1,f=u>>1,d=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,h=n?1:-1,A=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=u):(s=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-s))<1&&(s--,l*=2),(e+=s+f>=1?d/l:d*Math.pow(2,1-f))*l>=2&&(s++,l/=2),s+f>=u?(a=0,s=u):s+f>=1?(a=(e*l-1)*Math.pow(2,i),s+=f):(a=e*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;t[r+p]=255&a,p+=h,a/=256,i-=8);for(s=s<<i|a,c+=i;c>0;t[r+p]=255&s,p+=h,s/=256,c-=8);t[r+p-h]|=128*A}},QA={},B$=Apt,c2=vpt,due=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;QA.Buffer=Mt,QA.SlowBuffer=function(t){return+t!=t&&(t=0),Mt.alloc(+t)},QA.INSPECT_MAX_BYTES=50;function NA(t){if(t>2147483647)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,Mt.prototype),e}function Mt(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return C$(t)}return fSe(t,e,r)}function fSe(t,e,r){if(typeof t=="string")return function(o,s){if(typeof s=="string"&&s!==""||(s="utf8"),!Mt.isEncoding(s))throw new TypeError("Unknown encoding: "+s);var a=0|pSe(o,s),l=NA(a),c=l.write(o,s);return c!==a&&(l=l.slice(0,c)),l}(t,e);if(ArrayBuffer.isView(t))return qL(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(FA(t,ArrayBuffer)||t&&FA(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(FA(t,SharedArrayBuffer)||t&&FA(t.buffer,SharedArrayBuffer)))return pue(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return Mt.from(n,e,r);var i=function(o){if(Mt.isBuffer(o)){var s=0|AJ(o.length),a=NA(s);return a.length===0||o.copy(a,0,0,s),a}if(o.length!==void 0)return typeof o.length!="number"||hJ(o.length)?NA(0):qL(o);if(o.type==="Buffer"&&Array.isArray(o.data))return qL(o.data)}(t);if(i)return i;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return Mt.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function dSe(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function C$(t){return dSe(t),NA(t<0?0:0|AJ(t))}function qL(t){for(var e=t.length<0?0:0|AJ(t.length),r=NA(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}function pue(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return n=e===void 0&&r===void 0?new Uint8Array(t):r===void 0?new Uint8Array(t,e):new Uint8Array(t,e,r),Object.setPrototypeOf(n,Mt.prototype),n}function AJ(t){if(t>=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 2147483647 bytes");return 0|t}function pSe(t,e){if(Mt.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||FA(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return b$(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return gSe(t).length;default:if(i)return n?-1:b$(t).length;e=(""+e).toLowerCase(),i=!0}}function ypt(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return kpt(this,e,r);case"utf8":case"utf-8":return hSe(this,e,r);case"ascii":return Ept(this,e,r);case"latin1":case"binary":return Dpt(this,e,r);case"base64":return Spt(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Opt(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function Bg(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function Aue(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),hJ(r=+r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if(typeof e=="string"&&(e=Mt.from(e,n)),Mt.isBuffer(e))return e.length===0?-1:hue(t,e,r,n,i);if(typeof e=="number")return e&=255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):hue(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function hue(t,e,r,n,i){var o,s=1,a=t.length,l=e.length;if(n!==void 0&&((n=String(n).toLowerCase())==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;s=2,a/=2,l/=2,r/=2}function c(p,h){return s===1?p[h]:p.readUInt16BE(h*s)}if(i){var u=-1;for(o=r;o<a;o++)if(c(t,o)===c(e,u===-1?0:o-u)){if(u===-1&&(u=o),o-u+1===l)return u*s}else u!==-1&&(o-=o-u),u=-1}else for(r+l>a&&(r=a-l),o=r;o>=0;o--){for(var f=!0,d=0;d<l;d++)if(c(t,o+d)!==c(e,d)){f=!1;break}if(f)return o}return-1}function Bpt(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=e.length;n>o/2&&(n=o/2);for(var s=0;s<n;++s){var a=parseInt(e.substr(2*s,2),16);if(hJ(a))return s;t[r+s]=a}return s}function Cpt(t,e,r,n){return jI(b$(e,t.length-r),t,r,n)}function ASe(t,e,r,n){return jI(function(i){for(var o=[],s=0;s<i.length;++s)o.push(255&i.charCodeAt(s));return o}(e),t,r,n)}function bpt(t,e,r,n){return ASe(t,e,r,n)}function wpt(t,e,r,n){return jI(gSe(e),t,r,n)}function xpt(t,e,r,n){return jI(function(i,o){for(var s,a,l,c=[],u=0;u<i.length&&!((o-=2)<0);++u)s=i.charCodeAt(u),a=s>>8,l=s%256,c.push(l),c.push(a);return c}(e,t.length-r),t,r,n)}function Spt(t,e,r){return e===0&&r===t.length?B$.fromByteArray(t):B$.fromByteArray(t.slice(e,r))}function hSe(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o,s,a,l,c=t[i],u=null,f=c>239?4:c>223?3:c>191?2:1;if(i+f<=r)switch(f){case 1:c<128&&(u=c);break;case 2:(192&(o=t[i+1]))==128&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=t[i+1],s=t[i+2],(192&o)==128&&(192&s)==128&&(l=(15&c)<<12|(63&o)<<6|63&s)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=t[i+1],s=t[i+2],a=t[i+3],(192&o)==128&&(192&s)==128&&(192&a)==128&&(l=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&l<1114112&&(u=l)}u===null?(u=65533,f=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),i+=f}return function(d){var p=d.length;if(p<=4096)return String.fromCharCode.apply(String,d);for(var h="",A=0;A<p;)h+=String.fromCharCode.apply(String,d.slice(A,A+=4096));return h}(n)}QA.kMaxLength=2147483647,Mt.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch{return!1}}(),Mt.TYPED_ARRAY_SUPPORT||typeof console>"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(Mt.prototype,"parent",{enumerable:!0,get:function(){if(Mt.isBuffer(this))return this.buffer}}),Object.defineProperty(Mt.prototype,"offset",{enumerable:!0,get:function(){if(Mt.isBuffer(this))return this.byteOffset}}),Mt.poolSize=8192,Mt.from=function(t,e,r){return fSe(t,e,r)},Object.setPrototypeOf(Mt.prototype,Uint8Array.prototype),Object.setPrototypeOf(Mt,Uint8Array),Mt.alloc=function(t,e,r){return function(n,i,o){return dSe(n),n<=0?NA(n):i!==void 0?typeof o=="string"?NA(n).fill(i,o):NA(n).fill(i):NA(n)}(t,e,r)},Mt.allocUnsafe=function(t){return C$(t)},Mt.allocUnsafeSlow=function(t){return C$(t)},Mt.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==Mt.prototype},Mt.compare=function(t,e){if(FA(t,Uint8Array)&&(t=Mt.from(t,t.offset,t.byteLength)),FA(e,Uint8Array)&&(e=Mt.from(e,e.offset,e.byteLength)),!Mt.isBuffer(t)||!Mt.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0},Mt.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Mt.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return Mt.alloc(0);var r;if(e===void 0)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=Mt.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var o=t[r];if(FA(o,Uint8Array)&&(o=Mt.from(o)),!Mt.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},Mt.byteLength=pSe,Mt.prototype._isBuffer=!0,Mt.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)Bg(this,e,e+1);return this},Mt.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)Bg(this,e,e+3),Bg(this,e+1,e+2);return this},Mt.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)Bg(this,e,e+7),Bg(this,e+1,e+6),Bg(this,e+2,e+5),Bg(this,e+3,e+4);return this},Mt.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?hSe(this,0,t):ypt.apply(this,arguments)},Mt.prototype.toLocaleString=Mt.prototype.toString,Mt.prototype.equals=function(t){if(!Mt.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||Mt.compare(this,t)===0},Mt.prototype.inspect=function(){var t="",e=QA.INSPECT_MAX_BYTES;return t=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(t+=" ... "),"<Buffer "+t+">"},due&&(Mt.prototype[due]=Mt.prototype.inspect),Mt.prototype.compare=function(t,e,r,n,i){if(FA(t,Uint8Array)&&(t=Mt.from(t,t.offset,t.byteLength)),!Mt.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(e===void 0&&(e=0),r===void 0&&(r=t?t.length:0),n===void 0&&(n=0),i===void 0&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(e>>>=0),a=Math.min(o,s),l=this.slice(n,i),c=t.slice(e,r),u=0;u<a;++u)if(l[u]!==c[u]){o=l[u],s=c[u];break}return o<s?-1:s<o?1:0},Mt.prototype.includes=function(t,e,r){return this.indexOf(t,e,r)!==-1},Mt.prototype.indexOf=function(t,e,r){return Aue(this,t,e,r,!0)},Mt.prototype.lastIndexOf=function(t,e,r){return Aue(this,t,e,r,!1)},Mt.prototype.write=function(t,e,r,n){if(e===void 0)n="utf8",r=this.length,e=0;else if(r===void 0&&typeof e=="string")n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,n===void 0&&(n="utf8")):(n=r,r=void 0)}var i=this.length-e;if((r===void 0||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return Bpt(this,t,e,r);case"utf8":case"utf-8":return Cpt(this,t,e,r);case"ascii":return ASe(this,t,e,r);case"latin1":case"binary":return bpt(this,t,e,r);case"base64":return wpt(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xpt(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},Mt.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ept(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function Dpt(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function kpt(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Ipt[t[o]];return i}function Opt(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function $s(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function Rl(t,e,r,n,i,o){if(!Mt.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function mSe(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function mue(t,e,r,n,i){return e=+e,r>>>=0,i||mSe(t,0,r,4),c2.write(t,e,r,n,23,4),r+4}function gue(t,e,r,n,i){return e=+e,r>>>=0,i||mSe(t,0,r,8),c2.write(t,e,r,n,52,8),r+8}Mt.prototype.slice=function(t,e){var r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=e===void 0?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var n=this.subarray(t,e);return Object.setPrototypeOf(n,Mt.prototype),n},Mt.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||$s(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n},Mt.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||$s(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},Mt.prototype.readUInt8=function(t,e){return t>>>=0,e||$s(t,1,this.length),this[t]},Mt.prototype.readUInt16LE=function(t,e){return t>>>=0,e||$s(t,2,this.length),this[t]|this[t+1]<<8},Mt.prototype.readUInt16BE=function(t,e){return t>>>=0,e||$s(t,2,this.length),this[t]<<8|this[t+1]},Mt.prototype.readUInt32LE=function(t,e){return t>>>=0,e||$s(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},Mt.prototype.readUInt32BE=function(t,e){return t>>>=0,e||$s(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},Mt.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||$s(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},Mt.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||$s(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},Mt.prototype.readInt8=function(t,e){return t>>>=0,e||$s(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},Mt.prototype.readInt16LE=function(t,e){t>>>=0,e||$s(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},Mt.prototype.readInt16BE=function(t,e){t>>>=0,e||$s(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},Mt.prototype.readInt32LE=function(t,e){return t>>>=0,e||$s(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},Mt.prototype.readInt32BE=function(t,e){return t>>>=0,e||$s(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},Mt.prototype.readFloatLE=function(t,e){return t>>>=0,e||$s(t,4,this.length),c2.read(this,t,!0,23,4)},Mt.prototype.readFloatBE=function(t,e){return t>>>=0,e||$s(t,4,this.length),c2.read(this,t,!1,23,4)},Mt.prototype.readDoubleLE=function(t,e){return t>>>=0,e||$s(t,8,this.length),c2.read(this,t,!0,52,8)},Mt.prototype.readDoubleBE=function(t,e){return t>>>=0,e||$s(t,8,this.length),c2.read(this,t,!1,52,8)},Mt.prototype.writeUIntLE=function(t,e,r,n){t=+t,e>>>=0,r>>>=0,n||Rl(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[e]=255&t;++o<r&&(i*=256);)this[e+o]=t/i&255;return e+r},Mt.prototype.writeUIntBE=function(t,e,r,n){t=+t,e>>>=0,r>>>=0,n||Rl(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},Mt.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||Rl(this,t,e,1,255,0),this[e]=255&t,e+1},Mt.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||Rl(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},Mt.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||Rl(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},Mt.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||Rl(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},Mt.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||Rl(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},Mt.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);Rl(this,t,e,r,i-1,-i)}var o=0,s=1,a=0;for(this[e]=255&t;++o<r&&(s*=256);)t<0&&a===0&&this[e+o-1]!==0&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+r},Mt.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);Rl(this,t,e,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[e+o]=255&t;--o>=0&&(s*=256);)t<0&&a===0&&this[e+o+1]!==0&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+r},Mt.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||Rl(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},Mt.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||Rl(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},Mt.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||Rl(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},Mt.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||Rl(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},Mt.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||Rl(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},Mt.prototype.writeFloatLE=function(t,e,r){return mue(this,t,e,!0,r)},Mt.prototype.writeFloatBE=function(t,e,r){return mue(this,t,e,!1,r)},Mt.prototype.writeDoubleLE=function(t,e,r){return gue(this,t,e,!0,r)},Mt.prototype.writeDoubleBE=function(t,e,r){return gue(this,t,e,!1,r)},Mt.prototype.copy=function(t,e,r,n){if(!Mt.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||n===0||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r||t.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var i=n-r;if(this===t&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(e,r,n);else if(this===t&&r<e&&e<n)for(var o=i-1;o>=0;--o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,n),e);return i},Mt.prototype.fill=function(t,e,r,n){if(typeof t=="string"){if(typeof e=="string"?(n=e,e=0,r=this.length):typeof r=="string"&&(n=r,r=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!Mt.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(t.length===1){var i=t.charCodeAt(0);(n==="utf8"&&i<128||n==="latin1")&&(t=i)}}else typeof t=="number"?t&=255:typeof t=="boolean"&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var o;if(e>>>=0,r=r===void 0?this.length:r>>>0,t||(t=0),typeof t=="number")for(o=e;o<r;++o)this[o]=t;else{var s=Mt.isBuffer(t)?t:Mt.from(t,n),a=s.length;if(a===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<r-e;++o)this[o+e]=s[o%a]}return this};var Ppt=/[^+/0-9A-Za-z-_]/g;function b$(t,e){var r;e=e||1/0;for(var n=t.length,i=null,o=[],s=0;s<n;++s){if((r=t.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function gSe(t){return B$.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(Ppt,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(t))}function jI(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function FA(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function hJ(t){return t!=t}var Ipt=function(){for(var t=new Array(256),e=0;e<16;++e)for(var r=16*e,n=0;n<16;++n)t[r+n]="0123456789abcdef"[e]+"0123456789abcdef"[n];return t}();QA.Buffer;QA.INSPECT_MAX_BYTES;QA.kMaxLength;var dD={},pD=QA,Od=pD.Buffer;function vue(t,e){for(var r in t)e[r]=t[r]}function Cg(t,e,r){return Od(t,e,r)}Od.from&&Od.alloc&&Od.allocUnsafe&&Od.allocUnsafeSlow?dD=pD:(vue(pD,dD),dD.Buffer=Cg),Cg.prototype=Object.create(Od.prototype),vue(Od,Cg),Cg.from=function(t,e,r){if(typeof t=="number")throw new TypeError("Argument must not be a number");return Od(t,e,r)},Cg.alloc=function(t,e,r){if(typeof t!="number")throw new TypeError("Argument must be a number");var n=Od(t);return e!==void 0?typeof r=="string"?n.fill(e,r):n.fill(e):n.fill(0),n},Cg.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return Od(t)},Cg.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return pD.SlowBuffer(t)};var Npt=dD,w$={},x$=Npt.Buffer,yue=x$.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function zb(t){var e;switch(this.encoding=function(r){var n=function(i){if(!i)return"utf8";for(var o;;)switch(i){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return i;default:if(o)return;i=(""+i).toLowerCase(),o=!0}}(r);if(typeof n!="string"&&(x$.isEncoding===yue||!yue(r)))throw new Error("Unknown encoding: "+r);return n||r}(t),this.encoding){case"utf16le":this.text=Tpt,this.end=Lpt,e=4;break;case"utf8":this.fillLast=Fpt,e=4;break;case"base64":this.text=Rpt,this.end=Mpt,e=3;break;default:return this.write=_pt,this.end=jpt,void 0}this.lastNeed=0,this.lastTotal=0,this.lastChar=x$.allocUnsafe(e)}function XL(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function Fpt(t){var e=this.lastTotal-this.lastNeed,r=function(n,i,o){if((192&i[0])!=128)return n.lastNeed=0,"�";if(n.lastNeed>1&&i.length>1){if((192&i[1])!=128)return n.lastNeed=1,"�";if(n.lastNeed>2&&i.length>2&&(192&i[2])!=128)return n.lastNeed=2,"�"}}(this,t);return r!==void 0?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length,void 0)}function Tpt(t,e){if((t.length-e)%2==0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function Lpt(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function Rpt(t,e){var r=(t.length-e)%3;return r===0?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function Mpt(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function _pt(t){return t.toString(this.encoding)}function jpt(t){return t&&t.length?this.write(t):""}w$.StringDecoder=zb,zb.prototype.write=function(t){if(t.length===0)return"";var e,r;if(this.lastNeed){if((e=this.fillLast(t))===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""},zb.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e},zb.prototype.text=function(t,e){var r=function(i,o,s){var a=o.length-1;if(a<s)return 0;var l=XL(o[a]);return l>=0?(l>0&&(i.lastNeed=l-1),l):--a<s||l===-2?0:(l=XL(o[a]))>=0?(l>0&&(i.lastNeed=l-2),l):--a<s||l===-2?0:(l=XL(o[a]))>=0?(l>0&&(l===2?l=0:i.lastNeed=l-3),l):0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)},zb.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length};var Kb={},Bue=!1;function Upt(){if(Bue)return Kb;Bue=!0,Kb.byteLength=a,Kb.toByteArray=c,Kb.fromByteArray=d;for(var t=[],e=[],r=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,o=n.length;i<o;++i)t[i]=n[i],e[n.charCodeAt(i)]=i;e["-".charCodeAt(0)]=62,e["_".charCodeAt(0)]=63;function s(p){var h=p.length;if(h%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var A=p.indexOf("=");A===-1&&(A=h);var g=A===h?0:4-A%4;return[A,g]}function a(p){var h=s(p),A=h[0],g=h[1];return(A+g)*3/4-g}function l(p,h,A){return(h+A)*3/4-A}function c(p){var h,A=s(p),g=A[0],m=A[1],v=new r(l(p,g,m)),y=0,b=m>0?g-4:g,B;for(B=0;B<b;B+=4)h=e[p.charCodeAt(B)]<<18|e[p.charCodeAt(B+1)]<<12|e[p.charCodeAt(B+2)]<<6|e[p.charCodeAt(B+3)],v[y++]=h>>16&255,v[y++]=h>>8&255,v[y++]=h&255;return m===2&&(h=e[p.charCodeAt(B)]<<2|e[p.charCodeAt(B+1)]>>4,v[y++]=h&255),m===1&&(h=e[p.charCodeAt(B)]<<10|e[p.charCodeAt(B+1)]<<4|e[p.charCodeAt(B+2)]>>2,v[y++]=h>>8&255,v[y++]=h&255),v}function u(p){return t[p>>18&63]+t[p>>12&63]+t[p>>6&63]+t[p&63]}function f(p,h,A){for(var g,m=[],v=h;v<A;v+=3)g=(p[v]<<16&16711680)+(p[v+1]<<8&65280)+(p[v+2]&255),m.push(u(g));return m.join("")}function d(p){for(var h,A=p.length,g=A%3,m=[],v=16383,y=0,b=A-g;y<b;y+=v)m.push(f(p,y,y+v>b?b:y+v));return g===1?(h=p[A-1],m.push(t[h>>2]+t[h<<4&63]+"==")):g===2&&(h=(p[A-2]<<8)+p[A-1],m.push(t[h>>10]+t[h>>4&63]+t[h<<2&63]+"=")),m.join("")}return Kb}var S6={},Cue=!1;function Qpt(){if(Cue)return S6;Cue=!0;/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */return S6.read=function(t,e,r,n,i){var o,s,a=i*8-n-1,l=(1<<a)-1,c=l>>1,u=-7,f=r?i-1:0,d=r?-1:1,p=t[e+f];for(f+=d,o=p&(1<<-u)-1,p>>=-u,u+=a;u>0;o=o*256+t[e+f],f+=d,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=n;u>0;s=s*256+t[e+f],f+=d,u-=8);if(o===0)o=1-c;else{if(o===l)return s?NaN:(p?-1:1)*(1/0);s=s+Math.pow(2,n),o=o-c}return(p?-1:1)*s*Math.pow(2,o-n)},S6.write=function(t,e,r,n,i,o){var s,a,l,c=o*8-i-1,u=(1<<c)-1,f=u>>1,d=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,h=n?1:-1,A=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=u):(s=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+f>=1?e+=d/l:e+=d*Math.pow(2,1-f),e*l>=2&&(s++,l/=2),s+f>=u?(a=0,s=u):s+f>=1?(a=(e*l-1)*Math.pow(2,i),s=s+f):(a=e*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;t[r+p]=a&255,p+=h,a/=256,i-=8);for(s=s<<i|a,c+=i;c>0;t[r+p]=s&255,p+=h,s/=256,c-=8);t[r+p-h]|=A*128},S6}var bg={},bue=!1;function Vpt(){if(bue)return bg;bue=!0;const t=Upt(),e=Qpt(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;bg.Buffer=s,bg.SlowBuffer=m,bg.INSPECT_MAX_BYTES=50;const n=2147483647;bg.kMaxLength=n,s.TYPED_ARRAY_SUPPORT=i(),!s.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function i(){try{const U=new Uint8Array(1),D={foo:function(){return 42}};return Object.setPrototypeOf(D,Uint8Array.prototype),Object.setPrototypeOf(U,D),U.foo()===42}catch{return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}});function o(U){if(U>n)throw new RangeError('The value "'+U+'" is invalid for option "size"');const D=new Uint8Array(U);return Object.setPrototypeOf(D,s.prototype),D}function s(U,D,N){if(typeof U=="number"){if(typeof D=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return u(U)}return a(U,D,N)}s.poolSize=8192;function a(U,D,N){if(typeof U=="string")return f(U,D);if(ArrayBuffer.isView(U))return p(U);if(U==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof U);if(Ve(U,ArrayBuffer)||U&&Ve(U.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ve(U,SharedArrayBuffer)||U&&Ve(U.buffer,SharedArrayBuffer)))return h(U,D,N);if(typeof U=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const Y=U.valueOf&&U.valueOf();if(Y!=null&&Y!==U)return s.from(Y,D,N);const pe=A(U);if(pe)return pe;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof U[Symbol.toPrimitive]=="function")return s.from(U[Symbol.toPrimitive]("string"),D,N);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof U)}s.from=function(U,D,N){return a(U,D,N)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array);function l(U){if(typeof U!="number")throw new TypeError('"size" argument must be of type number');if(U<0)throw new RangeError('The value "'+U+'" is invalid for option "size"')}function c(U,D,N){return l(U),U<=0?o(U):D!==void 0?typeof N=="string"?o(U).fill(D,N):o(U).fill(D):o(U)}s.alloc=function(U,D,N){return c(U,D,N)};function u(U){return l(U),o(U<0?0:g(U)|0)}s.allocUnsafe=function(U){return u(U)},s.allocUnsafeSlow=function(U){return u(U)};function f(U,D){if((typeof D!="string"||D==="")&&(D="utf8"),!s.isEncoding(D))throw new TypeError("Unknown encoding: "+D);const N=v(U,D)|0;let Y=o(N);const pe=Y.write(U,D);return pe!==N&&(Y=Y.slice(0,pe)),Y}function d(U){const D=U.length<0?0:g(U.length)|0,N=o(D);for(let Y=0;Y<D;Y+=1)N[Y]=U[Y]&255;return N}function p(U){if(Ve(U,Uint8Array)){const D=new Uint8Array(U);return h(D.buffer,D.byteOffset,D.byteLength)}return d(U)}function h(U,D,N){if(D<0||U.byteLength<D)throw new RangeError('"offset" is outside of buffer bounds');if(U.byteLength<D+(N||0))throw new RangeError('"length" is outside of buffer bounds');let Y;return D===void 0&&N===void 0?Y=new Uint8Array(U):N===void 0?Y=new Uint8Array(U,D):Y=new Uint8Array(U,D,N),Object.setPrototypeOf(Y,s.prototype),Y}function A(U){if(s.isBuffer(U)){const D=g(U.length)|0,N=o(D);return N.length===0||U.copy(N,0,0,D),N}if(U.length!==void 0)return typeof U.length!="number"||ze(U.length)?o(0):d(U);if(U.type==="Buffer"&&Array.isArray(U.data))return d(U.data)}function g(U){if(U>=n)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n.toString(16)+" bytes");return U|0}function m(U){return+U!=U&&(U=0),s.alloc(+U)}s.isBuffer=function(D){return D!=null&&D._isBuffer===!0&&D!==s.prototype},s.compare=function(D,N){if(Ve(D,Uint8Array)&&(D=s.from(D,D.offset,D.byteLength)),Ve(N,Uint8Array)&&(N=s.from(N,N.offset,N.byteLength)),!s.isBuffer(D)||!s.isBuffer(N))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(D===N)return 0;let Y=D.length,pe=N.length;for(let be=0,_e=Math.min(Y,pe);be<_e;++be)if(D[be]!==N[be]){Y=D[be],pe=N[be];break}return Y<pe?-1:pe<Y?1:0},s.isEncoding=function(D){switch(String(D).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(D,N){if(!Array.isArray(D))throw new TypeError('"list" argument must be an Array of Buffers');if(D.length===0)return s.alloc(0);let Y;if(N===void 0)for(N=0,Y=0;Y<D.length;++Y)N+=D[Y].length;const pe=s.allocUnsafe(N);let be=0;for(Y=0;Y<D.length;++Y){let _e=D[Y];if(Ve(_e,Uint8Array))be+_e.length>pe.length?(s.isBuffer(_e)||(_e=s.from(_e)),_e.copy(pe,be)):Uint8Array.prototype.set.call(pe,_e,be);else if(s.isBuffer(_e))_e.copy(pe,be);else throw new TypeError('"list" argument must be an Array of Buffers');be+=_e.length}return pe};function v(U,D){if(s.isBuffer(U))return U.length;if(ArrayBuffer.isView(U)||Ve(U,ArrayBuffer))return U.byteLength;if(typeof U!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof U);const N=U.length,Y=arguments.length>2&&arguments[2]===!0;if(!Y&&N===0)return 0;let pe=!1;for(;;)switch(D){case"ascii":case"latin1":case"binary":return N;case"utf8":case"utf-8":return ue(U).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N*2;case"hex":return N>>>1;case"base64":return Re(U).length;default:if(pe)return Y?-1:ue(U).length;D=(""+D).toLowerCase(),pe=!0}}s.byteLength=v;function y(U,D,N){let Y=!1;if((D===void 0||D<0)&&(D=0),D>this.length||((N===void 0||N>this.length)&&(N=this.length),N<=0)||(N>>>=0,D>>>=0,N<=D))return"";for(U||(U="utf8");;)switch(U){case"hex":return R(this,D,N);case"utf8":case"utf-8":return L(this,D,N);case"ascii":return V(this,D,N);case"latin1":case"binary":return j(this,D,N);case"base64":return O(this,D,N);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Q(this,D,N);default:if(Y)throw new TypeError("Unknown encoding: "+U);U=(U+"").toLowerCase(),Y=!0}}s.prototype._isBuffer=!0;function b(U,D,N){const Y=U[D];U[D]=U[N],U[N]=Y}s.prototype.swap16=function(){const D=this.length;if(D%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let N=0;N<D;N+=2)b(this,N,N+1);return this},s.prototype.swap32=function(){const D=this.length;if(D%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let N=0;N<D;N+=4)b(this,N,N+3),b(this,N+1,N+2);return this},s.prototype.swap64=function(){const D=this.length;if(D%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let N=0;N<D;N+=8)b(this,N,N+7),b(this,N+1,N+6),b(this,N+2,N+5),b(this,N+3,N+4);return this},s.prototype.toString=function(){const D=this.length;return D===0?"":arguments.length===0?L(this,0,D):y.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(D){if(!s.isBuffer(D))throw new TypeError("Argument must be a Buffer");return this===D?!0:s.compare(this,D)===0},s.prototype.inspect=function(){let D="";const N=bg.INSPECT_MAX_BYTES;return D=this.toString("hex",0,N).replace(/(.{2})/g,"$1 ").trim(),this.length>N&&(D+=" ... "),"<Buffer "+D+">"},r&&(s.prototype[r]=s.prototype.inspect),s.prototype.compare=function(D,N,Y,pe,be){if(Ve(D,Uint8Array)&&(D=s.from(D,D.offset,D.byteLength)),!s.isBuffer(D))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof D);if(N===void 0&&(N=0),Y===void 0&&(Y=D?D.length:0),pe===void 0&&(pe=0),be===void 0&&(be=this.length),N<0||Y>D.length||pe<0||be>this.length)throw new RangeError("out of range index");if(pe>=be&&N>=Y)return 0;if(pe>=be)return-1;if(N>=Y)return 1;if(N>>>=0,Y>>>=0,pe>>>=0,be>>>=0,this===D)return 0;let _e=be-pe,he=Y-N;const Ee=Math.min(_e,he),ot=this.slice(pe,be),At=D.slice(N,Y);for(let Ct=0;Ct<Ee;++Ct)if(ot[Ct]!==At[Ct]){_e=ot[Ct],he=At[Ct];break}return _e<he?-1:he<_e?1:0};function B(U,D,N,Y,pe){if(U.length===0)return-1;if(typeof N=="string"?(Y=N,N=0):N>2147483647?N=2147483647:N<-2147483648&&(N=-2147483648),N=+N,ze(N)&&(N=pe?0:U.length-1),N<0&&(N=U.length+N),N>=U.length){if(pe)return-1;N=U.length-1}else if(N<0)if(pe)N=0;else return-1;if(typeof D=="string"&&(D=s.from(D,Y)),s.isBuffer(D))return D.length===0?-1:S(U,D,N,Y,pe);if(typeof D=="number")return D=D&255,typeof Uint8Array.prototype.indexOf=="function"?pe?Uint8Array.prototype.indexOf.call(U,D,N):Uint8Array.prototype.lastIndexOf.call(U,D,N):S(U,[D],N,Y,pe);throw new TypeError("val must be string, number or Buffer")}function S(U,D,N,Y,pe){let be=1,_e=U.length,he=D.length;if(Y!==void 0&&(Y=String(Y).toLowerCase(),Y==="ucs2"||Y==="ucs-2"||Y==="utf16le"||Y==="utf-16le")){if(U.length<2||D.length<2)return-1;be=2,_e/=2,he/=2,N/=2}function Ee(At,Ct){return be===1?At[Ct]:At.readUInt16BE(Ct*be)}let ot;if(pe){let At=-1;for(ot=N;ot<_e;ot++)if(Ee(U,ot)===Ee(D,At===-1?0:ot-At)){if(At===-1&&(At=ot),ot-At+1===he)return At*be}else At!==-1&&(ot-=ot-At),At=-1}else for(N+he>_e&&(N=_e-he),ot=N;ot>=0;ot--){let At=!0;for(let Ct=0;Ct<he;Ct++)if(Ee(U,ot+Ct)!==Ee(D,Ct)){At=!1;break}if(At)return ot}return-1}s.prototype.includes=function(D,N,Y){return this.indexOf(D,N,Y)!==-1},s.prototype.indexOf=function(D,N,Y){return B(this,D,N,Y,!0)},s.prototype.lastIndexOf=function(D,N,Y){return B(this,D,N,Y,!1)};function w(U,D,N,Y){N=Number(N)||0;const pe=U.length-N;Y?(Y=Number(Y),Y>pe&&(Y=pe)):Y=pe;const be=D.length;Y>be/2&&(Y=be/2);let _e;for(_e=0;_e<Y;++_e){const he=parseInt(D.substr(_e*2,2),16);if(ze(he))return _e;U[N+_e]=he}return _e}function x(U,D,N,Y){return je(ue(D,U.length-N),U,N,Y)}function I(U,D,N,Y){return je(Ne(D),U,N,Y)}function F(U,D,N,Y){return je(Re(D),U,N,Y)}function k(U,D,N,Y){return je(Te(D,U.length-N),U,N,Y)}s.prototype.write=function(D,N,Y,pe){if(N===void 0)pe="utf8",Y=this.length,N=0;else if(Y===void 0&&typeof N=="string")pe=N,Y=this.length,N=0;else if(isFinite(N))N=N>>>0,isFinite(Y)?(Y=Y>>>0,pe===void 0&&(pe="utf8")):(pe=Y,Y=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const be=this.length-N;if((Y===void 0||Y>be)&&(Y=be),D.length>0&&(Y<0||N<0)||N>this.length)throw new RangeError("Attempt to write outside buffer bounds");pe||(pe="utf8");let _e=!1;for(;;)switch(pe){case"hex":return w(this,D,N,Y);case"utf8":case"utf-8":return x(this,D,N,Y);case"ascii":case"latin1":case"binary":return I(this,D,N,Y);case"base64":return F(this,D,N,Y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,D,N,Y);default:if(_e)throw new TypeError("Unknown encoding: "+pe);pe=(""+pe).toLowerCase(),_e=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function O(U,D,N){return D===0&&N===U.length?t.fromByteArray(U):t.fromByteArray(U.slice(D,N))}function L(U,D,N){N=Math.min(U.length,N);const Y=[];let pe=D;for(;pe<N;){const be=U[pe];let _e=null,he=be>239?4:be>223?3:be>191?2:1;if(pe+he<=N){let Ee,ot,At,Ct;switch(he){case 1:be<128&&(_e=be);break;case 2:Ee=U[pe+1],(Ee&192)===128&&(Ct=(be&31)<<6|Ee&63,Ct>127&&(_e=Ct));break;case 3:Ee=U[pe+1],ot=U[pe+2],(Ee&192)===128&&(ot&192)===128&&(Ct=(be&15)<<12|(Ee&63)<<6|ot&63,Ct>2047&&(Ct<55296||Ct>57343)&&(_e=Ct));break;case 4:Ee=U[pe+1],ot=U[pe+2],At=U[pe+3],(Ee&192)===128&&(ot&192)===128&&(At&192)===128&&(Ct=(be&15)<<18|(Ee&63)<<12|(ot&63)<<6|At&63,Ct>65535&&Ct<1114112&&(_e=Ct))}}_e===null?(_e=65533,he=1):_e>65535&&(_e-=65536,Y.push(_e>>>10&1023|55296),_e=56320|_e&1023),Y.push(_e),pe+=he}return H(Y)}const M=4096;function H(U){const D=U.length;if(D<=M)return String.fromCharCode.apply(String,U);let N="",Y=0;for(;Y<D;)N+=String.fromCharCode.apply(String,U.slice(Y,Y+=M));return N}function V(U,D,N){let Y="";N=Math.min(U.length,N);for(let pe=D;pe<N;++pe)Y+=String.fromCharCode(U[pe]&127);return Y}function j(U,D,N){let Y="";N=Math.min(U.length,N);for(let pe=D;pe<N;++pe)Y+=String.fromCharCode(U[pe]);return Y}function R(U,D,N){const Y=U.length;(!D||D<0)&&(D=0),(!N||N<0||N>Y)&&(N=Y);let pe="";for(let be=D;be<N;++be)pe+=lt[U[be]];return pe}function Q(U,D,N){const Y=U.slice(D,N);let pe="";for(let be=0;be<Y.length-1;be+=2)pe+=String.fromCharCode(Y[be]+Y[be+1]*256);return pe}s.prototype.slice=function(D,N){const Y=this.length;D=~~D,N=N===void 0?Y:~~N,D<0?(D+=Y,D<0&&(D=0)):D>Y&&(D=Y),N<0?(N+=Y,N<0&&(N=0)):N>Y&&(N=Y),N<D&&(N=D);const pe=this.subarray(D,N);return Object.setPrototypeOf(pe,s.prototype),pe};function z(U,D,N){if(U%1!==0||U<0)throw new RangeError("offset is not uint");if(U+D>N)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(D,N,Y){D=D>>>0,N=N>>>0,Y||z(D,N,this.length);let pe=this[D],be=1,_e=0;for(;++_e<N&&(be*=256);)pe+=this[D+_e]*be;return pe},s.prototype.readUintBE=s.prototype.readUIntBE=function(D,N,Y){D=D>>>0,N=N>>>0,Y||z(D,N,this.length);let pe=this[D+--N],be=1;for(;N>0&&(be*=256);)pe+=this[D+--N]*be;return pe},s.prototype.readUint8=s.prototype.readUInt8=function(D,N){return D=D>>>0,N||z(D,1,this.length),this[D]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(D,N){return D=D>>>0,N||z(D,2,this.length),this[D]|this[D+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(D,N){return D=D>>>0,N||z(D,2,this.length),this[D]<<8|this[D+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(D,N){return D=D>>>0,N||z(D,4,this.length),(this[D]|this[D+1]<<8|this[D+2]<<16)+this[D+3]*16777216},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(D,N){return D=D>>>0,N||z(D,4,this.length),this[D]*16777216+(this[D+1]<<16|this[D+2]<<8|this[D+3])},s.prototype.readBigUInt64LE=gt(function(D){D=D>>>0,ie(D,"offset");const N=this[D],Y=this[D+7];(N===void 0||Y===void 0)&&le(D,this.length-8);const pe=N+this[++D]*2**8+this[++D]*2**16+this[++D]*2**24,be=this[++D]+this[++D]*2**8+this[++D]*2**16+Y*2**24;return BigInt(pe)+(BigInt(be)<<BigInt(32))}),s.prototype.readBigUInt64BE=gt(function(D){D=D>>>0,ie(D,"offset");const N=this[D],Y=this[D+7];(N===void 0||Y===void 0)&&le(D,this.length-8);const pe=N*2**24+this[++D]*2**16+this[++D]*2**8+this[++D],be=this[++D]*2**24+this[++D]*2**16+this[++D]*2**8+Y;return(BigInt(pe)<<BigInt(32))+BigInt(be)}),s.prototype.readIntLE=function(D,N,Y){D=D>>>0,N=N>>>0,Y||z(D,N,this.length);let pe=this[D],be=1,_e=0;for(;++_e<N&&(be*=256);)pe+=this[D+_e]*be;return be*=128,pe>=be&&(pe-=Math.pow(2,8*N)),pe},s.prototype.readIntBE=function(D,N,Y){D=D>>>0,N=N>>>0,Y||z(D,N,this.length);let pe=N,be=1,_e=this[D+--pe];for(;pe>0&&(be*=256);)_e+=this[D+--pe]*be;return be*=128,_e>=be&&(_e-=Math.pow(2,8*N)),_e},s.prototype.readInt8=function(D,N){return D=D>>>0,N||z(D,1,this.length),this[D]&128?(255-this[D]+1)*-1:this[D]},s.prototype.readInt16LE=function(D,N){D=D>>>0,N||z(D,2,this.length);const Y=this[D]|this[D+1]<<8;return Y&32768?Y|4294901760:Y},s.prototype.readInt16BE=function(D,N){D=D>>>0,N||z(D,2,this.length);const Y=this[D+1]|this[D]<<8;return Y&32768?Y|4294901760:Y},s.prototype.readInt32LE=function(D,N){return D=D>>>0,N||z(D,4,this.length),this[D]|this[D+1]<<8|this[D+2]<<16|this[D+3]<<24},s.prototype.readInt32BE=function(D,N){return D=D>>>0,N||z(D,4,this.length),this[D]<<24|this[D+1]<<16|this[D+2]<<8|this[D+3]},s.prototype.readBigInt64LE=gt(function(D){D=D>>>0,ie(D,"offset");const N=this[D],Y=this[D+7];(N===void 0||Y===void 0)&&le(D,this.length-8);const pe=this[D+4]+this[D+5]*2**8+this[D+6]*2**16+(Y<<24);return(BigInt(pe)<<BigInt(32))+BigInt(N+this[++D]*2**8+this[++D]*2**16+this[++D]*2**24)}),s.prototype.readBigInt64BE=gt(function(D){D=D>>>0,ie(D,"offset");const N=this[D],Y=this[D+7];(N===void 0||Y===void 0)&&le(D,this.length-8);const pe=(N<<24)+this[++D]*2**16+this[++D]*2**8+this[++D];return(BigInt(pe)<<BigInt(32))+BigInt(this[++D]*2**24+this[++D]*2**16+this[++D]*2**8+Y)}),s.prototype.readFloatLE=function(D,N){return D=D>>>0,N||z(D,4,this.length),e.read(this,D,!0,23,4)},s.prototype.readFloatBE=function(D,N){return D=D>>>0,N||z(D,4,this.length),e.read(this,D,!1,23,4)},s.prototype.readDoubleLE=function(D,N){return D=D>>>0,N||z(D,8,this.length),e.read(this,D,!0,52,8)},s.prototype.readDoubleBE=function(D,N){return D=D>>>0,N||z(D,8,this.length),e.read(this,D,!1,52,8)};function X(U,D,N,Y,pe,be){if(!s.isBuffer(U))throw new TypeError('"buffer" argument must be a Buffer instance');if(D>pe||D<be)throw new RangeError('"value" argument is out of bounds');if(N+Y>U.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(D,N,Y,pe){if(D=+D,N=N>>>0,Y=Y>>>0,!pe){const he=Math.pow(2,8*Y)-1;X(this,D,N,Y,he,0)}let be=1,_e=0;for(this[N]=D&255;++_e<Y&&(be*=256);)this[N+_e]=D/be&255;return N+Y},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(D,N,Y,pe){if(D=+D,N=N>>>0,Y=Y>>>0,!pe){const he=Math.pow(2,8*Y)-1;X(this,D,N,Y,he,0)}let be=Y-1,_e=1;for(this[N+be]=D&255;--be>=0&&(_e*=256);)this[N+be]=D/_e&255;return N+Y},s.prototype.writeUint8=s.prototype.writeUInt8=function(D,N,Y){return D=+D,N=N>>>0,Y||X(this,D,N,1,255,0),this[N]=D&255,N+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(D,N,Y){return D=+D,N=N>>>0,Y||X(this,D,N,2,65535,0),this[N]=D&255,this[N+1]=D>>>8,N+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(D,N,Y){return D=+D,N=N>>>0,Y||X(this,D,N,2,65535,0),this[N]=D>>>8,this[N+1]=D&255,N+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(D,N,Y){return D=+D,N=N>>>0,Y||X(this,D,N,4,4294967295,0),this[N+3]=D>>>24,this[N+2]=D>>>16,this[N+1]=D>>>8,this[N]=D&255,N+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(D,N,Y){return D=+D,N=N>>>0,Y||X(this,D,N,4,4294967295,0),this[N]=D>>>24,this[N+1]=D>>>16,this[N+2]=D>>>8,this[N+3]=D&255,N+4};function _(U,D,N,Y,pe){de(D,Y,pe,U,N,7);let be=Number(D&BigInt(4294967295));U[N++]=be,be=be>>8,U[N++]=be,be=be>>8,U[N++]=be,be=be>>8,U[N++]=be;let _e=Number(D>>BigInt(32)&BigInt(4294967295));return U[N++]=_e,_e=_e>>8,U[N++]=_e,_e=_e>>8,U[N++]=_e,_e=_e>>8,U[N++]=_e,N}function G(U,D,N,Y,pe){de(D,Y,pe,U,N,7);let be=Number(D&BigInt(4294967295));U[N+7]=be,be=be>>8,U[N+6]=be,be=be>>8,U[N+5]=be,be=be>>8,U[N+4]=be;let _e=Number(D>>BigInt(32)&BigInt(4294967295));return U[N+3]=_e,_e=_e>>8,U[N+2]=_e,_e=_e>>8,U[N+1]=_e,_e=_e>>8,U[N]=_e,N+8}s.prototype.writeBigUInt64LE=gt(function(D,N=0){return _(this,D,N,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=gt(function(D,N=0){return G(this,D,N,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(D,N,Y,pe){if(D=+D,N=N>>>0,!pe){const Ee=Math.pow(2,8*Y-1);X(this,D,N,Y,Ee-1,-Ee)}let be=0,_e=1,he=0;for(this[N]=D&255;++be<Y&&(_e*=256);)D<0&&he===0&&this[N+be-1]!==0&&(he=1),this[N+be]=(D/_e>>0)-he&255;return N+Y},s.prototype.writeIntBE=function(D,N,Y,pe){if(D=+D,N=N>>>0,!pe){const Ee=Math.pow(2,8*Y-1);X(this,D,N,Y,Ee-1,-Ee)}let be=Y-1,_e=1,he=0;for(this[N+be]=D&255;--be>=0&&(_e*=256);)D<0&&he===0&&this[N+be+1]!==0&&(he=1),this[N+be]=(D/_e>>0)-he&255;return N+Y},s.prototype.writeInt8=function(D,N,Y){return D=+D,N=N>>>0,Y||X(this,D,N,1,127,-128),D<0&&(D=255+D+1),this[N]=D&255,N+1},s.prototype.writeInt16LE=function(D,N,Y){return D=+D,N=N>>>0,Y||X(this,D,N,2,32767,-32768),this[N]=D&255,this[N+1]=D>>>8,N+2},s.prototype.writeInt16BE=function(D,N,Y){return D=+D,N=N>>>0,Y||X(this,D,N,2,32767,-32768),this[N]=D>>>8,this[N+1]=D&255,N+2},s.prototype.writeInt32LE=function(D,N,Y){return D=+D,N=N>>>0,Y||X(this,D,N,4,2147483647,-2147483648),this[N]=D&255,this[N+1]=D>>>8,this[N+2]=D>>>16,this[N+3]=D>>>24,N+4},s.prototype.writeInt32BE=function(D,N,Y){return D=+D,N=N>>>0,Y||X(this,D,N,4,2147483647,-2147483648),D<0&&(D=4294967295+D+1),this[N]=D>>>24,this[N+1]=D>>>16,this[N+2]=D>>>8,this[N+3]=D&255,N+4},s.prototype.writeBigInt64LE=gt(function(D,N=0){return _(this,D,N,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=gt(function(D,N=0){return G(this,D,N,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function W(U,D,N,Y,pe,be){if(N+Y>U.length)throw new RangeError("Index out of range");if(N<0)throw new RangeError("Index out of range")}function J(U,D,N,Y,pe){return D=+D,N=N>>>0,pe||W(U,D,N,4),e.write(U,D,N,Y,23,4),N+4}s.prototype.writeFloatLE=function(D,N,Y){return J(this,D,N,!0,Y)},s.prototype.writeFloatBE=function(D,N,Y){return J(this,D,N,!1,Y)};function ee(U,D,N,Y,pe){return D=+D,N=N>>>0,pe||W(U,D,N,8),e.write(U,D,N,Y,52,8),N+8}s.prototype.writeDoubleLE=function(D,N,Y){return ee(this,D,N,!0,Y)},s.prototype.writeDoubleBE=function(D,N,Y){return ee(this,D,N,!1,Y)},s.prototype.copy=function(D,N,Y,pe){if(!s.isBuffer(D))throw new TypeError("argument should be a Buffer");if(Y||(Y=0),!pe&&pe!==0&&(pe=this.length),N>=D.length&&(N=D.length),N||(N=0),pe>0&&pe<Y&&(pe=Y),pe===Y||D.length===0||this.length===0)return 0;if(N<0)throw new RangeError("targetStart out of bounds");if(Y<0||Y>=this.length)throw new RangeError("Index out of range");if(pe<0)throw new RangeError("sourceEnd out of bounds");pe>this.length&&(pe=this.length),D.length-N<pe-Y&&(pe=D.length-N+Y);const be=pe-Y;return this===D&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(N,Y,pe):Uint8Array.prototype.set.call(D,this.subarray(Y,pe),N),be},s.prototype.fill=function(D,N,Y,pe){if(typeof D=="string"){if(typeof N=="string"?(pe=N,N=0,Y=this.length):typeof Y=="string"&&(pe=Y,Y=this.length),pe!==void 0&&typeof pe!="string")throw new TypeError("encoding must be a string");if(typeof pe=="string"&&!s.isEncoding(pe))throw new TypeError("Unknown encoding: "+pe);if(D.length===1){const _e=D.charCodeAt(0);(pe==="utf8"&&_e<128||pe==="latin1")&&(D=_e)}}else typeof D=="number"?D=D&255:typeof D=="boolean"&&(D=Number(D));if(N<0||this.length<N||this.length<Y)throw new RangeError("Out of range index");if(Y<=N)return this;N=N>>>0,Y=Y===void 0?this.length:Y>>>0,D||(D=0);let be;if(typeof D=="number")for(be=N;be<Y;++be)this[be]=D;else{const _e=s.isBuffer(D)?D:s.from(D,pe),he=_e.length;if(he===0)throw new TypeError('The value "'+D+'" is invalid for argument "value"');for(be=0;be<Y-N;++be)this[be+N]=_e[be%he]}return this};const q={};function Z(U,D,N){q[U]=class extends N{constructor(){super(),Object.defineProperty(this,"message",{value:D.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${U}]`,this.stack,delete this.name}get code(){return U}set code(pe){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:pe,writable:!0})}toString(){return`${this.name} [${U}]: ${this.message}`}}}Z("ERR_BUFFER_OUT_OF_BOUNDS",function(U){return U?`${U} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Z("ERR_INVALID_ARG_TYPE",function(U,D){return`The "${U}" argument must be of type number. Received type ${typeof D}`},TypeError),Z("ERR_OUT_OF_RANGE",function(U,D,N){let Y=`The value of "${U}" is out of range.`,pe=N;return Number.isInteger(N)&&Math.abs(N)>2**32?pe=re(String(N)):typeof N=="bigint"&&(pe=String(N),(N>BigInt(2)**BigInt(32)||N<-(BigInt(2)**BigInt(32)))&&(pe=re(pe)),pe+="n"),Y+=` It must be ${D}. Received ${pe}`,Y},RangeError);function re(U){let D="",N=U.length;const Y=U[0]==="-"?1:0;for(;N>=Y+4;N-=3)D=`_${U.slice(N-3,N)}${D}`;return`${U.slice(0,N)}${D}`}function fe(U,D,N){ie(D,"offset"),(U[D]===void 0||U[D+N]===void 0)&&le(D,U.length-(N+1))}function de(U,D,N,Y,pe,be){if(U>N||U<D){const _e=typeof D=="bigint"?"n":"";let he;throw D===0||D===BigInt(0)?he=`>= 0${_e} and < 2${_e} ** ${(be+1)*8}${_e}`:he=`>= -(2${_e} ** ${(be+1)*8-1}${_e}) and < 2 ** ${(be+1)*8-1}${_e}`,new q.ERR_OUT_OF_RANGE("value",he,U)}fe(Y,pe,be)}function ie(U,D){if(typeof U!="number")throw new q.ERR_INVALID_ARG_TYPE(D,"number",U)}function le(U,D,N){throw Math.floor(U)!==U?(ie(U,N),new q.ERR_OUT_OF_RANGE("offset","an integer",U)):D<0?new q.ERR_BUFFER_OUT_OF_BOUNDS:new q.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${D}`,U)}const De=/[^+/0-9A-Za-z-_]/g;function Ae(U){if(U=U.split("=")[0],U=U.trim().replace(De,""),U.length<2)return"";for(;U.length%4!==0;)U=U+"=";return U}function ue(U,D){D=D||1/0;let N;const Y=U.length;let pe=null;const be=[];for(let _e=0;_e<Y;++_e){if(N=U.charCodeAt(_e),N>55295&&N<57344){if(!pe){if(N>56319){(D-=3)>-1&&be.push(239,191,189);continue}else if(_e+1===Y){(D-=3)>-1&&be.push(239,191,189);continue}pe=N;continue}if(N<56320){(D-=3)>-1&&be.push(239,191,189),pe=N;continue}N=(pe-55296<<10|N-56320)+65536}else pe&&(D-=3)>-1&&be.push(239,191,189);if(pe=null,N<128){if((D-=1)<0)break;be.push(N)}else if(N<2048){if((D-=2)<0)break;be.push(N>>6|192,N&63|128)}else if(N<65536){if((D-=3)<0)break;be.push(N>>12|224,N>>6&63|128,N&63|128)}else if(N<1114112){if((D-=4)<0)break;be.push(N>>18|240,N>>12&63|128,N>>6&63|128,N&63|128)}else throw new Error("Invalid code point")}return be}function Ne(U){const D=[];for(let N=0;N<U.length;++N)D.push(U.charCodeAt(N)&255);return D}function Te(U,D){let N,Y,pe;const be=[];for(let _e=0;_e<U.length&&!((D-=2)<0);++_e)N=U.charCodeAt(_e),Y=N>>8,pe=N%256,be.push(pe),be.push(Y);return be}function Re(U){return t.toByteArray(Ae(U))}function je(U,D,N,Y){let pe;for(pe=0;pe<Y&&!(pe+N>=D.length||pe>=U.length);++pe)D[pe+N]=U[pe];return pe}function Ve(U,D){return U instanceof D||U!=null&&U.constructor!=null&&U.constructor.name!=null&&U.constructor.name===D.name}function ze(U){return U!==U}const lt=function(){const U="0123456789abcdef",D=new Array(256);for(let N=0;N<16;++N){const Y=N*16;for(let pe=0;pe<16;++pe)D[Y+pe]=U[N]+U[pe]}return D}();function gt(U){return typeof BigInt>"u"?_t:U}function _t(){throw new Error("BigInt not supported")}return bg}var SC=Vpt();SC.Buffer;SC.INSPECT_MAX_BYTES;SC.kMaxLength;var E6={},wue=!1;function EC(){return wue||(wue=!0,typeof Object.create=="function"?E6=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:E6=function(e,r){if(r){e.super_=r;var n=function(){};n.prototype=r.prototype,e.prototype=new n,e.prototype.constructor=e}}),E6}var YL={},xue=!1;function vSe(){return xue||(xue=!0,YL=Dl.EventEmitter),YL}var JL={},Sue=!1;function $pt(){if(Sue)return JL;Sue=!0;function t(d,p){var h=Object.keys(d);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(d);p&&(A=A.filter(function(g){return Object.getOwnPropertyDescriptor(d,g).enumerable})),h.push.apply(h,A)}return h}function e(d){for(var p=1;p<arguments.length;p++){var h=arguments[p]!=null?arguments[p]:{};p%2?t(Object(h),!0).forEach(function(A){r(d,A,h[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(h)):t(Object(h)).forEach(function(A){Object.defineProperty(d,A,Object.getOwnPropertyDescriptor(h,A))})}return d}function r(d,p,h){return p in d?Object.defineProperty(d,p,{value:h,enumerable:!0,configurable:!0,writable:!0}):d[p]=h,d}function n(d,p){if(!(d instanceof p))throw new TypeError("Cannot call a class as a function")}function i(d,p){for(var h=0;h<p.length;h++){var A=p[h];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(d,A.key,A)}}function o(d,p,h){return p&&i(d.prototype,p),d}var s=SC,a=s.Buffer,l=xt,c=l.inspect,u=c&&c.custom||"inspect";function f(d,p,h){a.prototype.copy.call(d,p,h)}return JL=function(){function d(){n(this,d),this.head=null,this.tail=null,this.length=0}return o(d,[{key:"push",value:function(h){var A={data:h,next:null};this.length>0?this.tail.next=A:this.head=A,this.tail=A,++this.length}},{key:"unshift",value:function(h){var A={data:h,next:this.head};this.length===0&&(this.tail=A),this.head=A,++this.length}},{key:"shift",value:function(){if(this.length!==0){var h=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,h}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(h){if(this.length===0)return"";for(var A=this.head,g=""+A.data;A=A.next;)g+=h+A.data;return g}},{key:"concat",value:function(h){if(this.length===0)return a.alloc(0);for(var A=a.allocUnsafe(h>>>0),g=this.head,m=0;g;)f(g.data,A,m),m+=g.data.length,g=g.next;return A}},{key:"consume",value:function(h,A){var g;return h<this.head.data.length?(g=this.head.data.slice(0,h),this.head.data=this.head.data.slice(h)):h===this.head.data.length?g=this.shift():g=A?this._getString(h):this._getBuffer(h),g}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(h){var A=this.head,g=1,m=A.data;for(h-=m.length;A=A.next;){var v=A.data,y=h>v.length?v.length:h;if(y===v.length?m+=v:m+=v.slice(0,h),h-=y,h===0){y===v.length?(++g,A.next?this.head=A.next:this.head=this.tail=null):(this.head=A,A.data=v.slice(y));break}++g}return this.length-=g,m}},{key:"_getBuffer",value:function(h){var A=a.allocUnsafe(h),g=this.head,m=1;for(g.data.copy(A),h-=g.data.length;g=g.next;){var v=g.data,y=h>v.length?v.length:h;if(v.copy(A,A.length-h,0,y),h-=y,h===0){y===v.length?(++m,g.next?this.head=g.next:this.head=this.tail=null):(this.head=g,g.data=v.slice(y));break}++m}return this.length-=m,A}},{key:u,value:function(h,A){return c(this,e({},A,{depth:0,customInspect:!1}))}}]),d}(),JL}var ZL={},Eue=!1;function ySe(){if(Eue)return ZL;Eue=!0;var t=_i;function e(a,l){var c=this,u=this._readableState&&this._readableState.destroyed,f=this._writableState&&this._writableState.destroyed;return u||f?(l?l(a):a&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,t.nextTick(o,this,a)):t.nextTick(o,this,a)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(a||null,function(d){!l&&d?c._writableState?c._writableState.errorEmitted?t.nextTick(n,c):(c._writableState.errorEmitted=!0,t.nextTick(r,c,d)):t.nextTick(r,c,d):l?(t.nextTick(n,c),l(d)):t.nextTick(n,c)}),this)}function r(a,l){o(a,l),n(a)}function n(a){a._writableState&&!a._writableState.emitClose||a._readableState&&!a._readableState.emitClose||a.emit("close")}function i(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function o(a,l){a.emit("error",l)}function s(a,l){var c=a._readableState,u=a._writableState;c&&c.autoDestroy||u&&u.autoDestroy?a.destroy(l):a.emit("error",l)}return ZL={destroy:e,undestroy:i,errorOrDestroy:s},ZL}var eR={},Due=!1;function DC(){if(Due)return eR;Due=!0;const t={};function e(s,a,l){l||(l=Error);function c(f,d,p){return typeof a=="string"?a:a(f,d,p)}class u extends l{constructor(d,p,h){super(c(d,p,h))}}u.prototype.name=l.name,u.prototype.code=s,t[s]=u}function r(s,a){if(Array.isArray(s)){const l=s.length;return s=s.map(c=>String(c)),l>2?`one of ${a} ${s.slice(0,l-1).join(", ")}, or `+s[l-1]:l===2?`one of ${a} ${s[0]} or ${s[1]}`:`of ${a} ${s[0]}`}else return`of ${a} ${String(s)}`}function n(s,a,l){return s.substr(0,a.length)===a}function i(s,a,l){return(l===void 0||l>s.length)&&(l=s.length),s.substring(l-a.length,l)===a}function o(s,a,l){return typeof l!="number"&&(l=0),l+a.length>s.length?!1:s.indexOf(a,l)!==-1}return e("ERR_INVALID_OPT_VALUE",function(s,a){return'The value "'+a+'" is invalid for option "'+s+'"'},TypeError),e("ERR_INVALID_ARG_TYPE",function(s,a,l){let c;typeof a=="string"&&n(a,"not ")?(c="must not be",a=a.replace(/^not /,"")):c="must be";let u;if(i(s," argument"))u=`The ${s} ${c} ${r(a,"type")}`;else{const f=o(s,".")?"property":"argument";u=`The "${s}" ${f} ${c} ${r(a,"type")}`}return u+=`. Received type ${typeof l}`,u},TypeError),e("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),e("ERR_METHOD_NOT_IMPLEMENTED",function(s){return"The "+s+" method is not implemented"}),e("ERR_STREAM_PREMATURE_CLOSE","Premature close"),e("ERR_STREAM_DESTROYED",function(s){return"Cannot call "+s+" after a stream was destroyed"}),e("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),e("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),e("ERR_STREAM_WRITE_AFTER_END","write after end"),e("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),e("ERR_UNKNOWN_ENCODING",function(s){return"Unknown encoding: "+s},TypeError),e("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),eR.codes=t,eR}var tR={},kue=!1;function BSe(){if(kue)return tR;kue=!0;var t=DC().codes.ERR_INVALID_OPT_VALUE;function e(n,i,o){return n.highWaterMark!=null?n.highWaterMark:i?n[o]:null}function r(n,i,o,s){var a=e(i,s,o);if(a!=null){if(!(isFinite(a)&&Math.floor(a)===a)||a<0){var l=s?o:"highWaterMark";throw new t(l,a)}return Math.floor(a)}return n.objectMode?16:16*1024}return tR={getHighWaterMark:r},tR}var rR={},Oue=!1,nR=typeof globalThis<"u"?globalThis:typeof self<"u"?self:global;function Hpt(){if(Oue)return rR;Oue=!0,rR=t;function t(r,n){if(e("noDeprecation"))return r;var i=!1;function o(){if(!i){if(e("throwDeprecation"))throw new Error(n);e("traceDeprecation")?console.trace(n):console.warn(n),i=!0}return r.apply(this||nR,arguments)}return o}function e(r){try{if(!nR.localStorage)return!1}catch{return!1}var n=nR.localStorage[r];return n==null?!1:String(n).toLowerCase()==="true"}return rR}var iR={},Pue=!1,Gpt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:global;function CSe(){if(Pue)return iR;Pue=!0;var t=_i;iR=I;function e(q){var Z=this;this.next=null,this.entry=null,this.finish=function(){ee(Z,q)}}var r;I.WritableState=w;var n={deprecate:Hpt()},i=vSe(),o=SC.Buffer,s=Gpt.Uint8Array||function(){};function a(q){return o.from(q)}function l(q){return o.isBuffer(q)||q instanceof s}var c=ySe(),u=BSe(),f=u.getHighWaterMark,d=DC().codes,p=d.ERR_INVALID_ARG_TYPE,h=d.ERR_METHOD_NOT_IMPLEMENTED,A=d.ERR_MULTIPLE_CALLBACK,g=d.ERR_STREAM_CANNOT_PIPE,m=d.ERR_STREAM_DESTROYED,v=d.ERR_STREAM_NULL_VALUES,y=d.ERR_STREAM_WRITE_AFTER_END,b=d.ERR_UNKNOWN_ENCODING,B=c.errorOrDestroy;EC()(I,i);function S(){}function w(q,Z,re){r=r||bB(),q=q||{},typeof re!="boolean"&&(re=Z instanceof r),this.objectMode=!!q.objectMode,re&&(this.objectMode=this.objectMode||!!q.writableObjectMode),this.highWaterMark=f(this,q,"writableHighWaterMark",re),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var fe=q.decodeStrings===!1;this.decodeStrings=!fe,this.defaultEncoding=q.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(de){j(Z,de)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=q.emitClose!==!1,this.autoDestroy=!!q.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}w.prototype.getBuffer=function(){for(var Z=this.bufferedRequest,re=[];Z;)re.push(Z),Z=Z.next;return re},function(){try{Object.defineProperty(w.prototype,"buffer",{get:n.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var x;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(x=Function.prototype[Symbol.hasInstance],Object.defineProperty(I,Symbol.hasInstance,{value:function(Z){return x.call(this,Z)?!0:this!==I?!1:Z&&Z._writableState instanceof w}})):x=function(Z){return Z instanceof this};function I(q){r=r||bB();var Z=this instanceof r;if(!Z&&!x.call(I,this))return new I(q);this._writableState=new w(q,this,Z),this.writable=!0,q&&(typeof q.write=="function"&&(this._write=q.write),typeof q.writev=="function"&&(this._writev=q.writev),typeof q.destroy=="function"&&(this._destroy=q.destroy),typeof q.final=="function"&&(this._final=q.final)),i.call(this)}I.prototype.pipe=function(){B(this,new g)};function F(q,Z){var re=new y;B(q,re),t.nextTick(Z,re)}function k(q,Z,re,fe){var de;return re===null?de=new v:typeof re!="string"&&!Z.objectMode&&(de=new p("chunk",["string","Buffer"],re)),de?(B(q,de),t.nextTick(fe,de),!1):!0}I.prototype.write=function(q,Z,re){var fe=this._writableState,de=!1,ie=!fe.objectMode&&l(q);return ie&&!o.isBuffer(q)&&(q=a(q)),typeof Z=="function"&&(re=Z,Z=null),ie?Z="buffer":Z||(Z=fe.defaultEncoding),typeof re!="function"&&(re=S),fe.ending?F(this,re):(ie||k(this,fe,q,re))&&(fe.pendingcb++,de=L(this,fe,ie,q,Z,re)),de},I.prototype.cork=function(){this._writableState.corked++},I.prototype.uncork=function(){var q=this._writableState;q.corked&&(q.corked--,!q.writing&&!q.corked&&!q.bufferProcessing&&q.bufferedRequest&&z(this,q))},I.prototype.setDefaultEncoding=function(Z){if(typeof Z=="string"&&(Z=Z.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Z+"").toLowerCase())>-1))throw new b(Z);return this._writableState.defaultEncoding=Z,this},Object.defineProperty(I.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function O(q,Z,re){return!q.objectMode&&q.decodeStrings!==!1&&typeof Z=="string"&&(Z=o.from(Z,re)),Z}Object.defineProperty(I.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function L(q,Z,re,fe,de,ie){if(!re){var le=O(Z,fe,de);fe!==le&&(re=!0,de="buffer",fe=le)}var De=Z.objectMode?1:fe.length;Z.length+=De;var Ae=Z.length<Z.highWaterMark;if(Ae||(Z.needDrain=!0),Z.writing||Z.corked){var ue=Z.lastBufferedRequest;Z.lastBufferedRequest={chunk:fe,encoding:de,isBuf:re,callback:ie,next:null},ue?ue.next=Z.lastBufferedRequest:Z.bufferedRequest=Z.lastBufferedRequest,Z.bufferedRequestCount+=1}else M(q,Z,!1,De,fe,de,ie);return Ae}function M(q,Z,re,fe,de,ie,le){Z.writelen=fe,Z.writecb=le,Z.writing=!0,Z.sync=!0,Z.destroyed?Z.onwrite(new m("write")):re?q._writev(de,Z.onwrite):q._write(de,ie,Z.onwrite),Z.sync=!1}function H(q,Z,re,fe,de){--Z.pendingcb,re?(t.nextTick(de,fe),t.nextTick(W,q,Z),q._writableState.errorEmitted=!0,B(q,fe)):(de(fe),q._writableState.errorEmitted=!0,B(q,fe),W(q,Z))}function V(q){q.writing=!1,q.writecb=null,q.length-=q.writelen,q.writelen=0}function j(q,Z){var re=q._writableState,fe=re.sync,de=re.writecb;if(typeof de!="function")throw new A;if(V(re),Z)H(q,re,fe,Z,de);else{var ie=X(re)||q.destroyed;!ie&&!re.corked&&!re.bufferProcessing&&re.bufferedRequest&&z(q,re),fe?t.nextTick(R,q,re,ie,de):R(q,re,ie,de)}}function R(q,Z,re,fe){re||Q(q,Z),Z.pendingcb--,fe(),W(q,Z)}function Q(q,Z){Z.length===0&&Z.needDrain&&(Z.needDrain=!1,q.emit("drain"))}function z(q,Z){Z.bufferProcessing=!0;var re=Z.bufferedRequest;if(q._writev&&re&&re.next){var fe=Z.bufferedRequestCount,de=new Array(fe),ie=Z.corkedRequestsFree;ie.entry=re;for(var le=0,De=!0;re;)de[le]=re,re.isBuf||(De=!1),re=re.next,le+=1;de.allBuffers=De,M(q,Z,!0,Z.length,de,"",ie.finish),Z.pendingcb++,Z.lastBufferedRequest=null,ie.next?(Z.corkedRequestsFree=ie.next,ie.next=null):Z.corkedRequestsFree=new e(Z),Z.bufferedRequestCount=0}else{for(;re;){var Ae=re.chunk,ue=re.encoding,Ne=re.callback,Te=Z.objectMode?1:Ae.length;if(M(q,Z,!1,Te,Ae,ue,Ne),re=re.next,Z.bufferedRequestCount--,Z.writing)break}re===null&&(Z.lastBufferedRequest=null)}Z.bufferedRequest=re,Z.bufferProcessing=!1}I.prototype._write=function(q,Z,re){re(new h("_write()"))},I.prototype._writev=null,I.prototype.end=function(q,Z,re){var fe=this._writableState;return typeof q=="function"?(re=q,q=null,Z=null):typeof Z=="function"&&(re=Z,Z=null),q!=null&&this.write(q,Z),fe.corked&&(fe.corked=1,this.uncork()),fe.ending||J(this,fe,re),this},Object.defineProperty(I.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function X(q){return q.ending&&q.length===0&&q.bufferedRequest===null&&!q.finished&&!q.writing}function _(q,Z){q._final(function(re){Z.pendingcb--,re&&B(q,re),Z.prefinished=!0,q.emit("prefinish"),W(q,Z)})}function G(q,Z){!Z.prefinished&&!Z.finalCalled&&(typeof q._final=="function"&&!Z.destroyed?(Z.pendingcb++,Z.finalCalled=!0,t.nextTick(_,q,Z)):(Z.prefinished=!0,q.emit("prefinish")))}function W(q,Z){var re=X(Z);if(re&&(G(q,Z),Z.pendingcb===0&&(Z.finished=!0,q.emit("finish"),Z.autoDestroy))){var fe=q._readableState;(!fe||fe.autoDestroy&&fe.endEmitted)&&q.destroy()}return re}function J(q,Z,re){Z.ending=!0,W(q,Z),re&&(Z.finished?t.nextTick(re):q.once("finish",re)),Z.ended=!0,q.writable=!1}function ee(q,Z,re){var fe=q.entry;for(q.entry=null;fe;){var de=fe.callback;Z.pendingcb--,de(re),fe=fe.next}Z.corkedRequestsFree.next=q}return Object.defineProperty(I.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Z){this._writableState&&(this._writableState.destroyed=Z)}}),I.prototype.destroy=c.destroy,I.prototype._undestroy=c.undestroy,I.prototype._destroy=function(q,Z){Z(q)},iR}var oR={},Iue=!1;function bB(){if(Iue)return oR;Iue=!0;var t=_i,e=Object.keys||function(u){var f=[];for(var d in u)f.push(d);return f};oR=a;var r=bSe(),n=CSe();EC()(a,r);for(var i=e(n.prototype),o=0;o<i.length;o++){var s=i[o];a.prototype[s]||(a.prototype[s]=n.prototype[s])}function a(u){if(!(this instanceof a))return new a(u);r.call(this,u),n.call(this,u),this.allowHalfOpen=!0,u&&(u.readable===!1&&(this.readable=!1),u.writable===!1&&(this.writable=!1),u.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",l)))}Object.defineProperty(a.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(a.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(a.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function l(){this._writableState.ended||t.nextTick(c,this)}function c(u){u.end()}return Object.defineProperty(a.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(f){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=f,this._writableState.destroyed=f)}}),oR}var sR={},Nue=!1;function mJ(){if(Nue)return sR;Nue=!0;var t=DC().codes.ERR_STREAM_PREMATURE_CLOSE;function e(o){var s=!1;return function(){if(!s){s=!0;for(var a=arguments.length,l=new Array(a),c=0;c<a;c++)l[c]=arguments[c];o.apply(this,l)}}}function r(){}function n(o){return o.setHeader&&typeof o.abort=="function"}function i(o,s,a){if(typeof s=="function")return i(o,null,s);s||(s={}),a=e(a||r);var l=s.readable||s.readable!==!1&&o.readable,c=s.writable||s.writable!==!1&&o.writable,u=function(){o.writable||d()},f=o._writableState&&o._writableState.finished,d=function(){c=!1,f=!0,l||a.call(o)},p=o._readableState&&o._readableState.endEmitted,h=function(){l=!1,p=!0,c||a.call(o)},A=function(y){a.call(o,y)},g=function(){var y;if(l&&!p)return(!o._readableState||!o._readableState.ended)&&(y=new t),a.call(o,y);if(c&&!f)return(!o._writableState||!o._writableState.ended)&&(y=new t),a.call(o,y)},m=function(){o.req.on("finish",d)};return n(o)?(o.on("complete",d),o.on("abort",g),o.req?m():o.on("request",m)):c&&!o._writableState&&(o.on("end",u),o.on("close",u)),o.on("end",h),o.on("finish",d),s.error!==!1&&o.on("error",A),o.on("close",g),function(){o.removeListener("complete",d),o.removeListener("abort",g),o.removeListener("request",m),o.req&&o.req.removeListener("finish",d),o.removeListener("end",u),o.removeListener("close",u),o.removeListener("finish",d),o.removeListener("end",h),o.removeListener("error",A),o.removeListener("close",g)}}return sR=i,sR}var aR={},Fue=!1;function Wpt(){if(Fue)return aR;Fue=!0;var t=_i,e;function r(v,y,b){return y in v?Object.defineProperty(v,y,{value:b,enumerable:!0,configurable:!0,writable:!0}):v[y]=b,v}var n=mJ(),i=Symbol("lastResolve"),o=Symbol("lastReject"),s=Symbol("error"),a=Symbol("ended"),l=Symbol("lastPromise"),c=Symbol("handlePromise"),u=Symbol("stream");function f(v,y){return{value:v,done:y}}function d(v){var y=v[i];if(y!==null){var b=v[u].read();b!==null&&(v[l]=null,v[i]=null,v[o]=null,y(f(b,!1)))}}function p(v){t.nextTick(d,v)}function h(v,y){return function(b,B){v.then(function(){if(y[a]){b(f(void 0,!0));return}y[c](b,B)},B)}}var A=Object.getPrototypeOf(function(){}),g=Object.setPrototypeOf((e={get stream(){return this[u]},next:function(){var y=this,b=this[s];if(b!==null)return Promise.reject(b);if(this[a])return Promise.resolve(f(void 0,!0));if(this[u].destroyed)return new Promise(function(x,I){t.nextTick(function(){y[s]?I(y[s]):x(f(void 0,!0))})});var B=this[l],S;if(B)S=new Promise(h(B,this));else{var w=this[u].read();if(w!==null)return Promise.resolve(f(w,!1));S=new Promise(this[c])}return this[l]=S,S}},r(e,Symbol.asyncIterator,function(){return this}),r(e,"return",function(){var y=this;return new Promise(function(b,B){y[u].destroy(null,function(S){if(S){B(S);return}b(f(void 0,!0))})})}),e),A),m=function(y){var b,B=Object.create(g,(b={},r(b,u,{value:y,writable:!0}),r(b,i,{value:null,writable:!0}),r(b,o,{value:null,writable:!0}),r(b,s,{value:null,writable:!0}),r(b,a,{value:y._readableState.endEmitted,writable:!0}),r(b,c,{value:function(w,x){var I=B[u].read();I?(B[l]=null,B[i]=null,B[o]=null,w(f(I,!1))):(B[i]=w,B[o]=x)},writable:!0}),b));return B[l]=null,n(y,function(S){if(S&&S.code!=="ERR_STREAM_PREMATURE_CLOSE"){var w=B[o];w!==null&&(B[l]=null,B[i]=null,B[o]=null,w(S)),B[s]=S;return}var x=B[i];x!==null&&(B[l]=null,B[i]=null,B[o]=null,x(f(void 0,!0))),B[a]=!0}),y.on("readable",p.bind(null,B)),B};return aR=m,aR}var lR={},Tue=!1;function zpt(){return Tue||(Tue=!0,lR=function(){throw new Error("Readable.from is not available in the browser")}),lR}var cR={},Lue=!1,Kpt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:global;function bSe(){if(Lue)return cR;Lue=!0;var t=_i;cR=F;var e;F.ReadableState=I,Dl.EventEmitter;var r=function(le,De){return le.listeners(De).length},n=vSe(),i=SC.Buffer,o=Kpt.Uint8Array||function(){};function s(ie){return i.from(ie)}function a(ie){return i.isBuffer(ie)||ie instanceof o}var l=xt,c;l&&l.debuglog?c=l.debuglog("stream"):c=function(){};var u=$pt(),f=ySe(),d=BSe(),p=d.getHighWaterMark,h=DC().codes,A=h.ERR_INVALID_ARG_TYPE,g=h.ERR_STREAM_PUSH_AFTER_EOF,m=h.ERR_METHOD_NOT_IMPLEMENTED,v=h.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,y,b,B;EC()(F,n);var S=f.errorOrDestroy,w=["error","close","destroy","pause","resume"];function x(ie,le,De){if(typeof ie.prependListener=="function")return ie.prependListener(le,De);!ie._events||!ie._events[le]?ie.on(le,De):Array.isArray(ie._events[le])?ie._events[le].unshift(De):ie._events[le]=[De,ie._events[le]]}function I(ie,le,De){e=e||bB(),ie=ie||{},typeof De!="boolean"&&(De=le instanceof e),this.objectMode=!!ie.objectMode,De&&(this.objectMode=this.objectMode||!!ie.readableObjectMode),this.highWaterMark=p(this,ie,"readableHighWaterMark",De),this.buffer=new u,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=ie.emitClose!==!1,this.autoDestroy=!!ie.autoDestroy,this.destroyed=!1,this.defaultEncoding=ie.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,ie.encoding&&(y||(y=w$.StringDecoder),this.decoder=new y(ie.encoding),this.encoding=ie.encoding)}function F(ie){if(e=e||bB(),!(this instanceof F))return new F(ie);var le=this instanceof e;this._readableState=new I(ie,this,le),this.readable=!0,ie&&(typeof ie.read=="function"&&(this._read=ie.read),typeof ie.destroy=="function"&&(this._destroy=ie.destroy)),n.call(this)}Object.defineProperty(F.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(le){this._readableState&&(this._readableState.destroyed=le)}}),F.prototype.destroy=f.destroy,F.prototype._undestroy=f.undestroy,F.prototype._destroy=function(ie,le){le(ie)},F.prototype.push=function(ie,le){var De=this._readableState,Ae;return De.objectMode?Ae=!0:typeof ie=="string"&&(le=le||De.defaultEncoding,le!==De.encoding&&(ie=i.from(ie,le),le=""),Ae=!0),k(this,ie,le,!1,Ae)},F.prototype.unshift=function(ie){return k(this,ie,null,!0,!1)};function k(ie,le,De,Ae,ue){c("readableAddChunk",le);var Ne=ie._readableState;if(le===null)Ne.reading=!1,j(ie,Ne);else{var Te;if(ue||(Te=L(Ne,le)),Te)S(ie,Te);else if(Ne.objectMode||le&&le.length>0)if(typeof le!="string"&&!Ne.objectMode&&Object.getPrototypeOf(le)!==i.prototype&&(le=s(le)),Ae)Ne.endEmitted?S(ie,new v):O(ie,Ne,le,!0);else if(Ne.ended)S(ie,new g);else{if(Ne.destroyed)return!1;Ne.reading=!1,Ne.decoder&&!De?(le=Ne.decoder.write(le),Ne.objectMode||le.length!==0?O(ie,Ne,le,!1):z(ie,Ne)):O(ie,Ne,le,!1)}else Ae||(Ne.reading=!1,z(ie,Ne))}return!Ne.ended&&(Ne.length<Ne.highWaterMark||Ne.length===0)}function O(ie,le,De,Ae){le.flowing&&le.length===0&&!le.sync?(le.awaitDrain=0,ie.emit("data",De)):(le.length+=le.objectMode?1:De.length,Ae?le.buffer.unshift(De):le.buffer.push(De),le.needReadable&&R(ie)),z(ie,le)}function L(ie,le){var De;return!a(le)&&typeof le!="string"&&le!==void 0&&!ie.objectMode&&(De=new A("chunk",["string","Buffer","Uint8Array"],le)),De}F.prototype.isPaused=function(){return this._readableState.flowing===!1},F.prototype.setEncoding=function(ie){y||(y=w$.StringDecoder);var le=new y(ie);this._readableState.decoder=le,this._readableState.encoding=this._readableState.decoder.encoding;for(var De=this._readableState.buffer.head,Ae="";De!==null;)Ae+=le.write(De.data),De=De.next;return this._readableState.buffer.clear(),Ae!==""&&this._readableState.buffer.push(Ae),this._readableState.length=Ae.length,this};var M=1073741824;function H(ie){return ie>=M?ie=M:(ie--,ie|=ie>>>1,ie|=ie>>>2,ie|=ie>>>4,ie|=ie>>>8,ie|=ie>>>16,ie++),ie}function V(ie,le){return ie<=0||le.length===0&&le.ended?0:le.objectMode?1:ie!==ie?le.flowing&&le.length?le.buffer.head.data.length:le.length:(ie>le.highWaterMark&&(le.highWaterMark=H(ie)),ie<=le.length?ie:le.ended?le.length:(le.needReadable=!0,0))}F.prototype.read=function(ie){c("read",ie),ie=parseInt(ie,10);var le=this._readableState,De=ie;if(ie!==0&&(le.emittedReadable=!1),ie===0&&le.needReadable&&((le.highWaterMark!==0?le.length>=le.highWaterMark:le.length>0)||le.ended))return c("read: emitReadable",le.length,le.ended),le.length===0&&le.ended?re(this):R(this),null;if(ie=V(ie,le),ie===0&&le.ended)return le.length===0&&re(this),null;var Ae=le.needReadable;c("need readable",Ae),(le.length===0||le.length-ie<le.highWaterMark)&&(Ae=!0,c("length less than watermark",Ae)),le.ended||le.reading?(Ae=!1,c("reading or ended",Ae)):Ae&&(c("do read"),le.reading=!0,le.sync=!0,le.length===0&&(le.needReadable=!0),this._read(le.highWaterMark),le.sync=!1,le.reading||(ie=V(De,le)));var ue;return ie>0?ue=Z(ie,le):ue=null,ue===null?(le.needReadable=le.length<=le.highWaterMark,ie=0):(le.length-=ie,le.awaitDrain=0),le.length===0&&(le.ended||(le.needReadable=!0),De!==ie&&le.ended&&re(this)),ue!==null&&this.emit("data",ue),ue};function j(ie,le){if(c("onEofChunk"),!le.ended){if(le.decoder){var De=le.decoder.end();De&&De.length&&(le.buffer.push(De),le.length+=le.objectMode?1:De.length)}le.ended=!0,le.sync?R(ie):(le.needReadable=!1,le.emittedReadable||(le.emittedReadable=!0,Q(ie)))}}function R(ie){var le=ie._readableState;c("emitReadable",le.needReadable,le.emittedReadable),le.needReadable=!1,le.emittedReadable||(c("emitReadable",le.flowing),le.emittedReadable=!0,t.nextTick(Q,ie))}function Q(ie){var le=ie._readableState;c("emitReadable_",le.destroyed,le.length,le.ended),!le.destroyed&&(le.length||le.ended)&&(ie.emit("readable"),le.emittedReadable=!1),le.needReadable=!le.flowing&&!le.ended&&le.length<=le.highWaterMark,q(ie)}function z(ie,le){le.readingMore||(le.readingMore=!0,t.nextTick(X,ie,le))}function X(ie,le){for(;!le.reading&&!le.ended&&(le.length<le.highWaterMark||le.flowing&&le.length===0);){var De=le.length;if(c("maybeReadMore read 0"),ie.read(0),De===le.length)break}le.readingMore=!1}F.prototype._read=function(ie){S(this,new m("_read()"))},F.prototype.pipe=function(ie,le){var De=this,Ae=this._readableState;switch(Ae.pipesCount){case 0:Ae.pipes=ie;break;case 1:Ae.pipes=[Ae.pipes,ie];break;default:Ae.pipes.push(ie);break}Ae.pipesCount+=1,c("pipe count=%d opts=%j",Ae.pipesCount,le);var ue=(!le||le.end!==!1)&&ie!==t.stdout&&ie!==t.stderr,Ne=ue?Re:D;Ae.endEmitted?t.nextTick(Ne):De.once("end",Ne),ie.on("unpipe",Te);function Te(N,Y){c("onunpipe"),N===De&&Y&&Y.hasUnpiped===!1&&(Y.hasUnpiped=!0,ze())}function Re(){c("onend"),ie.end()}var je=_(De);ie.on("drain",je);var Ve=!1;function ze(){c("cleanup"),ie.removeListener("close",_t),ie.removeListener("finish",U),ie.removeListener("drain",je),ie.removeListener("error",gt),ie.removeListener("unpipe",Te),De.removeListener("end",Re),De.removeListener("end",D),De.removeListener("data",lt),Ve=!0,Ae.awaitDrain&&(!ie._writableState||ie._writableState.needDrain)&&je()}De.on("data",lt);function lt(N){c("ondata");var Y=ie.write(N);c("dest.write",Y),Y===!1&&((Ae.pipesCount===1&&Ae.pipes===ie||Ae.pipesCount>1&&de(Ae.pipes,ie)!==-1)&&!Ve&&(c("false write response, pause",Ae.awaitDrain),Ae.awaitDrain++),De.pause())}function gt(N){c("onerror",N),D(),ie.removeListener("error",gt),r(ie,"error")===0&&S(ie,N)}x(ie,"error",gt);function _t(){ie.removeListener("finish",U),D()}ie.once("close",_t);function U(){c("onfinish"),ie.removeListener("close",_t),D()}ie.once("finish",U);function D(){c("unpipe"),De.unpipe(ie)}return ie.emit("pipe",De),Ae.flowing||(c("pipe resume"),De.resume()),ie};function _(ie){return function(){var De=ie._readableState;c("pipeOnDrain",De.awaitDrain),De.awaitDrain&&De.awaitDrain--,De.awaitDrain===0&&r(ie,"data")&&(De.flowing=!0,q(ie))}}F.prototype.unpipe=function(ie){var le=this._readableState,De={hasUnpiped:!1};if(le.pipesCount===0)return this;if(le.pipesCount===1)return ie&&ie!==le.pipes?this:(ie||(ie=le.pipes),le.pipes=null,le.pipesCount=0,le.flowing=!1,ie&&ie.emit("unpipe",this,De),this);if(!ie){var Ae=le.pipes,ue=le.pipesCount;le.pipes=null,le.pipesCount=0,le.flowing=!1;for(var Ne=0;Ne<ue;Ne++)Ae[Ne].emit("unpipe",this,{hasUnpiped:!1});return this}var Te=de(le.pipes,ie);return Te===-1?this:(le.pipes.splice(Te,1),le.pipesCount-=1,le.pipesCount===1&&(le.pipes=le.pipes[0]),ie.emit("unpipe",this,De),this)},F.prototype.on=function(ie,le){var De=n.prototype.on.call(this,ie,le),Ae=this._readableState;return ie==="data"?(Ae.readableListening=this.listenerCount("readable")>0,Ae.flowing!==!1&&this.resume()):ie==="readable"&&!Ae.endEmitted&&!Ae.readableListening&&(Ae.readableListening=Ae.needReadable=!0,Ae.flowing=!1,Ae.emittedReadable=!1,c("on readable",Ae.length,Ae.reading),Ae.length?R(this):Ae.reading||t.nextTick(W,this)),De},F.prototype.addListener=F.prototype.on,F.prototype.removeListener=function(ie,le){var De=n.prototype.removeListener.call(this,ie,le);return ie==="readable"&&t.nextTick(G,this),De},F.prototype.removeAllListeners=function(ie){var le=n.prototype.removeAllListeners.apply(this,arguments);return(ie==="readable"||ie===void 0)&&t.nextTick(G,this),le};function G(ie){var le=ie._readableState;le.readableListening=ie.listenerCount("readable")>0,le.resumeScheduled&&!le.paused?le.flowing=!0:ie.listenerCount("data")>0&&ie.resume()}function W(ie){c("readable nexttick read 0"),ie.read(0)}F.prototype.resume=function(){var ie=this._readableState;return ie.flowing||(c("resume"),ie.flowing=!ie.readableListening,J(this,ie)),ie.paused=!1,this};function J(ie,le){le.resumeScheduled||(le.resumeScheduled=!0,t.nextTick(ee,ie,le))}function ee(ie,le){c("resume",le.reading),le.reading||ie.read(0),le.resumeScheduled=!1,ie.emit("resume"),q(ie),le.flowing&&!le.reading&&ie.read(0)}F.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function q(ie){var le=ie._readableState;for(c("flow",le.flowing);le.flowing&&ie.read()!==null;);}F.prototype.wrap=function(ie){var le=this,De=this._readableState,Ae=!1;ie.on("end",function(){if(c("wrapped end"),De.decoder&&!De.ended){var Te=De.decoder.end();Te&&Te.length&&le.push(Te)}le.push(null)}),ie.on("data",function(Te){if(c("wrapped data"),De.decoder&&(Te=De.decoder.write(Te)),!(De.objectMode&&Te==null)&&!(!De.objectMode&&(!Te||!Te.length))){var Re=le.push(Te);Re||(Ae=!0,ie.pause())}});for(var ue in ie)this[ue]===void 0&&typeof ie[ue]=="function"&&(this[ue]=function(Re){return function(){return ie[Re].apply(ie,arguments)}}(ue));for(var Ne=0;Ne<w.length;Ne++)ie.on(w[Ne],this.emit.bind(this,w[Ne]));return this._read=function(Te){c("wrapped _read",Te),Ae&&(Ae=!1,ie.resume())},this},typeof Symbol=="function"&&(F.prototype[Symbol.asyncIterator]=function(){return b===void 0&&(b=Wpt()),b(this)}),Object.defineProperty(F.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(F.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(F.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(le){this._readableState&&(this._readableState.flowing=le)}}),F._fromList=Z,Object.defineProperty(F.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Z(ie,le){if(le.length===0)return null;var De;return le.objectMode?De=le.buffer.shift():!ie||ie>=le.length?(le.decoder?De=le.buffer.join(""):le.buffer.length===1?De=le.buffer.first():De=le.buffer.concat(le.length),le.buffer.clear()):De=le.buffer.consume(ie,le.decoder),De}function re(ie){var le=ie._readableState;c("endReadable",le.endEmitted),le.endEmitted||(le.ended=!0,t.nextTick(fe,le,ie))}function fe(ie,le){if(c("endReadableNT",ie.endEmitted,ie.length),!ie.endEmitted&&ie.length===0&&(ie.endEmitted=!0,le.readable=!1,le.emit("end"),ie.autoDestroy)){var De=le._writableState;(!De||De.autoDestroy&&De.finished)&&le.destroy()}}typeof Symbol=="function"&&(F.from=function(ie,le){return B===void 0&&(B=zpt()),B(F,ie,le)});function de(ie,le){for(var De=0,Ae=ie.length;De<Ae;De++)if(ie[De]===le)return De;return-1}return cR}var uR={},Rue=!1;function wSe(){if(Rue)return uR;Rue=!0,uR=a;var t=DC().codes,e=t.ERR_METHOD_NOT_IMPLEMENTED,r=t.ERR_MULTIPLE_CALLBACK,n=t.ERR_TRANSFORM_ALREADY_TRANSFORMING,i=t.ERR_TRANSFORM_WITH_LENGTH_0,o=bB();EC()(a,o);function s(u,f){var d=this._transformState;d.transforming=!1;var p=d.writecb;if(p===null)return this.emit("error",new r);d.writechunk=null,d.writecb=null,f!=null&&this.push(f),p(u);var h=this._readableState;h.reading=!1,(h.needReadable||h.length<h.highWaterMark)&&this._read(h.highWaterMark)}function a(u){if(!(this instanceof a))return new a(u);o.call(this,u),this._transformState={afterTransform:s.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,u&&(typeof u.transform=="function"&&(this._transform=u.transform),typeof u.flush=="function"&&(this._flush=u.flush)),this.on("prefinish",l)}function l(){var u=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(f,d){c(u,f,d)}):c(this,null,null)}a.prototype.push=function(u,f){return this._transformState.needTransform=!1,o.prototype.push.call(this,u,f)},a.prototype._transform=function(u,f,d){d(new e("_transform()"))},a.prototype._write=function(u,f,d){var p=this._transformState;if(p.writecb=d,p.writechunk=u,p.writeencoding=f,!p.transforming){var h=this._readableState;(p.needTransform||h.needReadable||h.length<h.highWaterMark)&&this._read(h.highWaterMark)}},a.prototype._read=function(u){var f=this._transformState;f.writechunk!==null&&!f.transforming?(f.transforming=!0,this._transform(f.writechunk,f.writeencoding,f.afterTransform)):f.needTransform=!0},a.prototype._destroy=function(u,f){o.prototype._destroy.call(this,u,function(d){f(d)})};function c(u,f,d){if(f)return u.emit("error",f);if(d!=null&&u.push(d),u._writableState.length)throw new i;if(u._transformState.transforming)throw new n;return u.push(null)}return uR}var fR={},Mue=!1;function qpt(){if(Mue)return fR;Mue=!0,fR=e;var t=wSe();EC()(e,t);function e(r){if(!(this instanceof e))return new e(r);t.call(this,r)}return e.prototype._transform=function(r,n,i){i(null,r)},fR}var dR={},_ue=!1;function Xpt(){if(_ue)return dR;_ue=!0;var t;function e(d){var p=!1;return function(){p||(p=!0,d.apply(void 0,arguments))}}var r=DC().codes,n=r.ERR_MISSING_ARGS,i=r.ERR_STREAM_DESTROYED;function o(d){if(d)throw d}function s(d){return d.setHeader&&typeof d.abort=="function"}function a(d,p,h,A){A=e(A);var g=!1;d.on("close",function(){g=!0}),t===void 0&&(t=mJ()),t(d,{readable:p,writable:h},function(v){if(v)return A(v);g=!0,A()});var m=!1;return function(v){if(!g&&!m){if(m=!0,s(d))return d.abort();if(typeof d.destroy=="function")return d.destroy();A(v||new i("pipe"))}}}function l(d){d()}function c(d,p){return d.pipe(p)}function u(d){return!d.length||typeof d[d.length-1]!="function"?o:d.pop()}function f(){for(var d=arguments.length,p=new Array(d),h=0;h<d;h++)p[h]=arguments[h];var A=u(p);if(Array.isArray(p[0])&&(p=p[0]),p.length<2)throw new n("streams");var g,m=p.map(function(v,y){var b=y<p.length-1,B=y>0;return a(v,b,B,function(S){g||(g=S),S&&m.forEach(l),!b&&(m.forEach(l),A(g))})});return p.reduce(c)}return dR=f,dR}var pR={},jue=!1,AR=typeof globalThis<"u"?globalThis:typeof self<"u"?self:global;function Ypt(){if(jue)return pR;jue=!0,pR=r;var t=Dl.EventEmitter,e=EC();e(r,t),r.Readable=bSe(),r.Writable=CSe(),r.Duplex=bB(),r.Transform=wSe(),r.PassThrough=qpt(),r.finished=mJ(),r.pipeline=Xpt(),r.Stream=r;function r(){t.call(this||AR)}return r.prototype.pipe=function(n,i){var o=this||AR;function s(p){n.writable&&n.write(p)===!1&&o.pause&&o.pause()}o.on("data",s);function a(){o.readable&&o.resume&&o.resume()}n.on("drain",a),!n._isStdio&&(!i||i.end!==!1)&&(o.on("end",c),o.on("close",u));var l=!1;function c(){l||(l=!0,n.end())}function u(){l||(l=!0,typeof n.destroy=="function"&&n.destroy())}function f(p){if(d(),t.listenerCount(this||AR,"error")===0)throw p}o.on("error",f),n.on("error",f);function d(){o.removeListener("data",s),n.removeListener("drain",a),o.removeListener("end",c),o.removeListener("close",u),o.removeListener("error",f),n.removeListener("error",f),o.removeListener("end",d),o.removeListener("close",d),n.removeListener("close",d)}return o.on("end",d),o.on("close",d),n.on("close",d),n.emit("pipe",o),n},pR}const Gf=Ypt();var Uue=Gf.Readable;Uue.wrap=function(t,e){return e=Object.assign({objectMode:t.readableObjectMode!=null||t.objectMode!=null||!0},e),e.destroy=function(r,n){t.destroy(r),n(r)},new Uue(e).wrap(t)};Gf.Writable;Gf.Duplex;Gf.Transform;Gf.PassThrough;Gf.finished;Gf.pipeline;Gf.Stream;Wce(Gf.finished),Wce(Gf.pipeline);const Av=Cxe();Av.Buffer;Av.SlowBuffer;Av.INSPECT_MAX_BYTES;Av.kMaxLength;var xSe=Av.Buffer;Av.INSPECT_MAX_BYTES;Av.kMaxLength;var Jpt=Object.freeze(Object.create(null)),hR={},Que=!1,mR=typeof globalThis<"u"?globalThis:typeof self<"u"?self:global;function Zpt(){if(Que)return hR;Que=!0;var t=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&t?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=t&&e&&typeof e.get=="function"?e.get:null,n=t&&Map.prototype.forEach,i=typeof Set=="function"&&Set.prototype,o=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,s=i&&o&&typeof o.get=="function"?o.get:null,a=i&&Set.prototype.forEach,l=typeof WeakMap=="function"&&WeakMap.prototype,c=l?WeakMap.prototype.has:null,u=typeof WeakSet=="function"&&WeakSet.prototype,f=u?WeakSet.prototype.has:null,d=typeof WeakRef=="function"&&WeakRef.prototype,p=d?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,A=Object.prototype.toString,g=Function.prototype.toString,m=String.prototype.match,v=String.prototype.slice,y=String.prototype.replace,b=String.prototype.toUpperCase,B=String.prototype.toLowerCase,S=RegExp.prototype.test,w=Array.prototype.concat,x=Array.prototype.join,I=Array.prototype.slice,F=Math.floor,k=typeof BigInt=="function"?BigInt.prototype.valueOf:null,O=Object.getOwnPropertySymbols,L=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,M=typeof Symbol=="function"&&typeof Symbol.iterator=="object",H=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===M||"symbol")?Symbol.toStringTag:null,V=Object.prototype.propertyIsEnumerable,j=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(he){return he.__proto__}:null);function R(he,Ee){if(he===1/0||he===-1/0||he!==he||he&&he>-1e3&&he<1e3||S.call(/e/,Ee))return Ee;var ot=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof he=="number"){var At=he<0?-F(-he):F(he);if(At!==he){var Ct=String(At),pt=v.call(Ee,Ct.length+1);return y.call(Ct,ot,"$&_")+"."+y.call(y.call(pt,/([0-9]{3})/g,"$&_"),/_$/,"")}}return y.call(Ee,ot,"$&_")}var Q=Jpt,z=Q.custom,X=de(z)?z:null;hR=function he(Ee,ot,At,Ct){var pt=ot||{};if(De(pt,"quoteStyle")&&pt.quoteStyle!=="single"&&pt.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(De(pt,"maxStringLength")&&(typeof pt.maxStringLength=="number"?pt.maxStringLength<0&&pt.maxStringLength!==1/0:pt.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Bn=De(pt,"customInspect")?pt.customInspect:!0;if(typeof Bn!="boolean"&&Bn!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(De(pt,"indent")&&pt.indent!==null&&pt.indent!==" "&&!(parseInt(pt.indent,10)===pt.indent&&pt.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(De(pt,"numericSeparator")&&typeof pt.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var jr=pt.numericSeparator;if(typeof Ee>"u")return"undefined";if(Ee===null)return"null";if(typeof Ee=="boolean")return Ee?"true":"false";if(typeof Ee=="string")return gt(Ee,pt);if(typeof Ee=="number"){if(Ee===0)return 1/0/Ee>0?"0":"-0";var yr=String(Ee);return jr?R(Ee,yr):yr}if(typeof Ee=="bigint"){var Sr=String(Ee)+"n";return jr?R(Ee,Sr):Sr}var Jt=typeof pt.depth>"u"?5:pt.depth;if(typeof At>"u"&&(At=0),At>=Jt&&Jt>0&&typeof Ee=="object")return W(Ee)?"[Array]":"[Object]";var Dt=pe(pt,At);if(typeof Ct>"u")Ct=[];else if(Ne(Ct,Ee)>=0)return"[Circular]";function ir(dt,Lt,tr){if(Lt&&(Ct=I.call(Ct),Ct.push(Lt)),tr){var ur={depth:pt.depth};return De(pt,"quoteStyle")&&(ur.quoteStyle=pt.quoteStyle),he(dt,ur,At+1,Ct)}return he(dt,pt,At+1,Ct)}if(typeof Ee=="function"&&!ee(Ee)){var xn=ue(Ee),Ar=_e(Ee,ir);return"[Function"+(xn?": "+xn:" (anonymous)")+"]"+(Ar.length>0?" { "+x.call(Ar,", ")+" }":"")}if(de(Ee)){var Yr=M?y.call(String(Ee),/^(Symbol\(.*\))_[^)]*$/,"$1"):L.call(Ee);return typeof Ee=="object"&&!M?U(Yr):Yr}if(lt(Ee)){for(var se="<"+B.call(String(Ee.nodeName)),ae=Ee.attributes||[],Ce=0;Ce<ae.length;Ce++)se+=" "+ae[Ce].name+"="+_(G(ae[Ce].value),"double",pt);return se+=">",Ee.childNodes&&Ee.childNodes.length&&(se+="..."),se+="</"+B.call(String(Ee.nodeName))+">",se}if(W(Ee)){if(Ee.length===0)return"[]";var Oe=_e(Ee,ir);return Dt&&!Y(Oe)?"["+be(Oe,Dt)+"]":"[ "+x.call(Oe,", ")+" ]"}if(q(Ee)){var Ie=_e(Ee,ir);return!("cause"in Error.prototype)&&"cause"in Ee&&!V.call(Ee,"cause")?"{ ["+String(Ee)+"] "+x.call(w.call("[cause]: "+ir(Ee.cause),Ie),", ")+" }":Ie.length===0?"["+String(Ee)+"]":"{ ["+String(Ee)+"] "+x.call(Ie,", ")+" }"}if(typeof Ee=="object"&&Bn){if(X&&typeof Ee[X]=="function"&&Q)return Q(Ee,{depth:Jt-At});if(Bn!=="symbol"&&typeof Ee.inspect=="function")return Ee.inspect()}if(Te(Ee)){var Le=[];return n&&n.call(Ee,function(dt,Lt){Le.push(ir(Lt,Ee,!0)+" => "+ir(dt,Ee))}),N("Map",r.call(Ee),Le,Dt)}if(Ve(Ee)){var Qe=[];return a&&a.call(Ee,function(dt){Qe.push(ir(dt,Ee))}),N("Set",s.call(Ee),Qe,Dt)}if(Re(Ee))return D("WeakMap");if(ze(Ee))return D("WeakSet");if(je(Ee))return D("WeakRef");if(re(Ee))return U(ir(Number(Ee)));if(ie(Ee))return U(ir(k.call(Ee)));if(fe(Ee))return U(h.call(Ee));if(Z(Ee))return U(ir(String(Ee)));if(typeof window<"u"&&Ee===window)return"{ [object Window] }";if(typeof globalThis<"u"&&Ee===globalThis||typeof mR<"u"&&Ee===mR)return"{ [object globalThis] }";if(!J(Ee)&&!ee(Ee)){var Ge=_e(Ee,ir),ft=j?j(Ee)===Object.prototype:Ee instanceof Object||Ee.constructor===Object,yt=Ee instanceof Object?"":"null prototype",nt=!ft&&H&&Object(Ee)===Ee&&H in Ee?v.call(Ae(Ee),8,-1):yt?"Object":"",Ft=ft||typeof Ee.constructor!="function"?"":Ee.constructor.name?Ee.constructor.name+" ":"",mt=Ft+(nt||yt?"["+x.call(w.call([],nt||[],yt||[]),": ")+"] ":"");return Ge.length===0?mt+"{}":Dt?mt+"{"+be(Ge,Dt)+"}":mt+"{ "+x.call(Ge,", ")+" }"}return String(Ee)};function _(he,Ee,ot){var At=(ot.quoteStyle||Ee)==="double"?'"':"'";return At+he+At}function G(he){return y.call(String(he),/"/g,""")}function W(he){return Ae(he)==="[object Array]"&&(!H||!(typeof he=="object"&&H in he))}function J(he){return Ae(he)==="[object Date]"&&(!H||!(typeof he=="object"&&H in he))}function ee(he){return Ae(he)==="[object RegExp]"&&(!H||!(typeof he=="object"&&H in he))}function q(he){return Ae(he)==="[object Error]"&&(!H||!(typeof he=="object"&&H in he))}function Z(he){return Ae(he)==="[object String]"&&(!H||!(typeof he=="object"&&H in he))}function re(he){return Ae(he)==="[object Number]"&&(!H||!(typeof he=="object"&&H in he))}function fe(he){return Ae(he)==="[object Boolean]"&&(!H||!(typeof he=="object"&&H in he))}function de(he){if(M)return he&&typeof he=="object"&&he instanceof Symbol;if(typeof he=="symbol")return!0;if(!he||typeof he!="object"||!L)return!1;try{return L.call(he),!0}catch{}return!1}function ie(he){if(!he||typeof he!="object"||!k)return!1;try{return k.call(he),!0}catch{}return!1}var le=Object.prototype.hasOwnProperty||function(he){return he in(this||mR)};function De(he,Ee){return le.call(he,Ee)}function Ae(he){return A.call(he)}function ue(he){if(he.name)return he.name;var Ee=m.call(g.call(he),/^function\s*([\w$]+)/);return Ee?Ee[1]:null}function Ne(he,Ee){if(he.indexOf)return he.indexOf(Ee);for(var ot=0,At=he.length;ot<At;ot++)if(he[ot]===Ee)return ot;return-1}function Te(he){if(!r||!he||typeof he!="object")return!1;try{r.call(he);try{s.call(he)}catch{return!0}return he instanceof Map}catch{}return!1}function Re(he){if(!c||!he||typeof he!="object")return!1;try{c.call(he,c);try{f.call(he,f)}catch{return!0}return he instanceof WeakMap}catch{}return!1}function je(he){if(!p||!he||typeof he!="object")return!1;try{return p.call(he),!0}catch{}return!1}function Ve(he){if(!s||!he||typeof he!="object")return!1;try{s.call(he);try{r.call(he)}catch{return!0}return he instanceof Set}catch{}return!1}function ze(he){if(!f||!he||typeof he!="object")return!1;try{f.call(he,f);try{c.call(he,c)}catch{return!0}return he instanceof WeakSet}catch{}return!1}function lt(he){return!he||typeof he!="object"?!1:typeof HTMLElement<"u"&&he instanceof HTMLElement?!0:typeof he.nodeName=="string"&&typeof he.getAttribute=="function"}function gt(he,Ee){if(he.length>Ee.maxStringLength){var ot=he.length-Ee.maxStringLength,At="... "+ot+" more character"+(ot>1?"s":"");return gt(v.call(he,0,Ee.maxStringLength),Ee)+At}var Ct=y.call(y.call(he,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,_t);return _(Ct,"single",Ee)}function _t(he){var Ee=he.charCodeAt(0),ot={8:"b",9:"t",10:"n",12:"f",13:"r"}[Ee];return ot?"\\"+ot:"\\x"+(Ee<16?"0":"")+b.call(Ee.toString(16))}function U(he){return"Object("+he+")"}function D(he){return he+" { ? }"}function N(he,Ee,ot,At){var Ct=At?be(ot,At):x.call(ot,", ");return he+" ("+Ee+") {"+Ct+"}"}function Y(he){for(var Ee=0;Ee<he.length;Ee++)if(Ne(he[Ee],` `)>=0)return!1;return!0}function pe(he,Ee){var ot;if(he.indent===" ")ot=" ";else if(typeof he.indent=="number"&&he.indent>0)ot=x.call(Array(he.indent+1)," ");else return null;return{base:ot,prev:x.call(Array(Ee+1),ot)}}function be(he,Ee){if(he.length===0)return"";var ot=` `+Ee.prev+Ee.base;return ot+x.call(he,","+ot)+` `+Ee.prev}function _e(he,Ee){var ot=W(he),At=[];if(ot){At.length=he.length;for(var Ct=0;Ct<he.length;Ct++)At[Ct]=De(he,Ct)?Ee(he[Ct],he):""}var pt=typeof O=="function"?O(he):[],Bn;if(M){Bn={};for(var jr=0;jr<pt.length;jr++)Bn["$"+pt[jr]]=pt[jr]}for(var yr in he)De(he,yr)&&(ot&&String(Number(yr))===yr&&yr<he.length||M&&Bn["$"+yr]instanceof Symbol||(S.call(/[^\w$]/,yr)?At.push(Ee(yr,he)+": "+Ee(he[yr],he)):At.push(yr+": "+Ee(he[yr],he))));if(typeof O=="function")for(var Sr=0;Sr<pt.length;Sr++)V.call(he,pt[Sr])&&At.push("["+Ee(pt[Sr])+"]: "+Ee(he[pt[Sr]],he));return At}return hR}var gR={},Vue=!1;function eAt(){if(Vue)return gR;Vue=!0;var t=dv(),e=mxe(),r=Zpt(),n=wC(),i=t("%WeakMap%",!0),o=t("%Map%",!0),s=e("WeakMap.prototype.get",!0),a=e("WeakMap.prototype.set",!0),l=e("WeakMap.prototype.has",!0),c=e("Map.prototype.get",!0),u=e("Map.prototype.set",!0),f=e("Map.prototype.has",!0),d=function(g,m){for(var v=g,y;(y=v.next)!==null;v=y)if(y.key===m)return v.next=y.next,y.next=g.next,g.next=y,y},p=function(g,m){var v=d(g,m);return v&&v.value},h=function(g,m,v){var y=d(g,m);y?y.value=v:g.next={key:m,next:g.next,value:v}},A=function(g,m){return!!d(g,m)};return gR=function(){var m,v,y,b={assert:function(B){if(!b.has(B))throw new n("Side channel does not contain "+r(B))},get:function(B){if(i&&B&&(typeof B=="object"||typeof B=="function")){if(m)return s(m,B)}else if(o){if(v)return c(v,B)}else if(y)return p(y,B)},has:function(B){if(i&&B&&(typeof B=="object"||typeof B=="function")){if(m)return l(m,B)}else if(o){if(v)return f(v,B)}else if(y)return A(y,B);return!1},set:function(B,S){i&&B&&(typeof B=="object"||typeof B=="function")?(m||(m=new i),a(m,B,S)):o?(v||(v=new o),u(v,B,S)):(y||(y={key:{},next:null}),h(y,B,S))}};return b},gR}var vR={},$ue=!1;function gJ(){if($ue)return vR;$ue=!0;var t=String.prototype.replace,e=/%20/g,r={RFC1738:"RFC1738",RFC3986:"RFC3986"};return vR={default:r.RFC3986,formatters:{RFC1738:function(n){return t.call(n,e,"+")},RFC3986:function(n){return String(n)}},RFC1738:r.RFC1738,RFC3986:r.RFC3986},vR}var yR={},Hue=!1;function SSe(){if(Hue)return yR;Hue=!0;var t=gJ(),e=Object.prototype.hasOwnProperty,r=Array.isArray,n=function(){for(var g=[],m=0;m<256;++m)g.push("%"+((m<16?"0":"")+m.toString(16)).toUpperCase());return g}(),i=function(m){for(;m.length>1;){var v=m.pop(),y=v.obj[v.prop];if(r(y)){for(var b=[],B=0;B<y.length;++B)typeof y[B]<"u"&&b.push(y[B]);v.obj[v.prop]=b}}},o=function(m,v){for(var y=v&&v.plainObjects?Object.create(null):{},b=0;b<m.length;++b)typeof m[b]<"u"&&(y[b]=m[b]);return y},s=function g(m,v,y){if(!v)return m;if(typeof v!="object"){if(r(m))m.push(v);else if(m&&typeof m=="object")(y&&(y.plainObjects||y.allowPrototypes)||!e.call(Object.prototype,v))&&(m[v]=!0);else return[m,v];return m}if(!m||typeof m!="object")return[m].concat(v);var b=m;return r(m)&&!r(v)&&(b=o(m,y)),r(m)&&r(v)?(v.forEach(function(B,S){if(e.call(m,S)){var w=m[S];w&&typeof w=="object"&&B&&typeof B=="object"?m[S]=g(w,B,y):m.push(B)}else m[S]=B}),m):Object.keys(v).reduce(function(B,S){var w=v[S];return e.call(B,S)?B[S]=g(B[S],w,y):B[S]=w,B},b)},a=function(m,v){return Object.keys(v).reduce(function(y,b){return y[b]=v[b],y},m)},l=function(g,m,v){var y=g.replace(/\+/g," ");if(v==="iso-8859-1")return y.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(y)}catch{return y}},c=1024,u=function(m,v,y,b,B){if(m.length===0)return m;var S=m;if(typeof m=="symbol"?S=Symbol.prototype.toString.call(m):typeof m!="string"&&(S=String(m)),y==="iso-8859-1")return escape(S).replace(/%u[0-9a-f]{4}/gi,function(L){return"%26%23"+parseInt(L.slice(2),16)+"%3B"});for(var w="",x=0;x<S.length;x+=c){for(var I=S.length>=c?S.slice(x,x+c):S,F=[],k=0;k<I.length;++k){var O=I.charCodeAt(k);if(O===45||O===46||O===95||O===126||O>=48&&O<=57||O>=65&&O<=90||O>=97&&O<=122||B===t.RFC1738&&(O===40||O===41)){F[F.length]=I.charAt(k);continue}if(O<128){F[F.length]=n[O];continue}if(O<2048){F[F.length]=n[192|O>>6]+n[128|O&63];continue}if(O<55296||O>=57344){F[F.length]=n[224|O>>12]+n[128|O>>6&63]+n[128|O&63];continue}k+=1,O=65536+((O&1023)<<10|I.charCodeAt(k)&1023),F[F.length]=n[240|O>>18]+n[128|O>>12&63]+n[128|O>>6&63]+n[128|O&63]}w+=F.join("")}return w},f=function(m){for(var v=[{obj:{o:m},prop:"o"}],y=[],b=0;b<v.length;++b)for(var B=v[b],S=B.obj[B.prop],w=Object.keys(S),x=0;x<w.length;++x){var I=w[x],F=S[I];typeof F=="object"&&F!==null&&y.indexOf(F)===-1&&(v.push({obj:S,prop:I}),y.push(F))}return i(v),m},d=function(m){return Object.prototype.toString.call(m)==="[object RegExp]"},p=function(m){return!m||typeof m!="object"?!1:!!(m.constructor&&m.constructor.isBuffer&&m.constructor.isBuffer(m))},h=function(m,v){return[].concat(m,v)},A=function(m,v){if(r(m)){for(var y=[],b=0;b<m.length;b+=1)y.push(v(m[b]));return y}return v(m)};return yR={arrayToObject:o,assign:a,combine:h,compact:f,decode:l,encode:u,isBuffer:p,isRegExp:d,maybeMap:A,merge:s},yR}var BR={},Gue=!1;function tAt(){if(Gue)return BR;Gue=!0;var t=eAt(),e=SSe(),r=gJ(),n=Object.prototype.hasOwnProperty,i={brackets:function(g){return g+"[]"},comma:"comma",indices:function(g,m){return g+"["+m+"]"},repeat:function(g){return g}},o=Array.isArray,s=Array.prototype.push,a=function(A,g){s.apply(A,o(g)?g:[g])},l=Date.prototype.toISOString,c=r.default,u={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:e.encode,encodeValuesOnly:!1,format:c,formatter:r.formatters[c],indices:!1,serializeDate:function(g){return l.call(g)},skipNulls:!1,strictNullHandling:!1},f=function(g){return typeof g=="string"||typeof g=="number"||typeof g=="boolean"||typeof g=="symbol"||typeof g=="bigint"},d={},p=function A(g,m,v,y,b,B,S,w,x,I,F,k,O,L,M,H,V,j){for(var R=g,Q=j,z=0,X=!1;(Q=Q.get(d))!==void 0&&!X;){var _=Q.get(g);if(z+=1,typeof _<"u"){if(_===z)throw new RangeError("Cyclic object value");X=!0}typeof Q.get(d)>"u"&&(z=0)}if(typeof I=="function"?R=I(m,R):R instanceof Date?R=O(R):v==="comma"&&o(R)&&(R=e.maybeMap(R,function(Ae){return Ae instanceof Date?O(Ae):Ae})),R===null){if(B)return x&&!H?x(m,u.encoder,V,"key",L):m;R=""}if(f(R)||e.isBuffer(R)){if(x){var G=H?m:x(m,u.encoder,V,"key",L);return[M(G)+"="+M(x(R,u.encoder,V,"value",L))]}return[M(m)+"="+M(String(R))]}var W=[];if(typeof R>"u")return W;var J;if(v==="comma"&&o(R))H&&x&&(R=e.maybeMap(R,x)),J=[{value:R.length>0?R.join(",")||null:void 0}];else if(o(I))J=I;else{var ee=Object.keys(R);J=F?ee.sort(F):ee}var q=w?m.replace(/\./g,"%2E"):m,Z=y&&o(R)&&R.length===1?q+"[]":q;if(b&&o(R)&&R.length===0)return Z+"[]";for(var re=0;re<J.length;++re){var fe=J[re],de=typeof fe=="object"&&typeof fe.value<"u"?fe.value:R[fe];if(!(S&&de===null)){var ie=k&&w?fe.replace(/\./g,"%2E"):fe,le=o(R)?typeof v=="function"?v(Z,ie):Z:Z+(k?"."+ie:"["+ie+"]");j.set(g,z);var De=t();De.set(d,j),a(W,A(de,le,v,y,b,B,S,w,v==="comma"&&H&&o(R)?null:x,I,F,k,O,L,M,H,V,De))}}return W},h=function(g){if(!g)return u;if(typeof g.allowEmptyArrays<"u"&&typeof g.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof g.encodeDotInKeys<"u"&&typeof g.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(g.encoder!==null&&typeof g.encoder<"u"&&typeof g.encoder!="function")throw new TypeError("Encoder has to be a function.");var m=g.charset||u.charset;if(typeof g.charset<"u"&&g.charset!=="utf-8"&&g.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var v=r.default;if(typeof g.format<"u"){if(!n.call(r.formatters,g.format))throw new TypeError("Unknown format option provided.");v=g.format}var y=r.formatters[v],b=u.filter;(typeof g.filter=="function"||o(g.filter))&&(b=g.filter);var B;if(g.arrayFormat in i?B=g.arrayFormat:"indices"in g?B=g.indices?"indices":"repeat":B=u.arrayFormat,"commaRoundTrip"in g&&typeof g.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var S=typeof g.allowDots>"u"?g.encodeDotInKeys===!0?!0:u.allowDots:!!g.allowDots;return{addQueryPrefix:typeof g.addQueryPrefix=="boolean"?g.addQueryPrefix:u.addQueryPrefix,allowDots:S,allowEmptyArrays:typeof g.allowEmptyArrays=="boolean"?!!g.allowEmptyArrays:u.allowEmptyArrays,arrayFormat:B,charset:m,charsetSentinel:typeof g.charsetSentinel=="boolean"?g.charsetSentinel:u.charsetSentinel,commaRoundTrip:g.commaRoundTrip,delimiter:typeof g.delimiter>"u"?u.delimiter:g.delimiter,encode:typeof g.encode=="boolean"?g.encode:u.encode,encodeDotInKeys:typeof g.encodeDotInKeys=="boolean"?g.encodeDotInKeys:u.encodeDotInKeys,encoder:typeof g.encoder=="function"?g.encoder:u.encoder,encodeValuesOnly:typeof g.encodeValuesOnly=="boolean"?g.encodeValuesOnly:u.encodeValuesOnly,filter:b,format:v,formatter:y,serializeDate:typeof g.serializeDate=="function"?g.serializeDate:u.serializeDate,skipNulls:typeof g.skipNulls=="boolean"?g.skipNulls:u.skipNulls,sort:typeof g.sort=="function"?g.sort:null,strictNullHandling:typeof g.strictNullHandling=="boolean"?g.strictNullHandling:u.strictNullHandling}};return BR=function(A,g){var m=A,v=h(g),y,b;typeof v.filter=="function"?(b=v.filter,m=b("",m)):o(v.filter)&&(b=v.filter,y=b);var B=[];if(typeof m!="object"||m===null)return"";var S=i[v.arrayFormat],w=S==="comma"&&v.commaRoundTrip;y||(y=Object.keys(m)),v.sort&&y.sort(v.sort);for(var x=t(),I=0;I<y.length;++I){var F=y[I];v.skipNulls&&m[F]===null||a(B,p(m[F],F,S,w,v.allowEmptyArrays,v.strictNullHandling,v.skipNulls,v.encodeDotInKeys,v.encode?v.encoder:null,v.filter,v.sort,v.allowDots,v.serializeDate,v.format,v.formatter,v.encodeValuesOnly,v.charset,x))}var k=B.join(v.delimiter),O=v.addQueryPrefix===!0?"?":"";return v.charsetSentinel&&(v.charset==="iso-8859-1"?O+="utf8=%26%2310003%3B&":O+="utf8=%E2%9C%93&"),k.length>0?O+k:""},BR}var CR={},Wue=!1;function rAt(){if(Wue)return CR;Wue=!0;var t=SSe(),e=Object.prototype.hasOwnProperty,r=Array.isArray,n={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:t.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},i=function(d){return d.replace(/&#(\d+);/g,function(p,h){return String.fromCharCode(parseInt(h,10))})},o=function(d,p){return d&&typeof d=="string"&&p.comma&&d.indexOf(",")>-1?d.split(","):d},s="utf8=%26%2310003%3B",a="utf8=%E2%9C%93",l=function(p,h){var A={__proto__:null},g=h.ignoreQueryPrefix?p.replace(/^\?/,""):p;g=g.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var m=h.parameterLimit===1/0?void 0:h.parameterLimit,v=g.split(h.delimiter,m),y=-1,b,B=h.charset;if(h.charsetSentinel)for(b=0;b<v.length;++b)v[b].indexOf("utf8=")===0&&(v[b]===a?B="utf-8":v[b]===s&&(B="iso-8859-1"),y=b,b=v.length);for(b=0;b<v.length;++b)if(b!==y){var S=v[b],w=S.indexOf("]="),x=w===-1?S.indexOf("="):w+1,I,F;x===-1?(I=h.decoder(S,n.decoder,B,"key"),F=h.strictNullHandling?null:""):(I=h.decoder(S.slice(0,x),n.decoder,B,"key"),F=t.maybeMap(o(S.slice(x+1),h),function(O){return h.decoder(O,n.decoder,B,"value")})),F&&h.interpretNumericEntities&&B==="iso-8859-1"&&(F=i(F)),S.indexOf("[]=")>-1&&(F=r(F)?[F]:F);var k=e.call(A,I);k&&h.duplicates==="combine"?A[I]=t.combine(A[I],F):(!k||h.duplicates==="last")&&(A[I]=F)}return A},c=function(d,p,h,A){for(var g=A?p:o(p,h),m=d.length-1;m>=0;--m){var v,y=d[m];if(y==="[]"&&h.parseArrays)v=h.allowEmptyArrays&&(g===""||h.strictNullHandling&&g===null)?[]:[].concat(g);else{v=h.plainObjects?Object.create(null):{};var b=y.charAt(0)==="["&&y.charAt(y.length-1)==="]"?y.slice(1,-1):y,B=h.decodeDotInKeys?b.replace(/%2E/g,"."):b,S=parseInt(B,10);!h.parseArrays&&B===""?v={0:g}:!isNaN(S)&&y!==B&&String(S)===B&&S>=0&&h.parseArrays&&S<=h.arrayLimit?(v=[],v[S]=g):B!=="__proto__"&&(v[B]=g)}g=v}return g},u=function(p,h,A,g){if(p){var m=A.allowDots?p.replace(/\.([^.[]+)/g,"[$1]"):p,v=/(\[[^[\]]*])/,y=/(\[[^[\]]*])/g,b=A.depth>0&&v.exec(m),B=b?m.slice(0,b.index):m,S=[];if(B){if(!A.plainObjects&&e.call(Object.prototype,B)&&!A.allowPrototypes)return;S.push(B)}for(var w=0;A.depth>0&&(b=y.exec(m))!==null&&w<A.depth;){if(w+=1,!A.plainObjects&&e.call(Object.prototype,b[1].slice(1,-1))&&!A.allowPrototypes)return;S.push(b[1])}if(b){if(A.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+A.depth+" and strictDepth is true");S.push("["+m.slice(b.index)+"]")}return c(S,h,A,g)}},f=function(p){if(!p)return n;if(typeof p.allowEmptyArrays<"u"&&typeof p.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof p.decodeDotInKeys<"u"&&typeof p.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(p.decoder!==null&&typeof p.decoder<"u"&&typeof p.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof p.charset<"u"&&p.charset!=="utf-8"&&p.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var h=typeof p.charset>"u"?n.charset:p.charset,A=typeof p.duplicates>"u"?n.duplicates:p.duplicates;if(A!=="combine"&&A!=="first"&&A!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var g=typeof p.allowDots>"u"?p.decodeDotInKeys===!0?!0:n.allowDots:!!p.allowDots;return{allowDots:g,allowEmptyArrays:typeof p.allowEmptyArrays=="boolean"?!!p.allowEmptyArrays:n.allowEmptyArrays,allowPrototypes:typeof p.allowPrototypes=="boolean"?p.allowPrototypes:n.allowPrototypes,allowSparse:typeof p.allowSparse=="boolean"?p.allowSparse:n.allowSparse,arrayLimit:typeof p.arrayLimit=="number"?p.arrayLimit:n.arrayLimit,charset:h,charsetSentinel:typeof p.charsetSentinel=="boolean"?p.charsetSentinel:n.charsetSentinel,comma:typeof p.comma=="boolean"?p.comma:n.comma,decodeDotInKeys:typeof p.decodeDotInKeys=="boolean"?p.decodeDotInKeys:n.decodeDotInKeys,decoder:typeof p.decoder=="function"?p.decoder:n.decoder,delimiter:typeof p.delimiter=="string"||t.isRegExp(p.delimiter)?p.delimiter:n.delimiter,depth:typeof p.depth=="number"||p.depth===!1?+p.depth:n.depth,duplicates:A,ignoreQueryPrefix:p.ignoreQueryPrefix===!0,interpretNumericEntities:typeof p.interpretNumericEntities=="boolean"?p.interpretNumericEntities:n.interpretNumericEntities,parameterLimit:typeof p.parameterLimit=="number"?p.parameterLimit:n.parameterLimit,parseArrays:p.parseArrays!==!1,plainObjects:typeof p.plainObjects=="boolean"?p.plainObjects:n.plainObjects,strictDepth:typeof p.strictDepth=="boolean"?!!p.strictDepth:n.strictDepth,strictNullHandling:typeof p.strictNullHandling=="boolean"?p.strictNullHandling:n.strictNullHandling}};return CR=function(d,p){var h=f(p);if(d===""||d===null||typeof d>"u")return h.plainObjects?Object.create(null):{};for(var A=typeof d=="string"?l(d,h):d,g=h.plainObjects?Object.create(null):{},m=Object.keys(A),v=0;v<m.length;++v){var y=m[v],b=u(y,A[y],h,typeof d=="string");g=t.merge(g,b,h)}return h.allowSparse===!0?g:t.compact(g)},CR}var bR={},zue=!1;function nAt(){if(zue)return bR;zue=!0;var t=tAt(),e=rAt(),r=gJ();return bR={formats:r,parse:e,stringify:t},bR}var wg={},Kue=!1;function iAt(){if(Kue)return wg;Kue=!0;var t=Vm;function e(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var r=/^([a-z0-9.+-]+:)/i,n=/:[0-9]*$/,i=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,o=["<",">",'"',"`"," ","\r",` `," "],s=["{","}","|","\\","^","`"].concat(o),a=["'"].concat(s),l=["%","/","?",";","#"].concat(a),c=["/","?","#"],u=255,f=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},h={javascript:!0,"javascript:":!0},A={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=nAt();function m(B,S,w){if(B&&typeof B=="object"&&B instanceof e)return B;var x=new e;return x.parse(B,S,w),x}e.prototype.parse=function(B,S,w){if(typeof B!="string")throw new TypeError("Parameter 'url' must be a string, not "+typeof B);var x=B.indexOf("?"),I=x!==-1&&x<B.indexOf("#")?"?":"#",F=B.split(I),k=/\\/g;F[0]=F[0].replace(k,"/"),B=F.join(I);var O=B;if(O=O.trim(),!w&&B.split("#").length===1){var L=i.exec(O);if(L)return this.path=O,this.href=O,this.pathname=L[1],L[2]?(this.search=L[2],S?this.query=g.parse(this.search.substr(1)):this.query=this.search.substr(1)):S&&(this.search="",this.query={}),this}var M=r.exec(O);if(M){M=M[0];var H=M.toLowerCase();this.protocol=H,O=O.substr(M.length)}if(w||M||O.match(/^\/\/[^@/]+@[^@/]+/)){var V=O.substr(0,2)==="//";V&&!(M&&h[M])&&(O=O.substr(2),this.slashes=!0)}if(!h[M]&&(V||M&&!A[M])){for(var j=-1,R=0;R<c.length;R++){var Q=O.indexOf(c[R]);Q!==-1&&(j===-1||Q<j)&&(j=Q)}var z,X;j===-1?X=O.lastIndexOf("@"):X=O.lastIndexOf("@",j),X!==-1&&(z=O.slice(0,X),O=O.slice(X+1),this.auth=decodeURIComponent(z)),j=-1;for(var R=0;R<l.length;R++){var Q=O.indexOf(l[R]);Q!==-1&&(j===-1||Q<j)&&(j=Q)}j===-1&&(j=O.length),this.host=O.slice(0,j),O=O.slice(j),this.parseHost(),this.hostname=this.hostname||"";var _=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!_)for(var G=this.hostname.split(/\./),R=0,W=G.length;R<W;R++){var J=G[R];if(J&&!J.match(f)){for(var ee="",q=0,Z=J.length;q<Z;q++)J.charCodeAt(q)>127?ee+="x":ee+=J[q];if(!ee.match(f)){var re=G.slice(0,R),fe=G.slice(R+1),de=J.match(d);de&&(re.push(de[1]),fe.unshift(de[2])),fe.length&&(O="/"+fe.join(".")+O),this.hostname=re.join(".");break}}}this.hostname.length>u?this.hostname="":this.hostname=this.hostname.toLowerCase(),_||(this.hostname=t.toASCII(this.hostname));var ie=this.port?":"+this.port:"",le=this.hostname||"";this.host=le+ie,this.href+=this.host,_&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),O[0]!=="/"&&(O="/"+O))}if(!p[H])for(var R=0,W=a.length;R<W;R++){var De=a[R];if(O.indexOf(De)!==-1){var Ae=encodeURIComponent(De);Ae===De&&(Ae=escape(De)),O=O.split(De).join(Ae)}}var ue=O.indexOf("#");ue!==-1&&(this.hash=O.substr(ue),O=O.slice(0,ue));var Ne=O.indexOf("?");if(Ne!==-1?(this.search=O.substr(Ne),this.query=O.substr(Ne+1),S&&(this.query=g.parse(this.query)),O=O.slice(0,Ne)):S&&(this.search="",this.query={}),O&&(this.pathname=O),A[H]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var ie=this.pathname||"",Te=this.search||"";this.path=ie+Te}return this.href=this.format(),this};function v(B){return typeof B=="string"&&(B=m(B)),B instanceof e?B.format():e.prototype.format.call(B)}e.prototype.format=function(){var B=this.auth||"";B&&(B=encodeURIComponent(B),B=B.replace(/%3A/i,":"),B+="@");var S=this.protocol||"",w=this.pathname||"",x=this.hash||"",I=!1,F="";this.host?I=B+this.host:this.hostname&&(I=B+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(I+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(F=g.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var k=this.search||F&&"?"+F||"";return S&&S.substr(-1)!==":"&&(S+=":"),this.slashes||(!S||A[S])&&I!==!1?(I="//"+(I||""),w&&w.charAt(0)!=="/"&&(w="/"+w)):I||(I=""),x&&x.charAt(0)!=="#"&&(x="#"+x),k&&k.charAt(0)!=="?"&&(k="?"+k),w=w.replace(/[?#]/g,function(O){return encodeURIComponent(O)}),k=k.replace("#","%23"),S+I+w+k+x};function y(B,S){return m(B,!1,!0).resolve(S)}e.prototype.resolve=function(B){return this.resolveObject(m(B,!1,!0)).format()};function b(B,S){return B?m(B,!1,!0).resolveObject(S):S}return e.prototype.resolveObject=function(B){if(typeof B=="string"){var S=new e;S.parse(B,!1,!0),B=S}for(var w=new e,x=Object.keys(this),I=0;I<x.length;I++){var F=x[I];w[F]=this[F]}if(w.hash=B.hash,B.href==="")return w.href=w.format(),w;if(B.slashes&&!B.protocol){for(var k=Object.keys(B),O=0;O<k.length;O++){var L=k[O];L!=="protocol"&&(w[L]=B[L])}return A[w.protocol]&&w.hostname&&!w.pathname&&(w.pathname="/",w.path=w.pathname),w.href=w.format(),w}if(B.protocol&&B.protocol!==w.protocol){if(!A[B.protocol]){for(var M=Object.keys(B),H=0;H<M.length;H++){var V=M[H];w[V]=B[V]}return w.href=w.format(),w}if(w.protocol=B.protocol,!B.host&&!h[B.protocol]){for(var W=(B.pathname||"").split("/");W.length&&!(B.host=W.shift()););B.host||(B.host=""),B.hostname||(B.hostname=""),W[0]!==""&&W.unshift(""),W.length<2&&W.unshift(""),w.pathname=W.join("/")}else w.pathname=B.pathname;if(w.search=B.search,w.query=B.query,w.host=B.host||"",w.auth=B.auth,w.hostname=B.hostname||B.host,w.port=B.port,w.pathname||w.search){var j=w.pathname||"",R=w.search||"";w.path=j+R}return w.slashes=w.slashes||B.slashes,w.href=w.format(),w}var Q=w.pathname&&w.pathname.charAt(0)==="/",z=B.host||B.pathname&&B.pathname.charAt(0)==="/",X=z||Q||w.host&&B.pathname,_=X,G=w.pathname&&w.pathname.split("/")||[],W=B.pathname&&B.pathname.split("/")||[],J=w.protocol&&!A[w.protocol];if(J&&(w.hostname="",w.port=null,w.host&&(G[0]===""?G[0]=w.host:G.unshift(w.host)),w.host="",B.protocol&&(B.hostname=null,B.port=null,B.host&&(W[0]===""?W[0]=B.host:W.unshift(B.host)),B.host=null),X=X&&(W[0]===""||G[0]==="")),z)w.host=B.host||B.host===""?B.host:w.host,w.hostname=B.hostname||B.hostname===""?B.hostname:w.hostname,w.search=B.search,w.query=B.query,G=W;else if(W.length)G||(G=[]),G.pop(),G=G.concat(W),w.search=B.search,w.query=B.query;else if(B.search!=null){if(J){w.host=G.shift(),w.hostname=w.host;var ee=w.host&&w.host.indexOf("@")>0?w.host.split("@"):!1;ee&&(w.auth=ee.shift(),w.hostname=ee.shift(),w.host=w.hostname)}return w.search=B.search,w.query=B.query,(w.pathname!==null||w.search!==null)&&(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.href=w.format(),w}if(!G.length)return w.pathname=null,w.search?w.path="/"+w.search:w.path=null,w.href=w.format(),w;for(var q=G.slice(-1)[0],Z=(w.host||B.host||G.length>1)&&(q==="."||q==="..")||q==="",re=0,fe=G.length;fe>=0;fe--)q=G[fe],q==="."?G.splice(fe,1):q===".."?(G.splice(fe,1),re++):re&&(G.splice(fe,1),re--);if(!X&&!_)for(;re--;re)G.unshift("..");X&&G[0]!==""&&(!G[0]||G[0].charAt(0)!=="/")&&G.unshift(""),Z&&G.join("/").substr(-1)!=="/"&&G.push("");var de=G[0]===""||G[0]&&G[0].charAt(0)==="/";if(J){w.hostname=de?"":G.length?G.shift():"",w.host=w.hostname;var ee=w.host&&w.host.indexOf("@")>0?w.host.split("@"):!1;ee&&(w.auth=ee.shift(),w.hostname=ee.shift(),w.host=w.hostname)}return X=X||w.host&&G.length,X&&!de&&G.unshift(""),G.length>0?w.pathname=G.join("/"):(w.pathname=null,w.path=null),(w.pathname!==null||w.search!==null)&&(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.auth=B.auth||w.auth,w.slashes=w.slashes||B.slashes,w.href=w.format(),w},e.prototype.parseHost=function(){var B=this.host,S=n.exec(B);S&&(S=S[0],S!==":"&&(this.port=S.substr(1)),B=B.substr(0,B.length-S.length)),B&&(this.hostname=B)},wg.parse=m,wg.resolve=y,wg.resolveObject=b,wg.format=v,wg.Url=e,wg}const fc=iAt();fc.parse;fc.resolve;fc.resolveObject;fc.format;fc.Url;const oAt=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0;fc.URL=typeof URL<"u"?URL:null;fc.pathToFileURL=vAt;fc.fileURLToPath=ESe;fc.Url;fc.format;fc.resolve;fc.resolveObject;fc.parse;fc.URL;const sAt=92,aAt=47,lAt=97,cAt=122,S$=oAt==="win32",uAt=/\//g,fAt=/%/g,dAt=/\\/g,pAt=/\n/g,AAt=/\r/g,hAt=/\t/g;function ESe(t){if(typeof t=="string")t=new URL(t);else if(!(t instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if(t.protocol!=="file:")throw new Deno.errors.InvalidData("invalid url scheme");return S$?mAt(t):gAt(t)}function mAt(t){const e=t.hostname;let r=t.pathname;for(let n=0;n<r.length;n++)if(r[n]==="%"){const i=r.codePointAt(n+2)||32;if(r[n+1]==="2"&&i===102||r[n+1]==="5"&&i===99)throw new Deno.errors.InvalidData("must not include encoded \\ or / characters")}if(r=r.replace(uAt,"\\"),r=decodeURIComponent(r),e!=="")return`\\\\${e}${r}`;{const n=r.codePointAt(1)|32,i=r[2];if(n<lAt||n>cAt||i!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return r.slice(1)}}function gAt(t){if(t.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");const e=t.pathname;for(let r=0;r<e.length;r++)if(e[r]==="%"){const n=e.codePointAt(r+2)||32;if(e[r+1]==="2"&&n===102)throw new Deno.errors.InvalidData("must not include encoded / characters")}return decodeURIComponent(e)}function vAt(t){let e=ws.resolve(t);const r=t.charCodeAt(t.length-1);(r===aAt||S$&&r===sAt)&&e[e.length-1]!==ws.sep&&(e+="/");const n=new URL("file://");return e.includes("%")&&(e=e.replace(fAt,"%25")),!S$&&e.includes("\\")&&(e=e.replace(dAt,"%5C")),e.includes(` `)&&(e=e.replace(pAt,"%0A")),e.includes("\r")&&(e=e.replace(AAt,"%0D")),e.includes(" ")&&(e=e.replace(hAt,"%09")),n.pathname=e,n}var qb={},que=!1;function ix(){return que||(que=!0,Object.defineProperty(qb,"__esModule",{value:!0}),qb.constants=void 0,qb.constants={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:64,O_EXCL:128,O_NOCTTY:256,O_TRUNC:512,O_APPEND:1024,O_DIRECTORY:65536,O_NOATIME:262144,O_NOFOLLOW:131072,O_SYNC:1052672,O_DIRECT:16384,O_NONBLOCK:2048,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_FS_SYMLINK_DIR:1,UV_FS_SYMLINK_JUNCTION:2,UV_FS_COPYFILE_EXCL:1,UV_FS_COPYFILE_FICLONE:2,UV_FS_COPYFILE_FICLONE_FORCE:4,COPYFILE_EXCL:1,COPYFILE_FICLONE:2,COPYFILE_FICLONE_FORCE:4}),qb}var D6={},Xue=!1;function yAt(){return Xue||(Xue=!0,typeof BigInt=="function"?D6.default=BigInt:D6.default=function(){throw new Error("BigInt is not supported in this environment.")}),D6}var ay={},Yue=!1;function vJ(){if(Yue)return ay;Yue=!0,Object.defineProperty(ay,"__esModule",{value:!0}),ay.Stats=void 0;var t=ix(),e=yAt(),r=t.constants.S_IFMT,n=t.constants.S_IFDIR,i=t.constants.S_IFREG,o=t.constants.S_IFBLK,s=t.constants.S_IFCHR,a=t.constants.S_IFLNK,l=t.constants.S_IFIFO,c=t.constants.S_IFSOCK,u=function(){function f(){}return f.build=function(d,p){p===void 0&&(p=!1);var h=new f,A=d.uid,g=d.gid,m=d.atime,v=d.mtime,y=d.ctime,b=p?e.default:function(S){return S};h.uid=b(A),h.gid=b(g),h.rdev=b(0),h.blksize=b(4096),h.ino=b(d.ino),h.size=b(d.getSize()),h.blocks=b(1),h.atime=m,h.mtime=v,h.ctime=y,h.birthtime=y,h.atimeMs=b(m.getTime()),h.mtimeMs=b(v.getTime());var B=b(y.getTime());return h.ctimeMs=B,h.birthtimeMs=B,h.dev=b(0),h.mode=b(d.mode),h.nlink=b(d.nlink),h},f.prototype._checkModeProperty=function(d){return(Number(this.mode)&r)===d},f.prototype.isDirectory=function(){return this._checkModeProperty(n)},f.prototype.isFile=function(){return this._checkModeProperty(i)},f.prototype.isBlockDevice=function(){return this._checkModeProperty(o)},f.prototype.isCharacterDevice=function(){return this._checkModeProperty(s)},f.prototype.isSymbolicLink=function(){return this._checkModeProperty(a)},f.prototype.isFIFO=function(){return this._checkModeProperty(l)},f.prototype.isSocket=function(){return this._checkModeProperty(c)},f}();return ay.Stats=u,ay.default=u,ay}var cf={},Jue=!1;function yJ(){if(Jue)return cf;Jue=!0;var t=cf&&cf.__spreadArray||function(o,s,a){if(a||arguments.length===2)for(var l=0,c=s.length,u;l<c;l++)(u||!(l in s))&&(u||(u=Array.prototype.slice.call(s,0,l)),u[l]=s[l]);return o.concat(u||Array.prototype.slice.call(s))};Object.defineProperty(cf,"__esModule",{value:!0}),cf.bufferFrom=cf.bufferAllocUnsafe=cf.Buffer=void 0;var e=Cxe();Object.defineProperty(cf,"Buffer",{enumerable:!0,get:function(){return e.Buffer}});function r(o){for(var s=[],a=1;a<arguments.length;a++)s[a-1]=arguments[a];return new(e.Buffer.bind.apply(e.Buffer,t([void 0,o],s,!1)))}var n=e.Buffer.allocUnsafe||r;cf.bufferAllocUnsafe=n;var i=e.Buffer.from||r;return cf.bufferFrom=i,cf}var Ds={},Zue=!1,BAt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:global;function DSe(){if(Zue)return Ds;Zue=!0;var t=Ds&&Ds.__extends||function(){var h=function(A,g){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,v){m.__proto__=v}||function(m,v){for(var y in v)Object.prototype.hasOwnProperty.call(v,y)&&(m[y]=v[y])},h(A,g)};return function(A,g){if(typeof g!="function"&&g!==null)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");h(A,g);function m(){this.constructor=A}A.prototype=g===null?Object.create(g):(m.prototype=g.prototype,new m)}}();Object.defineProperty(Ds,"__esModule",{value:!0}),Ds.E=Ds.AssertionError=Ds.message=Ds.RangeError=Ds.TypeError=Ds.Error=void 0;var e=Kr,r=xt,n=typeof Symbol>"u"?"_kCode":Symbol("code"),i={};function o(h){return function(A){t(g,A);function g(m){for(var v=[],y=1;y<arguments.length;y++)v[y-1]=arguments[y];var b=A.call(this,l(m,v))||this;return b.code=m,b[n]=m,b.name="".concat(A.prototype.name," [").concat(b[n],"]"),b}return g}(h)}var s=typeof globalThis<"u"?globalThis:BAt,a=function(h){t(A,h);function A(g){var m=this;if(typeof g!="object"||g===null)throw new Ds.TypeError("ERR_INVALID_ARG_TYPE","options","object");return g.message?m=h.call(this,g.message)||this:m=h.call(this,"".concat(r.inspect(g.actual).slice(0,128)," ")+"".concat(g.operator," ").concat(r.inspect(g.expected).slice(0,128)))||this,m.generatedMessage=!g.message,m.name="AssertionError [ERR_ASSERTION]",m.code="ERR_ASSERTION",m.actual=g.actual,m.expected=g.expected,m.operator=g.operator,Ds.Error.captureStackTrace(m,g.stackStartFunction),m}return A}(s.Error);Ds.AssertionError=a;function l(h,A){e.strictEqual(typeof h,"string");var g=i[h];e(g,"An invalid error message key was used: ".concat(h,"."));var m;if(typeof g=="function")m=g;else{if(m=r.format,A===void 0||A.length===0)return g;A.unshift(g)}return String(m.apply(null,A))}Ds.message=l;function c(h,A){i[h]=typeof A=="function"?A:String(A)}Ds.E=c,Ds.Error=o(s.Error),Ds.TypeError=o(s.TypeError),Ds.RangeError=o(s.RangeError),c("ERR_ARG_NOT_ITERABLE","%s must be iterable"),c("ERR_ASSERTION","%s"),c("ERR_BUFFER_OUT_OF_BOUNDS",p),c("ERR_CHILD_CLOSED_BEFORE_REPLY","Child closed before reply received"),c("ERR_CONSOLE_WRITABLE_STREAM","Console expects a writable stream instance for %s"),c("ERR_CPU_USAGE","Unable to obtain cpu usage %s"),c("ERR_DNS_SET_SERVERS_FAILED",function(h,A){return'c-ares failed to set servers: "'.concat(h,'" [').concat(A,"]")}),c("ERR_FALSY_VALUE_REJECTION","Promise was rejected with falsy value"),c("ERR_ENCODING_NOT_SUPPORTED",function(h){return'The "'.concat(h,'" encoding is not supported')}),c("ERR_ENCODING_INVALID_ENCODED_DATA",function(h){return"The encoded data was not valid for encoding ".concat(h)}),c("ERR_HTTP_HEADERS_SENT","Cannot render headers after they are sent to the client"),c("ERR_HTTP_INVALID_STATUS_CODE","Invalid status code: %s"),c("ERR_HTTP_TRAILER_INVALID","Trailers are invalid with this transfer encoding"),c("ERR_INDEX_OUT_OF_RANGE","Index out of range"),c("ERR_INVALID_ARG_TYPE",u),c("ERR_INVALID_ARRAY_LENGTH",function(h,A,g){return e.strictEqual(typeof g,"number"),'The array "'.concat(h,'" (length ').concat(g,") must be of length ").concat(A,".")}),c("ERR_INVALID_BUFFER_SIZE","Buffer size must be a multiple of %s"),c("ERR_INVALID_CALLBACK","Callback must be a function"),c("ERR_INVALID_CHAR","Invalid character in %s"),c("ERR_INVALID_CURSOR_POS","Cannot set cursor row without setting its column"),c("ERR_INVALID_FD",'"fd" must be a positive integer: %s'),c("ERR_INVALID_FILE_URL_HOST",'File URL host must be "localhost" or empty on %s'),c("ERR_INVALID_FILE_URL_PATH","File URL path %s"),c("ERR_INVALID_HANDLE_TYPE","This handle type cannot be sent"),c("ERR_INVALID_IP_ADDRESS","Invalid IP address: %s"),c("ERR_INVALID_OPT_VALUE",function(h,A){return'The value "'.concat(String(A),'" is invalid for option "').concat(h,'"')}),c("ERR_INVALID_OPT_VALUE_ENCODING",function(h){return'The value "'.concat(String(h),'" is invalid for option "encoding"')}),c("ERR_INVALID_REPL_EVAL_CONFIG",'Cannot specify both "breakEvalOnSigint" and "eval" for REPL'),c("ERR_INVALID_SYNC_FORK_INPUT","Asynchronous forks do not support Buffer, Uint8Array or string input: %s"),c("ERR_INVALID_THIS",'Value of "this" must be of type %s'),c("ERR_INVALID_TUPLE","%s must be an iterable %s tuple"),c("ERR_INVALID_URL","Invalid URL: %s"),c("ERR_INVALID_URL_SCHEME",function(h){return"The URL must be ".concat(d(h,"scheme"))}),c("ERR_IPC_CHANNEL_CLOSED","Channel closed"),c("ERR_IPC_DISCONNECTED","IPC channel is already disconnected"),c("ERR_IPC_ONE_PIPE","Child process can have only one IPC pipe"),c("ERR_IPC_SYNC_FORK","IPC cannot be used with synchronous forks"),c("ERR_MISSING_ARGS",f),c("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),c("ERR_NAPI_CONS_FUNCTION","Constructor must be a function"),c("ERR_NAPI_CONS_PROTOTYPE_OBJECT","Constructor.prototype must be an object"),c("ERR_NO_CRYPTO","Node.js is not compiled with OpenSSL crypto support"),c("ERR_NO_LONGER_SUPPORTED","%s is no longer supported"),c("ERR_PARSE_HISTORY_DATA","Could not parse history data in %s"),c("ERR_SOCKET_ALREADY_BOUND","Socket is already bound"),c("ERR_SOCKET_BAD_PORT","Port should be > 0 and < 65536"),c("ERR_SOCKET_BAD_TYPE","Bad socket type specified. Valid types are: udp4, udp6"),c("ERR_SOCKET_CANNOT_SEND","Unable to send data"),c("ERR_SOCKET_CLOSED","Socket is closed"),c("ERR_SOCKET_DGRAM_NOT_RUNNING","Not running"),c("ERR_STDERR_CLOSE","process.stderr cannot be closed"),c("ERR_STDOUT_CLOSE","process.stdout cannot be closed"),c("ERR_STREAM_WRAP","Stream has StringDecoder set or is in objectMode"),c("ERR_TLS_CERT_ALTNAME_INVALID","Hostname/IP does not match certificate's altnames: %s"),c("ERR_TLS_DH_PARAM_SIZE",function(h){return"DH parameter size ".concat(h," is less than 2048")}),c("ERR_TLS_HANDSHAKE_TIMEOUT","TLS handshake timeout"),c("ERR_TLS_RENEGOTIATION_FAILED","Failed to renegotiate"),c("ERR_TLS_REQUIRED_SERVER_NAME",'"servername" is required parameter for Server.addContext'),c("ERR_TLS_SESSION_ATTACK","TSL session renegotiation attack detected"),c("ERR_TRANSFORM_ALREADY_TRANSFORMING","Calling transform done when still transforming"),c("ERR_TRANSFORM_WITH_LENGTH_0","Calling transform done when writableState.length != 0"),c("ERR_UNKNOWN_ENCODING","Unknown encoding: %s"),c("ERR_UNKNOWN_SIGNAL","Unknown signal: %s"),c("ERR_UNKNOWN_STDIN_TYPE","Unknown stdin file type"),c("ERR_UNKNOWN_STREAM_TYPE","Unknown stream file type"),c("ERR_V8BREAKITERATOR","Full ICU data not installed. See https://github.com/nodejs/node/wiki/Intl");function u(h,A,g){e(h,"name is required");var m;A.includes("not ")?(m="must not be",A=A.split("not ")[1]):m="must be";var v;if(Array.isArray(h)){var y=h.map(function(B){return'"'.concat(B,'"')}).join(", ");v="The ".concat(y," arguments ").concat(m," ").concat(d(A,"type"))}else if(h.includes(" argument"))v="The ".concat(h," ").concat(m," ").concat(d(A,"type"));else{var b=h.includes(".")?"property":"argument";v='The "'.concat(h,'" ').concat(b," ").concat(m," ").concat(d(A,"type"))}return arguments.length>=3&&(v+=". Received type ".concat(g!==null?typeof g:"null")),v}function f(){for(var h=[],A=0;A<arguments.length;A++)h[A]=arguments[A];e(h.length>0,"At least one arg needs to be specified");var g="The ",m=h.length;switch(h=h.map(function(v){return'"'.concat(v,'"')}),m){case 1:g+="".concat(h[0]," argument");break;case 2:g+="".concat(h[0]," and ").concat(h[1]," arguments");break;default:g+=h.slice(0,m-1).join(", "),g+=", and ".concat(h[m-1]," arguments");break}return"".concat(g," must be specified")}function d(h,A){if(e(h,"expected is required"),e(typeof A=="string","thing is required"),Array.isArray(h)){var g=h.length;return e(g>0,"At least one expected value needs to be specified"),h=h.map(function(m){return String(m)}),g>2?"one of ".concat(A," ").concat(h.slice(0,g-1).join(", "),", or ")+h[g-1]:g===2?"one of ".concat(A," ").concat(h[0]," or ").concat(h[1]):"of ".concat(A," ").concat(h[0])}else return"of ".concat(A," ").concat(String(h))}function p(h,A){return A?"Attempt to write outside buffer bounds":'"'.concat(h,'" is outside of buffer bounds')}return Ds}var yd={},efe=!1;function kSe(){if(efe)return yd;efe=!0,Object.defineProperty(yd,"__esModule",{value:!0}),yd.strToEncoding=yd.assertEncoding=yd.ENCODING_UTF8=void 0;var t=yJ(),e=DSe();yd.ENCODING_UTF8="utf8";function r(i){if(i&&!t.Buffer.isEncoding(i))throw new e.TypeError("ERR_INVALID_OPT_VALUE_ENCODING",i)}yd.assertEncoding=r;function n(i,o){return!o||o===yd.ENCODING_UTF8?i:o==="buffer"?new t.Buffer(i):new t.Buffer(i).toString(o)}return yd.strToEncoding=n,yd}var ly={},tfe=!1;function OSe(){if(tfe)return ly;tfe=!0,Object.defineProperty(ly,"__esModule",{value:!0}),ly.Dirent=void 0;var t=ix(),e=kSe(),r=t.constants.S_IFMT,n=t.constants.S_IFDIR,i=t.constants.S_IFREG,o=t.constants.S_IFBLK,s=t.constants.S_IFCHR,a=t.constants.S_IFLNK,l=t.constants.S_IFIFO,c=t.constants.S_IFSOCK,u=function(){function f(){this.name="",this.mode=0}return f.build=function(d,p){var h=new f,A=d.getNode().mode;return h.name=(0,e.strToEncoding)(d.getName(),p),h.mode=A,h},f.prototype._checkModeProperty=function(d){return(this.mode&r)===d},f.prototype.isDirectory=function(){return this._checkModeProperty(n)},f.prototype.isFile=function(){return this._checkModeProperty(i)},f.prototype.isBlockDevice=function(){return this._checkModeProperty(o)},f.prototype.isCharacterDevice=function(){return this._checkModeProperty(s)},f.prototype.isSymbolicLink=function(){return this._checkModeProperty(a)},f.prototype.isFIFO=function(){return this._checkModeProperty(l)},f.prototype.isSocket=function(){return this._checkModeProperty(c)},f}();return ly.Dirent=u,ly.default=u,ly}ia._makeLong;ia.basename;ia.delimiter;ia.dirname;ia.extname;ia.format;ia.isAbsolute;ia.join;ia.normalize;ia.parse;ia.posix;ia.relative;ia.resolve;ia.sep;ia.win32;var k6={},rfe=!1,nfe=typeof globalThis<"u"?globalThis:typeof self<"u"?self:global;function PSe(){if(rfe)return k6;rfe=!0;var t=yB;Object.defineProperty(k6,"__esModule",{value:!0});var e;return typeof t.nextTick=="function"?e=t.nextTick.bind(typeof globalThis<"u"?globalThis:nfe):e=setTimeout.bind(typeof globalThis<"u"?globalThis:nfe),k6.default=e,k6}var cy={},ife=!1;function ISe(){if(ife)return cy;ife=!0;var t=yB;Object.defineProperty(cy,"__esModule",{value:!0}),cy.createProcess=void 0;var e=function(){if(typeof t<"u")return t;try{return yB}catch{return}};function r(){var n=e()||{};return n.cwd||(n.cwd=function(){return"/"}),n.nextTick||(n.nextTick=PSe().default),n.emitWarning||(n.emitWarning=function(i,o){console.warn("".concat(o).concat(o?": ":"").concat(i))}),n.env||(n.env={}),n}return cy.createProcess=r,cy.default=r(),cy}var Ml={},ofe=!1;function CAt(){if(ofe)return Ml;ofe=!0;var t=Ml&&Ml.__extends||function(){var g=function(m,v){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,b){y.__proto__=b}||function(y,b){for(var B in b)Object.prototype.hasOwnProperty.call(b,B)&&(y[B]=b[B])},g(m,v)};return function(m,v){if(typeof v!="function"&&v!==null)throw new TypeError("Class extends value "+String(v)+" is not a constructor or null");g(m,v);function y(){this.constructor=m}m.prototype=v===null?Object.create(v):(y.prototype=v.prototype,new y)}}();Object.defineProperty(Ml,"__esModule",{value:!0}),Ml.File=Ml.Link=Ml.Node=Ml.SEP=void 0;var e=ISe(),r=yJ(),n=ix(),i=Dl,o=vJ(),s=n.constants.S_IFMT,a=n.constants.S_IFDIR,l=n.constants.S_IFREG,c=n.constants.S_IFLNK,u=n.constants.O_APPEND,f=function(){var g,m;return(m=(g=e.default.getuid)===null||g===void 0?void 0:g.call(e.default))!==null&&m!==void 0?m:0},d=function(){var g,m;return(m=(g=e.default.getgid)===null||g===void 0?void 0:g.call(e.default))!==null&&m!==void 0?m:0};Ml.SEP="/";var p=function(g){t(m,g);function m(v,y){y===void 0&&(y=438);var b=g.call(this)||this;return b._uid=f(),b._gid=d(),b._atime=new Date,b._mtime=new Date,b._ctime=new Date,b._perm=438,b.mode=l,b._nlink=1,b._perm=y,b.mode|=y,b.ino=v,b}return Object.defineProperty(m.prototype,"ctime",{get:function(){return this._ctime},set:function(v){this._ctime=v},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"uid",{get:function(){return this._uid},set:function(v){this._uid=v,this.ctime=new Date},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"gid",{get:function(){return this._gid},set:function(v){this._gid=v,this.ctime=new Date},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"atime",{get:function(){return this._atime},set:function(v){this._atime=v,this.ctime=new Date},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"mtime",{get:function(){return this._mtime},set:function(v){this._mtime=v,this.ctime=new Date},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"perm",{get:function(){return this._perm},set:function(v){this._perm=v,this.ctime=new Date},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"nlink",{get:function(){return this._nlink},set:function(v){this._nlink=v,this.ctime=new Date},enumerable:!1,configurable:!0}),m.prototype.getString=function(v){return v===void 0&&(v="utf8"),this.atime=new Date,this.getBuffer().toString(v)},m.prototype.setString=function(v){this.buf=(0,r.bufferFrom)(v,"utf8"),this.touch()},m.prototype.getBuffer=function(){return this.atime=new Date,this.buf||this.setBuffer((0,r.bufferAllocUnsafe)(0)),(0,r.bufferFrom)(this.buf)},m.prototype.setBuffer=function(v){this.buf=(0,r.bufferFrom)(v),this.touch()},m.prototype.getSize=function(){return this.buf?this.buf.length:0},m.prototype.setModeProperty=function(v){this.mode=this.mode&~s|v},m.prototype.setIsFile=function(){this.setModeProperty(l)},m.prototype.setIsDirectory=function(){this.setModeProperty(a)},m.prototype.setIsSymlink=function(){this.setModeProperty(c)},m.prototype.isFile=function(){return(this.mode&s)===l},m.prototype.isDirectory=function(){return(this.mode&s)===a},m.prototype.isSymlink=function(){return(this.mode&s)===c},m.prototype.makeSymlink=function(v){this.symlink=v,this.setIsSymlink()},m.prototype.write=function(v,y,b,B){if(y===void 0&&(y=0),b===void 0&&(b=v.length),B===void 0&&(B=0),this.buf||(this.buf=(0,r.bufferAllocUnsafe)(0)),B+b>this.buf.length){var S=(0,r.bufferAllocUnsafe)(B+b);this.buf.copy(S,0,0,this.buf.length),this.buf=S}return v.copy(this.buf,B,y,y+b),this.touch(),b},m.prototype.read=function(v,y,b,B){y===void 0&&(y=0),b===void 0&&(b=v.byteLength),B===void 0&&(B=0),this.atime=new Date,this.buf||(this.buf=(0,r.bufferAllocUnsafe)(0));var S=b;return S>v.byteLength&&(S=v.byteLength),S+B>this.buf.length&&(S=this.buf.length-B),this.buf.copy(v,y,B,B+S),S},m.prototype.truncate=function(v){if(v===void 0&&(v=0),!v)this.buf=(0,r.bufferAllocUnsafe)(0);else if(this.buf||(this.buf=(0,r.bufferAllocUnsafe)(0)),v<=this.buf.length)this.buf=this.buf.slice(0,v);else{var y=(0,r.bufferAllocUnsafe)(v);this.buf.copy(y),y.fill(0,this.buf.length),this.buf=y}this.touch()},m.prototype.chmod=function(v){this.perm=v,this.mode=this.mode&-512|v,this.touch()},m.prototype.chown=function(v,y){this.uid=v,this.gid=y,this.touch()},m.prototype.touch=function(){this.mtime=new Date,this.emit("change",this)},m.prototype.canRead=function(v,y){return v===void 0&&(v=f()),y===void 0&&(y=d()),!!(this.perm&4||y===this.gid&&this.perm&32||v===this.uid&&this.perm&256)},m.prototype.canWrite=function(v,y){return v===void 0&&(v=f()),y===void 0&&(y=d()),!!(this.perm&2||y===this.gid&&this.perm&16||v===this.uid&&this.perm&128)},m.prototype.del=function(){this.emit("delete",this)},m.prototype.toJSON=function(){return{ino:this.ino,uid:this.uid,gid:this.gid,atime:this.atime.getTime(),mtime:this.mtime.getTime(),ctime:this.ctime.getTime(),perm:this.perm,mode:this.mode,nlink:this.nlink,symlink:this.symlink,data:this.getString()}},m}(i.EventEmitter);Ml.Node=p;var h=function(g){t(m,g);function m(v,y,b){var B=g.call(this)||this;return B.children={},B._steps=[],B.ino=0,B.length=0,B.vol=v,B.parent=y,B.name=b,B.syncSteps(),B}return Object.defineProperty(m.prototype,"steps",{get:function(){return this._steps},set:function(v){this._steps=v;for(var y=0,b=Object.entries(this.children);y<b.length;y++){var B=b[y],S=B[0],w=B[1];S==="."||S===".."||w?.syncSteps()}},enumerable:!1,configurable:!0}),m.prototype.setNode=function(v){this.node=v,this.ino=v.ino},m.prototype.getNode=function(){return this.node},m.prototype.createChild=function(v,y){y===void 0&&(y=this.vol.createNode());var b=new m(this.vol,this,v);return b.setNode(y),y.isDirectory()&&(b.children["."]=b,b.getNode().nlink++),this.setChild(v,b),b},m.prototype.setChild=function(v,y){y===void 0&&(y=new m(this.vol,this,v)),this.children[v]=y,y.parent=this,this.length++;var b=y.getNode();return b.isDirectory()&&(y.children[".."]=this,this.getNode().nlink++),this.getNode().mtime=new Date,this.emit("child:add",y,this),y},m.prototype.deleteChild=function(v){var y=v.getNode();y.isDirectory()&&(delete v.children[".."],this.getNode().nlink--),delete this.children[v.getName()],this.length--,this.getNode().mtime=new Date,this.emit("child:delete",v,this)},m.prototype.getChild=function(v){if(this.getNode().mtime=new Date,Object.hasOwnProperty.call(this.children,v))return this.children[v]},m.prototype.getPath=function(){return this.steps.join(Ml.SEP)},m.prototype.getName=function(){return this.steps[this.steps.length-1]},m.prototype.walk=function(v,y,b){if(y===void 0&&(y=v.length),b===void 0&&(b=0),b>=v.length)return this;if(b>=y)return this;var B=v[b],S=this.getChild(B);return S?S.walk(v,y,b+1):null},m.prototype.toJSON=function(){return{steps:this.steps,ino:this.ino,children:Object.keys(this.children)}},m.prototype.syncSteps=function(){this.steps=this.parent?this.parent.steps.concat([this.name]):[this.name]},m}(i.EventEmitter);Ml.Link=h;var A=function(){function g(m,v,y,b){this.position=0,this.link=m,this.node=v,this.flags=y,this.fd=b}return g.prototype.getString=function(m){return this.node.getString()},g.prototype.setString=function(m){this.node.setString(m)},g.prototype.getBuffer=function(){return this.node.getBuffer()},g.prototype.setBuffer=function(m){this.node.setBuffer(m)},g.prototype.getSize=function(){return this.node.getSize()},g.prototype.truncate=function(m){this.node.truncate(m)},g.prototype.seekTo=function(m){this.position=m},g.prototype.stats=function(){return o.default.build(this.node)},g.prototype.write=function(m,v,y,b){v===void 0&&(v=0),y===void 0&&(y=m.length),typeof b!="number"&&(b=this.position),this.flags&u&&(b=this.getSize());var B=this.node.write(m,v,y,b);return this.position=b+B,B},g.prototype.read=function(m,v,y,b){v===void 0&&(v=0),y===void 0&&(y=m.byteLength),typeof b!="number"&&(b=this.position);var B=this.node.read(m,v,y,b);return this.position=b+B,B},g.prototype.chmod=function(m){this.node.chmod(m)},g.prototype.chown=function(m,v){this.node.chown(m,v)},g}();return Ml.File=A,Ml}var O6={},sfe=!1,bAt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:global;function wAt(){if(sfe)return O6;sfe=!0,Object.defineProperty(O6,"__esModule",{value:!0});function t(e,r,n){var i=setTimeout.apply(typeof globalThis<"u"?globalThis:bAt,arguments);return i&&typeof i=="object"&&typeof i.unref=="function"&&i.unref(),i}return O6.default=t,O6}var Wh={},afe=!1;function xAt(){if(afe)return Wh;afe=!0;var t=Wh&&Wh.__spreadArray||function(i,o,s){if(s||arguments.length===2)for(var a=0,l=o.length,c;a<l;a++)(c||!(a in o))&&(c||(c=Array.prototype.slice.call(o,0,a)),c[a]=o[a]);return i.concat(c||Array.prototype.slice.call(o))};Object.defineProperty(Wh,"__esModule",{value:!0}),Wh.FileHandle=void 0;function e(i,o,s){return s===void 0&&(s=function(a){return a}),function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];return new Promise(function(c,u){i[o].bind(i).apply(void 0,t(t([],a,!1),[function(f,d){return f?u(f):c(s(d))}],!1))})}}var r=function(){function i(o,s){this.vol=o,this.fd=s}return i.prototype.appendFile=function(o,s){return e(this.vol,"appendFile")(this.fd,o,s)},i.prototype.chmod=function(o){return e(this.vol,"fchmod")(this.fd,o)},i.prototype.chown=function(o,s){return e(this.vol,"fchown")(this.fd,o,s)},i.prototype.close=function(){return e(this.vol,"close")(this.fd)},i.prototype.datasync=function(){return e(this.vol,"fdatasync")(this.fd)},i.prototype.read=function(o,s,a,l){return e(this.vol,"read",function(c){return{bytesRead:c,buffer:o}})(this.fd,o,s,a,l)},i.prototype.readFile=function(o){return e(this.vol,"readFile")(this.fd,o)},i.prototype.stat=function(o){return e(this.vol,"fstat")(this.fd,o)},i.prototype.sync=function(){return e(this.vol,"fsync")(this.fd)},i.prototype.truncate=function(o){return e(this.vol,"ftruncate")(this.fd,o)},i.prototype.utimes=function(o,s){return e(this.vol,"futimes")(this.fd,o,s)},i.prototype.write=function(o,s,a,l){return e(this.vol,"write",function(c){return{bytesWritten:c,buffer:o}})(this.fd,o,s,a,l)},i.prototype.writeFile=function(o,s){return e(this.vol,"writeFile")(this.fd,o,s)},i}();Wh.FileHandle=r;function n(i){return typeof Promise>"u"?null:{FileHandle:r,access:function(o,s){return e(i,"access")(o,s)},appendFile:function(o,s,a){return e(i,"appendFile")(o instanceof r?o.fd:o,s,a)},chmod:function(o,s){return e(i,"chmod")(o,s)},chown:function(o,s,a){return e(i,"chown")(o,s,a)},copyFile:function(o,s,a){return e(i,"copyFile")(o,s,a)},lchmod:function(o,s){return e(i,"lchmod")(o,s)},lchown:function(o,s,a){return e(i,"lchown")(o,s,a)},link:function(o,s){return e(i,"link")(o,s)},lstat:function(o,s){return e(i,"lstat")(o,s)},mkdir:function(o,s){return e(i,"mkdir")(o,s)},mkdtemp:function(o,s){return e(i,"mkdtemp")(o,s)},open:function(o,s,a){return e(i,"open",function(l){return new r(i,l)})(o,s,a)},readdir:function(o,s){return e(i,"readdir")(o,s)},readFile:function(o,s){return e(i,"readFile")(o instanceof r?o.fd:o,s)},readlink:function(o,s){return e(i,"readlink")(o,s)},realpath:function(o,s){return e(i,"realpath")(o,s)},rename:function(o,s){return e(i,"rename")(o,s)},rmdir:function(o){return e(i,"rmdir")(o)},rm:function(o,s){return e(i,"rm")(o,s)},stat:function(o,s){return e(i,"stat")(o,s)},symlink:function(o,s,a){return e(i,"symlink")(o,s,a)},truncate:function(o,s){return e(i,"truncate")(o,s)},unlink:function(o){return e(i,"unlink")(o)},utimes:function(o,s,a){return e(i,"utimes")(o,s,a)},writeFile:function(o,s,a){return e(i,"writeFile")(o instanceof r?o.fd:o,s,a)}}}return Wh.default=n,Wh}var Xb={},lfe=!1;function SAt(){if(lfe)return Xb;lfe=!0;var t=yB;Object.defineProperty(Xb,"__esModule",{value:!0}),Xb.correctPath=s,Xb.unixify=o;var e=t.platform==="win32";function r(a){var l=a.length-1;if(l<2)return a;for(;n(a,l);)l--;return a.substr(0,l+1)}function n(a,l){var c=a[l];return l>0&&(c==="/"||e&&c==="\\")}function i(a,l){if(typeof a!="string")throw new TypeError("expected a string");return a=a.replace(/[\\\/]+/g,"/"),l!==!1&&(a=r(a)),a}function o(a){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e?(a=i(a,l),a.replace(/^([a-zA-Z]+:|\.\/)/,"")):a}function s(a){return o(a.replace(/^\\\\\?\\.:\\/,"\\"))}return Xb}var ei={},cfe=!1,EAt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:global;function NSe(){if(cfe)return ei;cfe=!0;var t=ei&&ei.__extends||function(){var we=function(ne,ce){return we=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(me,ke){me.__proto__=ke}||function(me,ke){for(var He in ke)Object.prototype.hasOwnProperty.call(ke,He)&&(me[He]=ke[He])},we(ne,ce)};return function(ne,ce){if(typeof ce!="function"&&ce!==null)throw new TypeError("Class extends value "+String(ce)+" is not a constructor or null");we(ne,ce);function me(){this.constructor=ne}ne.prototype=ce===null?Object.create(ce):(me.prototype=ce.prototype,new me)}}(),e=ei&&ei.__spreadArray||function(we,ne,ce){if(ce||arguments.length===2)for(var me=0,ke=ne.length,He;me<ke;me++)(He||!(me in ne))&&(He||(He=Array.prototype.slice.call(ne,0,me)),He[me]=ne[me]);return we.concat(He||Array.prototype.slice.call(ne))};Object.defineProperty(ei,"__esModule",{value:!0}),ei.FSWatcher=ei.StatWatcher=ei.Volume=ei.toUnixTimestamp=ei.bufferToEncoding=ei.dataToBuffer=ei.dataToStr=ei.pathToSteps=ei.filenameToSteps=ei.pathToFilename=ei.flagsToNumber=ei.FLAGS=void 0;var r=ia,n=CAt(),i=vJ(),o=OSe(),s=yJ(),a=PSe(),l=ISe(),c=wAt(),u=Gf,f=ix(),d=Dl,p=kSe(),h=DSe(),A=xt,g=xAt(),m=r.resolve,v=f.constants.O_RDONLY,y=f.constants.O_WRONLY,b=f.constants.O_RDWR,B=f.constants.O_CREAT,S=f.constants.O_EXCL,w=f.constants.O_TRUNC,x=f.constants.O_APPEND,I=f.constants.O_SYNC,F=f.constants.O_DIRECTORY,k=f.constants.F_OK,O=f.constants.COPYFILE_EXCL,L=f.constants.COPYFILE_FICLONE_FORCE,M=r.posix?r.posix:r,H=M.sep,V=M.relative,j=M.join,R=M.dirname,Q=l.default.platform==="win32",z=128,X={PATH_STR:"path must be a string or Buffer",FD:"fd must be a file descriptor",MODE_INT:"mode must be an int",CB:"callback must be a function",UID:"uid must be an unsigned int",GID:"gid must be an unsigned int",LEN:"len must be an integer",ATIME:"atime must be an integer",MTIME:"mtime must be an integer",PREFIX:"filename prefix is required",BUFFER:"buffer must be an instance of Buffer or StaticBuffer",OFFSET:"offset must be an integer",LENGTH:"length must be an integer",POSITION:"position must be an integer"},_=function(we){return"Expected options to be either an object or a string, but got ".concat(we," instead")},G="ENOENT",W="EBADF",J="EINVAL",ee="EPERM",q="EPROTO",Z="EEXIST",re="ENOTDIR",fe="EMFILE",de="EACCES",ie="EISDIR",le="ENOTEMPTY",De="ENOSYS",Ae="ERR_FS_EISDIR";function ue(we,ne,ce,me){ne===void 0&&(ne=""),ce===void 0&&(ce=""),me===void 0&&(me="");var ke="";switch(ce&&(ke=" '".concat(ce,"'")),me&&(ke+=" -> '".concat(me,"'")),we){case G:return"ENOENT: no such file or directory, ".concat(ne).concat(ke);case W:return"EBADF: bad file descriptor, ".concat(ne).concat(ke);case J:return"EINVAL: invalid argument, ".concat(ne).concat(ke);case ee:return"EPERM: operation not permitted, ".concat(ne).concat(ke);case q:return"EPROTO: protocol error, ".concat(ne).concat(ke);case Z:return"EEXIST: file already exists, ".concat(ne).concat(ke);case re:return"ENOTDIR: not a directory, ".concat(ne).concat(ke);case ie:return"EISDIR: illegal operation on a directory, ".concat(ne).concat(ke);case de:return"EACCES: permission denied, ".concat(ne).concat(ke);case le:return"ENOTEMPTY: directory not empty, ".concat(ne).concat(ke);case fe:return"EMFILE: too many open files, ".concat(ne).concat(ke);case De:return"ENOSYS: function not implemented, ".concat(ne).concat(ke);case Ae:return"[ERR_FS_EISDIR]: Path is a directory: ".concat(ne," returned EISDIR (is a directory) ").concat(ce);default:return"".concat(we,": error occurred, ").concat(ne).concat(ke)}}function Ne(we,ne,ce,me,ke){ne===void 0&&(ne=""),ce===void 0&&(ce=""),me===void 0&&(me=""),ke===void 0&&(ke=Error);var He=new ke(ue(we,ne,ce,me));return He.code=we,ce&&(He.path=ce),He}var Te;(function(we){we[we.r=v]="r",we[we["r+"]=b]="r+",we[we.rs=v|I]="rs",we[we.sr=we.rs]="sr",we[we["rs+"]=b|I]="rs+",we[we["sr+"]=we["rs+"]]="sr+",we[we.w=y|B|w]="w",we[we.wx=y|B|w|S]="wx",we[we.xw=we.wx]="xw",we[we["w+"]=b|B|w]="w+",we[we["wx+"]=b|B|w|S]="wx+",we[we["xw+"]=we["wx+"]]="xw+",we[we.a=y|x|B]="a",we[we.ax=y|x|B|S]="ax",we[we.xa=we.ax]="xa",we[we["a+"]=b|x|B]="a+",we[we["ax+"]=b|x|B|S]="ax+",we[we["xa+"]=we["ax+"]]="xa+"})(Te=ei.FLAGS||(ei.FLAGS={}));function Re(we){if(typeof we=="number")return we;if(typeof we=="string"){var ne=Te[we];if(typeof ne<"u")return ne}throw new h.TypeError("ERR_INVALID_OPT_VALUE","flags",we)}ei.flagsToNumber=Re;function je(we,ne){var ce;if(ne){var me=typeof ne;switch(me){case"string":ce=Object.assign({},we,{encoding:ne});break;case"object":ce=Object.assign({},we,ne);break;default:throw TypeError(_(me))}}else return we;return ce.encoding!=="buffer"&&(0,p.assertEncoding)(ce.encoding),ce}function Ve(we){return function(ne){return je(we,ne)}}function ze(we){if(typeof we!="function")throw TypeError(X.CB);return we}function lt(we){return function(ne,ce){return typeof ne=="function"?[we(),ne]:[we(ne),ze(ce)]}}var gt={encoding:"utf8"},_t=Ve(gt),U=lt(_t),D={flag:"r"},N=Ve(D),Y={encoding:"utf8",mode:438,flag:Te[Te.w]},pe=Ve(Y),be={encoding:"utf8",mode:438,flag:Te[Te.a]},_e=Ve(be),he=lt(_e),Ee=gt,ot=Ve(Ee),At=lt(ot),Ct={mode:511,recursive:!1},pt=function(we){return typeof we=="number"?Object.assign({},Ct,{mode:we}):Object.assign({},Ct,we)},Bn={recursive:!1},jr=function(we){return Object.assign({},Bn,we)},yr=Ve(gt),Sr=lt(yr),Jt={encoding:"utf8",withFileTypes:!1},Dt=Ve(Jt),ir=lt(Dt),xn={bigint:!1},Ar=function(we){return we===void 0&&(we={}),Object.assign({},xn,we)},Yr=function(we,ne){return typeof we=="function"?[Ar(),we]:[Ar(we),ze(ne)]};function se(we){if(we.hostname!=="")throw new h.TypeError("ERR_INVALID_FILE_URL_HOST",l.default.platform);for(var ne=we.pathname,ce=0;ce<ne.length;ce++)if(ne[ce]==="%"){var me=ne.codePointAt(ce+2)|32;if(ne[ce+1]==="2"&&me===102)throw new h.TypeError("ERR_INVALID_FILE_URL_PATH","must not include encoded / characters")}return decodeURIComponent(ne)}function ae(we){if(typeof we!="string"&&!s.Buffer.isBuffer(we)){try{if(!(we instanceof wu.URL))throw new TypeError(X.PATH_STR)}catch{throw new TypeError(X.PATH_STR)}we=se(we)}var ne=String(we);return nt(ne),ne}ei.pathToFilename=ae;var Ce=function(we,ne){return ne===void 0&&(ne=l.default.cwd()),m(ne,we)};if(Q){var Oe=Ce,Ie=SAt().unixify;Ce=function(we,ne){return Ie(Oe(we,ne))}}function Le(we,ne){var ce=Ce(we,ne),me=ce.substring(1);return me?me.split(H):[]}ei.filenameToSteps=Le;function Qe(we){return Le(ae(we))}ei.pathToSteps=Qe;function Ge(we,ne){return ne===void 0&&(ne=p.ENCODING_UTF8),s.Buffer.isBuffer(we)?we.toString(ne):we instanceof Uint8Array?(0,s.bufferFrom)(we).toString(ne):String(we)}ei.dataToStr=Ge;function ft(we,ne){return ne===void 0&&(ne=p.ENCODING_UTF8),s.Buffer.isBuffer(we)?we:we instanceof Uint8Array?(0,s.bufferFrom)(we):(0,s.bufferFrom)(String(we),ne)}ei.dataToBuffer=ft;function yt(we,ne){return!ne||ne==="buffer"?we:we.toString(ne)}ei.bufferToEncoding=yt;function nt(we,ne){if((""+we).indexOf("\0")!==-1){var ce=new Error("Path must be a string without null bytes");throw ce.code=G,ce}return!0}function Ft(we,ne){if(typeof we=="number")return we;if(typeof we=="string")return parseInt(we,8);if(ne)return mt(ne)}function mt(we,ne){var ce=Ft(we,ne);if(typeof ce!="number"||isNaN(ce))throw new TypeError(X.MODE_INT);return ce}function dt(we){return we>>>0===we}function Lt(we){if(!dt(we))throw TypeError(X.FD)}function tr(we){if(typeof we=="string"&&+we==we)return+we;if(we instanceof Date)return we.getTime()/1e3;if(isFinite(we))return we<0?Date.now()/1e3:we;throw new Error("Cannot parse time: "+we)}ei.toUnixTimestamp=tr;function ur(we){if(typeof we!="number")throw TypeError(X.UID)}function Kt(we){if(typeof we!="number")throw TypeError(X.GID)}function In(we){var ne={};function ce(me,ke){for(var He in ke){var tt=ke[He],St=j(me,He);typeof tt=="string"?ne[St]=tt:typeof tt=="object"&&tt!==null&&Object.keys(tt).length>0?ce(St,tt):ne[St]=null}}return ce("",we),ne}var on=function(){function we(ne){ne===void 0&&(ne={}),this.ino=0,this.inodes={},this.releasedInos=[],this.fds={},this.releasedFds=[],this.maxFiles=1e4,this.openFiles=0,this.promisesApi=(0,g.default)(this),this.statWatchers={},this.props=Object.assign({Node:n.Node,Link:n.Link,File:n.File},ne);var ce=this.createLink();ce.setNode(this.createNode(!0));var me=this;this.StatWatcher=function(tt){t(St,tt);function St(){return tt.call(this,me)||this}return St}(vo);var ke=Gt;this.ReadStream=function(tt){t(St,tt);function St(){for(var qt=[],rr=0;rr<arguments.length;rr++)qt[rr]=arguments[rr];return tt.apply(this,e([me],qt,!1))||this}return St}(ke);var He=Hr;this.WriteStream=function(tt){t(St,tt);function St(){for(var qt=[],rr=0;rr<arguments.length;rr++)qt[rr]=arguments[rr];return tt.apply(this,e([me],qt,!1))||this}return St}(He),this.FSWatcher=function(tt){t(St,tt);function St(){return tt.call(this,me)||this}return St}(Mr),ce.setChild(".",ce),ce.getNode().nlink++,ce.setChild("..",ce),ce.getNode().nlink++,this.root=ce}return we.fromJSON=function(ne,ce){var me=new we;return me.fromJSON(ne,ce),me},we.fromNestedJSON=function(ne,ce){var me=new we;return me.fromNestedJSON(ne,ce),me},Object.defineProperty(we.prototype,"promises",{get:function(){if(this.promisesApi===null)throw new Error("Promise is not supported in this environment.");return this.promisesApi},enumerable:!1,configurable:!0}),we.prototype.createLink=function(ne,ce,me,ke){if(me===void 0&&(me=!1),!ne)return new this.props.Link(this,null,"");if(!ce)throw new Error("createLink: name cannot be empty");return ne.createChild(ce,this.createNode(me,ke))},we.prototype.deleteLink=function(ne){var ce=ne.parent;return ce?(ce.deleteChild(ne),!0):!1},we.prototype.newInoNumber=function(){var ne=this.releasedInos.pop();return ne||(this.ino=(this.ino+1)%4294967295,this.ino)},we.prototype.newFdNumber=function(){var ne=this.releasedFds.pop();return typeof ne=="number"?ne:we.fd--},we.prototype.createNode=function(ne,ce){ne===void 0&&(ne=!1);var me=new this.props.Node(this.newInoNumber(),ce);return ne&&me.setIsDirectory(),this.inodes[me.ino]=me,me},we.prototype.getNode=function(ne){return this.inodes[ne]},we.prototype.deleteNode=function(ne){ne.del(),delete this.inodes[ne.ino],this.releasedInos.push(ne.ino)},we.prototype.genRndStr=function(){var ne=(Math.random()+1).toString(36).substring(2,8);return ne.length===6?ne:this.genRndStr()},we.prototype.getLink=function(ne){return this.root.walk(ne)},we.prototype.getLinkOrThrow=function(ne,ce){var me=Le(ne),ke=this.getLink(me);if(!ke)throw Ne(G,ce,ne);return ke},we.prototype.getResolvedLink=function(ne){for(var ce=typeof ne=="string"?Le(ne):ne,me=this.root,ke=0;ke<ce.length;){var He=ce[ke];if(me=me.getChild(He),!me)return null;var tt=me.getNode();if(tt.isSymlink()){ce=tt.symlink.concat(ce.slice(ke+1)),me=this.root,ke=0;continue}ke++}return me},we.prototype.getResolvedLinkOrThrow=function(ne,ce){var me=this.getResolvedLink(ne);if(!me)throw Ne(G,ce,ne);return me},we.prototype.resolveSymlinks=function(ne){return this.getResolvedLink(ne.steps.slice(1))},we.prototype.getLinkAsDirOrThrow=function(ne,ce){var me=this.getLinkOrThrow(ne,ce);if(!me.getNode().isDirectory())throw Ne(re,ce,ne);return me},we.prototype.getLinkParent=function(ne){return this.root.walk(ne,ne.length-1)},we.prototype.getLinkParentAsDirOrThrow=function(ne,ce){var me=ne instanceof Array?ne:Le(ne),ke=this.getLinkParent(me);if(!ke)throw Ne(G,ce,H+me.join(H));if(!ke.getNode().isDirectory())throw Ne(re,ce,H+me.join(H));return ke},we.prototype.getFileByFd=function(ne){return this.fds[String(ne)]},we.prototype.getFileByFdOrThrow=function(ne,ce){if(!dt(ne))throw TypeError(X.FD);var me=this.getFileByFd(ne);if(!me)throw Ne(W,ce);return me},we.prototype.wrapAsync=function(ne,ce,me){var ke=this;ze(me),(0,a.default)(function(){var He;try{He=ne.apply(ke,ce)}catch(tt){me(tt);return}me(null,He)})},we.prototype._toJSON=function(ne,ce,me){var ke;ne===void 0&&(ne=this.root),ce===void 0&&(ce={});var He=!0,tt=ne.children;ne.getNode().isFile()&&(tt=(ke={},ke[ne.getName()]=ne.parent.getChild(ne.getName()),ke),ne=ne.parent);for(var St in tt)if(!(St==="."||St==="..")){He=!1;var qt=ne.getChild(St);if(!qt)throw new Error("_toJSON: unexpected undefined");var rr=qt.getNode();if(rr.isFile()){var Rr=qt.getPath();me&&(Rr=V(me,Rr)),ce[Rr]=rr.getString()}else rr.isDirectory()&&this._toJSON(qt,ce,me)}var Vr=ne.getPath();return me&&(Vr=V(me,Vr)),Vr&&He&&(ce[Vr]=null),ce},we.prototype.toJSON=function(ne,ce,me){ce===void 0&&(ce={}),me===void 0&&(me=!1);var ke=[];if(ne){ne instanceof Array||(ne=[ne]);for(var He=0,tt=ne;He<tt.length;He++){var St=tt[He],qt=ae(St),rr=this.getResolvedLink(qt);rr&&ke.push(rr)}}else ke.push(this.root);if(!ke.length)return ce;for(var Rr=0,Vr=ke;Rr<Vr.length;Rr++){var rr=Vr[Rr];this._toJSON(rr,ce,me?rr.getPath():"")}return ce},we.prototype.fromJSON=function(ne,ce){ce===void 0&&(ce=l.default.cwd());for(var me in ne){var ke=ne[me];if(me=Ce(me,ce),typeof ke=="string"){var He=R(me);this.mkdirpBase(He,511),this.writeFileSync(me,ke)}else this.mkdirpBase(me,511)}},we.prototype.fromNestedJSON=function(ne,ce){this.fromJSON(In(ne),ce)},we.prototype.reset=function(){this.ino=0,this.inodes={},this.releasedInos=[],this.fds={},this.releasedFds=[],this.openFiles=0,this.root=this.createLink(),this.root.setNode(this.createNode(!0))},we.prototype.mountSync=function(ne,ce){this.fromJSON(ce,ne)},we.prototype.openLink=function(ne,ce,me){if(me===void 0&&(me=!0),this.openFiles>=this.maxFiles)throw Ne(fe,"open",ne.getPath());var ke=ne;if(me&&(ke=this.resolveSymlinks(ne)),!ke)throw Ne(G,"open",ne.getPath());var He=ke.getNode();if(He.isDirectory()){if((ce&(v|b|y))!==v)throw Ne(ie,"open",ne.getPath())}else if(ce&F)throw Ne(re,"open",ne.getPath());if(!(ce&y)&&!He.canRead())throw Ne(de,"open",ne.getPath());var tt=new this.props.File(ne,He,ce,this.newFdNumber());return this.fds[tt.fd]=tt,this.openFiles++,ce&w&&tt.truncate(),tt},we.prototype.openFile=function(ne,ce,me,ke){ke===void 0&&(ke=!0);var He=Le(ne),tt=ke?this.getResolvedLink(He):this.getLink(He);if(tt&&ce&S)throw Ne(Z,"open",ne);if(!tt&&ce&B){var St=this.getResolvedLink(He.slice(0,He.length-1));if(!St)throw Ne(G,"open",H+He.join(H));ce&B&&typeof me=="number"&&(tt=this.createLink(St,He[He.length-1],!1,me))}if(tt)return this.openLink(tt,ce,ke);throw Ne(G,"open",ne)},we.prototype.openBase=function(ne,ce,me,ke){ke===void 0&&(ke=!0);var He=this.openFile(ne,ce,me,ke);if(!He)throw Ne(G,"open",ne);return He.fd},we.prototype.openSync=function(ne,ce,me){me===void 0&&(me=438);var ke=mt(me),He=ae(ne),tt=Re(ce);return this.openBase(He,tt,ke)},we.prototype.open=function(ne,ce,me,ke){var He=me,tt=ke;typeof me=="function"&&(He=438,tt=me),He=He||438;var St=mt(He),qt=ae(ne),rr=Re(ce);this.wrapAsync(this.openBase,[qt,rr,St],tt)},we.prototype.closeFile=function(ne){this.fds[ne.fd]&&(this.openFiles--,delete this.fds[ne.fd],this.releasedFds.push(ne.fd))},we.prototype.closeSync=function(ne){Lt(ne);var ce=this.getFileByFdOrThrow(ne,"close");this.closeFile(ce)},we.prototype.close=function(ne,ce){Lt(ne),this.wrapAsync(this.closeSync,[ne],ce)},we.prototype.openFileOrGetById=function(ne,ce,me){if(typeof ne=="number"){var ke=this.fds[ne];if(!ke)throw Ne(G);return ke}else return this.openFile(ae(ne),ce,me)},we.prototype.readBase=function(ne,ce,me,ke,He){var tt=this.getFileByFdOrThrow(ne);return tt.read(ce,Number(me),Number(ke),He)},we.prototype.readSync=function(ne,ce,me,ke,He){return Lt(ne),this.readBase(ne,ce,me,ke,He)},we.prototype.read=function(ne,ce,me,ke,He,tt){var St=this;if(ze(tt),ke===0)return l.default.nextTick(function(){tt&&tt(null,0,ce)});(0,a.default)(function(){try{var qt=St.readBase(ne,ce,me,ke,He);tt(null,qt,ce)}catch(rr){tt(rr)}})},we.prototype.readFileBase=function(ne,ce,me){var ke,He=typeof ne=="number",tt=He&&dt(ne),St;if(tt)St=ne;else{var qt=ae(ne),rr=Le(qt),Rr=this.getResolvedLink(rr);if(Rr){var Vr=Rr.getNode();if(Vr.isDirectory())throw Ne(ie,"open",Rr.getPath())}St=this.openSync(ne,ce)}try{ke=yt(this.getFileByFdOrThrow(St).getBuffer(),me)}finally{tt||this.closeSync(St)}return ke},we.prototype.readFileSync=function(ne,ce){var me=N(ce),ke=Re(me.flag);return this.readFileBase(ne,ke,me.encoding)},we.prototype.readFile=function(ne,ce,me){var ke=lt(N)(ce,me),He=ke[0],tt=ke[1],St=Re(He.flag);this.wrapAsync(this.readFileBase,[ne,St,He.encoding],tt)},we.prototype.writeBase=function(ne,ce,me,ke,He){var tt=this.getFileByFdOrThrow(ne,"write");return tt.write(ce,me,ke,He)},we.prototype.writeSync=function(ne,ce,me,ke,He){Lt(ne);var tt,St,qt,rr,Rr=typeof ce!="string";Rr?(St=(me||0)|0,qt=ke,rr=He):(rr=me,tt=ke);var Vr=ft(ce,tt);return Rr?typeof qt>"u"&&(qt=Vr.length):(St=0,qt=Vr.length),this.writeBase(ne,Vr,St,qt,rr)},we.prototype.write=function(ne,ce,me,ke,He,tt){var St=this;Lt(ne);var qt,rr,Rr,Vr,si,Ni=typeof ce,No=typeof me,Oa=typeof ke,sa=typeof He;Ni!=="string"?No==="function"?si=me:Oa==="function"?(qt=me|0,si=ke):sa==="function"?(qt=me|0,rr=ke,si=He):(qt=me|0,rr=ke,Rr=He,si=tt):No==="function"?si=me:Oa==="function"?(Rr=me,si=ke):sa==="function"&&(Rr=me,Vr=ke,si=He);var ai=ft(ce,Vr);Ni!=="string"?typeof rr>"u"&&(rr=ai.length):(qt=0,rr=ai.length);var Fo=ze(si);(0,a.default)(function(){try{var To=St.writeBase(ne,ai,qt,rr,Rr);Ni!=="string"?Fo(null,To,ai):Fo(null,To,ce)}catch(Ol){Fo(Ol)}})},we.prototype.writeFileBase=function(ne,ce,me,ke){var He=typeof ne=="number",tt;He?tt=ne:tt=this.openBase(ae(ne),me,ke);var St=0,qt=ce.length,rr=me&x?void 0:0;try{for(;qt>0;){var Rr=this.writeSync(tt,ce,St,qt,rr);St+=Rr,qt-=Rr,rr!==void 0&&(rr+=Rr)}}finally{He||this.closeSync(tt)}},we.prototype.writeFileSync=function(ne,ce,me){var ke=pe(me),He=Re(ke.flag),tt=mt(ke.mode),St=ft(ce,ke.encoding);this.writeFileBase(ne,St,He,tt)},we.prototype.writeFile=function(ne,ce,me,ke){var He=me,tt=ke;typeof me=="function"&&(He=Y,tt=me);var St=ze(tt),qt=pe(He),rr=Re(qt.flag),Rr=mt(qt.mode),Vr=ft(ce,qt.encoding);this.wrapAsync(this.writeFileBase,[ne,Vr,rr,Rr],St)},we.prototype.linkBase=function(ne,ce){var me=Le(ne),ke=this.getLink(me);if(!ke)throw Ne(G,"link",ne,ce);var He=Le(ce),tt=this.getLinkParent(He);if(!tt)throw Ne(G,"link",ne,ce);var St=He[He.length-1];if(tt.getChild(St))throw Ne(Z,"link",ne,ce);var qt=ke.getNode();qt.nlink++,tt.createChild(St,qt)},we.prototype.copyFileBase=function(ne,ce,me){var ke=this.readFileSync(ne);if(me&O&&this.existsSync(ce))throw Ne(Z,"copyFile",ne,ce);if(me&L)throw Ne(De,"copyFile",ne,ce);this.writeFileBase(ce,ke,Te.w,438)},we.prototype.copyFileSync=function(ne,ce,me){var ke=ae(ne),He=ae(ce);return this.copyFileBase(ke,He,(me||0)|0)},we.prototype.copyFile=function(ne,ce,me,ke){var He=ae(ne),tt=ae(ce),St,qt;typeof me=="function"?(St=0,qt=me):(St=me,qt=ke),ze(qt),this.wrapAsync(this.copyFileBase,[He,tt,St],qt)},we.prototype.linkSync=function(ne,ce){var me=ae(ne),ke=ae(ce);this.linkBase(me,ke)},we.prototype.link=function(ne,ce,me){var ke=ae(ne),He=ae(ce);this.wrapAsync(this.linkBase,[ke,He],me)},we.prototype.unlinkBase=function(ne){var ce=Le(ne),me=this.getLink(ce);if(!me)throw Ne(G,"unlink",ne);if(me.length)throw Error("Dir not empty...");this.deleteLink(me);var ke=me.getNode();ke.nlink--,ke.nlink<=0&&this.deleteNode(ke)},we.prototype.unlinkSync=function(ne){var ce=ae(ne);this.unlinkBase(ce)},we.prototype.unlink=function(ne,ce){var me=ae(ne);this.wrapAsync(this.unlinkBase,[me],ce)},we.prototype.symlinkBase=function(ne,ce){var me=Le(ce),ke=this.getLinkParent(me);if(!ke)throw Ne(G,"symlink",ne,ce);var He=me[me.length-1];if(ke.getChild(He))throw Ne(Z,"symlink",ne,ce);var tt=ke.createChild(He);return tt.getNode().makeSymlink(Le(ne)),tt},we.prototype.symlinkSync=function(ne,ce,me){var ke=ae(ne),He=ae(ce);this.symlinkBase(ke,He)},we.prototype.symlink=function(ne,ce,me,ke){var He=ze(typeof me=="function"?me:ke),tt=ae(ne),St=ae(ce);this.wrapAsync(this.symlinkBase,[tt,St],He)},we.prototype.realpathBase=function(ne,ce){var me=Le(ne),ke=this.getResolvedLink(me);if(!ke)throw Ne(G,"realpath",ne);return(0,p.strToEncoding)(ke.getPath()||"/",ce)},we.prototype.realpathSync=function(ne,ce){return this.realpathBase(ae(ne),ot(ce).encoding)},we.prototype.realpath=function(ne,ce,me){var ke=At(ce,me),He=ke[0],tt=ke[1],St=ae(ne);this.wrapAsync(this.realpathBase,[St,He.encoding],tt)},we.prototype.lstatBase=function(ne,ce,me){ce===void 0&&(ce=!1),me===void 0&&(me=!1);var ke=this.getLink(Le(ne));if(ke)return i.default.build(ke.getNode(),ce);if(me)throw Ne(G,"lstat",ne)},we.prototype.lstatSync=function(ne,ce){var me=Ar(ce),ke=me.throwIfNoEntry,He=ke===void 0?!0:ke,tt=me.bigint,St=tt===void 0?!1:tt;return this.lstatBase(ae(ne),St,He)},we.prototype.lstat=function(ne,ce,me){var ke=Yr(ce,me),He=ke[0],tt=He.throwIfNoEntry,St=tt===void 0?!0:tt,qt=He.bigint,rr=qt===void 0?!1:qt,Rr=ke[1];this.wrapAsync(this.lstatBase,[ae(ne),rr,St],Rr)},we.prototype.statBase=function(ne,ce,me){ce===void 0&&(ce=!1),me===void 0&&(me=!0);var ke=this.getResolvedLink(Le(ne));if(ke)return i.default.build(ke.getNode(),ce);if(me)throw Ne(G,"stat",ne)},we.prototype.statSync=function(ne,ce){var me=Ar(ce),ke=me.bigint,He=ke===void 0?!0:ke,tt=me.throwIfNoEntry,St=tt===void 0?!0:tt;return this.statBase(ae(ne),He,St)},we.prototype.stat=function(ne,ce,me){var ke=Yr(ce,me),He=ke[0],tt=He.bigint,St=tt===void 0?!1:tt,qt=He.throwIfNoEntry,rr=qt===void 0?!0:qt,Rr=ke[1];this.wrapAsync(this.statBase,[ae(ne),St,rr],Rr)},we.prototype.fstatBase=function(ne,ce){ce===void 0&&(ce=!1);var me=this.getFileByFd(ne);if(!me)throw Ne(W,"fstat");return i.default.build(me.node,ce)},we.prototype.fstatSync=function(ne,ce){return this.fstatBase(ne,Ar(ce).bigint)},we.prototype.fstat=function(ne,ce,me){var ke=Yr(ce,me),He=ke[0],tt=ke[1];this.wrapAsync(this.fstatBase,[ne,He.bigint],tt)},we.prototype.renameBase=function(ne,ce){var me=this.getLink(Le(ne));if(!me)throw Ne(G,"rename",ne,ce);var ke=Le(ce),He=this.getLinkParent(ke);if(!He)throw Ne(G,"rename",ne,ce);var tt=me.parent;tt&&tt.deleteChild(me);var St=ke[ke.length-1];me.name=St,me.steps=e(e([],He.steps,!0),[St],!1),He.setChild(me.getName(),me)},we.prototype.renameSync=function(ne,ce){var me=ae(ne),ke=ae(ce);this.renameBase(me,ke)},we.prototype.rename=function(ne,ce,me){var ke=ae(ne),He=ae(ce);this.wrapAsync(this.renameBase,[ke,He],me)},we.prototype.existsBase=function(ne){return!!this.statBase(ne)},we.prototype.existsSync=function(ne){try{return this.existsBase(ae(ne))}catch{return!1}},we.prototype.exists=function(ne,ce){var me=this,ke=ae(ne);if(typeof ce!="function")throw Error(X.CB);(0,a.default)(function(){try{ce(me.existsBase(ke))}catch{ce(!1)}})},we.prototype.accessBase=function(ne,ce){this.getLinkOrThrow(ne,"access")},we.prototype.accessSync=function(ne,ce){ce===void 0&&(ce=k);var me=ae(ne);ce=ce|0,this.accessBase(me,ce)},we.prototype.access=function(ne,ce,me){var ke=k,He;typeof ce!="function"?(ke=ce|0,He=ze(me)):He=ce;var tt=ae(ne);this.wrapAsync(this.accessBase,[tt,ke],He)},we.prototype.appendFileSync=function(ne,ce,me){me===void 0&&(me=be);var ke=_e(me);(!ke.flag||dt(ne))&&(ke.flag="a"),this.writeFileSync(ne,ce,ke)},we.prototype.appendFile=function(ne,ce,me,ke){var He=he(me,ke),tt=He[0],St=He[1];(!tt.flag||dt(ne))&&(tt.flag="a"),this.writeFile(ne,ce,tt,St)},we.prototype.readdirBase=function(ne,ce){var me=Le(ne),ke=this.getResolvedLink(me);if(!ke)throw Ne(G,"readdir",ne);var He=ke.getNode();if(!He.isDirectory())throw Ne(re,"scandir",ne);if(ce.withFileTypes){var tt=[];for(var St in ke.children){var qt=ke.getChild(St);!qt||St==="."||St===".."||tt.push(o.default.build(qt,ce.encoding))}return!Q&&ce.encoding!=="buffer"&&tt.sort(function(Vr,si){return Vr.name<si.name?-1:Vr.name>si.name?1:0}),tt}var rr=[];for(var Rr in ke.children)Rr==="."||Rr===".."||rr.push((0,p.strToEncoding)(Rr,ce.encoding));return!Q&&ce.encoding!=="buffer"&&rr.sort(),rr},we.prototype.readdirSync=function(ne,ce){var me=Dt(ce),ke=ae(ne);return this.readdirBase(ke,me)},we.prototype.readdir=function(ne,ce,me){var ke=ir(ce,me),He=ke[0],tt=ke[1],St=ae(ne);this.wrapAsync(this.readdirBase,[St,He],tt)},we.prototype.readlinkBase=function(ne,ce){var me=this.getLinkOrThrow(ne,"readlink"),ke=me.getNode();if(!ke.isSymlink())throw Ne(J,"readlink",ne);var He=H+ke.symlink.join(H);return(0,p.strToEncoding)(He,ce)},we.prototype.readlinkSync=function(ne,ce){var me=_t(ce),ke=ae(ne);return this.readlinkBase(ke,me.encoding)},we.prototype.readlink=function(ne,ce,me){var ke=U(ce,me),He=ke[0],tt=ke[1],St=ae(ne);this.wrapAsync(this.readlinkBase,[St,He.encoding],tt)},we.prototype.fsyncBase=function(ne){this.getFileByFdOrThrow(ne,"fsync")},we.prototype.fsyncSync=function(ne){this.fsyncBase(ne)},we.prototype.fsync=function(ne,ce){this.wrapAsync(this.fsyncBase,[ne],ce)},we.prototype.fdatasyncBase=function(ne){this.getFileByFdOrThrow(ne,"fdatasync")},we.prototype.fdatasyncSync=function(ne){this.fdatasyncBase(ne)},we.prototype.fdatasync=function(ne,ce){this.wrapAsync(this.fdatasyncBase,[ne],ce)},we.prototype.ftruncateBase=function(ne,ce){var me=this.getFileByFdOrThrow(ne,"ftruncate");me.truncate(ce)},we.prototype.ftruncateSync=function(ne,ce){this.ftruncateBase(ne,ce)},we.prototype.ftruncate=function(ne,ce,me){var ke=typeof ce=="number"?ce:0,He=ze(typeof ce=="number"?me:ce);this.wrapAsync(this.ftruncateBase,[ne,ke],He)},we.prototype.truncateBase=function(ne,ce){var me=this.openSync(ne,"r+");try{this.ftruncateSync(me,ce)}finally{this.closeSync(me)}},we.prototype.truncateSync=function(ne,ce){if(dt(ne))return this.ftruncateSync(ne,ce);this.truncateBase(ne,ce)},we.prototype.truncate=function(ne,ce,me){var ke=typeof ce=="number"?ce:0,He=ze(typeof ce=="number"?me:ce);if(dt(ne))return this.ftruncate(ne,ke,He);this.wrapAsync(this.truncateBase,[ne,ke],He)},we.prototype.futimesBase=function(ne,ce,me){var ke=this.getFileByFdOrThrow(ne,"futimes"),He=ke.node;He.atime=new Date(ce*1e3),He.mtime=new Date(me*1e3)},we.prototype.futimesSync=function(ne,ce,me){this.futimesBase(ne,tr(ce),tr(me))},we.prototype.futimes=function(ne,ce,me,ke){this.wrapAsync(this.futimesBase,[ne,tr(ce),tr(me)],ke)},we.prototype.utimesBase=function(ne,ce,me){var ke=this.openSync(ne,"r");try{this.futimesBase(ke,ce,me)}finally{this.closeSync(ke)}},we.prototype.utimesSync=function(ne,ce,me){this.utimesBase(ae(ne),tr(ce),tr(me))},we.prototype.utimes=function(ne,ce,me,ke){this.wrapAsync(this.utimesBase,[ae(ne),tr(ce),tr(me)],ke)},we.prototype.mkdirBase=function(ne,ce){var me=Le(ne);if(!me.length)throw Ne(Z,"mkdir",ne);var ke=this.getLinkParentAsDirOrThrow(ne,"mkdir"),He=me[me.length-1];if(ke.getChild(He))throw Ne(Z,"mkdir",ne);ke.createChild(He,this.createNode(!0,ce))},we.prototype.mkdirpBase=function(ne,ce){for(var me=Ce(ne),ke=me.substring(1),He=ke?ke.split(H):[],tt=this.root,St=!1,qt=0;qt<He.length;qt++){var rr=He[qt];if(!tt.getNode().isDirectory())throw Ne(re,"mkdir",tt.getPath());var Rr=tt.getChild(rr);if(Rr)if(Rr.getNode().isDirectory())tt=Rr;else throw Ne(re,"mkdir",Rr.getPath());else tt=tt.createChild(rr,this.createNode(!0,ce)),St=!0}return St?me:void 0},we.prototype.mkdirSync=function(ne,ce){var me=pt(ce),ke=mt(me.mode,511),He=ae(ne);if(me.recursive)return this.mkdirpBase(He,ke);this.mkdirBase(He,ke)},we.prototype.mkdir=function(ne,ce,me){var ke=pt(ce),He=ze(typeof ce=="function"?ce:me),tt=mt(ke.mode,511),St=ae(ne);ke.recursive?this.wrapAsync(this.mkdirpBase,[St,tt],He):this.wrapAsync(this.mkdirBase,[St,tt],He)},we.prototype.mkdirpSync=function(ne,ce){return this.mkdirSync(ne,{mode:ce,recursive:!0})},we.prototype.mkdirp=function(ne,ce,me){var ke=typeof ce=="function"?void 0:ce,He=ze(typeof ce=="function"?ce:me);this.mkdir(ne,{mode:ke,recursive:!0},He)},we.prototype.mkdtempBase=function(ne,ce,me){me===void 0&&(me=5);var ke=ne+this.genRndStr();try{return this.mkdirBase(ke,511),(0,p.strToEncoding)(ke,ce)}catch(He){if(He.code===Z){if(me>1)return this.mkdtempBase(ne,ce,me-1);throw Error("Could not create temp dir.")}else throw He}},we.prototype.mkdtempSync=function(ne,ce){var me=_t(ce).encoding;if(!ne||typeof ne!="string")throw new TypeError("filename prefix is required");return nt(ne),this.mkdtempBase(ne,me)},we.prototype.mkdtemp=function(ne,ce,me){var ke=U(ce,me),He=ke[0].encoding,tt=ke[1];if(!ne||typeof ne!="string")throw new TypeError("filename prefix is required");nt(ne),this.wrapAsync(this.mkdtempBase,[ne,He],tt)},we.prototype.rmdirBase=function(ne,ce){var me=jr(ce),ke=this.getLinkAsDirOrThrow(ne,"rmdir");if(ke.length&&!me.recursive)throw Ne(le,"rmdir",ne);this.deleteLink(ke)},we.prototype.rmdirSync=function(ne,ce){this.rmdirBase(ae(ne),ce)},we.prototype.rmdir=function(ne,ce,me){var ke=jr(ce),He=ze(typeof ce=="function"?ce:me);this.wrapAsync(this.rmdirBase,[ae(ne),ke],He)},we.prototype.rmBase=function(ne,ce){ce===void 0&&(ce={});var me=this.getResolvedLink(ne);if(!me){if(!ce.force)throw Ne(G,"stat",ne);return}if(me.getNode().isDirectory()&&!ce.recursive)throw Ne(Ae,"rm",ne);this.deleteLink(me)},we.prototype.rmSync=function(ne,ce){this.rmBase(ae(ne),ce)},we.prototype.rm=function(ne,ce,me){var ke=Sr(ce,me),He=ke[0],tt=ke[1];this.wrapAsync(this.rmBase,[ae(ne),He],tt)},we.prototype.fchmodBase=function(ne,ce){var me=this.getFileByFdOrThrow(ne,"fchmod");me.chmod(ce)},we.prototype.fchmodSync=function(ne,ce){this.fchmodBase(ne,mt(ce))},we.prototype.fchmod=function(ne,ce,me){this.wrapAsync(this.fchmodBase,[ne,mt(ce)],me)},we.prototype.chmodBase=function(ne,ce){var me=this.openSync(ne,"r");try{this.fchmodBase(me,ce)}finally{this.closeSync(me)}},we.prototype.chmodSync=function(ne,ce){var me=mt(ce),ke=ae(ne);this.chmodBase(ke,me)},we.prototype.chmod=function(ne,ce,me){var ke=mt(ce),He=ae(ne);this.wrapAsync(this.chmodBase,[He,ke],me)},we.prototype.lchmodBase=function(ne,ce){var me=this.openBase(ne,b,0,!1);try{this.fchmodBase(me,ce)}finally{this.closeSync(me)}},we.prototype.lchmodSync=function(ne,ce){var me=mt(ce),ke=ae(ne);this.lchmodBase(ke,me)},we.prototype.lchmod=function(ne,ce,me){var ke=mt(ce),He=ae(ne);this.wrapAsync(this.lchmodBase,[He,ke],me)},we.prototype.fchownBase=function(ne,ce,me){this.getFileByFdOrThrow(ne,"fchown").chown(ce,me)},we.prototype.fchownSync=function(ne,ce,me){ur(ce),Kt(me),this.fchownBase(ne,ce,me)},we.prototype.fchown=function(ne,ce,me,ke){ur(ce),Kt(me),this.wrapAsync(this.fchownBase,[ne,ce,me],ke)},we.prototype.chownBase=function(ne,ce,me){var ke=this.getResolvedLinkOrThrow(ne,"chown"),He=ke.getNode();He.chown(ce,me)},we.prototype.chownSync=function(ne,ce,me){ur(ce),Kt(me),this.chownBase(ae(ne),ce,me)},we.prototype.chown=function(ne,ce,me,ke){ur(ce),Kt(me),this.wrapAsync(this.chownBase,[ae(ne),ce,me],ke)},we.prototype.lchownBase=function(ne,ce,me){this.getLinkOrThrow(ne,"lchown").getNode().chown(ce,me)},we.prototype.lchownSync=function(ne,ce,me){ur(ce),Kt(me),this.lchownBase(ae(ne),ce,me)},we.prototype.lchown=function(ne,ce,me,ke){ur(ce),Kt(me),this.wrapAsync(this.lchownBase,[ae(ne),ce,me],ke)},we.prototype.watchFile=function(ne,ce,me){var ke=ae(ne),He=ce,tt=me;if(typeof He=="function"&&(tt=ce,He=null),typeof tt!="function")throw Error('"watchFile()" requires a listener function');var St=5007,qt=!0;He&&typeof He=="object"&&(typeof He.interval=="number"&&(St=He.interval),typeof He.persistent=="boolean"&&(qt=He.persistent));var rr=this.statWatchers[ke];return rr||(rr=new this.StatWatcher,rr.start(ke,qt,St),this.statWatchers[ke]=rr),rr.addListener("change",tt),rr},we.prototype.unwatchFile=function(ne,ce){var me=ae(ne),ke=this.statWatchers[me];ke&&(typeof ce=="function"?ke.removeListener("change",ce):ke.removeAllListeners("change"),ke.listenerCount("change")===0&&(ke.stop(),delete this.statWatchers[me]))},we.prototype.createReadStream=function(ne,ce){return new this.ReadStream(ne,ce)},we.prototype.createWriteStream=function(ne,ce){return new this.WriteStream(ne,ce)},we.prototype.watch=function(ne,ce,me){var ke=ae(ne),He=ce;typeof ce=="function"&&(me=ce,He=null);var tt=_t(He),St=tt.persistent,qt=tt.recursive,rr=tt.encoding;St===void 0&&(St=!0),qt===void 0&&(qt=!1);var Rr=new this.FSWatcher;return Rr.start(ke,St,qt,rr),me&&Rr.addListener("change",me),Rr},we.fd=2147483647,we}();ei.Volume=on;function Ii(we){we.emit("stop")}var vo=function(we){t(ne,we);function ne(ce){var me=we.call(this)||this;return me.onInterval=function(){try{var ke=me.vol.statSync(me.filename);me.hasChanged(ke)&&(me.emit("change",ke,me.prev),me.prev=ke)}finally{me.loop()}},me.vol=ce,me}return ne.prototype.loop=function(){this.timeoutRef=this.setTimeout(this.onInterval,this.interval)},ne.prototype.hasChanged=function(ce){return ce.mtimeMs>this.prev.mtimeMs||ce.nlink!==this.prev.nlink},ne.prototype.start=function(ce,me,ke){me===void 0&&(me=!0),ke===void 0&&(ke=5007),this.filename=ae(ce),this.setTimeout=me?setTimeout.bind(typeof globalThis<"u"?globalThis:EAt):c.default,this.interval=ke,this.prev=this.vol.statSync(this.filename),this.loop()},ne.prototype.stop=function(){clearTimeout(this.timeoutRef),l.default.nextTick(Ii,this)},ne}(d.EventEmitter);ei.StatWatcher=vo;var Tr;function wt(we){Tr=(0,s.bufferAllocUnsafe)(we),Tr.used=0}A.inherits(Gt,u.Readable),ei.ReadStream=Gt;function Gt(we,ne,ce){if(!(this instanceof Gt))return new Gt(we,ne,ce);if(this._vol=we,ce=Object.assign({},je(ce,{})),ce.highWaterMark===void 0&&(ce.highWaterMark=64*1024),u.Readable.call(this,ce),this.path=ae(ne),this.fd=ce.fd===void 0?null:ce.fd,this.flags=ce.flags===void 0?"r":ce.flags,this.mode=ce.mode===void 0?438:ce.mode,this.start=ce.start,this.end=ce.end,this.autoClose=ce.autoClose===void 0?!0:ce.autoClose,this.pos=void 0,this.bytesRead=0,this.start!==void 0){if(typeof this.start!="number")throw new TypeError('"start" option must be a Number');if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw new TypeError('"end" option must be a Number');if(this.start>this.end)throw new Error('"start" option must be <= "end" option');this.pos=this.start}typeof this.fd!="number"&&this.open(),this.on("end",function(){this.autoClose&&this.destroy&&this.destroy()})}Gt.prototype.open=function(){var we=this;this._vol.open(this.path,this.flags,this.mode,function(ne,ce){if(ne){we.autoClose&&we.destroy&&we.destroy(),we.emit("error",ne);return}we.fd=ce,we.emit("open",ce),we.read()})},Gt.prototype._read=function(we){if(typeof this.fd!="number")return this.once("open",function(){this._read(we)});if(this.destroyed)return;(!Tr||Tr.length-Tr.used<z)&&wt(this._readableState.highWaterMark);var ne=Tr,ce=Math.min(Tr.length-Tr.used,we),me=Tr.used;if(this.pos!==void 0&&(ce=Math.min(this.end-this.pos+1,ce)),ce<=0)return this.push(null);var ke=this;this._vol.read(this.fd,Tr,Tr.used,ce,this.pos,He),this.pos!==void 0&&(this.pos+=ce),Tr.used+=ce;function He(tt,St){if(tt)ke.autoClose&&ke.destroy&&ke.destroy(),ke.emit("error",tt);else{var qt=null;St>0&&(ke.bytesRead+=St,qt=ne.slice(me,me+St)),ke.push(qt)}}},Gt.prototype._destroy=function(we,ne){this.close(function(ce){ne(we||ce)})},Gt.prototype.close=function(we){var ne=this,ce;if(we&&this.once("close",we),this.closed||typeof this.fd!="number"){if(typeof this.fd!="number"){this.once("open",$r);return}return l.default.nextTick(function(){return ne.emit("close")})}typeof((ce=this._readableState)===null||ce===void 0?void 0:ce.closed)=="boolean"?this._readableState.closed=!0:this.closed=!0,this._vol.close(this.fd,function(me){me?ne.emit("error",me):ne.emit("close")}),this.fd=null};function $r(we){this.close()}A.inherits(Hr,u.Writable),ei.WriteStream=Hr;function Hr(we,ne,ce){if(!(this instanceof Hr))return new Hr(we,ne,ce);if(this._vol=we,ce=Object.assign({},je(ce,{})),u.Writable.call(this,ce),this.path=ae(ne),this.fd=ce.fd===void 0?null:ce.fd,this.flags=ce.flags===void 0?"w":ce.flags,this.mode=ce.mode===void 0?438:ce.mode,this.start=ce.start,this.autoClose=ce.autoClose===void 0?!0:!!ce.autoClose,this.pos=void 0,this.bytesWritten=0,this.start!==void 0){if(typeof this.start!="number")throw new TypeError('"start" option must be a Number');if(this.start<0)throw new Error('"start" must be >= zero');this.pos=this.start}ce.encoding&&this.setDefaultEncoding(ce.encoding),typeof this.fd!="number"&&this.open(),this.once("finish",function(){this.autoClose&&this.close()})}Hr.prototype.open=function(){this._vol.open(this.path,this.flags,this.mode,function(we,ne){if(we){this.autoClose&&this.destroy&&this.destroy(),this.emit("error",we);return}this.fd=ne,this.emit("open",ne)}.bind(this))},Hr.prototype._write=function(we,ne,ce){if(!(we instanceof s.Buffer||we instanceof Uint8Array))return this.emit("error",new Error("Invalid data"));if(typeof this.fd!="number")return this.once("open",function(){this._write(we,ne,ce)});var me=this;this._vol.write(this.fd,we,0,we.length,this.pos,function(ke,He){if(ke)return me.autoClose&&me.destroy&&me.destroy(),ce(ke);me.bytesWritten+=He,ce()}),this.pos!==void 0&&(this.pos+=we.length)},Hr.prototype._writev=function(we,ne){if(typeof this.fd!="number")return this.once("open",function(){this._writev(we,ne)});for(var ce=this,me=we.length,ke=new Array(me),He=0,tt=0;tt<me;tt++){var St=we[tt].chunk;ke[tt]=St,He+=St.length}var qt=s.Buffer.concat(ke);this._vol.write(this.fd,qt,0,qt.length,this.pos,function(rr,Rr){if(rr)return ce.destroy&&ce.destroy(),ne(rr);ce.bytesWritten+=Rr,ne()}),this.pos!==void 0&&(this.pos+=He)},Hr.prototype.close=function(we){var ne=this,ce;if(we&&this.once("close",we),this.closed||typeof this.fd!="number"){if(typeof this.fd!="number"){this.once("open",$r);return}return l.default.nextTick(function(){return ne.emit("close")})}typeof((ce=this._writableState)===null||ce===void 0?void 0:ce.closed)=="boolean"?this._writableState.closed=!0:this.closed=!0,this._vol.close(this.fd,function(me){me?ne.emit("error",me):ne.emit("close")}),this.fd=null},Hr.prototype._destroy=Gt.prototype._destroy,Hr.prototype.destroySoon=Hr.prototype.end;var Mr=function(we){t(ne,we);function ne(ce){var me=we.call(this)||this;return me._filename="",me._filenameEncoded="",me._recursive=!1,me._encoding=p.ENCODING_UTF8,me._listenerRemovers=new Map,me._onParentChild=function(ke){ke.getName()===me._getName()&&me._emit("rename")},me._emit=function(ke){me.emit("change",ke,me._filenameEncoded)},me._persist=function(){me._timer=setTimeout(me._persist,1e6)},me._vol=ce,me}return ne.prototype._getName=function(){return this._steps[this._steps.length-1]},ne.prototype.start=function(ce,me,ke,He){var tt=this;me===void 0&&(me=!0),ke===void 0&&(ke=!1),He===void 0&&(He=p.ENCODING_UTF8),this._filename=ae(ce),this._steps=Le(this._filename),this._filenameEncoded=(0,p.strToEncoding)(this._filename),this._recursive=ke,this._encoding=He;try{this._link=this._vol.getLinkOrThrow(this._filename,"FSWatcher")}catch(Vr){var St=new Error("watch ".concat(this._filename," ").concat(Vr.code));throw St.code=Vr.code,St.errno=Vr.code,St}var qt=function(Vr){var si,Ni=Vr.getPath(),No=Vr.getNode(),Oa=function(){var ai=V(tt._filename,Ni);return ai||(ai=tt._getName()),tt.emit("change","change",ai)};No.on("change",Oa);var sa=(si=tt._listenerRemovers.get(No.ino))!==null&&si!==void 0?si:[];sa.push(function(){return No.removeListener("change",Oa)}),tt._listenerRemovers.set(No.ino,sa)},rr=function(Vr){var si,Ni=Vr.getNode(),No=function(ai){tt.emit("change","rename",V(tt._filename,ai.getPath())),setTimeout(function(){qt(ai),rr(ai)})},Oa=function(ai){var Fo=function(To){var Ol=To.getNode().ino,Pl=tt._listenerRemovers.get(Ol);Pl&&(Pl.forEach(function(Il){return Il()}),tt._listenerRemovers.delete(Ol)),Object.values(To.children).forEach(function(Il){Il&&Fo(Il)})};Fo(ai),tt.emit("change","rename",V(tt._filename,ai.getPath()))};Object.entries(Vr.children).forEach(function(ai){var Fo=ai[0],To=ai[1];To&&Fo!=="."&&Fo!==".."&&qt(To)}),Vr.on("child:add",No),Vr.on("child:delete",Oa);var sa=(si=tt._listenerRemovers.get(Ni.ino))!==null&&si!==void 0?si:[];sa.push(function(){Vr.removeListener("child:add",No),Vr.removeListener("child:delete",Oa)}),ke&&Object.entries(Vr.children).forEach(function(ai){var Fo=ai[0],To=ai[1];To&&Fo!=="."&&Fo!==".."&&rr(To)})};qt(this._link),rr(this._link);var Rr=this._link.parent;Rr&&(Rr.setMaxListeners(Rr.getMaxListeners()+1),Rr.on("child:delete",this._onParentChild)),me&&this._persist()},ne.prototype.close=function(){clearTimeout(this._timer),this._listenerRemovers.forEach(function(me){me.forEach(function(ke){return ke()})}),this._listenerRemovers.clear();var ce=this._link.parent;ce&&ce.removeListener("child:delete",this._onParentChild)},ne}(d.EventEmitter);return ei.FSWatcher=Mr,ei}var nA={},ufe=!1;function DAt(){return ufe||(ufe=!0,Object.defineProperty(nA,"__esModule",{value:!0}),nA.fsSyncMethods=nA.fsProps=nA.fsAsyncMethods=void 0,nA.fsProps=["constants","F_OK","R_OK","W_OK","X_OK","Stats"],nA.fsSyncMethods=["renameSync","ftruncateSync","truncateSync","chownSync","fchownSync","lchownSync","chmodSync","fchmodSync","lchmodSync","statSync","lstatSync","fstatSync","linkSync","symlinkSync","readlinkSync","realpathSync","unlinkSync","rmdirSync","mkdirSync","mkdirpSync","readdirSync","closeSync","openSync","utimesSync","futimesSync","fsyncSync","writeSync","readSync","readFileSync","writeFileSync","appendFileSync","existsSync","accessSync","fdatasyncSync","mkdtempSync","copyFileSync","rmSync","createReadStream","createWriteStream"],nA.fsAsyncMethods=["rename","ftruncate","truncate","chown","fchown","lchown","chmod","fchmod","lchmod","stat","lstat","fstat","link","symlink","readlink","realpath","unlink","rmdir","mkdir","mkdirp","readdir","close","open","utimes","futimes","fsync","write","read","readFile","writeFile","appendFile","exists","access","fdatasync","mkdtemp","copyFile","rm","watchFile","unwatchFile","watch"]),nA}var Hs={},ffe=!1;function kAt(){if(ffe)return Hs;ffe=!0;var t=Hs&&Hs.__assign||function(){return t=Object.assign||function(p){for(var h,A=1,g=arguments.length;A<g;A++){h=arguments[A];for(var m in h)Object.prototype.hasOwnProperty.call(h,m)&&(p[m]=h[m])}return p},t.apply(this,arguments)};Object.defineProperty(Hs,"__esModule",{value:!0}),Hs.fs=Hs.createFsFromVolume=Hs.vol=Hs.Volume=void 0;var e=vJ(),r=OSe(),n=NSe(),i=DAt(),o=i.fsSyncMethods,s=i.fsAsyncMethods,a=ix(),l=a.constants.F_OK,c=a.constants.R_OK,u=a.constants.W_OK,f=a.constants.X_OK;Hs.Volume=n.Volume,Hs.vol=new n.Volume;function d(p){for(var h={F_OK:l,R_OK:c,W_OK:u,X_OK:f,constants:a.constants,Stats:e.default,Dirent:r.default},A=0,g=o;A<g.length;A++){var m=g[A];typeof p[m]=="function"&&(h[m]=p[m].bind(p))}for(var v=0,y=s;v<y.length;v++){var m=y[v];typeof p[m]=="function"&&(h[m]=p[m].bind(p))}return h.StatWatcher=p.StatWatcher,h.FSWatcher=p.FSWatcher,h.WriteStream=p.WriteStream,h.ReadStream=p.ReadStream,h.promises=p.promises,h._toUnixTimestamp=n.toUnixTimestamp,h}return Hs.createFsFromVolume=d,Hs.fs=d(Hs.vol),Hs=t(t({},Hs),Hs.fs),Hs.semantic=!0,Hs}const hv=kAt();hv.__esModule;hv.fs;hv.createFsFromVolume;hv.vol;hv.Volume;hv.semantic;const kl=NSe();kl.__esModule;kl.FSWatcher;kl.StatWatcher;kl.Volume;kl.toUnixTimestamp;kl.bufferToEncoding;kl.dataToBuffer;kl.dataToStr;kl.pathToSteps;kl.filenameToSteps;kl.pathToFilename;kl.flagsToNumber;kl.FLAGS;kl.ReadStream;kl.WriteStream;const{vol:VA,createFsFromVolume:OAt}=hv;function Jc(t){throw new Error(`Node.js fs ${t} is not supported by JSPM core in the browser`)}VA.fromNestedJSON({"/dev":{stdin:"",stdout:"",stderr:""},"/usr/bin":{},"/home":{},"/tmp":{}});VA.releasedFds=[2,1,0];VA.openSync("/dev/stdin","w");VA.openSync("/dev/stdout","r");VA.openSync("/dev/stderr","r");FSe("/dev/stdout",1,console.log);FSe("/dev/stderr",2,console.error);function FSe(t,e,r){let n=0;const i=new TextDecoder;VA.watch(t,"utf8",()=>{const{size:o}=VA.fstatSync(e),s=xSe.alloc(o-n);VA.readSync(e,s,0,s.length,n),n=o,r(i.decode(s,{stream:!0}))})}const mo=OAt(VA);mo.opendir=()=>Jc("opendir");mo.opendirSync=()=>Jc("opendirSync");mo.promises.opendir=()=>Jc("promises.opendir");mo.cp=()=>Jc("cp");mo.cpSync=()=>Jc("cpSync");mo.promises.cp=()=>Jc("promises.cp");mo.readv=()=>Jc("readv");mo.readvSync=()=>Jc("readvSync");mo.rm=()=>Jc("rm");mo.rmSync=()=>Jc("rmSync");mo.promises.rm=()=>Jc("promises.rm");mo.Dir=()=>Jc("Dir");mo.promises.watch=()=>Jc("promises.watch");mo.FileReadStream=mo.ReadStream;mo.FileWriteStream=mo.WriteStream;function BJ(t,e){if(t.protocol==="file:")return ESe(t);if(t.protocol==="https:"||t.protocol==="http:"){const r="\\\\url\\"+t.href.replaceAll(/\//g,"\\\\");if(TSe(r))return r;if(e)throw new Error(`Cannot sync request URL ${t} via FS. JSPM FS support for network URLs requires using async FS methods or priming the MemFS cache first with an async request before a sync request.`);return(async()=>{const n=await fetch(t);if(!n.ok)throw new Error(`Unable to fetch ${t.href}, ${n.status}`);const i=await n.arrayBuffer();return LSe(r,xSe.from(i)),r})()}throw new Error("URL "+t+" not supported in JSPM FS implementation.")}function PAt(t){return function(e,...r){return e instanceof URL?t(BJ(e,!0),...r):t(e,...r)}}function IAt(t){return async function(e,...r){return e instanceof URL?t(await BJ(e),...r):t(e,...r)}}function NAt(t){return function(e,...r){const n=r[r.length-1];e instanceof URL&&typeof n=="function"?BJ(e).then(i=>{t(i,...r)},n):t(e,...r)}}mo.promises.readFile=IAt(mo.promises.readFile);mo.readFile=NAt(mo.readFile);mo.readFileSync=PAt(mo.readFileSync);const{appendFile:FAt,appendFileSync:TAt,access:LAt,accessSync:RAt,chown:MAt,chownSync:_At,chmod:jAt,chmodSync:UAt,close:QAt,closeSync:VAt,copyFile:$At,copyFileSync:HAt,cp:GAt,cpSync:WAt,createReadStream:zAt,createWriteStream:KAt,exists:qAt,existsSync:TSe,fchown:XAt,fchownSync:YAt,fchmod:JAt,fchmodSync:ZAt,fdatasync:eht,fdatasyncSync:tht,fstat:rht,fstatSync:nht,fsync:iht,fsyncSync:oht,ftruncate:sht,ftruncateSync:aht,futimes:lht,futimesSync:cht,lchown:uht,lchownSync:fht,lchmod:dht,lchmodSync:pht,link:Aht,linkSync:hht,lstat:mht,lstatSync:ght,mkdir:vht,mkdirSync:yht,mkdtemp:Bht,mkdtempSync:Cht,open:bht,openSync:wht,opendir:xht,opendirSync:Sht,readdir:Eht,readdirSync:Dht,read:kht,readSync:Oht,readv:Pht,readvSync:Iht,readFile:Nht,readFileSync:Fht,readlink:Tht,readlinkSync:Lht,realpath:Rht,realpathSync:Mht,rename:_ht,renameSync:jht,rm:Uht,rmSync:Qht,rmdir:Vht,rmdirSync:$ht,stat:Hht,statSync:Ght,symlink:Wht,symlinkSync:zht,truncate:Kht,truncateSync:qht,unwatchFile:Xht,unlink:Yht,unlinkSync:Jht,utimes:Zht,utimesSync:e0t,watch:t0t,watchFile:r0t,writeFile:n0t,writeFileSync:LSe,write:i0t,writeSync:o0t,writev:s0t,writevSync:a0t,Dir:l0t,Dirent:c0t,Stats:u0t,ReadStream:f0t,WriteStream:d0t,FileReadStream:p0t,FileWriteStream:A0t,_toUnixTimestamp:h0t,constants:{F_OK:m0t,R_OK:g0t,W_OK:v0t,X_OK:y0t},constants:B0t,promises:C0t}=mo,b0t=Object.freeze(Object.defineProperty({__proto__:null,Dir:l0t,Dirent:c0t,F_OK:m0t,FileReadStream:p0t,FileWriteStream:A0t,R_OK:g0t,ReadStream:f0t,Stats:u0t,W_OK:v0t,WriteStream:d0t,X_OK:y0t,_toUnixTimestamp:h0t,access:LAt,accessSync:RAt,appendFile:FAt,appendFileSync:TAt,chmod:jAt,chmodSync:UAt,chown:MAt,chownSync:_At,close:QAt,closeSync:VAt,constants:B0t,copyFile:$At,copyFileSync:HAt,cp:GAt,cpSync:WAt,createReadStream:zAt,createWriteStream:KAt,default:mo,exists:qAt,existsSync:TSe,fchmod:JAt,fchmodSync:ZAt,fchown:XAt,fchownSync:YAt,fdatasync:eht,fdatasyncSync:tht,fstat:rht,fstatSync:nht,fsync:iht,fsyncSync:oht,ftruncate:sht,ftruncateSync:aht,futimes:lht,futimesSync:cht,lchmod:dht,lchmodSync:pht,lchown:uht,lchownSync:fht,link:Aht,linkSync:hht,lstat:mht,lstatSync:ght,mkdir:vht,mkdirSync:yht,mkdtemp:Bht,mkdtempSync:Cht,open:bht,openSync:wht,opendir:xht,opendirSync:Sht,promises:C0t,read:kht,readFile:Nht,readFileSync:Fht,readSync:Oht,readdir:Eht,readdirSync:Dht,readlink:Tht,readlinkSync:Lht,readv:Pht,readvSync:Iht,realpath:Rht,realpathSync:Mht,rename:_ht,renameSync:jht,rm:Uht,rmSync:Qht,rmdir:Vht,rmdirSync:$ht,stat:Hht,statSync:Ght,symlink:Wht,symlinkSync:zht,truncate:Kht,truncateSync:qht,unlink:Yht,unlinkSync:Jht,unwatchFile:Xht,utimes:Zht,utimesSync:e0t,watch:t0t,watchFile:r0t,write:i0t,writeFile:n0t,writeFileSync:LSe,writeSync:o0t,writev:s0t,writevSync:a0t},Symbol.toStringTag,{value:"Module"})),RSe=k3(b0t);let{existsSync:w0t,readFileSync:x0t}=RSe,{dirname:wR,join:S0t}=fv,{SourceMapConsumer:dfe,SourceMapGenerator:pfe}=BC;function E0t(t){return Buffer?Buffer.from(t,"base64").toString():window.atob(t)}let E$=class{constructor(e,r){if(r.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let n=r.map?r.map.prev:void 0,i=this.loadMap(r.from,n);!this.mapFile&&r.from&&(this.mapFile=r.from),this.mapFile&&(this.root=wR(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||(this.consumerCache=new dfe(this.text)),this.consumerCache}decodeInline(e){let r=/^data:application\/json;charset=utf-?8;base64,/,n=/^data:application\/json;base64,/,i=/^data:application\/json;charset=utf-?8,/,o=/^data:application\/json,/,s=e.match(i)||e.match(o);if(s)return decodeURIComponent(e.substr(s[0].length));let a=e.match(r)||e.match(n);if(a)return E0t(e.substr(a[0].length));let l=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+l)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}loadAnnotation(e){let r=e.match(/\/\*\s*# sourceMappingURL=/g);if(!r)return;let n=e.lastIndexOf(r.pop()),i=e.indexOf("*/",n);n>-1&&i>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,i)))}loadFile(e){if(this.root=wR(e),w0t(e))return this.mapFile=e,x0t(e,"utf-8").toString().trim()}loadMap(e,r){if(r===!1)return!1;if(r){if(typeof r=="string")return r;if(typeof r=="function"){let n=r(e);if(n){let i=this.loadFile(n);if(!i)throw new Error("Unable to load previous source map: "+n.toString());return i}}else{if(r instanceof dfe)return pfe.fromSourceMap(r).toString();if(r instanceof pfe)return r.toString();if(this.isMap(r))return JSON.stringify(r);throw new Error("Unsupported previous source map format: "+r.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let n=this.annotation;return e&&(n=S0t(wR(e),n)),this.loadFile(n)}}}startWith(e,r){return e?e.substr(0,r.length)===r:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};var MSe=E$;E$.default=E$;let{nanoid:D0t}=Alt,{isAbsolute:D$,resolve:k$}=fv,{SourceMapConsumer:k0t,SourceMapGenerator:O0t}=BC,{fileURLToPath:Afe,pathToFileURL:P6}=Bxe,hfe=GY,P0t=MSe,xR=HY,SR=Symbol("lineToIndexCache"),I0t=!!(k0t&&O0t),mfe=!!(k$&&D$);function gfe(t){if(t[SR])return t[SR];let e=t.css.split(` `),r=new Array(e.length),n=0;for(let i=0,o=e.length;i<o;i++)r[i]=n,n+=e[i].length+1;return t[SR]=r,r}let D9=class{get from(){return this.file||this.id}constructor(e,r={}){if(e===null||typeof e>"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]===""?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,r.document&&(this.document=r.document.toString()),r.from&&(!mfe||/^\w+:\/\//.test(r.from)||D$(r.from)?this.file=r.from:this.file=k$(r.from)),mfe&&I0t){let n=new P0t(this.css,r);if(n.text){this.map=n;let i=n.consumer().file;!this.file&&i&&(this.file=this.mapResolve(i))}}this.file||(this.id="<input css "+D0t(6)+">"),this.map&&(this.map.file=this.from)}error(e,r,n,i={}){let o,s,a,l,c;if(r&&typeof r=="object"){let f=r,d=n;if(typeof f.offset=="number"){l=f.offset;let p=this.fromOffset(l);r=p.line,n=p.col}else r=f.line,n=f.column,l=this.fromLineAndColumn(r,n);if(typeof d.offset=="number"){a=d.offset;let p=this.fromOffset(a);s=p.line,o=p.col}else s=d.line,o=d.column,a=this.fromLineAndColumn(d.line,d.column)}else if(n)l=this.fromLineAndColumn(r,n);else{l=r;let f=this.fromOffset(l);r=f.line,n=f.col}let u=this.origin(r,n,s,o);return u?c=new hfe(e,u.endLine===void 0?u.line:{column:u.column,line:u.line},u.endLine===void 0?u.column:{column:u.endColumn,line:u.endLine},u.source,u.file,i.plugin):c=new hfe(e,s===void 0?r:{column:n,line:r},s===void 0?n:{column:o,line:s},this.css,this.file,i.plugin),c.input={column:n,endColumn:o,endLine:s,endOffset:a,line:r,offset:l,source:this.css},this.file&&(P6&&(c.input.url=P6(this.file).toString()),c.input.file=this.file),c}fromLineAndColumn(e,r){return gfe(this)[e-1]+r-1}fromOffset(e){let r=gfe(this),n=r[r.length-1],i=0;if(e>=n)i=r.length-1;else{let o=r.length-2,s;for(;i<o;)if(s=i+(o-i>>1),e<r[s])o=s-1;else if(e>=r[s+1])i=s+1;else{i=s;break}}return{col:e-r[i]+1,line:i+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:k$(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,r,n,i){if(!this.map)return!1;let o=this.map.consumer(),s=o.originalPositionFor({column:r,line:e});if(!s.source)return!1;let a;typeof n=="number"&&(a=o.originalPositionFor({column:i,line:n}));let l;D$(s.source)?l=P6(s.source):l=new URL(s.source,this.map.consumer().sourceRoot||P6(this.map.mapFile));let c={column:s.column,endColumn:a&&a.column,endLine:a&&a.line,line:s.line,url:l.toString()};if(l.protocol==="file:")if(Afe)c.file=Afe(l);else throw new Error("file: protocol is not available in this PostCSS build");let u=o.sourceContentFor(s.source);return u&&(c.source=u),c}toJSON(){let e={};for(let r of["hasBOM","css","file","id"])this[r]!=null&&(e[r]=this[r]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}};var UI=D9;D9.default=D9;xR&&xR.registerInput&&xR.registerInput(D9);let _Se=uv,jSe,USe,wB=class extends _Se{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,r,n){let i=super.normalize(e);if(r){if(n==="prepend")this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(let o of i)o.raws.before=r.raws.before}return i}removeChild(e,r){let n=this.index(e);return!r&&n===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}toResult(e={}){return new jSe(new USe,this,e).stringify()}};wB.registerLazyResult=t=>{jSe=t};wB.registerProcessor=t=>{USe=t};var ox=wB;wB.default=wB;_Se.registerRoot(wB);let b4={comma(t){return b4.split(t,[","],!0)},space(t){let e=[" ",` `," "];return b4.split(t,e)},split(t,e,r){let n=[],i="",o=!1,s=0,a=!1,l="",c=!1;for(let u of t)c?c=!1:u==="\\"?c=!0:a?u===l&&(a=!1):u==='"'||u==="'"?(a=!0,l=u):u==="("?s+=1:u===")"?s>0&&(s-=1):s===0&&e.includes(u)&&(o=!0),o?(i!==""&&n.push(i.trim()),i="",o=!1):i+=u;return(r||i!=="")&&n.push(i.trim()),n}};var QSe=b4;b4.default=b4;let VSe=uv,N0t=QSe,k9=class extends VSe{get selectors(){return N0t.comma(this.selector)}set selectors(e){let r=this.selector?this.selector.match(/,\s*/):null,n=r?r[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}};var CJ=k9;k9.default=k9;VSe.registerRule(k9);let F0t=KY,T0t=II,L0t=NI,R0t=UI,M0t=MSe,_0t=ox,j0t=CJ;function w4(t,e){if(Array.isArray(t))return t.map(i=>w4(i));let{inputs:r,...n}=t;if(r){e=[];for(let i of r){let o={...i,__proto__:R0t.prototype};o.map&&(o.map={...o.map,__proto__:M0t.prototype}),e.push(o)}}if(n.nodes&&(n.nodes=t.nodes.map(i=>w4(i,e))),n.source){let{inputId:i,...o}=n.source;n.source=o,i!=null&&(n.source.input=e[i])}if(n.type==="root")return new _0t(n);if(n.type==="decl")return new L0t(n);if(n.type==="rule")return new j0t(n);if(n.type==="comment")return new T0t(n);if(n.type==="atrule")return new F0t(n);throw new Error("Unknown node type: "+t.type)}var U0t=w4;w4.default=w4;let{dirname:AD,relative:$Se,resolve:HSe,sep:GSe}=fv,{SourceMapConsumer:WSe,SourceMapGenerator:hD}=BC,{pathToFileURL:vfe}=Bxe,Q0t=UI,V0t=!!(WSe&&hD),$0t=!!(AD&&HSe&&$Se&&GSe),H0t=class{constructor(e,r,n,i){this.stringify=e,this.mapOpts=n.map||{},this.root=r,this.opts=n,this.css=i,this.originalCSS=i,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;this.isInline()?e="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?e=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?e=this.mapOpts.annotation(this.opts.to,this.root):e=this.outputFile()+".map";let r=` `;this.css.includes(`\r `)&&(r=`\r `),this.css+=r+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let r=this.toUrl(this.path(e.file)),n=e.root||AD(e.file),i;this.mapOpts.sourcesContent===!1?(i=new WSe(e.text),i.sourcesContent&&(i.sourcesContent=null)):i=e.consumer(),this.map.applySourceMap(i,r,this.toUrl(this.path(n)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let e;for(let r=this.root.nodes.length-1;r>=0;r--)e=this.root.nodes[r],e.type==="comment"&&e.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(r)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),$0t&&V0t&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,r=>{e+=r}),[e]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=hD.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new hD({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new hD({file:this.outputFile(),ignoreInvalidMapping:!0});let e=1,r=1,n="<no source>",i={generated:{column:0,line:0},original:{column:0,line:0},source:""},o,s;this.stringify(this.root,(a,l,c)=>{if(this.css+=a,l&&c!=="end"&&(i.generated.line=e,i.generated.column=r-1,l.source&&l.source.start?(i.source=this.sourcePath(l),i.original.line=l.source.start.line,i.original.column=l.source.start.column-1,this.map.addMapping(i)):(i.source=n,i.original.line=1,i.original.column=0,this.map.addMapping(i))),s=a.match(/\n/g),s?(e+=s.length,o=a.lastIndexOf(` `),r=a.length-o):r+=a.length,l&&c!=="start"){let u=l.parent||{raws:{}};(!(l.type==="decl"||l.type==="atrule"&&!l.nodes)||l!==u.last||u.raws.semicolon)&&(l.source&&l.source.end?(i.source=this.sourcePath(l),i.original.line=l.source.end.line,i.original.column=l.source.end.column-1,i.generated.line=e,i.generated.column=r-2,this.map.addMapping(i)):(i.source=n,i.original.line=1,i.original.column=0,i.generated.line=e,i.generated.column=r-1,this.map.addMapping(i)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(e=>e.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let e=this.mapOpts.annotation;return typeof e<"u"&&e!==!0?!1:this.previous().length?this.previous().some(r=>r.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(e=>e.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;let r=this.memoizedPaths.get(e);if(r)return r;let n=this.opts.to?AD(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(n=AD(HSe(n,this.mapOpts.annotation)));let i=$Se(n,e);return this.memoizedPaths.set(e,i),i}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let r=e.source.input.map;this.previousMaps.includes(r)||this.previousMaps.push(r)}});else{let e=new Q0t(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(r=>{if(r.source){let n=r.source.input.from;if(n&&!e[n]){e[n]=!0;let i=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(i,r.source.input.css)}}});else if(this.css){let r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let r=this.memoizedFileURLs.get(e);if(r)return r;if(vfe){let n=vfe(e).toString();return this.memoizedFileURLs.set(e,n),n}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let r=this.memoizedURLs.get(e);if(r)return r;GSe==="\\"&&(e=e.replace(/\\/g,"/"));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}};var zSe=H0t;const ER="'".charCodeAt(0),yfe='"'.charCodeAt(0),I6="\\".charCodeAt(0),Bfe="/".charCodeAt(0),N6=` `.charCodeAt(0),Yb=" ".charCodeAt(0),F6="\f".charCodeAt(0),T6=" ".charCodeAt(0),L6="\r".charCodeAt(0),G0t="[".charCodeAt(0),W0t="]".charCodeAt(0),z0t="(".charCodeAt(0),K0t=")".charCodeAt(0),q0t="{".charCodeAt(0),X0t="}".charCodeAt(0),Y0t=";".charCodeAt(0),J0t="*".charCodeAt(0),Z0t=":".charCodeAt(0),emt="@".charCodeAt(0),R6=/[\t\n\f\r "#'()/;[\\\]{}]/g,M6=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,tmt=/.[\r\n"'(/\\]/,Cfe=/[\da-f]/i;var rmt=function(e,r={}){let n=e.css.valueOf(),i=r.ignoreErrors,o,s,a,l,c,u,f,d,p,h,A=n.length,g=0,m=[],v=[];function y(){return g}function b(x){throw e.error("Unclosed "+x,g)}function B(){return v.length===0&&g>=A}function S(x){if(v.length)return v.pop();if(g>=A)return;let I=x?x.ignoreUnclosed:!1;switch(o=n.charCodeAt(g),o){case N6:case Yb:case T6:case L6:case F6:{l=g;do l+=1,o=n.charCodeAt(l);while(o===Yb||o===N6||o===T6||o===L6||o===F6);u=["space",n.slice(g,l)],g=l-1;break}case G0t:case W0t:case q0t:case X0t:case Z0t:case Y0t:case K0t:{let F=String.fromCharCode(o);u=[F,F,g];break}case z0t:{if(h=m.length?m.pop()[1]:"",p=n.charCodeAt(g+1),h==="url"&&p!==ER&&p!==yfe&&p!==Yb&&p!==N6&&p!==T6&&p!==F6&&p!==L6){l=g;do{if(f=!1,l=n.indexOf(")",l+1),l===-1)if(i||I){l=g;break}else b("bracket");for(d=l;n.charCodeAt(d-1)===I6;)d-=1,f=!f}while(f);u=["brackets",n.slice(g,l+1),g,l],g=l}else l=n.indexOf(")",g+1),s=n.slice(g,l+1),l===-1||tmt.test(s)?u=["(","(",g]:(u=["brackets",s,g,l],g=l);break}case ER:case yfe:{c=o===ER?"'":'"',l=g;do{if(f=!1,l=n.indexOf(c,l+1),l===-1)if(i||I){l=g+1;break}else b("string");for(d=l;n.charCodeAt(d-1)===I6;)d-=1,f=!f}while(f);u=["string",n.slice(g,l+1),g,l],g=l;break}case emt:{R6.lastIndex=g+1,R6.test(n),R6.lastIndex===0?l=n.length-1:l=R6.lastIndex-2,u=["at-word",n.slice(g,l+1),g,l],g=l;break}case I6:{for(l=g,a=!0;n.charCodeAt(l+1)===I6;)l+=1,a=!a;if(o=n.charCodeAt(l+1),a&&o!==Bfe&&o!==Yb&&o!==N6&&o!==T6&&o!==L6&&o!==F6&&(l+=1,Cfe.test(n.charAt(l)))){for(;Cfe.test(n.charAt(l+1));)l+=1;n.charCodeAt(l+1)===Yb&&(l+=1)}u=["word",n.slice(g,l+1),g,l],g=l;break}default:{o===Bfe&&n.charCodeAt(g+1)===J0t?(l=n.indexOf("*/",g+2)+1,l===0&&(i||I?l=n.length:b("comment")),u=["comment",n.slice(g,l+1),g,l],g=l):(M6.lastIndex=g+1,M6.test(n),M6.lastIndex===0?l=n.length-1:l=M6.lastIndex-2,u=["word",n.slice(g,l+1),g,l],m.push(u),g=l);break}}return g++,u}function w(x){v.push(x)}return{back:w,endOfFile:B,nextToken:S,position:y}};let nmt=KY,imt=II,omt=NI,smt=ox,bfe=CJ,amt=rmt;const wfe={empty:!0,space:!0};function lmt(t){for(let e=t.length-1;e>=0;e--){let r=t[e],n=r[3]||r[2];if(n)return n}}let cmt=class{constructor(e){this.input=e,this.root=new smt,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let r=new nmt;r.name=e[1].slice(1),r.name===""&&this.unnamedAtrule(r,e),this.init(r,e[2]);let n,i,o,s=!1,a=!1,l=[],c=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),n=e[0],n==="("||n==="["?c.push(n==="("?")":"]"):n==="{"&&c.length>0?c.push("}"):n===c[c.length-1]&&c.pop(),c.length===0)if(n===";"){r.source.end=this.getPosition(e[2]),r.source.end.offset++,this.semicolon=!0;break}else if(n==="{"){a=!0;break}else if(n==="}"){if(l.length>0){for(o=l.length-1,i=l[o];i&&i[0]==="space";)i=l[--o];i&&(r.source.end=this.getPosition(i[3]||i[2]),r.source.end.offset++)}this.end(e);break}else l.push(e);else l.push(e);if(this.tokenizer.endOfFile()){s=!0;break}}r.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(r.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(r,"params",l),s&&(e=l[l.length-1],r.source.end=this.getPosition(e[3]||e[2]),r.source.end.offset++,this.spaces=r.raws.between,r.raws.between="")):(r.raws.afterName="",r.params=""),a&&(r.nodes=[],this.current=r)}checkMissedSemicolon(e){let r=this.colon(e);if(r===!1)return;let n=0,i;for(let o=r-1;o>=0&&(i=e[o],!(i[0]!=="space"&&(n+=1,n===2)));o--);throw this.input.error("Missed semicolon",i[0]==="word"?i[3]+1:i[2])}colon(e){let r=0,n,i,o;for(let[s,a]of e.entries()){if(i=a,o=i[0],o==="("&&(r+=1),o===")"&&(r-=1),r===0&&o===":")if(!n)this.doubleColon(i);else{if(n[0]==="word"&&n[1]==="progid")continue;return s}n=i}return!1}comment(e){let r=new imt;this.init(r,e[2]),r.source.end=this.getPosition(e[3]||e[2]),r.source.end.offset++;let n=e[1].slice(2,-2);if(/^\s*$/.test(n))r.text="",r.raws.left=n,r.raws.right="";else{let i=n.match(/^(\s*)([^]*\S)(\s*)$/);r.text=i[2],r.raws.left=i[1],r.raws.right=i[3]}}createTokenizer(){this.tokenizer=amt(this.input)}decl(e,r){let n=new omt;this.init(n,e[0][2]);let i=e[e.length-1];for(i[0]===";"&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(i[3]||i[2]||lmt(e)),n.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){let c=e[0][0];if(c===":"||c==="space"||c==="comment")break;n.prop+=e.shift()[1]}n.raws.between="";let o;for(;e.length;)if(o=e.shift(),o[0]===":"){n.raws.between+=o[1];break}else o[0]==="word"&&/\w/.test(o[1])&&this.unknownWord([o]),n.raws.between+=o[1];(n.prop[0]==="_"||n.prop[0]==="*")&&(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let s=[],a;for(;e.length&&(a=e[0][0],!(a!=="space"&&a!=="comment"));)s.push(e.shift());this.precheckMissedSemicolon(e);for(let c=e.length-1;c>=0;c--){if(o=e[c],o[1].toLowerCase()==="!important"){n.important=!0;let u=this.stringFrom(e,c);u=this.spacesFromEnd(e)+u,u!==" !important"&&(n.raws.important=u);break}else if(o[1].toLowerCase()==="important"){let u=e.slice(0),f="";for(let d=c;d>0;d--){let p=u[d][0];if(f.trim().startsWith("!")&&p!=="space")break;f=u.pop()[1]+f}f.trim().startsWith("!")&&(n.important=!0,n.raws.important=f,e=u)}if(o[0]!=="space"&&o[0]!=="comment")break}e.some(c=>c[0]!=="space"&&c[0]!=="comment")&&(n.raws.between+=s.map(c=>c[1]).join(""),s=[]),this.raw(n,"value",s.concat(e),r),n.value.includes(":")&&!r&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let r=new bfe;this.init(r,e[2]),r.selector="",r.raws.between="",this.current=r}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let r=this.current.nodes[this.current.nodes.length-1];r&&r.type==="rule"&&!r.raws.ownSemicolon&&(r.raws.ownSemicolon=this.spaces,this.spaces="",r.source.end=this.getPosition(e[2]),r.source.end.offset+=r.raws.ownSemicolon.length)}}getPosition(e){let r=this.input.fromOffset(e);return{column:r.col,line:r.line,offset:e}}init(e,r){this.current.push(e),e.source={input:this.input,start:this.getPosition(r)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}other(e){let r=!1,n=null,i=!1,o=null,s=[],a=e[1].startsWith("--"),l=[],c=e;for(;c;){if(n=c[0],l.push(c),n==="("||n==="[")o||(o=c),s.push(n==="("?")":"]");else if(a&&i&&n==="{")o||(o=c),s.push("}");else if(s.length===0)if(n===";")if(i){this.decl(l,a);return}else break;else if(n==="{"){this.rule(l);return}else if(n==="}"){this.tokenizer.back(l.pop()),r=!0;break}else n===":"&&(i=!0);else n===s[s.length-1]&&(s.pop(),s.length===0&&(o=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(r=!0),s.length>0&&this.unclosedBracket(o),r&&i){if(!a)for(;l.length&&(c=l[l.length-1][0],!(c!=="space"&&c!=="comment"));)this.tokenizer.back(l.pop());this.decl(l,a)}else this.unknownWord(l)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,r,n,i){let o,s,a=n.length,l="",c=!0,u,f;for(let d=0;d<a;d+=1)o=n[d],s=o[0],s==="space"&&d===a-1&&!i?c=!1:s==="comment"?(f=n[d-1]?n[d-1][0]:"empty",u=n[d+1]?n[d+1][0]:"empty",!wfe[f]&&!wfe[u]?l.slice(-1)===","?c=!1:l+=o[1]:c=!1):l+=o[1];if(!c){let d=n.reduce((p,h)=>p+h[1],"");e.raws[r]={raw:d,value:l}}e[r]=l}rule(e){e.pop();let r=new bfe;this.init(r,e[0][2]),r.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(r,"selector",e),this.current=r}spacesAndCommentsFromEnd(e){let r,n="";for(;e.length&&(r=e[e.length-1][0],!(r!=="space"&&r!=="comment"));)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let r,n="";for(;e.length&&(r=e[0][0],!(r!=="space"&&r!=="comment"));)n+=e.shift()[1];return n}spacesFromEnd(e){let r,n="";for(;e.length&&(r=e[e.length-1][0],r==="space");)n=e.pop()[1]+n;return n}stringFrom(e,r){let n="";for(let i=r;i<e.length;i++)n+=e[i][1];return e.splice(r,e.length-r),n}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word "+e[0][1],{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,r){throw this.input.error("At-rule without name",{offset:r[2]},{offset:r[2]+r[1].length})}};var umt=cmt;let fmt=uv,dmt=UI,pmt=umt;function O9(t,e){let r=new dmt(t,e),n=new pmt(r);try{n.parse()}catch(i){throw i}return n.root}var bJ=O9;O9.default=O9;fmt.registerParse(O9);let O$=class{constructor(e,r={}){if(this.type="warning",this.text=e,r.node&&r.node.source){let n=r.node.rangeBy(r);this.line=n.start.line,this.column=n.start.column,this.endLine=n.end.line,this.endColumn=n.end.column}for(let n in r)this[n]=r[n]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};var KSe=O$;O$.default=O$;let Amt=KSe,P$=class{get content(){return this.css}constructor(e,r,n){this.processor=e,this.messages=[],this.root=r,this.opts=n,this.css="",this.map=void 0}toString(){return this.css}warn(e,r={}){r.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(r.plugin=this.lastPlugin.postcssPlugin);let n=new Amt(e,r);return this.messages.push(n),n}warnings(){return this.messages.filter(e=>e.type==="warning")}};var wJ=P$;P$.default=P$;let hmt=uv,mmt=qY,gmt=zSe,vmt=bJ,xfe=wJ,ymt=ox,Bmt=OI,{isClean:Pd,my:Cmt}=rx;const bmt={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},wmt={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},xmt={Once:!0,postcssPlugin:!0,prepare:!0},xB=0;function Jb(t){return typeof t=="object"&&typeof t.then=="function"}function qSe(t){let e=!1,r=bmt[t.type];return t.type==="decl"?e=t.prop.toLowerCase():t.type==="atrule"&&(e=t.name.toLowerCase()),e&&t.append?[r,r+"-"+e,xB,r+"Exit",r+"Exit-"+e]:e?[r,r+"-"+e,r+"Exit",r+"Exit-"+e]:t.append?[r,xB,r+"Exit"]:[r,r+"Exit"]}function Sfe(t){let e;return t.type==="document"?e=["Document",xB,"DocumentExit"]:t.type==="root"?e=["Root",xB,"RootExit"]:e=qSe(t),{eventIndex:0,events:e,iterator:0,node:t,visitorIndex:0,visitors:[]}}function I$(t){return t[Pd]=!1,t.nodes&&t.nodes.forEach(e=>I$(e)),t}let N$={},SB=class XSe{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(e,r,n){this.stringified=!1,this.processed=!1;let i;if(typeof r=="object"&&r!==null&&(r.type==="root"||r.type==="document"))i=I$(r);else if(r instanceof XSe||r instanceof xfe)i=I$(r.root),r.map&&(typeof n.map>"u"&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{let o=vmt;n.syntax&&(o=n.syntax.parse),n.parser&&(o=n.parser),o.parse&&(o=o.parse);try{i=o(r,n)}catch(s){this.processed=!0,this.error=s}i&&!i[Cmt]&&hmt.rebuild(i)}this.result=new xfe(e,i,n),this.helpers={...N$,postcss:N$,result:this.result},this.plugins=this.processor.plugins.map(o=>typeof o=="object"&&o.prepare?{...o,...o.prepare(this.result)}:o)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,r){let n=this.result.lastPlugin;try{r&&r.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin?(e.plugin=n.postcssPlugin,e.setMessage()):n.postcssVersion}catch(i){console&&console.error&&console.error(i)}return e}prepareVisitors(){this.listeners={};let e=(r,n,i)=>{this.listeners[n]||(this.listeners[n]=[]),this.listeners[n].push([r,i])};for(let r of this.plugins)if(typeof r=="object")for(let n in r){if(!wmt[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${r.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!xmt[n])if(typeof r[n]=="object")for(let i in r[n])i==="*"?e(r,n,r[n][i]):e(r,n+"-"+i.toLowerCase(),r[n][i]);else typeof r[n]=="function"&&e(r,n,r[n])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let r=this.plugins[e],n=this.runOnRoot(r);if(Jb(n))try{await n}catch(i){throw this.handleError(i)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Pd];){e[Pd]=!0;let r=[Sfe(e)];for(;r.length>0;){let n=this.visitTick(r);if(Jb(n))try{await n}catch(i){let o=r[r.length-1].node;throw this.handleError(i,o)}}}if(this.listeners.OnceExit)for(let[r,n]of this.listeners.OnceExit){this.result.lastPlugin=r;try{if(e.type==="document"){let i=e.nodes.map(o=>n(o,this.helpers));await Promise.all(i)}else await n(e,this.helpers)}catch(i){throw this.handleError(i)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let r=this.result.root.nodes.map(n=>e.Once(n,this.helpers));return Jb(r[0])?Promise.all(r):r}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(r){throw this.handleError(r)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,r=Bmt;e.syntax&&(r=e.syntax.stringify),e.stringifier&&(r=e.stringifier),r.stringify&&(r=r.stringify);let i=new gmt(r,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let r=this.runOnRoot(e);if(Jb(r))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Pd];)e[Pd]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let r of e.nodes)this.visitSync(this.listeners.OnceExit,r);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,r){return this.async().then(e,r)}toString(){return this.css}visitSync(e,r){for(let[n,i]of e){this.result.lastPlugin=n;let o;try{o=i(r,this.helpers)}catch(s){throw this.handleError(s,r.proxyOf)}if(r.type!=="root"&&r.type!=="document"&&!r.parent)return!0;if(Jb(o))throw this.getAsyncError()}}visitTick(e){let r=e[e.length-1],{node:n,visitors:i}=r;if(n.type!=="root"&&n.type!=="document"&&!n.parent){e.pop();return}if(i.length>0&&r.visitorIndex<i.length){let[s,a]=i[r.visitorIndex];r.visitorIndex+=1,r.visitorIndex===i.length&&(r.visitors=[],r.visitorIndex=0),this.result.lastPlugin=s;try{return a(n.toProxy(),this.helpers)}catch(l){throw this.handleError(l,n)}}if(r.iterator!==0){let s=r.iterator,a;for(;a=n.nodes[n.indexes[s]];)if(n.indexes[s]+=1,!a[Pd]){a[Pd]=!0,e.push(Sfe(a));return}r.iterator=0,delete n.indexes[s]}let o=r.events;for(;r.eventIndex<o.length;){let s=o[r.eventIndex];if(r.eventIndex+=1,s===xB){n.nodes&&n.nodes.length&&(n[Pd]=!0,r.iterator=n.getIterator());return}else if(this.listeners[s]){r.visitors=this.listeners[s];return}}e.pop()}walkSync(e){e[Pd]=!0;let r=qSe(e);for(let n of r)if(n===xB)e.nodes&&e.each(i=>{i[Pd]||this.walkSync(i)});else{let i=this.listeners[n];if(i&&this.visitSync(i,e.toProxy()))return}}warnings(){return this.sync().warnings()}};SB.registerPostcss=t=>{N$=t};var YSe=SB;SB.default=SB;ymt.registerLazyResult(SB);mmt.registerLazyResult(SB);let Smt=zSe,Emt=bJ;const Dmt=wJ;let kmt=OI,F$=class{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,r=Emt;try{e=r(this._css,this._opts)}catch(n){this.error=n}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(e,r,n){r=r.toString(),this.stringified=!1,this._processor=e,this._css=r,this._opts=n,this._map=void 0;let i,o=kmt;this.result=new Dmt(this._processor,i,this._opts),this.result.css=r;let s=this;Object.defineProperty(this.result,"root",{get(){return s.root}});let a=new Smt(o,i,this._opts,r);if(a.isMap()){let[l,c]=a.generate();l&&(this.result.css=l),c&&(this.result.map=c)}else a.clearAnnotation(),this.result.css=a.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,r){return this.async().then(e,r)}toString(){return this._css}warnings(){return[]}};var Omt=F$;F$.default=F$;let Pmt=qY,Imt=YSe,Nmt=Omt,Fmt=ox,x4=class{constructor(e=[]){this.version="8.5.6",this.plugins=this.normalize(e)}normalize(e){let r=[];for(let n of e)if(n.postcss===!0?n=n():n.postcss&&(n=n.postcss),typeof n=="object"&&Array.isArray(n.plugins))r=r.concat(n.plugins);else if(typeof n=="object"&&n.postcssPlugin)r.push(n);else if(typeof n=="function")r.push(n);else if(!(typeof n=="object"&&(n.parse||n.stringify)))throw new Error(n+" is not a PostCSS plugin");return r}process(e,r={}){return!this.plugins.length&&!r.parser&&!r.stringifier&&!r.syntax?new Nmt(this,e,r):new Imt(this,e,r)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};var Tmt=x4;x4.default=x4;Fmt.registerProcessor(x4);Pmt.registerProcessor(x4);let JSe=KY,ZSe=II,Lmt=uv,Rmt=GY,e6e=NI,t6e=qY,Mmt=U0t,_mt=UI,jmt=YSe,Umt=QSe,Qmt=PI,Vmt=bJ,xJ=Tmt,$mt=wJ,r6e=ox,n6e=CJ,Hmt=OI,Gmt=KSe;function ki(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new xJ(t)}ki.plugin=function(e,r){let n=!1;function i(...s){console&&console.warn&&!n&&(n=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide: https://evilmartians.com/chronicles/postcss-8-plugin-migration`),{}.LANG&&{}.LANG.startsWith("cn")&&console.warn(e+`: 里面 postcss.plugin 被弃用. 迁移指南: https://www.w3ctech.com/topic/2226`));let a=r(...s);return a.postcssPlugin=e,a.postcssVersion=new xJ().version,a}let o;return Object.defineProperty(i,"postcss",{get(){return o||(o=i()),o}}),i.process=function(s,a,l){return ki([i(l)]).process(s,a)},i};ki.stringify=Hmt;ki.parse=Vmt;ki.fromJSON=Mmt;ki.list=Umt;ki.comment=t=>new ZSe(t);ki.atRule=t=>new JSe(t);ki.decl=t=>new e6e(t);ki.rule=t=>new n6e(t);ki.root=t=>new r6e(t);ki.document=t=>new t6e(t);ki.CssSyntaxError=Rmt;ki.Declaration=e6e;ki.Container=Lmt;ki.Processor=xJ;ki.Document=t6e;ki.Comment=ZSe;ki.Warning=Gmt;ki.AtRule=JSe;ki.Result=$mt;ki.Input=_mt;ki.Rule=n6e;ki.Root=r6e;ki.Node=Qmt;jmt.registerPostcss(ki);var $m=ki;ki.default=ki;const eo=Io($m);eo.stringify;eo.fromJSON;eo.plugin;eo.parse;eo.list;eo.document;eo.comment;eo.atRule;eo.rule;eo.decl;eo.root;eo.CssSyntaxError;eo.Declaration;eo.Container;eo.Processor;eo.Document;eo.Comment;eo.Warning;eo.AtRule;eo.Result;eo.Input;eo.Rule;eo.Root;eo.Node;const Wmt=t=>t.slice(t.indexOf("(")+1,t.lastIndexOf(")")).split(",").map(e=>e.trim()).filter(e=>e!==""),zmt=t=>Number.isNaN(Number(t))?t:Number(t),Efe=t=>+t.toFixed(10),T$=(t,e)=>({x:Efe(t),y:Efe(e)}),Dfe=t=>Wmt(t).map(e=>zmt(e));function kfe(t,e,r){return(1-t)*(1-t)*(1-t)*0+3*((1-t)*(1-t))*t*e+3*(1-t)*(t*t)*r+t*t*t*1}function i6e(t,e,r,n,i=10){const o=1/i;let s=[];for(let l=0;l<=1;l+=o)s.push({x:kfe(l,t,r),y:kfe(l,e,n)});return s.map(l=>T$(l.x,l.y))}const Ofe={ease:"cubic-bezier(0.25, 0.1, 0.25, 1)","ease-in":"cubic-bezier(0.42, 0, 1, 1)","ease-in-out":"cubic-bezier(0.42, 0, 0.58, 1)","ease-out":"cubic-bezier(0, 0, 0.58, 1)"};function o6e(t,e="skip-end"){const r=[];let n=0;for(;n<t;){const i=n/t,o=(n+1)/t;let s;if(e==="skip-none")s=n/(t-1);else if(e==="skip-both")s=(n+1)/(t+1);else if(e==="skip-start"||e==="start")s=(n+1)/t;else if(e==="skip-end"||e==="end")s=n/t;else throw new Error(`Error can't recognise step skip "${e}"`);r.push(T$(i,s)),r.push(T$(o,s)),++n}return r}function Pfe(t,e){const r=`Error parsing "${t}".`;if(Ofe[t]&&(t=Ofe[t]),t.includes("steps(")){const n=Dfe(t),[i,o]=n;if(n.length<1||n.length>2)throw new Error(`${r} Got ${n.length} arguments but expected 1 or 2.`);if(typeof n[0]!="number")throw new Error(`${r} "${n[0]}" is not a number.`);if(n.length===2&&typeof n[1]!="string")throw new Error(`${r} "${n[1]}" is not a string.`);return o6e(i,o)}else if(t.includes("cubic-bezier(")){const n=Dfe(t),[i,o,s,a]=n;if(n.length!==4)throw new Error(`${r} Got ${n.length} arguments but expected 4.`);return n.forEach(l=>{if(typeof l!="number")throw new Error(`${r} "${l}" is not a number.`)}),i6e(i,o,s,a,e)}else throw new Error(`${r} If not a typo then please create a GitHub issue :)`)}const Kmt=Object.freeze(Object.defineProperty({__proto__:null,cubicCoordinates:i6e,default:Pfe,easingCoordinates:Pfe,stepsCoordinates:o6e},Symbol.toStringTag,{value:"Module"})),qmt=k3(Kmt);var L$={exports:{}},R$={exports:{}},M$={exports:{}},_$={exports:{}},SJ={exports:{}},to=String,s6e=function(){return{isColorSupported:!1,reset:to,bold:to,dim:to,italic:to,underline:to,inverse:to,hidden:to,strikethrough:to,black:to,red:to,green:to,yellow:to,blue:to,magenta:to,cyan:to,white:to,gray:to,bgBlack:to,bgRed:to,bgGreen:to,bgYellow:to,bgBlue:to,bgMagenta:to,bgCyan:to,bgWhite:to}};SJ.exports=s6e();SJ.exports.createColors=s6e;var Xmt=SJ.exports;(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(Xmt),n=i(HY);function i(A){return A&&A.__esModule?A:{default:A}}function o(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}function s(A,g){A.prototype=Object.create(g.prototype),A.prototype.constructor=A,A.__proto__=g}function a(A){var g=typeof Map=="function"?new Map:void 0;return a=function(v){if(v===null||!u(v))return v;if(typeof v!="function")throw new TypeError("Super expression must either be null or a function");if(typeof g<"u"){if(g.has(v))return g.get(v);g.set(v,y)}function y(){return l(v,arguments,d(this).constructor)}return y.prototype=Object.create(v.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),f(y,v)},a(A)}function l(A,g,m){return c()?l=Reflect.construct:l=function(y,b,B){var S=[null];S.push.apply(S,b);var w=Function.bind.apply(y,S),x=new w;return B&&f(x,B.prototype),x},l.apply(null,arguments)}function c(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function u(A){return Function.toString.call(A).indexOf("[native code]")!==-1}function f(A,g){return f=Object.setPrototypeOf||function(v,y){return v.__proto__=y,v},f(A,g)}function d(A){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(m){return m.__proto__||Object.getPrototypeOf(m)},d(A)}var p=function(A){s(g,A);function g(v,y,b,B,S,w){var x;return x=A.call(this,v)||this,x.name="CssSyntaxError",x.reason=v,S&&(x.file=S),B&&(x.source=B),w&&(x.plugin=w),typeof y<"u"&&typeof b<"u"&&(x.line=y,x.column=b),x.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(o(x),g),x}var m=g.prototype;return m.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},m.showSourceCode=function(y){var b=this;if(!this.source)return"";var B=this.source;n.default&&(typeof y>"u"&&(y=r.default.isColorSupported),y&&(B=(0,n.default)(B)));var S=B.split(/\r?\n/),w=Math.max(this.line-3,0),x=Math.min(this.line+2,S.length),I=String(x).length;function F(O){return y&&r.default.red?r.default.red(r.default.bold(O)):O}function k(O){return y&&r.default.gray?r.default.gray(O):O}return S.slice(w,x).map(function(O,L){var M=w+1+L,H=" "+(" "+M).slice(-I)+" | ";if(M===b.line){var V=k(H.replace(/\d/g," "))+O.slice(0,b.column-1).replace(/[^\t]/g," ");return F(">")+k(H)+O+` `+V+F("^")}return" "+k(H)+O}).join(` `)},m.toString=function(){var y=this.showSourceCode();return y&&(y=` `+y+` `),this.name+": "+this.message+y},g}(a(Error)),h=p;e.default=h,t.exports=e.default})(_$,_$.exports);var a6e=_$.exports,j$={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r={colon:": ",indent:" ",beforeDecl:` `,beforeRule:` `,beforeOpen:" ",beforeClose:` `,beforeComment:` `,after:` `,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function n(s){return s[0].toUpperCase()+s.slice(1)}var i=function(){function s(l){this.builder=l}var a=s.prototype;return a.stringify=function(c,u){this[c.type](c,u)},a.root=function(c){this.body(c),c.raws.after&&this.builder(c.raws.after)},a.comment=function(c){var u=this.raw(c,"left","commentLeft"),f=this.raw(c,"right","commentRight");this.builder("/*"+u+c.text+f+"*/",c)},a.decl=function(c,u){var f=this.raw(c,"between","colon"),d=c.prop+f+this.rawValue(c,"value");c.important&&(d+=c.raws.important||" !important"),u&&(d+=";"),this.builder(d,c)},a.rule=function(c){this.block(c,this.rawValue(c,"selector")),c.raws.ownSemicolon&&this.builder(c.raws.ownSemicolon,c,"end")},a.atrule=function(c,u){var f="@"+c.name,d=c.params?this.rawValue(c,"params"):"";if(typeof c.raws.afterName<"u"?f+=c.raws.afterName:d&&(f+=" "),c.nodes)this.block(c,f+d);else{var p=(c.raws.between||"")+(u?";":"");this.builder(f+d+p,c)}},a.body=function(c){for(var u=c.nodes.length-1;u>0&&c.nodes[u].type==="comment";)u-=1;for(var f=this.raw(c,"semicolon"),d=0;d<c.nodes.length;d++){var p=c.nodes[d],h=this.raw(p,"before");h&&this.builder(h),this.stringify(p,u!==d||f)}},a.block=function(c,u){var f=this.raw(c,"between","beforeOpen");this.builder(u+f+"{",c,"start");var d;c.nodes&&c.nodes.length?(this.body(c),d=this.raw(c,"after")):d=this.raw(c,"after","emptyBody"),d&&this.builder(d),this.builder("}",c,"end")},a.raw=function(c,u,f){var d;if(f||(f=u),u&&(d=c.raws[u],typeof d<"u"))return d;var p=c.parent;if(f==="before"&&(!p||p.type==="root"&&p.first===c))return"";if(!p)return r[f];var h=c.root();if(h.rawCache||(h.rawCache={}),typeof h.rawCache[f]<"u")return h.rawCache[f];if(f==="before"||f==="after")return this.beforeAfter(c,f);var A="raw"+n(f);return this[A]?d=this[A](h,c):h.walk(function(g){if(d=g.raws[u],typeof d<"u")return!1}),typeof d>"u"&&(d=r[f]),h.rawCache[f]=d,d},a.rawSemicolon=function(c){var u;return c.walk(function(f){if(f.nodes&&f.nodes.length&&f.last.type==="decl"&&(u=f.raws.semicolon,typeof u<"u"))return!1}),u},a.rawEmptyBody=function(c){var u;return c.walk(function(f){if(f.nodes&&f.nodes.length===0&&(u=f.raws.after,typeof u<"u"))return!1}),u},a.rawIndent=function(c){if(c.raws.indent)return c.raws.indent;var u;return c.walk(function(f){var d=f.parent;if(d&&d!==c&&d.parent&&d.parent===c&&typeof f.raws.before<"u"){var p=f.raws.before.split(` `);return u=p[p.length-1],u=u.replace(/[^\s]/g,""),!1}}),u},a.rawBeforeComment=function(c,u){var f;return c.walkComments(function(d){if(typeof d.raws.before<"u")return f=d.raws.before,f.indexOf(` `)!==-1&&(f=f.replace(/[^\n]+$/,"")),!1}),typeof f>"u"?f=this.raw(u,null,"beforeDecl"):f&&(f=f.replace(/[^\s]/g,"")),f},a.rawBeforeDecl=function(c,u){var f;return c.walkDecls(function(d){if(typeof d.raws.before<"u")return f=d.raws.before,f.indexOf(` `)!==-1&&(f=f.replace(/[^\n]+$/,"")),!1}),typeof f>"u"?f=this.raw(u,null,"beforeRule"):f&&(f=f.replace(/[^\s]/g,"")),f},a.rawBeforeRule=function(c){var u;return c.walk(function(f){if(f.nodes&&(f.parent!==c||c.first!==f)&&typeof f.raws.before<"u")return u=f.raws.before,u.indexOf(` `)!==-1&&(u=u.replace(/[^\n]+$/,"")),!1}),u&&(u=u.replace(/[^\s]/g,"")),u},a.rawBeforeClose=function(c){var u;return c.walk(function(f){if(f.nodes&&f.nodes.length>0&&typeof f.raws.after<"u")return u=f.raws.after,u.indexOf(` `)!==-1&&(u=u.replace(/[^\n]+$/,"")),!1}),u&&(u=u.replace(/[^\s]/g,"")),u},a.rawBeforeOpen=function(c){var u;return c.walk(function(f){if(f.type!=="decl"&&(u=f.raws.between,typeof u<"u"))return!1}),u},a.rawColon=function(c){var u;return c.walkDecls(function(f){if(typeof f.raws.between<"u")return u=f.raws.between.replace(/[^\s:]/g,""),!1}),u},a.beforeAfter=function(c,u){var f;c.type==="decl"?f=this.raw(c,null,"beforeDecl"):c.type==="comment"?f=this.raw(c,null,"beforeComment"):u==="before"?f=this.raw(c,null,"beforeRule"):f=this.raw(c,null,"beforeClose");for(var d=c.parent,p=0;d&&d.type!=="root";)p+=1,d=d.parent;if(f.indexOf(` `)!==-1){var h=this.raw(c,null,"indent");if(h.length)for(var A=0;A<p;A++)f+=h}return f},a.rawValue=function(c,u){var f=c[u],d=c.raws[u];return d&&d.value===f?d.raw:f},s}(),o=i;e.default=o,t.exports=e.default})(j$,j$.exports);var l6e=j$.exports,U$={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=n(l6e);function n(s){return s&&s.__esModule?s:{default:s}}function i(s,a){var l=new r.default(a);l.stringify(s)}var o=i;e.default=o,t.exports=e.default})(U$,U$.exports);var EJ=U$.exports;(function(t,e){e.__esModule=!0,e.default=void 0;var r=o(a6e),n=o(l6e),i=o(EJ);function o(c){return c&&c.__esModule?c:{default:c}}function s(c,u){var f=new c.constructor;for(var d in c)if(c.hasOwnProperty(d)){var p=c[d],h=typeof p;d==="parent"&&h==="object"?u&&(f[d]=u):d==="source"?f[d]=p:p instanceof Array?f[d]=p.map(function(A){return s(A,f)}):(h==="object"&&p!==null&&(p=s(p)),f[d]=p)}return f}var a=function(){function c(f){f===void 0&&(f={}),this.raws={};for(var d in f)this[d]=f[d]}var u=c.prototype;return u.error=function(d,p){if(p===void 0&&(p={}),this.source){var h=this.positionBy(p);return this.source.input.error(d,h.line,h.column,p)}return new r.default(d)},u.warn=function(d,p,h){var A={node:this};for(var g in h)A[g]=h[g];return d.warn(p,A)},u.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},u.toString=function(d){d===void 0&&(d=i.default),d.stringify&&(d=d.stringify);var p="";return d(this,function(h){p+=h}),p},u.clone=function(d){d===void 0&&(d={});var p=s(this);for(var h in d)p[h]=d[h];return p},u.cloneBefore=function(d){d===void 0&&(d={});var p=this.clone(d);return this.parent.insertBefore(this,p),p},u.cloneAfter=function(d){d===void 0&&(d={});var p=this.clone(d);return this.parent.insertAfter(this,p),p},u.replaceWith=function(){if(this.parent){for(var d=arguments.length,p=new Array(d),h=0;h<d;h++)p[h]=arguments[h];for(var A=0,g=p;A<g.length;A++){var m=g[A];this.parent.insertBefore(this,m)}this.remove()}return this},u.next=function(){if(this.parent){var d=this.parent.index(this);return this.parent.nodes[d+1]}},u.prev=function(){if(this.parent){var d=this.parent.index(this);return this.parent.nodes[d-1]}},u.before=function(d){return this.parent.insertBefore(this,d),this},u.after=function(d){return this.parent.insertAfter(this,d),this},u.toJSON=function(){var d={};for(var p in this)if(this.hasOwnProperty(p)&&p!=="parent"){var h=this[p];h instanceof Array?d[p]=h.map(function(A){return typeof A=="object"&&A.toJSON?A.toJSON():A}):typeof h=="object"&&h.toJSON?d[p]=h.toJSON():d[p]=h}return d},u.raw=function(d,p){var h=new n.default;return h.raw(this,d,p)},u.root=function(){for(var d=this;d.parent;)d=d.parent;return d},u.cleanRaws=function(d){delete this.raws.before,delete this.raws.after,d||delete this.raws.between},u.positionInside=function(d){for(var p=this.toString(),h=this.source.start.column,A=this.source.start.line,g=0;g<d;g++)p[g]===` `?(h=1,A+=1):h+=1;return{line:A,column:h}},u.positionBy=function(d){var p=this.source.start;if(d.index)p=this.positionInside(d.index);else if(d.word){var h=this.toString().indexOf(d.word);h!==-1&&(p=this.positionInside(h))}return p},c}(),l=a;e.default=l,t.exports=e.default})(M$,M$.exports);var DJ=M$.exports;(function(t,e){e.__esModule=!0,e.default=void 0;var r=n(DJ);function n(a){return a&&a.__esModule?a:{default:a}}function i(a,l){a.prototype=Object.create(l.prototype),a.prototype.constructor=a,a.__proto__=l}var o=function(a){i(l,a);function l(c){var u;return u=a.call(this,c)||this,u.type="decl",u}return l}(r.default),s=o;e.default=s,t.exports=e.default})(R$,R$.exports);var kJ=R$.exports,_6={exports:{}},j6={exports:{}},Q$={exports:{}},sx={},OJ={},QI={},PJ={},Ife="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");PJ.encode=function(t){if(0<=t&&t<Ife.length)return Ife[t];throw new TypeError("Must be between 0 and 63: "+t)};PJ.decode=function(t){var e=65,r=90,n=97,i=122,o=48,s=57,a=43,l=47,c=26,u=52;return e<=t&&t<=r?t-e:n<=t&&t<=i?t-n+c:o<=t&&t<=s?t-o+u:t==a?62:t==l?63:-1};var c6e=PJ,IJ=5,u6e=1<<IJ,f6e=u6e-1,d6e=u6e;function Ymt(t){return t<0?(-t<<1)+1:(t<<1)+0}function Jmt(t){var e=(t&1)===1,r=t>>1;return e?-r:r}QI.encode=function(e){var r="",n,i=Ymt(e);do n=i&f6e,i>>>=IJ,i>0&&(n|=d6e),r+=c6e.encode(n);while(i>0);return r};QI.decode=function(e,r,n){var i=e.length,o=0,s=0,a,l;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(l=c6e.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));a=!!(l&d6e),l&=f6e,o=o+(l<<s),s+=IJ}while(a);n.value=Jmt(o),n.rest=r};var kC={};(function(t){function e(b,B,S){if(B in b)return b[B];if(arguments.length===3)return S;throw new Error('"'+B+'" is a required argument.')}t.getArg=e;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function i(b){var B=b.match(r);return B?{scheme:B[1],auth:B[2],host:B[3],port:B[4],path:B[5]}:null}t.urlParse=i;function o(b){var B="";return b.scheme&&(B+=b.scheme+":"),B+="//",b.auth&&(B+=b.auth+"@"),b.host&&(B+=b.host),b.port&&(B+=":"+b.port),b.path&&(B+=b.path),B}t.urlGenerate=o;function s(b){var B=b,S=i(b);if(S){if(!S.path)return b;B=S.path}for(var w=t.isAbsolute(B),x=B.split(/\/+/),I,F=0,k=x.length-1;k>=0;k--)I=x[k],I==="."?x.splice(k,1):I===".."?F++:F>0&&(I===""?(x.splice(k+1,F),F=0):(x.splice(k,2),F--));return B=x.join("/"),B===""&&(B=w?"/":"."),S?(S.path=B,o(S)):B}t.normalize=s;function a(b,B){b===""&&(b="."),B===""&&(B=".");var S=i(B),w=i(b);if(w&&(b=w.path||"/"),S&&!S.scheme)return w&&(S.scheme=w.scheme),o(S);if(S||B.match(n))return B;if(w&&!w.host&&!w.path)return w.host=B,o(w);var x=B.charAt(0)==="/"?B:s(b.replace(/\/+$/,"")+"/"+B);return w?(w.path=x,o(w)):x}t.join=a,t.isAbsolute=function(b){return b.charAt(0)==="/"||r.test(b)};function l(b,B){b===""&&(b="."),b=b.replace(/\/$/,"");for(var S=0;B.indexOf(b+"/")!==0;){var w=b.lastIndexOf("/");if(w<0||(b=b.slice(0,w),b.match(/^([^\/]+:\/)?\/*$/)))return B;++S}return Array(S+1).join("../")+B.substr(b.length+1)}t.relative=l;var c=function(){var b=Object.create(null);return!("__proto__"in b)}();function u(b){return b}function f(b){return p(b)?"$"+b:b}t.toSetString=c?u:f;function d(b){return p(b)?b.slice(1):b}t.fromSetString=c?u:d;function p(b){if(!b)return!1;var B=b.length;if(B<9||b.charCodeAt(B-1)!==95||b.charCodeAt(B-2)!==95||b.charCodeAt(B-3)!==111||b.charCodeAt(B-4)!==116||b.charCodeAt(B-5)!==111||b.charCodeAt(B-6)!==114||b.charCodeAt(B-7)!==112||b.charCodeAt(B-8)!==95||b.charCodeAt(B-9)!==95)return!1;for(var S=B-10;S>=0;S--)if(b.charCodeAt(S)!==36)return!1;return!0}function h(b,B,S){var w=g(b.source,B.source);return w!==0||(w=b.originalLine-B.originalLine,w!==0)||(w=b.originalColumn-B.originalColumn,w!==0||S)||(w=b.generatedColumn-B.generatedColumn,w!==0)||(w=b.generatedLine-B.generatedLine,w!==0)?w:g(b.name,B.name)}t.compareByOriginalPositions=h;function A(b,B,S){var w=b.generatedLine-B.generatedLine;return w!==0||(w=b.generatedColumn-B.generatedColumn,w!==0||S)||(w=g(b.source,B.source),w!==0)||(w=b.originalLine-B.originalLine,w!==0)||(w=b.originalColumn-B.originalColumn,w!==0)?w:g(b.name,B.name)}t.compareByGeneratedPositionsDeflated=A;function g(b,B){return b===B?0:b===null?1:B===null?-1:b>B?1:-1}function m(b,B){var S=b.generatedLine-B.generatedLine;return S!==0||(S=b.generatedColumn-B.generatedColumn,S!==0)||(S=g(b.source,B.source),S!==0)||(S=b.originalLine-B.originalLine,S!==0)||(S=b.originalColumn-B.originalColumn,S!==0)?S:g(b.name,B.name)}t.compareByGeneratedPositionsInflated=m;function v(b){return JSON.parse(b.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=v;function y(b,B,S){if(B=B||"",b&&(b[b.length-1]!=="/"&&B[0]!=="/"&&(b+="/"),B=b+B),S){var w=i(S);if(!w)throw new Error("sourceMapURL could not be parsed");if(w.path){var x=w.path.lastIndexOf("/");x>=0&&(w.path=w.path.substring(0,x+1))}B=a(o(w),B)}return s(B)}t.computeSourceURL=y})(kC);var NJ={},FJ=kC,TJ=Object.prototype.hasOwnProperty,v1=typeof Map<"u";function sh(){this._array=[],this._set=v1?new Map:Object.create(null)}sh.fromArray=function(e,r){for(var n=new sh,i=0,o=e.length;i<o;i++)n.add(e[i],r);return n};sh.prototype.size=function(){return v1?this._set.size:Object.getOwnPropertyNames(this._set).length};sh.prototype.add=function(e,r){var n=v1?e:FJ.toSetString(e),i=v1?this.has(e):TJ.call(this._set,n),o=this._array.length;(!i||r)&&this._array.push(e),i||(v1?this._set.set(e,o):this._set[n]=o)};sh.prototype.has=function(e){if(v1)return this._set.has(e);var r=FJ.toSetString(e);return TJ.call(this._set,r)};sh.prototype.indexOf=function(e){if(v1){var r=this._set.get(e);if(r>=0)return r}else{var n=FJ.toSetString(e);if(TJ.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')};sh.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};sh.prototype.toArray=function(){return this._array.slice()};NJ.ArraySet=sh;var p6e={},A6e=kC;function Zmt(t,e){var r=t.generatedLine,n=e.generatedLine,i=t.generatedColumn,o=e.generatedColumn;return n>r||n==r&&o>=i||A6e.compareByGeneratedPositionsInflated(t,e)<=0}function VI(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}VI.prototype.unsortedForEach=function(e,r){this._array.forEach(e,r)};VI.prototype.add=function(e){Zmt(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};VI.prototype.toArray=function(){return this._sorted||(this._array.sort(A6e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};p6e.MappingList=VI;var Zb=QI,Bs=kC,P9=NJ.ArraySet,egt=p6e.MappingList;function $u(t){t||(t={}),this._file=Bs.getArg(t,"file",null),this._sourceRoot=Bs.getArg(t,"sourceRoot",null),this._skipValidation=Bs.getArg(t,"skipValidation",!1),this._sources=new P9,this._names=new P9,this._mappings=new egt,this._sourcesContents=null}$u.prototype._version=3;$u.fromSourceMap=function(e){var r=e.sourceRoot,n=new $u({file:e.file,sourceRoot:r});return e.eachMapping(function(i){var o={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(o.source=i.source,r!=null&&(o.source=Bs.relative(r,o.source)),o.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(o.name=i.name)),n.addMapping(o)}),e.sources.forEach(function(i){var o=i;r!==null&&(o=Bs.relative(r,i)),n._sources.has(o)||n._sources.add(o);var s=e.sourceContentFor(i);s!=null&&n.setSourceContent(i,s)}),n};$u.prototype.addMapping=function(e){var r=Bs.getArg(e,"generated"),n=Bs.getArg(e,"original",null),i=Bs.getArg(e,"source",null),o=Bs.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,n,i,o),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),o!=null&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:i,name:o})};$u.prototype.setSourceContent=function(e,r){var n=e;this._sourceRoot!=null&&(n=Bs.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Bs.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[Bs.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};$u.prototype.applySourceMap=function(e,r,n){var i=r;if(r==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);i=e.file}var o=this._sourceRoot;o!=null&&(i=Bs.relative(o,i));var s=new P9,a=new P9;this._mappings.unsortedForEach(function(l){if(l.source===i&&l.originalLine!=null){var c=e.originalPositionFor({line:l.originalLine,column:l.originalColumn});c.source!=null&&(l.source=c.source,n!=null&&(l.source=Bs.join(n,l.source)),o!=null&&(l.source=Bs.relative(o,l.source)),l.originalLine=c.line,l.originalColumn=c.column,c.name!=null&&(l.name=c.name))}var u=l.source;u!=null&&!s.has(u)&&s.add(u);var f=l.name;f!=null&&!a.has(f)&&a.add(f)},this),this._sources=s,this._names=a,e.sources.forEach(function(l){var c=e.sourceContentFor(l);c!=null&&(n!=null&&(l=Bs.join(n,l)),o!=null&&(l=Bs.relative(o,l)),this.setSourceContent(l,c))},this)};$u.prototype._validateMapping=function(e,r,n,i){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!n&&!i)){if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&n)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:r,name:i}))}};$u.prototype._serializeMappings=function(){for(var e=0,r=1,n=0,i=0,o=0,s=0,a="",l,c,u,f,d=this._mappings.toArray(),p=0,h=d.length;p<h;p++){if(c=d[p],l="",c.generatedLine!==r)for(e=0;c.generatedLine!==r;)l+=";",r++;else if(p>0){if(!Bs.compareByGeneratedPositionsInflated(c,d[p-1]))continue;l+=","}l+=Zb.encode(c.generatedColumn-e),e=c.generatedColumn,c.source!=null&&(f=this._sources.indexOf(c.source),l+=Zb.encode(f-s),s=f,l+=Zb.encode(c.originalLine-1-i),i=c.originalLine-1,l+=Zb.encode(c.originalColumn-n),n=c.originalColumn,c.name!=null&&(u=this._names.indexOf(c.name),l+=Zb.encode(u-o),o=u)),a+=l}return a};$u.prototype._generateSourcesContent=function(e,r){return e.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=Bs.relative(r,n));var i=Bs.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};$u.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e};$u.prototype.toString=function(){return JSON.stringify(this.toJSON())};OJ.SourceMapGenerator=$u;var $I={},h6e={};(function(t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2;function e(r,n,i,o,s,a){var l=Math.floor((n-r)/2)+r,c=s(i,o[l],!0);return c===0?l:c>0?n-l>1?e(l,n,i,o,s,a):a==t.LEAST_UPPER_BOUND?n<o.length?n:-1:l:l-r>1?e(r,l,i,o,s,a):a==t.LEAST_UPPER_BOUND?l:r<0?-1:r}t.search=function(n,i,o,s){if(i.length===0)return-1;var a=e(-1,i.length,n,i,o,s||t.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&o(i[a],i[a-1],!0)===0;)--a;return a}})(h6e);var m6e={};function DR(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function tgt(t,e){return Math.round(t+Math.random()*(e-t))}function V$(t,e,r,n){if(r<n){var i=tgt(r,n),o=r-1;DR(t,i,n);for(var s=t[n],a=r;a<n;a++)e(t[a],s)<=0&&(o+=1,DR(t,o,a));DR(t,o+1,a);var l=o+1;V$(t,e,r,l-1),V$(t,e,l+1,n)}}m6e.quickSort=function(t,e){V$(t,e,0,t.length-1)};var Ir=kC,LJ=h6e,EB=NJ.ArraySet,rgt=QI,S4=m6e.quickSort;function po(t,e){var r=t;return typeof t=="string"&&(r=Ir.parseSourceMapInput(t)),r.sections!=null?new id(r,e):new xa(r,e)}po.fromSourceMap=function(t,e){return xa.fromSourceMap(t,e)};po.prototype._version=3;po.prototype.__generatedMappings=null;Object.defineProperty(po.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});po.prototype.__originalMappings=null;Object.defineProperty(po.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});po.prototype._charIsMappingSeparator=function(e,r){var n=e.charAt(r);return n===";"||n===","};po.prototype._parseMappings=function(e,r){throw new Error("Subclasses must implement _parseMappings")};po.GENERATED_ORDER=1;po.ORIGINAL_ORDER=2;po.GREATEST_LOWER_BOUND=1;po.LEAST_UPPER_BOUND=2;po.prototype.eachMapping=function(e,r,n){var i=r||null,o=n||po.GENERATED_ORDER,s;switch(o){case po.GENERATED_ORDER:s=this._generatedMappings;break;case po.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;s.map(function(l){var c=l.source===null?null:this._sources.at(l.source);return c=Ir.computeSourceURL(a,c,this._sourceMapURL),{source:c,generatedLine:l.generatedLine,generatedColumn:l.generatedColumn,originalLine:l.originalLine,originalColumn:l.originalColumn,name:l.name===null?null:this._names.at(l.name)}},this).forEach(e,i)};po.prototype.allGeneratedPositionsFor=function(e){var r=Ir.getArg(e,"line"),n={source:Ir.getArg(e,"source"),originalLine:r,originalColumn:Ir.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var i=[],o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",Ir.compareByOriginalPositions,LJ.LEAST_UPPER_BOUND);if(o>=0){var s=this._originalMappings[o];if(e.column===void 0)for(var a=s.originalLine;s&&s.originalLine===a;)i.push({line:Ir.getArg(s,"generatedLine",null),column:Ir.getArg(s,"generatedColumn",null),lastColumn:Ir.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++o];else for(var l=s.originalColumn;s&&s.originalLine===r&&s.originalColumn==l;)i.push({line:Ir.getArg(s,"generatedLine",null),column:Ir.getArg(s,"generatedColumn",null),lastColumn:Ir.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++o]}return i};$I.SourceMapConsumer=po;function xa(t,e){var r=t;typeof t=="string"&&(r=Ir.parseSourceMapInput(t));var n=Ir.getArg(r,"version"),i=Ir.getArg(r,"sources"),o=Ir.getArg(r,"names",[]),s=Ir.getArg(r,"sourceRoot",null),a=Ir.getArg(r,"sourcesContent",null),l=Ir.getArg(r,"mappings"),c=Ir.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);s&&(s=Ir.normalize(s)),i=i.map(String).map(Ir.normalize).map(function(u){return s&&Ir.isAbsolute(s)&&Ir.isAbsolute(u)?Ir.relative(s,u):u}),this._names=EB.fromArray(o.map(String),!0),this._sources=EB.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(u){return Ir.computeSourceURL(s,u,e)}),this.sourceRoot=s,this.sourcesContent=a,this._mappings=l,this._sourceMapURL=e,this.file=c}xa.prototype=Object.create(po.prototype);xa.prototype.consumer=po;xa.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=Ir.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==t)return r;return-1};xa.fromSourceMap=function(e,r){var n=Object.create(xa.prototype),i=n._names=EB.fromArray(e._names.toArray(),!0),o=n._sources=EB.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file,n._sourceMapURL=r,n._absoluteSources=n._sources.toArray().map(function(p){return Ir.computeSourceURL(n.sourceRoot,p,r)});for(var s=e._mappings.toArray().slice(),a=n.__generatedMappings=[],l=n.__originalMappings=[],c=0,u=s.length;c<u;c++){var f=s[c],d=new g6e;d.generatedLine=f.generatedLine,d.generatedColumn=f.generatedColumn,f.source&&(d.source=o.indexOf(f.source),d.originalLine=f.originalLine,d.originalColumn=f.originalColumn,f.name&&(d.name=i.indexOf(f.name)),l.push(d)),a.push(d)}return S4(n.__originalMappings,Ir.compareByOriginalPositions),n};xa.prototype._version=3;Object.defineProperty(xa.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function g6e(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}xa.prototype._parseMappings=function(e,r){for(var n=1,i=0,o=0,s=0,a=0,l=0,c=e.length,u=0,f={},d={},p=[],h=[],A,g,m,v,y;u<c;)if(e.charAt(u)===";")n++,u++,i=0;else if(e.charAt(u)===",")u++;else{for(A=new g6e,A.generatedLine=n,v=u;v<c&&!this._charIsMappingSeparator(e,v);v++);if(g=e.slice(u,v),m=f[g],m)u+=g.length;else{for(m=[];u<v;)rgt.decode(e,u,d),y=d.value,u=d.rest,m.push(y);if(m.length===2)throw new Error("Found a source, but no line and column");if(m.length===3)throw new Error("Found a source and line, but no column");f[g]=m}A.generatedColumn=i+m[0],i=A.generatedColumn,m.length>1&&(A.source=a+m[1],a+=m[1],A.originalLine=o+m[2],o=A.originalLine,A.originalLine+=1,A.originalColumn=s+m[3],s=A.originalColumn,m.length>4&&(A.name=l+m[4],l+=m[4])),h.push(A),typeof A.originalLine=="number"&&p.push(A)}S4(h,Ir.compareByGeneratedPositionsDeflated),this.__generatedMappings=h,S4(p,Ir.compareByOriginalPositions),this.__originalMappings=p};xa.prototype._findMapping=function(e,r,n,i,o,s){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[i]);return LJ.search(e,r,o,s)};xa.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var r=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(r.generatedLine===n.generatedLine){r.lastGeneratedColumn=n.generatedColumn-1;continue}}r.lastGeneratedColumn=1/0}};xa.prototype.originalPositionFor=function(e){var r={generatedLine:Ir.getArg(e,"line"),generatedColumn:Ir.getArg(e,"column")},n=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",Ir.compareByGeneratedPositionsDeflated,Ir.getArg(e,"bias",po.GREATEST_LOWER_BOUND));if(n>=0){var i=this._generatedMappings[n];if(i.generatedLine===r.generatedLine){var o=Ir.getArg(i,"source",null);o!==null&&(o=this._sources.at(o),o=Ir.computeSourceURL(this.sourceRoot,o,this._sourceMapURL));var s=Ir.getArg(i,"name",null);return s!==null&&(s=this._names.at(s)),{source:o,line:Ir.getArg(i,"originalLine",null),column:Ir.getArg(i,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}};xa.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};xa.prototype.sourceContentFor=function(e,r){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var i=e;this.sourceRoot!=null&&(i=Ir.relative(this.sourceRoot,i));var o;if(this.sourceRoot!=null&&(o=Ir.urlParse(this.sourceRoot))){var s=i.replace(/^file:\/\//,"");if(o.scheme=="file"&&this._sources.has(s))return this.sourcesContent[this._sources.indexOf(s)];if((!o.path||o.path=="/")&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(r)return null;throw new Error('"'+i+'" is not in the SourceMap.')};xa.prototype.generatedPositionFor=function(e){var r=Ir.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:Ir.getArg(e,"line"),originalColumn:Ir.getArg(e,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",Ir.compareByOriginalPositions,Ir.getArg(e,"bias",po.GREATEST_LOWER_BOUND));if(i>=0){var o=this._originalMappings[i];if(o.source===n.source)return{line:Ir.getArg(o,"generatedLine",null),column:Ir.getArg(o,"generatedColumn",null),lastColumn:Ir.getArg(o,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};$I.BasicSourceMapConsumer=xa;function id(t,e){var r=t;typeof t=="string"&&(r=Ir.parseSourceMapInput(t));var n=Ir.getArg(r,"version"),i=Ir.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new EB,this._names=new EB;var o={line:-1,column:0};this._sections=i.map(function(s){if(s.url)throw new Error("Support for url field in sections not implemented.");var a=Ir.getArg(s,"offset"),l=Ir.getArg(a,"line"),c=Ir.getArg(a,"column");if(l<o.line||l===o.line&&c<o.column)throw new Error("Section offsets must be ordered and non-overlapping.");return o=a,{generatedOffset:{generatedLine:l+1,generatedColumn:c+1},consumer:new po(Ir.getArg(s,"map"),e)}})}id.prototype=Object.create(po.prototype);id.prototype.constructor=po;id.prototype._version=3;Object.defineProperty(id.prototype,"sources",{get:function(){for(var t=[],e=0;e<this._sections.length;e++)for(var r=0;r<this._sections[e].consumer.sources.length;r++)t.push(this._sections[e].consumer.sources[r]);return t}});id.prototype.originalPositionFor=function(e){var r={generatedLine:Ir.getArg(e,"line"),generatedColumn:Ir.getArg(e,"column")},n=LJ.search(r,this._sections,function(o,s){var a=o.generatedLine-s.generatedOffset.generatedLine;return a||o.generatedColumn-s.generatedOffset.generatedColumn}),i=this._sections[n];return i?i.consumer.originalPositionFor({line:r.generatedLine-(i.generatedOffset.generatedLine-1),column:r.generatedColumn-(i.generatedOffset.generatedLine===r.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};id.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};id.prototype.sourceContentFor=function(e,r){for(var n=0;n<this._sections.length;n++){var i=this._sections[n],o=i.consumer.sourceContentFor(e,!0);if(o)return o}if(r)return null;throw new Error('"'+e+'" is not in the SourceMap.')};id.prototype.generatedPositionFor=function(e){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];if(n.consumer._findSourceIndex(Ir.getArg(e,"source"))!==-1){var i=n.consumer.generatedPositionFor(e);if(i){var o={line:i.line+(n.generatedOffset.generatedLine-1),column:i.column+(n.generatedOffset.generatedLine===i.line?n.generatedOffset.generatedColumn-1:0)};return o}}}return{line:null,column:null}};id.prototype._parseMappings=function(e,r){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var i=this._sections[n],o=i.consumer._generatedMappings,s=0;s<o.length;s++){var a=o[s],l=i.consumer._sources.at(a.source);l=Ir.computeSourceURL(i.consumer.sourceRoot,l,this._sourceMapURL),this._sources.add(l),l=this._sources.indexOf(l);var c=null;a.name&&(c=i.consumer._names.at(a.name),this._names.add(c),c=this._names.indexOf(c));var u={source:l,generatedLine:a.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(i.generatedOffset.generatedLine===a.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:c};this.__generatedMappings.push(u),typeof u.originalLine=="number"&&this.__originalMappings.push(u)}S4(this.__generatedMappings,Ir.compareByGeneratedPositionsDeflated),S4(this.__originalMappings,Ir.compareByOriginalPositions)};$I.IndexedSourceMapConsumer=id;var v6e={},ngt=OJ.SourceMapGenerator,I9=kC,igt=/(\r?\n)/,ogt=10,OC="$$$isSourceNode$$$";function Vc(t,e,r,n,i){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=r??null,this.name=i??null,this[OC]=!0,n!=null&&this.add(n)}Vc.fromStringWithSourceMap=function(e,r,n){var i=new Vc,o=e.split(igt),s=0,a=function(){var d=h(),p=h()||"";return d+p;function h(){return s<o.length?o[s++]:void 0}},l=1,c=0,u=null;return r.eachMapping(function(d){if(u!==null)if(l<d.generatedLine)f(u,a()),l++,c=0;else{var p=o[s]||"",h=p.substr(0,d.generatedColumn-c);o[s]=p.substr(d.generatedColumn-c),c=d.generatedColumn,f(u,h),u=d;return}for(;l<d.generatedLine;)i.add(a()),l++;if(c<d.generatedColumn){var p=o[s]||"";i.add(p.substr(0,d.generatedColumn)),o[s]=p.substr(d.generatedColumn),c=d.generatedColumn}u=d},this),s<o.length&&(u&&f(u,a()),i.add(o.splice(s).join(""))),r.sources.forEach(function(d){var p=r.sourceContentFor(d);p!=null&&(n!=null&&(d=I9.join(n,d)),i.setSourceContent(d,p))}),i;function f(d,p){if(d===null||d.source===void 0)i.add(p);else{var h=n?I9.join(n,d.source):d.source;i.add(new Vc(d.originalLine,d.originalColumn,h,p,d.name))}}};Vc.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(r){this.add(r)},this);else if(e[OC]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};Vc.prototype.prepend=function(e){if(Array.isArray(e))for(var r=e.length-1;r>=0;r--)this.prepend(e[r]);else if(e[OC]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};Vc.prototype.walk=function(e){for(var r,n=0,i=this.children.length;n<i;n++)r=this.children[n],r[OC]?r.walk(e):r!==""&&e(r,{source:this.source,line:this.line,column:this.column,name:this.name})};Vc.prototype.join=function(e){var r,n,i=this.children.length;if(i>0){for(r=[],n=0;n<i-1;n++)r.push(this.children[n]),r.push(e);r.push(this.children[n]),this.children=r}return this};Vc.prototype.replaceRight=function(e,r){var n=this.children[this.children.length-1];return n[OC]?n.replaceRight(e,r):typeof n=="string"?this.children[this.children.length-1]=n.replace(e,r):this.children.push("".replace(e,r)),this};Vc.prototype.setSourceContent=function(e,r){this.sourceContents[I9.toSetString(e)]=r};Vc.prototype.walkSourceContents=function(e){for(var r=0,n=this.children.length;r<n;r++)this.children[r][OC]&&this.children[r].walkSourceContents(e);for(var i=Object.keys(this.sourceContents),r=0,n=i.length;r<n;r++)e(I9.fromSetString(i[r]),this.sourceContents[i[r]])};Vc.prototype.toString=function(){var e="";return this.walk(function(r){e+=r}),e};Vc.prototype.toStringWithSourceMap=function(e){var r={code:"",line:1,column:0},n=new ngt(e),i=!1,o=null,s=null,a=null,l=null;return this.walk(function(c,u){r.code+=c,u.source!==null&&u.line!==null&&u.column!==null?((o!==u.source||s!==u.line||a!==u.column||l!==u.name)&&n.addMapping({source:u.source,original:{line:u.line,column:u.column},generated:{line:r.line,column:r.column},name:u.name}),o=u.source,s=u.line,a=u.column,l=u.name,i=!0):i&&(n.addMapping({generated:{line:r.line,column:r.column}}),o=null,i=!1);for(var f=0,d=c.length;f<d;f++)c.charCodeAt(f)===ogt?(r.line++,r.column=0,f+1===d?(o=null,i=!1):i&&n.addMapping({source:u.source,original:{line:u.line,column:u.column},generated:{line:r.line,column:r.column},name:u.name})):r.column++}),this.walkSourceContents(function(c,u){n.setSourceContent(c,u)}),{code:r.code,map:n}};v6e.SourceNode=Vc;sx.SourceMapGenerator=OJ.SourceMapGenerator;sx.SourceMapConsumer=$I.SourceMapConsumer;sx.SourceNode=v6e.SourceNode;(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(sx),n=i(fv);function i(u){return u&&u.__esModule?u:{default:u}}function o(u,f){var d;if(typeof Symbol>"u"||u[Symbol.iterator]==null){if(Array.isArray(u)||(d=s(u))||f&&u&&typeof u.length=="number"){d&&(u=d);var p=0;return function(){return p>=u.length?{done:!0}:{done:!1,value:u[p++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return d=u[Symbol.iterator](),d.next.bind(d)}function s(u,f){if(u){if(typeof u=="string")return a(u,f);var d=Object.prototype.toString.call(u).slice(8,-1);if(d==="Object"&&u.constructor&&(d=u.constructor.name),d==="Map"||d==="Set")return Array.from(u);if(d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d))return a(u,f)}}function a(u,f){(f==null||f>u.length)&&(f=u.length);for(var d=0,p=new Array(f);d<f;d++)p[d]=u[d];return p}var l=function(){function u(d,p,h){this.stringify=d,this.mapOpts=h.map||{},this.root=p,this.opts=h}var f=u.prototype;return f.isMap=function(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0},f.previous=function(){var p=this;return this.previousMaps||(this.previousMaps=[],this.root.walk(function(h){if(h.source&&h.source.input.map){var A=h.source.input.map;p.previousMaps.indexOf(A)===-1&&p.previousMaps.push(A)}})),this.previousMaps},f.isInline=function(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;var p=this.mapOpts.annotation;return typeof p<"u"&&p!==!0?!1:this.previous().length?this.previous().some(function(h){return h.inline}):!0},f.isSourcesContent=function(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(function(p){return p.withContent()}):!0},f.clearAnnotation=function(){if(this.mapOpts.annotation!==!1)for(var p,h=this.root.nodes.length-1;h>=0;h--)p=this.root.nodes[h],p.type==="comment"&&p.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(h)},f.setSourcesContent=function(){var p=this,h={};this.root.walk(function(A){if(A.source){var g=A.source.input.from;if(g&&!h[g]){h[g]=!0;var m=p.relative(g);p.map.setSourceContent(m,A.source.input.css)}}})},f.applyPrevMaps=function(){for(var p=o(this.previous()),h;!(h=p()).done;){var A=h.value,g=this.relative(A.file),m=A.root||n.default.dirname(A.file),v=void 0;this.mapOpts.sourcesContent===!1?(v=new r.default.SourceMapConsumer(A.text),v.sourcesContent&&(v.sourcesContent=v.sourcesContent.map(function(){return null}))):v=A.consumer(),this.map.applySourceMap(v,g,this.relative(m))}},f.isAnnotation=function(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(function(p){return p.annotation}):!0},f.toBase64=function(p){return Buffer?Buffer.from(p).toString("base64"):window.btoa(unescape(encodeURIComponent(p)))},f.addAnnotation=function(){var p;this.isInline()?p="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?p=this.mapOpts.annotation:p=this.outputFile()+".map";var h=` `;this.css.indexOf(`\r `)!==-1&&(h=`\r `),this.css+=h+"/*# sourceMappingURL="+p+" */"},f.outputFile=function(){return this.opts.to?this.relative(this.opts.to):this.opts.from?this.relative(this.opts.from):"to.css"},f.generateMap=function(){return this.generateString(),this.isSourcesContent()&&this.setSourcesContent(),this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},f.relative=function(p){if(p.indexOf("<")===0||/^\w+:\/\//.test(p))return p;var h=this.opts.to?n.default.dirname(this.opts.to):".";return typeof this.mapOpts.annotation=="string"&&(h=n.default.dirname(n.default.resolve(h,this.mapOpts.annotation))),p=n.default.relative(h,p),n.default.sep==="\\"?p.replace(/\\/g,"/"):p},f.sourcePath=function(p){return this.mapOpts.from?this.mapOpts.from:this.relative(p.source.input.from)},f.generateString=function(){var p=this;this.css="",this.map=new r.default.SourceMapGenerator({file:this.outputFile()});var h=1,A=1,g,m;this.stringify(this.root,function(v,y,b){if(p.css+=v,y&&b!=="end"&&(y.source&&y.source.start?p.map.addMapping({source:p.sourcePath(y),generated:{line:h,column:A-1},original:{line:y.source.start.line,column:y.source.start.column-1}}):p.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:h,column:A-1}})),g=v.match(/\n/g),g?(h+=g.length,m=v.lastIndexOf(` `),A=v.length-m):A+=v.length,y&&b!=="start"){var B=y.parent||{raws:{}};(y.type!=="decl"||y!==B.last||B.raws.semicolon)&&(y.source&&y.source.end?p.map.addMapping({source:p.sourcePath(y),generated:{line:h,column:A-2},original:{line:y.source.end.line,column:y.source.end.column-1}}):p.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:h,column:A-1}}))}})},f.generate=function(){if(this.clearAnnotation(),this.isMap())return this.generateMap();var p="";return this.stringify(this.root,function(h){p+=h}),[p]},u}(),c=l;e.default=c,t.exports=e.default})(Q$,Q$.exports);var sgt=Q$.exports,$$={exports:{}};(function(t,e){e.__esModule=!0,e.default=n;var r={};function n(i){r[i]||(r[i]=!0,typeof console<"u"&&console.warn&&console.warn(i))}t.exports=e.default})($$,$$.exports);var agt=$$.exports,H$={exports:{}},G$={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=function(){function i(s,a){if(a===void 0&&(a={}),this.type="warning",this.text=s,a.node&&a.node.source){var l=a.node.positionBy(a);this.line=l.line,this.column=l.column}for(var c in a)this[c]=a[c]}var o=i.prototype;return o.toString=function(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},i}(),n=r;e.default=n,t.exports=e.default})(G$,G$.exports);var lgt=G$.exports;(function(t,e){e.__esModule=!0,e.default=void 0;var r=n(lgt);function n(l){return l&&l.__esModule?l:{default:l}}function i(l,c){for(var u=0;u<c.length;u++){var f=c[u];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(l,f.key,f)}}function o(l,c,u){return c&&i(l.prototype,c),u&&i(l,u),l}var s=function(){function l(u,f,d){this.processor=u,this.messages=[],this.root=f,this.opts=d,this.css=void 0,this.map=void 0}var c=l.prototype;return c.toString=function(){return this.css},c.warn=function(f,d){d===void 0&&(d={}),d.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(d.plugin=this.lastPlugin.postcssPlugin);var p=new r.default(f,d);return this.messages.push(p),p},c.warnings=function(){return this.messages.filter(function(f){return f.type==="warning"})},o(l,[{key:"content",get:function(){return this.css}}]),l}(),a=s;e.default=a,t.exports=e.default})(H$,H$.exports);var cgt=H$.exports,U6={exports:{}},Q6={exports:{}},W$={exports:{}};(function(t,e){e.__esModule=!0,e.default=I;var r="'".charCodeAt(0),n='"'.charCodeAt(0),i="\\".charCodeAt(0),o="/".charCodeAt(0),s=` `.charCodeAt(0),a=" ".charCodeAt(0),l="\f".charCodeAt(0),c=" ".charCodeAt(0),u="\r".charCodeAt(0),f="[".charCodeAt(0),d="]".charCodeAt(0),p="(".charCodeAt(0),h=")".charCodeAt(0),A="{".charCodeAt(0),g="}".charCodeAt(0),m=";".charCodeAt(0),v="*".charCodeAt(0),y=":".charCodeAt(0),b="@".charCodeAt(0),B=/[ \n\t\r\f{}()'"\\;/[\]#]/g,S=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,w=/.[\\/("'\n]/,x=/[a-f0-9]/i;function I(F,k){k===void 0&&(k={});var O=F.css.valueOf(),L=k.ignoreErrors,M,H,V,j,R,Q,z,X,_,G,W,J,ee,q,Z=O.length,re=-1,fe=1,de=0,ie=[],le=[];function De(){return de}function Ae(Re){throw F.error("Unclosed "+Re,fe,de-re)}function ue(){return le.length===0&&de>=Z}function Ne(Re){if(le.length)return le.pop();if(!(de>=Z)){var je=Re?Re.ignoreUnclosed:!1;switch(M=O.charCodeAt(de),(M===s||M===l||M===u&&O.charCodeAt(de+1)!==s)&&(re=de,fe+=1),M){case s:case a:case c:case u:case l:H=de;do H+=1,M=O.charCodeAt(H),M===s&&(re=H,fe+=1);while(M===a||M===s||M===c||M===u||M===l);q=["space",O.slice(de,H)],de=H-1;break;case f:case d:case A:case g:case y:case m:case h:var Ve=String.fromCharCode(M);q=[Ve,Ve,fe,de-re];break;case p:if(J=ie.length?ie.pop()[1]:"",ee=O.charCodeAt(de+1),J==="url"&&ee!==r&&ee!==n&&ee!==a&&ee!==s&&ee!==c&&ee!==l&&ee!==u){H=de;do{if(G=!1,H=O.indexOf(")",H+1),H===-1)if(L||je){H=de;break}else Ae("bracket");for(W=H;O.charCodeAt(W-1)===i;)W-=1,G=!G}while(G);q=["brackets",O.slice(de,H+1),fe,de-re,fe,H-re],de=H}else H=O.indexOf(")",de+1),Q=O.slice(de,H+1),H===-1||w.test(Q)?q=["(","(",fe,de-re]:(q=["brackets",Q,fe,de-re,fe,H-re],de=H);break;case r:case n:V=M===r?"'":'"',H=de;do{if(G=!1,H=O.indexOf(V,H+1),H===-1)if(L||je){H=de+1;break}else Ae("string");for(W=H;O.charCodeAt(W-1)===i;)W-=1,G=!G}while(G);Q=O.slice(de,H+1),j=Q.split(` `),R=j.length-1,R>0?(X=fe+R,_=H-j[R].length):(X=fe,_=re),q=["string",O.slice(de,H+1),fe,de-re,X,H-_],re=_,fe=X,de=H;break;case b:B.lastIndex=de+1,B.test(O),B.lastIndex===0?H=O.length-1:H=B.lastIndex-2,q=["at-word",O.slice(de,H+1),fe,de-re,fe,H-re],de=H;break;case i:for(H=de,z=!0;O.charCodeAt(H+1)===i;)H+=1,z=!z;if(M=O.charCodeAt(H+1),z&&M!==o&&M!==a&&M!==s&&M!==c&&M!==u&&M!==l&&(H+=1,x.test(O.charAt(H)))){for(;x.test(O.charAt(H+1));)H+=1;O.charCodeAt(H+1)===a&&(H+=1)}q=["word",O.slice(de,H+1),fe,de-re,fe,H-re],de=H;break;default:M===o&&O.charCodeAt(de+1)===v?(H=O.indexOf("*/",de+2)+1,H===0&&(L||je?H=O.length:Ae("comment")),Q=O.slice(de,H+1),j=Q.split(` `),R=j.length-1,R>0?(X=fe+R,_=H-j[R].length):(X=fe,_=re),q=["comment",Q,fe,de-re,X,H-_],re=_,fe=X,de=H):(S.lastIndex=de+1,S.test(O),S.lastIndex===0?H=O.length-1:H=S.lastIndex-2,q=["word",O.slice(de,H+1),fe,de-re,fe,H-re],ie.push(q),de=H);break}return de++,q}}function Te(Re){le.push(Re)}return{back:Te,nextToken:Ne,endOfFile:ue,position:De}}t.exports=e.default})(W$,W$.exports);var ugt=W$.exports,z$={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=n(DJ);function n(a){return a&&a.__esModule?a:{default:a}}function i(a,l){a.prototype=Object.create(l.prototype),a.prototype.constructor=a,a.__proto__=l}var o=function(a){i(l,a);function l(c){var u;return u=a.call(this,c)||this,u.type="comment",u}return l}(r.default),s=o;e.default=s,t.exports=e.default})(z$,z$.exports);var RJ=z$.exports,V6={exports:{}},$6={exports:{}},H6={exports:{}},K$={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r={split:function(o,s,a){for(var l=[],c="",u=!1,f=0,d=!1,p=!1,h=0;h<o.length;h++){var A=o[h];d?p?p=!1:A==="\\"?p=!0:A===d&&(d=!1):A==='"'||A==="'"?d=A:A==="("?f+=1:A===")"?f>0&&(f-=1):f===0&&s.indexOf(A)!==-1&&(u=!0),u?(c!==""&&l.push(c.trim()),c="",u=!1):c+=A}return(a||c!=="")&&l.push(c.trim()),l},space:function(o){var s=[" ",` `," "];return r.split(o,s)},comma:function(o){return r.split(o,[","],!0)}},n=r;e.default=n,t.exports=e.default})(K$,K$.exports);var y6e=K$.exports,Nfe;function MJ(){return Nfe||(Nfe=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=i(_J()),n=i(y6e);function i(u){return u&&u.__esModule?u:{default:u}}function o(u,f){for(var d=0;d<f.length;d++){var p=f[d];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(u,p.key,p)}}function s(u,f,d){return f&&o(u.prototype,f),d&&o(u,d),u}function a(u,f){u.prototype=Object.create(f.prototype),u.prototype.constructor=u,u.__proto__=f}var l=function(u){a(f,u);function f(d){var p;return p=u.call(this,d)||this,p.type="rule",p.nodes||(p.nodes=[]),p}return s(f,[{key:"selectors",get:function(){return n.default.comma(this.selector)},set:function(p){var h=this.selector?this.selector.match(/,\s*/):null,A=h?h[0]:","+this.raw("between","beforeOpen");this.selector=p.join(A)}}]),f}(r.default),c=l;e.default=c,t.exports=e.default}(H6,H6.exports)),H6.exports}var Ffe;function _J(){return Ffe||(Ffe=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=o(kJ),n=o(RJ),i=o(DJ);function o(A){return A&&A.__esModule?A:{default:A}}function s(A,g){var m;if(typeof Symbol>"u"||A[Symbol.iterator]==null){if(Array.isArray(A)||(m=a(A))||g&&A&&typeof A.length=="number"){m&&(A=m);var v=0;return function(){return v>=A.length?{done:!0}:{done:!1,value:A[v++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return m=A[Symbol.iterator](),m.next.bind(m)}function a(A,g){if(A){if(typeof A=="string")return l(A,g);var m=Object.prototype.toString.call(A).slice(8,-1);if(m==="Object"&&A.constructor&&(m=A.constructor.name),m==="Map"||m==="Set")return Array.from(A);if(m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m))return l(A,g)}}function l(A,g){(g==null||g>A.length)&&(g=A.length);for(var m=0,v=new Array(g);m<g;m++)v[m]=A[m];return v}function c(A,g){for(var m=0;m<g.length;m++){var v=g[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(A,v.key,v)}}function u(A,g,m){return g&&c(A.prototype,g),m&&c(A,m),A}function f(A,g){A.prototype=Object.create(g.prototype),A.prototype.constructor=A,A.__proto__=g}function d(A){return A.map(function(g){return g.nodes&&(g.nodes=d(g.nodes)),delete g.source,g})}var p=function(A){f(g,A);function g(){return A.apply(this,arguments)||this}var m=g.prototype;return m.push=function(y){return y.parent=this,this.nodes.push(y),this},m.each=function(y){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var b=this.lastEach;if(this.indexes[b]=0,!!this.nodes){for(var B,S;this.indexes[b]<this.nodes.length&&(B=this.indexes[b],S=y(this.nodes[B],B),S!==!1);)this.indexes[b]+=1;return delete this.indexes[b],S}},m.walk=function(y){return this.each(function(b,B){var S;try{S=y(b,B)}catch(x){if(x.postcssNode=b,x.stack&&b.source&&/\n\s{4}at /.test(x.stack)){var w=b.source;x.stack=x.stack.replace(/\n\s{4}at /,"$&"+w.input.from+":"+w.start.line+":"+w.start.column+"$&")}throw x}return S!==!1&&b.walk&&(S=b.walk(y)),S})},m.walkDecls=function(y,b){return b?y instanceof RegExp?this.walk(function(B,S){if(B.type==="decl"&&y.test(B.prop))return b(B,S)}):this.walk(function(B,S){if(B.type==="decl"&&B.prop===y)return b(B,S)}):(b=y,this.walk(function(B,S){if(B.type==="decl")return b(B,S)}))},m.walkRules=function(y,b){return b?y instanceof RegExp?this.walk(function(B,S){if(B.type==="rule"&&y.test(B.selector))return b(B,S)}):this.walk(function(B,S){if(B.type==="rule"&&B.selector===y)return b(B,S)}):(b=y,this.walk(function(B,S){if(B.type==="rule")return b(B,S)}))},m.walkAtRules=function(y,b){return b?y instanceof RegExp?this.walk(function(B,S){if(B.type==="atrule"&&y.test(B.name))return b(B,S)}):this.walk(function(B,S){if(B.type==="atrule"&&B.name===y)return b(B,S)}):(b=y,this.walk(function(B,S){if(B.type==="atrule")return b(B,S)}))},m.walkComments=function(y){return this.walk(function(b,B){if(b.type==="comment")return y(b,B)})},m.append=function(){for(var y=arguments.length,b=new Array(y),B=0;B<y;B++)b[B]=arguments[B];for(var S=0,w=b;S<w.length;S++)for(var x=w[S],I=this.normalize(x,this.last),F=s(I),k;!(k=F()).done;){var O=k.value;this.nodes.push(O)}return this},m.prepend=function(){for(var y=arguments.length,b=new Array(y),B=0;B<y;B++)b[B]=arguments[B];b=b.reverse();for(var S=s(b),w;!(w=S()).done;){for(var x=w.value,I=this.normalize(x,this.first,"prepend").reverse(),F=s(I),k;!(k=F()).done;){var O=k.value;this.nodes.unshift(O)}for(var L in this.indexes)this.indexes[L]=this.indexes[L]+I.length}return this},m.cleanRaws=function(y){if(A.prototype.cleanRaws.call(this,y),this.nodes)for(var b=s(this.nodes),B;!(B=b()).done;){var S=B.value;S.cleanRaws(y)}},m.insertBefore=function(y,b){y=this.index(y);for(var B=y===0?"prepend":!1,S=this.normalize(b,this.nodes[y],B).reverse(),w=s(S),x;!(x=w()).done;){var I=x.value;this.nodes.splice(y,0,I)}var F;for(var k in this.indexes)F=this.indexes[k],y<=F&&(this.indexes[k]=F+S.length);return this},m.insertAfter=function(y,b){y=this.index(y);for(var B=this.normalize(b,this.nodes[y]).reverse(),S=s(B),w;!(w=S()).done;){var x=w.value;this.nodes.splice(y+1,0,x)}var I;for(var F in this.indexes)I=this.indexes[F],y<I&&(this.indexes[F]=I+B.length);return this},m.removeChild=function(y){y=this.index(y),this.nodes[y].parent=void 0,this.nodes.splice(y,1);var b;for(var B in this.indexes)b=this.indexes[B],b>=y&&(this.indexes[B]=b-1);return this},m.removeAll=function(){for(var y=s(this.nodes),b;!(b=y()).done;){var B=b.value;B.parent=void 0}return this.nodes=[],this},m.replaceValues=function(y,b,B){return B||(B=b,b={}),this.walkDecls(function(S){b.props&&b.props.indexOf(S.prop)===-1||b.fast&&S.value.indexOf(b.fast)===-1||(S.value=S.value.replace(y,B))}),this},m.every=function(y){return this.nodes.every(y)},m.some=function(y){return this.nodes.some(y)},m.index=function(y){return typeof y=="number"?y:this.nodes.indexOf(y)},m.normalize=function(y,b){var B=this;if(typeof y=="string"){var S=UJ();y=d(S(y).nodes)}else if(Array.isArray(y)){y=y.slice(0);for(var w=s(y),x;!(x=w()).done;){var I=x.value;I.parent&&I.parent.removeChild(I,"ignore")}}else if(y.type==="root"){y=y.nodes.slice(0);for(var F=s(y),k;!(k=F()).done;){var O=k.value;O.parent&&O.parent.removeChild(O,"ignore")}}else if(y.type)y=[y];else if(y.prop){if(typeof y.value>"u")throw new Error("Value field is missed in node creation");typeof y.value!="string"&&(y.value=String(y.value)),y=[new r.default(y)]}else if(y.selector){var L=MJ();y=[new L(y)]}else if(y.name){var M=jJ();y=[new M(y)]}else if(y.text)y=[new n.default(y)];else throw new Error("Unknown node type in node creation");var H=y.map(function(V){return V.parent&&V.parent.removeChild(V),typeof V.raws.before>"u"&&b&&typeof b.raws.before<"u"&&(V.raws.before=b.raws.before.replace(/[^\s]/g,"")),V.parent=B,V});return H},u(g,[{key:"first",get:function(){if(this.nodes)return this.nodes[0]}},{key:"last",get:function(){if(this.nodes)return this.nodes[this.nodes.length-1]}}]),g}(i.default),h=p;e.default=h,t.exports=e.default}($6,$6.exports)),$6.exports}var Tfe;function jJ(){return Tfe||(Tfe=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=n(_J());function n(a){return a&&a.__esModule?a:{default:a}}function i(a,l){a.prototype=Object.create(l.prototype),a.prototype.constructor=a,a.__proto__=l}var o=function(a){i(l,a);function l(u){var f;return f=a.call(this,u)||this,f.type="atrule",f}var c=l.prototype;return c.append=function(){var f;this.nodes||(this.nodes=[]);for(var d=arguments.length,p=new Array(d),h=0;h<d;h++)p[h]=arguments[h];return(f=a.prototype.append).call.apply(f,[this].concat(p))},c.prepend=function(){var f;this.nodes||(this.nodes=[]);for(var d=arguments.length,p=new Array(d),h=0;h<d;h++)p[h]=arguments[h];return(f=a.prototype.prepend).call.apply(f,[this].concat(p))},l}(r.default),s=o;e.default=s,t.exports=e.default}(V6,V6.exports)),V6.exports}var G6={exports:{}},Lfe;function B6e(){return Lfe||(Lfe=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=n(_J());function n(u){return u&&u.__esModule?u:{default:u}}function i(u,f){var d;if(typeof Symbol>"u"||u[Symbol.iterator]==null){if(Array.isArray(u)||(d=o(u))||f&&u&&typeof u.length=="number"){d&&(u=d);var p=0;return function(){return p>=u.length?{done:!0}:{done:!1,value:u[p++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return d=u[Symbol.iterator](),d.next.bind(d)}function o(u,f){if(u){if(typeof u=="string")return s(u,f);var d=Object.prototype.toString.call(u).slice(8,-1);if(d==="Object"&&u.constructor&&(d=u.constructor.name),d==="Map"||d==="Set")return Array.from(u);if(d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d))return s(u,f)}}function s(u,f){(f==null||f>u.length)&&(f=u.length);for(var d=0,p=new Array(f);d<f;d++)p[d]=u[d];return p}function a(u,f){u.prototype=Object.create(f.prototype),u.prototype.constructor=u,u.__proto__=f}var l=function(u){a(f,u);function f(p){var h;return h=u.call(this,p)||this,h.type="root",h.nodes||(h.nodes=[]),h}var d=f.prototype;return d.removeChild=function(h,A){var g=this.index(h);return!A&&g===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[g].raws.before),u.prototype.removeChild.call(this,h)},d.normalize=function(h,A,g){var m=u.prototype.normalize.call(this,h);if(A){if(g==="prepend")this.nodes.length>1?A.raws.before=this.nodes[1].raws.before:delete A.raws.before;else if(this.first!==A)for(var v=i(m),y;!(y=v()).done;){var b=y.value;b.raws.before=A.raws.before}}return m},d.toResult=function(h){h===void 0&&(h={});var A=C6e(),g=b6e(),m=new A(new g,this,h);return m.stringify()},f}(r.default),c=l;e.default=c,t.exports=e.default}(G6,G6.exports)),G6.exports}var Rfe;function fgt(){return Rfe||(Rfe=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=l(kJ),n=l(ugt),i=l(RJ),o=l(jJ()),s=l(B6e()),a=l(MJ());function l(u){return u&&u.__esModule?u:{default:u}}var c=function(){function u(d){this.input=d,this.root=new s.default,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:d,start:{line:1,column:1}}}var f=u.prototype;return f.createTokenizer=function(){this.tokenizer=(0,n.default)(this.input)},f.parse=function(){for(var p;!this.tokenizer.endOfFile();)switch(p=this.tokenizer.nextToken(),p[0]){case"space":this.spaces+=p[1];break;case";":this.freeSemicolon(p);break;case"}":this.end(p);break;case"comment":this.comment(p);break;case"at-word":this.atrule(p);break;case"{":this.emptyRule(p);break;default:this.other(p);break}this.endFile()},f.comment=function(p){var h=new i.default;this.init(h,p[2],p[3]),h.source.end={line:p[4],column:p[5]};var A=p[1].slice(2,-2);if(/^\s*$/.test(A))h.text="",h.raws.left=A,h.raws.right="";else{var g=A.match(/^(\s*)([^]*[^\s])(\s*)$/);h.text=g[2],h.raws.left=g[1],h.raws.right=g[3]}},f.emptyRule=function(p){var h=new a.default;this.init(h,p[2],p[3]),h.selector="",h.raws.between="",this.current=h},f.other=function(p){for(var h=!1,A=null,g=!1,m=null,v=[],y=[],b=p;b;){if(A=b[0],y.push(b),A==="("||A==="[")m||(m=b),v.push(A==="("?")":"]");else if(v.length===0)if(A===";")if(g){this.decl(y);return}else break;else if(A==="{"){this.rule(y);return}else if(A==="}"){this.tokenizer.back(y.pop()),h=!0;break}else A===":"&&(g=!0);else A===v[v.length-1]&&(v.pop(),v.length===0&&(m=null));b=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(h=!0),v.length>0&&this.unclosedBracket(m),h&&g){for(;y.length&&(b=y[y.length-1][0],!(b!=="space"&&b!=="comment"));)this.tokenizer.back(y.pop());this.decl(y)}else this.unknownWord(y)},f.rule=function(p){p.pop();var h=new a.default;this.init(h,p[0][2],p[0][3]),h.raws.between=this.spacesAndCommentsFromEnd(p),this.raw(h,"selector",p),this.current=h},f.decl=function(p){var h=new r.default;this.init(h);var A=p[p.length-1];for(A[0]===";"&&(this.semicolon=!0,p.pop()),A[4]?h.source.end={line:A[4],column:A[5]}:h.source.end={line:A[2],column:A[3]};p[0][0]!=="word";)p.length===1&&this.unknownWord(p),h.raws.before+=p.shift()[1];for(h.source.start={line:p[0][2],column:p[0][3]},h.prop="";p.length;){var g=p[0][0];if(g===":"||g==="space"||g==="comment")break;h.prop+=p.shift()[1]}h.raws.between="";for(var m;p.length;)if(m=p.shift(),m[0]===":"){h.raws.between+=m[1];break}else m[0]==="word"&&/\w/.test(m[1])&&this.unknownWord([m]),h.raws.between+=m[1];(h.prop[0]==="_"||h.prop[0]==="*")&&(h.raws.before+=h.prop[0],h.prop=h.prop.slice(1)),h.raws.between+=this.spacesAndCommentsFromStart(p),this.precheckMissedSemicolon(p);for(var v=p.length-1;v>0;v--){if(m=p[v],m[1].toLowerCase()==="!important"){h.important=!0;var y=this.stringFrom(p,v);y=this.spacesFromEnd(p)+y,y!==" !important"&&(h.raws.important=y);break}else if(m[1].toLowerCase()==="important"){for(var b=p.slice(0),B="",S=v;S>0;S--){var w=b[S][0];if(B.trim().indexOf("!")===0&&w!=="space")break;B=b.pop()[1]+B}B.trim().indexOf("!")===0&&(h.important=!0,h.raws.important=B,p=b)}if(m[0]!=="space"&&m[0]!=="comment")break}this.raw(h,"value",p),h.value.indexOf(":")!==-1&&this.checkMissedSemicolon(p)},f.atrule=function(p){var h=new o.default;h.name=p[1].slice(1),h.name===""&&this.unnamedAtrule(h,p),this.init(h,p[2],p[3]);for(var A,g,m=!1,v=!1,y=[];!this.tokenizer.endOfFile();){if(p=this.tokenizer.nextToken(),p[0]===";"){h.source.end={line:p[2],column:p[3]},this.semicolon=!0;break}else if(p[0]==="{"){v=!0;break}else if(p[0]==="}"){if(y.length>0){for(g=y.length-1,A=y[g];A&&A[0]==="space";)A=y[--g];A&&(h.source.end={line:A[4],column:A[5]})}this.end(p);break}else y.push(p);if(this.tokenizer.endOfFile()){m=!0;break}}h.raws.between=this.spacesAndCommentsFromEnd(y),y.length?(h.raws.afterName=this.spacesAndCommentsFromStart(y),this.raw(h,"params",y),m&&(p=y[y.length-1],h.source.end={line:p[4],column:p[5]},this.spaces=h.raws.between,h.raws.between="")):(h.raws.afterName="",h.params=""),v&&(h.nodes=[],this.current=h)},f.end=function(p){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end={line:p[2],column:p[3]},this.current=this.current.parent):this.unexpectedClose(p)},f.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces},f.freeSemicolon=function(p){if(this.spaces+=p[1],this.current.nodes){var h=this.current.nodes[this.current.nodes.length-1];h&&h.type==="rule"&&!h.raws.ownSemicolon&&(h.raws.ownSemicolon=this.spaces,this.spaces="")}},f.init=function(p,h,A){this.current.push(p),p.source={start:{line:h,column:A},input:this.input},p.raws.before=this.spaces,this.spaces="",p.type!=="comment"&&(this.semicolon=!1)},f.raw=function(p,h,A){for(var g,m,v=A.length,y="",b=!0,B,S,w=/^([.|#])?([\w])+/i,x=0;x<v;x+=1){if(g=A[x],m=g[0],m==="comment"&&p.type==="rule"){S=A[x-1],B=A[x+1],S[0]!=="space"&&B[0]!=="space"&&w.test(S[1])&&w.test(B[1])?y+=g[1]:b=!1;continue}m==="comment"||m==="space"&&x===v-1?b=!1:y+=g[1]}if(!b){var I=A.reduce(function(F,k){return F+k[1]},"");p.raws[h]={value:y,raw:I}}p[h]=y},f.spacesAndCommentsFromEnd=function(p){for(var h,A="";p.length&&(h=p[p.length-1][0],!(h!=="space"&&h!=="comment"));)A=p.pop()[1]+A;return A},f.spacesAndCommentsFromStart=function(p){for(var h,A="";p.length&&(h=p[0][0],!(h!=="space"&&h!=="comment"));)A+=p.shift()[1];return A},f.spacesFromEnd=function(p){for(var h,A="";p.length&&(h=p[p.length-1][0],h==="space");)A=p.pop()[1]+A;return A},f.stringFrom=function(p,h){for(var A="",g=h;g<p.length;g++)A+=p[g][1];return p.splice(h,p.length-h),A},f.colon=function(p){for(var h=0,A,g,m,v=0;v<p.length;v++){if(A=p[v],g=A[0],g==="("&&(h+=1),g===")"&&(h-=1),h===0&&g===":")if(!m)this.doubleColon(A);else{if(m[0]==="word"&&m[1]==="progid")continue;return v}m=A}return!1},f.unclosedBracket=function(p){throw this.input.error("Unclosed bracket",p[2],p[3])},f.unknownWord=function(p){throw this.input.error("Unknown word",p[0][2],p[0][3])},f.unexpectedClose=function(p){throw this.input.error("Unexpected }",p[2],p[3])},f.unclosedBlock=function(){var p=this.current.source.start;throw this.input.error("Unclosed block",p.line,p.column)},f.doubleColon=function(p){throw this.input.error("Double colon",p[2],p[3])},f.unnamedAtrule=function(p,h){throw this.input.error("At-rule without name",h[2],h[3])},f.precheckMissedSemicolon=function(){},f.checkMissedSemicolon=function(p){var h=this.colon(p);if(h!==!1){for(var A=0,g,m=h-1;m>=0&&(g=p[m],!(g[0]!=="space"&&(A+=1,A===2)));m--);throw this.input.error("Missed semicolon",g[2],g[3])}},u}();e.default=c,t.exports=e.default}(Q6,Q6.exports)),Q6.exports}var q$={exports:{}},X$={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=o(sx),n=o(fv),i=o(RSe);function o(c){return c&&c.__esModule?c:{default:c}}function s(c){return Buffer?Buffer.from(c,"base64").toString():window.atob(c)}var a=function(){function c(f,d){this.loadAnnotation(f),this.inline=this.startWith(this.annotation,"data:");var p=d.map?d.map.prev:void 0,h=this.loadMap(d.from,p);h&&(this.text=h)}var u=c.prototype;return u.consumer=function(){return this.consumerCache||(this.consumerCache=new r.default.SourceMapConsumer(this.text)),this.consumerCache},u.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},u.startWith=function(d,p){return d?d.substr(0,p.length)===p:!1},u.getAnnotationURL=function(d){return d.match(/\/\*\s*# sourceMappingURL=((?:(?!sourceMappingURL=).)*)\*\//)[1].trim()},u.loadAnnotation=function(d){var p=d.match(/\/\*\s*# sourceMappingURL=(?:(?!sourceMappingURL=).)*\*\//gm);if(p&&p.length>0){var h=p[p.length-1];h&&(this.annotation=this.getAnnotationURL(h))}},u.decodeInline=function(d){var p=/^data:application\/json;charset=utf-?8;base64,/,h=/^data:application\/json;base64,/,A="data:application/json,";if(this.startWith(d,A))return decodeURIComponent(d.substr(A.length));if(p.test(d)||h.test(d))return s(d.substr(RegExp.lastMatch.length));var g=d.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+g)},u.loadMap=function(d,p){if(p===!1)return!1;if(p){if(typeof p=="string")return p;if(typeof p=="function"){var h=p(d);if(h&&i.default.existsSync&&i.default.existsSync(h))return i.default.readFileSync(h,"utf-8").toString().trim();throw new Error("Unable to load previous source map: "+h.toString())}else{if(p instanceof r.default.SourceMapConsumer)return r.default.SourceMapGenerator.fromSourceMap(p).toString();if(p instanceof r.default.SourceMapGenerator)return p.toString();if(this.isMap(p))return JSON.stringify(p);throw new Error("Unsupported previous source map format: "+p.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var A=this.annotation;return d&&(A=n.default.join(n.default.dirname(d),A)),this.root=n.default.dirname(A),i.default.existsSync&&i.default.existsSync(A)?i.default.readFileSync(A,"utf-8").toString().trim():!1}}},u.isMap=function(d){return typeof d!="object"?!1:typeof d.mappings=="string"||typeof d._mappings=="string"},c}(),l=a;e.default=l,t.exports=e.default})(X$,X$.exports);var dgt=X$.exports;(function(t,e){e.__esModule=!0,e.default=void 0;var r=o(fv),n=o(a6e),i=o(dgt);function o(f){return f&&f.__esModule?f:{default:f}}function s(f,d){for(var p=0;p<d.length;p++){var h=d[p];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(f,h.key,h)}}function a(f,d,p){return d&&s(f.prototype,d),p&&s(f,p),f}var l=0,c=function(){function f(p,h){if(h===void 0&&(h={}),p===null||typeof p>"u"||typeof p=="object"&&!p.toString)throw new Error("PostCSS received "+p+" instead of CSS string");this.css=p.toString(),this.css[0]==="\uFEFF"||this.css[0]===""?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,h.from&&(/^\w+:\/\//.test(h.from)||r.default.isAbsolute(h.from)?this.file=h.from:this.file=r.default.resolve(h.from));var A=new i.default(this.css,h);if(A.text){this.map=A;var g=A.consumer().file;!this.file&&g&&(this.file=this.mapResolve(g))}this.file||(l+=1,this.id="<input css "+l+">"),this.map&&(this.map.file=this.from)}var d=f.prototype;return d.error=function(h,A,g,m){m===void 0&&(m={});var v,y=this.origin(A,g);return y?v=new n.default(h,y.line,y.column,y.source,y.file,m.plugin):v=new n.default(h,A,g,this.css,this.file,m.plugin),v.input={line:A,column:g,source:this.css},this.file&&(v.input.file=this.file),v},d.origin=function(h,A){if(!this.map)return!1;var g=this.map.consumer(),m=g.originalPositionFor({line:h,column:A});if(!m.source)return!1;var v={file:this.mapResolve(m.source),line:m.line,column:m.column},y=g.sourceContentFor(m.source);return y&&(v.source=y),v},d.mapResolve=function(h){return/^\w+:\/\//.test(h)?h:r.default.resolve(this.map.consumer().sourceRoot||".",h)},a(f,[{key:"from",get:function(){return this.file||this.id}}]),f}(),u=c;e.default=u,t.exports=e.default})(q$,q$.exports);var pgt=q$.exports,Mfe;function UJ(){return Mfe||(Mfe=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=i(fgt()),n=i(pgt);function i(a){return a&&a.__esModule?a:{default:a}}function o(a,l){var c=new n.default(a,l),u=new r.default(c);try{u.parse()}catch(f){throw f}return u.root}var s=o;e.default=s,t.exports=e.default}(U6,U6.exports)),U6.exports}var _fe;function C6e(){return _fe||(_fe=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=s(sgt),n=s(EJ);s(agt);var i=s(cgt),o=s(UJ());function s(A){return A&&A.__esModule?A:{default:A}}function a(A,g){var m;if(typeof Symbol>"u"||A[Symbol.iterator]==null){if(Array.isArray(A)||(m=l(A))||g&&A&&typeof A.length=="number"){m&&(A=m);var v=0;return function(){return v>=A.length?{done:!0}:{done:!1,value:A[v++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return m=A[Symbol.iterator](),m.next.bind(m)}function l(A,g){if(A){if(typeof A=="string")return c(A,g);var m=Object.prototype.toString.call(A).slice(8,-1);if(m==="Object"&&A.constructor&&(m=A.constructor.name),m==="Map"||m==="Set")return Array.from(A);if(m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m))return c(A,g)}}function c(A,g){(g==null||g>A.length)&&(g=A.length);for(var m=0,v=new Array(g);m<g;m++)v[m]=A[m];return v}function u(A,g){for(var m=0;m<g.length;m++){var v=g[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(A,v.key,v)}}function f(A,g,m){return g&&u(A.prototype,g),m&&u(A,m),A}function d(A){return typeof A=="object"&&typeof A.then=="function"}var p=function(){function A(m,v,y){this.stringified=!1,this.processed=!1;var b;if(typeof v=="object"&&v!==null&&v.type==="root")b=v;else if(v instanceof A||v instanceof i.default)b=v.root,v.map&&(typeof y.map>"u"&&(y.map={}),y.map.inline||(y.map.inline=!1),y.map.prev=v.map);else{var B=o.default;y.syntax&&(B=y.syntax.parse),y.parser&&(B=y.parser),B.parse&&(B=B.parse);try{b=B(v,y)}catch(S){this.error=S}}this.result=new i.default(m,b,y)}var g=A.prototype;return g.warnings=function(){return this.sync().warnings()},g.toString=function(){return this.css},g.then=function(v,y){return this.async().then(v,y)},g.catch=function(v){return this.async().catch(v)},g.finally=function(v){return this.async().then(v,v)},g.handleError=function(v,y){try{if(this.error=v,v.name==="CssSyntaxError"&&!v.plugin)v.plugin=y.postcssPlugin,v.setMessage();else if(y.postcssVersion)var b,B,S,w,x}catch(I){console&&console.error&&console.error(I)}},g.asyncTick=function(v,y){var b=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,v();try{var B=this.processor.plugins[this.plugin],S=this.run(B);this.plugin+=1,d(S)?S.then(function(){b.asyncTick(v,y)}).catch(function(w){b.handleError(w,B),b.processed=!0,y(w)}):this.asyncTick(v,y)}catch(w){this.processed=!0,y(w)}},g.async=function(){var v=this;return this.processed?new Promise(function(y,b){v.error?b(v.error):y(v.stringify())}):this.processing?this.processing:(this.processing=new Promise(function(y,b){if(v.error)return b(v.error);v.plugin=0,v.asyncTick(y,b)}).then(function(){return v.processed=!0,v.stringify()}),this.processing)},g.sync=function(){if(this.processed)return this.result;if(this.processed=!0,this.processing)throw new Error("Use process(css).then(cb) to work with async plugins");if(this.error)throw this.error;for(var v=a(this.result.processor.plugins),y;!(y=v()).done;){var b=y.value,B=this.run(b);if(d(B))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},g.run=function(v){this.result.lastPlugin=v;try{return v(this.result.root,this.result)}catch(y){throw this.handleError(y,v),y}},g.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var v=this.result.opts,y=n.default;v.syntax&&(y=v.syntax.stringify),v.stringifier&&(y=v.stringifier),y.stringify&&(y=y.stringify);var b=new r.default(y,this.result.root,this.result.opts),B=b.generate();return this.result.css=B[0],this.result.map=B[1],this.result},f(A,[{key:"processor",get:function(){return this.result.processor}},{key:"opts",get:function(){return this.result.opts}},{key:"css",get:function(){return this.stringify().css}},{key:"content",get:function(){return this.stringify().content}},{key:"map",get:function(){return this.stringify().map}},{key:"root",get:function(){return this.sync().root}},{key:"messages",get:function(){return this.sync().messages}}]),A}(),h=p;e.default=h,t.exports=e.default}(j6,j6.exports)),j6.exports}var jfe;function b6e(){return jfe||(jfe=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=n(C6e());function n(c){return c&&c.__esModule?c:{default:c}}function i(c,u){var f;if(typeof Symbol>"u"||c[Symbol.iterator]==null){if(Array.isArray(c)||(f=o(c))||u&&c&&typeof c.length=="number"){f&&(c=f);var d=0;return function(){return d>=c.length?{done:!0}:{done:!1,value:c[d++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return f=c[Symbol.iterator](),f.next.bind(f)}function o(c,u){if(c){if(typeof c=="string")return s(c,u);var f=Object.prototype.toString.call(c).slice(8,-1);if(f==="Object"&&c.constructor&&(f=c.constructor.name),f==="Map"||f==="Set")return Array.from(c);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return s(c,u)}}function s(c,u){(u==null||u>c.length)&&(u=c.length);for(var f=0,d=new Array(u);f<u;f++)d[f]=c[f];return d}var a=function(){function c(f){f===void 0&&(f=[]),this.version="7.0.39",this.plugins=this.normalize(f)}var u=c.prototype;return u.use=function(d){return this.plugins=this.plugins.concat(this.normalize([d])),this},u.process=function(f){function d(p){return f.apply(this,arguments)}return d.toString=function(){return f.toString()},d}(function(f,d){return d===void 0&&(d={}),this.plugins.length===0&&(d.parser,d.stringifier),new r.default(this,f,d)}),u.normalize=function(d){for(var p=[],h=i(d),A;!(A=h()).done;){var g=A.value;if(g.postcss===!0){var m=g();throw new Error("PostCSS plugin "+m.postcssPlugin+` requires PostCSS 8. Migration guide for end-users: https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`)}if(g.postcss&&(g=g.postcss),typeof g=="object"&&Array.isArray(g.plugins))p=p.concat(g.plugins);else if(typeof g=="function")p.push(g);else if(!(typeof g=="object"&&(g.parse||g.stringify)))throw typeof g=="object"&&g.postcssPlugin?new Error("PostCSS plugin "+g.postcssPlugin+` requires PostCSS 8. Migration guide for end-users: https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`):new Error(g+" is not a PostCSS plugin")}return p},c}(),l=a;e.default=l,t.exports=e.default}(_6,_6.exports)),_6.exports}var Y$={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r={prefix:function(o){var s=o.match(/^(-\w+-)/);return s?s[0]:""},unprefixed:function(o){return o.replace(/^-\w+-/,"")}},n=r;e.default=n,t.exports=e.default})(Y$,Y$.exports);var Agt=Y$.exports;(function(t,e){e.__esModule=!0,e.default=void 0;var r=d(kJ),n=d(b6e()),i=d(EJ),o=d(RJ),s=d(jJ()),a=d(Agt),l=d(UJ()),c=d(y6e),u=d(MJ()),f=d(B6e());function d(A){return A&&A.__esModule?A:{default:A}}function p(){for(var A=arguments.length,g=new Array(A),m=0;m<A;m++)g[m]=arguments[m];return g.length===1&&Array.isArray(g[0])&&(g=g[0]),new n.default(g)}p.plugin=function(g,m){function v(){var b=m.apply(void 0,arguments);return b.postcssPlugin=g,b.postcssVersion=new n.default().version,b}var y;return Object.defineProperty(v,"postcss",{get:function(){return y||(y=v()),y}}),v.process=function(b,B,S){return p([v(S)]).process(b,B)},v},p.stringify=i.default,p.parse=l.default,p.vendor=a.default,p.list=c.default,p.comment=function(A){return new o.default(A)},p.atRule=function(A){return new s.default(A)},p.decl=function(A){return new r.default(A)},p.rule=function(A){return new u.default(A)},p.root=function(A){return new f.default(A)};var h=p;e.default=h,t.exports=e.default})(L$,L$.exports);var hgt=L$.exports,kR="(".charCodeAt(0),OR=")".charCodeAt(0),W6="'".charCodeAt(0),PR='"'.charCodeAt(0),IR="\\".charCodeAt(0),z6="/".charCodeAt(0),NR=",".charCodeAt(0),FR=":".charCodeAt(0),Ufe="*".charCodeAt(0),mgt=function(t){for(var e=[],r=t,n,i,o,s,a,l,c,u=0,f=r.charCodeAt(u),d=r.length,p=[{nodes:e}],h=0,A,g="",m="",v="";u<d;)if(f<=32){n=u;do n+=1,f=r.charCodeAt(n);while(f<=32);s=r.slice(u,n),o=e[e.length-1],f===OR&&h?v=s:o&&o.type==="div"?o.after=s:f===NR||f===FR||f===z6&&r.charCodeAt(n+1)!==Ufe?m=s:e.push({type:"space",sourceIndex:u,value:s}),u=n}else if(f===W6||f===PR){n=u,i=f===W6?"'":'"',s={type:"string",sourceIndex:u,quote:i};do if(a=!1,n=r.indexOf(i,n+1),~n)for(l=n;r.charCodeAt(l-1)===IR;)l-=1,a=!a;else r+=i,n=r.length-1,s.unclosed=!0;while(a);s.value=r.slice(u+1,n),e.push(s),u=n+1,f=r.charCodeAt(u)}else if(f===z6&&r.charCodeAt(u+1)===Ufe)s={type:"comment",sourceIndex:u},n=r.indexOf("*/",u),n===-1&&(s.unclosed=!0,n=r.length),s.value=r.slice(u+2,n),e.push(s),u=n+2,f=r.charCodeAt(u);else if(f===z6||f===NR||f===FR)s=r[u],e.push({type:"div",sourceIndex:u-m.length,value:s,before:m,after:""}),m="",u+=1,f=r.charCodeAt(u);else if(kR===f){n=u;do n+=1,f=r.charCodeAt(n);while(f<=32);if(s={type:"function",sourceIndex:u-g.length,value:g,before:r.slice(u+1,n)},u=n,g==="url"&&f!==W6&&f!==PR){n-=1;do if(a=!1,n=r.indexOf(")",n+1),~n)for(l=n;r.charCodeAt(l-1)===IR;)l-=1,a=!a;else r+=")",n=r.length-1,s.unclosed=!0;while(a);c=n;do c-=1,f=r.charCodeAt(c);while(f<=32);u!==c+1?s.nodes=[{type:"word",sourceIndex:u,value:r.slice(u,c+1)}]:s.nodes=[],s.unclosed&&c+1!==n?(s.after="",s.nodes.push({type:"space",sourceIndex:c+1,value:r.slice(c+1,n)})):s.after=r.slice(c+1,n),u=n+1,f=r.charCodeAt(u),e.push(s)}else h+=1,s.after="",e.push(s),p.push(s),e=s.nodes=[],A=s;g=""}else if(OR===f&&h)u+=1,f=r.charCodeAt(u),A.after=v,v="",h-=1,p.pop(),A=p[h],e=A.nodes;else{n=u;do f===IR&&(n+=1),n+=1,f=r.charCodeAt(n);while(n<d&&!(f<=32||f===W6||f===PR||f===NR||f===FR||f===z6||f===kR||f===OR&&h));s=r.slice(u,n),kR===f?g=s:e.push({type:"word",sourceIndex:u,value:s}),u=n}for(u=p.length-1;u;u-=1)p[u].unclosed=!0;return p[0].nodes},ggt=function t(e,r,n){var i,o,s,a;for(i=0,o=e.length;i<o;i+=1)s=e[i],n||(a=r(s,i,e)),a!==!1&&s.type==="function"&&Array.isArray(s.nodes)&&t(s.nodes,r,n),n&&r(s,i,e)};function Qfe(t,e){var r=t.type,n=t.value,i,o;return e&&(o=e(t))!==void 0?o:r==="word"||r==="space"?n:r==="string"?(i=t.quote||"",i+n+(t.unclosed?"":i)):r==="comment"?"/*"+n+(t.unclosed?"":"*/"):r==="div"?(t.before||"")+n+(t.after||""):Array.isArray(t.nodes)?(i=w6e(t.nodes),r!=="function"?i:n+"("+(t.before||"")+i+(t.after||"")+(t.unclosed?"":")")):n}function w6e(t,e){var r,n;if(Array.isArray(t)){for(r="",n=t.length-1;~n;n-=1)r=Qfe(t[n],e)+r;return r}return Qfe(t,e)}var vgt=w6e,TR,Vfe;function ygt(){if(Vfe)return TR;Vfe=1;var t="-".charCodeAt(0),e="+".charCodeAt(0),r=".".charCodeAt(0),n="e".charCodeAt(0),i="E".charCodeAt(0);return TR=function(o){for(var s=0,a=o.length,l=!1,c=-1,u=!1,f;s<a;){if(f=o.charCodeAt(s),f>=48&&f<=57)u=!0;else if(f===n||f===i){if(c>-1)break;c=s}else if(f===r){if(l)break;l=!0}else if(f===e||f===t){if(s!==0)break}else break;s+=1}return c+1===s&&s--,u?{number:o.slice(0,s),unit:o.slice(s)}:!1},TR}var Bgt=mgt,x6e=ggt,S6e=vgt;function Bm(t){return this instanceof Bm?(this.nodes=Bgt(t),this):new Bm(t)}Bm.prototype.toString=function(){return Array.isArray(this.nodes)?S6e(this.nodes):""};Bm.prototype.walk=function(t,e){return x6e(this.nodes,t,e),this};Bm.unit=ygt();Bm.walk=x6e;Bm.stringify=S6e;var Cgt=Bm,N9={exports:{}};N9.exports;(function(t,e){/** * @license * * chroma.js - JavaScript library for color conversions * * Copyright (c) 2011-2017, Gregor Aisch * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright notice, * this list of conditions and the following disclaimer in the documentation * and/or other materials provided with the distribution. * * 3. The name Gregor Aisch may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL GREGOR AISCH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * */(function(){var r,n,i,o,s,a,l,c,u,f,d,p,h,A,g,m,v,y,b,B,S,w,x,I,F,k,O,L,M,H,V,j,R,Q,z,X,_,G,W,J,ee,q,Z,re,fe,de,ie,le,De,Ae,ue,Ne,Te,Re,je,Ve,ze,lt,gt,_t,U,D,N,Y,pe,be,_e,he,Ee,ot,At,Ct,pt,Bn,jr,yr,Sr,Jt,Dt,ir,xn,Ar,Yr=[].slice;Jt=function(){var se,ae,Ce,Oe,Ie;for(se={},Ie="Boolean Number String Function Array Date RegExp Undefined Null".split(" "),Oe=0,ae=Ie.length;Oe<ae;Oe++)Ce=Ie[Oe],se["[object "+Ce+"]"]=Ce.toLowerCase();return function(Le){var Qe;return Qe=Object.prototype.toString.call(Le),se[Qe]||"object"}}(),ie=function(se,ae,Ce){return ae==null&&(ae=0),Ce==null&&(Ce=1),se<ae&&(se=ae),se>Ce&&(se=Ce),se},Dt=function(se){return se.length>=3?Array.prototype.slice.call(se):se[0]},S=function(se){var ae,Ce;for(se._clipped=!1,se._unclipped=se.slice(0),ae=Ce=0;Ce<3;ae=++Ce)ae<3?((se[ae]<0||se[ae]>255)&&(se._clipped=!0),se[ae]<0&&(se[ae]=0),se[ae]>255&&(se[ae]=255)):ae===3&&(se[ae]<0&&(se[ae]=0),se[ae]>1&&(se[ae]=1));return se._clipped||delete se._unclipped,se},o=Math.PI,pt=Math.round,x=Math.cos,L=Math.floor,Ve=Math.pow,le=Math.log,jr=Math.sin,yr=Math.sqrt,A=Math.atan2,ue=Math.max,h=Math.abs,l=o*2,s=o/3,n=o/180,a=180/o,B=function(){return arguments[0]instanceof r?arguments[0]:function(se,ae,Ce){Ce.prototype=se.prototype;var Oe=new Ce,Ie=se.apply(Oe,ae);return Object(Ie)===Ie?Ie:Oe}(r,arguments,function(){})},B.default=B,p=[],t!==null&&t.exports!=null&&(t.exports=B),Ct=e!==null?e:this,Ct.chroma=B,B.version="1.4.1",d={},u=[],f=!1,r=function(){function se(){var ae,Ce,Oe,Ie,Le,Qe,Ge,ft,yt;for(Qe=this,Ce=[],ft=0,Ie=arguments.length;ft<Ie;ft++)ae=arguments[ft],ae!=null&&Ce.push(ae);if(Ce.length>1&&(Ge=Ce[Ce.length-1]),d[Ge]!=null)Qe._rgb=S(d[Ge](Dt(Ce.slice(0,-1))));else{for(f||(u=u.sort(function(nt,Ft){return Ft.p-nt.p}),f=!0),yt=0,Le=u.length;yt<Le&&(Oe=u[yt],Ge=Oe.test.apply(Oe,Ce),!Ge);yt++);Ge&&(Qe._rgb=S(d[Ge].apply(d,Ce)))}Qe._rgb==null&&console.warn("unknown format: "+Ce),Qe._rgb==null&&(Qe._rgb=[0,0,0]),Qe._rgb.length===3&&Qe._rgb.push(1)}return se.prototype.toString=function(){return this.hex()},se}(),B._input=d;/** ColorBrewer colors for chroma.js Copyright (c) 2002 Cynthia Brewer, Mark Harrower, and The Pennsylvania State University. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. @preserve */B.brewer=y={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},function(){var se,ae;ae=[];for(se in y)ae.push(y[se.toLowerCase()]=y[se]);return ae}(),ir={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",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:"#ff00ff",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",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",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",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",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:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},B.colors=ir,q=function(){var se,ae,Ce,Oe,Ie,Le,Qe,Ge,ft;return ae=Dt(arguments),Ie=ae[0],se=ae[1],Ce=ae[2],Ge=(Ie+16)/116,Qe=isNaN(se)?Ge:Ge+se/500,ft=isNaN(Ce)?Ge:Ge-Ce/200,Ge=i.Yn*Z(Ge),Qe=i.Xn*Z(Qe),ft=i.Zn*Z(ft),Le=Ar(3.2404542*Qe-1.5371385*Ge-.4985314*ft),Oe=Ar(-.969266*Qe+1.8760108*Ge+.041556*ft),Ce=Ar(.0556434*Qe-.2040259*Ge+1.0572252*ft),[Le,Oe,Ce,ae.length>3?ae[3]:1]},Ar=function(se){return 255*(se<=.00304?12.92*se:1.055*Ve(se,1/2.4)-.055)},Z=function(se){return se>i.t1?se*se*se:i.t2*(se-i.t0)},i={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},Y=function(){var se,ae,Ce,Oe,Ie,Le,Qe,Ge;return Oe=Dt(arguments),Ce=Oe[0],ae=Oe[1],se=Oe[2],Ie=Ee(Ce,ae,se),Le=Ie[0],Qe=Ie[1],Ge=Ie[2],[116*Qe-16,500*(Le-Qe),200*(Qe-Ge)]},ot=function(se){return(se/=255)<=.04045?se/12.92:Ve((se+.055)/1.055,2.4)},xn=function(se){return se>i.t3?Ve(se,1/3):se/i.t2+i.t0},Ee=function(){var se,ae,Ce,Oe,Ie,Le,Qe;return Oe=Dt(arguments),Ce=Oe[0],ae=Oe[1],se=Oe[2],Ce=ot(Ce),ae=ot(ae),se=ot(se),Ie=xn((.4124564*Ce+.3575761*ae+.1804375*se)/i.Xn),Le=xn((.2126729*Ce+.7151522*ae+.072175*se)/i.Yn),Qe=xn((.0193339*Ce+.119192*ae+.9503041*se)/i.Zn),[Ie,Le,Qe]},B.lab=function(){return function(se,ae,Ce){Ce.prototype=se.prototype;var Oe=new Ce,Ie=se.apply(Oe,ae);return Object(Ie)===Ie?Ie:Oe}(r,Yr.call(arguments).concat(["lab"]),function(){})},d.lab=q,r.prototype.lab=function(){return Y(this._rgb)},g=function(se){var ae,Ce,Oe,Ie,Le,Qe,Ge,ft,yt,nt,Ft;return se=function(){var mt,dt,Lt;for(Lt=[],dt=0,mt=se.length;dt<mt;dt++)Ie=se[dt],Lt.push(B(Ie));return Lt}(),se.length===2?(yt=function(){var mt,dt,Lt;for(Lt=[],dt=0,mt=se.length;dt<mt;dt++)Ie=se[dt],Lt.push(Ie.lab());return Lt}(),Le=yt[0],Qe=yt[1],ae=function(mt){var dt,Lt;return Lt=function(){var tr,ur;for(ur=[],dt=tr=0;tr<=2;dt=++tr)ur.push(Le[dt]+mt*(Qe[dt]-Le[dt]));return ur}(),B.lab.apply(B,Lt)}):se.length===3?(nt=function(){var mt,dt,Lt;for(Lt=[],dt=0,mt=se.length;dt<mt;dt++)Ie=se[dt],Lt.push(Ie.lab());return Lt}(),Le=nt[0],Qe=nt[1],Ge=nt[2],ae=function(mt){var dt,Lt;return Lt=function(){var tr,ur;for(ur=[],dt=tr=0;tr<=2;dt=++tr)ur.push((1-mt)*(1-mt)*Le[dt]+2*(1-mt)*mt*Qe[dt]+mt*mt*Ge[dt]);return ur}(),B.lab.apply(B,Lt)}):se.length===4?(Ft=function(){var mt,dt,Lt;for(Lt=[],dt=0,mt=se.length;dt<mt;dt++)Ie=se[dt],Lt.push(Ie.lab());return Lt}(),Le=Ft[0],Qe=Ft[1],Ge=Ft[2],ft=Ft[3],ae=function(mt){var dt,Lt;return Lt=function(){var tr,ur;for(ur=[],dt=tr=0;tr<=2;dt=++tr)ur.push((1-mt)*(1-mt)*(1-mt)*Le[dt]+3*(1-mt)*(1-mt)*mt*Qe[dt]+3*(1-mt)*mt*mt*Ge[dt]+mt*mt*mt*ft[dt]);return ur}(),B.lab.apply(B,Lt)}):se.length===5&&(Ce=g(se.slice(0,3)),Oe=g(se.slice(2,5)),ae=function(mt){return mt<.5?Ce(mt*2):Oe((mt-.5)*2)}),ae},B.bezier=function(se){var ae;return ae=g(se),ae.scale=function(){return B.scale(ae)},ae},B.cubehelix=function(se,ae,Ce,Oe,Ie){var Le,Qe,Ge;return se==null&&(se=300),ae==null&&(ae=-1.5),Ce==null&&(Ce=1),Oe==null&&(Oe=1),Ie==null&&(Ie=[0,1]),Le=0,Jt(Ie)==="array"?Qe=Ie[1]-Ie[0]:(Qe=0,Ie=[Ie,Ie]),Ge=function(ft){var yt,nt,Ft,mt,dt,Lt,tr,ur,Kt;return yt=l*((se+120)/360+ae*ft),tr=Ve(Ie[0]+Qe*ft,Oe),Lt=Le!==0?Ce[0]+ft*Le:Ce,nt=Lt*tr*(1-tr)/2,mt=x(yt),Kt=jr(yt),ur=tr+nt*(-.14861*mt+1.78277*Kt),dt=tr+nt*(-.29227*mt-.90649*Kt),Ft=tr+nt*(1.97294*mt),B(S([ur*255,dt*255,Ft*255,1]))},Ge.start=function(ft){return ft==null?se:(se=ft,Ge)},Ge.rotations=function(ft){return ft==null?ae:(ae=ft,Ge)},Ge.gamma=function(ft){return ft==null?Oe:(Oe=ft,Ge)},Ge.hue=function(ft){return ft==null?Ce:(Ce=ft,Jt(Ce)==="array"?(Le=Ce[1]-Ce[0],Le===0&&(Ce=Ce[1])):Le=0,Ge)},Ge.lightness=function(ft){return ft==null?Ie:(Jt(ft)==="array"?(Ie=ft,Qe=ft[1]-ft[0]):(Ie=[ft,ft],Qe=0),Ge)},Ge.scale=function(){return B.scale(Ge)},Ge.hue(Ce),Ge},B.random=function(){var se,ae,Ce;for(ae="0123456789abcdef",se="#",Ce=0;Ce<6;++Ce)se+=ae.charAt(L(Math.random()*16));return new r(se)},p=[],z=function(se,ae,Ce,Oe){var Ie,Le,Qe,Ge;for(Ce==null&&(Ce=.5),Oe==null&&(Oe="rgb"),Jt(se)!=="object"&&(se=B(se)),Jt(ae)!=="object"&&(ae=B(ae)),Qe=0,Le=p.length;Qe<Le;Qe++)if(Ie=p[Qe],Oe===Ie[0]){Ge=Ie[1](se,ae,Ce,Oe);break}if(Ge==null)throw"color mode "+Oe+" is not supported";return Ge.alpha(se.alpha()+Ce*(ae.alpha()-se.alpha()))},B.interpolate=z,r.prototype.interpolate=function(se,ae,Ce){return z(this,se,ae,Ce)},B.mix=z,r.prototype.mix=r.prototype.interpolate,d.rgb=function(){var se,ae,Ce,Oe;ae=Dt(arguments),Ce=[];for(se in ae)Oe=ae[se],Ce.push(Oe);return Ce},B.rgb=function(){return function(se,ae,Ce){Ce.prototype=se.prototype;var Oe=new Ce,Ie=se.apply(Oe,ae);return Object(Ie)===Ie?Ie:Oe}(r,Yr.call(arguments).concat(["rgb"]),function(){})},r.prototype.rgb=function(se){return se==null&&(se=!0),se?this._rgb.map(Math.round).slice(0,3):this._rgb.slice(0,3)},r.prototype.rgba=function(se){return se==null&&(se=!0),se?[Math.round(this._rgb[0]),Math.round(this._rgb[1]),Math.round(this._rgb[2]),this._rgb[3]]:this._rgb.slice(0)},u.push({p:3,test:function(se){var ae;if(ae=Dt(arguments),Jt(ae)==="array"&&ae.length===3||ae.length===4&&Jt(ae[3])==="number"&&ae[3]>=0&&ae[3]<=1)return"rgb"}}),d.lrgb=d.rgb,G=function(se,ae,Ce,Oe){var Ie,Le;return Ie=se._rgb,Le=ae._rgb,new r(yr(Ve(Ie[0],2)*(1-Ce)+Ve(Le[0],2)*Ce),yr(Ve(Ie[1],2)*(1-Ce)+Ve(Le[1],2)*Ce),yr(Ve(Ie[2],2)*(1-Ce)+Ve(Le[2],2)*Ce),Oe)},c=function(se){var ae,Ce,Oe,Ie,Le,Qe;for(Ce=1/se.length,Qe=[0,0,0,0],Ie=0,Oe=se.length;Ie<Oe;Ie++)ae=se[Ie],Le=ae._rgb,Qe[0]+=Ve(Le[0],2)*Ce,Qe[1]+=Ve(Le[1],2)*Ce,Qe[2]+=Ve(Le[2],2)*Ce,Qe[3]+=Le[3]*Ce;return Qe[0]=yr(Qe[0]),Qe[1]=yr(Qe[1]),Qe[2]=yr(Qe[2]),Qe[3]>1&&(Qe[3]=1),new r(S(Qe))},p.push(["lrgb",G]),B.average=function(se,ae){var Ce,Oe,Ie,Le,Qe,Ge,ft,yt,nt,Ft,mt,dt,Lt;if(ae==null&&(ae="rgb"),nt=se.length,se=se.map(function(tr){return B(tr)}),ft=se.splice(0,1)[0],ae==="lrgb")return c(se);dt=ft.get(ae),Le=[],Qe=0,Ge=0;for(yt in dt)dt[yt]=dt[yt]||0,Le.push(isNaN(dt[yt])?0:1),ae.charAt(yt)==="h"&&!isNaN(dt[yt])&&(Ce=dt[yt]/180*o,Qe+=x(Ce),Ge+=jr(Ce));for(Oe=ft.alpha(),mt=0,Ft=se.length;mt<Ft;mt++){Ie=se[mt],Lt=Ie.get(ae),Oe+=Ie.alpha();for(yt in dt)isNaN(Lt[yt])||(Le[yt]+=1,ae.charAt(yt)==="h"?(Ce=Lt[yt]/180*o,Qe+=x(Ce),Ge+=jr(Ce)):dt[yt]+=Lt[yt])}for(yt in dt)if(ae.charAt(yt)==="h"){for(Ce=A(Ge/Le[yt],Qe/Le[yt])/o*180;Ce<0;)Ce+=360;for(;Ce>=360;)Ce-=360;dt[yt]=Ce}else dt[yt]=dt[yt]/Le[yt];return B(dt,ae).alpha(Oe/nt)},H=function(se){var ae,Ce,Oe,Ie,Le,Qe;if(se.match(/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/))return(se.length===4||se.length===7)&&(se=se.substr(1)),se.length===3&&(se=se.split(""),se=se[0]+se[0]+se[1]+se[1]+se[2]+se[2]),Qe=parseInt(se,16),Ie=Qe>>16,Oe=Qe>>8&255,Ce=Qe&255,[Ie,Oe,Ce,1];if(se.match(/^#?([A-Fa-f0-9]{8})$/))return se.length===9&&(se=se.substr(1)),Qe=parseInt(se,16),Ie=Qe>>24&255,Oe=Qe>>16&255,Ce=Qe>>8&255,ae=pt((Qe&255)/255*100)/100,[Ie,Oe,Ce,ae];if(d.css!=null&&(Le=d.css(se)))return Le;throw"unknown color: "+se},_t=function(se,ae){var Ce,Oe,Ie,Le,Qe,Ge,ft;return ae==null&&(ae="auto"),Qe=se[0],Ie=se[1],Oe=se[2],Ce=se[3],ae==="auto"&&(ae=Ce<1?"rgba":"rgb"),Qe=Math.round(Qe),Ie=Math.round(Ie),Oe=Math.round(Oe),ft=Qe<<16|Ie<<8|Oe,Ge="000000"+ft.toString(16),Ge=Ge.substr(Ge.length-6),Le="0"+pt(Ce*255).toString(16),Le=Le.substr(Le.length-2),"#"+function(){switch(ae.toLowerCase()){case"rgba":return Ge+Le;case"argb":return Le+Ge;default:return Ge}}()},d.hex=function(se){return H(se)},B.hex=function(){return function(se,ae,Ce){Ce.prototype=se.prototype;var Oe=new Ce,Ie=se.apply(Oe,ae);return Object(Ie)===Ie?Ie:Oe}(r,Yr.call(arguments).concat(["hex"]),function(){})},r.prototype.hex=function(se){return se==null&&(se="auto"),_t(this._rgb,se)},u.push({p:4,test:function(se){if(arguments.length===1&&Jt(se)==="string")return"hex"}}),R=function(){var se,ae,Ce,Oe,Ie,Le,Qe,Ge,ft,yt,nt,Ft,mt,dt;if(se=Dt(arguments),Ie=se[0],nt=se[1],Qe=se[2],nt===0)ft=Oe=ae=Qe*255;else{for(dt=[0,0,0],Ce=[0,0,0],mt=Qe<.5?Qe*(1+nt):Qe+nt-Qe*nt,Ft=2*Qe-mt,Ie/=360,dt[0]=Ie+1/3,dt[1]=Ie,dt[2]=Ie-1/3,Le=Ge=0;Ge<=2;Le=++Ge)dt[Le]<0&&(dt[Le]+=1),dt[Le]>1&&(dt[Le]-=1),6*dt[Le]<1?Ce[Le]=Ft+(mt-Ft)*6*dt[Le]:2*dt[Le]<1?Ce[Le]=mt:3*dt[Le]<2?Ce[Le]=Ft+(mt-Ft)*(2/3-dt[Le])*6:Ce[Le]=Ft;yt=[pt(Ce[0]*255),pt(Ce[1]*255),pt(Ce[2]*255)],ft=yt[0],Oe=yt[1],ae=yt[2]}return se.length>3?[ft,Oe,ae,se[3]]:[ft,Oe,ae]},D=function(se,ae,Ce){var Oe,Ie,Le,Qe,Ge;return se!==void 0&&se.length>=3&&(Qe=se,se=Qe[0],ae=Qe[1],Ce=Qe[2]),se/=255,ae/=255,Ce/=255,Le=Math.min(se,ae,Ce),ue=Math.max(se,ae,Ce),Ie=(ue+Le)/2,ue===Le?(Ge=0,Oe=Number.NaN):Ge=Ie<.5?(ue-Le)/(ue+Le):(ue-Le)/(2-ue-Le),se===ue?Oe=(ae-Ce)/(ue-Le):ae===ue?Oe=2+(Ce-se)/(ue-Le):Ce===ue&&(Oe=4+(se-ae)/(ue-Le)),Oe*=60,Oe<0&&(Oe+=360),[Oe,Ge,Ie]},B.hsl=function(){return function(se,ae,Ce){Ce.prototype=se.prototype;var Oe=new Ce,Ie=se.apply(Oe,ae);return Object(Ie)===Ie?Ie:Oe}(r,Yr.call(arguments).concat(["hsl"]),function(){})},d.hsl=R,r.prototype.hsl=function(){return D(this._rgb)},Q=function(){var se,ae,Ce,Oe,Ie,Le,Qe,Ge,ft,yt,nt,Ft,mt,dt,Lt,tr,ur,Kt;if(se=Dt(arguments),Ie=se[0],tr=se[1],Kt=se[2],Kt*=255,tr===0)ft=Oe=ae=Kt;else switch(Ie===360&&(Ie=0),Ie>360&&(Ie-=360),Ie<0&&(Ie+=360),Ie/=60,Le=L(Ie),Ce=Ie-Le,Qe=Kt*(1-tr),Ge=Kt*(1-tr*Ce),ur=Kt*(1-tr*(1-Ce)),Le){case 0:yt=[Kt,ur,Qe],ft=yt[0],Oe=yt[1],ae=yt[2];break;case 1:nt=[Ge,Kt,Qe],ft=nt[0],Oe=nt[1],ae=nt[2];break;case 2:Ft=[Qe,Kt,ur],ft=Ft[0],Oe=Ft[1],ae=Ft[2];break;case 3:mt=[Qe,Ge,Kt],ft=mt[0],Oe=mt[1],ae=mt[2];break;case 4:dt=[ur,Qe,Kt],ft=dt[0],Oe=dt[1],ae=dt[2];break;case 5:Lt=[Kt,Qe,Ge],ft=Lt[0],Oe=Lt[1],ae=Lt[2]}return[ft,Oe,ae,se.length>3?se[3]:1]},N=function(){var se,ae,Ce,Oe,Ie,Le,Qe,Ge,ft;return Qe=Dt(arguments),Le=Qe[0],Ce=Qe[1],se=Qe[2],Ie=Math.min(Le,Ce,se),ue=Math.max(Le,Ce,se),ae=ue-Ie,ft=ue/255,ue===0?(Oe=Number.NaN,Ge=0):(Ge=ae/ue,Le===ue&&(Oe=(Ce-se)/ae),Ce===ue&&(Oe=2+(se-Le)/ae),se===ue&&(Oe=4+(Le-Ce)/ae),Oe*=60,Oe<0&&(Oe+=360)),[Oe,Ge,ft]},B.hsv=function(){return function(se,ae,Ce){Ce.prototype=se.prototype;var Oe=new Ce,Ie=se.apply(Oe,ae);return Object(Ie)===Ie?Ie:Oe}(r,Yr.call(arguments).concat(["hsv"]),function(){})},d.hsv=Q,r.prototype.hsv=function(){return N(this._rgb)},Re=function(se){var ae,Ce,Oe;return Jt(se)==="number"&&se>=0&&se<=16777215?(Oe=se>>16,Ce=se>>8&255,ae=se&255,[Oe,Ce,ae,1]):(console.warn("unknown num color: "+se),[0,0,0,1])},_e=function(){var se,ae,Ce,Oe;return Oe=Dt(arguments),Ce=Oe[0],ae=Oe[1],se=Oe[2],(Ce<<16)+(ae<<8)+se},B.num=function(se){return new r(se,"num")},r.prototype.num=function(se){return se==null&&(se="rgb"),_e(this._rgb,se)},d.num=Re,u.push({p:1,test:function(se){if(arguments.length===1&&Jt(se)==="number"&&se>=0&&se<=16777215)return"num"}}),M=function(){var se,ae,Ce,Oe,Ie,Le,Qe,Ge,ft,yt,nt,Ft,mt,dt,Lt,tr,ur,Kt,In,on;if(Ce=Dt(arguments),Ge=Ce[0],Ie=Ce[1],ae=Ce[2],Ie=Ie/100,Qe=Qe/100*255,se=Ie*255,Ie===0)Ft=Qe=Oe=ae;else switch(Ge===360&&(Ge=0),Ge>360&&(Ge-=360),Ge<0&&(Ge+=360),Ge/=60,ft=L(Ge),Le=Ge-ft,yt=ae*(1-Ie),nt=yt+se*(1-Le),In=yt+se*Le,on=yt+se,ft){case 0:mt=[on,In,yt],Ft=mt[0],Qe=mt[1],Oe=mt[2];break;case 1:dt=[nt,on,yt],Ft=dt[0],Qe=dt[1],Oe=dt[2];break;case 2:Lt=[yt,on,In],Ft=Lt[0],Qe=Lt[1],Oe=Lt[2];break;case 3:tr=[yt,nt,on],Ft=tr[0],Qe=tr[1],Oe=tr[2];break;case 4:ur=[In,yt,on],Ft=ur[0],Qe=ur[1],Oe=ur[2];break;case 5:Kt=[on,yt,nt],Ft=Kt[0],Qe=Kt[1],Oe=Kt[2]}return[Ft,Qe,Oe,Ce.length>3?Ce[3]:1]},gt=function(){var se,ae,Ce,Oe,Ie,Le,Qe,Ge,ft;return ft=Dt(arguments),Ge=ft[0],Ie=ft[1],ae=ft[2],Qe=Math.min(Ge,Ie,ae),ue=Math.max(Ge,Ie,ae),Oe=ue-Qe,Ce=Oe*100/255,se=Qe/(255-Oe)*100,Oe===0?Le=Number.NaN:(Ge===ue&&(Le=(Ie-ae)/Oe),Ie===ue&&(Le=2+(ae-Ge)/Oe),ae===ue&&(Le=4+(Ge-Ie)/Oe),Le*=60,Le<0&&(Le+=360)),[Le,Ce,se]},B.hcg=function(){return function(se,ae,Ce){Ce.prototype=se.prototype;var Oe=new Ce,Ie=se.apply(Oe,ae);return Object(Ie)===Ie?Ie:Oe}(r,Yr.call(arguments).concat(["hcg"]),function(){})},d.hcg=M,r.prototype.hcg=function(){return gt(this._rgb)},I=function(se){var ae,Ce,Oe,Ie,Le,Qe,Ge,ft;if(se=se.toLowerCase(),B.colors!=null&&B.colors[se])return H(B.colors[se]);if(Le=se.match(/rgb\(\s*(\-?\d+),\s*(\-?\d+)\s*,\s*(\-?\d+)\s*\)/)){for(Ge=Le.slice(1,4),Ie=Qe=0;Qe<=2;Ie=++Qe)Ge[Ie]=+Ge[Ie];Ge[3]=1}else if(Le=se.match(/rgba\(\s*(\-?\d+),\s*(\-?\d+)\s*,\s*(\-?\d+)\s*,\s*([01]|[01]?\.\d+)\)/))for(Ge=Le.slice(1,5),Ie=ft=0;ft<=3;Ie=++ft)Ge[Ie]=+Ge[Ie];else if(Le=se.match(/rgb\(\s*(\-?\d+(?:\.\d+)?)%,\s*(\-?\d+(?:\.\d+)?)%\s*,\s*(\-?\d+(?:\.\d+)?)%\s*\)/)){for(Ge=Le.slice(1,4),Ie=ae=0;ae<=2;Ie=++ae)Ge[Ie]=pt(Ge[Ie]*2.55);Ge[3]=1}else if(Le=se.match(/rgba\(\s*(\-?\d+(?:\.\d+)?)%,\s*(\-?\d+(?:\.\d+)?)%\s*,\s*(\-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)/)){for(Ge=Le.slice(1,5),Ie=Ce=0;Ce<=2;Ie=++Ce)Ge[Ie]=pt(Ge[Ie]*2.55);Ge[3]=+Ge[3]}else(Le=se.match(/hsl\(\s*(\-?\d+(?:\.\d+)?),\s*(\-?\d+(?:\.\d+)?)%\s*,\s*(\-?\d+(?:\.\d+)?)%\s*\)/))?(Oe=Le.slice(1,4),Oe[1]*=.01,Oe[2]*=.01,Ge=R(Oe),Ge[3]=1):(Le=se.match(/hsla\(\s*(\-?\d+(?:\.\d+)?),\s*(\-?\d+(?:\.\d+)?)%\s*,\s*(\-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)/))&&(Oe=Le.slice(1,4),Oe[1]*=.01,Oe[2]*=.01,Ge=R(Oe),Ge[3]=+Le[4]);return Ge},lt=function(se){var ae;if(ae=se[3]<1?"rgba":"rgb",ae==="rgb")return ae+"("+se.slice(0,3).map(pt).join(",")+")";if(ae==="rgba")return ae+"("+se.slice(0,3).map(pt).join(",")+","+se[3]+")"},At=function(se){return pt(se*100)/100},j=function(se,ae){var Ce;return Ce=ae<1?"hsla":"hsl",se[0]=At(se[0]||0),se[1]=At(se[1]*100)+"%",se[2]=At(se[2]*100)+"%",Ce==="hsla"&&(se[3]=ae),Ce+"("+se.join(",")+")"},d.css=function(se){return I(se)},B.css=function(){return function(se,ae,Ce){Ce.prototype=se.prototype;var Oe=new Ce,Ie=se.apply(Oe,ae);return Object(Ie)===Ie?Ie:Oe}(r,Yr.call(arguments).concat(["css"]),function(){})},r.prototype.css=function(se){if(se==null&&(se="rgb"),se.slice(0,3)==="rgb")return lt(this._rgb);if(se.slice(0,3)==="hsl")return j(this.hsl(),this.alpha())},d.named=function(se){return H(ir[se])},u.push({p:5,test:function(se){if(arguments.length===1&&ir[se]!=null)return"named"}}),r.prototype.name=function(se){var ae,Ce;arguments.length&&(ir[se]&&(this._rgb=H(ir[se])),this._rgb[3]=1),ae=this.hex("rgb");for(Ce in ir)if(ae===ir[Ce])return Ce;return ae},re=function(){var se,ae,Ce,Oe;return Oe=Dt(arguments),Ce=Oe[0],se=Oe[1],ae=Oe[2],ae=ae*n,[Ce,x(ae)*se,jr(ae)*se]},fe=function(){var se,ae,Ce,Oe,Ie,Le,Qe,Ge,ft,yt,nt;return Ce=Dt(arguments),Ge=Ce[0],Ie=Ce[1],Qe=Ce[2],yt=re(Ge,Ie,Qe),se=yt[0],ae=yt[1],Oe=yt[2],nt=q(se,ae,Oe),ft=nt[0],Le=nt[1],Oe=nt[2],[ft,Le,Oe,Ce.length>3?Ce[3]:1]},ee=function(){var se,ae,Ce,Oe,Ie,Le;return Le=Dt(arguments),Ie=Le[0],se=Le[1],ae=Le[2],Ce=yr(se*se+ae*ae),Oe=(A(ae,se)*a+360)%360,pt(Ce*1e4)===0&&(Oe=Number.NaN),[Ie,Ce,Oe]},pe=function(){var se,ae,Ce,Oe,Ie,Le,Qe;return Le=Dt(arguments),Ie=Le[0],Ce=Le[1],ae=Le[2],Qe=Y(Ie,Ce,ae),Oe=Qe[0],se=Qe[1],ae=Qe[2],ee(Oe,se,ae)},B.lch=function(){var se;return se=Dt(arguments),new r(se,"lch")},B.hcl=function(){var se;return se=Dt(arguments),new r(se,"hcl")},d.lch=fe,d.hcl=function(){var se,ae,Ce,Oe;return Oe=Dt(arguments),ae=Oe[0],se=Oe[1],Ce=Oe[2],fe([Ce,se,ae])},r.prototype.lch=function(){return pe(this._rgb)},r.prototype.hcl=function(){return pe(this._rgb).reverse()},ze=function(se){var ae,Ce,Oe,Ie,Le,Qe,Ge,ft,yt;return se==null&&(se="rgb"),ft=Dt(arguments),Ge=ft[0],Ie=ft[1],ae=ft[2],Ge=Ge/255,Ie=Ie/255,ae=ae/255,Le=1-Math.max(Ge,Math.max(Ie,ae)),Oe=Le<1?1/(1-Le):0,Ce=(1-Ge-Le)*Oe,Qe=(1-Ie-Le)*Oe,yt=(1-ae-Le)*Oe,[Ce,Qe,yt,Le]},w=function(){var se,ae,Ce,Oe,Ie,Le,Qe,Ge,ft;return ae=Dt(arguments),Oe=ae[0],Qe=ae[1],ft=ae[2],Le=ae[3],se=ae.length>4?ae[4]:1,Le===1?[0,0,0,se]:(Ge=Oe>=1?0:255*(1-Oe)*(1-Le),Ie=Qe>=1?0:255*(1-Qe)*(1-Le),Ce=ft>=1?0:255*(1-ft)*(1-Le),[Ge,Ie,Ce,se])},d.cmyk=function(){return w(Dt(arguments))},B.cmyk=function(){return function(se,ae,Ce){Ce.prototype=se.prototype;var Oe=new Ce,Ie=se.apply(Oe,ae);return Object(Ie)===Ie?Ie:Oe}(r,Yr.call(arguments).concat(["cmyk"]),function(){})},r.prototype.cmyk=function(){return ze(this._rgb)},d.gl=function(){var se,ae,Ce,Oe,Ie;for(Oe=function(){var Le,Qe;Le=Dt(arguments),Qe=[];for(ae in Le)Ie=Le[ae],Qe.push(Ie);return Qe}.apply(this,arguments),se=Ce=0;Ce<=2;se=++Ce)Oe[se]*=255;return Oe},B.gl=function(){return function(se,ae,Ce){Ce.prototype=se.prototype;var Oe=new Ce,Ie=se.apply(Oe,ae);return Object(Ie)===Ie?Ie:Oe}(r,Yr.call(arguments).concat(["gl"]),function(){})},r.prototype.gl=function(){var se;return se=this._rgb,[se[0]/255,se[1]/255,se[2]/255,se[3]]},be=function(se,ae,Ce){var Oe;return Oe=Dt(arguments),se=Oe[0],ae=Oe[1],Ce=Oe[2],se=De(se),ae=De(ae),Ce=De(Ce),.2126*se+.7152*ae+.0722*Ce},De=function(se){return se/=255,se<=.03928?se/12.92:Ve((se+.055)/1.055,2.4)},J=function(se,ae,Ce,Oe){var Ie,Le;return Ie=se._rgb,Le=ae._rgb,new r(Ie[0]+Ce*(Le[0]-Ie[0]),Ie[1]+Ce*(Le[1]-Ie[1]),Ie[2]+Ce*(Le[2]-Ie[2]),Oe)},p.push(["rgb",J]),r.prototype.luminance=function(se,ae){var Ce,Oe,Ie,Le,Qe;return ae==null&&(ae="rgb"),arguments.length?(Le=this._rgb,se===0?Le=[0,0,0,this._rgb[3]]:se===1?Le=[255,255,255,this[3]]:(Ce=be(this._rgb),Oe=1e-7,Ie=20,Qe=function(Ge,ft){var yt,nt;return nt=Ge.interpolate(ft,.5,ae),yt=nt.luminance(),Math.abs(se-yt)<Oe||!Ie--?nt:yt>se?Qe(Ge,nt):Qe(nt,ft)},Ce>se?Le=Qe(B("black"),this).rgba():Le=Qe(this,B("white")).rgba()),B(Le).alpha(this.alpha())):be(this._rgb)},Sr=function(se){var ae,Ce,Oe,Ie;return Ie=se/100,Ie<66?(Oe=255,Ce=-155.25485562709179-.44596950469579133*(Ce=Ie-2)+104.49216199393888*le(Ce),ae=Ie<20?0:-254.76935184120902+.8274096064007395*(ae=Ie-10)+115.67994401066147*le(ae)):(Oe=351.97690566805693+.114206453784165*(Oe=Ie-55)-40.25366309332127*le(Oe),Ce=325.4494125711974+.07943456536662342*(Ce=Ie-50)-28.0852963507957*le(Ce),ae=255),[Oe,Ce,ae]},he=function(){var se,ae,Ce,Oe,Ie,Le,Qe,Ge;for(Le=Dt(arguments),Ie=Le[0],Le[1],se=Le[2],Oe=1e3,Ce=4e4,ae=.4;Ce-Oe>ae;)Ge=(Ce+Oe)*.5,Qe=Sr(Ge),Qe[2]/Qe[0]>=se/Ie?Ce=Ge:Oe=Ge;return pt(Ge)},B.temperature=B.kelvin=function(){return function(se,ae,Ce){Ce.prototype=se.prototype;var Oe=new Ce,Ie=se.apply(Oe,ae);return Object(Ie)===Ie?Ie:Oe}(r,Yr.call(arguments).concat(["temperature"]),function(){})},d.temperature=d.kelvin=d.K=Sr,r.prototype.temperature=function(){return he(this._rgb)},r.prototype.kelvin=r.prototype.temperature,B.contrast=function(se,ae){var Ce,Oe,Ie,Le;return((Ie=Jt(se))==="string"||Ie==="number")&&(se=new r(se)),((Le=Jt(ae))==="string"||Le==="number")&&(ae=new r(ae)),Ce=se.luminance(),Oe=ae.luminance(),Ce>Oe?(Ce+.05)/(Oe+.05):(Oe+.05)/(Ce+.05)},B.distance=function(se,ae,Ce){var Oe,Ie,Le,Qe,Ge,ft,yt;Ce==null&&(Ce="lab"),((Ge=Jt(se))==="string"||Ge==="number")&&(se=new r(se)),((ft=Jt(ae))==="string"||ft==="number")&&(ae=new r(ae)),Le=se.get(Ce),Qe=ae.get(Ce),yt=0;for(Ie in Le)Oe=(Le[Ie]||0)-(Qe[Ie]||0),yt+=Oe*Oe;return Math.sqrt(yt)},B.deltaE=function(se,ae,Ce,Oe){var Ie,Le,Qe,Ge,ft,yt,nt,Ft,mt,dt,Lt,tr,ur,Kt,In,on,Ii,vo,Tr,wt,Gt,$r,Hr,Mr,we,ne,ce;for(Ce==null&&(Ce=1),Oe==null&&(Oe=1),((Ii=Jt(se))==="string"||Ii==="number")&&(se=new r(se)),((vo=Jt(ae))==="string"||vo==="number")&&(ae=new r(ae)),Tr=se.lab(),Ie=Tr[0],Qe=Tr[1],ft=Tr[2],wt=ae.lab(),Le=wt[0],Ge=wt[1],yt=wt[2],nt=yr(Qe*Qe+ft*ft),Ft=yr(Ge*Ge+yt*yt),Hr=Ie<16?.511:.040975*Ie/(1+.01765*Ie),Gt=.0638*nt/(1+.0131*nt)+.638,on=nt<1e-6?0:A(ft,Qe)*180/o;on<0;)on+=360;for(;on>=360;)on-=360;return Mr=on>=164&&on<=345?.56+h(.2*x(o*(on+168)/180)):.36+h(.4*x(o*(on+35)/180)),mt=nt*nt*nt*nt,In=yr(mt/(mt+1900)),$r=Gt*(In*Mr+1-In),Kt=Ie-Le,ur=nt-Ft,Lt=Qe-Ge,tr=ft-yt,dt=Lt*Lt+tr*tr-ur*ur,we=Kt/(Ce*Hr),ne=ur/(Oe*Gt),ce=$r,yr(we*we+ne*ne+dt/(ce*ce))},r.prototype.get=function(se){var ae,Ce,Oe,Ie,Le,Qe;return Oe=this,Le=se.split("."),Ie=Le[0],ae=Le[1],Qe=Oe[Ie](),ae?(Ce=Ie.indexOf(ae),Ce>-1?Qe[Ce]:console.warn("unknown channel "+ae+" in mode "+Ie)):Qe},r.prototype.set=function(se,ae){var Ce,Oe,Ie,Le,Qe,Ge;if(Ie=this,Qe=se.split("."),Le=Qe[0],Ce=Qe[1],Ce)if(Ge=Ie[Le](),Oe=Le.indexOf(Ce),Oe>-1)if(Jt(ae)==="string")switch(ae.charAt(0)){case"+":Ge[Oe]+=+ae;break;case"-":Ge[Oe]+=+ae;break;case"*":Ge[Oe]*=+ae.substr(1);break;case"/":Ge[Oe]/=+ae.substr(1);break;default:Ge[Oe]=+ae}else Ge[Oe]=ae;else console.warn("unknown channel "+Ce+" in mode "+Le);else Ge=ae;return B(Ge,Le).alpha(Ie.alpha())},r.prototype.clipped=function(){return this._rgb._clipped||!1},r.prototype.alpha=function(se){return arguments.length?B.rgb([this._rgb[0],this._rgb[1],this._rgb[2],se]):this._rgb[3]},r.prototype.darken=function(se){var ae,Ce;return se==null&&(se=1),Ce=this,ae=Ce.lab(),ae[0]-=i.Kn*se,B.lab(ae).alpha(Ce.alpha())},r.prototype.brighten=function(se){return se==null&&(se=1),this.darken(-se)},r.prototype.darker=r.prototype.darken,r.prototype.brighter=r.prototype.brighten,r.prototype.saturate=function(se){var ae,Ce;return se==null&&(se=1),Ce=this,ae=Ce.lch(),ae[1]+=se*i.Kn,ae[1]<0&&(ae[1]=0),B.lch(ae).alpha(Ce.alpha())},r.prototype.desaturate=function(se){return se==null&&(se=1),this.saturate(-se)},r.prototype.premultiply=function(){var se,ae;return ae=this.rgb(),se=this.alpha(),B(ae[0]*se,ae[1]*se,ae[2]*se,se)},m=function(se,ae,Ce){if(!m[Ce])throw"unknown blend mode "+Ce;return m[Ce](se,ae)},v=function(se){return function(ae,Ce){var Oe,Ie;return Oe=B(Ce).rgb(),Ie=B(ae).rgb(),B(se(Oe,Ie),"rgb")}},O=function(se){return function(ae,Ce){var Oe,Ie,Le;for(Le=[],Oe=Ie=0;Ie<=3;Oe=++Ie)Le[Oe]=se(ae[Oe],Ce[Oe]);return Le}},Te=function(se,ae){return se},Ne=function(se,ae){return se*ae/255},F=function(se,ae){return se>ae?ae:se},de=function(se,ae){return se>ae?se:ae},Bn=function(se,ae){return 255*(1-(1-se/255)*(1-ae/255))},je=function(se,ae){return ae<128?2*se*ae/255:255*(1-2*(1-se/255)*(1-ae/255))},b=function(se,ae){return 255*(1-(1-ae/255)/(se/255))},k=function(se,ae){return se===255||(se=255*(ae/255)/(1-se/255),se>255)?255:se},m.normal=v(O(Te)),m.multiply=v(O(Ne)),m.screen=v(O(Bn)),m.overlay=v(O(je)),m.darken=v(O(F)),m.lighten=v(O(de)),m.dodge=v(O(k)),m.burn=v(O(b)),B.blend=m,B.analyze=function(se){var ae,Ce,Oe,Ie;for(Oe={min:Number.MAX_VALUE,max:Number.MAX_VALUE*-1,sum:0,values:[],count:0},Ce=0,ae=se.length;Ce<ae;Ce++)Ie=se[Ce],Ie!=null&&!isNaN(Ie)&&(Oe.values.push(Ie),Oe.sum+=Ie,Ie<Oe.min&&(Oe.min=Ie),Ie>Oe.max&&(Oe.max=Ie),Oe.count+=1);return Oe.domain=[Oe.min,Oe.max],Oe.limits=function(Le,Qe){return B.limits(Oe,Le,Qe)},Oe},B.scale=function(se,ae){var Ce,Oe,Ie,Le,Qe,Ge,ft,yt,nt,Ft,mt,dt,Lt,tr,ur,Kt,In,on,Ii,vo,Tr;return nt="rgb",Ft=B("#ccc"),tr=0,Qe=[0,1],Lt=[],dt=[0,0],Ce=!1,Ie=[],mt=!1,yt=0,ft=1,Le=!1,Oe={},ur=!0,Ge=1,vo=function(wt){var Gt,$r,Hr,Mr,we,ne;if(wt==null&&(wt=["#fff","#000"]),wt!=null&&Jt(wt)==="string"&&B.brewer!=null&&(wt=B.brewer[wt]||B.brewer[wt.toLowerCase()]||wt),Jt(wt)==="array"){for(wt.length===1&&(wt=[wt[0],wt[0]]),wt=wt.slice(0),Gt=Hr=0,Mr=wt.length-1;0<=Mr?Hr<=Mr:Hr>=Mr;Gt=0<=Mr?++Hr:--Hr)$r=wt[Gt],Jt($r)==="string"&&(wt[Gt]=B($r));for(Lt.length=0,Gt=ne=0,we=wt.length-1;0<=we?ne<=we:ne>=we;Gt=0<=we?++ne:--ne)Lt.push(Gt/(wt.length-1))}return Ii(),Ie=wt},In=function(wt){var Gt,$r;if(Ce!=null){for($r=Ce.length-1,Gt=0;Gt<$r&&wt>=Ce[Gt];)Gt++;return Gt-1}return 0},Tr=function(wt){return wt},on=function(wt,Gt){var $r,Hr,Mr,we,ne,ce,me,ke;if(Gt==null&&(Gt=!1),isNaN(wt)||wt===null)return Ft;if(Gt?ke=wt:Ce&&Ce.length>2?($r=In(wt),ke=$r/(Ce.length-2)):ft!==yt?ke=(wt-yt)/(ft-yt):ke=1,Gt||(ke=Tr(ke)),Ge!==1&&(ke=Ve(ke,Ge)),ke=dt[0]+ke*(1-dt[0]-dt[1]),ke=Math.min(1,Math.max(0,ke)),we=Math.floor(ke*1e4),ur&&Oe[we])Hr=Oe[we];else{if(Jt(Ie)==="array")for(Mr=ne=0,me=Lt.length-1;0<=me?ne<=me:ne>=me;Mr=0<=me?++ne:--ne){if(ce=Lt[Mr],ke<=ce){Hr=Ie[Mr];break}if(ke>=ce&&Mr===Lt.length-1){Hr=Ie[Mr];break}if(ke>ce&&ke<Lt[Mr+1]){ke=(ke-ce)/(Lt[Mr+1]-ce),Hr=B.interpolate(Ie[Mr],Ie[Mr+1],ke,nt);break}}else Jt(Ie)==="function"&&(Hr=Ie(ke));ur&&(Oe[we]=Hr)}return Hr},Ii=function(){return Oe={}},vo(se),Kt=function(wt){var Gt;return Gt=B(on(wt)),mt&&Gt[mt]?Gt[mt]():Gt},Kt.classes=function(wt){var Gt;return wt!=null?(Jt(wt)==="array"?(Ce=wt,Qe=[wt[0],wt[wt.length-1]]):(Gt=B.analyze(Qe),wt===0?Ce=[Gt.min,Gt.max]:Ce=B.limits(Gt,"e",wt)),Kt):Ce},Kt.domain=function(wt){var Gt,$r,Hr,Mr,we,ne,ce;if(!arguments.length)return Qe;if(yt=wt[0],ft=wt[wt.length-1],Lt=[],Hr=Ie.length,wt.length===Hr&&yt!==ft)for(we=0,Mr=wt.length;we<Mr;we++)$r=wt[we],Lt.push(($r-yt)/(ft-yt));else for(Gt=ce=0,ne=Hr-1;0<=ne?ce<=ne:ce>=ne;Gt=0<=ne?++ce:--ce)Lt.push(Gt/(Hr-1));return Qe=[yt,ft],Kt},Kt.mode=function(wt){return arguments.length?(nt=wt,Ii(),Kt):nt},Kt.range=function(wt,Gt){return vo(wt,Gt),Kt},Kt.out=function(wt){return mt=wt,Kt},Kt.spread=function(wt){return arguments.length?(tr=wt,Kt):tr},Kt.correctLightness=function(wt){return wt==null&&(wt=!0),Le=wt,Ii(),Le?Tr=function(Gt){var $r,Hr,Mr,we,ne,ce,me,ke,He;for($r=on(0,!0).lab()[0],Hr=on(1,!0).lab()[0],me=$r>Hr,Mr=on(Gt,!0).lab()[0],ne=$r+(Hr-$r)*Gt,we=Mr-ne,ke=0,He=1,ce=20;Math.abs(we)>.01&&ce-- >0;)(function(){return me&&(we*=-1),we<0?(ke=Gt,Gt+=(He-Gt)*.5):(He=Gt,Gt+=(ke-Gt)*.5),Mr=on(Gt,!0).lab()[0],we=Mr-ne})();return Gt}:Tr=function(Gt){return Gt},Kt},Kt.padding=function(wt){return wt!=null?(Jt(wt)==="number"&&(wt=[wt,wt]),dt=wt,Kt):dt},Kt.colors=function(wt,Gt){var $r,Hr,Mr,we,ne,ce,me,ke;if(arguments.length<2&&(Gt="hex"),ne=[],arguments.length===0)ne=Ie.slice(0);else if(wt===1)ne=[Kt(.5)];else if(wt>1)Hr=Qe[0],$r=Qe[1]-Hr,ne=function(){ce=[];for(var He=0;0<=wt?He<wt:He>wt;0<=wt?He++:He--)ce.push(He);return ce}.apply(this).map(function(He){return Kt(Hr+He/(wt-1)*$r)});else{if(se=[],me=[],Ce&&Ce.length>2)for(Mr=ke=1,we=Ce.length;1<=we?ke<we:ke>we;Mr=1<=we?++ke:--ke)me.push((Ce[Mr-1]+Ce[Mr])*.5);else me=Qe;ne=me.map(function(He){return Kt(He)})}return B[Gt]&&(ne=ne.map(function(He){return He[Gt]()})),ne},Kt.cache=function(wt){return wt!=null?(ur=wt,Kt):ur},Kt.gamma=function(wt){return wt!=null?(Ge=wt,Kt):Ge},Kt.nodata=function(wt){return wt!=null?(Ft=B(wt),Kt):Ft},Kt},B.scales==null&&(B.scales={}),B.scales.cool=function(){return B.scale([B.hsl(180,1,.9),B.hsl(250,.7,.4)])},B.scales.hot=function(){return B.scale(["#000","#f00","#ff0","#fff"],[0,.25,.75,1]).mode("rgb")},B.analyze=function(se,ae,Ce){var Oe,Ie,Le,Qe,Ge,ft,yt;if(Ge={min:Number.MAX_VALUE,max:Number.MAX_VALUE*-1,sum:0,values:[],count:0},Ce==null&&(Ce=function(){return!0}),Oe=function(nt){nt!=null&&!isNaN(nt)&&(Ge.values.push(nt),Ge.sum+=nt,nt<Ge.min&&(Ge.min=nt),nt>Ge.max&&(Ge.max=nt),Ge.count+=1)},yt=function(nt,Ft){if(Ce(nt,Ft))return ae!=null&&Jt(ae)==="function"?Oe(ae(nt)):ae!=null&&Jt(ae)==="string"||Jt(ae)==="number"?Oe(nt[ae]):Oe(nt)},Jt(se)==="array")for(Qe=0,Le=se.length;Qe<Le;Qe++)ft=se[Qe],yt(ft);else for(Ie in se)ft=se[Ie],yt(ft,Ie);return Ge.domain=[Ge.min,Ge.max],Ge.limits=function(nt,Ft){return B.limits(Ge,nt,Ft)},Ge},B.limits=function(se,ae,Ce){var Oe,Ie,Le,Qe,Ge,ft,yt,nt,Ft,mt,dt,Lt,tr,ur,Kt,In,on,Ii,vo,Tr,wt,Gt,$r,Hr,Mr,we,ne,ce,me,ke,He,tt,St,qt,rr,Rr,Vr,si,Ni,No,Oa,sa,ai,Fo,To,Ol,Pl,Il,$p,Hp,js,rf,Gp,nl,Lo;if(ae==null&&(ae="equal"),Ce==null&&(Ce=7),Jt(se)==="array"&&(se=B.analyze(se)),Mr=se.min,ue=se.max,se.sum,nl=se.values.sort(function(rg,kh){return rg-kh}),Ce===1)return[Mr,ue];if($r=[],ae.substr(0,1)==="c"&&($r.push(Mr),$r.push(ue)),ae.substr(0,1)==="e"){for($r.push(Mr),Tr=He=1,rr=Ce-1;1<=rr?He<=rr:He>=rr;Tr=1<=rr?++He:--He)$r.push(Mr+Tr/Ce*(ue-Mr));$r.push(ue)}else if(ae.substr(0,1)==="l"){if(Mr<=0)throw"Logarithmic scales are only possible for values > 0";for(we=Math.LOG10E*le(Mr),Hr=Math.LOG10E*le(ue),$r.push(Mr),Tr=Lo=1,Rr=Ce-1;1<=Rr?Lo<=Rr:Lo>=Rr;Tr=1<=Rr?++Lo:--Lo)$r.push(Ve(10,we+Tr/Ce*(Hr-we)));$r.push(ue)}else if(ae.substr(0,1)==="q"){for($r.push(Mr),Tr=Oe=1,sa=Ce-1;1<=sa?Oe<=sa:Oe>=sa;Tr=1<=sa?++Oe:--Oe)tt=(nl.length-1)*Tr/Ce,St=L(tt),St===tt?$r.push(nl[St]):(qt=tt-St,$r.push(nl[St]*(1-qt)+nl[St+1]*qt));$r.push(ue)}else if(ae.substr(0,1)==="k"){for(ce=nl.length,ur=new Array(ce),Ii=new Array(Ce),Hp=!0,me=0,In=null,In=[],In.push(Mr),Tr=Ie=1,ai=Ce-1;1<=ai?Ie<=ai:Ie>=ai;Tr=1<=ai?++Ie:--Ie)In.push(Mr+Tr/Ce*(ue-Mr));for(In.push(ue);Hp;){for(wt=Le=0,Fo=Ce-1;0<=Fo?Le<=Fo:Le>=Fo;wt=0<=Fo?++Le:--Le)Ii[wt]=0;for(Tr=Qe=0,To=ce-1;0<=To?Qe<=To:Qe>=To;Tr=0<=To?++Qe:--Qe){for(Gp=nl[Tr],ne=Number.MAX_VALUE,wt=Ge=0,Ol=Ce-1;0<=Ol?Ge<=Ol:Ge>=Ol;wt=0<=Ol?++Ge:--Ge)vo=h(In[wt]-Gp),vo<ne&&(ne=vo,Kt=wt);Ii[Kt]++,ur[Tr]=Kt}for(ke=new Array(Ce),wt=ft=0,Pl=Ce-1;0<=Pl?ft<=Pl:ft>=Pl;wt=0<=Pl?++ft:--ft)ke[wt]=null;for(Tr=yt=0,Il=ce-1;0<=Il?yt<=Il:yt>=Il;Tr=0<=Il?++yt:--yt)on=ur[Tr],ke[on]===null?ke[on]=nl[Tr]:ke[on]+=nl[Tr];for(wt=nt=0,$p=Ce-1;0<=$p?nt<=$p:nt>=$p;wt=0<=$p?++nt:--nt)ke[wt]*=1/Ii[wt];for(Hp=!1,wt=Ft=0,Vr=Ce-1;0<=Vr?Ft<=Vr:Ft>=Vr;wt=0<=Vr?++Ft:--Ft)if(ke[wt]!==In[Tr]){Hp=!0;break}In=ke,me++,me>200&&(Hp=!1)}for(Gt={},wt=mt=0,si=Ce-1;0<=si?mt<=si:mt>=si;wt=0<=si?++mt:--mt)Gt[wt]=[];for(Tr=dt=0,Ni=ce-1;0<=Ni?dt<=Ni:dt>=Ni;Tr=0<=Ni?++dt:--dt)on=ur[Tr],Gt[on].push(nl[Tr]);for(js=[],wt=Lt=0,No=Ce-1;0<=No?Lt<=No:Lt>=No;wt=0<=No?++Lt:--Lt)js.push(Gt[wt][0]),js.push(Gt[wt][Gt[wt].length-1]);for(js=js.sort(function(rg,kh){return rg-kh}),$r.push(js[0]),Tr=tr=1,Oa=js.length-1;tr<=Oa;Tr=tr+=2)rf=js[Tr],!isNaN(rf)&&$r.indexOf(rf)===-1&&$r.push(rf)}return $r},V=function(se,ae,Ce){var Oe,Ie,Le,Qe;return Oe=Dt(arguments),se=Oe[0],ae=Oe[1],Ce=Oe[2],isNaN(se)&&(se=0),se/=360,se<1/3?(Ie=(1-ae)/3,Qe=(1+ae*x(l*se)/x(s-l*se))/3,Le=1-(Ie+Qe)):se<2/3?(se-=1/3,Qe=(1-ae)/3,Le=(1+ae*x(l*se)/x(s-l*se))/3,Ie=1-(Qe+Le)):(se-=2/3,Le=(1-ae)/3,Ie=(1+ae*x(l*se)/x(s-l*se))/3,Qe=1-(Le+Ie)),Qe=ie(Ce*Qe*3),Le=ie(Ce*Le*3),Ie=ie(Ce*Ie*3),[Qe*255,Le*255,Ie*255,Oe.length>3?Oe[3]:1]},U=function(){var se,ae,Ce,Oe,Ie,Le,Qe,Ge;return Qe=Dt(arguments),Le=Qe[0],ae=Qe[1],se=Qe[2],l=Math.PI*2,Le/=255,ae/=255,se/=255,Ie=Math.min(Le,ae,se),Oe=(Le+ae+se)/3,Ge=1-Ie/Oe,Ge===0?Ce=0:(Ce=(Le-ae+(Le-se))/2,Ce/=Math.sqrt((Le-ae)*(Le-ae)+(Le-se)*(ae-se)),Ce=Math.acos(Ce),se>ae&&(Ce=l-Ce),Ce/=l),[Ce*360,Ge,Oe]},B.hsi=function(){return function(se,ae,Ce){Ce.prototype=se.prototype;var Oe=new Ce,Ie=se.apply(Oe,ae);return Object(Ie)===Ie?Ie:Oe}(r,Yr.call(arguments).concat(["hsi"]),function(){})},d.hsi=V,r.prototype.hsi=function(){return U(this._rgb)},X=function(se,ae,Ce,Oe){var Ie,Le,Qe,Ge,ft,yt,nt,Ft,mt,dt,Lt,tr;return Oe==="hsl"?(Lt=se.hsl(),tr=ae.hsl()):Oe==="hsv"?(Lt=se.hsv(),tr=ae.hsv()):Oe==="hcg"?(Lt=se.hcg(),tr=ae.hcg()):Oe==="hsi"?(Lt=se.hsi(),tr=ae.hsi()):(Oe==="lch"||Oe==="hcl")&&(Oe="hcl",Lt=se.hcl(),tr=ae.hcl()),Oe.substr(0,1)==="h"&&(Qe=Lt[0],mt=Lt[1],yt=Lt[2],Ge=tr[0],dt=tr[1],nt=tr[2]),!isNaN(Qe)&&!isNaN(Ge)?(Ge>Qe&&Ge-Qe>180?Ie=Ge-(Qe+360):Ge<Qe&&Qe-Ge>180?Ie=Ge+360-Qe:Ie=Ge-Qe,Le=Qe+Ce*Ie):isNaN(Qe)?isNaN(Ge)?Le=Number.NaN:(Le=Ge,(yt===1||yt===0)&&Oe!=="hsv"&&(Ft=dt)):(Le=Qe,(nt===1||nt===0)&&Oe!=="hsv"&&(Ft=mt)),Ft==null&&(Ft=mt+Ce*(dt-mt)),ft=yt+Ce*(nt-yt),B[Oe](Le,Ft,ft)},p=p.concat(function(){var se,ae,Ce,Oe;for(Ce=["hsv","hsl","hsi","hcl","lch","hcg"],Oe=[],ae=0,se=Ce.length;ae<se;ae++)Ae=Ce[ae],Oe.push([Ae,X]);return Oe}()),W=function(se,ae,Ce,Oe){var Ie,Le;return Ie=se.num(),Le=ae.num(),B.num(Ie+(Le-Ie)*Ce,"num")},p.push(["num",W]),_=function(se,ae,Ce,Oe){var Ie,Le;return Ie=se.lab(),Le=ae.lab(),new r(Ie[0]+Ce*(Le[0]-Ie[0]),Ie[1]+Ce*(Le[1]-Ie[1]),Ie[2]+Ce*(Le[2]-Ie[2]),Oe)},p.push(["lab",_])}).call(fQ)})(N9,N9.exports);var E6e=N9.exports,Hm={};const bgt=E6e,wgt="steps",xgt="cubic-bezier",Sgt=["ease","ease-in","ease-out","ease-in-out"],Egt=[...Sgt,xgt,wgt],Dgt=t=>t.indexOf("(")!==-1,D6e=t=>Dgt(t)?t.substring(0,t.indexOf("(")):t;Hm.isTimingFunction=t=>Egt.includes(D6e(t));const k6e=t=>t.match(/\((.*)\)/).pop();Hm.getParenthesisInsides=k6e;Hm.transparentFix=t=>t.map((e,r)=>e==="transparent"?bgt(t[Math.abs(r-1)]).alpha(0).css("hsl"):e);Hm.divToSemiColon=t=>(t.map(e=>(e.type==="div"&&(e.value=";"),e)),t);Hm.roundHslAlpha=(t,e)=>{const r=D6e(t),n=k6e(t).split(",").map(i=>i.indexOf("%")===-1?+Number(i).toFixed(e):i.trim());return t=`${r}(${n.join(", ")})`,t};Hm.errorMsg=t=>`Couldn't parse: ${t} Check the syntax to see if it's correct/supported.`;const kgt=E6e,$fe=Hm;var Ogt=(t,e,r=5,n="lrgb")=>{const i=[];return t=$fe.transparentFix(t),e.forEach(o=>{const s=o.y,a=o.x*100;let l=kgt.mix(t[0],t[1],s,n).css("hsl");l=$fe.roundHslAlpha(l,r),Number(o.x)!==0&&Number(o.x)!==1?i.push(`${l} ${+a.toFixed(2)}%`):i.push(l)}),i};const Pgt=qmt,Igt=hgt,Hfe=Cgt,Ngt=Ogt,LR=Hm;var Fgt=Igt.plugin("easing-gradient",(t={})=>(t.stops||(t.stops=13),function(e){e.walkRules(r=>{r.walkDecls(n=>{if(n.value.includes("-gradient")){const i=Hfe(n.value);i.walk(o=>{if(o.value==="linear-gradient"||o.value==="radial-gradient"){const s=Hfe.stringify(LR.divToSemiColon(o.nodes)).split(";").map(a=>a.trim());s.forEach((a,l)=>{if(LR.isTimingFunction(a))try{const c=[s[l-1],s[l+1]],u=Pgt.easingCoordinates(a,t.stops-1),f=Ngt(c,u,t.alphaDecimals,t.colorMode);o.type="word",s.length===4?o.value=`${o.value}(${s[0]}, ${f.join(", ")})`:o.value=`${o.value}(${f.join(", ")})`,n.value=i.toString()}catch{console.log(LR.errorMsg(n.value))}})}})}})})}));const Tgt=Io(Fgt),Lgt=[{name:"nodejs",version:"0.2.0",date:"2011-08-26",lts:!1,security:!1,v8:"2.3.8.0"},{name:"nodejs",version:"0.3.0",date:"2011-08-26",lts:!1,security:!1,v8:"2.5.1.0"},{name:"nodejs",version:"0.4.0",date:"2011-08-26",lts:!1,security:!1,v8:"3.1.2.0"},{name:"nodejs",version:"0.5.0",date:"2011-08-26",lts:!1,security:!1,v8:"3.1.8.25"},{name:"nodejs",version:"0.6.0",date:"2011-11-04",lts:!1,security:!1,v8:"3.6.6.6"},{name:"nodejs",version:"0.7.0",date:"2012-01-17",lts:!1,security:!1,v8:"3.8.6.0"},{name:"nodejs",version:"0.8.0",date:"2012-06-22",lts:!1,security:!1,v8:"3.11.10.10"},{name:"nodejs",version:"0.9.0",date:"2012-07-20",lts:!1,security:!1,v8:"3.11.10.15"},{name:"nodejs",version:"0.10.0",date:"2013-03-11",lts:!1,security:!1,v8:"3.14.5.8"},{name:"nodejs",version:"0.11.0",date:"2013-03-28",lts:!1,security:!1,v8:"3.17.13.0"},{name:"nodejs",version:"0.12.0",date:"2015-02-06",lts:!1,security:!1,v8:"3.28.73.0"},{name:"nodejs",version:"4.0.0",date:"2015-09-08",lts:!1,security:!1,v8:"4.5.103.30"},{name:"nodejs",version:"4.1.0",date:"2015-09-17",lts:!1,security:!1,v8:"4.5.103.33"},{name:"nodejs",version:"4.2.0",date:"2015-10-12",lts:"Argon",security:!1,v8:"4.5.103.35"},{name:"nodejs",version:"4.3.0",date:"2016-02-09",lts:"Argon",security:!1,v8:"4.5.103.35"},{name:"nodejs",version:"4.4.0",date:"2016-03-08",lts:"Argon",security:!1,v8:"4.5.103.35"},{name:"nodejs",version:"4.5.0",date:"2016-08-16",lts:"Argon",security:!1,v8:"4.5.103.37"},{name:"nodejs",version:"4.6.0",date:"2016-09-27",lts:"Argon",security:!0,v8:"4.5.103.37"},{name:"nodejs",version:"4.7.0",date:"2016-12-06",lts:"Argon",security:!1,v8:"4.5.103.43"},{name:"nodejs",version:"4.8.0",date:"2017-02-21",lts:"Argon",security:!1,v8:"4.5.103.45"},{name:"nodejs",version:"4.9.0",date:"2018-03-28",lts:"Argon",security:!0,v8:"4.5.103.53"},{name:"nodejs",version:"5.0.0",date:"2015-10-29",lts:!1,security:!1,v8:"4.6.85.28"},{name:"nodejs",version:"5.1.0",date:"2015-11-17",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.2.0",date:"2015-12-09",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.3.0",date:"2015-12-15",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.4.0",date:"2016-01-06",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.5.0",date:"2016-01-21",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.6.0",date:"2016-02-09",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.7.0",date:"2016-02-23",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.8.0",date:"2016-03-09",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.9.0",date:"2016-03-16",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.10.0",date:"2016-04-01",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.11.0",date:"2016-04-21",lts:!1,security:!1,v8:"4.6.85.31"},{name:"nodejs",version:"5.12.0",date:"2016-06-23",lts:!1,security:!1,v8:"4.6.85.32"},{name:"nodejs",version:"6.0.0",date:"2016-04-26",lts:!1,security:!1,v8:"5.0.71.35"},{name:"nodejs",version:"6.1.0",date:"2016-05-05",lts:!1,security:!1,v8:"5.0.71.35"},{name:"nodejs",version:"6.2.0",date:"2016-05-17",lts:!1,security:!1,v8:"5.0.71.47"},{name:"nodejs",version:"6.3.0",date:"2016-07-06",lts:!1,security:!1,v8:"5.0.71.52"},{name:"nodejs",version:"6.4.0",date:"2016-08-12",lts:!1,security:!1,v8:"5.0.71.60"},{name:"nodejs",version:"6.5.0",date:"2016-08-26",lts:!1,security:!1,v8:"5.1.281.81"},{name:"nodejs",version:"6.6.0",date:"2016-09-14",lts:!1,security:!1,v8:"5.1.281.83"},{name:"nodejs",version:"6.7.0",date:"2016-09-27",lts:!1,security:!0,v8:"5.1.281.83"},{name:"nodejs",version:"6.8.0",date:"2016-10-12",lts:!1,security:!1,v8:"5.1.281.84"},{name:"nodejs",version:"6.9.0",date:"2016-10-18",lts:"Boron",security:!1,v8:"5.1.281.84"},{name:"nodejs",version:"6.10.0",date:"2017-02-21",lts:"Boron",security:!1,v8:"5.1.281.93"},{name:"nodejs",version:"6.11.0",date:"2017-06-06",lts:"Boron",security:!1,v8:"5.1.281.102"},{name:"nodejs",version:"6.12.0",date:"2017-11-06",lts:"Boron",security:!1,v8:"5.1.281.108"},{name:"nodejs",version:"6.13.0",date:"2018-02-10",lts:"Boron",security:!1,v8:"5.1.281.111"},{name:"nodejs",version:"6.14.0",date:"2018-03-28",lts:"Boron",security:!0,v8:"5.1.281.111"},{name:"nodejs",version:"6.15.0",date:"2018-11-27",lts:"Boron",security:!0,v8:"5.1.281.111"},{name:"nodejs",version:"6.16.0",date:"2018-12-26",lts:"Boron",security:!1,v8:"5.1.281.111"},{name:"nodejs",version:"6.17.0",date:"2019-02-28",lts:"Boron",security:!0,v8:"5.1.281.111"},{name:"nodejs",version:"7.0.0",date:"2016-10-25",lts:!1,security:!1,v8:"5.4.500.36"},{name:"nodejs",version:"7.1.0",date:"2016-11-08",lts:!1,security:!1,v8:"5.4.500.36"},{name:"nodejs",version:"7.2.0",date:"2016-11-22",lts:!1,security:!1,v8:"5.4.500.43"},{name:"nodejs",version:"7.3.0",date:"2016-12-20",lts:!1,security:!1,v8:"5.4.500.45"},{name:"nodejs",version:"7.4.0",date:"2017-01-04",lts:!1,security:!1,v8:"5.4.500.45"},{name:"nodejs",version:"7.5.0",date:"2017-01-31",lts:!1,security:!1,v8:"5.4.500.48"},{name:"nodejs",version:"7.6.0",date:"2017-02-21",lts:!1,security:!1,v8:"5.5.372.40"},{name:"nodejs",version:"7.7.0",date:"2017-02-28",lts:!1,security:!1,v8:"5.5.372.41"},{name:"nodejs",version:"7.8.0",date:"2017-03-29",lts:!1,security:!1,v8:"5.5.372.43"},{name:"nodejs",version:"7.9.0",date:"2017-04-11",lts:!1,security:!1,v8:"5.5.372.43"},{name:"nodejs",version:"7.10.0",date:"2017-05-02",lts:!1,security:!1,v8:"5.5.372.43"},{name:"nodejs",version:"8.0.0",date:"2017-05-30",lts:!1,security:!1,v8:"5.8.283.41"},{name:"nodejs",version:"8.1.0",date:"2017-06-08",lts:!1,security:!1,v8:"5.8.283.41"},{name:"nodejs",version:"8.2.0",date:"2017-07-19",lts:!1,security:!1,v8:"5.8.283.41"},{name:"nodejs",version:"8.3.0",date:"2017-08-08",lts:!1,security:!1,v8:"6.0.286.52"},{name:"nodejs",version:"8.4.0",date:"2017-08-15",lts:!1,security:!1,v8:"6.0.286.52"},{name:"nodejs",version:"8.5.0",date:"2017-09-12",lts:!1,security:!1,v8:"6.0.287.53"},{name:"nodejs",version:"8.6.0",date:"2017-09-26",lts:!1,security:!1,v8:"6.0.287.53"},{name:"nodejs",version:"8.7.0",date:"2017-10-11",lts:!1,security:!1,v8:"6.1.534.42"},{name:"nodejs",version:"8.8.0",date:"2017-10-24",lts:!1,security:!1,v8:"6.1.534.42"},{name:"nodejs",version:"8.9.0",date:"2017-10-31",lts:"Carbon",security:!1,v8:"6.1.534.46"},{name:"nodejs",version:"8.10.0",date:"2018-03-06",lts:"Carbon",security:!1,v8:"6.2.414.50"},{name:"nodejs",version:"8.11.0",date:"2018-03-28",lts:"Carbon",security:!0,v8:"6.2.414.50"},{name:"nodejs",version:"8.12.0",date:"2018-09-10",lts:"Carbon",security:!1,v8:"6.2.414.66"},{name:"nodejs",version:"8.13.0",date:"2018-11-20",lts:"Carbon",security:!1,v8:"6.2.414.72"},{name:"nodejs",version:"8.14.0",date:"2018-11-27",lts:"Carbon",security:!0,v8:"6.2.414.72"},{name:"nodejs",version:"8.15.0",date:"2018-12-26",lts:"Carbon",security:!1,v8:"6.2.414.75"},{name:"nodejs",version:"8.16.0",date:"2019-04-16",lts:"Carbon",security:!1,v8:"6.2.414.77"},{name:"nodejs",version:"8.17.0",date:"2019-12-17",lts:"Carbon",security:!0,v8:"6.2.414.78"},{name:"nodejs",version:"9.0.0",date:"2017-10-31",lts:!1,security:!1,v8:"6.2.414.32"},{name:"nodejs",version:"9.1.0",date:"2017-11-07",lts:!1,security:!1,v8:"6.2.414.32"},{name:"nodejs",version:"9.2.0",date:"2017-11-14",lts:!1,security:!1,v8:"6.2.414.44"},{name:"nodejs",version:"9.3.0",date:"2017-12-12",lts:!1,security:!1,v8:"6.2.414.46"},{name:"nodejs",version:"9.4.0",date:"2018-01-10",lts:!1,security:!1,v8:"6.2.414.46"},{name:"nodejs",version:"9.5.0",date:"2018-01-31",lts:!1,security:!1,v8:"6.2.414.46"},{name:"nodejs",version:"9.6.0",date:"2018-02-21",lts:!1,security:!1,v8:"6.2.414.46"},{name:"nodejs",version:"9.7.0",date:"2018-03-01",lts:!1,security:!1,v8:"6.2.414.46"},{name:"nodejs",version:"9.8.0",date:"2018-03-07",lts:!1,security:!1,v8:"6.2.414.46"},{name:"nodejs",version:"9.9.0",date:"2018-03-21",lts:!1,security:!1,v8:"6.2.414.46"},{name:"nodejs",version:"9.10.0",date:"2018-03-28",lts:!1,security:!0,v8:"6.2.414.46"},{name:"nodejs",version:"9.11.0",date:"2018-04-04",lts:!1,security:!1,v8:"6.2.414.46"},{name:"nodejs",version:"10.0.0",date:"2018-04-24",lts:!1,security:!1,v8:"6.6.346.24"},{name:"nodejs",version:"10.1.0",date:"2018-05-08",lts:!1,security:!1,v8:"6.6.346.27"},{name:"nodejs",version:"10.2.0",date:"2018-05-23",lts:!1,security:!1,v8:"6.6.346.32"},{name:"nodejs",version:"10.3.0",date:"2018-05-29",lts:!1,security:!1,v8:"6.6.346.32"},{name:"nodejs",version:"10.4.0",date:"2018-06-06",lts:!1,security:!1,v8:"6.7.288.43"},{name:"nodejs",version:"10.5.0",date:"2018-06-20",lts:!1,security:!1,v8:"6.7.288.46"},{name:"nodejs",version:"10.6.0",date:"2018-07-04",lts:!1,security:!1,v8:"6.7.288.46"},{name:"nodejs",version:"10.7.0",date:"2018-07-18",lts:!1,security:!1,v8:"6.7.288.49"},{name:"nodejs",version:"10.8.0",date:"2018-08-01",lts:!1,security:!1,v8:"6.7.288.49"},{name:"nodejs",version:"10.9.0",date:"2018-08-15",lts:!1,security:!1,v8:"6.8.275.24"},{name:"nodejs",version:"10.10.0",date:"2018-09-06",lts:!1,security:!1,v8:"6.8.275.30"},{name:"nodejs",version:"10.11.0",date:"2018-09-19",lts:!1,security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.12.0",date:"2018-10-10",lts:!1,security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.13.0",date:"2018-10-30",lts:"Dubnium",security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.14.0",date:"2018-11-27",lts:"Dubnium",security:!0,v8:"6.8.275.32"},{name:"nodejs",version:"10.15.0",date:"2018-12-26",lts:"Dubnium",security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.16.0",date:"2019-05-28",lts:"Dubnium",security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.17.0",date:"2019-10-22",lts:"Dubnium",security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.18.0",date:"2019-12-17",lts:"Dubnium",security:!0,v8:"6.8.275.32"},{name:"nodejs",version:"10.19.0",date:"2020-02-05",lts:"Dubnium",security:!0,v8:"6.8.275.32"},{name:"nodejs",version:"10.20.0",date:"2020-03-26",lts:"Dubnium",security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.21.0",date:"2020-06-02",lts:"Dubnium",security:!0,v8:"6.8.275.32"},{name:"nodejs",version:"10.22.0",date:"2020-07-21",lts:"Dubnium",security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.23.0",date:"2020-10-27",lts:"Dubnium",security:!1,v8:"6.8.275.32"},{name:"nodejs",version:"10.24.0",date:"2021-02-23",lts:"Dubnium",security:!0,v8:"6.8.275.32"},{name:"nodejs",version:"11.0.0",date:"2018-10-23",lts:!1,security:!1,v8:"7.0.276.28"},{name:"nodejs",version:"11.1.0",date:"2018-10-30",lts:!1,security:!1,v8:"7.0.276.32"},{name:"nodejs",version:"11.2.0",date:"2018-11-15",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.3.0",date:"2018-11-27",lts:!1,security:!0,v8:"7.0.276.38"},{name:"nodejs",version:"11.4.0",date:"2018-12-07",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.5.0",date:"2018-12-18",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.6.0",date:"2018-12-26",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.7.0",date:"2019-01-17",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.8.0",date:"2019-01-24",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.9.0",date:"2019-01-30",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.10.0",date:"2019-02-14",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.11.0",date:"2019-03-05",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.12.0",date:"2019-03-14",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.13.0",date:"2019-03-28",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.14.0",date:"2019-04-10",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"11.15.0",date:"2019-04-30",lts:!1,security:!1,v8:"7.0.276.38"},{name:"nodejs",version:"12.0.0",date:"2019-04-23",lts:!1,security:!1,v8:"7.4.288.21"},{name:"nodejs",version:"12.1.0",date:"2019-04-29",lts:!1,security:!1,v8:"7.4.288.21"},{name:"nodejs",version:"12.2.0",date:"2019-05-07",lts:!1,security:!1,v8:"7.4.288.21"},{name:"nodejs",version:"12.3.0",date:"2019-05-21",lts:!1,security:!1,v8:"7.4.288.27"},{name:"nodejs",version:"12.4.0",date:"2019-06-04",lts:!1,security:!1,v8:"7.4.288.27"},{name:"nodejs",version:"12.5.0",date:"2019-06-26",lts:!1,security:!1,v8:"7.5.288.22"},{name:"nodejs",version:"12.6.0",date:"2019-07-03",lts:!1,security:!1,v8:"7.5.288.22"},{name:"nodejs",version:"12.7.0",date:"2019-07-23",lts:!1,security:!1,v8:"7.5.288.22"},{name:"nodejs",version:"12.8.0",date:"2019-08-06",lts:!1,security:!1,v8:"7.5.288.22"},{name:"nodejs",version:"12.9.0",date:"2019-08-20",lts:!1,security:!1,v8:"7.6.303.29"},{name:"nodejs",version:"12.10.0",date:"2019-09-04",lts:!1,security:!1,v8:"7.6.303.29"},{name:"nodejs",version:"12.11.0",date:"2019-09-25",lts:!1,security:!1,v8:"7.7.299.11"},{name:"nodejs",version:"12.12.0",date:"2019-10-11",lts:!1,security:!1,v8:"7.7.299.13"},{name:"nodejs",version:"12.13.0",date:"2019-10-21",lts:"Erbium",security:!1,v8:"7.7.299.13"},{name:"nodejs",version:"12.14.0",date:"2019-12-17",lts:"Erbium",security:!0,v8:"7.7.299.13"},{name:"nodejs",version:"12.15.0",date:"2020-02-05",lts:"Erbium",security:!0,v8:"7.7.299.13"},{name:"nodejs",version:"12.16.0",date:"2020-02-11",lts:"Erbium",security:!1,v8:"7.8.279.23"},{name:"nodejs",version:"12.17.0",date:"2020-05-26",lts:"Erbium",security:!1,v8:"7.8.279.23"},{name:"nodejs",version:"12.18.0",date:"2020-06-02",lts:"Erbium",security:!0,v8:"7.8.279.23"},{name:"nodejs",version:"12.19.0",date:"2020-10-06",lts:"Erbium",security:!1,v8:"7.8.279.23"},{name:"nodejs",version:"12.20.0",date:"2020-11-24",lts:"Erbium",security:!1,v8:"7.8.279.23"},{name:"nodejs",version:"12.21.0",date:"2021-02-23",lts:"Erbium",security:!0,v8:"7.8.279.23"},{name:"nodejs",version:"12.22.0",date:"2021-03-30",lts:"Erbium",security:!1,v8:"7.8.279.23"},{name:"nodejs",version:"13.0.0",date:"2019-10-22",lts:!1,security:!1,v8:"7.8.279.17"},{name:"nodejs",version:"13.1.0",date:"2019-11-05",lts:!1,security:!1,v8:"7.8.279.17"},{name:"nodejs",version:"13.2.0",date:"2019-11-21",lts:!1,security:!1,v8:"7.9.317.23"},{name:"nodejs",version:"13.3.0",date:"2019-12-03",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.4.0",date:"2019-12-17",lts:!1,security:!0,v8:"7.9.317.25"},{name:"nodejs",version:"13.5.0",date:"2019-12-18",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.6.0",date:"2020-01-07",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.7.0",date:"2020-01-21",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.8.0",date:"2020-02-05",lts:!1,security:!0,v8:"7.9.317.25"},{name:"nodejs",version:"13.9.0",date:"2020-02-18",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.10.0",date:"2020-03-04",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.11.0",date:"2020-03-12",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.12.0",date:"2020-03-26",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.13.0",date:"2020-04-14",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"13.14.0",date:"2020-04-29",lts:!1,security:!1,v8:"7.9.317.25"},{name:"nodejs",version:"14.0.0",date:"2020-04-21",lts:!1,security:!1,v8:"8.1.307.30"},{name:"nodejs",version:"14.1.0",date:"2020-04-29",lts:!1,security:!1,v8:"8.1.307.31"},{name:"nodejs",version:"14.2.0",date:"2020-05-05",lts:!1,security:!1,v8:"8.1.307.31"},{name:"nodejs",version:"14.3.0",date:"2020-05-19",lts:!1,security:!1,v8:"8.1.307.31"},{name:"nodejs",version:"14.4.0",date:"2020-06-02",lts:!1,security:!0,v8:"8.1.307.31"},{name:"nodejs",version:"14.5.0",date:"2020-06-30",lts:!1,security:!1,v8:"8.3.110.9"},{name:"nodejs",version:"14.6.0",date:"2020-07-20",lts:!1,security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.7.0",date:"2020-07-29",lts:!1,security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.8.0",date:"2020-08-11",lts:!1,security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.9.0",date:"2020-08-27",lts:!1,security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.10.0",date:"2020-09-08",lts:!1,security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.11.0",date:"2020-09-15",lts:!1,security:!0,v8:"8.4.371.19"},{name:"nodejs",version:"14.12.0",date:"2020-09-22",lts:!1,security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.13.0",date:"2020-09-29",lts:!1,security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.14.0",date:"2020-10-15",lts:!1,security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.15.0",date:"2020-10-27",lts:"Fermium",security:!1,v8:"8.4.371.19"},{name:"nodejs",version:"14.16.0",date:"2021-02-23",lts:"Fermium",security:!0,v8:"8.4.371.19"},{name:"nodejs",version:"14.17.0",date:"2021-05-11",lts:"Fermium",security:!1,v8:"8.4.371.23"},{name:"nodejs",version:"14.18.0",date:"2021-09-28",lts:"Fermium",security:!1,v8:"8.4.371.23"},{name:"nodejs",version:"14.19.0",date:"2022-02-01",lts:"Fermium",security:!1,v8:"8.4.371.23"},{name:"nodejs",version:"14.20.0",date:"2022-07-07",lts:"Fermium",security:!0,v8:"8.4.371.23"},{name:"nodejs",version:"14.21.0",date:"2022-11-01",lts:"Fermium",security:!1,v8:"8.4.371.23"},{name:"nodejs",version:"15.0.0",date:"2020-10-20",lts:!1,security:!1,v8:"8.6.395.16"},{name:"nodejs",version:"15.1.0",date:"2020-11-04",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.2.0",date:"2020-11-10",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.3.0",date:"2020-11-24",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.4.0",date:"2020-12-09",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.5.0",date:"2020-12-22",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.6.0",date:"2021-01-14",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.7.0",date:"2021-01-25",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.8.0",date:"2021-02-02",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.9.0",date:"2021-02-18",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.10.0",date:"2021-02-23",lts:!1,security:!0,v8:"8.6.395.17"},{name:"nodejs",version:"15.11.0",date:"2021-03-03",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.12.0",date:"2021-03-17",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.13.0",date:"2021-03-31",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"15.14.0",date:"2021-04-06",lts:!1,security:!1,v8:"8.6.395.17"},{name:"nodejs",version:"16.0.0",date:"2021-04-20",lts:!1,security:!1,v8:"9.0.257.17"},{name:"nodejs",version:"16.1.0",date:"2021-05-04",lts:!1,security:!1,v8:"9.0.257.24"},{name:"nodejs",version:"16.2.0",date:"2021-05-19",lts:!1,security:!1,v8:"9.0.257.25"},{name:"nodejs",version:"16.3.0",date:"2021-06-03",lts:!1,security:!1,v8:"9.0.257.25"},{name:"nodejs",version:"16.4.0",date:"2021-06-23",lts:!1,security:!1,v8:"9.1.269.36"},{name:"nodejs",version:"16.5.0",date:"2021-07-14",lts:!1,security:!1,v8:"9.1.269.38"},{name:"nodejs",version:"16.6.0",date:"2021-07-29",lts:!1,security:!0,v8:"9.2.230.21"},{name:"nodejs",version:"16.7.0",date:"2021-08-18",lts:!1,security:!1,v8:"9.2.230.21"},{name:"nodejs",version:"16.8.0",date:"2021-08-25",lts:!1,security:!1,v8:"9.2.230.21"},{name:"nodejs",version:"16.9.0",date:"2021-09-07",lts:!1,security:!1,v8:"9.3.345.16"},{name:"nodejs",version:"16.10.0",date:"2021-09-22",lts:!1,security:!1,v8:"9.3.345.19"},{name:"nodejs",version:"16.11.0",date:"2021-10-08",lts:!1,security:!1,v8:"9.4.146.19"},{name:"nodejs",version:"16.12.0",date:"2021-10-20",lts:!1,security:!1,v8:"9.4.146.19"},{name:"nodejs",version:"16.13.0",date:"2021-10-26",lts:"Gallium",security:!1,v8:"9.4.146.19"},{name:"nodejs",version:"16.14.0",date:"2022-02-08",lts:"Gallium",security:!1,v8:"9.4.146.24"},{name:"nodejs",version:"16.15.0",date:"2022-04-26",lts:"Gallium",security:!1,v8:"9.4.146.24"},{name:"nodejs",version:"16.16.0",date:"2022-07-07",lts:"Gallium",security:!0,v8:"9.4.146.24"},{name:"nodejs",version:"16.17.0",date:"2022-08-16",lts:"Gallium",security:!1,v8:"9.4.146.26"},{name:"nodejs",version:"16.18.0",date:"2022-10-12",lts:"Gallium",security:!1,v8:"9.4.146.26"},{name:"nodejs",version:"16.19.0",date:"2022-12-13",lts:"Gallium",security:!1,v8:"9.4.146.26"},{name:"nodejs",version:"16.20.0",date:"2023-03-28",lts:"Gallium",security:!1,v8:"9.4.146.26"},{name:"nodejs",version:"17.0.0",date:"2021-10-19",lts:!1,security:!1,v8:"9.5.172.21"},{name:"nodejs",version:"17.1.0",date:"2021-11-09",lts:!1,security:!1,v8:"9.5.172.25"},{name:"nodejs",version:"17.2.0",date:"2021-11-30",lts:!1,security:!1,v8:"9.6.180.14"},{name:"nodejs",version:"17.3.0",date:"2021-12-17",lts:!1,security:!1,v8:"9.6.180.15"},{name:"nodejs",version:"17.4.0",date:"2022-01-18",lts:!1,security:!1,v8:"9.6.180.15"},{name:"nodejs",version:"17.5.0",date:"2022-02-10",lts:!1,security:!1,v8:"9.6.180.15"},{name:"nodejs",version:"17.6.0",date:"2022-02-22",lts:!1,security:!1,v8:"9.6.180.15"},{name:"nodejs",version:"17.7.0",date:"2022-03-09",lts:!1,security:!1,v8:"9.6.180.15"},{name:"nodejs",version:"17.8.0",date:"2022-03-22",lts:!1,security:!1,v8:"9.6.180.15"},{name:"nodejs",version:"17.9.0",date:"2022-04-07",lts:!1,security:!1,v8:"9.6.180.15"},{name:"nodejs",version:"18.0.0",date:"2022-04-18",lts:!1,security:!1,v8:"10.1.124.8"},{name:"nodejs",version:"18.1.0",date:"2022-05-03",lts:!1,security:!1,v8:"10.1.124.8"},{name:"nodejs",version:"18.2.0",date:"2022-05-17",lts:!1,security:!1,v8:"10.1.124.8"},{name:"nodejs",version:"18.3.0",date:"2022-06-02",lts:!1,security:!1,v8:"10.2.154.4"},{name:"nodejs",version:"18.4.0",date:"2022-06-16",lts:!1,security:!1,v8:"10.2.154.4"},{name:"nodejs",version:"18.5.0",date:"2022-07-06",lts:!1,security:!0,v8:"10.2.154.4"},{name:"nodejs",version:"18.6.0",date:"2022-07-13",lts:!1,security:!1,v8:"10.2.154.13"},{name:"nodejs",version:"18.7.0",date:"2022-07-26",lts:!1,security:!1,v8:"10.2.154.13"},{name:"nodejs",version:"18.8.0",date:"2022-08-24",lts:!1,security:!1,v8:"10.2.154.13"},{name:"nodejs",version:"18.9.0",date:"2022-09-07",lts:!1,security:!1,v8:"10.2.154.15"},{name:"nodejs",version:"18.10.0",date:"2022-09-28",lts:!1,security:!1,v8:"10.2.154.15"},{name:"nodejs",version:"18.11.0",date:"2022-10-13",lts:!1,security:!1,v8:"10.2.154.15"},{name:"nodejs",version:"18.12.0",date:"2022-10-25",lts:"Hydrogen",security:!1,v8:"10.2.154.15"},{name:"nodejs",version:"18.13.0",date:"2023-01-05",lts:"Hydrogen",security:!1,v8:"10.2.154.23"},{name:"nodejs",version:"18.14.0",date:"2023-02-01",lts:"Hydrogen",security:!1,v8:"10.2.154.23"},{name:"nodejs",version:"18.15.0",date:"2023-03-05",lts:"Hydrogen",security:!1,v8:"10.2.154.26"},{name:"nodejs",version:"18.16.0",date:"2023-04-12",lts:"Hydrogen",security:!1,v8:"10.2.154.26"},{name:"nodejs",version:"18.17.0",date:"2023-07-18",lts:"Hydrogen",security:!1,v8:"10.2.154.26"},{name:"nodejs",version:"18.18.0",date:"2023-09-18",lts:"Hydrogen",security:!1,v8:"10.2.154.26"},{name:"nodejs",version:"18.19.0",date:"2023-11-29",lts:"Hydrogen",security:!1,v8:"10.2.154.26"},{name:"nodejs",version:"18.20.0",date:"2024-03-26",lts:"Hydrogen",security:!1,v8:"10.2.154.26"},{name:"nodejs",version:"19.0.0",date:"2022-10-17",lts:!1,security:!1,v8:"10.7.193.13"},{name:"nodejs",version:"19.1.0",date:"2022-11-14",lts:!1,security:!1,v8:"10.7.193.20"},{name:"nodejs",version:"19.2.0",date:"2022-11-29",lts:!1,security:!1,v8:"10.8.168.20"},{name:"nodejs",version:"19.3.0",date:"2022-12-14",lts:!1,security:!1,v8:"10.8.168.21"},{name:"nodejs",version:"19.4.0",date:"2023-01-05",lts:!1,security:!1,v8:"10.8.168.25"},{name:"nodejs",version:"19.5.0",date:"2023-01-24",lts:!1,security:!1,v8:"10.8.168.25"},{name:"nodejs",version:"19.6.0",date:"2023-02-01",lts:!1,security:!1,v8:"10.8.168.25"},{name:"nodejs",version:"19.7.0",date:"2023-02-21",lts:!1,security:!1,v8:"10.8.168.25"},{name:"nodejs",version:"19.8.0",date:"2023-03-14",lts:!1,security:!1,v8:"10.8.168.25"},{name:"nodejs",version:"19.9.0",date:"2023-04-10",lts:!1,security:!1,v8:"10.8.168.25"},{name:"nodejs",version:"20.0.0",date:"2023-04-17",lts:!1,security:!1,v8:"11.3.244.4"},{name:"nodejs",version:"20.1.0",date:"2023-05-03",lts:!1,security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.2.0",date:"2023-05-16",lts:!1,security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.3.0",date:"2023-06-08",lts:!1,security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.4.0",date:"2023-07-04",lts:!1,security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.5.0",date:"2023-07-19",lts:!1,security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.6.0",date:"2023-08-23",lts:!1,security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.7.0",date:"2023-09-18",lts:!1,security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.8.0",date:"2023-09-28",lts:!1,security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.9.0",date:"2023-10-24",lts:"Iron",security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.10.0",date:"2023-11-22",lts:"Iron",security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.11.0",date:"2024-01-09",lts:"Iron",security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.12.0",date:"2024-03-26",lts:"Iron",security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.13.0",date:"2024-05-07",lts:"Iron",security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.14.0",date:"2024-05-28",lts:"Iron",security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.15.0",date:"2024-06-20",lts:"Iron",security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.16.0",date:"2024-07-24",lts:"Iron",security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.17.0",date:"2024-08-21",lts:"Iron",security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"20.18.0",date:"2024-10-03",lts:"Iron",security:!1,v8:"11.3.244.8"},{name:"nodejs",version:"21.0.0",date:"2023-10-17",lts:!1,security:!1,v8:"11.8.172.13"},{name:"nodejs",version:"21.1.0",date:"2023-10-24",lts:!1,security:!1,v8:"11.8.172.15"},{name:"nodejs",version:"21.2.0",date:"2023-11-14",lts:!1,security:!1,v8:"11.8.172.17"},{name:"nodejs",version:"21.3.0",date:"2023-11-30",lts:!1,security:!1,v8:"11.8.172.17"},{name:"nodejs",version:"21.4.0",date:"2023-12-05",lts:!1,security:!1,v8:"11.8.172.17"},{name:"nodejs",version:"21.5.0",date:"2023-12-19",lts:!1,security:!1,v8:"11.8.172.17"},{name:"nodejs",version:"21.6.0",date:"2024-01-14",lts:!1,security:!1,v8:"11.8.172.17"},{name:"nodejs",version:"21.7.0",date:"2024-03-06",lts:!1,security:!1,v8:"11.8.172.17"},{name:"nodejs",version:"22.0.0",date:"2024-04-24",lts:!1,security:!1,v8:"12.4.254.14"},{name:"nodejs",version:"22.1.0",date:"2024-05-02",lts:!1,security:!1,v8:"12.4.254.14"},{name:"nodejs",version:"22.2.0",date:"2024-05-15",lts:!1,security:!1,v8:"12.4.254.14"},{name:"nodejs",version:"22.3.0",date:"2024-06-11",lts:!1,security:!1,v8:"12.4.254.20"},{name:"nodejs",version:"22.4.0",date:"2024-07-02",lts:!1,security:!1,v8:"12.4.254.21"},{name:"nodejs",version:"22.5.0",date:"2024-07-17",lts:!1,security:!1,v8:"12.4.254.21"},{name:"nodejs",version:"22.6.0",date:"2024-08-06",lts:!1,security:!1,v8:"12.4.254.21"},{name:"nodejs",version:"22.7.0",date:"2024-08-21",lts:!1,security:!1,v8:"12.4.254.21"},{name:"nodejs",version:"22.8.0",date:"2024-09-03",lts:!1,security:!1,v8:"12.4.254.21"},{name:"nodejs",version:"22.9.0",date:"2024-09-17",lts:!1,security:!1,v8:"12.4.254.21"},{name:"nodejs",version:"22.10.0",date:"2024-10-16",lts:!1,security:!1,v8:"12.4.254.21"},{name:"nodejs",version:"22.11.0",date:"2024-10-29",lts:"Jod",security:!1,v8:"12.4.254.21"},{name:"nodejs",version:"22.12.0",date:"2024-12-02",lts:"Jod",security:!1,v8:"12.4.254.21"},{name:"nodejs",version:"23.0.0",date:"2024-10-16",lts:!1,security:!1,v8:"12.9.202.26"},{name:"nodejs",version:"23.1.0",date:"2024-10-24",lts:!1,security:!1,v8:"12.9.202.28"},{name:"nodejs",version:"23.2.0",date:"2024-11-11",lts:!1,security:!1,v8:"12.9.202.28"},{name:"nodejs",version:"23.3.0",date:"2024-11-20",lts:!1,security:!1,v8:"12.9.202.28"}];var HI={},QJ={},Rgt={A:"ie",B:"edge",C:"firefox",D:"chrome",E:"safari",F:"opera",G:"ios_saf",H:"op_mini",I:"android",J:"bb",K:"op_mob",L:"and_chr",M:"and_ff",N:"ie_mob",O:"and_uc",P:"samsung",Q:"and_qq",R:"baidu",S:"kaios"};QJ.browsers=Rgt;var VJ={},Mgt={0:"117",1:"20",2:"21",3:"22",4:"23",5:"24",6:"25",7:"26",8:"27",9:"28",A:"10",B:"11",C:"12",D:"7",E:"8",F:"9",G:"15",H:"80",I:"139",J:"4",K:"6",L:"13",M:"14",N:"16",O:"17",P:"18",Q:"79",R:"81",S:"83",T:"84",U:"85",V:"86",W:"87",X:"88",Y:"89",Z:"90",a:"91",b:"92",c:"93",d:"94",e:"95",f:"96",g:"97",h:"98",i:"99",j:"100",k:"101",l:"102",m:"103",n:"104",o:"105",p:"106",q:"107",r:"108",s:"109",t:"110",u:"111",v:"112",w:"113",x:"114",y:"115",z:"116",AB:"118",BB:"119",CB:"120",DB:"121",EB:"122",FB:"123",GB:"124",HB:"125",IB:"126",JB:"127",KB:"128",LB:"129",MB:"130",NB:"131",OB:"132",PB:"133",QB:"134",RB:"135",SB:"136",TB:"137",UB:"138",VB:"5",WB:"19",XB:"29",YB:"30",ZB:"31",aB:"32",bB:"33",cB:"34",dB:"35",eB:"36",fB:"37",gB:"38",hB:"39",iB:"40",jB:"41",kB:"42",lB:"43",mB:"44",nB:"45",oB:"46",pB:"47",qB:"48",rB:"49",sB:"50",tB:"51",uB:"52",vB:"53",wB:"54",xB:"55",yB:"56",zB:"57","0B":"58","1B":"60","2B":"62","3B":"63","4B":"64","5B":"65","6B":"66","7B":"67","8B":"68","9B":"69",AC:"70",BC:"71",CC:"72",DC:"73",EC:"74",FC:"75",GC:"76",HC:"77",IC:"78",JC:"142",KC:"11.1",LC:"12.1",MC:"15.5",NC:"16.0",OC:"17.0",PC:"18.0",QC:"3",RC:"59",SC:"61",TC:"82",UC:"140",VC:"141",WC:"3.2",XC:"10.1",YC:"15.2-15.3",ZC:"15.4",aC:"16.1",bC:"16.2",cC:"16.3",dC:"16.4",eC:"16.5",fC:"17.1",gC:"17.2",hC:"17.3",iC:"17.4",jC:"17.5",kC:"18.1",lC:"18.2",mC:"18.3",nC:"18.4",oC:"18.5-18.6",pC:"26.0",qC:"11.5",rC:"4.2-4.3",sC:"5.5",tC:"2",uC:"143",vC:"144",wC:"145",xC:"3.5",yC:"3.6",zC:"3.1","0C":"5.1","1C":"6.1","2C":"7.1","3C":"9.1","4C":"13.1","5C":"14.1","6C":"15.1","7C":"15.6","8C":"16.6","9C":"17.6",AD:"TP",BD:"9.5-9.6",CD:"10.0-10.1",DD:"10.5",ED:"10.6",FD:"11.6",GD:"4.0-4.1",HD:"5.0-5.1",ID:"6.0-6.1",JD:"7.0-7.1",KD:"8.1-8.4",LD:"9.0-9.2",MD:"9.3",ND:"10.0-10.2",OD:"10.3",PD:"11.0-11.2",QD:"11.3-11.4",RD:"12.0-12.1",SD:"12.2-12.5",TD:"13.0-13.1",UD:"13.2",VD:"13.3",WD:"13.4-13.7",XD:"14.0-14.4",YD:"14.5-14.8",ZD:"15.0-15.1",aD:"15.6-15.8",bD:"16.6-16.7",cD:"17.6-17.7",dD:"all",eD:"2.1",fD:"2.2",gD:"2.3",hD:"4.1",iD:"4.4",jD:"4.4.3-4.4.4",kD:"5.0-5.4",lD:"6.2-6.4",mD:"7.2-7.4",nD:"8.2",oD:"9.2",pD:"11.1-11.2",qD:"12.0",rD:"13.0",sD:"14.0",tD:"15.0",uD:"19.0",vD:"14.9",wD:"13.52",xD:"2.5",yD:"3.0-3.1"};VJ.browserVersions=Mgt;var _gt={A:{A:{K:0,D:0,E:.0331526,F:.0248644,A:.00828815,B:.605035,sC:0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","sC","K","D","E","F","A","B","","",""],E:"IE",F:{sC:962323200,K:998870400,D:1161129600,E:1237420800,F:1300060800,A:1346716800,B:1381968e3}},B:{A:{0:0,C:0,L:0,M:0,G:0,N:0,O:0,P:.04422,Q:0,H:0,R:0,S:0,T:0,U:0,V:0,W:0,X:0,Y:0,Z:0,a:0,b:.01206,c:0,d:0,e:0,f:0,g:0,h:0,i:0,j:0,k:0,l:0,m:.00402,n:0,o:0,p:0,q:0,r:0,s:.0402,t:0,u:0,v:0,w:.00804,x:.01206,y:.00402,z:0,AB:0,BB:0,CB:.02814,DB:.00804,EB:.01206,FB:.00402,GB:.00402,HB:.00402,IB:.01206,JB:.01206,KB:.00804,LB:.0201,MB:.01206,NB:.02814,OB:.01608,PB:.01608,QB:.04824,RB:.02814,SB:.04824,TB:.21306,UB:4.0602,I:.01206},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","L","M","G","N","O","P","Q","H","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","AB","BB","CB","DB","EB","FB","GB","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","I","","",""],E:"Edge",F:{0:1694649600,C:1438128e3,L:1447286400,M:1470096e3,G:1491868800,N:1508198400,O:1525046400,P:1542067200,Q:1579046400,H:1581033600,R:1586736e3,S:1590019200,T:1594857600,U:1598486400,V:1602201600,W:1605830400,X:161136e4,Y:1614816e3,Z:1618358400,a:1622073600,b:1626912e3,c:1630627200,d:1632441600,e:1634774400,f:1637539200,g:1641427200,h:1643932800,i:1646265600,j:1649635200,k:1651190400,l:1653955200,m:1655942400,n:1659657600,o:1661990400,p:1664755200,q:1666915200,r:1670198400,s:1673481600,t:1675900800,u:1678665600,v:1680825600,w:1683158400,x:1685664e3,y:1689897600,z:1692576e3,AB:1697155200,BB:1698969600,CB:1701993600,DB:1706227200,EB:1708732800,FB:1711152e3,GB:1713398400,HB:1715990400,IB:1718841600,JB:1721865600,KB:1724371200,LB:1726704e3,MB:1729123200,NB:1731542400,OB:1737417600,PB:1740614400,QB:1741219200,RB:1743984e3,SB:1746316800,TB:1748476800,UB:1750896e3,I:1754611200},D:{C:"ms",L:"ms",M:"ms",G:"ms",N:"ms",O:"ms",P:"ms"}},C:{A:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,tC:0,QC:0,J:0,VB:0,K:0,D:0,E:0,F:0,A:0,B:.04824,C:0,L:0,M:0,G:0,N:0,O:0,P:0,WB:0,XB:0,YB:0,ZB:0,aB:0,bB:0,cB:0,dB:0,eB:0,fB:0,gB:0,hB:0,iB:0,jB:0,kB:0,lB:.00804,mB:0,nB:.00402,oB:0,pB:0,qB:0,rB:0,sB:0,tB:0,uB:.03216,vB:0,wB:0,xB:0,yB:0,zB:0,"0B":0,RC:.00804,"1B":0,SC:0,"2B":0,"3B":0,"4B":0,"5B":0,"6B":0,"7B":0,"8B":0,"9B":0,AC:.01206,BC:0,CC:.01608,DC:0,EC:0,FC:0,GC:0,HC:0,IC:.01206,Q:0,H:0,R:0,TC:0,S:0,T:0,U:0,V:0,W:0,X:0,Y:0,Z:0,a:0,b:0,c:0,d:0,e:0,f:0,g:0,h:0,i:0,j:0,k:0,l:0,m:0,n:0,o:0,p:0,q:0,r:0,s:.00402,t:0,u:0,v:0,w:.00402,x:0,y:.17286,z:0,AB:.11658,BB:0,CB:0,DB:0,EB:0,FB:0,GB:0,HB:.01206,IB:.01206,JB:.00402,KB:.1005,LB:.00804,MB:0,NB:0,OB:0,PB:.01206,QB:.00804,RB:.00804,SB:.01608,TB:.01206,UB:.01608,I:.09648,UC:1.01304,VC:.31356,JC:0,uC:0,vC:0,wC:0,xC:0,yC:0},B:"moz",C:["tC","QC","xC","yC","J","VB","K","D","E","F","A","B","C","L","M","G","N","O","P","WB","1","2","3","4","5","6","7","8","9","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","oB","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","RC","1B","SC","2B","3B","4B","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","GC","HC","IC","Q","H","R","TC","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","AB","BB","CB","DB","EB","FB","GB","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","I","UC","VC","JC","uC","vC","wC"],E:"Firefox",F:{0:1693267200,1:1361232e3,2:1364860800,3:1368489600,4:1372118400,5:1375747200,6:1379376e3,7:1386633600,8:1391472e3,9:1395100800,tC:1161648e3,QC:1213660800,xC:124632e4,yC:1264032e3,J:1300752e3,VB:1308614400,K:1313452800,D:1317081600,E:1317081600,F:1320710400,A:1324339200,B:1327968e3,C:1331596800,L:1335225600,M:1338854400,G:1342483200,N:1346112e3,O:1349740800,P:1353628800,WB:1357603200,XB:1398729600,YB:1402358400,ZB:1405987200,aB:1409616e3,bB:1413244800,cB:1417392e3,dB:1421107200,eB:1424736e3,fB:1428278400,gB:1431475200,hB:1435881600,iB:1439251200,jB:144288e4,kB:1446508800,lB:1450137600,mB:1453852800,nB:1457395200,oB:1461628800,pB:1465257600,qB:1470096e3,rB:1474329600,sB:1479168e3,tB:1485216e3,uB:1488844800,vB:149256e4,wB:1497312e3,xB:1502150400,yB:1506556800,zB:1510617600,"0B":1516665600,RC:1520985600,"1B":1525824e3,SC:1529971200,"2B":1536105600,"3B":1540252800,"4B":1544486400,"5B":154872e4,"6B":1552953600,"7B":1558396800,"8B":1562630400,"9B":1567468800,AC:1571788800,BC:1575331200,CC:1578355200,DC:1581379200,EC:1583798400,FC:1586304e3,GC:1588636800,HC:1591056e3,IC:1593475200,Q:1595894400,H:1598313600,R:1600732800,TC:1603152e3,S:1605571200,T:1607990400,U:1611619200,V:1614038400,W:1616457600,X:1618790400,Y:1622505600,Z:1626134400,a:1628553600,b:1630972800,c:1633392e3,d:1635811200,e:1638835200,f:1641859200,g:1644364800,h:1646697600,i:1649116800,j:1651536e3,k:1653955200,l:1656374400,m:1658793600,n:1661212800,o:1663632e3,p:1666051200,q:1668470400,r:1670889600,s:1673913600,t:1676332800,u:1678752e3,v:1681171200,w:1683590400,x:1686009600,y:1688428800,z:1690848e3,AB:1695686400,BB:1698105600,CB:1700524800,DB:1702944e3,EB:1705968e3,FB:1708387200,GB:1710806400,HB:1713225600,IB:1715644800,JB:1718064e3,KB:1720483200,LB:1722902400,MB:1725321600,NB:1727740800,OB:173016e4,PB:1732579200,QB:1736208e3,RB:1738627200,SB:1741046400,TB:1743465600,UB:1745884800,I:1748304e3,UC:1750723200,VC:1753142400,JC:1755561600,uC:null,vC:null,wC:null}},D:{A:{0:.09648,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,J:0,VB:0,K:0,D:0,E:0,F:0,A:0,B:0,C:0,L:0,M:0,G:0,N:0,O:0,P:0,WB:0,XB:0,YB:0,ZB:0,aB:0,bB:0,cB:0,dB:0,eB:0,fB:0,gB:0,hB:.00804,iB:.00804,jB:.00804,kB:.00804,lB:.00804,mB:.00804,nB:.01206,oB:.00804,pB:.00804,qB:.0201,rB:.01608,sB:.00804,tB:.00804,uB:.01206,vB:.00804,wB:.00804,xB:.00804,yB:.0201,zB:.00804,"0B":.00804,RC:.00804,"1B":.00804,SC:0,"2B":0,"3B":0,"4B":0,"5B":0,"6B":.02412,"7B":0,"8B":.00402,"9B":.01206,AC:.01608,BC:0,CC:0,DC:.00402,EC:.00804,FC:.00402,GC:.00402,HC:0,IC:.00804,Q:.07236,H:.01206,R:.02412,S:.04824,T:0,U:.00804,V:.01206,W:.03618,X:.00804,Y:.00402,Z:.00804,a:.02814,b:.00804,c:.00804,d:.00804,e:.00402,f:.00804,g:.0201,h:.04422,i:.01608,j:.00804,k:.02412,l:.0201,m:.0804,n:.03618,o:.03216,p:.01206,q:.01608,r:.03216,s:.7638,t:.01608,u:.02814,v:4.78782,w:.05226,x:.04824,y:.0201,z:.06834,AB:.05226,BB:.04422,CB:.06834,DB:.06834,EB:.07236,FB:.07236,GB:.0603,HB:.41808,IB:.0603,JB:.03216,KB:.08442,LB:.06834,MB:.10854,NB:.49446,OB:.1407,PB:.13668,QB:.1206,RB:.21306,SB:.30552,TB:3.23208,UB:11.855,I:.0201,UC:.01608,VC:0,JC:0},B:"webkit",C:["","","","","","","","","J","VB","K","D","E","F","A","B","C","L","M","G","N","O","P","WB","1","2","3","4","5","6","7","8","9","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","oB","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","RC","1B","SC","2B","3B","4B","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","GC","HC","IC","Q","H","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","AB","BB","CB","DB","EB","FB","GB","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","I","UC","VC","JC"],E:"Chrome",F:{0:1694476800,1:133704e4,2:1340668800,3:1343692800,4:1348531200,5:1352246400,6:1357862400,7:1361404800,8:1364428800,9:1369094400,J:1264377600,VB:1274745600,K:1283385600,D:1287619200,E:1291248e3,F:1296777600,A:1299542400,B:1303862400,C:1307404800,L:1312243200,M:1316131200,G:1316131200,N:1319500800,O:1323734400,P:1328659200,WB:1332892800,XB:1374105600,YB:1376956800,ZB:1384214400,aB:1389657600,bB:1392940800,cB:1397001600,dB:1400544e3,eB:1405468800,fB:1409011200,gB:141264e4,hB:1416268800,iB:1421798400,jB:1425513600,kB:1429401600,lB:143208e4,mB:1437523200,nB:1441152e3,oB:1444780800,pB:1449014400,qB:1453248e3,rB:1456963200,sB:1460592e3,tB:1464134400,uB:1469059200,vB:1472601600,wB:1476230400,xB:1480550400,yB:1485302400,zB:1489017600,"0B":149256e4,RC:1496707200,"1B":1500940800,SC:1504569600,"2B":1508198400,"3B":1512518400,"4B":1516752e3,"5B":1520294400,"6B":1523923200,"7B":1527552e3,"8B":1532390400,"9B":1536019200,AC:1539648e3,BC:1543968e3,CC:154872e4,DC:1552348800,EC:1555977600,FC:1559606400,GC:1564444800,HC:1568073600,IC:1571702400,Q:1575936e3,H:1580860800,R:1586304e3,S:1589846400,T:1594684800,U:1598313600,V:1601942400,W:1605571200,X:1611014400,Y:1614556800,Z:1618272e3,a:1621987200,b:1626739200,c:1630368e3,d:1632268800,e:1634601600,f:1637020800,g:1641340800,h:1643673600,i:1646092800,j:1648512e3,k:1650931200,l:1653350400,m:1655769600,n:1659398400,o:1661817600,p:1664236800,q:1666656e3,r:166968e4,s:1673308800,t:1675728e3,u:1678147200,v:1680566400,w:1682985600,x:1685404800,y:1689724800,z:1692057600,AB:1696896e3,BB:1698710400,CB:1701993600,DB:1705968e3,EB:1708387200,FB:1710806400,GB:1713225600,HB:1715644800,IB:1718064e3,JB:1721174400,KB:1724112e3,LB:1726531200,MB:1728950400,NB:1731369600,OB:1736812800,PB:1738627200,QB:1741046400,RB:1743465600,SB:1745884800,TB:1748304e3,UB:1750723200,I:1754352e3,UC:null,VC:null,JC:null}},E:{A:{J:0,VB:0,K:0,D:0,E:0,F:0,A:0,B:.00402,C:0,L:.00804,M:.01206,G:0,zC:0,WC:0,"0C":0,"1C":0,"2C":0,"3C":0,XC:0,KC:.00402,LC:.00402,"4C":.02814,"5C":.03216,"6C":.03216,YC:0,ZC:.00804,MC:.00804,"7C":.11658,NC:.02412,aC:.01608,bC:.01206,cC:.02814,dC:.01206,eC:.01608,"8C":.16482,OC:.00804,fC:.11256,gC:.01206,hC:.01608,iC:.02814,jC:.04422,"9C":.1608,PC:.0201,kC:.03618,lC:.01608,mC:.0804,nC:.0603,oC:1.37484,pC:.01206,AD:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","zC","WC","J","VB","0C","K","1C","D","2C","E","F","3C","A","XC","B","KC","C","LC","L","4C","M","5C","G","6C","YC","ZC","MC","7C","NC","aC","bC","cC","dC","eC","8C","OC","fC","gC","hC","iC","jC","9C","PC","kC","lC","mC","nC","oC","pC","AD",""],E:"Safari",F:{zC:1205798400,WC:1226534400,J:1244419200,VB:1275868800,"0C":131112e4,K:1343174400,"1C":13824e5,D:13824e5,"2C":1410998400,E:1413417600,F:1443657600,"3C":1458518400,A:1474329600,XC:1490572800,B:1505779200,KC:1522281600,C:1537142400,LC:1553472e3,L:1568851200,"4C":1585008e3,M:1600214400,"5C":1619395200,G:1632096e3,"6C":1635292800,YC:1639353600,ZC:1647216e3,MC:1652745600,"7C":1658275200,NC:1662940800,aC:1666569600,bC:1670889600,cC:1674432e3,dC:1679875200,eC:1684368e3,"8C":1690156800,OC:1695686400,fC:1698192e3,gC:1702252800,hC:1705881600,iC:1709596800,jC:1715558400,"9C":1722211200,PC:1726444800,kC:1730073600,lC:1733875200,mC:1737936e3,nC:1743379200,oC:1747008e3,pC:null,AD:null}},F:{A:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,F:0,B:0,C:0,G:0,N:0,O:0,P:0,WB:0,XB:0,YB:0,ZB:0,aB:0,bB:0,cB:0,dB:0,eB:0,fB:0,gB:0,hB:0,iB:.00402,jB:0,kB:0,lB:0,mB:0,nB:0,oB:.00804,pB:0,qB:0,rB:0,sB:0,tB:0,uB:0,vB:0,wB:0,xB:0,yB:0,zB:0,"0B":0,"1B":0,"2B":0,"3B":0,"4B":0,"5B":0,"6B":0,"7B":0,"8B":0,"9B":0,AC:0,BC:0,CC:0,DC:0,EC:0,FC:0,GC:0,HC:0,IC:0,Q:0,H:0,R:0,TC:0,S:0,T:0,U:0,V:0,W:0,X:0,Y:.00402,Z:.05226,a:0,b:0,c:0,d:0,e:.02814,f:0,g:0,h:0,i:0,j:0,k:0,l:0,m:0,n:0,o:0,p:0,q:0,r:0,s:0,t:0,u:0,v:0,w:.00402,x:0,y:0,z:0,BD:0,CD:0,DD:0,ED:0,KC:0,qC:0,FD:0,LC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","F","BD","CD","DD","ED","B","KC","qC","FD","C","LC","G","N","O","P","WB","1","2","3","4","5","6","7","8","9","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","oB","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","GC","HC","IC","Q","H","R","TC","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","","",""],E:"Opera",F:{0:1739404800,1:1393891200,2:1399334400,3:1401753600,4:1405987200,5:1409616e3,6:1413331200,7:1417132800,8:1422316800,9:1425945600,F:1150761600,BD:1223424e3,CD:1251763200,DD:1267488e3,ED:1277942400,B:1292457600,KC:1302566400,qC:1309219200,FD:1323129600,C:1323129600,LC:1352073600,G:1372723200,N:1377561600,O:1381104e3,P:1386288e3,WB:1390867200,XB:1430179200,YB:1433808e3,ZB:1438646400,aB:1442448e3,bB:1445904e3,cB:1449100800,dB:1454371200,eB:1457308800,fB:146232e4,gB:1465344e3,hB:1470096e3,iB:1474329600,jB:1477267200,kB:1481587200,lB:1486425600,mB:1490054400,nB:1494374400,oB:1498003200,pB:1502236800,qB:1506470400,rB:1510099200,sB:1515024e3,tB:1517961600,uB:1521676800,vB:1525910400,wB:1530144e3,xB:1534982400,yB:1537833600,zB:1543363200,"0B":1548201600,"1B":1554768e3,"2B":1561593600,"3B":1566259200,"4B":1570406400,"5B":1573689600,"6B":1578441600,"7B":1583971200,"8B":1587513600,"9B":1592956800,AC:1595894400,BC:1600128e3,CC:1603238400,DC:161352e4,EC:1612224e3,FC:1616544e3,GC:1619568e3,HC:1623715200,IC:1627948800,Q:1631577600,H:1633392e3,R:1635984e3,TC:1638403200,S:1642550400,T:1644969600,U:1647993600,V:1650412800,W:1652745600,X:1654646400,Y:1657152e3,Z:1660780800,a:1663113600,b:1668816e3,c:1668643200,d:1671062400,e:1675209600,f:1677024e3,g:1679529600,h:1681948800,i:1684195200,j:1687219200,k:1690329600,l:1692748800,m:1696204800,n:169992e4,o:169992e4,p:1702944e3,q:1707264e3,r:1710115200,s:1711497600,t:1716336e3,u:1719273600,v:1721088e3,w:1724284800,x:1727222400,y:1732665600,z:1736294400},D:{F:"o",B:"o",C:"o",BD:"o",CD:"o",DD:"o",ED:"o",KC:"o",qC:"o",FD:"o",LC:"o"}},G:{A:{E:0,WC:0,GD:0,rC:.0013461,HD:0,ID:.00673049,JD:.00403829,KD:0,LD:.0026922,MD:.0148071,ND:.0013461,OD:.0228837,PD:.200569,QD:.00942269,RD:.0026922,SD:.082112,TD:0,UD:.0026922,VD:.0026922,WD:.013461,XD:.0578822,YD:.0309603,ZD:.026922,YC:.0215376,ZC:.0242298,MC:.0282681,aD:.371523,NC:.0498056,aC:.095573,bC:.0498056,cC:.0942269,dC:.0201915,eC:.0376907,bD:.477865,OC:.0242298,fC:.0457673,gC:.0336525,hC:.0498056,iC:.095573,jC:.173647,cD:.442866,PC:.111726,kC:.234221,lC:.126533,mC:.46575,nC:.301526,oC:9.49672,pC:.0215376},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","WC","GD","rC","HD","ID","JD","E","KD","LD","MD","ND","OD","PD","QD","RD","SD","TD","UD","VD","WD","XD","YD","ZD","YC","ZC","MC","aD","NC","aC","bC","cC","dC","eC","bD","OC","fC","gC","hC","iC","jC","cD","PC","kC","lC","mC","nC","oC","pC","",""],E:"Safari on iOS",F:{WC:1270252800,GD:1283904e3,rC:1299628800,HD:1331078400,ID:1359331200,JD:1394409600,E:1410912e3,KD:1413763200,LD:1442361600,MD:1458518400,ND:1473724800,OD:1490572800,PD:1505779200,QD:1522281600,RD:1537142400,SD:1553472e3,TD:1568851200,UD:1572220800,VD:1580169600,WD:1585008e3,XD:1600214400,YD:1619395200,ZD:1632096e3,YC:1639353600,ZC:1647216e3,MC:1652659200,aD:1658275200,NC:1662940800,aC:1666569600,bC:1670889600,cC:1674432e3,dC:1679875200,eC:1684368e3,bD:1690156800,OC:1694995200,fC:1698192e3,gC:1702252800,hC:1705881600,iC:1709596800,jC:1715558400,cD:1722211200,PC:1726444800,kC:1730073600,lC:1733875200,mC:1737936e3,nC:1743379200,oC:1747008e3,pC:null}},H:{A:{dD:.04},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","dD","","",""],E:"Opera Mini",F:{dD:1426464e3}},I:{A:{QC:0,J:0,I:.794067,eD:0,fD:0,gD:0,hD:159068e-9,rC:159068e-9,iD:0,jD:636272e-9},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","eD","fD","gD","QC","J","hD","rC","iD","jD","I","","",""],E:"Android Browser",F:{eD:1256515200,fD:1274313600,gD:1291593600,QC:1298332800,J:1318896e3,hD:1341792e3,rC:1374624e3,iD:1386547200,jD:1401667200,I:1754352e3}},J:{A:{D:0,A:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","A","","",""],E:"Blackberry Browser",F:{D:1325376e3,A:1359504e3}},K:{A:{A:0,B:0,C:0,H:.95866,KC:0,qC:0,LC:0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","KC","qC","C","LC","H","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752e3,KC:1314835200,qC:1318291200,C:1330300800,LC:1349740800,H:1709769600},D:{H:"webkit"}},L:{A:{I:43.5564},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","I","","",""],E:"Chrome for Android",F:{I:1754352e3}},M:{A:{JC:.3289},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","JC","","",""],E:"Firefox for Android",F:{JC:1755648e3}},N:{A:{A:0,B:0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456e3}},O:{A:{MC:.81328},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","MC","","",""],E:"UC Browser for Android",F:{MC:1710115200},D:{MC:"webkit"}},P:{A:{1:0,2:.0218021,3:.0218021,4:.0218021,5:.0327031,6:.0327031,7:.0545052,8:.0872083,9:1.80957,J:0,kD:0,lD:0,mD:.010901,nD:0,oD:0,XC:0,pD:0,qD:0,rD:0,sD:0,tD:0,NC:0,OC:0,PC:0,uD:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","J","kD","lD","mD","nD","oD","XC","pD","qD","rD","sD","tD","NC","OC","PC","uD","1","2","3","4","5","6","7","8","9","","",""],E:"Samsung Internet",F:{1:1677369600,2:1684454400,3:1689292800,4:1697587200,5:1711497600,6:1715126400,7:1717718400,8:1725667200,9:1746057600,J:1461024e3,kD:1481846400,lD:1509408e3,mD:1528329600,nD:1546128e3,oD:1554163200,XC:1567900800,pD:1582588800,qD:1593475200,rD:1605657600,sD:1618531200,tD:1629072e3,NC:1640736e3,OC:1651708800,PC:1659657600,uD:1667260800}},Q:{A:{vD:.18538},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","vD","","",""],E:"QQ Browser",F:{vD:1710288e3}},R:{A:{wD:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","wD","","",""],E:"Baidu Browser",F:{wD:1710201600}},S:{A:{xD:.01196,yD:0},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","xD","yD","","",""],E:"KaiOS Browser",F:{xD:1527811200,yD:1631664e3}}};const jgt=QJ.browsers,J$=VJ.browserVersions,Gfe=_gt;function Wfe(t){return Object.keys(t).reduce((e,r)=>(e[J$[r]]=t[r],e),{})}HI.agents=Object.keys(Gfe).reduce((t,e)=>{let r=Gfe[e];return t[jgt[e]]=Object.keys(r).reduce((n,i)=>(i==="A"?n.usage_global=Wfe(r[i]):i==="C"?n.versions=r[i].reduce((o,s)=>(s===""?o.push(null):o.push(J$[s]),o),[]):i==="D"?n.prefix_exceptions=Wfe(r[i]):i==="E"?n.browser=r[i]:i==="F"?n.release_date=Object.keys(r[i]).reduce((o,s)=>(o[J$[s]]=r[i][s],o),{}):n.prefix=r[i],n),{}),t},{});var Ugt={"0.20":"39","0.21":"41","0.22":"41","0.23":"41","0.24":"41","0.25":"42","0.26":"42","0.27":"43","0.28":"43","0.29":"43","0.30":"44","0.31":"45","0.32":"45","0.33":"45","0.34":"45","0.35":"45","0.36":"47","0.37":"49","1.0":"49","1.1":"50","1.2":"51","1.3":"52","1.4":"53","1.5":"54","1.6":"56","1.7":"58","1.8":"59","2.0":"61","2.1":"61","3.0":"66","3.1":"66","4.0":"69","4.1":"69","4.2":"69","5.0":"73","6.0":"76","6.1":"76","7.0":"78","7.1":"78","7.2":"78","7.3":"78","8.0":"80","8.1":"80","8.2":"80","8.3":"80","8.4":"80","8.5":"80","9.0":"83","9.1":"83","9.2":"83","9.3":"83","9.4":"83","10.0":"85","10.1":"85","10.2":"85","10.3":"85","10.4":"85","11.0":"87","11.1":"87","11.2":"87","11.3":"87","11.4":"87","11.5":"87","12.0":"89","12.1":"89","12.2":"89","13.0":"91","13.1":"91","13.2":"91","13.3":"91","13.4":"91","13.5":"91","13.6":"91","14.0":"93","14.1":"93","14.2":"93","15.0":"94","15.1":"94","15.2":"94","15.3":"94","15.4":"94","15.5":"94","16.0":"96","16.1":"96","16.2":"96","17.0":"98","17.1":"98","17.2":"98","17.3":"98","17.4":"98","18.0":"100","18.1":"100","18.2":"100","18.3":"100","19.0":"102","19.1":"102","20.0":"104","20.1":"104","20.2":"104","20.3":"104","21.0":"106","21.1":"106","21.2":"106","21.3":"106","21.4":"106","22.0":"108","22.1":"108","22.2":"108","22.3":"108","23.0":"110","23.1":"110","23.2":"110","23.3":"110","24.0":"112","24.1":"112","24.2":"112","24.3":"112","24.4":"112","24.5":"112","24.6":"112","24.7":"112","24.8":"112","25.0":"114","25.1":"114","25.2":"114","25.3":"114","25.4":"114","25.5":"114","25.6":"114","25.7":"114","25.8":"114","25.9":"114","26.0":"116","26.1":"116","26.2":"116","26.3":"116","26.4":"116","26.5":"116","26.6":"116","27.0":"118","27.1":"118","27.2":"118","27.3":"118","28.0":"120","28.1":"120","28.2":"120","28.3":"120","29.0":"122","29.1":"122","29.2":"122","29.3":"122","29.4":"122","30.0":"124","30.1":"124","30.2":"124","30.3":"124","30.4":"124","30.5":"124","31.0":"126","31.1":"126","31.2":"126","31.3":"126","31.4":"126","31.5":"126","31.6":"126","31.7":"126","32.0":"128","32.1":"128","32.2":"128","32.3":"128","33.0":"130","33.1":"130","33.2":"130","33.3":"130","33.4":"130","34.0":"132","34.1":"132","34.2":"132","34.3":"132","34.4":"132","34.5":"132","35.0":"134","35.1":"134","35.2":"134","35.3":"134","35.4":"134","35.5":"134","35.6":"134","35.7":"134","36.0":"136","36.1":"136","36.2":"136","36.3":"136","36.4":"136","36.5":"136","36.6":"136","36.7":"136","36.8":"136","37.0":"138","37.1":"138","37.2":"138","37.3":"138","37.4":"138","38.0":"140"};const Qgt={start:"2015-09-08",lts:"2015-10-12",maintenance:"2017-04-01",end:"2018-04-30",codename:"Argon"},Vgt={start:"2015-10-29",maintenance:"2016-04-30",end:"2016-06-30"},$gt={start:"2016-04-26",lts:"2016-10-18",maintenance:"2018-04-30",end:"2019-04-30",codename:"Boron"},Hgt={start:"2016-10-25",maintenance:"2017-04-30",end:"2017-06-30"},Ggt={start:"2017-05-30",lts:"2017-10-31",maintenance:"2019-01-01",end:"2019-12-31",codename:"Carbon"},Wgt={start:"2017-10-01",maintenance:"2018-04-01",end:"2018-06-30"},zgt={start:"2018-04-24",lts:"2018-10-30",maintenance:"2020-05-19",end:"2021-04-30",codename:"Dubnium"},Kgt={start:"2018-10-23",maintenance:"2019-04-22",end:"2019-06-01"},qgt={start:"2019-04-23",lts:"2019-10-21",maintenance:"2020-11-30",end:"2022-04-30",codename:"Erbium"},Xgt={start:"2019-10-22",maintenance:"2020-04-01",end:"2020-06-01"},Ygt={start:"2020-04-21",lts:"2020-10-27",maintenance:"2021-10-19",end:"2023-04-30",codename:"Fermium"},Jgt={start:"2020-10-20",maintenance:"2021-04-01",end:"2021-06-01"},Zgt={start:"2021-04-20",lts:"2021-10-26",maintenance:"2022-10-18",end:"2023-09-11",codename:"Gallium"},e1t={start:"2021-10-19",maintenance:"2022-04-01",end:"2022-06-01"},t1t={start:"2022-04-19",lts:"2022-10-25",maintenance:"2023-10-18",end:"2025-04-30",codename:"Hydrogen"},r1t={start:"2022-10-18",maintenance:"2023-04-01",end:"2023-06-01"},n1t={start:"2023-04-18",lts:"2023-10-24",maintenance:"2024-10-22",end:"2026-04-30",codename:"Iron"},i1t={start:"2023-10-17",maintenance:"2024-04-01",end:"2024-06-01"},o1t={start:"2024-04-24",lts:"2024-10-29",maintenance:"2025-10-21",end:"2027-04-30",codename:"Jod"},s1t={start:"2024-10-16",maintenance:"2025-04-01",end:"2025-06-01"},a1t={start:"2025-04-22",lts:"2025-10-28",maintenance:"2026-10-20",end:"2028-04-30",codename:""},l1t={"v0.8":{start:"2012-06-25",end:"2014-07-31"},"v0.10":{start:"2013-03-11",end:"2016-10-31"},"v0.12":{start:"2015-02-06",end:"2016-12-31"},v4:Qgt,v5:Vgt,v6:$gt,v7:Hgt,v8:Ggt,v9:Wgt,v10:zgt,v11:Kgt,v12:qgt,v13:Xgt,v14:Ygt,v15:Jgt,v16:Zgt,v17:e1t,v18:t1t,v19:r1t,v20:n1t,v21:i1t,v22:o1t,v23:s1t,v24:a1t};function $J(t){this.name="BrowserslistError",this.message=t,this.browserslist=!0,Error.captureStackTrace&&Error.captureStackTrace(this,$J)}$J.prototype=Error.prototype;var O6e=$J,K6=O6e;function uy(){}var c1t={loadQueries:function(){throw new K6("Sharable configs are not supported in client-side build of Browserslist")},getStat:function(e){return e.stats},loadConfig:function(e){if(e.config)throw new K6("Browserslist config are not supported in client-side build")},loadCountry:function(){throw new K6("Country statistics are not supported in client-side build of Browserslist")},loadFeature:function(){throw new K6("Supports queries are not available in client-side build of Browserslist")},currentNode:function(e,r){return e(["maintained node versions"],r)[0]},parseConfig:uy,readConfig:uy,findConfig:uy,findConfigFile:uy,clearCaches:uy,oldDataWarning:uy,env:{}},zfe=/^\s+and\s+(.*)/i,Kfe=/^(?:,\s*|\s+or\s+)(.*)/i;function P6e(t){return Array.isArray(t)?t.reduce(function(e,r){return e.concat(P6e(r))},[]):[t]}function u1t(t,e){for(var r=t.length,n=1;n<=r;n++){var i=t.substr(-n,n);if(e(i,n,r))return t.slice(0,-n)}return""}function RR(t,e){var r={query:e};e.indexOf("not ")===0&&(r.not=!0,e=e.slice(4));for(var n in t){var i=t[n],o=e.match(i.regexp);if(o){r.type=n;for(var s=0;s<i.matches.length;s++)r[i.matches[s]]=o[s+1];return r}}return r.type="unknown",r}function f1t(t,e,r){var n;return u1t(e,function(i,o,s){return zfe.test(i)?(n=RR(t,i.match(zfe)[1]),n.compose="and",r.unshift(n),!0):Kfe.test(i)?(n=RR(t,i.match(Kfe)[1]),n.compose="or",r.unshift(n),!0):o===s?(n=RR(t,i.trim()),n.compose="or",r.unshift(n),!0):!1})}var d1t=function(e,r){return Array.isArray(r)||(r=[r]),P6e(r.map(function(n){var i=[];do n=f1t(e,n,i);while(n);return i}))},p1t=Lgt,CA=HI.agents,uf=Ugt,MR=l1t,F9=fv,Gl=O6e,Zs=c1t,A1t=d1t,h1t=365.259641*24*60*60*1e3,I6e="37",m1t=14;function N6e(t,e){return(t+".").indexOf(e+".")===0}function g1t(t){var e=t.slice(1);return Nr.nodeVersions.some(function(r){return N6e(r,e)})}function qfe(t){return t.filter(function(e){return typeof e=="string"})}function q6(t){var e=t;return t.split(".").length===3&&(e=t.split(".").slice(0,-1).join(".")),e}function o0(t){return function(r){return t+" "+r}}function Z$(t){return parseInt(t.split(".")[0])}function X6(t,e){if(t.length===0)return[];var r=F6e(t.map(Z$)),n=r[r.length-e];if(!n)return t;for(var i=[],o=t.length-1;o>=0&&!(n>Z$(t[o]));o--)i.unshift(t[o]);return i}function F6e(t){for(var e=[],r=0;r<t.length;r++)e.indexOf(t[r])===-1&&e.push(t[r]);return e}function GI(t,e,r){for(var n in r)t[e+" "+n]=r[n]}function Xfe(t,e){if(e=parseFloat(e),t===">")return function(n){return r(n)>e};return t===">="?function(n){return r(n)>=e}:t==="<"?function(n){return parseFloat(n)<e}:function(n){return parseFloat(n)<=e};function r(n){return parseFloat(n.split("-")[1]||n)}}function v1t(t,e){return e=e.split(".").map(B0),e[1]=e[1]||0,e[2]=e[2]||0,t===">"?function(r){return r=r.split(".").map(B0),Rw(r,e)>0}:t===">="?function(r){return r=r.split(".").map(B0),Rw(r,e)>=0}:t==="<"?function(r){return r=r.split(".").map(B0),Rw(e,r)>0}:function(r){return r=r.split(".").map(B0),Rw(e,r)>=0}}function B0(t){return parseInt(t)}function mD(t,e){return t<e?-1:t>e?1:0}function Rw(t,e){return mD(parseInt(t[0]),parseInt(e[0]))||mD(parseInt(t[1]||"0"),parseInt(e[1]||"0"))||mD(parseInt(t[2]||"0"),parseInt(e[2]||"0"))}function Yfe(t,e){switch(e=e.split(".").map(B0),typeof e[1]>"u"&&(e[1]="x"),t){case"<=":return function(r){return r=r.split(".").map(B0),Jfe(r,e)<=0};case">=":default:return function(r){return r=r.split(".").map(B0),Jfe(r,e)>=0}}}function Jfe(t,e){return t[0]!==e[0]?t[0]<e[0]?-1:1:e[1]==="x"?0:t[1]!==e[1]?t[1]<e[1]?-1:1:0}function y1t(t,e){return t.versions.indexOf(e)!==-1?e:Nr.versionAliases[t.name][e]?Nr.versionAliases[t.name][e]:!1}function Y6(t,e){var r=y1t(t,e);return r||(t.versions.length===1?t.versions[0]:!1)}function T6e(t,e){return t=t/1e3,Object.keys(CA).reduce(function(r,n){var i=C0(n,e);if(!i)return r;var o=Object.keys(i.releaseDate).filter(function(s){var a=i.releaseDate[s];return a!==null&&a>=t});return r.concat(o.map(o0(i.name)))},[])}function Zfe(t){return{name:t.name,versions:t.versions,released:t.released,releaseDate:t.releaseDate}}function C0(t,e){if(t=t.toLowerCase(),t=Nr.aliases[t]||t,e.mobileToDesktop&&Nr.desktopNames[t]){var r=Nr.data[Nr.desktopNames[t]];if(t==="android")return C1t(Zfe(Nr.data[t]),r);var n=Zfe(r);return n.name=t,n}return Nr.data[t]}function ede(t,e){var r=e.indexOf(I6e);return t.filter(function(n){return/^(?:[2-4]\.|[34]$)/.test(n)}).concat(e.slice(r))}function B1t(t){var e={};for(var r in t)e[r]=t[r];return e}function C1t(t,e){return t.released=ede(t.released,e.released),t.versions=ede(t.versions,e.versions),t.releaseDate=B1t(t.releaseDate),t.released.forEach(function(r){t.releaseDate[r]===void 0&&(t.releaseDate[r]=e.releaseDate[r])}),t}function fy(t,e){var r=C0(t,e);if(!r)throw new Gl("Unknown browser "+t);return r}function b1t(t){return new Gl("Unknown browser query `"+t+"`. Maybe you are using old Browserslist or made typo in query.")}function J6(t,e,r,n){var i=1;switch(e){case"android":if(n.mobileToDesktop)return t;var o=Nr.data.chrome.released;i=o.length-o.indexOf(I6e);break;case"op_mob":var s=Nr.data.op_mob.released.slice(-1)[0];i=Z$(s)-m1t+1;break;default:return t}return r<=i?t.slice(-1):t.slice(i-1-r)}function tde(t,e){return typeof t=="string"&&(t.indexOf("y")>=0||e&&t.indexOf("a")>=0)}function Uy(t,e){return HJ(t).reduce(function(r,n,i){if(n.not&&i===0)throw new Gl("Write any browsers query (for instance, `defaults`) before `"+n.query+"`");var o=GJ[n.type],s=o.select.call(Nr,e,n).map(function(l){var c=l.split(" ");return c[1]==="0"?c[0]+" "+C0(c[0],e).versions[0]:l});if(n.compose==="and")return n.not?r.filter(function(l){return s.indexOf(l)===-1}):r.filter(function(l){return s.indexOf(l)!==-1});if(n.not){var a={};return s.forEach(function(l){a[l]=!0}),r.filter(function(l){return!a[l]})}return r.concat(s)},[])}function L6e(t){return typeof t>"u"&&(t={}),typeof t.path>"u"&&(t.path=F9.resolve?F9.resolve("."):"."),t}function R6e(t,e){if(typeof t>"u"||t===null){var r=Nr.loadConfig(e);r?t=r:t=Nr.defaults}return t}function M6e(t){if(!(typeof t=="string"||Array.isArray(t)))throw new Gl("Browser queries must be an array or string. Got "+typeof t+".")}var _R={},jR={};function Nr(t,e){e=L6e(e),t=R6e(t,e),M6e(t);var r=HJ(t).some(function(l){return GJ[l.type].needsPath}),n={ignoreUnknownVersions:e.ignoreUnknownVersions,dangerousExtend:e.dangerousExtend,mobileToDesktop:e.mobileToDesktop,env:e.env};r&&(n.path=e.path),Zs.oldDataWarning(Nr.data);var i=Zs.getStat(e,Nr.data);if(i){n.customUsage={};for(var o in i)GI(n.customUsage,o,i[o])}var s=JSON.stringify([t,n]);if(_R[s])return _R[s];var a=F6e(Uy(t,n)).sort(function(l,c){if(l=l.split(" "),c=c.split(" "),l[0]===c[0]){var u=l[1].split("-")[0],f=c[1].split("-")[0];return Rw(f.split("."),u.split("."))}else return mD(l[0],c[0])});return Zs.env.BROWSERSLIST_DISABLE_CACHE||(_R[s]=a),a}function HJ(t){var e=JSON.stringify(t);if(e in jR)return jR[e];var r=A1t(GJ,t);return Zs.env.BROWSERSLIST_DISABLE_CACHE||(jR[e]=r),r}function _6e(t,e){var r=Zs.loadStat(t,e,Nr.data);if(r){t.customUsage={};for(var n in r)GI(t.customUsage,n,r[n])}if(!t.customUsage)throw new Gl("Custom usage statistics was not provided");return t.customUsage}Nr.parse=function(t,e){return e=L6e(e),t=R6e(t,e),M6e(t),HJ(t)};Nr.cache={};Nr.data={};Nr.usage={global:{},custom:null};Nr.defaults=["> 0.5%","last 2 versions","Firefox ESR","not dead"];Nr.aliases={fx:"firefox",ff:"firefox",ios:"ios_saf",explorer:"ie",blackberry:"bb",explorermobile:"ie_mob",operamini:"op_mini",operamobile:"op_mob",chromeandroid:"and_chr",firefoxandroid:"and_ff",ucandroid:"and_uc",qqandroid:"and_qq"};Nr.desktopNames={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",android:"chrome"};Nr.versionAliases={};Nr.clearCaches=Zs.clearCaches;Nr.parseConfig=Zs.parseConfig;Nr.readConfig=Zs.readConfig;Nr.findConfigFile=Zs.findConfigFile;Nr.findConfig=Zs.findConfig;Nr.loadConfig=Zs.loadConfig;Nr.coverage=function(t,e){var r;if(typeof e>"u")r=Nr.usage.global;else if(e==="my stats"){var n={};n.path=F9.resolve?F9.resolve("."):".";var i=Zs.getStat(n);if(!i)throw new Gl("Custom usage statistics was not provided");r={};for(var o in i)GI(r,o,i[o])}else if(typeof e=="string")e.length>2?e=e.toLowerCase():e=e.toUpperCase(),Zs.loadCountry(Nr.usage,e,Nr.data),r=Nr.usage[e];else{"dataByBrowser"in e&&(e=e.dataByBrowser),r={};for(var s in e)for(var a in e[s])r[s+" "+a]=e[s][a]}return t.reduce(function(l,c){var u=r[c];return u===void 0&&(u=r[c.replace(/ \S+$/," 0")]),l+(u||0)},0)};function UR(t,e){var r=Nr.nodeVersions.filter(function(n){return N6e(n,e.version)});if(r.length===0){if(t.ignoreUnknownVersions)return[];throw new Gl("Unknown version "+e.version+" of Node.js")}return["node "+r[r.length-1]]}function QR(t,e){var r=parseInt(e.year),n=parseInt(e.month||"01")-1,i=parseInt(e.day||"01");return T6e(Date.UTC(r,n,i,0,0,0),t)}function VR(t,e){var r=parseFloat(e.coverage),n=Nr.usage.global;if(e.place)if(e.place.match(/^my\s+stats$/i)){if(!t.customUsage)throw new Gl("Custom usage statistics was not provided");n=t.customUsage}else{var i;e.place.length===2?i=e.place.toUpperCase():i=e.place.toLowerCase(),Zs.loadCountry(Nr.usage,i,Nr.data),n=Nr.usage[i]}else e.config&&(n=_6e(t,e.config));for(var o=Object.keys(n).sort(function(u,f){return n[f]-n[u]}),s=0,a=[],l,c=0;c<o.length&&(l=o[c],!(n[l]===0||(s+=n[l],a.push(l),s>=r)));c++);return a}var GJ={last_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+major\s+versions?$/i,select:function(t,e){return Object.keys(CA).reduce(function(r,n){var i=C0(n,t);if(!i)return r;var o=X6(i.released,e.versions);return o=o.map(o0(i.name)),o=J6(o,i.name,e.versions,t),r.concat(o)},[])}},last_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+versions?$/i,select:function(t,e){return Object.keys(CA).reduce(function(r,n){var i=C0(n,t);if(!i)return r;var o=i.released.slice(-e.versions);return o=o.map(o0(i.name)),o=J6(o,i.name,e.versions,t),r.concat(o)},[])}},last_electron_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+electron\s+major\s+versions?$/i,select:function(t,e){var r=X6(Object.keys(uf),e.versions);return r.map(function(n){return"chrome "+uf[n]})}},last_node_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+node\s+major\s+versions?$/i,select:function(t,e){return X6(Nr.nodeVersions,e.versions).map(function(r){return"node "+r})}},last_browser_major_versions:{matches:["versions","browser"],regexp:/^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i,select:function(t,e){var r=fy(e.browser,t),n=X6(r.released,e.versions),i=n.map(o0(r.name));return i=J6(i,r.name,e.versions,t),i}},last_electron_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+electron\s+versions?$/i,select:function(t,e){return Object.keys(uf).slice(-e.versions).map(function(r){return"chrome "+uf[r]})}},last_node_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+node\s+versions?$/i,select:function(t,e){return Nr.nodeVersions.slice(-e.versions).map(function(r){return"node "+r})}},last_browser_versions:{matches:["versions","browser"],regexp:/^last\s+(\d+)\s+(\w+)\s+versions?$/i,select:function(t,e){var r=fy(e.browser,t),n=r.released.slice(-e.versions).map(o0(r.name));return n=J6(n,r.name,e.versions,t),n}},unreleased_versions:{matches:[],regexp:/^unreleased\s+versions$/i,select:function(t){return Object.keys(CA).reduce(function(e,r){var n=C0(r,t);if(!n)return e;var i=n.versions.filter(function(o){return n.released.indexOf(o)===-1});return i=i.map(o0(n.name)),e.concat(i)},[])}},unreleased_electron_versions:{matches:[],regexp:/^unreleased\s+electron\s+versions?$/i,select:function(){return[]}},unreleased_browser_versions:{matches:["browser"],regexp:/^unreleased\s+(\w+)\s+versions?$/i,select:function(t,e){var r=fy(e.browser,t);return r.versions.filter(function(n){return r.released.indexOf(n)===-1}).map(o0(r.name))}},last_years:{matches:["years"],regexp:/^last\s+((\d+\.)?\d+)\s+years?$/i,select:function(t,e){return T6e(Date.now()-h1t*e.years,t)}},since_y:{matches:["year"],regexp:/^since (\d+)$/i,select:QR},since_y_m:{matches:["year","month"],regexp:/^since (\d+)-(\d+)$/i,select:QR},since_y_m_d:{matches:["year","month","day"],regexp:/^since (\d+)-(\d+)-(\d+)$/i,select:QR},popularity:{matches:["sign","popularity"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%$/,select:function(t,e){var r=parseFloat(e.popularity),n=Nr.usage.global;return Object.keys(n).reduce(function(i,o){return e.sign===">"?n[o]>r&&i.push(o):e.sign==="<"?n[o]<r&&i.push(o):e.sign==="<="?n[o]<=r&&i.push(o):n[o]>=r&&i.push(o),i},[])}},popularity_in_my_stats:{matches:["sign","popularity"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+my\s+stats$/,select:function(t,e){var r=parseFloat(e.popularity);if(!t.customUsage)throw new Gl("Custom usage statistics was not provided");var n=t.customUsage;return Object.keys(n).reduce(function(i,o){var s=n[o];return s==null||(e.sign===">"?s>r&&i.push(o):e.sign==="<"?s<r&&i.push(o):e.sign==="<="?s<=r&&i.push(o):s>=r&&i.push(o)),i},[])}},popularity_in_config_stats:{matches:["sign","popularity","config"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/,select:function(t,e){var r=parseFloat(e.popularity),n=_6e(t,e.config);return Object.keys(n).reduce(function(i,o){var s=n[o];return s==null||(e.sign===">"?s>r&&i.push(o):e.sign==="<"?s<r&&i.push(o):e.sign==="<="?s<=r&&i.push(o):s>=r&&i.push(o)),i},[])}},popularity_in_place:{matches:["sign","popularity","place"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+((alt-)?\w\w)$/,select:function(t,e){var r=parseFloat(e.popularity),n=e.place;n.length===2?n=n.toUpperCase():n=n.toLowerCase(),Zs.loadCountry(Nr.usage,n,Nr.data);var i=Nr.usage[n];return Object.keys(i).reduce(function(o,s){var a=i[s];return a==null||(e.sign===">"?a>r&&o.push(s):e.sign==="<"?a<r&&o.push(s):e.sign==="<="?a<=r&&o.push(s):a>=r&&o.push(s)),o},[])}},cover:{matches:["coverage"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%$/i,select:VR},cover_in:{matches:["coverage","place"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(my\s+stats|(alt-)?\w\w)$/i,select:VR},cover_config:{matches:["coverage","config"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/i,select:VR},supports:{matches:["supportType","feature"],regexp:/^(?:(fully|partially)\s+)?supports\s+([\w-]+)$/,select:function(t,e){Zs.loadFeature(Nr.cache,e.feature);var r=e.supportType!=="fully",n=Nr.cache[e.feature],i=[];for(var o in n){for(var s=C0(o,t),a=s.released.length-1;a>=0&&!(s.released[a]in n[o]);)a--;var l=t.mobileToDesktop&&o in Nr.desktopNames&&tde(n[o][s.released[a]],r);s.versions.forEach(function(c){var u=n[o][c];u===void 0&&l&&(u=n[Nr.desktopNames[o]][c]),tde(u,r)&&i.push(o+" "+c)})}return i}},electron_range:{matches:["from","to"],regexp:/^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(t,e){var r=q6(e.from),n=q6(e.to),i=parseFloat(e.from),o=parseFloat(e.to);if(!uf[r])throw new Gl("Unknown version "+i+" of electron");if(!uf[n])throw new Gl("Unknown version "+o+" of electron");return Object.keys(uf).filter(function(s){var a=parseFloat(s);return a>=i&&a<=o}).map(function(s){return"chrome "+uf[s]})}},node_range:{matches:["from","to"],regexp:/^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(t,e){return Nr.nodeVersions.filter(Yfe(">=",e.from)).filter(Yfe("<=",e.to)).map(function(r){return"node "+r})}},browser_range:{matches:["browser","from","to"],regexp:/^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(t,e){var r=fy(e.browser,t),n=parseFloat(Y6(r,e.from)||e.from),i=parseFloat(Y6(r,e.to)||e.to);function o(s){var a=parseFloat(s);return a>=n&&a<=i}return r.released.filter(o).map(o0(r.name))}},electron_ray:{matches:["sign","version"],regexp:/^electron\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(t,e){var r=q6(e.version);return Object.keys(uf).filter(Xfe(e.sign,r)).map(function(n){return"chrome "+uf[n]})}},node_ray:{matches:["sign","version"],regexp:/^node\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(t,e){return Nr.nodeVersions.filter(v1t(e.sign,e.version)).map(function(r){return"node "+r})}},browser_ray:{matches:["browser","sign","version"],regexp:/^(\w+)\s*(>=?|<=?)\s*([\d.]+)$/,select:function(t,e){var r=e.version,n=fy(e.browser,t),i=Nr.versionAliases[n.name][r];return i&&(r=i),n.released.filter(Xfe(e.sign,r)).map(function(o){return n.name+" "+o})}},firefox_esr:{matches:[],regexp:/^(firefox|ff|fx)\s+esr$/i,select:function(){return["firefox 128","firefox 140"]}},opera_mini_all:{matches:[],regexp:/(operamini|op_mini)\s+all/i,select:function(){return["op_mini all"]}},electron_version:{matches:["version"],regexp:/^electron\s+([\d.]+)$/i,select:function(t,e){var r=q6(e.version),n=uf[r];if(!n)throw new Gl("Unknown version "+e.version+" of electron");return["chrome "+n]}},node_major_version:{matches:["version"],regexp:/^node\s+(\d+)$/i,select:UR},node_minor_version:{matches:["version"],regexp:/^node\s+(\d+\.\d+)$/i,select:UR},node_patch_version:{matches:["version"],regexp:/^node\s+(\d+\.\d+\.\d+)$/i,select:UR},current_node:{matches:[],regexp:/^current\s+node$/i,select:function(t){return[Zs.currentNode(Uy,t)]}},maintained_node:{matches:[],regexp:/^maintained\s+node\s+versions$/i,select:function(t){var e=Date.now(),r=Object.keys(MR).filter(function(n){return e<Date.parse(MR[n].end)&&e>Date.parse(MR[n].start)&&g1t(n)}).map(function(n){return"node "+n.slice(1)});return Uy(r,t)}},phantomjs_1_9:{matches:[],regexp:/^phantomjs\s+1.9$/i,select:function(){return["safari 5"]}},phantomjs_2_1:{matches:[],regexp:/^phantomjs\s+2.1$/i,select:function(){return["safari 6"]}},browser_version:{matches:["browser","version"],regexp:/^(\w+)\s+(tp|[\d.]+)$/i,select:function(t,e){var r=e.version;/^tp$/i.test(r)&&(r="TP");var n=fy(e.browser,t),i=Y6(n,r);if(i)r=i;else if(r.indexOf(".")===-1?i=r+".0":i=r.replace(/\.0$/,""),i=Y6(n,i),i)r=i;else{if(t.ignoreUnknownVersions)return[];throw new Gl("Unknown version "+r+" of "+e.browser)}return[n.name+" "+r]}},browserslist_config:{matches:[],regexp:/^browserslist config$/i,needsPath:!0,select:function(t){return Nr(void 0,t)}},extends:{matches:["config"],regexp:/^extends (.+)$/i,needsPath:!0,select:function(t,e){return Uy(Zs.loadQueries(t,e.config),t)}},defaults:{matches:[],regexp:/^defaults$/i,select:function(t){return Uy(Nr.defaults,t)}},dead:{matches:[],regexp:/^dead$/i,select:function(t){var e=["Baidu >= 0","ie <= 11","ie_mob <= 11","bb <= 10","op_mob <= 12.1","samsung 4"];return Uy(e,t)}},unknown:{matches:[],regexp:/^(\w+)$/i,select:function(t,e){throw C0(e.query,t)?new Gl("Specify versions in Browserslist query for browser "+e.query):b1t(e.query)}}};(function(){for(var t in CA){var e=CA[t];Nr.data[t]={name:t,versions:qfe(CA[t].versions),released:qfe(CA[t].versions.slice(0,-3)),releaseDate:CA[t].release_date},GI(Nr.usage.global,t,e.usage_global),Nr.versionAliases[t]={};for(var r=0;r<e.versions.length;r++){var n=e.versions[r];if(n&&n.indexOf("-")!==-1)for(var i=n.split("-"),o=0;o<i.length;o++)Nr.versionAliases[t][i[o]]=n}}Nr.nodeVersions=p1t.map(function(s){return s.version})})();var WI=Nr;const T9=Io(WI);var WJ={exports:{}},w1t={1:"ls",2:"rec",3:"pr",4:"cr",5:"wd",6:"other",7:"unoff"},x1t={y:1,n:2,a:4,p:8,u:16,x:32,d:64};const S1t=w1t,rde=x1t,E1t=QJ.browsers,D1t=VJ.browserVersions,k1t=Math.log(2);function O1t(t){let e=Object.keys(rde).reduce((i,o)=>(t&rde[o]&&i.push(o),i),[]),r=t>>7,n=[];for(;r;){let i=Math.floor(Math.log(r)/k1t)+1;n.unshift(`#${i}`),r-=Math.pow(2,i-1)}return e.concat(n).join(" ")}function j6e(t){let e={status:S1t[t.B],title:t.C,shown:t.D};return e.stats=Object.keys(t.A).reduce((r,n)=>{let i=t.A[n];return r[E1t[n]]=Object.keys(i).reduce((o,s)=>{let a=i[s].split(" "),l=O1t(s);return a.forEach(c=>o[D1t[c]]=l),o},{}),r},{}),e}WJ.exports=j6e;WJ.exports.default=j6e;var U6e=WJ.exports,$R,nde;function P1t(){return nde||(nde=1,$R={A:{A:{1:"F A B",2:"K D E sC"},B:{1:"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{1:"0 sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",257:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB",289:"QC xC yC",292:"tC"},D:{1:"0 1 2 3 4 5 6 7 8 9 VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",33:"J"},E:{1:"VB D E F A B C L M G 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",33:"J zC WC",129:"K 0C 1C"},F:{1:"0 1 2 3 4 5 6 7 8 9 B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z DD ED KC qC FD LC",2:"F BD CD"},G:{1:"E GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",33:"WC"},H:{2:"dD"},I:{1:"QC J I fD gD hD rC iD jD",33:"eD"},J:{1:"D A"},K:{1:"B C H KC qC LC",2:"A"},L:{1:"I"},M:{1:"JC"},N:{1:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"yD",257:"xD"}},B:4,C:"CSS3 Border-radius (rounded corners)",D:!0}),$R}var HR,ide;function I1t(){return ide||(ide=1,HR={A:{A:{1:"F A B",2:"K D E sC"},B:{1:"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{1:"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC",33:"xC yC"},D:{1:"0 1 2 3 4 5 6 7 8 9 A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",33:"J VB K D E F"},E:{1:"K D E F A B C L M G 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",33:"VB",164:"J zC WC"},F:{1:"0 1 2 3 4 5 6 7 8 9 B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z DD ED KC qC FD LC",2:"F BD CD"},G:{1:"E HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",33:"GD rC",164:"WC"},H:{2:"dD"},I:{1:"J I hD rC iD jD",164:"QC eD fD gD"},J:{1:"A",33:"D"},K:{1:"B C H KC qC LC",2:"A"},L:{1:"I"},M:{1:"JC"},N:{1:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"xD yD"}},B:4,C:"CSS3 Box-shadow",D:!0}),HR}var GR,ode;function N1t(){return ode||(ode=1,GR={A:{A:{1:"A B",2:"K D E F sC"},B:{1:"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{1:"0 1 2 3 4 5 6 7 8 9 N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC J xC yC",33:"VB K D E F A B C L M G"},D:{1:"0 lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",33:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB"},E:{1:"F A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"zC WC",33:"K D E 0C 1C 2C",292:"J VB"},F:{1:"0 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z LC",2:"F B BD CD DD ED KC qC FD",33:"1 2 3 4 5 6 7 8 9 C G N O P WB XB"},G:{1:"LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",33:"E ID JD KD",164:"WC GD rC HD"},H:{2:"dD"},I:{1:"I",33:"J hD rC iD jD",164:"QC eD fD gD"},J:{33:"D A"},K:{1:"H LC",2:"A B C KC qC"},L:{1:"I"},M:{1:"JC"},N:{1:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"xD yD"}},B:5,C:"CSS Animation",D:!0}),GR}var WR,sde;function F1t(){return sde||(sde=1,WR={A:{A:{1:"A B",2:"K D E F sC"},B:{1:"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{1:"0 1 2 3 4 5 6 7 8 9 N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC xC yC",33:"VB K D E F A B C L M G",164:"J"},D:{1:"0 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",33:"1 2 3 4 5 6 J VB K D E F A B C L M G N O P WB"},E:{1:"D E F A B C L M G 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",33:"K 0C",164:"J VB zC WC"},F:{1:"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z LC",2:"F BD CD",33:"C",164:"B DD ED KC qC FD"},G:{1:"E JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",33:"ID",164:"WC GD rC HD"},H:{2:"dD"},I:{1:"I iD jD",33:"QC J eD fD gD hD rC"},J:{1:"A",33:"D"},K:{1:"H LC",33:"C",164:"A B KC qC"},L:{1:"I"},M:{1:"JC"},N:{1:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"xD yD"}},B:5,C:"CSS3 Transitions",D:!0}),WR}var zR,ade;function T1t(){return ade||(ade=1,zR={A:{A:{2:"sC",8:"K D E",129:"A B",161:"F"},B:{1:"0 O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",129:"C L M G N"},C:{1:"0 1 2 3 4 5 6 7 8 9 N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC",33:"J VB K D E F A B C L M G xC yC"},D:{1:"0 eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",33:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB"},E:{1:"F A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",33:"J VB K D E zC WC 0C 1C 2C"},F:{1:"0 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z LC",2:"F BD CD",33:"1 2 3 B C G N O P WB DD ED KC qC FD"},G:{1:"LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",33:"E WC GD rC HD ID JD KD"},H:{2:"dD"},I:{1:"I",33:"QC J eD fD gD hD rC iD jD"},J:{33:"D A"},K:{1:"B C H KC qC LC",2:"A"},L:{1:"I"},M:{1:"JC"},N:{1:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"xD yD"}},B:4,C:"CSS3 2D Transforms",D:!0}),zR}var KR,lde;function L1t(){return lde||(lde=1,KR={A:{A:{2:"K D E F sC",132:"A B"},B:{1:"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{1:"0 1 2 3 4 5 6 7 8 9 N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC J VB K D E F xC yC",33:"A B C L M G"},D:{1:"0 eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"J VB K D E F A B",33:"1 2 3 4 5 6 7 8 9 C L M G N O P WB XB YB ZB aB bB cB dB"},E:{1:"ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"zC WC",33:"J VB K D E 0C 1C 2C",257:"F A B C L M G 3C XC KC LC 4C 5C 6C YC"},F:{1:"0 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"F B C BD CD DD ED KC qC FD LC",33:"1 2 3 G N O P WB"},G:{1:"ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",33:"E WC GD rC HD ID JD KD",257:"LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC"},H:{2:"dD"},I:{1:"I",2:"eD fD gD",33:"QC J hD rC iD jD"},J:{33:"D A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{132:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"xD yD"}},B:5,C:"CSS3 3D Transforms",D:!0}),KR}var qR,cde;function R1t(){return cde||(cde=1,qR={A:{A:{1:"A B",2:"K D E F sC"},B:{1:"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{1:"0 eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC xC",260:"1 2 3 4 5 6 7 8 9 N O P WB XB YB ZB aB bB cB dB",292:"J VB K D E F A B C L M G yC"},D:{1:"0 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",33:"1 2 3 4 5 6 A B C L M G N O P WB",548:"J VB K D E F"},E:{1:"ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"zC WC",260:"D E F A B C L M G 1C 2C 3C XC KC LC 4C 5C 6C YC",292:"K 0C",804:"J VB"},F:{1:"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z LC",2:"F B BD CD DD ED",33:"C FD",164:"KC qC"},G:{1:"ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",260:"E JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC",292:"HD ID",804:"WC GD rC"},H:{2:"dD"},I:{1:"I iD jD",33:"J hD rC",548:"QC eD fD gD"},J:{1:"A",548:"D"},K:{1:"H LC",2:"A B",33:"C",164:"KC qC"},L:{1:"I"},M:{1:"JC"},N:{1:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"xD yD"}},B:4,C:"CSS Gradients",D:!0}),qR}var XR,ude;function M1t(){return ude||(ude=1,XR={A:{A:{1:"E F A B",8:"K D sC"},B:{1:"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{1:"0 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",33:"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB xC yC"},D:{1:"0 1 2 3 4 5 6 7 8 9 A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",33:"J VB K D E F"},E:{1:"K D E F A B C L M G 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",33:"J VB zC WC"},F:{1:"0 1 2 3 4 5 6 7 8 9 B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC",2:"F"},G:{1:"E HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",33:"WC GD rC"},H:{1:"dD"},I:{1:"J I hD rC iD jD",33:"QC eD fD gD"},J:{1:"A",33:"D"},K:{1:"A B C H KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{1:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"xD yD"}},B:5,C:"CSS3 Box-sizing",D:!0}),XR}var YR,fde;function _1t(){return fde||(fde=1,YR={A:{A:{2:"K D E F A B sC"},B:{1:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",1028:"L M G N O P",1346:"C"},C:{1:"0 dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC xC",196:"cB",516:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB yC"},D:{1:"0 vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"J VB K D E F A B C L M G N O",33:"1 2 3 4 5 6 7 8 9 P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB"},E:{1:"A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"J VB zC WC 0C",33:"K D E F 1C 2C"},F:{1:"0 iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"F B C BD CD DD ED KC qC FD LC",33:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB"},G:{1:"MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"WC GD rC HD",33:"E ID JD KD LD"},H:{2:"dD"},I:{1:"I",2:"QC J eD fD gD hD rC",33:"iD jD"},J:{2:"D",33:"A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{2:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 mD nD oD XC pD qD rD sD tD NC OC PC uD",33:"J kD lD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"xD yD"}},B:5,C:"CSS Filter Effects",D:!0}),YR}var JR,dde;function j1t(){return dde||(dde=1,JR={A:{A:{2:"K D E F A B sC"},B:{2:"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{2:"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{2:"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{1:"A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"J VB K D E zC WC 0C 1C 2C",33:"F"},F:{2:"0 1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC"},G:{1:"ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"E WC GD rC HD ID JD KD",33:"LD MD"},H:{2:"dD"},I:{2:"QC J I eD fD gD hD rC iD jD"},J:{2:"D A"},K:{2:"A B C H KC qC LC"},L:{2:"I"},M:{2:"JC"},N:{2:"A B"},O:{2:"MC"},P:{2:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{2:"vD"},R:{2:"wD"},S:{2:"xD yD"}},B:5,C:"CSS filter() function",D:!0}),JR}var ZR,pde;function U1t(){return pde||(pde=1,ZR={A:{A:{2:"K D E F A B sC"},B:{1:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",2:"C L M G N",257:"O P"},C:{1:"0 m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B xC yC",578:"AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l"},D:{1:"0 GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB",194:"pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC"},E:{1:"PC kC lC mC nC oC pC AD",2:"J VB K D E zC WC 0C 1C 2C",33:"F A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C"},F:{1:"0 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB BD CD DD ED KC qC FD LC",194:"cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B"},G:{1:"PC kC lC mC nC oC pC",2:"E WC GD rC HD ID JD KD",33:"LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD"},H:{2:"dD"},I:{1:"I",2:"QC J eD fD gD hD rC iD jD"},J:{2:"D A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{2:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 qD rD sD tD NC OC PC uD",2:"J",194:"kD lD mD nD oD XC pD"},Q:{2:"vD"},R:{1:"wD"},S:{2:"xD yD"}},B:7,C:"CSS Backdrop Filter",D:!0}),ZR}var eM,Ade;function Q1t(){return Ade||(Ade=1,eM={A:{A:{2:"K D E F A B sC"},B:{2:"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{33:"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",164:"tC QC xC yC"},D:{2:"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{2:"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{2:"0 1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC"},G:{2:"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{2:"dD"},I:{2:"QC J I eD fD gD hD rC iD jD"},J:{2:"D A"},K:{2:"A B C H KC qC LC"},L:{2:"I"},M:{33:"JC"},N:{2:"A B"},O:{2:"MC"},P:{2:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{2:"vD"},R:{2:"wD"},S:{33:"xD yD"}},B:5,C:"CSS element() function",D:!0}),eM}var tM,hde;function V1t(){return hde||(hde=1,tM={A:{A:{1:"A B",2:"K D E F sC"},B:{1:"C L M G N O P",516:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{132:"uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B",164:"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB xC yC",516:"5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a",1028:"0 b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC"},D:{420:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB",516:"0 sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{1:"A B C L M G XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",132:"F 3C",164:"D E 2C",420:"J VB K zC WC 0C 1C"},F:{1:"C KC qC FD LC",2:"F B BD CD DD ED",420:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB",516:"0 fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},G:{1:"ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",132:"LD MD",164:"E JD KD",420:"WC GD rC HD ID"},H:{1:"dD"},I:{420:"QC J eD fD gD hD rC iD jD",516:"I"},J:{420:"D A"},K:{1:"C KC qC LC",2:"A B",516:"H"},L:{516:"I"},M:{1028:"JC"},N:{1:"A B"},O:{516:"MC"},P:{420:"J",516:"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{516:"vD"},R:{516:"wD"},S:{164:"xD yD"}},B:4,C:"CSS3 Multiple column layout",D:!0}),tM}var rM,mde;function $1t(){return mde||(mde=1,rM={A:{A:{2:"K D E F sC",33:"A B"},B:{1:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",33:"C L M G N O P"},C:{1:"0 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",33:"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B xC yC"},D:{1:"0 wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",33:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB"},E:{33:"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{1:"0 jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"F B C BD CD DD ED KC qC FD LC",33:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB"},G:{33:"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{2:"dD"},I:{1:"I",33:"QC J eD fD gD hD rC iD jD"},J:{33:"D A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{33:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 lD mD nD oD XC pD qD rD sD tD NC OC PC uD",33:"J kD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"yD",33:"xD"}},B:5,C:"CSS user-select: none",D:!0}),rM}var nM,gde;function H1t(){return gde||(gde=1,nM={A:{A:{2:"K D E F sC",1028:"B",1316:"A"},B:{1:"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{1:"0 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",164:"1 2 tC QC J VB K D E F A B C L M G N O P WB xC yC",516:"3 4 5 6 7 8"},D:{1:"0 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",33:"2 3 4 5 6 7 8 9",164:"1 J VB K D E F A B C L M G N O P WB"},E:{1:"F A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",33:"D E 1C 2C",164:"J VB K zC WC 0C"},F:{1:"0 1 2 3 4 5 6 7 8 9 O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z LC",2:"F B C BD CD DD ED KC qC FD",33:"G N"},G:{1:"LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",33:"E JD KD",164:"WC GD rC HD ID"},H:{1:"dD"},I:{1:"I iD jD",164:"QC J eD fD gD hD rC"},J:{1:"A",164:"D"},K:{1:"H LC",2:"A B C KC qC"},L:{1:"I"},M:{1:"JC"},N:{1:"B",292:"A"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"xD yD"}},B:4,C:"CSS Flexible Box Layout Module",D:!0}),nM}var iM,vde;function G1t(){return vde||(vde=1,iM={A:{A:{2:"K D E sC",260:"F",516:"A B"},B:{1:"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{1:"0 1 2 3 4 5 6 7 8 9 N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC xC yC",33:"J VB K D E F A B C L M G"},D:{1:"0 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"J VB K D E F A B C L M G N O P",33:"1 2 3 4 5 6 WB"},E:{1:"D E F A B C L M G 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"J VB zC WC 0C",33:"K"},F:{1:"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"F B C BD CD DD ED KC qC FD LC"},G:{1:"E JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"WC GD rC HD",33:"ID"},H:{2:"dD"},I:{1:"I",2:"QC J eD fD gD hD rC",132:"iD jD"},J:{1:"A",2:"D"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{1:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"xD yD"}},B:4,C:"calc() as CSS unit value",D:!0}),iM}var oM,yde;function W1t(){return yde||(yde=1,oM={A:{A:{1:"F A B",2:"K D E sC"},B:{1:"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{1:"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC xC",36:"yC"},D:{1:"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",516:"J VB K D E F A B C L M"},E:{1:"D E F A B C L M G 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",772:"J VB K zC WC 0C 1C"},F:{1:"0 1 2 3 4 5 6 7 8 9 B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z DD ED KC qC FD LC",2:"F BD",36:"CD"},G:{1:"E JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",4:"WC GD rC ID",516:"HD"},H:{132:"dD"},I:{1:"I iD jD",36:"eD",516:"QC J hD rC",548:"fD gD"},J:{1:"D A"},K:{1:"A B C H KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{1:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"xD yD"}},B:4,C:"CSS3 Background-image options",D:!0}),oM}var sM,Bde;function z1t(){return Bde||(Bde=1,sM={A:{A:{2:"K D E F A B sC"},B:{1:"G N O P",33:"C L M",129:"CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",161:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},C:{1:"0 rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB xC yC"},D:{129:"CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",161:"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},E:{2:"zC",129:"MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",388:"VB K D E F A B C L M G 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC",420:"J WC"},F:{2:"F B C BD CD DD ED KC qC FD LC",129:"0 p q r s t u v w x y z",161:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o"},G:{129:"MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",388:"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC"},H:{2:"dD"},I:{16:"QC eD fD gD",129:"I",161:"J hD rC iD jD"},J:{161:"D A"},K:{16:"A B C KC qC LC",129:"H"},L:{129:"I"},M:{1:"JC"},N:{2:"A B"},O:{161:"MC"},P:{1:"6 7 8 9",161:"1 2 3 4 5 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{161:"vD"},R:{161:"wD"},S:{1:"xD yD"}},B:7,C:"Background-clip: text",D:!0}),sM}var aM,Cde;function K1t(){return Cde||(Cde=1,aM={A:{A:{1:"A B",2:"K D E F sC"},B:{1:"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{1:"0 cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC xC yC",33:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB",164:"J VB K D E F A B C L M"},D:{1:"0 qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"J VB K D E F A B C L M G",33:"2 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB",292:"1 N O P WB"},E:{1:"A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"D E F zC WC 1C 2C",4:"J VB K 0C"},F:{1:"0 dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"F B C BD CD DD ED KC qC FD LC",33:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB"},G:{1:"MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"E JD KD LD",4:"WC GD rC HD ID"},H:{2:"dD"},I:{1:"I",2:"QC J eD fD gD hD rC",33:"iD jD"},J:{2:"D",33:"A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{2:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD",33:"J"},Q:{1:"vD"},R:{1:"wD"},S:{1:"xD yD"}},B:2,C:"CSS font-feature-settings",D:!0}),aM}var lM,bde;function q1t(){return bde||(bde=1,lM={A:{A:{2:"K D E F A B sC"},B:{1:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",2:"C L M G N O P"},C:{1:"0 cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"1 2 3 4 tC QC J VB K D E F A B C L M G N O P WB xC yC",194:"5 6 7 8 9 XB YB ZB aB bB"},D:{1:"0 bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB",33:"XB YB ZB aB"},E:{1:"A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"J VB K zC WC 0C 1C",33:"D E F 2C"},F:{1:"0 1 2 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"F B C G BD CD DD ED KC qC FD LC",33:"N O P WB"},G:{1:"RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"WC GD rC HD ID JD",33:"E KD LD MD ND OD PD QD"},H:{2:"dD"},I:{1:"I jD",2:"QC J eD fD gD hD rC",33:"iD"},J:{2:"D",33:"A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{2:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"xD yD"}},B:4,C:"CSS3 font-kerning",D:!0}),lM}var cM,wde;function X1t(){return wde||(wde=1,cM={A:{A:{1:"B",2:"K D E F A sC"},B:{1:"0 M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",129:"C L"},C:{1:"0 sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC",260:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB",804:"J VB K D E F A B C L M xC yC"},D:{1:"0 yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",260:"tB uB vB wB xB",388:"YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB",1412:"1 2 3 4 5 6 7 8 9 G N O P WB XB",1956:"J VB K D E F A B C L M"},E:{1:"ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",129:"A B C L M G 3C XC KC LC 4C 5C 6C YC",1412:"K D E F 1C 2C",1956:"J VB zC WC 0C"},F:{1:"0 lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"F BD CD",260:"gB hB iB jB kB",388:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB",1796:"DD ED",1828:"B C KC qC FD LC"},G:{1:"ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",129:"MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC",1412:"E ID JD KD LD",1956:"WC GD rC HD"},H:{1828:"dD"},I:{1:"I",388:"iD jD",1956:"QC J eD fD gD hD rC"},J:{1412:"A",1924:"D"},K:{1:"H",2:"A",1828:"B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{1:"B",2:"A"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 mD nD oD XC pD qD rD sD tD NC OC PC uD",260:"kD lD",388:"J"},Q:{1:"vD"},R:{1:"wD"},S:{1:"yD",260:"xD"}},B:4,C:"CSS3 Border images",D:!0}),cM}var uM,xde;function Y1t(){return xde||(xde=1,uM={A:{A:{1:"F A B",2:"K D E sC"},B:{1:"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{1:"0 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",33:"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC xC yC"},D:{1:"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{1:"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{1:"0 1 2 3 4 5 6 7 8 9 B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC",2:"F"},G:{2:"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{2:"dD"},I:{1:"I iD jD",2:"QC J eD fD gD hD rC"},J:{1:"A",2:"D"},K:{1:"C H qC LC",16:"A B KC"},L:{1:"I"},M:{1:"JC"},N:{1:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"yD",33:"xD"}},B:5,C:"::selection CSS pseudo-element",D:!0}),uM}var fM,Sde;function J1t(){return Sde||(Sde=1,fM={A:{A:{2:"K D E F A B sC"},B:{1:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",36:"C L M G N O P"},C:{1:"0 tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",33:"1 2 3 4 5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB",130:"tC QC J VB K D E F A B C L M G N O P xC yC"},D:{1:"0 zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",36:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB"},E:{1:"B C L M G XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"J zC WC",36:"VB K D E F A 0C 1C 2C 3C"},F:{1:"0 mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"F B C BD CD DD ED KC qC FD LC",36:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB"},G:{1:"OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"WC GD",36:"E rC HD ID JD KD LD MD ND"},H:{2:"dD"},I:{1:"I",36:"QC J eD fD gD hD rC iD jD"},J:{36:"D A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{36:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 mD nD oD XC pD qD rD sD tD NC OC PC uD",36:"J kD lD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"yD",33:"xD"}},B:5,C:"::placeholder CSS pseudo-element",D:!0}),fM}var dM,Ede;function Z1t(){return Ede||(Ede=1,dM={A:{A:{2:"K D E F sC",292:"A B"},B:{1:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",2:"C L M G N O P"},C:{1:"0 tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC xC yC",164:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB"},D:{1:"0 pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB"},E:{1:"F A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"J VB K D E zC WC 0C 1C 2C"},F:{1:"0 cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB BD CD DD ED KC qC FD LC"},G:{1:"LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"E WC GD rC HD ID JD KD"},H:{2:"dD"},I:{1:"I",2:"QC J eD fD gD hD rC iD jD"},J:{2:"D A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{2:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD",2:"J"},Q:{1:"vD"},R:{1:"wD"},S:{1:"yD",164:"xD"}},B:5,C:":placeholder-shown CSS pseudo-class",D:!0}),dM}var pM,Dde;function evt(){return Dde||(Dde=1,pM={A:{A:{2:"K D E F sC",33:"A B"},B:{1:"0 o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",33:"C L M G N O P",132:"Q H R S T U V W",260:"X Y Z a b c d e f g h i j k l m n"},C:{1:"0 lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC J VB xC yC",33:"1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB"},D:{1:"0 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB",132:"xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W"},E:{1:"OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"J VB zC WC",33:"K D E F A B C L M G 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C"},F:{1:"0 a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB BD CD DD ED KC qC FD LC",132:"kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z"},G:{1:"OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"WC GD",33:"E rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD"},H:{2:"dD"},I:{1:"I",2:"QC J eD fD gD hD rC iD jD"},J:{2:"D A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{2:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 lD mD nD oD XC pD qD rD sD tD NC OC PC uD",2:"J",132:"kD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"xD yD"}},B:4,C:"CSS Hyphenation",D:!0}),pM}var AM,kde;function tvt(){return kde||(kde=1,AM={A:{A:{2:"K D E F A sC",548:"B"},B:{1:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",516:"C L M G N O P"},C:{1:"0 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC J VB K D E F xC yC",676:"1 2 3 4 5 6 7 8 9 A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB",1700:"pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B"},D:{1:"0 BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"J VB K D E F A B C L M",676:"G N O P WB",804:"1 2 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC"},E:{1:"dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"J VB zC WC",548:"ZC MC 7C NC aC bC cC",676:"0C",804:"K D E F A B C L M G 1C 2C 3C XC KC LC 4C 5C 6C YC"},F:{1:"0 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z LC",2:"F B C BD CD DD ED KC qC FD",804:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B"},G:{2:"E WC GD rC HD ID JD KD LD MD ND OD PD QD",2052:"RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{2:"dD"},I:{2:"QC J I eD fD gD hD rC iD jD"},J:{2:"D",292:"A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{2:"A",548:"B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 XC pD qD rD sD tD NC OC PC uD",804:"J kD lD mD nD oD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"xD yD"}},B:1,C:"Fullscreen API",D:!0}),AM}var hM,Ode;function rvt(){return Ode||(Ode=1,hM={A:{D:{1:"0 fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB",33:"aB bB cB dB eB"},L:{1:"I"},B:{1:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",33:"C L M G N O P"},C:{1:"0 pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB xC yC"},M:{1:"JC"},A:{2:"K D E F A sC",33:"B"},F:{1:"0 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"F B C G N O P BD CD DD ED KC qC FD LC",33:"1 2 3 4 WB"},K:{1:"H",2:"A B C KC qC LC"},E:{1:"ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC",2:"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC AD"},G:{1:"ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC"},P:{1:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},I:{1:"I",2:"QC J eD fD gD hD rC",33:"iD jD"}},B:6,C:"CSS ::backdrop pseudo-element",D:void 0}),hM}var mM,Pde;function nvt(){return Pde||(Pde=1,mM={A:{D:{1:"0 Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",33:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X"},L:{1:"I"},B:{1:"0 Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",33:"C L M G N O P Q H R S T U V W X"},C:{1:"0 TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R xC yC"},M:{1:"JC"},A:{2:"K D E F sC",33:"A B"},F:{1:"0 FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"F B C BD CD DD ED KC qC FD LC",33:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC"},K:{1:"H",2:"A B C KC qC LC"},E:{1:"G 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC",2:"AD",33:"J VB K D E F A B C L M zC WC 0C 1C 2C 3C XC KC LC 4C"},G:{1:"YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",33:"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD"},P:{1:"1 2 3 4 5 6 7 8 9 tD NC OC PC uD",33:"J kD lD mD nD oD XC pD qD rD sD"},I:{1:"I",2:"QC J eD fD gD hD rC",33:"iD jD"}},B:6,C:"::file-selector-button CSS pseudo-element",D:void 0}),mM}var gM,Ide;function ivt(){return Ide||(Ide=1,gM={A:{D:{1:"0 t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",33:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s"},L:{1:"I"},B:{1:"0 t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",2:"C L M G N O P",33:"Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s"},C:{1:"0 V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U xC yC"},M:{1:"JC"},A:{2:"K D E F A B sC"},F:{1:"0 f g h i j k l m n o p q r s t u v w x y z",2:"F B C BD CD DD ED KC qC FD LC",33:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e"},K:{1:"H",2:"A B C KC qC LC"},E:{1:"G 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC",2:"AD",33:"J VB K D E F A B C L M zC WC 0C 1C 2C 3C XC KC LC 4C 5C"},G:{1:"ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",33:"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD"},P:{1:"2 3 4 5 6 7 8 9",33:"1 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},I:{1:"I",2:"QC J eD fD gD hD rC",33:"iD jD"}},B:6,C:":autofill CSS pseudo-class",D:void 0}),gM}var vM,Nde;function ovt(){return Nde||(Nde=1,vM={A:{A:{2:"K D E F A B sC"},B:{1:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",2:"C L M G N O P"},C:{1:"0 a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC xC yC",33:"vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z",164:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB"},D:{1:"0 kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 J VB K D E F A B C L M G N O P WB",132:"2 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB"},E:{1:"M G 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"J VB K zC WC 0C",132:"D E F A B C L 1C 2C 3C XC KC LC"},F:{1:"0 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"F BD CD DD",132:"1 2 3 4 5 6 7 8 9 G N O P WB",164:"B C ED KC qC FD LC"},G:{1:"WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"WC GD rC HD ID",132:"E JD KD LD MD ND OD PD QD RD SD TD UD VD"},H:{164:"dD"},I:{1:"I",2:"QC J eD fD gD hD rC",132:"iD jD"},J:{132:"D A"},K:{1:"H",2:"A",164:"B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{2:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{1:"vD"},R:{1:"wD"},S:{164:"xD yD"}},B:4,C:"CSS3 tab-size",D:!0}),vM}var yM,Fde;function svt(){return Fde||(Fde=1,yM={A:{A:{2:"K D E F A B sC"},B:{2:"C L M G N O P",1025:"0 d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",1537:"Q H R S T U V W X Y Z a b c"},C:{2:"tC",932:"1 2 3 4 5 6 7 8 9 QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B xC yC",2308:"0 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC"},D:{2:"1 2 J VB K D E F A B C L M G N O P WB",545:"3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB",1025:"0 d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",1537:"oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c"},E:{1:"NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"J VB K zC WC 0C",516:"B C L M G KC LC 4C 5C 6C YC ZC MC 7C",548:"F A 3C XC",676:"D E 1C 2C"},F:{2:"F B C BD CD DD ED KC qC FD LC",513:"cB",545:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB",1025:"0 e f g h i j k l m n o p q r s t u v w x y z",1537:"bB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d"},G:{1:"NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"WC GD rC HD ID",516:"XD YD ZD YC ZC MC aD",548:"LD MD ND OD PD QD RD SD TD UD VD WD",676:"E JD KD"},H:{2:"dD"},I:{2:"QC J eD fD gD hD rC",545:"iD jD",1025:"I"},J:{2:"D",545:"A"},K:{2:"A B C KC qC LC",1025:"H"},L:{1025:"I"},M:{2308:"JC"},N:{2:"A B"},O:{1537:"MC"},P:{545:"J",1025:"1 2 3 4 5 6 7 8 9 OC PC uD",1537:"kD lD mD nD oD XC pD qD rD sD tD NC"},Q:{1537:"vD"},R:{1537:"wD"},S:{932:"xD",2308:"yD"}},B:5,C:"Intrinsic & Extrinsic Sizing",D:!0}),yM}var BM,Tde;function avt(){return Tde||(Tde=1,BM={A:{D:{1:"UB I UC VC JC",2:"1 2 J VB K D E F A B C L M G N O P WB",33:"0 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB"},L:{1:"I"},B:{1:"UB I",2:"C L M G N O P",33:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB"},C:{2:"tC",33:"0 1 2 3 4 5 6 7 8 9 QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},M:{33:"JC"},A:{2:"K D E F A B sC"},F:{2:"F B C BD CD DD ED KC qC FD LC",33:"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},K:{2:"A B C KC qC LC",33:"H"},E:{2:"J VB K zC WC 0C 1C AD",33:"D E F A B C L M G 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC"},G:{2:"WC GD rC HD ID",33:"E JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},P:{2:"J",33:"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},I:{1:"I",2:"QC J eD fD gD hD rC",33:"iD jD"}},B:6,C:"width: stretch property",D:void 0}),BM}var CM,Lde;function lvt(){return Lde||(Lde=1,CM={A:{A:{2:"K D E F A B sC"},B:{1:"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{1:"0 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",33:"1 2 3 4 tC QC J VB K D E F A B C L M G N O P WB xC yC"},D:{1:"0 fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",33:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB"},E:{1:"F A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",33:"J VB K D E zC WC 0C 1C 2C"},F:{1:"0 5 6 7 8 9 C XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z FD LC",2:"F B BD CD DD ED KC qC",33:"1 2 3 4 G N O P WB"},G:{2:"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{2:"dD"},I:{1:"I",2:"QC J eD fD gD hD rC iD jD"},J:{33:"D A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{2:"JC"},N:{2:"A B"},O:{1:"MC"},P:{2:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{1:"vD"},R:{1:"wD"},S:{2:"xD yD"}},B:2,C:"CSS3 Cursors: zoom-in & zoom-out",D:!0}),CM}var bM,Rde;function cvt(){return Rde||(Rde=1,bM={A:{A:{2:"K D E F A B sC"},B:{1:"0 G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",2:"C L M"},C:{1:"0 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",33:"1 2 3 4 5 6 7 tC QC J VB K D E F A B C L M G N O P WB xC yC"},D:{1:"0 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",33:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B"},E:{1:"B C L M G KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",33:"J VB K D E F A zC WC 0C 1C 2C 3C XC"},F:{1:"0 C xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z FD LC",2:"F B BD CD DD ED KC qC",33:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB"},G:{2:"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{2:"dD"},I:{1:"I",2:"QC J eD fD gD hD rC iD jD"},J:{33:"D A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{2:"JC"},N:{2:"A B"},O:{1:"MC"},P:{2:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{1:"vD"},R:{1:"wD"},S:{2:"xD yD"}},B:2,C:"CSS grab & grabbing cursors",D:!0}),bM}var wM,Mde;function uvt(){return Mde||(Mde=1,wM={A:{A:{2:"K D E F A B sC"},B:{1:"0 a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",2:"C L M G",1028:"Q H R S T U V W X Y Z",4100:"N O P"},C:{1:"0 RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"1 2 3 4 5 6 tC QC J VB K D E F A B C L M G N O P WB xC yC",194:"7 8 9 XB YB ZB",516:"aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B"},D:{1:"0 a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 2 3 J VB K D E F A B C L M G N O P WB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB",322:"4 5 6 7 8 9 XB YB ZB aB bB cB dB eB uB vB wB xB",1028:"yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z"},E:{1:"L M G 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"J VB K zC WC 0C",33:"E F A B C 2C 3C XC KC LC",2084:"D 1C"},F:{1:"0 IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB BD CD DD ED KC qC FD LC",322:"hB iB jB",1028:"kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC"},G:{1:"TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"WC GD rC HD",33:"E KD LD MD ND OD PD QD RD SD",2084:"ID JD"},H:{2:"dD"},I:{1:"I",2:"QC J eD fD gD hD rC iD jD"},J:{2:"D A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{2:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 lD mD nD oD XC pD qD rD sD tD NC OC PC uD",2:"J kD"},Q:{1028:"vD"},R:{1:"wD"},S:{1:"yD",516:"xD"}},B:5,C:"CSS position:sticky",D:!0}),wM}var xM,_de;function fvt(){return _de||(_de=1,xM={A:{A:{1:"B",2:"K D E F sC",164:"A"},B:{1:"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{1:"0 RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC J VB xC yC",8:"1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB",328:"jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B"},D:{1:"0 xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 2 J VB K D E F A B C L M G N O P WB",8:"3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB",584:"uB vB wB"},E:{1:"L M G 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"J VB K zC WC 0C",8:"D E F A B C 1C 2C 3C XC KC",1096:"LC"},F:{1:"0 kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"F B C BD CD DD ED KC qC FD LC",8:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB",584:"hB iB jB"},G:{1:"UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",8:"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD",6148:"TD"},H:{2:"dD"},I:{1:"I",8:"QC J eD fD gD hD rC iD jD"},J:{8:"D A"},K:{1:"H",2:"A",8:"B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{1:"B",36:"A"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 lD mD nD oD XC pD qD rD sD tD NC OC PC uD",2:"kD",8:"J"},Q:{1:"vD"},R:{1:"wD"},S:{1:"yD",328:"xD"}},B:2,C:"Pointer events",D:!0}),xM}var SM,jde;function dvt(){return jde||(jde=1,SM={A:{A:{2:"K D E F A B sC"},B:{2:"C L M G N O P",2052:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{2:"tC QC J VB xC yC",1028:"0 eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",1060:"1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB"},D:{2:"1 2 3 4 5 6 J VB K D E F A B C L M G N O P WB",226:"7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB",2052:"0 zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{2:"J VB K D zC WC 0C 1C",772:"L M G LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",804:"E F A B C 3C XC KC",1316:"2C"},F:{2:"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB BD CD DD ED KC qC FD LC",226:"dB eB fB gB hB iB jB kB lB",2052:"0 mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},G:{2:"WC GD rC HD ID JD",292:"E KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{2:"dD"},I:{1:"I",2:"QC J eD fD gD hD rC iD jD"},J:{2:"D A"},K:{2:"A B C KC qC LC",2052:"H"},L:{2052:"I"},M:{1028:"JC"},N:{2:"A B"},O:{2052:"MC"},P:{2:"J kD lD",2052:"1 2 3 4 5 6 7 8 9 mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{2052:"vD"},R:{2052:"wD"},S:{1028:"xD yD"}},B:4,C:"text-decoration styling",D:!0}),SM}var EM,Ude;function pvt(){return Ude||(Ude=1,EM={A:{D:{1:"0 zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB"},L:{1:"I"},B:{1:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",2:"C L M G N O P"},C:{1:"0 1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC J VB xC yC"},M:{1:"JC"},A:{2:"K D E F A B sC"},F:{1:"0 mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB BD CD DD ED KC qC FD LC"},K:{1:"H",2:"A B C KC qC LC"},E:{2:"J VB K D zC WC 0C 1C 2C AD",33:"E F A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC"},G:{2:"WC GD rC HD ID JD",33:"E KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},P:{1:"1 2 3 4 5 6 7 8 9 mD nD oD XC pD qD rD sD tD NC OC PC uD",2:"J kD lD"},I:{1:"I",2:"QC J eD fD gD hD rC iD jD"}},B:6,C:"text-decoration shorthand property",D:void 0}),EM}var DM,Qde;function Avt(){return Qde||(Qde=1,DM={A:{D:{1:"0 zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB"},L:{1:"I"},B:{1:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",2:"C L M G N O P"},C:{1:"0 eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC J VB xC yC",33:"1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB"},M:{1:"JC"},A:{2:"K D E F A B sC"},F:{1:"0 mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB BD CD DD ED KC qC FD LC"},K:{1:"H",2:"A B C KC qC LC"},E:{1:"L M G LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC",2:"J VB K D zC WC 0C 1C 2C AD",33:"E F A B C 3C XC KC"},G:{1:"SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"WC GD rC HD ID JD",33:"E KD LD MD ND OD PD QD RD"},P:{1:"1 2 3 4 5 6 7 8 9 mD nD oD XC pD qD rD sD tD NC OC PC uD",2:"J kD lD"},I:{1:"I",2:"QC J eD fD gD hD rC iD jD"}},B:6,C:"text-decoration-color property",D:void 0}),DM}var kM,Vde;function hvt(){return Vde||(Vde=1,kM={A:{D:{1:"0 zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB"},L:{1:"I"},B:{1:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",2:"C L M G N O P"},C:{1:"0 eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC J VB xC yC",33:"1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB"},M:{1:"JC"},A:{2:"K D E F A B sC"},F:{1:"0 mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB BD CD DD ED KC qC FD LC"},K:{1:"H",2:"A B C KC qC LC"},E:{1:"L M G LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC",2:"J VB K D zC WC 0C 1C 2C AD",33:"E F A B C 3C XC KC"},G:{1:"SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"WC GD rC HD ID JD",33:"E KD LD MD ND OD PD QD RD"},P:{1:"1 2 3 4 5 6 7 8 9 mD nD oD XC pD qD rD sD tD NC OC PC uD",2:"J kD lD"},I:{1:"I",2:"QC J eD fD gD hD rC iD jD"}},B:6,C:"text-decoration-line property",D:void 0}),kM}var OM,$de;function mvt(){return $de||($de=1,OM={A:{D:{1:"0 zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB"},L:{1:"I"},B:{1:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",2:"C L M G N O P"},C:{1:"0 eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC J VB xC yC",33:"1 2 3 4 5 6 7 8 9 K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB"},M:{1:"JC"},A:{2:"K D E F A B sC"},F:{1:"0 mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB BD CD DD ED KC qC FD LC"},K:{1:"H",2:"A B C KC qC LC"},E:{1:"L M G LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC",2:"J VB K D zC WC 0C 1C 2C AD",33:"E F A B C 3C XC KC"},G:{1:"SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"WC GD rC HD ID JD",33:"E KD LD MD ND OD PD QD RD"},P:{1:"1 2 3 4 5 6 7 8 9 mD nD oD XC pD qD rD sD tD NC OC PC uD",2:"J kD lD"},I:{1:"I",2:"QC J eD fD gD hD rC iD jD"}},B:6,C:"text-decoration-style property",D:void 0}),OM}var PM,Hde;function gvt(){return Hde||(Hde=1,PM={A:{A:{2:"K D E F A B sC"},B:{1:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",33:"C L M G N O P"},C:{2:"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{1:"0 wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 2 3 4 5 6 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB",258:"7"},E:{2:"J VB K D E F A B C L M G zC WC 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",258:"0C"},F:{1:"0 lB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB mB BD CD DD ED KC qC FD LC"},G:{2:"WC GD rC",33:"E HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{2:"dD"},I:{1:"I",2:"QC J eD fD gD hD rC iD jD"},J:{2:"D A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{33:"JC"},N:{161:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD",2:"J"},Q:{1:"vD"},R:{1:"wD"},S:{2:"xD yD"}},B:7,C:"CSS text-size-adjust",D:!0}),PM}var IM,Gde;function vvt(){return Gde||(Gde=1,IM={A:{A:{2:"K D E F A B sC"},B:{1:"CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",2:"C L M G N",164:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB",3138:"O",12292:"P"},C:{1:"0 vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC",260:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB xC yC"},D:{1:"CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",164:"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB"},E:{1:"ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"zC WC",164:"J VB K D E F A B C L M G 0C 1C 2C 3C XC KC LC 4C 5C 6C YC"},F:{1:"0 p q r s t u v w x y z",2:"F B C BD CD DD ED KC qC FD LC",164:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o"},G:{1:"ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",164:"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC"},H:{2:"dD"},I:{1:"I",164:"iD jD",676:"QC J eD fD gD hD rC"},J:{164:"D A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{2:"A B"},O:{164:"MC"},P:{1:"6 7 8 9",164:"1 2 3 4 5 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{164:"vD"},R:{164:"wD"},S:{1:"yD",260:"xD"}},B:4,C:"CSS Masks",D:!0}),IM}var NM,Wde;function yvt(){return Wde||(Wde=1,NM={A:{A:{2:"K D E F A B sC"},B:{2:"C L M G N O",260:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",3138:"P"},C:{1:"0 wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC",132:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB xC yC",644:"pB qB rB sB tB uB vB"},D:{2:"1 2 3 4 J VB K D E F A B C L M G N O P WB",260:"0 xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",292:"5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB"},E:{2:"J VB K zC WC 0C 1C",260:"M G 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",292:"D E F A B C L 2C 3C XC KC LC"},F:{2:"F B C BD CD DD ED KC qC FD LC",260:"0 kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",292:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB"},G:{2:"WC GD rC HD ID",260:"TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",292:"E JD KD LD MD ND OD PD QD RD SD"},H:{2:"dD"},I:{2:"QC J eD fD gD hD rC",260:"I",292:"iD jD"},J:{2:"D A"},K:{2:"A B C KC qC LC",260:"H"},L:{260:"I"},M:{1:"JC"},N:{2:"A B"},O:{260:"MC"},P:{260:"1 2 3 4 5 6 7 8 9 lD mD nD oD XC pD qD rD sD tD NC OC PC uD",292:"J kD"},Q:{260:"vD"},R:{260:"wD"},S:{1:"yD",644:"xD"}},B:4,C:"CSS clip-path property (for HTML)",D:!0}),NM}var FM,zde;function Bvt(){return zde||(zde=1,FM={A:{A:{2:"K D E F A B sC"},B:{1:"MB NB OB PB QB RB SB TB UB I",2:"C L M G N O P",164:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB"},C:{1:"0 aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB xC yC"},D:{1:"MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 2 J VB K D E F A B C L M G N O P WB",164:"0 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB"},E:{2:"J VB K zC WC 0C",164:"D E F A B C L M G 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{1:"0 z",2:"F BD CD DD ED",129:"B C KC qC FD LC",164:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y"},G:{2:"WC GD rC HD ID",164:"E JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{132:"dD"},I:{1:"I",2:"QC J eD fD gD hD rC",164:"iD jD"},J:{2:"D",164:"A"},K:{2:"A",129:"B C KC qC LC",164:"H"},L:{1:"I"},M:{1:"JC"},N:{2:"A B"},O:{164:"MC"},P:{164:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{164:"vD"},R:{164:"wD"},S:{1:"xD yD"}},B:4,C:"CSS box-decoration-break",D:!0}),FM}var TM,Kde;function Cvt(){return Kde||(Kde=1,TM={A:{A:{2:"K D E F A B sC"},B:{1:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",2:"C L M G",260:"N O P"},C:{1:"0 eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB xC yC"},D:{1:"0 aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB"},E:{1:"A B C L M G XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"J VB K D zC WC 0C 1C",132:"E F 2C 3C"},F:{1:"0 1 2 3 4 5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"F G N O P BD CD DD",33:"B C ED KC qC FD LC"},G:{1:"ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"WC GD rC HD ID JD",132:"E KD LD MD"},H:{33:"dD"},I:{1:"I jD",2:"QC J eD fD gD hD rC iD"},J:{2:"D A"},K:{1:"H",2:"A",33:"B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{2:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"xD yD"}},B:4,C:"CSS3 object-fit/object-position",D:!0}),TM}var LM,qde;function bvt(){return qde||(qde=1,LM={A:{A:{2:"K D E F A B sC"},B:{1:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",2:"C L M G N O P"},C:{1:"0 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB xC yC",322:"tB uB vB wB xB yB zB 0B RC 1B SC"},D:{1:"0 fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB",194:"cB dB eB"},E:{1:"B C L M G XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"J VB K D zC WC 0C 1C",33:"E F A 2C 3C"},F:{1:"0 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"1 2 3 4 F B C G N O P WB BD CD DD ED KC qC FD LC"},G:{1:"OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"WC GD rC HD ID JD",33:"E KD LD MD ND"},H:{2:"dD"},I:{1:"I",2:"QC J eD fD gD hD rC iD jD"},J:{2:"D A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{2:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"yD",2:"xD"}},B:4,C:"CSS Shapes Level 1",D:!0}),LM}var RM,Xde;function wvt(){return Xde||(Xde=1,RM={A:{A:{1:"K D E F A B",2:"sC"},B:{1:"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{1:"0 1 2 3 4 5 6 7 8 9 D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",8:"tC QC J VB K xC yC"},D:{1:"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{1:"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{1:"0 1 2 3 4 5 6 7 8 9 B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z KC qC FD LC",33:"F BD CD DD ED"},G:{1:"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{1:"dD"},I:{1:"QC J I eD fD gD hD rC iD jD"},J:{1:"D A"},K:{1:"H LC",33:"A B C KC qC"},L:{1:"I"},M:{1:"JC"},N:{1:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"xD yD"}},B:2,C:"CSS3 Text-overflow",D:!0}),RM}var MM,Yde;function xvt(){return Yde||(Yde=1,MM={A:{A:{2:"K D E F sC",164:"A B"},B:{66:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",164:"C L M G N O P"},C:{2:"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{2:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB",66:"0 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{2:"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{2:"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB BD CD DD ED KC qC FD LC",66:"0 iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},G:{2:"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{292:"dD"},I:{2:"QC J I eD fD gD hD rC iD jD"},J:{2:"D A"},K:{2:"A H",292:"B C KC qC LC"},L:{2:"I"},M:{2:"JC"},N:{164:"A B"},O:{2:"MC"},P:{2:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{66:"vD"},R:{2:"wD"},S:{2:"xD yD"}},B:5,C:"CSS Device Adaptation",D:!0}),MM}var _M,Jde;function Svt(){return Jde||(Jde=1,_M={A:{A:{2:"K D E sC",132:"F A B"},B:{1:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",1028:"C L M G N O P"},C:{1:"0 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC",260:"J VB K D E F A B C L M G xC yC",1028:"1 2 3 4 5 6 7 8 9 N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC"},D:{1:"0 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",548:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB",1028:"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B"},E:{1:"NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"zC WC",548:"J VB K D E F A B C L M G 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C"},F:{1:"0 xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z LC",2:"F",548:"B C BD CD DD ED KC qC FD",1028:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB"},G:{1:"NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",16:"WC",548:"E GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD"},H:{132:"dD"},I:{1:"I",16:"eD fD",548:"QC J gD hD rC",1028:"iD jD"},J:{548:"D A"},K:{1:"H LC",548:"A B C KC qC"},L:{1:"I"},M:{1:"JC"},N:{132:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 XC pD qD rD sD tD NC OC PC uD",1028:"J kD lD mD nD oD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"xD yD"}},B:4,C:"Media Queries: resolution feature",D:!0}),_M}var jM,Zde;function Evt(){return Zde||(Zde=1,jM={A:{A:{132:"K D E F A B sC"},B:{1:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",4:"C L M G N O P"},C:{1:"0 rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC J VB K D E F A B xC yC",33:"1 2 3 4 5 6 7 8 9 C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB"},D:{1:"0 pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB",322:"dB eB fB gB hB iB jB kB lB mB nB oB"},E:{1:"NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C"},F:{1:"0 cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"1 2 F B C G N O P WB BD CD DD ED KC qC FD LC",578:"3 4 5 6 7 8 9 XB YB ZB aB bB"},G:{1:"NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD"},H:{2:"dD"},I:{1:"I",2:"QC J eD fD gD hD rC iD jD"},J:{2:"D A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{132:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD",2:"J"},Q:{1:"vD"},R:{1:"wD"},S:{1:"yD",33:"xD"}},B:4,C:"CSS3 text-align-last",D:!0}),jM}var UM,epe;function Dvt(){return epe||(epe=1,UM={A:{A:{2:"K sC",2340:"D E F A B"},B:{2:"C L M G N O P",1025:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{1:"0 c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC xC",513:"5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b",545:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B yC"},D:{2:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB",1025:"0 jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{1:"A B C L M G XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"J VB zC WC 0C",164:"K",4644:"D E F 1C 2C 3C"},F:{2:"1 2 3 4 5 6 7 8 F B G N O P WB BD CD DD ED KC qC",545:"C FD LC",1025:"0 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},G:{1:"ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"WC GD rC",4260:"HD ID",4644:"E JD KD LD MD"},H:{2:"dD"},I:{2:"QC J eD fD gD hD rC iD jD",1025:"I"},J:{2:"D",4260:"A"},K:{2:"A B KC qC",545:"C LC",1025:"H"},L:{1025:"I"},M:{1:"JC"},N:{2340:"A B"},O:{1025:"MC"},P:{1025:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{1025:"vD"},R:{1025:"wD"},S:{1:"yD",4097:"xD"}},B:4,C:"Crisp edges/pixelated images",D:!0}),UM}var QM,tpe;function kvt(){return tpe||(tpe=1,QM={A:{A:{2:"K D E F A B sC"},B:{1:"0 Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",2:"C L M G N O P",1028:"W X",1540:"Q H R S T U V"},C:{1:"0 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC",164:"1 2 3 4 5 6 7 8 9 QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB xC yC",1540:"jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B"},D:{1:"0 Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",292:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B",1028:"W X",1540:"9B AC BC CC DC EC FC GC HC IC Q H R S T U V"},E:{1:"G 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",292:"J VB K D E F A B C zC WC 0C 1C 2C 3C XC KC",1540:"L M LC 4C",3076:"5C"},F:{1:"0 GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"F B C BD CD DD ED KC qC FD LC",292:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB",1028:"EC FC",1540:"yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC"},G:{1:"ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",292:"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD",1540:"SD TD UD VD WD XD",3076:"YD"},H:{2:"dD"},I:{1:"I",292:"QC J eD fD gD hD rC iD jD"},J:{292:"D A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{2:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 tD NC OC PC uD",292:"J kD lD mD nD oD",1540:"XC pD qD rD sD"},Q:{1540:"vD"},R:{1:"wD"},S:{1:"yD",1540:"xD"}},B:5,C:"CSS Logical Properties",D:!0}),QM}var VM,rpe;function Ovt(){return rpe||(rpe=1,VM={A:{A:{2:"K D E F A B sC"},B:{1:"0 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",33:"S",164:"Q H R",388:"C L M G N O P"},C:{1:"0 H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",164:"dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q",676:"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB xC yC"},D:{1:"0 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",33:"S",164:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R"},E:{1:"ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",164:"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC"},F:{1:"0 DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"F B C BD CD DD ED KC qC FD LC",33:"AC BC CC",164:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B"},G:{1:"ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",164:"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC"},H:{2:"dD"},I:{1:"I",164:"QC J eD fD gD hD rC iD jD"},J:{164:"D A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{2:"A",388:"B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 sD tD NC OC PC uD",164:"J kD lD mD nD oD XC pD qD rD"},Q:{164:"vD"},R:{1:"wD"},S:{1:"yD",164:"xD"}},B:5,C:"CSS Appearance",D:!0}),VM}var $M,npe;function Pvt(){return npe||(npe=1,$M={A:{A:{2:"K D E F sC",6308:"A",6436:"B"},B:{1:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",6436:"C L M G N O P"},C:{1:"0 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB xC yC",2052:"hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B"},D:{1:"0 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B",8258:"6B 7B 8B"},E:{1:"B C L M G KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"J VB K D E zC WC 0C 1C 2C",3108:"F A 3C XC"},F:{1:"0 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB BD CD DD ED KC qC FD LC",8258:"wB xB yB zB 0B 1B 2B 3B"},G:{1:"PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"E WC GD rC HD ID JD KD",3108:"LD MD ND OD"},H:{2:"dD"},I:{1:"I",2:"QC J eD fD gD hD rC iD jD"},J:{2:"D A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{2:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 XC pD qD rD sD tD NC OC PC uD",2:"J kD lD mD nD oD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"yD",2052:"xD"}},B:4,C:"CSS Scroll Snap",D:!0}),$M}var HM,ipe;function Ivt(){return ipe||(ipe=1,HM={A:{A:{2:"K D E F sC",420:"A B"},B:{2:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",420:"C L M G N O P"},C:{2:"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{2:"0 J VB K D E F A B C L M dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",36:"G N O P",66:"1 2 3 4 5 6 7 8 9 WB XB YB ZB aB bB cB"},E:{2:"J VB K C L M G zC WC 0C KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",33:"D E F A B 1C 2C 3C XC"},F:{2:"0 1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC"},G:{2:"WC GD rC HD ID QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",33:"E JD KD LD MD ND OD PD"},H:{2:"dD"},I:{2:"QC J I eD fD gD hD rC iD jD"},J:{2:"D A"},K:{2:"A B C H KC qC LC"},L:{2:"I"},M:{2:"JC"},N:{420:"A B"},O:{2:"MC"},P:{2:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{2:"vD"},R:{2:"wD"},S:{2:"xD yD"}},B:5,C:"CSS Regions",D:!0}),HM}var GM,ope;function Nvt(){return ope||(ope=1,GM={A:{A:{2:"K D E F A B sC"},B:{1:"0 x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",2:"C L M G N O P",164:"Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v",2049:"w"},C:{1:"0 w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U xC yC",66:"V W",2305:"Y Z a b c d e f g h i j k l m n o p q r s t u v",2820:"X"},D:{1:"0 x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 J VB K D E F A B C L M G N O P WB",164:"2 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v",2049:"w"},E:{1:"OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"J VB zC WC 0C",132:"A B C L XC KC LC 4C",164:"K D E F 1C 2C 3C",1540:"M G 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C"},F:{1:"0 j k l m n o p q r s t u v w x y z",2:"F B C BD CD DD ED KC qC FD LC",164:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h",2049:"i"},G:{1:"OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"WC GD rC HD",132:"ND OD PD QD RD SD TD UD VD WD",164:"E ID JD KD LD MD",1540:"XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD"},H:{2:"dD"},I:{1:"I",2:"QC J eD fD gD hD rC",164:"iD jD"},J:{2:"D",164:"A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{2:"A B"},O:{164:"MC"},P:{1:"4 5 6 7 8 9",164:"1 2 3 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{164:"vD"},R:{164:"wD"},S:{2:"xD yD"}},B:5,C:"CSS image-set",D:!0}),GM}var WM,spe;function Fvt(){return spe||(spe=1,WM={A:{A:{132:"K D E F A B sC"},B:{1:"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{1:"0 jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB xC yC",322:"eB fB gB hB iB"},D:{1:"0 qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"J VB K",16:"D",33:"1 2 3 4 5 6 7 8 9 E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB"},E:{1:"B C L M G KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"J zC WC",16:"VB",33:"K D E F A 0C 1C 2C 3C XC"},F:{1:"0 dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"F B C BD CD DD ED KC qC FD LC",33:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB"},G:{1:"PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",16:"WC GD rC",33:"E HD ID JD KD LD MD ND OD"},H:{2:"dD"},I:{1:"I",2:"eD fD gD",33:"QC J hD rC iD jD"},J:{33:"D A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{36:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD",33:"J"},Q:{1:"vD"},R:{1:"wD"},S:{1:"xD yD"}},B:2,C:"CSS writing-mode property",D:!0}),WM}var zM,ape;function Tvt(){return ape||(ape=1,zM={A:{A:{2:"K D E F A B sC"},B:{2:"C L M G N O P",33:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{2:"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{2:"J VB K D E F A B C L M G N",33:"0 1 2 3 4 5 6 7 8 9 O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{1:"A B C L M G XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"J VB zC WC",33:"K D E F 0C 1C 2C 3C"},F:{2:"F B C BD CD DD ED KC qC FD LC",33:"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},G:{1:"ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"WC GD rC",33:"E HD ID JD KD LD MD"},H:{2:"dD"},I:{2:"QC J eD fD gD hD rC",33:"I iD jD"},J:{2:"D A"},K:{2:"A B C KC qC LC",33:"H"},L:{33:"I"},M:{2:"JC"},N:{2:"A B"},O:{33:"MC"},P:{33:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{33:"vD"},R:{33:"wD"},S:{2:"xD yD"}},B:4,C:"CSS Cross-Fade Function",D:!0}),zM}var KM,lpe;function Lvt(){return lpe||(lpe=1,KM={A:{A:{2:"K D E F A B sC"},B:{1:"0 L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",2:"C"},C:{1:"0 IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",16:"tC",33:"1 2 3 4 5 6 7 8 9 QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC xC yC"},D:{1:"0 eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",16:"J VB K D E F A B C L M",132:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB"},E:{1:"F A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",16:"zC WC",132:"J VB K D E 0C 1C 2C"},F:{1:"0 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",16:"F B BD CD DD ED KC",132:"1 2 3 C G N O P WB qC FD LC"},G:{1:"LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",16:"WC GD",132:"E rC HD ID JD KD"},H:{2:"dD"},I:{1:"I",16:"eD fD",132:"QC J gD hD rC iD jD"},J:{1:"A",132:"D"},K:{1:"H",2:"A B KC",132:"C qC LC"},L:{1:"I"},M:{1:"JC"},N:{2:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"yD",33:"xD"}},B:1,C:"CSS :read-only and :read-write selectors",D:!0}),KM}var qM,cpe;function Rvt(){return cpe||(cpe=1,qM={A:{A:{2:"K D E F A B sC"},B:{1:"0 i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",2:"C L M G N O P",164:"Q H R S T U V W X Y Z a b c d e f g h"},C:{1:"0 oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB xC yC",322:"nB"},D:{1:"0 i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 2 3 4 5 J VB K D E F A B C L M G N O P WB",164:"6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h"},E:{1:"E F A B C L M G 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"J VB K zC WC 0C",164:"D 1C"},F:{1:"0 V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"F B C BD CD DD ED KC qC FD LC",164:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U"},G:{1:"E JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"WC GD rC HD ID"},H:{2:"dD"},I:{1:"I",2:"QC J eD fD gD hD rC",164:"iD jD"},J:{2:"D",164:"A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{2:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 PC uD",164:"J kD lD mD nD oD XC pD qD rD sD tD NC OC"},Q:{164:"vD"},R:{164:"wD"},S:{1:"xD yD"}},B:4,C:"text-emphasis styling",D:!0}),qM}var XM,upe;function Mvt(){return upe||(upe=1,XM={A:{A:{2:"K D E sC",8:"F",292:"A B"},B:{1:"0 N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",292:"C L M G"},C:{1:"0 wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC J VB K D E F A B C L M G N O P xC yC",8:"1 2 3 4 5 6 7 8 9 WB XB YB ZB aB bB cB dB eB fB gB hB",584:"iB jB kB lB mB nB oB pB qB rB sB tB",1025:"uB vB"},D:{1:"0 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 2 3 4 5 J VB K D E F A B C L M G N O P WB",8:"6 7 8 9",200:"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB",1025:"zB"},E:{1:"B C L M G XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"J VB zC WC 0C",8:"K D E F A 1C 2C 3C"},F:{1:"0 mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"1 2 3 4 5 6 7 8 F B C G N O P WB BD CD DD ED KC qC FD LC",200:"9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB"},G:{1:"OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"WC GD rC HD",8:"E ID JD KD LD MD ND"},H:{2:"dD"},I:{1:"I",2:"QC J eD fD gD hD",8:"rC iD jD"},J:{2:"D A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{292:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 lD mD nD oD XC pD qD rD sD tD NC OC PC uD",2:"kD",8:"J"},Q:{1:"vD"},R:{1:"wD"},S:{1:"xD yD"}},B:4,C:"CSS Grid Layout (level 1)",D:!0}),XM}var YM,fpe;function _vt(){return fpe||(fpe=1,YM={A:{A:{2:"K D sC",161:"E F A B"},B:{2:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",161:"C L M G N O P"},C:{2:"0 1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC xC yC"},D:{2:"0 1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC"},E:{2:"J VB K D E F A B C L M G zC WC 0C 1C 2C 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD"},F:{2:"0 1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z BD CD DD ED KC qC FD LC"},G:{2:"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC"},H:{2:"dD"},I:{2:"QC J I eD fD gD hD rC iD jD"},J:{2:"D A"},K:{2:"A B C H KC qC LC"},L:{2:"I"},M:{2:"JC"},N:{16:"A B"},O:{2:"MC"},P:{2:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{2:"vD"},R:{2:"wD"},S:{2:"xD yD"}},B:5,C:"CSS Text 4 text-spacing",D:!1}),YM}var JM,dpe;function jvt(){return dpe||(dpe=1,JM={A:{A:{2:"K D E F A B sC"},B:{1:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",2:"C L M G N O P"},C:{1:"0 sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",16:"tC",33:"1 2 3 4 5 6 7 8 9 QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB xC yC"},D:{1:"0 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",16:"J VB K D E F A B C L M",33:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B"},E:{1:"F A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",16:"J VB K zC WC 0C",33:"D E 1C 2C"},F:{1:"0 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"F B C BD CD DD ED KC qC FD LC",33:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB"},G:{1:"LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",16:"WC GD rC HD",33:"E ID JD KD"},H:{2:"dD"},I:{1:"I",16:"QC J eD fD gD hD rC",33:"iD jD"},J:{16:"D A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{2:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 oD XC pD qD rD sD tD NC OC PC uD",16:"J",33:"kD lD mD nD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"yD",33:"xD"}},B:5,C:"CSS :any-link selector",D:!0}),JM}var ZM,ppe;function Uvt(){return ppe||(ppe=1,ZM={A:{D:{1:"0 qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"J VB K D E F A B C L M G",33:"1 2 3 4 5 6 7 8 9 N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB"},L:{1:"I"},B:{1:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",2:"C L M G N O P"},C:{1:"0 sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC J VB K D E F xC yC",33:"1 2 3 4 5 6 7 8 9 A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB"},M:{1:"JC"},A:{2:"K D E F A B sC"},F:{1:"0 dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"F B C BD CD DD ED KC qC FD LC",33:"1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB"},K:{1:"H",2:"A B C KC qC LC"},E:{1:"B C L M G KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC",2:"J VB zC WC 0C AD",33:"K D E F A 1C 2C 3C XC"},G:{1:"PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"WC GD rC HD",33:"E ID JD KD LD MD ND OD"},P:{1:"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD",2:"J"},I:{1:"I",2:"QC J eD fD gD hD rC iD jD"}},B:6,C:"isolate from unicode-bidi",D:void 0}),ZM}var e_,Ape;function Qvt(){return Ape||(Ape=1,e_={A:{D:{1:"0 qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB"},L:{1:"I"},B:{1:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",2:"C L M G N O P"},C:{1:"0 sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC J VB K D E F xC yC",33:"1 2 3 4 5 6 7 8 9 A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB"},M:{1:"JC"},A:{2:"K D E F A B sC"},F:{1:"0 dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB BD CD DD ED KC qC FD LC"},K:{1:"H",2:"A B C KC qC LC"},E:{1:"B C L M G KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC",2:"J VB zC WC 0C AD",33:"K D E F A 1C 2C 3C XC"},G:{1:"PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"WC GD rC HD",33:"E ID JD KD LD MD ND OD"},P:{1:"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD",2:"J"},I:{1:"I",2:"QC J eD fD gD hD rC iD jD"}},B:6,C:"plaintext from unicode-bidi",D:void 0}),e_}var t_,hpe;function Vvt(){return hpe||(hpe=1,t_={A:{D:{1:"0 qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB"},L:{1:"I"},B:{1:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",2:"C L M G N O P"},C:{1:"0 sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"tC QC J VB K D E F A B C L M G N xC yC",33:"1 2 3 4 5 6 7 8 9 O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB"},M:{1:"JC"},A:{2:"K D E F A B sC"},F:{1:"0 dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB BD CD DD ED KC qC FD LC"},K:{1:"H",2:"A B C KC qC LC"},E:{1:"B C L M G KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC",2:"J VB K zC WC 0C 1C AD",33:"D E F A 2C 3C XC"},G:{1:"PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"WC GD rC HD ID",33:"E JD KD LD MD ND OD"},P:{1:"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD",2:"J"},I:{1:"I",2:"QC J eD fD gD hD rC iD jD"}},B:6,C:"isolate-override from unicode-bidi",D:void 0}),t_}var r_,mpe;function $vt(){return mpe||(mpe=1,r_={A:{A:{2:"K D E F sC",132:"A B"},B:{1:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",132:"C L M G N O",516:"P"},C:{1:"0 RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B xC yC"},D:{1:"0 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B",260:"3B 4B"},E:{1:"NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"J VB K D E F A B C L M zC WC 0C 1C 2C 3C XC KC LC 4C",1090:"G 5C 6C YC ZC MC 7C"},F:{1:"0 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB BD CD DD ED KC qC FD LC",260:"sB tB"},G:{1:"NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"E WC GD rC HD ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD",1090:"YD ZD YC ZC MC aD"},H:{2:"dD"},I:{1:"I",2:"QC J eD fD gD hD rC iD jD"},J:{2:"D A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{132:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 nD oD XC pD qD rD sD tD NC OC PC uD",2:"J kD lD mD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"yD",2:"xD"}},B:5,C:"CSS overscroll-behavior",D:!0}),r_}var n_,gpe;function Hvt(){return gpe||(gpe=1,n_={A:{A:{2:"K D E F A B sC"},B:{1:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I",2:"C L M G N O P"},C:{1:"0 jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB xC yC",194:"gB hB iB"},D:{1:"0 qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 2 3 4 5 6 7 8 9 J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB"},E:{1:"M G 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"J VB K D E F zC WC 0C 1C 2C 3C",16:"A",33:"B C L XC KC LC 4C"},F:{1:"0 dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z",2:"1 2 3 4 5 6 7 8 9 F B C G N O P WB XB YB ZB aB bB cB BD CD DD ED KC qC FD LC"},G:{1:"ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"E WC GD rC HD ID JD KD LD MD"},H:{2:"dD"},I:{1:"I",2:"QC J eD fD gD hD rC iD jD"},J:{2:"D A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{2:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD",2:"J"},Q:{1:"vD"},R:{1:"wD"},S:{1:"xD yD"}},B:2,C:"CSS text-orientation",D:!0}),n_}var i_,vpe;function Gvt(){return vpe||(vpe=1,i_={A:{D:{1:"SB TB UB I UC VC JC",2:"J VB K D E F A B C L M G N",33:"0 1 2 3 4 5 6 7 8 9 O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB"},L:{1:"I"},B:{1:"SB TB UB I",2:"C L M G N O P",33:"0 Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB"},C:{1:"0 g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"1 2 3 4 5 6 7 8 9 tC QC J VB K D E F A B C L M G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB xC yC",33:"qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f"},M:{1:"JC"},A:{2:"K D E F A B sC"},F:{2:"F B C BD CD DD ED KC qC FD LC",33:"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z"},K:{2:"A B C KC qC LC",33:"H"},E:{1:"ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC",2:"J VB zC WC 0C AD",33:"K D E F A B C L M G 1C 2C 3C XC KC LC 4C 5C 6C YC"},G:{1:"ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"WC GD rC HD",33:"E ID JD KD LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC"},P:{33:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},I:{1:"I",2:"QC J eD fD gD hD rC",33:"iD jD"}},B:6,C:"print-color-adjust property",D:void 0}),i_}let Wvt=U6e;function Q6e(t,e){return t=t.split(" "),e=e.split(" "),t[0]>e[0]?1:t[0]<e[0]?-1:Math.sign(parseFloat(t[1])-parseFloat(e[1]))}function lr(t,e,r){t=Wvt(t),r||([r,e]=[e,{}]);let n=e.match||/\sx($|\s)/,i=[];for(let o in t.stats){let s=t.stats[o];for(let a in s)s[a].match(n)&&i.push(o+" "+a)}r(i.sort(Q6e))}let L9={};function er(t,e){for(let r of t)L9[r]=Object.assign({},e)}function gD(t,e){for(let r of t)L9[r].browsers=L9[r].browsers.concat(e.browsers).sort(Q6e)}var zvt=L9;let Kvt=P1t();lr(Kvt,t=>er(["border-radius","border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"],{browsers:t,feature:"border-radius",mistakes:["-khtml-","-ms-","-o-"]}));let qvt=I1t();lr(qvt,t=>er(["box-shadow"],{browsers:t,feature:"css-boxshadow",mistakes:["-khtml-"]}));let Xvt=N1t();lr(Xvt,t=>er(["animation","animation-name","animation-duration","animation-delay","animation-direction","animation-fill-mode","animation-iteration-count","animation-play-state","animation-timing-function","@keyframes"],{browsers:t,feature:"css-animation",mistakes:["-khtml-","-ms-"]}));let Yvt=F1t();lr(Yvt,t=>er(["transition","transition-property","transition-duration","transition-delay","transition-timing-function"],{browsers:t,feature:"css-transitions",mistakes:["-khtml-","-ms-"]}));let Jvt=T1t();lr(Jvt,t=>er(["transform","transform-origin"],{browsers:t,feature:"transforms2d"}));let V6e=L1t();lr(V6e,t=>(er(["perspective","perspective-origin"],{browsers:t,feature:"transforms3d"}),er(["transform-style"],{browsers:t,feature:"transforms3d",mistakes:["-ms-","-o-"]})));lr(V6e,{match:/y\sx|y\s#2/},t=>er(["backface-visibility"],{browsers:t,feature:"transforms3d",mistakes:["-ms-","-o-"]}));let $6e=R1t();lr($6e,{match:/y\sx/},t=>er(["linear-gradient","repeating-linear-gradient","radial-gradient","repeating-radial-gradient"],{browsers:t,feature:"css-gradients",mistakes:["-ms-"],props:["background","background-image","border-image","mask","list-style","list-style-image","content","mask-image"]}));lr($6e,{match:/a\sx/},t=>(t=t.map(e=>/firefox|op/.test(e)?e:`${e} old`),gD(["linear-gradient","repeating-linear-gradient","radial-gradient","repeating-radial-gradient"],{browsers:t,feature:"css-gradients"})));let Zvt=M1t();lr(Zvt,t=>er(["box-sizing"],{browsers:t,feature:"css3-boxsizing"}));let eyt=_1t();lr(eyt,t=>er(["filter"],{browsers:t,feature:"css-filters"}));let tyt=j1t();lr(tyt,t=>er(["filter-function"],{browsers:t,feature:"css-filter-function",props:["background","background-image","border-image","mask","list-style","list-style-image","content","mask-image"]}));let ryt=U1t();lr(ryt,{match:/y\sx|y\s#2/},t=>er(["backdrop-filter"],{browsers:t,feature:"css-backdrop-filter"}));let nyt=Q1t();lr(nyt,t=>er(["element"],{browsers:t,feature:"css-element-function",props:["background","background-image","border-image","mask","list-style","list-style-image","content","mask-image"]}));let iyt=V1t();lr(iyt,t=>{er(["columns","column-width","column-gap","column-rule","column-rule-color","column-rule-width","column-count","column-rule-style","column-span","column-fill"],{browsers:t,feature:"multicolumn"});let e=t.filter(r=>!/firefox/.test(r));er(["break-before","break-after","break-inside"],{browsers:e,feature:"multicolumn"})});let oyt=$1t();lr(oyt,t=>er(["user-select"],{browsers:t,feature:"user-select-none",mistakes:["-khtml-"]}));let H6e=H1t();lr(H6e,{match:/a\sx/},t=>{t=t.map(e=>/ie|firefox/.test(e)?e:`${e} 2009`),er(["display-flex","inline-flex"],{browsers:t,feature:"flexbox",props:["display"]}),er(["flex","flex-grow","flex-shrink","flex-basis"],{browsers:t,feature:"flexbox"}),er(["flex-direction","flex-wrap","flex-flow","justify-content","order","align-items","align-self","align-content"],{browsers:t,feature:"flexbox"})});lr(H6e,{match:/y\sx/},t=>{gD(["display-flex","inline-flex"],{browsers:t,feature:"flexbox"}),gD(["flex","flex-grow","flex-shrink","flex-basis"],{browsers:t,feature:"flexbox"}),gD(["flex-direction","flex-wrap","flex-flow","justify-content","order","align-items","align-self","align-content"],{browsers:t,feature:"flexbox"})});let syt=G1t();lr(syt,t=>er(["calc"],{browsers:t,feature:"calc",props:["*"]}));let ayt=W1t();lr(ayt,t=>er(["background-origin","background-size"],{browsers:t,feature:"background-img-opts"}));let lyt=z1t();lr(lyt,t=>er(["background-clip"],{browsers:t,feature:"background-clip-text"}));let cyt=K1t();lr(cyt,t=>er(["font-feature-settings","font-variant-ligatures","font-language-override"],{browsers:t,feature:"font-feature"}));let uyt=q1t();lr(uyt,t=>er(["font-kerning"],{browsers:t,feature:"font-kerning"}));let fyt=X1t();lr(fyt,t=>er(["border-image"],{browsers:t,feature:"border-image"}));let dyt=Y1t();lr(dyt,t=>er(["::selection"],{browsers:t,feature:"css-selection",selector:!0}));let pyt=J1t();lr(pyt,t=>{er(["::placeholder"],{browsers:t.concat(["ie 10 old","ie 11 old","firefox 18 old"]),feature:"css-placeholder",selector:!0})});let Ayt=Z1t();lr(Ayt,t=>{er([":placeholder-shown"],{browsers:t,feature:"css-placeholder-shown",selector:!0})});let hyt=evt();lr(hyt,t=>er(["hyphens"],{browsers:t,feature:"css-hyphens"}));let myt=tvt();lr(myt,t=>er([":fullscreen"],{browsers:t,feature:"fullscreen",selector:!0}));let gyt=rvt();lr(gyt,t=>er(["::backdrop"],{browsers:t,feature:"backdrop",selector:!0}));let vyt=nvt();lr(vyt,t=>er(["::file-selector-button"],{browsers:t,feature:"file-selector-button",selector:!0}));let yyt=ivt();lr(yyt,t=>er([":autofill"],{browsers:t,feature:"css-autofill",selector:!0}));let Byt=ovt();lr(Byt,t=>er(["tab-size"],{browsers:t,feature:"css3-tabsize"}));let zJ=svt(),zI=["width","min-width","max-width","height","min-height","max-height","inline-size","min-inline-size","max-inline-size","block-size","min-block-size","max-block-size","grid","grid-template","grid-template-rows","grid-template-columns","grid-auto-columns","grid-auto-rows"];lr(zJ,t=>er(["max-content","min-content"],{browsers:t,feature:"intrinsic-width",props:zI}));lr(zJ,{match:/x|\s#4/},t=>er(["fill","fill-available"],{browsers:t,feature:"intrinsic-width",props:zI}));lr(zJ,{match:/x|\s#5/},t=>{let e=t.filter(r=>{let[n,i]=r.split(" ");return n==="firefox"||n==="and_ff"?parseInt(i)<94:!0});return er(["fit-content"],{browsers:e,feature:"intrinsic-width",props:zI})});let Cyt=avt();lr(Cyt,t=>er(["stretch"],{browsers:t,feature:"css-width-stretch",props:zI}));let byt=lvt();lr(byt,t=>er(["zoom-in","zoom-out"],{browsers:t,feature:"css3-cursors-newer",props:["cursor"]}));let wyt=cvt();lr(wyt,t=>er(["grab","grabbing"],{browsers:t,feature:"css3-cursors-grab",props:["cursor"]}));let xyt=uvt();lr(xyt,t=>er(["sticky"],{browsers:t,feature:"css-sticky",props:["position"]}));let Syt=fvt();lr(Syt,t=>er(["touch-action"],{browsers:t,feature:"pointer"}));let Eyt=dvt();lr(Eyt,{match:/x.*#[235]/},t=>er(["text-decoration-skip","text-decoration-skip-ink"],{browsers:t,feature:"text-decoration"}));let Dyt=pvt();lr(Dyt,t=>er(["text-decoration"],{browsers:t,feature:"text-decoration"}));let kyt=Avt();lr(kyt,t=>er(["text-decoration-color"],{browsers:t,feature:"text-decoration"}));let Oyt=hvt();lr(Oyt,t=>er(["text-decoration-line"],{browsers:t,feature:"text-decoration"}));let Pyt=mvt();lr(Pyt,t=>er(["text-decoration-style"],{browsers:t,feature:"text-decoration"}));let Iyt=gvt();lr(Iyt,t=>er(["text-size-adjust"],{browsers:t,feature:"text-size-adjust"}));let Nyt=vvt();lr(Nyt,t=>{er(["mask-clip","mask-composite","mask-image","mask-origin","mask-repeat","mask-border-repeat","mask-border-source"],{browsers:t,feature:"css-masks"}),er(["mask","mask-position","mask-size","mask-border","mask-border-outset","mask-border-width","mask-border-slice"],{browsers:t,feature:"css-masks"})});let Fyt=yvt();lr(Fyt,t=>er(["clip-path"],{browsers:t,feature:"css-clip-path"}));let Tyt=Bvt();lr(Tyt,t=>er(["box-decoration-break"],{browsers:t,feature:"css-boxdecorationbreak"}));let Lyt=Cvt();lr(Lyt,t=>er(["object-fit","object-position"],{browsers:t,feature:"object-fit"}));let Ryt=bvt();lr(Ryt,t=>er(["shape-margin","shape-outside","shape-image-threshold"],{browsers:t,feature:"css-shapes"}));let Myt=wvt();lr(Myt,t=>er(["text-overflow"],{browsers:t,feature:"text-overflow"}));let _yt=xvt();lr(_yt,t=>er(["@viewport"],{browsers:t,feature:"css-deviceadaptation"}));let jyt=Svt();lr(jyt,{match:/( x($| )|a #2)/},t=>er(["@resolution"],{browsers:t,feature:"css-media-resolution"}));let Uyt=Evt();lr(Uyt,t=>er(["text-align-last"],{browsers:t,feature:"css-text-align-last"}));let G6e=Dvt();lr(G6e,{match:/y x|a x #1/},t=>er(["pixelated"],{browsers:t,feature:"css-crisp-edges",props:["image-rendering"]}));lr(G6e,{match:/a x #2/},t=>er(["image-rendering"],{browsers:t,feature:"css-crisp-edges"}));let W6e=kvt();lr(W6e,t=>er(["border-inline-start","border-inline-end","margin-inline-start","margin-inline-end","padding-inline-start","padding-inline-end"],{browsers:t,feature:"css-logical-props"}));lr(W6e,{match:/x\s#2/},t=>er(["border-block-start","border-block-end","margin-block-start","margin-block-end","padding-block-start","padding-block-end"],{browsers:t,feature:"css-logical-props"}));let Qyt=Ovt();lr(Qyt,{match:/#2|x/},t=>er(["appearance"],{browsers:t,feature:"css-appearance"}));let Vyt=Pvt();lr(Vyt,t=>er(["scroll-snap-type","scroll-snap-coordinate","scroll-snap-destination","scroll-snap-points-x","scroll-snap-points-y"],{browsers:t,feature:"css-snappoints"}));let $yt=Ivt();lr($yt,t=>er(["flow-into","flow-from","region-fragment"],{browsers:t,feature:"css-regions"}));let Hyt=Nvt();lr(Hyt,t=>er(["image-set"],{browsers:t,feature:"css-image-set",props:["background","background-image","border-image","cursor","mask","mask-image","list-style","list-style-image","content"]}));let Gyt=Fvt();lr(Gyt,{match:/a|x/},t=>er(["writing-mode"],{browsers:t,feature:"css-writing-mode"}));let Wyt=Tvt();lr(Wyt,t=>er(["cross-fade"],{browsers:t,feature:"css-cross-fade",props:["background","background-image","border-image","mask","list-style","list-style-image","content","mask-image"]}));let zyt=Lvt();lr(zyt,t=>er([":read-only",":read-write"],{browsers:t,feature:"css-read-only-write",selector:!0}));let Kyt=Rvt();lr(Kyt,t=>er(["text-emphasis","text-emphasis-position","text-emphasis-style","text-emphasis-color"],{browsers:t,feature:"text-emphasis"}));let z6e=Mvt();lr(z6e,t=>{er(["display-grid","inline-grid"],{browsers:t,feature:"css-grid",props:["display"]}),er(["grid-template-columns","grid-template-rows","grid-row-start","grid-column-start","grid-row-end","grid-column-end","grid-row","grid-column","grid-area","grid-template","grid-template-areas","place-self"],{browsers:t,feature:"css-grid"})});lr(z6e,{match:/a x/},t=>er(["grid-column-align","grid-row-align"],{browsers:t,feature:"css-grid"}));let qyt=_vt();lr(qyt,t=>er(["text-spacing"],{browsers:t,feature:"css-text-spacing"}));let Xyt=jvt();lr(Xyt,t=>er([":any-link"],{browsers:t,feature:"css-any-link",selector:!0}));let Yyt=Uvt();lr(Yyt,t=>er(["isolate"],{browsers:t,feature:"css-unicode-bidi",props:["unicode-bidi"]}));let Jyt=Qvt();lr(Jyt,t=>er(["plaintext"],{browsers:t,feature:"css-unicode-bidi",props:["unicode-bidi"]}));let Zyt=Vvt();lr(Zyt,{match:/y x/},t=>er(["isolate-override"],{browsers:t,feature:"css-unicode-bidi",props:["unicode-bidi"]}));let e2t=$vt();lr(e2t,{match:/a #1/},t=>er(["overscroll-behavior"],{browsers:t,feature:"css-overscroll-behavior"}));let t2t=Hvt();lr(t2t,t=>er(["text-orientation"],{browsers:t,feature:"css-text-orientation"}));let r2t=Gvt();lr(r2t,t=>er(["print-color-adjust","color-adjust"],{browsers:t,feature:"css-print-color-adjust"}));var zi={};let{list:eH}=$m;zi.error=function(t){let e=new Error(t);throw e.autoprefixer=!0,e};zi.uniq=function(t){return[...new Set(t)]};zi.removeNote=function(t){return t.includes(" ")?t.split(" ")[0]:t};zi.escapeRegexp=function(t){return t.replace(/[$()*+-.?[\\\]^{|}]/g,"\\$&")};zi.regexp=function(t,e=!0){return e&&(t=this.escapeRegexp(t)),new RegExp(`(^|[\\s,(])(${t}($|[\\s(,]))`,"gi")};zi.editList=function(t,e){let r=eH.comma(t),n=e(r,[]);if(r===n)return t;let i=t.match(/,\s*/);return i=i?i[0]:", ",n.join(i)};zi.splitSelector=function(t){return eH.comma(t).map(e=>eH.space(e).map(r=>r.split(/(?=\.|#)/g)))};zi.isPureNumber=function(t){return typeof t=="number"?!0:typeof t=="string"?/^[0-9]+$/.test(t):!1};let n2t=WI,{agents:ype}=HI,i2t=zi,o2t=class{constructor(e,r,n,i){this.data=e,this.options=n||{},this.browserslistOpts=i||{},this.selected=this.parse(r)}static prefixes(){if(this.prefixesCache)return this.prefixesCache;this.prefixesCache=[];for(let e in ype)this.prefixesCache.push(`-${ype[e].prefix}-`);return this.prefixesCache=i2t.uniq(this.prefixesCache).sort((e,r)=>r.length-e.length),this.prefixesCache}static withPrefix(e){return this.prefixesRegexp||(this.prefixesRegexp=new RegExp(this.prefixes().join("|"))),this.prefixesRegexp.test(e)}isSelected(e){return this.selected.includes(e)}parse(e){let r={};for(let n in this.browserslistOpts)r[n]=this.browserslistOpts[n];return r.path=this.options.from,n2t(e,r)}prefix(e){let[r,n]=e.split(" "),i=this.data[r],o=i.prefix_exceptions&&i.prefix_exceptions[n];return o||(o=i.prefix),`-${o}-`}};var mv=o2t;let s2t=WI;function a2t(t){return t.slice(0,1).toUpperCase()+t.slice(1)}const l2t={and_chr:"Chrome for Android",and_ff:"Firefox for Android",and_qq:"QQ Browser",and_uc:"UC for Android",baidu:"Baidu Browser",ie:"IE",ie_mob:"IE Mobile",ios_saf:"iOS Safari",kaios:"KaiOS Browser",op_mini:"Opera Mini",op_mob:"Opera Mobile",samsung:"Samsung Internet"};function Z6(t,e,r){let n=` ${t}`;return r&&(n+=" *"),n+=": ",n+=e.map(i=>i.replace(/^-(.*)-$/g,"$1")).join(", "),n+=` `,n}var c2t=function(t){if(t.browsers.selected.length===0)return"No browsers selected";let e={};for(let u of t.browsers.selected){let f=u.split(" "),d=f[0],p=f[1];d=l2t[d]||a2t(d),e[d]?e[d].push(p):e[d]=[p]}let r=`Browsers: `;for(let u in e){let f=e[u];f=f.sort((d,p)=>parseFloat(p)-parseFloat(d)),r+=` ${u}: ${f.join(", ")} `}let n=s2t.coverage(t.browsers.selected),i=Math.round(n*100)/100;r+=` These browsers account for ${i}% of all users globally `;let o=[];for(let u in t.add){let f=t.add[u];u[0]==="@"&&f.prefixes&&o.push(Z6(u,f.prefixes))}o.length>0&&(r+=` At-Rules: ${o.sort().join("")}`);let s=[];for(let u of t.add.selectors)u.prefixes&&s.push(Z6(u.name,u.prefixes));s.length>0&&(r+=` Selectors: ${s.sort().join("")}`);let a=[],l=[],c=!1;for(let u in t.add){let f=t.add[u];if(u[0]!=="@"&&f.prefixes){let d=u.indexOf("grid-")===0;d&&(c=!0),l.push(Z6(u,f.prefixes,d))}if(Array.isArray(f.values))for(let d of f.values){let p=d.name.includes("grid");p&&(c=!0);let h=Z6(d.name,d.prefixes,p);a.includes(h)||a.push(h)}}return l.length>0&&(r+=` Properties: ${l.sort().join("")}`),a.length>0&&(r+=` Values: ${a.sort().join("")}`),c&&(r+=` * - Prefixes will be added only on grid: true option. `),!o.length&&!s.length&&!l.length&&!a.length&&(r+=` Awesome! Your browsers don't require any vendor prefixes. Now you can remove Autoprefixer from build steps.`),r},KI={prefix(t){let e=t.match(/^(-\w+-)/);return e?e[0]:""},unprefixed(t){return t.replace(/^-\w+-/,"")}};let u2t=mv,f2t=zi,Bpe=KI;function tH(t,e){let r=new t.constructor;for(let n of Object.keys(t||{})){let i=t[n];n==="parent"&&typeof i=="object"?e&&(r[n]=e):n==="source"||n===null?r[n]=i:Array.isArray(i)?r[n]=i.map(o=>tH(o,r)):n!=="_autoprefixerPrefix"&&n!=="_autoprefixerValues"&&n!=="proxyCache"&&(typeof i=="object"&&i!==null&&(i=tH(i,r)),r[n]=i)}return r}let d2t=class K6e{constructor(e,r,n){this.prefixes=r,this.name=e,this.all=n}static clone(e,r){let n=tH(e);for(let i in r)n[i]=r[i];return n}static hack(e){return this.hacks||(this.hacks={}),e.names.map(r=>(this.hacks[r]=e,this.hacks[r]))}static load(e,r,n){let i=this.hacks&&this.hacks[e];return i?new i(e,r,n):new this(e,r,n)}clone(e,r){return K6e.clone(e,r)}parentPrefix(e){let r;return typeof e._autoprefixerPrefix<"u"?r=e._autoprefixerPrefix:e.type==="decl"&&e.prop[0]==="-"?r=Bpe.prefix(e.prop):e.type==="root"?r=!1:e.type==="rule"&&e.selector.includes(":-")&&/:(-\w+-)/.test(e.selector)?r=e.selector.match(/:(-\w+-)/)[1]:e.type==="atrule"&&e.name[0]==="-"?r=Bpe.prefix(e.name):r=this.parentPrefix(e.parent),u2t.prefixes().includes(r)||(r=!1),e._autoprefixerPrefix=r,e._autoprefixerPrefix}process(e,r){if(!this.check(e))return;let n=this.parentPrefix(e),i=this.prefixes.filter(s=>!n||n===f2t.removeNote(s)),o=[];for(let s of i)this.add(e,s,o.concat([s]),r)&&o.push(s);return o}};var ax=d2t;let p2t=ax,A2t=class extends p2t{add(e,r){let n=r+e.name;if(e.parent.some(s=>s.name===n&&s.params===e.params))return;let o=this.clone(e,{name:n});return e.parent.insertBefore(e,o)}process(e){let r=this.parentPrefix(e);for(let n of this.prefixes)(!r||r===n)&&this.add(e,n)}};var h2t=A2t;let m2t=mv,g2t=ax,Cpe=zi,v2t=class extends g2t{add(e,r,n,i){let o=this.prefixed(e.prop,r);if(!(this.isAlready(e,o)||this.otherPrefixes(e.value,r)))return this.insert(e,r,n,i)}calcBefore(e,r,n=""){let o=this.maxPrefixed(e,r)-Cpe.removeNote(n).length,s=r.raw("before");return o>0&&(s+=Array(o).fill(" ").join("")),s}check(){return!0}insert(e,r,n){let i=this.set(this.clone(e),r);if(!(!i||e.parent.some(s=>s.prop===i.prop&&s.value===i.value)))return this.needCascade(e)&&(i.raws.before=this.calcBefore(n,e,r)),e.parent.insertBefore(e,i)}isAlready(e,r){let n=this.all.group(e).up(i=>i.prop===r);return n||(n=this.all.group(e).down(i=>i.prop===r)),n}maxPrefixed(e,r){if(r._autoprefixerMax)return r._autoprefixerMax;let n=0;for(let i of e)i=Cpe.removeNote(i),i.length>n&&(n=i.length);return r._autoprefixerMax=n,r._autoprefixerMax}needCascade(e){return e._autoprefixerCascade||(e._autoprefixerCascade=this.all.options.cascade!==!1&&e.raw("before").includes(` `)),e._autoprefixerCascade}normalize(e){return e}old(e,r){return[this.prefixed(e,r)]}otherPrefixes(e,r){for(let n of m2t.prefixes())if(n!==r&&e.includes(n))return e.replace(/var\([^)]+\)/,"").includes(n);return!1}prefixed(e,r){return r+e}process(e,r){if(!this.needCascade(e)){super.process(e,r);return}let n=super.process(e,r);!n||!n.length||(this.restoreBefore(e),e.raws.before=this.calcBefore(n,e))}restoreBefore(e){let r=e.raw("before").split(` `),n=r[r.length-1];this.all.group(e).up(i=>{let o=i.raw("before").split(` `),s=o[o.length-1];s.length<n.length&&(n=s)}),r[r.length-1]=n,e.raws.before=r.join(` `)}set(e,r){return e.prop=this.prefixed(e.prop,r),e}};var pn=v2t,Zc=function(t){let e;return t==="-webkit- 2009"||t==="-moz-"?e=2009:t==="-ms-"?e=2012:t==="-webkit-"&&(e="final"),t==="-webkit- 2009"&&(t="-webkit-"),[e,t]};let y2t=pn,bpe=Zc;class lx extends y2t{normalize(){return"align-content"}prefixed(e,r){let n;return[n,r]=bpe(r),n===2012?r+"flex-line-pack":super.prefixed(e,r)}set(e,r){let n=bpe(r)[0];if(n===2012)return e.value=lx.oldValues[e.value]||e.value,super.set(e,r);if(n==="final")return super.set(e,r)}}lx.names=["align-content","flex-line-pack"];lx.oldValues={"flex-end":"end","flex-start":"start","space-around":"distribute","space-between":"justify"};var B2t=lx;let C2t=pn,wpe=Zc;class cx extends C2t{normalize(){return"align-items"}prefixed(e,r){let n;return[n,r]=wpe(r),n===2009?r+"box-align":n===2012?r+"flex-align":super.prefixed(e,r)}set(e,r){let n=wpe(r)[0];return(n===2009||n===2012)&&(e.value=cx.oldValues[e.value]||e.value),super.set(e,r)}}cx.names=["align-items","flex-align","box-align"];cx.oldValues={"flex-end":"end","flex-start":"start"};var b2t=cx;let w2t=pn,xpe=Zc;class ux extends w2t{check(e){return e.parent&&!e.parent.some(r=>r.prop&&r.prop.startsWith("grid-"))}normalize(){return"align-self"}prefixed(e,r){let n;return[n,r]=xpe(r),n===2012?r+"flex-item-align":super.prefixed(e,r)}set(e,r){let n=xpe(r)[0];if(n===2012)return e.value=ux.oldValues[e.value]||e.value,super.set(e,r);if(n==="final")return super.set(e,r)}}ux.names=["align-self","flex-item-align"];ux.oldValues={"flex-end":"end","flex-start":"start"};var x2t=ux;let S2t=pn;class q6e extends S2t{check(e){return!e.value.split(/\s+/).some(r=>{let n=r.toLowerCase();return n==="reverse"||n==="alternate-reverse"})}}q6e.names=["animation","animation-direction"];var E2t=q6e;let D2t=pn,k2t=zi;class X6e extends D2t{constructor(e,r,n){super(e,r,n),this.prefixes&&(this.prefixes=k2t.uniq(this.prefixes.map(i=>i==="-ms-"?"-webkit-":i)))}}X6e.names=["appearance"];var O2t=X6e;let P2t=class{constructor(e,r){this.prefix=r,this.prefixed=e.prefixed(this.prefix),this.regexp=e.regexp(this.prefix),this.prefixeds=e.possible().map(n=>[e.prefixed(n),e.regexp(n)]),this.unprefixed=e.name,this.nameRegexp=e.regexp()}check(e){return!(!e.selector.includes(this.prefixed)||!e.selector.match(this.regexp)||this.isHack(e))}isHack(e){let r=e.parent.index(e)+1,n=e.parent.nodes;for(;r<n.length;){let i=n[r].selector;if(!i)return!0;if(i.includes(this.unprefixed)&&i.match(this.nameRegexp))return!1;let o=!1;for(let[s,a]of this.prefixeds)if(i.includes(s)&&i.match(a)){o=!0;break}if(!o)return!0;r+=1}return!0}};var I2t=P2t;let{list:N2t}=$m,F2t=mv,T2t=I2t,L2t=ax,R2t=zi,M2t=class extends L2t{constructor(e,r,n){super(e,r,n),this.regexpCache=new Map}add(e,r){let n=this.prefixeds(e);if(this.already(e,n,r))return;let i=this.clone(e,{selector:n[this.name][r]});e.parent.insertBefore(e,i)}already(e,r,n){let i=e.parent.index(e)-1;for(;i>=0;){let o=e.parent.nodes[i];if(o.type!=="rule")return!1;let s=!1;for(let a in r[this.name]){let l=r[this.name][a];if(o.selector===l){if(n===a)return!0;s=!0;break}}if(!s)return!1;i-=1}return!1}check(e){return e.selector.includes(this.name)?!!e.selector.match(this.regexp()):!1}old(e){return new T2t(this,e)}possible(){return F2t.prefixes()}prefixed(e){return this.name.replace(/^(\W*)/,`$1${e}`)}prefixeds(e){if(e._autoprefixerPrefixeds){if(e._autoprefixerPrefixeds[this.name])return e._autoprefixerPrefixeds}else e._autoprefixerPrefixeds={};let r={};if(e.selector.includes(",")){let i=N2t.comma(e.selector).filter(o=>o.includes(this.name));for(let o of this.possible())r[o]=i.map(s=>this.replace(s,o)).join(", ")}else for(let n of this.possible())r[n]=this.replace(e.selector,n);return e._autoprefixerPrefixeds[this.name]=r,e._autoprefixerPrefixeds}regexp(e){if(!this.regexpCache.has(e)){let r=e?this.prefixed(e):this.name;this.regexpCache.set(e,new RegExp(`(^|[^:"'=])${R2t.escapeRegexp(r)}`,"gi"))}return this.regexpCache.get(e)}replace(e,r){return e.replace(this.regexp(),`$1${this.prefixed(r)}`)}};var PC=M2t;let _2t=PC,j2t=zi;class Y6e extends _2t{constructor(e,r,n){super(e,r,n),this.prefixes&&(this.prefixes=j2t.uniq(this.prefixes.map(()=>"-webkit-")))}prefixed(e){return e==="-webkit-"?":-webkit-autofill":`:${e}autofill`}}Y6e.names=[":autofill"];var U2t=Y6e;let Q2t=pn,V2t=zi;class J6e extends Q2t{constructor(e,r,n){super(e,r,n),this.prefixes&&(this.prefixes=V2t.uniq(this.prefixes.map(i=>i==="-ms-"?"-webkit-":i)))}}J6e.names=["backdrop-filter"];var $2t=J6e;let H2t=pn,G2t=zi;class Z6e extends H2t{constructor(e,r,n){super(e,r,n),this.prefixes&&(this.prefixes=G2t.uniq(this.prefixes.map(i=>i==="-ms-"?"-webkit-":i)))}check(e){return e.value.toLowerCase()==="text"}}Z6e.names=["background-clip"];var W2t=Z6e;let z2t=pn;class e8e extends z2t{set(e,r){let n=e.value.toLowerCase();return r==="-webkit-"&&!n.includes(" ")&&n!=="contain"&&n!=="cover"&&(e.value=e.value+" "+e.value),super.set(e,r)}}e8e.names=["background-size"];var K2t=e8e;let q2t=pn;class t8e extends q2t{normalize(e){return e.includes("-before")?e.replace("-before","-block-start"):e.replace("-after","-block-end")}prefixed(e,r){return e.includes("-start")?r+e.replace("-block-start","-before"):r+e.replace("-block-end","-after")}}t8e.names=["border-block-start","border-block-end","margin-block-start","margin-block-end","padding-block-start","padding-block-end","border-before","border-after","margin-before","margin-after","padding-before","padding-after"];var X2t=t8e;let Y2t=pn;class r8e extends Y2t{set(e,r){return e.value=e.value.replace(/\s+fill(\s)/,"$1"),super.set(e,r)}}r8e.names=["border-image"];var J2t=r8e;let Z2t=pn;class Pf extends Z2t{normalize(e){return Pf.toNormal[e]||e}prefixed(e,r){return r==="-moz-"?r+(Pf.toMozilla[e]||e):super.prefixed(e,r)}}Pf.names=["border-radius"];Pf.toMozilla={};Pf.toNormal={};for(let t of["top","bottom"])for(let e of["left","right"]){let r=`border-${t}-${e}-radius`,n=`border-radius-${t}${e}`;Pf.names.push(r),Pf.names.push(n),Pf.toMozilla[r]=n,Pf.toNormal[n]=r}var eBt=Pf;let tBt=pn;class n8e extends tBt{insert(e,r,n){if(e.prop!=="break-inside")return super.insert(e,r,n);if(!(/region/i.test(e.value)||/page/i.test(e.value)))return super.insert(e,r,n)}normalize(e){return e.includes("inside")?"break-inside":e.includes("before")?"break-before":"break-after"}prefixed(e,r){return`${r}column-${e}`}set(e,r){return(e.prop==="break-inside"&&e.value==="avoid-column"||e.value==="avoid-page")&&(e.value="avoid"),super.set(e,r)}}n8e.names=["break-inside","page-break-inside","column-break-inside","break-before","page-break-before","column-break-before","break-after","page-break-after","column-break-after"];var rBt=n8e;let nBt=zi,iBt=class{constructor(e,r,n,i){this.unprefixed=e,this.prefixed=r,this.string=n||r,this.regexp=i||nBt.regexp(r)}check(e){return e.includes(this.string)?!!e.match(this.regexp):!1}};var fx=iBt;let oBt=fx,sBt=ax,aBt=zi,lBt=KI,cBt=class extends sBt{static save(e,r){let n=r.prop,i=[];for(let o in r._autoprefixerValues){let s=r._autoprefixerValues[o];if(s===r.value)continue;let a,l=lBt.prefix(n);if(l==="-pie-")continue;if(l===o){a=r.value=s,i.push(a);continue}let c=e.prefixed(n,o),u=r.parent;if(!u.every(h=>h.prop!==c)){i.push(a);continue}let f=s.replace(/\s+/," ");if(u.some(h=>h.prop===r.prop&&h.value.replace(/\s+/," ")===f)){i.push(a);continue}let p=this.clone(r,{value:s});a=r.parent.insertBefore(r,p),i.push(a)}return i}add(e,r){e._autoprefixerValues||(e._autoprefixerValues={});let n=e._autoprefixerValues[r]||this.value(e),i;do if(i=n,n=this.replace(n,r),n===!1)return;while(n!==i);e._autoprefixerValues[r]=n}check(e){let r=e.value;return r.includes(this.name)?!!r.match(this.regexp()):!1}old(e){return new oBt(this.name,e+this.name)}regexp(){return this.regexpCache||(this.regexpCache=aBt.regexp(this.name))}replace(e,r){return e.replace(this.regexp(),`$1${r}$2`)}value(e){return e.raws.value&&e.raws.value.value===e.value?e.raws.value.raw:e.value}};var od=cBt;let uBt=$m.list,fBt=od;class i8e extends fBt{replace(e,r){return uBt.space(e).map(n=>{if(n.slice(0,+this.name.length+1)!==this.name+"(")return n;let i=n.lastIndexOf(")"),o=n.slice(i+1),s=n.slice(this.name.length+1,i);if(r==="-webkit-"){let a=s.match(/\d*.?\d+%?/);a?(s=s.slice(a[0].length).trim(),s+=`, ${a[0]}`):s+=", 0.5"}return r+this.name+"("+s+")"+o}).join(" ")}}i8e.names=["cross-fade"];var dBt=i8e;let pBt=fx,ABt=od,hBt=Zc;class o8e extends ABt{constructor(e,r){super(e,r),e==="display-flex"&&(this.name="flex")}check(e){return e.prop==="display"&&e.value===this.name}old(e){let r=this.prefixed(e);if(r)return new pBt(this.name,r)}prefixed(e){let r,n;return[r,e]=hBt(e),r===2009?this.name==="flex"?n="box":n="inline-box":r===2012?this.name==="flex"?n="flexbox":n="inline-flexbox":r==="final"&&(n=this.name),e+n}replace(e,r){return this.prefixed(r)}}o8e.names=["display-flex","inline-flex"];var mBt=o8e;let gBt=od;class s8e extends gBt{constructor(e,r){super(e,r),e==="display-grid"&&(this.name="grid")}check(e){return e.prop==="display"&&e.value===this.name}}s8e.names=["display-grid","inline-grid"];var vBt=s8e;let yBt=PC,BBt=zi;class a8e extends yBt{constructor(e,r,n){super(e,r,n),this.prefixes&&(this.prefixes=BBt.uniq(this.prefixes.map(()=>"-webkit-")))}prefixed(e){return e==="-webkit-"?"::-webkit-file-upload-button":`::${e}file-selector-button`}}a8e.names=["::file-selector-button"];var CBt=a8e;let bBt=pn;class l8e extends bBt{check(e){let r=e.value;return!r.toLowerCase().includes("alpha(")&&!r.includes("DXImageTransform.Microsoft")&&!r.includes("data:image/svg+xml")}}l8e.names=["filter"];var wBt=l8e;let xBt=od;class c8e extends xBt{constructor(e,r){super(e,r),e==="filter-function"&&(this.name="filter")}}c8e.names=["filter","filter-function"];var SBt=c8e;let Spe=$m.list,EBt=pn,Epe=Zc,KJ=class u8e extends EBt{normalize(){return"flex"}prefixed(e,r){let n;return[n,r]=Epe(r),n===2009?r+"box-flex":super.prefixed(e,r)}set(e,r){let n=Epe(r)[0];if(n===2009)return e.value=Spe.space(e.value)[0],e.value=u8e.oldValues[e.value]||e.value,super.set(e,r);if(n===2012){let i=Spe.space(e.value);i.length===3&&i[2]==="0"&&(e.value=i.slice(0,2).concat("0px").join(" "))}return super.set(e,r)}};KJ.names=["flex","box-flex"];KJ.oldValues={auto:"1",none:"0"};var DBt=KJ;let kBt=pn,Dpe=Zc;class f8e extends kBt{normalize(){return"flex-basis"}prefixed(e,r){let n;return[n,r]=Dpe(r),n===2012?r+"flex-preferred-size":super.prefixed(e,r)}set(e,r){let n;if([n,r]=Dpe(r),n===2012||n==="final")return super.set(e,r)}}f8e.names=["flex-basis","flex-preferred-size"];var OBt=f8e;let PBt=pn,kpe=Zc;class d8e extends PBt{insert(e,r,n){let i;if([i,r]=kpe(r),i!==2009)return super.insert(e,r,n);if(e.parent.some(u=>u.prop===r+"box-orient"||u.prop===r+"box-direction"))return;let s=e.value,a,l;s==="inherit"||s==="initial"||s==="unset"?(l=s,a=s):(l=s.includes("row")?"horizontal":"vertical",a=s.includes("reverse")?"reverse":"normal");let c=this.clone(e);return c.prop=r+"box-orient",c.value=l,this.needCascade(e)&&(c.raws.before=this.calcBefore(n,e,r)),e.parent.insertBefore(e,c),c=this.clone(e),c.prop=r+"box-direction",c.value=a,this.needCascade(e)&&(c.raws.before=this.calcBefore(n,e,r)),e.parent.insertBefore(e,c)}normalize(){return"flex-direction"}old(e,r){let n;return[n,r]=kpe(r),n===2009?[r+"box-orient",r+"box-direction"]:super.old(e,r)}}d8e.names=["flex-direction","box-direction","box-orient"];var IBt=d8e;let NBt=pn,FBt=Zc;class p8e extends NBt{insert(e,r,n){let i;if([i,r]=FBt(r),i!==2009)return super.insert(e,r,n);let o=e.value.split(/\s+/).filter(f=>f!=="wrap"&&f!=="nowrap"&&"wrap-reverse");if(o.length===0||e.parent.some(f=>f.prop===r+"box-orient"||f.prop===r+"box-direction"))return;let a=o[0],l=a.includes("row")?"horizontal":"vertical",c=a.includes("reverse")?"reverse":"normal",u=this.clone(e);return u.prop=r+"box-orient",u.value=l,this.needCascade(e)&&(u.raws.before=this.calcBefore(n,e,r)),e.parent.insertBefore(e,u),u=this.clone(e),u.prop=r+"box-direction",u.value=c,this.needCascade(e)&&(u.raws.before=this.calcBefore(n,e,r)),e.parent.insertBefore(e,u)}}p8e.names=["flex-flow","box-direction","box-orient"];var TBt=p8e;let LBt=pn,RBt=Zc;class A8e extends LBt{normalize(){return"flex"}prefixed(e,r){let n;return[n,r]=RBt(r),n===2009?r+"box-flex":n===2012?r+"flex-positive":super.prefixed(e,r)}}A8e.names=["flex-grow","flex-positive"];var MBt=A8e;let _Bt=pn,Ope=Zc;class h8e extends _Bt{normalize(){return"flex-shrink"}prefixed(e,r){let n;return[n,r]=Ope(r),n===2012?r+"flex-negative":super.prefixed(e,r)}set(e,r){let n;if([n,r]=Ope(r),n===2012||n==="final")return super.set(e,r)}}h8e.names=["flex-shrink","flex-negative"];var jBt=h8e;let UBt=pn,QBt=Zc;class m8e extends UBt{set(e,r){if(QBt(r)[0]!==2009)return super.set(e,r)}}m8e.names=["flex-wrap"];var VBt=m8e;let $Bt=PC;class g8e extends $Bt{prefixed(e){return e==="-webkit-"?":-webkit-full-screen":e==="-moz-"?":-moz-full-screen":`:${e}fullscreen`}}g8e.names=[":fullscreen"];var HBt=g8e,GBt={wrap:v8e,limit:y8e,validate:B8e,test:qJ,curry:WBt,name:C8e};function v8e(t,e,r){var n=e-t;return((r-t)%n+n)%n+t}function y8e(t,e,r){return Math.max(t,Math.min(e,r))}function B8e(t,e,r,n,i){if(!qJ(t,e,r,n,i))throw new Error(r+" is outside of range ["+t+","+e+")");return r}function qJ(t,e,r,n,i){return!(r<t||r>e||i&&r===e||n&&r===t)}function C8e(t,e,r,n){return(r?"(":"[")+t+","+e+(n?")":"]")}function WBt(t,e,r,n){var i=C8e.bind(null,t,e,r,n);return{wrap:v8e.bind(null,t,e),limit:y8e.bind(null,t,e),validate:function(o){return B8e(t,e,o,r,n)},test:function(o){return qJ(t,e,o,r,n)},toString:i,name:i}}var o_="(".charCodeAt(0),s_=")".charCodeAt(0),e8="'".charCodeAt(0),a_='"'.charCodeAt(0),l_="\\".charCodeAt(0),dy="/".charCodeAt(0),c_=",".charCodeAt(0),u_=":".charCodeAt(0),t8="*".charCodeAt(0),zBt="u".charCodeAt(0),KBt="U".charCodeAt(0),qBt="+".charCodeAt(0),XBt=/^[a-f0-9?-]+$/i,YBt=function(t){for(var e=[],r=t,n,i,o,s,a,l,c,u,f=0,d=r.charCodeAt(f),p=r.length,h=[{nodes:e}],A=0,g,m="",v="",y="";f<p;)if(d<=32){n=f;do n+=1,d=r.charCodeAt(n);while(d<=32);s=r.slice(f,n),o=e[e.length-1],d===s_&&A?y=s:o&&o.type==="div"?(o.after=s,o.sourceEndIndex+=s.length):d===c_||d===u_||d===dy&&r.charCodeAt(n+1)!==t8&&(!g||g&&g.type==="function"&&g.value!=="calc")?v=s:e.push({type:"space",sourceIndex:f,sourceEndIndex:n,value:s}),f=n}else if(d===e8||d===a_){n=f,i=d===e8?"'":'"',s={type:"string",sourceIndex:f,quote:i};do if(a=!1,n=r.indexOf(i,n+1),~n)for(l=n;r.charCodeAt(l-1)===l_;)l-=1,a=!a;else r+=i,n=r.length-1,s.unclosed=!0;while(a);s.value=r.slice(f+1,n),s.sourceEndIndex=s.unclosed?n:n+1,e.push(s),f=n+1,d=r.charCodeAt(f)}else if(d===dy&&r.charCodeAt(f+1)===t8)n=r.indexOf("*/",f),s={type:"comment",sourceIndex:f,sourceEndIndex:n+2},n===-1&&(s.unclosed=!0,n=r.length,s.sourceEndIndex=n),s.value=r.slice(f+2,n),e.push(s),f=n+2,d=r.charCodeAt(f);else if((d===dy||d===t8)&&g&&g.type==="function"&&g.value==="calc")s=r[f],e.push({type:"word",sourceIndex:f-v.length,sourceEndIndex:f+s.length,value:s}),f+=1,d=r.charCodeAt(f);else if(d===dy||d===c_||d===u_)s=r[f],e.push({type:"div",sourceIndex:f-v.length,sourceEndIndex:f+s.length,value:s,before:v,after:""}),v="",f+=1,d=r.charCodeAt(f);else if(o_===d){n=f;do n+=1,d=r.charCodeAt(n);while(d<=32);if(u=f,s={type:"function",sourceIndex:f-m.length,value:m,before:r.slice(u+1,n)},f=n,m==="url"&&d!==e8&&d!==a_){n-=1;do if(a=!1,n=r.indexOf(")",n+1),~n)for(l=n;r.charCodeAt(l-1)===l_;)l-=1,a=!a;else r+=")",n=r.length-1,s.unclosed=!0;while(a);c=n;do c-=1,d=r.charCodeAt(c);while(d<=32);u<c?(f!==c+1?s.nodes=[{type:"word",sourceIndex:f,sourceEndIndex:c+1,value:r.slice(f,c+1)}]:s.nodes=[],s.unclosed&&c+1!==n?(s.after="",s.nodes.push({type:"space",sourceIndex:c+1,sourceEndIndex:n,value:r.slice(c+1,n)})):(s.after=r.slice(c+1,n),s.sourceEndIndex=n)):(s.after="",s.nodes=[]),f=n+1,s.sourceEndIndex=s.unclosed?n:f,d=r.charCodeAt(f),e.push(s)}else A+=1,s.after="",s.sourceEndIndex=f+1,e.push(s),h.push(s),e=s.nodes=[],g=s;m=""}else if(s_===d&&A)f+=1,d=r.charCodeAt(f),g.after=y,g.sourceEndIndex+=y.length,y="",A-=1,h[h.length-1].sourceEndIndex=f,h.pop(),g=h[A],e=g.nodes;else{n=f;do d===l_&&(n+=1),n+=1,d=r.charCodeAt(n);while(n<p&&!(d<=32||d===e8||d===a_||d===c_||d===u_||d===dy||d===o_||d===t8&&g&&g.type==="function"&&g.value==="calc"||d===dy&&g.type==="function"&&g.value==="calc"||d===s_&&A));s=r.slice(f,n),o_===d?m=s:(zBt===s.charCodeAt(0)||KBt===s.charCodeAt(0))&&qBt===s.charCodeAt(1)&&XBt.test(s.slice(2))?e.push({type:"unicode-range",sourceIndex:f,sourceEndIndex:n,value:s}):e.push({type:"word",sourceIndex:f,sourceEndIndex:n,value:s}),f=n}for(f=h.length-1;f;f-=1)h[f].unclosed=!0,h[f].sourceEndIndex=r.length;return h[0].nodes},JBt=function t(e,r,n){var i,o,s,a;for(i=0,o=e.length;i<o;i+=1)s=e[i],n||(a=r(s,i,e)),a!==!1&&s.type==="function"&&Array.isArray(s.nodes)&&t(s.nodes,r,n),n&&r(s,i,e)};function Ppe(t,e){var r=t.type,n=t.value,i,o;return e&&(o=e(t))!==void 0?o:r==="word"||r==="space"?n:r==="string"?(i=t.quote||"",i+n+(t.unclosed?"":i)):r==="comment"?"/*"+n+(t.unclosed?"":"*/"):r==="div"?(t.before||"")+n+(t.after||""):Array.isArray(t.nodes)?(i=b8e(t.nodes,e),r!=="function"?i:n+"("+(t.before||"")+i+(t.after||"")+(t.unclosed?"":")")):n}function b8e(t,e){var r,n;if(Array.isArray(t)){for(r="",n=t.length-1;~n;n-=1)r=Ppe(t[n],e)+r;return r}return Ppe(t,e)}var ZBt=b8e,f_,Ipe;function eCt(){if(Ipe)return f_;Ipe=1;var t="-".charCodeAt(0),e="+".charCodeAt(0),r=".".charCodeAt(0),n="e".charCodeAt(0),i="E".charCodeAt(0);function o(s){var a=s.charCodeAt(0),l;if(a===e||a===t){if(l=s.charCodeAt(1),l>=48&&l<=57)return!0;var c=s.charCodeAt(2);return l===r&&c>=48&&c<=57}return a===r?(l=s.charCodeAt(1),l>=48&&l<=57):a>=48&&a<=57}return f_=function(s){var a=0,l=s.length,c,u,f;if(l===0||!o(s))return!1;for(c=s.charCodeAt(a),(c===e||c===t)&&a++;a<l&&(c=s.charCodeAt(a),!(c<48||c>57));)a+=1;if(c=s.charCodeAt(a),u=s.charCodeAt(a+1),c===r&&u>=48&&u<=57)for(a+=2;a<l&&(c=s.charCodeAt(a),!(c<48||c>57));)a+=1;if(c=s.charCodeAt(a),u=s.charCodeAt(a+1),f=s.charCodeAt(a+2),(c===n||c===i)&&(u>=48&&u<=57||(u===e||u===t)&&f>=48&&f<=57))for(a+=u===e||u===t?3:2;a<l&&(c=s.charCodeAt(a),!(c<48||c>57));)a+=1;return{number:s.slice(0,a),unit:s.slice(a)}},f_}var tCt=YBt,w8e=JBt,x8e=ZBt;function Cm(t){return this instanceof Cm?(this.nodes=tCt(t),this):new Cm(t)}Cm.prototype.toString=function(){return Array.isArray(this.nodes)?x8e(this.nodes):""};Cm.prototype.walk=function(t,e){return w8e(this.nodes,t,e),this};Cm.unit=eCt();Cm.walk=w8e;Cm.stringify=x8e;var IC=Cm;const cr=Io(IC);let rCt=GBt,d_=IC,nCt=fx,iCt=zi,oCt=od,Npe=/top|left|right|bottom/gi;class em extends oCt{add(e,r){let n=e.prop;if(n.includes("mask")){if(r==="-webkit-"||r==="-webkit- old")return super.add(e,r)}else if(n==="list-style"||n==="list-style-image"||n==="content"){if(r==="-webkit-"||r==="-webkit- old")return super.add(e,r)}else return super.add(e,r)}cloneDiv(e){for(let r of e)if(r.type==="div"&&r.value===",")return r;return{after:" ",type:"div",value:","}}colorStops(e){let r=[];for(let n=0;n<e.length;n++){let i,o=e[n],s;if(n===0)continue;let a=d_.stringify(o[0]);o[1]&&o[1].type==="word"?i=o[1].value:o[2]&&o[2].type==="word"&&(i=o[2].value);let l;n===1&&(!i||i==="0%")?l=`from(${a})`:n===e.length-1&&(!i||i==="100%")?l=`to(${a})`:i?l=`color-stop(${i}, ${a})`:l=`color-stop(${a})`;let c=o[o.length-1];e[n]=[{type:"word",value:l}],c.type==="div"&&c.value===","&&(s=e[n].push(c)),r.push(s)}return r}convertDirection(e){return e.length>0&&(e[0].value==="to"?this.fixDirection(e):e[0].value.includes("deg")?this.fixAngle(e):this.isRadial(e)&&this.fixRadial(e)),e}fixAngle(e){let r=e[0].value;r=parseFloat(r),r=Math.abs(450-r)%360,r=this.roundFloat(r,3),e[0].value=`${r}deg`}fixDirection(e){e.splice(0,2);for(let r of e){if(r.type==="div")break;r.type==="word"&&(r.value=this.revertDirection(r.value))}}fixRadial(e){let r=[],n=[],i,o,s,a,l;for(a=0;a<e.length-2;a++)if(i=e[a],o=e[a+1],s=e[a+2],i.type==="space"&&o.value==="at"&&s.type==="space"){l=a+3;break}else r.push(i);let c;for(a=l;a<e.length;a++)if(e[a].type==="div"){c=e[a];break}else n.push(e[a]);e.splice(0,a,...n,c,...r)}isRadial(e){let r="before";for(let n of e)if(r==="before"&&n.type==="space")r="at";else if(r==="at"&&n.value==="at")r="after";else{if(r==="after"&&n.type==="space")return!0;if(n.type==="div")break;r="before"}return!1}newDirection(e){if(e[0].value==="to"||(Npe.lastIndex=0,!Npe.test(e[0].value)))return e;e.unshift({type:"word",value:"to"},{type:"space",value:" "});for(let r=2;r<e.length&&e[r].type!=="div";r++)e[r].type==="word"&&(e[r].value=this.revertDirection(e[r].value));return e}normalize(e,r){if(!e[0])return e;if(/-?\d+(.\d+)?grad/.test(e[0].value))e[0].value=this.normalizeUnit(e[0].value,400);else if(/-?\d+(.\d+)?rad/.test(e[0].value))e[0].value=this.normalizeUnit(e[0].value,2*Math.PI);else if(/-?\d+(.\d+)?turn/.test(e[0].value))e[0].value=this.normalizeUnit(e[0].value,1);else if(e[0].value.includes("deg")){let n=parseFloat(e[0].value);n=rCt.wrap(0,360,n),e[0].value=`${n}deg`}if(r==="linear-gradient"||r==="repeating-linear-gradient"){let n=e[0].value;n==="0deg"||n==="0"?e=this.replaceFirst(e,"to"," ","top"):n==="90deg"?e=this.replaceFirst(e,"to"," ","right"):n==="180deg"?e=this.replaceFirst(e,"to"," ","bottom"):n==="270deg"&&(e=this.replaceFirst(e,"to"," ","left"))}return e}normalizeUnit(e,r){return`${parseFloat(e)/r*360}deg`}old(e){if(e==="-webkit-"){let r;this.name==="linear-gradient"?r="linear":this.name==="repeating-linear-gradient"?r="repeating-linear":this.name==="repeating-radial-gradient"?r="repeating-radial":r="radial";let n="-gradient",i=iCt.regexp(`-webkit-(${r}-gradient|gradient\\(\\s*${r})`,!1);return new nCt(this.name,e+this.name,n,i)}else return super.old(e)}oldDirection(e){let r=this.cloneDiv(e[0]);if(e[0][0].value!=="to")return e.unshift([{type:"word",value:em.oldDirections.bottom},r]);{let n=[];for(let o of e[0].slice(2))o.type==="word"&&n.push(o.value.toLowerCase());n=n.join(" ");let i=em.oldDirections[n]||n;return e[0]=[{type:"word",value:i},r],e[0]}}oldWebkit(e){let{nodes:r}=e,n=d_.stringify(e.nodes);if(this.name!=="linear-gradient"||r[0]&&r[0].value.includes("deg")||n.includes("px")||n.includes("-corner")||n.includes("-side"))return!1;let i=[[]];for(let o of r)i[i.length-1].push(o),o.type==="div"&&o.value===","&&i.push([]);this.oldDirection(i),this.colorStops(i),e.nodes=[];for(let o of i)e.nodes=e.nodes.concat(o);return e.nodes.unshift({type:"word",value:"linear"},this.cloneDiv(e.nodes)),e.value="-webkit-gradient",!0}replace(e,r){let n=d_(e);for(let i of n.nodes){let o=this.name;if(i.type==="function"&&i.value===o)if(i.nodes=this.newDirection(i.nodes),i.nodes=this.normalize(i.nodes,o),r==="-webkit- old"){if(!this.oldWebkit(i))return!1}else i.nodes=this.convertDirection(i.nodes),i.value=r+i.value}return n.toString()}replaceFirst(e,...r){return r.map(i=>i===" "?{type:"space",value:i}:{type:"word",value:i}).concat(e.slice(1))}revertDirection(e){return em.directions[e.toLowerCase()]||e}roundFloat(e,r){return parseFloat(e.toFixed(r))}}em.names=["linear-gradient","repeating-linear-gradient","radial-gradient","repeating-radial-gradient"];em.directions={bottom:"top",left:"right",right:"left",top:"bottom"};em.oldDirections={bottom:"left top, left bottom","bottom left":"right top, left bottom","bottom right":"left top, right bottom",left:"right top, left top","left bottom":"right top, left bottom","left top":"right bottom, left top",right:"left top, right top","right bottom":"left top, right bottom","right top":"left bottom, right top",top:"left bottom, left top","top left":"right bottom, left top","top right":"left bottom, right top"};var sCt=em,zo={};let $c=IC,DB=$m.list,Fpe=zi.uniq,aCt=zi.escapeRegexp,rH=zi.splitSelector;function Tpe(t){return t&&t.length===2&&t[0]==="span"&&parseInt(t[1],10)>0?[!1,parseInt(t[1],10)]:t&&t.length===1&&parseInt(t[0],10)>0?[parseInt(t[0],10),!1]:[!1,!1]}zo.translate=lCt;function lCt(t,e,r){let n=t[e],i=t[r];if(!n)return[!1,!1];let[o,s]=Tpe(n),[a,l]=Tpe(i);return o&&!i?[o,!1]:s&&a?[a-s,s]:o&&l?[o,l]:o&&a?[o,a-o]:[!1,!1]}zo.parse=cCt;function cCt(t){let e=$c(t.value),r=[],n=0;r[n]=[];for(let i of e.nodes)i.type==="div"?(n+=1,r[n]=[]):i.type==="word"&&r[n].push(i.value);return r}zo.insertDecl=uCt;function uCt(t,e,r){r&&!t.parent.some(n=>n.prop===`-ms-${e}`)&&t.cloneBefore({prop:`-ms-${e}`,value:r.toString()})}zo.prefixTrackProp=fCt;function fCt({prefix:t,prop:e}){return t+e.replace("template-","")}function dCt({nodes:t},{gap:e}){let{count:r,size:n}=t.reduce((i,o)=>(o.type==="div"&&o.value===","?i.key="size":i[i.key].push($c.stringify(o)),i),{count:[],key:"count",size:[]});if(e){n=n.filter(o=>o.trim());let i=[];for(let o=1;o<=r;o++)n.forEach((s,a)=>{(a>0||o>1)&&i.push(e),i.push(s)});return i.join(" ")}return`(${n.join("")})[${r.join("")}]`}zo.prefixTrackValue=nH;function nH({gap:t,value:e}){let r=$c(e).nodes.reduce((n,i)=>i.type==="function"&&i.value==="repeat"?n.concat({type:"word",value:dCt(i,{gap:t})}):t&&i.type==="space"?n.concat({type:"space",value:" "},{type:"word",value:t},i):n.concat(i),[]);return $c.stringify(r)}let pCt=/^\.+$/;function Lpe(t,e){return{end:e,span:e-t,start:t}}function ACt(t){return t.trim().split(/\s+/g)}zo.parseGridAreas=XJ;function XJ({gap:t,rows:e}){return e.reduce((r,n,i)=>(t.row&&(i*=2),n.trim()===""||ACt(n).forEach((o,s)=>{if(!pCt.test(o))if(t.column&&(s*=2),typeof r[o]>"u")r[o]={column:Lpe(s+1,s+2),row:Lpe(i+1,i+2)};else{let{column:a,row:l}=r[o];a.start=Math.min(a.start,s+1),a.end=Math.max(a.end,s+2),a.span=a.end-a.start,l.start=Math.min(l.start,i+1),l.end=Math.max(l.end,i+2),l.span=l.end-l.start}}),r),{})}function hCt(t){return t.type==="word"&&/^\[.+]$/.test(t.value)}function Rpe(t){return t.areas.length>t.rows.length&&t.rows.push("auto"),t}zo.parseTemplate=YJ;function YJ({decl:t,gap:e}){let r=$c(t.value).nodes.reduce((n,i)=>{let{type:o,value:s}=i;return hCt(i)||o==="space"||(o==="string"&&(n=Rpe(n),n.areas.push(s)),(o==="word"||o==="function")&&n[n.key].push($c.stringify(i)),o==="div"&&s==="/"&&(n.key="columns",n=Rpe(n))),n},{areas:[],columns:[],key:"rows",rows:[]});return{areas:XJ({gap:e,rows:r.areas}),columns:nH({gap:e.column,value:r.columns.join(" ")}),rows:nH({gap:e.row,value:r.rows.join(" ")})}}function r8(t,e=!1,r=!1){let n=[{prop:"-ms-grid-row",value:String(t.row.start)}];return(t.row.span>1||e)&&n.push({prop:"-ms-grid-row-span",value:String(t.row.span)}),n.push({prop:"-ms-grid-column",value:String(t.column.start)}),(t.column.span>1||r)&&n.push({prop:"-ms-grid-column-span",value:String(t.column.span)}),n}function E4(t){return t.type==="atrule"&&t.name==="media"?t:t.parent?E4(t.parent):!1}function Mpe(t,e){return t=t.map(r=>{let n=DB.space(r),i=DB.comma(r);return n.length>i.length&&(r=n.slice(-1).join("")),r}),t.map(r=>e.map((i,o)=>`${o===0?"":" "}${i} > ${r}`))}function _pe(t,e){return t.selectors.some(r=>e.selectors.includes(r))}function mCt(t){let e=[];return t.walkDecls(/grid-template(-areas)?$/,r=>{let n=r.parent,i=E4(n),o=qI(r),s=S8e(r,o),{areas:a}=YJ({decl:r,gap:s||o}),l=Object.keys(a);if(l.length===0)return!0;let c=e.reduce((u,{allAreas:f},d)=>f&&l.some(h=>f.includes(h))?d:u,null);if(c!==null){let{allAreas:u,rules:f}=e[c],d=f.some(A=>A.hasDuplicates===!1&&_pe(A,n)),p=!1,h=f.reduce((A,g)=>!g.params&&_pe(g,n)?(p=!0,g.duplicateAreaNames):(p||l.forEach(m=>{g.areas[m]&&A.push(m)}),Fpe(A)),[]);f.forEach(A=>{l.forEach(g=>{let m=A.areas[g];m&&m.row.span!==a[g].row.span&&(a[g].row.updateSpan=!0),m&&m.column.span!==a[g].column.span&&(a[g].column.updateSpan=!0)})}),e[c].allAreas=Fpe([...u,...l]),e[c].rules.push({areas:a,duplicateAreaNames:h,hasDuplicates:!d,node:n,params:i.params,selectors:n.selectors})}else e.push({allAreas:l,areasCount:0,rules:[{areas:a,duplicateAreaNames:[],duplicateRules:[],hasDuplicates:!1,node:n,params:i.params,selectors:n.selectors}]})}),e}zo.insertAreas=gCt;function gCt(t,e){let r=mCt(t);if(r.length===0)return;let n={};t.walkDecls("grid-area",i=>{let o=i.parent,s=o.first.prop==="-ms-grid-row",a=E4(o);if(e(i))return;let l=t.index(a||o),c=i.value,u=r.filter(g=>g.allAreas.includes(c))[0];if(!u)return!0;let f=u.allAreas[u.allAreas.length-1],d=DB.space(o.selector),p=DB.comma(o.selector),h=d.length>1&&d.length>p.length;if(s)return!1;n[f]||(n[f]={});let A=!1;for(let g of u.rules){let m=g.areas[c],v=g.duplicateAreaNames.includes(c);if(!m){let y=n[f].lastRule,b;y?b=t.index(y):b=-1,l>b&&(n[f].lastRule=a||o);continue}if(g.params&&!n[f][g.params]&&(n[f][g.params]=[]),(!g.hasDuplicates||!v)&&!g.params)r8(m,!1,!1).reverse().forEach(y=>o.prepend(Object.assign(y,{raws:{between:i.raws.between}}))),n[f].lastRule=o,A=!0;else if(g.hasDuplicates&&!g.params&&!h){let y=o.clone();y.removeAll(),r8(m,m.row.updateSpan,m.column.updateSpan).reverse().forEach(b=>y.prepend(Object.assign(b,{raws:{between:i.raws.between}}))),y.selectors=Mpe(y.selectors,g.selectors),n[f].lastRule&&n[f].lastRule.after(y),n[f].lastRule=y,A=!0}else if(g.hasDuplicates&&!g.params&&h&&o.selector.includes(g.selectors[0]))o.walkDecls(/-ms-grid-(row|column)/,y=>y.remove()),r8(m,m.row.updateSpan,m.column.updateSpan).reverse().forEach(y=>o.prepend(Object.assign(y,{raws:{between:i.raws.between}})));else if(g.params){let y=o.clone();y.removeAll(),r8(m,m.row.updateSpan,m.column.updateSpan).reverse().forEach(b=>y.prepend(Object.assign(b,{raws:{between:i.raws.between}}))),g.hasDuplicates&&v&&(y.selectors=Mpe(y.selectors,g.selectors)),y.raws=g.node.raws,t.index(g.node.parent)>l?g.node.parent.append(y):n[f][g.params].push(y),A||(n[f].lastRule=a||o)}}}),Object.keys(n).forEach(i=>{let o=n[i],s=o.lastRule;Object.keys(o).reverse().filter(a=>a!=="lastRule").forEach(a=>{o[a].length>0&&s&&(s.after({name:"media",params:a}),s.next().append(o[a]))})})}zo.warnMissedAreas=vCt;function vCt(t,e,r){let n=Object.keys(t);e.root().walkDecls("grid-area",i=>{n=n.filter(o=>o!==i.value)}),n.length>0&&e.warn(r,"Can not find grid areas: "+n.join(", "))}zo.warnTemplateSelectorNotFound=yCt;function yCt(t,e){let r=t.parent,n=t.root(),i=!1,o=DB.space(r.selector).filter(s=>s!==">").slice(0,-1);if(o.length>0){let s=!1,a=null;n.walkDecls(/grid-template(-areas)?$/,l=>{let c=l.parent,u=c.selectors,{areas:f}=YJ({decl:l,gap:qI(l)}),d=f[t.value];for(let p of u){if(s)break;s=DB.space(p).filter(A=>A!==">").every((A,g)=>A===o[g])}if(s||!d)return!0;a||(a=c.selector),a&&a!==c.selector&&(i=!0)}),!s&&i&&t.warn(e,`Autoprefixer cannot find a grid-template containing the duplicate grid-area "${t.value}" with full selector matching: ${o.join(" ")}`)}}zo.warnIfGridRowColumnExists=BCt;function BCt(t,e){let r=t.parent,n=[];r.walkDecls(/^grid-(row|column)/,i=>{!i.prop.endsWith("-end")&&!i.value.startsWith("span")&&!i.prop.endsWith("-gap")&&n.push(i)}),n.length>0&&n.forEach(i=>{i.warn(e,`You already have a grid-area declaration present in the rule. You should use either grid-area or ${i.prop}, not both`)})}zo.getGridGap=qI;function qI(t){let e={},r=/^(grid-)?((row|column)-)?gap$/;return t.parent.walkDecls(r,({prop:n,value:i})=>{if(/^(grid-)?gap$/.test(n)){let[o,,s]=$c(i).nodes;e.row=o&&$c.stringify(o),e.column=s?$c.stringify(s):e.row}/^(grid-)?row-gap$/.test(n)&&(e.row=i),/^(grid-)?column-gap$/.test(n)&&(e.column=i)}),e}function jpe(t){if(!t)return[];let e=$c(t),r,n;return e.walk(i=>{i.type==="word"&&/min|max/g.test(i.value)?r=i.value:i.value.includes("px")&&(n=parseInt(i.value.replace(/\D/g,"")))}),[r,n]}function CCt(t,e){let r,n=rH(t),i=rH(e);if(n[0].length<i[0].length)return!1;if(n[0].length>i[0].length){let o=n[0].reduce((s,[a],l)=>{let c=i[0][0][0];return a===c?l:!1},!1);o&&(r=i[0].every((s,a)=>s.every((l,c)=>n[0].slice(o)[a][c]===l)))}else r=i.some(o=>o.every((s,a)=>s.every((l,c)=>n[0][a][c]===l)));return r}zo.inheritGridGap=S8e;function S8e(t,e){let r=t.parent,n=E4(r),i=r.root(),o=rH(r.selector);if(Object.keys(e).length>0)return!1;let[s]=jpe(n.params),a=o[0],l=aCt(a[a.length-1][0]),c=new RegExp(`(${l}$)|(${l}[,.])`),u;return i.walkRules(c,f=>{let d;if(r.toString()===f.toString())return!1;if(f.walkDecls("grid-gap",h=>d=qI(h)),!d||Object.keys(d).length===0||!CCt(r.selector,f.selector))return!0;let p=E4(f);if(p){if(jpe(p.params)[0]===s)return u=d,!0}else return u=d,!0}),u&&Object.keys(u).length>0?u:!1}zo.warnGridGap=bCt;function bCt({decl:t,gap:e,hasColumns:r,result:n}){let i=e.row&&e.column;!r&&(i||e.column&&!e.row)&&(delete e.column,t.warn(n,"Can not implement grid-gap without grid-template-columns"))}function Upe(t){return $c(t).nodes.reduce((r,n)=>{if(n.type==="function"&&n.value==="repeat"){let i="count",[o,s]=n.nodes.reduce((a,l)=>l.type==="word"&&i==="count"?(a[0]=Math.abs(parseInt(l.value)),a):l.type==="div"&&l.value===","?(i="value",a):(i==="value"&&(a[1]+=$c.stringify(l)),a),[0,""]);if(o)for(let a=0;a<o;a++)r.push(s);return r}return n.type==="space"?r:r.concat($c.stringify(n))},[])}zo.autoplaceGridItems=wCt;function wCt(t,e,r,n="row"){let{parent:i}=t,o=i.nodes.find(d=>d.prop==="grid-template-rows"),s=Upe(o.value),a=Upe(t.value),l=s.map((d,p)=>Array.from({length:a.length},(h,A)=>A+p*a.length+1).join(" ")),c=XJ({gap:r,rows:l}),u=Object.keys(c),f=u.map(d=>c[d]);n.includes("column")&&(f=f.sort((d,p)=>d.column.start-p.column.start)),f.reverse().forEach((d,p)=>{let{column:h,row:A}=d,g=i.selectors.map(v=>v+` > *:nth-child(${u.length-p})`).join(", "),m=i.clone().removeAll();m.selector=g,m.append({prop:"-ms-grid-row",value:A.start}),m.append({prop:"-ms-grid-column",value:h.start}),i.after(m)})}let xCt=pn,py=zo;class E8e extends xCt{insert(e,r,n,i){if(r!=="-ms-")return super.insert(e,r,n);let o=py.parse(e),[s,a]=py.translate(o,0,2),[l,c]=py.translate(o,1,3);[["grid-row",s],["grid-row-span",a],["grid-column",l],["grid-column-span",c]].forEach(([u,f])=>{py.insertDecl(e,u,f)}),py.warnTemplateSelectorNotFound(e,i),py.warnIfGridRowColumnExists(e,i)}}E8e.names=["grid-area"];var SCt=E8e;let ECt=pn;class D8e extends ECt{check(e){return!e.value.includes("flex-")&&e.value!=="baseline"}normalize(){return"justify-self"}prefixed(e,r){return r+"grid-column-align"}}D8e.names=["grid-column-align"];var DCt=D8e;let kCt=pn,{isPureNumber:OCt}=zi;class k8e extends kCt{insert(e,r,n,i){if(r!=="-ms-")return super.insert(e,r,n);let o=this.clone(e),s=e.prop.replace(/end$/,"start"),a=r+e.prop.replace(/end$/,"span");if(!e.parent.some(l=>l.prop===a)){if(o.prop=a,e.value.includes("span"))o.value=e.value.replace(/span\s/i,"");else{let l;if(e.parent.walkDecls(s,c=>{l=c}),l)if(OCt(l.value)){let c=Number(e.value)-Number(l.value)+"";o.value=c}else return;else e.warn(i,`Can not prefix ${e.prop} (${s} is not found)`)}e.cloneBefore(o)}}}k8e.names=["grid-row-end","grid-column-end"];var PCt=k8e;let ICt=pn;class O8e extends ICt{check(e){return!e.value.includes("flex-")&&e.value!=="baseline"}normalize(){return"align-self"}prefixed(e,r){return r+"grid-row-align"}}O8e.names=["grid-row-align"];var NCt=O8e;let FCt=pn,p_=zo;class P8e extends FCt{insert(e,r,n){if(r!=="-ms-")return super.insert(e,r,n);let i=p_.parse(e),[o,s]=p_.translate(i,0,1);i[0]&&i[0].includes("span")&&(s=i[0].join("").replace(/\D/g,"")),[[e.prop,o],[`${e.prop}-span`,s]].forEach(([l,c])=>{p_.insertDecl(e,l,c)})}}P8e.names=["grid-row","grid-column"];var TCt=P8e;let Qpe=IC,LCt=od,RCt=zo.insertAreas;const MCt=/(^|[^-])linear-gradient\(\s*(top|left|right|bottom)/i,_Ct=/(^|[^-])radial-gradient\(\s*\d+(\w*|%)\s+\d+(\w*|%)\s*,/i,jCt=/(!\s*)?autoprefixer:\s*ignore\s+next/i,UCt=/(!\s*)?autoprefixer\s*grid:\s*(on|off|(no-)?autoplace)/i,QCt=["width","height","min-width","max-width","min-height","max-height","inline-size","min-inline-size","max-inline-size","block-size","min-block-size","max-block-size"];function A_(t){return t.parent.some(e=>e.prop==="grid-template"||e.prop==="grid-template-areas")}function VCt(t){let e=t.parent.some(n=>n.prop==="grid-template-rows"),r=t.parent.some(n=>n.prop==="grid-template-columns");return e&&r}let $Ct=class{constructor(e){this.prefixes=e}add(e,r){let n=this.prefixes.add["@resolution"],i=this.prefixes.add["@keyframes"],o=this.prefixes.add["@viewport"],s=this.prefixes.add["@supports"];e.walkAtRules(c=>{if(c.name==="keyframes"){if(!this.disabled(c,r))return i&&i.process(c)}else if(c.name==="viewport"){if(!this.disabled(c,r))return o&&o.process(c)}else if(c.name==="supports"){if(this.prefixes.options.supports!==!1&&!this.disabled(c,r))return s.process(c)}else if(c.name==="media"&&c.params.includes("-resolution")&&!this.disabled(c,r))return n&&n.process(c)}),e.walkRules(c=>{if(!this.disabled(c,r))return this.prefixes.add.selectors.map(u=>u.process(c,r))});function a(c){return c.parent.nodes.some(u=>{if(u.type!=="decl")return!1;let f=u.prop==="display"&&/(inline-)?grid/.test(u.value),d=u.prop.startsWith("grid-template"),p=/^grid-([A-z]+-)?gap/.test(u.prop);return f||d||p})}let l=this.gridStatus(e,r)&&this.prefixes.add["grid-area"]&&this.prefixes.add["grid-area"].prefixes;return e.walkDecls(c=>{if(this.disabledDecl(c,r))return;let u=c.parent,f=c.prop,d=c.value;if(f==="color-adjust")u.every(h=>h.prop!=="print-color-adjust")&&r.warn("Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated.",{node:c});else if(f==="grid-row-span"){r.warn("grid-row-span is not part of final Grid Layout. Use grid-row.",{node:c});return}else if(f==="grid-column-span"){r.warn("grid-column-span is not part of final Grid Layout. Use grid-column.",{node:c});return}else if(f==="display"&&d==="box"){r.warn("You should write display: flex by final spec instead of display: box",{node:c});return}else if(f==="text-emphasis-position")(d==="under"||d==="over")&&r.warn("You should use 2 values for text-emphasis-position For example, `under left` instead of just `under`.",{node:c});else if(f==="text-decoration-skip"&&d==="ink")r.warn("Replace text-decoration-skip: ink to text-decoration-skip-ink: auto, because spec had been changed",{node:c});else{if(l&&this.gridStatus(c,r))if(c.value==="subgrid"&&r.warn("IE does not support subgrid",{node:c}),/^(align|justify|place)-items$/.test(f)&&a(c)){let h=f.replace("-items","-self");r.warn(`IE does not support ${f} on grid containers. Try using ${h} on child elements instead: ${c.parent.selector} > * { ${h}: ${c.value} }`,{node:c})}else if(/^(align|justify|place)-content$/.test(f)&&a(c))r.warn(`IE does not support ${c.prop} on grid containers`,{node:c});else if(f==="display"&&c.value==="contents"){r.warn("Please do not use display: contents; if you have grid setting enabled",{node:c});return}else if(c.prop==="grid-gap"){let h=this.gridStatus(c,r);h==="autoplace"&&!VCt(c)&&!A_(c)?r.warn("grid-gap only works if grid-template(-areas) is being used or both rows and columns have been declared and cells have not been manually placed inside the explicit grid",{node:c}):(h===!0||h==="no-autoplace")&&!A_(c)&&r.warn("grid-gap only works if grid-template(-areas) is being used",{node:c})}else if(f==="grid-auto-columns"){r.warn("grid-auto-columns is not supported by IE",{node:c});return}else if(f==="grid-auto-rows"){r.warn("grid-auto-rows is not supported by IE",{node:c});return}else if(f==="grid-auto-flow"){let h=u.some(g=>g.prop==="grid-template-rows"),A=u.some(g=>g.prop==="grid-template-columns");A_(c)?r.warn("grid-auto-flow is not supported by IE",{node:c}):d.includes("dense")?r.warn("grid-auto-flow: dense is not supported by IE",{node:c}):!h&&!A&&r.warn("grid-auto-flow works only if grid-template-rows and grid-template-columns are present in the same rule",{node:c});return}else if(d.includes("auto-fit")){r.warn("auto-fit value is not supported by IE",{node:c,word:"auto-fit"});return}else if(d.includes("auto-fill")){r.warn("auto-fill value is not supported by IE",{node:c,word:"auto-fill"});return}else f.startsWith("grid-template")&&d.includes("[")&&r.warn("Autoprefixer currently does not support line names. Try using grid-template-areas instead.",{node:c,word:"["});if(d.includes("radial-gradient"))if(_Ct.test(c.value))r.warn("Gradient has outdated direction syntax. New syntax is like `closest-side at 0 0` instead of `0 0, closest-side`.",{node:c});else{let h=Qpe(d);for(let A of h.nodes)if(A.type==="function"&&A.value==="radial-gradient")for(let g of A.nodes)g.type==="word"&&(g.value==="cover"?r.warn("Gradient has outdated direction syntax. Replace `cover` to `farthest-corner`.",{node:c}):g.value==="contain"&&r.warn("Gradient has outdated direction syntax. Replace `contain` to `closest-side`.",{node:c}))}d.includes("linear-gradient")&&MCt.test(d)&&r.warn("Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`.",{node:c})}QCt.includes(c.prop)&&(c.value.includes("-fill-available")||(c.value.includes("fill-available")?r.warn("Replace fill-available to stretch, because spec had been changed",{node:c}):c.value.includes("fill")&&Qpe(d).nodes.some(A=>A.type==="word"&&A.value==="fill")&&r.warn("Replace fill to stretch, because spec had been changed",{node:c})));let p;if(c.prop==="transition"||c.prop==="transition-property")return this.prefixes.transition.add(c,r);if(c.prop==="align-self"){if(this.displayType(c)!=="grid"&&this.prefixes.options.flexbox!==!1&&(p=this.prefixes.add["align-self"],p&&p.prefixes&&p.process(c)),this.gridStatus(c,r)!==!1&&(p=this.prefixes.add["grid-row-align"],p&&p.prefixes))return p.process(c,r)}else if(c.prop==="justify-self"){if(this.gridStatus(c,r)!==!1&&(p=this.prefixes.add["grid-column-align"],p&&p.prefixes))return p.process(c,r)}else if(c.prop==="place-self"){if(p=this.prefixes.add["place-self"],p&&p.prefixes&&this.gridStatus(c,r)!==!1)return p.process(c,r)}else if(p=this.prefixes.add[c.prop],p&&p.prefixes)return p.process(c,r)}),this.gridStatus(e,r)&&RCt(e,this.disabled),e.walkDecls(c=>{if(this.disabledValue(c,r))return;let u=this.prefixes.unprefixed(c.prop),f=this.prefixes.values("add",u);if(Array.isArray(f))for(let d of f)d.process&&d.process(c,r);LCt.save(this.prefixes,c)})}disabled(e,r){if(!e)return!1;if(e._autoprefixerDisabled!==void 0)return e._autoprefixerDisabled;if(e.parent){let i=e.prev();if(i&&i.type==="comment"&&jCt.test(i.text))return e._autoprefixerDisabled=!0,e._autoprefixerSelfDisabled=!0,!0}let n=null;if(e.nodes){let i;e.each(o=>{o.type==="comment"&&/(!\s*)?autoprefixer:\s*(off|on)/i.test(o.text)&&(typeof i<"u"?r.warn("Second Autoprefixer control comment was ignored. Autoprefixer applies control comment to whole block, not to next rules.",{node:o}):i=/on/i.test(o.text))}),i!==void 0&&(n=!i)}if(!e.nodes||n===null)if(e.parent){let i=this.disabled(e.parent,r);e.parent._autoprefixerSelfDisabled===!0?n=!1:n=i}else n=!1;return e._autoprefixerDisabled=n,n}disabledDecl(e,r){if(e.type==="decl"&&this.gridStatus(e,r)===!1&&(e.prop.includes("grid")||e.prop==="justify-items"))return!0;if(e.type==="decl"&&this.prefixes.options.flexbox===!1){let n=["order","justify-content","align-items","align-content"];if(e.prop.includes("flex")||n.includes(e.prop))return!0}return this.disabled(e,r)}disabledValue(e,r){return this.gridStatus(e,r)===!1&&e.type==="decl"&&e.prop==="display"&&e.value.includes("grid")||this.prefixes.options.flexbox===!1&&e.type==="decl"&&e.prop==="display"&&e.value.includes("flex")||e.type==="decl"&&e.prop==="content"?!0:this.disabled(e,r)}displayType(e){for(let r of e.parent.nodes)if(r.prop==="display"){if(r.value.includes("flex"))return"flex";if(r.value.includes("grid"))return"grid"}return!1}gridStatus(e,r){if(!e)return!1;if(e._autoprefixerGridStatus!==void 0)return e._autoprefixerGridStatus;let n=null;if(e.nodes){let i;e.each(o=>{if(o.type==="comment"&&UCt.test(o.text)){let s=/:\s*autoplace/i.test(o.text),a=/no-autoplace/i.test(o.text);typeof i<"u"?r.warn("Second Autoprefixer grid control comment was ignored. Autoprefixer applies control comments to the whole block, not to the next rules.",{node:o}):s?i="autoplace":a?i=!0:i=/on/i.test(o.text)}}),i!==void 0&&(n=i)}if(e.type==="atrule"&&e.name==="supports"){let i=e.params;i.includes("grid")&&i.includes("auto")&&(n=!1)}if(!e.nodes||n===null)if(e.parent){let i=this.gridStatus(e.parent,r);e.parent._autoprefixerSelfDisabled===!0?n=!1:n=i}else typeof this.prefixes.options.grid<"u"?n=this.prefixes.options.grid:typeof{}.AUTOPREFIXER_GRID<"u"?{}.AUTOPREFIXER_GRID==="autoplace"?n="autoplace":n=!0:n=!1;return e._autoprefixerGridStatus=n,n}reduceSpaces(e){let r=!1;if(this.prefixes.group(e).up(()=>(r=!0,!0)),r)return;let n=e.raw("before").split(` `),i=n[n.length-1].length,o=!1;this.prefixes.group(e).down(s=>{n=s.raw("before").split(` `);let a=n.length-1;n[a].length>i&&(o===!1&&(o=n[a].length-i),n[a]=n[a].slice(0,-o),s.raws.before=n.join(` `))})}remove(e,r){let n=this.prefixes.remove["@resolution"];return e.walkAtRules((i,o)=>{this.prefixes.remove[`@${i.name}`]?this.disabled(i,r)||i.parent.removeChild(o):i.name==="media"&&i.params.includes("-resolution")&&n&&n.clean(i)}),e.walkRules((i,o)=>{if(!this.disabled(i,r)){for(let s of this.prefixes.remove.selectors)if(s.check(i)){i.parent.removeChild(o);return}}}),e.walkDecls((i,o)=>{if(this.disabled(i,r))return;let s=i.parent,a=this.prefixes.unprefixed(i.prop);if((i.prop==="transition"||i.prop==="transition-property")&&this.prefixes.transition.remove(i),this.prefixes.remove[i.prop]&&this.prefixes.remove[i.prop].remove){let l=this.prefixes.group(i).down(c=>this.prefixes.normalize(c.prop)===a);if(a==="flex-flow"&&(l=!0),i.prop==="-webkit-box-orient"){let c={"flex-direction":!0,"flex-flow":!0};if(!i.parent.some(u=>c[u.prop]))return}if(l&&!this.withHackValue(i)){i.raw("before").includes(` `)&&this.reduceSpaces(i),s.removeChild(o);return}}for(let l of this.prefixes.values("remove",a)){if(!l.check||!l.check(i.value))continue;if(a=l.unprefixed,this.prefixes.group(i).down(u=>u.value.includes(a))){s.removeChild(o);return}}})}withHackValue(e){return e.prop==="-webkit-background-clip"&&e.value==="text"||e.prop==="-webkit-box-orient"&&e.parent.some(r=>r.prop==="-webkit-line-clamp")}};var I8e=$Ct;let HCt=pn,GCt=I8e,{autoplaceGridItems:WCt,getGridGap:zCt,inheritGridGap:KCt,prefixTrackProp:Vpe,prefixTrackValue:qCt}=zo;class N8e extends HCt{insert(e,r,n,i){if(r!=="-ms-")return super.insert(e,r,n);let{parent:o,prop:s,value:a}=e,l=s.includes("rows"),c=s.includes("columns"),u=o.some(v=>v.prop==="grid-template"||v.prop==="grid-template-areas");if(u&&l)return!1;let f=new GCt({options:{}}),d=f.gridStatus(o,i),p=zCt(e);p=KCt(e,p)||p;let h=l?p.row:p.column;(d==="no-autoplace"||d===!0)&&!u&&(h=null);let A=qCt({gap:h,value:a});e.cloneBefore({prop:Vpe({prefix:r,prop:s}),value:A});let g=o.nodes.find(v=>v.prop==="grid-auto-flow"),m="row";if(g&&!f.disabled(g,i)&&(m=g.value.trim()),d==="autoplace"){let v=o.nodes.find(b=>b.prop==="grid-template-rows");if(!v&&u)return;if(!v&&!u){e.warn(i,"Autoplacement does not work without grid-template-rows property");return}!o.nodes.find(b=>b.prop==="grid-template-columns")&&!u&&e.warn(i,"Autoplacement does not work without grid-template-columns property"),c&&!u&&WCt(e,i,p,m)}}normalize(e){return e.replace(/^grid-(rows|columns)/,"grid-template-$1")}prefixed(e,r){return r==="-ms-"?Vpe({prefix:r,prop:e}):super.prefixed(e,r)}}N8e.names=["grid-template-rows","grid-template-columns","grid-rows","grid-columns"];var XCt=N8e;let YCt=pn;class F8e extends YCt{check(e){let r=e.value;return!r.includes("/")&&!r.includes("span")}normalize(e){return e.replace("-start","")}prefixed(e,r){let n=super.prefixed(e,r);return r==="-ms-"&&(n=n.replace("-start","")),n}}F8e.names=["grid-row-start","grid-column-start"];var JCt=F8e;let ZCt=pn,{getGridGap:ebt,inheritGridGap:tbt,parseTemplate:rbt,warnGridGap:nbt,warnMissedAreas:ibt}=zo;class T8e extends ZCt{insert(e,r,n,i){if(r!=="-ms-")return super.insert(e,r,n);if(e.parent.some(p=>p.prop==="-ms-grid-rows"))return;let o=ebt(e),s=tbt(e,o),{areas:a,columns:l,rows:c}=rbt({decl:e,gap:s||o}),u=Object.keys(a).length>0,f=!!c,d=!!l;return nbt({decl:e,gap:o,hasColumns:d,result:i}),ibt(a,e,i),(f&&d||u)&&e.cloneBefore({prop:"-ms-grid-rows",raws:{},value:c}),d&&e.cloneBefore({prop:"-ms-grid-columns",raws:{},value:l}),e}}T8e.names=["grid-template"];var obt=T8e;let sbt=pn,{getGridGap:abt,inheritGridGap:lbt,parseGridAreas:cbt,prefixTrackProp:ubt,prefixTrackValue:$pe,warnGridGap:fbt,warnMissedAreas:dbt}=zo;function pbt(t){return t.trim().slice(1,-1).split(/["']\s*["']?/g)}class L8e extends sbt{insert(e,r,n,i){if(r!=="-ms-")return super.insert(e,r,n);let o=!1,s=!1,a=e.parent,l=abt(e);l=lbt(e,l)||l,a.walkDecls(/-ms-grid-rows/,f=>f.remove()),a.walkDecls(/grid-template-(rows|columns)/,f=>{if(f.prop==="grid-template-rows"){s=!0;let{prop:d,value:p}=f;f.cloneBefore({prop:ubt({prefix:r,prop:d}),value:$pe({gap:l.row,value:p})})}else o=!0});let c=pbt(e.value);o&&!s&&l.row&&c.length>1&&e.cloneBefore({prop:"-ms-grid-rows",raws:{},value:$pe({gap:l.row,value:`repeat(${c.length}, auto)`})}),fbt({decl:e,gap:l,hasColumns:o,result:i});let u=cbt({gap:l,rows:c});return dbt(u,e,i),e}}L8e.names=["grid-template-areas"];var Abt=L8e;let hbt=pn;class R8e extends hbt{check(e){return e.value==="pixelated"}normalize(){return"image-rendering"}prefixed(e,r){return r==="-ms-"?"-ms-interpolation-mode":super.prefixed(e,r)}process(e,r){return super.process(e,r)}set(e,r){return r!=="-ms-"?super.set(e,r):(e.prop="-ms-interpolation-mode",e.value="nearest-neighbor",e)}}R8e.names=["image-rendering","interpolation-mode"];var mbt=R8e;let gbt=od;class M8e extends gbt{replace(e,r){let n=super.replace(e,r);return r==="-webkit-"&&(n=n.replace(/("[^"]+"|'[^']+')(\s+\d+\w)/gi,"url($1)$2")),n}}M8e.names=["image-set"];var vbt=M8e;let ybt=pn;class _8e extends ybt{normalize(e){return e.replace(/(margin|padding|border)-(start|end)/,"$1-inline-$2")}prefixed(e,r){return r+e.replace("-inline","")}}_8e.names=["border-inline-start","border-inline-end","margin-inline-start","margin-inline-end","padding-inline-start","padding-inline-end","border-start","border-end","margin-start","margin-end","padding-start","padding-end"];var Bbt=_8e;let Cbt=fx,bbt=od;function Hpe(t){return new RegExp(`(^|[\\s,(])(${t}($|[\\s),]))`,"gi")}class j8e extends bbt{add(e,r){if(!(e.prop.includes("grid")&&r!=="-webkit-"))return super.add(e,r)}isStretch(){return this.name==="stretch"||this.name==="fill"||this.name==="fill-available"}old(e){let r=e+this.name;return this.isStretch()&&(e==="-moz-"?r="-moz-available":e==="-webkit-"&&(r="-webkit-fill-available")),new Cbt(this.name,r,r,Hpe(r))}regexp(){return this.regexpCache||(this.regexpCache=Hpe(this.name)),this.regexpCache}replace(e,r){return r==="-moz-"&&this.isStretch()?e.replace(this.regexp(),"$1-moz-available$3"):r==="-webkit-"&&this.isStretch()?e.replace(this.regexp(),"$1-webkit-fill-available$3"):super.replace(e,r)}}j8e.names=["max-content","min-content","fit-content","fill","fill-available","stretch"];var wbt=j8e;let xbt=pn,Gpe=Zc;class dx extends xbt{normalize(){return"justify-content"}prefixed(e,r){let n;return[n,r]=Gpe(r),n===2009?r+"box-pack":n===2012?r+"flex-pack":super.prefixed(e,r)}set(e,r){let n=Gpe(r)[0];if(n===2009||n===2012){let i=dx.oldValues[e.value]||e.value;if(e.value=i,n!==2009||i!=="distribute")return super.set(e,r)}else if(n==="final")return super.set(e,r)}}dx.names=["justify-content","flex-pack","box-pack"];dx.oldValues={"flex-end":"end","flex-start":"start","space-around":"distribute","space-between":"justify"};var Sbt=dx;let Ebt=pn;class U8e extends Ebt{normalize(){return this.name.replace("box-image","border")}prefixed(e,r){let n=super.prefixed(e,r);return r==="-webkit-"&&(n=n.replace("border","box-image")),n}}U8e.names=["mask-border","mask-border-source","mask-border-slice","mask-border-width","mask-border-outset","mask-border-repeat","mask-box-image","mask-box-image-source","mask-box-image-slice","mask-box-image-width","mask-box-image-outset","mask-box-image-repeat"];var Dbt=U8e;let kbt=pn;class $A extends kbt{insert(e,r,n){let i=e.prop==="mask-composite",o;i?o=e.value.split(","):o=e.value.match($A.regexp)||[],o=o.map(c=>c.trim()).filter(c=>c);let s=o.length,a;if(s&&(a=this.clone(e),a.value=o.map(c=>$A.oldValues[c]||c).join(", "),o.includes("intersect")&&(a.value+=", xor"),a.prop=r+"mask-composite"),i)return s?(this.needCascade(e)&&(a.raws.before=this.calcBefore(n,e,r)),e.parent.insertBefore(e,a)):void 0;let l=this.clone(e);return l.prop=r+l.prop,s&&(l.value=l.value.replace($A.regexp,"")),this.needCascade(e)&&(l.raws.before=this.calcBefore(n,e,r)),e.parent.insertBefore(e,l),s?(this.needCascade(e)&&(a.raws.before=this.calcBefore(n,e,r)),e.parent.insertBefore(e,a)):e}}$A.names=["mask","mask-composite"];$A.oldValues={add:"source-over",exclude:"xor",intersect:"source-in",subtract:"source-out"};$A.regexp=new RegExp(`\\s+(${Object.keys($A.oldValues).join("|")})\\b(?!\\))\\s*(?=[,])`,"ig");var Obt=$A;let Pbt=pn,Wpe=Zc;class Q8e extends Pbt{normalize(){return"order"}prefixed(e,r){let n;return[n,r]=Wpe(r),n===2009?r+"box-ordinal-group":n===2012?r+"flex-order":super.prefixed(e,r)}set(e,r){return Wpe(r)[0]===2009&&/\d/.test(e.value)?(e.value=(parseInt(e.value)+1).toString(),super.set(e,r)):super.set(e,r)}}Q8e.names=["order","flex-order","box-ordinal-group"];var Ibt=Q8e;let Nbt=pn;class V8e extends Nbt{normalize(){return"overscroll-behavior"}prefixed(e,r){return r+"scroll-chaining"}set(e,r){return e.value==="auto"?e.value="chained":(e.value==="none"||e.value==="contain")&&(e.value="none"),super.set(e,r)}}V8e.names=["overscroll-behavior","scroll-chaining"];var Fbt=V8e;let zpe=fx,Tbt=od;class $8e extends Tbt{old(e){return e==="-webkit-"?new zpe(this.name,"-webkit-optimize-contrast"):e==="-moz-"?new zpe(this.name,"-moz-crisp-edges"):super.old(e)}replace(e,r){return r==="-webkit-"?e.replace(this.regexp(),"$1-webkit-optimize-contrast"):r==="-moz-"?e.replace(this.regexp(),"$1-moz-crisp-edges"):super.replace(e,r)}}$8e.names=["pixelated"];var Lbt=$8e;let Rbt=pn,ew=zo;class H8e extends Rbt{insert(e,r,n){if(r!=="-ms-")return super.insert(e,r,n);if(e.parent.some(s=>s.prop==="-ms-grid-row-align"))return;let[[i,o]]=ew.parse(e);o?(ew.insertDecl(e,"grid-row-align",i),ew.insertDecl(e,"grid-column-align",o)):(ew.insertDecl(e,"grid-row-align",i),ew.insertDecl(e,"grid-column-align",i))}}H8e.names=["place-self"];var Mbt=H8e;let _bt=PC,G8e=class extends _bt{possible(){return super.possible().concat(["-moz- old","-ms- old"])}prefixed(e){return e==="-webkit-"?"::-webkit-input-placeholder":e==="-ms-"?"::-ms-input-placeholder":e==="-ms- old"?":-ms-input-placeholder":e==="-moz- old"?":-moz-placeholder":`::${e}placeholder`}};G8e.names=["::placeholder"];var jbt=G8e;let Ubt=PC;class W8e extends Ubt{prefixed(e){return e==="-moz-"?":-moz-placeholder":e==="-ms-"?":-ms-input-placeholder":`:${e}placeholder-shown`}}W8e.names=[":placeholder-shown"];var Qbt=W8e;let Vbt=pn;class z8e extends Vbt{normalize(){return"print-color-adjust"}prefixed(e,r){return r==="-moz-"?"color-adjust":r+"print-color-adjust"}}z8e.names=["print-color-adjust","color-adjust"];var $bt=z8e;let Hbt=pn;const Gbt=["none","underline","overline","line-through","blink","inherit","initial","unset"];class K8e extends Hbt{check(e){return e.value.split(/\s+/).some(r=>!Gbt.includes(r))}}K8e.names=["text-decoration"];var Wbt=K8e;let zbt=pn;class q8e extends zbt{set(e,r){return e.prop==="text-decoration-skip-ink"&&e.value==="auto"?(e.prop=r+"text-decoration-skip",e.value="ink",e):super.set(e,r)}}q8e.names=["text-decoration-skip-ink","text-decoration-skip"];var Kbt=q8e;let qbt=pn;class X8e extends qbt{set(e,r){return r==="-webkit-"&&(e.value=e.value.replace(/\s*(right|left)\s*/i,"")),super.set(e,r)}}X8e.names=["text-emphasis-position"];var Xbt=X8e;let Ybt=pn;class px extends Ybt{contain3d(e){if(e.prop==="transform-origin")return!1;for(let r of px.functions3d)if(e.value.includes(`${r}(`))return!0;return!1}insert(e,r,n){if(r==="-ms-"){if(!this.contain3d(e)&&!this.keyframeParents(e))return super.insert(e,r,n)}else if(r==="-o-"){if(!this.contain3d(e))return super.insert(e,r,n)}else return super.insert(e,r,n)}keyframeParents(e){let{parent:r}=e;for(;r;){if(r.type==="atrule"&&r.name==="keyframes")return!0;({parent:r}=r)}return!1}set(e,r){return e=super.set(e,r),r==="-ms-"&&(e.value=e.value.replace(/rotatez/gi,"rotate")),e}}px.names=["transform","transform-origin"];px.functions3d=["matrix3d","translate3d","translateZ","scale3d","scaleZ","rotate3d","rotateX","rotateY","perspective"];var Jbt=px;let Zbt=pn;class Y8e extends Zbt{insert(e,r,n){if(!(e.value==="all"&&r==="-ms-"))return e.value==="contain"&&(r==="-moz-"||r==="-webkit-")?void 0:super.insert(e,r,n)}set(e,r){return r==="-ms-"&&e.value==="contain"&&(e.value="element"),super.set(e,r)}}Y8e.names=["user-select"];var ewt=Y8e;let twt=pn;class Ax extends twt{insert(e,r,n){if(r==="-ms-"){let i=this.set(this.clone(e),r);this.needCascade(e)&&(i.raws.before=this.calcBefore(n,e,r));let o="ltr";return e.parent.nodes.forEach(s=>{s.prop==="direction"&&(s.value==="rtl"||s.value==="ltr")&&(o=s.value)}),i.value=Ax.msValues[o][e.value]||e.value,e.parent.insertBefore(e,i)}return super.insert(e,r,n)}}Ax.names=["writing-mode"];Ax.msValues={ltr:{"horizontal-tb":"lr-tb","vertical-lr":"tb-lr","vertical-rl":"tb-rl"},rtl:{"horizontal-tb":"rl-tb","vertical-lr":"bt-lr","vertical-rl":"bt-rl"}};var rwt=Ax,iH={exports:{}};/** * @license Fraction.js v4.3.7 31/08/2023 * https://www.xarg.org/2014/03/rational-numbers-in-javascript/ * * Copyright (c) 2023, Robert Eisele (robert@raw.org) * Dual licensed under the MIT or GPL Version 2 licenses. **/(function(t,e){(function(r){var n=2e3,i={s:1,n:0,d:1};function o(m,v){if(isNaN(m=parseInt(m,10)))throw A();return m*v}function s(m,v){if(v===0)throw h();var y=Object.create(p.prototype);y.s=m<0?-1:1,m=m<0?-m:m;var b=d(m,v);return y.n=m/b,y.d=v/b,y}function a(m){for(var v={},y=m,b=2,B=4;B<=y;){for(;y%b===0;)y/=b,v[b]=(v[b]||0)+1;B+=1+2*b++}return y!==m?y>1&&(v[y]=(v[y]||0)+1):v[m]=(v[m]||0)+1,v}var l=function(m,v){var y=0,b=1,B=1,S=0,w=0,x=0,I=1,F=1,k=0,O=1,L=1,M=1,H=1e7,V;if(m!=null)if(v!==void 0){if(y=m,b=v,B=y*b,y%1!==0||b%1!==0)throw g()}else switch(typeof m){case"object":{if("d"in m&&"n"in m)y=m.n,b=m.d,"s"in m&&(y*=m.s);else if(0 in m)y=m[0],1 in m&&(b=m[1]);else throw A();B=y*b;break}case"number":{if(m<0&&(B=m,m=-m),m%1===0)y=m;else if(m>0){for(m>=1&&(F=Math.pow(10,Math.floor(1+Math.log(m)/Math.LN10)),m/=F);O<=H&&M<=H;)if(V=(k+L)/(O+M),m===V){O+M<=H?(y=k+L,b=O+M):M>O?(y=L,b=M):(y=k,b=O);break}else m>V?(k+=L,O+=M):(L+=k,M+=O),O>H?(y=L,b=M):(y=k,b=O);y*=F}else(isNaN(m)||isNaN(v))&&(b=y=NaN);break}case"string":{if(O=m.match(/\d+|./g),O===null)throw A();if(O[k]==="-"?(B=-1,k++):O[k]==="+"&&k++,O.length===k+1?w=o(O[k++],B):O[k+1]==="."||O[k]==="."?(O[k]!=="."&&(S=o(O[k++],B)),k++,(k+1===O.length||O[k+1]==="("&&O[k+3]===")"||O[k+1]==="'"&&O[k+3]==="'")&&(w=o(O[k],B),I=Math.pow(10,O[k].length),k++),(O[k]==="("&&O[k+2]===")"||O[k]==="'"&&O[k+2]==="'")&&(x=o(O[k+1],B),F=Math.pow(10,O[k+1].length)-1,k+=3)):O[k+1]==="/"||O[k+1]===":"?(w=o(O[k],B),I=o(O[k+2],1),k+=3):O[k+3]==="/"&&O[k+1]===" "&&(S=o(O[k],B),w=o(O[k+2],B),I=o(O[k+4],1),k+=5),O.length<=k){b=I*F,B=y=x+b*S+F*w;break}}default:throw A()}if(b===0)throw h();i.s=B<0?-1:1,i.n=Math.abs(y),i.d=Math.abs(b)};function c(m,v,y){for(var b=1;v>0;m=m*m%y,v>>=1)v&1&&(b=b*m%y);return b}function u(m,v){for(;v%2===0;v/=2);for(;v%5===0;v/=5);if(v===1)return 0;for(var y=10%v,b=1;y!==1;b++)if(y=y*10%v,b>n)return 0;return b}function f(m,v,y){for(var b=1,B=c(10,y,v),S=0;S<300;S++){if(b===B)return S;b=b*10%v,B=B*10%v}return 0}function d(m,v){if(!m)return v;if(!v)return m;for(;;){if(m%=v,!m)return v;if(v%=m,!v)return m}}function p(m,v){if(l(m,v),this instanceof p)m=d(i.d,i.n),this.s=i.s,this.n=i.n/m,this.d=i.d/m;else return s(i.s*i.n,i.d)}var h=function(){return new Error("Division by Zero")},A=function(){return new Error("Invalid argument")},g=function(){return new Error("Parameters must be integer")};p.prototype={s:1,n:0,d:1,abs:function(){return s(this.n,this.d)},neg:function(){return s(-this.s*this.n,this.d)},add:function(m,v){return l(m,v),s(this.s*this.n*i.d+i.s*this.d*i.n,this.d*i.d)},sub:function(m,v){return l(m,v),s(this.s*this.n*i.d-i.s*this.d*i.n,this.d*i.d)},mul:function(m,v){return l(m,v),s(this.s*i.s*this.n*i.n,this.d*i.d)},div:function(m,v){return l(m,v),s(this.s*i.s*this.n*i.d,this.d*i.n)},clone:function(){return s(this.s*this.n,this.d)},mod:function(m,v){if(isNaN(this.n)||isNaN(this.d))return new p(NaN);if(m===void 0)return s(this.s*this.n%this.d,1);if(l(m,v),i.n===0&&this.d===0)throw h();return s(this.s*(i.d*this.n)%(i.n*this.d),i.d*this.d)},gcd:function(m,v){return l(m,v),s(d(i.n,this.n)*d(i.d,this.d),i.d*this.d)},lcm:function(m,v){return l(m,v),i.n===0&&this.n===0?s(0,1):s(i.n*this.n,d(i.n,this.n)*d(i.d,this.d))},ceil:function(m){return m=Math.pow(10,m||0),isNaN(this.n)||isNaN(this.d)?new p(NaN):s(Math.ceil(m*this.s*this.n/this.d),m)},floor:function(m){return m=Math.pow(10,m||0),isNaN(this.n)||isNaN(this.d)?new p(NaN):s(Math.floor(m*this.s*this.n/this.d),m)},round:function(m){return m=Math.pow(10,m||0),isNaN(this.n)||isNaN(this.d)?new p(NaN):s(Math.round(m*this.s*this.n/this.d),m)},roundTo:function(m,v){return l(m,v),s(this.s*Math.round(this.n*i.d/(this.d*i.n))*i.n,i.d)},inverse:function(){return s(this.s*this.d,this.n)},pow:function(m,v){if(l(m,v),i.d===1)return i.s<0?s(Math.pow(this.s*this.d,i.n),Math.pow(this.n,i.n)):s(Math.pow(this.s*this.n,i.n),Math.pow(this.d,i.n));if(this.s<0)return null;var y=a(this.n),b=a(this.d),B=1,S=1;for(var w in y)if(w!=="1"){if(w==="0"){B=0;break}if(y[w]*=i.n,y[w]%i.d===0)y[w]/=i.d;else return null;B*=Math.pow(w,y[w])}for(var w in b)if(w!=="1"){if(b[w]*=i.n,b[w]%i.d===0)b[w]/=i.d;else return null;S*=Math.pow(w,b[w])}return i.s<0?s(S,B):s(B,S)},equals:function(m,v){return l(m,v),this.s*this.n*i.d===i.s*i.n*this.d},compare:function(m,v){l(m,v);var y=this.s*this.n*i.d-i.s*i.n*this.d;return(0<y)-(y<0)},simplify:function(m){if(isNaN(this.n)||isNaN(this.d))return this;m=m||.001;for(var v=this.abs(),y=v.toContinued(),b=1;b<y.length;b++){for(var B=s(y[b-1],1),S=b-2;S>=0;S--)B=B.inverse().add(y[S]);if(Math.abs(B.sub(v).valueOf())<m)return B.mul(this.s)}return this},divisible:function(m,v){return l(m,v),!(!(i.n*this.d)||this.n*i.d%(i.n*this.d))},valueOf:function(){return this.s*this.n/this.d},toFraction:function(m){var v,y="",b=this.n,B=this.d;return this.s<0&&(y+="-"),B===1?y+=b:(m&&(v=Math.floor(b/B))>0&&(y+=v,y+=" ",b%=B),y+=b,y+="/",y+=B),y},toLatex:function(m){var v,y="",b=this.n,B=this.d;return this.s<0&&(y+="-"),B===1?y+=b:(m&&(v=Math.floor(b/B))>0&&(y+=v,b%=B),y+="\\frac{",y+=b,y+="}{",y+=B,y+="}"),y},toContinued:function(){var m,v=this.n,y=this.d,b=[];if(isNaN(v)||isNaN(y))return b;do b.push(Math.floor(v/y)),m=v%y,v=y,y=m;while(v!==1);return b},toString:function(m){var v=this.n,y=this.d;if(isNaN(v)||isNaN(y))return"NaN";m=m||15;var b=u(v,y),B=f(v,y,b),S=this.s<0?"-":"";if(S+=v/y|0,v%=y,v*=10,v&&(S+="."),b){for(var w=B;w--;)S+=v/y|0,v%=y,v*=10;S+="(";for(var w=b;w--;)S+=v/y|0,v%=y,v*=10;S+=")"}else for(var w=m;v&&w--;)S+=v/y|0,v%=y,v*=10;return S}},Object.defineProperty(e,"__esModule",{value:!0}),e.default=p,t.exports=p})()})(iH,iH.exports);var nwt=iH.exports;let iwt=nwt,owt=ax,h_=zi;const swt=/(min|max)-resolution\s*:\s*\d*\.?\d+(dppx|dpcm|dpi|x)/gi,awt=/(min|max)-resolution(\s*:\s*)(\d*\.?\d+)(dppx|dpcm|dpi|x)/i;let lwt=class extends owt{clean(e){if(!this.bad){this.bad=[];for(let r of this.prefixes)this.bad.push(this.prefixName(r,"min")),this.bad.push(this.prefixName(r,"max"))}e.params=h_.editList(e.params,r=>r.filter(n=>this.bad.every(i=>!n.includes(i))))}prefixName(e,r){return e==="-moz-"?r+"--moz-device-pixel-ratio":e+r+"-device-pixel-ratio"}prefixQuery(e,r,n,i,o){return i=new iwt(i),o==="dpi"?i=i.div(96):o==="dpcm"&&(i=i.mul(2.54).div(96)),i=i.simplify(),e==="-o-"&&(i=i.n+"/"+i.d),this.prefixName(e,r)+n+i}process(e){let r=this.parentPrefix(e),n=r?[r]:this.prefixes;e.params=h_.editList(e.params,(i,o)=>{for(let s of i){if(!s.includes("min-resolution")&&!s.includes("max-resolution")){o.push(s);continue}for(let a of n){let l=s.replace(swt,c=>{let u=c.match(awt);return this.prefixQuery(a,u[1],u[2],u[3],u[4])});o.push(l)}o.push(s)}return h_.uniq(o)})}};var cwt=lwt,uwt={A:{A:{2:"K D E F A B sC"},B:{1:"0 C L M G N O P Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I"},C:{1:"0 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC uC vC wC",2:"1 2 tC QC J VB K D E F A B C L M G N O P WB xC yC"},D:{1:"0 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B RC 1B SC 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB I UC VC JC",2:"1 2 3 4 5 6 7 8 J VB K D E F A B C L M G N O P WB"},E:{1:"F A B C L M G 3C XC KC LC 4C 5C 6C YC ZC MC 7C NC aC bC cC dC eC 8C OC fC gC hC iC jC 9C PC kC lC mC nC oC pC AD",2:"J VB K D E zC WC 0C 1C 2C"},F:{1:"0 1 2 3 4 5 6 7 8 9 G N O P WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B 7B 8B 9B AC BC CC DC EC FC GC HC IC Q H R TC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z LC",2:"F B C BD CD DD ED KC qC FD"},G:{1:"LD MD ND OD PD QD RD SD TD UD VD WD XD YD ZD YC ZC MC aD NC aC bC cC dC eC bD OC fC gC hC iC jC cD PC kC lC mC nC oC pC",2:"E WC GD rC HD ID JD KD"},H:{1:"dD"},I:{1:"I iD jD",2:"QC J eD fD gD hD rC"},J:{2:"D A"},K:{1:"H",2:"A B C KC qC LC"},L:{1:"I"},M:{1:"JC"},N:{2:"A B"},O:{1:"MC"},P:{1:"1 2 3 4 5 6 7 8 9 J kD lD mD nD oD XC pD qD rD sD tD NC OC PC uD"},Q:{1:"vD"},R:{1:"wD"},S:{1:"xD yD"}},B:4,C:"CSS Feature Queries",D:!0};function Kpe(t){return t[t.length-1]}let J8e={parse(t){let e=[""],r=[e];for(let n of t){if(n==="("){e=[""],Kpe(r).push(e),r.push(e);continue}if(n===")"){r.pop(),e=Kpe(r),e.push("");continue}e[e.length-1]+=n}return r[0]},stringify(t){let e="";for(let r of t){if(typeof r=="object"){e+=`(${J8e.stringify(r)})`;continue}e+=r}return e}};var fwt=J8e;let dwt=uwt,pwt=U6e,{parse:Awt}=$m,m_=fwt,hwt=mv,mwt=zi,gwt=od,qpe=pwt(dwt),Z8e=[];for(let t in qpe.stats){let e=qpe.stats[t];for(let r in e){let n=e[r];/y/.test(n)&&Z8e.push(t+" "+r)}}let vwt=class{constructor(e,r){this.Prefixes=e,this.all=r}add(e,r){return e.map(n=>{if(this.isProp(n)){let i=this.prefixed(n[0]);return i.length>1?this.convert(i):n}return typeof n=="object"?this.add(n,r):n})}cleanBrackets(e){return e.map(r=>typeof r!="object"?r:r.length===1&&typeof r[0]=="object"?this.cleanBrackets(r[0]):this.cleanBrackets(r))}convert(e){let r=[""];for(let n of e)r.push([`${n.prop}: ${n.value}`]),r.push(" or ");return r[r.length-1]="",r}disabled(e){if(!this.all.options.grid&&(e.prop==="display"&&e.value.includes("grid")||e.prop.includes("grid")||e.prop==="justify-items"))return!0;if(this.all.options.flexbox===!1){if(e.prop==="display"&&e.value.includes("flex"))return!0;let r=["order","justify-content","align-items","align-content"];if(e.prop.includes("flex")||r.includes(e.prop))return!0}return!1}isHack(e,r){return!new RegExp(`(\\(|\\s)${mwt.escapeRegexp(r)}:`).test(e)}isNot(e){return typeof e=="string"&&/not\s*/i.test(e)}isOr(e){return typeof e=="string"&&/\s*or\s*/i.test(e)}isProp(e){return typeof e=="object"&&e.length===1&&typeof e[0]=="string"}normalize(e){if(typeof e!="object")return e;if(e=e.filter(r=>r!==""),typeof e[0]=="string"){let r=e[0].trim();if(r.includes(":")||r==="selector"||r==="not selector")return[m_.stringify(e)]}return e.map(r=>this.normalize(r))}parse(e){let r=e.split(":"),n=r[0],i=r[1];return i||(i=""),[n.trim(),i.trim()]}prefixed(e){let r=this.virtual(e);if(this.disabled(r.first))return r.nodes;let n={warn:()=>null},i=this.prefixer().add[r.first.prop];i&&i.process&&i.process(r.first,n);for(let o of r.nodes){for(let s of this.prefixer().values("add",r.first.prop))s.process(o);gwt.save(this.all,o)}return r.nodes}prefixer(){if(this.prefixerCache)return this.prefixerCache;let e=this.all.browsers.selected.filter(n=>Z8e.includes(n)),r=new hwt(this.all.browsers.data,e,this.all.options);return this.prefixerCache=new this.Prefixes(this.all.data,r,this.all.options),this.prefixerCache}process(e){let r=m_.parse(e.params);r=this.normalize(r),r=this.remove(r,e.params),r=this.add(r,e.params),r=this.cleanBrackets(r),e.params=m_.stringify(r)}remove(e,r){let n=0;for(;n<e.length;){if(!this.isNot(e[n-1])&&this.isProp(e[n])&&this.isOr(e[n+1])){if(this.toRemove(e[n][0],r)){e.splice(n,2);continue}n+=2;continue}typeof e[n]=="object"&&(e[n]=this.remove(e[n],r)),n+=1}return e}toRemove(e,r){let[n,i]=this.parse(e),o=this.all.unprefixed(n),s=this.all.cleaner();if(s.remove[n]&&s.remove[n].remove&&!this.isHack(r,o))return!0;for(let a of s.values("remove",o))if(a.check(i))return!0;return!1}virtual(e){let[r,n]=this.parse(e),i=Awt("a{}").first;return i.append({prop:r,raws:{before:""},value:n}),i}};var ywt=vwt;let{list:Bwt}=$m,Xpe=IC,Cwt=mv,Ype=KI,bwt=class{constructor(e){this.props=["transition","transition-property"],this.prefixes=e}add(e,r){let n,i,o=this.prefixes.add[e.prop],s=this.ruleVendorPrefixes(e),a=s||o&&o.prefixes||[],l=this.parse(e.value),c=l.map(p=>this.findProp(p)),u=[];if(c.some(p=>p[0]==="-"))return;for(let p of l){if(i=this.findProp(p),i[0]==="-")continue;let h=this.prefixes.add[i];if(!(!h||!h.prefixes))for(n of h.prefixes){if(s&&!s.some(g=>n.includes(g)))continue;let A=this.prefixes.prefixed(i,n);A!=="-ms-transform"&&!c.includes(A)&&(this.disabled(i,n)||u.push(this.clone(i,A,p)))}}l=l.concat(u);let f=this.stringify(l),d=this.stringify(this.cleanFromUnprefixed(l,"-webkit-"));if(a.includes("-webkit-")&&this.cloneBefore(e,`-webkit-${e.prop}`,d),this.cloneBefore(e,e.prop,d),a.includes("-o-")){let p=this.stringify(this.cleanFromUnprefixed(l,"-o-"));this.cloneBefore(e,`-o-${e.prop}`,p)}for(n of a)if(n!=="-webkit-"&&n!=="-o-"){let p=this.stringify(this.cleanOtherPrefixes(l,n));this.cloneBefore(e,n+e.prop,p)}f!==e.value&&!this.already(e,e.prop,f)&&(this.checkForWarning(r,e),e.cloneBefore(),e.value=f)}already(e,r,n){return e.parent.some(i=>i.prop===r&&i.value===n)}checkForWarning(e,r){if(r.prop!=="transition-property")return;let n=!1,i=!1;r.parent.each(o=>{if(o.type!=="decl"||o.prop.indexOf("transition-")!==0)return;let s=Bwt.comma(o.value);if(o.prop==="transition-property"){s.forEach(a=>{let l=this.prefixes.add[a];l&&l.prefixes&&l.prefixes.length>0&&(n=!0)});return}return i=i||s.length>1,!1}),n&&i&&r.warn(e,"Replace transition-property to transition, because Autoprefixer could not support any cases of transition-property and other transition-*")}cleanFromUnprefixed(e,r){let n=e.map(o=>this.findProp(o)).filter(o=>o.slice(0,r.length)===r).map(o=>this.prefixes.unprefixed(o)),i=[];for(let o of e){let s=this.findProp(o),a=Ype.prefix(s);!n.includes(s)&&(a===r||a==="")&&i.push(o)}return i}cleanOtherPrefixes(e,r){return e.filter(n=>{let i=Ype.prefix(this.findProp(n));return i===""||i===r})}clone(e,r,n){let i=[],o=!1;for(let s of n)!o&&s.type==="word"&&s.value===e?(i.push({type:"word",value:r}),o=!0):i.push(s);return i}cloneBefore(e,r,n){this.already(e,r,n)||e.cloneBefore({prop:r,value:n})}disabled(e,r){let n=["order","justify-content","align-self","align-content"];if(e.includes("flex")||n.includes(e)){if(this.prefixes.options.flexbox===!1)return!0;if(this.prefixes.options.flexbox==="no-2009")return r.includes("2009")}}div(e){for(let r of e)for(let n of r)if(n.type==="div"&&n.value===",")return n;return{after:" ",type:"div",value:","}}findProp(e){let r=e[0].value;if(/^\d/.test(r)){for(let[n,i]of e.entries())if(n!==0&&i.type==="word")return i.value}return r}parse(e){let r=Xpe(e),n=[],i=[];for(let o of r.nodes)i.push(o),o.type==="div"&&o.value===","&&(n.push(i),i=[]);return n.push(i),n.filter(o=>o.length>0)}remove(e){let r=this.parse(e.value);r=r.filter(s=>{let a=this.prefixes.remove[this.findProp(s)];return!a||!a.remove});let n=this.stringify(r);if(e.value===n)return;if(r.length===0){e.remove();return}let i=e.parent.some(s=>s.prop===e.prop&&s.value===n),o=e.parent.some(s=>s!==e&&s.prop===e.prop&&s.value.length>n.length);if(i||o){e.remove();return}e.value=n}ruleVendorPrefixes(e){let{parent:r}=e;if(r.type!=="rule")return!1;if(!r.selector.includes(":-"))return!1;let n=Cwt.prefixes().filter(i=>r.selector.includes(":"+i));return n.length>0?n:!1}stringify(e){if(e.length===0)return"";let r=[];for(let n of e)n[n.length-1].type!=="div"&&n.push(this.div(e)),r=r.concat(n);return r[0].type==="div"&&(r=r.slice(1)),r[r.length-1].type==="div"&&(r=r.slice(0,-2+1)),Xpe.stringify({nodes:r})}};var wwt=bwt;let xwt=h2t,g_=mv,ln=pn,Swt=B2t,Ewt=b2t,Dwt=x2t,kwt=E2t,Owt=O2t,Pwt=U2t,Iwt=$2t,Nwt=W2t,Fwt=K2t,Twt=X2t,Lwt=J2t,Rwt=eBt,Mwt=rBt,_wt=dBt,jwt=mBt,Uwt=vBt,Qwt=CBt,Vwt=wBt,$wt=SBt,Hwt=DBt,Gwt=OBt,Wwt=IBt,zwt=TBt,Kwt=MBt,qwt=jBt,Xwt=VBt,Ywt=HBt,Jwt=sCt,Zwt=SCt,e5t=DCt,t5t=PCt,r5t=NCt,n5t=TCt,i5t=XCt,o5t=JCt,s5t=obt,a5t=Abt,l5t=mbt,c5t=vbt,u5t=Bbt,f5t=wbt,d5t=Sbt,p5t=Dbt,A5t=Obt,h5t=Ibt,m5t=Fbt,g5t=Lbt,v5t=Mbt,y5t=jbt,B5t=Qbt,C5t=$bt,b5t=Wbt,w5t=Kbt,x5t=Xbt,S5t=Jbt,E5t=ewt,D5t=rwt,k5t=I8e,Jpe=cwt,Q1=PC,O5t=ywt,P5t=wwt,Ay=zi,wp=od,Zpe=KI;Q1.hack(Pwt);Q1.hack(Ywt);Q1.hack(y5t);Q1.hack(B5t);Q1.hack(Qwt);ln.hack(Hwt);ln.hack(h5t);ln.hack(Vwt);ln.hack(t5t);ln.hack(kwt);ln.hack(zwt);ln.hack(Kwt);ln.hack(Xwt);ln.hack(Zwt);ln.hack(v5t);ln.hack(o5t);ln.hack(Dwt);ln.hack(Owt);ln.hack(Gwt);ln.hack(p5t);ln.hack(A5t);ln.hack(Ewt);ln.hack(E5t);ln.hack(qwt);ln.hack(Mwt);ln.hack(D5t);ln.hack(Lwt);ln.hack(Swt);ln.hack(Rwt);ln.hack(Twt);ln.hack(s5t);ln.hack(u5t);ln.hack(r5t);ln.hack(S5t);ln.hack(Wwt);ln.hack(l5t);ln.hack(Iwt);ln.hack(Nwt);ln.hack(b5t);ln.hack(d5t);ln.hack(Fwt);ln.hack(n5t);ln.hack(i5t);ln.hack(e5t);ln.hack(m5t);ln.hack(a5t);ln.hack(C5t);ln.hack(x5t);ln.hack(w5t);wp.hack(Jwt);wp.hack(f5t);wp.hack(g5t);wp.hack(c5t);wp.hack(_wt);wp.hack(jwt);wp.hack(Uwt);wp.hack($wt);let v_=new Map,I5t=class oH{constructor(e,r,n={}){this.data=e,this.browsers=r,this.options=n,[this.add,this.remove]=this.preprocess(this.select(this.data)),this.transition=new P5t(this),this.processor=new k5t(this)}cleaner(){if(this.cleanerCache)return this.cleanerCache;if(this.browsers.selected.length){let e=new g_(this.browsers.data,[]);this.cleanerCache=new oH(this.data,e,this.options)}else return this;return this.cleanerCache}decl(e){return v_.has(e)||v_.set(e,ln.load(e)),v_.get(e)}group(e){let r=e.parent,n=r.index(e),{length:i}=r.nodes,o=this.unprefixed(e.prop),s=(a,l)=>{for(n+=a;n>=0&&n<i;){let c=r.nodes[n];if(c.type==="decl"){if(a===-1&&c.prop===o&&!g_.withPrefix(c.value)||this.unprefixed(c.prop)!==o)break;if(l(c)===!0)return!0;if(a===1&&c.prop===o&&!g_.withPrefix(c.value))break}n+=a}return!1};return{down(a){return s(1,a)},up(a){return s(-1,a)}}}normalize(e){return this.decl(e).normalize(e)}prefixed(e,r){return e=Zpe.unprefixed(e),this.decl(e).prefixed(e,r)}preprocess(e){let r={"@supports":new O5t(oH,this),selectors:[]};for(let i in e.add){let o=e.add[i];if(i==="@keyframes"||i==="@viewport")r[i]=new xwt(i,o,this);else if(i==="@resolution")r[i]=new Jpe(i,o,this);else if(this.data[i].selector)r.selectors.push(Q1.load(i,o,this));else{let s=this.data[i].props;if(s){let a=wp.load(i,o,this);for(let l of s)r[l]||(r[l]={values:[]}),r[l].values.push(a)}else{let a=r[i]&&r[i].values||[];r[i]=ln.load(i,o,this),r[i].values=a}}}let n={selectors:[]};for(let i in e.remove){let o=e.remove[i];if(this.data[i].selector){let s=Q1.load(i,o);for(let a of o)n.selectors.push(s.old(a))}else if(i==="@keyframes"||i==="@viewport")for(let s of o){let a=`@${s}${i.slice(1)}`;n[a]={remove:!0}}else if(i==="@resolution")n[i]=new Jpe(i,o,this);else{let s=this.data[i].props;if(s){let a=wp.load(i,[],this);for(let l of o){let c=a.old(l);if(c)for(let u of s)n[u]||(n[u]={}),n[u].values||(n[u].values=[]),n[u].values.push(c)}}else for(let a of o){let l=this.decl(i).old(i,a);if(i==="align-self"){let c=r[i]&&r[i].prefixes;if(c){if(a==="-webkit- 2009"&&c.includes("-webkit-"))continue;if(a==="-webkit-"&&c.includes("-webkit- 2009"))continue}}for(let c of l)n[c]||(n[c]={}),n[c].remove=!0}}}return[r,n]}select(e){let r={add:{},remove:{}};for(let n in e){let i=e[n],o=i.browsers.map(l=>{let c=l.split(" ");return{browser:`${c[0]} ${c[1]}`,note:c[2]}}),s=o.filter(l=>l.note).map(l=>`${this.browsers.prefix(l.browser)} ${l.note}`);s=Ay.uniq(s),o=o.filter(l=>this.browsers.isSelected(l.browser)).map(l=>{let c=this.browsers.prefix(l.browser);return l.note?`${c} ${l.note}`:c}),o=this.sort(Ay.uniq(o)),this.options.flexbox==="no-2009"&&(o=o.filter(l=>!l.includes("2009")));let a=i.browsers.map(l=>this.browsers.prefix(l));i.mistakes&&(a=a.concat(i.mistakes)),a=a.concat(s),a=Ay.uniq(a),o.length?(r.add[n]=o,o.length<a.length&&(r.remove[n]=a.filter(l=>!o.includes(l)))):r.remove[n]=a}return r}sort(e){return e.sort((r,n)=>{let i=Ay.removeNote(r).length,o=Ay.removeNote(n).length;return i===o?n.length-r.length:o-i})}unprefixed(e){let r=this.normalize(Zpe.unprefixed(e));return r==="flex-direction"&&(r="flex-flow"),r}values(e,r){let n=this[e],i=n["*"]&&n["*"].values,o=n[r]&&n[r].values;return i&&o?Ay.uniq(i.concat(o)):i||o||[]}};var N5t=I5t;let F5t=WI,{agents:T5t}=HI,eAe=Q3e,L5t=zvt,R5t=mv,M5t=c2t,_5t=N5t,eEe={browsers:T5t,prefixes:L5t};const j5t=` Replace Autoprefixer \`browsers\` option to Browserslist config. Use \`browserslist\` key in \`package.json\` or \`.browserslistrc\` file. Using \`browsers\` option can cause errors. Browserslist config can be used for Babel, Autoprefixer, postcss-normalize and other tools. If you really need to use option, rename it to \`overrideBrowserslist\`. Learn more at: https://github.com/browserslist/browserslist#readme https://twitter.com/browserslist `;function U5t(t){return Object.prototype.toString.apply(t)==="[object Object]"}let y_=new Map;function Q5t(t,e){e.browsers.selected.length!==0&&(e.add.selectors.length>0||Object.keys(e.add).length>2||t.warn(`Autoprefixer target browsers do not need any prefixes.You do not need Autoprefixer anymore. Check your Browserslist config to be sure that your targets are set up correctly. Learn more at: https://github.com/postcss/autoprefixer#readme https://github.com/browserslist/browserslist#readme `))}var V5t=kB;function kB(...t){let e;if(t.length===1&&U5t(t[0])?(e=t[0],t=void 0):t.length===0||t.length===1&&!t[0]?t=void 0:t.length<=2&&(Array.isArray(t[0])||!t[0])?(e=t[1],t=t[0]):typeof t[t.length-1]=="object"&&(e=t.pop()),e||(e={}),e.browser)throw new Error("Change `browser` option to `overrideBrowserslist` in Autoprefixer");if(e.browserslist)throw new Error("Change `browserslist` option to `overrideBrowserslist` in Autoprefixer");e.overrideBrowserslist?t=e.overrideBrowserslist:e.browsers&&(typeof console<"u"&&console.warn&&console.warn(eAe.red(j5t.replace(/`[^`]+`/g,i=>eAe.yellow(i.slice(1,-1))))),t=e.browsers);let r={env:e.env,ignoreUnknownVersions:e.ignoreUnknownVersions,stats:e.stats};function n(i){let o=eEe,s=new R5t(o.browsers,t,i,r),a=s.selected.join(", ")+JSON.stringify(e);return y_.has(a)||y_.set(a,new _5t(o.prefixes,s,e)),y_.get(a)}return{browsers:t,info(i){return i=i||{},i.from=i.from||process.cwd(),M5t(n(i))},options:e,postcssPlugin:"autoprefixer",prepare(i){let o=n({env:e.env,from:i.opts.from});return{OnceExit(s){Q5t(i,o),e.remove!==!1&&o.processor.remove(s,i),e.add!==!1&&o.processor.add(s,i)}}}}}kB.postcss=!0;kB.data=eEe;kB.defaults=F5t.defaults;kB.info=()=>kB().info();const $5t=Io(V5t),H5t=[{id:"all-property",title:"`all` Property",description:"A property for defining the reset of all properties of an element",specification:"https://www.w3.org/TR/css-cascade-3/#all-shorthand",stage:4,browser_support:{and_chr:"37",and_ff:"27",android:"37",chrome:"37",edge:"79",firefox:"27",ios_saf:"9.3",oculus:"5.0",op_mob:"24",opera:"24",safari:"9.1",samsung:"3.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/all"},example:`a { all: initial; }`,interoperable_at:1579046400,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/maximkoretskiy/postcss-initial"}],vendors_implementations:3},{id:"any-link-pseudo-class",title:"`:any-link` Hyperlink Pseudo-Class",description:"A pseudo-class for matching anchor elements independent of whether they have been visited",specification:"https://www.w3.org/TR/selectors-4/#any-link-pseudo",stage:2,browser_support:{and_chr:"18",and_ff:"4",android:"37",chrome:"1",edge:"79",firefox:"1",ios_saf:"1",oculus:"5.0",op_mob:"14",opera:"15",safari:"3",samsung:"1.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/:any-link"},example:`nav :any-link > span { background-color: yellow; }`,interoperable_at:1579046400,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-pseudo-class-any-link"}],vendors_implementations:3},{id:"blank-pseudo-class",title:"`:blank` Empty-Value Pseudo-Class",description:"A pseudo-class for matching form elements when they are empty",specification:"https://www.w3.org/TR/selectors-4/#blank",stage:2,browser_support:{},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/:blank"},example:`input:blank { background-color: yellow; }`,polyfills:[{type:"JavaScript Library",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/css-blank-pseudo"},{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/css-blank-pseudo"}],vendors_implementations:0},{id:"break-properties",title:"Break Properties",description:"Properties for defining the break behavior between and within boxes",specification:"https://www.w3.org/TR/css-break-3/#breaking-controls",stage:3,browser_support:{and_chr:"51",and_ff:"92",android:"51",chrome:"51",edge:"12",firefox:"92",oculus:"5.0",op_mob:"37",opera:"11.1",samsung:"5.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/break-after"},example:`a { break-inside: avoid; break-before: avoid-column; break-after: always; }`,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/shrpne/postcss-page-break"}],vendors_implementations:2},{id:"calc-constants",title:"`e`, `pi`, `infinity`, `-infinity` and `NaN` constants for calculation",description:"Constants for calculation simplification",specification:"https://www.w3.org/TR/css-values-4/#calc-constants",stage:2,browser_support:{and_ff:"114",firefox:"114",ios_saf:"16",safari:"16"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/calc-constant"},example:`p { font-size: calc(pow(e, pi) * 1rem); }`,vendors_implementations:2},{id:"cascade-layers",title:"CSS Cascade Layers",description:"The `@layer` at-rule allows authors to explicitly layer their styles in the cascade, before specificity and order of appearance are considered.",specification:"https://www.w3.org/TR/css-cascade-5/#layering",stage:2,browser_support:{and_chr:"99",and_ff:"97",android:"99",chrome:"99",edge:"99",firefox:"97",ios_saf:"15.4",oculus:"21.0",op_mob:"68",opera:"85",safari:"15.4",samsung:"18.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/@layer"},example:`/* Un-layered styles have the highest priority */ a { color: mediumvioletred; } @layer defaults { a { color: maroon; } }`,interoperable_at:1647216e3,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-cascade-layers"}],vendors_implementations:3},{id:"case-insensitive-attributes",title:"Case-Insensitive Attributes",description:"An attribute selector matching attribute values case-insensitively",specification:"https://www.w3.org/TR/selectors-4/#attribute-case",stage:2,browser_support:{and_chr:"49",and_ff:"47",android:"49",chrome:"49",edge:"79",firefox:"47",ios_saf:"9",oculus:"5.0",op_mob:"36",opera:"36",safari:"9",samsung:"5.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors"},example:`[frame=hsides i] { border-style: solid none; }`,interoperable_at:1579046400,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-attribute-case-insensitive"}],vendors_implementations:3},{id:"clamp",title:"`clamp` Function",description:"The clamp() CSS function clamps a value between an upper and lower bound. It enables selecting a middle value within a range of values between a defined minimum and maximum.",specification:"https://www.w3.org/TR/css-values-4/#funcdef-clamp",stage:2,browser_support:{and_chr:"79",and_ff:"79",android:"79",chrome:"79",edge:"79",firefox:"75",ios_saf:"13.4",oculus:"8.0",op_mob:"57",opera:"66",safari:"13.1",samsung:"12.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/clamp"},example:`button { font-size: clamp(1rem, 2.5vw, 2rem); }`,interoperable_at:1586217600,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/polemius/postcss-clamp"}],vendors_implementations:3},{id:"color-adjust",title:"`color-adjust` Property",description:"The color-adjust property is a non-standard CSS extension that can be used to force printing of background colors and images",specification:"https://www.w3.org/TR/css-color-4/#color-adjust",stage:2,browser_support:{and_ff:"97",firefox:"97",ios_saf:"15.4",safari:"15.4"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/print-color-adjust"},example:`.background { background-color:#ccc; } .background.color-adjust { color-adjust: economy; } .background.color-adjust-exact { color-adjust: exact; }`,vendors_implementations:2},{id:"color-contrast",title:"`color-contrast()` Function",description:"A function for choosing the color that contrasts the most.",specification:"https://drafts.csswg.org/css-color-6/#colorcontrast",stage:1,browser_support:{},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color-contrast"},example:`p { color: color-contrast(wheat vs tan, sienna, var(--myAccent), #d2691e); }`,polyfills:[],vendors_implementations:0},{id:"color-function",title:"`color()` Function",description:"A function that allows a color to be specified in a particular, specified color space rather than the implicit sRGB color space that most of the other color functions operate in.",specification:"https://www.w3.org/TR/css-color-4/#funcdef-color",stage:2,browser_support:{and_chr:"111",and_ff:"113",android:"111",chrome:"111",edge:"111",firefox:"113",ios_saf:"15",op_mob:"75",opera:"97",safari:"15",samsung:"22.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color"},example:`p { color: color(display-p3 1 0.5 0); color: color(display-p3 1 0.5 0 / .5); }`,interoperable_at:1683590400,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-function"}],vendors_implementations:3},{id:"color-functional-notation",title:"Color Functional Notation",description:"A space and slash separated notation for specifying colors",specification:"https://www.w3.org/TR/css-color-4/#funcdef-rgb",stage:2,browser_support:{and_chr:"65",and_ff:"52",android:"65",chrome:"65",edge:"79",firefox:"52",ios_saf:"12.2",oculus:"5.0",op_mob:"47",opera:"52",safari:"12.1",samsung:"9.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb#syntax"},example:`em { background-color: hsl(120deg 100% 25%); color: rgb(0 255 0); }`,interoperable_at:1579046400,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-functional-notation"}],vendors_implementations:3},{id:"color-mix",title:"`color-mix()` Function",description:"A function for mixing colors",specification:"https://www.w3.org/TR/css-color-5/#color-mix",stage:2,browser_support:{and_chr:"111",and_ff:"113",android:"111",chrome:"111",edge:"111",firefox:"113",ios_saf:"16.2",op_mob:"75",opera:"97",safari:"16.2",samsung:"22.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color-mix"},example:`p { color: color-mix(in lch, purple 50%, plum 50%); }`,interoperable_at:1683590400,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-mix-function"}],vendors_implementations:3},{id:"color-mod-function",title:"`color-mod()` Function",description:"A function for modifying colors",specification:"https://www.w3.org/TR/css-color-4/#funcdef-color-mod",stage:-1,browser_support:{},example:`p { color: color-mod(black alpha(50%)); }`,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-color-mod-function"}],vendors_implementations:0},{id:"container-queries",title:"Container Queries",description:"New container property and container at rule to make changes depending on the container's size",specification:"https://www.w3.org/TR/css-contain-3/#container-queries",stage:2,browser_support:{and_chr:"105",and_ff:"110",android:"105",chrome:"105",edge:"105",firefox:"110",ios_saf:"16",op_mob:"72",opera:"91",safari:"16",samsung:"20.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Container_Queries"},example:`.container { contain: layout inline-size; } @container (min-width: 700px) { .container { /* styles applied when a container is at least 700px */ } }`,interoperable_at:1676332800,polyfills:[{type:"JavaScript Library",link:"https://www.npmjs.com/package/container-query-polyfill"}],vendors_implementations:3},{id:"custom-media-queries",title:"Custom Media Queries",description:"An at-rule for defining aliases that represent media queries",specification:"https://www.w3.org/TR/mediaqueries-5/#at-ruledef-custom-media",stage:2,browser_support:{},example:`@custom-media --narrow-window (max-width: 30em); @media (--narrow-window) {}`,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-custom-media"}],vendors_implementations:0},{id:"custom-properties",title:"Custom Properties",description:"A syntax for defining custom values accepted by all CSS properties",specification:"https://www.w3.org/TR/css-variables-1/",stage:3,browser_support:{and_chr:"49",and_ff:"31",android:"50",chrome:"49",edge:"15",firefox:"31",ios_saf:"9.3",oculus:"5.0",op_mob:"36",opera:"36",safari:"9.1",samsung:"5.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/var"},example:`:root { --some-length: 32px; height: var(--some-length); width: var(--some-length); }`,interoperable_at:1491350400,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-custom-properties"}],vendors_implementations:3},{id:"custom-property-sets",title:"Custom Property Sets",description:"A syntax for storing properties in named variables, referenceable in other style rules",specification:"https://tabatkins.github.io/specs/css-apply-rule/",stage:-1,browser_support:{},example:`img { --some-length-styles: { height: 32px; width: 32px; }; @apply --some-length-styles; }`,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/pascalduez/postcss-apply"}],vendors_implementations:0},{id:"custom-selectors",title:"Custom Selectors",description:"An at-rule for defining aliases that represent selectors",specification:"https://drafts.csswg.org/css-extensions/#custom-selectors",stage:1,browser_support:{},example:`@custom-selector :--heading h1, h2, h3, h4, h5, h6; article :--heading + p {}`,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-custom-selectors"}],vendors_implementations:0},{id:"dir-pseudo-class",title:"`:dir` Directionality Pseudo-Class",description:"A pseudo-class for matching elements based on their directionality",specification:"https://www.w3.org/TR/selectors-4/#dir-pseudo",stage:2,browser_support:{and_chr:"120",and_ff:"49",android:"120",chrome:"120",edge:"120",firefox:"49",ios_saf:"16.4",op_mob:"80",opera:"106",safari:"16.4"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/:dir"},example:`blockquote:dir(rtl) { margin-right: 10px; } blockquote:dir(ltr) { margin-left: 10px; }`,interoperable_at:1701907200,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-dir-pseudo-class"}],vendors_implementations:3},{id:"display-two-values",title:"Two values syntax for `display`",description:"Syntax that allows definition of outer and inner displays types for an element",specification:"https://www.w3.org/TR/css-display-3/#the-display-properties",stage:2,browser_support:{and_chr:"115",and_ff:"79",android:"115",chrome:"115",edge:"115",firefox:"70",ios_saf:"15",op_mob:"77",opera:"101",safari:"15",samsung:"23.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/display/multi-keyword_syntax_of_display"},example:`.element { display: inline flow-root; display: inline flex; display: block grid; }`,interoperable_at:1689897600,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-normalize-display-values"}],vendors_implementations:3},{id:"double-position-gradients",title:"Double Position Gradients",description:"A syntax for using two positions in a gradient.",specification:"https://www.w3.org/TR/css-images-4/#color-stop-syntax",stage:2,browser_support:{and_chr:"72",and_ff:"83",android:"72",chrome:"72",edge:"79",firefox:"83",ios_saf:"12.2",oculus:"6.0",op_mob:"51",opera:"60",safari:"12.1",samsung:"11.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/gradient/linear-gradient"},example:`.pie_chart { background-image: conic-gradient(yellowgreen 40%, gold 0deg 75%, #f06 0deg); }`,interoperable_at:1605571200,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-double-position-gradients"}],vendors_implementations:3},{id:"environment-variables",title:"Custom Environment Variables",description:"A syntax for using custom values accepted by CSS globally",specification:"https://drafts.csswg.org/css-env-1/",stage:0,browser_support:{},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/env"},example:`@media (max-width: env(--brand-small)) { body { padding: env(--brand-spacing); } }`,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-env-function"}],vendors_implementations:0},{id:"exponential-functions",title:"`pow()`, `sqrt()`, `hypot()`, `log()`, `exp()` exponential functions",description:"Compute various exponential functions with their arguments",specification:"https://www.w3.org/TR/css-values-4/#exponent-funcs",stage:2,browser_support:{and_chr:"120",and_ff:"118",android:"120",chrome:"120",edge:"120",firefox:"118",ios_saf:"15.4",op_mob:"80",opera:"106",safari:"15.4"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/exp"},example:`p { font-size: calc(pow(10, 12) * 1rem); font-size: calc(sqrt(100) * 1rem); font-size: calc(hypot(3, 4) * 1rem); font-size: calc(log(10) * 1rem); font-size: calc(exp(10) * 1rem); }`,interoperable_at:1701907200,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-exponential-functions"}],vendors_implementations:3},{id:"fangsong-font-family",title:"`fangsong` Font Family",description:"A generic font used for Fang Song (仿宋) typefaces in Chinese",specification:"https://www.w3.org/TR/css-fonts-4/#fangsong-def",stage:2,browser_support:{},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/font-family#Syntax"},example:`body { font-family: fangsong; }`,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/JLHwung/postcss-font-family-fangsong"}],vendors_implementations:0},{id:"float-clear-logical-values",title:"Logical Values in float and clear",description:"Flow-relative (inline-start and inline-end) values for float and clear",specification:"https://www.w3.org/TR/css-logical-1/",stage:2,browser_support:{and_chr:"118",and_ff:"55",android:"118",chrome:"118",edge:"118",firefox:"55",ios_saf:"15",op_mob:"79",opera:"104",safari:"15"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/float"},example:`span:first-child { float: inline-start; }`,interoperable_at:1697155200,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-logical-float-and-clear"}],vendors_implementations:3},{id:"focus-visible-pseudo-class",title:"`:focus-visible` Focus-Indicated Pseudo-Class",description:"A pseudo-class for matching focused elements that indicate that focus to a user",specification:"https://www.w3.org/TR/selectors-4/#focus-visible-pseudo",stage:2,browser_support:{and_chr:"86",and_ff:"85",android:"86",chrome:"86",edge:"86",firefox:"85",ios_saf:"15.4",oculus:"12.0",op_mob:"61",opera:"72",safari:"15.4",samsung:"14.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible"},example:`:focus:not(:focus-visible) { outline: 0; }`,interoperable_at:1647216e3,polyfills:[{type:"JavaScript Library",link:"https://github.com/WICG/focus-visible"},{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-focus-visible"}],vendors_implementations:3},{id:"focus-within-pseudo-class",title:"`:focus-within` Focus Container Pseudo-Class",description:"A pseudo-class for matching elements that are either focused or that have focused descendants",specification:"https://www.w3.org/TR/selectors-4/#focus-within-pseudo",stage:2,browser_support:{and_chr:"60",and_ff:"52",android:"60",chrome:"60",edge:"79",firefox:"52",ios_saf:"10.3",oculus:"5.0",op_mob:"44",opera:"47",safari:"10.1",samsung:"8.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-within"},example:`form:focus-within { background: rgb(0 128 0); }`,interoperable_at:1579046400,polyfills:[{type:"JavaScript Library",link:"https://github.com/jsxtools/focus-within"},{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-focus-within"}],vendors_implementations:3},{id:"font-format-keywords",title:"Font `format()` Keywords",description:"A syntax for specifying font format as a keyword in `@font-face` rule’s `format()` function",specification:"https://www.w3.org/TR/css-fonts-4/#font-format-values",stage:2,browser_support:{and_chr:"108",android:"108",chrome:"108",edge:"108",ios_saf:"5",op_mob:"73",opera:"94",safari:"4",samsung:"21.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face"},example:`@font-face { src: url(file.woff2) format(woff2); }`,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/valtlai/postcss-font-format-keywords"}],vendors_implementations:2},{id:"font-variant-property",title:"`font-variant` Property",description:"A property for defining the usage of alternate glyphs in a font",specification:"https://www.w3.org/TR/css-fonts-3/#propdef-font-variant",stage:4,browser_support:{and_chr:"117",and_ff:"34",android:"117",chrome:"117",edge:"117",firefox:"34",ios_saf:"9.3",op_mob:"78",opera:"103",safari:"9.1"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant"},example:`h2 { font-variant: small-caps; }`,interoperable_at:1694736e3,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/postcss/postcss-font-variant"}],vendors_implementations:3},{id:"gamut-mapping",title:"Gamut mapping for CSS color functions",description:"Gamut map css colors to fit display specific gamuts.",specification:"https://www.w3.org/TR/css-color-4/#gamut-mapping",stage:2,browser_support:{},example:`@media (color-gamut: rec2020) { p { color: oklch(40% 0.234 0.39 / 0.5); } }`,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-gamut-mapping"}],vendors_implementations:0},{id:"gap-properties",title:"Gap Properties",description:"Properties for defining gutters within a layout",specification:"https://www.w3.org/TR/css-grid-1/#gutters",stage:3,browser_support:{and_chr:"66",and_ff:"61",android:"66",chrome:"66",edge:"16",firefox:"61",ios_saf:"12",oculus:"5.0",op_mob:"47",opera:"53",safari:"12",samsung:"9.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/gap"},example:`.grid-1 { gap: 20px; } .grid-2 { column-gap: 40px; row-gap: 20px; }`,interoperable_at:1537142400,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-gap-properties"}],vendors_implementations:3},{id:"gradients-interpolation-method",title:"Gradients Interpolation Method",description:"Define the interpolation method for gradients",specification:"https://www.w3.org/TR/css-images-4/#color-interpolation",stage:2,browser_support:{and_chr:"111",android:"111",chrome:"111",edge:"111",ios_saf:"16.2",op_mob:"75",opera:"97",safari:"16.2",samsung:"22.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/gradient/linear-gradient#syntax"},example:`.pie_chart { background-image: conic-gradient(in oklch, yellowgreen 40%, gold 0deg 75%, #f06 0deg); }`,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-gradients-interpolation-method"}],vendors_implementations:2},{id:"gray-function",title:"`gray()` Function",description:"A function for specifying fully desaturated colors",specification:"https://www.w3.org/TR/css-color-4/#funcdef-gray",stage:-1,browser_support:{},example:`p { color: gray(50); }`,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/postcss/postcss-color-gray"}],vendors_implementations:0},{id:"grid-layout",title:"Grid Layout",description:"A syntax for using a grid concept to lay out content",specification:"https://www.w3.org/TR/css-grid-1/",stage:3,browser_support:{and_chr:"57",and_ff:"52",android:"57",chrome:"57",edge:"16",firefox:"52",ios_saf:"10.3",oculus:"5.0",op_mob:"43",opera:"44",safari:"10.1",samsung:"6.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/grid"},example:`section { display: grid; grid-template-columns: 100px 100px 100px; grid-gap: 10px; }`,interoperable_at:1508198400,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/postcss/autoprefixer"}],vendors_implementations:3},{id:"has-pseudo-class",title:"`:has()` Relational Pseudo-Class",description:"A pseudo-class for matching ancestor and sibling elements",specification:"https://www.w3.org/TR/selectors-4/#has-pseudo",stage:2,browser_support:{and_chr:"105",and_ff:"121",android:"105",chrome:"105",edge:"105",firefox:"121",ios_saf:"15.4",op_mob:"72",opera:"91",safari:"15.4",samsung:"20.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/:has"},example:`a:has(> img) { display: block; }`,interoperable_at:1702944e3,polyfills:[{type:"JavaScript Library",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/css-has-pseudo"},{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/css-has-pseudo"}],vendors_implementations:3},{id:"hexadecimal-alpha-notation",title:"Hexadecimal Alpha Notation",description:"A 4 & 8 character hex color notation for specifying the opacity level",specification:"https://www.w3.org/TR/css-color-4/#hex-notation",stage:2,browser_support:{and_chr:"62",and_ff:"49",android:"62",chrome:"62",edge:"79",firefox:"49",ios_saf:"9.3",oculus:"5.0",op_mob:"47",opera:"49",safari:"10",samsung:"8.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Syntax_2"},example:`section { background-color: #f3f3f3f3; color: #0003; }`,interoperable_at:1579046400,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-hex-alpha"}],vendors_implementations:3},{id:"hwb-function",title:"`hwb()` Function",description:"A function for specifying colors by hue and then a degree of whiteness and blackness to mix into it",specification:"https://www.w3.org/TR/css-color-4/#funcdef-hwb",stage:2,browser_support:{and_chr:"101",and_ff:"96",android:"101",chrome:"101",edge:"101",firefox:"96",ios_saf:"15",oculus:"22.0",op_mob:"70",opera:"87",safari:"15",samsung:"19.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hwb"},example:`p { color: hwb(120 44% 50%); }`,interoperable_at:1651190400,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-hwb-function"}],vendors_implementations:3},{id:"ic-unit",title:"`ic` length unit",description:'Equal to the used advance measure of the "水" (CJK water ideograph, U+6C34) glyph found in the font used to render it',specification:"https://www.w3.org/TR/css-values-4/#ic",stage:2,browser_support:{and_chr:"106",and_ff:"97",android:"106",chrome:"106",edge:"106",firefox:"97",ios_saf:"15.4",op_mob:"72",opera:"92",safari:"15.4",samsung:"20.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Values_and_Units#dimensions"},example:`p { text-indent: 2ic; }`,interoperable_at:1664755200,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-ic-unit"}],vendors_implementations:3},{id:"image-set-function",title:"`image-set()` Function",description:"A function for specifying image sources based on the user’s resolution",specification:"https://www.w3.org/TR/css-images-4/#image-set-notation",stage:2,browser_support:{and_chr:"25",and_ff:"88",android:"4.4",chrome:"21",edge:"79",firefox:"88",ios_saf:"14",oculus:"5.0",op_mob:"14",opera:"15",safari:"14",samsung:"1.5"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/image/image-set"},example:`p { background-image: image-set( "foo.png" 1x, "foo-2x.png" 2x, "foo-print.png" 600dpi ); }`,interoperable_at:1618790400,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-image-set-function"}],vendors_implementations:3},{id:"in-out-of-range-pseudo-class",title:"`:in-range` and `:out-of-range` Pseudo-Classes",description:"A pseudo-class for matching elements that have range limitations",specification:"https://www.w3.org/TR/selectors-4/#range-pseudos",stage:2,browser_support:{and_chr:"18",and_ff:"16",android:"2.2",chrome:"10",edge:"13",firefox:"29",ios_saf:"5",oculus:"5.0",op_mob:"11",opera:"11",safari:"5.1",samsung:"1.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/:in-range"},example:`input:in-range { background-color: rgb(0 255 0 / 0.25); } input:out-of-range { background-color: rgb(255 0 0 / 0.25); border: 2px solid red; }`,interoperable_at:1447286400,vendors_implementations:3},{id:"is-pseudo-class",title:"`:is()` Matches-Any Pseudo-Class",description:"A pseudo-class for matching elements in a selector list",specification:"https://www.w3.org/TR/selectors-4/#matches-pseudo",stage:2,browser_support:{and_chr:"88",and_ff:"82",android:"88",chrome:"88",edge:"88",firefox:"82",ios_saf:"14",oculus:"14.0",op_mob:"63",opera:"74",safari:"14",samsung:"15.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/:is"},example:`p:is(:first-child, .special) { margin-top: 1em; }`,interoperable_at:1611187200,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-is-pseudo-class"}],vendors_implementations:3},{id:"lab-function",title:"`lab()` Function",description:"A function for specifying colors expressed in the CIE Lab color space",specification:"https://www.w3.org/TR/css-color-4/#funcdef-lab",stage:2,browser_support:{and_chr:"116",and_ff:"113",android:"116",chrome:"116",edge:"116",firefox:"113",ios_saf:"16.2",op_mob:"78",opera:"102",safari:"16.2"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/lab"},example:`body { color: lab(80% 50 20); }`,interoperable_at:1692576e3,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-lab-function"}],vendors_implementations:3},{id:"lch-function",title:"`lch()` Function",description:"A function for specifying colors expressed in the CIE Lab color space with chroma and hue",specification:"https://www.w3.org/TR/css-color-4/#funcdef-lch",stage:2,browser_support:{and_chr:"116",and_ff:"113",android:"116",chrome:"116",edge:"116",firefox:"113",ios_saf:"16.2",op_mob:"78",opera:"102",safari:"16.2"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/lch"},example:`body { color: lch(53% 105 40); }`,interoperable_at:1692576e3,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-lab-function"}],vendors_implementations:3},{id:"light-dark-function",title:"`light-dark()` Function",description:"React to the current used `color-scheme` value",specification:"https://drafts.csswg.org/css-color-5/#light-dark",stage:2,browser_support:{and_chr:"123",and_ff:"120",android:"123",chrome:"123",firefox:"120"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/light-dark"},example:`body { color: light-dark(cyan, magenta); }`,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-light-dark-function"}],vendors_implementations:2},{id:"logical-overflow",title:"Logical Overflow",description:"Flow-relative `overflow` properties",specification:"https://www.w3.org/TR/css-overflow-3/#overflow-control",stage:2,browser_support:{and_ff:"79",firefox:"69"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-block"},example:`div { overflow-block: scroll; }`,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-logical-overflow"}],vendors_implementations:1},{id:"logical-overscroll-behavior",title:"Logical Overscroll Behavior",description:"Flow-relative `overscroll-behavior` properties",specification:"https://www.w3.org/TR/css-overscroll-1/#overscroll-behavior-longhands-logical",stage:2,browser_support:{and_chr:"77",and_ff:"79",android:"77",chrome:"77",edge:"79",firefox:"73",ios_saf:"16",oculus:"7.0",op_mob:"55",opera:"64",safari:"16",samsung:"12.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/overscroll-behavior-block"},example:`div { overscroll-behavior-block: scroll; }`,interoperable_at:1662940800,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-logical-overscroll-behavior"}],vendors_implementations:3},{id:"logical-properties-and-values",title:"Logical Properties and Values",description:"Flow-relative (left-to-right or right-to-left) properties and values",specification:"https://www.w3.org/TR/css-logical-1/",stage:2,browser_support:{and_chr:"89",and_ff:"66",android:"89",chrome:"89",edge:"89",firefox:"66",ios_saf:"15",oculus:"15.0",op_mob:"63",opera:"75",safari:"15",samsung:"15.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values"},example:`span:first-child { margin-inline-start: 10px; }`,interoperable_at:1632096e3,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-logical"}],vendors_implementations:3},{id:"logical-resize",title:"Logical values in the `resize` property",description:"Flow-relative (block or inline) values in resize",specification:"https://www.w3.org/TR/css-logical-1/",stage:2,browser_support:{and_chr:"118",and_ff:"63",android:"118",chrome:"118",edge:"118",firefox:"63",ios_saf:"16",op_mob:"79",opera:"104",safari:"16"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/resize"},example:`area { resize: inline; }`,interoperable_at:1697155200,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-logical-resize"}],vendors_implementations:3},{id:"logical-viewport-units",title:"Logical Viewport Units",description:"Flow-relative (horizontal or vertical) Viewport Units",specification:"https://www.w3.org/TR/css-values-4/#viewport-relative-units",stage:2,browser_support:{and_chr:"108",and_ff:"101",android:"108",chrome:"108",edge:"108",firefox:"101",ios_saf:"15.4",op_mob:"73",opera:"94",safari:"15.4",samsung:"21.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/length#vb"},example:`span:first-child { width: 5vi; height: 10vb; }`,interoperable_at:1670284800,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-logical-viewport-units"}],vendors_implementations:3},{id:"matches-pseudo-class",title:"`:matches()` Matches-Any Pseudo-Class",description:"A pseudo-class for matching elements in a selector list",specification:"https://www.w3.org/TR/selectors-4/#selectordef-matches",stage:-1,browser_support:{and_chr:"88",and_ff:"82",android:"88",chrome:"88",edge:"88",firefox:"82",ios_saf:"14",oculus:"14.0",op_mob:"63",opera:"74",safari:"14",samsung:"15.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/:is"},example:`p:matches(:first-child, .special) { margin-top: 1em; }`,interoperable_at:1611187200,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/postcss/postcss-selector-matches"}],vendors_implementations:3},{id:"media-queries-aspect-ratio-number-values",title:"Aspect-Ratio number values",description:"Support `<ratio>` values with `<number>` components in `@media`",specification:"https://www.w3.org/TR/css-values-4/#ratio-value",stage:2,browser_support:{and_chr:"110",and_ff:"78",android:"110",chrome:"110",edge:"110",firefox:"78",ios_saf:"16.4",safari:"16.4"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/ratio"},example:`@media (aspect-ratio: 1.77) { html { background-color: cyan; } }`,interoperable_at:1679875200,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-media-queries-aspect-ratio-number-values"}],vendors_implementations:3},{id:"media-query-ranges",title:"Media Query Ranges",description:"A syntax for defining media query ranges using ordinary comparison operators",specification:"https://www.w3.org/TR/mediaqueries-4/#range-context",stage:3,browser_support:{and_chr:"104",and_ff:"102",android:"104",chrome:"104",edge:"104",firefox:"102",ios_saf:"16.4",oculus:"23.0",op_mob:"71",opera:"90",safari:"16.4",samsung:"20.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_media_queries/Using_media_queries#Syntax_improvements_in_Level_4"},example:`@media (width < 480px) {} @media (480px <= width < 768px) {} @media (width >= 768px) {}`,interoperable_at:1679875200,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-media-minmax"}],vendors_implementations:3},{id:"nested-calc",title:"Nested `calc()`",description:"Nest calc functions with the calc function name",specification:"https://www.w3.org/TR/css-values-4/#calc-func",stage:2,browser_support:{and_chr:"51",and_ff:"48",android:"51",chrome:"51",edge:"16",firefox:"48",ios_saf:"11",oculus:"5.0",op_mob:"41",opera:"38",safari:"11",samsung:"5.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/calc"},example:`p { padding: calc(1px + calc(4 / 3)); }`,interoperable_at:1508198400,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-nested-calc"}],vendors_implementations:3},{id:"nesting-rules",title:"Nesting Rules",description:"A syntax for nesting relative rules within rules",specification:"https://www.w3.org/TR/css-nesting-1/",stage:2,browser_support:{and_chr:"120",and_ff:"117",android:"120",chrome:"120",edge:"120",firefox:"117",ios_saf:"17.2",op_mob:"80",opera:"106",safari:"17.2"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/Nesting_selector"},example:`article { & p { color: #333; } }`,interoperable_at:1702252800,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-nesting"}],vendors_implementations:3},{id:"not-pseudo-class",title:"`:not()` Negation List Pseudo-Class",description:"A pseudo-class for ignoring elements in a selector list",specification:"https://www.w3.org/TR/selectors-4/#negation-pseudo",stage:2,browser_support:{and_chr:"88",and_ff:"84",android:"88",chrome:"88",edge:"88",firefox:"84",ios_saf:"9",oculus:"14.0",opera:"74",safari:"9",samsung:"15.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/:not"},example:`p:not(:first-child, .special) { margin-top: 1em; }`,interoperable_at:1611187200,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-selector-not"}],vendors_implementations:3},{id:"oklab-function",title:"`oklab` and `oklch` color functions",description:"Functions that allow colors to be expressed in OKLab and OKLCH.",specification:"https://www.w3.org/TR/css-color-4/#specifying-oklab-oklch",stage:2,browser_support:{and_chr:"116",and_ff:"113",android:"116",chrome:"116",edge:"116",firefox:"113",ios_saf:"16.2",op_mob:"78",opera:"102",safari:"16.2"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/oklab"},example:`p { color: oklab(72.322% -0.0465 -0.1150); color: oklch(72.322% 0.12403 247.996); }`,interoperable_at:1692576e3,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-oklab-function"}],vendors_implementations:3},{id:"opacity-percentage",title:"Support for percentages for `opacity`",description:"Syntactic sugar to use percentages instead of a float between 0 and 1.",specification:"https://www.w3.org/TR/css-color-4/#transparency",stage:2,browser_support:{and_chr:"78",and_ff:"79",android:"78",chrome:"78",edge:"79",firefox:"70",ios_saf:"13.4",oculus:"8.0",op_mob:"56",opera:"65",safari:"13.1",samsung:"12.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/opacity"},example:`img { opacity: 90%; }`,interoperable_at:1585008e3,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/mrcgrtz/postcss-opacity-percentage"}],vendors_implementations:3},{id:"overflow-property",title:"`overflow` Shorthand Property",description:"A property for defining `overflow-x` and `overflow-y`",specification:"https://www.w3.org/TR/css-overflow-3/#propdef-overflow",stage:2,browser_support:{and_chr:"68",and_ff:"61",android:"68",chrome:"68",edge:"79",firefox:"61",ios_saf:"13.4",oculus:"6.0",op_mob:"48",opera:"55",safari:"13.1",samsung:"10.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/overflow"},example:`html { overflow: hidden auto; }`,interoperable_at:1585008e3,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-overflow-shorthand"}],vendors_implementations:3},{id:"overflow-wrap-property",title:"`overflow-wrap` Property",description:"A property for defining whether to insert line breaks within words to prevent overflowing",specification:"https://www.w3.org/TR/css-text-3/#overflow-wrap-property",stage:2,browser_support:{and_chr:"25",and_ff:"49",android:"4.4",chrome:"23",edge:"18",firefox:"49",ios_saf:"7",oculus:"5.0",op_mob:"12.1",opera:"12.1",safari:"7",samsung:"1.5"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-wrap"},example:`p { overflow-wrap: break-word; }`,interoperable_at:1538438400,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/mattdimu/postcss-replace-overflow-wrap"}],vendors_implementations:3},{id:"overscroll-behavior-property",title:"`overscroll-behavior` Property",description:"Properties for controlling when the scroll position of a scroll container reaches the edge of a scrollport",specification:"https://www.w3.org/TR/css-overscroll-1/",stage:2,browser_support:{and_chr:"63",and_ff:"59",android:"63",chrome:"63",firefox:"59",ios_saf:"16",oculus:"5.0",op_mob:"46",opera:"50",safari:"16",samsung:"8.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/overscroll-behavior"},example:`.messages { height: 220px; overflow: auto; overscroll-behavior-y: contain; } body { margin: 0; overscroll-behavior: none; }`,interoperable_at:1662940800,vendors_implementations:3},{id:"place-properties",title:"Place Properties",description:"Properties for defining alignment within a layout",specification:"https://www.w3.org/TR/css-align-3/#place-items-property",stage:2,browser_support:{and_chr:"59",and_ff:"53",android:"59",chrome:"59",edge:"79",firefox:"53",ios_saf:"11",oculus:"5.0",op_mob:"43",opera:"46",safari:"11",samsung:"7.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/place-content"},example:`.example { place-content: flex-end; place-items: center / space-between; place-self: flex-start / center; }`,interoperable_at:1579046400,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-place"}],vendors_implementations:3},{id:"prefers-color-scheme-query",title:"`prefers-color-scheme` Media Query",description:"A media query to detect if the user has requested the system use a light or dark color theme",specification:"https://www.w3.org/TR/mediaqueries-5/#prefers-color-scheme",stage:2,browser_support:{and_chr:"76",and_ff:"67",android:"76",chrome:"76",edge:"79",firefox:"67",ios_saf:"13",oculus:"7.0",op_mob:"54",opera:"62",safari:"12.1",samsung:"14.2"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme"},example:`body { background-color: white; color: black; } @media (prefers-color-scheme: dark) { body { background-color: black; color: white; } }`,interoperable_at:1579046400,polyfills:[{type:"JavaScript Library",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/css-prefers-color-scheme"},{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/css-prefers-color-scheme"}],vendors_implementations:3},{id:"prefers-reduced-motion-query",title:"`prefers-reduced-motion` Media Query",description:"A media query to detect if the user has requested less animation and general motion on the page",specification:"https://www.w3.org/TR/mediaqueries-5/#prefers-reduced-motion",stage:2,browser_support:{and_chr:"74",and_ff:"64",android:"74",chrome:"74",edge:"79",firefox:"63",ios_saf:"10.3",oculus:"6.0",op_mob:"53",opera:"62",safari:"10.1",samsung:"11.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion"},example:`.animation { animation: vibrate 0.3s linear infinite both; } @media (prefers-reduced-motion: reduce) { .animation { animation: none; } }`,interoperable_at:1579046400,vendors_implementations:3},{id:"read-only-write-pseudo-class",title:"`:read-only` and `:read-write` selectors",description:"Pseudo-classes to match elements which are considered user-alterable",specification:"https://www.w3.org/TR/selectors-4/#rw-pseudos",stage:2,browser_support:{and_chr:"18",and_ff:"79",android:"37",chrome:"1",edge:"13",firefox:"78",ios_saf:"3.2",oculus:"5.0",op_mob:"10.1",opera:"9",safari:"4",samsung:"1.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/:read-only"},example:`input:read-only { background-color: #ccc; }`,interoperable_at:1593475200,vendors_implementations:3},{id:"rebeccapurple-color",title:"`rebeccapurple` Color",description:"A particularly lovely shade of purple in memory of Rebecca Alison Meyer",specification:"https://www.w3.org/TR/css-color-4/#valdef-color-rebeccapurple",stage:2,browser_support:{and_chr:"38",and_ff:"33",android:"38",chrome:"38",edge:"12",firefox:"33",ie:"11",ios_saf:"8",oculus:"5.0",op_mob:"25",opera:"25",safari:"9",samsung:"3.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value"},example:`html { color: rebeccapurple; }`,interoperable_at:1443571200,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-rebeccapurple"}],vendors_implementations:3},{id:"relative-color-syntax",title:"Relative Colors",description:"Modify existing colors using color functions",specification:"https://www.w3.org/TR/css-color-5/#relative-colors",stage:2,browser_support:{},docs:{},example:`p { color: lch(from peru calc(l * 0.8) c h); }`,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-relative-color-syntax"}],vendors_implementations:0},{id:"scope-pseudo-class",title:"`:scope()` Reference Element Pseudo-class",description:"A pseudo-class for matching one or more scoping roots",specification:"https://www.w3.org/TR/selectors-4/#the-scope-pseudo",stage:2,browser_support:{and_chr:"27",and_ff:"32",android:"4.4",chrome:"27",edge:"79",firefox:"32",ios_saf:"7",oculus:"5.0",op_mob:"15",opera:"15",safari:"7",samsung:"1.5"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/:scope"},example:`:scope { background-color: pink; }`,interoperable_at:1579046400,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-scope-pseudo-class"}],vendors_implementations:3},{id:"sign-functions",title:"`abs()` and `sign()` functions",description:"The sign-related functions—abs() and sign()—compute various functions related to the sign of their argument",specification:"https://www.w3.org/TR/css-values-4/#sign-funcs",stage:2,browser_support:{and_ff:"118",firefox:"118",ios_saf:"15.4",safari:"15.4"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/sign"},example:`div { order: abs(-10); order: sign(-10); }`,vendors_implementations:2},{id:"src-function",title:"`src()` function",description:"The argument of `src()` can be provided by functions, such as var(). Otherwise this behaves the same as `url()`",specification:"https://www.w3.org/TR/css-values-4/#funcdef-src",stage:2,browser_support:{},example:`div { background: src('./image.jpg'); }`,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/google/postcss-src"}],vendors_implementations:0},{id:"stepped-value-functions",title:"`round()`, `mod()` and `rem()` functions",description:'The stepped-value functions, `round()`, `mod()`, and `rem()`, all transform a given value according to another "step value", in different ways',specification:"https://www.w3.org/TR/css-values-4/#round-func",stage:2,browser_support:{and_ff:"118",firefox:"118",ios_saf:"15.4",safari:"15.4"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/round"},example:`div { left: mod(18px, 5px); top: rem(18px, 5px); right: round(2.5px, 1px); bottom: round(up, 15px, 7px); }`,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-stepped-value-functions"}],vendors_implementations:2},{id:"system-ui-font-family",title:"`system-ui` Font Family",description:"A generic font used to match the user’s interface",specification:"https://www.w3.org/TR/css-fonts-4/#system-ui-def",stage:2,browser_support:{and_chr:"56",and_ff:"92",android:"56",chrome:"56",edge:"79",firefox:"92",ios_saf:"11",oculus:"5.0",op_mob:"43",opera:"43",safari:"11",samsung:"6.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/font-family#Syntax"},example:`body { font-family: system-ui; }`,interoperable_at:1630972800,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/JLHwung/postcss-font-family-system-ui"}],vendors_implementations:3},{id:"text-decoration-shorthand",title:"`text-decoration` shorthand",description:"A property for defining `text-decoration-line`, `text-decoration-thickness`, `text-decoration-style` and `text-decoration-color`",specification:"https://www.w3.org/TR/css-text-decor-4/#text-decoration-property",stage:2,browser_support:{and_chr:"87",and_ff:"79",android:"87",chrome:"87",edge:"87",firefox:"70",oculus:"13.0",op_mob:"62",opera:"73",samsung:"14.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration"},example:`p { text-decoration: green wavy underline 2px; }`,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-text-decoration-shorthand"}],vendors_implementations:2},{id:"trigonometric-functions",title:"`sin()`, `cos()`, `tan()`, `asin()`, `acos()`, `atan()` and `atan2()` functions",description:"Functions to calculate various basic trigonometric relationships",specification:"https://www.w3.org/TR/css-values-4/#trig-funcs",stage:2,browser_support:{and_chr:"111",and_ff:"108",android:"111",chrome:"111",edge:"111",firefox:"108",ios_saf:"15.4",op_mob:"75",opera:"97",safari:"15.4",samsung:"22.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/sin"},example:`body { left: sin(45deg); left: cos(45deg); left: tan(45deg); left: asin(0.5); left: acos(0.5); left: atan(10); left: atan2(-1, 1); }`,interoperable_at:1678665600,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-trigonometric-functions"}],vendors_implementations:3},{id:"unset-value",title:"`unset` Keyword",description:"The unset CSS keyword resets a property to its inherited value if the property naturally inherits from its parent, and to its initial value if not.",specification:"https://www.w3.org/TR/css-cascade-4/#inherit-initial",stage:3,browser_support:{and_chr:"41",and_ff:"27",android:"41",chrome:"41",edge:"13",firefox:"27",ios_saf:"9.3",oculus:"5.0",op_mob:"28",opera:"28",safari:"9.1",samsung:"4.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/unset"},example:`div { border-color: unset; color: unset; }`,interoperable_at:1458518400,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-unset-value"}],vendors_implementations:3},{id:"when-else-rules",title:"When/Else Rules",description:"At-rules for specifying media queries and support queries in a single grammar",specification:"https://www.w3.org/TR/2021/WD-css-conditional-5-20211221/",stage:2,browser_support:{},example:`@when media(width >= 640px) and (supports(display: flex) or supports(display: grid)) { /* A */ } @else media(pointer: coarse) { /* B */ } @else { /* C */ }`,vendors_implementations:0},{id:"where-pseudo-class",title:"`:where()` Zero-Specificity Pseudo-Class",description:"A pseudo-class for matching elements in a selector list without contributing specificity",specification:"https://www.w3.org/TR/selectors-4/#where-pseudo",stage:2,browser_support:{and_chr:"88",and_ff:"82",android:"88",chrome:"88",edge:"88",firefox:"82",ios_saf:"14",oculus:"14.0",op_mob:"63",opera:"74",safari:"14",samsung:"15.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/:where"},example:`a:where(:not(:hover)) { text-decoration: none; }`,interoperable_at:1611187200,vendors_implementations:3}],G5t=[{supports:"color-mix(in lch, red, blue)",property:"color",sniff:"color-mix",matchers:[{type:"function",value:"color-mix",nodes:[{type:"word",value:"in"},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0}]},{type:"function",value:"color-mix",nodes:[{type:"word",value:"in"},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0}]},{type:"function",value:"color-mix",nodes:[{type:"word",value:"in"},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color-mix",nodes:[{type:"word",value:"in"},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color-mix",nodes:[{type:"word",value:"in"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0}]},{type:"function",value:"color-mix",nodes:[{type:"word",value:"in"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0}]},{type:"function",value:"color-mix",nodes:[{type:"word",value:"in"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color-mix",nodes:[{type:"word",value:"in"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]}]},{supports:"rgb(from red r g b)",property:"color",sniff:"from ",matchers:[{type:"function",value:"rgb",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"rgb",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]},{type:"function",value:"hsl",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"hsl",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]},{type:"function",value:"hwb",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"hwb",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]},{type:"function",value:"lch",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"lch",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]},{type:"function",value:"oklch",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"oklch",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]},{type:"function",value:"lab",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"lab",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]},{type:"function",value:"oklab",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"oklab",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(srgb 0 0 0)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"srgb"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"srgb"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(srgb-linear 0 0 0)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"srgb-linear"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"srgb-linear"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(a98-rgb 0 0 0)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"a98-rgb"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"a98-rgb"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(prophoto-rgb 0 0 0)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"prophoto-rgb"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"prophoto-rgb"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(display-p3 0 0 0)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"display-p3"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"display-p3"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(rec2020 0 0 0)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"rec2020"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"rec2020"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(xyz-d50 0 0 0)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"xyz-d50"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"xyz-d50"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(xyz-d65 0 0 0)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"xyz-d65"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"xyz-d65"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(xyz 0 0 0)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"xyz"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"xyz"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"hsl(0, 0%, 0%)",property:"color",sniff:"hsl",matchers:[{type:"function",value:"hsl",nodes:[{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0}]}]},{supports:"hsl(0 0% 0% / 0)",property:"color",sniff:"hsl",matchers:[{type:"function",value:"hsl",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"hsl",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"hsla(0 0% 0% / 0)",property:"color",sniff:"hsla",matchers:[{type:"function",value:"hsla",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"hwb(0 0% 0%)",property:"color",sniff:"hwb",matchers:[{type:"function",value:"hwb",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"hwb",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"lab(0% 0 0)",property:"color",sniff:"lab",matchers:[{type:"function",value:"lab",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"lab",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"lch(0% 0 0)",property:"color",sniff:"lch",matchers:[{type:"function",value:"lch",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"lch",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"oklab(0% 0 0)",property:"color",sniff:"oklab",matchers:[{type:"function",value:"oklab",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"oklab",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"oklch(0% 0 0)",property:"color",sniff:"oklch",matchers:[{type:"function",value:"oklch",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"oklch",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"rgb(0, 0, 0, 0)",property:"color",sniff:"rgb",matchers:[{type:"function",value:"rgb",nodes:[{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0}]}]},{supports:"rgb(0 0 0 / 0)",property:"color",sniff:"rgb",matchers:[{type:"function",value:"rgb",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"rgb",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"rgba(0 0 0 / 0)",property:"color",sniff:"rgba",matchers:[{type:"function",value:"rgba",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"1ic",property:"font-size",sniff:"ic",matchers:[{type:"word",value:"1ic",dimension:{unit:"ic"}}]}];function tEe(t,e){if(t.isVariable&&e&&(e.type==="word"||e.type==="string"||e.type==="function"))return!0;if(t.type!==e.type||W5t(t,e))return!1;if(t.nodes&&e.nodes){for(let r=0;r<Math.max(t.nodes.length,e.nodes.length);r++){let n=r,i=r;for(;t.nodes[n]&&t.nodes[n].type==="space";)n++;for(;e.nodes[i]&&e.nodes[i].type==="space";)i++;if(!!t.nodes[n]!=!!e.nodes[i]||!tEe(t.nodes[n],e.nodes[i]))return!1}return!0}return!0}function W5t(t,e){var r,n,i,o;return(t.type!=="space"||e.type!=="space"||((r=t.value)==null?void 0:r.trim())!==((n=e.value)==null?void 0:n.trim()))&&(t.dimension&&e.dimension?t.dimension.unit!==e.dimension.unit:t.type==="string"?t.value!==e.value:((i=t.value)==null?void 0:i.toLowerCase())!==((o=e.value)==null?void 0:o.toLowerCase()))}const z5t=["at","bottom","center","circle","closest-corner","closest-side","ellipse","farthest-corner","farthest-side","from","in","left","right","to","top"];function K5t(t){const e=[],r=t.value.toLowerCase();if(t.type==="function"&&(r==="conic-gradient"||r==="linear-gradient"||r==="radial-gradient"||r==="repeating-conic-gradient"||r==="repeating-linear-gradient"||r==="repeating-radial-gradient")){let n=0,i=!1,o=!1;e:for(let s=0;s<t.nodes.length;s++){const a=t.nodes[s];if(a.type==="word"&&z5t.includes(a.value.toLowerCase())&&(i=!0),a.type!=="div"||a.value.trim()!==",")if(a.type!=="word"||a.value.toLowerCase()!=="in"){if(a.type!=="word"&&a.type!=="function"||n++,o)switch(t.value.toLowerCase()){case"conic-gradient":e.push("(background: conic-gradient(in oklch, red 0deg, red 0deg 1deg, red 2deg))");break e;case"linear-gradient":e.push("(background: linear-gradient(in oklch, red 0%, red 0% 1%, red 2%))");break e;case"radial-gradient":e.push("(background: radial-gradient(in oklch, red, red 1px 2px, red 3px))");break e;case"repeating-conic-gradient":e.push("(background: repeating-conic-gradient(in oklch from 0deg, red 0deg, red 0deg 1deg, red 2deg))");break e;case"repeating-linear-gradient":e.push("(background: repeating-linear-gradient(in oklch, red 0%, red 0% 1%, red 2%))");break e;case"repeating-radial-gradient":e.push("(background: repeating-radial-gradient(in oklch, red, red 1px 2px, red 3px))");break e}if(!i&&n===3)switch(t.value.toLowerCase()){case"conic-gradient":e.push("(background: conic-gradient(red 0deg, red 0deg 1deg, red 2deg))");break e;case"linear-gradient":e.push("(background: linear-gradient(red 0%, red 0% 1%, red 2%))");break e;case"radial-gradient":e.push("(background: radial-gradient(red, red 1px 2px, red 3px))");break e;case"repeating-conic-gradient":e.push("(background: repeating-conic-gradient(from 0deg, red 0deg, red 0deg 1deg, red 2deg))");break e;case"repeating-linear-gradient":e.push("(background: repeating-linear-gradient(red 0%, red 0% 1%, red 2%))");break e;case"repeating-radial-gradient":e.push("(background: repeating-radial-gradient(red, red 1px 2px, red 3px))");break e}}else o=!0;else n=0,i=!1}}return e}const q5t=/^var$/i;function X5t(t,e=!1){const r=[],n=[];G5t.forEach(o=>{t.indexOf(o.sniff)>-1&&n.push(o)});let i=!1;try{cr(t).walk(o=>{o.type==="function"&&q5t.test(o.value)&&(i=!0);try{o.dimension=cr.unit(o.value)}finally{o.dimension===!1&&delete o.dimension}for(let s=0;s<n.length;s++){const a=n[s];for(let l=0;l<a.matchers.length;l++)if(tEe(a.matchers[l],o))return void r.push(`(${a.property}: ${a.supports})`)}r.push(...K5t(o))})}catch{}return e&&!i?[]:(i&&r.length>0&&r.push("(top: var(--f))"),Array.from(new Set(r)))}const Y5t=/var\(/i,sd=()=>({postcssPlugin:"postcss-progressive-custom-properties",RuleExit:(t,{postcss:e})=>{const r=[],n=new Map,i=new Set;t.each(o=>{if(o.type!=="decl")return;if(o.variable){if(!i.has(o.prop.toString()))return void i.add(o.prop.toString())}else if(!i.has(o.prop.toString().toLowerCase()))return void i.add(o.prop.toString().toLowerCase());if(!o.variable&&!Y5t.test(o.value)||o.value.trim().toLowerCase()==="initial"||o.value.trim()==="")return;const s=!o.variable,a=X5t(o.value,s);if(!a.length)return;const l=a.join(" and ");if(r.length&&r[r.length-1].params===l){const f=r[r.length-1],d=n.get(f);if(d)return d.append(o.clone()),void o.remove()}const c=e.atRule({name:"supports",params:l,source:t.source,raws:{before:` `,after:` `}}),u=t.clone();u.removeAll(),u.raws.before=` `,u.append(o.clone()),o.remove(),n.set(c,u),c.append(u),r.push(c)}),r.length!==0&&r.reverse().forEach(o=>{t.after(o)})}});sd.postcss=!0;var JJ={exports:{}};const J5t=[{prop:"animation",initial:"${animation-name} ${animation-duration} ${animation-timing-function} ${animation-delay} ${animation-iteration-count} ${animation-direction} ${animation-fill-mode} ${animation-play-state}",combined:!0},{prop:"animation-delay",initial:"0s"},{prop:"animation-direction",initial:"normal"},{prop:"animation-duration",initial:"0s"},{prop:"animation-fill-mode",initial:"none"},{prop:"animation-iteration-count",initial:"1"},{prop:"animation-name",initial:"none"},{prop:"animation-play-state",initial:"running"},{prop:"animation-timing-function",initial:"ease"},{prop:"backface-visibility",initial:"visible",basic:!0},{prop:"background",initial:"${background-color} ${background-image} ${background-repeat} ${background-position} / ${background-size} ${background-origin} ${background-clip} ${background-attachment}",combined:!0},{prop:"background-attachment",initial:"scroll"},{prop:"background-clip",initial:"border-box"},{prop:"background-color",initial:"transparent"},{prop:"background-image",initial:"none"},{prop:"background-origin",initial:"padding-box"},{prop:"background-position",initial:"0 0"},{prop:"background-position-x",initial:"0"},{prop:"background-position-y",initial:"0"},{prop:"background-repeat",initial:"repeat"},{prop:"background-size",initial:"auto auto"},{prop:"border",initial:"${border-width} ${border-style} ${border-color}",combined:!0},{prop:"border-style",initial:"none"},{prop:"border-width",initial:"medium"},{prop:"border-color",initial:"currentColor"},{prop:"border-bottom",initial:"0"},{prop:"border-bottom-color",initial:"currentColor"},{prop:"border-bottom-left-radius",initial:"0"},{prop:"border-bottom-right-radius",initial:"0"},{prop:"border-bottom-style",initial:"none"},{prop:"border-bottom-width",initial:"medium"},{prop:"border-collapse",initial:"separate",basic:!0,inherited:!0},{prop:"border-image",initial:"none",basic:!0},{prop:"border-left",initial:"0"},{prop:"border-left-color",initial:"currentColor"},{prop:"border-left-style",initial:"none"},{prop:"border-left-width",initial:"medium"},{prop:"border-radius",initial:"0",basic:!0},{prop:"border-right",initial:"0"},{prop:"border-right-color",initial:"currentColor"},{prop:"border-right-style",initial:"none"},{prop:"border-right-width",initial:"medium"},{prop:"border-spacing",initial:"0",basic:!0,inherited:!0},{prop:"border-top",initial:"0"},{prop:"border-top-color",initial:"currentColor"},{prop:"border-top-left-radius",initial:"0"},{prop:"border-top-right-radius",initial:"0"},{prop:"border-top-style",initial:"none"},{prop:"border-top-width",initial:"medium"},{prop:"bottom",initial:"auto",basic:!0},{prop:"box-shadow",initial:"none",basic:!0},{prop:"box-sizing",initial:"content-box",basic:!0},{prop:"caption-side",initial:"top",basic:!0,inherited:!0},{prop:"clear",initial:"none",basic:!0},{prop:"clip",initial:"auto",basic:!0},{prop:"color",initial:"#000",basic:!0},{prop:"columns",initial:"auto",basic:!0},{prop:"column-count",initial:"auto",basic:!0},{prop:"column-fill",initial:"balance",basic:!0},{prop:"column-gap",initial:"normal",basic:!0},{prop:"column-rule",initial:"${column-rule-width} ${column-rule-style} ${column-rule-color}",combined:!0},{prop:"column-rule-color",initial:"currentColor"},{prop:"column-rule-style",initial:"none"},{prop:"column-rule-width",initial:"medium"},{prop:"column-span",initial:"1",basic:!0},{prop:"column-width",initial:"auto",basic:!0},{prop:"content",initial:"normal",basic:!0},{prop:"counter-increment",initial:"none",basic:!0},{prop:"counter-reset",initial:"none",basic:!0},{prop:"cursor",initial:"auto",basic:!0,inherited:!0},{prop:"direction",initial:"ltr",basic:!0,inherited:!0},{prop:"display",initial:"inline",basic:!0},{prop:"empty-cells",initial:"show",basic:!0,inherited:!0},{prop:"float",initial:"none",basic:!0},{prop:"font",contains:["font-style","font-variant","font-weight","font-stretch","font-size","line-height","font-family"],basic:!0,inherited:!0},{prop:"font-family",initial:"serif"},{prop:"font-size",initial:"medium"},{prop:"font-style",initial:"normal"},{prop:"font-variant",initial:"normal"},{prop:"font-weight",initial:"normal"},{prop:"font-stretch",initial:"normal"},{prop:"line-height",initial:"normal",inherited:!0},{prop:"height",initial:"auto",basic:!0},{prop:"hyphens",initial:"none",basic:!0,inherited:!0},{prop:"left",initial:"auto",basic:!0},{prop:"letter-spacing",initial:"normal",basic:!0,inherited:!0},{prop:"list-style",initial:"${list-style-type} ${list-style-position} ${list-style-image}",combined:!0,inherited:!0},{prop:"list-style-image",initial:"none"},{prop:"list-style-position",initial:"outside"},{prop:"list-style-type",initial:"disc"},{prop:"margin",initial:"0",basic:!0},{prop:"margin-bottom",initial:"0"},{prop:"margin-left",initial:"0"},{prop:"margin-right",initial:"0"},{prop:"margin-top",initial:"0"},{prop:"max-height",initial:"none",basic:!0},{prop:"max-width",initial:"none",basic:!0},{prop:"min-height",initial:"0",basic:!0},{prop:"min-width",initial:"0",basic:!0},{prop:"opacity",initial:"1",basic:!0},{prop:"orphans",initial:"2",basic:!0},{prop:"outline",initial:"${outline-width} ${outline-style} ${outline-color}",combined:!0},{prop:"outline-color",initial:"invert"},{prop:"outline-style",initial:"none"},{prop:"outline-width",initial:"medium"},{prop:"overflow",initial:"visible",basic:!0},{prop:"overflow-x",initial:"visible",basic:!0},{prop:"overflow-y",initial:"visible",basic:!0},{prop:"padding",initial:"0",basic:!0},{prop:"padding-bottom",initial:"0"},{prop:"padding-left",initial:"0"},{prop:"padding-right",initial:"0"},{prop:"padding-top",initial:"0"},{prop:"page-break-after",initial:"auto",basic:!0},{prop:"page-break-before",initial:"auto",basic:!0},{prop:"page-break-inside",initial:"auto",basic:!0},{prop:"perspective",initial:"none",basic:!0},{prop:"perspective-origin",initial:"50% 50%",basic:!0},{prop:"position",initial:"static",basic:!0},{prop:"quotes",initial:"“ ” ‘ ’"},{prop:"right",initial:"auto",basic:!0},{prop:"tab-size",initial:"8",basic:!0,inherited:!0},{prop:"table-layout",initial:"auto",basic:!0},{prop:"text-align",initial:"left",basic:!0,inherited:!0},{prop:"text-align-last",initial:"auto",basic:!0,inherited:!0},{prop:"text-decoration",initial:"${text-decoration-line}",combined:!0},{prop:"text-decoration-color",initial:"inherited"},{prop:"text-decoration-color",initial:"currentColor"},{prop:"text-decoration-line",initial:"none"},{prop:"text-decoration-style",initial:"solid"},{prop:"text-indent",initial:"0",basic:!0,inherited:!0},{prop:"text-shadow",initial:"none",basic:!0,inherited:!0},{prop:"text-transform",initial:"none",basic:!0,inherited:!0},{prop:"top",initial:"auto",basic:!0},{prop:"transform",initial:"none",basic:!0},{prop:"transform-origin",initial:"50% 50% 0",basic:!0},{prop:"transform-style",initial:"flat",basic:!0},{prop:"transition",initial:"${transition-property} ${transition-duration} ${transition-timing-function} ${transition-delay}",combined:!0},{prop:"transition-delay",initial:"0s"},{prop:"transition-duration",initial:"0s"},{prop:"transition-property",initial:"none"},{prop:"transition-timing-function",initial:"ease"},{prop:"unicode-bidi",initial:"normal",basic:!0},{prop:"vertical-align",initial:"baseline",basic:!0},{prop:"visibility",initial:"visible",basic:!0,inherited:!0},{prop:"white-space",initial:"normal",basic:!0,inherited:!0},{prop:"widows",initial:"2",basic:!0,inherited:!0},{prop:"width",initial:"auto",basic:!0},{prop:"word-spacing",initial:"normal",basic:!0,inherited:!0},{prop:"z-index",initial:"auto",basic:!0}];var Z5t=J5t;function e4t(t,e){return t.replace(/\$\{([\w\-\.]*)\}/g,function(r,n){var i=e[n];return typeof i<"u"&&i!==null?i:""})}function t4t(t){return t.filter(function(e){return!e.combined}).reduce(function(e,r){return e[r.prop.replace(/\-/g,"")]=r.initial,e},{})}function r4t(t){var e=t4t(t);return t.map(function(r){return r.combined&&r.initial&&(r.initial=e4t(r.initial.replace(/\-/g,""),e)),r})}function n4t(t){return t.reduce(function(e,r){return r.contains?r.contains.reduce(function(n,i){return n[i]=r,n},e):e},{})}function i4t(t){var e=n4t(t);return t.filter(function(r){return!r.contains}).map(function(r){var n=e[r.prop];return n&&(r.requiredBy=n.prop,r.basic=r.basic||n.basic,r.inherited=r.inherited||n.inherited),r})}var rEe=i4t(r4t(Z5t));function o4t(t,e){return t.map(function(r){return{prop:r.prop,value:e.replace(/\binitial\b/g,r.initial)}})}function s4t(t){return rEe.filter(function(e){var r=e.combined||e.basic;return t?r&&e.inherited:r})}function a4t(t){return rEe.filter(function(e){return t===e.prop||t===e.requiredBy})}function l4t(t){return function(e,r){var n;return e==="all"?n=s4t(t):n=a4t(e),o4t(n,r)}}var c4t=l4t,u4t=c4t;JJ.exports=function(e){e=e||{},e.reset=e.reset||"all",e.replace=e.replace||!1;var r=u4t(e.reset==="inherited"),n=function(i,o){var s=!1;return o.parent.walkDecls(function(a){a.prop===o.prop&&a.value!==o.value&&(s=!0)}),s};return{postcssPlugin:"postcss-initial",Declaration:function(i){if(/\binitial\b/.test(i.value)){var o=r(i.prop,i.value);o.length!==0&&(o.forEach(function(s){n(i.prop,i)||i.cloneBefore(s)}),e.replace===!0&&i.remove())}}}};JJ.exports.postcss=!0;var f4t=JJ.exports;const d4t=Io(f4t);var sH={exports:{}},aH={exports:{}},lH={exports:{}},cH={exports:{}},uH={exports:{}},fH={exports:{}},Ic={},dH={exports:{}};(function(t,e){e.__esModule=!0,e.default=i;function r(o){for(var s=o.toLowerCase(),a="",l=!1,c=0;c<6&&s[c]!==void 0;c++){var u=s.charCodeAt(c),f=u>=97&&u<=102||u>=48&&u<=57;if(l=u===32,!f)break;a+=s[c]}if(a.length!==0){var d=parseInt(a,16),p=d>=55296&&d<=57343;return p||d===0||d>1114111?["�",a.length+(l?1:0)]:[String.fromCodePoint(d),a.length+(l?1:0)]}}var n=/\\/;function i(o){var s=n.test(o);if(!s)return o;for(var a="",l=0;l<o.length;l++){if(o[l]==="\\"){var c=r(o.slice(l+1,l+7));if(c!==void 0){a+=c[0],l+=c[1];continue}if(o[l+1]==="\\"){a+="\\",l++;continue}o.length===l+1&&(a+=o[l]);continue}a+=o[l]}return a}t.exports=e.default})(dH,dH.exports);var nEe=dH.exports,pH={exports:{}};(function(t,e){e.__esModule=!0,e.default=r;function r(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];for(;o.length>0;){var a=o.shift();if(!n[a])return;n=n[a]}return n}t.exports=e.default})(pH,pH.exports);var p4t=pH.exports,AH={exports:{}};(function(t,e){e.__esModule=!0,e.default=r;function r(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];for(;o.length>0;){var a=o.shift();n[a]||(n[a]={}),n=n[a]}}t.exports=e.default})(AH,AH.exports);var A4t=AH.exports,hH={exports:{}};(function(t,e){e.__esModule=!0,e.default=r;function r(n){for(var i="",o=n.indexOf("/*"),s=0;o>=0;){i=i+n.slice(s,o);var a=n.indexOf("*/",o+2);if(a<0)return i;s=a+2,o=n.indexOf("/*",s)}return i=i+n.slice(s),i}t.exports=e.default})(hH,hH.exports);var h4t=hH.exports;Ic.__esModule=!0;Ic.unesc=Ic.stripComments=Ic.getProp=Ic.ensureObject=void 0;var m4t=XI(nEe);Ic.unesc=m4t.default;var g4t=XI(p4t);Ic.getProp=g4t.default;var v4t=XI(A4t);Ic.ensureObject=v4t.default;var y4t=XI(h4t);Ic.stripComments=y4t.default;function XI(t){return t&&t.__esModule?t:{default:t}}(function(t,e){e.__esModule=!0,e.default=void 0;var r=Ic;function n(a,l){for(var c=0;c<l.length;c++){var u=l[c];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(a,u.key,u)}}function i(a,l,c){return l&&n(a.prototype,l),c&&n(a,c),Object.defineProperty(a,"prototype",{writable:!1}),a}var o=function a(l,c){if(typeof l!="object"||l===null)return l;var u=new l.constructor;for(var f in l)if(l.hasOwnProperty(f)){var d=l[f],p=typeof d;f==="parent"&&p==="object"?c&&(u[f]=c):d instanceof Array?u[f]=d.map(function(h){return a(h,u)}):u[f]=a(d,u)}return u},s=function(){function a(c){c===void 0&&(c={}),Object.assign(this,c),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var l=a.prototype;return l.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},l.replaceWith=function(){if(this.parent){for(var u in arguments)this.parent.insertBefore(this,arguments[u]);this.remove()}return this},l.next=function(){return this.parent.at(this.parent.index(this)+1)},l.prev=function(){return this.parent.at(this.parent.index(this)-1)},l.clone=function(u){u===void 0&&(u={});var f=o(this);for(var d in u)f[d]=u[d];return f},l.appendToPropertyAndEscape=function(u,f,d){this.raws||(this.raws={});var p=this[u],h=this.raws[u];this[u]=p+f,h||d!==f?this.raws[u]=(h||p)+d:delete this.raws[u]},l.setPropertyAndEscape=function(u,f,d){this.raws||(this.raws={}),this[u]=f,this.raws[u]=d},l.setPropertyWithoutEscape=function(u,f){this[u]=f,this.raws&&delete this.raws[u]},l.isAtPosition=function(u,f){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>u||this.source.end.line<u||this.source.start.line===u&&this.source.start.column>f||this.source.end.line===u&&this.source.end.column<f)},l.stringifyProperty=function(u){return this.raws&&this.raws[u]||this[u]},l.valueToString=function(){return String(this.stringifyProperty("value"))},l.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},i(a,[{key:"rawSpaceBefore",get:function(){var u=this.raws&&this.raws.spaces&&this.raws.spaces.before;return u===void 0&&(u=this.spaces&&this.spaces.before),u||""},set:function(u){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=u}},{key:"rawSpaceAfter",get:function(){var u=this.raws&&this.raws.spaces&&this.raws.spaces.after;return u===void 0&&(u=this.spaces.after),u||""},set:function(u){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=u}}]),a}();e.default=s,t.exports=e.default})(fH,fH.exports);var Gm=fH.exports,En={};En.__esModule=!0;En.UNIVERSAL=En.TAG=En.STRING=En.SELECTOR=En.ROOT=En.PSEUDO=En.NESTING=En.ID=En.COMMENT=En.COMBINATOR=En.CLASS=En.ATTRIBUTE=void 0;var B4t="tag";En.TAG=B4t;var C4t="string";En.STRING=C4t;var b4t="selector";En.SELECTOR=b4t;var w4t="root";En.ROOT=w4t;var x4t="pseudo";En.PSEUDO=x4t;var S4t="nesting";En.NESTING=S4t;var E4t="id";En.ID=E4t;var D4t="comment";En.COMMENT=D4t;var k4t="combinator";En.COMBINATOR=k4t;var O4t="class";En.CLASS=O4t;var P4t="attribute";En.ATTRIBUTE=P4t;var I4t="universal";En.UNIVERSAL=I4t;(function(t,e){e.__esModule=!0,e.default=void 0;var r=s(Gm),n=o(En);function i(A){if(typeof WeakMap!="function")return null;var g=new WeakMap,m=new WeakMap;return(i=function(y){return y?m:g})(A)}function o(A,g){if(!g&&A&&A.__esModule)return A;if(A===null||typeof A!="object"&&typeof A!="function")return{default:A};var m=i(g);if(m&&m.has(A))return m.get(A);var v={},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in A)if(b!=="default"&&Object.prototype.hasOwnProperty.call(A,b)){var B=y?Object.getOwnPropertyDescriptor(A,b):null;B&&(B.get||B.set)?Object.defineProperty(v,b,B):v[b]=A[b]}return v.default=A,m&&m.set(A,v),v}function s(A){return A&&A.__esModule?A:{default:A}}function a(A,g){var m=typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(m)return(m=m.call(A)).next.bind(m);if(Array.isArray(A)||(m=l(A))||g&&A&&typeof A.length=="number"){m&&(A=m);var v=0;return function(){return v>=A.length?{done:!0}:{done:!1,value:A[v++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(A,g){if(A){if(typeof A=="string")return c(A,g);var m=Object.prototype.toString.call(A).slice(8,-1);if(m==="Object"&&A.constructor&&(m=A.constructor.name),m==="Map"||m==="Set")return Array.from(A);if(m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m))return c(A,g)}}function c(A,g){(g==null||g>A.length)&&(g=A.length);for(var m=0,v=new Array(g);m<g;m++)v[m]=A[m];return v}function u(A,g){for(var m=0;m<g.length;m++){var v=g[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(A,v.key,v)}}function f(A,g,m){return g&&u(A.prototype,g),m&&u(A,m),Object.defineProperty(A,"prototype",{writable:!1}),A}function d(A,g){A.prototype=Object.create(g.prototype),A.prototype.constructor=A,p(A,g)}function p(A,g){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,y){return v.__proto__=y,v},p(A,g)}var h=function(A){d(g,A);function g(v){var y;return y=A.call(this,v)||this,y.nodes||(y.nodes=[]),y}var m=g.prototype;return m.append=function(y){return y.parent=this,this.nodes.push(y),this},m.prepend=function(y){return y.parent=this,this.nodes.unshift(y),this},m.at=function(y){return this.nodes[y]},m.index=function(y){return typeof y=="number"?y:this.nodes.indexOf(y)},m.removeChild=function(y){y=this.index(y),this.at(y).parent=void 0,this.nodes.splice(y,1);var b;for(var B in this.indexes)b=this.indexes[B],b>=y&&(this.indexes[B]=b-1);return this},m.removeAll=function(){for(var y=a(this.nodes),b;!(b=y()).done;){var B=b.value;B.parent=void 0}return this.nodes=[],this},m.empty=function(){return this.removeAll()},m.insertAfter=function(y,b){b.parent=this;var B=this.index(y);this.nodes.splice(B+1,0,b),b.parent=this;var S;for(var w in this.indexes)S=this.indexes[w],B<=S&&(this.indexes[w]=S+1);return this},m.insertBefore=function(y,b){b.parent=this;var B=this.index(y);this.nodes.splice(B,0,b),b.parent=this;var S;for(var w in this.indexes)S=this.indexes[w],S<=B&&(this.indexes[w]=S+1);return this},m._findChildAtPosition=function(y,b){var B=void 0;return this.each(function(S){if(S.atPosition){var w=S.atPosition(y,b);if(w)return B=w,!1}else if(S.isAtPosition(y,b))return B=S,!1}),B},m.atPosition=function(y,b){if(this.isAtPosition(y,b))return this._findChildAtPosition(y,b)||this},m._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},m.each=function(y){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var b=this.lastEach;if(this.indexes[b]=0,!!this.length){for(var B,S;this.indexes[b]<this.length&&(B=this.indexes[b],S=y(this.at(B),B),S!==!1);)this.indexes[b]+=1;if(delete this.indexes[b],S===!1)return!1}},m.walk=function(y){return this.each(function(b,B){var S=y(b,B);if(S!==!1&&b.length&&(S=b.walk(y)),S===!1)return!1})},m.walkAttributes=function(y){var b=this;return this.walk(function(B){if(B.type===n.ATTRIBUTE)return y.call(b,B)})},m.walkClasses=function(y){var b=this;return this.walk(function(B){if(B.type===n.CLASS)return y.call(b,B)})},m.walkCombinators=function(y){var b=this;return this.walk(function(B){if(B.type===n.COMBINATOR)return y.call(b,B)})},m.walkComments=function(y){var b=this;return this.walk(function(B){if(B.type===n.COMMENT)return y.call(b,B)})},m.walkIds=function(y){var b=this;return this.walk(function(B){if(B.type===n.ID)return y.call(b,B)})},m.walkNesting=function(y){var b=this;return this.walk(function(B){if(B.type===n.NESTING)return y.call(b,B)})},m.walkPseudos=function(y){var b=this;return this.walk(function(B){if(B.type===n.PSEUDO)return y.call(b,B)})},m.walkTags=function(y){var b=this;return this.walk(function(B){if(B.type===n.TAG)return y.call(b,B)})},m.walkUniversals=function(y){var b=this;return this.walk(function(B){if(B.type===n.UNIVERSAL)return y.call(b,B)})},m.split=function(y){var b=this,B=[];return this.reduce(function(S,w,x){var I=y.call(b,w);return B.push(w),I?(S.push(B),B=[]):x===b.length-1&&S.push(B),S},[])},m.map=function(y){return this.nodes.map(y)},m.reduce=function(y,b){return this.nodes.reduce(y,b)},m.every=function(y){return this.nodes.every(y)},m.some=function(y){return this.nodes.some(y)},m.filter=function(y){return this.nodes.filter(y)},m.sort=function(y){return this.nodes.sort(y)},m.toString=function(){return this.map(String).join("")},f(g,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),g}(r.default);e.default=h,t.exports=e.default})(uH,uH.exports);var ZJ=uH.exports;(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(ZJ),n=En;function i(u){return u&&u.__esModule?u:{default:u}}function o(u,f){for(var d=0;d<f.length;d++){var p=f[d];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(u,p.key,p)}}function s(u,f,d){return f&&o(u.prototype,f),d&&o(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function a(u,f){u.prototype=Object.create(f.prototype),u.prototype.constructor=u,l(u,f)}function l(u,f){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,h){return p.__proto__=h,p},l(u,f)}var c=function(u){a(f,u);function f(p){var h;return h=u.call(this,p)||this,h.type=n.ROOT,h}var d=f.prototype;return d.toString=function(){var h=this.reduce(function(A,g){return A.push(String(g)),A},[]).join(",");return this.trailingComma?h+",":h},d.error=function(h,A){return this._error?this._error(h,A):new Error(h)},s(f,[{key:"errorGenerator",set:function(h){this._error=h}}]),f}(r.default);e.default=c,t.exports=e.default})(cH,cH.exports);var iEe=cH.exports,mH={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(ZJ),n=En;function i(l){return l&&l.__esModule?l:{default:l}}function o(l,c){l.prototype=Object.create(c.prototype),l.prototype.constructor=l,s(l,c)}function s(l,c){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,d){return f.__proto__=d,f},s(l,c)}var a=function(l){o(c,l);function c(u){var f;return f=l.call(this,u)||this,f.type=n.SELECTOR,f}return c}(r.default);e.default=a,t.exports=e.default})(mH,mH.exports);var oEe=mH.exports,gH={exports:{}};/*! https://mths.be/cssesc v3.0.0 by @mathias */var N4t={},F4t=N4t.hasOwnProperty,T4t=function(e,r){if(!e)return r;var n={};for(var i in r)n[i]=F4t.call(e,i)?e[i]:r[i];return n},L4t=/[ -,\.\/:-@\[-\^`\{-~]/,R4t=/[ -,\.\/:-@\[\]\^`\{-~]/,M4t=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,eZ=function t(e,r){r=T4t(r,t.options),r.quotes!="single"&&r.quotes!="double"&&(r.quotes="single");for(var n=r.quotes=="double"?'"':"'",i=r.isIdentifier,o=e.charAt(0),s="",a=0,l=e.length;a<l;){var c=e.charAt(a++),u=c.charCodeAt(),f=void 0;if(u<32||u>126){if(u>=55296&&u<=56319&&a<l){var d=e.charCodeAt(a++);(d&64512)==56320?u=((u&1023)<<10)+(d&1023)+65536:a--}f="\\"+u.toString(16).toUpperCase()+" "}else r.escapeEverything?L4t.test(c)?f="\\"+c:f="\\"+u.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(c)?f="\\"+u.toString(16).toUpperCase()+" ":c=="\\"||!i&&(c=='"'&&n==c||c=="'"&&n==c)||i&&R4t.test(c)?f="\\"+c:f=c;s+=f}return i&&(/^-[-\d]/.test(s)?s="\\-"+s.slice(1):/\d/.test(o)&&(s="\\3"+o+" "+s.slice(1))),s=s.replace(M4t,function(p,h,A){return h&&h.length%2?p:(h||"")+A}),!i&&r.wrap?n+s+n:s};eZ.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};eZ.version="3.0.0";var tZ=eZ;(function(t,e){e.__esModule=!0,e.default=void 0;var r=s(tZ),n=Ic,i=s(Gm),o=En;function s(d){return d&&d.__esModule?d:{default:d}}function a(d,p){for(var h=0;h<p.length;h++){var A=p[h];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(d,A.key,A)}}function l(d,p,h){return p&&a(d.prototype,p),h&&a(d,h),Object.defineProperty(d,"prototype",{writable:!1}),d}function c(d,p){d.prototype=Object.create(p.prototype),d.prototype.constructor=d,u(d,p)}function u(d,p){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(A,g){return A.__proto__=g,A},u(d,p)}var f=function(d){c(p,d);function p(A){var g;return g=d.call(this,A)||this,g.type=o.CLASS,g._constructed=!0,g}var h=p.prototype;return h.valueToString=function(){return"."+d.prototype.valueToString.call(this)},l(p,[{key:"value",get:function(){return this._value},set:function(g){if(this._constructed){var m=(0,r.default)(g,{isIdentifier:!0});m!==g?((0,n.ensureObject)(this,"raws"),this.raws.value=m):this.raws&&delete this.raws.value}this._value=g}}]),p}(i.default);e.default=f,t.exports=e.default})(gH,gH.exports);var sEe=gH.exports,vH={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(Gm),n=En;function i(l){return l&&l.__esModule?l:{default:l}}function o(l,c){l.prototype=Object.create(c.prototype),l.prototype.constructor=l,s(l,c)}function s(l,c){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,d){return f.__proto__=d,f},s(l,c)}var a=function(l){o(c,l);function c(u){var f;return f=l.call(this,u)||this,f.type=n.COMMENT,f}return c}(r.default);e.default=a,t.exports=e.default})(vH,vH.exports);var aEe=vH.exports,yH={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(Gm),n=En;function i(l){return l&&l.__esModule?l:{default:l}}function o(l,c){l.prototype=Object.create(c.prototype),l.prototype.constructor=l,s(l,c)}function s(l,c){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,d){return f.__proto__=d,f},s(l,c)}var a=function(l){o(c,l);function c(f){var d;return d=l.call(this,f)||this,d.type=n.ID,d}var u=c.prototype;return u.valueToString=function(){return"#"+l.prototype.valueToString.call(this)},c}(r.default);e.default=a,t.exports=e.default})(yH,yH.exports);var lEe=yH.exports,BH={exports:{}},CH={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=o(tZ),n=Ic,i=o(Gm);function o(f){return f&&f.__esModule?f:{default:f}}function s(f,d){for(var p=0;p<d.length;p++){var h=d[p];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(f,h.key,h)}}function a(f,d,p){return d&&s(f.prototype,d),p&&s(f,p),Object.defineProperty(f,"prototype",{writable:!1}),f}function l(f,d){f.prototype=Object.create(d.prototype),f.prototype.constructor=f,c(f,d)}function c(f,d){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(h,A){return h.__proto__=A,h},c(f,d)}var u=function(f){l(d,f);function d(){return f.apply(this,arguments)||this}var p=d.prototype;return p.qualifiedName=function(A){return this.namespace?this.namespaceString+"|"+A:A},p.valueToString=function(){return this.qualifiedName(f.prototype.valueToString.call(this))},a(d,[{key:"namespace",get:function(){return this._namespace},set:function(A){if(A===!0||A==="*"||A==="&"){this._namespace=A,this.raws&&delete this.raws.namespace;return}var g=(0,r.default)(A,{isIdentifier:!0});this._namespace=A,g!==A?((0,n.ensureObject)(this,"raws"),this.raws.namespace=g):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(A){this.namespace=A}},{key:"namespaceString",get:function(){if(this.namespace){var A=this.stringifyProperty("namespace");return A===!0?"":A}else return""}}]),d}(i.default);e.default=u,t.exports=e.default})(CH,CH.exports);var rZ=CH.exports;(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(rZ),n=En;function i(l){return l&&l.__esModule?l:{default:l}}function o(l,c){l.prototype=Object.create(c.prototype),l.prototype.constructor=l,s(l,c)}function s(l,c){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,d){return f.__proto__=d,f},s(l,c)}var a=function(l){o(c,l);function c(u){var f;return f=l.call(this,u)||this,f.type=n.TAG,f}return c}(r.default);e.default=a,t.exports=e.default})(BH,BH.exports);var cEe=BH.exports,bH={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(Gm),n=En;function i(l){return l&&l.__esModule?l:{default:l}}function o(l,c){l.prototype=Object.create(c.prototype),l.prototype.constructor=l,s(l,c)}function s(l,c){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,d){return f.__proto__=d,f},s(l,c)}var a=function(l){o(c,l);function c(u){var f;return f=l.call(this,u)||this,f.type=n.STRING,f}return c}(r.default);e.default=a,t.exports=e.default})(bH,bH.exports);var uEe=bH.exports,wH={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(ZJ),n=En;function i(l){return l&&l.__esModule?l:{default:l}}function o(l,c){l.prototype=Object.create(c.prototype),l.prototype.constructor=l,s(l,c)}function s(l,c){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,d){return f.__proto__=d,f},s(l,c)}var a=function(l){o(c,l);function c(f){var d;return d=l.call(this,f)||this,d.type=n.PSEUDO,d}var u=c.prototype;return u.toString=function(){var d=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),d,this.rawSpaceAfter].join("")},c}(r.default);e.default=a,t.exports=e.default})(wH,wH.exports);var fEe=wH.exports,nZ={},_4t=j4t;function j4t(t,e){if(B_("noDeprecation"))return t;var r=!1;function n(){if(!r){if(B_("throwDeprecation"))throw new Error(e);B_("traceDeprecation")?console.trace(e):console.warn(e),r=!0}return t.apply(this,arguments)}return n}function B_(t){try{if(!fQ.localStorage)return!1}catch{return!1}var e=fQ.localStorage[t];return e==null?!1:String(e).toLowerCase()==="true"}(function(t){t.__esModule=!0,t.default=void 0,t.unescapeValue=g;var e=s(tZ),r=s(nEe),n=s(rZ),i=En,o;function s(B){return B&&B.__esModule?B:{default:B}}function a(B,S){for(var w=0;w<S.length;w++){var x=S[w];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(B,x.key,x)}}function l(B,S,w){return S&&a(B.prototype,S),w&&a(B,w),Object.defineProperty(B,"prototype",{writable:!1}),B}function c(B,S){B.prototype=Object.create(S.prototype),B.prototype.constructor=B,u(B,S)}function u(B,S){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(x,I){return x.__proto__=I,x},u(B,S)}var f=_4t,d=/^('|")([^]*)\1$/,p=f(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),h=f(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),A=f(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function g(B){var S=!1,w=null,x=B,I=x.match(d);return I&&(w=I[1],x=I[2]),x=(0,r.default)(x),x!==B&&(S=!0),{deprecatedUsage:S,unescaped:x,quoteMark:w}}function m(B){if(B.quoteMark!==void 0||B.value===void 0)return B;A();var S=g(B.value),w=S.quoteMark,x=S.unescaped;return B.raws||(B.raws={}),B.raws.value===void 0&&(B.raws.value=B.value),B.value=x,B.quoteMark=w,B}var v=function(B){c(S,B);function S(x){var I;return x===void 0&&(x={}),I=B.call(this,m(x))||this,I.type=i.ATTRIBUTE,I.raws=I.raws||{},Object.defineProperty(I.raws,"unquoted",{get:f(function(){return I.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:f(function(){return I.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),I._constructed=!0,I}var w=S.prototype;return w.getQuotedValue=function(I){I===void 0&&(I={});var F=this._determineQuoteMark(I),k=y[F],O=(0,e.default)(this._value,k);return O},w._determineQuoteMark=function(I){return I.smart?this.smartQuoteMark(I):this.preferredQuoteMark(I)},w.setValue=function(I,F){F===void 0&&(F={}),this._value=I,this._quoteMark=this._determineQuoteMark(F),this._syncRawValue()},w.smartQuoteMark=function(I){var F=this.value,k=F.replace(/[^']/g,"").length,O=F.replace(/[^"]/g,"").length;if(k+O===0){var L=(0,e.default)(F,{isIdentifier:!0});if(L===F)return S.NO_QUOTE;var M=this.preferredQuoteMark(I);if(M===S.NO_QUOTE){var H=this.quoteMark||I.quoteMark||S.DOUBLE_QUOTE,V=y[H],j=(0,e.default)(F,V);if(j.length<L.length)return H}return M}else return O===k?this.preferredQuoteMark(I):O<k?S.DOUBLE_QUOTE:S.SINGLE_QUOTE},w.preferredQuoteMark=function(I){var F=I.preferCurrentQuoteMark?this.quoteMark:I.quoteMark;return F===void 0&&(F=I.preferCurrentQuoteMark?I.quoteMark:this.quoteMark),F===void 0&&(F=S.DOUBLE_QUOTE),F},w._syncRawValue=function(){var I=(0,e.default)(this._value,y[this.quoteMark]);I===this._value?this.raws&&delete this.raws.value:this.raws.value=I},w._handleEscapes=function(I,F){if(this._constructed){var k=(0,e.default)(F,{isIdentifier:!0});k!==F?this.raws[I]=k:delete this.raws[I]}},w._spacesFor=function(I){var F={before:"",after:""},k=this.spaces[I]||{},O=this.raws.spaces&&this.raws.spaces[I]||{};return Object.assign(F,k,O)},w._stringFor=function(I,F,k){F===void 0&&(F=I),k===void 0&&(k=b);var O=this._spacesFor(F);return k(this.stringifyProperty(I),O)},w.offsetOf=function(I){var F=1,k=this._spacesFor("attribute");if(F+=k.before.length,I==="namespace"||I==="ns")return this.namespace?F:-1;if(I==="attributeNS"||(F+=this.namespaceString.length,this.namespace&&(F+=1),I==="attribute"))return F;F+=this.stringifyProperty("attribute").length,F+=k.after.length;var O=this._spacesFor("operator");F+=O.before.length;var L=this.stringifyProperty("operator");if(I==="operator")return L?F:-1;F+=L.length,F+=O.after.length;var M=this._spacesFor("value");F+=M.before.length;var H=this.stringifyProperty("value");if(I==="value")return H?F:-1;F+=H.length,F+=M.after.length;var V=this._spacesFor("insensitive");return F+=V.before.length,I==="insensitive"&&this.insensitive?F:-1},w.toString=function(){var I=this,F=[this.rawSpaceBefore,"["];return F.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(F.push(this._stringFor("operator")),F.push(this._stringFor("value")),F.push(this._stringFor("insensitiveFlag","insensitive",function(k,O){return k.length>0&&!I.quoted&&O.before.length===0&&!(I.spaces.value&&I.spaces.value.after)&&(O.before=" "),b(k,O)}))),F.push("]"),F.push(this.rawSpaceAfter),F.join("")},l(S,[{key:"quoted",get:function(){var I=this.quoteMark;return I==="'"||I==='"'},set:function(I){h()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(I){if(!this._constructed){this._quoteMark=I;return}this._quoteMark!==I&&(this._quoteMark=I,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(I){if(this._constructed){var F=g(I),k=F.deprecatedUsage,O=F.unescaped,L=F.quoteMark;if(k&&p(),O===this._value&&L===this._quoteMark)return;this._value=O,this._quoteMark=L,this._syncRawValue()}else this._value=I}},{key:"insensitive",get:function(){return this._insensitive},set:function(I){I||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=I}},{key:"attribute",get:function(){return this._attribute},set:function(I){this._handleEscapes("attribute",I),this._attribute=I}}]),S}(n.default);t.default=v,v.NO_QUOTE=null,v.SINGLE_QUOTE="'",v.DOUBLE_QUOTE='"';var y=(o={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},o[null]={isIdentifier:!0},o);function b(B,S){return""+S.before+B+S.after}})(nZ);var xH={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(rZ),n=En;function i(l){return l&&l.__esModule?l:{default:l}}function o(l,c){l.prototype=Object.create(c.prototype),l.prototype.constructor=l,s(l,c)}function s(l,c){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,d){return f.__proto__=d,f},s(l,c)}var a=function(l){o(c,l);function c(u){var f;return f=l.call(this,u)||this,f.type=n.UNIVERSAL,f.value="*",f}return c}(r.default);e.default=a,t.exports=e.default})(xH,xH.exports);var dEe=xH.exports,SH={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(Gm),n=En;function i(l){return l&&l.__esModule?l:{default:l}}function o(l,c){l.prototype=Object.create(c.prototype),l.prototype.constructor=l,s(l,c)}function s(l,c){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,d){return f.__proto__=d,f},s(l,c)}var a=function(l){o(c,l);function c(u){var f;return f=l.call(this,u)||this,f.type=n.COMBINATOR,f}return c}(r.default);e.default=a,t.exports=e.default})(SH,SH.exports);var pEe=SH.exports,EH={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(Gm),n=En;function i(l){return l&&l.__esModule?l:{default:l}}function o(l,c){l.prototype=Object.create(c.prototype),l.prototype.constructor=l,s(l,c)}function s(l,c){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,d){return f.__proto__=d,f},s(l,c)}var a=function(l){o(c,l);function c(u){var f;return f=l.call(this,u)||this,f.type=n.NESTING,f.value="&",f}return c}(r.default);e.default=a,t.exports=e.default})(EH,EH.exports);var AEe=EH.exports,DH={exports:{}};(function(t,e){e.__esModule=!0,e.default=r;function r(n){return n.sort(function(i,o){return i-o})}t.exports=e.default})(DH,DH.exports);var U4t=DH.exports,hEe={},Er={};Er.__esModule=!0;Er.word=Er.tilde=Er.tab=Er.str=Er.space=Er.slash=Er.singleQuote=Er.semicolon=Er.plus=Er.pipe=Er.openSquare=Er.openParenthesis=Er.newline=Er.greaterThan=Er.feed=Er.equals=Er.doubleQuote=Er.dollar=Er.cr=Er.comment=Er.comma=Er.combinator=Er.colon=Er.closeSquare=Er.closeParenthesis=Er.caret=Er.bang=Er.backslash=Er.at=Er.asterisk=Er.ampersand=void 0;var Q4t=38;Er.ampersand=Q4t;var V4t=42;Er.asterisk=V4t;var $4t=64;Er.at=$4t;var H4t=44;Er.comma=H4t;var G4t=58;Er.colon=G4t;var W4t=59;Er.semicolon=W4t;var z4t=40;Er.openParenthesis=z4t;var K4t=41;Er.closeParenthesis=K4t;var q4t=91;Er.openSquare=q4t;var X4t=93;Er.closeSquare=X4t;var Y4t=36;Er.dollar=Y4t;var J4t=126;Er.tilde=J4t;var Z4t=94;Er.caret=Z4t;var e3t=43;Er.plus=e3t;var t3t=61;Er.equals=t3t;var r3t=124;Er.pipe=r3t;var n3t=62;Er.greaterThan=n3t;var i3t=32;Er.space=i3t;var mEe=39;Er.singleQuote=mEe;var o3t=34;Er.doubleQuote=o3t;var s3t=47;Er.slash=s3t;var a3t=33;Er.bang=a3t;var l3t=92;Er.backslash=l3t;var c3t=13;Er.cr=c3t;var u3t=12;Er.feed=u3t;var f3t=10;Er.newline=f3t;var d3t=9;Er.tab=d3t;var p3t=mEe;Er.str=p3t;var A3t=-1;Er.comment=A3t;var h3t=-2;Er.word=h3t;var m3t=-3;Er.combinator=m3t;(function(t){t.__esModule=!0,t.FIELDS=void 0,t.default=h;var e=o(Er),r,n;function i(A){if(typeof WeakMap!="function")return null;var g=new WeakMap,m=new WeakMap;return(i=function(y){return y?m:g})(A)}function o(A,g){if(!g&&A&&A.__esModule)return A;if(A===null||typeof A!="object"&&typeof A!="function")return{default:A};var m=i(g);if(m&&m.has(A))return m.get(A);var v={},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in A)if(b!=="default"&&Object.prototype.hasOwnProperty.call(A,b)){var B=y?Object.getOwnPropertyDescriptor(A,b):null;B&&(B.get||B.set)?Object.defineProperty(v,b,B):v[b]=A[b]}return v.default=A,m&&m.set(A,v),v}for(var s=(r={},r[e.tab]=!0,r[e.newline]=!0,r[e.cr]=!0,r[e.feed]=!0,r),a=(n={},n[e.space]=!0,n[e.tab]=!0,n[e.newline]=!0,n[e.cr]=!0,n[e.feed]=!0,n[e.ampersand]=!0,n[e.asterisk]=!0,n[e.bang]=!0,n[e.comma]=!0,n[e.colon]=!0,n[e.semicolon]=!0,n[e.openParenthesis]=!0,n[e.closeParenthesis]=!0,n[e.openSquare]=!0,n[e.closeSquare]=!0,n[e.singleQuote]=!0,n[e.doubleQuote]=!0,n[e.plus]=!0,n[e.pipe]=!0,n[e.tilde]=!0,n[e.greaterThan]=!0,n[e.equals]=!0,n[e.dollar]=!0,n[e.caret]=!0,n[e.slash]=!0,n),l={},c="0123456789abcdefABCDEF",u=0;u<c.length;u++)l[c.charCodeAt(u)]=!0;function f(A,g){var m=g,v;do{if(v=A.charCodeAt(m),a[v])return m-1;v===e.backslash?m=d(A,m)+1:m++}while(m<A.length);return m-1}function d(A,g){var m=g,v=A.charCodeAt(m+1);if(!s[v])if(l[v]){var y=0;do m++,y++,v=A.charCodeAt(m+1);while(l[v]&&y<6);y<6&&v===e.space&&m++}else m++;return m}var p={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};t.FIELDS=p;function h(A){var g=[],m=A.css.valueOf(),v=m,y=v.length,b=-1,B=1,S=0,w=0,x,I,F,k,O,L,M,H,V,j,R,Q,z;function X(_,G){if(A.safe)m+=G,V=m.length-1;else throw A.error("Unclosed "+_,B,S-b,S)}for(;S<y;){switch(x=m.charCodeAt(S),x===e.newline&&(b=S,B+=1),x){case e.space:case e.tab:case e.newline:case e.cr:case e.feed:V=S;do V+=1,x=m.charCodeAt(V),x===e.newline&&(b=V,B+=1);while(x===e.space||x===e.newline||x===e.tab||x===e.cr||x===e.feed);z=e.space,k=B,F=V-b-1,w=V;break;case e.plus:case e.greaterThan:case e.tilde:case e.pipe:V=S;do V+=1,x=m.charCodeAt(V);while(x===e.plus||x===e.greaterThan||x===e.tilde||x===e.pipe);z=e.combinator,k=B,F=S-b,w=V;break;case e.asterisk:case e.ampersand:case e.bang:case e.comma:case e.equals:case e.dollar:case e.caret:case e.openSquare:case e.closeSquare:case e.colon:case e.semicolon:case e.openParenthesis:case e.closeParenthesis:V=S,z=x,k=B,F=S-b,w=V+1;break;case e.singleQuote:case e.doubleQuote:Q=x===e.singleQuote?"'":'"',V=S;do for(O=!1,V=m.indexOf(Q,V+1),V===-1&&X("quote",Q),L=V;m.charCodeAt(L-1)===e.backslash;)L-=1,O=!O;while(O);z=e.str,k=B,F=S-b,w=V+1;break;default:x===e.slash&&m.charCodeAt(S+1)===e.asterisk?(V=m.indexOf("*/",S+2)+1,V===0&&X("comment","*/"),I=m.slice(S,V+1),H=I.split(` `),M=H.length-1,M>0?(j=B+M,R=V-H[M].length):(j=B,R=b),z=e.comment,B=j,k=j,F=V-R):x===e.slash?(V=S,z=x,k=B,F=S-b,w=V+1):(V=f(m,S),z=e.word,k=B,F=V-b),w=V+1;break}g.push([z,B,S-b,k,F,S,w]),R&&(b=R,R=null),S=w}return g}})(hEe);(function(t,e){e.__esModule=!0,e.default=void 0;var r=w(iEe),n=w(oEe),i=w(sEe),o=w(aEe),s=w(lEe),a=w(cEe),l=w(uEe),c=w(fEe),u=S(nZ),f=w(dEe),d=w(pEe),p=w(AEe),h=w(U4t),A=S(hEe),g=S(Er),m=S(En),v=Ic,y,b;function B(X){if(typeof WeakMap!="function")return null;var _=new WeakMap,G=new WeakMap;return(B=function(J){return J?G:_})(X)}function S(X,_){if(!_&&X&&X.__esModule)return X;if(X===null||typeof X!="object"&&typeof X!="function")return{default:X};var G=B(_);if(G&&G.has(X))return G.get(X);var W={},J=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ee in X)if(ee!=="default"&&Object.prototype.hasOwnProperty.call(X,ee)){var q=J?Object.getOwnPropertyDescriptor(X,ee):null;q&&(q.get||q.set)?Object.defineProperty(W,ee,q):W[ee]=X[ee]}return W.default=X,G&&G.set(X,W),W}function w(X){return X&&X.__esModule?X:{default:X}}function x(X,_){for(var G=0;G<_.length;G++){var W=_[G];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(X,W.key,W)}}function I(X,_,G){return _&&x(X.prototype,_),G&&x(X,G),Object.defineProperty(X,"prototype",{writable:!1}),X}var F=(y={},y[g.space]=!0,y[g.cr]=!0,y[g.feed]=!0,y[g.newline]=!0,y[g.tab]=!0,y),k=Object.assign({},F,(b={},b[g.comment]=!0,b));function O(X){return{line:X[A.FIELDS.START_LINE],column:X[A.FIELDS.START_COL]}}function L(X){return{line:X[A.FIELDS.END_LINE],column:X[A.FIELDS.END_COL]}}function M(X,_,G,W){return{start:{line:X,column:_},end:{line:G,column:W}}}function H(X){return M(X[A.FIELDS.START_LINE],X[A.FIELDS.START_COL],X[A.FIELDS.END_LINE],X[A.FIELDS.END_COL])}function V(X,_){if(X)return M(X[A.FIELDS.START_LINE],X[A.FIELDS.START_COL],_[A.FIELDS.END_LINE],_[A.FIELDS.END_COL])}function j(X,_){var G=X[_];if(typeof G=="string")return G.indexOf("\\")!==-1&&((0,v.ensureObject)(X,"raws"),X[_]=(0,v.unesc)(G),X.raws[_]===void 0&&(X.raws[_]=G)),X}function R(X,_){for(var G=-1,W=[];(G=X.indexOf(_,G+1))!==-1;)W.push(G);return W}function Q(){var X=Array.prototype.concat.apply([],arguments);return X.filter(function(_,G){return G===X.indexOf(_)})}var z=function(){function X(G,W){W===void 0&&(W={}),this.rule=G,this.options=Object.assign({lossy:!1,safe:!1},W),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,A.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var J=V(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new r.default({source:J}),this.root.errorGenerator=this._errorGenerator();var ee=new n.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(ee),this.current=ee,this.loop()}var _=X.prototype;return _._errorGenerator=function(){var W=this;return function(J,ee){return typeof W.rule=="string"?new Error(J):W.rule.error(J,ee)}},_.attribute=function(){var W=[],J=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[A.FIELDS.TYPE]!==g.closeSquare;)W.push(this.currToken),this.position++;if(this.currToken[A.FIELDS.TYPE]!==g.closeSquare)return this.expected("closing square bracket",this.currToken[A.FIELDS.START_POS]);var ee=W.length,q={source:M(J[1],J[2],this.currToken[3],this.currToken[4]),sourceIndex:J[A.FIELDS.START_POS]};if(ee===1&&!~[g.word].indexOf(W[0][A.FIELDS.TYPE]))return this.expected("attribute",W[0][A.FIELDS.START_POS]);for(var Z=0,re="",fe="",de=null,ie=!1;Z<ee;){var le=W[Z],De=this.content(le),Ae=W[Z+1];switch(le[A.FIELDS.TYPE]){case g.space:if(ie=!0,this.options.lossy)break;if(de){(0,v.ensureObject)(q,"spaces",de);var ue=q.spaces[de].after||"";q.spaces[de].after=ue+De;var Ne=(0,v.getProp)(q,"raws","spaces",de,"after")||null;Ne&&(q.raws.spaces[de].after=Ne+De)}else re=re+De,fe=fe+De;break;case g.asterisk:if(Ae[A.FIELDS.TYPE]===g.equals)q.operator=De,de="operator";else if((!q.namespace||de==="namespace"&&!ie)&&Ae){re&&((0,v.ensureObject)(q,"spaces","attribute"),q.spaces.attribute.before=re,re=""),fe&&((0,v.ensureObject)(q,"raws","spaces","attribute"),q.raws.spaces.attribute.before=re,fe=""),q.namespace=(q.namespace||"")+De;var Te=(0,v.getProp)(q,"raws","namespace")||null;Te&&(q.raws.namespace+=De),de="namespace"}ie=!1;break;case g.dollar:if(de==="value"){var Re=(0,v.getProp)(q,"raws","value");q.value+="$",Re&&(q.raws.value=Re+"$");break}case g.caret:Ae[A.FIELDS.TYPE]===g.equals&&(q.operator=De,de="operator"),ie=!1;break;case g.combinator:if(De==="~"&&Ae[A.FIELDS.TYPE]===g.equals&&(q.operator=De,de="operator"),De!=="|"){ie=!1;break}Ae[A.FIELDS.TYPE]===g.equals?(q.operator=De,de="operator"):!q.namespace&&!q.attribute&&(q.namespace=!0),ie=!1;break;case g.word:if(Ae&&this.content(Ae)==="|"&&W[Z+2]&&W[Z+2][A.FIELDS.TYPE]!==g.equals&&!q.operator&&!q.namespace)q.namespace=De,de="namespace";else if(!q.attribute||de==="attribute"&&!ie){re&&((0,v.ensureObject)(q,"spaces","attribute"),q.spaces.attribute.before=re,re=""),fe&&((0,v.ensureObject)(q,"raws","spaces","attribute"),q.raws.spaces.attribute.before=fe,fe=""),q.attribute=(q.attribute||"")+De;var je=(0,v.getProp)(q,"raws","attribute")||null;je&&(q.raws.attribute+=De),de="attribute"}else if(!q.value&&q.value!==""||de==="value"&&!(ie||q.quoteMark)){var Ve=(0,v.unesc)(De),ze=(0,v.getProp)(q,"raws","value")||"",lt=q.value||"";q.value=lt+Ve,q.quoteMark=null,(Ve!==De||ze)&&((0,v.ensureObject)(q,"raws"),q.raws.value=(ze||lt)+De),de="value"}else{var gt=De==="i"||De==="I";(q.value||q.value==="")&&(q.quoteMark||ie)?(q.insensitive=gt,(!gt||De==="I")&&((0,v.ensureObject)(q,"raws"),q.raws.insensitiveFlag=De),de="insensitive",re&&((0,v.ensureObject)(q,"spaces","insensitive"),q.spaces.insensitive.before=re,re=""),fe&&((0,v.ensureObject)(q,"raws","spaces","insensitive"),q.raws.spaces.insensitive.before=fe,fe="")):(q.value||q.value==="")&&(de="value",q.value+=De,q.raws.value&&(q.raws.value+=De))}ie=!1;break;case g.str:if(!q.attribute||!q.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:le[A.FIELDS.START_POS]});var _t=(0,u.unescapeValue)(De),U=_t.unescaped,D=_t.quoteMark;q.value=U,q.quoteMark=D,de="value",(0,v.ensureObject)(q,"raws"),q.raws.value=De,ie=!1;break;case g.equals:if(!q.attribute)return this.expected("attribute",le[A.FIELDS.START_POS],De);if(q.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:le[A.FIELDS.START_POS]});q.operator=q.operator?q.operator+De:De,de="operator",ie=!1;break;case g.comment:if(de)if(ie||Ae&&Ae[A.FIELDS.TYPE]===g.space||de==="insensitive"){var N=(0,v.getProp)(q,"spaces",de,"after")||"",Y=(0,v.getProp)(q,"raws","spaces",de,"after")||N;(0,v.ensureObject)(q,"raws","spaces",de),q.raws.spaces[de].after=Y+De}else{var pe=q[de]||"",be=(0,v.getProp)(q,"raws",de)||pe;(0,v.ensureObject)(q,"raws"),q.raws[de]=be+De}else fe=fe+De;break;default:return this.error('Unexpected "'+De+'" found.',{index:le[A.FIELDS.START_POS]})}Z++}j(q,"attribute"),j(q,"namespace"),this.newNode(new u.default(q)),this.position++},_.parseWhitespaceEquivalentTokens=function(W){W<0&&(W=this.tokens.length);var J=this.position,ee=[],q="",Z=void 0;do if(F[this.currToken[A.FIELDS.TYPE]])this.options.lossy||(q+=this.content());else if(this.currToken[A.FIELDS.TYPE]===g.comment){var re={};q&&(re.before=q,q=""),Z=new o.default({value:this.content(),source:H(this.currToken),sourceIndex:this.currToken[A.FIELDS.START_POS],spaces:re}),ee.push(Z)}while(++this.position<W);if(q){if(Z)Z.spaces.after=q;else if(!this.options.lossy){var fe=this.tokens[J],de=this.tokens[this.position-1];ee.push(new l.default({value:"",source:M(fe[A.FIELDS.START_LINE],fe[A.FIELDS.START_COL],de[A.FIELDS.END_LINE],de[A.FIELDS.END_COL]),sourceIndex:fe[A.FIELDS.START_POS],spaces:{before:q,after:""}}))}}return ee},_.convertWhitespaceNodesToSpace=function(W,J){var ee=this;J===void 0&&(J=!1);var q="",Z="";W.forEach(function(fe){var de=ee.lossySpace(fe.spaces.before,J),ie=ee.lossySpace(fe.rawSpaceBefore,J);q+=de+ee.lossySpace(fe.spaces.after,J&&de.length===0),Z+=de+fe.value+ee.lossySpace(fe.rawSpaceAfter,J&&ie.length===0)}),Z===q&&(Z=void 0);var re={space:q,rawSpace:Z};return re},_.isNamedCombinator=function(W){return W===void 0&&(W=this.position),this.tokens[W+0]&&this.tokens[W+0][A.FIELDS.TYPE]===g.slash&&this.tokens[W+1]&&this.tokens[W+1][A.FIELDS.TYPE]===g.word&&this.tokens[W+2]&&this.tokens[W+2][A.FIELDS.TYPE]===g.slash},_.namedCombinator=function(){if(this.isNamedCombinator()){var W=this.content(this.tokens[this.position+1]),J=(0,v.unesc)(W).toLowerCase(),ee={};J!==W&&(ee.value="/"+W+"/");var q=new d.default({value:"/"+J+"/",source:M(this.currToken[A.FIELDS.START_LINE],this.currToken[A.FIELDS.START_COL],this.tokens[this.position+2][A.FIELDS.END_LINE],this.tokens[this.position+2][A.FIELDS.END_COL]),sourceIndex:this.currToken[A.FIELDS.START_POS],raws:ee});return this.position=this.position+3,q}else this.unexpected()},_.combinator=function(){var W=this;if(this.content()==="|")return this.namespace();var J=this.locateNextMeaningfulToken(this.position);if(J<0||this.tokens[J][A.FIELDS.TYPE]===g.comma||this.tokens[J][A.FIELDS.TYPE]===g.closeParenthesis){var ee=this.parseWhitespaceEquivalentTokens(J);if(ee.length>0){var q=this.current.last;if(q){var Z=this.convertWhitespaceNodesToSpace(ee),re=Z.space,fe=Z.rawSpace;fe!==void 0&&(q.rawSpaceAfter+=fe),q.spaces.after+=re}else ee.forEach(function(ze){return W.newNode(ze)})}return}var de=this.currToken,ie=void 0;J>this.position&&(ie=this.parseWhitespaceEquivalentTokens(J));var le;if(this.isNamedCombinator()?le=this.namedCombinator():this.currToken[A.FIELDS.TYPE]===g.combinator?(le=new d.default({value:this.content(),source:H(this.currToken),sourceIndex:this.currToken[A.FIELDS.START_POS]}),this.position++):F[this.currToken[A.FIELDS.TYPE]]||ie||this.unexpected(),le){if(ie){var De=this.convertWhitespaceNodesToSpace(ie),Ae=De.space,ue=De.rawSpace;le.spaces.before=Ae,le.rawSpaceBefore=ue}}else{var Ne=this.convertWhitespaceNodesToSpace(ie,!0),Te=Ne.space,Re=Ne.rawSpace;Re||(Re=Te);var je={},Ve={spaces:{}};Te.endsWith(" ")&&Re.endsWith(" ")?(je.before=Te.slice(0,Te.length-1),Ve.spaces.before=Re.slice(0,Re.length-1)):Te.startsWith(" ")&&Re.startsWith(" ")?(je.after=Te.slice(1),Ve.spaces.after=Re.slice(1)):Ve.value=Re,le=new d.default({value:" ",source:V(de,this.tokens[this.position-1]),sourceIndex:de[A.FIELDS.START_POS],spaces:je,raws:Ve})}return this.currToken&&this.currToken[A.FIELDS.TYPE]===g.space&&(le.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(le)},_.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var W=new n.default({source:{start:O(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][A.FIELDS.START_POS]});this.current.parent.append(W),this.current=W,this.position++},_.comment=function(){var W=this.currToken;this.newNode(new o.default({value:this.content(),source:H(W),sourceIndex:W[A.FIELDS.START_POS]})),this.position++},_.error=function(W,J){throw this.root.error(W,J)},_.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[A.FIELDS.START_POS]})},_.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[A.FIELDS.START_POS])},_.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[A.FIELDS.START_POS])},_.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[A.FIELDS.START_POS])},_.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[A.FIELDS.START_POS])},_.namespace=function(){var W=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[A.FIELDS.TYPE]===g.word)return this.position++,this.word(W);if(this.nextToken[A.FIELDS.TYPE]===g.asterisk)return this.position++,this.universal(W);this.unexpectedPipe()},_.nesting=function(){if(this.nextToken){var W=this.content(this.nextToken);if(W==="|"){this.position++;return}}var J=this.currToken;this.newNode(new p.default({value:this.content(),source:H(J),sourceIndex:J[A.FIELDS.START_POS]})),this.position++},_.parentheses=function(){var W=this.current.last,J=1;if(this.position++,W&&W.type===m.PSEUDO){var ee=new n.default({source:{start:O(this.tokens[this.position])},sourceIndex:this.tokens[this.position][A.FIELDS.START_POS]}),q=this.current;for(W.append(ee),this.current=ee;this.position<this.tokens.length&&J;)this.currToken[A.FIELDS.TYPE]===g.openParenthesis&&J++,this.currToken[A.FIELDS.TYPE]===g.closeParenthesis&&J--,J?this.parse():(this.current.source.end=L(this.currToken),this.current.parent.source.end=L(this.currToken),this.position++);this.current=q}else{for(var Z=this.currToken,re="(",fe;this.position<this.tokens.length&&J;)this.currToken[A.FIELDS.TYPE]===g.openParenthesis&&J++,this.currToken[A.FIELDS.TYPE]===g.closeParenthesis&&J--,fe=this.currToken,re+=this.parseParenthesisToken(this.currToken),this.position++;W?W.appendToPropertyAndEscape("value",re,re):this.newNode(new l.default({value:re,source:M(Z[A.FIELDS.START_LINE],Z[A.FIELDS.START_COL],fe[A.FIELDS.END_LINE],fe[A.FIELDS.END_COL]),sourceIndex:Z[A.FIELDS.START_POS]}))}if(J)return this.expected("closing parenthesis",this.currToken[A.FIELDS.START_POS])},_.pseudo=function(){for(var W=this,J="",ee=this.currToken;this.currToken&&this.currToken[A.FIELDS.TYPE]===g.colon;)J+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[A.FIELDS.TYPE]===g.word)this.splitWord(!1,function(q,Z){J+=q,W.newNode(new c.default({value:J,source:V(ee,W.currToken),sourceIndex:ee[A.FIELDS.START_POS]})),Z>1&&W.nextToken&&W.nextToken[A.FIELDS.TYPE]===g.openParenthesis&&W.error("Misplaced parenthesis.",{index:W.nextToken[A.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[A.FIELDS.START_POS])},_.space=function(){var W=this.content();this.position===0||this.prevToken[A.FIELDS.TYPE]===g.comma||this.prevToken[A.FIELDS.TYPE]===g.openParenthesis||this.current.nodes.every(function(J){return J.type==="comment"})?(this.spaces=this.optionalSpace(W),this.position++):this.position===this.tokens.length-1||this.nextToken[A.FIELDS.TYPE]===g.comma||this.nextToken[A.FIELDS.TYPE]===g.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(W),this.position++):this.combinator()},_.string=function(){var W=this.currToken;this.newNode(new l.default({value:this.content(),source:H(W),sourceIndex:W[A.FIELDS.START_POS]})),this.position++},_.universal=function(W){var J=this.nextToken;if(J&&this.content(J)==="|")return this.position++,this.namespace();var ee=this.currToken;this.newNode(new f.default({value:this.content(),source:H(ee),sourceIndex:ee[A.FIELDS.START_POS]}),W),this.position++},_.splitWord=function(W,J){for(var ee=this,q=this.nextToken,Z=this.content();q&&~[g.dollar,g.caret,g.equals,g.word].indexOf(q[A.FIELDS.TYPE]);){this.position++;var re=this.content();if(Z+=re,re.lastIndexOf("\\")===re.length-1){var fe=this.nextToken;fe&&fe[A.FIELDS.TYPE]===g.space&&(Z+=this.requiredSpace(this.content(fe)),this.position++)}q=this.nextToken}var de=R(Z,".").filter(function(Ae){var ue=Z[Ae-1]==="\\",Ne=/^\d+\.\d+%$/.test(Z);return!ue&&!Ne}),ie=R(Z,"#").filter(function(Ae){return Z[Ae-1]!=="\\"}),le=R(Z,"#{");le.length&&(ie=ie.filter(function(Ae){return!~le.indexOf(Ae)}));var De=(0,h.default)(Q([0].concat(de,ie)));De.forEach(function(Ae,ue){var Ne=De[ue+1]||Z.length,Te=Z.slice(Ae,Ne);if(ue===0&&J)return J.call(ee,Te,De.length);var Re,je=ee.currToken,Ve=je[A.FIELDS.START_POS]+De[ue],ze=M(je[1],je[2]+Ae,je[3],je[2]+(Ne-1));if(~de.indexOf(Ae)){var lt={value:Te.slice(1),source:ze,sourceIndex:Ve};Re=new i.default(j(lt,"value"))}else if(~ie.indexOf(Ae)){var gt={value:Te.slice(1),source:ze,sourceIndex:Ve};Re=new s.default(j(gt,"value"))}else{var _t={value:Te,source:ze,sourceIndex:Ve};j(_t,"value"),Re=new a.default(_t)}ee.newNode(Re,W),W=null}),this.position++},_.word=function(W){var J=this.nextToken;return J&&this.content(J)==="|"?(this.position++,this.namespace()):this.splitWord(W)},_.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},_.parse=function(W){switch(this.currToken[A.FIELDS.TYPE]){case g.space:this.space();break;case g.comment:this.comment();break;case g.openParenthesis:this.parentheses();break;case g.closeParenthesis:W&&this.missingParenthesis();break;case g.openSquare:this.attribute();break;case g.dollar:case g.caret:case g.equals:case g.word:this.word();break;case g.colon:this.pseudo();break;case g.comma:this.comma();break;case g.asterisk:this.universal();break;case g.ampersand:this.nesting();break;case g.slash:case g.combinator:this.combinator();break;case g.str:this.string();break;case g.closeSquare:this.missingSquareBracket();case g.semicolon:this.missingBackslash();default:this.unexpected()}},_.expected=function(W,J,ee){if(Array.isArray(W)){var q=W.pop();W=W.join(", ")+" or "+q}var Z=/^[aeiou]/.test(W[0])?"an":"a";return ee?this.error("Expected "+Z+" "+W+', found "'+ee+'" instead.',{index:J}):this.error("Expected "+Z+" "+W+".",{index:J})},_.requiredSpace=function(W){return this.options.lossy?" ":W},_.optionalSpace=function(W){return this.options.lossy?"":W},_.lossySpace=function(W,J){return this.options.lossy?J?" ":"":W},_.parseParenthesisToken=function(W){var J=this.content(W);return W[A.FIELDS.TYPE]===g.space?this.requiredSpace(J):J},_.newNode=function(W,J){return J&&(/^ +$/.test(J)&&(this.options.lossy||(this.spaces=(this.spaces||"")+J),J=!0),W.namespace=J,j(W,"namespace")),this.spaces&&(W.spaces.before=this.spaces,this.spaces=""),this.current.append(W)},_.content=function(W){return W===void 0&&(W=this.currToken),this.css.slice(W[A.FIELDS.START_POS],W[A.FIELDS.END_POS])},_.locateNextMeaningfulToken=function(W){W===void 0&&(W=this.position+1);for(var J=W;J<this.tokens.length;)if(k[this.tokens[J][A.FIELDS.TYPE]]){J++;continue}else return J;return-1},I(X,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),X}();e.default=z,t.exports=e.default})(lH,lH.exports);var g3t=lH.exports;(function(t,e){e.__esModule=!0,e.default=void 0;var r=n(g3t);function n(o){return o&&o.__esModule?o:{default:o}}var i=function(){function o(a,l){this.func=a||function(){},this.funcRes=null,this.options=l}var s=o.prototype;return s._shouldUpdateSelector=function(l,c){c===void 0&&(c={});var u=Object.assign({},this.options,c);return u.updateSelector===!1?!1:typeof l!="string"},s._isLossy=function(l){l===void 0&&(l={});var c=Object.assign({},this.options,l);return c.lossless===!1},s._root=function(l,c){c===void 0&&(c={});var u=new r.default(l,this._parseOptions(c));return u.root},s._parseOptions=function(l){return{lossy:this._isLossy(l)}},s._run=function(l,c){var u=this;return c===void 0&&(c={}),new Promise(function(f,d){try{var p=u._root(l,c);Promise.resolve(u.func(p)).then(function(h){var A=void 0;return u._shouldUpdateSelector(l,c)&&(A=p.toString(),l.selector=A),{transform:h,root:p,string:A}}).then(f,d)}catch(h){d(h);return}})},s._runSync=function(l,c){c===void 0&&(c={});var u=this._root(l,c),f=this.func(u);if(f&&typeof f.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var d=void 0;return c.updateSelector&&typeof l!="string"&&(d=u.toString(),l.selector=d),{transform:f,root:u,string:d}},s.ast=function(l,c){return this._run(l,c).then(function(u){return u.root})},s.astSync=function(l,c){return this._runSync(l,c).root},s.transform=function(l,c){return this._run(l,c).then(function(u){return u.transform})},s.transformSync=function(l,c){return this._runSync(l,c).transform},s.process=function(l,c){return this._run(l,c).then(function(u){return u.string||u.root.toString()})},s.processSync=function(l,c){var u=this._runSync(l,c);return u.string||u.root.toString()},o}();e.default=i,t.exports=e.default})(aH,aH.exports);var v3t=aH.exports,gEe={},Xi={};Xi.__esModule=!0;Xi.universal=Xi.tag=Xi.string=Xi.selector=Xi.root=Xi.pseudo=Xi.nesting=Xi.id=Xi.comment=Xi.combinator=Xi.className=Xi.attribute=void 0;var y3t=Yu(nZ),B3t=Yu(sEe),C3t=Yu(pEe),b3t=Yu(aEe),w3t=Yu(lEe),x3t=Yu(AEe),S3t=Yu(fEe),E3t=Yu(iEe),D3t=Yu(oEe),k3t=Yu(uEe),O3t=Yu(cEe),P3t=Yu(dEe);function Yu(t){return t&&t.__esModule?t:{default:t}}var I3t=function(e){return new y3t.default(e)};Xi.attribute=I3t;var N3t=function(e){return new B3t.default(e)};Xi.className=N3t;var F3t=function(e){return new C3t.default(e)};Xi.combinator=F3t;var T3t=function(e){return new b3t.default(e)};Xi.comment=T3t;var L3t=function(e){return new w3t.default(e)};Xi.id=L3t;var R3t=function(e){return new x3t.default(e)};Xi.nesting=R3t;var M3t=function(e){return new S3t.default(e)};Xi.pseudo=M3t;var _3t=function(e){return new E3t.default(e)};Xi.root=_3t;var j3t=function(e){return new D3t.default(e)};Xi.selector=j3t;var U3t=function(e){return new k3t.default(e)};Xi.string=U3t;var Q3t=function(e){return new O3t.default(e)};Xi.tag=Q3t;var V3t=function(e){return new P3t.default(e)};Xi.universal=V3t;var di={};di.__esModule=!0;di.isComment=di.isCombinator=di.isClassName=di.isAttribute=void 0;di.isContainer=ext;di.isIdentifier=void 0;di.isNamespace=txt;di.isNesting=void 0;di.isNode=iZ;di.isPseudo=void 0;di.isPseudoClass=Z3t;di.isPseudoElement=BEe;di.isUniversal=di.isTag=di.isString=di.isSelector=di.isRoot=void 0;var Bo=En,_l,$3t=(_l={},_l[Bo.ATTRIBUTE]=!0,_l[Bo.CLASS]=!0,_l[Bo.COMBINATOR]=!0,_l[Bo.COMMENT]=!0,_l[Bo.ID]=!0,_l[Bo.NESTING]=!0,_l[Bo.PSEUDO]=!0,_l[Bo.ROOT]=!0,_l[Bo.SELECTOR]=!0,_l[Bo.STRING]=!0,_l[Bo.TAG]=!0,_l[Bo.UNIVERSAL]=!0,_l);function iZ(t){return typeof t=="object"&&$3t[t.type]}function Ju(t,e){return iZ(e)&&e.type===t}var vEe=Ju.bind(null,Bo.ATTRIBUTE);di.isAttribute=vEe;var H3t=Ju.bind(null,Bo.CLASS);di.isClassName=H3t;var G3t=Ju.bind(null,Bo.COMBINATOR);di.isCombinator=G3t;var W3t=Ju.bind(null,Bo.COMMENT);di.isComment=W3t;var z3t=Ju.bind(null,Bo.ID);di.isIdentifier=z3t;var K3t=Ju.bind(null,Bo.NESTING);di.isNesting=K3t;var oZ=Ju.bind(null,Bo.PSEUDO);di.isPseudo=oZ;var q3t=Ju.bind(null,Bo.ROOT);di.isRoot=q3t;var X3t=Ju.bind(null,Bo.SELECTOR);di.isSelector=X3t;var Y3t=Ju.bind(null,Bo.STRING);di.isString=Y3t;var yEe=Ju.bind(null,Bo.TAG);di.isTag=yEe;var J3t=Ju.bind(null,Bo.UNIVERSAL);di.isUniversal=J3t;function BEe(t){return oZ(t)&&t.value&&(t.value.startsWith("::")||t.value.toLowerCase()===":before"||t.value.toLowerCase()===":after"||t.value.toLowerCase()===":first-letter"||t.value.toLowerCase()===":first-line")}function Z3t(t){return oZ(t)&&!BEe(t)}function ext(t){return!!(iZ(t)&&t.walk)}function txt(t){return vEe(t)||yEe(t)}(function(t){t.__esModule=!0;var e=En;Object.keys(e).forEach(function(i){i==="default"||i==="__esModule"||i in t&&t[i]===e[i]||(t[i]=e[i])});var r=Xi;Object.keys(r).forEach(function(i){i==="default"||i==="__esModule"||i in t&&t[i]===r[i]||(t[i]=r[i])});var n=di;Object.keys(n).forEach(function(i){i==="default"||i==="__esModule"||i in t&&t[i]===n[i]||(t[i]=n[i])})})(gEe);(function(t,e){e.__esModule=!0,e.default=void 0;var r=s(v3t),n=o(gEe);function i(c){if(typeof WeakMap!="function")return null;var u=new WeakMap,f=new WeakMap;return(i=function(p){return p?f:u})(c)}function o(c,u){if(!u&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var f=i(u);if(f&&f.has(c))return f.get(c);var d={},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in c)if(h!=="default"&&Object.prototype.hasOwnProperty.call(c,h)){var A=p?Object.getOwnPropertyDescriptor(c,h):null;A&&(A.get||A.set)?Object.defineProperty(d,h,A):d[h]=c[h]}return d.default=c,f&&f.set(c,d),d}function s(c){return c&&c.__esModule?c:{default:c}}var a=function(u){return new r.default(u)};Object.assign(a,n),delete a.__esModule;var l=a;e.default=l,t.exports=e.default})(sH,sH.exports);var rxt=sH.exports;const Vt=Io(rxt),n8=Vt().astSync(":link").nodes[0],i8=Vt().astSync(":visited").nodes[0],nxt=Vt().astSync("area[href]").nodes[0],ixt=Vt().astSync("[href]").nodes[0];function oxt(t,e,r,n){const i=[],o=[];try{for(let s=0;s<t.selectors.length;s++){const a=t.selectors[s],l=sxt(a,n);l.length?i.push(...l):o.push(a)}}catch(s){return t.warn(e,`Failed to parse selector : "${t.selector}" with message: "${s.message}"`),!1}return!!i.length&&(t.cloneBefore({selectors:i}),o.length&&t.cloneBefore({selectors:o}),r||t.remove(),!0)}function sxt(t,e){const r=[];return Vt(n=>{const i=[];n.walkPseudos(o=>{if(o.value.toLowerCase()!==":any-link"||o.nodes&&o.nodes.length)return;if(!e)return void i.push([n8.clone({}),i8.clone({})]);const s=lxt(o);s.includes("area")?i.push([n8.clone({}),i8.clone({}),ixt.clone({})]):s.length?i.push([n8.clone({}),i8.clone({})]):i.push([n8.clone({}),i8.clone({}),nxt.clone({})])}),i.length&&axt(...i).forEach(o=>{const s=n.clone({});s.walkPseudos(a=>{a.value.toLowerCase()!==":any-link"||a.nodes&&a.nodes.length||(cxt(a.parent,a,o.shift()),a.remove())}),r.push(s.toString())})}).processSync(t),r}function axt(...t){const e=[],r=t.length-1;return function n(i,o){for(let s=0,a=t[o].length;s<a;s++){const l=i.slice(0);l.push(t[o][s]),o==r?e.push(l):n(l,o+1)}}([],0),e}function lxt(t){const e=[];let r=t.prev();for(;r&&r.type!=="combinator"&&!Vt.isPseudoElement(r);)r.type==="tag"&&e.push(r.value.toLowerCase()),r=r.prev();let n=t.next();for(;n&&n.type!=="combinator"&&!Vt.isPseudoElement(n);)n.type==="tag"&&e.push(n.value.toLowerCase()),n=n.next();return e}function cxt(t,e,r){let n=r.type;r.type==="selector"&&r.nodes&&r.nodes.length&&(n=r.nodes[0].type);let i=-1,o=-1;const s=t.index(e);for(let a=s;a>=0&&t.nodes[a].type!=="combinator"&&!Vt.isPseudoElement(t.nodes[a].type);a--)i=a;if(n!=="tag"){for(let a=s;a<t.nodes.length&&t.nodes[a].type!=="combinator"&&!Vt.isPseudoElement(t.nodes[a].type);a++)o=a;for(let a=i;a<=o;a++)if(t.nodes[a].type===n)return void t.insertAfter(t.at(a),r);t.insertAfter(t.at(i),r)}else t.insertBefore(t.at(i),r)}const CEe=t=>{const e={preserve:!0,...t},r={areaHrefNeedsFixing:!1,...Object(e.subFeatures)};return{postcssPlugin:"postcss-pseudo-class-any-link",prepare(){const n=new WeakSet;return{Rule(i,{result:o}){i.selector.toLowerCase().includes(":any-link")&&(n.has(i)||(i.raws.selector&&i.raws.selector.raw||i.selector).endsWith(":")||oxt(i,o,e.preserve,r.areaHrefNeedsFixing)&&n.add(i))}}}}};CEe.postcss=!0;const tAe=[" ",">","~",":","+","@","#","(",")"];function uxt(t){let e=!0;for(let r=0,n=tAe.length;r<n&&e;r++)t.indexOf(tAe[r])>-1&&(e=!1);return e}const C_="js-blank-pseudo",b_=":blank",bEe=t=>{const e=Object.assign({preserve:!0,replaceWith:"[blank]",disablePolyfillReadyClass:!1},t),r=Vt().astSync(e.replaceWith);return uxt(e.replaceWith)?{postcssPlugin:"css-blank-pseudo",prepare(){const n=new WeakSet;return{Rule(i,{result:o}){if(n.has(i)||!i.selector.toLowerCase().includes(b_))return;const s=i.selectors.flatMap(a=>{if(!a.toLowerCase().includes(b_))return[a];let l;try{l=Vt().astSync(a)}catch(g){return i.warn(o,`Failed to parse selector : "${a}" with message: "${g.message}"`),[a]}if(l===void 0)return[a];let c=!1;if(l.walkPseudos(g=>{g.value.toLowerCase()===b_&&(g.nodes&&g.nodes.length||(c=!0,g.replaceWith(r.clone({}))))}),!c)return[a];const u=l.clone();if(!e.disablePolyfillReadyClass){var f,d,p,h,A;if((f=l.nodes)!=null&&(d=f[0])!=null&&(p=d.nodes)!=null&&p.length)for(let g=0;g<l.nodes[0].nodes.length;g++){const m=l.nodes[0].nodes[g];if(m.type==="combinator"||Vt.isPseudoElement(m)){l.nodes[0].insertBefore(m,Vt.className({value:C_}));break}if(g===l.nodes[0].nodes.length-1){l.nodes[0].append(Vt.className({value:C_}));break}}return(h=l.nodes)!=null&&(A=h[0])!=null&&A.nodes&&(u.nodes[0].prepend(Vt.combinator({value:" "})),u.nodes[0].prepend(Vt.className({value:C_}))),[l.toString(),u.toString()]}return[l.toString()]});s.join(",")!==i.selectors.join(",")&&(n.add(i),i.cloneBefore({selectors:s}),e.preserve||i.remove())}}}}:{postcssPlugin:"css-blank-pseudo",Once:(n,{result:i})=>{n.warn(i,`${e.replaceWith} is not a valid replacement since it can't be applied to single elements.`)}}};bEe.postcss=!0;var sZ={exports:{}};sZ.exports=function(t){return{postcssPlugin:"postcss-page-break",Declaration(e){if(e.prop.startsWith("break-")&&/^break-(inside|before|after)/.test(e.prop)){if(e.value.search(/column|region/)>=0)return;let r;switch(e.value){case"page":r="always";break;case"avoid-page":r="avoid";break;default:r=e.value}const n="page-"+e.prop;e.parent.every(i=>i.prop!==n)&&e.cloneBefore({prop:n,value:r})}}}};sZ.exports.postcss=!0;var fxt=sZ.exports;const dxt=Io(fxt);function bm(t){if(!t)return{a:0,b:0,c:0};let e=0,r=0,n=0;if(t.type=="universal")return{a:0,b:0,c:0};if(t.type==="id")e+=1;else if(t.type==="tag")n+=1;else if(t.type==="class")r+=1;else if(t.type==="attribute")r+=1;else if(pxt(t))switch(t.value.toLowerCase()){case"::slotted":if(n+=1,t.nodes&&t.nodes.length>0){const i=o8(t.nodes);e+=i.a,r+=i.b,n+=i.c}break;case"::view-transition-group":case"::view-transition-image-pair":case"::view-transition-old":case"::view-transition-new":if(t.nodes&&t.nodes.length===1&&t.nodes[0].type==="selector"&&Axt(t.nodes[0]))return{a:0,b:0,c:0};n+=1;break;default:n+=1}else if(Vt.isPseudoClass(t))switch(t.value.toLowerCase()){case":-moz-any":case":-webkit-any":case":any":case":has":case":is":case":matches":case":not":if(t.nodes&&t.nodes.length>0){const i=o8(t.nodes);e+=i.a,r+=i.b,n+=i.c}break;case":where":break;case":nth-child":case":nth-last-child":if(r+=1,t.nodes&&t.nodes.length>0){const i=t.nodes[0].nodes.findIndex(o=>o.type==="tag"&&o.value.toLowerCase()==="of");if(i>-1){const o=[Vt.selector({nodes:t.nodes[0].nodes.slice(i+1),value:""})];t.nodes.length>1&&o.push(...t.nodes.slice(1));const s=o8(o);e+=s.a,r+=s.b,n+=s.c}}break;case":local":case":global":t.nodes&&t.nodes.length>0&&t.nodes.forEach(i=>{const o=bm(i);e+=o.a,r+=o.b,n+=o.c});break;case":host":case":host-context":if(r+=1,t.nodes&&t.nodes.length>0){const i=o8(t.nodes);e+=i.a,r+=i.b,n+=i.c}break;default:r+=1}else Vt.isContainer(t)&&t.nodes.length>0&&t.nodes.forEach(i=>{const o=bm(i);e+=o.a,r+=o.b,n+=o.c});return{a:e,b:r,c:n}}function o8(t){let e={a:0,b:0,c:0};return t.forEach(r=>{const n=bm(r);n.a>e.a?e=n:n.a<e.a||(n.b>e.b?e=n:n.b<e.b||n.c>e.c&&(e=n))}),e}function pxt(t){return Vt.isPseudoElement(t)}function Axt(t){if(!t||!t.nodes)return!1;const e=t.nodes.filter(r=>r.type!=="comment");return e.length===1&&e[0].type==="universal"}const kH="csstools-invalid-layer",rAe="csstools-layer-with-selector-rules",wEe="6efdb677-bb05-44e5-840f-29d2175862fd",xEe="b147acf6-11a6-4338-a4d0-80aef4cd1a2f",YI=["media","supports"],D4=["keyframes"],hxt=new Set(["layer","supports","media","container","scope"]);function Nc(t){if(t.type!=="atrule"||t.name.toLowerCase()!=="layer")return!1;let e=t.parent;for(;e;){if(e.type==="rule"||e.type==="atrule"&&!hxt.has(e.name.toLowerCase()))return!1;e=e.parent}return!0}class mxt{constructor(){Tt(this,"anonymousLayerCount",0);Tt(this,"layerCount",0);Tt(this,"layerOrder");Tt(this,"layerParamsParsed");Tt(this,"layerNameParts");this.anonymousLayerCount=0,this.layerCount=0,this.layerOrder=new Map,this.layerParamsParsed=new Map,this.layerNameParts=new Map}createAnonymousLayerName(){const e=`anonymous-${this.anonymousLayerCount}-${wEe}`;return this.addLayerNameParts(e),this.layerParamsParsed.set(e,[e]),this.anonymousLayerCount++,e}createImplicitLayerName(e){const r=this.layerNameParts.get(e),n=`implicit-${r[r.length-1]}-${xEe}`;return this.addLayerNameParts([...r,n]),this.layerParamsParsed.set(n,[n]),n}addLayerParams(e,r){r?typeof r!="string"?this.layerParamsParsed.set(e,r):this.layerParamsParsed.set(e,[r]):this.layerParamsParsed.set(e,[e])}addLayerNameParts(e){typeof e!="string"?this.layerNameParts.set(e.join("."),e):this.layerNameParts.set(e,[e])}getLayerParams(e){const r=[...this.layerParamsParsed.get(e.params)];let n=e.parent;for(;n;)n.type==="atrule"&&Nc(n)&&r.push(...this.layerParamsParsed.get(n.params)),n=n.parent;return r.reverse(),r.flatMap(i=>this.layerNameParts.get(i))}getLayerNameList(e){const r=this.layerNameParts.get(e),n=[];for(let i=0;i<r.length;i++){const o=r.slice(0,i+1).join(".");this.layerParamsParsed.has(o)||this.layerParamsParsed.set(o,[o]),this.layerNameParts.has(o)||this.layerNameParts.set(o,r.slice(0,i+1)),n.push(r.slice(0,i+1).join("."))}return n}sortLayerNames(){for(const[r,n]of this.layerOrder){const i=this.layerNameParts.get(r);for(let o=1;o<i.length;o++){const s=i.slice(0,o).join(".");this.layerOrder.has(s)||this.layerOrder.set(s,n)}}let e=Array.from(this.layerOrder.entries());e=e.sort((r,n)=>{const i=this.layerNameParts.get(r[0]),o=this.layerNameParts.get(n[0]);if(i[0]!==o[0])return this.layerOrder.get(i[0])-this.layerOrder.get(o[0]);const s=Math.max(i.length,o.length);for(let a=0;a<s;a++){const l=i[a],c=o[a];if(l!==c)return l?c?this.layerOrder.get(i.slice(0,a).join("."))-this.layerOrder.get(o.slice(0,a).join(".")):-1:1}}),this.layerOrder.clear(),e.forEach((r,n)=>{this.layerOrder.set(r[0],n)})}}function nAe(t,e){const r=Vt().astSync(t),n=Vt().astSync(gxt(e));let i=!1;for(let o=0;o<r.nodes[0].nodes.length;o++)if(r.nodes[0].nodes[o].type==="combinator"||Vt.isPseudoElement(r.nodes[0].nodes[o])){r.nodes[0].insertBefore(r.nodes[0].nodes[o],n),i=!0;break}return i||r.nodes[0].insertAfter(r.nodes[0].nodes[r.nodes[0].nodes.length-1],n),r.toString()}function gxt(t){if(t===0)return"";let e="";for(let r=0;r<t;r++)e+=":not(#\\#)";return e}function SEe(t,e){let r=!1;return t.walk(n=>{if(e(n))return r=!0,!1}),r}function R9(t,e){let r=!1;return t.walkAtRules(n=>{if(e(n))return r=!0,!1}),r}function M9(t){let e=t.parent;for(;e;)if(e.type==="atrule"){if(Nc(e))return e;e=e.parent}else e=e.parent;return null}function k0(t){var e;t.walk(r=>{var n;(r.type==="rule"||r.type==="atrule"&&["layer",...YI].includes(r.name.toLowerCase()))&&((n=r.nodes)==null?void 0:n.length)===0&&r.remove()}),((e=t.nodes)==null?void 0:e.length)===0&&t.remove()}function Zg(t){let e=t;for(;e;){if(e.nodes===void 0||e.nodes.length>0)return;const r=e.parent;e.remove(),e=r}}function vxt(t,e){t.walkAtRules(r=>{if(!Nc(r))return;if(r.params){const o=[];let s=!1;if(Vt().astSync(r.params).each(a=>{const l=[];a.walk(c=>{switch(c.type){case"class":case"tag":l.push(c.value);break;default:s=!0}}),s||(o.push(l.join(".")),e.addLayerNameParts(l))}),e.addLayerParams(r.params,o),r.nodes&&o.length>1&&(s=!0),s)return void(r.name=kH);if(!r.nodes||r.nodes.length===0)return o.length<=1?void 0:(o.slice(0,-1).forEach(a=>{e.addLayerParams(a,a),r.cloneBefore({params:a})}),e.addLayerParams(o[o.length-1],o[o.length-1]),void(r.params=o[o.length-1]))}r.params||(r.raws.afterName=" ",r.params=e.createAnonymousLayerName());const n=R9(r,o=>Nc(o)),i=SEe(r,o=>{if(o.type==="rule")return M9(o)===r});if(n&&i){const o=e.createImplicitLayerName(r.params),s=r.clone({params:o});s.walkAtRules(a=>{Nc(a)&&a.remove()}),r.walk(a=>{a.type==="atrule"&&Nc(a)||a.type==="atrule"&&YI.includes(a.name.toLowerCase())||M9(a)===r&&a.remove()}),r.append(s),k0(r),Zg(r)}})}function yxt(t,e){for(;R9(t,r=>r.nodes&&R9(r,n=>Nc(n)));){let r=!1;if(t.walkAtRules(n=>{if(Nc(n)&&n.parent!==t){if(n.parent.type==="atrule"&&Nc(n.parent)){const i=n.parent;return e.layerNameParts.set(`${i.params}.${n.params}`,[...e.layerNameParts.get(i.params),...e.layerNameParts.get(n.params)]),e.layerParamsParsed.set(`${i.params}.${n.params}`,[`${i.params}.${n.params}`]),n.params=`${i.params}.${n.params}`,i.before(n),k0(i),void Zg(i)}if(n.parent.type==="atrule"){const i=n.parent,o=i.clone(),s=n.clone();return o.removeAll(),s.removeAll(),o.append(n.nodes),s.append(o),i.before(s),n.remove(),k0(i),void Zg(i)}r=!0}}),r)break}}function Bxt(t,e){t.walkAtRules(r=>{if(!Nc(r))return;const n=r.clone(),i=r.clone();n.walkAtRules(o=>{if(D4.includes(o.name.toLowerCase())){const a=o.parent;return o.remove(),k0(a),void Zg(a)}if(SEe(o,a=>a.type==="rule"))return;const s=o.parent;o.remove(),k0(s),Zg(s)}),i.walkRules(o=>{if(o.parent&&o.parent.type==="atrule"&&D4.includes(o.parent.name.toLowerCase()))return;const s=o.parent;o.remove(),k0(s),Zg(s)}),i.walkAtRules(o=>{if(YI.includes(o.name.toLowerCase()))return k0(o),void Zg(o)}),n.name=rAe,r.replaceWith(n,i),n.nodes.length===0&&n.remove(),i.nodes.length===0&&i.remove()}),t.nodes.sort((r,n)=>{const i=r.type==="atrule"&&r.name.toLowerCase()==="layer",o=n.type==="atrule"&&n.name.toLowerCase()==="layer";return i&&o?e.layerOrder.get(r.params)-e.layerOrder.get(n.params):i!==o?i?-1:1:0}),t.walkAtRules(rAe,r=>{r.name="layer"})}function Cxt(t){let e=t.parent;for(;e;)if(e.type==="atrule"){if(YI.includes(e.name.toLowerCase()))return e;e=e.parent}else e=e.parent;return null}function bxt(t,e,{result:r,options:n}){t.walkAtRules(i=>{if(!Nc(i))return;const o=e.getLayerParams(i),s=o.join(".");e.layerOrder.has(s)||(n.onConditionalRulesChangingLayerOrder&&Cxt(i)&&!i.params.endsWith(xEe)&&!i.params.endsWith(wEe)&&i.warn(r,"handling different layer orders in conditional rules is unsupported by this plugin and will cause style differences between browser versions."),e.layerParamsParsed.has(s)||e.layerParamsParsed.set(s,[s]),e.layerNameParts.has(s)||e.layerNameParts.set(s,[...o]),e.getLayerNameList(s).forEach(a=>{e.layerOrder.has(a)||(e.layerOrder.set(a,e.layerCount),e.layerCount+=1)})),i.nodes&&i.nodes.length!==0||i.remove()})}function wxt(t){t.walkDecls(e=>{if(!e.important)return;const r=e.parent;if(r.parent&&r.parent.type==="atrule"&&D4.includes(r.parent.name.toLowerCase()))return;const n=r.clone();n.each(i=>{i.type==="decl"&&i.important||i.remove()}),r.each(i=>{i.type==="decl"&&i.important&&i.remove()}),r.before(n),k0(r)})}const EEe=t=>{const e=Object.assign({onRevertLayerKeyword:"warn",onConditionalRulesChangingLayerOrder:"warn",onImportLayerRule:"warn"},t);return{postcssPlugin:"postcss-cascade-layers",OnceExit(r,{result:n}){e.onRevertLayerKeyword&&r.walkDecls(s=>{s.value.toLowerCase()==="revert-layer"&&s.warn(n,'handling "revert-layer" is unsupported by this plugin and will cause style differences between browser versions.')}),e.onImportLayerRule&&r.walkAtRules(s=>{s.name.toLowerCase()==="import"&&s.params.toLowerCase().includes("layer")&&s.warn(n,"To use @import with layers, the postcss-import plugin is also required. This plugin alone will not support using the @import at-rule.")}),wxt(r);const i=new mxt;if(vxt(r,i),bxt(r,i,{result:n,options:e}),!i.layerCount)return void r.walkAtRules(kH,s=>{s.name="layer"});let o=0;for(r.walkRules(s=>{s.selectors.forEach(a=>{try{const l=bm(Vt().astSync(a));o=Math.max(o,l.a+1)}catch(l){s.warn(n,`Failed to parse selector : "${a}" with message: "${l.message}"`)}})}),r.walkRules(s=>{s.parent&&s.parent.type==="atrule"&&D4.includes(s.parent.name.toLowerCase())||M9(s)||s.some(a=>a.type==="decl"&&a.important)||(s.selectors=s.selectors.map(a=>{try{return nAe(a,i.layerCount*o)}catch(l){s.warn(n,`Failed to parse selector : "${a}" with message: "${l.message}"`)}return a}))}),i.sortLayerNames(),yxt(r,i),Bxt(r,i),r.walkRules(s=>{if(s.parent&&s.parent.type==="atrule"&&D4.includes(s.parent.name.toLowerCase()))return;const a=M9(s);if(!a)return;const l=i.getLayerParams(a).join(".");let c=i.layerOrder.get(l)*o;s.some(u=>u.type==="decl"&&u.important)&&(c=i.layerCount-c),s.selectors=s.selectors.map(u=>nAe(u,c))});R9(r,s=>Nc(s));)r.walkAtRules(s=>{Nc(s)&&s.replaceWith(s.nodes)});r.walkAtRules(kH,s=>{s.name="layer"})}}};EEe.postcss=!0;function DEe(t){return t.type==="attribute"&&(t.insensitive??!1)}function xxt(t){return t.some(DEe)}function kEe(t,e,r){const n=r.charAt(e);if(n==="")return t;let i=t.map(s=>s+n);const o=n.toLocaleUpperCase();return o!==n&&(i=i.concat(t.map(s=>s+o))),kEe(i,e+1,r)}function Sxt(t){let e=[Vt.selector({value:"",nodes:[]})];return t.each(r=>{if(!DEe(r))return void e.forEach(s=>{s.append(r.clone())});const n=kEe([""],0,(i=r).value??"").map(s=>{const a=i.clone({spaces:{after:i.spaces.after,before:i.spaces.before},insensitive:!1});return a.setValue(s),a});var i;const o=[];n.forEach(s=>{e.forEach(a=>{const l=a.clone({});l.append(s),o.push(l)})}),e=o}),e}const OEe=t=>{const e=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-attribute-case-insensitive",prepare(){const r=new WeakSet;return{Rule(n,{result:i}){if(r.has(n)||!/i\s*]/gim.test(n.selector))return;let o;try{o=Vt(s=>{let a=[];s.each(l=>{xxt(l)&&(a=a.concat(Sxt(l)),l.remove())}),a.length&&a.forEach(l=>s.append(l))}).processSync(n.selector)}catch(s){return void n.warn(i,`Failed to parse selector : "${n.selector}" with message: "${s instanceof Error?s.message:s}"`)}o!==n.selector&&(r.add(n),n.cloneBefore({selector:o}),e.preserve||n.remove())}}}}};OEe.postcss=!0;var aZ={exports:{}};let p0=IC;function w_(t){let e=t.match(/([\d.-]+)(.*)/);if(!(!e||!e[1]||!e[2]||isNaN(e[1])))return[parseFloat(e[1]),e[2]]}function s8(t,e,r){return t&&e&&r?`max(${t}, min(${e}, ${r}))`:t&&e?`max(${t}, ${e})`:t}function hy(t,e,r){let n=e,i=p0(e),o=p0(t.value),s=!1;o.walk((a,l,c)=>{!(a.type==="function"&&a.value==="clamp")||s||(s=!0,c[l]=i)}),s&&(n=o.toString()),r?t.cloneBefore({value:n}):t.value=n}aZ.exports=t=>{t=t||{};let e=t.precalculate?!!t.precalculate:!1,r=t.preserve?!!t.preserve:!1;return{postcssPlugin:"postcss-clamp",Declaration(n){!n||!n.value.includes("clamp")||p0(n.value).walk(i=>{let o=i.nodes;if(i.type!=="function"||i.value!=="clamp"||o.length!==5)return;let s=o[0],a=o[2],l=o[4],c=s8(p0.stringify(s),p0.stringify(a),p0.stringify(l));if(!e||a.type!=="word"||l.type!=="word"){hy(n,c,r);return}let u=w_(a.value),f=w_(l.value);if(u===void 0||f===void 0){hy(n,c,r);return}let[d,p]=u,[h,A]=f;if(p!==A){hy(n,c,r);return}let g=w_(s.value);if(g===void 0){let y=`${d+h}${p}`;hy(n,s8(p0.stringify(s),y),r);return}let[m,v]=g;if(v!==p){let y=`${d+h}${p}`;hy(n,s8(p0.stringify(s),y),r);return}hy(n,s8(`${m+d+h}${p}`),r)})}}};aZ.exports.postcss=!0;var Ext=aZ.exports;const Dxt=Io(Ext);class du extends Error{constructor(r,n,i,o){super(r);Tt(this,"sourceStart");Tt(this,"sourceEnd");Tt(this,"parserState");this.name="ParseError",this.sourceStart=n,this.sourceEnd=i,this.parserState=o}}class O0 extends du{constructor(r,n,i,o,s){super(r,n,i,o);Tt(this,"token");this.token=s}}const TA={UnexpectedNewLineInString:"Unexpected newline while consuming a string token.",UnexpectedEOFInString:"Unexpected EOF while consuming a string token.",UnexpectedEOFInComment:"Unexpected EOF while consuming a comment.",UnexpectedEOFInURL:"Unexpected EOF while consuming a url token.",UnexpectedEOFInEscapedCodePoint:"Unexpected EOF while consuming an escaped code point.",UnexpectedCharacterInURL:"Unexpected character while consuming a url token.",InvalidEscapeSequenceInURL:"Invalid escape sequence while consuming a url token.",InvalidEscapeSequenceAfterBackslash:'Invalid escape sequence after "\\"'};class kxt{constructor(e){Tt(this,"cursor",0);Tt(this,"source","");Tt(this,"codePointSource",[]);Tt(this,"representationIndices",[-1]);Tt(this,"length",0);Tt(this,"representationStart",0);Tt(this,"representationEnd",-1);this.source=e;{let r=-1,n="";for(n of e)r+=n.length,this.codePointSource.push(n.codePointAt(0)),this.representationIndices.push(r)}this.length=this.codePointSource.length}advanceCodePoint(e=1){this.cursor=this.cursor+e,this.representationEnd=this.representationIndices[this.cursor]}readCodePoint(e=1){const r=this.codePointSource[this.cursor];return r!==void 0&&(this.cursor=this.cursor+e,this.representationEnd=this.representationIndices[this.cursor],r)}unreadCodePoint(e=1){this.cursor=this.cursor-e,this.representationEnd=this.representationIndices[this.cursor]}resetRepresentation(){this.representationStart=this.representationIndices[this.cursor]+1,this.representationEnd=-1}}const Oxt=typeof globalThis<"u"&&"structuredClone"in globalThis;function ah(t){return Oxt?structuredClone(t):JSON.parse(JSON.stringify(t))}function nn(...t){let e="";for(let r=0;r<t.length;r++)e+=t[r][1];return e}const lZ=39,PEe=42,Pxt=8,k4=13,IEe=9,Ixt=58,Nxt=44,Fxt=64,Txt=127,Lxt=33,cZ=12,_9=46,Rxt=62,qa=45,Mxt=31,_xt=69,jxt=101,Uxt=123,uZ=40,Qxt=91,NEe=60,O4=10,Vxt=11,$xt=95,Hxt=1114111,Gxt=0,Wxt=35,zxt=37,OB=43,fZ=34,x_=65533,hx=92,Kxt=125,j9=41,qxt=93,Xxt=59,Yxt=14,dZ=47,FEe=32,pZ=117,AZ=85,Jxt=114,Zxt=82,eSt=108,tSt=76,TEe=63,rSt=48,nSt=70;function iSt(t){return t.codePointSource[t.cursor]===NEe&&t.codePointSource[t.cursor+1]===Lxt&&t.codePointSource[t.cursor+2]===qa&&t.codePointSource[t.cursor+3]===qa}function kc(t){return t>=48&&t<=57}function oSt(t){return t>=65&&t<=90}function sSt(t){return t>=97&&t<=122}function y1(t){return kc(t)||t>=97&&t<=102||t>=65&&t<=70}function aSt(t){return sSt(t)||oSt(t)}function PB(t){return aSt(t)||lSt(t)||t===$xt}function hZ(t){return PB(t)||kc(t)||t===qa}function lSt(t){return t===183||t===8204||t===8205||t===8255||t===8256||t===8204||192<=t&&t<=214||216<=t&&t<=246||248<=t&&t<=893||895<=t&&t<=8191||8304<=t&&t<=8591||11264<=t&&t<=12271||12289<=t&&t<=55295||63744<=t&&t<=64975||65008<=t&&t<=65533||t>=65536}function U9(t){return t===O4||t===k4||t===cZ}function B1(t){return t===FEe||t===O4||t===IEe||t===k4||t===cZ}function NC(t){return t.codePointSource[t.cursor]===hx&&!U9(t.codePointSource[t.cursor+1])}function Q9(t,e){return e.codePointSource[e.cursor]===qa?e.codePointSource[e.cursor+1]===qa||!!PB(e.codePointSource[e.cursor+1])||e.codePointSource[e.cursor+1]===hx&&!U9(e.codePointSource[e.cursor+2]):!!PB(e.codePointSource[e.cursor])||NC(e)}function iAe(t){return t.codePointSource[t.cursor]===OB||t.codePointSource[t.cursor]===qa?!!kc(t.codePointSource[t.cursor+1])||t.codePointSource[t.cursor+1]===_9&&kc(t.codePointSource[t.cursor+2]):t.codePointSource[t.cursor]===_9?kc(t.codePointSource[t.cursor+1]):kc(t.codePointSource[t.cursor])}function cSt(t){return t.codePointSource[t.cursor]===dZ&&t.codePointSource[t.cursor+1]===PEe}function uSt(t){return t.codePointSource[t.cursor]===qa&&t.codePointSource[t.cursor+1]===qa&&t.codePointSource[t.cursor+2]===Rxt}var Be,Pt,V9;function fSt(t){switch(t){case Be.OpenParen:return Be.CloseParen;case Be.CloseParen:return Be.OpenParen;case Be.OpenCurly:return Be.CloseCurly;case Be.CloseCurly:return Be.OpenCurly;case Be.OpenSquare:return Be.CloseSquare;case Be.CloseSquare:return Be.OpenSquare;default:return null}}function dSt(t){switch(t[0]){case Be.OpenParen:return[Be.CloseParen,")",-1,-1,void 0];case Be.CloseParen:return[Be.OpenParen,"(",-1,-1,void 0];case Be.OpenCurly:return[Be.CloseCurly,"}",-1,-1,void 0];case Be.CloseCurly:return[Be.OpenCurly,"{",-1,-1,void 0];case Be.OpenSquare:return[Be.CloseSquare,"]",-1,-1,void 0];case Be.CloseSquare:return[Be.OpenSquare,"[",-1,-1,void 0];default:return null}}function pSt(t,e){for(e.advanceCodePoint(2);;){const r=e.readCodePoint();if(r===!1){const n=[Be.Comment,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0];return t.onParseError(new O0(TA.UnexpectedEOFInComment,e.representationStart,e.representationEnd,["4.3.2. Consume comments","Unexpected EOF"],n)),n}if(r===PEe&&e.codePointSource[e.cursor]!==void 0&&e.codePointSource[e.cursor]===dZ){e.advanceCodePoint();break}}return[Be.Comment,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0]}function JI(t,e){const r=e.readCodePoint();if(r===!1)return t.onParseError(new du(TA.UnexpectedEOFInEscapedCodePoint,e.representationStart,e.representationEnd,["4.3.7. Consume an escaped code point","Unexpected EOF"])),x_;if(y1(r)){const i=[r];for(;e.codePointSource[e.cursor]!==void 0&&y1(e.codePointSource[e.cursor])&&i.length<6;)i.push(e.codePointSource[e.cursor]),e.advanceCodePoint();B1(e.codePointSource[e.cursor])&&e.advanceCodePoint();const o=parseInt(String.fromCodePoint(...i),16);return o===0||(n=o)>=55296&&n<=57343||o>Hxt?x_:o}var n;return r}function ZI(t,e){const r=[];for(;;)if(hZ(e.codePointSource[e.cursor]))r.push(e.codePointSource[e.cursor]),e.advanceCodePoint();else{if(!NC(e))return r;e.advanceCodePoint(),r.push(JI(t,e))}}function ASt(t,e){if(e.advanceCodePoint(),e.codePointSource[e.cursor]!==void 0&&(hZ(e.codePointSource[e.cursor])||NC(e))){let r=V9.Unrestricted;Q9(0,e)&&(r=V9.ID);const n=ZI(t,e);return[Be.Hash,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:String.fromCodePoint(...n),type:r}]}return[Be.Delim,"#",e.representationStart,e.representationEnd,{value:"#"}]}function hSt(t,e){let r=Pt.Integer;for(e.codePointSource[e.cursor]!==OB&&e.codePointSource[e.cursor]!==qa||e.advanceCodePoint();kc(e.codePointSource[e.cursor]);)e.advanceCodePoint();if(e.codePointSource[e.cursor]===_9&&kc(e.codePointSource[e.cursor+1]))for(e.advanceCodePoint(2),r=Pt.Number;kc(e.codePointSource[e.cursor]);)e.advanceCodePoint();if(e.codePointSource[e.cursor]===jxt||e.codePointSource[e.cursor]===_xt){if(kc(e.codePointSource[e.cursor+1]))e.advanceCodePoint(2);else{if(e.codePointSource[e.cursor+1]!==qa&&e.codePointSource[e.cursor+1]!==OB||!kc(e.codePointSource[e.cursor+2]))return r;e.advanceCodePoint(3)}for(r=Pt.Number;kc(e.codePointSource[e.cursor]);)e.advanceCodePoint()}return r}function S_(t,e){let r;{const o=e.codePointSource[e.cursor];o===qa?r="-":o===OB&&(r="+")}const n=hSt(0,e),i=parseFloat(e.source.slice(e.representationStart,e.representationEnd+1));if(Q9(0,e)){const o=ZI(t,e);return[Be.Dimension,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:i,signCharacter:r,type:n,unit:String.fromCodePoint(...o)}]}return e.codePointSource[e.cursor]===zxt?(e.advanceCodePoint(),[Be.Percentage,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:i,signCharacter:r}]):[Be.Number,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:i,signCharacter:r,type:n}]}function mSt(t){for(;B1(t.codePointSource[t.cursor]);)t.advanceCodePoint();return[Be.Whitespace,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0]}function gSt(t,e){let r="";const n=e.readCodePoint();for(;;){const i=e.readCodePoint();if(i===!1){const o=[Be.String,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:r}];return t.onParseError(new O0(TA.UnexpectedEOFInString,e.representationStart,e.representationEnd,["4.3.5. Consume a string token","Unexpected EOF"],o)),o}if(U9(i)){e.unreadCodePoint();const o=[Be.BadString,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0];return t.onParseError(new O0(TA.UnexpectedNewLineInString,e.representationStart,e.codePointSource[e.cursor]===k4&&e.codePointSource[e.cursor+1]===O4?e.representationEnd+2:e.representationEnd+1,["4.3.5. Consume a string token","Unexpected newline"],o)),o}if(i===n)return[Be.String,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:r}];if(i!==hx)r+=String.fromCodePoint(i);else{if(e.codePointSource[e.cursor]===void 0)continue;if(U9(e.codePointSource[e.cursor])){e.codePointSource[e.cursor]===k4&&e.codePointSource[e.cursor+1]===O4&&e.advanceCodePoint(),e.advanceCodePoint();continue}r+=String.fromCodePoint(JI(t,e))}}}function vSt(t){return!(t.length!==3||t[0]!==pZ&&t[0]!==AZ||t[1]!==Jxt&&t[1]!==Zxt||t[2]!==eSt&&t[2]!==tSt)}function E_(t,e){for(;;){if(e.codePointSource[e.cursor]===void 0)return;if(e.codePointSource[e.cursor]===j9)return void e.advanceCodePoint();NC(e)?(e.advanceCodePoint(),JI(t,e)):e.advanceCodePoint()}}function ySt(t,e){for(;B1(e.codePointSource[e.cursor]);)e.advanceCodePoint();let r="";for(;;){if(e.codePointSource[e.cursor]===void 0){const i=[Be.URL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:r}];return t.onParseError(new O0(TA.UnexpectedEOFInURL,e.representationStart,e.representationEnd,["4.3.6. Consume a url token","Unexpected EOF"],i)),i}if(e.codePointSource[e.cursor]===j9)return e.advanceCodePoint(),[Be.URL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:r}];if(B1(e.codePointSource[e.cursor])){for(e.advanceCodePoint();B1(e.codePointSource[e.cursor]);)e.advanceCodePoint();if(e.codePointSource[e.cursor]===void 0){const i=[Be.URL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:r}];return t.onParseError(new O0(TA.UnexpectedEOFInURL,e.representationStart,e.representationEnd,["4.3.6. Consume a url token","Consume as much whitespace as possible","Unexpected EOF"],i)),i}return e.codePointSource[e.cursor]===j9?(e.advanceCodePoint(),[Be.URL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:r}]):(E_(t,e),[Be.BadURL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0])}if(e.codePointSource[e.cursor]===fZ||e.codePointSource[e.cursor]===lZ||e.codePointSource[e.cursor]===uZ||(n=e.codePointSource[e.cursor])===Vxt||n===Txt||Gxt<=n&&n<=Pxt||Yxt<=n&&n<=Mxt){E_(t,e);const i=[Be.BadURL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0];return t.onParseError(new O0(TA.UnexpectedCharacterInURL,e.representationStart,e.representationEnd,["4.3.6. Consume a url token",`Unexpected U+0022 QUOTATION MARK ("), U+0027 APOSTROPHE ('), U+0028 LEFT PARENTHESIS (() or non-printable code point`],i)),i}if(e.codePointSource[e.cursor]===hx){if(NC(e)){e.advanceCodePoint(),r+=String.fromCodePoint(JI(t,e));continue}E_(t,e);const i=[Be.BadURL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0];return t.onParseError(new O0(TA.InvalidEscapeSequenceInURL,e.representationStart,e.representationEnd,["4.3.6. Consume a url token","U+005C REVERSE SOLIDUS (\\)","The input stream does not start with a valid escape sequence"],i)),i}r+=String.fromCodePoint(e.codePointSource[e.cursor]),e.advanceCodePoint()}var n}function D_(t,e){const r=ZI(t,e);if(e.codePointSource[e.cursor]!==uZ)return[Be.Ident,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:String.fromCodePoint(...r)}];if(vSt(r)){e.advanceCodePoint();let n=0;for(;;){const i=B1(e.codePointSource[e.cursor]),o=B1(e.codePointSource[e.cursor+1]);if(i&&o){n+=1,e.advanceCodePoint(1);continue}const s=i?e.codePointSource[e.cursor+1]:e.codePointSource[e.cursor];if(s===fZ||s===lZ)return n>0&&e.unreadCodePoint(n),[Be.Function,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:String.fromCodePoint(...r)}];break}return ySt(t,e)}return e.advanceCodePoint(),[Be.Function,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:String.fromCodePoint(...r)}]}function BSt(t){return!(t.codePointSource[t.cursor]!==pZ&&t.codePointSource[t.cursor]!==AZ||t.codePointSource[t.cursor+1]!==OB||t.codePointSource[t.cursor+2]!==TEe&&!y1(t.codePointSource[t.cursor+2]))}function CSt(t,e){e.advanceCodePoint(2);const r=[],n=[];for(;e.codePointSource[e.cursor]!==void 0&&r.length<6&&y1(e.codePointSource[e.cursor]);)r.push(e.codePointSource[e.cursor]),e.advanceCodePoint();for(;e.codePointSource[e.cursor]!==void 0&&r.length<6&&e.codePointSource[e.cursor]===TEe;)n.length===0&&n.push(...r),r.push(rSt),n.push(nSt),e.advanceCodePoint();if(!n.length&&e.codePointSource[e.cursor]===qa&&y1(e.codePointSource[e.cursor+1]))for(e.advanceCodePoint();e.codePointSource[e.cursor]!==void 0&&n.length<6&&y1(e.codePointSource[e.cursor]);)n.push(e.codePointSource[e.cursor]),e.advanceCodePoint();if(!n.length){const s=parseInt(String.fromCodePoint(...r),16);return[Be.UnicodeRange,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{startOfRange:s,endOfRange:s}]}const i=parseInt(String.fromCodePoint(...r),16),o=parseInt(String.fromCodePoint(...n),16);return[Be.UnicodeRange,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{startOfRange:i,endOfRange:o}]}function gv(t,e){const r=Pp(t,e),n=[];{for(;!r.endOfFile();){const o=r.nextToken();o&&n.push(o)}const i=r.nextToken();i&&n.push(i)}return n}function Pp(t,e){const r=t.css.valueOf(),n=t.unicodeRangesAllowed??!1,i=new kxt(r),o={onParseError:e?.onParseError??bSt};return{nextToken:function(){i.resetRepresentation();const a=i.codePointSource[i.cursor];if(a===void 0)return[Be.EOF,"",-1,-1,void 0];if(a===dZ&&cSt(i))return pSt(o,i);if(n&&(a===pZ||a===AZ)&&BSt(i))return CSt(0,i);if(PB(a))return D_(o,i);if(kc(a))return S_(o,i);switch(a){case Nxt:return i.advanceCodePoint(),[Be.Comma,",",i.representationStart,i.representationEnd,void 0];case Ixt:return i.advanceCodePoint(),[Be.Colon,":",i.representationStart,i.representationEnd,void 0];case Xxt:return i.advanceCodePoint(),[Be.Semicolon,";",i.representationStart,i.representationEnd,void 0];case uZ:return i.advanceCodePoint(),[Be.OpenParen,"(",i.representationStart,i.representationEnd,void 0];case j9:return i.advanceCodePoint(),[Be.CloseParen,")",i.representationStart,i.representationEnd,void 0];case Qxt:return i.advanceCodePoint(),[Be.OpenSquare,"[",i.representationStart,i.representationEnd,void 0];case qxt:return i.advanceCodePoint(),[Be.CloseSquare,"]",i.representationStart,i.representationEnd,void 0];case Uxt:return i.advanceCodePoint(),[Be.OpenCurly,"{",i.representationStart,i.representationEnd,void 0];case Kxt:return i.advanceCodePoint(),[Be.CloseCurly,"}",i.representationStart,i.representationEnd,void 0];case lZ:case fZ:return gSt(o,i);case Wxt:return ASt(o,i);case OB:case _9:return iAe(i)?S_(o,i):(i.advanceCodePoint(),[Be.Delim,i.source[i.representationStart],i.representationStart,i.representationEnd,{value:i.source[i.representationStart]}]);case O4:case k4:case cZ:case IEe:case FEe:return mSt(i);case qa:return iAe(i)?S_(o,i):uSt(i)?(i.advanceCodePoint(3),[Be.CDC,"-->",i.representationStart,i.representationEnd,void 0]):Q9(0,i)?D_(o,i):(i.advanceCodePoint(),[Be.Delim,"-",i.representationStart,i.representationEnd,{value:"-"}]);case NEe:return iSt(i)?(i.advanceCodePoint(4),[Be.CDO,"<!--",i.representationStart,i.representationEnd,void 0]):(i.advanceCodePoint(),[Be.Delim,"<",i.representationStart,i.representationEnd,{value:"<"}]);case Fxt:if(i.advanceCodePoint(),Q9(0,i)){const l=ZI(o,i);return[Be.AtKeyword,i.source.slice(i.representationStart,i.representationEnd+1),i.representationStart,i.representationEnd,{value:String.fromCodePoint(...l)}]}return[Be.Delim,"@",i.representationStart,i.representationEnd,{value:"@"}];case hx:{if(NC(i))return D_(o,i);i.advanceCodePoint();const l=[Be.Delim,"\\",i.representationStart,i.representationEnd,{value:"\\"}];return o.onParseError(new O0(TA.InvalidEscapeSequenceAfterBackslash,i.representationStart,i.representationEnd,["4.3.1. Consume a token","U+005C REVERSE SOLIDUS (\\)","The input stream does not start with a valid escape sequence"],l)),l}}return i.advanceCodePoint(),[Be.Delim,i.source[i.representationStart],i.representationStart,i.representationEnd,{value:i.source[i.representationStart]}]},endOfFile:function(){return i.codePointSource[i.cursor]===void 0}}}function bSt(){}function wSt(t,e){const r=[];for(const i of e)r.push(i.codePointAt(0));const n=String.fromCodePoint(...REe(r));t[1]=n,t[4].value=e}function LEe(t,e){const r=[];for(const a of e)r.push(a.codePointAt(0));const n=REe(r);n[0]===101&&vD(n,0,n[0]);const i=String.fromCodePoint(...n),o=t[4].signCharacter==="+"?t[4].signCharacter:"",s=t[4].value.toString();t[1]=`${o}${s}${i}`,t[4].unit=e}function REe(t){let e=0;t[0]===qa&&t[1]===qa?e=2:t[0]===qa&&t[1]?(e=2,PB(t[1])||(e+=vD(t,1,t[1]))):PB(t[0])?e=1:(e=1,e+=vD(t,0,t[0]));for(let r=e;r<t.length;r++)hZ(t[r])||(r+=vD(t,r,t[r]));return t}function vD(t,e,r){const n=r.toString(16),i=[];for(const s of n)i.push(s.codePointAt(0));const o=t[e+1];return e===t.length-1||o&&y1(o)?(t.splice(e,1,92,...i,32),1+i.length):(t.splice(e,1,92,...i),i.length)}(function(t){t.Comment="comment",t.AtKeyword="at-keyword-token",t.BadString="bad-string-token",t.BadURL="bad-url-token",t.CDC="CDC-token",t.CDO="CDO-token",t.Colon="colon-token",t.Comma="comma-token",t.Delim="delim-token",t.Dimension="dimension-token",t.EOF="EOF-token",t.Function="function-token",t.Hash="hash-token",t.Ident="ident-token",t.Number="number-token",t.Percentage="percentage-token",t.Semicolon="semicolon-token",t.String="string-token",t.URL="url-token",t.Whitespace="whitespace-token",t.OpenParen="(-token",t.CloseParen=")-token",t.OpenSquare="[-token",t.CloseSquare="]-token",t.OpenCurly="{-token",t.CloseCurly="}-token",t.UnicodeRange="unicode-range-token"})(Be||(Be={})),function(t){t.Integer="integer",t.Number="number"}(Pt||(Pt={})),function(t){t.Unrestricted="unrestricted",t.ID="id"}(V9||(V9={}));const xSt=Object.values(Be);function mZ(t){return!!Array.isArray(t)&&!(t.length<4)&&!!xSt.includes(t[0])&&typeof t[1]=="string"&&typeof t[2]=="number"&&typeof t[3]=="number"}function tl(t){switch(t[0]){case Be.Dimension:case Be.Number:case Be.Percentage:return!0;default:return!1}}function V1(t){switch(t[0]){case Be.Whitespace:case Be.Comment:return!0;default:return!1}}function SSt(t){return!!t&&t[0]===Be.Colon}function P4(t){return!!t&&t[0]===Be.Comma}function gZ(t){return!!t&&t[0]===Be.Comment}function Ga(t){return!!t&&t[0]===Be.Delim}function Wi(t){return!!t&&t[0]===Be.Dimension}function Wf(t){return!!t&&t[0]===Be.EOF}function ESt(t){return!!t&&t[0]===Be.Function}function Ri(t){return!!t&&t[0]===Be.Ident}function ni(t){return!!t&&t[0]===Be.Number}function zf(t){return!!t&&t[0]===Be.Percentage}function C1(t){return!!t&&t[0]===Be.Whitespace}function mx(t){return!!t&&t[0]===Be.OpenParen}function DSt(t){return!!t&&t[0]===Be.CloseParen}function kSt(t){return!!t&&t[0]===Be.OpenSquare}function OSt(t){return!!t&&t[0]===Be.OpenCurly}function Ya(t,e){return[t[0]*e[0]+t[1]*e[1]+t[2]*e[2],t[3]*e[0]+t[4]*e[1]+t[5]*e[2],t[6]*e[0]+t[7]*e[1]+t[8]*e[2]]}const PSt=[1.0479297925449969,.022946870601609652,-.05019226628920524,.02962780877005599,.9904344267538799,-.017073799063418826,-.009243040646204504,.015055191490298152,.7518742814281371];/** * Bradford chromatic adaptation from D65 to D50 * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). * @see http://www.brucelindbloom.com/index.html?Eqn_ChromAdapt.html */function Ip(t){return Ya(PSt,t)}/** * @param {number} hue - Hue as degrees 0..360 * @param {number} sat - Saturation as percentage 0..100 * @param {number} light - Lightness as percentage 0..100 * @return {number[]} Array of sRGB components; in-gamut colors in range [0..1] * * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/hslToRgb.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). * @see https://github.com/w3c/csswg-drafts/blob/main/css-color-4/hslToRgb.js */function MEe(t){let e=t[0],r=t[1],n=t[2];function i(o){const s=(o+e/30)%12,a=r*Math.min(n,1-n);return n-a*Math.max(-1,Math.min(s-3,9-s,1))}return e%=360,e<0&&(e+=360),r/=100,n/=100,[i(0),i(8),i(4)]}/** * @param {number} hue - Hue as degrees 0..360 * @param {number} white - Whiteness as percentage 0..100 * @param {number} black - Blackness as percentage 0..100 * @return {number[]} Array of RGB components 0..1 * * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/hwbToRgb.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). * @see https://github.com/w3c/csswg-drafts/blob/main/css-color-4/hwbToRgb.js */function ISt(t){const e=t[0];let r=t[1],n=t[2];if(r/=100,n/=100,r+n>=1){const o=r/(r+n);return[o,o,o]}const i=MEe([e,100,50]);for(let o=0;o<3;o++)i[o]*=1-r-n,i[o]+=r;return i}/** * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). */const _Ee=[.3457/.3585,1,.2958/.3585];/** * Convert Lab to D50-adapted XYZ * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). * @see http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html */function jEe(t){const e=903.2962962962963,r=216/24389,n=[];return n[1]=(t[0]+16)/116,n[0]=t[1]/500+n[1],n[2]=n[1]-t[2]/200,[Math.pow(n[0],3)>r?Math.pow(n[0],3):(116*n[0]-16)/e,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/e,Math.pow(n[2],3)>r?Math.pow(n[2],3):(116*n[2]-16)/e].map((i,o)=>i*_Ee[o])}/** * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). * @see https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js */function e1(t){return[t[0],t[1]*Math.cos(t[2]*Math.PI/180),t[1]*Math.sin(t[2]*Math.PI/180)]}const NSt=[1.2268798758459243,-.5578149944602171,.2813910456659647,-.0405757452148008,1.112286803280317,-.0717110580655164,-.0763729366746601,-.4214933324022432,1.5869240198367816],FSt=[1,.3963377773761749,.2158037573099136,1,-.1055613458156586,-.0638541728258133,1,-.0894841775298119,-1.2914855480194092];/** * Given OKLab, convert to XYZ relative to D65 * * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). * @see https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js */function eN(t){const e=Ya(FSt,t);return Ya(NSt,[e[0]**3,e[1]**3,e[2]**3])}/** * Convert an array of rec2020 RGB values in the range 0.0 - 1.0 * to linear light (un-companded) form. * ITU-R BT.2020-2 p.4 * * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). */function TSt(t){const e=1.09929682680944;return t.map(function(r){const n=r<0?-1:1,i=Math.abs(r);return i<.08124285829863151?r/4.5:n*Math.pow((i+e-1)/e,1/.45)})}const LSt=[63426534/99577255,20160776/139408157,47086771/278816314,26158966/99577255,.677998071518871,8267143/139408157,0,19567812/697040785,1.0609850577107909];/** * Convert an array of linear-light rec2020 values to CIE XYZ * using D65 (no chromatic adaptation) * * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). * @see http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html *//** * Convert an array of of sRGB values where in-gamut values are in the range * [0 - 1] to linear light (un-companded) form. * Extended transfer function: * For negative values, linear portion is extended on reflection of axis, * then reflected power function is used. * * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). * @see https://en.wikipedia.org/wiki/SRGB */function gx(t){return t.map(function(e){const r=e<0?-1:1,n=Math.abs(e);return n<=.04045?e/12.92:r*Math.pow((n+.055)/1.055,2.4)})}/** * Convert an array of display-p3 RGB values in the range 0.0 - 1.0 * to linear light (un-companded) form. * * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). */function UEe(t){return gx(t)}const RSt=[608311/1250200,189793/714400,198249/1000160,35783/156275,247089/357200,198249/2500400,0,32229/714400,5220557/5000800];/** * Convert an array of linear-light display-p3 values to CIE XYZ * using D65 (no chromatic adaptation) * * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). * @see http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html */function QEe(t){return Ya(RSt,t)}/** * Convert an array of prophoto-rgb values where in-gamut Colors are in the * range [0.0 - 1.0] to linear light (un-companded) form. Transfer curve is * gamma 1.8 with a small linear portion. Extended transfer function * * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). */const MSt=[.7977666449006423,.13518129740053308,.0313477341283922,.2880748288194013,.711835234241873,8993693872564e-17,0,0,.8251046025104602];/** * Convert an array of linear-light prophoto-rgb values to CIE D50 XYZ. * Matrix cannot be expressed in rational form, but is calculated to 64 bit accuracy. * * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). * @see see https://github.com/w3c/csswg-drafts/issues/7675 */const _St=[573536/994567,263643/1420810,187206/994567,591459/1989134,6239551/9945670,374412/4972835,53769/1989134,351524/4972835,4929758/4972835];/** * Convert an array of linear-light a98-rgb values to CIE XYZ * http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html * has greater numerical precision than section 4.3.5.3 of * https://www.adobe.com/digitalimag/pdfs/AdobeRGB1998.pdf * but the values below were calculated from first principles * from the chromaticity coordinates of R G B W * * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). * @see http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html * @see https://www.adobe.com/digitalimag/pdfs/AdobeRGB1998.pdf * @see https://github.com/w3c/csswg-drafts/blob/main/css-color-4/matrixmaker.html */const jSt=[506752/1228815,87881/245763,12673/70218,87098/409605,175762/245763,12673/175545,7918/409605,87881/737289,1001167/1053270];/** * Convert an array of linear-light sRGB values to CIE XYZ * using sRGB's own white, D65 (no chromatic adaptation) * * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). */function vx(t){return Ya(jSt,t)}const USt=[.955473421488075,-.02309845494876471,.06325924320057072,-.0283697093338637,1.0099953980813041,.021041441191917323,.012314014864481998,-.020507649298898964,1.330365926242124];/** * Bradford chromatic adaptation from D50 to D65 * * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). */function Np(t){return Ya(USt,t)}const QSt=[12831/3959,-329/214,-1974/3959,-851781/878810,1648619/878810,36519/878810,705/12673,-2585/12673,705/667];/** * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). */function yx(t){return Ya(QSt,t)}/** * Convert an array of linear-light sRGB values in the range 0.0-1.0 to gamma corrected form * Extended transfer function: * For negative values, linear portion extends on reflection * of axis, then uses reflected pow below that * * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). * @see https://en.wikipedia.org/wiki/SRGB */function Bx(t){return t.map(function(e){const r=e<0?-1:1,n=Math.abs(e);return n>.0031308?r*(1.055*Math.pow(n,1/2.4)-.055):12.92*e})}/** * Convert an array of gamma-corrected sRGB values in the 0.0 to 1.0 range to HSL. * * @param {Color} RGB [r, g, b] * - Red component 0..1 * - Green component 0..1 * - Blue component 0..1 * @return {number[]} Array of HSL values: Hue as degrees 0..360, Saturation and Lightness as percentages 0..100 * * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/utilities.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). * * @see https://github.com/w3c/csswg-drafts/blob/main/css-color-4/better-rgbToHsl.js */function VEe(t){const e=t[0],r=t[1],n=t[2],i=Math.max(e,r,n),o=Math.min(e,r,n),s=(o+i)/2,a=i-o;let l=NaN,c=0;if(Math.round(1e5*a)!==0){switch(c=Math.round(1e5*s)===0||Math.round(1e5*s)===1e5?0:(i-s)/Math.min(s,1-s),i){case e:l=(r-n)/a+(r<n?6:0);break;case r:l=(n-e)/a+2;break;case n:l=(e-r)/a+4}l*=60}return c<0&&(l+=180,c=Math.abs(c)),l>=360&&(l-=360),[l,100*c,100*s]}const VSt=[446124/178915,-333277/357830,-72051/178915,-14852/17905,63121/35810,423/17905,11844/330415,-50337/660830,316169/330415];/** * Convert XYZ to linear-light P3 * * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). */function $Ee(t){return Ya(VSt,t)}/** * Convert an array of linear-light display-p3 RGB in the range 0.0-1.0 * to gamma corrected form * * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). */function HEe(t){return Bx(t)}/** * Assuming XYZ is relative to D50, convert to CIE Lab * from CIE standard, which now defines these as a rational fraction * * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). */function GEe(t){const e=.008856451679035631,r=24389/27,n=t.map((i,o)=>i/_Ee[o]).map(i=>i>e?Math.cbrt(i):(r*i+16)/116);return[116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]}const $St=[.819022437996703,.3619062600528904,-.1288737815209879,.0329836539323885,.9292868615863434,.0361446663506424,.0481771893596242,.2642395317527308,.6335478284694309],HSt=[.210454268309314,.7936177747023054,-.0040720430116193,1.9779985324311684,-2.42859224204858,.450593709617411,.0259040424655478,.7827717124575296,-.8086757549230774];/** * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). * * XYZ <-> LMS matrices recalculated for consistent reference white * @see https://github.com/w3c/csswg-drafts/issues/6642#issuecomment-943521484 */function tN(t){const e=Ya($St,t);return Ya(HSt,[Math.cbrt(e[0]),Math.cbrt(e[1]),Math.cbrt(e[2])])}/** * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). */function GSt(t){const e=180*Math.atan2(t[2],t[1])/Math.PI;return[t[0],Math.sqrt(Math.pow(t[1],2)+Math.pow(t[2],2)),e>=0?e:e+360]}/** * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). * @see https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js */function vZ(t){const e=180*Math.atan2(t[2],t[1])/Math.PI;return[t[0],Math.sqrt(t[1]**2+t[2]**2),e>=0?e:e+360]}const WSt=[1829569/896150,-506331/896150,-308931/896150,-851781/878810,1648619/878810,36519/878810,16779/1248040,-147721/1248040,1266979/1248040];/** * Convert XYZ to linear-light a98-rgb * * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). */const zSt=[30757411/17917100,-6372589/17917100,-4539589/17917100,-.666684351832489,1.616481236634939,467509/29648200,792561/44930125,-1921689/44930125,.942103121235474];/** * Convert XYZ to linear-light rec2020 * * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). *//** * Convert an array of linear-light rec2020 RGB in the range 0.0-1.0 * to gamma corrected form ITU-R BT.2020-2 p.4 * * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). */function KSt(t){const e=1.09929682680944;return t.map(function(r){const n=r<0?-1:1,i=Math.abs(r);return i>.018053968510807?n*(e*Math.pow(i,.45)-(e-1)):4.5*r})}const qSt=[1.3457868816471583,-.25557208737979464,-.05110186497554526,-.5446307051249019,1.5082477428451468,.02052744743642139,0,0,1.2119675456389452];/** * Convert D50 XYZ to linear-light prophoto-rgb * * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). * @see http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html *//** * Convert an array of linear-light prophoto-rgb in the range 0.0-1.0 * to gamma corrected form. * Transfer curve is gamma 1.8 with a small linear portion. * * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). */function XSt(t){const e=.001953125;return t.map(function(r){const n=r<0?-1:1,i=Math.abs(r);return i>=e?n*Math.pow(i,1/1.8):16*r})}function YSt(t){let e=t;return e=gx(e),e=vx(e),e=Ip(e),e}function $9(t){let e=t;return e=Np(e),e=yx(e),e=Bx(e),e}function JSt(t){let e=t;return e=MEe(e),e=gx(e),e=vx(e),e=Ip(e),e}function ZSt(t){let e=t;return e=Np(e),e=yx(e),e=Bx(e),e=VEe(e),e}function e6t(t){let e=t;return e=ISt(e),e=gx(e),e=vx(e),e=Ip(e),e}function t6t(t){let e=t;e=Np(e),e=yx(e);const r=Bx(e);e=VEe(r);const n=Math.min(r[0],r[1],r[2]),i=1-Math.max(r[0],r[1],r[2]);return[e[0],100*n,100*i]}function r6t(t){let e=t;return e=jEe(e),e}function n6t(t){let e=t;return e=GEe(e),e}function i6t(t){let e=t;var r;return e=[(r=e)[0],r[1]*Math.cos(r[2]*Math.PI/180),r[1]*Math.sin(r[2]*Math.PI/180)],e=jEe(e),e}function o6t(t){let e=t;return e=GEe(e),e=GSt(e),e}function s6t(t){let e=t;return e=eN(e),e=Ip(e),e}function a6t(t){let e=t;return e=Np(e),e=tN(e),e}function l6t(t){let e=t;return e=e1(e),e=eN(e),e=Ip(e),e}function yZ(t){let e=t;return e=Np(e),e=tN(e),e=vZ(e),e}function c6t(t){let e=t;return e=vx(e),e=Ip(e),e}function u6t(t){let e=t;return e=Np(e),e=yx(e),e}function f6t(t){let e=t;return e=e.map(function(r){const n=r<0?-1:1,i=Math.abs(r);return n*Math.pow(i,563/256)}),e=Ya(_St,e),e=Ip(e),e}function d6t(t){let e=t;return e=Np(e),e=Ya(WSt,e),e=e.map(function(r){const n=r<0?-1:1,i=Math.abs(r);return n*Math.pow(i,256/563)}),e}function p6t(t){let e=t;return e=UEe(e),e=QEe(e),e=Ip(e),e}function BZ(t){let e=t;return e=Np(e),e=$Ee(e),e=HEe(e),e}function A6t(t){let e=t;return e=TSt(e),e=Ya(LSt,e),e=Ip(e),e}function h6t(t){let e=t;return e=Np(e),e=Ya(zSt,e),e=KSt(e),e}function m6t(t){let e=t;return e=e.map(function(r){const n=r<0?-1:1,i=Math.abs(r);return i<=.03125?r/16:n*Math.pow(i,1.8)}),e=Ya(MSt,e),e}function g6t(t){let e=t;return e=Ya(qSt,e),e=XSt(e),e}function v6t(t){let e=t;return e=Ip(e),e}function y6t(t){let e=t;return e=Np(e),e}function CZ(t){const[e,r,n]=t;return e>=-1e-4&&e<=1.0001&&r>=-1e-4&&r<=1.0001&&n>=-1e-4&&n<=1.0001}function B5(t){return t.map(e=>e<0?0:e>1?1:e)}/** * @description Calculate deltaE OK which is the simple root sum of squares * @param {number[]} reference - Array of OKLab values: L as 0..1, a and b as -1..1 * @param {number[]} sample - Array of OKLab values: L as 0..1, a and b as -1..1 * @return {number} How different a color sample is from reference * * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/deltaEOK.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). * @see https://github.com/w3c/csswg-drafts/blob/main/css-color-4/deltaEOK.js */function oAe(t,e){const[r,n,i]=t,[o,s,a]=e,l=r-o,c=n-s,u=i-a;return Math.sqrt(l**2+c**2+u**2)}const k_=.02,sAe=1e-4;function WEe(t,e,r){const n=t;let i=B5(e(n)),o=oAe(e1(r(i)),e1(n));if(o<k_)return i;let s=0,a=n[1],l=!0;for(;a-s>sAe;){const c=(s+a)/2;if(n[1]=c,l&&CZ(e(n)))s=c;else if(i=B5(e(n)),o=oAe(e1(r(i)),e1(n)),o<k_){if(k_-o<sAe)return i;l=!1,s=c}else a=c}return B5(e([...n]))}const B6t={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]};function aAe(t){const[e,r,n]=t.map(i=>i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4));return .2126*e+.7152*r+.0722*n}function lAe(t,e){const r=aAe(t),n=aAe(e);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}var Ai;function FC(t){let e=t.slice();return(r,n,i)=>{let o=-1;for(let s=e.indexOf(n);s<e.length&&(o=r.indexOf(e[s]),o===-1||o<i);s++);return o===-1||o===i&&n===r[i]&&(o++,o>=r.length)?-1:(e=r.slice(),o)}}function rN(t,e){const r=e[0];if(mx(r)||OSt(r)||kSt(r)){const n=b6t(t,e);return{advance:n.advance,node:n.node}}if(ESt(r)){const n=C6t(t,e);return{advance:n.advance,node:n.node}}if(C1(r)){const n=KEe(t,e);return{advance:n.advance,node:n.node}}if(gZ(r)){const n=w6t(t,e);return{advance:n.advance,node:n.node}}return{advance:1,node:new Wt(r)}}(function(t){t.Function="function",t.SimpleBlock="simple-block",t.Whitespace="whitespace",t.Comment="comment",t.Token="token"})(Ai||(Ai={}));class zEe{constructor(){Tt(this,"value",[])}indexOf(e){return this.value.indexOf(e)}at(e){if(typeof e=="number")return e<0&&(e=this.value.length+e),this.value[e]}forEach(e,r){if(this.value.length===0)return;const n=FC(this.value);let i=0;for(;i<this.value.length;){const o=this.value[i];let s;if(r&&(s={...r}),e({node:o,parent:this,state:s},i)===!1)return!1;if(i=n(this.value,o,i),i===-1)break}}walk(e,r){this.value.length!==0&&this.forEach((n,i)=>e(n,i)!==!1&&(!("walk"in n.node)||!this.value.includes(n.node)||n.node.walk(e,n.state)!==!1)&&void 0,r)}}class ko extends zEe{constructor(r,n,i){super();Tt(this,"type",Ai.Function);Tt(this,"name");Tt(this,"endToken");this.name=r,this.endToken=n,this.value=i}getName(){return this.name[4].value}normalize(){Wf(this.endToken)&&(this.endToken=[Be.CloseParen,")",-1,-1,void 0])}tokens(){return Wf(this.endToken)?[this.name,...this.value.flatMap(r=>r.tokens())]:[this.name,...this.value.flatMap(r=>r.tokens()),this.endToken]}toString(){const r=this.value.map(n=>mZ(n)?nn(n):n.toString()).join("");return nn(this.name)+r+nn(this.endToken)}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens(),value:this.value.map(r=>r.toJSON())}}isFunctionNode(){return ko.isFunctionNode(this)}static isFunctionNode(r){return!!r&&r instanceof ko&&r.type===Ai.Function}}function C6t(t,e){const r=[];let n=1;for(;;){const i=e[n];if(!i||Wf(i))return t.onParseError(new du("Unexpected EOF while consuming a function.",e[0][2],e[e.length-1][3],["5.4.9. Consume a function","Unexpected EOF"])),{advance:e.length,node:new ko(e[0],i,r)};if(DSt(i))return{advance:n+1,node:new ko(e[0],i,r)};if(V1(i)){const s=qEe(t,e.slice(n));n+=s.advance,r.push(...s.nodes);continue}const o=rN(t,e.slice(n));n+=o.advance,r.push(o.node)}}class $1 extends zEe{constructor(r,n,i){super();Tt(this,"type",Ai.SimpleBlock);Tt(this,"startToken");Tt(this,"endToken");this.startToken=r,this.endToken=n,this.value=i}normalize(){if(Wf(this.endToken)){const r=dSt(this.startToken);r&&(this.endToken=r)}}tokens(){return Wf(this.endToken)?[this.startToken,...this.value.flatMap(r=>r.tokens())]:[this.startToken,...this.value.flatMap(r=>r.tokens()),this.endToken]}toString(){const r=this.value.map(n=>mZ(n)?nn(n):n.toString()).join("");return nn(this.startToken)+r+nn(this.endToken)}toJSON(){return{type:this.type,startToken:this.startToken,tokens:this.tokens(),value:this.value.map(r=>r.toJSON())}}isSimpleBlockNode(){return $1.isSimpleBlockNode(this)}static isSimpleBlockNode(r){return!!r&&r instanceof $1&&r.type===Ai.SimpleBlock}}function b6t(t,e){const r=fSt(e[0][0]);if(!r)throw new Error("Failed to parse, a mirror variant must exist for all block open tokens.");const n=[];let i=1;for(;;){const o=e[i];if(!o||Wf(o))return t.onParseError(new du("Unexpected EOF while consuming a simple block.",e[0][2],e[e.length-1][3],["5.4.8. Consume a simple block","Unexpected EOF"])),{advance:e.length,node:new $1(e[0],o,n)};if(o[0]===r)return{advance:i+1,node:new $1(e[0],o,n)};if(V1(o)){const a=qEe(t,e.slice(i));i+=a.advance,n.push(...a.nodes);continue}const s=rN(t,e.slice(i));i+=s.advance,n.push(s.node)}}class Hn{constructor(e){Tt(this,"type",Ai.Whitespace);Tt(this,"value");this.value=e}tokens(){return this.value}toString(){return nn(...this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isWhitespaceNode(){return Hn.isWhitespaceNode(this)}static isWhitespaceNode(e){return!!e&&e instanceof Hn&&e.type===Ai.Whitespace}}function KEe(t,e){let r=0;for(;;){const n=e[r];if(!C1(n))return{advance:r,node:new Hn(e.slice(0,r))};r++}}class IB{constructor(e){Tt(this,"type",Ai.Comment);Tt(this,"value");this.value=e}tokens(){return[this.value]}toString(){return nn(this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isCommentNode(){return IB.isCommentNode(this)}static isCommentNode(e){return!!e&&e instanceof IB&&e.type===Ai.Comment}}function w6t(t,e){return{advance:1,node:new IB(e[0])}}function qEe(t,e){const r=[];let n=0;for(;;)if(C1(e[n])){const i=KEe(0,e.slice(n));n+=i.advance,r.push(i.node)}else{if(!gZ(e[n]))return{advance:n,nodes:r};r.push(new IB(e[n])),n++}}class Wt{constructor(e){Tt(this,"type",Ai.Token);Tt(this,"value");this.value=e}tokens(){return[this.value]}toString(){return this.value[1]}toJSON(){return{type:this.type,tokens:this.tokens()}}isTokenNod(){return Wt.isTokenNode(this)}static isTokenNode(e){return!!e&&e instanceof Wt&&e.type===Ai.Token}}function x6t(t,e){const r={onParseError:e?.onParseError??(()=>{})},n=[...t];Wf(n[n.length-1])&&n.push([Be.EOF,"",n[n.length-1][2],n[n.length-1][3],void 0]);const i=[];let o=0;for(;;){if(!n[o]||Wf(n[o]))return i;const s=rN(r,n.slice(o));i.push(s.node),o+=s.advance}}function Ja(t,e){const r={onParseError:e?.onParseError??(()=>{})},n=[...t];if(t.length===0)return[];Wf(n[n.length-1])&&n.push([Be.EOF,"",n[n.length-1][2],n[n.length-1][3],void 0]);const i=[];let o=[],s=0;for(;;){if(!n[s]||Wf(n[s]))return o.length&&i.push(o),i;if(P4(n[s])){i.push(o),o=[],s++;continue}const a=rN(r,t.slice(s));o.push(a.node),s+=a.advance}}function S6t(t){const e=new Map;return t.walk(r=>{Array.isArray(r.node)?r.node.forEach(n=>{e.set(n,r.parent)}):e.set(r.node,r.parent)}),e}function E6t(t,e,r){if(t.length===0)return;const n=FC(t);let i=0;for(;i<t.length;){const o=t[i];let s;if(r&&(s={...r}),e({node:o,parent:{value:t},state:s},i)===!1)return!1;if(i=n(t,o,i),i===-1)break}}function D6t(t,e,r){t.length!==0&&E6t(t,(n,i)=>e(n,i)!==!1&&(!("walk"in n.node)||!t.includes(n.node)||n.node.walk(e,n.state)!==!1)&&void 0,r)}function Wc(t,e){for(let r=0;r<t.length;r++)D6t(t[r],(n,i)=>{if(typeof i!="number")return;const o=e(n.node);o&&(Array.isArray(o)?n.parent.value.splice(i,1,...o):n.parent.value.splice(i,1,o))});return t}function Hu(t){return t.map(e=>e.map(r=>nn(...r.tokens())).join("")).join(",")}function wh(t){return $1.isSimpleBlockNode(t)}function Un(t){return ko.isFunctionNode(t)}function Zi(t){return Hn.isWhitespaceNode(t)}function Ao(t){return IB.isCommentNode(t)}function XEe(t){return Zi(t)||Ao(t)}function nr(t){return Wt.isTokenNode(t)}const k6t=/[A-Z]/g;function lc(t){return t.replace(k6t,e=>String.fromCharCode(e.charCodeAt(0)+32))}const O6t={cm:"px",in:"px",mm:"px",pc:"px",pt:"px",px:"px",q:"px",deg:"deg",grad:"deg",rad:"deg",turn:"deg",ms:"s",s:"s",hz:"hz",khz:"hz"},P6t=new Map([["cm",t=>t],["mm",t=>10*t],["q",t=>40*t],["in",t=>t/2.54],["pc",t=>t/2.54*6],["pt",t=>t/2.54*72],["px",t=>t/2.54*96]]),nN=new Map([["deg",t=>t],["grad",t=>t/.9],["rad",t=>t/180*Math.PI],["turn",t=>t/360]]),I4=new Map([["deg",t=>.9*t],["grad",t=>t],["rad",t=>.9*t/180*Math.PI],["turn",t=>.9*t/360]]),I6t=new Map([["hz",t=>t],["khz",t=>t/1e3]]),N6t=new Map([["cm",t=>2.54*t],["mm",t=>25.4*t],["q",t=>25.4*t*4],["in",t=>t],["pc",t=>6*t],["pt",t=>72*t],["px",t=>96*t]]),F6t=new Map([["hz",t=>1e3*t],["khz",t=>t]]),T6t=new Map([["cm",t=>t/10],["mm",t=>t],["q",t=>4*t],["in",t=>t/25.4],["pc",t=>t/25.4*6],["pt",t=>t/25.4*72],["px",t=>t/25.4*96]]),L6t=new Map([["ms",t=>t],["s",t=>t/1e3]]),R6t=new Map([["cm",t=>t/6*2.54],["mm",t=>t/6*25.4],["q",t=>t/6*25.4*4],["in",t=>t/6],["pc",t=>t],["pt",t=>t/6*72],["px",t=>t/6*96]]),M6t=new Map([["cm",t=>t/72*2.54],["mm",t=>t/72*25.4],["q",t=>t/72*25.4*4],["in",t=>t/72],["pc",t=>t/72*6],["pt",t=>t],["px",t=>t/72*96]]),_6t=new Map([["cm",t=>t/96*2.54],["mm",t=>t/96*25.4],["q",t=>t/96*25.4*4],["in",t=>t/96],["pc",t=>t/96*6],["pt",t=>t/96*72],["px",t=>t]]),j6t=new Map([["cm",t=>t/4/10],["mm",t=>t/4],["q",t=>t],["in",t=>t/4/25.4],["pc",t=>t/4/25.4*6],["pt",t=>t/4/25.4*72],["px",t=>t/4/25.4*96]]),YEe=new Map([["deg",t=>180*t/Math.PI],["grad",t=>180*t/Math.PI/.9],["rad",t=>t],["turn",t=>180*t/Math.PI/360]]),U6t=new Map([["ms",t=>1e3*t],["s",t=>t]]),N4=new Map([["deg",t=>360*t],["grad",t=>360*t/.9],["rad",t=>360*t/180*Math.PI],["turn",t=>t]]),JEe=new Map([["cm",P6t],["mm",T6t],["q",j6t],["in",N6t],["pc",R6t],["pt",M6t],["px",_6t],["ms",L6t],["s",U6t],["deg",nN],["grad",I4],["rad",YEe],["turn",N4],["hz",I6t],["khz",F6t]]);function Kf(t,e){if(!Wi(t)||!Wi(e))return e;const r=lc(t[4].unit),n=lc(e[4].unit);if(r===n)return e;const i=JEe.get(n);if(!i)return e;const o=i.get(r);if(!o)return e;const s=o(e[4].value),a=[Be.Dimension,"",e[2],e[3],{...e[4],signCharacter:s<0?"-":void 0,type:Number.isInteger(s)?Pt.Integer:Pt.Number,value:s}];return LEe(a,t[4].unit),a}function Q6t(t){if(!Wi(t))return t;const e=lc(t[4].unit),r=O6t[e];if(e===r)return t;const n=JEe.get(e);if(!n)return t;const i=n.get(r);if(!i)return t;const o=i(t[4].value),s=[Be.Dimension,"",t[2],t[3],{...t[4],signCharacter:o<0?"-":void 0,type:Number.isInteger(o)?Pt.Integer:Pt.Number,value:o}];return LEe(s,r),s}function V6t(t){if(t.length!==2)return-1;const e=t[0].value;let r=t[1].value;if(ni(e)&&ni(r)){const n=e[4].value+r[4].value;return new Wt([Be.Number,n.toString(),e[2],r[3],{value:n,type:e[4].type===Pt.Integer&&r[4].type===Pt.Integer?Pt.Integer:Pt.Number}])}if(zf(e)&&zf(r)){const n=e[4].value+r[4].value;return new Wt([Be.Percentage,n.toString()+"%",e[2],r[3],{value:n}])}if(Wi(e)&&Wi(r)&&(r=Kf(e,r),lc(e[4].unit)===lc(r[4].unit))){const n=e[4].value+r[4].value;return new Wt([Be.Dimension,n.toString()+e[4].unit,e[2],r[3],{value:n,type:e[4].type===Pt.Integer&&r[4].type===Pt.Integer?Pt.Integer:Pt.Number,unit:e[4].unit}])}return-1}function $6t(t){if(t.length!==2)return-1;const e=t[0].value,r=t[1].value;if(ni(e)&&ni(r)){const n=e[4].value/r[4].value;return new Wt([Be.Number,n.toString(),e[2],r[3],{value:n,type:Number.isInteger(n)?Pt.Integer:Pt.Number}])}if(zf(e)&&ni(r)){const n=e[4].value/r[4].value;return new Wt([Be.Percentage,n.toString()+"%",e[2],r[3],{value:n}])}if(Wi(e)&&ni(r)){const n=e[4].value/r[4].value;return new Wt([Be.Dimension,n.toString()+e[4].unit,e[2],r[3],{value:n,type:Number.isInteger(n)?Pt.Integer:Pt.Number,unit:e[4].unit}])}return-1}function xg(t){return!!t&&typeof t=="object"&&"inputs"in t&&Array.isArray(t.inputs)&&"operation"in t}function Ec(t){if(t===-1)return-1;const e=[];for(let r=0;r<t.inputs.length;r++){const n=t.inputs[r];if(nr(n)){e.push(n);continue}const i=Ec(n);if(i===-1)return-1;e.push(i)}return t.operation(e)}function H6t(t){if(t.length!==2)return-1;const e=t[0].value,r=t[1].value;if(ni(e)&&ni(r)){const n=e[4].value*r[4].value;return new Wt([Be.Number,n.toString(),e[2],r[3],{value:n,type:e[4].type===Pt.Integer&&r[4].type===Pt.Integer?Pt.Integer:Pt.Number}])}if(zf(e)&&ni(r)){const n=e[4].value*r[4].value;return new Wt([Be.Percentage,n.toString()+"%",e[2],r[3],{value:n}])}if(ni(e)&&zf(r)){const n=e[4].value*r[4].value;return new Wt([Be.Percentage,n.toString()+"%",e[2],r[3],{value:n}])}if(Wi(e)&&ni(r)){const n=e[4].value*r[4].value;return new Wt([Be.Dimension,n.toString()+e[4].unit,e[2],r[3],{value:n,type:e[4].type===Pt.Integer&&r[4].type===Pt.Integer?Pt.Integer:Pt.Number,unit:e[4].unit}])}if(ni(e)&&Wi(r)){const n=e[4].value*r[4].value;return new Wt([Be.Dimension,n.toString()+r[4].unit,e[2],r[3],{value:n,type:e[4].type===Pt.Integer&&r[4].type===Pt.Integer?Pt.Integer:Pt.Number,unit:r[4].unit}])}return-1}function NB(t,e){for(let r=0;r<t.length;r++){const n=t[r];if(!nr(n))continue;const i=n.value;if(!Ri(i))continue;const o=lc(i[4].value);switch(o){case"e":t.splice(r,1,new Wt([Be.Number,Math.E.toString(),i[2],i[3],{value:Math.E,type:Pt.Number}]));break;case"pi":t.splice(r,1,new Wt([Be.Number,Math.PI.toString(),i[2],i[3],{value:Math.PI,type:Pt.Number}]));break;case"infinity":t.splice(r,1,new Wt([Be.Number,"infinity",i[2],i[3],{value:1/0,type:Pt.Number}]));break;case"-infinity":t.splice(r,1,new Wt([Be.Number,"-infinity",i[2],i[3],{value:-1/0,type:Pt.Number}]));break;case"nan":t.splice(r,1,new Wt([Be.Number,"NaN",i[2],i[3],{value:Number.NaN,type:Pt.Number}]));break;default:if(e.has(o)){const s=e.get(o);t.splice(r,1,new Wt(s))}}}return t}function iN(t){if(t.length!==1)return-1;const e=t[0].value;return tl(e)?t[0]:-1}function Wm(t,e,r){return Wi(e)?Cx(t,e[4].unit,r):zf(e)?G6t(t,r):ni(e)?xp(t,r):-1}function Cx(t,e,r){const n=t.tokens();return{inputs:[new Wt([Be.Dimension,r.toString()+e,n[0][2],n[n.length-1][3],{value:r,type:Number.isInteger(r)?Pt.Integer:Pt.Number,unit:e}])],operation:iN}}function G6t(t,e){const r=t.tokens();return{inputs:[new Wt([Be.Percentage,e.toString()+"%",r[0][2],r[r.length-1][3],{value:e}])],operation:iN}}function xp(t,e){const r=t.tokens();return{inputs:[new Wt([Be.Number,e.toString(),r[0][2],r[r.length-1][3],{value:e,type:Number.isInteger(e)?Pt.Integer:Pt.Number}])],operation:iN}}function W6t(t,e){const r=e.value;return ni(r)?Cx(t,"rad",Math.acos(r[4].value)):-1}function z6t(t,e){const r=e.value;return ni(r)?Cx(t,"rad",Math.asin(r[4].value)):-1}function K6t(t,e){const r=e.value;return ni(r)?Cx(t,"rad",Math.atan(r[4].value)):-1}function TC(t){return Wi(t)||ni(t)}function bZ(t){if(t.length===0)return!0;const e=t[0];if(!tl(e))return!1;if(t.length===1)return!0;if(Wi(e)){const r=lc(e[4].unit);for(let n=1;n<t.length;n++){const i=t[n];if(e[0]!==i[0]||r!==lc(i[4].unit))return!1}return!0}for(let r=1;r<t.length;r++){const n=t[r];if(e[0]!==n[0])return!1}return!0}function H1(t,e){return!!tl(t)&&(Wi(t)?t[0]===e[0]&&lc(t[4].unit)===lc(e[4].unit):t[0]===e[0])}function q6t(t,e,r){const n=e.value;if(!TC(n))return-1;const i=Kf(n,r.value);return H1(n,i)?Cx(t,"rad",Math.atan2(n[4].value,i[4].value)):-1}function X6t(t,e){const r=e.value;return TC(r)?Wm(t,r,Math.abs(r[4].value)):-1}function Y6t(t,e,r,n){if(!nr(e)||!nr(r)||!nr(n))return-1;const i=e.value;if(!tl(i))return-1;const o=Kf(i,r.value);if(!H1(i,o))return-1;const s=Kf(i,n.value);return H1(i,s)?Wm(t,i,Math.max(i[4].value,Math.min(o[4].value,s[4].value))):-1}function J6t(t,e){const r=e.value;if(!TC(r))return-1;let n=r[4].value;if(Wi(r))switch(r[4].unit.toLowerCase()){case"rad":break;case"deg":n=nN.get("rad")(r[4].value);break;case"grad":n=I4.get("rad")(r[4].value);break;case"turn":n=N4.get("rad")(r[4].value);break;default:return-1}return n=Math.cos(n),xp(t,n)}function Z6t(t,e){const r=e.value;return ni(r)?xp(t,Math.exp(r[4].value)):-1}function e8t(t,e){const r=e[0];if(!r||!nr(r)||new Set(e.map(a=>a.type)).size!==1)return-1;const n=r.value;if(!tl(n))return-1;const i=e.map(a=>Kf(n,a.value));if(!bZ(i))return-1;const o=i.map(a=>a[4].value),s=Math.hypot(...o);return Wm(t,n,s)}function cAe(t,e){const r=e[0];if(!r||!nr(r)||new Set(e.map(a=>a.type)).size!==1)return-1;const n=r.value;if(!tl(n))return-1;const i=e.map(a=>Kf(n,a.value));if(!bZ(i))return-1;const o=i.map(a=>a[4].value),s=Math.max(...o);return Wm(t,n,s)}function uAe(t,e){const r=e[0];if(!r||!nr(r)||new Set(e.map(a=>a.type)).size!==1)return-1;const n=r.value;if(!tl(n))return-1;const i=e.map(a=>Kf(n,a.value));if(!bZ(i))return-1;const o=i.map(a=>a[4].value),s=Math.min(...o);return Wm(t,n,s)}function t8t(t,e,r){const n=e.value;if(!tl(n))return-1;const i=Kf(n,r.value);if(!H1(n,i))return-1;let o;return o=i[4].value===0?Number.NaN:Number.isFinite(n[4].value)&&(Number.isFinite(i[4].value)||(i[4].value!==Number.POSITIVE_INFINITY||n[4].value!==Number.NEGATIVE_INFINITY&&!Object.is(0*n[4].value,-0))&&(i[4].value!==Number.NEGATIVE_INFINITY||n[4].value!==Number.POSITIVE_INFINITY&&!Object.is(0*n[4].value,0)))?Number.isFinite(i[4].value)?(n[4].value%i[4].value+i[4].value)%i[4].value:n[4].value:Number.NaN,Wm(t,n,o)}function r8t(t,e,r){const n=e.value,i=r.value;return!ni(n)||!H1(n,i)?-1:xp(t,Math.pow(n[4].value,i[4].value))}function n8t(t,e,r){const n=e.value;if(!tl(n))return-1;const i=Kf(n,r.value);if(!H1(n,i))return-1;let o;return o=i[4].value===0?Number.NaN:Number.isFinite(n[4].value)?Number.isFinite(i[4].value)?n[4].value%i[4].value:n[4].value:Number.NaN,Wm(t,n,o)}function i8t(t,e,r,n){const i=r.value;if(!tl(i))return-1;const o=Kf(i,n.value);if(!H1(i,o))return-1;let s;if(o[4].value===0)s=Number.NaN;else if(Number.isFinite(i[4].value)||Number.isFinite(o[4].value))if(!Number.isFinite(i[4].value)&&Number.isFinite(o[4].value))s=i[4].value;else if(Number.isFinite(i[4].value)&&!Number.isFinite(o[4].value))switch(e){case"down":s=i[4].value<0?-1/0:Object.is(-0,0*i[4].value)?-0:0;break;case"up":s=i[4].value>0?1/0:Object.is(0,0*i[4].value)?0:-0;break;default:s=Object.is(0,0*i[4].value)?0:-0}else if(Number.isFinite(o[4].value))switch(e){case"down":s=Math.floor(i[4].value/o[4].value)*o[4].value;break;case"up":s=Math.ceil(i[4].value/o[4].value)*o[4].value;break;case"to-zero":s=Math.trunc(i[4].value/o[4].value)*o[4].value;break;default:{let a=Math.floor(i[4].value/o[4].value)*o[4].value,l=Math.ceil(i[4].value/o[4].value)*o[4].value;if(a>l){const f=a;a=l,l=f}const c=Math.abs(i[4].value-a),u=Math.abs(i[4].value-l);s=c===u?l:c<u?a:l;break}}else s=i[4].value;else s=Number.NaN;return Wm(t,i,s)}function o8t(t,e){const r=e.value;return TC(r)?xp(t,Math.sign(r[4].value)):-1}function s8t(t,e){const r=e.value;if(!TC(r))return-1;let n=r[4].value;if(Wi(r))switch(lc(r[4].unit)){case"rad":break;case"deg":n=nN.get("rad")(r[4].value);break;case"grad":n=I4.get("rad")(r[4].value);break;case"turn":n=N4.get("rad")(r[4].value);break;default:return-1}return n=Math.sin(n),xp(t,n)}function a8t(t,e){const r=e.value;return ni(r)?xp(t,Math.sqrt(r[4].value)):-1}function l8t(t,e){const r=e.value;if(!TC(r))return-1;const n=r[4].value;let i=0,o=r[4].value;if(Wi(r))switch(lc(r[4].unit)){case"rad":i=YEe.get("deg")(n);break;case"deg":i=n,o=nN.get("rad")(n);break;case"grad":i=I4.get("deg")(n),o=I4.get("rad")(n);break;case"turn":i=N4.get("deg")(n),o=N4.get("rad")(n);break;default:return-1}const s=i/90;return o=i%90==0&&s%2!=0?s>0?1/0:-1/0:Math.tan(o),xp(t,o)}function c8t(t){if(t.length!==2)return-1;const e=t[0].value;let r=t[1].value;if(ni(e)&&ni(r)){const n=e[4].value-r[4].value;return new Wt([Be.Number,n.toString(),e[2],r[3],{value:n,type:e[4].type===Pt.Integer&&r[4].type===Pt.Integer?Pt.Integer:Pt.Number}])}if(zf(e)&&zf(r)){const n=e[4].value-r[4].value;return new Wt([Be.Percentage,n.toString()+"%",e[2],r[3],{value:n}])}if(Wi(e)&&Wi(r)&&(r=Kf(e,r),lc(e[4].unit)===lc(r[4].unit))){const n=e[4].value-r[4].value;return new Wt([Be.Dimension,n.toString()+e[4].unit,e[2],r[3],{value:n,type:e[4].type===Pt.Integer&&r[4].type===Pt.Integer?Pt.Integer:Pt.Number,unit:e[4].unit}])}return-1}function u8t(t,e){if(e.length===1){const r=e[0];if(!r||!nr(r))return-1;const n=r.value;return ni(n)?xp(t,Math.log(n[4].value)):-1}if(e.length===2){const r=e[0];if(!r||!nr(r))return-1;const n=r.value;if(!ni(n))return-1;const i=e[1];if(!i||!nr(i))return-1;const o=i.value;return ni(o)?xp(t,Math.log(n[4].value)/Math.log(o[4].value)):-1}return-1}const f8t=/^none$/i;function OH(t){if(Array.isArray(t)){const r=t.filter(n=>!(Zi(n)&&Ao(n)));return r.length===1&&OH(r[0])}if(!nr(t))return!1;const e=t.value;return!!Ri(e)&&f8t.test(e[4].value)}const wZ=new Map([["abs",function(e,r){return Bd(e,r,X6t)}],["acos",function(e,r){return Bd(e,r,W6t)}],["asin",function(e,r){return Bd(e,r,z6t)}],["atan",function(e,r){return Bd(e,r,K6t)}],["atan2",function(e,r){return a8(e,r,q6t)}],["calc",Vl],["clamp",function(e,r){const n=NB([...e.value.filter(h=>!Ao(h)&&!Zi(h))],r),i=[],o=[],s=[];{let h=i;for(let A=0;A<n.length;A++){const g=n[A];if(nr(g)&&P4(g.value)){if(h===s)return-1;if(h===o){h=s;continue}if(h===i){h=o;continue}return-1}h.push(g)}}const a=OH(i),l=OH(s);if(a&&l)return Vl(pu(o),r);const c=Ec(Vl(pu(o),r));if(c===-1)return-1;if(a){const h=Ec(Vl(pu(s),r));return h===-1?-1:uAe((u=c,f=h,new ko([Be.Function,"min(",-1,-1,{value:"min"}],[Be.CloseParen,")",-1,-1,void 0],[u,new Wt([Be.Comma,",",-1,-1,void 0]),f])),[c,h])}if(l){const h=Ec(Vl(pu(i),r));return h===-1?-1:cAe(p8t(h,c),[h,c])}var u,f;const d=Ec(Vl(pu(i),r));if(d===-1)return-1;const p=Ec(Vl(pu(s),r));return p===-1?-1:Y6t(e,d,c,p)}],["cos",function(e,r){return Bd(e,r,J6t)}],["exp",function(e,r){return Bd(e,r,Z6t)}],["hypot",function(e,r){return l8(e,r,e8t)}],["log",function(e,r){return l8(e,r,u8t)}],["max",function(e,r){return l8(e,r,cAe)}],["min",function(e,r){return l8(e,r,uAe)}],["mod",function(e,r){return a8(e,r,t8t)}],["pow",function(e,r){return a8(e,r,r8t)}],["rem",function(e,r){return a8(e,r,n8t)}],["round",function(e,r){const n=NB([...e.value.filter(u=>!Ao(u)&&!Zi(u))],r);let i="",o=!1;const s=[],a=[];{let u=s;for(let f=0;f<n.length;f++){const d=n[f];if(!i&&s.length===0&&a.length===0&&nr(d)&&Ri(d.value)){const p=d.value[4].value.toLowerCase();if(d8t.has(p)){i=p;continue}}if(nr(d)&&P4(d.value)){if(u===a)return-1;if(u===s&&i&&s.length===0)continue;if(u===s){o=!0,u=a;continue}return-1}u.push(d)}}const l=Ec(Vl(pu(s),r));if(l===-1)return-1;o||a.length!==0||a.push(new Wt([Be.Number,"1",-1,-1,{value:1,type:Pt.Integer}]));const c=Ec(Vl(pu(a),r));return c===-1?-1:(i||(i="nearest"),i8t(e,i,l,c))}],["sign",function(e,r){return Bd(e,r,o8t)}],["sin",function(e,r){return Bd(e,r,s8t)}],["sqrt",function(e,r){return Bd(e,r,a8t)}],["tan",function(e,r){return Bd(e,r,l8t)}]]);function Vl(t,e){const r=NB([...t.value.filter(i=>!Ao(i)&&!Zi(i))],e);if(r.length===1&&nr(r[0]))return{inputs:[r[0]],operation:iN};let n=0;for(;n<r.length;){const i=r[n];if(wh(i)&&mx(i.startToken)){const o=Vl(i,e);if(o===-1)return-1;r.splice(n,1,o)}else if(Un(i)){const o=wZ.get(i.getName().toLowerCase());if(!o)return-1;const s=o(i,e);if(s===-1)return-1;r.splice(n,1,s)}else n++}if(n=0,r.length===1&&xg(r[0]))return r[0];for(;n<r.length;){const i=r[n];if(!i||!nr(i)&&!xg(i)){n++;continue}const o=r[n+1];if(!o||!nr(o)){n++;continue}const s=o.value;if(!Ga(s)||s[4].value!=="*"&&s[4].value!=="/"){n++;continue}const a=r[n+2];if(!a||!nr(a)&&!xg(a))return-1;s[4].value!=="*"?s[4].value!=="/"?n++:r.splice(n,3,{inputs:[i,a],operation:$6t}):r.splice(n,3,{inputs:[i,a],operation:H6t})}if(n=0,r.length===1&&xg(r[0]))return r[0];for(;n<r.length;){const i=r[n];if(!i||!nr(i)&&!xg(i)){n++;continue}const o=r[n+1];if(!o||!nr(o)){n++;continue}const s=o.value;if(!Ga(s)||s[4].value!=="+"&&s[4].value!=="-"){n++;continue}const a=r[n+2];if(!a||!nr(a)&&!xg(a))return-1;s[4].value!=="+"?s[4].value!=="-"?n++:r.splice(n,3,{inputs:[i,a],operation:c8t}):r.splice(n,3,{inputs:[i,a],operation:V6t})}return r.length===1&&xg(r[0])?r[0]:-1}function Bd(t,e,r){const n=Ec(Vl(pu(NB([...t.value.filter(i=>!Ao(i)&&!Zi(i))],e)),e));return n===-1?-1:r(t,n)}function a8(t,e,r){const n=NB([...t.value.filter(l=>!Ao(l)&&!Zi(l))],e),i=[],o=[];{let l=i;for(let c=0;c<n.length;c++){const u=n[c];if(nr(u)&&P4(u.value)){if(l===o)return-1;if(l===i){l=o;continue}return-1}l.push(u)}}const s=Ec(Vl(pu(i),e));if(s===-1)return-1;const a=Ec(Vl(pu(o),e));return a===-1?-1:r(t,s,a)}function l8(t,e,r){const n=NB([...t.value.filter(o=>!Ao(o)&&!Zi(o))],e),i=[];{const o=[];let s=[];for(let a=0;a<n.length;a++){const l=n[a];nr(l)&&P4(l.value)?(o.push(s),s=[]):s.push(l)}o.push(s);for(let a=0;a<o.length;a++){if(o[a].length===0)return-1;const l=Ec(Vl(pu(o[a]),e));if(l===-1)return-1;i.push(l)}}return r(t,i)}const d8t=new Set(["nearest","up","down","to-zero"]);function pu(t){return new ko([Be.Function,"calc(",-1,-1,{value:"calc"}],[Be.CloseParen,")",-1,-1,void 0],t)}function p8t(t,e){return new ko([Be.Function,"max(",-1,-1,{value:"max"}],[Be.CloseParen,")",-1,-1,void 0],[t,new Wt([Be.Comma,",",-1,-1,void 0]),e])}function A8t(t){if(t===-1)return-1;if(Un(t))return t;const e=t.value;return tl(e)&&Number.isNaN(e[4].value)?ni(e)?new ko([Be.Function,"calc(",e[2],e[3],{value:"calc"}],[Be.CloseParen,")",e[2],e[3],void 0],[new Wt([Be.Ident,"NaN",e[2],e[3],{value:"NaN"}])]):Wi(e)?new ko([Be.Function,"calc(",e[2],e[3],{value:"calc"}],[Be.CloseParen,")",e[2],e[3],void 0],[new Wt([Be.Ident,"NaN",e[2],e[3],{value:"NaN"}]),new Hn([[Be.Whitespace," ",e[2],e[3],void 0]]),new Wt([Be.Delim,"*",e[2],e[3],{value:"*"}]),new Hn([[Be.Whitespace," ",e[2],e[3],void 0]]),new Wt([Be.Dimension,"1"+e[4].unit,e[2],e[3],{value:1,type:Pt.Integer,unit:e[4].unit}])]):zf(e)?new ko([Be.Function,"calc(",e[2],e[3],{value:"calc"}],[Be.CloseParen,")",e[2],e[3],void 0],[new Wt([Be.Ident,"NaN",e[2],e[3],{value:"NaN"}]),new Hn([[Be.Whitespace," ",e[2],e[3],void 0]]),new Wt([Be.Delim,"*",e[2],e[3],{value:"*"}]),new Hn([[Be.Whitespace," ",e[2],e[3],void 0]]),new Wt([Be.Percentage,"1%",e[2],e[3],{value:1}])]):-1:t}function h8t(t){if(t===-1)return-1;if(Un(t))return t;const e=t.value;if(!tl(e)||Number.isFinite(e[4].value)||Number.isNaN(e[4].value))return t;let r="";return Number.NEGATIVE_INFINITY===e[4].value&&(r="-"),ni(e)?new ko([Be.Function,"calc(",e[2],e[3],{value:"calc"}],[Be.CloseParen,")",e[2],e[3],void 0],[new Wt([Be.Ident,r+"infinity",e[2],e[3],{value:r+"infinity"}])]):Wi(e)?new ko([Be.Function,"calc(",e[2],e[3],{value:"calc"}],[Be.CloseParen,")",e[2],e[3],void 0],[new Wt([Be.Ident,r+"infinity",e[2],e[3],{value:r+"infinity"}]),new Hn([[Be.Whitespace," ",e[2],e[3],void 0]]),new Wt([Be.Delim,"*",e[2],e[3],{value:"*"}]),new Hn([[Be.Whitespace," ",e[2],e[3],void 0]]),new Wt([Be.Dimension,"1"+e[4].unit,e[2],e[3],{value:1,type:Pt.Integer,unit:e[4].unit}])]):new ko([Be.Function,"calc(",e[2],e[3],{value:"calc"}],[Be.CloseParen,")",e[2],e[3],void 0],[new Wt([Be.Ident,r+"infinity",e[2],e[3],{value:r+"infinity"}]),new Hn([[Be.Whitespace," ",e[2],e[3],void 0]]),new Wt([Be.Delim,"*",e[2],e[3],{value:"*"}]),new Hn([[Be.Whitespace," ",e[2],e[3],void 0]]),new Wt([Be.Percentage,"1%",e[2],e[3],{value:1}])])}function m8t(t){if(t===-1)return-1;if(Un(t))return t;const e=t.value;return tl(e)&&Object.is(-0,e[4].value)&&(e[1]==="-0"||(zf(e)?e[1]="-0%":Wi(e)?e[1]="-0"+e[4].unit:e[1]="-0")),t}function g8t(t,e=13){if(t===-1)return-1;if(e<=0||Un(t))return t;const r=t.value;if(!tl(r)||Number.isInteger(r[4].value))return t;const n=Number(r[4].value.toFixed(e)).toString();return ni(r)?r[1]=n:zf(r)?r[1]=n+"%":Wi(r)&&(r[1]=n+r[4].unit),t}function v8t(t){return t===-1?-1:(Un(t)||Wi(t.value)&&(t.value=Q6t(t.value)),t)}function y8t(t,e){let r=t;return e?.censorIntoStandardRepresentableValues||(r=A8t(r),r=h8t(r)),e?.toCanonicalUnits&&(r=v8t(r)),r=g8t(r,e?.precision),r=m8t(r),r}function B8t(t){const e=new Map;if(!t)return e;for(const[r,n]of t)if(mZ(n))e.set(r,n);else if(typeof n=="string"){const i=Pp({css:n}),o=i.nextToken();if(i.nextToken(),!i.endOfFile()||!o||!tl(o))continue;e.set(r,o)}return e}function vv(t,e){const r=B8t(e?.globals);return Wc(t,n=>{if(!Un(n))return;const i=wZ.get(n.getName().toLowerCase());if(!i)return;const o=y8t(Ec(i(n,r)),e);return o!==-1?o:void 0})}const bx=new Set(wZ.keys());var it,zt;function FB(t){switch(t.colorNotation){case it.HEX:case it.RGB:case it.sRGB:return{...t,colorNotation:it.XYZ_D50,channels:YSt(t.channels.map(e=>Number.isNaN(e)?0:e))};case it.Linear_sRGB:return{...t,colorNotation:it.XYZ_D50,channels:c6t(t.channels.map(e=>Number.isNaN(e)?0:e))};case it.Display_P3:return{...t,colorNotation:it.XYZ_D50,channels:p6t(t.channels.map(e=>Number.isNaN(e)?0:e))};case it.Rec2020:return{...t,colorNotation:it.XYZ_D50,channels:A6t(t.channels.map(e=>Number.isNaN(e)?0:e))};case it.A98_RGB:return{...t,colorNotation:it.XYZ_D50,channels:f6t(t.channels.map(e=>Number.isNaN(e)?0:e))};case it.ProPhoto_RGB:return{...t,colorNotation:it.XYZ_D50,channels:m6t(t.channels.map(e=>Number.isNaN(e)?0:e))};case it.HSL:return{...t,colorNotation:it.XYZ_D50,channels:JSt(t.channels.map(e=>Number.isNaN(e)?0:e))};case it.HWB:return{...t,colorNotation:it.XYZ_D50,channels:e6t(t.channels.map(e=>Number.isNaN(e)?0:e))};case it.Lab:return{...t,colorNotation:it.XYZ_D50,channels:r6t(t.channels.map(e=>Number.isNaN(e)?0:e))};case it.OKLab:return{...t,colorNotation:it.XYZ_D50,channels:s6t(t.channels.map(e=>Number.isNaN(e)?0:e))};case it.LCH:return{...t,colorNotation:it.XYZ_D50,channels:i6t(t.channels.map(e=>Number.isNaN(e)?0:e))};case it.OKLCH:return{...t,colorNotation:it.XYZ_D50,channels:l6t(t.channels.map(e=>Number.isNaN(e)?0:e))};case it.XYZ_D50:return{...t,colorNotation:it.XYZ_D50,channels:t.channels.map(e=>Number.isNaN(e)?0:e)};case it.XYZ_D65:return{...t,colorNotation:it.XYZ_D50,channels:v6t(t.channels.map(e=>Number.isNaN(e)?0:e))};default:throw new Error("Unsupported color notation")}}(function(t){t.A98_RGB="a98-rgb",t.Display_P3="display-p3",t.HEX="hex",t.HSL="hsl",t.HWB="hwb",t.LCH="lch",t.Lab="lab",t.Linear_sRGB="srgb-linear",t.OKLCH="oklch",t.OKLab="oklab",t.ProPhoto_RGB="prophoto-rgb",t.RGB="rgb",t.sRGB="srgb",t.Rec2020="rec2020",t.XYZ_D50="xyz-d50",t.XYZ_D65="xyz-d65"})(it||(it={})),function(t){t.ColorKeyword="color-keyword",t.HasAlpha="has-alpha",t.HasDimensionValues="has-dimension-values",t.HasNoneKeywords="has-none-keywords",t.HasNumberValues="has-number-values",t.HasPercentageAlpha="has-percentage-alpha",t.HasPercentageValues="has-percentage-values",t.HasVariableAlpha="has-variable-alpha",t.Hex="hex",t.LegacyHSL="legacy-hsl",t.LegacyRGB="legacy-rgb",t.NamedColor="named-color",t.RelativeColorSyntax="relative-color-syntax",t.ColorMix="color-mix",t.ContrastColor="contrast-color",t.Experimental="experimental"}(zt||(zt={}));const fAe=new Set([it.A98_RGB,it.Display_P3,it.HEX,it.Linear_sRGB,it.ProPhoto_RGB,it.RGB,it.sRGB,it.Rec2020,it.XYZ_D50,it.XYZ_D65]);function G1(t,e){const r={...t};if(t.colorNotation!==e){const n=FB(r);switch(e){case it.HEX:case it.RGB:r.colorNotation=it.RGB,r.channels=$9(n.channels);break;case it.sRGB:r.colorNotation=it.sRGB,r.channels=$9(n.channels);break;case it.Linear_sRGB:r.colorNotation=it.Linear_sRGB,r.channels=u6t(n.channels);break;case it.Display_P3:r.colorNotation=it.Display_P3,r.channels=BZ(n.channels);break;case it.Rec2020:r.colorNotation=it.Rec2020,r.channels=h6t(n.channels);break;case it.ProPhoto_RGB:r.colorNotation=it.ProPhoto_RGB,r.channels=g6t(n.channels);break;case it.A98_RGB:r.colorNotation=it.A98_RGB,r.channels=d6t(n.channels);break;case it.HSL:r.colorNotation=it.HSL,r.channels=ZSt(n.channels);break;case it.HWB:r.colorNotation=it.HWB,r.channels=t6t(n.channels);break;case it.Lab:r.colorNotation=it.Lab,r.channels=n6t(n.channels);break;case it.LCH:r.colorNotation=it.LCH,r.channels=o6t(n.channels);break;case it.OKLCH:r.colorNotation=it.OKLCH,r.channels=yZ(n.channels);break;case it.OKLab:r.colorNotation=it.OKLab,r.channels=a6t(n.channels);break;case it.XYZ_D50:r.colorNotation=it.XYZ_D50,r.channels=n.channels;break;case it.XYZ_D65:r.colorNotation=it.XYZ_D65,r.channels=y6t(n.channels);break;default:throw new Error("Unsupported color notation")}}else r.channels=t.channels.map(n=>Number.isNaN(n)?0:n);if(e===t.colorNotation)r.channels=jl(t.channels,[0,1,2],r.channels,[0,1,2]);else if(fAe.has(e)&&fAe.has(t.colorNotation))r.channels=jl(t.channels,[0,1,2],r.channels,[0,1,2]);else switch(e){case it.HSL:switch(t.colorNotation){case it.HWB:r.channels=jl(t.channels,[0],r.channels,[0]);break;case it.Lab:case it.OKLab:r.channels=jl(t.channels,[2],r.channels,[0]);break;case it.LCH:case it.OKLCH:r.channels=jl(t.channels,[0,1,2],r.channels,[2,1,0])}break;case it.HWB:switch(t.colorNotation){case it.HSL:r.channels=jl(t.channels,[0],r.channels,[0]);break;case it.LCH:case it.OKLCH:r.channels=jl(t.channels,[0],r.channels,[2])}break;case it.Lab:case it.OKLab:switch(t.colorNotation){case it.HSL:r.channels=jl(t.channels,[0],r.channels,[2]);break;case it.Lab:case it.OKLab:r.channels=jl(t.channels,[0,1,2],r.channels,[0,1,2]);break;case it.LCH:case it.OKLCH:r.channels=jl(t.channels,[0],r.channels,[0])}break;case it.LCH:case it.OKLCH:switch(t.colorNotation){case it.HSL:r.channels=jl(t.channels,[0,1,2],r.channels,[2,1,0]);break;case it.HWB:r.channels=jl(t.channels,[0],r.channels,[2]);break;case it.Lab:case it.OKLab:r.channels=jl(t.channels,[0],r.channels,[0]);break;case it.LCH:case it.OKLCH:r.channels=jl(t.channels,[0,1,2],r.channels,[0,1,2])}}return r.channels=C8t(r.channels,e),r}function C8t(t,e){const r=[...t];switch(e){case it.HSL:!Number.isNaN(r[1])&&As(r[1],4)<=0&&(r[0]=NaN);break;case it.HWB:Math.max(0,As(r[1],4))+Math.max(0,As(r[2],4))>=100&&(r[0]=NaN);break;case it.LCH:!Number.isNaN(r[1])&&As(r[1],4)<=0&&(r[2]=NaN);break;case it.OKLCH:!Number.isNaN(r[1])&&As(r[1],6)<=0&&(r[2]=NaN)}return r}function xZ(t,e){const r=[...t];switch(e){case it.HSL:(As(r[2])<=0||As(r[2])>=100)&&(r[0]=NaN,r[1]=NaN),As(r[1])<=0&&(r[0]=NaN);break;case it.HWB:Math.max(0,As(r[1]))+Math.max(0,As(r[2]))>=100&&(r[0]=NaN);break;case it.Lab:(As(r[0])<=0||As(r[0])>=100)&&(r[1]=NaN,r[2]=NaN);break;case it.LCH:As(r[1])<=0&&(r[2]=NaN),(As(r[0])<=0||As(r[0])>=100)&&(r[1]=NaN,r[2]=NaN);break;case it.OKLab:(As(r[0])<=0||As(r[0])>=1)&&(r[1]=NaN,r[2]=NaN);break;case it.OKLCH:As(r[1])<=0&&(r[2]=NaN),(As(r[0])<=0||As(r[0])>=1)&&(r[1]=NaN,r[2]=NaN)}return r}function jl(t,e,r,n){const i=[...r];for(const o of e)Number.isNaN(t[e[o]])&&(i[n[o]]=NaN);return i}function ZEe(t){const e=new Map;switch(t.colorNotation){case it.RGB:case it.HEX:e.set("r",wi(255*t.channels[0])),e.set("g",wi(255*t.channels[1])),e.set("b",wi(255*t.channels[2])),typeof t.alpha=="number"&&e.set("alpha",wi(t.alpha));break;case it.HSL:e.set("h",wi(t.channels[0])),e.set("s",wi(t.channels[1])),e.set("l",wi(t.channels[2])),typeof t.alpha=="number"&&e.set("alpha",wi(t.alpha));break;case it.HWB:e.set("h",wi(t.channels[0])),e.set("w",wi(t.channels[1])),e.set("b",wi(t.channels[2])),typeof t.alpha=="number"&&e.set("alpha",wi(t.alpha));break;case it.Lab:case it.OKLab:e.set("l",wi(t.channels[0])),e.set("a",wi(t.channels[1])),e.set("b",wi(t.channels[2])),typeof t.alpha=="number"&&e.set("alpha",wi(t.alpha));break;case it.LCH:case it.OKLCH:e.set("l",wi(t.channels[0])),e.set("c",wi(t.channels[1])),e.set("h",wi(t.channels[2])),typeof t.alpha=="number"&&e.set("alpha",wi(t.alpha));break;case it.sRGB:case it.A98_RGB:case it.Display_P3:case it.Rec2020:case it.Linear_sRGB:case it.ProPhoto_RGB:e.set("r",wi(t.channels[0])),e.set("g",wi(t.channels[1])),e.set("b",wi(t.channels[2])),typeof t.alpha=="number"&&e.set("alpha",wi(t.alpha));break;case it.XYZ_D50:case it.XYZ_D65:e.set("x",wi(t.channels[0])),e.set("y",wi(t.channels[1])),e.set("z",wi(t.channels[2])),typeof t.alpha=="number"&&e.set("alpha",wi(t.alpha))}return e}function eDe(t){const e=new Map(t);for(const[r,n]of t)Number.isNaN(n[4].value)&&e.set(r,wi(0));return e}function wi(t){return Number.isNaN(t)&&(t=0),[Be.Number,t.toString(),-1,-1,{value:t,type:Pt.Number}]}function As(t,e=7){if(Number.isNaN(t))return 0;const r=Math.pow(10,e);return Math.round(t*r)/r}function wx(t){const e={...t,channels:[...t.channels]};return e.channels=xZ(e.channels,e.colorNotation),!G1(e,it.RGB).channels.find(r=>r<-1e-5||r>1.00001)}function dn(t,e,r,n){return Math.min(Math.max(t/e,r),n)}const b8t=/[A-Z]/g;function oo(t){return t.replace(b8t,e=>String.fromCharCode(e.charCodeAt(0)+32))}function tw(t,e,r){if(t[0]===Be.Ident&&oo(t[4].value)==="none")return r.syntaxFlags.add(zt.HasNoneKeywords),[Be.Number,"none",t[2],t[3],{value:NaN,type:Pt.Number}];if(t[0]===Be.Percentage){e!==3&&r.syntaxFlags.add(zt.HasPercentageValues);let n=dn(t[4].value,100,-1/0,1/0);return e===3&&(n=dn(t[4].value,100,0,1)),[Be.Number,n.toString(),t[2],t[3],{value:n,type:Pt.Number}]}if(t[0]===Be.Number){e!==3&&r.syntaxFlags.add(zt.HasNumberValues);let n=dn(t[4].value,1,-1/0,1/0);return e===3&&(n=dn(t[4].value,1,0,1)),[Be.Number,n.toString(),t[2],t[3],{value:n,type:Pt.Number}]}return!1}const w8t=new Set(["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","xyz","xyz-d50","xyz-d65"]);function x8t(t,e){const r=[],n=[],i=[],o=[];let s,a,l=!1,c=!1;const u={colorNotation:it.sRGB,channels:[0,0,0],alpha:1,syntaxFlags:new Set([])};let f=r;for(let g=0;g<t.value.length;g++){let m=t.value[g];if(Zi(m)||Ao(m))for(;Zi(t.value[g+1])||Ao(t.value[g+1]);)g++;else if(f===r&&r.length&&(f=n),f===n&&n.length&&(f=i),nr(m)&&m.value[0]===Be.Delim&&m.value[4].value==="/"){if(f===o)return!1;f=o}else{if(Un(m)){if(f===o&&oo(m.getName())==="var"){u.syntaxFlags.add(zt.HasVariableAlpha),f.push(m);continue}if(!bx.has(oo(m.getName())))return!1;const[[v]]=vv([[m]],{toCanonicalUnits:!0,precision:100,globals:a});if(!v||!nr(v)||(v.value[0]===Be.Percentage||v.value[0]===Be.Number||v.value[0]===Be.Dimension)&&Number.isNaN(v.value[4].value))return!1;m=v}if(f===r&&r.length===0&&nr(m)&&m.value[0]===Be.Ident&&w8t.has(oo(m.value[4].value))){if(l)return!1;l=oo(m.value[4].value),u.colorNotation=S8t(l),c&&(c.colorNotation!==u.colorNotation&&(c=G1(c,u.colorNotation)),s=ZEe(c),a=eDe(s))}else if(f===r&&r.length===0&&nr(m)&&m.value[0]===Be.Ident&&oo(m.value[4].value)==="from"){if(c||l)return!1;for(;Zi(t.value[g+1])||Ao(t.value[g+1]);)g++;if(g++,m=t.value[g],c=e(m),c===!1)return!1;c.syntaxFlags.has(zt.Experimental)&&u.syntaxFlags.add(zt.Experimental),u.syntaxFlags.add(zt.RelativeColorSyntax)}else{if(!nr(m))return!1;if(m.value[0]===Be.Ident&&s&&s.has(oo(m.value[4].value))){f.push(new Wt(s.get(oo(m.value[4].value))));continue}f.push(m)}}}if(!l||f.length!==1||r.length!==1||n.length!==1||i.length!==1||!nr(r[0])||!nr(n[0])||!nr(i[0])||s&&!s.has("alpha"))return!1;const d=tw(r[0].value,0,u);if(!d||d[0]!==Be.Number)return!1;const p=tw(n[0].value,1,u);if(!p||p[0]!==Be.Number)return!1;const h=tw(i[0].value,2,u);if(!h||h[0]!==Be.Number)return!1;const A=[d,p,h];if(o.length===1)if(u.syntaxFlags.add(zt.HasAlpha),nr(o[0])){const g=tw(o[0].value,3,u);if(!g||g[0]!==Be.Number)return!1;A.push(g)}else u.alpha=o[0];else if(s&&s.has("alpha")){const g=tw(s.get("alpha"),3,u);if(!g||g[0]!==Be.Number)return!1;A.push(g)}return u.channels=[A[0][4].value,A[1][4].value,A[2][4].value],A.length===4&&(u.alpha=A[3][4].value),u}function S8t(t){switch(t){case"srgb":return it.sRGB;case"srgb-linear":return it.Linear_sRGB;case"display-p3":return it.Display_P3;case"a98-rgb":return it.A98_RGB;case"prophoto-rgb":return it.ProPhoto_RGB;case"rec2020":return it.Rec2020;case"xyz":case"xyz-d65":return it.XYZ_D65;case"xyz-d50":return it.XYZ_D50;default:throw new Error("Unknown color space name: "+t)}}const E8t=new Set(["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"]),O_=new Set(["hsl","hwb","lch","oklch"]),D8t=new Set(["shorter","longer","increasing","decreasing"]);function k8t(t,e){let r=null,n=null,i=null,o=!1;for(let s=0;s<t.value.length;s++){const a=t.value[s];if(!Zi(a)&&!Ao(a)){if(nr(a)&&a.value[0]===Be.Ident){if(!r&&oo(a.value[4].value)==="in"){r=a;continue}if(r&&!n){n=oo(a.value[4].value);continue}if(r&&n&&!i&&O_.has(n)){i=oo(a.value[4].value);continue}if(r&&n&&i&&!o&&oo(a.value[4].value)==="hue"){o=!0;continue}return!1}return!(!nr(a)||a.value[0]!==Be.Comma)&&!!n&&(i||o?!!(n&&i&&o&&O_.has(n)&&D8t.has(i))&&dAe(n,i,P_(t.value.slice(s+1),e)):E8t.has(n)?O8t(n,P_(t.value.slice(s+1),e)):!!O_.has(n)&&dAe(n,"shorter",P_(t.value.slice(s+1),e)))}}return!1}function P_(t,e){const r=[];let n=1,i=!1,o=!1;for(let l=0;l<t.length;l++){let c=t[l];if(!Zi(c)&&!Ao(c)){if(!nr(c)||c.value[0]!==Be.Comma){if(!i){const u=e(c);if(u){i=u;continue}}if(!o){if(Un(c)&&bx.has(oo(c.getName()))&&([[c]]=vv([[c]],{toCanonicalUnits:!0,precision:100}),!c||!nr(c)||(c.value[0]===Be.Percentage||c.value[0]===Be.Number||c.value[0]===Be.Dimension)&&Number.isNaN(c.value[4].value)))return!1;if(nr(c)&&c.value[0]===Be.Percentage&&c.value[4].value>=0){o=c.value[4].value;continue}}return!1}if(!i)return!1;r.push({color:i,percentage:o}),i=!1,o=!1}}if(i&&r.push({color:i,percentage:o}),r.length!==2)return!1;let s=r[0].percentage,a=r[1].percentage;return(s===!1||!(s<0||s>100))&&(a===!1||!(a<0||a>100))&&(s===!1&&a===!1?(s=50,a=50):s!==!1&&a===!1?a=100-s:s===!1&&a!==!1&&(s=100-a),(s!==0||a!==0)&&s!==!1&&a!==!1&&(s+a>100&&(s=s/(s+a)*100,a=a/(s+a)*100),s+a<100&&(n=(s+a)/100,s=s/(s+a)*100,a=a/(s+a)*100),{a:{color:r[0].color,percentage:s},b:{color:r[1].color,percentage:a},alphaMultiplier:n}))}function O8t(t,e){if(!e)return!1;const r=e.a.color,n=e.b.color,i=e.a.percentage/100;let o=r.channels,s=n.channels,a=it.RGB,l=r.alpha;if(typeof l!="number")return!1;let c=n.alpha;if(typeof c!="number")return!1;switch(l=Number.isNaN(l)?c:l,c=Number.isNaN(c)?l:c,t){case"srgb":a=it.RGB;break;case"srgb-linear":a=it.Linear_sRGB;break;case"display-p3":a=it.Display_P3;break;case"a98-rgb":a=it.A98_RGB;break;case"prophoto-rgb":a=it.ProPhoto_RGB;break;case"rec2020":a=it.Rec2020;break;case"lab":a=it.Lab;break;case"oklab":a=it.OKLab;break;case"xyz-d50":a=it.XYZ_D50;break;case"xyz":case"xyz-d65":a=it.XYZ_D65}o=G1(r,a).channels,s=G1(n,a).channels,o[0]=yu(o[0],s[0]),s[0]=yu(s[0],o[0]),o[1]=yu(o[1],s[1]),s[1]=yu(s[1],o[1]),o[2]=yu(o[2],s[2]),s[2]=yu(s[2],o[2]),o[0]=Gd(o[0],l),o[1]=Gd(o[1],l),o[2]=Gd(o[2],l),s[0]=Gd(s[0],c),s[1]=Gd(s[1],c),s[2]=Gd(s[2],c);const u=Cf(l,c,i),f={colorNotation:a,channels:[t1(Cf(o[0],s[0],i),u),t1(Cf(o[1],s[1],i),u),t1(Cf(o[2],s[2],i),u)],alpha:u*e.alphaMultiplier,syntaxFlags:new Set([zt.ColorMix])};return(e.a.color.syntaxFlags.has(zt.Experimental)||e.b.color.syntaxFlags.has(zt.Experimental))&&f.syntaxFlags.add(zt.Experimental),f}function dAe(t,e,r){if(!r)return!1;const n=r.a.color,i=r.b.color,o=r.a.percentage/100;let s=n.channels,a=i.channels,l=0,c=0,u=0,f=0,d=0,p=0,h=it.RGB,A=n.alpha;if(typeof A!="number")return!1;let g=i.alpha;if(typeof g!="number")return!1;switch(A=Number.isNaN(A)?g:A,g=Number.isNaN(g)?A:g,t){case"hsl":h=it.HSL;break;case"hwb":h=it.HWB;break;case"lch":h=it.LCH;break;case"oklch":h=it.OKLCH}switch(s=G1(n,h).channels,a=G1(i,h).channels,t){case"hsl":case"hwb":l=s[0],c=a[0],u=s[1],f=a[1],d=s[2],p=a[2];break;case"lch":case"oklch":u=s[0],f=a[0],d=s[1],p=a[1],l=s[2],c=a[2]}l=yu(l,c),Number.isNaN(l)&&(l=0),c=yu(c,l),Number.isNaN(c)&&(c=0),u=yu(u,f),f=yu(f,u),d=yu(d,p),p=yu(p,d);const m=c-l;switch(e){case"shorter":m>180?l+=360:m<-180&&(c+=360);break;case"longer":-180<m&&m<180&&(m>0?l+=360:c+=360);break;case"increasing":m<0&&(c+=360);break;case"decreasing":m>0&&(l+=360);break;default:throw new Error("Unknown hue interpolation method")}u=Gd(u,A),d=Gd(d,A),f=Gd(f,g),p=Gd(p,g);let v=[0,0,0];const y=Cf(A,g,o);switch(t){case"hsl":case"hwb":v=[Cf(l,c,o),t1(Cf(u,f,o),y),t1(Cf(d,p,o),y)];break;case"lch":case"oklch":v=[t1(Cf(u,f,o),y),t1(Cf(d,p,o),y),Cf(l,c,o)]}const b={colorNotation:h,channels:v,alpha:y*r.alphaMultiplier,syntaxFlags:new Set([zt.ColorMix])};return(r.a.color.syntaxFlags.has(zt.Experimental)||r.b.color.syntaxFlags.has(zt.Experimental))&&b.syntaxFlags.add(zt.Experimental),b}function yu(t,e){return Number.isNaN(t)?e:t}function Cf(t,e,r){return t*r+e*(1-r)}function Gd(t,e){return Number.isNaN(e)?t:Number.isNaN(t)?NaN:t*e}function t1(t,e){return e===0||Number.isNaN(e)?t:Number.isNaN(t)?NaN:t/e}function P8t(t){const e=oo(t[4].value);if(e.match(/[^a-f0-9]/))return!1;const r={colorNotation:it.HEX,channels:[0,0,0],alpha:1,syntaxFlags:new Set([zt.Hex])},n=e.length;if(n===3){const i=e[0],o=e[1],s=e[2];return r.channels=[parseInt(i+i,16)/255,parseInt(o+o,16)/255,parseInt(s+s,16)/255],r}if(n===6){const i=e[0]+e[1],o=e[2]+e[3],s=e[4]+e[5];return r.channels=[parseInt(i,16)/255,parseInt(o,16)/255,parseInt(s,16)/255],r}if(n===4){const i=e[0],o=e[1],s=e[2],a=e[3];return r.channels=[parseInt(i+i,16)/255,parseInt(o+o,16)/255,parseInt(s+s,16)/255],r.alpha=parseInt(a+a,16)/255,r.syntaxFlags.add(zt.HasAlpha),r}if(n===8){const i=e[0]+e[1],o=e[2]+e[3],s=e[4]+e[5],a=e[6]+e[7];return r.channels=[parseInt(i,16)/255,parseInt(o,16)/255,parseInt(s,16)/255],r.alpha=parseInt(a,16)/255,r.syntaxFlags.add(zt.HasAlpha),r}return!1}function xx(t){if(t[0]===Be.Number)return t[4].value=t[4].value%360,t[1]=t[4].value.toString(),t;if(t[0]===Be.Dimension){let e=t[4].value;switch(oo(t[4].unit)){case"deg":break;case"rad":e=180*t[4].value/Math.PI;break;case"grad":e=.9*t[4].value;break;case"turn":e=360*t[4].value;break;default:return!1}return e%=360,[Be.Number,e.toString(),t[2],t[3],{value:e,type:Pt.Number}]}return!1}function I8t(t,e,r){if(e===0){const n=xx(t);return n!==!1&&(t[0]===Be.Dimension&&r.syntaxFlags.add(zt.HasDimensionValues),n)}if(t[0]===Be.Percentage){e===3?r.syntaxFlags.add(zt.HasPercentageAlpha):r.syntaxFlags.add(zt.HasPercentageValues);let n=dn(t[4].value,1,0,100);return e===3&&(n=dn(t[4].value,100,0,1)),[Be.Number,n.toString(),t[2],t[3],{value:n,type:Pt.Number}]}if(t[0]===Be.Number){if(e!==3)return!1;let n=dn(t[4].value,1,0,100);return e===3&&(n=dn(t[4].value,1,0,1)),[Be.Number,n.toString(),t[2],t[3],{value:n,type:Pt.Number}]}return!1}function N8t(t,e,r){if(t[0]===Be.Ident&&oo(t[4].value)==="none")return r.syntaxFlags.add(zt.HasNoneKeywords),[Be.Number,"none",t[2],t[3],{value:NaN,type:Pt.Number}];if(e===0){const n=xx(t);return n!==!1&&(t[0]===Be.Dimension&&r.syntaxFlags.add(zt.HasDimensionValues),n)}if(t[0]===Be.Percentage){e===3?r.syntaxFlags.add(zt.HasPercentageAlpha):r.syntaxFlags.add(zt.HasPercentageValues);let n=t[4].value;return e===3?n=dn(t[4].value,100,0,1):e===1&&(n=dn(t[4].value,1,0,1/0)),[Be.Number,n.toString(),t[2],t[3],{value:n,type:Pt.Number}]}if(t[0]===Be.Number){e!==3&&r.syntaxFlags.add(zt.HasNumberValues);let n=t[4].value;return e===3?n=dn(t[4].value,1,0,1):e===1&&(n=dn(t[4].value,1,0,1/0)),[Be.Number,n.toString(),t[2],t[3],{value:n,type:Pt.Number}]}return!1}function tDe(t,e,r,n){const i=[],o=[],s=[],a=[],l={colorNotation:r,channels:[0,0,0],alpha:1,syntaxFlags:new Set(n)};let c=i;for(let h=0;h<t.value.length;h++){let A=t.value[h];if(!Zi(A)&&!Ao(A)){if(nr(A)&&A.value[0]===Be.Comma){if(c===i){c=o;continue}if(c===o){c=s;continue}if(c===s){c=a;continue}if(c===a)return!1}if(Un(A)){if(c===a&&A.getName().toLowerCase()==="var"){l.syntaxFlags.add(zt.HasVariableAlpha),c.push(A);continue}if(!bx.has(A.getName().toLowerCase()))return!1;const[[g]]=vv([[A]],{toCanonicalUnits:!0,precision:100});if(!g||!nr(g)||(g.value[0]===Be.Percentage||g.value[0]===Be.Number||g.value[0]===Be.Dimension)&&Number.isNaN(g.value[4].value))return!1;A=g}if(!nr(A))return!1;c.push(A)}}if(c.length!==1||i.length!==1||o.length!==1||s.length!==1||!nr(i[0])||!nr(o[0])||!nr(s[0]))return!1;const u=e(i[0].value,0,l);if(!u||u[0]!==Be.Number)return!1;const f=e(o[0].value,1,l);if(!f||f[0]!==Be.Number)return!1;const d=e(s[0].value,2,l);if(!d||d[0]!==Be.Number)return!1;const p=[u,f,d];if(a.length===1)if(l.syntaxFlags.add(zt.HasAlpha),nr(a[0])){const h=e(a[0].value,3,l);if(!h||h[0]!==Be.Number)return!1;p.push(h)}else l.alpha=a[0];return l.channels=[p[0][4].value,p[1][4].value,p[2][4].value],p.length===4&&(l.alpha=p[3][4].value),l}function yv(t,e,r,n,i){const o=[],s=[],a=[],l=[];let c,u,f=!1;const d={colorNotation:r,channels:[0,0,0],alpha:1,syntaxFlags:new Set(n)};let p=o;for(let v=0;v<t.value.length;v++){let y=t.value[v];if(Zi(y)||Ao(y))for(;Zi(t.value[v+1])||Ao(t.value[v+1]);)v++;else if(p===o&&o.length&&(p=s),p===s&&s.length&&(p=a),nr(y)&&y.value[0]===Be.Delim&&y.value[4].value==="/"){if(p===l)return!1;p=l}else{if(Un(y)){if(p===l&&y.getName().toLowerCase()==="var"){d.syntaxFlags.add(zt.HasVariableAlpha),p.push(y);continue}if(!bx.has(y.getName().toLowerCase()))return!1;const[[b]]=vv([[y]],{toCanonicalUnits:!0,precision:100,globals:u});if(!b||!nr(b)||(b.value[0]===Be.Percentage||b.value[0]===Be.Number||b.value[0]===Be.Dimension)&&Number.isNaN(b.value[4].value))return!1;y=b}if(p===o&&o.length===0&&nr(y)&&y.value[0]===Be.Ident&&y.value[4].value.toLowerCase()==="from"){if(f)return!1;for(;Zi(t.value[v+1])||Ao(t.value[v+1]);)v++;if(v++,y=t.value[v],f=i(y),f===!1)return!1;f.syntaxFlags.has(zt.Experimental)&&d.syntaxFlags.add(zt.Experimental),d.syntaxFlags.add(zt.RelativeColorSyntax),f.colorNotation!==r&&(f=G1(f,r)),c=ZEe(f),u=eDe(c)}else{if(!nr(y))return!1;if(y.value[0]===Be.Ident&&c){const b=y.value[4].value.toLowerCase();if(c.has(b)){p.push(new Wt(c.get(b)));continue}}p.push(y)}}}if(p.length!==1||o.length!==1||s.length!==1||a.length!==1||!nr(o[0])||!nr(s[0])||!nr(a[0])||c&&!c.has("alpha"))return!1;const h=e(o[0].value,0,d);if(!h||h[0]!==Be.Number)return!1;const A=e(s[0].value,1,d);if(!A||A[0]!==Be.Number)return!1;const g=e(a[0].value,2,d);if(!g||g[0]!==Be.Number)return!1;const m=[h,A,g];if(l.length===1)if(d.syntaxFlags.add(zt.HasAlpha),nr(l[0])){const v=e(l[0].value,3,d);if(!v||v[0]!==Be.Number)return!1;m.push(v)}else d.alpha=l[0];else if(c&&c.has("alpha")){const v=e(c.get("alpha"),3,d);if(!v||v[0]!==Be.Number)return!1;m.push(v)}return d.channels=[m[0][4].value,m[1][4].value,m[2][4].value],m.length===4&&(d.alpha=m[3][4].value),d}function F8t(t,e){if(t.value.some(r=>nr(r)&&r.value[0]===Be.Comma)){const r=T8t(t);if(r!==!1)return r}{const r=L8t(t,e);if(r!==!1)return r}return!1}function T8t(t){return tDe(t,I8t,it.HSL,[zt.LegacyHSL])}function L8t(t,e){return yv(t,N8t,it.HSL,[],e)}function R8t(t,e,r){if(t[0]===Be.Ident&&oo(t[4].value)==="none")return r.syntaxFlags.add(zt.HasNoneKeywords),[Be.Number,"none",t[2],t[3],{value:NaN,type:Pt.Number}];if(e===0){const n=xx(t);return n!==!1&&(t[0]===Be.Dimension&&r.syntaxFlags.add(zt.HasDimensionValues),n)}if(t[0]===Be.Percentage){e===3?r.syntaxFlags.add(zt.HasPercentageAlpha):r.syntaxFlags.add(zt.HasPercentageValues);let n=t[4].value;return e===3&&(n=dn(t[4].value,100,0,1)),[Be.Number,n.toString(),t[2],t[3],{value:n,type:Pt.Number}]}if(t[0]===Be.Number){e!==3&&r.syntaxFlags.add(zt.HasNumberValues);let n=t[4].value;return e===3&&(n=dn(t[4].value,1,0,1)),[Be.Number,n.toString(),t[2],t[3],{value:n,type:Pt.Number}]}return!1}function M8t(t,e,r){if(t[0]===Be.Ident&&oo(t[4].value)==="none")return r.syntaxFlags.add(zt.HasNoneKeywords),[Be.Number,"none",t[2],t[3],{value:NaN,type:Pt.Number}];if(t[0]===Be.Percentage){e!==3&&r.syntaxFlags.add(zt.HasPercentageValues);let n=dn(t[4].value,1,0,100);return e===1||e===2?n=dn(t[4].value,.8,-1/0,1/0):e===3&&(n=dn(t[4].value,100,0,1)),[Be.Number,n.toString(),t[2],t[3],{value:n,type:Pt.Number}]}if(t[0]===Be.Number){e!==3&&r.syntaxFlags.add(zt.HasNumberValues);let n=dn(t[4].value,1,0,100);return e===1||e===2?n=dn(t[4].value,1,-1/0,1/0):e===3&&(n=dn(t[4].value,1,0,1)),[Be.Number,n.toString(),t[2],t[3],{value:n,type:Pt.Number}]}return!1}function _8t(t,e){return yv(t,M8t,it.Lab,[],e)}function j8t(t,e,r){if(t[0]===Be.Ident&&oo(t[4].value)==="none")return r.syntaxFlags.add(zt.HasNoneKeywords),[Be.Number,"none",t[2],t[3],{value:NaN,type:Pt.Number}];if(e===2){const n=xx(t);return n!==!1&&(t[0]===Be.Dimension&&r.syntaxFlags.add(zt.HasDimensionValues),n)}if(t[0]===Be.Percentage){e!==3&&r.syntaxFlags.add(zt.HasPercentageValues);let n=dn(t[4].value,1,0,100);return e===1?n=dn(t[4].value,100/150,0,1/0):e===3&&(n=dn(t[4].value,100,0,1)),[Be.Number,n.toString(),t[2],t[3],{value:n,type:Pt.Number}]}if(t[0]===Be.Number){e!==3&&r.syntaxFlags.add(zt.HasNumberValues);let n=dn(t[4].value,1,0,100);return e===1?n=dn(t[4].value,1,0,1/0):e===3&&(n=dn(t[4].value,1,0,1)),[Be.Number,n.toString(),t[2],t[3],{value:n,type:Pt.Number}]}return!1}function U8t(t,e){return yv(t,j8t,it.LCH,[],e)}const rDe=new Map;for(const[t,e]of Object.entries(B6t))rDe.set(t,e);function Q8t(t){const e=rDe.get(oo(t));return!!e&&{colorNotation:it.RGB,channels:[e[0]/255,e[1]/255,e[2]/255],alpha:1,syntaxFlags:new Set([zt.ColorKeyword,zt.NamedColor])}}function V8t(t,e,r){if(t[0]===Be.Ident&&oo(t[4].value)==="none")return r.syntaxFlags.add(zt.HasNoneKeywords),[Be.Number,"none",t[2],t[3],{value:NaN,type:Pt.Number}];if(t[0]===Be.Percentage){e!==3&&r.syntaxFlags.add(zt.HasPercentageValues);let n=dn(t[4].value,100,0,1);return e===1||e===2?n=dn(t[4].value,250,-1/0,1/0):e===3&&(n=dn(t[4].value,100,0,1)),[Be.Number,n.toString(),t[2],t[3],{value:n,type:Pt.Number}]}if(t[0]===Be.Number){e!==3&&r.syntaxFlags.add(zt.HasNumberValues);let n=dn(t[4].value,1,0,1);return e===1||e===2?n=dn(t[4].value,1,-1/0,1/0):e===3&&(n=dn(t[4].value,1,0,1)),[Be.Number,n.toString(),t[2],t[3],{value:n,type:Pt.Number}]}return!1}function $8t(t,e){return yv(t,V8t,it.OKLab,[],e)}function H8t(t,e,r){if(t[0]===Be.Ident&&oo(t[4].value)==="none")return r.syntaxFlags.add(zt.HasNoneKeywords),[Be.Number,"none",t[2],t[3],{value:NaN,type:Pt.Number}];if(e===2){const n=xx(t);return n!==!1&&(t[0]===Be.Dimension&&r.syntaxFlags.add(zt.HasDimensionValues),n)}if(t[0]===Be.Percentage){e!==3&&r.syntaxFlags.add(zt.HasPercentageValues);let n=dn(t[4].value,100,0,1);return e===1?n=dn(t[4].value,250,0,1/0):e===3&&(n=dn(t[4].value,100,0,1)),[Be.Number,n.toString(),t[2],t[3],{value:n,type:Pt.Number}]}if(t[0]===Be.Number){e!==3&&r.syntaxFlags.add(zt.HasNumberValues);let n=dn(t[4].value,1,0,1);return e===1?n=dn(t[4].value,1,0,1/0):e===3&&(n=dn(t[4].value,1,0,1)),[Be.Number,n.toString(),t[2],t[3],{value:n,type:Pt.Number}]}return!1}function G8t(t,e){return yv(t,H8t,it.OKLCH,[],e)}function W8t(t,e,r){if(t[0]===Be.Percentage){e===3?r.syntaxFlags.add(zt.HasPercentageAlpha):r.syntaxFlags.add(zt.HasPercentageValues);const n=dn(t[4].value,100,0,1);return[Be.Number,n.toString(),t[2],t[3],{value:n,type:Pt.Number}]}if(t[0]===Be.Number){e!==3&&r.syntaxFlags.add(zt.HasNumberValues);let n=dn(t[4].value,255,0,1);return e===3&&(n=dn(t[4].value,1,0,1)),[Be.Number,n.toString(),t[2],t[3],{value:n,type:Pt.Number}]}return!1}function z8t(t,e,r){if(t[0]===Be.Ident&&t[4].value.toLowerCase()==="none")return r.syntaxFlags.add(zt.HasNoneKeywords),[Be.Number,"none",t[2],t[3],{value:NaN,type:Pt.Number}];if(t[0]===Be.Percentage){e!==3&&r.syntaxFlags.add(zt.HasPercentageValues);let n=dn(t[4].value,100,-1/0,1/0);return e===3&&(n=dn(t[4].value,100,0,1)),[Be.Number,n.toString(),t[2],t[3],{value:n,type:Pt.Number}]}if(t[0]===Be.Number){e!==3&&r.syntaxFlags.add(zt.HasNumberValues);let n=dn(t[4].value,255,-1/0,1/0);return e===3&&(n=dn(t[4].value,1,0,1)),[Be.Number,n.toString(),t[2],t[3],{value:n,type:Pt.Number}]}return!1}function K8t(t,e){if(t.value.some(r=>nr(r)&&r.value[0]===Be.Comma)){const r=q8t(t);if(r!==!1)return(!r.syntaxFlags.has(zt.HasNumberValues)||!r.syntaxFlags.has(zt.HasPercentageValues))&&r}else{const r=X8t(t,e);if(r!==!1)return r}return!1}function q8t(t){return tDe(t,W8t,it.RGB,[zt.LegacyRGB])}function X8t(t,e){return yv(t,z8t,it.RGB,[],e)}function nDe(t){const e=$9(t);if(CZ(e))return B5(e);let r=t.slice();return r=yZ(r),r[0]<1e-6&&(r=[0,0,0]),r[0]>.999999&&(r=[1,0,0]),WEe(r,n=>(n=e1(n),n=eN(n),n=yx(n),Bx(n)),n=>(n=gx(n),n=vx(n),n=tN(n),vZ(n)))}function Y8t(t,e){let r=!1,n=!1;for(let a=0;a<t.value.length;a++){const l=t.value[a];if(!Zi(l)&&!Ao(l)&&(r||(r=e(l),!r))){if(!r||n||!nr(l)||l.value[0]!==Be.Ident||oo(l.value[4].value)!=="max")return!1;n=!0}}if(!r||!n)return!1;r.channels=r.channels.map(a=>Number.isNaN(a)?0:a),r.channels=nDe(FB(r).channels),r.colorNotation=it.sRGB;const i={colorNotation:it.sRGB,channels:[0,0,0],alpha:1,syntaxFlags:new Set([zt.ContrastColor,zt.Experimental])},o=lAe(r.channels,[1,1,1]),s=lAe(r.channels,[0,0,0]);return i.channels=o>s?[1,1,1]:[0,0,0],i}function fl(t,e=7){t=+t,e=+e;const r=(Math.floor(t)+"").length;if(e>r)return+t.toFixed(e-r);{const n=10**(r-e);return Math.round(t/n)*n}}function J8t(t){const e=BZ(t);if(CZ(e))return B5(e);let r=t.slice();return r=yZ(r),r[0]<1e-6&&(r=[0,0,0]),r[0]>.999999&&(r=[1,0,0]),WEe(r,n=>(n=e1(n),n=eN(n),n=$Ee(n),HEe(n)),n=>(n=UEe(n),n=QEe(n),n=tN(n),vZ(n)))}function Z8t(t,e,r,n){const i=[Be.CloseParen,")",-1,-1,void 0];if(typeof t.alpha=="number"){const o=Math.min(1,Math.max(0,fl(Number.isNaN(t.alpha)?0:t.alpha)));return fl(o,4)===1?new ko(e,i,n):new ko(e,i,[...n,new Hn([r]),new Wt([Be.Delim,"/",-1,-1,{value:"/"}]),new Hn([r]),new Wt([Be.Number,fl(o,4).toString(),-1,-1,{value:t.alpha,type:Pt.Integer}])])}return new ko(e,i,[...n,new Hn([r]),new Wt([Be.Delim,"/",-1,-1,{value:"/"}]),new Hn([r]),t.alpha])}function b1(t,e=!0){t.channels=xZ(t.channels,t.colorNotation);let r=t.channels.map(l=>Number.isNaN(l)?0:l);t.colorNotation!==it.Display_P3&&(r=e?J8t(FB(t).channels):BZ(FB(t).channels));const n=e?Math.min(1,Math.max(0,fl(r[0],6))):fl(r[0],6),i=e?Math.min(1,Math.max(0,fl(r[1],6))):fl(r[1],6),o=e?Math.min(1,Math.max(0,fl(r[2],6))):fl(r[2],6),s=[Be.Function,"color(",-1,-1,{value:"color"}],a=[Be.Whitespace," ",-1,-1,void 0];return Z8t(t,s,a,[new Wt([Be.Ident,"display-p3",-1,-1,{value:"display-p3"}]),new Hn([a]),new Wt([Be.Number,n.toString(),-1,-1,{value:r[0],type:Pt.Number}]),new Hn([a]),new Wt([Be.Number,i.toString(),-1,-1,{value:r[1],type:Pt.Number}]),new Hn([a]),new Wt([Be.Number,o.toString(),-1,-1,{value:r[2],type:Pt.Number}])])}function qf(t,e=!0){t.channels=xZ(t.channels,t.colorNotation);let r=t.channels.map(u=>Number.isNaN(u)?0:u);r=e?nDe(FB(t).channels):$9(FB(t).channels);const n=Math.min(255,Math.max(0,Math.round(255*fl(r[0])))),i=Math.min(255,Math.max(0,Math.round(255*fl(r[1])))),o=Math.min(255,Math.max(0,Math.round(255*fl(r[2])))),s=[Be.CloseParen,")",-1,-1,void 0],a=[Be.Whitespace," ",-1,-1,void 0],l=[Be.Comma,",",-1,-1,void 0],c=[new Wt([Be.Number,n.toString(),-1,-1,{value:Math.min(255,255*Math.max(0,r[0])),type:Pt.Integer}]),new Wt(l),new Hn([a]),new Wt([Be.Number,i.toString(),-1,-1,{value:Math.min(255,255*Math.max(0,r[1])),type:Pt.Integer}]),new Wt(l),new Hn([a]),new Wt([Be.Number,o.toString(),-1,-1,{value:Math.min(255,255*Math.max(0,r[2])),type:Pt.Integer}])];if(typeof t.alpha=="number"){const u=Math.min(1,Math.max(0,fl(Number.isNaN(t.alpha)?0:t.alpha)));return fl(u,4)===1?new ko([Be.Function,"rgb(",-1,-1,{value:"rgb"}],s,c):new ko([Be.Function,"rgba(",-1,-1,{value:"rgba"}],s,[...c,new Wt(l),new Hn([a]),new Wt([Be.Number,fl(u,4).toString(),-1,-1,{value:t.alpha,type:Pt.Number}])])}return new ko([Be.Function,"rgba(",-1,-1,{value:"rgba"}],s,[...c,new Wt(l),new Hn([a]),t.alpha])}function Uo(t){if(Un(t))switch(oo(t.getName())){case"rgb":case"rgba":return K8t(t,Uo);case"hsl":case"hsla":return F8t(t,Uo);case"hwb":return e=Uo,yv(t,R8t,it.HWB,[],e);case"lab":return _8t(t,Uo);case"lch":return U8t(t,Uo);case"oklab":return $8t(t,Uo);case"oklch":return G8t(t,Uo);case"color":return x8t(t,Uo);case"color-mix":return k8t(t,Uo);case"contrast-color":return Y8t(t,Uo)}var e;if(nr(t)){if(t.value[0]===Be.Hash)return P8t(t.value);if(t.value[0]===Be.Ident){const r=Q8t(t.value[4].value);return r!==!1?r:oo(t.value[4].value)==="transparent"&&{colorNotation:it.RGB,channels:[0,0,0],alpha:0,syntaxFlags:new Set([zt.ColorKeyword])}}}return!1}function eEt(t){const e=t.parent;if(!e)return!1;const r=t.prop.toLowerCase(),n=e.index(t);for(let i=0;i<n;i++){const o=e.nodes[i];if(o.type==="decl"&&o.prop.toLowerCase()===r)return!0}return!1}function tEt(t){let e=t.parent;for(;e;)if(e.type==="atrule"){if(e.name==="supports"&&e.params.indexOf("color(")!==-1)return!0;e=e.parent}else e=e.parent;return!1}const rEt=/(color)\(/i,nEt=/^(color)$/i,PH=t=>({postcssPlugin:"postcss-color-function",Declaration:e=>{const r=e.value;if(!rEt.test(r)||eEt(e)||tEt(e))return;const n=gv({css:r}),i=Wc(Ja(n),s=>{if(Un(s)&&nEt.test(s.getName())){const a=Uo(s);return!a||a.syntaxFlags.has(zt.HasNoneKeywords)||a.syntaxFlags.has(zt.RelativeColorSyntax)?void 0:qf(a)}}),o=Hu(i);o!==r&&(e.cloneBefore({value:o}),t!=null&&t.preserve||e.remove())}});PH.postcss=!0;const iDe=t=>{const e=Object.assign({preserve:!1,enableProgressiveCustomProperties:!0},t);return e.enableProgressiveCustomProperties&&e.preserve?{postcssPlugin:"postcss-color-function",plugins:[sd(),PH(e)]}:PH(e)};iDe.postcss=!0;function iEt(t){const e=t.value.toLowerCase();if(!AEt(e==="rgb"||e==="rgba",t.nodes))return;const r=pEt(t.nodes).slice().filter(s=>s.type!=="comment"&&s.type!=="space");let n=null;if(e==="hsl"||e==="hsla"?n=aEt(r):e!=="rgb"&&e!=="rgba"||(n=lEt(r)),!n||r.length>3&&(!n.slash||!n.alpha))return;fEt(t,n.slash,n.alpha);const[i,o]=uEt(n);t.nodes.splice(t.nodes.indexOf(i)+1,0,{sourceIndex:0,sourceEndIndex:1,value:",",type:"div",before:"",after:""}),t.nodes.splice(t.nodes.indexOf(o)+1,0,{sourceIndex:0,sourceEndIndex:1,value:",",type:"div",before:"",after:""})}function oEt(t){if(!t||t.type!=="word"||!SZ(t))return!1;const e=cr.unit(t.value);return!!e&&!!e.number}function sEt(t){if(!t||t.type!=="word"||!SZ(t))return!1;const e=cr.unit(t.value);if(!e)return!1;const r=e.unit.toLowerCase();return!!e.number&&(r==="deg"||r==="grad"||r==="rad"||r==="turn"||e.unit==="")}function r1(t){if(!t||t.type!=="word"||!SZ(t))return!1;const e=cr.unit(t.value);return!!e&&(e.unit==="%"||e.unit==="")}function oDe(t){return t&&t.type==="function"&&t.value.toLowerCase()==="calc"}function sDe(t){return t&&t.type==="function"&&t.value.toLowerCase()==="var"}function aDe(t){return t&&t.type==="div"&&t.value==="/"}function aEt(t){if(!sEt(t[0])||!r1(t[1])||!r1(t[2]))return null;const e={h:cr.unit(t[0].value),hNode:t[0],s:cr.unit(t[1].value),sNode:t[1],l:cr.unit(t[2].value),lNode:t[2]};return dEt(e.h),e.h.unit!==""?null:(e.hNode.value=e.h.number,aDe(t[3])&&(e.slash=t[3]),(r1(t[4])||oDe(t[4])||sDe(t[4]))&&(e.alpha=t[4]),e)}function lEt(t){if(!r1(t[0])||!r1(t[1])||!r1(t[2]))return null;const e={r:cr.unit(t[0].value),rNode:t[0],g:cr.unit(t[1].value),gNode:t[1],b:cr.unit(t[2].value),bNode:t[2]};return e.r.unit==="%"&&(e.r.number=String(Math.floor(Number(e.r.number)/100*255)),e.rNode.value=e.r.number),e.g.unit==="%"&&(e.g.number=String(Math.floor(Number(e.g.number)/100*255)),e.gNode.value=e.g.number),e.b.unit==="%"&&(e.b.number=String(Math.floor(Number(e.b.number)/100*255)),e.bNode.value=e.b.number),aDe(t[3])&&(e.slash=t[3]),(r1(t[4])||oDe(t[4])||sDe(t[4]))&&(e.alpha=t[4]),e}function cEt(t){return t.r!==void 0}function uEt(t){return cEt(t)?[t.rNode,t.gNode,t.bNode]:[t.hNode,t.sNode,t.lNode]}function fEt(t,e,r){if(t.value.toLowerCase()==="hsl"||t.value.toLowerCase()==="hsla"?t.value="hsl":t.value.toLowerCase()!=="rgb"&&t.value.toLowerCase()!=="rgba"||(t.value="rgb"),!e||!r||(t.value.toLowerCase()==="hsl"?t.value="hsla":t.value="rgba",e.value=",",e.before="",!oEt(r)))return;const n=cr.unit(r.value);n&&n.unit==="%"&&(n.number=String(parseFloat(n.number)/100),r.value=String(n.number))}function dEt(t){switch(t.unit.toLowerCase()){case"deg":return void(t.unit="");case"rad":return t.unit="",void(t.number=Math.round(180*parseFloat(t.number)/Math.PI).toString());case"grad":return t.unit="",void(t.number=Math.round(.9*parseFloat(t.number)).toString());case"turn":return t.unit="",void(t.number=Math.round(360*parseFloat(t.number)).toString())}}function SZ(t){if(!t||!t.value)return!1;try{return cr.unit(t.value)!==!1}catch{return!1}}function pEt(t){let e=0;for(let r=0;r<t.length;r++){const n=t[r];if(n.type==="div"&&n.value===","){if(e<2&&(n.value=" ",n.type="space"),e===2&&(n.value="/"),e>2)return[];e++}}return t}function AEt(t,e){let r=!1,n=!1,i=!1;const o=e.slice().filter(s=>s.type!=="comment"&&s.type!=="space");for(let s=0;s<o.length;s++){const a=o[s];if(a.type==="word"&&a.value.toLowerCase()==="from")return!1;a.type!=="div"||a.value!==","?t&&a.type==="word"&&a.value.endsWith("%")?i=!0:s===e.length-1&&a.type==="word"&&a.value.endsWith("%")&&(n=!0):r=!0}return!(!r||!n&&!i)||!r}const hEt=/(\(color: rgb(a?)\(0 0 0 \/ 0)|(\(color: hsl(a?)\(0 0% 0% \/ 0)/i;function mEt(t){let e=t.parent;for(;e;)if(e.type==="atrule"){if(e.name==="supports"&&hEt.test(e.params))return!0;e=e.parent}else e=e.parent;return!1}function gEt(t){const e=t.parent;if(!e)return!1;const r=t.prop.toLowerCase(),n=e.index(t);for(let i=0;i<n;i++){const o=e.nodes[i];if(o.type==="decl"&&o.prop.toLowerCase()===r)return!0}return!1}const IH=t=>({postcssPlugin:"postcss-color-function",Declaration:(e,{result:r})=>{const n=e.value,i=n.toLowerCase();if(!(i.includes("rgb")||i.includes("rgba")||i.includes("hsl")||i.includes("hsla"))||gEt(e)||mEt(e))return;let o;try{o=cr(n)}catch{e.warn(r,`Failed to parse value '${n}' as a hsl or rgb function. Leaving the original value intact.`)}if(o===void 0)return;o.walk(a=>{if(!a.type||a.type!=="function")return;const l=a.value.toLowerCase();l!=="hsl"&&l!=="hsla"&&l!=="rgb"&&l!=="rgba"||iEt(a)});const s=String(o);s!==n&&(e.cloneBefore({value:s}),t!=null&&t.preserve||e.remove())}});IH.postcss=!0;const lDe=t=>{const e=Object.assign({preserve:!1,enableProgressiveCustomProperties:!0},t);return e.enableProgressiveCustomProperties&&e.preserve?{postcssPlugin:"postcss-color-function",plugins:[sd(),IH(e)]}:IH(e)};lDe.postcss=!0;function vEt(t){const e=t.parent;if(!e)return!1;const r=t.prop.toLowerCase(),n=e.index(t);for(let i=0;i<n;i++){const o=e.nodes[i];if(o.type==="decl"&&o.prop.toLowerCase()===r)return!0}return!1}function yEt(t){let e=t.parent;for(;e;)if(e.type==="atrule"){if(e.name.toLowerCase()==="supports"&&e.params.toLowerCase().indexOf("color-mix(")!==-1)return!0;e=e.parent}else e=e.parent;return!1}const BEt=/(color-mix)\(/i,pAe=/^(color-mix)$/i,NH=t=>({postcssPlugin:"postcss-color-mix-function",Declaration:e=>{const r=e.value;if(!BEt.test(r)||vEt(e)||yEt(e))return;const n=gv({css:r}),i=Wc(Ja(n),a=>{if(Un(a)&&pAe.test(a.getName())){const l=Uo(a);return l?qf(l):void 0}}),o=Hu(i);if(o===r)return;let s=o;t!=null&&t.subFeatures.displayP3&&(s=Hu(Wc(Ja(ah(n)),a=>{if(Un(a)&&pAe.test(a.getName())){const l=Uo(a);return l?wx(l)?qf(l):b1(l):void 0}}))),e.cloneBefore({value:o}),t!=null&&t.subFeatures.displayP3&&s!==o&&e.cloneBefore({value:s}),t!=null&&t.preserve||e.remove()}});NH.postcss=!0;const cDe=t=>{const e=Object.assign({enableProgressiveCustomProperties:!0,preserve:!1,subFeatures:{displayP3:!0}},t);return e.subFeatures=Object.assign({displayP3:!0},e.subFeatures),e.enableProgressiveCustomProperties&&(e.preserve||e.subFeatures.displayP3)?{postcssPlugin:"postcss-color-mix-function",plugins:[sd(),NH(e)]}:NH(e)};cDe.postcss=!0;class H9{constructor(e){Tt(this,"parts");this.parts=e}tokens(){return[...this.parts]}slice(e,r){const n=[];for(let o=0;o<this.parts.length;o++)Ri(this.parts[o])&&n.push(o);const i=n.slice(e,r);return new H9(this.parts.slice(i[0],i[i.length-1]+1))}concat(e){const r=[Be.Delim,".",-1,-1,{value:"."}];return new H9([...this.parts.filter(n=>Ri(n)||Ga(n)),r,...e.parts.filter(n=>Ri(n)||Ga(n))])}segments(){return this.parts.filter(e=>Ri(e)).map(e=>e[4].value)}name(){return this.parts.filter(e=>Ri(e)||Ga(e)).map(e=>e[1]).join("")}equal(e){const r=this.segments(),n=e.segments();if(r.length!==n.length)return!1;for(let i=0;i<r.length;i++)if(r[i]!==n[i])return!1;return!0}toString(){return nn(...this.parts)}toJSON(){return{parts:this.parts,segments:this.segments(),name:this.name()}}}function TB(t,e){e.forEach(r=>{const n=r.segments();e:for(let i=0;i<n.length;i++){const o=r.slice(0,i+1),s=o.segments();let a=-1,l=0;for(let c=0;c<t.length;c++){const u=t[c].segments();let f=0;t:for(let d=0;d<u.length;d++){const p=u[d],h=s[d];if(h===p&&d+1===s.length)continue e;if(h!==p){if(h!==p)break t}else f++}f>=l&&(a=c,l=f)}a===-1?t.push(o):t.splice(a+1,0,o)}})}function CEt(t,e){const r=Ja(t,{onParseError:e?.onParseError}),n=e?.onParseError??(()=>{}),i=["6.4.2. Layer Naming and Nesting","Layer name syntax","<layer-name> = <ident> [ '.' <ident> ]*"],o=t[0][2],s=t[t.length-1][3],a=[];for(let l=0;l<r.length;l++){const c=r[l];for(let h=0;h<c.length;h++){const A=c[h];if(!nr(A)&&!Ao(A)&&!Zi(A))return n(new du(`Invalid cascade layer name. Invalid layer name part "${A.toString()}"`,o,s,i)),[]}const u=c.flatMap(h=>h.tokens());let f=!1,d=!1,p=null;for(let h=0;h<u.length;h++){const A=u[h];if(!(V1(A)||Ri(A)||Ga(A)&&A[4].value==="."))return n(new du(`Invalid cascade layer name. Invalid character "${A[1]}"`,o,s,i)),[];if(!f&&Ga(A))return n(new du("Invalid cascade layer name. Layer names can not start with a dot.",o,s,i)),[];if(f){if(C1(A)){d=!0;continue}if(d&&gZ(A))continue;if(d)return n(new du("Invalid cascade layer name. Encountered unexpected whitespace between layer name parts.",o,s,i)),[];if(Ri(p)&&Ri(A))return n(new du("Invalid cascade layer name. Layer name parts must be separated by dots.",o,s,i)),[];if(Ga(p)&&Ga(A))return n(new du("Invalid cascade layer name. Layer name parts must not be empty.",o,s,i)),[]}Ri(A)&&(f=!0),(Ri(A)||Ga(A))&&(p=A)}if(!p)return n(new du("Invalid cascade layer name. Empty layer name.",o,s,i)),[];if(Ga(p))return n(new du("Invalid cascade layer name. Layer name must not end with a dot.",o,s,i)),[];a.push(new H9(u))}return a}function LC(t,e){const r=Pp({css:t},{onParseError:e?.onParseError}),n=[];for(;!r.endOfFile();)n.push(r.nextToken());return n.push(r.nextToken()),CEt(n,e)}var an;(function(t){t.CustomMedia="custom-media",t.GeneralEnclosed="general-enclosed",t.MediaAnd="media-and",t.MediaCondition="media-condition",t.MediaConditionListWithAnd="media-condition-list-and",t.MediaConditionListWithOr="media-condition-list-or",t.MediaFeature="media-feature",t.MediaFeatureBoolean="mf-boolean",t.MediaFeatureName="mf-name",t.MediaFeaturePlain="mf-plain",t.MediaFeatureRangeNameValue="mf-range-name-value",t.MediaFeatureRangeValueName="mf-range-value-name",t.MediaFeatureRangeValueNameValue="mf-range-value-name-value",t.MediaFeatureValue="mf-value",t.MediaInParens="media-in-parens",t.MediaNot="media-not",t.MediaOr="media-or",t.MediaQueryWithType="media-query-with-type",t.MediaQueryWithoutType="media-query-without-type",t.MediaQueryInvalid="media-query-invalid"})(an||(an={}));class hl{constructor(e){Tt(this,"type",an.MediaCondition);Tt(this,"media");this.media=e}tokens(){return this.media.tokens()}toString(){return this.media.toString()}indexOf(e){return e===this.media?"media":-1}at(e){if(e==="media")return this.media}walk(e,r){let n;return r&&(n={...r}),e({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(e,n)}toJSON(){return{type:this.type,media:this.media.toJSON()}}isMediaCondition(){return hl.isMediaCondition(this)}static isMediaCondition(e){return!!e&&e instanceof hl&&e.type===an.MediaCondition}}class rc{constructor(e,r=[],n=[]){Tt(this,"type",an.MediaInParens);Tt(this,"media");Tt(this,"before");Tt(this,"after");this.media=e,this.before=r,this.after=n}tokens(){return[...this.before,...this.media.tokens(),...this.after]}toString(){return nn(...this.before)+this.media.toString()+nn(...this.after)}indexOf(e){return e===this.media?"media":-1}at(e){if(e==="media")return this.media}walk(e,r){let n;return r&&(n={...r}),e({node:this.media,parent:this,state:n},"media")!==!1&&("walk"in this.media?this.media.walk(e,n):void 0)}toJSON(){return{type:this.type,media:this.media.toJSON(),before:this.before,after:this.after}}isMediaInParens(){return rc.isMediaInParens(this)}static isMediaInParens(e){return!!e&&e instanceof rc&&e.type===an.MediaInParens}}class tm{constructor(e,r,n,i){Tt(this,"type",an.MediaQueryWithType);Tt(this,"modifier");Tt(this,"mediaType");Tt(this,"and");Tt(this,"media");this.modifier=e,this.mediaType=r,n&&i&&(this.and=n,this.media=i)}getModifier(){if(!this.modifier.length)return"";for(let e=0;e<this.modifier.length;e++){const r=this.modifier[e];if(Ri(r))return r[4].value}return""}negateQuery(){const e=new tm([...this.modifier],[...this.mediaType],this.and,this.media);if(e.modifier.length===0)return e.modifier=[[Be.Ident,"not",-1,-1,{value:"not"}],[Be.Whitespace," ",-1,-1,void 0]],e;for(let r=0;r<e.modifier.length;r++){const n=e.modifier[r];if(Ri(n)&&n[4].value.toLowerCase()==="not"){e.modifier.splice(r,1);break}if(Ri(n)&&n[4].value.toLowerCase()==="only"){n[1]="not",n[4].value="not";break}}return e}getMediaType(){if(!this.mediaType.length)return"";for(let e=0;e<this.mediaType.length;e++){const r=this.mediaType[e];if(Ri(r))return r[4].value}return""}tokens(){return this.and&&this.media?[...this.modifier,...this.mediaType,...this.and,...this.media.tokens()]:[...this.modifier,...this.mediaType]}toString(){return this.and&&this.media?nn(...this.modifier)+nn(...this.mediaType)+nn(...this.and)+this.media.toString():nn(...this.modifier)+nn(...this.mediaType)}indexOf(e){return e===this.media?"media":-1}at(e){if(e==="media")return this.media}walk(e,r){let n;if(r&&(n={...r}),this.media)return e({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(e,n)}toJSON(){return{type:this.type,string:this.toString(),modifier:this.modifier,mediaType:this.mediaType,and:this.and,media:this.media}}isMediaQueryWithType(){return tm.isMediaQueryWithType(this)}static isMediaQueryWithType(e){return!!e&&e instanceof tm&&e.type===an.MediaQueryWithType}}class R2{constructor(e){Tt(this,"type",an.MediaQueryWithoutType);Tt(this,"media");this.media=e}negateQuery(){let e=this.media;return e.media.type===an.MediaNot?new R2(new hl(e.media.media)):(e.media.type===an.MediaConditionListWithOr&&(e=new hl(new rc(e,[[Be.Whitespace," ",0,0,void 0],[Be.OpenParen,"(",0,0,void 0]],[[Be.CloseParen,")",0,0,void 0]]))),new tm([[Be.Ident,"not",0,0,{value:"not"}],[Be.Whitespace," ",0,0,void 0]],[[Be.Ident,"all",0,0,{value:"all"}],[Be.Whitespace," ",0,0,void 0]],[[Be.Ident,"and",0,0,{value:"and"}]],e))}tokens(){return this.media.tokens()}toString(){return this.media.toString()}indexOf(e){return e===this.media?"media":-1}at(e){if(e==="media")return this.media}walk(e,r){let n;return r&&(n={...r}),e({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(e,n)}toJSON(){return{type:this.type,string:this.toString(),media:this.media}}isMediaQueryWithoutType(){return R2.isMediaQueryWithoutType(this)}static isMediaQueryWithoutType(e){return!!e&&e instanceof R2&&e.type===an.MediaQueryWithoutType}}class M2{constructor(e){Tt(this,"type",an.MediaQueryInvalid);Tt(this,"media");this.media=e}negateQuery(){return new M2(this.media)}tokens(){return this.media.flatMap(e=>e.tokens())}toString(){return this.media.map(e=>e.toString()).join("")}walk(e,r){if(this.media.length===0)return;const n=FC(this.media);let i=0;for(;i<this.media.length;){const o=this.media[i];let s;if(r&&(s={...r}),e({node:o,parent:this,state:s},i)===!1||"walk"in o&&this.media.includes(o)&&o.walk(e,s)===!1)return!1;if(i=n(this.media,o,i),i===-1)break}}toJSON(){return{type:this.type,string:this.toString(),media:this.media}}isMediaQueryInvalid(){return M2.isMediaQueryInvalid(this)}static isMediaQueryInvalid(e){return!!e&&e instanceof M2&&e.type===an.MediaQueryInvalid}}class LB{constructor(e){Tt(this,"type",an.GeneralEnclosed);Tt(this,"value");this.value=e}tokens(){return this.value.tokens()}toString(){return this.value.toString()}indexOf(e){return e===this.value?"value":-1}at(e){if(e==="value")return this.value}walk(e,r){let n;return r&&(n={...r}),e({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(e,n):void 0)}toJSON(){return{type:this.type,tokens:this.tokens()}}isGeneralEnclosed(){return LB.isGeneralEnclosed(this)}static isGeneralEnclosed(e){return!!e&&e instanceof LB&&e.type===an.GeneralEnclosed}}class LA{constructor(e,r){Tt(this,"type",an.MediaAnd);Tt(this,"modifier");Tt(this,"media");this.modifier=e,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return nn(...this.modifier)+this.media.toString()}indexOf(e){return e===this.media?"media":-1}at(e){return e==="media"?this.media:null}walk(e,r){let n;return r&&(n={...r}),e({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(e,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaAnd(){return LA.isMediaAnd(this)}static isMediaAnd(e){return!!e&&e instanceof LA&&e.type===an.MediaAnd}}class RB{constructor(e,r,n=[],i=[]){Tt(this,"type",an.MediaConditionListWithAnd);Tt(this,"leading");Tt(this,"list");Tt(this,"before");Tt(this,"after");this.leading=e,this.list=r,this.before=n,this.after=i}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(e=>e.tokens()),...this.after]}toString(){return nn(...this.before)+this.leading.toString()+this.list.map(e=>e.toString()).join("")+nn(...this.after)}indexOf(e){return e===this.leading?"leading":e.type===an.MediaAnd?this.list.indexOf(e):-1}at(e){return e==="leading"?this.leading:typeof e=="number"?(e<0&&(e=this.list.length+e),this.list[e]):void 0}walk(e,r){let n;if(r&&(n={...r}),e({node:this.leading,parent:this,state:n},"leading")===!1||"walk"in this.leading&&this.leading.walk(e,n)===!1)return!1;if(this.list.length===0)return;const i=FC(this.list);let o=0;for(;o<this.list.length;){const s=this.list[o];if(r&&(n={...r}),e({node:s,parent:this,state:n},o)===!1||"walk"in s&&this.list.includes(s)&&s.walk(e,n)===!1)return!1;if(o=i(this.list,s,o),o===-1)break}}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(e=>e.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithAnd(){return RB.isMediaConditionListWithAnd(this)}static isMediaConditionListWithAnd(e){return!!e&&e instanceof RB&&e.type===an.MediaConditionListWithAnd}}class F4{constructor(e,r,n=[],i=[]){Tt(this,"type",an.MediaConditionListWithOr);Tt(this,"leading");Tt(this,"list");Tt(this,"before");Tt(this,"after");this.leading=e,this.list=r,this.before=n,this.after=i}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(e=>e.tokens()),...this.after]}toString(){return nn(...this.before)+this.leading.toString()+this.list.map(e=>e.toString()).join("")+nn(...this.after)}indexOf(e){return e===this.leading?"leading":e.type===an.MediaOr?this.list.indexOf(e):-1}at(e){return e==="leading"?this.leading:typeof e=="number"?(e<0&&(e=this.list.length+e),this.list[e]):void 0}walk(e,r){let n;if(r&&(n={...r}),e({node:this.leading,parent:this,state:n},"leading")===!1||"walk"in this.leading&&this.leading.walk(e,n)===!1)return!1;if(this.list.length===0)return;const i=FC(this.list);let o=0;for(;o<this.list.length;){const s=this.list[o];if(r&&(n={...r}),e({node:s,parent:this,state:n},o)===!1||"walk"in s&&this.list.includes(s)&&s.walk(e,n)===!1)return!1;if(o=i(this.list,s,o),o===-1)break}}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(e=>e.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithOr(){return F4.isMediaConditionListWithOr(this)}static isMediaConditionListWithOr(e){return!!e&&e instanceof F4&&e.type===an.MediaConditionListWithOr}}function uDe(t){return!!(nr(t)&&ni(t.value)||Un(t)&&bEt.has(t.getName().toLowerCase()))}const bEt=new Set(["abs","acos","asin","atan","atan2","calc","clamp","cos","exp","hypot","log","max","min","mod","pow","rem","round","sign","sin","sqrt","tan"]);function wEt(t){return nr(t)&&Wi(t.value)}function Sx(t){return nr(t)&&Ri(t.value)}function xEt(t){return Un(t)&&t.getName().toLowerCase()==="env"}class T4{constructor(e,r=[],n=[]){Tt(this,"type",an.MediaFeatureName);Tt(this,"name");Tt(this,"before");Tt(this,"after");this.name=e,this.before=r,this.after=n}getName(){return this.name.value[4].value}getNameToken(){return this.name.value}tokens(){return[...this.before,...this.name.tokens(),...this.after]}toString(){return nn(...this.before)+this.name.toString()+nn(...this.after)}indexOf(e){return e===this.name?"name":-1}at(e){if(e==="name")return this.name}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens()}}isMediaFeatureName(){return T4.isMediaFeatureName(this)}static isMediaFeatureName(e){return!!e&&e instanceof T4&&e.type===an.MediaFeatureName}}function C5(t){let e=-1;for(let r=0;r<t.length;r++){const n=t[r];if(n.type!==Ai.Whitespace&&n.type!==Ai.Comment){if(!Sx(n)||e!==-1)return!1;e=r}}return e!==-1&&new T4(t[e],t.slice(0,e).flatMap(r=>r.tokens()),t.slice(e+1).flatMap(r=>r.tokens()))}class L4{constructor(e){Tt(this,"type",an.MediaFeatureBoolean);Tt(this,"name");this.name=e}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return this.name.tokens()}toString(){return this.name.toString()}indexOf(e){return e===this.name?"name":-1}at(e){if(e==="name")return this.name}toJSON(){return{type:this.type,name:this.name.toJSON(),tokens:this.tokens()}}isMediaFeatureBoolean(){return L4.isMediaFeatureBoolean(this)}static isMediaFeatureBoolean(e){return!!e&&e instanceof L4&&e.type===an.MediaFeatureBoolean}}function SEt(t){const e=C5(t);return e===!1?e:new L4(e)}class R4{constructor(e,r=[],n=[]){Tt(this,"type",an.MediaFeatureValue);Tt(this,"value");Tt(this,"before");Tt(this,"after");Array.isArray(e)&&e.length===1?this.value=e[0]:this.value=e,this.before=r,this.after=n}tokens(){return Array.isArray(this.value)?[...this.before,...this.value.flatMap(e=>e.tokens()),...this.after]:[...this.before,...this.value.tokens(),...this.after]}toString(){return Array.isArray(this.value)?nn(...this.before)+this.value.map(e=>e.toString()).join("")+nn(...this.after):nn(...this.before)+this.value.toString()+nn(...this.after)}indexOf(e){return e===this.value?"value":-1}at(e){return e==="value"?this.value:Array.isArray(this.value)&&typeof e=="number"?(e<0&&(e=this.value.length+e),this.value[e]):void 0}walk(e,r){if(Array.isArray(this.value)){if(this.value.length===0)return;const n=FC(this.value);let i=0;for(;i<this.value.length;){const o=this.value[i];let s;if(r&&(s={...r}),e({node:o,parent:this,state:s},i)===!1||"walk"in o&&this.value.includes(o)&&o.walk(e,s)===!1)return!1;if(i=n(this.value,o,i),i===-1)break}}else{let n;if(r&&(n={...r}),e({node:this.value,parent:this,state:n},"value")===!1)return!1;if("walk"in this.value)return this.value.walk(e,n)}}toJSON(){return Array.isArray(this.value)?{type:this.type,value:this.value.map(e=>e.toJSON()),tokens:this.tokens()}:{type:this.type,value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureValue(){return R4.isMediaFeatureValue(this)}static isMediaFeatureValue(e){return!!e&&e instanceof R4&&e.type===an.MediaFeatureValue}}function Mw(t,e=!1){let r=-1,n=-1;for(let i=0;i<t.length;i++){const o=t[i];if(o.type!==Ai.Whitespace&&o.type!==Ai.Comment){if(r!==-1)return!1;if(uDe(o)){const s=EZ(t.slice(i));if(s!==-1){r=s[0]+i,n=s[1]+i,i+=s[1]-s[0];continue}r=i,n=i}else if(xEt(o))r=i,n=i;else if(wEt(o))r=i,n=i;else{if(e||!Sx(o))return!1;r=i,n=i}}}return r!==-1&&new R4(t.slice(r,n+1),t.slice(0,r).flatMap(i=>i.tokens()),t.slice(n+1).flatMap(i=>i.tokens()))}function EZ(t){let e=-1,r=-1;const n=fDe(t);if(n===-1)return-1;e=n[0],r=n[1];for(let i=r+1;i<t.length;i++){const o=t[i];if(!XEe(o))return-1}return[e,r]}function fDe(t){let e=-1,r=-1;for(let n=0;n<t.length;n++){const i=t[n];if(!XEe(i)){if(nr(i)){const o=i.value;if(Ga(o)&&o[4].value==="/"){if(e===-1||r!==-1)return-1;r=n;continue}}if(!uDe(i))return-1;if(r!==-1)return[e,n];if(e!==-1)return-1;e=n}}return-1}class MB{constructor(e,r,n){Tt(this,"type",an.MediaFeaturePlain);Tt(this,"name");Tt(this,"colon");Tt(this,"value");this.name=e,this.colon=r,this.value=n}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.name.tokens(),this.colon,...this.value.tokens()]}toString(){return this.name.toString()+nn(this.colon)+this.value.toString()}indexOf(e){return e===this.name?"name":e===this.value?"value":-1}at(e){return e==="name"?this.name:e==="value"?this.value:void 0}walk(e,r){let n;return r&&(n={...r}),e({node:this.value,parent:this,state:n},"value")!==!1&&this.value.walk(e,n)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeaturePlain(){return MB.isMediaFeaturePlain(this)}static isMediaFeaturePlain(e){return!!e&&e instanceof MB&&e.type===an.MediaFeaturePlain}}function EEt(t){let e=[],r=[],n=null;for(let s=0;s<t.length;s++){const a=t[s];if(a.type===Ai.Token){const l=a.value;if(SSt(l)){e=t.slice(0,s),r=t.slice(s+1),n=l;break}}}if(!e.length||!r.length||!n)return!1;const i=C5(e);if(i===!1)return!1;const o=Mw(r);return o!==!1&&new MB(i,n,o)}var Go,ea,Rf,u2;function DEt(t){let e=-1;for(let r=0;r<t.length;r++){const n=t[r];if(n.type===Ai.Token){const i=n.value;if(Ga(i)){if(i[4].value===Rf.EQ)return e!==-1?[e,r]:[r,r];if(i[4].value===Go.LT){e=r;continue}if(i[4].value===ea.GT){e=r;continue}}}break}return e!==-1&&[e,e]}function _B(t){if(t.length!==1&&t.length!==2||!Ga(t[0]))return!1;if(t.length===1)switch(t[0][4].value){case Rf.EQ:return Rf.EQ;case Go.LT:return Go.LT;case ea.GT:return ea.GT;default:return!1}if(!Ga(t[1])||t[1][4].value!==Rf.EQ)return!1;switch(t[0][4].value){case Go.LT:return Go.LT_OR_EQ;case ea.GT:return ea.GT_OR_EQ;default:return!1}}function kEt(t){switch(t){case Rf.EQ:return Rf.EQ;case Go.LT:return ea.GT;case Go.LT_OR_EQ:return ea.GT_OR_EQ;case ea.GT:return Go.LT;case ea.GT_OR_EQ:return Go.LT_OR_EQ;default:return!1}}(function(t){t.LT="<",t.LT_OR_EQ="<="})(Go||(Go={})),function(t){t.GT=">",t.GT_OR_EQ=">="}(ea||(ea={})),function(t){t.EQ="="}(Rf||(Rf={}));class M4{constructor(e,r,n){Tt(this,"type",an.MediaFeatureRangeNameValue);Tt(this,"name");Tt(this,"operator");Tt(this,"value");this.name=e,this.operator=r,this.value=n}operatorKind(){return _B(this.operator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.name.tokens(),...this.operator,...this.value.tokens()]}toString(){return this.name.toString()+nn(...this.operator)+this.value.toString()}indexOf(e){return e===this.name?"name":e===this.value?"value":-1}at(e){return e==="name"?this.name:e==="value"?this.value:void 0}walk(e,r){let n;return r&&(n={...r}),e({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(e,n):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeNameValue(){return M4.isMediaFeatureRangeNameValue(this)}static isMediaFeatureRangeNameValue(e){return!!e&&e instanceof M4&&e.type===an.MediaFeatureRangeNameValue}}class _4{constructor(e,r,n){Tt(this,"type",an.MediaFeatureRangeValueName);Tt(this,"name");Tt(this,"operator");Tt(this,"value");this.name=e,this.operator=r,this.value=n}operatorKind(){return _B(this.operator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.value.tokens(),...this.operator,...this.name.tokens()]}toString(){return this.value.toString()+nn(...this.operator)+this.name.toString()}indexOf(e){return e===this.name?"name":e===this.value?"value":-1}at(e){return e==="name"?this.name:e==="value"?this.value:void 0}walk(e,r){let n;return r&&(n={...r}),e({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(e,n):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueName(){return _4.isMediaFeatureRangeValueName(this)}static isMediaFeatureRangeValueName(e){return!!e&&e instanceof _4&&e.type===an.MediaFeatureRangeValueName}}class j4{constructor(e,r,n,i,o){Tt(this,"type",an.MediaFeatureRangeValueNameValue);Tt(this,"name");Tt(this,"valueOne");Tt(this,"valueOneOperator");Tt(this,"valueTwo");Tt(this,"valueTwoOperator");this.name=e,this.valueOne=r,this.valueOneOperator=n,this.valueTwo=i,this.valueTwoOperator=o}valueOneOperatorKind(){return _B(this.valueOneOperator)}valueTwoOperatorKind(){return _B(this.valueTwoOperator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.valueOne.tokens(),...this.valueOneOperator,...this.name.tokens(),...this.valueTwoOperator,...this.valueTwo.tokens()]}toString(){return this.valueOne.toString()+nn(...this.valueOneOperator)+this.name.toString()+nn(...this.valueTwoOperator)+this.valueTwo.toString()}indexOf(e){return e===this.name?"name":e===this.valueOne?"valueOne":e===this.valueTwo?"valueTwo":-1}at(e){return e==="name"?this.name:e==="valueOne"?this.valueOne:e==="valueTwo"?this.valueTwo:void 0}walk(e,r){let n;return r&&(n={...r}),e({node:this.valueOne,parent:this,state:n},"valueOne")!==!1&&(!("walk"in this.valueOne)||this.valueOne.walk(e,n)!==!1)&&(r&&(n={...r}),e({node:this.valueTwo,parent:this,state:n},"valueTwo")!==!1&&(!("walk"in this.valueTwo)||this.valueTwo.walk(e,n)!==!1)&&void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),valueOne:this.valueOne.toJSON(),valueTwo:this.valueTwo.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueNameValue(){return j4.isMediaFeatureRangeValueNameValue(this)}static isMediaFeatureRangeValueNameValue(e){return!!e&&e instanceof j4&&e.type===an.MediaFeatureRangeValueNameValue}}function OEt(t){let e=!1,r=!1;for(let f=0;f<t.length;f++){const d=t[f];if(d.type===Ai.Token){const p=d.value;if(Ga(p)){const h=DEt(t.slice(f));if(h!==!1){if(e!==!1){r=[h[0]+f,h[1]+f];break}e=[h[0]+f,h[1]+f],f+=h[1]}}}}if(e===!1)return!1;const n=[t[e[0]].value];if(e[0]!==e[1]&&n.push(t[e[1]].value),r===!1){const f=t.slice(0,e[0]),d=t.slice(e[1]+1),p=C5(f);if(p){const A=Mw(d,!0);return!!A&&new M4(p,n,A)}const h=C5(d);if(h){const A=Mw(f,!0);return!!A&&new _4(h,n,A)}return!1}const i=[t[r[0]].value];r[0]!==r[1]&&i.push(t[r[1]].value);const o=t.slice(0,e[0]),s=t.slice(e[1]+1,r[0]),a=t.slice(r[1]+1),l=Mw(o,!0),c=C5(s),u=Mw(a,!0);if(!l||!c||!u)return!1;{const f=_B(n);if(f===!1||f===Rf.EQ)return!1;const d=_B(i);if(d===!1||d===Rf.EQ||!(f!==Go.LT&&f!==Go.LT_OR_EQ||d!==ea.GT&&d!==ea.GT_OR_EQ)||!(f!==ea.GT&&f!==ea.GT_OR_EQ||d!==Go.LT&&d!==Go.LT_OR_EQ))return!1}return new j4(c,l,n,u,i)}class rm{constructor(e,r=[],n=[]){Tt(this,"type",an.MediaFeature);Tt(this,"feature");Tt(this,"before");Tt(this,"after");this.feature=e,this.before=r,this.after=n}getName(){return this.feature.getName()}getNameToken(){return this.feature.getNameToken()}tokens(){return[...this.before,...this.feature.tokens(),...this.after]}toString(){return nn(...this.before)+this.feature.toString()+nn(...this.after)}indexOf(e){return e===this.feature?"feature":-1}at(e){if(e==="feature")return this.feature}walk(e,r){let n;return r&&(n={...r}),e({node:this.feature,parent:this,state:n},"feature")!==!1&&("walk"in this.feature?this.feature.walk(e,n):void 0)}toJSON(){return{type:this.type,feature:this.feature.toJSON(),before:this.before,after:this.after}}isMediaFeature(){return rm.isMediaFeature(this)}static isMediaFeature(e){return!!e&&e instanceof rm&&e.type===an.MediaFeature}}function dDe(t,e=[],r=[]){if(!mx(t.startToken))return!1;const n=SEt(t.value);if(n!==!1)return new rm(n,e,r);const i=EEt(t.value);if(i!==!1)return new rm(i,e,r);const o=OEt(t.value);return o!==!1&&new rm(o,e,r)}function f2(t,...e){const r=[Be.Ident,"",-1,-1,{value:""}];wSt(r,t);const n=x6t(e);return new rm(new MB(new T4(new Wt(r)),[Be.Colon,":",-1,-1,void 0],new R4(n.length===1?n[0]:n)),[[Be.OpenParen,"(",-1,-1,void 0]],[[Be.CloseParen,")",-1,-1,void 0]])}class U4{constructor(e,r){Tt(this,"type",an.MediaNot);Tt(this,"modifier");Tt(this,"media");this.modifier=e,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return nn(...this.modifier)+this.media.toString()}indexOf(e){return e===this.media?"media":-1}at(e){if(e==="media")return this.media}walk(e,r){let n;return r&&(n={...r}),e({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(e,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaNot(){return U4.isMediaNot(this)}static isMediaNot(e){return!!e&&e instanceof U4&&e.type===an.MediaNot}}class Q4{constructor(e,r){Tt(this,"type",an.MediaOr);Tt(this,"modifier");Tt(this,"media");this.modifier=e,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return nn(...this.modifier)+this.media.toString()}indexOf(e){return e===this.media?"media":-1}at(e){if(e==="media")return this.media}walk(e,r){let n;return r&&(n={...r}),e({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(e,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaOr(){return Q4.isMediaOr(this)}static isMediaOr(e){return!!e&&e instanceof Q4&&e.type===an.MediaOr}}function AAe(t){if(!Ri(t))return!1;switch(t[4].value.toLowerCase()){case u2.Not:return u2.Not;case u2.Only:return u2.Only;default:return!1}}function PEt(t){{const e=DZ(t);if(e!==!1)return new R2(e)}{let e=-1,r=-1,n=-1;for(let a=0;a<t.length;a++){const l=t[a];if(!Zi(l)&&!Ao(l)){if(nr(l)){const c=l.value;if(e===-1&&Ri(c)&&AAe(c)){e=a;continue}if(r===-1&&Ri(c)&&!AAe(c)){r=a;continue}if(n===-1&&Ri(c)&&mDe.test(c[4].value)){if(n=a,hAe(t.slice(a+1))===!1)return!1;break}return!1}return!1}}let i=[],o=[];e!==-1?(i=t.slice(0,e+1).flatMap(a=>a.tokens()),r!==-1&&(o=t.slice(e+1,r+1).flatMap(a=>a.tokens()))):r!==-1&&(o=t.slice(0,r+1).flatMap(a=>a.tokens()));const s=hAe(t.slice(Math.max(e,r,n)+1));return s===!1?new tm(i,[...o,...t.slice(r+1).flatMap(a=>a.tokens())]):new tm(i,o,t.slice(r+1,n+1).flatMap(a=>a.tokens()),s)}}function IEt(t){let e=!1;const r=[];let n=-1,i=-1;for(let o=0;o<t.length;o++){if(e){const a=TEt(t.slice(o));if(a!==!1){o+=a.advance,r.push(a.node),i=o;continue}}const s=t[o];if(s.type!==Ai.Whitespace&&s.type!==Ai.Comment){if(e||e!==!1||!wh(s)||(s.normalize(),e=Ex(s),e===!1))return!1;n=o}}return!(!e||!r.length)&&new F4(e,r,t.slice(0,n).flatMap(o=>o.tokens()),t.slice(i+1).flatMap(o=>o.tokens()))}function pDe(t){let e=!1;const r=[];let n=-1,i=-1;for(let o=0;o<t.length;o++){if(e){const a=LEt(t.slice(o));if(a!==!1){o+=a.advance,r.push(a.node),i=o;continue}}const s=t[o];if(s.type!==Ai.Whitespace&&s.type!==Ai.Comment){if(e||e!==!1||!wh(s)||(s.normalize(),e=Ex(s),e===!1))return!1;n=o}}return!(!e||!r.length)&&new RB(e,r,t.slice(0,n).flatMap(o=>o.tokens()),t.slice(i+1).flatMap(o=>o.tokens()))}function DZ(t){const e=hDe(t);if(e!==!1)return new hl(e);const r=pDe(t);if(r!==!1)return new hl(r);const n=IEt(t);if(n!==!1)return new hl(n);const i=ADe(t);return i!==!1&&new hl(i)}function hAe(t){const e=hDe(t);if(e!==!1)return new hl(e);const r=pDe(t);if(r!==!1)return new hl(r);const n=ADe(t);return n!==!1&&new hl(n)}function ADe(t){let e=-1;for(let a=0;a<t.length;a++){const l=t[a];if(l.type!==Ai.Whitespace&&l.type!==Ai.Comment){if(!wh(l)||e!==-1)return!1;e=a}}if(e===-1)return!1;const r=t[e];if(!mx(r.startToken))return!1;r.normalize();const n=[...t.slice(0,e).flatMap(a=>a.tokens()),r.startToken],i=[r.endToken,...t.slice(e+1).flatMap(a=>a.tokens())],o=dDe(r,n,i);if(o!==!1)return new rc(o);const s=DZ(r.value);return s!==!1?new rc(s,n,i):new rc(new LB(r),t.slice(0,e).flatMap(a=>a.tokens()),t.slice(e+1).flatMap(a=>a.tokens()))}function Ex(t){if(!mx(t.startToken))return!1;const e=dDe(t,[t.startToken],[t.endToken]);if(e!==!1)return new rc(e);const r=DZ(t.value);return r!==!1?new rc(r,[t.startToken],[t.endToken]):new rc(new LB(t))}(function(t){t.Not="not",t.Only="only"})(u2||(u2={}));const NEt=/^not$/i;function hDe(t){let e=!1,r=null;for(let n=0;n<t.length;n++){const i=t[n];if(i.type!==Ai.Whitespace&&i.type!==Ai.Comment){if(Sx(i)){const o=i.value;if(NEt.test(o[4].value)){if(e)return!1;e=!0;continue}return!1}if(!e||!wh(i))return!1;{i.normalize();const o=Ex(i);if(o===!1)return!1;r=new U4(t.slice(0,n).flatMap(s=>s.tokens()),o)}}}return r||!1}const FEt=/^or$/i;function TEt(t){let e=!1;for(let r=0;r<t.length;r++){const n=t[r];if(n.type!==Ai.Whitespace&&n.type!==Ai.Comment){if(Sx(n)){const i=n.value;if(FEt.test(i[4].value)){if(e)return!1;e=!0;continue}return!1}if(e&&wh(n)){n.normalize();const i=Ex(n);return i!==!1&&{advance:r,node:new Q4(t.slice(0,r).flatMap(o=>o.tokens()),i)}}return!1}}return!1}const mDe=/^and$/i;function LEt(t){let e=!1;for(let r=0;r<t.length;r++){const n=t[r];if(n.type!==Ai.Whitespace&&n.type!==Ai.Comment){if(Sx(n)){const i=n.value;if(mDe.test(i[4].value)){if(e)return!1;e=!0;continue}return!1}if(e&&wh(n)){n.normalize();const i=Ex(n);return i!==!1&&{advance:r,node:new LA(t.slice(0,r).flatMap(o=>o.tokens()),i)}}return!1}}return!1}function V4(t,e){const r=Ja(t,{onParseError:e?.onParseError});return r.map((n,i)=>{const o=PEt(n);return o===!1&&e?.preserveInvalidMediaQueries===!0?new M2(r[i]):o}).filter(n=>!!n)}function kZ(t,e){const r=Pp({css:t},{onParseError:e?.onParseError}),n=[];for(;!r.endOfFile();)n.push(r.nextToken());return n.push(r.nextToken()),V4(n,e)}class $4{constructor(e,r,n){Tt(this,"type",an.CustomMedia);Tt(this,"name");Tt(this,"mediaQueryList",null);Tt(this,"trueOrFalseKeyword",null);this.name=e,this.mediaQueryList=r,this.trueOrFalseKeyword=n??null}getName(){for(let e=0;e<this.name.length;e++){const r=this.name[e];if(Ri(r))return r[4].value}return""}getNameToken(){for(let e=0;e<this.name.length;e++){const r=this.name[e];if(Ri(r))return r}return null}hasMediaQueryList(){return!!this.mediaQueryList}hasTrueKeyword(){if(!this.trueOrFalseKeyword)return!1;for(let e=0;e<this.trueOrFalseKeyword.length;e++){const r=this.trueOrFalseKeyword[e];if(!V1(r))return!!Ri(r)&&r[4].value.toLowerCase()==="true"}return!1}hasFalseKeyword(){if(!this.trueOrFalseKeyword)return!1;for(let e=0;e<this.trueOrFalseKeyword.length;e++){const r=this.trueOrFalseKeyword[e];if(!V1(r))return!!Ri(r)&&r[4].value.toLowerCase()==="false"}return!1}tokens(){if(this.trueOrFalseKeyword)return[...this.name,...this.trueOrFalseKeyword];if(!this.mediaQueryList)return[...this.name];const e=[];for(let r=0;r<this.mediaQueryList.length;r++){const n=this.mediaQueryList[r];r!==0&&e.push([Be.Comma,",",-1,-1,void 0]),e.push(...n.tokens())}return[...this.name,...e]}toString(){return nn(...this.tokens())}toJSON(){return{type:this.type,string:this.toString(),nameValue:this.getName(),name:this.name,hasFalseKeyword:this.hasFalseKeyword(),hasTrueKeyword:this.hasTrueKeyword(),trueOrFalseKeyword:this.trueOrFalseKeyword,mediaQueryList:this.mediaQueryList?.map(e=>e.toJSON())}}isCustomMedia(){return $4.isCustomMedia(this)}static isCustomMedia(e){return!!e&&e instanceof $4&&e.type===an.CustomMedia}}function REt(t,e){let r=[],n=t;for(let o=0;o<t.length;o++)if(!V1(t[o])){if(Ri(t[o])&&t[o][4].value.startsWith("--")){r=t.slice(0,o+1),n=t.slice(o+1);break}return!1}let i=!0;for(let o=0;o<n.length;o++)if(!V1(n[o])){if(Ri(n[o])){const s=n[o][4].value.toLowerCase();if(s==="false"||s==="true")continue}if(Wf(n[o]))break;i=!1}return i?new $4(r,null,n):new $4(r,V4(ah(n),e))}function MEt(t,e){const r=Pp({css:t},{onParseError:e?.onParseError}),n=[];for(;!r.endOfFile();)n.push(r.nextToken());return n.push(r.nextToken()),REt(n,e)}function _Et(t){return LB.isGeneralEnclosed(t)}function gDe(t){return LA.isMediaAnd(t)}function jEt(t){return FH(t)||UEt(t)}function FH(t){return RB.isMediaConditionListWithAnd(t)}function UEt(t){return F4.isMediaConditionListWithOr(t)}function QEt(t){return hl.isMediaCondition(t)}function vDe(t){return L4.isMediaFeatureBoolean(t)}function VEt(t){return MB.isMediaFeaturePlain(t)}function $Et(t){return G9(t)||OZ(t)||yDe(t)}function G9(t){return M4.isMediaFeatureRangeNameValue(t)}function OZ(t){return _4.isMediaFeatureRangeValueName(t)}function yDe(t){return j4.isMediaFeatureRangeValueNameValue(t)}function TH(t){return rm.isMediaFeature(t)}function HEt(t){return rc.isMediaInParens(t)}function GEt(t){return U4.isMediaNot(t)}function WEt(t){return Q4.isMediaOr(t)}function zEt(t){return W9(t)||LH(t)||H4(t)}function W9(t){return tm.isMediaQueryWithType(t)}function LH(t){return R2.isMediaQueryWithoutType(t)}function H4(t){return M2.isMediaQueryInvalid(t)}function KEt(t){const e=ah(t.tokens()),r=V4(e,{preserveInvalidMediaQueries:!0})[0];if(!r)throw new Error(`Failed to clone media query for : "${nn(...e)}"`);if(H4(t)&&H4(r)||W9(t)&&W9(r)||LH(t)&&LH(r))return r;throw new Error(`Failed to clone media query for : "${nn(...e)}"`)}var mAe;(function(t){t.All="all",t.Print="print",t.Screen="screen",t.Tty="tty",t.Tv="tv",t.Projection="projection",t.Handheld="handheld",t.Braille="braille",t.Embossed="embossed",t.Aural="aural",t.Speech="speech"})(mAe||(mAe={}));const qEt=LC("csstools-implicit-layer")[0];function XEt(t){const e=new Map,r=new Map,n=[];t.walkAtRules(o=>{var s;if(o.name.toLowerCase()!=="layer")return;{let c=o.parent;for(;c;){if(c.type!=="atrule"||c.name.toLowerCase()!=="layer"){if(c===o.root())break;return}c=c.parent}}let a;if(o.nodes)a=YEt(o.params,1);else{if(!o.params.trim())return;a=o.params}let l=LC(a);if((s=l)!=null&&s.length){{let c=o.parent;for(;c&&c.type==="atrule"&&c.name.toLowerCase()==="layer";){const u=r.get(c);u&&(l=l.map(f=>u.concat(f))),c=c.parent}}if(TB(n,l),o.nodes){const c=l[0].concat(qEt);e.set(o,c),r.set(o,l[0])}}});for(const o of e.values())TB(n,[o]);const i=new WeakMap;for(const[o,s]of e)i.set(o,n.findIndex(a=>s.equal(a)));return i}function YEt(t,e){return t.trim()?t:"csstools-anon-layer--"+e++}const JEt=new Set(["scope","container","layer"]);function ZEt(t){if(t.name.toLowerCase()!=="custom-media"||!t.params||!t.params.includes("--")||t.nodes&&t.nodes.length>0)return!1;let e=t.parent;for(;e;){if(e.type==="atrule"&&!JEt.has(e.name.toLowerCase()))return!1;e=e.parent}return!0}function eDt(t,e){const r=new Set;let n=e;for(;t.size>0;)try{tDt(Array.from(t.keys()),n);break}catch(i){if(!i._graphNode)throw i;t.delete(i._graphNode),r.add(i._graphNode),n=n.filter(o=>o.indexOf(i._graphNode)===-1)}return r}function tDt(t,e){let r=t.length;const n=new Array(r),i={};let o=r;const s=rDt(e),a=nDt(t);for(;o--;)i[o]||l(t[o],o,new Set);return n;function l(c,u,f){if(f.has(c)){const p=new Error("Cyclic dependency"+JSON.stringify(c));throw p._graphNode=c,p}if(!a.has(c)||i[u])return;i[u]=!0;let d=s.get(c)||new Set;if(d=Array.from(d),u=d.length){f.add(c);do{const p=d[--u];l(p,a.get(p),f)}while(u);f.delete(c)}n[--r]=c}}function rDt(t){const e=new Map;for(let r=0,n=t.length;r<n;r++){const i=t[r];e.has(i[0])||e.set(i[0],new Set),e.has(i[1])||e.set(i[1],new Set),e.get(i[0]).add(i[1])}return e}function nDt(t){const e=new Map;for(let r=0,n=t.length;r<n;r++)e.set(t[r],r);return e}function iDt(t){const e=Pp({css:t},{onParseError:()=>{throw new Error(`Unable to parse media query "${t}"`)}}),r=[];for(;!e.endOfFile();)r.push(e.nextToken());return r}const RH=[[Be.Ident,"max-color",0,0,{value:"max-color"}],[Be.Colon,":",0,0,void 0],[Be.Number,"2147477350",0,0,{value:2147477350,type:Pt.Integer}]],MH=[[Be.Ident,"color",0,0,{value:"color"}],[Be.Colon,":",0,0,void 0],[Be.Number,"2147477350",0,0,{value:2147477350,type:Pt.Integer}]];function oDt(t){let e,r=[];for(let n=0;n<t.length;n++)if(t[n][0]!==Be.Comment&&t[n][0]!==Be.Whitespace){if(t[n][0]===Be.Ident){const i=t[n];if(i[4].value.toLowerCase()==="true"){e="true",r=t.slice(n+1);break}if(i[4].value.toLowerCase()==="false"){e="false",r=t.slice(n+1);break}}return t}if(!e)return t;for(let n=0;n<r.length;n++)if(r[n][0]!==Be.Comment&&r[n][0]!==Be.Whitespace)return t;return e==="true"?[[Be.Whitespace," ",0,0,void 0],[Be.OpenParen,"(",0,0,void 0],...RH,[Be.CloseParen,")",0,0,void 0]]:[[Be.Whitespace," ",0,0,void 0],[Be.OpenParen,"(",0,0,void 0],...MH,[Be.CloseParen,")",0,0,void 0]]}function sDt(t){const e=iDt(t),r=new Set;let n="",i=e;for(let a=0;a<e.length;a++)if(e[a][0]!==Be.Comment&&e[a][0]!==Be.Whitespace){if(e[a][0]===Be.Ident){const l=e[a];if(l[4].value.startsWith("--")){n=l[4].value,i=e.slice(a+1);break}}return!1}for(let a=0;a<i.length;a++)if(i[a][0]===Be.Ident){const l=i[a];l[4].value.startsWith("--")&&r.add(l[4].value)}i=oDt(i);const o=V4(ah(i),{preserveInvalidMediaQueries:!0,onParseError:()=>{throw new Error(`Unable to parse media query "${nn(...i)}"`)}}),s=V4(ah(i),{preserveInvalidMediaQueries:!0,onParseError:()=>{throw new Error(`Unable to parse media query "${nn(...i)}"`)}});for(let a=0;a<s.length;a++)s[a]=s[a].negateQuery();return{name:n,truthy:o,falsy:s,dependsOn:Array.from(r).map(a=>[a,n])}}function aDt(t,e,r){const n=new Map,i=new Map,o=[],s=XEt(t);t.walkAtRules(l=>{if(!ZEt(l))return;const c=sDt(l.params);if(!c||c.truthy.length===0)return;const u=(d=s,(f=l).parent&&f.parent.type==="atrule"&&f.parent.name.toLowerCase()==="layer"?d.has(f.parent)?d.get(f.parent):-1:1/0);var f,d;const p=i.get(c.name)??-1;if(u&&u>=p&&(i.set(c.name,u),n.set(c.name,{truthy:c.truthy,falsy:c.falsy}),o.push(...c.dependsOn)),!r.preserve){const h=l.parent;l.remove(),lDt(h)}});const a=eDt(n,o);for(const l of a.values())t.warn(e,`@custom-media rules have cyclic dependencies for "${l}"`);return n}function lDt(t){if(!t)return;let e=t;for(;e;){if(e.nodes&&e.nodes.length>0)return;const r=e.parent;e.remove(),e=r}}function cDt(t,e){const r=kZ(t,{preserveInvalidMediaQueries:!0,onParseError:()=>{throw new Error(`Unable to parse media query "${t}"`)}}),n=r.map(i=>i.toString());for(let i=0;i<r.length;i++){const o=r[i],s=n[i];{const l=uDt(o,e);if(l&&l.replaceWith!==s)return n.map((c,u)=>u===i?l:{replaceWith:c})}const a=fDt(o,e);if(a&&a.length!==0&&a[0].replaceWith!==s)return n.flatMap((l,c)=>c===i?a:[{replaceWith:l}])}return[]}function uDt(t,e){if(!BDe(t))return null;let r=null;return t.walk(n=>{const i=n.node;if(!vDe(i))return;const o=i.getName();if(!o.startsWith("--"))return!1;const s=e.get(o);return s?(r={replaceWith:s.truthy.map(a=>a.toString().trim()).join(",")},!1):void 0}),r}function fDt(t,e){let r=[];return t.walk(n=>{const i=n.node;if(!vDe(i))return;const o=n.parent;if(!TH(o))return;const s=i.getName();if(!s.startsWith("--"))return!1;const a=e.get(s);if(a){if(a.truthy.length===1&&BDe(a.truthy[0])){let d=null;if(a.truthy[0].walk(p=>{if(TH(p.node))return d=p.node,!1}),d&&d.feature)return o.feature=d.feature,r=[{replaceWith:t.toString()}],!1}const l=f2(RH[0][4].value,RH[2]);o.feature=l.feature;const c=t.toString(),u=f2(MH[0][4].value,MH[2]);o.feature=u.feature;const f=t.toString();return r=[{replaceWith:c,encapsulateWith:a.truthy.map(d=>d.toString().trim()).join(",")},{replaceWith:f,encapsulateWith:a.falsy.map(d=>d.toString().trim()).join(",")}],!1}}),r}function BDe(t){if(H4(t)||W9(t))return!1;let e=!0;return t.walk(r=>{if(gDe(r.node)||WEt(r.node)||GEt(r.node)||jEt(r.node)||_Et(r.node))return e=!1,!1}),e}const CDe=t=>{const e=!!Object(t).preserve;if("importFrom"in Object(t))throw new Error('[postcss-custom-media] "importFrom" is no longer supported');if("exportTo"in Object(t))throw new Error('[postcss-custom-media] "exportTo" is no longer supported');return{postcssPlugin:"postcss-custom-media",prepare(){const r=new WeakSet;let n=new Map;return{Once:(i,{result:o})=>{n=aDt(i,o,{preserve:e})},AtRule:(i,{result:o})=>{if(r.has(i)||i.name.toLowerCase()!=="media"||!i.params||!i.params.includes("--"))return;let s=[];try{s=cDt(i.params,n)}catch(a){return void i.warn(o,`Failed to parse @custom-media params with error message: "${a.message}"`)}if(!(!s||s.length===0)){if(s.length===1)return i.params.trim()===s[0].replaceWith.trim()?void 0:(r.add(i),i.cloneBefore({params:s[0].replaceWith.trim()}),e?void 0:void i.remove());if(!s.find(a=>!!a.encapsulateWith))return r.add(i),i.cloneBefore({params:s.map(a=>a.replaceWith).join(",").trim()}),void(e||i.remove());s.forEach(a=>{if(!a.encapsulateWith)return void i.cloneBefore({params:a.replaceWith.trim()});const l=i.clone({params:a.replaceWith}),c=i.clone({params:a.encapsulateWith.trim(),nodes:[]});l.parent=void 0,c.parent=void 0,r.add(i),c.append(l),i.before(c)}),e||i.remove()}}}}}};CDe.postcss=!0;function dDt(t){const e=t.parent;if(!e)return!1;const r=t.prop.toLowerCase(),n=e.index(t);for(let i=0;i<n;i++){const o=e.nodes[i];if(o.type==="decl"&&o.prop.toLowerCase()===r)return!0}return!1}function pDt(t,e){let r=t.parent;for(;r;)if(r.type==="atrule"&&r.name.toLowerCase()==="supports"){if(e.test(r.params))return!0;r=r.parent}else r=r.parent;return!1}const ADt=LC("csstools-implicit-layer")[0];function hDt(t){const e=new Map,r=new Map,n=[];t.walkAtRules(o=>{if(o.name.toLowerCase()!=="layer")return;{let l=o.parent;for(;l;){if(l.type!=="atrule"||l.name.toLowerCase()!=="layer"){if(l===o.root())break;return}l=l.parent}}let s;if(o.nodes)s=mDt(o.params,1);else{if(!o.params.trim())return;s=o.params}let a=LC(s);if(a?.length){{let l=o.parent;for(;l&&l.type==="atrule"&&l.name.toLowerCase()==="layer";){const c=r.get(l);c&&(a=a.map(u=>c.concat(u))),l=l.parent}}if(TB(n,a),o.nodes){const l=a[0].concat(ADt);e.set(o,l),r.set(o,a[0])}}});for(const o of e.values())TB(n,[o]);const i=new WeakMap;for(const[o,s]of e)i.set(o,n.findIndex(a=>s.equal(a)));return i}function mDt(t,e){return t.trim()?t:"csstools-anon-layer--"+e++}const gDt=/(?:!\s*)?postcss-custom-properties:\s*off\b/i,I_=new WeakMap;function bDe(t){if(!t||!t.nodes)return!1;if(I_.has(t))return I_.get(t);const e=t.some(r=>wDe(r,gDt));return I_.set(t,e),e}const vDt=/(?:!\s*)?postcss-custom-properties:\s*ignore\s+next\b/i;function PZ(t){return!!t&&(!!bDe(t.parent)||wDe(t.prev(),vDt))}function wDe(t,e){return!!t&&t.type==="comment"&&e.test(t.text)}const yDt=new Set(["layer"]);function BDt(t){let e=t.parent;for(;e;){if(e.type==="atrule"&&!yDt.has(e.name.toLowerCase()))return!1;e=e.parent}return!0}const CDt=/^html$/i,bDt=/^:where\(html\)$/i,wDt=/^:root$/i,xDt=/^:where\(:root\)$/i,SDt=/(html|:root)/i,EDt=/^var$/i;function z9(t){return t.type==="function"&&EDt.test(t.value)&&t.nodes?.length>0}const DDt=/\bvar\(/i;function gAe(t,e){let r=e.get(t);return r||(r=cr(t),e.set(t,r),r)}function kDt(t,e){let r=t.length;const n=new Array(r),i={};let o=r;const s=xDe(e),a=SDe(t);for(;o--;)i[o]||l(t[o],o,new Set);return n;function l(c,u,f){if(f.has(c)){let p;try{p=", node was:"+JSON.stringify(c)}catch{p=""}throw new Error("Cyclic dependency"+p)}if(!a.has(c))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(c));if(i[u])return;i[u]=!0;const d=Array.from(s.get(c)||new Set);if(u=d.length){f.add(c);do{const p=d[--u];l(p,a.get(p),f)}while(u);f.delete(c)}n[--r]=c}}function ODt(t,e){const r=new Set;for(;t.size>0;){const n=PDt(Array.from(t.keys()),e);if(!n)return r;t.delete(n),r.add(n),e=e.filter(i=>i.indexOf(n)===-1)}return r}function PDt(t,e){let r=t.length;const n=new Array(r),i={};let o=r;const s=xDe(e),a=SDe(t);for(;o--;)if(!i[o]){const c=l(t[o],o,new Set);if(!c)continue;return c}function l(c,u,f){if(f.has(c))return c;if(!a.has(c)||i[u])return;i[u]=!0;const d=Array.from(s.get(c)||new Set);if(u=d.length){f.add(c);do{const p=d[--u],h=l(p,a.get(p),f);if(h)return h}while(u);f.delete(c)}n[--r]=c}}function xDe(t){const e=new Map;for(let r=0,n=t.length;r<n;r++){const i=t[r];e.has(i[0])||e.set(i[0],new Set),e.has(i[1])||e.set(i[1],new Set),e.get(i[0]).add(i[1])}return e}function SDe(t){const e=new Map;for(let r=0,n=t.length;r<n;r++)e.set(t[r],r);return e}function K9(t){let e,r,n=!1;for(const i of t.nodes)if(e||i.type!=="word")if(!e||n||i.type!=="div"||i.value!==","){if(n&&Array.isArray(r))r.push(i);else if(i.type!=="space"&&(i.type!=="div"||i.value.trim()!==""))return}else n=!0,r=[];else e=i;if(e)return{name:e,fallback:r}}function EDe(t,e){return t.nodes?.length?(DDe(t.nodes,(r,n,i)=>{if(!z9(r))return;const o=K9(r);if(!o)return;let s=!1;o.fallback&&cr.walk(o.fallback,l=>{if(!z9(l))return;const c=K9(l);return c?c.fallback||e.has(c.name.value)?void 0:(s=!0,!1):void 0});let a=e.get(o.name.value)?.nodes;a||!o.fallback||s||(a=o.fallback),a!==void 0&&(a.length?i.splice(n,1,...a):i.splice(n,1,{type:"div",value:" ",before:"",after:"",sourceIndex:r.sourceIndex,sourceEndIndex:r.sourceEndIndex}))}),cr.stringify(t.nodes)):""}function DDe(t,e){let r,n,i;for(r=0,n=t.length;r<n;r+=1)i=t[r],i.type==="function"&&Array.isArray(i.nodes)&&DDe(i.nodes,e),e(i,r,t),n=t.length}const IDt=/^initial$/i;function NDt(t){const e=t.nodes.filter(r=>r.type!=="comment"&&r.type!=="space");return e.length===1&&e[0].type==="word"&&IDt.test(e[0].value)}function kDe(t,e,r){if(!t.size)return e;const n=new Map(e);{const i=[];for(const[o,s]of t.entries()){const a=gAe(s,r);let l=!1;cr.walk(a.nodes,c=>{if(!z9(c))return;const u=K9(c);u&&(u.fallback||t.has(u.name.value)||e.has(u.name.value)?i.push([u.name.value,o]):l=!0)}),l||n.set(o,a)}ODt(n,i)}{const i=[];for(const[s,a]of n.entries())cr.walk(a.nodes,l=>{if(!z9(l))return;const c=K9(l);c&&(c.fallback||n.has(c.name.value)?i.push([c.name.value,s]):n.delete(s))});for(let s=0;s<i.length;s++){const[a,l]=i[s];n.has(a)&&n.has(l)||i.splice(s--,1)}const o=kDt(Array.from(n.keys()),i);for(const s of o){const a=n.get(s);if(!a)continue;const l=gAe(EDe(a,n),r);n.set(s,l)}}for(const[i,o]of n.entries())NDt(o)&&n.delete(i);return n}function FDt(t,e){const r=new Map,n=new Map,i=hDt(t);return t.walkRules(o=>{SDt.test(o.selector)&&o.nodes?.length&&BDt(o)&&(bDe(o)||o.selectors.forEach(s=>{let a=-1;if(bDt.test(s)||xDt.test(s))a=0;else if(CDt.test(s))a=1;else{if(!wDt.test(s))return;a=2}const l=(u=i,((c=o).parent&&c.parent.type==="atrule"&&c.parent.name.toLowerCase()==="layer"?u.has(c.parent)?u.get(c.parent)+1:0:1e7)+10+a);var c,u;o.each(f=>{if(f.type!=="decl"||!f.variable||PZ(f)||f.value.toLowerCase().trim()==="initial")return;const d=n.get(f.prop)??-1;l>=d&&(n.set(f.prop,l),r.set(f.prop,f.value))})}))}),kDe(r,new Map,e)}function TDt(t,e,r){if(!t.parent)return e;const n=new Map;return t.parent.each(i=>{i.type==="decl"&&i.variable&&t!==i&&(PZ(i)||n.set(i.prop,i.value))}),n.size?kDe(n,e,r):e}function LDt(t,e,r){if(RDt(t)&&!PZ(t)){const n=t.value,i=EDe(cr(n),e);if(i===n)return;if(MDt(t,i))return void(r.preserve||t.remove());if(r.preserve){const o=t.cloneBefore({value:i});vAe(o)&&o.raws?.value&&(o.raws.value.value=o.value.replace(_w,"$1"),o.raws.value.raw=o.raws.value.value+o.raws.value.raw.replace(_w,"$2"))}else t.value=i,vAe(t)&&t.raws?.value&&(t.raws.value.value=t.value.replace(_w,"$1"),t.raws.value.raw=t.raws.value.value+t.raws.value.raw.replace(_w,"$2"))}}const RDt=t=>!t.variable&&t.value.includes("--")&&t.value.toLowerCase().includes("var("),vAe=t=>"value"in Object(Object(t.raws).value)&&"raw"in(t.raws?.value??{})&&_w.test(t.raws.value?.raw??""),_w=/^([\W\w]+)(\s*\/\*[\W\w]+?\*\/)$/;function MDt(t,e){if(!t||!t.parent)return!1;let r=!1;const n=t.parent.index(t);return t.parent.each((i,o)=>i!==t&&!(o>=n)&&void(i.type==="decl"&&i.prop.toLowerCase()===t.prop.toLowerCase()&&i.value===e&&(r=!0))),r}const _Dt=/\bvar\(|\(top: var\(--f\)/i,ODe=t=>{const e=!("preserve"in Object(t))||!!t?.preserve;if("importFrom"in Object(t))throw new Error('[postcss-custom-properties] "importFrom" is no longer supported');if("exportTo"in Object(t))throw new Error('[postcss-custom-properties] "exportTo" is no longer supported');return{postcssPlugin:"postcss-custom-properties",prepare(){let r=new Map;const n=new WeakMap,i=new Map;return{postcssPlugin:"postcss-custom-properties",Once(o){r=FDt(o,i)},Declaration(o){if(!DDt.test(o.value)||pDt(o,_Dt))return;let s=r;e&&o.parent&&(s=n.get(o.parent)??TDt(o,r,i),n.set(o.parent,s)),LDt(o,s,{preserve:e})}}}}};ODe.postcss=!0;const jDt=LC("csstools-implicit-layer")[0];function UDt(t){const e=new Map,r=new Map,n=[];t.walkAtRules(o=>{if(o.name.toLowerCase()!=="layer")return;{let l=o.parent;for(;l;){if(l.type!=="atrule"||l.name.toLowerCase()!=="layer"){if(l===o.root())break;return}l=l.parent}}let s;if(o.nodes)s=QDt(o.params,1);else{if(!o.params.trim())return;s=o.params}let a=LC(s);if(a?.length){{let l=o.parent;for(;l&&l.type==="atrule"&&l.name.toLowerCase()==="layer";){const c=r.get(l);c&&(a=a.map(u=>c.concat(u))),l=l.parent}}if(TB(n,a),o.nodes){const l=a[0].concat(jDt);e.set(o,l),r.set(o,a[0])}}});for(const o of e.values())TB(n,[o]);const i=new WeakMap;for(const[o,s]of e)i.set(o,n.findIndex(a=>s.equal(a)));return i}function QDt(t,e){return t.trim()?t:"csstools-anon-layer--"+e++}const VDt=new Set(["scope","container","layer"]);function $Dt(t){if(t.type!=="atrule"||t.name.toLowerCase()!=="custom-selector"||!t.params||!t.params.includes(":--")||t.nodes&&t.nodes.length>0)return!1;let e=t.parent;for(;e;){if(e.type==="rule"||e.type==="atrule"&&!VDt.has(e.name.toLowerCase()))return!1;e=e.parent}return!0}function HDt(t,e,r){const n=new Map,i=new Map,o=UDt(t);return t.walkAtRules(s=>{var a,l;if($Dt(s))try{const c=s.params.trim(),u=Vt().astSync(c),f=u?.nodes?.[0]?.nodes?.[0];if(!f||f.type!=="pseudo"||!f.value.startsWith(":--"))return;const d=f.toString(),p=(l=o,(a=s).parent&&a.parent.type==="atrule"&&a.parent.name.toLowerCase()==="layer"?l.has(a.parent)?l.get(a.parent)+1:0:1e7),h=i.get(d)??-1;if(p&&p>=h&&(i.set(d,p),n.set(d,Vt().astSync(c.slice(d.length).trim()))),!r.preserve){const A=s.parent;s.remove(),GDt(A)}}catch(c){s.warn(e,`Failed to parse selector : "${s.params}" with message: "${c instanceof Error?c.message:c}"`)}}),n}function GDt(t){if(!t)return;let e=t;for(;e;){if(e.nodes&&e.nodes.length>0)return;const r=e.parent;e.remove(),e=r}}function WDt(t,e,r){let n=t.selector;try{n=Vt(i=>{i.walkPseudos(o=>{if(!r.has(o.value))return;const s=Vt.pseudo({value:":is",nodes:[]}),a=r.get(o.value);a&&(a.each(l=>{s.append(l.clone())}),o.replaceWith(s))})}).processSync(t.selector)}catch(i){return t.warn(e,`Failed to parse selector : "${n}" with message: "${i instanceof Error?i.message:i}"`),t.selector}return n}const PDe=t=>{const e=t?.preserve??!1;if("importFrom"in Object(t))throw new Error('[postcss-custom-selectors] "importFrom" is no longer supported');if("exportTo"in Object(t))throw new Error('[postcss-custom-selectors] "exportTo" is no longer supported');return{postcssPlugin:"postcss-custom-selectors",prepare(){const r=new WeakSet;let n=new Map;return{postcssPlugin:"postcss-custom-selectors",Once(i,{result:o}){n=HDt(i,o,{preserve:e})},Rule(i,{result:o}){if(r.has(i)||!i.selector?.includes(":--"))return;const s=WDt(i,o,n);s!==i.selector&&(r.add(i),i.cloneBefore({selector:s}),e||i.remove())}}}}};PDe.postcss=!0;const IDe=t=>{const e=Object.assign({dir:null,preserve:!1,shadow:!1},t);return{postcssPlugin:"postcss-dir-pseudo-class",prepare(){const r=new WeakSet;return{Rule(n,{result:i}){if(r.has(n))return;let o,s=!1;if(n.selector.toLowerCase().includes(":dir(")){try{o=Vt(a=>{a.nodes.forEach(l=>{l.walk(c=>{if(c.type!=="pseudo"||c.value.toLowerCase()!==":dir"||!c.nodes||!c.nodes.length)return;const u=c.nodes.toString().toLowerCase();if(u!=="rtl"&&u!=="ltr")return;const f=c.parent;f.nodes.filter(I=>I.type==="pseudo"&&I.value.toLowerCase()===":dir").length>1&&!s&&(s=!0,n.warn(i,`Hierarchical :dir pseudo class usage can't be transformed correctly to [dir] attributes. This will lead to incorrect selectors for "${n.selector}"`));const d=c.prev(),p=c.next(),h=d&&d.type&&d.type!=="combinator",A=p&&p.type&&p.type!=="combinator",g=p&&p.type&&(p.type!=="combinator"||p.type==="combinator"&&p.value===" ");h||A||f.nodes.indexOf(c)===0&&g||f.nodes.length===1?c.remove():c.replaceWith(Vt.universal());const m=f.nodes[0],v=m&&m.type==="combinator"&&m.value===" ",y=m&&m.type==="tag"&&m.value.toLowerCase()==="html",b=m&&m.type==="pseudo"&&m.value.toLowerCase()===":root";!m||y||b||v||f.prepend(Vt.combinator({value:" "}));const B=e.dir===u,S=Vt.attribute({attribute:"dir",operator:"=",quoteMark:'"',value:`"${u}"`,raws:null}),w=Vt.pseudo({value:":host-context"});w.append(S);const x=Vt.pseudo({value:(y||b?"":"html")+":not"});x.append(Vt.attribute({attribute:"dir",operator:"=",quoteMark:'"',value:`"${u==="ltr"?"rtl":"ltr"}"`,raws:null})),B?y?f.insertAfter(m,x):f.prepend(x):y?f.insertAfter(m,S):e.shadow&&!b?f.prepend(w):f.prepend(S)})})}).processSync(n.selector)}catch{return void n.warn(i,`Failed to parse selector : ${n.selector}`)}o!==void 0&&o!==n.selector&&(r.add(n),n.cloneBefore({selector:o}),e.preserve||n.remove())}}}}}};IDe.postcss=!0;var zDt=new Map([["block,flow","block"],["block,flow-root","flow-root"],["inline,flow","inline"],["inline,flow-root","inline-block"],["run-in,flow","run-in"],["list-item,block,flow","list-item"],["inline,flow,list-item","inline list-item"],["block,flex","flex"],["inline,flex","inline-flex"],["block,grid","grid"],["inline,grid","inline-grid"],["inline,ruby","ruby"],["block,table","table"],["inline,table","inline-table"],["table-cell,flow","table-cell"],["table-caption,flow","table-caption"],["ruby-base,flow","ruby-base"],["ruby-text,flow","ruby-text"]]);function KDt(t){const{nodes:e}=cr(t);if(e.length===1)return t;const r=e.filter(i=>i.type==="word").map(i=>i.value.toLowerCase());return r.length<=1?t:zDt.get(r.join(","))||t}const NDe=t=>{const e=!("preserve"in Object(t))||!!t.preserve;return{postcssPlugin:"postcss-normalize-display-values",prepare(){const r=new Map;return{Declaration(n){if(n.prop.toLowerCase()!=="display")return;const i=n.value;if(!i)return;if(r.has(i))return void(n.value!==r.get(i)&&(n.cloneBefore({value:r.get(i)}),e||n.remove()));const o=KDt(i);r.set(i,o),n.value!==o&&(n.cloneBefore({value:o}),e||n.remove())}}}}};NDe.postcss=!0;function qDt(t){const e=t.parent;if(!e)return!1;const r=t.prop.toLowerCase(),n=e.index(t);for(let i=0;i<n;i++){const o=e.nodes[i];if(o.type==="decl"&&o.prop.toLowerCase()===r)return!0}return!1}function FDe(t){return t.includes("conic-gradient(")||t.includes("linear-gradient(")||t.includes("radial-gradient(")||t.includes("repeating-conic-gradient(")||t.includes("repeating-linear-gradient(")||t.includes("repeating-radial-gradient(")}function XDt(t){let e=t.parent;for(;e;)if(e.type==="atrule"){if(e.name.toLowerCase()==="supports"&&FDe(e.params.toLowerCase()))return!0;e=e.parent}else e=e.parent;return!1}const YDt=["at","bottom","center","circle","closest-corner","closest-side","ellipse","farthest-corner","farthest-side","from","in","left","right","to","top"],yAe=t=>t.type==="div"&&t.value===",";function BAe(t){try{return cr.unit(t?.value)!==!1}catch{return!1}}const _H=t=>({postcssPlugin:"postcss-double-position-gradients",Declaration(e,{result:r}){if(!FDe(e.value.toLowerCase())||qDt(e)||XDt(e))return;let n;try{n=cr(e.value)}catch{e.warn(r,`Failed to parse value '${e.value}' as a CSS gradient. Leaving the original value intact.`)}if(n===void 0)return;n.walk(o=>{if(o.type!=="function"||(s=o.value.toLowerCase())!=="conic-gradient"&&s!=="linear-gradient"&&s!=="radial-gradient"&&s!=="repeating-conic-gradient"&&s!=="repeating-linear-gradient"&&s!=="repeating-radial-gradient")return;var s;const a=o.nodes.filter(c=>c.type!=="comment"&&c.type!=="space");let l=!1;a.forEach((c,u,f)=>{if(c.type==="word"&&YDt.includes(c.value.toLowerCase())&&(l=!0),c.type==="div"&&c.value===","&&(l=!1),l)return;const d=Object(f[u-1]),p=Object(f[u-2]),h=Object(f[u+1]);if(p.type&&BAe(d)&&BAe(c)){const A=p,g={type:"div",value:",",before:yAe(h)?h.before:"",after:yAe(h)?"":" ",sourceIndex:0,sourceEndIndex:0};o.nodes.splice(o.nodes.indexOf(c)-1,0,g,A)}})});const i=n.toString();i!==e.value&&(e.cloneBefore({value:i}),t!=null&&t.preserve||e.remove())}});_H.postcss=!0;const TDe=t=>{const e=Object.assign({enableProgressiveCustomProperties:!0,preserve:!0},t);return e.enableProgressiveCustomProperties&&e.preserve?{postcssPlugin:"postcss-double-position-gradients",plugins:[sd(),_H(e)]}:_H(e)};TDe.postcss=!0;const CAe="inline-start",JDt="inline-end";var ip,Rd;function ZDt(t){switch(t){case ip.TopToBottom:return[Rd.Top,Rd.Bottom];case ip.BottomToTop:return[Rd.Bottom,Rd.Top];case ip.RightToLeft:return[Rd.Right,Rd.Left];case ip.LeftToRight:return[Rd.Left,Rd.Right]}}function e7t(t,e,r){t.parent&&t.parent.some(n=>n.type=="decl"&&n.prop===r&&n.value===e)||t.cloneBefore({value:e,prop:r})}(function(t){t.TopToBottom="top-to-bottom",t.BottomToTop="bottom-to-top",t.RightToLeft="right-to-left",t.LeftToRight="left-to-right"})(ip||(ip={})),function(t){t.Top="top",t.Right="right",t.Bottom="bottom",t.Left="left"}(Rd||(Rd={}));const LDe=t=>{const e=Object.assign({inlineDirection:ip.LeftToRight},t),r=Object.values(ip);if(!r.includes(e.inlineDirection))throw new Error(`[postcss-logical-float-and-clear] "inlineDirection" must be one of ${r.join(", ")}`);if(![ip.LeftToRight,ip.RightToLeft].includes(e.inlineDirection))return{postcssPlugin:"postcss-logical-float-and-clear",Once(){}};const[n,i]=ZDt(e.inlineDirection),o=s=>{const a=s.value.toLowerCase();[CAe,JDt].includes(a)&&(e7t(s,a===CAe?n:i,s.prop),s.remove())};return{postcssPlugin:"postcss-logical-float-and-clear",Declaration:{float:o,clear:o}}};LDe.postcss=!0;const N_="js-focus-visible",F_=":focus-visible",RDe=t=>{const e=Object.assign({preserve:!0,replaceWith:".focus-visible",disablePolyfillReadyClass:!1},t),r=Vt().astSync(e.replaceWith);return{postcssPlugin:"postcss-focus-visible",prepare(){const n=new WeakSet;return{Rule(i,{result:o}){if(n.has(i)||!i.selector.toLowerCase().includes(F_))return;const s=i.selectors.flatMap(a=>{if(!a.toLowerCase().includes(F_))return[a];let l;try{l=Vt().astSync(a)}catch(g){return i.warn(o,`Failed to parse selector : "${a}" with message: "${g.message}"`),a}if(l===void 0)return[a];let c=!1;if(l.walkPseudos(g=>{g.value.toLowerCase()===F_&&(g.nodes&&g.nodes.length||(c=!0,g.replaceWith(r.clone({}))))}),!c)return[a];const u=l.clone();if(!e.disablePolyfillReadyClass){var f,d,p,h,A;if((f=l.nodes)!=null&&(d=f[0])!=null&&(p=d.nodes)!=null&&p.length)for(let g=0;g<l.nodes[0].nodes.length;g++){const m=l.nodes[0].nodes[g];if(m.type==="combinator"||Vt.isPseudoElement(m)){l.nodes[0].insertBefore(m,Vt.className({value:N_}));break}if(g===l.nodes[0].nodes.length-1){l.nodes[0].append(Vt.className({value:N_}));break}}return(h=l.nodes)!=null&&(A=h[0])!=null&&A.nodes&&(u.nodes[0].prepend(Vt.combinator({value:" "})),u.nodes[0].prepend(Vt.className({value:N_}))),[l.toString(),u.toString()]}return[l.toString()]});s.join(",")!==i.selectors.join(",")&&(n.add(i),i.cloneBefore({selectors:s}),e.preserve||i.remove())}}}}};RDe.postcss=!0;const bAe=[" ",">","~",":","+","@","#","(",")"];function t7t(t){let e=!0;for(let r=0,n=bAe.length;r<n&&e;r++)t.indexOf(bAe[r])>-1&&(e=!1);return e}const T_="js-focus-within",L_=":focus-within",MDe=t=>{const e=Object.assign({preserve:!0,replaceWith:"[focus-within]",disablePolyfillReadyClass:!1},t),r=Vt().astSync(e.replaceWith);return t7t(e.replaceWith)?{postcssPlugin:"postcss-focus-within",prepare(){const n=new WeakSet;return{Rule(i,{result:o}){if(n.has(i)||!i.selector.toLowerCase().includes(L_))return;const s=i.selectors.flatMap(a=>{if(!a.toLowerCase().includes(L_))return[a];let l;try{l=Vt().astSync(a)}catch(g){return i.warn(o,`Failed to parse selector : "${a}" with message: "${g.message}"`),a}if(l===void 0)return[a];let c=!1;if(l.walkPseudos(g=>{g.value.toLowerCase()===L_&&(g.nodes&&g.nodes.length||(c=!0,g.replaceWith(r.clone({}))))}),!c)return[a];const u=l.clone();if(!e.disablePolyfillReadyClass){var f,d,p,h,A;if((f=l.nodes)!=null&&(d=f[0])!=null&&(p=d.nodes)!=null&&p.length)for(let g=0;g<l.nodes[0].nodes.length;g++){const m=l.nodes[0].nodes[g];if(m.type==="combinator"||Vt.isPseudoElement(m)){l.nodes[0].insertBefore(m,Vt.className({value:T_}));break}if(g===l.nodes[0].nodes.length-1){l.nodes[0].append(Vt.className({value:T_}));break}}return(h=l.nodes)!=null&&(A=h[0])!=null&&A.nodes&&(u.nodes[0].prepend(Vt.combinator({value:" "})),u.nodes[0].prepend(Vt.className({value:T_}))),[l.toString(),u.toString()]}return[l.toString()]});s.join(",")!==i.selectors.join(",")&&(n.add(i),i.cloneBefore({selectors:s}),e.preserve||i.remove())}}}}:{postcssPlugin:"postcss-focus-within",Once:(n,{result:i})=>{n.warn(i,`${e.replaceWith} is not a valid replacement since it can't be applied to single elements.`)}}};MDe.postcss=!0;function r7t(t){const e=t.parent;if(!e)return!1;const r=t.prop.toLowerCase(),n=e.index(t);for(let i=0;i<n;i++){const o=e.nodes[i];if(o.type==="decl"&&o.prop.toLowerCase()===r)return!0}return!1}const n7t=["woff","truetype","opentype","woff2","embedded-opentype","collection","svg"],_De=t=>{const e="preserve"in Object(t)&&!!t.preserve;return{postcssPlugin:"postcss-font-format-keywords",Declaration(r){if(r.prop.toLowerCase()!=="src"||!r.value.toLowerCase().includes("format(")||r7t(r))return;const n=r.parent;if(!n||n.type!=="atrule"||n.name.toLowerCase()!=="font-face")return;const i=cr(r.value);i.walk(o=>{o.type==="function"&&o.value.toLowerCase()==="format"&&o.nodes.forEach(s=>{s.type==="word"&&n7t.includes(s.value.toLowerCase())&&(s.value=cr.stringify({type:"string",value:s.value,quote:'"'}))})}),i.toString()!==r.value&&(r.cloneBefore({value:i.toString()}),e||r.remove())}}};_De.postcss=!0;var IZ={exports:{}};const P0={"font-variant-ligatures":{"common-ligatures":'"liga", "clig"',"no-common-ligatures":'"liga", "clig off"',"discretionary-ligatures":'"dlig"',"no-discretionary-ligatures":'"dlig" off',"historical-ligatures":'"hlig"',"no-historical-ligatures":'"hlig" off',contextual:'"calt"',"no-contextual":'"calt" off'},"font-variant-position":{sub:'"subs"',super:'"sups"',normal:'"subs" off, "sups" off'},"font-variant-caps":{"small-caps":'"smcp"',"all-small-caps":'"smcp", "c2sc"',"petite-caps":'"pcap"',"all-petite-caps":'"pcap", "c2pc"',unicase:'"unic"',"titling-caps":'"titl"'},"font-variant-numeric":{"lining-nums":'"lnum"',"oldstyle-nums":'"onum"',"proportional-nums":'"pnum"',"tabular-nums":'"tnum"',"diagonal-fractions":'"frac"',"stacked-fractions":'"afrc"',ordinal:'"ordn"',"slashed-zero":'"zero"'},"font-kerning":{normal:'"kern"',none:'"kern" off'},"font-variant":{normal:"normal",inherit:"inherit"}};for(const t in P0){const e=P0[t];for(const r in e)r in P0["font-variant"]||(P0["font-variant"][r]=e[r])}function i7t(t){let e=null;return t.parent.walkDecls(r=>{r.prop==="font-feature-settings"&&(e=r)}),e===null&&(e=t.clone(),e.prop="font-feature-settings",e.value="",t.parent.insertBefore(t,e)),e}function o7t(t){let e=null;t.walkDecls(r=>{if(!P0[r.prop])return null;let n=r.value;r.prop==="font-variant"?n=r.value.split(/\s+/g).map(i=>P0["font-variant"][i]).join(", "):P0[r.prop][r.value]&&(n=P0[r.prop][r.value]),e===null&&(e=i7t(r)),e.value&&e.value!==n?e.value+=", "+n:e.value=n})}IZ.exports=()=>({postcssPlugin:"postcss-font-variant",Once(t){t.walkRules(o7t)}});IZ.exports.postcss=!0;var s7t=IZ.exports;const a7t=Io(s7t),l7t=["column-gap","gap","row-gap"],jDe=t=>{const e=Object.assign({preserve:!0},t);return{postcssPlugin:"postcss-gap-properties",Declaration(r){if(!l7t.includes(r.prop.toLowerCase())||!r.parent.some(i=>i.type==="decl"&&i.prop.toLowerCase()==="display"&&i.value.toLowerCase()==="grid"))return;const n=`grid-${r.prop.toLowerCase()}`;r.parent.some(i=>i.type==="decl"&&i.prop.toLowerCase()===n)||(r.cloneBefore({prop:n}),e.preserve||r.remove())}}};jDe.postcss=!0;const UDe=/(repeating-)?(linear|radial|conic)-gradient\(.*?in/i,c7t=/^(repeating-)?(linear|radial|conic)-gradient$/i;function u7t(t){const e=t.parent;if(!e)return!1;const r=t.prop.toLowerCase(),n=e.index(t);for(let i=0;i<n;i++){const o=e.nodes[i];if(o.type==="decl"&&o.prop.toLowerCase()===r)return!0}return!1}function f7t(t){let e=t.parent;for(;e;)if(e.type==="atrule"){if(e.name==="supports"&&UDe.test(e.params))return!0;e=e.parent}else e=e.parent;return!1}function d7t(t,e,r,n=!1){const i=[],o=[];for(let s=0;s<t.length-1;s++){const a=t[s],l=t[s+1];if(o.push(a),r||b1(a.colorData,!1).toString()!==b1(l.colorData,!1).toString()&&a.position.toString()!==l.position.toString())for(let c=1;c<=9;c++){const u=10*c;let f=[];r&&(f=[new Hn([[Be.Whitespace," ",-1,-1,void 0]]),r,new Hn([[Be.Whitespace," ",-1,-1,void 0]]),new Wt([Be.Ident,"hue",-1,-1,{value:"hue"}])]);const d=new ko([Be.Function,"color-mix(",-1,-1,{value:"color-mix"}],[Be.CloseParen,")",-1,-1,void 0],[new Wt([Be.Ident,"in",-1,-1,{value:"in"}]),new Hn([[Be.Whitespace," ",-1,-1,void 0]]),e,...f,new Wt([Be.Comma,",",-1,-1,void 0]),new Hn([[Be.Whitespace," ",-1,-1,void 0]]),a.color,new Hn([[Be.Whitespace," ",-1,-1,void 0]]),new Wt([Be.Percentage,100-u+"%",-1,-1,{value:100-u}]),new Wt([Be.Comma,",",-1,-1,void 0]),new Hn([[Be.Whitespace," ",-1,-1,void 0]]),l.color,new Hn([[Be.Whitespace," ",-1,-1,void 0]]),new Wt([Be.Percentage,`${u}%`,-1,-1,{value:u}])]),p=Uo(d);if(!p)return!1;o.push({colorData:p})}s===t.length-2&&o.push(l)}for(let s=0;s<o.length;s++)n&&!wx(o[s].colorData)?o[s].color=b1(o[s].colorData,!1):o[s].color=qf(o[s].colorData,!1);for(let s=0;s<o.length;s++){const a=o[s];a.position?i.push(a.color,new Hn([[Be.Whitespace," ",-1,-1,void 0]]),a.position):i.push(a.color),s!==o.length-1&&i.push(new Wt([Be.Comma,",",-1,-1,void 0]),new Hn([[Be.Whitespace," ",-1,-1,void 0]]))}return i}function p7t(t){const e=[];let r={};for(let n=0;n<t.length;n++){const i=t[n];if(Ao(i)||Zi(i))continue;if(nr(i)&&i.value[0]===Be.Comma){if(r.color&&r.colorData&&r.positionA){e.push({color:r.color,colorData:r.colorData,position:r.positionA}),r.positionB&&e.push({color:r.color,colorData:r.colorData,position:r.positionB}),r={};continue}return!1}const o=Uo(i);if(o){if(r.color)return!1;r.color=i,r.colorData=o}else{if(!r.color)return!1;if(r.positionA){if(!r.positionA||r.positionB)return!1;r.positionB=i}else r.positionA=i}}return!(!r.color||!r.positionA)&&(r.color&&r.colorData&&r.positionA&&(e.push({color:r.color,colorData:r.colorData,position:r.positionA}),r.positionB&&e.push({color:r.color,colorData:r.colorData,position:r.positionB})),!(e.length<2)&&e)}const A7t=/^(srgb|srgb-linear|lab|oklab|xyz|xyz-d50|xyz-d65|hsl|hwb|lch|oklch)$/i,h7t=/^(hsl|hwb|lch|oklch)$/i,m7t=/^(shorter|longer|increasing|decreasing)$/i,g7t=/^in$/i,v7t=/^hue$/i;function wAe(t,e=!1){const r=t.getName();if(!c7t.test(r))return!1;let n="srgb",i=null,o=null,s=null,a=null,l=null,c=[];{let p=0,h=t.value[p];for(;h&&(!nr(h)||h.value[0]!==Be.Ident||!g7t.test(h.value[4].value));){if(nr(h)&&h.value[0]===Be.Comma)return!1;p++,h=t.value[p]}for(i=h,p++,h=t.value[p];Ao(h)||Zi(h);)p++,h=t.value[p];if(nr(h)&&h.value[0]===Be.Ident&&A7t.test(h.value[4].value)){if(o)return!1;o=h,n=h.value[4].value,p++,h=t.value[p]}for(;Ao(h)||Zi(h);)p++,h=t.value[p];if(nr(h)&&h.value[0]===Be.Ident&&m7t.test(h.value[4].value)&&h7t.test(n)){if(s||!o)return!1;s=h,p++,h=t.value[p]}for(;Ao(h)||Zi(h);)p++,h=t.value[p];if(nr(h)&&h.value[0]===Be.Ident&&v7t.test(h.value[4].value)){if(a||!o||!s)return!1;a=h,p++,h=t.value[p]}for(;h&&(!nr(h)||h.value[0]!==Be.Comma);)p++,h=t.value[p];if(l=h,!l)return!1;c=t.value.slice(p+1)}if(!o||s&&!a||a&&!s)return!1;const u=p7t(c);if(!u)return!1;const f=d7t(u,o,s,e);if(!f)return!1;const d=R_([...t.value.slice(0,t.value.indexOf(i)),...t.value.slice(t.value.indexOf(a||o)+1,t.value.indexOf(l))]);return d.length>0&&d.some(p=>!Ao(p))&&d.push(new Wt([Be.Comma,",",-1,-1,void 0]),new Hn([[Be.Whitespace," ",-1,-1,void 0]])),R_([...d,...R_(f)])}function R_(t){let e=0,r=t.length-1;for(let n=0;n<t.length;n++)if(!Zi(t[n])){e=n;break}for(let n=t.length-1;n>=0;n--)if(!Zi(t[n])){r=n;break}return t.slice(e,r+1)}const jH=t=>({postcssPlugin:"postcss-gradients-interpolation-method",Declaration(e){if(!UDe.test(e.value)||u7t(e)||f7t(e))return;const r=gv({css:e.value}),n=Hu(Wc(Ja(r),o=>{if(!Un(o))return;const s=wAe(o);s&&(o.value=s)}));if(n===e.value)return;const i=Hu(Wc(Ja(ah(r)),o=>{if(!Un(o))return;const s=wAe(o,!0);s&&(o.value=s)}));e.cloneBefore({value:n}),n!==i&&e.cloneBefore({value:i}),t!=null&&t.preserve||e.remove()}});jH.postcss=!0;const QDe=t=>{const e=Object.assign({enableProgressiveCustomProperties:!0,preserve:!0},t);return e.enableProgressiveCustomProperties?{postcssPlugin:"postcss-gradients-interpolation-method",plugins:[sd(),jH(e)]}:jH(e)};QDe.postcss=!0;function y7t(t){if(t==="")return"";let e,r="";for(let n=0;n<t.length;n++)e=t.charCodeAt(n).toString(36),r+=n===0?e:"-"+e;return"csstools-has-"+r}function B7t(t){if(!t.toLowerCase().includes(":has("))return!1;let e=!1;try{const r=new Set;cr(t).walk(n=>{if(n.type==="function"&&n.value.toLowerCase()==="selector")return r.add(cr.stringify(n.nodes)),!1}),r.forEach(n=>{C7t(n)&&(e=!0)})}catch{}return e}function C7t(t){if(!t.toLowerCase().includes(":has("))return!1;let e=!1;try{Vt().astSync(t).walk(r=>{if(r.type==="pseudo"&&r.value.toLowerCase()===":has"&&r.nodes&&r.nodes.length>0)return e=!0,!1})}catch{}return e}const VDe=t=>{const e={preserve:!0,specificityMatchingName:"does-not-exist",...t||{}},r=":not(#"+e.specificityMatchingName+")",n=":not(."+e.specificityMatchingName+")",i=":not("+e.specificityMatchingName+")";return{postcssPlugin:"css-has-pseudo",prepare(){const o=new WeakSet;return{RuleExit:(s,{result:a})=>{if(o.has(s)||!s.selector.toLowerCase().includes(":has(")||b7t(s))return;const l=s.selectors.map(c=>{if(!c.toLowerCase().includes(":has("))return c;let u;try{u=Vt().astSync(c)}catch(d){return s.warn(a,`Failed to parse selector : "${c}" with message: "${d.message}"`),c}if(u===void 0)return c;u.walkPseudos(d=>{let p=d.parent,h=!1;for(;p;)Vt.isPseudoClass(p)&&p.value.toLowerCase()===":has"&&(h=!0),p=p.parent;h&&(d.value.toLowerCase()===":visited"&&d.replaceWith(Vt.className({value:e.specificityMatchingName})),d.value.toLowerCase()===":any-link"&&(d.value=":link"))}),u.walkPseudos(d=>{if(d.value.toLowerCase()!==":has"||!d.nodes)return;let p=d.parent??d;if(p!==d){let y=p.nodes.length;e:for(let b=0;b<p.nodes.length;b++){const B=p.nodes[b];if(Vt.isPseudoElement(B)){for(let S=b-1;S>=0;S--)if(p.nodes[b].type!=="combinator"&&p.nodes[b].type!=="comment"){y=S+1;break e}}}if(y<p.nodes.length){const b=Vt.selector({value:"",nodes:[]});p.nodes.slice(0,y).forEach(w=>{delete w.parent,b.append(w)});const B=Vt.selector({value:"",nodes:[]});p.nodes.slice(y).forEach(w=>{delete w.parent,B.append(w)});const S=Vt.selector({value:"",nodes:[]});S.append(b),S.append(B),p.replaceWith(S),p=b}}const h="["+y7t(p.toString())+"]",A=bm(p);let g=h;for(let y=0;y<A.a;y++)g+=r;const m=Math.max(1,A.b)-1;for(let y=0;y<m;y++)g+=n;for(let y=0;y<A.c;y++)g+=i;const v=Vt().astSync(g);p.replaceWith(v.nodes[0])});const f=u.toString();return f!==c?".js-has-pseudo "+f:c});l.join(",")!==s.selectors.join(",")&&(o.add(s),s.cloneBefore({selectors:l}),e.preserve||s.remove())}}}}};function b7t(t){let e=t.parent;for(;e;){if(e.type==="atrule"&&B7t(e.params))return!0;e=e.parent}return!1}VDe.postcss=!0;const $De=t=>{const e=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-color-hex-alpha",Declaration(r){if(!/#([0-9A-Fa-f]{4}(?:[0-9A-Fa-f]{4})?)\b/.test(r.value)||dDt(r))return;const{value:n}=r,i=cr(n);i.walk(s=>{if(s.type==="function"&&s.value==="url")return!1;w7t(s)&&x7t(s)});const o=i.toString();o!==n&&(r.cloneBefore({value:o}),e.preserve||r.remove())}}};function w7t(t){return t.type==="word"&&/^#([0-9A-Fa-f]{4}(?:[0-9A-Fa-f]{4})?)$/.test(t.value)}$De.postcss=!0;const xAe=1e5,x7t=t=>{const e=t.value,r=`0x${e.length===5?e.slice(1).replace(/[0-9A-Fa-f]/g,"$&$&"):e.slice(1)}`,[n,i,o,s]=[parseInt(r.slice(2,4),16),parseInt(r.slice(4,6),16),parseInt(r.slice(6,8),16),Math.round(parseInt(r.slice(8,10),16)/255*xAe)/xAe];t.value=`rgba(${n},${i},${o},${s})`},UH="(color: hwb(0 0% 0%))";function S7t(t){let e=t.parent;for(;e;)if(e.type==="atrule"){if(e.name.toLowerCase()==="supports"&&e.params.includes(UH))return!0;e=e.parent}else e=e.parent;return!1}function E7t(t){const e=t.parent;if(!e)return!1;const r=t.prop.toLowerCase(),n=e.index(t);for(let i=0;i<n;i++){const o=e.nodes[i];if(o.type==="decl"&&o.prop.toLowerCase()===r)return!0}return!1}const D7t=/hwb\(/i,k7t=/^hwb$/i,HDe=t=>{const e="preserve"in Object(t)&&!!t?.preserve;return{postcssPlugin:"postcss-hwb-function",Declaration:(r,{postcss:n})=>{const i=r.value;if(!D7t.test(i)||e&&S7t(r)||E7t(r))return;const o=Wc(Ja(gv({css:i})),a=>{if(Un(a)&&k7t.test(a.getName())){const l=Uo(a);return!l||l.syntaxFlags.has(zt.HasNoneKeywords)||l.syntaxFlags.has(zt.RelativeColorSyntax)?void 0:qf(l)}}),s=Hu(o);if(s!==i)if(r.variable&&e&&r.parent){const a=r.parent,l=n.atRule({name:"supports",params:UH,source:r.source}),c=a.clone();c.removeAll(),c.append(r.clone()),l.append(c),O7t(l,a,UH),r.replaceWith(r.clone({value:s}))}else e?r.cloneBefore({value:s}):r.replaceWith(r.clone({value:s}))}}};function O7t(t,e,r){let n=e,i=e.next();for(;n&&i&&i.type==="atrule"&&i.name.toLowerCase()==="supports"&&i.params===r;)n=i,i=i.next();n.after(t)}HDe.postcss=!0;function P7t(t){const e=t.parent;if(!e)return!1;const r=t.prop.toLowerCase(),n=e.index(t);for(let i=0;i<n;i++){const o=e.nodes[i];if(o.type==="decl"&&o.prop.toLowerCase()===r)return!0}return!1}function I7t(t){let e=t.parent;for(;e;)if(e.type==="atrule"){if(e.name.toLowerCase()==="supports"&&/\(font-size: \d+ic\)/i.test(e.params))return!0;e=e.parent}else e=e.parent;return!1}const QH=t=>({postcssPlugin:"postcss-ic-unit",Declaration(e){if(!e.value.toLowerCase().includes("ic")||P7t(e)||I7t(e))return;const r=cr(e.value);r.walk(i=>{if(!i.type||i.type!=="word")return;const o=cr.unit(i.value);o&&o.unit.toLowerCase()==="ic"&&(i.value=`${o.number}em`)});const n=String(r);n!==e.value&&(e.cloneBefore({value:n}),t!=null&&t.preserve||e.remove())}});QH.postcss=!0;const GDe=t=>{const e=Object.assign({preserve:!1,enableProgressiveCustomProperties:!0},t);return e.enableProgressiveCustomProperties&&e.preserve?{postcssPlugin:"postcss-ic-unit",plugins:[sd(),QH(e)]}:QH(e)};GDe.postcss=!0;const N7t=/^(cross-fade|image|(repeating-)?(conic|linear|radial)-gradient|url|var)$/i;function F7t(t){return!(!t||!t.type)&&(t.type==="string"?"url("+cr.stringify(t)+")":!(t.type!=="function"||!N7t.test(t.value.toLowerCase()))&&cr.stringify(t))}const VH={dpcm:2.54,dpi:1,dppx:96,x:96};function T7t(t,e,r){if(typeof t=="boolean")return!1;const n=Math.floor(t/VH.x*100)/100;return e.atRule({name:"media",params:`(-webkit-min-device-pixel-ratio: ${n}), (min-resolution: ${t}dpi)`,source:r.source})}function L7t(t){if(!t||t.type!=="word"||!R7t(t))return!1;const e=cr.unit(t.value);return!!e&&e.unit.toLowerCase()in VH&&Number(e.number)*VH[e.unit.toLowerCase()]}function R7t(t){if(!t||!t.value)return!1;try{return cr.unit(t.value)!==!1}catch{return!1}}const yD=(t,e,r)=>{if(t.oninvalid==="warn")t.decl.warn(t.result,e,{word:String(r)});else if(t.oninvalid==="throw")throw t.decl.error(e,{word:String(r)})},M7t=(t,e,r)=>{const n=e.parent,i=new Map,o=e.value;for(let f=0;f<t.length;f++){const{imageSetFunction:d,imageSetOptionNodes:p}=t[f],h=new Map,A=p.length;let g=-1;for(;g<A;){const m=g<0||(s=p[g],Object(s).type==="div"&&Object(s).value===","),v=F7t(p[g+1]),y=L7t(p[g+2]),b=T7t(y,r.postcss,e);if(!m)return void yD(r,"expected a comma",cr.stringify(p));if(!v)return void yD(r,"unexpected image",cr.stringify(p));if(!b||!y||h.has(y))return void yD(r,"unexpected resolution",cr.stringify(p));if(h.set(y,b),i.has(y)){const B=i.get(y);B.value=B.value.replace(cr.stringify(d),v.trim()),i.set(y,B)}else i.set(y,{atRule:b,value:o.replace(cr.stringify(d),v.trim())});g+=3}}var s;for(const{atRule:f,value:d}of i.values()){const p=n.clone().removeAll(),h=e.clone({value:d});p.append(h),f.append(p)}const a=Array.from(i.keys()).sort((f,d)=>f-d).map(f=>i.get(f).atRule);if(!a.length)return;const l=a[0],c=a.slice(1);c.length&&n.after(c);const u=l.nodes[0].nodes[0];e.cloneBefore({value:u.value.trim()}),r.preserve||(e.remove(),n.nodes.length||n.remove())};function _7t(t){const e=t.parent;if(!e)return!1;const r=t.prop.toLowerCase(),n=e.index(t);for(let i=0;i<n;i++){const o=e.nodes[i];if(o.type==="decl"&&o.prop.toLowerCase()===r)return!0}return!1}const j7t=/(^|[^\w-])(-webkit-)?image-set\(/i,SAe=/^(-webkit-)?image-set$/i,WDe=t=>{const e=!("preserve"in Object(t))||!!t.preserve,r="onInvalid"in Object(t)?t.onInvalid:"ignore";if("oninvalid"in Object(t))throw new Error('"oninvalid" was changed to "onInvalid" to match other plugins with similar options');return{postcssPlugin:"postcss-image-set-function",Declaration(n,{result:i,postcss:o}){const s=n.value;if(!j7t.test(s.toLowerCase())||_7t(n))return;let a;try{a=cr(s)}catch{n.warn(i,`Failed to parse value '${s}' as an image-set function. Leaving the original value intact.`)}if(a===void 0)return;const l=[];a.walk(c=>{if(c.type!=="function"||!SAe.test(c.value.toLowerCase()))return;let u=!1;if(cr.walk(c.nodes,d=>{d.type==="function"&&SAe.test(d.value.toLowerCase())&&(u=!0)}),u)return yD({decl:n,oninvalid:r,result:i},"nested image-set functions are not allowed",cr.stringify(c)),!1;const f=c.nodes.filter(d=>d.type!=="comment"&&d.type!=="space");l.push({imageSetFunction:c,imageSetOptionNodes:f})}),M7t(l,n,{decl:n,oninvalid:r,preserve:e,result:i,postcss:o})}}};WDe.postcss=!0;function U7t(t){const e=Vt().astSync(t);let r=!0;return e.walk(n=>{var i,o;if(n.type!=="class"&&n.type!=="comment"&&n.type!=="id"&&n.type!=="root"&&n.type!=="selector"&&n.type!=="string"&&n.type!=="tag"&&n.type!=="universal"&&(n.type!=="attribute"||n.insensitive)&&(n.type!=="combinator"||n.value!=="+"&&n.value!==">"&&n.value!=="~"&&n.value!==" ")&&(n.type!=="pseudo"||(i=n.nodes)!=null&&i.length||n.value.toLowerCase()!==":hover"&&n.value.toLowerCase()!==":focus")){if(n.type==="pseudo"&&((o=n.nodes)==null?void 0:o.length)===1&&n.value.toLowerCase()===":not"){let s=!0;if(n.nodes[0].walkCombinators(()=>{s=!1}),s)return}return r=!1,!1}}),r}function Q7t(t){if(!t||!t.nodes||t.nodes.length===1)return;const e=[];let r=[];for(let i=0;i<t.nodes.length;i++)t.nodes[i].type!=="combinator"?Vt.isPseudoElement(t.nodes[i])?(e.push(r),r=[t.nodes[i]]):r.push(t.nodes[i]):(e.push(r),e.push([t.nodes[i]]),r=[]);e.push(r);const n=[];for(let i=0;i<e.length;i++){const o=e[i];o.sort((l,c)=>l.type==="selector"&&c.type==="selector"&&l.nodes.length&&c.nodes.length?zh(l.nodes[0],l.nodes[0].type)-zh(c.nodes[0],c.nodes[0].type):l.type==="selector"&&l.nodes.length?zh(l.nodes[0],l.nodes[0].type)-zh(c,c.type):c.type==="selector"&&c.nodes.length?zh(l,l.type)-zh(c.nodes[0],c.nodes[0].type):zh(l,l.type)-zh(c,c.type));const s=new Set(o.map(l=>l.type)),a=s.has("universal")&&(s.has("tag")||s.has("attribute")||s.has("class")||s.has("id")||s.has("pseudo"));for(let l=0;l<o.length;l++)o[l].type==="universal"&&a?o[l].remove():n.push(o[l])}for(let i=n.length-1;i>=0;i--){const o=n[i-1];if(n[i].remove(),o&&o.type==="tag"&&n[i].type==="tag"){const s=Vt.pseudo({value:":is",nodes:[Vt.selector({value:"",nodes:[n[i]]})]});t.prepend(s)}else t.prepend(n[i])}}function zh(t,e){return Vt.isPseudoElement(t)?EAe.pseudoElement:EAe[e]}const EAe={universal:0,tag:1,pseudoElement:2,id:3,class:4,attribute:5,pseudo:6,selector:7,string:8,root:9,comment:10};function V7t(t){return!(!t||!t.nodes)&&t.type==="selector"&&t.nodes.length===3&&!(!t.nodes[0]||t.nodes[0].type!=="pseudo"||t.nodes[0].value!==":-csstools-matches")&&!(!t.nodes[1]||t.nodes[1].type!=="combinator"||t.nodes[1].value!=="+"&&t.nodes[1].value!=="~")&&!(!t.nodes[2]||t.nodes[2].type!=="pseudo"||t.nodes[2].value!==":-csstools-matches")&&!(!t.nodes[0].nodes||t.nodes[0].nodes.length!==1)&&t.nodes[0].nodes[0].type==="selector"&&!(!t.nodes[0].nodes[0].nodes||t.nodes[0].nodes[0].nodes.length!==3)&&!(!t.nodes[0].nodes[0].nodes||t.nodes[0].nodes[0].nodes[1].type!=="combinator"||t.nodes[0].nodes[0].nodes[1].value!==">")&&!(!t.nodes[2].nodes||t.nodes[2].nodes.length!==1)&&t.nodes[2].nodes[0].type==="selector"&&!(!t.nodes[2].nodes[0].nodes||t.nodes[2].nodes[0].nodes.length!==3)&&!(!t.nodes[2].nodes[0].nodes||t.nodes[2].nodes[0].nodes[1].type!=="combinator"||t.nodes[2].nodes[0].nodes[1].value!==">")&&(t.nodes[0].nodes[0].insertAfter(t.nodes[0].nodes[0].nodes[0],t.nodes[2].nodes[0].nodes[0].clone()),t.nodes[2].nodes[0].nodes[1].remove(),t.nodes[2].nodes[0].nodes[0].remove(),t.nodes[0].replaceWith(t.nodes[0].nodes[0]),t.nodes[2].replaceWith(t.nodes[2].nodes[0]),!0)}function $7t(t){if(!t||!t.nodes||t.type!=="selector"||t.nodes.length!==2)return!1;let e,r;return t.nodes[0]&&t.nodes[0].type==="pseudo"&&t.nodes[0].value===":-csstools-matches"?(e=0,r=1):t.nodes[1]&&t.nodes[1].type==="pseudo"&&t.nodes[1].value===":-csstools-matches"&&(e=1,r=0),!!e&&!!t.nodes[r]&&(t.nodes[r].type!=="selector"||!t.nodes[r].some(n=>n.type==="combinator"||Vt.isPseudoElement(n)))&&(t.nodes[e].append(t.nodes[r].clone()),t.nodes[e].replaceWith(...t.nodes[e].nodes),t.nodes[r].remove(),!0)}function H7t(t){if(!t||!t.nodes||t.type!=="selector")return!1;let e=-1;for(let o=0;o<t.nodes.length;o++){const s=t.nodes[o];if(s.type==="combinator")return!1;if(s.type==="pseudo"&&s.value===":-csstools-matches"){if(!s.nodes||s.nodes.length!==1)return!1;e=o;break}}if(e===-1)return!1;const r=t.nodes.slice(0,e),n=t.nodes[e],i=t.nodes.slice(e+1);return r.forEach(o=>{n.nodes[0].append(o.clone())}),i.forEach(o=>{n.nodes[0].append(o.clone())}),n.replaceWith(...n.nodes),r.forEach(o=>{o.remove()}),i.forEach(o=>{o.remove()}),!0}function G7t(t,e,r,n){return t.flatMap(i=>{if(i.indexOf(":-csstools-matches")===-1&&i.toLowerCase().indexOf(":is")===-1)return i;const o=Vt().astSync(i);return o.walkPseudos(s=>{if(s.value.toLowerCase()===":is"&&s.nodes&&s.nodes.length&&s.nodes[0].type==="selector"&&s.nodes[0].nodes.length===0)return s.value=":not",void s.nodes[0].append(Vt.universal());if(s.value===":-csstools-matches")if(!s.nodes||s.nodes.length){if(s.walkPseudos(a=>{if(Vt.isPseudoElement(a)){let l=a.value;if(l.startsWith("::-csstools-invalid-"))return;for(;l.startsWith(":");)l=l.slice(1);a.value=`::-csstools-invalid-${l}`,n()}}),s.nodes.length===1&&s.nodes[0].type==="selector"){if(s.nodes[0].nodes.length===1)return void s.replaceWith(s.nodes[0].nodes[0]);if(!s.nodes[0].some(a=>a.type==="combinator"))return void s.replaceWith(...s.nodes[0].nodes)}o.nodes.length!==1||o.nodes[0].type!=="selector"||o.nodes[0].nodes.length!==1||o.nodes[0].nodes[0]!==s?V7t(s.parent)||$7t(s.parent)||H7t(s.parent)||(e.onComplexSelector==="warning"&&r(),s.value=":is"):s.replaceWith(...s.nodes[0].nodes)}else s.remove()}),o.walk(s=>{s.type==="selector"&&"nodes"in s&&s.nodes.length===1&&s.nodes[0].type==="selector"&&s.replaceWith(s.nodes[0])}),o.walk(s=>{"nodes"in s&&Q7t(s)}),o.toString()}).filter(i=>!!i)}function zDe(t,e,r=0){const n=":not(#"+e.specificityMatchingName+")",i=":not(."+e.specificityMatchingName+")",o=":not("+e.specificityMatchingName+")";return t.flatMap(s=>{if(s.toLowerCase().indexOf(":is")===-1)return s;let a=!1;const l=[];if(Vt().astSync(s).walkPseudos(u=>{var f,d,p,h,A;if(u.value.toLowerCase()!==":is"||!u.nodes||!u.nodes.length||u.nodes[0].type==="selector"&&u.nodes[0].nodes.length===0)return;if(((f=u.parent)==null||(d=f.parent)==null?void 0:d.type)==="pseudo"&&((p=u.parent)==null||(h=p.parent)==null||(A=h.value)==null?void 0:A.toLowerCase())===":not")return void l.push([{start:u.parent.parent.sourceIndex,end:u.parent.parent.sourceIndex+u.parent.parent.toString().length,option:`:not(${u.nodes.toString()})`}]);let g=u.parent;for(;g;){if(g.value&&g.value.toLowerCase()===":is"&&g.type==="pseudo")return void(a=!0);g=g.parent}const m=bm(u),v=u.sourceIndex,y=v+u.toString().length,b=[];u.nodes.forEach(B=>{const S={start:v,end:y,option:""},w=bm(B);let x=B.toString().trim();const I=Math.max(0,m.a-w.a),F=Math.max(0,m.b-w.b),k=Math.max(0,m.c-w.c);for(let O=0;O<I;O++)x+=n;for(let O=0;O<F;O++)x+=i;for(let O=0;O<k;O++)x+=o;S.option=x,b.push(S)}),l.push(b)}),!l.length)return[s];let c=[];return W7t(...l).forEach(u=>{let f="";for(let p=0;p<u.length;p++){var d;const h=u[p];f+=s.substring(((d=u[p-1])==null?void 0:d.end)||0,u[p].start),f+=":-csstools-matches("+h.option+")",p===u.length-1&&(f+=s.substring(u[p].end))}c.push(f)}),a&&r<10&&(c=zDe(c,e,r+1)),c}).filter(s=>!!s)}function W7t(...t){const e=[],r=t.length-1;return function n(i,o){for(let s=0,a=t[o].length;s<a;s++){const l=i.slice(0);l.push(t[o][s]),o===r?e.push(l):n(l,o+1)}}([],0),e}const KDe=t=>{const e={specificityMatchingName:"does-not-exist",...t||{}};return{postcssPlugin:"postcss-is-pseudo-class",prepare(){const r=new WeakSet;return{Rule(n,{result:i}){if(!n.selector||n.selector.toLowerCase().indexOf(":is(")===-1||r.has(n))return;let o=!1;const s=()=>{e.onComplexSelector==="warning"&&(o||(o=!0,n.warn(i,`Complex selectors in '${n.selector}' can not be transformed to an equivalent selector without ':is()'.`)))};let a=!1;const l=()=>{e.onPseudoElement==="warning"&&(a||(a=!0,n.warn(i,`Pseudo elements are not allowed in ':is()', unable to transform '${n.selector}'`)))};try{let c=!1;const u=[],f=G7t(zDe(n.selectors,{specificityMatchingName:e.specificityMatchingName}),{onComplexSelector:e.onComplexSelector},s,l);if(Array.from(new Set(f)).forEach(d=>{if(n.selectors.indexOf(d)>-1)u.push(d);else{if(U7t(d))return u.push(d),void(c=!0);r.add(n),n.cloneBefore({selector:d}),c=!0}}),u.length&&c&&(r.add(n),n.cloneBefore({selectors:u})),!e.preserve){if(!c)return;n.remove()}}catch(c){if(c.message.indexOf("call stack size exceeded")>-1)throw c;n.warn(i,`Failed to parse selector "${n.selector}"`)}}}}}};KDe.postcss=!0;function z7t(t){const e=t.parent;if(!e)return!1;const r=t.prop.toLowerCase(),n=e.index(t);for(let i=0;i<n;i++){const o=e.nodes[i];if(o.type==="decl"&&o.prop.toLowerCase()===r)return!0}return!1}function K7t(t){let e=t.parent;for(;e;)if(e.type==="atrule"){if(e.name.toLowerCase()==="supports"&&(e.params.toLowerCase().indexOf("lab(")!==-1||e.params.toLowerCase().indexOf("lch(")!==-1))return!0;e=e.parent}else e=e.parent;return!1}const q7t=/(lab|lch)\(/i,DAe=/^(lab|lch)$/i,$H=t=>({postcssPlugin:"postcss-lab-function",Declaration:e=>{const r=e.value;if(!q7t.test(r)||z7t(e)||K7t(e))return;const n=gv({css:r}),i=Wc(Ja(n),a=>{if(Un(a)&&DAe.test(a.getName())){const l=Uo(a);return!l||l.syntaxFlags.has(zt.HasNoneKeywords)||l.syntaxFlags.has(zt.RelativeColorSyntax)?void 0:qf(l)}}),o=Hu(i);if(o===r)return;let s=o;t!=null&&t.subFeatures.displayP3&&(s=Hu(Wc(Ja(ah(n)),a=>{if(Un(a)&&DAe.test(a.getName())){const l=Uo(a);return!l||l.syntaxFlags.has(zt.HasNoneKeywords)||l.syntaxFlags.has(zt.RelativeColorSyntax)?void 0:wx(l)?qf(l):b1(l)}}))),e.cloneBefore({value:o}),t!=null&&t.subFeatures.displayP3&&s!==o&&e.cloneBefore({value:s}),t!=null&&t.preserve||e.remove()}});$H.postcss=!0;const qDe=t=>{const e=Object.assign({enableProgressiveCustomProperties:!0,preserve:!1,subFeatures:{displayP3:!0}},t);return e.subFeatures=Object.assign({displayP3:!0},e.subFeatures),e.enableProgressiveCustomProperties&&(e.preserve||e.subFeatures.displayP3)?{postcssPlugin:"postcss-lab-function",plugins:[sd(),$H(e)]}:$H(e)};qDe.postcss=!0;var kAe,q9;(function(t){t.Block="block",t.Inline="inline"})(kAe||(kAe={})),function(t){t.Start="start",t.End="end"}(q9||(q9={}));const jw={BlockStart:"block-start",BlockEnd:"block-end",InlineStart:"inline-start",InlineEnd:"inline-end"};var Df,hf;function OAe(t){switch(t){case Df.TopToBottom:return[hf.Top,hf.Bottom];case Df.BottomToTop:return[hf.Bottom,hf.Top];case Df.RightToLeft:return[hf.Right,hf.Left];case Df.LeftToRight:return[hf.Left,hf.Right]}}function Ls(t,e,r){return t.parent&&t.parent.some(n=>n.type=="decl"&&n.prop===r&&n.value===e)?[]:[t.clone({value:e,prop:r})]}function X7t(t,e,r){const{prop:n,value:i}=t,o=cr(i),s=[];let a=[];o.nodes.forEach(u=>{if(u.type==="div"&&u.value===",")return s.push(a),void(a=[]);a.push(u)}),s.push(a);for(let u=0;u<s.length;u++){const f=s[u];for(let d=0;d<f.length;d++){const p=f[d];if(p.type!=="word")continue;const h=p.value.toLowerCase(),A=r[h];if(!A)continue;const g=A(e.decl({prop:h,value:"initial"}));if(g.length!==0){for(let m=g.length-1;m>=0;m--){const v=JSON.parse(JSON.stringify(f));v[d].value=g[m].prop,s.splice(u+1,0,v)}s.splice(u,1),u++}}}const l=[];for(let u=0;u<s.length;u++){const f=s[u];l.push(...f),u!==s.length-1&&l.push({type:"div",value:",",sourceIndex:0,sourceEndIndex:0,before:"",after:" "})}const c=cr.stringify(l);return c!==i?Ls(t,c,n):[]}function NZ(t){const e=cr(t.value).nodes.filter(i=>i.type!=="space");if(e.length>2||e.length===0){const i=`[postcss-logical] Invalid number of values for ${t.prop}. Found ${e.length} values, expected 1 or 2.`;throw t.error(i)}let r,n;return e.length===1?(r=cr.stringify(e[0]),n=r):(r=cr.stringify(e[0]),n=cr.stringify(e[1])),[r,n]}function lu(t,e){return r=>Ls(r,r.value,`border-${e}-${t}`)}function my(t,e){return r=>{const[n,i]=e,[o,s]=NZ(r);return[...Ls(r,o,`border-${n}-${t}`),...Ls(r,s,`border-${i}-${t}`)]}}function gy(t){return e=>t.flatMap(r=>Ls(e,e.value,`border-${r}`))}function c8(t){return e=>{let r;switch(e.prop.toLowerCase()){case"border-start-start-radius":r=`border-${t.inlineIsHorizontal?`${t.block[0]}-${t.inline[0]}`:`${t.inline[0]}-${t.block[0]}`}-radius`;break;case"border-start-end-radius":r=`border-${t.inlineIsHorizontal?`${t.block[0]}-${t.inline[1]}`:`${t.inline[1]}-${t.block[0]}`}-radius`;break;case"border-end-start-radius":r=`border-${t.inlineIsHorizontal?`${t.block[1]}-${t.inline[0]}`:`${t.inline[0]}-${t.block[1]}`}-radius`;break;case"border-end-end-radius":r=`border-${t.inlineIsHorizontal?`${t.block[1]}-${t.inline[1]}`:`${t.inline[1]}-${t.block[1]}`}-radius`;break}return r?Ls(e,e.value,r):[]}}function vy(t){return e=>{const{value:r}=e,n=t.inlineIsHorizontal?"width":"height",i=t.inlineIsHorizontal?"height":"width",o=e.prop.toLowerCase().replace("inline-size",n).replace("block-size",i);return Ls(e,r,o)}}function u8(t){return e=>Ls(e,e.value,t)}function PAe(t){return e=>{const[r,n]=t,[i,o]=NZ(e);return[...Ls(e,i,r),...Ls(e,o,n)]}}function Kh(t,e){return r=>Ls(r,r.value,`${t}-${e}`)}function f8(t,e){return r=>{const[n,i]=e,[o,s]=NZ(r);return[...Ls(r,o,`${t}-${n}`),...Ls(r,s,`${t}-${i}`)]}}function Y7t(t,e){const[r,n]=e.block,[i,o]=e.inline;switch(t){case jw.BlockStart:return r;case jw.BlockEnd:return n;case jw.InlineStart:return i;case jw.InlineEnd:return o;default:throw new Error("Unsupported logical direction")}}function J7t(t,e,r){const{prop:n,value:i}=t,o=cr(i);o.nodes.forEach(a=>{if(a.type==="word"){const l=a.value.toLowerCase();e.includes(l)&&(a.value=Y7t(l,r))}});const s=o.toString();return s!==i?Ls(t,s,n):[]}function Z7t(t,e,r,n,i){return{"caption-side":(s=t,a=>J7t(a,Object.values(jw),s)),"text-align":t.inlineIsHorizontal?(o=t.inline,a=>{const{prop:l,value:c}=a,u=cr(c),[f,d]=o;u.nodes.forEach(h=>{if(h.type==="word"){const A=h.value.toLowerCase();if(A===q9.End)return void(h.value=d);A===q9.Start&&(h.value=f)}});const p=u.toString();return p!==c?Ls(a,p,l):[]}):null,"block-size":vy(t),"inline-size":vy(t),"min-block-size":vy(t),"max-block-size":vy(t),"min-inline-size":vy(t),"max-inline-size":vy(t),"margin-block-start":Kh("margin",e),"margin-block-end":Kh("margin",r),"margin-inline-start":Kh("margin",n),"margin-inline-end":Kh("margin",i),"margin-block":f8("margin",t.block),"margin-inline":f8("margin",t.inline),"inset-block":PAe(t.block),"inset-block-start":u8(e),"inset-block-end":u8(r),"inset-inline":PAe(t.inline),"inset-inline-start":u8(n),"inset-inline-end":u8(i),inset:a=>{const l=cr(a.value).nodes.filter(p=>p.type!=="space"&&p.type!=="comment");if(l.length>4){const p=`[postcss-logical] Invalid number of values for ${a.prop}. Found ${l.length} values, expected up to 4 values.`;throw a.error(p)}let c,u,f,d;if(l.length===1)c=cr.stringify(l[0]),u=c,f=c,d=c;else if(l.length===2)c=cr.stringify(l[0]),u=cr.stringify(l[1]),f=c,d=u;else if(l.length===3)c=cr.stringify(l[0]),u=cr.stringify(l[1]),d=u,f=cr.stringify(l[2]);else{if(l.length!==4)return[];c=cr.stringify(l[0]),u=cr.stringify(l[1]),f=cr.stringify(l[2]),d=cr.stringify(l[3])}return[...Ls(a,c,"top"),...Ls(a,u,"right"),...Ls(a,f,"bottom"),...Ls(a,d,"left")]},"padding-block-start":Kh("padding",e),"padding-block-end":Kh("padding",r),"padding-inline-start":Kh("padding",n),"padding-inline-end":Kh("padding",i),"padding-block":f8("padding",t.block),"padding-inline":f8("padding",t.inline),"border-block-start-width":lu("width",e),"border-block-end-width":lu("width",r),"border-inline-start-width":lu("width",n),"border-inline-end-width":lu("width",i),"border-block-width":my("width",t.block),"border-inline-width":my("width",t.inline),"border-block-start-style":lu("style",e),"border-block-end-style":lu("style",r),"border-inline-start-style":lu("style",n),"border-inline-end-style":lu("style",i),"border-block-style":my("style",t.block),"border-inline-style":my("style",t.inline),"border-block-start-color":lu("color",e),"border-block-end-color":lu("color",r),"border-inline-start-color":lu("color",n),"border-inline-end-color":lu("color",i),"border-block-color":my("color",t.block),"border-inline-color":my("color",t.inline),"border-block":gy(t.block),"border-block-start":gy([e]),"border-block-end":gy([r]),"border-inline":gy(t.inline),"border-inline-start":gy([n]),"border-inline-end":gy([i]),"border-start-start-radius":c8(t),"border-start-end-radius":c8(t),"border-end-start-radius":c8(t),"border-end-end-radius":c8(t)};var o,s}(function(t){t.TopToBottom="top-to-bottom",t.BottomToTop="bottom-to-top",t.RightToLeft="right-to-left",t.LeftToRight="left-to-right"})(Df||(Df={})),function(t){t.Top="top",t.Right="right",t.Bottom="bottom",t.Left="left"}(hf||(hf={}));const XDe=t=>{const e=Object.assign({blockDirection:Df.TopToBottom,inlineDirection:Df.LeftToRight},t),r=Object.values(Df);if(!r.includes(e.blockDirection))throw new Error(`[postcss-logical] "blockDirection" must be one of ${r.join(", ")}`);if(!r.includes(e.inlineDirection))throw new Error(`[postcss-logical] "inlineDirection" must be one of ${r.join(", ")}`);const[n,i]=OAe(e.blockDirection),[o,s]=OAe(e.inlineDirection);if(!Object.values(hf).every(c=>[n,i,o,s].includes(c)))throw new Error('[postcss-logical] "blockDirection" and "inlineDirection" must be on separate axes');const a=c=>(u,{result:f})=>{var d;if(!c)return;let p=[];try{p=c(u)}catch(h){return void u.warn(f,h.message)}(d=p)!=null&&d.length&&(p.forEach(h=>{u.cloneBefore(h)}),u.remove())},l=Z7t({block:[n,i],inline:[o,s],inlineIsHorizontal:[Df.LeftToRight,Df.RightToLeft].includes(e.inlineDirection)},n,i,o,s);return{postcssPlugin:"postcss-logical",Declaration:{"caption-side":a(l["caption-side"]),"text-align":a(l["text-align"]),"block-size":a(l["block-size"]),"inline-size":a(l["inline-size"]),"min-block-size":a(l["min-block-size"]),"max-block-size":a(l["max-block-size"]),"min-inline-size":a(l["min-inline-size"]),"max-inline-size":a(l["max-inline-size"]),"margin-block-start":a(l["margin-block-start"]),"margin-block-end":a(l["margin-block-end"]),"margin-inline-start":a(l["margin-inline-start"]),"margin-inline-end":a(l["margin-inline-end"]),"margin-block":a(l["margin-block"]),"margin-inline":a(l["margin-inline"]),"inset-block":a(l["inset-block"]),"inset-block-start":a(l["inset-block-start"]),"inset-block-end":a(l["inset-block-end"]),"inset-inline":a(l["inset-inline"]),"inset-inline-start":a(l["inset-inline-start"]),"inset-inline-end":a(l["inset-inline-end"]),inset:a(l.inset),"padding-block-start":a(l["padding-block-start"]),"padding-block-end":a(l["padding-block-end"]),"padding-inline-start":a(l["padding-inline-start"]),"padding-inline-end":a(l["padding-inline-end"]),"padding-block":a(l["padding-block"]),"padding-inline":a(l["padding-inline"]),"border-block-start-width":a(l["border-block-start-width"]),"border-block-end-width":a(l["border-block-end-width"]),"border-inline-start-width":a(l["border-inline-start-width"]),"border-inline-end-width":a(l["border-inline-end-width"]),"border-block-width":a(l["border-block-width"]),"border-inline-width":a(l["border-inline-width"]),"border-block-start-style":a(l["border-block-start-style"]),"border-block-end-style":a(l["border-block-end-style"]),"border-inline-start-style":a(l["border-inline-start-style"]),"border-inline-end-style":a(l["border-inline-end-style"]),"border-block-style":a(l["border-block-style"]),"border-inline-style":a(l["border-inline-style"]),"border-block-start-color":a(l["border-block-start-color"]),"border-block-end-color":a(l["border-block-end-color"]),"border-inline-start-color":a(l["border-inline-start-color"]),"border-inline-end-color":a(l["border-inline-end-color"]),"border-block-color":a(l["border-block-color"]),"border-inline-color":a(l["border-inline-color"]),"border-block":a(l["border-block"]),"border-block-start":a(l["border-block-start"]),"border-block-end":a(l["border-block-end"]),"border-inline":a(l["border-inline"]),"border-inline-start":a(l["border-inline-start"]),"border-inline-end":a(l["border-inline-end"]),"border-start-start-radius":a(l["border-start-start-radius"]),"border-start-end-radius":a(l["border-start-end-radius"]),"border-end-start-radius":a(l["border-end-start-radius"]),"border-end-end-radius":a(l["border-end-end-radius"]),transition:(c,{result:u,postcss:f})=>{var d;let p=[];try{p=X7t(c,f,l)}catch(h){return void c.warn(u,h.message)}(d=p)!=null&&d.length&&(p.forEach(h=>{c.cloneBefore(h)}),c.remove())}}}};XDe.postcss=!0;var IAe,NAe,kf,mf;function ekt(t,e,r){t.parent&&t.parent.some(n=>n.type=="decl"&&n.prop===r&&n.value===e)||t.cloneBefore({value:e,prop:r})}function tkt(t){return e=>{const{prop:r,value:n}=e,i=cr(n),o=t.inlineIsHorizontal?"horizontal":"vertical",s=t.inlineIsHorizontal?"vertical":"horizontal";i.nodes.forEach(l=>{if(l.type==="word"){const c=l.value.toLowerCase();if(c==="inline")return void(l.value=o);c==="block"&&(l.value=s)}});const a=i.toString();return a!==n&&(ekt(e,a,r),!0)}}function FAe(t){switch(t){case kf.TopToBottom:return[mf.Top,mf.Bottom];case kf.BottomToTop:return[mf.Bottom,mf.Top];case kf.RightToLeft:return[mf.Right,mf.Left];case kf.LeftToRight:return[mf.Left,mf.Right]}}(function(t){t.Block="block",t.Inline="inline"})(IAe||(IAe={})),function(t){t.Start="start",t.End="end"}(NAe||(NAe={})),function(t){t.TopToBottom="top-to-bottom",t.BottomToTop="bottom-to-top",t.RightToLeft="right-to-left",t.LeftToRight="left-to-right"}(kf||(kf={})),function(t){t.Top="top",t.Right="right",t.Bottom="bottom",t.Left="left"}(mf||(mf={}));const YDe=t=>{const e=Object.assign({blockDirection:kf.TopToBottom,inlineDirection:kf.LeftToRight},t),r=Object.values(kf);if(!r.includes(e.blockDirection))throw new Error(`[postcss-logical-resize] "blockDirection" must be one of ${r.join(", ")}`);if(!r.includes(e.inlineDirection))throw new Error(`[postcss-logical-resize] "inlineDirection" must be one of ${r.join(", ")}`);const[n,i]=FAe(e.blockDirection),[o,s]=FAe(e.inlineDirection);if(!Object.values(mf).every(c=>[n,i,o,s].includes(c)))throw new Error('[postcss-logical-resize] "blockDirection" and "inlineDirection" must be on separate axes');const a={block:[n,i],inline:[o,s],inlineIsHorizontal:[kf.LeftToRight,kf.RightToLeft].includes(e.inlineDirection)};return{postcssPlugin:"postcss-logical-resize",Declaration:{resize:(l=tkt(a),(c,{result:u})=>{if(!l)return;let f=!1;try{f=l(c)}catch(d){return void c.warn(u,d.message)}f&&c.remove()})}};var l};YDe.postcss=!0;function rkt(t){{const r=t.toLowerCase();if(!r.includes("vb")&&!r.includes("vi"))return!1}const e=Pp({css:t});for(;;){const r=e.nextToken();if(!r||r[0]===Be.EOF)break;if(r[0]!==Be.Dimension)continue;const n=r[4].unit.toLowerCase();if(n==="vb"||n==="vi")return!0}return!1}function nkt(t){let e=t.parent;for(;e;)if(e.type==="atrule"){if(e.name.toLowerCase()==="supports"&&rkt(e.params))return!0;e=e.parent}else e=e.parent;return!1}var d2,TAe;function ikt(t,e){const r=Pp({css:t}),n=[];let i=!1;for(;;){const o=r.nextToken();if(!o||(n.push(o),o[0]===Be.EOF))break;if(o[0]!==Be.Dimension)continue;const s=o[4].unit.toLowerCase();let a;s==="vi"?a=e.vi:s==="vb"&&(a=e.vb),a&&(o[1]=o[4].value.toString()+a,o[4].unit=a,i=!0)}return i?nn(...n):t}(function(t){t.TopToBottom="top-to-bottom",t.BottomToTop="bottom-to-top",t.RightToLeft="right-to-left",t.LeftToRight="left-to-right"})(d2||(d2={})),function(t){t.Top="top",t.Right="right",t.Bottom="bottom",t.Left="left"}(TAe||(TAe={}));const JDe=t=>{const e=Object.assign({inlineDirection:d2.LeftToRight,preserve:!0},t),r=Object.values(d2);if(!r.includes(e.inlineDirection))throw new Error(`[postcss-logical-viewport-units] "inlineDirection" must be one of ${r.join(", ")}`);const n=[d2.LeftToRight,d2.RightToLeft].includes(e.inlineDirection),i={vb:"vh",vi:"vw"};return n||(i.vb="vw",i.vi="vh"),{postcssPlugin:"postcss-logical-viewport-units",Declaration(o,{atRule:s}){{const f=o.value.toLowerCase();if(!f.includes("vb")&&!f.includes("vi"))return;const d=o.prev();if(d&&d.type==="decl"&&d.prop===o.prop||nkt(o))return}const a=ikt(o.value,i);if(a===o.value)return;if(o.cloneBefore({value:a}),!e.preserve)return void o.remove();if(!o.variable)return;const l=s({name:"supports",params:"(top: 1vi)",source:o.source}),c=o.parent;if(!c)return;const u=c.cloneAfter({nodes:[]});u.append(o),l.append(u),c.after(l)}}};JDe.postcss=!0;const ja=1e5,LAe=2147483647;function M_(t){if(Array.isArray(t.value)&&EZ(t.value)){const r=[];for(let c=0;c<t.value.length;c++){const u=t.value[c];(nr(u)&&u.value[0]===Be.Number||Un(u)&&u.getName().toLowerCase()==="calc")&&r.push(u)}if(r.length!==2)return;const n=r[0],i=t.value.indexOf(n),o=r[1],s=t.value.indexOf(o);if(nr(o)&&o.value[0]===Be.Number&&o.value[4].value===0)return t.value.splice(i,1,new Wt([Be.Number,LAe.toString(),-1,-1,{value:LAe,type:Pt.Integer}])),void t.value.splice(s,1,new Wt([Be.Number,"1",-1,-1,{value:1,type:Pt.Integer}]));if(nr(n)&&n.value[0]===Be.Number&&n.value[4].type===Pt.Integer&&nr(o)&&o.value[0]===Be.Number&&o.value[4].type===Pt.Integer)return;let a=null,l=null;if(Un(n)&&n.getName().toLowerCase()==="calc"){if(n.toString().includes(ja.toString()))return;a=__(n)}if(Un(o)&&o.getName().toLowerCase()==="calc"){if(o.toString().includes(ja.toString()))return;l=__(o)}if(nr(n)&&n.value[0]===Be.Number&&nr(o)&&o.value[0]===Be.Number){const c=n.value,u=o.value,f=Math.round(c[4].value*ja),d=Math.round(u[4].value*ja),p=RAe(f,d);a=new Wt([Be.Number,Math.round(f/p).toString(),-1,-1,{value:Math.round(f/p),type:Pt.Integer}]),l=new Wt([Be.Number,Math.round(d/p).toString(),-1,-1,{value:Math.round(d/p),type:Pt.Integer}])}else{if(nr(n)&&n.value[0]===Be.Number){const c=n.value;a=new Wt([Be.Number,Math.round(c[4].value*ja).toString(),-1,-1,{value:Math.round(c[4].value*ja),type:Pt.Integer}])}if(nr(o)&&o.value[0]===Be.Number){const c=o.value;l=new Wt([Be.Number,Math.round(c[4].value*ja).toString(),-1,-1,{value:Math.round(c[4].value*ja),type:Pt.Integer}])}}return a&&l?(t.value.splice(i,1,a),void t.value.splice(s,1,l)):void 0}const e=Array.isArray(t.value)?t.value:[t.value];for(let r=0;r<e.length;r++){const n=e[r];if(nr(n)){const i=n.value;if(i[0]!==Be.Number)return;if(i[4].type===Pt.Integer)return e.splice(r+1,0,new Wt([Be.Delim,"/",-1,-1,{value:"/"}]),new Wt([Be.Number,"1",-1,-1,{value:1,type:Pt.Integer}])),void(t.value=e);if(i[4].type===Pt.Number){const o=Math.round(i[4].value*ja),s=RAe(o,ja);return e.splice(r,1,new Wt([Be.Number,Math.round(o/s).toString(),-1,-1,{value:Math.round(o/s),type:Pt.Integer}]),new Wt([Be.Delim,"/",-1,-1,{value:"/"}]),new Wt([Be.Number,Math.round(ja/s).toString(),-1,-1,{value:Math.round(ja/s),type:Pt.Integer}])),void(t.value=e)}return}if(Un(n)&&n.getName().toLowerCase()==="calc")return e.splice(r,1,__(n),new Wt([Be.Delim,"/",-1,-1,{value:"/"}]),new Wt([Be.Number,ja.toString(),-1,-1,{value:ja,type:Pt.Integer}])),void(t.value=e)}}function __(t){return new ko([Be.Function,"calc(",-1,-1,{value:"calc("}],[Be.CloseParen,")",-1,-1,void 0],[new $1([Be.OpenParen,"(",-1,-1,void 0],[Be.CloseParen,")",-1,-1,void 0],t.value),new Hn([[Be.Whitespace," ",-1,-1,void 0]]),new Wt([Be.Delim,"*",-1,-1,{value:"*"}]),new Hn([[Be.Whitespace," ",-1,-1,void 0]]),new Wt([Be.Number,ja.toString(),-1,-1,{value:ja,type:Pt.Integer}])])}function RAe(t,e){if(Number.isNaN(t)||Number.isNaN(e))throw new Error("Unexpected 'NaN' when calculating the greatest common divisor.");if(!Number.isFinite(t)||!Number.isFinite(e))throw new Error("Unexpected 'Infinite' value when calculating the greatest common divisor.");for(e>t&&([t,e]=[e,t]);;){if(e==0)return t;if((t%=e)==0)return e;e%=t}}const MAe=new Set(["aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio"]);function okt(t,e){const r=kZ(t,{preserveInvalidMediaQueries:!0,onParseError:()=>{throw new Error(`Unable to parse media query "${t}"`)}}),n=new Set(r.map(i=>i.toString()));return r.flatMap(i=>{if(H4(i))return[i.toString()];const o=KEt(i);o.walk(l=>{const c=l.node;if(VEt(c)||G9(c)||OZ(c)){const u=c.name.getName().toLowerCase();if(!MAe.has(u))return;M_(c.value)}else if(yDe(c)){const u=c.name.getName().toLowerCase();if(!MAe.has(u))return;M_(c.valueOne),M_(c.valueTwo)}});const s=i.toString(),a=o.toString();return a===s||n.has(a)?[s]:e?[s,a]:[a]}).join(",")}const ZDe=t=>{const e=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-media-queries-aspect-ratio-number-values",AtRule(r,{result:n}){if(r.name.toLowerCase()!=="media")return;const i=r.params.toLowerCase();if(!(i.includes("aspect-ratio")||i.includes("min-aspect-ratio")||i.includes("max-aspect-ratio")||i.includes("device-aspect-ratio")||i.includes("min-device-aspect-ratio")||i.includes("max-device-aspect-ratio")))return;let o;try{if(o=okt(r.params,e.preserve),o===r.params)return}catch(s){return void r.warn(n,`Failed to transform @media params for "${r.params}" with message: "${s.message}"`)}r.cloneBefore({params:o}),r.remove()}}};ZDe.postcss=!0;const skt={width:"px",height:"px","device-width":"px","device-height":"px","aspect-ratio":"","device-aspect-ratio":"",color:"","color-index":"",monochrome:"",resolution:"dpi"},_Ae={width:!1,height:!1,"device-width":!1,"device-height":!1,"aspect-ratio":!1,"device-aspect-ratio":!1,color:!0,"color-index":!0,monochrome:!0,resolution:"dpi"};function d8(t){return t===Go.LT||t===Go.LT_OR_EQ?"max-":t===ea.GT||t===ea.GT_OR_EQ?"min-":""}const Cd={">":1,"<":-1},j_=.001,jAe=.02;function U_(t,e,r,n){let i=r.before,o=r.after;if(n||(i=r.after,o=r.before),!n){const p=kEt(e);if(p===!1)return;e=p}if(e===Rf.EQ||e===Go.LT_OR_EQ||e===ea.GT_OR_EQ)return Array.isArray(r.value)?f2(d8(e)+t,...i,...r.value.flatMap(p=>p.tokens()),...o):f2(d8(e)+t,...i,...r.value.tokens(),...o);let s,a,l=!1;if(Array.isArray(r.value)){if(!EZ(r.value)||t!=="aspect-ratio"&&t!=="device-aspect-ratio")return;const p=fDe(r.value);if(p===-1)return;l=!0,s=r.value[p[0]],a=[...r.value.slice(p[0]+1).flatMap(h=>h.tokens())]}else s=r.value,a=[];const c=skt[t.toLowerCase()];if(Un(s)){const p=s.getName().toLowerCase();if(bx.has(p)||p==="env"){const[[h]]=vv([[s]],{precision:5,toCanonicalUnits:!0});if(!(h&&nr(h)&&tl(h.value)&&Number.isInteger(h.value[4].value))){let A;if(c!==void 0){const g=Cd[e]*(c==="px"?jAe:j_);A=[Be.Dimension,`${g.toString()}${c}`,-1,-1,{value:g,unit:c,type:Pt.Integer}]}else if(_Ae[t]===!0){const g=Cd[e];A=[Be.Number,g.toString(),-1,-1,{value:g,type:Pt.Integer}]}else if(l){const g=Cd[e]*j_;A=[Be.Number,g.toString(),-1,-1,{value:g,type:Pt.Integer}]}else{const g=Cd[e];A=[Be.Number,g.toString(),-1,-1,{value:g,type:Pt.Integer}]}return f2(d8(e)+t,...i,[Be.Function,"calc(",-1,-1,{value:"calc("}],[Be.OpenParen,"(",-1,-1,void 0],...s.tokens().slice(1),[Be.Whitespace," ",-1,-1,void 0],[Be.Delim,"+",-1,-1,{value:"+"}],[Be.Whitespace," ",-1,-1,void 0],A,[Be.CloseParen,")",-1,-1,void 0],...a,...o)}s=h}}if(!nr(s))return;let u,f=s.value,d="";if(c!==void 0&&ni(f)&&f[4].value===0)u=Cd[e],d=c;else if(ni(f)&&f[4].value===0)u=Cd[e],d="";else if(Wi(f)&&f[4].value===0)u=Cd[e],d=f[4].unit;else if(ni(f)&&_Ae[t]===!0)u=f[4].value+Cd[e];else if(Wi(f)&&f[4].unit==="px"&&f[4].type===Pt.Integer)u=+(Math.round(+(f[4].value+jAe*Cd[e]+"e6"))+"e-6");else{if(!Wi(f)&&!ni(f))return;u=+(Math.round(+(f[4].value+j_*Cd[e]+"e6"))+"e-6")}return d&&(f=[Be.Dimension,f[1],f[2],f[3],{value:f[4].value,unit:d,type:f[4].type}]),f[4].value=u,Wi(f)?f[1]=f[4].value.toString()+f[4].unit:f[1]=f[4].value.toString(),f2(d8(e)+t,...i,f,...a,...o)}const akt=new Set(["aspect-ratio","color","color-index","device-aspect-ratio","device-height","device-width","height","horizontal-viewport-segments","monochrome","resolution","vertical-viewport-segments","width"]);function UAe(t){return t.map((e,r)=>{const n=S6t(e);e.walk(o=>{const s=o.node;if(!$Et(s))return;const a=o.parent;if(!TH(a))return;const l=s.name.getName().toLowerCase();if(!akt.has(l))return;if(G9(s)||OZ(s)){const m=s.operatorKind();if(m===!1)return;const v=U_(l,m,s.value,G9(s));return void(v&&(a.feature=v.feature))}const c=n.get(a);if(!HEt(c))return;let u=null,f=null;{const m=s.valueOneOperatorKind();if(m===!1)return;const v=U_(l,m,s.valueOne,!1);if(!v)return;m===Go.LT||m===Go.LT_OR_EQ?(u=v,u.before=a.before):(f=v,f.after=a.after)}{const m=s.valueTwoOperatorKind();if(m===!1)return;const v=U_(l,m,s.valueTwo,!0);if(!v)return;m===Go.LT||m===Go.LT_OR_EQ?(f=v,f.before=a.before):(u=v,u.after=a.after)}if(!u||!f)return;const d=new rc(u),p=new rc(f),h=lkt(c,n);if(h)return h.leading===c?(h.leading=d,void(h.list=[new LA([[Be.Whitespace," ",-1,-1,void 0],[Be.Ident,"and",-1,-1,{value:"and"}],[Be.Whitespace," ",-1,-1,void 0]],p),...h.list])):void h.list.splice(h.indexOf(n.get(c)),1,new LA([[Be.Whitespace," ",-1,-1,void 0],[Be.Ident,"and",-1,-1,{value:"and"}],[Be.Whitespace," ",-1,-1,void 0]],d),new LA([[Be.Whitespace," ",-1,-1,void 0],[Be.Ident,"and",-1,-1,{value:"and"}],[Be.Whitespace," ",-1,-1,void 0]],p));const A=new RB(d,[new LA([[Be.Whitespace," ",-1,-1,void 0],[Be.Ident,"and",-1,-1,{value:"and"}],[Be.Whitespace," ",-1,-1,void 0]],p)],[[Be.Whitespace," ",-1,-1,void 0]]),g=ckt(c,e,n);g?g.media=A:c.media=new hl(new rc(new hl(A),[[Be.Whitespace," ",-1,-1,void 0],[Be.OpenParen,"(",-1,-1,void 0]],[[Be.CloseParen,")",-1,-1,void 0]]))});const i=e.tokens();return nn(...i.filter((o,s)=>(s!==0||r!==0||!C1(o))&&!(C1(o)&&i[s+1]&&C1(i[s+1]))))}).join(",")}function lkt(t,e){let r=t;if(r){if(r=e.get(r),FH(r))return r;if(gDe(r))return r=e.get(r),FH(r)?r:void 0}}function ckt(t,e,r){let n=t;if(!n||(n=r.get(n),!QEt(n)))return;const i=n;return n=r.get(n),zEt(n)&&n===e?i:void 0}const e7e=()=>({postcssPlugin:"postcss-media-minmax",AtRule:{media(t){if(!(t.params.includes("<")||t.params.includes(">")||t.params.includes("=")))return;const e=UAe(kZ(t.params,{preserveInvalidMediaQueries:!0,onParseError:()=>{throw t.error(`Unable to parse media query "${t.params}"`)}}));t.params!==e&&(t.params=e)},"custom-media"(t){if(!(t.params.includes("<")||t.params.includes(">")||t.params.includes("=")))return;const e=MEt(t.params,{preserveInvalidMediaQueries:!0,onParseError:()=>{throw t.error(`Unable to parse media query "${t.params}"`)}});if(!e||!e.mediaQueryList)return;const r=e.mediaQueryList.map(i=>i.toString()).join(","),n=UAe(e.mediaQueryList);r!==n&&(t.params=`${nn(...e.name)} ${n}`)}}});e7e.postcss=!0;const ukt=/calc\(/gim;function fkt(t){const e=t.parent;if(!e)return!1;const r=e.index(t);for(let n=0;n<r;n++){const i=e.nodes[n];if(i.type==="decl"&&i.prop.toLowerCase()===t.prop.toLowerCase())return!0}return!1}const t7e=t=>{const e=Object.assign({preserve:!0},t);return{postcssPlugin:"postcss-nested-calc",Declaration(r,{result:n}){if((r.value.match(ukt)||[]).length<2||r.variable||fkt(r))return;const i=r.value;let o;try{o=cr(i)}catch{return void r.warn(n,`Failed to parse value '${i}'. Leaving the original value intact.`)}if(o===void 0)return;cr.walk(o.nodes,a=>{a.type&&a.type==="function"&&a.value.toLowerCase()==="calc"&&cr.walk(a.nodes,l=>{if(l.type&&l.type==="function")return l.value.toLowerCase()==="calc"&&void(l.value="")})},!0);const s=String(o);s!==i&&(r.cloneBefore({value:s}),e.preserve||r.remove())}}};t7e.postcss=!0;const dkt=Vt.pseudo({value:":is"});function Tg(t){if(!t||!t.nodes)return;const e=[];let r=[];for(let i=0;i<t.nodes.length;i++)if(t.nodes[i].type!=="combinator")if(Vt.isPseudoElement(t.nodes[i]))e.push(r),r=[t.nodes[i]];else{if(t.nodes[i].type==="tag"&&r.find(o=>o.type==="tag")){const o=dkt.clone({}),s=t.nodes[i];s.replaceWith(o),o.append(Vt.selector({nodes:[s],value:void 0}))}r.push(t.nodes[i])}else e.push(r),e.push([t.nodes[i]]),r=[];e.push(r);const n=[];for(let i=0;i<e.length;i++){const o=e[i];o.sort((s,a)=>s.type==="selector"&&a.type==="selector"&&s.nodes.length&&a.nodes.length?qh(s.nodes[0])-qh(a.nodes[0]):s.type==="selector"&&s.nodes.length?qh(s.nodes[0])-qh(a):a.type==="selector"&&a.nodes.length?qh(s)-qh(a.nodes[0]):qh(s)-qh(a));for(let s=0;s<o.length;s++)n.push(o[s])}for(let i=n.length-1;i>=0;i--)n[i].remove(),t.prepend(n[i])}function qh(t){return Vt.isPseudoElement(t)?QAe.pseudoElement:QAe[t.type]}const QAe={universal:0,tag:1,pseudoElement:2,id:3,class:4,attribute:5,pseudo:6,selector:7,string:8,root:9,comment:10};function pkt(t,e){let r,n=t.parent;for(;n;){if(n.type==="rule")return;n=n.parent}try{r=Vt().astSync(t.selector)}catch(i){return void t.warn(e,`Failed to parse selector : "${t.selector}" with message: "${i.message}"`)}r&&(r.walkNesting(i=>{const o=i.parent;i.replaceWith(Vt.pseudo({value:":scope"})),o&&Tg(o)}),t.selector=r.toString())}function jB(t){if(!t.nodes.length)return void t.remove();const e=t.nodes.filter(r=>r.type==="comment");e.length===t.nodes.length&&t.replaceWith(...e)}function oN(t,e){const r=e.index(t);if(r){const n=e.cloneBefore().removeAll().append(e.nodes.slice(0,r));n.raws.semicolon=!0,jB(n)}e.before(t),e.raws.semicolon=!0}function Akt(t,e){if(e<2)throw new Error("n must be greater than 1");if(t.length<2)throw new Error("s must be greater than 1");if(Math.pow(t.length,e)>1e4)throw new Error("Too many combinations when trying to resolve a nested selector with lists, reduce the complexity of your selectors");const r=[];for(let i=0;i<e;i++)r[i]=0;const n=[];for(;;){const i=[];for(let o=e-1;o>=0;o--){let s=r[o];if(s>=t.length){if(s=0,r[o]=0,o===0)return n;r[o-1]+=1}i[o]=t[s]}n.push(i),r[r.length-1]++}}function hkt(t){const e=t.map(n=>Vt().astSync(n)).map(n=>bm(n)),r=e[0];for(let n=1;n<e.length;n++)if(r.a!==e[n].a||r.b!==e[n].b||r.c!==e[n].c)return!1;return!0}function r7e(t,e,r){let n=[];n=hkt(t)||r.noIsPseudoSelector?t.map(o=>Vt().astSync(o)):[Vt().astSync(`:is(${t.join(",")})`)];const i=[];for(let o=0;o<e.length;o++){let s,a=e[o];{const u=Vt().astSync(a);let f=!1;u.walk(h=>{h.type==="nesting"&&(f=!0)});const d=u.nodes[0];let p=!1;d.each(h=>h.type==="combinator"&&(p=!0,!1)),f?p&&d.insertBefore(d.at(0),Vt.nesting({})):(d.insertBefore(d.at(0),Vt.combinator({value:" "})),d.insertBefore(d.at(0),Vt.nesting({}))),a=u.toString()}let l=[],c=0;if(Vt().astSync(a).walkNesting(()=>{c++}),c>1&&n.length>1)l=Akt(n,c),s=l.length;else{s=n.length;for(let u=0;u<n.length;u++){l.push([]);for(let f=0;f<c;f++)l[u].push(n[u])}}for(let u=0;u<s;u++){let f=0;const d=Vt().astSync(a);d.walk(p=>{if(p.type!=="nesting")return;let h=l[u][f];f++,h.type==="root"&&h.nodes.length===1&&(h=h.nodes[0]);const A=Vt().astSync(`:is(${h.toString()})`),g=X9(h.nodes[0]),m=HH(h.nodes[0]),v=X9(p),y=HH(p);if(g&&v)return void p.replaceWith(h.clone());if((g||m)&&(v||y)){const B=p.parent;return g&&h.type==="selector"?p.replaceWith(h.clone().nodes[0]):p.replaceWith(...h.clone().nodes),void(B&&B.nodes.length>1&&Tg(B))}if(g){const B=p.parent;return p.replaceWith(h.clone().nodes[0]),void(B&&Tg(B))}if(m){const B=p.parent;return p.replaceWith(...h.clone().nodes),void(B&&Tg(B))}if(mkt(p)){const B=p.parent;return p.replaceWith(...h.clone().nodes),void(B&&Tg(B))}if(gkt(p)){const B=p.parent;return p.replaceWith(...h.clone().nodes),void(B&&Tg(B))}const b=p.parent;r.noIsPseudoSelector?p.replaceWith(...h.clone().nodes):p.replaceWith(...A.clone({}).nodes),b&&Tg(b)}),i.push(d.toString())}}return i}function X9(t){return t.type!=="combinator"&&!(t.parent&&t.parent.nodes.length>1)}function HH(t,e=null){return X9(t)||!t.parent||t.parent.nodes.find(r=>r.type==="combinator")?!1:!(t.parent.nodes.find(r=>r.type==="nesting")&&e&&!HH(e))}function mkt(t){if(!t.parent||t.parent.nodes.indexOf(t)!==0)return!1;for(let e=1;e<t.parent.nodes.length;e++)if(t.parent.nodes[e].type==="combinator"&&t.parent.nodes[e].value!==" "&&t.parent.nodes[e].value!==">")return!1;return!0}function gkt(t){if(X9(t))return!0;if(!t.parent)return!1;for(let e=0;e<t.parent.nodes.length;e++)if(t.parent.nodes[e].type!=="nesting"&&(t.parent.nodes[e].prev()||t.parent.nodes[e].next())&&(t.parent.nodes[e].prev()&&t.parent.nodes[e].prev().type!=="combinator"||t.parent.nodes[e].next()&&t.parent.nodes[e].next().type!=="combinator"))return!1;return!0}function FZ(t){let e=-1;t.each((r,n)=>{if(r.type==="decl")return e===n-1?void(e=n):(r.remove(),t.insertAfter(e,r),void(e=t.index(r)));if(r.type==="atrule"&&r.name.toLowerCase()==="mixin"){let i=r.prev();for(;i;){if(i.type==="rule"||i.type==="atrule")return;i=i.prev()}return e===n-1?void(e=n):(r.remove(),t.insertAfter(e,r),void(e=t.index(r)))}if(r.type==="comment"){const i=r.next();return i&&(i.type==="comment"||i.type==="rule"||i.type==="atrule"&&i.name.toLowerCase()!=="mixin")?void 0:e===n-1?void(e=n):(r.remove(),t.insertAfter(e,r),void(e=t.index(r)))}})}function vkt(t,e,r,n){let i=[];try{i=r7e(e.selectors,t.selectors,n)}catch(o){return void t.warn(r,`Failed to parse selectors : "${e.selector}" / "${t.selector}" with message: "${o.message}"`)}i.length&&(FZ(e),oN(t,e),t.selectors=i,t.type==="rule"&&e.type==="rule"&&t.selector===e.selector&&t.append(...e.nodes),jB(e))}function ykt(t){return t.selectors.every(e=>e.indexOf("|")===-1)}function Y9(t){const e=[];let r="",n=!1,i=0,o=!1,s=!1;for(const a of t)s?s=!1:a==="\\"?s=!0:o?a===o&&(o=!1):a==='"'||a==="'"?o=a:a==="("?i+=1:a===")"?i>0&&(i-=1):i===0&&a===","&&(n=!0),n?(r!==""&&e.push(r.trim()),r="",n=!1):r+=a;return e.push(r.trim()),e}function Bkt(t,e,r,n,i){let o=[];try{o=r7e(e.selectors,Y9(t.params),i)}catch(a){return void t.warn(r,`Failed to parse selectors : "${e.selector}" / "${t.params}" with message: "${a.message}"`)}if(!o.length)return;oN(t,e);const s=e.clone().removeAll().append(t.nodes);s.raws.semicolon=!0,s.selectors=o,t.replaceWith(s),jB(e),n(s,r,i)}function Ckt(t){return Y9(t.params).every(e=>e.split("&").length>=2&&e.indexOf("|")===-1)}var n7e=["container","document","media","supports","layer"];function bkt(t,e,r,n,i){if(FZ(e),oN(t,e),t.nodes){const o=e.clone().removeAll().append(t.nodes);t.append(o),jB(e),n(o,r,i)}else jB(e)}function wkt(t){return n7e.includes(t.name)}function xkt(t,e){var r,n;FZ(e),oN(t,e),t.params=(r=e.params,n=t.params,Y9(r).map(i=>Y9(n).map(o=>`${i} and ${o}`).join(", ")).join(", ")),jB(e)}function Skt(t,e){return n7e.includes(t.name)&&t.name===e.name}function BD(t){return t&&t.type==="atrule"}function VAe(t){return t&&BD(t)&&t.name==="nest"}function p8(t){return t&&t.type==="rule"}function CD(t,e,r){t.each(n=>{const i=n.parent;VAe(n)&&!r.silenceAtNestWarning&&t.warn(e,`\`@nest\` was removed from the CSS Nesting specification and will be removed from PostCSS Nesting in the next major version. Change \`@nest ${n.params} {}\` to \`${n.params} {}\` to migrate to the latest standard.`),p8(n)&&p8(i)&&ykt(n)?vkt(n,i,e,r):VAe(n)&&p8(i)&&Ckt(n)?Bkt(n,i,e,CD,r):BD(n)&&p8(i)&&wkt(n)?bkt(n,i,e,CD,r):BD(n)&&BD(i)&&Skt(n,i)&&xkt(n,i),"nodes"in n&&n.nodes.length&&CD(n,e,r)})}const i7e=t=>{const e=Object.assign({noIsPseudoSelector:!1,silenceAtNestWarning:!1},t);return{postcssPlugin:"postcss-nesting",Rule(r,{result:n}){CD(r,n,e),r.selector.includes("&")&&pkt(r,n)}}};i7e.postcss=!0;function Ekt(t){t.spaces&&(t.spaces.after="",t.spaces.before=""),t.nodes&&t.nodes.length>0&&(t.nodes[0]&&t.nodes[0].spaces&&(t.nodes[0].spaces.before=""),t.nodes[t.nodes.length-1]&&t.nodes[t.nodes.length-1].spaces&&(t.nodes[t.nodes.length-1].spaces.after=""))}const o7e=()=>({postcssPlugin:"postcss-selector-not",Rule:(t,{result:e})=>{if(t.selector&&t.selector.toLowerCase().includes(":not("))try{const r=Vt().astSync(t.selector);r.walkPseudos(i=>{if(i.value.toLowerCase()!==":not"||!i.nodes||i.nodes.length<2)return;const o=[];i.nodes.forEach(s=>{Ekt(s);const a=Vt.pseudo({value:":not",nodes:[s]});o.push(a)}),i.replaceWith(...o)});const n=r.toString();n!==t.selector&&t.replaceWith(t.clone({selector:n}))}catch(r){t.warn(e,`Failed to parse selector : "${t.selector}" with message: "${r instanceof Error?r.message:r}"`)}}});o7e.postcss=!0;function Dkt(t){const e=t.parent;if(!e)return!1;const r=t.prop.toLowerCase(),n=e.index(t);for(let i=0;i<n;i++){const o=e.nodes[i];if(o.type==="decl"&&o.prop.toLowerCase()===r)return!0}return!1}function kkt(t){let e=t.parent;for(;e;)if(e.type==="atrule"){if(e.name.toLowerCase()==="supports"&&(e.params.toLowerCase().indexOf("oklab(")!==-1||e.params.toLowerCase().indexOf("oklch(")!==-1))return!0;e=e.parent}else e=e.parent;return!1}const Okt=/(oklab|oklch)\(/i,$Ae=/^(oklab|oklch)$/i,GH=t=>({postcssPlugin:"postcss-oklab-function",Declaration:e=>{const r=e.value;if(!Okt.test(r)||Dkt(e)||kkt(e))return;const n=gv({css:r}),i=Wc(Ja(n),a=>{if(Un(a)&&$Ae.test(a.getName())){const l=Uo(a);return!l||l.syntaxFlags.has(zt.HasNoneKeywords)||l.syntaxFlags.has(zt.RelativeColorSyntax)?void 0:qf(l)}}),o=Hu(i);if(o===r)return;let s=o;t!=null&&t.subFeatures.displayP3&&(s=Hu(Wc(Ja(ah(n)),a=>{if(Un(a)&&$Ae.test(a.getName())){const l=Uo(a);return!l||l.syntaxFlags.has(zt.HasNoneKeywords)||l.syntaxFlags.has(zt.RelativeColorSyntax)?void 0:wx(l)?qf(l):b1(l)}}))),e.cloneBefore({value:o}),t!=null&&t.subFeatures.displayP3&&s!==o&&e.cloneBefore({value:s}),t!=null&&t.preserve||e.remove()}});GH.postcss=!0;const s7e=t=>{const e=Object.assign({enableProgressiveCustomProperties:!0,preserve:!1,subFeatures:{displayP3:!0}},t);return e.subFeatures=Object.assign({displayP3:!0},e.subFeatures),e.enableProgressiveCustomProperties&&(e.preserve||e.subFeatures.displayP3)?{postcssPlugin:"postcss-oklab-function",plugins:[sd(),GH(e)]}:GH(e)};s7e.postcss=!0;var TZ={exports:{}};const Pkt=new Set(["inherit","initial","revert","unset"]);TZ.exports=({preserve:t=!1}={})=>({postcssPlugin:"postcss-opacity-percentage",Declaration:{opacity(e){!e.value||e.value.startsWith("var(")||!e.value.endsWith("%")||Pkt.has(e.value)||(e.cloneBefore({value:String(Number.parseFloat(e.value)/100)}),t||e.remove())}}});TZ.exports.postcss=!0;var Ikt=TZ.exports;const Nkt=Io(Ikt),a7e=t=>{const e=Object.assign({preserve:!0},t);return{postcssPlugin:"postcss-overflow-shorthand",Declaration:(r,{result:n})=>{if(r.prop.toLowerCase()!=="overflow")return;let i="",o="";const s=r.value;try{const a=cr(s).nodes.slice().filter(l=>l.type!=="comment"&&l.type!=="space");if(a.length<2)return;i=cr.stringify(a[0]),o=cr.stringify(a[1])}catch{return void r.warn(n,`Failed to parse value '${s}' as a shorthand for "overflow". Leaving the original value intact.`)}i&&o&&(i.toLowerCase()===o.toLowerCase()?r.cloneBefore({value:i}):(r.cloneBefore({prop:"overflow-x",value:i}),r.cloneBefore({prop:"overflow-y",value:o})),e.preserve||r.remove())}}};a7e.postcss=!0;var LZ={exports:{}};LZ.exports=function(t){t=t||{};var e=t.method||"replace";return{postcssPlugin:"postcss-replace-overflow-wrap",Declaration:{"overflow-wrap":r=>{r.cloneBefore({prop:"word-wrap"}),e==="replace"&&r.remove()}}}};LZ.exports.postcss=!0;var Fkt=LZ.exports;const Tkt=Io(Fkt);function Lkt(t,e,r){const n=t.prop.toLowerCase().match(l7e)[1];let i;try{i=cr(t.value)}catch{t.warn(e,`Failed to parse value '${t.value}'. Leaving the original value intact.`)}if(i===void 0)return;let o=[];o=i.nodes.length?i.nodes.filter(s=>s.type==="word"||s.type==="function").map(s=>cr.stringify(s)):[cr.stringify(i)],t.cloneBefore({prop:`align-${n}`,value:o[0]}),t.cloneBefore({prop:`justify-${n}`,value:o[1]||o[0]}),r.preserve||t.remove()}const l7e=/^place-(content|items|self)/,c7e=t=>{const e=Object.assign({preserve:!0},t);return{postcssPlugin:"postcss-place",Declaration:(r,{result:n})=>{l7e.test(r.prop.toLowerCase())&&Lkt(r,n,e)}}};c7e.postcss=!0;const Rkt=/\(\s*prefers-color-scheme\s*:\s*(dark|light)\s*\)/gi,Mkt={dark:"48842621",light:"70318723"},_kt=(t,e)=>`(color: ${Mkt[e.toLowerCase()]})`,u7e=t=>{const e=Object.assign({preserve:!0},t);return{postcssPlugin:"postcss-prefers-color-scheme",prepare(){const r=new WeakSet;return{AtRule:n=>{if(r.has(n)||n.name.toLowerCase()!=="media")return;const{params:i}=n,o=i.replace(Rkt,_kt);i!==o&&(r.add(n),n.cloneBefore({params:o}),e.preserve||n.remove())}}}}};u7e.postcss=!0;function jkt(t){const e=t.parent;if(!e)return!1;const r=t.prop.toLowerCase(),n=e.index(t);for(let i=0;i<n;i++){const o=e.nodes[i];if(o.type==="decl"&&o.prop.toLowerCase()===r)return!0}return!1}const f7e=t=>{const e=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-color-rebeccapurple",Declaration(r){if(!r.value.toLowerCase().includes("rebeccapurple")||jkt(r))return;const n=cr(r.value);n.walk(o=>{o.type==="word"&&o.value.toLowerCase()==="rebeccapurple"&&(o.value="#639")});const i=String(n);i!==r.value&&(r.cloneBefore({value:i}),e.preserve||r.remove())}}};f7e.postcss=!0;function Ukt(t){const e=t.parent;if(!e)return!1;const r=t.prop.toLowerCase(),n=e.index(t);for(let i=0;i<n;i++){const o=e.nodes[i];if(o.type==="decl"&&o.prop.toLowerCase()===r)return!0}return!1}const Qkt=/(rgb|hsl|hwb|lab|lch|oklch|oklab|color)\(\s*?from/i;function Vkt(t){let e=t.parent;for(;e;)if(e.type==="atrule"){if(e.name.toLowerCase()==="supports"&&Qkt.test(e.params))return!0;e=e.parent}else e=e.parent;return!1}const $kt=/(rgb|hsl|hwb|lab|lch|oklch|oklab|color)\(/i,HAe=/^(rgb|hsl|hwb|lab|lch|oklch|oklab|color)$/i,Hkt=/from/i,WH=t=>({postcssPlugin:"postcss-relative-color-syntax",Declaration:e=>{const r=e.value;if(!$kt.test(r)||!Hkt.test(r)||Ukt(e)||Vkt(e))return;const n=gv({css:r}),i=Wc(Ja(n),a=>{if(Un(a)&&HAe.test(a.getName())){const l=Uo(a);return!l||l.syntaxFlags.has(zt.HasNoneKeywords)||!l.syntaxFlags.has(zt.RelativeColorSyntax)?void 0:qf(l)}}),o=Hu(i);if(o===r)return;let s=o;t!=null&&t.subFeatures.displayP3&&(s=Hu(Wc(Ja(ah(n)),a=>{if(Un(a)&&HAe.test(a.getName())){const l=Uo(a);return!l||l.syntaxFlags.has(zt.HasNoneKeywords)||!l.syntaxFlags.has(zt.RelativeColorSyntax)?void 0:wx(l)?qf(l):b1(l)}}))),e.cloneBefore({value:o}),t!=null&&t.subFeatures.displayP3&&s!==o&&e.cloneBefore({value:s}),t!=null&&t.preserve||e.remove()}});WH.postcss=!0;const d7e=t=>{const e=Object.assign({enableProgressiveCustomProperties:!0,preserve:!1,subFeatures:{displayP3:!0}},t);return e.subFeatures=Object.assign({displayP3:!0},e.subFeatures),e.enableProgressiveCustomProperties&&(e.preserve||e.subFeatures.displayP3)?{postcssPlugin:"postcss-relative-color-syntax",plugins:[sd(),WH(e)]}:WH(e)};d7e.postcss=!0;const p7e=t=>{const e=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-scope-pseudo-class",prepare(){const r=new WeakSet;return{Rule(n,{result:i}){if(!n.selector.toLowerCase().includes(":scope")||r.has(n))return;{let s=n.parent;for(;s;){if(s.type==="atrule"&&s.name.toLowerCase()==="scope")return;s=s.parent}}let o=n.selector;try{const s=Vt().astSync(o);if(!s)return;s.walkPseudos(a=>{if(a.value.toLowerCase()===":has")return!1;a.value.toLowerCase()===":scope"&&(a.value=":root")}),o=s.toString()}catch(s){n.warn(i,`Failed to parse selector : "${n.selector}" with message: "${s.message}"`)}o!==n.selector&&(r.add(n),n.cloneBefore({selector:o}),e.preserve||n.remove())}}}}};p7e.postcss=!0;const zH=["mod(","rem(","round("];function Gkt(t){const e=Pp({css:t}),r=[];for(;!e.endOfFile();)r.push(e.nextToken());r.push(e.nextToken());const n=Ja(r,{});let i=!1;for(let o=0;o<n.length;o++){const s=n[o];for(let a=0;a<s.length;a++){const l=s[a];if(Un(l)&&zH.includes(l.getName().toLowerCase()+"(")){i=!0;break}(wh(l)||Un(l))&&l.walk((c,u)=>{if(typeof u!="number")return;const f=c.node;return Un(f)&&zH.includes(f.getName().toLowerCase()+"(")?(i=!0,!1):void 0})}}return i?vv(n,{precision:5,toCanonicalUnits:!0}).map(o=>o.map(s=>nn(...s.tokens())).join("")).join(","):t}const A7e=t=>{const e=Object.assign({preserve:!1,onInvalid:""},t);return{postcssPlugin:"postcss-stepped-value-functions",Declaration(r){if(!zH.some(i=>r.value.toLowerCase().includes(i)))return;const n=Gkt(r.value);n!==r.value&&(r.cloneBefore({value:n}),e.preserve||r.remove())}}};A7e.postcss=!0;/** * @license W3C https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document * * @copyright This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/blob/main/css-color-4/map-gamut.js. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang). */const Wkt={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]},h7e=t=>{const e=Object.assign({preserve:!0},t);return{postcssPlugin:"postcss-text-decoration-shorthand",prepare(){const r=new Map;return{OnceExit:()=>{r.clear()},Declaration:n=>{if(n.prop.toLowerCase()!=="text-decoration")return;const i=n.parent;if(!i)return;const o=i.index(n);if(i.nodes.some(f=>f.type==="decl"&&f.prop.toLowerCase()==="text-decoration"&&r.get(n.value)===f.value&&i.index(f)!==o))return;const s=cr(n.value),a=s.nodes.filter(f=>f.type!=="space"&&f.type!=="comment");if(a.find(f=>f.value.toLowerCase()==="var"&&f.type==="function")||a.find(f=>f.type==="word"&&Kkt.includes(f.value)))return;const l={line:[],style:null,color:null,thickness:null};for(let f=0;f<a.length;f++){const d=a[f];if(l.line.length||d.type!=="word"||!GAe.includes(d.value.toLowerCase()))if(l.line.length||d.type!=="word"||d.value.toLowerCase()!=="none")if(l.style||d.type!=="word"||!qkt.includes(d.value.toLowerCase()))if(l.thickness||d.type!=="word"||!Xkt.includes(d.value.toLowerCase()))if(l.thickness||d.type!=="function"||d.value.toLowerCase()!=="calc")if(l.color||!zkt(d)){if(d.type!=="word")return;{let p;try{p=cr.unit(d.value)}catch{return}if(!p||!p.unit)return;l.thickness=d,p.unit==="%"&&(l.thickness={before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"function",value:"calc",nodes:[{before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"word",value:"0.01em"},{before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"space",value:" "},{before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"word",value:"*"},{before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"space",value:" "},{before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"word",value:p.number}]})}}else l.color=d;else l.thickness=d;else l.thickness=d;else l.style=d;else l.line.push(d);else{const p=d;let h=d;for(;;){const A=a[f+1];if(!A||A.type!=="word"||!GAe.includes(A.value.toLowerCase()))break;h=A,f++}l.line=s.nodes.slice(s.nodes.indexOf(p),s.nodes.indexOf(h)+1)}}l.line.length||l.line.push({before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"word",value:"none"}),l.style||(l.style={before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"word",value:"solid"}),l.color||(l.color={before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"word",value:"currentColor"});const c=cr.stringify(l.line);if(n.value.toLowerCase()===c.toLowerCase()){const f=n.next();return void(f&&f.type==="decl"&&f.prop.toLowerCase()==="text-decoration"||n.cloneBefore({prop:"-webkit-text-decoration",value:c}))}n.cloneBefore({prop:"text-decoration",value:c});const u=cr.stringify([...l.line,{before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"space",value:" "},l.style,{before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"space",value:" "},l.color]);l.thickness&&n.cloneBefore({prop:"text-decoration",value:u}),l.thickness&&n.cloneBefore({prop:"text-decoration-thickness",value:cr.stringify([l.thickness])}),r.set(n.value,c),r.set(u,c),e.preserve||n.remove()}}}}};function zkt(t){return!(t.type!=="word"||!t.value.startsWith("#"))||!(t.type!=="word"||!Jkt.includes(t.value.toLowerCase()))||!(t.type!=="function"||!Ykt.includes(t.value.toLowerCase()))}h7e.postcss=!0;const Kkt=["unset","inherit","initial","revert","revert-layer"],GAe=["underline","overline","line-through","blink","spelling-error","grammar-error"],qkt=["solid","double","dotted","dashed","wavy"],Xkt=["auto","from-font"],Ykt=["color","color-mix","hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Jkt=["currentcolor","transparent",...Object.keys(Wkt)],KH=["asin(","acos(","atan(","atan2(","sin(","cos(","tan("];function Zkt(t){const e=Pp({css:t}),r=[];for(;!e.endOfFile();)r.push(e.nextToken());r.push(e.nextToken());const n=Ja(r,{});let i=!1;for(let o=0;o<n.length;o++){const s=n[o];for(let a=0;a<s.length;a++){const l=s[a];if(Un(l)&&KH.includes(l.getName().toLowerCase()+"(")){i=!0;break}(wh(l)||Un(l))&&l.walk((c,u)=>{if(typeof u!="number")return;const f=c.node;return Un(f)&&KH.includes(f.getName().toLowerCase()+"(")?(i=!0,!1):void 0})}}return i?vv(n,{precision:5,toCanonicalUnits:!0}).map(o=>o.map(s=>nn(...s.tokens())).join("")).join(","):t}const m7e=t=>{const e=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-trigonometric-functions",Declaration(r){if(!KH.some(i=>r.value.toLowerCase().includes(i)))return;const n=Zkt(r.value);n!==r.value&&(r.cloneBefore({value:n}),e.preserve||r.remove())}}};m7e.postcss=!0;const e9t=new Set(["block-ellipsis","border-boundary","border-collapse","border-spacing","box-snap","caption-side","caret","caret-shape","clip-rule","color","color-interpolation","color-interpolation-filters","cursor","direction","dominant-baseline","empty-cells","fill","fill-color","fill-image","fill-opacity","fill-position","fill-repeat","fill-rule","fill-size","font","font-family","font-feature-settings","font-kerning","font-language-override","font-palette","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-emoji","font-variant-ligatures","font-weight","forced-color-adjust","hyphenate-character","hyphenate-limit-chars","hyphenate-limit-last","hyphenate-limit-lines","hyphenate-limit-zone","hyphens","image-orientation","image-rendering","image-resolution","initial-letter-wrap","letter-spacing","line-break","line-height","line-padding","line-snap","list-style","list-style-image","list-style-position","list-style-type","marker","marker-end","marker-mid","marker-side","marker-start","orphans","overflow-wrap","paint-order","pointer-events","print-color-adjust","quotes","ruby-merge","ruby-overhang","ruby-position","shape-rendering","speak","speak-as","stroke","stroke-align","stroke-alignment","stroke-color","stroke-dash-corner","stroke-dash-justify","stroke-dashadjust","stroke-dasharray","stroke-dashcorner","stroke-dashoffset","stroke-image","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-position","stroke-repeat","stroke-size","stroke-width","tab-size","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration-skip","text-decoration-skip-box","text-decoration-skip-inset","text-decoration-skip-self","text-decoration-skip-spaces","text-edge","text-emphasis-color","text-emphasis-position","text-emphasis-skip","text-emphasis-style","text-indent","text-justify","text-orientation","text-rendering","text-shadow","text-size-adjust","text-space-collapse","text-spacing","text-transform","text-underline-position","text-wrap","visibility","voice-balance","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","word-boundary-detection","word-boundary-expansion","word-break","word-spacing","word-wrap","writing-mode"]),t9t=new Set(["align-content","align-items","align-self","alignment-baseline","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timeline","animation-timing-function","appearance","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-block","background-position-inline","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","baseline-source","block-step","block-step-align","block-step-insert","block-step-round","block-step-size","bookmark-label","bookmark-level","bookmark-state","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-clip","border-clip-bottom","border-clip-left","border-clip-right","border-clip-top","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-limit","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","clear","clip","clip-path","color-adjust","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-width","container","container-name","container-type","content","continue","copy-into","corner-shape","corners","counter-increment","counter-reset","cue","cue-after","cue-before","cx","cy","d","display","fill-break","fill-origin","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-defer","float-offset","float-reference","flood-color","flood-opacity","flow-from","flow-into","footnote-display","footnote-policy","gap","glyph-orientation-vertical","grid-auto-columns","grid-auto-rows","grid-column-gap","grid-gap","grid-row-gap","grid-template-columns","grid-template-rows","height","initial-letter","inline-sizing","input-security","isolation","justify-content","justify-items","justify-self","leading-trim","left","lighting-color","line-clamp","line-grid","margin","margin-bottom","margin-break","margin-left","margin-right","margin-top","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-image","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-height","max-lines","max-width","min-height","min-intrinsic-sizing","min-width","mix-blend-mode","nav-down","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","place-content","position","r","region-fragment","resize","rest","rest-after","rest-before","right","row-gap","rx","ry","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","shape-padding","shape-subtract","spatial-navigation-action","spatial-navigation-contain","spatial-navigation-function","stop-color","stop-opacity","string-set","stroke-break","stroke-origin","table-layout","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-group-align","text-overflow","text-space-trim","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vector-effect","vertical-align","voice-duration","width","will-change","wrap-after","wrap-before","wrap-flow","wrap-inside","wrap-through","x","y","z-index"]),g7e=t=>{const e=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-unset-value",Declaration(r){if(r.value.toLowerCase()!=="unset")return;let n=!1;e9t.has(r.prop.toLowerCase())?n="inherit":t9t.has(r.prop.toLowerCase())&&(n="initial"),n&&(r.cloneBefore({prop:r.prop,value:n}),e.preserve||r.remove())}}};g7e.postcss=!0;const WAe={"blank-pseudo-class":"https://github.com/csstools/postcss-plugins/blob/main/plugins/css-blank-pseudo/README.md#browser","focus-visible-pseudo-class":"https://github.com/WICG/focus-visible","focus-within-pseudo-class":"https://github.com/csstools/postcss-plugins/blob/main/plugins/postcss-focus-within/README.md#browser","has-pseudo-class":"https://github.com/csstools/postcss-plugins/blob/main/plugins/css-has-pseudo/README.md#browser","prefers-color-scheme-query":"https://github.com/csstools/postcss-plugins/blob/main/plugins/css-prefers-color-scheme/README.md#browser"},r9t=["blank-pseudo-class","focus-visible-pseudo-class","focus-within-pseudo-class","has-pseudo-class","prefers-color-scheme-query"];function n9t(t,e,r){if(e.debug){r.log("Enabling the following feature(s):");const n=[],i=[];e.autoprefixer!==!1&&i.push(" autoprefixer"),t.forEach(o=>{o.id.startsWith("before")||o.id.startsWith("after")?i.push(` ${o.id} (injected via options)`):i.push(` ${o.id}`),WAe[o.id]!==void 0&&n.push(o.id)}),i.sort((o,s)=>o.localeCompare(s)),n.sort((o,s)=>o.localeCompare(s)),i.forEach(o=>r.log(o)),n.length&&(r.log("These feature(s) need a browser library to work:"),n.forEach(o=>r.log(` ${o}: ${WAe[o]}`)))}}function i9t(t){if("preserve"in t){const e={};return e.preserve=t.preserve,e}return!1}function J9(t,e,r){return Math.max(t,Math.min(e,r))}const o9t=2,bD=5;function s9t(t,e){let r=o9t;if(t.stage===void 0)return e.log(`Using features from Stage ${r} (default)`),r;if(t.stage===!1)r=bD;else{let n=parseInt(t.stage,10);Number.isNaN(n)&&(n=0),r=J9(0,n,bD)}return r===bD?e.log('Stage has been disabled, features will be handled via the "features" option.'):e.log(`Using features from Stage ${r}`),r}const I0=Symbol("insertBefore"),N0=Symbol("insertAfter"),qH=Symbol("insertOrder"),v7e=Symbol("plugin");function zAe(t,e,r){if(r!=="insertBefore"&&r!=="insertAfter")return[];const n=r==="insertBefore"?I0:N0,i=[];for(const o in e){if(!Object.hasOwnProperty.call(e,o)||!t.find(a=>a.id===o))continue;let s=e[o];Array.isArray(s)||(s=[s]);for(let a=0;a<s.length;a++)i.push({id:o,[v7e]:s[a],[qH]:a,[n]:!0})}return i}var KAe=["custom-media-queries","environment-variables","image-set-function","media-query-ranges","media-queries-aspect-ratio-number-values","prefers-color-scheme-query","nesting-rules","custom-selectors","any-link-pseudo-class","case-insensitive-attributes","focus-visible-pseudo-class","focus-within-pseudo-class","not-pseudo-class","logical-properties-and-values","float-clear-logical-values","logical-resize","logical-viewport-units","dir-pseudo-class","all-property","gradients-interpolation-method","color-mix","relative-color-syntax","lab-function","oklab-function","color-function","hwb-function","color-functional-notation","rebeccapurple-color","hexadecimal-alpha-notation","double-position-gradients","blank-pseudo-class","break-properties","font-variant-property","is-pseudo-class","scope-pseudo-class","has-pseudo-class","gap-properties","overflow-property","overflow-wrap-property","place-properties","system-ui-font-family","font-format-keywords","display-two-values","ic-unit","opacity-percentage","text-decoration-shorthand","unset-value","stepped-value-functions","trigonometric-functions","clamp","nested-calc","custom-properties","cascade-layers"];function a9t(t,e){return t.id===e.id?t[I0]&&e[I0]||t[N0]&&e[N0]?J9(-1,t[qH]-e[qH],1):t[I0]||e[N0]?-1:t[N0]||e[I0]?1:0:J9(-1,KAe.indexOf(t.id)-KAe.indexOf(e.id),1)}function y7e(){return{postcssPlugin:"postcss-system-ui-font",Declaration(t){l9t.test(t.prop)&&(t.value.includes(RZ.join(", "))||(t.value=t.value.replace(c9t,u9t)))}}}y7e.postcss=!0;const l9t=/(?:^(?:-|\\002d){2})|(?:^font(?:-family)?$)/i,A8="[\\f\\n\\r\\x09\\x20]",RZ=["system-ui","-apple-system","Segoe UI","Roboto","Ubuntu","Cantarell","Noto Sans","sans-serif"],c9t=new RegExp(`(^|,|${A8}+)(?:system-ui${A8}*)(?:,${A8}*(?:${RZ.join("|")})${A8}*)?(,|$)`,"i"),u9t=`$1${RZ.join(", ")}$2`,B7e=new Map([["all-property",d4t],["any-link-pseudo-class",CEe],["blank-pseudo-class",bEe],["break-properties",dxt],["cascade-layers",EEe],["case-insensitive-attributes",OEe],["clamp",Dxt],["color-function",iDe],["color-functional-notation",lDe],["color-mix",cDe],["custom-media-queries",CDe],["custom-properties",ODe],["custom-selectors",PDe],["dir-pseudo-class",IDe],["display-two-values",NDe],["double-position-gradients",TDe],["float-clear-logical-values",LDe],["focus-visible-pseudo-class",RDe],["focus-within-pseudo-class",MDe],["font-format-keywords",_De],["font-variant-property",a7t],["gap-properties",jDe],["gradients-interpolation-method",QDe],["has-pseudo-class",VDe],["hexadecimal-alpha-notation",$De],["hwb-function",HDe],["ic-unit",GDe],["image-set-function",WDe],["is-pseudo-class",KDe],["lab-function",qDe],["logical-properties-and-values",XDe],["logical-resize",YDe],["logical-viewport-units",JDe],["media-queries-aspect-ratio-number-values",ZDe],["media-query-ranges",e7e],["nested-calc",t7e],["nesting-rules",i7e],["not-pseudo-class",o7e],["oklab-function",s7e],["opacity-percentage",Nkt],["overflow-property",a7e],["overflow-wrap-property",Tkt],["place-properties",c7e],["prefers-color-scheme-query",u7e],["rebeccapurple-color",f7e],["relative-color-syntax",d7e],["scope-pseudo-class",p7e],["stepped-value-functions",A7e],["system-ui-font-family",y7e],["text-decoration-shorthand",h7e],["trigonometric-functions",m7e],["unset-value",g7e]]);function f9t(t){return!!t[I0]||!!t[N0]||!!B7e.has(t.id)}function d9t(t,e,r){return t.concat(zAe(t,e,"insertBefore"),zAe(t,r,"insertAfter")).filter(n=>f9t(n)).sort((n,i)=>a9t(n,i))}const p9t=["and_chr","and_ff","and_qq","and_uc","android","baidu","chrome","edge","firefox","ie","ie_mob","ios_saf","kaios","op_mini","op_mob","opera","safari","samsung"];function C7e(t){if(!t)return[];if(!("browser_support"in t))return["> 0%"];const e=[];return p9t.forEach(r=>{if(r==="op_mini"&&t.browser_support[r]===void 0)return void e.push("op_mini all");const n=t.browser_support[r];typeof n=="string"&&/^[0-9|.]+$/.test(n)?e.push(`${r} < ${t.browser_support[r]}`):e.push(`${r} >= 1`)}),e}function A9t(t,e,r,n,i){const o=T9(t,{ignoreUnknownVersions:!0});switch(e.id){case"is-pseudo-class":return{onComplexSelector:"warning"};case"nesting-rules":return h9t(r.find(s=>s.id==="is-pseudo-class"),o)?(i.log('Disabling :is on "nesting-rules" due to lack of browser support.'),{noIsPseudoSelector:!0}):{};case"any-link-pseudo-class":return o.find(s=>s.startsWith("ie ")||s.startsWith("edge "))?(i.log('Adding area[href] fallbacks for ":any-link" support in Edge and IE.'),{subFeatures:{areaHrefNeedsFixing:!0}}):{};case"logical-properties-and-values":case"float-clear-logical-values":case"logical-resize":case"logical-viewport-units":return"logical"in n?n.logical:{};default:return{}}}function h9t(t,e){const r=C7e(t);return!!e.some(n=>T9(r,{ignoreUnknownVersions:!0}).some(i=>i===n))}function m9t(t){const e=C7e(t);if(t[I0]||t[N0]){let r=t.id;return r=t.insertBefore?`before-${r}`:`after-${r}`,{browsers:e,vendors_implementations:t.vendors_implementations,plugin:t[v7e],id:r,stage:bD+1}}return{browsers:e,vendors_implementations:t.vendors_implementations,plugin:B7e.get(t.id),id:t.id,stage:t.stage}}function g9t(t,e,r,n,i,o,s){let a,l;return a=A9t(e,n,t,o,s),r[n.id]===!0?i&&(a=Object.assign({},a,i)):a=i?Object.assign({},a,i,r[n.id]):Object.assign({},a,r[n.id]),a.enableProgressiveCustomProperties=!1,n.id==="all-property"&&"preserve"in a&&(a.replace=a.preserve),n.id==="overflow-wrap-property"&&"preserve"in a&&(a.method=a.preserve?"copy":"replace"),l=n.plugin.postcss&&typeof n.plugin=="function"?n.plugin(a):n.plugin&&n.plugin.default&&typeof n.plugin.default=="function"&&n.plugin.default.postcss?n.plugin.default(a):n.plugin,{browsers:n.browsers,vendors_implementations:n.vendors_implementations,plugin:l,pluginOptions:a,id:n.id}}function v9t(t){const e=parseInt(t,10);return Number.isNaN(e)?0:e}function y9t(t,e,r,n){const i=Object(e.features),o="enableClientSidePolyfills"in e&&e.enableClientSidePolyfills,s=Object(e.insertBefore),a=Object(e.insertAfter),l=e.browsers,c=J9(0,v9t(e.minimumVendorImplementations),3);c>0&&n.log(`Using features with ${c} or more vendor implementations`);const u=s9t(e,n),f=d9t(t,s,a).map(p=>m9t(p)).filter(p=>c===0||!(!p[I0]&&!p[N0])||c<=p.vendors_implementations||(i[p.id]?(n.log(` ${p.id} does not meet the required vendor implementations but has been enabled by options`),!0):(n.log(` ${p.id} with ${p.vendors_implementations} vendor implementations has been disabled`),!1))).filter(p=>{const h=p.stage>=u,A=o||!r9t.includes(p.id),g=i[p.id]===!1,m=i[p.id]?i[p.id]:h&&A;return g?n.log(` ${p.id} has been disabled by options`):h?A||n.log(` ${p.id} has been disabled by "enableClientSidePolyfills: false".`):m?n.log(` ${p.id} does not meet the required stage but has been enabled by options`):n.log(` ${p.id} with stage ${p.stage} has been disabled`),m}).map(p=>g9t(t,l,i,p,r,e,n)),d=T9(l,{ignoreUnknownVersions:!0});return f.filter(p=>{if(p.id in i)return i[p.id];const h=T9(p.browsers,{ignoreUnknownVersions:!0}),A=d.some(g=>h.some(m=>m===g));return A||n.log(`${p.id} disabled due to browser support`),A})}let B9t=class{constructor(){this.logs=[]}log(e){this.logs.push(e)}resetLogger(){this.logs.length=0}dumpLogs(e){e&&e.warn(this.logs.join(` `)),this.resetLogger()}};var XH=[{packageName:"css-blank-pseudo",id:"blank-pseudo-class",importName:"postcssBlankPseudo"},{packageName:"css-has-pseudo",id:"has-pseudo-class",importName:"postcssHasPseudo"},{packageName:"css-prefers-color-scheme",id:"prefers-color-scheme-query",importName:"postcssPrefersColorScheme"},{packageName:"postcss-attribute-case-insensitive",id:"case-insensitive-attributes",importName:"postcssAttributeCaseInsensitive"},{packageName:"postcss-clamp",id:"clamp",importName:"postcssClamp"},{packageName:"@csstools/postcss-color-mix-function",id:"color-mix",importName:"postcssColorMixFunction"},{packageName:"@csstools/postcss-color-function",id:"color-function",importName:"postcssColorFunction"},{packageName:"postcss-color-functional-notation",id:"color-functional-notation",importName:"postcssColorFunctionalNotation"},{packageName:"postcss-color-hex-alpha",id:"hexadecimal-alpha-notation",importName:"postcssColorHexAlpha"},{packageName:"postcss-color-rebeccapurple",id:"rebeccapurple-color",importName:"postcssColorRebeccapurple"},{packageName:"postcss-custom-media",id:"custom-media-queries",importName:"postcssCustomMedia"},{packageName:"postcss-custom-properties",id:"custom-properties",importName:"postcssCustomProperties"},{packageName:"postcss-custom-selectors",id:"custom-selectors",importName:"postcssCustomSelectors"},{packageName:"postcss-dir-pseudo-class",id:"dir-pseudo-class",importName:"postcssDirPseudoClass"},{packageName:"postcss-double-position-gradients",id:"double-position-gradients",importName:"postcssDoublePositionGradients"},{packageName:"postcss-focus-visible",id:"focus-visible-pseudo-class",importName:"postcssFocusVisible"},{packageName:"postcss-focus-within",id:"focus-within-pseudo-class",importName:"postcssFocusWithin"},{packageName:"@csstools/postcss-font-format-keywords",id:"font-format-keywords",importName:"postcssFontFormatKeywords"},{packageName:"postcss-font-variant",id:"font-variant-property",importName:"postcssFontVariant"},{packageName:"postcss-gap-properties",id:"gap-properties",importName:"postcssGapProperties"},{packageName:"@csstools/postcss-gradients-interpolation-method",id:"gradients-interpolation-method",importName:"postcssGradientsInterpolationMethod"},{packageName:"@csstools/postcss-hwb-function",id:"hwb-function",importName:"postcssHWBFunction"},{packageName:"@csstools/postcss-ic-unit",id:"ic-unit",importName:"postcssICUnit"},{packageName:"postcss-image-set-function",id:"image-set-function",importName:"postcssImageSetFunction"},{packageName:"postcss-initial",id:"all-property",importName:"postcssInitial"},{packageName:"@csstools/postcss-is-pseudo-class",id:"is-pseudo-class",importName:"postcssIsPseudoClass"},{packageName:"@csstools/postcss-scope-pseudo-class",id:"scope-pseudo-class",importName:"postcssScopePseudoClass"},{packageName:"postcss-lab-function",id:"lab-function",importName:"postcssLabFunction"},{packageName:"postcss-logical",id:"logical-properties-and-values",importName:"postcssLogical"},{packageName:"@csstools/postcss-logical-float-and-clear",id:"float-clear-logical-values",importName:"postcssLogicalFloatAndClear"},{packageName:"@csstools/postcss-logical-resize",id:"logical-resize",importName:"postcssLogicalResize"},{packageName:"@csstools/postcss-logical-viewport-units",id:"logical-viewport-units",importName:"postcssLogicalViewportUnits"},{packageName:"@csstools/postcss-media-minmax",id:"media-query-ranges",importName:"postcssMediaMinmax"},{packageName:"@csstools/postcss-media-queries-aspect-ratio-number-values",id:"media-queries-aspect-ratio-number-values",importName:"postcssMediaQueriesAspectRatioNumberValues"},{packageName:"postcss-nesting",id:"nesting-rules",importName:"postcssNesting"},{packageName:"@csstools/postcss-normalize-display-values",id:"display-two-values",importName:"postcssNormalizeDisplayValues"},{packageName:"@csstools/postcss-oklab-function",id:"oklab-function",importName:"postcssOKLabFunction"},{packageName:"@csstools/postcss-relative-color-syntax",id:"relative-color-syntax",importName:"postcssRelativeColorSyntax"},{packageName:"postcss-opacity-percentage",id:"opacity-percentage",importName:"postcssOpacityPercentage"},{packageName:"postcss-overflow-shorthand",id:"overflow-property",importName:"postcssOverflowShorthand"},{packageName:"postcss-page-break",id:"break-properties",importName:"postcssPageBreak"},{packageName:"postcss-place",id:"place-properties",importName:"postcssPlace"},{packageName:"postcss-pseudo-class-any-link",id:"any-link-pseudo-class",importName:"postcssPseudoClassAnyLink"},{packageName:"postcss-replace-overflow-wrap",id:"overflow-wrap-property",importName:"postcssReplaceOverflowWrap"},{packageName:"postcss-selector-not",id:"not-pseudo-class",importName:"postcssSelectorNot"},{packageName:"@csstools/postcss-stepped-value-functions",id:"stepped-value-functions",importName:"postcssSteppedValueFunctions"},{packageName:"postcss-system-ui-font-family",importedPackage:"../patch/postcss-system-ui-font-family.mjs",id:"system-ui-font-family",importName:"postcssFontFamilySystemUI"},{packageName:"@csstools/postcss-unset-value",id:"unset-value",importName:"postcssUnsetValue"},{packageName:"@csstools/postcss-cascade-layers",id:"cascade-layers",importName:"postcssCascadeLayers"},{packageName:"@csstools/postcss-trigonometric-functions",id:"trigonometric-functions",importName:"postcssTrigonometricFunctions"},{packageName:"@csstools/postcss-nested-calc",id:"nested-calc",importName:"postcssNestedCalc"},{packageName:"@csstools/postcss-text-decoration-shorthand",id:"text-decoration-shorthand",importName:"postcssTextDecorationShorthand"}];function C9t(){const t={};return XH.forEach(e=>{t[e.packageName]=e.id}),t}function b9t(t,e,r){const n=XH.map(s=>s.id),i=XH.map(s=>s.packageName),o=C9t();t.forEach(s=>{if(n.includes(s))return;const a=qAe(s,n),l=qAe(s,i);Math.min(a.distance,l.distance)>10?e.warn(r,`Unknown feature: "${s}", see the list of features https://github.com/csstools/postcss-plugins/blob/main/plugin-packs/postcss-preset-env/FEATURES.md`):a.distance<l.distance?e.warn(r,`Unknown feature: "${s}", did you mean: "${a.mostSimilar}"`):e.warn(r,`Unknown feature: "${s}", did you mean: "${o[l.mostSimilar]}"`)})}function qAe(t,e){let r="unknown",n=1/0;for(let i=0;i<e.length;i++){const o=w9t(t,e[i]);o<n&&(n=o,r=e[i])}return{mostSimilar:r,distance:n}}function w9t(t,e){if(!t.length)return e.length;if(!e.length)return t.length;const r=[];for(let n=0;n<=e.length;n++){r[n]=[n];for(let i=1;i<=t.length;i++)r[n][i]=n===0?i:Math.min(r[n-1][i]+1,r[n][i-1]+1,r[n-1][i-1]+(t[i-1]===e[n-1]?0:1))}return r[e.length][t.length]}const b7e=t=>{const e=new B9t,r=Object(t),n=Object.keys(Object(r.features)),i=r.browsers,o=i9t(r),s=y9t(H5t,r,o,e),a=s.map(c=>c.plugin);r.autoprefixer!==!1&&a.push($5t(Object.assign({overrideBrowserslist:i},r.autoprefixer))),a.push(sd()),n9t(s,r,e);const l=()=>({postcssPlugin:"postcss-preset-env",OnceExit:function(c,{result:u}){b9t(n,c,u),r.debug&&e.dumpLogs(u),e.resetLogger()}});return l.postcss=!0,{postcssPlugin:"postcss-preset-env",plugins:[...a,l()]}};b7e.postcss=!0;var w7e={exports:{}},cs=w7e.exports={},_d,jd;function YH(){throw new Error("setTimeout has not been defined")}function JH(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_d=setTimeout:_d=YH}catch{_d=YH}try{typeof clearTimeout=="function"?jd=clearTimeout:jd=JH}catch{jd=JH}})();function x7e(t){if(_d===setTimeout)return setTimeout(t,0);if((_d===YH||!_d)&&setTimeout)return _d=setTimeout,setTimeout(t,0);try{return _d(t,0)}catch{try{return _d.call(null,t,0)}catch{return _d.call(this,t,0)}}}function x9t(t){if(jd===clearTimeout)return clearTimeout(t);if((jd===JH||!jd)&&clearTimeout)return jd=clearTimeout,clearTimeout(t);try{return jd(t)}catch{try{return jd.call(null,t)}catch{return jd.call(this,t)}}}var RA=[],_2=!1,n1,wD=-1;function S9t(){!_2||!n1||(_2=!1,n1.length?RA=n1.concat(RA):wD=-1,RA.length&&S7e())}function S7e(){if(!_2){var t=x7e(S9t);_2=!0;for(var e=RA.length;e;){for(n1=RA,RA=[];++wD<e;)n1&&n1[wD].run();wD=-1,e=RA.length}n1=null,_2=!1,x9t(t)}}cs.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];RA.push(new E7e(t,e)),RA.length===1&&!_2&&x7e(S7e)};function E7e(t,e){this.fun=t,this.array=e}E7e.prototype.run=function(){this.fun.apply(null,this.array)};cs.title="browser";cs.browser=!0;cs.env={};cs.argv=[];cs.version="";cs.versions={};function xh(){}cs.on=xh;cs.addListener=xh;cs.once=xh;cs.off=xh;cs.removeListener=xh;cs.removeAllListeners=xh;cs.emit=xh;cs.prependListener=xh;cs.prependOnceListener=xh;cs.listeners=function(t){return[]};cs.binding=function(t){throw new Error("process.binding is not supported")};cs.cwd=function(){return"/"};cs.chdir=function(t){throw new Error("process.chdir is not supported")};cs.umask=function(){return 0};var E9t=w7e.exports;const D9t=Io(E9t),k9t=Vt(t=>{const e=[];t.walk(n=>{n.type==="pseudo"&&n.toString()===":hover"&&n?.parent?.value!==":not"&&n?.parent?.toString()!==":hover"&&n?.parent&&e.push(n?.parent.toString())});const r=t.reduce((n,i)=>e.includes(i.toString())?[...n]:[...n,i.toString()],[]);return{hoverSelectors:e,nonHoverSelectors:r}}),O9t=({fallback:t=!1,fallbackSelector:e="html:not(.supports-touch)",rootSelectors:r=[]}={})=>{function n(o,{AtRule:s}){const a=new s({name:"media",params:"(hover: hover)"});return a.source=o.source,a.append(o),a}function i(o){let s=o.parent;for(;s!==null&&s.type!=="root";){if(s.type==="atrule"&&s.params.includes("hover: hover"))return!0;s=s.parent}return!1}return{postcssPlugin:"postcss-hover-media-feature",Rule(o,{AtRule:s}){if(!o.selector.includes(":hover")||i(o)||o.selector.includes(e))return;let{hoverSelectors:a=[],nonHoverSelectors:l=[]}=k9t.transformSync(o.selector,{lossless:!1});if(a.length===0)return;const c=n(o.clone({selectors:a}),{AtRule:s});if(o.after(c),t&&o.before(o.clone({selectors:a.map(u=>r.some(f=>u.startsWith(f))?`${e}${u}`:`${e} ${u}`)})),l.length>0){o.replaceWith(o.clone({selectors:l}));return}o.remove()}}},P9t=async(t,e)=>{window?.process||(window.process=D9t);const{css:r}=await eo([b7e({browsers:["> 2% and not dead"],features:{clamp:!1}}),...e.postcssEasingGradients?[Tgt()]:[],...e.postcssHoverMedia?[O9t()]:[]]).process(t,{from:void 0});return r},I9t={fluid:"fluidValue",color:"colorValue",text:"value"};function XAe(t){return t.filter(e=>{const r=e.property.length>0,n=I9t[e?.type||"text"],i=(e[n]||"").length>0;return[r,i].every(Boolean)})}function N9t(t){return t.filter(e=>{const r=e.selector.startsWith("/*"),n=Object.keys(XAe(e.declarations)).length>0||r,i="isDisabled"in e&&e.isDisabled;return[e.selector,n,!i].every(Boolean)}).map(e=>({...e,declarations:XAe(e.declarations)}))}const Fc=` `,Du=" ";function F9t(t){if(t.length<1)return t;const e=[];for(const{property:r,value:n,type:i,colorValue:o,fluidValue:s}of t)e.every(l=>l.property!==r||l.value!==n)&&e.push({property:r,value:n,...i?{type:i}:{},...o?{colorValue:o}:{},...s?{fluidValue:s}:{}});return e}const D7e=["ease","linear","ease-in","ease-out","ease-in-out","step-start","step-end"],Qy=["0s","0.1s","0.2s","0.3s","0.4s","0.5s","0.6s","0.7s","0.8s","0.9s","1s"],T9t=["linear-gradient","repeating-linear-gradient","radial-gradient","repeating-radial-gradient"],YAe=["auto","none","dotted","dashed","solid","double","groove","ridge","inset","outset"],Sg={border:YAe,outline:YAe,background:["repeat","repeat-x","repeat-y","no-repeat","fixed","scroll","local","border-box","padding-box","content-box",...T9t],"list-style-type":["disc","armenian","circle","cjk-ideographic","decimal","decimal-leading-zero","georgian","hebrew","hiragana","hiragana-iroha","katakana","katakana-iroha","lower-alpha","lower-greek","lower-latin","lower-roman","none","square","upper-alpha","upper-greek","upper-latin","upper-roman","initial","inherit"],"list-style-position":["inside","outside","initial","inherit"],"list-style-image":["none","url","initial","inherit"],transition:["none","all","property","initial","inherit",...Qy,...D7e]},W1={padding:{initial:"0",values:["[length]","[percent]","initial","inherit"]},margin:{initial:"0",values:["[length]","[percent]","auto","initial","inherit"]},background:{initial:"see individual properties",values:["[prop:background-color]","[prop:background-image]","[prop:background-position]","[prop:background-size]","[prop:background-repeat]","[prop:background-origin]","[prop:background-clip]","[prop:background-attachment]","initial","inherit",...Sg.background]},color:{initial:"not specified",values:["[color]","initial","inherit"]},font:{initial:"The default value of the font properties",values:["[prop:font-style]","[prop:font-variant]","[prop:font-weight]","[prop:font-size/line-height]","[prop:font-family]","caption","icon","menu","message-box","small-caption","status-bar","initial","inherit"]},"font-size":{initial:"medium",values:["medium","xx-small","x-small","small","large","x-large","xx-large","smaller","larger","[length]","[percent]","initial","inherit"]},"border-bottom":{initial:"medium none color",values:["[prop:border-bottom-width]","[prop:border-bottom-style]","[prop:border-bottom-color]","initial","inherit"]},"align-content":{initial:"stretch",values:["stretch","center","flex-start","flex-end","space-between","space-around","initial","inherit"]},"align-items":{initial:"stretch",values:["stretch","center","flex-start","flex-end","baseline","initial","inherit"]},"align-self":{initial:"auto",values:["auto","stretch","center","flex-start","flex-end","baseline","initial","inherit"]},all:{initial:"none",values:["initial","inherit","unset"]},animation:{initial:"none 0 ease 0 1 normal none running",values:["[prop:animation-name]","[prop:animation-duration]","[prop:animation-timing-function]","[prop:animation-delay]","[prop:animation-iteration-count]","[prop:animation-direction]","[prop:animation-fill-mode]","[prop:animation-play-state]","initial","inherit",...D7e,...Qy]},"animation-delay":{initial:"0s",values:["[time]","initial","inherit",...Qy]},"animation-direction":{initial:"normal",values:["normal","reverse","alternate","alternate-reverse","initial","inherit"]},"animation-duration":{initial:"0",values:["[time]","initial","inherit",...Qy]},"animation-fill-mode":{initial:"none",values:["none","forwards","backwards","both","initial","inherit"]},"animation-iteration-count":{initial:"1",values:["[number]","infinite","initial","inherit"]},"animation-name":{initial:"none",values:["[label]","none","initial","inherit"]},"animation-play-state":{initial:"running",values:["paused","running","initial","inherit"]},"animation-timing-function":{initial:"ease",values:["linear","ease","ease-in","ease-out","ease-in-out","step-start","step-end","[steps]","cubic-bezier","initial","inherit"]},"backface-visibility":{initial:"visible",values:["visible","hidden","initial","inherit"]},"background-attachment":{initial:"scroll",values:["scroll","fixed","local","initial","inherit"]},"background-blend-mode":{initial:"normal",values:["normal","multiply","screen","overlay","darken","lighten","color-dodge","saturation","[color]","luminosity"]},"background-clip":{initial:"border-box",values:["border-box","padding-box","content-box","initial","inherit"]},"background-color":{initial:"transparent",values:["[color]","transparent","initial","inherit"]},"background-image":{initial:"none",values:["none","initial","inherit"]},"background-origin":{initial:"padding-box",values:["padding-box","border-box","content-box","initial","inherit"]},"background-position":{initial:"0% 0%",values:["left top","left center","left bottom","right top","right center","right bottom","center top","center center","center bottom","([percent]){2,2}","([length]){2,2}","initial","inherit"]},"background-repeat":{initial:"repeat",values:["repeat","repeat-x","repeat-y","no-repeat","space","round","initial","inherit"]},"background-size":{initial:"auto",values:["auto","[length]","percentage","cover","contain","initial","inherit"]},border:{initial:"medium none color",values:["[prop:border-width]","[prop:border-style]","[prop:border-color]","initial","inherit",...Sg.border]},"border-bottom-color":{initial:"The current color of the element",values:["[color]","transparent","initial","inherit"]},"border-bottom-left-radius":{initial:"0",values:["[length]","[percent]","initial","inherit"]},"border-bottom-right-radius":{initial:"0",values:["[length]","[percent]","initial","inherit"]},"border-bottom-style":{initial:"none",values:["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset","initial","inherit"]},"border-bottom-width":{initial:"medium",values:["medium","thin","thick","[length]","initial","inherit"]},"border-collapse":{initial:"separate",values:["separate","collapse","initial","inherit"]},"border-color":{initial:"The current color of the element",values:["[color]","transparent","initial","inherit"]},"border-image":{initial:"none 100% 1 0 stretch",values:["[prop:border-image-source]","[prop:border-image-slice]","[prop:border-image-width]","[prop:border-image-outset]","[prop:border-image-repeat]","initial","inherit"]},"border-image-outset":{initial:"0",values:["[length]","[number]","initial","inherit"]},"border-image-repeat":{initial:"stretch",values:["stretch","repeat","round","space","initial","inherit"]},"border-image-slice":{initial:"100%",values:["[number]","[percent]","fill","initial","inherit"]},"border-image-source":{initial:"none",values:["none","image","initial","inherit"]},"border-image-width":{initial:"1",values:["[length]","[number]","[percent]","auto","initial","inherit"]},"border-left":{initial:"medium none color",values:["[prop:border-left-width]","[prop:border-left-style]","[prop:border-left-color]","initial","inherit"]},"border-left-color":{initial:"The current color of the element",values:["[color]","transparent","initial","inherit"]},"border-left-style":{initial:"none",values:["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset","initial","inherit"]},"border-left-width":{initial:"medium",values:["medium","thin","thick","[length]","initial","inherit"]},"border-radius":{initial:"0",values:["[length]","[percent]","initial","inherit"]},"border-right":{initial:"medium none color",values:["[prop:border-right-width]","[prop:border-right-style]","[prop:border-right-color]","initial","inherit"]},"border-right-color":{initial:"black",values:["[color]","transparent","initial","inherit"]},"border-right-style":{initial:"none",values:["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset","initial","inherit"]},"border-right-width":{initial:"medium",values:["medium","thin","thick","[length]","initial","inherit"]},"border-spacing":{initial:"2px",values:["[length]","initial","inherit"]},"border-style":{initial:"none",values:["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset","initial","inherit"]},"border-top":{initial:"medium none color",values:["[prop:border-top-width]","[prop:border-top-style]","[prop:border-top-color]","initial","inherit"]},"border-top-color":{initial:"The current color of the element",values:["[color]","transparent","initial","inherit"]},"border-top-left-radius":{initial:"0",values:["[length]","[percent]","initial","inherit"]},"border-top-right-radius":{initial:"0",values:["[length]","[percent]","initial","inherit"]},"border-top-style":{initial:"none",values:["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset","initial","inherit"]},"border-top-width":{initial:"medium",values:["medium","thin","thick","[length]","initial","inherit"]},"border-width":{initial:"medium",values:["medium","thin","thick","[length]","initial","inherit"]},bottom:{initial:"auto",values:["auto","[length]","[percent]","initial","inherit"]},"inset-block-end":{initial:"auto",values:["auto","[length]","[percent]","initial","inherit"]},"box-decoration-break":{initial:"slice",values:["slice","clone","initial","inherit"]},"box-shadow":{initial:"none",values:["none","h-offset","v-offset","blur","spread","[color]","inset","initial","inherit"]},"box-sizing":{initial:"content-box",values:["content-box","border-box","initial","inherit"]},"caption-side":{initial:"top",values:["top","bottom","initial","inherit"]},"caret-color":{initial:"auto",values:["auto","[color]"]},"@charset":{initial:"charset",values:["charset"]},clear:{initial:"none",values:["none","left","right","both","initial","inherit"]},clip:{initial:"auto",values:["auto","shape","initial","inherit"]},"column-count":{initial:"auto",values:["[number]","auto","initial","inherit"]},"column-fill":{initial:"balance",values:["balance","auto","initial","inherit"]},"column-gap":{initial:"normal",values:["[length]","normal","initial","inherit"]},"column-rule":{initial:"medium none color",values:["[prop:column-rule-width]","[prop:column-rule-style]","[prop:column-rule-color]","initial","inherit"]},"column-rule-color":{initial:"The current color of the element",values:["[color]","initial","inherit"]},"column-rule-style":{initial:"none",values:["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset","initial","inherit"]},"column-rule-width":{initial:"medium",values:["medium","thin","thick","[length]","initial","inherit"]},"column-span":{initial:"none",values:["none","all","initial","inherit"]},"column-width":{initial:"auto",values:["auto","[length]","initial","inherit"]},columns:{initial:"auto auto",values:["auto","[prop:column-width]","[prop:column-count]","initial","inherit"]},content:{initial:"normal",values:["normal","none","counter","attr(attribute)","string","open-quote","close-quote","no-open-quote","no-close-quote","url(url)","initial","inherit"]},"counter-increment":{initial:"none",values:["none","[number]","initial","inherit"]},"counter-reset":{initial:"none",values:["none","[number]","initial","inherit"]},cursor:{initial:"auto",values:["alias","all-scroll","auto","cell","context-menu","col-resize","copy","crosshair","default","e-resize","ew-resize","grab","grabbing","help","move","n-resize","ne-resize","nesw-resize","ns-resize","nw-resize","nwse-resize","no-drop","none","not-allowed","pointer","progress","row-resize","s-resize","se-resize","sw-resize","text","URL","vertical-text","w-resize","wait","zoom-in","zoom-out","initial","inherit"]},direction:{initial:"ltr",values:["ltr","rtl","initial","inherit"]},display:{initial:"",values:["inline","block","contents","flex","grid","inline-block","inline-flex","inline-grid","inline-table","list-item","run-in","table","table-caption","table-column-group","table-header-group","table-footer-group","table-row-group","table-cell","table-column","table-row","none","initial","inherit"]},"empty-cells":{initial:"show",values:["show","hide","initial","inherit"]},filter:{initial:"none",values:["none","initial","inherit"]},flex:{initial:"0 1 auto",values:["[prop:flex-grow]","[prop:flex-shrink]","[prop:flex-basis]","auto","initial","none","inherit"]},"flex-basis":{initial:"auto",values:["[number]","auto","initial","inherit"]},"flex-direction":{initial:"row",values:["row","row-reverse","column","column-reverse","initial","inherit"]},"flex-flow":{initial:"row nowrap",values:["flex-direction","flex-wrap","initial","inherit"]},"flex-grow":{initial:"0",values:["[number]","initial","inherit"]},"flex-shrink":{initial:"1",values:["[number]","initial","inherit"]},"flex-wrap":{initial:"nowrap",values:["nowrap","wrap","wrap-reverse","initial","inherit"]},float:{initial:"none",values:["none","left","right","initial","inherit"]},"font-family":{initial:"depends on the browser",values:["[family-name]","[generic-family]","initial","inherit"]},"font-kerning":{initial:"auto",values:["auto","normal","none"]},"font-size-adjust":{initial:"none",values:["[number]","none","initial","inherit"]},"font-stretch":{initial:"normal",values:["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded","initial","inherit"]},"font-style":{initial:"normal",values:["normal","italic","oblique","initial","inherit"]},"font-variant":{initial:"normal",values:["normal","small-caps","initial","inherit"]},"font-weight":{initial:"normal",values:["normal","bold","bolder","lighter","100","200","300","400","500","600","700","800","900","initial","inherit"]},gap:{initial:"none",values:["[length]","initial","inherit"]},grid:{initial:"none none none auto auto row",values:["none","grid-template rows / grid-template-columns","grid-template-areas","grid-template rows / grid-auto-columns","grid-auto-rows / grid-template-columns","grid-template rows / grid-auto-flow grid-auto-columns","grid-auto flow grid-auto-rows / grid-template-columns","initial","inherit"]},"grid-area":{initial:"auto / auto / auto / auto",values:["[prop:grid-row-start]","[prop:grid-column-start]","[prop:grid-row-end]","[prop:grid-column-end]","[label]"]},"grid-auto-columns":{initial:"auto",values:["auto","max-content","min-content","[length]","[percent]"]},"grid-auto-flow":{initial:"row",values:["row","column","dense","row dense","column dense"]},"grid-auto-rows":{initial:"auto",values:["auto","max-content","min-content","[length]"]},"grid-column":{initial:"auto / auto",values:["[prop:grid-column-start]","[prop:grid-column-end]"]},"grid-column-end":{initial:"auto",values:["auto","(span) ([number])","column-line"]},"grid-column-gap":{initial:"0",values:["[length]"]},"grid-column-start":{initial:"auto",values:["auto","(span) ([number])","column-line"]},"grid-gap":{initial:"0 0",values:["[prop:grid-row-gap]","[prop:grid-column-gap]"]},"grid-row":{initial:"auto / auto",values:["[prop:grid-row-start]","[prop:grid-row-end]"]},"grid-row-end":{initial:"auto",values:["auto","(span) ([number])","column-line"]},"grid-row-gap":{initial:"0",values:["[length]"]},"grid-row-start":{initial:"auto",values:["auto","row-line"]},"grid-template":{initial:"none none none",values:["none","grid-template rows / grid-template-columns","grid-template-areas","initial","inherit"]},"grid-template-areas":{initial:"none",values:["none","itemnames"]},"grid-template-columns":{initial:"none",values:["none","auto","max-content","min-content","[length]","initial","inherit"]},"grid-template-rows":{initial:"none",values:["none","auto","max-content","min-content","[length]"]},"hanging-punctuation":{initial:"none",values:["none","first","last","allow-end","force-end","initial","inherit"]},height:{initial:"auto",values:["auto","[length]","[percent]","initial","inherit"]},hyphens:{initial:"manual",values:["none","manual","auto","initial","inherit"]},isolation:{initial:"auto",values:["auto","isolate","initial","inherit"]},"justify-content":{initial:"flex-start",values:["flex-start","flex-end","center","space-between","space-around","initial","inherit"]},left:{initial:"auto",values:["auto","[length]","[percent]","initial","inherit"]},"inset-inline-start":{initial:"auto",values:["auto","[length]","[percent]","initial","inherit"]},"letter-spacing":{initial:"normal",values:["normal","[length]","initial","inherit"]},"line-height":{initial:"normal",values:["normal","[number]","[length]","[percent]","initial","inherit"]},"list-style":{initial:"disc outside none",values:["[prop:list-style-type]","[prop:list-style-position]","[prop:list-style-image]","initial","inherit",...Sg["list-style-type"],...Sg["list-style-position"],...Sg["list-style-image"]]},"list-style-image":{initial:"none",values:["none","url","initial","inherit"]},"list-style-position":{initial:"outside",values:["inside","outside","initial","inherit"]},"list-style-type":{initial:"disc",values:["disc","armenian","circle","cjk-ideographic","decimal","decimal-leading-zero","georgian","hebrew","hiragana","hiragana-iroha","katakana","katakana-iroha","lower-alpha","lower-greek","lower-latin","lower-roman","none","square","upper-alpha","upper-greek","upper-latin","upper-roman","initial","inherit"]},"margin-bottom":{initial:"0",values:["[length]","[percent]","auto","initial","inherit"]},"margin-left":{initial:"0",values:["[length]","[percent]","auto","initial","inherit"]},"margin-right":{initial:"0",values:["[length]","[percent]","auto","initial","inherit"]},"margin-top":{initial:"0",values:["[length]","[percent]","auto","initial","inherit"]},"margin-block-start":{initial:"0",values:["[length]","[percent]","auto","initial","inherit"]},"margin-block-end":{initial:"0",values:["[length]","[percent]","auto","initial","inherit"]},"margin-inline-start":{initial:"0",values:["[length]","[percent]","auto","initial","inherit"]},"margin-inline-end":{initial:"0",values:["[length]","[percent]","auto","initial","inherit"]},"max-height":{initial:"none",values:["none","[length]","[percent]","initial","inherit"]},"max-width":{initial:"none",values:["none","[length]","[percent]","initial","inherit"]},"min-height":{initial:"0",values:["[length]","[percent]","initial","inherit"]},"min-width":{initial:"0",values:["[length]","[percent]","initial","inherit"]},"mix-blend-mode":{initial:"normal",values:["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","difference","exclusion","hue","saturation","[color]","luminosity"]},"object-fit":{initial:"",values:["fill","contain","cover","none","scale-down","initial","inherit"]},"object-position":{initial:"50% 50%",values:["position","initial","inherit"]},opacity:{initial:"1",values:["[number]","initial","inherit"]},order:{initial:"0",values:["[number]","initial","inherit"]},outline:{initial:"medium invert color",values:["[prop:outline-width]","[prop:outline-style]","[prop:outline-color]","initial","inherit",...Sg.outline]},"outline-color":{initial:"invert",values:["invert","[color]","initial","inherit"]},"outline-offset":{initial:"0",values:["[length]","initial","inherit"]},"outline-style":{initial:"none",values:["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset","initial","inherit"]},"outline-width":{initial:"medium",values:["medium","thin","thick","[length]","initial","inherit"]},overflow:{initial:"visible",values:["visible","hidden","scroll","auto","initial","inherit"]},"overflow-x":{initial:"visible",values:["visible","hidden","scroll","auto","initial","inherit"]},"overflow-y":{initial:"visible",values:["visible","hidden","scroll","auto","initial","inherit"]},"padding-bottom":{initial:"0",values:["[length]","[percent]","initial","inherit"]},"padding-left":{initial:"0",values:["[length]","[percent]","initial","inherit"]},"padding-right":{initial:"0",values:["[length]","[percent]","initial","inherit"]},"padding-top":{initial:"0",values:["[length]","[percent]","initial","inherit"]},"padding-block-start":{initial:"0",values:["[length]","[percent]","initial","inherit"]},"padding-block-end":{initial:"0",values:["[length]","[percent]","initial","inherit"]},"padding-inline-start":{initial:"0",values:["[length]","[percent]","initial","inherit"]},"padding-inline-end":{initial:"0",values:["[length]","[percent]","initial","inherit"]},"page-break-after":{initial:"auto",values:["auto","always","avoid","left","right","initial","inherit"]},"page-break-before":{initial:"auto",values:["auto","always","avoid","left","right","initial","inherit"]},"page-break-inside":{initial:"auto",values:["auto","avoid","initial","inherit"]},perspective:{initial:"none",values:["[length]","none","initial","inherit"]},"perspective-origin":{initial:"50% 50%",values:["x-axis","y-axis","initial","inherit"]},"pointer-events":{initial:"auto",values:["auto","none","initial","inherit"]},position:{initial:"static",values:["static","absolute","fixed","relative","sticky","initial","inherit"]},quotes:{initial:"not specified",values:["none","string string string string","initial","inherit",'"',"'","‹","›","«","»","‘","’","“","”","„"]},resize:{initial:"none",values:["none","both","horizontal","vertical","initial","inherit"]},right:{initial:"auto",values:["auto","[length]","[percent]","initial","inherit"]},"inset-inline-end":{initial:"auto",values:["auto","[length]","[percent]","initial","inherit"]},"scroll-behavior":{initial:"auto",values:["auto","smooth","initial","inherit"]},"tab-size":{initial:"8",values:["[number]","[length]","initial","inherit"]},"table-layout":{initial:"auto",values:["auto","fixed","initial","inherit"]},"text-align":{initial:"left if direction is ltr, and right if direction is rtl",values:["left","right","center","justify","initial","inherit"]},"text-align-last":{initial:"auto",values:["auto","left","right","center","justify","start","end","initial","inherit"]},"text-decoration":{initial:"none currentcolor solid",values:["[prop:text-decoration-line]","[prop:text-decoration-color]","[prop:text-decoration-style]","initial","inherit"]},"text-decoration-color":{initial:"currentColor",values:["[color]","initial","inherit"]},"text-decoration-line":{initial:"none",values:["none","underline","overline","line-through","initial","inherit"]},"text-decoration-style":{initial:"solid",values:["solid","double","dotted","dashed","wavy","initial","inherit"]},"text-indent":{initial:"0",values:["[length]","[percent]","initial","inherit"]},"text-justify":{initial:"auto",values:["auto","inter-word","inter-character","none","initial","inherit"]},"text-overflow":{initial:"clip",values:["clip","ellipsis","string","initial","inherit"]},"text-shadow":{initial:"none",values:["h-shadow","v-shadow","blur-radius","[color]","none","initial","inherit"]},"text-transform":{initial:"none",values:["none","capitalize","uppercase","lowercase","initial","inherit"]},top:{initial:"auto",values:["auto","[length]","[percent]","initial","inherit"]},"inset-block-start":{initial:"auto",values:["auto","[length]","[percent]","initial","inherit"]},transform:{initial:"none",values:["none","initial","inherit"]},"transform-origin":{initial:"50% 50% 0",values:["x-axis","y-axis","z-axis","initial","inherit"]},"transform-style":{initial:"flat",values:["flat","preserve-3d","initial","inherit"]},transition:{initial:"all 0s ease 0s",values:["[prop:transition-property]","[prop:transition-duration]","[prop:transition-timing-function]","[prop:transition-delay]","initial","inherit",...Sg.transition]},"transition-delay":{initial:"0s",values:["[time]","initial","inherit",...Qy]},"transition-duration":{initial:"0s",values:["[time]","initial","inherit",...Qy]},"transition-property":{initial:"all",values:["none","all","property","initial","inherit"]},"transition-timing-function":{initial:"ease",values:["ease","linear","ease-in","ease-out","ease-in-out","step-start","step-end","initial","inherit"]},"unicode-bidi":{initial:"normal",values:["normal","embed","bidi-override","isolate","isolate-override","plaintext","initial","inherit"]},"user-select":{initial:"auto",values:["auto","none","text","all"]},"vertical-align":{initial:"baseline",values:["baseline","[length]","[percent]","sub","super","top","text-top","middle","bottom","text-bottom","initial","inherit"]},visibility:{initial:"visible",values:["visible","hidden","collapse","initial","inherit"]},"white-space":{initial:"normal",values:["normal","nowrap","pre","pre-line","pre-wrap","initial","inherit"]},width:{initial:"auto",values:["auto","[length]","[percent]","initial","inherit"]},"word-break":{initial:"normal",values:["normal","break-all","keep-all ","break-word","initial","inherit"]},"word-spacing":{initial:"normal",values:["normal","[length]","initial","inherit"]},"word-wrap":{initial:"normal",values:["normal","break-word","initial","inherit"]},"writing-mode":{initial:"horizontal-tb",values:["horizontal-tb","vertical-rl","vertical-lr"]},"z-index":{initial:"auto",values:["auto","[number]","initial","inherit"]},"backdrop-filter":{initial:"none",values:["none","initial","inherit"]}},L9t=new Map([["inset-block-start","top"],["inset-inline-start","left"],["inset-inline-end","right"],["inset-block-end","bottom"],["margin-block-start","margin-top"],["margin-block-end","margin-bottom"],["margin-inline-start","margin-left"],["margin-inline-end","margin-right"],["padding-block-start","padding-top"],["padding-block-end","padding-bottom"],["padding-inline-start","padding-left"],["padding-inline-end","padding-right"]]),R9t=Object.keys(W1);function M9t(t){const e=Object.keys(W1);return t.startsWith("--")||e.includes(t)?!0:(console.warn(`Invalid CSS property: ${t}`),!1)}const _9t=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","goldenrod","gold","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavenderblush","lavender","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],j9t=["transparent","currentColor",..._9t],U9t=["px","em","rem","%","vh","vw","vmin","vmax","ex","ch","cm","mm","in","pt","pc"],Q9t=["s","ms"];function V9t(t){if(isNaN(Number(t[0])))return!1;const e=t.replace(/[0-9]/g,"");return U9t.includes(e)}function $9t(t){return t.includes("%")}function H9t(t){return!isNaN(Number(t))}function G9t(t){const e=t.replace(/[0-9]/g,"");return e.includes(" ")?!1:Q9t.includes(e)}function W9t(t){return!!(j9t.includes(t)||t.match(/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/)||t.match(/^rgb\(\s*\d{1,3},\s*\d{1,3},\s*\d{1,3}\s*\)$/)||t.match(/^rgba\(\s*\d{1,3},\s*\d{1,3},\s*\d{1,3},\s*(0|1|0\.\d+)\s*\)$/)||t.match(/^hsl\(\s*\d{1,3},\s*\d{1,3}%,\s*\d{1,3}%\s*\)$/)||t.match(/^hsla\(\s*\d{1,3},\s*\d{1,3}%,\s*\d{1,3}%,\s*(0|1|0\.\d+)\s*\)$/))}const z9t={length:V9t,percentage:$9t,number:H9t,time:G9t,color:W9t};function K9t(t,e){return z9t[t]?.(e)}const q9t=["transform","transition","border","border-style","box-shadow","text-shadow","text-transform","visibility","fill","stroke","stroke-width","filter","backdrop-filter","mix-blend-mode","isolation","perspective","perspective-origin","shape-image-threshold","shape-margin","shape-outside","clip-path","clip-rule","mask","mask-type"];function k7e(t,e){return t.length?t.map(n=>n.replace(/[\[\]]/g,"")).some(n=>K9t(n,e)):null}function O7e(t,e){return t.includes(e)}function X9t(t,e){if(!t.length)return null;for(const r of t){const n=()=>r.startsWith("[")&&k7e([r],e),i=()=>O7e([r],e);if(n()||i())return!0}return!1}function Y9t(t,e){const r=W1?.[t];if(t.startsWith("--")||e.startsWith("var(--"))return!0;if(!r)return!1;let i=r.values,o=[];if(i.some(f=>f.startsWith("[prop:"))){const f=i.filter(d=>d.startsWith("[prop:"));for(const d of f){const p=d.replace("[prop:","").replace("]",""),h=W1?.[p]?.values;h&&(o=Um(o,h))}i=i.filter(d=>!d.startsWith("[prop:"))}const a=i.filter(f=>f.includes("[")),l=i.filter(f=>!f.match(/\[|\(/)),u=[q9t.includes(t),k7e(a,e),O7e(l,e),X9t(o,e)].some(Boolean);return u||console.warn(`Invalid value: ${e} for property: ${t}`),u}function J9t({minScreenWidth:t,maxScreenWidth:e,rootFontSize:r,fluidValue:n,isRem:i}){if(!n)return"";const[o,s]=n;return U1({minFontSize:Number(o),maxFontSize:Number(s),minScreenWidth:t,maxScreenWidth:e,isRem:i,rootFontSize:r})}function JAe(t,{minScreenWidth:e,maxScreenWidth:r,propertyValidation:n=!0,valueValidation:i=!0,rootFontSize:o,isRem:s}){const a=t.length;let l="";return t.forEach(({property:c,value:u,type:f,colorValue:d,fluidValue:p},h)=>{const A=T4e(c),g=n?M9t(c):!0,m=i?Y9t(A,u):!0,v=h===a-1?"":Fc,y=g&&m;let b="";switch(f){case"fluid":b=J9t({fluidValue:p,minScreenWidth:e,maxScreenWidth:r,rootFontSize:o,isRem:s});break;case"color":b=d?.trim().replace(/;/g,"")||"";break;default:b=u.trim().replace(/;/g,"");break}l+=y?`${Du}${A}: ${b};${v}`:` /* ${A}: ${b}; */${v}`}),l}const MZ=["HOVER","NOT_HOVER","REDUCED_MOTION","NOT_REDUCED_MOTION","LIGHT_MODE","DARK_MODE"],Z9t=new Map([["HOVER","(hover: hover)"],["NOT_HOVER","(hover: none)"],["REDUCED_MOTION","(prefers-reduced-motion: reduce)"],["NOT_REDUCED_MOTION","(prefers-reduced-motion: no-preference)"],["LIGHT_MODE","(prefers-color-scheme: light)"],["DARK_MODE","(prefers-color-scheme: dark)"]]);function eOt({cssObject:t,options:e}){const{media:r,...n}=t,i=sN({cssObject:n,options:e});if(!r)return i;const o=Z9t.get(r);return o?`${Fc}@media ${o} {${i.split(Fc).join(Fc+Du)}${Fc}}`:i}function Q_({selectorPrefix:t,selector:e}){return t===""||e==="html"||e.startsWith(":root")?"":e==="body"?".editor-styles-wrapper":t}function tOt({value:t,prefix:e="",selectorPrefix:r=""}){return Array.isArray(t)?t.join(", "):t.split(",").map(n=>(n=n.trim(),n.at(0)!=="."?`${Q_({selectorPrefix:r,selector:n})}${n}`:[",","&"].some(i=>n.includes(i))?`${Q_({selectorPrefix:r,selector:n})}${n}`:`${Q_({selectorPrefix:r,selector:n})}.${e}${n.replace(".","")}`)).join(", ")}const _Z=["CLAMP","NOT_CLAMP","ASPECT_RATIO","NOT_ASPECT_RATIO"],rOt=new Map([["CLAMP","(width: clamp(1px, 1px, 1px))"],["NOT_CLAMP","not (width: clamp(1px, 1px, 1px))"],["ASPECT_RATIO","(aspect-ratio: 1/1)"],["NOT_ASPECT_RATIO","not (aspect-ratio: 1/1)"]]);function nOt({cssObject:t,options:e}){const{support:r,...n}=t,i=sN({cssObject:n,options:e});if(!r)return i;const o=rOt.get(r);return o?`${Fc}@supports ${o} {${i.split(Fc).join(Fc+Du)}${Fc}}`:i}function ZAe(t,e){return e&&t?` ${t} { ${Du}${e.trim()} }`:""}function iOt(t,e){return` @media ${e} { ${Du}${t.trim()} }`}function sN({cssObject:t,options:e}){const{selector:r,declarations:n,variants:i}=t;if(r.startsWith("/*")&&!r.endsWith("Vars */"))return` ${r}`;const o=tOt({value:r,prefix:e.classPrefix,selectorPrefix:e.selectorPrefix}),s=F9t(n),a=JAe(s,e);let l=ZAe(o,a);if(!i)return l;for(const{declarations:c,mediaQuery:u}of i){const f=JAe(c,e),d=jZ(u),p=ZAe(o,f);l+=iOt(p,d)}return l}function oOt({cssObject:t,options:e}){return t.media?eOt({cssObject:t,options:e}):t.support?nOt({cssObject:t,options:e}):sN({cssObject:t,options:e})}function jZ([t,e]){if(t===0)return`(max-width: ${e}px)`;if(e===0)return`(min-width: ${t}px)`;const[r,n]=[t,e].sort((i,o)=>i-o);return`(min-width: ${r}px) and (max-width: ${n}px)`}function sOt({objectsWithMediaQueries:t,ruleGeneratorOptions:e}){const r=[];for(const i of t){const{mediaQuery:o}=i;if(!o)continue;const s=r.findIndex(([a])=>String(a)===String(o));s>-1&&r[s][1].push(i),s===-1&&r.push([o,[i]])}r.sort(([i],[o])=>i[0]-o[0]),r.sort(([i],[o])=>o[1]-i[1]);let n="";for(const[i,o]of r){let s=`${Fc}@media ${jZ(i)} {`;const a=o.map(l=>sN({cssObject:{...l,mediaQuery:void 0},options:e})).join("");s+=a.split(Fc).map((l,c)=>c===0?l:`${Fc}${Du}${l}`).join(""),s+=`${Fc}}`,n+=s}return n}function aOt(t){let e=[];return t.forEach(r=>{const n=e.find(({selector:o,mediaQuery:s,media:a,support:l})=>o===r.selector&&String(s??"0,3")===String(r.mediaQuery??"0,3")&&String(a)===String(r.media)&&String(l)===String(r.support)),i=n?.id;if(n){const o=Um(n.declarations,r.declarations);e=e.map(s=>s.id===i?{...s,declarations:o}:s)}n||e.push(r)}),e}const lOt=/var\(--([^)]+)\)/g;function P7e(t,e,r){return t.replace(lOt,(n,i)=>e.includes(i)?`var(--${r}${i})`:n)}function cOt({prefix:t,targetVariables:e,cssObjects:r}){return r.map(n=>{const{declarations:i}=n,o=[];for(const s of i){const{property:a,...l}=s;a.startsWith("--")&&!a.startsWith(`--${t}`)?o.push({...l,property:`--${t}${a.replace("--","")}`,value:P7e(s.value,e,t)}):o.push(s)}return{...n,declarations:o}})}function uOt({prefix:t,targetVariables:e,cssObjects:r}){const n=[];for(const i of r){const{declarations:o,...s}=i,a=[];for(const l of o){const{value:c,...u}=l;c.includes("var(--")&&!c.includes(`var(--${t}`)?a.push({...u,value:P7e(c,e,t)}):a.push(l)}n.push({...s,declarations:a})}return n}function fOt({prefix:t,cssObjects:e,rootObject:r}){const n=r.declarations.map(a=>a.property.replace("--","")),i=e.filter(({selector:a})=>a.startsWith(":root")),o=cOt({cssObjects:i,targetVariables:n,prefix:t}),s=uOt({prefix:t,cssObjects:e,targetVariables:n}).filter(({selector:a})=>!a.startsWith(":root"));return[...o,...s]}function dOt({cssObjects:t,variablePrefix:e,darkModeSelector:r,manualDarkMode:n,classPrefix:i,alwaysLightSelector:o}){if(!t?.some(({selector:c})=>c.startsWith(":root")))return{cssObjects:t,mainRootObjectId:""};const a=t.find(({selector:c,media:u,support:f,mediaQuery:d})=>c===":root"&&[u,f,d].every(p=>!p));if(!a)return{cssObjects:t,mainRootObjectId:""};const l=a?.id||"";return n&&(a.selector=`:root, :root${r} .${i??""}theme-inverted, :root${r} ${o??""}, :root.cf-theme-light .${i??""}theme-inverted ${o??""}`),e?{cssObjects:fOt({prefix:e,rootObject:a,cssObjects:t}),mainRootObjectId:l}:(t.splice(t.indexOf(a),1),t.unshift(a),{cssObjects:t,mainRootObjectId:l})}const pOt=({cssObjects:t,mainRootObjectId:e,needsSorting:r})=>r===!1?t:t.sort((n,i)=>n.selector.startsWith("html")?-1:i.selector==="html"?1:n.id===e?-1:i.id===e?1:n.media==="DARK_MODE"||n.selector.includes(":root")?-1:i.selector.includes(":root")?1:0);function AOt(t,e){return{...t,...e}}const ehe={format:!0,combineSelectors:!1,propertyValidation:!0,valueValidation:!0,postcss:!1,classPrefix:"",variablePrefix:"",minScreenWidth:300,maxScreenWidth:1200,selectorPrefix:"",manualDarkMode:!1,darkModeSelector:".cf-theme-dark",postcssEasingGradients:!1,postcssHoverMedia:!1,rootFontSize:16,isRem:!0,alwaysLightSelector:".theme-always-light"};async function HA({cssObjects:t,options:e}={cssObjects:[],options:ehe}){const r=AOt(ehe,e),{format:n,combineSelectors:i,postcss:o,variablePrefix:s,manualDarkMode:a,darkModeSelector:l,classPrefix:c,postcssEasingGradients:u,postcssHoverMedia:f,alwaysLightSelector:d}=r;t=N9t(t),i&&(t=aOt(t));const{cssObjects:p,mainRootObjectId:h}=dOt({cssObjects:t,variablePrefix:s,darkModeSelector:l,manualDarkMode:a,classPrefix:c,alwaysLightSelector:d});t=p,t=pOt({cssObjects:t,mainRootObjectId:h,needsSorting:!0});const A=t?.some(({mediaQuery:y})=>y?.length);let g="";if(A){const y=[],b=[];for(const B of t){const{mediaQuery:S}=B;Array.isArray(S)&&S?.length?y.push(B):b.push(B)}t=b,g=sOt({objectsWithMediaQueries:y,ruleGeneratorOptions:r})}const m=t.map(y=>oOt({cssObject:y,options:r})).join("").concat(g).trim(),v=n?m:m.replace(/(\r\n|\n|\r)/gm,"");if(!o)return v;try{return await P9t(v,{postcssEasingGradients:u,postcssHoverMedia:f})}catch(y){return console.warn(y),v}}const hOt=E.memo(function(){return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[C.jsx("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",children:C.jsx("path",{d:"M18.5 12v0a.5.5 0 11-.5-.5h0a.5.5 0 01.5.5M12.5 12v0a.5.5 0 11-.5-.5h0a.5.5 0 01.5.5M6.5 12v0a.5.5 0 11-.5-.5h0a.5.5 0 01.5.5"})}),C.jsx("path",{fill:"none",d:"M24 0v24H0V0z"})]})}),I7e=` * { box-sizing: border-box; font-family: 'Inter', sans-serif; } html, body { margin: 0; padding: 0; width: 100%; height: 100%; } body { display: grid; place-items: center; padding: 1rem; } /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */ button, hr, input { overflow: visible; } audio, canvas, progress, video { display: inline-block; } progress, sub, sup { vertical-align: baseline; } [type="checkbox"], [type="radio"], legend { box-sizing: border-box; padding: 0; } html { line-height: 1.15; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; } body, h1, h2, h3, h4, h5, h6 { margin: 0; } article, aside, details, figcaption, figure, footer, header, main, menu, nav, section { display: block; } figure { margin: 1em 40px; } hr { box-sizing: content-box; height: 0; } code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; } a { background-color: transparent; -webkit-text-decoration-skip: objects; } abbr[title] { border-bottom: none; text-decoration: underline; text-decoration: underline dotted; } p { margin: 0; } b, strong { font-weight: bolder; } dfn { font-style: italic; } mark { background-color: #ff0; color: #000; } small { font-size: 80%; } sub, sup { font-size: 75%; line-height: 0; position: relative; } sub { bottom: -0.25em; } sup { top: -0.5em; } audio:not([controls]) { display: none; height: 0; } img { border-style: none; } svg:not(:root) { overflow: hidden; } button, input, optgroup, select, textarea { font-size: 100%; line-height: 1.15; margin: 0; } button, select { text-transform: none; } [type="reset"], [type="submit"], button, html [type="button"] { -webkit-appearance: button; } [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner, button::-moz-focus-inner { border-style: none; padding: 0; } [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring, button:-moz-focusring { outline: ButtonText dotted 1px; } fieldset { padding: 0.35em 0.75em 0.625em; } legend { color: inherit; display: table; max-width: 100%; white-space: normal; } textarea { overflow: auto; } [type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; } [type="search"] { -webkit-appearance: textfield; outline-offset: -2px; } [type="search"]::-webkit-search-cancel-button, [type="search"]::-webkit-search-decoration { -webkit-appearance: none; } ::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; } summary { display: list-item; } [hidden], template { display: none; } fieldset { border: 0; appearance: none; display: flex; align-items: center; justify-content: center; gap: 30px; } `,V_=(t,e)=>{if(!t.classList.contains(e))return e&&!/\s/.test(e)?t.classList.add(e):e.split(" ").forEach(r=>{const n=r.trim().replace(/\s/g,"-");n&&t.classList.add(n)}),t},$_=(t,e)=>{if(t.id!==e)return t.id=e,t},mOt=({selectors:t,node:e,type:r})=>{if(t?.length)return t=t.map(n=>n.trim()).filter(Boolean),t.forEach(n=>{const i=n.startsWith("."),o=n.startsWith("#");if(n=n.slice(1),r==="radio"){[...e.querySelectorAll("input[type=radio]")].forEach(a=>{i&&n&&V_(a,n),o&&n&&$_(a,n)});return}if(r==="checkbox"){[...e.querySelectorAll("input[type=checkbox]")].forEach(a=>{i&&n&&V_(a,n),o&&n&&$_(a,n)});return}i&&n&&V_(e,n),o&&n&&$_(e,n)}),e},the=({type:t,body:e,selectors:r})=>{let n;switch(t){case"button":n=document.createElement("button"),n.textContent="Hello World";break;case"input":n=document.createElement("input"),n.type="text",n.placeholder="Just tell me...";break;case"select":n=document.createElement("select");const i=document.createElement("option");i.value="1",i.textContent="Select me!",n.appendChild(i);break;case"textarea":n=document.createElement("textarea"),n.placeholder="What a story...";break;case"checkbox":n=document.createElement("fieldset");for(let o=0;o<3;o++){const s=document.createElement("input");s.type="checkbox",s.name=`checkbox-${o}`,s.id=`checkbox-${o}`,n.appendChild(s)}break;case"radio":n=document.createElement("fieldset");for(let o=0;o<3;o++){const s=document.createElement("input");s.type="radio",s.name="radio",s.id=`radio-${o}`,n.appendChild(s)}break;case"img":n=document.createElement("img"),n.src="https://picsum.photos/320/240",n.alt="Preview of image";break;case"icon":n=document.createElementNS("http://www.w3.org/2000/svg","svg"),n.setAttribute("viewBox","0 0 24 24"),n.setAttribute("width","24"),n.setAttribute("height","24"),n.setAttribute("stroke","currentColor"),n.innerHTML=` <path d="M12,10a8.51784,8.51784,0,0,1,9,0" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/><path d="M3,10c0-4.41828,4.02944-8,9-8s9,3.58172,9,8" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/><line x1="12" y1="15" x2="3" y2="10" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/><line x1="21" y1="10" x2="12" y2="15" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/><rect x="7" y="15" width="10" height="7" rx="1.5" stroke-width="1.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" fill="none"/><line x1="12" y1="15" x2="12" y2="10" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/><path d="M10.35,15h3.3a0,0,0,0,1,0,0v2.5a.5.5,0,0,1-.5.5h-2.3a.5.5,0,0,1-.5-.5V15a0,0,0,0,1,0,0Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/> `;break;case"hr":n=document.createElement("hr");break;case"link":n=document.createElement("a"),n.href="#0",n.onclick=o=>o.preventDefault(),n.textContent="I will lead a way";break;case"card":n=document.createElement("div"),n.innerHTML=` <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><line x1="16.5" y1="2.99999" x2="16.5" y2="5.99999" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/><line x1="7.5" y1="2.99999" x2="7.5" y2="5.99999" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/><rect x="3" y="4.49999" width="18" height="16.5" rx="3" stroke-width="1.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" fill="none"/><g id="Layer_22" data-name="Layer 22"><circle cx="12" cy="12.99999" r="4" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/><path d="M16,12.9982l-7.99989.00353" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/></g><path d="M24,0H0V24H24Z" fill="none"/></svg> <b>A silly headline, I am</b> <p>Here's something amazing about this card. It may not sound that amazing, but it is.</p>`;break}n&&(mOt({selectors:r,node:n,type:t}),e.appendChild(n))},rhe="reset",gOt="variables",rw="editor",nhe="dynamic",vOt="fouc",N7e=E.memo(({editorCss:t,type:e,selectors:r,variablesCss:n,dynamicCss:i,isDarkBackground:o})=>{const[s,a]=E.useState(!0),l=Xn(E.useCallback(u=>u(xs),[])),c=E.useRef(null);return ym(()=>{const u=document.createElement("iframe");u.srcdoc="<html><head></head><body></body></html>",u.style.width="100%",u.style.height="100%",u.style.border="none",u.onload=async()=>{const{root_font_size:f}=await l(),d=u.contentDocument?.querySelector("head"),p=u.contentDocument?.querySelector("body"),h=u.contentDocument?.createElement("style"),A=u.contentDocument?.createElement("style"),g=u.contentDocument?.createElement("style"),m=i!==void 0?u.contentDocument?.createElement("style"):void 0,v=u.contentDocument?.createElement("script");if(!(d&&p&&h&&A&&g&&v))return;if(h.id=rhe,A.id=rw,g.id=gOt,m&&(m.id=nhe),v.id=vOt,h.innerHTML=I7e,A.innerHTML=t,g.innerHTML=n,m&&i!==void 0&&(m.innerHTML=i),f===10){const b=u.contentDocument?.createElement("style");b&&(b.innerHTML="html { font-size: 10px; }",d?.appendChild(b))}const y=d.querySelector(`#${rw}`);y?(d.insertBefore(h,y),d.insertBefore(g,y)):(d?.appendChild(h),d?.appendChild(g)),d?.appendChild(v),!d.querySelector(`#${rw}`)&&t&&d?.appendChild(A),m&&d?.appendChild(m),the({type:e,body:p,selectors:r}),setTimeout(()=>a(!1),40)},c.current?.appendChild(u)}),E.useEffect(()=>{const u=c.current?.querySelector("iframe"),f=u?.contentDocument?.querySelector("body");u&&f&&([...f.querySelectorAll("*")].forEach(d=>d.remove()),the({type:e,body:f,selectors:r}))},[JSON.stringify(e),JSON.stringify(r)]),E.useEffect(()=>{const u=c.current?.querySelector("iframe"),f=u?.contentDocument?.querySelector("head");let d=u?.contentDocument?.getElementById(rw);if(!d){d=u?.contentDocument?.createElement("style");const p=f?.querySelector(`#${rhe}`);if(!d)return;d.id=rw,p?f?.insertBefore(d,p.nextSibling):f?.appendChild(d)}u&&f&&d&&(d.innerHTML=t)},[JSON.stringify(e),JSON.stringify(r),JSON.stringify(t),s]),E.useEffect(()=>{if(i===void 0)return;const d=c.current?.querySelector("iframe")?.contentDocument?.querySelector("head")?.querySelector(`#${nhe}`);d&&(d.innerHTML=i||"")},[JSON.stringify(i)]),C.jsxs(C.Fragment,{children:[C.jsx("div",{ref:c,className:L3("iframe-container full-width full-height",o&&"is-dark")}),s&&C.jsx("div",{className:"iframe-container-loader",children:C.jsx(td,{})})]})}),F7e=E.memo(({onClick:t,onMenuClick:e,component:r,variablesCss:n,editorCss:i,menuItems:o,isDarkBackground:s})=>{const{selector:a,type:l}=r,{attributes:c,listeners:u,setNodeRef:f,transform:d,transition:p}=bh({id:r.id}),h={transform:Po.Transform.toString(d),transition:p};return C.jsxs("div",{ref:f,style:h,...c,className:"components-card",children:[C.jsxs("header",{children:[C.jsx("div",{...u,className:"dnd-handle",children:C.jsx(mp,{label:a,position:"top-start",children:C.jsx("p",{className:"title",children:a})})}),C.jsxs("div",{className:"right-side",children:[C.jsxs(br,{transitionProps:{duration:0},shadow:"md",width:150,children:[C.jsx(br.Target,{children:C.jsx("button",{onClick:e||void 0,className:"btn-quaternary btn-box",children:C.jsx(hOt,{})})}),C.jsx(br.Dropdown,{children:o.map(({label:A,...g})=>C.jsx(br.Item,{...g,children:A},A))})]}),C.jsx("button",{onClick:t,className:"btn-secondary btn-s",children:"Edit"})]})]}),C.jsx("div",{className:"component-preview",children:C.jsx(N7e,{editorCss:i,variablesCss:n,type:l,selectors:[gee(a)],isDarkBackground:s})})]})});F7e.displayName="ComponentsCard";const yOt=t=>t===Dc?"":["before","after"].includes(t)?`::${t}`:`:${t}`,BOt={format:!0,combineSelectors:!1,propertyValidation:!1,valueValidation:!1},UZ=t=>{const{variants:e,selector:r}=t,n=[];return e?.map((i,o)=>{const s=t.variants?.find(l=>l.id===i.parentId),a=gO({mainSelector:r,variant:i,parentVariant:s});n.push({selector:a,declarations:i?.declarations,id:`c-${t.id}-${o}`})}),HA({cssObjects:n,options:BOt})},COt={format:!0,combineSelectors:!0,propertyValidation:!1,valueValidation:!1,manualDarkMode:!0};function bOt(){const[t,e]=E.useState(!1),[r,n]=E.useState(null),[i,o]=E.useState(""),[s,a]=E.useState([]),[l,c]=E.useState(!1),[u,f]=E.useState(!1),d=Xn(E.useCallback(Q=>Q(xs),[])),p=E.useMemo(()=>d().theme_mode==="auto"?!0:d().theme_mode==="dark",[]),[h,A]=Yn(L9e),[g,m]=Yn(UC),v=rd(ls(Xc),ls(qu,{coordinateGetter:Op})),y=Xn(E.useCallback(Q=>Q(T9e),[])),{getCssVarsObjects:b}=tx(),B=()=>e(!1),S=Q=>{m(z=>{const X=z.components.findIndex(G=>G.id===Q.id);if(X===-1)return z;const _=[...z.components];return _[X]=Q,{...z,components:_}})},w=Q=>{const z=g.components.find(X=>X.id===Q);z&&(n(z),e(!0))},x=async Q=>{await new Promise(G=>setTimeout(G,100));const z=g.components.reduce((G,W)=>Math.max(G,parseInt(W.id)),0),X=String(z+1),_={...bat,id:X,type:Q,selector:`.${Q}-${X}`};m(G=>({...G,components:[...G.components,_]})),n(_),e(!0)},I=Q=>{c(!1),m(z=>({...z,components:z.components.filter(X=>X.id!==Q)}))};ym(async()=>{const Q=y(),z=b(),X=[...Q,...z],_=await HA({cssObjects:X,options:COt});o(_)});const F=async()=>{const Q=g.components.map(X=>UZ(X)),z=await Promise.all(Q);a(z)};E.useEffect(()=>{F()},[JSON.stringify(g.components)]);const k=()=>m(Q=>({...Q,isDisabled:!Q.isDisabled})),O=E.useMemo(()=>[{icon:C.jsx(z3,{}),label:g?.isDisabled?"Enable":"Disable",onClick:async()=>{await new Promise(Q=>setTimeout(Q,50)),k()}},{icon:C.jsx(RY,{}),label:u?"Are you sure?":"Restore default styles",onClick:u?()=>{m(DI),f(!1)}:()=>f(!0),closeMenuOnClick:u,style:u?{background:"#c2344e"}:{}}],[JSON.stringify(g?.isDisabled),JSON.stringify(g?.isDisabled),u]),L=Q=>{const z=g.components.find(G=>G.id===Q);if(!z)return;const X=g.components.reduce((G,W)=>Math.max(G,parseInt(W.id)),0),_={...z,id:String(X+1)};m(G=>{const W=[...G.components],J=W.findIndex(q=>q.id===Q);if(J===-1)return G;const ee=[...W];return ee.splice(J+1,0,_),a(q=>{const Z=[...q];return Z.splice(J+1,0,Z[J]),Z}),{...G,components:ee}})},M=(Q,z)=>{g.components.find(_=>_.id===Q)&&m(_=>{const G=[..._.components],W=G.findIndex(ee=>ee.id===Q),J=[...G];if(W===-1)return _;if(z==="up"){if(W===0)return _;J.splice(W-1,0,J.splice(W,1)[0])}if(z==="down"){if(W===J.length-1)return _;J.splice(W+1,0,J.splice(W,1)[0])}return{..._,components:J}})},H=Q=>{const{active:z,over:X}=Q;if(!z||!X)return;const _=g.components.findIndex(W=>W.id===z.id),G=g.components.findIndex(W=>W.id===X.id);_===G||_===-1||G===-1||(a(W=>{const J=[...W];return J.splice(G,0,J.splice(_,1)[0]),J}),m(W=>{const J=[...W.components];return J.splice(G,0,J.splice(_,1)[0]),{...W,components:J}}))},V=async Q=>{const z=await z1({type:"component",data:Q});if(!z){wr.error("Something went wrong. Failed to export component.");return}sc(z.string),wr.success("Component exported.")},j=async()=>{try{const Q=(await navigator?.clipboard?.readText()).trim();if(!Q?.length){wr.message("Clipboard is empty.");return}const z=await l1({compressedString:Q});if(!z){wr.error("Clipboard does not contain component export.");return}if(String(z.type)!=="component"){wr.error("Something went wrong. Failed to paste component.");return}const X=z.data,_=g.components.reduce((J,ee)=>Math.max(J,parseInt(ee.id)),0),G=String(_+1),W={...X,id:G};m(J=>({...J,components:[...J.components,W]})),wr.success("Component imported.")}catch{wr.error("Something went wrong. Failed to paste component.")}},R=E.useCallback(()=>{A(Q=>!Q)},[]);return ym(()=>{A(p)},[p]),E.useEffect(()=>{setTimeout(()=>{const Q=document.getElementsByClassName("iframe-container");for(const z of Q){const _=(z.getElementsByTagName("iframe")?.[0]).contentDocument?.getElementsByTagName("html")?.[0];h?_?.classList?.add("cf-theme-dark"):_?.classList?.remove("cf-theme-dark")}},50)},[h]),i?C.jsxs("div",{className:"subsection",children:[C.jsx(lv,{onTargetClick:()=>f(!1),title:"Components",menuItems:O,rightItems:[C.jsx(Qr,{label:`Enable ${h?"light":"dark"} mode`,children:C.jsxs("button",{className:zr("theme-toggle",h?"dark-mode":"light-mode","full-height"),onClick:R,children:[C.jsx("span",{className:h?"":"active",children:C.jsx(_Y,{})}),C.jsx("span",{className:h?"active":"",children:C.jsx(MY,{})})]})},"theme-toggle")]}),g?.isDisabled?C.jsx(Qf,{onClick:k,title:"Module is disabled",description:"Click to enable"}):C.jsxs(C.Fragment,{children:[C.jsx(Uu,{sensors:v,collisionDetection:Hf,onDragEnd:H,children:C.jsx("div",{className:"grid columns-2 gap-m",children:C.jsx(Qu,{items:g.components.map(Q=>Q.id),strategy:hC,children:g.components.map((Q,z)=>C.jsx(F7e,{variablesCss:i,editorCss:s[z],onClick:()=>w(Q.id),component:Q,onMenuClick:()=>c(!1),menuItems:[{onClick:()=>L(Q.id),label:"Duplicate",icon:C.jsx(Uc,{})},{onClick:()=>M(Q.id,"up"),label:"Move up",icon:C.jsx(cv,{})},{onClick:()=>M(Q.id,"down"),label:"Move down",icon:C.jsx(gm,{})},{onClick:()=>V(Q),label:"Copy",icon:C.jsx(Xl,{})},{onClick:l?()=>I(Q.id):()=>c(!0),label:l?"Are you sure?":"Remove",style:l?{background:"#c2344e"}:{},closeMenuOnClick:l,icon:C.jsx(_s,{})}],isDarkBackground:h},Q.id))})})}),C.jsxs("div",{className:"row gap-m",children:[C.jsxs(br,{shadow:"md",width:100,children:[C.jsx(br.Target,{children:C.jsx("button",{className:"new-group with-icon",children:C.jsx(wo,{})})}),C.jsx(br.Dropdown,{children:LY.map(Q=>C.jsx(br.Item,{onClick:()=>x(Q),children:d4(Q)},Q))})]}),C.jsx(Qr,{label:"To import single component, paste exported component here",children:C.jsx(jY,{onclick:j})})]}),C.jsx(Ch,{onClose:B,withCloseButton:!1,withinPortal:!0,closeOnClickOutside:!1,target:document.getElementById("core-framework-init")??document.body,opened:t,transitionProps:{transition:"fade",duration:200},padding:0,size:"min(max(100vw - 3rem, 300px), 70rem)",children:r?C.jsx(P9e,{onUnMount:S,component:r,closeModal:B,onRemove:I,variablesCss:i}):null})]})]}):null}const H_="Spacing",ihe="space",T7e=t=>{const e=t.filter(({name:r})=>r.toLowerCase().startsWith(H_.toLowerCase())).length+1;return{name:e?`${H_} ${e}`:H_,varName:e?`${ihe}-${e}`:ihe}},L7e=(t,e=t.toLowerCase())=>({id:ht(),name:t,min:{size:16,scaleRatio:1.25},max:{size:28,scaleRatio:1.414,isCustomScaleRatio:!1,scaleRatioInputValue:1.333},steps:"4xs,3xs,2xs,xs,s,m,l,xl,2xl,3xl,4xl",namingConvention:e,baseScaleIndex:5,isRem:!0,mode:"fluid",manualSizes:[{min:5.24,max:4.95,name:`${e}-4xs`,css:"clamp(0.52rem, calc(-0.03vw + 0.53rem), 0.49rem)",id:ht()},{min:6.55,max:7,name:`${e}-3xs`,css:"clamp(0.66rem, calc(0.04vw + 0.64rem), 0.7rem)",id:ht()},{min:8.19,max:9.9,name:`${e}-2xs`,css:"clamp(0.82rem, calc(0.16vw + 0.77rem), 0.99rem)",id:ht()},{min:10.24,max:14,name:`${e}-xs`,css:"clamp(1.02rem, calc(0.35vw + 0.91rem), 1.4rem)",id:ht()},{min:12.8,max:19.8,name:`${e}-s`,css:"clamp(1.28rem, calc(0.65vw + 1.07rem), 1.98rem)",id:ht()},{min:16,max:28,name:`${e}-m`,css:"clamp(1.6rem, calc(1.11vw + 1.24rem), 2.8rem)",id:ht()},{min:20,max:39.59,name:`${e}-l`,css:"clamp(2rem, calc(1.81vw + 1.42rem), 3.96rem)",id:ht()},{min:25,max:55.98,name:`${e}-xl`,css:"clamp(2.5rem, calc(2.87vw + 1.58rem), 5.6rem)",id:ht()},{min:31.25,max:79.16,name:`${e}-2xl`,css:"clamp(3.13rem, calc(4.44vw + 1.71rem), 7.92rem)",id:ht()},{min:39.06,max:111.93,name:`${e}-3xl`,css:"clamp(3.91rem, calc(6.75vw + 1.75rem), 11.19rem)",id:ht()},{min:48.83,max:158.27,name:`${e}-4xl`,css:"clamp(4.88rem, calc(10.13vw + 1.64rem), 15.83rem)",id:ht()}]}),wOt=(t,e)=>{const{name:r,varName:n}=T7e(e);return{...t,name:r,id:ht(),namingConvention:n,manualSizes:t.manualSizes?.map(o=>({...o,id:ht(),name:o.name.replace(t.namingConvention,n)}))||[]}},xOt=(t,e)=>{switch(e.type){case"delete":{const{id:r}=e.payload,n=t?.groups.findIndex(i=>i.id===r);return n>-1&&t.groups.splice(n,1),{...t,groups:[...t.groups]}}case"duplicate":{const{id:r}=e.payload,n=t?.groups.find(o=>o.id===r);let i;return n&&(i=wOt(n,t.groups)),{...t,groups:[...t.groups,i].filter(Boolean)}}case"rename":{const{id:r,name:n}=e.payload,i=t?.groups.findIndex(o=>o.id===r);return t.groups[i]={...t.groups[i],name:n},{...t,groups:[...t.groups]}}case"reset":{const{id:r}=e.payload,n=t?.groups.find(s=>s.id===r),i=t?.groups.findIndex(s=>s.id===r);let o;return n&&(o=L7e(n?.name)),i>-1&&o&&t.groups.splice(i,1,o),{...t,groups:[...t.groups]}}case"update":{const{id:r,space:n}=e.payload,i=t?.groups.findIndex(o=>o.id===r);return t.groups[i]=n,{...t,groups:[...t.groups]}}case"create":{const{id:r,name:n}=e.payload;return{...t,groups:[...t.groups,{...e.payload,id:r||ht(),name:n||UY}]}}case"disable":{const r=!!t.isDisabled,n=r?[...Gc.groups]:[],i=r?[...Gc.classes??[]]:[];return{...t,groups:[...n],isDisabled:!t.isDisabled,classes:i}}default:return t}};function SOt(t){const[e,r]=E.useReducer(xOt,t??Gc);return{state:e,dispatch:r}}const EOt=E.memo(({value:t,onTitleChange:e,isActive:r,onContextMenu:n,onTabChange:i})=>C.jsx("div",{className:`tab-name ${r&&"active"}`,onContextMenu:o=>{o.preventDefault(),o.stopPropagation(),n?.(!0)},onClick:i,children:C.jsx(BI,{value:t,onBlur:()=>{},onChange:o=>e(o)})})),lh=E.memo(function(){return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 3",viewBox:"0 0 24 24",children:[C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M6 14L3.108 14"}),C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M11 9L3 9"}),C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M16 4L3.108 4"}),C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M11 16.829a2 2 0 01.586-1.414l4.743-4.743.085-.086a2 2 0 012.829 0l1.171 1.17a2 2 0 010 2.83l-.085.086-4.743 4.742a2 2 0 01-1.414.586H12a1 1 0 01-1-1z"}),C.jsx("path",{fill:"none",d:"M0 0H24V24H0z"})]})}),DOt=E.memo(({position:t,opened:e,onClose:r,onMenuAction:n,excludedItems:i})=>{const[o,s]=E.useState(!1),[a,l]=E.useState(!1),c=E.useMemo(()=>[{icon:C.jsx(lh,{}),label:"Rename",onClick:()=>n("rename")},{icon:C.jsx(Uc,{}),label:"Duplicate",onClick:()=>n("duplicate")},{icon:C.jsx(RY,{}),label:a?"Are you sure?":"Restore default",onClick:a?()=>{n("reset"),l(!1)}:()=>l(!0),closeMenuOnClick:a,style:a?{background:"#c2344e"}:{}},{icon:C.jsx(_s,{}),label:o?"Are you sure?":"Remove",onClick:o?()=>{n("delete"),s(!1)}:()=>s(!0),closeMenuOnClick:o,style:o?{background:"#c2344e"}:{}}].filter((u,f)=>!i?.includes(f)),[a,o,i]);return E.useEffect(()=>{e&&(s(!1),l(!1))},[e]),C.jsx("div",{className:"tab-menu",style:{left:`${t.x}px`,top:`${t.y}px`},children:C.jsxs(br,{opened:e,onChange:r,position:"bottom-end",children:[C.jsx(br.Target,{children:C.jsx("span",{})}),C.jsx(br.Dropdown,{children:c.map(({label:u,...f})=>C.jsx(br.Item,{...f,children:u},u))})]})})}),UB=E.memo(function(){return C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:C.jsxs("g",{fill:"none",children:[C.jsx("path",{d:"M0 0h24v24H0z"}),C.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M19 17H5a2 2 0 01-2-2V5a2 2 0 012-2h14a2 2 0 012 2v10a2 2 0 01-2 2zM14 17l.5 4M10 17l-.5 4M7.2 21h9.6M21 13.5H3"})]})})}),QB=E.memo(function(){return C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:C.jsxs("g",{fill:"none",children:[C.jsx("path",{d:"M0 0h24v24H0z"}),C.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M16 21H8a2 2 0 01-2-2V5a2 2 0 012-2h8a2 2 0 012 2v14a2 2 0 01-2 2z"}),C.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M11.999 17.25a.25.25 0 10.002.5.25.25 0 00-.002-.5M10.75 6h2.5"})]})})}),ohe=300,she=50;function kOt(t,e){if(!e)return Math.round((t+Number.EPSILON)*100)/100;const r=10**e;return Math.round((t+Number.EPSILON)*r)/r}function OOt(t){return parseFloat(t.toString().replace(/[^\w.-]+/g,""))}function G_(t,e){const r=OOt(t);return Number.isNaN(r)?"":kOt(r,e)}function W_(t){const e=typeof t=="string"?parseFloat(t):t;return typeof e!="number"||Number.isNaN(e)?0:e}function POt(t){return t===""?"":(t=t.toString(),t=t.replaceAll(/\d-\d/g,e=>e.replaceAll("-",",")),t=t.replaceAll(/-\.{1,}/g,"-"),t=t.replaceAll(/\+{1,}/g,""),t=t.replaceAll(/-{2,}/g,"-"),t=t.replaceAll(/\.-{1,}/g,"."),t=t.replaceAll(/\.{2,}/g,"."),t=t.replace(/\.0{1,}$/,".0"),t.match(/^-?(0|[1-9]\d*)(\.\d+)?$/g)?Number(t):t)}function as({value:t,onChange:e,onFocus:r,onBlur:n,onUnitChange:i,children:o,size:s,id:a,precision:l,step:c=1,min:u=Number.MIN_SAFE_INTEGER,max:f=Number.MAX_SAFE_INTEGER,unit:d="",hideControls:p=!1,allowMouseWheel:h=!1,onlyInteger:A=!1,defaultOnEmpty:g=""}){const[m,v]=E.useState(t),[y,b]=E.useState(0),[B,S]=E.useState(c),w=E.useRef(null),x=E.useRef(0),I=E.useRef(0),F=E.useRef(0),k=E.useRef(0);function O(ee){e(ee===void 0?"":ee)}function L(ee){if(ee===void 0||ee==="")return v(g);const q=typeof ee=="string"?W_(ee):ee,Z=Math.min(Math.max(q,u),f),re=G_(Z,l);if(A){const fe=parseInt(re.toString());v(fe);return}v(re)}function M({target:{value:ee}}){const q=ee.replace(/[^\d.,-]/g,"").replace(",",".");v(POt(q))}function H(){L(m),n&&n()}function V(){v(ee=>{ee===void 0&&(ee="");let q=W_(ee)+B;return q>f&&(q=f),G_(q,l)})}function j(){V(),F.current=window.setTimeout(()=>{x.current=window.setInterval(()=>{V()},she)},ohe)}function R(){window.clearTimeout(F.current),window.clearInterval(x.current)}function Q(){v(ee=>{ee===void 0&&(ee="");let q=W_(ee)-B;return q<u&&(q=u),G_(q,l)})}function z(){Q(),k.current=window.setTimeout(()=>{I.current=window.setInterval(()=>{Q()},she)},ohe)}function X(){window.clearTimeout(k.current),window.clearInterval(I.current)}function _(ee){document.activeElement===w.current&&(ee.preventDefault(),ee.stopPropagation(),b(ee.deltaY))}function G(ee){ee.preventDefault(),i&&typeof i=="function"&&i()}const W=E.useCallback(()=>S(c),[c]),J=E.useCallback(ee=>{if(ee.nativeEvent.isComposing)return;const{key:q}=ee,Z={ArrowUp:()=>V(),ArrowDown:()=>Q(),Home:()=>O(u),End:()=>O(f)},re={Shift:()=>S(c*10),Alt:()=>{c>.1&&S(c/10)}},fe=Z[q],de=re[q];de&&de(ee),fe&&(ee.preventDefault(),fe(ee))},[c,u,f]);return rh(()=>{m!==void 0&&m!==t&&O(m)},[m]),E.useLayoutEffect(()=>{t!==m&&v(t)},[t]),rh(()=>{const ee=Math.sign(y);ee===1&&Q(),ee===-1&&V()},[y]),E.useEffect(()=>{if(!h)return;const ee=w.current;return ee&&ee.addEventListener("wheel",_,{capture:!0,passive:!1}),()=>h&&ee?.removeEventListener("wheel",_)},[]),C.jsxs("div",{onKeyDown:J,onKeyUp:W,className:"input-wrapper",children:[o,C.jsx("input",{ref:w,onChange:M,onBlur:H,onFocus:r,value:m,inputMode:"decimal",type:"text",pattern:"[0-9]*(.[0-9]+)?",role:"spinbutton",autoComplete:"off",autoCorrect:"off","aria-invalid":Number(m)>f||Number(m)<u,...s&&{size:s},...B&&{step:B},...u&&{min:u},...f&&{max:f},...a&&{id:a}}),C.jsxs("div",{className:"input-controls",children:[d&&C.jsx("button",{onClick:G,className:zr("unit",[i&&"with-hover"]),tabIndex:i?0:-1,children:d}),!p&&C.jsxs("div",{className:"steppers",children:[C.jsx("button",{onPointerDown:j,onPointerUp:R,onMouseLeave:R,tabIndex:-1,children:"+"}),C.jsx("button",{onPointerDown:z,onPointerUp:X,onMouseLeave:X,tabIndex:-1,children:"-"})]})]})]})}const ZH=[{value:"1.067",label:"Minor Second (1.067)"},{value:"1.125",label:"Major Second (1.125)"},{value:"1.2",label:"Minor Third (1.2)"},{value:"1.25",label:"Major Third (1.25)"},{value:"1.333",label:"Perfect Fourth (1.333)"},{value:"1.414",label:"Augmented Fourth (1.414)"},{value:"1.5",label:"Perfect Fifth (1.5)"},{value:"1.6",label:"Minor Sixth (1.6)"},{value:"1.667",label:"Golden Ratio (1.667)"},{value:"1.778",label:"Major Sixth (1.778)"},{value:"1.875",label:"Minor Seventh (1.875)"}],ahe=[...ZH,{label:"Major Seventh (1.999)",value:"1.999"},{label:"Perfect Octave (2)",value:"2"}],h8=["25xs","24xs","23xs","21xs","20xs","19xs","18xs","17xs","16xs","15xs","14xs","13xs","12xs","11xs","10xs","9xs","8xs","7xs","6xs","5xs","4xs","3xs","2xs","xs","s","m","l","xl","2xl","3xl","4xl","5xl","6xl","7xl","8xl","9xl","10xl","11xl","12xl","13xl","14xl","15xl","16xl","17xl","18xl","19xl","20xl","21xl","22xl","23xl","24xl","25xl"],Z9=(t,e)=>{const r=t.split(",");if(e==="DOWN"){const o=h8.indexOf(r[r.length-1]),s=h8[o+1];return s?[...r,s].join(","):t}const n=h8.indexOf(r[0]),i=h8[n-1];return i?[i,...r].join(","):t},R7e=(t,e)=>{switch(e.type){case"minSize":return{...t,min:{...t.min,size:e.payload}};case"maxSize":return{...t,max:{...t.max,size:e.payload}};case"minScreenWidth":return{...t,min:{...t.min,screenWidth:e.payload}};case"maxScreenWidth":return{...t,max:{...t.max,screenWidth:e.payload}};case"minScaleRatio":return{...t,min:{...t.min,scaleRatio:e.payload}};case"maxScaleRatio":return{...t,max:{...t.max,scaleRatio:e.payload}};case"namingConvention":{const r=M1(e.payload);return{...t,namingConvention:r}}case"baseScaleIndex":return{...t,baseScaleIndex:e.payload};case"steps":return{...t,steps:e.payload};case"addStepBefore":{const r=Z9(t.steps,"UP");if(r===t.steps)return t;const n=Math.min(t.baseScaleIndex+1,t.steps.split(",").length);return{...t,steps:r,baseScaleIndex:n}}case"addStepAfter":{const r=Z9(t.steps,"DOWN");if(r===t.steps)return t;const n=Math.min(t.baseScaleIndex,t.steps.split(",").length);return{...t,steps:r,baseScaleIndex:n}}case"removeStepBefore":{const r=t.steps.split(",")[t.baseScaleIndex],n=t.steps.split(",").slice(1).join(","),i=n.split(",").findIndex(s=>s===r),o=Math.max(Math.min(i,n.split(",").length-1),0);return{...t,steps:n,baseScaleIndex:o}}case"removeStepAfter":{const r=t.steps.split(",")[t.baseScaleIndex],n=t.steps.split(",").slice(0,-1).join(","),i=n.split(",").findIndex(s=>s===r),o=Math.max(Math.min(i,n.split(",").length-1),0);return{...t,steps:n,baseScaleIndex:o}}case"updateFormData":return e.payload;case"toggleIsCustomMinScaleRatio":return{...t,min:{...t.min,isCustomScaleRatio:!t.min.isCustomScaleRatio,scaleRatioInputValue:Number(t.min.scaleRatioInputValue??t.min.scaleRatio)}};case"toggleIsCustomMaxScaleRatio":return{...t,max:{...t.max,isCustomScaleRatio:!t.max.isCustomScaleRatio,scaleRatioInputValue:Number(t.max.scaleRatioInputValue??t.max.scaleRatio)}};case"minScaleRatioInputValue":return{...t,min:{...t.min,scaleRatioInputValue:e.payload}};case"maxScaleRatioInputValue":return{...t,max:{...t.max,scaleRatioInputValue:e.payload}};case"updateManualSize":return{...t,manualSizes:e.payload};default:return t}},M7e=E.memo(({space:t,updateSpace:e})=>{const{root_font_size:r,is_rem:n,max_screen_width:i,min_screen_width:o}=tn(xs),[s,a]=E.useReducer(R7e,t),[l,c]=E.useState(!1),u=E.useMemo(()=>s,[s]),f=E.useMemo(()=>gC({spacingState:{groups:[s]},root_font_size:r||16,is_rem:!!n,max_screen_width:i||bs,min_screen_width:o||bn}),[s]),d=B=>a({type:"minSize",payload:B}),p=B=>a({type:"maxSize",payload:B}),h=()=>a({type:"addStepBefore"}),A=()=>a({type:"addStepAfter"}),g=B=>a({type:"minScaleRatio",payload:Number(B)}),m=B=>a({type:"maxScaleRatio",payload:Number(B)}),v=()=>{u.steps.split(",").length!==1&&a({type:"removeStepBefore"})},y=()=>{u.steps.split(",").length!==1&&a({type:"removeStepAfter"})};E.useEffect(()=>{JSON.stringify(t)!==JSON.stringify(u)&&(a({type:"updateFormData",payload:{...u}}),e({id:u.id,space:u}))},[u]),E.useEffect(()=>{s.name!==t.name&&a({type:"updateFormData",payload:{...u,name:t.name}})},[t.name]);const b=E.useMemo(()=>{const B=u.steps.split(",");return B.map((S,w)=>({label:B[w],value:String(w)}))},[u.steps]);return C.jsxs("div",{className:"grid gap-xl calculator-columns",children:[C.jsxs("div",{className:"grid bg-overlay-1 radius border-primary shadow-s",children:[C.jsx("span",{className:"padding-m text-m bg-overlay-1 border-bottom-primary",children:"Base Settings"}),C.jsx("div",{className:"grid gap-m padding-m border-bottom-primary",children:C.jsxs("div",{className:"grid gap-xs",children:[C.jsx("label",{htmlFor:"namingConvention",className:"pointer",children:"Naming Convention"}),C.jsx("input",{type:"text",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,name:"namingConvention",id:"namingConvention",value:u.namingConvention,onChange:B=>a({type:"namingConvention",payload:B.target.value})})]})}),C.jsxs("div",{className:"grid gap-m padding-m border-bottom-primary",children:[C.jsxs("div",{className:"grid gap-xs",children:[C.jsx("label",{htmlFor:"min-size",className:"pointer",children:"Min Size"}),C.jsx(as,{id:"min-size",onChange:d,value:u.min.size,allowMouseWheel:!0,unit:"px",min:0,max:Number(u.max.size),step:.1})]}),C.jsxs("div",{className:"grid gap-xs",children:[C.jsxs("div",{className:"row gap-xs space-between",children:[C.jsx("label",{htmlFor:"min-scale-ratio",className:"pointer",children:"Min Scale Ratio"}),C.jsx(Qr,{label:"Toggle input",children:C.jsx("button",{onClick:()=>a({type:"toggleIsCustomMinScaleRatio"}),children:C.jsx(lh,{})})})]}),u.min?.isCustomScaleRatio?C.jsx(as,{id:"min-scale-ratio",onChange:B=>a({type:"minScaleRatioInputValue",payload:Number(B)}),value:u.min.scaleRatioInputValue??1,min:1,max:5,step:.01,precision:8,allowMouseWheel:!0}):C.jsx(ra,{id:"min-scale-ratio",placeholder:"All breakpoints",data:ahe,onChange:g,value:String(u.min.scaleRatio),transitionProps:{duration:150,transition:"fade"}})]})]}),C.jsxs("div",{className:"grid gap-m padding-m border-bottom-primary",children:[C.jsxs("div",{className:"grid gap-xs",children:[C.jsx("label",{htmlFor:"max-size",className:"pointer",children:"Max Size"}),C.jsx(as,{id:"max-size",onChange:p,value:u.max.size,allowMouseWheel:!0,unit:"px",min:Number(u.min.size),max:100,step:.1})]}),C.jsxs("div",{className:"grid gap-xs",children:[C.jsxs("div",{className:"row gap-xs space-between",children:[C.jsx("label",{htmlFor:"max-scale-ratio",className:"pointer",children:"Max Scale Ratio"}),C.jsx(Qr,{label:"Toggle input",children:C.jsx("button",{onClick:()=>a({type:"toggleIsCustomMaxScaleRatio"}),children:C.jsx(lh,{})})})]}),u.max?.isCustomScaleRatio?C.jsx(as,{id:"max-scale-ratio",onChange:B=>a({type:"maxScaleRatioInputValue",payload:Number(B)}),value:u.max.scaleRatioInputValue??1,min:1,max:5,step:.01,precision:8,allowMouseWheel:!0}):C.jsx(ra,{id:"max-scale-ratio",placeholder:"All breakpoints",data:ahe,onChange:m,value:String(u.max.scaleRatio),transitionProps:{duration:150,transition:"fade"}})]})]}),C.jsx("div",{className:"grid gap-m padding-m",children:C.jsxs("div",{className:"grid gap-xs",children:[C.jsx("label",{htmlFor:"base-scale-index",className:"pointer",children:"Base Scale Index"}),C.jsx(ra,{onChange:B=>a({type:"baseScaleIndex",payload:Number(B)}),id:"base-scale-index",value:String(u.baseScaleIndex),data:b,transitionProps:{duration:150,transition:"fade"}})]})})]}),C.jsx("div",{className:"grid gap-s",children:C.jsxs("ul",{className:"grid border-primary radius relative",children:[C.jsx("button",{onClick:h,className:"add-remove add-previous",children:C.jsx(wo,{})}),C.jsx("button",{onClick:v,className:"add-remove remove-previous",children:"-"}),f?.declarations.length&&f.declarations.map((B,S)=>C.jsxs("li",{className:zr("class-row typo-layout",{selected:S===u.baseScaleIndex}),children:[C.jsx(Qr,{label:l?"Copied!":"Copy",style:{backgroundColor:l?"green":""},children:C.jsx("span",{className:"opacity-60 text-l copy",onClick:()=>{sc(`var(${Object.keys(B)[0]})`),c(!0),setTimeout(()=>c(!1),1e3)},children:Object.keys(B)[0]})}),C.jsxs("div",{className:"calculator-preview",children:[C.jsxs("div",{className:"calculator-preview-single",children:[C.jsxs("span",{children:[f.typeScales[S].min,"px"]}),C.jsxs("div",{className:"row gap-s",children:[C.jsx(QB,{}),C.jsx("div",{className:"spacing-preview",style:{width:`${f.typeScales[S].min}px`}})]})]}),C.jsxs("div",{className:"calculator-preview-single",children:[C.jsxs("span",{children:[Number(f.typeScales[S].max)<Number(f.typeScales[S].min)?f.typeScales[S].min:f.typeScales[S].max,"px"]}),C.jsxs("div",{className:"row gap-s",children:[C.jsx(UB,{}),C.jsx("div",{className:"spacing-preview",style:{width:`${Number(f.typeScales[S].max)<Number(f.typeScales[S].min)?f.typeScales[S].min:f.typeScales[S].max}px`}})]})]})]})]},`${f.typeScales[S].min}${S}`)),C.jsx("button",{className:"add-remove add-next",onClick:A,children:C.jsx(wo,{})}),C.jsx("button",{onClick:y,className:"add-remove remove-next",children:"-"})]})})]})});M7e.displayName="TypeScale";const _7e=E.memo(({size:t,onSpaceChange:e,spacingState:r})=>{const[n,i]=E.useState(!1),{min_screen_width:o,max_screen_width:s,root_font_size:a,is_rem:l}=tn(xs),{attributes:c,listeners:u,setNodeRef:f,transform:d,transition:p}=bh({id:t.id}),h=v=>{const y=[...r?.manualSizes||[]],b=y.findIndex(S=>S.id===v);if(b===-1)return;const B={...y[b],id:ht()};y.splice(b+1,0,B),e(y)},A=v=>{if(!n){i(!0);return}const y=[...r?.manualSizes||[]],b=y.findIndex(B=>B.id===v);b!==-1&&(y.splice(b,1),e(y))},g=({id:v,direction:y})=>{const b=[...r?.manualSizes||[]],B=b.findIndex(w=>w.id===v);if(B===-1)return;const S=b[B];y==="up"?(b.splice(B,1),b.splice(B-1,0,S)):(b.splice(B,1),b.splice(B+1,0,S)),e(b)},m={transform:Po.Transform.toString(d)?.split(")")[0]!==void 0?`${Po.Transform.toString(d)?.split(")")[0]})`:"",transition:p};return C.jsxs("li",{ref:f,style:m,...c,className:"class-row typo-layout-manual",children:[C.jsxs("div",{className:"prefixed-input-container",children:[C.jsx("span",{children:"--"}),C.jsx("input",{type:"text",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,value:t.name,onChange:v=>{const y=[...r?.manualSizes||[]],b=y.findIndex(B=>B.id===t.id);b!==-1&&(y[b].name=M1(v.target.value),e(y))}})]}),C.jsx(as,{value:t.min,onChange:v=>{const y=[...r?.manualSizes||[]],b=y.findIndex(B=>B.id===t.id);b!==-1&&(y[b].min=Number(v),y[b].css=U1({minFontSize:Number(v),maxFontSize:y[b].max,minScreenWidth:o||bn,maxScreenWidth:s||bs,isRem:!!l,rootFontSize:a}),e(y))},max:t.max,min:0,unit:"px",allowMouseWheel:!0}),C.jsx(as,{value:t.max,onChange:v=>{const y=[...r?.manualSizes||[]],b=y.findIndex(B=>B.id===t.id);b!==-1&&(y[b].max=Number(v),y[b].css=U1({minFontSize:y[b].min,maxFontSize:Number(v),minScreenWidth:o||bn,maxScreenWidth:s||bs,isRem:!!l,rootFontSize:a}),e(y))},max:2e3,min:t.min,unit:"px",allowMouseWheel:!0}),C.jsxs("div",{className:"calculator-preview",children:[C.jsxs("div",{className:"calculator-preview-single row gap-s",children:[C.jsx(QB,{}),C.jsx("div",{className:"spacing-preview",style:{width:`${t.min}px`}})]}),C.jsxs("div",{className:"calculator-preview-single",children:[C.jsx(UB,{}),C.jsx("div",{className:"spacing-preview",style:{width:`${t.max}px`}})]})]}),C.jsxs(br,{transitionProps:{duration:0},shadow:"md",width:150,children:[C.jsx(br.Target,{children:C.jsx("button",{onClick:()=>i(!1),className:"class-settings",...u,children:C.jsx(j1,{})})}),C.jsxs(br.Dropdown,{children:[C.jsx(br.Item,{onClick:()=>h(t.id),icon:C.jsx(Uc,{}),children:"Duplicate"}),C.jsx(br.Item,{onClick:()=>g({id:t.id,direction:"up"}),icon:C.jsx(cv,{}),children:"Move Up"}),C.jsx(br.Item,{onClick:()=>g({id:t.id,direction:"down"}),icon:C.jsx(gm,{}),children:"Move Down"}),C.jsx(br.Item,{onClick:()=>A(t.id),icon:C.jsx(_s,{}),closeMenuOnClick:n,style:n?{background:"#c2344e"}:{},children:n?"Are you sure?":"Delete"})]})]})]})});_7e.displayName="ManualRow";function IOt({spacingState:t,preferences:{min_screen_width:e,max_screen_width:r,root_font_size:n,is_rem:i}}){const{typeScales:o}=gC({min_screen_width:e??bn,max_screen_width:r??bs,is_rem:!!i,root_font_size:n??ha.root_font_size,spacingState:{groups:[t]}}),{namingConvention:s,steps:a}=t,l=a.split(",");return o.map((c,u)=>({name:l[u]?`${s}-${l[u]}`:Qat,min:Number(c.min),max:Number(c.max),css:U1({minFontSize:Number(c.min),maxFontSize:Number(c.max),minScreenWidth:e||bn,maxScreenWidth:r||bs,isRem:!!i,rootFontSize:n}),id:ht()}))}const j7e=E.memo(({space:t,updateSpace:e})=>{const[r,n]=E.useReducer(R7e,t),i=E.useMemo(()=>r,[r]),{min_screen_width:o,max_screen_width:s,root_font_size:a,is_rem:l}=tn(xs),c=rd(ls(Xc,{activationConstraint:{distance:15}}),ls(qu,{coordinateGetter:Op})),u=()=>{const h={...$at,id:ht()};n({type:"updateManualSize",payload:[...r.manualSizes||[],h]})},f=()=>{const h=IOt({preferences:{min_screen_width:o,max_screen_width:s,root_font_size:a,is_rem:l},spacingState:i});n({type:"updateManualSize",payload:h})},d=h=>{const{active:A,over:g}=h;if(A.id===g.id)return;const m=[...i?.manualSizes||[]],v=m.findIndex(B=>B.id===A.id),y=m.findIndex(B=>B.id===g.id);if(v===-1||y===-1)return;const b=m[v];m.splice(v,1),m.splice(y,0,b),n({type:"updateManualSize",payload:m})},p=()=>{const h=[...i?.manualSizes||[]].sort((A,g)=>A.min-g.min);n({type:"updateManualSize",payload:h})};return E.useEffect(()=>{JSON.stringify(t)!==JSON.stringify(i)&&(n({type:"updateFormData",payload:{...i}}),e({id:i.id,space:i}))},[i]),C.jsxs("div",{className:"subsection",style:{padding:0,marginTop:"1rem"},children:[C.jsxs("div",{className:"row gap-m",children:[C.jsx("button",{onClick:f,className:"btn-tertiary btn-s",children:"Copy Automatic"},"1"),C.jsx("button",{onClick:p,className:"btn-tertiary btn-s",children:"Sort Sizes"})]}),C.jsxs("div",{className:"class-row typo-layout-manual header",children:[C.jsx("span",{children:"Variable Name"}),C.jsx("span",{children:"Min Size"}),C.jsx("span",{children:"Max Size"}),C.jsx("span",{children:"Preview"})]}),C.jsxs("ul",{className:"grid border-primary radius relative",children:[C.jsx(Uu,{sensors:c,collisionDetection:Hf,onDragEnd:h=>d(h),children:C.jsx(Qu,{items:i?.manualSizes?.map(h=>h.id)||[],strategy:vm,children:i?.manualSizes?.map((h,A)=>C.jsx(_7e,{size:h,spacingState:i,onSpaceChange:g=>{n({type:"updateManualSize",payload:g}),e({id:i.id,space:{...i,manualSizes:g}})}},h.id))})}),C.jsx("button",{className:"add-remove add-next",onClick:u,children:C.jsx(wo,{})})]})]})});j7e.displayName="Manual";const NOt=[{label:"Automatic",value:"fluid"},{label:"Manual",value:"fluid_manual"}],FOt=E.memo(({space:t,updateSpace:e})=>{const[r,n]=Yn(ef),i=E.useMemo(()=>r.groups.find(({id:a})=>a===t.id),[r]),o=E.useMemo(()=>i?.mode,[i]),s=a=>{n(l=>{const c=l.groups.findIndex(p=>p.id===t.id);l.groups[c]={...l.groups[c],mode:a};const u=l.groups.filter(p=>p.mode==="fluid_manual").map(p=>p.id),f=l?.classes?.filter(p=>u.includes(p.tabId)&&!p.isDisabled),d=l.has_legacy_manual_class_generator?!!f?.length:!1;return{...l,has_legacy_manual_class_generator:d,groups:[...l.groups]}})};return C.jsxs("div",{className:"tab-subsection",children:[C.jsxs("div",{className:"mode-selection",children:[C.jsx(wY,{onChange:a=>s(a),data:NOt,value:o}),o==="fluid_manual"&&C.jsxs("div",{className:"mode-note",children:["Note: the manual tab is disabled from the class generators. ",C.jsx("a",{href:"https://docs.coreframework.com/navigating-the-ui/spacing#info-on-class-generation",target:"_blank",children:"Read why."})]})]}),[void 0,"fluid"].includes(o)&&i&&C.jsx(M7e,{space:i,updateSpace:a=>e(a)}),o==="fluid_manual"&&i&&C.jsx(j7e,{space:i,updateSpace:a=>e(a)})]})}),Gu=E.memo(function(){return C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"12",fill:"none",viewBox:"0 0 18 12",children:C.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6.743 10.49L16.316 1M1 4.796l5.743 5.693"})})}),QZ=E.memo(function(){return C.jsx("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 9.50006C1 10.3285 1.67157 11.0001 2.5 11.0001H4L4 10.0001H2.5C2.22386 10.0001 2 9.7762 2 9.50006L2 2.50006C2 2.22392 2.22386 2.00006 2.5 2.00006L9.5 2.00006C9.77614 2.00006 10 2.22392 10 2.50006V4.00002H5.5C4.67158 4.00002 4 4.67159 4 5.50002V12.5C4 13.3284 4.67158 14 5.5 14H12.5C13.3284 14 14 13.3284 14 12.5V5.50002C14 4.67159 13.3284 4.00002 12.5 4.00002H11V2.50006C11 1.67163 10.3284 1.00006 9.5 1.00006H2.5C1.67157 1.00006 1 1.67163 1 2.50006V9.50006ZM5 5.50002C5 5.22388 5.22386 5.00002 5.5 5.00002H12.5C12.7761 5.00002 13 5.22388 13 5.50002V12.5C13 12.7762 12.7761 13 12.5 13H5.5C5.22386 13 5 12.7762 5 12.5V5.50002Z",fill:"currentColor"})})}),TOt=1500;function U7e(){const[t,e]=E.useState(!1);return{isCopied:t,copy:async n=>{if(!navigator?.clipboard)return console.warn("Clipboard not supported"),!1;try{return await navigator.clipboard.writeText(n),e(!0),setTimeout(()=>{e(!1)},TOt),!0}catch(i){return console.warn("Copy failed",i),!1}}}}const VZ=E.memo(function(){return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",children:[C.jsx("rect",{width:"256",height:"256",fill:"none"}),C.jsx("circle",{cx:"92",cy:"60",r:"12",fill:"currentColor"}),C.jsx("circle",{cx:"164",cy:"60",r:"12",fill:"currentColor"}),C.jsx("circle",{cx:"92",cy:"128",r:"12",fill:"currentColor"}),C.jsx("circle",{cx:"164",cy:"128",r:"12",fill:"currentColor"}),C.jsx("circle",{cx:"92",cy:"196",r:"12",fill:"currentColor"}),C.jsx("circle",{cx:"164",cy:"196",r:"12",fill:"currentColor"})]})}),$Z=({id:t,children:e,className:r})=>{const{attributes:n,listeners:i,setNodeRef:o,transform:s,transition:a}=bh({id:t,attributes:{tabIndex:-1}}),l={transform:Po.Transform.toString(s)?.split(")")[0]!==void 0?`${Po.Transform.toString(s)?.split(")")[0]})`:"",transition:a};return C.jsxs("div",{ref:o,style:l,...n,className:zr(r),children:[C.jsx("div",{...i,className:"dnd-handle grab transition-global",children:C.jsx("div",{className:"svg-s",children:C.jsx(VZ,{})})}),e]})},aN=E.memo(function(){return C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:C.jsxs("g",{fill:"none",children:[C.jsx("path",{d:"M0 0h24v24H0z"}),C.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M13.78 4l-3.56 16M18 8l4 4-4 4M6 16l-4-4 4-4"})]})})});aN.displayName="Code";const lN=E.memo(function(){return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 3",viewBox:"0 0 24 24",children:[C.jsx("path",{fill:"none",d:"M0 0h24v24H0z"}),C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M3.006 11L17.952 11"}),C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M5 4l4 4M16.732 20.272h0a2.475 2.475 0 010-3.515h0L18.501 15l1.768 1.757a2.477 2.477 0 010 3.515h0a2.512 2.512 0 01-3.537 0zM17.707 11.406l-5.716 5.715a3 3 0 01-4.242 0l-3.87-3.87a3 3 0 010-4.242l5.715-5.716a1 1 0 011.415 0l6.698 6.698a1 1 0 010 1.415z"})]})}),HZ=E.memo(function(){return C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:C.jsx("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",children:C.jsx("path",{d:"M3 4v16M21 4v16M12 4v16M16 10l2 2-2 2M8 14l-2-2 2-2"})})})}),LOt=[["FLUID_TYPOGRAPHY",["font-size","line-height","letter-spacing"]],["COLOR_SYSTEM",["color","background","border","border-top","border-right","border-bottom","border-left","border-color","border-top-color","border-right-color","border-bottom-color","border-left-color","fill","stroke","background-color","outline-color","box-shadow","text-shadow","caret-color","column-rule-color","outline"]],["SPACING",["margin","padding","margin-top","margin-block-start","margin-bottom","margin-block-end","margin-left","margin-inline-start","margin-right","margin-inline-end","padding-top","padding-block-start","padding-bottom","padding-block-end","padding-left","padding-inline-start","padding-right","padding-inline-end","top","inset-block-start","bottom","inset-block-end","left","inset-inline-start","right","inset-inline-end","width","height","min-width","min-height","max-width","max-height","grid-gap","grid-column-gap","grid-row-gap","grid-template-columns","grid-template-rows","grid-auto-columns","grid-auto-rows","grid-auto-flow","grid-column","grid-column-start","grid-column-end","grid-row","grid-row-start","grid-row-end","gap","column-gap","row-gap","column-rule","column-rule-width","column-count","column-width","column-span","column-fill","column-gap","column-rule","column-rule-width","column-count","column-width","column-span","column-fill","border-radius","border-top-left-radius","border-top-right-radius","border-bottom-left-radius","border-bottom-right-radius","border-top","border-top-width","border-right","border-right-width","border-bottom","border-bottom-width","border-left","border-left-width","border-width","border-top-width","border-right-width","border-bottom-width","border-left-width","border-width","border-top-width","border-right-width","border-bottom-width","border-left-width","border-width","border-top-width","border-right-width","border"]]],lhe=({key:t,globalVariables:e})=>{switch(t){case"FLUID_TYPOGRAPHY":return e.FLUID_TYPOGRAPHY.map(r=>({value:$T(r),group:"Typography"}));case"COLOR_SYSTEM":return e.COLOR_SYSTEM.map(r=>({value:$T(r.name),color:r.colorValue,...r.transparent&&{transparent:r.transparent},group:"Colors"}));case"SPACING":return e.SPACING.map(r=>({value:$T(r),group:"Spacing"}));case"GLOBAL":return e.GLOBAL.map(r=>({value:r,group:"Global"}));default:return[]}};function ROt(){const[t,e]=E.useState([]),r=Xn(E.useCallback(i=>i(g4),[])),n=E.useCallback(async i=>{const o=W1?.[i]?.values.filter(u=>!(u?.startsWith("(")||u?.startsWith("[")||u?.startsWith("[prop"))).map(u=>({value:u,group:"CSS Values"}))??[],s=await r(),a=LOt.filter(([,u])=>u.includes(i)).map(([u])=>lhe({key:u,globalVariables:s})),l=lhe({key:"GLOBAL",globalVariables:s}),c=Um([...a,l,o]).map(u=>{if(u.value.startsWith("var(--")){const f=u.value.replace("var(","").replace(")","");return{...u,value:f}}return u});e(c)},[]);return{propertySuggestions:R9t,valueSuggestions:t,refreshSuggestions:kit(n,30)}}const MOt=["font-size","line-height","letter-spacing","margin","padding","width","height","border-radius","border-width","border-top-width","border-bottom-width","border-left-width","border-right-width","border-top-left-radius","border-top-right-radius","border-bottom-left-radius","border-bottom-right-radius","border-image-width","border-image-outset","border-image-slice","border-image-width"],_Ot=["color","background-color","border-color","box-shadow","text-shadow","fill","stroke","outline-color","caret-color","column-rule-color","background"],jOt=t=>_Ot.includes(t),UOt=t=>MOt.includes(t);function Q7e(t,e){E.useEffect(()=>{const r=n=>{!t.current||t.current.contains(n.target)||e(n)};return document.addEventListener("mousedown",r),document.addEventListener("touchstart",r),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("touchstart",r)}},[t,e])}function z_(t,e){if(!(e.includes(" ")&&t))return t;const n=e.split(" "),i=n.at(-1),o=`${i}${t}`.replace(i??"","");return`${n.splice(0,n.length-1).join(" ")} ${o??""}`}const eO=E.memo(({onChange:t,onFocus:e,onBlur:r,onAddNewRow:n,onSuggestionPreview:i,onSuggestionPreviewAbort:o,onPaste:s,value:a,data:l,allowMultipleWords:c,placeholder:u,onBackspaceEmpty:f,refreshSuggestions:d})=>{const[p,h]=E.useState(a),[A,g]=E.useState(!1),[m,v]=E.useState(null),y=E.useRef(null),b=E.useRef({}),B=E.useRef(null),S=E.useMemo(()=>{if(!p)return l;let X=p;const _=["v","va","var","var(","var(-","var(--"];for(const W of _)W.includes(p)&&(X=X.replace(W,"--"));p.startsWith("var(--")&&p.endsWith(")")&&(X=p.replace("var(--","").replace(")",""));const G=l.filter(W=>W.value.startsWith(X?.toLowerCase())&&W.value!==X||W.value.replace("--","").startsWith(X?.toLowerCase())||L9t.get(W.value)?.startsWith(X?.toLowerCase()));if(G.length||!c)return G;if(X.includes(" ")){const W=X.split(" "),J=W.at(-1)||"";return l.filter(ee=>ee.value.startsWith(J?.toLowerCase())&&!W.includes(ee.value))}return[]},[l,p]),w=E.useMemo(()=>{const X={};for(let _=0;_<S.length;_++){const G=S[_];G.group&&(X[G.group]||(X[G.group]=[]),X[G.group].push({...G,i:_})),G.group||(X[""]||(X[""]=[]),X[""].push({...G,i:_}))}return X},[S]);function x({target:X}){const{value:_}=X;A||g(!0),v(null),h(_),t(_)}function I(X){X.startsWith("--")&&(X=`var(${X})`);const _=p.includes(" ");if(o&&setTimeout(()=>{o()},250),_||h(X),_){const G=p.split(" "),W=G.at(-1),J=`${W}${X}`.replace(W??"",""),ee=`${G.splice(0,G.length-1).join(" ")} ${J}`;h(ee)}g(!1)}function F(X){I(X),g(!1)}function k(X,_,G){let W=X;for(;G(W);)return W=_(W),W;return X}function O(){v(X=>{const _=k(X??-1,W=>W+1,W=>W<S.length-1),G=b?.current[S[_]?.value];if(DV(B?.current,G,!0),i&&_!==void 0){//! FIX ME This is totally hacky, pls fix setTimeout(()=>{i(z_(S[_]?.value,p))},0)}return _})}function L(){v(X=>{const _=k(X??1,W=>W-1,W=>W>0),G=b?.current[S[_]?.value];return DV(B?.current,G,!0),i&&_!==void 0&&setTimeout(()=>{const W=z_(S[_]?.value,p);i(W)},0),_})}function M(X){g(!1);const _=m!==null&&m!==-1,G=S.length>0;if(!(_&&G)){X&&n?.(X);return}const W=Number(m)>S.length-1?S.length-1:m,J=S[W]?.value;J&&I(J)}async function H(X){const{currentTarget:_}=X;X.preventDefault(),A&&M(),await new Promise(G=>setTimeout(G,10)),r?.(),setTimeout(()=>{n&&n(X);const G=_,W=!!G.parentElement?.parentElement?.classList.contains("value-column"),J=G?.parentElement?.parentElement;(W?J?.nextElementSibling?.querySelector(".autocomplete-wrapper input"):J?.querySelector(".value-column input"))?.focus()},50)}function V(X){X.preventDefault(),g(!1),v(null);const _=X.currentTarget,G=!!_.parentElement?.parentElement?.classList.contains("value-column"),J=_?.parentElement?.parentElement?.previousElementSibling?.querySelector(G?".autocomplete-wrapper input":".value-column input");J?.scrollIntoView({behavior:"smooth",block:"nearest"}),J?.focus()}function j(X){const{key:_}=X;switch(["ArrowDown","ArrowUp","Enter"].includes(_)&&(X.preventDefault(),X.stopPropagation()),_){case"ArrowDown":{O();break}case"ArrowUp":{L();break}case"Enter":{M(X);break}case"Tab":{if(X.shiftKey){V?.(X);return}H(X);break}case"Backspace":{p===""&&(X.preventDefault(),f?.(),g(!1),v(null));break}}}function R(){e&&e(),g(!0),v(null),setTimeout(()=>{g(!0),v(null),l.length||d?.()},5)}function Q(){r&&r(),v(null),o&&o()}function z(X){if(!i)return;const _=X.target;if(!_)return;const W=(_.querySelector("span")?.textContent??"").trim();if(!W){o?.();return}i(z_(W,p))}return E.useEffect(()=>{a!==p&&h(a)},[JSON.stringify(a)]),E.useEffect(()=>{t(p)},[JSON.stringify(p)]),E.useEffect(()=>(document?.querySelector(".content")?.addEventListener("scroll",()=>g(!1)),()=>o?.()),[]),Q7e(y,X=>{[...X.target?.classList].includes("_drop-item")||g(!1)}),C.jsxs("div",{className:"autocomplete-wrapper",children:[A&&Object.keys(w).length?C.jsx("div",{ref:B,"data-selected":m,className:"suggestions-wrapper",style:{width:y?.current?.offsetWidth,left:y?.current?.getBoundingClientRect().left,top:y?.current?.getBoundingClientRect().top},children:Object.keys(w).map(X=>C.jsxs("div",{children:[X&&C.jsx("div",{className:"item group-title",children:X}),w[X].map(({value:_,color:G,transparent:W,i:J})=>C.jsxs("div",{onMouseEnter:z,onMouseLeave:o,onClick:()=>F(_),ref:ee=>{ee&&(b.current[_]=ee)},className:zr("item _drop-item",{selected:J===m}),children:[G&&C.jsx("div",{onClick:()=>F(_),className:"color-hint _drop-item",style:{background:G,opacity:W?W/100:1}}),C.jsx("span",{className:"_drop-item",onClick:()=>F(_),children:_})]},_))]},X))}):null,C.jsx("input",{ref:y,onChange:x,onFocus:R,onBlur:Q,onKeyDown:j,onPaste:s,value:p,placeholder:u||"Enter value",className:"autocomplete-input",autoComplete:"off",spellCheck:"false"})]})});eO.displayName="Autocomplete";const che=({minSize:t,maxSize:e,minScreenWidth:r,maxScreenWidth:n,rootFontSize:i=16,sizeUnit:o="px"})=>{const s={fontSize:Number(t),breakpoint:r},a={fontSize:Number(e),breakpoint:n},l=(a.fontSize-s.fontSize)/(a.breakpoint-s.breakpoint),c=`${Hi(l*100)}vw`,u=s.fontSize-l*s.breakpoint,f={min:`${Hi(s.fontSize)}${o}`,max:`${Hi(a.fontSize)}${o}`,preferred:`${c} + ${Hi(u)}${o}`};return{clamp:`clamp(${f.min}, calc(${f.preferred}), ${f.max})`,args:f}},V7e=E.memo(({value:t,onChange:e})=>{const[r,n,i]=t,o=Xn(E.useCallback(h=>h(xs),[])),[s,a]=E.useState(r||""),[l,c]=E.useState(n||""),[u]=E.useState(i||"px"),[f,d]=E.useState(()=>{const{min_screen_width:h,max_screen_width:A,root_font_size:g}=o();if([s,l].includes(""))return"";const{clamp:m}=che({minSize:Number(s),maxSize:Number(l),minScreenWidth:Number(h),maxScreenWidth:Number(A),rootFontSize:Number(g),sizeUnit:u});return m}),p=h=>{d(h);const A={min:s===""?"":Number(s),max:l===""?"":Number(l),unit:u};e([A.min,A.max,A.unit])};return ym(()=>{const{min_screen_width:h,max_screen_width:A,root_font_size:g}=o();if([s,l].includes(""))return p("");const{clamp:m}=che({minSize:Number(s),maxSize:Number(l),minScreenWidth:Number(h),maxScreenWidth:Number(A),rootFontSize:Number(g),sizeUnit:u});p(m)}),E.useEffect(()=>{const h={min:s===""?"":Number(s),max:l===""?"":Number(l),unit:u};e([h.min,h.max,h.unit])},[s,l,u]),C.jsxs("div",{className:"clamp-value row align-center gap-xs",children:[C.jsx(Qr,{label:f,children:C.jsx("p",{onClick:()=>sc(f),children:"Min"})}),C.jsx(as,{size:4,min:0,value:s,unit:u,hideControls:!0,onChange:h=>a(h)}),C.jsx("p",{children:"Max"}),C.jsx(as,{size:4,min:0,value:l,unit:u,hideControls:!0,onChange:h=>c(h??"")})]})}),QOt=["text","color","fluid"],VOt={text:C.jsx(aN,{}),color:C.jsx(lN,{}),fluid:C.jsx(HZ,{})},$Ot={text:"Switch to custom input",color:"Switch to color input",fluid:"Switch to fluid input"},uhe=(t,e,r)=>{if(!t)return r[1]??"text";const n=r.indexOf(t);return n===r.length-1?"text":r[n+1]},GZ=E.memo(({onPropertyChange:t,onValueChange:e,onColorValueChange:r,onFluidValueChange:n,onTypeChange:i,onNewRow:o,onSuggestionPreview:s,onSuggestionPreviewAbort:a,onRemoveRow:l,onPaste:c,property:u,value:f,colorValue:d,fluidValue:p,type:h,selectData:A,hideTypeColumn:g})=>{const[m,v]=E.useState(u),[y,b]=E.useState(f),[B,S]=E.useState(d),[w,x]=E.useState(p??[0,0,"px"]),{refreshSuggestions:I,valueSuggestions:F,propertySuggestions:k}=ROt(),O=Al(m,100),L=Al(y,100),M=Al(B,100),H=Al(w,100),V=E.useRef(null),j=E.useMemo(()=>QOt.filter(Z=>Z==="color"?jOt(u):Z==="fluid"?UOt(u):!0),[u]),R=E.useMemo(()=>VOt[h||"text"],[h]),Q=E.useMemo(()=>$Ot[uhe(h,u,j)],[h,u,j]);function z(Z){v(Z)}function X(Z){b(Z)}function _(){I(m)}function G(){I(m)}function W(){f!==y&&e(y)}function J(Z){o&&o(Z)}function ee(Z){s&&s({property:m,value:Z})}function q(){const Z=document.activeElement;if(!Z)return;Z.parentElement?.parentElement?.parentElement?.querySelector(".autocomplete-wrapper input")?.focus()}return E.useEffect(()=>{u!==m&&v(u)},[JSON.stringify(u)]),E.useEffect(()=>{f!==y&&b(f)},[JSON.stringify(f)]),E.useEffect(()=>{u!==O&&t(O)},[JSON.stringify(O)]),E.useEffect(()=>{f!==L&&e(L)},[JSON.stringify(L)]),E.useEffect(()=>{d!==B&&S(d)},[JSON.stringify(d)]),E.useEffect(()=>{d!==M&&r?.(M||"")},[JSON.stringify(M)]),E.useEffect(()=>{p!==w&&x(p||[0,0,"px"])},[JSON.stringify(p)]),E.useEffect(()=>{p!==H&&n?.(H||[0,0,"px"])},[JSON.stringify(H)]),C.jsxs(C.Fragment,{children:[C.jsx(eO,{onChange:z,onFocus:G,onBlur:_,onPaste:c,onBackspaceEmpty:l,value:m||"",data:k.map(Z=>({value:Z}))||[],placeholder:"Property"}),!g&&C.jsxs("div",{className:zr("value-column",{"with-type-toggle":j.length>1}),ref:V,children:[C.jsx(Qr,{label:j.length>1?Q:"",children:C.jsx("button",{onClick:()=>{i?.(uhe(h,u,j)),setTimeout(()=>{V.current?.querySelector("input")?.focus()},20)},className:zr("svg-m type-toggle",{disabled:j.length<2}),tabIndex:-1,children:R})}),(h==="text"||!h)&&C.jsx(eO,{onFocus:G,onBlur:W,onAddNewRow:J,onBackspaceEmpty:q,onChange:X,onSuggestionPreview:ee,onSuggestionPreviewAbort:a,onPaste:c,value:y||"",data:F||[],allowMultipleWords:!0,placeholder:"Value",refreshSuggestions:()=>{I(m)}}),h==="fluid"&&C.jsx(V7e,{value:w,onChange:x}),h==="color"&&C.jsx(CY,{onChange:Z=>{S(Z),r?.(Z)},withinPortal:!0,portalProps:{target:V.current??document.body},value:B,placeholder:"Value",withPreview:!0}),h==="tab"&&C.jsx(ra,{placeholder:"Tab name",data:A||[],onChange:Z=>{b(Z??"")},value:y,transitionProps:{duration:150,transition:"fade"},className:"choose-tab-select",disabled:!A?.length})]}),g&&C.jsx("div",{className:"value-column",style:{height:"100%"}})]})});GZ.displayName="CssForm";const cN=E.memo(({isGenerateClass:t,selectData:e,isDisabled:r,...n})=>{const[i,o]=E.useState(n.item),[s,a]=E.useState(!1),{attributes:l,listeners:c,setNodeRef:u,transform:f,transition:d}=bh({id:i.id,attributes:{tabIndex:-1}}),{isCopied:p,copy:h}=U7e(),A=rd(ls(Xc,{activationConstraint:{distance:15}}),ls(qu,{coordinateGetter:Op})),g={transform:Po.Transform.toString(f)?.split(")")[0]!==void 0?`${Po.Transform.toString(f)?.split(")")[0]})`:"",transition:d},m=Al(i,200),v=E.useMemo(()=>[{onClick:()=>n.duplicateItem(i.id),label:"Duplicate",icon:C.jsx(Uc,{})},{onClick:()=>n.moveItemUp(i.id),label:"Move up",icon:C.jsx(cv,{}),disabled:n.isMoveUpDisabled},{onClick:()=>n.moveItemDown(i.id),label:"Move down",icon:C.jsx(gm,{}),disabled:n.isMoveDownDisabled},{onClick:s?()=>n.deleteItem(i.id):()=>a(!0),label:s?"Are you sure?":"Remove",closeMenuOnClick:s,style:s?{background:"#c2344e"}:{},icon:C.jsx(_s,{})}],[n,s,a,o,i]),y=()=>a(!1);function b(R){const Q=R.clipboardData.getData("text/plain");if(!(Q.includes("{")&&Q.includes("}")&&Q.includes(":")&&Q.includes(";")))return;R.preventDefault();const _=A9(Q).cssObjects;if(_.length===0)return;const G=_[0].declarations;o(W=>({...W,declarations:G.map(J=>({...J,id:ht()}))}))}const B=R=>{const Q=R.clipboardData.getData("text/plain");if(!(Q.includes("{")&&Q.includes("}")&&Q.includes(":")&&Q.includes(";")))return;R.preventDefault();const _=A9(Q).cssObjects;if(_.length!==0)if(_.length===1){const{selector:G,declarations:W}=_[0];o(J=>({...J,declarations:W.map(ee=>({...ee,id:ht()})),selector:G}))}else n?.addMultipleSelectorsOnPaste(_)},S=(R,Q)=>{o(z=>({...z,declarations:z.declarations.map(X=>X.id===Q?{...X,property:R}:X)}))},w=(R,Q)=>{o(z=>({...z,declarations:z.declarations.map(X=>X.id===Q?{...X,value:R}:X)}))},x=(R,Q)=>{o(z=>({...z,declarations:z.declarations.map(X=>X.id===Q?{...X,colorValue:R}:X)}))},I=(R,Q)=>{o(z=>({...z,declarations:z.declarations.map(X=>X.id===Q?{...X,fluidValue:R}:X)}))},F=(R,Q)=>{o(z=>({...z,declarations:z.declarations.map(X=>X.id===Q?{...X,type:R}:X)}))},k=R=>{o(Q=>({...Q,selector:R.target.value}))},O=()=>{o(R=>({...R,isDisabled:!R.isDisabled}))},L=R=>{o(Q=>({...Q,declarations:Q.declarations.filter(z=>z.id!==R)}))},M=()=>{o(R=>({...R,declarations:[...R.declarations,Y0()]}))};async function H(R){E3e({e:R,onDeclarationAdd:M})}function V(R){const{active:Q,over:z}=R;if(!(i?.declarations?.find(J=>J?.id===Q?.id)||null))return;const _=i?.declarations,G=_?.findIndex(J=>J?.id===Q?.id)||0,W=_?.findIndex(J=>J?.id===z?.id)||0;G===W||G===-1||W===-1||(_?.splice(W,0,_?.splice(G,1)[0]),o(J=>({...J,declarations:_})))}function j(R){const Q=document.activeElement;if(!Q||!(Q.tagName==="INPUT")&&Q?.value)return;const _=Q?.parentElement?.parentElement?.previousElementSibling?.querySelector(".value-column input");_?.scrollIntoView({behavior:"smooth",block:"nearest"}),_?.focus(),o(G=>({...G,declarations:G.declarations.length===1?[Y0()]:G.declarations.filter(W=>W.id!==R)}))}return rh(()=>{n.updateItem(i)},[JSON.stringify(m)]),C.jsxs("li",{ref:u,style:g,...l,className:zr("class-row selectors-layout",{"class-row-generate":t}),children:[t&&C.jsx(Ln,{color:r?"secondary":"primary.3",checked:!r,onChange:O}),C.jsxs("div",{className:"input-wrapper",children:[C.jsx("input",{type:"text",onChange:k,onPaste:B,autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,placeholder:".class-name",name:i.selector,value:i.selector,className:"slight-style"}),!t&&C.jsx("div",{className:"copy",onClick:()=>h(i.selector),children:p?C.jsx(Gu,{}):C.jsx(QZ,{})})]}),C.jsxs("div",{className:"declarations-container",children:[C.jsx(Uu,{sensors:A,collisionDetection:Hf,onDragEnd:R=>V(R),children:C.jsx(Qu,{items:i.declarations.map(R=>R.id),strategy:vm,children:i.declarations.map(({property:R,value:Q,id:z,type:X,colorValue:_,fluidValue:G},W)=>C.jsxs($Z,{id:z,className:zr("declaration",{multiple:t&&W!==0}),children:[C.jsx(GZ,{onRemoveRow:()=>j(z),onPropertyChange:J=>S(J,z),onValueChange:J=>w(J,z),onColorValueChange:J=>x(J,z),onFluidValueChange:J=>I(J,z),onTypeChange:J=>F(J,z),onNewRow:H,onPaste:b,property:R,value:Q,colorValue:_,fluidValue:G,type:X,selectData:e,hideTypeColumn:t&&W!==0}),C.jsx("button",{onClick:()=>L(z),className:"add-remove remove-prop",tabIndex:-1,children:C.jsx(wo,{})})]},z))})}),C.jsx("button",{onClick:M,className:"add-remove add-prop",children:C.jsx(wo,{})})]}),C.jsxs(br,{transitionProps:{duration:0},shadow:"md",width:150,children:[C.jsx(br.Target,{children:C.jsx("button",{...c,onClick:y,className:"class-settings",children:C.jsx(j1,{})})}),C.jsx(br.Dropdown,{children:v.map(({label:R,...Q})=>C.jsx(br.Item,{...Q,children:R},R))})]})]},i.id)});cN.displayName="ClassRow";const WZ=E.memo(function(){return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"119",height:"117",fill:"none",viewBox:"0 0 119 117",children:[C.jsx("path",{fill:"#2A2E37",d:"M116.294 58.147c0 11.651-3.446 22.537-9.408 31.617-1.313 2.079-2.735 3.939-4.267 5.798-10.667 12.636-26.64 20.677-44.417 20.677-17.778 0-33.75-8.095-44.417-20.677-1.532-1.86-2.954-3.72-4.267-5.743-1.532-2.407-3.009-4.978-4.212-7.658-.93-2.134-1.86-4.322-2.516-6.62A53.045 53.045 0 01.438 65.04c-.164-.875-.22-1.75-.274-2.735C.11 60.937 0 59.46 0 58.038c0-16.246 6.619-30.852 17.34-41.409 1.094-1.094 2.298-2.133 3.446-3.173C30.961 5.142 43.98 0 58.202 0a58.114 58.114 0 0131.07 8.97c.438.22.82.493 1.258.821.383.274.82.493 1.149.821 2.188 1.532 4.321 3.227 6.236 5.087 1.148 1.094 2.297 2.188 3.282 3.392 1.258 1.422 2.516 2.844 3.61 4.43.273.383.492.712.82 1.094.274.383.493.712.821 1.094 3.282 4.869 5.798 10.23 7.549 15.918.273 1.04.601 1.97.82 3.009a63.51 63.51 0 011.477 13.511z"}),C.jsx("path",{fill:"#474E61",d:"M111.425 89.764v5.799H13.73c-1.532-1.86-2.954-3.72-4.267-5.744h101.962v-.055zM114.106 45.128h-47.37V42.12h46.55c.383.93.602 1.97.82 3.008z"}),C.jsx("path",{fill:"#5E6882",d:"M105.025 25.053v17.45H80.848V10.337h8.97c.383.274.821.493 1.15.82 2.187 1.533 4.32 3.228 6.235 5.088 1.149 1.094 2.298 2.188 3.282 3.392 1.258 1.422 2.517 2.844 3.611 4.43.382.274.711.657.929.985z"}),C.jsx("path",{fill:"#474E61",d:"M105.026 25.053c-.274-.383-.493-.711-.821-1.094v17.778H81.668V11.104h9.3c-.383-.273-.712-.492-1.15-.82-.382-.274-.82-.493-1.257-.82h-8.588v33.75h25.709V26.147a8.282 8.282 0 00-.656-1.094z"}),C.jsx("path",{fill:"#2A2E37",d:"M100.595 19.583V36.65H85.224V16.192h11.98a33.115 33.115 0 013.391 3.391z"}),C.jsx("path",{fill:"url(#paint0_linear)",d:"M39.275 88.78c0 .492-.383.875-.82 1.039H9.462C7.93 87.412 6.454 84.84 5.25 82.16a18.747 18.747 0 002.407-6.619c.164-.711.219-1.368.273-2.079h21.717c.054.657.218 1.313.383 2.079.82 3.939 2.953 8.862 7.439 12.198h.71c.657 0 1.095.493 1.095 1.04z"}),C.jsx("path",{fill:"url(#paint1_linear)",d:"M59.679 16.027V73.08a2.393 2.393 0 01-2.407 2.407H2.79C1.696 72.205.93 68.76.492 65.15c-.164-.875-.219-1.75-.273-2.735-.055-1.422-.164-2.845-.164-4.267 0-16.246 6.619-30.851 17.34-41.408 1.094-1.094 2.297-2.134 3.446-3.173h36.321a2.498 2.498 0 012.517 2.461z"}),C.jsx("path",{fill:"#262A31",d:"M59.679 16.027V65.15H.492c-.164-.875-.219-1.75-.273-2.735-.055-1.422-.164-2.845-.164-4.267 0-16.246 6.619-30.851 17.34-41.408 1.094-1.094 2.297-2.134 3.446-3.173h36.321a2.498 2.498 0 012.517 2.461z"}),C.jsx("path",{fill:"#414655",d:"M56.506 16.738v45.73H.273C.22 61.047.11 59.625.11 58.203c0-16.246 6.62-30.851 17.34-41.409h39.057v-.055z"}),C.jsx("path",{fill:"#262A31",d:"M18.544 72.588c1.093 0 1.969-.875 1.969-1.97 0-1.093-.876-1.969-1.97-1.969-1.094 0-1.969.876-1.969 1.97 0 1.094.875 1.969 1.97 1.969z"}),C.jsx("path",{fill:"#989FB0",d:"M29.375 76.417v2.352h-1.641c-.93 0-1.75.82-1.75 1.75v3.283c0 .93.82 1.75 1.75 1.75h1.64v2.517c0 .875.712 1.64 1.642 1.64h7.275c.875 0 1.641-.71 1.641-1.64V76.308H29.375v.11zm-1.641 7.932a.47.47 0 01-.438-.438V80.63a.47.47 0 01.438-.437h1.64v4.212h-1.64v-.055z"}),C.jsx("path",{fill:"#5E6882",d:"M34.735 62.578c.657 1.64.82 3.282-.164 4.54-.93 1.313-1.64 3.063-.656 4.43.93 1.313 1.258 2.353.875 3.01-.383.655 0-.056 1.258-1.478 1.094-1.148-.875-2.133-.93-3.063-.055-.875 1.04-2.735 1.04-3.938-.055-1.313-.657-3.01-1.423-3.501zM32 69.744c.273.82.383 1.64-.055 2.297-.438.657-.82 1.532-.273 2.188.492.656.601 1.149.437 1.532-.164.383 0 0 .657-.711.492-.602-.438-1.094-.493-1.532-.055-.438.492-1.313.492-1.97-.054-.71-.328-1.53-.765-1.804z"}),C.jsx("path",{fill:"#989FB0",d:"M61.265 77.949c.601-1.313 2.625-3.83 4.704-4.869.273-.164.602-.054.711.22.602 1.038 2.079 3.664 1.532 6.235-.712 3.118-6.947-1.586-6.947-1.586zM58.694 78.168s-2.626-2.845-4.321-3.884a.836.836 0 00-1.15.383c-1.859 3.5-1.859 7.548-1.421 9.682.492 2.297 4.43-4.048 4.43-4.048l2.462-2.133z"}),C.jsx("path",{fill:"#474E61",d:"M57.49 79.098s-1.64-1.75-2.625-2.407c-.273-.11-.602-.055-.711.219-1.094 2.188-1.149 4.65-.82 5.962.328 1.422 2.734-2.516 2.734-2.516l1.423-1.258zM62.96 78.113c.33-.876 1.642-2.517 2.9-3.173.164-.055.328 0 .492.164.329.656 1.258 2.352.93 4.048-.437 2.079-4.321-1.04-4.321-1.04z"}),C.jsx("path",{fill:"#5E6882",d:"M114.271 111.973c-5.58-2.352-4.759-9.682-4.212-16.465h1.422V89.71c0-.055-2.571.054-2.844.054-1.259 0-1.915-.71-2.954-1.148.109.054-.274 3.008-.328 3.336-1.806 7.932-5.47 10.722-2.024 14.387 1.039 1.094 1.531 3.446-.876 4.485-2.406.93-3.829-2.571-4.65-4.267-1.421-2.953-.218-7.33 1.314-16.3 0 0-17.012-.055-21.88 0-.329 1.367-3.064 10.885-3.447 12.854-.602 2.954.383 5.087.602 6.674.219 1.695-2.626 2.844-4.76.93-2.734-2.517.165-6.4.548-15.043 0-.492.164-5.798-.164-5.798-5.634 0-11.214-.055-16.848.054-.657 0-1.641.274-2.024-.328-3.063-4.485 4.704-14.605 13.347-11.98 1.422.438 2.954 1.368 4.485 1.478 0 0 .876-.274 5.306-3.501 7.44-4.267 16.794-3.939 22.592-2.571 7.822 1.86 9.19 8.15 11.432 10.94 3.228 4.048 6.291 5.087 5.853 14.988-.164 3.993-.218 6.126 3.064 8.424 2.188 1.75.437 6.017-2.954 4.595z"}),C.jsx("path",{fill:"#474E61",d:"M62.086 88.943c-.602.055-1.368.165-2.079.165-.219 0-.492 0-.711.054-2.407.055-4.704-.273-5.032-2.078-.22-1.423 1.805-3.228 2.899-3.83 3.72-2.078 7.548.985 7.986 2.845.328 1.586-1.368 2.57-3.063 2.844z"}),C.jsx("path",{fill:"#989FB0",d:"M59.679 86.974c.602 0 1.094-.218 1.094-.547 0-.328-.492-.547-1.094-.547-.602 0-1.094.22-1.094.547 0 .329.492.547 1.094.547zM60.226 86.974v2.134c-.328 0-.766.054-1.094.054V87.03l1.094-.055z"}),C.jsx("path",{fill:"#474E61",d:"M74.339 109.785c.219 1.696-2.626 2.844-4.76.93-2.132-1.969-.163-8.588.384-12.09.273-1.859.273-4.102.219-5.852.93 1.149 3.227 4.048 4.868 5.58-.492 1.914-1.04 3.664-1.258 4.868-.602 2.79.273 4.923.547 6.564zM103.221 106.393c1.039 1.094 1.532 3.447-.875 4.486-2.407.93-3.83-2.571-4.65-4.267-.82-1.696-.656-5.743 0-9.025.219-1.15.493-2.407.657-3.501.492.273 1.039.601 1.477.93 1.148.875 2.297 1.914 3.61 2.625-.602 1.696-1.094 3.064-1.422 3.72-.712 1.805.164 3.938 1.203 5.032zM117.17 111.644c-1.641 1.532-4.431-.218-5.963-1.969-1.531-1.75-1.86-7.22-1.313-11.98.055-.82.164-1.53.055-2.187h1.477v-5.799h-4.486l-.218-.218c.054-.22.164-.493.218-.712.383-1.148-.218-2.297 1.094-4.758.383.601.712.93 1.095 1.258.711.656 1.476 1.148 2.789 3.008 2.571 3.501 2.188 10.886 2.079 13.785-.055 3.008 1.969 4.868 3.227 5.36 1.094.547 1.532 2.681-.054 4.212z"}),C.jsx("path",{fill:"#AAB2C5",d:"M63.507 80.52h-.054L61.92 80.3c-.273 0-.438-.273-.438-.492 0-.274.274-.438.493-.438l1.531.219c.274 0 .438.273.438.492 0 .328-.219.438-.438.438zM56.123 80.684h.055l1.532-.22c.273 0 .437-.273.437-.492 0-.273-.273-.437-.492-.437l-1.532.219c-.273 0-.438.273-.438.492.11.219.22.383.438.438z"}),C.jsx("path",{fill:"#989FB0",d:"M67.974 41.954l-.46-2.64 10.329-1.8.46 2.64-5.578 9.722 7.173-1.25.46 2.64-10.788 1.88-.46-2.64 5.578-9.722-6.714 1.17zM64.02 60.163l.48-1.57 6.068 1.855-.48 1.57-5.599 3.722 4.185 1.28-.48 1.569-6.382-1.95.48-1.57 5.599-3.723-3.871-1.183z"}),C.jsx("path",{fill:"#474E61",d:"M106.174 89.874h5.251v-.055 5.798h-6.454"}),C.jsxs("defs",{children:[C.jsxs("linearGradient",{id:"paint0_linear",x1:"22.19",x2:"22.19",y1:"89.398",y2:"74.781",gradientUnits:"userSpaceOnUse",children:[C.jsx("stop",{stopColor:"#474755"}),C.jsx("stop",{offset:"0.991",stopColor:"#2F3338"})]}),C.jsxs("linearGradient",{id:"paint1_linear",x1:"29.739",x2:"29.739",y1:"73.893",y2:"18.553",gradientUnits:"userSpaceOnUse",children:[C.jsx("stop",{stopColor:"#474E61"}),C.jsx("stop",{offset:"0.991",stopColor:"#2F3338"})]})]})]})}),zm=E.memo(({type:t})=>C.jsxs("div",{className:zr("class-row selectors-layout header",{variable:t==="variable",fonts:t==="fonts","font-variants":t==="font-variants"}),children:[t==="selector"&&C.jsxs(C.Fragment,{children:[C.jsx("span",{children:"Selector"}),C.jsx("span",{children:"CSS Property & value"})]}),t==="variable"&&C.jsxs(C.Fragment,{children:[C.jsx("span",{children:"Variable"}),C.jsx("span",{children:"Value"})]}),t==="generation"&&C.jsxs(C.Fragment,{children:[C.jsx("span",{children:"Generated class name"}),C.jsx("span",{children:"Generated property"})]}),t==="fonts"&&C.jsxs(C.Fragment,{children:[C.jsx("span",{children:"Enable"}),C.jsx("span",{children:"Title"}),C.jsx("span",{children:"Font Family"}),C.jsx("span",{children:"Preview"})]}),t==="font-variants"&&C.jsxs(C.Fragment,{children:[C.jsx("span",{children:"Variants"}),C.jsx("span",{children:"Preview"})]})]}));zm.displayName="ClassHeader";function $7e(t){const{id:e,selector:r,declarations:n,isDisabled:i}=t,o=n.map(a=>a.property),s=n?.[0]?.value;return{id:e,tabId:s,isDisabled:i,name:r,property:o}}const HOt=E.memo(()=>{const[t,e]=Yn(ef),r=E.useMemo(()=>[...t.groups].map(f=>({value:f.id,label:f.name,disabled:f.mode==="fluid_manual"})),[t]),n=rd(ls(Xc,{activationConstraint:{distance:15}}),ls(qu,{coordinateGetter:Op})),i=()=>{const f={id:ht(),name:"",tabId:"",property:[""]};e({...t,classes:[...t.classes??[],f]})},o=f=>{const d=t.classes?.findIndex(h=>h.id===f.id);if(typeof d>"u"||d<=-1||!t.classes?.length)return;const p=$7e(f);t.classes[d]={...p},e({...t,classes:[...t.classes]})},s=f=>{const d=t.classes?.findIndex(h=>h.id===f);if(typeof d>"u"||d<=-1||!t.classes?.length)return;const p={...t.classes[d],id:ht()};e({...t,classes:[...t.classes??[],p]})},a=f=>{const d=t.classes?.findIndex(h=>h.id===f);if(typeof d>"u"||d<=-1||!t.classes?.length)return;const p=[...t.classes];[p[d],p[d-1]]=[p[d-1],p[d]],e({...t,classes:p})},l=f=>{const d=t.classes?.findIndex(h=>h.id===f);if(typeof d>"u"||d<=-1||!t.classes?.length)return;const p=[...t.classes];[p[d],p[d+1]]=[p[d+1],p[d]],e({...t,classes:p})},c=f=>{const d=t.classes?.findIndex(p=>p.id===f);typeof d>"u"||d<=-1||!t.classes?.length||(t.classes.splice(d,1),e({...t}))},u=f=>{const{active:d,over:p}=f;if(!d||!p)return;const h=t.classes?.findIndex(m=>m.id===d.id)??-1,A=t.classes?.findIndex(m=>m.id===p.id)??-1;if(h===-1||A===-1)return;const g=[...t.classes??[]];g.splice(A,0,g.splice(h,1)[0]),e({...t,classes:g})};return C.jsx("div",{className:"spacing-additional-selectors",children:C.jsxs("div",{className:"subsection",children:[C.jsx(lv,{title:"Class Generator"}),C.jsx(zm,{type:"generation"}),C.jsxs("ul",{className:"grid border-primary radius relative",children:[!t?.classes?.length&&C.jsx(Qf,{onClick:i,icon:C.jsx(WZ,{})}),C.jsx(Uu,{sensors:n,collisionDetection:Hf,onDragEnd:f=>u(f),children:C.jsx(Qu,{items:t.classes||[],strategy:hC,children:t.classes?.map(f=>{const d=t.groups?.some(h=>h.id===f.tabId)?f.tabId:t.groups?.[0]?.mode==="fluid"?t.groups?.[0]?.id:"",p={key:f.id,updateItem:o,duplicateItem:s,moveItemUp:a,moveItemDown:l,deleteItem:c,addMultipleSelectorsOnPaste:()=>{},isMoveDownDisabled:!1,isMoveUpDisabled:!1,isGenerateClass:!0,isDisabled:f.isDisabled,item:{id:f.id,selector:f.name,isDisabled:f.isDisabled,declarations:f.property.map((h,A)=>({id:`${f.id}-${A}`,type:"tab",value:d,property:h}))||[]},selectData:r};return C.jsx(cN,{...p})})})}),!!t.classes?.length&&C.jsx("button",{className:"add-remove add-next",onClick:i,children:C.jsx(wo,{})})]})]})})}),GOt=E.memo(()=>{const[t,e]=Yn(ef),{state:r,dispatch:n}=SOt(t),i=E.useRef(null),[o,s]=E.useState(0),a=E.useMemo(()=>r.groups.map(({name:x,id:I})=>({value:x,id:I})),[r]),l=E.useRef(""),c=E.useRef(null),[u,f]=E.useState(!1),[d,p]=E.useState({x:0,y:0}),h=E.useMemo(()=>r.groups[o],[o,r]),A=Al(r,500),g=kn(nh),m=(x,I)=>{n({type:"rename",payload:{id:r.groups[x].id,name:I}})},v=()=>{setTimeout(()=>{i.current&&(i.current.scrollLeft=i.current.offsetWidth)},10);const{name:x,varName:I}=T7e(r.groups);n({type:"create",payload:L7e(x,I)})},y=x=>s(x),b=(x,I,F)=>{const{x:k,y:O}=event||{x:0,y:0};l.current=I,c.current=F,p({x:k,y:O}),setTimeout(()=>f(x),10)},B=x=>{const I=o;switch(x){case"delete":{n({type:"delete",payload:{id:l.current}}),s(0);break}case"duplicate":{n({type:"duplicate",payload:{id:l.current}});break}case"rename":{if(typeof c.current!="number")return;const F=document.querySelectorAll(".autosize-input input")?.[c.current];s(c.current),F.focus();break}case"reset":{n({type:"reset",payload:{id:l.current}}),s(0),setTimeout(()=>s(I),0);break}}},S=()=>n({type:"disable"}),w=x=>{if(r?.isDisabled){g({variables:[],type:"SPACING"});return}const I=[];for(const F of x.groups)I.push(...Z3(F));g({variables:I,type:"SPACING"})};return E.useEffect(()=>{e(r)},[r]),E.useEffect(()=>{u||(l.current="",c.current=null)},[u]),E.useEffect(()=>{w(A)},[A]),r?.isDisabled?C.jsx("div",{className:"subsection",children:C.jsx(Qf,{title:"Spacing module is disabled",description:"Click to enable",onClick:S})}):C.jsxs("div",{className:"subsection spacing-wrapper",children:[C.jsxs("div",{className:"titles-wrapper",children:[C.jsxs("div",{ref:i,className:"titles-list",children:[a.map(({value:x,id:I},F)=>C.jsx(EOt,{value:x,isActive:o===F,onTitleChange:k=>m(F,k),onTabChange:()=>y(F),onContextMenu:k=>b(k,I,F)},F)),C.jsx(DOt,{opened:u,position:d,onClose:f,onMenuAction:B,excludedItems:c.current===0?[3]:[]})]}),C.jsx(mp,{label:"Create a new scale",children:C.jsx("button",{className:"new-tab",onClick:v,children:C.jsx(wo,{})})})]}),C.jsx("div",{className:"content-wrapper",children:C.jsx(FOt,{space:h,updateSpace:x=>{n({type:"update",payload:x})}},o)}),!!t.groups.length&&C.jsx(HOt,{})]})}),H7e=Fr({property:Bt(),value:Bt(),type:Bt().optional(),fluidValue:Dr(Gn().or(Bt())).length(3).optional(),colorValue:Bt().optional(),id:Bt()}),WOt=Fr({id:Bt(),declarations:Dr(H7e),mediaQuery:Dr(Gn()).length(2)}),zOt=Fr({id:Bt(),selector:Bt(),declarations:Dr(H7e),isDisabled:Ut().optional(),mediaQuery:Dr(Gn()).length(2).optional(),variants:Dr(WOt).optional(),media:ba(MZ).optional(),support:ba(_Z).optional()}),fhe=Fr({size:vp([Gn(),Bt()]),screenWidth:vp([Gn(),Bt()]).optional(),scaleRatio:vp([Gn(),Bt()]),isCustomScaleRatio:Ut().optional(),scaleRatioInputValue:Gn().optional()}),G7e=Fr({id:Bt(),name:Bt(),min:fhe,max:fhe,steps:Bt(),namingConvention:Bt(),baseScaleIndex:Gn(),isDisabled:Ut().optional(),isRem:Ut().optional(),genMargin:Ut().optional().describe("Deprecated"),genPadding:Ut().optional().describe("Deprecated"),genGap:Ut().optional().describe("Deprecated"),genAutoMargins:Ut().optional().describe("Deprecated"),mode:ba(["fluid","fluid_manual"]).default("fluid").optional(),manualSizes:Dr(Fr({min:Gn(),max:Gn(),name:Bt(),css:Bt(),id:Bt()})).optional(),genSemanticVariables:Ut().optional().describe("Deprecated"),semanticVariables:Dr(zOt).optional().describe("Deprecated")}),KOt=G7e.omit({id:!0,name:!0}),qOt=Fr({id:Bt(),name:Bt(),property:Dr(Bt()),tabId:Bt(),isDisabled:Ut().optional()}),W7e=Fr({groups:Dr(G7e),isDisabled:Ut().optional(),classes:Dr(qOt).optional(),has_legacy_manual_class_generator:Ut().optional()}),XOt=E.memo(({value:t,onTitleChange:e,isActive:r,onContextMenu:n,onTabChange:i})=>C.jsx("div",{className:`tab-name ${r&&"active"}`,onContextMenu:o=>{o.preventDefault(),o.stopPropagation(),n?.(!0)},onClick:i,children:C.jsx(BI,{value:t,onBlur:()=>{},onChange:o=>e(o)})})),YOt=E.memo(({position:t,opened:e,onClose:r,onMenuAction:n,excludedItems:i})=>{const[o,s]=E.useState(!1),[a,l]=E.useState(!1),c=E.useMemo(()=>[{icon:C.jsx(lh,{}),label:"Rename",onClick:()=>n("rename")},{icon:C.jsx(Uc,{}),label:"Duplicate",onClick:()=>n("duplicate")},{icon:C.jsx(RY,{}),label:a?"Are you sure?":"Restore default",onClick:a?()=>{n("reset"),l(!1)}:()=>l(!0),closeMenuOnClick:a,style:a?{background:"#c2344e"}:{}},{icon:C.jsx(_s,{}),label:o?"Are you sure?":"Remove",onClick:o?()=>{n("delete"),s(!1)}:()=>s(!0),closeMenuOnClick:o,style:o?{background:"#c2344e"}:{}}].filter((u,f)=>!i?.includes(f)),[a,o,i]);return E.useEffect(()=>{e&&(s(!1),l(!1))},[e]),C.jsx("div",{className:"tab-menu",style:{left:`${t.x}px`,top:`${t.y}px`},children:C.jsxs(br,{opened:e,onChange:r,position:"bottom-end",children:[C.jsx(br.Target,{children:C.jsx("span",{})}),C.jsx(br.Dropdown,{children:c.map(({label:u,...f})=>C.jsx(br.Item,{...f,children:u},u))})]})})}),z7e=(t,e)=>{switch(e.type){case"minFontSize":return{...t,min:{...t.min,fontSize:e.payload}};case"maxFontSize":return{...t,max:{...t.max,fontSize:e.payload}};case"minScreenWidth":return{...t,min:{...t.min,screenWidth:e.payload}};case"maxScreenWidth":return{...t,max:{...t.max,screenWidth:e.payload}};case"minScaleRatio":return{...t,min:{...t.min,scaleRatio:e.payload}};case"maxScaleRatio":return{...t,max:{...t.max,scaleRatio:e.payload}};case"namingConvention":{const r=M1(e.payload);return{...t,namingConvention:r}}case"baseScaleIndex":return{...t,baseScaleIndex:e.payload};case"steps":return{...t,steps:e.payload};case"addStepBefore":{const r=Z9(t.steps,"UP");if(r===t.steps)return t;const n=Math.min(t.baseScaleIndex+1,t.steps.split(",").length);return{...t,steps:r,baseScaleIndex:n}}case"addStepAfter":{const r=Z9(t.steps,"DOWN");if(r===t.steps)return t;const n=Math.min(t.baseScaleIndex,t.steps.split(",").length);return{...t,steps:r,baseScaleIndex:n}}case"removeStepBefore":{const r=t.steps.split(",")[t.baseScaleIndex],n=t.steps.split(",").slice(1).join(","),i=n.split(",").findIndex(s=>s===r),o=Math.max(Math.min(i,n.split(",").length-1),0);return{...t,steps:n,baseScaleIndex:o}}case"removeStepAfter":{const r=t.steps.split(",")[t.baseScaleIndex],n=t.steps.split(",").slice(0,-1).join(","),i=n.split(",").findIndex(s=>s===r),o=Math.max(Math.min(i,n.split(",").length-1),0);return{...t,steps:n,baseScaleIndex:o}}case"updateFormData":return e.payload;case"toggleIsCustomMinScaleRatio":return{...t,min:{...t.min,isCustomScaleRatio:!t.min.isCustomScaleRatio,scaleRatioInputValue:Number(t.min.scaleRatioInputValue??t.min.scaleRatio)}};case"toggleIsCustomMaxScaleRatio":return{...t,max:{...t.max,isCustomScaleRatio:!t.max.isCustomScaleRatio,scaleRatioInputValue:Number(t.max.scaleRatioInputValue??t.max.scaleRatio)}};case"minScaleRatioInputValue":return{...t,min:{...t.min,scaleRatioInputValue:e.payload}};case"maxScaleRatioInputValue":return{...t,max:{...t.max,scaleRatioInputValue:e.payload}};case"updateManualSize":return{...t,manualSizes:e.payload};default:return t}},K7e=E.memo(({typography:t,updateTypography:e})=>{const{root_font_size:r,is_rem:n,max_screen_width:i,min_screen_width:o}=tn(xs),[s,a]=E.useReducer(z7e,t),[l,c]=E.useState(!1),u=E.useMemo(()=>s,[s]),f=E.useMemo(()=>yC({typographyData:{groups:[s]},root_font_size:r||16,is_rem:!!n,max_screen_width:i||bs,min_screen_width:o||bn}),[s]),d=B=>a({type:"minFontSize",payload:B}),p=B=>a({type:"maxFontSize",payload:B}),h=()=>a({type:"addStepBefore"}),A=()=>a({type:"addStepAfter"}),g=B=>a({type:"minScaleRatio",payload:Number(B)}),m=B=>a({type:"maxScaleRatio",payload:Number(B)}),v=()=>{u.steps.split(",").length!==1&&a({type:"removeStepBefore"})},y=()=>{u.steps.split(",").length!==1&&a({type:"removeStepAfter"})};E.useEffect(()=>{JSON.stringify(t)!==JSON.stringify(u)&&(a({type:"updateFormData",payload:{...u}}),e({id:u.id,typography:u}))},[u]),E.useEffect(()=>{s.name!==t.name&&a({type:"updateFormData",payload:{...u,name:t.name}})},[t.name]);const b=E.useMemo(()=>{const B=u.steps.split(",");return B.map((S,w)=>({label:B[w],value:String(w)}))},[u.steps]);return C.jsxs("div",{className:"grid gap-xl calculator-columns",children:[C.jsxs("div",{className:"grid bg-overlay-1 radius border-primary shadow-s",children:[C.jsx("span",{className:"padding-m text-m bg-overlay-1 border-bottom-primary",children:"Base Settings"}),C.jsx("div",{className:"grid gap-m padding-m border-bottom-primary",children:C.jsxs("div",{className:"grid gap-xs",children:[C.jsx("label",{htmlFor:"namingConvention",className:"pointer",children:"Naming Convention"}),C.jsx("input",{type:"text",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,name:"namingConvention",id:"namingConvention",value:u.namingConvention,onChange:B=>a({type:"namingConvention",payload:B.target.value})})]})}),C.jsxs("div",{className:"grid gap-m padding-m border-bottom-primary",children:[C.jsxs("div",{className:"grid gap-xs",children:[C.jsx("label",{htmlFor:"min-size",className:"pointer",children:"Min Font Size"}),C.jsx(as,{id:"min-size",onChange:d,value:u.min.fontSize,allowMouseWheel:!0,unit:"px",max:Number(u.max.fontSize),min:0,step:.1})]}),C.jsxs("div",{className:"grid gap-xs",children:[C.jsxs("div",{className:"row gap-xs space-between",children:[C.jsx("label",{htmlFor:"min-scale-ratio",className:"pointer",children:"Min Scale Ratio"}),C.jsx(Qr,{label:"Toggle input",children:C.jsx("button",{onClick:()=>a({type:"toggleIsCustomMinScaleRatio"}),children:C.jsx(lh,{})})})]}),u.min?.isCustomScaleRatio?C.jsx(as,{id:"min-scale-ratio",onChange:B=>a({type:"minScaleRatioInputValue",payload:Number(B)}),value:u.min.scaleRatioInputValue??1,min:1,max:5,step:.01,precision:8,allowMouseWheel:!0}):C.jsx(ra,{id:"min-scale-ratio",placeholder:"All breakpoints",data:ZH,onChange:g,value:String(u.min.scaleRatio),transitionProps:{duration:150,transition:"fade"}})]})]}),C.jsxs("div",{className:"grid gap-m padding-m border-bottom-primary",children:[C.jsxs("div",{className:"grid gap-xs",children:[C.jsx("label",{htmlFor:"max-size",className:"pointer",children:"Max Font Size"}),C.jsx(as,{id:"max-size",onChange:p,value:u.max.fontSize,allowMouseWheel:!0,unit:"px",min:Number(u.min.fontSize),step:.1})]}),C.jsxs("div",{className:"grid gap-xs",children:[C.jsxs("div",{className:"row gap-xs space-between",children:[C.jsx("label",{htmlFor:"max-scale-ratio",className:"pointer",children:"Max Scale Ratio"}),C.jsx(Qr,{label:"Toggle input",children:C.jsx("button",{onClick:()=>a({type:"toggleIsCustomMaxScaleRatio"}),children:C.jsx(lh,{})})})]}),u.max?.isCustomScaleRatio?C.jsx(as,{id:"max-scale-ratio",onChange:B=>a({type:"maxScaleRatioInputValue",payload:Number(B)}),value:u.max.scaleRatioInputValue??1,min:1,max:5,step:.01,precision:8,allowMouseWheel:!0}):C.jsx(ra,{id:"max-scale-ratio",placeholder:"All breakpoints",data:ZH,onChange:m,value:String(u.max.scaleRatio),transitionProps:{duration:150,transition:"fade"}})]})]}),C.jsx("div",{className:"grid gap-m padding-m",children:C.jsxs("div",{className:"grid gap-xs",children:[C.jsx("label",{htmlFor:"base-scale-index",className:"pointer",children:"Base Scale Index"}),C.jsx(ra,{id:"base-scale-index",onChange:B=>a({type:"baseScaleIndex",payload:Number(B)}),value:String(u.baseScaleIndex),data:b,transitionProps:{duration:150,transition:"fade"}})]})})]}),C.jsx("div",{className:"grid gap-s",children:C.jsxs("ul",{className:"grid border-primary radius relative",children:[C.jsx("button",{onClick:h,className:"add-remove add-previous",children:C.jsx(wo,{})}),C.jsx("button",{onClick:v,className:"add-remove remove-previous",children:"-"}),f?.declarations.length&&f.declarations.map((B,S)=>C.jsxs("li",{className:zr("class-row typo-layout",{selected:S===u.baseScaleIndex}),children:[C.jsx(Qr,{label:l?"Copied!":"Copy",style:{backgroundColor:l?"green":""},children:C.jsx("span",{className:"opacity-60 text-l copy",onClick:()=>{sc(`var(${Object.keys(B)[0]})`),c(!0),setTimeout(()=>c(!1),1e3)},children:Object.keys(B)[0]})}),C.jsxs("div",{className:"calculator-preview",children:[C.jsxs("div",{className:"calculator-preview-single",children:[C.jsxs("span",{children:[f.typeScales[S].min,"px"]}),C.jsx(QB,{}),C.jsx("p",{style:{fontSize:`${f.typeScales[S].min}px`},className:zr({incorrect:Number(f.typeScales[S].min)<12}),children:"Minimum"})]}),C.jsxs("div",{className:"calculator-preview-single",children:[C.jsxs("span",{children:[Number(f.typeScales[S].max)<Number(f.typeScales[S].min)?f.typeScales[S].min:f.typeScales[S].max,"px"]}),C.jsx(UB,{}),C.jsx("p",{style:{fontSize:`${Number(f.typeScales[S].max)<Number(f.typeScales[S].min)?f.typeScales[S].min:f.typeScales[S].max}px`},className:zr({incorrect:Number(f.typeScales[S].max)<12}),children:"Maximum"})]})]})]},`${f.typeScales[S].min}${S}`)),C.jsx("button",{className:"add-remove add-next",onClick:A,children:C.jsx(wo,{})}),C.jsx("button",{onClick:y,className:"add-remove remove-next",children:"-"})]})})]})});K7e.displayName="TypeScale";const q7e=E.memo(({size:t,onTypographyChange:e,typography:r})=>{const[n,i]=E.useState(!1),{min_screen_width:o,max_screen_width:s,root_font_size:a,is_rem:l}=tn(xs),{attributes:c,listeners:u,setNodeRef:f,transform:d,transition:p}=bh({id:t.id}),h=v=>{const y=[...r?.manualSizes||[]],b=y.findIndex(S=>S.id===v);if(b===-1)return;const B={...y[b],id:ht()};y.splice(b+1,0,B),e(y)},A=v=>{if(!n){i(!0);return}const y=[...r?.manualSizes||[]],b=y.findIndex(B=>B.id===v);b!==-1&&(y.splice(b,1),e(y))},g=({id:v,direction:y})=>{const b=[...r?.manualSizes||[]],B=b.findIndex(w=>w.id===v);if(B===-1)return;const S=b[B];y==="up"?(b.splice(B,1),b.splice(B-1,0,S)):(b.splice(B,1),b.splice(B+1,0,S)),e(b)},m={transform:Po.Transform.toString(d)?.split(")")[0]!==void 0?`${Po.Transform.toString(d)?.split(")")[0]})`:"",transition:p};return C.jsxs("li",{ref:f,style:m,...c,className:"class-row typo-layout-manual",children:[C.jsxs("div",{className:"prefixed-input-container",children:[C.jsx("span",{children:"--"}),C.jsx("input",{type:"text",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,value:t.name,onChange:v=>{const y=[...r?.manualSizes||[]],b=y.findIndex(B=>B.id===t.id);b!==-1&&(y[b].name=M1(v.target.value),e(y))}})]}),C.jsx(as,{value:t.min,onChange:v=>{const y=[...r?.manualSizes||[]],b=y.findIndex(B=>B.id===t.id);b!==-1&&(y[b].min=Number(v),y[b].css=m9({minFontSize:Number(v),maxFontSize:y[b].max,minScreenWidth:o||bn,maxScreenWidth:s||bs,isRem:!!l,rootFontSize:a}),e(y))},max:t.max,min:0,unit:"px",allowMouseWheel:!0}),C.jsx(as,{value:t.max,onChange:v=>{const y=[...r?.manualSizes||[]],b=y.findIndex(B=>B.id===t.id);b!==-1&&(y[b].max=Number(v),y[b].css=m9({minFontSize:y[b].min,maxFontSize:Number(v),minScreenWidth:o||bn,maxScreenWidth:s||bs,isRem:!!l,rootFontSize:a}),e(y))},max:2e3,min:t.min,unit:"px",allowMouseWheel:!0}),C.jsxs("div",{className:"calculator-preview",children:[C.jsxs("div",{className:"calculator-preview-single",children:[C.jsx(QB,{}),C.jsx("p",{style:{fontSize:`${t.min}px`},children:"Minimum"})]}),C.jsxs("div",{className:"calculator-preview-single",children:[C.jsx(UB,{}),C.jsx("p",{style:{fontSize:`${t.max}px`},children:"Maximum"})]})]}),C.jsxs(br,{transitionProps:{duration:0},shadow:"md",width:150,children:[C.jsx(br.Target,{children:C.jsx("button",{onClick:()=>i(!1),className:"class-settings",...u,children:C.jsx(j1,{})})}),C.jsxs(br.Dropdown,{children:[C.jsx(br.Item,{onClick:()=>h(t.id),icon:C.jsx(Uc,{}),children:"Duplicate"}),C.jsx(br.Item,{onClick:()=>g({id:t.id,direction:"up"}),icon:C.jsx(cv,{}),children:"Move Up"}),C.jsx(br.Item,{onClick:()=>g({id:t.id,direction:"down"}),icon:C.jsx(gm,{}),children:"Move Down"}),C.jsx(br.Item,{onClick:()=>A(t.id),icon:C.jsx(_s,{}),closeMenuOnClick:n,style:n?{background:"#c2344e"}:{},children:n?"Are you sure?":"Delete"})]})]})]})});q7e.displayName="ManualRow";function JOt({typographyState:t,preferences:{min_screen_width:e,max_screen_width:r,root_font_size:n,is_rem:i}}){const{typeScales:o}=yC({typographyData:{groups:[t]},is_rem:!!i,min_screen_width:e||bn,max_screen_width:r||bs,root_font_size:ha.root_font_size}),{namingConvention:s,steps:a}=t,l=a.split(",");return o.map((c,u)=>({name:l[u]?`${s}-${l[u]}`:Uat,min:Number(c.min),max:Number(c.max),css:m9({minFontSize:Number(c.min),maxFontSize:Number(c.max),minScreenWidth:e||bn,maxScreenWidth:r||bs,isRem:!!i,rootFontSize:n}),id:ht()}))}const X7e=E.memo(({typography:t,updateTypography:e})=>{const[r,n]=E.useReducer(z7e,t),i=E.useMemo(()=>r,[r]),{min_screen_width:o,max_screen_width:s,root_font_size:a,is_rem:l}=tn(xs),c=rd(ls(Xc,{activationConstraint:{distance:15}}),ls(qu,{coordinateGetter:Op})),u=()=>{const h={...Vat,id:ht()};n({type:"updateManualSize",payload:[...r.manualSizes||[],h]})},f=()=>{const h=JOt({preferences:{min_screen_width:o,max_screen_width:s,root_font_size:a,is_rem:l},typographyState:i});n({type:"updateManualSize",payload:h})},d=h=>{const{active:A,over:g}=h;if(A.id===g.id)return;const m=[...i?.manualSizes||[]],v=m.findIndex(B=>B.id===A.id),y=m.findIndex(B=>B.id===g.id);if(v===-1||y===-1)return;const b=m[v];m.splice(v,1),m.splice(y,0,b),n({type:"updateManualSize",payload:m})},p=()=>{const h=[...i?.manualSizes||[]].sort((A,g)=>A.min-g.min);n({type:"updateManualSize",payload:h})};return E.useEffect(()=>{JSON.stringify(t)!==JSON.stringify(i)&&(n({type:"updateFormData",payload:{...i}}),e({id:i.id,typography:i}))},[i]),C.jsxs("div",{className:"subsection",style:{padding:0,marginTop:"1rem"},children:[C.jsxs("div",{className:"row gap-m",children:[C.jsx("button",{onClick:f,className:"btn-tertiary btn-s",children:"Copy Automatic"},"1"),C.jsx("button",{onClick:p,className:"btn-tertiary btn-s",children:"Sort Sizes"})]}),C.jsxs("div",{className:"class-row typo-layout-manual header",children:[C.jsx("span",{children:"Variable Name"}),C.jsx("span",{children:"Min Size"}),C.jsx("span",{children:"Max Size"}),C.jsx("span",{children:"Preview"})]}),C.jsxs("ul",{className:"grid border-primary radius relative",children:[C.jsx(Uu,{sensors:c,collisionDetection:Hf,onDragEnd:h=>d(h),children:C.jsx(Qu,{items:i?.manualSizes?.map(h=>h.id)||[],strategy:vm,children:i?.manualSizes?.map((h,A)=>C.jsx(q7e,{size:h,typography:i,onTypographyChange:g=>{n({type:"updateManualSize",payload:g}),e({id:i.id,typography:{...i,manualSizes:g}})}},h.id))})}),C.jsx("button",{className:"add-remove add-next",onClick:u,children:C.jsx(wo,{})})]})]})});X7e.displayName="Manual";const ZOt=[{label:"Automatic",value:"fluid"},{label:"Manual",value:"fluid_manual"}],ePt=E.memo(({typography:t,updateTypography:e})=>{const[r,n]=Yn(Zu),i=E.useMemo(()=>r.groups.find(({id:a})=>a===t.id),[r]),o=E.useMemo(()=>i?.mode,[i]),s=a=>{n(l=>{const c=l.groups.findIndex(p=>p.id===t.id);l.groups[c]={...l.groups[c],mode:a};const u=l.groups.filter(p=>p.mode==="fluid_manual").map(p=>p.id),f=l?.classes?.filter(p=>p.tabId&&u.includes(p.tabId)&&!p.isDisabled),d=l.has_legacy_manual_class_generator?!!f?.length:!1;return{...l,has_legacy_manual_class_generator:d,groups:[...l.groups]}})};return C.jsxs("div",{className:"tab-subsection",children:[C.jsxs("div",{className:"mode-selection",children:[C.jsx(wY,{onChange:a=>s(a),data:ZOt,value:o}),o==="fluid_manual"&&C.jsxs("div",{className:"mode-note",children:["Note: the manual tab is disabled from the class generators. ",C.jsx("a",{href:"https://docs.coreframework.com/navigating-the-ui/typography#info-on-class-generation",target:"_blank",children:"Read why."})]})]}),[void 0,"fluid"].includes(o)&&i&&C.jsx(K7e,{typography:i,updateTypography:a=>e(a)}),o==="fluid_manual"&&i&&C.jsx(X7e,{typography:i,updateTypography:a=>e(a)})]})}),K_="Typography",dhe="text",Y7e=t=>{const e=t.filter(({name:r})=>r.toLowerCase().startsWith(K_.toLowerCase())).length+1;return{name:e?`${K_} ${e}`:K_,varName:e?`${dhe}-${e}`:dhe}},J7e=(t,e=t.toLowerCase())=>({id:ht(),name:t,min:{fontSize:16,scaleRatio:1.125},max:{fontSize:18,scaleRatio:1.333},steps:"xs,s,m,l,xl,2xl,3xl,4xl",namingConvention:e,baseScaleIndex:2,mode:"fluid",manualSizes:[{min:12.64,max:10.13,name:`${e}-xs`,css:"clamp(1.26rem, calc(-0.23vw + 1.34rem), 1.01rem)",id:ht()},{min:14.22,max:13.5,name:`${e}-s`,css:"clamp(1.42rem, calc(-0.07vw + 1.44rem), 1.35rem)",id:ht()},{min:16,max:18,name:`${e}-m`,css:"clamp(1.6rem, calc(0.19vw + 1.54rem), 1.8rem)",id:ht()},{min:18,max:23.99,name:`${e}-l`,css:"clamp(1.8rem, calc(0.55vw + 1.62rem), 2.4rem)",id:ht()},{min:20.25,max:31.98,name:`${e}-xl`,css:"clamp(2.02rem, calc(1.09vw + 1.68rem), 3.2rem)",id:ht()},{min:22.78,max:42.63,name:`${e}-2xl`,css:"clamp(2.28rem, calc(1.84vw + 1.69rem), 4.26rem)",id:ht()},{min:25.63,max:56.83,name:`${e}-3xl`,css:"clamp(2.56rem, calc(2.89vw + 1.64rem), 5.68rem)",id:ht()},{min:28.83,max:75.76,name:`${e}-4xl`,css:"clamp(2.88rem, calc(4.35vw + 1.49rem), 7.58rem)",id:ht()}]}),tPt=(t,e)=>{const{name:r,varName:n}=Y7e(e);return{...t,name:r,id:ht(),namingConvention:n,manualSizes:t.manualSizes?.map(o=>({...o,id:ht(),name:o.name.replace(t.namingConvention,n)}))||[]}},rPt=(t,e)=>{switch(e.type){case"delete":{const{id:r}=e.payload,n=t?.groups.findIndex(i=>i.id===r);return n>-1&&t.groups.splice(n,1),{...t,groups:[...t.groups]}}case"duplicate":{const{id:r}=e.payload,n=t?.groups.find(o=>o.id===r);let i;return n&&(i=tPt(n,t.groups)),{...t,groups:[...t.groups,i].filter(Boolean)}}case"rename":{const{id:r,name:n}=e.payload,i=t?.groups.findIndex(o=>o.id===r);return t.groups[i]={...t.groups[i],name:n},{...t,groups:[...t.groups]}}case"reset":{const{id:r}=e.payload,n=t?.groups.find(s=>s.id===r),i=t?.groups.findIndex(s=>s.id===r);let o;return n&&(o=J7e(n?.name)),i>-1&&o&&t.groups.splice(i,1,o),{...t,groups:[...t.groups]}}case"update":{const{id:r,typography:n}=e.payload,i=t?.groups.findIndex(o=>o.id===r);return t.groups[i]=n,{...t,groups:[...t.groups]}}case"create":{const{id:r,name:n}=e.payload;return{...t,groups:[...t.groups,{...e.payload,id:r||ht(),name:n||QY}]}}case"disable":{const r=!!t.isDisabled,n=r?[...ac.groups]:[],i=r?[...ac.classes??[]]:[];return{...t,groups:[...n],isDisabled:!t.isDisabled,classes:i}}default:return t}};function nPt(t){const[e,r]=E.useReducer(rPt,t??ac);return{state:e,dispatch:r}}const iPt=E.memo(()=>{const[t,e]=Yn(Zu),r=E.useMemo(()=>[...t.groups].map(f=>({value:f.id,label:f.name,disabled:f.mode==="fluid_manual"})),[t]),n=rd(ls(Xc,{activationConstraint:{distance:15}}),ls(qu,{coordinateGetter:Op})),i=()=>{const f={id:ht(),name:"",tabId:"",property:[""]};e({...t,classes:[...t.classes??[],f]})},o=f=>{const d=t.classes?.findIndex(h=>h.id===f.id);if(typeof d>"u"||d<=-1||!t.classes?.length)return;const p=$7e(f);t.classes[d]={...p},e({...t,classes:[...t.classes]})},s=f=>{const d=t.classes?.findIndex(h=>h.id===f);if(typeof d>"u"||d<=-1||!t.classes?.length)return;const p={...t.classes[d],id:ht()};e({...t,classes:[...t.classes??[],p]})},a=f=>{const d=t.classes?.findIndex(h=>h.id===f);if(typeof d>"u"||d<=-1||!t.classes?.length)return;const p=[...t.classes];[p[d],p[d-1]]=[p[d-1],p[d]],e({...t,classes:p})},l=f=>{const d=t.classes?.findIndex(h=>h.id===f);if(typeof d>"u"||d<=-1||!t.classes?.length)return;const p=[...t.classes];[p[d],p[d+1]]=[p[d+1],p[d]],e({...t,classes:p})},c=f=>{const d=t.classes?.findIndex(p=>p.id===f);typeof d>"u"||d<=-1||!t.classes?.length||(t.classes.splice(d,1),e({...t}))},u=f=>{const{active:d,over:p}=f;if(!d||!p)return;const h=t.classes?.findIndex(m=>m.id===d.id)??-1,A=t.classes?.findIndex(m=>m.id===p.id)??-1;if(h===-1||A===-1)return;const g=[...t.classes??[]];g.splice(A,0,g.splice(h,1)[0]),e({...t,classes:g})};return C.jsx("div",{className:"typography-additional-selectors",children:C.jsxs("div",{className:"subsection",children:[C.jsx(lv,{title:"Class Generator"}),C.jsx(zm,{type:"generation"}),C.jsxs("ul",{className:"grid border-primary radius relative",children:[!t?.classes?.length&&C.jsx(Qf,{onClick:i,icon:C.jsx(WZ,{})}),C.jsx(Uu,{sensors:n,collisionDetection:Hf,onDragEnd:f=>u(f),children:C.jsx(Qu,{items:t.classes||[],strategy:hC,children:t.classes?.map(f=>{const d=t.groups?.some(h=>h.id===f.tabId)?f.tabId:t.groups?.[0]?.mode==="fluid"?t.groups?.[0]?.id:"",p={key:f.id,updateItem:o,duplicateItem:s,moveItemUp:a,moveItemDown:l,deleteItem:c,addMultipleSelectorsOnPaste:()=>{},isMoveDownDisabled:!1,isMoveUpDisabled:!1,isGenerateClass:!0,isDisabled:f.isDisabled,item:{id:f.id,selector:f.name,isDisabled:f.isDisabled,declarations:f.property.map((h,A)=>({id:`${f.id}-${A}`,type:"tab",value:d||"",property:h}))||[]},selectData:r};return C.jsx(cN,{...p})})})}),!!t.classes?.length&&C.jsx("button",{className:"add-remove add-next",onClick:i,children:C.jsx(wo,{})})]})]})})}),oPt=E.memo(()=>{const[t,e]=Yn(Zu),{state:r,dispatch:n}=nPt(t),i=E.useRef(null),[o,s]=E.useState(0),a=E.useMemo(()=>r.groups.map(({name:x,id:I})=>({value:x,id:I})),[r]),l=E.useRef(""),c=E.useRef(null),[u,f]=E.useState(!1),[d,p]=E.useState({x:0,y:0}),h=E.useMemo(()=>r.groups[o],[o,r]),A=Al(r,500),g=kn(nh),m=(x,I)=>{n({type:"rename",payload:{id:r.groups[x].id,name:I}})},v=()=>{setTimeout(()=>{i.current&&(i.current.scrollLeft=i.current.offsetWidth)},10);const{name:x,varName:I}=Y7e(r.groups);n({type:"create",payload:J7e(x,I)})},y=x=>s(x),b=(x,I,F)=>{const{x:k,y:O}=event||{x:0,y:0};l.current=I,c.current=F,p({x:k,y:O}),setTimeout(()=>f(x),10)},B=x=>{const I=o;switch(x){case"delete":{n({type:"delete",payload:{id:l.current}}),s(0);break}case"duplicate":{n({type:"duplicate",payload:{id:l.current}});break}case"rename":{if(typeof c.current!="number")return;const F=document.querySelectorAll(".autosize-input input")?.[c.current];s(c.current),F.focus();break}case"reset":{n({type:"reset",payload:{id:l.current}}),s(0),setTimeout(()=>s(I),0);break}}},S=()=>n({type:"disable"}),w=x=>{if(r?.isDisabled){g({variables:[],type:"FLUID_TYPOGRAPHY"});return}const I=[];for(const F of x.groups)I.push(...ex(F));g({variables:I,type:"FLUID_TYPOGRAPHY"})};return E.useEffect(()=>{e(r)},[r]),E.useEffect(()=>{u||(l.current="",c.current=null)},[u]),E.useEffect(()=>{w(A)},[A]),r?.isDisabled?C.jsx("div",{className:"subsection",children:C.jsx(Qf,{title:"Typography module is disabled",description:"Click to enable",onClick:S})}):C.jsxs("div",{className:"subsection typography-wrapper",children:[C.jsxs("div",{className:"titles-wrapper",children:[C.jsxs("div",{ref:i,className:"titles-list",children:[a.map(({value:x,id:I},F)=>C.jsx(XOt,{value:x,isActive:o===F,onTitleChange:k=>m(F,k),onTabChange:()=>y(F),onContextMenu:k=>b(k,I,F)},F)),C.jsx(YOt,{opened:u,position:d,onClose:f,onMenuAction:B,excludedItems:c.current===0?[3]:[]})]}),C.jsx(mp,{label:"Create a new scale",children:C.jsx("button",{className:"new-tab",onClick:v,children:C.jsx(wo,{})})})]}),C.jsx("div",{className:"content-wrapper",children:C.jsx(ePt,{typography:h,updateTypography:x=>{n({type:"update",payload:x})}},o)}),!!t.groups.length&&C.jsx(iPt,{})]})}),Z7e=Fr({property:Bt(),value:Bt(),type:Bt().optional(),fluidValue:Dr(Gn().or(Bt())).length(3).optional(),colorValue:Bt().optional(),id:Bt()}),sPt=Fr({id:Bt(),declarations:Dr(Z7e),mediaQuery:Dr(Gn()).length(2)}),aPt=Fr({id:Bt(),selector:Bt(),declarations:Dr(Z7e),isDisabled:Ut().optional(),mediaQuery:Dr(Gn()).length(2).optional(),variants:Dr(sPt).optional(),media:ba(MZ).optional(),support:ba(_Z).optional()}),phe=Fr({fontSize:vp([Gn(),Bt()]),screenWidth:vp([Gn(),Bt()]).optional(),scaleRatio:vp([Gn(),Bt()]),isCustomScaleRatio:Ut().optional(),scaleRatioInputValue:Gn().optional()}),eke=Fr({id:Bt(),name:Bt(),min:phe,max:phe,steps:Bt(),namingConvention:Bt(),baseScaleIndex:Gn(),isDisabled:Ut().optional(),isRem:Ut().optional(),genFontSizeClass:Ut().optional().describe("Deprecated"),mode:ba(["fluid","fluid_manual"]).default("fluid").optional(),manualSizes:Dr(Fr({min:Gn(),max:Gn(),name:Bt(),css:Bt(),id:Bt()})).optional(),genSemanticVariables:Ut().optional().describe("Deprecated"),semanticVariables:Dr(aPt).optional().describe("Deprecated")}),lPt=eke.omit({id:!0,name:!0}),cPt=Fr({id:Bt(),name:Bt(),property:Dr(Bt()),tabId:Bt().optional(),isDisabled:Ut().optional()}),tke=Fr({groups:Dr(eke),isDisabled:Ut().optional(),classes:Dr(cPt).optional(),has_legacy_manual_class_generator:Ut().optional()}),zZ=E.memo(function(){return C.jsxs("svg",{fill:"#ffffff",height:"10px",width:"20px",version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 476.21 476.21",stroke:"#ffffff",children:[C.jsx("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),C.jsx("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),C.jsxs("g",{id:"SVGRepo_iconCarrier",children:[" ",C.jsx("polygon",{points:"476.213,223.107 57.427,223.107 151.82,128.713 130.607,107.5 0,238.106 130.607,368.714 151.82,347.5 57.427,253.107 476.213,253.107 "})," "]})]})});zZ.displayName="Back";const uN=E.memo(function(){return C.jsxs("svg",{height:"1952",viewBox:"0 0 509.58086729 397.8808683",width:"2500",xmlns:"http://www.w3.org/2000/svg",children:[C.jsx("path",{d:"m0 387.4 245.52-385.39 131.6 83.84-192.11 301.55z",fill:"#fbbc04"}),C.jsx("path",{d:"m240.33 0h151.13v387.4h-151.13z",fill:"#1a73e8"}),C.jsx("circle",{cx:"83.72",cy:"81.35",fill:"#ea4335",r:"74.91"}),C.jsx("path",{d:"m499.1 279.76a107.64 107.64 0 0 1 -107.64 107.64v-215.27a107.64 107.64 0 0 1 107.64 107.63z",fill:"#34a853"}),C.jsx("path",{d:"m391.46 172.13v215.27a107.64 107.64 0 0 1 0-215.27z",fill:"#0d652d"}),C.jsx("path",{d:"m474.3 89.29a82.85 82.85 0 0 1 -82.84 82.84v-165.69a82.85 82.85 0 0 1 82.84 82.85z",fill:"#1a73e8"}),C.jsx("path",{d:"m391.46 6.44v165.69a82.85 82.85 0 0 1 0-165.69z",fill:"#174ea6"})]})});uN.displayName="GoogleFontLogo";const uPt="AIzaSyAWb5aId6EbuGXxs7jqraWfqJKss7SZvcM",fPt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAY8AAAD2CAYAAAAuwAtaAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAJSeSURBVHhe7b3nettKEi16X+KcCTvaVo6kMsUkKjhHSbac956Z8/6v0PdbVSh0daEbBEgq2MKP9ZHohCYI1EKFrv7/ljf6rkGDBg0aNKiD/88WNGjQoEGDBuPQkEeDBg1+SCytH7ql9Z5b3ugS8F2OuU7qi30bTI+GPBo0aPBDwhOEJwpLHkwsxb4NpkdDHg0aNPhhIQSxsjlwq62hAupZI7F9GswGDXk0aNDgh4HWKBY2u25198wdnnx2/cffXf/sb4/H31339Ivb2H1M7bwWor8Xx29QHQ15NGjQ4AcCtIye29x75jrHn1zv9K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NE82aDBrNOTRIAoRPHYRWEgo3twBR/xa65i0lP0+zF1Xbn/4WUV2cXSXhA37kGGvsfjjCHmcfs1JQYSvFcrjoElFfCJSVuYjiSHa93GoIdk2Ug6NDfMnraPvt2wVzSI3PQ0viChgfgJWD54RafM1t1FQ3iwZkkZDHg2uBw15NJg5ILwoqqs1JGHX2n/qtjovaSX8zuG52xteBYsYvblLk0qRPET76D7+TrACvQ6mJY/oWGffKpEHSAbbz9Je3/0r2kdjpcfaxPLBS7ey95xMTwhkYLJoCKDB3UNDHg2uAVZLMY7a9pCjvLZOCOs7ZwQQS2ck+5jICnRPLhDARCAgjhmQhy2rA0s2mowsUcgxgg92e28oIAG/FwSx2B655dYoMD1JnqiiFtGgwd1BQx4NrgEpYedTW4SmL2ujZ0B7gUBFNuHNvWfuYHjpDgZXrjO8cj34WUbAJ3d49MkdnnwJQGYuaAIzBsbV54EG1Tn+RJ8w1XWO3rvtw1c0381tzgHFeaCKhCrXYHlNfnuYK6ohjwZ3GQ15NPhhIYKZ/C3towCUvv7gmcKLDLrsGZnT4KfJI8oibQTb+89ca/c0OA/PpRHuDe4fGvJo8MNDr1cpvrGnYbUAW29h2zeaQYP7jIY8GvzQCKONODqM64rCP4Wq5MHgc4bz4PIGDe4TGvJo0KBBgwa10ZBHgwYNGjSojf8flWvQWm3z0wgAAAAASUVORK5CYII=",KZ=["auto","block","swap","fallback","optional"];function rke({font:t,onFontEdit:e,googleFonts:r}){const n=E.useMemo(()=>r.map(i=>({label:i.family,value:i.family,type:i.category})),[]);return C.jsxs("div",{className:"row gap-3xl space-between",children:[C.jsxs("div",{className:"row gap-xs space-between import-fonts-form",children:[C.jsxs("div",{className:"row gap-xs",children:[C.jsxs("div",{children:[C.jsx("label",{htmlFor:"family",className:"import-fonts-label",children:"Google font"}),C.jsx(ra,{name:"family",searchable:!0,onChange:i=>e(t.id,"family",i),value:t?.family||"",data:n,style:{minWidth:"15rem"},placeholder:"Type to Search",itemComponent:({label:i,type:o,...s})=>C.jsxs("div",{...s,id:"import-fonts-select-item",children:[C.jsx("span",{children:i}),C.jsx(kYe,{variant:"filled",style:{backgroundColor:"#5c68f9"},sx:{fontSize:"8px",padding:"0 3px",borderRadius:"4px"},children:o})]})})]}),C.jsxs("div",{children:[C.jsx("label",{htmlFor:"fontDisplay",className:"import-fonts-label",children:"Font display"}),C.jsx(ra,{name:"fontDisplay",onChange:i=>e(t.id,"fontDisplay",i),value:t.fontDisplay,data:KZ,style:{minWidth:"12rem"}})]})]}),C.jsxs("div",{className:"prefixed-input-container input-wrapper",style:{gap:"0"},children:[C.jsx("label",{htmlFor:"title",className:"import-fonts-label",children:"Font title"}),C.jsx("input",{id:"font-title",type:"text",name:"title",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,value:t.title||"",onChange:({target:{value:i,name:o}})=>e(t.id,o,i),placeholder:"ex. My Custom Font"})]})]}),C.jsxs("div",{className:"row gap-xs",style:{height:"fit-content",flexDirection:"column"},children:[C.jsx("div",{className:"prefixed-input-container input-wrapper",children:C.jsxs("div",{children:[C.jsx("label",{htmlFor:"customSelectors",className:"import-fonts-label",children:"Custom selector(s)"}),C.jsx("input",{id:"custom-selectors",name:"customSelectors",type:"text",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,size:20,value:t.customSelectors,onChange:({target:{value:i,name:o}})=>e(t.id,o,i),placeholder:"ex: .my-font, label"})]})}),C.jsxs("div",{children:[C.jsx("label",{htmlFor:"customVariable",className:"import-fonts-label",children:"Custom variable"}),C.jsxs("div",{className:"prefixed-input-container input-wrapper custom-variable",style:{height:"fit-content"},children:[C.jsx("span",{children:"--"}),C.jsx("input",{id:"custom-variable",name:"customVariable",type:"text",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,size:40,value:t.customVariable,onChange:({target:{value:i,name:o}})=>{e(t.id,o,i)}})]})]})]})]})}const nke=E.memo(function(){return C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"13",viewBox:"0 0 24 24",children:C.jsxs("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",children:[C.jsx("path",{d:"m16.474 5.408l2.118 2.117m-.756-3.982L12.109 9.27a2.118 2.118 0 0 0-.58 1.082L11 13l2.648-.53c.41-.082.786-.283 1.082-.579l5.727-5.727a1.853 1.853 0 1 0-2.621-2.621Z"}),C.jsx("path",{d:"M19 15v3a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h3"})]})})});nke.displayName="EditNew";const dPt={utf16le:"utf-16le",ucs2:"utf-16le",utf16be:"utf-16be"};class ya{constructor(e){this.buffer=e,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength),this.pos=0,this.length=this.buffer.length}readString(e,r="ascii"){r=dPt[r]||r;let n=this.readBuffer(e);try{return new TextDecoder(r).decode(n)}catch{return n}}readBuffer(e){return this.buffer.slice(this.pos,this.pos+=e)}readUInt24BE(){return(this.readUInt16BE()<<8)+this.readUInt8()}readUInt24LE(){return this.readUInt16LE()+(this.readUInt8()<<16)}readInt24BE(){return(this.readInt16BE()<<8)+this.readUInt8()}readInt24LE(){return this.readUInt16LE()+(this.readInt8()<<16)}}ya.TYPES={UInt8:1,UInt16:2,UInt24:3,UInt32:4,Int8:1,Int16:2,Int24:3,Int32:4,Float:4,Double:8};for(let t of Object.getOwnPropertyNames(DataView.prototype))if(t.slice(0,3)==="get"){let e=t.slice(3).replace("Ui","UI");e==="Float32"?e="Float":e==="Float64"&&(e="Double");let r=ya.TYPES[e];ya.prototype["read"+e+(r===1?"":"BE")]=function(){const n=this.view[t](this.pos,!1);return this.pos+=r,n},r!==1&&(ya.prototype["read"+e+"LE"]=function(){const n=this.view[t](this.pos,!0);return this.pos+=r,n})}const pPt=new TextEncoder,Ahe=new Uint8Array(new Uint16Array([4660]).buffer)[0]==18;class tO{constructor(e){this.buffer=e,this.view=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),this.pos=0}writeBuffer(e){this.buffer.set(e,this.pos),this.pos+=e.length}writeString(e,r="ascii"){let n;switch(r){case"utf16le":case"utf16-le":case"ucs2":n=hhe(e,Ahe);break;case"utf16be":case"utf16-be":n=hhe(e,!Ahe);break;case"utf8":n=pPt.encode(e);break;case"ascii":n=APt(e);break;default:throw new Error(`Unsupported encoding: ${r}`)}this.writeBuffer(n)}writeUInt24BE(e){this.buffer[this.pos++]=e>>>16&255,this.buffer[this.pos++]=e>>>8&255,this.buffer[this.pos++]=e&255}writeUInt24LE(e){this.buffer[this.pos++]=e&255,this.buffer[this.pos++]=e>>>8&255,this.buffer[this.pos++]=e>>>16&255}writeInt24BE(e){e>=0?this.writeUInt24BE(e):this.writeUInt24BE(e+16777215+1)}writeInt24LE(e){e>=0?this.writeUInt24LE(e):this.writeUInt24LE(e+16777215+1)}fill(e,r){if(r<this.buffer.length)this.buffer.fill(e,this.pos,this.pos+r),this.pos+=r;else{const n=new Uint8Array(r);n.fill(e),this.writeBuffer(n)}}}function hhe(t,e){let r=new Uint16Array(t.length);for(let n=0;n<t.length;n++){let i=t.charCodeAt(n);e&&(i=i>>8|(i&255)<<8),r[n]=i}return new Uint8Array(r.buffer)}function APt(t){let e=new Uint8Array(t.length);for(let r=0;r<t.length;r++)e[r]=t.charCodeAt(r);return e}for(let t of Object.getOwnPropertyNames(DataView.prototype))if(t.slice(0,3)==="set"){let e=t.slice(3).replace("Ui","UI");e==="Float32"?e="Float":e==="Float64"&&(e="Double");let r=ya.TYPES[e];tO.prototype["write"+e+(r===1?"":"BE")]=function(n){this.view[t](this.pos,n,!1),this.pos+=r},r!==1&&(tO.prototype["write"+e+"LE"]=function(n){this.view[t](this.pos,n,!0),this.pos+=r})}class Sh{fromBuffer(e){let r=new ya(e);return this.decode(r)}toBuffer(e){let r=this.size(e),n=new Uint8Array(r),i=new tO(n);return this.encode(i,e),n}}class pi extends Sh{constructor(e,r="BE"){super(),this.type=e,this.endian=r,this.fn=this.type,this.type[this.type.length-1]!=="8"&&(this.fn+=this.endian)}size(){return ya.TYPES[this.type]}decode(e){return e[`read${this.fn}`]()}encode(e,r){return e[`write${this.fn}`](r)}}const Zt=new pi("UInt8"),hPt=new pi("UInt16","BE"),te=hPt;new pi("UInt16","LE");const mPt=new pi("UInt24","BE"),nm=mPt;new pi("UInt24","LE");const gPt=new pi("UInt32","BE"),et=gPt;new pi("UInt32","LE");const ks=new pi("Int8"),vPt=new pi("Int16","BE"),Nt=vPt;new pi("Int16","LE");new pi("Int24","BE");new pi("Int24","LE");const yPt=new pi("Int32","BE"),i1=yPt;new pi("Int32","LE");new pi("Float","BE");new pi("Float","LE");new pi("Double","BE");new pi("Double","LE");class Bv extends pi{constructor(e,r,n=e>>1){super(`Int${e}`,r),this._point=1<<n}decode(e){return super.decode(e)/this._point}encode(e,r){return super.encode(e,r*this._point|0)}}const BPt=new Bv(16,"BE"),CPt=BPt;new Bv(16,"LE");const bPt=new Bv(32,"BE"),Ho=bPt;new Bv(32,"LE");function Sp(t,e,r){let n;if(typeof t=="number"?n=t:typeof t=="function"?n=t.call(r,r):r&&typeof t=="string"?n=r[t]:e&&t instanceof pi&&(n=t.decode(e)),isNaN(n))throw new Error("Not a fixed size");return n}class qZ{constructor(e={}){this.enumerable=!0,this.configurable=!0;for(let r in e){const n=e[r];this[r]=n}}}class Je extends Sh{constructor(e,r,n="count"){super(),this.type=e,this.length=r,this.lengthType=n}decode(e,r){let n;const{pos:i}=e,o=[];let s=r;if(this.length!=null&&(n=Sp(this.length,e,r)),this.length instanceof pi&&(Object.defineProperties(o,{parent:{value:r},_startOffset:{value:i},_currentOffset:{value:0,writable:!0},_length:{value:n}}),s=o),n==null||this.lengthType==="bytes"){const a=n!=null?e.pos+n:r?._length?r._startOffset+r._length:e.length;for(;e.pos<a;)o.push(this.type.decode(e,s))}else for(let a=0,l=n;a<l;a++)o.push(this.type.decode(e,s));return o}size(e,r,n=!0){if(!e)return this.type.size(null,r)*Sp(this.length,null,r);let i=0;this.length instanceof pi&&(i+=this.length.size(),r={parent:r,pointerSize:0});for(let o of e)i+=this.type.size(o,r);return r&&n&&this.length instanceof pi&&(i+=r.pointerSize),i}encode(e,r,n){let i=n;this.length instanceof pi&&(i={pointers:[],startOffset:e.pos,parent:n},i.pointerOffset=e.pos+this.size(r,i,!1),this.length.encode(e,r.length));for(let o of r)this.type.encode(e,o,i);if(this.length instanceof pi){let o=0;for(;o<i.pointers.length;){const s=i.pointers[o++];s.type.encode(e,s.val,s.parent)}}}}class xi extends Je{decode(e,r){const{pos:n}=e,i=Sp(this.length,e,r);this.length instanceof pi&&(r={parent:r,_startOffset:n,_currentOffset:0,_length:i});const o=new q_(this.type,i,e,r);return e.pos+=i*this.type.size(null,r),o}size(e,r){return e instanceof q_&&(e=e.toArray()),super.size(e,r)}encode(e,r,n){return r instanceof q_&&(r=r.toArray()),super.encode(e,r,n)}}class q_{constructor(e,r,n,i){this.type=e,this.length=r,this.stream=n,this.ctx=i,this.base=this.stream.pos,this.items=[]}get(e){if(!(e<0||e>=this.length)){if(this.items[e]==null){const{pos:r}=this.stream;this.stream.pos=this.base+this.type.size(null,this.ctx)*e,this.items[e]=this.type.decode(this.stream,this.ctx),this.stream.pos=r}return this.items[e]}}toArray(){const e=[];for(let r=0,n=this.length;r<n;r++)e.push(this.get(r));return e}}class Xf extends Sh{constructor(e,r=[]){super(),this.type=e,this.flags=r}decode(e){const r=this.type.decode(e),n={};for(let i=0;i<this.flags.length;i++){const o=this.flags[i];o!=null&&(n[o]=!!(r&1<<i))}return n}size(){return this.type.size()}encode(e,r){let n=0;for(let i=0;i<this.flags.length;i++){const o=this.flags[i];o!=null&&r[o]&&(n|=1<<i)}return this.type.encode(e,n)}}class yp extends Sh{constructor(e){super(),this.length=e}decode(e,r){const n=Sp(this.length,e,r);return e.readBuffer(n)}size(e,r){if(!e)return Sp(this.length,null,r);let n=e.length;return this.length instanceof pi&&(n+=this.length.size()),n}encode(e,r,n){return this.length instanceof pi&&this.length.encode(e,r.length),e.writeBuffer(r)}}class rO extends Sh{constructor(e,r=!0){super(),this.type=e,this.condition=r}decode(e,r){let{condition:n}=this;if(typeof n=="function"&&(n=n.call(r,r)),n)return this.type.decode(e,r)}size(e,r){let{condition:n}=this;return typeof n=="function"&&(n=n.call(r,r)),n?this.type.size(e,r):0}encode(e,r,n){let{condition:i}=this;if(typeof i=="function"&&(i=i.call(n,n)),i)return this.type.encode(e,r,n)}}class so extends Sh{constructor(e,r=1){super(),this.type=e,this.count=r}decode(e,r){e.pos+=this.size(null,r)}size(e,r){const n=Sp(this.count,null,r);return this.type.size()*n}encode(e,r,n){return e.fill(0,this.size(r,n))}}class Bi extends Sh{constructor(e,r="ascii"){super(),this.length=e,this.encoding=r}decode(e,r){let n,i,{encoding:o}=this;typeof o=="function"&&(o=o.call(r,r)||"ascii");let s=X_(o);if(this.length!=null)n=Sp(this.length,e,r);else{let l;for({buffer:l,length:n,pos:i}=e;i<n-s+1&&(l[i]!==0||s===2&&l[i+1]!==0);)i+=s;n=i-e.pos}const a=e.readString(n,o);return this.length==null&&e.pos<e.length&&(e.pos+=s),a}size(e,r){if(e==null)return Sp(this.length,null,r);let{encoding:n}=this;typeof n=="function"&&(n=n.call(r?.val,r?.val)||"ascii"),n==="utf16be"&&(n="utf16le");let i=mhe(e,n);return this.length instanceof pi&&(i+=this.length.size()),this.length==null&&(i+=X_(n)),i}encode(e,r,n){let{encoding:i}=this;if(typeof i=="function"&&(i=i.call(n?.val,n?.val)||"ascii"),this.length instanceof pi&&this.length.encode(e,mhe(r,i)),e.writeString(r,i),this.length==null)return X_(i)==2?e.writeUInt16LE(0):e.writeUInt8(0)}}function X_(t){switch(t){case"ascii":case"utf8":return 1;case"utf16le":case"utf16-le":case"utf-16be":case"utf-16le":case"utf16be":case"utf16-be":case"ucs2":return 2;default:return 1}}function mhe(t,e){switch(e){case"ascii":return t.length;case"utf8":let r=0;for(let n=0;n<t.length;n++){let i=t.charCodeAt(n);if(i>=55296&&i<=56319&&n<t.length-1){let o=t.charCodeAt(++n);(o&64512)===56320?i=((i&1023)<<10)+(o&1023)+65536:n--}i&4294967168?i&4294965248?i&4294901760?i&4292870144||(r+=4):r+=3:r+=2:r++}return r;case"utf16le":case"utf16-le":case"utf16be":case"utf16-be":case"ucs2":return t.length*2;default:throw new Error("Unknown encoding "+e)}}class ct extends Sh{constructor(e={}){super(),this.fields=e}decode(e,r,n=0){const i=this._setup(e,r,n);return this._parseFields(e,i,this.fields),this.process!=null&&this.process.call(i,e),i}_setup(e,r,n){const i={};return Object.defineProperties(i,{parent:{value:r},_startOffset:{value:e.pos},_currentOffset:{value:0,writable:!0},_length:{value:n}}),i}_parseFields(e,r,n){for(let o in n){var i;const s=n[o];typeof s=="function"?i=s.call(r,r):i=s.decode(e,r),i!==void 0&&(i instanceof qZ?Object.defineProperty(r,o,i):r[o]=i),r._currentOffset=e.pos-r._startOffset}}size(e,r,n=!0){e==null&&(e={});const i={parent:r,val:e,pointerSize:0};this.preEncode!=null&&this.preEncode.call(e);let o=0;for(let s in this.fields){const a=this.fields[s];a.size!=null&&(o+=a.size(e[s],i))}return n&&(o+=i.pointerSize),o}encode(e,r,n){let i;this.preEncode!=null&&this.preEncode.call(r,e);const o={pointers:[],startOffset:e.pos,parent:n,val:r,pointerSize:0};o.pointerOffset=e.pos+this.size(r,o,!1);for(let a in this.fields)i=this.fields[a],i.encode!=null&&i.encode(e,r[a],o);let s=0;for(;s<o.pointers.length;){const a=o.pointers[s++];a.type.encode(e,a.val,a.parent)}}}const wPt=(t,e)=>e.reduce((r,n)=>r&&r[n],t);class Fn extends ct{constructor(e,r={}){super(),this.type=e,this.versions=r,typeof e=="string"&&(this.versionPath=e.split("."))}decode(e,r,n=0){const i=this._setup(e,r,n);typeof this.type=="string"?i.version=wPt(r,this.versionPath):i.version=this.type.decode(e),this.versions.header&&this._parseFields(e,i,this.versions.header);const o=this.versions[i.version];if(o==null)throw new Error(`Unknown version ${i.version}`);return o instanceof Fn?o.decode(e,r):(this._parseFields(e,i,o),this.process!=null&&this.process.call(i,e),i)}size(e,r,n=!0){let i,o;if(!e)throw new Error("Not a fixed size");this.preEncode!=null&&this.preEncode.call(e);const s={parent:r,val:e,pointerSize:0};let a=0;if(typeof this.type!="string"&&(a+=this.type.size(e.version,s)),this.versions.header)for(i in this.versions.header)o=this.versions.header[i],o.size!=null&&(a+=o.size(e[i],s));const l=this.versions[e.version];if(l==null)throw new Error(`Unknown version ${e.version}`);for(i in l)o=l[i],o.size!=null&&(a+=o.size(e[i],s));return n&&(a+=s.pointerSize),a}encode(e,r,n){let i,o;this.preEncode!=null&&this.preEncode.call(r,e);const s={pointers:[],startOffset:e.pos,parent:n,val:r,pointerSize:0};if(s.pointerOffset=e.pos+this.size(r,s,!1),typeof this.type!="string"&&this.type.encode(e,r.version),this.versions.header)for(i in this.versions.header)o=this.versions.header[i],o.encode!=null&&o.encode(e,r[i],s);const a=this.versions[r.version];for(i in a)o=a[i],o.encode!=null&&o.encode(e,r[i],s);let l=0;for(;l<s.pointers.length;){const c=s.pointers[l++];c.type.encode(e,c.val,c.parent)}}}class Ze extends Sh{constructor(e,r,n={}){if(super(),this.offsetType=e,this.type=r,this.options=n,this.type==="void"&&(this.type=null),this.options.type==null&&(this.options.type="local"),this.options.allowNull==null&&(this.options.allowNull=!0),this.options.nullValue==null&&(this.options.nullValue=0),this.options.lazy==null&&(this.options.lazy=!1),this.options.relativeTo){if(typeof this.options.relativeTo!="function")throw new Error("relativeTo option must be a function");this.relativeToGetter=n.relativeTo}}decode(e,r){const n=this.offsetType.decode(e,r);if(n===this.options.nullValue&&this.options.allowNull)return null;let i;switch(this.options.type){case"local":i=r._startOffset;break;case"immediate":i=e.pos-this.offsetType.size();break;case"parent":i=r.parent._startOffset;break;default:for(var o=r;o.parent;)o=o.parent;i=o._startOffset||0}this.options.relativeTo&&(i+=this.relativeToGetter(r));const s=n+i;if(this.type!=null){let a=null;const l=()=>{if(a!=null)return a;const{pos:c}=e;return e.pos=s,a=this.type.decode(e,r),e.pos=c,a};return this.options.lazy?new qZ({get:l}):l()}else return s}size(e,r){const n=r;switch(this.options.type){case"local":case"immediate":break;case"parent":r=r.parent;break;default:for(;r.parent;)r=r.parent}let{type:i}=this;if(i==null){if(!(e instanceof eG))throw new Error("Must be a VoidPointer");({type:i}=e),e=e.value}if(e&&r){let o=i.size(e,n);r.pointerSize+=o}return this.offsetType.size()}encode(e,r,n){let i;const o=n;if(r==null){this.offsetType.encode(e,this.options.nullValue);return}switch(this.options.type){case"local":i=n.startOffset;break;case"immediate":i=e.pos+this.offsetType.size(r,o);break;case"parent":n=n.parent,i=n.startOffset;break;default:for(i=0;n.parent;)n=n.parent}this.options.relativeTo&&(i+=this.relativeToGetter(o.val)),this.offsetType.encode(e,n.pointerOffset-i);let{type:s}=this;if(s==null){if(!(r instanceof eG))throw new Error("Must be a VoidPointer");({type:s}=r),r=r.value}return n.pointers.push({type:s,val:r,parent:o}),n.pointerOffset+=s.size(r,o)}}class eG{constructor(e,r){this.type=e,this.value=r}}function dc(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var xPt=function t(e,r){if(e===r)return!0;if(e&&r&&typeof e=="object"&&typeof r=="object"){if(e.constructor!==r.constructor)return!1;var n,i,o;if(Array.isArray(e)){if(n=e.length,n!=r.length)return!1;for(i=n;i--!==0;)if(!t(e[i],r[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===r.toString();if(o=Object.keys(e),n=o.length,n!==Object.keys(r).length)return!1;for(i=n;i--!==0;)if(!Object.prototype.hasOwnProperty.call(r,o[i]))return!1;for(i=n;i--!==0;){var s=o[i];if(!t(e[s],r[s]))return!1}return!0}return e!==e&&r!==r};const ghe=Io(xPt);var Dx={};Dx.byteLength=DPt;Dx.toByteArray=OPt;Dx.fromByteArray=NPt;var Yd=[],uu=[],SPt=typeof Uint8Array<"u"?Uint8Array:Array,Y_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var yy=0,EPt=Y_.length;yy<EPt;++yy)Yd[yy]=Y_[yy],uu[Y_.charCodeAt(yy)]=yy;uu["-".charCodeAt(0)]=62;uu["_".charCodeAt(0)]=63;function ike(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function DPt(t){var e=ike(t),r=e[0],n=e[1];return(r+n)*3/4-n}function kPt(t,e,r){return(e+r)*3/4-r}function OPt(t){var e,r=ike(t),n=r[0],i=r[1],o=new SPt(kPt(t,n,i)),s=0,a=i>0?n-4:n,l;for(l=0;l<a;l+=4)e=uu[t.charCodeAt(l)]<<18|uu[t.charCodeAt(l+1)]<<12|uu[t.charCodeAt(l+2)]<<6|uu[t.charCodeAt(l+3)],o[s++]=e>>16&255,o[s++]=e>>8&255,o[s++]=e&255;return i===2&&(e=uu[t.charCodeAt(l)]<<2|uu[t.charCodeAt(l+1)]>>4,o[s++]=e&255),i===1&&(e=uu[t.charCodeAt(l)]<<10|uu[t.charCodeAt(l+1)]<<4|uu[t.charCodeAt(l+2)]>>2,o[s++]=e>>8&255,o[s++]=e&255),o}function PPt(t){return Yd[t>>18&63]+Yd[t>>12&63]+Yd[t>>6&63]+Yd[t&63]}function IPt(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(PPt(n));return i.join("")}function NPt(t){for(var e,r=t.length,n=r%3,i=[],o=16383,s=0,a=r-n;s<a;s+=o)i.push(IPt(t,s,s+o>a?a:s+o));return n===1?(e=t[r-1],i.push(Yd[e>>2]+Yd[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(Yd[e>>10]+Yd[e>>4&63]+Yd[e<<2&63]+"=")),i.join("")}var XZ=0,oke=-3;function G4(){this.table=new Uint16Array(16),this.trans=new Uint16Array(288)}function FPt(t,e){this.source=t,this.sourceIndex=0,this.tag=0,this.bitcount=0,this.dest=e,this.destLen=0,this.ltree=new G4,this.dtree=new G4}var ske=new G4,ake=new G4,YZ=new Uint8Array(30),JZ=new Uint16Array(30),lke=new Uint8Array(30),cke=new Uint16Array(30),TPt=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),vhe=new G4,bd=new Uint8Array(288+32);function uke(t,e,r,n){var i,o;for(i=0;i<r;++i)t[i]=0;for(i=0;i<30-r;++i)t[i+r]=i/r|0;for(o=n,i=0;i<30;++i)e[i]=o,o+=1<<t[i]}function LPt(t,e){var r;for(r=0;r<7;++r)t.table[r]=0;for(t.table[7]=24,t.table[8]=152,t.table[9]=112,r=0;r<24;++r)t.trans[r]=256+r;for(r=0;r<144;++r)t.trans[24+r]=r;for(r=0;r<8;++r)t.trans[24+144+r]=280+r;for(r=0;r<112;++r)t.trans[24+144+8+r]=144+r;for(r=0;r<5;++r)e.table[r]=0;for(e.table[5]=32,r=0;r<32;++r)e.trans[r]=r}var yhe=new Uint16Array(16);function J_(t,e,r,n){var i,o;for(i=0;i<16;++i)t.table[i]=0;for(i=0;i<n;++i)t.table[e[r+i]]++;for(t.table[0]=0,o=0,i=0;i<16;++i)yhe[i]=o,o+=t.table[i];for(i=0;i<n;++i)e[r+i]&&(t.trans[yhe[e[r+i]]++]=i)}function RPt(t){t.bitcount--||(t.tag=t.source[t.sourceIndex++],t.bitcount=7);var e=t.tag&1;return t.tag>>>=1,e}function Ud(t,e,r){if(!e)return r;for(;t.bitcount<24;)t.tag|=t.source[t.sourceIndex++]<<t.bitcount,t.bitcount+=8;var n=t.tag&65535>>>16-e;return t.tag>>>=e,t.bitcount-=e,n+r}function tG(t,e){for(;t.bitcount<24;)t.tag|=t.source[t.sourceIndex++]<<t.bitcount,t.bitcount+=8;var r=0,n=0,i=0,o=t.tag;do n=2*n+(o&1),o>>>=1,++i,r+=e.table[i],n-=e.table[i];while(n>=0);return t.tag=o,t.bitcount-=i,e.trans[r+n]}function MPt(t,e,r){var n,i,o,s,a,l;for(n=Ud(t,5,257),i=Ud(t,5,1),o=Ud(t,4,4),s=0;s<19;++s)bd[s]=0;for(s=0;s<o;++s){var c=Ud(t,3,0);bd[TPt[s]]=c}for(J_(vhe,bd,0,19),a=0;a<n+i;){var u=tG(t,vhe);switch(u){case 16:var f=bd[a-1];for(l=Ud(t,2,3);l;--l)bd[a++]=f;break;case 17:for(l=Ud(t,3,3);l;--l)bd[a++]=0;break;case 18:for(l=Ud(t,7,11);l;--l)bd[a++]=0;break;default:bd[a++]=u;break}}J_(e,bd,0,n),J_(r,bd,n,i)}function Bhe(t,e,r){for(;;){var n=tG(t,e);if(n===256)return XZ;if(n<256)t.dest[t.destLen++]=n;else{var i,o,s,a;for(n-=257,i=Ud(t,YZ[n],JZ[n]),o=tG(t,r),s=t.destLen-Ud(t,lke[o],cke[o]),a=s;a<s+i;++a)t.dest[t.destLen++]=t.dest[a]}}}function _Pt(t){for(var e,r,n;t.bitcount>8;)t.sourceIndex--,t.bitcount-=8;if(e=t.source[t.sourceIndex+1],e=256*e+t.source[t.sourceIndex],r=t.source[t.sourceIndex+3],r=256*r+t.source[t.sourceIndex+2],e!==(~r&65535))return oke;for(t.sourceIndex+=4,n=e;n;--n)t.dest[t.destLen++]=t.source[t.sourceIndex++];return t.bitcount=0,XZ}function jPt(t,e){var r=new FPt(t,e),n,i,o;do{switch(n=RPt(r),i=Ud(r,2,0),i){case 0:o=_Pt(r);break;case 1:o=Bhe(r,ske,ake);break;case 2:MPt(r,r.ltree,r.dtree),o=Bhe(r,r.ltree,r.dtree);break;default:o=oke}if(o!==XZ)throw new Error("Data error")}while(!n);return r.destLen<r.dest.length?typeof r.dest.slice=="function"?r.dest.slice(0,r.destLen):r.dest.subarray(0,r.destLen):r.dest}LPt(ske,ake);uke(YZ,JZ,4,3);uke(lke,cke,2,1);YZ[28]=0;JZ[28]=258;var fke=jPt;const UPt=Io(fke),QPt=new Uint8Array(new Uint32Array([305419896]).buffer)[0]===18,Che=(t,e,r)=>{let n=t[e];t[e]=t[r],t[r]=n},VPt=t=>{const e=t.length;for(let r=0;r<e;r+=4)Che(t,r,r+3),Che(t,r+1,r+2)},$Pt=t=>{QPt&&VPt(t)};var HPt={swap32LE:$Pt};const bhe=fke,{swap32LE:GPt}=HPt,ZZ=6+5,w1=5,WPt=ZZ-w1,zPt=65536>>ZZ,KPt=1<<WPt,qPt=KPt-1,xD=2,XPt=1<<w1,Z_=XPt-1,dke=65536>>w1,YPt=1024>>w1,JPt=dke+YPt,ZPt=JPt,eIt=32,tIt=ZPt+eIt,rIt=1<<xD;let nIt=class{constructor(e){const r=typeof e.readUInt32BE=="function"&&typeof e.slice=="function";if(r||e instanceof Uint8Array){let n;if(r)this.highStart=e.readUInt32LE(0),this.errorValue=e.readUInt32LE(4),n=e.readUInt32LE(8),e=e.slice(12);else{const i=new DataView(e.buffer);this.highStart=i.getUint32(0,!0),this.errorValue=i.getUint32(4,!0),n=i.getUint32(8,!0),e=e.subarray(12)}e=bhe(e,new Uint8Array(n)),e=bhe(e,new Uint8Array(n)),GPt(e),this.data=new Uint32Array(e.buffer)}else({data:this.data,highStart:this.highStart,errorValue:this.errorValue}=e)}get(e){let r;return e<0||e>1114111?this.errorValue:e<55296||e>56319&&e<=65535?(r=(this.data[e>>w1]<<xD)+(e&Z_),this.data[r]):e<=65535?(r=(this.data[dke+(e-55296>>w1)]<<xD)+(e&Z_),this.data[r]):e<this.highStart?(r=this.data[tIt-zPt+(e>>ZZ)],r=this.data[r+(e>>w1&qPt)],r=(r<<xD)+(e&Z_),this.data[r]):this.data[this.data.length-rIt]}};var iIt=nIt;const fN=Io(iIt);function Cv(t){return t&&t.__esModule?t.default:t}var Km={};Km=JSON.parse('{"categories":["Cc","Zs","Po","Sc","Ps","Pe","Sm","Pd","Nd","Lu","Sk","Pc","Ll","So","Lo","Pi","Cf","No","Pf","Lt","Lm","Mn","Me","Mc","Nl","Zl","Zp","Cs","Co"],"combiningClasses":["Not_Reordered","Above","Above_Right","Below","Attached_Above_Right","Attached_Below","Overlay","Iota_Subscript","Double_Below","Double_Above","Below_Right","Above_Left","CCC10","CCC11","CCC12","CCC13","CCC14","CCC15","CCC16","CCC17","CCC18","CCC19","CCC20","CCC21","CCC22","CCC23","CCC24","CCC25","CCC30","CCC31","CCC32","CCC27","CCC28","CCC29","CCC33","CCC34","CCC35","CCC36","Nukta","Virama","CCC84","CCC91","CCC103","CCC107","CCC118","CCC122","CCC129","CCC130","CCC132","Attached_Above","Below_Left","Left","Kana_Voicing","CCC26","Right"],"scripts":["Common","Latin","Bopomofo","Inherited","Greek","Coptic","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Nko","Samaritan","Mandaic","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul","Ethiopic","Cherokee","Canadian_Aboriginal","Ogham","Runic","Tagalog","Hanunoo","Buhid","Tagbanwa","Khmer","Mongolian","Limbu","Tai_Le","New_Tai_Lue","Buginese","Tai_Tham","Balinese","Sundanese","Batak","Lepcha","Ol_Chiki","Braille","Glagolitic","Tifinagh","Han","Hiragana","Katakana","Yi","Lisu","Vai","Bamum","Syloti_Nagri","Phags_Pa","Saurashtra","Kayah_Li","Rejang","Javanese","Cham","Tai_Viet","Meetei_Mayek","null","Linear_B","Lycian","Carian","Old_Italic","Gothic","Old_Permic","Ugaritic","Old_Persian","Deseret","Shavian","Osmanya","Osage","Elbasan","Caucasian_Albanian","Linear_A","Cypriot","Imperial_Aramaic","Palmyrene","Nabataean","Hatran","Phoenician","Lydian","Meroitic_Hieroglyphs","Meroitic_Cursive","Kharoshthi","Old_South_Arabian","Old_North_Arabian","Manichaean","Avestan","Inscriptional_Parthian","Inscriptional_Pahlavi","Psalter_Pahlavi","Old_Turkic","Old_Hungarian","Hanifi_Rohingya","Old_Sogdian","Sogdian","Elymaic","Brahmi","Kaithi","Sora_Sompeng","Chakma","Mahajani","Sharada","Khojki","Multani","Khudawadi","Grantha","Newa","Tirhuta","Siddham","Modi","Takri","Ahom","Dogra","Warang_Citi","Nandinagari","Zanabazar_Square","Soyombo","Pau_Cin_Hau","Bhaiksuki","Marchen","Masaram_Gondi","Gunjala_Gondi","Makasar","Cuneiform","Egyptian_Hieroglyphs","Anatolian_Hieroglyphs","Mro","Bassa_Vah","Pahawh_Hmong","Medefaidrin","Miao","Tangut","Nushu","Duployan","SignWriting","Nyiakeng_Puachue_Hmong","Wancho","Mende_Kikakui","Adlam"],"eaw":["N","Na","A","W","H","F"]}');const eee=new fN(Dx.toByteArray("AAARAAAAAADwfAEAZXl5ONRt+/5bPVFZimRfKoTQJNm37CGE7Iw0j3UsTWKsoyI7kwyyTiEUzSD7NiEzhWYijH0wMVkHE4Mx49fzfo+3nuP4/fdZjvv+XNd5n/d9nef1WZvmKhTxiZndzDQBSEYQqxqKwnsKvGQucFh+6t6cJ792ePQBZv5S9yXSwkyjf/P4T7mTNnIAv1dOVhMlR9lflbUL9JeJguqsjvG9NTj/wLb566VAURnLo2vvRi89S3gW/33ihh2eXpDn40BIW7REl/7coRKIhAFlAiOtbLDTt6mMb4GzMF1gNnvX/sBxtbsAIjfztCNcQjcNDtLThRvuXu5M5g/CBjaLBE4lJm4qy/oZD97+IJryApcXfgWYlkvWbhfXgujOJKVu8B+ozqTLbxyJ5kNiR75CxDqfBM9eOlDMmGeoZ0iQbbS5VUplIwI+ZNXEKQVJxlwqjhOY7w3XwPesbLK5JZE+Tt4X8q8km0dzInsPPzbscrjBMVjF5mOHSeRdJVgKUjLTHiHqXSPkep8N/zFk8167KLp75f6RndkvzdfB6Uz3MmqvRArzdCbs1/iRZjYPLLF3U8Qs+H+Rb8iK51a6NIV2V9+07uJsTGFWpPz8J++7iRu2B6eAKlK/kujrLthwaD/7a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oc2EzQ3pL6W5JdfJzAWmOk8oeoECe90lVMruwl/ltM015P/zIPazqvdvFmLNVHMIZrwiQ2tIKtGh6PDVH+85ew3caqVt2BsDv5rOcu3G9srQWd7NmgtzCRUXLYknYRSwtH9oUtkqyN3CfP20xQ1faXQl4MEmjQehWR6GmGnkdpYNQYeIG408yAX7uCZmYUic9juOfb+Re28+OVOB+scYK4DaPcBe+5wmji9gymtkMpKo4UKqCz7yxzuN8VIlx9yNozpRJpNaWHtaZVEqP45n2JemTlYBSmNIK1FuSYAUQ1yBLnKxevrjayd+h2i8PjdB3YY6b0nr3JuOXGpPMyh4V2dslpR3DFEvgpsBLqhqLDOWP4yEvIL6f21PpA7/8B")),oIt=Math.log2||(t=>Math.log(t)/Math.LN2),dN=t=>oIt(t)+1|0,sIt=dN(Cv(Km).categories.length-1),pke=dN(Cv(Km).combiningClasses.length-1),tee=dN(Cv(Km).scripts.length-1),ree=dN(Cv(Km).eaw.length-1),nee=10,aIt=pke+tee+ree+nee,lIt=tee+ree+nee,cIt=ree+nee,uIt=(1<<sIt)-1,fIt=(1<<pke)-1,dIt=(1<<tee)-1;function pN(t){const e=eee.get(t);return Cv(Km).categories[e>>aIt&uIt]}function pIt(t){const e=eee.get(t);return Cv(Km).combiningClasses[e>>lIt&fIt]}function Ake(t){const e=eee.get(t);return Cv(Km).scripts[e>>cIt&dIt]}function whe(t){return pN(t)==="Nd"}function hke(t){const e=pN(t);return e==="Mn"||e==="Me"||e==="Mc"}var ej=1,tj=0;class AIt{constructor(e){this.stateTable=e.stateTable,this.accepting=e.accepting,this.tags=e.tags}match(e){var r=this;return{*[Symbol.iterator](){for(var n=ej,i=null,o=null,s=null,a=0;a<e.length;a++){var l=e[a];s=n,n=r.stateTable[n][l],n===tj&&(i!=null&&o!=null&&o>=i&&(yield[i,o,r.tags[s]]),n=r.stateTable[ej][l],i=null),n!==tj&&i==null&&(i=a),r.accepting[n]&&(o=a),n===tj&&(n=ej)}i!=null&&o!=null&&o>=i&&(yield[i,o,r.tags[n]])}}}apply(e,r){for(var[n,i,o]of this.match(e))for(var s of o)typeof r[s]=="function"&&r[s](n,i,e.slice(n,i+1))}}var hIt=AIt;const mke=Io(hIt);var gke={exports:{}};(function(t){var e=function(){function r(d,p){return p!=null&&d instanceof p}var n;try{n=Map}catch{n=function(){}}var i;try{i=Set}catch{i=function(){}}var o;try{o=Promise}catch{o=function(){}}function s(d,p,h,A,g){typeof p=="object"&&(h=p.depth,A=p.prototype,g=p.includeNonEnumerable,p=p.circular);var m=[],v=[],y=typeof Buffer<"u";typeof p>"u"&&(p=!0),typeof h>"u"&&(h=1/0);function b(B,S){if(B===null)return null;if(S===0)return B;var w,x;if(typeof B!="object")return B;if(r(B,n))w=new n;else if(r(B,i))w=new i;else if(r(B,o))w=new o(function(j,R){B.then(function(Q){j(b(Q,S-1))},function(Q){R(b(Q,S-1))})});else if(s.__isArray(B))w=[];else if(s.__isRegExp(B))w=new RegExp(B.source,f(B)),B.lastIndex&&(w.lastIndex=B.lastIndex);else if(s.__isDate(B))w=new Date(B.getTime());else{if(y&&Buffer.isBuffer(B))return Buffer.allocUnsafe?w=Buffer.allocUnsafe(B.length):w=new Buffer(B.length),B.copy(w),w;r(B,Error)?w=Object.create(B):typeof A>"u"?(x=Object.getPrototypeOf(B),w=Object.create(x)):(w=Object.create(A),x=A)}if(p){var I=m.indexOf(B);if(I!=-1)return v[I];m.push(B),v.push(w)}r(B,n)&&B.forEach(function(j,R){var Q=b(R,S-1),z=b(j,S-1);w.set(Q,z)}),r(B,i)&&B.forEach(function(j){var R=b(j,S-1);w.add(R)});for(var F in B){var k;x&&(k=Object.getOwnPropertyDescriptor(x,F)),!(k&&k.set==null)&&(w[F]=b(B[F],S-1))}if(Object.getOwnPropertySymbols)for(var O=Object.getOwnPropertySymbols(B),F=0;F<O.length;F++){var L=O[F],M=Object.getOwnPropertyDescriptor(B,L);M&&!M.enumerable&&!g||(w[L]=b(B[L],S-1),M.enumerable||Object.defineProperty(w,L,{enumerable:!1}))}if(g)for(var H=Object.getOwnPropertyNames(B),F=0;F<H.length;F++){var V=H[F],M=Object.getOwnPropertyDescriptor(B,V);M&&M.enumerable||(w[V]=b(B[V],S-1),Object.defineProperty(w,V,{enumerable:!1}))}return w}return b(d,h)}s.clonePrototype=function(p){if(p===null)return null;var h=function(){};return h.prototype=p,new h};function a(d){return Object.prototype.toString.call(d)}s.__objToStr=a;function l(d){return typeof d=="object"&&a(d)==="[object Date]"}s.__isDate=l;function c(d){return typeof d=="object"&&a(d)==="[object Array]"}s.__isArray=c;function u(d){return typeof d=="object"&&a(d)==="[object RegExp]"}s.__isRegExp=u;function f(d){var p="";return d.global&&(p+="g"),d.ignoreCase&&(p+="i"),d.multiline&&(p+="m"),p}return s.__getRegExpFlags=f,s}();t.exports&&(t.exports=e)})(gke);var mIt=gke.exports;const rj=Io(mIt);var nw={},nO={};function vke(t){this.buffer=t,this.pos=0}vke.prototype.read=function(t,e,r){this.pos+r>this.buffer.length&&(r=this.buffer.length-this.pos);for(var n=0;n<r;n++)t[e+n]=this.buffer[this.pos+n];return this.pos+=r,r};nO.BrotliInput=vke;function yke(t){this.buffer=t,this.pos=0}yke.prototype.write=function(t,e){if(this.pos+e>this.buffer.length)throw new Error("Output buffer is not large enough");return this.buffer.set(t.subarray(0,e),this.pos),this.pos+=e,e};nO.BrotliOutput=yke;var o1=4096,gIt=2*o1+32,Bke=2*o1-1,vIt=new Uint32Array([0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215]);function bv(t){this.buf_=new Uint8Array(gIt),this.input_=t,this.reset()}bv.READ_SIZE=o1;bv.IBUF_MASK=Bke;bv.prototype.reset=function(){this.buf_ptr_=0,this.val_=0,this.pos_=0,this.bit_pos_=0,this.bit_end_pos_=0,this.eos_=0,this.readMoreInput();for(var t=0;t<4;t++)this.val_|=this.buf_[this.pos_]<<8*t,++this.pos_;return this.bit_end_pos_>0};bv.prototype.readMoreInput=function(){if(!(this.bit_end_pos_>256))if(this.eos_){if(this.bit_pos_>this.bit_end_pos_)throw new Error("Unexpected end of input "+this.bit_pos_+" "+this.bit_end_pos_)}else{var t=this.buf_ptr_,e=this.input_.read(this.buf_,t,o1);if(e<0)throw new Error("Unexpected end of input");if(e<o1){this.eos_=1;for(var r=0;r<32;r++)this.buf_[t+e+r]=0}if(t===0){for(var r=0;r<32;r++)this.buf_[(o1<<1)+r]=this.buf_[r];this.buf_ptr_=o1}else this.buf_ptr_=0;this.bit_end_pos_+=e<<3}};bv.prototype.fillBitWindow=function(){for(;this.bit_pos_>=8;)this.val_>>>=8,this.val_|=this.buf_[this.pos_&Bke]<<24,++this.pos_,this.bit_pos_=this.bit_pos_-8>>>0,this.bit_end_pos_=this.bit_end_pos_-8>>>0};bv.prototype.readBits=function(t){32-this.bit_pos_<t&&this.fillBitWindow();var e=this.val_>>>this.bit_pos_&vIt[t];return this.bit_pos_+=t,e};var yIt=bv,Xh={},nj={},ij,xhe;function BIt(){return xhe||(xhe=1,ij="W5/fcQLn5gKf2XUbAiQ1XULX+TZz6ADToDsgqk6qVfeC0e4m6OO2wcQ1J76ZBVRV1fRkEsdu//62zQsFEZWSTCnMhcsQKlS2qOhuVYYMGCkV0fXWEoMFbESXrKEZ9wdUEsyw9g4bJlEt1Y6oVMxMRTEVbCIwZzJzboK5j8m4YH02qgXYhv1V+PM435sLVxyHJihaJREEhZGqL03txGFQLm76caGO/ovxKvzCby/3vMTtX/459f0igi7WutnKiMQ6wODSoRh/8Lx1V3Q99MvKtwB6bHdERYRY0hStJoMjNeTsNX7bn+Y7e4EQ3bf8xBc7L0BsyfFPK43dGSXpL6clYC/I328h54/VYrQ5i0648FgbGtl837svJ35L3Mot/+nPlNpWgKx1gGXQYqX6n+bbZ7wuyCHKcUok12Xjqub7NXZGzqBx0SD+uziNf87t7ve42jxSKQoW3nyxVrWIGlFShhCKxjpZZ5MeGna0+lBkk+kaN8F9qFBAFgEogyMBdcX/T1W/Wn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NqOigaKd/XlLU4XHfk/PXIjPsLy/9/kAtQ+/wKH+hI/IROWj5FPvTZAT9f7j4ZXQyG4M0TujMAFXYkKvEHv1xhySekgXGGqNxWeWKlf8dDAlLuB1cb/qOD+rk7cmwt+1yKpk9cudqBanTi6zTbXRtV8qylNtjyOVKy1HTz0GW9rjt6sSjAZcT5R+KdtyYb0zyqG9pSLuCw5WBwAn7fjBjKLLoxLXMI+52L9cLwIR2B6OllJZLHJ8vDxmWdtF+QJnmt1rsHPIWY20lftk8fYePkAIg6Hgn532QoIpegMxiWgAOfe5/U44APR8Ac0NeZrVh3gEhs12W+tVSiWiUQekf/YBECUy5fdYbA08dd7VzPAP9aiVcIB9k6tY7WdJ1wNV+bHeydNtmC6G5ICtFC1ZwmJU/j8hf0I8TRVKSiz5oYIa93EpUI78X8GYIAZabx47/n8LDAAJ0nNtP1rpROprqKMBRecShca6qXuTSI3jZBLOB3Vp381B5rCGhjSvh/NSVkYp2qIdP/Bg="),ij}var She;function CIt(){if(She)return nj;She=1;var t=Dx;return nj.init=function(){var e=bke().BrotliDecompressBuffer,r=t.toByteArray(BIt());return e(r)},nj}var Ehe;function Cke(){if(Ehe)return Xh;Ehe=1;var t=CIt();return Xh.init=function(){Xh.dictionary=t.init()},Xh.offsetsByLength=new Uint32Array([0,0,0,0,0,4096,9216,21504,35840,44032,53248,63488,74752,87040,93696,100864,104704,106752,108928,113536,115968,118528,119872,121280,122016]),Xh.sizeBitsByLength=new Uint8Array([0,0,0,0,10,10,11,11,10,10,10,10,10,9,9,8,7,7,8,7,7,6,6,5,5]),Xh.minDictionaryWordLength=4,Xh.maxDictionaryWordLength=24,Xh}var iO={};function p2(t,e){this.bits=t,this.value=e}iO.HuffmanCode=p2;var Vy=15;function Dhe(t,e){for(var r=1<<e-1;t&r;)r>>=1;return(t&r-1)+r}function khe(t,e,r,n,i){do n-=r,t[e+n]=new p2(i.bits,i.value);while(n>0)}function bIt(t,e,r){for(var n=1<<e-r;e<Vy&&(n-=t[e],!(n<=0));)++e,n<<=1;return e-r}iO.BrotliBuildHuffmanTable=function(t,e,r,n,i){var o=e,s,a,l,c,u,f,d,p,h,A,g,m=new Int32Array(Vy+1),v=new Int32Array(Vy+1);for(g=new Int32Array(i),l=0;l<i;l++)m[n[l]]++;for(v[1]=0,a=1;a<Vy;a++)v[a+1]=v[a]+m[a];for(l=0;l<i;l++)n[l]!==0&&(g[v[n[l]]++]=l);if(p=r,h=1<<p,A=h,v[Vy]===1){for(c=0;c<A;++c)t[e+c]=new p2(0,g[0]&65535);return A}for(c=0,l=0,a=1,u=2;a<=r;++a,u<<=1)for(;m[a]>0;--m[a])s=new p2(a&255,g[l++]&65535),khe(t,e+c,u,h,s),c=Dhe(c,a);for(d=A-1,f=-1,a=r+1,u=2;a<=Vy;++a,u<<=1)for(;m[a]>0;--m[a])(c&d)!==f&&(e+=h,p=bIt(m,a,r),h=1<<p,A+=h,f=c&d,t[o+f]=new p2(p+r&255,e-o-f&65535)),s=new p2(a-r&255,g[l++]&65535),khe(t,e+(c>>r),u,h,s),c=Dhe(c,a);return A};var iee={};iee.lookup=new Uint8Array([0,0,0,0,0,0,0,0,0,4,4,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,12,16,12,12,20,12,16,24,28,12,12,32,12,36,12,44,44,44,44,44,44,44,44,44,44,32,32,24,40,28,12,12,48,52,52,52,48,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,24,12,28,12,12,12,56,60,60,60,56,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,24,12,28,12,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,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5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,56,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,11,11,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,22,22,22,22,23,23,23,23,24,24,24,24,25,25,25,25,26,26,26,26,27,27,27,27,28,28,28,28,29,29,29,29,30,30,30,30,31,31,31,31,32,32,32,32,33,33,33,33,34,34,34,34,35,35,35,35,36,36,36,36,37,37,37,37,38,38,38,38,39,39,39,39,40,40,40,40,41,41,41,41,42,42,42,42,43,43,43,43,44,44,44,44,45,45,45,45,46,46,46,46,47,47,47,47,48,48,48,48,49,49,49,49,50,50,50,50,51,51,51,51,52,52,52,52,53,53,53,53,54,54,54,54,55,55,55,55,56,56,56,56,57,57,57,57,58,58,58,58,59,59,59,59,60,60,60,60,61,61,61,61,62,62,62,62,63,63,63,63,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);iee.lookupOffsets=new Uint16Array([1024,1536,1280,1536,0,256,768,512]);var RC={};function dr(t,e){this.offset=t,this.nbits=e}RC.kBlockLengthPrefixCode=[new dr(1,2),new dr(5,2),new dr(9,2),new dr(13,2),new dr(17,3),new dr(25,3),new dr(33,3),new dr(41,3),new dr(49,4),new dr(65,4),new dr(81,4),new dr(97,4),new dr(113,5),new dr(145,5),new dr(177,5),new dr(209,5),new dr(241,6),new dr(305,6),new dr(369,7),new dr(497,8),new dr(753,9),new dr(1265,10),new dr(2289,11),new dr(4337,12),new dr(8433,13),new dr(16625,24)];RC.kInsertLengthPrefixCode=[new dr(0,0),new dr(1,0),new dr(2,0),new dr(3,0),new dr(4,0),new dr(5,0),new dr(6,1),new dr(8,1),new dr(10,2),new dr(14,2),new dr(18,3),new dr(26,3),new dr(34,4),new dr(50,4),new dr(66,5),new dr(98,5),new dr(130,6),new dr(194,7),new dr(322,8),new dr(578,9),new dr(1090,10),new dr(2114,12),new dr(6210,14),new dr(22594,24)];RC.kCopyLengthPrefixCode=[new dr(2,0),new dr(3,0),new dr(4,0),new dr(5,0),new dr(6,0),new dr(7,0),new dr(8,0),new dr(9,0),new dr(10,1),new dr(12,1),new dr(14,2),new dr(18,2),new dr(22,3),new dr(30,3),new dr(38,4),new dr(54,4),new dr(70,5),new dr(102,5),new dr(134,6),new dr(198,7),new dr(326,8),new dr(582,9),new dr(1094,10),new dr(2118,24)];RC.kInsertRangeLut=[0,0,8,8,0,16,8,16,16];RC.kCopyRangeLut=[0,8,0,8,16,0,16,8,16];var iw={},Ohe;function wIt(){if(Ohe)return iw;Ohe=1;var t=Cke(),e=0,r=1,n=2,i=3,o=4,s=5,a=6,l=7,c=8,u=9,f=10,d=11,p=12,h=13,A=14,g=15,m=16,v=17,y=18,b=20;function B(x,I,F){this.prefix=new Uint8Array(x.length),this.transform=I,this.suffix=new Uint8Array(F.length);for(var k=0;k<x.length;k++)this.prefix[k]=x.charCodeAt(k);for(var k=0;k<F.length;k++)this.suffix[k]=F.charCodeAt(k)}var S=[new B("",e,""),new B("",e," "),new B(" ",e," "),new B("",p,""),new B("",f," "),new B("",e," the "),new B(" ",e,""),new B("s ",e," "),new B("",e," of "),new B("",f,""),new B("",e," and "),new B("",h,""),new B("",r,""),new B(", ",e," "),new B("",e,", "),new B(" ",f," "),new B("",e," in "),new B("",e," to "),new B("e ",e," "),new B("",e,'"'),new B("",e,"."),new B("",e,'">'),new B("",e,` `),new B("",i,""),new B("",e,"]"),new B("",e," for "),new B("",A,""),new B("",n,""),new B("",e," a "),new B("",e," that "),new B(" ",f,""),new B("",e,". "),new B(".",e,""),new B(" ",e,", "),new B("",g,""),new B("",e," with "),new B("",e,"'"),new B("",e," from "),new B("",e," by "),new B("",m,""),new B("",v,""),new B(" the ",e,""),new B("",o,""),new B("",e,". The "),new B("",d,""),new B("",e," on "),new B("",e," as "),new B("",e," is "),new B("",l,""),new B("",r,"ing "),new B("",e,` `),new B("",e,":"),new B(" ",e,". "),new B("",e,"ed "),new B("",b,""),new B("",y,""),new B("",a,""),new B("",e,"("),new B("",f,", "),new B("",c,""),new B("",e," at "),new B("",e,"ly "),new B(" the ",e," of "),new B("",s,""),new B("",u,""),new B(" ",f,", "),new B("",f,'"'),new B(".",e,"("),new B("",d," "),new B("",f,'">'),new B("",e,'="'),new B(" ",e,"."),new B(".com/",e,""),new B(" the ",e," of the "),new B("",f,"'"),new B("",e,". This "),new B("",e,","),new B(".",e," "),new B("",f,"("),new B("",f,"."),new B("",e," not "),new B(" ",e,'="'),new B("",e,"er "),new B(" ",d," "),new B("",e,"al "),new B(" ",d,""),new B("",e,"='"),new B("",d,'"'),new B("",f,". "),new B(" ",e,"("),new B("",e,"ful "),new B(" ",f,". "),new B("",e,"ive "),new B("",e,"less "),new B("",d,"'"),new B("",e,"est "),new B(" ",f,"."),new B("",d,'">'),new B(" ",e,"='"),new B("",f,","),new B("",e,"ize "),new B("",d,"."),new B(" ",e,""),new B(" ",e,","),new B("",f,'="'),new B("",d,'="'),new B("",e,"ous "),new B("",d,", "),new B("",f,"='"),new B(" ",f,","),new B(" ",d,'="'),new B(" ",d,", "),new B("",d,","),new B("",d,"("),new B("",d,". "),new B(" ",d,"."),new B("",d,"='"),new B(" ",d,". "),new B(" ",f,'="'),new B(" ",d,"='"),new B(" ",f,"='")];iw.kTransforms=S,iw.kNumTransforms=S.length;function w(x,I){return x[I]<192?(x[I]>=97&&x[I]<=122&&(x[I]^=32),1):x[I]<224?(x[I+1]^=32,2):(x[I+2]^=5,3)}return iw.transformDictionaryWord=function(x,I,F,k,O){var L=S[O].prefix,M=S[O].suffix,H=S[O].transform,V=H<p?0:H-(p-1),j=0,R=I,Q;V>k&&(V=k);for(var z=0;z<L.length;)x[I++]=L[z++];for(F+=V,k-=V,H<=u&&(k-=H),j=0;j<k;j++)x[I++]=t.dictionary[F+j];if(Q=I-k,H===f)w(x,Q);else if(H===d)for(;k>0;){var X=w(x,Q);Q+=X,k-=X}for(var _=0;_<M.length;)x[I++]=M[_++];return I-R},iw}var Phe;function bke(){if(Phe)return nw;Phe=1;var t=nO.BrotliInput,e=nO.BrotliOutput,r=yIt,n=Cke(),i=iO.HuffmanCode,o=iO.BrotliBuildHuffmanTable,s=iee,a=RC,l=wIt(),c=8,u=16,f=256,d=704,p=26,h=6,A=2,g=8,m=255,v=1080,y=18,b=new Uint8Array([1,2,3,4,0,5,17,6,16,7,8,9,10,11,12,13,14,15]),B=16,S=new Uint8Array([3,2,1,0,3,3,3,3,3,3,2,2,2,2,2,2]),w=new Int8Array([0,0,0,0,-1,1,-2,2,-3,3,-1,1,-2,2,-3,3]),x=new Uint16Array([256,402,436,468,500,534,566,598,630,662,694,726,758,790,822,854,886,920,952,984,1016,1048,1080]);function I(Z){var re;return Z.readBits(1)===0?16:(re=Z.readBits(3),re>0?17+re:(re=Z.readBits(3),re>0?8+re:17))}function F(Z){if(Z.readBits(1)){var re=Z.readBits(3);return re===0?1:Z.readBits(re)+(1<<re)}return 0}function k(){this.meta_block_length=0,this.input_end=0,this.is_uncompressed=0,this.is_metadata=!1}function O(Z){var re=new k,fe,de,ie;if(re.input_end=Z.readBits(1),re.input_end&&Z.readBits(1))return re;if(fe=Z.readBits(2)+4,fe===7){if(re.is_metadata=!0,Z.readBits(1)!==0)throw new Error("Invalid reserved bit");if(de=Z.readBits(2),de===0)return re;for(ie=0;ie<de;ie++){var le=Z.readBits(8);if(ie+1===de&&de>1&&le===0)throw new Error("Invalid size byte");re.meta_block_length|=le<<ie*8}}else for(ie=0;ie<fe;++ie){var De=Z.readBits(4);if(ie+1===fe&&fe>4&&De===0)throw new Error("Invalid size nibble");re.meta_block_length|=De<<ie*4}return++re.meta_block_length,!re.input_end&&!re.is_metadata&&(re.is_uncompressed=Z.readBits(1)),re}function L(Z,re,fe){var de;return fe.fillBitWindow(),re+=fe.val_>>>fe.bit_pos_&m,de=Z[re].bits-g,de>0&&(fe.bit_pos_+=g,re+=Z[re].value,re+=fe.val_>>>fe.bit_pos_&(1<<de)-1),fe.bit_pos_+=Z[re].bits,Z[re].value}function M(Z,re,fe,de){for(var ie=0,le=c,De=0,Ae=0,ue=32768,Ne=[],Te=0;Te<32;Te++)Ne.push(new i(0,0));for(o(Ne,0,5,Z,y);ie<re&&ue>0;){var Re=0,je;if(de.readMoreInput(),de.fillBitWindow(),Re+=de.val_>>>de.bit_pos_&31,de.bit_pos_+=Ne[Re].bits,je=Ne[Re].value&255,je<u)De=0,fe[ie++]=je,je!==0&&(le=je,ue-=32768>>je);else{var Ve=je-14,ze,lt,gt=0;if(je===u&&(gt=le),Ae!==gt&&(De=0,Ae=gt),ze=De,De>0&&(De-=2,De<<=Ve),De+=de.readBits(Ve)+3,lt=De-ze,ie+lt>re)throw new Error("[ReadHuffmanCodeLengths] symbol + repeat_delta > num_symbols");for(var _t=0;_t<lt;_t++)fe[ie+_t]=Ae;ie+=lt,Ae!==0&&(ue-=lt<<15-Ae)}}if(ue!==0)throw new Error("[ReadHuffmanCodeLengths] space = "+ue);for(;ie<re;ie++)fe[ie]=0}function H(Z,re,fe,de){var ie=0,le,De=new Uint8Array(Z);if(de.readMoreInput(),le=de.readBits(2),le===1){for(var Ae,ue=Z-1,Ne=0,Te=new Int32Array(4),Re=de.readBits(2)+1;ue;)ue>>=1,++Ne;for(Ae=0;Ae<Re;++Ae)Te[Ae]=de.readBits(Ne)%Z,De[Te[Ae]]=2;switch(De[Te[0]]=1,Re){case 1:break;case 3:if(Te[0]===Te[1]||Te[0]===Te[2]||Te[1]===Te[2])throw new Error("[ReadHuffmanCode] invalid symbols");break;case 2:if(Te[0]===Te[1])throw new Error("[ReadHuffmanCode] invalid symbols");De[Te[1]]=1;break;case 4:if(Te[0]===Te[1]||Te[0]===Te[2]||Te[0]===Te[3]||Te[1]===Te[2]||Te[1]===Te[3]||Te[2]===Te[3])throw new Error("[ReadHuffmanCode] invalid symbols");de.readBits(1)?(De[Te[2]]=3,De[Te[3]]=3):De[Te[0]]=2;break}}else{var Ae,je=new Uint8Array(y),Ve=32,ze=0,lt=[new i(2,0),new i(2,4),new i(2,3),new i(3,2),new i(2,0),new i(2,4),new i(2,3),new i(4,1),new i(2,0),new i(2,4),new i(2,3),new i(3,2),new i(2,0),new i(2,4),new i(2,3),new i(4,5)];for(Ae=le;Ae<y&&Ve>0;++Ae){var gt=b[Ae],_t=0,U;de.fillBitWindow(),_t+=de.val_>>>de.bit_pos_&15,de.bit_pos_+=lt[_t].bits,U=lt[_t].value,je[gt]=U,U!==0&&(Ve-=32>>U,++ze)}if(!(ze===1||Ve===0))throw new Error("[ReadHuffmanCode] invalid num_codes or space");M(je,Z,De,de)}if(ie=o(re,fe,g,De,Z),ie===0)throw new Error("[ReadHuffmanCode] BuildHuffmanTable failed: ");return ie}function V(Z,re,fe){var de,ie;return de=L(Z,re,fe),ie=a.kBlockLengthPrefixCode[de].nbits,a.kBlockLengthPrefixCode[de].offset+fe.readBits(ie)}function j(Z,re,fe){var de;return Z<B?(fe+=S[Z],fe&=3,de=re[fe]+w[Z]):de=Z-B+1,de}function R(Z,re){for(var fe=Z[re],de=re;de;--de)Z[de]=Z[de-1];Z[0]=fe}function Q(Z,re){var fe=new Uint8Array(256),de;for(de=0;de<256;++de)fe[de]=de;for(de=0;de<re;++de){var ie=Z[de];Z[de]=fe[ie],ie&&R(fe,ie)}}function z(Z,re){this.alphabet_size=Z,this.num_htrees=re,this.codes=new Array(re+re*x[Z+31>>>5]),this.htrees=new Uint32Array(re)}z.prototype.decode=function(Z){var re,fe,de=0;for(re=0;re<this.num_htrees;++re)this.htrees[re]=de,fe=H(this.alphabet_size,this.codes,de,Z),de+=fe};function X(Z,re){var fe={num_htrees:null,context_map:null},de,ie=0,le,De;re.readMoreInput();var Ae=fe.num_htrees=F(re)+1,ue=fe.context_map=new Uint8Array(Z);if(Ae<=1)return fe;for(de=re.readBits(1),de&&(ie=re.readBits(4)+1),le=[],De=0;De<v;De++)le[De]=new i(0,0);for(H(Ae+ie,le,0,re),De=0;De<Z;){var Ne;if(re.readMoreInput(),Ne=L(le,0,re),Ne===0)ue[De]=0,++De;else if(Ne<=ie)for(var Te=1+(1<<Ne)+re.readBits(Ne);--Te;){if(De>=Z)throw new Error("[DecodeContextMap] i >= context_map_size");ue[De]=0,++De}else ue[De]=Ne-ie,++De}return re.readBits(1)&&Q(ue,Z),fe}function _(Z,re,fe,de,ie,le,De){var Ae=fe*2,ue=fe,Ne=L(re,fe*v,De),Te;Ne===0?Te=ie[Ae+(le[ue]&1)]:Ne===1?Te=ie[Ae+(le[ue]-1&1)]+1:Te=Ne-2,Te>=Z&&(Te-=Z),de[fe]=Te,ie[Ae+(le[ue]&1)]=Te,++le[ue]}function G(Z,re,fe,de,ie,le){var De=ie+1,Ae=fe&ie,ue=le.pos_&r.IBUF_MASK,Ne;if(re<8||le.bit_pos_+(re<<3)<le.bit_end_pos_){for(;re-- >0;)le.readMoreInput(),de[Ae++]=le.readBits(8),Ae===De&&(Z.write(de,De),Ae=0);return}if(le.bit_end_pos_<32)throw new Error("[CopyUncompressedBlockToOutput] br.bit_end_pos_ < 32");for(;le.bit_pos_<32;)de[Ae]=le.val_>>>le.bit_pos_,le.bit_pos_+=8,++Ae,--re;if(Ne=le.bit_end_pos_-le.bit_pos_>>3,ue+Ne>r.IBUF_MASK){for(var Te=r.IBUF_MASK+1-ue,Re=0;Re<Te;Re++)de[Ae+Re]=le.buf_[ue+Re];Ne-=Te,Ae+=Te,re-=Te,ue=0}for(var Re=0;Re<Ne;Re++)de[Ae+Re]=le.buf_[ue+Re];if(Ae+=Ne,re-=Ne,Ae>=De){Z.write(de,De),Ae-=De;for(var Re=0;Re<Ae;Re++)de[Re]=de[De+Re]}for(;Ae+re>=De;){if(Ne=De-Ae,le.input_.read(de,Ae,Ne)<Ne)throw new Error("[CopyUncompressedBlockToOutput] not enough bytes");Z.write(de,De),re-=Ne,Ae=0}if(le.input_.read(de,Ae,re)<re)throw new Error("[CopyUncompressedBlockToOutput] not enough bytes");le.reset()}function W(Z){var re=Z.bit_pos_+7&-8,fe=Z.readBits(re-Z.bit_pos_);return fe==0}function J(Z){var re=new t(Z),fe=new r(re);I(fe);var de=O(fe);return de.meta_block_length}nw.BrotliDecompressedSize=J;function ee(Z,re){var fe=new t(Z);re==null&&(re=J(Z));var de=new Uint8Array(re),ie=new e(de);return q(fe,ie),ie.pos<ie.buffer.length&&(ie.buffer=ie.buffer.subarray(0,ie.pos)),ie.buffer}nw.BrotliDecompressBuffer=ee;function q(Z,re){var fe,de=0,ie=0,le=0,De,Ae=0,ue,Ne,Te,Re,je=[16,15,11,4],Ve=0,ze=0,lt=0,gt=[new z(0,0),new z(0,0),new z(0,0)],_t,U,D,N=128+r.READ_SIZE;D=new r(Z),le=I(D),De=(1<<le)-16,ue=1<<le,Ne=ue-1,Te=new Uint8Array(ue+N+n.maxDictionaryWordLength),Re=ue,_t=[],U=[];for(var Y=0;Y<3*v;Y++)_t[Y]=new i(0,0),U[Y]=new i(0,0);for(;!ie;){var pe=0,be,_e=[1<<28,1<<28,1<<28],he=[0],Ee=[1,1,1],ot=[0,1,0,1,0,1],At=[0],Ct,pt,Bn,jr,yr=null,Sr=null,Jt,Dt=null,ir,xn=0,Ar=null,Yr=0,se=0,ae=null,Ce=0,Oe=0,Ie=0,Le,Qe;for(fe=0;fe<3;++fe)gt[fe].codes=null,gt[fe].htrees=null;D.readMoreInput();var Ge=O(D);if(pe=Ge.meta_block_length,de+pe>re.buffer.length){var ft=new Uint8Array(de+pe);ft.set(re.buffer),re.buffer=ft}if(ie=Ge.input_end,be=Ge.is_uncompressed,Ge.is_metadata){for(W(D);pe>0;--pe)D.readMoreInput(),D.readBits(8);continue}if(pe!==0){if(be){D.bit_pos_=D.bit_pos_+7&-8,G(re,pe,de,Te,Ne,D),de+=pe;continue}for(fe=0;fe<3;++fe)Ee[fe]=F(D)+1,Ee[fe]>=2&&(H(Ee[fe]+2,_t,fe*v,D),H(p,U,fe*v,D),_e[fe]=V(U,fe*v,D),At[fe]=1);for(D.readMoreInput(),Ct=D.readBits(2),pt=B+(D.readBits(4)<<Ct),Bn=(1<<Ct)-1,jr=pt+(48<<Ct),Sr=new Uint8Array(Ee[0]),fe=0;fe<Ee[0];++fe)D.readMoreInput(),Sr[fe]=D.readBits(2)<<1;var yt=X(Ee[0]<<h,D);Jt=yt.num_htrees,yr=yt.context_map;var nt=X(Ee[2]<<A,D);for(ir=nt.num_htrees,Dt=nt.context_map,gt[0]=new z(f,Jt),gt[1]=new z(d,Ee[1]),gt[2]=new z(jr,ir),fe=0;fe<3;++fe)gt[fe].decode(D);for(Ar=0,ae=0,Le=Sr[he[0]],Oe=s.lookupOffsets[Le],Ie=s.lookupOffsets[Le+1],Qe=gt[1].htrees[0];pe>0;){var Ft,mt,dt,Lt,tr,ur,Kt,In,on,Ii,vo;for(D.readMoreInput(),_e[1]===0&&(_(Ee[1],_t,1,he,ot,At,D),_e[1]=V(U,v,D),Qe=gt[1].htrees[he[1]]),--_e[1],Ft=L(gt[1].codes,Qe,D),mt=Ft>>6,mt>=2?(mt-=2,Kt=-1):Kt=0,dt=a.kInsertRangeLut[mt]+(Ft>>3&7),Lt=a.kCopyRangeLut[mt]+(Ft&7),tr=a.kInsertLengthPrefixCode[dt].offset+D.readBits(a.kInsertLengthPrefixCode[dt].nbits),ur=a.kCopyLengthPrefixCode[Lt].offset+D.readBits(a.kCopyLengthPrefixCode[Lt].nbits),ze=Te[de-1&Ne],lt=Te[de-2&Ne],Ii=0;Ii<tr;++Ii)D.readMoreInput(),_e[0]===0&&(_(Ee[0],_t,0,he,ot,At,D),_e[0]=V(U,0,D),xn=he[0]<<h,Ar=xn,Le=Sr[he[0]],Oe=s.lookupOffsets[Le],Ie=s.lookupOffsets[Le+1]),on=s.lookup[Oe+ze]|s.lookup[Ie+lt],Yr=yr[Ar+on],--_e[0],lt=ze,ze=L(gt[0].codes,gt[0].htrees[Yr],D),Te[de&Ne]=ze,(de&Ne)===Ne&&re.write(Te,ue),++de;if(pe-=tr,pe<=0)break;if(Kt<0){var on;if(D.readMoreInput(),_e[2]===0&&(_(Ee[2],_t,2,he,ot,At,D),_e[2]=V(U,2*v,D),se=he[2]<<A,ae=se),--_e[2],on=(ur>4?3:ur-2)&255,Ce=Dt[ae+on],Kt=L(gt[2].codes,gt[2].htrees[Ce],D),Kt>=pt){var Tr,wt,Gt;Kt-=pt,wt=Kt&Bn,Kt>>=Ct,Tr=(Kt>>1)+1,Gt=(2+(Kt&1)<<Tr)-4,Kt=pt+(Gt+D.readBits(Tr)<<Ct)+wt}}if(In=j(Kt,je,Ve),In<0)throw new Error("[BrotliDecompress] invalid distance");if(de<De&&Ae!==De?Ae=de:Ae=De,vo=de&Ne,In>Ae)if(ur>=n.minDictionaryWordLength&&ur<=n.maxDictionaryWordLength){var Gt=n.offsetsByLength[ur],$r=In-Ae-1,Hr=n.sizeBitsByLength[ur],Mr=(1<<Hr)-1,we=$r&Mr,ne=$r>>Hr;if(Gt+=we*ur,ne<l.kNumTransforms){var ce=l.transformDictionaryWord(Te,vo,Gt,ur,ne);if(vo+=ce,de+=ce,pe-=ce,vo>=Re){re.write(Te,ue);for(var me=0;me<vo-Re;me++)Te[me]=Te[Re+me]}}else throw new Error("Invalid backward reference. pos: "+de+" distance: "+In+" len: "+ur+" bytes left: "+pe)}else throw new Error("Invalid backward reference. pos: "+de+" distance: "+In+" len: "+ur+" bytes left: "+pe);else{if(Kt>0&&(je[Ve&3]=In,++Ve),ur>pe)throw new Error("Invalid backward reference. pos: "+de+" distance: "+In+" len: "+ur+" bytes left: "+pe);for(Ii=0;Ii<ur;++Ii)Te[de&Ne]=Te[de-In&Ne],(de&Ne)===Ne&&re.write(Te,ue),++de,--pe}ze=Te[de-1&Ne],lt=Te[de-2&Ne]}de&=1073741823}}re.write(Te,de&Ne)}return nw.BrotliDecompress=q,n.init(),nw}var xIt=bke().BrotliDecompressBuffer;const SIt=Io(xIt);function kx(t,e,r,n){Object.defineProperty(t,e,{get:r,set:n,enumerable:!0,configurable:!0})}function AN(t){return t&&t.__esModule?t.default:t}var Ox={};kx(Ox,"logErrors",()=>EIt);kx(Ox,"registerFormat",()=>MC);kx(Ox,"create",()=>wke);kx(Ox,"defaultLanguage",()=>oO);kx(Ox,"setDefaultLanguage",()=>DIt);let EIt=!1,rG=[];function MC(t){rG.push(t)}function wke(t,e){for(let r=0;r<rG.length;r++){let n=rG[r];if(n.probe(t)){let i=new n(new ya(t));return e?i.getFont(e):i}}throw new Error("Unknown font format")}let oO="en";function DIt(t="en"){oO=t}function Da(t,e,r){if(r.get){let n=r.get;r.get=function(){let i=n.call(this);return Object.defineProperty(this,e,{value:i}),i}}else if(typeof r.value=="function"){let n=r.value;return{get(){let i=new Map;function o(...s){let a=s.length>0?s[0]:"value";if(i.has(a))return i.get(a);let l=n.apply(this,s);return i.set(a,l),l}return Object.defineProperty(this,e,{value:o}),o}}}}let kIt=new ct({firstCode:te,entryCount:te,idDelta:Nt,idRangeOffset:te}),oj=new ct({startCharCode:et,endCharCode:et,glyphID:et}),OIt=new ct({startUnicodeValue:nm,additionalCount:Zt}),PIt=new ct({unicodeValue:nm,glyphID:te}),IIt=new Je(OIt,et),NIt=new Je(PIt,et),FIt=new ct({varSelector:nm,defaultUVS:new Ze(et,IIt,{type:"parent"}),nonDefaultUVS:new Ze(et,NIt,{type:"parent"})}),TIt=new Fn(te,{0:{length:te,language:te,codeMap:new xi(Zt,256)},2:{length:te,language:te,subHeaderKeys:new Je(te,256),subHeaderCount:t=>Math.max.apply(Math,t.subHeaderKeys),subHeaders:new xi(kIt,"subHeaderCount"),glyphIndexArray:new xi(te,"subHeaderCount")},4:{length:te,language:te,segCountX2:te,segCount:t=>t.segCountX2>>1,searchRange:te,entrySelector:te,rangeShift:te,endCode:new xi(te,"segCount"),reservedPad:new so(te),startCode:new xi(te,"segCount"),idDelta:new xi(Nt,"segCount"),idRangeOffset:new xi(te,"segCount"),glyphIndexArray:new xi(te,t=>(t.length-t._currentOffset)/2)},6:{length:te,language:te,firstCode:te,entryCount:te,glyphIndices:new xi(te,"entryCount")},8:{reserved:new so(te),length:et,language:te,is32:new xi(Zt,8192),nGroups:et,groups:new xi(oj,"nGroups")},10:{reserved:new so(te),length:et,language:et,firstCode:et,entryCount:et,glyphIndices:new xi(te,"numChars")},12:{reserved:new so(te),length:et,language:et,nGroups:et,groups:new xi(oj,"nGroups")},13:{reserved:new so(te),length:et,language:et,nGroups:et,groups:new xi(oj,"nGroups")},14:{length:et,numRecords:et,varSelectors:new xi(FIt,"numRecords")}}),LIt=new ct({platformID:te,encodingID:te,table:new Ze(et,TIt,{type:"parent",lazy:!0})});var RIt=new ct({version:te,numSubtables:te,tables:new Je(LIt,"numSubtables")}),MIt=new ct({version:i1,revision:i1,checkSumAdjustment:et,magicNumber:et,flags:te,unitsPerEm:te,created:new Je(i1,2),modified:new Je(i1,2),xMin:Nt,yMin:Nt,xMax:Nt,yMax:Nt,macStyle:new Xf(te,["bold","italic","underline","outline","shadow","condensed","extended"]),lowestRecPPEM:te,fontDirectionHint:Nt,indexToLocFormat:Nt,glyphDataFormat:Nt}),_It=new ct({version:i1,ascent:Nt,descent:Nt,lineGap:Nt,advanceWidthMax:te,minLeftSideBearing:Nt,minRightSideBearing:Nt,xMaxExtent:Nt,caretSlopeRise:Nt,caretSlopeRun:Nt,caretOffset:Nt,reserved:new so(Nt,4),metricDataFormat:Nt,numberOfMetrics:te});let jIt=new ct({advance:te,bearing:Nt});var UIt=new ct({metrics:new xi(jIt,t=>t.parent.hhea.numberOfMetrics),bearings:new xi(Nt,t=>t.parent.maxp.numGlyphs-t.parent.hhea.numberOfMetrics)}),QIt=new ct({version:i1,numGlyphs:te,maxPoints:te,maxContours:te,maxComponentPoints:te,maxComponentContours:te,maxZones:te,maxTwilightPoints:te,maxStorage:te,maxFunctionDefs:te,maxInstructionDefs:te,maxStackElements:te,maxSizeOfInstructions:te,maxComponentElements:te,maxComponentDepth:te});function xke(t,e,r=0){return t===1&&Ihe[r]?Ihe[r]:GIt[t][e]}const VIt=new Set(["x-mac-roman","x-mac-cyrillic","iso-8859-6","iso-8859-8"]),$It={"x-mac-croatian":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊©⁄€‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ","x-mac-gaelic":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØḂ±≤≥ḃĊċḊḋḞḟĠġṀæøṁṖṗɼƒſṠ«»… ÀÃÕŒœ–—“”‘’ṡẛÿŸṪ€‹›Ŷŷṫ·Ỳỳ⁊ÂÊÁËÈÍÎÏÌÓÔ♣ÒÚÛÙıÝýŴŵẄẅẀẁẂẃ","x-mac-greek":"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦€ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ","x-mac-icelandic":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ","x-mac-inuit":"ᐃᐄᐅᐆᐊᐋᐱᐲᐳᐴᐸᐹᑉᑎᑏᑐᑑᑕᑖᑦᑭᑮᑯᑰᑲᑳᒃᒋᒌᒍᒎᒐᒑ°ᒡᒥᒦ•¶ᒧ®©™ᒨᒪᒫᒻᓂᓃᓄᓅᓇᓈᓐᓯᓰᓱᓲᓴᓵᔅᓕᓖᓗᓘᓚᓛᓪᔨᔩᔪᔫᔭ… ᔮᔾᕕᕖᕗ–—“”‘’ᕘᕙᕚᕝᕆᕇᕈᕉᕋᕌᕐᕿᖀᖁᖂᖃᖄᖅᖏᖐᖑᖒᖓᖔᖕᙱᙲᙳᙴᙵᙶᖖᖠᖡᖢᖣᖤᖥᖦᕼŁł","x-mac-ce":"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ","x-mac-romanian":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂȘ∞±≤≥¥µ∂∑∏π∫ªºΩăș¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€‹›Țț‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ","x-mac-turkish":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙˆ˜¯˘˙˚¸˝˛ˇ"},sj=new Map;function HIt(t){let e=sj.get(t);if(e)return e;let r=$It[t];if(r){let n=new Map;for(let i=0;i<r.length;i++)n.set(r.charCodeAt(i),128+i);return sj.set(t,n),n}if(VIt.has(t)){let n=new TextDecoder(t),i=new Uint8Array(128);for(let a=0;a<128;a++)i[a]=128+a;let o=new Map,s=n.decode(i);for(let a=0;a<128;a++)o.set(s.charCodeAt(a),128+a);return sj.set(t,o),o}}const GIt=[["utf-16be","utf-16be","utf-16be","utf-16be","utf-16be","utf-16be","utf-16be"],["x-mac-roman","shift-jis","big5","euc-kr","iso-8859-6","iso-8859-8","x-mac-greek","x-mac-cyrillic","x-mac-symbol","x-mac-devanagari","x-mac-gurmukhi","x-mac-gujarati","Oriya","Bengali","Tamil","Telugu","Kannada","Malayalam","Sinhalese","Burmese","Khmer","iso-8859-11","Laotian","Georgian","Armenian","gbk","Tibetan","Mongolian","Geez","x-mac-ce","Vietnamese","Sindhi"],["ascii",null,"iso-8859-1"],["symbol","utf-16be","shift-jis","gb18030","big5","euc-kr","johab",null,null,null,"utf-16be"]],Ihe={15:"x-mac-icelandic",17:"x-mac-turkish",18:"x-mac-croatian",24:"x-mac-ce",25:"x-mac-ce",26:"x-mac-ce",27:"x-mac-ce",28:"x-mac-ce",30:"x-mac-icelandic",37:"x-mac-romanian",38:"x-mac-ce",39:"x-mac-ce",40:"x-mac-ce",143:"x-mac-inuit",146:"x-mac-gaelic"},WIt=[[],{0:"en",30:"fo",60:"ks",90:"rw",1:"fr",31:"fa",61:"ku",91:"rn",2:"de",32:"ru",62:"sd",92:"ny",3:"it",33:"zh",63:"bo",93:"mg",4:"nl",34:"nl-BE",64:"ne",94:"eo",5:"sv",35:"ga",65:"sa",128:"cy",6:"es",36:"sq",66:"mr",129:"eu",7:"da",37:"ro",67:"bn",130:"ca",8:"pt",38:"cz",68:"as",131:"la",9:"no",39:"sk",69:"gu",132:"qu",10:"he",40:"si",70:"pa",133:"gn",11:"ja",41:"yi",71:"or",134:"ay",12:"ar",42:"sr",72:"ml",135:"tt",13:"fi",43:"mk",73:"kn",136:"ug",14:"el",44:"bg",74:"ta",137:"dz",15:"is",45:"uk",75:"te",138:"jv",16:"mt",46:"be",76:"si",139:"su",17:"tr",47:"uz",77:"my",140:"gl",18:"hr",48:"kk",78:"km",141:"af",19:"zh-Hant",49:"az-Cyrl",79:"lo",142:"br",20:"ur",50:"az-Arab",80:"vi",143:"iu",21:"hi",51:"hy",81:"id",144:"gd",22:"th",52:"ka",82:"tl",145:"gv",23:"ko",53:"mo",83:"ms",146:"ga",24:"lt",54:"ky",84:"ms-Arab",147:"to",25:"pl",55:"tg",85:"am",148:"el-polyton",26:"hu",56:"tk",86:"ti",149:"kl",27:"es",57:"mn-CN",87:"om",150:"az",28:"lv",58:"mn",88:"so",151:"nn",29:"se",59:"ps",89:"sw"},[],{1078:"af",16393:"en-IN",1159:"rw",1074:"tn",1052:"sq",6153:"en-IE",1089:"sw",1115:"si",1156:"gsw",8201:"en-JM",1111:"kok",1051:"sk",1118:"am",17417:"en-MY",1042:"ko",1060:"sl",5121:"ar-DZ",5129:"en-NZ",1088:"ky",11274:"es-AR",15361:"ar-BH",13321:"en-PH",1108:"lo",16394:"es-BO",3073:"ar",18441:"en-SG",1062:"lv",13322:"es-CL",2049:"ar-IQ",7177:"en-ZA",1063:"lt",9226:"es-CO",11265:"ar-JO",11273:"en-TT",2094:"dsb",5130:"es-CR",13313:"ar-KW",2057:"en-GB",1134:"lb",7178:"es-DO",12289:"ar-LB",1033:"en",1071:"mk",12298:"es-EC",4097:"ar-LY",12297:"en-ZW",2110:"ms-BN",17418:"es-SV",6145:"ary",1061:"et",1086:"ms",4106:"es-GT",8193:"ar-OM",1080:"fo",1100:"ml",18442:"es-HN",16385:"ar-QA",1124:"fil",1082:"mt",2058:"es-MX",1025:"ar-SA",1035:"fi",1153:"mi",19466:"es-NI",10241:"ar-SY",2060:"fr-BE",1146:"arn",6154:"es-PA",7169:"aeb",3084:"fr-CA",1102:"mr",15370:"es-PY",14337:"ar-AE",1036:"fr",1148:"moh",10250:"es-PE",9217:"ar-YE",5132:"fr-LU",1104:"mn",20490:"es-PR",1067:"hy",6156:"fr-MC",2128:"mn-CN",3082:"es",1101:"as",4108:"fr-CH",1121:"ne",1034:"es",2092:"az-Cyrl",1122:"fy",1044:"nb",21514:"es-US",1068:"az",1110:"gl",2068:"nn",14346:"es-UY",1133:"ba",1079:"ka",1154:"oc",8202:"es-VE",1069:"eu",3079:"de-AT",1096:"or",2077:"sv-FI",1059:"be",1031:"de",1123:"ps",1053:"sv",2117:"bn",5127:"de-LI",1045:"pl",1114:"syr",1093:"bn-IN",4103:"de-LU",1046:"pt",1064:"tg",8218:"bs-Cyrl",2055:"de-CH",2070:"pt-PT",2143:"tzm",5146:"bs",1032:"el",1094:"pa",1097:"ta",1150:"br",1135:"kl",1131:"qu-BO",1092:"tt",1026:"bg",1095:"gu",2155:"qu-EC",1098:"te",1027:"ca",1128:"ha",3179:"qu",1054:"th",3076:"zh-HK",1037:"he",1048:"ro",1105:"bo",5124:"zh-MO",1081:"hi",1047:"rm",1055:"tr",2052:"zh",1038:"hu",1049:"ru",1090:"tk",4100:"zh-SG",1039:"is",9275:"smn",1152:"ug",1028:"zh-TW",1136:"ig",4155:"smj-NO",1058:"uk",1155:"co",1057:"id",5179:"smj",1070:"hsb",1050:"hr",1117:"iu",3131:"se-FI",1056:"ur",4122:"hr-BA",2141:"iu-Latn",1083:"se",2115:"uz-Cyrl",1029:"cs",2108:"ga",2107:"se-SE",1091:"uz",1030:"da",1076:"xh",8251:"sms",1066:"vi",1164:"prs",1077:"zu",6203:"sma-NO",1106:"cy",1125:"dv",1040:"it",7227:"sms",1160:"wo",2067:"nl-BE",2064:"it-CH",1103:"sa",1157:"sah",1043:"nl",1041:"ja",7194:"sr-Cyrl-BA",1144:"ii",3081:"en-AU",1099:"kn",3098:"sr",1130:"yo",10249:"en-BZ",1087:"kk",6170:"sr-Latn-BA",4105:"en-CA",1107:"km",2074:"sr-Latn",9225:"en-029",1158:"quc",1132:"nso"}];let Nhe=new ct({platformID:te,encodingID:te,languageID:te,nameID:te,length:te,string:new Ze(te,new Bi("length",t=>xke(t.platformID,t.encodingID,t.languageID)),{type:"parent",relativeTo:t=>t.parent.stringOffset,allowNull:!1})}),zIt=new ct({length:te,tag:new Ze(te,new Bi("length","utf16be"),{type:"parent",relativeTo:t=>t.stringOffset})});var sO=new Fn(te,{0:{count:te,stringOffset:te,records:new Je(Nhe,"count")},1:{count:te,stringOffset:te,records:new Je(Nhe,"count"),langTagCount:te,langTags:new Je(zIt,"langTagCount")}}),KIt=sO;const nG=["copyright","fontFamily","fontSubfamily","uniqueSubfamily","fullName","version","postscriptName","trademark","manufacturer","designer","description","vendorURL","designerURL","license","licenseURL",null,"preferredFamily","preferredSubfamily","compatibleFull","sampleText","postscriptCIDFontName","wwsFamilyName","wwsSubfamilyName"];sO.process=function(t){var e={};for(let r of this.records){let n=WIt[r.platformID][r.languageID];n==null&&this.langTags!=null&&r.languageID>=32768&&(n=this.langTags[r.languageID-32768].tag),n==null&&(n=r.platformID+"-"+r.languageID);let i=r.nameID>=256?"fontFeatures":nG[r.nameID]||r.nameID;e[i]==null&&(e[i]={});let o=e[i];r.nameID>=256&&(o=o[r.nameID]||(o[r.nameID]={})),(typeof r.string=="string"||typeof o[n]!="string")&&(o[n]=r.string)}this.records=e};sO.preEncode=function(){if(Array.isArray(this.records))return;this.version=0;let t=[];for(let e in this.records){let r=this.records[e];e!=="fontFeatures"&&(t.push({platformID:3,encodingID:1,languageID:1033,nameID:nG.indexOf(e),length:r.en.length*2,string:r.en}),e==="postscriptName"&&t.push({platformID:1,encodingID:0,languageID:0,nameID:nG.indexOf(e),length:r.en.length,string:r.en}))}this.records=t,this.count=t.length,this.stringOffset=sO.size(this,null,!1)};var Ske=new Fn(te,{header:{xAvgCharWidth:Nt,usWeightClass:te,usWidthClass:te,fsType:new Xf(te,[null,"noEmbedding","viewOnly","editable",null,null,null,null,"noSubsetting","bitmapOnly"]),ySubscriptXSize:Nt,ySubscriptYSize:Nt,ySubscriptXOffset:Nt,ySubscriptYOffset:Nt,ySuperscriptXSize:Nt,ySuperscriptYSize:Nt,ySuperscriptXOffset:Nt,ySuperscriptYOffset:Nt,yStrikeoutSize:Nt,yStrikeoutPosition:Nt,sFamilyClass:Nt,panose:new Je(Zt,10),ulCharRange:new Je(et,4),vendorID:new Bi(4),fsSelection:new Xf(te,["italic","underscore","negative","outlined","strikeout","bold","regular","useTypoMetrics","wws","oblique"]),usFirstCharIndex:te,usLastCharIndex:te},0:{},1:{typoAscender:Nt,typoDescender:Nt,typoLineGap:Nt,winAscent:te,winDescent:te,codePageRange:new Je(et,2)},2:{typoAscender:Nt,typoDescender:Nt,typoLineGap:Nt,winAscent:te,winDescent:te,codePageRange:new Je(et,2),xHeight:Nt,capHeight:Nt,defaultChar:te,breakChar:te,maxContent:te},5:{typoAscender:Nt,typoDescender:Nt,typoLineGap:Nt,winAscent:te,winDescent:te,codePageRange:new Je(et,2),xHeight:Nt,capHeight:Nt,defaultChar:te,breakChar:te,maxContent:te,usLowerOpticalPointSize:te,usUpperOpticalPointSize:te}});let aj=Ske.versions;aj[3]=aj[4]=aj[2];var qIt=Ske,XIt=new Fn(Ho,{header:{italicAngle:Ho,underlinePosition:Nt,underlineThickness:Nt,isFixedPitch:et,minMemType42:et,maxMemType42:et,minMemType1:et,maxMemType1:et},1:{},2:{numberOfGlyphs:te,glyphNameIndex:new Je(te,"numberOfGlyphs"),names:new Je(new Bi(Zt))},2.5:{numberOfGlyphs:te,offsets:new Je(Zt,"numberOfGlyphs")},3:{},4:{map:new Je(et,t=>t.parent.maxp.numGlyphs)}}),YIt=new ct({controlValues:new Je(Nt)}),JIt=new ct({instructions:new Je(Zt)});let oee=new Fn("head.indexToLocFormat",{0:{offsets:new Je(te)},1:{offsets:new Je(et)}});oee.process=function(){if(this.version===0&&!this._processed){for(let t=0;t<this.offsets.length;t++)this.offsets[t]<<=1;this._processed=!0}};oee.preEncode=function(){if(this.version===0&&this._processed!==!1){for(let t=0;t<this.offsets.length;t++)this.offsets[t]>>>=1;this._processed=!1}};var ZIt=oee,eNt=new ct({controlValueProgram:new Je(Zt)}),tNt=new Je(new yp);class Jd{getCFFVersion(e){for(;e&&!e.hdrSize;)e=e.parent;return e?e.version:-1}decode(e,r){let i=this.getCFFVersion(r)>=2?e.readUInt32BE():e.readUInt16BE();if(i===0)return[];let o=e.readUInt8(),s;if(o===1)s=Zt;else if(o===2)s=te;else if(o===3)s=nm;else if(o===4)s=et;else throw new Error(`Bad offset size in CFFIndex: ${o} ${e.pos}`);let a=[],l=e.pos+(i+1)*o-1,c=s.decode(e);for(let u=0;u<i;u++){let f=s.decode(e);if(this.type!=null){let d=e.pos;e.pos=l+c,r.length=f-c,a.push(this.type.decode(e,r)),e.pos=d}else a.push({offset:l+c,length:f-c});c=f}return e.pos=l+c,a}size(e,r){let n=2;if(e.length===0)return n;let i=this.type||new yp,o=1;for(let a=0;a<e.length;a++){let l=e[a];o+=i.size(l,r)}let s;if(o<=255)s=Zt;else if(o<=65535)s=te;else if(o<=16777215)s=nm;else if(o<=4294967295)s=et;else throw new Error("Bad offset in CFFIndex");return n+=1+s.size()*(e.length+1),n+=o-1,n}encode(e,r,n){if(e.writeUInt16BE(r.length),r.length===0)return;let i=this.type||new yp,o=[],s=1;for(let l of r){let c=i.size(l,n);o.push(c),s+=c}let a;if(s<=255)a=Zt;else if(s<=65535)a=te;else if(s<=16777215)a=nm;else if(s<=4294967295)a=et;else throw new Error("Bad offset in CFFIndex");e.writeUInt8(a.size()),s=1,a.encode(e,s);for(let l of o)s+=l,a.encode(e,s);for(let l of r)i.encode(e,l,n)}constructor(e){this.type=e}}const ow=15,Fhe=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"],The={".":10,E:11,"E-":12,"-":14};class lj{static decode(e,r){if(32<=r&&r<=246)return r-139;if(247<=r&&r<=250)return(r-247)*256+e.readUInt8()+108;if(251<=r&&r<=254)return-(r-251)*256-e.readUInt8()-108;if(r===28)return e.readInt16BE();if(r===29)return e.readInt32BE();if(r===30){let n="";for(;;){let i=e.readUInt8(),o=i>>4;if(o===ow)break;n+=Fhe[o];let s=i&15;if(s===ow)break;n+=Fhe[s]}return parseFloat(n)}return null}static size(e){if(e.forceLarge&&(e=32768),(e|0)!==e){let r=""+e;return 1+Math.ceil((r.length+1)/2)}else return-107<=e&&e<=107?1:108<=e&&e<=1131||-1131<=e&&e<=-108?2:-32768<=e&&e<=32767?3:5}static encode(e,r){let n=Number(r);if(r.forceLarge)return e.writeUInt8(29),e.writeInt32BE(n);if((n|0)!==n){e.writeUInt8(30);let o=""+n;for(let s=0;s<o.length;s+=2){let a=o[s],l=The[a]||+a;if(s===o.length-1)var i=ow;else{let c=o[s+1];var i=The[c]||+c}e.writeUInt8(l<<4|i&15)}if(i!==ow)return e.writeUInt8(ow<<4)}else return-107<=n&&n<=107?e.writeUInt8(n+139):108<=n&&n<=1131?(n-=108,e.writeUInt8((n>>8)+247),e.writeUInt8(n&255)):-1131<=n&&n<=-108?(n=-n-108,e.writeUInt8((n>>8)+251),e.writeUInt8(n&255)):-32768<=n&&n<=32767?(e.writeUInt8(28),e.writeInt16BE(n)):(e.writeUInt8(29),e.writeInt32BE(n))}}class hN{decodeOperands(e,r,n,i){if(Array.isArray(e))return i.map((o,s)=>this.decodeOperands(e[s],r,n,[o]));if(e.decode!=null)return e.decode(r,n,i);switch(e){case"number":case"offset":case"sid":return i[0];case"boolean":return!!i[0];default:return i}}encodeOperands(e,r,n,i){return Array.isArray(e)?i.map((o,s)=>this.encodeOperands(e[s],r,n,o)[0]):e.encode!=null?e.encode(r,i,n):typeof i=="number"?[i]:typeof i=="boolean"?[+i]:Array.isArray(i)?i:[i]}decode(e,r){let n=e.pos+r.length,i={},o=[];Object.defineProperties(i,{parent:{value:r},_startOffset:{value:e.pos}});for(let s in this.fields){let a=this.fields[s];i[a[1]]=a[3]}for(;e.pos<n;){let s=e.readUInt8();if(s<28){s===12&&(s=s<<8|e.readUInt8());let a=this.fields[s];if(!a)throw new Error(`Unknown operator ${s}`);let l=this.decodeOperands(a[2],e,i,o);l!=null&&(l instanceof qZ?Object.defineProperty(i,a[1],l):i[a[1]]=l),o=[]}else o.push(lj.decode(e,s))}return i}size(e,r,n=!0){let i={parent:r,val:e,pointerSize:0,startOffset:r.startOffset||0},o=0;for(let s in this.fields){let a=this.fields[s],l=e[a[1]];if(l==null||ghe(l,a[3]))continue;let c=this.encodeOperands(a[2],null,i,l);for(let f of c)o+=lj.size(f);let u=Array.isArray(a[0])?a[0]:[a[0]];o+=u.length}return n&&(o+=i.pointerSize),o}encode(e,r,n){let i={pointers:[],startOffset:e.pos,parent:n,val:r,pointerSize:0};i.pointerOffset=e.pos+this.size(r,i,!1);for(let s of this.ops){let a=r[s[1]];if(a==null||ghe(a,s[3]))continue;let l=this.encodeOperands(s[2],e,i,a);for(let u of l)lj.encode(e,u);let c=Array.isArray(s[0])?s[0]:[s[0]];for(let u of c)e.writeUInt8(u)}let o=0;for(;o<i.pointers.length;){let s=i.pointers[o++];s.type.encode(e,s.val,s.parent)}}constructor(e=[]){this.ops=e,this.fields={};for(let r of e){let n=Array.isArray(r[0])?r[0][0]<<8|r[0][1]:r[0];this.fields[n]=r}}}class If extends Ze{decode(e,r,n){return this.offsetType={decode:()=>n[0]},super.decode(e,r,n)}encode(e,r,n){if(!e)return this.offsetType={size:()=>0},this.size(r,n),[new Lhe(0)];let i=null;return this.offsetType={encode:(o,s)=>i=s},super.encode(e,r,n),[new Lhe(i)]}constructor(e,r={}){r.type==null&&(r.type="global"),super(null,e,r)}}class Lhe{valueOf(){return this.val}constructor(e){this.val=e,this.forceLarge=!0}}class rNt{static decode(e,r,n){let i=n.pop();for(;n.length>i;)n.pop()}}var iG=new hN([[6,"BlueValues","delta",null],[7,"OtherBlues","delta",null],[8,"FamilyBlues","delta",null],[9,"FamilyOtherBlues","delta",null],[[12,9],"BlueScale","number",.039625],[[12,10],"BlueShift","number",7],[[12,11],"BlueFuzz","number",1],[10,"StdHW","number",null],[11,"StdVW","number",null],[[12,12],"StemSnapH","delta",null],[[12,13],"StemSnapV","delta",null],[[12,14],"ForceBold","boolean",!1],[[12,17],"LanguageGroup","number",0],[[12,18],"ExpansionFactor","number",.06],[[12,19],"initialRandomSeed","number",0],[20,"defaultWidthX","number",0],[21,"nominalWidthX","number",0],[22,"vsindex","number",0],[23,"blend",rNt,null],[19,"Subrs",new If(new Jd,{type:"local"}),null]]),SD=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"];let Eke=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","","endash","dagger","daggerdbl","periodcentered","","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","","questiondown","","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","","ring","cedilla","","hungarumlaut","ogonek","caron","emdash","","","","","","","","","","","","","","","","","AE","","ordfeminine","","","","","Lslash","Oslash","OE","ordmasculine","","","","","","ae","","","","dotlessi","","","lslash","oslash","oe","germandbls"],nNt=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","","asuperior","bsuperior","centsuperior","dsuperior","esuperior","","","isuperior","","","lsuperior","msuperior","nsuperior","osuperior","","","rsuperior","ssuperior","tsuperior","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdownsmall","centoldstyle","Lslashsmall","","","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","","Dotaccentsmall","","","Macronsmall","","","figuredash","hypheninferior","","","Ogoneksmall","Ringsmall","Cedillasmall","","","","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],Dke=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron"],iNt=[".notdef","space","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],oNt=[".notdef","space","dollaroldstyle","dollarsuperior","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","hyphensuperior","colonmonetary","onefitted","rupiah","centoldstyle","figuredash","hypheninferior","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior"],kke=new ct({reserved:new so(te),reqFeatureIndex:te,featureCount:te,featureIndexes:new Je(te,"featureCount")}),sNt=new ct({tag:new Bi(4),langSys:new Ze(te,kke,{type:"parent"})}),aNt=new ct({defaultLangSys:new Ze(te,kke),count:te,langSysRecords:new Je(sNt,"count")}),lNt=new ct({tag:new Bi(4),script:new Ze(te,aNt,{type:"parent"})}),Oke=new Je(lNt,te),cNt=new ct({version:te,nameID:te}),Pke=new ct({featureParams:new Ze(te,cNt),lookupCount:te,lookupListIndexes:new Je(te,"lookupCount")}),uNt=new ct({tag:new Bi(4),feature:new Ze(te,Pke,{type:"parent"})}),Ike=new Je(uNt,te),fNt=new ct({markAttachmentType:Zt,flags:new Xf(Zt,["rightToLeft","ignoreBaseGlyphs","ignoreLigatures","ignoreMarks","useMarkFilteringSet"])});function aO(t){let e=new ct({lookupType:te,flags:fNt,subTableCount:te,subTables:new Je(new Ze(te,t),"subTableCount"),markFilteringSet:new rO(te,r=>r.flags.flags.useMarkFilteringSet)});return new xi(new Ze(te,e),te)}let dNt=new ct({start:te,end:te,startCoverageIndex:te}),vi=new Fn(te,{1:{glyphCount:te,glyphs:new Je(te,"glyphCount")},2:{rangeCount:te,rangeRecords:new Je(dNt,"rangeCount")}}),pNt=new ct({start:te,end:te,class:te}),im=new Fn(te,{1:{startGlyph:te,glyphCount:te,classValueArray:new Je(te,"glyphCount")},2:{classRangeCount:te,classRangeRecord:new Je(pNt,"classRangeCount")}}),F0=new ct({a:te,b:te,deltaFormat:te}),Px=new ct({sequenceIndex:te,lookupListIndex:te}),ANt=new ct({glyphCount:te,lookupCount:te,input:new Je(te,t=>t.glyphCount-1),lookupRecords:new Je(Px,"lookupCount")}),hNt=new Je(new Ze(te,ANt),te),mNt=new ct({glyphCount:te,lookupCount:te,classes:new Je(te,t=>t.glyphCount-1),lookupRecords:new Je(Px,"lookupCount")}),gNt=new Je(new Ze(te,mNt),te),Nke=new Fn(te,{1:{coverage:new Ze(te,vi),ruleSetCount:te,ruleSets:new Je(new Ze(te,hNt),"ruleSetCount")},2:{coverage:new Ze(te,vi),classDef:new Ze(te,im),classSetCnt:te,classSet:new Je(new Ze(te,gNt),"classSetCnt")},3:{glyphCount:te,lookupCount:te,coverages:new Je(new Ze(te,vi),"glyphCount"),lookupRecords:new Je(Px,"lookupCount")}}),vNt=new ct({backtrackGlyphCount:te,backtrack:new Je(te,"backtrackGlyphCount"),inputGlyphCount:te,input:new Je(te,t=>t.inputGlyphCount-1),lookaheadGlyphCount:te,lookahead:new Je(te,"lookaheadGlyphCount"),lookupCount:te,lookupRecords:new Je(Px,"lookupCount")}),Rhe=new Je(new Ze(te,vNt),te),Fke=new Fn(te,{1:{coverage:new Ze(te,vi),chainCount:te,chainRuleSets:new Je(new Ze(te,Rhe),"chainCount")},2:{coverage:new Ze(te,vi),backtrackClassDef:new Ze(te,im),inputClassDef:new Ze(te,im),lookaheadClassDef:new Ze(te,im),chainCount:te,chainClassSet:new Je(new Ze(te,Rhe),"chainCount")},3:{backtrackGlyphCount:te,backtrackCoverage:new Je(new Ze(te,vi),"backtrackGlyphCount"),inputGlyphCount:te,inputCoverage:new Je(new Ze(te,vi),"inputGlyphCount"),lookaheadGlyphCount:te,lookaheadCoverage:new Je(new Ze(te,vi),"lookaheadGlyphCount"),lookupCount:te,lookupRecords:new Je(Px,"lookupCount")}}),b5=new Bv(16,"BE",14),yNt=new ct({startCoord:b5,peakCoord:b5,endCoord:b5}),BNt=new ct({axisCount:te,regionCount:te,variationRegions:new Je(new Je(yNt,"axisCount"),"regionCount")}),CNt=new ct({shortDeltas:new Je(Nt,t=>t.parent.shortDeltaCount),regionDeltas:new Je(ks,t=>t.parent.regionIndexCount-t.parent.shortDeltaCount),deltas:t=>t.shortDeltas.concat(t.regionDeltas)}),bNt=new ct({itemCount:te,shortDeltaCount:te,regionIndexCount:te,regionIndexes:new Je(te,"regionIndexCount"),deltaSets:new Je(CNt,"itemCount")}),mN=new ct({format:te,variationRegionList:new Ze(et,BNt),variationDataCount:te,itemVariationData:new Je(new Ze(et,bNt),"variationDataCount")}),wNt=new Fn(te,{1:{axisIndex:te,axisIndex:te,filterRangeMinValue:b5,filterRangeMaxValue:b5}}),xNt=new ct({conditionCount:te,conditionTable:new Je(new Ze(et,wNt),"conditionCount")}),SNt=new ct({featureIndex:te,alternateFeatureTable:new Ze(et,Pke,{type:"parent"})}),ENt=new ct({version:Ho,substitutionCount:te,substitutions:new Je(SNt,"substitutionCount")}),DNt=new ct({conditionSet:new Ze(et,xNt,{type:"parent"}),featureTableSubstitution:new Ze(et,ENt,{type:"parent"})}),Tke=new ct({majorVersion:te,minorVersion:te,featureVariationRecordCount:et,featureVariationRecords:new Je(DNt,"featureVariationRecordCount")});class Lke{decode(e,r,n){return this.predefinedOps[n[0]]?this.predefinedOps[n[0]]:this.type.decode(e,r,n)}size(e,r){return this.type.size(e,r)}encode(e,r,n){let i=this.predefinedOps.indexOf(r);return i!==-1?i:this.type.encode(e,r,n)}constructor(e,r){this.predefinedOps=e,this.type=r}}class kNt extends pi{decode(e){return Zt.decode(e)&127}constructor(){super("UInt8")}}let Rke=new ct({first:te,nLeft:Zt}),ONt=new ct({first:te,nLeft:te}),PNt=new Fn(new kNt,{0:{nCodes:Zt,codes:new Je(Zt,"nCodes")},1:{nRanges:Zt,ranges:new Je(Rke,"nRanges")}}),INt=new Lke([Eke,nNt],new If(PNt,{lazy:!0}));class Mhe extends Je{decode(e,r){let n=Sp(this.length,e,r),i=0,o=[];for(;i<n;){let s=this.type.decode(e,r);s.offset=i,i+=s.nLeft+1,o.push(s)}return o}}let NNt=new Fn(Zt,{0:{glyphs:new Je(te,t=>t.parent.CharStrings.length-1)},1:{ranges:new Mhe(Rke,t=>t.parent.CharStrings.length-1)},2:{ranges:new Mhe(ONt,t=>t.parent.CharStrings.length-1)}}),FNt=new Lke([Dke,iNt,oNt],new If(NNt,{lazy:!0})),TNt=new ct({first:te,fd:Zt}),LNt=new ct({first:et,fd:te}),Mke=new Fn(Zt,{0:{fds:new Je(Zt,t=>t.parent.CharStrings.length)},3:{nRanges:te,ranges:new Je(TNt,"nRanges"),sentinel:te},4:{nRanges:et,ranges:new Je(LNt,"nRanges"),sentinel:et}}),cj=new If(iG);class _ke{decode(e,r,n){return r.length=n[0],cj.decode(e,r,[n[1]])}size(e,r){return[iG.size(e,r,!1),cj.size(e,r)[0]]}encode(e,r,n){return[iG.size(r,n,!1),cj.encode(e,r,n)[0]]}}let jke=new hN([[18,"Private",new _ke,null],[[12,38],"FontName","sid",null],[[12,7],"FontMatrix","array",[.001,0,0,.001,0,0]],[[12,5],"PaintType","number",0]]),RNt=new hN([[[12,30],"ROS",["sid","sid","number"],null],[0,"version","sid",null],[1,"Notice","sid",null],[[12,0],"Copyright","sid",null],[2,"FullName","sid",null],[3,"FamilyName","sid",null],[4,"Weight","sid",null],[[12,1],"isFixedPitch","boolean",!1],[[12,2],"ItalicAngle","number",0],[[12,3],"UnderlinePosition","number",-100],[[12,4],"UnderlineThickness","number",50],[[12,5],"PaintType","number",0],[[12,6],"CharstringType","number",2],[[12,7],"FontMatrix","array",[.001,0,0,.001,0,0]],[13,"UniqueID","number",null],[5,"FontBBox","array",[0,0,0,0]],[[12,8],"StrokeWidth","number",0],[14,"XUID","array",null],[15,"charset",FNt,Dke],[16,"Encoding",INt,Eke],[17,"CharStrings",new If(new Jd),null],[18,"Private",new _ke,null],[[12,20],"SyntheticBase","number",null],[[12,21],"PostScript","sid",null],[[12,22],"BaseFontName","sid",null],[[12,23],"BaseFontBlend","delta",null],[[12,31],"CIDFontVersion","number",0],[[12,32],"CIDFontRevision","number",0],[[12,33],"CIDFontType","number",0],[[12,34],"CIDCount","number",8720],[[12,35],"UIDBase","number",null],[[12,37],"FDSelect",new If(Mke),null],[[12,36],"FDArray",new If(new Jd(jke)),null],[[12,38],"FontName","sid",null]]),MNt=new ct({length:te,itemVariationStore:mN}),_Nt=new hN([[[12,7],"FontMatrix","array",[.001,0,0,.001,0,0]],[17,"CharStrings",new If(new Jd),null],[[12,37],"FDSelect",new If(Mke),null],[[12,36],"FDArray",new If(new Jd(jke)),null],[24,"vstore",new If(MNt),null],[25,"maxstack","number",193]]),jNt=new Fn(CPt,{1:{hdrSize:Zt,offSize:Zt,nameIndex:new Jd(new Bi("length")),topDictIndex:new Jd(RNt),stringIndex:new Jd(new Bi("length")),globalSubrIndex:new Jd},2:{hdrSize:Zt,length:te,topDict:_Nt,globalSubrIndex:new Jd}});var Uke=jNt;class see{static decode(e){return new see(e)}decode(){this.stream.pos;let e=Uke.decode(this.stream);for(let r in e){let n=e[r];this[r]=n}if(this.version<2){if(this.topDictIndex.length!==1)throw new Error("Only a single font is allowed in CFF");this.topDict=this.topDictIndex[0]}return this.isCIDFont=this.topDict.ROS!=null,this}string(e){return this.version>=2?null:e<SD.length?SD[e]:this.stringIndex[e-SD.length]}get postscriptName(){return this.version<2?this.nameIndex[0]:null}get fullName(){return this.string(this.topDict.FullName)}get familyName(){return this.string(this.topDict.FamilyName)}getCharString(e){return this.stream.pos=this.topDict.CharStrings[e].offset,this.stream.readBuffer(this.topDict.CharStrings[e].length)}getGlyphName(e){if(this.version>=2||this.isCIDFont)return null;let{charset:r}=this.topDict;if(Array.isArray(r))return r[e];if(e===0)return".notdef";switch(e-=1,r.version){case 0:return this.string(r.glyphs[e]);case 1:case 2:for(let n=0;n<r.ranges.length;n++){let i=r.ranges[n];if(i.offset<=e&&e<=i.offset+i.nLeft)return this.string(i.first+(e-i.offset))}break}return null}fdForGlyph(e){if(!this.topDict.FDSelect)return null;switch(this.topDict.FDSelect.version){case 0:return this.topDict.FDSelect.fds[e];case 3:case 4:let{ranges:r}=this.topDict.FDSelect,n=0,i=r.length-1;for(;n<=i;){let o=n+i>>1;if(e<r[o].first)i=o-1;else if(o<i&&e>=r[o+1].first)n=o+1;else return r[o].fd}default:throw new Error(`Unknown FDSelect version: ${this.topDict.FDSelect.version}`)}}privateDictForGlyph(e){if(this.topDict.FDSelect){let r=this.fdForGlyph(e);return this.topDict.FDArray[r]?this.topDict.FDArray[r].Private:null}return this.version<2?this.topDict.Private:this.topDict.FDArray[0].Private}constructor(e){this.stream=e,this.decode()}}var Qke=see;let UNt=new ct({glyphIndex:te,vertOriginY:Nt});var QNt=new ct({majorVersion:te,minorVersion:te,defaultVertOriginY:Nt,numVertOriginYMetrics:te,metrics:new Je(UNt,"numVertOriginYMetrics")});let A2=new ct({height:Zt,width:Zt,horiBearingX:ks,horiBearingY:ks,horiAdvance:Zt,vertBearingX:ks,vertBearingY:ks,vertAdvance:Zt}),m8=new ct({height:Zt,width:Zt,bearingX:ks,bearingY:ks,advance:Zt}),_he=new ct({glyph:te,xOffset:ks,yOffset:ks});class jhe{}class uj{}new Fn("version",{1:{metrics:m8,data:jhe},2:{metrics:m8,data:uj},5:{data:uj},6:{metrics:A2,data:jhe},7:{metrics:A2,data:uj},8:{metrics:m8,pad:new so(Zt),numComponents:te,components:new Je(_he,"numComponents")},9:{metrics:A2,pad:new so(Zt),numComponents:te,components:new Je(_he,"numComponents")},17:{metrics:m8,dataLen:et,data:new yp("dataLen")},18:{metrics:A2,dataLen:et,data:new yp("dataLen")},19:{dataLen:et,data:new yp("dataLen")}});let Uhe=new ct({ascender:ks,descender:ks,widthMax:Zt,caretSlopeNumerator:ks,caretSlopeDenominator:ks,caretOffset:ks,minOriginSB:ks,minAdvanceSB:ks,maxBeforeBL:ks,minAfterBL:ks,pad:new so(ks,2)}),VNt=new ct({glyphCode:te,offset:te}),$Nt=new Fn(te,{header:{imageFormat:te,imageDataOffset:et},1:{offsetArray:new Je(et,t=>t.parent.lastGlyphIndex-t.parent.firstGlyphIndex+1)},2:{imageSize:et,bigMetrics:A2},3:{offsetArray:new Je(te,t=>t.parent.lastGlyphIndex-t.parent.firstGlyphIndex+1)},4:{numGlyphs:et,glyphArray:new Je(VNt,t=>t.numGlyphs+1)},5:{imageSize:et,bigMetrics:A2,numGlyphs:et,glyphCodeArray:new Je(te,"numGlyphs")}}),HNt=new ct({firstGlyphIndex:te,lastGlyphIndex:te,subtable:new Ze(et,$Nt)}),GNt=new ct({indexSubTableArray:new Ze(et,new Je(HNt,1),{type:"parent"}),indexTablesSize:et,numberOfIndexSubTables:et,colorRef:et,hori:Uhe,vert:Uhe,startGlyphIndex:te,endGlyphIndex:te,ppemX:Zt,ppemY:Zt,bitDepth:Zt,flags:new Xf(Zt,["horizontal","vertical"])});var WNt=new ct({version:et,numSizes:et,sizes:new Je(GNt,"numSizes")});let zNt=new ct({ppem:te,resolution:te,imageOffsets:new Je(new Ze(et,"void"),t=>t.parent.parent.maxp.numGlyphs+1)});var KNt=new ct({version:te,flags:new Xf(te,["renderOutlines"]),numImgTables:et,imageTables:new Je(new Ze(et,zNt),"numImgTables")});let qNt=new ct({gid:te,paletteIndex:te}),XNt=new ct({gid:te,firstLayerIndex:te,numLayers:te});var YNt=new ct({version:te,numBaseGlyphRecords:te,baseGlyphRecord:new Ze(et,new Je(XNt,"numBaseGlyphRecords")),layerRecords:new Ze(et,new Je(qNt,"numLayerRecords"),{lazy:!0}),numLayerRecords:te});let JNt=new ct({blue:Zt,green:Zt,red:Zt,alpha:Zt});var ZNt=new Fn(te,{header:{numPaletteEntries:te,numPalettes:te,numColorRecords:te,colorRecords:new Ze(et,new Je(JNt,"numColorRecords")),colorRecordIndices:new Je(te,"numPalettes")},0:{},1:{offsetPaletteTypeArray:new Ze(et,new Je(et,"numPalettes")),offsetPaletteLabelArray:new Ze(et,new Je(te,"numPalettes")),offsetPaletteEntryLabelArray:new Ze(et,new Je(te,"numPaletteEntries"))}});let W4=new Fn(te,{1:{coordinate:Nt},2:{coordinate:Nt,referenceGlyph:te,baseCoordPoint:te},3:{coordinate:Nt,deviceTable:new Ze(te,F0)}}),eFt=new ct({defaultIndex:te,baseCoordCount:te,baseCoords:new Je(new Ze(te,W4),"baseCoordCount")}),tFt=new ct({tag:new Bi(4),minCoord:new Ze(te,W4,{type:"parent"}),maxCoord:new Ze(te,W4,{type:"parent"})}),Vke=new ct({minCoord:new Ze(te,W4),maxCoord:new Ze(te,W4),featMinMaxCount:te,featMinMaxRecords:new Je(tFt,"featMinMaxCount")}),rFt=new ct({tag:new Bi(4),minMax:new Ze(te,Vke,{type:"parent"})}),nFt=new ct({baseValues:new Ze(te,eFt),defaultMinMax:new Ze(te,Vke),baseLangSysCount:te,baseLangSysRecords:new Je(rFt,"baseLangSysCount")}),iFt=new ct({tag:new Bi(4),script:new Ze(te,nFt,{type:"parent"})}),oFt=new Je(iFt,te),sFt=new Je(new Bi(4),te),Qhe=new ct({baseTagList:new Ze(te,sFt),baseScriptList:new Ze(te,oFt)});var aFt=new Fn(et,{header:{horizAxis:new Ze(te,Qhe),vertAxis:new Ze(te,Qhe)},65536:{},65537:{itemVariationStore:new Ze(et,mN)}});let lFt=new Je(te,te),cFt=new ct({coverage:new Ze(te,vi),glyphCount:te,attachPoints:new Je(new Ze(te,lFt),"glyphCount")}),uFt=new Fn(te,{1:{coordinate:Nt},2:{caretValuePoint:te},3:{coordinate:Nt,deviceTable:new Ze(te,F0)}}),fFt=new Je(new Ze(te,uFt),te),dFt=new ct({coverage:new Ze(te,vi),ligGlyphCount:te,ligGlyphs:new Je(new Ze(te,fFt),"ligGlyphCount")}),Vhe=new ct({markSetTableFormat:te,markSetCount:te,coverage:new Je(new Ze(et,vi),"markSetCount")});var pFt=new Fn(et,{header:{glyphClassDef:new Ze(te,im),attachList:new Ze(te,cFt),ligCaretList:new Ze(te,dFt),markAttachClassDef:new Ze(te,im)},65536:{},65538:{markGlyphSetsDef:new Ze(te,Vhe)},65539:{markGlyphSetsDef:new Ze(te,Vhe),itemVariationStore:new Ze(et,mN)}});let By=new Xf(te,["xPlacement","yPlacement","xAdvance","yAdvance","xPlaDevice","yPlaDevice","xAdvDevice","yAdvDevice"]),AFt={xPlacement:Nt,yPlacement:Nt,xAdvance:Nt,yAdvance:Nt,xPlaDevice:new Ze(te,F0,{type:"global",relativeTo:t=>t.rel}),yPlaDevice:new Ze(te,F0,{type:"global",relativeTo:t=>t.rel}),xAdvDevice:new Ze(te,F0,{type:"global",relativeTo:t=>t.rel}),yAdvDevice:new Ze(te,F0,{type:"global",relativeTo:t=>t.rel})};class VB{buildStruct(e){let r=e;for(;!r[this.key]&&r.parent;)r=r.parent;if(!r[this.key])return;let n={};n.rel=()=>r._startOffset;let i=r[this.key];for(let o in i)i[o]&&(n[o]=AFt[o]);return new ct(n)}size(e,r){return this.buildStruct(r).size(e,r)}decode(e,r){let n=this.buildStruct(r).decode(e,r);return delete n.rel,n}constructor(e="valueFormat"){this.key=e}}let hFt=new ct({secondGlyph:te,value1:new VB("valueFormat1"),value2:new VB("valueFormat2")}),mFt=new Je(hFt,te),gFt=new ct({value1:new VB("valueFormat1"),value2:new VB("valueFormat2")}),z4=new Fn(te,{1:{xCoordinate:Nt,yCoordinate:Nt},2:{xCoordinate:Nt,yCoordinate:Nt,anchorPoint:te},3:{xCoordinate:Nt,yCoordinate:Nt,xDeviceTable:new Ze(te,F0),yDeviceTable:new Ze(te,F0)}}),vFt=new ct({entryAnchor:new Ze(te,z4,{type:"parent"}),exitAnchor:new Ze(te,z4,{type:"parent"})}),yFt=new ct({class:te,markAnchor:new Ze(te,z4,{type:"parent"})}),fj=new Je(yFt,te),BFt=new Je(new Ze(te,z4),t=>t.parent.classCount),$he=new Je(BFt,te),CFt=new Je(new Ze(te,z4),t=>t.parent.parent.classCount),bFt=new Je(CFt,te),wFt=new Je(new Ze(te,bFt),te),K4=new Fn("lookupType",{1:new Fn(te,{1:{coverage:new Ze(te,vi),valueFormat:By,value:new VB},2:{coverage:new Ze(te,vi),valueFormat:By,valueCount:te,values:new xi(new VB,"valueCount")}}),2:new Fn(te,{1:{coverage:new Ze(te,vi),valueFormat1:By,valueFormat2:By,pairSetCount:te,pairSets:new xi(new Ze(te,mFt),"pairSetCount")},2:{coverage:new Ze(te,vi),valueFormat1:By,valueFormat2:By,classDef1:new Ze(te,im),classDef2:new Ze(te,im),class1Count:te,class2Count:te,classRecords:new xi(new xi(gFt,"class2Count"),"class1Count")}}),3:{format:te,coverage:new Ze(te,vi),entryExitCount:te,entryExitRecords:new Je(vFt,"entryExitCount")},4:{format:te,markCoverage:new Ze(te,vi),baseCoverage:new Ze(te,vi),classCount:te,markArray:new Ze(te,fj),baseArray:new Ze(te,$he)},5:{format:te,markCoverage:new Ze(te,vi),ligatureCoverage:new Ze(te,vi),classCount:te,markArray:new Ze(te,fj),ligatureArray:new Ze(te,wFt)},6:{format:te,mark1Coverage:new Ze(te,vi),mark2Coverage:new Ze(te,vi),classCount:te,mark1Array:new Ze(te,fj),mark2Array:new Ze(te,$he)},7:Nke,8:Fke,9:{posFormat:te,lookupType:te,extension:new Ze(et,null)}});K4.versions[9].extension.type=K4;var xFt=new Fn(et,{header:{scriptList:new Ze(te,Oke),featureList:new Ze(te,Ike),lookupList:new Ze(te,new aO(K4))},65536:{},65537:{featureVariations:new Ze(et,Tke)}});let $ke=new Je(te,te),SFt=$ke,EFt=new ct({glyph:te,compCount:te,components:new Je(te,t=>t.compCount-1)}),DFt=new Je(new Ze(te,EFt),te),oG=new Fn("lookupType",{1:new Fn(te,{1:{coverage:new Ze(te,vi),deltaGlyphID:Nt},2:{coverage:new Ze(te,vi),glyphCount:te,substitute:new xi(te,"glyphCount")}}),2:{substFormat:te,coverage:new Ze(te,vi),count:te,sequences:new xi(new Ze(te,$ke),"count")},3:{substFormat:te,coverage:new Ze(te,vi),count:te,alternateSet:new xi(new Ze(te,SFt),"count")},4:{substFormat:te,coverage:new Ze(te,vi),count:te,ligatureSets:new xi(new Ze(te,DFt),"count")},5:Nke,6:Fke,7:{substFormat:te,lookupType:te,extension:new Ze(et,null)},8:{substFormat:te,coverage:new Ze(te,vi),backtrackCoverage:new Je(new Ze(te,vi),"backtrackGlyphCount"),lookaheadGlyphCount:te,lookaheadCoverage:new Je(new Ze(te,vi),"lookaheadGlyphCount"),glyphCount:te,substitutes:new Je(te,"glyphCount")}});oG.versions[7].extension.type=oG;var kFt=new Fn(et,{header:{scriptList:new Ze(te,Oke),featureList:new Ze(te,Ike),lookupList:new Ze(te,new aO(oG))},65536:{},65537:{featureVariations:new Ze(et,Tke)}});let Yh=new Je(te,te),OFt=new ct({shrinkageEnableGSUB:new Ze(te,Yh),shrinkageDisableGSUB:new Ze(te,Yh),shrinkageEnableGPOS:new Ze(te,Yh),shrinkageDisableGPOS:new Ze(te,Yh),shrinkageJstfMax:new Ze(te,new aO(K4)),extensionEnableGSUB:new Ze(te,Yh),extensionDisableGSUB:new Ze(te,Yh),extensionEnableGPOS:new Ze(te,Yh),extensionDisableGPOS:new Ze(te,Yh),extensionJstfMax:new Ze(te,new aO(K4))}),Hke=new Je(new Ze(te,OFt),te),PFt=new ct({tag:new Bi(4),jstfLangSys:new Ze(te,Hke)}),IFt=new ct({extenderGlyphs:new Ze(te,new Je(te,te)),defaultLangSys:new Ze(te,Hke),langSysCount:te,langSysRecords:new Je(PFt,"langSysCount")}),NFt=new ct({tag:new Bi(4),script:new Ze(te,IFt,{type:"parent"})});var FFt=new ct({version:et,scriptCount:te,scriptList:new Je(NFt,"scriptCount")});class TFt{decode(e,r){switch(this.size(0,r)){case 1:return e.readUInt8();case 2:return e.readUInt16BE();case 3:return e.readUInt24BE();case 4:return e.readUInt32BE()}}size(e,r){return Sp(this._size,null,r)}constructor(e){this._size=e}}let LFt=new ct({entry:new TFt(t=>((t.parent.entryFormat&48)>>4)+1),outerIndex:t=>t.entry>>(t.parent.entryFormat&15)+1,innerIndex:t=>t.entry&(1<<(t.parent.entryFormat&15)+1)-1}),dj=new ct({entryFormat:te,mapCount:te,mapData:new Je(LFt,"mapCount")});var RFt=new ct({majorVersion:te,minorVersion:te,itemVariationStore:new Ze(et,mN),advanceWidthMapping:new Ze(et,dj),LSBMapping:new Ze(et,dj),RSBMapping:new Ze(et,dj)});let MFt=new ct({format:et,length:et,offset:et}),_Ft=new ct({reserved:new so(te,2),cbSignature:et,signature:new yp("cbSignature")});var jFt=new ct({ulVersion:et,usNumSigs:te,usFlag:te,signatures:new Je(MFt,"usNumSigs"),signatureBlocks:new Je(_Ft,"usNumSigs")});let UFt=new ct({rangeMaxPPEM:te,rangeGaspBehavior:new Xf(te,["grayscale","gridfit","symmetricSmoothing","symmetricGridfit"])});var QFt=new ct({version:te,numRanges:te,gaspRanges:new Je(UFt,"numRanges")});let VFt=new ct({pixelSize:Zt,maximumWidth:Zt,widths:new Je(Zt,t=>t.parent.parent.maxp.numGlyphs)});var $Ft=new ct({version:te,numRecords:Nt,sizeDeviceRecord:i1,records:new Je(VFt,"numRecords")});let HFt=new ct({left:te,right:te,value:Nt}),Hhe=new ct({firstGlyph:te,nGlyphs:te,offsets:new Je(te,"nGlyphs"),max:t=>t.offsets.length&&Math.max.apply(Math,t.offsets)}),GFt=new ct({off:t=>t._startOffset-t.parent.parent._startOffset,len:t=>((t.parent.leftTable.max-t.off)/t.parent.rowWidth+1)*(t.parent.rowWidth/2),values:new xi(Nt,"len")}),Ghe=new Fn("format",{0:{nPairs:te,searchRange:te,entrySelector:te,rangeShift:te,pairs:new Je(HFt,"nPairs")},2:{rowWidth:te,leftTable:new Ze(te,Hhe,{type:"parent"}),rightTable:new Ze(te,Hhe,{type:"parent"}),array:new Ze(te,GFt,{type:"parent"})},3:{glyphCount:te,kernValueCount:Zt,leftClassCount:Zt,rightClassCount:Zt,flags:Zt,kernValue:new Je(Nt,"kernValueCount"),leftClass:new Je(Zt,"glyphCount"),rightClass:new Je(Zt,"glyphCount"),kernIndex:new Je(Zt,t=>t.leftClassCount*t.rightClassCount)}}),Whe=new Fn("version",{0:{subVersion:te,length:te,format:Zt,coverage:new Xf(Zt,["horizontal","minimum","crossStream","override"]),subtable:Ghe,padding:new so(Zt,t=>t.length-t._currentOffset)},1:{length:et,coverage:new Xf(Zt,[null,null,null,null,null,"variation","crossStream","vertical"]),format:Zt,tupleIndex:te,subtable:Ghe,padding:new so(Zt,t=>t.length-t._currentOffset)}});var WFt=new Fn(te,{0:{nTables:te,tables:new Je(Whe,"nTables")},1:{reserved:new so(te),nTables:et,tables:new Je(Whe,"nTables")}}),zFt=new ct({version:te,numGlyphs:te,yPels:new Je(Zt,"numGlyphs")}),KFt=new ct({version:te,fontNumber:et,pitch:te,xHeight:te,style:te,typeFamily:te,capHeight:te,symbolSet:te,typeface:new Bi(16),characterComplement:new Bi(8),fileName:new Bi(6),strokeWeight:new Bi(1),widthType:new Bi(1),serifStyle:Zt,reserved:new so(Zt)});let qFt=new ct({bCharSet:Zt,xRatio:Zt,yStartRatio:Zt,yEndRatio:Zt}),XFt=new ct({yPelHeight:te,yMax:Nt,yMin:Nt}),YFt=new ct({recs:te,startsz:Zt,endsz:Zt,entries:new Je(XFt,"recs")});var JFt=new ct({version:te,numRecs:te,numRatios:te,ratioRanges:new Je(qFt,"numRatios"),offsets:new Je(te,"numRatios"),groups:new Je(YFt,"numRecs")}),ZFt=new ct({version:te,ascent:Nt,descent:Nt,lineGap:Nt,advanceHeightMax:Nt,minTopSideBearing:Nt,minBottomSideBearing:Nt,yMaxExtent:Nt,caretSlopeRise:Nt,caretSlopeRun:Nt,caretOffset:Nt,reserved:new so(Nt,4),metricDataFormat:Nt,numberOfMetrics:te});let eTt=new ct({advance:te,bearing:Nt});var tTt=new ct({metrics:new xi(eTt,t=>t.parent.vhea.numberOfMetrics),bearings:new xi(Nt,t=>t.parent.maxp.numGlyphs-t.parent.vhea.numberOfMetrics)});let zhe=new Bv(16,"BE",14),rTt=new ct({fromCoord:zhe,toCoord:zhe}),nTt=new ct({pairCount:te,correspondence:new Je(rTt,"pairCount")});var iTt=new ct({version:Ho,axisCount:et,segment:new Je(nTt,"axisCount")});class oTt{getItem(e){if(this._items[e]==null){let r=this.stream.pos;this.stream.pos=this.base+this.type.size(null,this.parent)*e,this._items[e]=this.type.decode(this.stream,this.parent),this.stream.pos=r}return this._items[e]}inspect(){return`[UnboundedArray ${this.type.constructor.name}]`}constructor(e,r,n){this.type=e,this.stream=r,this.parent=n,this.base=this.stream.pos,this._items=[]}}class op extends Je{decode(e,r){return new oTt(this.type,e,r)}constructor(e){super(e,0)}}let wm=function(t=te){class e{decode(a,l){return l=l.parent.parent,this.type.decode(a,l)}size(a,l){return l=l.parent.parent,this.type.size(a,l)}encode(a,l,c){return c=c.parent.parent,this.type.encode(a,l,c)}constructor(a){this.type=a}}t=new e(t);let r=new ct({unitSize:te,nUnits:te,searchRange:te,entrySelector:te,rangeShift:te}),n=new ct({lastGlyph:te,firstGlyph:te,value:t}),i=new ct({lastGlyph:te,firstGlyph:te,values:new Ze(te,new Je(t,s=>s.lastGlyph-s.firstGlyph+1),{type:"parent"})}),o=new ct({glyph:te,value:t});return new Fn(te,{0:{values:new op(t)},2:{binarySearchHeader:r,segments:new Je(n,s=>s.binarySearchHeader.nUnits)},4:{binarySearchHeader:r,segments:new Je(i,s=>s.binarySearchHeader.nUnits)},6:{binarySearchHeader:r,segments:new Je(o,s=>s.binarySearchHeader.nUnits)},8:{firstGlyph:te,count:te,values:new Je(t,"count")}})};function g8(t={},e=te){let r=Object.assign({newState:te,flags:te},t),n=new ct(r),i=new op(new Je(te,s=>s.nClasses));return new ct({nClasses:et,classTable:new Ze(et,new wm(e)),stateArray:new Ze(et,i),entryTable:new Ze(et,new op(n))})}function sTt(t={},e=te){let r=new ct({version(){return 8},firstGlyph:te,values:new Je(Zt,te)}),n=Object.assign({newStateOffset:te,newState:a=>(a.newStateOffset-(a.parent.stateArray.base-a.parent._startOffset))/a.parent.nClasses,flags:te},t),i=new ct(n),o=new op(new Je(Zt,a=>a.nClasses));return new ct({nClasses:te,classTable:new Ze(te,r),stateArray:new Ze(te,o),entryTable:new Ze(te,new op(i))})}let aTt=new Fn("format",{0:{deltas:new Je(Nt,32)},1:{deltas:new Je(Nt,32),mappingData:new wm(te)},2:{standardGlyph:te,controlPoints:new Je(te,32)},3:{standardGlyph:te,controlPoints:new Je(te,32),mappingData:new wm(te)}});var lTt=new ct({version:Ho,format:te,defaultBaseline:te,subtable:aTt});let cTt=new ct({setting:te,nameIndex:Nt,name:t=>t.parent.parent.parent.name.records.fontFeatures[t.nameIndex]}),uTt=new ct({feature:te,nSettings:te,settingTable:new Ze(et,new Je(cTt,"nSettings"),{type:"parent"}),featureFlags:new Xf(Zt,[null,null,null,null,null,null,"hasDefault","exclusive"]),defaultSetting:Zt,nameIndex:Nt,name:t=>t.parent.parent.name.records.fontFeatures[t.nameIndex]});var fTt=new ct({version:Ho,featureNameCount:te,reserved1:new so(te),reserved2:new so(et),featureNames:new Je(uTt,"featureNameCount")});let dTt=new ct({axisTag:new Bi(4),minValue:Ho,defaultValue:Ho,maxValue:Ho,flags:te,nameID:te,name:t=>t.parent.parent.name.records.fontFeatures[t.nameID]}),pTt=new ct({nameID:te,name:t=>t.parent.parent.name.records.fontFeatures[t.nameID],flags:te,coord:new Je(Ho,t=>t.parent.axisCount),postscriptNameID:new rO(te,t=>t.parent.instanceSize-t._currentOffset>0)});var ATt=new ct({version:Ho,offsetToData:te,countSizePairs:te,axisCount:te,axisSize:te,instanceCount:te,instanceSize:te,axis:new Je(dTt,"axisCount"),instance:new Je(pTt,"instanceCount")});let hTt=new Bv(16,"BE",14);class mTt{static decode(e,r){return r.flags?e.readUInt32BE():e.readUInt16BE()*2}}let gTt=new ct({version:te,reserved:new so(te),axisCount:te,globalCoordCount:te,globalCoords:new Ze(et,new Je(new Je(hTt,"axisCount"),"globalCoordCount")),glyphCount:te,flags:te,offsetToData:et,offsets:new Je(new Ze(mTt,"void",{relativeTo:t=>t.offsetToData,allowNull:!1}),t=>t.glyphCount+1)});var vTt=gTt;let yTt=new ct({length:te,coverage:te,subFeatureFlags:et,stateTable:new sTt}),BTt=new ct({justClass:et,beforeGrowLimit:Ho,beforeShrinkLimit:Ho,afterGrowLimit:Ho,afterShrinkLimit:Ho,growFlags:te,shrinkFlags:te}),CTt=new Je(BTt,et),bTt=new Fn("actionType",{0:{lowerLimit:Ho,upperLimit:Ho,order:te,glyphs:new Je(te,te)},1:{addGlyph:te},2:{substThreshold:Ho,addGlyph:te,substGlyph:te},3:{},4:{variationAxis:et,minimumLimit:Ho,noStretchValue:Ho,maximumLimit:Ho},5:{flags:te,glyph:te}}),wTt=new ct({actionClass:te,actionType:te,actionLength:et,actionData:bTt,padding:new so(Zt,t=>t.actionLength-t._currentOffset)}),xTt=new Je(wTt,et),STt=new ct({lookupTable:new wm(new Ze(te,xTt))}),Khe=new ct({classTable:new Ze(te,yTt,{type:"parent"}),wdcOffset:te,postCompensationTable:new Ze(te,STt,{type:"parent"}),widthDeltaClusters:new wm(new Ze(te,CTt,{type:"parent",relativeTo:t=>t.wdcOffset}))});var ETt=new ct({version:et,format:te,horizontal:new Ze(te,Khe),vertical:new Ze(te,Khe)});let DTt={action:te},kTt={markIndex:te,currentIndex:te},OTt={currentInsertIndex:te,markedInsertIndex:te},PTt=new ct({items:new op(new Ze(et,new wm))}),ITt=new Fn("type",{0:{stateTable:new g8},1:{stateTable:new g8(kTt),substitutionTable:new Ze(et,PTt)},2:{stateTable:new g8(DTt),ligatureActions:new Ze(et,new op(et)),components:new Ze(et,new op(te)),ligatureList:new Ze(et,new op(te))},4:{lookupTable:new wm},5:{stateTable:new g8(OTt),insertionActions:new Ze(et,new op(te))}}),NTt=new ct({length:et,coverage:nm,type:Zt,subFeatureFlags:et,table:ITt,padding:new so(Zt,t=>t.length-t._currentOffset)}),FTt=new ct({featureType:te,featureSetting:te,enableFlags:et,disableFlags:et}),TTt=new ct({defaultFlags:et,chainLength:et,nFeatureEntries:et,nSubtables:et,features:new Je(FTt,"nFeatureEntries"),subtables:new Je(NTt,"nSubtables")});var LTt=new ct({version:te,unused:new so(te),nChains:et,chains:new Je(TTt,"nChains")});let RTt=new ct({left:Nt,top:Nt,right:Nt,bottom:Nt});var MTt=new ct({version:Ho,format:te,lookupTable:new wm(RTt)});let cn={};var lO=cn;cn.cmap=RIt;cn.head=MIt;cn.hhea=_It;cn.hmtx=UIt;cn.maxp=QIt;cn.name=KIt;cn["OS/2"]=qIt;cn.post=XIt;cn.fpgm=JIt;cn.loca=ZIt;cn.prep=eNt;cn["cvt "]=YIt;cn.glyf=tNt;cn["CFF "]=Qke;cn.CFF2=Qke;cn.VORG=QNt;cn.EBLC=WNt;cn.CBLC=cn.EBLC;cn.sbix=KNt;cn.COLR=YNt;cn.CPAL=ZNt;cn.BASE=aFt;cn.GDEF=pFt;cn.GPOS=xFt;cn.GSUB=kFt;cn.JSTF=FFt;cn.HVAR=RFt;cn.DSIG=jFt;cn.gasp=QFt;cn.hdmx=$Ft;cn.kern=WFt;cn.LTSH=zFt;cn.PCLT=KFt;cn.VDMX=JFt;cn.vhea=ZFt;cn.vmtx=tTt;cn.avar=iTt;cn.bsln=lTt;cn.feat=fTt;cn.fvar=ATt;cn.gvar=vTt;cn.just=ETt;cn.morx=LTt;cn.opbd=MTt;let _Tt=new ct({tag:new Bi(4),checkSum:et,offset:new Ze(et,"void",{type:"global"}),length:et}),aee=new ct({tag:new Bi(4),numTables:te,searchRange:te,entrySelector:te,rangeShift:te,tables:new Je(_Tt,"numTables")});aee.process=function(){let t={};for(let e of this.tables)t[e.tag]=e;this.tables=t};aee.preEncode=function(){if(!Array.isArray(this.tables)){let r=[];for(let n in this.tables){let i=this.tables[n];i&&r.push({tag:n,checkSum:0,offset:new eG(lO[n],i),length:lO[n].size(i)})}this.tables=r}this.tag="true",this.numTables=this.tables.length;let t=Math.floor(Math.log(this.numTables)/Math.LN2),e=Math.pow(2,t);this.searchRange=e*16,this.entrySelector=Math.log(e)/Math.LN2,this.rangeShift=this.numTables*16-this.searchRange};var Gke=aee;function ED(t,e){let r=0,n=t.length-1;for(;r<=n;){let i=r+n>>1,o=e(t[i]);if(o<0)n=i-1;else if(o>0)r=i+1;else return i}return-1}function $y(t,e){let r=[];for(;t<e;)r.push(t++);return r}const gN=new TextDecoder("ascii"),qhe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Uw=new Uint8Array(256);for(let t=0;t<qhe.length;t++)Uw[qhe.charCodeAt(t)]=t;function lee(t){let e=t.length*.75;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);let r=new Uint8Array(e),n=0;for(let i=0,o=t.length;i<o;i+=4){let s=Uw[t.charCodeAt(i)],a=Uw[t.charCodeAt(i+1)],l=Uw[t.charCodeAt(i+2)],c=Uw[t.charCodeAt(i+3)];r[n++]=s<<2|a>>4,r[n++]=(a&15)<<4|l>>2,r[n++]=(l&3)<<6|c&63}return r}class cee{findSubtable(e,r){for(let[n,i]of r)for(let o of e.tables)if(o.platformID===n&&o.encodingID===i)return o.table;return null}lookup(e,r){if(this.encoding)e=this.encoding.get(e)||e;else if(r){let i=this.getVariationSelector(e,r);if(i)return i}let n=this.cmap;switch(n.version){case 0:return n.codeMap.get(e)||0;case 4:{let i=0,o=n.segCount-1;for(;i<=o;){let s=i+o>>1;if(e<n.startCode.get(s))o=s-1;else if(e>n.endCode.get(s))i=s+1;else{let a=n.idRangeOffset.get(s),l;if(a===0)l=e+n.idDelta.get(s);else{let c=a/2+(e-n.startCode.get(s))-(n.segCount-s);l=n.glyphIndexArray.get(c)||0,l!==0&&(l+=n.idDelta.get(s))}return l&65535}}return 0}case 8:throw new Error("TODO: cmap format 8");case 6:case 10:return n.glyphIndices.get(e-n.firstCode)||0;case 12:case 13:{let i=0,o=n.nGroups-1;for(;i<=o;){let s=i+o>>1,a=n.groups.get(s);if(e<a.startCharCode)o=s-1;else if(e>a.endCharCode)i=s+1;else return n.version===12?a.glyphID+(e-a.startCharCode):a.glyphID}return 0}case 14:throw new Error("TODO: cmap format 14");default:throw new Error(`Unknown cmap format ${n.version}`)}}getVariationSelector(e,r){if(!this.uvs)return 0;let n=this.uvs.varSelectors.toArray(),i=ED(n,s=>r-s.varSelector),o=n[i];return i!==-1&&o.defaultUVS&&(i=ED(o.defaultUVS,s=>e<s.startUnicodeValue?-1:e>s.startUnicodeValue+s.additionalCount?1:0)),i!==-1&&o.nonDefaultUVS&&(i=ED(o.nonDefaultUVS,s=>e-s.unicodeValue),i!==-1)?o.nonDefaultUVS[i].glyphID:0}getCharacterSet(){let e=this.cmap;switch(e.version){case 0:return $y(0,e.codeMap.length);case 4:{let r=[],n=e.endCode.toArray();for(let i=0;i<n.length;i++){let o=n[i]+1,s=e.startCode.get(i);r.push(...$y(s,o))}return r}case 8:throw new Error("TODO: cmap format 8");case 6:case 10:return $y(e.firstCode,e.firstCode+e.glyphIndices.length);case 12:case 13:{let r=[];for(let n of e.groups.toArray())r.push(...$y(n.startCharCode,n.endCharCode+1));return r}case 14:throw new Error("TODO: cmap format 14");default:throw new Error(`Unknown cmap format ${e.version}`)}}codePointsForGlyph(e){let r=this.cmap;switch(r.version){case 0:{let i=[];for(let o=0;o<256;o++)r.codeMap.get(o)===e&&i.push(o);return i}case 4:{let i=[];for(let o=0;o<r.segCount;o++){let s=r.endCode.get(o),a=r.startCode.get(o),l=r.idRangeOffset.get(o),c=r.idDelta.get(o);for(var n=a;n<=s;n++){let u=0;if(l===0)u=n+c;else{let f=l/2+(n-a)-(r.segCount-o);u=r.glyphIndexArray.get(f)||0,u!==0&&(u+=c)}u===e&&i.push(n)}}return i}case 12:{let i=[];for(let o of r.groups.toArray())e>=o.glyphID&&e<=o.glyphID+(o.endCharCode-o.startCharCode)&&i.push(o.startCharCode+(e-o.glyphID));return i}case 13:{let i=[];for(let o of r.groups.toArray())e===o.glyphID&&i.push(...$y(o.startCharCode,o.endCharCode+1));return i}default:throw new Error(`Unknown cmap format ${r.version}`)}}constructor(e){if(this.encoding=null,this.cmap=this.findSubtable(e,[[3,10],[0,6],[0,4],[3,1],[0,3],[0,2],[0,1],[0,0]]),!this.cmap)for(let r of e.tables){let n=xke(r.platformID,r.encodingID,r.table.language-1),i=HIt(n);i&&(this.cmap=r.table,this.encoding=i)}if(!this.cmap)throw new Error("Could not find a supported cmap table");this.uvs=this.findSubtable(e,[[0,5]]),this.uvs&&this.uvs.version!==14&&(this.uvs=null)}}Ea([Da],cee.prototype,"getCharacterSet",null);Ea([Da],cee.prototype,"codePointsForGlyph",null);class jTt{process(e,r){for(let n=0;n<e.length-1;n++){let i=e[n].id,o=e[n+1].id;r[n].xAdvance+=this.getKerning(i,o)}}getKerning(e,r){let n=0;for(let i of this.kern.tables){if(i.coverage.crossStream)continue;switch(i.version){case 0:if(!i.coverage.horizontal)continue;break;case 1:if(i.coverage.vertical||i.coverage.variation)continue;break;default:throw new Error(`Unsupported kerning table version ${i.version}`)}let o=0,s=i.subtable;switch(i.format){case 0:let a=ED(s.pairs,function(f){return e-f.left||r-f.right});a>=0&&(o=s.pairs[a].value);break;case 2:let l=0,c=0;e>=s.leftTable.firstGlyph&&e<s.leftTable.firstGlyph+s.leftTable.nGlyphs?l=s.leftTable.offsets[e-s.leftTable.firstGlyph]:l=s.array.off,r>=s.rightTable.firstGlyph&&r<s.rightTable.firstGlyph+s.rightTable.nGlyphs&&(c=s.rightTable.offsets[r-s.rightTable.firstGlyph]);let u=(l+c-s.array.off)/2;o=s.array.values.get(u);break;case 3:if(e>=s.glyphCount||r>=s.glyphCount)return 0;o=s.kernValue[s.kernIndex[s.leftClass[e]*s.rightClassCount+s.rightClass[r]]];break;default:throw new Error(`Unsupported kerning sub-table format ${i.format}`)}i.coverage.override?n=o:n+=o}return n}constructor(e){this.kern=e.kern}}class UTt{positionGlyphs(e,r){let n=0,i=0;for(let o=0;o<e.length;o++)e[o].isMark?i=o:(n!==i&&this.positionCluster(e,r,n,i),n=i=o);return n!==i&&this.positionCluster(e,r,n,i),r}positionCluster(e,r,n,i){let o=e[n],s=o.cbox.copy();o.codePoints.length>1&&(s.minX+=(o.codePoints.length-1)*s.width/o.codePoints.length);let a=-r[n].xAdvance,l=0,c=this.font.unitsPerEm/16;for(let u=n+1;u<=i;u++){let f=e[u],d=f.cbox,p=r[u],h=this.getCombiningClass(f.codePoints[0]);if(h!=="Not_Reordered"){switch(p.xOffset=p.yOffset=0,h){case"Double_Above":case"Double_Below":p.xOffset+=s.minX-d.width/2-d.minX;break;case"Attached_Below_Left":case"Below_Left":case"Above_Left":p.xOffset+=s.minX-d.minX;break;case"Attached_Above_Right":case"Below_Right":case"Above_Right":p.xOffset+=s.maxX-d.width-d.minX;break;default:p.xOffset+=s.minX+(s.width-d.width)/2-d.minX}switch(h){case"Double_Below":case"Below_Left":case"Below":case"Below_Right":case"Attached_Below_Left":case"Attached_Below":(h==="Attached_Below_Left"||h==="Attached_Below")&&(s.minY+=c),p.yOffset=-s.minY-d.maxY,s.minY+=d.height;break;case"Double_Above":case"Above_Left":case"Above":case"Above_Right":case"Attached_Above":case"Attached_Above_Right":(h==="Attached_Above"||h==="Attached_Above_Right")&&(s.maxY+=c),p.yOffset=s.maxY-d.minY,s.maxY+=d.height;break}p.xAdvance=p.yAdvance=0,p.xOffset+=a,p.yOffset+=l}else a-=p.xAdvance,l-=p.yAdvance}}getCombiningClass(e){let r=pIt(e);if((e&-256)===3584){if(r==="Not_Reordered")switch(e){case 3633:case 3636:case 3637:case 3638:case 3639:case 3655:case 3660:case 3645:case 3662:return"Above_Right";case 3761:case 3764:case 3765:case 3766:case 3767:case 3771:case 3788:case 3789:return"Above";case 3772:return"Below"}else if(e===3642)return"Below_Right"}switch(r){case"CCC10":case"CCC11":case"CCC12":case"CCC13":case"CCC14":case"CCC15":case"CCC16":case"CCC17":case"CCC18":case"CCC20":case"CCC22":return"Below";case"CCC23":return"Attached_Above";case"CCC24":return"Above_Right";case"CCC25":case"CCC19":return"Above_Left";case"CCC26":return"Above";case"CCC21":break;case"CCC27":case"CCC28":case"CCC30":case"CCC31":case"CCC33":case"CCC34":case"CCC35":case"CCC36":return"Above";case"CCC29":case"CCC32":return"Below";case"CCC103":return"Below_Right";case"CCC107":return"Above_Right";case"CCC118":return"Below";case"CCC122":return"Above";case"CCC129":case"CCC132":return"Below";case"CCC130":return"Above"}return r}constructor(e){this.font=e}}class xm{get width(){return this.maxX-this.minX}get height(){return this.maxY-this.minY}addPoint(e,r){Math.abs(e)!==1/0&&(e<this.minX&&(this.minX=e),e>this.maxX&&(this.maxX=e)),Math.abs(r)!==1/0&&(r<this.minY&&(this.minY=r),r>this.maxY&&(this.maxY=r))}copy(){return new xm(this.minX,this.minY,this.maxX,this.maxY)}constructor(e=1/0,r=1/0,n=-1/0,i=-1/0){this.minX=e,this.minY=r,this.maxX=n,this.maxY=i}}const $B={Caucasian_Albanian:"aghb",Arabic:"arab",Imperial_Aramaic:"armi",Armenian:"armn",Avestan:"avst",Balinese:"bali",Bamum:"bamu",Bassa_Vah:"bass",Batak:"batk",Bengali:["bng2","beng"],Bopomofo:"bopo",Brahmi:"brah",Braille:"brai",Buginese:"bugi",Buhid:"buhd",Chakma:"cakm",Canadian_Aboriginal:"cans",Carian:"cari",Cham:"cham",Cherokee:"cher",Coptic:"copt",Cypriot:"cprt",Cyrillic:"cyrl",Devanagari:["dev2","deva"],Deseret:"dsrt",Duployan:"dupl",Egyptian_Hieroglyphs:"egyp",Elbasan:"elba",Ethiopic:"ethi",Georgian:"geor",Glagolitic:"glag",Gothic:"goth",Grantha:"gran",Greek:"grek",Gujarati:["gjr2","gujr"],Gurmukhi:["gur2","guru"],Hangul:"hang",Han:"hani",Hanunoo:"hano",Hebrew:"hebr",Hiragana:"hira",Pahawh_Hmong:"hmng",Katakana_Or_Hiragana:"hrkt",Old_Italic:"ital",Javanese:"java",Kayah_Li:"kali",Katakana:"kana",Kharoshthi:"khar",Khmer:"khmr",Khojki:"khoj",Kannada:["knd2","knda"],Kaithi:"kthi",Tai_Tham:"lana",Lao:"lao ",Latin:"latn",Lepcha:"lepc",Limbu:"limb",Linear_A:"lina",Linear_B:"linb",Lisu:"lisu",Lycian:"lyci",Lydian:"lydi",Mahajani:"mahj",Mandaic:"mand",Manichaean:"mani",Mende_Kikakui:"mend",Meroitic_Cursive:"merc",Meroitic_Hieroglyphs:"mero",Malayalam:["mlm2","mlym"],Modi:"modi",Mongolian:"mong",Mro:"mroo",Meetei_Mayek:"mtei",Myanmar:["mym2","mymr"],Old_North_Arabian:"narb",Nabataean:"nbat",Nko:"nko ",Ogham:"ogam",Ol_Chiki:"olck",Old_Turkic:"orkh",Oriya:["ory2","orya"],Osmanya:"osma",Palmyrene:"palm",Pau_Cin_Hau:"pauc",Old_Permic:"perm",Phags_Pa:"phag",Inscriptional_Pahlavi:"phli",Psalter_Pahlavi:"phlp",Phoenician:"phnx",Miao:"plrd",Inscriptional_Parthian:"prti",Rejang:"rjng",Runic:"runr",Samaritan:"samr",Old_South_Arabian:"sarb",Saurashtra:"saur",Shavian:"shaw",Sharada:"shrd",Siddham:"sidd",Khudawadi:"sind",Sinhala:"sinh",Sora_Sompeng:"sora",Sundanese:"sund",Syloti_Nagri:"sylo",Syriac:"syrc",Tagbanwa:"tagb",Takri:"takr",Tai_Le:"tale",New_Tai_Lue:"talu",Tamil:["tml2","taml"],Tai_Viet:"tavt",Telugu:["tel2","telu"],Tifinagh:"tfng",Tagalog:"tglg",Thaana:"thaa",Thai:"thai",Tibetan:"tibt",Tirhuta:"tirh",Ugaritic:"ugar",Vai:"vai ",Warang_Citi:"wara",Old_Persian:"xpeo",Cuneiform:"xsux",Yi:"yi ",Inherited:"zinh",Common:"zyyy",Unknown:"zzzz"},sG={};for(let t in $B){let e=$B[t];if(Array.isArray(e))for(let r of e)sG[r]=t;else sG[e]=t}function QTt(t){return sG[t]}function VTt(t){let e=t.length,r=0;for(;r<e;){let n=t.charCodeAt(r++);if(55296<=n&&n<=56319&&r<e){let o=t.charCodeAt(r);56320<=o&&o<=57343&&(r++,n=((n&1023)<<10)+(o&1023)+65536)}let i=Ake(n);if(i!=="Common"&&i!=="Inherited"&&i!=="Unknown")return $B[i]}return $B.Unknown}function $Tt(t){for(let e=0;e<t.length;e++){let r=t[e],n=Ake(r);if(n!=="Common"&&n!=="Inherited"&&n!=="Unknown")return $B[n]}return $B.Unknown}const HTt={arab:!0,hebr:!0,syrc:!0,thaa:!0,cprt:!0,khar:!0,phnx:!0,"nko ":!0,lydi:!0,avst:!0,armi:!0,phli:!0,prti:!0,sarb:!0,orkh:!0,samr:!0,mand:!0,merc:!0,mero:!0,mani:!0,mend:!0,nbat:!0,narb:!0,palm:!0,phlp:!0};function Wke(t){return HTt[t]?"rtl":"ltr"}class GTt{get advanceWidth(){let e=0;for(let r of this.positions)e+=r.xAdvance;return e}get advanceHeight(){let e=0;for(let r of this.positions)e+=r.yAdvance;return e}get bbox(){let e=new xm,r=0,n=0;for(let i=0;i<this.glyphs.length;i++){let o=this.glyphs[i],s=this.positions[i],a=o.bbox;e.addPoint(a.minX+r+s.xOffset,a.minY+n+s.yOffset),e.addPoint(a.maxX+r+s.xOffset,a.maxY+n+s.yOffset),r+=s.xAdvance,n+=s.yAdvance}return e}constructor(e,r,n,i,o){if(this.glyphs=e,this.positions=null,this.script=n,this.language=i||null,this.direction=o||Wke(n),this.features={},Array.isArray(r))for(let s of r)this.features[s]=!0;else typeof r=="object"&&(this.features=r)}}class WTt{constructor(e=0,r=0,n=0,i=0){this.xAdvance=e,this.yAdvance=r,this.xOffset=n,this.yOffset=i}}const s1={allTypographicFeatures:{code:0,exclusive:!1,allTypeFeatures:0},ligatures:{code:1,exclusive:!1,requiredLigatures:0,commonLigatures:2,rareLigatures:4,rebusPictures:8,diphthongLigatures:10,squaredLigatures:12,abbrevSquaredLigatures:14,symbolLigatures:16,contextualLigatures:18,historicalLigatures:20},cursiveConnection:{code:2,exclusive:!0,unconnected:0,partiallyConnected:1,cursive:2},letterCase:{code:3,exclusive:!0},verticalSubstitution:{code:4,exclusive:!1,substituteVerticalForms:0},linguisticRearrangement:{code:5,exclusive:!1,linguisticRearrangement:0},numberSpacing:{code:6,exclusive:!0,monospacedNumbers:0,proportionalNumbers:1,thirdWidthNumbers:2,quarterWidthNumbers:3},smartSwash:{code:8,exclusive:!1,wordInitialSwashes:0,wordFinalSwashes:2,nonFinalSwashes:8},diacritics:{code:9,exclusive:!0,showDiacritics:0,hideDiacritics:1,decomposeDiacritics:2},verticalPosition:{code:10,exclusive:!0,normalPosition:0,superiors:1,inferiors:2,ordinals:3,scientificInferiors:4},fractions:{code:11,exclusive:!0,noFractions:0,verticalFractions:1,diagonalFractions:2},overlappingCharacters:{code:13,exclusive:!1,preventOverlap:0},typographicExtras:{code:14,exclusive:!1,slashedZero:4},mathematicalExtras:{code:15,exclusive:!1,mathematicalGreek:10},ornamentSets:{code:16,exclusive:!0,noOrnaments:0,dingbats:1,piCharacters:2,fleurons:3,decorativeBorders:4,internationalSymbols:5,mathSymbols:6},characterAlternatives:{code:17,exclusive:!0,noAlternates:0},designComplexity:{code:18,exclusive:!0,designLevel1:0,designLevel2:1,designLevel3:2,designLevel4:3,designLevel5:4},styleOptions:{code:19,exclusive:!0,noStyleOptions:0,displayText:1,engravedText:2,illuminatedCaps:3,titlingCaps:4,tallCaps:5},characterShape:{code:20,exclusive:!0,traditionalCharacters:0,simplifiedCharacters:1,JIS1978Characters:2,JIS1983Characters:3,JIS1990Characters:4,traditionalAltOne:5,traditionalAltTwo:6,traditionalAltThree:7,traditionalAltFour:8,traditionalAltFive:9,expertCharacters:10,JIS2004Characters:11,hojoCharacters:12,NLCCharacters:13,traditionalNamesCharacters:14},numberCase:{code:21,exclusive:!0,lowerCaseNumbers:0,upperCaseNumbers:1},textSpacing:{code:22,exclusive:!0,proportionalText:0,monospacedText:1,halfWidthText:2,thirdWidthText:3,quarterWidthText:4,altProportionalText:5,altHalfWidthText:6},transliteration:{code:23,exclusive:!0,noTransliteration:0},annotation:{code:24,exclusive:!0,noAnnotation:0,boxAnnotation:1,roundedBoxAnnotation:2,circleAnnotation:3,invertedCircleAnnotation:4,parenthesisAnnotation:5,periodAnnotation:6,romanNumeralAnnotation:7,diamondAnnotation:8,invertedBoxAnnotation:9,invertedRoundedBoxAnnotation:10},kanaSpacing:{code:25,exclusive:!0,fullWidthKana:0,proportionalKana:1},ideographicSpacing:{code:26,exclusive:!0,fullWidthIdeographs:0,proportionalIdeographs:1,halfWidthIdeographs:2},unicodeDecomposition:{code:27,exclusive:!1,canonicalComposition:0,compatibilityComposition:2,transcodingComposition:4},rubyKana:{code:28,exclusive:!1,rubyKana:2},CJKSymbolAlternatives:{code:29,exclusive:!0,noCJKSymbolAlternatives:0,CJKSymbolAltOne:1,CJKSymbolAltTwo:2,CJKSymbolAltThree:3,CJKSymbolAltFour:4,CJKSymbolAltFive:5},ideographicAlternatives:{code:30,exclusive:!0,noIdeographicAlternatives:0,ideographicAltOne:1,ideographicAltTwo:2,ideographicAltThree:3,ideographicAltFour:4,ideographicAltFive:5},CJKVerticalRomanPlacement:{code:31,exclusive:!0,CJKVerticalRomanCentered:0,CJKVerticalRomanHBaseline:1},italicCJKRoman:{code:32,exclusive:!1,CJKItalicRoman:2},caseSensitiveLayout:{code:33,exclusive:!1,caseSensitiveLayout:0,caseSensitiveSpacing:2},alternateKana:{code:34,exclusive:!1,alternateHorizKana:0,alternateVertKana:2},stylisticAlternatives:{code:35,exclusive:!1,noStylisticAlternates:0,stylisticAltOne:2,stylisticAltTwo:4,stylisticAltThree:6,stylisticAltFour:8,stylisticAltFive:10,stylisticAltSix:12,stylisticAltSeven:14,stylisticAltEight:16,stylisticAltNine:18,stylisticAltTen:20,stylisticAltEleven:22,stylisticAltTwelve:24,stylisticAltThirteen:26,stylisticAltFourteen:28,stylisticAltFifteen:30,stylisticAltSixteen:32,stylisticAltSeventeen:34,stylisticAltEighteen:36,stylisticAltNineteen:38,stylisticAltTwenty:40},contextualAlternates:{code:36,exclusive:!1,contextualAlternates:0,swashAlternates:2,contextualSwashAlternates:4},lowerCase:{code:37,exclusive:!0,defaultLowerCase:0,lowerCaseSmallCaps:1,lowerCasePetiteCaps:2},upperCase:{code:38,exclusive:!0,defaultUpperCase:0,upperCaseSmallCaps:1,upperCasePetiteCaps:2},languageTag:{code:39,exclusive:!0},CJKRomanSpacing:{code:103,exclusive:!0,halfWidthCJKRoman:0,proportionalCJKRoman:1,defaultCJKRoman:2,fullWidthCJKRoman:3}},Xt=(t,e)=>[s1[t].code,s1[t][e]],cO={rlig:Xt("ligatures","requiredLigatures"),clig:Xt("ligatures","contextualLigatures"),dlig:Xt("ligatures","rareLigatures"),hlig:Xt("ligatures","historicalLigatures"),liga:Xt("ligatures","commonLigatures"),hist:Xt("ligatures","historicalLigatures"),smcp:Xt("lowerCase","lowerCaseSmallCaps"),pcap:Xt("lowerCase","lowerCasePetiteCaps"),frac:Xt("fractions","diagonalFractions"),dnom:Xt("fractions","diagonalFractions"),numr:Xt("fractions","diagonalFractions"),afrc:Xt("fractions","verticalFractions"),case:Xt("caseSensitiveLayout","caseSensitiveLayout"),ccmp:Xt("unicodeDecomposition","canonicalComposition"),cpct:Xt("CJKVerticalRomanPlacement","CJKVerticalRomanCentered"),valt:Xt("CJKVerticalRomanPlacement","CJKVerticalRomanCentered"),swsh:Xt("contextualAlternates","swashAlternates"),cswh:Xt("contextualAlternates","contextualSwashAlternates"),curs:Xt("cursiveConnection","cursive"),c2pc:Xt("upperCase","upperCasePetiteCaps"),c2sc:Xt("upperCase","upperCaseSmallCaps"),init:Xt("smartSwash","wordInitialSwashes"),fin2:Xt("smartSwash","wordFinalSwashes"),medi:Xt("smartSwash","nonFinalSwashes"),med2:Xt("smartSwash","nonFinalSwashes"),fin3:Xt("smartSwash","wordFinalSwashes"),fina:Xt("smartSwash","wordFinalSwashes"),pkna:Xt("kanaSpacing","proportionalKana"),half:Xt("textSpacing","halfWidthText"),halt:Xt("textSpacing","altHalfWidthText"),hkna:Xt("alternateKana","alternateHorizKana"),vkna:Xt("alternateKana","alternateVertKana"),ital:Xt("italicCJKRoman","CJKItalicRoman"),lnum:Xt("numberCase","upperCaseNumbers"),onum:Xt("numberCase","lowerCaseNumbers"),mgrk:Xt("mathematicalExtras","mathematicalGreek"),calt:Xt("contextualAlternates","contextualAlternates"),vrt2:Xt("verticalSubstitution","substituteVerticalForms"),vert:Xt("verticalSubstitution","substituteVerticalForms"),tnum:Xt("numberSpacing","monospacedNumbers"),pnum:Xt("numberSpacing","proportionalNumbers"),sups:Xt("verticalPosition","superiors"),subs:Xt("verticalPosition","inferiors"),ordn:Xt("verticalPosition","ordinals"),pwid:Xt("textSpacing","proportionalText"),hwid:Xt("textSpacing","halfWidthText"),qwid:Xt("textSpacing","quarterWidthText"),twid:Xt("textSpacing","thirdWidthText"),fwid:Xt("textSpacing","proportionalText"),palt:Xt("textSpacing","altProportionalText"),trad:Xt("characterShape","traditionalCharacters"),smpl:Xt("characterShape","simplifiedCharacters"),jp78:Xt("characterShape","JIS1978Characters"),jp83:Xt("characterShape","JIS1983Characters"),jp90:Xt("characterShape","JIS1990Characters"),jp04:Xt("characterShape","JIS2004Characters"),expt:Xt("characterShape","expertCharacters"),hojo:Xt("characterShape","hojoCharacters"),nlck:Xt("characterShape","NLCCharacters"),tnam:Xt("characterShape","traditionalNamesCharacters"),ruby:Xt("rubyKana","rubyKana"),titl:Xt("styleOptions","titlingCaps"),zero:Xt("typographicExtras","slashedZero"),ss01:Xt("stylisticAlternatives","stylisticAltOne"),ss02:Xt("stylisticAlternatives","stylisticAltTwo"),ss03:Xt("stylisticAlternatives","stylisticAltThree"),ss04:Xt("stylisticAlternatives","stylisticAltFour"),ss05:Xt("stylisticAlternatives","stylisticAltFive"),ss06:Xt("stylisticAlternatives","stylisticAltSix"),ss07:Xt("stylisticAlternatives","stylisticAltSeven"),ss08:Xt("stylisticAlternatives","stylisticAltEight"),ss09:Xt("stylisticAlternatives","stylisticAltNine"),ss10:Xt("stylisticAlternatives","stylisticAltTen"),ss11:Xt("stylisticAlternatives","stylisticAltEleven"),ss12:Xt("stylisticAlternatives","stylisticAltTwelve"),ss13:Xt("stylisticAlternatives","stylisticAltThirteen"),ss14:Xt("stylisticAlternatives","stylisticAltFourteen"),ss15:Xt("stylisticAlternatives","stylisticAltFifteen"),ss16:Xt("stylisticAlternatives","stylisticAltSixteen"),ss17:Xt("stylisticAlternatives","stylisticAltSeventeen"),ss18:Xt("stylisticAlternatives","stylisticAltEighteen"),ss19:Xt("stylisticAlternatives","stylisticAltNineteen"),ss20:Xt("stylisticAlternatives","stylisticAltTwenty")};for(let t=1;t<=99;t++)cO[`cv${`00${t}`.slice(-2)}`]=[s1.characterAlternatives.code,t];let a1={};for(let t in cO){let e=cO[t];a1[e[0]]==null&&(a1[e[0]]={}),a1[e[0]][e[1]]=t}function zTt(t){let e={};for(let r in t){let n;(n=cO[r])&&(e[n[0]]==null&&(e[n[0]]={}),e[n[0]][n[1]]=t[r])}return e}function Xhe(t){let[e,r]=t;if(isNaN(e))var n=s1[e]&&s1[e].code;else var n=e;if(isNaN(r))var i=s1[e]&&s1[e][r];else var i=r;return[n,i]}function KTt(t){let e={};if(Array.isArray(t))for(let r=0;r<t.length;r++){let n,i=Xhe(t[r]);(n=a1[i[0]]&&a1[i[0]][i[1]])&&(e[n]=!0)}else if(typeof t=="object")for(let r in t){let n=t[r];for(let i in n){let o,s=Xhe([r,i]);n[i]&&(o=a1[s[0]]&&a1[s[0]][s[1]])&&(e[o]=!0)}}return Object.keys(e)}class w5{lookup(e){switch(this.table.version){case 0:return this.table.values.getItem(e);case 2:case 4:{let i=0,o=this.table.binarySearchHeader.nUnits-1;for(;i<=o;){var r=i+o>>1,n=this.table.segments[r];if(n.firstGlyph===65535)return null;if(e<n.firstGlyph)o=r-1;else if(e>n.lastGlyph)i=r+1;else return this.table.version===2?n.value:n.values[e-n.firstGlyph]}return null}case 6:{let i=0,o=this.table.binarySearchHeader.nUnits-1;for(;i<=o;){var r=i+o>>1,n=this.table.segments[r];if(n.glyph===65535)return null;if(e<n.glyph)o=r-1;else if(e>n.glyph)i=r+1;else return n.value}return null}case 8:return this.table.values[e-this.table.firstGlyph];default:throw new Error(`Unknown lookup table format: ${this.table.version}`)}}glyphsForValue(e){let r=[];switch(this.table.version){case 2:case 4:for(let n of this.table.segments)if(this.table.version===2&&n.value===e)r.push(...$y(n.firstGlyph,n.lastGlyph+1));else for(let i=0;i<n.values.length;i++)n.values[i]===e&&r.push(n.firstGlyph+i);break;case 6:for(let n of this.table.segments)n.value===e&&r.push(n.glyph);break;case 8:for(let n=0;n<this.table.values.length;n++)this.table.values[n]===e&&r.push(this.table.firstGlyph+n);break;default:throw new Error(`Unknown lookup table format: ${this.table.version}`)}return r}constructor(e){this.table=e}}Ea([Da],w5.prototype,"glyphsForValue",null);const qTt=0,Yhe=0,Jhe=1,Zhe=2,XTt=16384;class YTt{process(e,r,n){let i=qTt,o=r?e.length-1:0,s=r?-1:1;for(;s===1&&o<=e.length||s===-1&&o>=-1;){let a=null,l=Jhe,c=!0;o===e.length||o===-1?l=Yhe:(a=e[o],a.id===65535?l=Zhe:(l=this.lookupTable.lookup(a.id),l==null&&(l=Jhe)));let f=this.stateTable.stateArray.getItem(i)[l],d=this.stateTable.entryTable.getItem(f);l!==Yhe&&l!==Zhe&&(n(a,d,o),c=!(d.flags&XTt)),i=d.newState,c&&(o+=s)}return e}traverse(e,r=0,n=new Set){if(n.has(r))return;n.add(r);let{nClasses:i,stateArray:o,entryTable:s}=this.stateTable,a=o.getItem(r);for(let l=4;l<i;l++){let c=a[l],u=s.getItem(c);for(let f of this.lookupTable.glyphsForValue(l))e.enter&&e.enter(f,u),u.newState!==0&&this.traverse(e,u.newState,n),e.exit&&e.exit(f,u)}}constructor(e){this.stateTable=e,this.lookupTable=new w5(e.classTable)}}const JTt=32768,ZTt=8192,eLt=15,e0e=32768,tLt=32768,rLt=8192,nLt=2147483648,iLt=1073741824,oLt=1073741823,t0e=4194304,sLt=2048,aLt=1024,lLt=992,cLt=31;class zke{process(e,r={}){for(let i of this.morx.chains){let o=i.defaultFlags;for(let s of i.features){let a;(a=r[s.featureType])&&(a[s.featureSetting]?(o&=s.disableFlags,o|=s.enableFlags):a[s.featureSetting]===!1&&(o|=~s.disableFlags,o&=~s.enableFlags))}for(let s of i.subtables)s.subFeatureFlags&o&&this.processSubtable(s,e)}let n=e.length-1;for(;n>=0;)e[n].id===65535&&e.splice(n,1),n--;return e}processSubtable(e,r){if(this.subtable=e,this.glyphs=r,this.subtable.type===4){this.processNoncontextualSubstitutions(this.subtable,this.glyphs);return}this.ligatureStack=[],this.markedGlyph=null,this.firstGlyph=null,this.lastGlyph=null,this.markedIndex=null;let n=this.getStateMachine(e),i=this.getProcessor(),o=!!(this.subtable.coverage&t0e);return n.process(this.glyphs,o,i)}getStateMachine(e){return new YTt(e.table.stateTable)}getProcessor(){switch(this.subtable.type){case 0:return this.processIndicRearragement;case 1:return this.processContextualSubstitution;case 2:return this.processLigature;case 4:return this.processNoncontextualSubstitutions;case 5:return this.processGlyphInsertion;default:throw new Error(`Invalid morx subtable type: ${this.subtable.type}`)}}processIndicRearragement(e,r,n){r.flags&JTt&&(this.firstGlyph=n),r.flags&ZTt&&(this.lastGlyph=n),uLt(this.glyphs,r.flags&eLt,this.firstGlyph,this.lastGlyph)}processContextualSubstitution(e,r,n){let i=this.subtable.table.substitutionTable.items;if(r.markIndex!==65535){let s=i.getItem(r.markIndex),a=new w5(s);e=this.glyphs[this.markedGlyph];var o=a.lookup(e.id);o&&(this.glyphs[this.markedGlyph]=this.font.getGlyph(o,e.codePoints))}if(r.currentIndex!==65535){let s=i.getItem(r.currentIndex),a=new w5(s);e=this.glyphs[n];var o=a.lookup(e.id);o&&(this.glyphs[n]=this.font.getGlyph(o,e.codePoints))}r.flags&e0e&&(this.markedGlyph=n)}processLigature(e,r,n){if(r.flags&tLt&&this.ligatureStack.push(n),r.flags&rLt){let i=this.subtable.table.ligatureActions,o=this.subtable.table.components,s=this.subtable.table.ligatureList,a=r.action,l=!1,c=0,u=[],f=[];for(;!l;){let d=this.ligatureStack.pop();u.unshift(...this.glyphs[d].codePoints);let p=i.getItem(a++);l=!!(p&nLt);let h=!!(p&iLt),A=(p&oLt)<<2>>2;A+=this.glyphs[d].id;let g=o.getItem(A);if(c+=g,l||h){let m=s.getItem(c);this.glyphs[d]=this.font.getGlyph(m,u),f.push(d),c=0,u=[]}else this.glyphs[d]=this.font.getGlyph(65535)}this.ligatureStack.push(...f)}}processNoncontextualSubstitutions(e,r,n){let i=new w5(e.table.lookupTable);for(n=0;n<r.length;n++){let o=r[n];if(o.id!==65535){let s=i.lookup(o.id);s&&(r[n]=this.font.getGlyph(s,o.codePoints))}}}_insertGlyphs(e,r,n,i){let o=[];for(;n--;){let s=this.subtable.table.insertionActions.getItem(r++);o.push(this.font.getGlyph(s))}i||e++,this.glyphs.splice(e,0,...o)}processGlyphInsertion(e,r,n){if(r.flags&e0e&&(this.markedIndex=n),r.markedInsertIndex!==65535){let i=(r.flags&cLt)>>>5,o=!!(r.flags&aLt);this._insertGlyphs(this.markedIndex,r.markedInsertIndex,i,o)}if(r.currentInsertIndex!==65535){let i=(r.flags&lLt)>>>5,o=!!(r.flags&sLt);this._insertGlyphs(n,r.currentInsertIndex,i,o)}}getSupportedFeatures(){let e=[];for(let r of this.morx.chains)for(let n of r.features)e.push([n.featureType,n.featureSetting]);return e}generateInputs(e){return this.inputCache||this.generateInputCache(),this.inputCache[e]||[]}generateInputCache(){this.inputCache={};for(let e of this.morx.chains){let r=e.defaultFlags;for(let n of e.subtables)n.subFeatureFlags&r&&this.generateInputsForSubtable(n)}}generateInputsForSubtable(e){if(e.type!==2)return;if(!!(e.coverage&t0e))throw new Error("Reverse subtable, not supported.");this.subtable=e,this.ligatureStack=[];let n=this.getStateMachine(e),i=this.getProcessor(),o=[],s=[];this.glyphs=[],n.traverse({enter:(a,l)=>{let c=this.glyphs;s.push({glyphs:c.slice(),ligatureStack:this.ligatureStack.slice()});let u=this.font.getGlyph(a);o.push(u),c.push(o[o.length-1]),i(c[c.length-1],l,c.length-1);let f=0,d=0;for(let p=0;p<c.length&&f<=1;p++)c[p].id!==65535&&(f++,d=c[p].id);if(f===1){let p=o.map(A=>A.id),h=this.inputCache[d];h?h.push(p):this.inputCache[d]=[p]}},exit:()=>{({glyphs:this.glyphs,ligatureStack:this.ligatureStack}=s.pop()),o.pop()}})}constructor(e){this.processIndicRearragement=this.processIndicRearragement.bind(this),this.processContextualSubstitution=this.processContextualSubstitution.bind(this),this.processLigature=this.processLigature.bind(this),this.processNoncontextualSubstitutions=this.processNoncontextualSubstitutions.bind(this),this.processGlyphInsertion=this.processGlyphInsertion.bind(this),this.font=e,this.morx=e.morx,this.inputCache=null}}Ea([Da],zke.prototype,"getStateMachine",null);function al(t,e,r,n=!1,i=!1){let o=t.splice(r[0]-(r[1]-1),r[1]);i&&o.reverse();let s=t.splice(e[0],e[1],...o);return n&&s.reverse(),t.splice(r[0]-(e[1]-1),0,...s),t}function uLt(t,e,r,n){switch(e){case 0:return t;case 1:return al(t,[r,1],[n,0]);case 2:return al(t,[r,0],[n,1]);case 3:return al(t,[r,1],[n,1]);case 4:return al(t,[r,2],[n,0]);case 5:return al(t,[r,2],[n,0],!0,!1);case 6:return al(t,[r,0],[n,2]);case 7:return al(t,[r,0],[n,2],!1,!0);case 8:return al(t,[r,1],[n,2]);case 9:return al(t,[r,1],[n,2],!1,!0);case 10:return al(t,[r,2],[n,1]);case 11:return al(t,[r,2],[n,1],!0,!1);case 12:return al(t,[r,2],[n,2]);case 13:return al(t,[r,2],[n,2],!0,!1);case 14:return al(t,[r,2],[n,2],!1,!0);case 15:return al(t,[r,2],[n,2],!0,!0);default:throw new Error(`Unknown verb: ${e}`)}}class fLt{substitute(e){e.direction==="rtl"&&e.glyphs.reverse(),this.morxProcessor.process(e.glyphs,zTt(e.features))}getAvailableFeatures(e,r){return KTt(this.morxProcessor.getSupportedFeatures())}stringsForGlyph(e){let r=this.morxProcessor.generateInputs(e),n=new Set;for(let i of r)this._addStrings(i,0,n,"");return n}_addStrings(e,r,n,i){let o=this.font._cmapProcessor.codePointsForGlyph(e[r]);for(let s of o){let a=i+String.fromCodePoint(s);r<e.length-1?this._addStrings(e,r+1,n,a):n.add(a)}}constructor(e){this.font=e,this.morxProcessor=new zke(e),this.fallbackPosition=!1}}class dLt{_addFeatures(e,r){let n=this.stages.length-1,i=this.stages[n];for(let o of e)this.allFeatures[o]==null&&(i.push(o),this.allFeatures[o]=n,r&&(this.globalFeatures[o]=!0))}add(e,r=!0){if(this.stages.length===0&&this.stages.push([]),typeof e=="string"&&(e=[e]),Array.isArray(e))this._addFeatures(e,r);else if(typeof e=="object")this._addFeatures(e.global||[],!0),this._addFeatures(e.local||[],!1);else throw new Error("Unsupported argument to ShapingPlan#add")}addStage(e,r){typeof e=="function"?this.stages.push(e,[]):(this.stages.push([]),this.add(e,r))}setFeatureOverrides(e){if(Array.isArray(e))this.add(e);else if(typeof e=="object"){for(let r in e)if(e[r])this.add(r);else if(this.allFeatures[r]!=null){let n=this.stages[this.allFeatures[r]];n.splice(n.indexOf(r),1),delete this.allFeatures[r],delete this.globalFeatures[r]}}}assignGlobalFeatures(e){for(let r of e)for(let n in this.globalFeatures)r.features[n]=!0}process(e,r,n){for(let i of this.stages)typeof i=="function"?n||i(this.font,r,this):i.length>0&&e.applyFeatures(i,r,n)}constructor(e,r,n){this.font=e,this.script=r,this.direction=n,this.stages=[],this.globalFeatures={},this.allFeatures={}}}const pLt=["rvrn"],ALt=["ccmp","locl","rlig","mark","mkmk"],hLt=["frac","numr","dnom"],mLt=["calt","clig","liga","rclt","curs","kern"],gLt={ltr:["ltra","ltrm"],rtl:["rtla","rtlm"]};class Sm{static plan(e,r,n){this.planPreprocessing(e),this.planFeatures(e),this.planPostprocessing(e,n),e.assignGlobalFeatures(r),this.assignFeatures(e,r)}static planPreprocessing(e){e.add({global:[...pLt,...gLt[e.direction]],local:hLt})}static planFeatures(e){}static planPostprocessing(e,r){e.add([...ALt,...mLt]),e.setFeatureOverrides(r)}static assignFeatures(e,r){for(let n=0;n<r.length;n++){let i=r[n];if(i.codePoints[0]===8260){let o=n,s=n+1;for(;o>0&&whe(r[o-1].codePoints[0]);)r[o-1].features.numr=!0,r[o-1].features.frac=!0,o--;for(;s<r.length&&whe(r[s].codePoints[0]);)r[s].features.dnom=!0,r[s].features.frac=!0,s++;i.features.frac=!0,n=s-1}}}}dc(Sm,"zeroMarkWidths","AFTER_GPOS");const vLt=new fN(lee("APABAAAAAAAAOAAAAf0BAv7tmi1MxDAUx7vtvjhAgcDgkEgEAnmXEBIMCYaEcygEiqBQ4FAkCE4ikUgMiiBJSAgSiUQSDMn9L9eSl6bddddug9t7yS/trevre+3r27pcNxZiG+yCfdCVv/9LeQxOwRm4AJegD27ALbgD9+ABPJF+z+BN/h7yDj5k/VOWX6SdmU5+wLWknggxDxaS8u0qiiX4uiz9XamQ3wzDMAzDMAzDMAzDVI/h959V/v7BMAzDMAzDMLlyNTNiMSdewVxbiA44B4/guz1qW58VYlMI0WsJ0W+N6kXw0spvPtdwhtkwnGM6uLaV4Xyzg3v3PM9DPfQ/sOg4xPWjipy31P8LTqbU304c/cLCUmWJLNB2Uz2U1KTeRKNmKHVMfbJC+/0loTZRH/W5cvEvBJPMbREkWt3FD1NcqXZBSpuE2Ad0PBehPtNrPtIEdYP+hiRt/V1jIiE69X4NT/uVZI3PUHE9bm5M7ePGdZWy951v7Nn6j8v1WWKP3mt6ttnsigx6VN7Vc0VomSSGqW2mGNP1muZPl7LfjNUaKNFtDGVf2fvE9O7VlBS5j333c5p/eeoOqcs1R/hIqDWLJ7TTlksirVT1SI7l8k4Yp+g3jafGcrU1RM6l9th80XOpnlN97bDNY4i4s61B0Si/ipa0uHMl6zqEjlFfCZm/TM8KmzQDjmuTAQ==")),r0e=["isol","fina","fin2","fin3","medi","med2","init"],aG={Non_Joining:0,Left_Joining:1,Right_Joining:2,Dual_Joining:3,Join_Causing:3,ALAPH:4,"DALATH RISH":5,Transparent:6},Ui="isol",Jh="fina",pj="fin2",yLt="fin3",v8="medi",y8="med2",B8="init",zn=null,BLt=[[[zn,zn,0],[zn,Ui,2],[zn,Ui,1],[zn,Ui,2],[zn,Ui,1],[zn,Ui,6]],[[zn,zn,0],[zn,Ui,2],[zn,Ui,1],[zn,Ui,2],[zn,pj,5],[zn,Ui,6]],[[zn,zn,0],[zn,Ui,2],[B8,Jh,1],[B8,Jh,3],[B8,Jh,4],[B8,Jh,6]],[[zn,zn,0],[zn,Ui,2],[v8,Jh,1],[v8,Jh,3],[v8,Jh,4],[v8,Jh,6]],[[zn,zn,0],[zn,Ui,2],[y8,Ui,1],[y8,Ui,2],[y8,pj,5],[y8,Ui,6]],[[zn,zn,0],[zn,Ui,2],[Ui,Ui,1],[Ui,Ui,2],[Ui,pj,5],[Ui,Ui,6]],[[zn,zn,0],[zn,Ui,2],[zn,Ui,1],[zn,Ui,2],[zn,yLt,5],[zn,Ui,6]]];class Zh extends Sm{static planFeatures(e){e.add(["ccmp","locl"]);for(let r=0;r<r0e.length;r++){let n=r0e[r];e.addStage(n,!1)}e.addStage("mset")}static assignFeatures(e,r){super.assignFeatures(e,r);let n=-1,i=0,o=[];for(let a=0;a<r.length;a++){let l,c;var s=r[a];let u=CLt(s.codePoints[0]);if(u===aG.Transparent){o[a]=zn;continue}[c,l,i]=BLt[i][u],c!==zn&&n!==-1&&(o[n]=c),o[a]=l,n=a}for(let a=0;a<r.length;a++){let l;var s=r[a];(l=o[a])&&(s.features[l]=!0)}}}function CLt(t){let e=vLt.get(t);if(e)return e-1;let r=pN(t);return r==="Mn"||r==="Me"||r==="Cf"?aG.Transparent:aG.Non_Joining}class bLt{reset(e={},r=0){this.options=e,this.flags=e.flags||{},this.markAttachmentType=e.markAttachmentType||0,this.index=r}get cur(){return this.glyphs[this.index]||null}shouldIgnore(e){return this.flags.ignoreMarks&&e.isMark||this.flags.ignoreBaseGlyphs&&e.isBase||this.flags.ignoreLigatures&&e.isLigature||this.markAttachmentType&&e.isMark&&e.markAttachmentType!==this.markAttachmentType}move(e){for(this.index+=e;0<=this.index&&this.index<this.glyphs.length&&this.shouldIgnore(this.glyphs[this.index]);)this.index+=e;return 0>this.index||this.index>=this.glyphs.length?null:this.glyphs[this.index]}next(){return this.move(1)}prev(){return this.move(-1)}peek(e=1){let r=this.index,n=this.increment(e);return this.index=r,n}peekIndex(e=1){let r=this.index;this.increment(e);let n=this.index;return this.index=r,n}increment(e=1){let r=e<0?-1:1;for(e=Math.abs(e);e--;)this.move(r);return this.glyphs[this.index]}constructor(e,r){this.glyphs=e,this.reset(r)}}const wLt=["DFLT","dflt","latn"];class uO{findScript(e){if(this.table.scriptList==null)return null;Array.isArray(e)||(e=[e]);for(let r of e)for(let n of this.table.scriptList)if(n.tag===r)return n;return null}selectScript(e,r,n){let i=!1,o;if(!this.script||e!==this.scriptTag){if(o=this.findScript(e),o||(o=this.findScript(wLt)),!o)return this.scriptTag;this.scriptTag=o.tag,this.script=o.script,this.language=null,this.languageTag=null,i=!0}if((!n||n!==this.direction)&&(this.direction=n||Wke(e)),r&&r.length<4&&(r+=" ".repeat(4-r.length)),!r||r!==this.languageTag){this.language=null;for(let s of this.script.langSysRecords)if(s.tag===r){this.language=s.langSys,this.languageTag=s.tag;break}this.language||(this.language=this.script.defaultLangSys,this.languageTag=null),i=!0}if(i&&(this.features={},this.language))for(let s of this.language.featureIndexes){let a=this.table.featureList[s],l=this.substituteFeatureForVariations(s);this.features[a.tag]=l||a.feature}return this.scriptTag}lookupsForFeatures(e=[],r){let n=[];for(let i of e){let o=this.features[i];if(o)for(let s of o.lookupListIndexes)r&&r.indexOf(s)!==-1||n.push({feature:i,index:s,lookup:this.table.lookupList.get(s)})}return n.sort((i,o)=>i.index-o.index),n}substituteFeatureForVariations(e){if(this.variationsIndex===-1)return null;let n=this.table.featureVariations.featureVariationRecords[this.variationsIndex].featureTableSubstitution.substitutions;for(let i of n)if(i.featureIndex===e)return i.alternateFeatureTable;return null}findVariationsIndex(e){let r=this.table.featureVariations;if(!r)return-1;let n=r.featureVariationRecords;for(let i=0;i<n.length;i++){let o=n[i].conditionSet.conditionTable;if(this.variationConditionsMatch(o,e))return i}return-1}variationConditionsMatch(e,r){return e.every(n=>{let i=n.axisIndex<r.length?r[n.axisIndex]:0;return n.filterRangeMinValue<=i&&i<=n.filterRangeMaxValue})}applyFeatures(e,r,n){let i=this.lookupsForFeatures(e);this.applyLookups(i,r,n)}applyLookups(e,r,n){this.glyphs=r,this.positions=n,this.glyphIterator=new bLt(r);for(let{feature:i,lookup:o}of e)for(this.currentFeature=i,this.glyphIterator.reset(o.flags);this.glyphIterator.index<r.length;){if(!(i in this.glyphIterator.cur.features)){this.glyphIterator.next();continue}for(let s of o.subTables)if(this.applyLookup(o.lookupType,s))break;this.glyphIterator.next()}}applyLookup(e,r){throw new Error("applyLookup must be implemented by subclasses")}applyLookupList(e){let r=this.glyphIterator.options,n=this.glyphIterator.index;for(let i of e){this.glyphIterator.reset(r,n),this.glyphIterator.increment(i.sequenceIndex);let o=this.table.lookupList.get(i.lookupListIndex);this.glyphIterator.reset(o.flags,this.glyphIterator.index);for(let s of o.subTables)if(this.applyLookup(o.lookupType,s))break}return this.glyphIterator.reset(r,n),!0}coverageIndex(e,r){switch(r==null&&(r=this.glyphIterator.cur.id),e.version){case 1:return e.glyphs.indexOf(r);case 2:for(let n of e.rangeRecords)if(n.start<=r&&r<=n.end)return n.startCoverageIndex+r-n.start;break}return-1}match(e,r,n,i){let o=this.glyphIterator.index,s=this.glyphIterator.increment(e),a=0;for(;a<r.length&&s&&n(r[a],s);)i&&i.push(this.glyphIterator.index),a++,s=this.glyphIterator.next();return this.glyphIterator.index=o,a<r.length?!1:i||!0}sequenceMatches(e,r){return this.match(e,r,(n,i)=>n===i.id)}sequenceMatchIndices(e,r){return this.match(e,r,(n,i)=>this.currentFeature in i.features?n===i.id:!1,[])}coverageSequenceMatches(e,r){return this.match(e,r,(n,i)=>this.coverageIndex(n,i.id)>=0)}getClassID(e,r){switch(r.version){case 1:let n=e-r.startGlyph;if(n>=0&&n<r.classValueArray.length)return r.classValueArray[n];break;case 2:for(let i of r.classRangeRecord)if(i.start<=e&&e<=i.end)return i.class;break}return 0}classSequenceMatches(e,r,n){return this.match(e,r,(i,o)=>i===this.getClassID(o.id,n))}applyContext(e){let r,n;switch(e.version){case 1:if(r=this.coverageIndex(e.coverage),r===-1)return!1;n=e.ruleSets[r];for(let i of n)if(this.sequenceMatches(1,i.input))return this.applyLookupList(i.lookupRecords);break;case 2:if(this.coverageIndex(e.coverage)===-1||(r=this.getClassID(this.glyphIterator.cur.id,e.classDef),r===-1))return!1;n=e.classSet[r];for(let i of n)if(this.classSequenceMatches(1,i.classes,e.classDef))return this.applyLookupList(i.lookupRecords);break;case 3:if(this.coverageSequenceMatches(0,e.coverages))return this.applyLookupList(e.lookupRecords);break}return!1}applyChainingContext(e){let r;switch(e.version){case 1:if(r=this.coverageIndex(e.coverage),r===-1)return!1;let n=e.chainRuleSets[r];for(let o of n)if(this.sequenceMatches(-o.backtrack.length,o.backtrack)&&this.sequenceMatches(1,o.input)&&this.sequenceMatches(1+o.input.length,o.lookahead))return this.applyLookupList(o.lookupRecords);break;case 2:if(this.coverageIndex(e.coverage)===-1)return!1;r=this.getClassID(this.glyphIterator.cur.id,e.inputClassDef);let i=e.chainClassSet[r];if(!i)return!1;for(let o of i)if(this.classSequenceMatches(-o.backtrack.length,o.backtrack,e.backtrackClassDef)&&this.classSequenceMatches(1,o.input,e.inputClassDef)&&this.classSequenceMatches(1+o.input.length,o.lookahead,e.lookaheadClassDef))return this.applyLookupList(o.lookupRecords);break;case 3:if(this.coverageSequenceMatches(-e.backtrackGlyphCount,e.backtrackCoverage)&&this.coverageSequenceMatches(0,e.inputCoverage)&&this.coverageSequenceMatches(e.inputGlyphCount,e.lookaheadCoverage))return this.applyLookupList(e.lookupRecords);break}return!1}constructor(e,r){this.font=e,this.table=r,this.script=null,this.scriptTag=null,this.language=null,this.languageTag=null,this.features={},this.lookups={},this.variationsIndex=e._variationProcessor?this.findVariationsIndex(e._variationProcessor.normalizedCoords):-1,this.selectScript(),this.glyphs=[],this.positions=[],this.ligatureID=1,this.currentFeature=null}}class Yf{get id(){return this._id}set id(e){this._id=e,this.substituted=!0;let r=this._font.GDEF;if(r&&r.glyphClassDef){let n=uO.prototype.getClassID(e,r.glyphClassDef);this.isBase=n===1,this.isLigature=n===2,this.isMark=n===3,this.markAttachmentType=r.markAttachClassDef?uO.prototype.getClassID(e,r.markAttachClassDef):0}else this.isMark=this.codePoints.length>0&&this.codePoints.every(hke),this.isBase=!this.isMark,this.isLigature=this.codePoints.length>1,this.markAttachmentType=0}copy(){return new Yf(this._font,this.id,this.codePoints,this.features)}constructor(e,r,n=[],i){if(this._font=e,this.codePoints=n,this.id=r,this.features={},Array.isArray(i))for(let o=0;o<i.length;o++){let s=i[o];this.features[s]=!0}else typeof i=="object"&&Object.assign(this.features,i);this.ligatureID=null,this.ligatureComponent=null,this.isLigated=!1,this.cursiveAttachment=null,this.markAttachment=null,this.shaperInfo=null,this.substituted=!1,this.isMultiplied=!1}}class Kke extends Sm{static planFeatures(e){e.add(["ljmo","vjmo","tjmo"],!1)}static assignFeatures(e,r){let n=0,i=0;for(;i<r.length;){let o,a=r[i].codePoints[0],l=AO(a);switch([o,n]=QLt[n][l],o){case pA:e.font.hasGlyphForCodePoint(a)||(i=Yke(r,i,e.font));break;case lG:i=VLt(r,i,e.font);break;case cG:HLt(r,i,e.font);break;case uG:i=GLt(r,i,e.font);break}i++}}}dc(Kke,"zeroMarkWidths","NONE");const HB=44032,qke=55204,xLt=qke-HB+1,vN=4352,yN=4449,x1=4519,SLt=19,fO=21,q4=28,ELt=vN+SLt-1,DLt=yN+fO-1,kLt=x1+q4-1,n0e=9676,OLt=t=>4352<=t&&t<=4447||43360<=t&&t<=43388,PLt=t=>4448<=t&&t<=4519||55216<=t&&t<=55238,ILt=t=>4520<=t&&t<=4607||55243<=t&&t<=55291,NLt=t=>12334<=t&&t<=12335,FLt=t=>HB<=t&&t<=qke,TLt=t=>t-HB<xLt&&(t-HB)%q4===0,LLt=t=>vN<=t&&t<=ELt,RLt=t=>yN<=t&&t<=DLt,MLt=t=>1<=t&&t<=kLt,_Lt=0,jLt=1,dO=2,uee=3,pO=4,Xke=5,ULt=6;function AO(t){return OLt(t)?jLt:PLt(t)?dO:ILt(t)?uee:TLt(t)?pO:FLt(t)?Xke:NLt(t)?ULt:_Lt}const Ul=0,pA=1,lG=2,cG=4,uG=5,QLt=[[[Ul,0],[Ul,1],[Ul,0],[Ul,0],[pA,2],[pA,3],[uG,0]],[[Ul,0],[Ul,1],[lG,2],[Ul,0],[pA,2],[pA,3],[uG,0]],[[Ul,0],[Ul,1],[Ul,0],[lG,3],[pA,2],[pA,3],[cG,0]],[[Ul,0],[Ul,1],[Ul,0],[Ul,0],[pA,2],[pA,3],[cG,0]]];function x5(t,e,r){return new Yf(t,t.glyphForCodePoint(e).id,[e],r)}function Yke(t,e,r){let n=t[e],o=n.codePoints[0]-HB,s=x1+o%q4;o=o/q4|0;let a=vN+o/fO|0,l=yN+o%fO;if(!r.hasGlyphForCodePoint(a)||!r.hasGlyphForCodePoint(l)||s!==x1&&!r.hasGlyphForCodePoint(s))return e;let c=x5(r,a,n.features);c.features.ljmo=!0;let u=x5(r,l,n.features);u.features.vjmo=!0;let f=[c,u];if(s>x1){let d=x5(r,s,n.features);d.features.tjmo=!0,f.push(d)}return t.splice(e,1,...f),e+f.length-1}function VLt(t,e,r){let n=t[e],i=t[e].codePoints[0],o=AO(i),s=t[e-1].codePoints[0],a=AO(s),l,c,u,f;if(a===pO&&o===uee)l=s,f=n;else{o===dO?(c=t[e-1],u=n):(c=t[e-2],u=t[e-1],f=n);let p=c.codePoints[0],h=u.codePoints[0];LLt(p)&&RLt(h)&&(l=HB+((p-vN)*fO+(h-yN))*q4)}let d=f&&f.codePoints[0]||x1;if(l!=null&&(d===x1||MLt(d))){let p=l+(d-x1);if(r.hasGlyphForCodePoint(p)){let h=a===dO?3:2;return t.splice(e-h+1,h,x5(r,p,n.features)),e-h+1}}return c&&(c.features.ljmo=!0),u&&(u.features.vjmo=!0),f&&(f.features.tjmo=!0),a===pO?(Yke(t,e-1,r),e+1):e}function $Lt(t){switch(AO(t)){case pO:case Xke:return 1;case dO:return 2;case uee:return 3}}function HLt(t,e,r){let n=t[e],i=t[e].codePoints[0];if(r.glyphForCodePoint(i).advanceWidth===0)return;let o=t[e-1].codePoints[0],s=$Lt(o);return t.splice(e,1),t.splice(e-s,0,n)}function GLt(t,e,r){let n=t[e],i=t[e].codePoints[0];if(r.hasGlyphForCodePoint(n0e)){let o=x5(r,n0e,n.features),s=r.glyphForCodePoint(i).advanceWidth===0?e:e+1;t.splice(s,0,o),e++}return e}var Jke={};Jke=JSON.parse('{"stateTable":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,2,3,4,5,6,7,8,9,0,10,11,11,12,13,14,15,16,17],[0,0,0,18,19,20,21,22,23,0,24,0,0,25,26,0,0,27,0],[0,0,0,28,29,30,31,32,33,0,34,0,0,35,36,0,0,37,0],[0,0,0,38,5,7,7,8,9,0,10,0,0,0,13,0,0,16,0],[0,39,0,0,0,40,41,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,43,44,44,8,9,0,0,0,0,12,43,0,0,0,0],[0,0,0,0,43,44,44,8,9,0,0,0,0,0,43,0,0,0,0],[0,0,0,45,46,47,48,49,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,50,0,0,51,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,52,0,0,0,0,0,0,0,0],[0,0,0,53,54,55,56,57,58,0,59,0,0,60,61,0,0,62,0],[0,0,0,4,5,7,7,8,9,0,10,0,0,0,13,0,0,16,0],[0,63,64,0,0,40,41,0,9,0,10,0,0,0,42,0,63,0,0],[0,2,3,4,5,6,7,8,9,0,10,11,11,12,13,0,2,16,0],[0,0,0,18,65,20,21,22,23,0,24,0,0,25,26,0,0,27,0],[0,0,0,0,66,67,67,8,9,0,10,0,0,0,68,0,0,0,0],[0,0,0,69,0,70,70,0,71,0,72,0,0,0,0,0,0,0,0],[0,0,0,73,19,74,74,22,23,0,24,0,0,0,26,0,0,27,0],[0,75,0,0,0,76,77,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,79,80,80,22,23,0,0,0,0,25,79,0,0,0,0],[0,0,0,18,19,20,74,22,23,0,24,0,0,25,26,0,0,27,0],[0,0,0,81,82,83,84,85,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,86,0,0,87,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,88,0,0,0,0,0,0,0,0],[0,0,0,18,19,74,74,22,23,0,24,0,0,0,26,0,0,27,0],[0,89,90,0,0,76,77,0,23,0,24,0,0,0,78,0,89,0,0],[0,0,0,0,91,92,92,22,23,0,24,0,0,0,93,0,0,0,0],[0,0,0,94,29,95,31,32,33,0,34,0,0,0,36,0,0,37,0],[0,96,0,0,0,97,98,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,100,101,101,32,33,0,0,0,0,35,100,0,0,0,0],[0,0,0,0,100,101,101,32,33,0,0,0,0,0,100,0,0,0,0],[0,0,0,102,103,104,105,106,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,107,0,0,108,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,109,0,0,0,0,0,0,0,0],[0,0,0,28,29,95,31,32,33,0,34,0,0,0,36,0,0,37,0],[0,110,111,0,0,97,98,0,33,0,34,0,0,0,99,0,110,0,0],[0,0,0,0,112,113,113,32,33,0,34,0,0,0,114,0,0,0,0],[0,0,0,0,5,7,7,8,9,0,10,0,0,0,13,0,0,16,0],[0,0,0,115,116,117,118,8,9,0,10,0,0,119,120,0,0,16,0],[0,0,0,0,0,121,121,0,9,0,10,0,0,0,42,0,0,0,0],[0,39,0,122,0,123,123,8,9,0,10,0,0,0,42,0,39,0,0],[0,124,64,0,0,0,0,0,0,0,0,0,0,0,0,0,124,0,0],[0,39,0,0,0,121,125,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,0,126,126,8,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,46,47,48,49,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,47,47,49,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,127,127,49,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,128,127,127,49,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,129,130,131,132,133,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,50,0,0,0,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,134,0,0,0,0,0,0,0,0],[0,0,0,135,54,56,56,57,58,0,59,0,0,0,61,0,0,62,0],[0,136,0,0,0,137,138,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,140,141,141,57,58,0,0,0,0,60,140,0,0,0,0],[0,0,0,0,140,141,141,57,58,0,0,0,0,0,140,0,0,0,0],[0,0,0,142,143,144,145,146,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,147,0,0,148,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,149,0,0,0,0,0,0,0,0],[0,0,0,53,54,56,56,57,58,0,59,0,0,0,61,0,0,62,0],[0,150,151,0,0,137,138,0,58,0,59,0,0,0,139,0,150,0,0],[0,0,0,0,152,153,153,57,58,0,59,0,0,0,154,0,0,0,0],[0,0,0,155,116,156,157,8,9,0,10,0,0,158,120,0,0,16,0],[0,0,0,0,0,121,121,0,9,0,10,0,0,0,0,0,0,0,0],[0,75,3,4,5,159,160,8,161,0,162,0,11,12,163,0,75,16,0],[0,0,0,0,0,40,164,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,165,44,44,8,9,0,0,0,0,0,165,0,0,0,0],[0,124,64,0,0,40,164,0,9,0,10,0,0,0,42,0,124,0,0],[0,0,0,0,0,70,70,0,71,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,71,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,166,0,0,167,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,168,0,0,0,0,0,0,0,0],[0,0,0,0,19,74,74,22,23,0,24,0,0,0,26,0,0,27,0],[0,0,0,0,79,80,80,22,23,0,0,0,0,0,79,0,0,0,0],[0,0,0,169,170,171,172,22,23,0,24,0,0,173,174,0,0,27,0],[0,0,0,0,0,175,175,0,23,0,24,0,0,0,78,0,0,0,0],[0,75,0,176,0,177,177,22,23,0,24,0,0,0,78,0,75,0,0],[0,178,90,0,0,0,0,0,0,0,0,0,0,0,0,0,178,0,0],[0,75,0,0,0,175,179,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,0,180,180,22,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,82,83,84,85,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,83,83,85,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,181,181,85,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,182,181,181,85,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,183,184,185,186,187,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,86,0,0,0,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,188,0,0,0,0,0,0,0,0],[0,0,0,189,170,190,191,22,23,0,24,0,0,192,174,0,0,27,0],[0,0,0,0,0,175,175,0,23,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,76,193,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,194,80,80,22,23,0,0,0,0,0,194,0,0,0,0],[0,178,90,0,0,76,193,0,23,0,24,0,0,0,78,0,178,0,0],[0,0,0,0,29,95,31,32,33,0,34,0,0,0,36,0,0,37,0],[0,0,0,0,100,101,101,32,33,0,0,0,0,0,100,0,0,0,0],[0,0,0,195,196,197,198,32,33,0,34,0,0,199,200,0,0,37,0],[0,0,0,0,0,201,201,0,33,0,34,0,0,0,99,0,0,0,0],[0,96,0,202,0,203,203,32,33,0,34,0,0,0,99,0,96,0,0],[0,204,111,0,0,0,0,0,0,0,0,0,0,0,0,0,204,0,0],[0,96,0,0,0,201,205,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,0,206,206,32,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,103,104,105,106,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,104,104,106,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,207,207,106,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,208,207,207,106,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,209,210,211,212,213,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,107,0,0,0,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,214,0,0,0,0,0,0,0,0],[0,0,0,215,196,216,217,32,33,0,34,0,0,218,200,0,0,37,0],[0,0,0,0,0,201,201,0,33,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,97,219,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,220,101,101,32,33,0,0,0,0,0,220,0,0,0,0],[0,204,111,0,0,97,219,0,33,0,34,0,0,0,99,0,204,0,0],[0,0,0,221,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,223,0,0,0,40,224,0,9,0,10,0,0,0,42,0,223,0,0],[0,0,0,0,225,44,44,8,9,0,0,0,0,119,225,0,0,0,0],[0,0,0,115,116,117,222,8,9,0,10,0,0,119,120,0,0,16,0],[0,0,0,115,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,226,64,0,0,40,224,0,9,0,10,0,0,0,42,0,226,0,0],[0,0,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0],[0,39,0,0,0,121,121,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,0,44,44,8,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,227,0,228,229,0,9,0,10,0,0,230,0,0,0,0,0],[0,39,0,122,0,121,121,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,231,231,49,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,232,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,130,131,132,133,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,131,131,133,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,233,233,133,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,234,233,233,133,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,235,236,237,238,239,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,54,56,56,57,58,0,59,0,0,0,61,0,0,62,0],[0,0,0,240,241,242,243,57,58,0,59,0,0,244,245,0,0,62,0],[0,0,0,0,0,246,246,0,58,0,59,0,0,0,139,0,0,0,0],[0,136,0,247,0,248,248,57,58,0,59,0,0,0,139,0,136,0,0],[0,249,151,0,0,0,0,0,0,0,0,0,0,0,0,0,249,0,0],[0,136,0,0,0,246,250,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,0,251,251,57,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,143,144,145,146,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,144,144,146,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,252,252,146,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,253,252,252,146,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,254,255,256,257,258,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,147,0,0,0,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,259,0,0,0,0,0,0,0,0],[0,0,0,260,241,261,262,57,58,0,59,0,0,263,245,0,0,62,0],[0,0,0,0,0,246,246,0,58,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,137,264,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,265,141,141,57,58,0,0,0,0,0,265,0,0,0,0],[0,249,151,0,0,137,264,0,58,0,59,0,0,0,139,0,249,0,0],[0,0,0,221,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,9,0,0,0,0,158,225,0,0,0,0],[0,0,0,155,116,156,222,8,9,0,10,0,0,158,120,0,0,16,0],[0,0,0,155,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,0,0,0,43,266,266,8,161,0,24,0,0,12,267,0,0,0,0],[0,75,0,176,43,268,268,269,161,0,24,0,0,0,267,0,75,0,0],[0,0,0,0,0,270,0,0,271,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,272,0,0,0,0,0,0,0,0],[0,273,274,0,0,40,41,0,9,0,10,0,0,0,42,0,273,0,0],[0,0,0,40,0,123,123,8,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,121,275,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,166,0,0,0,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,276,0,0,0,0,0,0,0,0],[0,0,0,277,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,279,0,0,0,76,280,0,23,0,24,0,0,0,78,0,279,0,0],[0,0,0,0,281,80,80,22,23,0,0,0,0,173,281,0,0,0,0],[0,0,0,169,170,171,278,22,23,0,24,0,0,173,174,0,0,27,0],[0,0,0,169,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,282,90,0,0,76,280,0,23,0,24,0,0,0,78,0,282,0,0],[0,0,0,0,0,0,0,0,23,0,0,0,0,0,0,0,0,0,0],[0,75,0,0,0,175,175,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,0,80,80,22,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,283,0,284,285,0,23,0,24,0,0,286,0,0,0,0,0],[0,75,0,176,0,175,175,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,0,0,0,22,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,287,287,85,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,288,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,184,185,186,187,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,185,185,187,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,289,289,187,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,290,289,289,187,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,291,292,293,294,295,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,277,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,0,0,0,281,80,80,22,23,0,0,0,0,192,281,0,0,0,0],[0,0,0,189,170,190,278,22,23,0,24,0,0,192,174,0,0,27,0],[0,0,0,189,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,0,0,76,0,177,177,22,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,175,296,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,297,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,299,0,0,0,97,300,0,33,0,34,0,0,0,99,0,299,0,0],[0,0,0,0,301,101,101,32,33,0,0,0,0,199,301,0,0,0,0],[0,0,0,195,196,197,298,32,33,0,34,0,0,199,200,0,0,37,0],[0,0,0,195,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,302,111,0,0,97,300,0,33,0,34,0,0,0,99,0,302,0,0],[0,0,0,0,0,0,0,0,33,0,0,0,0,0,0,0,0,0,0],[0,96,0,0,0,201,201,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,0,101,101,32,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,303,0,304,305,0,33,0,34,0,0,306,0,0,0,0,0],[0,96,0,202,0,201,201,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,307,307,106,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,308,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,210,211,212,213,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,211,211,213,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,309,309,213,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,310,309,309,213,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,311,312,313,314,315,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,297,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,0,0,0,301,101,101,32,33,0,0,0,0,218,301,0,0,0,0],[0,0,0,215,196,216,298,32,33,0,34,0,0,218,200,0,0,37,0],[0,0,0,215,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,0,0,97,0,203,203,32,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,201,316,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,9,0,0,0,0,0,225,0,0,0,0],[0,0,0,317,318,319,320,8,9,0,10,0,0,321,322,0,0,16,0],[0,223,0,323,0,123,123,8,9,0,10,0,0,0,42,0,223,0,0],[0,223,0,0,0,121,324,0,9,0,10,0,0,0,42,0,223,0,0],[0,0,0,325,318,326,327,8,9,0,10,0,0,328,322,0,0,16,0],[0,0,0,64,0,121,121,0,9,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,9,0,0,0,0,230,0,0,0,0,0],[0,0,0,227,0,228,121,0,9,0,10,0,0,230,0,0,0,0,0],[0,0,0,227,0,121,121,0,9,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,49,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,46,0,0],[0,0,0,0,0,329,329,133,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,330,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,236,237,238,239,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,237,237,239,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,331,331,239,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,332,331,331,239,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,333,40,121,334,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,335,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,337,0,0,0,137,338,0,58,0,59,0,0,0,139,0,337,0,0],[0,0,0,0,339,141,141,57,58,0,0,0,0,244,339,0,0,0,0],[0,0,0,240,241,242,336,57,58,0,59,0,0,244,245,0,0,62,0],[0,0,0,240,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,340,151,0,0,137,338,0,58,0,59,0,0,0,139,0,340,0,0],[0,0,0,0,0,0,0,0,58,0,0,0,0,0,0,0,0,0,0],[0,136,0,0,0,246,246,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,0,141,141,57,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,341,0,342,343,0,58,0,59,0,0,344,0,0,0,0,0],[0,136,0,247,0,246,246,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,0,0,0,57,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,345,345,146,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,346,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,255,256,257,258,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,256,256,258,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,347,347,258,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,348,347,347,258,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,349,350,351,352,353,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,335,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,0,0,0,339,141,141,57,58,0,0,0,0,263,339,0,0,0,0],[0,0,0,260,241,261,336,57,58,0,59,0,0,263,245,0,0,62,0],[0,0,0,260,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,0,0,137,0,248,248,57,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,246,354,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,126,126,8,23,0,0,0,0,0,0,0,0,0,0],[0,355,90,0,0,121,125,0,9,0,10,0,0,0,42,0,355,0,0],[0,0,0,0,0,356,356,269,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,357,358,359,360,361,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,270,0,0,0,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,363,0,0,0,0,0,0,0,0],[0,0,0,364,116,365,366,8,161,0,162,0,0,367,120,0,0,16,0],[0,0,0,0,0,368,368,0,161,0,162,0,0,0,0,0,0,0,0],[0,0,0,40,0,121,121,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,0,0,0,281,80,80,22,23,0,0,0,0,0,281,0,0,0,0],[0,0,0,369,370,371,372,22,23,0,24,0,0,373,374,0,0,27,0],[0,279,0,375,0,177,177,22,23,0,24,0,0,0,78,0,279,0,0],[0,279,0,0,0,175,376,0,23,0,24,0,0,0,78,0,279,0,0],[0,0,0,377,370,378,379,22,23,0,24,0,0,380,374,0,0,27,0],[0,0,0,90,0,175,175,0,23,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,23,0,0,0,0,286,0,0,0,0,0],[0,0,0,283,0,284,175,0,23,0,24,0,0,286,0,0,0,0,0],[0,0,0,283,0,175,175,0,23,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,85,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,82,0,0],[0,0,0,0,0,381,381,187,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,382,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,292,293,294,295,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,293,293,295,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,383,383,295,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,384,383,383,295,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,385,76,175,386,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,76,0,175,175,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,0,0,0,301,101,101,32,33,0,0,0,0,0,301,0,0,0,0],[0,0,0,387,388,389,390,32,33,0,34,0,0,391,392,0,0,37,0],[0,299,0,393,0,203,203,32,33,0,34,0,0,0,99,0,299,0,0],[0,299,0,0,0,201,394,0,33,0,34,0,0,0,99,0,299,0,0],[0,0,0,395,388,396,397,32,33,0,34,0,0,398,392,0,0,37,0],[0,0,0,111,0,201,201,0,33,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,33,0,0,0,0,306,0,0,0,0,0],[0,0,0,303,0,304,201,0,33,0,34,0,0,306,0,0,0,0,0],[0,0,0,303,0,201,201,0,33,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,106,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,103,0,0],[0,0,0,0,0,399,399,213,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,400,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,312,313,314,315,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,313,313,315,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,401,401,315,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,402,401,401,315,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,403,97,201,404,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,97,0,201,201,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,405,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,407,0,0,0,40,408,0,9,0,10,0,0,0,42,0,407,0,0],[0,0,0,0,409,44,44,8,9,0,0,0,0,321,409,0,0,0,0],[0,0,0,317,318,319,406,8,9,0,10,0,0,321,322,0,0,16,0],[0,0,0,317,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,410,64,0,0,40,408,0,9,0,10,0,0,0,42,0,410,0,0],[0,223,0,0,0,121,121,0,9,0,10,0,0,0,42,0,223,0,0],[0,223,0,323,0,121,121,0,9,0,10,0,0,0,42,0,223,0,0],[0,0,0,405,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,0,0,0,409,44,44,8,9,0,0,0,0,328,409,0,0,0,0],[0,0,0,325,318,326,406,8,9,0,10,0,0,328,322,0,0,16,0],[0,0,0,325,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,0,0,0,0,0,0,133,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,130,0,0],[0,0,0,0,0,411,411,239,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,412,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,40,121,334,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,413,0,0,0,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,0,0,0,339,141,141,57,58,0,0,0,0,0,339,0,0,0,0],[0,0,0,414,415,416,417,57,58,0,59,0,0,418,419,0,0,62,0],[0,337,0,420,0,248,248,57,58,0,59,0,0,0,139,0,337,0,0],[0,337,0,0,0,246,421,0,58,0,59,0,0,0,139,0,337,0,0],[0,0,0,422,415,423,424,57,58,0,59,0,0,425,419,0,0,62,0],[0,0,0,151,0,246,246,0,58,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,58,0,0,0,0,344,0,0,0,0,0],[0,0,0,341,0,342,246,0,58,0,59,0,0,344,0,0,0,0,0],[0,0,0,341,0,246,246,0,58,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,146,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,143,0,0],[0,0,0,0,0,426,426,258,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,427,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,350,351,352,353,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,351,351,353,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,428,428,353,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,429,428,428,353,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,430,137,246,431,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,137,0,246,246,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,432,116,433,434,8,161,0,162,0,0,435,120,0,0,16,0],[0,0,0,0,0,180,180,269,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,358,359,360,361,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,359,359,361,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,436,436,361,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,437,436,436,361,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,438,439,440,441,442,161,0,162,0,0,0,362,0,0,0,0],[0,443,274,0,0,0,0,0,0,0,0,0,0,0,0,0,443,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,444,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,161,0,0,0,0,367,225,0,0,0,0],[0,0,0,364,116,365,445,8,161,0,162,0,0,367,120,0,0,16,0],[0,0,0,364,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,0,0,0,0,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,446,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,448,0,0,0,76,449,0,23,0,24,0,0,0,78,0,448,0,0],[0,0,0,0,450,80,80,22,23,0,0,0,0,373,450,0,0,0,0],[0,0,0,369,370,371,447,22,23,0,24,0,0,373,374,0,0,27,0],[0,0,0,369,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,451,90,0,0,76,449,0,23,0,24,0,0,0,78,0,451,0,0],[0,279,0,0,0,175,175,0,23,0,24,0,0,0,78,0,279,0,0],[0,279,0,375,0,175,175,0,23,0,24,0,0,0,78,0,279,0,0],[0,0,0,446,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,0,0,0,450,80,80,22,23,0,0,0,0,380,450,0,0,0,0],[0,0,0,377,370,378,447,22,23,0,24,0,0,380,374,0,0,27,0],[0,0,0,377,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,0,0,0,0,0,0,187,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,184,0,0],[0,0,0,0,0,452,452,295,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,453,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,76,175,386,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,454,0,0,0,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,455,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,457,0,0,0,97,458,0,33,0,34,0,0,0,99,0,457,0,0],[0,0,0,0,459,101,101,32,33,0,0,0,0,391,459,0,0,0,0],[0,0,0,387,388,389,456,32,33,0,34,0,0,391,392,0,0,37,0],[0,0,0,387,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,460,111,0,0,97,458,0,33,0,34,0,0,0,99,0,460,0,0],[0,299,0,0,0,201,201,0,33,0,34,0,0,0,99,0,299,0,0],[0,299,0,393,0,201,201,0,33,0,34,0,0,0,99,0,299,0,0],[0,0,0,455,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,0,0,0,459,101,101,32,33,0,0,0,0,398,459,0,0,0,0],[0,0,0,395,388,396,456,32,33,0,34,0,0,398,392,0,0,37,0],[0,0,0,395,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,0,0,0,0,0,0,213,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,210,0,0],[0,0,0,0,0,461,461,315,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,462,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,97,201,404,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,463,0,0,0,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,0,0,0,409,44,44,8,9,0,0,0,0,0,409,0,0,0,0],[0,0,0,464,465,466,467,8,9,0,10,0,0,468,469,0,0,16,0],[0,407,0,470,0,123,123,8,9,0,10,0,0,0,42,0,407,0,0],[0,407,0,0,0,121,471,0,9,0,10,0,0,0,42,0,407,0,0],[0,0,0,472,465,473,474,8,9,0,10,0,0,475,469,0,0,16,0],[0,0,0,0,0,0,0,239,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,236,0,0],[0,0,0,0,0,0,476,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,477,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,479,0,0,0,137,480,0,58,0,59,0,0,0,139,0,479,0,0],[0,0,0,0,481,141,141,57,58,0,0,0,0,418,481,0,0,0,0],[0,0,0,414,415,416,478,57,58,0,59,0,0,418,419,0,0,62,0],[0,0,0,414,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,482,151,0,0,137,480,0,58,0,59,0,0,0,139,0,482,0,0],[0,337,0,0,0,246,246,0,58,0,59,0,0,0,139,0,337,0,0],[0,337,0,420,0,246,246,0,58,0,59,0,0,0,139,0,337,0,0],[0,0,0,477,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,0,0,0,481,141,141,57,58,0,0,0,0,425,481,0,0,0,0],[0,0,0,422,415,423,478,57,58,0,59,0,0,425,419,0,0,62,0],[0,0,0,422,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,0,0,0,0,0,0,258,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0],[0,0,0,0,0,483,483,353,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,484,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,137,246,431,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,485,0,0,0,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,444,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,161,0,0,0,0,435,225,0,0,0,0],[0,0,0,432,116,433,445,8,161,0,162,0,0,435,120,0,0,16,0],[0,0,0,432,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,0,486,486,361,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,487,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,439,440,441,442,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,440,440,442,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,488,488,442,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,489,488,488,442,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,490,491,492,493,494,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,495,0,496,497,0,161,0,162,0,0,498,0,0,0,0,0],[0,0,0,0,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,161,0,0,0,0,0,225,0,0,0,0],[0,0,0,0,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,0,0,0,450,80,80,22,23,0,0,0,0,0,450,0,0,0,0],[0,0,0,499,500,501,502,22,23,0,24,0,0,503,504,0,0,27,0],[0,448,0,505,0,177,177,22,23,0,24,0,0,0,78,0,448,0,0],[0,448,0,0,0,175,506,0,23,0,24,0,0,0,78,0,448,0,0],[0,0,0,507,500,508,509,22,23,0,24,0,0,510,504,0,0,27,0],[0,0,0,0,0,0,0,295,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,292,0,0],[0,0,0,0,0,0,511,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,0,0,0,459,101,101,32,33,0,0,0,0,0,459,0,0,0,0],[0,0,0,512,513,514,515,32,33,0,34,0,0,516,517,0,0,37,0],[0,457,0,518,0,203,203,32,33,0,34,0,0,0,99,0,457,0,0],[0,457,0,0,0,201,519,0,33,0,34,0,0,0,99,0,457,0,0],[0,0,0,520,513,521,522,32,33,0,34,0,0,523,517,0,0,37,0],[0,0,0,0,0,0,0,315,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,312,0,0],[0,0,0,0,0,0,524,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,525,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,527,0,0,0,40,528,0,9,0,10,0,0,0,42,0,527,0,0],[0,0,0,0,529,44,44,8,9,0,0,0,0,468,529,0,0,0,0],[0,0,0,464,465,466,526,8,9,0,10,0,0,468,469,0,0,16,0],[0,0,0,464,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,530,64,0,0,40,528,0,9,0,10,0,0,0,42,0,530,0,0],[0,407,0,0,0,121,121,0,9,0,10,0,0,0,42,0,407,0,0],[0,407,0,470,0,121,121,0,9,0,10,0,0,0,42,0,407,0,0],[0,0,0,525,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,0,0,0,529,44,44,8,9,0,0,0,0,475,529,0,0,0,0],[0,0,0,472,465,473,526,8,9,0,10,0,0,475,469,0,0,16,0],[0,0,0,472,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,0,0],[0,0,0,0,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,0,0,0,481,141,141,57,58,0,0,0,0,0,481,0,0,0,0],[0,0,0,531,532,533,534,57,58,0,59,0,0,535,536,0,0,62,0],[0,479,0,537,0,248,248,57,58,0,59,0,0,0,139,0,479,0,0],[0,479,0,0,0,246,538,0,58,0,59,0,0,0,139,0,479,0,0],[0,0,0,539,532,540,541,57,58,0,59,0,0,542,536,0,0,62,0],[0,0,0,0,0,0,0,353,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,350,0,0],[0,0,0,0,0,0,543,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,361,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,358,0,0],[0,0,0,0,0,544,544,442,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,545,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,491,492,493,494,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,492,492,494,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,546,546,494,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,547,546,546,494,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,548,549,368,550,0,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,274,0,368,368,0,161,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,161,0,0,0,0,498,0,0,0,0,0],[0,0,0,495,0,496,368,0,161,0,162,0,0,498,0,0,0,0,0],[0,0,0,495,0,368,368,0,161,0,162,0,0,0,0,0,0,0,0],[0,0,0,551,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,553,0,0,0,76,554,0,23,0,24,0,0,0,78,0,553,0,0],[0,0,0,0,555,80,80,22,23,0,0,0,0,503,555,0,0,0,0],[0,0,0,499,500,501,552,22,23,0,24,0,0,503,504,0,0,27,0],[0,0,0,499,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,556,90,0,0,76,554,0,23,0,24,0,0,0,78,0,556,0,0],[0,448,0,0,0,175,175,0,23,0,24,0,0,0,78,0,448,0,0],[0,448,0,505,0,175,175,0,23,0,24,0,0,0,78,0,448,0,0],[0,0,0,551,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,0,0,0,555,80,80,22,23,0,0,0,0,510,555,0,0,0,0],[0,0,0,507,500,508,552,22,23,0,24,0,0,510,504,0,0,27,0],[0,0,0,507,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,76,0,0],[0,0,0,557,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,559,0,0,0,97,560,0,33,0,34,0,0,0,99,0,559,0,0],[0,0,0,0,561,101,101,32,33,0,0,0,0,516,561,0,0,0,0],[0,0,0,512,513,514,558,32,33,0,34,0,0,516,517,0,0,37,0],[0,0,0,512,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,562,111,0,0,97,560,0,33,0,34,0,0,0,99,0,562,0,0],[0,457,0,0,0,201,201,0,33,0,34,0,0,0,99,0,457,0,0],[0,457,0,518,0,201,201,0,33,0,34,0,0,0,99,0,457,0,0],[0,0,0,557,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,0,0,0,561,101,101,32,33,0,0,0,0,523,561,0,0,0,0],[0,0,0,520,513,521,558,32,33,0,34,0,0,523,517,0,0,37,0],[0,0,0,520,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,97,0,0],[0,0,0,0,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,0,0,0,529,44,44,8,9,0,0,0,0,0,529,0,0,0,0],[0,0,0,563,66,564,565,8,9,0,10,0,0,566,68,0,0,16,0],[0,527,0,567,0,123,123,8,9,0,10,0,0,0,42,0,527,0,0],[0,527,0,0,0,121,568,0,9,0,10,0,0,0,42,0,527,0,0],[0,0,0,569,66,570,571,8,9,0,10,0,0,572,68,0,0,16,0],[0,0,0,573,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,575,0,0,0,137,576,0,58,0,59,0,0,0,139,0,575,0,0],[0,0,0,0,577,141,141,57,58,0,0,0,0,535,577,0,0,0,0],[0,0,0,531,532,533,574,57,58,0,59,0,0,535,536,0,0,62,0],[0,0,0,531,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,578,151,0,0,137,576,0,58,0,59,0,0,0,139,0,578,0,0],[0,479,0,0,0,246,246,0,58,0,59,0,0,0,139,0,479,0,0],[0,479,0,537,0,246,246,0,58,0,59,0,0,0,139,0,479,0,0],[0,0,0,573,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,0,0,0,577,141,141,57,58,0,0,0,0,542,577,0,0,0,0],[0,0,0,539,532,540,574,57,58,0,59,0,0,542,536,0,0,62,0],[0,0,0,539,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,137,0,0],[0,0,0,0,0,0,0,442,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,439,0,0],[0,0,0,0,0,579,579,494,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,580,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,549,368,550,0,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,368,368,0,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,581,0,0,0,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,0,0,0,555,80,80,22,23,0,0,0,0,0,555,0,0,0,0],[0,0,0,582,91,583,584,22,23,0,24,0,0,585,93,0,0,27,0],[0,553,0,586,0,177,177,22,23,0,24,0,0,0,78,0,553,0,0],[0,553,0,0,0,175,587,0,23,0,24,0,0,0,78,0,553,0,0],[0,0,0,588,91,589,590,22,23,0,24,0,0,591,93,0,0,27,0],[0,0,0,0,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,0,0,0,561,101,101,32,33,0,0,0,0,0,561,0,0,0,0],[0,0,0,592,112,593,594,32,33,0,34,0,0,595,114,0,0,37,0],[0,559,0,596,0,203,203,32,33,0,34,0,0,0,99,0,559,0,0],[0,559,0,0,0,201,597,0,33,0,34,0,0,0,99,0,559,0,0],[0,0,0,598,112,599,600,32,33,0,34,0,0,601,114,0,0,37,0],[0,0,0,602,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,0,165,44,44,8,9,0,0,0,0,566,165,0,0,0,0],[0,0,0,563,66,564,67,8,9,0,10,0,0,566,68,0,0,16,0],[0,0,0,563,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,527,0,0,0,121,121,0,9,0,10,0,0,0,42,0,527,0,0],[0,527,0,567,0,121,121,0,9,0,10,0,0,0,42,0,527,0,0],[0,0,0,602,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,0,165,44,44,8,9,0,0,0,0,572,165,0,0,0,0],[0,0,0,569,66,570,67,8,9,0,10,0,0,572,68,0,0,16,0],[0,0,0,569,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,0,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,0,0,0,577,141,141,57,58,0,0,0,0,0,577,0,0,0,0],[0,0,0,603,152,604,605,57,58,0,59,0,0,606,154,0,0,62,0],[0,575,0,607,0,248,248,57,58,0,59,0,0,0,139,0,575,0,0],[0,575,0,0,0,246,608,0,58,0,59,0,0,0,139,0,575,0,0],[0,0,0,609,152,610,611,57,58,0,59,0,0,612,154,0,0,62,0],[0,0,0,0,0,0,0,494,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,491,0,0],[0,0,0,0,0,0,613,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,614,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,0,194,80,80,22,23,0,0,0,0,585,194,0,0,0,0],[0,0,0,582,91,583,92,22,23,0,24,0,0,585,93,0,0,27,0],[0,0,0,582,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,553,0,0,0,175,175,0,23,0,24,0,0,0,78,0,553,0,0],[0,553,0,586,0,175,175,0,23,0,24,0,0,0,78,0,553,0,0],[0,0,0,614,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,0,194,80,80,22,23,0,0,0,0,591,194,0,0,0,0],[0,0,0,588,91,589,92,22,23,0,24,0,0,591,93,0,0,27,0],[0,0,0,588,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,615,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,220,101,101,32,33,0,0,0,0,595,220,0,0,0,0],[0,0,0,592,112,593,113,32,33,0,34,0,0,595,114,0,0,37,0],[0,0,0,592,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,559,0,0,0,201,201,0,33,0,34,0,0,0,99,0,559,0,0],[0,559,0,596,0,201,201,0,33,0,34,0,0,0,99,0,559,0,0],[0,0,0,615,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,220,101,101,32,33,0,0,0,0,601,220,0,0,0,0],[0,0,0,598,112,599,113,32,33,0,34,0,0,601,114,0,0,37,0],[0,0,0,598,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,616,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,0,0,0,265,141,141,57,58,0,0,0,0,606,265,0,0,0,0],[0,0,0,603,152,604,153,57,58,0,59,0,0,606,154,0,0,62,0],[0,0,0,603,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,575,0,0,0,246,246,0,58,0,59,0,0,0,139,0,575,0,0],[0,575,0,607,0,246,246,0,58,0,59,0,0,0,139,0,575,0,0],[0,0,0,616,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,0,0,0,265,141,141,57,58,0,0,0,0,612,265,0,0,0,0],[0,0,0,609,152,610,153,57,58,0,59,0,0,612,154,0,0,62,0],[0,0,0,609,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,549,0,0],[0,0,0,0,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,0,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0]],"accepting":[false,true,true,true,true,true,false,false,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,false,false,true,true,true,true,true,true,true,true,true,true,false,true,true,false,true,true,true,false,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,true,false,true,true,false,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,true,false,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,true,false,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,false,true,false,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,false,true,true,false,false,true,false,true,true,false,true,true,false,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,false,true,true,true,true,false,false,false,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,false,true,true,false,false,true,true,false,false,true,true,true,false,true,false,true,true,true,true,false,false,false,true,false,true,true,true,true,false,false,false,true,true,false,true,true,true,true,true,true,false,true,true,false,true,false,true,true,true,true,false,false,false,false,false,false,false,true,true,false,false,true,true,false,true,true,true,true,false,true,true,true,true,true,true,false,true,true,false,true,true,false,true,true,true,true,true,true,false,true,true,false,true,false,true,true,true,true,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,false,true,true,false,true,false,true,true,true,true,true,false,true,true,true,true,true,false,true,true,true,true,true,false,true,true,true,false,true,true,true,true,false,false,false,true,false,true,true,true,true,true,false,true,true,true,false,true,true,true,true,true,false,true,true,true,true,false,true,true,true,true,true,false,true,true,false,true,true,true],"tags":[[],["broken_cluster"],["consonant_syllable"],["vowel_syllable"],["broken_cluster"],["broken_cluster"],[],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["standalone_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["consonant_syllable"],["broken_cluster"],["symbol_cluster"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["standalone_cluster"],["standalone_cluster"],[],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["broken_cluster"],["broken_cluster"],["consonant_syllable","broken_cluster"],["broken_cluster"],[],["broken_cluster"],["symbol_cluster"],[],["symbol_cluster"],["symbol_cluster"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],[],[],["broken_cluster"],["broken_cluster"],[],[],["broken_cluster"],["broken_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["symbol_cluster"],["symbol_cluster"],["symbol_cluster"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],[],[],["consonant_syllable"],["consonant_syllable"],[],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],[],[],["vowel_syllable"],["vowel_syllable"],[],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],[],[],[],["broken_cluster"],["broken_cluster"],[],[],["broken_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],[],["standalone_cluster"],["standalone_cluster"],[],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["broken_cluster"],["symbol_cluster"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],[],[],[],["consonant_syllable"],["consonant_syllable"],[],[],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],[],[],[],["vowel_syllable"],["vowel_syllable"],[],[],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],[],[],[],["broken_cluster"],[],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],[],[],["standalone_cluster"],["standalone_cluster"],[],[],["standalone_cluster"],["standalone_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],[],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],[],[],[],["consonant_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],[],[],[],["vowel_syllable"],[],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],[],[],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],[],[],["standalone_cluster"],[],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],[],[],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],[],[],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],[],[],[],[],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],[],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],[],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],["consonant_syllable"],["vowel_syllable"],["standalone_cluster"]]}');var BN={};BN=JSON.parse('{"categories":["O","IND","S","GB","B","FM","CGJ","VMAbv","VMPst","VAbv","VPst","CMBlw","VPre","VBlw","H","VMBlw","CMAbv","MBlw","CS","R","SUB","MPst","MPre","FAbv","FPst","FBlw","null","SMAbv","SMBlw","VMPre","ZWNJ","ZWJ","WJ","M","VS","N","HN","MAbv"],"decompositions":{"2507":[2503,2494],"2508":[2503,2519],"2888":[2887,2902],"2891":[2887,2878],"2892":[2887,2903],"3018":[3014,3006],"3019":[3015,3006],"3020":[3014,3031],"3144":[3142,3158],"3264":[3263,3285],"3271":[3270,3285],"3272":[3270,3286],"3274":[3270,3266],"3275":[3270,3266,3285],"3402":[3398,3390],"3403":[3399,3390],"3404":[3398,3415],"3546":[3545,3530],"3548":[3545,3535],"3549":[3545,3535,3530],"3550":[3545,3551],"3635":[3661,3634],"3763":[3789,3762],"3955":[3953,3954],"3957":[3953,3956],"3958":[4018,3968],"3959":[4018,3953,3968],"3960":[4019,3968],"3961":[4019,3953,3968],"3969":[3953,3968],"6971":[6970,6965],"6973":[6972,6965],"6976":[6974,6965],"6977":[6975,6965],"6979":[6978,6965],"69934":[69937,69927],"69935":[69938,69927],"70475":[70471,70462],"70476":[70471,70487],"70843":[70841,70842],"70844":[70841,70832],"70846":[70841,70845],"71098":[71096,71087],"71099":[71097,71087]},"stateTable":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[2,2,3,4,4,5,0,6,7,8,9,10,11,12,13,14,15,16,0,17,18,11,19,20,21,22,0,0,0,23,0,0,2,0,0,24,0,25],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,26,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,28,0,0,0,0,0,27,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,34,35,36,37,38,39,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,39,0,0,47],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,0,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,0,0,12,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,9,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,10,11,12,13,14,0,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,9,0,0,12,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,7,0,0,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,10,11,12,13,14,15,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,0,0,0,0,11,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,4,4,5,0,6,7,8,9,10,11,12,13,14,15,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,48,11,12,13,14,48,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,49,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,16,0,0,0,11,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,0,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,0,51,0],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,16,0,0,0,11,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,28,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,0,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,0,0,36,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,33,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,34,35,36,37,38,0,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,33,0,0,36,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,41,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,31,0,0,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,34,35,36,37,38,39,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,0,0,0,0,35,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,52,35,36,37,38,52,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,53,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,40,0,0,0,35,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,44,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,0,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,40,0,0,0,35,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,48,11,12,13,14,0,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,48,11,12,13,14,48,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,51,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,54,0,0],[0,0,0,0,0,29,0,30,31,32,33,52,35,36,37,38,0,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,52,35,36,37,38,52,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,0,51,0]],"accepting":[false,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true],"tags":[[],["broken_cluster"],["independent_cluster"],["symbol_cluster"],["standard_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["numeral_cluster"],["broken_cluster"],["independent_cluster"],["symbol_cluster"],["symbol_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["virama_terminated_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["broken_cluster"],["broken_cluster"],["numeral_cluster"],["number_joiner_terminated_cluster"],["standard_cluster"],["standard_cluster"],["numeral_cluster"]]}');const Tn={X:1,C:2,V:4,N:8,H:16,ZWNJ:32,ZWJ:64,M:128,SM:256,VD:512,A:1024,Placeholder:2048,Dotted_Circle:4096,RS:8192,Coeng:16384,Repha:32768,Ra:65536,CM:131072,Symbol:262144},Wr={Start:1,Ra_To_Become_Reph:2,Pre_M:4,Pre_C:8,Base_C:16,After_Main:32,Above_C:64,Before_Sub:128,Below_C:256,After_Sub:512,Before_Post:1024,Post_C:2048,After_Post:4096,Final_C:8192,SMVD:16384,End:32768},WLt=Tn.C|Tn.Ra|Tn.CM|Tn.V|Tn.Placeholder|Tn.Dotted_Circle,Zke=Tn.ZWJ|Tn.ZWNJ,S5=Tn.H|Tn.Coeng,i0e={Default:{hasOldSpec:!1,virama:0,basePos:"Last",rephPos:Wr.Before_Post,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Devanagari:{hasOldSpec:!0,virama:2381,basePos:"Last",rephPos:Wr.Before_Post,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Bengali:{hasOldSpec:!0,virama:2509,basePos:"Last",rephPos:Wr.After_Sub,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Gurmukhi:{hasOldSpec:!0,virama:2637,basePos:"Last",rephPos:Wr.Before_Sub,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Gujarati:{hasOldSpec:!0,virama:2765,basePos:"Last",rephPos:Wr.Before_Post,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Oriya:{hasOldSpec:!0,virama:2893,basePos:"Last",rephPos:Wr.After_Main,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Tamil:{hasOldSpec:!0,virama:3021,basePos:"Last",rephPos:Wr.After_Post,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Telugu:{hasOldSpec:!0,virama:3149,basePos:"Last",rephPos:Wr.After_Post,rephMode:"Explicit",blwfMode:"Post_Only"},Kannada:{hasOldSpec:!0,virama:3277,basePos:"Last",rephPos:Wr.After_Post,rephMode:"Implicit",blwfMode:"Post_Only"},Malayalam:{hasOldSpec:!0,virama:3405,basePos:"Last",rephPos:Wr.After_Main,rephMode:"Log_Repha",blwfMode:"Pre_And_Post"},Khmer:{hasOldSpec:!1,virama:6098,basePos:"First",rephPos:Wr.Ra_To_Become_Reph,rephMode:"Vis_Repha",blwfMode:"Pre_And_Post"}},zLt={6078:[6081,6078],6079:[6081,6079],6080:[6081,6080],6084:[6081,6084],6085:[6081,6085]},{decompositions:KLt}=AN(BN),e9e=new fN(lee("AA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AfKPhu2FpfZL2Yb9snLNl/fNIepXaUsj4vNXCXUZ75px8ojNP8UPvAta2g6fb+F1ckZuneshv1vGXXDeyRRrN/bBPS1Jul+l+7zW86R7Wv63WXyDpt/RxraRjvC+TC3O61/Sqj/prag8x372yQivn+XwudrI2X2E2KdtJEov52e0L+uv4FO3p/rvssgsL8F4d/z9PzlWS94m8fqS3361Fi+6qaVYHwi9Yz4iH2fobIj+45cpz/TUaarr/4+z+vaWtVtyAX2d1LG8W9C3f+F1mnf36/k4w3YPrLv+XBVXCJs3cr+n4MKJuLv/fN9GhNdXVP5pJMN9vFi3rpv3/r8Ywg3SYp66zNOsO8QGcxPpnmRS/1mvmJjju3v7absI2xspQrvs1dNbjOj/wP7h1RlZyKGy8occ408UL8En4v6xfC/K3z52XzJd62T8vuZGGsxo/6O46ntmNqqFb/jps2/hHV4rPKH0svT4pstU7t2tZ9u/ZdqbJL1MwP6O86Fyt4jYaIrGz9mjEt8lFL4PtVE6votG2P6fpdf/GZRse7s3bf4BtSl/DIbKMctx++Z+8o6K6z9FPOwKsRmXiaNl7C+6NYRpjlbqG1j72f49qsuY4brd/amb4ZVc8TQ+sSH985LrEe8iPWJnfPrJRbWbb+dwn4x6o+r/aS2S7w3qWt//LnYz2ntE0vH1uDcyKatx1rH+EiMPEN1SZG/iz6+9o01Rob6O7Q+xLZ1jHobK61U+pWVvo2EpuWqzzD6Poa+pvhli0wn8Zq/72Mzm2d90o5VN1x9ZKuzbTgvqWwUIin8FSpl1CXXvFRxU0iozVPYJDRtF3uFphn6XAyJUUdD7SjTJ8v6n9fVbVObkKWp001lc9VRlqdOf5v0ZM+bymdbfp1NfG0bq27Y5JMyfxeJkU6o/inKH8O2Zfgidb6h/g3VJ7QcVbWL0Pxt6rlrPqa4KfQ25a2zl4/E8GdM/4fK/wA=")),qLt=new mke(AN(Jke));class Jo extends Sm{static planFeatures(e){e.addStage(XLt),e.addStage(["locl","ccmp"]),e.addStage(JLt),e.addStage("nukt"),e.addStage("akhn"),e.addStage("rphf",!1),e.addStage("rkrf"),e.addStage("pref",!1),e.addStage("blwf",!1),e.addStage("abvf",!1),e.addStage("half",!1),e.addStage("pstf",!1),e.addStage("vatu"),e.addStage("cjct"),e.addStage("cfar",!1),e.addStage(ZLt),e.addStage({local:["init"],global:["pres","abvs","blws","psts","haln","dist","abvm","blwm","calt","clig"]}),e.unicodeScript=QTt(e.script),e.indicConfig=i0e[e.unicodeScript]||i0e.Default,e.isOldSpec=e.indicConfig.hasOldSpec&&e.script[e.script.length-1]!=="2"}static assignFeatures(e,r){for(let n=r.length-1;n>=0;n--){let i=r[n].codePoints[0],o=zLt[i]||KLt[i];if(o){let s=o.map(a=>{let l=e.font.glyphForCodePoint(a);return new Yf(e.font,l.id,[a],r[n].features)});r.splice(n,1,...s)}}}}dc(Jo,"zeroMarkWidths","NONE");function fG(t){return e9e.get(t.codePoints[0])>>8}function t9e(t){return 1<<(e9e.get(t.codePoints[0])&255)}class DD{constructor(e,r,n,i){this.category=e,this.position=r,this.syllableType=n,this.syllable=i}}function XLt(t,e){let r=0,n=0;for(let[i,o,s]of qLt.match(e.map(fG))){if(i>n){++r;for(let a=n;a<i;a++)e[a].shaperInfo=new DD(Tn.X,Wr.End,"non_indic_cluster",r)}++r;for(let a=i;a<=o;a++)e[a].shaperInfo=new DD(1<<fG(e[a]),t9e(e[a]),s[0],r);n=o+1}if(n<e.length){++r;for(let i=n;i<e.length;i++)e[i].shaperInfo=new DD(Tn.X,Wr.End,"non_indic_cluster",r)}}function Lg(t){return t.shaperInfo.category&WLt}function Wd(t){return t.shaperInfo.category&Zke}function iA(t){return t.shaperInfo.category&S5}function vA(t,e){for(let n of t)n.features={[e]:!0};return t[0]._font._layoutEngine.engine.GSUBProcessor.applyFeatures([e],t),t.length===1}function YLt(t,e,r){let n=[r,e,r];return vA(n.slice(0,2),"blwf")||vA(n.slice(1,3),"blwf")?Wr.Below_C:vA(n.slice(0,2),"pstf")||vA(n.slice(1,3),"pstf")||vA(n.slice(0,2),"pref")||vA(n.slice(1,3),"pref")?Wr.Post_C:Wr.Base_C}function JLt(t,e,r){let n=r.indicConfig,i=t._layoutEngine.engine.GSUBProcessor.features,o=t.glyphForCodePoint(9676).id,s=t.glyphForCodePoint(n.virama).id;if(s){let a=new Yf(t,s,[n.virama]);for(let l=0;l<e.length;l++)e[l].shaperInfo.position===Wr.Base_C&&(e[l].shaperInfo.position=YLt(t,e[l].copy(),a))}for(let a=0,l=hO(e,0);a<e.length;a=l,l=hO(e,a)){let{category:c,syllableType:u}=e[a].shaperInfo;if(u==="symbol_cluster"||u==="non_indic_cluster")continue;if(u==="broken_cluster"&&o){let y=new Yf(t,o,[9676]);y.shaperInfo=new DD(1<<fG(y),t9e(y),e[a].shaperInfo.syllableType,e[a].shaperInfo.syllable);let b=a;for(;b<l&&e[b].shaperInfo.category===Tn.Repha;)b++;e.splice(b++,0,y),l++}let f=l,d=a,p=!1;if(n.rephPos!==Wr.Ra_To_Become_Reph&&i.rphf&&a+3<=l&&(n.rephMode==="Implicit"&&!Wd(e[a+2])||n.rephMode==="Explicit"&&e[a+2].shaperInfo.category===Tn.ZWJ)){let y=[e[a].copy(),e[a+1].copy(),e[a+2].copy()];if(vA(y.slice(0,2),"rphf")||n.rephMode==="Explicit"&&vA(y,"rphf")){for(d+=2;d<l&&Wd(e[d]);)d++;f=a,p=!0}}else if(n.rephMode==="Log_Repha"&&e[a].shaperInfo.category===Tn.Repha){for(d++;d<l&&Wd(e[d]);)d++;f=a,p=!0}switch(n.basePos){case"Last":{let y=l,b=!1;do{let B=e[--y].shaperInfo;if(Lg(e[y])){if(B.position!==Wr.Below_C&&(B.position!==Wr.Post_C||b)){f=y;break}B.position===Wr.Below_C&&(b=!0),f=y}else if(a<y&&B.category===Tn.ZWJ&&e[y-1].shaperInfo.category===Tn.H)break}while(y>d);break}case"First":f=a;for(let y=f+1;y<l;y++)Lg(e[y])&&(e[y].shaperInfo.position=Wr.Below_C)}p&&f===a&&d-f<=2&&(p=!1);for(let y=a;y<f;y++){let b=e[y].shaperInfo;b.position=Math.min(Wr.Pre_C,b.position)}f<l&&(e[f].shaperInfo.position=Wr.Base_C);for(let y=f+1;y<l;y++)if(e[y].shaperInfo.category===Tn.M){for(let b=y+1;b<l;b++)if(Lg(e[b])){e[b].shaperInfo.position=Wr.Final_C;break}break}if(p&&(e[a].shaperInfo.position=Wr.Ra_To_Become_Reph),r.isOldSpec){let y=r.unicodeScript!=="Malayalam";for(let b=f+1;b<l;b++)if(e[b].shaperInfo.category===Tn.H){let B;for(B=l-1;B>b&&!(Lg(e[B])||y&&e[B].shaperInfo.category===Tn.H);B--);if(e[B].shaperInfo.category!==Tn.H&&B>b){let S=e[b];e.splice(b,0,...e.splice(b+1,B-b)),e[B]=S}break}}let h=Wr.Start;for(let y=a;y<l;y++){let b=e[y].shaperInfo;if(b.category&(Zke|Tn.N|Tn.RS|Tn.CM|S5&b.category)){if(b.position=h,b.category===Tn.H&&b.position===Wr.Pre_M){for(let B=y;B>a;B--)if(e[B-1].shaperInfo.position!==Wr.Pre_M){b.position=e[B-1].shaperInfo.position;break}}}else b.position!==Wr.SMVD&&(h=b.position)}let A=f;for(let y=f+1;y<l;y++)if(Lg(e[y])){for(let b=A+1;b<y;b++)e[b].shaperInfo.position<Wr.SMVD&&(e[b].shaperInfo.position=e[y].shaperInfo.position);A=y}else e[y].shaperInfo.category===Tn.M&&(A=y);let g=e.slice(a,l);g.sort((y,b)=>y.shaperInfo.position-b.shaperInfo.position),e.splice(a,g.length,...g);for(let y=a;y<l;y++)if(e[y].shaperInfo.position===Wr.Base_C){f=y;break}for(let y=a;y<l&&e[y].shaperInfo.position===Wr.Ra_To_Become_Reph;y++)e[y].features.rphf=!0;let m=!r.isOldSpec&&n.blwfMode==="Pre_And_Post";for(let y=a;y<f;y++)e[y].features.half=!0,m&&(e[y].features.blwf=!0);for(let y=f+1;y<l;y++)e[y].features.abvf=!0,e[y].features.pstf=!0,e[y].features.blwf=!0;if(r.isOldSpec&&r.unicodeScript==="Devanagari")for(let y=a;y+1<f;y++)e[y].shaperInfo.category===Tn.Ra&&e[y+1].shaperInfo.category===Tn.H&&(y+1===f||e[y+2].shaperInfo.category===Tn.ZWJ)&&(e[y].features.blwf=!0,e[y+1].features.blwf=!0);let v=2;if(i.pref&&f+v<l)for(let y=f+1;y+v-1<l;y++){let b=[e[y].copy(),e[y+1].copy()];if(vA(b,"pref")){for(let B=0;B<v;B++)e[y++].features.pref=!0;if(i.cfar)for(;y<l;y++)e[y].features.cfar=!0;break}}for(let y=a+1;y<l;y++)if(Wd(e[y])){let b=e[y].shaperInfo.category===Tn.ZWNJ,B=y;do B--,b&&delete e[B].features.half;while(B>a&&!Lg(e[B]))}}}function ZLt(t,e,r){let n=r.indicConfig,i=t._layoutEngine.engine.GSUBProcessor.features;for(let o=0,s=hO(e,0);o<e.length;o=s,s=hO(e,o)){let a=!!i.pref,l=o;for(;l<s;l++)if(e[l].shaperInfo.position>=Wr.Base_C){if(a&&l+1<s){for(let c=l+1;c<s;c++)if(e[c].features.pref){if(!(e[c].substituted&&e[c].isLigated&&!e[c].isMultiplied)){for(l=c;l<s&&iA(e[l]);)l++;e[l].shaperInfo.position=Wr.BASE_C,a=!1}break}}if(r.unicodeScript==="Malayalam")for(let c=l+1;c<s;c++){for(;c<s&&Wd(e[c]);)c++;if(c===s||!iA(e[c]))break;for(c++;c<s&&Wd(e[c]);)c++;c<s&&Lg(e[c])&&e[c].shaperInfo.position===Wr.Below_C&&(l=c,e[l].shaperInfo.position=Wr.Base_C)}o<l&&e[l].shaperInfo.position>Wr.Base_C&&l--;break}if(l===s&&o<l&&e[l-1].shaperInfo.category===Tn.ZWJ&&l--,l<s)for(;o<l&&e[l].shaperInfo.category&(Tn.N|S5);)l--;if(o+1<s&&o<l){let c=l===s?l-2:l-1;if(r.unicodeScript!=="Malayalam"&&r.unicodeScript!=="Tamil"){for(;c>o&&!(e[c].shaperInfo.category&(Tn.M|S5));)c--;iA(e[c])&&e[c].shaperInfo.position!==Wr.Pre_M?c+1<s&&Wd(e[c+1])&&c++:c=o}if(o<c&&e[c].shaperInfo.position!==Wr.Pre_M){for(let u=c;u>o;u--)if(e[u-1].shaperInfo.position===Wr.Pre_M){let f=u-1;f<l&&l<=c&&l--;let d=e[f];e.splice(f,0,...e.splice(f+1,c-f)),e[c]=d,c--}}}if(o+1<s&&e[o].shaperInfo.position===Wr.Ra_To_Become_Reph&&e[o].shaperInfo.category===Tn.Repha!==(e[o].isLigated&&!e[o].isMultiplied)){let c,u=n.rephPos,f=!1;if(u!==Wr.After_Post){for(c=o+1;c<l&&!iA(e[c]);)c++;if(c<l&&iA(e[c])&&(c+1<l&&Wd(e[c+1])&&c++,f=!0),!f&&u===Wr.After_Main){for(c=l;c+1<s&&e[c+1].shaperInfo.position<=Wr.After_Main;)c++;f=c<s}if(!f&&u===Wr.After_Sub){for(c=l;c+1<s&&!(e[c+1].shaperInfo.position&(Wr.Post_C|Wr.After_Post|Wr.SMVD));)c++;f=c<s}}if(!f){for(c=o+1;c<l&&!iA(e[c]);)c++;c<l&&iA(e[c])&&(c+1<l&&Wd(e[c+1])&&c++,f=!0)}if(!f){for(c=s-1;c>o&&e[c].shaperInfo.position===Wr.SMVD;)c--;if(iA(e[c]))for(let p=l+1;p<c;p++)e[p].shaperInfo.category===Tn.M&&c--}let d=e[o];e.splice(o,0,...e.splice(o+1,c-o)),e[c]=d,o<l&&l<=c&&l--}if(a&&l+1<s){for(let c=l+1;c<s;c++)if(e[c].features.pref){if(e[c].isLigated&&!e[c].isMultiplied){let u=l;if(r.unicodeScript!=="Malayalam"&&r.unicodeScript!=="Tamil"){for(;u>o&&!(e[u-1].shaperInfo.category&(Tn.M|S5));)u--;if(u>o&&e[u-1].shaperInfo.category===Tn.M){let p=c;for(let h=l+1;h<p;h++)if(e[h].shaperInfo.category===Tn.M){u--;break}}}u>o&&iA(e[u-1])&&u<s&&Wd(e[u])&&u++;let f=c,d=e[f];e.splice(u+1,0,...e.splice(u,f-u)),e[u]=d,u<=l&&l<f&&l++}break}}e[o].shaperInfo.position===Wr.Pre_M&&(!o||!/Cf|Mn/.test(pN(e[o-1].codePoints[0])))&&(e[o].features.init=!0)}}function hO(t,e){if(e>=t.length)return e;let r=t[e].shaperInfo.syllable;for(;++e<t.length&&t[e].shaperInfo.syllable===r;);return e}const{categories:eRt,decompositions:o0e}=AN(BN),tRt=new fN(lee("AAACAAAAAAAQugAAAQUO+vHtnHuMX0UVx2d3u/t7bXe7FlqgvB+mpQhFmhikMRAg0ZQmakMU+cPWBzZisEGNjUpoiIYCEgmGUGOEGqOVNPUZUGNA+QNIBU2KREEFFSMBUYRISMXE+B3vnPzOzp553tcWfif5ZO5jnufMzJ2ZO/eumlDqFLAWnAMuBBvBZnC5uXZeBe4WsA1sBzs8/naCXcL1G8GtYDfYA74NvgfuAfcZHmT+fwEeBb8DTwvxPQWeAavACyZvq8z9VYxXwCGglijVBcvACnA8eCM4E6wHG8BF4BLwbvA+8AHwUbAd7AA7wS5wC9gN7gR7wX5wN7gXPAAeBr8Gvwd/Ac+CF8EhoCaV6oBZsBKcAE4FZ0wWeV8P9zxwoTnfCHczuBxsAdvAx8Gnzf1r4X4B3AxuA1+bHJb9m5PzdVGW/Yjv+xXHyfmxFfd9OH8Q/Ar8Bjw1WZT3GfACeAX8N5CfqSmlZsAKsGqqCH8K3DXgbHCuuXYB3HeAd4HLpgrdarbi+EPgY+CT4HPg8ybMTcb9MtyvghtYut/A+b4pf95+ELgfw08Qx/3gADgInjDl0veehPtX8A/wsrn2KtzxDuogWNoJx38k/BzXKeI8Ee5qcBZYD9aZtDbg+AwT19uMX83F7JizCdcvBZdZ97c6/BMfMWmfzfTm88/95aLj+DDSvApcDXZ04uPfaen3TMHPLvi5BezuFPVtD4t/qUcfe3FvP7gb3Ouwo9T+H+gMy/UIjh8DfwBPm7T08d/M8WMBe1Sh3xEjXo+M2s+IESNGjBgxYsSI1wLrOsM1gRsi/P+TzV3/Zc1jvxgR/j8IM9Et1mEGcJeDFeA4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q0DSitWqkwz12b2exb7vwjaRvS/TFd/S+8AYvIo+Suri5TwvvZRdV1IQevQ1/8SA+UeH5eto7n/X1Oe86ptaafl8kPjcF7P7W93eD9d5n+oSvn7fFe7I/G9q1IBfylSR71N6fft94ZU18hOXKR+JqUO8f4+5dvLsmWlMQb/Vov+CUDlpTGUndeQlG3fdZWdRPoPgl3mmDlsLnaey/4X3tVuU+o6L3/Pym+qlLV/jk6rlBRd8394hZ6JdnuqIv2ykOh3pfq96Wkq/E8qu2xl88/tOJ4R3tfmpbGi3c5T859bzqr7MbsN03iI5itUNj5eaEKWqIX/KJCQ/iFWNZMmHXs8ovWk53JzFq5vPul6zDjLV36pX7bzvNzB0YlQOZephWtRS5T7eeSq8030R77/HvC1d7tN83Zt9yltrDdwSR0XxsZd5l+MvvvU1/M9jSnj+Nh6FPJbBld/w6XHXH5MZeXrOfS/65g9RTl1JCa8chzX2RZ9/3lXSh4/VqWfEBNq4b82Ytp6m+9Qqxir1jX+rfPdT1vvsWhM6bPbmON6E1LnPCZW7L0qqXswmtqf0MQelZj4myrzYtzvIYmURlvtqapyx+gzRfd0XPfahVSOquMoG+dibBdl46iyfdbV1qvUW9m8+KTudMvkzZe/pqTJ+pWTflX5zw1fVfox6ZTVc8hvHflOSb+OuG1JsZ0kufXAJf8D")),rRt=new mke(AN(BN));class Nn extends Sm{static planFeatures(e){e.addStage(iRt),e.addStage(["locl","ccmp","nukt","akhn"]),e.addStage(a0e),e.addStage(["rphf"],!1),e.addStage(oRt),e.addStage(a0e),e.addStage(["pref"]),e.addStage(sRt),e.addStage(["rkrf","abvf","blwf","half","pstf","vatu","cjct"]),e.addStage(aRt),e.addStage(["abvs","blws","pres","psts","dist","abvm","blwm"])}static assignFeatures(e,r){for(let n=r.length-1;n>=0;n--){let i=r[n].codePoints[0];if(o0e[i]){let o=o0e[i].map(s=>{let a=e.font.glyphForCodePoint(s);return new Yf(e.font,a.id,[s],r[n].features)});r.splice(n,1,...o)}}}}dc(Nn,"zeroMarkWidths","BEFORE_GPOS");function s0e(t){return tRt.get(t.codePoints[0])}class nRt{constructor(e,r,n){this.category=e,this.syllableType=r,this.syllable=n}}function iRt(t,e){let r=0;for(let[n,i,o]of rRt.match(e.map(s0e))){++r;for(let a=n;a<=i;a++)e[a].shaperInfo=new nRt(eRt[s0e(e[a])],o[0],r);let s=e[n].shaperInfo.category==="R"?1:Math.min(3,i-n);for(let a=n;a<n+s;a++)e[a].features.rphf=!0}}function a0e(t,e){for(let r of e)r.substituted=!1}function oRt(t,e){for(let r of e)r.substituted&&r.features.rphf&&(r.shaperInfo.category="R")}function sRt(t,e){for(let r of e)r.substituted&&(r.shaperInfo.category="VPre")}function aRt(t,e){let r=t.glyphForCodePoint(9676).id;for(let n=0,i=l0e(e,0);n<e.length;n=i,i=l0e(e,n)){let o,s,a=e[n].shaperInfo,l=a.syllableType;if(!(l!=="virama_terminated_cluster"&&l!=="standard_cluster"&&l!=="broken_cluster")){if(l==="broken_cluster"&&r){let c=new Yf(t,r,[9676]);for(c.shaperInfo=a,o=n;o<i&&e[o].shaperInfo.category==="R";o++);e.splice(++o,0,c),i++}if(a.category==="R"&&i-n>1){for(o=n+1;o<i;o++)if(a=e[o].shaperInfo,c0e(a)||C8(e[o])){C8(e[o])&&o--,e.splice(n,0,...e.splice(n+1,o-n),e[o]);break}}for(o=n,s=i;o<i;o++)a=e[o].shaperInfo,c0e(a)||C8(e[o])?s=C8(e[o])?o+1:o:(a.category==="VPre"||a.category==="VMPre")&&s<o&&e.splice(s,1,e[o],...e.splice(s,o-s))}}}function l0e(t,e){if(e>=t.length)return e;let r=t[e].shaperInfo.syllable;for(;++e<t.length&&t[e].shaperInfo.syllable===r;);return e}function C8(t){return t.shaperInfo.category==="H"&&!t.isLigated}function c0e(t){return t.category==="B"||t.category==="GB"}const lRt={arab:Zh,mong:Zh,syrc:Zh,"nko ":Zh,phag:Zh,mand:Zh,mani:Zh,phlp:Zh,hang:Kke,bng2:Jo,beng:Jo,dev2:Jo,deva:Jo,gjr2:Jo,gujr:Jo,guru:Jo,gur2:Jo,knda:Jo,knd2:Jo,mlm2:Jo,mlym:Jo,ory2:Jo,orya:Jo,taml:Jo,tml2:Jo,telu:Jo,tel2:Jo,khmr:Jo,bali:Nn,batk:Nn,brah:Nn,bugi:Nn,buhd:Nn,cakm:Nn,cham:Nn,dupl:Nn,egyp:Nn,gran:Nn,hano:Nn,java:Nn,kthi:Nn,kali:Nn,khar:Nn,khoj:Nn,sind:Nn,lepc:Nn,limb:Nn,mahj:Nn,mtei:Nn,modi:Nn,hmng:Nn,rjng:Nn,saur:Nn,shrd:Nn,sidd:Nn,sinh:Jo,sund:Nn,sylo:Nn,tglg:Nn,tagb:Nn,tale:Nn,lana:Nn,tavt:Nn,takr:Nn,tibt:Nn,tfng:Nn,tirh:Nn,latn:Sm,DFLT:Sm};function cRt(t){Array.isArray(t)||(t=[t]);for(let e of t){let r=lRt[e];if(r)return r}return Sm}class uRt extends uO{applyLookup(e,r){switch(e){case 1:{let i=this.coverageIndex(r.coverage);if(i===-1)return!1;let o=this.glyphIterator.cur;switch(r.version){case 1:o.id=o.id+r.deltaGlyphID&65535;break;case 2:o.id=r.substitute.get(i);break}return!0}case 2:{let i=this.coverageIndex(r.coverage);if(i!==-1){let o=r.sequences.get(i);if(o.length===0)return this.glyphs.splice(this.glyphIterator.index,1),!0;this.glyphIterator.cur.id=o[0],this.glyphIterator.cur.ligatureComponent=0;let s=this.glyphIterator.cur.features,a=this.glyphIterator.cur,l=o.slice(1).map((c,u)=>{let f=new Yf(this.font,c,void 0,s);return f.shaperInfo=a.shaperInfo,f.isLigated=a.isLigated,f.ligatureComponent=u+1,f.substituted=!0,f.isMultiplied=!0,f});return this.glyphs.splice(this.glyphIterator.index+1,0,...l),!0}return!1}case 3:{let i=this.coverageIndex(r.coverage);if(i!==-1){let o=0;return this.glyphIterator.cur.id=r.alternateSet.get(i)[o],!0}return!1}case 4:{let i=this.coverageIndex(r.coverage);if(i===-1)return!1;for(let o of r.ligatureSets.get(i)){let s=this.sequenceMatchIndices(1,o.components);if(!s)continue;let a=this.glyphIterator.cur,l=a.codePoints.slice();for(let A of s)l.push(...this.glyphs[A].codePoints);let c=new Yf(this.font,o.glyph,l,a.features);c.shaperInfo=a.shaperInfo,c.isLigated=!0,c.substituted=!0;let u=a.isMark;for(let A=0;A<s.length&&u;A++)u=this.glyphs[s[A]].isMark;c.ligatureID=u?null:this.ligatureID++;let f=a.ligatureID,d=a.codePoints.length,p=d,h=this.glyphIterator.index+1;for(let A of s){if(u)h=A;else for(;h<A;){var n=p-d+Math.min(this.glyphs[h].ligatureComponent||1,d);this.glyphs[h].ligatureID=c.ligatureID,this.glyphs[h].ligatureComponent=n,h++}f=this.glyphs[h].ligatureID,d=this.glyphs[h].codePoints.length,p+=d,h++}if(f&&!u)for(let A=h;A<this.glyphs.length&&this.glyphs[A].ligatureID===f;A++){var n=p-d+Math.min(this.glyphs[A].ligatureComponent||1,d);this.glyphs[A].ligatureComponent=n}for(let A=s.length-1;A>=0;A--)this.glyphs.splice(s[A],1);return this.glyphs[this.glyphIterator.index]=c,!0}return!1}case 5:return this.applyContext(r);case 6:return this.applyChainingContext(r);case 7:return this.applyLookup(r.lookupType,r.extension);default:throw new Error(`GSUB lookupType ${e} is not supported`)}}}class fRt extends uO{applyPositionValue(e,r){let n=this.positions[this.glyphIterator.peekIndex(e)];r.xAdvance!=null&&(n.xAdvance+=r.xAdvance),r.yAdvance!=null&&(n.yAdvance+=r.yAdvance),r.xPlacement!=null&&(n.xOffset+=r.xPlacement),r.yPlacement!=null&&(n.yOffset+=r.yPlacement);let i=this.font._variationProcessor,o=this.font.GDEF&&this.font.GDEF.itemVariationStore;i&&o&&(r.xPlaDevice&&(n.xOffset+=i.getDelta(o,r.xPlaDevice.a,r.xPlaDevice.b)),r.yPlaDevice&&(n.yOffset+=i.getDelta(o,r.yPlaDevice.a,r.yPlaDevice.b)),r.xAdvDevice&&(n.xAdvance+=i.getDelta(o,r.xAdvDevice.a,r.xAdvDevice.b)),r.yAdvDevice&&(n.yAdvance+=i.getDelta(o,r.yAdvDevice.a,r.yAdvDevice.b)))}applyLookup(e,r){switch(e){case 1:{let i=this.coverageIndex(r.coverage);if(i===-1)return!1;switch(r.version){case 1:this.applyPositionValue(0,r.value);break;case 2:this.applyPositionValue(0,r.values.get(i));break}return!0}case 2:{let i=this.glyphIterator.peek();if(!i)return!1;let o=this.coverageIndex(r.coverage);if(o===-1)return!1;switch(r.version){case 1:let s=r.pairSets.get(o);for(let c of s)if(c.secondGlyph===i.id)return this.applyPositionValue(0,c.value1),this.applyPositionValue(1,c.value2),!0;return!1;case 2:let a=this.getClassID(this.glyphIterator.cur.id,r.classDef1),l=this.getClassID(i.id,r.classDef2);if(a===-1||l===-1)return!1;var n=r.classRecords.get(a).get(l);return this.applyPositionValue(0,n.value1),this.applyPositionValue(1,n.value2),!0}}case 3:{let i=this.glyphIterator.peekIndex(),o=this.glyphs[i];if(!o)return!1;let s=r.entryExitRecords[this.coverageIndex(r.coverage)];if(!s||!s.exitAnchor)return!1;let a=r.entryExitRecords[this.coverageIndex(r.coverage,o.id)];if(!a||!a.entryAnchor)return!1;let l=this.getAnchor(a.entryAnchor),c=this.getAnchor(s.exitAnchor),u=this.positions[this.glyphIterator.index],f=this.positions[i],d;switch(this.direction){case"ltr":u.xAdvance=c.x+u.xOffset,d=l.x+f.xOffset,f.xAdvance-=d,f.xOffset-=d;break;case"rtl":d=c.x+u.xOffset,u.xAdvance-=d,u.xOffset-=d,f.xAdvance=l.x+f.xOffset;break}return this.glyphIterator.flags.rightToLeft?(this.glyphIterator.cur.cursiveAttachment=i,u.yOffset=l.y-c.y):(o.cursiveAttachment=this.glyphIterator.index,u.yOffset=c.y-l.y),!0}case 4:{let i=this.coverageIndex(r.markCoverage);if(i===-1)return!1;let o=this.glyphIterator.index;for(;--o>=0&&(this.glyphs[o].isMark||this.glyphs[o].ligatureComponent>0););if(o<0)return!1;let s=this.coverageIndex(r.baseCoverage,this.glyphs[o].id);if(s===-1)return!1;let a=r.markArray[i],l=r.baseArray[s][a.class];return this.applyAnchor(a,l,o),!0}case 5:{let i=this.coverageIndex(r.markCoverage);if(i===-1)return!1;let o=this.glyphIterator.index;for(;--o>=0&&this.glyphs[o].isMark;);if(o<0)return!1;let s=this.coverageIndex(r.ligatureCoverage,this.glyphs[o].id);if(s===-1)return!1;let a=r.ligatureArray[s],l=this.glyphIterator.cur,c=this.glyphs[o],u=c.ligatureID&&c.ligatureID===l.ligatureID&&l.ligatureComponent>0?Math.min(l.ligatureComponent,c.codePoints.length)-1:c.codePoints.length-1,f=r.markArray[i],d=a[u][f.class];return this.applyAnchor(f,d,o),!0}case 6:{let i=this.coverageIndex(r.mark1Coverage);if(i===-1)return!1;let o=this.glyphIterator.peekIndex(-1),s=this.glyphs[o];if(!s||!s.isMark)return!1;let a=this.glyphIterator.cur,l=!1;if(a.ligatureID===s.ligatureID?a.ligatureID?a.ligatureComponent===s.ligatureComponent&&(l=!0):l=!0:(a.ligatureID&&!a.ligatureComponent||s.ligatureID&&!s.ligatureComponent)&&(l=!0),!l)return!1;let c=this.coverageIndex(r.mark2Coverage,s.id);if(c===-1)return!1;let u=r.mark1Array[i],f=r.mark2Array[c][u.class];return this.applyAnchor(u,f,o),!0}case 7:return this.applyContext(r);case 8:return this.applyChainingContext(r);case 9:return this.applyLookup(r.lookupType,r.extension);default:throw new Error(`Unsupported GPOS table: ${e}`)}}applyAnchor(e,r,n){let i=this.getAnchor(r),o=this.getAnchor(e.markAnchor);this.positions[n];let s=this.positions[this.glyphIterator.index];s.xOffset=i.x-o.x,s.yOffset=i.y-o.y,this.glyphIterator.cur.markAttachment=n}getAnchor(e){let r=e.xCoordinate,n=e.yCoordinate,i=this.font._variationProcessor,o=this.font.GDEF&&this.font.GDEF.itemVariationStore;return i&&o&&(e.xDeviceTable&&(r+=i.getDelta(o,e.xDeviceTable.a,e.xDeviceTable.b)),e.yDeviceTable&&(n+=i.getDelta(o,e.yDeviceTable.a,e.yDeviceTable.b))),{x:r,y:n}}applyFeatures(e,r,n){super.applyFeatures(e,r,n);for(var i=0;i<this.glyphs.length;i++)this.fixCursiveAttachment(i);this.fixMarkAttachment()}fixCursiveAttachment(e){let r=this.glyphs[e];if(r.cursiveAttachment!=null){let n=r.cursiveAttachment;r.cursiveAttachment=null,this.fixCursiveAttachment(n),this.positions[e].yOffset+=this.positions[n].yOffset}}fixMarkAttachment(){for(let e=0;e<this.glyphs.length;e++){let r=this.glyphs[e];if(r.markAttachment!=null){let n=r.markAttachment;if(this.positions[e].xOffset+=this.positions[n].xOffset,this.positions[e].yOffset+=this.positions[n].yOffset,this.direction==="ltr")for(let i=n;i<e;i++)this.positions[e].xOffset-=this.positions[i].xAdvance,this.positions[e].yOffset-=this.positions[i].yAdvance;else for(let i=n+1;i<e+1;i++)this.positions[e].xOffset+=this.positions[i].xAdvance,this.positions[e].yOffset+=this.positions[i].yAdvance}}}}class dRt{setup(e){this.glyphInfos=e.glyphs.map(n=>new Yf(this.font,n.id,[...n.codePoints]));let r=null;this.GPOSProcessor&&(r=this.GPOSProcessor.selectScript(e.script,e.language,e.direction)),this.GSUBProcessor&&(r=this.GSUBProcessor.selectScript(e.script,e.language,e.direction)),this.shaper=cRt(r),this.plan=new dLt(this.font,r,e.direction),this.shaper.plan(this.plan,this.glyphInfos,e.features);for(let n in this.plan.allFeatures)e.features[n]=!0}substitute(e){this.GSUBProcessor&&(this.plan.process(this.GSUBProcessor,this.glyphInfos),e.glyphs=this.glyphInfos.map(r=>this.font.getGlyph(r.id,r.codePoints)))}position(e){return this.shaper.zeroMarkWidths==="BEFORE_GPOS"&&this.zeroMarkAdvances(e.positions),this.GPOSProcessor&&this.plan.process(this.GPOSProcessor,this.glyphInfos,e.positions),this.shaper.zeroMarkWidths==="AFTER_GPOS"&&this.zeroMarkAdvances(e.positions),e.direction==="rtl"&&(e.glyphs.reverse(),e.positions.reverse()),this.GPOSProcessor&&this.GPOSProcessor.features}zeroMarkAdvances(e){for(let r=0;r<this.glyphInfos.length;r++)this.glyphInfos[r].isMark&&(e[r].xAdvance=0,e[r].yAdvance=0)}cleanup(){this.glyphInfos=null,this.plan=null,this.shaper=null}getAvailableFeatures(e,r){let n=[];return this.GSUBProcessor&&(this.GSUBProcessor.selectScript(e,r),n.push(...Object.keys(this.GSUBProcessor.features))),this.GPOSProcessor&&(this.GPOSProcessor.selectScript(e,r),n.push(...Object.keys(this.GPOSProcessor.features))),n}constructor(e){this.font=e,this.glyphInfos=null,this.plan=null,this.GSUBProcessor=null,this.GPOSProcessor=null,this.fallbackPosition=!0,e.GSUB&&(this.GSUBProcessor=new uRt(e,e.GSUB)),e.GPOS&&(this.GPOSProcessor=new fRt(e,e.GPOS))}}class pRt{layout(e,r,n,i,o){if(typeof r=="string"&&(o=i,i=n,n=r,r=[]),typeof e=="string"){n==null&&(n=VTt(e));var s=this.font.glyphsForString(e)}else{if(n==null){let c=[];for(let u of e)c.push(...u.codePoints);n=$Tt(c)}var s=e}let a=new GTt(s,r,n,i,o);return s.length===0?(a.positions=[],a):(this.engine&&this.engine.setup&&this.engine.setup(a),this.substitute(a),this.position(a),this.hideDefaultIgnorables(a.glyphs,a.positions),this.engine&&this.engine.cleanup&&this.engine.cleanup(),a)}substitute(e){this.engine&&this.engine.substitute&&this.engine.substitute(e)}position(e){e.positions=e.glyphs.map(n=>new WTt(n.advanceWidth));let r=null;this.engine&&this.engine.position&&(r=this.engine.position(e)),!r&&(!this.engine||this.engine.fallbackPosition)&&(this.unicodeLayoutEngine||(this.unicodeLayoutEngine=new UTt(this.font)),this.unicodeLayoutEngine.positionGlyphs(e.glyphs,e.positions)),(!r||!r.kern)&&e.features.kern!==!1&&this.font.kern&&(this.kernProcessor||(this.kernProcessor=new jTt(this.font)),this.kernProcessor.process(e.glyphs,e.positions),e.features.kern=!0)}hideDefaultIgnorables(e,r){let n=this.font.glyphForCodePoint(32);for(let i=0;i<e.length;i++)this.isDefaultIgnorable(e[i].codePoints[0])&&(e[i]=n,r[i].xAdvance=0,r[i].yAdvance=0)}isDefaultIgnorable(e){let r=e>>16;if(r===0)switch(e>>8){case 0:return e===173;case 3:return e===847;case 6:return e===1564;case 23:return 6068<=e&&e<=6069;case 24:return 6155<=e&&e<=6158;case 32:return 8203<=e&&e<=8207||8234<=e&&e<=8238||8288<=e&&e<=8303;case 254:return 65024<=e&&e<=65039||e===65279;case 255:return 65520<=e&&e<=65528;default:return!1}else switch(r){case 1:return 113824<=e&&e<=113827||119155<=e&&e<=119162;case 14:return 917504<=e&&e<=921599;default:return!1}}getAvailableFeatures(e,r){let n=[];return this.engine&&n.push(...this.engine.getAvailableFeatures(e,r)),this.font.kern&&n.indexOf("kern")===-1&&n.push("kern"),n}stringsForGlyph(e){let r=new Set,n=this.font._cmapProcessor.codePointsForGlyph(e);for(let i of n)r.add(String.fromCodePoint(i));if(this.engine&&this.engine.stringsForGlyph)for(let i of this.engine.stringsForGlyph(e))r.add(i);return Array.from(r)}constructor(e){this.font=e,this.unicodeLayoutEngine=null,this.kernProcessor=null,this.font.morx?this.engine=new fLt(this.font):(this.font.GSUB||this.font.GPOS)&&(this.engine=new dRt(this.font))}}const ARt={moveTo:"M",lineTo:"L",quadraticCurveTo:"Q",bezierCurveTo:"C",closePath:"Z"};class _C{toFunction(){return e=>{this.commands.forEach(r=>e[r.command].apply(e,r.args))}}toSVG(){return this.commands.map(r=>{let n=r.args.map(i=>Math.round(i*100)/100);return`${ARt[r.command]}${n.join(" ")}`}).join("")}get cbox(){if(!this._cbox){let e=new xm;for(let r of this.commands)for(let n=0;n<r.args.length;n+=2)e.addPoint(r.args[n],r.args[n+1]);this._cbox=Object.freeze(e)}return this._cbox}get bbox(){if(this._bbox)return this._bbox;let e=new xm,r=0,n=0,i=v=>Math.pow(1-v,3)*p[m]+3*Math.pow(1-v,2)*v*h[m]+3*(1-v)*Math.pow(v,2)*A[m]+Math.pow(v,3)*g[m];for(let v of this.commands)switch(v.command){case"moveTo":case"lineTo":let[y,b]=v.args;e.addPoint(y,b),r=y,n=b;break;case"quadraticCurveTo":case"bezierCurveTo":if(v.command==="quadraticCurveTo")var[o,s,f,d]=v.args,a=r+2/3*(o-r),l=n+2/3*(s-n),c=f+2/3*(o-f),u=d+2/3*(s-d);else var[a,l,c,u,f,d]=v.args;e.addPoint(f,d);for(var p=[r,n],h=[a,l],A=[c,u],g=[f,d],m=0;m<=1;m++){let B=6*p[m]-12*h[m]+6*A[m],S=-3*p[m]+9*h[m]-9*A[m]+3*g[m];if(v=3*h[m]-3*p[m],S===0){if(B===0)continue;let F=-v/B;0<F&&F<1&&(m===0?e.addPoint(i(F),e.maxY):m===1&&e.addPoint(e.maxX,i(F)));continue}let w=Math.pow(B,2)-4*v*S;if(w<0)continue;let x=(-B+Math.sqrt(w))/(2*S);0<x&&x<1&&(m===0?e.addPoint(i(x),e.maxY):m===1&&e.addPoint(e.maxX,i(x)));let I=(-B-Math.sqrt(w))/(2*S);0<I&&I<1&&(m===0?e.addPoint(i(I),e.maxY):m===1&&e.addPoint(e.maxX,i(I)))}r=f,n=d;break}return this._bbox=Object.freeze(e)}mapPoints(e){let r=new _C;for(let n of this.commands){let i=[];for(let o=0;o<n.args.length;o+=2){let[s,a]=e(n.args[o],n.args[o+1]);i.push(s,a)}r[n.command](...i)}return r}transform(e,r,n,i,o,s){return this.mapPoints((a,l)=>{const c=e*a+n*l+o,u=r*a+i*l+s;return[c,u]})}translate(e,r){return this.transform(1,0,0,1,e,r)}rotate(e){let r=Math.cos(e),n=Math.sin(e);return this.transform(r,n,-n,r,0,0)}scale(e,r=e){return this.transform(e,0,0,r,0,0)}constructor(){this.commands=[],this._bbox=null,this._cbox=null}}for(let t of["moveTo","lineTo","quadraticCurveTo","bezierCurveTo","closePath"])_C.prototype[t]=function(...e){return this._bbox=this._cbox=null,this.commands.push({command:t,args:e}),this};var sw=[".notdef",".null","nonmarkingreturn","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","nonbreakingspace","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron","Lslash","lslash","Scaron","scaron","Zcaron","zcaron","brokenbar","Eth","eth","Yacute","yacute","Thorn","thorn","minus","multiply","onesuperior","twosuperior","threesuperior","onehalf","onequarter","threequarters","franc","Gbreve","gbreve","Idotaccent","Scedilla","scedilla","Cacute","cacute","Ccaron","ccaron","dcroat"];class Ep{_getPath(){return new _C}_getCBox(){return this.path.cbox}_getBBox(){return this.path.bbox}_getTableMetrics(e){if(this.id<e.metrics.length)return e.metrics.get(this.id);let r=e.metrics.get(e.metrics.length-1);return{advance:r?r.advance:0,bearing:e.bearings.get(this.id-e.metrics.length)||0}}_getMetrics(e){if(this._metrics)return this._metrics;let{advance:r,bearing:n}=this._getTableMetrics(this._font.hmtx);if(this._font.vmtx)var{advance:i,bearing:o}=this._getTableMetrics(this._font.vmtx);else{let s;if((typeof e>"u"||e===null)&&({cbox:e}=this),(s=this._font["OS/2"])&&s.version>0)var i=Math.abs(s.typoAscender-s.typoDescender),o=s.typoAscender-e.maxY;else{let{hhea:a}=this._font;var i=Math.abs(a.ascent-a.descent),o=a.ascent-e.maxY}}return this._font._variationProcessor&&this._font.HVAR&&(r+=this._font._variationProcessor.getAdvanceAdjustment(this.id,this._font.HVAR)),this._metrics={advanceWidth:r,advanceHeight:i,leftBearing:n,topBearing:o}}get cbox(){return this._getCBox()}get bbox(){return this._getBBox()}get path(){return this._getPath()}getScaledPath(e){let r=1/this._font.unitsPerEm*e;return this.path.scale(r)}get advanceWidth(){return this._getMetrics().advanceWidth}get advanceHeight(){return this._getMetrics().advanceHeight}get ligatureCaretPositions(){}_getName(){let{post:e}=this._font;if(!e)return null;switch(e.version){case 1:return sw[this.id];case 2:let r=e.glyphNameIndex[this.id];return r<sw.length?sw[r]:e.names[r-sw.length];case 2.5:return sw[this.id+e.offsets[this.id]];case 4:return String.fromCharCode(e.map[this.id])}}get name(){return this._getName()}render(e,r){e.save();let n=1/this._font.head.unitsPerEm*r;e.scale(n,n),this.path.toFunction()(e),e.fill(),e.restore()}constructor(e,r,n){this.id=e,this.codePoints=r,this._font=n,this.isMark=this.codePoints.length>0&&this.codePoints.every(hke),this.isLigature=this.codePoints.length>1}}Ea([Da],Ep.prototype,"cbox",null);Ea([Da],Ep.prototype,"bbox",null);Ea([Da],Ep.prototype,"path",null);Ea([Da],Ep.prototype,"advanceWidth",null);Ea([Da],Ep.prototype,"advanceHeight",null);Ea([Da],Ep.prototype,"name",null);let u0e=new ct({numberOfContours:Nt,xMin:Nt,yMin:Nt,xMax:Nt,yMax:Nt});const hRt=1,mRt=2,gRt=4,vRt=8,yRt=16,BRt=32,CRt=1,bRt=8,f0e=32,wRt=64,xRt=128,SRt=256;class gf{copy(){return new gf(this.onCurve,this.endContour,this.x,this.y)}constructor(e,r,n=0,i=0){this.onCurve=e,this.endContour=r,this.x=n,this.y=i}}class ERt{constructor(e,r,n){this.glyphID=e,this.dx=r,this.dy=n,this.pos=0,this.scaleX=this.scaleY=1,this.scale01=this.scale10=0}}class CN extends Ep{_getCBox(e){if(this._font._variationProcessor&&!e)return this.path.cbox;let r=this._font._getTableStream("glyf");r.pos+=this._font.loca.offsets[this.id];let n=u0e.decode(r),i=new xm(n.xMin,n.yMin,n.xMax,n.yMax);return Object.freeze(i)}_parseGlyphCoord(e,r,n,i){if(n){var o=e.readUInt8();i||(o=-o),o+=r}else if(i)var o=r;else var o=r+e.readInt16BE();return o}_decode(){let e=this._font.loca.offsets[this.id],r=this._font.loca.offsets[this.id+1];if(e===r)return null;let n=this._font._getTableStream("glyf");n.pos+=e;let i=n.pos,o=u0e.decode(n);return o.numberOfContours>0?this._decodeSimple(o,n):o.numberOfContours<0&&this._decodeComposite(o,n,i),o}_decodeSimple(e,r){e.points=[];let n=new Je(te,e.numberOfContours).decode(r);e.instructions=new Je(Zt,te).decode(r);let i=[],o=n[n.length-1]+1;for(;i.length<o;){var s=r.readUInt8();if(i.push(s),s&vRt){let u=r.readUInt8();for(let f=0;f<u;f++)i.push(s)}}for(var a=0;a<i.length;a++){var s=i[a];let f=new gf(!!(s&hRt),n.indexOf(a)>=0,0,0);e.points.push(f)}let l=0;for(var a=0;a<i.length;a++){var s=i[a];e.points[a].x=l=this._parseGlyphCoord(r,l,s&mRt,s&yRt)}let c=0;for(var a=0;a<i.length;a++){var s=i[a];e.points[a].y=c=this._parseGlyphCoord(r,c,s&gRt,s&BRt)}if(this._font._variationProcessor){let u=e.points.slice();u.push(...this._getPhantomPoints(e)),this._font._variationProcessor.transformPoints(this.id,u),e.phantomPoints=u.slice(-4)}}_decodeComposite(e,r,n=0){e.components=[];let i=!1,o=f0e;for(;o&f0e;){o=r.readUInt16BE();let c=r.pos-n,u=r.readUInt16BE();if(i||(i=(o&SRt)!==0),o&CRt)var s=r.readInt16BE(),a=r.readInt16BE();else var s=r.readInt8(),a=r.readInt8();var l=new ERt(u,s,a);l.pos=c,o&bRt?l.scaleX=l.scaleY=(r.readUInt8()<<24|r.readUInt8()<<16)/1073741824:o&wRt?(l.scaleX=(r.readUInt8()<<24|r.readUInt8()<<16)/1073741824,l.scaleY=(r.readUInt8()<<24|r.readUInt8()<<16)/1073741824):o&xRt&&(l.scaleX=(r.readUInt8()<<24|r.readUInt8()<<16)/1073741824,l.scale01=(r.readUInt8()<<24|r.readUInt8()<<16)/1073741824,l.scale10=(r.readUInt8()<<24|r.readUInt8()<<16)/1073741824,l.scaleY=(r.readUInt8()<<24|r.readUInt8()<<16)/1073741824),e.components.push(l)}if(this._font._variationProcessor){let c=[];for(let u=0;u<e.components.length;u++){var l=e.components[u];c.push(new gf(!0,!0,l.dx,l.dy))}c.push(...this._getPhantomPoints(e)),this._font._variationProcessor.transformPoints(this.id,c),e.phantomPoints=c.splice(-4,4);for(let u=0;u<c.length;u++){let f=c[u];e.components[u].dx=f.x,e.components[u].dy=f.y}}return i}_getPhantomPoints(e){let r=this._getCBox(!0);this._metrics==null&&(this._metrics=Ep.prototype._getMetrics.call(this,r));let{advanceWidth:n,advanceHeight:i,leftBearing:o,topBearing:s}=this._metrics;return[new gf(!1,!0,e.xMin-o,0),new gf(!1,!0,e.xMin-o+n,0),new gf(!1,!0,0,e.yMax+s),new gf(!1,!0,0,e.yMax+s+i)]}_getContours(){let e=this._decode();if(!e)return[];let r=[];if(e.numberOfContours<0)for(let s of e.components){let a=this._font.getGlyph(s.glyphID)._getContours();for(let l=0;l<a.length;l++){let c=a[l];for(let u=0;u<c.length;u++){let f=c[u],d=f.x*s.scaleX+f.y*s.scale01+s.dx,p=f.y*s.scaleY+f.x*s.scale10+s.dy;r.push(new gf(f.onCurve,f.endContour,d,p))}}}else r=e.points||[];e.phantomPoints&&!this._font.directory.tables.HVAR&&(this._metrics.advanceWidth=e.phantomPoints[1].x-e.phantomPoints[0].x,this._metrics.advanceHeight=e.phantomPoints[3].y-e.phantomPoints[2].y,this._metrics.leftBearing=e.xMin-e.phantomPoints[0].x,this._metrics.topBearing=e.phantomPoints[2].y-e.yMax);let n=[],i=[];for(let s=0;s<r.length;s++){var o=r[s];i.push(o),o.endContour&&(n.push(i),i=[])}return n}_getMetrics(){if(this._metrics)return this._metrics;let e=this._getCBox(!0);return super._getMetrics(e),this._font._variationProcessor&&!this._font.HVAR&&this.path,this._metrics}_getPath(){let e=this._getContours(),r=new _C;for(let i=0;i<e.length;i++){let o=e[i],s=o[0],a=o[o.length-1],l=0;if(s.onCurve){var n=null;l=1}else{a.onCurve?s=a:s=new gf(!1,!1,(s.x+a.x)/2,(s.y+a.y)/2);var n=s}r.moveTo(s.x,s.y);for(let c=l;c<o.length;c++){let u=o[c],f=c===0?s:o[c-1];if(f.onCurve&&u.onCurve)r.lineTo(u.x,u.y);else if(f.onCurve&&!u.onCurve)var n=u;else if(!f.onCurve&&!u.onCurve){let p=(f.x+u.x)/2,h=(f.y+u.y)/2;r.quadraticCurveTo(f.x,f.y,p,h);var n=u}else if(!f.onCurve&&u.onCurve){r.quadraticCurveTo(n.x,n.y,u.x,u.y);var n=null}else throw new Error("Unknown TTF path state")}n&&r.quadraticCurveTo(n.x,n.y,s.x,s.y),r.closePath()}return r}constructor(...e){super(...e),dc(this,"type","TTF")}}class DRt extends Ep{_getName(){return this._font.CFF2?super._getName():this._font["CFF "].getGlyphName(this.id)}bias(e){return e.length<1240?107:e.length<33900?1131:32768}_getPath(){let e=this._font.CFF2||this._font["CFF "],{stream:r}=e,n=e.topDict.CharStrings[this.id],i=n.offset+n.length;r.pos=n.offset;let o=new _C,s=[],a=[],l=null,c=0,u=0,f=0,d,p,h=!1;this._usedGsubrs=d={},this._usedSubrs=p={};let A=e.globalSubrIndex||[],g=this.bias(A),m=e.privateDictForGlyph(this.id)||{},v=m.Subrs||[],y=this.bias(v),b=e.topDict.vstore&&e.topDict.vstore.itemVariationStore,B=m.vsindex,S=this._font._variationProcessor;function w(){l==null&&(l=s.shift()+m.nominalWidthX)}function x(){return s.length%2!==0&&w(),c+=s.length>>1,s.length=0}function I(k,O){h&&o.closePath(),o.moveTo(k,O),h=!0}let F=function(){for(;r.pos<i;){let L=r.readUInt8();if(L<32){let M,H,V,j,R,Q,z,X,_,G,W,J,ee,q,Z,re;switch(L){case 1:case 3:case 18:case 23:x();break;case 4:s.length>1&&w(),f+=s.shift(),I(u,f);break;case 5:for(;s.length>=2;)u+=s.shift(),f+=s.shift(),o.lineTo(u,f);break;case 6:case 7:for(V=L===6;s.length>=1;)V?u+=s.shift():f+=s.shift(),o.lineTo(u,f),V=!V;break;case 8:for(;s.length>0;)j=u+s.shift(),R=f+s.shift(),Q=j+s.shift(),z=R+s.shift(),u=Q+s.shift(),f=z+s.shift(),o.bezierCurveTo(j,R,Q,z,u,f);break;case 10:if(M=s.pop()+y,H=v[M],H){p[M]=!0;let fe=r.pos,de=i;r.pos=H.offset,i=H.offset+H.length,F(),r.pos=fe,i=de}break;case 11:if(e.version>=2)break;return;case 14:if(e.version>=2)break;s.length>0&&w(),h&&(o.closePath(),h=!1);break;case 15:if(e.version<2)throw new Error("vsindex operator not supported in CFF v1");B=s.pop();break;case 16:{if(e.version<2)throw new Error("blend operator not supported in CFF v1");if(!S)throw new Error("blend operator in non-variation font");let fe=S.getBlendVector(b,B),de=s.pop(),ie=de*fe.length,le=s.length-ie,De=le-de;for(let Ae=0;Ae<de;Ae++){let ue=s[De+Ae];for(let Ne=0;Ne<fe.length;Ne++)ue+=fe[Ne]*s[le++];s[De+Ae]=ue}for(;ie--;)s.pop();break}case 19:case 20:x(),r.pos+=c+7>>3;break;case 21:s.length>2&&w(),u+=s.shift(),f+=s.shift(),I(u,f);break;case 22:s.length>1&&w(),u+=s.shift(),I(u,f);break;case 24:for(;s.length>=8;)j=u+s.shift(),R=f+s.shift(),Q=j+s.shift(),z=R+s.shift(),u=Q+s.shift(),f=z+s.shift(),o.bezierCurveTo(j,R,Q,z,u,f);u+=s.shift(),f+=s.shift(),o.lineTo(u,f);break;case 25:for(;s.length>=8;)u+=s.shift(),f+=s.shift(),o.lineTo(u,f);j=u+s.shift(),R=f+s.shift(),Q=j+s.shift(),z=R+s.shift(),u=Q+s.shift(),f=z+s.shift(),o.bezierCurveTo(j,R,Q,z,u,f);break;case 26:for(s.length%2&&(u+=s.shift());s.length>=4;)j=u,R=f+s.shift(),Q=j+s.shift(),z=R+s.shift(),u=Q,f=z+s.shift(),o.bezierCurveTo(j,R,Q,z,u,f);break;case 27:for(s.length%2&&(f+=s.shift());s.length>=4;)j=u+s.shift(),R=f,Q=j+s.shift(),z=R+s.shift(),u=Q+s.shift(),f=z,o.bezierCurveTo(j,R,Q,z,u,f);break;case 28:s.push(r.readInt16BE());break;case 29:if(M=s.pop()+g,H=A[M],H){d[M]=!0;let fe=r.pos,de=i;r.pos=H.offset,i=H.offset+H.length,F(),r.pos=fe,i=de}break;case 30:case 31:for(V=L===31;s.length>=4;)V?(j=u+s.shift(),R=f,Q=j+s.shift(),z=R+s.shift(),f=z+s.shift(),u=Q+(s.length===1?s.shift():0)):(j=u,R=f+s.shift(),Q=j+s.shift(),z=R+s.shift(),u=Q+s.shift(),f=z+(s.length===1?s.shift():0)),o.bezierCurveTo(j,R,Q,z,u,f),V=!V;break;case 12:switch(L=r.readUInt8(),L){case 3:let fe=s.pop(),de=s.pop();s.push(fe&&de?1:0);break;case 4:fe=s.pop(),de=s.pop(),s.push(fe||de?1:0);break;case 5:fe=s.pop(),s.push(fe?0:1);break;case 9:fe=s.pop(),s.push(Math.abs(fe));break;case 10:fe=s.pop(),de=s.pop(),s.push(fe+de);break;case 11:fe=s.pop(),de=s.pop(),s.push(fe-de);break;case 12:fe=s.pop(),de=s.pop(),s.push(fe/de);break;case 14:fe=s.pop(),s.push(-fe);break;case 15:fe=s.pop(),de=s.pop(),s.push(fe===de?1:0);break;case 18:s.pop();break;case 20:let ie=s.pop(),le=s.pop();a[le]=ie;break;case 21:le=s.pop(),s.push(a[le]||0);break;case 22:let De=s.pop(),Ae=s.pop(),ue=s.pop(),Ne=s.pop();s.push(ue<=Ne?De:Ae);break;case 23:s.push(Math.random());break;case 24:fe=s.pop(),de=s.pop(),s.push(fe*de);break;case 26:fe=s.pop(),s.push(Math.sqrt(fe));break;case 27:fe=s.pop(),s.push(fe,fe);break;case 28:fe=s.pop(),de=s.pop(),s.push(de,fe);break;case 29:le=s.pop(),le<0?le=0:le>s.length-1&&(le=s.length-1),s.push(s[le]);break;case 30:let Te=s.pop(),Re=s.pop();if(Re>=0)for(;Re>0;){var k=s[Te-1];for(let ze=Te-2;ze>=0;ze--)s[ze+1]=s[ze];s[0]=k,Re--}else for(;Re<0;){var k=s[0];for(let lt=0;lt<=Te;lt++)s[lt]=s[lt+1];s[Te-1]=k,Re++}break;case 34:j=u+s.shift(),R=f,Q=j+s.shift(),z=R+s.shift(),X=Q+s.shift(),_=z,G=X+s.shift(),W=_,J=G+s.shift(),ee=W,q=J+s.shift(),Z=ee,u=q,f=Z,o.bezierCurveTo(j,R,Q,z,X,_),o.bezierCurveTo(G,W,J,ee,q,Z);break;case 35:re=[];for(let ze=0;ze<=5;ze++)u+=s.shift(),f+=s.shift(),re.push(u,f);o.bezierCurveTo(...re.slice(0,6)),o.bezierCurveTo(...re.slice(6)),s.shift();break;case 36:j=u+s.shift(),R=f+s.shift(),Q=j+s.shift(),z=R+s.shift(),X=Q+s.shift(),_=z,G=X+s.shift(),W=_,J=G+s.shift(),ee=W+s.shift(),q=J+s.shift(),Z=ee,u=q,f=Z,o.bezierCurveTo(j,R,Q,z,X,_),o.bezierCurveTo(G,W,J,ee,q,Z);break;case 37:let je=u,Ve=f;re=[];for(let ze=0;ze<=4;ze++)u+=s.shift(),f+=s.shift(),re.push(u,f);Math.abs(u-je)>Math.abs(f-Ve)?(u+=s.shift(),f=Ve):(u=je,f+=s.shift()),re.push(u,f),o.bezierCurveTo(...re.slice(0,6)),o.bezierCurveTo(...re.slice(6));break;default:throw new Error(`Unknown op: 12 ${L}`)}break;default:throw new Error(`Unknown op: ${L}`)}}else if(L<247)s.push(L-139);else if(L<251){var O=r.readUInt8();s.push((L-247)*256+O+108)}else if(L<255){var O=r.readUInt8();s.push(-(L-251)*256-O-108)}else s.push(r.readInt32BE()/65536)}};return F(),h&&o.closePath(),o}constructor(...e){super(...e),dc(this,"type","CFF")}}let kRt=new ct({originX:te,originY:te,type:new Bi(4),data:new yp(t=>t.parent.buflen-t._currentOffset)});class ORt extends CN{getImageForSize(e){for(let s=0;s<this._font.sbix.imageTables.length;s++){var r=this._font.sbix.imageTables[s];if(r.ppem>=e)break}let n=r.imageOffsets,i=n[this.id],o=n[this.id+1];return i===o?null:(this._font.stream.pos=i,kRt.decode(this._font.stream,{buflen:o-i}))}render(e,r){let n=this.getImageForSize(r);if(n!=null){let i=r/this._font.unitsPerEm;e.image(n.data,{height:r,x:n.originX,y:(this.bbox.minY-n.originY)*i})}this._font.sbix.flags.renderOutlines&&super.render(e,r)}constructor(...e){super(...e),dc(this,"type","SBIX")}}class d0e{constructor(e,r){this.glyph=e,this.color=r}}class PRt extends Ep{_getBBox(){let e=new xm;for(let r=0;r<this.layers.length;r++){let i=this.layers[r].glyph.bbox;e.addPoint(i.minX,i.minY),e.addPoint(i.maxX,i.maxY)}return e}get layers(){let e=this._font.CPAL,r=this._font.COLR,n=0,i=r.baseGlyphRecord.length-1;for(;n<=i;){let u=n+i>>1;var o=r.baseGlyphRecord[u];if(this.id<o.gid)i=u-1;else if(this.id>o.gid)n=u+1;else{var s=o;break}}if(s==null){var a=this._font._getBaseGlyph(this.id),l={red:0,green:0,blue:0,alpha:255};return[new d0e(a,l)]}let c=[];for(let u=s.firstLayerIndex;u<s.firstLayerIndex+s.numLayers;u++){var o=r.layerRecords[u],l=e.colorRecords[o.paletteIndex],a=this._font._getBaseGlyph(o.gid);c.push(new d0e(a,l))}return c}render(e,r){for(let{glyph:n,color:i}of this.layers)e.fillColor([i.red,i.green,i.blue],i.alpha/255*100),n.render(e,r)}constructor(...e){super(...e),dc(this,"type","COLR")}}const IRt=32768,NRt=4095,FRt=32768,p0e=16384,TRt=8192,A0e=4095,h0e=128,m0e=127,LRt=128,RRt=64,MRt=63;class _Rt{normalizeCoords(e){let r=[];for(var n=0;n<this.font.fvar.axis.length;n++){let i=this.font.fvar.axis[n];e[n]<i.defaultValue?r.push((e[n]-i.defaultValue+Number.EPSILON)/(i.defaultValue-i.minValue+Number.EPSILON)):r.push((e[n]-i.defaultValue+Number.EPSILON)/(i.maxValue-i.defaultValue+Number.EPSILON))}if(this.font.avar)for(var n=0;n<this.font.avar.segment.length;n++){let o=this.font.avar.segment[n];for(let s=0;s<o.correspondence.length;s++){let a=o.correspondence[s];if(s>=1&&r[n]<a.fromCoord){let l=o.correspondence[s-1];r[n]=((r[n]-l.fromCoord)*(a.toCoord-l.toCoord)+Number.EPSILON)/(a.fromCoord-l.fromCoord+Number.EPSILON)+l.toCoord;break}}}return r}transformPoints(e,r){if(!this.font.fvar||!this.font.gvar)return;let{gvar:n}=this.font;if(e>=n.glyphCount)return;let i=n.offsets[e];if(i===n.offsets[e+1])return;let{stream:o}=this.font;if(o.pos=i,o.pos>=o.length)return;let s=o.readUInt16BE(),a=i+o.readUInt16BE();if(s&IRt){var l=o.pos;o.pos=a;var c=this.decodePoints();a=o.pos,o.pos=l}let u=r.map(g=>g.copy());s&=NRt;for(let g=0;g<s;g++){let m=o.readUInt16BE(),v=o.readUInt16BE();if(v&FRt){var f=[];for(let x=0;x<n.axisCount;x++)f.push(o.readInt16BE()/16384)}else{if((v&A0e)>=n.globalCoordCount)throw new Error("Invalid gvar table");var f=n.globalCoords[v&A0e]}if(v&p0e){var d=[];for(let x=0;x<n.axisCount;x++)d.push(o.readInt16BE()/16384);var p=[];for(let x=0;x<n.axisCount;x++)p.push(o.readInt16BE()/16384)}let y=this.tupleFactor(v,f,d,p);if(y===0){a+=m;continue}var l=o.pos;if(o.pos=a,v&TRt)var h=this.decodePoints();else var h=c;let B=h.length===0?r.length:h.length,S=this.decodeDeltas(B),w=this.decodeDeltas(B);if(h.length===0)for(let x=0;x<r.length;x++){var A=r[x];A.x+=Math.round(S[x]*y),A.y+=Math.round(w[x]*y)}else{let x=u.map(F=>F.copy()),I=r.map(()=>!1);for(let F=0;F<h.length;F++){let k=h[F];if(k<r.length){let O=x[k];I[k]=!0,O.x+=S[F]*y,O.y+=w[F]*y}}this.interpolateMissingDeltas(x,u,I);for(let F=0;F<r.length;F++){let k=x[F].x-u[F].x,O=x[F].y-u[F].y;r[F].x=Math.round(r[F].x+k),r[F].y=Math.round(r[F].y+O)}}a+=m,o.pos=l}}decodePoints(){let e=this.font.stream,r=e.readUInt8();r&h0e&&(r=(r&m0e)<<8|e.readUInt8());let n=new Uint16Array(r),i=0,o=0;for(;i<r;){let s=e.readUInt8(),a=(s&m0e)+1,l=s&h0e?e.readUInt16:e.readUInt8;for(let c=0;c<a&&i<r;c++)o+=l.call(e),n[i++]=o}return n}decodeDeltas(e){let r=this.font.stream,n=0,i=new Int16Array(e);for(;n<e;){let o=r.readUInt8(),s=(o&MRt)+1;if(o&LRt)n+=s;else{let a=o&RRt?r.readInt16BE:r.readInt8;for(let l=0;l<s&&n<e;l++)i[n++]=a.call(r)}}return i}tupleFactor(e,r,n,i){let o=this.normalizedCoords,{gvar:s}=this.font,a=1;for(let l=0;l<s.axisCount;l++)if(r[l]!==0){if(o[l]===0)return 0;if(e&p0e){if(o[l]<n[l]||o[l]>i[l])return 0;o[l]<r[l]?a=a*(o[l]-n[l]+Number.EPSILON)/(r[l]-n[l]+Number.EPSILON):a=a*(i[l]-o[l]+Number.EPSILON)/(i[l]-r[l]+Number.EPSILON)}else{if(o[l]<Math.min(0,r[l])||o[l]>Math.max(0,r[l]))return 0;a=(a*o[l]+Number.EPSILON)/(r[l]+Number.EPSILON)}}return a}interpolateMissingDeltas(e,r,n){if(e.length===0)return;let i=0;for(;i<e.length;){let o=i,s=i,a=e[s];for(;!a.endContour;)a=e[++s];for(;i<=s&&!n[i];)i++;if(i>s)continue;let l=i,c=i;for(i++;i<=s;)n[i]&&(this.deltaInterpolate(c+1,i-1,c,i,r,e),c=i),i++;c===l?this.deltaShift(o,s,c,r,e):(this.deltaInterpolate(c+1,s,c,l,r,e),l>0&&this.deltaInterpolate(o,l-1,c,l,r,e)),i=s+1}}deltaInterpolate(e,r,n,i,o,s){if(e>r)return;let a=["x","y"];for(let c=0;c<a.length;c++){let u=a[c];if(o[n][u]>o[i][u]){var l=n;n=i,i=l}let f=o[n][u],d=o[i][u],p=s[n][u],h=s[i][u];if(f!==d||p===h){let A=f===d?0:(h-p)/(d-f);for(let g=e;g<=r;g++){let m=o[g][u];m<=f?m+=p-f:m>=d?m+=h-d:m=p+(m-f)*A,s[g][u]=m}}}}deltaShift(e,r,n,i,o){let s=o[n].x-i[n].x,a=o[n].y-i[n].y;if(!(s===0&&a===0))for(let l=e;l<=r;l++)l!==n&&(o[l].x+=s,o[l].y+=a)}getAdvanceAdjustment(e,r){let n,i;if(r.advanceWidthMapping){let o=e;o>=r.advanceWidthMapping.mapCount&&(o=r.advanceWidthMapping.mapCount-1),r.advanceWidthMapping.entryFormat,{outerIndex:n,innerIndex:i}=r.advanceWidthMapping.mapData[o]}else n=0,i=e;return this.getDelta(r.itemVariationStore,n,i)}getDelta(e,r,n){if(r>=e.itemVariationData.length)return 0;let i=e.itemVariationData[r];if(n>=i.deltaSets.length)return 0;let o=i.deltaSets[n],s=this.getBlendVector(e,r),a=0;for(let l=0;l<i.regionIndexCount;l++)a+=o.deltas[l]*s[l];return a}getBlendVector(e,r){let n=e.itemVariationData[r];if(this.blendVectors.has(n))return this.blendVectors.get(n);let i=this.normalizedCoords,o=[];for(let s=0;s<n.regionIndexCount;s++){let a=1,l=n.regionIndexes[s],c=e.variationRegionList.variationRegions[l];for(let u=0;u<c.length;u++){let f=c[u],d;f.startCoord>f.peakCoord||f.peakCoord>f.endCoord||f.startCoord<0&&f.endCoord>0&&f.peakCoord!==0||f.peakCoord===0?d=1:i[u]<f.startCoord||i[u]>f.endCoord?d=0:i[u]===f.peakCoord?d=1:i[u]<f.peakCoord?d=(i[u]-f.startCoord+Number.EPSILON)/(f.peakCoord-f.startCoord+Number.EPSILON):d=(f.endCoord-i[u]+Number.EPSILON)/(f.endCoord-f.peakCoord+Number.EPSILON),a*=d}o[s]=a}return this.blendVectors.set(n,o),o}constructor(e,r){this.font=e,this.normalizedCoords=this.normalizeCoords(r),this.blendVectors=new Map}}Promise.resolve();class r9e{includeGlyph(e){return typeof e=="object"&&(e=e.id),this.mapping[e]==null&&(this.glyphs.push(e),this.mapping[e]=this.glyphs.length-1),this.mapping[e]}constructor(e){this.font=e,this.glyphs=[],this.mapping={},this.includeGlyph(0)}}const jRt=1,URt=2,QRt=4,VRt=8,$Rt=16,HRt=32;class g0e{static size(e){return e>=0&&e<=255?1:2}static encode(e,r){r>=0&&r<=255?e.writeUInt8(r):e.writeInt16BE(r)}}let v0e=new ct({numberOfContours:Nt,xMin:Nt,yMin:Nt,xMax:Nt,yMax:Nt,endPtsOfContours:new Je(te,"numberOfContours"),instructions:new Je(Zt,te),flags:new Je(Zt,0),xPoints:new Je(g0e,0),yPoints:new Je(g0e,0)});class GRt{encodeSimple(e,r=[]){let n=[],i=[],o=[],s=[],a=0,l=0,c=0,u=0,f=0;for(let m=0;m<e.commands.length;m++){let v=e.commands[m];for(let y=0;y<v.args.length;y+=2){let b=v.args[y],B=v.args[y+1],S=0;if(v.command==="quadraticCurveTo"&&y===2){let w=e.commands[m+1];if(w&&w.command==="quadraticCurveTo"){let x=(l+w.args[0])/2,I=(c+w.args[1])/2;if(b===x&&B===I)continue}}v.command==="quadraticCurveTo"&&y===0||(S|=jRt),S=this._encodePoint(b,l,i,S,URt,$Rt),S=this._encodePoint(B,c,o,S,QRt,HRt),S===u&&a<255?(s[s.length-1]|=VRt,a++):(a>0&&(s.push(a),a=0),s.push(S),u=S),l=b,c=B,f++}v.command==="closePath"&&n.push(f-1)}e.commands.length>1&&e.commands[e.commands.length-1].command!=="closePath"&&n.push(f-1);let d=e.bbox,p={numberOfContours:n.length,xMin:d.minX,yMin:d.minY,xMax:d.maxX,yMax:d.maxY,endPtsOfContours:n,instructions:r,flags:s,xPoints:i,yPoints:o},h=v0e.size(p),A=4-h%4,g=new tO(h+A);return v0e.encode(g,p),A!==0&&g.fill(0,A),g.buffer}_encodePoint(e,r,n,i,o,s){let a=e-r;return e===r?i|=s:(-255<=a&&a<=255&&(i|=o,a<0?a=-a:i|=s),n.push(a)),i}}class WRt extends r9e{_addGlyph(e){let r=this.font.getGlyph(e),n=r._decode(),i=this.font.loca.offsets[e],o=this.font.loca.offsets[e+1],s=this.font._getTableStream("glyf");s.pos+=i;let a=s.readBuffer(o-i);if(n&&n.numberOfContours<0){a=new Uint8Array(a);let l=new DataView(a.buffer);for(let c of n.components)e=this.includeGlyph(c.glyphID),l.setUint16(c.pos,e)}else n&&this.font._variationProcessor&&(a=this.glyphEncoder.encodeSimple(r.path,n.instructions));return this.glyf.push(a),this.loca.offsets.push(this.offset),this.hmtx.metrics.push({advance:r.advanceWidth,bearing:r._getMetrics().leftBearing}),this.offset+=a.length,this.glyf.length-1}encode(){this.glyf=[],this.offset=0,this.loca={offsets:[],version:this.font.loca.version},this.hmtx={metrics:[],bearings:[]};let e=0;for(;e<this.glyphs.length;)this._addGlyph(this.glyphs[e++]);let r=rj(this.font.maxp);r.numGlyphs=this.glyf.length,this.loca.offsets.push(this.offset);let n=rj(this.font.head);n.indexToLocFormat=this.loca.version;let i=rj(this.font.hhea);return i.numberOfMetrics=this.hmtx.metrics.length,Gke.toBuffer({tables:{head:n,hhea:i,loca:this.loca,maxp:r,"cvt ":this.font["cvt "],prep:this.font.prep,glyf:this.glyf,hmtx:this.hmtx,fpgm:this.font.fpgm}})}constructor(e){super(e),this.glyphEncoder=new GRt}}class zRt extends r9e{subsetCharstrings(){this.charstrings=[];let e={};for(let r of this.glyphs){this.charstrings.push(this.cff.getCharString(r));let n=this.font.getGlyph(r);n.path;for(let i in n._usedGsubrs)e[i]=!0}this.gsubrs=this.subsetSubrs(this.cff.globalSubrIndex,e)}subsetSubrs(e,r){let n=[];for(let i=0;i<e.length;i++){let o=e[i];r[i]?(this.cff.stream.pos=o.offset,n.push(this.cff.stream.readBuffer(o.length))):n.push(new Uint8Array([11]))}return n}subsetFontdict(e){e.FDArray=[],e.FDSelect={version:0,fds:[]};let r={},n=[],i={};for(let o of this.glyphs){let s=this.cff.fdForGlyph(o);if(s==null)continue;r[s]||(e.FDArray.push(Object.assign({},this.cff.topDict.FDArray[s])),n.push({}),i[s]=e.FDArray.length-1),r[s]=!0,e.FDSelect.fds.push(i[s]);let a=this.font.getGlyph(o);a.path;for(let l in a._usedSubrs)n[i[s]][l]=!0}for(let o=0;o<e.FDArray.length;o++){let s=e.FDArray[o];delete s.FontName,s.Private&&s.Private.Subrs&&(s.Private=Object.assign({},s.Private),s.Private.Subrs=this.subsetSubrs(s.Private.Subrs,n[o]))}}createCIDFontdict(e){let r={};for(let i of this.glyphs){let o=this.font.getGlyph(i);o.path;for(let s in o._usedSubrs)r[s]=!0}let n=Object.assign({},this.cff.topDict.Private);return this.cff.topDict.Private&&this.cff.topDict.Private.Subrs&&(n.Subrs=this.subsetSubrs(this.cff.topDict.Private.Subrs,r)),e.FDArray=[{Private:n}],e.FDSelect={version:3,nRanges:1,ranges:[{first:0,fd:0}],sentinel:this.charstrings.length}}addString(e){return e?(this.strings||(this.strings=[]),this.strings.push(e),SD.length+this.strings.length-1):null}encode(){this.subsetCharstrings();let e={version:this.charstrings.length>255?2:1,ranges:[{first:1,nLeft:this.charstrings.length-2}]},r=Object.assign({},this.cff.topDict);r.Private=null,r.charset=e,r.Encoding=null,r.CharStrings=this.charstrings;for(let i of["version","Notice","Copyright","FullName","FamilyName","Weight","PostScript","BaseFontName","FontName"])r[i]=this.addString(this.cff.string(r[i]));r.ROS=[this.addString("Adobe"),this.addString("Identity"),0],r.CIDCount=this.charstrings.length,this.cff.isCIDFont?this.subsetFontdict(r):this.createCIDFontdict(r);let n={version:1,hdrSize:this.cff.hdrSize,offSize:4,header:this.cff.header,nameIndex:[this.cff.postscriptName],topDictIndex:[r],stringIndex:this.strings,globalSubrIndex:this.gsubrs};return Uke.toBuffer(n)}constructor(e){if(super(e),this.cff=this.font["CFF "],!this.cff)throw new Error("Not a CFF Font")}}class Za{static probe(e){let r=gN.decode(e.slice(0,4));return r==="true"||r==="OTTO"||r===String.fromCharCode(0,1,0,0)}setDefaultLanguage(e=null){this.defaultLanguage=e}_getTable(e){if(!(e.tag in this._tables))try{this._tables[e.tag]=this._decodeTable(e)}catch{}return this._tables[e.tag]}_getTableStream(e){let r=this.directory.tables[e];return r?(this.stream.pos=r.offset,this.stream):null}_decodeDirectory(){return this.directory=Gke.decode(this.stream,{_startOffset:0})}_decodeTable(e){let r=this.stream.pos,n=this._getTableStream(e.tag),i=lO[e.tag].decode(n,this,e.length);return this.stream.pos=r,i}getName(e,r=this.defaultLanguage||oO){let n=this.name&&this.name.records[e];return n&&(n[r]||n[this.defaultLanguage]||n[oO]||n.en||n[Object.keys(n)[0]])||null}get postscriptName(){return this.getName("postscriptName")}get fullName(){return this.getName("fullName")}get familyName(){return this.getName("fontFamily")}get subfamilyName(){return this.getName("fontSubfamily")}get copyright(){return this.getName("copyright")}get version(){return this.getName("version")}get ascent(){return this.hhea.ascent}get descent(){return this.hhea.descent}get lineGap(){return this.hhea.lineGap}get underlinePosition(){return this.post.underlinePosition}get underlineThickness(){return this.post.underlineThickness}get italicAngle(){return this.post.italicAngle}get capHeight(){let e=this["OS/2"];return e?e.capHeight:this.ascent}get xHeight(){let e=this["OS/2"];return e?e.xHeight:0}get numGlyphs(){return this.maxp.numGlyphs}get unitsPerEm(){return this.head.unitsPerEm}get bbox(){return Object.freeze(new xm(this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax))}get _cmapProcessor(){return new cee(this.cmap)}get characterSet(){return this._cmapProcessor.getCharacterSet()}hasGlyphForCodePoint(e){return!!this._cmapProcessor.lookup(e)}glyphForCodePoint(e){return this.getGlyph(this._cmapProcessor.lookup(e),[e])}glyphsForString(e){let r=[],n=e.length,i=0,o=-1,s=-1;for(;i<=n;){let a=0,l=0;if(i<n){if(a=e.charCodeAt(i++),55296<=a&&a<=56319&&i<n){let c=e.charCodeAt(i);56320<=c&&c<=57343&&(i++,a=((a&1023)<<10)+(c&1023)+65536)}l=65024<=a&&a<=65039||917760<=a&&a<=917999?1:0}else i++;s===0&&l===1?r.push(this.getGlyph(this._cmapProcessor.lookup(o,a),[o,a])):s===0&&l===0&&r.push(this.glyphForCodePoint(o)),o=a,s=l}return r}get _layoutEngine(){return new pRt(this)}layout(e,r,n,i,o){return this._layoutEngine.layout(e,r,n,i,o)}stringsForGlyph(e){return this._layoutEngine.stringsForGlyph(e)}get availableFeatures(){return this._layoutEngine.getAvailableFeatures()}getAvailableFeatures(e,r){return this._layoutEngine.getAvailableFeatures(e,r)}_getBaseGlyph(e,r=[]){return this._glyphs[e]||(this.directory.tables.glyf?this._glyphs[e]=new CN(e,r,this):(this.directory.tables["CFF "]||this.directory.tables.CFF2)&&(this._glyphs[e]=new DRt(e,r,this))),this._glyphs[e]||null}getGlyph(e,r=[]){return this._glyphs[e]||(this.directory.tables.sbix?this._glyphs[e]=new ORt(e,r,this):this.directory.tables.COLR&&this.directory.tables.CPAL?this._glyphs[e]=new PRt(e,r,this):this._getBaseGlyph(e,r)),this._glyphs[e]||null}createSubset(){return this.directory.tables["CFF "]?new zRt(this):new WRt(this)}get variationAxes(){let e={};if(!this.fvar)return e;for(let r of this.fvar.axis)e[r.axisTag.trim()]={name:r.name.en,min:r.minValue,default:r.defaultValue,max:r.maxValue};return e}get namedVariations(){let e={};if(!this.fvar)return e;for(let r of this.fvar.instance){let n={};for(let i=0;i<this.fvar.axis.length;i++){let o=this.fvar.axis[i];n[o.axisTag.trim()]=r.coord[i]}e[r.name.en]=n}return e}getVariation(e){if(!(this.directory.tables.fvar&&(this.directory.tables.gvar&&this.directory.tables.glyf||this.directory.tables.CFF2)))throw new Error("Variations require a font with the fvar, gvar and glyf, or CFF2 tables.");if(typeof e=="string"&&(e=this.namedVariations[e]),typeof e!="object")throw new Error("Variation settings must be either a variation name or settings object.");let r=this.fvar.axis.map((o,s)=>{let a=o.axisTag.trim();return a in e?Math.max(o.minValue,Math.min(o.maxValue,e[a])):o.defaultValue}),n=new ya(this.stream.buffer);n.pos=this._directoryPos;let i=new Za(n,r);return i._tables=this._tables,i}get _variationProcessor(){if(!this.fvar)return null;let e=this.variationCoords;return!e&&!this.CFF2?null:(e||(e=this.fvar.axis.map(r=>r.defaultValue)),new _Rt(this,e))}getFont(e){return this.getVariation(e)}constructor(e,r=null){dc(this,"type","TTF"),this.defaultLanguage=null,this.stream=e,this.variationCoords=r,this._directoryPos=this.stream.pos,this._tables={},this._glyphs={},this._decodeDirectory();for(let n in this.directory.tables){let i=this.directory.tables[n];lO[n]&&i.length>0&&Object.defineProperty(this,n,{get:this._getTable.bind(this,i)})}}}Ea([Da],Za.prototype,"bbox",null);Ea([Da],Za.prototype,"_cmapProcessor",null);Ea([Da],Za.prototype,"characterSet",null);Ea([Da],Za.prototype,"_layoutEngine",null);Ea([Da],Za.prototype,"variationAxes",null);Ea([Da],Za.prototype,"namedVariations",null);Ea([Da],Za.prototype,"_variationProcessor",null);let KRt=new ct({tag:new Bi(4),offset:new Ze(et,"void",{type:"global"}),compLength:et,length:et,origChecksum:et}),n9e=new ct({tag:new Bi(4),flavor:et,length:et,numTables:te,reserved:new so(te),totalSfntSize:et,majorVersion:te,minorVersion:te,metaOffset:et,metaLength:et,metaOrigLength:et,privOffset:et,privLength:et,tables:new Je(KRt,"numTables")});n9e.process=function(){let t={};for(let e of this.tables)t[e.tag]=e;this.tables=t};var qRt=n9e;class XRt extends Za{static probe(e){return gN.decode(e.slice(0,4))==="wOFF"}_decodeDirectory(){this.directory=qRt.decode(this.stream,{_startOffset:0})}_getTableStream(e){let r=this.directory.tables[e];if(r)if(this.stream.pos=r.offset,r.compLength<r.length){this.stream.pos+=2;let n=new Uint8Array(r.length),i=UPt(this.stream.readBuffer(r.compLength-2),n);return new ya(i)}else return this.stream;return null}constructor(...e){super(...e),dc(this,"type","WOFF")}}class YRt extends CN{_decode(){return this._font._transformedGlyphs[this.id]}_getCBox(){return this.path.bbox}constructor(...e){super(...e),dc(this,"type","WOFF2")}}const y0e={decode(t){let e=0,r=[0,1,2,3,4];for(let n=0;n<r.length;n++){let i=t.readUInt8();if(e&3758096384)throw new Error("Overflow");if(e=e<<7|i&127,!(i&128))return e}throw new Error("Bad base 128 number")}};let JRt=["cmap","head","hhea","hmtx","maxp","name","OS/2","post","cvt ","fpgm","glyf","loca","prep","CFF ","VORG","EBDT","EBLC","gasp","hdmx","kern","LTSH","PCLT","VDMX","vhea","vmtx","BASE","GDEF","GPOS","GSUB","EBSC","JSTF","MATH","CBDT","CBLC","COLR","CPAL","SVG ","sbix","acnt","avar","bdat","bloc","bsln","cvar","fdsc","feat","fmtx","fvar","gvar","hsty","just","lcar","mort","morx","opbd","prop","trak","Zapf","Silf","Glat","Gloc","Feat","Sill"],ZRt=new ct({flags:Zt,customTag:new rO(new Bi(4),t=>(t.flags&63)===63),tag:t=>t.customTag||JRt[t.flags&63],length:y0e,transformVersion:t=>t.flags>>>6&3,transformed:t=>t.tag==="glyf"||t.tag==="loca"?t.transformVersion===0:t.transformVersion!==0,transformLength:new rO(y0e,t=>t.transformed)}),i9e=new ct({tag:new Bi(4),flavor:et,length:et,numTables:te,reserved:new so(te),totalSfntSize:et,totalCompressedSize:et,majorVersion:te,minorVersion:te,metaOffset:et,metaLength:et,metaOrigLength:et,privOffset:et,privLength:et,tables:new Je(ZRt,"numTables")});i9e.process=function(){let t={};for(let e=0;e<this.tables.length;e++){let r=this.tables[e];t[r.tag]=r}return this.tables=t};var eMt=i9e;class tMt extends Za{static probe(e){return gN.decode(e.slice(0,4))==="wOF2"}_decodeDirectory(){this.directory=eMt.decode(this.stream),this._dataPos=this.stream.pos}_decompress(){if(!this._decompressed){this.stream.pos=this._dataPos;let e=this.stream.readBuffer(this.directory.totalCompressedSize),r=0;for(let i in this.directory.tables){let o=this.directory.tables[i];o.offset=r,r+=o.transformLength!=null?o.transformLength:o.length}let n=SIt(e,r);if(!n)throw new Error("Error decoding compressed data in WOFF2");this.stream=new ya(n),this._decompressed=!0}}_decodeTable(e){return this._decompress(),super._decodeTable(e)}_getBaseGlyph(e,r=[]){if(!this._glyphs[e])return this.directory.tables.glyf&&this.directory.tables.glyf.transformed?(this._transformedGlyphs||this._transformGlyfTable(),this._glyphs[e]=new YRt(e,r,this)):super._getBaseGlyph(e,r)}_transformGlyfTable(){this._decompress(),this.stream.pos=this.directory.tables.glyf.offset;let e=rMt.decode(this.stream),r=[];for(let i=0;i<e.numGlyphs;i++){let o={},s=e.nContours.readInt16BE();if(o.numberOfContours=s,s>0){let a=[],l=0;for(let c=0;c<s;c++){let u=Aj(e.nPoints);l+=u,a.push(l)}o.points=sMt(e.flags,e.glyphs,l);for(let c=0;c<s;c++)o.points[a[c]-1].endContour=!0;var n=Aj(e.glyphs)}else if(s<0&&CN.prototype._decodeComposite.call({_font:this},o,e.composites))var n=Aj(e.glyphs);r.push(o)}this._transformedGlyphs=r}constructor(...e){super(...e),dc(this,"type","WOFF2")}}class Eg{decode(e,r){return new ya(this._buf.decode(e,r))}constructor(e){this.length=e,this._buf=new yp(e)}}let rMt=new ct({version:et,numGlyphs:te,indexFormat:te,nContourStreamSize:et,nPointsStreamSize:et,flagStreamSize:et,glyphStreamSize:et,compositeStreamSize:et,bboxStreamSize:et,instructionStreamSize:et,nContours:new Eg("nContourStreamSize"),nPoints:new Eg("nPointsStreamSize"),flags:new Eg("flagStreamSize"),glyphs:new Eg("glyphStreamSize"),composites:new Eg("compositeStreamSize"),bboxes:new Eg("bboxStreamSize"),instructions:new Eg("instructionStreamSize")});const nMt=253,iMt=254,oMt=255,B0e=253;function Aj(t){let e=t.readUInt8();return e===nMt?t.readUInt16BE():e===oMt?t.readUInt8()+B0e:e===iMt?t.readUInt8()+B0e*2:e}function wd(t,e){return t&1?e:-e}function sMt(t,e,r){let n,i=n=0,o=[];for(let l=0;l<r;l++){let c=0,u=0,f=t.readUInt8(),d=!(f>>7);if(f&=127,f<10)c=0,u=wd(f,((f&14)<<7)+e.readUInt8());else if(f<20)c=wd(f,((f-10&14)<<7)+e.readUInt8()),u=0;else if(f<84){var s=f-20,a=e.readUInt8();c=wd(f,1+(s&48)+(a>>4)),u=wd(f>>1,1+((s&12)<<2)+(a&15))}else if(f<120){var s=f-84;c=wd(f,1+(s/12<<8)+e.readUInt8()),u=wd(f>>1,1+(s%12>>2<<8)+e.readUInt8())}else if(f<124){var a=e.readUInt8();let h=e.readUInt8();c=wd(f,(a<<4)+(h>>4)),u=wd(f>>1,((h&15)<<8)+e.readUInt8())}else c=wd(f,e.readUInt16BE()),u=wd(f>>1,e.readUInt16BE());i+=c,n+=u,o.push(new gf(d,!1,i,n))}return o}let aMt=new Fn(et,{65536:{numFonts:et,offsets:new Je(et,"numFonts")},131072:{numFonts:et,offsets:new Je(et,"numFonts"),dsigTag:et,dsigLength:et,dsigOffset:et}});class lMt{static probe(e){return gN.decode(e.slice(0,4))==="ttcf"}getFont(e){for(let r of this.header.offsets){let n=new ya(this.stream.buffer);n.pos=r;let i=new Za(n);if(i.postscriptName===e||i.postscriptName instanceof Uint8Array&&e instanceof Uint8Array&&i.postscriptName.every((o,s)=>e[s]===o))return i}return null}get fonts(){let e=[];for(let r of this.header.offsets){let n=new ya(this.stream.buffer);n.pos=r,e.push(new Za(n))}return e}constructor(e){if(dc(this,"type","TTC"),this.stream=e,e.readString(4)!=="ttcf")throw new Error("Not a TrueType collection");this.header=aMt.decode(e)}}let cMt=new Bi(Zt);new ct({len:et,buf:new yp("len")});let uMt=new ct({id:te,nameOffset:Nt,attr:Zt,dataOffset:nm,handle:et}),fMt=new ct({name:new Bi(4),maxTypeIndex:te,refList:new Ze(te,new Je(uMt,t=>t.maxTypeIndex+1),{type:"parent"})}),dMt=new ct({length:te,types:new Je(fMt,t=>t.length+1)}),pMt=new ct({reserved:new so(Zt,24),typeList:new Ze(te,dMt),nameListOffset:new Ze(te,"void")}),C0e=new ct({dataOffset:et,map:new Ze(et,pMt),dataLength:et,mapLength:et});class AMt{static probe(e){let r=new ya(e);try{var n=C0e.decode(r)}catch{return!1}for(let i of n.map.typeList.types)if(i.name==="sfnt")return!0;return!1}getFont(e){if(!this.sfnt)return null;for(let r of this.sfnt.refList){let n=this.header.dataOffset+r.dataOffset+4,i=new ya(this.stream.buffer.slice(n)),o=new Za(i);if(o.postscriptName===e||o.postscriptName instanceof Uint8Array&&e instanceof Uint8Array&&o.postscriptName.every((s,a)=>e[a]===s))return o}return null}get fonts(){let e=[];for(let r of this.sfnt.refList){let n=this.header.dataOffset+r.dataOffset+4,i=new ya(this.stream.buffer.slice(n));e.push(new Za(i))}return e}constructor(e){dc(this,"type","DFont"),this.stream=e,this.header=C0e.decode(this.stream);for(let r of this.header.map.typeList.types){for(let n of r.refList)n.nameOffset>=0?(this.stream.pos=n.nameOffset+this.header.map.nameListOffset,n.name=cMt.decode(this.stream)):n.name=null;r.name==="sfnt"&&(this.sfnt=r)}}}MC(Za);MC(XRt);MC(tMt);MC(lMt);MC(AMt);const hMt=t=>{const e=/^(\d{3})/,r=t.match(e);let n="400",i="normal";return r?(n=r[1],i=t.replace(n,"").toLowerCase()||i):t.includes("italic")?i="italic":t.includes("oblique")&&(i="oblique"),{weight:n,style:i}},mMt=t=>{const e=/:root\s*{([^}]*)}/g;let r="",n;for(;(n=e.exec(t))!==null;)r+=" "+n[1].trim()+` `;const i=t.replace(e,"").trim();return`:root { ${r} } `+i},o9e=t=>{const e=`https://fonts.googleapis.com/css2?family=${t?.replace(" ","+")}`,r=document.createElement("link");r.href=e,r.rel="stylesheet",document.head.appendChild(r)},gMt=()=>{const e=window.location.pathname.split("/").filter(Boolean),r=["wp-admin","wp-content","wp-includes"],n=e.findIndex(o=>r.includes(o)),i=n>=0?e.slice(0,n):e;return i.length?"/"+i.join("/"):""},GB=(t,e)=>{const r=t.customVariable?.length>0?`--${t.customVariable}`:`--cf-font-family--${t?.family.split(" ").join("-").toLowerCase()}`,n=` :root { ${r}: '${t?.family}'; }`,i=t.customSelectors.length?` ${t.customSelectors} { font-family: var(${r}); }`:"";return t.variants.filter(o=>e.includes(o.id)).map(o=>{const s=o.id.match(/\d{3}/)?.[0]||"400",a=o.id.includes("italic")?"italic":"normal",c=`${gMt()}/wp-content/uploads/core-framework/fonts/${t.family}-${o.id}.woff2`,u=o.comment?` //${o.comment}`:"",f=o.cssSelector.length?` ${o.cssSelector} { font-family: var(${r}); font-style: ${a}; font-weight: ${s}; } `:"";return u+` @font-face { font-family: '${t?.family}'; font-style: ${a}; font-weight: ${s}; font-stretch: 100%; font-display: ${o.fontDisplay.toLowerCase()}; src: url('${c}') format('woff2'); } `+f}).join("")+`${n} `+i},s9e=t=>new Promise((e,r)=>{const n=new FileReader;n.onloadend=()=>e(n.result),n.onerror=r,n.readAsDataURL(t)}),vMt=async t=>{try{const e=await t.arrayBuffer(),r=new Uint8Array(e),n=wke(r),i=n["OS/2"];return{family:n.familyName||null,weight:i?i.usWeightClass.toString():"400",style:i?i.fsSelection.italic?"italic":"normal":null}}catch(e){return console.error("Error extracting font family:",e),null}};function yMt({variant:t,selectedVariants:e,toggleVariant:r,selectedFont:n,onEditFontVariant:i}){const[o,s]=E.useState(""),{weight:a,style:l}=hMt(t.id);return C.jsxs(C.Fragment,{children:[C.jsxs("li",{className:"class-row selectors-layout font-variants",children:[C.jsxs("div",{className:"row gap-m align-center",children:[C.jsx(Ln,{color:"primary.3",checked:e.includes(t.id),onChange:()=>r(t.id),style:{marginRight:20}}),C.jsx("span",{className:"font-variants-bold",children:a}),C.jsx("span",{className:"font-variants-bold",style:{fontStyle:l},children:l[0].toUpperCase()+l.slice(1)})]}),C.jsx("p",{style:{fontFamily:n?.family,fontWeight:a,fontStyle:l},children:"The quick brown fox jumps over a lazy dog."}),C.jsx("div",{className:"fonts-actions",children:C.jsx("button",{className:"btn-secondary edit",onClick:()=>s(t.id===o?"":t.id),children:C.jsx(nke,{})})})]},t.id),o&&o===t.id&&C.jsxs("div",{className:"row gap-s",style:{padding:"13px 10px"},children:[C.jsxs("div",{children:[C.jsx("label",{htmlFor:"variant_display",className:"import-fonts-label",children:"Font display"}),C.jsx(ra,{name:"variant_display",onChange:c=>i(t.id,"fontDisplay",c||""),value:t.fontDisplay,data:KZ,style:{minWidth:"12rem"}})]}),C.jsxs("div",{children:[C.jsx("label",{htmlFor:"variant_comment",className:"import-fonts-label",children:"Comment"}),C.jsx("div",{className:"prefixed-input-container input-wrapper",style:{height:"fit-content"},children:C.jsx("input",{id:"variant-comment",name:"variant_comment",type:"text",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,size:40,value:t.comment,onChange:({target:{value:c}})=>{i(t.id,"comment",c)},placeholder:"Primary font variant"})})]}),C.jsxs("div",{children:[C.jsx("label",{htmlFor:"variant_css_selector",className:"import-fonts-label",children:"CSS Selector"}),C.jsx("div",{className:"prefixed-input-container input-wrapper",style:{height:"fit-content"},children:C.jsx("input",{id:"variant-css-selector",name:"variant_css_selector",type:"text",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,size:40,value:t.cssSelector,onChange:({target:{value:c}})=>{i(t.id,"cssSelector",c)},placeholder:"eg: .my-font-variant, h1"})})]})]})]})}function fee({selectedVariants:t,selectedFont:e,toggleVariant:r,onEditFontVariant:n}){return C.jsxs(C.Fragment,{children:[C.jsx(zm,{type:"font-variants"}),C.jsx("ul",{className:"grid border-primary radius relative",children:e?.variants?.map(i=>C.jsx(yMt,{selectedFont:e,variant:i,selectedVariants:t,onEditFontVariant:n,toggleVariant:r},i.id))})]})}function a9e(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(e=>{const r=t[e],n=typeof r;(n==="object"||n==="function")&&!Object.isFrozen(r)&&a9e(r)}),t}class b0e{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function l9e(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function T0(t,...e){const r=Object.create(null);for(const n in t)r[n]=t[n];return e.forEach(function(n){for(const i in n)r[i]=n[i]}),r}const BMt="</span>",w0e=t=>!!t.scope,CMt=(t,{prefix:e})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){const r=t.split(".");return[`${e}${r.shift()}`,...r.map((n,i)=>`${n}${"_".repeat(i+1)}`)].join(" ")}return`${e}${t}`};class bMt{constructor(e,r){this.buffer="",this.classPrefix=r.classPrefix,e.walk(this)}addText(e){this.buffer+=l9e(e)}openNode(e){if(!w0e(e))return;const r=CMt(e.scope,{prefix:this.classPrefix});this.span(r)}closeNode(e){w0e(e)&&(this.buffer+=BMt)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const x0e=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class dee{constructor(){this.rootNode=x0e(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const r=x0e({scope:e});this.add(r),this.stack.push(r)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,r){return typeof r=="string"?e.addText(r):r.children&&(e.openNode(r),r.children.forEach(n=>this._walk(e,n)),e.closeNode(r)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(r=>typeof r=="string")?e.children=[e.children.join("")]:e.children.forEach(r=>{dee._collapse(r)}))}}class wMt extends dee{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,r){const n=e.root;r&&(n.scope=`language:${r}`),this.add(n)}toHTML(){return new bMt(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function X4(t){return t?typeof t=="string"?t:t.source:null}function c9e(t){return wv("(?=",t,")")}function xMt(t){return wv("(?:",t,")*")}function SMt(t){return wv("(?:",t,")?")}function wv(...t){return t.map(r=>X4(r)).join("")}function EMt(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function pee(...t){return"("+(EMt(t).capture?"":"?:")+t.map(n=>X4(n)).join("|")+")"}function u9e(t){return new RegExp(t.toString()+"|").exec("").length-1}function DMt(t,e){const r=t&&t.exec(e);return r&&r.index===0}const kMt=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function Aee(t,{joinWith:e}){let r=0;return t.map(n=>{r+=1;const i=r;let o=X4(n),s="";for(;o.length>0;){const a=kMt.exec(o);if(!a){s+=o;break}s+=o.substring(0,a.index),o=o.substring(a.index+a[0].length),a[0][0]==="\\"&&a[1]?s+="\\"+String(Number(a[1])+i):(s+=a[0],a[0]==="("&&r++)}return s}).map(n=>`(${n})`).join(e)}const OMt=/\b\B/,f9e="[a-zA-Z]\\w*",hee="[a-zA-Z_]\\w*",d9e="\\b\\d+(\\.\\d+)?",p9e="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",A9e="\\b(0b[01]+)",PMt="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",IMt=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=wv(e,/.*\b/,t.binary,/\b.*/)),T0({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(r,n)=>{r.index!==0&&n.ignoreMatch()}},t)},Y4={begin:"\\\\[\\s\\S]",relevance:0},NMt={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Y4]},FMt={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Y4]},TMt={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},bN=function(t,e,r={}){const n=T0({scope:"comment",begin:t,end:e,contains:[]},r);n.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=pee("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return n.contains.push({begin:wv(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),n},LMt=bN("//","$"),RMt=bN("/\\*","\\*/"),MMt=bN("#","$"),_Mt={scope:"number",begin:d9e,relevance:0},jMt={scope:"number",begin:p9e,relevance:0},UMt={scope:"number",begin:A9e,relevance:0},QMt={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Y4,{begin:/\[/,end:/\]/,relevance:0,contains:[Y4]}]},VMt={scope:"title",begin:f9e,relevance:0},$Mt={scope:"title",begin:hee,relevance:0},HMt={begin:"\\.\\s*"+hee,relevance:0},GMt=function(t){return Object.assign(t,{"on:begin":(e,r)=>{r.data._beginMatch=e[1]},"on:end":(e,r)=>{r.data._beginMatch!==e[1]&&r.ignoreMatch()}})};var b8=Object.freeze({__proto__:null,APOS_STRING_MODE:NMt,BACKSLASH_ESCAPE:Y4,BINARY_NUMBER_MODE:UMt,BINARY_NUMBER_RE:A9e,COMMENT:bN,C_BLOCK_COMMENT_MODE:RMt,C_LINE_COMMENT_MODE:LMt,C_NUMBER_MODE:jMt,C_NUMBER_RE:p9e,END_SAME_AS_BEGIN:GMt,HASH_COMMENT_MODE:MMt,IDENT_RE:f9e,MATCH_NOTHING_RE:OMt,METHOD_GUARD:HMt,NUMBER_MODE:_Mt,NUMBER_RE:d9e,PHRASAL_WORDS_MODE:TMt,QUOTE_STRING_MODE:FMt,REGEXP_MODE:QMt,RE_STARTERS_RE:PMt,SHEBANG:IMt,TITLE_MODE:VMt,UNDERSCORE_IDENT_RE:hee,UNDERSCORE_TITLE_MODE:$Mt});function WMt(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function zMt(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function KMt(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=WMt,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function qMt(t,e){Array.isArray(t.illegal)&&(t.illegal=pee(...t.illegal))}function XMt(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function YMt(t,e){t.relevance===void 0&&(t.relevance=1)}const JMt=(t,e)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");const r=Object.assign({},t);Object.keys(t).forEach(n=>{delete t[n]}),t.keywords=r.keywords,t.begin=wv(r.beforeMatch,c9e(r.begin)),t.starts={relevance:0,contains:[Object.assign(r,{endsParent:!0})]},t.relevance=0,delete r.beforeMatch},ZMt=["of","and","for","in","not","or","if","then","parent","list","value"],e_t="keyword";function h9e(t,e,r=e_t){const n=Object.create(null);return typeof t=="string"?i(r,t.split(" ")):Array.isArray(t)?i(r,t):Object.keys(t).forEach(function(o){Object.assign(n,h9e(t[o],e,o))}),n;function i(o,s){e&&(s=s.map(a=>a.toLowerCase())),s.forEach(function(a){const l=a.split("|");n[l[0]]=[o,t_t(l[0],l[1])]})}}function t_t(t,e){return e?Number(e):r_t(t)?0:1}function r_t(t){return ZMt.includes(t.toLowerCase())}const S0e={},S1=t=>{console.error(t)},E0e=(t,...e)=>{console.log(`WARN: ${t}`,...e)},Cy=(t,e)=>{S0e[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),S0e[`${t}/${e}`]=!0)},mO=new Error;function m9e(t,e,{key:r}){let n=0;const i=t[r],o={},s={};for(let a=1;a<=e.length;a++)s[a+n]=i[a],o[a+n]=!0,n+=u9e(e[a-1]);t[r]=s,t[r]._emit=o,t[r]._multi=!0}function n_t(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw S1("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),mO;if(typeof t.beginScope!="object"||t.beginScope===null)throw S1("beginScope must be object"),mO;m9e(t,t.begin,{key:"beginScope"}),t.begin=Aee(t.begin,{joinWith:""})}}function i_t(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw S1("skip, excludeEnd, returnEnd not compatible with endScope: {}"),mO;if(typeof t.endScope!="object"||t.endScope===null)throw S1("endScope must be object"),mO;m9e(t,t.end,{key:"endScope"}),t.end=Aee(t.end,{joinWith:""})}}function o_t(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function s_t(t){o_t(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),n_t(t),i_t(t)}function a_t(t){function e(s,a){return new RegExp(X4(s),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(a?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(a,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,a]),this.matchAt+=u9e(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const a=this.regexes.map(l=>l[1]);this.matcherRe=e(Aee(a,{joinWith:"|"}),!0),this.lastIndex=0}exec(a){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(a);if(!l)return null;const c=l.findIndex((f,d)=>d>0&&f!==void 0),u=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,u)}}class n{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(a){if(this.multiRegexes[a])return this.multiRegexes[a];const l=new r;return this.rules.slice(a).forEach(([c,u])=>l.addRule(c,u)),l.compile(),this.multiRegexes[a]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(a,l){this.rules.push([a,l]),l.type==="begin"&&this.count++}exec(a){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let c=l.exec(a);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,c=u.exec(a)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function i(s){const a=new n;return s.contains.forEach(l=>a.addRule(l.begin,{rule:l,type:"begin"})),s.terminatorEnd&&a.addRule(s.terminatorEnd,{type:"end"}),s.illegal&&a.addRule(s.illegal,{type:"illegal"}),a}function o(s,a){const l=s;if(s.isCompiled)return l;[zMt,XMt,s_t,JMt].forEach(u=>u(s,a)),t.compilerExtensions.forEach(u=>u(s,a)),s.__beforeBegin=null,[KMt,qMt,YMt].forEach(u=>u(s,a)),s.isCompiled=!0;let c=null;return typeof s.keywords=="object"&&s.keywords.$pattern&&(s.keywords=Object.assign({},s.keywords),c=s.keywords.$pattern,delete s.keywords.$pattern),c=c||/\w+/,s.keywords&&(s.keywords=h9e(s.keywords,t.case_insensitive)),l.keywordPatternRe=e(c,!0),a&&(s.begin||(s.begin=/\B|\b/),l.beginRe=e(l.begin),!s.end&&!s.endsWithParent&&(s.end=/\B|\b/),s.end&&(l.endRe=e(l.end)),l.terminatorEnd=X4(l.end)||"",s.endsWithParent&&a.terminatorEnd&&(l.terminatorEnd+=(s.end?"|":"")+a.terminatorEnd)),s.illegal&&(l.illegalRe=e(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map(function(u){return l_t(u==="self"?s:u)})),s.contains.forEach(function(u){o(u,l)}),s.starts&&o(s.starts,a),l.matcher=i(l),l}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=T0(t.classNameAliases||{}),o(t)}function g9e(t){return t?t.endsWithParent||g9e(t.starts):!1}function l_t(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return T0(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:g9e(t)?T0(t,{starts:t.starts?T0(t.starts):null}):Object.isFrozen(t)?T0(t):t}var c_t="11.11.1";class u_t extends Error{constructor(e,r){super(e),this.name="HTMLInjectionError",this.html=r}}const hj=l9e,D0e=T0,k0e=Symbol("nomatch"),f_t=7,v9e=function(t){const e=Object.create(null),r=Object.create(null),n=[];let i=!0;const o="Could not find the language '{}', did you forget to load/include a language module?",s={disableAutodetect:!0,name:"Plain text",contains:[]};let a={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:wMt};function l(V){return a.noHighlightRe.test(V)}function c(V){let j=V.className+" ";j+=V.parentNode?V.parentNode.className:"";const R=a.languageDetectRe.exec(j);if(R){const Q=x(R[1]);return Q||(E0e(o.replace("{}",R[1])),E0e("Falling back to no-highlight mode for this block.",V)),Q?R[1]:"no-highlight"}return j.split(/\s+/).find(Q=>l(Q)||x(Q))}function u(V,j,R){let Q="",z="";typeof j=="object"?(Q=V,R=j.ignoreIllegals,z=j.language):(Cy("10.7.0","highlight(lang, code, ...args) has been deprecated."),Cy("10.7.0",`Please use highlight(code, options) instead. https://github.com/highlightjs/highlight.js/issues/2277`),z=V,Q=j),R===void 0&&(R=!0);const X={code:Q,language:z};M("before:highlight",X);const _=X.result?X.result:f(X.language,X.code,R);return _.code=X.code,M("after:highlight",_),_}function f(V,j,R,Q){const z=Object.create(null);function X(U,D){return U.keywords[D]}function _(){if(!Te.keywords){je.addText(Ve);return}let U=0;Te.keywordPatternRe.lastIndex=0;let D=Te.keywordPatternRe.exec(Ve),N="";for(;D;){N+=Ve.substring(U,D.index);const Y=Ae.case_insensitive?D[0].toLowerCase():D[0],pe=X(Te,Y);if(pe){const[be,_e]=pe;if(je.addText(N),N="",z[Y]=(z[Y]||0)+1,z[Y]<=f_t&&(ze+=_e),be.startsWith("_"))N+=D[0];else{const he=Ae.classNameAliases[be]||be;J(D[0],he)}}else N+=D[0];U=Te.keywordPatternRe.lastIndex,D=Te.keywordPatternRe.exec(Ve)}N+=Ve.substring(U),je.addText(N)}function G(){if(Ve==="")return;let U=null;if(typeof Te.subLanguage=="string"){if(!e[Te.subLanguage]){je.addText(Ve);return}U=f(Te.subLanguage,Ve,!0,Re[Te.subLanguage]),Re[Te.subLanguage]=U._top}else U=p(Ve,Te.subLanguage.length?Te.subLanguage:null);Te.relevance>0&&(ze+=U.relevance),je.__addSublanguage(U._emitter,U.language)}function W(){Te.subLanguage!=null?G():_(),Ve=""}function J(U,D){U!==""&&(je.startScope(D),je.addText(U),je.endScope())}function ee(U,D){let N=1;const Y=D.length-1;for(;N<=Y;){if(!U._emit[N]){N++;continue}const pe=Ae.classNameAliases[U[N]]||U[N],be=D[N];pe?J(be,pe):(Ve=be,_(),Ve=""),N++}}function q(U,D){return U.scope&&typeof U.scope=="string"&&je.openNode(Ae.classNameAliases[U.scope]||U.scope),U.beginScope&&(U.beginScope._wrap?(J(Ve,Ae.classNameAliases[U.beginScope._wrap]||U.beginScope._wrap),Ve=""):U.beginScope._multi&&(ee(U.beginScope,D),Ve="")),Te=Object.create(U,{parent:{value:Te}}),Te}function Z(U,D,N){let Y=DMt(U.endRe,N);if(Y){if(U["on:end"]){const pe=new b0e(U);U["on:end"](D,pe),pe.isMatchIgnored&&(Y=!1)}if(Y){for(;U.endsParent&&U.parent;)U=U.parent;return U}}if(U.endsWithParent)return Z(U.parent,D,N)}function re(U){return Te.matcher.regexIndex===0?(Ve+=U[0],1):(_t=!0,0)}function fe(U){const D=U[0],N=U.rule,Y=new b0e(N),pe=[N.__beforeBegin,N["on:begin"]];for(const be of pe)if(be&&(be(U,Y),Y.isMatchIgnored))return re(D);return N.skip?Ve+=D:(N.excludeBegin&&(Ve+=D),W(),!N.returnBegin&&!N.excludeBegin&&(Ve=D)),q(N,U),N.returnBegin?0:D.length}function de(U){const D=U[0],N=j.substring(U.index),Y=Z(Te,U,N);if(!Y)return k0e;const pe=Te;Te.endScope&&Te.endScope._wrap?(W(),J(D,Te.endScope._wrap)):Te.endScope&&Te.endScope._multi?(W(),ee(Te.endScope,U)):pe.skip?Ve+=D:(pe.returnEnd||pe.excludeEnd||(Ve+=D),W(),pe.excludeEnd&&(Ve=D));do Te.scope&&je.closeNode(),!Te.skip&&!Te.subLanguage&&(ze+=Te.relevance),Te=Te.parent;while(Te!==Y.parent);return Y.starts&&q(Y.starts,U),pe.returnEnd?0:D.length}function ie(){const U=[];for(let D=Te;D!==Ae;D=D.parent)D.scope&&U.unshift(D.scope);U.forEach(D=>je.openNode(D))}let le={};function De(U,D){const N=D&&D[0];if(Ve+=U,N==null)return W(),0;if(le.type==="begin"&&D.type==="end"&&le.index===D.index&&N===""){if(Ve+=j.slice(D.index,D.index+1),!i){const Y=new Error(`0 width match regex (${V})`);throw Y.languageName=V,Y.badRule=le.rule,Y}return 1}if(le=D,D.type==="begin")return fe(D);if(D.type==="illegal"&&!R){const Y=new Error('Illegal lexeme "'+N+'" for mode "'+(Te.scope||"<unnamed>")+'"');throw Y.mode=Te,Y}else if(D.type==="end"){const Y=de(D);if(Y!==k0e)return Y}if(D.type==="illegal"&&N==="")return Ve+=` `,1;if(gt>1e5&>>D.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Ve+=N,N.length}const Ae=x(V);if(!Ae)throw S1(o.replace("{}",V)),new Error('Unknown language: "'+V+'"');const ue=a_t(Ae);let Ne="",Te=Q||ue;const Re={},je=new a.__emitter(a);ie();let Ve="",ze=0,lt=0,gt=0,_t=!1;try{if(Ae.__emitTokens)Ae.__emitTokens(j,je);else{for(Te.matcher.considerAll();;){gt++,_t?_t=!1:Te.matcher.considerAll(),Te.matcher.lastIndex=lt;const U=Te.matcher.exec(j);if(!U)break;const D=j.substring(lt,U.index),N=De(D,U);lt=U.index+N}De(j.substring(lt))}return je.finalize(),Ne=je.toHTML(),{language:V,value:Ne,relevance:ze,illegal:!1,_emitter:je,_top:Te}}catch(U){if(U.message&&U.message.includes("Illegal"))return{language:V,value:hj(j),illegal:!0,relevance:0,_illegalBy:{message:U.message,index:lt,context:j.slice(lt-100,lt+100),mode:U.mode,resultSoFar:Ne},_emitter:je};if(i)return{language:V,value:hj(j),illegal:!1,relevance:0,errorRaised:U,_emitter:je,_top:Te};throw U}}function d(V){const j={value:hj(V),illegal:!1,relevance:0,_top:s,_emitter:new a.__emitter(a)};return j._emitter.addText(V),j}function p(V,j){j=j||a.languages||Object.keys(e);const R=d(V),Q=j.filter(x).filter(F).map(W=>f(W,V,!1));Q.unshift(R);const z=Q.sort((W,J)=>{if(W.relevance!==J.relevance)return J.relevance-W.relevance;if(W.language&&J.language){if(x(W.language).supersetOf===J.language)return 1;if(x(J.language).supersetOf===W.language)return-1}return 0}),[X,_]=z,G=X;return G.secondBest=_,G}function h(V,j,R){const Q=j&&r[j]||R;V.classList.add("hljs"),V.classList.add(`language-${Q}`)}function A(V){let j=null;const R=c(V);if(l(R))return;if(M("before:highlightElement",{el:V,language:R}),V.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",V);return}if(V.children.length>0&&(a.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(V)),a.throwUnescapedHTML))throw new u_t("One of your code blocks includes unescaped HTML.",V.innerHTML);j=V;const Q=j.textContent,z=R?u(Q,{language:R,ignoreIllegals:!0}):p(Q);V.innerHTML=z.value,V.dataset.highlighted="yes",h(V,R,z.language),V.result={language:z.language,re:z.relevance,relevance:z.relevance},z.secondBest&&(V.secondBest={language:z.secondBest.language,relevance:z.secondBest.relevance}),M("after:highlightElement",{el:V,result:z,text:Q})}function g(V){a=D0e(a,V)}const m=()=>{b(),Cy("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function v(){b(),Cy("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let y=!1;function b(){function V(){b()}if(document.readyState==="loading"){y||window.addEventListener("DOMContentLoaded",V,!1),y=!0;return}document.querySelectorAll(a.cssSelector).forEach(A)}function B(V,j){let R=null;try{R=j(t)}catch(Q){if(S1("Language definition for '{}' could not be registered.".replace("{}",V)),i)S1(Q);else throw Q;R=s}R.name||(R.name=V),e[V]=R,R.rawDefinition=j.bind(null,t),R.aliases&&I(R.aliases,{languageName:V})}function S(V){delete e[V];for(const j of Object.keys(r))r[j]===V&&delete r[j]}function w(){return Object.keys(e)}function x(V){return V=(V||"").toLowerCase(),e[V]||e[r[V]]}function I(V,{languageName:j}){typeof V=="string"&&(V=[V]),V.forEach(R=>{r[R.toLowerCase()]=j})}function F(V){const j=x(V);return j&&!j.disableAutodetect}function k(V){V["before:highlightBlock"]&&!V["before:highlightElement"]&&(V["before:highlightElement"]=j=>{V["before:highlightBlock"](Object.assign({block:j.el},j))}),V["after:highlightBlock"]&&!V["after:highlightElement"]&&(V["after:highlightElement"]=j=>{V["after:highlightBlock"](Object.assign({block:j.el},j))})}function O(V){k(V),n.push(V)}function L(V){const j=n.indexOf(V);j!==-1&&n.splice(j,1)}function M(V,j){const R=V;n.forEach(function(Q){Q[R]&&Q[R](j)})}function H(V){return Cy("10.7.0","highlightBlock will be removed entirely in v12.0"),Cy("10.7.0","Please use highlightElement now."),A(V)}Object.assign(t,{highlight:u,highlightAuto:p,highlightAll:b,highlightElement:A,highlightBlock:H,configure:g,initHighlighting:m,initHighlightingOnLoad:v,registerLanguage:B,unregisterLanguage:S,listLanguages:w,getLanguage:x,registerAliases:I,autoDetection:F,inherit:D0e,addPlugin:O,removePlugin:L}),t.debugMode=function(){i=!1},t.safeMode=function(){i=!0},t.versionString=c_t,t.regex={concat:wv,lookahead:c9e,either:pee,optional:SMt,anyNumberOfTimes:xMt};for(const V in b8)typeof b8[V]=="object"&&a9e(b8[V]);return Object.assign(t,b8),t},WB=v9e({});WB.newInstance=()=>v9e({});var d_t=WB;WB.HighlightJS=WB;WB.default=WB;const jC=Io(d_t),p_t=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),A_t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],h_t=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],m_t=[...A_t,...h_t],g_t=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),v_t=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),y_t=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),B_t=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function mee(t){const e=t.regex,r=p_t(t),n={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i="and or not only",o=/@-?\w[\w]*(-\w+)*/,s="[a-zA-Z-][a-zA-Z0-9_-]*",a=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[r.BLOCK_COMMENT,n,r.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+s,relevance:0},r.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+v_t.join("|")+")"},{begin:":(:)?("+y_t.join("|")+")"}]},r.CSS_VARIABLE,{className:"attribute",begin:"\\b("+B_t.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[r.BLOCK_COMMENT,r.HEXCOLOR,r.IMPORTANT,r.CSS_NUMBER_MODE,...a,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...a,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},r.FUNCTION_DISPATCH]},{begin:e.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:o},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:i,attribute:g_t.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...a,r.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+m_t.join("|")+")\\b"}]}}jC.registerLanguage("css",mee);function y9e({fontFaceCss:t}){const[e,r]=E.useState(!1);return E.useEffect(()=>{e&&setTimeout(()=>jC.highlightAll(),0)},[e]),C.jsxs(yi,{width:"70%",position:"left",opened:e,onChange:r,withArrow:!0,shadow:"lg",children:[C.jsx(yi.Target,{children:C.jsxs("button",{className:"import-fonts-back",onClick:()=>r(n=>!n),children:[C.jsx(aN,{}),C.jsx("span",{className:"text-s",children:"CSS Preview"})]})}),C.jsx(yi.Dropdown,{children:C.jsx("div",{className:"generated-code-wrapper import-fonts-code",children:C.jsx("pre",{className:"generated-code",children:C.jsx("code",{className:"language-css",children:t})})})})]})}function C_t({googleFonts:t,setActiveTab:e,setSelectedVariants:r,selectedVariants:n,downloadFontsLocally:i,toggleVariant:o}){const s={title:"",fontDisplay:KZ[0],customSelectors:"",customVariable:""},[a,l]=E.useState(s),[c]=Yn(xv),u=E.useCallback((d,p,h)=>{if(p==="family"){const A=t.find(g=>g.family===h);if(o9e(h),A){const g=A.variants.map(v=>v.toLowerCase()==="italic"?"400italic":v.toLowerCase()==="regular"?"400":v),m=g.map(v=>({id:v,fontDisplay:a.fontDisplay,comment:"",cssSelector:""}));r(g),l({...s,...A,...m.length?{variants:m}:{},title:A.family,[p]:h})}}else p==="fontDisplay"&&(a.variants=a.variants.map(A=>({...A,[p]:h}))),l({...a,[p]:h})},[a]),f=E.useCallback((d,p,h)=>{const A=a?.variants.map(g=>g.id===d?{...g,[p]:h}:g);l(g=>({...g,variants:A}))},[a]);return C.jsxs(C.Fragment,{children:[C.jsxs("header",{className:"class-section-heading row gap-xl h-auto",children:[C.jsxs("button",{className:"import-fonts-back",onClick:()=>e("user_fonts"),children:[C.jsx(zZ,{}),C.jsx("span",{className:"text-s",children:"Back"})]}),C.jsxs("h2",{className:"import-fonts-title",children:[C.jsx(uN,{})," Import Google Fonts"]}),a.family&&n.length?C.jsxs("button",{className:zr("btn-primary btn-m relative transition-global margin-left-auto",{"pulse-animation":!c.fonts.length}),style:{marginRight:c.fonts.length?0:15},onClick:()=>i(a),children:[C.jsx(wo,{}),C.jsx("span",{className:"text-s",children:"Add Font"})]}):null]}),C.jsx(rke,{googleFonts:t,font:a,onFontEdit:u}),C.jsxs("div",{className:"import-fonts-selected-family row gap-m space-between align-center",children:[C.jsxs("span",{children:["Font Family: ",C.jsx("span",{className:"import-fonts-family",children:a?.family||"(none selected)"})]}),a.family&&n.length?C.jsx(y9e,{fontFaceCss:GB(a,n)}):null]}),a.family?C.jsx(C.Fragment,{children:C.jsx(fee,{selectedFont:a,toggleVariant:o,selectedVariants:n,onEditFontVariant:f})}):C.jsxs("div",{style:{height:"30vh"},children:[C.jsx(zm,{type:"font-variants"}),C.jsx("div",{className:"row border-primary radius class-row font-variants-empty",children:C.jsx("p",{children:"Fonts will display here"})})]})]})}const B9e=E.memo(function(){return C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",viewBox:"0 0 24 24",children:C.jsxs("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",children:[C.jsx("path",{strokeMiterlimit:"10",d:"M12 15.238V3.213"}),C.jsx("path",{strokeLinejoin:"round",d:"m7.375 10.994l3.966 3.966a.937.937 0 0 0 1.318 0l3.966-3.966"}),C.jsx("path",{strokeLinejoin:"round",d:"M2.75 13.85v4.625a2.313 2.313 0 0 0 2.313 2.313h13.874a2.313 2.313 0 0 0 2.313-2.313V13.85"})]})})});B9e.displayName="Download";const b_t=async()=>await(await fetch(`https://www.googleapis.com/webfonts/v1/webfonts?key=${uPt}`)).json();function w_t(){return C.jsxs("div",{className:"empty-fonts",children:[C.jsx("img",{src:fPt,alt:"No Fonts Found",className:"illustration"}),C.jsx("p",{className:"empty-fonts__title",children:"No Fonts Found"})]})}function x_t({googleFonts:t,font:e,onFontEdit:r}){const[n,i]=Yn(xv),o=E.useMemo(()=>e.variants.reduce((u,f)=>f.enable?[...u,f.id]:u,[]),[]),[s,a]=E.useState(o),l=(u,f,d)=>{const p=n.fonts||[],h=p.findIndex(m=>e.id===m.id),A=e?.variants.map(m=>m.id===u?{...m,[f]:d}:m),g=[...p];g[h].variants=A,g[h].cssPreview=GB(g[h],s),i({...n,fonts:g})},c=u=>{const f=n.fonts||[],d=f.findIndex(A=>e.id===A.id),p=s.includes(u)?s.filter(A=>A!==u):[...s,u],h=[...f];h[d].variants=h[d].variants.map(A=>p.includes(A.id)?A:{...A,enable:!1}),h[d].cssPreview=GB(h[d],p),a(p),i({...n,fonts:h})};return C.jsxs(C.Fragment,{children:[C.jsx(rke,{font:e,googleFonts:t,onFontEdit:r}),C.jsx("div",{className:"user-font-variants",children:C.jsx(fee,{selectedFont:e,toggleVariant:c,selectedVariants:s,onEditFontVariant:l})})]})}function S_t({googleFonts:t}){const[e,r]=Yn(xv),[n,i]=E.useState(""),[o,s]=E.useState(!1),[a,l]=E.useState(""),c=d=>{const p=e.fonts.filter(h=>h.id!==d);r({...e,fonts:p})},u=(d,p,h)=>{const A=e.fonts||[],g=A.findIndex(m=>d===m.id);if(g>=0){const m=[...A],v=m[g].variants.map(y=>y.id);m[g]={...m[g],[p]:typeof h=="boolean"?!m[g][p]:h},p==="fontDisplay"&&(m[g].variants=m[g].variants.map(y=>({...y,[p]:h}))),p==="family"&&(m[g].title=h,m[g].category="sans-serif"),m[g].cssPreview=GB(m[g],v),r({...e,fonts:m})}},f=async(d,{target:p})=>{const h=p.closest("button"),A=a,g=d.variants.map(m=>m.id);if(h?.name===d.id)if(l(d.id),o&&A===d.id){l(""),c(d.id);const v=await(await fetch(`${window.coreframework.core_api_url}delete-fonts`,{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":window.wpApiSettings.nonce},body:JSON.stringify({fonts:g.map(y=>({filename:`${d.family}-${y}.woff2`}))})})).json();console.log(v)}else s(!0),setTimeout(()=>s(!1),1e4)};return C.jsxs(C.Fragment,{children:[C.jsx(zm,{type:"fonts"}),C.jsx("ul",{className:"grid border-primary radius relative",children:e.fonts.map(d=>C.jsxs(ve.Fragment,{children:[C.jsxs("li",{className:"class-row selectors-layout font-item align-center",children:[C.jsx(Ln,{name:"enable",color:"primary.3",checked:d.enable,onChange:({target:{checked:p}})=>u(d.id,"enable",p)}),C.jsx("p",{className:"font-item-family",children:d.title||"Custom font"}),C.jsxs("p",{className:"font-item-family",children:[d.category!=="custom-font"?C.jsx(uN,{}):null," ",d.family]}),C.jsx("p",{style:{fontFamily:d.family,fontWeight:400,fontStyle:"normal"},children:"The quick brown fox jumps over a lazy dog."}),C.jsxs("div",{className:"fonts-actions",children:[C.jsx("button",{className:"btn-secondary edit",onClick:()=>i(d.id===n?"":d.id),children:C.jsx(lh,{})}),C.jsx("button",{name:d.id,className:zr("btn-red remove",{"to-remove":o&&a===d.id}),onClick:p=>f(d,p),children:o&&a===d.id?"Confirm?":C.jsx(_s,{})})]})]}),n&&n===d.id&&C.jsx("div",{style:{padding:10},children:C.jsx(x_t,{googleFonts:t,font:d,onFontEdit:u})})]},d.id))})]})}function E_t({setActiveTab:t,selectedVariants:e,setSelectedVariants:r,toggleVariant:n,downloadFontsLocally:i}){const[o,s]=E.useState(null),[a,l]=E.useState(""),[c]=Yn(xv),u=async d=>{if(d.target.files&&d.target.files[0]){const p=d.target.files[0],h=await p.arrayBuffer(),{family:A,weight:g,style:m}=await vMt(p),v=new FontFace(A,h,{weight:g,style:m});try{if(await v.load(),v){const y=new Blob([p],{type:p.type}),b=await s9e(y),B=[{id:g+m,fontDisplay:"auto",comment:"",cssSelector:""}],S={family:v.family,category:"custom-font",variants:B,title:v.family,customSelectors:"",customVariable:"",files:{[B[0].id]:b},fontDisplay:v.display,enable:!0};l(p.name),r([B[0].id]),s(S),document.fonts.add(v)}}catch(y){console.error("Error loading font:",y)}}},f=(d,p,h)=>{const A=o?.variants.map(g=>g.id===d?{...g,[p]:h}:g);s(g=>({...g,variants:A}))};return C.jsxs(C.Fragment,{children:[C.jsxs("header",{className:"class-section-heading row gap-xl h-auto",children:[C.jsxs("button",{className:"import-fonts-back",onClick:()=>t("user_fonts"),children:[C.jsx(zZ,{}),C.jsx("span",{className:"text-s",children:"Back"})]}),C.jsx("h2",{className:"import-fonts-title",children:"Import Custom Font"}),o?.family&&e.length?C.jsxs("button",{className:zr("btn-primary btn-m relative transition-global margin-left-auto",{"pulse-animation":!c.fonts.length}),style:{marginRight:c.fonts.length?0:15},onClick:()=>i(o),children:[C.jsx(wo,{}),C.jsx("span",{className:"text-s",children:"Add Font"})]}):null]}),C.jsxs("div",{style:{minHeight:"50vh"},children:[C.jsxs("div",{className:"row gap-xl",children:[C.jsxs("div",{className:"prefixed-input-container input-wrapper",style:{gap:"0"},children:[C.jsx("label",{htmlFor:"title",className:"import-fonts-label",children:"Font file"}),C.jsx("input",{id:"plugin_icon",className:"preferences-right-side uploader",type:"file",accept:".ttf,.woff,.woff2",size:30,onChange:u}),C.jsx("div",{className:"uploader-wrapper",children:C.jsx("label",{htmlFor:"plugin_icon",className:"uploader-label font-uploader",title:a,children:a||"Choose a font file"})})]}),C.jsxs("div",{className:"prefixed-input-container input-wrapper",style:{gap:"0"},children:[C.jsx("label",{htmlFor:"title",className:"import-fonts-label",children:"Font title"}),C.jsx("input",{id:"font-title",type:"text",name:"title",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,value:o?.title||"",onChange:({target:{value:d}})=>{s(p=>({...p,title:d}))},placeholder:"ex. My Custom Font"})]})]}),C.jsxs("div",{className:"import-fonts-selected-family row gap-m space-between align-center",style:{padding:"10px 0"},children:[C.jsxs("span",{children:["Font Family: ",C.jsx("span",{className:"import-fonts-family",children:o?.family||"(none)"})]}),o?.family&&e.length?C.jsx(y9e,{fontFaceCss:GB(o,e)}):null]}),o?C.jsx("div",{className:"user-font-variants",children:C.jsx(fee,{selectedFont:o,toggleVariant:n,selectedVariants:e,onEditFontVariant:f})}):C.jsxs("div",{style:{height:"30vh"},children:[C.jsx(zm,{type:"font-variants"}),C.jsx("div",{className:"row border-primary radius class-row font-variants-empty",children:C.jsx("p",{children:"Fonts will display here"})})]})]})]})}var C9e=(t=>(t.USER_FONTS="user_fonts",t.IMPORT_GOOGLE_FONTS="import_google_fonts",t.IMPORT_CUSTOM_FONT="import_custom_font",t))(C9e||{});function D_t(){const{USER_FONTS:t,IMPORT_GOOGLE_FONTS:e,IMPORT_CUSTOM_FONT:r}=C9e,[n,i]=E.useState([]),[o,s]=E.useState(t),[a,l]=Yn(xv),[c,u]=E.useState([]);E.useEffect(()=>{const A=localStorage.getItem("googleFonts");n.length||(A?.length?i(JSON.parse(A)):b_t().then(g=>{i(g?.items),localStorage.setItem("googleFonts",JSON.stringify(g?.items))}))},[]),E.useEffect(()=>{a.fonts.forEach(A=>{if(A.category==="custom-font"){const g=A.variants[0]?.id;g&&new FontFace(A.family,`url(${A.files[g]})`).load().then(v=>document.fonts.add(v))}else o9e(A.family)})},[a.fonts]);const f=async A=>{try{const g=c.map(async m=>{const v=m==="400"&&"regular"||m==="400italic"&&"italic"||m,y=A.files[v];let b,B,S;return A.category!=="custom-font"?(b=await fetch(y),B=await b.blob(),S=await s9e(B)):S=y,{font_base64:S.split(",")[1],filename:`${A.family}-${m}.woff2`}});Promise.all(g).then(async m=>{const y=await(await fetch(`${window.coreframework.core_api_url}upload-fonts`,{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":window.wpApiSettings.nonce},body:JSON.stringify({fonts:m})})).json();console.log(y)})}catch(g){g instanceof Error&&console.log(g.message)}},d=async A=>{if(!A.family)return;const g=`${A.title}-${A.family}-${c.join(".")}`,m=A.variants.reduce((y,b)=>c.includes(b.id)?[...y,{...b,enable:!0}]:y,[]),v={...A,id:g,variants:m,enable:!0,cssPreview:GB(A,c)};await f(A),p(v),s(t),wr.success("Font added successfully")},p=A=>{let g=[...a.fonts];const m=g.findIndex(y=>y.id===A.id);m>=0?g[m]=A:g.push(A);const v={...a,fonts:g};l(v)},h=A=>{const m=c.includes(A)?c.filter(v=>v!==A):[...c,A];u(m)};return C.jsxs("div",{className:"subsection fonts-wrapper",children:[o===t&&C.jsxs(C.Fragment,{children:[C.jsx(lv,{title:"Fonts"}),C.jsxs("div",{className:"titles-wrapper",children:[C.jsxs("button",{className:"new-group",onClick:()=>s(e),children:[C.jsx(uN,{}),C.jsx("span",{className:"text-s",children:"Import Google Font"})]}),C.jsxs("button",{className:"new-group",onClick:()=>s(r),children:[C.jsx(B9e,{}),C.jsx("span",{className:"text-s",children:"Import Local Font"})]})]}),C.jsx("div",{style:{minHeight:"50vh"},children:a?.fonts?.length?C.jsx(S_t,{googleFonts:n}):C.jsx(w_t,{})})]}),o===e&&C.jsx(C_t,{googleFonts:n,setActiveTab:s,selectedVariants:c,setSelectedVariants:u,toggleVariant:h,downloadFontsLocally:d}),o===r&&C.jsx(E_t,{setActiveTab:s,selectedVariants:c,setSelectedVariants:u,toggleVariant:h,downloadFontsLocally:d})]})}const k_t=Fr({id:Bt(),comment:Bt(),cssSelector:Bt(),enable:Ut(),fontDisplay:Bt()}),O_t=Fr({id:Bt(),category:Bt(),cssPreview:Bt(),customSelectors:Bt(),customVariable:Bt(),enable:Ut(),family:Bt(),fontDisplay:Bt(),files:DY(Bt(),Bt()),title:Bt(),variants:Dr(k_t)}),b9e=Fr({fonts:Dr(O_t),isDisabled:Ut().optional()}),P_t=Fr({id:Bt(),name:Bt(),css:Bt(),isActive:Ut()}),w9e=Fr({isDisabled:Ut().optional(),groups:Dr(P_t)}),x9e=ba(["shade-tint","class","variable","text-class","bg-class","transparent-class","fill-class","border-class","dark-mode","typo-class","space-class","typo-variable","space-variable","component"]),S9e=Fr({property:Bt(),value:Bt(),type:Bt().optional(),fluidValue:Dr(Gn().or(Bt())).length(3).optional(),colorValue:Bt().optional(),id:Bt(),types:Dr(x9e).optional(),groupName:Bt().optional()}),I_t=Fr({id:Bt(),declarations:Dr(S9e),mediaQuery:Dr(Gn()).length(2)}),E9e=Fr({id:Bt(),selector:Bt(),declarations:Dr(S9e),isDisabled:Ut().optional(),mediaQuery:Dr(Gn()).length(2).optional(),variants:Dr(I_t).optional(),media:ba(MZ).optional(),support:ba(_Z).optional(),types:Dr(x9e).optional(),groupName:Bt().optional()}),D9e=Fr({FLUID_TYPOGRAPHY:tke.optional(),COLOR_SYSTEM:H4e.optional(),FLUID_SPACING:W7e.optional(),COMPONENTS:O3e.optional(),FONTS:b9e.optional(),STYLESHEETS:w9e.optional()}),N_t=Fr({id:Bt(),name:Bt(),cssObjects:Dr(E9e).optional()}),F_t=ba(["colorStyles","typographyStyles","spacingStyles","layoutsStyles","designStyles","componentsStyles","stylesheetsStyles","otherStyles","fontsStyles"]),Id=Fr({id:Bt(),name:Bt(),isDisabled:Ut().optional(),cssObjects:Dr(E9e),type:ba(["variable"]).optional()}),T_t=DY(F_t,Dr(N_t)),L_t=Fr({root_font_size:Gn().default(16).optional(),postcss:Ut().default(!0).optional(),postcss_easing_gradients:Ut().default(!1).optional(),postcss_hover_media:Ut().default(!1).optional(),min_screen_width:Gn().optional(),max_screen_width:Gn().optional(),is_rem:Ut().default(!0).optional(),prefers_reduced_motion:Ut().optional(),has_theme:Ut().optional(),theme_mode:ba(["light","dark","auto"]).optional(),is_add_group_comments:Ut().default(!1).optional(),is_clickable_parent:Ut().optional(),disable_focusable_parent:Ut().optional(),enable_sr_only:Ut().optional()}),k9e=Fr({id:Bt(),name:Bt(),updatedAt:Gn().optional().catch(Date.now()),app_version:Bt().optional(),classPrefix:Bt().optional(),isVariablePrefix:Ut().optional(),variablePrefix:Bt().optional(),pluginName:Bt().optional(),pluginIcon:Bt().optional(),hidePlugin:Ut().optional(),pluginAuthor:Bt().optional(),pluginDescription:Bt().optional(),clickableParentClass:Bt().optional(),srOnlyClass:Bt().optional(),description:Bt(),date:Bt(),groups:T_t.optional(),breakpoints:Dr(Dr(Gn()).length(2)).optional(),styleSheetData:Fr({colorStyles:Dr(Id).optional(),typographyStyles:Dr(Id).optional(),spacingStyles:Dr(Id).optional(),layoutsStyles:Dr(Id).optional(),designStyles:Dr(Id).optional(),componentsStyles:Dr(Id).optional(),stylesheetsStyles:Dr(Id).optional(),otherStyles:Dr(Id).optional(),fontsStyles:Dr(Id).optional()}).optional(),modulesData:D9e.optional(),cssString:Bt().optional(),preferences:L_t,has_updated_columns:Ut().optional()});k9e.partial({preferences:!0});const R_t=k9e.extend({modulesData:D9e.or(Fr({FLUID_TYPOGRAPHY:lPt.optional(),FLUID_SPACING:KOt.optional(),COLOR_SYSTEM:H4e.optional(),COMPONENTS:O3e.optional(),FONTS:b9e.optional(),STYLESHEETS:w9e.optional()})).optional()}).partial({preferences:!0}),Dg=async t=>({string:Nit(JSON.stringify(t))}),M_t=async t=>{const e=Fit(t.string);return JSON.parse(e)};var O9e=(t=>(t.group="group",t.colorGroup="colorGroup",t.color="color",t.fluidTypography="fluidTypography",t.fluidSpacing="fluidSpacing",t.component="component",t.componentVariant="componentVariant",t))(O9e||{});const __t={group:Id,colorGroup:$4e,color:V4e,fluidTypography:tke,fluidSpacing:W7e,component:k3e,componentVariant:Fr({variant:JV,children:Dr(JV).optional()})},z1=async({type:t,data:e})=>{switch(t){case"group":{const i={data:{...e,cssObjects:e?.cssObjects.map(o=>({...o,id:ht()})),id:ht()},type:"group"};return Dg(i)}case"component":{const i={data:{...e,id:ht()},type:"component"};return Dg(i)}case"colorGroup":{const r=e,i={data:{...r,colors:r.colors.map(o=>({...o,id:ht()})),id:ht()},type:"colorGroup"};return Dg(i)}case"color":return Dg({data:e,type:"color"});case"fluidSpacing":return Dg({data:e,type:"fluidSpacing"});case"fluidTypography":return Dg({data:e,type:"fluidTypography"});case"componentVariant":return Dg({data:e,type:"componentVariant"});default:return null}},l1=async({compressedString:t})=>{try{const e=await M_t({string:t}),{type:r}=e,{data:n}=e,o=__t[r].parse(n);return{type:r,data:o}}catch(e){return console.warn("Error during group import"),console.warn(e),null}},MA=E.memo(function(){return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"13",fill:"none",viewBox:"0 0 13 13",children:[C.jsx("path",{fill:"currentColor",d:"M1.743 11.49L11.316 2l-9.573 9.49z"}),C.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M1.743 11.49L11.316 2"}),C.jsx("path",{fill:"currentColor",d:"M1.785 1.958l9.49 9.573-9.49-9.573z"}),C.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M1.785 1.958l9.49 9.573"})]})}),O0e=E.memo(function(){return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[C.jsxs("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",children:[C.jsx("path",{d:"M8.523 20H4v-4.523h0c0-.464.184-.909.512-1.236L15.24 3.513h0a1.747 1.747 0 012.473 0l2.774 2.774h0a1.747 1.747 0 010 2.473L9.759 19.488h0A1.751 1.751 0 018.523 20z"}),C.jsx("path",{d:"M13 6L18 11"}),C.jsx("path",{d:"M9 15L12 12"})]}),C.jsx("path",{fill:"none",d:"M0 0H24V24H0z"})]})}),K1=E.memo(function(){return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 3",viewBox:"0 0 24 24",children:[C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M12.002 12v3M12.002 9.302a.149.149 0 00.149-.15v-.001a.15.15 0 10-.15.15"}),C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M4.437 16.838a8.977 8.977 0 112.709 2.727l-2.565.429a.5.5 0 01-.576-.576z"}),C.jsx("path",{fill:"none",d:"M0 24h24V0H0z"}),C.jsx("path",{fill:"none",d:"M0 0H24V24H0z"})]})});function j_t(t,e,r){const[n,i]=E.useState(r);return E.useEffect(()=>{let o=!1;const s=t();if(s!=null)return s.then(a=>{o||i(a)}),()=>{o=!0}},e),n}const gee=t=>!t||t==="."?"":t.trim().split(",").map(r=>r.trim()).filter(Boolean).filter(r=>r!==".")[0],U_t=({variants:t,order:e})=>{const r={};for(const a of t){if(a.parentId===void 0&&a.type==="custom"){const c=a.id??"custom";r[c]||(r[c]=[]),r[c].push(a);continue}if(a.id==="default"||a.type==="variant"){const c=a.id;r[c]||(r[c]=[]),r[c].push(a);continue}if(a.parentId){const c=a.parentId;r[c]||(r[c]=[]),r[c].push(a);continue}if(a.type==="custom"){const c=a.variantSelector||"custom";r[c]||(r[c]=[]),r[c].push(a);continue}const l=a.parentId??"default";r[l]||(r[l]=[]),r[l].push(a)}const n=Object.entries(r).map(([a,l])=>{const c=l.find(f=>f.type===Dc||f.type==="variant"||f.type==="custom"),u=l.filter(f=>f.type!==Dc&&f.type!=="variant"&&f.type!=="custom");return{id:a,mainComponent:c,variants:u}});e=e?.length?e:n.map(({mainComponent:a})=>a?.id??"");const i=n.find(({mainComponent:a})=>a.type===Dc).id,o=e.indexOf(i);if(o!==0){const a=[...e];a.splice(o,1),a.unshift(i),e=a}return{sorted:n.sort((a,l)=>{const c=e?.indexOf(a.mainComponent.id)??0,u=e?.indexOf(l.mainComponent.id)??0;return c-u}),order:e}};function Q_t(t){if(!t)return"";const e=t.split(",");if(e.length<3)return t;const r=e[0].split("(")[1];return r?t.replace(r,"0px"):t}const V_t=({id:t,preventDrag:e,children:r})=>{const{attributes:n,listeners:i,setNodeRef:o,transform:s,transition:a}=bh({id:t}),l={transform:Q_t(Po.Transform.toString(s)?.split(")")[0]!==void 0?`${Po.Transform.toString(s)?.split(")")[0]})`:""),transition:a},c=e?{}:i;return C.jsx("div",{ref:o,style:l,...n,children:r(c)})},gO=({mainSelector:t,variant:e,parentVariant:r})=>{const n=s=>e?e?.type==="custom"?e?.variantSelector??"":r?.type==="custom"?`${r?.variantSelector??""}${YV.includes(e?.type??"")?`:${e?.type}`:""}`:r?.type!==Dc&&r?`${s}${r?.variantSelector??""}${YV.includes(e?.type??"")?`:${e?.type}`:""}`:e?.type==="variant"?`${s}${e?.variantSelector??""}`:`${s}${yOt(e?.type)}`:s;return t.includes(",")?t.trim().split(",").map(s=>s.trim()).filter(Boolean).filter(s=>s!==".").map(s=>n(s)).join(", "):n(t)},$_t=({mainSelector:t,variant:e,parentVariant:r})=>e?.type==="custom"?e?.variantSelector??"":r?.type==="custom"?`${r?.variantSelector??""}`:r?.type!==Dc&&r?`${t}${r?.variantSelector??""}`:e?.type==="variant"?`${t}${e?.variantSelector??""}`:t,P9e=E.memo(({closeModal:t,onUnMount:e,component:r,variablesCss:n})=>{const[i,o]=E.useState(r.variants??[]),[s,a]=E.useState(r.order??[]),[l,c]=E.useState(i[0]?.id??null),u=E.useMemo(()=>{const{sorted:ue,order:Ne}=U_t({variants:i,order:s});return a(Ne),ue},[i,s]),f=E.useMemo(()=>i.find(ue=>ue.id===l),[l,i]),d=E.useMemo(()=>i.find(ue=>ue.type===Dc),[i]),p=E.useMemo(()=>i.find(ue=>ue.id===f?.parentId),[f,i]),[h,A]=E.useState(r.selector??Cat),[g,m]=E.useState(r.type??"input"),v=Xn(E.useCallback(ue=>ue(xs),[])),y=E.useMemo(()=>v().theme_mode==="auto"?!0:v().theme_mode==="dark",[]),[b,B]=Yn(L9e),[S,w]=E.useState(b?hg.at(-1):hg[1]),[x,I]=E.useState(!1),[F,k]=E.useState(""),O=rd(ls(Xc,{activationConstraint:{distance:15}})),L=E.useMemo(()=>i.some(ue=>ue.type===iD),[i]),M=j_t(async()=>{const ue={...r,variants:i,order:s,selector:h,type:g};return UZ(ue)},[h,i,p,f,d]),H=()=>{const ue={...r,variants:i,order:s,selector:h,type:g};e(ue),t()},V=ue=>{const Ne=f?.declarations.filter(Te=>Te.id!==ue);o(i.map(Te=>Te.id===l?{...Te,declarations:Ne?.length?Ne:[Y0()]}:Te))};function j(ue){const Ne=document.activeElement;if(!Ne||!(Ne.tagName==="INPUT")&&Ne?.value)return;const je=Ne?.parentElement?.parentElement?.previousElementSibling?.querySelector(".value-column input");je?.scrollIntoView({behavior:"smooth",block:"nearest"}),je?.focus(),V(ue)}const R=()=>{const ue=Y0();o(i.map(Ne=>Ne.id===l?{...Ne,declarations:[...Ne.declarations,ue]}:Ne))},Q=(ue,Ne)=>{const Te=`${ue}-${Ne}-${new Date().getMilliseconds()}`,Re={id:Te,parentId:Ne??l??i[0]?.id??void 0,type:ue,declarations:[Y0()]};if(ue===iD){const je=i.find(Ve=>Ve.type===Dc);Re.parentId=je?.id??void 0,Re.variantSelector=".is-large"}[iD,yat].includes(ue)&&a(je=>[...je,Te]),o(je=>[...je,Re]),setTimeout(()=>{c(Te)},10)},z=ue=>{if(!ue)return;const Ne=i.find(({id:lt})=>lt===ue);if(!Ne)return;const Te=i.indexOf(Ne),Re=ht(),je={...Ne,id:Re},Ve=i.filter(lt=>lt.parentId===Ne.id),ze=s.indexOf(Ne.id);if(ze!==-1){const lt=[...s];lt.splice(ze+1,0,Re),a(lt)}o(lt=>{const gt=[...lt];return gt.splice(Te+1,0,je),Ve.length&&Ve.forEach(_t=>{const U=i.indexOf(_t);if(U===-1)return;const D={..._t,id:ht(),parentId:Re};gt.splice(U+1,0,D)}),gt})},X=ue=>{o(Ne=>{const Te=Ne.filter(je=>je.id!==ue&&je.parentId!==ue),Re=Te.find(je=>je.type===Dc)?.id;return setTimeout(()=>{c(Re??null)},10),Te}),I(!1)},_=ue=>{const Ne=ue.clipboardData.getData("text/plain");if(!(Ne.includes("{")&&Ne.includes("}")&&Ne.includes(":")&&Ne.includes(";")))return;ue.preventDefault();const je=A9(Ne).cssObjects;if(!je.length)return;const Ve=je[0].declarations;if(!Ve.length)return;const ze=Ve.map((lt,gt)=>({id:String(gt),property:lt.property,value:lt.value}));o(lt=>lt.map(gt=>gt.id===l?{...gt,declarations:[...gt.declarations,...ze]}:gt))},G=({property:ue,id:Ne})=>{o(i.map(Te=>Te.id===l?{...Te,declarations:Te.declarations.map(Re=>Re.id===Ne?{...Re,property:ue}:Re)}:Te))},W=({value:ue,id:Ne})=>{o(i.map(Te=>Te.id===l?{...Te,declarations:Te.declarations.map(Re=>Re.id===Ne?{...Re,value:ue}:Re)}:Te))},J=({value:ue,id:Ne})=>{o(Te=>Te.map(Re=>Re.id===l?{...Re,declarations:Re.declarations.map(je=>je.id===Ne?{...je,colorValue:ue}:je)}:Re))},ee=({value:ue,id:Ne})=>{o(Te=>Te.map(Re=>Re.id===l?{...Re,declarations:Re.declarations.map(je=>je.id===Ne?{...je,fluidValue:ue}:je)}:Re))},q=({value:ue,id:Ne})=>{o(i.map(Te=>Te.id===l?{...Te,declarations:Te.declarations.map(Re=>Re.id===Ne?{...Re,type:ue}:Re)}:Te))},Z=ue=>E3e({e:ue,onDeclarationAdd:R}),re=({property:ue,value:Ne})=>{if(!f){k("");return}const Re=`${["before","after"].includes(f?.type)?gO({mainSelector:h,variant:f,parentVariant:p??d}):$_t({mainSelector:h,variant:f,parentVariant:p})} { ${ue}: ${Ne}; }`;k(Re)},fe=ue=>{const{active:Ne,over:Te}=ue;if(!f?.declarations.find(lt=>lt?.id===Te?.id)||!f)return;const je=f?.declarations?.findIndex(lt=>lt?.id===Ne?.id),Ve=f?.declarations?.findIndex(lt=>lt?.id===Te?.id);if(je===Ve||je===-1||Ve===-1)return;const ze=[...f?.declarations];ze?.splice(Ve,0,ze?.splice(je,1)[0]),o(lt=>lt.map(gt=>gt.id===l?{...gt,declarations:ze}:gt))},de=ue=>{const{active:Ne,over:Te}=ue;if(!Ne||!Te)return;const Re=s?.findIndex(ze=>ze===Ne?.id),je=s?.findIndex(ze=>ze===Te?.id);if(Re===je||Re===-1||je===-1)return;const Ve=[...s];Ve?.splice(je,0,Ve?.splice(Re,1)[0]),a(Ve)},ie=E.useCallback(()=>{const ue=hg.indexOf(S),Ne=ue+1<hg.length?ue+1:0;w(hg[Ne])},[S]),le=E.useCallback(()=>{const ue=document.querySelector(".mantine-Modal-root .preview-container iframe");if(!ue)return;ue.contentDocument?.querySelector("html")?.classList.toggle("cf-theme-dark"),B(Te=>(w(Te?hg[1]:hg.at(-1)),!Te))},[]),De=async ue=>{const Ne=i.find(je=>je.id===ue),Te=i.filter(je=>je.parentId===ue);if(!Ne){wr.error("No variant found");return}const Re=await z1({type:"componentVariant",data:{variant:Ne,children:Te}});if(!Re){wr.error("No variant found");return}sc(Re?.string),wr.success("Component variant copied to clipboard")},Ae=async ue=>{try{const Ne=(await l2()).trim();if(!Ne?.length){wr.message("Clipboard is empty.");return}const Te=await l1({compressedString:Ne});if(!Te){wr.error("Clipboard does not contain component export.");return}if(String(Te.type)!==O9e.componentVariant){wr.error("Clipboard does not contain component variant export.");return}const Re=s.indexOf(ue);if(Re===-1){wr.error("Something went wrong. Failed to paste component.");return}const je=ht(),Ve=[...i],{variant:ze,children:lt}=Te.data,gt={...ze,id:je};Ve.push(gt);const _t=[...s],U=Re+1;_t.splice(U,0,je);for(const D of lt){const N=ht(),Y={...D,id:N,parentId:je};Ve.push(Y),_t.splice(U,0,N)}a(_t),o(Ve),wr.success("Component imported.")}catch{wr.error("Something went wrong. Failed to paste component.")}};return ym(()=>{if(!y&&!b)return;const ue=document.querySelector(".mantine-Modal-root .preview-container iframe");ue?.addEventListener("load",()=>{ue?.contentDocument?.querySelector("html")?.classList.toggle("cf-theme-dark")},{once:!0})}),r&&n?C.jsxs("div",{className:"components-editor",children:[C.jsxs("header",{className:"row space-between align-center gap-m padding-m",children:[C.jsx("input",{className:"heading-input full-width",value:h,onChange:ue=>A(ue.target.value.trim())}),C.jsxs("div",{className:"row gap-m",style:{opacity:100},children:[C.jsx(Qr,{label:"Close without saving",children:C.jsx("button",{className:"btn-red btn-s btn-box",onClick:t,children:C.jsx(MA,{})})}),C.jsx(Qr,{label:"Save and close",children:C.jsx("button",{className:"btn-green btn-s btn-box",onClick:H,children:C.jsx(Gu,{})})})]})]}),C.jsxs("div",{className:"states-container",children:[C.jsx("button",{className:"btn-secondary btn-s",onClick:()=>Q("variant"),children:"Add a modifier"}),C.jsx(Uu,{sensors:O,collisionDetection:Hf,onDragEnd:ue=>de(ue),children:C.jsx(Qu,{items:u.map(({mainComponent:ue})=>ue?.id??""),strategy:vm,children:C.jsx("ul",{className:"list-none full-height",children:u.map(({id:ue,mainComponent:Ne,variants:Te})=>C.jsx(V_t,{id:Ne.id,preventDrag:Ne?.type===Dc,children:Re=>C.jsxs(C.Fragment,{children:[Ne?.type==="default"?C.jsxs("div",{className:"row align-center",children:[C.jsx("p",{className:"variant-subheading",children:"Default styles"}),C.jsx(Qr,{multiline:!0,withArrow:!0,width:200,label:"A base styling for the main class of this component.",children:C.jsx("span",{className:"help-tooltip",children:C.jsx(K1,{})})})]}):null,C.jsxs("li",{className:zr("row align-center",{active:Ne?.id===l,"is-default":Ne?.type==="default"}),onClick:()=>{c(Ne?.id)},children:[Ne?.type==="default"?null:C.jsx("div",{...Re,className:"dnd-handle grab transition-global opacity-50",children:C.jsx("div",{children:C.jsx(VZ,{})})}),Ne?.type==="default"?C.jsxs("div",{className:"component-variant-input",children:[C.jsx("input",{type:"text",value:h,className:"heading-input-disabled",onChange:je=>{A(je.target.value)},autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1}),C.jsx(O0e,{})]}):null,Ne?.type==="default"?null:C.jsxs("div",{className:"component-variant-input",children:[C.jsx("input",{type:"text",value:Ne?.variantSelector,className:"",onChange:je=>{o(Ve=>Ve.map(ze=>ze.id===Ne?.id?{...ze,variantSelector:je.target.value}:ze))},autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1}),C.jsx(O0e,{})]}),C.jsxs(br,{shadow:"md",width:100,position:"right",children:[C.jsx(br.Target,{children:C.jsxs("button",{className:"component-variant-add",children:[C.jsx(wo,{}),C.jsx("span",{children:"State"})]})}),C.jsxs(br.Dropdown,{children:[C.jsx(br.Label,{children:"Add State"}),YV.filter(je=>!Te.find(Ve=>Ve.type===je)).map(je=>C.jsx(br.Item,{onClick:()=>Q(je,ue),children:je},je))]})]}),C.jsxs(br,{shadow:"md",position:"right",children:[Ne?.type==="default"?null:C.jsx(br.Target,{children:C.jsx("button",{className:"component-variant-menu",children:C.jsx(j1,{})})}),C.jsxs(br.Dropdown,{children:[C.jsx(br.Item,{icon:C.jsx(Uc,{}),onClick:()=>z(Ne?.id),children:"Duplicate"}),C.jsx(br.Item,{icon:C.jsx(Uc,{}),onClick:()=>De(Ne?.id),children:"Copy"}),C.jsx(br.Item,{icon:C.jsx(Uc,{}),onClick:()=>Ae(Ne?.id),children:"Paste"}),C.jsx(br.Item,{onClick:x?()=>X(Ne?.id):()=>I(!0),onBlur:()=>I(!1),style:x?{background:"#c2344e"}:{},closeMenuOnClick:x,icon:C.jsx(_s,{}),children:x?"Are you sure?":"Remove"})]})]})]}),C.jsx("ul",{children:Te.map(je=>C.jsxs("li",{className:zr("row space-between align-center",{active:je.id===l}),onClick:()=>{c(je.id)},children:[C.jsx("div",{className:"row align-center",children:C.jsxs("span",{style:{marginLeft:38},className:"opacity-60",children:[":",je.type]})}),C.jsxs(br,{shadow:"md",position:"right",children:[C.jsx(br.Target,{children:C.jsx("button",{className:"component-variant-menu",tabIndex:-1,children:C.jsx(j1,{})})}),C.jsx(br.Dropdown,{children:C.jsx(br.Item,{onClick:x?()=>X(je.id):()=>I(!0),onBlur:()=>I(!1),style:x?{background:"#c2344e"}:{},closeMenuOnClick:x,icon:C.jsx(_s,{}),children:x?"Are you sure?":"Remove"})})]})]},je.id))}),Ne?.type==="default"?C.jsxs("div",{className:"row align-center margin-top-l",children:[C.jsx("p",{className:"variant-subheading",children:"Modifiers"}),C.jsx(Qr,{multiline:!0,withArrow:!0,width:200,label:"A modifier class can append alternative styles to the main class. It can also be used to target inner elements when started with a space.",children:C.jsx("span",{className:"help-tooltip",children:C.jsx(K1,{})})})]}):null,L?null:C.jsx("li",{className:"row align-center padding-m margin-m gap-m radius bg-primary hover-bg-tertiary pointer shadow-l empty-state",onClick:()=>Q("variant"),children:C.jsx("div",{className:"grid gap-s",children:C.jsx("b",{className:"text-m",children:"Add first modifier"})})})]})},Ne.id))})})})]}),C.jsxs("div",{className:"preview-container",style:{background:S},children:[C.jsx(N7e,{editorCss:M??"",variablesCss:n,dynamicCss:F,selectors:[...f?.type==="custom"?[]:[gee(h)],p?.variantSelector??"",f?.variantSelector??""],type:g,isDarkBackground:!0}),C.jsxs("footer",{children:[C.jsx(Qr,{label:"Previewed output",children:C.jsx(ra,{onChange:ue=>m(ue),value:g,data:LY})}),C.jsxs("div",{className:"row gap-s align-stretch",children:[C.jsx(Qr,{label:"Preview background",children:C.jsx("button",{className:"btn-tertiary btn-box",onClick:ie,children:C.jsx(lN,{})})}),C.jsx(Qr,{label:`Enable ${b?"light":"dark"} mode`,children:C.jsxs("button",{className:b?"theme-toggle dark-mode":"theme-toggle light-mode",onClick:le,children:[C.jsx("span",{className:b?"":"active",children:C.jsx(_Y,{})}),C.jsx("span",{className:b?"active":"",children:C.jsx(MY,{})})]})})]})]})]}),C.jsxs("div",{className:"editor-container",children:[f?.type===Dc?C.jsxs("span",{className:"text-m text-main",children:["CSS for ",C.jsx("b",{children:h})," class."]}):null,f?.type!=="variant"&&f?.type!==Dc&&f?C.jsxs("div",{className:"text-m text-main",children:["CSS for"," ",C.jsx("b",{children:gO({mainSelector:h,variant:f,parentVariant:p})})]}):null,f?.type==="variant"?C.jsxs(C.Fragment,{children:[C.jsxs("span",{className:"text-m text-main",children:["CSS for ",C.jsx("b",{children:f.variantSelector})," class."]}),C.jsx("span",{className:"cf-notice",children:C.jsxs("span",{children:["A modifier class alters styles of the main",C.jsxs("b",{className:"text-main",children:[" ",h]})," class, when used together on the same element."]})})]}):null,C.jsxs("div",{className:"declarations-container",children:[C.jsx(Uu,{sensors:O,collisionDetection:Hf,onDragEnd:ue=>fe(ue),children:C.jsx(Qu,{items:f?.declarations.map(({id:ue})=>ue)??[],strategy:vm,children:f?.declarations.map(({id:ue,property:Ne,type:Te,value:Re,colorValue:je,fluidValue:Ve})=>C.jsxs($Z,{id:ue,className:"declaration",children:[C.jsx(GZ,{onPropertyChange:ze=>G({property:ze,id:ue}),onValueChange:ze=>W({value:ze,id:ue}),onColorValueChange:ze=>J({value:ze,id:ue}),onFluidValueChange:ze=>ee({value:ze,id:ue}),onTypeChange:ze=>q({value:ze,id:ue}),onSuggestionPreview:re,onSuggestionPreviewAbort:()=>k(""),onNewRow:Z,onRemoveRow:()=>j(ue),onPaste:_,property:Ne,type:Te,value:Re,colorValue:je,fluidValue:Ve}),C.jsx("button",{onClick:()=>V(ue),className:"add-remove remove-prop",tabIndex:-1,children:C.jsx(wo,{})})]},ue))})}),C.jsx("button",{onClick:R,className:"add-remove add-prop",children:C.jsx(wo,{})})]})]})]}):null});P9e.displayName="ComponentsEditor";const H_t=t=>t?[{id:"cs-c",selector:"/* Components */",declarations:[]}]:[],vee=({componentsData:t,is_add_group_comments:e,includeVariants:r})=>{const{components:n}=t;if(!n?.length||t?.isDisabled)return[];const i=[];return Object.values(n).forEach(o=>{const{variants:s,selector:a,type:l}=o;s?.map((c,u)=>{if(r&&u!==0)return;const f=o.variants?.find(p=>p.id===c.parentId),d=gO({mainSelector:a,variant:c,parentVariant:f});i.push({selector:d,declarations:c?.declarations,id:`c-${o.id}-${u}`,...r?{types:["class","component"],groupName:l}:{}})})}),[...H_t(e),...i]},Zu=Zr(ac),yee=Zr({typeScales:[],declarations:[]}),ef=Zr(Gc),Bee=Zr({typeScales:[],declarations:[]}),P0e=Zr(yI),ad=Zr(t=>t(P0e),(t,e,r)=>{e(P0e,r);const{groups:n}=r,i=[];if(r?.isDisabled){e(nh,{variables:i,type:"COLOR_SYSTEM"});return}for(const{colors:o}of n)for(const s of o){if(i.push({name:s.name,colorValue:s.value}),s.isShades&&s.shades?.length)for(const a of s.shades)i.push({name:a.name,colorValue:a.value});if(s.isTints&&s.tints?.length)for(const a of s.tints)i.push({name:a.name,colorValue:a.value});if(s.transparent&&s.transparentVariables?.length)for(const a of s.transparentVariables)i.push({name:`${s.name}-${a}`,colorValue:s.value,transparent:Number(a)})}e(nh,{variables:i,type:"COLOR_SYSTEM"})}),xv=Zr({fonts:[]}),UC=Zr(DI),Ix=Zr(VY);Zr([]);const eu=Zr(null),G_t=Zr(null),xs=P3e(eu,t=>t?t.preferences:ha),W_t=Zr(null,(t,e,r)=>{const{styleSheetData:n}=r,i="modulesData"in r,o=new Map([["FLUID_TYPOGRAPHY",[Zu,ac]],["COLOR_SYSTEM",[ad,yI]],["FLUID_SPACING",[ef,Gc]],["COMPONENTS",[UC,DI]],["FONTS",[xv,{fonts:[]}]],["STYLESHEETS",[Ix,VY]]]);if(i){const{modulesData:a}=r;for(const[l,[c,u]]of o){const f=a&&l in a&&a[l];if(f){const d={...u,...a[l]};c&&e(c,d)}f||e(c,{...u,isDisabled:!0})}}const s=new Map([["colorStyles",ch],["typographyStyles",uh],["spacingStyles",fh],["layoutsStyles",dh],["designStyles",ph],["componentsStyles",Ah],["otherStyles",QC],["fontsStyles",Nx]]);if(!n){for(const[,a]of s)e(a,[]);return}for(const[a,l]of s){const c=n&&a in n&&n[a];if(c){const u=n?.[a];u&&e(l,u)}c||e(l,[])}}),wN=Zr(t=>{const e=t(eu);if(!e)return null;const r=t(yO),n={FLUID_TYPOGRAPHY:t(Zu),COLOR_SYSTEM:t(ad),FLUID_SPACING:t(ef),COMPONENTS:t(UC),FONTS:t(xv),STYLESHEETS:t(Ix)},i={colorStyles:t(ch),typographyStyles:t(uh),spacingStyles:t(fh),layoutsStyles:t(dh),designStyles:t(ph),componentsStyles:t(Ah),stylesheetsStyles:[],otherStyles:t(QC),fontsStyles:t(Nx)};return{...e,...r?.length&&{breakpoints:r},modulesData:n,styleSheetData:i,updatedAt:Date.now()}}),Cee=Zr(null,(t,e,r)=>{r?.breakpoints?e(yO,r.breakpoints):e(yO,[]),e(W_t,r),e(VC,null),e(eu,r)}),ch=Zr([]),uh=Zr([]),fh=Zr([]),dh=Zr([]),ph=Zr([]),Ah=Zr([]),z_t=Zr([]),QC=Zr([]),Nx=Zr([]),da=(t,e,r)=>t.flatMap((n,i)=>{const o=n?.name;return e?n?.isDisabled?[]:[{id:`${o.replace(/\s/g,"-")}-${i}`,selector:`/* ${o} */`,declarations:[],...r?{groupName:o}:{}},...n.cssObjects.map(s=>({...s,...r?{groupName:o}:{}}))]:n?.isDisabled?[]:n.cssObjects.map(s=>({...s,...r?{groupName:o}:{}}))}),I9e=(t=Md)=>Hat.map(e=>({...e,selector:e.selector.replace(Md,t)})),N9e=(t=h9)=>Gat.map(e=>({...e,selector:e.selector.replace(h9,t)})),F9e=Zr(t=>{const{root_font_size:e,min_screen_width:r,max_screen_width:n,is_rem:i,is_add_group_comments:o,is_clickable_parent:s,enable_sr_only:a}=t(xs),l=[{id:"screen-size-variables",selector:":root",declarations:[...r?[{id:"min-screen-width",property:"--min-screen-width",value:`${r}px`}]:[],...n?[{id:"max-screen-width",property:"--max-screen-width",value:`${n}px`}]:[]]}],c=t(eu),u=c?.classPrefix,f=J3({formData:t(ad),manualTheme:!0,classPrefix:u,isAddGroupComments:o}),d=mC({formData:t(ef),min_screen_width:r||bn,max_screen_width:n||bn,is_rem:i??!0,root_font_size:e||16,is_add_group_comments:o}),p=vC({formData:t(Zu),min_screen_width:r||bn,max_screen_width:n||bn,is_rem:i??!0,root_font_size:e||16,is_add_group_comments:o}),h=t(UC),A=vee({componentsData:h,is_add_group_comments:o});let g=[];s&&g.push(I9e(c?.clickableParentClass)),a&&g.push(N9e(c?.srOnlyClass));const m=da(t(ch),o),v=da(t(uh),o),y=da(t(fh),o),b=da(t(dh),o),B=da(t(ph),o),S=da(t(Ah),o),w=da(t(QC),o),x=da(t(Nx),o);return Um(g,l,A,f,d,p,m,v,y,b,B,S,w,x)}),T9e=Zr(t=>{const{root_font_size:e,min_screen_width:r,max_screen_width:n,is_rem:i,is_add_group_comments:o}=t(xs),a=t(eu)?.classPrefix,l=J3({formData:t(ad),manualTheme:!0,onlyVariables:!0,classPrefix:a}),c=vC({formData:t(Zu),min_screen_width:r||bn,max_screen_width:n||bn,onlyVariables:!0,is_rem:i??!0,root_font_size:e||16,is_add_group_comments:o}),u=mC({formData:t(ef),onlyVariables:!0,max_screen_width:n||bn,min_screen_width:r||bn,is_rem:i??!0,root_font_size:e||16,is_add_group_comments:o});return Um(l,c,u)});Zr(t=>{const{root_font_size:e,min_screen_width:r,max_screen_width:n,is_rem:i,is_add_group_comments:o}=t(xs),s=vC({formData:t(Zu),min_screen_width:r||bn,max_screen_width:n||bn,onlyVariables:!0,is_rem:i??!0,root_font_size:e||16,is_add_group_comments:o}),a=mC({formData:t(ef),onlyVariables:!0,max_screen_width:n||bn,min_screen_width:r||bn,is_rem:i??!0,root_font_size:e||16,is_add_group_comments:o});return Um(s,a)});const K_t=Zr(t=>{const{root_font_size:e,min_screen_width:r,max_screen_width:n,is_rem:i,is_add_group_comments:o,is_clickable_parent:s,enable_sr_only:a}=t(xs),l=[{id:"screen-size-variables",selector:":root",declarations:[...r?[{id:"min-screen-width",property:"--min-screen-width",value:`${r}px`}]:[],...n?[{id:"max-screen-width",property:"--max-screen-width",value:`${n}px`}]:[]]}],c=t(eu),u=c?.classPrefix,f=J3({formData:t(ad),manualTheme:!0,classPrefix:u,isAddGroupComments:o}),d=mC({formData:t(ef),min_screen_width:r||bn,max_screen_width:n||bn,is_rem:i??!0,root_font_size:e||16,is_add_group_comments:o}),p=vC({formData:t(Zu),min_screen_width:r||bn,max_screen_width:n||bn,is_rem:i??!0,root_font_size:e||16,is_add_group_comments:o}),h=vee({componentsData:t(UC),is_add_group_comments:o});let A=[];s&&A.push(I9e(c?.clickableParentClass)),a&&A.push(N9e(c?.srOnlyClass));const g=da(t(ch),o),m=da(t(uh),o),v=da(t(fh),o),y=da(t(dh),o),b=da(t(ph),o),B=da(t(Ah),o),S=da(t(QC),o),w=da(t(Nx),o);return Um(A,l,h,f,d,p,g,m,v,y,b,B,S,w)}),q_t=Zr(!1),bee=kI("themeMode","dark"),L9e=kI("previewedTheme",!1),R9e="data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAABaAAD/4QMyaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eD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MEpYiVTNJdaCfdCVcmUgdsHTEp+10kltBTWjJhNJ3UMtmnMHzN4wxDgCkgYQojygYyPQ768KmtTKZvZtq18PN5tL5S0y0wH23EreU2g5CVFQwQdsjA6DSrmHCJJJhK4SVx1xquiYGCBEJDvLbW2wD15EkYT9NR3+RRRv++M//wDaZ/8AjXXJuDunpNMmZlKa/qeBjWSS1EQ4bQ4gkY2UBkbHRZBWDm8NFNP/AKa7iL8NYWUmNGFYOcHOnekYSBknA6nvrNZrNZrNZrNZrNZrNZrNZrNZrNZrNf/Z",j9e=E.memo(function(){return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[C.jsxs("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",children:[C.jsx("path",{d:"M5.167 10.498a2.688 2.688 0 00-1.4.091 2.61 2.61 0 00-1.687 1.835 2.644 2.644 0 003.087 3.246v3.22A2.11 2.11 0 007.278 21h11.611A2.11 2.11 0 0021 18.889V7.278a2.11 2.11 0 00-2.111-2.111h-3.22a2.688 2.688 0 00-.091-1.4 2.613 2.613 0 00-1.835-1.687 2.644 2.644 0 00-3.246 3.087h-3.22a2.11 2.11 0 00-2.111 2.111v3.22z"}),C.jsx("path",{d:"M13 10.5L13 14.5"}),C.jsx("path",{d:"M15 12.5L11 12.5"})]}),C.jsx("path",{fill:"none",d:"M0 0h24v24H0V0z"})]})});j9e.displayName="Addons";const X_t=E.memo(function(){return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[C.jsx("rect",{width:"8",height:"8",x:"2",y:"2.5",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",rx:"2",transform:"rotate(90 6 6.5)"}),C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M2 17.5a4 4 0 014-4 4.062 4.062 0 014 4.003 4 4 0 01-8-.003"}),C.jsx("rect",{width:"19",height:"9",x:"8",y:"7.5",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",rx:"2",transform:"rotate(90 17.5 12)"}),C.jsx("path",{fill:"none",d:"M0 0H24V24H0z",transform:"rotate(90 12 12)"})]})}),Y_t=E.memo(function(){return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 3",viewBox:"0 0 24 24",children:[C.jsx("path",{fill:"none",d:"M24 24H0V0h24z"}),C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M20.05 14.293a1 1 0 00-1.414 0l-2.843 2.843a1 1 0 00-.293.707V20h2.157a1 1 0 00.707-.293l2.843-2.843a1 1 0 000-1.414zM12 21H8a5 5 0 01-5-5V8a5 5 0 015-5h8a5 5 0 015 5v3"}),C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M11.55 12a.05.05 0 110 0v0M15.05 12a.05.05 0 110 0v0M8.05 12a.05.05 0 110 0v0"})]})}),J_t=E.memo(function(){return C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:C.jsxs("g",{fill:"none",children:[C.jsx("path",{d:"M0 0h24v24H0z"}),C.jsxs("g",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",children:[C.jsx("path",{d:"M21 9H3M10 9v12M21 14.5H10"}),C.jsx("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"})]})]})})}),Z_t=E.memo(function(){return C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:C.jsxs("g",{fill:"none",children:[C.jsx("path",{d:"M0 0H24V24H0z"}),C.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M5.636 18.364A8.972 8.972 0 0012 21a9 9 0 009-9v0a9 9 0 00-9-9v0a9 9 0 00-9 9"}),C.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M11 10L14 13"}),C.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M6.163 14.837l5.751-5.751a2.122 2.122 0 013 0v0a2.122 2.122 0 010 3l-5.751 5.751c-.168.168-.389.27-.625.29l-2.902.238.238-2.902a.999.999 0 01.289-.626z"})]})})}),ejt=E.memo(function(){return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 3",viewBox:"0 0 24 24",children:[C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M20.538 14.598l-.462.266a3 3 0 00-1.5 2.598v.533a3 3 0 01-4.5 2.598l-.461-.266a3 3 0 00-3 0l-.462.266a3 3 0 01-4.5-2.598v-.533a3 3 0 00-1.5-2.598l-.461-.266a3 3 0 010-5.196l.461-.267a3 3 0 001.5-2.598v-.533a3 3 0 014.5-2.598l.462.267a3 3 0 003 0l.461-.267a3 3 0 014.5 2.598v.533a3 3 0 001.5 2.598l.462.267a3 3 0 010 5.196z"}),C.jsx("circle",{cx:"12",cy:"12",r:"3",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),C.jsx("path",{fill:"none",d:"M0 0H24V24H0z"})]})}),tjt=E.memo(function(){return C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:C.jsxs("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",children:[C.jsx("path",{d:"M6.51 13.82h4.69M7.14 13.82v0M8.86 8.38L6 15.01M11.71 15.01L8.86 8.38M17 21H7a4 4 0 01-4-4V7a4 4 0 014-4h10a4 4 0 014 4v10a4 4 0 01-4 4zM17.75 11v4"}),C.jsx("path",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z4FiFVhNdAo12LNQvG2z2oTtPiOCjNsptcwYLN02l1tW1KwFA+hnHr21urMcp/jeficZQwiHBqf1Ew5jggUrHX43lfLmJVx9haf5SJmI/1r8g7MPpa3FuXNZtSknglxaR7NRqndpoGet34oXr79Q2FVmX+pfqYxwZZxKMxYnlfAFpMr0FVGQQUmXAYqaSVWBsyO5U+IPBNut2D7oZM4HLa0R3gMhS5cI8tZIHmBPXWwgCiEIiRqEjUIg7KBYam55LhJO2rVy5qvV7nq9Xuer1e56vV7nq9Xuer1e56vV7nq9Xuer1e56vV7nq9Xuer1e56vV7nq9Xuer1e56vV7nq9Xuer1e56vV7nq9Xuer1e56vV7nq9Xuer1e56vV7nq9Xuer1e56vV7nq9Xuer1e56vV7nq9Xuer1e56vV7nq9Xuer1e56vV7nq9Xuer1e56vV7nq9X//2Q==",Q9e=E.memo(function(){return C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 16 16",children:C.jsxs("g",{fill:"none",children:[C.jsx("g",{clipPath:"url(#gravityUiFontCase0)",children:C.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.75 2.25c-.618 0-1.169.39-1.373.974L.042 12.752a.75.75 0 0 0 1.416.496L2.595 10h4.31l1.137 3.248a.75.75 0 0 0 1.416-.496L6.123 3.224A1.455 1.455 0 0 0 4.75 2.25M6.38 8.5L4.75 3.842L3.12 8.5zm5.135 2.996c0-.223.28-.746 1.152-.746H14.4c-.294 1.024-1.178 1.5-1.9 1.5c-.45 0-.677-.134-.792-.249a.706.706 0 0 1-.193-.505m2.985.754V13a.75.75 0 1 0 1.5 0v-3c0-1.117-.28-2.065-.873-2.744c-.606-.692-1.453-1.006-2.377-1.006c-.53 0-.946.07-1.306.195c-.338.117-.6.274-.804.396l-.025.015a.75.75 0 1 0 .77 1.288c.22-.132.365-.217.55-.281c.178-.062.423-.113.815-.113c.576 0 .978.186 1.248.494c.191.218.354.543.44 1.006h-1.771c-1.462 0-2.658.977-2.652 2.254c.003.542.191 1.116.632 1.557c.447.448 1.085.689 1.853.689c1 0 1.75-.75 1.75-1.5z",clipRule:"evenodd"})}),C.jsx("defs",{children:C.jsx("clipPath",{id:"gravityUiFontCase0",children:C.jsx("path",{fill:"currentColor",d:"M0 0h16v16H0z"})})})]})})});Q9e.displayName="Fonts";const rjt=()=>C.jsxs("svg",{id:"Layer_3","data-name":"Layer 3",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[C.jsx("path",{d:"M18.5,7V5a2,2,0,0,0-2-2H5.5a2,2,0,0,0-2,2h0a2,2,0,0,0,2,2h13a2,2,0,0,1,2,2V19a2,2,0,0,1-2,2H5.5a2,2,0,0,1-2-2V5",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),C.jsx("path",{d:"M9.5,12,11,13.5,9.5,15",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),C.jsx("path",{d:"M13,16h1.5",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),C.jsx("path",{d:"M0,0H24V24H0Z",fill:"none"})]}),vO=[{name:"Colors",icon:lN,value:"COLOR_SYSTEM"},{name:"Typography",icon:tjt,value:"TYPOGRAPHY"},{name:"Spacing",icon:HZ,value:"SPACING"},{name:"Components",icon:X_t,value:"COMPONENTS"},{name:"Layouts",icon:J_t,value:"LAYOUTS"},{name:"Design",icon:Z_t,value:"DESIGN"},{name:"Fonts",icon:Q9e,value:"FONTS"},{name:"Stylesheets",icon:rjt,value:"STYLESHEETS"},{name:"Other",icon:Y_t,value:"OTHER"}],njt=[{name:"Figma",icon:()=>C.jsx("img",{src:M9e,alt:"Figma",style:{borderRadius:"3px"}}),value:"FIGMA"},{name:"Oxygen",icon:()=>C.jsx("img",{src:U9e,alt:"Oxygen",style:{borderRadius:"3px"}}),value:"OXYGEN"},{name:"Bricks",icon:()=>C.jsx("img",{src:R9e,alt:"Bricks",style:{borderRadius:"3px"}}),value:"BRICKS"},{name:"Gutenberg",icon:()=>C.jsx("img",{src:_9e,alt:"Gutenberg",style:{borderRadius:"3px"}}),value:"GUTENBERG"},{name:"Addons",icon:j9e,value:"ADDONS"},{name:"Manage project",icon:Xl,value:"IMPORT_EXPORT"},{name:"Preferences",icon:ejt,value:"PREFERENCES"}],yO=Zr([]),VC=Zr(null),I0e=Zr(jat),Sv=Zr(t=>t(I0e),(t,e,r)=>{e(I0e,r),vO.some(i=>i.value===r)||e(VC,null)});async function ijt(t){if((await new window.wp.api.models.Settings().fetch())?.core_framework_main===t)return new Promise(o=>o({success:!0}));const i=new window.wp.api.models.Settings({core_framework_main:t});return new Promise((o,s)=>{i.save().then(a=>o({success:!0,res:a})).catch(a=>o({success:!1,err:a}))})}const Fp=kI("preferences",kA),Tp=Zr(null,async(t,e,r)=>{e(Fp,r);const{success:n}=await ijt(r);if(!n){const i=["Please, deactivate and activate the plugin","and make sure permalink structure is set to option other than plain.","If issue persists please contact support.","[#06]"].join(" ");wr.error(i,{duration:15e3})}});var V9e={};V9e={alpha:"ألفا",black:"أسود",blue:"أزرق","blue purple":"أرجواني مزرق",brightness:"السطوع",brown:"بني","brown yellow":"أصفر بني",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"سماوي","cyan blue":"أزرق سماوي",dark:"داكن",gray:"رمادي",grayish:"مائل للرمادي",green:"أخضر","green cyan":"سماوي مخضر",hue:"درجة اللون",light:"فاتح",lightness:"الإضاءة",magenta:"أرجواني","magenta pink":"أرجواني وردي",orange:"برتقالي","orange yellow":"أصفر برتقالي",pale:"باهت",pink:"وردي","pink red":"أحمر وردي",purple:"أرجواني","purple magenta":"بنفسجي",red:"أحمر","red orange":"برتقالي محمر",saturation:"التشبع",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} شفاف`,"very dark":"داكن جدًا","very light":"فاتح جدًا",vibrant:"ساطع",white:"أبيض",yellow:"أصفر","yellow green":"أخضر مصفر"};var $9e={};$9e={alpha:"Алфа",black:"черно",blue:"Синьо","blue purple":"синьо лилаво",brightness:"Яркост",brown:"кафяво","brown yellow":"кафяво жълто",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"циан","cyan blue":"циан синьо",dark:"тъмно",gray:"сиво",grayish:"сивкав",green:"Зелено","green cyan":"зелен циан",hue:"Оттенък",light:"светло",lightness:"Лекота",magenta:"магента","magenta pink":"магента розово",orange:"оранжево","orange yellow":"оранжево жълто",pale:"бледо",pink:"розово","pink red":"розово червено",purple:"лилаво","purple magenta":"лилаво магента",red:"Червено","red orange":"червен портокал",saturation:"Наситеност",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} прозрачен`,"very dark":"много тъмно","very light":"много светло",vibrant:" ярко",white:"бяло",yellow:"жълто","yellow green":"жълто зелен"};var H9e={};H9e={alpha:"Alfa",black:"černá",blue:"Modrá","blue purple":"modrofialová",brightness:"Jas",brown:"hnědá","brown yellow":"hnědožlutá",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"tyrkysová","cyan blue":"tyrkysovomodrá",dark:"tmavá",gray:"šedá",grayish:"našedlá",green:"Zelená","green cyan":"zelenotyrkysová",hue:"Odstín",light:"světlá",lightness:"Světlost",magenta:"purpurová","magenta pink":"purpurově růžová",orange:"oranžová","orange yellow":"oranžovožlutá",pale:"bledá",pink:"růžová","pink red":"růžovočervená",purple:"fialová","purple magenta":"fialově purpurová",red:"Červená","red orange":"červenooranžová",saturation:"Sytost",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} průhledné`,"very dark":"velmi tmavá","very light":"velmi světlá",vibrant:"zářivá",white:"bílá",yellow:"žlutá","yellow green":"žlutozelená"};var G9e={};G9e={alpha:"Alfa",black:"sort",blue:"Blå","blue purple":"blålilla",brightness:"Lysstyrke",brown:"brun","brown yellow":"brungul",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cyan","cyan blue":"cyan blå",dark:"mørk",gray:"grå",grayish:"grålig",green:"Grøn","green cyan":"grøn cyan",hue:"Tone",light:"lys",lightness:"Lyshed",magenta:"magenta","magenta pink":"magenta pink",orange:"orange","orange yellow":"orangegul",pale:"bleg",pink:"lyserød","pink red":"lyserødlig rød",purple:"lilla","purple magenta":"lilla magenta",red:"Rød","red orange":"rødorange",saturation:"Farvemætning",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} gennemsigtig`,"very dark":"meget mørk","very light":"meget lys",vibrant:"klar",white:"hvid",yellow:"gul","yellow green":"gulgrøn"};var W9e={};W9e={alpha:"Alpha",black:"Schwarz",blue:"Blau","blue purple":"Blaulila",brightness:"Helligkeit",brown:"Braun","brown yellow":"Braungelb",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"Cyan","cyan blue":"Cyanblau",dark:"dunkles",gray:"Grau",grayish:"gräuliches",green:"Grün","green cyan":"Grüncyan",hue:"Farbton",light:"helles",lightness:"Leuchtkraft",magenta:"Magenta","magenta pink":"Magentarosa",orange:"Orange","orange yellow":"Orangegelb",pale:"blasses",pink:"Rosa","pink red":"Rosarot",purple:"Lila","purple magenta":"Lilamagenta",red:"Rot","red orange":"Rotorange",saturation:"Sättigung",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, zu ${t.percentTransparent} transparent`,"very dark":"sehr dunkles","very light":"sehr helles",vibrant:"lebhaftes",white:"Weiß",yellow:"Gelb","yellow green":"Gelbgrün"};var z9e={};z9e={alpha:"Άλφα",black:"μαύρο",blue:"Μπλε","blue purple":"μπλε μωβ",brightness:"Φωτεινότητα",brown:"καφέ","brown yellow":"καφέ κίτρινο",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"κυανό","cyan blue":"κυανό μπλε",dark:"σκούρο",gray:"γκρι",grayish:"γκριζωπό",green:"Πράσινο","green cyan":"πράσινο κυανό",hue:"Τόνος",light:"ανοιχτό",lightness:"Φωτεινότητα",magenta:"ματζέντα","magenta pink":"ματζέντα ροζ",orange:"πορτοκαλί","orange yellow":"πορτοκαλί κίτρινο",pale:"ανοιχτό",pink:"ροζ","pink red":"ροζ κόκκινο",purple:"μωβ","purple magenta":"μωβ ματζέντα",red:"Κόκκινο","red orange":"κόκκινο πορτοκαλί",saturation:"Κορεσμός",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} διαφανές`,"very dark":"πολύ σκούρο","very light":"πολύ ανοιχτό",vibrant:"έντονο",white:"λευκό",yellow:"κίτρινο","yellow green":"κίτρινο πράσινο"};var K9e={};K9e={hue:"Hue",saturation:"Saturation",lightness:"Lightness",brightness:"Brightness",red:"Red",green:"Green",blue:"Blue",alpha:"Alpha",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} transparent`,"very dark":"very dark",dark:"dark",light:"light","very light":"very light",pale:"pale",grayish:"grayish",vibrant:"vibrant",black:"black",white:"white",gray:"gray",pink:"pink","pink red":"pink red","red orange":"red orange",brown:"brown",orange:"orange","orange yellow":"orange yellow","brown yellow":"brown yellow",yellow:"yellow","yellow green":"yellow green","green cyan":"green cyan",cyan:"cyan","cyan blue":"cyan blue","blue purple":"blue purple",purple:"purple","purple magenta":"purple magenta",magenta:"magenta","magenta pink":"magenta pink"};var q9e={};q9e={alpha:"Alpha",black:"negro",blue:"Azul","blue purple":"púrpura azulado",brightness:"Brillo",brown:"marrón","brown yellow":"amarillo amarronado",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cian","cyan blue":"azul cian",dark:"oscuro",gray:"gris",grayish:"grisáceo",green:"Verde","green cyan":"cian verdoso",hue:"Tono",light:"claro",lightness:"Luminosidad",magenta:"magenta","magenta pink":"rosa magenta",orange:"naranja","orange yellow":"amarillo anaranjado",pale:"pálido",pink:"rosa","pink red":"rojo rosado",purple:"morado","purple magenta":"magenta violáceo",red:"Rojo","red orange":"naranja rojizo",saturation:"Saturación",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} transparente`,"very dark":"muy oscuro","very light":"muy claro",vibrant:"intenso",white:"blanco",yellow:"amarillo","yellow green":"verde amarillento"};var X9e={};X9e={alpha:"Alfa",black:"must",blue:"Sinine","blue purple":"sinakaslilla",brightness:"Heledus",brown:"pruun","brown yellow":"pruunikaskollane",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"tsüaan","cyan blue":"tsüaansinine",dark:"tume",gray:"hall",grayish:"hallikas",green:"Roheline","green cyan":"tsüaanroheline",hue:"Värv",light:"valgus",lightness:"Valgus",magenta:"magentapunane","magenta pink":"magentaroosa",orange:"oranž","orange yellow":"oranžikaskollane",pale:"kahvatu",pink:"roosa","pink red":"vaarikapunane",purple:"lilla","purple magenta":"purpurne magenta",red:"Punane","red orange":"punakasoranž",saturation:"Küllastus",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} läbipaistev`,"very dark":"väga tume","very light":"väga hele",vibrant:"ere",white:"valge",yellow:"kollane","yellow green":"kollakasroheline"};var Y9e={};Y9e={alpha:"Alpha",black:"musta",blue:"Sininen","blue purple":"sinivioletti",brightness:"Kirkkaus",brown:"ruskea","brown yellow":"ruskeankeltainen",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"syaani","cyan blue":"syaaninsininen",dark:"tumma",gray:"harmaa",grayish:"harmahtava",green:"Vihreä","green cyan":"vihreänsyaani",hue:"Sävy",light:"vaalea",lightness:"Valomäärä",magenta:"magenta","magenta pink":"magentapinkki",orange:"oranssi","orange yellow":"oranssinkeltainen",pale:"vaalea",pink:"pinkki","pink red":"vaaleanpunainen",purple:"violetti","purple magenta":"violettimagenta",red:"Punainen","red orange":"punaoranssi",saturation:"Värikylläisyys",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} läpinäkyvä`,"very dark":"hyvin tumma","very light":"erittäin vaalea",vibrant:"eloisa",white:"valkea",yellow:"keltainen","yellow green":"keltavihreä"};var J9e={};J9e={alpha:"Alpha",black:"Noir",blue:"Bleu","blue purple":"Violet bleu",brightness:"Luminosité",brown:"Brun","brown yellow":"Jaune brun",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"Cyan","cyan blue":"Bleu cyan",dark:"Sombre",gray:"Gris",grayish:"Grisâtre",green:"Vert","green cyan":"Cyan vert",hue:"Teinte",light:"Clair",lightness:"Luminosité",magenta:"Magenta","magenta pink":"Rose magenta",orange:"Orange","orange yellow":"Jaune orangé",pale:"Pâle",pink:"Rose","pink red":"Rouge rosé",purple:"Violet","purple magenta":"Magenta violet",red:"Rouge","red orange":"Orange rouge",saturation:"Saturation",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} transparent`,"very dark":"Très sombre","very light":"Très clair",vibrant:"Vif",white:"Blanc",yellow:"Jaune","yellow green":"Vert jaune"};var Z9e={};Z9e={alpha:"אלפא",black:"שחור",blue:"כחול","blue purple":"כחול סגול",brightness:"בהירות",brown:"חום","brown yellow":"חום צהוב",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"טורקיז","cyan blue":"כחול ציאן",dark:"כהה",gray:"אפור",grayish:"אפרפר",green:"ירוק","green cyan":"ציאן ירוק",hue:"גוון",light:"אור",lightness:"כמות אור",magenta:"מג'נטה","magenta pink":"ורוד מג'נטה",orange:"כתום","orange yellow":"כתום צהוב",pale:"חיוור",pink:"ורוד","pink red":"ורוד אדום",purple:"סגול","purple magenta":"מג'נטה סגול",red:"אדום","red orange":"כתום אדום",saturation:"רוויה",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} שקוף`,"very dark":"כהה מאוד","very light":"בהיר מאוד",vibrant:"תוסס",white:"לבן",yellow:"צהוב","yellow green":"צהוב ירוק"};var eOe={};eOe={alpha:"Alfa",black:"crno",blue:"Plava","blue purple":"plavo ljubičasta",brightness:"Svjetlina",brown:"smeđa","brown yellow":"smeđe žuta",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cijan","cyan blue":"cijan plava",dark:"tamno",gray:"siva",grayish:"sivkasto",green:"Zelena","green cyan":"zelena cijan",hue:"Nijansa",light:"svjetlo",lightness:"Osvijetljenost",magenta:"magenta","magenta pink":"magentno ružičasta",orange:"narančasta","orange yellow":"narančasto žuta",pale:"blijeda",pink:"ružičasta","pink red":"ružičasto crvena",purple:"ljubičasta","purple magenta":"ljubičasta magenta",red:"Crvena","red orange":"crveno narančasta",saturation:"Zasićenost",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} prozirnosti`,"very dark":"jako tamna","very light":"vrlo svijetlo",vibrant:"vibrantna",white:"bijela",yellow:"žuto","yellow green":"žuto zelena"};var tOe={};tOe={alpha:"Alfa",black:"fekete",blue:"Kék","blue purple":"kék lila",brightness:"Fényesség",brown:"barna","brown yellow":"barna sárga",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"ciánkék","cyan blue":"ciánkék",dark:"sötét",gray:"szürke",grayish:"szürkés",green:"Zöld","green cyan":"zöld ciánkék",hue:"Színárnyalat",light:"világos",lightness:"Világosság",magenta:"bíbor","magenta pink":"bíbor rózsaszín",orange:"narancs","orange yellow":"narancssárga",pale:"halvány",pink:"rózsaszín","pink red":"rózsaszín piros",purple:"lila","purple magenta":"lila bíbor",red:"Piros","red orange":"piros narancs",saturation:"Telítettség",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} átlátszó`,"very dark":"nagyon sötét","very light":"nagyon világos",vibrant:"élénk",white:"fehér",yellow:"sárga","yellow green":"sárga zöld"};var rOe={};rOe={alpha:"Alfa",black:"nero",blue:"Blu","blue purple":"blu viola",brightness:"Luminosità",brown:"marrone","brown yellow":"giallo bruno",colorName:t=>`${t.hue} ${t.chroma} ${t.lightness}`,cyan:"ciano","cyan blue":"blu ciano",dark:"scuro",gray:"grigio",grayish:"grigiastro",green:"Verde","green cyan":"verde ciano",hue:"Tonalità",light:"chiaro",lightness:"Luminosità",magenta:"magenta","magenta pink":"rosa magenta",orange:"arancio","orange yellow":"giallo arancio",pale:"tenue",pink:"rosa","pink red":"rosa rosso",purple:"viola","purple magenta":"viola magenta",red:"Rosso","red orange":"rosso arancio",saturation:"Saturazione",transparentColorName:t=>`${t.hue} ${t.chroma} ${t.lightness}, trasparenza ${t.percentTransparent}`,"very dark":"molto scuro","very light":"molto chiaro",vibrant:"vivace",white:"bianco",yellow:"giallo","yellow green":"giallo verde"};var nOe={};nOe={alpha:"アルファ",black:"ブラック",blue:"青","blue purple":"ブルーパープル",brightness:"明るさ",brown:"ブラウン","brown yellow":"ブラウンイエロー",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"シアン","cyan blue":"シアンブルー",dark:"ダーク",gray:"グレー",grayish:"グレイッシュ",green:"緑","green cyan":"グリーンシアン",hue:"色相",light:"ライト",lightness:"明度",magenta:"マゼンタ","magenta pink":"マゼンタピンク",orange:"オレンジ","orange yellow":"オレンジイエロー",pale:"ペール",pink:"ピンク","pink red":"ピンクレッド",purple:"パープル","purple magenta":"パープルマゼンタ",red:"赤","red orange":"レッドオレンジ",saturation:"彩度",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} 透明`,"very dark":"最も暗い","very light":"ベリーライト",vibrant:"鮮やか",white:"ホワイト",yellow:"イエロー","yellow green":"イエローグリーン"};var iOe={};iOe={alpha:"알파",black:"검은색",blue:"파랑","blue purple":"청자색",brightness:"명도",brown:"갈색","brown yellow":"황갈색",colorName:t=>`${t.lightness}, ${t.chroma}, ${t.hue}`,cyan:"청록색","cyan blue":"청록색",dark:"다크",gray:"회색",grayish:"회갈색",green:"초록","green cyan":"청록색",hue:"색조",light:"라이트",lightness:"밝기",magenta:"자홍색","magenta pink":"마젠타 핑크",orange:"주황색","orange yellow":"불그스름한 노랑",pale:"흙색",pink:"분홍색","pink red":"핑크 레드",purple:"자주색","purple magenta":"보라빛 자홍색",red:"빨강","red orange":"붉은 주황색",saturation:"채도",transparentColorName:t=>`${t.lightness}, ${t.chroma}, ${t.hue}, ${t.percentTransparent} 투명도`,"very dark":"매우 어두운","very light":"매우 연함",vibrant:"강렬한",white:"흰색",yellow:"노란색","yellow green":"연두색"};var oOe={};oOe={alpha:"Alfa",black:"juoda",blue:"Mėlyna","blue purple":"melsvai violetinė",brightness:"Ryškumas",brown:"ruda","brown yellow":"rusvai geltona",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"žalsvai mėlyna","cyan blue":"žalsvai mėlyna",dark:"tamsi",gray:"pilka",grayish:"pilkšva",green:"Žalia","green cyan":"žalsvai mėlyna",hue:"Atspalvis",light:"šviesi",lightness:"Šviesumas",magenta:"rausvai raudona","magenta pink":"purpurinė",orange:"oranžinė","orange yellow":"oranžinio atspalvio geltona",pale:"blyški",pink:"rožinė","pink red":"rožinė raudona",purple:"violetinė","purple magenta":"purpurinė rausvai raudona",red:"Raudona","red orange":"rausvai oranžinė",saturation:"Įsotinimas",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} skaidri`,"very dark":"labai tamsi","very light":"labai šviesi",vibrant:"ryški",white:"balta",yellow:"geltona","yellow green":"gelsvai žalia"};var sOe={};sOe={alpha:"Alfa",black:"melns",blue:"Zila","blue purple":"zili violets",brightness:"Spilgtums",brown:"brūns","brown yellow":"brūni dzeltens",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"ciāns","cyan blue":"ciāna zils",dark:"tumšs",gray:"pelēks",grayish:"pelēcīgs",green:"Zaļa","green cyan":"zaļš ciāns",hue:"Nokrāsa",light:"gaišs",lightness:"Gaišums",magenta:"fuksiju","magenta pink":"fuksiju rozā",orange:"oranžs","orange yellow":"oranži dzeltens",pale:"bāls",pink:"rozā","pink red":"rozīgi sarkans",purple:"violets","purple magenta":"violets fuksiju",red:"Sarkana","red orange":"sarkanīgi oranžs",saturation:"Piesātinājums",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} caurspīdīgs`,"very dark":"ļoti tumšs","very light":"ļoti gaišs",vibrant:"košs",white:"balts",yellow:"dzeltens","yellow green":"dzelteni zaļš"};var aOe={};aOe={alpha:"Alfa",black:"svart",blue:"Blå","blue purple":"blålilla",brightness:"Lysstyrke",brown:"brun","brown yellow":"brungul",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cyan","cyan blue":"cyanblå",dark:"mørk",gray:"grå",grayish:"gråaktig",green:"Grønn","green cyan":"grønncyan",hue:"Fargetone",light:"lys",lightness:"Lyshet",magenta:"magenta","magenta pink":"magentarosa",orange:"oransje","orange yellow":"oransjegul",pale:"blek",pink:"rosa","pink red":"rosarød",purple:"lilla","purple magenta":"lillamagenta",red:"Rød","red orange":"rødoransje",saturation:"Metning",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} gjennomsiktig`,"very dark":"svært mørk","very light":"svært lys",vibrant:"levende",white:"hvit",yellow:"gul","yellow green":"gulgrønn"};var lOe={};lOe={alpha:"Alfa",black:"zwart",blue:"Blauw","blue purple":"paarsblauw",brightness:"Helderheid",brown:"bruin","brown yellow":"bruingeel",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cyaan","cyan blue":"cyaanblauw",dark:"donker",gray:"grijs",grayish:"grijsachtig",green:"Groen","green cyan":"cyaangroen",hue:"Kleurtoon",light:"licht",lightness:"Lichtsterkte",magenta:"magenta","magenta pink":"magentaroze",orange:"oranje","orange yellow":"oranjegeel",pale:"bleek",pink:"roze","pink red":"rozerood",purple:"paars","purple magenta":"magentapaars",red:"Rood","red orange":"roodoranje",saturation:"Verzadiging",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} transparant`,"very dark":"heel donker","very light":"heel licht",vibrant:"levendig",white:"wit",yellow:"geel","yellow green":"geelgroen"};var cOe={};cOe={alpha:"Alfa",black:"czarny",blue:"Niebieski","blue purple":"niebiesko-fioletowy",brightness:"Jasność",brown:"brązowy","brown yellow":"brązowo-żółty",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cyjanowy","cyan blue":"cyjanowo-niebieski",dark:"ciemny",gray:"szary",grayish:"szarawy",green:"Zielony","green cyan":"zielono-cyjanowy",hue:"Odcień",light:"jasny",lightness:"Jaskrawość",magenta:"purpurowy","magenta pink":"purpurowo-różowy",orange:"pomarańczowy","orange yellow":"pomarańczowo-żółty",pale:"blady",pink:"różowy","pink red":"różowo-czerwony",purple:"fioletowy","purple magenta":"fioletowo-purpurowy",red:"Czerwony","red orange":"czerwono-pomarańczowy",saturation:"Nasycenie",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} przezroczystości`,"very dark":"bardzo ciemny","very light":"bardzo jasny",vibrant:"intensywny",white:"biały",yellow:"żółty","yellow green":"żółto-zielony"};var uOe={};uOe={alpha:"Alfa",black:"preto",blue:"Azul","blue purple":"roxo azulado",brightness:"Brilho",brown:"marrom","brown yellow":"marrom amarelado",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"ciano","cyan blue":"azul-ciano",dark:"escuro",gray:"cinza",grayish:"acinzentado",green:"Verde","green cyan":"verde-ciano",hue:"Matiz",light:"claro",lightness:"Luminosidade",magenta:"magenta","magenta pink":"rosa-magenta",orange:"laranja","orange yellow":"amarelo alaranjado",pale:"pálido",pink:"rosa","pink red":"rosa avermelhado",purple:"roxo","purple magenta":"roxo-magenta",red:"Vermelho","red orange":"laranja avermelhado",saturation:"Saturação",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} transparente`,"very dark":"muito escuro","very light":"muito claro",vibrant:"vibrante",white:"branco",yellow:"amarelo","yellow green":"verde amarelado"};var fOe={};fOe={alpha:"Alfa",black:"preto",blue:"Azul","blue purple":"azul-púrpura",brightness:"Luminosidade",brown:"castanho","brown yellow":"amarelo-castanho",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"ciano","cyan blue":"azul-ciano",dark:"escuro",gray:"cinzento",grayish:"acinzentado",green:"Verde","green cyan":"verde-ciano",hue:"Tonalidade",light:"claro",lightness:"Claridade",magenta:"magenta","magenta pink":"rosa-magenta",orange:"laranja","orange yellow":"amarelo-laranja",pale:"pálido",pink:"cor-de-rosa","pink red":"vermelho-rosa",purple:"púrpura","purple magenta":"púrpura-magenta",red:"Vermelho","red orange":"laranja-vermelho",saturation:"Saturação",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} transparente`,"very dark":"muito escuro","very light":"muito claro",vibrant:"vibrante",white:"branco",yellow:"amarelo","yellow green":"verde-amarelo"};var dOe={};dOe={alpha:"Alfa",black:"negru",blue:"Albastru","blue purple":"albastru-violet",brightness:"Luminozitate",brown:"maro","brown yellow":"galben maro",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"bleu","cyan blue":"albastru-bleu",dark:"închis",gray:"gri",grayish:"cenușiu",green:"Verde","green cyan":"verde bleu",hue:"Nuanță",light:"deschis",lightness:"Luminozitate",magenta:"fucsia","magenta pink":"roz-fucsia",orange:"portocaliu","orange yellow":"galben-portocaliu",pale:"pal",pink:"roz","pink red":"roz-roșu",purple:"violet","purple magenta":"violet-fucsia",red:"Roșu","red orange":"portocaliu-roșu",saturation:"Saturație",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} transparent`,"very dark":"foarte închis","very light":"foarte deschis",vibrant:"plin de viață",white:"alb",yellow:"galben","yellow green":"galben-verde"};var pOe={};pOe={alpha:"Альфа",black:"черный",blue:"Синий","blue purple":"сине-фиолетовый",brightness:"Яркость",brown:"коричневый","brown yellow":"коричнево-желтый",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"голубой","cyan blue":"цвет морской волны",dark:"темный",gray:"серый",grayish:"сероватый",green:"Зеленый","green cyan":"сине-зеленый",hue:"Оттенок",light:"светлый",lightness:"Освещенность",magenta:"пурпурный","magenta pink":"пурпурно-розовый",orange:"оранжевый","orange yellow":"оранжево-желтый",pale:"бледный",pink:"розовый","pink red":"розово-красный",purple:"фиолетовый","purple magenta":"фиолетово-пурпурный",red:"Красный","red orange":"красно-оранжевый",saturation:"Насыщенность",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, прозрачный на ${t.percentTransparent}`,"very dark":"очень темный","very light":"очень светлый",vibrant:"яркий",white:"белый",yellow:"желтый","yellow green":"желто-зеленый"};var AOe={};AOe={alpha:"Alfa",black:"čierna",blue:"Modrá","blue purple":"modrofialová",brightness:"Jas",brown:"hnedá","brown yellow":"hnedožltá",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"azúrová","cyan blue":"azúrová modrá",dark:"tmavá",gray:"sivá",grayish:"sivastá",green:"Zelená","green cyan":"zelená azúrová",hue:"Odtieň",light:"svetlá",lightness:"Svetlosť",magenta:"purpurová","magenta pink":"ružová purpurová",orange:"oranžová","orange yellow":"oranžovožltá",pale:"bledá",pink:"ružová","pink red":"ružovočervená",purple:"fialová","purple magenta":"fialová purpurová",red:"Červená","red orange":"červenooranžová",saturation:"Sýtosť",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} priehľadná`,"very dark":"veľmi tmavá","very light":"veľmi svetlá",vibrant:"energická",white:"biela",yellow:"žltá","yellow green":"žltozelená"};var hOe={};hOe={alpha:"Alfa",black:"črna",blue:"Modra","blue purple":"modro vijolična",brightness:"Svetlost",brown:"rjava","brown yellow":"rjavo rumena",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cian","cyan blue":"cian modra",dark:"temna",gray:"siva",grayish:"sivkasta",green:"Zelena","green cyan":"zelena cian",hue:"Barva",light:"svetla",lightness:"Lahkost",magenta:"škrlatna","magenta pink":"škrlatno roza",orange:"oranžna","orange yellow":"oranžno rumena",pale:"bleda",pink:"roza","pink red":"roza rdeča",purple:"vijolična","purple magenta":"vijolično škrlatna",red:"Rdeča","red orange":"rdeče oranžna",saturation:"Nasičenost",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} prozorna`,"very dark":"zelo temna","very light":"zelo svetla",vibrant:"živahna",white:"bela",yellow:"rumena","yellow green":"rumeno zelena"};var mOe={};mOe={alpha:"Alfa",black:"crno",blue:"Plava","blue purple":"plavoljubičasta",brightness:"Osvetljenost",brown:"smeđa","brown yellow":"smeđežuta",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cijan","cyan blue":"cijan plava",dark:"tamno",gray:"siva",grayish:"sivkasta",green:"Zelena","green cyan":"zeleno cijan",hue:"Nijansa",light:"svetla",lightness:"Osvetljenje",magenta:"purpurnocrvena","magenta pink":"magenta ružičasta",orange:"narandžasta","orange yellow":"narandžastožuta",pale:"bledo",pink:"ružičasta","pink red":"ružičastocrvena",purple:"ljubičasta","purple magenta":"ljubičasta magenta",red:"Crvena","red orange":"crvenonarandžasta",saturation:"Zasićenje",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} prozirna`,"very dark":"veoma tamno","very light":"vrlo svetlo",vibrant:"živopisna",white:"bela",yellow:"žuto","yellow green":"žutozelena"};var gOe={};gOe={alpha:"Alfa",black:"svart",blue:"Blått","blue purple":"blålila",brightness:"Ljusstyrka",brown:"brun","brown yellow":"brungul",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cyan","cyan blue":"cyanblå",dark:"mörk",gray:"grå",grayish:"gråaktig",green:"Grönt","green cyan":"grön cyan",hue:"Nyans",light:"ljus",lightness:"Ljushet",magenta:"magenta","magenta pink":"magentarosa",orange:"orange","orange yellow":"orangegul",pale:"blek",pink:"rosa","pink red":"rosaröd",purple:"lila","purple magenta":"lila magenta",red:"Rött","red orange":"rödorange",saturation:"Mättnad",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} genomskinlig`,"very dark":"mycket mörk","very light":"mycket ljus",vibrant:"livfull",white:"vit",yellow:"gul","yellow green":"gulgrön"};var vOe={};vOe={alpha:"Alfa",black:"siyah",blue:"Mavi","blue purple":"mavi mor",brightness:"Parlaklık",brown:"kahverengi","brown yellow":"kahverengi sarı",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"camgöbeği","cyan blue":"camgöbeği mavi",dark:"koyu",gray:"gri",grayish:"grimsi",green:"Yeşil","green cyan":"yeşil camgöbeği",hue:"Ton",light:"açık",lightness:"Canlılık",magenta:"eflatun","magenta pink":"eflatun pembe",orange:"turuncu","orange yellow":"turuncu sarı",pale:"solgun",pink:"pembe","pink red":"pembe kırmızı",purple:"mor","purple magenta":"mor eflatun",red:"Kırmızı","red orange":"kırmızı portakal",saturation:"Doygunluk",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} saydam`,"very dark":"çok koyu","very light":"çok açık",vibrant:"canlı",white:"beyaz",yellow:"sarı","yellow green":"sarı yeşil"};var yOe={};yOe={alpha:"Альфа",black:"чорний",blue:"Синій","blue purple":"синьо-фіолетовий",brightness:"Яскравість",brown:"коричневий","brown yellow":"коричнево-жовтий",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"блакитний","cyan blue":"синьо-блакитний",dark:"темний",gray:"сірий",grayish:"сіруватий",green:"Зелений","green cyan":"зелено-блакитний",hue:"Тон",light:"світлий",lightness:"Освітленість",magenta:"пурпуровий","magenta pink":"пурпурово-рожевий",orange:"помаранчевий","orange yellow":"помаранчево-жовтий",pale:"блідий",pink:"рожевий","pink red":"рожево-червоний",purple:"фіолетовий","purple magenta":"фіолетово-пурпуровий",red:"Червоний","red orange":"червоно-помаранчевий",saturation:"Насиченість",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, прозорий на ${t.percentTransparent}`,"very dark":"дуже темний","very light":"дуже світлий",vibrant:"яскравий",white:"білий",yellow:"жовтий","yellow green":"жовто-зелений"};var BOe={};BOe={alpha:"Alpha",black:"黑色",blue:"蓝色","blue purple":"蓝紫色",brightness:"亮度",brown:"棕色的","brown yellow":"棕黄色",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"蓝绿色","cyan blue":"青蓝色",dark:"深色",gray:"灰色",grayish:"浅灰色的",green:"绿色","green cyan":"绿青色",hue:"色相",light:"浅色",lightness:"明亮度",magenta:"紫红色","magenta pink":"紫粉色",orange:"橙色","orange yellow":"橙黄色",pale:"苍白的",pink:"粉色","pink red":"粉红色",purple:"紫色","purple magenta":"紫洋红色",red:"红色","red orange":"红橙色",saturation:"饱和度",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} 透明`,"very dark":"很暗","very light":"很浅",vibrant:"生机勃勃",white:"白色",yellow:"黄色","yellow green":"黄色/绿色"};var COe={};COe={alpha:"Alpha",black:"黑",blue:"藍色","blue purple":"藍紫",brightness:"亮度",brown:"棕","brown yellow":"棕黃",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"青","cyan blue":"青藍",dark:"暗",gray:"灰",grayish:"偏灰",green:"綠色","green cyan":"青綠",hue:"色相",light:"淺",lightness:"明亮",magenta:"洋紅","magenta pink":"淺洋紅",orange:"橙","orange yellow":"橙黃",pale:"淡",pink:"粉紅","pink red":"粉紅",purple:"紫","purple magenta":"紫洋紅",red:"紅色","red orange":"橙紅",saturation:"飽和度",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} 透明`,"very dark":"很暗","very light":"很淺",vibrant:"鮮豔",white:"白",yellow:"黃","yellow green":"黃綠"};var bOe={};bOe={"ar-AE":V9e,"bg-BG":$9e,"cs-CZ":H9e,"da-DK":G9e,"de-DE":W9e,"el-GR":z9e,"en-US":K9e,"es-ES":q9e,"et-EE":X9e,"fi-FI":Y9e,"fr-FR":J9e,"he-IL":Z9e,"hr-HR":eOe,"hu-HU":tOe,"it-IT":rOe,"ja-JP":nOe,"ko-KR":iOe,"lt-LT":oOe,"lv-LV":sOe,"nb-NO":aOe,"nl-NL":lOe,"pl-PL":cOe,"pt-BR":uOe,"pt-PT":fOe,"ro-RO":dOe,"ru-RU":pOe,"sk-SK":AOe,"sl-SI":hOe,"sr-SP":mOe,"sv-SE":gOe,"tr-TR":vOe,"uk-UA":yOe,"zh-CN":BOe,"zh-TW":COe};function xN(t,e,r){let[n,i]=E.useState(t||e),o=E.useRef(t!==void 0),s=t!==void 0;E.useEffect(()=>{let c=o.current;o.current=s},[s]);let a=s?t:n,l=E.useCallback((c,...u)=>{let f=(d,...p)=>{r&&(Object.is(a,d)||r(d,...p)),s||(a=d)};typeof c=="function"?i((p,...h)=>{let A=c(s?a:p,...h);return f(A,...u),s?p:A}):(s||i(c),f(c,...u))},[s,a,r]);return[a,l]}function Lu(t,e=-1/0,r=1/0){return Math.min(Math.max(t,e),r)}function w8(t,e){let r=t,n=0,i=e.toString(),o=i.toLowerCase().indexOf("e-");if(o>0)n=Math.abs(Math.floor(Math.log10(Math.abs(e))))+o;else{let s=i.indexOf(".");s>=0&&(n=i.length-s)}if(n>0){let s=Math.pow(10,n);r=Math.round(r*s)/s}return r}function Sf(t,e,r,n){e=Number(e),r=Number(r);let i=(t-(isNaN(e)?0:e))%n,o=w8(Math.abs(i)*2>=n?t+Math.sign(i)*(n-Math.abs(i)):t-i,n);return isNaN(e)?!isNaN(r)&&o>r&&(o=Math.floor(w8(r/n,n))*n):o<e?o=e:!isNaN(r)&&o>r&&(o=e+Math.floor(w8((r-e)/n,n))*n),o=w8(o,n),o}function ms(t,e,r=10){const n=Math.pow(r,e);return Math.round(t*n)/n}const ojt=Symbol.for("react-aria.i18n.locale"),sjt=Symbol.for("react-aria.i18n.strings");let by;class om{getStringForLocale(e,r){let i=this.getStringsForLocale(r)[e];if(!i)throw new Error(`Could not find intl message ${e} in ${r} locale`);return i}getStringsForLocale(e){let r=this.strings[e];return r||(r=ajt(e,this.strings,this.defaultLocale),this.strings[e]=r),r}static getGlobalDictionaryForPackage(e){if(typeof window>"u")return null;let r=window[ojt];if(by===void 0){let i=window[sjt];if(!i)return null;by={};for(let o in i)by[o]=new om({[r]:i[o]},r)}let n=by?.[e];if(!n)throw new Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}constructor(e,r="en-US"){this.strings=Object.fromEntries(Object.entries(e).filter(([,n])=>n)),this.defaultLocale=r}}function ajt(t,e,r="en-US"){if(e[t])return e[t];let n=ljt(t);if(e[n])return e[n];for(let i in e)if(i.startsWith(n+"-"))return e[i];return e[r]}function ljt(t){return Intl.Locale?new Intl.Locale(t).language:t.split("-")[0]}const N0e=new Map,F0e=new Map;class wOe{format(e,r){let n=this.strings.getStringForLocale(e,this.locale);return typeof n=="function"?n(r,this):n}plural(e,r,n="cardinal"){let i=r["="+e];if(i)return typeof i=="function"?i():i;let o=this.locale+":"+n,s=N0e.get(o);s||(s=new Intl.PluralRules(this.locale,{type:n}),N0e.set(o,s));let a=s.select(e);return i=r[a]||r.other,typeof i=="function"?i():i}number(e){let r=F0e.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),F0e.set(this.locale,r)),r.format(e)}select(e,r){let n=e[r]||e.other;return typeof n=="function"?n():n}constructor(e,r){this.locale=e,this.strings=r}}let mj=new Map,dG=!1;try{dG=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let BO=!1;try{BO=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const xOe={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class SN{format(e){let r="";if(!dG&&this.options.signDisplay!=null?r=ujt(this.numberFormatter,this.options.signDisplay,e):r=this.numberFormatter.format(e),this.options.style==="unit"&&!BO){var n;let{unit:i,unitDisplay:o="short",locale:s}=this.resolvedOptions();if(!i)return r;let a=(n=xOe[i])===null||n===void 0?void 0:n[o];r+=a[s]||a.default}return r}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,r){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(e,r);if(r<e)throw new RangeError("End date must be >= start date");return`${this.format(e)} – ${this.format(r)}`}formatRangeToParts(e,r){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(e,r);if(r<e)throw new RangeError("End date must be >= start date");let n=this.numberFormatter.formatToParts(e),i=this.numberFormatter.formatToParts(r);return[...n.map(o=>({...o,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...i.map(o=>({...o,source:"endRange"}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return!dG&&this.options.signDisplay!=null&&(e={...e,signDisplay:this.options.signDisplay}),!BO&&this.options.style==="unit"&&(e={...e,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}constructor(e,r={}){this.numberFormatter=cjt(e,r),this.options=r}}function cjt(t,e={}){let{numberingSystem:r}=e;if(r&&t.includes("-nu-")&&(t.includes("-u-")||(t+="-u-"),t+=`-nu-${r}`),e.style==="unit"&&!BO){var n;let{unit:s,unitDisplay:a="short"}=e;if(!s)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=xOe[s])===null||n===void 0)&&n[a]))throw new Error(`Unsupported unit ${s} with unitDisplay = ${a}`);e={...e,style:"decimal"}}let i=t+(e?Object.entries(e).sort((s,a)=>s[0]<a[0]?-1:1).join():"");if(mj.has(i))return mj.get(i);let o=new Intl.NumberFormat(t,e);return mj.set(i,o),o}function ujt(t,e,r){if(e==="auto")return t.format(r);if(e==="never")return t.format(Math.abs(r));{let n=!1;if(e==="always"?n=r>0||Object.is(r,0):e==="exceptZero"&&(Object.is(r,-0)||Object.is(r,0)?r=Math.abs(r):n=r>0),n){let i=t.format(-r),o=t.format(r),s=i.replace(o,"").replace(/\u200e|\u061C/,"");return[...s].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),i.replace(o,"!!!").replace(s,"+").replace("!!!",o)}else return t.format(r)}}function fjt(t){return t&&t.__esModule?t.default:t}let gj=new om(fjt(bOe));function bA(t){let e=sm.parse(t)||am.parse(t)||lm.parse(t);if(e)return e;throw new Error("Invalid color value: "+t)}function GA(t){return typeof t=="string"?bA(t):t}function SOe(t){return t===360?t:(t%360+360)%360}const T0e=.68,djt=.85,L0e=.55,R0e=.001,vj=[[0,"pink"],[15,"red"],[48,"orange"],[94,"yellow"],[135,"green"],[175,"cyan"],[264,"blue"],[284,"purple"],[320,"magenta"],[349,"pink"]];class wee{toHexInt(){return this.toFormat("rgb").toHexInt()}getChannelValue(e){if(e in this)return this[e];throw new Error("Unsupported color channel: "+e)}withChannelValue(e,r){if(e in this){let n=this.clone();return n[e]=r,n}throw new Error("Unsupported color channel: "+e)}getChannelName(e,r){return(om.getGlobalDictionaryForPackage("@react-stately/color")||gj).getStringForLocale(e,r)}getColorSpaceAxes(e){let{xChannel:r,yChannel:n}=e,i=r||this.getColorChannels().find(a=>a!==n),o=n||this.getColorChannels().find(a=>a!==i),s=this.getColorChannels().find(a=>a!==i&&a!==o);return{xChannel:i,yChannel:o,zChannel:s}}getColorName(e){let[r,n,i]=M0e(this),o=om.getGlobalDictionaryForPackage("@react-stately/color")||gj;if(r>.999)return o.getStringForLocale("white",e);if(r<.001)return o.getStringForLocale("black",e);let s;[s,r]=this.getOklchHue(r,n,i,e);let a="",l="";n<=.1&&n>=R0e?r>=.7?l="pale":l="grayish":n>=.15&&(l="vibrant"),r<.3?a="very dark":r<L0e?a="dark":r<.7||(r<.85?a="light":a="very light"),l&&(l=o.getStringForLocale(l,e)),a&&(a=o.getStringForLocale(a,e));let c=this.getChannelValue("alpha"),u=new wOe(e,o);if(c<1){let f=new SN(e,{style:"percent"}).format(1-c);return u.format("transparentColorName",{lightness:a,chroma:l,hue:s,percentTransparent:f}).replace(/\s+/g," ").trim()}else return u.format("colorName",{lightness:a,chroma:l,hue:s}).replace(/\s+/g," ").trim()}getOklchHue(e,r,n,i){let o=om.getGlobalDictionaryForPackage("@react-stately/color")||gj;if(r<R0e)return[o.getStringForLocale("gray",i),e];for(let s=0;s<vj.length;s++){let[a,l]=vj[s],[c,u]=vj[s+1]||[360,"pink"];if(n>=a&&n<c)return l==="orange"&&(e<T0e?l="brown":e=e-T0e+L0e),n>a+(c-a)/2&&l!==u?l=`${l} ${u}`:l==="yellow"&&e<djt&&(l="yellow green"),[o.getStringForLocale(l,i).toLocaleLowerCase(i),e]}throw new Error("Unexpected hue")}getHueName(e){let[r,n,i]=M0e(this),[o]=this.getOklchHue(r,n,i,e);return o}}class sm extends wee{static parse(e){let r=[];if(/^#[\da-f]+$/i.test(e)&&[4,5,7,9].includes(e.length)){const o=(e.length<6?e.replace(/[^#]/gi,"$&$&"):e).slice(1).split("");for(;o.length>0;)r.push(parseInt(o.splice(0,2).join(""),16));r[3]=r[3]!==void 0?r[3]/255:void 0}const n=e.match(/^rgba?\((.*)\)$/);if(n?.[1]&&(r=n[1].split(",").map(o=>Number(o.trim())),r=r.map((o,s)=>Lu(o??0,0,s<3?255:1))),!(r[0]===void 0||r[1]===void 0||r[2]===void 0)){var i;return r.length<3?void 0:new sm(r[0],r[1],r[2],(i=r[3])!==null&&i!==void 0?i:1)}}toString(e="css"){switch(e){case"hex":return"#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")).toUpperCase();case"hexa":return"#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")+Math.round(this.alpha*255).toString(16).padStart(2,"0")).toUpperCase();case"rgb":return`rgb(${this.red}, ${this.green}, ${this.blue})`;case"css":case"rgba":return`rgba(${this.red}, ${this.green}, ${this.blue}, ${this.alpha})`;default:return this.toFormat(e).toString(e)}}toFormat(e){switch(e){case"hex":case"hexa":case"rgb":case"rgba":return this;case"hsb":case"hsba":return this.toHSB();case"hsl":case"hsla":return this.toHSL();default:throw new Error("Unsupported color conversion: rgb -> "+e)}}toHexInt(){return this.red<<16|this.green<<8|this.blue}toHSB(){const e=this.red/255,r=this.green/255,n=this.blue/255,i=Math.min(e,r,n),o=Math.max(e,r,n),s=o-i,a=o===0?0:s/o;let l=0;if(s!==0){switch(o){case e:l=(r-n)/s+(r<n?6:0);break;case r:l=(n-e)/s+2;break;case n:l=(e-r)/s+4;break}l/=6}return new am(ms(l*360,2),ms(a*100,2),ms(o*100,2),this.alpha)}toHSL(){const e=this.red/255,r=this.green/255,n=this.blue/255,i=Math.min(e,r,n),o=Math.max(e,r,n),s=(o+i)/2,a=o-i;let l,c;if(a===0)l=c=0;else{switch(c=a/(s<.5?o+i:2-o-i),o){case e:l=(r-n)/a+(r<n?6:0);break;case r:l=(n-e)/a+2;break;case n:default:l=(e-r)/a+4;break}l/=6}return new lm(ms(l*360,2),ms(c*100,2),ms(s*100,2),this.alpha)}clone(){return new sm(this.red,this.green,this.blue,this.alpha)}getChannelRange(e){switch(e){case"red":case"green":case"blue":return{minValue:0,maxValue:255,step:1,pageSize:17};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+e)}}getChannelFormatOptions(e){switch(e){case"red":case"green":case"blue":return{style:"decimal"};case"alpha":return{style:"percent"};default:throw new Error("Unknown color channel: "+e)}}formatChannelValue(e,r){let n=this.getChannelFormatOptions(e),i=this.getChannelValue(e);return new SN(r,n).format(i)}getColorSpace(){return"rgb"}getColorChannels(){return sm.colorChannels}constructor(e,r,n,i){super(),this.red=e,this.green=r,this.blue=n,this.alpha=i}}sm.colorChannels=["red","green","blue"];const pjt=/hsb\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsba\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/;class am extends wee{static parse(e){let r;if(r=e.match(pjt)){var n;const[i,o,s,a]=((n=r[1])!==null&&n!==void 0?n:r[2]).split(",").map(l=>Number(l.trim().replace("%","")));return new am(SOe(i),Lu(o,0,100),Lu(s,0,100),Lu(a??1,0,1))}}toString(e="css"){switch(e){case"css":return this.toHSL().toString("css");case"hex":return this.toRGB().toString("hex");case"hexa":return this.toRGB().toString("hexa");case"hsb":return`hsb(${this.hue}, ${ms(this.saturation,2)}%, ${ms(this.brightness,2)}%)`;case"hsba":return`hsba(${this.hue}, ${ms(this.saturation,2)}%, ${ms(this.brightness,2)}%, ${this.alpha})`;default:return this.toFormat(e).toString(e)}}toFormat(e){switch(e){case"hsb":case"hsba":return this;case"hsl":case"hsla":return this.toHSL();case"rgb":case"rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsb -> "+e)}}toHSL(){let e=this.saturation/100,r=this.brightness/100,n=r*(1-e/2);return e=n===0||n===1?0:(r-n)/Math.min(n,1-n),new lm(ms(this.hue,2),ms(e*100,2),ms(n*100,2),this.alpha)}toRGB(){let e=this.hue,r=this.saturation/100,n=this.brightness/100,i=(o,s=(o+e/60)%6)=>n-r*n*Math.max(Math.min(s,4-s,1),0);return new sm(Math.round(i(5)*255),Math.round(i(3)*255),Math.round(i(1)*255),this.alpha)}clone(){return new am(this.hue,this.saturation,this.brightness,this.alpha)}getChannelRange(e){switch(e){case"hue":return{minValue:0,maxValue:360,step:1,pageSize:15};case"saturation":case"brightness":return{minValue:0,maxValue:100,step:1,pageSize:10};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+e)}}getChannelFormatOptions(e){switch(e){case"hue":return{style:"unit",unit:"degree",unitDisplay:"narrow"};case"saturation":case"brightness":case"alpha":return{style:"percent"};default:throw new Error("Unknown color channel: "+e)}}formatChannelValue(e,r){let n=this.getChannelFormatOptions(e),i=this.getChannelValue(e);return(e==="saturation"||e==="brightness")&&(i/=100),new SN(r,n).format(i)}getColorSpace(){return"hsb"}getColorChannels(){return am.colorChannels}constructor(e,r,n,i){super(),this.hue=e,this.saturation=r,this.brightness=n,this.alpha=i}}am.colorChannels=["hue","saturation","brightness"];const Ajt=/hsl\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsla\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/;class lm extends wee{static parse(e){let r;if(r=e.match(Ajt)){var n;const[i,o,s,a]=((n=r[1])!==null&&n!==void 0?n:r[2]).split(",").map(l=>Number(l.trim().replace("%","")));return new lm(SOe(i),Lu(o,0,100),Lu(s,0,100),Lu(a??1,0,1))}}toString(e="css"){switch(e){case"hex":return this.toRGB().toString("hex");case"hexa":return this.toRGB().toString("hexa");case"hsl":return`hsl(${this.hue}, ${ms(this.saturation,2)}%, ${ms(this.lightness,2)}%)`;case"css":case"hsla":return`hsla(${this.hue}, ${ms(this.saturation,2)}%, ${ms(this.lightness,2)}%, ${this.alpha})`;default:return this.toFormat(e).toString(e)}}toFormat(e){switch(e){case"hsl":case"hsla":return this;case"hsb":case"hsba":return this.toHSB();case"rgb":case"rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsl -> "+e)}}toHSB(){let e=this.saturation/100,r=this.lightness/100,n=r+e*Math.min(r,1-r);return e=n===0?0:2*(1-r/n),new am(ms(this.hue,2),ms(e*100,2),ms(n*100,2),this.alpha)}toRGB(){let e=this.hue,r=this.saturation/100,n=this.lightness/100,i=r*Math.min(n,1-n),o=(s,a=(s+e/30)%12)=>n-i*Math.max(Math.min(a-3,9-a,1),-1);return new sm(Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255),this.alpha)}clone(){return new lm(this.hue,this.saturation,this.lightness,this.alpha)}getChannelRange(e){switch(e){case"hue":return{minValue:0,maxValue:360,step:1,pageSize:15};case"saturation":case"lightness":return{minValue:0,maxValue:100,step:1,pageSize:10};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+e)}}getChannelFormatOptions(e){switch(e){case"hue":return{style:"unit",unit:"degree",unitDisplay:"narrow"};case"saturation":case"lightness":case"alpha":return{style:"percent"};default:throw new Error("Unknown color channel: "+e)}}formatChannelValue(e,r){let n=this.getChannelFormatOptions(e),i=this.getChannelValue(e);return(e==="saturation"||e==="lightness")&&(i/=100),new SN(r,n).format(i)}getColorSpace(){return"hsl"}getColorChannels(){return lm.colorChannels}constructor(e,r,n,i){super(),this.hue=e,this.saturation=r,this.lightness=n,this.alpha=i}}lm.colorChannels=["hue","saturation","lightness"];function M0e(t){let e=t.toFormat("rgb"),r=e.getChannelValue("red")/255,n=e.getChannelValue("green")/255,i=e.getChannelValue("blue")/255;[r,n,i]=mjt(r,n,i);let[o,s,a]=gjt(r,n,i),[l,c,u]=vjt(o,s,a);return hjt(l,c,u)}function hjt(t,e,r){var n=Math.atan2(r,e)*180/Math.PI;return[t,Math.sqrt(e**2+r**2),n>=0?n:n+360]}function mjt(t,e,r){return[yj(t),yj(e),yj(r)]}function yj(t){let e=t<0?-1:1,r=Math.abs(t);return r<=.04045?t/12.92:e*Math.pow((r+.055)/1.055,2.4)}function gjt(t,e,r){return pG([.4123907992659595,.35758433938387796,.1804807884018343,.21263900587151036,.7151686787677559,.07219231536073371,.01933081871559185,.11919477979462599,.9505321522496606],t,e,r)}function vjt(t,e,r){const n=[.819022437996703,.3619062600528904,-.1288737815209879,.0329836539323885,.9292868615863434,.0361446663506424,.0481771893596242,.2642395317527308,.6335478284694309],i=[.210454268309314,.7936177747023054,-.0040720430116193,1.9779985324311684,-2.42859224204858,.450593709617411,.0259040424655478,.7827717124575296,-.8086757549230774];let[o,s,a]=pG(n,t,e,r);return pG(i,Math.cbrt(o),Math.cbrt(s),Math.cbrt(a))}function pG(t,e,r,n){let i=t[0]*e+t[1]*r+t[2]*n,o=t[3]*e+t[4]*r+t[5]*n,s=t[6]*e+t[7]*r+t[8]*n;return[i,o,s]}const yjt=bA("#ffffff");function Bjt(t){let{value:e,defaultValue:r,colorSpace:n,xChannel:i,yChannel:o,onChange:s,onChangeEnd:a}=t;!e&&!r&&(r=yjt),e&&(e=GA(e)),r&&(r=GA(r));let[l,c]=xN(e,r,s),[u]=E.useState(l),f=E.useMemo(()=>n&&l?l.toFormat(n):l,[l,n]),d=E.useRef(f),p=V=>{d.current=V,c(V)},h=E.useMemo(()=>f.getColorSpaceAxes({xChannel:i,yChannel:o}),[f,i,o]),A=f.getChannelRange(h.xChannel),g=f.getChannelRange(h.yChannel),{minValue:m,maxValue:v,step:y,pageSize:b}=A,{minValue:B,maxValue:S,step:w,pageSize:x}=g,[I,F]=E.useState(!1),k=E.useRef(!1),O=f.getChannelValue(h.xChannel),L=f.getChannelValue(h.yChannel),M=V=>{if(V===O)return;let j=f.withChannelValue(h.xChannel,V);p(j)},H=V=>{if(V===L)return;let j=f.withChannelValue(h.yChannel,V);p(j)};return{channels:h,xChannelStep:y,yChannelStep:w,xChannelPageStep:b,yChannelPageStep:x,value:f,defaultValue:e!==void 0?u:r,setValue(V){p(GA(V))},xValue:O,setXValue:M,yValue:L,setYValue:H,setColorFromPoint(V,j){let R=m+Lu(V,0,1)*(v-m),Q=B+(1-Lu(j,0,1))*(S-B),z;R!==O&&(R=Sf(R,m,v,y),z=f.withChannelValue(h.xChannel,R)),Q!==L&&(Q=Sf(Q,B,S,w),z=(z||f).withChannelValue(h.yChannel,Q)),z&&p(z)},getThumbPosition(){let V=(O-m)/(v-m),j=1-(L-B)/(S-B);return{x:V,y:j}},incrementX(V=1){M(O+V>v?v:Sf(O+V,m,v,y))},incrementY(V=1){H(L+V>S?S:Sf(L+V,B,S,w))},decrementX(V=1){M(Sf(O-V,m,v,y))},decrementY(V=1){H(Sf(L-V,B,S,w))},setDragging(V){let j=k.current;k.current=V,a&&!V&&j&&a(d.current),F(V)},isDragging:I,getDisplayColor(){return f.withChannelValue("alpha",1)}}}const Cjt=0,bjt=100,wjt=1;function xjt(t){const{isDisabled:e=!1,minValue:r=Cjt,maxValue:n=bjt,numberFormatter:i,step:o=wjt,orientation:s="horizontal"}=t;let a=E.useMemo(()=>{let _=(n-r)/10;return _=Sf(_,0,_+o,o),Math.max(_,o)},[o,n,r]),l=E.useCallback(_=>_?.map((G,W)=>{let J=W===0?r:_[W-1],ee=W===_.length-1?n:_[W+1];return Sf(G,J,ee,o)}),[r,n,o]),c=E.useMemo(()=>l(j0e(t.value)),[t.value,l]),u=E.useMemo(()=>{var _;return l((_=j0e(t.defaultValue))!==null&&_!==void 0?_:[r])},[t.defaultValue,r,l]),f=U0e(t.value,t.defaultValue,t.onChange),d=U0e(t.value,t.defaultValue,t.onChangeEnd);const[p,h]=xN(c,u,f);let[A]=E.useState(p);const[g,m]=E.useState(new Array(p.length).fill(!1)),v=E.useRef(new Array(p.length).fill(!0)),[y,b]=E.useState(void 0),B=E.useRef(p),S=E.useRef(g);let w=_=>{B.current=_,h(_)},x=_=>{S.current=_,m(_)};function I(_){return(_-r)/(n-r)}function F(_){return _===0?r:p[_-1]}function k(_){return _===p.length-1?n:p[_+1]}function O(_){return v.current[_]}function L(_,G){v.current[_]=G}function M(_,G){if(e||!O(_))return;const W=F(_),J=k(_);G=Sf(G,W,J,o);let ee=_0e(B.current,_,G);w(ee)}function H(_,G){if(e||!O(_))return;G&&(B.current=p);const W=S.current[_];S.current=_0e(S.current,_,G),x(S.current),d&&W&&!S.current.some(Boolean)&&d(B.current)}function V(_){return i.format(_)}function j(_,G){M(_,Q(G))}function R(_){return Math.round((_-r)/o)*o+r}function Q(_){const G=_*(n-r)+r;return Lu(R(G),r,n)}function z(_,G=1){let W=Math.max(G,o);M(_,Sf(p[_]+W,r,n,o))}function X(_,G=1){let W=Math.max(G,o);M(_,Sf(p[_]-W,r,n,o))}return{values:p,defaultValues:t.defaultValue!==void 0?u:A,getThumbValue:_=>p[_],setThumbValue:M,setThumbPercent:j,isThumbDragging:_=>g[_],setThumbDragging:H,focusedThumb:y,setFocusedThumb:b,getThumbPercent:_=>I(p[_]),getValuePercent:I,getThumbValueLabel:_=>V(p[_]),getFormattedValue:V,getThumbMinValue:F,getThumbMaxValue:k,getPercentValue:Q,isThumbEditable:O,setThumbEditable:L,incrementThumb:z,decrementThumb:X,step:o,pageSize:a,orientation:s,isDisabled:e}}function _0e(t,e,r){return t[e]===r?t:[...t.slice(0,e),r,...t.slice(e+1)]}function j0e(t){if(t!=null)return Array.isArray(t)?t:[t]}function U0e(t,e,r){return n=>{r?.(typeof t=="number"||typeof e=="number"?n[0]:n)}}function Sjt(t){let{channel:e,colorSpace:r,value:n,defaultValue:i,onChange:o,locale:s,...a}=t;if(n==null&&i==null)throw new Error("useColorSliderState requires a value or defaultValue");n&&(n=GA(n)),i&&(i=GA(i));let[l,c]=xN(n,i,o),u=E.useMemo(()=>r&&l?l.toFormat(r):l,[l,r]),[f]=E.useState(l),d=i??f,p=E.useMemo(()=>r&&d?d.toFormat(r):d,[d,r]),h=xjt({...u.getChannelRange(e),...a,numberFormatter:null,value:u.getChannelValue(e),defaultValue:p.getChannelValue(e),onChange(m){c(u.withChannelValue(e,m))},onChangeEnd(m){t.onChangeEnd&&t.onChangeEnd(u.withChannelValue(e,m))}}),{step:A,pageSize:g}=u.getChannelRange(e);return{...h,value:u,setValue(m){c(GA(m))},getDisplayColor(){switch(e){case"hue":return bA(`hsl(${u.getChannelValue("hue")}, 100%, 50%)`);case"lightness":case"brightness":case"saturation":case"red":case"green":case"blue":return u.withChannelValue("alpha",1);case"alpha":return u;default:throw new Error("Unknown color channel: "+e)}},getThumbValueLabel(){return u.formatChannelValue(e,s)},step:A,pageSize:g,isDragging:h.isThumbDragging(0)}}const Ejt=bA("hsl(0, 100%, 50%)");function Bj(t,e){return Math.round(t/e)*e}function Cj(t,e){return(t%e+e)%e}function Djt(t){let e=Math.floor(t);return e===t?t-1:e}function kjt(t){return t*Math.PI/180}function Ojt(t){return t*180/Math.PI}function Pjt(t,e){let r=kjt(360-t+90),n=Math.sin(r)*e,i=Math.cos(r)*e;return{x:n,y:i}}function Ijt(t,e,r){return(Ojt(Math.atan2(e/r,t/r))+360)%360}function Njt(t){let{value:e,defaultValue:r,onChange:n,onChangeEnd:i}=t;!e&&!r&&(r=Ejt),e&&(e=GA(e)),r&&(r=GA(r));let[o,s]=xN(e,r,n),[a]=E.useState(o),l=E.useMemo(()=>{let B=o.getColorSpace();return B==="hsl"||B==="hsb"?o:o.toFormat("hsl")},[o]),c=E.useRef(l),u=B=>{c.current=B,s(B)},f=l.getChannelRange("hue"),{minValue:d,maxValue:p,step:h,pageSize:A}=f,[g,m]=E.useState(!1),v=E.useRef(!1),y=l.getChannelValue("hue");function b(B){if(B>360&&(B=0),B=Bj(Cj(B,360),h),y!==B){let S=l.withChannelValue("hue",B);u(S)}}return{value:l,defaultValue:e!==void 0?a:r,step:h,pageStep:A,setValue(B){let S=GA(B);u(S)},hue:y,setHue:b,setHueFromPoint(B,S,w){b(Ijt(B,S,w))},getThumbPosition(B){return Pjt(l.getChannelValue("hue"),B)},increment(B=1){let S=Math.max(B,h),w=y+S;w>=p&&(w=d),b(Bj(Cj(w,360),S))},decrement(B=1){let S=Math.max(B,h);b(y===0?Djt(360/S)*S:Bj(Cj(y-S,360),S))},setDragging(B){let S=v.current;v.current=B,i&&!B&&S&&i(c.current),m(B)},isDragging:g,getDisplayColor(){return l.toFormat("hsl").withChannelValue("saturation",100).withChannelValue("lightness",50).withChannelValue("alpha",1)},isDisabled:t.isDisabled||!1}}const aw={overlap:"Variables cannot overlap.",invalid:"No such variable or color."};function qm(){const t=Xn(E.useCallback(u=>u(ad),[])),e=E.useMemo(()=>x3e(t()),[t().groups]),r=E.useRef(""),n=/^var\(--(.*?)\)$/,i=["hex","hexa"];function o(u,f=!1,d=new Set){const p=u.match(n);if(!p)return v4[u]??u;const h=p[1],A=e.find(g=>g.name===h);if(d.has(h))return r.current=aw.overlap,"";if(A){d.add(h);const g=f?A.colorDarkValue||"":A.colorValue;return o(g,f,d)}return v4[u]??u}function s(u,f=!1){const d=o(u,f),p=M4e(d);return r.current=p?"":r.current===aw.overlap?aw.overlap:aw.invalid,p}function a(u,f=!1,d=new Set){const p=u.match(n);if(!p)return!1;const h=p[1],A=e.find(g=>g.name===h);if(d.has(h))return r.current=aw.overlap,!0;if(A){d.add(h);const g=f?A.colorDarkValue||"":A.colorValue;return a(g,f,d)}return!1}function l(u,f,d=!1){try{if(!u)return bA(Ub(f));const p=o(u,d);if(p?.startsWith("hsl")&&i.includes(f)){const A=Si(p??Ub(f));return bA(A.toHex())}return bA(p??Ub(f)).toFormat(f)}catch{return bA(Ub(f)).toFormat(f)}}function c(u,f){return E.useMemo(()=>{try{return u.getColorChannels()}catch{return bA(Ub(f)).getColorChannels()}},[u])}return{getColor:o,colorVariables:e,errorMsg:r,isValidColorValue:s,checkInfinite:a,parseColorValue:l,colorChannels:c}}const j2=(t,e=0,r=1)=>See(Eee(e,t),r),xee=t=>{t._clipped=!1,t._unclipped=t.slice(0);for(let e=0;e<=3;e++)e<3?((t[e]<0||t[e]>255)&&(t._clipped=!0),t[e]=j2(t[e],0,255)):e===3&&(t[e]=j2(t[e],0,1));return t},EOe={};for(let t of["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"])EOe[`[object ${t}]`]=t.toLowerCase();function Rn(t){return EOe[Object.prototype.toString.call(t)]||"object"}const _n=(t,e=null)=>t.length>=3?Array.prototype.slice.call(t):Rn(t[0])=="object"&&e?e.split("").filter(r=>t[0][r]!==void 0).map(r=>t[0][r]):t[0],EN=t=>{if(t.length<2)return null;const e=t.length-1;return Rn(t[e])=="string"?t[e].toLowerCase():null},{PI:DN,min:See,max:Eee}=Math,yA=DN*2,bj=DN/3,Fjt=DN/180,Tjt=180/DN,yn={format:{},autodetect:[]};class $t{constructor(...e){const r=this;if(Rn(e[0])==="object"&&e[0].constructor&&e[0].constructor===this.constructor)return e[0];let n=EN(e),i=!1;if(!n){i=!0,yn.sorted||(yn.autodetect=yn.autodetect.sort((o,s)=>s.p-o.p),yn.sorted=!0);for(let o of yn.autodetect)if(n=o.test(...e),n)break}if(yn.format[n]){const o=yn.format[n].apply(null,i?e:e.slice(0,-1));r._rgb=xee(o)}else throw new Error("unknown format: "+e);r._rgb.length===3&&r._rgb.push(1)}toString(){return Rn(this.hex)=="function"?this.hex():`[${this._rgb.join(",")}]`}}const Ljt="2.6.0",Dn=(...t)=>new Dn.Color(...t);Dn.Color=$t;Dn.version=Ljt;const Rjt=(...t)=>{t=_n(t,"cmyk");const[e,r,n,i]=t,o=t.length>4?t[4]:1;return i===1?[0,0,0,o]:[e>=1?0:255*(1-e)*(1-i),r>=1?0:255*(1-r)*(1-i),n>=1?0:255*(1-n)*(1-i),o]},{max:Q0e}=Math,Mjt=(...t)=>{let[e,r,n]=_n(t,"rgb");e=e/255,r=r/255,n=n/255;const i=1-Q0e(e,Q0e(r,n)),o=i<1?1/(1-i):0,s=(1-e-i)*o,a=(1-r-i)*o,l=(1-n-i)*o;return[s,a,l,i]};$t.prototype.cmyk=function(){return Mjt(this._rgb)};Dn.cmyk=(...t)=>new $t(...t,"cmyk");yn.format.cmyk=Rjt;yn.autodetect.push({p:2,test:(...t)=>{if(t=_n(t,"cmyk"),Rn(t)==="array"&&t.length===4)return"cmyk"}});const wj=t=>Math.round(t*100)/100,_jt=(...t)=>{const e=_n(t,"hsla");let r=EN(t)||"lsa";return e[0]=wj(e[0]||0),e[1]=wj(e[1]*100)+"%",e[2]=wj(e[2]*100)+"%",r==="hsla"||e.length>3&&e[3]<1?(e[3]=e.length>3?e[3]:1,r="hsla"):e.length=3,`${r}(${e.join(",")})`},DOe=(...t)=>{t=_n(t,"rgba");let[e,r,n]=t;e/=255,r/=255,n/=255;const i=See(e,r,n),o=Eee(e,r,n),s=(o+i)/2;let a,l;return o===i?(a=0,l=Number.NaN):a=s<.5?(o-i)/(o+i):(o-i)/(2-o-i),e==o?l=(r-n)/(o-i):r==o?l=2+(n-e)/(o-i):n==o&&(l=4+(e-r)/(o-i)),l*=60,l<0&&(l+=360),t.length>3&&t[3]!==void 0?[l,a,s,t[3]]:[l,a,s]},{round:xj}=Math,jjt=(...t)=>{const e=_n(t,"rgba");let r=EN(t)||"rgb";return r.substr(0,3)=="hsl"?_jt(DOe(e),r):(e[0]=xj(e[0]),e[1]=xj(e[1]),e[2]=xj(e[2]),(r==="rgba"||e.length>3&&e[3]<1)&&(e[3]=e.length>3?e[3]:1,r="rgba"),`${r}(${e.slice(0,r==="rgb"?3:4).join(",")})`)},{round:Sj}=Math,AG=(...t)=>{t=_n(t,"hsl");const[e,r,n]=t;let i,o,s;if(r===0)i=o=s=n*255;else{const a=[0,0,0],l=[0,0,0],c=n<.5?n*(1+r):n+r-n*r,u=2*n-c,f=e/360;a[0]=f+1/3,a[1]=f,a[2]=f-1/3;for(let d=0;d<3;d++)a[d]<0&&(a[d]+=1),a[d]>1&&(a[d]-=1),6*a[d]<1?l[d]=u+(c-u)*6*a[d]:2*a[d]<1?l[d]=c:3*a[d]<2?l[d]=u+(c-u)*(2/3-a[d])*6:l[d]=u;[i,o,s]=[Sj(l[0]*255),Sj(l[1]*255),Sj(l[2]*255)]}return t.length>3?[i,o,s,t[3]]:[i,o,s,1]},kOe=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,OOe=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,POe=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,IOe=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,NOe=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,FOe=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,{round:V0e}=Math,Dee=t=>{t=t.toLowerCase().trim();let e;if(yn.format.named)try{return yn.format.named(t)}catch{}if(e=t.match(kOe)){const r=e.slice(1,4);for(let n=0;n<3;n++)r[n]=+r[n];return r[3]=1,r}if(e=t.match(OOe)){const r=e.slice(1,5);for(let n=0;n<4;n++)r[n]=+r[n];return r}if(e=t.match(POe)){const r=e.slice(1,4);for(let n=0;n<3;n++)r[n]=V0e(r[n]*2.55);return r[3]=1,r}if(e=t.match(IOe)){const r=e.slice(1,5);for(let n=0;n<3;n++)r[n]=V0e(r[n]*2.55);return r[3]=+r[3],r}if(e=t.match(NOe)){const r=e.slice(1,4);r[1]*=.01,r[2]*=.01;const n=AG(r);return n[3]=1,n}if(e=t.match(FOe)){const r=e.slice(1,4);r[1]*=.01,r[2]*=.01;const n=AG(r);return n[3]=+e[4],n}};Dee.test=t=>kOe.test(t)||OOe.test(t)||POe.test(t)||IOe.test(t)||NOe.test(t)||FOe.test(t);$t.prototype.css=function(t){return jjt(this._rgb,t)};Dn.css=(...t)=>new $t(...t,"css");yn.format.css=Dee;yn.autodetect.push({p:5,test:(t,...e)=>{if(!e.length&&Rn(t)==="string"&&Dee.test(t))return"css"}});yn.format.gl=(...t)=>{const e=_n(t,"rgba");return e[0]*=255,e[1]*=255,e[2]*=255,e};Dn.gl=(...t)=>new $t(...t,"gl");$t.prototype.gl=function(){const t=this._rgb;return[t[0]/255,t[1]/255,t[2]/255,t[3]]};const{floor:Ujt}=Math,Qjt=(...t)=>{t=_n(t,"hcg");let[e,r,n]=t,i,o,s;n=n*255;const a=r*255;if(r===0)i=o=s=n;else{e===360&&(e=0),e>360&&(e-=360),e<0&&(e+=360),e/=60;const l=Ujt(e),c=e-l,u=n*(1-r),f=u+a*(1-c),d=u+a*c,p=u+a;switch(l){case 0:[i,o,s]=[p,d,u];break;case 1:[i,o,s]=[f,p,u];break;case 2:[i,o,s]=[u,p,d];break;case 3:[i,o,s]=[u,f,p];break;case 4:[i,o,s]=[d,u,p];break;case 5:[i,o,s]=[p,u,f];break}}return[i,o,s,t.length>3?t[3]:1]},Vjt=(...t)=>{const[e,r,n]=_n(t,"rgb"),i=See(e,r,n),o=Eee(e,r,n),s=o-i,a=s*100/255,l=i/(255-s)*100;let c;return s===0?c=Number.NaN:(e===o&&(c=(r-n)/s),r===o&&(c=2+(n-e)/s),n===o&&(c=4+(e-r)/s),c*=60,c<0&&(c+=360)),[c,a,l]};$t.prototype.hcg=function(){return Vjt(this._rgb)};Dn.hcg=(...t)=>new $t(...t,"hcg");yn.format.hcg=Qjt;yn.autodetect.push({p:1,test:(...t)=>{if(t=_n(t,"hcg"),Rn(t)==="array"&&t.length===3)return"hcg"}});const $jt=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,Hjt=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,TOe=t=>{if(t.match($jt)){(t.length===4||t.length===7)&&(t=t.substr(1)),t.length===3&&(t=t.split(""),t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]);const e=parseInt(t,16),r=e>>16,n=e>>8&255,i=e&255;return[r,n,i,1]}if(t.match(Hjt)){(t.length===5||t.length===9)&&(t=t.substr(1)),t.length===4&&(t=t.split(""),t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]+t[3]+t[3]);const e=parseInt(t,16),r=e>>24&255,n=e>>16&255,i=e>>8&255,o=Math.round((e&255)/255*100)/100;return[r,n,i,o]}throw new Error(`unknown hex color: ${t}`)},{round:x8}=Math,LOe=(...t)=>{let[e,r,n,i]=_n(t,"rgba"),o=EN(t)||"auto";i===void 0&&(i=1),o==="auto"&&(o=i<1?"rgba":"rgb"),e=x8(e),r=x8(r),n=x8(n);let a="000000"+(e<<16|r<<8|n).toString(16);a=a.substr(a.length-6);let l="0"+x8(i*255).toString(16);switch(l=l.substr(l.length-2),o.toLowerCase()){case"rgba":return`#${a}${l}`;case"argb":return`#${l}${a}`;default:return`#${a}`}};$t.prototype.hex=function(t){return LOe(this._rgb,t)};Dn.hex=(...t)=>new $t(...t,"hex");yn.format.hex=TOe;yn.autodetect.push({p:4,test:(t,...e)=>{if(!e.length&&Rn(t)==="string"&&[3,4,5,6,7,8,9].indexOf(t.length)>=0)return"hex"}});const{cos:wy}=Math,Gjt=(...t)=>{t=_n(t,"hsi");let[e,r,n]=t,i,o,s;return isNaN(e)&&(e=0),isNaN(r)&&(r=0),e>360&&(e-=360),e<0&&(e+=360),e/=360,e<1/3?(s=(1-r)/3,i=(1+r*wy(yA*e)/wy(bj-yA*e))/3,o=1-(s+i)):e<2/3?(e-=1/3,i=(1-r)/3,o=(1+r*wy(yA*e)/wy(bj-yA*e))/3,s=1-(i+o)):(e-=2/3,o=(1-r)/3,s=(1+r*wy(yA*e)/wy(bj-yA*e))/3,i=1-(o+s)),i=j2(n*i*3),o=j2(n*o*3),s=j2(n*s*3),[i*255,o*255,s*255,t.length>3?t[3]:1]},{min:Wjt,sqrt:zjt,acos:Kjt}=Math,qjt=(...t)=>{let[e,r,n]=_n(t,"rgb");e/=255,r/=255,n/=255;let i;const o=Wjt(e,r,n),s=(e+r+n)/3,a=s>0?1-o/s:0;return a===0?i=NaN:(i=(e-r+(e-n))/2,i/=zjt((e-r)*(e-r)+(e-n)*(r-n)),i=Kjt(i),n>r&&(i=yA-i),i/=yA),[i*360,a,s]};$t.prototype.hsi=function(){return qjt(this._rgb)};Dn.hsi=(...t)=>new $t(...t,"hsi");yn.format.hsi=Gjt;yn.autodetect.push({p:2,test:(...t)=>{if(t=_n(t,"hsi"),Rn(t)==="array"&&t.length===3)return"hsi"}});$t.prototype.hsl=function(){return DOe(this._rgb)};Dn.hsl=(...t)=>new $t(...t,"hsl");yn.format.hsl=AG;yn.autodetect.push({p:2,test:(...t)=>{if(t=_n(t,"hsl"),Rn(t)==="array"&&t.length===3)return"hsl"}});const{floor:Xjt}=Math,Yjt=(...t)=>{t=_n(t,"hsv");let[e,r,n]=t,i,o,s;if(n*=255,r===0)i=o=s=n;else{e===360&&(e=0),e>360&&(e-=360),e<0&&(e+=360),e/=60;const a=Xjt(e),l=e-a,c=n*(1-r),u=n*(1-r*l),f=n*(1-r*(1-l));switch(a){case 0:[i,o,s]=[n,f,c];break;case 1:[i,o,s]=[u,n,c];break;case 2:[i,o,s]=[c,n,f];break;case 3:[i,o,s]=[c,u,n];break;case 4:[i,o,s]=[f,c,n];break;case 5:[i,o,s]=[n,c,u];break}}return[i,o,s,t.length>3?t[3]:1]},{min:Jjt,max:Zjt}=Math,eUt=(...t)=>{t=_n(t,"rgb");let[e,r,n]=t;const i=Jjt(e,r,n),o=Zjt(e,r,n),s=o-i;let a,l,c;return c=o/255,o===0?(a=Number.NaN,l=0):(l=s/o,e===o&&(a=(r-n)/s),r===o&&(a=2+(n-e)/s),n===o&&(a=4+(e-r)/s),a*=60,a<0&&(a+=360)),[a,l,c]};$t.prototype.hsv=function(){return eUt(this._rgb)};Dn.hsv=(...t)=>new $t(...t,"hsv");yn.format.hsv=Yjt;yn.autodetect.push({p:2,test:(...t)=>{if(t=_n(t,"hsv"),Rn(t)==="array"&&t.length===3)return"hsv"}});const nc={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},{pow:tUt}=Math,ROe=(...t)=>{t=_n(t,"lab");const[e,r,n]=t;let i,o,s,a,l,c;return o=(e+16)/116,i=isNaN(r)?o:o+r/500,s=isNaN(n)?o:o-n/200,o=nc.Yn*Dj(o),i=nc.Xn*Dj(i),s=nc.Zn*Dj(s),a=Ej(3.2404542*i-1.5371385*o-.4985314*s),l=Ej(-.969266*i+1.8760108*o+.041556*s),c=Ej(.0556434*i-.2040259*o+1.0572252*s),[a,l,c,t.length>3?t[3]:1]},Ej=t=>255*(t<=.00304?12.92*t:1.055*tUt(t,1/2.4)-.055),Dj=t=>t>nc.t1?t*t*t:nc.t2*(t-nc.t0),{pow:MOe}=Math,_Oe=(...t)=>{const[e,r,n]=_n(t,"rgb"),[i,o,s]=rUt(e,r,n),a=116*o-16;return[a<0?0:a,500*(i-o),200*(o-s)]},kj=t=>(t/=255)<=.04045?t/12.92:MOe((t+.055)/1.055,2.4),Oj=t=>t>nc.t3?MOe(t,1/3):t/nc.t2+nc.t0,rUt=(t,e,r)=>{t=kj(t),e=kj(e),r=kj(r);const n=Oj((.4124564*t+.3575761*e+.1804375*r)/nc.Xn),i=Oj((.2126729*t+.7151522*e+.072175*r)/nc.Yn),o=Oj((.0193339*t+.119192*e+.9503041*r)/nc.Zn);return[n,i,o]};$t.prototype.lab=function(){return _Oe(this._rgb)};Dn.lab=(...t)=>new $t(...t,"lab");yn.format.lab=ROe;yn.autodetect.push({p:2,test:(...t)=>{if(t=_n(t,"lab"),Rn(t)==="array"&&t.length===3)return"lab"}});const{sin:nUt,cos:iUt}=Math,jOe=(...t)=>{let[e,r,n]=_n(t,"lch");return isNaN(n)&&(n=0),n=n*Fjt,[e,iUt(n)*r,nUt(n)*r]},UOe=(...t)=>{t=_n(t,"lch");const[e,r,n]=t,[i,o,s]=jOe(e,r,n),[a,l,c]=ROe(i,o,s);return[a,l,c,t.length>3?t[3]:1]},oUt=(...t)=>{const e=_n(t,"hcl").reverse();return UOe(...e)},{sqrt:sUt,atan2:aUt,round:lUt}=Math,QOe=(...t)=>{const[e,r,n]=_n(t,"lab"),i=sUt(r*r+n*n);let o=(aUt(n,r)*Tjt+360)%360;return lUt(i*1e4)===0&&(o=Number.NaN),[e,i,o]},VOe=(...t)=>{const[e,r,n]=_n(t,"rgb"),[i,o,s]=_Oe(e,r,n);return QOe(i,o,s)};$t.prototype.lch=function(){return VOe(this._rgb)};$t.prototype.hcl=function(){return VOe(this._rgb).reverse()};Dn.lch=(...t)=>new $t(...t,"lch");Dn.hcl=(...t)=>new $t(...t,"hcl");yn.format.lch=UOe;yn.format.hcl=oUt;["lch","hcl"].forEach(t=>yn.autodetect.push({p:2,test:(...e)=>{if(e=_n(e,t),Rn(e)==="array"&&e.length===3)return t}}));const zB={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",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:"#ff00ff",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",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",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",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",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:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};$t.prototype.name=function(){const t=LOe(this._rgb,"rgb");for(let e of Object.keys(zB))if(zB[e]===t)return e.toLowerCase();return t};yn.format.named=t=>{if(t=t.toLowerCase(),zB[t])return TOe(zB[t]);throw new Error("unknown color name: "+t)};yn.autodetect.push({p:5,test:(t,...e)=>{if(!e.length&&Rn(t)==="string"&&zB[t.toLowerCase()])return"named"}});const cUt=t=>{if(Rn(t)=="number"&&t>=0&&t<=16777215){const e=t>>16,r=t>>8&255,n=t&255;return[e,r,n,1]}throw new Error("unknown num color: "+t)},uUt=(...t)=>{const[e,r,n]=_n(t,"rgb");return(e<<16)+(r<<8)+n};$t.prototype.num=function(){return uUt(this._rgb)};Dn.num=(...t)=>new $t(...t,"num");yn.format.num=cUt;yn.autodetect.push({p:5,test:(...t)=>{if(t.length===1&&Rn(t[0])==="number"&&t[0]>=0&&t[0]<=16777215)return"num"}});const{round:$Oe}=Math;$t.prototype.rgb=function(t=!0){return t===!1?this._rgb.slice(0,3):this._rgb.slice(0,3).map($Oe)};$t.prototype.rgba=function(t=!0){return this._rgb.slice(0,4).map((e,r)=>r<3?t===!1?e:$Oe(e):e)};Dn.rgb=(...t)=>new $t(...t,"rgb");yn.format.rgb=(...t)=>{const e=_n(t,"rgba");return e[3]===void 0&&(e[3]=1),e};yn.autodetect.push({p:3,test:(...t)=>{if(t=_n(t,"rgba"),Rn(t)==="array"&&(t.length===3||t.length===4&&Rn(t[3])=="number"&&t[3]>=0&&t[3]<=1))return"rgb"}});const{log:S8}=Math,HOe=t=>{const e=t/100;let r,n,i;return e<66?(r=255,n=e<6?0:-155.25485562709179-.44596950469579133*(n=e-2)+104.49216199393888*S8(n),i=e<20?0:-254.76935184120902+.8274096064007395*(i=e-10)+115.67994401066147*S8(i)):(r=351.97690566805693+.114206453784165*(r=e-55)-40.25366309332127*S8(r),n=325.4494125711974+.07943456536662342*(n=e-50)-28.0852963507957*S8(n),i=255),[r,n,i,1]},{round:fUt}=Math,dUt=(...t)=>{const e=_n(t,"rgb"),r=e[0],n=e[2];let i=1e3,o=4e4;const s=.4;let a;for(;o-i>s;){a=(o+i)*.5;const l=HOe(a);l[2]/l[0]>=n/r?o=a:i=a}return fUt(a)};$t.prototype.temp=$t.prototype.kelvin=$t.prototype.temperature=function(){return dUt(this._rgb)};Dn.temp=Dn.kelvin=Dn.temperature=(...t)=>new $t(...t,"temp");yn.format.temp=yn.format.kelvin=yn.format.temperature=HOe;const{pow:kD,sign:pUt}=Math,GOe=(...t)=>{t=_n(t,"lab");const[e,r,n]=t,i=kD(e+.3963377774*r+.2158037573*n,3),o=kD(e-.1055613458*r-.0638541728*n,3),s=kD(e-.0894841775*r-1.291485548*n,3);return[255*Pj(4.0767416621*i-3.3077115913*o+.2309699292*s),255*Pj(-1.2684380046*i+2.6097574011*o-.3413193965*s),255*Pj(-.0041960863*i-.7034186147*o+1.707614701*s),t.length>3?t[3]:1]};function Pj(t){const e=Math.abs(t);return e>.0031308?(pUt(t)||1)*(1.055*kD(e,1/2.4)-.055):t*12.92}const{cbrt:Ij,pow:AUt,sign:hUt}=Math,WOe=(...t)=>{const[e,r,n]=_n(t,"rgb"),[i,o,s]=[Nj(e/255),Nj(r/255),Nj(n/255)],a=Ij(.4122214708*i+.5363325363*o+.0514459929*s),l=Ij(.2119034982*i+.6806995451*o+.1073969566*s),c=Ij(.0883024619*i+.2817188376*o+.6299787005*s);return[.2104542553*a+.793617785*l-.0040720468*c,1.9779984951*a-2.428592205*l+.4505937099*c,.0259040371*a+.7827717662*l-.808675766*c]};function Nj(t){const e=Math.abs(t);return e<.04045?t/12.92:(hUt(t)||1)*AUt((e+.055)/1.055,2.4)}$t.prototype.oklab=function(){return WOe(this._rgb)};Dn.oklab=(...t)=>new $t(...t,"oklab");yn.format.oklab=GOe;yn.autodetect.push({p:3,test:(...t)=>{if(t=_n(t,"oklab"),Rn(t)==="array"&&t.length===3)return"oklab"}});const mUt=(...t)=>{t=_n(t,"lch");const[e,r,n]=t,[i,o,s]=jOe(e,r,n),[a,l,c]=GOe(i,o,s);return[a,l,c,t.length>3?t[3]:1]},gUt=(...t)=>{const[e,r,n]=_n(t,"rgb"),[i,o,s]=WOe(e,r,n);return QOe(i,o,s)};$t.prototype.oklch=function(){return gUt(this._rgb)};Dn.oklch=(...t)=>new $t(...t,"oklch");yn.format.oklch=mUt;yn.autodetect.push({p:3,test:(...t)=>{if(t=_n(t,"oklch"),Rn(t)==="array"&&t.length===3)return"oklch"}});$t.prototype.alpha=function(t,e=!1){return t!==void 0&&Rn(t)==="number"?e?(this._rgb[3]=t,this):new $t([this._rgb[0],this._rgb[1],this._rgb[2],t],"rgb"):this._rgb[3]};$t.prototype.clipped=function(){return this._rgb._clipped||!1};$t.prototype.darken=function(t=1){const e=this,r=e.lab();return r[0]-=nc.Kn*t,new $t(r,"lab").alpha(e.alpha(),!0)};$t.prototype.brighten=function(t=1){return this.darken(-t)};$t.prototype.darker=$t.prototype.darken;$t.prototype.brighter=$t.prototype.brighten;$t.prototype.get=function(t){const[e,r]=t.split("."),n=this[e]();if(r){const i=e.indexOf(r)-(e.substr(0,2)==="ok"?2:0);if(i>-1)return n[i];throw new Error(`unknown channel ${r} in mode ${e}`)}else return n};const{pow:vUt}=Math,yUt=1e-7,BUt=20;$t.prototype.luminance=function(t,e="rgb"){if(t!==void 0&&Rn(t)==="number"){if(t===0)return new $t([0,0,0,this._rgb[3]],"rgb");if(t===1)return new $t([255,255,255,this._rgb[3]],"rgb");let r=this.luminance(),n=BUt;const i=(s,a)=>{const l=s.interpolate(a,.5,e),c=l.luminance();return Math.abs(t-c)<yUt||!n--?l:c>t?i(s,l):i(l,a)},o=(r>t?i(new $t([0,0,0]),this):i(this,new $t([255,255,255]))).rgb();return new $t([...o,this._rgb[3]])}return CUt(...this._rgb.slice(0,3))};const CUt=(t,e,r)=>(t=Fj(t),e=Fj(e),r=Fj(r),.2126*t+.7152*e+.0722*r),Fj=t=>(t/=255,t<=.03928?t/12.92:vUt((t+.055)/1.055,2.4)),Ka={},J4=(t,e,r=.5,...n)=>{let i=n[0]||"lrgb";if(!Ka[i]&&!n.length&&(i=Object.keys(Ka)[0]),!Ka[i])throw new Error(`interpolation mode ${i} is not defined`);return Rn(t)!=="object"&&(t=new $t(t)),Rn(e)!=="object"&&(e=new $t(e)),Ka[i](t,e,r).alpha(t.alpha()+r*(e.alpha()-t.alpha()))};$t.prototype.mix=$t.prototype.interpolate=function(t,e=.5,...r){return J4(this,t,e,...r)};$t.prototype.premultiply=function(t=!1){const e=this._rgb,r=e[3];return t?(this._rgb=[e[0]*r,e[1]*r,e[2]*r,r],this):new $t([e[0]*r,e[1]*r,e[2]*r,r],"rgb")};$t.prototype.saturate=function(t=1){const e=this,r=e.lch();return r[1]+=nc.Kn*t,r[1]<0&&(r[1]=0),new $t(r,"lch").alpha(e.alpha(),!0)};$t.prototype.desaturate=function(t=1){return this.saturate(-t)};$t.prototype.set=function(t,e,r=!1){const[n,i]=t.split("."),o=this[n]();if(i){const s=n.indexOf(i)-(n.substr(0,2)==="ok"?2:0);if(s>-1){if(Rn(e)=="string")switch(e.charAt(0)){case"+":o[s]+=+e;break;case"-":o[s]+=+e;break;case"*":o[s]*=+e.substr(1);break;case"/":o[s]/=+e.substr(1);break;default:o[s]=+e}else if(Rn(e)==="number")o[s]=e;else throw new Error("unsupported value for Color.set");const a=new $t(o,n);return r?(this._rgb=a._rgb,this):a}throw new Error(`unknown channel ${i} in mode ${n}`)}else return o};$t.prototype.tint=function(t=.5,...e){return J4(this,"white",t,...e)};$t.prototype.shade=function(t=.5,...e){return J4(this,"black",t,...e)};const bUt=(t,e,r)=>{const n=t._rgb,i=e._rgb;return new $t(n[0]+r*(i[0]-n[0]),n[1]+r*(i[1]-n[1]),n[2]+r*(i[2]-n[2]),"rgb")};Ka.rgb=bUt;const{sqrt:Tj,pow:xy}=Math,wUt=(t,e,r)=>{const[n,i,o]=t._rgb,[s,a,l]=e._rgb;return new $t(Tj(xy(n,2)*(1-r)+xy(s,2)*r),Tj(xy(i,2)*(1-r)+xy(a,2)*r),Tj(xy(o,2)*(1-r)+xy(l,2)*r),"rgb")};Ka.lrgb=wUt;const xUt=(t,e,r)=>{const n=t.lab(),i=e.lab();return new $t(n[0]+r*(i[0]-n[0]),n[1]+r*(i[1]-n[1]),n[2]+r*(i[2]-n[2]),"lab")};Ka.lab=xUt;const $C=(t,e,r,n)=>{let i,o;n==="hsl"?(i=t.hsl(),o=e.hsl()):n==="hsv"?(i=t.hsv(),o=e.hsv()):n==="hcg"?(i=t.hcg(),o=e.hcg()):n==="hsi"?(i=t.hsi(),o=e.hsi()):n==="lch"||n==="hcl"?(n="hcl",i=t.hcl(),o=e.hcl()):n==="oklch"&&(i=t.oklch().reverse(),o=e.oklch().reverse());let s,a,l,c,u,f;(n.substr(0,1)==="h"||n==="oklch")&&([s,l,u]=i,[a,c,f]=o);let d,p,h,A;return!isNaN(s)&&!isNaN(a)?(a>s&&a-s>180?A=a-(s+360):a<s&&s-a>180?A=a+360-s:A=a-s,p=s+r*A):isNaN(s)?isNaN(a)?p=Number.NaN:(p=a,(u==1||u==0)&&n!="hsv"&&(d=c)):(p=s,(f==1||f==0)&&n!="hsv"&&(d=l)),d===void 0&&(d=l+r*(c-l)),h=u+r*(f-u),n==="oklch"?new $t([h,d,p],n):new $t([p,d,h],n)},zOe=(t,e,r)=>$C(t,e,r,"lch");Ka.lch=zOe;Ka.hcl=zOe;const SUt=(t,e,r)=>{const n=t.num(),i=e.num();return new $t(n+r*(i-n),"num")};Ka.num=SUt;const EUt=(t,e,r)=>$C(t,e,r,"hcg");Ka.hcg=EUt;const DUt=(t,e,r)=>$C(t,e,r,"hsi");Ka.hsi=DUt;const kUt=(t,e,r)=>$C(t,e,r,"hsl");Ka.hsl=kUt;const OUt=(t,e,r)=>$C(t,e,r,"hsv");Ka.hsv=OUt;const PUt=(t,e,r)=>{const n=t.oklab(),i=e.oklab();return new $t(n[0]+r*(i[0]-n[0]),n[1]+r*(i[1]-n[1]),n[2]+r*(i[2]-n[2]),"oklab")};Ka.oklab=PUt;const IUt=(t,e,r)=>$C(t,e,r,"oklch");Ka.oklch=IUt;const{pow:Lj,sqrt:Rj,PI:Mj,cos:$0e,sin:H0e,atan2:NUt}=Math,FUt=(t,e="lrgb",r=null)=>{const n=t.length;r||(r=Array.from(new Array(n)).map(()=>1));const i=n/r.reduce(function(f,d){return f+d});if(r.forEach((f,d)=>{r[d]*=i}),t=t.map(f=>new $t(f)),e==="lrgb")return TUt(t,r);const o=t.shift(),s=o.get(e),a=[];let l=0,c=0;for(let f=0;f<s.length;f++)if(s[f]=(s[f]||0)*r[0],a.push(isNaN(s[f])?0:r[0]),e.charAt(f)==="h"&&!isNaN(s[f])){const d=s[f]/180*Mj;l+=$0e(d)*r[0],c+=H0e(d)*r[0]}let u=o.alpha()*r[0];t.forEach((f,d)=>{const p=f.get(e);u+=f.alpha()*r[d+1];for(let h=0;h<s.length;h++)if(!isNaN(p[h]))if(a[h]+=r[d+1],e.charAt(h)==="h"){const A=p[h]/180*Mj;l+=$0e(A)*r[d+1],c+=H0e(A)*r[d+1]}else s[h]+=p[h]*r[d+1]});for(let f=0;f<s.length;f++)if(e.charAt(f)==="h"){let d=NUt(c/a[f],l/a[f])/Mj*180;for(;d<0;)d+=360;for(;d>=360;)d-=360;s[f]=d}else s[f]=s[f]/a[f];return u/=n,new $t(s,e).alpha(u>.99999?1:u,!0)},TUt=(t,e)=>{const r=t.length,n=[0,0,0,0];for(let i=0;i<t.length;i++){const o=t[i],s=e[i]/r,a=o._rgb;n[0]+=Lj(a[0],2)*s,n[1]+=Lj(a[1],2)*s,n[2]+=Lj(a[2],2)*s,n[3]+=a[3]*s}return n[0]=Rj(n[0]),n[1]=Rj(n[1]),n[2]=Rj(n[2]),n[3]>.9999999&&(n[3]=1),new $t(xee(n))},{pow:LUt}=Math;function CO(t){let e="rgb",r=Dn("#ccc"),n=0,i=[0,1],o=[],s=[0,0],a=!1,l=[],c=!1,u=0,f=1,d=!1,p={},h=!0,A=1;const g=function(w){if(w=w||["#fff","#000"],w&&Rn(w)==="string"&&Dn.brewer&&Dn.brewer[w.toLowerCase()]&&(w=Dn.brewer[w.toLowerCase()]),Rn(w)==="array"){w.length===1&&(w=[w[0],w[0]]),w=w.slice(0);for(let x=0;x<w.length;x++)w[x]=Dn(w[x]);o.length=0;for(let x=0;x<w.length;x++)o.push(x/(w.length-1))}return B(),l=w},m=function(w){if(a!=null){const x=a.length-1;let I=0;for(;I<x&&w>=a[I];)I++;return I-1}return 0};let v=w=>w,y=w=>w;const b=function(w,x){let I,F;if(x==null&&(x=!1),isNaN(w)||w===null)return r;x?F=w:a&&a.length>2?F=m(w)/(a.length-2):f!==u?F=(w-u)/(f-u):F=1,F=y(F),x||(F=v(F)),A!==1&&(F=LUt(F,A)),F=s[0]+F*(1-s[0]-s[1]),F=j2(F,0,1);const k=Math.floor(F*1e4);if(h&&p[k])I=p[k];else{if(Rn(l)==="array")for(let O=0;O<o.length;O++){const L=o[O];if(F<=L){I=l[O];break}if(F>=L&&O===o.length-1){I=l[O];break}if(F>L&&F<o[O+1]){F=(F-L)/(o[O+1]-L),I=Dn.interpolate(l[O],l[O+1],F,e);break}}else Rn(l)==="function"&&(I=l(F));h&&(p[k]=I)}return I};var B=()=>p={};g(t);const S=function(w){const x=Dn(b(w));return c&&x[c]?x[c]():x};return S.classes=function(w){if(w!=null){if(Rn(w)==="array")a=w,i=[w[0],w[w.length-1]];else{const x=Dn.analyze(i);w===0?a=[x.min,x.max]:a=Dn.limits(x,"e",w)}return S}return a},S.domain=function(w){if(!arguments.length)return i;u=w[0],f=w[w.length-1],o=[];const x=l.length;if(w.length===x&&u!==f)for(let I of Array.from(w))o.push((I-u)/(f-u));else{for(let I=0;I<x;I++)o.push(I/(x-1));if(w.length>2){const I=w.map((k,O)=>O/(w.length-1)),F=w.map(k=>(k-u)/(f-u));F.every((k,O)=>I[O]===k)||(y=k=>{if(k<=0||k>=1)return k;let O=0;for(;k>=F[O+1];)O++;const L=(k-F[O])/(F[O+1]-F[O]);return I[O]+L*(I[O+1]-I[O])})}}return i=[u,f],S},S.mode=function(w){return arguments.length?(e=w,B(),S):e},S.range=function(w,x){return g(w),S},S.out=function(w){return c=w,S},S.spread=function(w){return arguments.length?(n=w,S):n},S.correctLightness=function(w){return w==null&&(w=!0),d=w,B(),d?v=function(x){const I=b(0,!0).lab()[0],F=b(1,!0).lab()[0],k=I>F;let O=b(x,!0).lab()[0];const L=I+(F-I)*x;let M=O-L,H=0,V=1,j=20;for(;Math.abs(M)>.01&&j-- >0;)(function(){return k&&(M*=-1),M<0?(H=x,x+=(V-x)*.5):(V=x,x+=(H-x)*.5),O=b(x,!0).lab()[0],M=O-L})();return x}:v=x=>x,S},S.padding=function(w){return w!=null?(Rn(w)==="number"&&(w=[w,w]),s=w,S):s},S.colors=function(w,x){arguments.length<2&&(x="hex");let I=[];if(arguments.length===0)I=l.slice(0);else if(w===1)I=[S(.5)];else if(w>1){const F=i[0],k=i[1]-F;I=RUt(0,w,!1).map(O=>S(F+O/(w-1)*k))}else{t=[];let F=[];if(a&&a.length>2)for(let k=1,O=a.length,L=1<=O;L?k<O:k>O;L?k++:k--)F.push((a[k-1]+a[k])*.5);else F=i;I=F.map(k=>S(k))}return Dn[x]&&(I=I.map(F=>F[x]())),I},S.cache=function(w){return w!=null?(h=w,S):h},S.gamma=function(w){return w!=null?(A=w,S):A},S.nodata=function(w){return w!=null?(r=Dn(w),S):r},S}function RUt(t,e,r){let n=[],i=t<e,o=r?i?e+1:e-1:e;for(let s=t;i?s<o:s>o;i?s++:s--)n.push(s);return n}const MUt=function(t){let e=[1,1];for(let r=1;r<t;r++){let n=[1];for(let i=1;i<=e.length;i++)n[i]=(e[i]||0)+e[i-1];e=n}return e},_Ut=function(t){let e,r,n,i;if(t=t.map(o=>new $t(o)),t.length===2)[r,n]=t.map(o=>o.lab()),e=function(o){const s=[0,1,2].map(a=>r[a]+o*(n[a]-r[a]));return new $t(s,"lab")};else if(t.length===3)[r,n,i]=t.map(o=>o.lab()),e=function(o){const s=[0,1,2].map(a=>(1-o)*(1-o)*r[a]+2*(1-o)*o*n[a]+o*o*i[a]);return new $t(s,"lab")};else if(t.length===4){let o;[r,n,i,o]=t.map(s=>s.lab()),e=function(s){const a=[0,1,2].map(l=>(1-s)*(1-s)*(1-s)*r[l]+3*(1-s)*(1-s)*s*n[l]+3*(1-s)*s*s*i[l]+s*s*s*o[l]);return new $t(a,"lab")}}else if(t.length>=5){let o,s,a;o=t.map(l=>l.lab()),a=t.length-1,s=MUt(a),e=function(l){const c=1-l,u=[0,1,2].map(f=>o.reduce((d,p,h)=>d+s[h]*c**(a-h)*l**h*p[f],0));return new $t(u,"lab")}}else throw new RangeError("No point in running bezier with only one color.");return e},jUt=t=>{const e=_Ut(t);return e.scale=()=>CO(e),e},Jf=(t,e,r)=>{if(!Jf[r])throw new Error("unknown blend mode "+r);return Jf[r](t,e)},Xm=t=>(e,r)=>{const n=Dn(r).rgb(),i=Dn(e).rgb();return Dn.rgb(t(n,i))},Ym=t=>(e,r)=>{const n=[];return n[0]=t(e[0],r[0]),n[1]=t(e[1],r[1]),n[2]=t(e[2],r[2]),n},UUt=t=>t,QUt=(t,e)=>t*e/255,VUt=(t,e)=>t>e?e:t,$Ut=(t,e)=>t>e?t:e,HUt=(t,e)=>255*(1-(1-t/255)*(1-e/255)),GUt=(t,e)=>e<128?2*t*e/255:255*(1-2*(1-t/255)*(1-e/255)),WUt=(t,e)=>255*(1-(1-e/255)/(t/255)),zUt=(t,e)=>t===255?255:(t=255*(e/255)/(1-t/255),t>255?255:t);Jf.normal=Xm(Ym(UUt));Jf.multiply=Xm(Ym(QUt));Jf.screen=Xm(Ym(HUt));Jf.overlay=Xm(Ym(GUt));Jf.darken=Xm(Ym(VUt));Jf.lighten=Xm(Ym($Ut));Jf.dodge=Xm(Ym(zUt));Jf.burn=Xm(Ym(WUt));const{pow:KUt,sin:qUt,cos:XUt}=Math;function YUt(t=300,e=-1.5,r=1,n=1,i=[0,1]){let o=0,s;Rn(i)==="array"?s=i[1]-i[0]:(s=0,i=[i,i]);const a=function(l){const c=yA*((t+120)/360+e*l),u=KUt(i[0]+s*l,n),d=(o!==0?r[0]+l*o:r)*u*(1-u)/2,p=XUt(c),h=qUt(c),A=u+d*(-.14861*p+1.78277*h),g=u+d*(-.29227*p-.90649*h),m=u+d*(1.97294*p);return Dn(xee([A*255,g*255,m*255,1]))};return a.start=function(l){return l==null?t:(t=l,a)},a.rotations=function(l){return l==null?e:(e=l,a)},a.gamma=function(l){return l==null?n:(n=l,a)},a.hue=function(l){return l==null?r:(r=l,Rn(r)==="array"?(o=r[1]-r[0],o===0&&(r=r[1])):o=0,a)},a.lightness=function(l){return l==null?i:(Rn(l)==="array"?(i=l,s=l[1]-l[0]):(i=[l,l],s=0),a)},a.scale=()=>Dn.scale(a),a.hue(r),a}const JUt="0123456789abcdef",{floor:ZUt,random:eQt}=Math,tQt=()=>{let t="#";for(let e=0;e<6;e++)t+=JUt.charAt(ZUt(eQt()*16));return new $t(t,"hex")},{log:G0e,pow:rQt,floor:nQt,abs:iQt}=Math;function KOe(t,e=null){const r={min:Number.MAX_VALUE,max:Number.MAX_VALUE*-1,sum:0,values:[],count:0};return Rn(t)==="object"&&(t=Object.values(t)),t.forEach(n=>{e&&Rn(n)==="object"&&(n=n[e]),n!=null&&!isNaN(n)&&(r.values.push(n),r.sum+=n,n<r.min&&(r.min=n),n>r.max&&(r.max=n),r.count+=1)}),r.domain=[r.min,r.max],r.limits=(n,i)=>qOe(r,n,i),r}function qOe(t,e="equal",r=7){Rn(t)=="array"&&(t=KOe(t));const{min:n,max:i}=t,o=t.values.sort((a,l)=>a-l);if(r===1)return[n,i];const s=[];if(e.substr(0,1)==="c"&&(s.push(n),s.push(i)),e.substr(0,1)==="e"){s.push(n);for(let a=1;a<r;a++)s.push(n+a/r*(i-n));s.push(i)}else if(e.substr(0,1)==="l"){if(n<=0)throw new Error("Logarithmic scales are only possible for values > 0");const a=Math.LOG10E*G0e(n),l=Math.LOG10E*G0e(i);s.push(n);for(let c=1;c<r;c++)s.push(rQt(10,a+c/r*(l-a)));s.push(i)}else if(e.substr(0,1)==="q"){s.push(n);for(let a=1;a<r;a++){const l=(o.length-1)*a/r,c=nQt(l);if(c===l)s.push(o[c]);else{const u=l-c;s.push(o[c]*(1-u)+o[c+1]*u)}}s.push(i)}else if(e.substr(0,1)==="k"){let a;const l=o.length,c=new Array(l),u=new Array(r);let f=!0,d=0,p=null;p=[],p.push(n);for(let g=1;g<r;g++)p.push(n+g/r*(i-n));for(p.push(i);f;){for(let m=0;m<r;m++)u[m]=0;for(let m=0;m<l;m++){const v=o[m];let y=Number.MAX_VALUE,b;for(let B=0;B<r;B++){const S=iQt(p[B]-v);S<y&&(y=S,b=B),u[b]++,c[m]=b}}const g=new Array(r);for(let m=0;m<r;m++)g[m]=null;for(let m=0;m<l;m++)a=c[m],g[a]===null?g[a]=o[m]:g[a]+=o[m];for(let m=0;m<r;m++)g[m]*=1/u[m];f=!1;for(let m=0;m<r;m++)if(g[m]!==p[m]){f=!0;break}p=g,d++,d>200&&(f=!1)}const h={};for(let g=0;g<r;g++)h[g]=[];for(let g=0;g<l;g++)a=c[g],h[a].push(o[g]);let A=[];for(let g=0;g<r;g++)A.push(h[g][0]),A.push(h[g][h[g].length-1]);A=A.sort((g,m)=>g-m),s.push(A[0]);for(let g=1;g<A.length;g+=2){const m=A[g];!isNaN(m)&&s.indexOf(m)===-1&&s.push(m)}}return s}const oQt=(t,e)=>{t=new $t(t),e=new $t(e);const r=t.luminance(),n=e.luminance();return r>n?(r+.05)/(n+.05):(n+.05)/(r+.05)},{sqrt:oA,pow:ps,min:sQt,max:aQt,atan2:W0e,abs:z0e,cos:E8,sin:K0e,exp:lQt,PI:q0e}=Math;function cQt(t,e,r=1,n=1,i=1){var o=function(G){return 360*G/(2*q0e)},s=function(G){return 2*q0e*G/360};t=new $t(t),e=new $t(e);const[a,l,c]=Array.from(t.lab()),[u,f,d]=Array.from(e.lab()),p=(a+u)/2,h=oA(ps(l,2)+ps(c,2)),A=oA(ps(f,2)+ps(d,2)),g=(h+A)/2,m=.5*(1-oA(ps(g,7)/(ps(g,7)+ps(25,7)))),v=l*(1+m),y=f*(1+m),b=oA(ps(v,2)+ps(c,2)),B=oA(ps(y,2)+ps(d,2)),S=(b+B)/2,w=o(W0e(c,v)),x=o(W0e(d,y)),I=w>=0?w:w+360,F=x>=0?x:x+360,k=z0e(I-F)>180?(I+F+360)/2:(I+F)/2,O=1-.17*E8(s(k-30))+.24*E8(s(2*k))+.32*E8(s(3*k+6))-.2*E8(s(4*k-63));let L=F-I;L=z0e(L)<=180?L:F<=I?L+360:L-360,L=2*oA(b*B)*K0e(s(L)/2);const M=u-a,H=B-b,V=1+.015*ps(p-50,2)/oA(20+ps(p-50,2)),j=1+.045*S,R=1+.015*S*O,Q=30*lQt(-ps((k-275)/25,2)),X=-(2*oA(ps(S,7)/(ps(S,7)+ps(25,7))))*K0e(2*s(Q)),_=oA(ps(M/(r*V),2)+ps(H/(n*j),2)+ps(L/(i*R),2)+X*(H/(n*j))*(L/(i*R)));return aQt(0,sQt(100,_))}function uQt(t,e,r="lab"){t=new $t(t),e=new $t(e);const n=t.get(r),i=e.get(r);let o=0;for(let s in n){const a=(n[s]||0)-(i[s]||0);o+=a*a}return Math.sqrt(o)}const fQt=(...t)=>{try{return new $t(...t),!0}catch{return!1}},dQt={cool(){return CO([Dn.hsl(180,1,.9),Dn.hsl(250,.7,.4)])},hot(){return CO(["#000","#f00","#ff0","#fff"]).mode("rgb")}},OD={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]};for(let t of Object.keys(OD))OD[t.toLowerCase()]=OD[t];Object.assign(Dn,{average:FUt,bezier:jUt,blend:Jf,cubehelix:YUt,mix:J4,interpolate:J4,random:tQt,scale:CO,analyze:KOe,contrast:oQt,deltaE:cQt,distance:uQt,limits:qOe,valid:fQt,scales:dQt,input:yn,colors:zB,brewer:OD});var sp=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t>e?t:e},_j=function(t){var e=t/255;return e<.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)},jj=function(t){return 255*(t>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t)},kee=96.422,Oee=100,Pee=82.521,pQt=function(t){var e,r,n={x:.9555766*(e=t).x+-.0230393*e.y+.0631636*e.z,y:-.0282895*e.x+1.0099416*e.y+.0210077*e.z,z:.0122982*e.x+-.020483*e.y+1.3299098*e.z};return r={r:jj(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:jj(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:jj(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:t.a},{r:sp(r.r,0,255),g:sp(r.g,0,255),b:sp(r.b,0,255),a:sp(r.a)}},AQt=function(t){var e=_j(t.r),r=_j(t.g),n=_j(t.b);return function(i){return{x:sp(i.x,0,kee),y:sp(i.y,0,Oee),z:sp(i.z,0,Pee),a:sp(i.a)}}(function(i){return{x:1.0478112*i.x+.0228866*i.y+-.050127*i.z,y:.0295424*i.x+.9904844*i.y+-.0170491*i.z,z:-.0092345*i.x+.0150436*i.y+.7521316*i.z,a:i.a}}({x:100*(.4124564*e+.3575761*r+.1804375*n),y:100*(.2126729*e+.7151522*r+.072175*n),z:100*(.0193339*e+.119192*r+.9503041*n),a:t.a}))},E5=216/24389,U2=24389/27,X0e=function(t){var e=AQt(t),r=e.x/kee,n=e.y/Oee,i=e.z/Pee;return r=r>E5?Math.cbrt(r):(U2*r+16)/116,{l:116*(n=n>E5?Math.cbrt(n):(U2*n+16)/116)-16,a:500*(r-n),b:200*(n-(i=i>E5?Math.cbrt(i):(U2*i+16)/116)),alpha:e.a}},hQt=function(t,e,r){var n,i=X0e(t),o=X0e(e);return function(s){var a=(s.l+16)/116,l=s.a/500+a,c=a-s.b/200;return pQt({x:(Math.pow(l,3)>E5?Math.pow(l,3):(116*l-16)/U2)*kee,y:(s.l>8?Math.pow((s.l+16)/116,3):s.l/U2)*Oee,z:(Math.pow(c,3)>E5?Math.pow(c,3):(116*c-16)/U2)*Pee,a:s.alpha})}({l:sp((n={l:i.l*(1-r)+o.l*r,a:i.a*(1-r)+o.a*r,b:i.b*(1-r)+o.b*r,alpha:i.alpha*(1-r)+o.alpha*r}).l,0,400),a:n.a,b:n.b,alpha:sp(n.alpha)})};function mQt(t){function e(r,n,i){i===void 0&&(i=5);for(var o=[],s=1/(i-1),a=0;a<=i-1;a++)o.push(r.mix(n,s*a));return o}t.prototype.mix=function(r,n){n===void 0&&(n=.5);var i=r instanceof t?r:new t(r),o=hQt(this.toRgb(),i.toRgb(),n);return new t(o)},t.prototype.tints=function(r){return e(this,"#fff",r)},t.prototype.shades=function(r){return e(this,"#000",r)},t.prototype.tones=function(r){return e(this,"#808080",r)}}try{N4e([mQt])}catch{}const gQt=3;function XOe({number:t=e9,midColor:e,name:r,format:n,type:i}){if(!Dn.valid(e.trim()))return[];t===0&&(t=3);const o=n??I4e(e.trim()),s=Si(e.trim());return(i==="shade"?s.shades(t+2):s.tints(t+2)).slice(1,-1).map((l,c)=>({name:YOe({name:r,index:c,type:i}),value:UA(l,o)}))}function bO(t){return XOe({...t,type:"shade"})}function wO(t){return XOe({...t,type:"tint"})}function YOe({name:t,index:e,type:r}){return`${t}-${{shade:"d",tint:"l"}[r]}-${e+1}`}function L0(t,e,r,n=!1){const i=p=>({...p,value:UA(p.value,t.format)}),o=(p,h)=>a({midColor:p,name:t.name,number:h,format:"hsla"}).map(i),s=r==="shade",a=s?bO:wO,l=(s?t.shadesNumber:t.tintsNumber)??0,c=n?t.darkValue??"":t.value,u=(n?s?t.darkShades:t.darkTints:s?t.shades:t.tints)?.map(i);let f=l!==u?.length?o(c,u?.length??0):o(c,l);const d=o(e,l);for(let p=0;p<f.length;p++){const h=u?.[p],A=f[p];if(h&&d[p]){const g=vQt(A.value,h.value);t.prevFormat!==t.format&&g>gQt&&(d[p]=h)}}return d}function Y0e(t){const e=/hsla\((\d+),\s*(\d+)%,\s*(\d+)%,\s*([\d.]+)\)/,r=t.match(e);return r?{h:parseInt(r[1],10),s:parseInt(r[2],10),l:parseInt(r[3],10),a:parseFloat(r[4])}:{h:0,s:0,l:0,a:0}}function D8(t,e){const r=(t+e)/2;return parseFloat(Math.abs((t-e)/r*100).toFixed(2))}function vQt(t,e){const r=Y0e(UA(t,"hsla")),n=Y0e(UA(e,"hsla")),i=D8(r.h,n.h),o=D8(r.s,n.s),s=D8(r.l,n.l),a=D8(r.a,n.a);return i+o+s+a}const yQt=(t,e)=>{switch(e.type){case"restore":return e.payload;case"rename":{const{name:r}=e.payload,{isTints:n,isShades:i,isDarkMode:o,darkTints:s,darkShades:a,tints:l,shades:c,darkValue:u}=t,f=(d,p)=>d.map((h,A)=>({...h,name:YOe({name:r,index:A,type:p})}));return{...t,name:r,...i?{shades:f(c||[],"shade")}:{},...n?{tints:f(l||[],"tint")}:{},...i&&o&&u?{darkShades:f(a||[],"shade")}:{},...n&&o&&u?{darkTints:f(s||[],"tint")}:{}}}case"updateColor":{const{value:r,colorVariables:n}=e.payload,i=t.format==="raw";return{...t,value:r,...t.isShades?{shades:L0(t,i?$d(r,n):r,"shade")}:{},...t.isTints?{tints:L0(t,i?$d(r,n):r,"tint")}:{}}}case"updateFormat":{const{format:r,colorVariables:n}=e.payload,{value:i,darkValue:o,isDarkMode:s,isShades:a,isTints:l,shades:c,tints:u,darkShades:f,darkTints:d}=t,p=Si($d(i,n)),h=UA(p,r),A=s&&o?Si($d(o,n,!1,!0)):p,g=s&&o?UA(A,r):h,m=v=>({...v,value:UA(v.value,r)});return{...t,format:r,value:h,...s&&o?{darkValue:g}:{},...a?{shades:c?.map(m)}:{},...l?{tints:u?.map(m)}:{},...a&&s&&o?{darkShades:f?.map(m)}:{},...l&&s&&o?{darkTints:d?.map(m)}:{}}}case"updateDarkColor":{const{value:r,colorVariables:n}=e.payload;if(!r)return t;const i=t.format==="raw";return{...t,darkValue:r,darkShades:t.isShades?L0(t,i?$d(r,n,!1,!0):r,"shade",!0):[],darkTints:t.isTints?L0(t,i?$d(r,n,!1,!0):r,"tint",!0):[]}}}};function Rg(t){let e=t.activeElement;for(;((r=e)==null||(r=r.shadowRoot)==null?void 0:r.activeElement)!=null;){var r;e=e.shadowRoot.activeElement}return e}function wc(t,e){if(!t||!e)return!1;const r=e.getRootNode==null?void 0:e.getRootNode();if(t.contains(e))return!0;if(r&&CV(r)){let n=e;for(;n;){if(t===n)return!0;n=n.parentNode||n.host}}return!1}function BQt(){const t=navigator.userAgentData;return t!=null&&t.platform?t.platform:navigator.platform}function JOe(){const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?t.brands.map(e=>{let{brand:r,version:n}=e;return r+"/"+n}).join(" "):navigator.userAgent}function CQt(t){return t.mozInputSource===0&&t.isTrusted?!0:hG()&&t.pointerType?t.type==="click"&&t.buttons===1:t.detail===0&&!t.pointerType}function bQt(t){return xQt()?!1:!hG()&&t.width===0&&t.height===0||hG()&&t.width===1&&t.height===1&&t.pressure===0&&t.detail===0&&t.pointerType==="mouse"||t.width<1&&t.height<1&&t.pressure===0&&t.detail===0&&t.pointerType==="touch"}function wQt(){return/apple/i.test(navigator.vendor)}function hG(){const t=/android/i;return t.test(BQt())||t.test(JOe())}function xQt(){return JOe().includes("jsdom/")}function J0e(t,e){const r=["mouse","pen"];return e||r.push("",void 0),r.includes(t)}function SQt(t){return"nativeEvent"in t}function EQt(t){return t.matches("html,body")}function bf(t){return t?.ownerDocument||document}function Uj(t,e){if(e==null)return!1;if("composedPath"in t)return t.composedPath().includes(e);const r=t;return r.target!=null&&e.contains(r.target)}function Qg(t){return"composedPath"in t?t.composedPath()[0]:t.target}const DQt="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function ZOe(t){return Ys(t)&&t.matches(DQt)}function Qj(t){t.preventDefault(),t.stopPropagation()}function kQt(t){return t?t.getAttribute("role")==="combobox"&&ZOe(t):!1}var OQt=typeof document<"u",PQt=function(){},PD=OQt?E.useLayoutEffect:PQt;function xO(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let r,n,i;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(r=t.length,r!==e.length)return!1;for(n=r;n--!==0;)if(!xO(t[n],e[n]))return!1;return!0}if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){const o=i[n];if(!(o==="_owner"&&t.$$typeof)&&!xO(t[o],e[o]))return!1}return!0}return t!==t&&e!==e}function ePe(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Z0e(t,e){const r=ePe(t);return Math.round(e*r)/r}function Vj(t){const e=E.useRef(t);return PD(()=>{e.current=t}),e}function IQt(t){t===void 0&&(t={});const{placement:e="bottom",strategy:r="absolute",middleware:n=[],platform:i,elements:{reference:o,floating:s}={},transform:a=!0,whileElementsMounted:l,open:c}=t,[u,f]=E.useState({x:0,y:0,strategy:r,placement:e,middlewareData:{},isPositioned:!1}),[d,p]=E.useState(n);xO(d,n)||p(n);const[h,A]=E.useState(null),[g,m]=E.useState(null),v=E.useCallback(R=>{R!==S.current&&(S.current=R,A(R))},[]),y=E.useCallback(R=>{R!==w.current&&(w.current=R,m(R))},[]),b=o||h,B=s||g,S=E.useRef(null),w=E.useRef(null),x=E.useRef(u),I=l!=null,F=Vj(l),k=Vj(i),O=Vj(c),L=E.useCallback(()=>{if(!S.current||!w.current)return;const R={placement:e,strategy:r,middleware:d};k.current&&(R.platform=k.current),Mbe(S.current,w.current,R).then(Q=>{const z={...Q,isPositioned:O.current!==!1};M.current&&!xO(x.current,z)&&(x.current=z,pl.flushSync(()=>{f(z)}))})},[d,e,r,k,O]);PD(()=>{c===!1&&x.current.isPositioned&&(x.current.isPositioned=!1,f(R=>({...R,isPositioned:!1})))},[c]);const M=E.useRef(!1);PD(()=>(M.current=!0,()=>{M.current=!1}),[]),PD(()=>{if(b&&(S.current=b),B&&(w.current=B),b&&B){if(F.current)return F.current(b,B,L);L()}},[b,B,L,F,I]);const H=E.useMemo(()=>({reference:S,floating:w,setReference:v,setFloating:y}),[v,y]),V=E.useMemo(()=>({reference:b,floating:B}),[b,B]),j=E.useMemo(()=>{const R={position:r,left:0,top:0};if(!V.floating)return R;const Q=Z0e(V.floating,u.x),z=Z0e(V.floating,u.y);return a?{...R,transform:"translate("+Q+"px, "+z+"px)",...ePe(V.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:Q,top:z}},[r,a,V.floating,u.x,u.y]);return E.useMemo(()=>({...u,update:L,refs:H,elements:V,floatingStyles:j}),[u,L,H,V,j])}const NQt=(t,e)=>({...aY(t),options:[t,e]}),FQt=(t,e)=>({...AI(t),options:[t,e]}),TQt=(t,e)=>({...lY(t),options:[t,e]});function tPe(t){return E.useMemo(()=>t.every(e=>e==null)?null:e=>{t.forEach(r=>{typeof r=="function"?r(e):r!=null&&(r.current=e)})},t)}const rPe={...G5},LQt=rPe.useInsertionEffect,RQt=LQt||(t=>t());function b0(t){const e=E.useRef(()=>{});return RQt(()=>{e.current=t}),E.useCallback(function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return e.current==null?void 0:e.current(...n)},[])}var ku=typeof document<"u"?E.useLayoutEffect:E.useEffect;function SO(){return SO=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},SO.apply(this,arguments)}let eme=!1,MQt=0;const tme=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+MQt++;function _Qt(){const[t,e]=E.useState(()=>eme?tme():void 0);return ku(()=>{t==null&&e(tme())},[]),E.useEffect(()=>{eme=!0},[]),t}const jQt=rPe.useId,Fx=jQt||_Qt;function UQt(){const t=new Map;return{emit(e,r){var n;(n=t.get(e))==null||n.forEach(i=>i(r))},on(e,r){t.set(e,[...t.get(e)||[],r])},off(e,r){var n;t.set(e,((n=t.get(e))==null?void 0:n.filter(i=>i!==r))||[])}}}const QQt=E.createContext(null),VQt=E.createContext(null),nPe=()=>{var t;return((t=E.useContext(QQt))==null?void 0:t.id)||null},Iee=()=>E.useContext(VQt);function Z4(t){return"data-floating-ui-"+t}function $j(t){const e=E.useRef(t);return ku(()=>{e.current=t}),e}let rme=0;function Sy(t,e){e===void 0&&(e={});const{preventScroll:r=!1,cancelPrevious:n=!0,sync:i=!1}=e;n&&cancelAnimationFrame(rme);const o=()=>t?.focus({preventScroll:r});i?o():rme=requestAnimationFrame(o)}function $Qt(t,e){var r;let n=[],i=(r=t.find(o=>o.id===e))==null?void 0:r.parentId;for(;i;){const o=t.find(s=>s.id===i);i=o?.parentId,o&&(n=n.concat(o))}return n}function D5(t,e){let r=t.filter(i=>{var o;return i.parentId===e&&((o=i.context)==null?void 0:o.open)}),n=r;for(;n.length;)n=t.filter(i=>{var o;return(o=n)==null?void 0:o.some(s=>{var a;return i.parentId===s.id&&((a=i.context)==null?void 0:a.open)})}),r=r.concat(n);return r}let Ey=new WeakMap,k8=new WeakSet,O8={},Hj=0;const HQt=()=>typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype,iPe=t=>t&&(t.host||iPe(t.parentNode)),GQt=(t,e)=>e.map(r=>{if(t.contains(r))return r;const n=iPe(r);return t.contains(n)?n:null}).filter(r=>r!=null);function WQt(t,e,r,n){const i="data-floating-ui-inert",o=n?"inert":r?"aria-hidden":null,s=GQt(e,t),a=new Set,l=new Set(s),c=[];O8[i]||(O8[i]=new WeakMap);const u=O8[i];s.forEach(f),d(e),a.clear();function f(p){!p||a.has(p)||(a.add(p),p.parentNode&&f(p.parentNode))}function d(p){!p||l.has(p)||[].forEach.call(p.children,h=>{if(jm(h)!=="script")if(a.has(h))d(h);else{const A=o?h.getAttribute(o):null,g=A!==null&&A!=="false",m=(Ey.get(h)||0)+1,v=(u.get(h)||0)+1;Ey.set(h,m),u.set(h,v),c.push(h),m===1&&g&&k8.add(h),v===1&&h.setAttribute(i,""),!g&&o&&h.setAttribute(o,"true")}})}return Hj++,()=>{c.forEach(p=>{const h=(Ey.get(p)||0)-1,A=(u.get(p)||0)-1;Ey.set(p,h),u.set(p,A),h||(!k8.has(p)&&o&&p.removeAttribute(o),k8.delete(p)),A||p.removeAttribute(i)}),Hj--,Hj||(Ey=new WeakMap,Ey=new WeakMap,k8=new WeakSet,O8={})}}function nme(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!1);const n=bf(t[0]).body;return WQt(t.concat(Array.from(n.querySelectorAll("[aria-live]"))),n,e,r)}const e3=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function oPe(t,e){const r=lI(t,e3());e==="prev"&&r.reverse();const n=r.indexOf(Rg(bf(t)));return r.slice(n+1)[0]}function sPe(){return oPe(document.body,"next")}function aPe(){return oPe(document.body,"prev")}function k5(t,e){const r=e||t.currentTarget,n=t.relatedTarget;return!n||!wc(r,n)}function zQt(t){lI(t,e3()).forEach(r=>{r.dataset.tabindex=r.getAttribute("tabindex")||"",r.setAttribute("tabindex","-1")})}function ime(t){t.querySelectorAll("[data-tabindex]").forEach(r=>{const n=r.dataset.tabindex;delete r.dataset.tabindex,n?r.setAttribute("tabindex",n):r.removeAttribute("tabindex")})}const kN={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};let KQt;function ome(t){t.key==="Tab"&&(t.target,clearTimeout(KQt))}const EO=E.forwardRef(function(e,r){const[n,i]=E.useState();ku(()=>(wQt()&&i("button"),document.addEventListener("keydown",ome),()=>{document.removeEventListener("keydown",ome)}),[]);const o={ref:r,tabIndex:0,role:n,"aria-hidden":n?void 0:!0,[Z4("focus-guard")]:"",style:kN};return E.createElement("span",SO({},e,o))}),lPe=E.createContext(null),sme=Z4("portal");function qQt(t){t===void 0&&(t={});const{id:e,root:r}=t,n=Fx(),i=cPe(),[o,s]=E.useState(null),a=E.useRef(null);return ku(()=>()=>{o?.remove(),queueMicrotask(()=>{a.current=null})},[o]),ku(()=>{if(!n||a.current)return;const l=e?document.getElementById(e):null;if(!l)return;const c=document.createElement("div");c.id=n,c.setAttribute(sme,""),l.appendChild(c),a.current=c,s(c)},[e,n]),ku(()=>{if(r===null||!n||a.current)return;let l=r||i?.portalNode;l&&!$o(l)&&(l=l.current),l=l||document.body;let c=null;e&&(c=document.createElement("div"),c.id=e,l.appendChild(c));const u=document.createElement("div");u.id=n,u.setAttribute(sme,""),l=c||l,l.appendChild(u),a.current=u,s(u)},[e,r,n,i]),o}function XQt(t){const{children:e,id:r,root:n,preserveTabOrder:i=!0}=t,o=qQt({id:r,root:n}),[s,a]=E.useState(null),l=E.useRef(null),c=E.useRef(null),u=E.useRef(null),f=E.useRef(null),d=s?.modal,p=s?.open,h=!!s&&!s.modal&&s.open&&i&&!!(n||o);return E.useEffect(()=>{if(!o||!i||d)return;function A(g){o&&k5(g)&&(g.type==="focusin"?ime:zQt)(o)}return o.addEventListener("focusin",A,!0),o.addEventListener("focusout",A,!0),()=>{o.removeEventListener("focusin",A,!0),o.removeEventListener("focusout",A,!0)}},[o,i,d]),E.useEffect(()=>{o&&(p||ime(o))},[p,o]),E.createElement(lPe.Provider,{value:E.useMemo(()=>({preserveTabOrder:i,beforeOutsideRef:l,afterOutsideRef:c,beforeInsideRef:u,afterInsideRef:f,portalNode:o,setFocusManagerState:a}),[i,o])},h&&o&&E.createElement(EO,{"data-type":"outside",ref:l,onFocus:A=>{if(k5(A,o)){var g;(g=u.current)==null||g.focus()}else{const m=aPe()||s?.refs.domReference.current;m?.focus()}}}),h&&o&&E.createElement("span",{"aria-owns":o.id,style:kN}),o&&pl.createPortal(e,o),h&&o&&E.createElement(EO,{"data-type":"outside",ref:c,onFocus:A=>{if(k5(A,o)){var g;(g=f.current)==null||g.focus()}else{const m=sPe()||s?.refs.domReference.current;m?.focus(),s?.closeOnFocusOut&&s?.onOpenChange(!1,A.nativeEvent,"focus-out")}}}))}const cPe=()=>E.useContext(lPe),mG="data-floating-ui-focusable";function YQt(t){return t?t.hasAttribute(mG)?t:t.querySelector("["+mG+"]")||t:null}const ame=20;let Mg=[];function Gj(t){Mg=Mg.filter(r=>r.isConnected);let e=t;if(!(!e||jm(e)==="body")){if(!tKe(e,e3())){const r=lI(e,e3())[0];r&&(e=r)}Mg.push(e),Mg.length>ame&&(Mg=Mg.slice(-ame))}}function lme(){return Mg.slice().reverse().find(t=>t.isConnected)}const JQt=E.forwardRef(function(e,r){return E.createElement("button",SO({},e,{type:"button",ref:r,tabIndex:-1,style:kN}))});function ZQt(t){const{context:e,children:r,disabled:n=!1,order:i=["content"],guards:o=!0,initialFocus:s=0,returnFocus:a=!0,restoreFocus:l=!1,modal:c=!0,visuallyHiddenDismiss:u=!1,closeOnFocusOut:f=!0}=t,{open:d,refs:p,nodeId:h,onOpenChange:A,events:g,dataRef:m,floatingId:v,elements:{domReference:y,floating:b}}=e,B=typeof s=="number"&&s<0,S=kQt(y)&&B,w=HQt()?o:!0,x=$j(i),I=$j(s),F=$j(a),k=Iee(),O=cPe(),L=E.useRef(null),M=E.useRef(null),H=E.useRef(!1),V=E.useRef(!1),j=E.useRef(-1),R=O!=null,Q=YQt(b),z=b0(function(W){return W===void 0&&(W=Q),W?lI(W,e3()):[]}),X=b0(W=>{const J=z(W);return x.current.map(ee=>y&&ee==="reference"?y:Q&&ee==="floating"?Q:J).filter(Boolean).flat()});E.useEffect(()=>{if(n||!c)return;function W(ee){if(ee.key==="Tab"){wc(Q,Rg(bf(Q)))&&z().length===0&&!S&&Qj(ee);const q=X(),Z=Qg(ee);x.current[0]==="reference"&&Z===y&&(Qj(ee),ee.shiftKey?Sy(q[q.length-1]):Sy(q[1])),x.current[1]==="floating"&&Z===Q&&ee.shiftKey&&(Qj(ee),Sy(q[0]))}}const J=bf(Q);return J.addEventListener("keydown",W),()=>{J.removeEventListener("keydown",W)}},[n,y,Q,c,x,S,z,X]),E.useEffect(()=>{if(n||!b)return;function W(J){const ee=Qg(J),Z=z().indexOf(ee);Z!==-1&&(j.current=Z)}return b.addEventListener("focusin",W),()=>{b.removeEventListener("focusin",W)}},[n,b,z]),E.useEffect(()=>{if(n||!f)return;function W(){V.current=!0,setTimeout(()=>{V.current=!1})}function J(ee){const q=ee.relatedTarget;queueMicrotask(()=>{const Z=!(wc(y,q)||wc(b,q)||wc(q,b)||wc(O?.portalNode,q)||q!=null&&q.hasAttribute(Z4("focus-guard"))||k&&(D5(k.nodesRef.current,h).find(re=>{var fe,de;return wc((fe=re.context)==null?void 0:fe.elements.floating,q)||wc((de=re.context)==null?void 0:de.elements.domReference,q)})||$Qt(k.nodesRef.current,h).find(re=>{var fe,de;return((fe=re.context)==null?void 0:fe.elements.floating)===q||((de=re.context)==null?void 0:de.elements.domReference)===q})));if(l&&Z&&Rg(bf(Q))===bf(Q).body){Ys(Q)&&Q.focus();const re=j.current,fe=z(),de=fe[re]||fe[fe.length-1]||Q;Ys(de)&&de.focus()}(S||!c)&&q&&Z&&!V.current&&q!==lme()&&(H.current=!0,A(!1,ee,"focus-out"))})}if(b&&Ys(y))return y.addEventListener("focusout",J),y.addEventListener("pointerdown",W),b.addEventListener("focusout",J),()=>{y.removeEventListener("focusout",J),y.removeEventListener("pointerdown",W),b.removeEventListener("focusout",J)}},[n,y,b,Q,c,h,k,O,A,f,l,z,S]),E.useEffect(()=>{var W;if(n)return;const J=Array.from((O==null||(W=O.portalNode)==null?void 0:W.querySelectorAll("["+Z4("portal")+"]"))||[]);if(b){const ee=[b,...J,L.current,M.current,x.current.includes("reference")||S?y:null].filter(Z=>Z!=null),q=c||S?nme(ee,w,!w):nme(ee);return()=>{q()}}},[n,y,b,c,x,O,S,w]),ku(()=>{if(n||!Ys(Q))return;const W=bf(Q),J=Rg(W);queueMicrotask(()=>{const ee=X(Q),q=I.current,Z=(typeof q=="number"?ee[q]:q.current)||Q,re=wc(Q,J);!B&&!re&&d&&Sy(Z,{preventScroll:Z===Q})})},[n,d,Q,B,X,I]),ku(()=>{if(n||!Q)return;let W=!1;const J=bf(Q),ee=Rg(J);let Z=m.current.openEvent;Gj(ee);function re(ie){let{open:le,reason:De,event:Ae,nested:ue}=ie;le&&(Z=Ae),De==="escape-key"&&p.domReference.current&&Gj(p.domReference.current),De==="hover"&&Ae.type==="mouseleave"&&(H.current=!0),De==="outside-press"&&(ue?(H.current=!1,W=!0):H.current=!(CQt(Ae)||bQt(Ae)))}g.on("openchange",re);const fe=J.createElement("span");fe.setAttribute("tabindex","-1"),fe.setAttribute("aria-hidden","true"),Object.assign(fe.style,kN),R&&y&&y.insertAdjacentElement("afterend",fe);function de(){return typeof F.current=="boolean"?lme()||fe:F.current.current||fe}return()=>{g.off("openchange",re);const ie=Rg(J),le=wc(b,ie)||k&&D5(k.nodesRef.current,h).some(ue=>{var Ne;return wc((Ne=ue.context)==null?void 0:Ne.elements.floating,ie)});(le||Z&&["click","mousedown"].includes(Z.type))&&p.domReference.current&&Gj(p.domReference.current);const Ae=de();queueMicrotask(()=>{F.current&&!H.current&&Ys(Ae)&&(!(Ae!==ie&&ie!==J.body)||le)&&Ae.focus({preventScroll:W}),fe.remove()})}},[n,b,Q,F,m,p,g,k,h,R,y]),E.useEffect(()=>{queueMicrotask(()=>{H.current=!1})},[n]),ku(()=>{if(!n&&O)return O.setFocusManagerState({modal:c,closeOnFocusOut:f,open:d,onOpenChange:A,refs:p}),()=>{O.setFocusManagerState(null)}},[n,O,c,d,A,p,f]),ku(()=>{if(n||!Q||typeof MutationObserver!="function"||B)return;const W=()=>{const ee=Q.getAttribute("tabindex"),q=z(),Z=Rg(bf(b)),re=q.indexOf(Z);re!==-1&&(j.current=re),x.current.includes("floating")||Z!==p.domReference.current&&q.length===0?ee!=="0"&&Q.setAttribute("tabindex","0"):ee!=="-1"&&Q.setAttribute("tabindex","-1")};W();const J=new MutationObserver(W);return J.observe(Q,{childList:!0,subtree:!0,attributes:!0}),()=>{J.disconnect()}},[n,b,Q,p,x,z,B]);function _(W){return n||!u||!c?null:E.createElement(JQt,{ref:W==="start"?L:M,onClick:J=>A(!1,J.nativeEvent)},typeof u=="string"?u:"Dismiss")}const G=!n&&w&&(c?!S:!0)&&(R||c);return E.createElement(E.Fragment,null,G&&E.createElement(EO,{"data-type":"inside",ref:O?.beforeInsideRef,onFocus:W=>{if(c){const ee=X();Sy(i[0]==="reference"?ee[0]:ee[ee.length-1])}else if(O!=null&&O.preserveTabOrder&&O.portalNode)if(H.current=!1,k5(W,O.portalNode)){const ee=sPe()||y;ee?.focus()}else{var J;(J=O.beforeOutsideRef.current)==null||J.focus()}}}),!S&&_("start"),r,_("end"),G&&E.createElement(EO,{"data-type":"inside",ref:O?.afterInsideRef,onFocus:W=>{if(c)Sy(X()[0]);else if(O!=null&&O.preserveTabOrder&&O.portalNode)if(f&&(H.current=!0),k5(W,O.portalNode)){const ee=aPe()||y;ee?.focus()}else{var J;(J=O.afterOutsideRef.current)==null||J.focus()}}}))}function cme(t){return Ys(t.target)&&t.target.tagName==="BUTTON"}function ume(t){return ZOe(t)}function eVt(t,e){e===void 0&&(e={});const{open:r,onOpenChange:n,dataRef:i,elements:{domReference:o}}=t,{enabled:s=!0,event:a="click",toggle:l=!0,ignoreMouse:c=!1,keyboardHandlers:u=!0,stickIfOpen:f=!0}=e,d=E.useRef(),p=E.useRef(!1),h=E.useMemo(()=>({onPointerDown(A){d.current=A.pointerType},onMouseDown(A){const g=d.current;A.button===0&&a!=="click"&&(J0e(g,!0)&&c||(r&&l&&(!(i.current.openEvent&&f)||i.current.openEvent.type==="mousedown")?n(!1,A.nativeEvent,"click"):(A.preventDefault(),n(!0,A.nativeEvent,"click"))))},onClick(A){const g=d.current;if(a==="mousedown"&&d.current){d.current=void 0;return}J0e(g,!0)&&c||(r&&l&&(!(i.current.openEvent&&f)||i.current.openEvent.type==="click")?n(!1,A.nativeEvent,"click"):n(!0,A.nativeEvent,"click"))},onKeyDown(A){d.current=void 0,!(A.defaultPrevented||!u||cme(A))&&(A.key===" "&&!ume(o)&&(A.preventDefault(),p.current=!0),A.key==="Enter"&&n(!(r&&l),A.nativeEvent,"click"))},onKeyUp(A){A.defaultPrevented||!u||cme(A)||ume(o)||A.key===" "&&p.current&&(p.current=!1,n(!(r&&l),A.nativeEvent,"click"))}}),[i,o,a,c,u,n,r,f,l]);return E.useMemo(()=>s?{reference:h}:{},[s,h])}const tVt={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},rVt={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},fme=t=>{var e,r;return{escapeKey:typeof t=="boolean"?t:(e=t?.escapeKey)!=null?e:!1,outsidePress:typeof t=="boolean"?t:(r=t?.outsidePress)!=null?r:!0}};function nVt(t,e){e===void 0&&(e={});const{open:r,onOpenChange:n,elements:i,dataRef:o}=t,{enabled:s=!0,escapeKey:a=!0,outsidePress:l=!0,outsidePressEvent:c="pointerdown",referencePress:u=!1,referencePressEvent:f="pointerdown",ancestorScroll:d=!1,bubbles:p,capture:h}=e,A=Iee(),g=b0(typeof l=="function"?l:()=>!1),m=typeof l=="function"?g:l,v=E.useRef(!1),y=E.useRef(!1),{escapeKey:b,outsidePress:B}=fme(p),{escapeKey:S,outsidePress:w}=fme(h),x=E.useRef(!1),I=b0(H=>{var V;if(!r||!s||!a||H.key!=="Escape"||x.current)return;const j=(V=o.current.floatingContext)==null?void 0:V.nodeId,R=A?D5(A.nodesRef.current,j):[];if(!b&&(H.stopPropagation(),R.length>0)){let Q=!0;if(R.forEach(z=>{var X;if((X=z.context)!=null&&X.open&&!z.context.dataRef.current.__escapeKeyBubbles){Q=!1;return}}),!Q)return}n(!1,SQt(H)?H.nativeEvent:H,"escape-key")}),F=b0(H=>{var V;const j=()=>{var R;I(H),(R=Qg(H))==null||R.removeEventListener("keydown",j)};(V=Qg(H))==null||V.addEventListener("keydown",j)}),k=b0(H=>{var V;const j=v.current;v.current=!1;const R=y.current;if(y.current=!1,c==="click"&&R||j||typeof m=="function"&&!m(H))return;const Q=Qg(H),z="["+Z4("inert")+"]",X=bf(i.floating).querySelectorAll(z);let _=$o(Q)?Q:null;for(;_&&!Am(_);){const ee=ZA(_);if(Am(ee)||!$o(ee))break;_=ee}if(X.length&&$o(Q)&&!EQt(Q)&&!wc(Q,i.floating)&&Array.from(X).every(ee=>!wc(_,ee)))return;if(Ys(Q)&&M){const ee=Q.clientWidth>0&&Q.scrollWidth>Q.clientWidth,q=Q.clientHeight>0&&Q.scrollHeight>Q.clientHeight;let Z=q&&H.offsetX>Q.clientWidth;if(q&&ju(Q).direction==="rtl"&&(Z=H.offsetX<=Q.offsetWidth-Q.clientWidth),Z||ee&&H.offsetY>Q.clientHeight)return}const G=(V=o.current.floatingContext)==null?void 0:V.nodeId,W=A&&D5(A.nodesRef.current,G).some(ee=>{var q;return Uj(H,(q=ee.context)==null?void 0:q.elements.floating)});if(Uj(H,i.floating)||Uj(H,i.domReference)||W)return;const J=A?D5(A.nodesRef.current,G):[];if(J.length>0){let ee=!0;if(J.forEach(q=>{var Z;if((Z=q.context)!=null&&Z.open&&!q.context.dataRef.current.__outsidePressBubbles){ee=!1;return}}),!ee)return}n(!1,H,"outside-press")}),O=b0(H=>{var V;const j=()=>{var R;k(H),(R=Qg(H))==null||R.removeEventListener(c,j)};(V=Qg(H))==null||V.addEventListener(c,j)});E.useEffect(()=>{if(!r||!s)return;o.current.__escapeKeyBubbles=b,o.current.__outsidePressBubbles=B;let H=-1;function V(X){n(!1,X,"ancestor-scroll")}function j(){window.clearTimeout(H),x.current=!0}function R(){H=window.setTimeout(()=>{x.current=!1},fI()?5:0)}const Q=bf(i.floating);a&&(Q.addEventListener("keydown",S?F:I,S),Q.addEventListener("compositionstart",j),Q.addEventListener("compositionend",R)),m&&Q.addEventListener(c,w?O:k,w);let z=[];return d&&($o(i.domReference)&&(z=Tu(i.domReference)),$o(i.floating)&&(z=z.concat(Tu(i.floating))),!$o(i.reference)&&i.reference&&i.reference.contextElement&&(z=z.concat(Tu(i.reference.contextElement)))),z=z.filter(X=>{var _;return X!==((_=Q.defaultView)==null?void 0:_.visualViewport)}),z.forEach(X=>{X.addEventListener("scroll",V,{passive:!0})}),()=>{a&&(Q.removeEventListener("keydown",S?F:I,S),Q.removeEventListener("compositionstart",j),Q.removeEventListener("compositionend",R)),m&&Q.removeEventListener(c,w?O:k,w),z.forEach(X=>{X.removeEventListener("scroll",V)}),window.clearTimeout(H)}},[o,i,a,m,c,r,n,d,s,b,B,I,S,F,k,w,O]),E.useEffect(()=>{v.current=!1},[m,c]);const L=E.useMemo(()=>({onKeyDown:I,[tVt[f]]:H=>{u&&n(!1,H.nativeEvent,"reference-press")}}),[I,n,u,f]),M=E.useMemo(()=>({onKeyDown:I,onMouseDown(){y.current=!0},onMouseUp(){y.current=!0},[rVt[c]]:()=>{v.current=!0}}),[I,c]);return E.useMemo(()=>s?{reference:L,floating:M}:{},[s,L,M])}function iVt(t){const{open:e=!1,onOpenChange:r,elements:n}=t,i=Fx(),o=E.useRef({}),[s]=E.useState(()=>UQt()),a=nPe()!=null,[l,c]=E.useState(n.reference),u=b0((p,h,A)=>{o.current.openEvent=p?h:void 0,s.emit("openchange",{open:p,event:h,reason:A,nested:a}),r?.(p,h,A)}),f=E.useMemo(()=>({setPositionReference:c}),[]),d=E.useMemo(()=>({reference:l||n.reference||null,floating:n.floating||null,domReference:n.reference}),[l,n.reference,n.floating]);return E.useMemo(()=>({dataRef:o,open:e,onOpenChange:u,elements:d,events:s,floatingId:i,refs:f}),[e,u,d,s,i,f])}function oVt(t){t===void 0&&(t={});const{nodeId:e}=t,r=iVt({...t,elements:{reference:null,floating:null,...t.elements}}),n=t.rootContext||r,i=n.elements,[o,s]=E.useState(null),[a,l]=E.useState(null),u=i?.domReference||o,f=E.useRef(null),d=Iee();ku(()=>{u&&(f.current=u)},[u]);const p=IQt({...t,elements:{...i,...a&&{reference:a}}}),h=E.useCallback(y=>{const b=$o(y)?{getBoundingClientRect:()=>y.getBoundingClientRect(),contextElement:y}:y;l(b),p.refs.setReference(b)},[p.refs]),A=E.useCallback(y=>{($o(y)||y===null)&&(f.current=y,s(y)),($o(p.refs.reference.current)||p.refs.reference.current===null||y!==null&&!$o(y))&&p.refs.setReference(y)},[p.refs]),g=E.useMemo(()=>({...p.refs,setReference:A,setPositionReference:h,domReference:f}),[p.refs,A,h]),m=E.useMemo(()=>({...p.elements,domReference:u}),[p.elements,u]),v=E.useMemo(()=>({...p,...n,refs:g,elements:m,nodeId:e}),[p,g,m,e,n]);return ku(()=>{n.dataRef.current.floatingContext=v;const y=d?.nodesRef.current.find(b=>b.id===e);y&&(y.context=v)}),E.useMemo(()=>({...p,context:v,refs:g,elements:m}),[p,g,m,v])}const dme="active",pme="selected";function Wj(t,e,r){const n=new Map,i=r==="item";let o=t;if(i&&t){const{[dme]:s,[pme]:a,...l}=t;o=l}return{...r==="floating"&&{tabIndex:-1,[mG]:""},...o,...e.map(s=>{const a=s?s[r]:null;return typeof a=="function"?t?a(t):null:a}).concat(t).reduce((s,a)=>(a&&Object.entries(a).forEach(l=>{let[c,u]=l;if(!(i&&[dme,pme].includes(c)))if(c.indexOf("on")===0){if(n.has(c)||n.set(c,[]),typeof u=="function"){var f;(f=n.get(c))==null||f.push(u),s[c]=function(){for(var d,p=arguments.length,h=new Array(p),A=0;A<p;A++)h[A]=arguments[A];return(d=n.get(c))==null?void 0:d.map(g=>g(...h)).find(g=>g!==void 0)}}}else s[c]=u}),s),{})}}function sVt(t){t===void 0&&(t=[]);const e=t.map(a=>a?.reference),r=t.map(a=>a?.floating),n=t.map(a=>a?.item),i=E.useCallback(a=>Wj(a,t,"reference"),e),o=E.useCallback(a=>Wj(a,t,"floating"),r),s=E.useCallback(a=>Wj(a,t,"item"),n);return E.useMemo(()=>({getReferenceProps:i,getFloatingProps:o,getItemProps:s}),[i,o,s])}const aVt=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function lVt(t,e){var r;e===void 0&&(e={});const{open:n,floatingId:i}=t,{enabled:o=!0,role:s="dialog"}=e,a=(r=aVt.get(s))!=null?r:s,l=Fx(),u=nPe()!=null,f=E.useMemo(()=>a==="tooltip"||s==="label"?{["aria-"+(s==="label"?"labelledby":"describedby")]:n?i:void 0}:{"aria-expanded":n?"true":"false","aria-haspopup":a==="alertdialog"?"dialog":a,"aria-controls":n?i:void 0,...a==="listbox"&&{role:"combobox"},...a==="menu"&&{id:l},...a==="menu"&&u&&{role:"menuitem"},...s==="select"&&{"aria-autocomplete":"none"},...s==="combobox"&&{"aria-autocomplete":"list"}},[a,i,u,n,l,s]),d=E.useMemo(()=>{const h={id:i,...a&&{role:a}};return a==="tooltip"||s==="label"?h:{...h,...a==="menu"&&{"aria-labelledby":l}}},[a,i,l,s]),p=E.useCallback(h=>{let{active:A,selected:g}=h;const m={role:"option",...A&&{id:i+"-option"}};switch(s){case"select":return{...m,"aria-selected":A&&g};case"combobox":return{...m,...A&&{"aria-selected":!0}}}return{}},[i,s]);return E.useMemo(()=>o?{reference:f,floating:d,item:p}:{},[o,f,d,p])}function cVt({initialOpen:t=!1,placement:e="bottom",modal:r,open:n,onOpenChange:i}={}){const[o,s]=E.useState(t),[a,l]=E.useState(),[c,u]=E.useState(),f=n??o,d=i??s,p=oVt({placement:e,open:f,onOpenChange:d,whileElementsMounted:Lbe,middleware:[NQt(5),TQt({crossAxis:e.includes("-"),fallbackAxisSideDirection:"end",padding:5}),FQt({padding:5})]}),h=p.context,A=eVt(h,{enabled:n==null}),g=nVt(h),m=lVt(h),v=sVt([A,g,m]);return E.useMemo(()=>({open:f,setOpen:d,...v,...p,modal:r,labelId:a,descriptionId:c,setLabelId:l,setDescriptionId:u}),[f,d,v,p,r,a,c])}const uPe=E.createContext(null),Tx=()=>{const t=E.useContext(uPe);if(t==null)throw new Error("Popover components must be wrapped in <Popover />");return t};function fPe({children:t,modal:e=!1,...r}){const n=cVt({modal:e,...r});return C.jsx(uPe.Provider,{value:n,children:t})}const dPe=E.forwardRef(function({children:e,asChild:r=!1,...n},i){const o=Tx(),s=e.ref,a=tPe([o.refs.setReference,i,s]);return r&&E.isValidElement(e)?E.cloneElement(e,o.getReferenceProps({ref:a,...n,...e.props,"data-state":o.open?"open":"closed"})):C.jsx("button",{ref:a,type:"button","data-state":o.open?"open":"closed",...o.getReferenceProps(n),children:e})}),pPe=E.forwardRef(function({style:e,...r},n){const{context:i,...o}=Tx(),s=tPe([o.refs.setFloating,n]);return i.open?C.jsx(XQt,{children:C.jsx(ZQt,{context:i,modal:o.modal,children:C.jsx("div",{ref:s,style:{...o.floatingStyles,...e},"aria-labelledby":o.labelId,"aria-describedby":o.descriptionId,...o.getFloatingProps(r),children:r.children})})}):null});E.forwardRef(function(e,r){const{setLabelId:n}=Tx(),i=Fx();return E.useLayoutEffect(()=>(n(i),()=>n(void 0)),[i,n]),C.jsx("h2",{...e,ref:r,id:i,children:e.children})});E.forwardRef(function(e,r){const{setDescriptionId:n}=Tx(),i=Fx();return E.useLayoutEffect(()=>(n(i),()=>n(void 0)),[i,n]),C.jsx("p",{...e,ref:r,id:i})});E.forwardRef(function(e,r){const{setOpen:n}=Tx();return C.jsx("button",{type:"button",ref:r,...e,onClick:i=>{e.onClick?.(i),n(!1)}})});function APe(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;e<i;e++)t[e]&&(r=APe(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function Nee(){for(var t,e,r=0,n="",i=arguments.length;r<i;r++)(t=arguments[r])&&(e=APe(t))&&(n&&(n+=" "),n+=e);return n}let P8=!1;function Li(t,...e){let r=[];for(let n of e)if(typeof n=="object"&&n){let i={};for(let o in n)t[o]&&(i[t[o]]=n[o]),t[o]||(i[o]=n[o]);r.push(i)}else typeof n=="string"?(t[n]&&r.push(t[n]),t[n]||r.push(n)):r.push(n);return Nee(...r)}const DO={prefix:String(Math.round(Math.random()*1e10)),current:0},hPe=ve.createContext(DO),uVt=ve.createContext(!1);let fVt=!!(typeof window<"u"&&window.document&&window.document.createElement),zj=new WeakMap;function dVt(t=!1){let e=E.useContext(hPe),r=E.useRef(null);if(r.current===null&&!t){var n,i;let o=(i=ve.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||i===void 0||(n=i.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(o){let s=zj.get(o);s==null?zj.set(o,{id:e.current,state:o.memoizedState}):o.memoizedState!==s.state&&(e.current=s.id,zj.delete(o))}r.current=++e.current}return r.current}function pVt(t){let e=E.useContext(hPe),r=dVt(!!t),n=`react-aria${e.prefix}`;return t||`${n}-${r}`}function AVt(t){let e=ve.useId(),[r]=E.useState(ON()),n=r?"react-aria":`react-aria${DO.prefix}`;return t||`${n}-${e}`}const hVt=typeof ve.useId=="function"?AVt:pVt;function mVt(){return!1}function gVt(){return!0}function vVt(t){return()=>{}}function ON(){return typeof ve.useSyncExternalStore=="function"?ve.useSyncExternalStore(vVt,mVt,gVt):E.useContext(uVt)}function gG(t){let e=typeof window<"u"&&typeof window.matchMedia=="function",[r,n]=E.useState(()=>e?window.matchMedia(t).matches:!1);return E.useEffect(()=>{if(!e)return;let o=window.matchMedia(t),s=a=>{n(a.matches)};return o.addListener(s),()=>{o.removeListener(s)}},[e,t]),ON()?!1:r}function mPe(t){return{UNSAFE_getDOMNode(){return t.current}}}function yVt(t,e=t){return{...mPe(t),focus(){e.current&&e.current.focus()}}}function gPe(t){let e=E.useRef(null);return E.useImperativeHandle(t,()=>mPe(e)),e}function Fee(t,e){let r=E.useRef(null);return E.useImperativeHandle(t,()=>yVt(r,e)),r}const Tee=ve.createContext(null);Tee.displayName="BreakpointContext";function BVt(t){let{children:e,matchedBreakpoints:r}=t;return ve.createElement(Tee.Provider,{value:{matchedBreakpoints:r}},e)}function CVt(t){let e=Object.entries(t).sort(([,l],[,c])=>c-l),r=e.map(([,l])=>`(min-width: ${l}px)`),n=typeof window<"u"&&typeof window.matchMedia=="function",i=()=>{let l=[];for(let c in r){let u=r[c];window.matchMedia(u).matches&&l.push(e[c][0])}return l.push("base"),l},[o,s]=E.useState(()=>n?i():["base"]);return E.useEffect(()=>{if(!n)return;let l=()=>{const c=i();s(u=>u.length!==c.length||u.some((f,d)=>f!==c[d])?[...c]:u)};return window.addEventListener("resize",l),()=>{window.removeEventListener("resize",l)}},[n]),ON()?["base"]:o}function bVt(){return E.useContext(Tee)}const wVt=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),xVt=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function vPe(t){if(Intl.Locale){let r=new Intl.Locale(t).maximize(),n=typeof r.getTextInfo=="function"?r.getTextInfo():r.textInfo;if(n)return n.direction==="rtl";if(r.script)return wVt.has(r.script)}let e=t.split("-")[0];return xVt.has(e)}const SVt=Symbol.for("react-aria.i18n.locale");function yPe(){let t=typeof window<"u"&&window[SVt]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([t])}catch{t="en-US"}return{locale:t,direction:vPe(t)?"rtl":"ltr"}}let vG=yPe(),Qw=new Set;function Ame(){vG=yPe();for(let t of Qw)t(vG)}function BPe(){let t=ON(),[e,r]=E.useState(vG);return E.useEffect(()=>(Qw.size===0&&window.addEventListener("languagechange",Ame),Qw.add(r),()=>{Qw.delete(r),Qw.size===0&&window.removeEventListener("languagechange",Ame)}),[]),t?{locale:"en-US",direction:"ltr"}:e}const Lee=ve.createContext(null);function EVt(t){let{locale:e,children:r}=t,n=ve.useMemo(()=>({locale:e,direction:vPe(e)?"rtl":"ltr"}),[e]);return ve.createElement(Lee.Provider,{value:n},r)}function DVt(t){let{children:e}=t,r=BPe();return ve.createElement(Lee.Provider,{value:r},e)}function kVt(t){let{locale:e,children:r}=t;return e?ve.createElement(EVt,{locale:e,children:r}):ve.createElement(DVt,{children:r})}function Lp(){let t=BPe();return E.useContext(Lee)||t}const hme=new WeakMap;function OVt(t){let e=hme.get(t);return e||(e=new om(t),hme.set(t,e)),e}function PVt(t,e){return e&&om.getGlobalDictionaryForPackage(e)||OVt(t)}function CPe(t,e){let{locale:r}=Lp(),n=PVt(t,e);return E.useMemo(()=>new wOe(r,n),[r,n])}const PN=typeof document<"u"?ve.useLayoutEffect:()=>{};var Kj;const IVt=(Kj=ve.useInsertionEffect)!==null&&Kj!==void 0?Kj:PN;function kO(t){const e=E.useRef(null);return IVt(()=>{e.current=t},[t]),E.useCallback((...r)=>{const n=e.current;return n?.(...r)},[])}let NVt=!!(typeof window<"u"&&window.document&&window.document.createElement),Q2=new Map,Vw;typeof FinalizationRegistry<"u"&&(Vw=new FinalizationRegistry(t=>{Q2.delete(t)}));function OO(t){let[e,r]=E.useState(t),n=E.useRef(null),i=hVt(e),o=E.useRef(null);if(Vw&&Vw.register(o,i),NVt){const s=Q2.get(i);s&&!s.includes(n)?s.push(n):Q2.set(i,[n])}return PN(()=>{let s=i;return()=>{Vw&&Vw.unregister(o),Q2.delete(s)}},[i]),E.useEffect(()=>{let s=n.current;return s&&r(s),()=>{s&&(n.current=null)}}),i}function FVt(t,e){if(t===e)return t;let r=Q2.get(t);if(r)return r.forEach(i=>i.current=e),e;let n=Q2.get(e);return n?(n.forEach(i=>i.current=t),t):e}function TVt(...t){return(...e)=>{for(let r of t)typeof r=="function"&&r(...e)}}const Rp=t=>{var e;return(e=t?.ownerDocument)!==null&&e!==void 0?e:document},c1=t=>t&&"window"in t&&t.window===t?t:Rp(t).defaultView||window;function LVt(t){return t!==null&&typeof t=="object"&&"nodeType"in t&&typeof t.nodeType=="number"}function RVt(t){return LVt(t)&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in t}let MVt=!1;function Ree(){return MVt}function _Vt(t,e){if(!Ree())return e&&t?t.contains(e):!1;if(!t||!e)return!1;let r=e;for(;r!==null;){if(r===t)return!0;r.tagName==="SLOT"&&r.assignedSlot?r=r.assignedSlot.parentNode:RVt(r)?r=r.host:r=r.parentNode}return!1}const t3=(t=document)=>{var e;if(!Ree())return t.activeElement;let r=t.activeElement;for(;r&&"shadowRoot"in r&&(!((e=r.shadowRoot)===null||e===void 0)&&e.activeElement);)r=r.shadowRoot.activeElement;return r};function bPe(t){return Ree()&&t.target.shadowRoot&&t.composedPath?t.composedPath()[0]:t.target}function Ba(...t){let e={...t[0]};for(let r=1;r<t.length;r++){let n=t[r];for(let i in n){let o=e[i],s=n[i];typeof o=="function"&&typeof s=="function"&&i[0]==="o"&&i[1]==="n"&&i.charCodeAt(2)>=65&&i.charCodeAt(2)<=90?e[i]=TVt(o,s):(i==="className"||i==="UNSAFE_className")&&typeof o=="string"&&typeof s=="string"?e[i]=Nee(o,s):i==="id"&&o&&s?e.id=FVt(o,s):e[i]=s!==void 0?s:o}}return e}const jVt=new Set(["id"]),UVt=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),QVt=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),VVt=new Set(["dir","lang","hidden","inert","translate"]),mme=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),$Vt=/^(data-.*)$/;function IN(t,e={}){let{labelable:r,isLink:n,global:i,events:o=i,propNames:s}=e,a={};for(const l in t)Object.prototype.hasOwnProperty.call(t,l)&&(jVt.has(l)||r&&UVt.has(l)||n&&QVt.has(l)||i&&VVt.has(l)||o&&mme.has(l)||l.endsWith("Capture")&&mme.has(l.slice(0,-7))||s?.has(l)||$Vt.test(l))&&(a[l]=t[l]);return a}function KB(t){if(HVt())t.focus({preventScroll:!0});else{let e=GVt(t);t.focus(),WVt(e)}}let I8=null;function HVt(){if(I8==null){I8=!1;try{document.createElement("div").focus({get preventScroll(){return I8=!0,!0}})}catch{}}return I8}function GVt(t){let e=t.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;e instanceof HTMLElement&&e!==n;)(e.offsetHeight<e.scrollHeight||e.offsetWidth<e.scrollWidth)&&r.push({element:e,scrollTop:e.scrollTop,scrollLeft:e.scrollLeft}),e=e.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}function WVt(t){for(let{element:e,scrollTop:r,scrollLeft:n}of t)e.scrollTop=r,e.scrollLeft=n}function NN(t){var e;if(typeof window>"u"||window.navigator==null)return!1;let r=(e=window.navigator.userAgentData)===null||e===void 0?void 0:e.brands;return Array.isArray(r)&&r.some(n=>t.test(n.brand))||t.test(window.navigator.userAgent)}function Mee(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function Jm(t){let e=null;return()=>(e==null&&(e=t()),e)}const PO=Jm(function(){return Mee(/^Mac/i)}),zVt=Jm(function(){return Mee(/^iPhone/i)}),wPe=Jm(function(){return Mee(/^iPad/i)||PO()&&navigator.maxTouchPoints>1}),_ee=Jm(function(){return zVt()||wPe()}),KVt=Jm(function(){return NN(/AppleWebKit/i)&&!qVt()}),qVt=Jm(function(){return NN(/Chrome/i)}),xPe=Jm(function(){return NN(/Android/i)}),XVt=Jm(function(){return NN(/Firefox/i)}),YVt=E.createContext({isNative:!0,open:e$t,useHref:t=>t});function JVt(t){let{children:e,navigate:r,useHref:n}=t,i=E.useMemo(()=>({isNative:!1,open:(o,s,a,l)=>{SPe(o,c=>{ZVt(c,s)?r(a,l):r3(c,s)})},useHref:n||(o=>o)}),[r,n]);return ve.createElement(YVt.Provider,{value:i},e)}function ZVt(t,e){let r=t.getAttribute("target");return(!r||r==="_self")&&t.origin===location.origin&&!t.hasAttribute("download")&&!e.metaKey&&!e.ctrlKey&&!e.altKey&&!e.shiftKey}function r3(t,e,r=!0){var n,i;let{metaKey:o,ctrlKey:s,altKey:a,shiftKey:l}=e;XVt()&&(!((i=window.event)===null||i===void 0||(n=i.type)===null||n===void 0)&&n.startsWith("key"))&&t.target==="_blank"&&(PO()?o=!0:s=!0);let c=KVt()&&PO()&&!wPe()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:o,ctrlKey:s,altKey:a,shiftKey:l}):new MouseEvent("click",{metaKey:o,ctrlKey:s,altKey:a,shiftKey:l,bubbles:!0,cancelable:!0});r3.isOpening=r,KB(t),t.dispatchEvent(c),r3.isOpening=!1}r3.isOpening=!1;function SPe(t,e){if(t instanceof HTMLAnchorElement)e(t);else if(t.hasAttribute("data-href")){let r=document.createElement("a");r.href=t.getAttribute("data-href"),t.hasAttribute("data-target")&&(r.target=t.getAttribute("data-target")),t.hasAttribute("data-rel")&&(r.rel=t.getAttribute("data-rel")),t.hasAttribute("data-download")&&(r.download=t.getAttribute("data-download")),t.hasAttribute("data-ping")&&(r.ping=t.getAttribute("data-ping")),t.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=t.getAttribute("data-referrer-policy")),t.appendChild(r),e(r),t.removeChild(r)}}function e$t(t,e){SPe(t,r=>r3(r,e))}let w0=new Map,yG=new Set;function gme(){if(typeof window>"u")return;function t(n){return"propertyName"in n}let e=n=>{if(!t(n)||!n.target)return;let i=w0.get(n.target);i||(i=new Set,w0.set(n.target,i),n.target.addEventListener("transitioncancel",r,{once:!0})),i.add(n.propertyName)},r=n=>{if(!t(n)||!n.target)return;let i=w0.get(n.target);if(i&&(i.delete(n.propertyName),i.size===0&&(n.target.removeEventListener("transitioncancel",r),w0.delete(n.target)),w0.size===0)){for(let o of yG)o();yG.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",r)}typeof document<"u"&&(document.readyState!=="loading"?gme():document.addEventListener("DOMContentLoaded",gme));function t$t(){for(const[t]of w0)"isConnected"in t&&!t.isConnected&&w0.delete(t)}function EPe(t){requestAnimationFrame(()=>{t$t(),w0.size===0?t():yG.add(t)})}function HC(){let t=E.useRef(new Map),e=E.useCallback((i,o,s,a)=>{let l=a?.once?(...c)=>{t.current.delete(s),s(...c)}:s;t.current.set(s,{type:o,eventTarget:i,fn:l,options:a}),i.addEventListener(o,l,a)},[]),r=E.useCallback((i,o,s,a)=>{var l;let c=((l=t.current.get(s))===null||l===void 0?void 0:l.fn)||s;i.removeEventListener(o,c,a),t.current.delete(s)},[]),n=E.useCallback(()=>{t.current.forEach((i,o)=>{r(i.eventTarget,i.type,o,i.options)})},[r]);return E.useEffect(()=>n,[n]),{addGlobalListener:e,removeGlobalListener:r,removeAllGlobalListeners:n}}function O5(t,e){let{id:r,"aria-label":n,"aria-labelledby":i}=t;return r=OO(r),i&&n?i=[...new Set([r,...i.trim().split(/\s+/)])].join(" "):i&&(i=i.trim().split(/\s+/).join(" ")),!n&&!i&&e&&(n=e),{id:r,"aria-label":n,"aria-labelledby":i}}function r$t(){return typeof window.ResizeObserver<"u"}function n$t(t){const{ref:e,box:r,onResize:n}=t;E.useEffect(()=>{let i=e?.current;if(i)if(r$t()){const o=new window.ResizeObserver(s=>{s.length&&n()});return o.observe(i,{box:r}),()=>{i&&o.unobserve(i)}}else return window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)}},[n,e,r])}function i$t(t,e){PN(()=>{if(t&&t.ref&&e)return t.ref.current=e.current,()=>{t.ref&&(t.ref.current=null)}})}function o$t(t){return t.pointerType===""&&t.isTrusted?!0:xPe()&&t.pointerType?t.type==="click"&&t.buttons===1:t.detail===0&&!t.pointerType}function jee(t,e,r){let n=kO(()=>{r&&r(e)});E.useEffect(()=>{var i;let o=t==null||(i=t.current)===null||i===void 0?void 0:i.form;return o?.addEventListener("reset",n),()=>{o?.removeEventListener("reset",n)}},[t,n])}const DPe={margin:["margin",gi],marginStart:[Ql("marginLeft","marginRight"),gi],marginEnd:[Ql("marginRight","marginLeft"),gi],marginTop:["marginTop",gi],marginBottom:["marginBottom",gi],marginX:[["marginLeft","marginRight"],gi],marginY:[["marginTop","marginBottom"],gi],width:["width",gi],height:["height",gi],minWidth:["minWidth",gi],minHeight:["minHeight",gi],maxWidth:["maxWidth",gi],maxHeight:["maxHeight",gi],isHidden:["display",u$t],alignSelf:["alignSelf",Bc],justifySelf:["justifySelf",Bc],position:["position",qj],zIndex:["zIndex",qj],top:["top",gi],bottom:["bottom",gi],start:[Ql("left","right"),gi],end:[Ql("right","left"),gi],left:["left",gi],right:["right",gi],order:["order",qj],flex:["flex",f$t],flexGrow:["flexGrow",Bc],flexShrink:["flexShrink",Bc],flexBasis:["flexBasis",Bc],gridArea:["gridArea",Bc],gridColumn:["gridColumn",Bc],gridColumnEnd:["gridColumnEnd",Bc],gridColumnStart:["gridColumnStart",Bc],gridRow:["gridRow",Bc],gridRowEnd:["gridRowEnd",Bc],gridRowStart:["gridRowStart",Bc]};({...DPe,borderStartWidth:Ql("borderLeftWidth","borderRightWidth"),borderEndWidth:Ql("borderRightWidth","borderLeftWidth"),borderStartColor:Ql("borderLeftColor","borderRightColor"),borderEndColor:Ql("borderRightColor","borderLeftColor"),borderTopStartRadius:Ql("borderTopLeftRadius","borderTopRightRadius"),borderTopEndRadius:Ql("borderTopRightRadius","borderTopLeftRadius"),borderBottomStartRadius:Ql("borderBottomLeftRadius","borderBottomRightRadius"),borderBottomEndRadius:Ql("borderBottomRightRadius","borderBottomLeftRadius"),paddingStart:Ql("paddingLeft","paddingRight"),paddingEnd:Ql("paddingRight","paddingLeft")});const vme={borderWidth:"borderStyle",borderLeftWidth:"borderLeftStyle",borderRightWidth:"borderRightStyle",borderTopWidth:"borderTopStyle",borderBottomWidth:"borderBottomStyle"};function Ql(t,e){return r=>r==="rtl"?e:t}const s$t=/(%|px|em|rem|vw|vh|auto|cm|mm|in|pt|pc|ex|ch|rem|vmin|vmax|fr)$/,a$t=/^\s*\w+\(/,l$t=/(static-)?size-\d+|single-line-(height|width)/g;function gi(t){if(typeof t=="number")return t+"px";if(t)return s$t.test(t)?t:a$t.test(t)?t.replace(l$t,"var(--spectrum-global-dimension-$&, var(--spectrum-alias-$&))"):`var(--spectrum-global-dimension-${t}, var(--spectrum-alias-${t}))`}function kPe(t,e="default",r=5){return r>5?`var(--spectrum-${t}, var(--spectrum-semantic-${t}-color-${e}))`:`var(--spectrum-legacy-color-${t}, var(--spectrum-global-color-${t}, var(--spectrum-semantic-${t}-color-${e})))`}function c$t(t,e=5){if(t)return`var(--spectrum-alias-background-color-${t}, ${kPe(t,"background",e)})`}function sA(t,e=5){if(t)return t==="default"?"var(--spectrum-alias-border-color)":`var(--spectrum-alias-border-color-${t}, ${kPe(t,"border",e)})`}function aA(t){return t&&t!=="none"?`var(--spectrum-alias-border-size-${t})`:"0"}function lA(t){if(t)return`var(--spectrum-alias-border-radius-${t})`}function u$t(t){return t?"none":void 0}function qj(t){return t}function f$t(t){return typeof t=="boolean"?t?"1":void 0:""+t}function d$t(t,e,r,n){let i={};for(let o in t){let s=e[o];if(!s||t[o]==null)continue;let[a,l]=s;typeof a=="function"&&(a=a(r));let c=OPe(t[o],n),u=l(c,t.colorVersion);if(Array.isArray(a))for(let f of a)i[f]=u;else i[a]=u}for(let o in vme)i[o]&&(i[vme[o]]="solid",i.boxSizing="border-box");return i}function Ev(t,e=DPe,r={}){let{UNSAFE_className:n,UNSAFE_style:i,...o}=t,s=bVt(),{direction:a}=Lp(),{matchedBreakpoints:l=s?.matchedBreakpoints||["base"]}=r,c=d$t(t,e,a,l),u={...i,...c};o.className,o.style;let f={style:u,className:n};return OPe(t.isHidden,l)&&(f.hidden=!0),{styleProps:f}}function Bc(t){return t}function OPe(t,e){if(t&&typeof t=="object"&&!Array.isArray(t)){for(let r=0;r<e.length;r++){let n=e[r];if(t[n]!=null)return t[n]}return t.base}return t}let BG=ve.createContext(null);function p$t(t,e){let r=t.slot||e,{[r]:n={}}=E.useContext(BG)||{};return Ba(t,Ba(n,{id:t.id}))}function A$t(t){const e=E.useMemo(()=>({}),[]);let r=E.useContext(BG)||e,{slots:n=e,children:i}=t,o=E.useMemo(()=>Object.keys(r).concat(Object.keys(n)).reduce((s,a)=>({...s,[a]:Ba(r[a]||{},n[a]||{})}),{}),[r,n]);return ve.createElement(BG.Provider,{value:o},i)}function PPe(t){let e=t;return e.nativeEvent=t,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function h$t(t,e){Object.defineProperty(t,"target",{value:e}),Object.defineProperty(t,"currentTarget",{value:e})}function IPe(t){let e=E.useRef({isFocused:!1,observer:null});PN(()=>{const n=e.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let r=kO(n=>{t?.(n)});return E.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){e.current.isFocused=!0;let i=n.target,o=s=>{if(e.current.isFocused=!1,i.disabled){let a=PPe(s);r(a)}e.current.observer&&(e.current.observer.disconnect(),e.current.observer=null)};i.addEventListener("focusout",o,{once:!0}),e.current.observer=new MutationObserver(()=>{if(e.current.isFocused&&i.disabled){var s;(s=e.current.observer)===null||s===void 0||s.disconnect();let a=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:a})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:a}))}}),e.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[r])}let m$t=!1,h2="default",CG="",ID=new WeakMap;function g$t(t){if(_ee()){if(h2==="default"){const e=Rp(t);CG=e.documentElement.style.webkitUserSelect,e.documentElement.style.webkitUserSelect="none"}h2="disabled"}else if(t instanceof HTMLElement||t instanceof SVGElement){let e="userSelect"in t.style?"userSelect":"webkitUserSelect";ID.set(t,t.style[e]),t.style[e]="none"}}function v$t(t){if(_ee()){if(h2!=="disabled")return;h2="restoring",setTimeout(()=>{EPe(()=>{if(h2==="restoring"){const e=Rp(t);e.documentElement.style.webkitUserSelect==="none"&&(e.documentElement.style.webkitUserSelect=CG||""),CG="",h2="default"}})},300)}else if((t instanceof HTMLElement||t instanceof SVGElement)&&t&&ID.has(t)){let e=ID.get(t),r="userSelect"in t.style?"userSelect":"webkitUserSelect";t.style[r]==="none"&&(t.style[r]=e),t.getAttribute("style")===""&&t.removeAttribute("style"),ID.delete(t)}}let Dv=null,bG=new Set,P5=new Map,q1=!1,wG=!1;const y$t={Tab:!0,Escape:!0};function FN(t,e){for(let r of bG)r(t,e)}function B$t(t){return!(t.metaKey||!PO()&&t.altKey||t.ctrlKey||t.key==="Control"||t.key==="Shift"||t.key==="Meta")}function IO(t){q1=!0,B$t(t)&&(Dv="keyboard",FN("keyboard",t))}function V2(t){Dv="pointer",(t.type==="mousedown"||t.type==="pointerdown")&&(q1=!0,FN("pointer",t))}function NPe(t){o$t(t)&&(q1=!0,Dv="virtual")}function FPe(t){t.target===window||t.target===document||m$t||!t.isTrusted||(!q1&&!wG&&(Dv="virtual",FN("virtual",t)),q1=!1,wG=!1)}function TPe(){q1=!1,wG=!0}function xG(t){if(typeof window>"u"||typeof document>"u"||P5.get(c1(t)))return;const e=c1(t),r=Rp(t);let n=e.HTMLElement.prototype.focus;e.HTMLElement.prototype.focus=function(){q1=!0,n.apply(this,arguments)},r.addEventListener("keydown",IO,!0),r.addEventListener("keyup",IO,!0),r.addEventListener("click",NPe,!0),e.addEventListener("focus",FPe,!0),e.addEventListener("blur",TPe,!1),typeof PointerEvent<"u"&&(r.addEventListener("pointerdown",V2,!0),r.addEventListener("pointermove",V2,!0),r.addEventListener("pointerup",V2,!0)),e.addEventListener("beforeunload",()=>{LPe(t)},{once:!0}),P5.set(e,{focus:n})}const LPe=(t,e)=>{const r=c1(t),n=Rp(t);e&&n.removeEventListener("DOMContentLoaded",e),P5.has(r)&&(r.HTMLElement.prototype.focus=P5.get(r).focus,n.removeEventListener("keydown",IO,!0),n.removeEventListener("keyup",IO,!0),n.removeEventListener("click",NPe,!0),r.removeEventListener("focus",FPe,!0),r.removeEventListener("blur",TPe,!1),typeof PointerEvent<"u"&&(n.removeEventListener("pointerdown",V2,!0),n.removeEventListener("pointermove",V2,!0),n.removeEventListener("pointerup",V2,!0)),P5.delete(r))};function C$t(t){const e=Rp(t);let r;return e.readyState!=="loading"?xG(t):(r=()=>{xG(t)},e.addEventListener("DOMContentLoaded",r)),()=>LPe(t,r)}typeof document<"u"&&C$t();function Uee(){return Dv!=="pointer"}function b$t(){return Dv}function w$t(t){Dv=t,FN(t,null)}const x$t=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function S$t(t,e,r){let n=Rp(r?.target);const i=typeof window<"u"?c1(r?.target).HTMLInputElement:HTMLInputElement,o=typeof window<"u"?c1(r?.target).HTMLTextAreaElement:HTMLTextAreaElement,s=typeof window<"u"?c1(r?.target).HTMLElement:HTMLElement,a=typeof window<"u"?c1(r?.target).KeyboardEvent:KeyboardEvent;return t=t||n.activeElement instanceof i&&!x$t.has(n.activeElement.type)||n.activeElement instanceof o||n.activeElement instanceof s&&n.activeElement.isContentEditable,!(t&&e==="keyboard"&&r instanceof a&&!y$t[r.key])}function E$t(t={}){let{isTextInput:e,autoFocus:r}=t,[n,i]=E.useState(r||Uee());return RPe(o=>{i(o)},[e],{isTextInput:e}),{isFocusVisible:n}}function RPe(t,e,r){xG(),E.useEffect(()=>{let n=(i,o)=>{S$t(!!r?.isTextInput,i,o)&&t(Uee())};return bG.add(n),()=>{bG.delete(n)}},e)}function D$t(t){const e=Rp(t),r=t3(e);if(b$t()==="virtual"){let n=r;EPe(()=>{t3(e)===n&&t.isConnected&&KB(t)})}else KB(t)}function n3(t){let{isDisabled:e,onFocus:r,onBlur:n,onFocusChange:i}=t;const o=E.useCallback(l=>{if(l.target===l.currentTarget)return n&&n(l),i&&i(!1),!0},[n,i]),s=IPe(o),a=E.useCallback(l=>{const c=Rp(l.target),u=c?t3(c):t3();l.target===l.currentTarget&&u===bPe(l.nativeEvent)&&(r&&r(l),i&&i(!0),s(l))},[i,r,s]);return{focusProps:{onFocus:!e&&(r||i||n)?a:void 0,onBlur:!e&&(n||i)?o:void 0}}}function yme(t){if(!t)return;let e=!0;return r=>{let n={...r,preventDefault(){r.preventDefault()},isDefaultPrevented(){return r.isDefaultPrevented()},stopPropagation(){e=!0},continuePropagation(){e=!1},isPropagationStopped(){return e}};t(n),e&&r.stopPropagation()}}function TN(t){return{keyboardProps:t.isDisabled?{}:{onKeyDown:yme(t.onKeyDown),onKeyUp:yme(t.onKeyUp)}}}let k$t=ve.createContext(null);function O$t(t){let e=E.useContext(k$t)||{};i$t(e,t);let{ref:r,...n}=e;return n}function P$t(t,e){let{focusProps:r}=n3(t),{keyboardProps:n}=TN(t),i=Ba(r,n),o=O$t(e),s=t.isDisabled?{}:o,a=E.useRef(t.autoFocus);E.useEffect(()=>{a.current&&e.current&&D$t(e.current),a.current=!1},[e]);let l=t.excludeFromTabOrder?-1:0;return t.isDisabled&&(l=void 0),{focusableProps:Ba({...i,tabIndex:l},s)}}function Qee(t){let{isDisabled:e,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:i}=t,o=E.useRef({isFocusWithin:!1}),{addGlobalListener:s,removeAllGlobalListeners:a}=HC(),l=E.useCallback(f=>{f.currentTarget.contains(f.target)&&o.current.isFocusWithin&&!f.currentTarget.contains(f.relatedTarget)&&(o.current.isFocusWithin=!1,a(),r&&r(f),i&&i(!1))},[r,i,o,a]),c=IPe(l),u=E.useCallback(f=>{if(!f.currentTarget.contains(f.target))return;const d=Rp(f.target),p=t3(d);if(!o.current.isFocusWithin&&p===bPe(f.nativeEvent)){n&&n(f),i&&i(!0),o.current.isFocusWithin=!0,c(f);let h=f.currentTarget;s(d,"focus",A=>{if(o.current.isFocusWithin&&!_Vt(h,A.target)){let g=new d.defaultView.FocusEvent("blur",{relatedTarget:A.target});h$t(g,h);let m=PPe(g);l(m)}},{capture:!0})}},[n,i,c,s,l]);return e?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:u,onBlur:l}}}function qB(t){let{onMoveStart:e,onMove:r,onMoveEnd:n}=t,i=E.useRef({didMove:!1,lastPosition:null,id:null}),{addGlobalListener:o,removeGlobalListener:s}=HC(),a=kO((u,f,d,p)=>{d===0&&p===0||(i.current.didMove||(i.current.didMove=!0,e?.({type:"movestart",pointerType:f,shiftKey:u.shiftKey,metaKey:u.metaKey,ctrlKey:u.ctrlKey,altKey:u.altKey})),r?.({type:"move",pointerType:f,deltaX:d,deltaY:p,shiftKey:u.shiftKey,metaKey:u.metaKey,ctrlKey:u.ctrlKey,altKey:u.altKey}))}),l=kO((u,f)=>{v$t(),i.current.didMove&&n?.({type:"moveend",pointerType:f,shiftKey:u.shiftKey,metaKey:u.metaKey,ctrlKey:u.ctrlKey,altKey:u.altKey})});return{moveProps:E.useMemo(()=>{let u={},f=()=>{g$t(),i.current.didMove=!1};typeof PointerEvent>"u";{let p=A=>{if(A.pointerId===i.current.id){var g,m;let b=A.pointerType||"mouse";var v,y;a(A,b,A.pageX-((v=(g=i.current.lastPosition)===null||g===void 0?void 0:g.pageX)!==null&&v!==void 0?v:0),A.pageY-((y=(m=i.current.lastPosition)===null||m===void 0?void 0:m.pageY)!==null&&y!==void 0?y:0)),i.current.lastPosition={pageX:A.pageX,pageY:A.pageY}}},h=A=>{if(A.pointerId===i.current.id){let g=A.pointerType||"mouse";l(A,g),i.current.id=null,s(window,"pointermove",p,!1),s(window,"pointerup",h,!1),s(window,"pointercancel",h,!1)}};u.onPointerDown=A=>{A.button===0&&i.current.id==null&&(f(),A.stopPropagation(),A.preventDefault(),i.current.lastPosition={pageX:A.pageX,pageY:A.pageY},i.current.id=A.pointerId,o(window,"pointermove",p,!1),o(window,"pointerup",h,!1),o(window,"pointercancel",h,!1))}}let d=(p,h,A)=>{f(),a(p,"keyboard",h,A),l(p,"keyboard")};return u.onKeyDown=p=>{switch(p.key){case"Left":case"ArrowLeft":p.preventDefault(),p.stopPropagation(),d(p,-1,0);break;case"Right":case"ArrowRight":p.preventDefault(),p.stopPropagation(),d(p,1,0);break;case"Up":case"ArrowUp":p.preventDefault(),p.stopPropagation(),d(p,0,-1);break;case"Down":case"ArrowDown":p.preventDefault(),p.stopPropagation(),d(p,0,1);break}},u},[i,o,s,a,l])}}function MPe(t={}){let{autoFocus:e=!1,isTextInput:r,within:n}=t,i=E.useRef({isFocused:!1,isFocusVisible:e||Uee()}),[o,s]=E.useState(!1),[a,l]=E.useState(()=>i.current.isFocused&&i.current.isFocusVisible),c=E.useCallback(()=>l(i.current.isFocused&&i.current.isFocusVisible),[]),u=E.useCallback(p=>{i.current.isFocused=p,s(p),c()},[c]);RPe(p=>{i.current.isFocusVisible=p,c()},[],{isTextInput:r});let{focusProps:f}=n3({isDisabled:n,onFocusChange:u}),{focusWithinProps:d}=Qee({isDisabled:!n,onFocusWithinChange:u});return{isFocused:o,isFocusVisible:a,focusProps:n?d:f}}function _Pe(t){let{id:e,label:r,"aria-labelledby":n,"aria-label":i,labelElementType:o="label"}=t;e=OO(e);let s=OO(),a={};r&&(n=n?`${s} ${n}`:s,a={id:s,htmlFor:o==="label"?e:void 0});let l=O5({id:e,"aria-label":i,"aria-labelledby":n});return{labelProps:a,fieldProps:l}}const SG=ve.createContext(null);function I$t(t){let{children:e}=t,r=E.useContext(SG),[n,i]=E.useState(0),o=E.useMemo(()=>({parent:r,modalCount:n,addModal(){i(s=>s+1),r&&r.addModal()},removeModal(){i(s=>s-1),r&&r.removeModal()}}),[r,n]);return ve.createElement(SG.Provider,{value:o},e)}function N$t(){let t=E.useContext(SG);return{modalProviderProps:{"aria-hidden":t&&t.modalCount>0?!0:void 0}}}const Bme={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function F$t(t={}){let{style:e,isFocusable:r}=t,[n,i]=E.useState(!1),{focusWithinProps:o}=Qee({isDisabled:!r,onFocusWithinChange:a=>i(a)}),s=E.useMemo(()=>n?e:e?{...Bme,...e}:Bme,[n]);return{visuallyHiddenProps:{...o,style:s}}}const Vee=new WeakMap;function EG(t,e){let r=Vee.get(t);if(!r)throw new Error("Unknown slider state");return`${r.id}-${e}`}function T$t(t,e,r){let{labelProps:n,fieldProps:i}=_Pe(t),o=t.orientation==="vertical";var s;Vee.set(e,{id:(s=n.id)!==null&&s!==void 0?s:i.id,"aria-describedby":t["aria-describedby"],"aria-details":t["aria-details"]});let{direction:a}=Lp(),{addGlobalListener:l,removeGlobalListener:c}=HC();const u=E.useRef(null),f=a==="rtl",d=E.useRef(null),{moveProps:p}=qB({onMoveStart(){d.current=null},onMove({deltaX:m,deltaY:v}){if(!r.current)return;let{height:y,width:b}=r.current.getBoundingClientRect(),B=o?y:b;d.current==null&&u.current!=null&&(d.current=e.getThumbPercent(u.current)*B);let S=o?v:m;if((o||f)&&(S=-S),d.current+=S,u.current!=null&&r.current){const w=Lu(d.current/B,0,1);e.setThumbPercent(u.current,w)}},onMoveEnd(){u.current!=null&&(e.setThumbDragging(u.current,!1),u.current=null)}});let h=E.useRef(void 0),A=(m,v,y,b)=>{if(r.current&&!t.isDisabled&&e.values.every((B,S)=>!e.isThumbDragging(S))){let{height:B,width:S,top:w,left:x}=r.current.getBoundingClientRect(),I=o?B:S,L=((o?b:y)-(o?w:x))/I;(a==="rtl"||o)&&(L=1-L);let M=e.getPercentValue(L),H,V=e.values.findIndex(j=>M-j<0);if(V===0)H=V;else if(V===-1)H=e.values.length-1;else{let j=e.values[V-1],R=e.values[V];Math.abs(j-M)<Math.abs(R-M)?H=V-1:H=V}H>=0&&e.isThumbEditable(H)?(m.preventDefault(),u.current=H,e.setFocusedThumb(H),h.current=v,e.setThumbDragging(u.current,!0),e.setThumbValue(H,M),l(window,"mouseup",g,!1),l(window,"touchend",g,!1),l(window,"pointerup",g,!1)):u.current=null}},g=m=>{var v,y;((y=m.pointerId)!==null&&y!==void 0?y:(v=m.changedTouches)===null||v===void 0?void 0:v[0].identifier)===h.current&&(u.current!=null&&(e.setThumbDragging(u.current,!1),u.current=null),c(window,"mouseup",g,!1),c(window,"touchend",g,!1),c(window,"pointerup",g,!1))};return"htmlFor"in n&&n.htmlFor&&(delete n.htmlFor,n.onClick=()=>{var m;(m=document.getElementById(EG(e,0)))===null||m===void 0||m.focus(),w$t("keyboard")}),{labelProps:n,groupProps:{role:"group",...i},trackProps:Ba({onMouseDown(m){m.button!==0||m.altKey||m.ctrlKey||m.metaKey||A(m,void 0,m.clientX,m.clientY)},onPointerDown(m){m.pointerType==="mouse"&&(m.button!==0||m.altKey||m.ctrlKey||m.metaKey)||A(m,m.pointerId,m.clientX,m.clientY)},onTouchStart(m){A(m,m.changedTouches[0].identifier,m.changedTouches[0].clientX,m.changedTouches[0].clientY)},style:{position:"relative",touchAction:"none"}},p),outputProps:{htmlFor:e.values.map((m,v)=>EG(e,v)).join(" "),"aria-live":"off"}}}function L$t(t,e){let{index:r=0,isRequired:n,validationState:i,isInvalid:o,trackRef:s,inputRef:a,orientation:l=e.orientation,name:c,form:u}=t,f=t.isDisabled||e.isDisabled,d=l==="vertical",{direction:p}=Lp(),{addGlobalListener:h,removeGlobalListener:A}=HC(),g=Vee.get(e);var m;const{labelProps:v,fieldProps:y}=_Pe({...t,id:EG(e,r),"aria-labelledby":`${g.id} ${(m=t["aria-labelledby"])!==null&&m!==void 0?m:""}`.trim()}),b=e.values[r],B=E.useCallback(()=>{a.current&&KB(a.current)},[a]),S=e.focusedThumb===r;E.useEffect(()=>{S&&B()},[S,B]);let w=p==="rtl",x=E.useRef(null),{keyboardProps:I}=TN({onKeyDown(j){let{getThumbMaxValue:R,getThumbMinValue:Q,decrementThumb:z,incrementThumb:X,setThumbValue:_,setThumbDragging:G,pageSize:W}=e;if(!/^(PageUp|PageDown|Home|End)$/.test(j.key)){j.continuePropagation();return}switch(j.preventDefault(),G(r,!0),j.key){case"PageUp":X(r,W);break;case"PageDown":z(r,W);break;case"Home":_(r,Q(r));break;case"End":_(r,R(r));break}G(r,!1)}}),{moveProps:F}=qB({onMoveStart(){x.current=null,e.setThumbDragging(r,!0)},onMove({deltaX:j,deltaY:R,pointerType:Q,shiftKey:z}){const{getThumbPercent:X,setThumbPercent:_,decrementThumb:G,incrementThumb:W,step:J,pageSize:ee}=e;if(!s.current)return;let{width:q,height:Z}=s.current.getBoundingClientRect(),re=d?Z:q;if(x.current==null&&(x.current=X(r)*re),Q==="keyboard")j>0&&w||j<0&&!w||R>0?G(r,z?ee:J):W(r,z?ee:J);else{let fe=d?R:j;(d||w)&&(fe=-fe),x.current+=fe,_(r,Lu(x.current/re,0,1))}},onMoveEnd(){e.setThumbDragging(r,!1)}});e.setThumbEditable(r,!f);const{focusableProps:k}=P$t(Ba(t,{onFocus:()=>e.setFocusedThumb(r),onBlur:()=>e.setFocusedThumb(void 0)}),a);let O=E.useRef(void 0),L=j=>{B(),O.current=j,e.setThumbDragging(r,!0),h(window,"mouseup",M,!1),h(window,"touchend",M,!1),h(window,"pointerup",M,!1)},M=j=>{var R,Q;((Q=j.pointerId)!==null&&Q!==void 0?Q:(R=j.changedTouches)===null||R===void 0?void 0:R[0].identifier)===O.current&&(B(),e.setThumbDragging(r,!1),A(window,"mouseup",M,!1),A(window,"touchend",M,!1),A(window,"pointerup",M,!1))},H=e.getThumbPercent(r);(d||p==="rtl")&&(H=1-H);let V=f?{}:Ba(I,F,{onMouseDown:j=>{j.button!==0||j.altKey||j.ctrlKey||j.metaKey||L()},onPointerDown:j=>{j.button!==0||j.altKey||j.ctrlKey||j.metaKey||L(j.pointerId)},onTouchStart:j=>{L(j.changedTouches[0].identifier)}});return jee(a,e.defaultValues[r],j=>{e.setThumbValue(r,j)}),{inputProps:Ba(k,y,{type:"range",tabIndex:f?void 0:0,min:e.getThumbMinValue(r),max:e.getThumbMaxValue(r),step:e.step,value:b,name:c,form:u,disabled:f,"aria-orientation":l,"aria-valuetext":e.getThumbValueLabel(r),"aria-required":n||void 0,"aria-invalid":o||i==="invalid"||void 0,"aria-errormessage":t["aria-errormessage"],"aria-describedby":[g["aria-describedby"],t["aria-describedby"]].filter(Boolean).join(" "),"aria-details":[g["aria-details"],t["aria-details"]].filter(Boolean).join(" "),onChange:j=>{e.setThumbValue(r,parseFloat(j.target.value))}}),thumbProps:{...V,style:{position:"absolute",[d?"top":"left"]:`${H*100}%`,transform:"translate(-50%, -50%)",touchAction:"none"}},labelProps:v,isDragging:e.isThumbDragging(r),isDisabled:f,isFocused:S}}const i3=ve.createContext(null);i3.displayName="ProviderContext";function GC(t,e,r,n){Object.defineProperty(t,e,{get:r,set:n,enumerable:!0,configurable:!0})}var kv={};GC(kv,"focus-ring",()=>DG,t=>DG=t);GC(kv,"i18nFontFamily",()=>kG,t=>kG=t);GC(kv,"spectrum",()=>OG,t=>OG=t);GC(kv,"spectrum-FocusRing-ring",()=>NO,t=>NO=t);GC(kv,"spectrum-FocusRing",()=>PG,t=>PG=t);GC(kv,"spectrum-FocusRing--quiet",()=>IG,t=>IG=t);var DG,kG,OG,NO,PG,IG;DG="_t8qIa_focus-ring";kG="_t8qIa_i18nFontFamily";OG="_t8qIa_spectrum";NO="_t8qIa_spectrum-FocusRing-ring";PG=`_t8qIa_spectrum-FocusRing ${NO}`;IG="_t8qIa_spectrum-FocusRing--quiet";function Zm(t,e,r,n){Object.defineProperty(t,e,{get:r,set:n,enumerable:!0,configurable:!0})}var Eh={};Zm(Eh,"focus-ring",()=>NG,t=>NG=t);Zm(Eh,"i18nFontFamily",()=>FO,t=>FO=t);Zm(Eh,"spectrum",()=>FG,t=>FG=t);Zm(Eh,"spectrum-Body",()=>TG,t=>TG=t);Zm(Eh,"spectrum-Body--italic",()=>LG,t=>LG=t);Zm(Eh,"spectrum-FocusRing-ring",()=>TO,t=>TO=t);Zm(Eh,"spectrum-FocusRing",()=>RG,t=>RG=t);Zm(Eh,"spectrum-FocusRing--quiet",()=>MG,t=>MG=t);var NG,FO,FG,TG,LG,TO,RG,MG;NG="kDKRXa_focus-ring";FO="kDKRXa_i18nFontFamily";FG=`kDKRXa_spectrum ${FO}`;TG="kDKRXa_spectrum-Body";LG="kDKRXa_spectrum-Body--italic";TO="kDKRXa_spectrum-FocusRing-ring";RG=`kDKRXa_spectrum-FocusRing ${TO}`;MG="kDKRXa_spectrum-FocusRing--quiet";function R$t(t,e){let r=gG("(prefers-color-scheme: dark)"),n=gG("(prefers-color-scheme: light)");return t.dark&&r?"dark":t.light&&n?"light":t.dark&&e==="dark"?"dark":t.light&&e==="light"||!t.dark||t.light?"light":"dark"}function M$t(t){return gG("(any-pointer: fine)")&&t.medium?"medium":t.large?"large":"medium"}var jPe={};jPe=JSON.parse('{"name":"@react-spectrum/provider","version":"3.10.9","description":"Spectrum UI components in React","license":"Apache-2.0","main":"dist/main.js","module":"dist/module.js","exports":{"source":"./src/index.ts","types":["./dist/types.d.ts","./src/index.ts"],"import":"./dist/import.mjs","require":"./dist/main.js"},"types":"dist/types.d.ts","source":"src/index.ts","files":["dist","src"],"sideEffects":["*.css"],"targets":{"main":{"includeNodeModules":["@adobe/spectrum-css-temp"]},"module":{"includeNodeModules":["@adobe/spectrum-css-temp"]}},"repository":{"type":"git","url":"https://github.com/adobe/react-spectrum"},"dependencies":{"@react-aria/i18n":"^3.12.12","@react-aria/overlays":"^3.29.0","@react-aria/utils":"^3.30.1","@react-spectrum/utils":"^3.12.8","@react-types/provider":"^3.8.12","@react-types/shared":"^3.32.0","@swc/helpers":"^0.5.0","clsx":"^2.0.0"},"devDependencies":{"@adobe/spectrum-css-temp":"3.0.0-alpha.1"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1","react-dom":"^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"},"publishConfig":{"access":"public"}}');function Cme(t){return t&&t.__esModule?t.default:t}const _$t={S:640,M:768,L:1024,XL:1280,XXL:1536},UPe=ve.forwardRef(function(e,r){let n=E.useContext(i3),i=n&&n.colorScheme,o=n&&n.breakpoints,{theme:s=n&&n.theme,defaultColorScheme:a}=e;if(!s)throw new Error("theme not found, the parent provider must have a theme provided");let l=R$t(s,a||"light"),c=M$t(s),{locale:u}=Lp(),f=i?!!s[i]:!1,{colorScheme:d=f?i:l,scale:p=n?n.scale:c,locale:h=n?u:void 0,breakpoints:A=n?o:_$t,children:g,isQuiet:m,isEmphasized:v,isDisabled:y,isRequired:b,isReadOnly:B,validationState:S,router:w,...x}=e,I={version:jPe.version,theme:s,breakpoints:A,colorScheme:d,scale:p,isQuiet:m,isEmphasized:v,isDisabled:y,isRequired:b,isReadOnly:B,validationState:S},F=CVt(A),k={};Object.entries(I).forEach(([V,j])=>j!==void 0&&(k[V]=j));let O=Object.assign({},n,k),L=g,M=IN(x),{styleProps:H}=Ev(x,void 0,{matchedBreakpoints:F});return(!n||e.locale||s!==n.theme||d!==n.colorScheme||p!==n.scale||Object.keys(M).length>0||x.UNSAFE_className||H.style&&Object.keys(H.style).length>0)&&(L=ve.createElement(j$t,{...e,UNSAFE_style:{isolation:n?void 0:"isolate",...H.style},ref:r},L)),w&&(L=ve.createElement(JVt,w,L)),ve.createElement(i3.Provider,{value:O},ve.createElement(kVt,{locale:h},ve.createElement(BVt,{matchedBreakpoints:F},ve.createElement(I$t,null,L))))}),j$t=ve.forwardRef(function(e,r){let{children:n,...i}=e,{locale:o,direction:s}=Lp(),{theme:a,colorScheme:l,scale:c}=QPe(),{modalProviderProps:u}=N$t(),{styleProps:f}=Ev(i),d=gPe(r),p=Object.keys(a[l])[0],h=Object.keys(a[c])[0],A=Nee(f.className,Cme(kv).spectrum,Cme(Eh).spectrum,Object.values(a[l]),Object.values(a[c]),a.global?Object.values(a.global):null,{"react-spectrum-provider":P8,spectrum:P8,[p]:P8,[h]:P8});var g,m;let v={...f.style,colorScheme:(m=(g=e.colorScheme)!==null&&g!==void 0?g:l)!==null&&m!==void 0?m:Object.keys(a).filter(b=>b==="light"||b==="dark").join(" ")},y=E.useRef(!1);return E.useEffect(()=>{if(s&&d.current){var b,B;let S=(B=d.current)===null||B===void 0||(b=B.parentElement)===null||b===void 0?void 0:b.closest("[dir]"),w=S&&S.getAttribute("dir");w&&w!==s&&y.current}},[s,d,y]),ve.createElement("div",{...IN(i),...f,...u,className:A,style:v,lang:o,dir:s,ref:d},n)});function QPe(){let t=E.useContext(i3);if(!t)throw new Error("No root provider found, please make sure your app is wrapped within a <Provider>. Alternatively, this issue may be caused by duplicate packages, see https://github.com/adobe/react-spectrum/wiki/Frequently-Asked-Questions-(FAQs)#why-are-there-errors-after-upgrading-a-react-spectrum-package for more information.");return t}function LN(t){let e=E.useContext(i3);return e?Object.assign({},{isQuiet:e.isQuiet,isEmphasized:e.isEmphasized,isDisabled:e.isDisabled,isRequired:e.isRequired,isReadOnly:e.isReadOnly,validationState:e.validationState},t):t}function rn(t,e,r,n){Object.defineProperty(t,e,{get:r,set:n,enumerable:!0,configurable:!0})}var en={};rn(en,"spectrum--large",()=>_G,t=>_G=t);rn(en,"spectrum--medium",()=>jG,t=>jG=t);rn(en,"spectrum-Icon",()=>UG,t=>UG=t);rn(en,"spectrum-Icon--sizeL",()=>QG,t=>QG=t);rn(en,"spectrum-Icon--sizeM",()=>VG,t=>VG=t);rn(en,"spectrum-Icon--sizeS",()=>$G,t=>$G=t);rn(en,"spectrum-Icon--sizeXL",()=>HG,t=>HG=t);rn(en,"spectrum-Icon--sizeXS",()=>GG,t=>GG=t);rn(en,"spectrum-Icon--sizeXXL",()=>WG,t=>WG=t);rn(en,"spectrum-Icon--sizeXXS",()=>zG,t=>zG=t);rn(en,"spectrum-UIIcon",()=>KG,t=>KG=t);rn(en,"spectrum-UIIcon--large",()=>qG,t=>qG=t);rn(en,"spectrum-UIIcon--medium",()=>XG,t=>XG=t);rn(en,"spectrum-UIIcon-AlertMedium",()=>YG,t=>YG=t);rn(en,"spectrum-UIIcon-AlertSmall",()=>JG,t=>JG=t);rn(en,"spectrum-UIIcon-ArrowDownSmall",()=>ZG,t=>ZG=t);rn(en,"spectrum-UIIcon-ArrowLeftMedium",()=>eW,t=>eW=t);rn(en,"spectrum-UIIcon-Asterisk",()=>tW,t=>tW=t);rn(en,"spectrum-UIIcon-CheckmarkMedium",()=>rW,t=>rW=t);rn(en,"spectrum-UIIcon-CheckmarkSmall",()=>nW,t=>nW=t);rn(en,"spectrum-UIIcon-ChevronDownMedium",()=>iW,t=>iW=t);rn(en,"spectrum-UIIcon-ChevronDownSmall",()=>oW,t=>oW=t);rn(en,"spectrum-UIIcon-ChevronLeftLarge",()=>sW,t=>sW=t);rn(en,"spectrum-UIIcon-ChevronLeftMedium",()=>aW,t=>aW=t);rn(en,"spectrum-UIIcon-ChevronRightLarge",()=>lW,t=>lW=t);rn(en,"spectrum-UIIcon-ChevronRightMedium",()=>cW,t=>cW=t);rn(en,"spectrum-UIIcon-ChevronRightSmall",()=>uW,t=>uW=t);rn(en,"spectrum-UIIcon-ChevronUpSmall",()=>fW,t=>fW=t);rn(en,"spectrum-UIIcon-CornerTriangle",()=>dW,t=>dW=t);rn(en,"spectrum-UIIcon-CrossLarge",()=>pW,t=>pW=t);rn(en,"spectrum-UIIcon-CrossMedium",()=>AW,t=>AW=t);rn(en,"spectrum-UIIcon-CrossSmall",()=>hW,t=>hW=t);rn(en,"spectrum-UIIcon-DashSmall",()=>mW,t=>mW=t);rn(en,"spectrum-UIIcon-DoubleGripper",()=>gW,t=>gW=t);rn(en,"spectrum-UIIcon-FolderBreadcrumb",()=>vW,t=>vW=t);rn(en,"spectrum-UIIcon-HelpMedium",()=>yW,t=>yW=t);rn(en,"spectrum-UIIcon-HelpSmall",()=>BW,t=>BW=t);rn(en,"spectrum-UIIcon-InfoMedium",()=>CW,t=>CW=t);rn(en,"spectrum-UIIcon-InfoSmall",()=>bW,t=>bW=t);rn(en,"spectrum-UIIcon-ListGripper",()=>wW,t=>wW=t);rn(en,"spectrum-UIIcon-Magnifier",()=>xW,t=>xW=t);rn(en,"spectrum-UIIcon-SkipLeft",()=>SW,t=>SW=t);rn(en,"spectrum-UIIcon-SkipRight",()=>EW,t=>EW=t);rn(en,"spectrum-UIIcon-Star",()=>DW,t=>DW=t);rn(en,"spectrum-UIIcon-StarOutline",()=>kW,t=>kW=t);rn(en,"spectrum-UIIcon-SuccessMedium",()=>OW,t=>OW=t);rn(en,"spectrum-UIIcon-SuccessSmall",()=>PW,t=>PW=t);rn(en,"spectrum-UIIcon-TripleGripper",()=>IW,t=>IW=t);var _G,jG,UG,QG,VG,$G,HG,GG,WG,zG,KG,qG,XG,YG,JG,ZG,eW,tW,rW,nW,iW,oW,sW,aW,lW,cW,uW,fW,dW,pW,AW,hW,mW,gW,vW,yW,BW,CW,bW,wW,xW,SW,EW,DW,kW,OW,PW,IW;_G="wBx8DG_spectrum--large";jG="wBx8DG_spectrum--medium";UG="wBx8DG_spectrum-Icon";QG="wBx8DG_spectrum-Icon--sizeL";VG="wBx8DG_spectrum-Icon--sizeM";$G="wBx8DG_spectrum-Icon--sizeS";HG="wBx8DG_spectrum-Icon--sizeXL";GG="wBx8DG_spectrum-Icon--sizeXS";WG="wBx8DG_spectrum-Icon--sizeXXL";zG="wBx8DG_spectrum-Icon--sizeXXS";KG="wBx8DG_spectrum-UIIcon";qG="wBx8DG_spectrum-UIIcon--large";XG="wBx8DG_spectrum-UIIcon--medium";YG="wBx8DG_spectrum-UIIcon-AlertMedium";JG="wBx8DG_spectrum-UIIcon-AlertSmall";ZG="wBx8DG_spectrum-UIIcon-ArrowDownSmall";eW="wBx8DG_spectrum-UIIcon-ArrowLeftMedium";tW="wBx8DG_spectrum-UIIcon-Asterisk";rW="wBx8DG_spectrum-UIIcon-CheckmarkMedium";nW="wBx8DG_spectrum-UIIcon-CheckmarkSmall";iW="wBx8DG_spectrum-UIIcon-ChevronDownMedium";oW="wBx8DG_spectrum-UIIcon-ChevronDownSmall";sW="wBx8DG_spectrum-UIIcon-ChevronLeftLarge";aW="wBx8DG_spectrum-UIIcon-ChevronLeftMedium";lW="wBx8DG_spectrum-UIIcon-ChevronRightLarge";cW="wBx8DG_spectrum-UIIcon-ChevronRightMedium";uW="wBx8DG_spectrum-UIIcon-ChevronRightSmall";fW="wBx8DG_spectrum-UIIcon-ChevronUpSmall";dW="wBx8DG_spectrum-UIIcon-CornerTriangle";pW="wBx8DG_spectrum-UIIcon-CrossLarge";AW="wBx8DG_spectrum-UIIcon-CrossMedium";hW="wBx8DG_spectrum-UIIcon-CrossSmall";mW="wBx8DG_spectrum-UIIcon-DashSmall";gW="wBx8DG_spectrum-UIIcon-DoubleGripper";vW="wBx8DG_spectrum-UIIcon-FolderBreadcrumb";yW="wBx8DG_spectrum-UIIcon-HelpMedium";BW="wBx8DG_spectrum-UIIcon-HelpSmall";CW="wBx8DG_spectrum-UIIcon-InfoMedium";bW="wBx8DG_spectrum-UIIcon-InfoSmall";wW="wBx8DG_spectrum-UIIcon-ListGripper";xW="wBx8DG_spectrum-UIIcon-Magnifier";SW="wBx8DG_spectrum-UIIcon-SkipLeft";EW="wBx8DG_spectrum-UIIcon-SkipRight";DW="wBx8DG_spectrum-UIIcon-Star";kW="wBx8DG_spectrum-UIIcon-StarOutline";OW="wBx8DG_spectrum-UIIcon-SuccessMedium";PW="wBx8DG_spectrum-UIIcon-SuccessSmall";IW="wBx8DG_spectrum-UIIcon-TripleGripper";function U$t(t){return t&&t.__esModule?t.default:t}function Q$t(t){t=p$t(t,"icon");let{children:e,"aria-label":r,"aria-hidden":n,...i}=t,{styleProps:o}=Ev(i),s;try{s=QPe()}catch{}let a="M";return s!=null&&(a=s.scale==="large"?"L":"M"),n||(n=void 0),ve.cloneElement(e,{...IN(i),...o,scale:a,focusable:"false","aria-label":r,"aria-hidden":r?n||void 0:!0,role:"img",className:Li(U$t(en),e.props.className,"spectrum-Icon",{[`spectrum-UIIcon-${e.type.displayName}`]:e.type.displayName},o.className)})}var VPe={};VPe={"(optional)":"(اختياري)","(required)":"(مطلوب)"};var $Pe={};$Pe={"(optional)":"(незадължително)","(required)":"(задължително)"};var HPe={};HPe={"(optional)":"(volitelně)","(required)":"(požadováno)"};var GPe={};GPe={"(optional)":"(valgfrit)","(required)":"(obligatorisk)"};var WPe={};WPe={"(optional)":"(optional)","(required)":"(erforderlich)"};var zPe={};zPe={"(optional)":"(προαιρετικό)","(required)":"(απαιτείται)"};var KPe={};KPe={"(required)":"(required)","(optional)":"(optional)"};var qPe={};qPe={"(optional)":"(opcional)","(required)":"(obligatorio)"};var XPe={};XPe={"(optional)":"(valikuline)","(required)":"(nõutav)"};var YPe={};YPe={"(optional)":"(valinnainen)","(required)":"(pakollinen)"};var JPe={};JPe={"(optional)":"(facultatif)","(required)":"(requis)"};var ZPe={};ZPe={"(optional)":"(אופציונלי)","(required)":"(נדרש)"};var eIe={};eIe={"(optional)":"(opcionalno)","(required)":"(obvezno)"};var tIe={};tIe={"(optional)":"(opcionális)","(required)":"(kötelező)"};var rIe={};rIe={"(optional)":"(facoltativo)","(required)":"(obbligatorio)"};var nIe={};nIe={"(optional)":"(オプション)","(required)":"(必須)"};var iIe={};iIe={"(optional)":"(선택 사항)","(required)":"(필수 사항)"};var oIe={};oIe={"(optional)":"(pasirenkama)","(required)":"(privaloma)"};var sIe={};sIe={"(optional)":"(neobligāti)","(required)":"(obligāti)"};var aIe={};aIe={"(optional)":"(valgfritt)","(required)":"(obligatorisk)"};var lIe={};lIe={"(optional)":"(optioneel)","(required)":"(vereist)"};var cIe={};cIe={"(optional)":"(opcjonalne)","(required)":"(wymagane)"};var uIe={};uIe={"(optional)":"(opcional)","(required)":"(obrigatório)"};var fIe={};fIe={"(optional)":"(opcional)","(required)":"(obrigatório)"};var dIe={};dIe={"(optional)":"(opţional)","(required)":"(obligatoriu)"};var pIe={};pIe={"(optional)":"(дополнительно)","(required)":"(обязательно)"};var AIe={};AIe={"(optional)":"(nepovinné)","(required)":"(povinné)"};var hIe={};hIe={"(optional)":"(opcijsko)","(required)":"(obvezno)"};var mIe={};mIe={"(optional)":"(opciono)","(required)":"(obavezno)"};var gIe={};gIe={"(optional)":"(valfritt)","(required)":"(krävs)"};var vIe={};vIe={"(optional)":"(isteğe bağlı)","(required)":"(gerekli)"};var yIe={};yIe={"(optional)":"(необов’язково)","(required)":"(обов’язково)"};var BIe={};BIe={"(optional)":"(可选)","(required)":"(必填)"};var CIe={};CIe={"(optional)":"(選填)","(required)":"(必填)"};var bIe={};bIe={"ar-AE":VPe,"bg-BG":$Pe,"cs-CZ":HPe,"da-DK":GPe,"de-DE":WPe,"el-GR":zPe,"en-US":KPe,"es-ES":qPe,"et-EE":XPe,"fi-FI":YPe,"fr-FR":JPe,"he-IL":ZPe,"hr-HR":eIe,"hu-HU":tIe,"it-IT":rIe,"ja-JP":nIe,"ko-KR":iIe,"lt-LT":oIe,"lv-LV":sIe,"nb-NO":aIe,"nl-NL":lIe,"pl-PL":cIe,"pt-BR":uIe,"pt-PT":fIe,"ro-RO":dIe,"ru-RU":pIe,"sk-SK":AIe,"sl-SI":hIe,"sr-SP":mIe,"sv-SE":gIe,"tr-TR":vIe,"uk-UA":yIe,"zh-CN":BIe,"zh-TW":CIe};function Pi(t,e,r,n){Object.defineProperty(t,e,{get:r,set:n,enumerable:!0,configurable:!0})}var hi={};Pi(hi,"contextualHelp",()=>NW,t=>NW=t);Pi(hi,"field",()=>FW,t=>FW=t);Pi(hi,"focus-ring",()=>TW,t=>TW=t);Pi(hi,"helpText",()=>LW,t=>LW=t);Pi(hi,"i18nFontFamily",()=>RW,t=>RW=t);Pi(hi,"is-disabled",()=>MW,t=>MW=t);Pi(hi,"label",()=>_W,t=>_W=t);Pi(hi,"spectrum-Field",()=>jW,t=>jW=t);Pi(hi,"spectrum-Field--alignEnd",()=>UW,t=>UW=t);Pi(hi,"spectrum-Field--hasContextualHelp",()=>QW,t=>QW=t);Pi(hi,"spectrum-Field--positionSide",()=>VW,t=>VW=t);Pi(hi,"spectrum-Field--positionTop",()=>$W,t=>$W=t);Pi(hi,"spectrum-Field-contextualHelp",()=>HW,t=>HW=t);Pi(hi,"spectrum-Field-field",()=>GW,t=>GW=t);Pi(hi,"spectrum-Field-labelCell",()=>WW,t=>WW=t);Pi(hi,"spectrum-Field-labelWrapper",()=>zW,t=>zW=t);Pi(hi,"spectrum-Field-wrapper",()=>KW,t=>KW=t);Pi(hi,"spectrum-FieldLabel",()=>qW,t=>qW=t);Pi(hi,"spectrum-FieldLabel--alignEnd",()=>XW,t=>XW=t);Pi(hi,"spectrum-FieldLabel--positionSide",()=>YW,t=>YW=t);Pi(hi,"spectrum-FieldLabel-requiredIcon",()=>JW,t=>JW=t);Pi(hi,"spectrum-FocusRing-ring",()=>LO,t=>LO=t);Pi(hi,"spectrum-FocusRing",()=>ZW,t=>ZW=t);Pi(hi,"spectrum-FocusRing--quiet",()=>ez,t=>ez=t);Pi(hi,"spectrum-Form",()=>tz,t=>tz=t);Pi(hi,"spectrum-Form--positionSide",()=>rz,t=>rz=t);Pi(hi,"spectrum-Form--positionTop",()=>nz,t=>nz=t);Pi(hi,"spectrum-Form-itemLabel",()=>iz,t=>iz=t);Pi(hi,"spectrum-LabeledValue",()=>oz,t=>oz=t);var NW,FW,TW,LW,RW,MW,_W,jW,UW,QW,VW,$W,HW,GW,WW,zW,KW,qW,XW,YW,JW,LO,ZW,ez,tz,rz,nz,iz,oz;NW="jIQVGq_contextualHelp";FW="jIQVGq_field";TW="jIQVGq_focus-ring";LW="jIQVGq_helpText";RW="jIQVGq_i18nFontFamily";MW="jIQVGq_is-disabled";_W="jIQVGq_label";jW="jIQVGq_spectrum-Field";UW="jIQVGq_spectrum-Field--alignEnd";QW="jIQVGq_spectrum-Field--hasContextualHelp";VW="jIQVGq_spectrum-Field--positionSide";$W="jIQVGq_spectrum-Field--positionTop";HW="jIQVGq_spectrum-Field-contextualHelp";GW="jIQVGq_spectrum-Field-field";WW="jIQVGq_spectrum-Field-labelCell";zW="jIQVGq_spectrum-Field-labelWrapper";KW="jIQVGq_spectrum-Field-wrapper";qW="jIQVGq_spectrum-FieldLabel";XW="jIQVGq_spectrum-FieldLabel--alignEnd";YW="jIQVGq_spectrum-FieldLabel--positionSide";JW="jIQVGq_spectrum-FieldLabel-requiredIcon";LO="jIQVGq_spectrum-FocusRing-ring";ZW=`jIQVGq_spectrum-FocusRing ${LO}`;ez="jIQVGq_spectrum-FocusRing--quiet";tz="jIQVGq_spectrum-Form";rz="jIQVGq_spectrum-Form--positionSide";nz="jIQVGq_spectrum-Form--positionTop";iz="jIQVGq_spectrum-Form-itemLabel";oz="jIQVGq_spectrum-LabeledValue";var wIe={};Object.defineProperty(wIe,"__esModule",{value:!0});var V$t=wIe.Asterisk=xIe,Xj=$$t(E);function $$t(t){return t&&t.__esModule?t:{default:t}}function sz(){return sz=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},sz.apply(this,arguments)}function H$t(t,e){if(t==null)return{};var r=G$t(t,e),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)n=o[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function G$t(t,e){if(t==null)return{};var r={},n=Object.keys(t),i,o;for(o=0;o<n.length;o++)i=n[o],!(e.indexOf(i)>=0)&&(r[i]=t[i]);return r}function xIe(t){var e=t.scale,r=e===void 0?"M":e,n=H$t(t,["scale"]);return Xj.default.createElement("svg",sz({},n,n),r==="L"&&Xj.default.createElement("path",{d:"M7.867 7.872c.061.062.103.145 0 .228l-1.283.827c-.104.061-.145.02-.186-.083L4.804 6.07l-2.09 2.297c-.021.042-.083.083-.145 0l-.994-1.035c-.103-.062-.082-.124 0-.186l2.36-1.966-2.691-1.014c-.042 0-.104-.083-.062-.186l.703-1.41a.11.11 0 0 1 .187-.04L4.43 4.06l.145-3.02A.109.109 0 0 1 4.7.917l1.718.227c.104 0 .124.042.104.145l-.808 2.96 2.734-.828c.061-.042.124-.042.165.082l.27 1.532c.02.103 0 .145-.084.145l-2.856.227z"}),r==="M"&&Xj.default.createElement("path",{d:"M6.573 6.558c.056.055.092.13 0 .204l-1.148.74c-.093.056-.13.02-.167-.073L3.832 4.947l-1.87 2.055c-.02.037-.075.074-.13 0l-.889-.926c-.092-.055-.074-.111 0-.167l2.111-1.76-2.408-.906c-.037 0-.092-.074-.055-.167l.63-1.259a.097.097 0 0 1 .166-.036l2.111 1.37.13-2.704a.097.097 0 0 1 .111-.11L5.277.54c.092 0 .11.037.092.13l-.722 2.647 2.444-.74c.056-.038.111-.038.148.073l.241 1.37c.019.093 0 .13-.074.13l-2.556.204z"}))}xIe.displayName="Asterisk";function W$t(t){return ve.createElement(Q$t,t,ve.createElement(V$t,null))}function Yj(t){return t&&t.__esModule?t.default:t}const bme=ve.forwardRef(function(e,r){e=LN(e);let{children:n,labelPosition:i="top",labelAlign:o=i==="side"?"start":null,isRequired:s,necessityIndicator:a=s!=null?"icon":null,includeNecessityIndicatorInAccessibilityName:l=!1,htmlFor:c,for:u,elementType:f="label",onClick:d,...p}=e,h=gPe(r),{styleProps:A}=Ev(p),g=CPe(Yj(bIe),"@react-spectrum/label"),m=s?g.format("(required)"):g.format("(optional)"),v=ve.createElement(W$t,{UNSAFE_className:Li(Yj(hi),"spectrum-FieldLabel-requiredIcon"),"aria-label":l?g.format("(required)"):void 0}),y=Li(Yj(hi),"spectrum-FieldLabel",{"spectrum-FieldLabel--positionSide":i==="side","spectrum-FieldLabel--alignEnd":o==="end"},A.className);return ve.createElement(f,{...IN(p),...A,onClick:d,ref:h,className:y,htmlFor:f==="label"?u||c:void 0},n,(a==="label"||a==="icon"&&s)&&" ",a==="label"&&ve.createElement("span",{"aria-hidden":l?void 0:s},m),a==="icon"&&s&&v)});function z$t(t,e,r,n){Object.defineProperty(t,e,{get:r,set:n,enumerable:!0,configurable:!0})}var SIe={};z$t(SIe,"spectrum--darkest",()=>az,t=>az=t);var az;az="R-l9gW_spectrum--darkest";function Ov(t,e,r,n){Object.defineProperty(t,e,{get:r,set:n,enumerable:!0,configurable:!0})}var eg={};Ov(eg,"spectrum",()=>lz,t=>lz=t);Ov(eg,"spectrum--dark",()=>cz,t=>cz=t);Ov(eg,"spectrum--darkest",()=>uz,t=>uz=t);Ov(eg,"spectrum--large",()=>fz,t=>fz=t);Ov(eg,"spectrum--light",()=>dz,t=>dz=t);Ov(eg,"spectrum--lightest",()=>pz,t=>pz=t);Ov(eg,"spectrum--medium",()=>Az,t=>Az=t);var lz,cz,uz,fz,dz,pz,Az;lz="XhWg9q_spectrum";cz="XhWg9q_spectrum--dark";uz="XhWg9q_spectrum--darkest";fz="XhWg9q_spectrum--large";dz="XhWg9q_spectrum--light";pz="XhWg9q_spectrum--lightest";Az="XhWg9q_spectrum--medium";function K$t(t,e,r,n){Object.defineProperty(t,e,{get:r,set:n,enumerable:!0,configurable:!0})}var EIe={};K$t(EIe,"spectrum--large",()=>hz,t=>hz=t);var hz;hz="_1DrGeG_spectrum--large";function q$t(t,e,r,n){Object.defineProperty(t,e,{get:r,set:n,enumerable:!0,configurable:!0})}var DIe={};q$t(DIe,"spectrum--light",()=>mz,t=>mz=t);var mz;mz="YqfL3a_spectrum--light";function X$t(t,e,r,n){Object.defineProperty(t,e,{get:r,set:n,enumerable:!0,configurable:!0})}var kIe={};X$t(kIe,"spectrum--medium",()=>gz,t=>gz=t);var gz;gz="rfm_fq_spectrum--medium";function lw(t){return t&&t.__esModule?t.default:t}let OIe={global:lw(eg),light:lw(DIe),dark:lw(SIe),medium:lw(kIe),large:lw(EIe)};var PIe={};PIe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"أداة انتقاء اللون",twoDimensionalSlider:"مُنزلق 2D"};var IIe={};IIe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Средство за избиране на цвят",twoDimensionalSlider:"2D плъзгач"};var NIe={};NIe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Výběr barvy",twoDimensionalSlider:"2D posuvník"};var FIe={};FIe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Farvevælger",twoDimensionalSlider:"2D-skyder"};var TIe={};TIe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Farbwähler",twoDimensionalSlider:"2D-Schieberegler"};var LIe={};LIe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Επιλογέας χρωμάτων",twoDimensionalSlider:"Ρυθμιστικό 2D"};var RIe={};RIe={colorPicker:"Color picker",twoDimensionalSlider:"2D slider",colorNameAndValue:t=>`${t.name}: ${t.value}`,colorInputLabel:t=>`${t.label}, ${t.channelLabel}`};var MIe={};MIe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Selector de color",twoDimensionalSlider:"Regulador 2D"};var _Ie={};_Ie={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Värvivalija",twoDimensionalSlider:"2D-liugur"};var jIe={};jIe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Värimuokkain",twoDimensionalSlider:"2D-liukusäädin"};var UIe={};UIe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name} : ${t.value}`,colorPicker:"Sélecteur de couleurs",twoDimensionalSlider:"Curseur 2D"};var QIe={};QIe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"בוחר הצבעים",twoDimensionalSlider:"מחוון דו מימדי"};var VIe={};VIe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Odabir boje",twoDimensionalSlider:"2D klizač"};var $Ie={};$Ie={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Színválasztó",twoDimensionalSlider:"2D-csúszka"};var HIe={};HIe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Selettore colore",twoDimensionalSlider:"Cursore 2D"};var GIe={};GIe={colorInputLabel:t=>`${t.label}、${t.channelLabel}`,colorNameAndValue:t=>`${t.name} : ${t.value}`,colorPicker:"カラーピッカー",twoDimensionalSlider:"2D スライダー"};var WIe={};WIe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"색상 피커",twoDimensionalSlider:"2D 슬라이더"};var zIe={};zIe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Spalvų parinkiklis",twoDimensionalSlider:"2D slankiklis"};var KIe={};KIe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Krāsu atlasītājs",twoDimensionalSlider:"2D slīdnis"};var qIe={};qIe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Fargevelger",twoDimensionalSlider:"2D-glidebryter"};var XIe={};XIe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Kleurkiezer",twoDimensionalSlider:"2D-schuifregelaar"};var YIe={};YIe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Próbnik kolorów",twoDimensionalSlider:"Suwak 2D"};var JIe={};JIe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Seletor de cores",twoDimensionalSlider:"Controle deslizante 2D"};var ZIe={};ZIe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Seletor de cores",twoDimensionalSlider:"Controle deslizante 2D"};var eNe={};eNe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Selector de culori",twoDimensionalSlider:"Glisor 2D"};var tNe={};tNe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Палитра цветов",twoDimensionalSlider:"Ползунок 2D"};var rNe={};rNe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Výber farieb",twoDimensionalSlider:"2D jazdec"};var nNe={};nNe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Izbirnik barv",twoDimensionalSlider:"2D drsnik"};var iNe={};iNe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Birač boja",twoDimensionalSlider:"2D klizač"};var oNe={};oNe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Färgväljaren",twoDimensionalSlider:"2D-reglage"};var sNe={};sNe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Renk Seçici",twoDimensionalSlider:"2D sürgü"};var aNe={};aNe={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Палітра кольорів",twoDimensionalSlider:"Повзунок 2D"};var lNe={};lNe={colorInputLabel:t=>`${t.label}、${t.channelLabel}`,colorNameAndValue:t=>`${t.name}:${t.value}`,colorPicker:"拾色器",twoDimensionalSlider:"2D 滑块"};var cNe={};cNe={colorInputLabel:t=>`${t.label},${t.channelLabel}`,colorNameAndValue:t=>`${t.name}:${t.value}`,colorPicker:"檢色器",twoDimensionalSlider:"2D 滑桿"};function Y$t(t){return t&&t.__esModule?t.default:t}var uNe={};uNe={"ar-AE":PIe,"bg-BG":IIe,"cs-CZ":NIe,"da-DK":FIe,"de-DE":TIe,"el-GR":LIe,"en-US":RIe,"es-ES":MIe,"et-EE":_Ie,"fi-FI":jIe,"fr-FR":UIe,"he-IL":QIe,"hr-HR":VIe,"hu-HU":$Ie,"it-IT":HIe,"ja-JP":GIe,"ko-KR":WIe,"lt-LT":zIe,"lv-LV":KIe,"nb-NO":qIe,"nl-NL":XIe,"pl-PL":YIe,"pt-BR":JIe,"pt-PT":ZIe,"ro-RO":eNe,"ru-RU":tNe,"sk-SK":rNe,"sl-SI":nNe,"sr-SP":iNe,"sv-SE":oNe,"tr-TR":sNe,"uk-UA":aNe,"zh-CN":lNe,"zh-TW":cNe};const J$t=(t,e,r)=>{let n=`linear-gradient(to ${t[+!e]}, transparent, #000)`;return{colorAreaStyles:{backgroundImage:`linear-gradient(to ${t[Number(e)]},rgb(${r},0,0),rgb(${r},255,0))`},gradientStyles:{backgroundImage:`linear-gradient(to ${t[Number(e)]},rgb(${r},0,255),rgb(${r},255,255))`,WebkitMaskImage:n,maskImage:n}}},Z$t=(t,e,r)=>{let n=`linear-gradient(to ${t[+!e]}, transparent, #000)`;return{colorAreaStyles:{backgroundImage:`linear-gradient(to ${t[Number(e)]},rgb(0,${r},0),rgb(255,${r},0))`},gradientStyles:{backgroundImage:`linear-gradient(to ${t[Number(e)]},rgb(0,${r},255),rgb(255,${r},255))`,WebkitMaskImage:n,maskImage:n}}},eHt=(t,e,r)=>{let n=`linear-gradient(to ${t[+!e]}, transparent, #000)`;return{colorAreaStyles:{backgroundImage:`linear-gradient(to ${t[Number(e)]},rgb(0,0,${r}),rgb(255,0,${r}))`},gradientStyles:{backgroundImage:`linear-gradient(to ${t[Number(e)]},rgb(0,255,${r}),rgb(255,255,${r}))`,WebkitMaskImage:n,maskImage:n}}},tHt=(t,e,r)=>({colorAreaStyles:{},gradientStyles:{background:[`linear-gradient(to ${t[Number(e)]}, hsla(0,0%,0%,1) 0%, hsla(0,0%,0%,0) 50%, hsla(0,0%,100%,0) 50%, hsla(0,0%,100%,1) 100%)`,`linear-gradient(to ${t[+!e]},hsl(0,0%,50%),hsla(0,0%,50%,0))`,`hsl(${r}, 100%, 50%)`].join(",")}}),rHt=(t,e,r)=>({colorAreaStyles:{},gradientStyles:{background:[`linear-gradient(to ${t[+!e]}, hsla(0,0%,0%,${r}) 0%, hsla(0,0%,0%,0) 50%, hsla(0,0%,100%,0) 50%, hsla(0,0%,100%,${r}) 100%)`,`linear-gradient(to ${t[Number(e)]},hsla(0,100%,50%,${r}),hsla(60,100%,50%,${r}),hsla(120,100%,50%,${r}),hsla(180,100%,50%,${r}),hsla(240,100%,50%,${r}),hsla(300,100%,50%,${r}),hsla(359,100%,50%,${r}))`,"hsl(0, 0%, 50%)"].join(",")}}),nHt=(t,e,r)=>({colorAreaStyles:{},gradientStyles:{backgroundImage:[`linear-gradient(to ${t[+!e]},hsl(0,0%,${r}%),hsla(0,0%,${r}%,0))`,`linear-gradient(to ${t[Number(e)]},hsl(0,100%,${r}%),hsl(60,100%,${r}%),hsl(120,100%,${r}%),hsl(180,100%,${r}%),hsl(240,100%,${r}%),hsl(300,100%,${r}%),hsl(360,100%,${r}%))`].join(",")}}),iHt=(t,e,r)=>({colorAreaStyles:{},gradientStyles:{background:[`linear-gradient(to ${t[Number(e)]},hsl(0,0%,0%),hsla(0,0%,0%,0))`,`linear-gradient(to ${t[+!e]},hsl(0,0%,100%),hsla(0,0%,100%,0))`,`hsl(${r}, 100%, 50%)`].join(",")}}),oHt=(t,e,r)=>({colorAreaStyles:{},gradientStyles:{background:[`linear-gradient(to ${t[+!e]},hsla(0,0%,0%,${r}),hsla(0,0%,0%,0))`,`linear-gradient(to ${t[Number(e)]},hsla(0,100%,50%,${r}),hsla(60,100%,50%,${r}),hsla(120,100%,50%,${r}),hsla(180,100%,50%,${r}),hsla(240,100%,50%,${r}),hsla(300,100%,50%,${r}),hsla(359,100%,50%,${r}))`,`linear-gradient(to ${t[+!e]},hsl(0,0%,0%),hsl(0,0%,100%))`].join(",")}}),sHt=(t,e,r)=>({colorAreaStyles:{},gradientStyles:{background:[`linear-gradient(to ${t[+!e]},hsla(0,0%,100%,${r}),hsla(0,0%,100%,0))`,`linear-gradient(to ${t[Number(e)]},hsla(0,100%,50%,${r}),hsla(60,100%,50%,${r}),hsla(120,100%,50%,${r}),hsla(180,100%,50%,${r}),hsla(240,100%,50%,${r}),hsla(300,100%,50%,${r}),hsla(359,100%,50%,${r}))`,"#000"].join(",")}});function aHt({direction:t,state:e,zChannel:r,xChannel:n,isDisabled:i}){return E.useMemo(()=>{let s=["top",t==="rtl"?"left":"right"],a=!1,l={colorAreaStyles:{},gradientStyles:{}},c=e.value.getChannelValue(r),{minValue:u,maxValue:f}=e.value.getChannelRange(r),d=(c-u)/(f-u),p=e.value.getColorSpace()==="hsl";if(!i)switch(r){case"red":a=n==="green",l=J$t(s,a,c);break;case"green":a=n==="red",l=Z$t(s,a,c);break;case"blue":a=n==="red",l=eHt(s,a,c);break;case"hue":a=n!=="saturation",p?l=tHt(s,a,c):l=iHt(s,a,c);break;case"saturation":a=n==="hue",p?l=rHt(s,a,d):l=oHt(s,a,d);break;case"brightness":a=n==="hue",l=sHt(s,a,d);break;case"lightness":a=n==="hue",l=nHt(s,a,c);break}let{x:h,y:A}=e.getThumbPosition();t==="rtl"&&(h=1-h);let g={forcedColorAdjust:"none"};return{colorAreaStyleProps:{style:{position:"relative",touchAction:"none",...g,...l.colorAreaStyles}},gradientStyleProps:{style:{touchAction:"none",...g,...l.gradientStyles}},thumbStyleProps:{style:{position:"absolute",left:`${h*100}%`,top:`${A*100}%`,transform:"translate(0%, 0%)",touchAction:"none",...g}}}},[t,e,r,n,i])}function lHt(t,e){let{isDisabled:r,inputXRef:n,inputYRef:i,containerRef:o,"aria-label":s,xName:a,yName:l}=t,c=CPe(Y$t(uNe),"@react-aria/color"),{addGlobalListener:u,removeGlobalListener:f}=HC(),{direction:d,locale:p}=Lp(),[h,A]=E.useState(null),g=E.useCallback((Ae=n)=>{Ae.current&&KB(Ae.current)},[n]);jee(n,[e.xValue,e.yValue],([Ae,ue])=>{let Ne=e.value.withChannelValue(e.channels.xChannel,Ae).withChannelValue(e.channels.yChannel,ue);e.setValue(Ne)});let[m,v]=E.useState(!1),{xChannel:y,yChannel:b,zChannel:B}=e.channels,S=e.xChannelStep,w=e.yChannelStep,x=E.useRef(null),{keyboardProps:I}=TN({onKeyDown(Ae){if(!/^(PageUp|PageDown|Home|End)$/.test(Ae.key)){Ae.continuePropagation();return}Ae.preventDefault(),e.setDragging(!0),v(!0);let ue;switch(Ae.key){case"PageUp":e.incrementY(e.yChannelPageStep),ue="y";break;case"PageDown":e.decrementY(e.yChannelPageStep),ue="y";break;case"Home":d==="rtl"?e.incrementX(e.xChannelPageStep):e.decrementX(e.xChannelPageStep),ue="x";break;case"End":d==="rtl"?e.decrementX(e.xChannelPageStep):e.incrementX(e.xChannelPageStep),ue="x";break}e.setDragging(!1),ue&&(g(ue==="x"?n:i),A(ue))}}),F={onMoveStart(){x.current=null,e.setDragging(!0)},onMove({deltaX:Ae,deltaY:ue,pointerType:Ne,shiftKey:Te}){var Re;let{incrementX:je,decrementX:Ve,incrementY:ze,decrementY:lt,xChannelPageStep:gt,xChannelStep:_t,yChannelPageStep:U,yChannelStep:D,getThumbPosition:N,setColorFromPoint:Y}=e;x.current==null&&(x.current=N());let{width:pe,height:be}=((Re=o.current)===null||Re===void 0?void 0:Re.getBoundingClientRect())||{width:0,height:0},_e=Ae!==0||ue!==0;if(Ne==="keyboard"){let he=Te&>>_t?gt:_t,Ee=Te&&U>D?U:D;Ae>0&&d==="ltr"||Ae<0&&d==="rtl"?je(he):Ae<0&&d==="ltr"||Ae>0&&d==="rtl"?Ve(he):ue>0?lt(Ee):ue<0&&ze(Ee),v(_e),h=_e&&Math.abs(ue)>Math.abs(Ae)?"y":"x",A(h)}else x.current.x+=(d==="rtl"?-1:1)*Ae/pe,x.current.y+=ue/be,Y(x.current.x,x.current.y)},onMoveEnd(){M.current=!1,e.setDragging(!1),g(h==="x"?n:i)}},{moveProps:k}=qB(F),{focusWithinProps:O}=Qee({onFocusWithinChange:Ae=>{Ae||v(!1)}}),L=E.useRef(void 0),M=E.useRef(!1),{moveProps:H}=qB({onMoveStart(){M.current&&F.onMoveStart()},onMove(Ae){M.current&&F.onMove(Ae)},onMoveEnd(){M.current&&F.onMoveEnd()}}),V=Ae=>{e.isDragging||(L.current=Ae,v(!1),g(),e.setDragging(!0),typeof PointerEvent<"u"?u(window,"pointerup",j,!1):(u(window,"mouseup",j,!1),u(window,"touchend",j,!1)))},j=Ae=>{var ue,Ne;((Ne=Ae.pointerId)!==null&&Ne!==void 0?Ne:(ue=Ae.changedTouches)===null||ue===void 0?void 0:ue[0].identifier)===L.current&&(v(!1),g(),e.setDragging(!1),L.current=void 0,M.current=!1,typeof PointerEvent<"u"?f(window,"pointerup",j,!1):(f(window,"mouseup",j,!1),f(window,"touchend",j,!1)))},R=(Ae,ue,Ne,Te)=>{let Re=Ae.getBoundingClientRect(),{width:je,height:Ve}=Re,ze=(Ne-Re.x)/je,lt=(Te-Re.y)/Ve;d==="rtl"&&(ze=1-ze),ze>=0&&ze<=1&<>=0&<<=1&&!e.isDragging&&L.current===void 0&&(M.current=!0,v(!1),L.current=ue,e.setColorFromPoint(ze,lt),g(),e.setDragging(!0),typeof PointerEvent<"u"?u(window,"pointerup",Q,!1):(u(window,"mouseup",Q,!1),u(window,"touchend",Q,!1)))},Q=Ae=>{var ue,Ne;let Te=(Ne=Ae.pointerId)!==null&&Ne!==void 0?Ne:(ue=Ae.changedTouches)===null||ue===void 0?void 0:ue[0].identifier;M.current&&Te===L.current&&(M.current=!1,v(!1),L.current=void 0,e.setDragging(!1),g(),typeof PointerEvent<"u"?f(window,"pointerup",Q,!1):(f(window,"mouseup",Q,!1),f(window,"touchend",Q,!1)))},z=r?{}:Ba({...typeof PointerEvent<"u"?{onPointerDown:Ae=>{Ae.pointerType==="mouse"&&(Ae.button!==0||Ae.altKey||Ae.ctrlKey||Ae.metaKey)||R(Ae.currentTarget,Ae.pointerId,Ae.clientX,Ae.clientY)}}:{onMouseDown:Ae=>{Ae.button!==0||Ae.altKey||Ae.ctrlKey||Ae.metaKey||R(Ae.currentTarget,void 0,Ae.clientX,Ae.clientY)},onTouchStart:Ae=>{R(Ae.currentTarget,Ae.changedTouches[0].identifier,Ae.changedTouches[0].clientX,Ae.changedTouches[0].clientY)}}},H),X=r?{}:Ba({...typeof PointerEvent<"u"?{onPointerDown:Ae=>{Ae.pointerType==="mouse"&&(Ae.button!==0||Ae.altKey||Ae.ctrlKey||Ae.metaKey)||V(Ae.pointerId)}}:{onMouseDown:Ae=>{Ae.button!==0||Ae.altKey||Ae.ctrlKey||Ae.metaKey||V(void 0)},onTouchStart:Ae=>{V(Ae.changedTouches[0].identifier)}}},O,I,k),{focusProps:_}=n3({onFocus:()=>{A("x")}}),{focusProps:G}=n3({onFocus:()=>{A("y")}}),W=_ee()||xPe();function J(Ae){return m?c.format("colorNameAndValue",{name:e.value.getChannelName(Ae,p),value:e.value.formatChannelValue(Ae,p)}):[c.format("colorNameAndValue",{name:e.value.getChannelName(Ae,p),value:e.value.formatChannelValue(Ae,p)}),c.format("colorNameAndValue",{name:e.value.getChannelName(Ae===b?y:b,p),value:e.value.formatChannelValue(Ae===b?y:b,p)})].join(", ")}let ee=c.format("colorPicker"),q=O5({...t,"aria-label":s?c.format("colorInputLabel",{label:s,channelLabel:ee}):ee}),Z=O5({...t,"aria-label":s?c.format("colorInputLabel",{label:s,channelLabel:ee}):ee}),re=O5({...t,"aria-label":s?`${s}, ${ee}`:void 0},W?ee:void 0),fe=c.format("twoDimensionalSlider"),{visuallyHiddenProps:de}=F$t({style:{opacity:"0.0001",width:"100%",height:"100%",pointerEvents:"none"}}),{colorAreaStyleProps:ie,gradientStyleProps:le,thumbStyleProps:De}=aHt({direction:d,state:e,xChannel:y,zChannel:B,isDisabled:t.isDisabled});return{colorAreaProps:{...re,...z,...ie,role:"group"},gradientProps:{...le,role:"presentation"},thumbProps:{...X,...De,role:"presentation"},xInputProps:{...q,...de,..._,type:"range",min:e.value.getChannelRange(y).minValue,max:e.value.getChannelRange(y).maxValue,step:S,"aria-roledescription":fe,"aria-valuetext":J(y),disabled:r,value:e.value.getChannelValue(y),name:a,tabIndex:W||!h||h==="x"?void 0:-1,"aria-hidden":W||!h||h==="x"||m?void 0:"true",onChange:Ae=>{e.setXValue(parseFloat(Ae.target.value))}},yInputProps:{...Z,...de,...G,type:"range",min:e.value.getChannelRange(b).minValue,max:e.value.getChannelRange(b).maxValue,step:w,"aria-roledescription":fe,"aria-valuetext":J(b),"aria-orientation":"vertical",disabled:r,value:e.value.getChannelValue(b),name:l,tabIndex:W||h==="y"?void 0:-1,"aria-hidden":W||h==="y"||m?void 0:"true",onChange:Ae=>{e.setYValue(parseFloat(Ae.target.value))}}}}function cHt(t,e){let{trackRef:r,inputRef:n,orientation:i,channel:o,"aria-label":s,name:a}=t,{locale:l,direction:c}=Lp();!t.label&&!s&&!t["aria-labelledby"]&&(s=e.value.getChannelName(o,l));let{groupProps:u,trackProps:f,labelProps:d,outputProps:p}=T$t({...t,"aria-label":s},e,r),{inputProps:h,thumbProps:A}=L$t({index:0,orientation:i,isDisabled:t.isDisabled,name:a,trackRef:r,inputRef:n},e),g=()=>{let v=e.getDisplayColor(),y;switch(i==="vertical"?y="top":c==="ltr"?y="right":y="left",o){case"hue":return`linear-gradient(to ${y}, rgb(255, 0, 0) 0%, rgb(255, 255, 0) 17%, rgb(0, 255, 0) 33%, rgb(0, 255, 255) 50%, rgb(0, 0, 255) 67%, rgb(255, 0, 255) 83%, rgb(255, 0, 0) 100%)`;case"lightness":{let b=e.getThumbMinValue(0),B=e.getThumbMaxValue(0),S=v.withChannelValue(o,b).toString("css"),w=v.withChannelValue(o,(B-b)/2).toString("css"),x=v.withChannelValue(o,B).toString("css");return`linear-gradient(to ${y}, ${S}, ${w}, ${x})`}case"saturation":case"brightness":case"red":case"green":case"blue":case"alpha":{let b=v.withChannelValue(o,e.getThumbMinValue(0)).toString("css"),B=v.withChannelValue(o,e.getThumbMaxValue(0)).toString("css");return`linear-gradient(to ${y}, ${b}, ${B})`}default:throw new Error("Unknown color channel: "+o)}},m={forcedColorAdjust:"none"};return{trackProps:{...Ba(u,f),style:{...f.style,...m,background:g()}},inputProps:h,thumbProps:{...A,style:{...A.style,...m}},labelProps:d,outputProps:p}}function uHt(t,e,r){let{isDisabled:n,innerRadius:i,outerRadius:o,"aria-label":s,name:a}=t,{addGlobalListener:l,removeGlobalListener:c}=HC(),u=(i+o)/2,f=E.useCallback(()=>{r.current&&KB(r.current)},[r]);jee(r,e.hue,e.setHue);let d=E.useRef(null),{keyboardProps:p}=TN({onKeyDown(j){if(!/^(PageUp|PageDown)$/.test(j.key)){j.continuePropagation();return}switch(j.preventDefault(),e.setDragging(!0),j.key){case"PageUp":j.preventDefault(),e.increment(e.pageStep);break;case"PageDown":j.preventDefault(),e.decrement(e.pageStep);break}e.setDragging(!1)}}),h={onMoveStart(){d.current=null,e.setDragging(!0)},onMove({deltaX:j,deltaY:R,pointerType:Q,shiftKey:z}){d.current==null&&(d.current=e.getThumbPosition(u)),d.current.x+=j,d.current.y+=R,Q==="keyboard"?j>0||R<0?e.increment(z?e.pageStep:e.step):(j<0||R>0)&&e.decrement(z?e.pageStep:e.step):e.setHueFromPoint(d.current.x,d.current.y,u)},onMoveEnd(){m.current=!1,e.setDragging(!1),f()}},{moveProps:A}=qB(h),g=E.useRef(void 0),m=E.useRef(!1),{moveProps:v}=qB({onMoveStart(){m.current&&h.onMoveStart()},onMove(j){m.current&&h.onMove(j)},onMoveEnd(){m.current&&h.onMoveEnd()}}),y=j=>{e.isDragging||(g.current=j,f(),e.setDragging(!0),typeof PointerEvent<"u"?l(window,"pointerup",b,!1):(l(window,"mouseup",b,!1),l(window,"touchend",b,!1)))},b=j=>{var R,Q;((Q=j.pointerId)!==null&&Q!==void 0?Q:(R=j.changedTouches)===null||R===void 0?void 0:R[0].identifier)===g.current&&(f(),e.setDragging(!1),g.current=void 0,m.current=!1,typeof PointerEvent<"u"?c(window,"pointerup",b,!1):(c(window,"mouseup",b,!1),c(window,"touchend",b,!1)))},B=(j,R,Q,z)=>{let X=j.getBoundingClientRect(),_=Q-X.x-X.width/2,G=z-X.y-X.height/2,W=Math.sqrt(_*_+G*G);i<W&&W<o&&!e.isDragging&&g.current===void 0&&(m.current=!0,g.current=R,e.setHueFromPoint(_,G,W),f(),e.setDragging(!0),typeof PointerEvent<"u"?l(window,"pointerup",S,!1):(l(window,"mouseup",S,!1),l(window,"touchend",S,!1)))},S=j=>{var R,Q;let z=(Q=j.pointerId)!==null&&Q!==void 0?Q:(R=j.changedTouches)===null||R===void 0?void 0:R[0].identifier;m.current&&z===g.current&&(m.current=!1,g.current=void 0,e.setDragging(!1),f(),typeof PointerEvent<"u"?c(window,"pointerup",S,!1):(c(window,"mouseup",S,!1),c(window,"touchend",S,!1)))},w=n?{}:Ba({...typeof PointerEvent<"u"?{onPointerDown:j=>{j.pointerType==="mouse"&&(j.button!==0||j.altKey||j.ctrlKey||j.metaKey)||B(j.currentTarget,j.pointerId,j.clientX,j.clientY)}}:{onMouseDown:j=>{j.button!==0||j.altKey||j.ctrlKey||j.metaKey||B(j.currentTarget,void 0,j.clientX,j.clientY)},onTouchStart:j=>{B(j.currentTarget,j.changedTouches[0].identifier,j.changedTouches[0].clientX,j.changedTouches[0].clientY)}}},v),x=n?{}:Ba({onMouseDown:j=>{j.button!==0||j.altKey||j.ctrlKey||j.metaKey||y(void 0)},onPointerDown:j=>{j.pointerType==="mouse"&&(j.button!==0||j.altKey||j.ctrlKey||j.metaKey)||y(j.pointerId)},onTouchStart:j=>{y(j.changedTouches[0].identifier)}},p,A),{x:I,y:F}=e.getThumbPosition(u),{locale:k}=Lp();s==null&&t["aria-labelledby"]==null&&(s=e.value.getChannelName("hue",k));let O=O5({...t,"aria-label":s}),{minValue:L,maxValue:M,step:H}=e.value.getChannelRange("hue"),V={forcedColorAdjust:"none"};return{trackProps:{...w,style:{position:"relative",touchAction:"none",width:o*2,height:o*2,background:` conic-gradient( from 90deg, hsl(0, 100%, 50%), hsl(30, 100%, 50%), hsl(60, 100%, 50%), hsl(90, 100%, 50%), hsl(120, 100%, 50%), hsl(150, 100%, 50%), hsl(180, 100%, 50%), hsl(210, 100%, 50%), hsl(240, 100%, 50%), hsl(270, 100%, 50%), hsl(300, 100%, 50%), hsl(330, 100%, 50%), hsl(360, 100%, 50%) ) `,clipPath:`path(evenodd, "${wme(o,o,o)} ${wme(o,o,i)}")`,...V}},thumbProps:{...x,style:{position:"absolute",left:"50%",top:"50%",transform:`translate(calc(${I}px - 50%), calc(${F}px - 50%))`,touchAction:"none",...V}},inputProps:Ba(O,{type:"range",min:String(L),max:String(M),step:String(H),"aria-valuetext":e.value.formatChannelValue("hue",k),disabled:n,value:`${e.value.getChannelValue("hue")}`,name:a,onChange:j=>{e.setHue(parseFloat(j.target.value))}})}}function wme(t,e,r){return`M ${t}, ${e} m ${-r}, 0 a ${r}, ${r}, 0, 1, 0, ${r*2}, 0 a ${r}, ${r}, 0, 1, 0 ${-r*2}, 0`}function io(t){return t&&t.__esModule?t.default:t}function mn(t,e,r,n){Object.defineProperty(t,e,{get:r,set:n,enumerable:!0,configurable:!0})}var Em={};mn(Em,"spectrum-ColorControl-handle--focused",()=>o3,t=>o3=t);mn(Em,"focus-ring",()=>vz,t=>vz=t);mn(Em,"is-disabled",()=>yz,t=>yz=t);mn(Em,"is-focused",()=>Bz,t=>Bz=t);mn(Em,"spectrum-ColorHandle",()=>Cz,t=>Cz=t);mn(Em,"spectrum-ColorHandle-color",()=>bz,t=>bz=t);var o3,vz,yz,Bz,Cz,bz;o3="hoc2UW_spectrum-ColorControl-handle--focused";vz=`hoc2UW_focus-ring ${o3}`;yz="hoc2UW_is-disabled";Bz=`hoc2UW_is-focused ${o3}`;Cz="hoc2UW_spectrum-ColorHandle";bz="hoc2UW_spectrum-ColorHandle-color";var mu={};mn(mu,"is-open",()=>wz,t=>wz=t);mn(mu,"spectrum-ColorLoupe",()=>xz,t=>xz=t);mn(mu,"spectrum-ColorLoupe-inner-background",()=>Sz,t=>Sz=t);mn(mu,"spectrum-ColorLoupe-inner-checker",()=>Ez,t=>Ez=t);mn(mu,"spectrum-ColorLoupe-outer",()=>Dz,t=>Dz=t);var wz,xz,Sz,Ez,Dz;wz="HpWpfq_is-open";xz="HpWpfq_spectrum-ColorLoupe";Sz="HpWpfq_spectrum-ColorLoupe-inner-background";Ez="HpWpfq_spectrum-ColorLoupe-inner-checker";Dz="HpWpfq_spectrum-ColorLoupe-outer";function $ee(t){let{value:e,isDisabled:r,isDragging:n,isFocused:i,children:o,className:s="",...a}=t,l=OO(),c=e.toString("css");return ve.createElement("div",{className:Li(io(Em),"spectrum-ColorHandle",{"is-focused":i,"is-disabled":r})+" "+s,...a},ve.createElement("div",{className:Li(io(Em),"spectrum-ColorHandle-color"),style:{backgroundColor:c}}),ve.createElement("svg",{className:Li(io(mu),"spectrum-ColorLoupe",{"is-open":n}),"aria-hidden":"true"},ve.createElement("pattern",{id:l,x:"0",y:"0",width:"16",height:"16",patternUnits:"userSpaceOnUse"},ve.createElement("rect",{className:Li(io(mu),"spectrum-ColorLoupe-inner-background"),x:"0",y:"0",width:"16",height:"16"}),ve.createElement("rect",{className:Li(io(mu),"spectrum-ColorLoupe-inner-checker"),x:"0",y:"0",width:"8",height:"8"}),ve.createElement("rect",{className:Li(io(mu),"spectrum-ColorLoupe-inner-checker"),x:"8",y:"8",width:"8",height:"8"})),ve.createElement("path",{className:Li(io(mu),"spectrum-ColorLoupe-inner"),d:"M25 1a24 24 0 0124 24c0 16.255-24 40-24 40S1 41.255 1 25A24 24 0 0125 1z",fill:`url(#${l})`}),ve.createElement("path",{className:Li(io(mu),"spectrum-ColorLoupe-inner"),d:"M25 1a24 24 0 0124 24c0 16.255-24 40-24 40S1 41.255 1 25A24 24 0 0125 1z",fill:c}),ve.createElement("path",{className:Li(io(mu),"spectrum-ColorLoupe-outer"),d:"M25 3A21.98 21.98 0 003 25c0 6.2 4 14.794 11.568 24.853A144.233 144.233 0 0025 62.132a144.085 144.085 0 0010.4-12.239C42.99 39.816 47 31.209 47 25A21.98 21.98 0 0025 3m0-2a24 24 0 0124 24c0 16.255-24 40-24 40S1 41.255 1 25A24 24 0 0125 1z"})),o)}var Oc={};mn(Oc,"focus-ring",()=>kz,t=>kz=t);mn(Oc,"is-disabled",()=>Oz,t=>Oz=t);mn(Oc,"is-focused",()=>Pz,t=>Pz=t);mn(Oc,"spectrum-ColorArea",()=>Iz,t=>Iz=t);mn(Oc,"spectrum-ColorArea-gradient",()=>Nz,t=>Nz=t);mn(Oc,"spectrum-ColorArea-handle",()=>Fz,t=>Fz=t);mn(Oc,"spectrum-ColorArea-slider",()=>Tz,t=>Tz=t);mn(Oc,"spectrum-ColorHandle-color",()=>Lz,t=>Lz=t);var kz,Oz,Pz,Iz,Nz,Fz,Tz,Lz;kz="lm1DSq_focus-ring";Oz="lm1DSq_is-disabled";Pz="lm1DSq_is-focused";Iz="lm1DSq_spectrum-ColorArea";Nz="lm1DSq_spectrum-ColorArea-gradient";Fz="lm1DSq_spectrum-ColorArea-handle";Tz="lm1DSq_spectrum-ColorArea-slider";Lz="lm1DSq_spectrum-ColorHandle-color";function fHt(t,e){t=LN(t);let{isDisabled:r}=t,n=t.size&&gi(t.size),{styleProps:i}=Ev(t),o=E.useRef(null),s=E.useRef(null),a=Fee(e,o),l=Bjt(t),{colorAreaProps:c,gradientProps:u,xInputProps:f,yInputProps:d,thumbProps:p}=lHt({...t,inputXRef:o,inputYRef:s,containerRef:a},l),{focusProps:h,isFocusVisible:A}=MPe();return ve.createElement("div",{...c,className:Li(io(Oc),"spectrum-ColorArea",{"is-disabled":r},i.className),ref:a,style:{...c.style,...i.style,width:n,height:n}},ve.createElement("div",{...u,className:Li(io(Oc),"spectrum-ColorArea-gradient")}),ve.createElement($ee,{value:l.getDisplayColor(),isFocused:A,isDisabled:r,isDragging:l.isDragging,className:Li(io(Oc),"spectrum-ColorArea-handle"),...p},ve.createElement("div",{role:"presentation"},ve.createElement("input",{className:Li(io(Oc),"spectrum-ColorArea-slider"),...Ba(f,h),ref:o}),ve.createElement("input",{className:Li(io(Oc),"spectrum-ColorArea-slider"),...Ba(d,h),ref:s}))))}let RO=ve.forwardRef(fHt);var Tc={};mn(Tc,"is-disabled",()=>Rz,t=>Rz=t);mn(Tc,"is-dragged",()=>Mz,t=>Mz=t);mn(Tc,"is-focused",()=>_z,t=>_z=t);mn(Tc,"spectrum-ColorControl-hiddenField",()=>MO,t=>MO=t);mn(Tc,"spectrum-ColorWheel",()=>jz,t=>jz=t);mn(Tc,"spectrum-ColorWheel-gradient",()=>Uz,t=>Uz=t);mn(Tc,"spectrum-ColorWheel-handle",()=>Qz,t=>Qz=t);mn(Tc,"spectrum-ColorWheel-segment",()=>Vz,t=>Vz=t);mn(Tc,"spectrum-ColorWheel-slider",()=>$z,t=>$z=t);var Rz,Mz,_z,MO,jz,Uz,Qz,Vz,$z;Rz="qPIMxa_is-disabled";Mz="qPIMxa_is-dragged";_z="qPIMxa_is-focused";MO="qPIMxa_spectrum-ColorControl-hiddenField";jz="qPIMxa_spectrum-ColorWheel";Uz="qPIMxa_spectrum-ColorWheel-gradient";Qz="qPIMxa_spectrum-ColorWheel-handle";Vz="qPIMxa_spectrum-ColorWheel-segment";$z=`qPIMxa_spectrum-ColorWheel-slider ${MO}`;const dHt=24;function pHt(t,e){t=LN(t);let{isDisabled:r}=t,n=t.size&&gi(t.size),{styleProps:i}=Ev(t),o=E.useRef(null),s=Fee(e,o),[a,l]=E.useState(0),[c,u]=E.useState(dHt),f=E.useCallback(()=>{if(s.current){l(s.current.offsetWidth/2);let v=window.getComputedStyle(s.current).getPropertyValue("--spectrum-colorwheel-track-thickness");v&&u(parseInt(v,10))}},[s,l,u]);E.useEffect(()=>{a===0&&f()},[a,f]),n$t({ref:s,onResize:f});let d=Njt(t),{trackProps:p,inputProps:h,thumbProps:A}=uHt({...t,innerRadius:a-c,outerRadius:a},d,o),{focusProps:g,isFocusVisible:m}=MPe();return ve.createElement("div",{className:Li(io(Tc),"spectrum-ColorWheel",{"is-disabled":r},i.className),ref:s,style:{...i.style,width:n,height:n}},ve.createElement("div",{...p,className:Li(io(Tc),"spectrum-ColorWheel-gradient")}),ve.createElement($ee,{value:d.getDisplayColor(),isFocused:m,isDisabled:r,isDragging:d.isDragging,className:Li(io(Tc),"spectrum-ColorWheel-handle"),...A},ve.createElement("input",{...g,className:Li(io(Tc),"spectrum-ColorWheel-slider"),...h,ref:o})))}let fNe=ve.forwardRef(pHt);var Vo={};mn(Vo,"contextualHelp",()=>Hz,t=>Hz=t);mn(Vo,"is-disabled",()=>Gz,t=>Gz=t);mn(Vo,"is-focused",()=>Wz,t=>Wz=t);mn(Vo,"label",()=>zz,t=>zz=t);mn(Vo,"spectrum-ColorControl-hiddenField",()=>_O,t=>_O=t);mn(Vo,"spectrum-ColorSlider",()=>Kz,t=>Kz=t);mn(Vo,"spectrum-ColorSlider--vertical",()=>qz,t=>qz=t);mn(Vo,"spectrum-ColorSlider-container--horizontal",()=>Xz,t=>Xz=t);mn(Vo,"spectrum-ColorSlider-container--vertical",()=>Yz,t=>Yz=t);mn(Vo,"spectrum-ColorSlider-contextualHelp",()=>Jz,t=>Jz=t);mn(Vo,"spectrum-ColorSlider-handle",()=>Zz,t=>Zz=t);mn(Vo,"spectrum-ColorSlider-labelContainer",()=>eK,t=>eK=t);mn(Vo,"spectrum-ColorSlider-slider",()=>tK,t=>tK=t);mn(Vo,"spectrum-ColorSlider-valueLabel",()=>rK,t=>rK=t);mn(Vo,"value",()=>nK,t=>nK=t);var Hz,Gz,Wz,zz,_O,Kz,qz,Xz,Yz,Jz,Zz,eK,tK,rK,nK;Hz="WJOmgG_contextualHelp";Gz="WJOmgG_is-disabled";Wz="WJOmgG_is-focused";zz="WJOmgG_label";_O="WJOmgG_spectrum-ColorControl-hiddenField";Kz="WJOmgG_spectrum-ColorSlider";qz="WJOmgG_spectrum-ColorSlider--vertical";Xz="WJOmgG_spectrum-ColorSlider-container--horizontal";Yz="WJOmgG_spectrum-ColorSlider-container--vertical";Jz="WJOmgG_spectrum-ColorSlider-contextualHelp";Zz="WJOmgG_spectrum-ColorSlider-handle";eK="WJOmgG_spectrum-ColorSlider-labelContainer";tK=`WJOmgG_spectrum-ColorSlider-slider ${_O}`;rK="WJOmgG_spectrum-ColorSlider-valueLabel";nK="WJOmgG_value";function AHt(t,e){t=LN(t);let{isDisabled:r,channel:n,orientation:i,label:o,showValueLabel:s,"aria-label":a}=t,l=i==="vertical",{styleProps:c}=Ev(t),{locale:u}=Lp(),f=E.useRef(null),d=E.useRef(null),p=Fee(e,f),h=Sjt({...t,locale:u});l&&o&&(a=a||(typeof o=="string"?o:void 0),o=null),o===void 0&&!a&&!t["aria-labelledby"]&&!l&&(o=h.value.getChannelName(n,u)),s==null&&(s=!!o);let{inputProps:A,thumbProps:g,trackProps:m,labelProps:v,outputProps:y}=cHt({...t,label:o,"aria-label":a,trackRef:d,inputRef:f},h),{isFocusVisible:b}=E$t(),[B,S]=E.useState(!1),{focusProps:w}=n3({isDisabled:r,onFocusChange:S});return ve.createElement("div",{ref:p,...c,className:Li(io(Vo),{"spectrum-ColorSlider-container--horizontal":!l,"spectrum-ColorSlider-container--vertical":l})},o&&ve.createElement("div",{className:Li(io(Vo),"spectrum-ColorSlider-labelContainer")},ve.createElement(bme,v,o),t.contextualHelp&&ve.createElement(A$t,{slots:{actionButton:{UNSAFE_className:Li(io(Vo),"spectrum-ColorSlider-contextualHelp")}}},t.contextualHelp),s&&ve.createElement(bme,{elementType:"span",UNSAFE_className:Li(io(Vo),"spectrum-ColorSlider-valueLabel")},ve.createElement("output",y,h.value.formatChannelValue(n,u)))),ve.createElement("div",{...m,ref:d,className:Li(io(Vo),"spectrum-ColorSlider",{"is-disabled":r,"spectrum-ColorSlider--vertical":l})},ve.createElement($ee,{value:h.getDisplayColor(),isFocused:B&&b,isDisabled:r,isDragging:h.isThumbDragging(0),className:Li(io(Vo),"spectrum-ColorSlider-handle"),...g},ve.createElement("input",{...A,...w,ref:f,className:Li(io(Vo),"spectrum-ColorSlider-slider")}))))}let dNe=ve.forwardRef(AHt);var hHt={};mn(hHt,"react-spectrum-ColorField-input",()=>iK,t=>iK=t);var iK;iK="UccskW_react-spectrum-ColorField-input";const pNe=["hsl","hsla"],ANe={hsl:["hue","saturation","lightness"],hsla:["hue","saturation","lightness","alpha"],rgb:["red","green","blue"],rgba:["red","green","blue","alpha"],hex:["red","green","blue"],hexa:["red","green","blue","alpha"]},oK=E.memo(({value:t,format:e,onChangeEnd:r,isDarkModeEnabled:n,isDark:i})=>{const{getColor:o,parseColorValue:s,colorChannels:a}=qm(),[l,c]=E.useState(!1),[u,f]=E.useState(t),d=E.useMemo(()=>e==="raw"?"hex":e,[e]),p=E.useMemo(()=>s(l?u:t,d,i),[l,u,t,d]),[,h,A]=a(p,d),g=ANe[d]||[],m=y=>f(y.toString(d)),v=y=>r(y.toString(d));return E.useEffect(()=>{l&&f(t)},[l]),C.jsx(Qr,{label:i?"Color preview in dark mode":"Color preview",withArrow:!0,children:C.jsxs(fPe,{open:l,onOpenChange:c,placement:"bottom-start",initialOpen:!0,modal:!0,children:[C.jsx(dPe,{className:zr("preview-item-button",{radius:!n}),children:C.jsx("div",{className:"preview-item",onClick:()=>c(!0),style:{backgroundColor:o(l?u:t,i)}})}),C.jsx(pPe,{className:"ColorPickerPopover",children:C.jsxs(UPe,{theme:OIe,children:[pNe.includes(d)?C.jsx("div",{children:C.jsxs("div",{className:"color-wheel-wrapper",children:[C.jsx(fNe,{value:p,onChange:m,onChangeEnd:v,size:"size-2400"}),C.jsx("div",{className:"color-area-wrapper",children:C.jsx(RO,{xChannel:h,yChannel:A,value:p,onChange:m,onChangeEnd:v,size:"size-1200"})})]})}):C.jsx(RO,{value:p,onChange:m,onChangeEnd:v}),g?.map((y,b)=>C.jsx(dNe,{defaultValue:p,value:p,onChange:m,onChangeEnd:v,channel:y},b))]})})]})})});oK.displayName="ColorPickerPreview";const hNe=E.memo(({value:t,onChange:e})=>{const[r,n]=E.useState(t),{isCopied:i,copy:o}=U7e(),s=Al(r,0);return rh(()=>{t!==s&&e(s)},[s]),C.jsx(Qr,{label:"Color name / CSS variable",withArrow:!0,children:C.jsxs("div",{className:"prefixed-input-container input-wrapper",children:[C.jsx("span",{children:"--"}),C.jsx("input",{onChange:a=>n(M1(a.target.value)),value:r,type:"text",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1}),C.jsx("div",{className:"copy",onClick:()=>o(`var(--${t})`),children:i?C.jsx(Gu,{}):C.jsx(QZ,{})})]})})});hNe.displayName="ColorVariableName";const sK=E.memo(({value:t,format:e,variableName:r,onChange:n,isDark:i})=>{const{getColor:o,isValidColorValue:s,errorMsg:a,parseColorValue:l,colorVariables:c}=qm(),[u,f]=E.useState(()=>t),[d,p]=E.useState(!1),h=E.useMemo(()=>e==="raw"?"hex":e,[e]),A=e==="raw",g=E.useMemo(()=>l(t,h,i),[t,h]),m=Al(g,300),v=E.useMemo(()=>A?c.filter(({colorDarkValue:b,colorValue:B,name:S})=>(i?b:B)&&!S.toLowerCase().includes(r.toLowerCase())).map(({colorDarkValue:b,colorValue:B,name:S})=>({value:`--${S}`,color:i?o(b??"",!0):o(B),group:"Colors"})):[],[t,A,c]),y=E.useCallback(b=>{const B=o(b,i)===l(m.toString(h),h,i).toString(h);(s(b,i)&&!B||A)&&n(b),f(b)},[s,n]);return E.useEffect(()=>{d||f(A?t:m.toString(h))},[m,d]),C.jsx(mp,{label:i?"Color value in dark mode":"Color value",withArrow:!0,children:C.jsxs("div",{className:"ColorInput",children:[C.jsx(eO,{onChange:y,onBlur:()=>p(!1),onFocus:()=>p(!0),value:u,data:v||[],allowMultipleWords:!0,placeholder:"Value"}),A&&!s(t,i)&&C.jsx(mp,{label:a.current,position:"top",openDelay:300,width:250,multiline:!0,withArrow:!0,children:C.jsx("span",{className:"help-tooltip",children:C.jsx(K1,{})})})]})})});sK.displayName="ColorValue";const mHt=[{label:"Text",value:"text",description:"Automatically generate text color classes for the selected color, including its respective transparencies, shades, and tints."},{label:"Background",value:"bg",description:"Automatically generate background color classes for the selected color, including its respective transparencies, shades, and tints."},{label:"Border",value:"border",description:"Automatically generate border color classes for the selected color, including its respective transparencies, shades, and tints."},{label:"Fill",value:"fill",description:"Automatically generate fill color classes for the selected color, including its respective transparencies, shades, and tints."}],mNe=E.memo(({color:t,onOptionToggle:e})=>C.jsxs("div",{className:"row gap-l align-center space-between",children:[C.jsx("label",{className:"row gap-s",htmlFor:"padding",children:C.jsx("h5",{children:"Generate utility classes"})}),C.jsx("div",{className:"row gap-s align-self-stretch",children:mHt.map(({value:r,description:n,label:i})=>C.jsx(Qr,{label:n,position:"top",openDelay:300,width:250,multiline:!0,withArrow:!0,children:C.jsx("div",{className:`color-option-${r}`,children:C.jsx(gY,{checked:t.gen?.includes(r),onClick:()=>e(r),children:i})})},r))})]}));mNe.displayName="ColorUtilityClasses";const aK=E.memo(({color:t,featureLabel:e,tooltipLabel:r,featureStateKey:n,onToggleFeature:i,className:o})=>C.jsxs("div",{className:zr("row gap-l space-between align-center",o),children:[C.jsxs("label",{className:"row gap-s",htmlFor:"padding",children:[C.jsx("h5",{children:e}),C.jsx(Qr,{label:r,position:"top",openDelay:300,width:250,multiline:!0,withArrow:!0,children:C.jsx("span",{className:"help-tooltip",children:C.jsx(K1,{})})})]}),C.jsx(Ln,{labelPosition:"left",checked:t[n],onChange:s=>i(s.target.checked)})]}));aK.displayName="ColorFeatureToggle";const lK=E.memo(({color:t,format:e,colorName:r,defaultValue:n,onChangeEnd:i,onReset:o})=>{const{parseColorValue:s,colorChannels:a,isValidColorValue:l}=qm(),[c,u]=E.useState(t),[f,d]=E.useState(!1),[p,h]=E.useState(!1),[A,g]=E.useState(!1),m=E.useMemo(()=>e==="raw"?"hex":e,[e]),v=E.useMemo(()=>s(f?c:t,m),[f,t,c,m]),[,y,b]=a(v,m),B=ANe[m]||[],S=k=>u(k.toString(m)),w=k=>i(k.toString(m)),x=()=>{const k=v.toString(m);u(k),i(k)},I=()=>{o?.(),u(n)},F=async k=>{await sc(k==="var"?`var(--${r})`:v.toString(m));const O=k==="var"?h:g;O(!0),setTimeout(()=>O(!1),2e3)};return E.useEffect(()=>{!f&&c.toLowerCase()!==t.toLowerCase()&&u(v.toString(m))},[f,t,e]),E.useEffect(()=>{if(!f&&c.toLowerCase()!==t.toLowerCase()){const k=s(c,m).toString(m);l(k)&&(u(k),i(k))}},[f,c]),C.jsxs("div",{className:"color-preview",style:{backgroundColor:c},children:[C.jsx("div",{className:"top-overlay",style:{opacity:f?1:void 0},children:C.jsxs(fPe,{onOpenChange:d,open:f,placement:"bottom",modal:!0,children:[C.jsx(dPe,{onClick:()=>d(!f),className:"copy-color",style:{zIndex:10},children:"Edit"}),C.jsx(pPe,{className:"ColorPickerTrigger",children:C.jsx(UPe,{theme:OIe,UNSAFE_style:{borderRadius:"var(--radius-btn)"},children:C.jsxs("div",{className:"padding-m bg-dropdown radius",children:[C.jsxs("span",{className:"opacity-60 text-l",style:{marginBottom:"var(--space-s)",display:"block"},children:["--",r]}),C.jsx(eh.Wrapper,{__staticSelector:"ColorInput",style:{marginBottom:"var(--space-s)"},children:C.jsx(eh,{spellCheck:!1,value:c,onChange:k=>u(k.currentTarget.value),onBlur:x})}),pNe.includes(m)?C.jsx("div",{children:C.jsxs("div",{className:"color-wheel-wrapper",children:[C.jsx(fNe,{value:v,onChange:S,onChangeEnd:w,size:"size-2400"}),C.jsx("div",{className:"color-area-wrapper",children:C.jsx(RO,{xChannel:y,yChannel:b,value:v,onChange:S,onChangeEnd:w,size:"size-1200"})})]})}):C.jsx(RO,{value:v,onChange:S,onChangeEnd:w}),B?.map((k,O)=>C.jsx(dNe,{defaultValue:v,value:v,onChange:S,onChangeEnd:w,channel:k},O)),C.jsx("button",{onClick:I,className:"copy-color btn-tertiary btn-s",style:{marginTop:"var(--space-m)"},children:"Reset"})]})})})]})}),C.jsxs("div",{className:"bottom-overlay",style:{...f?{zIndex:99999,opacity:1}:{}},children:[C.jsx(Qr,{label:p?"Variable copied!":`var(--${r})`,style:{backgroundColor:p?"green":""},position:"bottom",withArrow:!0,children:C.jsx("button",{onClick:()=>F("var"),className:"copy-color",children:"Var"})}),C.jsx(Qr,{label:A?"Color copied!":v.toString(m),style:{backgroundColor:A?"green":""},position:"bottom",withArrow:!0,children:C.jsx("button",{onClick:()=>F("color"),className:"copy-color",children:"Color"})})]})]})});lK.displayName="ColorVariationPreview";function xme({state:t,index:e,type:r,dark:n}){const{value:i,darkValue:o,name:s,shadesNumber:a,tintsNumber:l}=t,c={midColor:n?o??i:i,name:s,number:r==="shade"?a:l};return(r==="shade"?bO(c):wO(c))?.[e]?.value??""}const gHt=(t,e)=>e==="shade"?{isActive:t.isShades??!1,number:t.shadesNumber||e9}:{isActive:t.isTints??!1,number:t.tintsNumber||Mit},cK=E.memo(({color:t,variant:e,onChange:r,onUpdateColor:n})=>{const[i,o]=E.useState(()=>gHt(t,e)),s=E.useMemo(()=>e==="shade"?t.shades:t.tints,[t]),a=E.useMemo(()=>e==="shade"?t.darkShades:t.darkTints,[t]),l=E.useCallback(({target:{checked:d}})=>{r({...i,isActive:d}),o(p=>({...p,isActive:d}))},[t]),c=E.useCallback(d=>{r({...i,number:Number(d)}),o(p=>({...p,number:Number(d)}))},[t]),u=e==="shade"?"Generate shades":"Generate tints",f=e==="shade"?`Shades are darker variants of your main color, mixed with black. Eg. --${t.name}-d-1, --${t.name}-d-2, ...`:`Tints are lighter variants of your main color, mixed with white. Eg. --${t.name}-l-1, --${t.name}-l-2, ...`;return C.jsxs(C.Fragment,{children:[C.jsxs("div",{className:"row gap-l space-between align-center",children:[C.jsxs("div",{className:"row gap-s align-center",children:[C.jsx("label",{htmlFor:"shades",children:C.jsx("h5",{className:"pointer",onClick:()=>o(d=>({...d,isActive:!i.isActive})),children:u})}),C.jsx(Qr,{label:f,position:"top",openDelay:300,width:250,multiline:!0,withArrow:!0,children:C.jsx("span",{className:"help-tooltip",children:C.jsx(K1,{})})}),C.jsx("div",{className:zr("transition-global",{"opacity-0":!i.isActive}),children:C.jsx(as,{onChange:c,value:i.number,unit:"count",size:10,max:10,min:3,step:1,onlyInteger:!0,allowMouseWheel:!0})})]}),C.jsx(Ln,{labelPosition:"left",checked:i.isActive,onChange:l})]}),!!i.isActive&&C.jsxs(YX,{in:!!i.isActive,children:[C.jsx("div",{className:"row",children:s?.map(({value:d,name:p},h)=>{const A=xme({state:t,index:h,type:e});return C.jsx(lK,{color:d,colorName:p,format:t.format,defaultValue:A,onChangeEnd:g=>n(g,h,!1),onReset:()=>n(A,h,!1)},p)})}),t.isDarkMode&&C.jsx("div",{className:"row margin-top-m",children:a?.map(({value:d,name:p},h)=>{const A=xme({state:t,index:h,type:e});return C.jsx(lK,{color:d,colorName:p,format:t.format,defaultValue:A,onChangeEnd:g=>n(g,h,!0),onReset:()=>n(A,h,!0)},p)})})]})]})});cK.displayName="ColorAdditionalVariations";const gNe=E.memo(({color:t,onUpdateItem:e})=>{const{getColor:r}=qm(),n=E.useRef(),[i,o]=E.useState(t.format);E.useEffect(()=>{n.current!==void 0&&o(n.current),n.current=t.format},[t.format]);const s=E.useCallback(f=>{const d=t.gen?.includes(f)?t.gen.filter(p=>p!==f):[...t.gen||[],f];e({...t,gen:d})},[t,e]),a=E.useCallback(f=>{const{isShades:d,isTints:p,darkShades:h,darkTints:A}=t,g=f?UA(Si(r(t.value)).darken(.2),t.format):"";e({...t,darkValue:g,isDarkMode:f,darkShades:d&&f&&h?.length?h:L0({...t,darkValue:g},g,"shade",!0),darkTints:p&&f&&A?.length?A:L0({...t,darkValue:g},g,"tint",!0)})},[t,e]),l=E.useCallback(f=>{e({...t,transparent:f,transparentVariables:f?jit:[]})},[t,e]),c=E.useCallback((f,d)=>{const{isActive:p,number:h}=d,{value:A,isDarkMode:g,darkValue:m,darkShades:v,darkTints:y,shades:b,tints:B}=t,S=f==="shade",w=f==="tint",x=(L,M=!1)=>{const H={...t,isShades:S&&p,isTints:w&&p};return{shades:S&&p?L0({...H,shadesNumber:h,prevFormat:i},L,"shade",M):(M?v:b)??[],tints:w&&p?L0({...H,tintsNumber:h,prevFormat:i},L,"tint",M):(M?y:B)??[]}},{shades:I,tints:F}=x(A),{shades:k,tints:O}=g&&m?x(m,!0):{shades:[],tints:[]};e({...t,isShades:S?p:t.isShades,isTints:w?p:t.isTints,shadesNumber:I.length,tintsNumber:F.length,...I.length?{shades:I}:{},...F.length?{tints:F}:{},...k.length?{darkShades:k}:{},...O.length?{darkTints:O}:{}})},[t,e,i]),u=E.useCallback((f,d,p,h)=>{const A=g=>g?.map((m,v)=>v===d?{...m,value:f}:m);e({...t,shades:!p&&h==="shade"?A(t.shades):t.shades,tints:!p&&h==="tint"?A(t.tints):t.tints,darkShades:p&&h==="shade"?A(t.darkShades):t.darkShades,darkTints:p&&h==="tint"?A(t.darkTints):t.darkTints})},[t,e]);return C.jsxs("div",{className:"grid gap-l padding-l",children:[C.jsx(mNe,{color:t,onOptionToggle:s}),C.jsx("hr",{}),C.jsx(aK,{color:t,featureLabel:"Enable dark mode",tooltipLabel:"Set an alternative color for a dark mode. Check preferences for additional settings.",featureStateKey:"isDarkMode",onToggleFeature:a}),C.jsx("hr",{}),C.jsx(aK,{color:t,featureLabel:"Generate transparent variants",tooltipLabel:`Generate 10 transparent variants. Eg. --${t.name}-5, --${t.name}-10, --${t.name}-20, etc.`,featureStateKey:"transparent",onToggleFeature:l,className:"transparent-vars-row"}),C.jsx("hr",{}),C.jsx(cK,{color:t,variant:"shade",onChange:f=>c("shade",f),onUpdateColor:(...f)=>u(...f,"shade")}),C.jsx("hr",{}),C.jsx(cK,{color:t,variant:"tint",onChange:f=>c("tint",f),onUpdateColor:(...f)=>u(...f,"tint")})]})});gNe.displayName="ColorBodyValues";const vHt=["hex","hexa","rgb","rgba","hsl","hsla","raw"],vNe=E.memo(({color:t,groupId:e,isExpanded:r,onMove:n,onImport:i,onDuplicate:o,onDelete:s,onUpdate:a,toggleExpanded:l,triggerSave:c})=>{const{getColor:u,colorVariables:f}=qm(),[d,p]=E.useReducer(yQt,t),h=Al(d,500),{attributes:A,listeners:g,setNodeRef:m,transform:v,transition:y}=bh({id:t.id,attributes:{tabIndex:-1}}),b=E.useRef(d),[B,S]=E.useState(!1),w=E.useMemo(()=>[{onClick:()=>o({id:t.id,groupId:e}),label:"Duplicate",icon:C.jsx(Uc,{})},{onClick:()=>n({id:t.id,groupId:e,direction:"up"}),label:"Move up",icon:C.jsx(cv,{})},{onClick:()=>n({id:t.id,groupId:e,direction:"down"}),label:"Move down",icon:C.jsx(gm,{})},{onClick:()=>I(),icon:C.jsx(Xl,{}),label:"Copy color"},{onClick:()=>i(e,t.id),icon:C.jsx("div",{style:{transform:"rotate(180deg)"},children:C.jsx(Xl,{})}),label:"Paste color"},{onClick:B?()=>s({id:t.id,groupId:e}):()=>S(!0),label:B?"Are you sure?":"Delete",icon:C.jsx(_s,{}),closeMenuOnClick:B,style:B?{background:"#c2344e"}:{}}],[t.id,e,B,s,o,n]),x={transform:Po.Transform.toString(v)?.split(")")[0]!==void 0?`${Po.Transform.toString(v)?.split(")")[0]})`:"",transition:y},I=E.useCallback(async()=>{const L=await z1({type:"color",data:d});if(!L){wr.error("Something went wrong. Failed to export color.");return}sc(L.string),wr.success("Color copied to clipboard.")},[z1,sc,d]),F=(L,M=!1)=>{const H=d.format==="raw"?L:u(L,M);p({type:M?"updateDarkColor":"updateColor",payload:{value:H,colorVariables:f}})},k=L=>p({type:"rename",payload:{name:L}}),O=L=>p({type:"restore",payload:L});return rh(()=>{JSON.stringify(t)!==JSON.stringify(h)&&a(h,e)},[h]),E.useEffect(()=>{b.current=d},[d]),E.useEffect(()=>()=>{JSON.stringify(b.current)!==JSON.stringify(d)&&a(b.current,e,!0)},[]),E.useEffect(()=>{c&&JSON.stringify(t)!==JSON.stringify(d)&&a(d,e,!0)},[c]),C.jsxs("li",{ref:m,style:x,...A,className:"class-row color-layout relative",children:[C.jsxs("div",{className:"color-head-row",children:[C.jsxs("div",{className:"radius shadow-s pointer grid",style:{gridTemplateColumns:d.isDarkMode?"1fr 1fr":"1fr"},children:[C.jsx(oK,{value:d.value,format:d.format,isDarkModeEnabled:d.isDarkMode,onChangeEnd:L=>F(L)}),d.isDarkMode&&C.jsx(oK,{value:d.darkValue,format:d.format,isDarkModeEnabled:d.isDarkMode,isDark:!0,onChangeEnd:L=>F(L,!0)})]}),C.jsx("div",{children:C.jsx(hNe,{value:d.name,onChange:k})}),C.jsxs("div",{className:zr({"double-input":d.isDarkMode}),children:[C.jsx(sK,{value:d.value,format:d.format,variableName:d.name,onChange:L=>F(L)}),d.isDarkMode&&C.jsx(sK,{value:d.darkValue,format:d.format,variableName:d.name,isDark:!0,onChange:L=>F(L,!0)})]}),C.jsx("div",{children:C.jsx(Qr,{label:"Color format",withArrow:!0,children:C.jsx(ra,{data:vHt.map(L=>({value:L,label:L.toUpperCase()})),value:d.format,onChange:L=>p({type:"updateFormat",payload:{format:L,colorVariables:f}}),className:"format-select"})})}),C.jsx("button",{className:"btn-quaternary btn-box",onClick:()=>l({id:t.id,groupId:e}),style:{transform:r?"rotate(180deg)":"rotate(0deg)"},children:C.jsx(gm,{})})]}),C.jsxs(YX,{in:r,children:[C.jsx("hr",{}),C.jsx(gNe,{color:d,onUpdateItem:O})]}),C.jsxs(br,{transitionProps:{duration:0},shadow:"md",width:180,children:[C.jsx(br.Target,{children:C.jsx("button",{onClick:()=>S(!1),className:"class-settings",...g,children:C.jsx(j1,{})})}),C.jsx(br.Dropdown,{children:w.map(({label:L,...M})=>C.jsx(br.Item,{...M,children:L},L))})]})]})});vNe.displayName="ColorSingleRow";const yNe=E.memo(({btnLabel:t,tooltipLabel:e,onBtnClick:r,onImportClick:n})=>C.jsxs("div",{className:"row gap-s i margin-bottom-l",children:[C.jsx("button",{onClick:r,className:"new-group full-width",children:t}),C.jsx(Qr,{label:e,width:250,multiline:!0,withArrow:!0,children:C.jsx(jY,{onclick:n})})]}));yNe.displayName="CreateNewGroup";function Sme(t){const e=F4e(),r=e.alpha(),n=e.toHsl(),i=`hsla(${n.h}, ${n.s}%, ${n.l}%, ${r})`;return{...Vae,name:`${Vae.name}-${t+1}`,value:i,id:ht()}}const yHt=(t,e)=>{switch(e.type){case"restore":return e.payload;case"addGroup":{const r=t?.groups||[],n=r.reduce((o,s)=>o+s.colors.length,0),i={id:ht(),name:"New Group",colors:[Sme(n)]};return{...t,groups:[...r,i]}}case"deleteGroup":{const{groupId:r}=e.payload,n=t.groups.filter(i=>i.id!==r);return{...t,groups:n}}case"disableGroup":{const{groupId:r}=e.payload,n=t.groups?.map(i=>i.id===r?{...i,isDisabled:!i.isDisabled}:i);return{...t,groups:n}}case"duplicateGroup":{const{groupId:r}=e.payload,n=t.groups||[],i=n.findIndex(l=>l.id===r);if(i===-1)return t;const o=n[i],s={...o,id:ht(),colors:o.colors.map(l=>({...l,id:ht()}))},a=[...n.slice(0,i+1),s,...n.slice(i+1)];return{...t,groups:a}}case"moveGroup":{const{groupId:r,direction:n}=e.payload,i=t.groups||[],o=i.findIndex(s=>s.id===r)||0;return o===-1?t:(n==="up"&&o>0?[i[o-1],i[o]]=[i[o],i[o-1]]:n==="down"&&o<i.length-1&&([i[o],i[o+1]]=[i[o+1],i[o]]),{...t,groups:i})}case"renameGroup":{const{groupId:r,name:n}=e.payload,i=t.groups.map(o=>o.id===r?{...o,name:n}:o);return{...t,groups:i}}case"addColor":{const{groupId:r}=e.payload,n=t.groups||[],i=n.reduce((s,a)=>s+a.colors.length,0),o=n.map(s=>s.id===r?{...s,colors:[...s.colors,Sme(i)]}:s);return{...t,groups:o}}case"deleteColor":{const{groupId:r,id:n}=e.payload,i=t.groups.map(o=>o.id===r?{...o,colors:o.colors.filter(s=>s.id!==n)}:o);return{...t,groups:i}}case"duplicateColor":{const{groupId:r,id:n}=e.payload,i=t.groups.map(o=>{if(o.id===r){const s=o.colors.findIndex(a=>a.id===n);if(s!==-1){const a=[...o.colors.slice(0,s+1),{...o.colors[s],id:ht()},...o.colors.slice(s+1)];return{...o,colors:a}}}return o});return{...t,groups:i}}case"moveColor":{const{groupId:r,id:n,direction:i}=e.payload,o=t.groups.map(s=>{if(s.id===r){const a=[...s.colors],l=a.findIndex(f=>f.id===n);if(l===-1)return s;let c=l;if(i==="up"&&l>0)c--;else if(i==="down"&&l<a.length-1)c++;else return s;const[u]=a.splice(l,1);return a.splice(c,0,u),{...s,colors:a}}return s});return{...t,groups:o}}default:return t}};function BHt(t=yI){const[e,r]=E.useReducer(yHt,t);return{state:e,dispatch:r}}const uK=Zr(!1),Jj=Zr(_at),BNe=Zr(t=>t(Jj),(t,e,r)=>{e(Jj,r),r&&(e(uK,!1),setTimeout(()=>{e(Jj,!1),e(uK,!0)},0))}),CNe=E.memo(()=>{const[t,e]=Yn(ad),[r]=Yn(BNe),{state:n,dispatch:i}=BHt(t),o=n,s=E.useRef(n),[a,l]=E.useState(null),[c,u]=E.useState(null),f=rd(ls(Xc,{activationConstraint:{distance:15}}),ls(qu,{coordinateGetter:Op}));E.useEffect(()=>{s.current=n},[n]);const d=E.useCallback(async()=>{i({type:"addGroup"}),await new Promise(L=>setTimeout(L,100));const k=document.querySelector(".content");if(!k)return;const O=[...k.querySelectorAll(".group-title-input")].at(-1);O&&O.scrollIntoView({behavior:"smooth"}),await new Promise(L=>setTimeout(L,100)),O?.querySelector("input")?.focus()},[i]),p=E.useCallback(k=>i({type:"deleteGroup",payload:{groupId:k}}),[i]),h=E.useCallback(k=>i({type:"disableGroup",payload:{groupId:k}}),[i]),A=E.useCallback(k=>i({type:"duplicateGroup",payload:{groupId:k}}),[i]),g=E.useCallback((k,O)=>i({type:"moveGroup",payload:{groupId:k,direction:O}}),[i]),m=E.useCallback((k,O)=>i({type:"renameGroup",payload:{groupId:k,name:O}}),[i]),v=E.useCallback(k=>i({type:"addColor",payload:{groupId:k}}),[i]),y=E.useCallback(({groupId:k,id:O})=>i({type:"deleteColor",payload:{groupId:k,id:O}}),[i]),b=E.useCallback(({groupId:k,id:O})=>i({type:"duplicateColor",payload:{groupId:k,id:O}}),[i]),B=E.useCallback(({groupId:k,id:O,direction:L})=>i({type:"moveColor",payload:{groupId:k,id:O,direction:L}}),[i]),S=E.useCallback((k,O)=>{const{active:L,over:M}=k,H=n.groups.find(X=>X.id===O);if(!H)return;const V=[...H.colors],j=V.findIndex(X=>X.id===L.id),R=V.findIndex(X=>X.id===M?.id);if(j===-1||R===-1||j===R)return;const[Q]=V.splice(j,1);V.splice(R,0,Q);const z=n.groups.map(X=>X.id===O?{...X,colors:V}:X);i({type:"restore",payload:{...n,groups:z}})},[n,i]),w=E.useCallback(async k=>{const O=await z1({type:"colorGroup",data:k});if(!O){wr.error("Something went wrong. Failed to export color group.");return}sc(O.string),wr.success("Color group copied to clipboard.")},[z1,sc]),x=E.useCallback(async k=>{try{const O=(await l2()).trim();if(!O){wr.message("Clipboard is empty.");return}const L=await l1({compressedString:O});if(!L||String(L.type)!=="colorGroup"){wr.error("Clipboard does not contain a valid color group.");return}const M={...L.data,id:ht()},H=k?n.groups.findIndex(j=>j.id===k):-1;let V;H===-1?V=[...n.groups,M]:V=[...n.groups.slice(0,H+1),M,...n.groups.slice(H+1)],i({type:"restore",payload:{...n,groups:V}}),wr.success("Color group imported.")}catch{wr.error("Something went wrong. Failed to paste color group. Please check clipboard permissions.")}},[l2,l1,n,i]),I=E.useCallback(async(k,O)=>{try{const L=(await l2()).trim();if(!L?.length){wr.message("Clipboard is empty.");return}const M=await l1({compressedString:L});if(!M||String(M.type)!=="color"){wr.error("Clipboard does not contain a valid color.");return}const H={...M.data,id:ht()},V=n.groups.map(j=>{if(j.id===k){const R=O?[...j.colors]:[...j.colors,H];if(O){const Q=R.findIndex(z=>z.id===O);Q!==-1?R.splice(Q+1,0,H):R.push(H)}return{...j,colors:R}}return j});i({type:"restore",payload:{...n,groups:V}}),wr.success("Color imported.")}catch{wr.error("Something went wrong. Failed to paste color. Please check clipboard permissions.")}},[l2,l1,n,i]),F=E.useCallback((k,O,L)=>{const M=s.current??n,H=M.groups.findIndex(X=>X.id===O);if(H===-1)return;const j=M.groups[H].colors||[],R=j.findIndex(X=>X.id===k.id);if(R===-1)return;const Q=M.groups.map((X,_)=>_===H?{...X,colors:[...j.slice(0,R),k,...j.slice(R+1)]}:X),z={...M,groups:Q};s.current=z,i({type:"restore",payload:z}),L&&e(z)},[i,e]);return rh(()=>e(o),[o]),E.useEffect(()=>{s.current=n},[n]),E.useEffect(()=>()=>{JSON.stringify(s.current)!==JSON.stringify(n)&&e(s.current)},[]),C.jsxs("div",{className:"subsection",children:[!Object?.keys(n.groups).length&&C.jsx(Qf,{title:"No color groups",description:"Add a color group to get started.",onClick:d}),Object?.entries(n.groups).map(([,k])=>C.jsxs("div",{className:"group",children:[C.jsx(lv,{onTitleChange:O=>u({groupId:k.id,name:O}),onTitleBlur:()=>{c?.groupId===k.id&&(m(k.id,c?.name),u(null))},title:c?.groupId===k.id?c?.name:k.name,menuItems:[{onClick:()=>h(k.id),label:k?.isDisabled?"Enable":"Disable",icon:C.jsx(z3,{})},{onClick:()=>A(k.id),label:"Duplicate",icon:C.jsx(Uc,{})},{onClick:()=>g(k.id,"up"),label:"Move up",icon:C.jsx(cv,{})},{onClick:()=>g(k.id,"down"),label:"Move down",icon:C.jsx(gm,{})},{onClick:()=>w(k),icon:C.jsx(Xl,{}),label:"Copy group"},{onClick:()=>x(k.id),icon:C.jsx("div",{style:{transform:"rotate(180deg)"},children:C.jsx(Xl,{})}),label:"Paste group"},{onClick:()=>p(k.id),label:"Delete",icon:C.jsx(_s,{}),confirm:!0}],titleInputClassName:"group-title-input"},k.id),k?.isDisabled?C.jsx(Qf,{title:"Group is disabled",description:"Click to enable",onClick:()=>h(k.id)}):C.jsxs("ul",{className:"grid border-primary radius relative margin-bottom-l",children:[C.jsx(Uu,{sensors:f,collisionDetection:Hf,onDragEnd:O=>S(O,k.id),children:C.jsx(Qu,{items:k.colors.map(O=>O.id),strategy:vm,children:k.colors.map(O=>C.jsx(vNe,{color:O,groupId:k.id,isExpanded:a?.id===O.id&&a?.group===k.id,onImport:I,onDelete:y,onDuplicate:b,onMove:B,onUpdate:F,toggleExpanded:({id:L,groupId:M})=>l(H=>H?.id===L&&H?.group===M?null:{id:L,group:M}),triggerSave:r},O.id))})}),C.jsx("button",{onClick:()=>v(k.id),className:"add-remove add-next",children:C.jsx(wo,{})})]})]},k.id)),C.jsx(yNe,{btnLabel:"Create new color group",tooltipLabel:"Paste a color group from the clipboard. To copy to clipboard, click [Three dots] next to a group heading, and choose [Copy group]",onBtnClick:d,onImportClick:x})]})});CNe.displayName="ColorModule";const X1="1.9.0",CHt={styleSheetData:{colorStyles:[],typographyStyles:[],spacingStyles:[],layoutsStyles:[],designStyles:[],componentsStyles:[],fontsStyles:[],otherStyles:[]},modulesData:{FLUID_TYPOGRAPHY:{groups:[]},COLOR_SYSTEM:{groups:[]},FLUID_SPACING:{groups:[]},COMPONENTS:{components:[]},FONTS:{fonts:[]}}},bNe=t=>({...t,...CHt}),ap={id:ht(),name:"Default Core Framework Project",description:"",date:"2023-05-16T06:39:10.200Z",app_version:`${X1}_default`,preferences:ha,breakpoints:[[0,1400],[0,992],[0,768],[0,480]],styleSheetData:{colorStyles:[],typographyStyles:[{id:"01GXDT3208JBNT6XESNSE76324",name:"Contextual variables",type:"variable",cssObjects:[{id:"01GXDT320FNMKNGMYC90312321",selector:":root",declarations:[{id:"01GXDT320FC0HV9WQ2VJYA067543",property:"--hero-title-size",value:"var(--text-4xl)"},{id:"01GXDT320F345435Q2VJYA067543",property:"--post-title-size",value:"var(--text-2xl)"},{id:"01GXDT320F0989088VJYA067543",property:"--nav-link-size",value:"var(--text-s)"}]}]},{id:"0",name:"Headings",cssObjects:[{id:"01GTC7DFAEAM2TP6NCJTP7EKKC",selector:"H1",declarations:[{property:"font-size",value:"var(--text-4xl)",fluidValue:[0,0,"px"],id:"01GTC7DFAE20E2JMH5GNM2SMJH"},{property:"line-height",value:"1.1",fluidValue:[0,0,"px"],id:"01GXK6J397XDM8WGREHQE51BTF"}]},{id:"01GTC7F3N0QBBYV4GCJCDAWG4S",selector:"H2",declarations:[{property:"font-size",value:"var(--text-3xl)",fluidValue:[0,0,"px"],id:"01GTC7F3N0WR1WAYT8T731B0XK"},{property:"line-height",value:"1.2",fluidValue:[0,0,"px"],id:"01GXW33S22N99G5479ZF3D3P7W"}]},{id:"01GTC7F5B5KVGK01CS9B831SGB",selector:"H3",declarations:[{property:"font-size",value:"var(--text-2xl)",fluidValue:[0,0,"px"],id:"01GTC7F5B511HWPPM01R7464EQ"},{property:"line-height",value:"1.3",fluidValue:[0,0,"px"],id:"01GXW343XDAH48K1SAT089DKTT"}]},{id:"01GTC7F6ACFHV9XBQA2WRKQ8X5",selector:"H4",declarations:[{property:"font-size",value:"var(--text-xl)",fluidValue:[0,0,"px"],id:"01GTC7F6ACTGB8WAQPN4XHC53G"},{property:"line-height",value:"1.3",fluidValue:[0,0,"px"],id:"01GXW34KJKC0Z0VQHHFW9MVB79"}]},{id:"01GTC7F70NEMF3RTDRK3BT64YV",selector:"H5",declarations:[{property:"font-size",value:"var(--text-l)",fluidValue:[0,0,"px"],id:"01GTC7F70N5V5Y1RB2F3FEESG6"},{property:"line-height",value:"1.3",fluidValue:[0,0,"px"],id:"01GXW34T9MN54TVN32FSK5DP84"}]},{id:"01GTC7F7YVD97B67VSSK7K8S51",selector:"H6",declarations:[{property:"font-size",value:"var(--text-m)",fluidValue:[0,0,"px"],id:"01GTC7F7YVC25M34JRSJM8GAWA"},{property:"line-height",value:"1.4",fluidValue:[0,0,"px"],id:"01GXW350VH0ECCWV1TKNRAKNDS"}]}]},{id:"01GXKD3G35ARW26A0G6EVYSAR9",name:"Line heights",cssObjects:[{id:"01GXKD3G3A88SWDANFW6ES3XF9",selector:".line-height-xs",declarations:[{property:"line-height",value:"1",fluidValue:[0,0,"px"],id:"01GXKD3G3AZVEKNBBWMXTVH59G"}]},{id:"01GXKD3WVNBM6TMTQTAVMCK0YE",selector:".line-height-s",declarations:[{property:"line-height",value:"1.2",fluidValue:[0,0,"px"],id:"01GXKD3G3AZVEKNBBWMXTVH59G"}]},{id:"01GXKD42ZTMQE27XMWYK3Y54YG",selector:".line-height-m",declarations:[{property:"line-height",value:"1.3",fluidValue:[0,0,"px"],id:"01GXKD3G3AZVEKNBBWMXTVH59G"}]},{id:"01GXW281S812F130EF14PZQH5T",selector:".line-height-l",declarations:[{property:"line-height",value:"1.4",fluidValue:[0,0,"px"],id:"01GXKD3G3AZVEKNBBWMXTVH59G"}]},{id:"01GXW286R2NNA3M8DHJJ82Y4MQ",selector:".line-height-xl",declarations:[{property:"line-height",value:"1.5",fluidValue:[0,0,"px"],id:"01GXKD3G3AZVEKNBBWMXTVH59G"}]}]},{id:"1",name:"Text Modifiers",cssObjects:[{id:"01GXW35HAQ92NMEG69YP4YC5MV",selector:".italic",declarations:[{property:"font-style",value:"italic",fluidValue:[0,0,"px"],id:"01GTC7JNS21M04S04HPDHGKTHD"}]},{id:"01H5YTK2FBN5MMN289XVEP9SY4",selector:".bold",declarations:[{property:"font-weight",value:"bold",fluidValue:[0,0,"px"],id:"01GTC7JNS21M04S04HPDHGKTHD"}]},{id:"01GTC7HQ4VWMJ49C0DYBJ5DJT4",selector:".lowercase",declarations:[{property:"text-transform",value:"lowercase",fluidValue:[0,0,"px"],id:"01GTC7HQ4VJ67XVC59RKSQQVST"}]},{id:"01GTC7H9W587YDR40R37G13NA2",selector:".uppercase",declarations:[{property:"text-transform",value:"uppercase",fluidValue:[0,0,"px"],id:"01GTC7H9W50FV0RED74KDEP13R"}]},{id:"01GTC7J82M80AD34G3TQXYHDSC",selector:".underline",declarations:[{property:"text-decoration",value:"underline",fluidValue:[0,0,"px"],id:"01GTC7J82M9TM6MGQ0BHZR54QA"}]},{id:"01GTC9FR7YAP8TT6EMPE2J6RCV",selector:".font-100",declarations:[{property:"font-weight",value:"100",fluidValue:[0,0,"px"],id:"01GTC9FR7YB19JWW0R24JZCYT4"}]},{id:"01GWM5E3KT0BFJ65QKD9898DB1",selector:".font-200",declarations:[{property:"font-weight",value:"200",fluidValue:[0,0,"px"],id:"01GTC9FR7YB19JWW0R24JZCYT4"}]},{id:"01GWM5E5FZ2EVJ7W4BTMFDNQR2",selector:".font-300",declarations:[{property:"font-weight",value:"300",fluidValue:[0,0,"px"],id:"01GTC9FR7YB19JWW0R24JZCYT4"}]},{id:"01GWM5E7ENG84XA3WSJ0S0F4B7",selector:".font-400",declarations:[{property:"font-weight",value:"400",fluidValue:[0,0,"px"],id:"01GTC9FR7YB19JWW0R24JZCYT4"}]},{id:"01GWM5EG1K33Y2S4SQFPPWQC74",selector:".font-500",declarations:[{property:"font-weight",value:"500",fluidValue:[0,0,"px"],id:"01GTC9FR7YB19JWW0R24JZCYT4"}]},{id:"01GWM5EKSYVSSFPPK5T03ZA2S8",selector:".font-600",declarations:[{property:"font-weight",value:"600",fluidValue:[0,0,"px"],id:"01GTC9FR7YB19JWW0R24JZCYT4"}]},{id:"01GWM5F0G1EEMZD0CAYHGM7D6N",selector:".font-700",declarations:[{property:"font-weight",value:"700",fluidValue:[0,0,"px"],id:"01GTC9FR7YB19JWW0R24JZCYT4"}]},{id:"01GWM5EE31KTCNEYNA637R094W",selector:".font-800",declarations:[{property:"font-weight",value:"800",fluidValue:[0,0,"px"],id:"01GWM5EE319C9E7ZS6GBV3M6BK"}]},{id:"01GWM5FHQGZQ6QR19146M7V5J1",selector:".font-900",declarations:[{property:"font-weight",value:"900",fluidValue:[0,0,"px"],id:"01GWM5EE319C9E7ZS6GBV3M6BK"}]}]},{id:"01GXDT3208JBNT6XESNSEMYE81",name:"Text Alignment",cssObjects:[{id:"01GXDT320FNMKNGMYC903E350P",selector:".text-left",declarations:[{property:"text-align",value:"left",fluidValue:[0,0,"px"],id:"01GXDT320FC0HV9WQ2VJYA0NEM"}]},{id:"01GXVF05JH36YR3VZHF64YZYWK",selector:".text-center",declarations:[{property:"text-align",value:"center",fluidValue:[0,0,"px"],id:"01GXDT320FC0HV9WQ2VJYA0NEM"}]},{id:"01GXVF06PP0TR5XPZF9P5RJFQ7",selector:".text-right",declarations:[{property:"text-align",value:"right",fluidValue:[0,0,"px"],id:"01GXDT320FC0HV9WQ2VJYA0NEM"}]}]}],spacingStyles:[{id:"01GXDT3208JBNT6JGHJGHJGRYT",name:"Contextual variables",type:"variable",cssObjects:[{id:"0UKJGHG67577KNGMYC90312321",selector:":root",declarations:[{id:"TIUIUY0FC0HV9WQ2VJYA067543",property:"--header-space",value:"var(--space-s)"},{id:"BMFHKJ320F345435Q2VJYA067543",property:"--btn-space",value:"var(--space-xs) var(--space-s)"},{id:"OIUASDS32989088VJYA067543",property:"--card-space",value:"var(--space-s)"},{id:"OIUASDS329SYDUTSUYTYA067543",property:"--footer-space",value:"var(--space-s) var(--space-m)"}]}]}],layoutsStyles:[{id:"01GXDTHGJHGGHGUYHJT6XESNSE76324",name:R3e,type:"variable",cssObjects:[{id:"01GXDTHGJ84567JJGJHJT6XESNSE76324",selector:":root",declarations:[{id:"01GXDTH123242GJHJT6XESNSE76324",property:"--columns-1",value:"repeat(1, minmax(0, 1fr))"},{id:"01GXDTH1232423GJHJT6XESNSE76324",property:"--columns-2",value:"repeat(2, minmax(0, 1fr))"},{id:"01GXDTH123242GJHJT6XESNSE76324",property:"--columns-3",value:"repeat(3, minmax(0, 1fr))"},{id:"01GXDTH1232424GJHJT6XESNSE76324",property:"--columns-4",value:"repeat(4, minmax(0, 1fr))"},{id:"01GXDTH1232425GJHJT6XESNSE76324",property:"--columns-5",value:"repeat(5, minmax(0, 1fr))"},{id:"01GXDTH1232426GJHJT6XESNSE76324",property:"--columns-6",value:"repeat(6, minmax(0, 1fr))"},{id:"01GXDTH1232427GJHJT6XESNSE76324",property:"--columns-7",value:"repeat(7, minmax(0, 1fr))"},{id:"01GXDTH1232428GJHJT6XESNSE76324",property:"--columns-8",value:"repeat(8, minmax(0, 1fr))"}]}]},{id:"3",name:M3e,cssObjects:[{id:"01H03GA0VQX8WVYVV9HDMKVNVB",selector:".row",declarations:[{property:"display",value:"grid",fluidValue:[0,0,"px"],id:"01H2AYWGWF25V04EE0TY0H8TX0"},{property:"grid-auto-flow",value:"column",fluidValue:[0,0,"px"],id:"01GTC7N9XS1WAZYK990GPD4T5E"},{property:"justify-content",value:"start",fluidValue:[0,0,"px"],id:"01H2APN0G6EMFE9AVXX9QFW7TP"}]},{id:"01GTC7MWW8P3REHYET9H3NND3S",selector:".column",declarations:[{property:"display",value:"grid",fluidValue:[0,0,"px"],id:"01H2AYZ8HPN608G22VRJQPRDKX"},{property:"grid-auto-flow",value:"row",fluidValue:[0,0,"px"],id:"01GTC7MWW89H49087EY5Q6XEG7"},{property:"justify-items",value:"start",fluidValue:[0,0,"px"],id:"01H2D8HQG1M2W1R9AKATD0TS6P"},{property:"align-content",value:"start",fluidValue:[0,0,"px"],id:"01H2D8JBR9D46K4MN1G2K0M5GN"}]},{id:"01GXVVW5TG89DNJBWK6G8GQ6J8",selector:".columns-2",declarations:[{property:"display",value:"grid",fluidValue:[0,0,"px"],id:"01H2AYZGMQP3J2VKQDWRG4CZNY"},{property:"grid-template-columns",value:"var(--columns-2)",fluidValue:[0,0,"px"],id:"01GTC7N9XS1WAZYK990GPD4T5E"}]},{id:"01GTC7NJ9S0N1G7BXQ16KY3CN0",selector:".columns-3",declarations:[{property:"display",value:"grid",fluidValue:[0,0,"px"],id:"01H2AYZQQJDZT24VQQHM8Y0E5R"},{property:"grid-template-columns",value:"var(--columns-3)",fluidValue:[0,0,"px"],id:"01GTC7NVCYQX75XQXP1KY68STJ"}]},{id:"01GTC7P0ZVMAYDKXJR6F35CJH4",selector:".columns-4",declarations:[{property:"display",value:"grid",fluidValue:[0,0,"px"],id:"01H2AYZZ8JEGQ5N9PBCY4KD8SE"},{property:"grid-template-columns",value:"var(--columns-4)",fluidValue:[0,0,"px"],id:"01GTC7P8RRRHT6EPE2Q2FYEACJ"}]},{id:"01GTC7PKC8HJSTGMJYK1JWA4MW",selector:".columns-5",declarations:[{property:"display",value:"grid",fluidValue:[0,0,"px"],id:"01H2AZ075SM5J2JMZRRVYMSBFW"},{property:"grid-template-columns",value:"var(--columns-5)",fluidValue:[0,0,"px"],id:"01GTC7PV6C5GMRMVEG1T20Q2TD"}]},{id:"01GTC7Q1D3PEPMJ463EV2ZZK3H",selector:".columns-6",declarations:[{property:"display",value:"grid",fluidValue:[0,0,"px"],id:"01H2AZ0ETKEMW9P5EDFS1VE0JK"},{property:"grid-template-columns",value:"var(--columns-6)",fluidValue:[0,0,"px"],id:"01GTC7Q7QWKGVX8AAE20GP57QQ"}]},{id:"01H2D7Z91C904XG5XXATC6Z1RT",selector:".columns-7",declarations:[{property:"display",value:"grid",fluidValue:[0,0,"px"],id:"01H2AZ0ETKEMW9P5EDFS1VE0JK"},{property:"grid-template-columns",value:"var(--columns-7)",fluidValue:[0,0,"px"],id:"01GTC7Q7QWKGVX8AAE20GP57QQ"}]},{id:"01H2D7ZP09RB6YQ7AVPN8JVVJT",selector:".columns-8",declarations:[{property:"display",value:"grid",fluidValue:[0,0,"px"],id:"01H2AZ0ETKEMW9P5EDFS1VE0JK"},{property:"grid-template-columns",value:"var(--columns-8)",fluidValue:[0,0,"px"],id:"01GTC7Q7QWKGVX8AAE20GP57QQ"}]},{id:"01GWSFW6Q76ABBA9MTNTR9M5T8",selector:".column--on-xl",declarations:[{property:"grid-template-columns",value:"1fr",fluidValue:[0,0,"px"],id:"01GWSFW6Q7ZZCJEEP9C0FQ0RFB"},{property:"grid-auto-flow",value:"row",fluidValue:[0,0,"px"],id:"01H4DV3N7S9DS9HXVQ5WTQ83H8"}],mediaQuery:[0,1400]},{id:"01H4DV3V1D85BSM5VYD0NQAFGZ",selector:".row--on-xl",declarations:[{property:"grid-template-columns",value:"unset",fluidValue:[0,0,"px"],id:"01GWSFW6Q7ZZCJEEP9C0FQ0RFB"},{property:"grid-auto-flow",value:"column",fluidValue:[0,0,"px"],id:"01H4DV3N7S9DS9HXVQ5WTQ83H8"}],mediaQuery:[0,1400]},{id:"01GWSFWP6YT6AJF8NW15ZCR3BF",selector:".columns-2--on-xl",declarations:[{property:"grid-template-columns",value:"repeat(2, 1fr)",fluidValue:[0,0,"px"],id:"01GWSFW6Q7ZZCJEEP9C0FQ0RFB"}],mediaQuery:[0,1400]},{id:"01GWSFWQSD83SWYFKMW4GN540B",selector:".columns-3--on-xl",declarations:[{property:"grid-template-columns",value:"repeat(3, 1fr)",fluidValue:[0,0,"px"],id:"01GWSFW6Q7ZZCJEEP9C0FQ0RFB"}],mediaQuery:[0,1400]},{id:"01GWSFWRXA87SWTXFF7EW9G9PE",selector:".columns-4--on-xl",declarations:[{property:"grid-template-columns",value:"repeat(4, 1fr)",fluidValue:[0,0,"px"],id:"01GWSFW6Q7ZZCJEEP9C0FQ0RFB"}],mediaQuery:[0,1400]},{id:"01GWSFWSYQPYG6GNDPBPT9DN3S",selector:".columns-5--on-xl",declarations:[{property:"grid-template-columns",value:"repeat(5, 1fr)",fluidValue:[0,0,"px"],id:"01GWSFW6Q7ZZCJEEP9C0FQ0RFB"}],mediaQuery:[0,1400]},{id:"01GWSFWVBB21DDMC8G9ZAMRNKF",selector:".columns-6--on-xl",declarations:[{property:"grid-template-columns",value:"repeat(6, 1fr)",fluidValue:[0,0,"px"],id:"01GWSFW6Q7ZZCJEEP9C0FQ0RFB"}],mediaQuery:[0,1400]},{id:"01GWSG7V2CC1F1JFM50RRH9YNH",selector:".column--on-l",declarations:[{property:"grid-template-columns",value:"1fr",fluidValue:[0,0,"px"],id:"01GWSG7V2CQ7190VMHW036J228"},{property:"grid-auto-flow",value:"row",fluidValue:[0,0,"px"],id:"01H4DV1BDWED0ETW9DJMF11XG6"}],mediaQuery:[0,992]},{id:"01H4DV2FWR7NC3TR9JCY3H6B38",selector:".row--on-l",declarations:[{property:"grid-template-columns",value:"unset",fluidValue:[0,0,"px"],id:"01GWSG7V2CQ7190VMHW036J228"},{property:"grid-auto-flow",value:"column",fluidValue:[0,0,"px"],id:"01H4DV1BDWED0ETW9DJMF11XG6"}],mediaQuery:[0,992]},{id:"01GWSG8DY4JJ06V741863ZQGVB",selector:".columns-2--on-l",declarations:[{property:"grid-template-columns",value:"repeat(2, 1fr)",fluidValue:[0,0,"px"],id:"01GWSG7V2CQ7190VMHW036J228"}],mediaQuery:[0,992]},{id:"01GWSG8FFPR7TV13WQFYVA3VW4",selector:".columns-3--on-l",declarations:[{property:"grid-template-columns",value:"repeat(3, 1fr)",fluidValue:[0,0,"px"],id:"01GWSG7V2CQ7190VMHW036J228"}],mediaQuery:[0,992]},{id:"01GWSG8GTETSTJ7M9CH2YWKFXT",selector:".columns-4--on-l",declarations:[{property:"grid-template-columns",value:"repeat(4, 1fr)",fluidValue:[0,0,"px"],id:"01GWSG7V2CQ7190VMHW036J228"}],mediaQuery:[0,992]},{id:"01GWSG8HYDGKA8D3E71Z7SXWXP",selector:".columns-5--on-l",declarations:[{property:"grid-template-columns",value:"repeat(5, 1fr)",fluidValue:[0,0,"px"],id:"01GWSG7V2CQ7190VMHW036J228"}],mediaQuery:[0,992]},{id:"01GWSG8R24FZ962CDBYPG8AH4W",selector:".columns-6--on-l",declarations:[{property:"grid-template-columns",value:"repeat(6, 1fr)",fluidValue:[0,0,"px"],id:"01GWSG7V2CQ7190VMHW036J228"}],mediaQuery:[0,992]},{id:"01GWSGFS115DVGN09WFTM5MN57",selector:".column--on-m",declarations:[{property:"grid-template-columns",value:"1fr",fluidValue:[0,0,"px"],id:"01GWSGFS118Y66C444FR3N2PRG"},{property:"grid-auto-flow",value:"row",fluidValue:[0,0,"px"],id:"01H4DV4SY19ND0E6EPKQ2JPV84"}],mediaQuery:[0,768]},{id:"01H4DV4NN6SB8QH69N2XG8HE30",selector:".row--on-m",declarations:[{property:"grid-template-columns",value:"unset",fluidValue:[0,0,"px"],id:"01GWSGFS118Y66C444FR3N2PRG"},{property:"grid-auto-flow",value:"column",fluidValue:[0,0,"px"],id:"01H4DV4X2K661WFJJ191VAA4GX"}],mediaQuery:[0,768]},{id:"01GWSGG5YMNP37E37W4KMTSTDE",selector:".columns-2--on-m",declarations:[{property:"grid-template-columns",value:"repeat(2, 1fr)",fluidValue:[0,0,"px"],id:"01GWSGFS118Y66C444FR3N2PRG"}],mediaQuery:[0,768]},{id:"01GWSGG7B4H0AQ5QV9T3G62EC3",selector:".columns-3--on-m",declarations:[{property:"grid-template-columns",value:"repeat(3, 1fr)",fluidValue:[0,0,"px"],id:"01GWSGFS118Y66C444FR3N2PRG"}],mediaQuery:[0,768]},{id:"01GWSGG8WC42WYRCSDKKB6JFQ9",selector:".columns-4--on-m",declarations:[{property:"grid-template-columns",value:"repeat(4, 1fr)",fluidValue:[0,0,"px"],id:"01GWSGFS118Y66C444FR3N2PRG"}],mediaQuery:[0,768]},{id:"01GWSGGA3TVSFCPF2CJ33NWHJW",selector:".columns-5--on-m",declarations:[{property:"grid-template-columns",value:"repeat(5, 1fr)",fluidValue:[0,0,"px"],id:"01GWSGFS118Y66C444FR3N2PRG"}],mediaQuery:[0,768]},{id:"01GWSGGBF09K5404DZP15CK25Z",selector:".columns-6--on-m",declarations:[{property:"grid-template-columns",value:"repeat(6, 1fr)",fluidValue:[0,0,"px"],id:"01GWSGFS118Y66C444FR3N2PRG"}],mediaQuery:[0,768]},{id:"01GWSGNGWXK6WVESHT7K3QBPZX",selector:".column--on-s",declarations:[{property:"grid-template-columns",value:"1fr",fluidValue:[0,0,"px"],id:"01GWSGNGWXZP9821GA21NNSEAM"},{property:"grid-auto-flow",value:"row",fluidValue:[0,0,"px"],id:"01H4DV5B56P9F9P8J2R27P7E1K"}],mediaQuery:[0,480]},{id:"01H4DV57S9SAHM6MBRY9MFDY8P",selector:".row--on-s",declarations:[{property:"grid-template-columns",value:"1fr",fluidValue:[0,0,"px"],id:"01GWSGNGWXZP9821GA21NNSEAM"},{property:"grid-auto-flow",value:"column",fluidValue:[0,0,"px"],id:"01H4DV5G81B4MT5W4Y6XWCYAMN"}],mediaQuery:[0,480]},{id:"01GWSGP1PG7S04VDZ0D5YVCRFM",selector:".columns-2--on-s",declarations:[{property:"grid-template-columns",value:"repeat(2, 1fr)",fluidValue:[0,0,"px"],id:"01GWSGNGWXZP9821GA21NNSEAM"}],mediaQuery:[0,480]},{id:"01GWSGPF30TYTX6KRRCDS7F233",selector:".columns-3--on-s",declarations:[{property:"grid-template-columns",value:"repeat(3, 1fr)",fluidValue:[0,0,"px"],id:"01GWSGNGWXZP9821GA21NNSEAM"}],mediaQuery:[0,480]},{id:"01GWSGV00E117NT66247T16TAH",selector:".columns-4--on-s",declarations:[{property:"grid-template-columns",value:"repeat(4, 1fr)",fluidValue:[0,0,"px"],id:"01GWSGNGWXZP9821GA21NNSEAM"}],mediaQuery:[0,480]},{id:"01GWSGV1QNPZRQKNWJEY9CATNX",selector:".columns-5--on-s",declarations:[{property:"grid-template-columns",value:"repeat(5, 1fr)",fluidValue:[0,0,"px"],id:"01GWSGNGWXZP9821GA21NNSEAM"}],mediaQuery:[0,480]},{id:"01GWSGV30HD83HP8BGW8HX88D6",selector:".columns-6--on-s",declarations:[{property:"grid-template-columns",value:"repeat(6, 1fr)",fluidValue:[0,0,"px"],id:"01GWSGNGWXZP9821GA21NNSEAM"}],mediaQuery:[0,480]}]},{id:"01GXVZT05C5JBRWPMDGPXCS0D5",name:"Automatic Columns",cssObjects:[{id:"01GXVZT05CQ64KJB1VRB54VPSB",selector:".columns-min-5",declarations:[{property:"display",value:"grid",fluidValue:[0,0,"px"],id:"01H4DZE966YS00JTJQVVWMY4ZT"},{property:"grid-template-columns",value:"repeat(auto-fit,minmax(5rem, 1fr))",fluidValue:[0,0,"px"],id:"01GXW05GR0BQDETSGEQ8ZCRM3S"}]},{id:"01GXVZYQEHKB4184X6CNV87QG0",selector:".columns-min-10",declarations:[{property:"display",value:"grid",fluidValue:[0,0,"px"],id:"01H4DZEGMJ2YCYG22N17F28Q8E"},{property:"grid-template-columns",value:"repeat(auto-fit,minmax(10rem, 1fr))",fluidValue:[0,0,"px"],id:"01GXW05W3357Z4T496E2466S74"}]},{id:"01GXVZZPQ1F3EXXE0KS9AHWMWD",selector:".columns-min-20",declarations:[{property:"display",value:"grid",fluidValue:[0,0,"px"],id:"01H4DZEPHWVKKSYSNF9CA1ZJYY"},{property:"grid-template-columns",value:"repeat(auto-fit,minmax(20rem, 1fr))",fluidValue:[0,0,"px"],id:"01GXW0678424QH9SD9Z8ZG32P5"}]},{id:"01GXW002VH098ZN9SVHPD3F4ZG",selector:".columns-min-30",declarations:[{property:"display",value:"grid",fluidValue:[0,0,"px"],id:"01H4DZEW6BK9T1Z9DHJ95DWQ6N"},{property:"grid-template-columns",value:"repeat(auto-fit,minmax(30rem, 1fr))",fluidValue:[0,0,"px"],id:"01GXW0687MGVX9N932X8EAZN80"}]},{id:"01GXW0141R1PBYYV4S0XSH3NHQ",selector:".columns-min-40",declarations:[{property:"display",value:"grid",fluidValue:[0,0,"px"],id:"01H4DZF277V536DDJZ8Y0J7DBP"},{property:"grid-template-columns",value:"repeat(auto-fit,minmax(40rem, 1fr))",fluidValue:[0,0,"px"],id:"01GXW0699ZR2CJC7A05977MTZG"}]},{id:"01GXW01BQWMSNNXR8BMQN0YGGY",selector:".columns-min-50",declarations:[{property:"display",value:"grid",fluidValue:[0,0,"px"],id:"01H4DZF8K8Q39NP6CKAJY6X9B5"},{property:"grid-template-columns",value:"repeat(auto-fit,minmax(50rem, 1fr))",fluidValue:[0,0,"px"],id:"01GXW06A9V772C9WR99JGCKPBX"}]},{id:"01GXW01HYJQ4F42B8HYWZH9BAW",selector:".columns-min-60",declarations:[{property:"display",value:"grid",fluidValue:[0,0,"px"],id:"01H4DZFDEHJ4FNW7FB53JX7T7H"},{property:"grid-template-columns",value:"repeat(auto-fit,minmax(60rem, 1fr))",fluidValue:[0,0,"px"],id:"01GXW0743JWBMESA7FCJKXM9K8"}]},{id:"01GXW01R4ZQTNNYTJNE9FP34W5",selector:".columns-min-70",declarations:[{property:"display",value:"grid",fluidValue:[0,0,"px"],id:"01H4DZFKVK1QCSSM81BJXVYHHJ"},{property:"grid-template-columns",value:"repeat(auto-fit,minmax(70rem, 1fr))",fluidValue:[0,0,"px"],id:"01GXW0799QNYXNA65GR82YDZBG"}]}]},{id:"01H4DZA9X6WB52X7TDHSSGGD81",name:"Simple Flex Layouts",cssObjects:[{id:"01H4DZA9X6HXTEM6AXVZ6G7JRB",selector:".flex-row",declarations:[{property:"display",value:"flex",fluidValue:[0,0,"px"],id:"01H4DZA9X62H747WTN3Y8F004N"},{property:"flex-direction",value:"row",fluidValue:[0,0,"px"],id:"01H4DZBDJ9QJ73KAKQJ3SV8KBV"}]},{id:"01H4DZBQNB7AGVG5WZWMTD7ZPW",selector:".flex-column",declarations:[{property:"display",value:"flex",fluidValue:[0,0,"px"],id:"01H4DZA9X62H747WTN3Y8F004N"},{property:"flex-direction",value:"column",fluidValue:[0,0,"px"],id:"01H4DZBDJ9QJ73KAKQJ3SV8KBV"}]},{id:"01H4DZC4CG1THQQV8VZXDKN5CJ",selector:".flex-1",declarations:[{property:"flex",value:"1",fluidValue:[0,0,"px"],id:"01H4DZC4CG9XMWYS6S12TAPEHA"}]},{id:"01H7XESPQKG2WPT16R6ZQH5JNF",selector:".flex-2",declarations:[{property:"flex",value:"2",fluidValue:[0,0,"px"],id:"01H4DZC4CG9XMWYS6S12TAPEHA"}]},{id:"01H7XET148D9B2555P9FPME5FZ",selector:".flex-3",declarations:[{property:"flex",value:"3",fluidValue:[0,0,"px"],id:"01H4DZC4CG9XMWYS6S12TAPEHA"}]},{id:"01H4DZCFR06X9FBF6DJDZ7XE45",selector:".flex-wrap",declarations:[{property:"flex-wrap",value:"wrap",fluidValue:[0,0,"px"],id:"01H4DZCFR0YE7H292DECJCT10B"}]},{id:"01H4DZCTVEA4PGMXQ40AD9Y25F",selector:".flex-nowrap",declarations:[{property:"flex-wrap",value:"nowrap",fluidValue:[0,0,"px"],id:"01H4DZCFR0YE7H292DECJCT10B"}]}]},{id:"4",name:"Grid Column Span",cssObjects:[{id:"01GTC7QS6T8GBWV36F1XGGBPZ5",selector:".col-span-2",declarations:[{property:"grid-column",value:"auto / span 2",fluidValue:[0,0,"px"],id:"01GTC7QS6T92R9BFB8H4PD3J9K"}]},{id:"01GTC7R8CG9ES0HP71ATV4P2T0",selector:".col-span-3",declarations:[{property:"grid-column",value:"auto / span 3",fluidValue:[0,0,"px"],id:"01GTC7R8CGX7B9HHCEZ33X726V"}]},{id:"01GTC7RFP9CGP79TXX79G53605",selector:".col-span-4",declarations:[{property:"grid-column",value:"auto / span 4",fluidValue:[0,0,"px"],id:"01GTC7RFP9X9J7A7C35A5WY1JV"}]},{id:"01GTC7RR4NZ9C21CG7WD54NWX6",selector:".col-span-5",declarations:[{property:"grid-column",value:"auto / span 5",fluidValue:[0,0,"px"],id:"01GTC7RR4N4XFKZ8GSFYQWPEW7"}]},{id:"01GTC7S2F0A73CAWAZ293QTT2M",selector:".col-span-6",declarations:[{property:"grid-column",value:"auto / span 6",fluidValue:[0,0,"px"],id:"01GTC7S2F02GTRAKTY516PXWTH"}]},{id:"01H2D809TXCYB7T1W46J09C2RD",selector:".col-span-7",declarations:[{property:"grid-column",value:"auto / span 7",fluidValue:[0,0,"px"],id:"01GTC7S2F02GTRAKTY516PXWTH"}]},{id:"01H2D80FSCVP7GDHEJ8BS9N34Y",selector:".col-span-8",declarations:[{property:"grid-column",value:"auto / span 8",fluidValue:[0,0,"px"],id:"01GTC7S2F02GTRAKTY516PXWTH"}]},{id:"01GWSG0ZWA1J84XHJ0CTRM9N7F",selector:".col-span-1--on-xl",declarations:[{property:"grid-column",value:"auto / span 1",fluidValue:[0,0,"px"],id:"01GWSG0ZWA4HFK3NX7K9DW3MV1"}],mediaQuery:[0,1400]},{id:"01GWSG1QSGF14KV4KZNATJMNR5",selector:".col-span-2--on-xl",declarations:[{property:"grid-column",value:"auto / span 2",fluidValue:[0,0,"px"],id:"01GWSG0ZWA4HFK3NX7K9DW3MV1"}],mediaQuery:[0,1400]},{id:"01GWSG1PPVPT2X395ZRX7X1XPR",selector:".col-span-3--on-xl",declarations:[{property:"grid-column",value:"auto / span 3",fluidValue:[0,0,"px"],id:"01GWSG0ZWA4HFK3NX7K9DW3MV1"}],mediaQuery:[0,1400]},{id:"01GWSG1NHTH471ATMV6GST1ET2",selector:".col-span-4--on-xl",declarations:[{property:"grid-column",value:"auto / span 4",fluidValue:[0,0,"px"],id:"01GWSG0ZWA4HFK3NX7K9DW3MV1"}],mediaQuery:[0,1400]},{id:"01GWSG1MF3X5RXMJSYJMFWSF1X",selector:".col-span-5--on-xl",declarations:[{property:"grid-column",value:"auto / span 5",fluidValue:[0,0,"px"],id:"01GWSG0ZWA4HFK3NX7K9DW3MV1"}],mediaQuery:[0,1400]},{id:"01GWSG1JVWHGFPR8EA62H9N875",selector:".col-span-6--on-xl",declarations:[{property:"grid-column",value:"auto / span 6",fluidValue:[0,0,"px"],id:"01GWSG0ZWA4HFK3NX7K9DW3MV1"}],mediaQuery:[0,1400]},{id:"01GWSG9J8F7T0G8VYGN57PJNZ6",selector:".col-span-1--on-l",declarations:[{property:"grid-column",value:"auto / span 1",fluidValue:[0,0,"px"],id:"01GWSG9J8FCVF8JBNYG9PWHSWB"}],mediaQuery:[0,992]},{id:"01GWSG9W4Y6NW65A7Y6WZ6PNAH",selector:".col-span-2--on-l",declarations:[{property:"grid-column",value:"auto / span 2",fluidValue:[0,0,"px"],id:"01GWSG9J8FCVF8JBNYG9PWHSWB"}],mediaQuery:[0,992]},{id:"01GWSG9XNWR5EKMSARWMEGTSPZ",selector:".col-span-3--on-l",declarations:[{property:"grid-column",value:"auto / span 3",fluidValue:[0,0,"px"],id:"01GWSG9J8FCVF8JBNYG9PWHSWB"}],mediaQuery:[0,992]},{id:"01GWSG9ZW57BKVDW5M044R2C63",selector:".col-span-4--on-l",declarations:[{property:"grid-column",value:"auto / span 4",fluidValue:[0,0,"px"],id:"01GWSG9J8FCVF8JBNYG9PWHSWB"}],mediaQuery:[0,992]},{id:"01GWSGA1BYFYEHDDVWVFDVEJJN",selector:".col-span-5--on-l",declarations:[{property:"grid-column",value:"auto / span 5",fluidValue:[0,0,"px"],id:"01GWSG9J8FCVF8JBNYG9PWHSWB"}],mediaQuery:[0,992]},{id:"01GWSGA2PJ7K076SKYM8ZTWTXN",selector:".col-span-6--on-l",declarations:[{property:"grid-column",value:"auto / span 6",fluidValue:[0,0,"px"],id:"01GWSG9J8FCVF8JBNYG9PWHSWB"}],mediaQuery:[0,992]},{id:"01GWSGH177RCX4E0JK0AZDFBVB",selector:".col-span-1--on-m",declarations:[{property:"grid-column",value:"auto / span 1",fluidValue:[0,0,"px"],id:"01GWSGH177WXZ9E9499NGQNK64"}],mediaQuery:[0,768]},{id:"01GWSGH9H9CFJHQR6D3W7CHKXT",selector:".col-span-2--on-m",declarations:[{property:"grid-column",value:"auto / span 2",fluidValue:[0,0,"px"],id:"01GWSGH177WXZ9E9499NGQNK64"}],mediaQuery:[0,768]},{id:"01GWSGHCEXF7MMQ7Z15CHBY3VM",selector:".col-span-3--on-m",declarations:[{property:"grid-column",value:"auto / span 3",fluidValue:[0,0,"px"],id:"01GWSGH177WXZ9E9499NGQNK64"}],mediaQuery:[0,768]},{id:"01GWSGHE8B6T1X012Z9G4S51SB",selector:".col-span-4--on-m",declarations:[{property:"grid-column",value:"auto / span 4",fluidValue:[0,0,"px"],id:"01GWSGH177WXZ9E9499NGQNK64"}],mediaQuery:[0,768]},{id:"01GWSGHFPH9BR6M3KXBDC5600H",selector:".col-span-5--on-m",declarations:[{property:"grid-column",value:"auto / span 5",fluidValue:[0,0,"px"],id:"01GWSGH177WXZ9E9499NGQNK64"}],mediaQuery:[0,768]},{id:"01GWSGHGYHZ4GH28G3A9GZFJKW",selector:".col-span-6--on-m",declarations:[{property:"grid-column",value:"auto / span 6",fluidValue:[0,0,"px"],id:"01GWSGH177WXZ9E9499NGQNK64"}],mediaQuery:[0,768]},{id:"01GWSGP6B1VBBP4BNN4FCM0PT9",selector:".col-span-1--on-s",declarations:[{property:"grid-column",value:"auto / span 1",fluidValue:[0,0,"px"],id:"01GWSGP6B17PN7735DAA90KM13"}],mediaQuery:[0,480]},{id:"01GWSGQBPM0CAZRT8FVSYPJ81M",selector:".col-span-2--on-s",declarations:[{property:"grid-column",value:"auto / span 2",fluidValue:[0,0,"px"],id:"01GWSGP6B17PN7735DAA90KM13"}],mediaQuery:[0,480]},{id:"01GWSGQFG6D4AKR1P8YTR6B2W8",selector:".col-span-3--on-s",declarations:[{property:"grid-column",value:"auto / span 3",fluidValue:[0,0,"px"],id:"01GWSGP6B17PN7735DAA90KM13"}],mediaQuery:[0,480]},{id:"01GWSGTH3KQ8P3T0SQ5ZY1T1VH",selector:".col-span-4--on-s",declarations:[{property:"grid-column",value:"auto / span 4",fluidValue:[0,0,"px"],id:"01GWSGP6B17PN7735DAA90KM13"}],mediaQuery:[0,480]},{id:"01GWSGTJJCYPDQFPJBCJPRFMD2",selector:".col-span-5--on-s",declarations:[{property:"grid-column",value:"auto / span 5",fluidValue:[0,0,"px"],id:"01GWSGP6B17PN7735DAA90KM13"}],mediaQuery:[0,480]},{id:"01GWSGTMJ9TYPG1F9Q9AABKHFE",selector:".col-span-6--on-s",declarations:[{property:"grid-column",value:"auto / span 6",fluidValue:[0,0,"px"],id:"01GWSGP6B17PN7735DAA90KM13"}],mediaQuery:[0,480]}]},{id:"5",name:"Grid Column Start",cssObjects:[{id:"01GTC7SH2VZJC2DWYZHM9D5PHS",selector:".col-start-1",declarations:[{property:"grid-column-start",value:"1",fluidValue:[0,0,"px"],id:"01GTC7SH2VY4KDTHPCEACY93AB"}]},{id:"01H5YVFP76BS7976KYE765NSZE",selector:".col-start-2",declarations:[{property:"grid-column-start",value:"2",fluidValue:[0,0,"px"],id:"01GTC7SH2VY4KDTHPCEACY93AB"}]},{id:"01GTC7T0V83AKXK1GBYN8S4SZY",selector:".col-start-3",declarations:[{property:"grid-column-start",value:"3",fluidValue:[0,0,"px"],id:"01GTC7T0V8B1TJGM65V9JTBPSM"}]},{id:"01GTC7T3HWQG0ZSFHSAMSR4N1Z",selector:".col-start-4",declarations:[{property:"grid-column-start",value:"4",fluidValue:[0,0,"px"],id:"01GTC7T3HWRV9TSEYFDZQ1NH01"}]},{id:"01GTC7T4KGPBC5VV9SPFDEFBW3",selector:".col-start-5",declarations:[{property:"grid-column-start",value:"5",fluidValue:[0,0,"px"],id:"01GTC7T4KG69WPMPXQNWC9VQYW"}]},{id:"01GTC7T57RQH0RCYVAX2GF0EDZ",selector:".col-start-6",declarations:[{property:"grid-column-start",value:"6",fluidValue:[0,0,"px"],id:"01GTC7T57SFDJV1G0808BV04F0"}]},{id:"01H2D80QEG0B1M3SH4045FEJQ2",selector:".col-start-7",declarations:[{property:"grid-column-start",value:"7",fluidValue:[0,0,"px"],id:"01GTC7T57SFDJV1G0808BV04F0"}]},{id:"01H2D80X2RDYAC31D979N6F9F7",selector:".col-start-8",declarations:[{property:"grid-column-start",value:"8",fluidValue:[0,0,"px"],id:"01GTC7T57SFDJV1G0808BV04F0"}]},{id:"01GWSG4P4X69FYPR3ZSPR6S9JB",selector:".col-start-1--on-xl",declarations:[{property:"grid-column-start",value:"1",fluidValue:[0,0,"px"],id:"01GWSG4P4X9CXW69VH0162B6B2"}],mediaQuery:[0,1400]},{id:"01GWSG4YM4303BJX61Q63TQDNH",selector:".col-start-2--on-xl",declarations:[{property:"grid-column-start",value:"2",fluidValue:[0,0,"px"],id:"01GWSG4P4X9CXW69VH0162B6B2"}],mediaQuery:[0,1400]},{id:"01GWSG52MCWEJV3PNPZH365HNA",selector:".col-start-3--on-xl",declarations:[{property:"grid-column-start",value:"3",fluidValue:[0,0,"px"],id:"01GWSG4P4X9CXW69VH0162B6B2"}],mediaQuery:[0,1400]},{id:"01GWSG547BQ3T71FNSEQS6Q2M6",selector:".col-start-4--on-xl",declarations:[{property:"grid-column-start",value:"4",fluidValue:[0,0,"px"],id:"01GWSG4P4X9CXW69VH0162B6B2"}],mediaQuery:[0,1400]},{id:"01GWSG4ZYGE7RS5BPBG4Y2TDWZ",selector:".col-start-5--on-xl",declarations:[{property:"grid-column-start",value:"5",fluidValue:[0,0,"px"],id:"01GWSG4P4X9CXW69VH0162B6B2"}],mediaQuery:[0,1400]},{id:"01GWSG519HD5SZSJEAY5SCEGN3",selector:".col-start-6--on-xl",declarations:[{property:"grid-column-start",value:"6",fluidValue:[0,0,"px"],id:"01GWSG4P4X9CXW69VH0162B6B2"}],mediaQuery:[0,1400]},{id:"01GWSGAHKSBA16SPHN7ZMF864D",selector:".col-start-1--on-l",declarations:[{property:"grid-column-start",value:"1",fluidValue:[0,0,"px"],id:"01GWSGAHKS2CGRH3JGAPMEJJN2"}],mediaQuery:[0,992]},{id:"01GWSGAZW2NSGFZ9V6E94SG447",selector:".col-start-2--on-l",declarations:[{property:"grid-column-start",value:"2",fluidValue:[0,0,"px"],id:"01GWSGAHKS2CGRH3JGAPMEJJN2"}],mediaQuery:[0,992]},{id:"01GWSGB4WQNTS8ES412MW2GRXD",selector:".col-start-3--on-l",declarations:[{property:"grid-column-start",value:"3",fluidValue:[0,0,"px"],id:"01GWSGAHKS2CGRH3JGAPMEJJN2"}],mediaQuery:[0,992]},{id:"01GWSGB644B6EGPA81J4E5FBJY",selector:".col-start-4--on-l",declarations:[{property:"grid-column-start",value:"4",fluidValue:[0,0,"px"],id:"01GWSGAHKS2CGRH3JGAPMEJJN2"}],mediaQuery:[0,992]},{id:"01GWSGB7KBNSWC3D3SRKB3H48D",selector:".col-start-5--on-l",declarations:[{property:"grid-column-start",value:"5",fluidValue:[0,0,"px"],id:"01GWSGAHKS2CGRH3JGAPMEJJN2"}],mediaQuery:[0,992]},{id:"01GWSGB9E1MX21W9WQG46K2807",selector:".col-start-6--on-l",declarations:[{property:"grid-column-start",value:"6",fluidValue:[0,0,"px"],id:"01GWSGAHKS2CGRH3JGAPMEJJN2"}],mediaQuery:[0,992]},{id:"01GWSGJ0NXCXFW1YCSZBWDBF7V",selector:".col-start-1--on-m",declarations:[{property:"grid-column",value:"1",fluidValue:[0,0,"px"],id:"01GWSGJ0NXW72GQE5ZP236A2R6"}],mediaQuery:[0,768]},{id:"01GWSGJC3D18DAPGFEN486P1RH",selector:".col-start-2--on-m",declarations:[{property:"grid-column",value:"2",fluidValue:[0,0,"px"],id:"01GWSGJ0NXW72GQE5ZP236A2R6"}],mediaQuery:[0,768]},{id:"01GWSGJDG0D97P2F4E44NRC1HM",selector:".col-start-3--on-m",declarations:[{property:"grid-column",value:"3",fluidValue:[0,0,"px"],id:"01GWSGJ0NXW72GQE5ZP236A2R6"}],mediaQuery:[0,768]},{id:"01GWSGJEX8TF8FZ086CF0FR2QW",selector:".col-start-4--on-m",declarations:[{property:"grid-column",value:"4",fluidValue:[0,0,"px"],id:"01GWSGJ0NXW72GQE5ZP236A2R6"}],mediaQuery:[0,768]},{id:"01GWSGJG2KSC84HHV7EC6NE60M",selector:".col-start-5--on-m",declarations:[{property:"grid-column",value:"5",fluidValue:[0,0,"px"],id:"01GWSGJ0NXW72GQE5ZP236A2R6"}],mediaQuery:[0,768]},{id:"01GWSGJH8JBDPN1Y7ZJ45MZQYK",selector:".col-start-6--on-m",declarations:[{property:"grid-column",value:"6",fluidValue:[0,0,"px"],id:"01GWSGJ0NXW72GQE5ZP236A2R6"}],mediaQuery:[0,768]},{id:"01GWSGQPHNXRPN60GZ2F47W3DK",selector:".col-start-1--on-s",declarations:[{property:"grid-column-start",value:"1",fluidValue:[0,0,"px"],id:"01GWSGQPHPX50887YW8AT9SQE9"}],mediaQuery:[0,480]},{id:"01GWSGR129QJYPA78C7RG5CGYB",selector:".col-start-2--on-s",declarations:[{property:"grid-column-start",value:"2",fluidValue:[0,0,"px"],id:"01GWSGQPHPX50887YW8AT9SQE9"}],mediaQuery:[0,480]},{id:"01GWSGR4SJF0SH63MCBH8Z8R70",selector:".col-start-3--on-s",declarations:[{property:"grid-column-start",value:"3",fluidValue:[0,0,"px"],id:"01GWSGQPHPX50887YW8AT9SQE9"}],mediaQuery:[0,480]},{id:"01GWSGRE3BGXRD63DRTE5MSMTN",selector:".col-start-4--on-s",declarations:[{property:"grid-column-start",value:"4",fluidValue:[0,0,"px"],id:"01GWSGQPHPX50887YW8AT9SQE9"}],mediaQuery:[0,480]},{id:"01GWSGRFN3R3665TMGVCY0RM73",selector:".col-start-5--on-s",declarations:[{property:"grid-column-start",value:"5",fluidValue:[0,0,"px"],id:"01GWSGQPHPX50887YW8AT9SQE9"}],mediaQuery:[0,480]},{id:"01GWSGRGSX542Y3EE2535YNGHS",selector:".col-start-6--on-s",declarations:[{property:"grid-column-start",value:"6",fluidValue:[0,0,"px"],id:"01GWSGQPHPX50887YW8AT9SQE9"}],mediaQuery:[0,480]}]},{id:"6",name:"Grid Row Span",cssObjects:[{id:"01GTC7VTX188CRCQA1V1C0C7DT",selector:".row-span-2",declarations:[{property:"grid-row",value:"auto / span 2",fluidValue:[0,0,"px"],id:"01GTC7VTX1TKW3YW6KZDMTPAQV"}]},{id:"01GTC7X76MHRXYJB4D1RVGHTE3",selector:".row-span-3",declarations:[{property:"grid-row",value:"auto / span 3",fluidValue:[0,0,"px"],id:"01GTC7X76MTN5J1YZ67F89WWE2"}]},{id:"01GTC7XFPHKME3B7V1P6VMRHGC",selector:".row-span-4",declarations:[{property:"grid-row",value:"auto / span 4",fluidValue:[0,0,"px"],id:"01GTC7XFPHBHZ5XYX8CB11PFDG"}]},{id:"01GTC7XMZ5SD7W7XP0D1M0MSZR",selector:".row-span-5",declarations:[{property:"grid-row",value:"auto / span 5",fluidValue:[0,0,"px"],id:"01GTC7XMZ5H1VJPGJ2RX8JFK2K"}]},{id:"01GTC7XPB0XDKK8AWSTFE8B8B9",selector:".row-span-6",declarations:[{property:"grid-row",value:"auto / span 6",fluidValue:[0,0,"px"],id:"01GTC7XPB0A1A302CBVZP90ME8"}]},{id:"01H2D813FD5P86SCHXX18NN832",selector:".row-span-7",declarations:[{property:"grid-row",value:"auto / span 7",fluidValue:[0,0,"px"],id:"01GTC7XPB0A1A302CBVZP90ME8"}]},{id:"01H2D818MKBN3PVDC5D5KKJP7R",selector:".row-span-8",declarations:[{property:"grid-row",value:"auto / span 8",fluidValue:[0,0,"px"],id:"01GTC7XPB0A1A302CBVZP90ME8"}]},{id:"01GWSG28CFJMY0VV40Q10G2RRF",selector:".row-span-1--on-xl",declarations:[{property:"grid-row",value:"auto / span 1",fluidValue:[0,0,"px"],id:"01GWSG28CFGM3HSN5XWH1Q0PJ6"}],mediaQuery:[0,1400]},{id:"01GWSG2WWDCDGVKY3R1KQ1C22Y",selector:".row-span-2--on-xl",declarations:[{property:"grid-row",value:"auto / span 2",fluidValue:[0,0,"px"],id:"01GWSG28CFGM3HSN5XWH1Q0PJ6"}],mediaQuery:[0,1400]},{id:"01GWSG2VNQJ379B4P2VBX5JNPY",selector:".row-span-3--on-xl",declarations:[{property:"grid-row",value:"auto / span 3",fluidValue:[0,0,"px"],id:"01GWSG28CFGM3HSN5XWH1Q0PJ6"}],mediaQuery:[0,1400]},{id:"01GWSG2SNQ5ENSYX360H103HXM",selector:".row-span-4--on-xl",declarations:[{property:"grid-row",value:"auto / span 4",fluidValue:[0,0,"px"],id:"01GWSG28CFGM3HSN5XWH1Q0PJ6"}],mediaQuery:[0,1400]},{id:"01GWSG2PF6YC3DK1SNXSXTRF2F",selector:".row-span-5--on-xl",declarations:[{property:"grid-row",value:"auto / span 5",fluidValue:[0,0,"px"],id:"01GWSG28CFGM3HSN5XWH1Q0PJ6"}],mediaQuery:[0,1400]},{id:"01GWSG2MY5D4R0V2AQ39RVW3NX",selector:".row-span-6--on-xl",declarations:[{property:"grid-row",value:"auto / span 6",fluidValue:[0,0,"px"],id:"01GWSG28CFGM3HSN5XWH1Q0PJ6"}],mediaQuery:[0,1400]},{id:"01GWSGBNM4MNAZCJZBVCJNFT2N",selector:".row-span-1--on-l",declarations:[{property:"grid-row",value:"auto / span 1",fluidValue:[0,0,"px"],id:"01GWSGBNM40DJE1MKM9MD8FGN0"}],mediaQuery:[0,992]},{id:"01GWSGD8JY0Q1Q3ZKWMJWRCZ2D",selector:".row-span-2--on-l",declarations:[{property:"grid-row",value:"auto / span 2",fluidValue:[0,0,"px"],id:"01GWSGBNM40DJE1MKM9MD8FGN0"}],mediaQuery:[0,992]},{id:"01GWSGD9W2MRN2F55NDSVV75F2",selector:".row-span-3--on-l",declarations:[{property:"grid-row",value:"auto / span 3",fluidValue:[0,0,"px"],id:"01GWSGBNM40DJE1MKM9MD8FGN0"}],mediaQuery:[0,992]},{id:"01GWSGDB2NNVX9M7WD5V34NK0S",selector:".row-span-4--on-l",declarations:[{property:"grid-row",value:"auto / span 4",fluidValue:[0,0,"px"],id:"01GWSGBNM40DJE1MKM9MD8FGN0"}],mediaQuery:[0,992]},{id:"01GWSGDC80E6MH9W246YPMX9G5",selector:".row-span-5--on-l",declarations:[{property:"grid-row",value:"auto / span 5",fluidValue:[0,0,"px"],id:"01GWSGBNM40DJE1MKM9MD8FGN0"}],mediaQuery:[0,992]},{id:"01GWSGDDW4X9QQZTRDFDF1T7CX",selector:".row-span-6--on-l",declarations:[{property:"grid-row",value:"auto / span 6",fluidValue:[0,0,"px"],id:"01GWSGBNM40DJE1MKM9MD8FGN0"}],mediaQuery:[0,992]},{id:"01GWSGJYZZX6CZ1V48118AVK55",selector:".row-span-1--on-m",declarations:[{property:"grid-row",value:"auto / span 1",fluidValue:[0,0,"px"],id:"01GWSGJYZZHN0PVSTR40M7D5G6"}],mediaQuery:[0,768]},{id:"01GWSGKB5JGPHQ3SKHQV3AQT7S",selector:".row-span-2--on-m",declarations:[{property:"grid-row",value:"auto / span 2",fluidValue:[0,0,"px"],id:"01GWSGJYZZHN0PVSTR40M7D5G6"}],mediaQuery:[0,768]},{id:"01GWSGKCC7749JP8P12TZ5DCGP",selector:".row-span-3--on-m",declarations:[{property:"grid-row",value:"auto / span 3",fluidValue:[0,0,"px"],id:"01GWSGJYZZHN0PVSTR40M7D5G6"}],mediaQuery:[0,768]},{id:"01GWSGKDVFKH8DHSRTKYZDG4XB",selector:".row-span-4--on-m",declarations:[{property:"grid-row",value:"auto / span 4",fluidValue:[0,0,"px"],id:"01GWSGJYZZHN0PVSTR40M7D5G6"}],mediaQuery:[0,768]},{id:"01GWSGKFEXS8P7014NW8CJ2G3A",selector:".row-span-5--on-m",declarations:[{property:"grid-row",value:"auto / span 5",fluidValue:[0,0,"px"],id:"01GWSGJYZZHN0PVSTR40M7D5G6"}],mediaQuery:[0,768]},{id:"01GWSGKGVZE8ZS8NKXACHT2KBT",selector:".row-span-6--on-m",declarations:[{property:"grid-row",value:"auto / span 6",fluidValue:[0,0,"px"],id:"01GWSGJYZZHN0PVSTR40M7D5G6"}],mediaQuery:[0,768]},{id:"01GWSGRBQ2H6EX1305M2YX3N8E",selector:".row-span-1--on-s",declarations:[{property:"grid-row",value:"auto / span 1",fluidValue:[0,0,"px"],id:"01GWSGRBQ244P2W1HW94S7F2VV"}],mediaQuery:[0,480]},{id:"01GWSGS60DJEQT6R091EP45CPA",selector:".row-span-2--on-s",declarations:[{property:"grid-row",value:"auto / span 2",fluidValue:[0,0,"px"],id:"01GWSGRBQ244P2W1HW94S7F2VV"}],mediaQuery:[0,480]},{id:"01GWSGSK0YXK7R03SQXT5G0RW6",selector:".row-span-3--on-s",declarations:[{property:"grid-row",value:"auto / span 3",fluidValue:[0,0,"px"],id:"01GWSGRBQ244P2W1HW94S7F2VV"}],mediaQuery:[0,480]},{id:"01GWSGSXJB3A1P31F416C8J1XH",selector:".row-span-4--on-s",declarations:[{property:"grid-row",value:"auto / span 4",fluidValue:[0,0,"px"],id:"01GWSGRBQ244P2W1HW94S7F2VV"}],mediaQuery:[0,480]},{id:"01GWSGT245QWRABTPEY950K1S8",selector:".row-span-5--on-s",declarations:[{property:"grid-row",value:"auto / span 5",fluidValue:[0,0,"px"],id:"01GWSGRBQ244P2W1HW94S7F2VV"}],mediaQuery:[0,480]},{id:"01GWSGT7GJ9W3E6Y0ERNF71946",selector:".row-span-6--on-s",declarations:[{property:"grid-row",value:"auto / span 6",fluidValue:[0,0,"px"],id:"01GWSGRBQ244P2W1HW94S7F2VV"}],mediaQuery:[0,480]}]},{id:"7",name:"Grid Row Start",cssObjects:[{id:"01GTC7TKP29FGAX9YJM6DA8VH2",selector:".row-start-1",declarations:[{property:"grid-row-start",value:"1",fluidValue:[0,0,"px"],id:"01GTC7TKP2P06YVQD7CHRH0MRX"}]},{id:"01H5YVFXAE0JB8WDJAJTZHDQCH",selector:".row-start-2",declarations:[{property:"grid-row-start",value:"2",fluidValue:[0,0,"px"],id:"01GTC7TKP2P06YVQD7CHRH0MRX"}]},{id:"01GTC7TWYER6G48BCAF4JYN88M",selector:".row-start-3",declarations:[{property:"grid-row-start",value:"3",fluidValue:[0,0,"px"],id:"01GTC7TWYEAV0G3XHCV8DMREYF"}]},{id:"01GTC7TXSHJTZ5VEMZB6GRHRDX",selector:".row-start-4",declarations:[{property:"grid-row-start",value:"4",fluidValue:[0,0,"px"],id:"01GTC7TXSHPKJH81GT8D5VTFS5"}]},{id:"01GTC7TZJM7AGSANHMZ3CCQ49F",selector:".row-start-5",declarations:[{property:"grid-row-start",value:"5",fluidValue:[0,0,"px"],id:"01GTC7TZJM61F7DQDB264Q40Q0"}]},{id:"01GTC7V08DSCE8BPCZP3CZDG8G",selector:".row-start-6",declarations:[{property:"grid-row-start",value:"6",fluidValue:[0,0,"px"],id:"01GTC7V08DBK3MBM20R0KT196Y"}]},{id:"01H2D81F5DCTZCTR3ANYEHWR5B",selector:".row-start-7",declarations:[{property:"grid-row-start",value:"7",fluidValue:[0,0,"px"],id:"01GTC7V08DBK3MBM20R0KT196Y"}]},{id:"01H2D81N3M5E67GGHQG80TABK2",selector:".row-start-8",declarations:[{property:"grid-row-start",value:"8",fluidValue:[0,0,"px"],id:"01GTC7V08DBK3MBM20R0KT196Y"}]},{id:"01GWSG3FXNK5WHCHGEMT13BX2G",selector:".row-start-1--on-xl",declarations:[{property:"grid-row-start",value:"1",fluidValue:[0,0,"px"],id:"01GWSG3FXNC2Y8DSD75T1JSQE4"}],mediaQuery:[0,1400]},{id:"01GWSG3X234JA706AQHG19NZKW",selector:".row-start-2--on-xl",declarations:[{property:"grid-row-start",value:"2",fluidValue:[0,0,"px"],id:"01GWSG3FXNC2Y8DSD75T1JSQE4"}],mediaQuery:[0,1400]},{id:"01GWSG3YJBBAWDYQMRDG61GWH6",selector:".row-start-3--on-xl",declarations:[{property:"grid-row-start",value:"3",fluidValue:[0,0,"px"],id:"01GWSG3FXNC2Y8DSD75T1JSQE4"}],mediaQuery:[0,1400]},{id:"01GWSG40GS1VP82M4WJDTD60JB",selector:".row-start-4--on-xl",declarations:[{property:"grid-row-start",value:"4",fluidValue:[0,0,"px"],id:"01GWSG3FXNC2Y8DSD75T1JSQE4"}],mediaQuery:[0,1400]},{id:"01GWSG421Q264925RN606HK7J5",selector:".row-start-5--on-xl",declarations:[{property:"grid-row-start",value:"5",fluidValue:[0,0,"px"],id:"01GWSG3FXNC2Y8DSD75T1JSQE4"}],mediaQuery:[0,1400]},{id:"01GWSG443B0YD8EJY5PNFEWTTW",selector:".row-start-6--on-xl",declarations:[{property:"grid-row-start",value:"6",fluidValue:[0,0,"px"],id:"01GWSG3FXNC2Y8DSD75T1JSQE4"}],mediaQuery:[0,1400]},{id:"01GWSGDZD2X26AXF10C17RM9XQ",selector:".row-start-1--on-l",declarations:[{property:"grid-row-start",value:"1",fluidValue:[0,0,"px"],id:"01GWSGDZD2ZQJE5V0NQTZVJ49B"}],mediaQuery:[0,992]},{id:"01GWSGEAR3GAHZZVZM49M04BVV",selector:".row-start-2--on-l",declarations:[{property:"grid-row-start",value:"2",fluidValue:[0,0,"px"],id:"01GWSGDZD2ZQJE5V0NQTZVJ49B"}],mediaQuery:[0,992]},{id:"01GWSGECDJ955GGVRST41H2HQ4",selector:".row-start-3--on-l",declarations:[{property:"grid-row-start",value:"3",fluidValue:[0,0,"px"],id:"01GWSGDZD2ZQJE5V0NQTZVJ49B"}],mediaQuery:[0,992]},{id:"01GWSGEDR5YYZ6ZHCXJA6S8GPW",selector:".row-start-4--on-l",declarations:[{property:"grid-row-start",value:"4",fluidValue:[0,0,"px"],id:"01GWSGDZD2ZQJE5V0NQTZVJ49B"}],mediaQuery:[0,992]},{id:"01GWSGEFQ18Z01ZTDAQ3JRC607",selector:".row-start-5--on-l",declarations:[{property:"grid-row-start",value:"5",fluidValue:[0,0,"px"],id:"01GWSGDZD2ZQJE5V0NQTZVJ49B"}],mediaQuery:[0,992]},{id:"01GWSGEH78QXK7SH6M0SFR6J7X",selector:".row-start-6--on-l",declarations:[{property:"grid-row-start",value:"6",fluidValue:[0,0,"px"],id:"01GWSGDZD2ZQJE5V0NQTZVJ49B"}],mediaQuery:[0,992]},{id:"01GWSGKYMBXWBK0XZ9GMM4SQF8",selector:".row-start-1--on-m",declarations:[{property:"grid-row-start",value:"1",fluidValue:[0,0,"px"],id:"01GWSGKYMBN93PVREXJK58A2GW"}],mediaQuery:[0,768]},{id:"01GWSGM87GV2XNYYCRFT9DNQXE",selector:".row-start-2--on-m",declarations:[{property:"grid-row-start",value:"2",fluidValue:[0,0,"px"],id:"01GWSGKYMBN93PVREXJK58A2GW"}],mediaQuery:[0,768]},{id:"01GWSGM9S160T8YQB65Y1D18SS",selector:".row-start-3--on-m",declarations:[{property:"grid-row-start",value:"3",fluidValue:[0,0,"px"],id:"01GWSGKYMBN93PVREXJK58A2GW"}],mediaQuery:[0,768]},{id:"01GWSGMB56YCG505DVMNSQ7R4G",selector:".row-start-4--on-m",declarations:[{property:"grid-row-start",value:"4",fluidValue:[0,0,"px"],id:"01GWSGKYMBN93PVREXJK58A2GW"}],mediaQuery:[0,768]},{id:"01GWSGMEZNM39F59RPEVR6CAJ2",selector:".row-start-5--on-m",declarations:[{property:"grid-row-start",value:"5",fluidValue:[0,0,"px"],id:"01GWSGKYMBN93PVREXJK58A2GW"}],mediaQuery:[0,768]},{id:"01GWSGMDGVPA0Y0QFYP8W9VDTW",selector:".row-start-6--on-m",declarations:[{property:"grid-row-start",value:"6",fluidValue:[0,0,"px"],id:"01GWSGKYMBN93PVREXJK58A2GW"}],mediaQuery:[0,768]},{id:"01GWSGVXRCP6A1Z3T2B093XHRH",selector:".row-start-1--on-s",declarations:[{property:"grid-row-start",value:"1",fluidValue:[0,0,"px"],id:"01GWSGVXRC21WS0NAWZ843QPDJ"}],mediaQuery:[0,480]},{id:"01GWSGWJQX653MBJG9QQ9RP25S",selector:".row-start-2--on-s",declarations:[{property:"grid-row-start",value:"2",fluidValue:[0,0,"px"],id:"01GWSGVXRC21WS0NAWZ843QPDJ"}],mediaQuery:[0,480]},{id:"01GWSGWMDKCC6T8S27R48DVK3M",selector:".row-start-3--on-s",declarations:[{property:"grid-row-start",value:"3",fluidValue:[0,0,"px"],id:"01GWSGVXRC21WS0NAWZ843QPDJ"}],mediaQuery:[0,480]},{id:"01GWSGWPA0RT9DNVEZ08XMYDN7",selector:".row-start-4--on-s",declarations:[{property:"grid-row-start",value:"4",fluidValue:[0,0,"px"],id:"01GWSGVXRC21WS0NAWZ843QPDJ"}],mediaQuery:[0,480]},{id:"01GWSGWQSSY2Z9D7FX64ZQWSKP",selector:".row-start-5--on-s",declarations:[{property:"grid-row-start",value:"5",fluidValue:[0,0,"px"],id:"01GWSGVXRC21WS0NAWZ843QPDJ"}],mediaQuery:[0,480]},{id:"01GWSGWS86ZC53A8YAE5948A5S",selector:".row-start-6--on-s",declarations:[{property:"grid-row-start",value:"6",fluidValue:[0,0,"px"],id:"01GWSGVXRC21WS0NAWZ843QPDJ"}],mediaQuery:[0,480]}]},{id:"01FSAJW86GMKQ8PBKBC1W2BNVM",name:"Alignments",cssObjects:[{id:"01GWSKK6M0PWCTMNP59SEJWWS2",selector:".items-left",declarations:[{property:"justify-items",value:"start",fluidValue:[0,0,"px"],id:"01GWSKK6M0MQ3HYM0HCGMMW670"}]},{id:"01GXVT13NQHNKYCR8Q0XMJDF2Q",selector:".content-left",declarations:[{property:"justify-content",value:"start",fluidValue:[0,0,"px"],id:"01GWSKK6M0MQ3HYM0HCGMMW670"}]},{id:"01GWSKKWVBGCE10TVVAX69T3AC",selector:".items-center",declarations:[{property:"justify-items",value:"center",fluidValue:[0,0,"px"],id:"01GWSKK6M0MQ3HYM0HCGMMW670"}]},{id:"01GXVT1EZ4EK5AZAARDWXM5WS9",selector:".content-center",declarations:[{property:"justify-content",value:"center",fluidValue:[0,0,"px"],id:"01GWSKK6M0MQ3HYM0HCGMMW670"}]},{id:"01GWSKM2HKFHB7Q5DA95R8W9MP",selector:".items-right",declarations:[{property:"justify-items",value:"end",fluidValue:[0,0,"px"],id:"01GWSKK6M0MQ3HYM0HCGMMW670"}]},{id:"01GXVT1NCZD017BKKKCF4XRZPN",selector:".content-right",declarations:[{property:"justify-content",value:"end",fluidValue:[0,0,"px"],id:"01GWSKK6M0MQ3HYM0HCGMMW670"}]},{id:"01GWSKM9A53VT71CMKWSQGMC0G",selector:".items-top",declarations:[{property:"align-items",value:"start",fluidValue:[0,0,"px"],id:"01GWSKM9A58PDJMEBHNP912A1N"}]},{id:"01GXVT1VZC67G92WMZJSR5AJF2",selector:".content-top",declarations:[{property:"align-content",value:"start",fluidValue:[0,0,"px"],id:"01GWSKM9A58PDJMEBHNP912A1N"}]},{id:"01GWSKN0QEWWN9H2MT8RENA4N6",selector:".items-middle",declarations:[{property:"align-items",value:"center",fluidValue:[0,0,"px"],id:"01GWSKM9A58PDJMEBHNP912A1N"}]},{id:"01GXVT286360DAEWWJGY3AV2EH",selector:".content-middle",declarations:[{property:"align-content",value:"center",fluidValue:[0,0,"px"],id:"01GWSKM9A58PDJMEBHNP912A1N"}]},{id:"01GWSKN73EH2TPGX60KG8E53Q4",selector:".items-bottom",declarations:[{property:"align-items",value:"end",fluidValue:[0,0,"px"],id:"01GWSKM9A58PDJMEBHNP912A1N"}]},{id:"01GXVT2G5J761CSXNXHATVRRJ0",selector:".content-bottom",declarations:[{property:"align-content",value:"end",fluidValue:[0,0,"px"],id:"01GWSKM9A58PDJMEBHNP912A1N"}]},{id:"01GXVSY3TWS9DKTXGN3Q4HFT31",selector:".items-stretch",declarations:[{property:"align-items",value:"stretch",fluidValue:[0,0,"px"],id:"01GWSKM9A58PDJMEBHNP912A1N"}]},{id:"01GXVT36DM0FRZEMGF2N01FEVY",selector:".content-stretch",declarations:[{property:"justify-content",value:"stretch",fluidValue:[0,0,"px"],id:"01GWSKM9A58PDJMEBHNP912A1N"}]},{id:"01GXVT2R1KWCNQ1BY1D2XV6KRJ",selector:".space-between",declarations:[{property:"justify-content",value:"space-between",fluidValue:[0,0,"px"],id:"01GWSKM9A58PDJMEBHNP912A1N"}]},{id:"01GXVT2ZGJKX4D16TCKHHANBSP",selector:".space-around",declarations:[{property:"justify-content",value:"space-around",fluidValue:[0,0,"px"],id:"01GWSKM9A58PDJMEBHNP912A1N"}]}]},{id:"01GXW3WXXTN3TYEWB8PHW8GJRA",name:"Self Alignments",cssObjects:[{id:"01GXW3WXXYXRQRGGB52FBZX4A9",selector:".self-left",declarations:[{property:"margin-right",value:"auto",fluidValue:[0,0,"px"],id:"01GXW3WXXY1PAT7AH2E10EWVSG"},{property:"place-self",value:"start",fluidValue:[0,0,"px"],id:"01GXW3XQWXJCF628MDYYZFDEDF"}]},{id:"01GXW3Y0APTGT20ZCJ71TPH7JR",selector:".self-center",declarations:[{property:"margin-inline",value:"auto",fluidValue:[0,0,"px"],id:"01GXW3WXXY1PAT7AH2E10EWVSG"},{property:"place-self",value:"center",fluidValue:[0,0,"px"],id:"01GXW3XQWXJCF628MDYYZFDEDF"}]},{id:"01GXW3ZEGET29MEXFWD4RSA7NF",selector:".self-right",declarations:[{property:"margin-left",value:"auto",fluidValue:[0,0,"px"],id:"01GXW3WXXY1PAT7AH2E10EWVSG"},{property:"place-self",value:"end",fluidValue:[0,0,"px"],id:"01GXW3XQWXJCF628MDYYZFDEDF"}]},{id:"01GXW3ZXDF9JGYCWR6PYZPC3TT",selector:".self-top",declarations:[{property:"margin-bottom",value:"auto",fluidValue:[0,0,"px"],id:"01GXW3WXXY1PAT7AH2E10EWVSG"},{property:"align-self",value:"start",fluidValue:[0,0,"px"],id:"01GXW3XQWXJCF628MDYYZFDEDF"}]},{id:"01GXW407NPDMN7NT5T329YYK4P",selector:".self-middle",declarations:[{property:"margin-block",value:"auto",fluidValue:[0,0,"px"],id:"01GXW3WXXY1PAT7AH2E10EWVSG"},{property:"align-self",value:"center",fluidValue:[0,0,"px"],id:"01GXW3XQWXJCF628MDYYZFDEDF"}]},{id:"01GXW4099SCPSSG45N6DQ63BT9",selector:".self-bottom",declarations:[{property:"margin-top",value:"auto",fluidValue:[0,0,"px"],id:"01GXW3WXXY1PAT7AH2E10EWVSG"},{property:"align-self",value:"end",fluidValue:[0,0,"px"],id:"01GXW3XQWXJCF628MDYYZFDEDF"}]},{id:"01GXW419Z74S9KTPQ9M4MQ257Y",selector:".self-stretch",declarations:[{property:"align-self",value:"stretch",fluidValue:[0,0,"px"],id:"01GXW419Z78E4P371BHQH59AMF"}]}]},{id:"01H5YVSTJ0BTAKP5PNK4G76ZB3",name:"Dimensions",cssObjects:[{id:"01H7XEF9WWEYHY04BPYNAA5G9F",selector:".full-width",declarations:[{property:"width",value:"100%",fluidValue:[0,0,"px"],id:"01H5YVSTJ0QNJEX4YC47PHPTVQ"}]},{id:"01H7XEFMHJFQR9KYHGZRCC131Q",selector:".full-height",declarations:[{property:"height",value:"100%",fluidValue:[0,0,"px"],id:"01H5YVYWBFBAXR3388SQQHNHQT"}]},{id:"01H5YVSTJ090QVRFDW20M03H6S",selector:".screen-width",declarations:[{property:"width",value:"100vw",fluidValue:[0,0,"px"],id:"01H5YVSTJ0QNJEX4YC47PHPTVQ"}]},{id:"01H5YVYWBF3WVC3WEV8KE56064",selector:".screen-height",declarations:[{property:"height",value:"100vh",fluidValue:[0,0,"px"],id:"01H5YVYWBFBAXR3388SQQHNHQT"}]},{id:"01H5YVZN914EYAW0CH4JFP1ETE",selector:".auto-width",declarations:[{property:"width",value:"auto",fluidValue:[0,0,"px"],id:"01H5YVSTJ0QNJEX4YC47PHPTVQ"}]},{id:"01H5YW01PTGET894SAGW1ZFW2K",selector:".auto-height",declarations:[{property:"height",value:"auto",fluidValue:[0,0,"px"],id:"01H5YVYWBFBAXR3388SQQHNHQT"}]},{id:"01H5YVTV75MF9NYQM9E500FP71",selector:".width-90",declarations:[{property:"width",value:"90%",fluidValue:[0,0,"px"],id:"01H5YVSTJ0QNJEX4YC47PHPTVQ"}]},{id:"01H5YVV240Z1V08M98Q0Z324AH",selector:".width-80",declarations:[{property:"width",value:"80%",fluidValue:[0,0,"px"],id:"01H5YVSTJ0QNJEX4YC47PHPTVQ"}]},{id:"01H5YVV44MGAMCT70MWWTNY8W6",selector:".width-70",declarations:[{property:"width",value:"70%",fluidValue:[0,0,"px"],id:"01H5YVSTJ0QNJEX4YC47PHPTVQ"}]},{id:"01H5YVV5XFJFXN22ZEVB9B6ZWP",selector:".width-60",declarations:[{property:"width",value:"60%",fluidValue:[0,0,"px"],id:"01H5YVSTJ0QNJEX4YC47PHPTVQ"}]},{id:"01H5YVV7QCGB9T600GYGB2HWJ9",selector:".width-50",declarations:[{property:"width",value:"50%",fluidValue:[0,0,"px"],id:"01H5YVSTJ0QNJEX4YC47PHPTVQ"}]},{id:"01H5YVVEVYTTPBGVKYA0Z7YC3E",selector:".width-40",declarations:[{property:"width",value:"40%",fluidValue:[0,0,"px"],id:"01H5YVSTJ0QNJEX4YC47PHPTVQ"}]},{id:"01H5YVV993TVQKNFQ5KNXJGWEB",selector:".width-30",declarations:[{property:"width",value:"30%",fluidValue:[0,0,"px"],id:"01H5YVSTJ0QNJEX4YC47PHPTVQ"}]},{id:"01H5YVVB3B90VA80KCGYQ2PDTX",selector:".width-20",declarations:[{property:"width",value:"20%",fluidValue:[0,0,"px"],id:"01H5YVSTJ0QNJEX4YC47PHPTVQ"}]},{id:"01H5YVVD151YCE48Y9B94FC8V8",selector:".width-10",declarations:[{property:"width",value:"10%",fluidValue:[0,0,"px"],id:"01H5YVSTJ0QNJEX4YC47PHPTVQ"}]}]},{id:"01GXDTDXJ18QFMXDG8TXGDVSJ1",name:"Max Width",cssObjects:[{id:"01GXK75734DAA6B9GH1PZQME6R",selector:".max-site-width",declarations:[{property:"max-width",value:"var(--max-screen-width)",fluidValue:[0,0,"px"],id:"01GXK757343GYTGVAEMZWG9CEE"},{property:"width",value:"100%",fluidValue:[0,0,"px"],id:"01H3CN8E6WYFTJ6H31R1Y6JM9N"}]},{id:"01GXW1SGAAMNPXWXFYRC4VGAMW",selector:".max-width-140",declarations:[{property:"max-width",value:"140rem",fluidValue:[0,0,"px"],id:"01GXK757343GYTGVAEMZWG9CEE"}]},{id:"01GXW1T2NH399SFS8BCGD3T8RX",selector:".max-width-130",declarations:[{property:"max-width",value:"130rem",fluidValue:[0,0,"px"],id:"01GXK757343GYTGVAEMZWG9CEE"}]},{id:"01GXKCHBXKV7AZB8JPN5Y41BWZ",selector:".max-width-120",declarations:[{property:"max-width",value:"120rem",fluidValue:[0,0,"px"],id:"01GXK757343GYTGVAEMZWG9CEE"}]},{id:"01GXW1MX34Z6V6ZS81G92GV97P",selector:".max-width-110",declarations:[{property:"max-width",value:"110rem",fluidValue:[0,0,"px"],id:"01GXK757343GYTGVAEMZWG9CEE"}]},{id:"01GXW1MVFDKK3CVSZHGRVS6YG9",selector:".max-width-100",declarations:[{property:"max-width",value:"100rem",fluidValue:[0,0,"px"],id:"01GXK757343GYTGVAEMZWG9CEE"}]},{id:"01GXK75QJC7ZX4R0YH10XE58JJ",selector:".max-width-90",declarations:[{property:"max-width",value:"90rem",fluidValue:[0,0,"px"],id:"01GXK757343GYTGVAEMZWG9CEE"}]},{id:"01GXK75Z6ZWQQGCD4BFTAD2ZEA",selector:".max-width-80",declarations:[{property:"max-width",value:"80rem",fluidValue:[0,0,"px"],id:"01GXK757343GYTGVAEMZWG9CEE"}]},{id:"01GXK7618SAYXVHAE1XHY2XDXH",selector:".max-width-70",declarations:[{property:"max-width",value:"70rem",fluidValue:[0,0,"px"],id:"01GXK757343GYTGVAEMZWG9CEE"}]},{id:"01GXK763PRJF9AHTM9V0K62A47",selector:".max-width-60",declarations:[{property:"max-width",value:"60rem",fluidValue:[0,0,"px"],id:"01GXK757343GYTGVAEMZWG9CEE"}]},{id:"01GXK765WQ0JK70GB64K5WNQ0Z",selector:".max-width-50",declarations:[{property:"max-width",value:"50rem",fluidValue:[0,0,"px"],id:"01GXK757343GYTGVAEMZWG9CEE"}]},{id:"01GXK767EPTJ8W6MNV93CM0RVS",selector:".max-width-40",declarations:[{property:"max-width",value:"40rem",fluidValue:[0,0,"px"],id:"01GXK757343GYTGVAEMZWG9CEE"}]},{id:"01GXK773HNNJWFQTX33MTC8DY6",selector:".max-width-30",declarations:[{property:"max-width",value:"30rem",fluidValue:[0,0,"px"],id:"01GXK757343GYTGVAEMZWG9CEE"}]},{id:"01GXK775A7WC6BC0C3S6TFBMJS",selector:".max-width-20",declarations:[{property:"max-width",value:"20rem",fluidValue:[0,0,"px"],id:"01GXK757343GYTGVAEMZWG9CEE"}]},{id:"01GXK777WVZAC0ZKV9BY2VKS7H",selector:".max-width-10",declarations:[{property:"max-width",value:"10rem",fluidValue:[0,0,"px"],id:"01GXK757343GYTGVAEMZWG9CEE"}]}]}],designStyles:[{id:"01H2EGNWS2X44N2YW897SFK32N",name:"Border Radius - Vars",cssObjects:[{id:"01H2EGNWS2P4PRZ3S19R4VGE7R",selector:":root",declarations:[{property:"--radius-xs",value:"0.25rem",type:"fluid",fluidValue:[4,4,"px"],colorValue:"",id:"01H4DVCQDXGYP2FJA5DH0PZSP4"},{property:"--radius-s",value:".5rem",type:"fluid",fluidValue:[6,8,"px"],colorValue:"",id:"01H2EGNWS2TK937Z2R7YZECFQA"},{property:"--radius-m",value:".75rem",type:"fluid",fluidValue:[10,12,"px"],colorValue:"",id:"01H2EGQAPBM380XY32W420XP6X"},{property:"--radius-l",value:"1.25rem",type:"fluid",fluidValue:[16,20,"px"],colorValue:"",id:"01H2EGQH9YV6DHJETPKMPMHEP3"},{property:"--radius-xl",value:"2rem",type:"fluid",fluidValue:[26,32,"px"],colorValue:"",id:"01H5YW641DYAXGGFP339JBX1R9"},{property:"--radius-full",value:"999rem",id:"01H2EGQQR63YMBB2T4TVYG2753"}]}],type:"variable"},{id:"01GTC7ZMVYFBCVJQA1TWE28GWD",name:"Border Radius",cssObjects:[{id:"01GTC80AA0X5HJA92QZ81MG9XG",selector:".radius-xs",declarations:[{property:"border-radius",value:"var(--radius-xs)",fluidValue:[0,0,"px"],id:"01GTC80AA0EB5G9JDBF5Z7H70K"}]},{id:"01H4DVD63C61H6DEQZ7K25WMBK",selector:".radius-s",declarations:[{property:"border-radius",value:"var(--radius-s)",fluidValue:[0,0,"px"],id:"01GTC80AA0EB5G9JDBF5Z7H70K"}]},{id:"01GXW0ZVPE35AVVCZ7KF8E161E",selector:".radius-m",declarations:[{property:"border-radius",value:"var(--radius-m)",fluidValue:[0,0,"px"],id:"01GTC80AA0EB5G9JDBF5Z7H70K"}]},{id:"01GXBWN81WBABDQ0YBZTWQ88GF",selector:".radius-l",declarations:[{property:"border-radius",value:"var(--radius-l)",fluidValue:[0,0,"px"],id:"01GTC80AA0EB5G9JDBF5Z7H70K"}]},{id:"01H5YW7SGNW52675XJ6MR4MWB3",selector:".radius-xl",declarations:[{property:"border-radius",value:"var(--radius-xl)",fluidValue:[0,0,"px"],id:"01GTC80AA0EB5G9JDBF5Z7H70K"}]},{id:"01GXK8F621FX2B5B9VG488TJYR",selector:".radius-full",declarations:[{property:"border-radius",value:"var(--radius-full)",fluidValue:[0,0,"px"],id:"01GXK8F621AYQGBMTQY69EFZMV"}]}]},{id:"01H4DVF15W2F34MV2K95S3FSH2",name:"Borders",cssObjects:[{id:"01H4DVF15WJDGWA6V8YDV0RNN2",selector:".border",declarations:[{property:"border-width",value:"1px",fluidValue:[0,0,"px"],id:"01H4DVF15WJTC9CTS1CP5ZM8SW"},{property:"border-style",value:"solid",fluidValue:[0,0,"px"],id:"01H4DVZF08WA4P9H905ZGD8G08"}]},{id:"01H4DW2B0W28ZCY5T4DVW27SXT",selector:".border-left",declarations:[{property:"border-left-width",value:"1px",fluidValue:[0,0,"px"],id:"01H4DVF15WJTC9CTS1CP5ZM8SW"},{property:"border-left-style",value:"solid",fluidValue:[0,0,"px"],id:"01H4DVZF08WA4P9H905ZGD8G08"}]},{id:"01H4DW2A2W8XB8EHZ97V3FTFQN",selector:".border-right",declarations:[{property:"border-right-width",value:"1px",fluidValue:[0,0,"px"],id:"01H4DVF15WJTC9CTS1CP5ZM8SW"},{property:"border-right-style",value:"solid",fluidValue:[0,0,"px"],id:"01H4DVZF08WA4P9H905ZGD8G08"}]},{id:"01H4DW295GW19J854B8JR9A5NN",selector:".border-top",declarations:[{property:"border-top-width",value:"1px",fluidValue:[0,0,"px"],id:"01H4DVF15WJTC9CTS1CP5ZM8SW"},{property:"border-top-style",value:"solid",fluidValue:[0,0,"px"],id:"01H4DVZF08WA4P9H905ZGD8G08"}]},{id:"01H4DW281561DT9BQZQE64B8Q6",selector:".border-bottom",declarations:[{property:"border-bottom-width",value:"1px",fluidValue:[0,0,"px"],id:"01H4DVF15WJTC9CTS1CP5ZM8SW"},{property:"border-bottom-style",value:"solid",fluidValue:[0,0,"px"],id:"01H4DVZF08WA4P9H905ZGD8G08"}]}]},{id:"01H4DV7QQKNR83PNVWXJB3P1YG",name:"Box Shadow - Vars",cssObjects:[{id:"01H4DV7QQKAP3SC73QTP8K58EK",selector:":root",declarations:[{property:"--shadow-xs",value:"0 1px 2px var(--shadow-primary)",id:"01H5YV6ZBF21ZDEFNZ8XQDVE56"},{property:"--shadow-s",value:"0 1.5px 3px var(--shadow-primary)",id:"01H4DV7QQKCEYDRWBQA1PVEG47"},{property:"--shadow-m",value:"0 2px 6px var(--shadow-primary)",id:"01H5YV6H0RTJ2FF47FMJDEQGH7"},{property:"--shadow-l",value:"0 3px 12px var(--shadow-primary)",id:"01H4DV8CRDCBMSMXVJ90JQ656T"},{property:"--shadow-xl",value:"0 6px 48px var(--shadow-primary)",id:"01H4DV8DRXXGMS1228NXWG2B0R"}]}],type:"variable"},{id:"01GXKA17A82WXG7DEG2ZDYMV0R",name:"Shadows",cssObjects:[{id:"01GXKA17A8GJS28BQAK2Y3ZGSB",selector:".shadow-xs",declarations:[{property:"box-shadow",value:"var(--shadow-xs)",fluidValue:[0,0,"px"],id:"01GXKA17A80W3VHYPZZ65DXXHG"}]},{id:"01H5YVAVM12PHK4A77F5WVCWWX",selector:".shadow-s",declarations:[{property:"box-shadow",value:"var(--shadow-s)",fluidValue:[0,0,"px"],id:"01GXKA17A80W3VHYPZZ65DXXHG"}]},{id:"01GXKA45V5F75435GSR3255G61",selector:".shadow-m",declarations:[{property:"box-shadow",value:"var(--shadow-m)",fluidValue:[0,0,"px"],id:"01GXKA17A80W3VHYPZZ65DXXHG"}]},{id:"01GXKA47GJKNFGGHGJG1XW4E66",selector:".shadow-l",declarations:[{property:"box-shadow",value:"var(--shadow-l)",fluidValue:[0,0,"px"],id:"01GXKA17A80W3VHYPZZ65DXXHG"}]},{id:"01H5YVAX8111S78V3AE4384DX1",selector:".shadow-xl",declarations:[{property:"box-shadow",value:"var(--shadow-xl)",fluidValue:[0,0,"px"],id:"01GXKA17A80W3VHYPZZ65DXXHG"}]}]},{id:"01GTC83ZQZQZQZQZQZQZQZQZQZ",name:"Opacity",cssObjects:[{id:"01GXDTHQRKZ9JGWT01VZJWGNEM",selector:".opacity-0",declarations:[{property:"opacity",value:"0",fluidValue:[0,0,"px"],id:"01GXDTHQRMXRNVP0VXCBQ4NCP3"}]},{id:"01GWSJGCE02K3DY0GZ0Y62CHGM",selector:".opacity-10",declarations:[{property:"opacity",value:"0.1",fluidValue:[0,0,"px"],id:"01GWSJGCE055RTPJV22YFT2ZBS"}]},{id:"01GWSJGZJZ0KNRG24YK2WCA7GH",selector:".opacity-20",declarations:[{property:"opacity",value:"0.2",fluidValue:[0,0,"px"],id:"01GWSJGCE055RTPJV22YFT2ZBS"}]},{id:"01GWSJH19YF2E8BJ89TT28BT82",selector:".opacity-30",declarations:[{property:"opacity",value:"0.3",fluidValue:[0,0,"px"],id:"01GWSJGCE055RTPJV22YFT2ZBS"}]},{id:"01GWSJH36CGMJGKH0RX05BP2PY",selector:".opacity-40",declarations:[{property:"opacity",value:"0.4",fluidValue:[0,0,"px"],id:"01GWSJGCE055RTPJV22YFT2ZBS"}]},{id:"01GWSJH4YJGM0S057BJCQ97303",selector:".opacity-50",declarations:[{property:"opacity",value:"0.5",fluidValue:[0,0,"px"],id:"01GWSJGCE055RTPJV22YFT2ZBS"}]},{id:"01GWSJH7ABPDXFVZ5KDDAB9CS7",selector:".opacity-60",declarations:[{property:"opacity",value:"0.6",fluidValue:[0,0,"px"],id:"01GWSJGCE055RTPJV22YFT2ZBS"}]},{id:"01GWSJH9M3DND3P6KPD8ZVTTJ4",selector:".opacity-70",declarations:[{property:"opacity",value:"0.7",fluidValue:[0,0,"px"],id:"01GWSJGCE055RTPJV22YFT2ZBS"}]},{id:"01GWSJHB97061AJ2N492V2JQ24",selector:".opacity-80",declarations:[{property:"opacity",value:"0.8",fluidValue:[0,0,"px"],id:"01GWSJGCE055RTPJV22YFT2ZBS"}]},{id:"01GWSJHD3YE7HTD62BVP55GDNB",selector:".opacity-90",declarations:[{property:"opacity",value:"0.9",fluidValue:[0,0,"px"],id:"01GWSJGCE055RTPJV22YFT2ZBS"}]},{id:"01GWSJHFNKVF8K7FW83701AC1Z",selector:".opacity-100",declarations:[{property:"opacity",value:"1",fluidValue:[0,0,"px"],id:"01GWSJGCE055RTPJV22YFT2ZBS"}]}]},{id:"01H6C0GJSF6T704SN3795A6F9J",name:"Aspect Ratios",cssObjects:[{id:"01H6C0GJSFVMJD3KHQMRMHQ8FM",selector:".aspect-1",declarations:[{property:"aspect-ratio",value:"1",fluidValue:[0,0,"px"],id:"01H6C0GJSF89JKBZAHTY5EVH1J"}]},{id:"01H7WY3AEA2H0DZH51KZWD2VCP",selector:".aspect-4-3",declarations:[{property:"aspect-ratio",value:"4 / 3",fluidValue:[0,0,"px"],id:"01H7WY3AEA76CPM0M91AXND6HM"}]},{id:"01H7WY5XJV2EPYNXWC570QEKE6",selector:".aspect-3-4",declarations:[{property:"aspect-ratio",value:"3 / 4",fluidValue:[0,0,"px"],id:"01H7WY3AEA76CPM0M91AXND6HM"}]},{id:"01H7WY5T4VKFJ5M7AJ5ZF704KZ",selector:".aspect-3-2",declarations:[{property:"aspect-ratio",value:"3 / 2",fluidValue:[0,0,"px"],id:"01H7WY3AEA76CPM0M91AXND6HM"}]},{id:"01H7WY4MNCBG3BBNE0TTPGGPX9",selector:".aspect-2-3",declarations:[{property:"aspect-ratio",value:"2 / 3",fluidValue:[0,0,"px"],id:"01H7WY3AEA76CPM0M91AXND6HM"}]},{id:"01H7WY504KD75EAH8ABVQT3VY3",selector:".aspect-16-9",declarations:[{property:"aspect-ratio",value:"16 / 9",fluidValue:[0,0,"px"],id:"01H7WY3AEA76CPM0M91AXND6HM"}]},{id:"01H7WY5C35TRFZJ00YK92QM2Y2",selector:".aspect-9-16",declarations:[{property:"aspect-ratio",value:"9 / 16",fluidValue:[0,0,"px"],id:"01H7WY3AEA76CPM0M91AXND6HM"}]}]},{id:"01GTC81PH3BQZJZQZQZQZQZQZQ",name:"Image Fit",cssObjects:[{id:"01GTC835SR8VQM3XDEM2KVA3JV",selector:".fit-contain",declarations:[{property:"object-fit",value:"contain",fluidValue:[0,0,"px"],id:"01GTC835SR6NV2154ACDSAKV39"}]},{id:"01GTC81PH37S1AKT0KSSGV0522",selector:".fit-cover",declarations:[{property:"object-fit",value:"cover",fluidValue:[0,0,"px"],id:"01GTC81PH3750D27VNCK4C1GM6"}]},{id:"01GTC82RAS8AQF2D996KASE2DR",selector:".fit-fill",declarations:[{property:"object-fit",value:"fill",fluidValue:[0,0,"px"],id:"01GTC82RAS800CG2D2QR33PWKW"}]}]},{id:"01H4DW9YXSJNVK3GSDMM5HRR5E",name:"Backdrop Blur",cssObjects:[{id:"01H4DW9YXSYT01H80SJ3618NEB",selector:".bg-blur-xs",declarations:[{property:"backdrop-filter",value:"blur(2px)",fluidValue:[0,0,"px"],id:"01H4DW9YXSNC4NF5FCAMAHS86W"}]},{id:"01H4DWB751XR6Z7R2ZW25YJYWH",selector:".bg-blur-s",declarations:[{property:"backdrop-filter",value:"blur(4px)",fluidValue:[0,0,"px"],id:"01H4DW9YXSNC4NF5FCAMAHS86W"}]},{id:"01H4DWBAQQNASBVQ2G2S0R82HA",selector:".bg-blur-m",declarations:[{property:"backdrop-filter",value:"blur(8px)",fluidValue:[0,0,"px"],id:"01H4DW9YXSNC4NF5FCAMAHS86W"}]},{id:"01H4DWBF736YT0CNT8PVHK88K9",selector:".bg-blur-l",declarations:[{property:"backdrop-filter",value:"blur(16px)",fluidValue:[0,0,"px"],id:"01H4DW9YXSNC4NF5FCAMAHS86W"}]},{id:"01H4DWBGV48516D4QP31X38GNW",selector:".bg-blur-xl",declarations:[{property:"backdrop-filter",value:"blur(32px)",fluidValue:[0,0,"px"],id:"01H4DW9YXSNC4NF5FCAMAHS86W"}]}]},{id:"01H4DWCE28P85C64J3GR1GJDNN",name:"Filters",cssObjects:[{id:"01H4DWCE28MD5AETW3WXYCC48G",selector:".grayscale",declarations:[{property:"filter",value:"grayscale(1)",fluidValue:[0,0,"px"],id:"01H4DWCE289D91ZE6CNBSMTBAQ"}]}]},{id:"01H5YVP21Z5EJEWC3Y9HTJFF4T",name:"Transforms",cssObjects:[{id:"01H5YVQHZ7W77AKZP6B8R1J9Q7",selector:".rotate-90",declarations:[{property:"transform",value:"rotate(90deg)",fluidValue:[0,0,"px"],id:"01H5YVP21Z3X5PGZR63EHZ3NPN"}]},{id:"01H5YVQRYHD6W923WB02FH98EH",selector:".rotate-180",declarations:[{property:"transform",value:"rotate(180deg)",fluidValue:[0,0,"px"],id:"01H5YVP21Z3X5PGZR63EHZ3NPN"}]}]}],componentsStyles:[],otherStyles:[{id:"3434",name:"Utilities",cssObjects:[{id:"01H7WYME9CGDY5VS932PVT6TMT",selector:".display-none",declarations:[{property:"display",value:"none",fluidValue:[0,0,"px"],id:"01H7WYME9C9SF8FDSMMDGV774X"}]},{id:"01H7WYKMB3BRVQGMAJC88XPJ7C",selector:".visible",declarations:[{property:"visibility",value:"visible",fluidValue:[0,0,"px"],id:"01H7WYKMB3MXMGYSNFFVFA85JT"}]},{id:"01H7WYKXYWS0AB6QNS6YGW0S8J",selector:".hidden",declarations:[{property:"visibility",value:"hidden",fluidValue:[0,0,"px"],id:"01H7WYKMB3MXMGYSNFFVFA85JT"}]},{id:"01GXDTG3XQ0WCV9F7NXCT6X7KM",selector:".overflow-hidden",declarations:[{property:"overflow",value:"hidden",fluidValue:[0,0,"px"],id:"01GXDTG3XRM3FPMGK8G51BE666"}]},{id:"01H5YV0Y05CV2PKWPMB326TGDN",selector:".overflow-auto",declarations:[{property:"overflow",value:"auto",fluidValue:[0,0,"px"],id:"01GXDTG3XRM3FPMGK8G51BE666"}]},{id:"01H5YTZ7EZ129NMAT0TF8MHJST",selector:".overflow-x-hidden",declarations:[{property:"overflow-x",value:"hidden",fluidValue:[0,0,"px"],id:"01GXDTG3XRM3FPMGK8G51BE666"}]},{id:"01H5YTZF568GEXYKN8A2RKHR89",selector:".overflow-x-auto",declarations:[{property:"overflow-x",value:"auto",fluidValue:[0,0,"px"],id:"01GXDTG3XRM3FPMGK8G51BE666"}]},{id:"01H5YTZBA6CKQDXEDB4BFHMEN3",selector:".overflow-y-hidden",declarations:[{property:"overflow-y",value:"hidden",fluidValue:[0,0,"px"],id:"01GXDTG3XRM3FPMGK8G51BE666"}]},{id:"01H5YTZNEY9C4MK464QJHAYY1B",selector:".overflow-y-auto",declarations:[{property:"overflow-y",value:"auto",fluidValue:[0,0,"px"],id:"01GXDTG3XRM3FPMGK8G51BE666"}]},{id:"01GXVW38JZ3A33WQ2VEW8SZEQ9",selector:".list-none",declarations:[{property:"list-style-type",value:"none",fluidValue:[0,0,"px"],id:"01GXVW38JZD6JS24HRXXD5HZ5J"}]},{id:"01GXX7QCGJTYGSXXKE471ERGG9",selector:".white-space-nowrap",declarations:[{property:"white-space",value:"nowrap",fluidValue:[0,0,"px"],id:"01GXX7QCGJ1HPVJ84BZ7C9R32R"}]},{id:"01GXVW4CWNWMM4TPFW2TPQNN9B",selector:".transition-global",declarations:[{property:"transition",value:"all 0.3s",fluidValue:[0,0,"px"],id:"01GXVW4CWN0S0C9J8ZWP9M503Q"}]}]},{id:"01H2D9KWFXXJY6DCES28TMV19D",name:"Positioning",cssObjects:[{id:"01H2D9ME4J51F4AVDMEZZ1GVXB",selector:".relative",declarations:[{property:"position",value:"relative",fluidValue:[0,0,"px"],id:"01H2D9ME4K6PD2FHB0BK4YDBCP"}]},{id:"01H2D9KWFXZ7AM4ZYJE2SH955Q",selector:".absolute",declarations:[{property:"position",value:"absolute",fluidValue:[0,0,"px"],id:"01H2D9KWFXVCRSSW0F29QH5QP3"}]},{id:"01H7WSX2WJVNYT812135KVJ0CF",selector:".sticky",declarations:[{property:"position",value:"sticky",fluidValue:[0,0,"px"],id:"01H7WSX2WJ0DD9T8R3HGKWYF8S"}]},{id:"01H7WSXF3JX4NSEYTGWB7J878A",selector:".fixed",declarations:[{property:"position",value:"fixed",fluidValue:[0,0,"px"],id:"01H7WSXF3JJ1VM9WBQ1AWRM1H3"}]},{id:"01H2D9MQSJXWJC8FW5JTPSKWEY",selector:".inset-0",declarations:[{property:"inset",value:"0",fluidValue:[0,0,"px"],id:"01H2D9MQSJSHDRRMJSJ53XH96X"}]},{id:"01H2D9N33QAGEPRZ5S3XKTMZFM",selector:".bottom-0",declarations:[{property:"bottom",value:"0",fluidValue:[0,0,"px"],id:"01H2D9N33Q0D63XHG0NF66TT8F"}]},{id:"01H2D9NEP0HGJ13E0TJNSNAJQ0",selector:".top-0",declarations:[{property:"top",value:"0",fluidValue:[0,0,"px"],id:"01H2D9NEP0NHAQ6RGM76W5CVGA"}]},{id:"01H2D9NP8S833WEX69E48B6QA6",selector:".left-0",declarations:[{property:"left",value:"0",fluidValue:[0,0,"px"],id:"01H2D9NP8SJR5ANDW9TRXP131E"}]},{id:"01H2D9NZFWMG1WZ0Z4N3CFF4WS",selector:".right-0",declarations:[{property:"right",value:"0",fluidValue:[0,0,"px"],id:"01H2D9NZFWWG38054RRHWQHTMM"}]}]},{id:"01H4DWGP1GVW1B1J0H38E9FHK9",name:"Cursors",cssObjects:[{id:"01H4DWGP1H074ZZBYQX1MSHCMQ",selector:".pointer",declarations:[{property:"cursor",value:"pointer",fluidValue:[0,0,"px"],id:"01H4DWGP1HW4R2GW6V77J52KGC"}]},{id:"01H4DWHGWGMF8CF6P09N0G6JY7",selector:".not-allowed",declarations:[{property:"cursor",value:"not-allowed",fluidValue:[0,0,"px"],id:"01H4DWGP1HW4R2GW6V77J52KGC"}]},{id:"01H4DWHSJ1EYZ2RVWV69YGX3AJ",selector:".cursor-auto",declarations:[{property:"cursor",value:"auto",fluidValue:[0,0,"px"],id:"01H4DWGP1HW4R2GW6V77J52KGC"}]},{id:"01H4DWMAMNZJK5YK15T4WB21FF",selector:".no-pointer-events",declarations:[{property:"pointer-events",value:"none",fluidValue:[0,0,"px"],id:"01H4DWMAMNCC8Z4K7J5NME4GDT"}]}]},{id:"01H6BY3K69N4YVWBGV2B7CZQ0Q",name:"Z-Index",cssObjects:[{id:"01H6BY3K6AP7EBRYDF7TR8RNWV",selector:".z--1",declarations:[{property:"z-index",value:"-1",fluidValue:[0,0,"px"],id:"01H6BY3K6AFPB4X09832MBXKMN"}]},{id:"01H6BY4HGAX9VTJWH5DGANVZKZ",selector:".z-0",declarations:[{property:"z-index",value:"0",fluidValue:[0,0,"px"],id:"01H6BY3K6AFPB4X09832MBXKMN"}]},{id:"01H6BY4YFS1R0TC7371S8P88SV",selector:".z-1",declarations:[{property:"z-index",value:"1",fluidValue:[0,0,"px"],id:"01H6BY3K6AFPB4X09832MBXKMN"}]},{id:"01H6BY4X2FWBF8TV3N1FE80RQE",selector:".z-10",declarations:[{property:"z-index",value:"10",fluidValue:[0,0,"px"],id:"01H6BY3K6AFPB4X09832MBXKMN"}]},{id:"01H6BY4VHJMHGBFZYCBFQXZZ8M",selector:".z-100",declarations:[{property:"z-index",value:"100",fluidValue:[0,0,"px"],id:"01H6BY3K6AFPB4X09832MBXKMN"}]},{id:"01H6BY4SCNXA4QA8QCBZ1QBD0P",selector:".z-1000",declarations:[{property:"z-index",value:"1000",fluidValue:[0,0,"px"],id:"01H6BY3K6AFPB4X09832MBXKMN"}]},{id:"01H6BY5A0X91TPTRBS15R2MV6S",selector:".z-10000",declarations:[{property:"z-index",value:"10000",fluidValue:[0,0,"px"],id:"01H6BY3K6AFPB4X09832MBXKMN"}]}]}]},modulesData:{FLUID_TYPOGRAPHY:ac,COLOR_SYSTEM:yI,FLUID_SPACING:Gc,COMPONENTS:DI,FONTS:{fonts:[]}},has_updated_columns:!0},bHt=()=>{const t=bNe(ap);return t.name="Blank",t},wHt=()=>{let t=null;try{t=structuredClone(ap)}catch{t={...ap}}return t={...t,styleSheetData:{...t.styleSheetData,colorStyles:t.styleSheetData?.colorStyles?.map(e=>({...e,isDisabled:e?.type!=="variable"})),componentsStyles:t.styleSheetData?.componentsStyles?.map(e=>({...e,isDisabled:e?.type!=="variable"})),designStyles:t.styleSheetData?.designStyles?.map(e=>({...e,isDisabled:e?.type!=="variable"})),layoutsStyles:t.styleSheetData?.layoutsStyles?.map(e=>({...e,isDisabled:e?.type!=="variable"})),otherStyles:t.styleSheetData?.otherStyles?.map(e=>({...e,isDisabled:e?.type!=="variable"})),spacingStyles:t.styleSheetData?.spacingStyles?.map(e=>({...e,isDisabled:e?.type!=="variable"})),typographyStyles:t.styleSheetData?.typographyStyles?.map(e=>({...e,isDisabled:e?.type!=="variable"})),fontsStyles:t.styleSheetData?.fontsStyles?.map(e=>({...e,isDisabled:e?.type!=="variable"}))}},t={...t,modulesData:{...t.modulesData,COLOR_SYSTEM:{...t.modulesData?.COLOR_SYSTEM,groups:t.modulesData?.COLOR_SYSTEM?.groups?.map(e=>({...e,colors:e.colors.map(r=>({...r,gen:[]}))}))},FLUID_TYPOGRAPHY:{...t.modulesData?.FLUID_TYPOGRAPHY,groups:t.modulesData?.FLUID_TYPOGRAPHY?.groups?.map(e=>({...e,genFontSizeClass:!1})),classes:t.modulesData?.FLUID_TYPOGRAPHY?.classes?.map(e=>({...e,isDisabled:!0}))},FLUID_SPACING:{...t.modulesData?.FLUID_SPACING,groups:t.modulesData?.FLUID_SPACING?.groups?.map(e=>({...e,genGap:!1,genMargin:!1,genPadding:!1,genAutoMargins:!1})),classes:t.modulesData?.FLUID_SPACING?.classes?.map(e=>({...e,isDisabled:!0}))},COMPONENTS:{...t.modulesData?.COMPONENTS,isDisabled:!0},FONTS:{...t.modulesData?.FONTS,isDisabled:!0}}},t.name="Minimal",t};function xHt(t){const{modulesData:e,app_version:r}=t;if(!r?.endsWith("_default")&&(Qae(r||"0.0.1",X1)===1||Qae(r||"0.0.1",X1)===0)||!e)return t;const n=e?.COLOR_SYSTEM;if(!n)return t;const i=n?.groups;if(!i)return t;const o=i.map(s=>{const{colors:a}=s;if(!a)return s;const l=a.map(c=>{if(!c?.shadesNumber&&c?.isShades){const u=bO({midColor:c.value,number:e9,name:c.name});uo(`Polyfilled shades (id: ${c.id})`),c={...c,shadesNumber:e9,shades:u}}if(!c.shades&&c.isShades&&c.shadesNumber){const u=bO({midColor:c.value,number:c.shadesNumber,name:c.name});c={...c,shades:u},uo(`Polyfilled shades (id: ${c.id})`)}if(!c.tints&&c.isTints&&c.tintsNumber){const u=wO({midColor:c.value,number:c.tintsNumber,name:c.name});c={...c,tints:u},uo(`Polyfilled tints (id: ${c.id})`)}if(!c.tints&&c.isTints&&c.tintsNumber){const u=wO({midColor:c.value,number:c.tintsNumber,name:c.name});return uo(`Polyfilled tints (id: ${c.id})`),{...c,tints:u}}return c}).filter(Boolean);return{...s,colors:l}});return{...t,modulesData:{...e,COLOR_SYSTEM:{...n,groups:o}}}}function SHt({preset:t,preferences:e}){if(t.preferences)return t;const r=["root_font_size","is_rem","postcss","min_screen_width","max_screen_width"];t.preferences||(t.preferences={});for(const n of r){const i=n;e?.[i]?(t.preferences[i]=e[i],uo(`Polyfilled preset preferences - property: ${i}`)):(t.preferences[i]=ha[i],uo(`Polyfilled preset preferences - property: ${i} [DEFAULT]`))}return t}function EHt(t){const e=t.modulesData;if(!e)return t;const r=e?.COMPONENTS;if(!r)return t;const n=r.components;if(n.some(o=>o.variants))return t;const i=n.map(o=>{const{selector:s}=o,a=o?.declarations;if(!a)return o;const l=Object.keys(a).indexOf("default"),c=Object.keys(a).map((u,f)=>{const d=l===f,p=Object.keys(a)[f];let h="custom",A="",g="default";p==="default"&&(h="default");const m=["hover","focus","active","disabled","checked","invalid"].some(y=>p.includes(y));m&&(h=p);const v=p.startsWith(s)&&!m&&(p.match(/\./g)||[]).length===2&&!p.trim().includes(" ");return v&&(A=p.replace(s,"").trim(),h="variant"),!m&&!v&&p!=="default"&&(h="custom",A=p,g=void 0),{id:d?"default":f.toString(),declarations:a[u],type:h,parentId:g,...A&&{variantSelector:A}}});return uo(`Polyfilled variants (id: ${o.id})`),{id:o.id,selector:o.selector,type:o.type,variants:c}});return{...t,modulesData:{...e,COMPONENTS:{...r,components:i}}}}function DHt(t){if(S4e((t?.app_version??X1).replace("_default",""),"1.2.4",">"))return t;const e=t?.styleSheetData?.layoutsStyles;if(!e)return t;const n=e?.find(i=>i?.id==="3")?.cssObjects?.map(i=>i?.selector===".columns-2--on-m"&&i?.id==="01GWSGG5YMNP37E37W4KMTSTDE"&&JSON.stringify(i?.declarations)===JSON.stringify([{property:"grid-template-columns",value:"repeat(3, 1fr)",fluidValue:[0,0,"px"],id:"01GWSGFS118Y66C444FR3N2PRG"}])?{...i,declarations:[{property:"grid-template-columns",value:"repeat(2, 1fr)",fluidValue:[0,0,"px"],id:"01GWSGFS118Y66C444FR3N2PRG"}]}:i?.selector===".columns-2--on-s"&&i?.id==="01GWSGP1PG7S04VDZ0D5YVCRFM"&&JSON.stringify(i?.declarations)===JSON.stringify([{property:"grid-template-columns",value:"repeat(3, 1fr)",fluidValue:[0,0,"px"],id:"01GWSGNGWXZP9821GA21NNSEAM"}])?{...i,declarations:[{property:"grid-template-columns",value:"repeat(2, 1fr)",fluidValue:[0,0,"px"],id:"01GWSGNGWXZP9821GA21NNSEAM"}]}:i);return n?(uo("Polyfilled incorrect column classes '.columns-2--on-m' and '.columns-2--on-s'"),{...t,styleSheetData:{...t.styleSheetData,layoutsStyles:e?.map(i=>i?.id==="3"?{...i,cssObjects:n}:i)}}):t}function kHt(t){if(S4e((t?.app_version??X1).replace("_default",""),"1.2.6",">"))return t;const e=t?.styleSheetData?.typographyStyles;if(!e)return t;const n=e?.find(i=>i?.id==="1")?.cssObjects?.map(i=>i?.selector===".bold"&&i?.id==="01H5YTK2FBN5MMN289XVEP9SY4"&&JSON.stringify(i?.declarations)===JSON.stringify([{property:"font-style",value:"bold",fluidValue:[0,0,"px"],id:"01GTC7JNS21M04S04HPDHGKTHD"}])?{...i,declarations:[{property:"font-weight",value:"bold",fluidValue:[0,0,"px"],id:"01GTC7JNS21M04S04HPDHGKTHD"}]}:i);return n?(uo("Polyfilled incorrect bold class '.bold'"),{...t,styleSheetData:{...t.styleSheetData,typographyStyles:e?.map(i=>i?.id==="1"?{...i,cssObjects:n}:i)}}):t}function s3({preset:t,oldPreferences:e}){const r=performance.now(),n=ul(OHt)(t);let i=ul(SHt)({preferences:e,preset:n});return i=ul(xHt)(i),i=ul(DHt)(i),i=ul(kHt)(i),i=ul(EHt)(i),uo(`Prepared preset to load in ${performance.now()-r}ms`),i}function OHt(t){let e={...t};return e={...e,clickableParentClass:t?.clickableParentClass??Md,srOnlyClass:t?.srOnlyClass??h9},e=Eme(e,"FLUID_TYPOGRAPHY",QY),e=Eme(e,"FLUID_SPACING",UY),e=PHt(e),e}function Eme(t,e,r){const n=t.modulesData?.[e];if(!!n?.groups?.length)return t;const o=n&&"groups"in n?n.groups?.[0]??null:n,s=!!o?.isDisabled||!!n?.isDisabled;return{...t,modulesData:{...t.modulesData,[e]:{groups:!o?.isDisabled&&o?[{...o,id:ht(),name:r}]:[],isDisabled:s}}}}function PHt(t){let e={...t};const r=e.modulesData?.FLUID_TYPOGRAPHY,n=e.modulesData?.FLUID_SPACING,i=r?.groups||[],o=n?.groups||[],s=r?.has_legacy_manual_class_generator,a=n?.has_legacy_manual_class_generator;i.length&&i.every(A=>A.genFontSizeClass!==void 0&&!A.genFontSizeClass)&&(e=N8(e,"FLUID_TYPOGRAPHY")),i?.some(A=>["genSemanticVariables","genFontSizeClass"].some(g=>A.hasOwnProperty(g)))&&(i.some(A=>A.genSemanticVariables)&&e.styleSheetData?.typographyStyles?.unshift(ap.styleSheetData.typographyStyles[0]),i.forEach(A=>{delete A.genFontSizeClass,delete A.semanticVariables,delete A.genSemanticVariables}));const c=i.filter(A=>A.mode==="fluid_manual").map(A=>A.id),u=r?.classes?.filter(A=>A.tabId&&c.includes(A.tabId)&&!A.isDisabled),f=["genGap","genSemanticVariables","genMargin","genPadding","genAutoMargins"];u?.length&&r&&(r.has_legacy_manual_class_generator=typeof s>"u"?!!u?.length:s),o.length&&(o.every(A=>A.genGap!==void 0&&!A.genGap)&&(e=N8(e,"FLUID_SPACING",[".gap"])),o.every(A=>A.genPadding!==void 0&&!A.genPadding)&&(e=N8(e,"FLUID_SPACING",[".padding"])),o.every(A=>A.genMargin!==void 0&&!A.genMargin)&&(e=N8(e,"FLUID_SPACING",[".margin"]))),o?.some(A=>f.some(g=>A.hasOwnProperty(g)))&&(o.some(A=>A.genSemanticVariables)&&e.styleSheetData?.spacingStyles?.unshift(ap.styleSheetData.spacingStyles[0]),o.forEach(A=>{delete A.genPadding,delete A.genGap,delete A.genMargin,delete A.genAutoMargins,delete A.semanticVariables,delete A.genSemanticVariables}));const p=o.filter(A=>A.mode==="fluid_manual").map(A=>A.id),h=n?.classes?.filter(A=>p.includes(A.tabId)&&!A.isDisabled);if(h?.length&&n&&(n.has_legacy_manual_class_generator=typeof a>"u"?!!h?.length:a),!e.has_updated_columns){const A=ap.styleSheetData?.layoutsStyles?.find(m=>m.name===R3e);A&&e.styleSheetData?.layoutsStyles?.unshift(A);const g=ap.styleSheetData?.layoutsStyles?.findIndex(m=>m.name===M3e);g!==void 0&&g>-1&&e.styleSheetData?.layoutsStyles?.[g]?.cssObjects.forEach(m=>{if(m.selector?.startsWith(".columns-")){const v=m.selector.match(/\d+/),y=v?parseInt(v[0],10):null;y&&m.declarations.forEach(b=>{b.property==="grid-template-columns"&&(b.value=`var(--columns-${y})`)})}return m}),e.has_updated_columns=!0}return e}function N8(t,e,r){const n=e==="FLUID_TYPOGRAPHY"?ac:Gc,i=t.modulesData?.[e],o=(i?.classes??n.classes??[]).map(s=>{const a=i?.groups?.some(l=>l.id===s.tabId)?s.tabId:i?.groups?.[0]?.id;return{...s,tabId:a}});return{...t,modulesData:{...t.modulesData,[e]:{...i,classes:o.map(s=>r?r.some(a=>s.name.startsWith(a))?{...s,isDisabled:!0}:s:{...s,isDisabled:!0})}}}}function RN(t){return R_t.safeParse(t)}const Hee=Fr({selected_id:Bt(),oxygen:Ut().optional(),bricks:Ut().optional(),gutenberg:Ut().optional(),figma:Ut().optional(),delete_data:Ut().optional(),show_update_notice:Ut().optional(),has_theme:Ut().optional(),theme_mode:ba(["light","dark","auto"]).optional(),plugin_name:Bt().optional(),oxygen_enable_variable_dropdown:Ut().optional().describe("Enable variable dropdown in Oxygen"),oxygen_enable_dark_mode_preview:Ut().optional().describe("Enable dark mode preview in Oxygen"),oxygen_variable_ui:Ut().optional().describe("Enable variable UI in Oxygen"),oxygen_enable_variable_ui_auto_hide:Ut().optional().describe("Enable variable UI auto hide in Oxygen"),oxygen_apply_class_on_hover:Ut().optional().describe("Apply class on hover in Oxygen"),oxygen_enable_variable_context_menu:Ut().optional().describe("Open Variable UI on right click input in Oxygen"),oxygen_enable_unit_and_value_preview:Ut().optional().describe("Enable unit and value preview in Oxygen when hovering over an item in variable UI and variable dropdown"),bricks_enable_variable_ui_hint:Ut().optional().describe("Enable variable UI hint in Oxygen"),bricks_enable_variable_dropdown:Ut().optional().describe("Enable variable dropdown in Bricks"),bricks_enable_dark_mode_preview:Ut().optional().describe("Enable dark mode preview in Bricks"),bricks_variable_ui:Ut().optional().describe("Enable variable UI in Bricks"),bricks_bem_generator:Ut().optional().describe("Enable BEM Class Generator in Bricks"),bricks_enable_variable_ui_auto_hide:Ut().optional().describe("Enable variable UI auto hide in Bricks"),oxygen_enable_variable_ui_hint:Ut().optional().describe("Enable variable UI hint in Oxygen"),bricks_apply_class_on_hover:Ut().optional().describe("Apply class on hover in Bricks"),bricks_apply_variable_on_hover:Ut().optional().describe("Apply variable on hover in Bricks"),bricks_enable_variable_context_menu:Ut().optional().describe("Open Variable UI on right click input in Bricks"),gutenberg_enable_dark_mode_preview:Ut().optional().describe("Enable dark mode preview in Gutenberg"),gutenberg_place_controls_at_the_top:Ut().optional().describe("Place controls at the top in Gutenberg"),gutenberg_close_widget_default:Ut().optional().describe("Close the widget by default"),root_font_size:Gn().optional(),postcss:Ut().optional().default(!0).optional(),min_screen_width:Gn().optional(),max_screen_width:Gn().optional(),is_rem:Ut().default(!0).optional()});Fr({core_framework_main:Hee});const IHt=pot(Fr({id:Bt(),data:Bt(),time:Bt()})),NHt=["oxygen","bricks","gutenberg","figma"],FHt=Dr(ba(NHt));function THt(t){const{modulesData:e}=t,r=e?.COLOR_SYSTEM;if(!r)return t;const n=["genBg","genText"];for(const i of n)r?.[i]&&(delete r[i],uo(`Removed legacy property: ${i}`));return t}function LHt(t){return t.app_version=X1,t}function RHt(t){const e=["cssString","isVariablePrefix"];for(const r of e)t?.[r]&&delete t[r];return t}function jO(t){let e=JSON.parse(JSON.stringify(t));return e=THt(e),e=LHt(e),e=RHt(e),e}async function MHt(t){const r=await(await fetch(`${window.coreframework.core_api_url}update-presets`,{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":window.wpApiSettings.nonce},body:JSON.stringify({id:t.id,data:JSON.stringify(jO(t))})})).json(),n=Fr({success:Ut(),action:ba(["updated","created"])}).safeParse(r);return n.success?{success:!0,action:n.data.action}:{success:!1}}async function _Ht({id:t,cssString:e}){const r="Failed to update main table. [#02]";try{const n=new URL(`${window.coreframework.core_api_url}update-main`),o=await(await fetch(String(n),{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":window.wpApiSettings.nonce},body:JSON.stringify({id:t,cssString:e})})).json(),s=Fr({success:Ut(),bytes_saved:Gn()}).safeParse(o);return s.success?{...s.data}:(console.warn(r),{success:!1,bytes_saved:0})}catch{return console.warn(r),wr.error("Failed to update preset"),{success:!1,bytes_saved:0}}}async function jHt(t){const e="Failed to load project from database. Please make sure permalink structure is set to option other than plain. If issue persists please contact support. [#01]";try{const r=new URL(`${window.coreframework.core_api_url}get-preset-row`);r.searchParams.append("id",t);const i=await(await fetch(String(r),{method:"GET",headers:{"Content-Type":"application/json","X-WP-Nonce":window.wpApiSettings.nonce}})).json(),o=Fr({success:Ut(),data:IHt}).parse(i);return o.data===null?(console.info("No project found in database. Creating new one."),{success:!1,data:null}):o.success?{success:!0,data:o?.data}:(console.warn(e),{success:!1,data:null})}catch(r){return console.warn(e),wr.error(e),uo("getRowFromWpDb",r),{success:!1,data:null}}}async function UHt({addonEnableArray:t,colors:e}){const r="Failed to update colors in builder. [#03]";try{const n=new URL(`${window.coreframework.core_api_url}update-colors`),o=await(await fetch(String(n),{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":window.wpApiSettings.nonce},body:JSON.stringify({colors:e,addonEnableArray:t})})).json(),s=Fr({success:Ut(),active_builders:Dr(Bt()).or(Q4e())}).safeParse(o);return uo("IUpdateColors",s),s.success?{success:!0,data:s.data}:(console.warn(r),wr.error("Failed to update colors in targeted builder."),{success:!1,data:null})}catch{return console.warn(r),wr.error("Failed to update colors in targeted builder."),{success:!1,data:null}}}async function QHt({classes:t,addonEnableArray:e}){const r="Failed to update classes in builder. [#04]";try{const n=new URL(`${window.coreframework.core_api_url}update-classes`),o=await(await fetch(String(n),{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":window.wpApiSettings.nonce},body:JSON.stringify({classes:t,addonEnableArray:e})})).json(),s=Fr({success:Ut(),active_builders:Dr(Bt()).or(Q4e())}).safeParse(o);return uo("IUpdateClasses",s),s.success?{success:!0,data:s.data}:(console.warn(r),wr.error("Failed to update classes in targeted builder."),{success:!1,data:null})}catch(n){return console.warn(r,n),wr.error("Failed to update classes in targeted builder."),{success:!1,data:null}}}async function VHt({groupedClassNames:t}){const e="Failed to update classes in builder. [#04]";try{const r=new URL(`${window.coreframework.core_api_url}update-grouped-classes`),i=await(await fetch(String(r),{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":window.wpApiSettings.nonce},body:JSON.stringify({groupedClassNames:t})})).json(),o=Fr({success:Ut()}).safeParse(i);return uo("IUpdateGroupedClasses",o),o.success?{success:!0}:(console.warn(e),wr.error("Failed to update classes in targeted builder."),{success:!1})}catch(r){return console.warn(e,r),wr.error("Failed to update classes in targeted builder."),{success:!1}}}async function $Ht(){try{const e=await(await fetch(`${window.coreframework.core_api_url}get-builders`,{method:"GET",headers:{"Content-Type":"application/json","X-WP-Nonce":window.wpApiSettings.nonce}})).json(),r=Fr({builders:FHt}).safeParse(e);return r.success?r.data.builders??[]:(console.error(r),[])}catch(t){console.error(t)}}async function HHt(){try{const e=await(await fetch(`${window.coreframework.core_api_url}get-license-keys`,{method:"GET",headers:{"Content-Type":"application/json","X-WP-Nonce":window.wpApiSettings.nonce}})).json(),r=Fr({license_keys:Fr({oxygen:vp([Bt(),Ut()]).optional(),bricks:vp([Bt(),Ut()]).optional(),figma:vp([Bt(),Ut()]).optional()})}).safeParse(e);return r.success?r.data.license_keys:(console.error(r),{})}catch(t){return console.error(t),{}}}async function I5({licenseKey:t,type:e}){try{const r=new URL(`${window.coreframework.core_api_url}update-license-key`),i=await(await fetch(String(r),{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":window.wpApiSettings.nonce},body:JSON.stringify({license_key:t,type:e})})).json(),o=Fr({success:Ut()}).safeParse(i);return o.success?{success:!0}:(console.error(o),{success:!1})}catch(r){console.error(r)}}async function GHt({cssString:t}){try{const e=new URL(`${window.coreframework.core_api_url}update-prefixed-css-file`),n=await(await fetch(String(e),{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":window.wpApiSettings.nonce},body:JSON.stringify({cssString:t})})).json(),i=Fr({success:Ut()}).safeParse(n);return i.success?{success:!0}:(console.error(i),{success:!1})}catch(e){console.error(e)}}async function WHt({cssString:t}){try{const e=new URL(`${window.coreframework.core_api_url}save-oxygen-css-helper`),n=await(await fetch(String(e),{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":window.wpApiSettings.nonce},body:JSON.stringify({cssString:t})})).json(),i=Fr({success:Ut()}).safeParse(n);return i.success?{success:!0}:(console.error(i),{success:!1})}catch(e){console.error(e)}}async function zHt(){try{const t=new URL(`${window.coreframework.core_api_url}api-key`),r=await(await fetch(String(t),{method:"GET",headers:{"Content-Type":"application/json","X-WP-Nonce":window.wpApiSettings.nonce}})).json(),n=Fr({key:Bt()}).safeParse(r);return n.success?{key:n.data.key}:(console.error(n),{key:""})}catch(t){return console.error(t),{key:""}}}async function KHt({key:t}){try{const e=new URL(`${window.coreframework.core_api_url}api-key`),n=await(await fetch(String(e),{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":window.wpApiSettings.nonce},body:JSON.stringify({key:t})})).json(),i=Fr({success:Ut()}).safeParse(n);return i.success?{success:!0}:(console.error(i),{success:!1})}catch(e){return console.error(e),{success:!1}}}async function qHt(){try{const t=new URL(`${window.coreframework.core_api_url}api-key`),r=await(await fetch(String(t),{method:"DELETE",headers:{"Content-Type":"application/json","X-WP-Nonce":window.wpApiSettings.nonce}})).json(),n=Fr({success:Ut()}).safeParse(r);return n.success?{success:!0}:(console.error(n),{success:!1})}catch(t){return console.error(t),{success:!1}}}const wNe={oxygen:15,bricks:12,figma:5317449},xNe="https://us-central1-core-framework-6bdc9.cloudfunctions.net/",Gee=`${xNe}proxy`,XHt=`${xNe}backup`,YHt="41vmTtfUixU7DKFEyIgG1511ka7RrifyZX9Z9WHd",Wee=32,MN=Fr({success:Ut(),license:Bt().optional()});async function JHt({licenseKey:t,type:e}){if([t,e].some(n=>!n)||t.length!==Wee)return!1;const r=new URL(XHt);r.searchParams.append("license",t),r.searchParams.append("addon_type",e);try{const i=await(await fetch(r.toString(),{method:"GET",headers:{"Content-Type":"application/json","x-api-key":YHt}})).json(),o=MN.safeParse(i);return o.success?o.data.success:(console.warn(o.error),!1)}catch(n){return console.warn(n),!1}}async function Zj({licenseKey:t,type:e}){if([t,e].some(n=>!n))return I5({licenseKey:"",type:e}),!1;if(t.length!==Wee)return I5({licenseKey:"",type:e}),!1;const r=new URL(Gee);r.searchParams.append("edd_action","check_license"),r.searchParams.append("item_id",String(wNe[e])),r.searchParams.append("license",t),r.searchParams.append("url",window.location.origin);try{const i=await(await fetch(r.toString(),{method:"GET",headers:{"Content-Type":"application/json"}})).json(),o=MN.safeParse(i);return o.success?(o.data.license==="invalid"&&(wr.error(`Invalid license key: ${d4(e)} add-on.`),I5({licenseKey:"",type:e})),o.data.license==="valid"&&o.data.success):(console.warn(o.error),!1)}catch(n){return console.warn(n),await JHt({licenseKey:t,type:e})}}function ZHt(t){const e=performance.now(),r=200,n=e-t;return n<r?new Promise(i=>setTimeout(i,r-n)):Promise.resolve()}async function SNe({licenseKey:t,type:e}){const r=performance.now();if(!t||!e||t.length!==Wee)return await ZHt(r),Promise.resolve(!1);const n=window.location.origin,i=new URL(Gee);i.searchParams.append("edd_action","activate_license"),i.searchParams.append("item_id",String(wNe[e])),i.searchParams.append("license",t),i.searchParams.append("url",n);try{const s=await(await fetch(i.toString(),{method:"GET",headers:{"Content-Type":"application/json"}})).json(),a=MN.safeParse(s);return a.success?a.data.license==="valid"&&a.data.success:(console.warn(a.error),!1)}catch(o){return console.warn(o),!1}}async function eGt(){const t=new URL(Gee);t.searchParams.append("edd_action","activate_license"),t.searchParams.append("item_id",String(40)),t.searchParams.append("license","free"),t.searchParams.append("url",window.location.origin);try{const r=await(await fetch(t.toString(),{method:"GET",headers:{"Content-Type":"application/json"}})).json(),n=MN.safeParse(r);return n.success?n.data.license==="valid"&&n.data.success:(console.warn(n.error),!1)}catch(e){return console.warn(e),!1}}var UO=Symbol("@ts-pattern/matcher"),Dme="@ts-pattern/anonymous-select-key",kme=function(t){return!!(t&&typeof t=="object")},eU=function(t){return t&&!!t[UO]},tGt=function t(e,r,n){if(kme(e)){if(eU(e)){var i=e[UO]().match(r),o=i.matched,s=i.selections;return o&&s&&Object.keys(s).forEach(function(l){return n(l,s[l])}),o}if(!kme(r))return!1;if(Array.isArray(e))return!!Array.isArray(r)&&e.length===r.length&&e.every(function(l,c){return t(l,r[c],n)});if(e instanceof Map)return r instanceof Map&&Array.from(e.keys()).every(function(l){return t(e.get(l),r.get(l),n)});if(e instanceof Set){if(!(r instanceof Set))return!1;if(e.size===0)return r.size===0;if(e.size===1){var a=Array.from(e.values())[0];return eU(a)?Array.from(r.values()).every(function(l){return t(a,l,n)}):r.has(a)}return Array.from(e.values()).every(function(l){return r.has(l)})}return Object.keys(e).every(function(l){var c,u=e[l];return(l in r||eU(c=u)&&c[UO]().matcherType==="optional")&&t(u,r[l],n)})}return Object.is(r,e)};function Pv(t){var e;return(e={})[UO]=function(){return{match:function(r){return{matched:!!t(r)}}}},e}Pv(function(t){return!0});Pv(function(t){return typeof t=="string"});Pv(function(t){return typeof t=="number"});Pv(function(t){return typeof t=="boolean"});Pv(function(t){return typeof t=="bigint"});Pv(function(t){return typeof t=="symbol"});Pv(function(t){return t==null});function ENe(t){return new rGt(t,[])}var rGt=function(){function t(r,n){this.value=void 0,this.cases=void 0,this.value=r,this.cases=n}var e=t.prototype;return e.with=function(){var r=[].slice.call(arguments),n=r[r.length-1],i=[r[0]],o=[];return r.length===3&&typeof r[1]=="function"?(i.push(r[0]),o.push(r[1])):r.length>2&&i.push.apply(i,r.slice(1,r.length-1)),new t(this.value,this.cases.concat([{match:function(s){var a={},l=!!(i.some(function(c){return tGt(c,s,function(u,f){a[u]=f})})&&o.every(function(c){return c(s)}));return{matched:l,value:l&&Object.keys(a).length?Dme in a?a[Dme]:a:s}},handler:n}]))},e.when=function(r,n){return new t(this.value,this.cases.concat([{match:function(i){return{matched:!!r(i),value:i}},handler:n}]))},e.otherwise=function(r){return new t(this.value,this.cases.concat([{match:function(n){return{matched:!0,value:n}},handler:r}])).run()},e.exhaustive=function(){return this.run()},e.run=function(){for(var r=this.value,n=void 0,i=0;i<this.cases.length;i++){var o=this.cases[i],s=o.match(this.value);if(s.matched){r=s.value,n=o.handler;break}}if(!n){var a;try{a=JSON.stringify(this.value)}catch{a=this.value}throw new Error("Pattern matching error: no pattern matches value "+a)}return n(r,this.value)},t}();const nGt=Zr(null),iGt="figma";function _N(t){const[e,r]=Yn(nGt);async function n(){const i=await $Ht()??[];i.push(iGt),t?.(i),i.length&&r(i)}return E.useEffect(()=>{e===null&&n()},[]),{activeBuilders:e}}const WC=Zr(null),DNe=P3e(WC,t=>e=>t?.find(n=>n.type===e)?.licenseKey),oGt=t=>{switch(t){case"NO_LICENSE_KEY":return"no-license-key";case"LICENSE_ACTIVE":return"license-active";case"LICENSE_INACTIVE":return"license-inactive";case"ENABLED":return"enabled";case"DISABLED":return"disabled";case"LICENSE_ACTIVE_BUILDER_NOT_INSTALLED":return"license-active-builder-not-installed";case"LOADING":return"loading"}},cw=t=>{switch(t){case"NO_LICENSE_KEY":return C.jsx(MA,{});case"LICENSE_ACTIVE":return C.jsx(Gu,{});case"LICENSE_INACTIVE":return C.jsx(MA,{});case"ENABLED":return C.jsx(Gu,{});case"DISABLED":return C.jsx(MA,{});case"LICENSE_ACTIVE_BUILDER_NOT_INSTALLED":return C.jsx(MA,{});case"LOADING":return C.jsx(td,{})}},ND=E.memo(({onChange:t,checked:e,imgUrl:r,title:n,description:i,link:o})=>{const[s,a]=E.useState("LOADING"),[l,c]=Yn(WC),u=tn(Fp),f=kn(Tp),{activeBuilders:d}=_N(),p=E.useRef(null);E.useEffect(()=>{if(l===null){a("LOADING");return}const A=n.toLowerCase();if(!l?.some(v=>v.type===n.toLowerCase())){a("NO_LICENSE_KEY");return}const m=d?.includes(A);if(m&&e){a("ENABLED");return}if(m&&!e){a("DISABLED");return}if(!m){a("LICENSE_ACTIVE_BUILDER_NOT_INSTALLED");return}},[l,d,e]);async function h({e:A}){A.preventDefault(),a("LOADING");const g=A.currentTarget[0],{value:m}=g;if(!await SNe({licenseKey:m,type:n.toLowerCase()})){wr.error("Invalid license key"),g.ariaInvalid="true",setTimeout(()=>g.ariaInvalid="false",3e3),a("NO_LICENSE_KEY"),await new Promise(S=>setTimeout(S,1));const B=p.current?.querySelector("input");B&&(B.value=m);return}const y=n.toLowerCase(),b=d?.includes(y);if(c(B=>[...B??[],{type:y,licenseKey:m}]),I5({licenseKey:m,type:y}),b){a("ENABLED"),f({...u,[y]:!0}),wr.success(`${n} addon successfully activated`);const B=new CustomEvent("addon-enabled",{detail:{addon:"oxygen"}});document.dispatchEvent(B);return}a("LICENSE_ACTIVE_BUILDER_NOT_INSTALLED"),wr.success("License successfully activated")}return C.jsxs("div",{ref:p,className:"addon-card",children:[C.jsxs("header",{className:"",children:[C.jsx("img",{src:r,alt:n}),C.jsxs("div",{children:[C.jsx("h3",{className:"title",children:n}),C.jsx("p",{className:"description",children:i})]}),o&&s==="NO_LICENSE_KEY"&&C.jsx("a",{href:o,target:"_blank",className:"link",children:"Purchase"})]}),C.jsxs("footer",{children:[C.jsx("div",{className:zr("state row gap-xs",oGt(s)),children:ENe(s).with("LOADING",()=>C.jsx(td,{size:"small"})).with("NO_LICENSE_KEY",()=>C.jsxs("form",{onSubmit:A=>h({e:A}),className:"row gap-xs full-width",children:[C.jsx("input",{type:"text",placeholder:"Enter license key"}),C.jsx("button",{className:"btn-primary btn-m full-width",type:"submit",children:"Activate"})]})).with("LICENSE_ACTIVE",()=>C.jsx(uw,{children:C.jsxs(C.Fragment,{children:[cw(s),C.jsx("p",{children:"License active"})]})})).with("LICENSE_INACTIVE",()=>C.jsx(uw,{children:C.jsxs(C.Fragment,{children:[cw(s),C.jsx("p",{children:"License inactive"})]})})).with("ENABLED",()=>C.jsx(uw,{children:C.jsxs(C.Fragment,{children:[cw(s),C.jsx("p",{children:"Enabled"})]})})).with("DISABLED",()=>C.jsx(uw,{children:C.jsxs(C.Fragment,{children:[cw(s),C.jsx("p",{children:"Disabled"})]})})).with("LICENSE_ACTIVE_BUILDER_NOT_INSTALLED",()=>C.jsx(uw,{children:C.jsxs(C.Fragment,{children:[cw(s),C.jsxs("p",{children:["License is active. Install ",n," to enable."]})]})})).exhaustive()}),["DISABLED","ENABLED"].includes(s)&&C.jsx(Ln,{onChange:t,checked:e})]})]})});ND.displayName="Card";const uw=({children:t})=>C.jsx("div",{className:"row align-center gap-xs",children:t}),sGt={figma:"https://coreframework.com/marketplace/figma-integration"},kNe=({title:t})=>{const e=sGt[t.toLowerCase()]??`https://coreframework.com/marketplace/${t.toLowerCase()}-builder-addon`;return C.jsxs("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"btn-tertiary padding-s",children:["Get",C.jsxs("svg",{style:{width:18*1.1,height:18*1.1},width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C.jsxs("g",{opacity:"0.6",clipPath:"url(#clip0_13_217)",children:[C.jsx("path",{d:"M14.25 6.75V3.75H11.25",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),C.jsx("path",{d:"M9.75 8.25L14.25 3.75",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),C.jsx("path",{d:"M15 9.75V11.25C15 12.2446 14.6049 13.1984 13.9017 13.9017C13.1984 14.6049 12.2446 15 11.25 15H6.75C5.75544 15 4.80161 14.6049 4.09835 13.9017C3.39509 13.1984 3 12.2446 3 11.25V6.75C3 5.75544 3.39509 4.80161 4.09835 4.09835C4.80161 3.39509 5.75544 3 6.75 3H8.25",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),C.jsx("defs",{children:C.jsx("clipPath",{id:"clip0_13_217",children:C.jsx("rect",{width:"18",height:"18",fill:"white"})})})]})]})},aGt=t=>{switch(t){case"NO_LICENSE_KEY":return"no-license-key";case"LICENSE_ACTIVE":return"license-active";case"LICENSE_INACTIVE":return"license-inactive";case"ENABLED":return"enabled";case"DISABLED":return"disabled";case"LICENSE_ACTIVE_BUILDER_NOT_INSTALLED":return"license-active-builder-not-installed";case"LOADING":return"loading"}},tU=t=>{switch(t){case"NO_LICENSE_KEY":return C.jsx(MA,{});case"LICENSE_ACTIVE":return C.jsx(Gu,{});case"LICENSE_INACTIVE":return C.jsx(MA,{});case"ENABLED":return C.jsx(Gu,{});case"DISABLED":return C.jsx(MA,{});case"LICENSE_ACTIVE_BUILDER_NOT_INSTALLED":return C.jsx(MA,{});case"LOADING":return C.jsx(td,{})}},lGt=(t,e,r)=>{const n={LICENSE_ACTIVE_BUILDER_NOT_INSTALLED:{base:`License is active. Install ${r} to enable.`,small:`${r} is not installed.`}};return n[t]?e?n[t].small:n[t].base:""},FD=E.memo(({onChange:t,checked:e,imgUrl:r,title:n,description:i,isMinimal:o})=>{const[s,a]=E.useState("LOADING"),[l,c]=Yn(WC),u=tn(Fp),f=kn(Tp),{activeBuilders:d}=_N(),p=E.useRef(null);E.useEffect(()=>{if(l===null){a("LOADING");return}const A=n.toLowerCase();if(!l?.some(v=>v.type===n.toLowerCase())){a("NO_LICENSE_KEY");return}const m=d?.includes(A);if(m&&e){a("ENABLED");return}if(m&&!e){a("DISABLED");return}if(!m){a("LICENSE_ACTIVE_BUILDER_NOT_INSTALLED");return}},[l,d,e]);async function h({e:A}){A.preventDefault(),a("LOADING");const g=A.currentTarget[0],{value:m}=g;if(!await SNe({licenseKey:m,type:n.toLowerCase()})){wr.error("Invalid license key"),g.ariaInvalid="true",setTimeout(()=>g.ariaInvalid="false",3e3),a("NO_LICENSE_KEY"),await new Promise(S=>setTimeout(S,1));const B=p.current?.querySelector("input");B&&(B.value=m);return}const y=n.toLowerCase(),b=d?.includes(y);if(c(B=>[...B??[],{type:y,licenseKey:m}]),I5({licenseKey:m,type:y}),b){a("ENABLED"),f({...u,[y]:!0}),wr.success(`${n} addon successfully activated`);const B=new CustomEvent("addon-enabled",{detail:{addon:"oxygen"}});document.dispatchEvent(B);return}a("LICENSE_ACTIVE_BUILDER_NOT_INSTALLED"),wr.success("License successfully activated")}return C.jsxs("div",{ref:p,className:zr("addon-row",{active:e}),children:[C.jsxs("header",{className:"",children:[C.jsx("img",{src:r,alt:n}),C.jsxs("div",{children:[C.jsx("h3",{className:"title",children:n}),C.jsx("p",{className:"description",children:i})]})]}),C.jsx("div",{className:"right",children:C.jsxs("div",{className:zr("state row gap-xs",aGt(s)),children:[["DISABLED","ENABLED"].includes(s)&&C.jsx(Ln,{onChange:t,checked:e}),ENe(s).with("LOADING",()=>C.jsx(td,{size:"small"})).with("NO_LICENSE_KEY",()=>C.jsxs("form",{onSubmit:A=>h({e:A}),className:"row gap-xs full-width",children:[C.jsxs("div",{className:"addon-input-wrapper",children:[C.jsx("input",{type:"text",placeholder:"Enter license key"}),o&&C.jsx("button",{type:"submit",className:"activate-btn",children:C.jsx(Gu,{})})]}),!o&&C.jsx("button",{className:"btn-primary btn-m full-width",type:"submit",style:{width:"fit-content"},children:"Activate"}),C.jsx(kNe,{title:n})]})).with("LICENSE_ACTIVE",()=>C.jsx(fw,{title:n,children:C.jsxs(C.Fragment,{children:[tU(s),C.jsx("p",{children:"License active"})]})})).with("LICENSE_INACTIVE",()=>C.jsx(fw,{title:n,children:C.jsxs(C.Fragment,{children:[tU(s),C.jsx("p",{children:"License inactive"})]})})).with("ENABLED",()=>C.jsx(fw,{title:n,showCta:!o,children:C.jsx(C.Fragment,{})})).with("DISABLED",()=>C.jsx(fw,{title:n,showCta:!o,children:C.jsx(C.Fragment,{})})).with("LICENSE_ACTIVE_BUILDER_NOT_INSTALLED",()=>C.jsx(fw,{title:n,showCta:!o,children:C.jsxs(C.Fragment,{children:[tU(s),C.jsx("p",{children:lGt("LICENSE_ACTIVE_BUILDER_NOT_INSTALLED",!!o,n)})]})})).exhaustive()]})})]})});FD.displayName="Card";const fw=({title:t,children:e,showCta:r=!0})=>["gutenberg"].includes(t.toLowerCase())?C.jsxs("div",{className:"row align-center gap-xs pointer-events-none",children:[e,C.jsx("a",{href:"",target:"_blank",rel:"noopener noreferrer",className:"btn-tertiary padding-s included-btn",children:"Included"})]}):C.jsxs("div",{className:"row align-center items-center gap-xs",children:[e,(r||["figma"].includes(t.toLowerCase()))&&C.jsx(kNe,{title:t})]}),Ome={gutenberg:{base:"Sync your classes and colors directly to Gutenberg and benefit from its custom autosuggestion.",small:"Adds a deep integration to Gutenberg"},oxygen:{base:"Sync your classes and colors directly to Oxygen Builder and benefit from its native autosuggestion.",small:"Adds a deep integration to Oxygen Builder"},bricks:{base:"Sync your classes and colors directly to Bricks Builder and benefit from its native autosuggestion.",small:"Adds a deep integration to Bricks Builder"},figma:{base:"Sync your project between Core Framework's Web App/WordPress plugin, and our plugin inside Figma.",small:"Adds a deep integration to Figma"}},cGt={oxygen:"https://coreframework.com/marketplace/oxygen-builder-addon",bricks:"https://coreframework.com/marketplace/bricks-builder-addon",figma:"https://coreframework.com/marketplace/figma-integration"},uGt={gutenberg:_9e,oxygen:U9e,bricks:R9e,figma:M9e},zee=E.memo(({isMinimal:t=!1,withoutSection:e=!1})=>{const r=tn(Fp),n=kn(Tp),i=(u,f)=>n({...r,[u]:f}),o=E.useCallback(u=>{const f=new CustomEvent("addon-enabled",{detail:{addon:u}});document.dispatchEvent(f)},[]),s=E.useCallback(u=>t?Ome[u].small:Ome[u].base,[t]),a=E.useCallback(u=>({onChange:()=>{i(u,!r?.[u]),u!=="figma"&&o(u)},checked:!!r?.[u],imgUrl:uGt[u],key:u,title:u.charAt(0).toUpperCase()+u.slice(1),description:s(u),link:cGt[u]}),[i,r,s,o]),l=E.useMemo(()=>["oxygen","bricks","figma"].map(u=>a(u)),[a,e]),c=E.useMemo(()=>["gutenberg"].map(u=>a(u)),[a,e]);return e?C.jsx(C.Fragment,{children:[...c,...l].map(u=>t?C.jsx(FD,{...u,isMinimal:!0}):C.jsx(ND,{...u}))}):C.jsxs("section",{id:"addons",className:"section",children:[C.jsxs("div",{className:"subsection",children:[C.jsx("h1",{children:"Free Addons"}),C.jsx("div",{className:"columns-2 gap-l auto-fill",children:c.map(u=>t?C.jsx(FD,{...u,isMinimal:!0}):C.jsx(ND,{...u}))})]}),C.jsxs("div",{className:"subsection",children:[C.jsx("h1",{children:"Premium addons"}),C.jsx("div",{className:"columns-2 gap-l auto-fill",children:l.map(u=>t?C.jsx(FD,{...u,isMinimal:!0}):C.jsx(ND,{...u}))})]})]})});zee.displayName="Addons";const Kee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJUAAAB1CAYAAABH5qPNAAAACXBIWXMAAAhOAAAITgGMMQDsAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAChHSURBVHgB7V3tr2ZXVV9rP3daWkEHE+Mn7YXEDyQmjH9B76AkIBpK8IUYY6cJYCVohzdFY9Ki0WBiwhD9UNDQCyIS/QAaE78YGfSTiUmngICgzIW2lLaUTt+n997nLPfea/3WWvvc2zL0de69z27vPM9zXvbeZ+/f/q3fWnufc5gOcDp9i6xfsbs8Ma1N60UW1wjLcRFZL1zWiaQeIevELMztK3H9r22sH+1/S3Vb+808ZC12kG5tefTvQvhtGXLPUvPHdsbxfWfb3c+s1ajba+qfHOVrIe0Y0c3FTsRxlsVwPDJHpZj9KsnKsH1aHs2uWbMnVNwLQDbeDqgez3/rtcxa7fy731FeuUYHKL33D3c2JpYTtQmurRd1rUzL49OiXuRU6uVNvX+LN4o4GGSSjJqhIdCn4nixzQoP7IxeYf2tHSOkzcoGQuExTzR6O5wF38hqZ8f26hVFI7rTcNTQ4MDRnhfdJXaUsJelYBRxrEgfT22bZtGBQLrNr59LHyDixWj+eswMNKnt9gAqXdxlDarKRMfLcudUrf8b63WeqNd9nG3YKzFQGy69E6UBqH6doiVaE2pvRwpO0Q5AH/nOgXEoeGZPE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LJ9YKv7oKp43ac+u1B0+g4111wWdzEcUhsUyMi2RSGiAVwk7zknAviXw5DtlkwOAksoR0O5rp0KjJBjbavXii6p/jVXgdp7J2jT7BrN1qX2b9O9829TVa06TbSv09NR3Vjiuq40qXn217+066v0z6fl89qT97vh9l+6ZSNjfPXLVFq7RKq/Ts0v8D4+WejbzFd30AAAAASUVORK5CYII=";function Pme(t){return t.split(":")[0]}function fGt(t,e){const r=[];if(!t.startsWith("."))return r;for(const n of t.split(" ")){if(!n.startsWith("."))continue;const i=n.slice(1);if(!i.includes(".")){r.push(e+Pme(i));continue}for(const o of n.split("."))o&&r.push(Pme(o))}return r}const dGt=t=>{const e={colorStyles:{},typographyStyles:{},spacingStyles:{},layoutsStyles:{},designStyles:{},componentsStyles:{},stylesheetsStyles:{},otherStyles:{}},r=t?.styleSheetData??{},{root_font_size:n,min_screen_width:i,max_screen_width:o,is_rem:s}=t.preferences,a=t.classPrefix??"";let l;if(t?.modulesData?.COLOR_SYSTEM&&(l=J3({formData:t.modulesData.COLOR_SYSTEM})),l&&Array.isArray(l)){const A=l.filter(({selector:w})=>w.startsWith(".")).map(({selector:w})=>a+w.slice(1)),g=[...new Set(A)],m="Border Colors",v="Backgrounds",y="Text Colors",[b,B,S]=[[],[],[]];for(const w of g)w.includes("border")&&b.push(w),w.includes("bg")&&B.push(w),w.includes("text")&&S.push(w);!e.colorStyles[v]&&B.length&&(e.colorStyles[v]=B),e.colorStyles[v]&&B.length&&e.colorStyles[v].push(...B),!e.colorStyles[y]&&S.length&&(e.colorStyles[y]=S),e.colorStyles[y]&&S.length&&e.colorStyles[y].push(...S),!e.colorStyles[m]&&b.length&&(e.colorStyles[m]=b),e.colorStyles[m]&&b.length&&e.colorStyles[m].push(...b)}const c=["Gaps","gap-"],u=["Paddings","padding-"],f=["Margins","margin-"];let d;if(t?.modulesData?.FLUID_SPACING&&(d=mC({formData:t.modulesData.FLUID_SPACING,min_screen_width:i||bn,max_screen_width:o||bn,is_rem:s??!0,root_font_size:n||16,is_add_group_comments:!1})),d&&Array.isArray(d)){const A=d.filter(({selector:b})=>b.startsWith(".")).map(({selector:b})=>a+b.slice(1)),g=[...new Set(A)],[m,v,y]=[[],[],[]];for(const b of g){const S=d.find(w=>w.selector.includes(b))?.declarations[0].property;S&&((b.includes(c[1])||S.includes(c[1].replace("-","")))&&m.push(b),(b.includes(u[1])||S.includes(u[1].replace("-","")))&&v.push(b),(b.includes(f[1])||S.includes(f[1].replace("-","")))&&y.push(b))}!e.spacingStyles[c[0]]&&m.length&&(e.spacingStyles[c[0]]=m),e.spacingStyles[c[0]]&&m.length&&e.spacingStyles[c[0]].push(...m),!e.spacingStyles[u[0]]&&v.length&&(e.spacingStyles[u[0]]=v),e.spacingStyles[u[0]]&&v.length&&e.spacingStyles[u[0]].push(...v),!e.spacingStyles[f[0]]&&y.length&&(e.spacingStyles[f[0]]=y),e.spacingStyles[f[0]]&&y.length&&e.spacingStyles[f[0]].push(...y)}let p;if(t?.modulesData?.FLUID_TYPOGRAPHY&&(p=vC({formData:t.modulesData.FLUID_TYPOGRAPHY,min_screen_width:i||bn,max_screen_width:o||bn,is_rem:s??!0,root_font_size:n||16,is_add_group_comments:!1})),p&&Array.isArray(p)){const A=p.filter(({selector:v})=>v.startsWith(".")).map(({selector:v})=>a+v.slice(1)),g=[...new Set(A)],m="Fluid Typography";e.typographyStyles[m]||(e.typographyStyles[m]=g),e.typographyStyles[m]&&e.typographyStyles[m].push(...g)}let h;if(t?.modulesData?.COMPONENTS&&(h=vee({componentsData:t.modulesData.COMPONENTS,is_add_group_comments:!1})),h&&Array.isArray(h)){const A=h.filter(({selector:v})=>v.startsWith(".")).map(({selector:v})=>fGt(v,a)).flat(),g=[...new Set(A)],m="Components Editor";e.componentsStyles[m]||(e.componentsStyles[m]=g),e.componentsStyles[m]&&e.componentsStyles[m].push(...g)}for(const[A,g]of Object.entries(r))for(const m of g){if(m?.isDisabled||!m?.cssObjects.length)continue;const v=m.cssObjects.filter(({selector:b})=>b.startsWith(".")).map(({selector:b})=>{const B=b.slice(1);return`${a}${B}`}),y=m.name;v.length&&(e[A][y]||(e[A][y]=v),e[A][y]&&e[A][y].push(...v))}return e},_A=(t,e)=>t.replace(/\s+/g," ").replace(/: /g,":").replace(/; /g,";").replace(/ {/g,"{").replace(/} /g,"}").replace(/{ /g,"{").replace(/, /g,",").trim(),pGt=E.memo(({value:t,isActive:e,hasErrors:r,onTitleChange:n,onTabChange:i,onContextMenu:o})=>{const s=a=>{a.preventDefault(),o(!0)};return C.jsx("div",{className:zr("tab-name",{active:e,"has-errors":r}),onClick:i,onContextMenu:s,children:C.jsx(BI,{value:t,onChange:n,onBlur:()=>{}})})}),AGt=E.memo(({opened:t,position:e,onClose:r,onMenuAction:n,excludedItems:i=[]})=>{const[o,s]=E.useState(!1),a=E.useMemo(()=>[{icon:C.jsx(lh,{}),label:"Rename",onClick:()=>n("rename")},{icon:C.jsx(Uc,{}),label:"Duplicate",onClick:()=>n("duplicate")},{icon:C.jsx(_s,{}),label:o?"Are you sure?":"Delete",onClick:o?()=>{n("delete"),s(!1)}:()=>s(!0),closeMenuOnClick:o,style:o?{background:"#c2344e"}:{}}].filter((l,c)=>!i?.includes(c)),[o,i,n]);return E.useEffect(()=>{t&&s(!1)},[t]),C.jsx("div",{className:"tab-menu",style:{left:`${e.x}px`,top:`${e.y}px`},children:C.jsxs(br,{opened:t,onChange:r,position:"bottom-end",children:[C.jsx(br.Target,{children:C.jsx("span",{})}),C.jsx(br.Dropdown,{children:a.map(({label:l,...c})=>C.jsx(br.Item,{...c,children:l},l))})]})})});let fK=[],ONe=[];(()=>{let t="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,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j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let e=0,r=0;e<t.length;e++)(e%2?ONe:fK).push(r=r+t[e])})();function hGt(t){if(t<768)return!1;for(let e=0,r=fK.length;;){let n=e+r>>1;if(t<fK[n])r=n;else if(t>=ONe[n])e=n+1;else return!0;if(e==r)return!1}}function Ime(t){return t>=127462&&t<=127487}const Nme=8205;function mGt(t,e,r=!0,n=!0){return(r?PNe:gGt)(t,e,n)}function PNe(t,e,r){if(e==t.length)return e;e&&INe(t.charCodeAt(e))&&NNe(t.charCodeAt(e-1))&&e--;let n=rU(t,e);for(e+=Fme(n);e<t.length;){let i=rU(t,e);if(n==Nme||i==Nme||r&&hGt(i))e+=Fme(i),n=i;else if(Ime(i)){let o=0,s=e-2;for(;s>=0&&Ime(rU(t,s));)o++,s-=2;if(o%2==0)break;e+=2}else break}return e}function gGt(t,e,r){for(;e>0;){let n=PNe(t,e-2,r);if(n<e)return n;e--}return 0}function rU(t,e){let r=t.charCodeAt(e);if(!NNe(r)||e+1==t.length)return r;let n=t.charCodeAt(e+1);return INe(n)?(r-55296<<10)+(n-56320)+65536:r}function INe(t){return t>=56320&&t<57344}function NNe(t){return t>=55296&&t<56320}function Fme(t){return t<65536?1:2}class ii{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,r,n){[e,r]=XB(this,e,r);let i=[];return this.decompose(0,e,i,2),n.length&&n.decompose(0,n.length,i,3),this.decompose(r,this.length,i,1),Zd.from(i,this.length-(r-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,r=this.length){[e,r]=XB(this,e,r);let n=[];return this.decompose(e,r,n,0),Zd.from(n,r-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let r=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),i=new N5(this),o=new N5(e);for(let s=r,a=r;;){if(i.next(s),o.next(s),s=0,i.lineBreak!=o.lineBreak||i.done!=o.done||i.value!=o.value)return!1;if(a+=i.value.length,i.done||a>=n)return!0}}iter(e=1){return new N5(this,e)}iterRange(e,r=this.length){return new FNe(this,e,r)}iterLines(e,r){let n;if(e==null)n=this.iter();else{r==null&&(r=this.lines+1);let i=this.line(e).from;n=this.iterRange(i,Math.max(i,r==this.lines+1?this.length:r<=1?0:this.line(r-1).to))}return new TNe(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?ii.empty:e.length<=32?new es(e):Zd.from(es.split(e,[]))}}class es extends ii{constructor(e,r=vGt(e)){super(),this.text=e,this.length=r}get lines(){return this.text.length}get children(){return null}lineInner(e,r,n,i){for(let o=0;;o++){let s=this.text[o],a=i+s.length;if((r?n:a)>=e)return new yGt(i,a,n,s);i=a+1,n++}}decompose(e,r,n,i){let o=e<=0&&r>=this.length?this:new es(Tme(this.text,e,r),Math.min(r,this.length)-Math.max(0,e));if(i&1){let s=n.pop(),a=TD(o.text,s.text.slice(),0,o.length);if(a.length<=32)n.push(new es(a,s.length+o.length));else{let l=a.length>>1;n.push(new es(a.slice(0,l)),new es(a.slice(l)))}}else n.push(o)}replace(e,r,n){if(!(n instanceof es))return super.replace(e,r,n);[e,r]=XB(this,e,r);let i=TD(this.text,TD(n.text,Tme(this.text,0,e)),r),o=this.length+n.length-(r-e);return i.length<=32?new es(i,o):Zd.from(es.split(i,[]),o)}sliceString(e,r=this.length,n=` `){[e,r]=XB(this,e,r);let i="";for(let o=0,s=0;o<=r&&s<this.text.length;s++){let a=this.text[s],l=o+a.length;o>e&&s&&(i+=n),e<l&&r>o&&(i+=a.slice(Math.max(0,e-o),r-o)),o=l+1}return i}flatten(e){for(let r of this.text)e.push(r)}scanIdentical(){return 0}static split(e,r){let n=[],i=-1;for(let o of e)n.push(o),i+=o.length+1,n.length==32&&(r.push(new es(n,i)),n=[],i=-1);return i>-1&&r.push(new es(n,i)),r}}class Zd extends ii{constructor(e,r){super(),this.children=e,this.length=r,this.lines=0;for(let n of e)this.lines+=n.lines}lineInner(e,r,n,i){for(let o=0;;o++){let s=this.children[o],a=i+s.length,l=n+s.lines-1;if((r?l:a)>=e)return s.lineInner(e,r,n,i);i=a+1,n=l+1}}decompose(e,r,n,i){for(let o=0,s=0;s<=r&&o<this.children.length;o++){let a=this.children[o],l=s+a.length;if(e<=l&&r>=s){let c=i&((s<=e?1:0)|(l>=r?2:0));s>=e&&l<=r&&!c?n.push(a):a.decompose(e-s,r-s,n,c)}s=l+1}}replace(e,r,n){if([e,r]=XB(this,e,r),n.lines<this.lines)for(let i=0,o=0;i<this.children.length;i++){let s=this.children[i],a=o+s.length;if(e>=o&&r<=a){let l=s.replace(e-o,r-o,n),c=this.lines-s.lines+l.lines;if(l.lines<c>>5-1&&l.lines>c>>5+1){let u=this.children.slice();return u[i]=l,new Zd(u,this.length-(r-e)+n.length)}return super.replace(o,a,l)}o=a+1}return super.replace(e,r,n)}sliceString(e,r=this.length,n=` `){[e,r]=XB(this,e,r);let i="";for(let o=0,s=0;o<this.children.length&&s<=r;o++){let a=this.children[o],l=s+a.length;s>e&&o&&(i+=n),e<l&&r>s&&(i+=a.sliceString(e-s,r-s,n)),s=l+1}return i}flatten(e){for(let r of this.children)r.flatten(e)}scanIdentical(e,r){if(!(e instanceof Zd))return 0;let n=0,[i,o,s,a]=r>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;i+=r,o+=r){if(i==s||o==a)return n;let l=this.children[i],c=e.children[o];if(l!=c)return n+l.scanIdentical(c,r);n+=l.length+1}}static from(e,r=e.reduce((n,i)=>n+i.length+1,-1)){let n=0;for(let p of e)n+=p.lines;if(n<32){let p=[];for(let h of e)h.flatten(p);return new es(p,r)}let i=Math.max(32,n>>5),o=i<<1,s=i>>1,a=[],l=0,c=-1,u=[];function f(p){let h;if(p.lines>o&&p instanceof Zd)for(let A of p.children)f(A);else p.lines>s&&(l>s||!l)?(d(),a.push(p)):p instanceof es&&l&&(h=u[u.length-1])instanceof es&&p.lines+h.lines<=32?(l+=p.lines,c+=p.length+1,u[u.length-1]=new es(h.text.concat(p.text),h.length+1+p.length)):(l+p.lines>i&&d(),l+=p.lines,c+=p.length+1,u.push(p))}function d(){l!=0&&(a.push(u.length==1?u[0]:Zd.from(u,c)),c=-1,l=u.length=0)}for(let p of e)f(p);return d(),a.length==1?a[0]:new Zd(a,r)}}ii.empty=new es([""],0);function vGt(t){let e=-1;for(let r of t)e+=r.length+1;return e}function TD(t,e,r=0,n=1e9){for(let i=0,o=0,s=!0;o<t.length&&i<=n;o++){let a=t[o],l=i+a.length;l>=r&&(l>n&&(a=a.slice(0,n-i)),i<r&&(a=a.slice(r-i)),s?(e[e.length-1]+=a,s=!1):e.push(a)),i=l+1}return e}function Tme(t,e,r){return TD(t,[""],e,r)}class N5{constructor(e,r=1){this.dir=r,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[r>0?1:(e instanceof es?e.text.length:e.children.length)<<1]}nextInner(e,r){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,i=this.nodes[n],o=this.offsets[n],s=o>>1,a=i instanceof es?i.text.length:i.children.length;if(s==(r>0?a:0)){if(n==0)return this.done=!0,this.value="",this;r>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((o&1)==(r>0?0:1)){if(this.offsets[n]+=r,e==0)return this.lineBreak=!0,this.value=` `,this;e--}else if(i instanceof es){let l=i.text[s+(r<0?-1:0)];if(this.offsets[n]+=r,l.length>Math.max(0,e))return this.value=e==0?l:r>0?l.slice(e):l.slice(0,l.length-e),this;e-=l.length}else{let l=i.children[s+(r<0?-1:0)];e>l.length?(e-=l.length,this.offsets[n]+=r):(r<0&&this.offsets[n]--,this.nodes.push(l),this.offsets.push(r>0?1:(l instanceof es?l.text.length:l.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class FNe{constructor(e,r,n){this.value="",this.done=!1,this.cursor=new N5(e,r>n?-1:1),this.pos=r>n?e.length:0,this.from=Math.min(r,n),this.to=Math.max(r,n)}nextInner(e,r){if(r<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,r<0?this.pos-this.to:this.from-this.pos);let n=r<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:i}=this.cursor.next(e);return this.pos+=(i.length+e)*r,this.value=i.length<=n?i:r<0?i.slice(i.length-n):i.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class TNe{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:r,lineBreak:n,value:i}=this.inner.next(e);return r&&this.afterBreak?(this.value="",this.afterBreak=!1):r?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=i,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(ii.prototype[Symbol.iterator]=function(){return this.iter()},N5.prototype[Symbol.iterator]=FNe.prototype[Symbol.iterator]=TNe.prototype[Symbol.iterator]=function(){return this});class yGt{constructor(e,r,n,i){this.from=e,this.to=r,this.number=n,this.text=i}get length(){return this.to-this.from}}function XB(t,e,r){return e=Math.max(0,Math.min(t.length,e)),[e,Math.max(e,Math.min(t.length,r))]}function ma(t,e,r=!0,n=!0){return mGt(t,e,r,n)}function BGt(t){return t>=56320&&t<57344}function CGt(t){return t>=55296&&t<56320}function Wl(t,e){let r=t.charCodeAt(e);if(!CGt(r)||e+1==t.length)return r;let n=t.charCodeAt(e+1);return BGt(n)?(r-55296<<10)+(n-56320)+65536:r}function qee(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}function ep(t){return t<65536?1:2}const dK=/\r\n?|\n/;var dl=function(t){return t[t.Simple=0]="Simple",t[t.TrackDel=1]="TrackDel",t[t.TrackBefore=2]="TrackBefore",t[t.TrackAfter=3]="TrackAfter",t}(dl||(dl={}));class Bp{constructor(e){this.sections=e}get length(){let e=0;for(let r=0;r<this.sections.length;r+=2)e+=this.sections[r];return e}get newLength(){let e=0;for(let r=0;r<this.sections.length;r+=2){let n=this.sections[r+1];e+=n<0?this.sections[r]:n}return e}get empty(){return this.sections.length==0||this.sections.length==2&&this.sections[1]<0}iterGaps(e){for(let r=0,n=0,i=0;r<this.sections.length;){let o=this.sections[r++],s=this.sections[r++];s<0?(e(n,i,o),i+=o):i+=s,n+=o}}iterChangedRanges(e,r=!1){pK(this,e,r)}get invertedDesc(){let e=[];for(let r=0;r<this.sections.length;){let n=this.sections[r++],i=this.sections[r++];i<0?e.push(n,i):e.push(i,n)}return new Bp(e)}composeDesc(e){return this.empty?e:e.empty?this:LNe(this,e)}mapDesc(e,r=!1){return e.empty?this:AK(this,e,r)}mapPos(e,r=-1,n=dl.Simple){let i=0,o=0;for(let s=0;s<this.sections.length;){let a=this.sections[s++],l=this.sections[s++],c=i+a;if(l<0){if(c>e)return o+(e-i);o+=a}else{if(n!=dl.Simple&&c>=e&&(n==dl.TrackDel&&i<e&&c>e||n==dl.TrackBefore&&i<e||n==dl.TrackAfter&&c>e))return null;if(c>e||c==e&&r<0&&!a)return e==i||r<0?o:o+l;o+=l}i=c}if(e>i)throw new RangeError(`Position ${e} is out of range for changeset of length ${i}`);return o}touchesRange(e,r=e){for(let n=0,i=0;n<this.sections.length&&i<=r;){let o=this.sections[n++],s=this.sections[n++],a=i+o;if(s>=0&&i<=r&&a>=e)return i<e&&a>r?"cover":!0;i=a}return!1}toString(){let e="";for(let r=0;r<this.sections.length;){let n=this.sections[r++],i=this.sections[r++];e+=(e?" ":"")+n+(i>=0?":"+i:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(r=>typeof r!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new Bp(e)}static create(e){return new Bp(e)}}class Is extends Bp{constructor(e,r){super(e),this.inserted=r}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return pK(this,(r,n,i,o,s)=>e=e.replace(i,i+(n-r),s),!1),e}mapDesc(e,r=!1){return AK(this,e,r,!0)}invert(e){let r=this.sections.slice(),n=[];for(let i=0,o=0;i<r.length;i+=2){let s=r[i],a=r[i+1];if(a>=0){r[i]=a,r[i+1]=s;let l=i>>1;for(;n.length<l;)n.push(ii.empty);n.push(s?e.slice(o,o+s):ii.empty)}o+=s}return new Is(r,n)}compose(e){return this.empty?e:e.empty?this:LNe(this,e,!0)}map(e,r=!1){return e.empty?this:AK(this,e,r,!0)}iterChanges(e,r=!1){pK(this,e,r)}get desc(){return Bp.create(this.sections)}filter(e){let r=[],n=[],i=[],o=new a3(this);e:for(let s=0,a=0;;){let l=s==e.length?1e9:e[s++];for(;a<l||a==l&&o.len==0;){if(o.done)break e;let u=Math.min(o.len,l-a);Qa(i,u,-1);let f=o.ins==-1?-1:o.off==0?o.ins:0;Qa(r,u,f),f>0&&R0(n,r,o.text),o.forward(u),a+=u}let c=e[s++];for(;a<c;){if(o.done)break e;let u=Math.min(o.len,c-a);Qa(r,u,-1),Qa(i,u,o.ins==-1?-1:o.off==0?o.ins:0),o.forward(u),a+=u}}return{changes:new Is(r,n),filtered:Bp.create(i)}}toJSON(){let e=[];for(let r=0;r<this.sections.length;r+=2){let n=this.sections[r],i=this.sections[r+1];i<0?e.push(n):i==0?e.push([n]):e.push([n].concat(this.inserted[r>>1].toJSON()))}return e}static of(e,r,n){let i=[],o=[],s=0,a=null;function l(u=!1){if(!u&&!i.length)return;s<r&&Qa(i,r-s,-1);let f=new Is(i,o);a=a?a.compose(f.map(a)):f,i=[],o=[],s=0}function c(u){if(Array.isArray(u))for(let f of u)c(f);else if(u instanceof Is){if(u.length!=r)throw new RangeError(`Mismatched change set length (got ${u.length}, expected ${r})`);l(),a=a?a.compose(u.map(a)):u}else{let{from:f,to:d=f,insert:p}=u;if(f>d||f<0||d>r)throw new RangeError(`Invalid change range ${f} to ${d} (in doc of length ${r})`);let h=p?typeof p=="string"?ii.of(p.split(n||dK)):p:ii.empty,A=h.length;if(f==d&&A==0)return;f<s&&l(),f>s&&Qa(i,f-s,-1),Qa(i,d-f,A),R0(o,i,h),s=d}}return c(e),l(!a),a}static empty(e){return new Is(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let r=[],n=[];for(let i=0;i<e.length;i++){let o=e[i];if(typeof o=="number")r.push(o,-1);else{if(!Array.isArray(o)||typeof o[0]!="number"||o.some((s,a)=>a&&typeof s!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(o.length==1)r.push(o[0],0);else{for(;n.length<i;)n.push(ii.empty);n[i]=ii.of(o.slice(1)),r.push(o[0],n[i].length)}}}return new Is(r,n)}static createSet(e,r){return new Is(e,r)}}function Qa(t,e,r,n=!1){if(e==0&&r<=0)return;let i=t.length-2;i>=0&&r<=0&&r==t[i+1]?t[i]+=e:i>=0&&e==0&&t[i]==0?t[i+1]+=r:n?(t[i]+=e,t[i+1]+=r):t.push(e,r)}function R0(t,e,r){if(r.length==0)return;let n=e.length-2>>1;if(n<t.length)t[t.length-1]=t[t.length-1].append(r);else{for(;t.length<n;)t.push(ii.empty);t.push(r)}}function pK(t,e,r){let n=t.inserted;for(let i=0,o=0,s=0;s<t.sections.length;){let a=t.sections[s++],l=t.sections[s++];if(l<0)i+=a,o+=a;else{let c=i,u=o,f=ii.empty;for(;c+=a,u+=l,l&&n&&(f=f.append(n[s-2>>1])),!(r||s==t.sections.length||t.sections[s+1]<0);)a=t.sections[s++],l=t.sections[s++];e(i,c,o,u,f),i=c,o=u}}}function AK(t,e,r,n=!1){let i=[],o=n?[]:null,s=new a3(t),a=new a3(e);for(let l=-1;;){if(s.done&&a.len||a.done&&s.len)throw new Error("Mismatched change set lengths");if(s.ins==-1&&a.ins==-1){let c=Math.min(s.len,a.len);Qa(i,c,-1),s.forward(c),a.forward(c)}else if(a.ins>=0&&(s.ins<0||l==s.i||s.off==0&&(a.len<s.len||a.len==s.len&&!r))){let c=a.len;for(Qa(i,a.ins,-1);c;){let u=Math.min(s.len,c);s.ins>=0&&l<s.i&&s.len<=u&&(Qa(i,0,s.ins),o&&R0(o,i,s.text),l=s.i),s.forward(u),c-=u}a.next()}else if(s.ins>=0){let c=0,u=s.len;for(;u;)if(a.ins==-1){let f=Math.min(u,a.len);c+=f,u-=f,a.forward(f)}else if(a.ins==0&&a.len<u)u-=a.len,a.next();else break;Qa(i,c,l<s.i?s.ins:0),o&&l<s.i&&R0(o,i,s.text),l=s.i,s.forward(s.len-u)}else{if(s.done&&a.done)return o?Is.createSet(i,o):Bp.create(i);throw new Error("Mismatched change set lengths")}}}function LNe(t,e,r=!1){let n=[],i=r?[]:null,o=new a3(t),s=new a3(e);for(let a=!1;;){if(o.done&&s.done)return i?Is.createSet(n,i):Bp.create(n);if(o.ins==0)Qa(n,o.len,0,a),o.next();else if(s.len==0&&!s.done)Qa(n,0,s.ins,a),i&&R0(i,n,s.text),s.next();else{if(o.done||s.done)throw new Error("Mismatched change set lengths");{let l=Math.min(o.len2,s.len),c=n.length;if(o.ins==-1){let u=s.ins==-1?-1:s.off?0:s.ins;Qa(n,l,u,a),i&&u&&R0(i,n,s.text)}else s.ins==-1?(Qa(n,o.off?0:o.len,l,a),i&&R0(i,n,o.textBit(l))):(Qa(n,o.off?0:o.len,s.off?0:s.ins,a),i&&!s.off&&R0(i,n,s.text));a=(o.ins>l||s.ins>=0&&s.len>l)&&(a||n.length>c),o.forward2(l),s.forward(l)}}}}class a3{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i<e.length?(this.len=e[this.i++],this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return this.ins==-2}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:e}=this.set,r=this.i-2>>1;return r>=e.length?ii.empty:e[r]}textBit(e){let{inserted:r}=this.set,n=this.i-2>>1;return n>=r.length&&!e?ii.empty:r[n].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class u1{constructor(e,r,n){this.from=e,this.to=r,this.flags=n}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}get goalColumn(){let e=this.flags>>6;return e==16777215?void 0:e}map(e,r=-1){let n,i;return this.empty?n=i=e.mapPos(this.from,r):(n=e.mapPos(this.from,1),i=e.mapPos(this.to,-1)),n==this.from&&i==this.to?this:new u1(n,i,this.flags)}extend(e,r=e){if(e<=this.anchor&&r>=this.anchor)return It.range(e,r);let n=Math.abs(e-this.anchor)>Math.abs(r-this.anchor)?e:r;return It.range(this.anchor,n)}eq(e,r=!1){return this.anchor==e.anchor&&this.head==e.head&&(!r||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return It.range(e.anchor,e.head)}static create(e,r,n){return new u1(e,r,n)}}class It{constructor(e,r){this.ranges=e,this.mainIndex=r}map(e,r=-1){return e.empty?this:It.create(this.ranges.map(n=>n.map(e,r)),this.mainIndex)}eq(e,r=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;n<this.ranges.length;n++)if(!this.ranges[n].eq(e.ranges[n],r))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return this.ranges.length==1?this:new It([this.main],0)}addRange(e,r=!0){return It.create([e].concat(this.ranges),r?0:this.mainIndex+1)}replaceRange(e,r=this.mainIndex){let n=this.ranges.slice();return n[r]=e,It.create(n,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(e=>e.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new It(e.ranges.map(r=>u1.fromJSON(r)),e.main)}static single(e,r=e){return new It([It.range(e,r)],0)}static create(e,r=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let n=0,i=0;i<e.length;i++){let o=e[i];if(o.empty?o.from<=n:o.from<n)return It.normalized(e.slice(),r);n=o.to}return new It(e,r)}static cursor(e,r=0,n,i){return u1.create(e,e,(r==0?0:r<0?8:16)|(n==null?7:Math.min(6,n))|(i??16777215)<<6)}static range(e,r,n,i){let o=(n??16777215)<<6|(i==null?7:Math.min(6,i));return r<e?u1.create(r,e,48|o):u1.create(e,r,(r>e?8:0)|o)}static normalized(e,r=0){let n=e[r];e.sort((i,o)=>i.from-o.from),r=e.indexOf(n);for(let i=1;i<e.length;i++){let o=e[i],s=e[i-1];if(o.empty?o.from<=s.to:o.from<s.to){let a=s.from,l=Math.max(o.to,s.to);i<=r&&r--,e.splice(--i,2,o.anchor>o.head?It.range(l,a):It.range(a,l))}}return new It(e,r)}}function RNe(t,e){for(let r of t.ranges)if(r.to>e)throw new RangeError("Selection points outside of document")}let Xee=0;class Cr{constructor(e,r,n,i,o){this.combine=e,this.compareInput=r,this.compare=n,this.isStatic=i,this.id=Xee++,this.default=e([]),this.extensions=typeof o=="function"?o(this):o}get reader(){return this}static define(e={}){return new Cr(e.combine||(r=>r),e.compareInput||((r,n)=>r===n),e.compare||(e.combine?(r,n)=>r===n:Yee),!!e.static,e.enables)}of(e){return new LD([],this,0,e)}compute(e,r){if(this.isStatic)throw new Error("Can't compute a static facet");return new LD(e,this,1,r)}computeN(e,r){if(this.isStatic)throw new Error("Can't compute a static facet");return new LD(e,this,2,r)}from(e,r){return r||(r=n=>n),this.compute([e],n=>r(n.field(e)))}}function Yee(t,e){return t==e||t.length==e.length&&t.every((r,n)=>r===e[n])}class LD{constructor(e,r,n,i){this.dependencies=e,this.facet=r,this.type=n,this.value=i,this.id=Xee++}dynamicSlot(e){var r;let n=this.value,i=this.facet.compareInput,o=this.id,s=e[o]>>1,a=this.type==2,l=!1,c=!1,u=[];for(let f of this.dependencies)f=="doc"?l=!0:f=="selection"?c=!0:((r=e[f.id])!==null&&r!==void 0?r:1)&1||u.push(e[f.id]);return{create(f){return f.values[s]=n(f),1},update(f,d){if(l&&d.docChanged||c&&(d.docChanged||d.selection)||hK(f,u)){let p=n(f);if(a?!Lme(p,f.values[s],i):!i(p,f.values[s]))return f.values[s]=p,1}return 0},reconfigure:(f,d)=>{let p,h=d.config.address[o];if(h!=null){let A=VO(d,h);if(this.dependencies.every(g=>g instanceof Cr?d.facet(g)===f.facet(g):g instanceof ka?d.field(g,!1)==f.field(g,!1):!0)||(a?Lme(p=n(f),A,i):i(p=n(f),A)))return f.values[s]=A,0}else p=n(f);return f.values[s]=p,1}}}}function Lme(t,e,r){if(t.length!=e.length)return!1;for(let n=0;n<t.length;n++)if(!r(t[n],e[n]))return!1;return!0}function hK(t,e){let r=!1;for(let n of e)F5(t,n)&1&&(r=!0);return r}function bGt(t,e,r){let n=r.map(l=>t[l.id]),i=r.map(l=>l.type),o=n.filter(l=>!(l&1)),s=t[e.id]>>1;function a(l){let c=[];for(let u=0;u<n.length;u++){let f=VO(l,n[u]);if(i[u]==2)for(let d of f)c.push(d);else c.push(f)}return e.combine(c)}return{create(l){for(let c of n)F5(l,c);return l.values[s]=a(l),1},update(l,c){if(!hK(l,o))return 0;let u=a(l);return e.compare(u,l.values[s])?0:(l.values[s]=u,1)},reconfigure(l,c){let u=hK(l,n),f=c.config.facets[e.id],d=c.facet(e);if(f&&!u&&Yee(r,f))return l.values[s]=d,0;let p=a(l);return e.compare(p,d)?(l.values[s]=d,0):(l.values[s]=p,1)}}}const F8=Cr.define({static:!0});class ka{constructor(e,r,n,i,o){this.id=e,this.createF=r,this.updateF=n,this.compareF=i,this.spec=o,this.provides=void 0}static define(e){let r=new ka(Xee++,e.create,e.update,e.compare||((n,i)=>n===i),e);return e.provide&&(r.provides=e.provide(r)),r}create(e){let r=e.facet(F8).find(n=>n.field==this);return(r?.create||this.createF)(e)}slot(e){let r=e[this.id]>>1;return{create:n=>(n.values[r]=this.create(n),1),update:(n,i)=>{let o=n.values[r],s=this.updateF(o,i);return this.compareF(o,s)?0:(n.values[r]=s,1)},reconfigure:(n,i)=>{let o=n.facet(F8),s=i.facet(F8),a;return(a=o.find(l=>l.field==this))&&a!=s.find(l=>l.field==this)?(n.values[r]=a.create(n),1):i.config.address[this.id]!=null?(n.values[r]=i.field(this),0):(n.values[r]=this.create(n),1)}}}init(e){return[this,F8.of({field:this,create:e})]}get extension(){return this}}const Vg={lowest:4,low:3,default:2,high:1,highest:0};function dw(t){return e=>new MNe(e,t)}const Iv={highest:dw(Vg.highest),high:dw(Vg.high),default:dw(Vg.default),low:dw(Vg.low),lowest:dw(Vg.lowest)};class MNe{constructor(e,r){this.inner=e,this.prec=r}}class jN{of(e){return new mK(this,e)}reconfigure(e){return jN.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class mK{constructor(e,r){this.compartment=e,this.inner=r}}class QO{constructor(e,r,n,i,o,s){for(this.base=e,this.compartments=r,this.dynamicSlots=n,this.address=i,this.staticValues=o,this.facets=s,this.statusTemplate=[];this.statusTemplate.length<n.length;)this.statusTemplate.push(0)}staticFacet(e){let r=this.address[e.id];return r==null?e.default:this.staticValues[r>>1]}static resolve(e,r,n){let i=[],o=Object.create(null),s=new Map;for(let d of wGt(e,r,s))d instanceof ka?i.push(d):(o[d.facet.id]||(o[d.facet.id]=[])).push(d);let a=Object.create(null),l=[],c=[];for(let d of i)a[d.id]=c.length<<1,c.push(p=>d.slot(p));let u=n?.config.facets;for(let d in o){let p=o[d],h=p[0].facet,A=u&&u[d]||[];if(p.every(g=>g.type==0))if(a[h.id]=l.length<<1|1,Yee(A,p))l.push(n.facet(h));else{let g=h.combine(p.map(m=>m.value));l.push(n&&h.compare(g,n.facet(h))?n.facet(h):g)}else{for(let g of p)g.type==0?(a[g.id]=l.length<<1|1,l.push(g.value)):(a[g.id]=c.length<<1,c.push(m=>g.dynamicSlot(m)));a[h.id]=c.length<<1,c.push(g=>bGt(g,h,p))}}let f=c.map(d=>d(a));return new QO(e,s,f,a,l,o)}}function wGt(t,e,r){let n=[[],[],[],[],[]],i=new Map;function o(s,a){let l=i.get(s);if(l!=null){if(l<=a)return;let c=n[l].indexOf(s);c>-1&&n[l].splice(c,1),s instanceof mK&&r.delete(s.compartment)}if(i.set(s,a),Array.isArray(s))for(let c of s)o(c,a);else if(s instanceof mK){if(r.has(s.compartment))throw new RangeError("Duplicate use of compartment in extensions");let c=e.get(s.compartment)||s.inner;r.set(s.compartment,c),o(c,a)}else if(s instanceof MNe)o(s.inner,s.prec);else if(s instanceof ka)n[a].push(s),s.provides&&o(s.provides,a);else if(s instanceof LD)n[a].push(s),s.facet.extensions&&o(s.facet.extensions,Vg.default);else{let c=s.extension;if(!c)throw new Error(`Unrecognized extension value in extension set (${s}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);o(c,a)}}return o(t,Vg.default),n.reduce((s,a)=>s.concat(a))}function F5(t,e){if(e&1)return 2;let r=e>>1,n=t.status[r];if(n==4)throw new Error("Cyclic dependency between fields and/or facets");if(n&2)return n;t.status[r]=4;let i=t.computeSlot(t,t.config.dynamicSlots[r]);return t.status[r]=2|i}function VO(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}const _Ne=Cr.define(),gK=Cr.define({combine:t=>t.some(e=>e),static:!0}),jNe=Cr.define({combine:t=>t.length?t[0]:void 0,static:!0}),UNe=Cr.define(),QNe=Cr.define(),VNe=Cr.define(),$Ne=Cr.define({combine:t=>t.length?t[0]:!1});class Mp{constructor(e,r){this.type=e,this.value=r}static define(){return new xGt}}class xGt{of(e){return new Mp(this,e)}}class SGt{constructor(e){this.map=e}of(e){return new wn(this,e)}}class wn{constructor(e,r){this.type=e,this.value=r}map(e){let r=this.type.map(this.value,e);return r===void 0?void 0:r==this.value?this:new wn(this.type,r)}is(e){return this.type==e}static define(e={}){return new SGt(e.map||(r=>r))}static mapEffects(e,r){if(!e.length)return e;let n=[];for(let i of e){let o=i.map(r);o&&n.push(o)}return n}}wn.reconfigure=wn.define();wn.appendConfig=wn.define();class Ms{constructor(e,r,n,i,o,s){this.startState=e,this.changes=r,this.selection=n,this.effects=i,this.annotations=o,this.scrollIntoView=s,this._doc=null,this._state=null,n&&RNe(n,r.newLength),o.some(a=>a.type==Ms.time)||(this.annotations=o.concat(Ms.time.of(Date.now())))}static create(e,r,n,i,o,s){return new Ms(e,r,n,i,o,s)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let r of this.annotations)if(r.type==e)return r.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let r=this.annotation(Ms.userEvent);return!!(r&&(r==e||r.length>e.length&&r.slice(0,e.length)==e&&r[e.length]=="."))}}Ms.time=Mp.define();Ms.userEvent=Mp.define();Ms.addToHistory=Mp.define();Ms.remote=Mp.define();function EGt(t,e){let r=[];for(let n=0,i=0;;){let o,s;if(n<t.length&&(i==e.length||e[i]>=t[n]))o=t[n++],s=t[n++];else if(i<e.length)o=e[i++],s=e[i++];else return r;!r.length||r[r.length-1]<o?r.push(o,s):r[r.length-1]<s&&(r[r.length-1]=s)}}function HNe(t,e,r){var n;let i,o,s;return r?(i=e.changes,o=Is.empty(e.changes.length),s=t.changes.compose(e.changes)):(i=e.changes.map(t.changes),o=t.changes.mapDesc(e.changes,!0),s=t.changes.compose(i)),{changes:s,selection:e.selection?e.selection.map(o):(n=t.selection)===null||n===void 0?void 0:n.map(i),effects:wn.mapEffects(t.effects,i).concat(wn.mapEffects(e.effects,o)),annotations:t.annotations.length?t.annotations.concat(e.annotations):e.annotations,scrollIntoView:t.scrollIntoView||e.scrollIntoView}}function vK(t,e,r){let n=e.selection,i=$2(e.annotations);return e.userEvent&&(i=i.concat(Ms.userEvent.of(e.userEvent))),{changes:e.changes instanceof Is?e.changes:Is.of(e.changes||[],r,t.facet(jNe)),selection:n&&(n instanceof It?n:It.single(n.anchor,n.head)),effects:$2(e.effects),annotations:i,scrollIntoView:!!e.scrollIntoView}}function GNe(t,e,r){let n=vK(t,e.length?e[0]:{},t.doc.length);e.length&&e[0].filter===!1&&(r=!1);for(let o=1;o<e.length;o++){e[o].filter===!1&&(r=!1);let s=!!e[o].sequential;n=HNe(n,vK(t,e[o],s?n.changes.newLength:t.doc.length),s)}let i=Ms.create(t,n.changes,n.selection,n.effects,n.annotations,n.scrollIntoView);return kGt(r?DGt(i):i)}function DGt(t){let e=t.startState,r=!0;for(let i of e.facet(UNe)){let o=i(t);if(o===!1){r=!1;break}Array.isArray(o)&&(r=r===!0?o:EGt(r,o))}if(r!==!0){let i,o;if(r===!1)o=t.changes.invertedDesc,i=Is.empty(e.doc.length);else{let s=t.changes.filter(r);i=s.changes,o=s.filtered.mapDesc(s.changes).invertedDesc}t=Ms.create(e,i,t.selection&&t.selection.map(o),wn.mapEffects(t.effects,o),t.annotations,t.scrollIntoView)}let n=e.facet(QNe);for(let i=n.length-1;i>=0;i--){let o=n[i](t);o instanceof Ms?t=o:Array.isArray(o)&&o.length==1&&o[0]instanceof Ms?t=o[0]:t=GNe(e,$2(o),!1)}return t}function kGt(t){let e=t.startState,r=e.facet(VNe),n=t;for(let i=r.length-1;i>=0;i--){let o=r[i](t);o&&Object.keys(o).length&&(n=HNe(n,vK(e,o,t.changes.newLength),!0))}return n==t?t:Ms.create(e,t.changes,t.selection,n.effects,n.annotations,n.scrollIntoView)}const OGt=[];function $2(t){return t==null?OGt:Array.isArray(t)?t:[t]}var bo=function(t){return t[t.Word=0]="Word",t[t.Space=1]="Space",t[t.Other=2]="Other",t}(bo||(bo={}));const PGt=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let yK;try{yK=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function IGt(t){if(yK)return yK.test(t);for(let e=0;e<t.length;e++){let r=t[e];if(/\w/.test(r)||r>""&&(r.toUpperCase()!=r.toLowerCase()||PGt.test(r)))return!0}return!1}function NGt(t){return e=>{if(!/\S/.test(e))return bo.Space;if(IGt(e))return bo.Word;for(let r=0;r<t.length;r++)if(e.indexOf(t[r])>-1)return bo.Word;return bo.Other}}class qn{constructor(e,r,n,i,o,s){this.config=e,this.doc=r,this.selection=n,this.values=i,this.status=e.statusTemplate.slice(),this.computeSlot=o,s&&(s._state=this);for(let a=0;a<this.config.dynamicSlots.length;a++)F5(this,a<<1);this.computeSlot=null}field(e,r=!0){let n=this.config.address[e.id];if(n==null){if(r)throw new RangeError("Field is not present in this state");return}return F5(this,n),VO(this,n)}update(...e){return GNe(this,e,!0)}applyTransaction(e){let r=this.config,{base:n,compartments:i}=r;for(let a of e.effects)a.is(jN.reconfigure)?(r&&(i=new Map,r.compartments.forEach((l,c)=>i.set(c,l)),r=null),i.set(a.value.compartment,a.value.extension)):a.is(wn.reconfigure)?(r=null,n=a.value):a.is(wn.appendConfig)&&(r=null,n=$2(n).concat(a.value));let o;r?o=e.startState.values.slice():(r=QO.resolve(n,i,this),o=new qn(r,this.doc,this.selection,r.dynamicSlots.map(()=>null),(l,c)=>c.reconfigure(l,this),null).values);let s=e.startState.facet(gK)?e.newSelection:e.newSelection.asSingle();new qn(r,e.newDoc,s,o,(a,l)=>l.update(a,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(r=>({changes:{from:r.from,to:r.to,insert:e},range:It.cursor(r.from+e.length)}))}changeByRange(e){let r=this.selection,n=e(r.ranges[0]),i=this.changes(n.changes),o=[n.range],s=$2(n.effects);for(let a=1;a<r.ranges.length;a++){let l=e(r.ranges[a]),c=this.changes(l.changes),u=c.map(i);for(let d=0;d<a;d++)o[d]=o[d].map(u);let f=i.mapDesc(c,!0);o.push(l.range.map(f)),i=i.compose(u),s=wn.mapEffects(s,u).concat(wn.mapEffects($2(l.effects),f))}return{changes:i,selection:It.create(o,r.mainIndex),effects:s}}changes(e=[]){return e instanceof Is?e:Is.of(e,this.doc.length,this.facet(qn.lineSeparator))}toText(e){return ii.of(e.split(this.facet(qn.lineSeparator)||dK))}sliceDoc(e=0,r=this.doc.length){return this.doc.sliceString(e,r,this.lineBreak)}facet(e){let r=this.config.address[e.id];return r==null?e.default:(F5(this,r),VO(this,r))}toJSON(e){let r={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let n in e){let i=e[n];i instanceof ka&&this.config.address[i.id]!=null&&(r[n]=i.spec.toJSON(this.field(e[n]),this))}return r}static fromJSON(e,r={},n){if(!e||typeof e.doc!="string")throw new RangeError("Invalid JSON representation for EditorState");let i=[];if(n){for(let o in n)if(Object.prototype.hasOwnProperty.call(e,o)){let s=n[o],a=e[o];i.push(s.init(l=>s.spec.fromJSON(a,l)))}}return qn.create({doc:e.doc,selection:It.fromJSON(e.selection),extensions:r.extensions?i.concat([r.extensions]):i})}static create(e={}){let r=QO.resolve(e.extensions||[],new Map),n=e.doc instanceof ii?e.doc:ii.of((e.doc||"").split(r.staticFacet(qn.lineSeparator)||dK)),i=e.selection?e.selection instanceof It?e.selection:It.single(e.selection.anchor,e.selection.head):It.single(0);return RNe(i,n.length),r.staticFacet(gK)||(i=i.asSingle()),new qn(r,n,i,r.dynamicSlots.map(()=>null),(o,s)=>s.create(o),null)}get tabSize(){return this.facet(qn.tabSize)}get lineBreak(){return this.facet(qn.lineSeparator)||` `}get readOnly(){return this.facet($Ne)}phrase(e,...r){for(let n of this.facet(qn.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return r.length&&(e=e.replace(/\$(\$|\d*)/g,(n,i)=>{if(i=="$")return"$";let o=+(i||1);return!o||o>r.length?n:r[o-1]})),e}languageDataAt(e,r,n=-1){let i=[];for(let o of this.facet(_Ne))for(let s of o(this,r,n))Object.prototype.hasOwnProperty.call(s,e)&&i.push(s[e]);return i}charCategorizer(e){return NGt(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:r,from:n,length:i}=this.doc.lineAt(e),o=this.charCategorizer(e),s=e-n,a=e-n;for(;s>0;){let l=ma(r,s,!1);if(o(r.slice(l,s))!=bo.Word)break;s=l}for(;a<i;){let l=ma(r,a);if(o(r.slice(a,l))!=bo.Word)break;a=l}return s==a?null:It.range(s+n,a+n)}}qn.allowMultipleSelections=gK;qn.tabSize=Cr.define({combine:t=>t.length?t[0]:4});qn.lineSeparator=jNe;qn.readOnly=$Ne;qn.phrases=Cr.define({compare(t,e){let r=Object.keys(t),n=Object.keys(e);return r.length==n.length&&r.every(i=>t[i]==e[i])}});qn.languageData=_Ne;qn.changeFilter=UNe;qn.transactionFilter=QNe;qn.transactionExtender=VNe;jN.reconfigure=wn.define();function _p(t,e,r={}){let n={};for(let i of t)for(let o of Object.keys(i)){let s=i[o],a=n[o];if(a===void 0)n[o]=s;else if(!(a===s||s===void 0))if(Object.hasOwnProperty.call(r,o))n[o]=r[o](a,s);else throw new Error("Config merge conflict for field "+o)}for(let i in e)n[i]===void 0&&(n[i]=e[i]);return n}class Y1{eq(e){return this==e}range(e,r=e){return BK.create(e,r,this)}}Y1.prototype.startSide=Y1.prototype.endSide=0;Y1.prototype.point=!1;Y1.prototype.mapMode=dl.TrackDel;let BK=class WNe{constructor(e,r,n){this.from=e,this.to=r,this.value=n}static create(e,r,n){return new WNe(e,r,n)}};function CK(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}class Jee{constructor(e,r,n,i){this.from=e,this.to=r,this.value=n,this.maxPoint=i}get length(){return this.to[this.to.length-1]}findIndex(e,r,n,i=0){let o=n?this.to:this.from;for(let s=i,a=o.length;;){if(s==a)return s;let l=s+a>>1,c=o[l]-e||(n?this.value[l].endSide:this.value[l].startSide)-r;if(l==s)return c>=0?s:a;c>=0?a=l:s=l+1}}between(e,r,n,i){for(let o=this.findIndex(r,-1e9,!0),s=this.findIndex(n,1e9,!1,o);o<s;o++)if(i(this.from[o]+e,this.to[o]+e,this.value[o])===!1)return!1}map(e,r){let n=[],i=[],o=[],s=-1,a=-1;for(let l=0;l<this.value.length;l++){let c=this.value[l],u=this.from[l]+e,f=this.to[l]+e,d,p;if(u==f){let h=r.mapPos(u,c.startSide,c.mapMode);if(h==null||(d=p=h,c.startSide!=c.endSide&&(p=r.mapPos(u,c.endSide),p<d)))continue}else if(d=r.mapPos(u,c.startSide),p=r.mapPos(f,c.endSide),d>p||d==p&&c.startSide>0&&c.endSide<=0)continue;(p-d||c.endSide-c.startSide)<0||(s<0&&(s=d),c.point&&(a=Math.max(a,p-d)),n.push(c),i.push(d-s),o.push(p-s))}return{mapped:n.length?new Jee(i,o,n,a):null,pos:s}}}class ri{constructor(e,r,n,i){this.chunkPos=e,this.chunk=r,this.nextLayer=n,this.maxPoint=i}static create(e,r,n,i){return new ri(e,r,n,i)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let r of this.chunk)e+=r.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:r=[],sort:n=!1,filterFrom:i=0,filterTo:o=this.length}=e,s=e.filter;if(r.length==0&&!s)return this;if(n&&(r=r.slice().sort(CK)),this.isEmpty)return r.length?ri.of(r):this;let a=new zNe(this,null,-1).goto(0),l=0,c=[],u=new hh;for(;a.value||l<r.length;)if(l<r.length&&(a.from-r[l].from||a.startSide-r[l].value.startSide)>=0){let f=r[l++];u.addInner(f.from,f.to,f.value)||c.push(f)}else a.rangeIndex==1&&a.chunkIndex<this.chunk.length&&(l==r.length||this.chunkEnd(a.chunkIndex)<r[l].from)&&(!s||i>this.chunkEnd(a.chunkIndex)||o<this.chunkPos[a.chunkIndex])&&u.addChunk(this.chunkPos[a.chunkIndex],this.chunk[a.chunkIndex])?a.nextChunk():((!s||i>a.to||o<a.from||s(a.from,a.to,a.value))&&(u.addInner(a.from,a.to,a.value)||c.push(BK.create(a.from,a.to,a.value))),a.next());return u.finishInner(this.nextLayer.isEmpty&&!c.length?ri.empty:this.nextLayer.update({add:c,filter:s,filterFrom:i,filterTo:o}))}map(e){if(e.empty||this.isEmpty)return this;let r=[],n=[],i=-1;for(let s=0;s<this.chunk.length;s++){let a=this.chunkPos[s],l=this.chunk[s],c=e.touchesRange(a,a+l.length);if(c===!1)i=Math.max(i,l.maxPoint),r.push(l),n.push(e.mapPos(a));else if(c===!0){let{mapped:u,pos:f}=l.map(a,e);u&&(i=Math.max(i,u.maxPoint),r.push(u),n.push(f))}}let o=this.nextLayer.map(e);return r.length==0?o:new ri(n,r,o||ri.empty,i)}between(e,r,n){if(!this.isEmpty){for(let i=0;i<this.chunk.length;i++){let o=this.chunkPos[i],s=this.chunk[i];if(r>=o&&e<=o+s.length&&s.between(o,e-o,r-o,n)===!1)return}this.nextLayer.between(e,r,n)}}iter(e=0){return l3.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,r=0){return l3.from(e).goto(r)}static compare(e,r,n,i,o=-1){let s=e.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=o),a=r.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=o),l=Rme(s,a,n),c=new pw(s,l,o),u=new pw(a,l,o);n.iterGaps((f,d,p)=>Mme(c,f,u,d,p,i)),n.empty&&n.length==0&&Mme(c,0,u,0,0,i)}static eq(e,r,n=0,i){i==null&&(i=1e9-1);let o=e.filter(u=>!u.isEmpty&&r.indexOf(u)<0),s=r.filter(u=>!u.isEmpty&&e.indexOf(u)<0);if(o.length!=s.length)return!1;if(!o.length)return!0;let a=Rme(o,s),l=new pw(o,a,0).goto(n),c=new pw(s,a,0).goto(n);for(;;){if(l.to!=c.to||!bK(l.active,c.active)||l.point&&(!c.point||!l.point.eq(c.point)))return!1;if(l.to>i)return!0;l.next(),c.next()}}static spans(e,r,n,i,o=-1){let s=new pw(e,null,o).goto(r),a=r,l=s.openStart;for(;;){let c=Math.min(s.to,n);if(s.point){let u=s.activeForPoint(s.to),f=s.pointFrom<r?u.length+1:s.point.startSide<0?u.length:Math.min(u.length,l);i.point(a,c,s.point,u,f,s.pointRank),l=Math.min(s.openEnd(c),u.length)}else c>a&&(i.span(a,c,s.active,l),l=s.openEnd(c));if(s.to>n)return l+(s.point&&s.to>n?1:0);a=s.to,s.next()}}static of(e,r=!1){let n=new hh;for(let i of e instanceof BK?[e]:r?FGt(e):e)n.add(i.from,i.to,i.value);return n.finish()}static join(e){if(!e.length)return ri.empty;let r=e[e.length-1];for(let n=e.length-2;n>=0;n--)for(let i=e[n];i!=ri.empty;i=i.nextLayer)r=new ri(i.chunkPos,i.chunk,r,Math.max(i.maxPoint,r.maxPoint));return r}}ri.empty=new ri([],[],null,-1);function FGt(t){if(t.length>1)for(let e=t[0],r=1;r<t.length;r++){let n=t[r];if(CK(e,n)>0)return t.slice().sort(CK);e=n}return t}ri.empty.nextLayer=ri.empty;class hh{finishChunk(e){this.chunks.push(new Jee(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,r,n){this.addInner(e,r,n)||(this.nextLayer||(this.nextLayer=new hh)).add(e,r,n)}addInner(e,r,n){let i=e-this.lastTo||n.startSide-this.last.endSide;if(i<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return i<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(r-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=r,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,r-e)),!0)}addChunk(e,r){if((e-this.lastTo||r.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,r.maxPoint),this.chunks.push(r),this.chunkPos.push(e);let n=r.value.length-1;return this.last=r.value[n],this.lastFrom=r.from[n]+e,this.lastTo=r.to[n]+e,!0}finish(){return this.finishInner(ri.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let r=ri.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,r}}function Rme(t,e,r){let n=new Map;for(let o of t)for(let s=0;s<o.chunk.length;s++)o.chunk[s].maxPoint<=0&&n.set(o.chunk[s],o.chunkPos[s]);let i=new Set;for(let o of e)for(let s=0;s<o.chunk.length;s++){let a=n.get(o.chunk[s]);a!=null&&(r?r.mapPos(a):a)==o.chunkPos[s]&&!r?.touchesRange(a,a+o.chunk[s].length)&&i.add(o.chunk[s])}return i}class zNe{constructor(e,r,n,i=0){this.layer=e,this.skip=r,this.minPoint=n,this.rank=i}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(e,r=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,r,!1),this}gotoInner(e,r,n){for(;this.chunkIndex<this.layer.chunk.length;){let i=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(i)||this.layer.chunkEnd(this.chunkIndex)<e||i.maxPoint<this.minPoint))break;this.chunkIndex++,n=!1}if(this.chunkIndex<this.layer.chunk.length){let i=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],r,!0);(!n||this.rangeIndex<i)&&this.setRangeIndex(i)}this.next()}forward(e,r){(this.to-e||this.endSide-r)<0&&this.gotoInner(e,r,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}else{let e=this.layer.chunkPos[this.chunkIndex],r=this.layer.chunk[this.chunkIndex],n=e+r.from[this.rangeIndex];if(this.from=n,this.to=e+r.to[this.rangeIndex],this.value=r.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}}class l3{constructor(e){this.heap=e}static from(e,r=null,n=-1){let i=[];for(let o=0;o<e.length;o++)for(let s=e[o];!s.isEmpty;s=s.nextLayer)s.maxPoint>=n&&i.push(new zNe(s,r,n,o));return i.length==1?i[0]:new l3(i)}get startSide(){return this.value?this.value.startSide:0}goto(e,r=-1e9){for(let n of this.heap)n.goto(e,r);for(let n=this.heap.length>>1;n>=0;n--)nU(this.heap,n);return this.next(),this}forward(e,r){for(let n of this.heap)n.forward(e,r);for(let n=this.heap.length>>1;n>=0;n--)nU(this.heap,n);(this.to-e||this.value.endSide-r)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),nU(this.heap,0)}}}function nU(t,e){for(let r=t[e];;){let n=(e<<1)+1;if(n>=t.length)break;let i=t[n];if(n+1<t.length&&i.compare(t[n+1])>=0&&(i=t[n+1],n++),r.compare(i)<0)break;t[n]=r,t[e]=i,e=n}}class pw{constructor(e,r,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=l3.from(e,r,n)}goto(e,r=-1e9){return this.cursor.goto(e,r),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=r,this.openStart=-1,this.next(),this}forward(e,r){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-r)<0;)this.removeActive(this.minActive);this.cursor.forward(e,r)}removeActive(e){T8(this.active,e),T8(this.activeTo,e),T8(this.activeRank,e),this.minActive=_me(this.active,this.activeTo)}addActive(e){let r=0,{value:n,to:i,rank:o}=this.cursor;for(;r<this.activeRank.length&&(o-this.activeRank[r]||i-this.activeTo[r])>0;)r++;L8(this.active,r,n),L8(this.activeTo,r,i),L8(this.activeRank,r,o),e&&L8(e,r,this.cursor.from),this.minActive=_me(this.active,this.activeTo)}next(){let e=this.to,r=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let i=this.minActive;if(i>-1&&(this.activeTo[i]-this.cursor.from||this.active[i].endSide-this.cursor.startSide)<0){if(this.activeTo[i]>e){this.to=this.activeTo[i],this.endSide=this.active[i].endSide;break}this.removeActive(i),n&&T8(n,i)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let o=this.cursor.value;if(!o.point)this.addActive(n),this.cursor.next();else if(r&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)this.cursor.next();else{this.point=o,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=o.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}}else{this.to=this.endSide=1e9;break}}if(n){this.openStart=0;for(let i=n.length-1;i>=0&&n[i]<e;i--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let r=[];for(let n=this.active.length-1;n>=0&&!(this.activeRank[n]<this.pointRank);n--)(this.activeTo[n]>e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&r.push(this.active[n]);return r.reverse()}openEnd(e){let r=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)r++;return r}}function Mme(t,e,r,n,i,o){t.goto(e),r.goto(n);let s=n+i,a=n,l=n-e;for(;;){let c=t.to+l-r.to,u=c||t.endSide-r.endSide,f=u<0?t.to+l:r.to,d=Math.min(f,s);if(t.point||r.point?t.point&&r.point&&(t.point==r.point||t.point.eq(r.point))&&bK(t.activeForPoint(t.to),r.activeForPoint(r.to))||o.comparePoint(a,d,t.point,r.point):d>a&&!bK(t.active,r.active)&&o.compareRange(a,d,t.active,r.active),f>s)break;(c||t.openEnd!=r.openEnd)&&o.boundChange&&o.boundChange(f),a=f,u<=0&&t.next(),u>=0&&r.next()}}function bK(t,e){if(t.length!=e.length)return!1;for(let r=0;r<t.length;r++)if(t[r]!=e[r]&&!t[r].eq(e[r]))return!1;return!0}function T8(t,e){for(let r=e,n=t.length-1;r<n;r++)t[r]=t[r+1];t.pop()}function L8(t,e,r){for(let n=t.length-1;n>=e;n--)t[n+1]=t[n];t[e]=r}function _me(t,e){let r=-1,n=1e9;for(let i=0;i<e.length;i++)(e[i]-n||t[i].endSide-t[r].endSide)<0&&(r=i,n=e[i]);return r}function zC(t,e,r=t.length){let n=0;for(let i=0;i<r&&i<t.length;)t.charCodeAt(i)==9?(n+=e-n%e,i++):(n++,i=ma(t,i));return n}function wK(t,e,r,n){for(let i=0,o=0;;){if(o>=e)return i;if(i==t.length)break;o+=t.charCodeAt(i)==9?r-o%r:1,i=ma(t,i)}return n===!0?-1:t.length}const xK="ͼ",jme=typeof Symbol>"u"?"__"+xK:Symbol.for(xK),SK=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),Ume=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Dm{constructor(e,r){this.rules=[];let{finish:n}=r||{};function i(s){return/^@/.test(s)?[s]:s.split(/,\s*/)}function o(s,a,l,c){let u=[],f=/^@(\w+)\b/.exec(s[0]),d=f&&f[1]=="keyframes";if(f&&a==null)return l.push(s[0]+";");for(let p in a){let h=a[p];if(/&/.test(p))o(p.split(/,\s*/).map(A=>s.map(g=>A.replace(/&/,g))).reduce((A,g)=>A.concat(g)),h,l);else if(h&&typeof h=="object"){if(!f)throw new RangeError("The value of a property ("+p+") should be a primitive value.");o(i(p),h,u,d)}else h!=null&&u.push(p.replace(/_.*/,"").replace(/[A-Z]/g,A=>"-"+A.toLowerCase())+": "+h+";")}(u.length||d)&&l.push((n&&!f&&!c?s.map(n):s).join(", ")+" {"+u.join(" ")+"}")}for(let s in e)o(i(s),e[s],this.rules)}getRules(){return this.rules.join(` `)}static newName(){let e=Ume[jme]||1;return Ume[jme]=e+1,xK+e.toString(36)}static mount(e,r,n){let i=e[SK],o=n&&n.nonce;i?o&&i.setNonce(o):i=new TGt(e,o),i.mount(Array.isArray(r)?r:[r],e)}}let Qme=new Map;class TGt{constructor(e,r){let n=e.ownerDocument||e,i=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&i.CSSStyleSheet){let o=Qme.get(n);if(o)return e[SK]=o;this.sheet=new i.CSSStyleSheet,Qme.set(n,this)}else this.styleTag=n.createElement("style"),r&&this.styleTag.setAttribute("nonce",r);this.modules=[],e[SK]=this}mount(e,r){let n=this.sheet,i=0,o=0;for(let s=0;s<e.length;s++){let a=e[s],l=this.modules.indexOf(a);if(l<o&&l>-1&&(this.modules.splice(l,1),o--,l=-1),l==-1){if(this.modules.splice(o++,0,a),n)for(let c=0;c<a.rules.length;c++)n.insertRule(a.rules[c],i++)}else{for(;o<l;)i+=this.modules[o++].rules.length;i+=a.rules.length,o++}}if(n)r.adoptedStyleSheets.indexOf(this.sheet)<0&&(r.adoptedStyleSheets=[this.sheet,...r.adoptedStyleSheets]);else{let s="";for(let l=0;l<this.modules.length;l++)s+=this.modules[l].getRules()+` `;this.styleTag.textContent=s;let a=r.head||r;this.styleTag.parentNode!=a&&a.insertBefore(this.styleTag,a.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}}var km={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},c3={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},LGt=typeof navigator<"u"&&/Mac/.test(navigator.platform),RGt=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Aa=0;Aa<10;Aa++)km[48+Aa]=km[96+Aa]=String(Aa);for(var Aa=1;Aa<=24;Aa++)km[Aa+111]="F"+Aa;for(var Aa=65;Aa<=90;Aa++)km[Aa]=String.fromCharCode(Aa+32),c3[Aa]=String.fromCharCode(Aa);for(var iU in km)c3.hasOwnProperty(iU)||(c3[iU]=km[iU]);function MGt(t){var e=LGt&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||RGt&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",r=!e&&t.key||(t.shiftKey?c3:km)[t.keyCode]||t.key||"Unidentified";return r=="Esc"&&(r="Escape"),r=="Del"&&(r="Delete"),r=="Left"&&(r="ArrowLeft"),r=="Up"&&(r="ArrowUp"),r=="Right"&&(r="ArrowRight"),r=="Down"&&(r="ArrowDown"),r}function Vi(){var t=arguments[0];typeof t=="string"&&(t=document.createElement(t));var e=1,r=arguments[1];if(r&&typeof r=="object"&&r.nodeType==null&&!Array.isArray(r)){for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)){var i=r[n];typeof i=="string"?t.setAttribute(n,i):i!=null&&(t[n]=i)}e++}for(;e<arguments.length;e++)KNe(t,arguments[e]);return t}function KNe(t,e){if(typeof e=="string")t.appendChild(document.createTextNode(e));else if(e!=null)if(e.nodeType!=null)t.appendChild(e);else if(Array.isArray(e))for(var r=0;r<e.length;r++)KNe(t,e[r]);else throw new RangeError("Unsupported child node: "+e)}function u3(t){let e;return t.nodeType==11?e=t.getSelection?t:t.ownerDocument:e=t,e.getSelection()}function EK(t,e){return e?t==e||t.contains(e.nodeType!=1?e.parentNode:e):!1}function RD(t,e){if(!e.anchorNode)return!1;try{return EK(t,e.anchorNode)}catch{return!1}}function YB(t){return t.nodeType==3?Z1(t,0,t.nodeValue.length).getClientRects():t.nodeType==1?t.getClientRects():[]}function T5(t,e,r,n){return r?Vme(t,e,r,n,-1)||Vme(t,e,r,n,1):!1}function J1(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e}function $O(t){return t.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}function Vme(t,e,r,n,i){for(;;){if(t==r&&e==n)return!0;if(e==(i<0?0:Dp(t))){if(t.nodeName=="DIV")return!1;let o=t.parentNode;if(!o||o.nodeType!=1)return!1;e=J1(t)+(i<0?0:1),t=o}else if(t.nodeType==1){if(t=t.childNodes[e+(i<0?-1:0)],t.nodeType==1&&t.contentEditable=="false")return!1;e=i<0?Dp(t):0}else return!1}}function Dp(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function Lx(t,e){let r=e?t.left:t.right;return{left:r,right:r,top:t.top,bottom:t.bottom}}function _Gt(t){let e=t.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}function qNe(t,e){let r=e.width/t.offsetWidth,n=e.height/t.offsetHeight;return(r>.995&&r<1.005||!isFinite(r)||Math.abs(e.width-t.offsetWidth)<1)&&(r=1),(n>.995&&n<1.005||!isFinite(n)||Math.abs(e.height-t.offsetHeight)<1)&&(n=1),{scaleX:r,scaleY:n}}function jGt(t,e,r,n,i,o,s,a){let l=t.ownerDocument,c=l.defaultView||window;for(let u=t,f=!1;u&&!f;)if(u.nodeType==1){let d,p=u==l.body,h=1,A=1;if(p)d=_Gt(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(u).position)&&(f=!0),u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){u=u.assignedSlot||u.parentNode;continue}let v=u.getBoundingClientRect();({scaleX:h,scaleY:A}=qNe(u,v)),d={left:v.left,right:v.left+u.clientWidth*h,top:v.top,bottom:v.top+u.clientHeight*A}}let g=0,m=0;if(i=="nearest")e.top<d.top?(m=e.top-(d.top+s),r>0&&e.bottom>d.bottom+m&&(m=e.bottom-d.bottom+s)):e.bottom>d.bottom&&(m=e.bottom-d.bottom+s,r<0&&e.top-m<d.top&&(m=e.top-(d.top+s)));else{let v=e.bottom-e.top,y=d.bottom-d.top;m=(i=="center"&&v<=y?e.top+v/2-y/2:i=="start"||i=="center"&&r<0?e.top-s:e.bottom-y+s)-d.top}if(n=="nearest"?e.left<d.left?(g=e.left-(d.left+o),r>0&&e.right>d.right+g&&(g=e.right-d.right+o)):e.right>d.right&&(g=e.right-d.right+o,r<0&&e.left<d.left+g&&(g=e.left-(d.left+o))):g=(n=="center"?e.left+(e.right-e.left)/2-(d.right-d.left)/2:n=="start"==a?e.left-o:e.right-(d.right-d.left)+o)-d.left,g||m)if(p)c.scrollBy(g,m);else{let v=0,y=0;if(m){let b=u.scrollTop;u.scrollTop+=m/A,y=(u.scrollTop-b)*A}if(g){let b=u.scrollLeft;u.scrollLeft+=g/h,v=(u.scrollLeft-b)*h}e={left:e.left-v,top:e.top-y,right:e.right-v,bottom:e.bottom-y},v&&Math.abs(v-g)<1&&(n="nearest"),y&&Math.abs(y-m)<1&&(i="nearest")}if(p)break;(e.top<d.top||e.bottom>d.bottom||e.left<d.left||e.right>d.right)&&(e={left:Math.max(e.left,d.left),right:Math.min(e.right,d.right),top:Math.max(e.top,d.top),bottom:Math.min(e.bottom,d.bottom)}),u=u.assignedSlot||u.parentNode}else if(u.nodeType==11)u=u.host;else break}function UGt(t){let e=t.ownerDocument,r,n;for(let i=t.parentNode;i&&!(i==e.body||r&&n);)if(i.nodeType==1)!n&&i.scrollHeight>i.clientHeight&&(n=i),!r&&i.scrollWidth>i.clientWidth&&(r=i),i=i.assignedSlot||i.parentNode;else if(i.nodeType==11)i=i.host;else break;return{x:r,y:n}}class QGt{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:r,focusNode:n}=e;this.set(r,Math.min(e.anchorOffset,r?Dp(r):0),n,Math.min(e.focusOffset,n?Dp(n):0))}set(e,r,n,i){this.anchorNode=e,this.anchorOffset=r,this.focusNode=n,this.focusOffset=i}}let Dy=null;function XNe(t){if(t.setActive)return t.setActive();if(Dy)return t.focus(Dy);let e=[];for(let r=t;r&&(e.push(r,r.scrollTop,r.scrollLeft),r!=r.ownerDocument);r=r.parentNode);if(t.focus(Dy==null?{get preventScroll(){return Dy={preventScroll:!0},!0}}:void 0),!Dy){Dy=!1;for(let r=0;r<e.length;){let n=e[r++],i=e[r++],o=e[r++];n.scrollTop!=i&&(n.scrollTop=i),n.scrollLeft!=o&&(n.scrollLeft=o)}}}let $me;function Z1(t,e,r=e){let n=$me||($me=document.createRange());return n.setEnd(t,r),n.setStart(t,e),n}function H2(t,e,r,n){let i={key:e,code:e,keyCode:r,which:r,cancelable:!0};n&&({altKey:i.altKey,ctrlKey:i.ctrlKey,shiftKey:i.shiftKey,metaKey:i.metaKey}=n);let o=new KeyboardEvent("keydown",i);o.synthetic=!0,t.dispatchEvent(o);let s=new KeyboardEvent("keyup",i);return s.synthetic=!0,t.dispatchEvent(s),o.defaultPrevented||s.defaultPrevented}function VGt(t){for(;t;){if(t&&(t.nodeType==9||t.nodeType==11&&t.host))return t;t=t.assignedSlot||t.parentNode}return null}function YNe(t){for(;t.attributes.length;)t.removeAttributeNode(t.attributes[0])}function $Gt(t,e){let r=e.focusNode,n=e.focusOffset;if(!r||e.anchorNode!=r||e.anchorOffset!=n)return!1;for(n=Math.min(n,Dp(r));;)if(n){if(r.nodeType!=1)return!1;let i=r.childNodes[n-1];i.contentEditable=="false"?n--:(r=i,n=Dp(r))}else{if(r==t)return!0;n=J1(r),r=r.parentNode}}function JNe(t){return t.scrollTop>Math.max(1,t.scrollHeight-t.clientHeight-4)}function ZNe(t,e){for(let r=t,n=e;;){if(r.nodeType==3&&n>0)return{node:r,offset:n};if(r.nodeType==1&&n>0){if(r.contentEditable=="false")return null;r=r.childNodes[n-1],n=Dp(r)}else if(r.parentNode&&!$O(r))n=J1(r),r=r.parentNode;else return null}}function eFe(t,e){for(let r=t,n=e;;){if(r.nodeType==3&&n<r.nodeValue.length)return{node:r,offset:n};if(r.nodeType==1&&n<r.childNodes.length){if(r.contentEditable=="false")return null;r=r.childNodes[n],n=0}else if(r.parentNode&&!$O(r))n=J1(r)+1,r=r.parentNode;else return null}}class Wa{constructor(e,r,n=!0){this.node=e,this.offset=r,this.precise=n}static before(e,r){return new Wa(e.parentNode,J1(e),r)}static after(e,r){return new Wa(e.parentNode,J1(e)+1,r)}}const Zee=[];class Gi{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e){let r=this.posAtStart;for(let n of this.children){if(n==e)return r;r+=n.length+n.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(e,r){if(this.flags&2){let n=this.dom,i=null,o;for(let s of this.children){if(s.flags&7){if(!s.dom&&(o=i?i.nextSibling:n.firstChild)){let a=Gi.get(o);(!a||!a.parent&&a.canReuseDOM(s))&&s.reuseDOM(o)}s.sync(e,r),s.flags&=-8}if(o=i?i.nextSibling:n.firstChild,r&&!r.written&&r.node==n&&o!=s.dom&&(r.written=!0),s.dom.parentNode==n)for(;o&&o!=s.dom;)o=Hme(o);else n.insertBefore(s.dom,o);i=s.dom}for(o=i?i.nextSibling:n.firstChild,o&&r&&r.node==n&&(r.written=!0);o;)o=Hme(o)}else if(this.flags&1)for(let n of this.children)n.flags&7&&(n.sync(e,r),n.flags&=-8)}reuseDOM(e){}localPosFromDOM(e,r){let n;if(e==this.dom)n=this.dom.childNodes[r];else{let i=Dp(e)==0?0:r==0?-1:1;for(;;){let o=e.parentNode;if(o==this.dom)break;i==0&&o.firstChild!=o.lastChild&&(e==o.firstChild?i=-1:i=1),e=o}i<0?n=e:n=e.nextSibling}if(n==this.dom.firstChild)return 0;for(;n&&!Gi.get(n);)n=n.nextSibling;if(!n)return this.length;for(let i=0,o=0;;i++){let s=this.children[i];if(s.dom==n)return o;o+=s.length+s.breakAfter}}domBoundsAround(e,r,n=0){let i=-1,o=-1,s=-1,a=-1;for(let l=0,c=n,u=n;l<this.children.length;l++){let f=this.children[l],d=c+f.length;if(c<e&&d>r)return f.domBoundsAround(e,r,c);if(d>=e&&i==-1&&(i=l,o=c),c>r&&f.dom.parentNode==this.dom){s=l,a=u;break}u=d,c=d+f.breakAfter}return{from:o,to:a<0?n+this.length:a,startDOM:(i?this.children[i-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:s<this.children.length&&s>=0?this.children[s].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let r=this.parent;r;r=r.parent){if(e&&(r.flags|=2),r.flags&1)return;r.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.flags&7&&this.markParentsDirty(!0))}setDOM(e){this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}get rootView(){for(let e=this;;){let r=e.parent;if(!r)return e;e=r}}replaceChildren(e,r,n=Zee){this.markDirty();for(let i=e;i<r;i++){let o=this.children[i];o.parent==this&&n.indexOf(o)<0&&o.destroy()}n.length<250?this.children.splice(e,r-e,...n):this.children=[].concat(this.children.slice(0,e),n,this.children.slice(r));for(let i=0;i<n.length;i++)n[i].setParent(this)}ignoreMutation(e){return!1}ignoreEvent(e){return!1}childCursor(e=this.length){return new tFe(this.children,e,this.children.length)}childPos(e,r=1){return this.childCursor().findPos(e,r)}toString(){let e=this.constructor.name.replace("View","");return e+(this.children.length?"("+this.children.join()+")":this.length?"["+(e=="Text"?this.text:this.length)+"]":"")+(this.breakAfter?"#":"")}static get(e){return e.cmView}get isEditable(){return!0}get isWidget(){return!1}get isHidden(){return!1}merge(e,r,n,i,o,s){return!1}become(e){return!1}canReuseDOM(e){return e.constructor==this.constructor&&!((this.flags|e.flags)&8)}getSide(){return 0}destroy(){for(let e of this.children)e.parent==this&&e.destroy();this.parent=null}}Gi.prototype.breakAfter=0;function Hme(t){let e=t.nextSibling;return t.parentNode.removeChild(t),e}class tFe{constructor(e,r,n){this.children=e,this.pos=r,this.i=n,this.off=0}findPos(e,r=1){for(;;){if(e>this.pos||e==this.pos&&(r>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}}function rFe(t,e,r,n,i,o,s,a,l){let{children:c}=t,u=c.length?c[e]:null,f=o.length?o[o.length-1]:null,d=f?f.breakAfter:s;if(!(e==n&&u&&!s&&!d&&o.length<2&&u.merge(r,i,o.length?f:null,r==0,a,l))){if(n<c.length){let p=c[n];p&&(i<p.length||p.breakAfter&&f?.breakAfter)?(e==n&&(p=p.split(i),i=0),!d&&f&&p.merge(0,i,f,!0,0,l)?o[o.length-1]=p:((i||p.children.length&&!p.children[0].length)&&p.merge(0,i,null,!1,0,l),o.push(p))):p?.breakAfter&&(f?f.breakAfter=1:s=1),n++}for(u&&(u.breakAfter=s,r>0&&(!s&&o.length&&u.merge(r,u.length,o[0],!1,a,0)?u.breakAfter=o.shift().breakAfter:(r<u.length||u.children.length&&u.children[u.children.length-1].length==0)&&u.merge(r,u.length,null,!1,a,0),e++));e<n&&o.length;)if(c[n-1].become(o[o.length-1]))n--,o.pop(),l=o.length?0:a;else if(c[e].become(o[0]))e++,o.shift(),a=o.length?0:l;else break;!o.length&&e&&n<c.length&&!c[e-1].breakAfter&&c[n].merge(0,0,c[e-1],!1,a,l)&&e--,(e<n||o.length)&&t.replaceChildren(e,n,o)}}function nFe(t,e,r,n,i,o){let s=t.childCursor(),{i:a,off:l}=s.findPos(r,1),{i:c,off:u}=s.findPos(e,-1),f=e-r;for(let d of n)f+=d.length;t.length+=f,rFe(t,c,u,a,l,n,0,i,o)}let zl=typeof navigator<"u"?navigator:{userAgent:"",vendor:"",platform:""},DK=typeof document<"u"?document:{documentElement:{style:{}}};const kK=/Edge\/(\d+)/.exec(zl.userAgent),iFe=/MSIE \d/.test(zl.userAgent),OK=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(zl.userAgent),UN=!!(iFe||OK||kK),Gme=!UN&&/gecko\/(\d+)/i.test(zl.userAgent),oU=!UN&&/Chrome\/(\d+)/.exec(zl.userAgent),Wme="webkitFontSmoothing"in DK.documentElement.style,oFe=!UN&&/Apple Computer/.test(zl.vendor),zme=oFe&&(/Mobile\/\w+/.test(zl.userAgent)||zl.maxTouchPoints>2);var vr={mac:zme||/Mac/.test(zl.platform),windows:/Win/.test(zl.platform),linux:/Linux|X11/.test(zl.platform),ie:UN,ie_version:iFe?DK.documentMode||6:OK?+OK[1]:kK?+kK[1]:0,gecko:Gme,gecko_version:Gme?+(/Firefox\/(\d+)/.exec(zl.userAgent)||[0,0])[1]:0,chrome:!!oU,chrome_version:oU?+oU[1]:0,ios:zme,android:/Android\b/.test(zl.userAgent),webkit:Wme,safari:oFe,webkit_version:Wme?+(/\bAppleWebKit\/(\d+)/.exec(zl.userAgent)||[0,0])[1]:0,tabSize:DK.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const HGt=256;class Zf extends Gi{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,r){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(r&&r.node==this.dom&&(r.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,r,n){return this.flags&8||n&&(!(n instanceof Zf)||this.length-(r-e)+n.length>HGt||n.flags&8)?!1:(this.text=this.text.slice(0,e)+(n?n.text:"")+this.text.slice(r),this.markDirty(),!0)}split(e){let r=new Zf(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),r.flags|=this.flags&8,r}localPosFromDOM(e,r){return e==this.dom?r:r?this.text.length:0}domAtPos(e){return new Wa(this.dom,e)}domBoundsAround(e,r,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,r){return GGt(this.dom,e,r)}}class mh extends Gi{constructor(e,r=[],n=0){super(),this.mark=e,this.children=r,this.length=n;for(let i of r)i.setParent(this)}setAttrs(e){if(YNe(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let r in this.mark.attrs)e.setAttribute(r,this.mark.attrs[r]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!((this.flags|e.flags)&8)}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,r){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,r)}merge(e,r,n,i,o,s){return n&&(!(n instanceof mh&&n.mark.eq(this.mark))||e&&o<=0||r<this.length&&s<=0)?!1:(nFe(this,e,r,n?n.children.slice():[],o-1,s-1),this.markDirty(),!0)}split(e){let r=[],n=0,i=-1,o=0;for(let a of this.children){let l=n+a.length;l>e&&r.push(n<e?a.split(e-n):a),i<0&&n>=e&&(i=o),n=l,o++}let s=this.length-e;return this.length=e,i>-1&&(this.children.length=i,this.markDirty()),new mh(this.mark,r,s)}domAtPos(e){return sFe(this,e)}coordsAt(e,r){return lFe(this,e,r)}}function GGt(t,e,r){let n=t.nodeValue.length;e>n&&(e=n);let i=e,o=e,s=0;e==0&&r<0||e==n&&r>=0?vr.chrome||vr.gecko||(e?(i--,s=1):o<n&&(o++,s=-1)):r<0?i--:o<n&&o++;let a=Z1(t,i,o).getClientRects();if(!a.length)return null;let l=a[(s?s<0:r>=0)?0:a.length-1];return vr.safari&&!s&&l.width==0&&(l=Array.prototype.find.call(a,c=>c.width)||l),s?Lx(l,s<0):l||null}class M0 extends Gi{static create(e,r,n){return new M0(e,r,n)}constructor(e,r,n){super(),this.widget=e,this.length=r,this.side=n,this.prevWidget=null}split(e){let r=M0.create(this.widget,this.length-e,this.side);return this.length-=e,r}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(e,r,n,i,o,s){return n&&(!(n instanceof M0)||!this.widget.compare(n.widget)||e>0&&o<=0||r<this.length&&s<=0)?!1:(this.length=e+(n?n.length:0)+(this.length-r),!0)}become(e){return e instanceof M0&&e.side==this.side&&this.widget.constructor==e.widget.constructor?(this.widget.compare(e.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,!0):!1}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get overrideDOMText(){if(this.length==0)return ii.empty;let e=this;for(;e.parent;)e=e.parent;let{view:r}=e,n=r&&r.state.doc,i=this.posAtStart;return n?n.slice(i,i+this.length):ii.empty}domAtPos(e){return(this.length?e==0:this.side>0)?Wa.before(this.dom):Wa.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,r){let n=this.widget.coordsAt(this.dom,e,r);if(n)return n;let i=this.dom.getClientRects(),o=null;if(!i.length)return null;let s=this.side?this.side<0:e>0;for(let a=s?i.length-1:0;o=i[a],!(e>0?a==0:a==i.length-1||o.top<o.bottom);a+=s?-1:1);return Lx(o,!s)}get isEditable(){return!1}get isWidget(){return!0}get isHidden(){return this.widget.isHidden}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class JB extends Gi{constructor(e){super(),this.side=e}get length(){return 0}merge(){return!1}become(e){return e instanceof JB&&e.side==this.side}split(){return new JB(this.side)}sync(){if(!this.dom){let e=document.createElement("img");e.className="cm-widgetBuffer",e.setAttribute("aria-hidden","true"),this.setDOM(e)}}getSide(){return this.side}domAtPos(e){return this.side>0?Wa.before(this.dom):Wa.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return ii.empty}get isHidden(){return!0}}Zf.prototype.children=M0.prototype.children=JB.prototype.children=Zee;function sFe(t,e){let r=t.dom,{children:n}=t,i=0;for(let o=0;i<n.length;i++){let s=n[i],a=o+s.length;if(!(a==o&&s.getSide()<=0)){if(e>o&&e<a&&s.dom.parentNode==r)return s.domAtPos(e-o);if(e<=o)break;o=a}}for(let o=i;o>0;o--){let s=n[o-1];if(s.dom.parentNode==r)return s.domAtPos(s.length)}for(let o=i;o<n.length;o++){let s=n[o];if(s.dom.parentNode==r)return s.domAtPos(0)}return new Wa(r,0)}function aFe(t,e,r){let n,{children:i}=t;r>0&&e instanceof mh&&i.length&&(n=i[i.length-1])instanceof mh&&n.mark.eq(e.mark)?aFe(n,e.children[0],r-1):(i.push(e),e.setParent(t)),t.length+=e.length}function lFe(t,e,r){let n=null,i=-1,o=null,s=-1;function a(c,u){for(let f=0,d=0;f<c.children.length&&d<=u;f++){let p=c.children[f],h=d+p.length;h>=u&&(p.children.length?a(p,u-d):(!o||o.isHidden&&(r>0||zGt(o,p)))&&(h>u||d==h&&p.getSide()>0)?(o=p,s=u-d):(d<u||d==h&&p.getSide()<0&&!p.isHidden)&&(n=p,i=u-d)),d=h}}a(t,e);let l=(r<0?n:o)||n||o;return l?l.coordsAt(Math.max(0,l==n?i:s),r):WGt(t)}function WGt(t){let e=t.dom.lastChild;if(!e)return t.dom.getBoundingClientRect();let r=YB(e);return r[r.length-1]||null}function zGt(t,e){let r=t.coordsAt(0,1),n=e.coordsAt(0,1);return r&&n&&n.top<r.bottom}function PK(t,e){for(let r in t)r=="class"&&e.class?e.class+=" "+t.class:r=="style"&&e.style?e.style+=";"+t.style:e[r]=t[r];return e}const Kme=Object.create(null);function HO(t,e,r){if(t==e)return!0;t||(t=Kme),e||(e=Kme);let n=Object.keys(t),i=Object.keys(e);if(n.length-(r&&n.indexOf(r)>-1?1:0)!=i.length-(r&&i.indexOf(r)>-1?1:0))return!1;for(let o of n)if(o!=r&&(i.indexOf(o)==-1||t[o]!==e[o]))return!1;return!0}function IK(t,e,r){let n=!1;if(e)for(let i in e)r&&i in r||(n=!0,i=="style"?t.style.cssText="":t.removeAttribute(i));if(r)for(let i in r)e&&e[i]==r[i]||(n=!0,i=="style"?t.style.cssText=r[i]:t.setAttribute(i,r[i]));return n}function KGt(t){let e=Object.create(null);for(let r=0;r<t.attributes.length;r++){let n=t.attributes[r];e[n.name]=n.value}return e}class Dh{eq(e){return!1}updateDOM(e,r){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(e){return!0}coordsAt(e,r,n){return null}get isHidden(){return!1}get editable(){return!1}destroy(e){}}var gl=function(t){return t[t.Text=0]="Text",t[t.WidgetBefore=1]="WidgetBefore",t[t.WidgetAfter=2]="WidgetAfter",t[t.WidgetRange=3]="WidgetRange",t}(gl||(gl={}));class _r extends Y1{constructor(e,r,n,i){super(),this.startSide=e,this.endSide=r,this.widget=n,this.spec=i}get heightRelevant(){return!1}static mark(e){return new Rx(e)}static widget(e){let r=Math.max(-1e4,Math.min(1e4,e.side||0)),n=!!e.block;return r+=n&&!e.inlineOrder?r>0?3e8:-4e8:r>0?1e8:-1e8,new Om(e,r,r,n,e.widget||null,!1)}static replace(e){let r=!!e.block,n,i;if(e.isBlockGap)n=-5e8,i=4e8;else{let{start:o,end:s}=cFe(e,r);n=(o?r?-3e8:-1:5e8)-1,i=(s?r?2e8:1:-6e8)+1}return new Om(e,n,i,r,e.widget||null,!0)}static line(e){return new Mx(e)}static set(e,r=!1){return ri.of(e,r)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}_r.none=ri.empty;class Rx extends _r{constructor(e){let{start:r,end:n}=cFe(e);super(r?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var r,n;return this==e||e instanceof Rx&&this.tagName==e.tagName&&(this.class||((r=this.attrs)===null||r===void 0?void 0:r.class))==(e.class||((n=e.attrs)===null||n===void 0?void 0:n.class))&&HO(this.attrs,e.attrs,"class")}range(e,r=e){if(e>=r)throw new RangeError("Mark decorations may not be empty");return super.range(e,r)}}Rx.prototype.point=!1;class Mx extends _r{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof Mx&&this.spec.class==e.spec.class&&HO(this.spec.attributes,e.spec.attributes)}range(e,r=e){if(r!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,r)}}Mx.prototype.mapMode=dl.TrackBefore;Mx.prototype.point=!0;class Om extends _r{constructor(e,r,n,i,o,s){super(r,n,o,e),this.block=i,this.isReplace=s,this.mapMode=i?r<=0?dl.TrackBefore:dl.TrackAfter:dl.TrackDel}get type(){return this.startSide!=this.endSide?gl.WidgetRange:this.startSide<=0?gl.WidgetBefore:gl.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof Om&&qGt(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,r=e){if(this.isReplace&&(e>r||e==r&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&r!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,r)}}Om.prototype.point=!0;function cFe(t,e=!1){let{inclusiveStart:r,inclusiveEnd:n}=t;return r==null&&(r=t.inclusive),n==null&&(n=t.inclusive),{start:r??e,end:n??e}}function qGt(t,e){return t==e||!!(t&&e&&t.compare(e))}function MD(t,e,r,n=0){let i=r.length-1;i>=0&&r[i]+n>=t?r[i]=Math.max(r[i],e):r.push(t,e)}class hs extends Gi{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,r,n,i,o,s){if(n){if(!(n instanceof hs))return!1;this.dom||n.transferDOM(this)}return i&&this.setDeco(n?n.attrs:null),nFe(this,e,r,n?n.children.slice():[],o,s),!0}split(e){let r=new hs;if(r.breakAfter=this.breakAfter,this.length==0)return r;let{i:n,off:i}=this.childPos(e);i&&(r.append(this.children[n].split(i),0),this.children[n].merge(i,this.children[n].length,null,!1,0,0),n++);for(let o=n;o<this.children.length;o++)r.append(this.children[o],0);for(;n>0&&this.children[n-1].length==0;)this.children[--n].destroy();return this.children.length=n,this.markDirty(),this.length=e,r}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){HO(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,r){aFe(this,e,r)}addLineDeco(e){let r=e.spec.attributes,n=e.spec.class;r&&(this.attrs=PK(r,this.attrs||{})),n&&(this.attrs=PK({class:n},this.attrs||{}))}domAtPos(e){return sFe(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,r){var n;this.dom?this.flags&4&&(YNe(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(IK(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,r);let i=this.dom.lastChild;for(;i&&Gi.get(i)instanceof mh;)i=i.lastChild;if(!i||!this.length||i.nodeName!="BR"&&((n=Gi.get(i))===null||n===void 0?void 0:n.isEditable)==!1&&(!vr.ios||!this.children.some(o=>o instanceof Zf))){let o=document.createElement("BR");o.cmIgnore=!0,this.dom.appendChild(o)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,r;for(let n of this.children){if(!(n instanceof Zf)||/[^ -~]/.test(n.text))return null;let i=YB(n.dom);if(i.length!=1)return null;e+=i[0].width,r=i[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:r}:null}coordsAt(e,r){let n=lFe(this,e,r);if(!this.children.length&&n&&this.parent){let{heightOracle:i}=this.parent.view.viewState,o=n.bottom-n.top;if(Math.abs(o-i.lineHeight)<2&&i.textHeight<o){let s=(o-i.textHeight)/2;return{top:n.top+s,bottom:n.bottom-s,left:n.left,right:n.left}}}return n}become(e){return e instanceof hs&&this.children.length==0&&e.children.length==0&&HO(this.attrs,e.attrs)&&this.breakAfter==e.breakAfter}covers(){return!0}static find(e,r){for(let n=0,i=0;n<e.children.length;n++){let o=e.children[n],s=i+o.length;if(s>=r){if(o instanceof hs)return o;if(s>r)break}i=s+o.breakAfter}return null}}class WA extends Gi{constructor(e,r,n){super(),this.widget=e,this.length=r,this.deco=n,this.breakAfter=0,this.prevWidget=null}merge(e,r,n,i,o,s){return n&&(!(n instanceof WA)||!this.widget.compare(n.widget)||e>0&&o<=0||r<this.length&&s<=0)?!1:(this.length=e+(n?n.length:0)+(this.length-r),!0)}domAtPos(e){return e==0?Wa.before(this.dom):Wa.after(this.dom,e==this.length)}split(e){let r=this.length-e;this.length=e;let n=new WA(this.widget,r,this.deco);return n.breakAfter=this.breakAfter,n}get children(){return Zee}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}get overrideDOMText(){return this.parent?this.parent.view.state.doc.slice(this.posAtStart,this.posAtEnd):ii.empty}domBoundsAround(){return null}become(e){return e instanceof WA&&e.widget.constructor==this.widget.constructor?(e.widget.compare(this.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,this.deco=e.deco,this.breakAfter=e.breakAfter,!0):!1}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get isEditable(){return!1}get isWidget(){return!0}coordsAt(e,r){let n=this.widget.coordsAt(this.dom,e,r);return n||(this.widget instanceof NK?null:Lx(this.dom.getBoundingClientRect(),this.length?e==0:r<=0))}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}covers(e){let{startSide:r,endSide:n}=this.deco;return r==n?!1:e<0?r<0:n>0}}class NK extends Dh{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement("div");return e.className="cm-gap",this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}}class L5{constructor(e,r,n,i){this.doc=e,this.pos=r,this.end=n,this.disallowBlockEffectsFor=i,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=r}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof WA&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new hs),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(R8(new JB(-1),e),e.length),this.pendingBuffer=0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!this.posCovered()&&!(e&&this.content.length&&this.content[this.content.length-1]instanceof WA)&&this.getLine()}buildText(e,r,n){for(;e>0;){if(this.textOff==this.text.length){let{value:o,lineBreak:s,done:a}=this.cursor.next(this.skip);if(this.skip=0,a)throw new Error("Ran out of text content when drawing inline views");if(s){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=o,this.textOff=0}let i=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(r.slice(r.length-n)),this.getLine().append(R8(new Zf(this.text.slice(this.textOff,this.textOff+i)),r),n),this.atCursorPos=!0,this.textOff+=i,e-=i,n=0}}span(e,r,n,i){this.buildText(r-e,n,i),this.pos=r,this.openStart<0&&(this.openStart=i)}point(e,r,n,i,o,s){if(this.disallowBlockEffectsFor[s]&&n instanceof Om){if(n.block)throw new RangeError("Block decorations may not be specified via plugins");if(r>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let a=r-e;if(n instanceof Om)if(n.block)n.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new WA(n.widget||ZB.block,a,n));else{let l=M0.create(n.widget||ZB.inline,a,a?0:n.startSide),c=this.atCursorPos&&!l.isEditable&&o<=i.length&&(e<r||n.startSide>0),u=!l.isEditable&&(e<r||o>i.length||n.startSide<=0),f=this.getLine();this.pendingBuffer==2&&!c&&!l.isEditable&&(this.pendingBuffer=0),this.flushBuffer(i),c&&(f.append(R8(new JB(1),i),o),o=i.length+Math.max(0,o-i.length)),f.append(R8(l,i),o),this.atCursorPos=u,this.pendingBuffer=u?e<r||o>i.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=i.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(n);a&&(this.textOff+a<=this.text.length?this.textOff+=a:(this.skip+=a-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=r),this.openStart<0&&(this.openStart=o)}static build(e,r,n,i,o){let s=new L5(e,r,n,o);return s.openEnd=ri.spans(i,r,n,s),s.openStart<0&&(s.openStart=s.openEnd),s.finish(s.openEnd),s}}function R8(t,e){for(let r of e)t=new mh(r,[t],t.length);return t}class ZB extends Dh{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}ZB.inline=new ZB("span");ZB.block=new ZB("div");var ho=function(t){return t[t.LTR=0]="LTR",t[t.RTL=1]="RTL",t}(ho||(ho={}));const ev=ho.LTR,ete=ho.RTL;function uFe(t){let e=[];for(let r=0;r<t.length;r++)e.push(1<<+t[r]);return e}const XGt=uFe("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),YGt=uFe("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),FK=Object.create(null),xd=[];for(let t of["()","[]","{}"]){let e=t.charCodeAt(0),r=t.charCodeAt(1);FK[e]=r,FK[r]=-e}function fFe(t){return t<=247?XGt[t]:1424<=t&&t<=1524?2:1536<=t&&t<=1785?YGt[t-1536]:1774<=t&&t<=2220?4:8192<=t&&t<=8204?256:64336<=t&&t<=65023?4:1}const JGt=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class _0{get dir(){return this.level%2?ete:ev}constructor(e,r,n){this.from=e,this.to=r,this.level=n}side(e,r){return this.dir==r==e?this.to:this.from}forward(e,r){return e==(this.dir==r)}static find(e,r,n,i){let o=-1;for(let s=0;s<e.length;s++){let a=e[s];if(a.from<=r&&a.to>=r){if(a.level==n)return s;(o<0||(i!=0?i<0?a.from<r:a.to>r:e[o].level>a.level))&&(o=s)}}if(o<0)throw new RangeError("Index out of range");return o}}function dFe(t,e){if(t.length!=e.length)return!1;for(let r=0;r<t.length;r++){let n=t[r],i=e[r];if(n.from!=i.from||n.to!=i.to||n.direction!=i.direction||!dFe(n.inner,i.inner))return!1}return!0}const $i=[];function ZGt(t,e,r,n,i){for(let o=0;o<=n.length;o++){let s=o?n[o-1].to:e,a=o<n.length?n[o].from:r,l=o?256:i;for(let c=s,u=l,f=l;c<a;c++){let d=fFe(t.charCodeAt(c));d==512?d=u:d==8&&f==4&&(d=16),$i[c]=d==4?2:d,d&7&&(f=d),u=d}for(let c=s,u=l,f=l;c<a;c++){let d=$i[c];if(d==128)c<a-1&&u==$i[c+1]&&u&24?d=$i[c]=u:$i[c]=256;else if(d==64){let p=c+1;for(;p<a&&$i[p]==64;)p++;let h=c&&u==8||p<r&&$i[p]==8?f==1?1:8:256;for(let A=c;A<p;A++)$i[A]=h;c=p-1}else d==8&&f==1&&($i[c]=1);u=d,d&7&&(f=d)}}}function eWt(t,e,r,n,i){let o=i==1?2:1;for(let s=0,a=0,l=0;s<=n.length;s++){let c=s?n[s-1].to:e,u=s<n.length?n[s].from:r;for(let f=c,d,p,h;f<u;f++)if(p=FK[d=t.charCodeAt(f)])if(p<0){for(let A=a-3;A>=0;A-=3)if(xd[A+1]==-p){let g=xd[A+2],m=g&2?i:g&4?g&1?o:i:0;m&&($i[f]=$i[xd[A]]=m),a=A;break}}else{if(xd.length==189)break;xd[a++]=f,xd[a++]=d,xd[a++]=l}else if((h=$i[f])==2||h==1){let A=h==i;l=A?0:1;for(let g=a-3;g>=0;g-=3){let m=xd[g+2];if(m&2)break;if(A)xd[g+2]|=2;else{if(m&4)break;xd[g+2]|=4}}}}}function tWt(t,e,r,n){for(let i=0,o=n;i<=r.length;i++){let s=i?r[i-1].to:t,a=i<r.length?r[i].from:e;for(let l=s;l<a;){let c=$i[l];if(c==256){let u=l+1;for(;;)if(u==a){if(i==r.length)break;u=r[i++].to,a=i<r.length?r[i].from:e}else if($i[u]==256)u++;else break;let f=o==1,d=(u<e?$i[u]:n)==1,p=f==d?f?1:2:n;for(let h=u,A=i,g=A?r[A-1].to:t;h>l;)h==g&&(h=r[--A].from,g=A?r[A-1].to:t),$i[--h]=p;l=u}else o=c,l++}}}function TK(t,e,r,n,i,o,s){let a=n%2?2:1;if(n%2==i%2)for(let l=e,c=0;l<r;){let u=!0,f=!1;if(c==o.length||l<o[c].from){let A=$i[l];A!=a&&(u=!1,f=A==16)}let d=!u&&a==1?[]:null,p=u?n:n+1,h=l;e:for(;;)if(c<o.length&&h==o[c].from){if(f)break e;let A=o[c];if(!u)for(let g=A.to,m=c+1;;){if(g==r)break e;if(m<o.length&&o[m].from==g)g=o[m++].to;else{if($i[g]==a)break e;break}}if(c++,d)d.push(A);else{A.from>l&&s.push(new _0(l,A.from,p));let g=A.direction==ev!=!(p%2);LK(t,g?n+1:n,i,A.inner,A.from,A.to,s),l=A.to}h=A.to}else{if(h==r||(u?$i[h]!=a:$i[h]==a))break;h++}d?TK(t,l,h,n+1,i,d,s):l<h&&s.push(new _0(l,h,p)),l=h}else for(let l=r,c=o.length;l>e;){let u=!0,f=!1;if(!c||l>o[c-1].to){let A=$i[l-1];A!=a&&(u=!1,f=A==16)}let d=!u&&a==1?[]:null,p=u?n:n+1,h=l;e:for(;;)if(c&&h==o[c-1].to){if(f)break e;let A=o[--c];if(!u)for(let g=A.from,m=c;;){if(g==e)break e;if(m&&o[m-1].to==g)g=o[--m].from;else{if($i[g-1]==a)break e;break}}if(d)d.push(A);else{A.to<l&&s.push(new _0(A.to,l,p));let g=A.direction==ev!=!(p%2);LK(t,g?n+1:n,i,A.inner,A.from,A.to,s),l=A.from}h=A.from}else{if(h==e||(u?$i[h-1]!=a:$i[h-1]==a))break;h--}d?TK(t,h,l,n+1,i,d,s):h<l&&s.push(new _0(h,l,p)),l=h}}function LK(t,e,r,n,i,o,s){let a=e%2?2:1;ZGt(t,i,o,n,a),eWt(t,i,o,n,a),tWt(i,o,n,a),TK(t,i,o,e,r,n,s)}function rWt(t,e,r){if(!t)return[new _0(0,0,e==ete?1:0)];if(e==ev&&!r.length&&!JGt.test(t))return pFe(t.length);if(r.length)for(;t.length>$i.length;)$i[$i.length]=256;let n=[],i=e==ev?0:1;return LK(t,i,i,r,0,t.length,n),n}function pFe(t){return[new _0(0,t,0)]}let AFe="";function nWt(t,e,r,n,i){var o;let s=n.head-t.from,a=_0.find(e,s,(o=n.bidiLevel)!==null&&o!==void 0?o:-1,n.assoc),l=e[a],c=l.side(i,r);if(s==c){let d=a+=i?1:-1;if(d<0||d>=e.length)return null;l=e[a=d],s=l.side(!i,r),c=l.side(i,r)}let u=ma(t.text,s,l.forward(i,r));(u<l.from||u>l.to)&&(u=c),AFe=t.text.slice(Math.min(s,u),Math.max(s,u));let f=a==(i?e.length-1:0)?null:e[a+(i?1:-1)];return f&&u==c&&f.level+(i?0:1)<l.level?It.cursor(f.side(!i,r)+t.from,f.forward(i,r)?1:-1,f.level):It.cursor(u+t.from,l.forward(i,r)?-1:1,l.level)}function iWt(t,e,r){for(let n=e;n<r;n++){let i=fFe(t.charCodeAt(n));if(i==1)return ev;if(i==2||i==4)return ete}return ev}const hFe=Cr.define(),mFe=Cr.define(),gFe=Cr.define(),vFe=Cr.define(),RK=Cr.define(),yFe=Cr.define(),BFe=Cr.define(),tte=Cr.define(),rte=Cr.define(),CFe=Cr.define({combine:t=>t.some(e=>e)}),bFe=Cr.define({combine:t=>t.some(e=>e)}),wFe=Cr.define();class G2{constructor(e,r="nearest",n="nearest",i=5,o=5,s=!1){this.range=e,this.y=r,this.x=n,this.yMargin=i,this.xMargin=o,this.isSnapshot=s}map(e){return e.empty?this:new G2(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new G2(It.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const M8=wn.define({map:(t,e)=>t.map(e)}),xFe=wn.define();function Yl(t,e,r){let n=t.facet(vFe);n.length?n[0](e):window.onerror&&window.onerror(String(e),r,void 0,void 0,e)||(r?console.error(r+":",e):console.error(e))}const wA=Cr.define({combine:t=>t.length?t[0]:!0});let oWt=0;const m2=Cr.define({combine(t){return t.filter((e,r)=>{for(let n=0;n<r;n++)if(t[n].plugin==e.plugin)return!1;return!0})}});class Wo{constructor(e,r,n,i,o){this.id=e,this.create=r,this.domEventHandlers=n,this.domEventObservers=i,this.baseExtensions=o(this),this.extension=this.baseExtensions.concat(m2.of({plugin:this,arg:void 0}))}of(e){return this.baseExtensions.concat(m2.of({plugin:this,arg:e}))}static define(e,r){const{eventHandlers:n,eventObservers:i,provide:o,decorations:s}=r||{};return new Wo(oWt++,e,n,i,a=>{let l=[];return s&&l.push(f3.of(c=>{let u=c.plugin(a);return u?s(u):_r.none})),o&&l.push(o(a)),l})}static fromClass(e,r){return Wo.define((n,i)=>new e(n,i),r)}}class sU{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}get plugin(){return this.spec&&this.spec.plugin}update(e){if(this.value){if(this.mustUpdate){let r=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(r)}catch(n){if(Yl(r.state,n,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.plugin.create(e,this.spec.arg)}catch(r){Yl(e.state,r,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var r;if(!((r=this.value)===null||r===void 0)&&r.destroy)try{this.value.destroy()}catch(n){Yl(e.state,n,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const SFe=Cr.define(),nte=Cr.define(),f3=Cr.define(),EFe=Cr.define(),ite=Cr.define(),DFe=Cr.define();function qme(t,e){let r=t.state.facet(DFe);if(!r.length)return r;let n=r.map(o=>o instanceof Function?o(t):o),i=[];return ri.spans(n,e.from,e.to,{point(){},span(o,s,a,l){let c=o-e.from,u=s-e.from,f=i;for(let d=a.length-1;d>=0;d--,l--){let p=a[d].spec.bidiIsolate,h;if(p==null&&(p=iWt(e.text,c,u)),l>0&&f.length&&(h=f[f.length-1]).to==c&&h.direction==p)h.to=u,f=h.inner;else{let A={from:c,to:u,direction:p,inner:[]};f.push(A),f=A.inner}}}}),i}const kFe=Cr.define();function ote(t){let e=0,r=0,n=0,i=0;for(let o of t.state.facet(kFe)){let s=o(t);s&&(s.left!=null&&(e=Math.max(e,s.left)),s.right!=null&&(r=Math.max(r,s.right)),s.top!=null&&(n=Math.max(n,s.top)),s.bottom!=null&&(i=Math.max(i,s.bottom)))}return{left:e,right:r,top:n,bottom:i}}const $w=Cr.define();class Ru{constructor(e,r,n,i){this.fromA=e,this.toA=r,this.fromB=n,this.toB=i}join(e){return new Ru(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let r=e.length,n=this;for(;r>0;r--){let i=e[r-1];if(!(i.fromA>n.toA)){if(i.toA<n.fromA)break;n=n.join(i),e.splice(r-1,1)}}return e.splice(r,0,n),e}static extendWithRanges(e,r){if(r.length==0)return e;let n=[];for(let i=0,o=0,s=0,a=0;;i++){let l=i==e.length?null:e[i],c=s-a,u=l?l.fromB:1e9;for(;o<r.length&&r[o]<u;){let f=r[o],d=r[o+1],p=Math.max(a,f),h=Math.min(u,d);if(p<=h&&new Ru(p+c,h+c,p,h).addToSet(n),d>u)break;o+=2}if(!l)return n;new Ru(l.fromA,l.toA,l.fromB,l.toB).addToSet(n),s=l.toA,a=l.toB}}}class GO{constructor(e,r,n){this.view=e,this.state=r,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=Is.empty(this.startState.doc.length);for(let o of n)this.changes=this.changes.compose(o.changes);let i=[];this.changes.iterChangedRanges((o,s,a,l)=>i.push(new Ru(o,s,a,l))),this.changedRanges=i}static create(e,r,n){return new GO(e,r,n)}get viewportChanged(){return(this.flags&4)>0}get viewportMoved(){return(this.flags&8)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&18)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}class Xme extends Gi{get length(){return this.view.state.doc.length}constructor(e){super(),this.view=e,this.decorations=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.editContextFormatting=_r.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new hs],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new Ru(0,0,0,e.state.doc.length)],0,null)}update(e){var r;let n=e.changedRanges;this.minWidth>0&&n.length&&(n.every(({fromA:c,toA:u})=>u<this.minWidthFrom||c>this.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(e);let i=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&(!((r=this.domChanged)===null||r===void 0)&&r.newSel?i=this.domChanged.newSel.head:!dWt(e.changes,this.hasComposition)&&!e.selectionSet&&(i=e.state.selection.main.head));let o=i>-1?aWt(this.view,e.changes,i):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:c,to:u}=this.hasComposition;n=new Ru(c,u,e.changes.mapPos(c,-1),e.changes.mapPos(u,1)).addToSet(n.slice())}this.hasComposition=o?{from:o.range.fromB,to:o.range.toB}:null,(vr.ie||vr.chrome)&&!o&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let s=this.decorations,a=this.updateDeco(),l=uWt(s,a,e.changes);return n=Ru.extendWithRanges(n,l),!(this.flags&7)&&n.length==0?!1:(this.updateInner(n,e.startState.doc.length,o),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,r,n){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,r,n);let{observer:i}=this.view;i.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let s=vr.chrome||vr.ios?{node:i.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,s),this.flags&=-8,s&&(s.written||i.selectionRange.focusNode!=s.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(s=>s.flags&=-9);let o=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let s of this.children)s instanceof WA&&s.widget instanceof NK&&o.push(s.dom);i.updateGaps(o)}updateChildren(e,r,n){let i=n?n.range.addToSet(e.slice()):e,o=this.childCursor(r);for(let s=i.length-1;;s--){let a=s>=0?i[s]:null;if(!a)break;let{fromA:l,toA:c,fromB:u,toB:f}=a,d,p,h,A;if(n&&n.range.fromB<f&&n.range.toB>u){let b=L5.build(this.view.state.doc,u,n.range.fromB,this.decorations,this.dynamicDecorationMap),B=L5.build(this.view.state.doc,n.range.toB,f,this.decorations,this.dynamicDecorationMap);p=b.breakAtStart,h=b.openStart,A=B.openEnd;let S=this.compositionView(n);B.breakAtStart?S.breakAfter=1:B.content.length&&S.merge(S.length,S.length,B.content[0],!1,B.openStart,0)&&(S.breakAfter=B.content[0].breakAfter,B.content.shift()),b.content.length&&S.merge(0,0,b.content[b.content.length-1],!0,0,b.openEnd)&&b.content.pop(),d=b.content.concat(S).concat(B.content)}else({content:d,breakAtStart:p,openStart:h,openEnd:A}=L5.build(this.view.state.doc,u,f,this.decorations,this.dynamicDecorationMap));let{i:g,off:m}=o.findPos(c,1),{i:v,off:y}=o.findPos(l,-1);rFe(this,v,y,g,m,d,p,h,A)}n&&this.fixCompositionDOM(n)}updateEditContextFormatting(e){this.editContextFormatting=this.editContextFormatting.map(e.changes);for(let r of e.transactions)for(let n of r.effects)n.is(xFe)&&(this.editContextFormatting=n.value)}compositionView(e){let r=new Zf(e.text.nodeValue);r.flags|=8;for(let{deco:i}of e.marks)r=new mh(i,[r],r.length);let n=new hs;return n.append(r,0),n}fixCompositionDOM(e){let r=(o,s)=>{s.flags|=8|(s.children.some(l=>l.flags&7)?1:0),this.markedForComposition.add(s);let a=Gi.get(o);a&&a!=s&&(a.dom=null),s.setDOM(o)},n=this.childPos(e.range.fromB,1),i=this.children[n.i];r(e.line,i);for(let o=e.marks.length-1;o>=-1;o--)n=i.childPos(n.off,1),i=i.children[n.i],r(o>=0?e.marks[o].node:e.text,i)}updateSelection(e=!1,r=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let n=this.view.root.activeElement,i=n==this.dom,o=!i&&!(this.view.state.facet(wA)||this.dom.tabIndex>-1)&&RD(this.dom,this.view.observer.selectionRange)&&!(n&&this.dom.contains(n));if(!(i||r||o))return;let s=this.forceSelection;this.forceSelection=!1;let a=this.view.state.selection.main,l=this.moveToLine(this.domAtPos(a.anchor)),c=a.empty?l:this.moveToLine(this.domAtPos(a.head));if(vr.gecko&&a.empty&&!this.hasComposition&&sWt(l)){let f=document.createTextNode("");this.view.observer.ignore(()=>l.node.insertBefore(f,l.node.childNodes[l.offset]||null)),l=c=new Wa(f,0),s=!0}let u=this.view.observer.selectionRange;(s||!u.focusNode||(!T5(l.node,l.offset,u.anchorNode,u.anchorOffset)||!T5(c.node,c.offset,u.focusNode,u.focusOffset))&&!this.suppressWidgetCursorChange(u,a))&&(this.view.observer.ignore(()=>{vr.android&&vr.chrome&&this.dom.contains(u.focusNode)&&fWt(u.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let f=u3(this.view.root);if(f)if(a.empty){if(vr.gecko){let d=lWt(l.node,l.offset);if(d&&d!=3){let p=(d==1?ZNe:eFe)(l.node,l.offset);p&&(l=new Wa(p.node,p.offset))}}f.collapse(l.node,l.offset),a.bidiLevel!=null&&f.caretBidiLevel!==void 0&&(f.caretBidiLevel=a.bidiLevel)}else if(f.extend){f.collapse(l.node,l.offset);try{f.extend(c.node,c.offset)}catch{}}else{let d=document.createRange();a.anchor>a.head&&([l,c]=[c,l]),d.setEnd(c.node,c.offset),d.setStart(l.node,l.offset),f.removeAllRanges(),f.addRange(d)}o&&this.view.root.activeElement==this.dom&&(this.dom.blur(),n&&n.focus())}),this.view.observer.setSelectionRange(l,c)),this.impreciseAnchor=l.precise?null:new Wa(u.anchorNode,u.anchorOffset),this.impreciseHead=c.precise?null:new Wa(u.focusNode,u.focusOffset)}suppressWidgetCursorChange(e,r){return this.hasComposition&&r.empty&&T5(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==r.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,r=e.state.selection.main,n=u3(e.root),{anchorNode:i,anchorOffset:o}=e.observer.selectionRange;if(!n||!r.empty||!r.assoc||!n.modify)return;let s=hs.find(this,r.head);if(!s)return;let a=s.posAtStart;if(r.head==a||r.head==a+s.length)return;let l=this.coordsAt(r.head,-1),c=this.coordsAt(r.head,1);if(!l||!c||l.bottom>c.top)return;let u=this.domAtPos(r.head+r.assoc);n.collapse(u.node,u.offset),n.modify("move",r.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let f=e.observer.selectionRange;e.docView.posFromDOM(f.anchorNode,f.anchorOffset)!=r.from&&n.collapse(i,o)}moveToLine(e){let r=this.dom,n;if(e.node!=r)return e;for(let i=e.offset;!n&&i<r.childNodes.length;i++){let o=Gi.get(r.childNodes[i]);o instanceof hs&&(n=o.domAtPos(0))}for(let i=e.offset-1;!n&&i>=0;i--){let o=Gi.get(r.childNodes[i]);o instanceof hs&&(n=o.domAtPos(o.length))}return n?new Wa(n.node,n.offset,!0):e}nearest(e){for(let r=e;r;){let n=Gi.get(r);if(n&&n.rootView==this)return n;r=r.parentNode}return null}posFromDOM(e,r){let n=this.nearest(e);if(!n)throw new RangeError("Trying to find position for a DOM position outside of the document");return n.localPosFromDOM(e,r)+n.posAtStart}domAtPos(e){let{i:r,off:n}=this.childCursor().findPos(e,-1);for(;r<this.children.length-1;){let i=this.children[r];if(n<i.length||i instanceof hs)break;r++,n=0}return this.children[r].domAtPos(n)}coordsAt(e,r){let n=null,i=0;for(let o=this.length,s=this.children.length-1;s>=0;s--){let a=this.children[s],l=o-a.breakAfter,c=l-a.length;if(l<e)break;if(c<=e&&(c<e||a.covers(-1))&&(l>e||a.covers(1))&&(!n||a instanceof hs&&!(n instanceof hs&&r>=0)))n=a,i=c;else if(n&&c==e&&l==e&&a instanceof WA&&Math.abs(r)<2){if(a.deco.startSide<0)break;s&&(n=null)}o=c}return n?n.coordsAt(e-i,r):null}coordsForChar(e){let{i:r,off:n}=this.childPos(e,1),i=this.children[r];if(!(i instanceof hs))return null;for(;i.children.length;){let{i:a,off:l}=i.childPos(n,1);for(;;a++){if(a==i.children.length)return null;if((i=i.children[a]).length)break}n=l}if(!(i instanceof Zf))return null;let o=ma(i.text,n);if(o==n)return null;let s=Z1(i.dom,n,o).getClientRects();for(let a=0;a<s.length;a++){let l=s[a];if(a==s.length-1||l.top<l.bottom&&l.left<l.right)return l}return null}measureVisibleLineHeights(e){let r=[],{from:n,to:i}=e,o=this.view.contentDOM.clientWidth,s=o>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,a=-1,l=this.view.textDirection==ho.LTR;for(let c=0,u=0;u<this.children.length;u++){let f=this.children[u],d=c+f.length;if(d>i)break;if(c>=n){let p=f.dom.getBoundingClientRect();if(r.push(p.height),s){let h=f.dom.lastChild,A=h?YB(h):[];if(A.length){let g=A[A.length-1],m=l?g.right-p.left:p.right-g.left;m>a&&(a=m,this.minWidth=o,this.minWidthFrom=c,this.minWidthTo=d)}}}c=d+f.breakAfter}return r}textDirectionAt(e){let{i:r}=this.childPos(e,1);return getComputedStyle(this.children[r].dom).direction=="rtl"?ho.RTL:ho.LTR}measureTextSize(){for(let o of this.children)if(o instanceof hs){let s=o.measureTextSize();if(s)return s}let e=document.createElement("div"),r,n,i;return e.className="cm-line",e.style.width="99999px",e.style.position="absolute",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let o=YB(e.firstChild)[0];r=e.getBoundingClientRect().height,n=o?o.width/27:7,i=o?o.height:r,e.remove()}),{lineHeight:r,charWidth:n,textHeight:i}}childCursor(e=this.length){let r=this.children.length;return r&&(e-=this.children[--r].length),new tFe(this.children,e,r)}computeBlockGapDeco(){let e=[],r=this.view.viewState;for(let n=0,i=0;;i++){let o=i==r.viewports.length?null:r.viewports[i],s=o?o.from-1:this.length;if(s>n){let a=(r.lineBlockAt(s).bottom-r.lineBlockAt(n).top)/this.view.scaleY;e.push(_r.replace({widget:new NK(a),block:!0,inclusive:!0,isBlockGap:!0}).range(n,s))}if(!o)break;n=o.to+1}return _r.set(e)}updateDeco(){let e=1,r=this.view.state.facet(f3).map(o=>(this.dynamicDecorationMap[e++]=typeof o=="function")?o(this.view):o),n=!1,i=this.view.state.facet(EFe).map((o,s)=>{let a=typeof o=="function";return a&&(n=!0),a?o(this.view):o});for(i.length&&(this.dynamicDecorationMap[e++]=n,r.push(ri.join(i))),this.decorations=[this.editContextFormatting,...r,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];e<this.decorations.length;)this.dynamicDecorationMap[e++]=!1;return this.decorations}scrollIntoView(e){if(e.isSnapshot){let c=this.view.viewState.lineBlockAt(e.range.head);this.view.scrollDOM.scrollTop=c.top-e.yMargin,this.view.scrollDOM.scrollLeft=e.xMargin;return}for(let c of this.view.state.facet(wFe))try{if(c(this.view,e.range,e))return!0}catch(u){Yl(this.view.state,u,"scroll handler")}let{range:r}=e,n=this.coordsAt(r.head,r.empty?r.assoc:r.head>r.anchor?-1:1),i;if(!n)return;!r.empty&&(i=this.coordsAt(r.anchor,r.anchor>r.head?-1:1))&&(n={left:Math.min(n.left,i.left),top:Math.min(n.top,i.top),right:Math.max(n.right,i.right),bottom:Math.max(n.bottom,i.bottom)});let o=ote(this.view),s={left:n.left-o.left,top:n.top-o.top,right:n.right+o.right,bottom:n.bottom+o.bottom},{offsetWidth:a,offsetHeight:l}=this.view.scrollDOM;jGt(this.view.scrollDOM,s,r.head<r.anchor?-1:1,e.x,e.y,Math.max(Math.min(e.xMargin,a),-a),Math.max(Math.min(e.yMargin,l),-l),this.view.textDirection==ho.LTR)}}function sWt(t){return t.node.nodeType==1&&t.node.firstChild&&(t.offset==0||t.node.childNodes[t.offset-1].contentEditable=="false")&&(t.offset==t.node.childNodes.length||t.node.childNodes[t.offset].contentEditable=="false")}function OFe(t,e){let r=t.observer.selectionRange;if(!r.focusNode)return null;let n=ZNe(r.focusNode,r.focusOffset),i=eFe(r.focusNode,r.focusOffset),o=n||i;if(i&&n&&i.node!=n.node){let a=Gi.get(i.node);if(!a||a instanceof Zf&&a.text!=i.node.nodeValue)o=i;else if(t.docView.lastCompositionAfterCursor){let l=Gi.get(n.node);!l||l instanceof Zf&&l.text!=n.node.nodeValue||(o=i)}}if(t.docView.lastCompositionAfterCursor=o!=n,!o)return null;let s=e-o.offset;return{from:s,to:s+o.node.nodeValue.length,node:o.node}}function aWt(t,e,r){let n=OFe(t,r);if(!n)return null;let{node:i,from:o,to:s}=n,a=i.nodeValue;if(/[\n\r]/.test(a)||t.state.doc.sliceString(n.from,n.to)!=a)return null;let l=e.invertedDesc,c=new Ru(l.mapPos(o),l.mapPos(s),o,s),u=[];for(let f=i.parentNode;;f=f.parentNode){let d=Gi.get(f);if(d instanceof mh)u.push({node:f,deco:d.mark});else{if(d instanceof hs||f.nodeName=="DIV"&&f.parentNode==t.contentDOM)return{range:c,text:i,marks:u,line:f};if(f!=t.contentDOM)u.push({node:f,deco:new Rx({inclusive:!0,attributes:KGt(f),tagName:f.tagName.toLowerCase()})});else return null}}}function lWt(t,e){return t.nodeType!=1?0:(e&&t.childNodes[e-1].contentEditable=="false"?1:0)|(e<t.childNodes.length&&t.childNodes[e].contentEditable=="false"?2:0)}let cWt=class{constructor(){this.changes=[]}compareRange(e,r){MD(e,r,this.changes)}comparePoint(e,r){MD(e,r,this.changes)}boundChange(e){MD(e,e,this.changes)}};function uWt(t,e,r){let n=new cWt;return ri.compare(t,e,r,n),n.changes}function fWt(t,e){for(let r=t;r&&r!=e;r=r.assignedSlot||r.parentNode)if(r.nodeType==1&&r.contentEditable=="false")return!0;return!1}function dWt(t,e){let r=!1;return e&&t.iterChangedRanges((n,i)=>{n<e.to&&i>e.from&&(r=!0)}),r}function pWt(t,e,r=1){let n=t.charCategorizer(e),i=t.doc.lineAt(e),o=e-i.from;if(i.length==0)return It.cursor(e);o==0?r=1:o==i.length&&(r=-1);let s=o,a=o;r<0?s=ma(i.text,o,!1):a=ma(i.text,o);let l=n(i.text.slice(s,a));for(;s>0;){let c=ma(i.text,s,!1);if(n(i.text.slice(c,s))!=l)break;s=c}for(;a<i.length;){let c=ma(i.text,a);if(n(i.text.slice(a,c))!=l)break;a=c}return It.range(s+i.from,a+i.from)}function AWt(t,e){return e.left>t?e.left-t:Math.max(0,t-e.right)}function hWt(t,e){return e.top>t?e.top-t:Math.max(0,t-e.bottom)}function aU(t,e){return t.top<e.bottom-1&&t.bottom>e.top+1}function Yme(t,e){return e<t.top?{top:e,left:t.left,right:t.right,bottom:t.bottom}:t}function Jme(t,e){return e>t.bottom?{top:t.top,left:t.left,right:t.right,bottom:e}:t}function MK(t,e,r){let n,i,o,s,a=!1,l,c,u,f;for(let h=t.firstChild;h;h=h.nextSibling){let A=YB(h);for(let g=0;g<A.length;g++){let m=A[g];i&&aU(i,m)&&(m=Yme(Jme(m,i.bottom),i.top));let v=AWt(e,m),y=hWt(r,m);if(v==0&&y==0)return h.nodeType==3?Zme(h,e,r):MK(h,e,r);(!n||s>y||s==y&&o>v)&&(n=h,i=m,o=v,s=y,a=v?e<m.left?g>0:g<A.length-1:!0),v==0?r>m.bottom&&(!u||u.bottom<m.bottom)?(l=h,u=m):r<m.top&&(!f||f.top>m.top)&&(c=h,f=m):u&&aU(u,m)?u=Jme(u,m.bottom):f&&aU(f,m)&&(f=Yme(f,m.top))}}if(u&&u.bottom>=r?(n=l,i=u):f&&f.top<=r&&(n=c,i=f),!n)return{node:t,offset:0};let d=Math.max(i.left,Math.min(i.right,e));if(n.nodeType==3)return Zme(n,d,r);if(a&&n.contentEditable!="false")return MK(n,d,r);let p=Array.prototype.indexOf.call(t.childNodes,n)+(e>=(i.left+i.right)/2?1:0);return{node:t,offset:p}}function Zme(t,e,r){let n=t.nodeValue.length,i=-1,o=1e9,s=0;for(let a=0;a<n;a++){let l=Z1(t,a,a+1).getClientRects();for(let c=0;c<l.length;c++){let u=l[c];if(u.top==u.bottom)continue;s||(s=e-u.left);let f=(u.top>r?u.top-r:r-u.bottom)-1;if(u.left-1<=e&&u.right+1>=e&&f<o){let d=e>=(u.left+u.right)/2,p=d;if((vr.chrome||vr.gecko)&&Z1(t,a).getBoundingClientRect().left==u.right&&(p=!d),f<=0)return{node:t,offset:a+(p?1:0)};i=a+(p?1:0),o=f}}}return{node:t,offset:i>-1?i:s>0?t.nodeValue.length:0}}function PFe(t,e,r,n=-1){var i,o;let s=t.contentDOM.getBoundingClientRect(),a=s.top+t.viewState.paddingTop,l,{docHeight:c}=t.viewState,{x:u,y:f}=e,d=f-a;if(d<0)return 0;if(d>c)return t.state.doc.length;for(let b=t.viewState.heightOracle.textHeight/2,B=!1;l=t.elementAtHeight(d),l.type!=gl.Text;)for(;d=n>0?l.bottom+b:l.top-b,!(d>=0&&d<=c);){if(B)return r?null:0;B=!0,n=-n}f=a+d;let p=l.from;if(p<t.viewport.from)return t.viewport.from==0?0:r?null:ege(t,s,l,u,f);if(p>t.viewport.to)return t.viewport.to==t.state.doc.length?t.state.doc.length:r?null:ege(t,s,l,u,f);let h=t.dom.ownerDocument,A=t.root.elementFromPoint?t.root:h,g=A.elementFromPoint(u,f);g&&!t.contentDOM.contains(g)&&(g=null),g||(u=Math.max(s.left+1,Math.min(s.right-1,u)),g=A.elementFromPoint(u,f),g&&!t.contentDOM.contains(g)&&(g=null));let m,v=-1;if(g&&((i=t.docView.nearest(g))===null||i===void 0?void 0:i.isEditable)!=!1){if(h.caretPositionFromPoint){let b=h.caretPositionFromPoint(u,f);b&&({offsetNode:m,offset:v}=b)}else if(h.caretRangeFromPoint){let b=h.caretRangeFromPoint(u,f);b&&({startContainer:m,startOffset:v}=b,(!t.contentDOM.contains(m)||vr.safari&&mWt(m,v,u)||vr.chrome&&gWt(m,v,u))&&(m=void 0))}m&&(v=Math.min(Dp(m),v))}if(!m||!t.docView.dom.contains(m)){let b=hs.find(t.docView,p);if(!b)return d>l.top+l.height/2?l.to:l.from;({node:m,offset:v}=MK(b.dom,u,f))}let y=t.docView.nearest(m);if(!y)return null;if(y.isWidget&&((o=y.dom)===null||o===void 0?void 0:o.nodeType)==1){let b=y.dom.getBoundingClientRect();return e.y<b.top||e.y<=b.bottom&&e.x<=(b.left+b.right)/2?y.posAtStart:y.posAtEnd}else return y.localPosFromDOM(m,v)+y.posAtStart}function ege(t,e,r,n,i){let o=Math.round((n-e.left)*t.defaultCharacterWidth);if(t.lineWrapping&&r.height>t.defaultLineHeight*1.5){let a=t.viewState.heightOracle.textHeight,l=Math.floor((i-r.top-(t.defaultLineHeight-a)*.5)/a);o+=l*t.viewState.heightOracle.lineLength}let s=t.state.sliceDoc(r.from,r.to);return r.from+wK(s,o,t.state.tabSize)}function mWt(t,e,r){let n,i=t;if(t.nodeType!=3||e!=(n=t.nodeValue.length))return!1;for(;;){let o=i.nextSibling;if(o){if(o.nodeName=="BR")break;return!1}else{let s=i.parentNode;if(!s||s.nodeName=="DIV")break;i=s}}return Z1(t,n-1,n).getBoundingClientRect().right>r}function gWt(t,e,r){if(e!=0)return!1;for(let i=t;;){let o=i.parentNode;if(!o||o.nodeType!=1||o.firstChild!=i)return!1;if(o.classList.contains("cm-line"))break;i=o}let n=t.nodeType==1?t.getBoundingClientRect():Z1(t,0,Math.max(t.nodeValue.length,1)).getBoundingClientRect();return r-n.left>5}function _K(t,e,r){let n=t.lineBlockAt(e);if(Array.isArray(n.type)){let i;for(let o of n.type){if(o.from>e)break;if(!(o.to<e)){if(o.from<e&&o.to>e)return o;(!i||o.type==gl.Text&&(i.type!=o.type||(r<0?o.from<e:o.to>e)))&&(i=o)}}return i||n}return n}function vWt(t,e,r,n){let i=_K(t,e.head,e.assoc||-1),o=!n||i.type!=gl.Text||!(t.lineWrapping||i.widgetLineBreaks)?null:t.coordsAtPos(e.assoc<0&&e.head>i.from?e.head-1:e.head);if(o){let s=t.dom.getBoundingClientRect(),a=t.textDirectionAt(i.from),l=t.posAtCoords({x:r==(a==ho.LTR)?s.right-1:s.left+1,y:(o.top+o.bottom)/2});if(l!=null)return It.cursor(l,r?-1:1)}return It.cursor(r?i.to:i.from,r?-1:1)}function tge(t,e,r,n){let i=t.state.doc.lineAt(e.head),o=t.bidiSpans(i),s=t.textDirectionAt(i.from);for(let a=e,l=null;;){let c=nWt(i,o,s,a,r),u=AFe;if(!c){if(i.number==(r?t.state.doc.lines:1))return a;u=` `,i=t.state.doc.line(i.number+(r?1:-1)),o=t.bidiSpans(i),c=t.visualLineSide(i,!r)}if(l){if(!l(u))return a}else{if(!n)return c;l=n(u)}a=c}}function yWt(t,e,r){let n=t.state.charCategorizer(e),i=n(r);return o=>{let s=n(o);return i==bo.Space&&(i=s),i==s}}function BWt(t,e,r,n){let i=e.head,o=r?1:-1;if(i==(r?t.state.doc.length:0))return It.cursor(i,e.assoc);let s=e.goalColumn,a,l=t.contentDOM.getBoundingClientRect(),c=t.coordsAtPos(i,e.assoc||-1),u=t.documentTop;if(c)s==null&&(s=c.left-l.left),a=o<0?c.top:c.bottom;else{let p=t.viewState.lineBlockAt(i);s==null&&(s=Math.min(l.right-l.left,t.defaultCharacterWidth*(i-p.from))),a=(o<0?p.top:p.bottom)+u}let f=l.left+s,d=n??t.viewState.heightOracle.textHeight>>1;for(let p=0;;p+=10){let h=a+(d+p)*o,A=PFe(t,{x:f,y:h},!1,o);if(h<l.top||h>l.bottom||(o<0?A<i:A>i)){let g=t.docView.coordsForChar(A),m=!g||h<g.top?-1:1;return It.cursor(A,m,void 0,s)}}}function _D(t,e,r){for(;;){let n=0;for(let i of t)i.between(e-1,e+1,(o,s,a)=>{if(e>o&&e<s){let l=n||r||(e-o<s-e?-1:1);e=l<0?o:s,n=l}});if(!n)return e}}function lU(t,e,r){let n=_D(t.state.facet(ite).map(i=>i(t)),r.from,e.head>r.from?-1:1);return n==r.from?r:It.cursor(n,n<r.from?1:-1)}const Hw="";class CWt{constructor(e,r){this.points=e,this.text="",this.lineSeparator=r.facet(qn.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=Hw}readRange(e,r){if(!e)return this;let n=e.parentNode;for(let i=e;;){this.findPointBefore(n,i);let o=this.text.length;this.readNode(i);let s=i.nextSibling;if(s==r)break;let a=Gi.get(i),l=Gi.get(s);(a&&l?a.breakAfter:(a?a.breakAfter:$O(i))||$O(s)&&(i.nodeName!="BR"||i.cmIgnore)&&this.text.length>o)&&this.lineBreak(),i=s}return this.findPointBefore(n,r),this}readTextNode(e){let r=e.nodeValue;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,r.length));for(let n=0,i=this.lineSeparator?null:/\r\n?|\n/g;;){let o=-1,s=1,a;if(this.lineSeparator?(o=r.indexOf(this.lineSeparator,n),s=this.lineSeparator.length):(a=i.exec(r))&&(o=a.index,s=a[0].length),this.append(r.slice(n,o<0?r.length:o)),o<0)break;if(this.lineBreak(),s>1)for(let l of this.points)l.node==e&&l.pos>this.text.length&&(l.pos-=s-1);n=o+s}}readNode(e){if(e.cmIgnore)return;let r=Gi.get(e),n=r&&r.overrideDOMText;if(n!=null){this.findPointInside(e,n.length);for(let i=n.iter();!i.next().done;)i.lineBreak?this.lineBreak():this.append(i.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,r){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==r&&(n.pos=this.text.length)}findPointInside(e,r){for(let n of this.points)(e.nodeType==3?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+(bWt(e,n.node,n.offset)?r:0))}}function bWt(t,e,r){for(;;){if(!e||r<Dp(e))return!1;if(e==t)return!0;r=J1(e)+1,e=e.parentNode}}class rge{constructor(e,r){this.node=e,this.offset=r,this.pos=-1}}class wWt{constructor(e,r,n,i){this.typeOver=i,this.bounds=null,this.text="",this.domChanged=r>-1;let{impreciseHead:o,impreciseAnchor:s}=e.docView;if(e.state.readOnly&&r>-1)this.newSel=null;else if(r>-1&&(this.bounds=e.docView.domBoundsAround(r,n,0))){let a=o||s?[]:EWt(e),l=new CWt(a,e.state);l.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=l.text,this.newSel=DWt(a,this.bounds.from)}else{let a=e.observer.selectionRange,l=o&&o.node==a.focusNode&&o.offset==a.focusOffset||!EK(e.contentDOM,a.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(a.focusNode,a.focusOffset),c=s&&s.node==a.anchorNode&&s.offset==a.anchorOffset||!EK(e.contentDOM,a.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(a.anchorNode,a.anchorOffset),u=e.viewport;if((vr.ios||vr.chrome)&&e.state.selection.main.empty&&l!=c&&(u.from>0||u.to<e.state.doc.length)){let f=Math.min(l,c),d=Math.max(l,c),p=u.from-f,h=u.to-d;(p==0||p==1||f==0)&&(h==0||h==-1||d==e.state.doc.length)&&(l=0,c=e.state.doc.length)}this.newSel=It.single(c,l)}}}function IFe(t,e){let r,{newSel:n}=e,i=t.state.selection.main,o=t.inputState.lastKeyTime>Date.now()-100?t.inputState.lastKeyCode:-1;if(e.bounds){let{from:s,to:a}=e.bounds,l=i.from,c=null;(o===8||vr.android&&e.text.length<a-s)&&(l=i.to,c="end");let u=SWt(t.state.doc.sliceString(s,a,Hw),e.text,l-s,c);u&&(vr.chrome&&o==13&&u.toB==u.from+2&&e.text.slice(u.from,u.toB)==Hw+Hw&&u.toB--,r={from:s+u.from,to:s+u.toA,insert:ii.of(e.text.slice(u.from,u.toB).split(Hw))})}else n&&(!t.hasFocus&&t.state.facet(wA)||n.main.eq(i))&&(n=null);if(!r&&!n)return!1;if(!r&&e.typeOver&&!i.empty&&n&&n.main.empty?r={from:i.from,to:i.to,insert:t.state.doc.slice(i.from,i.to)}:(vr.mac||vr.android)&&r&&r.from==r.to&&r.from==i.head-1&&/^\. ?$/.test(r.insert.toString())&&t.contentDOM.getAttribute("autocorrect")=="off"?(n&&r.insert.length==2&&(n=It.single(n.main.anchor-1,n.main.head-1)),r={from:r.from,to:r.to,insert:ii.of([r.insert.toString().replace("."," ")])}):r&&r.from>=i.from&&r.to<=i.to&&(r.from!=i.from||r.to!=i.to)&&i.to-i.from-(r.to-r.from)<=4?r={from:i.from,to:i.to,insert:t.state.doc.slice(i.from,r.from).append(r.insert).append(t.state.doc.slice(r.to,i.to))}:vr.chrome&&r&&r.from==r.to&&r.from==i.head&&r.insert.toString()==` `&&t.lineWrapping&&(n&&(n=It.single(n.main.anchor-1,n.main.head-1)),r={from:i.from,to:i.to,insert:ii.of([" "])}),r)return ste(t,r,n,o);if(n&&!n.main.eq(i)){let s=!1,a="select";return t.inputState.lastSelectionTime>Date.now()-50&&(t.inputState.lastSelectionOrigin=="select"&&(s=!0),a=t.inputState.lastSelectionOrigin),t.dispatch({selection:n,scrollIntoView:s,userEvent:a}),!0}else return!1}function ste(t,e,r,n=-1){if(vr.ios&&t.inputState.flushIOSKey(e))return!0;let i=t.state.selection.main;if(vr.android&&(e.to==i.to&&(e.from==i.from||e.from==i.from-1&&t.state.sliceDoc(e.from,i.from)==" ")&&e.insert.length==1&&e.insert.lines==2&&H2(t.contentDOM,"Enter",13)||(e.from==i.from-1&&e.to==i.to&&e.insert.length==0||n==8&&e.insert.length<e.to-e.from&&e.to>i.head)&&H2(t.contentDOM,"Backspace",8)||e.from==i.from&&e.to==i.to+1&&e.insert.length==0&&H2(t.contentDOM,"Delete",46)))return!0;let o=e.insert.toString();t.inputState.composing>=0&&t.inputState.composing++;let s,a=()=>s||(s=xWt(t,e,r));return t.state.facet(yFe).some(l=>l(t,e.from,e.to,o,a))||t.dispatch(a()),!0}function xWt(t,e,r){let n,i=t.state,o=i.selection.main;if(e.from>=o.from&&e.to<=o.to&&e.to-e.from>=(o.to-o.from)/3&&(!r||r.main.empty&&r.main.from==e.from+e.insert.length)&&t.inputState.composing<0){let a=o.from<e.from?i.sliceDoc(o.from,e.from):"",l=o.to>e.to?i.sliceDoc(e.to,o.to):"";n=i.replaceSelection(t.state.toText(a+e.insert.sliceString(0,void 0,t.state.lineBreak)+l))}else{let a=i.changes(e),l=r&&r.main.to<=a.newLength?r.main:void 0;if(i.selection.ranges.length>1&&t.inputState.composing>=0&&e.to<=o.to&&e.to>=o.to-10){let c=t.state.sliceDoc(e.from,e.to),u,f=r&&OFe(t,r.main.head);if(f){let h=e.insert.length-(e.to-e.from);u={from:f.from,to:f.to-h}}else u=t.state.doc.lineAt(o.head);let d=o.to-e.to,p=o.to-o.from;n=i.changeByRange(h=>{if(h.from==o.from&&h.to==o.to)return{changes:a,range:l||h.map(a)};let A=h.to-d,g=A-c.length;if(h.to-h.from!=p||t.state.sliceDoc(g,A)!=c||h.to>=u.from&&h.from<=u.to)return{range:h};let m=i.changes({from:g,to:A,insert:e.insert}),v=h.to-o.to;return{changes:m,range:l?It.range(Math.max(0,l.anchor+v),Math.max(0,l.head+v)):h.map(m)}})}else n={changes:a,selection:l&&i.selection.replaceRange(l)}}let s="input.type";return(t.composing||t.inputState.compositionPendingChange&&t.inputState.compositionEndedAt>Date.now()-50)&&(t.inputState.compositionPendingChange=!1,s+=".compose",t.inputState.compositionFirstChange&&(s+=".start",t.inputState.compositionFirstChange=!1)),i.update(n,{userEvent:s,scrollIntoView:!0})}function SWt(t,e,r,n){let i=Math.min(t.length,e.length),o=0;for(;o<i&&t.charCodeAt(o)==e.charCodeAt(o);)o++;if(o==i&&t.length==e.length)return null;let s=t.length,a=e.length;for(;s>0&&a>0&&t.charCodeAt(s-1)==e.charCodeAt(a-1);)s--,a--;if(n=="end"){let l=Math.max(0,o-Math.min(s,a));r-=s+l-o}if(s<o&&t.length<e.length){let l=r<=o&&r>=s?o-r:0;o-=l,a=o+(a-s),s=o}else if(a<o){let l=r<=o&&r>=a?o-r:0;o-=l,s=o+(s-a),a=o}return{from:o,toA:s,toB:a}}function EWt(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:r,anchorOffset:n,focusNode:i,focusOffset:o}=t.observer.selectionRange;return r&&(e.push(new rge(r,n)),(i!=r||o!=n)&&e.push(new rge(i,o))),e}function DWt(t,e){if(t.length==0)return null;let r=t[0].pos,n=t.length==2?t[1].pos:r;return r>-1&&n>-1?It.single(r+e,n+e):null}class kWt{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.pendingIOSKey=void 0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=e.hasFocus,vr.safari&&e.contentDOM.addEventListener("input",()=>null),vr.gecko&&HWt(e.contentDOM.ownerDocument)}handleEvent(e){!RWt(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||(this.view.updateState!=0?Promise.resolve().then(()=>this.runHandlers(e.type,e)):this.runHandlers(e.type,e))}runHandlers(e,r){let n=this.handlers[e];if(n){for(let i of n.observers)i(this.view,r);for(let i of n.handlers){if(r.defaultPrevented)break;if(i(this.view,r)){r.preventDefault();break}}}}ensureHandlers(e){let r=OWt(e),n=this.handlers,i=this.view.contentDOM;for(let o in r)if(o!="scroll"){let s=!r[o].handlers.length,a=n[o];a&&s!=!a.handlers.length&&(i.removeEventListener(o,this.handleEvent),a=null),a||i.addEventListener(o,this.handleEvent,{passive:s})}for(let o in n)o!="scroll"&&!r[o]&&i.removeEventListener(o,this.handleEvent);this.handlers=r}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&e.keyCode!=27&&FFe.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),vr.android&&vr.chrome&&!e.synthetic&&(e.keyCode==13||e.keyCode==8))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;let r;return vr.ios&&!e.synthetic&&!e.altKey&&!e.metaKey&&((r=NFe.find(n=>n.keyCode==e.keyCode))&&!e.ctrlKey||PWt.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=r||e,setTimeout(()=>this.flushIOSKey(),250),!0):(e.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(e){let r=this.pendingIOSKey;return!r||r.key=="Enter"&&e&&e.from<e.to&&/^\S+$/.test(e.insert.toString())?!1:(this.pendingIOSKey=void 0,H2(this.view.contentDOM,r.key,r.keyCode,r instanceof KeyboardEvent?r:void 0))}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:vr.safari&&!vr.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.view.observer.update(e),this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function nge(t,e){return(r,n)=>{try{return e.call(t,n,r)}catch(i){Yl(r.state,i)}}}function OWt(t){let e=Object.create(null);function r(n){return e[n]||(e[n]={observers:[],handlers:[]})}for(let n of t){let i=n.spec,o=i&&i.plugin.domEventHandlers,s=i&&i.plugin.domEventObservers;if(o)for(let a in o){let l=o[a];l&&r(a).handlers.push(nge(n.value,l))}if(s)for(let a in s){let l=s[a];l&&r(a).observers.push(nge(n.value,l))}}for(let n in ed)r(n).handlers.push(ed[n]);for(let n in Wu)r(n).observers.push(Wu[n]);return e}const NFe=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],PWt="dthko",FFe=[16,17,18,20,91,92,224,225],_8=6;function j8(t){return Math.max(0,t)*.7+8}function IWt(t,e){return Math.max(Math.abs(t.clientX-e.clientX),Math.abs(t.clientY-e.clientY))}class NWt{constructor(e,r,n,i){this.view=e,this.startEvent=r,this.style=n,this.mustSelect=i,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=r,this.scrollParents=UGt(e.contentDOM),this.atoms=e.state.facet(ite).map(s=>s(e));let o=e.contentDOM.ownerDocument;o.addEventListener("mousemove",this.move=this.move.bind(this)),o.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=r.shiftKey,this.multiple=e.state.facet(qn.allowMultipleSelections)&&FWt(e,r),this.dragging=LWt(e,r)&&RFe(r)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&IWt(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let r=0,n=0,i=0,o=0,s=this.view.win.innerWidth,a=this.view.win.innerHeight;this.scrollParents.x&&({left:i,right:s}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:o,bottom:a}=this.scrollParents.y.getBoundingClientRect());let l=ote(this.view);e.clientX-l.left<=i+_8?r=-j8(i-e.clientX):e.clientX+l.right>=s-_8&&(r=j8(e.clientX-s)),e.clientY-l.top<=o+_8?n=-j8(o-e.clientY):e.clientY+l.bottom>=a-_8&&(n=j8(e.clientY-a)),this.setScrollSpeed(r,n)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,r){this.scrollSpeed={x:e,y:r},e||r?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:e,y:r}=this.scrollSpeed;e&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=e,e=0),r&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=r,r=0),(e||r)&&this.view.win.scrollBy(e,r),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let r=null;for(let n=0;n<e.ranges.length;n++){let i=e.ranges[n],o=null;if(i.empty){let s=_D(this.atoms,i.from,0);s!=i.from&&(o=It.cursor(s,-1))}else{let s=_D(this.atoms,i.from,-1),a=_D(this.atoms,i.to,1);(s!=i.from||a!=i.to)&&(o=It.range(i.from==i.anchor?s:a,i.from==i.head?s:a))}o&&(r||(r=e.ranges.slice()),r[n]=o)}return r?It.create(r,e.mainIndex):e}select(e){let{view:r}=this,n=this.skipAtoms(this.style.get(e,this.extend,this.multiple));(this.mustSelect||!n.eq(r.state.selection,this.dragging===!1))&&this.view.dispatch({selection:n,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){e.transactions.some(r=>r.isUserEvent("input.type"))?this.destroy():this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}}function FWt(t,e){let r=t.state.facet(hFe);return r.length?r[0](e):vr.mac?e.metaKey:e.ctrlKey}function TWt(t,e){let r=t.state.facet(mFe);return r.length?r[0](e):vr.mac?!e.altKey:!e.ctrlKey}function LWt(t,e){let{main:r}=t.state.selection;if(r.empty)return!1;let n=u3(t.root);if(!n||n.rangeCount==0)return!0;let i=n.getRangeAt(0).getClientRects();for(let o=0;o<i.length;o++){let s=i[o];if(s.left<=e.clientX&&s.right>=e.clientX&&s.top<=e.clientY&&s.bottom>=e.clientY)return!0}return!1}function RWt(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let r=e.target,n;r!=t.contentDOM;r=r.parentNode)if(!r||r.nodeType==11||(n=Gi.get(r))&&n.ignoreEvent(e))return!1;return!0}const ed=Object.create(null),Wu=Object.create(null),TFe=vr.ie&&vr.ie_version<15||vr.ios&&vr.webkit_version<604;function MWt(t){let e=t.dom.parentNode;if(!e)return;let r=e.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus(),setTimeout(()=>{t.focus(),r.remove(),LFe(t,r.value)},50)}function QN(t,e,r){for(let n of t.facet(e))r=n(r,t);return r}function LFe(t,e){e=QN(t.state,tte,e);let{state:r}=t,n,i=1,o=r.toText(e),s=o.lines==r.selection.ranges.length;if(jK!=null&&r.selection.ranges.every(l=>l.empty)&&jK==o.toString()){let l=-1;n=r.changeByRange(c=>{let u=r.doc.lineAt(c.from);if(u.from==l)return{range:c};l=u.from;let f=r.toText((s?o.line(i++).text:e)+r.lineBreak);return{changes:{from:u.from,insert:f},range:It.cursor(c.from+f.length)}})}else s?n=r.changeByRange(l=>{let c=o.line(i++);return{changes:{from:l.from,to:l.to,insert:c.text},range:It.cursor(l.from+c.length)}}):n=r.replaceSelection(o);t.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}Wu.scroll=t=>{t.inputState.lastScrollTop=t.scrollDOM.scrollTop,t.inputState.lastScrollLeft=t.scrollDOM.scrollLeft};ed.keydown=(t,e)=>(t.inputState.setSelectionOrigin("select"),e.keyCode==27&&t.inputState.tabFocusMode!=0&&(t.inputState.tabFocusMode=Date.now()+2e3),!1);Wu.touchstart=(t,e)=>{t.inputState.lastTouchTime=Date.now(),t.inputState.setSelectionOrigin("select.pointer")};Wu.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")};ed.mousedown=(t,e)=>{if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return!1;let r=null;for(let n of t.state.facet(gFe))if(r=n(t,e),r)break;if(!r&&e.button==0&&(r=UWt(t,e)),r){let n=!t.hasFocus;t.inputState.startMouseSelection(new NWt(t,e,r,n)),n&&t.observer.ignore(()=>{XNe(t.contentDOM);let o=t.root.activeElement;o&&!o.contains(t.contentDOM)&&o.blur()});let i=t.inputState.mouseSelection;if(i)return i.start(e),i.dragging===!1}return!1};function ige(t,e,r,n){if(n==1)return It.cursor(e,r);if(n==2)return pWt(t.state,e,r);{let i=hs.find(t.docView,e),o=t.state.doc.lineAt(i?i.posAtEnd:e),s=i?i.posAtStart:o.from,a=i?i.posAtEnd:o.to;return a<t.state.doc.length&&a==o.to&&a++,It.range(s,a)}}let oge=(t,e,r)=>e>=r.top&&e<=r.bottom&&t>=r.left&&t<=r.right;function _Wt(t,e,r,n){let i=hs.find(t.docView,e);if(!i)return 1;let o=e-i.posAtStart;if(o==0)return 1;if(o==i.length)return-1;let s=i.coordsAt(o,-1);if(s&&oge(r,n,s))return-1;let a=i.coordsAt(o,1);return a&&oge(r,n,a)?1:s&&s.bottom>=n?-1:1}function sge(t,e){let r=t.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:r,bias:_Wt(t,r,e.clientX,e.clientY)}}const jWt=vr.ie&&vr.ie_version<=11;let age=null,lge=0,cge=0;function RFe(t){if(!jWt)return t.detail;let e=age,r=cge;return age=t,cge=Date.now(),lge=!e||r>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(lge+1)%3:1}function UWt(t,e){let r=sge(t,e),n=RFe(e),i=t.state.selection;return{update(o){o.docChanged&&(r.pos=o.changes.mapPos(r.pos),i=i.map(o.changes))},get(o,s,a){let l=sge(t,o),c,u=ige(t,l.pos,l.bias,n);if(r.pos!=l.pos&&!s){let f=ige(t,r.pos,r.bias,n),d=Math.min(f.from,u.from),p=Math.max(f.to,u.to);u=d<u.from?It.range(d,p):It.range(p,d)}return s?i.replaceRange(i.main.extend(u.from,u.to)):a&&n==1&&i.ranges.length>1&&(c=QWt(i,l.pos))?c:a?i.addRange(u):It.create([u])}}}function QWt(t,e){for(let r=0;r<t.ranges.length;r++){let{from:n,to:i}=t.ranges[r];if(n<=e&&i>=e)return It.create(t.ranges.slice(0,r).concat(t.ranges.slice(r+1)),t.mainIndex==r?0:t.mainIndex-(t.mainIndex>r?1:0))}return null}ed.dragstart=(t,e)=>{let{selection:{main:r}}=t.state;if(e.target.draggable){let i=t.docView.nearest(e.target);if(i&&i.isWidget){let o=i.posAtStart,s=o+i.length;(o>=r.to||s<=r.from)&&(r=It.range(o,s))}}let{inputState:n}=t;return n.mouseSelection&&(n.mouseSelection.dragging=!0),n.draggedContent=r,e.dataTransfer&&(e.dataTransfer.setData("Text",QN(t.state,rte,t.state.sliceDoc(r.from,r.to))),e.dataTransfer.effectAllowed="copyMove"),!1};ed.dragend=t=>(t.inputState.draggedContent=null,!1);function uge(t,e,r,n){if(r=QN(t.state,tte,r),!r)return;let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:o}=t.inputState,s=n&&o&&TWt(t,e)?{from:o.from,to:o.to}:null,a={from:i,insert:r},l=t.state.changes(s?[s,a]:a);t.focus(),t.dispatch({changes:l,selection:{anchor:l.mapPos(i,-1),head:l.mapPos(i,1)},userEvent:s?"move.drop":"input.drop"}),t.inputState.draggedContent=null}ed.drop=(t,e)=>{if(!e.dataTransfer)return!1;if(t.state.readOnly)return!0;let r=e.dataTransfer.files;if(r&&r.length){let n=Array(r.length),i=0,o=()=>{++i==r.length&&uge(t,e,n.filter(s=>s!=null).join(t.state.lineBreak),!1)};for(let s=0;s<r.length;s++){let a=new FileReader;a.onerror=o,a.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(a.result)||(n[s]=a.result),o()},a.readAsText(r[s])}return!0}else{let n=e.dataTransfer.getData("Text");if(n)return uge(t,e,n,!0),!0}return!1};ed.paste=(t,e)=>{if(t.state.readOnly)return!0;t.observer.flush();let r=TFe?null:e.clipboardData;return r?(LFe(t,r.getData("text/plain")||r.getData("text/uri-list")),!0):(MWt(t),!1)};function VWt(t,e){let r=t.dom.parentNode;if(!r)return;let n=r.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.value=e,n.focus(),n.selectionEnd=e.length,n.selectionStart=0,setTimeout(()=>{n.remove(),t.focus()},50)}function $Wt(t){let e=[],r=[],n=!1;for(let i of t.selection.ranges)i.empty||(e.push(t.sliceDoc(i.from,i.to)),r.push(i));if(!e.length){let i=-1;for(let{from:o}of t.selection.ranges){let s=t.doc.lineAt(o);s.number>i&&(e.push(s.text),r.push({from:s.from,to:Math.min(t.doc.length,s.to+1)})),i=s.number}n=!0}return{text:QN(t,rte,e.join(t.lineBreak)),ranges:r,linewise:n}}let jK=null;ed.copy=ed.cut=(t,e)=>{let{text:r,ranges:n,linewise:i}=$Wt(t.state);if(!r&&!i)return!1;jK=i?r:null,e.type=="cut"&&!t.state.readOnly&&t.dispatch({changes:n,scrollIntoView:!0,userEvent:"delete.cut"});let o=TFe?null:e.clipboardData;return o?(o.clearData(),o.setData("text/plain",r),!0):(VWt(t,r),!1)};const MFe=Mp.define();function _Fe(t,e){let r=[];for(let n of t.facet(BFe)){let i=n(t,e);i&&r.push(i)}return r.length?t.update({effects:r,annotations:MFe.of(!0)}):null}function jFe(t){setTimeout(()=>{let e=t.hasFocus;if(e!=t.inputState.notifiedFocused){let r=_Fe(t.state,e);r?t.dispatch(r):t.update([])}},10)}Wu.focus=t=>{t.inputState.lastFocusTime=Date.now(),!t.scrollDOM.scrollTop&&(t.inputState.lastScrollTop||t.inputState.lastScrollLeft)&&(t.scrollDOM.scrollTop=t.inputState.lastScrollTop,t.scrollDOM.scrollLeft=t.inputState.lastScrollLeft),jFe(t)};Wu.blur=t=>{t.observer.clearSelectionRange(),jFe(t)};Wu.compositionstart=Wu.compositionupdate=t=>{t.observer.editContext||(t.inputState.compositionFirstChange==null&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0))};Wu.compositionend=t=>{t.observer.editContext||(t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),t.inputState.compositionPendingKey=!0,t.inputState.compositionPendingChange=t.observer.pendingRecords().length>0,t.inputState.compositionFirstChange=null,vr.chrome&&vr.android?t.observer.flushSoon():t.inputState.compositionPendingChange?Promise.resolve().then(()=>t.observer.flush()):setTimeout(()=>{t.inputState.composing<0&&t.docView.hasComposition&&t.update([])},50))};Wu.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()};ed.beforeinput=(t,e)=>{var r,n;if(e.inputType=="insertReplacementText"&&t.observer.editContext){let o=(r=e.dataTransfer)===null||r===void 0?void 0:r.getData("text/plain"),s=e.getTargetRanges();if(o&&s.length){let a=s[0],l=t.posAtDOM(a.startContainer,a.startOffset),c=t.posAtDOM(a.endContainer,a.endOffset);return ste(t,{from:l,to:c,insert:t.state.toText(o)},null),!0}}let i;if(vr.chrome&&vr.android&&(i=NFe.find(o=>o.inputType==e.inputType))&&(t.observer.delayAndroidKey(i.key,i.keyCode),i.key=="Backspace"||i.key=="Delete")){let o=((n=window.visualViewport)===null||n===void 0?void 0:n.height)||0;setTimeout(()=>{var s;(((s=window.visualViewport)===null||s===void 0?void 0:s.height)||0)>o+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())},100)}return vr.ios&&e.inputType=="deleteContentForward"&&t.observer.flushSoon(),vr.safari&&e.inputType=="insertText"&&t.inputState.composing>=0&&setTimeout(()=>Wu.compositionend(t,e),20),!1};const fge=new Set;function HWt(t){fge.has(t)||(fge.add(t),t.addEventListener("copy",()=>{}),t.addEventListener("cut",()=>{}))}const dge=["pre-wrap","normal","pre-line","break-spaces"];let eC=!1;function pge(){eC=!1}class GWt{constructor(e){this.lineWrapping=e,this.doc=ii.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(e,r){let n=this.doc.lineAt(r).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((r-e-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/Math.max(1,this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return dge.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let r=!1;for(let n=0;n<e.length;n++){let i=e[n];i<0?n++:this.heightSamples[Math.floor(i*10)]||(r=!0,this.heightSamples[Math.floor(i*10)]=!0)}return r}refresh(e,r,n,i,o,s){let a=dge.indexOf(e)>-1,l=Math.round(r)!=Math.round(this.lineHeight)||this.lineWrapping!=a;if(this.lineWrapping=a,this.lineHeight=r,this.charWidth=n,this.textHeight=i,this.lineLength=o,l){this.heightSamples={};for(let c=0;c<s.length;c++){let u=s[c];u<0?c++:this.heightSamples[Math.floor(u*10)]=!0}}return l}}class WWt{constructor(e,r){this.from=e,this.heights=r,this.index=0}get more(){return this.index<this.heights.length}}class tp{constructor(e,r,n,i,o){this.from=e,this.length=r,this.top=n,this.height=i,this._content=o}get type(){return typeof this._content=="number"?gl.Text:Array.isArray(this._content)?this._content:this._content.type}get to(){return this.from+this.length}get bottom(){return this.top+this.height}get widget(){return this._content instanceof Om?this._content.widget:null}get widgetLineBreaks(){return typeof this._content=="number"?this._content:0}join(e){let r=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(e._content)?e._content:[e]);return new tp(this.from,this.length+e.length,this.top,this.height+e.height,r)}}var no=function(t){return t[t.ByPos=0]="ByPos",t[t.ByHeight=1]="ByHeight",t[t.ByPosNoHeight=2]="ByPosNoHeight",t}(no||(no={}));const jD=.001;class vl{constructor(e,r,n=2){this.length=e,this.height=r,this.flags=n}get outdated(){return(this.flags&2)>0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e){this.height!=e&&(Math.abs(this.height-e)>jD&&(eC=!0),this.height=e)}replace(e,r,n){return vl.of(n)}decomposeLeft(e,r){r.push(this)}decomposeRight(e,r){r.push(this)}applyChanges(e,r,n,i){let o=this,s=n.doc;for(let a=i.length-1;a>=0;a--){let{fromA:l,toA:c,fromB:u,toB:f}=i[a],d=o.lineAt(l,no.ByPosNoHeight,n.setDoc(r),0,0),p=d.to>=c?d:o.lineAt(c,no.ByPosNoHeight,n,0,0);for(f+=p.to-c,c=p.to;a>0&&d.from<=i[a-1].toA;)l=i[a-1].fromA,u=i[a-1].fromB,a--,l<d.from&&(d=o.lineAt(l,no.ByPosNoHeight,n,0,0));u+=d.from-l,l=d.from;let h=ate.build(n.setDoc(s),e,u,f);o=WO(o,o.replace(l,c,h))}return o.updateHeight(n,0)}static empty(){return new Sc(0,0)}static of(e){if(e.length==1)return e[0];let r=0,n=e.length,i=0,o=0;for(;;)if(r==n)if(i>o*2){let a=e[r-1];a.break?e.splice(--r,1,a.left,null,a.right):e.splice(--r,1,a.left,a.right),n+=1+a.break,i-=a.size}else if(o>i*2){let a=e[n];a.break?e.splice(n,1,a.left,null,a.right):e.splice(n,1,a.left,a.right),n+=2+a.break,o-=a.size}else break;else if(i<o){let a=e[r++];a&&(i+=a.size)}else{let a=e[--n];a&&(o+=a.size)}let s=0;return e[r-1]==null?(s=1,r--):e[r]==null&&(s=1,n++),new zWt(vl.of(e.slice(0,r)),s,vl.of(e.slice(n)))}}function WO(t,e){return t==e?t:(t.constructor!=e.constructor&&(eC=!0),e)}vl.prototype.size=1;class UFe extends vl{constructor(e,r,n){super(e,r),this.deco=n}blockAt(e,r,n,i){return new tp(i,this.length,n,this.height,this.deco||0)}lineAt(e,r,n,i,o){return this.blockAt(0,n,i,o)}forEachLine(e,r,n,i,o,s){e<=o+this.length&&r>=o&&s(this.blockAt(0,n,i,o))}updateHeight(e,r=0,n=!1,i){return i&&i.from<=r&&i.more&&this.setHeight(i.heights[i.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class Sc extends UFe{constructor(e,r){super(e,r,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,r,n,i){return new tp(i,this.length,n,this.height,this.breaks)}replace(e,r,n){let i=n[0];return n.length==1&&(i instanceof Sc||i instanceof ua&&i.flags&4)&&Math.abs(this.length-i.length)<10?(i instanceof ua?i=new Sc(i.length,this.height):i.height=this.height,this.outdated||(i.outdated=!1),i):vl.of(n)}updateHeight(e,r=0,n=!1,i){return i&&i.from<=r&&i.more?this.setHeight(i.heights[i.index++]):(n||this.outdated)&&this.setHeight(Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class ua extends vl{constructor(e){super(e,0)}heightMetrics(e,r){let n=e.doc.lineAt(r).number,i=e.doc.lineAt(r+this.length).number,o=i-n+1,s,a=0;if(e.lineWrapping){let l=Math.min(this.height,e.lineHeight*o);s=l/o,this.length>o+1&&(a=(this.height-l)/(this.length-o-1))}else s=this.height/o;return{firstLine:n,lastLine:i,perLine:s,perChar:a}}blockAt(e,r,n,i){let{firstLine:o,lastLine:s,perLine:a,perChar:l}=this.heightMetrics(r,i);if(r.lineWrapping){let c=i+(e<r.lineHeight?0:Math.round(Math.max(0,Math.min(1,(e-n)/this.height))*this.length)),u=r.doc.lineAt(c),f=a+u.length*l,d=Math.max(n,e-f/2);return new tp(u.from,u.length,d,f,0)}else{let c=Math.max(0,Math.min(s-o,Math.floor((e-n)/a))),{from:u,length:f}=r.doc.line(o+c);return new tp(u,f,n+a*c,a,0)}}lineAt(e,r,n,i,o){if(r==no.ByHeight)return this.blockAt(e,n,i,o);if(r==no.ByPosNoHeight){let{from:p,to:h}=n.doc.lineAt(e);return new tp(p,h-p,0,0,0)}let{firstLine:s,perLine:a,perChar:l}=this.heightMetrics(n,o),c=n.doc.lineAt(e),u=a+c.length*l,f=c.number-s,d=i+a*f+l*(c.from-o-f);return new tp(c.from,c.length,Math.max(i,Math.min(d,i+this.height-u)),u,0)}forEachLine(e,r,n,i,o,s){e=Math.max(e,o),r=Math.min(r,o+this.length);let{firstLine:a,perLine:l,perChar:c}=this.heightMetrics(n,o);for(let u=e,f=i;u<=r;){let d=n.doc.lineAt(u);if(u==e){let h=d.number-a;f+=l*h+c*(e-o-h)}let p=l+c*d.length;s(new tp(d.from,d.length,f,p,0)),f+=p,u=d.to+1}}replace(e,r,n){let i=this.length-r;if(i>0){let o=n[n.length-1];o instanceof ua?n[n.length-1]=new ua(o.length+i):n.push(null,new ua(i-1))}if(e>0){let o=n[0];o instanceof ua?n[0]=new ua(e+o.length):n.unshift(new ua(e-1),null)}return vl.of(n)}decomposeLeft(e,r){r.push(new ua(e-1),null)}decomposeRight(e,r){r.push(null,new ua(this.length-e-1))}updateHeight(e,r=0,n=!1,i){let o=r+this.length;if(i&&i.from<=r+this.length&&i.more){let s=[],a=Math.max(r,i.from),l=-1;for(i.from>r&&s.push(new ua(i.from-r-1).updateHeight(e,r));a<=o&&i.more;){let u=e.doc.lineAt(a).length;s.length&&s.push(null);let f=i.heights[i.index++];l==-1?l=f:Math.abs(f-l)>=jD&&(l=-2);let d=new Sc(u,f);d.outdated=!1,s.push(d),a+=u+1}a<=o&&s.push(null,new ua(o-a).updateHeight(e,a));let c=vl.of(s);return(l<0||Math.abs(c.height-this.height)>=jD||Math.abs(l-this.heightMetrics(e,r).perLine)>=jD)&&(eC=!0),WO(this,c)}else(n||this.outdated)&&(this.setHeight(e.heightForGap(r,r+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class zWt extends vl{constructor(e,r,n){super(e.length+r+n.length,e.height+n.height,r|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return this.flags&1}blockAt(e,r,n,i){let o=n+this.left.height;return e<o?this.left.blockAt(e,r,n,i):this.right.blockAt(e,r,o,i+this.left.length+this.break)}lineAt(e,r,n,i,o){let s=i+this.left.height,a=o+this.left.length+this.break,l=r==no.ByHeight?e<s:e<a,c=l?this.left.lineAt(e,r,n,i,o):this.right.lineAt(e,r,n,s,a);if(this.break||(l?c.to<a:c.from>a))return c;let u=r==no.ByPosNoHeight?no.ByPosNoHeight:no.ByPos;return l?c.join(this.right.lineAt(a,u,n,s,a)):this.left.lineAt(a,u,n,i,o).join(c)}forEachLine(e,r,n,i,o,s){let a=i+this.left.height,l=o+this.left.length+this.break;if(this.break)e<l&&this.left.forEachLine(e,r,n,i,o,s),r>=l&&this.right.forEachLine(e,r,n,a,l,s);else{let c=this.lineAt(l,no.ByPos,n,i,o);e<c.from&&this.left.forEachLine(e,c.from-1,n,i,o,s),c.to>=e&&c.from<=r&&s(c),r>c.to&&this.right.forEachLine(c.to+1,r,n,a,l,s)}}replace(e,r,n){let i=this.left.length+this.break;if(r<i)return this.balanced(this.left.replace(e,r,n),this.right);if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-i,r-i,n));let o=[];e>0&&this.decomposeLeft(e,o);let s=o.length;for(let a of n)o.push(a);if(e>0&&Age(o,s-1),r<this.length){let a=o.length;this.decomposeRight(r,o),Age(o,a)}return vl.of(o)}decomposeLeft(e,r){let n=this.left.length;if(e<=n)return this.left.decomposeLeft(e,r);r.push(this.left),this.break&&(n++,e>=n&&r.push(null)),e>n&&this.right.decomposeLeft(e-n,r)}decomposeRight(e,r){let n=this.left.length,i=n+this.break;if(e>=i)return this.right.decomposeRight(e-i,r);e<n&&this.left.decomposeRight(e,r),this.break&&e<i&&r.push(null),r.push(this.right)}balanced(e,r){return e.size>2*r.size||r.size>2*e.size?vl.of(this.break?[e,null,r]:[e,r]):(this.left=WO(this.left,e),this.right=WO(this.right,r),this.setHeight(e.height+r.height),this.outdated=e.outdated||r.outdated,this.size=e.size+r.size,this.length=e.length+this.break+r.length,this)}updateHeight(e,r=0,n=!1,i){let{left:o,right:s}=this,a=r+o.length+this.break,l=null;return i&&i.from<=r+o.length&&i.more?l=o=o.updateHeight(e,r,n,i):o.updateHeight(e,r,n),i&&i.from<=a+s.length&&i.more?l=s=s.updateHeight(e,a,n,i):s.updateHeight(e,a,n),l?this.balanced(o,s):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function Age(t,e){let r,n;t[e]==null&&(r=t[e-1])instanceof ua&&(n=t[e+1])instanceof ua&&t.splice(e-1,3,new ua(r.length+1+n.length))}const KWt=5;class ate{constructor(e,r){this.pos=e,this.oracle=r,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,r){if(this.lineStart>-1){let n=Math.min(r,this.lineEnd),i=this.nodes[this.nodes.length-1];i instanceof Sc?i.length+=n-this.pos:(n>this.pos||!this.isCovered)&&this.nodes.push(new Sc(n-this.pos,-1)),this.writtenTo=n,r>n&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=r}point(e,r,n){if(e<r||n.heightRelevant){let i=n.widget?n.widget.estimatedHeight:0,o=n.widget?n.widget.lineBreaks:0;i<0&&(i=this.oracle.lineHeight);let s=r-e;n.block?this.addBlock(new UFe(s,i,n)):(s||o||i>=KWt)&&this.addLineDeco(i,o,s)}else r>e&&this.span(e,r);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}enterLine(){if(this.lineStart>-1)return;let{from:e,to:r}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=r,this.writtenTo<e&&((this.writtenTo<e-1||this.nodes[this.nodes.length-1]==null)&&this.nodes.push(this.blankContent(this.writtenTo,e-1)),this.nodes.push(null)),this.pos>e&&this.nodes.push(new Sc(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,r){let n=new ua(r-e);return this.oracle.doc.lineAt(e).to==r&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof Sc)return e;let r=new Sc(0,-1);return this.nodes.push(r),r}addBlock(e){this.enterLine();let r=e.deco;r&&r.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,r&&r.endSide>0&&(this.covering=e)}addLineDeco(e,r,n){let i=this.ensureLine();i.length+=n,i.collapsed+=n,i.widgetHeight=Math.max(i.widgetHeight,e),i.breaks+=r,this.writtenTo=this.pos=this.pos+n}finish(e){let r=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(r instanceof Sc)&&!this.isCovered?this.nodes.push(new Sc(0,-1)):(this.writtenTo<this.pos||r==null)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos));let n=e;for(let i of this.nodes)i instanceof Sc&&i.updateHeight(this.oracle,n),n+=i?i.length:1;return this.nodes}static build(e,r,n,i){let o=new ate(n,e);return ri.spans(r,n,i,o,0),o.finish(n)}}function qWt(t,e,r){let n=new XWt;return ri.compare(t,e,r,n,0),n.changes}class XWt{constructor(){this.changes=[]}compareRange(){}comparePoint(e,r,n,i){(e<r||n&&n.heightRelevant||i&&i.heightRelevant)&&MD(e,r,this.changes,5)}}function YWt(t,e){let r=t.getBoundingClientRect(),n=t.ownerDocument,i=n.defaultView||window,o=Math.max(0,r.left),s=Math.min(i.innerWidth,r.right),a=Math.max(0,r.top),l=Math.min(i.innerHeight,r.bottom);for(let c=t.parentNode;c&&c!=n.body;)if(c.nodeType==1){let u=c,f=window.getComputedStyle(u);if((u.scrollHeight>u.clientHeight||u.scrollWidth>u.clientWidth)&&f.overflow!="visible"){let d=u.getBoundingClientRect();o=Math.max(o,d.left),s=Math.min(s,d.right),a=Math.max(a,d.top),l=Math.min(c==t.parentNode?i.innerHeight:l,d.bottom)}c=f.position=="absolute"||f.position=="fixed"?u.offsetParent:u.parentNode}else if(c.nodeType==11)c=c.host;else break;return{left:o-r.left,right:Math.max(o,s)-r.left,top:a-(r.top+e),bottom:Math.max(a,l)-(r.top+e)}}function JWt(t){let e=t.getBoundingClientRect(),r=t.ownerDocument.defaultView||window;return e.left<r.innerWidth&&e.right>0&&e.top<r.innerHeight&&e.bottom>0}function ZWt(t,e){let r=t.getBoundingClientRect();return{left:0,right:r.right-r.left,top:e,bottom:r.bottom-(r.top+e)}}class cU{constructor(e,r,n,i){this.from=e,this.to=r,this.size=n,this.displaySize=i}static same(e,r){if(e.length!=r.length)return!1;for(let n=0;n<e.length;n++){let i=e[n],o=r[n];if(i.from!=o.from||i.to!=o.to||i.size!=o.size)return!1}return!0}draw(e,r){return _r.replace({widget:new ezt(this.displaySize*(r?e.scaleY:e.scaleX),r)}).range(this.from,this.to)}}class ezt extends Dh{constructor(e,r){super(),this.size=e,this.vertical=r}eq(e){return e.size==this.size&&e.vertical==this.vertical}toDOM(){let e=document.createElement("div");return this.vertical?e.style.height=this.size+"px":(e.style.width=this.size+"px",e.style.height="2px",e.style.display="inline-block"),e}get estimatedHeight(){return this.vertical?this.size:-1}}class hge{constructor(e){this.state=e,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},this.inView=!0,this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,this.editorHeight=0,this.editorWidth=0,this.scrollTop=0,this.scrolledToBottom=!1,this.scaleX=1,this.scaleY=1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=mge,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=ho.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let r=e.facet(nte).some(n=>typeof n!="function"&&n.class=="cm-lineWrapping");this.heightOracle=new GWt(r),this.stateDeco=e.facet(f3).filter(n=>typeof n!="function"),this.heightMap=vl.empty().applyChanges(this.stateDeco,ii.empty,this.heightOracle.setDoc(e.doc),[new Ru(0,0,0,e.doc.length)]);for(let n=0;n<2&&(this.viewport=this.getViewport(0,null),!!this.updateForViewport());n++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=_r.set(this.lineGaps.map(n=>n.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:r}=this.state.selection;for(let n=0;n<=1;n++){let i=n?r.head:r.anchor;if(!e.some(({from:o,to:s})=>i>=o&&i<=s)){let{from:o,to:s}=this.lineBlockAt(i);e.push(new U8(o,s))}}return this.viewports=e.sort((n,i)=>n.from-i.from),this.updateScaler()}updateScaler(){let e=this.scaler;return this.scaler=this.heightMap.height<=7e6?mge:new lte(this.heightOracle,this.heightMap,this.viewports),e.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(Gw(e,this.scaler))})}update(e,r=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=this.state.facet(f3).filter(u=>typeof u!="function");let i=e.changedRanges,o=Ru.extendWithRanges(i,qWt(n,this.stateDeco,e?e.changes:Is.empty(this.state.doc.length))),s=this.heightMap.height,a=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);pge(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),o),(this.heightMap.height!=s||eC)&&(e.flags|=2),a?(this.scrollAnchorPos=e.changes.mapPos(a.from,-1),this.scrollAnchorHeight=a.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=s);let l=o.length?this.mapViewport(this.viewport,e.changes):this.viewport;(r&&(r.range.head<l.from||r.range.head>l.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,r));let c=l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,e.flags|=this.updateForViewport(),(c||!e.changes.empty||e.flags&2)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(e.changes),r&&(this.scrollTarget=r),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(bFe)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let r=e.contentDOM,n=window.getComputedStyle(r),i=this.heightOracle,o=n.whiteSpace;this.defaultTextDirection=n.direction=="rtl"?ho.RTL:ho.LTR;let s=this.heightOracle.mustRefreshForWrapping(o),a=r.getBoundingClientRect(),l=s||this.mustMeasureContent||this.contentDOMHeight!=a.height;this.contentDOMHeight=a.height,this.mustMeasureContent=!1;let c=0,u=0;if(a.width&&a.height){let{scaleX:b,scaleY:B}=qNe(r,a);(b>.005&&Math.abs(this.scaleX-b)>.005||B>.005&&Math.abs(this.scaleY-B)>.005)&&(this.scaleX=b,this.scaleY=B,c|=16,s=l=!0)}let f=(parseInt(n.paddingTop)||0)*this.scaleY,d=(parseInt(n.paddingBottom)||0)*this.scaleY;(this.paddingTop!=f||this.paddingBottom!=d)&&(this.paddingTop=f,this.paddingBottom=d,c|=18),this.editorWidth!=e.scrollDOM.clientWidth&&(i.lineWrapping&&(l=!0),this.editorWidth=e.scrollDOM.clientWidth,c|=16);let p=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=p&&(this.scrollAnchorHeight=-1,this.scrollTop=p),this.scrolledToBottom=JNe(e.scrollDOM);let h=(this.printing?ZWt:YWt)(r,this.paddingTop),A=h.top-this.pixelViewport.top,g=h.bottom-this.pixelViewport.bottom;this.pixelViewport=h;let m=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(m!=this.inView&&(this.inView=m,m&&(l=!0)),!this.inView&&!this.scrollTarget&&!JWt(e.dom))return 0;let v=a.width;if((this.contentDOMWidth!=v||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=a.width,this.editorHeight=e.scrollDOM.clientHeight,c|=16),l){let b=e.docView.measureVisibleLineHeights(this.viewport);if(i.mustRefreshForHeights(b)&&(s=!0),s||i.lineWrapping&&Math.abs(v-this.contentDOMWidth)>i.charWidth){let{lineHeight:B,charWidth:S,textHeight:w}=e.docView.measureTextSize();s=B>0&&i.refresh(o,B,S,w,Math.max(5,v/S),b),s&&(e.docView.minWidth=0,c|=16)}A>0&&g>0?u=Math.max(A,g):A<0&&g<0&&(u=Math.min(A,g)),pge();for(let B of this.viewports){let S=B.from==this.viewport.from?b:e.docView.measureVisibleLineHeights(B);this.heightMap=(s?vl.empty().applyChanges(this.stateDeco,ii.empty,this.heightOracle,[new Ru(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(i,0,s,new WWt(B.from,S))}eC&&(c|=2)}let y=!this.viewportIsAppropriate(this.viewport,u)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return y&&(c&2&&(c|=this.updateScaler()),this.viewport=this.getViewport(u,this.scrollTarget),c|=this.updateForViewport()),(c&2||y)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(s?[]:this.lineGaps,e)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,r){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),i=this.heightMap,o=this.heightOracle,{visibleTop:s,visibleBottom:a}=this,l=new U8(i.lineAt(s-n*1e3,no.ByHeight,o,0,0).from,i.lineAt(a+(1-n)*1e3,no.ByHeight,o,0,0).to);if(r){let{head:c}=r.range;if(c<l.from||c>l.to){let u=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),f=i.lineAt(c,no.ByPos,o,0,0),d;r.y=="center"?d=(f.top+f.bottom)/2-u/2:r.y=="start"||r.y=="nearest"&&c<l.from?d=f.top:d=f.bottom-u,l=new U8(i.lineAt(d-1e3/2,no.ByHeight,o,0,0).from,i.lineAt(d+u+1e3/2,no.ByHeight,o,0,0).to)}}return l}mapViewport(e,r){let n=r.mapPos(e.from,-1),i=r.mapPos(e.to,1);return new U8(this.heightMap.lineAt(n,no.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(i,no.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:e,to:r},n=0){if(!this.inView)return!0;let{top:i}=this.heightMap.lineAt(e,no.ByPos,this.heightOracle,0,0),{bottom:o}=this.heightMap.lineAt(r,no.ByPos,this.heightOracle,0,0),{visibleTop:s,visibleBottom:a}=this;return(e==0||i<=s-Math.max(10,Math.min(-n,250)))&&(r==this.state.doc.length||o>=a+Math.max(10,Math.min(n,250)))&&i>s-2*1e3&&o<a+2*1e3}mapLineGaps(e,r){if(!e.length||r.empty)return e;let n=[];for(let i of e)r.touchesRange(i.from,i.to)||n.push(new cU(r.mapPos(i.from),r.mapPos(i.to),i.size,i.displaySize));return n}ensureLineGaps(e,r){let n=this.heightOracle.lineWrapping,i=n?1e4:2e3,o=i>>1,s=i<<1;if(this.defaultTextDirection!=ho.LTR&&!n)return[];let a=[],l=(u,f,d,p)=>{if(f-u<o)return;let h=this.state.selection.main,A=[h.from];h.empty||A.push(h.to);for(let m of A)if(m>u&&m<f){l(u,m-10,d,p),l(m+10,f,d,p);return}let g=rzt(e,m=>m.from>=d.from&&m.to<=d.to&&Math.abs(m.from-u)<o&&Math.abs(m.to-f)<o&&!A.some(v=>m.from<v&&m.to>v));if(!g){if(f<d.to&&r&&n&&r.visibleRanges.some(y=>y.from<=f&&y.to>=f)){let y=r.moveToLineBoundary(It.cursor(f),!1,!0).head;y>u&&(f=y)}let m=this.gapSize(d,u,f,p),v=n||m<2e6?m:2e6;g=new cU(u,f,m,v)}a.push(g)},c=u=>{if(u.length<s||u.type!=gl.Text)return;let f=tzt(u.from,u.to,this.stateDeco);if(f.total<s)return;let d=this.scrollTarget?this.scrollTarget.range.head:null,p,h;if(n){let A=i/this.heightOracle.lineLength*this.heightOracle.lineHeight,g,m;if(d!=null){let v=V8(f,d),y=((this.visibleBottom-this.visibleTop)/2+A)/u.height;g=v-y,m=v+y}else g=(this.visibleTop-u.top-A)/u.height,m=(this.visibleBottom-u.top+A)/u.height;p=Q8(f,g),h=Q8(f,m)}else{let A=f.total*this.heightOracle.charWidth,g=i*this.heightOracle.charWidth,m=0;if(A>2e6)for(let S of e)S.from>=u.from&&S.from<u.to&&S.size!=S.displaySize&&S.from*this.heightOracle.charWidth+m<this.pixelViewport.left&&(m=S.size-S.displaySize);let v=this.pixelViewport.left+m,y=this.pixelViewport.right+m,b,B;if(d!=null){let S=V8(f,d),w=((y-v)/2+g)/A;b=S-w,B=S+w}else b=(v-g)/A,B=(y+g)/A;p=Q8(f,b),h=Q8(f,B)}p>u.from&&l(u.from,p,u,f),h<u.to&&l(h,u.to,u,f)};for(let u of this.viewportLines)Array.isArray(u.type)?u.type.forEach(c):c(u);return a}gapSize(e,r,n,i){let o=V8(i,n)-V8(i,r);return this.heightOracle.lineWrapping?e.height*o:i.total*this.heightOracle.charWidth*o}updateLineGaps(e){cU.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=_r.set(e.map(r=>r.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(e){let r=this.stateDeco;this.lineGaps.length&&(r=r.concat(this.lineGapDeco));let n=[];ri.spans(r,this.viewport.from,this.viewport.to,{span(o,s){n.push({from:o,to:s})},point(){}},20);let i=0;if(n.length!=this.visibleRanges.length)i=12;else for(let o=0;o<n.length&&!(i&8);o++){let s=this.visibleRanges[o],a=n[o];(s.from!=a.from||s.to!=a.to)&&(i|=4,e&&e.mapPos(s.from,-1)==a.from&&e.mapPos(s.to,1)==a.to||(i|=8))}return this.visibleRanges=n,i}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(r=>r.from<=e&&r.to>=e)||Gw(this.heightMap.lineAt(e,no.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return e>=this.viewportLines[0].top&&e<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(r=>r.top<=e&&r.bottom>=e)||Gw(this.heightMap.lineAt(this.scaler.fromDOM(e),no.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let r=this.lineBlockAtHeight(e+8);return r.from>=this.viewport.from||this.viewportLines[0].top-e>200?r:this.viewportLines[0]}elementAtHeight(e){return Gw(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class U8{constructor(e,r){this.from=e,this.to=r}}function tzt(t,e,r){let n=[],i=t,o=0;return ri.spans(r,t,e,{span(){},point(s,a){s>i&&(n.push({from:i,to:s}),o+=s-i),i=a}},20),i<e&&(n.push({from:i,to:e}),o+=e-i),{total:o,ranges:n}}function Q8({total:t,ranges:e},r){if(r<=0)return e[0].from;if(r>=1)return e[e.length-1].to;let n=Math.floor(t*r);for(let i=0;;i++){let{from:o,to:s}=e[i],a=s-o;if(n<=a)return o+n;n-=a}}function V8(t,e){let r=0;for(let{from:n,to:i}of t.ranges){if(e<=i){r+=e-n;break}r+=i-n}return r/t.total}function rzt(t,e){for(let r of t)if(e(r))return r}const mge={toDOM(t){return t},fromDOM(t){return t},scale:1,eq(t){return t==this}};class lte{constructor(e,r,n){let i=0,o=0,s=0;this.viewports=n.map(({from:a,to:l})=>{let c=r.lineAt(a,no.ByPos,e,0,0).top,u=r.lineAt(l,no.ByPos,e,0,0).bottom;return i+=u-c,{from:a,to:l,top:c,bottom:u,domTop:0,domBottom:0}}),this.scale=(7e6-i)/(r.height-i);for(let a of this.viewports)a.domTop=s+(a.top-o)*this.scale,s=a.domBottom=a.domTop+(a.bottom-a.top),o=a.bottom}toDOM(e){for(let r=0,n=0,i=0;;r++){let o=r<this.viewports.length?this.viewports[r]:null;if(!o||e<o.top)return i+(e-n)*this.scale;if(e<=o.bottom)return o.domTop+(e-o.top);n=o.bottom,i=o.domBottom}}fromDOM(e){for(let r=0,n=0,i=0;;r++){let o=r<this.viewports.length?this.viewports[r]:null;if(!o||e<o.domTop)return n+(e-i)/this.scale;if(e<=o.domBottom)return o.top+(e-o.domTop);n=o.bottom,i=o.domBottom}}eq(e){return e instanceof lte?this.scale==e.scale&&this.viewports.length==e.viewports.length&&this.viewports.every((r,n)=>r.from==e.viewports[n].from&&r.to==e.viewports[n].to):!1}}function Gw(t,e){if(e.scale==1)return t;let r=e.toDOM(t.top),n=e.toDOM(t.bottom);return new tp(t.from,t.length,r,n-r,Array.isArray(t._content)?t._content.map(i=>Gw(i,e)):t._content)}const $8=Cr.define({combine:t=>t.join(" ")}),UK=Cr.define({combine:t=>t.indexOf(!0)>-1}),QK=Dm.newName(),QFe=Dm.newName(),VFe=Dm.newName(),$Fe={"&light":"."+QFe,"&dark":"."+VFe};function VK(t,e,r){return new Dm(e,{finish(n){return/&/.test(n)?n.replace(/&\w*/,i=>{if(i=="&")return t;if(!r||!r[i])throw new RangeError(`Unsupported selector: ${i}`);return r[i]}):t+" "+n}})}const nzt=VK("."+QK,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0,overflowAnchor:"none"},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#ddd"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",zIndex:200},".cm-gutters-before":{insetInlineStart:0},".cm-gutters-after":{insetInlineEnd:0},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",border:"0px solid #ddd","&.cm-gutters-before":{borderRightWidth:"1px"},"&.cm-gutters-after":{borderLeftWidth:"1px"}},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-dialog":{padding:"2px 19px 4px 6px",position:"relative","& label":{fontSize:"80%"}},".cm-dialog-close":{position:"absolute",top:"3px",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",fontSize:"14px",padding:"0"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top",userSelect:"none"},".cm-highlightSpace":{backgroundImage:"radial-gradient(circle at 50% 55%, #aaa 20%, transparent 5%)",backgroundPosition:"center"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20"><path stroke="%23888" stroke-width="1" fill="none" d="M1 10H196L190 5M190 15L196 10M197 4L197 16"/></svg>')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},$Fe),izt={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},uU=vr.ie&&vr.ie_version<=11;class ozt{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new QGt,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(r=>{for(let n of r)this.queue.push(n);(vr.ie&&vr.ie_version<=11||vr.ios&&e.composing)&&r.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&vr.android&&e.constructor.EDIT_CONTEXT!==!1&&!(vr.chrome&&vr.chrome_version<126)&&(this.editContext=new azt(e),e.state.facet(wA)&&(e.contentDOM.editContext=this.editContext.editContext)),uU&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var r;((r=this.view.docView)===null||r===void 0?void 0:r.lastUpdate)<Date.now()-75&&this.onResize()}),this.resizeScroll.observe(e.scrollDOM)),this.addWindowListeners(this.win=e.win),this.start(),typeof IntersectionObserver=="function"&&(this.intersection=new IntersectionObserver(r=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),r.length>0&&r[r.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(r=>{r.length>0&&r[r.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(e){(e.type=="change"||!e.type)&&!e.matches||(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((r,n)=>r!=e[n]))){this.gapIntersection.disconnect();for(let r of e)this.gapIntersection.observe(r);this.gaps=e}}onSelectionChange(e){let r=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,i=this.selectionRange;if(n.state.facet(wA)?n.root.activeElement!=this.dom:!RD(this.dom,i))return;let o=i.anchorNode&&n.docView.nearest(i.anchorNode);if(o&&o.ignoreEvent(e)){r||(this.selectionChanged=!1);return}(vr.ie&&vr.ie_version<=11||vr.android&&vr.chrome)&&!n.state.selection.main.empty&&i.focusNode&&T5(i.focusNode,i.focusOffset,i.anchorNode,i.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,r=u3(e.root);if(!r)return!1;let n=vr.safari&&e.root.nodeType==11&&e.root.activeElement==this.dom&&szt(this.view,r)||r;if(!n||this.selectionRange.eq(n))return!1;let i=RD(this.dom,n);return i&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&$Gt(this.dom,n)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),!1):(this.selectionRange.setRange(n),i&&(this.selectionChanged=!0),!0)}setSelectionRange(e,r){this.selectionRange.set(e.node,e.offset,r.node,r.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let e=0,r=null;for(let n=this.dom;n;)if(n.nodeType==1)!r&&e<this.scrollTargets.length&&this.scrollTargets[e]==n?e++:r||(r=this.scrollTargets.slice(0,e)),r&&r.push(n),n=n.assignedSlot||n.parentNode;else if(n.nodeType==11)n=n.host;else break;if(e<this.scrollTargets.length&&!r&&(r=this.scrollTargets.slice(0,e)),r){for(let n of this.scrollTargets)n.removeEventListener("scroll",this.onScroll);for(let n of this.scrollTargets=r)n.addEventListener("scroll",this.onScroll)}}ignore(e){if(!this.active)return e();try{return this.stop(),e()}finally{this.start(),this.clear()}}start(){this.active||(this.observer.observe(this.dom,izt),uU&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),uU&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(e,r){var n;if(!this.delayedAndroidKey){let i=()=>{let o=this.delayedAndroidKey;o&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=o.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&o.force&&H2(this.dom,o.key,o.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(i)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:r,force:this.lastChange<Date.now()-50||!!(!((n=this.delayedAndroidKey)===null||n===void 0)&&n.force)})}clearDelayedAndroidKey(){this.win.cancelAnimationFrame(this.flushingAndroidKey),this.delayedAndroidKey=null,this.flushingAndroidKey=-1}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame(()=>{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let r=-1,n=-1,i=!1;for(let o of e){let s=this.readMutation(o);s&&(s.typeOver&&(i=!0),r==-1?{from:r,to:n}=s:(r=Math.min(s.from,r),n=Math.max(s.to,n)))}return{from:r,to:n,typeOver:i}}readChange(){let{from:e,to:r,typeOver:n}=this.processRecords(),i=this.selectionChanged&&RD(this.dom,this.selectionRange);if(e<0&&!i)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let o=new wWt(this.view,e,r,n);return this.view.docView.domChanged={newSel:o.newSel?o.newSel.main:null},o}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let r=this.readChange();if(!r)return this.view.requestMeasure(),!1;let n=this.view.state,i=IFe(this.view,r);return this.view.state==n&&(r.domChanged||r.newSel&&!r.newSel.main.eq(this.view.state.selection.main))&&this.view.update([]),i}readMutation(e){let r=this.view.docView.nearest(e.target);if(!r||r.ignoreMutation(e))return null;if(r.markDirty(e.type=="attributes"),e.type=="attributes"&&(r.flags|=4),e.type=="childList"){let n=gge(r,e.previousSibling||e.target.previousSibling,-1),i=gge(r,e.nextSibling||e.target.nextSibling,1);return{from:n?r.posAfter(n):r.posAtStart,to:i?r.posBefore(i):r.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:r.posAtStart,to:r.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}update(e){this.editContext&&(this.editContext.update(e),e.startState.facet(wA)!=e.state.facet(wA)&&(e.view.contentDOM.editContext=e.state.facet(wA)?this.editContext.editContext:null))}destroy(){var e,r,n;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(r=this.gapIntersection)===null||r===void 0||r.disconnect(),(n=this.resizeScroll)===null||n===void 0||n.disconnect();for(let i of this.scrollTargets)i.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}}function gge(t,e,r){for(;e;){let n=Gi.get(e);if(n&&n.parent==t)return n;let i=e.parentNode;e=i!=t.dom?i:r>0?e.nextSibling:e.previousSibling}return null}function vge(t,e){let r=e.startContainer,n=e.startOffset,i=e.endContainer,o=e.endOffset,s=t.docView.domAtPos(t.state.selection.main.anchor);return T5(s.node,s.offset,i,o)&&([r,n,i,o]=[i,o,r,n]),{anchorNode:r,anchorOffset:n,focusNode:i,focusOffset:o}}function szt(t,e){if(e.getComposedRanges){let i=e.getComposedRanges(t.root)[0];if(i)return vge(t,i)}let r=null;function n(i){i.preventDefault(),i.stopImmediatePropagation(),r=i.getTargetRanges()[0]}return t.contentDOM.addEventListener("beforeinput",n,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",n,!0),r?vge(t,r):null}class azt{constructor(e){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.composing=null,this.resetRange(e.state);let r=this.editContext=new window.EditContext({text:e.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,e.state.selection.main.anchor))),selectionEnd:this.toContextPos(e.state.selection.main.head)});this.handlers.textupdate=n=>{let i=e.state.selection.main,{anchor:o,head:s}=i,a=this.toEditorPos(n.updateRangeStart),l=this.toEditorPos(n.updateRangeEnd);e.inputState.composing>=0&&!this.composing&&(this.composing={contextBase:n.updateRangeStart,editorBase:a,drifted:!1});let c={from:a,to:l,insert:ii.of(n.text.split(` `))};if(c.from==this.from&&o<this.from?c.from=o:c.to==this.to&&o>this.to&&(c.to=o),c.from==c.to&&!c.insert.length){let u=It.single(this.toEditorPos(n.selectionStart),this.toEditorPos(n.selectionEnd));u.main.eq(i)||e.dispatch({selection:u,userEvent:"select"});return}if((vr.mac||vr.android)&&c.from==s-1&&/^\. ?$/.test(n.text)&&e.contentDOM.getAttribute("autocorrect")=="off"&&(c={from:a,to:l,insert:ii.of([n.text.replace("."," ")])}),this.pendingContextChange=c,!e.state.readOnly){let u=this.to-this.from+(c.to-c.from+c.insert.length);ste(e,c,It.single(this.toEditorPos(n.selectionStart,u),this.toEditorPos(n.selectionEnd,u)))}this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state))},this.handlers.characterboundsupdate=n=>{let i=[],o=null;for(let s=this.toEditorPos(n.rangeStart),a=this.toEditorPos(n.rangeEnd);s<a;s++){let l=e.coordsForChar(s);o=l&&new DOMRect(l.left,l.top,l.right-l.left,l.bottom-l.top)||o||new DOMRect,i.push(o)}r.updateCharacterBounds(n.rangeStart,i)},this.handlers.textformatupdate=n=>{let i=[];for(let o of n.getTextFormats()){let s=o.underlineStyle,a=o.underlineThickness;if(s!="None"&&a!="None"){let l=this.toEditorPos(o.rangeStart),c=this.toEditorPos(o.rangeEnd);if(l<c){let u=`text-decoration: underline ${s=="Dashed"?"dashed ":s=="Squiggle"?"wavy ":""}${a=="Thin"?1:2}px`;i.push(_r.mark({attributes:{style:u}}).range(l,c))}}}e.dispatch({effects:xFe.of(_r.set(i))})},this.handlers.compositionstart=()=>{e.inputState.composing<0&&(e.inputState.composing=0,e.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{if(e.inputState.composing=-1,e.inputState.compositionFirstChange=null,this.composing){let{drifted:n}=this.composing;this.composing=null,n&&this.reset(e.state)}};for(let n in this.handlers)r.addEventListener(n,this.handlers[n]);this.measureReq={read:n=>{this.editContext.updateControlBounds(n.contentDOM.getBoundingClientRect());let i=u3(n.root);i&&i.rangeCount&&this.editContext.updateSelectionBounds(i.getRangeAt(0).getBoundingClientRect())}}}applyEdits(e){let r=0,n=!1,i=this.pendingContextChange;return e.changes.iterChanges((o,s,a,l,c)=>{if(n)return;let u=c.length-(s-o);if(i&&s>=i.to)if(i.from==o&&i.to==s&&i.insert.eq(c)){i=this.pendingContextChange=null,r+=u,this.to+=u;return}else i=null,this.revertPending(e.state);if(o+=r,s+=r,s<=this.from)this.from+=u,this.to+=u;else if(o<this.to){if(o<this.from||s>this.to||this.to-this.from+c.length>3e4){n=!0;return}this.editContext.updateText(this.toContextPos(o),this.toContextPos(s),c.toString()),this.to+=u}r+=u}),i&&!n&&this.revertPending(e.state),!n}update(e){let r=this.pendingContextChange,n=e.startState.selection.main;this.composing&&(this.composing.drifted||!e.changes.touchesRange(n.from,n.to)&&e.transactions.some(i=>!i.isUserEvent("input.type")&&i.changes.touchesRange(this.from,this.to)))?(this.composing.drifted=!0,this.composing.editorBase=e.changes.mapPos(this.composing.editorBase)):!this.applyEdits(e)||!this.rangeIsValid(e.state)?(this.pendingContextChange=null,this.reset(e.state)):(e.docChanged||e.selectionSet||r)&&this.setSelection(e.state),(e.geometryChanged||e.docChanged||e.selectionSet)&&e.view.requestMeasure(this.measureReq)}resetRange(e){let{head:r}=e.selection.main;this.from=Math.max(0,r-1e4),this.to=Math.min(e.doc.length,r+1e4)}reset(e){this.resetRange(e),this.editContext.updateText(0,this.editContext.text.length,e.doc.sliceString(this.from,this.to)),this.setSelection(e)}revertPending(e){let r=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(r.from),this.toContextPos(r.from+r.insert.length),e.doc.sliceString(r.from,r.to))}setSelection(e){let{main:r}=e.selection,n=this.toContextPos(Math.max(this.from,Math.min(this.to,r.anchor))),i=this.toContextPos(r.head);(this.editContext.selectionStart!=n||this.editContext.selectionEnd!=i)&&this.editContext.updateSelection(n,i)}rangeIsValid(e){let{head:r}=e.selection.main;return!(this.from>0&&r-this.from<500||this.to<e.doc.length&&this.to-r<500||this.to-this.from>1e4*3)}toEditorPos(e,r=this.to-this.from){e=Math.min(e,r);let n=this.composing;return n&&n.drifted?n.editorBase+(e-n.contextBase):e+this.from}toContextPos(e){let r=this.composing;return r&&r.drifted?r.contextBase+(e-r.editorBase):e-this.from}destroy(){for(let e in this.handlers)this.editContext.removeEventListener(e,this.handlers[e])}}class sr{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return!!this.inputState&&this.inputState.composing>0}get compositionStarted(){return!!this.inputState&&this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){var r;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:n}=e;this.dispatchTransactions=e.dispatchTransactions||n&&(i=>i.forEach(o=>n(o,this)))||(i=>this.update(i)),this.dispatch=this.dispatch.bind(this),this._root=e.root||VGt(e.parent)||document,this.viewState=new hge(e.state||qn.create(e)),e.scrollTo&&e.scrollTo.is(M8)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(m2).map(i=>new sU(i));for(let i of this.plugins)i.update(this);this.observer=new ozt(this),this.inputState=new kWt(this),this.inputState.ensureHandlers(this.plugins),this.docView=new Xme(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),!((r=document.fonts)===null||r===void 0)&&r.ready&&document.fonts.ready.then(()=>this.requestMeasure())}dispatch(...e){let r=e.length==1&&e[0]instanceof Ms?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(r,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let r=!1,n=!1,i,o=this.state;for(let d of e){if(d.startState!=o)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");o=d.state}if(this.destroyed){this.viewState.state=o;return}let s=this.hasFocus,a=0,l=null;e.some(d=>d.annotation(MFe))?(this.inputState.notifiedFocused=s,a=1):s!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=s,l=_Fe(o,s),l||(a=1));let c=this.observer.delayedAndroidKey,u=null;if(c?(this.observer.clearDelayedAndroidKey(),u=this.observer.readChange(),(u&&!this.state.doc.eq(o.doc)||!this.state.selection.eq(o.selection))&&(u=null)):this.observer.clear(),o.facet(qn.phrases)!=this.state.facet(qn.phrases))return this.setState(o);i=GO.create(this,o,e),i.flags|=a;let f=this.viewState.scrollTarget;try{this.updateState=2;for(let d of e){if(f&&(f=f.map(d.changes)),d.scrollIntoView){let{main:p}=d.state.selection;f=new G2(p.empty?p:It.cursor(p.head,p.head>p.anchor?-1:1))}for(let p of d.effects)p.is(M8)&&(f=p.value.clip(this.state))}this.viewState.update(i,f),this.bidiCache=zO.update(this.bidiCache,i.changes),i.empty||(this.updatePlugins(i),this.inputState.update(i)),r=this.docView.update(i),this.state.facet($w)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(r,e.some(d=>d.isUserEvent("select.pointer")))}finally{this.updateState=0}if(i.startState.facet($8)!=i.state.facet($8)&&(this.viewState.mustMeasureContent=!0),(r||n||f||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),r&&this.docViewUpdate(),!i.empty)for(let d of this.state.facet(RK))try{d(i)}catch(p){Yl(this.state,p,"update listener")}(l||u)&&Promise.resolve().then(()=>{l&&this.state==l.startState&&this.dispatch(l),u&&!IFe(this,u)&&c.force&&H2(this.contentDOM,c.key,c.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let r=this.hasFocus;try{for(let n of this.plugins)n.destroy(this);this.viewState=new hge(e),this.plugins=e.facet(m2).map(n=>new sU(n)),this.pluginMap.clear();for(let n of this.plugins)n.update(this);this.docView.destroy(),this.docView=new Xme(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}r&&this.focus(),this.requestMeasure()}updatePlugins(e){let r=e.startState.facet(m2),n=e.state.facet(m2);if(r!=n){let i=[];for(let o of n){let s=r.indexOf(o);if(s<0)i.push(new sU(o));else{let a=this.plugins[s];a.mustUpdate=e,i.push(a)}}for(let o of this.plugins)o.mustUpdate!=e&&o.destroy(this);this.plugins=i,this.pluginMap.clear()}else for(let i of this.plugins)i.mustUpdate=e;for(let i=0;i<this.plugins.length;i++)this.plugins[i].update(this);r!=n&&this.inputState.ensureHandlers(this.plugins)}docViewUpdate(){for(let e of this.plugins){let r=e.value;if(r&&r.docViewUpdate)try{r.docViewUpdate(this)}catch(n){Yl(this.state,n,"doc view update listener")}}}measure(e=!0){if(this.destroyed)return;if(this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let r=null,n=this.scrollDOM,i=n.scrollTop*this.scaleY,{scrollAnchorPos:o,scrollAnchorHeight:s}=this.viewState;Math.abs(i-this.viewState.scrollTop)>1&&(s=-1),this.viewState.scrollAnchorHeight=-1;try{for(let a=0;;a++){if(s<0)if(JNe(n))o=-1,s=this.viewState.heightMap.height;else{let p=this.viewState.scrollAnchorAt(i);o=p.from,s=p.top}this.updateState=1;let l=this.viewState.measure(this);if(!l&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(a>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let c=[];l&4||([this.measureRequests,c]=[c,this.measureRequests]);let u=c.map(p=>{try{return p.read(this)}catch(h){return Yl(this.state,h),yge}}),f=GO.create(this,this.state,[]),d=!1;f.flags|=l,r?r.flags|=l:r=f,this.updateState=2,f.empty||(this.updatePlugins(f),this.inputState.update(f),this.updateAttrs(),d=this.docView.update(f),d&&this.docViewUpdate());for(let p=0;p<c.length;p++)if(u[p]!=yge)try{let h=c[p];h.write&&h.write(u[p],this)}catch(h){Yl(this.state,h)}if(d&&this.docView.updateSelection(!0),!f.viewportChanged&&this.measureRequests.length==0){if(this.viewState.editorHeight)if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null,s=-1;continue}else{let h=(o<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(o).top)-s;if(h>1||h<-1){i=i+h,n.scrollTop=i/this.scaleY,s=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(r&&!r.empty)for(let a of this.state.facet(RK))a(r)}get themeClasses(){return QK+" "+(this.state.facet(UK)?VFe:QFe)+" "+this.state.facet($8)}updateAttrs(){let e=Bge(this,SFe,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),r={spellcheck:"false",autocorrect:"off",autocapitalize:"off",writingsuggestions:"false",translate:"no",contenteditable:this.state.facet(wA)?"true":"false",class:"cm-content",style:`${vr.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(r["aria-readonly"]="true"),Bge(this,nte,r);let n=this.observer.ignore(()=>{let i=IK(this.contentDOM,this.contentAttrs,r),o=IK(this.dom,this.editorAttrs,e);return i||o});return this.editorAttrs=e,this.contentAttrs=r,n}showAnnouncements(e){let r=!0;for(let n of e)for(let i of n.effects)if(i.is(sr.announce)){r&&(this.announceDOM.textContent=""),r=!1;let o=this.announceDOM.appendChild(document.createElement("div"));o.textContent=i.value}}mountStyles(){this.styleModules=this.state.facet($w);let e=this.state.facet(sr.cspNonce);Dm.mount(this.root,this.styleModules.concat(nzt).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let r=0;r<this.measureRequests.length;r++)if(this.measureRequests[r].key===e.key){this.measureRequests[r]=e;return}}this.measureRequests.push(e)}}plugin(e){let r=this.pluginMap.get(e);return(r===void 0||r&&r.plugin!=e)&&this.pluginMap.set(e,r=this.plugins.find(n=>n.plugin==e)||null),r&&r.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,r,n){return lU(this,e,tge(this,e,r,n))}moveByGroup(e,r){return lU(this,e,tge(this,e,r,n=>yWt(this,e.head,n)))}visualLineSide(e,r){let n=this.bidiSpans(e),i=this.textDirectionAt(e.from),o=n[r?n.length-1:0];return It.cursor(o.side(r,i)+e.from,o.forward(!r,i)?1:-1)}moveToLineBoundary(e,r,n=!0){return vWt(this,e,r,n)}moveVertically(e,r,n){return lU(this,e,BWt(this,e,r,n))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,r=0){return this.docView.posFromDOM(e,r)}posAtCoords(e,r=!0){return this.readMeasured(),PFe(this,e,r)}coordsAtPos(e,r=1){this.readMeasured();let n=this.docView.coordsAt(e,r);if(!n||n.left==n.right)return n;let i=this.state.doc.lineAt(e),o=this.bidiSpans(i),s=o[_0.find(o,e-i.from,-1,r)];return Lx(n,s.dir==ho.LTR==r>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(CFe)||e<this.viewport.from||e>this.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>lzt)return pFe(e.length);let r=this.textDirectionAt(e.from),n;for(let o of this.bidiCache)if(o.from==e.from&&o.dir==r&&(o.fresh||dFe(o.isolates,n=qme(this,e))))return o.order;n||(n=qme(this,e));let i=rWt(e.text,r,n);return this.bidiCache.push(new zO(e.from,e.to,r,n,!0,i)),i}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||vr.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{XNe(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,r={}){return M8.of(new G2(typeof e=="number"?It.cursor(e):e,r.y,r.x,r.yMargin,r.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:r}=this.scrollDOM,n=this.viewState.scrollAnchorAt(e);return M8.of(new G2(It.cursor(n.from),"start","start",n.top-e,r,!0))}setTabFocusMode(e){e==null?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:typeof e=="boolean"?this.inputState.tabFocusMode=e?0:-1:this.inputState.tabFocusMode!=0&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return Wo.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return Wo.define(()=>({}),{eventObservers:e})}static theme(e,r){let n=Dm.newName(),i=[$8.of(n),$w.of(VK(`.${n}`,e))];return r&&r.dark&&i.push(UK.of(!0)),i}static baseTheme(e){return Iv.lowest($w.of(VK("."+QK,e,$Fe)))}static findFromDOM(e){var r;let n=e.querySelector(".cm-content"),i=n&&Gi.get(n)||Gi.get(e);return((r=i?.rootView)===null||r===void 0?void 0:r.view)||null}}sr.styleModule=$w;sr.inputHandler=yFe;sr.clipboardInputFilter=tte;sr.clipboardOutputFilter=rte;sr.scrollHandler=wFe;sr.focusChangeEffect=BFe;sr.perLineTextDirection=CFe;sr.exceptionSink=vFe;sr.updateListener=RK;sr.editable=wA;sr.mouseSelectionStyle=gFe;sr.dragMovesSelection=mFe;sr.clickAddsSelectionRange=hFe;sr.decorations=f3;sr.outerDecorations=EFe;sr.atomicRanges=ite;sr.bidiIsolatedRanges=DFe;sr.scrollMargins=kFe;sr.darkTheme=UK;sr.cspNonce=Cr.define({combine:t=>t.length?t[0]:""});sr.contentAttributes=nte;sr.editorAttributes=SFe;sr.lineWrapping=sr.contentAttributes.of({class:"cm-lineWrapping"});sr.announce=wn.define();const lzt=4096,yge={};class zO{constructor(e,r,n,i,o,s){this.from=e,this.to=r,this.dir=n,this.isolates=i,this.fresh=o,this.order=s}static update(e,r){if(r.empty&&!e.some(o=>o.fresh))return e;let n=[],i=e.length?e[e.length-1].dir:ho.LTR;for(let o=Math.max(0,e.length-10);o<e.length;o++){let s=e[o];s.dir==i&&!r.touchesRange(s.from,s.to)&&n.push(new zO(r.mapPos(s.from,1),r.mapPos(s.to,-1),s.dir,s.isolates,!1,s.order))}return n}}function Bge(t,e,r){for(let n=t.state.facet(e),i=n.length-1;i>=0;i--){let o=n[i],s=typeof o=="function"?o(t):o;s&&PK(s,r)}return r}const czt=vr.mac?"mac":vr.windows?"win":vr.linux?"linux":"key";function uzt(t,e){const r=t.split(/-(?!$)/);let n=r[r.length-1];n=="Space"&&(n=" ");let i,o,s,a;for(let l=0;l<r.length-1;++l){const c=r[l];if(/^(cmd|meta|m)$/i.test(c))a=!0;else if(/^a(lt)?$/i.test(c))i=!0;else if(/^(c|ctrl|control)$/i.test(c))o=!0;else if(/^s(hift)?$/i.test(c))s=!0;else if(/^mod$/i.test(c))e=="mac"?a=!0:o=!0;else throw new Error("Unrecognized modifier name: "+c)}return i&&(n="Alt-"+n),o&&(n="Ctrl-"+n),a&&(n="Meta-"+n),s&&(n="Shift-"+n),n}function H8(t,e,r){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t),e.metaKey&&(t="Meta-"+t),r!==!1&&e.shiftKey&&(t="Shift-"+t),t}const fzt=Iv.default(sr.domEventHandlers({keydown(t,e){return GFe(HFe(e.state),t,e,"editor")}})),VN=Cr.define({enables:fzt}),Cge=new WeakMap;function HFe(t){let e=t.facet(VN),r=Cge.get(e);return r||Cge.set(e,r=Azt(e.reduce((n,i)=>n.concat(i),[]))),r}function dzt(t,e,r){return GFe(HFe(t.state),e,t,r)}let x0=null;const pzt=4e3;function Azt(t,e=czt){let r=Object.create(null),n=Object.create(null),i=(s,a)=>{let l=n[s];if(l==null)n[s]=a;else if(l!=a)throw new Error("Key binding "+s+" is used both as a regular binding and as a multi-stroke prefix")},o=(s,a,l,c,u)=>{var f,d;let p=r[s]||(r[s]=Object.create(null)),h=a.split(/ (?!$)/).map(m=>uzt(m,e));for(let m=1;m<h.length;m++){let v=h.slice(0,m).join(" ");i(v,!0),p[v]||(p[v]={preventDefault:!0,stopPropagation:!1,run:[y=>{let b=x0={view:y,prefix:v,scope:s};return setTimeout(()=>{x0==b&&(x0=null)},pzt),!0}]})}let A=h.join(" ");i(A,!1);let g=p[A]||(p[A]={preventDefault:!1,stopPropagation:!1,run:((d=(f=p._any)===null||f===void 0?void 0:f.run)===null||d===void 0?void 0:d.slice())||[]});l&&g.run.push(l),c&&(g.preventDefault=!0),u&&(g.stopPropagation=!0)};for(let s of t){let a=s.scope?s.scope.split(" "):["editor"];if(s.any)for(let c of a){let u=r[c]||(r[c]=Object.create(null));u._any||(u._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:f}=s;for(let d in u)u[d].run.push(p=>f(p,$K))}let l=s[e]||s.key;if(l)for(let c of a)o(c,l,s.run,s.preventDefault,s.stopPropagation),s.shift&&o(c,"Shift-"+l,s.shift,s.preventDefault,s.stopPropagation)}return r}let $K=null;function GFe(t,e,r,n){$K=e;let i=MGt(e),o=Wl(i,0),s=ep(o)==i.length&&i!=" ",a="",l=!1,c=!1,u=!1;x0&&x0.view==r&&x0.scope==n&&(a=x0.prefix+" ",FFe.indexOf(e.keyCode)<0&&(c=!0,x0=null));let f=new Set,d=g=>{if(g){for(let m of g.run)if(!f.has(m)&&(f.add(m),m(r)))return g.stopPropagation&&(u=!0),!0;g.preventDefault&&(g.stopPropagation&&(u=!0),c=!0)}return!1},p=t[n],h,A;return p&&(d(p[a+H8(i,e,!s)])?l=!0:s&&(e.altKey||e.metaKey||e.ctrlKey)&&!(vr.windows&&e.ctrlKey&&e.altKey)&&!(vr.mac&&e.altKey&&!e.ctrlKey)&&(h=km[e.keyCode])&&h!=i?(d(p[a+H8(h,e,!0)])||e.shiftKey&&(A=c3[e.keyCode])!=i&&A!=h&&d(p[a+H8(A,e,!1)]))&&(l=!0):s&&e.shiftKey&&d(p[a+H8(i,e,!0)])&&(l=!0),!l&&d(p._any)&&(l=!0)),c&&(l=!0),l&&u&&e.stopPropagation(),$K=null,l}class _x{constructor(e,r,n,i,o){this.className=e,this.left=r,this.top=n,this.width=i,this.height=o}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,r){return r.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,r,n){if(n.empty){let i=e.coordsAtPos(n.head,n.assoc||1);if(!i)return[];let o=WFe(e);return[new _x(r,i.left-o.left,i.top-o.top,null,i.bottom-i.top)]}else return hzt(e,r,n)}}function WFe(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==ho.LTR?e.left:e.right-t.scrollDOM.clientWidth*t.scaleX)-t.scrollDOM.scrollLeft*t.scaleX,top:e.top-t.scrollDOM.scrollTop*t.scaleY}}function bge(t,e,r,n){let i=t.coordsAtPos(e,r*2);if(!i)return n;let o=t.dom.getBoundingClientRect(),s=(i.top+i.bottom)/2,a=t.posAtCoords({x:o.left+1,y:s}),l=t.posAtCoords({x:o.right-1,y:s});return a==null||l==null?n:{from:Math.max(n.from,Math.min(a,l)),to:Math.min(n.to,Math.max(a,l))}}function hzt(t,e,r){if(r.to<=t.viewport.from||r.from>=t.viewport.to)return[];let n=Math.max(r.from,t.viewport.from),i=Math.min(r.to,t.viewport.to),o=t.textDirection==ho.LTR,s=t.contentDOM,a=s.getBoundingClientRect(),l=WFe(t),c=s.querySelector(".cm-line"),u=c&&window.getComputedStyle(c),f=a.left+(u?parseInt(u.paddingLeft)+Math.min(0,parseInt(u.textIndent)):0),d=a.right-(u?parseInt(u.paddingRight):0),p=_K(t,n,1),h=_K(t,i,-1),A=p.type==gl.Text?p:null,g=h.type==gl.Text?h:null;if(A&&(t.lineWrapping||p.widgetLineBreaks)&&(A=bge(t,n,1,A)),g&&(t.lineWrapping||h.widgetLineBreaks)&&(g=bge(t,i,-1,g)),A&&g&&A.from==g.from&&A.to==g.to)return v(y(r.from,r.to,A));{let B=A?y(r.from,null,A):b(p,!1),S=g?y(null,r.to,g):b(h,!0),w=[];return(A||p).to<(g||h).from-(A&&g?1:0)||p.widgetLineBreaks>1&&B.bottom+t.defaultLineHeight/2<S.top?w.push(m(f,B.bottom,d,S.top)):B.bottom<S.top&&t.elementAtHeight((B.bottom+S.top)/2).type==gl.Text&&(B.bottom=S.top=(B.bottom+S.top)/2),v(B).concat(w).concat(v(S))}function m(B,S,w,x){return new _x(e,B-l.left,S-l.top,w-B,x-S)}function v({top:B,bottom:S,horizontal:w}){let x=[];for(let I=0;I<w.length;I+=2)x.push(m(w[I],B,w[I+1],S));return x}function y(B,S,w){let x=1e9,I=-1e9,F=[];function k(M,H,V,j,R){let Q=t.coordsAtPos(M,M==w.to?-2:2),z=t.coordsAtPos(V,V==w.from?2:-2);!Q||!z||(x=Math.min(Q.top,z.top,x),I=Math.max(Q.bottom,z.bottom,I),R==ho.LTR?F.push(o&&H?f:Q.left,o&&j?d:z.right):F.push(!o&&j?f:z.left,!o&&H?d:Q.right))}let O=B??w.from,L=S??w.to;for(let M of t.visibleRanges)if(M.to>O&&M.from<L)for(let H=Math.max(M.from,O),V=Math.min(M.to,L);;){let j=t.state.doc.lineAt(H);for(let R of t.bidiSpans(j)){let Q=R.from+j.from,z=R.to+j.from;if(Q>=V)break;z>H&&k(Math.max(Q,H),B==null&&Q<=O,Math.min(z,V),S==null&&z>=L,R.dir)}if(H=j.to+1,H>=V)break}return F.length==0&&k(O,B==null,L,S==null,t.textDirection),{top:x,bottom:I,horizontal:F}}function b(B,S){let w=a.top+(S?B.top:B.bottom);return{top:w,bottom:w,horizontal:[]}}}function mzt(t,e){return t.constructor==e.constructor&&t.eq(e)}class gzt{constructor(e,r){this.view=e,this.layer=r,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),r.above&&this.dom.classList.add("cm-layer-above"),r.class&&this.dom.classList.add(r.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),r.mount&&r.mount(this.dom,e)}update(e){e.startState.facet(UD)!=e.state.facet(UD)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}docViewUpdate(e){this.layer.updateOnDocViewUpdate!==!1&&e.requestMeasure(this.measureReq)}setOrder(e){let r=0,n=e.facet(UD);for(;r<n.length&&n[r]!=this.layer;)r++;this.dom.style.zIndex=String((this.layer.above?150:-1)-r)}measure(){return this.layer.markers(this.view)}scale(){let{scaleX:e,scaleY:r}=this.view;(e!=this.scaleX||r!=this.scaleY)&&(this.scaleX=e,this.scaleY=r,this.dom.style.transform=`scale(${1/e}, ${1/r})`)}draw(e){if(e.length!=this.drawn.length||e.some((r,n)=>!mzt(r,this.drawn[n]))){let r=this.dom.firstChild,n=0;for(let i of e)i.update&&r&&i.constructor&&this.drawn[n].constructor&&i.update(r,this.drawn[n])?(r=r.nextSibling,n++):this.dom.insertBefore(i.draw(),r);for(;r;){let i=r.nextSibling;r.remove(),r=i}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const UD=Cr.define();function zFe(t){return[Wo.define(e=>new gzt(e,t)),UD.of(t)]}const d3=Cr.define({combine(t){return _p(t,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,r)=>Math.min(e,r),drawRangeCursor:(e,r)=>e||r})}});function KFe(t={}){return[d3.of(t),vzt,yzt,Bzt,bFe.of(!0)]}function qFe(t){return t.startState.facet(d3)!=t.state.facet(d3)}const vzt=zFe({above:!0,markers(t){let{state:e}=t,r=e.facet(d3),n=[];for(let i of e.selection.ranges){let o=i==e.selection.main;if(i.empty||r.drawRangeCursor){let s=o?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",a=i.empty?i:It.cursor(i.head,i.head>i.anchor?-1:1);for(let l of _x.forRange(t,s,a))n.push(l)}}return n},update(t,e){t.transactions.some(n=>n.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let r=qFe(t);return r&&wge(t.state,e),t.docChanged||t.selectionSet||r},mount(t,e){wge(e.state,t)},class:"cm-cursorLayer"});function wge(t,e){e.style.animationDuration=t.facet(d3).cursorBlinkRate+"ms"}const yzt=zFe({above:!1,markers(t){return t.state.selection.ranges.map(e=>e.empty?[]:_x.forRange(t,"cm-selectionBackground",e)).reduce((e,r)=>e.concat(r))},update(t,e){return t.docChanged||t.selectionSet||t.viewportChanged||qFe(t)},class:"cm-selectionLayer"}),Bzt=Iv.highest(sr.theme({".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"},caretColor:"transparent !important"},".cm-content":{caretColor:"transparent !important","& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}})),XFe=wn.define({map(t,e){return t==null?null:e.mapPos(t)}}),Ww=ka.define({create(){return null},update(t,e){return t!=null&&(t=e.changes.mapPos(t)),e.effects.reduce((r,n)=>n.is(XFe)?n.value:r,t)}}),Czt=Wo.fromClass(class{constructor(t){this.view=t,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(t){var e;let r=t.state.field(Ww);r==null?this.cursor!=null&&((e=this.cursor)===null||e===void 0||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(t.startState.field(Ww)!=r||t.docChanged||t.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:t}=this,e=t.state.field(Ww),r=e!=null&&t.coordsAtPos(e);if(!r)return null;let n=t.scrollDOM.getBoundingClientRect();return{left:r.left-n.left+t.scrollDOM.scrollLeft*t.scaleX,top:r.top-n.top+t.scrollDOM.scrollTop*t.scaleY,height:r.bottom-r.top}}drawCursor(t){if(this.cursor){let{scaleX:e,scaleY:r}=this.view;t?(this.cursor.style.left=t.left/e+"px",this.cursor.style.top=t.top/r+"px",this.cursor.style.height=t.height/r+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(t){this.view.state.field(Ww)!=t&&this.view.dispatch({effects:XFe.of(t)})}},{eventObservers:{dragover(t){this.setDropPos(this.view.posAtCoords({x:t.clientX,y:t.clientY}))},dragleave(t){(t.target==this.view.contentDOM||!this.view.contentDOM.contains(t.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function bzt(){return[Ww,Czt]}function xge(t,e,r,n,i){e.lastIndex=0;for(let o=t.iterRange(r,n),s=r,a;!o.next().done;s+=o.value.length)if(!o.lineBreak)for(;a=e.exec(o.value);)i(s+a.index,a)}function wzt(t,e){let r=t.visibleRanges;if(r.length==1&&r[0].from==t.viewport.from&&r[0].to==t.viewport.to)return r;let n=[];for(let{from:i,to:o}of r)i=Math.max(t.state.doc.lineAt(i).from,i-e),o=Math.min(t.state.doc.lineAt(o).to,o+e),n.length&&n[n.length-1].to>=i?n[n.length-1].to=o:n.push({from:i,to:o});return n}class xzt{constructor(e){const{regexp:r,decoration:n,decorate:i,boundary:o,maxLength:s=1e3}=e;if(!r.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=r,i)this.addMatch=(a,l,c,u)=>i(u,c,c+a[0].length,a,l);else if(typeof n=="function")this.addMatch=(a,l,c,u)=>{let f=n(a,l,c);f&&u(c,c+a[0].length,f)};else if(n)this.addMatch=(a,l,c,u)=>u(c,c+a[0].length,n);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=o,this.maxLength=s}createDeco(e){let r=new hh,n=r.add.bind(r);for(let{from:i,to:o}of wzt(e,this.maxLength))xge(e.state.doc,this.regexp,i,o,(s,a)=>this.addMatch(a,e,s,n));return r.finish()}updateDeco(e,r){let n=1e9,i=-1;return e.docChanged&&e.changes.iterChanges((o,s,a,l)=>{l>=e.view.viewport.from&&a<=e.view.viewport.to&&(n=Math.min(a,n),i=Math.max(l,i))}),e.viewportMoved||i-n>1e3?this.createDeco(e.view):i>-1?this.updateRange(e.view,r.map(e.changes),n,i):r}updateRange(e,r,n,i){for(let o of e.visibleRanges){let s=Math.max(o.from,n),a=Math.min(o.to,i);if(a>=s){let l=e.state.doc.lineAt(s),c=l.to<a?e.state.doc.lineAt(a):l,u=Math.max(o.from,l.from),f=Math.min(o.to,c.to);if(this.boundary){for(;s>l.from;s--)if(this.boundary.test(l.text[s-1-l.from])){u=s;break}for(;a<c.to;a++)if(this.boundary.test(c.text[a-c.from])){f=a;break}}let d=[],p,h=(A,g,m)=>d.push(m.range(A,g));if(l==c)for(this.regexp.lastIndex=u-l.from;(p=this.regexp.exec(l.text))&&p.index<f-l.from;)this.addMatch(p,e,p.index+l.from,h);else xge(e.state.doc,this.regexp,u,f,(A,g)=>this.addMatch(g,e,A,h));r=r.update({filterFrom:u,filterTo:f,filter:(A,g)=>A<u||g>f,add:d})}}return r}}const HK=/x/.unicode!=null?"gu":"g",Szt=new RegExp(`[\0-\b --\u2028\u2029\uFEFF-]`,HK),Ezt={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let fU=null;function Dzt(){var t;if(fU==null&&typeof document<"u"&&document.body){let e=document.body.style;fU=((t=e.tabSize)!==null&&t!==void 0?t:e.MozTabSize)!=null}return fU||!1}const QD=Cr.define({combine(t){let e=_p(t,{render:null,specialChars:Szt,addSpecialChars:null});return(e.replaceTabs=!Dzt())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,HK)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,HK)),e}});function kzt(t={}){return[QD.of(t),Ozt()]}let Sge=null;function Ozt(){return Sge||(Sge=Wo.fromClass(class{constructor(t){this.view=t,this.decorations=_r.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(t.state.facet(QD)),this.decorations=this.decorator.createDeco(t)}makeDecorator(t){return new xzt({regexp:t.specialChars,decoration:(e,r,n)=>{let{doc:i}=r.state,o=Wl(e[0],0);if(o==9){let s=i.lineAt(n),a=r.state.tabSize,l=zC(s.text,a,n-s.from);return _r.replace({widget:new Fzt((a-l%a)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[o]||(this.decorationCache[o]=_r.replace({widget:new Nzt(t,o)}))},boundary:t.replaceTabs?void 0:/[^]/})}update(t){let e=t.state.facet(QD);t.startState.facet(QD)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(t.view)):this.decorations=this.decorator.updateDeco(t,this.decorations)}},{decorations:t=>t.decorations}))}const Pzt="•";function Izt(t){return t>=32?Pzt:t==10?"":String.fromCharCode(9216+t)}class Nzt extends Dh{constructor(e,r){super(),this.options=e,this.code=r}eq(e){return e.code==this.code}toDOM(e){let r=Izt(this.code),n=e.state.phrase("Control character")+" "+(Ezt[this.code]||"0x"+this.code.toString(16)),i=this.options.render&&this.options.render(this.code,n,r);if(i)return i;let o=document.createElement("span");return o.textContent=r,o.title=n,o.setAttribute("aria-label",n),o.className="cm-specialChar",o}ignoreEvent(){return!1}}class Fzt extends Dh{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent=" ",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}}function Tzt(){return Rzt}const Lzt=_r.line({class:"cm-activeLine"}),Rzt=Wo.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.docChanged||t.selectionSet)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=-1,r=[];for(let n of t.state.selection.ranges){let i=t.lineBlockAt(n.head);i.from>e&&(r.push(Lzt.range(i.from)),e=i.from)}return _r.set(r)}},{decorations:t=>t.decorations});class Mzt extends Dh{constructor(e){super(),this.content=e}toDOM(e){let r=document.createElement("span");return r.className="cm-placeholder",r.style.pointerEvents="none",r.appendChild(typeof this.content=="string"?document.createTextNode(this.content):typeof this.content=="function"?this.content(e):this.content.cloneNode(!0)),r.setAttribute("aria-hidden","true"),r}coordsAt(e){let r=e.firstChild?YB(e.firstChild):[];if(!r.length)return null;let n=window.getComputedStyle(e.parentNode),i=Lx(r[0],n.direction!="rtl"),o=parseInt(n.lineHeight);return i.bottom-i.top>o*1.5?{left:i.left,right:i.right,top:i.top,bottom:i.top+o}:i}ignoreEvent(){return!1}}function _zt(t){let e=Wo.fromClass(class{constructor(r){this.view=r,this.placeholder=t?_r.set([_r.widget({widget:new Mzt(t),side:1}).range(0)]):_r.none}get decorations(){return this.view.state.doc.length?_r.none:this.placeholder}},{decorations:r=>r.decorations});return typeof t=="string"?[e,sr.contentAttributes.of({"aria-placeholder":t})]:e}const GK=2e3;function jzt(t,e,r){let n=Math.min(e.line,r.line),i=Math.max(e.line,r.line),o=[];if(e.off>GK||r.off>GK||e.col<0||r.col<0){let s=Math.min(e.off,r.off),a=Math.max(e.off,r.off);for(let l=n;l<=i;l++){let c=t.doc.line(l);c.length<=a&&o.push(It.range(c.from+s,c.to+a))}}else{let s=Math.min(e.col,r.col),a=Math.max(e.col,r.col);for(let l=n;l<=i;l++){let c=t.doc.line(l),u=wK(c.text,s,t.tabSize,!0);if(u<0)o.push(It.cursor(c.to));else{let f=wK(c.text,a,t.tabSize);o.push(It.range(c.from+u,c.from+f))}}}return o}function Uzt(t,e){let r=t.coordsAtPos(t.viewport.from);return r?Math.round(Math.abs((r.left-e)/t.defaultCharacterWidth)):-1}function Ege(t,e){let r=t.posAtCoords({x:e.clientX,y:e.clientY},!1),n=t.state.doc.lineAt(r),i=r-n.from,o=i>GK?-1:i==n.length?Uzt(t,e.clientX):zC(n.text,t.state.tabSize,r-n.from);return{line:n.number,col:o,off:i}}function Qzt(t,e){let r=Ege(t,e),n=t.state.selection;return r?{update(i){if(i.docChanged){let o=i.changes.mapPos(i.startState.doc.line(r.line).from),s=i.state.doc.lineAt(o);r={line:s.number,col:r.col,off:Math.min(r.off,s.length)},n=n.map(i.changes)}},get(i,o,s){let a=Ege(t,i);if(!a)return n;let l=jzt(t.state,r,a);return l.length?s?It.create(l.concat(n.ranges)):It.create(l):n}}:null}function Vzt(t){let e=t?.eventFilter||(r=>r.altKey&&r.button==0);return sr.mouseSelectionStyle.of((r,n)=>e(n)?Qzt(r,n):null)}const $zt={Alt:[18,t=>!!t.altKey],Control:[17,t=>!!t.ctrlKey],Shift:[16,t=>!!t.shiftKey],Meta:[91,t=>!!t.metaKey]},Hzt={style:"cursor: crosshair"};function Gzt(t={}){let[e,r]=$zt[t.key||"Alt"],n=Wo.fromClass(class{constructor(i){this.view=i,this.isDown=!1}set(i){this.isDown!=i&&(this.isDown=i,this.view.update([]))}},{eventObservers:{keydown(i){this.set(i.keyCode==e||r(i))},keyup(i){(i.keyCode==e||!r(i))&&this.set(!1)},mousemove(i){this.set(r(i))}}});return[n,sr.contentAttributes.of(i=>{var o;return!((o=i.plugin(n))===null||o===void 0)&&o.isDown?Hzt:null})]}const Aw="-10000px";class YFe{constructor(e,r,n,i){this.facet=r,this.createTooltipView=n,this.removeTooltipView=i,this.input=e.state.facet(r),this.tooltips=this.input.filter(s=>s);let o=null;this.tooltipViews=this.tooltips.map(s=>o=n(s,o))}update(e,r){var n;let i=e.state.facet(this.facet),o=i.filter(l=>l);if(i===this.input){for(let l of this.tooltipViews)l.update&&l.update(e);return!1}let s=[],a=r?[]:null;for(let l=0;l<o.length;l++){let c=o[l],u=-1;if(c){for(let f=0;f<this.tooltips.length;f++){let d=this.tooltips[f];d&&d.create==c.create&&(u=f)}if(u<0)s[l]=this.createTooltipView(c,l?s[l-1]:null),a&&(a[l]=!!c.above);else{let f=s[l]=this.tooltipViews[u];a&&(a[l]=r[u]),f.update&&f.update(e)}}}for(let l of this.tooltipViews)s.indexOf(l)<0&&(this.removeTooltipView(l),(n=l.destroy)===null||n===void 0||n.call(l));return r&&(a.forEach((l,c)=>r[c]=l),r.length=a.length),this.input=i,this.tooltips=o,this.tooltipViews=s,!0}}function Wzt(t){let e=t.dom.ownerDocument.documentElement;return{top:0,left:0,bottom:e.clientHeight,right:e.clientWidth}}const dU=Cr.define({combine:t=>{var e,r,n;return{position:vr.ios?"absolute":((e=t.find(i=>i.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((r=t.find(i=>i.parent))===null||r===void 0?void 0:r.parent)||null,tooltipSpace:((n=t.find(i=>i.tooltipSpace))===null||n===void 0?void 0:n.tooltipSpace)||Wzt}}}),Dge=new WeakMap,cte=Wo.fromClass(class{constructor(t){this.view=t,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=t.state.facet(dU);this.position=e.position,this.parent=e.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new YFe(t,ute,(r,n)=>this.createTooltip(r,n),r=>{this.resizeObserver&&this.resizeObserver.unobserve(r.dom),r.dom.remove()}),this.above=this.manager.tooltips.map(r=>!!r.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(r=>{Date.now()>this.lastTransaction-50&&r.length>0&&r[r.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),t.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let t of this.manager.tooltipViews)this.intersectionObserver.observe(t.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(t,this.above);e&&this.observeIntersection();let r=e||t.geometryChanged,n=t.state.facet(dU);if(n.position!=this.position&&!this.madeAbsolute){this.position=n.position;for(let i of this.manager.tooltipViews)i.dom.style.position=this.position;r=!0}if(n.parent!=this.parent){this.parent&&this.container.remove(),this.parent=n.parent,this.createContainer();for(let i of this.manager.tooltipViews)this.container.appendChild(i.dom);r=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);r&&this.maybeMeasure()}createTooltip(t,e){let r=t.create(this.view),n=e?e.dom:null;if(r.dom.classList.add("cm-tooltip"),t.arrow&&!r.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let i=document.createElement("div");i.className="cm-tooltip-arrow",r.dom.appendChild(i)}return r.dom.style.position=this.position,r.dom.style.top=Aw,r.dom.style.left="0px",this.container.insertBefore(r.dom,n),r.mount&&r.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(r.dom),r}destroy(){var t,e,r;this.view.win.removeEventListener("resize",this.measureSoon);for(let n of this.manager.tooltipViews)n.dom.remove(),(t=n.destroy)===null||t===void 0||t.call(n);this.parent&&this.container.remove(),(e=this.resizeObserver)===null||e===void 0||e.disconnect(),(r=this.intersectionObserver)===null||r===void 0||r.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=1,e=1,r=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:o}=this.manager.tooltipViews[0];if(vr.gecko)r=o.offsetParent!=this.container.ownerDocument.body;else if(o.style.top==Aw&&o.style.left=="0px"){let s=o.getBoundingClientRect();r=Math.abs(s.top+1e4)>1||Math.abs(s.left)>1}}if(r||this.position=="absolute")if(this.parent){let o=this.parent.getBoundingClientRect();o.width&&o.height&&(t=o.width/this.parent.offsetWidth,e=o.height/this.parent.offsetHeight)}else({scaleX:t,scaleY:e}=this.view.viewState);let n=this.view.scrollDOM.getBoundingClientRect(),i=ote(this.view);return{visible:{left:n.left+i.left,top:n.top+i.top,right:n.right-i.right,bottom:n.bottom-i.bottom},parent:this.parent?this.container.getBoundingClientRect():this.view.dom.getBoundingClientRect(),pos:this.manager.tooltips.map((o,s)=>{let a=this.manager.tooltipViews[s];return a.getCoords?a.getCoords(o.pos):this.view.coordsAtPos(o.pos)}),size:this.manager.tooltipViews.map(({dom:o})=>o.getBoundingClientRect()),space:this.view.state.facet(dU).tooltipSpace(this.view),scaleX:t,scaleY:e,makeAbsolute:r}}writeMeasure(t){var e;if(t.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let a of this.manager.tooltipViews)a.dom.style.position="absolute"}let{visible:r,space:n,scaleX:i,scaleY:o}=t,s=[];for(let a=0;a<this.manager.tooltips.length;a++){let l=this.manager.tooltips[a],c=this.manager.tooltipViews[a],{dom:u}=c,f=t.pos[a],d=t.size[a];if(!f||l.clip!==!1&&(f.bottom<=Math.max(r.top,n.top)||f.top>=Math.min(r.bottom,n.bottom)||f.right<Math.max(r.left,n.left)-.1||f.left>Math.min(r.right,n.right)+.1)){u.style.top=Aw;continue}let p=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,h=p?7:0,A=d.right-d.left,g=(e=Dge.get(c))!==null&&e!==void 0?e:d.bottom-d.top,m=c.offset||Kzt,v=this.view.textDirection==ho.LTR,y=d.width>n.right-n.left?v?n.left:n.right-d.width:v?Math.max(n.left,Math.min(f.left-(p?14:0)+m.x,n.right-A)):Math.min(Math.max(n.left,f.left-A+(p?14:0)-m.x),n.right-A),b=this.above[a];!l.strictSide&&(b?f.top-g-h-m.y<n.top:f.bottom+g+h+m.y>n.bottom)&&b==n.bottom-f.bottom>f.top-n.top&&(b=this.above[a]=!b);let B=(b?f.top-n.top:n.bottom-f.bottom)-h;if(B<g&&c.resize!==!1){if(B<this.view.defaultLineHeight){u.style.top=Aw;continue}Dge.set(c,g),u.style.height=(g=B)/o+"px"}else u.style.height&&(u.style.height="");let S=b?f.top-g-h-m.y:f.bottom+h+m.y,w=y+A;if(c.overlap!==!0)for(let x of s)x.left<w&&x.right>y&&x.top<S+g&&x.bottom>S&&(S=b?x.top-g-2-h:x.bottom+h+2);if(this.position=="absolute"?(u.style.top=(S-t.parent.top)/o+"px",kge(u,(y-t.parent.left)/i)):(u.style.top=S/o+"px",kge(u,y/i)),p){let x=f.left+(v?m.x:-m.x)-(y+14-7);p.style.left=x/i+"px"}c.overlap!==!0&&s.push({left:y,top:S,right:w,bottom:S+g}),u.classList.toggle("cm-tooltip-above",b),u.classList.toggle("cm-tooltip-below",!b),c.positioned&&c.positioned(t.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=Aw}},{eventObservers:{scroll(){this.maybeMeasure()}}});function kge(t,e){let r=parseInt(t.style.left,10);(isNaN(r)||Math.abs(e-r)>1)&&(t.style.left=e+"px")}const zzt=sr.baseTheme({".cm-tooltip":{zIndex:500,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),Kzt={x:0,y:0},ute=Cr.define({enables:[cte,zzt]}),KO=Cr.define({combine:t=>t.reduce((e,r)=>e.concat(r),[])});class $N{static create(e){return new $N(e)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new YFe(e,KO,(r,n)=>this.createHostedView(r,n),r=>r.dom.remove())}createHostedView(e,r){let n=e.create(this.view);return n.dom.classList.add("cm-tooltip-section"),this.dom.insertBefore(n.dom,r?r.dom.nextSibling:this.dom.firstChild),this.mounted&&n.mount&&n.mount(this.view),n}mount(e){for(let r of this.manager.tooltipViews)r.mount&&r.mount(e);this.mounted=!0}positioned(e){for(let r of this.manager.tooltipViews)r.positioned&&r.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let r of this.manager.tooltipViews)(e=r.destroy)===null||e===void 0||e.call(r)}passProp(e){let r;for(let n of this.manager.tooltipViews){let i=n[e];if(i!==void 0){if(r===void 0)r=i;else if(r!==i)return}}return r}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}}const qzt=ute.compute([KO],t=>{let e=t.facet(KO);return e.length===0?null:{pos:Math.min(...e.map(r=>r.pos)),end:Math.max(...e.map(r=>{var n;return(n=r.end)!==null&&n!==void 0?n:r.pos})),create:$N.create,above:e[0].above,arrow:e.some(r=>r.arrow)}});class Xzt{constructor(e,r,n,i,o){this.view=e,this.source=r,this.field=n,this.setHover=i,this.hoverTime=o,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active.length)return;let e=Date.now()-this.lastMove.time;e<this.hoverTime?this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime-e):this.startHover()}startHover(){clearTimeout(this.restartTimeout);let{view:e,lastMove:r}=this,n=e.docView.nearest(r.target);if(!n)return;let i,o=1;if(n instanceof M0)i=n.posAtStart;else{if(i=e.posAtCoords(r),i==null)return;let a=e.coordsAtPos(i);if(!a||r.y<a.top||r.y>a.bottom||r.x<a.left-e.defaultCharacterWidth||r.x>a.right+e.defaultCharacterWidth)return;let l=e.bidiSpans(e.state.doc.lineAt(i)).find(u=>u.from<=i&&u.to>=i),c=l&&l.dir==ho.RTL?-1:1;o=r.x<a.left?-c:c}let s=this.source(e,i,o);if(s?.then){let a=this.pending={pos:i};s.then(l=>{this.pending==a&&(this.pending=null,l&&!(Array.isArray(l)&&!l.length)&&e.dispatch({effects:this.setHover.of(Array.isArray(l)?l:[l])}))},l=>Yl(e.state,l,"hover tooltip"))}else s&&!(Array.isArray(s)&&!s.length)&&e.dispatch({effects:this.setHover.of(Array.isArray(s)?s:[s])})}get tooltip(){let e=this.view.plugin(cte),r=e?e.manager.tooltips.findIndex(n=>n.create==$N.create):-1;return r>-1?e.manager.tooltipViews[r]:null}mousemove(e){var r,n;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:i,tooltip:o}=this;if(i.length&&o&&!Yzt(o.dom,e)||this.pending){let{pos:s}=i[0]||this.pending,a=(n=(r=i[0])===null||r===void 0?void 0:r.end)!==null&&n!==void 0?n:s;(s==a?this.view.posAtCoords(this.lastMove)!=s:!Jzt(this.view,s,a,e.clientX,e.clientY))&&(this.view.dispatch({effects:this.setHover.of([])}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:r}=this;if(r.length){let{tooltip:n}=this;n&&n.dom.contains(e.relatedTarget)?this.watchTooltipLeave(n.dom):this.view.dispatch({effects:this.setHover.of([])})}}watchTooltipLeave(e){let r=n=>{e.removeEventListener("mouseleave",r),this.active.length&&!this.view.dom.contains(n.relatedTarget)&&this.view.dispatch({effects:this.setHover.of([])})};e.addEventListener("mouseleave",r)}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}const G8=4;function Yzt(t,e){let{left:r,right:n,top:i,bottom:o}=t.getBoundingClientRect(),s;if(s=t.querySelector(".cm-tooltip-arrow")){let a=s.getBoundingClientRect();i=Math.min(a.top,i),o=Math.max(a.bottom,o)}return e.clientX>=r-G8&&e.clientX<=n+G8&&e.clientY>=i-G8&&e.clientY<=o+G8}function Jzt(t,e,r,n,i,o){let s=t.scrollDOM.getBoundingClientRect(),a=t.documentTop+t.documentPadding.top+t.contentHeight;if(s.left>n||s.right<n||s.top>i||Math.min(s.bottom,a)<i)return!1;let l=t.posAtCoords({x:n,y:i},!1);return l>=e&&l<=r}function Zzt(t,e={}){let r=wn.define(),n=ka.define({create(){return[]},update(i,o){if(i.length&&(e.hideOnChange&&(o.docChanged||o.selection)?i=[]:e.hideOn&&(i=i.filter(s=>!e.hideOn(o,s))),o.docChanged)){let s=[];for(let a of i){let l=o.changes.mapPos(a.pos,-1,dl.TrackDel);if(l!=null){let c=Object.assign(Object.create(null),a);c.pos=l,c.end!=null&&(c.end=o.changes.mapPos(c.end)),s.push(c)}}i=s}for(let s of o.effects)s.is(r)&&(i=s.value),s.is(eKt)&&(i=[]);return i},provide:i=>KO.from(i)});return{active:n,extension:[n,Wo.define(i=>new Xzt(i,t,n,r,e.hoverTime||300)),qzt]}}function JFe(t,e){let r=t.plugin(cte);if(!r)return null;let n=r.manager.tooltips.indexOf(e);return n<0?null:r.manager.tooltipViews[n]}const eKt=wn.define(),Oge=Cr.define({combine(t){let e,r;for(let n of t)e=e||n.topContainer,r=r||n.bottomContainer;return{topContainer:e,bottomContainer:r}}});function p3(t,e){let r=t.plugin(ZFe),n=r?r.specs.indexOf(e):-1;return n>-1?r.panels[n]:null}const ZFe=Wo.fromClass(class{constructor(t){this.input=t.state.facet(A3),this.specs=this.input.filter(r=>r),this.panels=this.specs.map(r=>r(t));let e=t.state.facet(Oge);this.top=new W8(t,!0,e.topContainer),this.bottom=new W8(t,!1,e.bottomContainer),this.top.sync(this.panels.filter(r=>r.top)),this.bottom.sync(this.panels.filter(r=>!r.top));for(let r of this.panels)r.dom.classList.add("cm-panel"),r.mount&&r.mount()}update(t){let e=t.state.facet(Oge);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new W8(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new W8(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let r=t.state.facet(A3);if(r!=this.input){let n=r.filter(l=>l),i=[],o=[],s=[],a=[];for(let l of n){let c=this.specs.indexOf(l),u;c<0?(u=l(t.view),a.push(u)):(u=this.panels[c],u.update&&u.update(t)),i.push(u),(u.top?o:s).push(u)}this.specs=n,this.panels=i,this.top.sync(o),this.bottom.sync(s);for(let l of a)l.dom.classList.add("cm-panel"),l.mount&&l.mount()}else for(let n of this.panels)n.update&&n.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:t=>sr.scrollMargins.of(e=>{let r=e.plugin(t);return r&&{top:r.top.scrollMargin(),bottom:r.bottom.scrollMargin()}})});class W8{constructor(e,r,n){this.view=e,this.top=r,this.container=n,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let r of this.panels)r.destroy&&e.indexOf(r)<0&&r.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let r=this.container||this.view.dom;r.insertBefore(this.dom,this.top?r.firstChild:null)}let e=this.dom.firstChild;for(let r of this.panels)if(r.dom.parentNode==this.dom){for(;e!=r.dom;)e=Pge(e);e=e.nextSibling}else this.dom.insertBefore(r.dom,e);for(;e;)e=Pge(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function Pge(t){let e=t.nextSibling;return t.remove(),e}const A3=Cr.define({enables:ZFe});class gh extends Y1{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}gh.prototype.elementClass="";gh.prototype.toDOM=void 0;gh.prototype.mapMode=dl.TrackBefore;gh.prototype.startSide=gh.prototype.endSide=-1;gh.prototype.point=!0;const VD=Cr.define(),tKt=Cr.define(),rKt={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>ri.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{},side:"before"},R5=Cr.define();function nKt(t){return[eTe(),R5.of({...rKt,...t})]}const WK=Cr.define({combine:t=>t.some(e=>e)});function eTe(t){let e=[iKt];return t&&t.fixed===!1&&e.push(WK.of(!0)),e}const iKt=Wo.fromClass(class{constructor(t){this.view=t,this.domAfter=null,this.prevViewport=t.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters cm-gutters-before",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=t.state.facet(R5).map(e=>new Nge(t,e)),this.fixed=!t.state.facet(WK);for(let e of this.gutters)e.config.side=="after"?this.getDOMAfter().appendChild(e.dom):this.dom.appendChild(e.dom);this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),t.scrollDOM.insertBefore(this.dom,t.contentDOM)}getDOMAfter(){return this.domAfter||(this.domAfter=document.createElement("div"),this.domAfter.className="cm-gutters cm-gutters-after",this.domAfter.setAttribute("aria-hidden","true"),this.domAfter.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.domAfter.style.position=this.fixed?"sticky":"",this.view.scrollDOM.appendChild(this.domAfter)),this.domAfter}update(t){if(this.updateGutters(t)){let e=this.prevViewport,r=t.view.viewport,n=Math.min(e.to,r.to)-Math.max(e.from,r.from);this.syncGutters(n<(r.to-r.from)*.8)}if(t.geometryChanged){let e=this.view.contentHeight/this.view.scaleY+"px";this.dom.style.minHeight=e,this.domAfter&&(this.domAfter.style.minHeight=e)}this.view.state.facet(WK)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":"",this.domAfter&&(this.domAfter.style.position=this.fixed?"sticky":"")),this.prevViewport=t.view.viewport}syncGutters(t){let e=this.dom.nextSibling;t&&(this.dom.remove(),this.domAfter&&this.domAfter.remove());let r=ri.iter(this.view.state.facet(VD),this.view.viewport.from),n=[],i=this.gutters.map(o=>new oKt(o,this.view.viewport,-this.view.documentPadding.top));for(let o of this.view.viewportLineBlocks)if(n.length&&(n=[]),Array.isArray(o.type)){let s=!0;for(let a of o.type)if(a.type==gl.Text&&s){zK(r,n,a.from);for(let l of i)l.line(this.view,a,n);s=!1}else if(a.widget)for(let l of i)l.widget(this.view,a)}else if(o.type==gl.Text){zK(r,n,o.from);for(let s of i)s.line(this.view,o,n)}else if(o.widget)for(let s of i)s.widget(this.view,o);for(let o of i)o.finish();t&&(this.view.scrollDOM.insertBefore(this.dom,e),this.domAfter&&this.view.scrollDOM.appendChild(this.domAfter))}updateGutters(t){let e=t.startState.facet(R5),r=t.state.facet(R5),n=t.docChanged||t.heightChanged||t.viewportChanged||!ri.eq(t.startState.facet(VD),t.state.facet(VD),t.view.viewport.from,t.view.viewport.to);if(e==r)for(let i of this.gutters)i.update(t)&&(n=!0);else{n=!0;let i=[];for(let o of r){let s=e.indexOf(o);s<0?i.push(new Nge(this.view,o)):(this.gutters[s].update(t),i.push(this.gutters[s]))}for(let o of this.gutters)o.dom.remove(),i.indexOf(o)<0&&o.destroy();for(let o of i)o.config.side=="after"?this.getDOMAfter().appendChild(o.dom):this.dom.appendChild(o.dom);this.gutters=i}return n}destroy(){for(let t of this.gutters)t.destroy();this.dom.remove(),this.domAfter&&this.domAfter.remove()}},{provide:t=>sr.scrollMargins.of(e=>{let r=e.plugin(t);if(!r||r.gutters.length==0||!r.fixed)return null;let n=r.dom.offsetWidth*e.scaleX,i=r.domAfter?r.domAfter.offsetWidth*e.scaleX:0;return e.textDirection==ho.LTR?{left:n,right:i}:{right:n,left:i}})});function Ige(t){return Array.isArray(t)?t:[t]}function zK(t,e,r){for(;t.value&&t.from<=r;)t.from==r&&e.push(t.value),t.next()}class oKt{constructor(e,r,n){this.gutter=e,this.height=n,this.i=0,this.cursor=ri.iter(e.markers,r.from)}addElement(e,r,n){let{gutter:i}=this,o=(r.top-this.height)/e.scaleY,s=r.height/e.scaleY;if(this.i==i.elements.length){let a=new tTe(e,s,o,n);i.elements.push(a),i.dom.appendChild(a.dom)}else i.elements[this.i].update(e,s,o,n);this.height=r.bottom,this.i++}line(e,r,n){let i=[];zK(this.cursor,i,r.from),n.length&&(i=i.concat(n));let o=this.gutter.config.lineMarker(e,r,i);o&&i.unshift(o);let s=this.gutter;i.length==0&&!s.config.renderEmptyElements||this.addElement(e,r,i)}widget(e,r){let n=this.gutter.config.widgetMarker(e,r.widget,r),i=n?[n]:null;for(let o of e.state.facet(tKt)){let s=o(e,r.widget,r);s&&(i||(i=[])).push(s)}i&&this.addElement(e,r,i)}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let r=e.elements.pop();e.dom.removeChild(r.dom),r.destroy()}}}class Nge{constructor(e,r){this.view=e,this.config=r,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let n in r.domEventHandlers)this.dom.addEventListener(n,i=>{let o=i.target,s;if(o!=this.dom&&this.dom.contains(o)){for(;o.parentNode!=this.dom;)o=o.parentNode;let l=o.getBoundingClientRect();s=(l.top+l.bottom)/2}else s=i.clientY;let a=e.lineBlockAtHeight(s-e.documentTop);r.domEventHandlers[n](e,a,i)&&i.preventDefault()});this.markers=Ige(r.markers(e)),r.initialSpacer&&(this.spacer=new tTe(e,0,0,[r.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let r=this.markers;if(this.markers=Ige(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let i=this.config.updateSpacer(this.spacer.markers[0],e);i!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[i])}let n=e.view.viewport;return!ri.eq(this.markers,r,n.from,n.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}}class tTe{constructor(e,r,n,i){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,r,n,i)}update(e,r,n,i){this.height!=r&&(this.height=r,this.dom.style.height=r+"px"),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n+"px":""),sKt(this.markers,i)||this.setMarkers(e,i)}setMarkers(e,r){let n="cm-gutterElement",i=this.dom.firstChild;for(let o=0,s=0;;){let a=s,l=o<r.length?r[o++]:null,c=!1;if(l){let u=l.elementClass;u&&(n+=" "+u);for(let f=s;f<this.markers.length;f++)if(this.markers[f].compare(l)){a=f,c=!0;break}}else a=this.markers.length;for(;s<a;){let u=this.markers[s++];if(u.toDOM){u.destroy(i);let f=i.nextSibling;i.remove(),i=f}}if(!l)break;l.toDOM&&(c?i=i.nextSibling:this.dom.insertBefore(l.toDOM(e),i)),c&&s++}this.dom.className=n,this.markers=r}destroy(){this.setMarkers(null,[])}}function sKt(t,e){if(t.length!=e.length)return!1;for(let r=0;r<t.length;r++)if(!t[r].compare(e[r]))return!1;return!0}const aKt=Cr.define(),lKt=Cr.define(),g2=Cr.define({combine(t){return _p(t,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(e,r){let n=Object.assign({},e);for(let i in r){let o=n[i],s=r[i];n[i]=o?(a,l,c)=>o(a,l,c)||s(a,l,c):s}return n}})}});class pU extends gh{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function AU(t,e){return t.state.facet(g2).formatNumber(e,t.state)}const cKt=R5.compute([g2],t=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(aKt)},lineMarker(e,r,n){return n.some(i=>i.toDOM)?null:new pU(AU(e,e.state.doc.lineAt(r.from).number))},widgetMarker:(e,r,n)=>{for(let i of e.state.facet(lKt)){let o=i(e,r,n);if(o)return o}return null},lineMarkerChange:e=>e.startState.facet(g2)!=e.state.facet(g2),initialSpacer(e){return new pU(AU(e,Fge(e.state.doc.lines)))},updateSpacer(e,r){let n=AU(r.view,Fge(r.view.state.doc.lines));return n==e.number?e:new pU(n)},domEventHandlers:t.facet(g2).domEventHandlers,side:"before"}));function uKt(t={}){return[g2.of(t),eTe(),cKt]}function Fge(t){let e=9;for(;e<t;)e=e*10+9;return e}const fKt=new class extends gh{constructor(){super(...arguments),this.elementClass="cm-activeLineGutter"}},dKt=VD.compute(["selection"],t=>{let e=[],r=-1;for(let n of t.selection.ranges){let i=t.doc.lineAt(n.head).from;i>r&&(r=i,e.push(fKt.range(i)))}return ri.of(e)});function pKt(){return dKt}const rTe=1024;let AKt=0,hU=class{constructor(e,r){this.from=e,this.to=r}};class Mn{constructor(e={}){this.id=AKt++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=cc.match(e)),r=>{let n=e(r);return n===void 0?null:[this,n]}}}Mn.closedBy=new Mn({deserialize:t=>t.split(" ")});Mn.openedBy=new Mn({deserialize:t=>t.split(" ")});Mn.group=new Mn({deserialize:t=>t.split(" ")});Mn.isolate=new Mn({deserialize:t=>{if(t&&t!="rtl"&&t!="ltr"&&t!="auto")throw new RangeError("Invalid value for isolate: "+t);return t||"auto"}});Mn.contextHash=new Mn({perNode:!0});Mn.lookAhead=new Mn({perNode:!0});Mn.mounted=new Mn({perNode:!0});class qO{constructor(e,r,n){this.tree=e,this.overlay=r,this.parser=n}static get(e){return e&&e.props&&e.props[Mn.mounted.id]}}const hKt=Object.create(null);class cc{constructor(e,r,n,i=0){this.name=e,this.props=r,this.id=n,this.flags=i}static define(e){let r=e.props&&e.props.length?Object.create(null):hKt,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),i=new cc(e.name||"",r,e.id,n);if(e.props){for(let o of e.props)if(Array.isArray(o)||(o=o(i)),o){if(o[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");r[o[0].id]=o[1]}}return i}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let r=this.prop(Mn.group);return r?r.indexOf(e)>-1:!1}return this.id==e}static match(e){let r=Object.create(null);for(let n in e)for(let i of n.split(" "))r[i]=e[n];return n=>{for(let i=n.prop(Mn.group),o=-1;o<(i?i.length:0);o++){let s=r[o<0?n.name:i[o]];if(s)return s}}}}cc.none=new cc("",Object.create(null),0,8);class fte{constructor(e){this.types=e;for(let r=0;r<e.length;r++)if(e[r].id!=r)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let r=[];for(let n of this.types){let i=null;for(let o of e){let s=o(n);s&&(i||(i=Object.assign({},n.props)),i[s[0].id]=s[1])}r.push(i?new cc(n.name,i,n.id,n.flags):n)}return new fte(r)}}const z8=new WeakMap,Tge=new WeakMap;var Fs;(function(t){t[t.ExcludeBuffers=1]="ExcludeBuffers",t[t.IncludeAnonymous=2]="IncludeAnonymous",t[t.IgnoreMounts=4]="IgnoreMounts",t[t.IgnoreOverlays=8]="IgnoreOverlays"})(Fs||(Fs={}));class Cs{constructor(e,r,n,i,o){if(this.type=e,this.children=r,this.positions=n,this.length=i,this.props=null,o&&o.length){this.props=Object.create(null);for(let[s,a]of o)this.props[typeof s=="number"?s:s.id]=a}}toString(){let e=qO.get(this);if(e&&!e.overlay)return e.tree.toString();let r="";for(let n of this.children){let i=n.toString();i&&(r&&(r+=","),r+=i)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(r.length?"("+r+")":""):r}cursor(e=0){return new qK(this.topNode,e)}cursorAt(e,r=0,n=0){let i=z8.get(this)||this.topNode,o=new qK(i);return o.moveTo(e,r),z8.set(this,o._tree),o}get topNode(){return new ic(this,0,0,null)}resolve(e,r=0){let n=h3(z8.get(this)||this.topNode,e,r,!1);return z8.set(this,n),n}resolveInner(e,r=0){let n=h3(Tge.get(this)||this.topNode,e,r,!0);return Tge.set(this,n),n}resolveStack(e,r=0){return vKt(this,e,r)}iterate(e){let{enter:r,leave:n,from:i=0,to:o=this.length}=e,s=e.mode||0,a=(s&Fs.IncludeAnonymous)>0;for(let l=this.cursor(s|Fs.IncludeAnonymous);;){let c=!1;if(l.from<=o&&l.to>=i&&(!a&&l.type.isAnonymous||r(l)!==!1)){if(l.firstChild())continue;c=!0}for(;c&&n&&(a||!l.type.isAnonymous)&&n(l),!l.nextSibling();){if(!l.parent())return;c=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let r in this.props)e.push([+r,this.props[r]]);return e}balance(e={}){return this.children.length<=8?this:Ate(cc.none,this.children,this.positions,0,this.children.length,0,this.length,(r,n,i)=>new Cs(this.type,r,n,i,this.propValues),e.makeTree||((r,n,i)=>new Cs(cc.none,r,n,i)))}static build(e){return yKt(e)}}Cs.empty=new Cs(cc.none,[],[],0);class dte{constructor(e,r){this.buffer=e,this.index=r}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new dte(this.buffer,this.index)}}class Pm{constructor(e,r,n){this.buffer=e,this.length=r,this.set=n}get type(){return cc.none}toString(){let e=[];for(let r=0;r<this.buffer.length;)e.push(this.childString(r)),r=this.buffer[r+3];return e.join(",")}childString(e){let r=this.buffer[e],n=this.buffer[e+3],i=this.set.types[r],o=i.name;if(/\W/.test(o)&&!i.isError&&(o=JSON.stringify(o)),e+=4,n==e)return o;let s=[];for(;e<n;)s.push(this.childString(e)),e=this.buffer[e+3];return o+"("+s.join(",")+")"}findChild(e,r,n,i,o){let{buffer:s}=this,a=-1;for(let l=e;l!=r&&!(nTe(o,i,s[l+1],s[l+2])&&(a=l,n>0));l=s[l+3]);return a}slice(e,r,n){let i=this.buffer,o=new Uint16Array(r-e),s=0;for(let a=e,l=0;a<r;){o[l++]=i[a++],o[l++]=i[a++]-n;let c=o[l++]=i[a++]-n;o[l++]=i[a++]-e,s=Math.max(s,c)}return new Pm(o,s,this.set)}}function nTe(t,e,r,n){switch(t){case-2:return r<e;case-1:return n>=e&&r<e;case 0:return r<e&&n>e;case 1:return r<=e&&n>e;case 2:return n>e;case 4:return!0}}function h3(t,e,r,n){for(var i;t.from==t.to||(r<1?t.from>=e:t.from>e)||(r>-1?t.to<=e:t.to<e);){let s=!n&&t instanceof ic&&t.index<0?null:t.parent;if(!s)return t;t=s}let o=n?0:Fs.IgnoreOverlays;if(n)for(let s=t,a=s.parent;a;s=a,a=s.parent)s instanceof ic&&s.index<0&&((i=a.enter(e,r,o))===null||i===void 0?void 0:i.from)!=s.from&&(t=a);for(;;){let s=t.enter(e,r,o);if(!s)return t;t=s}}class iTe{cursor(e=0){return new qK(this,e)}getChild(e,r=null,n=null){let i=Lge(this,e,r,n);return i.length?i[0]:null}getChildren(e,r=null,n=null){return Lge(this,e,r,n)}resolve(e,r=0){return h3(this,e,r,!1)}resolveInner(e,r=0){return h3(this,e,r,!0)}matchContext(e){return KK(this.parent,e)}enterUnfinishedNodesBefore(e){let r=this.childBefore(e),n=this;for(;r;){let i=r.lastChild;if(!i||i.to!=r.to)break;i.type.isError&&i.from==i.to?(n=r,r=i.prevSibling):r=i}return n}get node(){return this}get next(){return this.parent}}class ic extends iTe{constructor(e,r,n,i){super(),this._tree=e,this.from=r,this.index=n,this._parent=i}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,r,n,i,o=0){for(let s=this;;){for(let{children:a,positions:l}=s._tree,c=r>0?a.length:-1;e!=c;e+=r){let u=a[e],f=l[e]+s.from;if(nTe(i,n,f,f+u.length)){if(u instanceof Pm){if(o&Fs.ExcludeBuffers)continue;let d=u.findChild(0,u.buffer.length,r,n-f,i);if(d>-1)return new lp(new mKt(s,u,e,f),null,d)}else if(o&Fs.IncludeAnonymous||!u.type.isAnonymous||pte(u)){let d;if(!(o&Fs.IgnoreMounts)&&(d=qO.get(u))&&!d.overlay)return new ic(d.tree,f,e,s);let p=new ic(u,f,e,s);return o&Fs.IncludeAnonymous||!p.type.isAnonymous?p:p.nextChild(r<0?u.children.length-1:0,r,n,i)}}}if(o&Fs.IncludeAnonymous||!s.type.isAnonymous||(s.index>=0?e=s.index+r:e=r<0?-1:s._parent._tree.children.length,s=s._parent,!s))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,r,n=0){let i;if(!(n&Fs.IgnoreOverlays)&&(i=qO.get(this._tree))&&i.overlay){let o=e-this.from;for(let{from:s,to:a}of i.overlay)if((r>0?s<=o:s<o)&&(r<0?a>=o:a>o))return new ic(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,r,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function Lge(t,e,r,n){let i=t.cursor(),o=[];if(!i.firstChild())return o;if(r!=null){for(let s=!1;!s;)if(s=i.type.is(r),!i.nextSibling())return o}for(;;){if(n!=null&&i.type.is(n))return o;if(i.type.is(e)&&o.push(i.node),!i.nextSibling())return n==null?o:[]}}function KK(t,e,r=e.length-1){for(let n=t;r>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(e[r]&&e[r]!=n.name)return!1;r--}}return!0}class mKt{constructor(e,r,n,i){this.parent=e,this.buffer=r,this.index=n,this.start=i}}class lp extends iTe{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,r,n){super(),this.context=e,this._parent=r,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,r,n){let{buffer:i}=this.context,o=i.findChild(this.index+4,i.buffer[this.index+3],e,r-this.context.start,n);return o<0?null:new lp(this.context,this,o)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,r,n=0){if(n&Fs.ExcludeBuffers)return null;let{buffer:i}=this.context,o=i.findChild(this.index+4,i.buffer[this.index+3],r>0?1:-1,e-this.context.start,r);return o<0?null:new lp(this.context,this,o)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,r=e.buffer[this.index+3];return r<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new lp(this.context,this._parent,r):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,r=this._parent?this._parent.index+4:0;return this.index==r?this.externalSibling(-1):new lp(this.context,this._parent,e.findChild(r,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],r=[],{buffer:n}=this.context,i=this.index+4,o=n.buffer[this.index+3];if(o>i){let s=n.buffer[this.index+1];e.push(n.slice(i,o,s)),r.push(0)}return new Cs(this.type,e,r,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function oTe(t){if(!t.length)return null;let e=0,r=t[0];for(let o=1;o<t.length;o++){let s=t[o];(s.from>r.from||s.to<r.to)&&(r=s,e=o)}let n=r instanceof ic&&r.index<0?null:r.parent,i=t.slice();return n?i[e]=n:i.splice(e,1),new gKt(i,r)}class gKt{constructor(e,r){this.heads=e,this.node=r}get next(){return oTe(this.heads)}}function vKt(t,e,r){let n=t.resolveInner(e,r),i=null;for(let o=n instanceof ic?n:n.context.parent;o;o=o.parent)if(o.index<0){let s=o.parent;(i||(i=[n])).push(s.resolve(e,r)),o=s}else{let s=qO.get(o.tree);if(s&&s.overlay&&s.overlay[0].from<=e&&s.overlay[s.overlay.length-1].to>=e){let a=new ic(s.tree,s.overlay[0].from+o.from,-1,o);(i||(i=[n])).push(h3(a,e,r,!1))}}return i?oTe(i):n}class qK{get name(){return this.type.name}constructor(e,r=0){if(this.mode=r,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof ic)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,r){this.index=e;let{start:n,buffer:i}=this.buffer;return this.type=r||i.set.types[i.buffer[e]],this.from=n+i.buffer[e+1],this.to=n+i.buffer[e+2],!0}yield(e){return e?e instanceof ic?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,r,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,r,n,this.mode));let{buffer:i}=this.buffer,o=i.findChild(this.index+4,i.buffer[this.index+3],e,r-this.buffer.start,n);return o<0?!1:(this.stack.push(this.index),this.yieldBuf(o))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,r,n=this.mode){return this.buffer?n&Fs.ExcludeBuffers?!1:this.enterChild(1,e,r):this.yield(this._tree.enter(e,r,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Fs.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&Fs.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:r}=this.buffer,n=this.stack.length-1;if(e<0){let i=n<0?0:this.stack[n]+4;if(this.index!=i)return this.yieldBuf(r.findChild(i,this.index,-1,0,4))}else{let i=r.buffer[this.index+3];if(i<(n<0?r.buffer.length:r.buffer[this.stack[n]+3]))return this.yieldBuf(i)}return n<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let r,n,{buffer:i}=this;if(i){if(e>0){if(this.index<i.buffer.buffer.length)return!1}else for(let o=0;o<this.index;o++)if(i.buffer.buffer[o+3]<this.index)return!1;({index:r,parent:n}=i)}else({index:r,_parent:n}=this._tree);for(;n;{index:r,_parent:n}=n)if(r>-1)for(let o=r+e,s=e<0?-1:n._tree.children.length;o!=s;o+=e){let a=n._tree.children[o];if(this.mode&Fs.IncludeAnonymous||a instanceof Pm||!a.type.isAnonymous||pte(a))return!1}return!0}move(e,r){if(r&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,r=0){for(;(this.from==this.to||(r<1?this.from>=e:this.from>e)||(r>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,r););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,r=null,n=0;if(e&&e.context==this.buffer)e:for(let i=this.index,o=this.stack.length;o>=0;){for(let s=e;s;s=s._parent)if(s.index==i){if(i==this.index)return s;r=s,n=o+1;break e}i=this.stack[--o]}for(let i=n;i<this.stack.length;i++)r=new lp(this.buffer,r,this.stack[i]);return this.bufferNode=new lp(this.buffer,r,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,r){for(let n=0;;){let i=!1;if(this.type.isAnonymous||e(this)!==!1){if(this.firstChild()){n++;continue}this.type.isAnonymous||(i=!0)}for(;;){if(i&&r&&r(this),i=this.type.isAnonymous,!n)return;if(this.nextSibling())break;this.parent(),n--,i=!0}}}matchContext(e){if(!this.buffer)return KK(this.node.parent,e);let{buffer:r}=this.buffer,{types:n}=r.set;for(let i=e.length-1,o=this.stack.length-1;i>=0;o--){if(o<0)return KK(this._tree,e,i);let s=n[r.buffer[this.stack[o]]];if(!s.isAnonymous){if(e[i]&&e[i]!=s.name)return!1;i--}}return!0}}function pte(t){return t.children.some(e=>e instanceof Pm||!e.type.isAnonymous||pte(e))}function yKt(t){var e;let{buffer:r,nodeSet:n,maxBufferLength:i=rTe,reused:o=[],minRepeatType:s=n.types.length}=t,a=Array.isArray(r)?new dte(r,r.length):r,l=n.types,c=0,u=0;function f(B,S,w,x,I,F){let{id:k,start:O,end:L,size:M}=a,H=u,V=c;for(;M<0;)if(a.next(),M==-1){let X=o[k];w.push(X),x.push(O-B);return}else if(M==-3){c=k;return}else if(M==-4){u=k;return}else throw new RangeError(`Unrecognized record size: ${M}`);let j=l[k],R,Q,z=O-B;if(L-O<=i&&(Q=g(a.pos-S,I))){let X=new Uint16Array(Q.size-Q.skip),_=a.pos-Q.size,G=X.length;for(;a.pos>_;)G=m(Q.start,X,G);R=new Pm(X,L-Q.start,n),z=Q.start-B}else{let X=a.pos-M;a.next();let _=[],G=[],W=k>=s?k:-1,J=0,ee=L;for(;a.pos>X;)W>=0&&a.id==W&&a.size>=0?(a.end<=ee-i&&(h(_,G,O,J,a.end,ee,W,H,V),J=_.length,ee=a.end),a.next()):F>2500?d(O,X,_,G):f(O,X,_,G,W,F+1);if(W>=0&&J>0&&J<_.length&&h(_,G,O,J,O,ee,W,H,V),_.reverse(),G.reverse(),W>-1&&J>0){let q=p(j,V);R=Ate(j,_,G,0,_.length,0,L-O,q,q)}else R=A(j,_,G,L-O,H-L,V)}w.push(R),x.push(z)}function d(B,S,w,x){let I=[],F=0,k=-1;for(;a.pos>S;){let{id:O,start:L,end:M,size:H}=a;if(H>4)a.next();else{if(k>-1&&L<k)break;k<0&&(k=M-i),I.push(O,L,M),F++,a.next()}}if(F){let O=new Uint16Array(F*4),L=I[I.length-2];for(let M=I.length-3,H=0;M>=0;M-=3)O[H++]=I[M],O[H++]=I[M+1]-L,O[H++]=I[M+2]-L,O[H++]=H;w.push(new Pm(O,I[2]-L,n)),x.push(L-B)}}function p(B,S){return(w,x,I)=>{let F=0,k=w.length-1,O,L;if(k>=0&&(O=w[k])instanceof Cs){if(!k&&O.type==B&&O.length==I)return O;(L=O.prop(Mn.lookAhead))&&(F=x[k]+O.length+L)}return A(B,w,x,I,F,S)}}function h(B,S,w,x,I,F,k,O,L){let M=[],H=[];for(;B.length>x;)M.push(B.pop()),H.push(S.pop()+w-I);B.push(A(n.types[k],M,H,F-I,O-F,L)),S.push(I-w)}function A(B,S,w,x,I,F,k){if(F){let O=[Mn.contextHash,F];k=k?[O].concat(k):[O]}if(I>25){let O=[Mn.lookAhead,I];k=k?[O].concat(k):[O]}return new Cs(B,S,w,x,k)}function g(B,S){let w=a.fork(),x=0,I=0,F=0,k=w.end-i,O={size:0,start:0,skip:0};e:for(let L=w.pos-B;w.pos>L;){let M=w.size;if(w.id==S&&M>=0){O.size=x,O.start=I,O.skip=F,F+=4,x+=4,w.next();continue}let H=w.pos-M;if(M<0||H<L||w.start<k)break;let V=w.id>=s?4:0,j=w.start;for(w.next();w.pos>H;){if(w.size<0)if(w.size==-3)V+=4;else break e;else w.id>=s&&(V+=4);w.next()}I=j,x+=M,F+=V}return(S<0||x==B)&&(O.size=x,O.start=I,O.skip=F),O.size>4?O:void 0}function m(B,S,w){let{id:x,start:I,end:F,size:k}=a;if(a.next(),k>=0&&x<s){let O=w;if(k>4){let L=a.pos-(k-4);for(;a.pos>L;)w=m(B,S,w)}S[--w]=O,S[--w]=F-B,S[--w]=I-B,S[--w]=x}else k==-3?c=x:k==-4&&(u=x);return w}let v=[],y=[];for(;a.pos>0;)f(t.start||0,t.bufferStart||0,v,y,-1,0);let b=(e=t.length)!==null&&e!==void 0?e:v.length?y[0]+v[0].length:0;return new Cs(l[t.topID],v.reverse(),y.reverse(),b)}const Rge=new WeakMap;function $D(t,e){if(!t.isAnonymous||e instanceof Pm||e.type!=t)return 1;let r=Rge.get(e);if(r==null){r=1;for(let n of e.children){if(n.type!=t||!(n instanceof Cs)){r=1;break}r+=$D(t,n)}Rge.set(e,r)}return r}function Ate(t,e,r,n,i,o,s,a,l){let c=0;for(let h=n;h<i;h++)c+=$D(t,e[h]);let u=Math.ceil(c*1.5/8),f=[],d=[];function p(h,A,g,m,v){for(let y=g;y<m;){let b=y,B=A[y],S=$D(t,h[y]);for(y++;y<m;y++){let w=$D(t,h[y]);if(S+w>=u)break;S+=w}if(y==b+1){if(S>u){let w=h[b];p(w.children,w.positions,0,w.children.length,A[b]+v);continue}f.push(h[b])}else{let w=A[y-1]+h[y-1].length-B;f.push(Ate(t,h,A,b,y,B,w,null,l))}d.push(B+v-o)}}return p(e,r,n,i,0),(a||l)(f,d,s)}class BKt{constructor(){this.map=new WeakMap}setBuffer(e,r,n){let i=this.map.get(e);i||this.map.set(e,i=new Map),i.set(r,n)}getBuffer(e,r){let n=this.map.get(e);return n&&n.get(r)}set(e,r){e instanceof lp?this.setBuffer(e.context.buffer,e.index,r):e instanceof ic&&this.map.set(e.tree,r)}get(e){return e instanceof lp?this.getBuffer(e.context.buffer,e.index):e instanceof ic?this.map.get(e.tree):void 0}cursorSet(e,r){e.buffer?this.setBuffer(e.buffer.buffer,e.index,r):this.map.set(e.tree,r)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class E1{constructor(e,r,n,i,o=!1,s=!1){this.from=e,this.to=r,this.tree=n,this.offset=i,this.open=(o?1:0)|(s?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,r=[],n=!1){let i=[new E1(0,e.length,e,0,!1,n)];for(let o of r)o.to>e.length&&i.push(o);return i}static applyChanges(e,r,n=128){if(!r.length)return e;let i=[],o=1,s=e.length?e[0]:null;for(let a=0,l=0,c=0;;a++){let u=a<r.length?r[a]:null,f=u?u.fromA:1e9;if(f-l>=n)for(;s&&s.from<f;){let d=s;if(l>=d.from||f<=d.to||c){let p=Math.max(d.from,l)-c,h=Math.min(d.to,f)-c;d=p>=h?null:new E1(p,h,d.tree,d.offset+c,a>0,!!u)}if(d&&i.push(d),s.to>f)break;s=o<e.length?e[o++]:null}if(!u)break;l=u.toA,c=u.toA-u.toB}return i}}let sTe=class{startParse(e,r,n){return typeof e=="string"&&(e=new CKt(e)),n=n?n.length?n.map(i=>new hU(i.from,i.to)):[new hU(0,0)]:[new hU(0,e.length)],this.createParse(e,r||[],n)}parse(e,r,n){let i=this.startParse(e,r,n);for(;;){let o=i.advance();if(o)return o}}};class CKt{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,r){return this.string.slice(e,r)}}new Mn({perNode:!0});let bKt=0;class Bu{constructor(e,r,n,i){this.name=e,this.set=r,this.base=n,this.modified=i,this.id=bKt++}toString(){let{name:e}=this;for(let r of this.modified)r.name&&(e=`${r.name}(${e})`);return e}static define(e,r){let n=typeof e=="string"?e:"?";if(e instanceof Bu&&(r=e),r?.base)throw new Error("Can not derive from a modified tag");let i=new Bu(n,[],null,[]);if(i.set.push(i),r)for(let o of r.set)i.set.push(o);return i}static defineModifier(e){let r=new XO(e);return n=>n.modified.indexOf(r)>-1?n:XO.get(n.base||n,n.modified.concat(r).sort((i,o)=>i.id-o.id))}}let wKt=0;class XO{constructor(e){this.name=e,this.instances=[],this.id=wKt++}static get(e,r){if(!r.length)return e;let n=r[0].instances.find(a=>a.base==e&&xKt(r,a.modified));if(n)return n;let i=[],o=new Bu(e.name,i,e,r);for(let a of r)a.instances.push(o);let s=SKt(r);for(let a of e.set)if(!a.modified.length)for(let l of s)i.push(XO.get(a,l));return o}}function xKt(t,e){return t.length==e.length&&t.every((r,n)=>r==e[n])}function SKt(t){let e=[[]];for(let r=0;r<t.length;r++)for(let n=0,i=e.length;n<i;n++)e.push(e[n].concat(t[r]));return e.sort((r,n)=>n.length-r.length)}function aTe(t){let e=Object.create(null);for(let r in t){let n=t[r];Array.isArray(n)||(n=[n]);for(let i of r.split(" "))if(i){let o=[],s=2,a=i;for(let f=0;;){if(a=="..."&&f>0&&f+3==i.length){s=1;break}let d=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(a);if(!d)throw new RangeError("Invalid path: "+i);if(o.push(d[0]=="*"?"":d[0][0]=='"'?JSON.parse(d[0]):d[0]),f+=d[0].length,f==i.length)break;let p=i[f++];if(f==i.length&&p=="!"){s=0;break}if(p!="/")throw new RangeError("Invalid path: "+i);a=i.slice(f)}let l=o.length-1,c=o[l];if(!c)throw new RangeError("Invalid path: "+i);let u=new YO(n,s,l>0?o.slice(0,l):null);e[c]=u.sort(e[c])}}return lTe.add(e)}const lTe=new Mn;class YO{constructor(e,r,n,i){this.tags=e,this.mode=r,this.context=n,this.next=i}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}get depth(){return this.context?this.context.length:0}}YO.empty=new YO([],2,null);function cTe(t,e){let r=Object.create(null);for(let o of t)if(!Array.isArray(o.tag))r[o.tag.id]=o.class;else for(let s of o.tag)r[s.id]=o.class;let{scope:n,all:i=null}=e||{};return{style:o=>{let s=i;for(let a of o)for(let l of a.set){let c=r[l.id];if(c){s=s?s+" "+c:c;break}}return s},scope:n}}function EKt(t,e){let r=null;for(let n of t){let i=n.style(e);i&&(r=r?r+" "+i:i)}return r}function DKt(t,e,r,n=0,i=t.length){let o=new kKt(n,Array.isArray(e)?e:[e],r);o.highlightRange(t.cursor(),n,i,"",o.highlighters),o.flush(i)}class kKt{constructor(e,r,n){this.at=e,this.highlighters=r,this.span=n,this.class=""}startSpan(e,r){r!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=r)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,r,n,i,o){let{type:s,from:a,to:l}=e;if(a>=n||l<=r)return;s.isTop&&(o=this.highlighters.filter(p=>!p.scope||p.scope(s)));let c=i,u=OKt(e)||YO.empty,f=EKt(o,u.tags);if(f&&(c&&(c+=" "),c+=f,u.mode==1&&(i+=(i?" ":"")+f)),this.startSpan(Math.max(r,a),c),u.opaque)return;let d=e.tree&&e.tree.prop(Mn.mounted);if(d&&d.overlay){let p=e.node.enter(d.overlay[0].from+a,1),h=this.highlighters.filter(g=>!g.scope||g.scope(d.tree.type)),A=e.firstChild();for(let g=0,m=a;;g++){let v=g<d.overlay.length?d.overlay[g]:null,y=v?v.from+a:l,b=Math.max(r,m),B=Math.min(n,y);if(b<B&&A)for(;e.from<B&&(this.highlightRange(e,b,B,i,o),this.startSpan(Math.min(B,e.to),c),!(e.to>=y||!e.nextSibling())););if(!v||y>n)break;m=v.to+a,m>r&&(this.highlightRange(p.cursor(),Math.max(r,v.from+a),Math.min(n,m),"",h),this.startSpan(Math.min(n,m),c))}A&&e.parent()}else if(e.firstChild()){d&&(i="");do if(!(e.to<=r)){if(e.from>=n)break;this.highlightRange(e,r,n,i,o),this.startSpan(Math.min(n,e.to),c)}while(e.nextSibling());e.parent()}}}function OKt(t){let e=t.type.prop(lTe);for(;e&&e.context&&!t.matchContext(e.context);)e=e.next;return e||null}const ar=Bu.define,K8=ar(),A0=ar(),Mge=ar(A0),_ge=ar(A0),h0=ar(),q8=ar(h0),mU=ar(h0),Nd=ar(),kg=ar(Nd),Sd=ar(),Ed=ar(),XK=ar(),hw=ar(XK),X8=ar(),ut={comment:K8,lineComment:ar(K8),blockComment:ar(K8),docComment:ar(K8),name:A0,variableName:ar(A0),typeName:Mge,tagName:ar(Mge),propertyName:_ge,attributeName:ar(_ge),className:ar(A0),labelName:ar(A0),namespace:ar(A0),macroName:ar(A0),literal:h0,string:q8,docString:ar(q8),character:ar(q8),attributeValue:ar(q8),number:mU,integer:ar(mU),float:ar(mU),bool:ar(h0),regexp:ar(h0),escape:ar(h0),color:ar(h0),url:ar(h0),keyword:Sd,self:ar(Sd),null:ar(Sd),atom:ar(Sd),unit:ar(Sd),modifier:ar(Sd),operatorKeyword:ar(Sd),controlKeyword:ar(Sd),definitionKeyword:ar(Sd),moduleKeyword:ar(Sd),operator:Ed,derefOperator:ar(Ed),arithmeticOperator:ar(Ed),logicOperator:ar(Ed),bitwiseOperator:ar(Ed),compareOperator:ar(Ed),updateOperator:ar(Ed),definitionOperator:ar(Ed),typeOperator:ar(Ed),controlOperator:ar(Ed),punctuation:XK,separator:ar(XK),bracket:hw,angleBracket:ar(hw),squareBracket:ar(hw),paren:ar(hw),brace:ar(hw),content:Nd,heading:kg,heading1:ar(kg),heading2:ar(kg),heading3:ar(kg),heading4:ar(kg),heading5:ar(kg),heading6:ar(kg),contentSeparator:ar(Nd),list:ar(Nd),quote:ar(Nd),emphasis:ar(Nd),strong:ar(Nd),link:ar(Nd),monospace:ar(Nd),strikethrough:ar(Nd),inserted:ar(),deleted:ar(),changed:ar(),invalid:ar(),meta:X8,documentMeta:ar(X8),annotation:ar(X8),processingInstruction:ar(X8),definition:Bu.defineModifier("definition"),constant:Bu.defineModifier("constant"),function:Bu.defineModifier("function"),standard:Bu.defineModifier("standard"),local:Bu.defineModifier("local"),special:Bu.defineModifier("special")};for(let t in ut){let e=ut[t];e instanceof Bu&&(e.name=t)}cTe([{tag:ut.link,class:"tok-link"},{tag:ut.heading,class:"tok-heading"},{tag:ut.emphasis,class:"tok-emphasis"},{tag:ut.strong,class:"tok-strong"},{tag:ut.keyword,class:"tok-keyword"},{tag:ut.atom,class:"tok-atom"},{tag:ut.bool,class:"tok-bool"},{tag:ut.url,class:"tok-url"},{tag:ut.labelName,class:"tok-labelName"},{tag:ut.inserted,class:"tok-inserted"},{tag:ut.deleted,class:"tok-deleted"},{tag:ut.literal,class:"tok-literal"},{tag:ut.string,class:"tok-string"},{tag:ut.number,class:"tok-number"},{tag:[ut.regexp,ut.escape,ut.special(ut.string)],class:"tok-string2"},{tag:ut.variableName,class:"tok-variableName"},{tag:ut.local(ut.variableName),class:"tok-variableName tok-local"},{tag:ut.definition(ut.variableName),class:"tok-variableName tok-definition"},{tag:ut.special(ut.variableName),class:"tok-variableName2"},{tag:ut.definition(ut.propertyName),class:"tok-propertyName tok-definition"},{tag:ut.typeName,class:"tok-typeName"},{tag:ut.namespace,class:"tok-namespace"},{tag:ut.className,class:"tok-className"},{tag:ut.macroName,class:"tok-macroName"},{tag:ut.propertyName,class:"tok-propertyName"},{tag:ut.operator,class:"tok-operator"},{tag:ut.comment,class:"tok-comment"},{tag:ut.meta,class:"tok-meta"},{tag:ut.invalid,class:"tok-invalid"},{tag:ut.punctuation,class:"tok-punctuation"}]);var gU;const v2=new Mn;function PKt(t){return Cr.define({combine:t?e=>e.concat(t):void 0})}const IKt=new Mn;class Nf{constructor(e,r,n=[],i=""){this.data=e,this.name=i,qn.prototype.hasOwnProperty("tree")||Object.defineProperty(qn.prototype,"tree",{get(){return Sa(this)}}),this.parser=r,this.extension=[Im.of(this),qn.languageData.of((o,s,a)=>{let l=jge(o,s,a),c=l.type.prop(v2);if(!c)return[];let u=o.facet(c),f=l.type.prop(IKt);if(f){let d=l.resolve(s-l.from,a);for(let p of f)if(p.test(d,o)){let h=o.facet(p.facet);return p.type=="replace"?h:h.concat(u)}}return u})].concat(n)}isActiveAt(e,r,n=-1){return jge(e,r,n).type.prop(v2)==this.data}findRegions(e){let r=e.facet(Im);if(r?.data==this.data)return[{from:0,to:e.doc.length}];if(!r||!r.allowsNesting)return[];let n=[],i=(o,s)=>{if(o.prop(v2)==this.data){n.push({from:s,to:s+o.length});return}let a=o.prop(Mn.mounted);if(a){if(a.tree.prop(v2)==this.data){if(a.overlay)for(let l of a.overlay)n.push({from:l.from+s,to:l.to+s});else n.push({from:s,to:s+o.length});return}else if(a.overlay){let l=n.length;if(i(a.tree,a.overlay[0].from+s),n.length>l)return}}for(let l=0;l<o.children.length;l++){let c=o.children[l];c instanceof Cs&&i(c,o.positions[l]+s)}};return i(Sa(e),0),n}get allowsNesting(){return!0}}Nf.setState=wn.define();function jge(t,e,r){let n=t.facet(Im),i=Sa(t).topNode;if(!n||n.allowsNesting)for(let o=i;o;o=o.enter(e,r,Fs.ExcludeBuffers))o.type.isTop&&(i=o);return i}class JO extends Nf{constructor(e,r,n){super(e,r,[],n),this.parser=r}static define(e){let r=PKt(e.languageData);return new JO(r,e.parser.configure({props:[v2.add(n=>n.isTop?r:void 0)]}),e.name)}configure(e,r){return new JO(this.data,this.parser.configure(e),r||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Sa(t){let e=t.field(Nf.state,!1);return e?e.tree:Cs.empty}class NKt{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,r){let n=this.cursorPos-this.string.length;return e<n||r>=this.cursorPos?this.doc.sliceString(e,r):this.string.slice(e-n,r-n)}}let mw=null;class ZO{constructor(e,r,n=[],i,o,s,a,l){this.parser=e,this.state=r,this.fragments=n,this.tree=i,this.treeLen=o,this.viewport=s,this.skipped=a,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(e,r,n){return new ZO(e,r,[],Cs.empty,0,n,[],null)}startParse(){return this.parser.startParse(new NKt(this.state.doc),this.fragments)}work(e,r){return r!=null&&r>=this.state.doc.length&&(r=void 0),this.tree!=Cs.empty&&this.isDone(r??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;if(typeof e=="number"){let i=Date.now()+e;e=()=>Date.now()>i}for(this.parse||(this.parse=this.startParse()),r!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>r)&&r<this.state.doc.length&&this.parse.stopAt(r);;){let i=this.parse.advance();if(i)if(this.fragments=this.withoutTempSkipped(E1.addTree(i,this.fragments,this.parse.stoppedAt!=null)),this.treeLen=(n=this.parse.stoppedAt)!==null&&n!==void 0?n:this.state.doc.length,this.tree=i,this.parse=null,this.treeLen<(r??this.state.doc.length))this.parse=this.startParse();else return!0;if(e())return!1}})}takeTree(){let e,r;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(r=this.parse.advance()););}),this.treeLen=e,this.tree=r,this.fragments=this.withoutTempSkipped(E1.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let r=mw;mw=this;try{return e()}finally{mw=r}}withoutTempSkipped(e){for(let r;r=this.tempSkipped.pop();)e=Uge(e,r.from,r.to);return e}changes(e,r){let{fragments:n,tree:i,treeLen:o,viewport:s,skipped:a}=this;if(this.takeTree(),!e.empty){let l=[];if(e.iterChangedRanges((c,u,f,d)=>l.push({fromA:c,toA:u,fromB:f,toB:d})),n=E1.applyChanges(n,l),i=Cs.empty,o=0,s={from:e.mapPos(s.from,-1),to:e.mapPos(s.to,1)},this.skipped.length){a=[];for(let c of this.skipped){let u=e.mapPos(c.from,1),f=e.mapPos(c.to,-1);u<f&&a.push({from:u,to:f})}}}return new ZO(this.parser,r,n,i,o,s,a,this.scheduleOn)}updateViewport(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;let r=this.skipped.length;for(let n=0;n<this.skipped.length;n++){let{from:i,to:o}=this.skipped[n];i<e.to&&o>e.from&&(this.fragments=Uge(this.fragments,i,o),this.skipped.splice(n--,1))}return this.skipped.length>=r?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,r){this.skipped.push({from:e,to:r})}static getSkippingParser(e){return new class extends sTe{createParse(r,n,i){let o=i[0].from,s=i[i.length-1].to;return{parsedPos:o,advance(){let l=mw;if(l){for(let c of i)l.tempSkipped.push(c);e&&(l.scheduleOn=l.scheduleOn?Promise.all([l.scheduleOn,e]):e)}return this.parsedPos=s,new Cs(cc.none,[],[],s-o)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let r=this.fragments;return this.treeLen>=e&&r.length&&r[0].from==0&&r[0].to>=e}static get(){return mw}}function Uge(t,e,r){return E1.applyChanges(t,[{fromA:e,toA:r,fromB:e,toB:r}])}class tC{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let r=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),r.viewport.to);return r.work(20,n)||r.takeTree(),new tC(r)}static init(e){let r=Math.min(3e3,e.doc.length),n=ZO.create(e.facet(Im).parser,e,{from:0,to:r});return n.work(20,r)||n.takeTree(),new tC(n)}}Nf.state=ka.define({create:tC.init,update(t,e){for(let r of e.effects)if(r.is(Nf.setState))return r.value;return e.startState.facet(Im)!=e.state.facet(Im)?tC.init(e.state):t.apply(e)}});let uTe=t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(uTe=t=>{let e=-1,r=setTimeout(()=>{e=requestIdleCallback(t,{timeout:500-100})},100);return()=>e<0?clearTimeout(r):cancelIdleCallback(e)});const vU=typeof navigator<"u"&&(!((gU=navigator.scheduling)===null||gU===void 0)&&gU.isInputPending)?()=>navigator.scheduling.isInputPending():null,FKt=Wo.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let r=this.view.state.field(Nf.state).context;(r.updateViewport(e.view.viewport)||this.view.viewport.to>r.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(r)}scheduleWork(){if(this.working)return;let{state:e}=this.view,r=e.field(Nf.state);(r.tree!=r.context.tree||!r.context.isDone(e.doc.length))&&(this.working=uTe(this.work))}work(e){this.working=null;let r=Date.now();if(this.chunkEnd<r&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=r+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:n,viewport:{to:i}}=this.view,o=n.field(Nf.state);if(o.tree==o.context.tree&&o.context.isDone(i+1e5))return;let s=Date.now()+Math.min(this.chunkBudget,100,e&&!vU?Math.max(25,e.timeRemaining()-5):1e9),a=o.context.treeLen<i&&n.doc.length>i+1e3,l=o.context.work(()=>vU&&vU()||Date.now()>s,i+(a?0:1e5));this.chunkBudget-=Date.now()-r,(l||this.chunkBudget<=0)&&(o.context.takeTree(),this.view.dispatch({effects:Nf.setState.of(new tC(o.context))})),this.chunkBudget>0&&!(l&&!a)&&this.scheduleWork(),this.checkAsyncSchedule(o.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(r=>Yl(this.view.state,r)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),Im=Cr.define({combine(t){return t.length?t[0]:null},enables:t=>[Nf.state,FKt,sr.contentAttributes.compute([t],e=>{let r=e.facet(t);return r&&r.name?{"data-language":r.name}:{}})]});class TKt{constructor(e,r=[]){this.language=e,this.support=r,this.extension=[e,r]}}const LKt=Cr.define(),HN=Cr.define({combine:t=>{if(!t.length)return" ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some(r=>r!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function eP(t){let e=t.facet(HN);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}function m3(t,e){let r="",n=t.tabSize,i=t.facet(HN)[0];if(i==" "){for(;e>=n;)r+=" ",e-=n;i=" "}for(let o=0;o<e;o++)r+=i;return r}function hte(t,e){t instanceof qn&&(t=new GN(t));for(let n of t.state.facet(LKt)){let i=n(t,e);if(i!==void 0)return i}let r=Sa(t.state);return r.length>=e?RKt(t,r,e):null}class GN{constructor(e,r={}){this.state=e,this.options=r,this.unit=eP(e)}lineAt(e,r=1){let n=this.state.doc.lineAt(e),{simulateBreak:i,simulateDoubleBreak:o}=this.options;return i!=null&&i>=n.from&&i<=n.to?o&&i==e?{text:"",from:e}:(r<0?i<e:i<=e)?{text:n.text.slice(i-n.from),from:i}:{text:n.text.slice(0,i-n.from),from:n.from}:n}textAfterPos(e,r=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";let{text:n,from:i}=this.lineAt(e,r);return n.slice(e-i,Math.min(n.length,e+100-i))}column(e,r=1){let{text:n,from:i}=this.lineAt(e,r),o=this.countColumn(n,e-i),s=this.options.overrideIndentation?this.options.overrideIndentation(i):-1;return s>-1&&(o+=s-this.countColumn(n,n.search(/\S|$/))),o}countColumn(e,r=e.length){return zC(e,this.state.tabSize,r)}lineIndent(e,r=1){let{text:n,from:i}=this.lineAt(e,r),o=this.options.overrideIndentation;if(o){let s=o(i);if(s>-1)return s}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const fTe=new Mn;function RKt(t,e,r){let n=e.resolveStack(r),i=e.resolveInner(r,-1).resolve(r,0).enterUnfinishedNodesBefore(r);if(i!=n.node){let o=[];for(let s=i;s&&!(s.from<n.node.from||s.to>n.node.to||s.from==n.node.from&&s.type==n.node.type);s=s.parent)o.push(s);for(let s=o.length-1;s>=0;s--)n={node:o[s],next:n}}return dTe(n,t,r)}function dTe(t,e,r){for(let n=t;n;n=n.next){let i=_Kt(n.node);if(i)return i(mte.create(e,r,n))}return 0}function MKt(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function _Kt(t){let e=t.type.prop(fTe);if(e)return e;let r=t.firstChild,n;if(r&&(n=r.type.prop(Mn.closedBy))){let i=t.lastChild,o=i&&n.indexOf(i.name)>-1;return s=>VKt(s,!0,1,void 0,o&&!MKt(s)?i.from:void 0)}return t.parent==null?jKt:null}function jKt(){return 0}class mte extends GN{constructor(e,r,n){super(e.state,e.options),this.base=e,this.pos=r,this.context=n}get node(){return this.context.node}static create(e,r,n){return new mte(e,r,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let r=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(r.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(UKt(n,e))break;r=this.state.doc.lineAt(n.from)}return this.lineIndent(r.from)}continue(){return dTe(this.context.next,this.base,this.pos)}}function UKt(t,e){for(let r=e;r;r=r.parent)if(t==r)return!0;return!1}function QKt(t){let e=t.node,r=e.childAfter(e.from),n=e.lastChild;if(!r)return null;let i=t.options.simulateBreak,o=t.state.doc.lineAt(r.from),s=i==null||i<=o.from?o.to:Math.min(o.to,i);for(let a=r.to;;){let l=e.childAfter(a);if(!l||l==n)return null;if(!l.type.isSkipped){if(l.from>=s)return null;let c=/^ */.exec(o.text.slice(r.to-o.from))[0].length;return{from:r.from,to:r.to+c}}a=l.to}}function VKt(t,e,r,n,i){let o=t.textAfter,s=o.match(/^\s*/)[0].length,a=n&&o.slice(s,s+n.length)==n||i==t.pos+s,l=e?QKt(t):null;return l?a?t.column(l.from):t.column(l.to):t.baseIndent+(a?0:t.unit*r)}function $Kt({except:t,units:e=1}={}){return r=>{let n=t&&t.test(r.textAfter);return r.baseIndent+(n?0:e*r.unit)}}const HKt=200;function GKt(){return qn.transactionFilter.of(t=>{if(!t.docChanged||!t.isUserEvent("input.type")&&!t.isUserEvent("input.complete"))return t;let e=t.startState.languageDataAt("indentOnInput",t.startState.selection.main.head);if(!e.length)return t;let r=t.newDoc,{head:n}=t.newSelection.main,i=r.lineAt(n);if(n>i.from+HKt)return t;let o=r.sliceString(i.from,n);if(!e.some(c=>c.test(o)))return t;let{state:s}=t,a=-1,l=[];for(let{head:c}of s.selection.ranges){let u=s.doc.lineAt(c);if(u.from==a)continue;a=u.from;let f=hte(s,u.from);if(f==null)continue;let d=/^\s*/.exec(u.text)[0],p=m3(s,f);d!=p&&l.push({from:u.from,to:u.from+d.length,insert:p})}return l.length?[t,{changes:l,sequential:!0}]:t})}const WKt=Cr.define(),pTe=new Mn;function zKt(t){let e=t.firstChild,r=t.lastChild;return e&&e.to<r.from?{from:e.to,to:r.type.isError?t.to:r.from}:null}function KKt(t,e,r){let n=Sa(t);if(n.length<r)return null;let i=n.resolveStack(r,1),o=null;for(let s=i;s;s=s.next){let a=s.node;if(a.to<=r||a.from>r)continue;if(o&&a.from<e)break;let l=a.type.prop(pTe);if(l&&(a.to<n.length-50||n.length==t.doc.length||!qKt(a))){let c=l(a,t);c&&c.from<=r&&c.from>=e&&c.to>r&&(o=c)}}return o}function qKt(t){let e=t.lastChild;return e&&e.to==t.to&&e.type.isError}function tP(t,e,r){for(let n of t.facet(WKt)){let i=n(t,e,r);if(i)return i}return KKt(t,e,r)}function ATe(t,e){let r=e.mapPos(t.from,1),n=e.mapPos(t.to,-1);return r>=n?void 0:{from:r,to:n}}const WN=wn.define({map:ATe}),jx=wn.define({map:ATe});function hTe(t){let e=[];for(let{head:r}of t.state.selection.ranges)e.some(n=>n.from<=r&&n.to>=r)||e.push(t.lineBlockAt(r));return e}const tv=ka.define({create(){return _r.none},update(t,e){e.isUserEvent("delete")&&e.changes.iterChangedRanges((r,n)=>t=Qge(t,r,n)),t=t.map(e.changes);for(let r of e.effects)if(r.is(WN)&&!XKt(t,r.value.from,r.value.to)){let{preparePlaceholder:n}=e.state.facet(gte),i=n?_r.replace({widget:new nqt(n(e.state,r.value))}):Vge;t=t.update({add:[i.range(r.value.from,r.value.to)]})}else r.is(jx)&&(t=t.update({filter:(n,i)=>r.value.from!=n||r.value.to!=i,filterFrom:r.value.from,filterTo:r.value.to}));return e.selection&&(t=Qge(t,e.selection.main.head)),t},provide:t=>sr.decorations.from(t),toJSON(t,e){let r=[];return t.between(0,e.doc.length,(n,i)=>{r.push(n,i)}),r},fromJSON(t){if(!Array.isArray(t)||t.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let r=0;r<t.length;){let n=t[r++],i=t[r++];if(typeof n!="number"||typeof i!="number")throw new RangeError("Invalid JSON for fold state");e.push(Vge.range(n,i))}return _r.set(e,!0)}});function Qge(t,e,r=e){let n=!1;return t.between(e,r,(i,o)=>{i<r&&o>e&&(n=!0)}),n?t.update({filterFrom:e,filterTo:r,filter:(i,o)=>i>=r||o<=e}):t}function rP(t,e,r){var n;let i=null;return(n=t.field(tv,!1))===null||n===void 0||n.between(e,r,(o,s)=>{(!i||i.from>o)&&(i={from:o,to:s})}),i}function XKt(t,e,r){let n=!1;return t.between(e,e,(i,o)=>{i==e&&o==r&&(n=!0)}),n}function mTe(t,e){return t.field(tv,!1)?e:e.concat(wn.appendConfig.of(vTe()))}const YKt=t=>{for(let e of hTe(t)){let r=tP(t.state,e.from,e.to);if(r)return t.dispatch({effects:mTe(t.state,[WN.of(r),gTe(t,r)])}),!0}return!1},JKt=t=>{if(!t.state.field(tv,!1))return!1;let e=[];for(let r of hTe(t)){let n=rP(t.state,r.from,r.to);n&&e.push(jx.of(n),gTe(t,n,!1))}return e.length&&t.dispatch({effects:e}),e.length>0};function gTe(t,e,r=!0){let n=t.state.doc.lineAt(e.from).number,i=t.state.doc.lineAt(e.to).number;return sr.announce.of(`${t.state.phrase(r?"Folded lines":"Unfolded lines")} ${n} ${t.state.phrase("to")} ${i}.`)}const ZKt=t=>{let{state:e}=t,r=[];for(let n=0;n<e.doc.length;){let i=t.lineBlockAt(n),o=tP(e,i.from,i.to);o&&r.push(WN.of(o)),n=(o?t.lineBlockAt(o.to):i).to+1}return r.length&&t.dispatch({effects:mTe(t.state,r)}),!!r.length},eqt=t=>{let e=t.state.field(tv,!1);if(!e||!e.size)return!1;let r=[];return e.between(0,t.state.doc.length,(n,i)=>{r.push(jx.of({from:n,to:i}))}),t.dispatch({effects:r}),!0},tqt=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:YKt},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:JKt},{key:"Ctrl-Alt-[",run:ZKt},{key:"Ctrl-Alt-]",run:eqt}],rqt={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},gte=Cr.define({combine(t){return _p(t,rqt)}});function vTe(t){let e=[tv,sqt];return t&&e.push(gte.of(t)),e}function yTe(t,e){let{state:r}=t,n=r.facet(gte),i=s=>{let a=t.lineBlockAt(t.posAtDOM(s.target)),l=rP(t.state,a.from,a.to);l&&t.dispatch({effects:jx.of(l)}),s.preventDefault()};if(n.placeholderDOM)return n.placeholderDOM(t,i,e);let o=document.createElement("span");return o.textContent=n.placeholderText,o.setAttribute("aria-label",r.phrase("folded code")),o.title=r.phrase("unfold"),o.className="cm-foldPlaceholder",o.onclick=i,o}const Vge=_r.replace({widget:new class extends Dh{toDOM(t){return yTe(t,null)}}});class nqt extends Dh{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return yTe(e,this.value)}}const iqt={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class yU extends gh{constructor(e,r){super(),this.config=e,this.open=r}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let r=document.createElement("span");return r.textContent=this.open?this.config.openText:this.config.closedText,r.title=e.state.phrase(this.open?"Fold line":"Unfold line"),r}}function oqt(t={}){let e={...iqt,...t},r=new yU(e,!0),n=new yU(e,!1),i=Wo.fromClass(class{constructor(s){this.from=s.viewport.from,this.markers=this.buildMarkers(s)}update(s){(s.docChanged||s.viewportChanged||s.startState.facet(Im)!=s.state.facet(Im)||s.startState.field(tv,!1)!=s.state.field(tv,!1)||Sa(s.startState)!=Sa(s.state)||e.foldingChanged(s))&&(this.markers=this.buildMarkers(s.view))}buildMarkers(s){let a=new hh;for(let l of s.viewportLineBlocks){let c=rP(s.state,l.from,l.to)?n:tP(s.state,l.from,l.to)?r:null;c&&a.add(l.from,l.from,c)}return a.finish()}}),{domEventHandlers:o}=e;return[i,nKt({class:"cm-foldGutter",markers(s){var a;return((a=s.plugin(i))===null||a===void 0?void 0:a.markers)||ri.empty},initialSpacer(){return new yU(e,!1)},domEventHandlers:{...o,click:(s,a,l)=>{if(o.click&&o.click(s,a,l))return!0;let c=rP(s.state,a.from,a.to);if(c)return s.dispatch({effects:jx.of(c)}),!0;let u=tP(s.state,a.from,a.to);return u?(s.dispatch({effects:WN.of(u)}),!0):!1}}}),vTe()]}const sqt=sr.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class Ux{constructor(e,r){this.specs=e;let n;function i(a){let l=Dm.newName();return(n||(n=Object.create(null)))["."+l]=a,l}const o=typeof r.all=="string"?r.all:r.all?i(r.all):void 0,s=r.scope;this.scope=s instanceof Nf?a=>a.prop(v2)==s.data:s?a=>a==s:void 0,this.style=cTe(e.map(a=>({tag:a.tag,class:a.class||i(Object.assign({},a,{tag:null}))})),{all:o}).style,this.module=n?new Dm(n):null,this.themeType=r.themeType}static define(e,r){return new Ux(e,r||{})}}const YK=Cr.define(),BTe=Cr.define({combine(t){return t.length?[t[0]]:null}});function BU(t){let e=t.facet(YK);return e.length?e:t.facet(BTe)}function CTe(t,e){let r=[lqt],n;return t instanceof Ux&&(t.module&&r.push(sr.styleModule.of(t.module)),n=t.themeType),e?.fallback?r.push(BTe.of(t)):n?r.push(YK.computeN([sr.darkTheme],i=>i.facet(sr.darkTheme)==(n=="dark")?[t]:[])):r.push(YK.of(t)),r}class aqt{constructor(e){this.markCache=Object.create(null),this.tree=Sa(e.state),this.decorations=this.buildDeco(e,BU(e.state)),this.decoratedTo=e.viewport.to}update(e){let r=Sa(e.state),n=BU(e.state),i=n!=BU(e.startState),{viewport:o}=e.view,s=e.changes.mapPos(this.decoratedTo,1);r.length<o.to&&!i&&r.type==this.tree.type&&s>=o.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=s):(r!=this.tree||e.viewportChanged||i)&&(this.tree=r,this.decorations=this.buildDeco(e.view,n),this.decoratedTo=o.to)}buildDeco(e,r){if(!r||!this.tree.length)return _r.none;let n=new hh;for(let{from:i,to:o}of e.visibleRanges)DKt(this.tree,r,(s,a,l)=>{n.add(s,a,this.markCache[l]||(this.markCache[l]=_r.mark({class:l})))},i,o);return n.finish()}}const lqt=Iv.high(Wo.fromClass(aqt,{decorations:t=>t.decorations})),cqt=Ux.define([{tag:ut.meta,color:"#404740"},{tag:ut.link,textDecoration:"underline"},{tag:ut.heading,textDecoration:"underline",fontWeight:"bold"},{tag:ut.emphasis,fontStyle:"italic"},{tag:ut.strong,fontWeight:"bold"},{tag:ut.strikethrough,textDecoration:"line-through"},{tag:ut.keyword,color:"#708"},{tag:[ut.atom,ut.bool,ut.url,ut.contentSeparator,ut.labelName],color:"#219"},{tag:[ut.literal,ut.inserted],color:"#164"},{tag:[ut.string,ut.deleted],color:"#a11"},{tag:[ut.regexp,ut.escape,ut.special(ut.string)],color:"#e40"},{tag:ut.definition(ut.variableName),color:"#00f"},{tag:ut.local(ut.variableName),color:"#30a"},{tag:[ut.typeName,ut.namespace],color:"#085"},{tag:ut.className,color:"#167"},{tag:[ut.special(ut.variableName),ut.macroName],color:"#256"},{tag:ut.definition(ut.propertyName),color:"#00c"},{tag:ut.comment,color:"#940"},{tag:ut.invalid,color:"#f00"}]),uqt=sr.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),bTe=1e4,wTe="()[]{}",xTe=Cr.define({combine(t){return _p(t,{afterCursor:!0,brackets:wTe,maxScanDistance:bTe,renderMatch:pqt})}}),fqt=_r.mark({class:"cm-matchingBracket"}),dqt=_r.mark({class:"cm-nonmatchingBracket"});function pqt(t){let e=[],r=t.matched?fqt:dqt;return e.push(r.range(t.start.from,t.start.to)),t.end&&e.push(r.range(t.end.from,t.end.to)),e}const Aqt=ka.define({create(){return _r.none},update(t,e){if(!e.docChanged&&!e.selection)return t;let r=[],n=e.state.facet(xTe);for(let i of e.state.selection.ranges){if(!i.empty)continue;let o=cp(e.state,i.head,-1,n)||i.head>0&&cp(e.state,i.head-1,1,n)||n.afterCursor&&(cp(e.state,i.head,1,n)||i.head<e.state.doc.length&&cp(e.state,i.head+1,-1,n));o&&(r=r.concat(n.renderMatch(o,e.state)))}return _r.set(r,!0)},provide:t=>sr.decorations.from(t)}),hqt=[Aqt,uqt];function mqt(t={}){return[xTe.of(t),hqt]}const gqt=new Mn;function JK(t,e,r){let n=t.prop(e<0?Mn.openedBy:Mn.closedBy);if(n)return n;if(t.name.length==1){let i=r.indexOf(t.name);if(i>-1&&i%2==(e<0?1:0))return[r[i+e]]}return null}function ZK(t){let e=t.type.prop(gqt);return e?e(t.node):t}function cp(t,e,r,n={}){let i=n.maxScanDistance||bTe,o=n.brackets||wTe,s=Sa(t),a=s.resolveInner(e,r);for(let l=a;l;l=l.parent){let c=JK(l.type,r,o);if(c&&l.from<l.to){let u=ZK(l);if(u&&(r>0?e>=u.from&&e<u.to:e>u.from&&e<=u.to))return vqt(t,e,r,l,u,c,o)}}return yqt(t,e,r,s,a.type,i,o)}function vqt(t,e,r,n,i,o,s){let a=n.parent,l={from:i.from,to:i.to},c=0,u=a?.cursor();if(u&&(r<0?u.childBefore(n.from):u.childAfter(n.to)))do if(r<0?u.to<=n.from:u.from>=n.to){if(c==0&&o.indexOf(u.type.name)>-1&&u.from<u.to){let f=ZK(u);return{start:l,end:f?{from:f.from,to:f.to}:void 0,matched:!0}}else if(JK(u.type,r,s))c++;else if(JK(u.type,-r,s)){if(c==0){let f=ZK(u);return{start:l,end:f&&f.from<f.to?{from:f.from,to:f.to}:void 0,matched:!1}}c--}}while(r<0?u.prevSibling():u.nextSibling());return{start:l,matched:!1}}function yqt(t,e,r,n,i,o,s){let a=r<0?t.sliceDoc(e-1,e):t.sliceDoc(e,e+1),l=s.indexOf(a);if(l<0||l%2==0!=r>0)return null;let c={from:r<0?e-1:e,to:r>0?e+1:e},u=t.doc.iterRange(e,r>0?t.doc.length:0),f=0;for(let d=0;!u.next().done&&d<=o;){let p=u.value;r<0&&(d+=p.length);let h=e+d*r;for(let A=r>0?0:p.length-1,g=r>0?p.length:-1;A!=g;A+=r){let m=s.indexOf(p[A]);if(!(m<0||n.resolveInner(h+A,1).type!=i))if(m%2==0==r>0)f++;else{if(f==1)return{start:c,end:{from:h+A,to:h+A+1},matched:m>>1==l>>1};f--}}r>0&&(d+=p.length)}return u.done?{start:c,matched:!1}:null}const Bqt=Object.create(null),$ge=[cc.none],Hge=[],Gge=Object.create(null),Cqt=Object.create(null);for(let[t,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])Cqt[t]=bqt(Bqt,e);function CU(t,e){Hge.indexOf(t)>-1||(Hge.push(t),console.warn(e))}function bqt(t,e){let r=[];for(let a of e.split(" ")){let l=[];for(let c of a.split(".")){let u=t[c]||ut[c];u?typeof u=="function"?l.length?l=l.map(u):CU(c,`Modifier ${c} used at start of tag`):l.length?CU(c,`Tag ${c} used as modifier`):l=Array.isArray(u)?u:[u]:CU(c,`Unknown highlighting tag ${c}`)}for(let c of l)r.push(c)}if(!r.length)return 0;let n=e.replace(/ /g,"_"),i=n+" "+r.map(a=>a.id),o=Gge[i];if(o)return o.id;let s=Gge[i]=cc.define({id:$ge.length,name:n,props:[aTe({[n]:r})]});return $ge.push(s),s.id}ho.RTL,ho.LTR;const wqt=t=>{let{state:e}=t,r=e.doc.lineAt(e.selection.main.from),n=yte(t.state,r.from);return n.line?xqt(t):n.block?Eqt(t):!1};function vte(t,e){return({state:r,dispatch:n})=>{if(r.readOnly)return!1;let i=t(e,r);return i?(n(r.update(i)),!0):!1}}const xqt=vte(Oqt,0),Sqt=vte(STe,0),Eqt=vte((t,e)=>STe(t,e,kqt(e)),0);function yte(t,e){let r=t.languageDataAt("commentTokens",e,1);return r.length?r[0]:{}}const gw=50;function Dqt(t,{open:e,close:r},n,i){let o=t.sliceDoc(n-gw,n),s=t.sliceDoc(i,i+gw),a=/\s*$/.exec(o)[0].length,l=/^\s*/.exec(s)[0].length,c=o.length-a;if(o.slice(c-e.length,c)==e&&s.slice(l,l+r.length)==r)return{open:{pos:n-a,margin:a&&1},close:{pos:i+l,margin:l&&1}};let u,f;i-n<=2*gw?u=f=t.sliceDoc(n,i):(u=t.sliceDoc(n,n+gw),f=t.sliceDoc(i-gw,i));let d=/^\s*/.exec(u)[0].length,p=/\s*$/.exec(f)[0].length,h=f.length-p-r.length;return u.slice(d,d+e.length)==e&&f.slice(h,h+r.length)==r?{open:{pos:n+d+e.length,margin:/\s/.test(u.charAt(d+e.length))?1:0},close:{pos:i-p-r.length,margin:/\s/.test(f.charAt(h-1))?1:0}}:null}function kqt(t){let e=[];for(let r of t.selection.ranges){let n=t.doc.lineAt(r.from),i=r.to<=n.to?n:t.doc.lineAt(r.to);i.from>n.from&&i.from==r.to&&(i=r.to==n.to+1?n:t.doc.lineAt(r.to-1));let o=e.length-1;o>=0&&e[o].to>n.from?e[o].to=i.to:e.push({from:n.from+/^\s*/.exec(n.text)[0].length,to:i.to})}return e}function STe(t,e,r=e.selection.ranges){let n=r.map(o=>yte(e,o.from).block);if(!n.every(o=>o))return null;let i=r.map((o,s)=>Dqt(e,n[s],o.from,o.to));if(t!=2&&!i.every(o=>o))return{changes:e.changes(r.map((o,s)=>i[s]?[]:[{from:o.from,insert:n[s].open+" "},{from:o.to,insert:" "+n[s].close}]))};if(t!=1&&i.some(o=>o)){let o=[];for(let s=0,a;s<i.length;s++)if(a=i[s]){let l=n[s],{open:c,close:u}=a;o.push({from:c.pos-l.open.length,to:c.pos+c.margin},{from:u.pos-u.margin,to:u.pos+l.close.length})}return{changes:o}}return null}function Oqt(t,e,r=e.selection.ranges){let n=[],i=-1;for(let{from:o,to:s}of r){let a=n.length,l=1e9,c=yte(e,o).line;if(c){for(let u=o;u<=s;){let f=e.doc.lineAt(u);if(f.from>i&&(o==s||s>f.from)){i=f.from;let d=/^\s*/.exec(f.text)[0].length,p=d==f.length,h=f.text.slice(d,d+c.length)==c?d:-1;d<f.text.length&&d<l&&(l=d),n.push({line:f,comment:h,token:c,indent:d,empty:p,single:!1})}u=f.to+1}if(l<1e9)for(let u=a;u<n.length;u++)n[u].indent<n[u].line.text.length&&(n[u].indent=l);n.length==a+1&&(n[a].single=!0)}}if(t!=2&&n.some(o=>o.comment<0&&(!o.empty||o.single))){let o=[];for(let{line:a,token:l,indent:c,empty:u,single:f}of n)(f||!u)&&o.push({from:a.from+c,insert:l+" "});let s=e.changes(o);return{changes:s,selection:e.selection.map(s,1)}}else if(t!=1&&n.some(o=>o.comment>=0)){let o=[];for(let{line:s,comment:a,token:l}of n)if(a>=0){let c=s.from+a,u=c+l.length;s.text[u-s.from]==" "&&u++,o.push({from:c,to:u})}return{changes:o}}return null}const eq=Mp.define(),Pqt=Mp.define(),Iqt=Cr.define(),ETe=Cr.define({combine(t){return _p(t,{minDepth:100,newGroupDelay:500,joinToEvent:(e,r)=>r},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,r)=>(n,i)=>e(n,i)||r(n,i)})}}),DTe=ka.define({create(){return up.empty},update(t,e){let r=e.state.facet(ETe),n=e.annotation(eq);if(n){let l=Jl.fromTransaction(e,n.selection),c=n.side,u=c==0?t.undone:t.done;return l?u=nP(u,u.length,r.minDepth,l):u=PTe(u,e.startState.selection),new up(c==0?n.rest:u,c==0?u:n.rest)}let i=e.annotation(Pqt);if((i=="full"||i=="before")&&(t=t.isolate()),e.annotation(Ms.addToHistory)===!1)return e.changes.empty?t:t.addMapping(e.changes.desc);let o=Jl.fromTransaction(e),s=e.annotation(Ms.time),a=e.annotation(Ms.userEvent);return o?t=t.addChanges(o,s,a,r,e):e.selection&&(t=t.addSelection(e.startState.selection,s,a,r.newGroupDelay)),(i=="full"||i=="after")&&(t=t.isolate()),t},toJSON(t){return{done:t.done.map(e=>e.toJSON()),undone:t.undone.map(e=>e.toJSON())}},fromJSON(t){return new up(t.done.map(Jl.fromJSON),t.undone.map(Jl.fromJSON))}});function Nqt(t={}){return[DTe,ETe.of(t),sr.domEventHandlers({beforeinput(e,r){let n=e.inputType=="historyUndo"?kTe:e.inputType=="historyRedo"?tq:null;return n?(e.preventDefault(),n(r)):!1}})]}function zN(t,e){return function({state:r,dispatch:n}){if(!e&&r.readOnly)return!1;let i=r.field(DTe,!1);if(!i)return!1;let o=i.pop(t,r,e);return o?(n(o),!0):!1}}const kTe=zN(0,!1),tq=zN(1,!1),Fqt=zN(0,!0),Tqt=zN(1,!0);class Jl{constructor(e,r,n,i,o){this.changes=e,this.effects=r,this.mapped=n,this.startSelection=i,this.selectionsAfter=o}setSelAfter(e){return new Jl(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,r,n;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(r=this.mapped)===null||r===void 0?void 0:r.toJSON(),startSelection:(n=this.startSelection)===null||n===void 0?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(i=>i.toJSON())}}static fromJSON(e){return new Jl(e.changes&&Is.fromJSON(e.changes),[],e.mapped&&Bp.fromJSON(e.mapped),e.startSelection&&It.fromJSON(e.startSelection),e.selectionsAfter.map(It.fromJSON))}static fromTransaction(e,r){let n=Ou;for(let i of e.startState.facet(Iqt)){let o=i(e);o.length&&(n=n.concat(o))}return!n.length&&e.changes.empty?null:new Jl(e.changes.invert(e.startState.doc),n,void 0,r||e.startState.selection,Ou)}static selection(e){return new Jl(void 0,Ou,void 0,void 0,e)}}function nP(t,e,r,n){let i=e+1>r+20?e-r-1:0,o=t.slice(i,e);return o.push(n),o}function Lqt(t,e){let r=[],n=!1;return t.iterChangedRanges((i,o)=>r.push(i,o)),e.iterChangedRanges((i,o,s,a)=>{for(let l=0;l<r.length;){let c=r[l++],u=r[l++];a>=c&&s<=u&&(n=!0)}}),n}function Rqt(t,e){return t.ranges.length==e.ranges.length&&t.ranges.filter((r,n)=>r.empty!=e.ranges[n].empty).length===0}function OTe(t,e){return t.length?e.length?t.concat(e):t:e}const Ou=[],Mqt=200;function PTe(t,e){if(t.length){let r=t[t.length-1],n=r.selectionsAfter.slice(Math.max(0,r.selectionsAfter.length-Mqt));return n.length&&n[n.length-1].eq(e)?t:(n.push(e),nP(t,t.length-1,1e9,r.setSelAfter(n)))}else return[Jl.selection([e])]}function _qt(t){let e=t[t.length-1],r=t.slice();return r[t.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),r}function bU(t,e){if(!t.length)return t;let r=t.length,n=Ou;for(;r;){let i=jqt(t[r-1],e,n);if(i.changes&&!i.changes.empty||i.effects.length){let o=t.slice(0,r);return o[r-1]=i,o}else e=i.mapped,r--,n=i.selectionsAfter}return n.length?[Jl.selection(n)]:Ou}function jqt(t,e,r){let n=OTe(t.selectionsAfter.length?t.selectionsAfter.map(a=>a.map(e)):Ou,r);if(!t.changes)return Jl.selection(n);let i=t.changes.map(e),o=e.mapDesc(t.changes,!0),s=t.mapped?t.mapped.composeDesc(o):o;return new Jl(i,wn.mapEffects(t.effects,e),s,t.startSelection.map(o),n)}const Uqt=/^(input\.type|delete)($|\.)/;class up{constructor(e,r,n=0,i=void 0){this.done=e,this.undone=r,this.prevTime=n,this.prevUserEvent=i}isolate(){return this.prevTime?new up(this.done,this.undone):this}addChanges(e,r,n,i,o){let s=this.done,a=s[s.length-1];return a&&a.changes&&!a.changes.empty&&e.changes&&(!n||Uqt.test(n))&&(!a.selectionsAfter.length&&r-this.prevTime<i.newGroupDelay&&i.joinToEvent(o,Lqt(a.changes,e.changes))||n=="input.type.compose")?s=nP(s,s.length-1,i.minDepth,new Jl(e.changes.compose(a.changes),OTe(wn.mapEffects(e.effects,a.changes),a.effects),a.mapped,a.startSelection,Ou)):s=nP(s,s.length,i.minDepth,e),new up(s,Ou,r,n)}addSelection(e,r,n,i){let o=this.done.length?this.done[this.done.length-1].selectionsAfter:Ou;return o.length>0&&r-this.prevTime<i&&n==this.prevUserEvent&&n&&/^select($|\.)/.test(n)&&Rqt(o[o.length-1],e)?this:new up(PTe(this.done,e),this.undone,r,n)}addMapping(e){return new up(bU(this.done,e),bU(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,r,n){let i=e==0?this.done:this.undone;if(i.length==0)return null;let o=i[i.length-1],s=o.selectionsAfter[0]||r.selection;if(n&&o.selectionsAfter.length)return r.update({selection:o.selectionsAfter[o.selectionsAfter.length-1],annotations:eq.of({side:e,rest:_qt(i),selection:s}),userEvent:e==0?"select.undo":"select.redo",scrollIntoView:!0});if(o.changes){let a=i.length==1?Ou:i.slice(0,i.length-1);return o.mapped&&(a=bU(a,o.mapped)),r.update({changes:o.changes,selection:o.startSelection,effects:o.effects,annotations:eq.of({side:e,rest:a,selection:s}),filter:!1,userEvent:e==0?"undo":"redo",scrollIntoView:!0})}else return null}}up.empty=new up(Ou,Ou);const Qqt=[{key:"Mod-z",run:kTe,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:tq,preventDefault:!0},{linux:"Ctrl-Shift-z",run:tq,preventDefault:!0},{key:"Mod-u",run:Fqt,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:Tqt,preventDefault:!0}];function KC(t,e){return It.create(t.ranges.map(e),t.mainIndex)}function jp(t,e){return t.update({selection:e,scrollIntoView:!0,userEvent:"select"})}function ld({state:t,dispatch:e},r){let n=KC(t.selection,r);return n.eq(t.selection,!0)?!1:(e(jp(t,n)),!0)}function KN(t,e){return It.cursor(e?t.to:t.from)}function ITe(t,e){return ld(t,r=>r.empty?t.moveByChar(r,e):KN(r,e))}function rl(t){return t.textDirectionAt(t.state.selection.main.head)==ho.LTR}const NTe=t=>ITe(t,!rl(t)),FTe=t=>ITe(t,rl(t));function TTe(t,e){return ld(t,r=>r.empty?t.moveByGroup(r,e):KN(r,e))}const Vqt=t=>TTe(t,!rl(t)),$qt=t=>TTe(t,rl(t));function Hqt(t,e,r){if(e.type.prop(r))return!0;let n=e.to-e.from;return n&&(n>2||/[^\s,.;:]/.test(t.sliceDoc(e.from,e.to)))||e.firstChild}function qN(t,e,r){let n=Sa(t).resolveInner(e.head),i=r?Mn.closedBy:Mn.openedBy;for(let l=e.head;;){let c=r?n.childAfter(l):n.childBefore(l);if(!c)break;Hqt(t,c,i)?n=c:l=r?c.to:c.from}let o=n.type.prop(i),s,a;return o&&(s=r?cp(t,n.from,1):cp(t,n.to,-1))&&s.matched?a=r?s.end.to:s.end.from:a=r?n.to:n.from,It.cursor(a,r?-1:1)}const Gqt=t=>ld(t,e=>qN(t.state,e,!rl(t))),Wqt=t=>ld(t,e=>qN(t.state,e,rl(t)));function LTe(t,e){return ld(t,r=>{if(!r.empty)return KN(r,e);let n=t.moveVertically(r,e);return n.head!=r.head?n:t.moveToLineBoundary(r,e)})}const RTe=t=>LTe(t,!1),MTe=t=>LTe(t,!0);function _Te(t){let e=t.scrollDOM.clientHeight<t.scrollDOM.scrollHeight-2,r=0,n=0,i;if(e){for(let o of t.state.facet(sr.scrollMargins)){let s=o(t);s?.top&&(r=Math.max(s?.top,r)),s?.bottom&&(n=Math.max(s?.bottom,n))}i=t.scrollDOM.clientHeight-r-n}else i=(t.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:r,marginBottom:n,selfScroll:e,height:Math.max(t.defaultLineHeight,i-5)}}function jTe(t,e){let r=_Te(t),{state:n}=t,i=KC(n.selection,s=>s.empty?t.moveVertically(s,e,r.height):KN(s,e));if(i.eq(n.selection))return!1;let o;if(r.selfScroll){let s=t.coordsAtPos(n.selection.main.head),a=t.scrollDOM.getBoundingClientRect(),l=a.top+r.marginTop,c=a.bottom-r.marginBottom;s&&s.top>l&&s.bottom<c&&(o=sr.scrollIntoView(i.main.head,{y:"start",yMargin:s.top-l}))}return t.dispatch(jp(n,i),{effects:o}),!0}const Wge=t=>jTe(t,!1),rq=t=>jTe(t,!0);function tg(t,e,r){let n=t.lineBlockAt(e.head),i=t.moveToLineBoundary(e,r);if(i.head==e.head&&i.head!=(r?n.to:n.from)&&(i=t.moveToLineBoundary(e,r,!1)),!r&&i.head==n.from&&n.length){let o=/^\s*/.exec(t.state.sliceDoc(n.from,Math.min(n.from+100,n.to)))[0].length;o&&e.head!=n.from+o&&(i=It.cursor(n.from+o))}return i}const zqt=t=>ld(t,e=>tg(t,e,!0)),Kqt=t=>ld(t,e=>tg(t,e,!1)),qqt=t=>ld(t,e=>tg(t,e,!rl(t))),Xqt=t=>ld(t,e=>tg(t,e,rl(t))),Yqt=t=>ld(t,e=>It.cursor(t.lineBlockAt(e.head).from,1)),Jqt=t=>ld(t,e=>It.cursor(t.lineBlockAt(e.head).to,-1));function Zqt(t,e,r){let n=!1,i=KC(t.selection,o=>{let s=cp(t,o.head,-1)||cp(t,o.head,1)||o.head>0&&cp(t,o.head-1,1)||o.head<t.doc.length&&cp(t,o.head+1,-1);if(!s||!s.end)return o;n=!0;let a=s.start.from==o.head?s.end.to:s.end.from;return r?It.range(o.anchor,a):It.cursor(a)});return n?(e(jp(t,i)),!0):!1}const eXt=({state:t,dispatch:e})=>Zqt(t,e,!1);function tf(t,e){let r=KC(t.state.selection,n=>{let i=e(n);return It.range(n.anchor,i.head,i.goalColumn,i.bidiLevel||void 0)});return r.eq(t.state.selection)?!1:(t.dispatch(jp(t.state,r)),!0)}function UTe(t,e){return tf(t,r=>t.moveByChar(r,e))}const QTe=t=>UTe(t,!rl(t)),VTe=t=>UTe(t,rl(t));function $Te(t,e){return tf(t,r=>t.moveByGroup(r,e))}const tXt=t=>$Te(t,!rl(t)),rXt=t=>$Te(t,rl(t)),nXt=t=>tf(t,e=>qN(t.state,e,!rl(t))),iXt=t=>tf(t,e=>qN(t.state,e,rl(t)));function HTe(t,e){return tf(t,r=>t.moveVertically(r,e))}const GTe=t=>HTe(t,!1),WTe=t=>HTe(t,!0);function zTe(t,e){return tf(t,r=>t.moveVertically(r,e,_Te(t).height))}const zge=t=>zTe(t,!1),Kge=t=>zTe(t,!0),oXt=t=>tf(t,e=>tg(t,e,!0)),sXt=t=>tf(t,e=>tg(t,e,!1)),aXt=t=>tf(t,e=>tg(t,e,!rl(t))),lXt=t=>tf(t,e=>tg(t,e,rl(t))),cXt=t=>tf(t,e=>It.cursor(t.lineBlockAt(e.head).from)),uXt=t=>tf(t,e=>It.cursor(t.lineBlockAt(e.head).to)),qge=({state:t,dispatch:e})=>(e(jp(t,{anchor:0})),!0),Xge=({state:t,dispatch:e})=>(e(jp(t,{anchor:t.doc.length})),!0),Yge=({state:t,dispatch:e})=>(e(jp(t,{anchor:t.selection.main.anchor,head:0})),!0),Jge=({state:t,dispatch:e})=>(e(jp(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0),fXt=({state:t,dispatch:e})=>(e(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0),dXt=({state:t,dispatch:e})=>{let r=XN(t).map(({from:n,to:i})=>It.range(n,Math.min(i+1,t.doc.length)));return e(t.update({selection:It.create(r),userEvent:"select"})),!0},pXt=({state:t,dispatch:e})=>{let r=KC(t.selection,n=>{let i=Sa(t),o=i.resolveStack(n.from,1);if(n.empty){let s=i.resolveStack(n.from,-1);s.node.from>=o.node.from&&s.node.to<=o.node.to&&(o=s)}for(let s=o;s;s=s.next){let{node:a}=s;if((a.from<n.from&&a.to>=n.to||a.to>n.to&&a.from<=n.from)&&s.next)return It.range(a.to,a.from)}return n});return r.eq(t.selection)?!1:(e(jp(t,r)),!0)},AXt=({state:t,dispatch:e})=>{let r=t.selection,n=null;return r.ranges.length>1?n=It.create([r.main]):r.main.empty||(n=It.create([It.cursor(r.main.head)])),n?(e(jp(t,n)),!0):!1};function Qx(t,e){if(t.state.readOnly)return!1;let r="delete.selection",{state:n}=t,i=n.changeByRange(o=>{let{from:s,to:a}=o;if(s==a){let l=e(o);l<s?(r="delete.backward",l=Y8(t,l,!1)):l>s&&(r="delete.forward",l=Y8(t,l,!0)),s=Math.min(s,l),a=Math.max(a,l)}else s=Y8(t,s,!1),a=Y8(t,a,!0);return s==a?{range:o}:{changes:{from:s,to:a},range:It.cursor(s,s<o.head?-1:1)}});return i.changes.empty?!1:(t.dispatch(n.update(i,{scrollIntoView:!0,userEvent:r,effects:r=="delete.selection"?sr.announce.of(n.phrase("Selection deleted")):void 0})),!0)}function Y8(t,e,r){if(t instanceof sr)for(let n of t.state.facet(sr.atomicRanges).map(i=>i(t)))n.between(e,e,(i,o)=>{i<e&&o>e&&(e=r?o:i)});return e}const KTe=(t,e,r)=>Qx(t,n=>{let i=n.from,{state:o}=t,s=o.doc.lineAt(i),a,l;if(r&&!e&&i>s.from&&i<s.from+200&&!/[^ \t]/.test(a=s.text.slice(0,i-s.from))){if(a[a.length-1]==" ")return i-1;let c=zC(a,o.tabSize),u=c%eP(o)||eP(o);for(let f=0;f<u&&a[a.length-1-f]==" ";f++)i--;l=i}else l=ma(s.text,i-s.from,e,e)+s.from,l==i&&s.number!=(e?o.doc.lines:1)?l+=e?1:-1:!e&&/[\ufe00-\ufe0f]/.test(s.text.slice(l-s.from,i-s.from))&&(l=ma(s.text,l-s.from,!1,!1)+s.from);return l}),nq=t=>KTe(t,!1,!0),qTe=t=>KTe(t,!0,!1),XTe=(t,e)=>Qx(t,r=>{let n=r.head,{state:i}=t,o=i.doc.lineAt(n),s=i.charCategorizer(n);for(let a=null;;){if(n==(e?o.to:o.from)){n==r.head&&o.number!=(e?i.doc.lines:1)&&(n+=e?1:-1);break}let l=ma(o.text,n-o.from,e)+o.from,c=o.text.slice(Math.min(n,l)-o.from,Math.max(n,l)-o.from),u=s(c);if(a!=null&&u!=a)break;(c!=" "||n!=r.head)&&(a=u),n=l}return n}),YTe=t=>XTe(t,!1),hXt=t=>XTe(t,!0),mXt=t=>Qx(t,e=>{let r=t.lineBlockAt(e.head).to;return e.head<r?r:Math.min(t.state.doc.length,e.head+1)}),gXt=t=>Qx(t,e=>{let r=t.moveToLineBoundary(e,!1).head;return e.head>r?r:Math.max(0,e.head-1)}),vXt=t=>Qx(t,e=>{let r=t.moveToLineBoundary(e,!0).head;return e.head<r?r:Math.min(t.state.doc.length,e.head+1)}),yXt=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let r=t.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:ii.of(["",""])},range:It.cursor(n.from)}));return e(t.update(r,{scrollIntoView:!0,userEvent:"input"})),!0},BXt=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let r=t.changeByRange(n=>{if(!n.empty||n.from==0||n.from==t.doc.length)return{range:n};let i=n.from,o=t.doc.lineAt(i),s=i==o.from?i-1:ma(o.text,i-o.from,!1)+o.from,a=i==o.to?i+1:ma(o.text,i-o.from,!0)+o.from;return{changes:{from:s,to:a,insert:t.doc.slice(i,a).append(t.doc.slice(s,i))},range:It.cursor(a)}});return r.changes.empty?!1:(e(t.update(r,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function XN(t){let e=[],r=-1;for(let n of t.selection.ranges){let i=t.doc.lineAt(n.from),o=t.doc.lineAt(n.to);if(!n.empty&&n.to==o.from&&(o=t.doc.lineAt(n.to-1)),r>=i.number){let s=e[e.length-1];s.to=o.to,s.ranges.push(n)}else e.push({from:i.from,to:o.to,ranges:[n]});r=o.number+1}return e}function JTe(t,e,r){if(t.readOnly)return!1;let n=[],i=[];for(let o of XN(t)){if(r?o.to==t.doc.length:o.from==0)continue;let s=t.doc.lineAt(r?o.to+1:o.from-1),a=s.length+1;if(r){n.push({from:o.to,to:s.to},{from:o.from,insert:s.text+t.lineBreak});for(let l of o.ranges)i.push(It.range(Math.min(t.doc.length,l.anchor+a),Math.min(t.doc.length,l.head+a)))}else{n.push({from:s.from,to:o.from},{from:o.to,insert:t.lineBreak+s.text});for(let l of o.ranges)i.push(It.range(l.anchor-a,l.head-a))}}return n.length?(e(t.update({changes:n,scrollIntoView:!0,selection:It.create(i,t.selection.mainIndex),userEvent:"move.line"})),!0):!1}const CXt=({state:t,dispatch:e})=>JTe(t,e,!1),bXt=({state:t,dispatch:e})=>JTe(t,e,!0);function ZTe(t,e,r){if(t.readOnly)return!1;let n=[];for(let i of XN(t))r?n.push({from:i.from,insert:t.doc.slice(i.from,i.to)+t.lineBreak}):n.push({from:i.to,insert:t.lineBreak+t.doc.slice(i.from,i.to)});return e(t.update({changes:n,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const wXt=({state:t,dispatch:e})=>ZTe(t,e,!1),xXt=({state:t,dispatch:e})=>ZTe(t,e,!0),SXt=t=>{if(t.state.readOnly)return!1;let{state:e}=t,r=e.changes(XN(e).map(({from:i,to:o})=>(i>0?i--:o<e.doc.length&&o++,{from:i,to:o}))),n=KC(e.selection,i=>{let o;if(t.lineWrapping){let s=t.lineBlockAt(i.head),a=t.coordsAtPos(i.head,i.assoc||1);a&&(o=s.bottom+t.documentTop-a.bottom+t.defaultLineHeight/2)}return t.moveVertically(i,!0,o)}).map(r);return t.dispatch({changes:r,selection:n,scrollIntoView:!0,userEvent:"delete.line"}),!0};function EXt(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let r=Sa(t).resolveInner(e),n=r.childBefore(e),i=r.childAfter(e),o;return n&&i&&n.to<=e&&i.from>=e&&(o=n.type.prop(Mn.closedBy))&&o.indexOf(i.name)>-1&&t.doc.lineAt(n.to).from==t.doc.lineAt(i.from).from&&!/\S/.test(t.sliceDoc(n.to,i.from))?{from:n.to,to:i.from}:null}const Zge=eLe(!1),DXt=eLe(!0);function eLe(t){return({state:e,dispatch:r})=>{if(e.readOnly)return!1;let n=e.changeByRange(i=>{let{from:o,to:s}=i,a=e.doc.lineAt(o),l=!t&&o==s&&EXt(e,o);t&&(o=s=(s<=a.to?a:e.doc.lineAt(s)).to);let c=new GN(e,{simulateBreak:o,simulateDoubleBreak:!!l}),u=hte(c,o);for(u==null&&(u=zC(/^\s*/.exec(e.doc.lineAt(o).text)[0],e.tabSize));s<a.to&&/\s/.test(a.text[s-a.from]);)s++;l?{from:o,to:s}=l:o>a.from&&o<a.from+100&&!/\S/.test(a.text.slice(0,o))&&(o=a.from);let f=["",m3(e,u)];return l&&f.push(m3(e,c.lineIndent(a.from,-1))),{changes:{from:o,to:s,insert:ii.of(f)},range:It.cursor(o+1+f[1].length)}});return r(e.update(n,{scrollIntoView:!0,userEvent:"input"})),!0}}function Bte(t,e){let r=-1;return t.changeByRange(n=>{let i=[];for(let s=n.from;s<=n.to;){let a=t.doc.lineAt(s);a.number>r&&(n.empty||n.to>a.from)&&(e(a,i,n),r=a.number),s=a.to+1}let o=t.changes(i);return{changes:i,range:It.range(o.mapPos(n.anchor,1),o.mapPos(n.head,1))}})}const kXt=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let r=Object.create(null),n=new GN(t,{overrideIndentation:o=>{let s=r[o];return s??-1}}),i=Bte(t,(o,s,a)=>{let l=hte(n,o.from);if(l==null)return;/\S/.test(o.text)||(l=0);let c=/^\s*/.exec(o.text)[0],u=m3(t,l);(c!=u||a.from<o.from+c.length)&&(r[o.from]=l,s.push({from:o.from,to:o.from+c.length,insert:u}))});return i.changes.empty||e(t.update(i,{userEvent:"indent"})),!0},tLe=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(Bte(t,(r,n)=>{n.push({from:r.from,insert:t.facet(HN)})}),{userEvent:"input.indent"})),!0),rLe=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(Bte(t,(r,n)=>{let i=/^\s*/.exec(r.text)[0];if(!i)return;let o=zC(i,t.tabSize),s=0,a=m3(t,Math.max(0,o-eP(t)));for(;s<i.length&&s<a.length&&i.charCodeAt(s)==a.charCodeAt(s);)s++;n.push({from:r.from+s,to:r.from+i.length,insert:a.slice(s)})}),{userEvent:"delete.dedent"})),!0),OXt=t=>(t.setTabFocusMode(),!0),PXt=[{key:"Ctrl-b",run:NTe,shift:QTe,preventDefault:!0},{key:"Ctrl-f",run:FTe,shift:VTe},{key:"Ctrl-p",run:RTe,shift:GTe},{key:"Ctrl-n",run:MTe,shift:WTe},{key:"Ctrl-a",run:Yqt,shift:cXt},{key:"Ctrl-e",run:Jqt,shift:uXt},{key:"Ctrl-d",run:qTe},{key:"Ctrl-h",run:nq},{key:"Ctrl-k",run:mXt},{key:"Ctrl-Alt-h",run:YTe},{key:"Ctrl-o",run:yXt},{key:"Ctrl-t",run:BXt},{key:"Ctrl-v",run:rq}],IXt=[{key:"ArrowLeft",run:NTe,shift:QTe,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:Vqt,shift:tXt,preventDefault:!0},{mac:"Cmd-ArrowLeft",run:qqt,shift:aXt,preventDefault:!0},{key:"ArrowRight",run:FTe,shift:VTe,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:$qt,shift:rXt,preventDefault:!0},{mac:"Cmd-ArrowRight",run:Xqt,shift:lXt,preventDefault:!0},{key:"ArrowUp",run:RTe,shift:GTe,preventDefault:!0},{mac:"Cmd-ArrowUp",run:qge,shift:Yge},{mac:"Ctrl-ArrowUp",run:Wge,shift:zge},{key:"ArrowDown",run:MTe,shift:WTe,preventDefault:!0},{mac:"Cmd-ArrowDown",run:Xge,shift:Jge},{mac:"Ctrl-ArrowDown",run:rq,shift:Kge},{key:"PageUp",run:Wge,shift:zge},{key:"PageDown",run:rq,shift:Kge},{key:"Home",run:Kqt,shift:sXt,preventDefault:!0},{key:"Mod-Home",run:qge,shift:Yge},{key:"End",run:zqt,shift:oXt,preventDefault:!0},{key:"Mod-End",run:Xge,shift:Jge},{key:"Enter",run:Zge,shift:Zge},{key:"Mod-a",run:fXt},{key:"Backspace",run:nq,shift:nq},{key:"Delete",run:qTe},{key:"Mod-Backspace",mac:"Alt-Backspace",run:YTe},{key:"Mod-Delete",mac:"Alt-Delete",run:hXt},{mac:"Mod-Backspace",run:gXt},{mac:"Mod-Delete",run:vXt}].concat(PXt.map(t=>({mac:t.key,run:t.run,shift:t.shift}))),NXt=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:Gqt,shift:nXt},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:Wqt,shift:iXt},{key:"Alt-ArrowUp",run:CXt},{key:"Shift-Alt-ArrowUp",run:wXt},{key:"Alt-ArrowDown",run:bXt},{key:"Shift-Alt-ArrowDown",run:xXt},{key:"Escape",run:AXt},{key:"Mod-Enter",run:DXt},{key:"Alt-l",mac:"Ctrl-l",run:dXt},{key:"Mod-i",run:pXt,preventDefault:!0},{key:"Mod-[",run:rLe},{key:"Mod-]",run:tLe},{key:"Mod-Alt-\\",run:kXt},{key:"Shift-Mod-k",run:SXt},{key:"Shift-Mod-\\",run:eXt},{key:"Mod-/",run:wqt},{key:"Alt-A",run:Sqt},{key:"Ctrl-m",mac:"Shift-Alt-m",run:OXt}].concat(IXt),FXt={key:"Tab",run:tLe,shift:rLe},e1e=typeof String.prototype.normalize=="function"?t=>t.normalize("NFKD"):t=>t;class rC{constructor(e,r,n=0,i=e.length,o,s){this.test=s,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,i),this.bufferStart=n,this.normalize=o?a=>o(e1e(a)):e1e,this.query=this.normalize(r)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return Wl(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let r=qee(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=ep(e);let i=this.normalize(r);if(i.length)for(let o=0,s=n;;o++){let a=i.charCodeAt(o),l=this.match(a,s,this.bufferPos+this.bufferStart);if(o==i.length-1){if(l)return this.value=l,this;break}s==n&&o<r.length&&r.charCodeAt(o)==a&&s++}}}match(e,r,n){let i=null;for(let o=0;o<this.matches.length;o+=2){let s=this.matches[o],a=!1;this.query.charCodeAt(s)==e&&(s==this.query.length-1?i={from:this.matches[o+1],to:n}:(this.matches[o]++,a=!0)),a||(this.matches.splice(o,2),o-=2)}return this.query.charCodeAt(0)==e&&(this.query.length==1?i={from:r,to:n}:this.matches.push(1,r)),i&&this.test&&!this.test(i.from,i.to,this.buffer,this.bufferStart)&&(i=null),i}}typeof Symbol<"u"&&(rC.prototype[Symbol.iterator]=function(){return this});const nLe={from:-1,to:-1,match:/.*/.exec("")},Cte="gm"+(/x/.unicode==null?"":"u");class iLe{constructor(e,r,n,i=0,o=e.length){if(this.text=e,this.to=o,this.curLine="",this.done=!1,this.value=nLe,/\\[sWDnr]|\n|\r|\[\^/.test(r))return new oLe(e,r,n,i,o);this.re=new RegExp(r,Cte+(n?.ignoreCase?"i":"")),this.test=n?.test,this.iter=e.iter();let s=e.lineAt(i);this.curLineStart=s.from,this.matchPos=iP(e,i),this.getLine(this.curLineStart)}getLine(e){this.iter.next(e),this.iter.lineBreak?this.curLine="":(this.curLine=this.iter.value,this.curLineStart+this.curLine.length>this.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let r=this.matchPos<=this.to&&this.re.exec(this.curLine);if(r){let n=this.curLineStart+r.index,i=n+r[0].length;if(this.matchPos=iP(this.text,i+(n==i?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(n<i||n>this.value.to)&&(!this.test||this.test(n,i,r)))return this.value={from:n,to:i,match:r},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length<this.to)this.nextLine(),e=0;else return this.done=!0,this}}}const wU=new WeakMap;class W2{constructor(e,r){this.from=e,this.text=r}get to(){return this.from+this.text.length}static get(e,r,n){let i=wU.get(e);if(!i||i.from>=n||i.to<=r){let a=new W2(r,e.sliceString(r,n));return wU.set(e,a),a}if(i.from==r&&i.to==n)return i;let{text:o,from:s}=i;return s>r&&(o=e.sliceString(r,s)+o,s=r),i.to<n&&(o+=e.sliceString(i.to,n)),wU.set(e,new W2(s,o)),new W2(r,o.slice(r-s,n-s))}}class oLe{constructor(e,r,n,i,o){this.text=e,this.to=o,this.done=!1,this.value=nLe,this.matchPos=iP(e,i),this.re=new RegExp(r,Cte+(n?.ignoreCase?"i":"")),this.test=n?.test,this.flat=W2.get(e,i,this.chunkEnd(i+5e3))}chunkEnd(e){return e>=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,r=this.re.exec(this.flat.text);if(r&&!r[0]&&r.index==e&&(this.re.lastIndex=e+1,r=this.re.exec(this.flat.text)),r){let n=this.flat.from+r.index,i=n+r[0].length;if((this.flat.to>=this.to||r.index+r[0].length<=this.flat.text.length-10)&&(!this.test||this.test(n,i,r)))return this.value={from:n,to:i,match:r},this.matchPos=iP(this.text,i+(n==i?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=W2.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(iLe.prototype[Symbol.iterator]=oLe.prototype[Symbol.iterator]=function(){return this});function TXt(t){try{return new RegExp(t,Cte),!0}catch{return!1}}function iP(t,e){if(e>=t.length)return e;let r=t.lineAt(e),n;for(;e<r.to&&(n=r.text.charCodeAt(e-r.from))>=56320&&n<57344;)e++;return e}function iq(t){let e=String(t.state.doc.lineAt(t.state.selection.main.head).number),r=Vi("input",{class:"cm-textfield",name:"line",value:e}),n=Vi("form",{class:"cm-gotoLine",onkeydown:o=>{o.keyCode==27?(o.preventDefault(),t.dispatch({effects:M5.of(!1)}),t.focus()):o.keyCode==13&&(o.preventDefault(),i())},onsubmit:o=>{o.preventDefault(),i()}},Vi("label",t.state.phrase("Go to line"),": ",r)," ",Vi("button",{class:"cm-button",type:"submit"},t.state.phrase("go")),Vi("button",{name:"close",onclick:()=>{t.dispatch({effects:M5.of(!1)}),t.focus()},"aria-label":t.state.phrase("close"),type:"button"},["×"]));function i(){let o=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(r.value);if(!o)return;let{state:s}=t,a=s.doc.lineAt(s.selection.main.head),[,l,c,u,f]=o,d=u?+u.slice(1):0,p=c?+c:a.number;if(c&&f){let g=p/100;l&&(g=g*(l=="-"?-1:1)+a.number/s.doc.lines),p=Math.round(s.doc.lines*g)}else c&&l&&(p=p*(l=="-"?-1:1)+a.number);let h=s.doc.line(Math.max(1,Math.min(s.doc.lines,p))),A=It.cursor(h.from+Math.max(0,Math.min(d,h.length)));t.dispatch({effects:[M5.of(!1),sr.scrollIntoView(A.from,{y:"center"})],selection:A}),t.focus()}return{dom:n}}const M5=wn.define(),t1e=ka.define({create(){return!0},update(t,e){for(let r of e.effects)r.is(M5)&&(t=r.value);return t},provide:t=>A3.from(t,e=>e?iq:null)}),LXt=t=>{let e=p3(t,iq);if(!e){let r=[M5.of(!0)];t.state.field(t1e,!1)==null&&r.push(wn.appendConfig.of([t1e,RXt])),t.dispatch({effects:r}),e=p3(t,iq)}return e&&e.dom.querySelector("input").select(),!0},RXt=sr.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px",position:"relative","& label":{fontSize:"80%"},"& [name=close]":{position:"absolute",top:"0",bottom:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:"0"}}}),MXt={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},sLe=Cr.define({combine(t){return _p(t,MXt,{highlightWordAroundCursor:(e,r)=>e||r,minSelectionLength:Math.min,maxMatches:Math.min})}});function _Xt(t){let e=[$Xt,VXt];return t&&e.push(sLe.of(t)),e}const jXt=_r.mark({class:"cm-selectionMatch"}),UXt=_r.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function r1e(t,e,r,n){return(r==0||t(e.sliceDoc(r-1,r))!=bo.Word)&&(n==e.doc.length||t(e.sliceDoc(n,n+1))!=bo.Word)}function QXt(t,e,r,n){return t(e.sliceDoc(r,r+1))==bo.Word&&t(e.sliceDoc(n-1,n))==bo.Word}const VXt=Wo.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.selectionSet||t.docChanged||t.viewportChanged)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=t.state.facet(sLe),{state:r}=t,n=r.selection;if(n.ranges.length>1)return _r.none;let i=n.main,o,s=null;if(i.empty){if(!e.highlightWordAroundCursor)return _r.none;let l=r.wordAt(i.head);if(!l)return _r.none;s=r.charCategorizer(i.head),o=r.sliceDoc(l.from,l.to)}else{let l=i.to-i.from;if(l<e.minSelectionLength||l>200)return _r.none;if(e.wholeWords){if(o=r.sliceDoc(i.from,i.to),s=r.charCategorizer(i.head),!(r1e(s,r,i.from,i.to)&&QXt(s,r,i.from,i.to)))return _r.none}else if(o=r.sliceDoc(i.from,i.to),!o)return _r.none}let a=[];for(let l of t.visibleRanges){let c=new rC(r.doc,o,l.from,l.to);for(;!c.next().done;){let{from:u,to:f}=c.value;if((!s||r1e(s,r,u,f))&&(i.empty&&u<=i.from&&f>=i.to?a.push(UXt.range(u,f)):(u>=i.to||f<=i.from)&&a.push(jXt.range(u,f)),a.length>e.maxMatches))return _r.none}}return _r.set(a)}},{decorations:t=>t.decorations}),$Xt=sr.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),HXt=({state:t,dispatch:e})=>{let{selection:r}=t,n=It.create(r.ranges.map(i=>t.wordAt(i.head)||It.cursor(i.head)),r.mainIndex);return n.eq(r)?!1:(e(t.update({selection:n})),!0)};function GXt(t,e){let{main:r,ranges:n}=t.selection,i=t.wordAt(r.head),o=i&&i.from==r.from&&i.to==r.to;for(let s=!1,a=new rC(t.doc,e,n[n.length-1].to);;)if(a.next(),a.done){if(s)return null;a=new rC(t.doc,e,0,Math.max(0,n[n.length-1].from-1)),s=!0}else{if(s&&n.some(l=>l.from==a.value.from))continue;if(o){let l=t.wordAt(a.value.from);if(!l||l.from!=a.value.from||l.to!=a.value.to)continue}return a.value}}const WXt=({state:t,dispatch:e})=>{let{ranges:r}=t.selection;if(r.some(o=>o.from===o.to))return HXt({state:t,dispatch:e});let n=t.sliceDoc(r[0].from,r[0].to);if(t.selection.ranges.some(o=>t.sliceDoc(o.from,o.to)!=n))return!1;let i=GXt(t,n);return i?(e(t.update({selection:t.selection.addRange(It.range(i.from,i.to),!1),effects:sr.scrollIntoView(i.to)})),!0):!1},qC=Cr.define({combine(t){return _p(t,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new iYt(e),scrollToMatch:e=>sr.scrollIntoView(e)})}});class aLe{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||TXt(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(r,n)=>n=="n"?` `:n=="r"?"\r":n=="t"?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new XXt(this):new KXt(this)}getCursor(e,r=0,n){let i=e.doc?e:qn.create({doc:e});return n==null&&(n=i.doc.length),this.regexp?Gy(this,i,r,n):Hy(this,i,r,n)}}class lLe{constructor(e){this.spec=e}}function Hy(t,e,r,n){return new rC(e.doc,t.unquoted,r,n,t.caseSensitive?void 0:i=>i.toLowerCase(),t.wholeWord?zXt(e.doc,e.charCategorizer(e.selection.main.head)):void 0)}function zXt(t,e){return(r,n,i,o)=>((o>r||o+i.length<n)&&(o=Math.max(0,r-2),i=t.sliceString(o,Math.min(t.length,n+2))),(e(oP(i,r-o))!=bo.Word||e(sP(i,r-o))!=bo.Word)&&(e(sP(i,n-o))!=bo.Word||e(oP(i,n-o))!=bo.Word))}class KXt extends lLe{constructor(e){super(e)}nextMatch(e,r,n){let i=Hy(this.spec,e,n,e.doc.length).nextOverlapping();if(i.done){let o=Math.min(e.doc.length,r+this.spec.unquoted.length);i=Hy(this.spec,e,0,o).nextOverlapping()}return i.done||i.value.from==r&&i.value.to==n?null:i.value}prevMatchInRange(e,r,n){for(let i=n;;){let o=Math.max(r,i-1e4-this.spec.unquoted.length),s=Hy(this.spec,e,o,i),a=null;for(;!s.nextOverlapping().done;)a=s.value;if(a)return a;if(o==r)return null;i-=1e4}}prevMatch(e,r,n){let i=this.prevMatchInRange(e,0,r);return i||(i=this.prevMatchInRange(e,Math.max(0,n-this.spec.unquoted.length),e.doc.length)),i&&(i.from!=r||i.to!=n)?i:null}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,r){let n=Hy(this.spec,e,0,e.doc.length),i=[];for(;!n.next().done;){if(i.length>=r)return null;i.push(n.value)}return i}highlight(e,r,n,i){let o=Hy(this.spec,e,Math.max(0,r-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!o.next().done;)i(o.value.from,o.value.to)}}function Gy(t,e,r,n){return new iLe(e.doc,t.search,{ignoreCase:!t.caseSensitive,test:t.wholeWord?qXt(e.charCategorizer(e.selection.main.head)):void 0},r,n)}function oP(t,e){return t.slice(ma(t,e,!1),e)}function sP(t,e){return t.slice(e,ma(t,e))}function qXt(t){return(e,r,n)=>!n[0].length||(t(oP(n.input,n.index))!=bo.Word||t(sP(n.input,n.index))!=bo.Word)&&(t(sP(n.input,n.index+n[0].length))!=bo.Word||t(oP(n.input,n.index+n[0].length))!=bo.Word)}class XXt extends lLe{nextMatch(e,r,n){let i=Gy(this.spec,e,n,e.doc.length).next();return i.done&&(i=Gy(this.spec,e,0,r).next()),i.done?null:i.value}prevMatchInRange(e,r,n){for(let i=1;;i++){let o=Math.max(r,n-i*1e4),s=Gy(this.spec,e,o,n),a=null;for(;!s.next().done;)a=s.value;if(a&&(o==r||a.from>o+10))return a;if(o==r)return null}}prevMatch(e,r,n){return this.prevMatchInRange(e,0,r)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&]|\d+)/g,(r,n)=>{if(n=="&")return e.match[0];if(n=="$")return"$";for(let i=n.length;i>0;i--){let o=+n.slice(0,i);if(o>0&&o<e.match.length)return e.match[o]+n.slice(i)}return r})}matchAll(e,r){let n=Gy(this.spec,e,0,e.doc.length),i=[];for(;!n.next().done;){if(i.length>=r)return null;i.push(n.value)}return i}highlight(e,r,n,i){let o=Gy(this.spec,e,Math.max(0,r-250),Math.min(n+250,e.doc.length));for(;!o.next().done;)i(o.value.from,o.value.to)}}const g3=wn.define(),bte=wn.define(),cm=ka.define({create(t){return new xU(oq(t).create(),null)},update(t,e){for(let r of e.effects)r.is(g3)?t=new xU(r.value.create(),t.panel):r.is(bte)&&(t=new xU(t.query,r.value?wte:null));return t},provide:t=>A3.from(t,e=>e.panel)});class xU{constructor(e,r){this.query=e,this.panel=r}}const YXt=_r.mark({class:"cm-searchMatch"}),JXt=_r.mark({class:"cm-searchMatch cm-searchMatch-selected"}),ZXt=Wo.fromClass(class{constructor(t){this.view=t,this.decorations=this.highlight(t.state.field(cm))}update(t){let e=t.state.field(cm);(e!=t.startState.field(cm)||t.docChanged||t.selectionSet||t.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:t,panel:e}){if(!e||!t.spec.valid)return _r.none;let{view:r}=this,n=new hh;for(let i=0,o=r.visibleRanges,s=o.length;i<s;i++){let{from:a,to:l}=o[i];for(;i<s-1&&l>o[i+1].from-2*250;)l=o[++i].to;t.highlight(r.state,a,l,(c,u)=>{let f=r.state.selection.ranges.some(d=>d.from==c&&d.to==u);n.add(c,u,f?JXt:YXt)})}return n.finish()}},{decorations:t=>t.decorations});function Vx(t){return e=>{let r=e.state.field(cm,!1);return r&&r.query.spec.valid?t(e,r):fLe(e)}}const aP=Vx((t,{query:e})=>{let{to:r}=t.state.selection.main,n=e.nextMatch(t.state,r,r);if(!n)return!1;let i=It.single(n.from,n.to),o=t.state.facet(qC);return t.dispatch({selection:i,effects:[xte(t,n),o.scrollToMatch(i.main,t)],userEvent:"select.search"}),uLe(t),!0}),lP=Vx((t,{query:e})=>{let{state:r}=t,{from:n}=r.selection.main,i=e.prevMatch(r,n,n);if(!i)return!1;let o=It.single(i.from,i.to),s=t.state.facet(qC);return t.dispatch({selection:o,effects:[xte(t,i),s.scrollToMatch(o.main,t)],userEvent:"select.search"}),uLe(t),!0}),eYt=Vx((t,{query:e})=>{let r=e.matchAll(t.state,1e3);return!r||!r.length?!1:(t.dispatch({selection:It.create(r.map(n=>It.range(n.from,n.to))),userEvent:"select.search.matches"}),!0)}),tYt=({state:t,dispatch:e})=>{let r=t.selection;if(r.ranges.length>1||r.main.empty)return!1;let{from:n,to:i}=r.main,o=[],s=0;for(let a=new rC(t.doc,t.sliceDoc(n,i));!a.next().done;){if(o.length>1e3)return!1;a.value.from==n&&(s=o.length),o.push(It.range(a.value.from,a.value.to))}return e(t.update({selection:It.create(o,s),userEvent:"select.search.matches"})),!0},n1e=Vx((t,{query:e})=>{let{state:r}=t,{from:n,to:i}=r.selection.main;if(r.readOnly)return!1;let o=e.nextMatch(r,n,n);if(!o)return!1;let s=o,a=[],l,c,u=[];s.from==n&&s.to==i&&(c=r.toText(e.getReplacement(s)),a.push({from:s.from,to:s.to,insert:c}),s=e.nextMatch(r,s.from,s.to),u.push(sr.announce.of(r.phrase("replaced match on line $",r.doc.lineAt(n).number)+".")));let f=t.state.changes(a);return s&&(l=It.single(s.from,s.to).map(f),u.push(xte(t,s)),u.push(r.facet(qC).scrollToMatch(l.main,t))),t.dispatch({changes:f,selection:l,effects:u,userEvent:"input.replace"}),!0}),rYt=Vx((t,{query:e})=>{if(t.state.readOnly)return!1;let r=e.matchAll(t.state,1e9).map(i=>{let{from:o,to:s}=i;return{from:o,to:s,insert:e.getReplacement(i)}});if(!r.length)return!1;let n=t.state.phrase("replaced $ matches",r.length)+".";return t.dispatch({changes:r,effects:sr.announce.of(n),userEvent:"input.replace.all"}),!0});function wte(t){return t.state.facet(qC).createPanel(t)}function oq(t,e){var r,n,i,o,s;let a=t.selection.main,l=a.empty||a.to>a.from+100?"":t.sliceDoc(a.from,a.to);if(e&&!l)return e;let c=t.facet(qC);return new aLe({search:((r=e?.literal)!==null&&r!==void 0?r:c.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:(n=e?.caseSensitive)!==null&&n!==void 0?n:c.caseSensitive,literal:(i=e?.literal)!==null&&i!==void 0?i:c.literal,regexp:(o=e?.regexp)!==null&&o!==void 0?o:c.regexp,wholeWord:(s=e?.wholeWord)!==null&&s!==void 0?s:c.wholeWord})}function cLe(t){let e=p3(t,wte);return e&&e.dom.querySelector("[main-field]")}function uLe(t){let e=cLe(t);e&&e==t.root.activeElement&&e.select()}const fLe=t=>{let e=t.state.field(cm,!1);if(e&&e.panel){let r=cLe(t);if(r&&r!=t.root.activeElement){let n=oq(t.state,e.query.spec);n.valid&&t.dispatch({effects:g3.of(n)}),r.focus(),r.select()}}else t.dispatch({effects:[bte.of(!0),e?g3.of(oq(t.state,e.query.spec)):wn.appendConfig.of(sYt)]});return!0},dLe=t=>{let e=t.state.field(cm,!1);if(!e||!e.panel)return!1;let r=p3(t,wte);return r&&r.dom.contains(t.root.activeElement)&&t.focus(),t.dispatch({effects:bte.of(!1)}),!0},nYt=[{key:"Mod-f",run:fLe,scope:"editor search-panel"},{key:"F3",run:aP,shift:lP,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:aP,shift:lP,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:dLe,scope:"editor search-panel"},{key:"Mod-Shift-l",run:tYt},{key:"Mod-Alt-g",run:LXt},{key:"Mod-d",run:WXt,preventDefault:!0}];class iYt{constructor(e){this.view=e;let r=this.query=e.state.field(cm).query.spec;this.commit=this.commit.bind(this),this.searchField=Vi("input",{value:r.search,placeholder:vc(e,"Find"),"aria-label":vc(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=Vi("input",{value:r.replace,placeholder:vc(e,"Replace"),"aria-label":vc(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=Vi("input",{type:"checkbox",name:"case",form:"",checked:r.caseSensitive,onchange:this.commit}),this.reField=Vi("input",{type:"checkbox",name:"re",form:"",checked:r.regexp,onchange:this.commit}),this.wordField=Vi("input",{type:"checkbox",name:"word",form:"",checked:r.wholeWord,onchange:this.commit});function n(i,o,s){return Vi("button",{class:"cm-button",name:i,onclick:o,type:"button"},s)}this.dom=Vi("div",{onkeydown:i=>this.keydown(i),class:"cm-search"},[this.searchField,n("next",()=>aP(e),[vc(e,"next")]),n("prev",()=>lP(e),[vc(e,"previous")]),n("select",()=>eYt(e),[vc(e,"all")]),Vi("label",null,[this.caseField,vc(e,"match case")]),Vi("label",null,[this.reField,vc(e,"regexp")]),Vi("label",null,[this.wordField,vc(e,"by word")]),...e.state.readOnly?[]:[Vi("br"),this.replaceField,n("replace",()=>n1e(e),[vc(e,"replace")]),n("replaceAll",()=>rYt(e),[vc(e,"replace all")])],Vi("button",{name:"close",onclick:()=>dLe(e),"aria-label":vc(e,"close"),type:"button"},["×"])])}commit(){let e=new aLe({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:g3.of(e)}))}keydown(e){dzt(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?lP:aP)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),n1e(this.view))}update(e){for(let r of e.transactions)for(let n of r.effects)n.is(g3)&&!n.value.eq(this.query)&&this.setQuery(n.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(qC).top}}function vc(t,e){return t.state.phrase(e)}const J8=30,Z8=/[\s\.,:;?!]/;function xte(t,{from:e,to:r}){let n=t.state.doc.lineAt(e),i=t.state.doc.lineAt(r).to,o=Math.max(n.from,e-J8),s=Math.min(i,r+J8),a=t.state.sliceDoc(o,s);if(o!=n.from){for(let l=0;l<J8;l++)if(!Z8.test(a[l+1])&&Z8.test(a[l])){a=a.slice(l);break}}if(s!=i){for(let l=a.length-1;l>a.length-J8;l--)if(!Z8.test(a[l-1])&&Z8.test(a[l])){a=a.slice(0,l);break}}return sr.announce.of(`${t.state.phrase("current match")}. ${a} ${t.state.phrase("on line")} ${n.number}.`)}const oYt=sr.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),sYt=[cm,Iv.low(ZXt),oYt];class pLe{constructor(e,r,n,i){this.state=e,this.pos=r,this.explicit=n,this.view=i,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let r=Sa(this.state).resolveInner(this.pos,-1);for(;r&&e.indexOf(r.name)<0;)r=r.parent;return r?{from:r.from,to:this.pos,text:this.state.sliceDoc(r.from,this.pos),type:r.type}:null}matchBefore(e){let r=this.state.doc.lineAt(this.pos),n=Math.max(r.from,this.pos-250),i=r.text.slice(n-r.from,this.pos-r.from),o=i.search(ALe(e,!1));return o<0?null:{from:n+o,to:this.pos,text:i.slice(o)}}get aborted(){return this.abortListeners==null}addEventListener(e,r,n){e=="abort"&&this.abortListeners&&(this.abortListeners.push(r),n&&n.onDocChange&&(this.abortOnDocChange=!0))}}function i1e(t){let e=Object.keys(t).join(""),r=/\w/.test(e);return r&&(e=e.replace(/\w/g,"")),`[${r?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function aYt(t){let e=Object.create(null),r=Object.create(null);for(let{label:i}of t){e[i[0]]=!0;for(let o=1;o<i.length;o++)r[i[o]]=!0}let n=i1e(e)+i1e(r)+"*$";return[new RegExp("^"+n),new RegExp(n)]}function lYt(t){let e=t.map(i=>typeof i=="string"?{label:i}:i),[r,n]=e.every(i=>/^\w+$/.test(i.label))?[/\w*$/,/\w+$/]:aYt(e);return i=>{let o=i.matchBefore(n);return o||i.explicit?{from:o?o.from:i.pos,options:e,validFor:r}:null}}class o1e{constructor(e,r,n,i){this.completion=e,this.source=r,this.match=n,this.score=i}}function D1(t){return t.selection.main.from}function ALe(t,e){var r;let{source:n}=t,i=e&&n[0]!="^",o=n[n.length-1]!="$";return!i&&!o?t:new RegExp(`${i?"^":""}(?:${n})${o?"$":""}`,(r=t.flags)!==null&&r!==void 0?r:t.ignoreCase?"i":"")}const hLe=Mp.define();function cYt(t,e,r,n){let{main:i}=t.selection,o=r-i.from,s=n-i.from;return Object.assign(Object.assign({},t.changeByRange(a=>{if(a!=i&&r!=n&&t.sliceDoc(a.from+o,a.from+s)!=t.sliceDoc(r,n))return{range:a};let l=t.toText(e);return{changes:{from:a.from+o,to:n==i.from?a.to:a.from+s,insert:l},range:It.cursor(a.from+o+l.length)}})),{scrollIntoView:!0,userEvent:"input.complete"})}const s1e=new WeakMap;function uYt(t){if(!Array.isArray(t))return t;let e=s1e.get(t);return e||s1e.set(t,e=lYt(t)),e}const cP=wn.define(),v3=wn.define();class fYt{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let r=0;r<e.length;){let n=Wl(e,r),i=ep(n);this.chars.push(n);let o=e.slice(r,r+i),s=o.toUpperCase();this.folded.push(Wl(s==o?o.toLowerCase():s,0)),r+=i}this.astral=e.length!=this.chars.length}ret(e,r){return this.score=e,this.matched=r,this}match(e){if(this.pattern.length==0)return this.ret(-100,[]);if(e.length<this.pattern.length)return null;let{chars:r,folded:n,any:i,precise:o,byWord:s}=this;if(r.length==1){let v=Wl(e,0),y=ep(v),b=y==e.length?0:-100;if(v!=r[0])if(v==n[0])b+=-200;else return null;return this.ret(b,[0,y])}let a=e.indexOf(this.pattern);if(a==0)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);let l=r.length,c=0;if(a<0){for(let v=0,y=Math.min(e.length,200);v<y&&c<l;){let b=Wl(e,v);(b==r[c]||b==n[c])&&(i[c++]=v),v+=ep(b)}if(c<l)return null}let u=0,f=0,d=!1,p=0,h=-1,A=-1,g=/[a-z]/.test(e),m=!0;for(let v=0,y=Math.min(e.length,200),b=0;v<y&&f<l;){let B=Wl(e,v);a<0&&(u<l&&B==r[u]&&(o[u++]=v),p<l&&(B==r[p]||B==n[p]?(p==0&&(h=v),A=v+1,p++):p=0));let S,w=B<255?B>=48&&B<=57||B>=97&&B<=122?2:B>=65&&B<=90?1:0:(S=qee(B))!=S.toLowerCase()?1:S!=S.toUpperCase()?2:0;(!v||w==1&&g||b==0&&w!=0)&&(r[f]==B||n[f]==B&&(d=!0)?s[f++]=v:s.length&&(m=!1)),b=w,v+=ep(B)}return f==l&&s[0]==0&&m?this.result(-100+(d?-200:0),s,e):p==l&&h==0?this.ret(-200-e.length+(A==e.length?0:-100),[0,A]):a>-1?this.ret(-700-e.length,[a,a+this.pattern.length]):p==l?this.ret(-200+-700-e.length,[h,A]):f==l?this.result(-100+(d?-200:0)+-700+(m?0:-1100),s,e):r.length==2?null:this.result((i[0]?-700:0)+-200+-1100,i,e)}result(e,r,n){let i=[],o=0;for(let s of r){let a=s+(this.astral?ep(Wl(n,s)):1);o&&i[o-1]==s?i[o-1]=a:(i[o++]=s,i[o++]=a)}return this.ret(e-n.length,i)}}class dYt{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length<this.pattern.length)return null;let r=e.slice(0,this.pattern.length),n=r==this.pattern?0:r.toLowerCase()==this.folded?-200:null;return n==null?null:(this.matched=[0,r.length],this.score=n+(e.length==this.pattern.length?0:-100),this)}}const Js=Cr.define({combine(t){return _p(t,{activateOnTyping:!0,activateOnCompletion:()=>!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:pYt,filterStrict:!1,compareCompletions:(e,r)=>e.label.localeCompare(r.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,r)=>e&&r,closeOnBlur:(e,r)=>e&&r,icons:(e,r)=>e&&r,tooltipClass:(e,r)=>n=>a1e(e(n),r(n)),optionClass:(e,r)=>n=>a1e(e(n),r(n)),addToOptions:(e,r)=>e.concat(r),filterStrict:(e,r)=>e||r})}});function a1e(t,e){return t?e?t+" "+e:t:e}function pYt(t,e,r,n,i,o){let s=t.textDirection==ho.RTL,a=s,l=!1,c="top",u,f,d=e.left-i.left,p=i.right-e.right,h=n.right-n.left,A=n.bottom-n.top;if(a&&d<Math.min(h,p)?a=!1:!a&&p<Math.min(h,d)&&(a=!0),h<=(a?d:p))u=Math.max(i.top,Math.min(r.top,i.bottom-A))-e.top,f=Math.min(400,a?d:p);else{l=!0,f=Math.min(400,(s?e.right:i.right-e.left)-30);let v=i.bottom-e.bottom;v>=A||v>e.top?u=r.bottom-e.top:(c="bottom",u=e.bottom-r.top)}let g=(e.bottom-e.top)/o.offsetHeight,m=(e.right-e.left)/o.offsetWidth;return{style:`${c}: ${u/g}px; max-width: ${f/m}px`,class:"cm-completionInfo-"+(l?s?"left-narrow":"right-narrow":a?"left":"right")}}function AYt(t){let e=t.addToOptions.slice();return t.icons&&e.push({render(r){let n=document.createElement("div");return n.classList.add("cm-completionIcon"),r.type&&n.classList.add(...r.type.split(/\s+/g).map(i=>"cm-completionIcon-"+i)),n.setAttribute("aria-hidden","true"),n},position:20}),e.push({render(r,n,i,o){let s=document.createElement("span");s.className="cm-completionLabel";let a=r.displayLabel||r.label,l=0;for(let c=0;c<o.length;){let u=o[c++],f=o[c++];u>l&&s.appendChild(document.createTextNode(a.slice(l,u)));let d=s.appendChild(document.createElement("span"));d.appendChild(document.createTextNode(a.slice(u,f))),d.className="cm-completionMatchedText",l=f}return l<a.length&&s.appendChild(document.createTextNode(a.slice(l))),s},position:50},{render(r){if(!r.detail)return null;let n=document.createElement("span");return n.className="cm-completionDetail",n.textContent=r.detail,n},position:80}),e.sort((r,n)=>r.position-n.position).map(r=>r.render)}function SU(t,e,r){if(t<=r)return{from:0,to:t};if(e<0&&(e=0),e<=t>>1){let i=Math.floor(e/r);return{from:i*r,to:(i+1)*r}}let n=Math.floor((t-e)/r);return{from:t-(n+1)*r,to:t-n*r}}class hYt{constructor(e,r,n){this.view=e,this.stateField=r,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:l=>this.placeInfo(l),key:this},this.space=null,this.currentClass="";let i=e.state.field(r),{options:o,selected:s}=i.open,a=e.state.facet(Js);this.optionContent=AYt(a),this.optionClass=a.optionClass,this.tooltipClass=a.tooltipClass,this.range=SU(o.length,s,a.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",l=>{let{options:c}=e.state.field(r).open;for(let u=l.target,f;u&&u!=this.dom;u=u.parentNode)if(u.nodeName=="LI"&&(f=/-(\d+)$/.exec(u.id))&&+f[1]<c.length){this.applyCompletion(e,c[+f[1]]),l.preventDefault();return}}),this.dom.addEventListener("focusout",l=>{let c=e.state.field(this.stateField,!1);c&&c.tooltip&&e.state.facet(Js).closeOnBlur&&l.relatedTarget!=e.contentDOM&&e.dispatch({effects:v3.of(null)})}),this.showOptions(o,i.id)}mount(){this.updateSel()}showOptions(e,r){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,r,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var r;let n=e.state.field(this.stateField),i=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),n!=i){let{options:o,selected:s,disabled:a}=n.open;(!i.open||i.open.options!=o)&&(this.range=SU(o.length,s,e.state.facet(Js).maxRenderedOptions),this.showOptions(o,n.id)),this.updateSel(),a!=((r=i.open)===null||r===void 0?void 0:r.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!a)}}updateTooltipClass(e){let r=this.tooltipClass(e);if(r!=this.currentClass){for(let n of this.currentClass.split(" "))n&&this.dom.classList.remove(n);for(let n of r.split(" "))n&&this.dom.classList.add(n);this.currentClass=r}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),r=e.open;if((r.selected>-1&&r.selected<this.range.from||r.selected>=this.range.to)&&(this.range=SU(r.options.length,r.selected,this.view.state.facet(Js).maxRenderedOptions),this.showOptions(r.options,e.id)),this.updateSelectedOption(r.selected)){this.destroyInfo();let{completion:n}=r.options[r.selected],{info:i}=n;if(!i)return;let o=typeof i=="string"?document.createTextNode(i):i(n);if(!o)return;"then"in o?o.then(s=>{s&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(s,n)}).catch(s=>Yl(this.view.state,s,"completion info")):this.addInfoPane(o,n)}}addInfoPane(e,r){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",e.nodeType!=null)n.appendChild(e),this.infoDestroy=null;else{let{dom:i,destroy:o}=e;n.appendChild(i),this.infoDestroy=o||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let r=null;for(let n=this.list.firstChild,i=this.range.from;n;n=n.nextSibling,i++)n.nodeName!="LI"||!n.id?i--:i==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),r=n):n.hasAttribute("aria-selected")&&n.removeAttribute("aria-selected");return r&&gYt(this.list,r),r}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let r=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),i=e.getBoundingClientRect(),o=this.space;if(!o){let s=this.dom.ownerDocument.documentElement;o={left:0,top:0,right:s.clientWidth,bottom:s.clientHeight}}return i.top>Math.min(o.bottom,r.bottom)-10||i.bottom<Math.max(o.top,r.top)+10?null:this.view.state.facet(Js).positionInfo(this.view,r,i,n,o,this.dom)}placeInfo(e){this.info&&(e?(e.style&&(this.info.style.cssText=e.style),this.info.className="cm-tooltip cm-completionInfo "+(e.class||"")):this.info.style.cssText="top: -1e6px")}createListBox(e,r,n){const i=document.createElement("ul");i.id=r,i.setAttribute("role","listbox"),i.setAttribute("aria-expanded","true"),i.setAttribute("aria-label",this.view.state.phrase("Completions")),i.addEventListener("mousedown",s=>{s.target==i&&s.preventDefault()});let o=null;for(let s=n.from;s<n.to;s++){let{completion:a,match:l}=e[s],{section:c}=a;if(c){let d=typeof c=="string"?c:c.name;if(d!=o&&(s>n.from||n.from==0))if(o=d,typeof c!="string"&&c.header)i.appendChild(c.header(c));else{let p=i.appendChild(document.createElement("completion-section"));p.textContent=d}}const u=i.appendChild(document.createElement("li"));u.id=r+"-"+s,u.setAttribute("role","option");let f=this.optionClass(a);f&&(u.className=f);for(let d of this.optionContent){let p=d(a,this.view.state,this.view,l);p&&u.appendChild(p)}}return n.from&&i.classList.add("cm-completionListIncompleteTop"),n.to<e.length&&i.classList.add("cm-completionListIncompleteBottom"),i}destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}destroy(){this.destroyInfo()}}function mYt(t,e){return r=>new hYt(r,t,e)}function gYt(t,e){let r=t.getBoundingClientRect(),n=e.getBoundingClientRect(),i=r.height/t.offsetHeight;n.top<r.top?t.scrollTop-=(r.top-n.top)/i:n.bottom>r.bottom&&(t.scrollTop+=(n.bottom-r.bottom)/i)}function l1e(t){return(t.boost||0)*100+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}function vYt(t,e){let r=[],n=null,i=c=>{r.push(c);let{section:u}=c.completion;if(u){n||(n=[]);let f=typeof u=="string"?u:u.name;n.some(d=>d.name==f)||n.push(typeof u=="string"?{name:f}:u)}},o=e.facet(Js);for(let c of t)if(c.hasResult()){let u=c.result.getMatch;if(c.result.filter===!1)for(let f of c.result.options)i(new o1e(f,c.source,u?u(f):[],1e9-r.length));else{let f=e.sliceDoc(c.from,c.to),d,p=o.filterStrict?new dYt(f):new fYt(f);for(let h of c.result.options)if(d=p.match(h.label)){let A=h.displayLabel?u?u(h,d.matched):[]:d.matched;i(new o1e(h,c.source,A,d.score+(h.boost||0)))}}}if(n){let c=Object.create(null),u=0,f=(d,p)=>{var h,A;return((h=d.rank)!==null&&h!==void 0?h:1e9)-((A=p.rank)!==null&&A!==void 0?A:1e9)||(d.name<p.name?-1:1)};for(let d of n.sort(f))u-=1e5,c[d.name]=u;for(let d of r){let{section:p}=d.completion;p&&(d.score+=c[typeof p=="string"?p:p.name])}}let s=[],a=null,l=o.compareCompletions;for(let c of r.sort((u,f)=>f.score-u.score||l(u.completion,f.completion))){let u=c.completion;!a||a.label!=u.label||a.detail!=u.detail||a.type!=null&&u.type!=null&&a.type!=u.type||a.apply!=u.apply||a.boost!=u.boost?s.push(c):l1e(c.completion)>l1e(a)&&(s[s.length-1]=c),a=c.completion}return s}class y2{constructor(e,r,n,i,o,s){this.options=e,this.attrs=r,this.tooltip=n,this.timestamp=i,this.selected=o,this.disabled=s}setSelected(e,r){return e==this.selected||e>=this.options.length?this:new y2(this.options,c1e(r,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,r,n,i,o,s){if(i&&!s&&e.some(c=>c.isPending))return i.setDisabled();let a=vYt(e,r);if(!a.length)return i&&e.some(c=>c.isPending)?i.setDisabled():null;let l=r.facet(Js).selectOnOpen?0:-1;if(i&&i.selected!=l&&i.selected!=-1){let c=i.options[i.selected].completion;for(let u=0;u<a.length;u++)if(a[u].completion==c){l=u;break}}return new y2(a,c1e(n,l),{pos:e.reduce((c,u)=>u.hasResult()?Math.min(c,u.from):c,1e8),create:xYt,above:o.aboveCursor},i?i.timestamp:Date.now(),l,!1)}map(e){return new y2(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}setDisabled(){return new y2(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class uP{constructor(e,r,n){this.active=e,this.id=r,this.open=n}static start(){return new uP(bYt,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:r}=e,n=r.facet(Js),o=(n.override||r.languageDataAt("autocomplete",D1(r)).map(uYt)).map(l=>(this.active.find(u=>u.source==l)||new Pu(l,this.active.some(u=>u.state!=0)?1:0)).update(e,n));o.length==this.active.length&&o.every((l,c)=>l==this.active[c])&&(o=this.active);let s=this.open,a=e.effects.some(l=>l.is(Ste));s&&e.docChanged&&(s=s.map(e.changes)),e.selection||o.some(l=>l.hasResult()&&e.changes.touchesRange(l.from,l.to))||!yYt(o,this.active)||a?s=y2.build(o,r,this.id,s,n,a):s&&s.disabled&&!o.some(l=>l.isPending)&&(s=null),!s&&o.every(l=>!l.isPending)&&o.some(l=>l.hasResult())&&(o=o.map(l=>l.hasResult()?new Pu(l.source,0):l));for(let l of e.effects)l.is(gLe)&&(s=s&&s.setSelected(l.value,this.id));return o==this.active&&s==this.open?this:new uP(o,this.id,s)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?BYt:CYt}}function yYt(t,e){if(t==e)return!0;for(let r=0,n=0;;){for(;r<t.length&&!t[r].hasResult();)r++;for(;n<e.length&&!e[n].hasResult();)n++;let i=r==t.length,o=n==e.length;if(i||o)return i==o;if(t[r++].result!=e[n++].result)return!1}}const BYt={"aria-autocomplete":"list"},CYt={};function c1e(t,e){let r={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":t};return e>-1&&(r["aria-activedescendant"]=t+"-"+e),r}const bYt=[];function mLe(t,e){if(t.isUserEvent("input.complete")){let n=t.annotation(hLe);if(n&&e.activateOnCompletion(n))return 12}let r=t.isUserEvent("input.type");return r&&e.activateOnTyping?5:r?1:t.isUserEvent("delete.backward")?2:t.selection?8:t.docChanged?16:0}class Pu{constructor(e,r,n=!1){this.source=e,this.state=r,this.explicit=n}hasResult(){return!1}get isPending(){return this.state==1}update(e,r){let n=mLe(e,r),i=this;(n&8||n&16&&this.touches(e))&&(i=new Pu(i.source,0)),n&4&&i.state==0&&(i=new Pu(this.source,1)),i=i.updateFor(e,n);for(let o of e.effects)if(o.is(cP))i=new Pu(i.source,1,o.value);else if(o.is(v3))i=new Pu(i.source,0);else if(o.is(Ste))for(let s of o.value)s.source==i.source&&(i=s);return i}updateFor(e,r){return this.map(e.changes)}map(e){return this}touches(e){return e.changes.touchesRange(D1(e.state))}}class z2 extends Pu{constructor(e,r,n,i,o,s){super(e,3,r),this.limit=n,this.result=i,this.from=o,this.to=s}hasResult(){return!0}updateFor(e,r){var n;if(!(r&3))return this.map(e.changes);let i=this.result;i.map&&!e.changes.empty&&(i=i.map(i,e.changes));let o=e.changes.mapPos(this.from),s=e.changes.mapPos(this.to,1),a=D1(e.state);if(a>s||!i||r&2&&(D1(e.startState)==this.from||a<this.limit))return new Pu(this.source,r&4?1:0);let l=e.changes.mapPos(this.limit);return wYt(i.validFor,e.state,o,s)?new z2(this.source,this.explicit,l,i,o,s):i.update&&(i=i.update(i,o,s,new pLe(e.state,a,!1)))?new z2(this.source,this.explicit,l,i,i.from,(n=i.to)!==null&&n!==void 0?n:D1(e.state)):new Pu(this.source,1,this.explicit)}map(e){return e.empty?this:(this.result.map?this.result.map(this.result,e):this.result)?new z2(this.source,this.explicit,e.mapPos(this.limit),this.result,e.mapPos(this.from),e.mapPos(this.to,1)):new Pu(this.source,0)}touches(e){return e.changes.touchesRange(this.from,this.to)}}function wYt(t,e,r,n){if(!t)return!1;let i=e.sliceDoc(r,n);return typeof t=="function"?t(i,r,n,e):ALe(t,!0).test(i)}const Ste=wn.define({map(t,e){return t.map(r=>r.map(e))}}),gLe=wn.define(),Kl=ka.define({create(){return uP.start()},update(t,e){return t.update(e)},provide:t=>[ute.from(t,e=>e.tooltip),sr.contentAttributes.from(t,e=>e.attrs)]});function Ete(t,e){const r=e.completion.apply||e.completion.label;let n=t.state.field(Kl).active.find(i=>i.source==e.source);return n instanceof z2?(typeof r=="string"?t.dispatch(Object.assign(Object.assign({},cYt(t.state,r,n.from,n.to)),{annotations:hLe.of(e.completion)})):r(t,e.completion,n.from,n.to),!0):!1}const xYt=mYt(Kl,Ete);function eE(t,e="option"){return r=>{let n=r.state.field(Kl,!1);if(!n||!n.open||n.open.disabled||Date.now()-n.open.timestamp<r.state.facet(Js).interactionDelay)return!1;let i=1,o;e=="page"&&(o=JFe(r,n.open.tooltip))&&(i=Math.max(2,Math.floor(o.dom.offsetHeight/o.dom.querySelector("li").offsetHeight)-1));let{length:s}=n.open.options,a=n.open.selected>-1?n.open.selected+i*(t?1:-1):t?0:s-1;return a<0?a=e=="page"?0:s-1:a>=s&&(a=e=="page"?s-1:0),r.dispatch({effects:gLe.of(a)}),!0}}const SYt=t=>{let e=t.state.field(Kl,!1);return t.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestamp<t.state.facet(Js).interactionDelay?!1:Ete(t,e.open.options[e.open.selected])},u1e=t=>t.state.field(Kl,!1)?(t.dispatch({effects:cP.of(!0)}),!0):!1,EYt=t=>{let e=t.state.field(Kl,!1);return!e||!e.active.some(r=>r.state!=0)?!1:(t.dispatch({effects:v3.of(null)}),!0)};class DYt{constructor(e,r){this.active=e,this.context=r,this.time=Date.now(),this.updates=[],this.done=void 0}}const kYt=50,OYt=1e3,PYt=Wo.fromClass(class{constructor(t){this.view=t,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let e of t.state.field(Kl).active)e.isPending&&this.startQuery(e)}update(t){let e=t.state.field(Kl),r=t.state.facet(Js);if(!t.selectionSet&&!t.docChanged&&t.startState.field(Kl)==e)return;let n=t.transactions.some(o=>{let s=mLe(o,r);return s&8||(o.selection||o.docChanged)&&!(s&3)});for(let o=0;o<this.running.length;o++){let s=this.running[o];if(n||s.context.abortOnDocChange&&t.docChanged||s.updates.length+t.transactions.length>kYt&&Date.now()-s.time>OYt){for(let a of s.context.abortListeners)try{a()}catch(l){Yl(this.view.state,l)}s.context.abortListeners=null,this.running.splice(o--,1)}else s.updates.push(...t.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),t.transactions.some(o=>o.effects.some(s=>s.is(cP)))&&(this.pendingStart=!0);let i=this.pendingStart?50:r.activateOnTypingDelay;if(this.debounceUpdate=e.active.some(o=>o.isPending&&!this.running.some(s=>s.active.source==o.source))?setTimeout(()=>this.startUpdate(),i):-1,this.composing!=0)for(let o of t.transactions)o.isUserEvent("input.type")?this.composing=2:this.composing==2&&o.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:t}=this.view,e=t.field(Kl);for(let r of e.active)r.isPending&&!this.running.some(n=>n.active.source==r.source)&&this.startQuery(r);this.running.length&&e.open&&e.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(Js).updateSyncTime))}startQuery(t){let{state:e}=this.view,r=D1(e),n=new pLe(e,r,t.explicit,this.view),i=new DYt(t,n);this.running.push(i),Promise.resolve(t.source(n)).then(o=>{i.context.aborted||(i.done=o||null,this.scheduleAccept())},o=>{this.view.dispatch({effects:v3.of(null)}),Yl(this.view.state,o)})}scheduleAccept(){this.running.every(t=>t.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(Js).updateSyncTime))}accept(){var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],r=this.view.state.facet(Js),n=this.view.state.field(Kl);for(let i=0;i<this.running.length;i++){let o=this.running[i];if(o.done===void 0)continue;if(this.running.splice(i--,1),o.done){let a=D1(o.updates.length?o.updates[0].startState:this.view.state),l=Math.min(a,o.done.from+(o.active.explicit?0:1)),c=new z2(o.active.source,o.active.explicit,l,o.done,o.done.from,(t=o.done.to)!==null&&t!==void 0?t:a);for(let u of o.updates)c=c.update(u,r);if(c.hasResult()){e.push(c);continue}}let s=n.active.find(a=>a.source==o.active.source);if(s&&s.isPending)if(o.done==null){let a=new Pu(o.active.source,0);for(let l of o.updates)a=a.update(l,r);a.isPending||e.push(a)}else this.startQuery(s)}(e.length||n.open&&n.open.disabled)&&this.view.dispatch({effects:Ste.of(e)})}},{eventHandlers:{blur(t){let e=this.view.state.field(Kl,!1);if(e&&e.tooltip&&this.view.state.facet(Js).closeOnBlur){let r=e.open&&JFe(this.view,e.open.tooltip);(!r||!r.dom.contains(t.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:v3.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:cP.of(!1)}),20),this.composing=0}}}),IYt=typeof navigator=="object"&&/Win/.test(navigator.platform),NYt=Iv.highest(sr.domEventHandlers({keydown(t,e){let r=e.state.field(Kl,!1);if(!r||!r.open||r.open.disabled||r.open.selected<0||t.key.length>1||t.ctrlKey&&!(IYt&&t.altKey)||t.metaKey)return!1;let n=r.open.options[r.open.selected],i=r.active.find(s=>s.source==n.source),o=n.completion.commitCharacters||i.result.commitCharacters;return o&&o.indexOf(t.key)>-1&&Ete(e,n),!1}})),FYt=sr.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}}),y3={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},f1=wn.define({map(t,e){let r=e.mapPos(t,-1,dl.TrackAfter);return r??void 0}}),Dte=new class extends Y1{};Dte.startSide=1;Dte.endSide=-1;const vLe=ka.define({create(){return ri.empty},update(t,e){if(t=t.map(e.changes),e.selection){let r=e.state.doc.lineAt(e.selection.main.head);t=t.update({filter:n=>n>=r.from&&n<=r.to})}for(let r of e.effects)r.is(f1)&&(t=t.update({add:[Dte.range(r.value,r.value+1)]}));return t}});function TYt(){return[RYt,vLe]}const EU="()[]{}<>«»»«[]{}";function yLe(t){for(let e=0;e<EU.length;e+=2)if(EU.charCodeAt(e)==t)return EU.charAt(e+1);return qee(t<128?t:t+1)}function BLe(t,e){return t.languageDataAt("closeBrackets",e)[0]||y3}const LYt=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),RYt=sr.inputHandler.of((t,e,r,n)=>{if((LYt?t.composing:t.compositionStarted)||t.state.readOnly)return!1;let i=t.state.selection.main;if(n.length>2||n.length==2&&ep(Wl(n,0))==1||e!=i.from||r!=i.to)return!1;let o=jYt(t.state,n);return o?(t.dispatch(o),!0):!1}),MYt=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=BLe(t,t.selection.main.head).brackets||y3.brackets,i=null,o=t.changeByRange(s=>{if(s.empty){let a=UYt(t.doc,s.head);for(let l of n)if(l==a&&YN(t.doc,s.head)==yLe(Wl(l,0)))return{changes:{from:s.head-l.length,to:s.head+l.length},range:It.cursor(s.head-l.length)}}return{range:i=s}});return i||e(t.update(o,{scrollIntoView:!0,userEvent:"delete.backward"})),!i},_Yt=[{key:"Backspace",run:MYt}];function jYt(t,e){let r=BLe(t,t.selection.main.head),n=r.brackets||y3.brackets;for(let i of n){let o=yLe(Wl(i,0));if(e==i)return o==i?$Yt(t,i,n.indexOf(i+i+i)>-1,r):QYt(t,i,o,r.before||y3.before);if(e==o&&CLe(t,t.selection.main.from))return VYt(t,i,o)}return null}function CLe(t,e){let r=!1;return t.field(vLe).between(0,t.doc.length,n=>{n==e&&(r=!0)}),r}function YN(t,e){let r=t.sliceString(e,e+2);return r.slice(0,ep(Wl(r,0)))}function UYt(t,e){let r=t.sliceString(e-2,e);return ep(Wl(r,0))==r.length?r:r.slice(1)}function QYt(t,e,r,n){let i=null,o=t.changeByRange(s=>{if(!s.empty)return{changes:[{insert:e,from:s.from},{insert:r,from:s.to}],effects:f1.of(s.to+e.length),range:It.range(s.anchor+e.length,s.head+e.length)};let a=YN(t.doc,s.head);return!a||/\s/.test(a)||n.indexOf(a)>-1?{changes:{insert:e+r,from:s.head},effects:f1.of(s.head+e.length),range:It.cursor(s.head+e.length)}:{range:i=s}});return i?null:t.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function VYt(t,e,r){let n=null,i=t.changeByRange(o=>o.empty&&YN(t.doc,o.head)==r?{changes:{from:o.head,to:o.head+r.length,insert:r},range:It.cursor(o.head+r.length)}:n={range:o});return n?null:t.update(i,{scrollIntoView:!0,userEvent:"input.type"})}function $Yt(t,e,r,n){let i=n.stringPrefixes||y3.stringPrefixes,o=null,s=t.changeByRange(a=>{if(!a.empty)return{changes:[{insert:e,from:a.from},{insert:e,from:a.to}],effects:f1.of(a.to+e.length),range:It.range(a.anchor+e.length,a.head+e.length)};let l=a.head,c=YN(t.doc,l),u;if(c==e){if(f1e(t,l))return{changes:{insert:e+e,from:l},effects:f1.of(l+e.length),range:It.cursor(l+e.length)};if(CLe(t,l)){let d=r&&t.sliceDoc(l,l+e.length*3)==e+e+e?e+e+e:e;return{changes:{from:l,to:l+d.length,insert:d},range:It.cursor(l+d.length)}}}else{if(r&&t.sliceDoc(l-2*e.length,l)==e+e&&(u=d1e(t,l-2*e.length,i))>-1&&f1e(t,u))return{changes:{insert:e+e+e+e,from:l},effects:f1.of(l+e.length),range:It.cursor(l+e.length)};if(t.charCategorizer(l)(c)!=bo.Word&&d1e(t,l,i)>-1&&!HYt(t,l,e,i))return{changes:{insert:e+e,from:l},effects:f1.of(l+e.length),range:It.cursor(l+e.length)}}return{range:o=a}});return o?null:t.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function f1e(t,e){let r=Sa(t).resolveInner(e+1);return r.parent&&r.from==e}function HYt(t,e,r,n){let i=Sa(t).resolveInner(e,-1),o=n.reduce((s,a)=>Math.max(s,a.length),0);for(let s=0;s<5;s++){let a=t.sliceDoc(i.from,Math.min(i.to,i.from+r.length+o)),l=a.indexOf(r);if(!l||l>-1&&n.indexOf(a.slice(0,l))>-1){let u=i.firstChild;for(;u&&u.from==i.from&&u.to-u.from>r.length+l;){if(t.sliceDoc(u.to-r.length,u.to)==r)return!1;u=u.firstChild}return!0}let c=i.to==e&&i.parent;if(!c)break;i=c}return!1}function d1e(t,e,r){let n=t.charCategorizer(e);if(n(t.sliceDoc(e-1,e))!=bo.Word)return e;for(let i of r){let o=e-i.length;if(t.sliceDoc(o,e)==i&&n(t.sliceDoc(o-1,o))!=bo.Word)return o}return-1}function bLe(t={}){return[NYt,Kl,Js.of(t),PYt,GYt,FYt]}const wLe=[{key:"Ctrl-Space",run:u1e},{mac:"Alt-`",run:u1e},{key:"Escape",run:EYt},{key:"ArrowDown",run:eE(!0)},{key:"ArrowUp",run:eE(!1)},{key:"PageDown",run:eE(!0,"page")},{key:"PageUp",run:eE(!1,"page")},{key:"Enter",run:SYt}],GYt=Iv.highest(VN.computeN([Js],t=>t.facet(Js).defaultKeymap?[wLe]:[]));class p1e{constructor(e,r,n){this.from=e,this.to=r,this.diagnostic=n}}class $g{constructor(e,r,n){this.diagnostics=e,this.panel=r,this.selected=n}static init(e,r,n){let i=n.facet(B3).markerFilter;i&&(e=i(e,n));let o=e.slice().sort((u,f)=>u.from-f.from||u.to-f.to),s=new hh,a=[],l=0;for(let u=0;;){let f=u==o.length?null:o[u];if(!f&&!a.length)break;let d,p;for(a.length?(d=l,p=a.reduce((A,g)=>Math.min(A,g.to),f&&f.from>d?f.from:1e8)):(d=f.from,p=f.to,a.push(f),u++);u<o.length;){let A=o[u];if(A.from==d&&(A.to>A.from||A.to==d))a.push(A),u++,p=Math.min(A.to,p);else{p=Math.min(A.from,p);break}}let h=iJt(a);if(a.some(A=>A.from==A.to||A.from==A.to-1&&n.doc.lineAt(A.from).to==A.from))s.add(d,d,_r.widget({widget:new eJt(h),diagnostics:a.slice()}));else{let A=a.reduce((g,m)=>m.markClass?g+" "+m.markClass:g,"");s.add(d,p,_r.mark({class:"cm-lintRange cm-lintRange-"+h+A,diagnostics:a.slice(),inclusiveEnd:a.some(g=>g.to>p)}))}l=p;for(let A=0;A<a.length;A++)a[A].to<=l&&a.splice(A--,1)}let c=s.finish();return new $g(c,r,nC(c))}}function nC(t,e=null,r=0){let n=null;return t.between(r,1e9,(i,o,{spec:s})=>{if(!(e&&s.diagnostics.indexOf(e)<0))if(!n)n=new p1e(i,o,e||s.diagnostics[0]);else{if(s.diagnostics.indexOf(n.diagnostic)<0)return!1;n=new p1e(n.from,o,n.diagnostic)}}),n}function WYt(t,e){let r=e.pos,n=e.end||r,i=t.state.facet(B3).hideOn(t,r,n);if(i!=null)return i;let o=t.startState.doc.lineAt(e.pos);return!!(t.effects.some(s=>s.is(xLe))||t.changes.touchesRange(o.from,Math.max(o.to,n)))}function zYt(t,e){return t.field(Lc,!1)?e:e.concat(wn.appendConfig.of(oJt))}const xLe=wn.define(),kte=wn.define(),SLe=wn.define(),Lc=ka.define({create(){return new $g(_r.none,null,null)},update(t,e){if(e.docChanged&&t.diagnostics.size){let r=t.diagnostics.map(e.changes),n=null,i=t.panel;if(t.selected){let o=e.changes.mapPos(t.selected.from,1);n=nC(r,t.selected.diagnostic,o)||nC(r,null,o)}!r.size&&i&&e.state.facet(B3).autoPanel&&(i=null),t=new $g(r,i,n)}for(let r of e.effects)if(r.is(xLe)){let n=e.state.facet(B3).autoPanel?r.value.length?C3.open:null:t.panel;t=$g.init(r.value,n,e.state)}else r.is(kte)?t=new $g(t.diagnostics,r.value?C3.open:null,t.selected):r.is(SLe)&&(t=new $g(t.diagnostics,t.panel,r.value));return t},provide:t=>[A3.from(t,e=>e.panel),sr.decorations.from(t,e=>e.diagnostics)]}),KYt=_r.mark({class:"cm-lintRange cm-lintRange-active"});function qYt(t,e,r){let{diagnostics:n}=t.state.field(Lc),i,o=-1,s=-1;n.between(e-(r<0?1:0),e+(r>0?1:0),(l,c,{spec:u})=>{if(e>=l&&e<=c&&(l==c||(e>l||r>0)&&(e<c||r<0)))return i=u.diagnostics,o=l,s=c,!1});let a=t.state.facet(B3).tooltipFilter;return i&&a&&(i=a(i,t.state)),i?{pos:o,end:s,above:t.state.doc.lineAt(o).to<s,create(){return{dom:XYt(t,i)}}}:null}function XYt(t,e){return Vi("ul",{class:"cm-tooltip-lint"},e.map(r=>DLe(t,r,!1)))}const YYt=t=>{let e=t.state.field(Lc,!1);(!e||!e.panel)&&t.dispatch({effects:zYt(t.state,[kte.of(!0)])});let r=p3(t,C3.open);return r&&r.dom.querySelector(".cm-panel-lint ul").focus(),!0},A1e=t=>{let e=t.state.field(Lc,!1);return!e||!e.panel?!1:(t.dispatch({effects:kte.of(!1)}),!0)},JYt=t=>{let e=t.state.field(Lc,!1);if(!e)return!1;let r=t.state.selection.main,n=e.diagnostics.iter(r.to+1);return!n.value&&(n=e.diagnostics.iter(0),!n.value||n.from==r.from&&n.to==r.to)?!1:(t.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0}),!0)},ZYt=[{key:"Mod-Shift-m",run:YYt,preventDefault:!0},{key:"F8",run:JYt}],B3=Cr.define({combine(t){return Object.assign({sources:t.map(e=>e.source).filter(e=>e!=null)},_p(t.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{needsRefresh:(e,r)=>e?r?n=>e(n)||r(n):e:r}))}});function ELe(t){let e=[];if(t)e:for(let{name:r}of t){for(let n=0;n<r.length;n++){let i=r[n];if(/[a-zA-Z]/.test(i)&&!e.some(o=>o.toLowerCase()==i.toLowerCase())){e.push(i);continue e}}e.push("")}return e}function DLe(t,e,r){var n;let i=r?ELe(e.actions):[];return Vi("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},Vi("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage(t):e.message),(n=e.actions)===null||n===void 0?void 0:n.map((o,s)=>{let a=!1,l=d=>{if(d.preventDefault(),a)return;a=!0;let p=nC(t.state.field(Lc).diagnostics,e);p&&o.apply(t,p.from,p.to)},{name:c}=o,u=i[s]?c.indexOf(i[s]):-1,f=u<0?c:[c.slice(0,u),Vi("u",c.slice(u,u+1)),c.slice(u+1)];return Vi("button",{type:"button",class:"cm-diagnosticAction",onclick:l,onmousedown:l,"aria-label":` Action: ${c}${u<0?"":` (access key "${i[s]})"`}.`},f)}),e.source&&Vi("div",{class:"cm-diagnosticSource"},e.source))}class eJt extends Dh{constructor(e){super(),this.sev=e}eq(e){return e.sev==this.sev}toDOM(){return Vi("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class h1e{constructor(e,r){this.diagnostic=r,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=DLe(e,r,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class C3{constructor(e){this.view=e,this.items=[];let r=i=>{if(i.keyCode==27)A1e(this.view),this.view.focus();else if(i.keyCode==38||i.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(i.keyCode==40||i.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(i.keyCode==36)this.moveSelection(0);else if(i.keyCode==35)this.moveSelection(this.items.length-1);else if(i.keyCode==13)this.view.focus();else if(i.keyCode>=65&&i.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:o}=this.items[this.selectedIndex],s=ELe(o.actions);for(let a=0;a<s.length;a++)if(s[a].toUpperCase().charCodeAt(0)==i.keyCode){let l=nC(this.view.state.field(Lc).diagnostics,o);l&&o.actions[a].apply(e,l.from,l.to)}}else return;i.preventDefault()},n=i=>{for(let o=0;o<this.items.length;o++)this.items[o].dom.contains(i.target)&&this.moveSelection(o)};this.list=Vi("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:r,onclick:n}),this.dom=Vi("div",{class:"cm-panel-lint"},this.list,Vi("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>A1e(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(Lc).selected;if(!e)return-1;for(let r=0;r<this.items.length;r++)if(this.items[r].diagnostic==e.diagnostic)return r;return-1}update(){let{diagnostics:e,selected:r}=this.view.state.field(Lc),n=0,i=!1,o=null,s=new Set;for(e.between(0,this.view.state.doc.length,(a,l,{spec:c})=>{for(let u of c.diagnostics){if(s.has(u))continue;s.add(u);let f=-1,d;for(let p=n;p<this.items.length;p++)if(this.items[p].diagnostic==u){f=p;break}f<0?(d=new h1e(this.view,u),this.items.splice(n,0,d),i=!0):(d=this.items[f],f>n&&(this.items.splice(n,f-n),i=!0)),r&&d.diagnostic==r.diagnostic?d.dom.hasAttribute("aria-selected")||(d.dom.setAttribute("aria-selected","true"),o=d):d.dom.hasAttribute("aria-selected")&&d.dom.removeAttribute("aria-selected"),n++}});n<this.items.length&&!(this.items.length==1&&this.items[0].diagnostic.from<0);)i=!0,this.items.pop();this.items.length==0&&(this.items.push(new h1e(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),i=!0),o?(this.list.setAttribute("aria-activedescendant",o.id),this.view.requestMeasure({key:this,read:()=>({sel:o.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:a,panel:l})=>{let c=l.height/this.list.offsetHeight;a.top<l.top?this.list.scrollTop-=(l.top-a.top)/c:a.bottom>l.bottom&&(this.list.scrollTop+=(a.bottom-l.bottom)/c)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),i&&this.sync()}sync(){let e=this.list.firstChild;function r(){let n=e;e=n.nextSibling,n.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)r();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)r()}moveSelection(e){if(this.selectedIndex<0)return;let r=this.view.state.field(Lc),n=nC(r.diagnostics,this.items[e].diagnostic);n&&this.view.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0,effects:SLe.of(n)})}static open(e){return new C3(e)}}function tJt(t,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${e}>${encodeURIComponent(t)}</svg>')`}function tE(t){return tJt(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${t}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')}const rJt=sr.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:tE("#d11")},".cm-lintRange-warning":{backgroundImage:tE("orange")},".cm-lintRange-info":{backgroundImage:tE("#999")},".cm-lintRange-hint":{backgroundImage:tE("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});function nJt(t){return t=="error"?4:t=="warning"?3:t=="info"?2:1}function iJt(t){let e="hint",r=1;for(let n of t){let i=nJt(n.severity);i>r&&(r=i,e=n.severity)}return e}const oJt=[Lc,sr.decorations.compute([Lc],t=>{let{selected:e,panel:r}=t.field(Lc);return!e||!r||e.from==e.to?_r.none:_r.set([KYt.range(e.from,e.to)])}),Zzt(qYt,{hideOn:WYt}),rJt];var m1e=function(e){e===void 0&&(e={});var{crosshairCursor:r=!1}=e,n=[];e.closeBracketsKeymap!==!1&&(n=n.concat(_Yt)),e.defaultKeymap!==!1&&(n=n.concat(NXt)),e.searchKeymap!==!1&&(n=n.concat(nYt)),e.historyKeymap!==!1&&(n=n.concat(Qqt)),e.foldKeymap!==!1&&(n=n.concat(tqt)),e.completionKeymap!==!1&&(n=n.concat(wLe)),e.lintKeymap!==!1&&(n=n.concat(ZYt));var i=[];return e.lineNumbers!==!1&&i.push(uKt()),e.highlightActiveLineGutter!==!1&&i.push(pKt()),e.highlightSpecialChars!==!1&&i.push(kzt()),e.history!==!1&&i.push(Nqt()),e.foldGutter!==!1&&i.push(oqt()),e.drawSelection!==!1&&i.push(KFe()),e.dropCursor!==!1&&i.push(bzt()),e.allowMultipleSelections!==!1&&i.push(qn.allowMultipleSelections.of(!0)),e.indentOnInput!==!1&&i.push(GKt()),e.syntaxHighlighting!==!1&&i.push(CTe(cqt,{fallback:!0})),e.bracketMatching!==!1&&i.push(mqt()),e.closeBrackets!==!1&&i.push(TYt()),e.autocompletion!==!1&&i.push(bLe()),e.rectangularSelection!==!1&&i.push(Vzt()),r!==!1&&i.push(Gzt()),e.highlightActiveLine!==!1&&i.push(Tzt()),e.highlightSelectionMatches!==!1&&i.push(_Xt()),e.tabSize&&typeof e.tabSize=="number"&&i.push(HN.of(" ".repeat(e.tabSize))),i.concat([VN.of(n.flat())]).filter(Boolean)};const sJt="#e5c07b",g1e="#e06c75",aJt="#56b6c2",lJt="#ffffff",HD="#abb2bf",sq="#7d8799",cJt="#61afef",uJt="#98c379",v1e="#d19a66",fJt="#c678dd",dJt="#21252b",y1e="#2c313a",B1e="#282c34",DU="#353a42",pJt="#3E4451",C1e="#528bff",AJt=sr.theme({"&":{color:HD,backgroundColor:B1e},".cm-content":{caretColor:C1e},".cm-cursor, .cm-dropCursor":{borderLeftColor:C1e},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:pJt},".cm-panels":{backgroundColor:dJt,color:HD},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:B1e,color:sq,border:"none"},".cm-activeLineGutter":{backgroundColor:y1e},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:DU},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:DU,borderBottomColor:DU},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:y1e,color:HD}}},{dark:!0}),hJt=Ux.define([{tag:ut.keyword,color:fJt},{tag:[ut.name,ut.deleted,ut.character,ut.propertyName,ut.macroName],color:g1e},{tag:[ut.function(ut.variableName),ut.labelName],color:cJt},{tag:[ut.color,ut.constant(ut.name),ut.standard(ut.name)],color:v1e},{tag:[ut.definition(ut.name),ut.separator],color:HD},{tag:[ut.typeName,ut.className,ut.number,ut.changed,ut.annotation,ut.modifier,ut.self,ut.namespace],color:sJt},{tag:[ut.operator,ut.operatorKeyword,ut.url,ut.escape,ut.regexp,ut.link,ut.special(ut.string)],color:aJt},{tag:[ut.meta,ut.comment],color:sq},{tag:ut.strong,fontWeight:"bold"},{tag:ut.emphasis,fontStyle:"italic"},{tag:ut.strikethrough,textDecoration:"line-through"},{tag:ut.link,color:sq,textDecoration:"underline"},{tag:ut.heading,fontWeight:"bold",color:g1e},{tag:[ut.atom,ut.bool,ut.special(ut.variableName)],color:v1e},{tag:[ut.processingInstruction,ut.string,ut.inserted],color:uJt},{tag:ut.invalid,color:lJt}]),mJt=[AJt,CTe(hJt)];var gJt=sr.theme({"&":{backgroundColor:"#fff"}},{dark:!1}),vJt=function(e){e===void 0&&(e={});var{indentWithTab:r=!0,editable:n=!0,readOnly:i=!1,theme:o="light",placeholder:s="",basicSetup:a=!0}=e,l=[];switch(r&&l.unshift(VN.of([FXt])),a&&(typeof a=="boolean"?l.unshift(m1e()):l.unshift(m1e(a))),s&&l.unshift(_zt(s)),o){case"light":l.push(gJt);break;case"dark":l.push(mJt);break;case"none":break;default:l.push(o);break}return n===!1&&l.push(sr.editable.of(!1)),i&&l.push(qn.readOnly.of(!0)),[...l]},yJt=t=>({line:t.state.doc.lineAt(t.state.selection.main.from),lineCount:t.state.doc.lines,lineBreak:t.state.lineBreak,length:t.state.doc.length,readOnly:t.state.readOnly,tabSize:t.state.tabSize,selection:t.state.selection,selectionAsSingle:t.state.selection.asSingle().main,ranges:t.state.selection.ranges,selectionCode:t.state.sliceDoc(t.state.selection.main.from,t.state.selection.main.to),selections:t.state.selection.ranges.map(e=>t.state.sliceDoc(e.from,e.to)),selectedText:t.state.selection.ranges.some(e=>!e.empty)});class BJt{constructor(e,r){this.timeLeftMS=void 0,this.timeoutMS=void 0,this.isCancelled=!1,this.isTimeExhausted=!1,this.callbacks=[],this.timeLeftMS=r,this.timeoutMS=r,this.callbacks.push(e)}tick(){if(!this.isCancelled&&!this.isTimeExhausted&&(this.timeLeftMS--,this.timeLeftMS<=0)){this.isTimeExhausted=!0;var e=this.callbacks.slice();this.callbacks.length=0,e.forEach(r=>{try{r()}catch(n){console.error("TimeoutLatch callback error:",n)}})}}cancel(){this.isCancelled=!0,this.callbacks.length=0}reset(){this.timeLeftMS=this.timeoutMS,this.isCancelled=!1,this.isTimeExhausted=!1}get isDone(){return this.isCancelled||this.isTimeExhausted}}class b1e{constructor(){this.interval=null,this.latches=new Set}add(e){this.latches.add(e),this.start()}remove(e){this.latches.delete(e),this.latches.size===0&&this.stop()}start(){this.interval===null&&(this.interval=setInterval(()=>{this.latches.forEach(e=>{e.tick(),e.isDone&&this.remove(e)})},1))}stop(){this.interval!==null&&(clearInterval(this.interval),this.interval=null)}}var kU=null,CJt=()=>typeof window>"u"?new b1e:(kU||(kU=new b1e),kU),w1e=Mp.define(),bJt=200,wJt=[];function xJt(t){var{value:e,selection:r,onChange:n,onStatistics:i,onCreateEditor:o,onUpdate:s,extensions:a=wJt,autoFocus:l,theme:c="light",height:u=null,minHeight:f=null,maxHeight:d=null,width:p=null,minWidth:h=null,maxWidth:A=null,placeholder:g="",editable:m=!0,readOnly:v=!1,indentWithTab:y=!0,basicSetup:b=!0,root:B,initialState:S}=t,[w,x]=E.useState(),[I,F]=E.useState(),[k,O]=E.useState(),L=E.useState(()=>({current:null}))[0],M=E.useState(()=>({current:null}))[0],H=sr.theme({"&":{height:u,minHeight:f,maxHeight:d,width:p,minWidth:h,maxWidth:A},"& .cm-scroller":{height:"100% !important"}}),V=sr.updateListener.of(Q=>{if(Q.docChanged&&typeof n=="function"&&!Q.transactions.some(_=>_.annotation(w1e))){L.current?L.current.reset():(L.current=new BJt(()=>{if(M.current){var _=M.current;M.current=null,_()}L.current=null},bJt),CJt().add(L.current));var z=Q.state.doc,X=z.toString();n(X,Q)}i&&i(yJt(Q))}),j=vJt({theme:c,editable:m,readOnly:v,placeholder:g,indentWithTab:y,basicSetup:b}),R=[V,H,...j];return s&&typeof s=="function"&&R.push(sr.updateListener.of(s)),R=R.concat(a),E.useLayoutEffect(()=>{if(w&&!k){var Q={doc:e,selection:r,extensions:R},z=S?qn.fromJSON(S.json,Q,S.fields):qn.create(Q);if(O(z),!I){var X=new sr({state:z,parent:w,root:B});F(X),o&&o(X,z)}}return()=>{I&&(O(void 0),F(void 0))}},[w,k]),E.useEffect(()=>{t.container&&x(t.container)},[t.container]),E.useEffect(()=>()=>{I&&(I.destroy(),F(void 0)),L.current&&(L.current.cancel(),L.current=null)},[I]),E.useEffect(()=>{l&&I&&I.focus()},[l,I]),E.useEffect(()=>{I&&I.dispatch({effects:wn.reconfigure.of(R)})},[c,a,u,f,d,p,h,A,g,m,v,y,b,n,s]),E.useEffect(()=>{if(e!==void 0){var Q=I?I.state.doc.toString():"";if(I&&e!==Q){var z=L.current&&!L.current.isDone,X=()=>{I&&e!==I.state.doc.toString()&&I.dispatch({changes:{from:0,to:I.state.doc.toString().length,insert:e||""},annotations:[w1e.of(!0)]})};z?M.current=X:X()}}},[e,I]),{state:k,setState:O,view:I,setView:F,container:w,setContainer:x}}var SJt=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],Ote=E.forwardRef((t,e)=>{var{className:r,value:n="",selection:i,extensions:o=[],onChange:s,onStatistics:a,onCreateEditor:l,onUpdate:c,autoFocus:u,theme:f="light",height:d,minHeight:p,maxHeight:h,width:A,minWidth:g,maxWidth:m,basicSetup:v,placeholder:y,indentWithTab:b,editable:B,readOnly:S,root:w,initialState:x}=t,I=ntt(t,SJt),F=E.useRef(null),{state:k,view:O,container:L,setContainer:M}=xJt({root:w,value:n,autoFocus:u,theme:f,height:d,minHeight:p,maxHeight:h,width:A,minWidth:g,maxWidth:m,basicSetup:v,placeholder:y,indentWithTab:b,editable:B,readOnly:S,selection:i,onChange:s,onStatistics:a,onCreateEditor:l,onUpdate:c,extensions:o,initialState:x});E.useImperativeHandle(e,()=>({editor:F.current,state:k,view:O}),[F,L,k,O]);var H=E.useCallback(j=>{F.current=j,M(j)},[M]);if(typeof n!="string")throw new Error("value must be typeof string but got "+typeof n);var V=typeof f=="string"?"cm-theme-"+f:"cm-theme";return C.jsx("div",co({ref:H,className:""+V+(r?" "+r:"")},I))});Ote.displayName="CodeMirror";class fP{constructor(e,r,n,i,o,s,a,l,c,u=0,f){this.p=e,this.stack=r,this.state=n,this.reducePos=i,this.pos=o,this.score=s,this.buffer=a,this.bufferBase=l,this.curContext=c,this.lookAhead=u,this.parent=f}toString(){return`[${this.stack.filter((e,r)=>r%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,r,n=0){let i=e.parser.context;return new fP(e,[],r,n,n,0,[],0,i?new x1e(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,r){this.stack.push(this.state,r,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var r;let n=e>>19,i=e&65535,{parser:o}=this.p,s=this.reducePos<this.pos-25;s&&this.setLookAhead(this.pos);let a=o.dynamicPrecedence(i);if(a&&(this.score+=a),n==0){this.pushState(o.getGoto(this.state,i,!0),this.reducePos),i<o.minRepeatTerm&&this.storeNode(i,this.reducePos,this.reducePos,s?8:4,!0),this.reduceContext(i,this.reducePos);return}let l=this.stack.length-(n-1)*3-(e&262144?6:0),c=l?this.stack[l-2]:this.p.ranges[0].from,u=this.reducePos-c;u>=2e3&&!(!((r=this.p.parser.nodeSet.types[i])===null||r===void 0)&&r.isAnonymous)&&(c==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSize<u&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=c,this.p.lastBigReductionSize=u));let f=l?this.stack[l-1]:0,d=this.bufferBase+this.buffer.length-f;if(i<o.minRepeatTerm||e&131072){let p=o.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(i,c,p,d+4,!0)}if(e&262144)this.state=this.stack[l];else{let p=this.stack[l-3];this.state=o.getGoto(p,i,!0)}for(;this.stack.length>l;)this.stack.pop();this.reduceContext(i,c)}storeNode(e,r,n,i=4,o=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let s=this,a=this.buffer.length;if(a==0&&s.parent&&(a=s.bufferBase-s.parent.bufferBase,s=s.parent),a>0&&s.buffer[a-4]==0&&s.buffer[a-1]>-1){if(r==n)return;if(s.buffer[a-2]>=r){s.buffer[a-2]=n;return}}}if(!o||this.pos==n)this.buffer.push(e,r,n,i);else{let s=this.buffer.length;if(s>0&&this.buffer[s-4]!=0){let a=!1;for(let l=s;l>0&&this.buffer[l-2]>n;l-=4)if(this.buffer[l-1]>=0){a=!0;break}if(a)for(;s>0&&this.buffer[s-2]>n;)this.buffer[s]=this.buffer[s-4],this.buffer[s+1]=this.buffer[s-3],this.buffer[s+2]=this.buffer[s-2],this.buffer[s+3]=this.buffer[s-1],s-=4,i>4&&(i-=4)}this.buffer[s]=e,this.buffer[s+1]=r,this.buffer[s+2]=n,this.buffer[s+3]=i}}shift(e,r,n,i){if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=i,this.shiftContext(r,n),r<=this.p.parser.maxNode&&this.buffer.push(r,n,i,4);else{let o=e,{parser:s}=this.p;(i>this.pos||r<=s.maxNode)&&(this.pos=i,s.stateFlag(o,1)||(this.reducePos=i)),this.pushState(o,n),this.shiftContext(r,n),r<=s.maxNode&&this.buffer.push(r,n,i,4)}}apply(e,r,n,i){e&65536?this.reduce(e):this.shift(e,r,n,i)}useNode(e,r){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let i=this.pos;this.reducePos=this.pos=i+e.length,this.pushState(r,i),this.buffer.push(n,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,r=e.buffer.length;for(;r>0&&e.buffer[r-2]>e.reducePos;)r-=4;let n=e.buffer.slice(r),i=e.bufferBase+r;for(;e&&i==e.bufferBase;)e=e.parent;return new fP(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,i,this.curContext,this.lookAhead,e)}recoverByDelete(e,r){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,r,4),this.storeNode(0,this.pos,r,n?8:4),this.pos=this.reducePos=r,this.score-=190}canShift(e){for(let r=new EJt(this);;){let n=this.p.parser.stateSlot(r.state,4)||this.p.parser.hasAction(r.state,e);if(n==0)return!1;if(!(n&65536))return!0;r.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let r=this.p.parser.nextStates(this.state);if(r.length>8||this.stack.length>=120){let i=[];for(let o=0,s;o<r.length;o+=2)(s=r[o+1])!=this.state&&this.p.parser.hasAction(s,e)&&i.push(r[o],s);if(this.stack.length<120)for(let o=0;i.length<8&&o<r.length;o+=2){let s=r[o+1];i.some((a,l)=>l&1&&a==s)||i.push(r[o],s)}r=i}let n=[];for(let i=0;i<r.length&&n.length<4;i+=2){let o=r[i+1];if(o==this.state)continue;let s=this.split();s.pushState(o,this.pos),s.storeNode(0,s.pos,s.pos,4,!0),s.shiftContext(r[i],this.pos),s.reducePos=this.pos,s.score-=200,n.push(s)}return n}forceReduce(){let{parser:e}=this.p,r=e.stateSlot(this.state,5);if(!(r&65536))return!1;if(!e.validAction(this.state,r)){let n=r>>19,i=r&65535,o=this.stack.length-n*3;if(o<0||e.getGoto(this.stack[o],i,!1)<0){let s=this.findForcedReduction();if(s==null)return!1;r=s}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(r),!0}findForcedReduction(){let{parser:e}=this.p,r=[],n=(i,o)=>{if(!r.includes(i))return r.push(i),e.allActions(i,s=>{if(!(s&393216))if(s&65536){let a=(s>>19)-o;if(a>1){let l=s&65535,c=this.stack.length-a*3;if(c>=0&&e.getGoto(this.stack[c],l,!1)>=0)return a<<19|65536|l}}else{let a=n(s,o+1);if(a!=null)return a}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let r=0;r<this.stack.length;r+=3)if(this.stack[r]!=e.stack[r])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,r){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(r)))}reduceContext(e,r){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(r)))}emitContext(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-3)&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-4)&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let r=new x1e(this.curContext.tracker,e);r.hash!=this.curContext.hash&&this.emitContext(),this.curContext=r}}setLookAhead(e){e>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class x1e{constructor(e,r){this.tracker=e,this.context=r,this.hash=e.strict?e.hash(r):0}}class EJt{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let r=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let i=this.start.p.parser.getGoto(this.stack[this.base-3],r,!0);this.state=i}}class dP{constructor(e,r,n){this.stack=e,this.pos=r,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,r=e.bufferBase+e.buffer.length){return new dP(e,r,r-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new dP(this.stack,this.pos,this.index)}}function zw(t,e=Uint16Array){if(typeof t!="string")return t;let r=null;for(let n=0,i=0;n<t.length;){let o=0;for(;;){let s=t.charCodeAt(n++),a=!1;if(s==126){o=65535;break}s>=92&&s--,s>=34&&s--;let l=s-32;if(l>=46&&(l-=46,a=!0),o+=l,a)break;o*=46}r?r[i++]=o:r=new e(o)}return r}class GD{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const S1e=new GD;class DJt{constructor(e,r){this.input=e,this.ranges=r,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=S1e,this.rangeIndex=0,this.pos=this.chunkPos=r[0].from,this.range=r[0],this.end=r[r.length-1].to,this.readNext()}resolveOffset(e,r){let n=this.range,i=this.rangeIndex,o=this.pos+e;for(;o<n.from;){if(!i)return null;let s=this.ranges[--i];o-=n.from-s.to,n=s}for(;r<0?o>n.to:o>=n.to;){if(i==this.ranges.length-1)return null;let s=this.ranges[++i];o+=s.from-n.to,n=s}return o}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let r of this.ranges)if(r.to>e)return Math.max(e,r.from);return this.end}peek(e){let r=this.chunkOff+e,n,i;if(r>=0&&r<this.chunk.length)n=this.pos+e,i=this.chunk.charCodeAt(r);else{let o=this.resolveOffset(e,1);if(o==null)return-1;if(n=o,n>=this.chunk2Pos&&n<this.chunk2Pos+this.chunk2.length)i=this.chunk2.charCodeAt(n-this.chunk2Pos);else{let s=this.rangeIndex,a=this.range;for(;a.to<=n;)a=this.ranges[++s];this.chunk2=this.input.chunk(this.chunk2Pos=n),n+this.chunk2.length>a.to&&(this.chunk2=this.chunk2.slice(0,a.to-n)),i=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),i}acceptToken(e,r=0){let n=r?this.resolveOffset(r,-1):this.pos;if(n==null||n<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=e,this.token.end=n}acceptTokenTo(e,r){this.token.value=e,this.token.end=r}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:r}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=r,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),r=this.pos+e.length;this.chunk=r>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,r){if(r?(this.token=r,r.start=e,r.lookAhead=e+1,r.value=r.extended=-1):this.token=S1e,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,r){if(e>=this.chunkPos&&r<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,r-this.chunkPos);if(e>=this.chunk2Pos&&r<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,r-this.chunk2Pos);if(e>=this.range.from&&r<=this.range.to)return this.input.read(e,r);let n="";for(let i of this.ranges){if(i.from>=r)break;i.to>e&&(n+=this.input.read(Math.max(i.from,e),Math.min(i.to,r)))}return n}}class K2{constructor(e,r){this.data=e,this.id=r}token(e,r){let{parser:n}=r.p;OLe(this.data,e,r,this.id,n.data,n.tokenPrecTable)}}K2.prototype.contextual=K2.prototype.fallback=K2.prototype.extend=!1;class kLe{constructor(e,r,n){this.precTable=r,this.elseToken=n,this.data=typeof e=="string"?zw(e):e}token(e,r){let n=e.pos,i=0;for(;;){let o=e.next<0,s=e.resolveOffset(1,1);if(OLe(this.data,e,r,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(o||i++,s==null)break;e.reset(s,e.token)}i&&(e.reset(n,e.token),e.acceptToken(this.elseToken,i))}}kLe.prototype.contextual=K2.prototype.fallback=K2.prototype.extend=!1;class JN{constructor(e,r={}){this.token=e,this.contextual=!!r.contextual,this.fallback=!!r.fallback,this.extend=!!r.extend}}function OLe(t,e,r,n,i,o){let s=0,a=1<<n,{dialect:l}=r.p.parser;e:for(;a&t[s];){let c=t[s+1];for(let p=s+3;p<c;p+=2)if((t[p+1]&a)>0){let h=t[p];if(l.allows(h)&&(e.token.value==-1||e.token.value==h||kJt(h,e.token.value,i,o))){e.acceptToken(h);break}}let u=e.next,f=0,d=t[s+2];if(e.next<0&&d>f&&t[c+d*3-3]==65535){s=t[c+d*3-1];continue e}for(;f<d;){let p=f+d>>1,h=c+p+(p<<1),A=t[h],g=t[h+1]||65536;if(u<A)d=p;else if(u>=g)f=p+1;else{s=t[h+2],e.advance();continue e}}break}}function E1e(t,e,r){for(let n=e,i;(i=t[n])!=65535;n++)if(i==r)return n-e;return-1}function kJt(t,e,r,n){let i=E1e(r,n,e);return i<0||E1e(r,n,t)<i}const yc=typeof process<"u"&&process.env&&/\bparse\b/.test({}.LOG);let OU=null;function D1e(t,e,r){let n=t.cursor(Fs.IncludeAnonymous);for(n.moveTo(e);;)if(!(r<0?n.childBefore(e):n.childAfter(e)))for(;;){if((r<0?n.to<e:n.from>e)&&!n.type.isError)return r<0?Math.max(0,Math.min(n.to-1,e-25)):Math.min(t.length,Math.max(n.from+1,e+25));if(r<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return r<0?0:t.length}}class OJt{constructor(e,r){this.fragments=e,this.nodeSet=r,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?D1e(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?D1e(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let r=this.trees.length-1;if(r<0)return this.nextFragment(),null;let n=this.trees[r],i=this.index[r];if(i==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let o=n.children[i],s=this.start[r]+n.positions[i];if(s>e)return this.nextStart=s,null;if(o instanceof Cs){if(s==e){if(s<this.safeFrom)return null;let a=s+o.length;if(a<=this.safeTo){let l=o.prop(Mn.lookAhead);if(!l||a+l<this.fragment.to)return o}}this.index[r]++,s+o.length>=Math.max(this.safeFrom,e)&&(this.trees.push(o),this.start.push(s),this.index.push(0))}else this.index[r]++,this.nextStart=s+o.length}}}class PJt{constructor(e,r){this.stream=r,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(n=>new GD)}getActions(e){let r=0,n=null,{parser:i}=e.p,{tokenizers:o}=i,s=i.stateSlot(e.state,3),a=e.curContext?e.curContext.hash:0,l=0;for(let c=0;c<o.length;c++){if(!(1<<c&s))continue;let u=o[c],f=this.tokens[c];if(!(n&&!u.fallback)&&((u.contextual||f.start!=e.pos||f.mask!=s||f.context!=a)&&(this.updateCachedToken(f,u,e),f.mask=s,f.context=a),f.lookAhead>f.end+25&&(l=Math.max(f.lookAhead,l)),f.value!=0)){let d=r;if(f.extended>-1&&(r=this.addActions(e,f.extended,f.end,r)),r=this.addActions(e,f.value,f.end,r),!u.extend&&(n=f,r>d))break}}for(;this.actions.length>r;)this.actions.pop();return l&&e.setLookAhead(l),!n&&e.pos==this.stream.end&&(n=new GD,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,r=this.addActions(e,n.value,n.end,r)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let r=new GD,{pos:n,p:i}=e;return r.start=n,r.end=Math.min(n+1,i.stream.end),r.value=n==i.stream.end?i.parser.eofTerm:0,r}updateCachedToken(e,r,n){let i=this.stream.clipPos(n.pos);if(r.token(this.stream.reset(i,e),n),e.value>-1){let{parser:o}=n.p;for(let s=0;s<o.specialized.length;s++)if(o.specialized[s]==e.value){let a=o.specializers[s](this.stream.read(e.start,e.end),n);if(a>=0&&n.p.parser.dialect.allows(a>>1)){a&1?e.extended=a>>1:e.value=a>>1;break}}}else e.value=0,e.end=this.stream.clipPos(i+1)}putAction(e,r,n,i){for(let o=0;o<i;o+=3)if(this.actions[o]==e)return i;return this.actions[i++]=e,this.actions[i++]=r,this.actions[i++]=n,i}addActions(e,r,n,i){let{state:o}=e,{parser:s}=e.p,{data:a}=s;for(let l=0;l<2;l++)for(let c=s.stateSlot(o,l?2:1);;c+=3){if(a[c]==65535)if(a[c+1]==1)c=BA(a,c+2);else{i==0&&a[c+1]==2&&(i=this.putAction(BA(a,c+2),r,n,i));break}a[c]==r&&(i=this.putAction(BA(a,c+1),r,n,i))}return i}}class IJt{constructor(e,r,n,i){this.parser=e,this.input=r,this.ranges=i,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new DJt(r,i),this.tokens=new PJt(e,this.stream),this.topTerm=e.top[1];let{from:o}=i[0];this.stacks=[fP.start(this,e.top[0],o)],this.fragments=n.length&&this.stream.end-o>e.bufferLength*4?new OJt(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,r=this.minStackPos,n=this.stacks=[],i,o;if(this.bigReductionCount>300&&e.length==1){let[s]=e;for(;s.forceReduce()&&s.stack.length&&s.stack[s.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let s=0;s<e.length;s++){let a=e[s];for(;;){if(this.tokens.mainToken=null,a.pos>r)n.push(a);else{if(this.advanceStack(a,n,e))continue;{i||(i=[],o=[]),i.push(a);let l=this.tokens.getMainToken(a);o.push(l.value,l.end)}}break}}if(!n.length){let s=i&&FJt(i);if(s)return yc&&console.log("Finish with "+this.stackID(s)),this.stackToTree(s);if(this.parser.strict)throw yc&&i&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+r);this.recovering||(this.recovering=5)}if(this.recovering&&i){let s=this.stoppedAt!=null&&i[0].pos>this.stoppedAt?i[0]:this.runRecovery(i,o,n);if(s)return yc&&console.log("Force-finish "+this.stackID(s)),this.stackToTree(s.forceAll())}if(this.recovering){let s=this.recovering==1?1:this.recovering*3;if(n.length>s)for(n.sort((a,l)=>l.score-a.score);n.length>s;)n.pop();n.some(a=>a.reducePos>r)&&this.recovering--}else if(n.length>1){e:for(let s=0;s<n.length-1;s++){let a=n[s];for(let l=s+1;l<n.length;l++){let c=n[l];if(a.sameState(c)||a.buffer.length>500&&c.buffer.length>500)if((a.score-c.score||a.buffer.length-c.buffer.length)>0)n.splice(l--,1);else{n.splice(s--,1);continue e}}}n.length>12&&n.splice(12,n.length-12)}this.minStackPos=n[0].pos;for(let s=1;s<n.length;s++)n[s].pos<this.minStackPos&&(this.minStackPos=n[s].pos);return null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,r,n){let i=e.pos,{parser:o}=this,s=yc?this.stackID(e)+" -> ":"";if(this.stoppedAt!=null&&i>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let c=e.curContext&&e.curContext.tracker.strict,u=c?e.curContext.hash:0;for(let f=this.fragments.nodeAt(i);f;){let d=this.parser.nodeSet.types[f.type.id]==f.type?o.getGoto(e.state,f.type.id):-1;if(d>-1&&f.length&&(!c||(f.prop(Mn.contextHash)||0)==u))return e.useNode(f,d),yc&&console.log(s+this.stackID(e)+` (via reuse of ${o.getName(f.type.id)})`),!0;if(!(f instanceof Cs)||f.children.length==0||f.positions[0]>0)break;let p=f.children[0];if(p instanceof Cs&&f.positions[0]==0)f=p;else break}}let a=o.stateSlot(e.state,4);if(a>0)return e.reduce(a),yc&&console.log(s+this.stackID(e)+` (via always-reduce ${o.getName(a&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let c=0;c<l.length;){let u=l[c++],f=l[c++],d=l[c++],p=c==l.length||!n,h=p?e:e.split(),A=this.tokens.mainToken;if(h.apply(u,f,A?A.start:h.pos,d),yc&&console.log(s+this.stackID(h)+` (via ${u&65536?`reduce of ${o.getName(u&65535)}`:"shift"} for ${o.getName(f)} @ ${i}${h==e?"":", split"})`),p)return!0;h.pos>i?r.push(h):n.push(h)}return!1}advanceFully(e,r){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return k1e(e,r),!0}}runRecovery(e,r,n){let i=null,o=!1;for(let s=0;s<e.length;s++){let a=e[s],l=r[s<<1],c=r[(s<<1)+1],u=yc?this.stackID(a)+" -> ":"";if(a.deadEnd&&(o||(o=!0,a.restart(),yc&&console.log(u+this.stackID(a)+" (restarted)"),this.advanceFully(a,n))))continue;let f=a.split(),d=u;for(let p=0;f.forceReduce()&&p<10&&(yc&&console.log(d+this.stackID(f)+" (via force-reduce)"),!this.advanceFully(f,n));p++)yc&&(d=this.stackID(f)+" -> ");for(let p of a.recoverByInsert(l))yc&&console.log(u+this.stackID(p)+" (via recover-insert)"),this.advanceFully(p,n);this.stream.end>a.pos?(c==a.pos&&(c++,l=0),a.recoverByDelete(l,c),yc&&console.log(u+this.stackID(a)+` (via recover-delete ${this.parser.getName(l)})`),k1e(a,n)):(!i||i.score<a.score)&&(i=a)}return i}stackToTree(e){return e.close(),Cs.build({buffer:dP.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let r=(OU||(OU=new WeakMap)).get(e);return r||OU.set(e,r=String.fromCodePoint(this.nextStackID++)),r+e}}function k1e(t,e){for(let r=0;r<e.length;r++){let n=e[r];if(n.pos==t.pos&&n.sameState(t)){e[r].score<t.score&&(e[r]=t);return}}e.push(t)}class NJt{constructor(e,r,n){this.source=e,this.flags=r,this.disabled=n}allows(e){return!this.disabled||this.disabled[e]==0}}class pP extends sTe{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let r=e.nodeNames.split(" ");this.minRepeatTerm=r.length;for(let a=0;a<e.repeatNodeCount;a++)r.push("");let n=Object.keys(e.topRules).map(a=>e.topRules[a][1]),i=[];for(let a=0;a<r.length;a++)i.push([]);function o(a,l,c){i[a].push([l,l.deserialize(String(c))])}if(e.nodeProps)for(let a of e.nodeProps){let l=a[0];typeof l=="string"&&(l=Mn[l]);for(let c=1;c<a.length;){let u=a[c++];if(u>=0)o(u,l,a[c++]);else{let f=a[c+-u];for(let d=-u;d>0;d--)o(a[c++],l,f);c++}}}this.nodeSet=new fte(r.map((a,l)=>cc.define({name:l>=this.minRepeatTerm?void 0:a,id:l,props:i[l],top:n.indexOf(l)>-1,error:l==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(l)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=rTe;let s=zw(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let a=0;a<this.specializerSpecs.length;a++)this.specialized[a]=this.specializerSpecs[a].term;this.specializers=this.specializerSpecs.map(O1e),this.states=zw(e.states,Uint32Array),this.data=zw(e.stateData),this.goto=zw(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(a=>typeof a=="number"?new K2(s,a):a),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,r,n){let i=new IJt(this,e,r,n);for(let o of this.wrappers)i=o(i,e,r,n);return i}getGoto(e,r,n=!1){let i=this.goto;if(r>=i[0])return-1;for(let o=i[r+1];;){let s=i[o++],a=s&1,l=i[o++];if(a&&n)return l;for(let c=o+(s>>1);o<c;o++)if(i[o]==e)return l;if(a)return-1}}hasAction(e,r){let n=this.data;for(let i=0;i<2;i++)for(let o=this.stateSlot(e,i?2:1),s;;o+=3){if((s=n[o])==65535)if(n[o+1]==1)s=n[o=BA(n,o+2)];else{if(n[o+1]==2)return BA(n,o+2);break}if(s==r||s==0)return BA(n,o+1)}return 0}stateSlot(e,r){return this.states[e*6+r]}stateFlag(e,r){return(this.stateSlot(e,0)&r)>0}validAction(e,r){return!!this.allActions(e,n=>n==r?!0:null)}allActions(e,r){let n=this.stateSlot(e,4),i=n?r(n):void 0;for(let o=this.stateSlot(e,1);i==null;o+=3){if(this.data[o]==65535)if(this.data[o+1]==1)o=BA(this.data,o+2);else break;i=r(BA(this.data,o+1))}return i}nextStates(e){let r=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=BA(this.data,n+2);else break;if(!(this.data[n+2]&1)){let i=this.data[n+1];r.some((o,s)=>s&1&&o==i)||r.push(this.data[n],i)}}return r}configure(e){let r=Object.assign(Object.create(pP.prototype),this);if(e.props&&(r.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);r.top=n}return e.tokenizers&&(r.tokenizers=this.tokenizers.map(n=>{let i=e.tokenizers.find(o=>o.from==n);return i?i.to:n})),e.specializers&&(r.specializers=this.specializers.slice(),r.specializerSpecs=this.specializerSpecs.map((n,i)=>{let o=e.specializers.find(a=>a.from==n.external);if(!o)return n;let s=Object.assign(Object.assign({},n),{external:o.to});return r.specializers[i]=O1e(s),s})),e.contextTracker&&(r.context=e.contextTracker),e.dialect&&(r.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(r.strict=e.strict),e.wrap&&(r.wrappers=r.wrappers.concat(e.wrap)),e.bufferLength!=null&&(r.bufferLength=e.bufferLength),r}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let r=this.dynamicPrecedences;return r==null?0:r[e]||0}parseDialect(e){let r=Object.keys(this.dialects),n=r.map(()=>!1);if(e)for(let o of e.split(" ")){let s=r.indexOf(o);s>=0&&(n[s]=!0)}let i=null;for(let o=0;o<r.length;o++)if(!n[o])for(let s=this.dialects[r[o]],a;(a=this.data[s++])!=65535;)(i||(i=new Uint8Array(this.maxTerm+1)))[a]=1;return new NJt(e,n,i)}static deserialize(e){return new pP(e)}}function BA(t,e){return t[e]|t[e+1]<<16}function FJt(t){let e=null;for(let r of t){let n=r.p.stoppedAt;(r.pos==r.p.stream.end||n!=null&&r.pos>n)&&r.p.parser.stateFlag(r.state,2)&&(!e||e.score<r.score)&&(e=r)}return e}function O1e(t){if(t.external){let e=t.extend?1:0;return(r,n)=>t.external(r,n)<<1|e}return t.get}const TJt=122,P1e=1,LJt=123,RJt=124,PLe=2,MJt=125,_Jt=3,jJt=4,ILe=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],UJt=58,QJt=40,NLe=95,VJt=91,WD=45,$Jt=46,HJt=35,GJt=37,WJt=38,zJt=92,KJt=10,qJt=42;function b3(t){return t>=65&&t<=90||t>=97&&t<=122||t>=161}function Pte(t){return t>=48&&t<=57}function I1e(t){return Pte(t)||t>=97&&t<=102||t>=65&&t<=70}const FLe=(t,e,r)=>(n,i)=>{for(let o=!1,s=0,a=0;;a++){let{next:l}=n;if(b3(l)||l==WD||l==NLe||o&&Pte(l))!o&&(l!=WD||a>0)&&(o=!0),s===a&&l==WD&&s++,n.advance();else if(l==zJt&&n.peek(1)!=KJt){if(n.advance(),I1e(n.next)){do n.advance();while(I1e(n.next));n.next==32&&n.advance()}else n.next>-1&&n.advance();o=!0}else{o&&n.acceptToken(s==2&&i.canShift(PLe)?e:l==QJt?r:t);break}}},XJt=new JN(FLe(LJt,PLe,RJt)),YJt=new JN(FLe(MJt,_Jt,jJt)),JJt=new JN(t=>{if(ILe.includes(t.peek(-1))){let{next:e}=t;(b3(e)||e==NLe||e==HJt||e==$Jt||e==qJt||e==VJt||e==UJt&&b3(t.peek(1))||e==WD||e==WJt)&&t.acceptToken(TJt)}}),ZJt=new JN(t=>{if(!ILe.includes(t.peek(-1))){let{next:e}=t;if(e==GJt&&(t.advance(),t.acceptToken(P1e)),b3(e)){do t.advance();while(b3(t.next)||Pte(t.next));t.acceptToken(P1e)}}}),eZt=aTe({"AtKeyword import charset namespace keyframes media supports":ut.definitionKeyword,"from to selector":ut.keyword,NamespaceName:ut.namespace,KeyframeName:ut.labelName,KeyframeRangeName:ut.operatorKeyword,TagName:ut.tagName,ClassName:ut.className,PseudoClassName:ut.constant(ut.className),IdName:ut.labelName,"FeatureName PropertyName":ut.propertyName,AttributeName:ut.attributeName,NumberLiteral:ut.number,KeywordQuery:ut.keyword,UnaryQueryOp:ut.operatorKeyword,"CallTag ValueName":ut.atom,VariableName:ut.variableName,Callee:ut.operatorKeyword,Unit:ut.unit,"UniversalSelector NestingSelector":ut.definitionOperator,"MatchOp CompareOp":ut.compareOperator,"ChildOp SiblingOp, LogicOp":ut.logicOperator,BinOp:ut.arithmeticOperator,Important:ut.modifier,Comment:ut.blockComment,ColorLiteral:ut.color,"ParenthesizedContent StringLiteral":ut.string,":":ut.punctuation,"PseudoOp #":ut.derefOperator,"; ,":ut.separator,"( )":ut.paren,"[ ]":ut.squareBracket,"{ }":ut.brace}),tZt={__proto__:null,lang:38,"nth-child":38,"nth-last-child":38,"nth-of-type":38,"nth-last-of-type":38,dir:38,"host-context":38,if:84,url:124,"url-prefix":124,domain:124,regexp:124},rZt={__proto__:null,or:98,and:98,not:106,only:106,layer:170},nZt={__proto__:null,selector:112,layer:166},iZt={__proto__:null,"@import":162,"@media":174,"@charset":178,"@namespace":182,"@keyframes":188,"@supports":200,"@scope":204},oZt={__proto__:null,to:207},sZt=pP.deserialize({version:14,states:"EbQYQdOOO#qQdOOP#xO`OOOOQP'#Cf'#CfOOQP'#Ce'#CeO#}QdO'#ChO$nQaO'#CcO$xQdO'#CkO%TQdO'#DpO%YQdO'#DrO%_QdO'#DuO%_QdO'#DxOOQP'#FV'#FVO&eQhO'#EhOOQS'#FU'#FUOOQS'#Ek'#EkQYQdOOO&lQdO'#EOO&PQhO'#EUO&lQdO'#EWO'aQdO'#EYO'lQdO'#E]O'tQhO'#EcO(VQdO'#EeO(bQaO'#CfO)VQ`O'#D{O)[Q`O'#F`O)gQdO'#F`QOQ`OOP)qO&jO'#CaPOOO)C@t)C@tOOQP'#Cj'#CjOOQP,59S,59SO#}QdO,59SO)|QdO,59VO%TQdO,5:[O%YQdO,5:^O%_QdO,5:aO%_QdO,5:cO%_QdO,5:dO%_QdO'#ErO*XQ`O,58}O*aQdO'#DzOOQS,58},58}OOQP'#Cn'#CnOOQO'#Dn'#DnOOQP,59V,59VO*hQ`O,59VO*mQ`O,59VOOQP'#Dq'#DqOOQP,5:[,5:[OOQO'#Ds'#DsO*rQpO,5:^O+]QaO,5:aO+sQaO,5:dOOQW'#DZ'#DZO,ZQhO'#DdO,xQhO'#FaO'tQhO'#DbO-WQ`O'#DhOOQW'#F['#F[O-]Q`O,5;SO-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c%nQyUR#]yQ%i$aR&_%iQ!|jS$e!|$fR$f!}Q&n%}R&{&nQ#k!ZR$x#kQ%b$YR&Z%bQ&X%aR&u&X__OP`kz!{$d^UOP`kz!{$dQ!VYQ!WZQ#XuQ#YvQ#ZwQ#[xQ$]!vQ$m#`R&b%mR$q#aQ!gaQ!oc[#q!c!d!e#t#v#xQ$a!zd$o#a$p$s%q%u%z&d&l&x'QQ$r#cQ%R#{S%g$a%iQ%l$kQ&^%hR&p&P]#s!c!d!e#t#v#xW!Z]b!g$PQ!ufQ#f!YQ#l![Q$v#iQ$w#jQ$z#mS%V$R%XR&i%xQ#h!YQ%w$tR&w&hR$|#mR$n#`QlPR#_zQ!_]Q!nbQ$O!gR%U$P",nodeNames:"⚠ Unit VariableName VariableName QueryCallee Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector . ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue AtKeyword # ; ] [ BracketedValue } { BracedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee IfExpression if ArgList IfBranch KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp ComparisonQuery CompareOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector ParenthesizedSelector CallQuery ArgList , CallLiteral CallTag ParenthesizedContent PseudoClassName ArgList IdSelector IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp Block Declaration PropertyName Important ImportStatement import Layer layer LayerName layer MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports ScopeStatement scope to AtRule Styles",maxTerm:143,nodeProps:[["isolate",-2,5,36,""],["openedBy",20,"(",28,"[",31,"{"],["closedBy",21,")",29,"]",32,"}"]],propSources:[eZt],skippedNodes:[0,5,106],repeatNodeCount:15,tokenData:"JQ~R!YOX$qX^%i^p$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1963});let PU=null;function IU(){if(!PU&&typeof document=="object"&&document.body){let{style:t}=document.body,e=[],r=new Set;for(let n in t)n!="cssText"&&n!="cssFloat"&&typeof t[n]=="string"&&(/[A-Z]/.test(n)&&(n=n.replace(/[A-Z]/g,i=>"-"+i.toLowerCase())),r.has(n)||(e.push(n),r.add(n)));PU=e.sort().map(n=>({type:"property",label:n,apply:n+": "}))}return PU||[]}const N1e=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(t=>({type:"class",label:t})),F1e=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(t=>({type:"keyword",label:t})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(t=>({type:"constant",label:t}))),aZt=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(t=>({type:"type",label:t})),lZt=["@charset","@color-profile","@container","@counter-style","@font-face","@font-feature-values","@font-palette-values","@import","@keyframes","@layer","@media","@namespace","@page","@position-try","@property","@scope","@starting-style","@supports","@view-transition"].map(t=>({type:"keyword",label:t})),cA=/^(\w[\w-]*|-\w[\w-]*|)$/,cZt=/^-(-[\w-]*)?$/;function uZt(t,e){var r;if((t.name=="("||t.type.isError)&&(t=t.parent||t),t.name!="ArgList")return!1;let n=(r=t.parent)===null||r===void 0?void 0:r.firstChild;return n?.name!="Callee"?!1:e.sliceString(n.from,n.to)=="var"}const T1e=new BKt,fZt=["Declaration"];function dZt(t){for(let e=t;;){if(e.type.isTop)return e;if(!(e=e.parent))return t}}function TLe(t,e,r){if(e.to-e.from>4096){let n=T1e.get(e);if(n)return n;let i=[],o=new Set,s=e.cursor(Fs.IncludeAnonymous);if(s.firstChild())do for(let a of TLe(t,s.node,r))o.has(a.label)||(o.add(a.label),i.push(a));while(s.nextSibling());return T1e.set(e,i),i}else{let n=[],i=new Set;return e.cursor().iterate(o=>{var s;if(r(o)&&o.matchContext(fZt)&&((s=o.node.nextSibling)===null||s===void 0?void 0:s.name)==":"){let a=t.sliceString(o.from,o.to);i.has(a)||(i.add(a),n.push({label:a,type:"variable"}))}}),n}}const pZt=t=>e=>{let{state:r,pos:n}=e,i=Sa(r).resolveInner(n,-1),o=i.type.isError&&i.from==i.to-1&&r.doc.sliceString(i.from,i.to)=="-";if(i.name=="PropertyName"||(o||i.name=="TagName")&&/^(Block|Styles)$/.test(i.resolve(i.to).name))return{from:i.from,options:IU(),validFor:cA};if(i.name=="ValueName")return{from:i.from,options:F1e,validFor:cA};if(i.name=="PseudoClassName")return{from:i.from,options:N1e,validFor:cA};if(t(i)||(e.explicit||o)&&uZt(i,r.doc))return{from:t(i)||o?i.from:n,options:TLe(r.doc,dZt(i),t),validFor:cZt};if(i.name=="TagName"){for(let{parent:l}=i;l;l=l.parent)if(l.name=="Block")return{from:i.from,options:IU(),validFor:cA};return{from:i.from,options:aZt,validFor:cA}}if(i.name=="AtKeyword")return{from:i.from,options:lZt,validFor:cA};if(!e.explicit)return null;let s=i.resolve(n),a=s.childBefore(n);return a&&a.name==":"&&s.name=="PseudoClassSelector"?{from:n,options:N1e,validFor:cA}:a&&a.name==":"&&s.name=="Declaration"||s.name=="ArgList"?{from:n,options:F1e,validFor:cA}:s.name=="Block"||s.name=="Styles"?{from:n,options:IU(),validFor:cA}:null},AZt=pZt(t=>t.name=="VariableName"),L1e=JO.define({name:"css",parser:sZt.configure({props:[fTe.add({Declaration:$Kt()}),pTe.add({"Block KeyframeList":zKt})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function LLe(){return new TKt(L1e,L1e.data.of({autocomplete:AZt}))}function hZt(){const t=tn(eu),e=tn(ch),r=tn(uh),n=tn(fh),i=tn(dh),o=tn(ph),s=tn(Ah),a=tn(Zu),l=tn(ef),c=tn(ad);return E.useMemo(()=>{const f=[],d=t?.classPrefix||"",p=t?.variablePrefix||"",h=(m,v)=>{m.forEach(y=>{y.isDisabled||y.cssObjects?.forEach(b=>{if(b.selector?.startsWith(".")){const B=b.selector.slice(1).split(":")[0];f.push({label:d+B,type:"class",apply:`.${d}${B}`,detail:`${v} - ${y.name}`})}})})},A=(m,v)=>{m.forEach(y=>{y.isDisabled||y.type!=="variable"||y.cssObjects?.[0]?.declarations?.forEach(b=>{b.property?.startsWith("--")&&f.push({label:b.property,type:"variable",apply:`var(${b.property})`,detail:`${v} - ${y.name}`})})})};return h(e,"Colors"),h(r,"Typography"),h(n,"Spacing"),h(i,"Layouts"),h(o,"Design"),h(s,"Components"),A(e,"Colors"),A(r,"Typography"),A(n,"Spacing"),A(i,"Layouts"),A(o,"Design"),A(s,"Components"),a.isDisabled||a.groups.forEach(m=>{ex(m).forEach(y=>{y.startsWith("--")&&f.push({label:y,type:"variable",apply:`var(${y})`,detail:`Typography Scale - ${m.name}`})})}),l.isDisabled||l.groups.forEach(m=>{Z3(m).forEach(y=>{y.startsWith("--")&&f.push({label:y,type:"variable",apply:`var(${y})`,detail:`Spacing Scale - ${m.name}`})})}),c.isDisabled||c.groups.forEach(m=>{m.colors.forEach(v=>{const y=`--${p}${v.name}`;f.push({label:y,type:"variable",apply:`var(${y})`,detail:`Color System - ${m.name}`,color:v.value}),v.isShades&&v.shades?.length&&v.shades.forEach(b=>{const B=`--${p}${b.name}`;f.push({label:B,type:"variable",apply:`var(${B})`,detail:`Color System - ${m.name} (Shade)`,color:b.value})}),v.isTints&&v.tints?.length&&v.tints.forEach(b=>{const B=`--${p}${b.name}`;f.push({label:B,type:"variable",apply:`var(${B})`,detail:`Color System - ${m.name} (Tint)`,color:b.value})}),v.transparent&&v.transparentVariables?.length&&v.transparentVariables.forEach(b=>{const B=`--${p}${v.name}-${b}`;f.push({label:B,type:"variable",apply:`var(${B})`,detail:`Color System - ${m.name} (Alpha: ${b}%)`,color:v.value})})})}),f.filter((m,v,y)=>v===y.findIndex(b=>b.label===m.label&&b.type===m.type))},[t,e,r,n,i,o,s,a,l,c])}function _5(t){const e=[],r=[];if(!t.trim())return{isValid:!0,errors:[],warnings:[]};try{const n=eo.parse(t,{from:void 0});n.walkRules(a=>{if(a.selector&&/\.\./.test(a.selector)){const l=a.source;l?.start&&e.push({line:l.start.line,column:l.start.column,message:"Invalid double dot in selector",type:"error"})}if(!a.nodes||a.nodes.length===0){const l=a.source;l?.start&&r.push({line:l.start.line,column:l.start.column,message:"Empty rule block",type:"warning"})}}),n.walkDecls(a=>{if(a.raws&&a.raws.semicolon===!1){const l=a.source;l?.start&&r.push({line:l.start.line,column:l.start.column,message:"Missing semicolon",type:"warning"})}if(!a.value||a.value.trim()===""){const l=a.source;l?.start&&e.push({line:l.start.line,column:l.start.column,message:"Empty property value",type:"error"})}});const i=t.split(` `);let o=0,s=-1;for(let a=0;a<i.length;a++){const l=i[a],c=l.trim();if(!c||c.startsWith("/*")||c.startsWith("*/")||c.startsWith("//"))continue;const u=(l.match(/{/g)||[]).length,f=(l.match(/}/g)||[]).length;if(o+=u-f,f>0&&(s=a),o===0&&a>s&&/^[.#a-zA-Z:[\-*>~+]/.test(c)&&!c.includes("{")&&!c.includes(":")&&!c.includes("}")&&!c.startsWith("@")){let d=!1,p="";for(let h=a+1;h<i.length;h++){const A=i[h].trim();if(A&&!A.startsWith("/*")&&!A.startsWith("//")){p=A,(A==="{"||A.startsWith("{"))&&(d=!0);break}}if(!d){const h=p&&p.includes(":"),A=p&&/^[.#a-zA-Z:[\-*>~+]/.test(p);if(!p||h||A){const g=i.slice(0,a).join(` `).length+(a>0?1:0);e.push({line:a+1,column:1,message:"Selector without opening bracket - this will break your CSS",type:"error",from:g,to:g+l.length})}}}}}catch(n){if(n.name==="CssSyntaxError"){const i=n.line||1,o=n.column||1,s=t.split(` `);let a=0;for(let l=0;l<i-1;l++)a+=s[l].length+1;a+=o-1,e.push({line:i,column:o,message:n.reason||"CSS syntax error",type:"error",from:a,to:a+1})}else e.push({line:1,column:1,message:"Failed to parse CSS",type:"error",from:0,to:1})}return{isValid:e.length===0,errors:e,warnings:r}}const mZt=E.memo(({value:t,onChange:e})=>{const r=tn(bee),n=hZt(),i=E.useMemo(()=>Object.keys(W1).map(f=>({label:f,type:"property",detail:"CSS Property"})),[]),o=E.useCallback(f=>{let d=f.matchBefore(/\.[\w-]*/),p=!1;if(d&&d.text.startsWith(".")?p=!0:d=f.matchBefore(/[\w-]*/),!d||d.from===d.to&&!f.explicit)return null;const h=f.state.doc.sliceString(Math.max(0,d.from-100),d.from);f.state.doc.sliceString(d.to,Math.min(f.state.doc.length,d.to+10));const A=h.lastIndexOf("{"),g=h.lastIndexOf("}"),m=A>g,v=m&&(/[{;]\s*[\w-]*$/.test(h)||/^\s*[\w-]*$/.test(h.split(` `).pop()||"")),y=/:\s*[\w-]*$/.test(h)&&m,b=!m&&(p||/^\s*\.?[\w-]*$/.test(h.trim())),B=/var\(\s*-*$/.test(h)||/:\s*var\(\s*-*$/.test(h);let S=[];if(B)S=n.filter(F=>F.type==="variable");else if(v)S=i;else if(b)S=n.filter(F=>F.type==="class");else if(y){const F=h.match(/([\w-]+)\s*:\s*[\w-]*$/);if(F){const k=F[1],O=W1[k];if(O&&O.values){const L=O.values.filter(H=>!H.startsWith("[")&&!H.includes("{")).map(H=>({label:H,type:"value",detail:`Value for ${k}`})),M=n.filter(H=>H.type==="variable");S=[...L,...M]}else S=n.filter(L=>L.type==="variable")}else S=n.filter(k=>k.type==="variable")}const x=(p?d.text.slice(1):d.text).toLowerCase(),I=S.filter(F=>F.label.toLowerCase().includes(x));return I.length===0?null:{from:d.from,to:d.to,options:I.map(F=>({label:F.label,type:F.type,apply:F.apply||F.label,detail:F.detail,info:F.color?()=>{const k=document.createElement("div");k.style.display="flex",k.style.alignItems="center",k.style.gap="8px";const O=document.createElement("div");O.style.width="20px",O.style.height="20px",O.style.backgroundColor=F.color||"",O.style.border="1px solid #ccc",O.style.borderRadius="2px";const L=document.createElement("span");return L.textContent=F.color||"",k.appendChild(O),k.appendChild(L),k}:void 0})),filter:!1}},[n,i]);E.useCallback(()=>f=>{const d=[],p=f.state.doc.toString(),h=_5(p);return[...h.errors,...h.warnings].forEach(A=>{if(A.from!==void 0&&A.to!==void 0)d.push({from:A.from,to:A.to,severity:A.type,message:A.message});else{const g=p.split(` `);let m=0;for(let b=0;b<A.line-1;b++)m+=g[b].length+1;m+=A.column-1;const v=g[A.line-1]||"";let y=Math.min(20,v.length-(A.column-1));d.push({from:m,to:m+Math.max(1,y),severity:A.type,message:A.message})}}),d},[]);const s=Wo.fromClass(class{constructor(f){Tt(this,"decorations");this.decorations=this.buildDecorations(f)}update(f){(f.docChanged||f.viewportChanged)&&(this.decorations=this.buildDecorations(f.view))}buildDecorations(f){const d=[],p=f.state.doc.toString(),h=_5(p),A=new Map;return h.errors.forEach(g=>{const m=g.line;A.has(m)||A.set(m,{message:g.message,severity:"error"})}),h.warnings.forEach(g=>{const m=g.line;A.has(m)||A.set(m,{message:g.message,severity:"warning"})}),A.forEach((g,m)=>{const v=f.state.doc.line(m);d.push(_r.line({class:g.severity==="error"?"cm-error-line":"cm-warning-line",attributes:{"data-message":g.message}}).range(v.from))}),_r.set(d)}},{decorations:f=>f.decorations}),l=(()=>{switch(r){case"light":return{background:"#e4e4e4",text:"#1a1a1a",cursor:"#000",selection:"rgba(0, 120, 215, 0.3)",gutterBg:"#d8d8d8",gutterBorder:"#c0c0c0",activeLineGutter:"#cccccc"};case"gray":return{background:"#252525",text:"#e0e0e0",cursor:"#fff",selection:"rgba(100, 150, 255, 0.3)",gutterBg:"#1a1a1a",gutterBorder:"#3a3a3a",activeLineGutter:"#2f2f2f"};case"dark":default:return{background:"#1b1e26",text:"#e0e0e0",cursor:"#fff",selection:"rgba(100, 150, 255, 0.3)",gutterBg:"#14161c",gutterBorder:"#2a2d35",activeLineGutter:"#22252d"}}})(),c=E.useMemo(()=>[LLe(),KFe(),bLe({override:[o],icons:!0,defaultKeymap:!0}),s,sr.lineWrapping,sr.theme({"&":{fontSize:"12px",backgroundColor:l.background},".cm-content":{padding:"12px",fontFamily:'ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace',backgroundColor:l.background,color:l.text},".cm-content *":{fontFamily:'ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace'},".cm-line":{fontFamily:'ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace'},".cm-focused .cm-cursor":{borderLeftColor:l.cursor},".cm-gutters":{backgroundColor:l.gutterBg,borderRight:`1px solid ${l.gutterBorder}`,color:l.text},".cm-activeLineGutter":{backgroundColor:l.activeLineGutter},".cm-activeLine":{backgroundColor:"transparent"},".cm-selectionBackground":{backgroundColor:`${l.selection} !important`},".cm-selectionLayer":{pointerEvents:"none"},"& .cm-scroller":{position:"relative"},"& .cm-scroller .cm-selectionLayer":{zIndex:"auto !important"},"& .cm-scroller .cm-selectionLayer .cm-selectionBackground":{backgroundColor:`${l.selection} !important`},".cm-lintRange-error":{backgroundImage:`url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'6'%20height%3D'3'%3E%3Cpath%20d%3D'm0%2C2.5%20l2%2C-2%202%2C2%202%2C-2'%20stroke%3D'%23ff5555'%20fill%3D'none'%20stroke-width%3D'.7'%2F%3E%3C%2Fsvg%3E")`,backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"3px"},".cm-lintRange-warning":{backgroundImage:`url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'6'%20height%3D'3'%3E%3Cpath%20d%3D'm0%2C2.5%20l2%2C-2%202%2C2%202%2C-2'%20stroke%3D'%23f1fa8c'%20fill%3D'none'%20stroke-width%3D'.7'%2F%3E%3C%2Fsvg%3E")`,backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"3px"},".cm-diagnostic-error":{borderLeft:"3px solid #ff5555",paddingLeft:"8px",marginLeft:"-11px"},".cm-diagnostic-warning":{borderLeft:"3px solid #f1fa8c",paddingLeft:"8px",marginLeft:"-11px"},".cm-lintPoint-error:after":{borderBottomColor:"#ff5555"},".cm-lintPoint-warning:after":{borderBottomColor:"#f1fa8c"},".cm-panel.cm-panel-lint":{backgroundColor:l.background,borderTop:`1px solid ${l.gutterBorder}`,color:l.text},".cm-error-line":{backgroundColor:"rgba(255, 0, 0, 0.1)",position:"relative","&::after":{content:"attr(data-message)",position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)",fontSize:"12px",color:"#ff6b6b",backgroundColor:"rgba(0, 0, 0, 0.8)",padding:"2px 8px",borderRadius:"3px",whiteSpace:"nowrap",maxWidth:"300px",overflow:"hidden",textOverflow:"ellipsis",pointerEvents:"none",zIndex:10}},".cm-warning-line":{backgroundColor:"rgba(255, 255, 0, 0.1)",position:"relative","&::after":{content:"attr(data-message)",position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)",fontSize:"12px",color:"#f1fa8c",backgroundColor:"rgba(0, 0, 0, 0.8)",padding:"2px 8px",borderRadius:"3px",whiteSpace:"nowrap",maxWidth:"300px",overflow:"hidden",textOverflow:"ellipsis",pointerEvents:"none",zIndex:10}},".cm-tooltip-autocomplete .cm-completionDetail":{opacity:.5,fontStyle:"italic"},".cm-tooltip-autocomplete .cm-completionLabel":{opacity:1,fontWeight:"normal"}})],[o,s,l]),u=E.useCallback(f=>{e(f)},[e]);return C.jsx(Ote,{value:t,onChange:u,extensions:c,theme:r==="light"?"light":"dark",height:"100%",basicSetup:{lineNumbers:!0,foldGutter:!0,dropCursor:!0,allowMultipleSelections:!0,indentOnInput:!0,bracketMatching:!0,closeBrackets:!0,autocompletion:!0,rectangularSelection:!0,highlightSelectionMatches:!1,searchKeymap:!0}})}),gZt=E.memo(({stylesheet:t,updateStylesheet:e})=>{const[r,n]=E.useState(t.css),[i,o]=E.useState(()=>_5(t.css)),s=E.useRef(),a=E.useCallback(c=>{n(c),e({id:t.id,css:c}),s.current&&clearTimeout(s.current),s.current=setTimeout(()=>{const u=_5(c);o(u),e({id:t.id,css:c,hasErrors:!u.isValid})},1500)},[t.id,e]),l=E.useCallback(()=>{let c=r;c=c.replace(/:\s*/g,": "),c=c.replace(/,\s*/g,", "),c=c.replace(/\s*{\s*/g,` { `),c=c.replace(/;\s*/g,`; `),c=c.replace(/\s*}\s*/g,` } `),c=c.replace(/\n\s*\n/g,` `),c=c.replace(/ \n}/g,` }`),c=c.trim(),n(c);const u=_5(c);o(u),e({id:t.id,css:c,hasErrors:!u.isValid})},[r,t.id,e]);return E.useEffect(()=>(a(t.css),()=>{s.current&&clearTimeout(s.current)}),[]),C.jsx("div",{className:"stylesheets-tab-content",children:C.jsxs("div",{className:"generated-code-wrapper",children:[C.jsxs("header",{children:[C.jsxs("div",{children:[C.jsx("span",{className:"red"}),C.jsx("span",{className:"yellow"}),C.jsx("span",{className:"green"})]}),C.jsx("span",{className:"center",children:t.name}),C.jsxs("div",{className:"editor-actions",children:[!i.isValid&&C.jsx(Qr,{label:`${i.errors.length} error(s), ${i.warnings.length} warning(s)`,children:C.jsxs("span",{className:"validation-indicator error",children:["⚠️ ",i.errors.length]})}),i.isValid&&i.warnings.length>0&&C.jsx(Qr,{label:`${i.warnings.length} warning(s)`,children:C.jsxs("span",{className:"validation-indicator warning",children:["⚡ ",i.warnings.length]})}),i.isValid&&i.warnings.length===0&&r.length>0&&C.jsx(Qr,{label:"CSS is valid",children:C.jsx("span",{className:"validation-indicator success",children:"✓"})}),C.jsx(Qr,{label:"Format CSS",children:C.jsx("button",{className:"btn-secondary btn-xs",onClick:l,children:"Format"})})]})]}),C.jsx("div",{className:"editor-container",children:C.jsx(mZt,{value:r,onChange:a})})]})})});function vZt(t,e){switch(e.type){case"create":return{...t,groups:[...t.groups,e.payload]};case"update":return{...t,groups:t.groups.map(r=>r.id===e.payload.id?{...r,css:e.payload.css,hasErrors:e.payload.hasErrors}:r)};case"delete":return t.groups.length<=1?t:{...t,groups:t.groups.filter(r=>r.id!==e.payload.id)};case"duplicate":{const r=t.groups.find(s=>s.id===e.payload.id);if(!r)return t;const n={...r,id:ht(),name:`${r.name} (Copy)`},i=t.groups.findIndex(s=>s.id===e.payload.id),o=[...t.groups];return o.splice(i+1,0,n),{...t,groups:o}}case"rename":return{...t,groups:t.groups.map(r=>r.id===e.payload.id?{...r,name:e.payload.name}:r)};case"reset":return{...t,groups:t.groups.map(r=>r.id===e.payload.id?{...r,css:`/* Add your custom CSS here */ `}:r)};case"disable":return{...t,isDisabled:!t.isDisabled};case"toggle":return{...t,groups:t.groups.map(r=>r.id===e.payload.id?{...r,isActive:!r.isActive}:r)};default:return t}}function yZt(t=VY){const[e,r]=E.useReducer(vZt,t);return{state:e,dispatch:r}}const BZt=E.memo(()=>{const[t,e]=Yn(Ix),{state:r,dispatch:n}=yZt(t),i=E.useRef(null),[o,s]=E.useState(0),a=E.useMemo(()=>r.groups.map(({name:x,id:I,hasErrors:F})=>({value:x,id:I,hasErrors:F})),[r]),l=E.useRef(""),c=E.useRef(null),[u,f]=E.useState(!1),[d,p]=E.useState({x:0,y:0}),h=E.useMemo(()=>r.groups[o],[o,r]),A=Al(r,500),g=kn(nh),m=(x,I)=>{n({type:"rename",payload:{id:r.groups[x].id,name:I}})},v=()=>{setTimeout(()=>{i.current&&(i.current.scrollLeft=i.current.scrollWidth)},10);const x=r.groups.length+1,I={id:ht(),name:`Stylesheet ${x}`,css:`/* Add your custom CSS here */ `,isActive:!0};n({type:"create",payload:I}),s(r.groups.length)},y=x=>s(x),b=(x,I,F)=>{const{x:k,y:O}=event||{x:0,y:0};l.current=I,c.current=F,p({x:k,y:O}),setTimeout(()=>f(x),10)},B=x=>{switch(x){case"delete":{r.groups.length>1&&(n({type:"delete",payload:{id:l.current}}),c.current!==null&&c.current<=o&&s(Math.max(0,o-1)));break}case"duplicate":{n({type:"duplicate",payload:{id:l.current}}),c.current!==null&&s(c.current+1);break}case"rename":{if(typeof c.current!="number")return;const I=document.querySelectorAll(".stylesheets-wrapper .autosize-input input")?.[c.current];s(c.current),I&&setTimeout(()=>{I.focus(),I.select()},100);break}}},S=()=>n({type:"disable"}),w=x=>{if(x?.isDisabled){g({variables:[],type:"STYLESHEETS"});return}const I=[];for(const F of x.groups)F.isActive&&F.css&&!F.hasErrors&&I.push(F.css);g({variables:I,type:"STYLESHEETS"})};return E.useEffect(()=>{e(r)},[r,e]),E.useEffect(()=>{u||(l.current="",c.current=null)},[u]),E.useEffect(()=>{w(A)},[A]),r?.isDisabled?C.jsx("div",{className:"subsection",children:C.jsx(Qf,{title:"Stylesheets module is disabled",description:"Click to enable",onClick:S})}):C.jsxs("div",{className:"subsection stylesheets-wrapper",children:[C.jsxs("div",{className:"titles-wrapper",children:[C.jsxs("div",{ref:i,className:"titles-list",children:[a.map(({value:x,id:I,hasErrors:F},k)=>C.jsx(pGt,{value:x,isActive:o===k,hasErrors:F,onTitleChange:O=>m(k,O),onTabChange:()=>y(k),onContextMenu:O=>b(O,I,k)},I)),C.jsx(AGt,{opened:u,position:d,onClose:f,onMenuAction:B,excludedItems:r.groups.length===1?[2]:[]})]}),C.jsx(mp,{label:"Create a new stylesheet",children:C.jsx("button",{className:"new-tab",onClick:v,children:C.jsx(wo,{})})})]}),C.jsx("div",{className:"content-wrapper",children:h&&C.jsx(gZt,{stylesheet:h,updateStylesheet:x=>{n({type:"update",payload:x})}},h.id)})]})});function RLe(t){if(!t||t.isDisabled)return[];const e=[];for(const r of t.groups)!r.isActive||!r.css||r.hasErrors||e.push(r.css);return e}const Og=Du+Du,MLe=` @media (prefers-reduced-motion: reduce) { ${Du}*, ${Du}::before, ${Du}::after { ${Og}animation-delay: -1ms !important; ${Og}animation-duration: 1ms !important; ${Og}animation-iteration-count: 1 !important; ${Og}background-attachment: initial !important; ${Og}scroll-behavior: auto !important; ${Og}transition-duration: 0s !important; ${Og}transition-delay: 0s !important; ${Du}} } `,e0={IDLE:"IDLE",CSS_GENERATOR:"CSS_GENERATOR",CLASS_REFRESH:"CLASS_REFRESH",COLOR_REFRESH:"COLOR_REFRESH",PUSH_DB:"PUSH_DB",FINISHED:"FINISHED"};async function CZt(t){return t?.modulesData?.COLOR_SYSTEM?.groups.every(({colors:r})=>r.every(({name:n})=>!!n))?{isSuccessful:!0,message:""}:{isSuccessful:!1,message:"Please, fill in all color names."}}function Ite(){const[t,e]=E.useState(""),[r,n]=E.useState(null),[i,o]=E.useState(null),[s,a]=E.useState(e0.IDLE),l=Xn(E.useCallback(w=>w(F9e),[])),c=Xn(E.useCallback(w=>w(wN),[])),u=Xn(E.useCallback(w=>w(Fp),[])),f=Xn(E.useCallback(w=>w(xs),[])),d=Xn(E.useCallback(w=>w(DNe),[])),p=Xn(E.useCallback(w=>w(ad),[])),h=Xn(E.useCallback(w=>w(Ix),[]));tx();const A=kn(Tp),g=E.useCallback(w=>w.groups.some(({colors:x})=>x.some(({isDarkMode:I})=>I)),[]);async function m({cssObjects:w,classPrefix:x,addonEnableArray:I,preset:F}){if(a(e0.CLASS_REFRESH),!I.some(({enabled:M})=>M))return;const O=[];for(const{selector:M}of w){const H=M.trim().includes(",")?gee(M):M.trim();if(H.startsWith(".")&&!H?.includes(":")){const V=H.match(/\./g)?.length;if(V&&V>1){const z=H.split(".").at(-1);z&&O.push(z);continue}const j=H.replace(".",""),R=x?`${x}${j}`:j;O.push(R)}}if(g(p())){const M=x?`${x}theme-inverted`:"theme-inverted";O.push(M)}O.length&&await Promise.allSettled([...I.some(({addon:M,enabled:H})=>M==="gutenberg"&&H)?[VHt({groupedClassNames:dGt(F)})]:[],QHt({classes:[...new Set(O)].join(","),addonEnableArray:I})])}async function v({addonEnableArray:w,variablePrefix:x,preset:I}){if(a(e0.COLOR_REFRESH),!w.some(({enabled:O})=>O))return;const F=I?.modulesData?.COLOR_SYSTEM;if(!F)return;const k=[];for(const O of F.groups)if(!O.isDisabled)for(const L of O.colors){const{value:M,name:H,id:V,transparentVariables:j,transparent:R,isShades:Q,shades:z,isTints:X,tints:_,darkValue:G,isDarkMode:W}=L;if(!M.includes("gradient")&&M&&H){const J=`var(${Ks(x?`${x}${H}`:H)})`;if(k.push({name:H,value:M,raw:J,id:V}),R&&j&&j.length&&j.forEach(re=>{const{name:fe="",value:de="",id:ie=""}=XV(L,re,!0)||{};if(!ie)return;const le=`var(${Ks(x?`${x}${fe}`:fe)})`;k.push({name:fe,value:de,raw:le,id:ie})}),Q&&z&&z.forEach((re,fe)=>{const{name:de,value:ie}=re,le=`var(${Ks(x?`${x}${de}`:de)})`,De=`${V}.d.${fe}`;k.push({name:de,value:ie,raw:le,id:De})}),X&&_&&_.forEach((re,fe)=>{const{name:de,value:ie}=re,le=`var(${Ks(x?`${x}${de}`:de)})`,De=`${V}.t.${fe}`;k.push({name:de,value:ie,raw:le,id:De})}),!(W&&G))continue;const{darkShades:ee,darkTints:q}=L,Z=`var(${Ks(x?`${x}${H}`:H)})`;k.push({name:H,value:G,raw:Z,id:`${V}.td`,dark:!0}),Q&&ee&&ee.forEach((re,fe)=>{const{name:de,value:ie}=re,le=`var(${Ks(x?`${x}${de}`:de)})`,De=`${V}.td.d.${fe}`;k.push({name:de,value:ie,raw:le,id:De,dark:!0})}),X&&q&&q.forEach((re,fe)=>{const{name:de,value:ie}=re,le=`var(${Ks(x?`${x}${de}`:de)})`,De=`${V}.td.t.${fe}`;k.push({name:de,value:ie,raw:le,id:De,dark:!0})}),R&&j&&j.length&&j.forEach(re=>{const fe=XV(L,re,!1,!0);if(!fe)return;const{name:de,value:ie,id:le}=fe,De=`var(${Ks(x?`${x}${de}`:de)})`;k.push({name:de,value:ie,raw:De,id:le,dark:!0})})}}await UHt({colors:k,addonEnableArray:w})}async function y({cssObjects:w,classPrefix:x,variablePrefix:I,minScreenWidth:F,maxScreenWidth:k,id:O}){const{postcss:L,theme_mode:M,postcss_easing_gradients:H,postcss_hover_media:V,root_font_size:j,is_rem:R}=f(),Q=g(p());uo(`Saved project has dark theme: ${Q}`),A({...u(),has_theme:Q,theme_mode:M,selected_id:O});const z=await HA({cssObjects:w,options:{format:!0,combineSelectors:!0,propertyValidation:!1,valueValidation:!1,minScreenWidth:F,maxScreenWidth:k,manualDarkMode:Q,variablePrefix:I,classPrefix:x,postcss:L,postcssEasingGradients:H,postcssHoverMedia:V,rootFontSize:j,isRem:R}});n(z);const X=_A(z),_=new Blob([X],{type:"text/css"});return e(Jk(_?.size)),z}async function b({cssObjects:w,classPrefix:x,variablePrefix:I,minScreenWidth:F,maxScreenWidth:k,enabled:O}){if(!O)return;const{postcss:L,postcss_easing_gradients:M,is_rem:H}=await f(),V=await HA({cssObjects:w,options:{format:!0,combineSelectors:!0,propertyValidation:!1,valueValidation:!1,minScreenWidth:F,maxScreenWidth:k,variablePrefix:I,classPrefix:x,postcss:L,selectorPrefix:"html .editor-styles-wrapper ",postcssEasingGradients:M,isRem:H}}),j=_A(V);await GHt({cssString:j})}async function B({classPrefix:w,variablePrefix:x,minScreenWidth:I,maxScreenWidth:F,preset:k,enabled:O}){if(!O)return;const L=k?.modulesData?.COLOR_SYSTEM;if(!L)return;const{postcss:M,root_font_size:H,is_rem:V}=await f(),j=await S3e({colorSystemState:L,manual_theme:!0}),R=await HA({cssObjects:j,options:{format:!0,combineSelectors:!0,propertyValidation:!1,valueValidation:!1,manualDarkMode:g(L),minScreenWidth:I,maxScreenWidth:F,variablePrefix:x,classPrefix:w,postcss:M,rootFontSize:H,isRem:V}});R&&await WHt({cssString:_A(R)})}async function S(w=!0){window.onbeforeunload=()=>"",a(e0.CSS_GENERATOR);const x=performance.now(),{oxygen:I,bricks:F,gutenberg:k}=u(),{root_font_size:O,min_screen_width:L,max_screen_width:M,prefers_reduced_motion:H}=f(),V=await c();if(!V){wr.error("Something went wrong. Please, try again."),a(e0.IDLE);return}const{isSuccessful:j,message:R}=await CZt(V);if(!j){wr.error(R),a(e0.IDLE);return}const Q=d()("bricks")&&F,z=d()("oxygen")&&I,X=[{addon:"bricks",enabled:!!Q},{addon:"oxygen",enabled:!!z},{addon:"gutenberg",enabled:!!k}];if(V===null)return null;const _=l();O===10&&_.push({selector:"html",declarations:[{property:"font-size",value:"62.5%",id:"1"}],id:"root-font-size"});let G=await ul(y)({cssObjects:_,classPrefix:V.classPrefix,variablePrefix:V.variablePrefix,minScreenWidth:L,maxScreenWidth:M,id:V.id});H&&(G+=MLe),k&&(G+=".wp-block{}");const W=h(),J=RLe(W);J.length>0&&(G+=` /* Custom Stylesheets */ `,G+=J.join(` `));const ee={...V},q=ee.id;o(ee),a(e0.PUSH_DB);const Z=await Promise.allSettled([ul(MHt)(V),ul(_Ht)({cssString:_A(G),id:q}),ul(b)({cssObjects:_,classPrefix:V.classPrefix,variablePrefix:V.variablePrefix,minScreenWidth:L,maxScreenWidth:M,id:V.id,enabled:!!k}),ul(B)({preset:V,classPrefix:V.classPrefix,variablePrefix:V.variablePrefix,minScreenWidth:L,maxScreenWidth:M,enabled:!!I}),ul(v)({classPrefix:V.classPrefix,variablePrefix:V.variablePrefix,preset:V,addonEnableArray:X})]);await ul(m)({cssObjects:_,classPrefix:V.classPrefix,preset:V,addonEnableArray:X}),Z.forEach(le=>{le.status==="rejected"&&console.warn(le.reason)});const re=Z[1],fe=performance.now(),de=re.status==="fulfilled"?re.value.bytes_saved:0,ie=fe-x;console.table({"Total time":[`${Hi(ie)}ms`,`${Hi(ie/1e3)}s`],"Saved CSS size":[Jk(de)]}),w&&wr.success(X.some(({enabled:le})=>le)?"Successfully pushed and synced.":"Successfully pushed."),a(e0.IDLE),window.onbeforeunload=null}return{handlePush:w=>new Promise(x=>x(setTimeout(()=>S(w),0))),cssSize:t,newPresetData:i,cssString:r,state:s}}const w3="core",_Le=Zr(!1),jLe=Zr(!1),vn=E.memo(({children:t,htmlFor:e,label:r,description:n,disabled:i=!1,isColumn:o})=>C.jsxs("div",{className:L3("row space-between padding-xl align-center",i&&"opacity-50 pointer-events-none",!o&&"gap-3xl",o&&"grid columns-1 gap-xl"),children:[C.jsxs("label",{style:{cursor:e?"pointer":"default"},className:"grid gap-2xs",htmlFor:e,children:[C.jsx("h4",{children:r}),n?C.jsx("p",{className:"text-m opacity-50",children:n}):null]}),t]})),bZt=({onClick:t,title:e,subTitle:r,description:n,isSelected:i})=>C.jsxs("div",{className:zr("preset-card",i&&"preset-card-selected"),onClick:t,children:[C.jsxs("div",{className:"preset-card-header",children:[C.jsx("b",{className:"preset-card-title",children:e}),C.jsx("div",{className:"preset-card-subtitle",children:r})]}),C.jsx("div",{className:"preset-card-description",children:n})]}),wZt=[{title:"Core Framework",subTitle:"Full experience",description:"Import default colors, typography, spacing, utility classes and variables."},{title:"Variables only",subTitle:"Minimalistic",description:"Imports default CSS variables for colors, font sizes, and spacings. No utility classes."},{title:"Empty",subTitle:"Create your own",description:"Load an empty interface and start from scratch to create your own framework."}],ULe=E.memo(({setIsOnboarding:t})=>{const[e,r]=E.useState(!1),[n,i]=E.useState(1),[o,s]=E.useState({selectedPreset:1,selectPresetType:"default",rootFontSize:16,isDarkMode:!0}),[a,l]=E.useState(null),[c,u]=E.useState(""),f=kn(Cee),d=kn(Tp),p=kn(yee),h=kn(Bee),A=kn(nh),g=kn(Sv),[m,v]=Yn(Zu),[y,b]=Yn(ef),B=tn(jLe);async function S(k){k?.includes("bricks")&&s(O=>({...O,rootFontSize:10}))}const{activeBuilders:w}=_N(S),{handleLoadOfAutocomplete:x}=tx();Ite();async function I(){const k="Error while fetching settings";return new Promise(O=>{window.wp.api.loadPromise.done(async()=>{const L=new window.wp.api.models.Settings;try{const H=(await L.fetch())?.core_framework_main,V=Hee.safeParse(H);if(!V.success){d({...kA,...H}),O(kA),console.warn(k);return}return d(V.data),O(V.data),V.data}catch{console.warn(k),O(kA)}})})}E.useCallback(async([k])=>{wr.promise(new Promise(async(O,L)=>{let M;try{const j=k.name.endsWith(`.${w3}`)?R4e(await k.text()):await k.text();M=await JSON.parse(j)}catch{return L("Invalid preset file")}const H=RN(M);if(!H.success)return uo("Invalid preset file",H),L("Invalid preset file");const V=s3({preset:M});l(V),s(j=>({...j,selectedPreset:1,selectPresetType:"file"})),u("Selected project from file"),O(V)}),{loading:"Loading...",success:"Loaded!",error:"Failed to import project from file. Ensure the file is valid and try again."})},[]);async function F(){if(e)return;r(!0);const k=await ul(I)()||kA;let O=ap;switch(o.selectedPreset){case 1:O=ap;break;case 2:O=wHt();break;case 3:O=bHt();break}if(!o.isDarkMode){const j=O.modulesData?.COLOR_SYSTEM?.groups?.map(R=>({...R,colors:R.colors.map(Q=>({...Q,isDarkMode:!1}))}));O={...O,modulesData:{...O.modulesData,COLOR_SYSTEM:{...O.modulesData?.COLOR_SYSTEM,groups:j}}}}O={...O,preferences:{...O.preferences,root_font_size:o.rootFontSize}};const L=s3({preset:O,oldPreferences:k});p(yC({typographyData:L?.modulesData?.FLUID_TYPOGRAPHY||ac,root_font_size:Number(k?.root_font_size||ha.root_font_size),is_rem:!!k?.is_rem,min_screen_width:k?.min_screen_width||bn,max_screen_width:k?.max_screen_width||bs})),h(gC({spacingState:L?.modulesData?.FLUID_SPACING||Gc,root_font_size:Number(k?.root_font_size||ha.root_font_size),is_rem:!!k?.is_rem,min_screen_width:k?.min_screen_width||bn,max_screen_width:k?.max_screen_width||bs}));const M=Z3(L?.modulesData?.FLUID_SPACING?.groups[0]||Gc.groups[0]),H=ex(L?.modulesData?.FLUID_TYPOGRAPHY?.groups[0]||ac.groups[0]);A({variables:M,type:"SPACING"}),A({variables:H,type:"FLUID_TYPOGRAPHY"}),x(L),f(L),g("COLOR_SYSTEM"),r(!1),t(!1),o.selectedPreset===3&&(v(j=>({...j,isDisabled:!0})),b(j=>({...j,isDisabled:!0})))}return E.useEffect(()=>{S(w)},[w]),C.jsx("div",{className:"onboarding-container",children:C.jsxs("div",{className:"onboarding",children:[B?C.jsx("button",{className:"onboarding-close",onClick:()=>t(!1),children:C.jsx(wo,{})}):null,C.jsxs("div",{className:"header",children:[C.jsxs("div",{className:"left",children:[C.jsx("img",{src:Kee,alt:"Core Framework Logo"}),C.jsx("h1",{children:"Let's get started"})]}),C.jsx("div",{className:"right",children:C.jsx("div",{className:"progress",children:new Array(3).fill(0).map((k,O)=>C.jsx("div",{className:zr("progress-dot",n>=O+1&&"progress-dot-active")},O))})})]}),C.jsxs("div",{className:"inner-container",children:[n===1?C.jsxs("div",{className:"",children:[C.jsx("h2",{children:"1. How do you wish to start?"}),C.jsx("div",{className:zr("preset-selector-container",o.selectPresetType==="default"&&"selected"),children:wZt.map((k,O)=>C.jsx(bZt,{...k,onClick:()=>{u(""),s(L=>({...L,selectedPreset:O+1,selectedPresetType:"default"}))},isSelected:o.selectedPreset===O+1&&o.selectPresetType==="default"},k.title))})]}):null,n===2?C.jsxs("div",{children:[C.jsx("h2",{children:"2. Do you want to activate any addons?"}),C.jsx("div",{className:"addons-container",children:C.jsx(zee,{withoutSection:!0,isMinimal:!0})})]}):null,n===3?C.jsxs("div",{className:"",children:[C.jsx("h2",{children:"3. Set up your basic preferences"}),C.jsx("div",{className:"preference-row",children:C.jsx(vn,{label:"Root font size",htmlFor:"root_font_size",children:C.jsx(ra,{onChange:k=>s(O=>({...O,rootFontSize:k==="62.5%"?10:16})),value:o.rootFontSize===10?"62.5%":"100%",data:["100%","62.5%"],id:"root_font_size",className:"preferences-right-side"})})}),o.selectPresetType==="default"?C.jsx("div",{className:"preference-row",children:C.jsx(vn,{label:"Dark mode",htmlFor:"is_dark_mode",children:C.jsx(Ln,{onChange:({target:{checked:k}})=>s(O=>({...O,isDarkMode:k})),checked:o.isDarkMode,id:"is_dark_mode"})})}):null]}):null]}),C.jsxs("div",{className:"footer",children:[C.jsx("a",{className:"help",href:"https://docs.coreframework.com/getting-started/initial-setup-and-configuration#onboarding",target:"_blank",rel:"noreferrer",children:C.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C.jsxs("g",{clipPath:"url(#clip0_13_64)",children:[C.jsx("path",{d:"M10 21H14",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),C.jsx("path",{d:"M10 3H14",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),C.jsx("path",{d:"M3 10V14",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),C.jsx("path",{d:"M21 10V14",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),C.jsx("path",{d:"M7 21V21C4.79086 21 3 19.2091 3 17V17",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),C.jsx("path",{d:"M7 21V21C4.79086 21 3 19.2091 3 17V17",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),C.jsx("path",{d:"M17 3C19.2091 3 21 4.79086 21 7",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),C.jsx("path",{d:"M3 7C3 4.79086 4.79086 3 7 3",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),C.jsx("path",{d:"M21 17C21 19.2091 19.2091 21 17 21",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),C.jsx("path",{d:"M12 13.5V12C13.1046 12 14 11.1046 14 10C14 8.89543 13.1046 8 12 8C10.8954 8 10 8.89543 10 10",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),C.jsx("path",{d:"M12 15.95C11.9736 15.9494 11.9516 15.9704 11.951 15.9969V16C11.951 16.0271 11.973 16.049 12 16.049C12.0271 16.049 12.049 16.0271 12.049 16C12.049 15.9729 12.0271 15.951 12 15.951H11.999",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),C.jsx("path",{d:"M12.05 16C12.05 16.0276 12.0276 16.05 12 16.05C11.9723 16.05 11.95 16.0276 11.95 16C11.95 15.9724 11.9723 15.95 12 15.95",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),C.jsx("path",{d:"M12 15.95C12.0276 15.95 12.05 15.9724 12.05 16",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),C.jsx("defs",{children:C.jsx("clipPath",{id:"clip0_13_64",children:C.jsx("rect",{width:"24",height:"24",fill:"white"})})})]})}),C.jsxs("div",{className:"right",children:[C.jsx("p",{className:"info",children:c}),[2,3].includes(n)&&C.jsx("button",{className:"btn-tertiary padding-s",style:{whiteSpace:"nowrap"},onClick:()=>{i(k=>k-1<=0?1:k-1)},children:"Go Back"}),n===3?C.jsxs("button",{id:"push1",onClick:()=>{wr.promise(F(),{loading:"Loading...",success:"Loaded!",error:"Something went wrong [#07]"})},className:zr("btn-primary btn-m full-width relative"),children:[C.jsx("span",{style:{opacity:e?0:1},children:"Finish"}),e&&C.jsx(td,{size:"within-button"})]}):C.jsx("button",{className:"btn-primary btn-m full-width relative",onClick:()=>{i(k=>k+1>=4?3:k+1)},children:"Continue"})]})]})]})})});ULe.displayName="Onboarding";function xZt(){const t=kn(Cee),e=kn(Tp),r=kn(yee),n=kn(Bee),i=kn(nh),o=kn(WC),s=tn(eu),[a,l]=Yn(_Le),{handleLoadOfAutocomplete:c}=tx();async function u(){const p=await HHt();if(!p)return;const{bricks:h,oxygen:A,figma:g}=p,m=await Zj({licenseKey:String(h),type:"bricks"})?{licenseKey:typeof h=="string"?h:"",type:"bricks"}:null,v=await Zj({licenseKey:String(A),type:"oxygen"})?{licenseKey:typeof A=="string"?A:"",type:"oxygen"}:null,y=await Zj({licenseKey:String(g),type:"figma"})?{licenseKey:typeof g=="string"?g:"",type:"figma"}:null;o([m,v,{licenseKey:"1234",type:"gutenberg"},y].filter(Boolean))}async function f(){const p="Error while fetching settings";return new Promise(h=>{window.wp.api.loadPromise.done(async()=>{const A=new window.wp.api.models.Settings;try{const m=(await A.fetch())?.core_framework_main,v=Hee.safeParse(m);if(!v.success){e({...kA,...m}),h(kA),console.warn(p);return}return e(v.data),h(v.data),v.data}catch{console.warn(p),h(kA)}})})}async function d(){u();const p=await f()||kA,{selected_id:h}=p,{success:A,data:g}=await jHt(h);if(!(A&&g&&g.data)){uo("No preset selected",{selected_id:h}),l(!0);return}const m=JSON.parse(g.data),v=ul(RN)(m);if(!v.success){uo("Preset validation failed",v),l(!0);return}const y=s3({preset:v.data,oldPreferences:p});r(yC({typographyData:y?.modulesData?.FLUID_TYPOGRAPHY||ac,root_font_size:Number(p?.root_font_size||ha.root_font_size),is_rem:!!p?.is_rem,min_screen_width:p?.min_screen_width||bn,max_screen_width:p?.max_screen_width||bs})),n(gC({spacingState:y?.modulesData?.FLUID_SPACING||Gc,root_font_size:Number(p?.root_font_size||ha.root_font_size),is_rem:!!p?.is_rem,min_screen_width:p?.min_screen_width||bn,max_screen_width:p?.max_screen_width||bs}));const b=Z3(y?.modulesData?.FLUID_SPACING?.groups?.[0]||Gc?.groups?.[0]),B=ex(y?.modulesData?.FLUID_TYPOGRAPHY?.groups?.[0]||ac?.groups?.[0]);i({variables:b,type:"SPACING"}),i({variables:B,type:"FLUID_TYPOGRAPHY"}),t(y),c(y),setTimeout(eGt,1e3)}return ym(()=>{d()}),{isOnboarding:a,setIsOnboarding:l,handleInitialLoad:d,currentPreset:s}}const SZt=E.memo(function(){return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M3.879 5.121L5.12 3.88A3 3 0 017.243 3H18a3 3 0 013 3v12a3 3 0 01-3 3H6a3 3 0 01-3-3V7.243a3 3 0 01.879-2.122z"}),C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M16 3v4a1 1 0 01-1 1H9a1 1 0 01-1-1V3"}),C.jsx("circle",{cx:"12",cy:"14.5",r:"3",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),C.jsx("path",{fill:"none",d:"M24 24V0H0v24z"})]})}),EZt=()=>{document.querySelector(".content")?.scrollTo({top:0,behavior:"instant"})},QLe=E.memo(()=>{const[t,e]=Yn(Sv),{handlePush:r,state:n}=Ite(),i=c=>{e(c),EZt()},o=tn(Fp),s=Xn(E.useCallback(c=>c(DNe),[])),a=tn(WC),l=E.useMemo(()=>{const c=[],u=[],f=["OXYGEN","BRICKS","GUTENBERG","FIGMA"];for(const d of njt)f.includes(d.value)&&o[d.value.toLowerCase()]&&s()(d.value.toLowerCase())?c?.push(d):f.includes(d.value)||u?.push(d);return[c,u]},[o,a]);return C.jsxs("nav",{className:"nav",children:[C.jsxs("div",{className:"nav-scroll-wrapper",children:[C.jsxs("ul",{children:[C.jsx(Qr,{label:"Save",position:"bottom-start",children:C.jsx("li",{id:"push2",className:"push btn-primary",onClick:()=>r(),children:n==="IDLE"?C.jsx(SZt,{}):C.jsx(td,{size:"small"})})}),vO.map(c=>C.jsx(Qr,{label:c.name,position:"top-start",children:C.jsxs("li",{className:zr({active:t===c.value}),onClick:()=>i(c.value),children:[C.jsx(c.icon,{}),C.jsx("span",{children:c.name})]})},c.name))]}),C.jsxs("ul",{className:"margin-top-auto",children:[l?.[0]?.length?C.jsxs(C.Fragment,{children:[l?.[0]?.map(c=>C.jsx(Qr,{label:c.name,position:"top-start",children:C.jsxs("li",{className:zr({active:t===c.value}),onClick:()=>i(c.value),children:[C.jsx(c.icon,{}),C.jsx("span",{children:c.name})]})},c.name)),C.jsx("hr",{})]}):null,l?.[1]?.map(c=>C.jsx(Qr,{label:c.name,position:"top-start",children:C.jsxs("li",{className:zr({active:t===c.value}),onClick:()=>i(c.value),children:[C.jsx(c.icon,{}),C.jsx("span",{children:c.name})]})},c.name))]})]}),C.jsx("hr",{}),C.jsxs("div",{className:"text-2xs opacity-50 padding-xs version",children:[C.jsx("img",{src:Kee,alt:"Core Framework Logo"}),C.jsx("span",{children:X1})]})]})});QLe.displayName="Nav";const DZt=E.memo(function(){return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"145",height:"126",fill:"none",viewBox:"0 0 145 126",children:[C.jsx("path",{fill:"#1F2229",stroke:"#484E59",strokeMiterlimit:"10",strokeWidth:"2",d:"M65.776 124.792c30.41 0 55.063-24.653 55.063-55.172 0-30.518-24.762-55.171-55.063-55.171-30.41 0-55.063 24.653-55.063 55.171 0 30.519 24.653 55.172 55.063 55.172z"}),C.jsx("path",{fill:"#3E4450",d:"M41.383.481c-.823.823-.94 2.233-.118 3.055.47.588 1.292.823 2.114.588.353.47.353 1.057.118 1.527l-1.292 1.88c-.118.118-.235.353-.235.47l-1.292-1.41c.352-1.175-.235-2.35-1.41-2.702-1.174-.353-2.349.235-2.701 1.41-.352 1.175.235 2.35 1.41 2.703.352.117.822.117 1.174 0l3.406 3.642c-.352 1.175.235 2.35 1.41 2.703 1.174.353 2.349-.235 2.701-1.41 0-.118 0-.118.118-.235v-.588c-.118-1.175-1.175-2.115-2.467-1.88h-.235c-.352-.47-.47-1.057-.117-1.527l1.292-1.88a3.535 3.535 0 00-.235-4.113c0-.118 0-.235.117-.235V1.89C45.024.716 43.967-.106 42.792.011c-.705 0-1.057.118-1.41.47zm-3.29 4.935c.353-.235.706-.235 1.058 0 .235.353.235.705 0 1.058-.352.235-.705.235-1.057 0s-.352-.705 0-1.058zm7.048 6.58c.118.118.118.236.118.353 0 .353-.353.705-.822.705-.353 0-.705-.352-.705-.822 0-.118.117-.353.117-.47.118-.235.353-.235.588-.235.352.117.587.235.704.47zM42.205 1.54c.235-.353.705-.353 1.057-.118.117 0 .117.118.117.235 0 .118 0 .118.118.235v.353l-.352.352c-.353.235-.823 0-.94-.352-.118-.118-.118-.47 0-.705z"}),C.jsx("path",{fill:"#949BAB",d:"M93.2 14.684l-1.78.96c-1.782-1.8-4.513-1.8-6.295 0-.95.96-1.425 2.401-1.187 3.842l-1.9.84c-.356.12-.475.6-.238.84l.713 1.442c.119.36.594.48.831.24l1.781-.96c1.782 1.8 4.513 1.8 6.294 0 .95-.961 1.425-2.402 1.188-3.843l1.781-.96c.356-.12.475-.6.238-.84l-.713-1.441c0-.12-.475-.24-.712-.12zm-3.918 6.123c-1.069.6-2.375.12-2.969-.96-.594-1.081-.119-2.402.95-3.002 1.069-.6 2.375-.12 2.969.96.475 1.08.119 2.401-.95 3.002zM12.48 106.172l-2.085-3.8c-.781-1.441-2.475-1.965-3.908-1.179l-.391.131-.39-.655c-.131-.262-.392-.262-.652-.131-.13 0-.13.131-.26.262l-1.043 2.621c-.13.262 0 .524.26.655h.13l2.737.524c.26 0 .52-.131.52-.393v-.262l-.39-.655.39-.263c.392-.262 1.043-.131 1.173.394l2.085 3.8a2.02 2.02 0 000 2.096c.521 1.049 1.694 1.311 2.736.787.39-.262.651-.525.912-.918.13-.131.13-.393.13-.524.13-1.179-.651-2.227-1.824-2.359 0-.131-.13-.131-.13-.131zm-.26 2.621c-.131 0-.131 0 0 0-.392-.262-.522-.655-.261-1.048a.716.716 0 01.651-.393c.13 0 .391.131.521.262.26.262.26.655 0 .917-.39.393-.651.393-.912.262z"}),C.jsx("path",{fill:"#949BAB",d:"M1.015 102.766c-.912.524-1.303 1.835-.782 2.752.391.655 1.043 1.048 1.824 1.048l3.648 6.552c.26.524.782.655 1.303.393.521-.262.652-.786.391-1.31l-3.648-6.552c.39-.655.39-1.442 0-2.097-.521-.917-1.824-1.31-2.736-.786zm1.303 2.359c-.39.131-.782.131-.912-.262s-.13-.787.26-.918c.391-.131.782-.131.913.262.13.394 0 .787-.261.918z"}),C.jsx("path",{fill:"#3E4450",d:"M64.517 120.757l.118-.231c.352-.694.352-1.388 0-2.083l-1.058-2.198a.348.348 0 010-.463l.353-.81.587.348c.235.115.47 0 .588-.232v-.231l-.47-2.546c0-.231-.235-.347-.47-.347h-.118l-2.349 1.042c-.235.115-.352.347-.235.578 0 .116.117.116.235.232l.587.347-.352.809c-.118.116-.235.232-.352.232l-2.467.347c-.705.116-1.41.578-1.645 1.157l-.117.231c-1.058 0-1.88.81-1.88 1.851 0 1.042.822 1.852 1.88 1.852 1.057 0 1.88-.81 1.88-1.852 0-.347-.118-.694-.353-.925l.117-.231c.118-.116.235-.232.353-.232l2.114-.347c.235 0 .47.116.587.347l.94 1.967a.348.348 0 010 .463l-.117.231c-1.058 0-1.88.926-1.762 1.851 0 1.042.94 1.851 1.88 1.736 1.056 0 1.879-.926 1.761-1.851.118-.347 0-.695-.235-1.042zm-7.4-1.272c-.353-.116-.47-.579-.235-.81.117-.347.587-.463.822-.232.352.116.47.579.235.81-.117.232-.587.347-.822.232zm5.52 2.892c-.352-.116-.47-.578-.234-.81.117-.347.587-.463.822-.231.235.231.47.578.235.81-.117.231-.47.347-.822.231z"}),C.jsx("path",{fill:"#2E333D",stroke:"#3E4450",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.591",d:"M68.681 96.964l-54.351 3.573L9.935 33.67a3.952 3.952 0 013.68-4.212l39.08-2.568 12.079 10.626 3.907 59.448z"}),C.jsx("path",{fill:"#3E4450",d:"M52.726 27.364l.354 5.384a6 6 0 006.38 5.594l5.345-.352"}),C.jsxs("g",{opacity:"0.5",children:[C.jsx("path",{fill:"#686F80",d:"M35.841 51.826l-9.324.722c-.4.034-.702-.242-.717-.542-.018-.35.312-.628.655-.657l9.324-.722c.4-.033.701.243.717.543.016.3-.255.623-.655.656zM37.037 70.02l-9.324.722c-.4.033-.702-.243-.717-.543-.019-.35.312-.628.655-.656l9.323-.723c.4-.033.702.243.718.543.016.3-.255.623-.655.656z"}),C.jsx("path",{fill:"#5E6677",d:"M57.912 50.36l-10.75.833c-.4.032-.702-.24-.718-.537-.018-.346.312-.622.655-.65l10.693-.827c.4-.033.702.24.717.537.073.292-.197.612-.597.645zM59.108 68.554l-10.75.832c-.4.033-.702-.24-.718-.537-.018-.346.312-.621.655-.65l10.693-.826c.4-.033.702.24.717.536.073.292-.197.612-.597.645z"}),C.jsx("path",{fill:"#686F80",d:"M51.669 64.31l-10.75.83c-.4.034-.702-.24-.717-.536-.019-.346.311-.62.654-.649l10.75-.831c.4-.033.702.24.718.536.018.346-.312.621-.655.65zM52.865 82.503l-10.75.831c-.4.033-.702-.24-.718-.537-.018-.345.312-.62.655-.649l10.75-.831c.4-.033.702.24.718.537.018.345-.312.62-.655.649z"}),C.jsx("path",{fill:"#0E1016",d:"M44.163 51.273l-5.216.396c-.4.035-.703-.252-.718-.564-.019-.363.312-.653.656-.682l5.215-.397c.4-.034.703.253.719.565.075.358-.256.648-.657.682zM45.358 69.466l-5.215.397c-.401.034-.703-.253-.72-.564-.017-.364.313-.653.657-.683l5.215-.396c.401-.035.703.252.719.564.075.359-.255.648-.656.682zM22.83 52.64l-3.842.335c-.402.035-.704-.256-.72-.572-.018-.368.255-.656.657-.69l3.841-.336c.402-.034.704.256.72.572.018.368-.256.656-.657.691zM24.025 70.834l-3.842.334c-.401.035-.703-.256-.72-.571-.017-.369.256-.657.658-.692l3.841-.334c.402-.035.704.256.72.571.018.368-.256.657-.657.692z"}),C.jsx("path",{fill:"#686F80",d:"M37.959 56.226l-5.615.429c-.4.034-.703-.252-.719-.562-.018-.362.313-.65.656-.68l5.615-.428c.401-.034.703.251.719.562.073.305-.255.645-.656.679zM39.155 74.42l-5.615.428c-.4.035-.703-.251-.718-.561-.018-.362.312-.65.656-.68l5.614-.429c.401-.034.703.252.719.562.073.305-.255.645-.656.68zM55.305 55.103l-14.237 1.003c-.4.032-.701-.236-.717-.528-.018-.34.312-.611.655-.64l14.236-1.002c.4-.032.702.237.718.529.015.291-.312.61-.655.638zM56.5 73.296L42.265 74.3c-.4.032-.702-.237-.717-.528-.018-.34.312-.612.654-.64l14.237-1.002c.4-.032.702.236.717.528.016.292-.311.612-.654.64z"}),C.jsx("path",{fill:"#5E6677",d:"M28.66 56.736l-9.377.774c-.4.033-.701-.242-.717-.54-.018-.349.312-.626.655-.654l9.377-.774c.4-.033.702.242.717.54.016.299-.254.621-.655.654zM29.856 74.93l-9.377.773c-.4.034-.702-.242-.717-.54-.018-.348.311-.625.655-.654l9.377-.774c.4-.033.702.242.717.54.016.3-.254.621-.655.654z"}),C.jsx("path",{fill:"#0E1016",d:"M45.611 60.137l-12.974.998c-.4.033-.701-.236-.717-.528-.018-.34.311-.611.654-.639l13.032-1.003c.4-.032.701.236.717.528.018.34-.312.612-.712.644zM46.807 78.33l-12.974.999c-.4.032-.702-.237-.717-.528-.019-.341.311-.612.654-.64l13.032-1.003c.4-.032.701.237.717.529.018.34-.312.611-.712.643z"}),C.jsx("path",{fill:"#686F80",d:"M28.954 61.21l-9.377.774c-.4.033-.702-.242-.717-.54-.018-.349.312-.626.655-.654l9.377-.774c.4-.033.702.242.717.54.016.3-.254.621-.655.654zM30.15 79.404l-9.377.774c-.4.033-.702-.242-.717-.54-.019-.35.311-.626.655-.655l9.377-.773c.4-.033.702.241.717.54.016.299-.254.62-.655.654z"}),C.jsx("path",{fill:"#5E6677",d:"M37.35 65.232l-7.156.553c-.4.034-.702-.248-.718-.553-.018-.357.312-.64.655-.67l7.156-.552c.4-.034.703.247.718.553.018.356-.255.635-.655.669zM38.546 83.425l-7.156.553c-.4.034-.702-.247-.718-.553-.018-.356.313-.64.656-.669l7.155-.553c.401-.034.703.248.719.553.018.357-.255.636-.656.67z"}),C.jsx("path",{fill:"#0E1016",d:"M25.655 65.963l-5.782.493c-.401.034-.703-.25-.719-.559-.018-.36.313-.647.656-.676l5.783-.493c.4-.034.702.25.718.56.075.355-.255.641-.656.675zM26.85 84.157l-5.782.493c-.4.034-.703-.25-.718-.56-.019-.36.312-.646.655-.675l5.783-.493c.4-.034.703.25.718.559.076.355-.255.642-.655.676zM44.797 44.151l-26.268 1.914c-.4.03-.7-.223-.716-.5-.019-.321.31-.577.653-.603l26.268-1.914c.4-.03.7.224.716.5.019.321-.254.573-.654.603z"})]}),C.jsx("path",{fill:"#949BAB",d:"M28.639 57.618l.222 3.384c.053.797-.068 1.804-1.744 1.915l-.372.024.235 3.584.373-.025c1.117-.073 1.9.475 1.98 1.67l.235 3.584c.21 3.185 2.016 5.066 5.18 4.858l1.304-.085-.236-3.584-1.303.085c-.558.037-1.316-.113-1.408-1.507l-.261-3.982c-.092-1.393-.716-2.352-1.872-2.876 1.078-.67 1.557-1.902 1.479-3.097l-.262-3.982c-.078-1.194.64-1.642 1.199-1.678l1.117-.074-.249-3.783-1.303.086c-2.979.196-4.537 2.098-4.314 5.483zM49.012 59.52l-.219-3.323c-.205-3.127-2.047-4.969-5.284-4.756l-1.333.088.231 3.518 1.143-.075c.57-.038 1.345.108 1.435 1.476l.257 3.909c.09 1.368.725 2.308 1.906 2.819-.913.649-1.407 1.86-1.33 3.032l.257 3.909c.09 1.368-.85 1.626-1.23 1.651l-1.333.088.231 3.518 1.333-.088c3.237-.213 4.835-2.084 4.617-5.407l-.219-3.323c-.077-1.172.456-1.796 1.598-1.871l.381-.025-.231-3.518-.381.025c-1.142.075-1.752-.474-1.83-1.647z"}),C.jsx("path",{fill:"#000",d:"M63.526 97.304a5.167 5.167 0 004.817-5.495L65.07 42.012a3.96 3.96 0 00-1.508 2.698l-5.875 52.978 5.84-.384z",opacity:"0.15"}),C.jsx("path",{fill:"#2E333D",stroke:"#3E4450",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.591",d:"M114.188 112.148l-54.137-6.003 7.385-66.602a3.952 3.952 0 014.36-3.502l38.927 4.316 10.031 12.578-6.566 59.213z"}),C.jsx("path",{fill:"#3E4450",d:"M110.67 40.83l-.594 5.362a6 6 0 005.302 6.625l5.324.59"}),C.jsxs("g",{opacity:"0.5",children:[C.jsx("path",{fill:"#686F80",d:"M89.775 62.112l-9.294-1.264c-.399-.052-.657-.38-.63-.67.032-.34.398-.537.74-.493l9.293 1.264c.4.053.657.38.63.671-.027.291-.34.545-.74.492zM87.765 80.234l-9.293-1.264c-.4-.052-.657-.38-.63-.671.032-.34.397-.537.74-.492l9.293 1.264c.4.052.657.38.63.671-.028.29-.34.544-.74.492z"}),C.jsx("path",{fill:"#5E6677",d:"M111.759 64.552l-10.714-1.436c-.4-.052-.657-.377-.63-.664.032-.336.397-.532.739-.487l10.657 1.428c.399.052.657.377.63.664.029.296-.283.547-.682.495zM109.749 82.674l-10.714-1.436c-.4-.052-.657-.377-.63-.665.032-.336.397-.531.74-.487l10.656 1.429c.4.052.657.376.63.664.03.295-.283.546-.682.495z"}),C.jsx("path",{fill:"#686F80",d:"M103.169 77.19l-10.714-1.435c-.399-.052-.657-.377-.63-.664.033-.336.397-.532.74-.487l10.714 1.435c.399.052.657.377.629.664-.032.336-.397.531-.739.487zM101.16 95.312l-10.715-1.436c-.399-.051-.656-.376-.63-.664.033-.336.398-.531.74-.487l10.714 1.436c.399.052.657.376.629.664-.031.336-.396.531-.738.487z"}),C.jsx("path",{fill:"#0E1016",d:"M98.073 62.971l-5.2-.756c-.4-.054-.659-.396-.631-.698.031-.353.397-.558.74-.512l5.2.757c.4.054.659.395.632.698.025.36-.341.566-.741.511zM96.063 81.093l-5.2-.757c-.4-.054-.658-.395-.63-.698.031-.353.397-.558.74-.512l5.2.757c.4.054.659.395.631.698.025.36-.34.566-.74.512zM76.831 60.557l-3.837-.527c-.4-.055-.66-.402-.632-.709.032-.358.341-.574.742-.519l3.837.528c.401.055.66.401.632.708-.031.358-.34.575-.742.52zM74.822 78.679l-3.837-.528c-.401-.055-.66-.401-.633-.708.032-.359.342-.575.742-.52l3.838.528c.4.055.66.401.632.708-.032.358-.341.575-.742.52z"}),C.jsx("path",{fill:"#686F80",d:"M91.097 66.768l-5.598-.808c-.4-.053-.658-.393-.631-.694.032-.352.398-.556.74-.51l5.599.807c.4.054.658.394.63.695.03.309-.34.564-.74.51zM89.087 84.889l-5.597-.807c-.4-.054-.66-.394-.632-.695.032-.351.398-.556.741-.51l5.598.807c.4.054.658.394.631.695.03.309-.34.564-.74.51zM108.359 68.802l-14.175-1.953c-.398-.051-.656-.371-.629-.655.032-.33.397-.523.739-.48l14.174 1.954c.399.05.657.37.629.654-.027.284-.396.523-.738.48zM106.349 86.923L92.175 84.97c-.4-.05-.657-.37-.63-.654.032-.331.397-.524.739-.48l14.174 1.953c.399.05.657.37.63.654-.028.284-.397.524-.739.48z"}),C.jsx("path",{fill:"#5E6677",d:"M81.844 65.687l-9.353-1.218c-.4-.052-.657-.38-.63-.669.032-.338.397-.535.74-.49l9.353 1.218c.399.052.657.38.63.669-.028.29-.34.542-.74.49zM79.835 83.808l-9.353-1.218c-.4-.052-.657-.379-.63-.668.032-.338.397-.535.74-.49l9.352 1.218c.4.052.657.379.63.668-.027.29-.34.543-.739.49z"}),C.jsx("path",{fill:"#0E1016",d:"M97.933 72.04l-12.93-1.698c-.4-.051-.657-.371-.63-.655.032-.331.397-.524.739-.48l12.987 1.706c.399.051.656.371.629.655-.032.33-.397.524-.795.473zM95.923 90.162l-12.93-1.699c-.399-.05-.656-.37-.63-.654.033-.331.397-.524.74-.48l12.986 1.706c.4.05.657.37.63.654-.032.331-.397.524-.796.473z"}),C.jsx("path",{fill:"#686F80",d:"M81.35 70.144l-9.353-1.219c-.4-.052-.657-.379-.63-.668.032-.338.397-.535.74-.49l9.352 1.218c.4.052.657.379.63.668-.027.29-.34.542-.739.49zM79.34 88.265l-9.352-1.219c-.4-.052-.657-.378-.63-.668.032-.338.397-.535.739-.49l9.353 1.218c.4.052.657.38.63.669-.028.29-.34.542-.74.49z"}),C.jsx("path",{fill:"#5E6677",d:"M88.916 75.55l-7.133-1c-.4-.053-.658-.387-.63-.683.032-.346.397-.547.74-.502l7.133 1c.4.053.658.387.63.683-.032.346-.34.555-.74.502zM86.907 93.671l-7.133-1c-.4-.053-.658-.387-.63-.683.031-.346.397-.547.74-.501l7.133.999c.4.053.657.387.63.684-.032.345-.34.554-.74.501z"}),C.jsx("path",{fill:"#0E1016",d:"M77.275 74.2l-5.771-.776c-.4-.054-.658-.392-.631-.691.032-.35.398-.553.74-.507l5.772.776c.4.054.658.392.631.691.025.357-.34.56-.74.507zM75.266 92.322l-5.771-.776c-.4-.054-.659-.392-.631-.692.032-.349.397-.552.74-.506l5.772.776c.4.053.658.391.63.69.026.358-.34.561-.74.508zM99.918 56.245l-26.166-3.284c-.398-.049-.655-.354-.628-.625.032-.316.396-.5.738-.458l26.165 3.284c.398.049.655.354.628.625-.032.316-.339.507-.737.458z"})]}),C.jsx("path",{fill:"#949BAB",d:"M77.655 82.176l3.695.41 10.636-18.315-3.88-.43-10.451 18.335zM93.627 67.053l-.536 4.836 5.76 3.977-6.491 2.618-.512 4.617 11.595-4.946.39-3.517-10.206-7.585z"})]})}),kZt={totalNumberOfClasses:"0",totalNumberOfVariables:"0"};function OZt(){const[t,e]=E.useState(kZt),r=Xn(E.useCallback(s=>s(g4),[])),n=tn(F9e),i=Al(n,300);async function o(){const s=await r(),a=Uae(Object.values(s).flat().length),l=Uae(n.filter(({selector:c,isDisabled:u})=>c!==":root"&&!u).flat().length);e({totalNumberOfClasses:l,totalNumberOfVariables:a})}return E.useEffect(()=>{o()},[JSON.stringify(i)]),{stats:t,regenerateStats:o}}const VLe=E.memo(()=>{const{stats:{totalNumberOfVariables:t,totalNumberOfClasses:e}}=OZt();return C.jsxs("div",{className:"stats radius grid relative padding-s text-xs gap-xs",children:[C.jsx("span",{className:"svg-filter-1",children:C.jsx(DZt,{})}),C.jsxs("div",{className:"row space-between",children:[C.jsx("span",{className:"opacity-50",children:"Selectors"}),C.jsx("b",{children:e})]}),C.jsxs("div",{className:"row space-between",children:[C.jsx("span",{className:"opacity-50",children:"Variables"}),C.jsx("b",{children:t})]})]})});VLe.displayName="Stats";const PZt=E.memo(function(){return C.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:C.jsx("path",{d:"M12 10.4V20M12 10.4C12 8.15979 12 7.03969 11.564 6.18404C11.1805 5.43139 10.5686 4.81947 9.81596 4.43597C8.96031 4 7.84021 4 5.6 4H4.6C4.03995 4 3.75992 4 3.54601 4.10899C3.35785 4.20487 3.20487 4.35785 3.10899 4.54601C3 4.75992 3 5.03995 3 5.6V16.4C3 16.9601 3 17.2401 3.10899 17.454C3.20487 17.6422 3.35785 17.7951 3.54601 17.891C3.75992 18 4.03995 18 4.6 18H7.54668C8.08687 18 8.35696 18 8.61814 18.0466C8.84995 18.0879 9.0761 18.1563 9.29191 18.2506C9.53504 18.3567 9.75977 18.5065 10.2092 18.8062L12 20M12 10.4C12 8.15979 12 7.03969 12.436 6.18404C12.8195 5.43139 13.4314 4.81947 14.184 4.43597C15.0397 4 16.1598 4 18.4 4H19.4C19.9601 4 20.2401 4 20.454 4.10899C20.6422 4.20487 20.7951 4.35785 20.891 4.54601C21 4.75992 21 5.03995 21 5.6V16.4C21 16.9601 21 17.2401 20.891 17.454C20.7951 17.6422 20.6422 17.7951 20.454 17.891C20.2401 18 19.9601 18 19.4 18H16.4533C15.9131 18 15.643 18 15.3819 18.0466C15.15 18.0879 14.9239 18.1563 14.7081 18.2506C14.465 18.3567 14.2402 18.5065 13.7908 18.8062L12 20",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),$Le=E.memo(()=>{const t=kn(Sv),e=kn(BNe),r=tn(uK),{colorVariables:n}=qm(),{handlePush:i,state:o}=Ite();P7([["mod+S",f=>{f.preventDefault(),i()}]]),P7([["mod+J",f=>{f.preventDefault(),t("PREVIEW")}]]);const[s,a]=E.useState(!1),l=tn(WC),{activeBuilders:c}=_N(),u=E.useMemo(()=>[l,c].every(f=>f!==null),[c,l]);return E.useEffect(()=>{document.addEventListener("addon-enabled",()=>a(!0))},[]),E.useEffect(()=>{r&&setTimeout(()=>{i(),a(!1)},300)},[r]),C.jsxs("aside",{className:"side",children:[C.jsxs("div",{className:"grid gap-s",children:[C.jsx("button",{onClick:()=>{window.colorVariables=n,t("PREVIEW")},className:"btn-tertiary btn-m full-width",children:C.jsx("span",{children:"Preview CSS"})}),C.jsx(Qr,{label:"Please, save changes and refresh builder to see the changes.",opened:s,position:"bottom",withArrow:!0,width:200,multiline:!0,children:C.jsxs("button",{onClick:()=>e(!0),id:"push1",disabled:!u,className:L3("btn-primary btn-m full-width relative transition-global",{"pulse-animation":s,"pointer-events-none opacity-50":!u}),children:[C.jsx("span",{style:{opacity:o==="IDLE"?1:0},children:"Save changes"}),o!=="IDLE"&&C.jsx(td,{size:"within-button"})]})})]}),C.jsxs("div",{className:"side-bottom",children:[null,C.jsx(VLe,{}),C.jsxs("a",{href:"https://docs.coreframework.com/",target:"_blank",className:"documentation",children:[C.jsx(PZt,{}),C.jsx("p",{children:"Documentation"})]})]})]})});$Le.displayName="Side";const HLe=E.memo(()=>{const t=tn(Fp),e=kn(Tp),r=(n,i)=>e({...t,[n]:i});return C.jsx("section",{id:"addons",className:"section",children:C.jsxs("div",{className:"subsection",children:[C.jsx("h1",{children:"Bricks Addon Preferences"}),C.jsxs("div",{className:"grid border-secondary radius bg-overlay-1",children:[C.jsx(vn,{label:"Enable Variable UI",description:`Open by holding down ${navigator?.platform?.toUpperCase().includes("MAC")?"⌘ (CMD)":"Alt"} and clicking on an input.`,htmlFor:"bricks_variable_ui",children:C.jsx(Ln,{onChange:({target:{checked:n}})=>r("bricks_variable_ui",n),checked:t.bricks_variable_ui??!0,id:"bricks_variable_ui"})}),C.jsx("hr",{}),C.jsx(vn,{label:"Auto-hide Variable UI",description:"The modal UI will disappear after selecting a variable or clicking away.",htmlFor:"bricks_enable_variable_ui_auto_hide",children:C.jsx(Ln,{onChange:({target:{checked:n}})=>r("bricks_enable_variable_ui_auto_hide",n),checked:t.bricks_enable_variable_ui_auto_hide??!0,id:"bricks_enable_variable_ui_auto_hide"})}),C.jsx("hr",{}),C.jsx(vn,{label:"Open Variable UI by right clicking on an input",description:"",htmlFor:"bricks_enable_variable_context_menu",children:C.jsx(Ln,{onChange:({target:{checked:n}})=>r("bricks_enable_variable_context_menu",n),checked:t.bricks_enable_variable_context_menu??!0,id:"bricks_enable_variable_context_menu"})}),C.jsx("hr",{}),C.jsx("hr",{}),C.jsx(vn,{label:"Display the Dark Mode toggle",description:"",htmlFor:"bricks_enable_dark_mode_preview",children:C.jsx(Ln,{onChange:({target:{checked:n}})=>r("bricks_enable_dark_mode_preview",n),checked:t.bricks_enable_dark_mode_preview??!0,id:"bricks_enable_dark_mode_preview"})}),C.jsx("hr",{}),C.jsx(vn,{label:"Preview class on hover",description:"",htmlFor:"bricks_apply_class_on_hover",children:C.jsx(Ln,{onChange:({target:{checked:n}})=>r("bricks_apply_class_on_hover",n),checked:t.bricks_apply_class_on_hover??!0,id:"bricks_apply_class_on_hover"})}),C.jsx("hr",{}),C.jsx(vn,{label:"Preview variable on hover",description:"",htmlFor:"bricks_apply_variable_on_hover",children:C.jsx(Ln,{onChange:({target:{checked:n}})=>r("bricks_apply_variable_on_hover",n),checked:t.bricks_apply_variable_on_hover??!0,id:"bricks_apply_variable_on_hover"})}),C.jsx("hr",{}),C.jsx(vn,{label:"Enable BEM Class Generator",description:"Show BEM class generation icon when hovering over the elements in the structure pane.",htmlFor:"bricks_bem_generator",children:C.jsx(Ln,{onChange:({target:{checked:n}})=>r("bricks_bem_generator",n),checked:t.bricks_bem_generator??!0,id:"bricks_bem_generator"})})]})]})})});HLe.displayName="Bricks";function IZt(){return{COLOR_SYSTEM:{atom:ch,groupKey:"colorStyles",title:"Color System",components:[C.jsx(CNe,{},"color-pickers")]},TYPOGRAPHY:{atom:uh,groupKey:"typographyStyles",title:"Typography",components:[C.jsx(oPt,{},"fluid-typography-calculator")]},SPACING:{atom:fh,groupKey:"spacingStyles",title:"Spacing",components:[C.jsx(GOt,{},"spacing-calculator")]},LAYOUTS:{atom:dh,groupKey:"layoutsStyles",title:"Layouts"},DESIGN:{atom:ph,groupKey:"designStyles",title:"Design"},FONTS:{atom:Nx,groupKey:"fontsStyles",title:"Fonts",components:[C.jsx(D_t,{},"fonts")]},COMPONENTS:{atom:Ah,groupKey:"componentsStyles",title:"Components",components:[C.jsx(bOt,{},"components")]},STYLESHEETS:{atom:z_t,groupKey:"stylesheetsStyles",title:"Stylesheets",components:[C.jsx(BZt,{},"stylesheets")]},OTHER:{atom:QC,groupKey:"otherStyles",title:"Other"}}}const R1e=["text","color","fluid"],NZt={text:C.jsx(aN,{}),color:C.jsx(lN,{}),fluid:C.jsx(HZ,{})},FZt={text:"Switch to custom input",color:"Switch to color input",fluid:"Switch to fluid input"},M1e=(t,e,r)=>{if(!t)return r[1]??"text";const n=r.indexOf(t);return n===r.length-1?"text":r[n+1]},GLe=E.memo(t=>{const[e,r]=E.useState(t.item),n=Xn(E.useCallback(F=>F(g4),[])),i=kn(nh),[o,s]=E.useState(""),{attributes:a,setNodeRef:l,transform:c,transition:u}=bh({id:e.id}),[f,d]=E.useState(""),p=rd(ls(Xc,{activationConstraint:{distance:15}}),ls(qu,{coordinateGetter:Op})),h={transform:Po.Transform.toString(c)?.split(")")[0]!==void 0?`${Po.Transform.toString(c)?.split(")")[0]})`:"",transition:u},A=Al(e,200);function g(F){const k=F.clipboardData.getData("text/plain");if(!(k.includes("{")&&k.includes("}")&&k.includes(":")&&k.includes(";")))return;F.preventDefault();const M=A9(k).cssObjects;if(M.length===0)return;const H=M[0].declarations;r(V=>({...V,declarations:[...V?.declarations,...H.map(j=>({...j,id:ht()}))]}))}const m=(F,k)=>{r(O=>({...O,declarations:O.declarations.map(L=>L.id===k?{...L,property:Ks(F)}:L)}))},v=(F,k)=>{r(O=>({...O,declarations:O.declarations.map(L=>L.id===F?{...L,type:k}:L)}))},y=(F,k)=>{r(O=>({...O,declarations:O.declarations.map(L=>L.id===k?{...L,value:F}:L)}))},b=(F,k)=>{r(O=>({...O,declarations:O.declarations.map(L=>L.id===k?{...L,fluidValue:F}:L)}))},B=(F,k)=>{r(O=>({...O,declarations:O.declarations.map(L=>L.id===k?{...L,colorValue:F}:L)}))},S=F=>{r(k=>({...k,declarations:k.declarations.filter(O=>O.id!==F)}))},w=()=>{r(F=>({...F,declarations:[...F.declarations,Y0()]}))};function x(F){const{active:k,over:O}=F;if(!(e?.declarations?.find(j=>j?.id===k?.id)||null))return;const M=e?.declarations,H=M?.findIndex(j=>j?.id===k?.id)||0,V=M?.findIndex(j=>j?.id===O?.id)||0;H===V||H===-1||V===-1||(M?.splice(V,0,M?.splice(H,1)[0]),r(j=>({...j,declarations:M})))}function I({newValue:F}){const O=n().GLOBAL.filter(M=>!M.includes(o));if(!F)return i({type:"GLOBAL",variables:O});const L=[...O,`var(${Ks(F)})`];i({type:"GLOBAL",variables:L}),s("")}return rh(()=>{t.updateItem(e)},[JSON.stringify(A)]),C.jsxs("div",{ref:l,style:h,...a,className:"class-row variable-layout",children:[C.jsx("ul",{children:C.jsx(Uu,{sensors:p,collisionDetection:Hf,onDragEnd:F=>x(F),children:C.jsx(Qu,{items:e.declarations.map(F=>F.id),strategy:vm,children:e.declarations.map(({property:F,value:k,id:O,type:L,fluidValue:M,colorValue:H})=>C.jsxs($Z,{id:O,className:"variable-declaration",children:[C.jsxs("li",{className:"property-value-container",children:[C.jsxs("div",{className:"prefixed-input-container input-wrapper",children:[C.jsx("span",{children:"--"}),C.jsx("input",{type:"text",onChange:V=>m(V.target.value,O),onFocus:V=>s(V.target.value),onBlur:V=>I({newValue:V.target.value}),value:F.replace("--",""),onPaste:g,autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,placeholder:"",name:"variable-property",className:"variable-name-input"}),C.jsx("div",{className:"copy",onClick:()=>{sc(`var(${F})`),d(O),wr.success("Variable name copied to clipboard"),window.clearTimeout(f),setTimeout(()=>d(""),1e3)},children:f===O?C.jsx(Gu,{}):C.jsx(QZ,{})})]}),C.jsxs("div",{className:"value-container",children:[C.jsx(Qr,{label:FZt[M1e(L,F,t?.disableColorInput?["text","fluid"]:R1e)],children:C.jsx("button",{onClick:()=>{const V=document.activeElement;v(O,M1e(L,F,t?.disableColorInput?["text","fluid"]:R1e)),setTimeout(()=>{V?.parentElement?.querySelector("input")?.focus()},20)},className:"type-toggle",tabIndex:-1,children:NZt[L??"text"]})}),(L==="text"||!L)&&C.jsx("input",{type:"text",onChange:V=>y(V.target.value,O),value:k,onPaste:g,autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,placeholder:"",name:"variable-value",className:"variable-value-input"}),L==="fluid"&&C.jsx(V7e,{value:M??["","","px"],onChange:V=>b(V,O)}),L==="color"&&C.jsx(CY,{onChange:V=>B(V,O),value:H,placeholder:"Value",withPreview:!0})]})]}),C.jsx("div",{className:"add-remove-container",children:C.jsx("button",{onClick:()=>S(O),className:"add-remove remove-prop",tabIndex:-1,children:C.jsx(wo,{})})})]},O))})})}),C.jsx("button",{onClick:w,className:"add-remove add-prop add-next",tabIndex:-1,children:C.jsx(wo,{})})]},e.id)});GLe.displayName="VariableRow";const WLe=E.memo(({title:t,atom:e,components:r,groupKey:n})=>{const[i,o]=Yn(e),s=tn(VC),a=tn(Sv),l=rd(ls(Xc,{activationConstraint:{distance:15}}),ls(qu,{coordinateGetter:Op})),c=({cssObject:k,groupId:O})=>{o(L=>L.map(M=>(M.id===O&&(M.cssObjects=M.cssObjects?.map(H=>H.id===k.id?k:H)),M)))},u=(k,O)=>{o(L=>L.map(M=>(M.id===O&&(M.name=k),M)))},f=k=>{o(O=>O.map(L=>(L.id===k&&(L.isDisabled=!L.isDisabled),L)))},d=k=>{const O=i.find(M=>M.id===k)?.type==="variable",L={...jae(O),...s&&{mediaQuery:s}};o(M=>M.map(H=>(H.id===k&&(H.cssObjects=[...H.cssObjects,L]),H)))},p=k=>{o(O=>O.filter(L=>L.id!==k))},h=k=>{o(O=>{const L=[...O],M=L.findIndex(j=>j.id===k);if(M===-1)return L;const H=L[M];let V=M-1;for(;V>=0;){const j=L[V],R=H.cssObjects[0].mediaQuery,Q=j.cssObjects[0].mediaQuery;if(!Q||R&&R.toString()===Q.toString())break;V--}return V>=0&&(L.splice(M,1),L.splice(V,0,H)),L})},A=k=>{o(O=>{const L=[...O],M=L.findIndex(j=>j.id===k);if(M===-1)return L;const H=L[M];let V=M+1;for(;V<L.length;){const j=L[V],R=H.cssObjects[0].mediaQuery,Q=j.cssObjects[0].mediaQuery;if(!Q||R&&R.toString()===Q.toString())break;V++}return V<L.length&&(L.splice(M,1),L.splice(V,0,H)),L})},g=(k,O)=>{o(L=>L.map(M=>{if(M.id===k){const H=M.cssObjects.findIndex(j=>j.id===O),V=M.cssObjects[H];M.cssObjects.splice(H+1,0,{...V,id:ht()})}return M}))},m=(k,O)=>{o(L=>L.map(M=>{if(M.id===k){const H=M.cssObjects.findIndex(j=>j.id===O),V=M.cssObjects[H];M.cssObjects.splice(H,1),M.cssObjects.splice(H-1,0,V)}return M}))},v=(k,O)=>{o(L=>L.map(M=>{if(M.id===k){const H=M.cssObjects.findIndex(j=>j.id===O),V=M.cssObjects[H];M.cssObjects.splice(H,1),M.cssObjects.splice(H+1,0,V)}return M}))},y=(k,O)=>{o(L=>L.map(M=>(M.id===k&&(M.cssObjects=M.cssObjects.filter(H=>H.id!==O)),M)))},b=async(k=!1)=>{o(M=>[...M,{id:ht(),name:"",cssObjects:[{...jae(k),...s&&{mediaQuery:s}}],...k&&{type:"variable"}}]),await new Promise(M=>setTimeout(M,50));const O=document.querySelector(".section"),L=[...document.getElementsByClassName("subsection")].at(-1);O&&L&&DV(O,L,!0),await new Promise(M=>setTimeout(M,100)),[...document.getElementsByClassName("heading-input")].at(-1)?.querySelector("input")?.focus()},B=(k,O)=>{const{active:L,over:M}=k;if(!L||!M)return;const H=i.find(j=>j.id===O)?.cssObjects.findIndex(j=>j.id===L.id)??-1,V=i.find(j=>j.id===O)?.cssObjects.findIndex(j=>j.id===M.id)??-1;H===-1||V===-1||o(j=>j.map(R=>{if(R.id===O){const Q=[...R.cssObjects];Q.splice(V,0,Q.splice(H,1)[0]),R.cssObjects=Q}return R}))},S=async({groupId:k})=>{const O=i.find(M=>M.id===k);if(!O){wr.error("Something went wrong. Failed to export group.");return}const L=await z1({type:"group",data:O});if(!L){wr.error("Something went wrong. Failed to export group.");return}sc(L.string),wr.success("Group copied to clipboard.")},w=k=>s||k.mediaQuery?String(k.mediaQuery)===String(s):!0,x=async k=>{try{const O=await l2();if(!O?.length){wr.message("Clipboard is empty.");return}const L=await l1({compressedString:O});if(console.log(L),!L){wr.error("Something went wrong. Failed to paste group.");return}if(String(L.type)!=="group"){wr.error("Something went wrong. Failed to paste group.");return}if(k){const M=i.findIndex(V=>V.id===k);if(M===-1){const V=L.data,j={...V,id:ht(),cssObjects:V.cssObjects.map(R=>{const Q={...R};return s?Q.mediaQuery=s:R.mediaQuery&&delete Q.mediaQuery,Q})};o(R=>[...R,j]);return}const H=[...i];H.splice(M+1,0,L.data),o(H)}else o(M=>[...M,L.data]);wr.success("Group imported.")}catch(O){console.log(O),wr.error("Something went wrong. Failed to paste group.")}},I=k=>{const O=i.findIndex(H=>H.id===k);if(O===-1){wr.error("Something went wrong. Failed to duplicate group.");return}const M={...i[O],id:ht().slice(5,10)};o(H=>{const V=[...H];return V.splice(O+1,0,M),V})},F=E.useMemo(()=>i.filter(k=>k.cssObjects.some(w)),[i,s]);return C.jsxs("section",{id:t.replace(" ",""),className:"section",children:[s===null?r?.map(k=>k??null):null,F?.map(k=>C.jsxs("div",{className:"subsection",children:[C.jsx(lv,{onTitleChange:O=>u(O,k.id),title:k.name,menuItems:[{onClick:()=>f(k.id),label:k.cssObjects.every(({isDisabled:O})=>O)?"Enable":"Disable",icon:C.jsx(z3,{})},{onClick:()=>I(k.id),label:"Duplicate",icon:C.jsx(Uc,{})},{onClick:()=>h(k.id),label:"Move up",icon:C.jsx(cv,{})},{onClick:()=>A(k.id),label:"Move down",icon:C.jsx(gm,{})},{onClick:()=>S({groupId:k.id}),label:"Copy",icon:C.jsx(Xl,{})},{onClick:()=>x(k.id),icon:C.jsx("div",{style:{transform:"rotate(180deg)"},children:C.jsx(Xl,{})}),label:"Paste"},{onClick:()=>p(k.id),label:"Remove",icon:C.jsx(_s,{}),confirm:!0}]},k.id),k.isDisabled?null:C.jsx(zm,{type:k?.type??"selector"}),C.jsxs("ul",{className:zr(!k?.isDisabled&&"grid border-primary radius relative"),children:[k?.cssObjects?.filter(w)?.length?null:C.jsx(Qf,{onClick:()=>d(k.id),icon:C.jsx(WZ,{})}),C.jsx(Uu,{sensors:l,collisionDetection:Hf,onDragEnd:O=>B(O,k.id),children:C.jsx(Qu,{items:k?.cssObjects?.filter(w).map(O=>O.id),strategy:hC,children:k?.isDisabled?null:k?.cssObjects?.filter(w).map(O=>{const L={key:O.id,updateItem:M=>c({cssObject:M,groupId:k.id}),duplicateItem:M=>g(k.id,M),moveItemUp:M=>m(k.id,M),moveItemDown:M=>v(k.id,M),deleteItem:M=>y(k.id,M),addMultipleSelectorsOnPaste:M=>{o(H=>[...H.filter(V=>V.id!==k.id),{...k,cssObjects:[...(k?.cssObjects||[])?.slice(0,-1),...M]}])},isMoveDownDisabled:!1,isMoveUpDisabled:!1,item:O};return k?.type?C.jsx(GLe,{...L}):C.jsx(cN,{...L})})})}),(k.isDisabled||k?.type!=="variable")&&C.jsx("button",{className:"add-remove add-next",onClick:()=>d(k.id),children:C.jsx(wo,{})}),k?.isDisabled?C.jsx(Qf,{onClick:()=>f(k.id),title:"Group is disabled",description:"Click to enable."}):null]})]},k.id)),a!=="STYLESHEETS"&&C.jsxs("footer",{className:"padding-m row gap-s",children:[C.jsx("button",{onClick:()=>b(),className:"new-group full-width",children:"Create a selector group"}),C.jsx("button",{onClick:()=>b(!0),className:"new-group full-width",children:"Create a variable group"}),C.jsx(Qr,{label:"Paste a group from the clipboard. To copy to clipboard, click [Three dots] next go a group heading, and choose [Copy group].",width:250,multiline:!0,withArrow:!0,children:C.jsx(jY,{onclick:x})})]})]})});WLe.displayName="Group";const zLe=E.memo(()=>{const t=tn(eu),e=tn(Sv),r=IZt();return t?r?.[e]?C.jsx(WLe,{atom:r[e].atom,title:r[e].title,components:r[e].components,groupKey:r[e].groupKey},r[e].title):null:C.jsx(bc,{})});zLe.displayName="PropertyGroups";const TZt=E.memo(function(){return C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:C.jsxs("g",{fill:"none",children:[C.jsx("path",{d:"M0 0h24v24H0z"}),C.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M11 18h3M6.469 18.873a.05.05 0 00-.05.05c0 .028.022.05.05.05M19 12V5a2 2 0 00-2-2H6a2 2 0 00-2 2v5M20.5 20h-2.091a1.5 1.5 0 01-1.5-1.5v-5a1.5 1.5 0 011.5-1.5H20.5a1.5 1.5 0 011.5 1.5v5a1.5 1.5 0 01-1.5 1.5zM16.91 15H11"}),C.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M9 21H4a2 2 0 01-2-2v-7a2 2 0 012-2h5a2 2 0 012 2v7a2 2 0 01-2 2z"})]})})}),LZt=E.memo(function(){return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[C.jsx("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",children:C.jsx("path",{d:"M18.571 20v0a2.286 2.286 0 002.286-2.286v-4.571L22 12l-1.143-1.143V6.286A2.285 2.285 0 0018.571 4v0M14.5 12h-5M12 14.5v-5M5.429 4v0a2.285 2.285 0 00-2.286 2.286v4.571L2 12l1.143 1.143v4.571A2.285 2.285 0 005.429 20v0"})}),C.jsx("path",{fill:"none",d:"M0 0H24V24H0z"})]})}),_1e=E.memo(function(){return C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"12",fill:"none",viewBox:"0 0 14 12",children:C.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M7 1v10M11 4.5L12.5 6 11 7.5M3 4.5L1.5 6 3 7.5"})})}),RZt=()=>{const t=Xn(E.useCallback(A=>A(ch),[])),e=Xn(E.useCallback(A=>A(uh),[])),r=Xn(E.useCallback(A=>A(fh),[])),n=Xn(E.useCallback(A=>A(dh),[])),i=Xn(E.useCallback(A=>A(ph),[])),o=Xn(E.useCallback(A=>A(Ah),[])),s=kn(ch),a=kn(uh),l=kn(fh),c=kn(dh),u=kn(ph),f=kn(Ah),d=()=>new Map([["colorStyles",[t,s]],["typographyStyles",[e,a]],["spacingStyles",[r,l]],["layoutsStyles",[n,c]],["designStyles",[i,u]],["componentsStyles",[o,f]]]);return{editMediaQuery:async(A,g)=>{for(const[m,[v,y]]of d())y(b=>{for(const B of b){const{cssObjects:S}=B;if(S)for(const w of S)w.mediaQuery&&String(w.mediaQuery)===String(A)&&(w.mediaQuery=g)}return b})},removeObjectsWithMediaQuery:async A=>{for(const[g,[m,v]]of d())v(y=>y.map(b=>{if(!b.cssObjects)return b;const B=[...b.cssObjects];for(const S of b.cssObjects)if(String(S?.mediaQuery)===String(A)){const w=B.indexOf(S);B.splice(w,1)}return b.cssObjects=B,b}))}}},MZt=E.memo(function(){return C.jsx("svg",{fill:"none",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg",children:C.jsxs("g",{fill:"currentColor",children:[C.jsx("path",{d:"m11.9425 1.25h.1148c2.3084-.00001 4.1174-.00002 5.5289.18975 1.4447.19424 2.5848.59958 3.4796 1.49439s1.3001 2.03483 1.4944 3.47957c.1897 1.41148.1897 3.22052.1897 5.52889v.1148c0 2.3084 0 4.1174-.1897 5.5289-.1943 1.4447-.5996 2.5848-1.4944 3.4796-.8284.8284-1.8678 1.2379-3.1665 1.4481-1.2768.2067-2.8829.2318-4.898.2354-.4142.0008-.7506-.3344-.7514-.7486-.0007-.4142.3344-.7506.7487-.7514 2.0399-.0037 3.523-.0319 4.661-.2161 1.116-.1807 1.8169-.4995 2.3455-1.0281.5697-.5697.8966-1.3404 1.0684-2.6188.1748-1.3.1764-3.0082.1764-5.3864 0-2.37822-.0016-4.08644-.1764-5.38642-.1718-1.27841-.4987-2.04913-1.0684-2.61878-.5696-.56966-1.3404-.89655-2.6188-1.06843-1.2999-.17478-3.0082-.17637-5.3864-.17637-2.37821 0-4.08643.00159-5.38641.17637-1.2784.17188-2.04912.49877-2.61878 1.06843-.52862.52861-.84741 1.22947-1.02806 2.34551-.18419 1.13796-.21249 2.62112-.21616 4.66109-.00075.4142-.33714.7493-.75135.7486s-.74939-.3371-.74865-.7514c.00363-2.0151.02877-3.62119.23543-4.89797.21022-1.2987.61971-2.33808 1.44813-3.16649.89481-.89481 2.03483-1.30015 3.47957-1.49439 1.41149-.18977 3.22052-.18976 5.52888-.18975z"}),C.jsx("path",{d:"m12.5 7c0-.41421.3358-.75.75-.75h3.75c.4142 0 .75.33579.75.75v3.75c0 .4142-.3358.75-.75.75s-.75-.3358-.75-.75v-1.93934l-3.7197 3.71964c-.2929.2929-.7677.2929-1.0606 0s-.2929-.7677 0-1.0606l3.7196-3.7197h-1.9393c-.4142 0-.75-.33579-.75-.75z"}),C.jsx("path",{clipRule:"evenodd",d:"m5.948 13.25c-.89848 0-1.6477-.0001-2.24248.0799-.62779.0844-1.19459.2701-1.65006.7256-.45547.4554-.64114 1.0222-.72555 1.65-.07996.5948-.07994 1.344-.07991 2.2425v.104c-.00003.8985-.00005 1.6477.07991 2.2425.08441.6278.27008 1.1946.72555 1.65.45547.4555 1.02227.6412 1.65006.7256.59478.08 1.34399.0799 2.24246.0799h.10402c.89847 0 1.64771.0001 2.24248-.0799.6278-.0844 1.1946-.2701 1.65007-.7256.45545-.4554.64115-1.0222.72555-1.65.08-.5948.0799-1.344.0799-2.2425v-.104c0-.8985.0001-1.6477-.0799-2.2425-.0844-.6278-.2701-1.1946-.72555-1.65-.45547-.4555-1.02227-.6412-1.65007-.7256-.59478-.08-1.344-.0799-2.24248-.0799zm-2.83188 1.8661c.13032-.1303.32781-.2375.78928-.2996.48303-.0649 1.13059-.0665 2.0946-.0665s1.61157.0016 2.09461.0665c.46146.0621.65896.1693.78928.2996.13031.1303.23754.3278.29958.7893.06494.483.06653 1.1306.06653 2.0946s-.00159 1.6116-.06653 2.0946c-.06204.4615-.16927.659-.29958.7893-.13032.1303-.32782.2375-.78928.2996-.48304.0649-1.1306.0665-2.09461.0665s-1.61157-.0016-2.0946-.0665c-.46147-.0621-.65896-.1693-.78928-.2996s-.23754-.3278-.29958-.7893c-.06494-.483-.06654-1.1306-.06654-2.0946s.0016-1.6116.06654-2.0946c.06204-.4615.16926-.659.29958-.7893z",fillRule:"evenodd"})]})})}),_Zt=E.memo(function(){return C.jsx("svg",{fill:"none",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg",children:C.jsxs("g",{fill:"currentColor",children:[C.jsx("path",{d:"m11.9425 1.25h.1148c2.3084-.00001 4.1174-.00002 5.5289.18975 1.4447.19424 2.5848.59958 3.4796 1.49439s1.3001 2.03483 1.4944 3.47957c.1897 1.41148.1897 3.22052.1897 5.52889v.1148c0 2.3084 0 4.1174-.1897 5.5289-.1943 1.4447-.5996 2.5848-1.4944 3.4796-.8284.8284-1.8678 1.2379-3.1665 1.4481-1.2768.2067-2.8829.2318-4.898.2354-.4142.0008-.7506-.3344-.7514-.7486-.0007-.4142.3344-.7506.7487-.7514 2.0399-.0037 3.523-.0319 4.661-.2161 1.116-.1807 1.8169-.4995 2.3455-1.0281.5697-.5697.8966-1.3404 1.0684-2.6188.1748-1.3.1764-3.0082.1764-5.3864 0-2.37822-.0016-4.08644-.1764-5.38642-.1718-1.27841-.4987-2.04913-1.0684-2.61878-.5696-.56966-1.3404-.89655-2.6188-1.06843-1.2999-.17478-3.0082-.17637-5.3864-.17637-2.37821 0-4.08643.00159-5.38641.17637-1.2784.17188-2.04912.49877-2.61878 1.06843-.52862.52861-.84741 1.22947-1.02806 2.34551-.18419 1.13796-.21249 2.62112-.21616 4.66109-.00075.4142-.33714.7493-.75135.7486s-.74939-.3371-.74865-.7514c.00363-2.0151.02877-3.62119.23543-4.89797.21022-1.2987.61971-2.33808 1.44813-3.16649.89481-.89481 2.03483-1.30015 3.47957-1.49439 1.41149-.18977 3.22052-.18976 5.52888-.18975z"}),C.jsx("path",{d:"m16.5 12c0 .4142-.3358.75-.75.75h-3.75c-.4142 0-.75-.3358-.75-.75v-3.75c0-.41421.3358-.75.75-.75s.75.33579.75.75v1.9393l3.7197-3.71963c.2929-.29289.7677-.29289 1.0606 0s.2929.76777 0 1.06066l-3.7196 3.71967h1.9393c.4142 0 .75.3358.75.75z"}),C.jsx("path",{clipRule:"evenodd",d:"m5.948 13.25c-.89848 0-1.6477-.0001-2.24248.0799-.62779.0844-1.19459.2701-1.65006.7256-.45547.4554-.64114 1.0222-.72555 1.65-.07996.5948-.07994 1.344-.07991 2.2425v.104c-.00003.8985-.00005 1.6477.07991 2.2425.08441.6278.27008 1.1946.72555 1.65.45547.4555 1.02227.6412 1.65006.7256.59478.08 1.34399.0799 2.24246.0799h.10402c.89847 0 1.64771.0001 2.24248-.0799.6278-.0844 1.1946-.2701 1.65007-.7256.45545-.4554.64115-1.0222.72555-1.65.08-.5948.0799-1.344.0799-2.2425v-.104c0-.8985.0001-1.6477-.0799-2.2425-.0844-.6278-.2701-1.1946-.72555-1.65-.45547-.4555-1.02227-.6412-1.65007-.7256-.59478-.08-1.344-.0799-2.24248-.0799zm-2.83188 1.8661c.13032-.1303.32781-.2375.78928-.2996.48303-.0649 1.13059-.0665 2.0946-.0665s1.61157.0016 2.09461.0665c.46146.0621.65896.1693.78928.2996.13031.1303.23754.3278.29958.7893.06494.483.06653 1.1306.06653 2.0946s-.00159 1.6116-.06653 2.0946c-.06204.4615-.16927.659-.29958.7893-.13032.1303-.32782.2375-.78928.2996-.48304.0649-1.1306.0665-2.09461.0665s-1.61157-.0016-2.0946-.0665c-.46147-.0621-.65896-.1693-.78928-.2996s-.23754-.3278-.29958-.7893c-.06494-.483-.06654-1.1306-.06654-2.0946s.0016-1.6116.06654-2.0946c.06204-.4615.16926-.659.29958-.7893z",fillRule:"evenodd"})]})})}),KLe=kI("isFullScreen",!1),qLe=E.memo(function(){return C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"none",children:C.jsx("path",{d:"M13.9997 14L11.009 11.004M12.6663 7.00004C12.6663 8.50293 12.0693 9.94427 11.0066 11.007C9.94391 12.0697 8.50257 12.6667 6.99967 12.6667C5.49678 12.6667 4.05544 12.0697 2.99274 11.007C1.93003 9.94427 1.33301 8.50293 1.33301 7.00004C1.33301 5.49715 1.93003 4.05581 2.99274 2.9931C4.05544 1.9304 5.49678 1.33337 6.99967 1.33337C8.50257 1.33337 9.94391 1.9304 11.0066 2.9931C12.0693 4.05581 12.6663 5.49715 12.6663 7.00004V7.00004Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})}),j1e=Zr(Mat),Nte=Zr(t=>t(j1e),(t,e,r)=>{e(j1e,r)}),jZt=t=>({label:jZ(t),value:JSON.stringify(t)}),t0="∞",UZt={label:"All breakpoints",value:JSON.stringify([null,null])},vw=[0,768],rE=9999,XLe=E.memo(()=>{const[t,e]=E.useState(vw),[r,n]=E.useState(vw),[i,o]=Yn(KLe),[s,a]=Yn(VC),[l,c]=Yn(yO),[u,f]=Yn(Nte),[d,p]=yT(!1),[h,A]=yT(!1),[g,m]=yT(!1);P7([["Enter",()=>document.querySelector(".submit")?.click()],["Escape",()=>[p,A,m].forEach(({close:V})=>V())]]);const v=E.useMemo(()=>s!==null,[s]),y=E.useMemo(()=>[UZt,...l.sort((V,j)=>V[0]-j[0]).sort((V,j)=>j[1]-V[1]).map(V=>jZt(V))],[l]),{editMediaQuery:b,removeObjectsWithMediaQuery:B}=RZt(),S=()=>a(null),w=(V,j)=>{e(R=>{const Q=[...R];return Q[j]=V,Q})},x=()=>{p.close(),c(V=>{const j=[...V],[R,Q]=t;return j.some(([X,_])=>X===R&&_===Q)||j.push(t),j}),a(t),setTimeout(()=>vw.map((V,j)=>w(V,j)),151)},I=(V,j)=>{n(R=>{const Q=[...R];return Q[j]=V,Q})},F=()=>{if(A.close(),!s)return;const[V,j]=s,[R,Q]=r;c(z=>{const X=[...z];if(X.some(([W,J])=>W===R&&J===Q))return X;const G=X.findIndex(([W,J])=>W===V&&J===j);return G===-1||(X[G]=r),X}),b(s,r),a(r)},k=V=>{const[j,R]=JSON.parse(V);if(j===null||R===null){a(null);return}a([j,R])},O=()=>{m.close(),s&&(a(null),c(V=>V.filter(j=>String(j)!==String(s))),B(s))},L=V=>{V&&n(s??vw)},M=()=>{A.toggle();const V=s??vw;I(V[0],0),I(V[1],1)},H=()=>o(!i);return C.jsxs("header",{className:"top-bar",children:[C.jsxs("div",{className:"top-bar-left",children:[C.jsx(ra,{placeholder:"All breakpoints",data:y,onChange:k,value:JSON.stringify(s??[null,null]),className:"breakpoint-select",icon:C.jsx(TZt,{}),transitionProps:{duration:150,transition:"fade"}}),C.jsxs(yi,{opened:d,onClose:()=>p.close(),width:250,position:"bottom",withArrow:!0,shadow:"md",children:[C.jsx(Qr,{label:[d,h,g].some(Boolean)?"":"Add new media query",children:C.jsx(yi.Target,{children:C.jsx("button",{onClick:p.toggle,className:"btn-secondary btn-box",style:{zIndex:10},children:C.jsx(LZt,{})})})}),C.jsxs(yi.Dropdown,{children:[C.jsxs("div",{className:"media-dropdown-content",children:[C.jsx("b",{children:"Create a new media query"}),C.jsx("i",{children:"Set up the media query by using min, max or both widths."}),C.jsx("hr",{}),C.jsxs("div",{className:"inputs-wrapper",children:[C.jsxs("div",{className:"input-with-label",children:[C.jsx("label",{children:"Min width"}),C.jsx(as,{value:t?.[0]??0,onChange:V=>w(Number(V),0),max:rE,min:0,unit:"px",allowMouseWheel:!0,onlyInteger:!0,hideControls:!0})]}),C.jsx(_1e,{}),C.jsxs("div",{className:"input-with-label",children:[C.jsx("label",{children:"Max width"}),C.jsx(as,{value:(Number(t?.[1])??t0)===0||t?.[1]===null?t0:t?.[1]??t0,onChange:V=>w(Number(V),1),defaultOnEmpty:t0,max:rE,min:0,unit:"px",allowMouseWheel:!0,onlyInteger:!0,hideControls:!0})]})]})]}),C.jsx("button",{className:"submit",onClick:x,children:"Confirm"})]})]}),C.jsxs(yi,{onChange:L,opened:h,onClose:A.close,width:250,position:"bottom",withArrow:!0,shadow:"md",children:[s?C.jsx(Qr,{label:[d,h,g].some(Boolean)?"":"Edit current media query",children:C.jsx(yi.Target,{children:C.jsx("button",{onClick:M,className:"btn-secondary btn-box disabled z-index-10",style:{zIndex:10},children:C.jsx(lh,{})})})}):null,C.jsxs(yi.Dropdown,{sx:V=>({background:V.colorScheme==="dark"?V.colors.dark[7]:V.white}),children:[C.jsxs("div",{className:"media-dropdown-content",children:[C.jsx("b",{children:"Edit current media query"}),C.jsx("hr",{}),C.jsxs("div",{className:"inputs-wrapper",children:[C.jsxs("div",{className:"input-with-label",children:[C.jsx("label",{children:"Min width"}),C.jsx(as,{value:r?.[0]??0,onChange:V=>I(Number(V),0),unit:"px",max:rE,min:0,allowMouseWheel:!0,onlyInteger:!0,hideControls:!0})]}),C.jsx(_1e,{}),C.jsxs("div",{className:"input-with-label",children:[C.jsx("label",{children:"Max width"}),C.jsx(as,{value:(Number(r?.[1])??t0)===0||r?.[1]===null?t0:r?.[1]??t0,onChange:V=>I(Number(V),1),defaultOnEmpty:t0,unit:"px",max:rE,min:0,allowMouseWheel:!0,onlyInteger:!0,hideControls:!0})]})]})]}),C.jsx("button",{className:"submit",onClick:F,children:"Apply"})]})]}),s?C.jsxs(yi,{opened:g,onClose:m.close,width:250,position:"bottom",shadow:"md",withArrow:!0,children:[C.jsx(Qr,{label:[d,h,g].some(Boolean)?"":"Delete current media query",children:C.jsx(yi.Target,{children:C.jsx("button",{onClick:m.toggle,style:{zIndex:10},className:"btn-red-2 btn-box",children:C.jsx(_s,{})})})}),C.jsxs(yi.Dropdown,{sx:V=>({background:V.colorScheme==="dark"?V.colors.dark[7]:V.white}),children:[C.jsxs("div",{className:"media-dropdown-content",children:[C.jsx("b",{children:"Are you sure?"}),C.jsx("i",{children:"Careful! This will remove all CSS applied to this media query."})]}),C.jsx("button",{className:"submit remove",onClick:O,children:"DELETE"})]})]}):null]}),C.jsxs("div",{className:"top-bar-right",children:[C.jsx(Qr,{label:"Search (Ctrl/⌘ + K)",children:C.jsx("button",{onClick:()=>f(!0),className:"btn-secondary btn-box",children:C.jsx(qLe,{})})}),C.jsx(Qr,{label:i?"Minimize":"Maximize",children:C.jsx("button",{onClick:H,className:"btn-secondary btn-box",children:i?C.jsx(_Zt,{}):C.jsx(MZt,{})})}),v&&C.jsx("button",{onClick:S,className:"btn-secondary btn-s",children:"Finish editing"})]})]})});XLe.displayName="TopBar";const YLe=E.memo(()=>C.jsxs(C.Fragment,{children:[C.jsx(XLe,{}),C.jsx(zLe,{})]}));YLe.displayName="Content";const QZt="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAsICAoIBwsKCQoNDAsNERwSEQ8PESIZGhQcKSQrKigkJyctMkA3LTA9MCcnOEw5PUNFSElIKzZPVU5GVEBHSEX/2wBDAQwNDREPESESEiFFLicuRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUX/wAARCALQBQADASIAAhEBAxEB/8QAGwABAQADAQEBAAAAAAAAAAAAAAECAwQFBgf/xABOEAACAQIDBgQFAgIHBgUBBgcAAQIDEQQSURMhMVJhkQUyQXEUImKBoQYzFVQWU3KSscHRIzQ2QnPhByQ1o7KTQ2R0orPwJTdVY4PC8f/EABsBAQEAAwEBAQAAAAAAAAAAAAABAgMEBQYH/8QAMREBAAIBAgUCBQIGAwEAAAAAAAERAgMSBBMhMVEUYQUVMkGhInFCUmKBkbEz0eHw/9oADAMBAAIRAxEAPwD82AAAAAAAAAAAAAAAAAAAAAAAAAAgAAUAAAAAAAAAAAAAAAFWFAAAAFhApCggAAUABQAAgAgEUUAAUAFAAIsCgAAACgACwBSFAFIUoAAooAKAALAoAKCKQpVAAUEUiKUUIBFFABRQgEZQKACgikKUCkKZQBSFKAQCLApSFKBSFXAoAAygUpAgQqKQplChSFAAAsCgAoFIVFFCYBRQAAKQpUAAUUERQKgECgACwBSFAFIUAAAAQCKigACxi5SUYq7fA9WhRVGnZcXxepqweH2cc8l80uHRHSc+plfSHocPpbY3T3ALkNdOlbkAKAICpYAGKY2C5AVLAAWgABUsAIVFIAKSwAhUUgBaR8OAD5l5wAAAAAAAAAAAAAAAAAAAAAAAQAAKAAAAAAAAAAAAAAACqoAAAAsIFIULAAAAAKAAEAEAiigACg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JfKjsweMcpODik7bt/EsQ2ac9aekDTt3yobd8qM9re3A07d8qJt3you2UbwaNu+VDbvlRdso3g0bd8qG3fKi7ZRvIadu+VE275UNso3g0bd8qG3fKi7ZRvBo275UR1paJF2yN5qnWS3R7mqU5S4sxMox8otyAGaAIC0lgBLhFJcApYAC0lvjQAfGMQAAAAAAAAAAAAAAAAAAAAAABYAAAAAAAAAAAAAAAAAAAUEKUAAAABYWgpABQAEAAAABQABYURSFAAACghSgUhUUAAAABQABYAAAUAFFBClFQIEyigAKFIUoFICooAKoVECKKUhUUVAhSgACighSwigiKVVTBCooFICilICigAotwQJlGQIUoC4AFBEUoFICilIUooIW5bAAAUEAFABRQQpbAXAAtwQFFKS4AtykAsUC4LaBlCbhNSXFO5iBavYhNVIKUeDMjz8HWyS2cn8suHRneb8ZuG/HK4AAZLYCAtIAAJYAC0gCAqWXABUAQFpLACBFIwClgALSWAAqWAAtI+NAB8UAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAABSFKAACwAAsAAAigAAAAAAKAAChUQpQAAApClAAAUBAoAAAACgACwBSACgAooAKKgQpQAAFABRQAWAABRUCFKqghSigIFApAVFKQFVQAUW4IUoFICilICighSgUgRRkCFAFRAUUAFFBCiwKQFFKYlKKCIpbApABQAAABRQQCxQALRQQtyiggApbkAFuelhq+1hZ+ePHr1PMMqdSVKalHijPHKpZYzT1wY0qkasFKPbQyOmOrbYAC0gCXBUsuACoAgLSWAXJcIpLgFLAAWksABUsABaQAIEtSAFR8cAD4lkAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAAAAAAAAAFAAAoAALAABAAAqKAAAAAAALAACgECosAAABSACgAoFIW5YAAAAAAABQABRQQoApClAIAooAKBSFKBSACgAoBAFFKRAsKpUQFFBLlKgUgKqlICigAooJcoApAWBQAUUEKUVAhblRQQpVLlIAKBcFQABRQQosUXICjIELcqhSAIoIBYoAKAAAoIUAW5AUW4IAKCXLcWN2HrujO/GL4o9OM1OKlF3TP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aaBTV1ojAAZKSSV1e3Ax3brAAZOSadlvfEKata3sYgA7ejMlPXhaxiAMsy4elrEzfNe3BbiADJtS6Ei8ruQAVv5UvuQAAAAAAAqdk11LnW+6e/0MQBkprT0Ga9363ujEAZXT3cE3dki7XvwZABlm3rduS3BtStfdqzEAWLtJMsZJejv7mIAyjK3oR2e/rwIAKn8tut7iTvJsgAAAAACgEGEAXEt+PUgAt93qLq9yACt3RAAAAAgKAFyFAEBQAAAFkYlZAAAAAAAAAAAAAAAAAAAAAAAAAAALAAAACkAAAWAAAAAWPowAaX6KAAAAAAAAAAAAAAAAAAAAAAAABq6s+AAHNVwqe+nu6HI4uLaas16HqGFSlGqrSW/wBGbcdSY6S8nivhuOf6tLpPj7PNZDbVoypPfvXozUzdHXs+ezwywy25RUgADAIVBhEF3qwQiF3qS71KAJd6i71BCIXb4shSBCxChkRAAEQljIgEBSEQIUAQAERAUgAABAhQBLgAUgACCApAAAAAAiAAAEKAICgAAAICgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgKCgACAACgAAAAAAAAAAAAAAAAyFZAAKAICgAAAIUAAAAAAAAAAAAAAAAAAACgAAAAIAAAAAD6IAGp+igAAAAAAAAAAAAAAAAAAAAAAAAAAAAA0pJpq6Zw18M4XlHfH/A7gZY5Ti5eJ4XDiMay7+Xkg68RhrXnTW71RyHRExlFw+W19DPQz25hCgrQgADFAAQQFZAiAAiIAAiAAgAAIhGUAlAAREBSBAhQQQFIEAAAsQpGEAAAABAAAEBQEQAEAAAAAAAAEBSAAAAKQBFAAUAAAhQBAUBEBQBAUACFAAABQAAAAAAAAABAABQABAAAAAAABVAAAAAAAAAAAAAAABAAAAUgUAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAf/2Q==",VZt="/wp-content/plugins/core-framework/dist/documentation_card-eda4364f.png",JLe=E.memo(()=>{const[t,e]=E.useState(""),[r,n]=E.useState(!1),i=async()=>{const{key:s}=await zHt();e(s)},o=async()=>{const s=new window.wp.api.models.Settings,a=encodeURIComponent(s?.attributes?.rest_url??window.location.origin),l="abcdefghijklmnopqrstuvwxyz0123456789",u=`${Array.from({length:24},()=>l[Math.floor(Math.random()*l.length)]).join("")}${a}`,{success:f}=await KHt({key:u});f&&e(u),i()};return E.useEffect(()=>{i()},[]),C.jsxs("section",{id:"addons",className:"section",children:[C.jsx("div",{className:"subsection-2",children:C.jsxs("div",{className:"cards-wrapper",children:[C.jsxs("div",{className:"info-card",children:[C.jsx("div",{className:"info-card-image",children:C.jsx("img",{src:QZt,alt:""})}),C.jsxs("div",{className:"info-card-content",children:[C.jsx("h5",{children:"Sync variables to Figma"}),C.jsx("p",{children:"Our addon enables seamless two-way synchronization between this project and your Figma project. Simply copy the API key below to get started."}),C.jsx("a",{href:"https://coreframework.com/marketplace/figma-integration",target:"_blank",className:"btn-primary btn-m relative transition-global",children:"Get started"})]})]}),C.jsxs("div",{className:"info-card",children:[C.jsx("div",{className:"info-card-image",children:C.jsx("img",{src:VZt,alt:""})}),C.jsxs("div",{className:"info-card-content",children:[C.jsx("h5",{children:"Need help?"}),C.jsx("p",{children:"We are here to assist you! Simply contact us through our website. Alternatively, you can check our extensive documentation by clicking the link below."}),C.jsx("a",{href:"https://docs.coreframework.com/figma",target:"_blank",className:"btn-tertiary btn-m relative transition-global",children:"Learn more"})]})]})]})}),C.jsxs("div",{className:"subsection-2",children:[C.jsx("h2",{children:"Figma Addon Information"}),C.jsx("div",{className:"bg-blue radius padding-xl",children:C.jsx("p",{className:"text-m opacity-60",children:"Seamlessly synchronize your project between Core Framework's Web App/WordPress plugin and the Core Framework plugin inside Figma. Simply add your purchased license key to Core Framework in the Figma plugin, then synchronize your Core Framework project using the Product ID or the API key found below!"})})]}),C.jsxs("div",{className:"subsection-2",children:[C.jsx("h2",{children:"Figma Addon Preferences"}),C.jsx("div",{className:"grid border-secondary radius bg-overlay-1",children:C.jsx(vn,{label:"API Key",description:"This API key is used to connect to the Core Framework plugin inside Figma. Simply enter it there when prompted.",htmlFor:"api_key",isColumn:!0,children:C.jsx("div",{className:"figma-key-wrapper",children:t?C.jsxs(C.Fragment,{children:[C.jsx("input",{onClick:()=>{try{navigator.clipboard.writeText(t),wr.success("API key copied to clipboard")}catch{}},value:t,className:"full-width pointer",readOnly:!0}),r?C.jsxs("div",{className:"delete-wrapper",children:[C.jsxs("button",{className:"confirm-delete-btn btn-s btn-primary",onClick:async()=>{const{success:s}=await qHt();s&&(n(!1),e(""),wr.success("API key deleted"))},children:[C.jsx(_s,{}),C.jsx("p",{children:"Are you sure?"})]}),C.jsx("button",{className:"cancel-delete-btn btn-s btn-secondary",onClick:()=>n(!1),children:C.jsx("p",{children:"No"})})]}):C.jsx("button",{onClick:()=>n(!0),className:"delete-btn",children:"Delete"})]}):C.jsx("button",{onClick:o,className:"btn-primary btn-m full-width relative",children:"Create"})})})})]})]})});JLe.displayName="Figma";const ZLe=E.memo(()=>{const t=tn(Fp),e=kn(Tp),r=(n,i)=>e({...t,[n]:i});return C.jsx("section",{id:"addons",className:"section",children:C.jsxs("div",{className:"subsection",children:[C.jsx("h1",{children:"Gutenberg Addon Preferences"}),C.jsxs("div",{className:"grid border-secondary radius bg-overlay-1",children:[C.jsx(vn,{label:"Display the Dark Mode toggle",htmlFor:"gutenberg_enable_dark_mode_preview",children:C.jsx(Ln,{onChange:({target:{checked:n}})=>r("gutenberg_enable_dark_mode_preview",n),checked:t.gutenberg_enable_dark_mode_preview??!0,id:"gutenberg_enable_dark_mode_preview"})}),C.jsx("hr",{}),C.jsx(vn,{label:"Move the Core Framework widget to the top",htmlFor:"gutenberg_place_controls_at_the_top",children:C.jsx(Ln,{onChange:({target:{checked:n}})=>r("gutenberg_place_controls_at_the_top",n),checked:t.gutenberg_place_controls_at_the_top??!0,id:"gutenberg_place_controls_at_the_top"})}),C.jsx("hr",{}),C.jsx(vn,{label:"Close the widget by default",htmlFor:"gutenberg_close_widget_default",children:C.jsx(Ln,{onChange:({target:{checked:n}})=>r("gutenberg_close_widget_default",n),checked:t.gutenberg_close_widget_default??!0,id:"gutenberg_close_widget_default"})})]})]})})});ZLe.displayName="Bricks";const $Zt=E.memo(function(){return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"128",height:"111",fill:"none",viewBox:"0 0 128 111",children:[C.jsx("path",{fill:"#1F2229",stroke:"#3E4450",strokeMiterlimit:"10",strokeWidth:"2",d:"M63.7 109.492c29.7 0 53.9-24.1 53.9-53.7-.1-29.7-24.2-53.8-53.9-53.8-29.8 0-53.9 24.1-53.9 53.7 0 29.7 24.1 53.8 53.9 53.8z"}),C.jsx("path",{fill:"#3B414E",d:"M118.9 36.992a4.1 4.1 0 100-8.2 4.1 4.1 0 000 8.2zM124.9 20.992a2.8 2.8 0 100-5.6 2.8 2.8 0 000 5.6zM5.2 91.792a5.2 5.2 0 100-10.4 5.2 5.2 0 000 10.4z"}),C.jsx("path",{fill:"#2E333D",stroke:"#3B414E",strokeMiterlimit:"10",strokeWidth:"2",d:"M101.512 33.162v65.131c0 4.746-3.764 8.51-8.51 8.51H34.417c-4.746 0-8.51-3.764-8.51-8.51v-85.26c0-4.745 3.764-8.51 8.51-8.51h38.62c2.128 0 4.091.82 5.564 2.292l20.62 20.62c1.473 1.636 2.291 3.6 2.291 5.727z"}),C.jsx("path",{fill:"#3E4450",d:"M75.918 5.12v19.353c0 3.47 2.94 6.247 6.28 6.247h18.726M51.187 89.067H37.541c-.51 0-.917-.542-.917-1.191 0-.65.407-1.19.917-1.19h13.646c.51 0 .917.54.917 1.19 0 .757-.408 1.19-.917 1.19zM68.64 22.385H37.95c-.714 0-1.326-.55-1.326-1.19 0-.642.612-1.192 1.325-1.192h30.69c.714 0 1.326.55 1.326 1.191s-.612 1.19-1.326 1.19zM49.697 29.53H37.94c-.709 0-1.317-.55-1.317-1.191s.608-1.191 1.317-1.191h11.654c.71 0 1.318.55 1.318 1.19 0 .642-.608 1.191-1.216 1.191zM90.436 71.206H38.776c-.48 0-.961.496-.961 1.19 0 .596.385 1.191.962 1.191H90.436c.481 0 .962-.496.962-1.19-.096-.695-.48-1.191-.962-1.191zM90.435 62.87H38.779c-.482 0-.964.496-.964 1.19 0 .596.385 1.192.964 1.192h51.656c.481 0 .963-.496.963-1.191-.096-.695-.481-1.19-.963-1.19zM90.522 54.535H38.775c-.48 0-.96.496-.96 1.19 0 .596.384 1.192.96 1.192h51.651c.48 0 .96-.497.96-1.191.096-.596-.384-1.19-.864-1.19zM90.447 46.2h-51.68c-.476 0-.952.496-.952 1.19 0 .596.38 1.191.952 1.191H90.35c.667 0 1.047-.496 1.047-1.19 0-.596-.38-1.191-.951-1.191z"}),C.jsx("path",{fill:"#6D7381",stroke:"#949BAB",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M91.048 106.992c11.623 0 21.045-9.422 21.045-21.045 0-11.623-9.422-21.046-21.045-21.046-11.623 0-21.046 9.423-21.046 21.046s9.423 21.045 21.046 21.045z"}),C.jsx("path",{fill:"#C7CDDB",d:"M92.258 77.404c.051.062.097.129.152.188l5.188 5.508c.62.658.62 1.81 0 2.47-.62.658-1.705.658-2.403 0l-.686-.706c-.626-.643-1.717-.2-1.717.697v6.592c0 .988-.775 1.811-1.705 1.811s-1.706-.823-1.706-1.81V85.56c0-.897-1.09-1.34-1.716-.697l-.687.705c-.62.659-1.705.659-2.403 0-.387-.411-.542-.823-.542-1.234 0-.375.128-.885.443-1.16.062-.055.128-.105.185-.166l5.185-5.506c.233-.246.775-.576 1.163-.576.355 0 .97.138 1.25.477z"})]})});function HZt({onDrop:t,onDragOver:e,onDragLeave:r,accept:n,multiple:i,children:o,title:s="Drop preset here"}){const[a,l]=E.useState(!1);function c(p){p.preventDefault(),l(!1),p.dataTransfer.files.length>0&&t(Array.from(p.dataTransfer.files))}function u(p){p.preventDefault(),l(!0),e&&e(p)}function f(p){p.preventDefault(),l(!1),r&&r(p)}function d(){const p=document.createElement("input");p.type="file",p.accept=n||"",p.multiple=i||!1,p.onchange=()=>{p.files&&t(Array.from(p.files))},p.click()}return C.jsxs("div",{className:zr("dropzone",{dragging:a}),onClick:d,onDrop:c,onDragOver:u,onDragLeave:f,children:[C.jsx("span",{className:"svg-4xl svg-filter-1",children:C.jsx($Zt,{})}),C.jsxs("h4",{children:["Drop a ",C.jsx("b",{children:".core"})," file here to import the framework"]}),C.jsx("p",{className:"text-s opacity-50",children:"or"}),C.jsx("button",{className:"btn-primary btn-l",children:"Browse files"})]})}const GZt=()=>{const[t,e]=E.useState(null),[r,n]=E.useState(null),i=Xn(E.useCallback(l=>l(wN),[])),o=kn(Cee),s=E.useCallback(l=>{t&&o(t||l)},[t]),a=E.useCallback(async()=>{if(!r)return;const l=JSON.parse(JSON.stringify(r));e(null),await new Promise(c=>setTimeout(c,1)),e(l),s(l)},[r]);return E.useEffect(()=>{if(t)return;const l=i();n(l),e(l)},[]),E.useEffect(s,[t]),{currentPreset:t,setCurrentPreset:e,saveChanges:s,getCurrentPreset:i,recoverBackup:a}},WZt=()=>{const[t,e]=Yn(G_t),[r,n]=E.useState(!1),i=Xn(E.useCallback(s=>s(xs),[])),o=E.useCallback(async([s])=>{n(!0);const a=performance.now();let l;try{const f=s.name.endsWith(`.${w3}`)?R4e(await s.text()):await s.text();l=await JSON.parse(f)}catch{return n(!1),console.warn("Invalid preset file")}const c=RN(l);if(!c.success)return n(!1),uo("Invalid preset file",c),console.warn("Invalid preset file");const u=s3({preset:l,oldPreferences:await i()});e(u),performance.now()-a<300&&await new Promise(f=>setTimeout(f,200)),n(!1)},[]);return{externalPreset:t,setExternalPreset:e,onExternalPresetDrop:o}},nE=E.memo(function(){return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[C.jsx("rect",{width:"16",height:"11",x:"4",y:"10",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",rx:"3"}),C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M8 10V6.5A3.5 3.5 0 0111.5 3h1A3.5 3.5 0 0116 6.5V10"}),C.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M9 16L15 16"})]})}),Fte=E.memo(function(){return C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:C.jsxs("g",{fill:"none",children:[C.jsx("path",{d:"M0 0h24v24H0z"}),C.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M3.118 12.467a.987.987 0 010-.935C5.01 8.033 8.505 5 12 5s6.99 3.033 8.882 6.533a.987.987 0 010 .935C18.99 15.967 15.495 19 12 19s-6.99-3.033-8.882-6.533z"}),C.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.429",d:"M14.121 9.879A3 3 0 119.88 14.12 3 3 0 0114.12 9.88"})]})})}),zZt=E.memo(function(){return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:[C.jsx("path",{fill:"currentColor",d:"M160,288c17.673,0,32,14.327,32,32h32c0-35.346-28.654-64-64-64c-35.346,0-64,28.654-64,64v32c0,35.346,28.654,64,64,64 c35.346,0,64-28.654,64-64h-32c0,17.673-14.327,32-32,32s-32-14.327-32-32v-32C128,302.327,142.327,288,160,288z"}),C.jsx("path",{fill:"currentColor",d:"M32,464V48c0-8.837,7.163-16,16-16h240v64c0,17.673,14.327,32,32,32h64v48h32v-64c0.025-4.253-1.645-8.341-4.64-11.36 l-96-96C312.341,1.645,308.253-0.024,304,0H48C21.49,0,0,21.491,0,48v416c0,26.51,21.49,48,48,48h112v-32H48 C39.164,480,32,472.837,32,464z"}),C.jsx("path",{fill:"currentColor",d:"M464,320h-32c-8.837,0-16-7.163-16-16s7.163-16,16-16h32c8.837,0,16,7.163,16,16h32c0-26.51-21.49-48-48-48h-32 c-26.51,0-48,21.49-48,48c0,26.51,21.49,48,48,48h32c8.837,0,16,7.163,16,16s-7.163,16-16,16h-32c-8.837,0-16-7.163-16-16h-32 c0,26.51,21.49,48,48,48h32c26.51,0,48-21.49,48-48C512,341.491,490.51,320,464,320z"}),C.jsx("path",{fill:"currentColor",d:"M288,288h32c8.837,0,16,7.163,16,16h32c0-26.51-21.49-48-48-48h-32c-26.51,0-48,21.49-48,48c0,26.51,21.49,48,48,48h32 c8.837,0,16,7.163,16,16s-7.163,16-16,16h-32c-8.837,0-16-7.163-16-16h-32c0,26.51,21.49,48,48,48h32c26.51,0,48-21.49,48-48 c0-26.51-21.49-48-48-48h-32c-8.837,0-16-7.163-16-16S279.164,288,288,288z"})]})});jC.registerLanguage("css",mee);const KZt={format:!0,combineSelectors:!0,propertyValidation:!1,valueValidation:!1};function Ff(t){const e=t.isMyFramework?"my-framework-":"skeleton-";return C.jsx("p",{id:`${e}${t.id}`,className:zr("manage-table-item-title",t.title===""&&"opacity-50",t.className),children:t.title===""?"Untitled":t.title})}function qZt(t){const[e,r]=E.useState(""),[n,i]=E.useState(!1),{attributes:o,listeners:s,setNodeRef:a,transform:l,transition:c}=bh({id:t.id}),u={transform:Po.Transform.toString(l),transition:c};return C.jsxs("div",{ref:a,style:u,...o,...s,className:"manage-table-item",children:[C.jsx("div",{className:"grab",children:C.jsx(VZ,{})}),C.jsx(Ff,{isMyFramework:!0,title:t.title,id:t.id,className:zr({"opacity-30":t.group.isDisabled})}),C.jsxs("div",{className:"row",children:[C.jsxs(yi,{width:400,position:"top",withArrow:!0,shadow:"md",onOpen:async()=>{r(await HA({cssObjects:t.group.cssObjects??[],options:KZt})),setTimeout(()=>jC.highlightAll(),2)},children:[C.jsx(mp,{label:"Preview CSS",children:C.jsx(yi.Target,{children:C.jsx("button",{className:"btn-quaternary btn-box",children:C.jsx(zZt,{})})})}),C.jsx(yi.Dropdown,{children:C.jsx("pre",{className:"generated-code padding-s margin-0 overflow-scroll",style:{overflow:"auto",maxHeight:400},children:C.jsx("code",{className:"language-css",children:e})})})]}),C.jsx(mp,{label:t.group.isDisabled?"Enable":"Disable",children:C.jsx("button",{onClick:()=>{t.onGroupDisable({categoryId:t.categoryId,groupId:t.id})},className:"btn-quaternary btn-box",children:t.group.isDisabled?C.jsx(Fte,{}):C.jsx(z3,{})})}),C.jsx(mp,{label:n?"Confirm delete":"Delete",children:C.jsx("button",{onClick:()=>{if(n){t.onGroupRemove({categoryId:t.categoryId,groupId:t.id}),i(!1);return}i(!0),setTimeout(()=>i(!1),2e3)},className:"btn-quaternary btn-box",children:n?C.jsx(Gu,{}):C.jsx(_s,{})})})]})]})}jC.registerLanguage("css",mee);const XZt=({colorGroup:t,onColorGroupImport:e})=>{const{parseColorValue:r}=qm();return C.jsxs("div",{className:"manage-table-item module",children:[C.jsx("button",{onClick:()=>e(t),className:"btn-secondary btn-box",children:C.jsx(Xl,{})}),C.jsxs("div",{className:"row gap-s",children:[C.jsx(Ff,{isMyFramework:!1,title:t.name,id:t.id}),C.jsx("div",{className:"row",style:{marginLeft:5},children:t.colors.map(n=>{const o=n.value.startsWith("var")?r(n.value,"rgba",!1):n.value;return C.jsx("div",{className:"shadow-s",style:{aspectRatio:"1/1",height:20,backgroundColor:o,borderRadius:999,marginLeft:-5}})})})]})]},`Skeleton-${t.id}`)},YZt=({id:t,group:e,colorSystemData:r,components:n,handleExternalGroupImport:i,onColorGroupImport:o,onComponentImport:s,onFluidTypographyReplace:a,onFluidSpacingReplace:l,setColorToImport:c})=>{const[u,f]=E.useState(""),d=[t==="colorStyles"&&r?.groups?.length,t==="componentsStyles"&&n?.length,t==="typographyStyles",t==="spacingStyles",e?.length],p=E.useMemo(()=>d.every(h=>!h),d);return C.jsxs("div",{className:"grid gap-l",children:[C.jsx("b",{className:"opacity-50 text-s",children:eRe.get(t)}),C.jsxs("div",{className:zr("manage-table",p&&"padding-s text-m opacity-60"),children:[t==="colorStyles"&&r&&C.jsx(C.Fragment,{children:r.groups.map(h=>C.jsx(XZt,{colorGroup:h,onColorGroupImport:o,setColorToImport:c},`Skeleton-${h.id}`))}),t==="componentsStyles"&&n?.length?C.jsx(C.Fragment,{children:n?.map(h=>C.jsxs("div",{className:"manage-table-item module",children:[C.jsx(Qr,{label:"Paste",children:C.jsx("button",{onClick:()=>s({component:h}),className:"btn-secondary btn-box",children:C.jsx(Xl,{})})}),C.jsx(Ff,{isMyFramework:!1,title:h.selector,id:h.id})]},`Skeleton-${h.id}`))}):null,t==="typographyStyles"&&C.jsxs("div",{className:"manage-table-item module",children:[C.jsx(Qr,{label:"Paste",children:C.jsx("button",{onClick:()=>a(),className:"btn-secondary btn-box",children:C.jsx(Xl,{})})}),C.jsx(Ff,{isMyFramework:!1,title:"Fluid typography",id:"fluidTypography"})]},"Skeleton-fluidTypography"),t==="spacingStyles"&&C.jsxs("div",{className:"manage-table-item module",children:[C.jsx(Qr,{label:"Paste",children:C.jsx("button",{onClick:()=>l(),className:"btn-secondary btn-box",children:C.jsx(Xl,{})})}),C.jsx(Ff,{isMyFramework:!1,title:"Fluid spacing",id:"fluidSpacing"})]},"Skeleton-fluidSpacing"),e?.length?e.map(h=>C.jsxs("div",{className:"manage-table-item",children:[C.jsx(Qr,{label:"Paste",children:C.jsx("button",{onClick:()=>i({group:h,categoryId:t}),className:"btn-secondary btn-box",children:C.jsx(Xl,{})})}),C.jsx(Ff,{isMyFramework:!1,title:h.name,id:h.id}),C.jsxs(yi,{width:400,position:"top",withArrow:!0,shadow:"md",onOpen:async()=>{f(await HA({cssObjects:h.cssObjects??[],options:JZt})),setTimeout(()=>jC.highlightAll(),2)},children:[C.jsx(Qr,{label:"Preview CSS",children:C.jsx(yi.Target,{children:C.jsx("button",{className:"btn-quaternary btn-box",children:C.jsx(Fte,{})})})}),C.jsx(yi.Dropdown,{children:C.jsx("pre",{className:"generated-code padding-s overflow-scroll",style:{overflow:"scroll",maxHeight:400},children:C.jsx("code",{className:"language-css",children:u})})})]})]},`Skeleton-${h.id}`)):null,p?"No groups":null]})]},`Skeleton-${t}`)},eRe=new Map([["colorStyles","Colors"],["typographyStyles","Typography"],["spacingStyles","Spacing"],["layoutsStyles","Layouts"],["designStyles","Design"],["componentsStyles","Components"],["otherStyles","Other"]]),JZt={format:!0,combineSelectors:!0,propertyValidation:!1,valueValidation:!1},ZZt=({styleSheetData:t,colorSystemData:e,components:r,handleExternalGroupImport:n,onColorGroupImport:i,onComponentImport:o,onFluidTypographyReplace:s,onFluidSpacingReplace:a,setColorToImport:l})=>t?C.jsx(C.Fragment,{children:Object.entries(t).map(([c,u])=>C.jsx(YZt,{id:c,group:u,colorSystemData:e,components:r,handleExternalGroupImport:n,onColorGroupImport:i,onComponentImport:o,onFluidTypographyReplace:s,onFluidSpacingReplace:a,setColorToImport:l},`Skeleton-${c}`))}):null;let ky=null;function eer(t){const{id:e,items:r,colorSystemData:n,onColorGroupRemove:i,onColorGroupDisable:o,components:s,fluidTypographyData:a,fluidSpacingData:l}=t,[c,u]=E.useState(""),{parseColorValue:f}=qm(),{setNodeRef:d}=A3e({id:e}),p=[r?.length,n?.groups.length,s?.length,a,l],h=E.useMemo(()=>p.every(A=>!A),p);return r?C.jsx(Qu,{id:e,items:r,strategy:vm,children:C.jsxs("div",{ref:d,className:"grid gap-l",children:[C.jsx("b",{className:"opacity-50 text-s",children:eRe.get(e)}),C.jsxs("div",{className:zr("manage-table",h&&"padding-s text-m opacity-60"),style:{overflow:"hidden"},children:[n&&e==="colorStyles"&&C.jsx(C.Fragment,{children:n.groups.map(A=>C.jsxs("div",{className:"manage-table-item module",children:[C.jsx(nE,{}),C.jsxs("div",{className:zr("row gap-s",{"opacity-30":A.isDisabled}),children:[C.jsx(Ff,{isMyFramework:!0,title:A.name,id:A.id}),C.jsx("div",{className:"row",style:{marginLeft:5},children:A.colors.map(g=>{const v=g.value.startsWith("var")?f(g.value,"rgba",!1):g.value;return C.jsx("div",{className:"shadow-s",style:{aspectRatio:"1/1",height:20,backgroundColor:v,borderRadius:999,marginLeft:-5}})})})]}),C.jsxs("div",{className:"row",children:[C.jsx(Qr,{label:A.isDisabled?"Enable":"Disable",children:C.jsx("button",{onClick:()=>{o({categoryId:e,groupId:A.id})},className:zr("btn-quaternary btn-box",{"active-btn":A.isDisabled}),children:A.isDisabled?C.jsx(Fte,{}):C.jsx(z3,{})})}),C.jsx(Qr,{label:c===A.id?"Confirm delete":"Delete",children:C.jsx("button",{onClick:()=>{if(c===A.id){i({categoryId:e,groupId:A.id}),u("");return}u(A.id),ky&&clearTimeout(ky),ky=setTimeout(()=>u(""),3e3)},className:"btn-quaternary btn-box",children:c===A.id?C.jsx(Gu,{}):C.jsx(_s,{})})})]})]},`Skeleton-${A.id}`))}),(s?.length??0)>0&&e==="componentsStyles"&&C.jsx(C.Fragment,{children:s?.map(A=>C.jsxs("div",{className:"manage-table-item module",children:[C.jsx(nE,{}),C.jsx(Ff,{isMyFramework:!0,title:A.selector,id:A.id}),C.jsx("div",{className:"row gap-s",children:C.jsx(Qr,{label:c===`${A.id}_c`?"Confirm delete":"Delete",children:C.jsx("button",{onClick:()=>{const g=`${A.id}_c`;if(c===g){t.onComponentRemove({id:A.id}),u("");return}u(g),ky&&clearTimeout(ky),ky=setTimeout(()=>u(""),3e3)},className:"btn-quaternary btn-box",children:c===`${A.id}_c`?C.jsx(Gu,{}):C.jsx(_s,{})})})})]},`Skeleton-${A.id}`))}),a&&e==="typographyStyles"&&C.jsxs("div",{className:"manage-table-item module",children:[C.jsx(nE,{}),C.jsx(Ff,{isMyFramework:!0,title:"Fluid Typography",id:"fluidTypography"})]}),l&&e==="spacingStyles"&&C.jsxs("div",{className:"manage-table-item module",children:[C.jsx(nE,{}),C.jsx(Ff,{isMyFramework:!0,title:"Fluid Spacing",id:"fluidSpacing"})]}),r.map(A=>C.jsx(qZt,{id:A.id,title:A.name,onGroupRemove:t.onGroupRemove,onGroupDisable:t.onGroupDisable,categoryId:e,group:A},A.id)),h?"No groups":null]})]})}):null}const yw=t=>{if(typeof t=="string"){document.getElementById(t)?.classList.add("has-label");return}t.classList.add("has-label")},ter=E.memo(()=>{const{currentPreset:t,setCurrentPreset:e,saveChanges:r,getCurrentPreset:n,recoverBackup:i}=GZt(),{externalPreset:o,setExternalPreset:s,onExternalPresetDrop:a}=WZt(),[l,c]=E.useState({color:null}),[u,f]=E.useState(!1),[d,p]=E.useState(!1),[h,A]=E.useState(!1),g=E.useMemo(()=>{const J={colorStyles:[],typographyStyles:[],spacingStyles:[],layoutsStyles:[],designStyles:[],componentsStyles:[],fontsStyles:[],otherStyles:[]};return t?.styleSheetData??J},[t]),[m,v]=E.useState(null),y=rd(ls(qu,{coordinateGetter:Op}),ls(Xc,{activationConstraint:{distance:15}})),b=Xn(E.useCallback(J=>J(xs),[]));function B(J){return J in g?J:Object.keys(g).find(ee=>g?.[ee]?.find(q=>q.id===J))}function S(J){const{active:ee}=J,{id:q}=ee,Z=B(q);if(!Z)return;const re=g?.[Z]?.find(fe=>fe.id===q)?.name;v({id:q,title:re??""})}function w(J){const{active:ee,over:q}=J,{id:Z}=ee,re=q?.id,fe=B(Z),de=B(re??"");!fe||!de||!re||fe===de||e(ie=>{const le=ie?.styleSheetData;if(!le)return ie;const De=le?.[fe],Ae=le?.[de];if(!De||!Ae)return ie;const ue=De.findIndex(Ve=>Ve.id===Z),Ne=Ae.findIndex(Ve=>Ve.id===re);let Te;le?.[de]?.length===0?Te=Ae.length+1:Te=Ne>=0?Ne+0:Ae.length+1;const Re=ie?.styleSheetData?.[fe]?.filter(Ve=>Ve.id!==ee.id)??[],je=[...ie?.styleSheetData?.[de]?.slice(0,Te)??[],ie?.styleSheetData?.[fe]?.[ue]??[],...ie?.styleSheetData?.[de]?.slice(Te,ie?.styleSheetData?.[de]?.length??0)??[]];return{...ie,styleSheetData:{...ie?.styleSheetData,[fe]:Re,[de]:je}}})}function x(J){p(!0);const{active:ee,over:q}=J,{id:Z}=ee,re=q?.id,fe=B(Z),de=B(re??"");if(!fe||!de||!re)return;const ie=g[fe]?.findIndex(De=>De.id===Z),le=g[de]?.findIndex(De=>De.id===re);[ie,le].includes(-1)||ie===void 0||le===void 0||(e(De=>{if(!De?.styleSheetData||typeof De.styleSheetData?.[de]>"u")return De;const Ae=De.styleSheetData?.[de];return Ae?{...De,styleSheetData:{...De.styleSheetData,[de]:FY(Ae,ie,le)}}:De}),v(null))}function I({group:J,categoryId:ee}){const q={...J,id:ht().substring(5)};p(!0),e(Z=>{if(!Z?.styleSheetData)return Z;const re=Z.styleSheetData?.[ee];return re?{...Z,styleSheetData:{...Z.styleSheetData,[ee]:[...re,q]}}:Z}),setTimeout(()=>{const Z=document.getElementById(`my-framework-${q.id}`);Z&&(yw(Z),Z.scrollIntoView({behavior:"smooth",block:"center"}))},100)}function F({categoryId:J,groupId:ee}){e(q=>{if(!q?.styleSheetData)return q;p(!0);const Z=q.styleSheetData?.[J];return Z?{...q,styleSheetData:{...q.styleSheetData,[J]:Z.filter(re=>re.id!==ee)}}:q})}function k({categoryId:J,groupId:ee}){e(q=>{if(!q?.styleSheetData)return q;p(!0);const Z=q.styleSheetData?.[J];return Z?{...q,styleSheetData:{...q.styleSheetData,[J]:Z.map(re=>re.id===ee?{...re,isDisabled:!re.isDisabled}:re)}}:q})}async function O(J){J.preventDefault(),f(!0);try{const ee=J.currentTarget.url.value.trim()??"";let q="";if(ee.startsWith("https://")?q=new URL(J.currentTarget.url.value??"").pathname.split("/")[2]:q=ee,!q){wr.error("Invalid URL, please try again"),f(!1);return}if(q.length!==26){wr.error("Invalid URL, please try again"),f(!1);return}Fr({VITE_BACKUP_API_KEY:Bt()}).parse({VITE_BACKUP_API_KEY:"41vmTtfUixU7DKFEyIgG1511ka7RrifyZX9Z9WHd",BASE_URL:"/wp-content/plugins/core-framework/dist/",MODE:"production",DEV:!1,PROD:!0,SSR:!1});const fe=await(await fetch(`https://us-central1-core-framework-6bdc9.cloudfunctions.net/getPreset?id=${q}`,{method:"GET",headers:{"x-api-key":"41vmTtfUixU7DKFEyIgG1511ka7RrifyZX9Z9WHd"}})).json(),ie=Fr({success:Ut(),data:Fr({json:Bt()}).optional()}).parse(fe);if(!ie.success||!ie.data)return f(!1),wr.error("Something went wrong, please make sure you pasted link to public project");const le=JSON.parse(ie.data.json);if(!RN(le).success)return f(!1),wr.error("Preset not valid");const Ae=s3({preset:le,oldPreferences:await b()});s(Ae),f(!1)}catch(ee){f(!1),wr.error("Something went wrong"),console.warn(ee)}}const L=E.useCallback(async()=>{const J=n();if(!J)return;const ee={...jO(J),date:new Date().toISOString(),id:ht()},q=L4e(JSON.stringify(ee)),Z=new Blob([q],{type:"text/plain"});Zk(Z,`${M1(ee.name)}.${w3}`)},[n]);E.useCallback(async()=>{const J=n();if(!J)return;const ee={...jO(J),date:new Date().toISOString(),id:ht()},q=new Blob([JSON.stringify(ee)],{type:"text/plain"});Zk(q,`${M1(ee.name)}.json`)},[n]);const M=E.useCallback(J=>{p(!0);const ee=ht().substring(5);e(q=>{if(!q?.modulesData)return q;const Z=q.modulesData.COLOR_SYSTEM;return Z?{...q,modulesData:{...q.modulesData,COLOR_SYSTEM:{...Z,groups:[...Z.groups,{...J,id:ee}]}}}:q}),setTimeout(()=>{const q=document.getElementById(`my-framework-${ee}`);q&&(yw(q),q.scrollIntoView({behavior:"smooth",block:"center"}))},100)},[e]),H=E.useCallback(({groupId:J})=>{p(!0),e(ee=>{if(!ee?.modulesData)return ee;const q=ee.modulesData.COLOR_SYSTEM;return q?{...ee,modulesData:{...ee.modulesData,COLOR_SYSTEM:{...q,groups:q.groups.filter(Z=>Z.id!==J)}}}:ee})},[e]),V=E.useCallback(({groupId:J})=>{p(!0),e(ee=>{if(!ee?.modulesData)return ee;const q=ee.modulesData.COLOR_SYSTEM;return q?{...ee,modulesData:{...ee.modulesData,COLOR_SYSTEM:{...q,groups:q.groups.map(Z=>Z.id===J?{...Z,isDisabled:!Z.isDisabled}:Z)}}}:ee})},[e]),j=E.useCallback(({groupId:J})=>{if(!(l.color&&J)){c({color:null});return}p(!0);const ee=ht().substring(5),q={...l.color,id:ee};e(Z=>{if(!Z?.modulesData)return Z;const re=Z.modulesData.COLOR_SYSTEM;if(!re)return Z;const fe=re.groups,de=fe.find(Ae=>Ae.id===J);if(!de)return Z;const ie=[...de.colors,q],le={...de,colors:ie},De=fe.map(Ae=>Ae.id===J?le:Ae);return{...Z,modulesData:{...Z.modulesData,COLOR_SYSTEM:{...re,groups:De}}}}),c({color:null})},[e,l.color]),R=E.useCallback(({groupId:J,colorId:ee})=>{p(!0),e(q=>{if(!q?.modulesData)return q;const Z=q.modulesData.COLOR_SYSTEM;return Z?{...q,modulesData:{...q.modulesData,COLOR_SYSTEM:{...Z,groups:Z.groups.map(re=>re.id!==J?re:{...re,colors:re.colors.filter(fe=>fe.id!==ee)})}}}:q})},[e]),Q=E.useCallback(({component:J})=>{p(!0);const ee=ht().substring(5);e(q=>{if(!q?.modulesData)return q;const Z=q.modulesData.COMPONENTS;return Z?{...q,modulesData:{...q.modulesData,COMPONENTS:{...Z,components:[...Z.components,{...J,id:ee}]}}}:q}),setTimeout(()=>{const q=document.getElementById(`my-framework-${ee}`);q&&(yw(q),q.scrollIntoView({behavior:"smooth",block:"center"}))},100)},[e]),z=E.useCallback(({id:J})=>{p(!0),e(ee=>{if(!ee?.modulesData)return ee;const q=ee.modulesData.COMPONENTS;return q?{...ee,modulesData:{...ee.modulesData,COMPONENTS:{...q,components:q.components.filter(Z=>Z.id!==J)}}}:ee})},[e]),X=E.useCallback(()=>{p(!0);const J=o?.modulesData?.FLUID_TYPOGRAPHY;J&&(e(ee=>!ee?.modulesData||!J?ee:{...ee,modulesData:{...ee.modulesData,FLUID_TYPOGRAPHY:J}}),setTimeout(()=>{const ee=document.getElementById("my-framework-fluidTypography");ee&&(yw(ee),ee.scrollIntoView({behavior:"smooth",block:"center"}))},100))},[o,e]),_=E.useCallback(()=>{p(!0);const J=o?.modulesData?.FLUID_SPACING;J&&(e(ee=>!ee?.modulesData||!J?ee:{...ee,modulesData:{...ee.modulesData,FLUID_SPACING:J}}),setTimeout(()=>{const ee=document.getElementById("my-framework-fluidSpacing");ee&&(yw(ee),ee.scrollIntoView({behavior:"smooth",block:"center"}))},100))},[o,e]),G=E.useCallback(()=>{if(!(o&&t))return;const J=t.id,ee=t.name,q={...o,id:J,name:ee};e(q),r(q),s(null),p(!0);const Z=new CustomEvent("addon-enabled",{detail:{addon:"oxygen"}});document.dispatchEvent(Z)},[o,e]),W=E.useCallback(()=>{p(!0);const J=bNe(t??ap);e(J)},[t,e]);return C.jsxs("div",{className:"grid columns-2 align-start gap-2xl",children:[C.jsxs("div",{className:"grid gap-xl",children:[C.jsxs("div",{className:"row gap-s",children:[C.jsx("h2",{children:"Manage Your Project"}),C.jsx(Qr,{label:"Within this area, you can manage your currect project. You can drag and drop, preview or remove your groups. After you make any changes, press [Save changes] to apply. They will not be pushed until you save the project.",width:300,multiline:!0,withArrow:!0,children:C.jsx("span",{className:"help-tooltip",children:C.jsx(K1,{})})})]}),C.jsxs("div",{className:"bg-overlay-1 row gap-m padding-m radius",children:[C.jsx("button",{onClick:()=>{i(),p(!1)},className:zr("btn-s transition-global",{"btn-secondary":d,"btn-secondary disabled opacity-50 pointer-events-none":!d}),children:"Cancel Changes"}),C.jsx("button",{onClick:L,className:"btn-secondary btn-s",children:"Export"}),null,C.jsx("button",{onClick:()=>{if(h){W(),A(!1);return}A(!0),setTimeout(()=>A(!1),3e3)},className:"btn-red btn-s",children:h?"Confirm":"Remove All"})]}),C.jsxs(Uu,{sensors:y,collisionDetection:Y4e,onDragStart:S,onDragOver:w,onDragEnd:x,children:[Object.entries(g).map(([J,ee])=>C.jsx(eer,{id:J,items:ee,onGroupRemove:F,onGroupDisable:k,colorSystemData:J==="colorStyles"?t?.modulesData?.COLOR_SYSTEM:void 0,components:J==="componentsStyles"?t?.modulesData?.COMPONENTS?.components:void 0,fluidSpacingData:J==="spacingStyles"?t?.modulesData?.FLUID_SPACING:void 0,fluidTypographyData:J==="typographyStyles"?t?.modulesData?.FLUID_TYPOGRAPHY:void 0,singleColorImport:l.color,onSingleColorImport:q=>j(q),onColorGroupRemove:H,onColorGroupDisable:V,onColorRemove:R,onComponentRemove:z},J)),C.jsx(Qst,{children:m?C.jsx("div",{style:{pointerEvents:"none",background:"#1b1e26",padding:10,borderRadius:5},children:C.jsx(Ff,{id:m.id,title:m.title})}):null})]})]}),C.jsxs("div",{className:"grid gap-xl",children:[C.jsxs("div",{className:"row gap-s",children:[C.jsx("h2",{children:"Import"}),C.jsx(Qr,{label:"Import entire frameworks or specific groups, colors or components. After you add anything to your project, press [Apply changes] to import.",width:300,multiline:!0,withArrow:!0,children:C.jsx("span",{className:"help-tooltip",children:C.jsx(K1,{})})})]}),o?C.jsxs("div",{className:"bg-overlay-1 row gap-m padding-m radius",children:[C.jsx("button",{onClick:G,className:"btn-secondary btn-s",children:"Overwrite All"}),C.jsx("button",{onClick:()=>s(null),className:"btn-red btn-s",children:"Clear"})]}):null,C.jsx(ZZt,{styleSheetData:o?.styleSheetData,colorSystemData:o?.modulesData?.COLOR_SYSTEM,components:o?.modulesData?.COMPONENTS?.components,handleExternalGroupImport:I,onColorGroupImport:M,onComponentImport:Q,onFluidTypographyReplace:X,onFluidSpacingReplace:_,setColorToImport:J=>c(ee=>({...ee,color:J}))}),C.jsx(HZt,{onDrop:a,accept:`.json,.${w3}`,multiple:!1}),C.jsxs("div",{className:"grid padding-l radius align-center gap-m bg-overlay-1",children:[C.jsxs("div",{className:"grid gap-xs",children:[C.jsx("h4",{children:"Remote import from the link"}),C.jsx("p",{className:"text-s",children:C.jsx("span",{className:"opacity-50",children:"You can import a project remotely by pasting a shareable link or a project ID from the web app."})}),C.jsx("a",{style:{fontWeight:"600",fontSize:"var(--text-s)",color:"var(--color-main)"},target:"_blank",href:"https://docs.coreframework.com/remote-import",children:"How it works?"})]}),C.jsxs("form",{onSubmit:O,className:"row align-center gap-s full-width",children:[C.jsx("input",{type:"text",name:"url",placeholder:"https://coreframework.com/app/...",className:"full-width",style:{flex:1}}),u?C.jsx(td,{}):C.jsx("button",{type:"submit",className:"btn-tertiary btn-l",children:"Confirm"})]})]})]})]})}),tRe=E.memo(()=>C.jsx("section",{className:"section import-export",children:C.jsx("div",{className:"subsection",children:C.jsx(ter,{})})}));tRe.displayName="ImportExport";const rRe=E.memo(()=>{const t=tn(Fp),e=kn(Tp),r=(n,i)=>e({...t,[n]:i});return C.jsx("section",{id:"addons",className:"section",children:C.jsxs("div",{className:"subsection",children:[C.jsx("h1",{children:"Oxygen Addon Preferences"}),C.jsxs("div",{className:"grid border-secondary radius bg-overlay-1",children:[C.jsx(vn,{label:"Enable Variable UI",description:`Open by holding down ${navigator?.platform?.toUpperCase().includes("MAC")?"⌘ (CMD)":"Alt"} and clicking on an input.`,htmlFor:"oxygen_variable_ui",children:C.jsx(Ln,{onChange:({target:{checked:n}})=>r("oxygen_variable_ui",n),checked:t.oxygen_variable_ui??!0,id:"oxygen_variable_ui"})}),C.jsx("hr",{}),C.jsx(vn,{label:"Auto-hide Variable UI",description:"The modal UI will disappear after selecting a variable or clicking away.",htmlFor:"oxygen_enable_variable_ui_auto_hide",children:C.jsx(Ln,{onChange:({target:{checked:n}})=>r("oxygen_enable_variable_ui_auto_hide",n),checked:t.oxygen_enable_variable_ui_auto_hide??!0,id:"oxygen_enable_variable_ui_auto_hide"})}),C.jsx("hr",{}),C.jsx(vn,{label:"Open Variable UI by right clicking on an input",description:"",htmlFor:"oxygen_enable_variable_context_menu",children:C.jsx(Ln,{onChange:({target:{checked:n}})=>r("oxygen_enable_variable_context_menu",n),checked:t.oxygen_enable_variable_context_menu??!0,id:"oxygen_enable_variable_context_menu"})}),C.jsx("hr",{}),C.jsx(vn,{label:"Enable dropdowns for variables",description:"",htmlFor:"oxygen_enable_variable_dropdown",children:C.jsx(Ln,{onChange:({target:{checked:n}})=>r("oxygen_enable_variable_dropdown",n),checked:t.oxygen_enable_variable_dropdown??!0,id:"oxygen_enable_variable_dropdown"})}),C.jsx("hr",{}),C.jsx(vn,{label:"Display the Dark Mode toggle",description:"",htmlFor:"oxygen_enable_dark_mode_preview",children:C.jsx(Ln,{onChange:({target:{checked:n}})=>r("oxygen_enable_dark_mode_preview",n),checked:t.oxygen_enable_dark_mode_preview??!0,id:"oxygen_enable_dark_mode_preview"})}),C.jsx("hr",{}),C.jsx(vn,{label:"Preview class on hover",description:"",htmlFor:"oxygen_apply_class_on_hover",children:C.jsx(Ln,{onChange:({target:{checked:n}})=>r("oxygen_apply_class_on_hover",n),checked:t.oxygen_apply_class_on_hover??!0,id:"oxygen_apply_class_on_hover"})}),C.jsx("hr",{}),C.jsx(vn,{label:"Automatically set unit to 'none' and preview value on hover in variable dropdown/UI",description:"",htmlFor:"oxygen_enable_unit_and_value_preview",children:C.jsx(Ln,{onChange:({target:{checked:n}})=>r("oxygen_enable_unit_and_value_preview",n),checked:t.oxygen_enable_unit_and_value_preview??!0,id:"oxygen_enable_unit_and_value_preview"})})]})]})})});rRe.displayName="Bricks";const r0=({title:t,children:e})=>C.jsxs("div",{className:"subsection",children:[C.jsx("h2",{children:t}),C.jsx("div",{className:"grid border-secondary radius bg-overlay-1",children:e})]}),nRe=E.memo(()=>{const t=tn(Fp),[e,r]=Yn(eu),[n,i]=Yn(bee),o=kn(Tp),s=kn(_Le),a=kn(jLe),[l,c]=E.useState(""),[u,f]=E.useState(!1),d=(A,g)=>{r(m=>m?{...m,preferences:{...m?.preferences,[A]:g}}:null)},p=(A,g)=>{const m=A.target.files?.[0];let v="";if(m?.type.split("/")[1].includes("svg"))if(m?.type.startsWith("image/")){const y=new FileReader;y.onload=function({target:b}){v=b?.result,c(m.name),r(B=>B&&{...B,[g]:v})},y.readAsDataURL(m)}else alert("Please select a valid image file.")},h=E.useCallback(()=>{s(!0),a(!0)},[s,a]);return C.jsxs("section",{id:"preferences",className:"section",children:[C.jsxs(r0,{title:"Project Settings",children:[C.jsx(vn,{label:"Project Title",description:"Set a title for your project. This will also be used as the file name when exporting your preset.",htmlFor:"preset_title",children:C.jsx("input",{id:"preset_title",className:"preferences-right-side",type:"text",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,value:e?.name||"",onChange:({target:{value:A}})=>{r(g=>g&&{...g,name:A})}})}),C.jsx("hr",{}),C.jsx(vn,{label:"Default Theme",description:"Select the default theme for your project. Use .cf-theme-dark on the <html> element for manual dark mode. Auto will use system preferences.",htmlFor:"theme_method",children:C.jsx(ra,{onChange:A=>{const g=String(A).toLowerCase();d("theme_mode",g),o({...t,theme_mode:g})},value:d4(e?.preferences?.theme_mode??"light"),data:["Light","Dark","Auto"],id:"theme_method",className:"preferences-right-side"})})]}),C.jsxs(r0,{title:"Font and Spacing",children:[C.jsx(vn,{label:"Root Font Size",description:"Choose between 100% or 62.5% for the root font size. Fluid calculator values will adjust automatically.",htmlFor:"root_font_size",children:C.jsx(ra,{onChange:A=>d("root_font_size",A==="62.5%"?10:16),value:e?.preferences?.root_font_size===10?"62.5%":"100%",data:["100%","62.5%"],id:"root_font_size",className:"preferences-right-side"})}),C.jsx("hr",{}),C.jsx(vn,{label:"Min Screen Width",description:"Define the minimum screen width for fluid calculators (spacing and typography).",htmlFor:"min_screen_width",children:C.jsx("div",{className:"preferences-right-side",children:C.jsx(as,{id:"min_screen_width",value:e?.preferences?.min_screen_width||340,onChange:A=>d("min_screen_width",Number(A)),min:1,max:e?.preferences?.max_screen_width||2e3,unit:"px",step:1,size:14})})}),C.jsx("hr",{}),C.jsxs("div",{children:[C.jsx(vn,{label:"Max Screen Width",description:"Define the maximum screen width for fluid calculators (spacing and typography).",htmlFor:"max_screen_width",children:C.jsx("div",{className:"preferences-right-side",children:C.jsx(as,{id:"max_screen_width",value:e?.preferences?.max_screen_width||1440,onChange:A=>d("max_screen_width",Number(A)),min:e?.preferences?.min_screen_width||340,max:4e3,unit:"px",size:14,step:1})})}),C.jsx("div",{className:"bg-blue radius padding-xl margin-left-xl margin-right-xl margin-bottom-xl",children:C.jsx("p",{className:"text-m opacity-60",children:"If using a website builder, we recommend using var(--max-screen-width) to set your website's width in the global styles."})})]})]}),C.jsxs(r0,{title:"CSS Processing",children:[C.jsx(vn,{label:"Enable PostCSS",description:"Enable PostCSS to process CSS with vendor prefixes and fallbacks for cross-browser compatibility.",htmlFor:"postcss",children:C.jsx(Ln,{onChange:({target:{checked:A}})=>d("postcss",A),checked:e?.preferences?.postcss,id:"postcss"})}),C.jsx("hr",{}),C.jsx(vn,{label:"Output REM Units",description:"Convert pixel values to REM units for typography and spacing in the final stylesheet.",htmlFor:"is_rem",children:C.jsx(Ln,{onChange:({target:{checked:A}})=>d("is_rem",A),checked:e?.preferences?.is_rem,id:"is_rem"})}),C.jsx("hr",{}),C.jsx(vn,{label:"Smooth Linear Gradients",description:"Generates more iterations on the value to create smoother linear gradients for enhanced visual appeal.",htmlFor:"postcss_easing_gradients",disabled:!e?.preferences?.postcss,children:C.jsx(Ln,{onChange:({target:{checked:A}})=>d("postcss_easing_gradients",A),checked:e?.preferences?.postcss_easing_gradients,id:"postcss_easing_gradients"})})]}),C.jsxs(r0,{title:"Prefixes and Customization",children:[C.jsxs("div",{children:[C.jsx(vn,{label:"Class Prefix",description:"Add a custom prefix to all Core Framework classes to avoid naming conflicts.",htmlFor:"class_prefix",children:C.jsx("input",{id:"class_prefix",className:"preferences-right-side",type:"text",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,size:10,value:e?.classPrefix||"",onChange:({target:{value:A}})=>{const g=/[^\w\d\-_]/g,m=A.replace(g,"").replace(".","").replace(" ","-");r(v=>v&&{...v,classPrefix:m})},placeholder:"Eg. cf-"})}),C.jsx("div",{className:"bg-red radius padding-xl margin-left-xl margin-right-xl margin-bottom-xl",children:C.jsx("p",{className:"text-m opacity-60",children:"We recommend setting this before building your website. Adding class prefixes later requires re-adding classes to your elements."})})]}),C.jsx("hr",{}),C.jsxs("div",{children:[C.jsx(vn,{label:"Variable Prefix",description:"Add a custom prefix to all Core Framework variables to avoid naming conflicts.",htmlFor:"variable_prefix",children:C.jsx("input",{id:"variable_prefix",className:"preferences-right-side",type:"text",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,size:12,value:e?.variablePrefix||"",onChange:({target:{value:A}})=>{const g=/[^\w\d\-_]/g,m=A.replace(g,"").replace(".","").replace(" ","-");r(v=>v&&{...v,variablePrefix:m})},placeholder:"Eg. cf-"})}),C.jsx("div",{className:"bg-red radius padding-xl margin-left-xl margin-right-xl margin-bottom-xl",children:C.jsx("p",{className:"text-m opacity-60",children:"We recommend setting this before building your website. Adding variable prefixes later requires re-adding variables to your elements."})})]})]}),C.jsxs(r0,{title:"Accessibility and Usability",children:[C.jsx(vn,{label:"Disable Hover on Touch Devices",description:"Disable hover styles on touch devices for improved user experience.",htmlFor:"postcss_hover_media",disabled:!e?.preferences?.postcss,children:C.jsx(Ln,{onChange:({target:{checked:A}})=>d("postcss_hover_media",A),checked:e?.preferences?.postcss_hover_media,id:"postcss_hover_media"})}),C.jsx("hr",{}),C.jsx(vn,{label:"Respect Reduced Motion",description:"Disable animations if the user has enabled ‘Reduce motion’ in OS settings.",htmlFor:"prefers_reduced_motion",children:C.jsx(Ln,{onChange:({target:{checked:A}})=>d("prefers_reduced_motion",A),checked:e?.preferences?.prefers_reduced_motion,id:"prefers_reduced_motion"})}),C.jsx("hr",{}),C.jsxs("div",{children:[C.jsx(vn,{label:"Enable Clickable Parent",description:"Enable a clickable parent class to use on links.",htmlFor:"is_clickable_parent",children:C.jsxs("div",{className:"row align-center gap-xl right-side-multiple",children:[C.jsx("input",{id:"variable_prefix",className:"preferences-right-side",type:"text",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,size:12,disabled:!e?.preferences?.is_clickable_parent,value:e?.clickableParentClass||"",onChange:({target:{value:A}})=>{r(g=>g&&{...g,clickableParentClass:A})},placeholder:"Eg. .expand-click"}),C.jsx(Ln,{onChange:({target:{checked:A}})=>d("is_clickable_parent",A),checked:e?.preferences?.is_clickable_parent,id:"is_clickable_parent"})]})}),C.jsx("div",{className:"bg-blue radius padding-xl margin-left-xl margin-right-xl margin-bottom-xl",children:C.jsx("p",{className:"text-m opacity-60",children:"Parent wrapper must be set to relative."})})]}),C.jsx("hr",{}),C.jsx(vn,{label:"Disable Focusable Parent On Click",description:"A focusable parent is added on click by default, toggle this to turn it off.",htmlFor:"disable_focusable_parent",disabled:!e?.preferences?.is_clickable_parent,children:C.jsx(Ln,{onChange:({target:{checked:A}})=>d("disable_focusable_parent",A),checked:e?.preferences?.disable_focusable_parent,id:"disable_focusable_parent"})}),C.jsx("hr",{}),C.jsx(vn,{label:"Enable Screen Reader Only Class",description:"Use this class to hide an element visually without hiding it from screen readers.",htmlFor:"enable_sr_only",children:C.jsxs("div",{className:"row align-center gap-xl right-side-multiple",children:[C.jsx("input",{id:"sr_only_class",className:"preferences-right-side",type:"text",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,size:12,disabled:!e?.preferences?.enable_sr_only,value:e?.srOnlyClass||"",onChange:({target:{value:A}})=>{const g=/[^\w\d\-_.]/g,m=A.replace(g,"").replace(" ","-");r(v=>v&&{...v,srOnlyClass:m})},placeholder:"Eg. .expand-click"}),C.jsx(Ln,{onChange:({target:{checked:A}})=>d("enable_sr_only",A),checked:e?.preferences?.enable_sr_only,id:"enable_sr_only"})]})})]}),C.jsx(r0,{title:"Readability",children:C.jsx(vn,{label:"Add Group Comments",description:"Enable comments in the final stylesheet to identify and organize groups easily.",htmlFor:"is_add_group_comments",children:C.jsx(Ln,{onChange:({target:{checked:A}})=>d("is_add_group_comments",A),checked:e?.preferences?.is_add_group_comments,id:"is_add_group_comments"})})}),C.jsxs(r0,{title:"Plugin Preferences",children:[C.jsx(vn,{label:"Theme",description:"Choose a color theme for Core Framework editor.",htmlFor:"theme",children:C.jsx("div",{className:"input-wrapper",children:C.jsx(ra,{onChange:A=>{i(A),document.documentElement.dataset.colorMode=A==="dark"?"":A||""},value:n,data:["light","dark","gray"].map(A=>({value:A,label:d4(A)})),id:"theme",className:"preferences-right-side"})})}),C.jsx("hr",{}),C.jsx(vn,{label:"Uninstall",description:"Remove all data on uninstall, including core framework classes and colors from builders (can't be undone).",htmlFor:"delete_data",children:C.jsx(Ln,{onChange:()=>o({...t,delete_data:!t?.delete_data}),checked:!!t?.delete_data,color:t?.delete_data?"primary.3":"secondary",id:"delete_data"})})]}),C.jsxs(r0,{title:"White Labeling",children:[C.jsx(vn,{label:"Plugin name",description:"Change the name of the plugin.",htmlFor:"plugin_name",children:C.jsx("input",{id:"plugin_name",className:"preferences-right-side",type:"text",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,value:e?.pluginName||"",onChange:({target:{value:A}})=>{r(g=>g&&{...g,pluginName:A}),o({...t,plugin_name:A})},placeholder:"Eg. My Framework"})}),C.jsx("hr",{}),C.jsxs(vn,{label:"Plugin icon",description:"Change the icon of the plugin.",htmlFor:"plugin_icon",children:[C.jsx("input",{id:"plugin_icon",className:"preferences-right-side uploader",type:"file",accept:"image/svg+xml",size:12,onChange:A=>p(A,"pluginIcon")}),C.jsxs("div",{className:"uploader-wrapper",children:[C.jsxs("div",{onMouseEnter:()=>f(!0),onMouseLeave:()=>f(!1),children:[C.jsx("img",{src:e?.pluginIcon||Kee,alt:"Plugin icon preview",width:25}),u&&e?.pluginIcon&&C.jsx("span",{onClick:()=>{r(A=>A&&{...A,pluginIcon:""})},children:C.jsx(_s,{})})]}),C.jsx("label",{htmlFor:"plugin_icon",className:"uploader-label",children:l||"Choose an icon"})]})]}),C.jsx("hr",{}),C.jsx(vn,{label:"Plugin author",description:"Change the author of the plugin.",htmlFor:"plugin_author",children:C.jsx("input",{id:"plugin_author",className:"preferences-right-side",type:"text",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,value:e?.pluginAuthor||"",onChange:({target:{value:A}})=>{r(g=>g&&{...g,pluginAuthor:A})},placeholder:"Eg. Ilon Mask"})}),C.jsx("hr",{}),C.jsx(vn,{label:"Plugin description",description:"Change the description of the plugin.",htmlFor:"plugin_description",children:C.jsx("textarea",{id:"plugin_author",className:"preferences-right-side",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,rows:3,value:e?.pluginDescription||"",onChange:({target:{value:A}})=>{r(g=>g&&{...g,pluginDescription:A})},placeholder:"Eg. core of my project"})}),C.jsx("hr",{}),C.jsx(vn,{label:"Hide plugin",description:"Hide plugin completely from the WP menu.",htmlFor:"hide_plugin",children:C.jsx(Ln,{onChange:({target:{checked:A}})=>{r(g=>g&&{...g,hidePlugin:A})},checked:e?.hidePlugin,id:"hide_plugin"})})]}),C.jsx("div",{className:"subsection",children:C.jsxs("div",{className:"row space-between align-start bg-red radius gap-xs padding-xl",children:[C.jsxs("div",{className:"grid gap-xs",children:[C.jsx("h4",{children:"Reset to default"}),C.jsxs("div",{className:"grid gap-3xs",children:[C.jsx("p",{className:"text-m opacity-60",children:"This option restores all settings to their defaults and launches the onboarding wizard."}),C.jsx("p",{className:"text-xs opacity-40",children:"Warning: After saving you can't undo this action."})]})]}),C.jsx("button",{onClick:h,className:"btn-red btn-l",children:"Reset"})]})})]})});nRe.displayName="Preferences";const rer=E.memo(({value:t,height:e="100%"})=>{const r=tn(bee),i=(()=>{switch(r){case"light":return{background:"#e4e4e4",text:"#1a1a1a",cursor:"#000",selection:"rgba(0, 120, 215, 0.3)",gutterBg:"#d8d8d8",gutterBorder:"#c0c0c0",activeLineGutter:"#cccccc"};case"gray":return{background:"#252525",text:"#e0e0e0",cursor:"#fff",selection:"rgba(100, 150, 255, 0.3)",gutterBg:"#1a1a1a",gutterBorder:"#3a3a3a",activeLineGutter:"#2f2f2f"};case"dark":default:return{background:"#1b1e26",text:"#e0e0e0",cursor:"#fff",selection:"rgba(100, 150, 255, 0.3)",gutterBg:"#14161c",gutterBorder:"#2a2d35",activeLineGutter:"#22252d"}}})(),o=E.useMemo(()=>[LLe(),sr.editable.of(!1),sr.lineWrapping,sr.theme({"&":{fontSize:"12px",backgroundColor:i.background},".cm-content":{padding:"12px",fontFamily:'ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace',backgroundColor:i.background,color:i.text},".cm-content *":{fontFamily:'ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace'},".cm-line":{fontFamily:'ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace'},".cm-focused .cm-cursor":{borderLeftColor:i.cursor},".cm-gutters":{backgroundColor:i.gutterBg,borderRight:`1px solid ${i.gutterBorder}`,color:i.text},".cm-activeLineGutter":{backgroundColor:i.activeLineGutter},".cm-activeLine":{backgroundColor:"transparent"},".cm-selectionBackground":{backgroundColor:`${i.selection} !important`},".cm-selectionLayer":{pointerEvents:"none"},"& .cm-scroller":{position:"relative"},"& .cm-scroller .cm-selectionLayer":{zIndex:"auto !important"},"& .cm-scroller .cm-selectionLayer .cm-selectionBackground":{backgroundColor:`${i.selection} !important`}})],[i]);return C.jsx(Ote,{value:t,extensions:o,theme:r==="light"?"light":"dark",height:e,editable:!1,basicSetup:{lineNumbers:!0,foldGutter:!0,dropCursor:!1,allowMultipleSelections:!0,indentOnInput:!1,bracketMatching:!0,closeBrackets:!1,autocompletion:!1,rectangularSelection:!0,highlightSelectionMatches:!1,searchKeymap:!0}})});function ner(){const[t,e]=E.useState(null),[r,n]=E.useState(null),[i,o]=E.useState(null),[s,a]=E.useState(null),l=Xn(E.useCallback(b=>b(K_t),[])),c=Xn(E.useCallback(b=>b(xs),[])),u=Xn(E.useCallback(b=>b(eu),[])),f=Xn(E.useCallback(b=>b(ad),[])),d=Xn(E.useCallback(b=>b(wN),[])),p=Xn(E.useCallback(b=>b(Ix),[]));async function h(b){const{postcss:B,min_screen_width:S,max_screen_width:w,postcss_easing_gradients:x,postcss_hover_media:I,root_font_size:F,is_rem:k}=await c(),O=await u(),L=f().groups.some(({colors:M})=>M.some(({isDarkMode:H})=>H));return n(O),await HA({cssObjects:b,options:{format:!0,combineSelectors:!0,propertyValidation:!1,valueValidation:!1,classPrefix:O?.classPrefix,variablePrefix:O?.variablePrefix,minScreenWidth:w,maxScreenWidth:S,manualDarkMode:L,postcss:B,postcssEasingGradients:x,postcssHoverMedia:I,rootFontSize:F,isRem:k}})}const A=async()=>{const{root_font_size:b,prefers_reduced_motion:B}=await c(),S=await l(),x=(await d())?.modulesData?.FONTS?.fonts.reduce((M,H)=>H.enable&&H.cssPreview?[...M,H.cssPreview]:M,[]).join("");b===10&&S.push({selector:"html",declarations:[{property:"font-size",value:"62.5%",id:"1"}],id:"root-font-size"});let I=await h(S);B&&(I+=MLe),x&&(I=`${mMt(x).replace(/^\s*\n/gm,"")} ${I}`);const F=await p(),k=RLe(F);k.length>0&&(I+=` /* Custom Stylesheets */ `,I+=k.join(` `)),e(I);const O=_A(I),L=new Blob([O],{type:"text/css"});o(Jk(L?.size)),a(Jk(Tit(I).length))};function g(){if(!r){uo("No preset data to download");return}const b=_A(t??""),B=new Blob([b],{type:"text/css"});Zk(B,`${_ae(r?.name??"")}.css`)}function m(){if(r===null){uo("No preset data to download");return}const b=jO(r),B=L4e(JSON.stringify(b)),S=new Blob([B],{type:"text/plain"});Zk(S,`${_ae(b.name)}.${w3}`)}function v(){if(!t){uo("No CSS string to copy");return}sc(t??"")}function y(){if(!t){uo("No CSS string to copy");return}sc(_A(t??""))}return ym(()=>{setTimeout(()=>{A()},2)}),C.jsx("section",{className:"section",children:C.jsxs("div",{className:"subsection",children:[C.jsx("h1",{children:"Woohoo!"}),C.jsxs("div",{className:"generated-code-wrapper",children:[C.jsxs("header",{children:[C.jsxs("div",{children:[C.jsx("span",{className:"red"}),C.jsx("span",{className:"yellow"}),C.jsx("span",{className:"green"})]}),C.jsx("span",{className:"center",children:r?.name??""}),C.jsxs("span",{children:[i?C.jsx(Qr,{label:"Estimated size of the minified stylesheet",withArrow:!0,children:C.jsx("b",{children:i})}):null,s?C.jsxs(C.Fragment,{children:[" ","→"," ",C.jsx(Qr,{label:"Estimated size of the stylesheet after gzip compression",withArrow:!0,children:C.jsx("b",{style:{color:"var(--color-green)"},children:s})})]}):null]})]}),C.jsxs("div",{className:"code-buttons",children:[C.jsx("button",{className:zr(!r&&"disabled","btn-primary btn-s"),onClick:g,children:"Download CSS file"}),C.jsx("button",{className:zr(!r&&"disabled","btn-secondary btn-s"),onClick:m,children:"Export"}),C.jsx("button",{className:zr(!r&&"disabled","btn-secondary btn-s"),onClick:v,children:"Copy CSS"}),C.jsx("button",{className:zr(!r&&"disabled","btn-secondary btn-s"),onClick:y,children:"Copy Minified CSS"})]}),t?C.jsx("div",{className:"generated-code",children:C.jsx(rer,{value:t})}):t===""?C.jsx("div",{className:"code-container",children:C.jsx("h2",{className:"text-xl padding-xl",children:"No CSS declarations are present yet. Your classes and variables will be displayed here."})}):C.jsx("div",{className:"code-container",children:C.jsx(td,{})})]})]})})}/*! * html2canvas 1.4.1 <https://html2canvas.hertzen.com> * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com> * Released under MIT License *//*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */var aq=function(t,e){return aq=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},aq(t,e)};function cd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");aq(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var lq=function(){return lq=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},lq.apply(this,arguments)};function ll(t,e,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(u){try{c(n.next(u))}catch(f){s(f)}}function l(u){try{c(n.throw(u))}catch(f){s(f)}}function c(u){u.done?o(u.value):i(u.value).then(a,l)}c((n=n.apply(t,e||[])).next())})}function Ua(t,e){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(c){return function(u){return l([c,u])}}function l(c){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(o=c[0]&2?i.return:c[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,c[1])).done)return o;switch(i=0,o&&(c=[c[0]&2,o.value]),c[0]){case 0:case 1:o=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(o=r.trys,!(o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){r.label=c[1];break}if(c[0]===6&&r.label<o[1]){r.label=o[1],o=c;break}if(o&&r.label<o[2]){r.label=o[2],r.ops.push(c);break}o[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(u){c=[6,u],i=0}finally{n=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function iE(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,o;n<i;n++)(o||!(n in e))&&(o||(o=Array.prototype.slice.call(e,0,n)),o[n]=e[n]);return t.concat(o||e)}var vh=function(){function t(e,r,n,i){this.left=e,this.top=r,this.width=n,this.height=i}return t.prototype.add=function(e,r,n,i){return new t(this.left+e,this.top+r,this.width+n,this.height+i)},t.fromClientRect=function(e,r){return new t(r.left+e.windowBounds.left,r.top+e.windowBounds.top,r.width,r.height)},t.fromDOMRectList=function(e,r){var n=Array.from(r).find(function(i){return i.width!==0});return n?new t(n.left+e.windowBounds.left,n.top+e.windowBounds.top,n.width,n.height):t.EMPTY},t.EMPTY=new t(0,0,0,0),t}(),ZN=function(t,e){return vh.fromClientRect(t,e.getBoundingClientRect())},ier=function(t){var e=t.body,r=t.documentElement;if(!e||!r)throw new Error("Unable to get document size");var n=Math.max(Math.max(e.scrollWidth,r.scrollWidth),Math.max(e.offsetWidth,r.offsetWidth),Math.max(e.clientWidth,r.clientWidth)),i=Math.max(Math.max(e.scrollHeight,r.scrollHeight),Math.max(e.offsetHeight,r.offsetHeight),Math.max(e.clientHeight,r.clientHeight));return new vh(0,0,n,i)},eF=function(t){for(var e=[],r=0,n=t.length;r<n;){var i=t.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var o=t.charCodeAt(r++);(o&64512)===56320?e.push(((i&1023)<<10)+(o&1023)+65536):(e.push(i),r--)}else e.push(i)}return e},Zo=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var r=t.length;if(!r)return"";for(var n=[],i=-1,o="";++i<r;){var s=t[i];s<=65535?n.push(s):(s-=65536,n.push((s>>10)+55296,s%1024+56320)),(i+1===r||n.length>16384)&&(o+=String.fromCharCode.apply(String,n),n.length=0)}return o},U1e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",oer=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var oE=0;oE<U1e.length;oE++)oer[U1e.charCodeAt(oE)]=oE;var Q1e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Kw=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var sE=0;sE<Q1e.length;sE++)Kw[Q1e.charCodeAt(sE)]=sE;var ser=function(t){var e=t.length*.75,r=t.length,n,i=0,o,s,a,l;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);var c=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),u=Array.isArray(c)?c:new Uint8Array(c);for(n=0;n<r;n+=4)o=Kw[t.charCodeAt(n)],s=Kw[t.charCodeAt(n+1)],a=Kw[t.charCodeAt(n+2)],l=Kw[t.charCodeAt(n+3)],u[i++]=o<<2|s>>4,u[i++]=(s&15)<<4|a>>2,u[i++]=(a&3)<<6|l&63;return c},aer=function(t){for(var e=t.length,r=[],n=0;n<e;n+=2)r.push(t[n+1]<<8|t[n]);return r},ler=function(t){for(var e=t.length,r=[],n=0;n<e;n+=4)r.push(t[n+3]<<24|t[n+2]<<16|t[n+1]<<8|t[n]);return r},k1=5,Tte=6+5,NU=2,cer=Tte-k1,iRe=65536>>k1,uer=1<<k1,FU=uer-1,fer=1024>>k1,der=iRe+fer,per=der,Aer=32,her=per+Aer,mer=65536>>Tte,ger=1<<cer,ver=ger-1,V1e=function(t,e,r){return t.slice?t.slice(e,r):new Uint16Array(Array.prototype.slice.call(t,e,r))},yer=function(t,e,r){return t.slice?t.slice(e,r):new Uint32Array(Array.prototype.slice.call(t,e,r))},Ber=function(t,e){var r=ser(t),n=Array.isArray(r)?ler(r):new Uint32Array(r),i=Array.isArray(r)?aer(r):new Uint16Array(r),o=24,s=V1e(i,o/2,n[4]/2),a=n[5]===2?V1e(i,(o+n[4])/2):yer(n,Math.ceil((o+n[4])/4));return new Cer(n[0],n[1],n[2],n[3],s,a)},Cer=function(){function t(e,r,n,i,o,s){this.initialValue=e,this.errorValue=r,this.highStart=n,this.highValueIndex=i,this.index=o,this.data=s}return t.prototype.get=function(e){var r;if(e>=0){if(e<55296||e>56319&&e<=65535)return r=this.index[e>>k1],r=(r<<NU)+(e&FU),this.data[r];if(e<=65535)return r=this.index[iRe+(e-55296>>k1)],r=(r<<NU)+(e&FU),this.data[r];if(e<this.highStart)return r=her-mer+(e>>Tte),r=this.index[r],r+=e>>k1&ver,r=this.index[r],r=(r<<NU)+(e&FU),this.data[r];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t}(),$1e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ber=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var aE=0;aE<$1e.length;aE++)ber[$1e.charCodeAt(aE)]=aE;var wer="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCX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LAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLA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AwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL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0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAU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ABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwAN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AeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFc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FcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA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YAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAA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FAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAl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BXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",H1e=50,xer=1,oRe=2,sRe=3,Ser=4,Eer=5,G1e=7,aRe=8,W1e=9,j0=10,cq=11,z1e=12,uq=13,Der=14,qw=15,fq=16,lE=17,Bw=18,ker=19,K1e=20,dq=21,Cw=22,TU=23,Oy=24,Cc=25,Xw=26,Yw=27,Py=28,Oer=29,Hg=30,Per=31,cE=32,uE=33,pq=34,Aq=35,hq=36,x3=37,mq=38,zD=39,KD=40,LU=41,lRe=42,Ier=43,Ner=[9001,65288],cRe="!",$n="×",fE="÷",gq=Ber(wer),uA=[Hg,hq],vq=[xer,oRe,sRe,Eer],uRe=[j0,aRe],q1e=[Yw,Xw],Fer=vq.concat(uRe),X1e=[mq,zD,KD,pq,Aq],Ter=[qw,uq],Ler=function(t,e){e===void 0&&(e="strict");var r=[],n=[],i=[];return t.forEach(function(o,s){var a=gq.get(o);if(a>H1e?(i.push(!0),a-=H1e):i.push(!1),["normal","auto","loose"].indexOf(e)!==-1&&[8208,8211,12316,12448].indexOf(o)!==-1)return n.push(s),r.push(fq);if(a===Ser||a===cq){if(s===0)return n.push(s),r.push(Hg);var l=r[s-1];return Fer.indexOf(l)===-1?(n.push(n[s-1]),r.push(l)):(n.push(s),r.push(Hg))}if(n.push(s),a===Per)return r.push(e==="strict"?dq:x3);if(a===lRe||a===Oer)return r.push(Hg);if(a===Ier)return o>=131072&&o<=196605||o>=196608&&o<=262141?r.push(x3):r.push(Hg);r.push(a)}),[n,r,i]},RU=function(t,e,r,n){var i=n[r];if(Array.isArray(t)?t.indexOf(i)!==-1:t===i)for(var o=r;o<=n.length;){o++;var s=n[o];if(s===e)return!0;if(s!==j0)break}if(i===j0)for(var o=r;o>0;){o--;var a=n[o];if(Array.isArray(t)?t.indexOf(a)!==-1:t===a)for(var l=r;l<=n.length;){l++;var s=n[l];if(s===e)return!0;if(s!==j0)break}if(a!==j0)break}return!1},Y1e=function(t,e){for(var r=t;r>=0;){var n=e[r];if(n===j0)r--;else return n}return 0},Rer=function(t,e,r,n,i){if(r[n]===0)return $n;var o=n-1;if(Array.isArray(i)&&i[o]===!0)return $n;var s=o-1,a=o+1,l=e[o],c=s>=0?e[s]:0,u=e[a];if(l===oRe&&u===sRe)return $n;if(vq.indexOf(l)!==-1)return cRe;if(vq.indexOf(u)!==-1||uRe.indexOf(u)!==-1)return $n;if(Y1e(o,e)===aRe)return fE;if(gq.get(t[o])===cq||(l===cE||l===uE)&&gq.get(t[a])===cq||l===G1e||u===G1e||l===W1e||[j0,uq,qw].indexOf(l)===-1&&u===W1e||[lE,Bw,ker,Oy,Py].indexOf(u)!==-1||Y1e(o,e)===Cw||RU(TU,Cw,o,e)||RU([lE,Bw],dq,o,e)||RU(z1e,z1e,o,e))return $n;if(l===j0)return fE;if(l===TU||u===TU)return $n;if(u===fq||l===fq)return fE;if([uq,qw,dq].indexOf(u)!==-1||l===Der||c===hq&&Ter.indexOf(l)!==-1||l===Py&&u===hq||u===K1e||uA.indexOf(u)!==-1&&l===Cc||uA.indexOf(l)!==-1&&u===Cc||l===Yw&&[x3,cE,uE].indexOf(u)!==-1||[x3,cE,uE].indexOf(l)!==-1&&u===Xw||uA.indexOf(l)!==-1&&q1e.indexOf(u)!==-1||q1e.indexOf(l)!==-1&&uA.indexOf(u)!==-1||[Yw,Xw].indexOf(l)!==-1&&(u===Cc||[Cw,qw].indexOf(u)!==-1&&e[a+1]===Cc)||[Cw,qw].indexOf(l)!==-1&&u===Cc||l===Cc&&[Cc,Py,Oy].indexOf(u)!==-1)return $n;if([Cc,Py,Oy,lE,Bw].indexOf(u)!==-1)for(var f=o;f>=0;){var d=e[f];if(d===Cc)return $n;if([Py,Oy].indexOf(d)!==-1)f--;else break}if([Yw,Xw].indexOf(u)!==-1)for(var f=[lE,Bw].indexOf(l)!==-1?s:o;f>=0;){var d=e[f];if(d===Cc)return $n;if([Py,Oy].indexOf(d)!==-1)f--;else break}if(mq===l&&[mq,zD,pq,Aq].indexOf(u)!==-1||[zD,pq].indexOf(l)!==-1&&[zD,KD].indexOf(u)!==-1||[KD,Aq].indexOf(l)!==-1&&u===KD||X1e.indexOf(l)!==-1&&[K1e,Xw].indexOf(u)!==-1||X1e.indexOf(u)!==-1&&l===Yw||uA.indexOf(l)!==-1&&uA.indexOf(u)!==-1||l===Oy&&uA.indexOf(u)!==-1||uA.concat(Cc).indexOf(l)!==-1&&u===Cw&&Ner.indexOf(t[a])===-1||uA.concat(Cc).indexOf(u)!==-1&&l===Bw)return $n;if(l===LU&&u===LU){for(var p=r[o],h=1;p>0&&(p--,e[p]===LU);)h++;if(h%2!==0)return $n}return l===cE&&u===uE?$n:fE},Mer=function(t,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var r=Ler(t,e.lineBreak),n=r[0],i=r[1],o=r[2];(e.wordBreak==="break-all"||e.wordBreak==="break-word")&&(i=i.map(function(a){return[Cc,Hg,lRe].indexOf(a)!==-1?x3:a}));var s=e.wordBreak==="keep-all"?o.map(function(a,l){return a&&t[l]>=19968&&t[l]<=40959}):void 0;return[n,i,s]},_er=function(){function t(e,r,n,i){this.codePoints=e,this.required=r===cRe,this.start=n,this.end=i}return t.prototype.slice=function(){return Zo.apply(void 0,this.codePoints.slice(this.start,this.end))},t}(),jer=function(t,e){var r=eF(t),n=Mer(r,e),i=n[0],o=n[1],s=n[2],a=r.length,l=0,c=0;return{next:function(){if(c>=a)return{done:!0,value:null};for(var u=$n;c<a&&(u=Rer(r,o,i,++c,s))===$n;);if(u!==$n||c===a){var f=new _er(r,u,l,c);return l=c,{value:f,done:!1}}return{done:!0,value:null}}}},Uer=1,Qer=2,$x=4,J1e=8,AP=10,Z1e=47,j5=92,Ver=9,$er=32,dE=34,bw=61,Her=35,Ger=36,Wer=37,pE=39,AE=40,ww=41,zer=95,$l=45,Ker=33,qer=60,Xer=62,Yer=64,Jer=91,Zer=93,etr=61,ttr=123,hE=63,rtr=125,eve=124,ntr=126,itr=128,tve=65533,MU=42,d1=43,otr=44,str=58,atr=59,S3=46,ltr=0,ctr=8,utr=11,ftr=14,dtr=31,ptr=127,Dd=-1,fRe=48,dRe=97,pRe=101,Atr=102,htr=117,mtr=122,ARe=65,hRe=69,mRe=70,gtr=85,vtr=90,Va=function(t){return t>=fRe&&t<=57},ytr=function(t){return t>=55296&&t<=57343},Iy=function(t){return Va(t)||t>=ARe&&t<=mRe||t>=dRe&&t<=Atr},Btr=function(t){return t>=dRe&&t<=mtr},Ctr=function(t){return t>=ARe&&t<=vtr},btr=function(t){return Btr(t)||Ctr(t)},wtr=function(t){return t>=itr},mE=function(t){return t===AP||t===Ver||t===$er},hP=function(t){return btr(t)||wtr(t)||t===zer},rve=function(t){return hP(t)||Va(t)||t===$l},xtr=function(t){return t>=ltr&&t<=ctr||t===utr||t>=ftr&&t<=dtr||t===ptr},m0=function(t,e){return t!==j5?!1:e!==AP},gE=function(t,e,r){return t===$l?hP(e)||m0(e,r):hP(t)?!0:!!(t===j5&&m0(t,e))},_U=function(t,e,r){return t===d1||t===$l?Va(e)?!0:e===S3&&Va(r):Va(t===S3?e:t)},Str=function(t){var e=0,r=1;(t[e]===d1||t[e]===$l)&&(t[e]===$l&&(r=-1),e++);for(var n=[];Va(t[e]);)n.push(t[e++]);var i=n.length?parseInt(Zo.apply(void 0,n),10):0;t[e]===S3&&e++;for(var o=[];Va(t[e]);)o.push(t[e++]);var s=o.length,a=s?parseInt(Zo.apply(void 0,o),10):0;(t[e]===hRe||t[e]===pRe)&&e++;var l=1;(t[e]===d1||t[e]===$l)&&(t[e]===$l&&(l=-1),e++);for(var c=[];Va(t[e]);)c.push(t[e++]);var u=c.length?parseInt(Zo.apply(void 0,c),10):0;return r*(i+a*Math.pow(10,-s))*Math.pow(10,l*u)},Etr={type:2},Dtr={type:3},ktr={type:4},Otr={type:13},Ptr={type:8},Itr={type:21},Ntr={type:9},Ftr={type:10},Ttr={type:11},Ltr={type:12},Rtr={type:14},vE={type:23},Mtr={type:1},_tr={type:25},jtr={type:24},Utr={type:26},Qtr={type:27},Vtr={type:28},$tr={type:29},Htr={type:31},yq={type:32},gRe=function(){function t(){this._value=[]}return t.prototype.write=function(e){this._value=this._value.concat(eF(e))},t.prototype.read=function(){for(var e=[],r=this.consumeToken();r!==yq;)e.push(r),r=this.consumeToken();return e},t.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case dE:return this.consumeStringToken(dE);case Her:var r=this.peekCodePoint(0),n=this.peekCodePoint(1),i=this.peekCodePoint(2);if(rve(r)||m0(n,i)){var o=gE(r,n,i)?Qer:Uer,s=this.consumeName();return{type:5,value:s,flags:o}}break;case Ger:if(this.peekCodePoint(0)===bw)return this.consumeCodePoint(),Otr;break;case pE:return this.consumeStringToken(pE);case AE:return Etr;case ww:return Dtr;case MU:if(this.peekCodePoint(0)===bw)return this.consumeCodePoint(),Rtr;break;case d1:if(_U(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case otr:return ktr;case $l:var a=e,l=this.peekCodePoint(0),c=this.peekCodePoint(1);if(_U(a,l,c))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(gE(a,l,c))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(l===$l&&c===Xer)return this.consumeCodePoint(),this.consumeCodePoint(),jtr;break;case S3:if(_U(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case Z1e:if(this.peekCodePoint(0)===MU)for(this.consumeCodePoint();;){var u=this.consumeCodePoint();if(u===MU&&(u=this.consumeCodePoint(),u===Z1e))return this.consumeToken();if(u===Dd)return this.consumeToken()}break;case str:return Utr;case atr:return Qtr;case qer:if(this.peekCodePoint(0)===Ker&&this.peekCodePoint(1)===$l&&this.peekCodePoint(2)===$l)return this.consumeCodePoint(),this.consumeCodePoint(),_tr;break;case Yer:var f=this.peekCodePoint(0),d=this.peekCodePoint(1),p=this.peekCodePoint(2);if(gE(f,d,p)){var s=this.consumeName();return{type:7,value:s}}break;case Jer:return Vtr;case j5:if(m0(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case Zer:return $tr;case etr:if(this.peekCodePoint(0)===bw)return this.consumeCodePoint(),Ptr;break;case ttr:return Ttr;case rtr:return Ltr;case htr:case gtr:var h=this.peekCodePoint(0),A=this.peekCodePoint(1);return h===d1&&(Iy(A)||A===hE)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case eve:if(this.peekCodePoint(0)===bw)return this.consumeCodePoint(),Ntr;if(this.peekCodePoint(0)===eve)return this.consumeCodePoint(),Itr;break;case ntr:if(this.peekCodePoint(0)===bw)return this.consumeCodePoint(),Ftr;break;case Dd:return yq}return mE(e)?(this.consumeWhiteSpace(),Htr):Va(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):hP(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:Zo(e)}},t.prototype.consumeCodePoint=function(){var e=this._value.shift();return typeof e>"u"?-1:e},t.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},t.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},t.prototype.consumeUnicodeRangeToken=function(){for(var e=[],r=this.consumeCodePoint();Iy(r)&&e.length<6;)e.push(r),r=this.consumeCodePoint();for(var n=!1;r===hE&&e.length<6;)e.push(r),r=this.consumeCodePoint(),n=!0;if(n){var i=parseInt(Zo.apply(void 0,e.map(function(l){return l===hE?fRe:l})),16),o=parseInt(Zo.apply(void 0,e.map(function(l){return l===hE?mRe:l})),16);return{type:30,start:i,end:o}}var s=parseInt(Zo.apply(void 0,e),16);if(this.peekCodePoint(0)===$l&&Iy(this.peekCodePoint(1))){this.consumeCodePoint(),r=this.consumeCodePoint();for(var a=[];Iy(r)&&a.length<6;)a.push(r),r=this.consumeCodePoint();var o=parseInt(Zo.apply(void 0,a),16);return{type:30,start:s,end:o}}else return{type:30,start:s,end:s}},t.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return e.toLowerCase()==="url"&&this.peekCodePoint(0)===AE?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===AE?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},t.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Dd)return{type:22,value:""};var r=this.peekCodePoint(0);if(r===pE||r===dE){var n=this.consumeStringToken(this.consumeCodePoint());return n.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Dd||this.peekCodePoint(0)===ww)?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),vE)}for(;;){var i=this.consumeCodePoint();if(i===Dd||i===ww)return{type:22,value:Zo.apply(void 0,e)};if(mE(i))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Dd||this.peekCodePoint(0)===ww?(this.consumeCodePoint(),{type:22,value:Zo.apply(void 0,e)}):(this.consumeBadUrlRemnants(),vE);if(i===dE||i===pE||i===AE||xtr(i))return this.consumeBadUrlRemnants(),vE;if(i===j5)if(m0(i,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),vE;else e.push(i)}},t.prototype.consumeWhiteSpace=function(){for(;mE(this.peekCodePoint(0));)this.consumeCodePoint()},t.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===ww||e===Dd)return;m0(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},t.prototype.consumeStringSlice=function(e){for(var r=5e4,n="";e>0;){var i=Math.min(r,e);n+=Zo.apply(void 0,this._value.splice(0,i)),e-=i}return this._value.shift(),n},t.prototype.consumeStringToken=function(e){var r="",n=0;do{var i=this._value[n];if(i===Dd||i===void 0||i===e)return r+=this.consumeStringSlice(n),{type:0,value:r};if(i===AP)return this._value.splice(0,n),Mtr;if(i===j5){var o=this._value[n+1];o!==Dd&&o!==void 0&&(o===AP?(r+=this.consumeStringSlice(n),n=-1,this._value.shift()):m0(i,o)&&(r+=this.consumeStringSlice(n),r+=Zo(this.consumeEscapedCodePoint()),n=-1))}n++}while(!0)},t.prototype.consumeNumber=function(){var e=[],r=$x,n=this.peekCodePoint(0);for((n===d1||n===$l)&&e.push(this.consumeCodePoint());Va(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0);var i=this.peekCodePoint(1);if(n===S3&&Va(i))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),r=J1e;Va(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0),i=this.peekCodePoint(1);var o=this.peekCodePoint(2);if((n===hRe||n===pRe)&&((i===d1||i===$l)&&Va(o)||Va(i)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),r=J1e;Va(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[Str(e),r]},t.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),r=e[0],n=e[1],i=this.peekCodePoint(0),o=this.peekCodePoint(1),s=this.peekCodePoint(2);if(gE(i,o,s)){var a=this.consumeName();return{type:15,number:r,flags:n,unit:a}}return i===Wer?(this.consumeCodePoint(),{type:16,number:r,flags:n}):{type:17,number:r,flags:n}},t.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(Iy(e)){for(var r=Zo(e);Iy(this.peekCodePoint(0))&&r.length<6;)r+=Zo(this.consumeCodePoint());mE(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(r,16);return n===0||ytr(n)||n>1114111?tve:n}return e===Dd?tve:e},t.prototype.consumeName=function(){for(var e="";;){var r=this.consumeCodePoint();if(rve(r))e+=Zo(r);else if(m0(r,this.peekCodePoint(0)))e+=Zo(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(r),e}},t}(),vRe=function(){function t(e){this._tokens=e}return t.create=function(e){var r=new gRe;return r.write(e),new t(r.read())},t.parseValue=function(e){return t.create(e).parseComponentValue()},t.parseValues=function(e){return t.create(e).parseComponentValues()},t.prototype.parseComponentValue=function(){for(var e=this.consumeToken();e.type===31;)e=this.consumeToken();if(e.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var r=this.consumeComponentValue();do e=this.consumeToken();while(e.type===31);if(e.type===32)return r;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},t.prototype.parseComponentValues=function(){for(var e=[];;){var r=this.consumeComponentValue();if(r.type===32)return e;e.push(r),e.push()}},t.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},t.prototype.consumeSimpleBlock=function(e){for(var r={type:e,values:[]},n=this.consumeToken();;){if(n.type===32||Wtr(n,e))return r;this.reconsumeToken(n),r.values.push(this.consumeComponentValue()),n=this.consumeToken()}},t.prototype.consumeFunction=function(e){for(var r={name:e.value,values:[],type:18};;){var n=this.consumeToken();if(n.type===32||n.type===3)return r;this.reconsumeToken(n),r.values.push(this.consumeComponentValue())}},t.prototype.consumeToken=function(){var e=this._tokens.shift();return typeof e>"u"?yq:e},t.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},t}(),Hx=function(t){return t.type===15},XC=function(t){return t.type===17},Mi=function(t){return t.type===20},Gtr=function(t){return t.type===0},Bq=function(t,e){return Mi(t)&&t.value===e},yRe=function(t){return t.type!==31},iC=function(t){return t.type!==31&&t.type!==4},Up=function(t){var e=[],r=[];return t.forEach(function(n){if(n.type===4){if(r.length===0)throw new Error("Error parsing function args, zero tokens for arg");e.push(r),r=[];return}n.type!==31&&r.push(n)}),r.length&&e.push(r),e},Wtr=function(t,e){return e===11&&t.type===12||e===28&&t.type===29?!0:e===2&&t.type===3},Nm=function(t){return t.type===17||t.type===15},vs=function(t){return t.type===16||Nm(t)},BRe=function(t){return t.length>1?[t[0],t[1]]:[t[0]]},ga={type:17,number:0,flags:$x},Lte={type:16,number:50,flags:$x},U0={type:16,number:100,flags:$x},Jw=function(t,e,r){var n=t[0],i=t[1];return[Yi(n,e),Yi(typeof i<"u"?i:n,r)]},Yi=function(t,e){if(t.type===16)return t.number/100*e;if(Hx(t))switch(t.unit){case"rem":case"em":return 16*t.number;case"px":default:return t.number}return t.number},CRe="deg",bRe="grad",wRe="rad",xRe="turn",tF={name:"angle",parse:function(t,e){if(e.type===15)switch(e.unit){case CRe:return Math.PI*e.number/180;case bRe:return Math.PI/200*e.number;case wRe:return e.number;case xRe:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}},SRe=function(t){return t.type===15&&(t.unit===CRe||t.unit===bRe||t.unit===wRe||t.unit===xRe)},ERe=function(t){var e=t.filter(Mi).map(function(r){return r.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[ga,ga];case"to top":case"bottom":return Iu(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[ga,U0];case"to right":case"left":return Iu(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[U0,U0];case"to bottom":case"top":return Iu(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[U0,ga];case"to left":case"right":return Iu(270)}return 0},Iu=function(t){return Math.PI*t/180},um={name:"color",parse:function(t,e){if(e.type===18){var r=ztr[e.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return r(t,e.values)}if(e.type===5){if(e.value.length===3){var n=e.value.substring(0,1),i=e.value.substring(1,2),o=e.value.substring(2,3);return Q0(parseInt(n+n,16),parseInt(i+i,16),parseInt(o+o,16),1)}if(e.value.length===4){var n=e.value.substring(0,1),i=e.value.substring(1,2),o=e.value.substring(2,3),s=e.value.substring(3,4);return Q0(parseInt(n+n,16),parseInt(i+i,16),parseInt(o+o,16),parseInt(s+s,16)/255)}if(e.value.length===6){var n=e.value.substring(0,2),i=e.value.substring(2,4),o=e.value.substring(4,6);return Q0(parseInt(n,16),parseInt(i,16),parseInt(o,16),1)}if(e.value.length===8){var n=e.value.substring(0,2),i=e.value.substring(2,4),o=e.value.substring(4,6),s=e.value.substring(6,8);return Q0(parseInt(n,16),parseInt(i,16),parseInt(o,16),parseInt(s,16)/255)}}if(e.type===20){var a=zA[e.value.toUpperCase()];if(typeof a<"u")return a}return zA.TRANSPARENT}},fm=function(t){return(255&t)===0},Gs=function(t){var e=255&t,r=255&t>>8,n=255&t>>16,i=255&t>>24;return e<255?"rgba("+i+","+n+","+r+","+e/255+")":"rgb("+i+","+n+","+r+")"},Q0=function(t,e,r,n){return(t<<24|e<<16|r<<8|Math.round(n*255)<<0)>>>0},nve=function(t,e){if(t.type===17)return t.number;if(t.type===16){var r=e===3?1:255;return e===3?t.number/100*r:Math.round(t.number/100*r)}return 0},ive=function(t,e){var r=e.filter(iC);if(r.length===3){var n=r.map(nve),i=n[0],o=n[1],s=n[2];return Q0(i,o,s,1)}if(r.length===4){var a=r.map(nve),i=a[0],o=a[1],s=a[2],l=a[3];return Q0(i,o,s,l)}return 0};function jU(t,e,r){return r<0&&(r+=1),r>=1&&(r-=1),r<1/6?(e-t)*r*6+t:r<1/2?e:r<2/3?(e-t)*6*(2/3-r)+t:t}var ove=function(t,e){var r=e.filter(iC),n=r[0],i=r[1],o=r[2],s=r[3],a=(n.type===17?Iu(n.number):tF.parse(t,n))/(Math.PI*2),l=vs(i)?i.number/100:0,c=vs(o)?o.number/100:0,u=typeof s<"u"&&vs(s)?Yi(s,1):1;if(l===0)return Q0(c*255,c*255,c*255,1);var f=c<=.5?c*(l+1):c+l-c*l,d=c*2-f,p=jU(d,f,a+1/3),h=jU(d,f,a),A=jU(d,f,a-1/3);return Q0(p*255,h*255,A*255,u)},ztr={hsl:ove,hsla:ove,rgb:ive,rgba:ive},U5=function(t,e){return um.parse(t,vRe.create(e).parseComponentValue())},zA={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},Ktr={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(t,e){return e.map(function(r){if(Mi(r))switch(r.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},qtr={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},rF=function(t,e){var r=um.parse(t,e[0]),n=e[1];return n&&vs(n)?{color:r,stop:n}:{color:r,stop:null}},sve=function(t,e){var r=t[0],n=t[t.length-1];r.stop===null&&(r.stop=ga),n.stop===null&&(n.stop=U0);for(var i=[],o=0,s=0;s<t.length;s++){var a=t[s].stop;if(a!==null){var l=Yi(a,e);l>o?i.push(l):i.push(o),o=l}else i.push(null)}for(var c=null,s=0;s<i.length;s++){var u=i[s];if(u===null)c===null&&(c=s);else if(c!==null){for(var f=s-c,d=i[c-1],p=(u-d)/(f+1),h=1;h<=f;h++)i[c+h-1]=p*h;c=null}}return t.map(function(A,g){var m=A.color;return{color:m,stop:Math.max(Math.min(1,i[g]/e),0)}})},Xtr=function(t,e,r){var n=e/2,i=r/2,o=Yi(t[0],e)-n,s=i-Yi(t[1],r);return(Math.atan2(s,o)+Math.PI*2)%(Math.PI*2)},Ytr=function(t,e,r){var n=typeof t=="number"?t:Xtr(t,e,r),i=Math.abs(e*Math.sin(n))+Math.abs(r*Math.cos(n)),o=e/2,s=r/2,a=i/2,l=Math.sin(n-Math.PI/2)*a,c=Math.cos(n-Math.PI/2)*a;return[i,o-c,o+c,s-l,s+l]},pf=function(t,e){return Math.sqrt(t*t+e*e)},ave=function(t,e,r,n,i){var o=[[0,0],[0,e],[t,0],[t,e]];return o.reduce(function(s,a){var l=a[0],c=a[1],u=pf(r-l,n-c);return(i?u<s.optimumDistance:u>s.optimumDistance)?{optimumCorner:a,optimumDistance:u}:s},{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},Jtr=function(t,e,r,n,i){var o=0,s=0;switch(t.size){case 0:t.shape===0?o=s=Math.min(Math.abs(e),Math.abs(e-n),Math.abs(r),Math.abs(r-i)):t.shape===1&&(o=Math.min(Math.abs(e),Math.abs(e-n)),s=Math.min(Math.abs(r),Math.abs(r-i)));break;case 2:if(t.shape===0)o=s=Math.min(pf(e,r),pf(e,r-i),pf(e-n,r),pf(e-n,r-i));else if(t.shape===1){var a=Math.min(Math.abs(r),Math.abs(r-i))/Math.min(Math.abs(e),Math.abs(e-n)),l=ave(n,i,e,r,!0),c=l[0],u=l[1];o=pf(c-e,(u-r)/a),s=a*o}break;case 1:t.shape===0?o=s=Math.max(Math.abs(e),Math.abs(e-n),Math.abs(r),Math.abs(r-i)):t.shape===1&&(o=Math.max(Math.abs(e),Math.abs(e-n)),s=Math.max(Math.abs(r),Math.abs(r-i)));break;case 3:if(t.shape===0)o=s=Math.max(pf(e,r),pf(e,r-i),pf(e-n,r),pf(e-n,r-i));else if(t.shape===1){var a=Math.max(Math.abs(r),Math.abs(r-i))/Math.max(Math.abs(e),Math.abs(e-n)),f=ave(n,i,e,r,!1),c=f[0],u=f[1];o=pf(c-e,(u-r)/a),s=a*o}break}return Array.isArray(t.size)&&(o=Yi(t.size[0],n),s=t.size.length===2?Yi(t.size[1],i):o),[o,s]},Ztr=function(t,e){var r=Iu(180),n=[];return Up(e).forEach(function(i,o){if(o===0){var s=i[0];if(s.type===20&&s.value==="to"){r=ERe(i);return}else if(SRe(s)){r=tF.parse(t,s);return}}var a=rF(t,i);n.push(a)}),{angle:r,stops:n,type:1}},yE=function(t,e){var r=Iu(180),n=[];return Up(e).forEach(function(i,o){if(o===0){var s=i[0];if(s.type===20&&["top","left","right","bottom"].indexOf(s.value)!==-1){r=ERe(i);return}else if(SRe(s)){r=(tF.parse(t,s)+Iu(270))%Iu(360);return}}var a=rF(t,i);n.push(a)}),{angle:r,stops:n,type:1}},err=function(t,e){var r=Iu(180),n=[],i=1,o=0,s=3,a=[];return Up(e).forEach(function(l,c){var u=l[0];if(c===0){if(Mi(u)&&u.value==="linear"){i=1;return}else if(Mi(u)&&u.value==="radial"){i=2;return}}if(u.type===18){if(u.name==="from"){var f=um.parse(t,u.values[0]);n.push({stop:ga,color:f})}else if(u.name==="to"){var f=um.parse(t,u.values[0]);n.push({stop:U0,color:f})}else if(u.name==="color-stop"){var d=u.values.filter(iC);if(d.length===2){var f=um.parse(t,d[1]),p=d[0];XC(p)&&n.push({stop:{type:16,number:p.number*100,flags:p.flags},color:f})}}}}),i===1?{angle:(r+Iu(180))%Iu(360),stops:n,type:i}:{size:s,shape:o,stops:n,position:a,type:i}},DRe="closest-side",kRe="farthest-side",ORe="closest-corner",PRe="farthest-corner",IRe="circle",NRe="ellipse",FRe="cover",TRe="contain",trr=function(t,e){var r=0,n=3,i=[],o=[];return Up(e).forEach(function(s,a){var l=!0;if(a===0){var c=!1;l=s.reduce(function(f,d){if(c)if(Mi(d))switch(d.value){case"center":return o.push(Lte),f;case"top":case"left":return o.push(ga),f;case"right":case"bottom":return o.push(U0),f}else(vs(d)||Nm(d))&&o.push(d);else if(Mi(d))switch(d.value){case IRe:return r=0,!1;case NRe:return r=1,!1;case"at":return c=!0,!1;case DRe:return n=0,!1;case FRe:case kRe:return n=1,!1;case TRe:case ORe:return n=2,!1;case PRe:return n=3,!1}else if(Nm(d)||vs(d))return Array.isArray(n)||(n=[]),n.push(d),!1;return f},l)}if(l){var u=rF(t,s);i.push(u)}}),{size:n,shape:r,stops:i,position:o,type:2}},BE=function(t,e){var r=0,n=3,i=[],o=[];return Up(e).forEach(function(s,a){var l=!0;if(a===0?l=s.reduce(function(u,f){if(Mi(f))switch(f.value){case"center":return o.push(Lte),!1;case"top":case"left":return o.push(ga),!1;case"right":case"bottom":return o.push(U0),!1}else if(vs(f)||Nm(f))return o.push(f),!1;return u},l):a===1&&(l=s.reduce(function(u,f){if(Mi(f))switch(f.value){case IRe:return r=0,!1;case NRe:return r=1,!1;case TRe:case DRe:return n=0,!1;case kRe:return n=1,!1;case ORe:return n=2,!1;case FRe:case PRe:return n=3,!1}else if(Nm(f)||vs(f))return Array.isArray(n)||(n=[]),n.push(f),!1;return u},l)),l){var c=rF(t,s);i.push(c)}}),{size:n,shape:r,stops:i,position:o,type:2}},rrr=function(t){return t.type===1},nrr=function(t){return t.type===2},Rte={name:"image",parse:function(t,e){if(e.type===22){var r={url:e.value,type:0};return t.cache.addImage(e.value),r}if(e.type===18){var n=LRe[e.name];if(typeof n>"u")throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return n(t,e.values)}throw new Error("Unsupported image type "+e.type)}};function irr(t){return!(t.type===20&&t.value==="none")&&(t.type!==18||!!LRe[t.name])}var LRe={"linear-gradient":Ztr,"-moz-linear-gradient":yE,"-ms-linear-gradient":yE,"-o-linear-gradient":yE,"-webkit-linear-gradient":yE,"radial-gradient":trr,"-moz-radial-gradient":BE,"-ms-radial-gradient":BE,"-o-radial-gradient":BE,"-webkit-radial-gradient":BE,"-webkit-gradient":err},orr={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(t,e){if(e.length===0)return[];var r=e[0];return r.type===20&&r.value==="none"?[]:e.filter(function(n){return iC(n)&&irr(n)}).map(function(n){return Rte.parse(t,n)})}},srr={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(t,e){return e.map(function(r){if(Mi(r))switch(r.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},arr={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(t,e){return Up(e).map(function(r){return r.filter(vs)}).map(BRe)}},lrr={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(t,e){return Up(e).map(function(r){return r.filter(Mi).map(function(n){return n.value}).join(" ")}).map(crr)}},crr=function(t){switch(t){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},q2;(function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"})(q2||(q2={}));var urr={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(t,e){return Up(e).map(function(r){return r.filter(frr)})}},frr=function(t){return Mi(t)||vs(t)},nF=function(t){return{name:"border-"+t+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},drr=nF("top"),prr=nF("right"),Arr=nF("bottom"),hrr=nF("left"),iF=function(t){return{name:"border-radius-"+t,initialValue:"0 0",prefix:!1,type:1,parse:function(e,r){return BRe(r.filter(vs))}}},mrr=iF("top-left"),grr=iF("top-right"),vrr=iF("bottom-right"),yrr=iF("bottom-left"),oF=function(t){return{name:"border-"+t+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,r){switch(r){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Brr=oF("top"),Crr=oF("right"),brr=oF("bottom"),wrr=oF("left"),sF=function(t){return{name:"border-"+t+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,r){return Hx(r)?r.number:0}}},xrr=sF("top"),Srr=sF("right"),Err=sF("bottom"),Drr=sF("left"),krr={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Orr={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(t,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},Prr={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(t,e){return e.filter(Mi).reduce(function(r,n){return r|Irr(n.value)},0)}},Irr=function(t){switch(t){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Nrr={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Frr={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(t,e){return e.type===20&&e.value==="normal"?0:e.type===17||e.type===15?e.number:0}},mP;(function(t){t.NORMAL="normal",t.STRICT="strict"})(mP||(mP={}));var Trr={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"strict":return mP.STRICT;case"normal":default:return mP.NORMAL}}},Lrr={name:"line-height",initialValue:"normal",prefix:!1,type:4},lve=function(t,e){return Mi(t)&&t.value==="normal"?1.2*e:t.type===17?e*t.number:vs(t)?Yi(t,e):e},Rrr={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(t,e){return e.type===20&&e.value==="none"?null:Rte.parse(t,e)}},Mrr={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(t,e){switch(e){case"inside":return 0;case"outside":default:return 1}}},Cq={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},aF=function(t){return{name:"margin-"+t,initialValue:"0",prefix:!1,type:4}},_rr=aF("top"),jrr=aF("right"),Urr=aF("bottom"),Qrr=aF("left"),Vrr={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(t,e){return e.filter(Mi).map(function(r){switch(r.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},$rr={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"break-word":return"break-word";case"normal":default:return"normal"}}},lF=function(t){return{name:"padding-"+t,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Hrr=lF("top"),Grr=lF("right"),Wrr=lF("bottom"),zrr=lF("left"),Krr={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(t,e){switch(e){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},qrr={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(t,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Xrr={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(t,e){return e.length===1&&Bq(e[0],"none")?[]:Up(e).map(function(r){for(var n={color:zA.TRANSPARENT,offsetX:ga,offsetY:ga,blur:ga},i=0,o=0;o<r.length;o++){var s=r[o];Nm(s)?(i===0?n.offsetX=s:i===1?n.offsetY=s:n.blur=s,i++):n.color=um.parse(t,s)}return n})}},Yrr={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Jrr={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(t,e){if(e.type===20&&e.value==="none")return null;if(e.type===18){var r=tnr[e.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return r(e.values)}return null}},Zrr=function(t){var e=t.filter(function(r){return r.type===17}).map(function(r){return r.number});return e.length===6?e:null},enr=function(t){var e=t.filter(function(l){return l.type===17}).map(function(l){return l.number}),r=e[0],n=e[1];e[2],e[3];var i=e[4],o=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var s=e[12],a=e[13];return e[14],e[15],e.length===16?[r,n,i,o,s,a]:null},tnr={matrix:Zrr,matrix3d:enr},cve={type:16,number:50,flags:$x},rnr=[cve,cve],nnr={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(t,e){var r=e.filter(vs);return r.length!==2?rnr:[r[0],r[1]]}},inr={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},Q5;(function(t){t.NORMAL="normal",t.BREAK_ALL="break-all",t.KEEP_ALL="keep-all"})(Q5||(Q5={}));var onr={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"break-all":return Q5.BREAK_ALL;case"keep-all":return Q5.KEEP_ALL;case"normal":default:return Q5.NORMAL}}},snr={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(t,e){if(e.type===20)return{auto:!0,order:0};if(XC(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},RRe={name:"time",parse:function(t,e){if(e.type===15)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},anr={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(t,e){return XC(e)?e.number:1}},lnr={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},cnr={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(t,e){return e.filter(Mi).map(function(r){switch(r.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(r){return r!==0})}},unr={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(t,e){var r=[],n=[];return e.forEach(function(i){switch(i.type){case 20:case 0:r.push(i.value);break;case 17:r.push(i.number.toString());break;case 4:n.push(r.join(" ")),r.length=0;break}}),r.length&&n.push(r.join(" ")),n.map(function(i){return i.indexOf(" ")===-1?i:"'"+i+"'"})}},fnr={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},dnr={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(t,e){if(XC(e))return e.number;if(Mi(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},pnr={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(t,e){return e.filter(Mi).map(function(r){return r.value})}},Anr={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},Ts=function(t,e){return(t&e)!==0},hnr={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(t,e){if(e.length===0)return[];var r=e[0];return r.type===20&&r.value==="none"?[]:e}},mnr={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(t,e){if(e.length===0)return null;var r=e[0];if(r.type===20&&r.value==="none")return null;for(var n=[],i=e.filter(yRe),o=0;o<i.length;o++){var s=i[o],a=i[o+1];if(s.type===20){var l=a&&XC(a)?a.number:1;n.push({counter:s.value,increment:l})}}return n}},gnr={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(t,e){if(e.length===0)return[];for(var r=[],n=e.filter(yRe),i=0;i<n.length;i++){var o=n[i],s=n[i+1];if(Mi(o)&&o.value!=="none"){var a=s&&XC(s)?s.number:0;r.push({counter:o.value,reset:a})}}return r}},vnr={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(t,e){return e.filter(Hx).map(function(r){return RRe.parse(t,r)})}},ynr={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(t,e){if(e.length===0)return null;var r=e[0];if(r.type===20&&r.value==="none")return null;var n=[],i=e.filter(Gtr);if(i.length%2!==0)return null;for(var o=0;o<i.length;o+=2){var s=i[o].value,a=i[o+1].value;n.push({open:s,close:a})}return n}},uve=function(t,e,r){if(!t)return"";var n=t[Math.min(e,t.length-1)];return n?r?n.open:n.close:""},Bnr={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(t,e){return e.length===1&&Bq(e[0],"none")?[]:Up(e).map(function(r){for(var n={color:255,offsetX:ga,offsetY:ga,blur:ga,spread:ga,inset:!1},i=0,o=0;o<r.length;o++){var s=r[o];Bq(s,"inset")?n.inset=!0:Nm(s)?(i===0?n.offsetX=s:i===1?n.offsetY=s:i===2?n.blur=s:n.spread=s,i++):n.color=um.parse(t,s)}return n})}},Cnr={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(t,e){var r=[0,1,2],n=[];return e.filter(Mi).forEach(function(i){switch(i.value){case"stroke":n.push(1);break;case"fill":n.push(0);break;case"markers":n.push(2);break}}),r.forEach(function(i){n.indexOf(i)===-1&&n.push(i)}),n}},bnr={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},wnr={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(t,e){return Hx(e)?e.number:0}},xnr=function(){function t(e,r){var n,i;this.animationDuration=Br(e,vnr,r.animationDuration),this.backgroundClip=Br(e,Ktr,r.backgroundClip),this.backgroundColor=Br(e,qtr,r.backgroundColor),this.backgroundImage=Br(e,orr,r.backgroundImage),this.backgroundOrigin=Br(e,srr,r.backgroundOrigin),this.backgroundPosition=Br(e,arr,r.backgroundPosition),this.backgroundRepeat=Br(e,lrr,r.backgroundRepeat),this.backgroundSize=Br(e,urr,r.backgroundSize),this.borderTopColor=Br(e,drr,r.borderTopColor),this.borderRightColor=Br(e,prr,r.borderRightColor),this.borderBottomColor=Br(e,Arr,r.borderBottomColor),this.borderLeftColor=Br(e,hrr,r.borderLeftColor),this.borderTopLeftRadius=Br(e,mrr,r.borderTopLeftRadius),this.borderTopRightRadius=Br(e,grr,r.borderTopRightRadius),this.borderBottomRightRadius=Br(e,vrr,r.borderBottomRightRadius),this.borderBottomLeftRadius=Br(e,yrr,r.borderBottomLeftRadius),this.borderTopStyle=Br(e,Brr,r.borderTopStyle),this.borderRightStyle=Br(e,Crr,r.borderRightStyle),this.borderBottomStyle=Br(e,brr,r.borderBottomStyle),this.borderLeftStyle=Br(e,wrr,r.borderLeftStyle),this.borderTopWidth=Br(e,xrr,r.borderTopWidth),this.borderRightWidth=Br(e,Srr,r.borderRightWidth),this.borderBottomWidth=Br(e,Err,r.borderBottomWidth),this.borderLeftWidth=Br(e,Drr,r.borderLeftWidth),this.boxShadow=Br(e,Bnr,r.boxShadow),this.color=Br(e,krr,r.color),this.direction=Br(e,Orr,r.direction),this.display=Br(e,Prr,r.display),this.float=Br(e,Nrr,r.cssFloat),this.fontFamily=Br(e,unr,r.fontFamily),this.fontSize=Br(e,fnr,r.fontSize),this.fontStyle=Br(e,Anr,r.fontStyle),this.fontVariant=Br(e,pnr,r.fontVariant),this.fontWeight=Br(e,dnr,r.fontWeight),this.letterSpacing=Br(e,Frr,r.letterSpacing),this.lineBreak=Br(e,Trr,r.lineBreak),this.lineHeight=Br(e,Lrr,r.lineHeight),this.listStyleImage=Br(e,Rrr,r.listStyleImage),this.listStylePosition=Br(e,Mrr,r.listStylePosition),this.listStyleType=Br(e,Cq,r.listStyleType),this.marginTop=Br(e,_rr,r.marginTop),this.marginRight=Br(e,jrr,r.marginRight),this.marginBottom=Br(e,Urr,r.marginBottom),this.marginLeft=Br(e,Qrr,r.marginLeft),this.opacity=Br(e,anr,r.opacity);var o=Br(e,Vrr,r.overflow);this.overflowX=o[0],this.overflowY=o[o.length>1?1:0],this.overflowWrap=Br(e,$rr,r.overflowWrap),this.paddingTop=Br(e,Hrr,r.paddingTop),this.paddingRight=Br(e,Grr,r.paddingRight),this.paddingBottom=Br(e,Wrr,r.paddingBottom),this.paddingLeft=Br(e,zrr,r.paddingLeft),this.paintOrder=Br(e,Cnr,r.paintOrder),this.position=Br(e,qrr,r.position),this.textAlign=Br(e,Krr,r.textAlign),this.textDecorationColor=Br(e,lnr,(n=r.textDecorationColor)!==null&&n!==void 0?n:r.color),this.textDecorationLine=Br(e,cnr,(i=r.textDecorationLine)!==null&&i!==void 0?i:r.textDecoration),this.textShadow=Br(e,Xrr,r.textShadow),this.textTransform=Br(e,Yrr,r.textTransform),this.transform=Br(e,Jrr,r.transform),this.transformOrigin=Br(e,nnr,r.transformOrigin),this.visibility=Br(e,inr,r.visibility),this.webkitTextStrokeColor=Br(e,bnr,r.webkitTextStrokeColor),this.webkitTextStrokeWidth=Br(e,wnr,r.webkitTextStrokeWidth),this.wordBreak=Br(e,onr,r.wordBreak),this.zIndex=Br(e,snr,r.zIndex)}return t.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},t.prototype.isTransparent=function(){return fm(this.backgroundColor)},t.prototype.isTransformed=function(){return this.transform!==null},t.prototype.isPositioned=function(){return this.position!==0},t.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},t.prototype.isFloating=function(){return this.float!==0},t.prototype.isInlineLevel=function(){return Ts(this.display,4)||Ts(this.display,33554432)||Ts(this.display,268435456)||Ts(this.display,536870912)||Ts(this.display,67108864)||Ts(this.display,134217728)},t}(),Snr=function(){function t(e,r){this.content=Br(e,hnr,r.content),this.quotes=Br(e,ynr,r.quotes)}return t}(),fve=function(){function t(e,r){this.counterIncrement=Br(e,mnr,r.counterIncrement),this.counterReset=Br(e,gnr,r.counterReset)}return t}(),Br=function(t,e,r){var n=new gRe,i=r!==null&&typeof r<"u"?r.toString():e.initialValue;n.write(i);var o=new vRe(n.read());switch(e.type){case 2:var s=o.parseComponentValue();return e.parse(t,Mi(s)?s.value:e.initialValue);case 0:return e.parse(t,o.parseComponentValue());case 1:return e.parse(t,o.parseComponentValues());case 4:return o.parseComponentValue();case 3:switch(e.format){case"angle":return tF.parse(t,o.parseComponentValue());case"color":return um.parse(t,o.parseComponentValue());case"image":return Rte.parse(t,o.parseComponentValue());case"length":var a=o.parseComponentValue();return Nm(a)?a:ga;case"length-percentage":var l=o.parseComponentValue();return vs(l)?l:ga;case"time":return RRe.parse(t,o.parseComponentValue())}break}},Enr="data-html2canvas-debug",Dnr=function(t){var e=t.getAttribute(Enr);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},bq=function(t,e){var r=Dnr(t);return r===1||e===r},Qp=function(){function t(e,r){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,bq(r,3))debugger;this.styles=new xnr(e,window.getComputedStyle(r,null)),Sq(r)&&(this.styles.animationDuration.some(function(n){return n>0})&&(r.style.animationDuration="0s"),this.styles.transform!==null&&(r.style.transform="none")),this.bounds=ZN(this.context,r),bq(r,4)&&(this.flags|=16)}return t}(),knr="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFN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ACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVA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EIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(e):new Array(e),u=Array.isArray(c)?c:new Uint8Array(c);for(n=0;n<r;n+=4)o=Zw[t.charCodeAt(n)],s=Zw[t.charCodeAt(n+1)],a=Zw[t.charCodeAt(n+2)],l=Zw[t.charCodeAt(n+3)],u[i++]=o<<2|s>>4,u[i++]=(s&15)<<4|a>>2,u[i++]=(a&3)<<6|l&63;return c},Pnr=function(t){for(var e=t.length,r=[],n=0;n<e;n+=2)r.push(t[n+1]<<8|t[n]);return r},Inr=function(t){for(var e=t.length,r=[],n=0;n<e;n+=4)r.push(t[n+3]<<24|t[n+2]<<16|t[n+1]<<8|t[n]);return r},O1=5,Mte=6+5,UU=2,Nnr=Mte-O1,MRe=65536>>O1,Fnr=1<<O1,QU=Fnr-1,Tnr=1024>>O1,Lnr=MRe+Tnr,Rnr=Lnr,Mnr=32,_nr=Rnr+Mnr,jnr=65536>>Mte,Unr=1<<Nnr,Qnr=Unr-1,pve=function(t,e,r){return t.slice?t.slice(e,r):new Uint16Array(Array.prototype.slice.call(t,e,r))},Vnr=function(t,e,r){return t.slice?t.slice(e,r):new Uint32Array(Array.prototype.slice.call(t,e,r))},$nr=function(t,e){var r=Onr(t),n=Array.isArray(r)?Inr(r):new Uint32Array(r),i=Array.isArray(r)?Pnr(r):new Uint16Array(r),o=24,s=pve(i,o/2,n[4]/2),a=n[5]===2?pve(i,(o+n[4])/2):Vnr(n,Math.ceil((o+n[4])/4));return new Hnr(n[0],n[1],n[2],n[3],s,a)},Hnr=function(){function t(e,r,n,i,o,s){this.initialValue=e,this.errorValue=r,this.highStart=n,this.highValueIndex=i,this.index=o,this.data=s}return t.prototype.get=function(e){var r;if(e>=0){if(e<55296||e>56319&&e<=65535)return r=this.index[e>>O1],r=(r<<UU)+(e&QU),this.data[r];if(e<=65535)return r=this.index[MRe+(e-55296>>O1)],r=(r<<UU)+(e&QU),this.data[r];if(e<this.highStart)return r=_nr-jnr+(e>>Mte),r=this.index[r],r+=e>>O1&Qnr,r=this.index[r],r=(r<<UU)+(e&QU),this.data[r];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t}(),Ave="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Gnr=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var bE=0;bE<Ave.length;bE++)Gnr[Ave.charCodeAt(bE)]=bE;var Wnr=1,VU=2,$U=3,hve=4,mve=5,znr=7,gve=8,HU=9,GU=10,vve=11,yve=12,Bve=13,Cve=14,WU=15,Knr=function(t){for(var e=[],r=0,n=t.length;r<n;){var i=t.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var o=t.charCodeAt(r++);(o&64512)===56320?e.push(((i&1023)<<10)+(o&1023)+65536):(e.push(i),r--)}else e.push(i)}return e},qnr=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var r=t.length;if(!r)return"";for(var n=[],i=-1,o="";++i<r;){var s=t[i];s<=65535?n.push(s):(s-=65536,n.push((s>>10)+55296,s%1024+56320)),(i+1===r||n.length>16384)&&(o+=String.fromCharCode.apply(String,n),n.length=0)}return o},Xnr=$nr(knr),fu="×",zU="÷",Ynr=function(t){return Xnr.get(t)},Jnr=function(t,e,r){var n=r-2,i=e[n],o=e[r-1],s=e[r];if(o===VU&&s===$U)return fu;if(o===VU||o===$U||o===hve||s===VU||s===$U||s===hve)return zU;if(o===gve&&[gve,HU,vve,yve].indexOf(s)!==-1||(o===vve||o===HU)&&(s===HU||s===GU)||(o===yve||o===GU)&&s===GU||s===Bve||s===mve||s===znr||o===Wnr)return fu;if(o===Bve&&s===Cve){for(;i===mve;)i=e[--n];if(i===Cve)return fu}if(o===WU&&s===WU){for(var a=0;i===WU;)a++,i=e[--n];if(a%2===0)return fu}return zU},Znr=function(t){var e=Knr(t),r=e.length,n=0,i=0,o=e.map(Ynr);return{next:function(){if(n>=r)return{done:!0,value:null};for(var s=fu;n<r&&(s=Jnr(e,o,++n))===fu;);if(s!==fu||n===r){var a=qnr.apply(null,e.slice(i,n));return i=n,{value:a,done:!1}}return{done:!0,value:null}}}},eir=function(t){for(var e=Znr(t),r=[],n;!(n=e.next()).done;)n.value&&r.push(n.value.slice());return r},tir=function(t){var e=123;if(t.createRange){var r=t.createRange();if(r.getBoundingClientRect){var n=t.createElement("boundtest");n.style.height=e+"px",n.style.display="block",t.body.appendChild(n),r.selectNode(n);var i=r.getBoundingClientRect(),o=Math.round(i.height);if(t.body.removeChild(n),o===e)return!0}}return!1},rir=function(t){var e=t.createElement("boundtest");e.style.width="50px",e.style.display="block",e.style.fontSize="12px",e.style.letterSpacing="0px",e.style.wordSpacing="0px",t.body.appendChild(e);var r=t.createRange();e.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var n=e.firstChild,i=eF(n.data).map(function(l){return Zo(l)}),o=0,s={},a=i.every(function(l,c){r.setStart(n,o),r.setEnd(n,o+l.length);var u=r.getBoundingClientRect();o+=l.length;var f=u.x>s.x||u.y>s.y;return s=u,c===0?!0:f});return t.body.removeChild(e),a},nir=function(){return typeof new Image().crossOrigin<"u"},iir=function(){return typeof new XMLHttpRequest().responseType=="string"},oir=function(t){var e=new Image,r=t.createElement("canvas"),n=r.getContext("2d");if(!n)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{n.drawImage(e,0,0),r.toDataURL()}catch{return!1}return!0},bve=function(t){return t[0]===0&&t[1]===255&&t[2]===0&&t[3]===255},sir=function(t){var e=t.createElement("canvas"),r=100;e.width=r,e.height=r;var n=e.getContext("2d");if(!n)return Promise.reject(!1);n.fillStyle="rgb(0, 255, 0)",n.fillRect(0,0,r,r);var i=new Image,o=e.toDataURL();i.src=o;var s=wq(r,r,0,0,i);return n.fillStyle="red",n.fillRect(0,0,r,r),wve(s).then(function(a){n.drawImage(a,0,0);var l=n.getImageData(0,0,r,r).data;n.fillStyle="red",n.fillRect(0,0,r,r);var c=t.createElement("div");return c.style.backgroundImage="url("+o+")",c.style.height=r+"px",bve(l)?wve(wq(r,r,0,0,c)):Promise.reject(!1)}).then(function(a){return n.drawImage(a,0,0),bve(n.getImageData(0,0,r,r).data)}).catch(function(){return!1})},wq=function(t,e,r,n,i){var o="http://www.w3.org/2000/svg",s=document.createElementNS(o,"svg"),a=document.createElementNS(o,"foreignObject");return s.setAttributeNS(null,"width",t.toString()),s.setAttributeNS(null,"height",e.toString()),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",r.toString()),a.setAttributeNS(null,"y",n.toString()),a.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(a),a.appendChild(i),s},wve=function(t){return new Promise(function(e,r){var n=new Image;n.onload=function(){return e(n)},n.onerror=r,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(t))})},fa={get SUPPORT_RANGE_BOUNDS(){var t=tir(document);return Object.defineProperty(fa,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_WORD_BREAKING(){var t=fa.SUPPORT_RANGE_BOUNDS&&rir(document);return Object.defineProperty(fa,"SUPPORT_WORD_BREAKING",{value:t}),t},get SUPPORT_SVG_DRAWING(){var t=oir(document);return Object.defineProperty(fa,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){var t=typeof Array.from=="function"&&typeof window.fetch=="function"?sir(document):Promise.resolve(!1);return Object.defineProperty(fa,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){var t=nir();return Object.defineProperty(fa,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){var t=iir();return Object.defineProperty(fa,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){var t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(fa,"SUPPORT_CORS_XHR",{value:t}),t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var t=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(fa,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:t}),t}},V5=function(){function t(e,r){this.text=e,this.bounds=r}return t}(),air=function(t,e,r,n){var i=uir(e,r),o=[],s=0;return i.forEach(function(a){if(r.textDecorationLine.length||a.trim().length>0)if(fa.SUPPORT_RANGE_BOUNDS){var l=xve(n,s,a.length).getClientRects();if(l.length>1){var c=_te(a),u=0;c.forEach(function(d){o.push(new V5(d,vh.fromDOMRectList(t,xve(n,u+s,d.length).getClientRects()))),u+=d.length})}else o.push(new V5(a,vh.fromDOMRectList(t,l)))}else{var f=n.splitText(a.length);o.push(new V5(a,lir(t,n))),n=f}else fa.SUPPORT_RANGE_BOUNDS||(n=n.splitText(a.length));s+=a.length}),o},lir=function(t,e){var r=e.ownerDocument;if(r){var n=r.createElement("html2canvaswrapper");n.appendChild(e.cloneNode(!0));var i=e.parentNode;if(i){i.replaceChild(n,e);var o=ZN(t,n);return n.firstChild&&i.replaceChild(n.firstChild,n),o}}return vh.EMPTY},xve=function(t,e,r){var n=t.ownerDocument;if(!n)throw new Error("Node has no owner document");var i=n.createRange();return i.setStart(t,e),i.setEnd(t,e+r),i},_te=function(t){if(fa.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(t)).map(function(r){return r.segment})}return eir(t)},cir=function(t,e){if(fa.SUPPORT_NATIVE_TEXT_SEGMENTATION){var r=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(r.segment(t)).map(function(n){return n.segment})}return dir(t,e)},uir=function(t,e){return e.letterSpacing!==0?_te(t):cir(t,e)},fir=[32,160,4961,65792,65793,4153,4241],dir=function(t,e){for(var r=jer(t,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap==="break-word"?"break-word":e.wordBreak}),n=[],i,o=function(){if(i.value){var s=i.value.slice(),a=eF(s),l="";a.forEach(function(c){fir.indexOf(c)===-1?l+=Zo(c):(l.length&&n.push(l),n.push(Zo(c)),l="")}),l.length&&n.push(l)}};!(i=r.next()).done;)o();return n},pir=function(){function t(e,r,n){this.text=Air(r.data,n.textTransform),this.textBounds=air(e,this.text,n,r)}return t}(),Air=function(t,e){switch(e){case 1:return t.toLowerCase();case 3:return t.replace(hir,mir);case 2:return t.toUpperCase();default:return t}},hir=/(^|\s|:|-|\(|\))([a-z])/g,mir=function(t,e,r){return t.length>0?e+r.toUpperCase():t},_Re=function(t){cd(e,t);function e(r,n){var i=t.call(this,r,n)||this;return i.src=n.currentSrc||n.src,i.intrinsicWidth=n.naturalWidth,i.intrinsicHeight=n.naturalHeight,i.context.cache.addImage(i.src),i}return e}(Qp),jRe=function(t){cd(e,t);function e(r,n){var i=t.call(this,r,n)||this;return i.canvas=n,i.intrinsicWidth=n.width,i.intrinsicHeight=n.height,i}return e}(Qp),URe=function(t){cd(e,t);function e(r,n){var i=t.call(this,r,n)||this,o=new XMLSerializer,s=ZN(r,n);return n.setAttribute("width",s.width+"px"),n.setAttribute("height",s.height+"px"),i.svg="data:image/svg+xml,"+encodeURIComponent(o.serializeToString(n)),i.intrinsicWidth=n.width.baseVal.value,i.intrinsicHeight=n.height.baseVal.value,i.context.cache.addImage(i.svg),i}return e}(Qp),QRe=function(t){cd(e,t);function e(r,n){var i=t.call(this,r,n)||this;return i.value=n.value,i}return e}(Qp),xq=function(t){cd(e,t);function e(r,n){var i=t.call(this,r,n)||this;return i.start=n.start,i.reversed=typeof n.reversed=="boolean"&&n.reversed===!0,i}return e}(Qp),gir=[{type:15,flags:0,unit:"px",number:3}],vir=[{type:16,flags:0,number:50}],yir=function(t){return t.width>t.height?new vh(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width<t.height?new vh(t.left,t.top+(t.height-t.width)/2,t.width,t.width):t},Bir=function(t){var e=t.type===Cir?new Array(t.value.length+1).join("•"):t.value;return e.length===0?t.placeholder||"":e},gP="checkbox",vP="radio",Cir="password",Sve=707406591,jte=function(t){cd(e,t);function e(r,n){var i=t.call(this,r,n)||this;switch(i.type=n.type.toLowerCase(),i.checked=n.checked,i.value=Bir(n),(i.type===gP||i.type===vP)&&(i.styles.backgroundColor=3739148031,i.styles.borderTopColor=i.styles.borderRightColor=i.styles.borderBottomColor=i.styles.borderLeftColor=2779096575,i.styles.borderTopWidth=i.styles.borderRightWidth=i.styles.borderBottomWidth=i.styles.borderLeftWidth=1,i.styles.borderTopStyle=i.styles.borderRightStyle=i.styles.borderBottomStyle=i.styles.borderLeftStyle=1,i.styles.backgroundClip=[0],i.styles.backgroundOrigin=[0],i.bounds=yir(i.bounds)),i.type){case gP:i.styles.borderTopRightRadius=i.styles.borderTopLeftRadius=i.styles.borderBottomRightRadius=i.styles.borderBottomLeftRadius=gir;break;case vP:i.styles.borderTopRightRadius=i.styles.borderTopLeftRadius=i.styles.borderBottomRightRadius=i.styles.borderBottomLeftRadius=vir;break}return i}return e}(Qp),VRe=function(t){cd(e,t);function e(r,n){var i=t.call(this,r,n)||this,o=n.options[n.selectedIndex||0];return i.value=o&&o.text||"",i}return e}(Qp),$Re=function(t){cd(e,t);function e(r,n){var i=t.call(this,r,n)||this;return i.value=n.value,i}return e}(Qp),HRe=function(t){cd(e,t);function e(r,n){var i=t.call(this,r,n)||this;i.src=n.src,i.width=parseInt(n.width,10)||0,i.height=parseInt(n.height,10)||0,i.backgroundColor=i.styles.backgroundColor;try{if(n.contentWindow&&n.contentWindow.document&&n.contentWindow.document.documentElement){i.tree=WRe(r,n.contentWindow.document.documentElement);var o=n.contentWindow.document.documentElement?U5(r,getComputedStyle(n.contentWindow.document.documentElement).backgroundColor):zA.TRANSPARENT,s=n.contentWindow.document.body?U5(r,getComputedStyle(n.contentWindow.document.body).backgroundColor):zA.TRANSPARENT;i.backgroundColor=fm(o)?fm(s)?i.styles.backgroundColor:s:o}}catch{}return i}return e}(Qp),bir=["OL","UL","MENU"],qD=function(t,e,r,n){for(var i=e.firstChild,o=void 0;i;i=o)if(o=i.nextSibling,zRe(i)&&i.data.trim().length>0)r.textNodes.push(new pir(t,i,r.styles));else if(B2(i))if(YRe(i)&&i.assignedNodes)i.assignedNodes().forEach(function(a){return qD(t,a,r,n)});else{var s=GRe(t,i);s.styles.isVisible()&&(wir(i,s,n)?s.flags|=4:xir(s.styles)&&(s.flags|=2),bir.indexOf(i.tagName)!==-1&&(s.flags|=8),r.elements.push(s),i.slot,i.shadowRoot?qD(t,i.shadowRoot,s,n):!yP(i)&&!KRe(i)&&!BP(i)&&qD(t,i,s,n))}},GRe=function(t,e){return Eq(e)?new _Re(t,e):qRe(e)?new jRe(t,e):KRe(e)?new URe(t,e):Sir(e)?new QRe(t,e):Eir(e)?new xq(t,e):Dir(e)?new jte(t,e):BP(e)?new VRe(t,e):yP(e)?new $Re(t,e):XRe(e)?new HRe(t,e):new Qp(t,e)},WRe=function(t,e){var r=GRe(t,e);return r.flags|=4,qD(t,e,r,r),r},wir=function(t,e,r){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||Ute(t)&&r.styles.isTransparent()},xir=function(t){return t.isPositioned()||t.isFloating()},zRe=function(t){return t.nodeType===Node.TEXT_NODE},B2=function(t){return t.nodeType===Node.ELEMENT_NODE},Sq=function(t){return B2(t)&&typeof t.style<"u"&&!XD(t)},XD=function(t){return typeof t.className=="object"},Sir=function(t){return t.tagName==="LI"},Eir=function(t){return t.tagName==="OL"},Dir=function(t){return t.tagName==="INPUT"},kir=function(t){return t.tagName==="HTML"},KRe=function(t){return t.tagName==="svg"},Ute=function(t){return t.tagName==="BODY"},qRe=function(t){return t.tagName==="CANVAS"},Eve=function(t){return t.tagName==="VIDEO"},Eq=function(t){return t.tagName==="IMG"},XRe=function(t){return t.tagName==="IFRAME"},Dve=function(t){return t.tagName==="STYLE"},Oir=function(t){return t.tagName==="SCRIPT"},yP=function(t){return t.tagName==="TEXTAREA"},BP=function(t){return t.tagName==="SELECT"},YRe=function(t){return t.tagName==="SLOT"},kve=function(t){return t.tagName.indexOf("-")>0},Pir=function(){function t(){this.counters={}}return t.prototype.getCounterValue=function(e){var r=this.counters[e];return r&&r.length?r[r.length-1]:1},t.prototype.getCounterValues=function(e){var r=this.counters[e];return r||[]},t.prototype.pop=function(e){var r=this;e.forEach(function(n){return r.counters[n].pop()})},t.prototype.parse=function(e){var r=this,n=e.counterIncrement,i=e.counterReset,o=!0;n!==null&&n.forEach(function(a){var l=r.counters[a.counter];l&&a.increment!==0&&(o=!1,l.length||l.push(1),l[Math.max(0,l.length-1)]+=a.increment)});var s=[];return o&&i.forEach(function(a){var l=r.counters[a.counter];s.push(a.counter),l||(l=r.counters[a.counter]=[]),l.push(a.reset)}),s},t}(),Ove={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Pve={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Iir={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Nir={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Ny=function(t,e,r,n,i,o){return t<e||t>r?E3(t,i,o.length>0):n.integers.reduce(function(s,a,l){for(;t>=a;)t-=a,s+=n.values[l];return s},"")+o},JRe=function(t,e,r,n){var i="";do r||t--,i=n(t)+i,t/=e;while(t*e>=e);return i},Yo=function(t,e,r,n,i){var o=r-e+1;return(t<0?"-":"")+(JRe(Math.abs(t),o,n,function(s){return Zo(Math.floor(s%o)+e)})+i)},Pg=function(t,e,r){r===void 0&&(r=". ");var n=e.length;return JRe(Math.abs(t),n,!1,function(i){return e[Math.floor(i%n)]})+r},Wy=1,s0=2,a0=4,e5=8,fA=function(t,e,r,n,i,o){if(t<-9999||t>9999)return E3(t,4,i.length>0);var s=Math.abs(t),a=i;if(s===0)return e[0]+a;for(var l=0;s>0&&l<=4;l++){var c=s%10;c===0&&Ts(o,Wy)&&a!==""?a=e[c]+a:c>1||c===1&&l===0||c===1&&l===1&&Ts(o,s0)||c===1&&l===1&&Ts(o,a0)&&t>100||c===1&&l>1&&Ts(o,e5)?a=e[c]+(l>0?r[l-1]:"")+a:c===1&&l>0&&(a=r[l-1]+a),s=Math.floor(s/10)}return(t<0?n:"")+a},Ive="十百千萬",Nve="拾佰仟萬",Fve="マイナス",KU="마이너스",E3=function(t,e,r){var n=r?". ":"",i=r?"、":"",o=r?", ":"",s=r?" ":"";switch(e){case 0:return"•"+s;case 1:return"◦"+s;case 2:return"◾"+s;case 5:var a=Yo(t,48,57,!0,n);return a.length<4?"0"+a:a;case 4:return Pg(t,"〇一二三四五六七八九",i);case 6:return Ny(t,1,3999,Ove,3,n).toLowerCase();case 7:return Ny(t,1,3999,Ove,3,n);case 8:return Yo(t,945,969,!1,n);case 9:return Yo(t,97,122,!1,n);case 10:return Yo(t,65,90,!1,n);case 11:return Yo(t,1632,1641,!0,n);case 12:case 49:return Ny(t,1,9999,Pve,3,n);case 35:return Ny(t,1,9999,Pve,3,n).toLowerCase();case 13:return Yo(t,2534,2543,!0,n);case 14:case 30:return Yo(t,6112,6121,!0,n);case 15:return Pg(t,"子丑寅卯辰巳午未申酉戌亥",i);case 16:return Pg(t,"甲乙丙丁戊己庚辛壬癸",i);case 17:case 48:return fA(t,"零一二三四五六七八九",Ive,"負",i,s0|a0|e5);case 47:return fA(t,"零壹貳參肆伍陸柒捌玖",Nve,"負",i,Wy|s0|a0|e5);case 42:return fA(t,"零一二三四五六七八九",Ive,"负",i,s0|a0|e5);case 41:return fA(t,"零壹贰叁肆伍陆柒捌玖",Nve,"负",i,Wy|s0|a0|e5);case 26:return fA(t,"〇一二三四五六七八九","十百千万",Fve,i,0);case 25:return fA(t,"零壱弐参四伍六七八九","拾百千万",Fve,i,Wy|s0|a0);case 31:return fA(t,"영일이삼사오육칠팔구","십백천만",KU,o,Wy|s0|a0);case 33:return fA(t,"零一二三四五六七八九","十百千萬",KU,o,0);case 32:return fA(t,"零壹貳參四五六七八九","拾百千",KU,o,Wy|s0|a0);case 18:return Yo(t,2406,2415,!0,n);case 20:return Ny(t,1,19999,Nir,3,n);case 21:return Yo(t,2790,2799,!0,n);case 22:return Yo(t,2662,2671,!0,n);case 22:return Ny(t,1,10999,Iir,3,n);case 23:return Pg(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Pg(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return Yo(t,3302,3311,!0,n);case 28:return Pg(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",i);case 29:return Pg(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",i);case 34:return Yo(t,3792,3801,!0,n);case 37:return Yo(t,6160,6169,!0,n);case 38:return Yo(t,4160,4169,!0,n);case 39:return Yo(t,2918,2927,!0,n);case 40:return Yo(t,1776,1785,!0,n);case 43:return Yo(t,3046,3055,!0,n);case 44:return Yo(t,3174,3183,!0,n);case 45:return Yo(t,3664,3673,!0,n);case 46:return Yo(t,3872,3881,!0,n);case 3:default:return Yo(t,48,57,!0,n)}},ZRe="data-html2canvas-ignore",Tve=function(){function t(e,r,n){if(this.context=e,this.options=n,this.scrolledElements=[],this.referenceElement=r,this.counters=new Pir,this.quoteDepth=0,!r.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(r.ownerDocument.documentElement,!1)}return t.prototype.toIFrame=function(e,r){var n=this,i=Fir(e,r);if(!i.contentWindow)return Promise.reject("Unable to find iframe window");var o=e.defaultView.pageXOffset,s=e.defaultView.pageYOffset,a=i.contentWindow,l=a.document,c=Rir(i).then(function(){return ll(n,void 0,void 0,function(){var u,f;return Ua(this,function(d){switch(d.label){case 0:return this.scrolledElements.forEach(Uir),a&&(a.scrollTo(r.left,r.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(a.scrollY!==r.top||a.scrollX!==r.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(a.scrollX-r.left,a.scrollY-r.top,0,0))),u=this.options.onclone,f=this.clonedReferenceElement,typeof f>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:l.fonts&&l.fonts.ready?[4,l.fonts.ready]:[3,2];case 1:d.sent(),d.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Lir(l)]:[3,4];case 3:d.sent(),d.label=4;case 4:return typeof u=="function"?[2,Promise.resolve().then(function(){return u(l,f)}).then(function(){return i})]:[2,i]}})})});return l.open(),l.write(_ir(document.doctype)+"<html></html>"),jir(this.referenceElement.ownerDocument,o,s),l.replaceChild(l.adoptNode(this.documentElement),l.documentElement),l.close(),c},t.prototype.createElementClone=function(e){if(bq(e,2))debugger;if(qRe(e))return this.createCanvasClone(e);if(Eve(e))return this.createVideoClone(e);if(Dve(e))return this.createStyleClone(e);var r=e.cloneNode(!1);return Eq(r)&&(Eq(e)&&e.currentSrc&&e.currentSrc!==e.src&&(r.src=e.currentSrc,r.srcset=""),r.loading==="lazy"&&(r.loading="eager")),kve(r)?this.createCustomElementClone(r):r},t.prototype.createCustomElementClone=function(e){var r=document.createElement("html2canvascustomelement");return qU(e.style,r),r},t.prototype.createStyleClone=function(e){try{var r=e.sheet;if(r&&r.cssRules){var n=[].slice.call(r.cssRules,0).reduce(function(o,s){return s&&typeof s.cssText=="string"?o+s.cssText:o},""),i=e.cloneNode(!1);return i.textContent=n,i}}catch(o){if(this.context.logger.error("Unable to access cssRules property",o),o.name!=="SecurityError")throw o}return e.cloneNode(!1)},t.prototype.createCanvasClone=function(e){var r;if(this.options.inlineImages&&e.ownerDocument){var n=e.ownerDocument.createElement("img");try{return n.src=e.toDataURL(),n}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var i=e.cloneNode(!1);try{i.width=e.width,i.height=e.height;var o=e.getContext("2d"),s=i.getContext("2d");if(s)if(!this.options.allowTaint&&o)s.putImageData(o.getImageData(0,0,e.width,e.height),0,0);else{var a=(r=e.getContext("webgl2"))!==null&&r!==void 0?r:e.getContext("webgl");if(a){var l=a.getContextAttributes();l?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}s.drawImage(e,0,0)}return i}catch{this.context.logger.info("Unable to clone canvas as it is tainted",e)}return i},t.prototype.createVideoClone=function(e){var r=e.ownerDocument.createElement("canvas");r.width=e.offsetWidth,r.height=e.offsetHeight;var n=r.getContext("2d");try{return n&&(n.drawImage(e,0,0,r.width,r.height),this.options.allowTaint||n.getImageData(0,0,r.width,r.height)),r}catch{this.context.logger.info("Unable to clone video as it is tainted",e)}var i=e.ownerDocument.createElement("canvas");return i.width=e.offsetWidth,i.height=e.offsetHeight,i},t.prototype.appendChildNode=function(e,r,n){(!B2(r)||!Oir(r)&&!r.hasAttribute(ZRe)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(r)))&&(!this.options.copyStyles||!B2(r)||!Dve(r))&&e.appendChild(this.cloneNode(r,n))},t.prototype.cloneChildNodes=function(e,r,n){for(var i=this,o=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;o;o=o.nextSibling)if(B2(o)&&YRe(o)&&typeof o.assignedNodes=="function"){var s=o.assignedNodes();s.length&&s.forEach(function(a){return i.appendChildNode(r,a,n)})}else this.appendChildNode(r,o,n)},t.prototype.cloneNode=function(e,r){if(zRe(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var n=e.ownerDocument.defaultView;if(n&&B2(e)&&(Sq(e)||XD(e))){var i=this.createElementClone(e);i.style.transitionProperty="none";var o=n.getComputedStyle(e),s=n.getComputedStyle(e,":before"),a=n.getComputedStyle(e,":after");this.referenceElement===e&&Sq(i)&&(this.clonedReferenceElement=i),Ute(i)&&$ir(i);var l=this.counters.parse(new fve(this.context,o)),c=this.resolvePseudoContent(e,i,s,$5.BEFORE);kve(e)&&(r=!0),Eve(e)||this.cloneChildNodes(e,i,r),c&&i.insertBefore(c,i.firstChild);var u=this.resolvePseudoContent(e,i,a,$5.AFTER);return u&&i.appendChild(u),this.counters.pop(l),(o&&(this.options.copyStyles||XD(e))&&!XRe(e)||r)&&qU(o,i),(e.scrollTop!==0||e.scrollLeft!==0)&&this.scrolledElements.push([i,e.scrollLeft,e.scrollTop]),(yP(e)||BP(e))&&(yP(i)||BP(i))&&(i.value=e.value),i}return e.cloneNode(!1)},t.prototype.resolvePseudoContent=function(e,r,n,i){var o=this;if(n){var s=n.content,a=r.ownerDocument;if(!(!a||!s||s==="none"||s==="-moz-alt-content"||n.display==="none")){this.counters.parse(new fve(this.context,n));var l=new Snr(this.context,n),c=a.createElement("html2canvaspseudoelement");qU(n,c),l.content.forEach(function(f){if(f.type===0)c.appendChild(a.createTextNode(f.value));else if(f.type===22){var d=a.createElement("img");d.src=f.value,d.style.opacity="1",c.appendChild(d)}else if(f.type===18){if(f.name==="attr"){var p=f.values.filter(Mi);p.length&&c.appendChild(a.createTextNode(e.getAttribute(p[0].value)||""))}else if(f.name==="counter"){var h=f.values.filter(iC),A=h[0],g=h[1];if(A&&Mi(A)){var m=o.counters.getCounterValue(A.value),v=g&&Mi(g)?Cq.parse(o.context,g.value):3;c.appendChild(a.createTextNode(E3(m,v,!1)))}}else if(f.name==="counters"){var y=f.values.filter(iC),A=y[0],b=y[1],g=y[2];if(A&&Mi(A)){var B=o.counters.getCounterValues(A.value),S=g&&Mi(g)?Cq.parse(o.context,g.value):3,w=b&&b.type===0?b.value:"",x=B.map(function(k){return E3(k,S,!1)}).join(w);c.appendChild(a.createTextNode(x))}}}else if(f.type===20)switch(f.value){case"open-quote":c.appendChild(a.createTextNode(uve(l.quotes,o.quoteDepth++,!0)));break;case"close-quote":c.appendChild(a.createTextNode(uve(l.quotes,--o.quoteDepth,!1)));break;default:c.appendChild(a.createTextNode(f.value))}}),c.className=Dq+" "+kq;var u=i===$5.BEFORE?" "+Dq:" "+kq;return XD(r)?r.className.baseValue+=u:r.className+=u,c}}},t.destroy=function(e){return e.parentNode?(e.parentNode.removeChild(e),!0):!1},t}(),$5;(function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"})($5||($5={}));var Fir=function(t,e){var r=t.createElement("iframe");return r.className="html2canvas-container",r.style.visibility="hidden",r.style.position="fixed",r.style.left="-10000px",r.style.top="0px",r.style.border="0",r.width=e.width.toString(),r.height=e.height.toString(),r.scrolling="no",r.setAttribute(ZRe,"true"),t.body.appendChild(r),r},Tir=function(t){return new Promise(function(e){if(t.complete){e();return}if(!t.src){e();return}t.onload=e,t.onerror=e})},Lir=function(t){return Promise.all([].slice.call(t.images,0).map(Tir))},Rir=function(t){return new Promise(function(e,r){var n=t.contentWindow;if(!n)return r("No window assigned for iframe");var i=n.document;n.onload=t.onload=function(){n.onload=t.onload=null;var o=setInterval(function(){i.body.childNodes.length>0&&i.readyState==="complete"&&(clearInterval(o),e(t))},50)}})},Mir=["all","d","content"],qU=function(t,e){for(var r=t.length-1;r>=0;r--){var n=t.item(r);Mir.indexOf(n)===-1&&e.style.setProperty(n,t.getPropertyValue(n))}return e},_ir=function(t){var e="";return t&&(e+="<!DOCTYPE ",t.name&&(e+=t.name),t.internalSubset&&(e+=t.internalSubset),t.publicId&&(e+='"'+t.publicId+'"'),t.systemId&&(e+='"'+t.systemId+'"'),e+=">"),e},jir=function(t,e,r){t&&t.defaultView&&(e!==t.defaultView.pageXOffset||r!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(e,r)},Uir=function(t){var e=t[0],r=t[1],n=t[2];e.scrollLeft=r,e.scrollTop=n},Qir=":before",Vir=":after",Dq="___html2canvas___pseudoelement_before",kq="___html2canvas___pseudoelement_after",Lve=`{ content: "" !important; display: none !important; }`,$ir=function(t){Hir(t,"."+Dq+Qir+Lve+` .`+kq+Vir+Lve)},Hir=function(t,e){var r=t.ownerDocument;if(r){var n=r.createElement("style");n.textContent=e,t.appendChild(n)}},eMe=function(){function t(){}return t.getOrigin=function(e){var r=t._link;return r?(r.href=e,r.href=r.href,r.protocol+r.hostname+r.port):"about:blank"},t.isSameOrigin=function(e){return t.getOrigin(e)===t._origin},t.setContext=function(e){t._link=e.document.createElement("a"),t._origin=t.getOrigin(e.location.href)},t._origin="about:blank",t}(),Gir=function(){function t(e,r){this.context=e,this._options=r,this._cache={}}return t.prototype.addImage=function(e){var r=Promise.resolve();return this.has(e)||(YU(e)||qir(e))&&(this._cache[e]=this.loadImage(e)).catch(function(){}),r},t.prototype.match=function(e){return this._cache[e]},t.prototype.loadImage=function(e){return ll(this,void 0,void 0,function(){var r,n,i,o,s=this;return Ua(this,function(a){switch(a.label){case 0:return r=eMe.isSameOrigin(e),n=!XU(e)&&this._options.useCORS===!0&&fa.SUPPORT_CORS_IMAGES&&!r,i=!XU(e)&&!r&&!YU(e)&&typeof this._options.proxy=="string"&&fa.SUPPORT_CORS_XHR&&!n,!r&&this._options.allowTaint===!1&&!XU(e)&&!YU(e)&&!i&&!n?[2]:(o=e,i?[4,this.proxy(o)]:[3,2]);case 1:o=a.sent(),a.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(l,c){var u=new Image;u.onload=function(){return l(u)},u.onerror=c,(Xir(o)||n)&&(u.crossOrigin="anonymous"),u.src=o,u.complete===!0&&setTimeout(function(){return l(u)},500),s._options.imageTimeout>0&&setTimeout(function(){return c("Timed out ("+s._options.imageTimeout+"ms) loading image")},s._options.imageTimeout)})];case 3:return[2,a.sent()]}})})},t.prototype.has=function(e){return typeof this._cache[e]<"u"},t.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},t.prototype.proxy=function(e){var r=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var i=e.substring(0,256);return new Promise(function(o,s){var a=fa.SUPPORT_RESPONSE_TYPE?"blob":"text",l=new XMLHttpRequest;l.onload=function(){if(l.status===200)if(a==="text")o(l.response);else{var f=new FileReader;f.addEventListener("load",function(){return o(f.result)},!1),f.addEventListener("error",function(d){return s(d)},!1),f.readAsDataURL(l.response)}else s("Failed to proxy resource "+i+" with status code "+l.status)},l.onerror=s;var c=n.indexOf("?")>-1?"&":"?";if(l.open("GET",""+n+c+"url="+encodeURIComponent(e)+"&responseType="+a),a!=="text"&&l instanceof XMLHttpRequest&&(l.responseType=a),r._options.imageTimeout){var u=r._options.imageTimeout;l.timeout=u,l.ontimeout=function(){return s("Timed out ("+u+"ms) proxying "+i)}}l.send()})},t}(),Wir=/^data:image\/svg\+xml/i,zir=/^data:image\/.*;base64,/i,Kir=/^data:image\/.*/i,qir=function(t){return fa.SUPPORT_SVG_DRAWING||!Yir(t)},XU=function(t){return Kir.test(t)},Xir=function(t){return zir.test(t)},YU=function(t){return t.substr(0,4)==="blob"},Yir=function(t){return t.substr(-3).toLowerCase()==="svg"||Wir.test(t)},pr=function(){function t(e,r){this.type=0,this.x=e,this.y=r}return t.prototype.add=function(e,r){return new t(this.x+e,this.y+r)},t}(),Fy=function(t,e,r){return new pr(t.x+(e.x-t.x)*r,t.y+(e.y-t.y)*r)},wE=function(){function t(e,r,n,i){this.type=1,this.start=e,this.startControl=r,this.endControl=n,this.end=i}return t.prototype.subdivide=function(e,r){var n=Fy(this.start,this.startControl,e),i=Fy(this.startControl,this.endControl,e),o=Fy(this.endControl,this.end,e),s=Fy(n,i,e),a=Fy(i,o,e),l=Fy(s,a,e);return r?new t(this.start,n,s,l):new t(l,a,o,this.end)},t.prototype.add=function(e,r){return new t(this.start.add(e,r),this.startControl.add(e,r),this.endControl.add(e,r),this.end.add(e,r))},t.prototype.reverse=function(){return new t(this.end,this.endControl,this.startControl,this.start)},t}(),Cu=function(t){return t.type===1},Jir=function(){function t(e){var r=e.styles,n=e.bounds,i=Jw(r.borderTopLeftRadius,n.width,n.height),o=i[0],s=i[1],a=Jw(r.borderTopRightRadius,n.width,n.height),l=a[0],c=a[1],u=Jw(r.borderBottomRightRadius,n.width,n.height),f=u[0],d=u[1],p=Jw(r.borderBottomLeftRadius,n.width,n.height),h=p[0],A=p[1],g=[];g.push((o+l)/n.width),g.push((h+f)/n.width),g.push((s+A)/n.height),g.push((c+d)/n.height);var m=Math.max.apply(Math,g);m>1&&(o/=m,s/=m,l/=m,c/=m,f/=m,d/=m,h/=m,A/=m);var v=n.width-l,y=n.height-d,b=n.width-f,B=n.height-A,S=r.borderTopWidth,w=r.borderRightWidth,x=r.borderBottomWidth,I=r.borderLeftWidth,F=Yi(r.paddingTop,e.bounds.width),k=Yi(r.paddingRight,e.bounds.width),O=Yi(r.paddingBottom,e.bounds.width),L=Yi(r.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=o>0||s>0?yo(n.left+I/3,n.top+S/3,o-I/3,s-S/3,mi.TOP_LEFT):new pr(n.left+I/3,n.top+S/3),this.topRightBorderDoubleOuterBox=o>0||s>0?yo(n.left+v,n.top+S/3,l-w/3,c-S/3,mi.TOP_RIGHT):new pr(n.left+n.width-w/3,n.top+S/3),this.bottomRightBorderDoubleOuterBox=f>0||d>0?yo(n.left+b,n.top+y,f-w/3,d-x/3,mi.BOTTOM_RIGHT):new pr(n.left+n.width-w/3,n.top+n.height-x/3),this.bottomLeftBorderDoubleOuterBox=h>0||A>0?yo(n.left+I/3,n.top+B,h-I/3,A-x/3,mi.BOTTOM_LEFT):new pr(n.left+I/3,n.top+n.height-x/3),this.topLeftBorderDoubleInnerBox=o>0||s>0?yo(n.left+I*2/3,n.top+S*2/3,o-I*2/3,s-S*2/3,mi.TOP_LEFT):new pr(n.left+I*2/3,n.top+S*2/3),this.topRightBorderDoubleInnerBox=o>0||s>0?yo(n.left+v,n.top+S*2/3,l-w*2/3,c-S*2/3,mi.TOP_RIGHT):new pr(n.left+n.width-w*2/3,n.top+S*2/3),this.bottomRightBorderDoubleInnerBox=f>0||d>0?yo(n.left+b,n.top+y,f-w*2/3,d-x*2/3,mi.BOTTOM_RIGHT):new pr(n.left+n.width-w*2/3,n.top+n.height-x*2/3),this.bottomLeftBorderDoubleInnerBox=h>0||A>0?yo(n.left+I*2/3,n.top+B,h-I*2/3,A-x*2/3,mi.BOTTOM_LEFT):new pr(n.left+I*2/3,n.top+n.height-x*2/3),this.topLeftBorderStroke=o>0||s>0?yo(n.left+I/2,n.top+S/2,o-I/2,s-S/2,mi.TOP_LEFT):new pr(n.left+I/2,n.top+S/2),this.topRightBorderStroke=o>0||s>0?yo(n.left+v,n.top+S/2,l-w/2,c-S/2,mi.TOP_RIGHT):new pr(n.left+n.width-w/2,n.top+S/2),this.bottomRightBorderStroke=f>0||d>0?yo(n.left+b,n.top+y,f-w/2,d-x/2,mi.BOTTOM_RIGHT):new pr(n.left+n.width-w/2,n.top+n.height-x/2),this.bottomLeftBorderStroke=h>0||A>0?yo(n.left+I/2,n.top+B,h-I/2,A-x/2,mi.BOTTOM_LEFT):new pr(n.left+I/2,n.top+n.height-x/2),this.topLeftBorderBox=o>0||s>0?yo(n.left,n.top,o,s,mi.TOP_LEFT):new pr(n.left,n.top),this.topRightBorderBox=l>0||c>0?yo(n.left+v,n.top,l,c,mi.TOP_RIGHT):new pr(n.left+n.width,n.top),this.bottomRightBorderBox=f>0||d>0?yo(n.left+b,n.top+y,f,d,mi.BOTTOM_RIGHT):new pr(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=h>0||A>0?yo(n.left,n.top+B,h,A,mi.BOTTOM_LEFT):new pr(n.left,n.top+n.height),this.topLeftPaddingBox=o>0||s>0?yo(n.left+I,n.top+S,Math.max(0,o-I),Math.max(0,s-S),mi.TOP_LEFT):new pr(n.left+I,n.top+S),this.topRightPaddingBox=l>0||c>0?yo(n.left+Math.min(v,n.width-w),n.top+S,v>n.width+w?0:Math.max(0,l-w),Math.max(0,c-S),mi.TOP_RIGHT):new pr(n.left+n.width-w,n.top+S),this.bottomRightPaddingBox=f>0||d>0?yo(n.left+Math.min(b,n.width-I),n.top+Math.min(y,n.height-x),Math.max(0,f-w),Math.max(0,d-x),mi.BOTTOM_RIGHT):new pr(n.left+n.width-w,n.top+n.height-x),this.bottomLeftPaddingBox=h>0||A>0?yo(n.left+I,n.top+Math.min(B,n.height-x),Math.max(0,h-I),Math.max(0,A-x),mi.BOTTOM_LEFT):new pr(n.left+I,n.top+n.height-x),this.topLeftContentBox=o>0||s>0?yo(n.left+I+L,n.top+S+F,Math.max(0,o-(I+L)),Math.max(0,s-(S+F)),mi.TOP_LEFT):new pr(n.left+I+L,n.top+S+F),this.topRightContentBox=l>0||c>0?yo(n.left+Math.min(v,n.width+I+L),n.top+S+F,v>n.width+I+L?0:l-I+L,c-(S+F),mi.TOP_RIGHT):new pr(n.left+n.width-(w+k),n.top+S+F),this.bottomRightContentBox=f>0||d>0?yo(n.left+Math.min(b,n.width-(I+L)),n.top+Math.min(y,n.height+S+F),Math.max(0,f-(w+k)),d-(x+O),mi.BOTTOM_RIGHT):new pr(n.left+n.width-(w+k),n.top+n.height-(x+O)),this.bottomLeftContentBox=h>0||A>0?yo(n.left+I+L,n.top+B,Math.max(0,h-(I+L)),A-(x+O),mi.BOTTOM_LEFT):new pr(n.left+I+L,n.top+n.height-(x+O))}return t}(),mi;(function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(mi||(mi={}));var yo=function(t,e,r,n,i){var o=4*((Math.sqrt(2)-1)/3),s=r*o,a=n*o,l=t+r,c=e+n;switch(i){case mi.TOP_LEFT:return new wE(new pr(t,c),new pr(t,c-a),new pr(l-s,e),new pr(l,e));case mi.TOP_RIGHT:return new wE(new pr(t,e),new pr(t+s,e),new pr(l,c-a),new pr(l,c));case mi.BOTTOM_RIGHT:return new wE(new pr(l,e),new pr(l,e+a),new pr(t+s,c),new pr(t,c));case mi.BOTTOM_LEFT:default:return new wE(new pr(l,c),new pr(l-s,c),new pr(t,e+a),new pr(t,e))}},CP=function(t){return[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox]},Zir=function(t){return[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox]},bP=function(t){return[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox]},eor=function(){function t(e,r,n){this.offsetX=e,this.offsetY=r,this.matrix=n,this.type=0,this.target=6}return t}(),xE=function(){function t(e,r){this.path=e,this.target=r,this.type=1}return t}(),tor=function(){function t(e){this.opacity=e,this.type=2,this.target=6}return t}(),ror=function(t){return t.type===0},tMe=function(t){return t.type===1},nor=function(t){return t.type===2},Rve=function(t,e){return t.length===e.length?t.some(function(r,n){return r===e[n]}):!1},ior=function(t,e,r,n,i){return t.map(function(o,s){switch(s){case 0:return o.add(e,r);case 1:return o.add(e+n,r);case 2:return o.add(e+n,r+i);case 3:return o.add(e,r+i)}return o})},rMe=function(){function t(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return t}(),nMe=function(){function t(e,r){if(this.container=e,this.parent=r,this.effects=[],this.curves=new Jir(this.container),this.container.styles.opacity<1&&this.effects.push(new tor(this.container.styles.opacity)),this.container.styles.transform!==null){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,i=this.container.bounds.top+this.container.styles.transformOrigin[1].number,o=this.container.styles.transform;this.effects.push(new eor(n,i,o))}if(this.container.styles.overflowX!==0){var s=CP(this.curves),a=bP(this.curves);Rve(s,a)?this.effects.push(new xE(s,6)):(this.effects.push(new xE(s,2)),this.effects.push(new xE(a,4)))}}return t.prototype.getEffects=function(e){for(var r=[2,3].indexOf(this.container.styles.position)===-1,n=this.parent,i=this.effects.slice(0);n;){var o=n.effects.filter(function(l){return!tMe(l)});if(r||n.container.styles.position!==0||!n.parent){if(i.unshift.apply(i,o),r=[2,3].indexOf(n.container.styles.position)===-1,n.container.styles.overflowX!==0){var s=CP(n.curves),a=bP(n.curves);Rve(s,a)||i.unshift(new xE(a,6))}}else i.unshift.apply(i,o);n=n.parent}return i.filter(function(l){return Ts(l.target,e)})},t}(),Oq=function(t,e,r,n){t.container.elements.forEach(function(i){var o=Ts(i.flags,4),s=Ts(i.flags,2),a=new nMe(i,t);Ts(i.styles.display,2048)&&n.push(a);var l=Ts(i.flags,8)?[]:n;if(o||s){var c=o||i.styles.isPositioned()?r:e,u=new rMe(a);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var f=i.styles.zIndex.order;if(f<0){var d=0;c.negativeZIndex.some(function(h,A){return f>h.element.container.styles.zIndex.order?(d=A,!1):d>0}),c.negativeZIndex.splice(d,0,u)}else if(f>0){var p=0;c.positiveZIndex.some(function(h,A){return f>=h.element.container.styles.zIndex.order?(p=A+1,!1):p>0}),c.positiveZIndex.splice(p,0,u)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else i.styles.isFloating()?c.nonPositionedFloats.push(u):c.nonPositionedInlineLevel.push(u);Oq(a,u,o?u:r,l)}else i.styles.isInlineLevel()?e.inlineLevel.push(a):e.nonInlineLevel.push(a),Oq(a,e,r,l);Ts(i.flags,8)&&iMe(i,l)})},iMe=function(t,e){for(var r=t instanceof xq?t.start:1,n=t instanceof xq?t.reversed:!1,i=0;i<e.length;i++){var o=e[i];o.container instanceof QRe&&typeof o.container.value=="number"&&o.container.value!==0&&(r=o.container.value),o.listValue=E3(r,o.container.styles.listStyleType,!0),r+=n?-1:1}},oor=function(t){var e=new nMe(t,null),r=new rMe(e),n=[];return Oq(e,r,r,n),iMe(e.container,n),r},Mve=function(t,e){switch(e){case 0:return Nu(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return Nu(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return Nu(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);case 3:default:return Nu(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}},sor=function(t,e){switch(e){case 0:return Nu(t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox,t.topRightBorderBox,t.topRightBorderDoubleOuterBox);case 1:return Nu(t.topRightBorderBox,t.topRightBorderDoubleOuterBox,t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox);case 2:return Nu(t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox,t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox);case 3:default:return Nu(t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox,t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox)}},aor=function(t,e){switch(e){case 0:return Nu(t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox,t.topRightBorderDoubleInnerBox,t.topRightPaddingBox);case 1:return Nu(t.topRightBorderDoubleInnerBox,t.topRightPaddingBox,t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox);case 2:return Nu(t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox,t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox);case 3:default:return Nu(t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox,t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox)}},lor=function(t,e){switch(e){case 0:return SE(t.topLeftBorderStroke,t.topRightBorderStroke);case 1:return SE(t.topRightBorderStroke,t.bottomRightBorderStroke);case 2:return SE(t.bottomRightBorderStroke,t.bottomLeftBorderStroke);case 3:default:return SE(t.bottomLeftBorderStroke,t.topLeftBorderStroke)}},SE=function(t,e){var r=[];return Cu(t)?r.push(t.subdivide(.5,!1)):r.push(t),Cu(e)?r.push(e.subdivide(.5,!0)):r.push(e),r},Nu=function(t,e,r,n){var i=[];return Cu(t)?i.push(t.subdivide(.5,!1)):i.push(t),Cu(r)?i.push(r.subdivide(.5,!0)):i.push(r),Cu(n)?i.push(n.subdivide(.5,!0).reverse()):i.push(n),Cu(e)?i.push(e.subdivide(.5,!1).reverse()):i.push(e),i},oMe=function(t){var e=t.bounds,r=t.styles;return e.add(r.borderLeftWidth,r.borderTopWidth,-(r.borderRightWidth+r.borderLeftWidth),-(r.borderTopWidth+r.borderBottomWidth))},wP=function(t){var e=t.styles,r=t.bounds,n=Yi(e.paddingLeft,r.width),i=Yi(e.paddingRight,r.width),o=Yi(e.paddingTop,r.width),s=Yi(e.paddingBottom,r.width);return r.add(n+e.borderLeftWidth,o+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+n+i),-(e.borderTopWidth+e.borderBottomWidth+o+s))},cor=function(t,e){return t===0?e.bounds:t===2?wP(e):oMe(e)},uor=function(t,e){return t===0?e.bounds:t===2?wP(e):oMe(e)},JU=function(t,e,r){var n=cor(zy(t.styles.backgroundOrigin,e),t),i=uor(zy(t.styles.backgroundClip,e),t),o=dor(zy(t.styles.backgroundSize,e),r,n),s=o[0],a=o[1],l=Jw(zy(t.styles.backgroundPosition,e),n.width-s,n.height-a),c=por(zy(t.styles.backgroundRepeat,e),l,o,n,i),u=Math.round(n.left+l[0]),f=Math.round(n.top+l[1]);return[c,u,f,s,a]},Ty=function(t){return Mi(t)&&t.value===q2.AUTO},EE=function(t){return typeof t=="number"},dor=function(t,e,r){var n=e[0],i=e[1],o=e[2],s=t[0],a=t[1];if(!s)return[0,0];if(vs(s)&&a&&vs(a))return[Yi(s,r.width),Yi(a,r.height)];var l=EE(o);if(Mi(s)&&(s.value===q2.CONTAIN||s.value===q2.COVER)){if(EE(o)){var c=r.width/r.height;return c<o!=(s.value===q2.COVER)?[r.width,r.width/o]:[r.height*o,r.height]}return[r.width,r.height]}var u=EE(n),f=EE(i),d=u||f;if(Ty(s)&&(!a||Ty(a))){if(u&&f)return[n,i];if(!l&&!d)return[r.width,r.height];if(d&&l){var p=u?n:i*o,h=f?i:n/o;return[p,h]}var A=u?n:r.width,g=f?i:r.height;return[A,g]}if(l){var m=0,v=0;return vs(s)?m=Yi(s,r.width):vs(a)&&(v=Yi(a,r.height)),Ty(s)?m=v*o:(!a||Ty(a))&&(v=m/o),[m,v]}var y=null,b=null;if(vs(s)?y=Yi(s,r.width):a&&vs(a)&&(b=Yi(a,r.height)),y!==null&&(!a||Ty(a))&&(b=u&&f?y/n*i:r.height),b!==null&&Ty(s)&&(y=u&&f?b/i*n:r.width),y!==null&&b!==null)return[y,b];throw new Error("Unable to calculate background-size for element")},zy=function(t,e){var r=t[e];return typeof r>"u"?t[0]:r},por=function(t,e,r,n,i){var o=e[0],s=e[1],a=r[0],l=r[1];switch(t){case 2:return[new pr(Math.round(n.left),Math.round(n.top+s)),new pr(Math.round(n.left+n.width),Math.round(n.top+s)),new pr(Math.round(n.left+n.width),Math.round(l+n.top+s)),new pr(Math.round(n.left),Math.round(l+n.top+s))];case 3:return[new pr(Math.round(n.left+o),Math.round(n.top)),new pr(Math.round(n.left+o+a),Math.round(n.top)),new pr(Math.round(n.left+o+a),Math.round(n.height+n.top)),new pr(Math.round(n.left+o),Math.round(n.height+n.top))];case 1:return[new pr(Math.round(n.left+o),Math.round(n.top+s)),new pr(Math.round(n.left+o+a),Math.round(n.top+s)),new pr(Math.round(n.left+o+a),Math.round(n.top+s+l)),new pr(Math.round(n.left+o),Math.round(n.top+s+l))];default:return[new pr(Math.round(i.left),Math.round(i.top)),new pr(Math.round(i.left+i.width),Math.round(i.top)),new pr(Math.round(i.left+i.width),Math.round(i.height+i.top)),new pr(Math.round(i.left),Math.round(i.height+i.top))]}},Aor="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",_ve="Hidden Text",hor=function(){function t(e){this._data={},this._document=e}return t.prototype.parseMetrics=function(e,r){var n=this._document.createElement("div"),i=this._document.createElement("img"),o=this._document.createElement("span"),s=this._document.body;n.style.visibility="hidden",n.style.fontFamily=e,n.style.fontSize=r,n.style.margin="0",n.style.padding="0",n.style.whiteSpace="nowrap",s.appendChild(n),i.src=Aor,i.width=1,i.height=1,i.style.margin="0",i.style.padding="0",i.style.verticalAlign="baseline",o.style.fontFamily=e,o.style.fontSize=r,o.style.margin="0",o.style.padding="0",o.appendChild(this._document.createTextNode(_ve)),n.appendChild(o),n.appendChild(i);var a=i.offsetTop-o.offsetTop+2;n.removeChild(o),n.appendChild(this._document.createTextNode(_ve)),n.style.lineHeight="normal",i.style.verticalAlign="super";var l=i.offsetTop-n.offsetTop+2;return s.removeChild(n),{baseline:a,middle:l}},t.prototype.getMetrics=function(e,r){var n=e+" "+r;return typeof this._data[n]>"u"&&(this._data[n]=this.parseMetrics(e,r)),this._data[n]},t}(),sMe=function(){function t(e,r){this.context=e,this.options=r}return t}(),mor=1e4,gor=function(t){cd(e,t);function e(r,n){var i=t.call(this,r,n)||this;return i._activeEffects=[],i.canvas=n.canvas?n.canvas:document.createElement("canvas"),i.ctx=i.canvas.getContext("2d"),n.canvas||(i.canvas.width=Math.floor(n.width*n.scale),i.canvas.height=Math.floor(n.height*n.scale),i.canvas.style.width=n.width+"px",i.canvas.style.height=n.height+"px"),i.fontMetrics=new hor(document),i.ctx.scale(i.options.scale,i.options.scale),i.ctx.translate(-n.x,-n.y),i.ctx.textBaseline="bottom",i._activeEffects=[],i.context.logger.debug("Canvas renderer initialized ("+n.width+"x"+n.height+") with scale "+n.scale),i}return e.prototype.applyEffects=function(r){for(var n=this;this._activeEffects.length;)this.popEffect();r.forEach(function(i){return n.applyEffect(i)})},e.prototype.applyEffect=function(r){this.ctx.save(),nor(r)&&(this.ctx.globalAlpha=r.opacity),ror(r)&&(this.ctx.translate(r.offsetX,r.offsetY),this.ctx.transform(r.matrix[0],r.matrix[1],r.matrix[2],r.matrix[3],r.matrix[4],r.matrix[5]),this.ctx.translate(-r.offsetX,-r.offsetY)),tMe(r)&&(this.path(r.path),this.ctx.clip()),this._activeEffects.push(r)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(r){return ll(this,void 0,void 0,function(){var n;return Ua(this,function(i){switch(i.label){case 0:return n=r.element.container.styles,n.isVisible()?[4,this.renderStackContent(r)]:[3,2];case 1:i.sent(),i.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(r){return ll(this,void 0,void 0,function(){return Ua(this,function(n){switch(n.label){case 0:if(Ts(r.container.flags,16))debugger;return r.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(r)]:[3,3];case 1:return n.sent(),[4,this.renderNodeContent(r)];case 2:n.sent(),n.label=3;case 3:return[2]}})})},e.prototype.renderTextWithLetterSpacing=function(r,n,i){var o=this;if(n===0)this.ctx.fillText(r.text,r.bounds.left,r.bounds.top+i);else{var s=_te(r.text);s.reduce(function(a,l){return o.ctx.fillText(l,a,r.bounds.top+i),a+o.ctx.measureText(l).width},r.bounds.left)}},e.prototype.createFontStyle=function(r){var n=r.fontVariant.filter(function(s){return s==="normal"||s==="small-caps"}).join(""),i=bor(r.fontFamily).join(", "),o=Hx(r.fontSize)?""+r.fontSize.number+r.fontSize.unit:r.fontSize.number+"px";return[[r.fontStyle,n,r.fontWeight,o,i].join(" "),i,o]},e.prototype.renderTextNode=function(r,n){return ll(this,void 0,void 0,function(){var i,o,s,a,l,c,u,f,d=this;return Ua(this,function(p){return i=this.createFontStyle(n),o=i[0],s=i[1],a=i[2],this.ctx.font=o,this.ctx.direction=n.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",l=this.fontMetrics.getMetrics(s,a),c=l.baseline,u=l.middle,f=n.paintOrder,r.textBounds.forEach(function(h){f.forEach(function(A){switch(A){case 0:d.ctx.fillStyle=Gs(n.color),d.renderTextWithLetterSpacing(h,n.letterSpacing,c);var g=n.textShadow;g.length&&h.text.trim().length&&(g.slice(0).reverse().forEach(function(m){d.ctx.shadowColor=Gs(m.color),d.ctx.shadowOffsetX=m.offsetX.number*d.options.scale,d.ctx.shadowOffsetY=m.offsetY.number*d.options.scale,d.ctx.shadowBlur=m.blur.number,d.renderTextWithLetterSpacing(h,n.letterSpacing,c)}),d.ctx.shadowColor="",d.ctx.shadowOffsetX=0,d.ctx.shadowOffsetY=0,d.ctx.shadowBlur=0),n.textDecorationLine.length&&(d.ctx.fillStyle=Gs(n.textDecorationColor||n.color),n.textDecorationLine.forEach(function(m){switch(m){case 1:d.ctx.fillRect(h.bounds.left,Math.round(h.bounds.top+c),h.bounds.width,1);break;case 2:d.ctx.fillRect(h.bounds.left,Math.round(h.bounds.top),h.bounds.width,1);break;case 3:d.ctx.fillRect(h.bounds.left,Math.ceil(h.bounds.top+u),h.bounds.width,1);break}}));break;case 1:n.webkitTextStrokeWidth&&h.text.trim().length&&(d.ctx.strokeStyle=Gs(n.webkitTextStrokeColor),d.ctx.lineWidth=n.webkitTextStrokeWidth,d.ctx.lineJoin=window.chrome?"miter":"round",d.ctx.strokeText(h.text,h.bounds.left,h.bounds.top+c)),d.ctx.strokeStyle="",d.ctx.lineWidth=0,d.ctx.lineJoin="miter";break}})}),[2]})})},e.prototype.renderReplacedElement=function(r,n,i){if(i&&r.intrinsicWidth>0&&r.intrinsicHeight>0){var o=wP(r),s=bP(n);this.path(s),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(i,0,0,r.intrinsicWidth,r.intrinsicHeight,o.left,o.top,o.width,o.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(r){return ll(this,void 0,void 0,function(){var n,i,o,s,a,l,v,v,c,u,f,d,b,p,h,B,A,g,m,v,y,b,B;return Ua(this,function(S){switch(S.label){case 0:this.applyEffects(r.getEffects(4)),n=r.container,i=r.curves,o=n.styles,s=0,a=n.textNodes,S.label=1;case 1:return s<a.length?(l=a[s],[4,this.renderTextNode(l,o)]):[3,4];case 2:S.sent(),S.label=3;case 3:return s++,[3,1];case 4:if(!(n instanceof _Re))return[3,8];S.label=5;case 5:return S.trys.push([5,7,,8]),[4,this.context.cache.match(n.src)];case 6:return v=S.sent(),this.renderReplacedElement(n,i,v),[3,8];case 7:return S.sent(),this.context.logger.error("Error loading image "+n.src),[3,8];case 8:if(n instanceof jRe&&this.renderReplacedElement(n,i,n.canvas),!(n instanceof URe))return[3,12];S.label=9;case 9:return S.trys.push([9,11,,12]),[4,this.context.cache.match(n.svg)];case 10:return v=S.sent(),this.renderReplacedElement(n,i,v),[3,12];case 11:return S.sent(),this.context.logger.error("Error loading svg "+n.svg.substring(0,255)),[3,12];case 12:return n instanceof HRe&&n.tree?(c=new e(this.context,{scale:this.options.scale,backgroundColor:n.backgroundColor,x:0,y:0,width:n.width,height:n.height}),[4,c.render(n.tree)]):[3,14];case 13:u=S.sent(),n.width&&n.height&&this.ctx.drawImage(u,0,0,n.width,n.height,n.bounds.left,n.bounds.top,n.bounds.width,n.bounds.height),S.label=14;case 14:if(n instanceof jte&&(f=Math.min(n.bounds.width,n.bounds.height),n.type===gP?n.checked&&(this.ctx.save(),this.path([new pr(n.bounds.left+f*.39363,n.bounds.top+f*.79),new pr(n.bounds.left+f*.16,n.bounds.top+f*.5549),new pr(n.bounds.left+f*.27347,n.bounds.top+f*.44071),new pr(n.bounds.left+f*.39694,n.bounds.top+f*.5649),new pr(n.bounds.left+f*.72983,n.bounds.top+f*.23),new pr(n.bounds.left+f*.84,n.bounds.top+f*.34085),new pr(n.bounds.left+f*.39363,n.bounds.top+f*.79)]),this.ctx.fillStyle=Gs(Sve),this.ctx.fill(),this.ctx.restore()):n.type===vP&&n.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(n.bounds.left+f/2,n.bounds.top+f/2,f/4,0,Math.PI*2,!0),this.ctx.fillStyle=Gs(Sve),this.ctx.fill(),this.ctx.restore())),vor(n)&&n.value.length){switch(d=this.createFontStyle(o),b=d[0],p=d[1],h=this.fontMetrics.getMetrics(b,p).baseline,this.ctx.font=b,this.ctx.fillStyle=Gs(o.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Bor(n.styles.textAlign),B=wP(n),A=0,n.styles.textAlign){case 1:A+=B.width/2;break;case 2:A+=B.width;break}g=B.add(A,0,0,-B.height/2+1),this.ctx.save(),this.path([new pr(B.left,B.top),new pr(B.left+B.width,B.top),new pr(B.left+B.width,B.top+B.height),new pr(B.left,B.top+B.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new V5(n.value,g),o.letterSpacing,h),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Ts(n.styles.display,2048))return[3,20];if(n.styles.listStyleImage===null)return[3,19];if(m=n.styles.listStyleImage,m.type!==0)return[3,18];v=void 0,y=m.url,S.label=15;case 15:return S.trys.push([15,17,,18]),[4,this.context.cache.match(y)];case 16:return v=S.sent(),this.ctx.drawImage(v,n.bounds.left-(v.width+10),n.bounds.top),[3,18];case 17:return S.sent(),this.context.logger.error("Error loading list-style-image "+y),[3,18];case 18:return[3,20];case 19:r.listValue&&n.styles.listStyleType!==-1&&(b=this.createFontStyle(o)[0],this.ctx.font=b,this.ctx.fillStyle=Gs(o.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",B=new vh(n.bounds.left,n.bounds.top+Yi(n.styles.paddingTop,n.bounds.width),n.bounds.width,lve(o.lineHeight,o.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new V5(r.listValue,B),o.letterSpacing,lve(o.lineHeight,o.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),S.label=20;case 20:return[2]}})})},e.prototype.renderStackContent=function(r){return ll(this,void 0,void 0,function(){var n,i,m,o,s,m,a,l,m,c,u,m,f,d,m,p,h,m,A,g,m;return Ua(this,function(v){switch(v.label){case 0:if(Ts(r.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(r.element)];case 1:v.sent(),n=0,i=r.negativeZIndex,v.label=2;case 2:return n<i.length?(m=i[n],[4,this.renderStack(m)]):[3,5];case 3:v.sent(),v.label=4;case 4:return n++,[3,2];case 5:return[4,this.renderNodeContent(r.element)];case 6:v.sent(),o=0,s=r.nonInlineLevel,v.label=7;case 7:return o<s.length?(m=s[o],[4,this.renderNode(m)]):[3,10];case 8:v.sent(),v.label=9;case 9:return o++,[3,7];case 10:a=0,l=r.nonPositionedFloats,v.label=11;case 11:return a<l.length?(m=l[a],[4,this.renderStack(m)]):[3,14];case 12:v.sent(),v.label=13;case 13:return a++,[3,11];case 14:c=0,u=r.nonPositionedInlineLevel,v.label=15;case 15:return c<u.length?(m=u[c],[4,this.renderStack(m)]):[3,18];case 16:v.sent(),v.label=17;case 17:return c++,[3,15];case 18:f=0,d=r.inlineLevel,v.label=19;case 19:return f<d.length?(m=d[f],[4,this.renderNode(m)]):[3,22];case 20:v.sent(),v.label=21;case 21:return f++,[3,19];case 22:p=0,h=r.zeroOrAutoZIndexOrTransformedOrOpacity,v.label=23;case 23:return p<h.length?(m=h[p],[4,this.renderStack(m)]):[3,26];case 24:v.sent(),v.label=25;case 25:return p++,[3,23];case 26:A=0,g=r.positiveZIndex,v.label=27;case 27:return A<g.length?(m=g[A],[4,this.renderStack(m)]):[3,30];case 28:v.sent(),v.label=29;case 29:return A++,[3,27];case 30:return[2]}})})},e.prototype.mask=function(r){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(r.slice(0).reverse()),this.ctx.closePath()},e.prototype.path=function(r){this.ctx.beginPath(),this.formatPath(r),this.ctx.closePath()},e.prototype.formatPath=function(r){var n=this;r.forEach(function(i,o){var s=Cu(i)?i.start:i;o===0?n.ctx.moveTo(s.x,s.y):n.ctx.lineTo(s.x,s.y),Cu(i)&&n.ctx.bezierCurveTo(i.startControl.x,i.startControl.y,i.endControl.x,i.endControl.y,i.end.x,i.end.y)})},e.prototype.renderRepeat=function(r,n,i,o){this.path(r),this.ctx.fillStyle=n,this.ctx.translate(i,o),this.ctx.fill(),this.ctx.translate(-i,-o)},e.prototype.resizeImage=function(r,n,i){var o;if(r.width===n&&r.height===i)return r;var s=(o=this.canvas.ownerDocument)!==null&&o!==void 0?o:document,a=s.createElement("canvas");a.width=Math.max(1,n),a.height=Math.max(1,i);var l=a.getContext("2d");return l.drawImage(r,0,0,r.width,r.height,0,0,n,i),a},e.prototype.renderBackgroundImage=function(r){return ll(this,void 0,void 0,function(){var n,i,o,s,a,l;return Ua(this,function(c){switch(c.label){case 0:n=r.styles.backgroundImage.length-1,i=function(u){var f,d,p,F,V,j,L,M,x,h,F,V,j,L,M,A,g,m,v,y,b,B,S,w,x,I,F,k,O,L,M,H,V,j,R,Q,z,X,_,G,W,J;return Ua(this,function(ee){switch(ee.label){case 0:if(u.type!==0)return[3,5];f=void 0,d=u.url,ee.label=1;case 1:return ee.trys.push([1,3,,4]),[4,o.context.cache.match(d)];case 2:return f=ee.sent(),[3,4];case 3:return ee.sent(),o.context.logger.error("Error loading background-image "+d),[3,4];case 4:return f&&(p=JU(r,n,[f.width,f.height,f.width/f.height]),F=p[0],V=p[1],j=p[2],L=p[3],M=p[4],x=o.ctx.createPattern(o.resizeImage(f,L,M),"repeat"),o.renderRepeat(F,x,V,j)),[3,6];case 5:rrr(u)?(h=JU(r,n,[null,null,null]),F=h[0],V=h[1],j=h[2],L=h[3],M=h[4],A=Ytr(u.angle,L,M),g=A[0],m=A[1],v=A[2],y=A[3],b=A[4],B=document.createElement("canvas"),B.width=L,B.height=M,S=B.getContext("2d"),w=S.createLinearGradient(m,y,v,b),sve(u.stops,g).forEach(function(q){return w.addColorStop(q.stop,Gs(q.color))}),S.fillStyle=w,S.fillRect(0,0,L,M),L>0&&M>0&&(x=o.ctx.createPattern(B,"repeat"),o.renderRepeat(F,x,V,j))):nrr(u)&&(I=JU(r,n,[null,null,null]),F=I[0],k=I[1],O=I[2],L=I[3],M=I[4],H=u.position.length===0?[Lte]:u.position,V=Yi(H[0],L),j=Yi(H[H.length-1],M),R=Jtr(u,V,j,L,M),Q=R[0],z=R[1],Q>0&&z>0&&(X=o.ctx.createRadialGradient(k+V,O+j,0,k+V,O+j,Q),sve(u.stops,Q*2).forEach(function(q){return X.addColorStop(q.stop,Gs(q.color))}),o.path(F),o.ctx.fillStyle=X,Q!==z?(_=r.bounds.left+.5*r.bounds.width,G=r.bounds.top+.5*r.bounds.height,W=z/Q,J=1/W,o.ctx.save(),o.ctx.translate(_,G),o.ctx.transform(1,0,0,W,0,0),o.ctx.translate(-_,-G),o.ctx.fillRect(k,J*(O-G)+G,L,M*J),o.ctx.restore()):o.ctx.fill())),ee.label=6;case 6:return n--,[2]}})},o=this,s=0,a=r.styles.backgroundImage.slice(0).reverse(),c.label=1;case 1:return s<a.length?(l=a[s],[5,i(l)]):[3,4];case 2:c.sent(),c.label=3;case 3:return s++,[3,1];case 4:return[2]}})})},e.prototype.renderSolidBorder=function(r,n,i){return ll(this,void 0,void 0,function(){return Ua(this,function(o){return this.path(Mve(i,n)),this.ctx.fillStyle=Gs(r),this.ctx.fill(),[2]})})},e.prototype.renderDoubleBorder=function(r,n,i,o){return ll(this,void 0,void 0,function(){var s,a;return Ua(this,function(l){switch(l.label){case 0:return n<3?[4,this.renderSolidBorder(r,i,o)]:[3,2];case 1:return l.sent(),[2];case 2:return s=sor(o,i),this.path(s),this.ctx.fillStyle=Gs(r),this.ctx.fill(),a=aor(o,i),this.path(a),this.ctx.fill(),[2]}})})},e.prototype.renderNodeBackgroundAndBorders=function(r){return ll(this,void 0,void 0,function(){var n,i,o,s,a,l,c,u,f=this;return Ua(this,function(d){switch(d.label){case 0:return this.applyEffects(r.getEffects(2)),n=r.container.styles,i=!fm(n.backgroundColor)||n.backgroundImage.length,o=[{style:n.borderTopStyle,color:n.borderTopColor,width:n.borderTopWidth},{style:n.borderRightStyle,color:n.borderRightColor,width:n.borderRightWidth},{style:n.borderBottomStyle,color:n.borderBottomColor,width:n.borderBottomWidth},{style:n.borderLeftStyle,color:n.borderLeftColor,width:n.borderLeftWidth}],s=yor(zy(n.backgroundClip,0),r.curves),i||n.boxShadow.length?(this.ctx.save(),this.path(s),this.ctx.clip(),fm(n.backgroundColor)||(this.ctx.fillStyle=Gs(n.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(r.container)]):[3,2];case 1:d.sent(),this.ctx.restore(),n.boxShadow.slice(0).reverse().forEach(function(p){f.ctx.save();var h=CP(r.curves),A=p.inset?0:mor,g=ior(h,-A+(p.inset?1:-1)*p.spread.number,(p.inset?1:-1)*p.spread.number,p.spread.number*(p.inset?-2:2),p.spread.number*(p.inset?-2:2));p.inset?(f.path(h),f.ctx.clip(),f.mask(g)):(f.mask(h),f.ctx.clip(),f.path(g)),f.ctx.shadowOffsetX=p.offsetX.number+A,f.ctx.shadowOffsetY=p.offsetY.number,f.ctx.shadowColor=Gs(p.color),f.ctx.shadowBlur=p.blur.number,f.ctx.fillStyle=p.inset?Gs(p.color):"rgba(0,0,0,1)",f.ctx.fill(),f.ctx.restore()}),d.label=2;case 2:a=0,l=0,c=o,d.label=3;case 3:return l<c.length?(u=c[l],u.style!==0&&!fm(u.color)&&u.width>0?u.style!==2?[3,5]:[4,this.renderDashedDottedBorder(u.color,u.width,a,r.curves,2)]:[3,11]):[3,13];case 4:return d.sent(),[3,11];case 5:return u.style!==3?[3,7]:[4,this.renderDashedDottedBorder(u.color,u.width,a,r.curves,3)];case 6:return d.sent(),[3,11];case 7:return u.style!==4?[3,9]:[4,this.renderDoubleBorder(u.color,u.width,a,r.curves)];case 8:return d.sent(),[3,11];case 9:return[4,this.renderSolidBorder(u.color,a,r.curves)];case 10:d.sent(),d.label=11;case 11:a++,d.label=12;case 12:return l++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(r,n,i,o,s){return ll(this,void 0,void 0,function(){var a,l,c,u,f,d,p,h,A,g,m,v,y,b,B,S,B,S;return Ua(this,function(w){return this.ctx.save(),a=lor(o,i),l=Mve(o,i),s===2&&(this.path(l),this.ctx.clip()),Cu(l[0])?(c=l[0].start.x,u=l[0].start.y):(c=l[0].x,u=l[0].y),Cu(l[1])?(f=l[1].end.x,d=l[1].end.y):(f=l[1].x,d=l[1].y),i===0||i===2?p=Math.abs(c-f):p=Math.abs(u-d),this.ctx.beginPath(),s===3?this.formatPath(a):this.formatPath(l.slice(0,2)),h=n<3?n*3:n*2,A=n<3?n*2:n,s===3&&(h=n,A=n),g=!0,p<=h*2?g=!1:p<=h*2+A?(m=p/(2*h+A),h*=m,A*=m):(v=Math.floor((p+A)/(h+A)),y=(p-v*h)/(v-1),b=(p-(v+1)*h)/v,A=b<=0||Math.abs(A-y)<Math.abs(A-b)?y:b),g&&(s===3?this.ctx.setLineDash([0,h+A]):this.ctx.setLineDash([h,A])),s===3?(this.ctx.lineCap="round",this.ctx.lineWidth=n):this.ctx.lineWidth=n*2+1.1,this.ctx.strokeStyle=Gs(r),this.ctx.stroke(),this.ctx.setLineDash([]),s===2&&(Cu(l[0])&&(B=l[3],S=l[0],this.ctx.beginPath(),this.formatPath([new pr(B.end.x,B.end.y),new pr(S.start.x,S.start.y)]),this.ctx.stroke()),Cu(l[1])&&(B=l[1],S=l[2],this.ctx.beginPath(),this.formatPath([new pr(B.end.x,B.end.y),new pr(S.start.x,S.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},e.prototype.render=function(r){return ll(this,void 0,void 0,function(){var n;return Ua(this,function(i){switch(i.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=Gs(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),n=oor(r),[4,this.renderStack(n)];case 1:return i.sent(),this.applyEffects([]),[2,this.canvas]}})})},e}(sMe),vor=function(t){return t instanceof $Re||t instanceof VRe?!0:t instanceof jte&&t.type!==vP&&t.type!==gP},yor=function(t,e){switch(t){case 0:return CP(e);case 2:return Zir(e);case 1:default:return bP(e)}},Bor=function(t){switch(t){case 1:return"center";case 2:return"right";case 0:default:return"left"}},Cor=["-apple-system","system-ui"],bor=function(t){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?t.filter(function(e){return Cor.indexOf(e)===-1}):t},wor=function(t){cd(e,t);function e(r,n){var i=t.call(this,r,n)||this;return i.canvas=n.canvas?n.canvas:document.createElement("canvas"),i.ctx=i.canvas.getContext("2d"),i.options=n,i.canvas.width=Math.floor(n.width*n.scale),i.canvas.height=Math.floor(n.height*n.scale),i.canvas.style.width=n.width+"px",i.canvas.style.height=n.height+"px",i.ctx.scale(i.options.scale,i.options.scale),i.ctx.translate(-n.x,-n.y),i.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+n.width+"x"+n.height+" at "+n.x+","+n.y+") with scale "+n.scale),i}return e.prototype.render=function(r){return ll(this,void 0,void 0,function(){var n,i;return Ua(this,function(o){switch(o.label){case 0:return n=wq(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,r),[4,xor(n)];case 1:return i=o.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=Gs(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(i,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},e}(sMe),xor=function(t){return new Promise(function(e,r){var n=new Image;n.onload=function(){e(n)},n.onerror=r,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(t))})},Sor=function(){function t(e){var r=e.id,n=e.enabled;this.id=r,this.enabled=n,this.start=Date.now()}return t.prototype.debug=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,iE([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},t.prototype.getTime=function(){return Date.now()-this.start},t.prototype.info=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,iE([this.id,this.getTime()+"ms"],e))},t.prototype.warn=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,iE([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},t.prototype.error=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,iE([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},t.instances={},t}(),Eor=function(){function t(e,r){var n;this.windowBounds=r,this.instanceName="#"+t.instanceCount++,this.logger=new Sor({id:this.instanceName,enabled:e.logging}),this.cache=(n=e.cache)!==null&&n!==void 0?n:new Gir(this,e)}return t.instanceCount=1,t}(),aMe=function(t,e){return e===void 0&&(e={}),Dor(t,e)};typeof window<"u"&&eMe.setContext(window);var Dor=function(t,e){return ll(void 0,void 0,void 0,function(){var r,n,i,o,s,a,l,c,u,f,d,p,h,A,g,m,v,y,b,B,w,S,w,x,I,F,k,O,L,M,H,V,j,R,Q,z,X,_,G,W;return Ua(this,function(J){switch(J.label){case 0:if(!t||typeof t!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(r=t.ownerDocument,!r)throw new Error("Element is not attached to a Document");if(n=r.defaultView,!n)throw new Error("Document is not attached to a Window");return i={allowTaint:(x=e.allowTaint)!==null&&x!==void 0?x:!1,imageTimeout:(I=e.imageTimeout)!==null&&I!==void 0?I:15e3,proxy:e.proxy,useCORS:(F=e.useCORS)!==null&&F!==void 0?F:!1},o=lq({logging:(k=e.logging)!==null&&k!==void 0?k:!0,cache:e.cache},i),s={windowWidth:(O=e.windowWidth)!==null&&O!==void 0?O:n.innerWidth,windowHeight:(L=e.windowHeight)!==null&&L!==void 0?L:n.innerHeight,scrollX:(M=e.scrollX)!==null&&M!==void 0?M:n.pageXOffset,scrollY:(H=e.scrollY)!==null&&H!==void 0?H:n.pageYOffset},a=new vh(s.scrollX,s.scrollY,s.windowWidth,s.windowHeight),l=new Eor(o,a),c=(V=e.foreignObjectRendering)!==null&&V!==void 0?V:!1,u={allowTaint:(j=e.allowTaint)!==null&&j!==void 0?j:!1,onclone:e.onclone,ignoreElements:e.ignoreElements,inlineImages:c,copyStyles:c},l.logger.debug("Starting document clone with size "+a.width+"x"+a.height+" scrolled to "+-a.left+","+-a.top),f=new Tve(l,t,u),d=f.clonedReferenceElement,d?[4,f.toIFrame(r,a)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return p=J.sent(),h=Ute(d)||kir(d)?ier(d.ownerDocument):ZN(l,d),A=h.width,g=h.height,m=h.left,v=h.top,y=kor(l,d,e.backgroundColor),b={canvas:e.canvas,backgroundColor:y,scale:(Q=(R=e.scale)!==null&&R!==void 0?R:n.devicePixelRatio)!==null&&Q!==void 0?Q:1,x:((z=e.x)!==null&&z!==void 0?z:0)+m,y:((X=e.y)!==null&&X!==void 0?X:0)+v,width:(_=e.width)!==null&&_!==void 0?_:Math.ceil(A),height:(G=e.height)!==null&&G!==void 0?G:Math.ceil(g)},c?(l.logger.debug("Document cloned, using foreign object rendering"),w=new wor(l,b),[4,w.render(d)]):[3,3];case 2:return B=J.sent(),[3,5];case 3:return l.logger.debug("Document cloned, element located at "+m+","+v+" with size "+A+"x"+g+" using computed rendering"),l.logger.debug("Starting DOM parsing"),S=WRe(l,d),y===S.styles.backgroundColor&&(S.styles.backgroundColor=zA.TRANSPARENT),l.logger.debug("Starting renderer for element at "+b.x+","+b.y+" with size "+b.width+"x"+b.height),w=new gor(l,b),[4,w.render(S)];case 4:B=J.sent(),J.label=5;case 5:return(!((W=e.removeContainer)!==null&&W!==void 0)||W)&&(Tve.destroy(p)||l.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),l.logger.debug("Finished rendering"),[2,B]}})})},kor=function(t,e,r){var n=e.ownerDocument,i=n.documentElement?U5(t,getComputedStyle(n.documentElement).backgroundColor):zA.TRANSPARENT,o=n.body?U5(t,getComputedStyle(n.body).backgroundColor):zA.TRANSPARENT,s=typeof r=="string"?U5(t,r):r===null?zA.TRANSPARENT:4294967295;return e===n.documentElement?fm(i)?fm(o)?s:o:i:s};const Oor=Object.freeze(Object.defineProperty({__proto__:null,default:aMe},Symbol.toStringTag,{value:"Module"})),Por="modulepreload",Ior=function(t){return"/wp-content/plugins/core-framework/dist/"+t},jve={},Pq=function(e,r,n){if(!r||r.length===0)return e();const i=document.getElementsByTagName("link");return Promise.all(r.map(o=>{if(o=Ior(o),o in jve)return;jve[o]=!0;const s=o.endsWith(".css"),a=s?'[rel="stylesheet"]':"";if(!!n)for(let u=i.length-1;u>=0;u--){const f=i[u];if(f.href===o&&(!s||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${a}`))return;const c=document.createElement("link");if(c.rel=s?"stylesheet":Por,s||(c.as="script",c.crossOrigin=""),c.href=o,document.head.appendChild(c),s)return new Promise((u,f)=>{c.addEventListener("load",u),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>e()).catch(o=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o})};function Ei(t){"@babel/helpers - typeof";return Ei=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ei(t)}var za=Uint8Array,Rc=Uint16Array,Qte=Int32Array,cF=new za([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),uF=new za([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Iq=new za([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),lMe=function(t,e){for(var r=new Rc(31),n=0;n<31;++n)r[n]=e+=1<<t[n-1];for(var i=new Qte(r[30]),n=1;n<30;++n)for(var o=r[n];o<r[n+1];++o)i[o]=o-r[n]<<5|n;return{b:r,r:i}},cMe=lMe(cF,2),uMe=cMe.b,Nq=cMe.r;uMe[28]=258,Nq[258]=28;var fMe=lMe(uF,0),Nor=fMe.b,Uve=fMe.r,Fq=new Rc(32768);for(var ao=0;ao<32768;++ao){var n0=(ao&43690)>>1|(ao&21845)<<1;n0=(n0&52428)>>2|(n0&13107)<<2,n0=(n0&61680)>>4|(n0&3855)<<4,Fq[ao]=((n0&65280)>>8|(n0&255)<<8)>>1}var Cp=function(t,e,r){for(var n=t.length,i=0,o=new Rc(e);i<n;++i)t[i]&&++o[t[i]-1];var s=new Rc(e);for(i=1;i<e;++i)s[i]=s[i-1]+o[i-1]<<1;var a;if(r){a=new Rc(1<<e);var l=15-e;for(i=0;i<n;++i)if(t[i])for(var c=i<<4|t[i],u=e-t[i],f=s[t[i]-1]++<<u,d=f|(1<<u)-1;f<=d;++f)a[Fq[f]>>l]=c}else for(a=new Rc(n),i=0;i<n;++i)t[i]&&(a[i]=Fq[s[t[i]-1]++]>>15-t[i]);return a},Fm=new za(288);for(var ao=0;ao<144;++ao)Fm[ao]=8;for(var ao=144;ao<256;++ao)Fm[ao]=9;for(var ao=256;ao<280;++ao)Fm[ao]=7;for(var ao=280;ao<288;++ao)Fm[ao]=8;var D3=new za(32);for(var ao=0;ao<32;++ao)D3[ao]=5;var For=Cp(Fm,9,0),Tor=Cp(Fm,9,1),Lor=Cp(D3,5,0),Ror=Cp(D3,5,1),ZU=function(t){for(var e=t[0],r=1;r<t.length;++r)t[r]>e&&(e=t[r]);return e},ff=function(t,e,r){var n=e/8|0;return(t[n]|t[n+1]<<8)>>(e&7)&r},eQ=function(t,e){var r=e/8|0;return(t[r]|t[r+1]<<8|t[r+2]<<16)>>(e&7)},Vte=function(t){return(t+7)/8|0},dMe=function(t,e,r){return(e==null||e<0)&&(e=0),(r==null||r>t.length)&&(r=t.length),new za(t.subarray(e,r))},Mor=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],vf=function(t,e,r){var n=new Error(e||Mor[t]);if(n.code=t,Error.captureStackTrace&&Error.captureStackTrace(n,vf),!r)throw n;return n},_or=function(t,e,r,n){var i=t.length,o=n?n.length:0;if(!i||e.f&&!e.l)return r||new za(0);var s=!r,a=s||e.i!=2,l=e.i;s&&(r=new za(i*3));var c=function(de){var ie=r.length;if(de>ie){var le=new za(Math.max(ie*2,de));le.set(r),r=le}},u=e.f||0,f=e.p||0,d=e.b||0,p=e.l,h=e.d,A=e.m,g=e.n,m=i*8;do{if(!p){u=ff(t,f,1);var v=ff(t,f+1,3);if(f+=3,v)if(v==1)p=Tor,h=Ror,A=9,g=5;else if(v==2){var S=ff(t,f,31)+257,w=ff(t,f+10,15)+4,x=S+ff(t,f+5,31)+1;f+=14;for(var I=new za(x),F=new za(19),k=0;k<w;++k)F[Iq[k]]=ff(t,f+k*3,7);f+=w*3;for(var O=ZU(F),L=(1<<O)-1,M=Cp(F,O,1),k=0;k<x;){var H=M[ff(t,f,L)];f+=H&15;var y=H>>4;if(y<16)I[k++]=y;else{var V=0,j=0;for(y==16?(j=3+ff(t,f,3),f+=2,V=I[k-1]):y==17?(j=3+ff(t,f,7),f+=3):y==18&&(j=11+ff(t,f,127),f+=7);j--;)I[k++]=V}}var R=I.subarray(0,S),Q=I.subarray(S);A=ZU(R),g=ZU(Q),p=Cp(R,A,1),h=Cp(Q,g,1)}else vf(1);else{var y=Vte(f)+4,b=t[y-4]|t[y-3]<<8,B=y+b;if(B>i){l&&vf(0);break}a&&c(d+b),r.set(t.subarray(y,B),d),e.b=d+=b,e.p=f=B*8,e.f=u;continue}if(f>m){l&&vf(0);break}}a&&c(d+131072);for(var z=(1<<A)-1,X=(1<<g)-1,_=f;;_=f){var V=p[eQ(t,f)&z],G=V>>4;if(f+=V&15,f>m){l&&vf(0);break}if(V||vf(2),G<256)r[d++]=G;else if(G==256){_=f,p=null;break}else{var W=G-254;if(G>264){var k=G-257,J=cF[k];W=ff(t,f,(1<<J)-1)+uMe[k],f+=J}var ee=h[eQ(t,f)&X],q=ee>>4;ee||vf(3),f+=ee&15;var Q=Nor[q];if(q>3){var J=uF[q];Q+=eQ(t,f)&(1<<J)-1,f+=J}if(f>m){l&&vf(0);break}a&&c(d+131072);var Z=d+W;if(d<Q){var re=o-Q,fe=Math.min(Q,Z);for(re+d<0&&vf(3);d<fe;++d)r[d]=n[re+d]}for(;d<Z;++d)r[d]=r[d-Q]}}e.l=p,e.p=_,e.b=d,e.f=u,p&&(u=1,e.m=A,e.d=h,e.n=g)}while(!u);return d!=r.length&&s?dMe(r,0,d):r.subarray(0,d)},dA=function(t,e,r){r<<=e&7;var n=e/8|0;t[n]|=r,t[n+1]|=r>>8},xw=function(t,e,r){r<<=e&7;var n=e/8|0;t[n]|=r,t[n+1]|=r>>8,t[n+2]|=r>>16},tQ=function(t,e){for(var r=[],n=0;n<t.length;++n)t[n]&&r.push({s:n,f:t[n]});var i=r.length,o=r.slice();if(!i)return{t:AMe,l:0};if(i==1){var s=new za(r[0].s+1);return s[r[0].s]=1,{t:s,l:1}}r.sort(function(B,S){return B.f-S.f}),r.push({s:-1,f:25001});var a=r[0],l=r[1],c=0,u=1,f=2;for(r[0]={s:-1,f:a.f+l.f,l:a,r:l};u!=i-1;)a=r[r[c].f<r[f].f?c++:f++],l=r[c!=u&&r[c].f<r[f].f?c++:f++],r[u++]={s:-1,f:a.f+l.f,l:a,r:l};for(var d=o[0].s,n=1;n<i;++n)o[n].s>d&&(d=o[n].s);var p=new Rc(d+1),h=Tq(r[u-1],p,0);if(h>e){var n=0,A=0,g=h-e,m=1<<g;for(o.sort(function(S,w){return p[w.s]-p[S.s]||S.f-w.f});n<i;++n){var v=o[n].s;if(p[v]>e)A+=m-(1<<h-p[v]),p[v]=e;else break}for(A>>=g;A>0;){var y=o[n].s;p[y]<e?A-=1<<e-p[y]++-1:++n}for(;n>=0&&A;--n){var b=o[n].s;p[b]==e&&(--p[b],++A)}h=e}return{t:new za(p),l:h}},Tq=function(t,e,r){return t.s==-1?Math.max(Tq(t.l,e,r+1),Tq(t.r,e,r+1)):e[t.s]=r},Qve=function(t){for(var e=t.length;e&&!t[--e];);for(var r=new Rc(++e),n=0,i=t[0],o=1,s=function(l){r[n++]=l},a=1;a<=e;++a)if(t[a]==i&&a!=e)++o;else{if(!i&&o>2){for(;o>138;o-=138)s(32754);o>2&&(s(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(s(i),--o;o>6;o-=6)s(8304);o>2&&(s(o-3<<5|8208),o=0)}for(;o--;)s(i);o=1,i=t[a]}return{c:r.subarray(0,n),n:e}},Sw=function(t,e){for(var r=0,n=0;n<e.length;++n)r+=t[n]*e[n];return r},pMe=function(t,e,r){var n=r.length,i=Vte(e+2);t[i]=n&255,t[i+1]=n>>8,t[i+2]=t[i]^255,t[i+3]=t[i+1]^255;for(var o=0;o<n;++o)t[i+o+4]=r[o];return(i+4+n)*8},Vve=function(t,e,r,n,i,o,s,a,l,c,u){dA(e,u++,r),++i[256];for(var f=tQ(i,15),d=f.t,p=f.l,h=tQ(o,15),A=h.t,g=h.l,m=Qve(d),v=m.c,y=m.n,b=Qve(A),B=b.c,S=b.n,w=new Rc(19),x=0;x<v.length;++x)++w[v[x]&31];for(var x=0;x<B.length;++x)++w[B[x]&31];for(var I=tQ(w,7),F=I.t,k=I.l,O=19;O>4&&!F[Iq[O-1]];--O);var L=c+5<<3,M=Sw(i,Fm)+Sw(o,D3)+s,H=Sw(i,d)+Sw(o,A)+s+14+3*O+Sw(w,F)+2*w[16]+3*w[17]+7*w[18];if(l>=0&&L<=M&&L<=H)return pMe(e,u,t.subarray(l,l+c));var V,j,R,Q;if(dA(e,u,1+(H<M)),u+=2,H<M){V=Cp(d,p,0),j=d,R=Cp(A,g,0),Q=A;var z=Cp(F,k,0);dA(e,u,y-257),dA(e,u+5,S-1),dA(e,u+10,O-4),u+=14;for(var x=0;x<O;++x)dA(e,u+3*x,F[Iq[x]]);u+=3*O;for(var X=[v,B],_=0;_<2;++_)for(var G=X[_],x=0;x<G.length;++x){var W=G[x]&31;dA(e,u,z[W]),u+=F[W],W>15&&(dA(e,u,G[x]>>5&127),u+=G[x]>>12)}}else V=For,j=Fm,R=Lor,Q=D3;for(var x=0;x<a;++x){var J=n[x];if(J>255){var W=J>>18&31;xw(e,u,V[W+257]),u+=j[W+257],W>7&&(dA(e,u,J>>23&31),u+=cF[W]);var ee=J&31;xw(e,u,R[ee]),u+=Q[ee],ee>3&&(xw(e,u,J>>5&8191),u+=uF[ee])}else xw(e,u,V[J]),u+=j[J]}return xw(e,u,V[256]),u+j[256]},jor=new Qte([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),AMe=new za(0),Uor=function(t,e,r,n,i,o){var s=o.z||t.length,a=new za(n+s+5*(1+Math.ceil(s/7e3))+i),l=a.subarray(n,a.length-i),c=o.l,u=(o.r||0)&7;if(e){u&&(l[0]=o.r>>3);for(var f=jor[e-1],d=f>>13,p=f&8191,h=(1<<r)-1,A=o.p||new Rc(32768),g=o.h||new Rc(h+1),m=Math.ceil(r/3),v=2*m,y=function(De){return(t[De]^t[De+1]<<m^t[De+2]<<v)&h},b=new Qte(25e3),B=new Rc(288),S=new Rc(32),w=0,x=0,I=o.i||0,F=0,k=o.w||0,O=0;I+2<s;++I){var L=y(I),M=I&32767,H=g[L];if(A[M]=H,g[L]=M,k<=I){var V=s-I;if((w>7e3||F>24576)&&(V>423||!c)){u=Vve(t,l,0,b,B,S,x,F,O,I-O,u),F=w=x=0,O=I;for(var j=0;j<286;++j)B[j]=0;for(var j=0;j<30;++j)S[j]=0}var R=2,Q=0,z=p,X=M-H&32767;if(V>2&&L==y(I-X))for(var _=Math.min(d,V)-1,G=Math.min(32767,I),W=Math.min(258,V);X<=G&&--z&&M!=H;){if(t[I+R]==t[I+R-X]){for(var J=0;J<W&&t[I+J]==t[I+J-X];++J);if(J>R){if(R=J,Q=X,J>_)break;for(var ee=Math.min(X,J-2),q=0,j=0;j<ee;++j){var Z=I-X+j&32767,re=A[Z],fe=Z-re&32767;fe>q&&(q=fe,H=Z)}}}M=H,H=A[M],X+=M-H&32767}if(Q){b[F++]=268435456|Nq[R]<<18|Uve[Q];var de=Nq[R]&31,ie=Uve[Q]&31;x+=cF[de]+uF[ie],++B[257+de],++S[ie],k=I+R,++w}else b[F++]=t[I],++B[t[I]]}}for(I=Math.max(I,k);I<s;++I)b[F++]=t[I],++B[t[I]];u=Vve(t,l,c,b,B,S,x,F,O,I-O,u),c||(o.r=u&7|l[u/8|0]<<3,u-=7,o.h=g,o.p=A,o.i=I,o.w=k)}else{for(var I=o.w||0;I<s+c;I+=65535){var le=I+65535;le>=s&&(l[u/8|0]=c,le=s),u=pMe(l,u+1,t.subarray(I,le))}o.i=s}return dMe(a,0,n+Vte(u)+i)},hMe=function(){var t=1,e=0;return{p:function(r){for(var n=t,i=e,o=r.length|0,s=0;s!=o;){for(var a=Math.min(s+2655,o);s<a;++s)i+=n+=r[s];n=(n&65535)+15*(n>>16),i=(i&65535)+15*(i>>16)}t=n,e=i},d:function(){return t%=65521,e%=65521,(t&255)<<24|(t&65280)<<8|(e&255)<<8|e>>8}}},Qor=function(t,e,r,n,i){if(!i&&(i={l:1},e.dictionary)){var o=e.dictionary.subarray(-32768),s=new za(o.length+t.length);s.set(o),s.set(t,o.length),t=s,i.w=o.length}return Uor(t,e.level==null?6:e.level,e.mem==null?i.l?Math.ceil(Math.max(8,Math.min(13,Math.log(t.length)))*1.5):20:12+e.mem,r,n,i)},mMe=function(t,e,r){for(;r;++e)t[e]=r,r>>>=8},Vor=function(t,e){var r=e.level,n=r==0?0:r<6?1:r==9?3:2;if(t[0]=120,t[1]=n<<6|(e.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,e.dictionary){var i=hMe();i.p(e.dictionary),mMe(t,2,i.d())}},$or=function(t,e){return((t[0]&15)!=8||t[0]>>4>7||(t[0]<<8|t[1])%31)&&vf(6,"invalid zlib data"),(t[1]>>5&1)==+!e&&vf(6,"invalid zlib data: "+(t[1]&32?"need":"unexpected")+" dictionary"),(t[1]>>3&4)+2};function Lq(t,e){e||(e={});var r=hMe();r.p(t);var n=Qor(t,e,e.dictionary?6:2,4);return Vor(n,e),mMe(n,n.length-4,r.d()),n}function Hor(t,e){return _or(t.subarray($or(t,e&&e.dictionary),-4),{i:2},e&&e.out,e&&e.dictionary)}var Gor=typeof TextDecoder<"u"&&new TextDecoder,Wor=0;try{Gor.decode(AMe,{stream:!0}),Wor=1}catch{}var Jr=function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this}();function rQ(){Jr.console&&typeof Jr.console.log=="function"&&Jr.console.log.apply(Jr.console,arguments)}var Qi={log:rQ,warn:function(t){Jr.console&&(typeof Jr.console.warn=="function"?Jr.console.warn.apply(Jr.console,arguments):rQ.call(null,arguments))},error:function(t){Jr.console&&(typeof Jr.console.error=="function"?Jr.console.error.apply(Jr.console,arguments):rQ(t))}};function nQ(t,e,r){var n=new XMLHttpRequest;n.open("GET",t),n.responseType="blob",n.onload=function(){_g(n.response,e,r)},n.onerror=function(){Qi.error("could not download file")},n.send()}function $ve(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch{}return e.status>=200&&e.status<=299}function DE(t){try{t.dispatchEvent(new MouseEvent("click"))}catch{var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var H5,Rq,_g=Jr.saveAs||((typeof window>"u"?"undefined":Ei(window))!=="object"||window!==Jr?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(t,e,r){var n=Jr.URL||Jr.webkitURL,i=document.createElement("a");e=e||t.name||"download",i.download=e,i.rel="noopener",typeof t=="string"?(i.href=t,i.origin!==location.origin?$ve(i.href)?nQ(t,e,r):DE(i,i.target="_blank"):DE(i)):(i.href=n.createObjectURL(t),setTimeout(function(){n.revokeObjectURL(i.href)},4e4),setTimeout(function(){DE(i)},0))}:"msSaveOrOpenBlob"in navigator?function(t,e,r){if(e=e||t.name||"download",typeof t=="string")if($ve(t))nQ(t,e,r);else{var n=document.createElement("a");n.href=t,n.target="_blank",setTimeout(function(){DE(n)})}else navigator.msSaveOrOpenBlob(function(i,o){return o===void 0?o={autoBom:!1}:Ei(o)!=="object"&&(Qi.warn("Deprecated: Expected third argument to be a object"),o={autoBom:!o}),o.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(i.type)?new Blob([String.fromCharCode(65279),i],{type:i.type}):i}(t,r),e)}:function(t,e,r,n){if((n=n||open("","_blank"))&&(n.document.title=n.document.body.innerText="downloading..."),typeof t=="string")return nQ(t,e,r);var i=t.type==="application/octet-stream",o=/constructor/i.test(Jr.HTMLElement)||Jr.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||i&&o)&&(typeof FileReader>"u"?"undefined":Ei(FileReader))==="object"){var a=new FileReader;a.onloadend=function(){var u=a.result;u=s?u:u.replace(/^data:[^;]*;/,"data:attachment/file;"),n?n.location.href=u:location=u,n=null},a.readAsDataURL(t)}else{var l=Jr.URL||Jr.webkitURL,c=l.createObjectURL(t);n?n.location=c:location.href=c,n=null,setTimeout(function(){l.revokeObjectURL(c)},4e4)}});/** * A class to parse color values * @author Stoyan Stefanov <sstoo@gmail.com> * {@link http://www.phpied.com/rgb-color-parser-in-javascript/} * @license Use it if you like it */function gMe(t){var e;t=t||"",this.ok=!1,t.charAt(0)=="#"&&(t=t.substr(1,6)),t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",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",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",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:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[t=(t=t.replace(/ /g,"")).toLowerCase()]||t;for(var r=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(a){return[parseInt(a[1]),parseInt(a[2]),parseInt(a[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(a){return[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(a){return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)]}}],n=0;n<r.length;n++){var i=r[n].re,o=r[n].process,s=i.exec(t);s&&(e=o(s),this.r=e[0],this.g=e[1],this.b=e[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var a=this.r.toString(16),l=this.g.toString(16),c=this.b.toString(16);return a.length==1&&(a="0"+a),l.length==1&&(l="0"+l),c.length==1&&(c="0"+c),"#"+a+l+c}}/** * @license * Joseph Myers does not specify a particular license for his work. * * Author: Joseph Myers * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js * * Modified by: Owen Leong */function iQ(t,e){var r=t[0],n=t[1],i=t[2],o=t[3];r=Ta(r,n,i,o,e[0],7,-680876936),o=Ta(o,r,n,i,e[1],12,-389564586),i=Ta(i,o,r,n,e[2],17,606105819),n=Ta(n,i,o,r,e[3],22,-1044525330),r=Ta(r,n,i,o,e[4],7,-176418897),o=Ta(o,r,n,i,e[5],12,1200080426),i=Ta(i,o,r,n,e[6],17,-1473231341),n=Ta(n,i,o,r,e[7],22,-45705983),r=Ta(r,n,i,o,e[8],7,1770035416),o=Ta(o,r,n,i,e[9],12,-1958414417),i=Ta(i,o,r,n,e[10],17,-42063),n=Ta(n,i,o,r,e[11],22,-1990404162),r=Ta(r,n,i,o,e[12],7,1804603682),o=Ta(o,r,n,i,e[13],12,-40341101),i=Ta(i,o,r,n,e[14],17,-1502002290),r=La(r,n=Ta(n,i,o,r,e[15],22,1236535329),i,o,e[1],5,-165796510),o=La(o,r,n,i,e[6],9,-1069501632),i=La(i,o,r,n,e[11],14,643717713),n=La(n,i,o,r,e[0],20,-373897302),r=La(r,n,i,o,e[5],5,-701558691),o=La(o,r,n,i,e[10],9,38016083),i=La(i,o,r,n,e[15],14,-660478335),n=La(n,i,o,r,e[4],20,-405537848),r=La(r,n,i,o,e[9],5,568446438),o=La(o,r,n,i,e[14],9,-1019803690),i=La(i,o,r,n,e[3],14,-187363961),n=La(n,i,o,r,e[8],20,1163531501),r=La(r,n,i,o,e[13],5,-1444681467),o=La(o,r,n,i,e[2],9,-51403784),i=La(i,o,r,n,e[7],14,1735328473),r=Ra(r,n=La(n,i,o,r,e[12],20,-1926607734),i,o,e[5],4,-378558),o=Ra(o,r,n,i,e[8],11,-2022574463),i=Ra(i,o,r,n,e[11],16,1839030562),n=Ra(n,i,o,r,e[14],23,-35309556),r=Ra(r,n,i,o,e[1],4,-1530992060),o=Ra(o,r,n,i,e[4],11,1272893353),i=Ra(i,o,r,n,e[7],16,-155497632),n=Ra(n,i,o,r,e[10],23,-1094730640),r=Ra(r,n,i,o,e[13],4,681279174),o=Ra(o,r,n,i,e[0],11,-358537222),i=Ra(i,o,r,n,e[3],16,-722521979),n=Ra(n,i,o,r,e[6],23,76029189),r=Ra(r,n,i,o,e[9],4,-640364487),o=Ra(o,r,n,i,e[12],11,-421815835),i=Ra(i,o,r,n,e[15],16,530742520),r=Ma(r,n=Ra(n,i,o,r,e[2],23,-995338651),i,o,e[0],6,-198630844),o=Ma(o,r,n,i,e[7],10,1126891415),i=Ma(i,o,r,n,e[14],15,-1416354905),n=Ma(n,i,o,r,e[5],21,-57434055),r=Ma(r,n,i,o,e[12],6,1700485571),o=Ma(o,r,n,i,e[3],10,-1894986606),i=Ma(i,o,r,n,e[10],15,-1051523),n=Ma(n,i,o,r,e[1],21,-2054922799),r=Ma(r,n,i,o,e[8],6,1873313359),o=Ma(o,r,n,i,e[15],10,-30611744),i=Ma(i,o,r,n,e[6],15,-1560198380),n=Ma(n,i,o,r,e[13],21,1309151649),r=Ma(r,n,i,o,e[4],6,-145523070),o=Ma(o,r,n,i,e[11],10,-1120210379),i=Ma(i,o,r,n,e[2],15,718787259),n=Ma(n,i,o,r,e[9],21,-343485551),t[0]=V0(r,t[0]),t[1]=V0(n,t[1]),t[2]=V0(i,t[2]),t[3]=V0(o,t[3])}function fF(t,e,r,n,i,o){return e=V0(V0(e,t),V0(n,o)),V0(e<<i|e>>>32-i,r)}function Ta(t,e,r,n,i,o,s){return fF(e&r|~e&n,t,e,i,o,s)}function La(t,e,r,n,i,o,s){return fF(e&n|r&~n,t,e,i,o,s)}function Ra(t,e,r,n,i,o,s){return fF(e^r^n,t,e,i,o,s)}function Ma(t,e,r,n,i,o,s){return fF(r^(e|~n),t,e,i,o,s)}function vMe(t){var e,r=t.length,n=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=t.length;e+=64)iQ(n,zor(t.substring(e-64,e)));t=t.substring(e-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<t.length;e++)i[e>>2]|=t.charCodeAt(e)<<(e%4<<3);if(i[e>>2]|=128<<(e%4<<3),e>55)for(iQ(n,i),e=0;e<16;e++)i[e]=0;return i[14]=8*r,iQ(n,i),n}function zor(t){var e,r=[];for(e=0;e<64;e+=4)r[e>>2]=t.charCodeAt(e)+(t.charCodeAt(e+1)<<8)+(t.charCodeAt(e+2)<<16)+(t.charCodeAt(e+3)<<24);return r}H5=Jr.atob.bind(Jr),Rq=Jr.btoa.bind(Jr);var Hve="0123456789abcdef".split("");function Kor(t){for(var e="",r=0;r<4;r++)e+=Hve[t>>8*r+4&15]+Hve[t>>8*r&15];return e}function qor(t){return String.fromCharCode((255&t)>>0,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function Mq(t){return vMe(t).map(qor).join("")}var Xor=function(t){for(var e=0;e<t.length;e++)t[e]=Kor(t[e]);return t.join("")}(vMe("hello"))!="5d41402abc4b2a76b9719d911017c592";function V0(t,e){if(Xor){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}return t+e&4294967295}/** * @license * FPDF is released under a permissive license: there is no usage restriction. * You may embed it freely in your application (commercial or not), with or * without modifications. * * Reference: http://www.fpdf.org/en/script/script37.php */function _q(t,e){var r,n,i,o;if(t!==r){for(var s=(i=t,o=1+(256/t.length>>0),new Array(o+1).join(i)),a=[],l=0;l<256;l++)a[l]=l;var c=0;for(l=0;l<256;l++){var u=a[l];c=(c+u+s.charCodeAt(l))%256,a[l]=a[c],a[c]=u}r=t,n=a}else a=n;var f=e.length,d=0,p=0,h="";for(l=0;l<f;l++)p=(p+(u=a[d=(d+1)%256]))%256,a[d]=a[p],a[p]=u,s=a[(a[d]+a[p])%256],h+=String.fromCharCode(e.charCodeAt(l)^s);return h}/** * @license * Licensed under the MIT License. * http://opensource.org/licenses/mit-license * Author: Owen Leong (@owenl131) * Date: 15 Oct 2020 * References: * https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt * https://github.com/foliojs/pdfkit/blob/master/lib/security.js * http://www.fpdf.org/en/script/script37.php */var Gve={print:4,modify:8,copy:16,"annot-forms":32};function Ky(t,e,r,n){this.v=1,this.r=2;var i=192;t.forEach(function(a){if(Gve.perm!==void 0)throw new Error("Invalid permission: "+a);i+=Gve[a]}),this.padding="(¿N^NuAd\0NVÿú\b..\0¶Ðh>/\f©þdSiz";var o=(e+this.padding).substr(0,32),s=(r+this.padding).substr(0,32);this.O=this.processOwnerPassword(o,s),this.P=-(1+(255^i)),this.encryptionKey=Mq(o+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(n)).substr(0,5),this.U=_q(this.encryptionKey,this.padding)}function qy(t){if(/[^\u0000-\u00ff]/.test(t))throw new Error("Invalid PDF Name Object: "+t+", Only accept ASCII characters.");for(var e="",r=t.length,n=0;n<r;n++){var i=t.charCodeAt(n);i<33||i===35||i===37||i===40||i===41||i===47||i===60||i===62||i===91||i===93||i===123||i===125||i>126?e+="#"+("0"+i.toString(16)).slice(-2):e+=t[n]}return e}function Wve(t){if(Ei(t)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var e={};this.subscribe=function(r,n,i){if(i=i||!1,typeof r!="string"||typeof n!="function"||typeof i!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");e.hasOwnProperty(r)||(e[r]={});var o=Math.random().toString(35);return e[r][o]=[n,!!i],o},this.unsubscribe=function(r){for(var n in e)if(e[n][r])return delete e[n][r],Object.keys(e[n]).length===0&&delete e[n],!0;return!1},this.publish=function(r){if(e.hasOwnProperty(r)){var n=Array.prototype.slice.call(arguments,1),i=[];for(var o in e[r]){var s=e[r][o];try{s[0].apply(t,n)}catch(a){Jr.console&&Qi.error("jsPDF PubSub Error",a.message,a)}s[1]&&i.push(o)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return e}}function xP(t){if(!(this instanceof xP))return new xP(t);var e="opacity,stroke-opacity".split(",");for(var r in t)t.hasOwnProperty(r)&&e.indexOf(r)>=0&&(this[r]=t[r]);this.id="",this.objectNumber=-1}function yMe(t,e){this.gState=t,this.matrix=e,this.id="",this.objectNumber=-1}function Gg(t,e,r,n,i){if(!(this instanceof Gg))return new Gg(t,e,r,n,i);this.type=t==="axial"?2:3,this.coords=e,this.colors=r,yMe.call(this,n,i)}function C2(t,e,r,n,i){if(!(this instanceof C2))return new C2(t,e,r,n,i);this.boundingBox=t,this.xStep=e,this.yStep=r,this.stream="",this.cloneIndex=0,yMe.call(this,n,i)}function qr(t){var e,r=typeof arguments[0]=="string"?arguments[0]:"p",n=arguments[1],i=arguments[2],o=arguments[3],s=[],a=1,l=16,c="S",u=null;Ei(t=t||{})==="object"&&(r=t.orientation,n=t.unit||n,i=t.format||i,o=t.compress||t.compressPdf||o,(u=t.encryption||null)!==null&&(u.userPassword=u.userPassword||"",u.ownerPassword=u.ownerPassword||"",u.userPermissions=u.userPermissions||[]),a=typeof t.userUnit=="number"?Math.abs(t.userUnit):1,t.precision!==void 0&&(e=t.precision),t.floatPrecision!==void 0&&(l=t.floatPrecision),c=t.defaultPathOperation||"S"),s=t.filters||(o===!0?["FlateEncode"]:s),n=n||"mm",r=(""+(r||"P")).toLowerCase();var f=t.putOnlyUsedFonts||!1,d={},p={internal:{},__private__:{}};p.__private__.PubSub=Wve;var h="1.3",A=p.__private__.getPdfVersion=function(){return h};p.__private__.setPdfVersion=function($){h=$};var g={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};p.__private__.getPageFormats=function(){return g};var m=p.__private__.getPageFormat=function($){return g[$]};i=i||"a4";var v={COMPAT:"compat",ADVANCED:"advanced"},y=v.COMPAT;function b(){this.saveGraphicsState(),ue(new ae(be,0,0,-be,0,Ih()*be).toString()+" cm"),this.setFontSize(this.getFontSize()/be),c="n",y=v.ADVANCED}function B(){this.restoreGraphicsState(),c="S",y=v.COMPAT}var S=p.__private__.combineFontStyleAndFontWeight=function($,ye){if($=="bold"&&ye=="normal"||$=="bold"&&ye==400||$=="normal"&&ye=="italic"||$=="bold"&&ye=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return ye&&($=ye==400||ye==="normal"?$==="italic"?"italic":"normal":ye!=700&&ye!=="bold"||$!=="normal"?(ye==700?"bold":ye)+""+$:"bold"),$};p.advancedAPI=function($){var ye=y===v.COMPAT;return ye&&b.call(this),typeof $!="function"||($(this),ye&&B.call(this)),this},p.compatAPI=function($){var ye=y===v.ADVANCED;return ye&&B.call(this),typeof $!="function"||($(this),ye&&b.call(this)),this},p.isAdvancedAPI=function(){return y===v.ADVANCED};var w,x=function($){if(y!==v.ADVANCED)throw new Error($+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},I=p.roundToPrecision=p.__private__.roundToPrecision=function($,ye){var Ue=e||ye;if(isNaN($)||isNaN(Ue))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return $.toFixed(Ue).replace(/0+$/,"")};w=p.hpf=p.__private__.hpf=typeof l=="number"?function($){if(isNaN($))throw new Error("Invalid argument passed to jsPDF.hpf");return I($,l)}:l==="smart"?function($){if(isNaN($))throw new Error("Invalid argument passed to jsPDF.hpf");return I($,$>-1&&$<1?16:5)}:function($){if(isNaN($))throw new Error("Invalid argument passed to jsPDF.hpf");return I($,16)};var F=p.f2=p.__private__.f2=function($){if(isNaN($))throw new Error("Invalid argument passed to jsPDF.f2");return I($,2)},k=p.__private__.f3=function($){if(isNaN($))throw new Error("Invalid argument passed to jsPDF.f3");return I($,3)},O=p.scale=p.__private__.scale=function($){if(isNaN($))throw new Error("Invalid argument passed to jsPDF.scale");return y===v.COMPAT?$*be:y===v.ADVANCED?$:void 0},L=function($){return y===v.COMPAT?Ih()-$:y===v.ADVANCED?$:void 0},M=function($){return O(L($))};p.__private__.setPrecision=p.setPrecision=function($){typeof parseInt($,10)=="number"&&(e=parseInt($,10))};var H,V="00000000000000000000000000000000",j=p.__private__.getFileId=function(){return V},R=p.__private__.setFileId=function($){return V=$!==void 0&&/^[a-fA-F0-9]{32}$/.test($)?$.toUpperCase():V.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),u!==null&&(Lo=new Ky(u.userPermissions,u.userPassword,u.ownerPassword,V)),V};p.setFileId=function($){return R($),this},p.getFileId=function(){return j()};var Q=p.__private__.convertDateToPDFDate=function($){var ye=$.getTimezoneOffset(),Ue=ye<0?"+":"-",We=Math.floor(Math.abs(ye/60)),rt=Math.abs(ye%60),bt=[Ue,W(We),"'",W(rt),"'"].join("");return["D:",$.getFullYear(),W($.getMonth()+1),W($.getDate()),W($.getHours()),W($.getMinutes()),W($.getSeconds()),bt].join("")},z=p.__private__.convertPDFDateToDate=function($){var ye=parseInt($.substr(2,4),10),Ue=parseInt($.substr(6,2),10)-1,We=parseInt($.substr(8,2),10),rt=parseInt($.substr(10,2),10),bt=parseInt($.substr(12,2),10),jt=parseInt($.substr(14,2),10);return new Date(ye,Ue,We,rt,bt,jt,0)},X=p.__private__.setCreationDate=function($){var ye;if($===void 0&&($=new Date),$ instanceof Date)ye=Q($);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test($))throw new Error("Invalid argument passed to jsPDF.setCreationDate");ye=$}return H=ye},_=p.__private__.getCreationDate=function($){var ye=H;return $==="jsDate"&&(ye=z(H)),ye};p.setCreationDate=function($){return X($),this},p.getCreationDate=function($){return _($)};var G,W=p.__private__.padd2=function($){return("0"+parseInt($)).slice(-2)},J=p.__private__.padd2Hex=function($){return("00"+($=$.toString())).substr($.length)},ee=0,q=[],Z=[],re=0,fe=[],de=[],ie=!1,le=Z,De=function(){ee=0,re=0,Z=[],q=[],fe=[],yt=Qe(),nt=Qe()};p.__private__.setCustomOutputDestination=function($){ie=!0,le=$};var Ae=function($){ie||(le=$)};p.__private__.resetCustomOutputDestination=function(){ie=!1,le=Z};var ue=p.__private__.out=function($){return $=$.toString(),re+=$.length+1,le.push($),le},Ne=p.__private__.write=function($){return ue(arguments.length===1?$.toString():Array.prototype.join.call(arguments," "))},Te=p.__private__.getArrayBuffer=function($){for(var ye=$.length,Ue=new ArrayBuffer(ye),We=new Uint8Array(Ue);ye--;)We[ye]=$.charCodeAt(ye);return Ue},Re=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];p.__private__.getStandardFonts=function(){return Re};var je=t.fontSize||16;p.__private__.setFontSize=p.setFontSize=function($){return je=y===v.ADVANCED?$/be:$,this};var Ve,ze=p.__private__.getFontSize=p.getFontSize=function(){return y===v.COMPAT?je:je*be},lt=t.R2L||!1;p.__private__.setR2L=p.setR2L=function($){return lt=$,this},p.__private__.getR2L=p.getR2L=function(){return lt};var gt,_t=p.__private__.setZoomMode=function($){var ye=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test($))Ve=$;else if(isNaN($)){if(ye.indexOf($)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+$+'" is not recognized.');Ve=$}else Ve=parseInt($,10)};p.__private__.getZoomMode=function(){return Ve};var U,D=p.__private__.setPageMode=function($){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf($)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+$+'" is not recognized.');gt=$};p.__private__.getPageMode=function(){return gt};var N=p.__private__.setLayoutMode=function($){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf($)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+$+'" is not recognized.');U=$};p.__private__.getLayoutMode=function(){return U},p.__private__.setDisplayMode=p.setDisplayMode=function($,ye,Ue){return _t($),N(ye),D(Ue),this};var Y={title:"",subject:"",author:"",keywords:"",creator:""};p.__private__.getDocumentProperty=function($){if(Object.keys(Y).indexOf($)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Y[$]},p.__private__.getDocumentProperties=function(){return Y},p.__private__.setDocumentProperties=p.setProperties=p.setDocumentProperties=function($){for(var ye in Y)Y.hasOwnProperty(ye)&&$[ye]&&(Y[ye]=$[ye]);return this},p.__private__.setDocumentProperty=function($,ye){if(Object.keys(Y).indexOf($)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Y[$]=ye};var pe,be,_e,he,Ee,ot={},At={},Ct=[],pt={},Bn={},jr={},yr={},Sr=null,Jt=0,Dt=[],ir=new Wve(p),xn=t.hotfixes||[],Ar={},Yr={},se=[],ae=function $(ye,Ue,We,rt,bt,jt){if(!(this instanceof $))return new $(ye,Ue,We,rt,bt,jt);isNaN(ye)&&(ye=1),isNaN(Ue)&&(Ue=0),isNaN(We)&&(We=0),isNaN(rt)&&(rt=1),isNaN(bt)&&(bt=0),isNaN(jt)&&(jt=0),this._matrix=[ye,Ue,We,rt,bt,jt]};Object.defineProperty(ae.prototype,"sx",{get:function(){return this._matrix[0]},set:function($){this._matrix[0]=$}}),Object.defineProperty(ae.prototype,"shy",{get:function(){return this._matrix[1]},set:function($){this._matrix[1]=$}}),Object.defineProperty(ae.prototype,"shx",{get:function(){return this._matrix[2]},set:function($){this._matrix[2]=$}}),Object.defineProperty(ae.prototype,"sy",{get:function(){return this._matrix[3]},set:function($){this._matrix[3]=$}}),Object.defineProperty(ae.prototype,"tx",{get:function(){return this._matrix[4]},set:function($){this._matrix[4]=$}}),Object.defineProperty(ae.prototype,"ty",{get:function(){return this._matrix[5]},set:function($){this._matrix[5]=$}}),Object.defineProperty(ae.prototype,"a",{get:function(){return this._matrix[0]},set:function($){this._matrix[0]=$}}),Object.defineProperty(ae.prototype,"b",{get:function(){return this._matrix[1]},set:function($){this._matrix[1]=$}}),Object.defineProperty(ae.prototype,"c",{get:function(){return this._matrix[2]},set:function($){this._matrix[2]=$}}),Object.defineProperty(ae.prototype,"d",{get:function(){return this._matrix[3]},set:function($){this._matrix[3]=$}}),Object.defineProperty(ae.prototype,"e",{get:function(){return this._matrix[4]},set:function($){this._matrix[4]=$}}),Object.defineProperty(ae.prototype,"f",{get:function(){return this._matrix[5]},set:function($){this._matrix[5]=$}}),Object.defineProperty(ae.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(ae.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(ae.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(ae.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),ae.prototype.join=function($){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(w).join($)},ae.prototype.multiply=function($){var ye=$.sx*this.sx+$.shy*this.shx,Ue=$.sx*this.shy+$.shy*this.sy,We=$.shx*this.sx+$.sy*this.shx,rt=$.shx*this.shy+$.sy*this.sy,bt=$.tx*this.sx+$.ty*this.shx+this.tx,jt=$.tx*this.shy+$.ty*this.sy+this.ty;return new ae(ye,Ue,We,rt,bt,jt)},ae.prototype.decompose=function(){var $=this.sx,ye=this.shy,Ue=this.shx,We=this.sy,rt=this.tx,bt=this.ty,jt=Math.sqrt($*$+ye*ye),hr=($/=jt)*Ue+(ye/=jt)*We;Ue-=$*hr,We-=ye*hr;var Ur=Math.sqrt(Ue*Ue+We*We);return hr/=Ur,$*(We/=Ur)<ye*(Ue/=Ur)&&($=-$,ye=-ye,hr=-hr,jt=-jt),{scale:new ae(jt,0,0,Ur,0,0),translate:new ae(1,0,0,1,rt,bt),rotate:new ae($,ye,-ye,$,0,0),skew:new ae(1,0,hr,1,0,0)}},ae.prototype.toString=function($){return this.join(" ")},ae.prototype.inversed=function(){var $=this.sx,ye=this.shy,Ue=this.shx,We=this.sy,rt=this.tx,bt=this.ty,jt=1/($*We-ye*Ue),hr=We*jt,Ur=-ye*jt,gn=-Ue*jt,An=$*jt;return new ae(hr,Ur,gn,An,-hr*rt-gn*bt,-Ur*rt-An*bt)},ae.prototype.applyToPoint=function($){var ye=$.x*this.sx+$.y*this.shx+this.tx,Ue=$.x*this.shy+$.y*this.sy+this.ty;return new Rv(ye,Ue)},ae.prototype.applyToRectangle=function($){var ye=this.applyToPoint($),Ue=this.applyToPoint(new Rv($.x+$.w,$.y+$.h));return new nb(ye.x,ye.y,Ue.x-ye.x,Ue.y-ye.y)},ae.prototype.clone=function(){var $=this.sx,ye=this.shy,Ue=this.shx,We=this.sy,rt=this.tx,bt=this.ty;return new ae($,ye,Ue,We,rt,bt)},p.Matrix=ae;var Ce=p.matrixMult=function($,ye){return ye.multiply($)},Oe=new ae(1,0,0,1,0,0);p.unitMatrix=p.identityMatrix=Oe;var Ie=function($,ye){if(!Bn[$]){var Ue=(ye instanceof Gg?"Sh":"P")+(Object.keys(pt).length+1).toString(10);ye.id=Ue,Bn[$]=Ue,pt[Ue]=ye,ir.publish("addPattern",ye)}};p.ShadingPattern=Gg,p.TilingPattern=C2,p.addShadingPattern=function($,ye){return x("addShadingPattern()"),Ie($,ye),this},p.beginTilingPattern=function($){x("beginTilingPattern()"),Jx($.boundingBox[0],$.boundingBox[1],$.boundingBox[2]-$.boundingBox[0],$.boundingBox[3]-$.boundingBox[1],$.matrix)},p.endTilingPattern=function($,ye){x("endTilingPattern()"),ye.stream=de[G].join(` `),Ie($,ye),ir.publish("endTilingPattern",ye),se.pop().restore()};var Le=p.__private__.newObject=function(){var $=Qe();return Ge($,!0),$},Qe=p.__private__.newObjectDeferred=function(){return ee++,q[ee]=function(){return re},ee},Ge=function($,ye){return ye=typeof ye=="boolean"&&ye,q[$]=re,ye&&ue($+" 0 obj"),$},ft=p.__private__.newAdditionalObject=function(){var $={objId:Qe(),content:""};return fe.push($),$},yt=Qe(),nt=Qe(),Ft=p.__private__.decodeColorString=function($){var ye=$.split(" ");if(ye.length!==2||ye[1]!=="g"&&ye[1]!=="G")ye.length===5&&(ye[4]==="k"||ye[4]==="K")&&(ye=[(1-ye[0])*(1-ye[3]),(1-ye[1])*(1-ye[3]),(1-ye[2])*(1-ye[3]),"r"]);else{var Ue=parseFloat(ye[0]);ye=[Ue,Ue,Ue,"r"]}for(var We="#",rt=0;rt<3;rt++)We+=("0"+Math.floor(255*parseFloat(ye[rt])).toString(16)).slice(-2);return We},mt=p.__private__.encodeColorString=function($){var ye;typeof $=="string"&&($={ch1:$});var Ue=$.ch1,We=$.ch2,rt=$.ch3,bt=$.ch4,jt=$.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof Ue=="string"&&Ue.charAt(0)!=="#"){var hr=new gMe(Ue);if(hr.ok)Ue=hr.toHex();else if(!/^\d*\.?\d*$/.test(Ue))throw new Error('Invalid color "'+Ue+'" passed to jsPDF.encodeColorString.')}if(typeof Ue=="string"&&/^#[0-9A-Fa-f]{3}$/.test(Ue)&&(Ue="#"+Ue[1]+Ue[1]+Ue[2]+Ue[2]+Ue[3]+Ue[3]),typeof Ue=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Ue)){var Ur=parseInt(Ue.substr(1),16);Ue=Ur>>16&255,We=Ur>>8&255,rt=255&Ur}if(We===void 0||bt===void 0&&Ue===We&&We===rt)if(typeof Ue=="string")ye=Ue+" "+jt[0];else switch($.precision){case 2:ye=F(Ue/255)+" "+jt[0];break;case 3:default:ye=k(Ue/255)+" "+jt[0]}else if(bt===void 0||Ei(bt)==="object"){if(bt&&!isNaN(bt.a)&&bt.a===0)return ye=["1.","1.","1.",jt[1]].join(" ");if(typeof Ue=="string")ye=[Ue,We,rt,jt[1]].join(" ");else switch($.precision){case 2:ye=[F(Ue/255),F(We/255),F(rt/255),jt[1]].join(" ");break;default:case 3:ye=[k(Ue/255),k(We/255),k(rt/255),jt[1]].join(" ")}}else if(typeof Ue=="string")ye=[Ue,We,rt,bt,jt[2]].join(" ");else switch($.precision){case 2:ye=[F(Ue),F(We),F(rt),F(bt),jt[2]].join(" ");break;case 3:default:ye=[k(Ue),k(We),k(rt),k(bt),jt[2]].join(" ")}return ye},dt=p.__private__.getFilters=function(){return s},Lt=p.__private__.putStream=function($){var ye=($=$||{}).data||"",Ue=$.filters||dt(),We=$.alreadyAppliedFilters||[],rt=$.addLength1||!1,bt=ye.length,jt=$.objectId,hr=function(Pa){return Pa};if(u!==null&&jt===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");u!==null&&(hr=Lo.encryptor(jt,0));var Ur={};Ue===!0&&(Ue=["FlateEncode"]);var gn=$.additionalKeyValues||[],An=(Ur=qr.API.processDataByFilters!==void 0?qr.API.processDataByFilters(ye,Ue):{data:ye,reverseChain:[]}).reverseChain+(Array.isArray(We)?We.join(" "):We.toString());if(Ur.data.length!==0&&(gn.push({key:"Length",value:Ur.data.length}),rt===!0&&gn.push({key:"Length1",value:bt})),An.length!=0)if(An.split("/").length-1==1)gn.push({key:"Filter",value:An});else{gn.push({key:"Filter",value:"["+An+"]"});for(var Zn=0;Zn<gn.length;Zn+=1)if(gn[Zn].key==="DecodeParms"){for(var xo=[],Ro=0;Ro<Ur.reverseChain.split("/").length-1;Ro+=1)xo.push("null");xo.push(gn[Zn].value),gn[Zn].value="["+xo.join(" ")+"]"}}ue("<<");for(var us=0;us<gn.length;us++)ue("/"+gn[us].key+" "+gn[us].value);ue(">>"),Ur.data.length!==0&&(ue("stream"),ue(hr(Ur.data)),ue("endstream"))},tr=p.__private__.putPage=function($){var ye=$.number,Ue=$.data,We=$.objId,rt=$.contentsObjId;Ge(We,!0),ue("<</Type /Page"),ue("/Parent "+$.rootDictionaryObjId+" 0 R"),ue("/Resources "+$.resourceDictionaryObjId+" 0 R"),ue("/MediaBox ["+parseFloat(w($.mediaBox.bottomLeftX))+" "+parseFloat(w($.mediaBox.bottomLeftY))+" "+w($.mediaBox.topRightX)+" "+w($.mediaBox.topRightY)+"]"),$.cropBox!==null&&ue("/CropBox ["+w($.cropBox.bottomLeftX)+" "+w($.cropBox.bottomLeftY)+" "+w($.cropBox.topRightX)+" "+w($.cropBox.topRightY)+"]"),$.bleedBox!==null&&ue("/BleedBox ["+w($.bleedBox.bottomLeftX)+" "+w($.bleedBox.bottomLeftY)+" "+w($.bleedBox.topRightX)+" "+w($.bleedBox.topRightY)+"]"),$.trimBox!==null&&ue("/TrimBox ["+w($.trimBox.bottomLeftX)+" "+w($.trimBox.bottomLeftY)+" "+w($.trimBox.topRightX)+" "+w($.trimBox.topRightY)+"]"),$.artBox!==null&&ue("/ArtBox ["+w($.artBox.bottomLeftX)+" "+w($.artBox.bottomLeftY)+" "+w($.artBox.topRightX)+" "+w($.artBox.topRightY)+"]"),typeof $.userUnit=="number"&&$.userUnit!==1&&ue("/UserUnit "+$.userUnit),ir.publish("putPage",{objId:We,pageContext:Dt[ye],pageNumber:ye,page:Ue}),ue("/Contents "+rt+" 0 R"),ue(">>"),ue("endobj");var bt=Ue.join(` `);return y===v.ADVANCED&&(bt+=` Q`),Ge(rt,!0),Lt({data:bt,filters:dt(),objectId:rt}),ue("endobj"),We},ur=p.__private__.putPages=function(){var $,ye,Ue=[];for($=1;$<=Jt;$++)Dt[$].objId=Qe(),Dt[$].contentsObjId=Qe();for($=1;$<=Jt;$++)Ue.push(tr({number:$,data:de[$],objId:Dt[$].objId,contentsObjId:Dt[$].contentsObjId,mediaBox:Dt[$].mediaBox,cropBox:Dt[$].cropBox,bleedBox:Dt[$].bleedBox,trimBox:Dt[$].trimBox,artBox:Dt[$].artBox,userUnit:Dt[$].userUnit,rootDictionaryObjId:yt,resourceDictionaryObjId:nt}));Ge(yt,!0),ue("<</Type /Pages");var We="/Kids [";for(ye=0;ye<Jt;ye++)We+=Ue[ye]+" 0 R ";ue(We+"]"),ue("/Count "+Jt),ue(">>"),ue("endobj"),ir.publish("postPutPages")},Kt=function($){ir.publish("putFont",{font:$,out:ue,newObject:Le,putStream:Lt}),$.isAlreadyPutted!==!0&&($.objectNumber=Le(),ue("<<"),ue("/Type /Font"),ue("/BaseFont /"+qy($.postScriptName)),ue("/Subtype /Type1"),typeof $.encoding=="string"&&ue("/Encoding /"+$.encoding),ue("/FirstChar 32"),ue("/LastChar 255"),ue(">>"),ue("endobj"))},In=function(){for(var $ in ot)ot.hasOwnProperty($)&&(f===!1||f===!0&&d.hasOwnProperty($))&&Kt(ot[$])},on=function($){$.objectNumber=Le();var ye=[];ye.push({key:"Type",value:"/XObject"}),ye.push({key:"Subtype",value:"/Form"}),ye.push({key:"BBox",value:"["+[w($.x),w($.y),w($.x+$.width),w($.y+$.height)].join(" ")+"]"}),ye.push({key:"Matrix",value:"["+$.matrix.toString()+"]"});var Ue=$.pages[1].join(` `);Lt({data:Ue,additionalKeyValues:ye,objectId:$.objectNumber}),ue("endobj")},Ii=function(){for(var $ in Ar)Ar.hasOwnProperty($)&&on(Ar[$])},vo=function($,ye){var Ue,We=[],rt=1/(ye-1);for(Ue=0;Ue<1;Ue+=rt)We.push(Ue);if(We.push(1),$[0].offset!=0){var bt={offset:0,color:$[0].color};$.unshift(bt)}if($[$.length-1].offset!=1){var jt={offset:1,color:$[$.length-1].color};$.push(jt)}for(var hr="",Ur=0,gn=0;gn<We.length;gn++){for(Ue=We[gn];Ue>$[Ur+1].offset;)Ur++;var An=$[Ur].offset,Zn=(Ue-An)/($[Ur+1].offset-An),xo=$[Ur].color,Ro=$[Ur+1].color;hr+=J(Math.round((1-Zn)*xo[0]+Zn*Ro[0]).toString(16))+J(Math.round((1-Zn)*xo[1]+Zn*Ro[1]).toString(16))+J(Math.round((1-Zn)*xo[2]+Zn*Ro[2]).toString(16))}return hr.trim()},Tr=function($,ye){ye||(ye=21);var Ue=Le(),We=vo($.colors,ye),rt=[];rt.push({key:"FunctionType",value:"0"}),rt.push({key:"Domain",value:"[0.0 1.0]"}),rt.push({key:"Size",value:"["+ye+"]"}),rt.push({key:"BitsPerSample",value:"8"}),rt.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),rt.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Lt({data:We,additionalKeyValues:rt,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:Ue}),ue("endobj"),$.objectNumber=Le(),ue("<< /ShadingType "+$.type),ue("/ColorSpace /DeviceRGB");var bt="/Coords ["+w(parseFloat($.coords[0]))+" "+w(parseFloat($.coords[1]))+" ";$.type===2?bt+=w(parseFloat($.coords[2]))+" "+w(parseFloat($.coords[3])):bt+=w(parseFloat($.coords[2]))+" "+w(parseFloat($.coords[3]))+" "+w(parseFloat($.coords[4]))+" "+w(parseFloat($.coords[5])),ue(bt+="]"),$.matrix&&ue("/Matrix ["+$.matrix.toString()+"]"),ue("/Function "+Ue+" 0 R"),ue("/Extend [true true]"),ue(">>"),ue("endobj")},wt=function($,ye){var Ue=Qe(),We=Le();ye.push({resourcesOid:Ue,objectOid:We}),$.objectNumber=We;var rt=[];rt.push({key:"Type",value:"/Pattern"}),rt.push({key:"PatternType",value:"1"}),rt.push({key:"PaintType",value:"1"}),rt.push({key:"TilingType",value:"1"}),rt.push({key:"BBox",value:"["+$.boundingBox.map(w).join(" ")+"]"}),rt.push({key:"XStep",value:w($.xStep)}),rt.push({key:"YStep",value:w($.yStep)}),rt.push({key:"Resources",value:Ue+" 0 R"}),$.matrix&&rt.push({key:"Matrix",value:"["+$.matrix.toString()+"]"}),Lt({data:$.stream,additionalKeyValues:rt,objectId:$.objectNumber}),ue("endobj")},Gt=function($){var ye;for(ye in pt)pt.hasOwnProperty(ye)&&(pt[ye]instanceof Gg?Tr(pt[ye]):pt[ye]instanceof C2&&wt(pt[ye],$))},$r=function($){for(var ye in $.objectNumber=Le(),ue("<<"),$)switch(ye){case"opacity":ue("/ca "+F($[ye]));break;case"stroke-opacity":ue("/CA "+F($[ye]))}ue(">>"),ue("endobj")},Hr=function(){var $;for($ in jr)jr.hasOwnProperty($)&&$r(jr[$])},Mr=function(){for(var $ in ue("/XObject <<"),Ar)Ar.hasOwnProperty($)&&Ar[$].objectNumber>=0&&ue("/"+$+" "+Ar[$].objectNumber+" 0 R");ir.publish("putXobjectDict"),ue(">>")},we=function(){Lo.oid=Le(),ue("<<"),ue("/Filter /Standard"),ue("/V "+Lo.v),ue("/R "+Lo.r),ue("/U <"+Lo.toHexString(Lo.U)+">"),ue("/O <"+Lo.toHexString(Lo.O)+">"),ue("/P "+Lo.P),ue(">>"),ue("endobj")},ne=function(){for(var $ in ue("/Font <<"),ot)ot.hasOwnProperty($)&&(f===!1||f===!0&&d.hasOwnProperty($))&&ue("/"+$+" "+ot[$].objectNumber+" 0 R");ue(">>")},ce=function(){if(Object.keys(pt).length>0){for(var $ in ue("/Shading <<"),pt)pt.hasOwnProperty($)&&pt[$]instanceof Gg&&pt[$].objectNumber>=0&&ue("/"+$+" "+pt[$].objectNumber+" 0 R");ir.publish("putShadingPatternDict"),ue(">>")}},me=function($){if(Object.keys(pt).length>0){for(var ye in ue("/Pattern <<"),pt)pt.hasOwnProperty(ye)&&pt[ye]instanceof p.TilingPattern&&pt[ye].objectNumber>=0&&pt[ye].objectNumber<$&&ue("/"+ye+" "+pt[ye].objectNumber+" 0 R");ir.publish("putTilingPatternDict"),ue(">>")}},ke=function(){if(Object.keys(jr).length>0){var $;for($ in ue("/ExtGState <<"),jr)jr.hasOwnProperty($)&&jr[$].objectNumber>=0&&ue("/"+$+" "+jr[$].objectNumber+" 0 R");ir.publish("putGStateDict"),ue(">>")}},He=function($){Ge($.resourcesOid,!0),ue("<<"),ue("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),ne(),ce(),me($.objectOid),ke(),Mr(),ue(">>"),ue("endobj")},tt=function(){var $=[];In(),Hr(),Ii(),Gt($),ir.publish("putResources"),$.forEach(He),He({resourcesOid:nt,objectOid:Number.MAX_SAFE_INTEGER}),ir.publish("postPutResources")},St=function(){ir.publish("putAdditionalObjects");for(var $=0;$<fe.length;$++){var ye=fe[$];Ge(ye.objId,!0),ue(ye.content),ue("endobj")}ir.publish("postPutAdditionalObjects")},qt=function($){At[$.fontName]=At[$.fontName]||{},At[$.fontName][$.fontStyle]=$.id},rr=function($,ye,Ue,We,rt){var bt={id:"F"+(Object.keys(ot).length+1).toString(10),postScriptName:$,fontName:ye,fontStyle:Ue,encoding:We,isStandardFont:rt||!1,metadata:{}};return ir.publish("addFont",{font:bt,instance:this}),ot[bt.id]=bt,qt(bt),bt.id},Rr=function($){for(var ye=0,Ue=Re.length;ye<Ue;ye++){var We=rr.call(this,$[ye][0],$[ye][1],$[ye][2],Re[ye][3],!0);f===!1&&(d[We]=!0);var rt=$[ye][0].split("-");qt({id:We,fontName:rt[0],fontStyle:rt[1]||""})}ir.publish("addFonts",{fonts:ot,dictionary:At})},Vr=function($){return $.foo=function(){try{return $.apply(this,arguments)}catch(We){var ye=We.stack||"";~ye.indexOf(" at ")&&(ye=ye.split(" at ")[1]);var Ue="Error in function "+ye.split(` `)[0].split("<")[0]+": "+We.message;if(!Jr.console)throw new Error(Ue);Jr.console.error(Ue,We),Jr.alert&&alert(Ue)}},$.foo.bar=$,$.foo},si=function($,ye){var Ue,We,rt,bt,jt,hr,Ur,gn,An;if(rt=(ye=ye||{}).sourceEncoding||"Unicode",jt=ye.outputEncoding,(ye.autoencode||jt)&&ot[pe].metadata&&ot[pe].metadata[rt]&&ot[pe].metadata[rt].encoding&&(bt=ot[pe].metadata[rt].encoding,!jt&&ot[pe].encoding&&(jt=ot[pe].encoding),!jt&&bt.codePages&&(jt=bt.codePages[0]),typeof jt=="string"&&(jt=bt[jt]),jt)){for(Ur=!1,hr=[],Ue=0,We=$.length;Ue<We;Ue++)(gn=jt[$.charCodeAt(Ue)])?hr.push(String.fromCharCode(gn)):hr.push($[Ue]),hr[Ue].charCodeAt(0)>>8&&(Ur=!0);$=hr.join("")}for(Ue=$.length;Ur===void 0&&Ue!==0;)$.charCodeAt(Ue-1)>>8&&(Ur=!0),Ue--;if(!Ur)return $;for(hr=ye.noBOM?[]:[254,255],Ue=0,We=$.length;Ue<We;Ue++){if((An=(gn=$.charCodeAt(Ue))>>8)>>8)throw new Error("Character at position "+Ue+" of string '"+$+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");hr.push(An),hr.push(gn-(An<<8))}return String.fromCharCode.apply(void 0,hr)},Ni=p.__private__.pdfEscape=p.pdfEscape=function($,ye){return si($,ye).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},No=p.__private__.beginPage=function($){de[++Jt]=[],Dt[Jt]={objId:0,contentsObjId:0,userUnit:Number(a),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number($[0]),topRightY:Number($[1])}},ai(Jt),Ae(de[G])},Oa=function($,ye){var Ue,We,rt;switch(r=ye||r,typeof $=="string"&&(Ue=m($.toLowerCase()),Array.isArray(Ue)&&(We=Ue[0],rt=Ue[1])),Array.isArray($)&&(We=$[0]*be,rt=$[1]*be),isNaN(We)&&(We=i[0],rt=i[1]),(We>14400||rt>14400)&&(Qi.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),We=Math.min(14400,We),rt=Math.min(14400,rt)),i=[We,rt],r.substr(0,1)){case"l":rt>We&&(i=[rt,We]);break;case"p":We>rt&&(i=[rt,We])}No(i),zx(ZC),ue(nf),tb!==0&&ue(tb+" J"),rb!==0&&ue(rb+" j"),ir.publish("addPage",{pageNumber:Jt})},sa=function($){$>0&&$<=Jt&&(de.splice($,1),Dt.splice($,1),Jt--,G>Jt&&(G=Jt),this.setPage(G))},ai=function($){$>0&&$<=Jt&&(G=$)},Fo=p.__private__.getNumberOfPages=p.getNumberOfPages=function(){return de.length-1},To=function($,ye,Ue){var We,rt=void 0;return Ue=Ue||{},$=$!==void 0?$:ot[pe].fontName,ye=ye!==void 0?ye:ot[pe].fontStyle,We=$.toLowerCase(),At[We]!==void 0&&At[We][ye]!==void 0?rt=At[We][ye]:At[$]!==void 0&&At[$][ye]!==void 0?rt=At[$][ye]:Ue.disableWarning===!1&&Qi.warn("Unable to look up font label for font '"+$+"', '"+ye+"'. Refer to getFontList() for available fonts."),rt||Ue.noFallback||(rt=At.times[ye])==null&&(rt=At.times.normal),rt},Ol=p.__private__.putInfo=function(){var $=Le(),ye=function(We){return We};for(var Ue in u!==null&&(ye=Lo.encryptor($,0)),ue("<<"),ue("/Producer ("+Ni(ye("jsPDF "+qr.version))+")"),Y)Y.hasOwnProperty(Ue)&&Y[Ue]&&ue("/"+Ue.substr(0,1).toUpperCase()+Ue.substr(1)+" ("+Ni(ye(Y[Ue]))+")");ue("/CreationDate ("+Ni(ye(H))+")"),ue(">>"),ue("endobj")},Pl=p.__private__.putCatalog=function($){var ye=($=$||{}).rootDictionaryObjId||yt;switch(Le(),ue("<<"),ue("/Type /Catalog"),ue("/Pages "+ye+" 0 R"),Ve||(Ve="fullwidth"),Ve){case"fullwidth":ue("/OpenAction [3 0 R /FitH null]");break;case"fullheight":ue("/OpenAction [3 0 R /FitV null]");break;case"fullpage":ue("/OpenAction [3 0 R /Fit]");break;case"original":ue("/OpenAction [3 0 R /XYZ null null 1]");break;default:var Ue=""+Ve;Ue.substr(Ue.length-1)==="%"&&(Ve=parseInt(Ve)/100),typeof Ve=="number"&&ue("/OpenAction [3 0 R /XYZ null null "+F(Ve)+"]")}switch(U||(U="continuous"),U){case"continuous":ue("/PageLayout /OneColumn");break;case"single":ue("/PageLayout /SinglePage");break;case"two":case"twoleft":ue("/PageLayout /TwoColumnLeft");break;case"tworight":ue("/PageLayout /TwoColumnRight")}gt&&ue("/PageMode /"+gt),ir.publish("putCatalog"),ue(">>"),ue("endobj")},Il=p.__private__.putTrailer=function(){ue("trailer"),ue("<<"),ue("/Size "+(ee+1)),ue("/Root "+ee+" 0 R"),ue("/Info "+(ee-1)+" 0 R"),u!==null&&ue("/Encrypt "+Lo.oid+" 0 R"),ue("/ID [ <"+V+"> <"+V+"> ]"),ue(">>")},$p=p.__private__.putHeader=function(){ue("%PDF-"+h),ue("%ºß¬à")},Hp=p.__private__.putXRef=function(){var $="0000000000";ue("xref"),ue("0 "+(ee+1)),ue("0000000000 65535 f ");for(var ye=1;ye<=ee;ye++)typeof q[ye]=="function"?ue(($+q[ye]()).slice(-10)+" 00000 n "):q[ye]!==void 0?ue(($+q[ye]).slice(-10)+" 00000 n "):ue("0000000000 00000 n ")},js=p.__private__.buildDocument=function(){De(),Ae(Z),ir.publish("buildDocument"),$p(),ur(),St(),tt(),u!==null&&we(),Ol(),Pl();var $=re;return Hp(),Il(),ue("startxref"),ue(""+$),ue("%%EOF"),Ae(de[G]),Z.join(` `)},rf=p.__private__.getBlob=function($){return new Blob([Te($)],{type:"application/pdf"})},Gp=p.output=p.__private__.output=Vr(function($,ye){switch(typeof(ye=ye||{})=="string"?ye={filename:ye}:ye.filename=ye.filename||"generated.pdf",$){case void 0:return js();case"save":p.save(ye.filename);break;case"arraybuffer":return Te(js());case"blob":return rf(js());case"bloburi":case"bloburl":if(Jr.URL!==void 0&&typeof Jr.URL.createObjectURL=="function")return Jr.URL&&Jr.URL.createObjectURL(rf(js()))||void 0;Qi.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var Ue="",We=js();try{Ue=Rq(We)}catch{Ue=Rq(unescape(encodeURIComponent(We)))}return"data:application/pdf;filename="+ye.filename+";base64,"+Ue;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Jr)==="[object Window]"){var rt="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",bt=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';ye.pdfObjectUrl&&(rt=ye.pdfObjectUrl,bt="");var jt='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+rt+'"'+bt+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(ye)+");<\/script></body></html>",hr=Jr.open();return hr!==null&&hr.document.write(jt),hr}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(Jr)==="[object Window]"){var Ur='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(ye.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+ye.filename+'" width="500px" height="400px" /></body></html>',gn=Jr.open();if(gn!==null){gn.document.write(Ur);var An=this;gn.document.documentElement.querySelector("#pdfViewer").onload=function(){gn.document.title=ye.filename,gn.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(An.output("bloburl"))}}return gn}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(Jr)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var Zn='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",ye)+'"></iframe></body></html>',xo=Jr.open();if(xo!==null&&(xo.document.write(Zn),xo.document.title=ye.filename),xo||typeof safari>"u")return xo;break;case"datauri":case"dataurl":return Jr.document.location.href=this.output("datauristring",ye);default:return null}}),nl=function($){return Array.isArray(xn)===!0&&xn.indexOf($)>-1};switch(n){case"pt":be=1;break;case"mm":be=72/25.4;break;case"cm":be=72/2.54;break;case"in":be=72;break;case"px":be=nl("px_scaling")==1?.75:96/72;break;case"pc":case"em":be=12;break;case"ex":be=6;break;default:if(typeof n!="number")throw new Error("Invalid unit: "+n);be=n}var Lo=null;X(),R();var rg=function($){return u!==null?Lo.encryptor($,0):function(ye){return ye}},kh=p.__private__.getPageInfo=p.getPageInfo=function($){if(isNaN($)||$%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Dt[$].objId,pageNumber:$,pageContext:Dt[$]}},un=p.__private__.getPageInfoByObjId=function($){if(isNaN($)||$%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var ye in Dt)if(Dt[ye].objId===$)break;return kh(ye)},dF=p.__private__.getCurrentPageInfo=p.getCurrentPageInfo=function(){return{objId:Dt[G].objId,pageNumber:G,pageContext:Dt[G]}};p.addPage=function(){return Oa.apply(this,arguments),this},p.setPage=function(){return ai.apply(this,arguments),Ae.call(this,de[G]),this},p.insertPage=function($){return this.addPage(),this.movePage(G,$),this},p.movePage=function($,ye){var Ue,We;if($>ye){Ue=de[$],We=Dt[$];for(var rt=$;rt>ye;rt--)de[rt]=de[rt-1],Dt[rt]=Dt[rt-1];de[ye]=Ue,Dt[ye]=We,this.setPage(ye)}else if($<ye){Ue=de[$],We=Dt[$];for(var bt=$;bt<ye;bt++)de[bt]=de[bt+1],Dt[bt]=Dt[bt+1];de[ye]=Ue,Dt[ye]=We,this.setPage(ye)}return this},p.deletePage=function(){return sa.apply(this,arguments),this},p.__private__.text=p.text=function($,ye,Ue,We,rt){var bt,jt,hr,Ur,gn,An,Zn,xo,Ro,us=(We=We||{}).scope||this;if(typeof $=="number"&&typeof ye=="number"&&(typeof Ue=="string"||Array.isArray(Ue))){var Pa=Ue;Ue=ye,ye=$,$=Pa}if(arguments[3]instanceof ae?(x("The transform parameter of text() with a Matrix value"),Ro=rt):(hr=arguments[4],Ur=arguments[5],Ei(Zn=arguments[3])==="object"&&Zn!==null||(typeof hr=="string"&&(Ur=hr,hr=null),typeof Zn=="string"&&(Ur=Zn,Zn=null),typeof Zn=="number"&&(hr=Zn,Zn=null),We={flags:Zn,angle:hr,align:Ur})),isNaN(ye)||isNaN(Ue)||$==null)throw new Error("Invalid arguments passed to jsPDF.text");if($.length===0)return us;var Us="",of=!1,Ac=typeof We.lineHeightFactor=="number"?We.lineHeightFactor:ig,Ad=us.internal.scaleFactor;function Zx(Ki){return Ki=Ki.split(" ").join(Array(We.TabLen||9).join(" ")),Ni(Ki,Zn)}function ab(Ki){for(var qi,qo=Ki.concat(),Ss=[],Xp=qo.length;Xp--;)typeof(qi=qo.shift())=="string"?Ss.push(qi):Array.isArray(Ki)&&(qi.length===1||qi[1]===void 0&&qi[2]===void 0)?Ss.push(qi[0]):Ss.push([qi[0],qi[1],qi[2]]);return Ss}function lb(Ki,qi){var qo;if(typeof Ki=="string")qo=qi(Ki)[0];else if(Array.isArray(Ki)){for(var Ss,Xp,mb=Ki.concat(),zv=[],iS=mb.length;iS--;)typeof(Ss=mb.shift())=="string"?zv.push(qi(Ss)[0]):Array.isArray(Ss)&&typeof Ss[0]=="string"&&(Xp=qi(Ss[0],Ss[1],Ss[2]),zv.push([Xp[0],Xp[1],Xp[2]]));qo=zv}return qo}var _v=!1,cb=!0;if(typeof $=="string")_v=!0;else if(Array.isArray($)){var ub=$.concat();jt=[];for(var jv,aa=ub.length;aa--;)(typeof(jv=ub.shift())!="string"||Array.isArray(jv)&&typeof jv[0]!="string")&&(cb=!1);_v=cb}if(_v===!1)throw new Error('Type of text must be string or Array. "'+$+'" is not recognized.');typeof $=="string"&&($=$.match(/[\r?\n]/)?$.split(/\r\n|\r|\n/g):[$]);var Uv=je/us.internal.scaleFactor,Qv=Uv*(Ac-1);switch(We.baseline){case"bottom":Ue-=Qv;break;case"top":Ue+=Uv-Qv;break;case"hanging":Ue+=Uv-2*Qv;break;case"middle":Ue+=Uv/2-Qv}if((An=We.maxWidth||0)>0&&(typeof $=="string"?$=us.splitTextToSize($,An):Object.prototype.toString.call($)==="[object Array]"&&($=$.reduce(function(Ki,qi){return Ki.concat(us.splitTextToSize(qi,An))},[]))),bt={text:$,x:ye,y:Ue,options:We,mutex:{pdfEscape:Ni,activeFontKey:pe,fonts:ot,activeFontSize:je}},ir.publish("preProcessText",bt),$=bt.text,hr=(We=bt.options).angle,!(Ro instanceof ae)&&hr&&typeof hr=="number"){hr*=Math.PI/180,We.rotationDirection===0&&(hr=-hr),y===v.ADVANCED&&(hr=-hr);var Vv=Math.cos(hr),fb=Math.sin(hr);Ro=new ae(Vv,fb,-fb,Vv,0,0)}else hr&&hr instanceof ae&&(Ro=hr);y!==v.ADVANCED||Ro||(Ro=Oe),(gn=We.charSpace||Lv)!==void 0&&(Us+=w(O(gn))+` Tc `,this.setCharSpace(this.getCharSpace()||0)),(xo=We.horizontalScale)!==void 0&&(Us+=w(100*xo)+` Tz `),We.lang;var Nl=-1,bF=We.renderingMode!==void 0?We.renderingMode:We.stroke,db=us.internal.getCurrentPageInfo().pageContext;switch(bF){case 0:case!1:case"fill":Nl=0;break;case 1:case!0:case"stroke":Nl=1;break;case 2:case"fillThenStroke":Nl=2;break;case 3:case"invisible":Nl=3;break;case 4:case"fillAndAddForClipping":Nl=4;break;case 5:case"strokeAndAddPathForClipping":Nl=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":Nl=6;break;case 7:case"addToPathForClipping":Nl=7}var eS=db.usedRenderingMode!==void 0?db.usedRenderingMode:-1;Nl!==-1?Us+=Nl+` Tr `:eS!==-1&&(Us+=`0 Tr `),Nl!==-1&&(db.usedRenderingMode=Nl),Ur=We.align||"left";var tu,$v=je*Ac,tS=us.internal.pageSize.getWidth(),rS=ot[pe];gn=We.charSpace||Lv,An=We.maxWidth||0,Zn=Object.assign({autoencode:!0,noBOM:!0},We.flags);var Nh=[],ag=function(Ki){return us.getStringUnitWidth(Ki,{font:rS,charSpace:gn,fontSize:je,doKerning:!1})*je/Ad};if(Object.prototype.toString.call($)==="[object Array]"){var Fl;jt=ab($),Ur!=="left"&&(tu=jt.map(ag));var il,Fh=0;if(Ur==="right"){ye-=tu[0],$=[],aa=jt.length;for(var zp=0;zp<aa;zp++)zp===0?(il=pd(ye),Fl=Wp(Ue)):(il=O(Fh-tu[zp]),Fl=-$v),$.push([jt[zp],il,Fl]),Fh=tu[zp]}else if(Ur==="center"){ye-=tu[0]/2,$=[],aa=jt.length;for(var Kp=0;Kp<aa;Kp++)Kp===0?(il=pd(ye),Fl=Wp(Ue)):(il=O((Fh-tu[Kp])/2),Fl=-$v),$.push([jt[Kp],il,Fl]),Fh=tu[Kp]}else if(Ur==="left"){$=[],aa=jt.length;for(var Hv=0;Hv<aa;Hv++)$.push(jt[Hv])}else if(Ur==="justify"&&rS.encoding==="Identity-H"){$=[],aa=jt.length,An=An!==0?An:tS;for(var qp=0,Ko=0;Ko<aa;Ko++)if(Fl=Ko===0?Wp(Ue):-$v,il=Ko===0?pd(ye):qp,Ko<aa-1){var pb=O((An-tu[Ko])/(jt[Ko].split(" ").length-1)),ol=jt[Ko].split(" ");$.push([ol[0]+" ",il,Fl]),qp=0;for(var ru=1;ru<ol.length;ru++){var Gv=(ag(ol[ru-1]+" "+ol[ru])-ag(ol[ru]))*Ad+pb;ru==ol.length-1?$.push([ol[ru],Gv,0]):$.push([ol[ru]+" ",Gv,0]),qp-=Gv}}else $.push([jt[Ko],il,Fl]);$.push(["",qp,0])}else{if(Ur!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for($=[],aa=jt.length,An=An!==0?An:tS,Ko=0;Ko<aa;Ko++)Fl=Ko===0?Wp(Ue):-$v,il=Ko===0?pd(ye):0,Ko<aa-1?Nh.push(w(O((An-tu[Ko])/(jt[Ko].split(" ").length-1)))):Nh.push(0),$.push([jt[Ko],il,Fl])}}var nS=typeof We.R2L=="boolean"?We.R2L:lt;nS===!0&&($=lb($,function(Ki,qi,qo){return[Ki.split("").reverse().join(""),qi,qo]})),bt={text:$,x:ye,y:Ue,options:We,mutex:{pdfEscape:Ni,activeFontKey:pe,fonts:ot,activeFontSize:je}},ir.publish("postProcessText",bt),$=bt.text,of=bt.mutex.isHex||!1;var Ab=ot[pe].encoding;Ab!=="WinAnsiEncoding"&&Ab!=="StandardEncoding"||($=lb($,function(Ki,qi,qo){return[Zx(Ki),qi,qo]})),jt=ab($),$=[];for(var lg,cg,Th,ug=0,Wv=1,fg=Array.isArray(jt[0])?Wv:ug,Lh="",hb=function(Ki,qi,qo){var Ss="";return qo instanceof ae?(qo=typeof We.angle=="number"?Ce(qo,new ae(1,0,0,1,Ki,qi)):Ce(new ae(1,0,0,1,Ki,qi),qo),y===v.ADVANCED&&(qo=Ce(new ae(1,0,0,-1,0,0),qo)),Ss=qo.join(" ")+` Tm `):Ss=w(Ki)+" "+w(qi)+` Td `,Ss},nu=0;nu<jt.length;nu++){switch(Lh="",fg){case Wv:Th=(of?"<":"(")+jt[nu][0]+(of?">":")"),lg=parseFloat(jt[nu][1]),cg=parseFloat(jt[nu][2]);break;case ug:Th=(of?"<":"(")+jt[nu]+(of?">":")"),lg=pd(ye),cg=Wp(Ue)}Nh!==void 0&&Nh[nu]!==void 0&&(Lh=Nh[nu]+` Tw `),nu===0?$.push(Lh+hb(lg,cg,Ro)+Th):fg===ug?$.push(Lh+Th):fg===Wv&&$.push(Lh+hb(lg,cg,Ro)+Th)}$=fg===ug?$.join(` Tj T* `):$.join(` Tj `),$+=` Tj `;var iu=`BT /`;return iu+=pe+" "+je+` Tf `,iu+=w(je*Ac)+` TL `,iu+=og+` `,iu+=Us,iu+=$,ue(iu+="ET"),d[pe]=!0,us};var pF=p.__private__.clip=p.clip=function($){return ue($==="evenodd"?"W*":"W"),this};p.clipEvenOdd=function(){return pF("evenodd")},p.__private__.discardPath=p.discardPath=function(){return ue("n"),this};var dd=p.__private__.isValidStyle=function($){var ye=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf($)!==-1&&(ye=!0),ye};p.__private__.setDefaultPathOperation=p.setDefaultPathOperation=function($){return dd($)&&(c=$),this};var Gx=p.__private__.getStyle=p.getStyle=function($){var ye=c;switch($){case"D":case"S":ye="S";break;case"F":ye="f";break;case"FD":case"DF":ye="B";break;case"f":case"f*":case"B":case"B*":ye=$}return ye},Wx=p.close=function(){return ue("h"),this};p.stroke=function(){return ue("S"),this},p.fill=function($){return Fv("f",$),this},p.fillEvenOdd=function($){return Fv("f*",$),this},p.fillStroke=function($){return Fv("B",$),this},p.fillStrokeEvenOdd=function($){return Fv("B*",$),this};var Fv=function($,ye){Ei(ye)==="object"?hF(ye,$):ue($)},YC=function($){$===null||y===v.ADVANCED&&$===void 0||($=Gx($),ue($))};function AF($,ye,Ue,We,rt){var bt=new C2(ye||this.boundingBox,Ue||this.xStep,We||this.yStep,this.gState,rt||this.matrix);bt.stream=this.stream;var jt=$+"$$"+this.cloneIndex+++"$$";return Ie(jt,bt),bt}var hF=function($,ye){var Ue=Bn[$.key],We=pt[Ue];if(We instanceof Gg)ue("q"),ue(mF(ye)),We.gState&&p.setGState(We.gState),ue($.matrix.toString()+" cm"),ue("/"+Ue+" sh"),ue("Q");else if(We instanceof C2){var rt=new ae(1,0,0,-1,0,Ih());$.matrix&&(rt=rt.multiply($.matrix||Oe),Ue=AF.call(We,$.key,$.boundingBox,$.xStep,$.yStep,rt).id),ue("q"),ue("/Pattern cs"),ue("/"+Ue+" scn"),We.gState&&p.setGState(We.gState),ue(ye),ue("Q")}},mF=function($){switch($){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},JC=p.moveTo=function($,ye){return ue(w(O($))+" "+w(M(ye))+" m"),this},ng=p.lineTo=function($,ye){return ue(w(O($))+" "+w(M(ye))+" l"),this},Oh=p.curveTo=function($,ye,Ue,We,rt,bt){return ue([w(O($)),w(M(ye)),w(O(Ue)),w(M(We)),w(O(rt)),w(M(bt)),"c"].join(" ")),this};p.__private__.line=p.line=function($,ye,Ue,We,rt){if(isNaN($)||isNaN(ye)||isNaN(Ue)||isNaN(We)||!dd(rt))throw new Error("Invalid arguments passed to jsPDF.line");return y===v.COMPAT?this.lines([[Ue-$,We-ye]],$,ye,[1,1],rt||"S"):this.lines([[Ue-$,We-ye]],$,ye,[1,1]).stroke()},p.__private__.lines=p.lines=function($,ye,Ue,We,rt,bt){var jt,hr,Ur,gn,An,Zn,xo,Ro,us,Pa,Us,of;if(typeof $=="number"&&(of=Ue,Ue=ye,ye=$,$=of),We=We||[1,1],bt=bt||!1,isNaN(ye)||isNaN(Ue)||!Array.isArray($)||!Array.isArray(We)||!dd(rt)||typeof bt!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(JC(ye,Ue),jt=We[0],hr=We[1],gn=$.length,Pa=ye,Us=Ue,Ur=0;Ur<gn;Ur++)(An=$[Ur]).length===2?(Pa=An[0]*jt+Pa,Us=An[1]*hr+Us,ng(Pa,Us)):(Zn=An[0]*jt+Pa,xo=An[1]*hr+Us,Ro=An[2]*jt+Pa,us=An[3]*hr+Us,Pa=An[4]*jt+Pa,Us=An[5]*hr+Us,Oh(Zn,xo,Ro,us,Pa,Us));return bt&&Wx(),YC(rt),this},p.path=function($){for(var ye=0;ye<$.length;ye++){var Ue=$[ye],We=Ue.c;switch(Ue.op){case"m":JC(We[0],We[1]);break;case"l":ng(We[0],We[1]);break;case"c":Oh.apply(this,We);break;case"h":Wx()}}return this},p.__private__.rect=p.rect=function($,ye,Ue,We,rt){if(isNaN($)||isNaN(ye)||isNaN(Ue)||isNaN(We)||!dd(rt))throw new Error("Invalid arguments passed to jsPDF.rect");return y===v.COMPAT&&(We=-We),ue([w(O($)),w(M(ye)),w(O(Ue)),w(O(We)),"re"].join(" ")),YC(rt),this},p.__private__.triangle=p.triangle=function($,ye,Ue,We,rt,bt,jt){if(isNaN($)||isNaN(ye)||isNaN(Ue)||isNaN(We)||isNaN(rt)||isNaN(bt)||!dd(jt))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[Ue-$,We-ye],[rt-Ue,bt-We],[$-rt,ye-bt]],$,ye,[1,1],jt,!0),this},p.__private__.roundedRect=p.roundedRect=function($,ye,Ue,We,rt,bt,jt){if(isNaN($)||isNaN(ye)||isNaN(Ue)||isNaN(We)||isNaN(rt)||isNaN(bt)||!dd(jt))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var hr=4/3*(Math.SQRT2-1);return rt=Math.min(rt,.5*Ue),bt=Math.min(bt,.5*We),this.lines([[Ue-2*rt,0],[rt*hr,0,rt,bt-bt*hr,rt,bt],[0,We-2*bt],[0,bt*hr,-rt*hr,bt,-rt,bt],[2*rt-Ue,0],[-rt*hr,0,-rt,-bt*hr,-rt,-bt],[0,2*bt-We],[0,-bt*hr,rt*hr,-bt,rt,-bt]],$+rt,ye,[1,1],jt,!0),this},p.__private__.ellipse=p.ellipse=function($,ye,Ue,We,rt){if(isNaN($)||isNaN(ye)||isNaN(Ue)||isNaN(We)||!dd(rt))throw new Error("Invalid arguments passed to jsPDF.ellipse");var bt=4/3*(Math.SQRT2-1)*Ue,jt=4/3*(Math.SQRT2-1)*We;return JC($+Ue,ye),Oh($+Ue,ye-jt,$+bt,ye-We,$,ye-We),Oh($-bt,ye-We,$-Ue,ye-jt,$-Ue,ye),Oh($-Ue,ye+jt,$-bt,ye+We,$,ye+We),Oh($+bt,ye+We,$+Ue,ye+jt,$+Ue,ye),YC(rt),this},p.__private__.circle=p.circle=function($,ye,Ue,We){if(isNaN($)||isNaN(ye)||isNaN(Ue)||!dd(We))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse($,ye,Ue,Ue,We)},p.setFont=function($,ye,Ue){return Ue&&(ye=S(ye,Ue)),pe=To($,ye,{disableWarning:!1}),this};var gF=p.__private__.getFont=p.getFont=function(){return ot[To.apply(p,arguments)]};p.__private__.getFontList=p.getFontList=function(){var $,ye,Ue={};for($ in At)if(At.hasOwnProperty($))for(ye in Ue[$]=[],At[$])At[$].hasOwnProperty(ye)&&Ue[$].push(ye);return Ue},p.addFont=function($,ye,Ue,We,rt){var bt=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&bt.indexOf(arguments[3])!==-1?rt=arguments[3]:arguments[3]&&bt.indexOf(arguments[3])==-1&&(Ue=S(Ue,We)),rt=rt||"Identity-H",rr.call(this,$,ye,Ue,rt)};var ig,ZC=t.lineWidth||.200025,Tv=p.__private__.getLineWidth=p.getLineWidth=function(){return ZC},zx=p.__private__.setLineWidth=p.setLineWidth=function($){return ZC=$,ue(w(O($))+" w"),this};p.__private__.setLineDash=qr.API.setLineDash=qr.API.setLineDashPattern=function($,ye){if($=$||[],ye=ye||0,isNaN(ye)||!Array.isArray($))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return $=$.map(function(Ue){return w(O(Ue))}).join(" "),ye=w(O(ye)),ue("["+$+"] "+ye+" d"),this};var Kx=p.__private__.getLineHeight=p.getLineHeight=function(){return je*ig};p.__private__.getLineHeight=p.getLineHeight=function(){return je*ig};var qx=p.__private__.setLineHeightFactor=p.setLineHeightFactor=function($){return typeof($=$||1.15)=="number"&&(ig=$),this},Xx=p.__private__.getLineHeightFactor=p.getLineHeightFactor=function(){return ig};qx(t.lineHeight);var pd=p.__private__.getHorizontalCoordinate=function($){return O($)},Wp=p.__private__.getVerticalCoordinate=function($){return y===v.ADVANCED?$:Dt[G].mediaBox.topRightY-Dt[G].mediaBox.bottomLeftY-O($)},vF=p.__private__.getHorizontalCoordinateString=p.getHorizontalCoordinateString=function($){return w(pd($))},Ph=p.__private__.getVerticalCoordinateString=p.getVerticalCoordinateString=function($){return w(Wp($))},nf=t.strokeColor||"0 G";p.__private__.getStrokeColor=p.getDrawColor=function(){return Ft(nf)},p.__private__.setStrokeColor=p.setDrawColor=function($,ye,Ue,We){return nf=mt({ch1:$,ch2:ye,ch3:Ue,ch4:We,pdfColorType:"draw",precision:2}),ue(nf),this};var eb=t.fillColor||"0 g";p.__private__.getFillColor=p.getFillColor=function(){return Ft(eb)},p.__private__.setFillColor=p.setFillColor=function($,ye,Ue,We){return eb=mt({ch1:$,ch2:ye,ch3:Ue,ch4:We,pdfColorType:"fill",precision:2}),ue(eb),this};var og=t.textColor||"0 g",yF=p.__private__.getTextColor=p.getTextColor=function(){return Ft(og)};p.__private__.setTextColor=p.setTextColor=function($,ye,Ue,We){return og=mt({ch1:$,ch2:ye,ch3:Ue,ch4:We,pdfColorType:"text",precision:3}),this};var Lv=t.charSpace,BF=p.__private__.getCharSpace=p.getCharSpace=function(){return parseFloat(Lv||0)};p.__private__.setCharSpace=p.setCharSpace=function($){if(isNaN($))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Lv=$,this};var tb=0;p.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},p.__private__.setLineCap=p.setLineCap=function($){var ye=p.CapJoinStyles[$];if(ye===void 0)throw new Error("Line cap style of '"+$+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return tb=ye,ue(ye+" J"),this};var rb=0;p.__private__.setLineJoin=p.setLineJoin=function($){var ye=p.CapJoinStyles[$];if(ye===void 0)throw new Error("Line join style of '"+$+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return rb=ye,ue(ye+" j"),this},p.__private__.setLineMiterLimit=p.__private__.setMiterLimit=p.setLineMiterLimit=p.setMiterLimit=function($){if($=$||0,isNaN($))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return ue(w(O($))+" M"),this},p.GState=xP,p.setGState=function($){($=typeof $=="string"?jr[yr[$]]:Yx(null,$)).equals(Sr)||(ue("/"+$.id+" gs"),Sr=$)};var Yx=function($,ye){if(!$||!yr[$]){var Ue=!1;for(var We in jr)if(jr.hasOwnProperty(We)&&jr[We].equals(ye)){Ue=!0;break}if(Ue)ye=jr[We];else{var rt="GS"+(Object.keys(jr).length+1).toString(10);jr[rt]=ye,ye.id=rt}return $&&(yr[$]=ye.id),ir.publish("addGState",ye),ye}};p.addGState=function($,ye){return Yx($,ye),this},p.saveGraphicsState=function(){return ue("q"),Ct.push({key:pe,size:je,color:og}),this},p.restoreGraphicsState=function(){ue("Q");var $=Ct.pop();return pe=$.key,je=$.size,og=$.color,Sr=null,this},p.setCurrentTransformationMatrix=function($){return ue($.toString()+" cm"),this},p.comment=function($){return ue("#"+$),this};var Rv=function($,ye){var Ue=$||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Ue},set:function(bt){isNaN(bt)||(Ue=parseFloat(bt))}});var We=ye||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return We},set:function(bt){isNaN(bt)||(We=parseFloat(bt))}});var rt="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return rt},set:function(bt){rt=bt.toString()}}),this},nb=function($,ye,Ue,We){Rv.call(this,$,ye),this.type="rect";var rt=Ue||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return rt},set:function(jt){isNaN(jt)||(rt=parseFloat(jt))}});var bt=We||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return bt},set:function(jt){isNaN(jt)||(bt=parseFloat(jt))}}),this},ib=function(){this.page=Jt,this.currentPage=G,this.pages=de.slice(0),this.pagesContext=Dt.slice(0),this.x=_e,this.y=he,this.matrix=Ee,this.width=sg(G),this.height=Ih(G),this.outputDestination=le,this.id="",this.objectNumber=-1};ib.prototype.restore=function(){Jt=this.page,G=this.currentPage,Dt=this.pagesContext,de=this.pages,_e=this.x,he=this.y,Ee=this.matrix,ob(G,this.width),sb(G,this.height),le=this.outputDestination};var Jx=function($,ye,Ue,We,rt){se.push(new ib),Jt=G=0,de=[],_e=$,he=ye,Ee=rt,No([Ue,We])},CF=function($){if(Yr[$])se.pop().restore();else{var ye=new ib,Ue="Xo"+(Object.keys(Ar).length+1).toString(10);ye.id=Ue,Yr[$]=Ue,Ar[Ue]=ye,ir.publish("addFormObject",ye),se.pop().restore()}};for(var Mv in p.beginFormObject=function($,ye,Ue,We,rt){return Jx($,ye,Ue,We,rt),this},p.endFormObject=function($){return CF($),this},p.doFormObject=function($,ye){var Ue=Ar[Yr[$]];return ue("q"),ue(ye.toString()+" cm"),ue("/"+Ue.id+" Do"),ue("Q"),this},p.getFormObject=function($){var ye=Ar[Yr[$]];return{x:ye.x,y:ye.y,width:ye.width,height:ye.height,matrix:ye.matrix}},p.save=function($,ye){return $=$||"generated.pdf",(ye=ye||{}).returnPromise=ye.returnPromise||!1,ye.returnPromise===!1?(_g(rf(js()),$),typeof _g.unload=="function"&&Jr.setTimeout&&setTimeout(_g.unload,911),this):new Promise(function(Ue,We){try{var rt=_g(rf(js()),$);typeof _g.unload=="function"&&Jr.setTimeout&&setTimeout(_g.unload,911),Ue(rt)}catch(bt){We(bt.message)}})},qr.API)qr.API.hasOwnProperty(Mv)&&(Mv==="events"&&qr.API.events.length?function($,ye){var Ue,We,rt;for(rt=ye.length-1;rt!==-1;rt--)Ue=ye[rt][0],We=ye[rt][1],$.subscribe.apply($,[Ue].concat(typeof We=="function"?[We]:We))}(ir,qr.API.events):p[Mv]=qr.API[Mv]);var sg=p.getPageWidth=function($){return(Dt[$=$||G].mediaBox.topRightX-Dt[$].mediaBox.bottomLeftX)/be},ob=p.setPageWidth=function($,ye){Dt[$].mediaBox.topRightX=ye*be+Dt[$].mediaBox.bottomLeftX},Ih=p.getPageHeight=function($){return(Dt[$=$||G].mediaBox.topRightY-Dt[$].mediaBox.bottomLeftY)/be},sb=p.setPageHeight=function($,ye){Dt[$].mediaBox.topRightY=ye*be+Dt[$].mediaBox.bottomLeftY};return p.internal={pdfEscape:Ni,getStyle:Gx,getFont:gF,getFontSize:ze,getCharSpace:BF,getTextColor:yF,getLineHeight:Kx,getLineHeightFactor:Xx,getLineWidth:Tv,write:Ne,getHorizontalCoordinate:pd,getVerticalCoordinate:Wp,getCoordinateString:vF,getVerticalCoordinateString:Ph,collections:{},newObject:Le,newAdditionalObject:ft,newObjectDeferred:Qe,newObjectDeferredBegin:Ge,getFilters:dt,putStream:Lt,events:ir,scaleFactor:be,pageSize:{getWidth:function(){return sg(G)},setWidth:function($){ob(G,$)},getHeight:function(){return Ih(G)},setHeight:function($){sb(G,$)}},encryptionOptions:u,encryption:Lo,getEncryptor:rg,output:Gp,getNumberOfPages:Fo,pages:de,out:ue,f2:F,f3:k,getPageInfo:kh,getPageInfoByObjId:un,getCurrentPageInfo:dF,getPDFVersion:A,Point:Rv,Rectangle:nb,Matrix:ae,hasHotfix:nl},Object.defineProperty(p.internal.pageSize,"width",{get:function(){return sg(G)},set:function($){ob(G,$)},enumerable:!0,configurable:!0}),Object.defineProperty(p.internal.pageSize,"height",{get:function(){return Ih(G)},set:function($){sb(G,$)},enumerable:!0,configurable:!0}),Rr.call(p,Re),pe="F1",Oa(i,r),ir.publish("initialized"),p}Ky.prototype.lsbFirstWord=function(t){return String.fromCharCode(t>>0&255,t>>8&255,t>>16&255,t>>24&255)},Ky.prototype.toHexString=function(t){return t.split("").map(function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)}).join("")},Ky.prototype.hexToBytes=function(t){for(var e=[],r=0;r<t.length;r+=2)e.push(String.fromCharCode(parseInt(t.substr(r,2),16)));return e.join("")},Ky.prototype.processOwnerPassword=function(t,e){return _q(Mq(e).substr(0,5),t)},Ky.prototype.encryptor=function(t,e){var r=Mq(this.encryptionKey+String.fromCharCode(255&t,t>>8&255,t>>16&255,255&e,e>>8&255)).substr(0,10);return function(n){return _q(r,n)}},xP.prototype.equals=function(t){var e,r="id,objectNumber,equals";if(!t||Ei(t)!==Ei(this))return!1;var n=0;for(e in this)if(!(r.indexOf(e)>=0)){if(this.hasOwnProperty(e)&&!t.hasOwnProperty(e)||this[e]!==t[e])return!1;n++}for(e in t)t.hasOwnProperty(e)&&r.indexOf(e)<0&&n--;return n===0},qr.API={events:[]},qr.version="2.5.2";var _o=qr.API,$te=1,Nv=function(t){return t.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Ly=function(t){return t.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},hn=function(t){return t.toFixed(2)},i0=function(t){return t.toFixed(5)};_o.__acroform__={};var pc=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t},zve=function(t){return t*$te},Fd=function(t){var e=new CMe,r=kr.internal.getHeight(t)||0,n=kr.internal.getWidth(t)||0;return e.BBox=[0,0,Number(hn(n)),Number(hn(r))],e},Yor=_o.__acroform__.setBit=function(t,e){if(t=t||0,e=e||0,isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return t|=1<<e},Jor=_o.__acroform__.clearBit=function(t,e){if(t=t||0,e=e||0,isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return t&=~(1<<e)},Zor=_o.__acroform__.getBit=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return t&1<<e?1:0},rs=_o.__acroform__.getBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Zor(t,e-1)},ns=_o.__acroform__.setBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Yor(t,e-1)},is=_o.__acroform__.clearBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return Jor(t,e-1)},esr=_o.__acroform__.calculateCoordinates=function(t,e){var r=e.internal.getHorizontalCoordinate,n=e.internal.getVerticalCoordinate,i=t[0],o=t[1],s=t[2],a=t[3],l={};return l.lowerLeft_X=r(i)||0,l.lowerLeft_Y=n(o+a)||0,l.upperRight_X=r(i+s)||0,l.upperRight_Y=n(o)||0,[Number(hn(l.lowerLeft_X)),Number(hn(l.lowerLeft_Y)),Number(hn(l.upperRight_X)),Number(hn(l.upperRight_Y))]},tsr=function(t){if(t.appearanceStreamContent)return t.appearanceStreamContent;if(t.V||t.DV){var e=[],r=t._V||t.DV,n=jq(t,r),i=t.scope.internal.getFont(t.fontName,t.fontStyle).id;e.push("/Tx BMC"),e.push("q"),e.push("BT"),e.push(t.scope.__private__.encodeColorString(t.color)),e.push("/"+i+" "+hn(n.fontSize)+" Tf"),e.push("1 0 0 1 0 0 Tm"),e.push(n.text),e.push("ET"),e.push("Q"),e.push("EMC");var o=Fd(t);return o.scope=t.scope,o.stream=e.join(` `),o}},jq=function(t,e){var r=t.fontSize===0?t.maxFontSize:t.fontSize,n={text:"",fontSize:""},i=(e=(e=e.substr(0,1)=="("?e.substr(1):e).substr(e.length-1)==")"?e.substr(0,e.length-1):e).split(" ");i=t.multiline?i.map(function(k){return k.split(` `)}):i.map(function(k){return[k]});var o=r,s=kr.internal.getHeight(t)||0;s=s<0?-s:s;var a=kr.internal.getWidth(t)||0;a=a<0?-a:a;var l=function(k,O,L){if(k+1<i.length){var M=O+" "+i[k+1][0];return kE(M,t,L).width<=a-4}return!1};o++;e:for(;o>0;){e="",o--;var c,u,f=kE("3",t,o).height,d=t.multiline?s-o:(s-f)/2,p=d+=2,h=0,A=0,g=0;if(o<=0){e=`(...) Tj `,e+="% Width of Text: "+kE(e,t,o=12).width+", FieldWidth:"+a+` `;break}for(var m="",v=0,y=0;y<i.length;y++)if(i.hasOwnProperty(y)){var b=!1;if(i[y].length!==1&&g!==i[y].length-1){if((f+2)*(v+2)+2>s)continue e;m+=i[y][g],b=!0,A=y,y--}else{m=(m+=i[y][g]+" ").substr(m.length-1)==" "?m.substr(0,m.length-1):m;var B=parseInt(y),S=l(B,m,o),w=y>=i.length-1;if(S&&!w){m+=" ",g=0;continue}if(S||w){if(w)A=B;else if(t.multiline&&(f+2)*(v+2)+2>s)continue e}else{if(!t.multiline||(f+2)*(v+2)+2>s)continue e;A=B}}for(var x="",I=h;I<=A;I++){var F=i[I];if(t.multiline){if(I===A){x+=F[g]+" ",g=(g+1)%F.length;continue}if(I===h){x+=F[F.length-1]+" ";continue}}x+=F[0]+" "}switch(x=x.substr(x.length-1)==" "?x.substr(0,x.length-1):x,u=kE(x,t,o).width,t.textAlign){case"right":c=a-u-2;break;case"center":c=(a-u)/2;break;case"left":default:c=2}e+=hn(c)+" "+hn(p)+` Td `,e+="("+Nv(x)+`) Tj `,e+=-hn(c)+` 0 Td `,p=-(o+2),u=0,h=b?A:A+1,v++,m=""}break}return n.text=e,n.fontSize=o,n},kE=function(t,e,r){var n=e.scope.internal.getFont(e.fontName,e.fontStyle),i=e.scope.getStringUnitWidth(t,{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r);return{height:e.scope.getStringUnitWidth("3",{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r)*1.5,width:i}},rsr={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},nsr=function(t,e){var r={type:"reference",object:t};e.internal.getPageInfo(t.page).pageContext.annotations.find(function(n){return n.type===r.type&&n.object===r.object})===void 0&&e.internal.getPageInfo(t.page).pageContext.annotations.push(r)},isr=function(t,e){for(var r in t)if(t.hasOwnProperty(r)){var n=r,i=t[r];e.internal.newObjectDeferredBegin(i.objId,!0),Ei(i)==="object"&&typeof i.putStream=="function"&&i.putStream(),delete t[n]}},osr=function(t,e){if(e.scope=t,t.internal!==void 0&&(t.internal.acroformPlugin===void 0||t.internal.acroformPlugin.isInitialized===!1)){if(ud.FieldNum=0,t.internal.acroformPlugin=JSON.parse(JSON.stringify(rsr)),t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");$te=t.internal.scaleFactor,t.internal.acroformPlugin.acroFormDictionaryRoot=new bMe,t.internal.acroformPlugin.acroFormDictionaryRoot.scope=t,t.internal.acroformPlugin.acroFormDictionaryRoot._eventID=t.internal.events.subscribe("postPutResources",function(){(function(r){r.internal.events.unsubscribe(r.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete r.internal.acroformPlugin.acroFormDictionaryRoot._eventID,r.internal.acroformPlugin.printedOut=!0})(t)}),t.internal.events.subscribe("buildDocument",function(){(function(r){r.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var n=r.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var i in n)if(n.hasOwnProperty(i)){var o=n[i];o.objId=void 0,o.hasAnnotation&&nsr(o,r)}})(t)}),t.internal.events.subscribe("putCatalog",function(){(function(r){if(r.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");r.internal.write("/AcroForm "+r.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(t)}),t.internal.events.subscribe("postPutPages",function(r){(function(n,i){var o=!n;for(var s in n||(i.internal.newObjectDeferredBegin(i.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),i.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),n=n||i.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(n.hasOwnProperty(s)){var a=n[s],l=[],c=a.Rect;if(a.Rect&&(a.Rect=esr(a.Rect,i)),i.internal.newObjectDeferredBegin(a.objId,!0),a.DA=kr.createDefaultAppearanceStream(a),Ei(a)==="object"&&typeof a.getKeyValueListForStream=="function"&&(l=a.getKeyValueListForStream()),a.Rect=c,a.hasAppearanceStream&&!a.appearanceStreamContent){var u=tsr(a);l.push({key:"AP",value:"<</N "+u+">>"}),i.internal.acroformPlugin.xForms.push(u)}if(a.appearanceStreamContent){var f="";for(var d in a.appearanceStreamContent)if(a.appearanceStreamContent.hasOwnProperty(d)){var p=a.appearanceStreamContent[d];if(f+="/"+d+" ",f+="<<",Object.keys(p).length>=1||Array.isArray(p)){for(var s in p)if(p.hasOwnProperty(s)){var h=p[s];typeof h=="function"&&(h=h.call(i,a)),f+="/"+s+" "+h+" ",i.internal.acroformPlugin.xForms.indexOf(h)>=0||i.internal.acroformPlugin.xForms.push(h)}}else typeof(h=p)=="function"&&(h=h.call(i,a)),f+="/"+s+" "+h,i.internal.acroformPlugin.xForms.indexOf(h)>=0||i.internal.acroformPlugin.xForms.push(h);f+=">>"}l.push({key:"AP",value:`<< `+f+">>"})}i.internal.putStream({additionalKeyValues:l,objectId:a.objId}),i.internal.out("endobj")}o&&isr(i.internal.acroformPlugin.xForms,i)})(r,t)}),t.internal.acroformPlugin.isInitialized=!0}},BMe=_o.__acroform__.arrayToPdfArray=function(t,e,r){var n=function(s){return s};if(Array.isArray(t)){for(var i="[",o=0;o<t.length;o++)switch(o!==0&&(i+=" "),Ei(t[o])){case"boolean":case"number":case"object":i+=t[o].toString();break;case"string":t[o].substr(0,1)!=="/"?(e!==void 0&&r&&(n=r.internal.getEncryptor(e)),i+="("+Nv(n(t[o].toString()))+")"):i+=t[o].toString()}return i+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},oQ=function(t,e,r){var n=function(i){return i};return e!==void 0&&r&&(n=r.internal.getEncryptor(e)),(t=t||"").toString(),t="("+Nv(n(t))+")"},fp=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(t){this._objId=t}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};fp.prototype.toString=function(){return this.objId+" 0 R"},fp.prototype.putStream=function(){var t=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:t,objectId:this.objId}),this.scope.internal.out("endobj")},fp.prototype.getKeyValueListForStream=function(){var t=[],e=Object.getOwnPropertyNames(this).filter(function(o){return o!="content"&&o!="appearanceStreamContent"&&o!="scope"&&o!="objId"&&o.substring(0,1)!="_"});for(var r in e)if(Object.getOwnPropertyDescriptor(this,e[r]).configurable===!1){var n=e[r],i=this[n];i&&(Array.isArray(i)?t.push({key:n,value:BMe(i,this.objId,this.scope)}):i instanceof fp?(i.scope=this.scope,t.push({key:n,value:i.objId+" 0 R"})):typeof i!="function"&&t.push({key:n,value:i}))}return t};var CMe=function(){fp.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var t,e=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return e},set:function(r){e=r}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(r){t=r.trim()},get:function(){return t||null}})};pc(CMe,fp);var bMe=function(){fp.call(this);var t,e=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return e.length>0?e:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return e}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(t){var r=function(n){return n};return this.scope&&(r=this.scope.internal.getEncryptor(this.objId)),"("+Nv(r(t))+")"}},set:function(r){t=r}})};pc(bMe,fp);var ud=function t(){fp.call(this);var e=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return e},set:function(m){if(isNaN(m))throw new Error('Invalid value "'+m+'" for attribute F supplied.');e=m}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!rs(e,3)},set:function(m){m?this.F=ns(e,3):this.F=is(e,3)}});var r=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return r},set:function(m){if(isNaN(m))throw new Error('Invalid value "'+m+'" for attribute Ff supplied.');r=m}});var n=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(n.length!==0)return n},set:function(m){n=m!==void 0?m:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[0])?0:n[0]},set:function(m){n[0]=m}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[1])?0:n[1]},set:function(m){n[1]=m}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[2])?0:n[2]},set:function(m){n[2]=m}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[3])?0:n[3]},set:function(m){n[3]=m}});var i="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return i},set:function(m){switch(m){case"/Btn":case"/Tx":case"/Ch":case"/Sig":i=m;break;default:throw new Error('Invalid value "'+m+'" for attribute FT supplied.')}}});var o=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!o||o.length<1){if(this instanceof SP)return;o="FieldObject"+t.FieldNum++}var m=function(v){return v};return this.scope&&(m=this.scope.internal.getEncryptor(this.objId)),"("+Nv(m(o))+")"},set:function(m){o=m.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return o},set:function(m){o=m}});var s="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return s},set:function(m){s=m}});var a="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return a},set:function(m){a=m}});var l=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return l},set:function(m){l=m}});var c=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return c===void 0?50/$te:c},set:function(m){c=m}});var u="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return u},set:function(m){u=m}});var f="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!f||this instanceof SP||this instanceof P1))return oQ(f,this.objId,this.scope)},set:function(m){m=m.toString(),f=m}});var d=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(d)return this instanceof Xs?d:oQ(d,this.objId,this.scope)},set:function(m){m=m.toString(),d=this instanceof Xs?m:m.substr(0,1)==="("?Ly(m.substr(1,m.length-2)):Ly(m)}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Xs?Ly(d.substr(1,d.length-1)):d},set:function(m){m=m.toString(),d=this instanceof Xs?"/"+m:m}});var p=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(p)return p},set:function(m){this.V=m}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(p)return this instanceof Xs?p:oQ(p,this.objId,this.scope)},set:function(m){m=m.toString(),p=this instanceof Xs?m:m.substr(0,1)==="("?Ly(m.substr(1,m.length-2)):Ly(m)}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Xs?Ly(p.substr(1,p.length-1)):p},set:function(m){m=m.toString(),p=this instanceof Xs?"/"+m:m}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var h,A=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return A},set:function(m){m=!!m,A=m}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(h)return h},set:function(m){h=m}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!rs(this.Ff,1)},set:function(m){m?this.Ff=ns(this.Ff,1):this.Ff=is(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!rs(this.Ff,2)},set:function(m){m?this.Ff=ns(this.Ff,2):this.Ff=is(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!rs(this.Ff,3)},set:function(m){m?this.Ff=ns(this.Ff,3):this.Ff=is(this.Ff,3)}});var g=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(g!==null)return g},set:function(m){if([0,1,2].indexOf(m)===-1)throw new Error('Invalid value "'+m+'" for attribute Q supplied.');g=m}}),Object.defineProperty(this,"textAlign",{get:function(){var m;switch(g){case 0:default:m="left";break;case 1:m="center";break;case 2:m="right"}return m},configurable:!0,enumerable:!0,set:function(m){switch(m){case"right":case 2:g=2;break;case"center":case 1:g=1;break;case"left":case 0:default:g=0}}})};pc(ud,fp);var X2=function(){ud.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var t=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return t},set:function(r){t=r}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return t},set:function(r){t=r}});var e=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return BMe(e,this.objId,this.scope)},set:function(r){var n,i;i=[],typeof(n=r)=="string"&&(i=function(o,s,a){a||(a=1);for(var l,c=[];l=s.exec(o);)c.push(l[a]);return c}(n,/\((.*?)\)/g)),e=i}}),this.getOptions=function(){return e},this.setOptions=function(r){e=r,this.sort&&e.sort()},this.addOption=function(r){r=(r=r||"").toString(),e.push(r),this.sort&&e.sort()},this.removeOption=function(r,n){for(n=n||!1,r=(r=r||"").toString();e.indexOf(r)!==-1&&(e.splice(e.indexOf(r),1),n!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!rs(this.Ff,18)},set:function(r){r?this.Ff=ns(this.Ff,18):this.Ff=is(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!rs(this.Ff,19)},set:function(r){this.combo===!0&&(r?this.Ff=ns(this.Ff,19):this.Ff=is(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!rs(this.Ff,20)},set:function(r){r?(this.Ff=ns(this.Ff,20),e.sort()):this.Ff=is(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!rs(this.Ff,22)},set:function(r){r?this.Ff=ns(this.Ff,22):this.Ff=is(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!rs(this.Ff,23)},set:function(r){r?this.Ff=ns(this.Ff,23):this.Ff=is(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!rs(this.Ff,27)},set:function(r){r?this.Ff=ns(this.Ff,27):this.Ff=is(this.Ff,27)}}),this.hasAppearanceStream=!1};pc(X2,ud);var Y2=function(){X2.call(this),this.fontName="helvetica",this.combo=!1};pc(Y2,X2);var J2=function(){Y2.call(this),this.combo=!0};pc(J2,Y2);var YD=function(){J2.call(this),this.edit=!0};pc(YD,J2);var Xs=function(){ud.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!rs(this.Ff,15)},set:function(r){r?this.Ff=ns(this.Ff,15):this.Ff=is(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!rs(this.Ff,16)},set:function(r){r?this.Ff=ns(this.Ff,16):this.Ff=is(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!rs(this.Ff,17)},set:function(r){r?this.Ff=ns(this.Ff,17):this.Ff=is(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!rs(this.Ff,26)},set:function(r){r?this.Ff=ns(this.Ff,26):this.Ff=is(this.Ff,26)}});var t,e={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var r=function(o){return o};if(this.scope&&(r=this.scope.internal.getEncryptor(this.objId)),Object.keys(e).length!==0){var n,i=[];for(n in i.push("<<"),e)i.push("/"+n+" ("+Nv(r(e[n]))+")");return i.push(">>"),i.join(` `)}},set:function(r){Ei(r)==="object"&&(e=r)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return e.CA||""},set:function(r){typeof r=="string"&&(e.CA=r)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(r){t=r}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(r){t="/"+r}})};pc(Xs,ud);var JD=function(){Xs.call(this),this.pushButton=!0};pc(JD,Xs);var Z2=function(){Xs.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e!==void 0?e:[]}})};pc(Z2,Xs);var SP=function(){var t,e;ud.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(i){t=i}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return e},set:function(i){e=i}});var r,n={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var i=function(a){return a};this.scope&&(i=this.scope.internal.getEncryptor(this.objId));var o,s=[];for(o in s.push("<<"),n)s.push("/"+o+" ("+Nv(i(n[o]))+")");return s.push(">>"),s.join(` `)},set:function(i){Ei(i)==="object"&&(n=i)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return n.CA||""},set:function(i){typeof i=="string"&&(n.CA=i)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return r},set:function(i){r=i}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return r.substr(1,r.length-1)},set:function(i){r="/"+i}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=kr.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};pc(SP,ud),Z2.prototype.setAppearance=function(t){if(!("createAppearanceStream"in t)||!("getCA"in t))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var e in this.Kids)if(this.Kids.hasOwnProperty(e)){var r=this.Kids[e];r.appearanceStreamContent=t.createAppearanceStream(r.optionName),r.caption=t.getCA()}},Z2.prototype.createOption=function(t){var e=new SP;return e.Parent=this,e.optionName=t,this.Kids.push(e),ssr.call(this.scope,e),e};var ZD=function(){Xs.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=kr.CheckBox.createAppearanceStream()};pc(ZD,Xs);var P1=function(){ud.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!rs(this.Ff,13)},set:function(e){e?this.Ff=ns(this.Ff,13):this.Ff=is(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!rs(this.Ff,21)},set:function(e){e?this.Ff=ns(this.Ff,21):this.Ff=is(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!rs(this.Ff,23)},set:function(e){e?this.Ff=ns(this.Ff,23):this.Ff=is(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!rs(this.Ff,24)},set:function(e){e?this.Ff=ns(this.Ff,24):this.Ff=is(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!rs(this.Ff,25)},set:function(e){e?this.Ff=ns(this.Ff,25):this.Ff=is(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!rs(this.Ff,26)},set:function(e){e?this.Ff=ns(this.Ff,26):this.Ff=is(this.Ff,26)}});var t=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){Number.isInteger(e)&&(t=e)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};pc(P1,ud);var e7=function(){P1.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!rs(this.Ff,14)},set:function(t){t?this.Ff=ns(this.Ff,14):this.Ff=is(this.Ff,14)}}),this.password=!0};pc(e7,P1);var kr={CheckBox:{createAppearanceStream:function(){return{N:{On:kr.CheckBox.YesNormal},D:{On:kr.CheckBox.YesPushDown,Off:kr.CheckBox.OffPushDown}}},YesPushDown:function(t){var e=Fd(t);e.scope=t.scope;var r=[],n=t.scope.internal.getFont(t.fontName,t.fontStyle).id,i=t.scope.__private__.encodeColorString(t.color),o=jq(t,t.caption);return r.push("0.749023 g"),r.push("0 0 "+hn(kr.internal.getWidth(t))+" "+hn(kr.internal.getHeight(t))+" re"),r.push("f"),r.push("BMC"),r.push("q"),r.push("0 0 1 rg"),r.push("/"+n+" "+hn(o.fontSize)+" Tf "+i),r.push("BT"),r.push(o.text),r.push("ET"),r.push("Q"),r.push("EMC"),e.stream=r.join(` `),e},YesNormal:function(t){var e=Fd(t);e.scope=t.scope;var r=t.scope.internal.getFont(t.fontName,t.fontStyle).id,n=t.scope.__private__.encodeColorString(t.color),i=[],o=kr.internal.getHeight(t),s=kr.internal.getWidth(t),a=jq(t,t.caption);return i.push("1 g"),i.push("0 0 "+hn(s)+" "+hn(o)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+hn(s-1)+" "+hn(o-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+r+" "+hn(a.fontSize)+" Tf "+n),i.push(a.text),i.push("ET"),i.push("Q"),e.stream=i.join(` `),e},OffPushDown:function(t){var e=Fd(t);e.scope=t.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+hn(kr.internal.getWidth(t))+" "+hn(kr.internal.getHeight(t))+" re"),r.push("f"),e.stream=r.join(` `),e}},RadioButton:{Circle:{createAppearanceStream:function(t){var e={D:{Off:kr.RadioButton.Circle.OffPushDown},N:{}};return e.N[t]=kr.RadioButton.Circle.YesNormal,e.D[t]=kr.RadioButton.Circle.YesPushDown,e},getCA:function(){return"l"},YesNormal:function(t){var e=Fd(t);e.scope=t.scope;var r=[],n=kr.internal.getWidth(t)<=kr.internal.getHeight(t)?kr.internal.getWidth(t)/4:kr.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=kr.internal.Bezier_C,o=Number((n*i).toFixed(5));return r.push("q"),r.push("1 0 0 1 "+i0(kr.internal.getWidth(t)/2)+" "+i0(kr.internal.getHeight(t)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+o+" "+o+" "+n+" 0 "+n+" c"),r.push("-"+o+" "+n+" -"+n+" "+o+" -"+n+" 0 c"),r.push("-"+n+" -"+o+" -"+o+" -"+n+" 0 -"+n+" c"),r.push(o+" -"+n+" "+n+" -"+o+" "+n+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join(` `),e},YesPushDown:function(t){var e=Fd(t);e.scope=t.scope;var r=[],n=kr.internal.getWidth(t)<=kr.internal.getHeight(t)?kr.internal.getWidth(t)/4:kr.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=Number((2*n).toFixed(5)),o=Number((i*kr.internal.Bezier_C).toFixed(5)),s=Number((n*kr.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+i0(kr.internal.getWidth(t)/2)+" "+i0(kr.internal.getHeight(t)/2)+" cm"),r.push(i+" 0 m"),r.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),r.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),r.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),r.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),r.push("f"),r.push("Q"),r.push("0 g"),r.push("q"),r.push("1 0 0 1 "+i0(kr.internal.getWidth(t)/2)+" "+i0(kr.internal.getHeight(t)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+s+" "+s+" "+n+" 0 "+n+" c"),r.push("-"+s+" "+n+" -"+n+" "+s+" -"+n+" 0 c"),r.push("-"+n+" -"+s+" -"+s+" -"+n+" 0 -"+n+" c"),r.push(s+" -"+n+" "+n+" -"+s+" "+n+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join(` `),e},OffPushDown:function(t){var e=Fd(t);e.scope=t.scope;var r=[],n=kr.internal.getWidth(t)<=kr.internal.getHeight(t)?kr.internal.getWidth(t)/4:kr.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=Number((2*n).toFixed(5)),o=Number((i*kr.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+i0(kr.internal.getWidth(t)/2)+" "+i0(kr.internal.getHeight(t)/2)+" cm"),r.push(i+" 0 m"),r.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),r.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),r.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),r.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join(` `),e}},Cross:{createAppearanceStream:function(t){var e={D:{Off:kr.RadioButton.Cross.OffPushDown},N:{}};return e.N[t]=kr.RadioButton.Cross.YesNormal,e.D[t]=kr.RadioButton.Cross.YesPushDown,e},getCA:function(){return"8"},YesNormal:function(t){var e=Fd(t);e.scope=t.scope;var r=[],n=kr.internal.calculateCross(t);return r.push("q"),r.push("1 1 "+hn(kr.internal.getWidth(t)-2)+" "+hn(kr.internal.getHeight(t)-2)+" re"),r.push("W"),r.push("n"),r.push(hn(n.x1.x)+" "+hn(n.x1.y)+" m"),r.push(hn(n.x2.x)+" "+hn(n.x2.y)+" l"),r.push(hn(n.x4.x)+" "+hn(n.x4.y)+" m"),r.push(hn(n.x3.x)+" "+hn(n.x3.y)+" l"),r.push("s"),r.push("Q"),e.stream=r.join(` `),e},YesPushDown:function(t){var e=Fd(t);e.scope=t.scope;var r=kr.internal.calculateCross(t),n=[];return n.push("0.749023 g"),n.push("0 0 "+hn(kr.internal.getWidth(t))+" "+hn(kr.internal.getHeight(t))+" re"),n.push("f"),n.push("q"),n.push("1 1 "+hn(kr.internal.getWidth(t)-2)+" "+hn(kr.internal.getHeight(t)-2)+" re"),n.push("W"),n.push("n"),n.push(hn(r.x1.x)+" "+hn(r.x1.y)+" m"),n.push(hn(r.x2.x)+" "+hn(r.x2.y)+" l"),n.push(hn(r.x4.x)+" "+hn(r.x4.y)+" m"),n.push(hn(r.x3.x)+" "+hn(r.x3.y)+" l"),n.push("s"),n.push("Q"),e.stream=n.join(` `),e},OffPushDown:function(t){var e=Fd(t);e.scope=t.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+hn(kr.internal.getWidth(t))+" "+hn(kr.internal.getHeight(t))+" re"),r.push("f"),e.stream=r.join(` `),e}}},createDefaultAppearanceStream:function(t){var e=t.scope.internal.getFont(t.fontName,t.fontStyle).id,r=t.scope.__private__.encodeColorString(t.color);return"/"+e+" "+t.fontSize+" Tf "+r}};kr.internal={Bezier_C:.551915024494,calculateCross:function(t){var e=kr.internal.getWidth(t),r=kr.internal.getHeight(t),n=Math.min(e,r);return{x1:{x:(e-n)/2,y:(r-n)/2+n},x2:{x:(e-n)/2+n,y:(r-n)/2},x3:{x:(e-n)/2,y:(r-n)/2},x4:{x:(e-n)/2+n,y:(r-n)/2+n}}}},kr.internal.getWidth=function(t){var e=0;return Ei(t)==="object"&&(e=zve(t.Rect[2])),e},kr.internal.getHeight=function(t){var e=0;return Ei(t)==="object"&&(e=zve(t.Rect[3])),e};var ssr=_o.addField=function(t){if(osr(this,t),!(t instanceof ud))throw new Error("Invalid argument passed to jsPDF.addField.");var e;return(e=t).scope.internal.acroformPlugin.printedOut&&(e.scope.internal.acroformPlugin.printedOut=!1,e.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),e.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e),t.page=t.scope.internal.getCurrentPageInfo().pageNumber,this};_o.AcroFormChoiceField=X2,_o.AcroFormListBox=Y2,_o.AcroFormComboBox=J2,_o.AcroFormEditBox=YD,_o.AcroFormButton=Xs,_o.AcroFormPushButton=JD,_o.AcroFormRadioButton=Z2,_o.AcroFormCheckBox=ZD,_o.AcroFormTextField=P1,_o.AcroFormPasswordField=e7,_o.AcroFormAppearance=kr,_o.AcroForm={ChoiceField:X2,ListBox:Y2,ComboBox:J2,EditBox:YD,Button:Xs,PushButton:JD,RadioButton:Z2,CheckBox:ZD,TextField:P1,PasswordField:e7,Appearance:kr},qr.AcroForm={ChoiceField:X2,ListBox:Y2,ComboBox:J2,EditBox:YD,Button:Xs,PushButton:JD,RadioButton:Z2,CheckBox:ZD,TextField:P1,PasswordField:e7,Appearance:kr};function wMe(t){return t.reduce(function(e,r,n){return e[r]=n,e},{})}(function(t){t.__addimage__={};var e="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},n=t.__addimage__.getImageFileTypeByImageData=function(k,O){var L,M,H,V,j,R=e;if((O=O||e)==="RGBA"||k.data!==void 0&&k.data instanceof Uint8ClampedArray&&"height"in k&&"width"in k)return"RGBA";if(S(k))for(j in r)for(H=r[j],L=0;L<H.length;L+=1){for(V=!0,M=0;M<H[L].length;M+=1)if(H[L][M]!==void 0&&H[L][M]!==k[M]){V=!1;break}if(V===!0){R=j;break}}else for(j in r)for(H=r[j],L=0;L<H.length;L+=1){for(V=!0,M=0;M<H[L].length;M+=1)if(H[L][M]!==void 0&&H[L][M]!==k.charCodeAt(M)){V=!1;break}if(V===!0){R=j;break}}return R===e&&O!==e&&(R=O),R},i=function k(O){for(var L=this.internal.write,M=this.internal.putStream,H=(0,this.internal.getFilters)();H.indexOf("FlateEncode")!==-1;)H.splice(H.indexOf("FlateEncode"),1);O.objectId=this.internal.newObject();var V=[];if(V.push({key:"Type",value:"/XObject"}),V.push({key:"Subtype",value:"/Image"}),V.push({key:"Width",value:O.width}),V.push({key:"Height",value:O.height}),O.colorSpace===g.INDEXED?V.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(O.palette.length/3-1)+" "+("sMask"in O&&O.sMask!==void 0?O.objectId+2:O.objectId+1)+" 0 R]"}):(V.push({key:"ColorSpace",value:"/"+O.colorSpace}),O.colorSpace===g.DEVICE_CMYK&&V.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),V.push({key:"BitsPerComponent",value:O.bitsPerComponent}),"decodeParameters"in O&&O.decodeParameters!==void 0&&V.push({key:"DecodeParms",value:"<<"+O.decodeParameters+">>"}),"transparency"in O&&Array.isArray(O.transparency)){for(var j="",R=0,Q=O.transparency.length;R<Q;R++)j+=O.transparency[R]+" "+O.transparency[R]+" ";V.push({key:"Mask",value:"["+j+"]"})}O.sMask!==void 0&&V.push({key:"SMask",value:O.objectId+1+" 0 R"});var z=O.filter!==void 0?["/"+O.filter]:void 0;if(M({data:O.data,additionalKeyValues:V,alreadyAppliedFilters:z,objectId:O.objectId}),L("endobj"),"sMask"in O&&O.sMask!==void 0){var X="/Predictor "+O.predictor+" /Colors 1 /BitsPerComponent "+O.bitsPerComponent+" /Columns "+O.width,_={width:O.width,height:O.height,colorSpace:"DeviceGray",bitsPerComponent:O.bitsPerComponent,decodeParameters:X,data:O.sMask};"filter"in O&&(_.filter=O.filter),k.call(this,_)}if(O.colorSpace===g.INDEXED){var G=this.internal.newObject();M({data:x(new Uint8Array(O.palette)),objectId:G}),L("endobj")}},o=function(){var k=this.internal.collections.addImage_images;for(var O in k)i.call(this,k[O])},s=function(){var k,O=this.internal.collections.addImage_images,L=this.internal.write;for(var M in O)L("/I"+(k=O[M]).index,k.objectId,"0","R")},a=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",o),this.internal.events.subscribe("putXobjectDict",s))},l=function(){var k=this.internal.collections.addImage_images;return a.call(this),k},c=function(){return Object.keys(this.internal.collections.addImage_images).length},u=function(k){return typeof t["process"+k.toUpperCase()]=="function"},f=function(k){return Ei(k)==="object"&&k.nodeType===1},d=function(k,O){if(k.nodeName==="IMG"&&k.hasAttribute("src")){var L=""+k.getAttribute("src");if(L.indexOf("data:image/")===0)return H5(unescape(L).split("base64,").pop());var M=t.loadFile(L,!0);if(M!==void 0)return M}if(k.nodeName==="CANVAS"){if(k.width===0||k.height===0)throw new Error("Given canvas must have data. Canvas width: "+k.width+", height: "+k.height);var H;switch(O){case"PNG":H="image/png";break;case"WEBP":H="image/webp";break;case"JPEG":case"JPG":default:H="image/jpeg"}return H5(k.toDataURL(H,1).split("base64,").pop())}},p=function(k){var O=this.internal.collections.addImage_images;if(O){for(var L in O)if(k===O[L].alias)return O[L]}},h=function(k,O,L){return k||O||(k=-96,O=-96),k<0&&(k=-1*L.width*72/k/this.internal.scaleFactor),O<0&&(O=-1*L.height*72/O/this.internal.scaleFactor),k===0&&(k=O*L.width/L.height),O===0&&(O=k*L.height/L.width),[k,O]},A=function(k,O,L,M,H,V){var j=h.call(this,L,M,H),R=this.internal.getCoordinateString,Q=this.internal.getVerticalCoordinateString,z=l.call(this);if(L=j[0],M=j[1],z[H.index]=H,V){V*=Math.PI/180;var X=Math.cos(V),_=Math.sin(V),G=function(J){return J.toFixed(4)},W=[G(X),G(_),G(-1*_),G(X),0,0,"cm"]}this.internal.write("q"),V?(this.internal.write([1,"0","0",1,R(k),Q(O+M),"cm"].join(" ")),this.internal.write(W.join(" ")),this.internal.write([R(L),"0","0",R(M),"0","0","cm"].join(" "))):this.internal.write([R(L),"0","0",R(M),R(k),Q(O+M),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+H.index+" Do"),this.internal.write("Q")},g=t.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};t.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var m=t.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},v=t.__addimage__.sHashCode=function(k){var O,L,M=0;if(typeof k=="string")for(L=k.length,O=0;O<L;O++)M=(M<<5)-M+k.charCodeAt(O),M|=0;else if(S(k))for(L=k.byteLength/2,O=0;O<L;O++)M=(M<<5)-M+k[O],M|=0;return M},y=t.__addimage__.validateStringAsBase64=function(k){(k=k||"").toString().trim();var O=!0;return k.length===0&&(O=!1),k.length%4!=0&&(O=!1),/^[A-Za-z0-9+/]+$/.test(k.substr(0,k.length-2))===!1&&(O=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(k.substr(-2))===!1&&(O=!1),O},b=t.__addimage__.extractImageFromDataUrl=function(k){var O=(k=k||"").split("base64,"),L=null;if(O.length===2){var M=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(O[0]);Array.isArray(M)&&(L={mimeType:M[1],charset:M[2],data:O[1]})}return L},B=t.__addimage__.supportsArrayBuffer=function(){return typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"};t.__addimage__.isArrayBuffer=function(k){return B()&&k instanceof ArrayBuffer};var S=t.__addimage__.isArrayBufferView=function(k){return B()&&typeof Uint32Array<"u"&&(k instanceof Int8Array||k instanceof Uint8Array||typeof Uint8ClampedArray<"u"&&k instanceof Uint8ClampedArray||k instanceof Int16Array||k instanceof Uint16Array||k instanceof Int32Array||k instanceof Uint32Array||k instanceof Float32Array||k instanceof Float64Array)},w=t.__addimage__.binaryStringToUint8Array=function(k){for(var O=k.length,L=new Uint8Array(O),M=0;M<O;M++)L[M]=k.charCodeAt(M);return L},x=t.__addimage__.arrayBufferToBinaryString=function(k){for(var O="",L=S(k)?k:new Uint8Array(k),M=0;M<L.length;M+=8192)O+=String.fromCharCode.apply(null,L.subarray(M,M+8192));return O};t.addImage=function(){var k,O,L,M,H,V,j,R,Q;if(typeof arguments[1]=="number"?(O=e,L=arguments[1],M=arguments[2],H=arguments[3],V=arguments[4],j=arguments[5],R=arguments[6],Q=arguments[7]):(O=arguments[1],L=arguments[2],M=arguments[3],H=arguments[4],V=arguments[5],j=arguments[6],R=arguments[7],Q=arguments[8]),Ei(k=arguments[0])==="object"&&!f(k)&&"imageData"in k){var z=k;k=z.imageData,O=z.format||O||e,L=z.x||L||0,M=z.y||M||0,H=z.w||z.width||H,V=z.h||z.height||V,j=z.alias||j,R=z.compression||R,Q=z.rotation||z.angle||Q}var X=this.internal.getFilters();if(R===void 0&&X.indexOf("FlateEncode")!==-1&&(R="SLOW"),isNaN(L)||isNaN(M))throw new Error("Invalid coordinates passed to jsPDF.addImage");a.call(this);var _=I.call(this,k,O,j,R);return A.call(this,L,M,H,V,_,Q),this};var I=function(k,O,L,M){var H,V,j;if(typeof k=="string"&&n(k)===e){k=unescape(k);var R=F(k,!1);(R!==""||(R=t.loadFile(k,!0))!==void 0)&&(k=R)}if(f(k)&&(k=d(k,O)),O=n(k,O),!u(O))throw new Error("addImage does not support files of type '"+O+"', please ensure that a plugin for '"+O+"' support is added.");if(((j=L)==null||j.length===0)&&(L=function(Q){return typeof Q=="string"||S(Q)?v(Q):S(Q.data)?v(Q.data):null}(k)),(H=p.call(this,L))||(B()&&(k instanceof Uint8Array||O==="RGBA"||(V=k,k=w(k))),H=this["process"+O.toUpperCase()](k,c.call(this),L,function(Q){return Q&&typeof Q=="string"&&(Q=Q.toUpperCase()),Q in t.image_compression?Q:m.NONE}(M),V)),!H)throw new Error("An unknown error occurred whilst processing the image.");return H},F=t.__addimage__.convertBase64ToBinaryString=function(k,O){var L;O=typeof O!="boolean"||O;var M,H="";if(typeof k=="string"){M=(L=b(k))!==null?L.data:k;try{H=H5(M)}catch(V){if(O)throw y(M)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+V.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return H};t.getImageProperties=function(k){var O,L,M="";if(f(k)&&(k=d(k)),typeof k=="string"&&n(k)===e&&((M=F(k,!1))===""&&(M=t.loadFile(k)||""),k=M),L=n(k),!u(L))throw new Error("addImage does not support files of type '"+L+"', please ensure that a plugin for '"+L+"' support is added.");if(!B()||k instanceof Uint8Array||(k=w(k)),!(O=this["process"+L.toUpperCase()](k)))throw new Error("An unknown error occurred whilst processing the image");return O.fileType=L,O}})(qr.API),function(t){var e=function(r){if(r!==void 0&&r!="")return!0};qr.API.events.push(["addPage",function(r){this.internal.getPageInfo(r.pageNumber).pageContext.annotations=[]}]),t.events.push(["putPage",function(r){for(var n,i,o,s=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString,l=this.internal.getPageInfoByObjId(r.objId),c=r.pageContext.annotations,u=!1,f=0;f<c.length&&!u;f++)switch((n=c[f]).type){case"link":(e(n.options.url)||e(n.options.pageNumber))&&(u=!0);break;case"reference":case"text":case"freetext":u=!0}if(u!=0){this.internal.write("/Annots [");for(var d=0;d<c.length;d++){n=c[d];var p=this.internal.pdfEscape,h=this.internal.getEncryptor(r.objId);switch(n.type){case"reference":this.internal.write(" "+n.object.objId+" 0 R ");break;case"text":var A=this.internal.newAdditionalObject(),g=this.internal.newAdditionalObject(),m=this.internal.getEncryptor(A.objId),v=n.title||"Note";o="<</Type /Annot /Subtype /Text "+(i="/Rect ["+s(n.bounds.x)+" "+a(n.bounds.y+n.bounds.h)+" "+s(n.bounds.x+n.bounds.w)+" "+a(n.bounds.y)+"] ")+"/Contents ("+p(m(n.contents))+")",o+=" /Popup "+g.objId+" 0 R",o+=" /P "+l.objId+" 0 R",o+=" /T ("+p(m(v))+") >>",A.content=o;var y=A.objId+" 0 R";o="<</Type /Annot /Subtype /Popup "+(i="/Rect ["+s(n.bounds.x+30)+" "+a(n.bounds.y+n.bounds.h)+" "+s(n.bounds.x+n.bounds.w+30)+" "+a(n.bounds.y)+"] ")+" /Parent "+y,n.open&&(o+=" /Open true"),o+=" >>",g.content=o,this.internal.write(A.objId,"0 R",g.objId,"0 R");break;case"freetext":i="/Rect ["+s(n.bounds.x)+" "+a(n.bounds.y)+" "+s(n.bounds.x+n.bounds.w)+" "+a(n.bounds.y+n.bounds.h)+"] ";var b=n.color||"#000000";o="<</Type /Annot /Subtype /FreeText "+i+"/Contents ("+p(h(n.contents))+")",o+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+b+")",o+=" /Border [0 0 0]",o+=" >>",this.internal.write(o);break;case"link":if(n.options.name){var B=this.annotations._nameMap[n.options.name];n.options.pageNumber=B.page,n.options.top=B.y}else n.options.top||(n.options.top=0);if(i="/Rect ["+n.finalBounds.x+" "+n.finalBounds.y+" "+n.finalBounds.w+" "+n.finalBounds.h+"] ",o="",n.options.url)o="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /A <</S /URI /URI ("+p(h(n.options.url))+") >>";else if(n.options.pageNumber)switch(o="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(n.options.pageNumber).objId+" 0 R",n.options.magFactor=n.options.magFactor||"XYZ",n.options.magFactor){case"Fit":o+=" /Fit]";break;case"FitH":o+=" /FitH "+n.options.top+"]";break;case"FitV":n.options.left=n.options.left||0,o+=" /FitV "+n.options.left+"]";break;case"XYZ":default:var S=a(n.options.top);n.options.left=n.options.left||0,n.options.zoom===void 0&&(n.options.zoom=0),o+=" /XYZ "+n.options.left+" "+S+" "+n.options.zoom+"]"}o!=""&&(o+=" >>",this.internal.write(o))}}this.internal.write("]")}}]),t.createAnnotation=function(r){var n=this.internal.getCurrentPageInfo();switch(r.type){case"link":this.link(r.bounds.x,r.bounds.y,r.bounds.w,r.bounds.h,r);break;case"text":case"freetext":n.pageContext.annotations.push(r)}},t.link=function(r,n,i,o,s){var a=this.internal.getCurrentPageInfo(),l=this.internal.getCoordinateString,c=this.internal.getVerticalCoordinateString;a.pageContext.annotations.push({finalBounds:{x:l(r),y:c(n),w:l(r+i),h:c(n+o)},options:s,type:"link"})},t.textWithLink=function(r,n,i,o){var s,a,l=this.getTextWidth(r),c=this.internal.getLineHeight()/this.internal.scaleFactor;if(o.maxWidth!==void 0){a=o.maxWidth;var u=this.splitTextToSize(r,a).length;s=Math.ceil(c*u)}else a=l,s=c;return this.text(r,n,i,o),i+=.2*c,o.align==="center"&&(n-=l/2),o.align==="right"&&(n-=l),this.link(n,i-c,a,s,o),l},t.getTextWidth=function(r){var n=this.internal.getFontSize();return this.getStringUnitWidth(r)*n/this.internal.scaleFactor}}(qr.API),function(t){var e={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},r={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},n={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];t.__arabicParser__={};var o=t.__arabicParser__.isInArabicSubstitutionA=function(A){return e[A.charCodeAt(0)]!==void 0},s=t.__arabicParser__.isArabicLetter=function(A){return typeof A=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(A)},a=t.__arabicParser__.isArabicEndLetter=function(A){return s(A)&&o(A)&&e[A.charCodeAt(0)].length<=2},l=t.__arabicParser__.isArabicAlfLetter=function(A){return s(A)&&i.indexOf(A.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(A){return s(A)&&o(A)&&e[A.charCodeAt(0)].length>=1};var c=t.__arabicParser__.arabicLetterHasFinalForm=function(A){return s(A)&&o(A)&&e[A.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(A){return s(A)&&o(A)&&e[A.charCodeAt(0)].length>=3};var u=t.__arabicParser__.arabicLetterHasMedialForm=function(A){return s(A)&&o(A)&&e[A.charCodeAt(0)].length==4},f=t.__arabicParser__.resolveLigatures=function(A){var g=0,m=r,v="",y=0;for(g=0;g<A.length;g+=1)m[A.charCodeAt(g)]!==void 0?(y++,typeof(m=m[A.charCodeAt(g)])=="number"&&(v+=String.fromCharCode(m),m=r,y=0),g===A.length-1&&(m=r,v+=A.charAt(g-(y-1)),g-=y-1,y=0)):(m=r,v+=A.charAt(g-y),g-=y,y=0);return v};t.__arabicParser__.isArabicDiacritic=function(A){return A!==void 0&&n[A.charCodeAt(0)]!==void 0};var d=t.__arabicParser__.getCorrectForm=function(A,g,m){return s(A)?o(A)===!1?-1:!c(A)||!s(g)&&!s(m)||!s(m)&&a(g)||a(A)&&!s(g)||a(A)&&l(g)||a(A)&&a(g)?0:u(A)&&s(g)&&!a(g)&&s(m)&&c(m)?3:a(A)||!s(m)?1:2:-1},p=function(A){var g=0,m=0,v=0,y="",b="",B="",S=(A=A||"").split("\\s+"),w=[];for(g=0;g<S.length;g+=1){for(w.push(""),m=0;m<S[g].length;m+=1)y=S[g][m],b=S[g][m-1],B=S[g][m+1],s(y)?(v=d(y,b,B),w[g]+=v!==-1?String.fromCharCode(e[y.charCodeAt(0)][v]):y):w[g]+=y;w[g]=f(w[g])}return w.join(" ")},h=t.__arabicParser__.processArabic=t.processArabic=function(){var A,g=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,m=[];if(Array.isArray(g)){var v=0;for(m=[],v=0;v<g.length;v+=1)Array.isArray(g[v])?m.push([p(g[v][0]),g[v][1],g[v][2]]):m.push([p(g[v])]);A=m}else A=p(g);return typeof arguments[0]=="string"?A:(arguments[0].text=A,arguments[0])};t.events.push(["preProcessText",h])}(qr.API),qr.API.autoPrint=function(t){var e;switch((t=t||{}).variant=t.variant||"non-conform",t.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){e=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+e+" 0 R")})}return this},function(t){var e=function(){var r=void 0;Object.defineProperty(this,"pdf",{get:function(){return r},set:function(a){r=a}});var n=150;Object.defineProperty(this,"width",{get:function(){return n},set:function(a){n=isNaN(a)||Number.isInteger(a)===!1||a<0?150:a,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=n+1)}});var i=300;Object.defineProperty(this,"height",{get:function(){return i},set:function(a){i=isNaN(a)||Number.isInteger(a)===!1||a<0?300:a,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=i+1)}});var o=[];Object.defineProperty(this,"childNodes",{get:function(){return o},set:function(a){o=a}});var s={};Object.defineProperty(this,"style",{get:function(){return s},set:function(a){s=a}}),Object.defineProperty(this,"parentNode",{})};e.prototype.getContext=function(r,n){var i;if((r=r||"2d")!=="2d")return null;for(i in n)this.pdf.context2d.hasOwnProperty(i)&&(this.pdf.context2d[i]=n[i]);return this.pdf.context2d._canvas=this,this.pdf.context2d},e.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},t.events.push(["initialized",function(){this.canvas=new e,this.canvas.pdf=this}])}(qr.API),function(t){var e={left:0,top:0,bottom:0,right:0},r=!1,n=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},e),this.internal.__cell__.margins.width=this.getPageWidth(),i.call(this))},i=function(){this.internal.__cell__.lastCell=new o,this.internal.__cell__.pages=1},o=function(){var l=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return l},set:function(A){l=A}});var c=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return c},set:function(A){c=A}});var u=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return u},set:function(A){u=A}});var f=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return f},set:function(A){f=A}});var d=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return d},set:function(A){d=A}});var p=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return p},set:function(A){p=A}});var h=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return h},set:function(A){h=A}}),this};o.prototype.clone=function(){return new o(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},o.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},t.setHeaderFunction=function(l){return n.call(this),this.internal.__cell__.headerFunction=typeof l=="function"?l:void 0,this},t.getTextDimensions=function(l,c){n.call(this);var u=(c=c||{}).fontSize||this.getFontSize(),f=c.font||this.getFont(),d=c.scaleFactor||this.internal.scaleFactor,p=0,h=0,A=0,g=this;if(!Array.isArray(l)&&typeof l!="string"){if(typeof l!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");l=String(l)}var m=c.maxWidth;m>0?typeof l=="string"?l=this.splitTextToSize(l,m):Object.prototype.toString.call(l)==="[object Array]"&&(l=l.reduce(function(y,b){return y.concat(g.splitTextToSize(b,m))},[])):l=Array.isArray(l)?l:[l];for(var v=0;v<l.length;v++)p<(A=this.getStringUnitWidth(l[v],{font:f})*u)&&(p=A);return p!==0&&(h=l.length),{w:p/=d,h:Math.max((h*u*this.getLineHeightFactor()-u*(this.getLineHeightFactor()-1))/d,0)}},t.cellAddPage=function(){n.call(this),this.addPage();var l=this.internal.__cell__.margins||e;return this.internal.__cell__.lastCell=new o(l.left,l.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var s=t.cell=function(){var l;l=arguments[0]instanceof o?arguments[0]:new o(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),n.call(this);var c=this.internal.__cell__.lastCell,u=this.internal.__cell__.padding,f=this.internal.__cell__.margins||e,d=this.internal.__cell__.tableHeaderRow,p=this.internal.__cell__.printHeaders;return c.lineNumber!==void 0&&(c.lineNumber===l.lineNumber?(l.x=(c.x||0)+(c.width||0),l.y=c.y||0):c.y+c.height+l.height+f.bottom>this.getPageHeight()?(this.cellAddPage(),l.y=f.top,p&&d&&(this.printHeaderRow(l.lineNumber,!0),l.y+=d[0].height)):l.y=c.y+c.height||l.y),l.text[0]!==void 0&&(this.rect(l.x,l.y,l.width,l.height,r===!0?"FD":void 0),l.align==="right"?this.text(l.text,l.x+l.width-u,l.y+u,{align:"right",baseline:"top"}):l.align==="center"?this.text(l.text,l.x+l.width/2,l.y+u,{align:"center",baseline:"top",maxWidth:l.width-u-u}):this.text(l.text,l.x+u,l.y+u,{align:"left",baseline:"top",maxWidth:l.width-u-u})),this.internal.__cell__.lastCell=l,this};t.table=function(l,c,u,f,d){if(n.call(this),!u)throw new Error("No data for PDF table.");var p,h,A,g,m=[],v=[],y=[],b={},B={},S=[],w=[],x=(d=d||{}).autoSize||!1,I=d.printHeaders!==!1,F=d.css&&d.css["font-size"]!==void 0?16*d.css["font-size"]:d.fontSize||12,k=d.margins||Object.assign({width:this.getPageWidth()},e),O=typeof d.padding=="number"?d.padding:3,L=d.headerBackgroundColor||"#c8c8c8",M=d.headerTextColor||"#000";if(i.call(this),this.internal.__cell__.printHeaders=I,this.internal.__cell__.margins=k,this.internal.__cell__.table_font_size=F,this.internal.__cell__.padding=O,this.internal.__cell__.headerBackgroundColor=L,this.internal.__cell__.headerTextColor=M,this.setFontSize(F),f==null)v=m=Object.keys(u[0]),y=m.map(function(){return"left"});else if(Array.isArray(f)&&Ei(f[0])==="object")for(m=f.map(function(z){return z.name}),v=f.map(function(z){return z.prompt||z.name||""}),y=f.map(function(z){return z.align||"left"}),p=0;p<f.length;p+=1)B[f[p].name]=f[p].width*(19.049976/25.4);else Array.isArray(f)&&typeof f[0]=="string"&&(v=m=f,y=m.map(function(){return"left"}));if(x||Array.isArray(f)&&typeof f[0]=="string")for(p=0;p<m.length;p+=1){for(b[g=m[p]]=u.map(function(z){return z[g]}),this.setFont(void 0,"bold"),S.push(this.getTextDimensions(v[p],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),h=b[g],this.setFont(void 0,"normal"),A=0;A<h.length;A+=1)S.push(this.getTextDimensions(h[A],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);B[g]=Math.max.apply(null,S)+O+O,S=[]}if(I){var H={};for(p=0;p<m.length;p+=1)H[m[p]]={},H[m[p]].text=v[p],H[m[p]].align=y[p];var V=a.call(this,H,B);w=m.map(function(z){return new o(l,c,B[z],V,H[z].text,void 0,H[z].align)}),this.setTableHeaderRow(w),this.printHeaderRow(1,!1)}var j=f.reduce(function(z,X){return z[X.name]=X.align,z},{});for(p=0;p<u.length;p+=1){"rowStart"in d&&d.rowStart instanceof Function&&d.rowStart({row:p,data:u[p]},this);var R=a.call(this,u[p],B);for(A=0;A<m.length;A+=1){var Q=u[p][m[A]];"cellStart"in d&&d.cellStart instanceof Function&&d.cellStart({row:p,col:A,data:Q},this),s.call(this,new o(l,c,B[m[A]],R,Q,p+2,j[m[A]]))}}return this.internal.__cell__.table_x=l,this.internal.__cell__.table_y=c,this};var a=function(l,c){var u=this.internal.__cell__.padding,f=this.internal.__cell__.table_font_size,d=this.internal.scaleFactor;return Object.keys(l).map(function(p){var h=l[p];return this.splitTextToSize(h.hasOwnProperty("text")?h.text:h,c[p]-u-u)},this).map(function(p){return this.getLineHeightFactor()*p.length*f/d+u+u},this).reduce(function(p,h){return Math.max(p,h)},0)};t.setTableHeaderRow=function(l){n.call(this),this.internal.__cell__.tableHeaderRow=l},t.printHeaderRow=function(l,c){if(n.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var u;if(r=!0,typeof this.internal.__cell__.headerFunction=="function"){var f=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new o(f[0],f[1],f[2],f[3],void 0,-1)}this.setFont(void 0,"bold");for(var d=[],p=0;p<this.internal.__cell__.tableHeaderRow.length;p+=1){u=this.internal.__cell__.tableHeaderRow[p].clone(),c&&(u.y=this.internal.__cell__.margins.top||0,d.push(u)),u.lineNumber=l;var h=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),s.call(this,u),this.setTextColor(h)}d.length>0&&this.setTableHeaderRow(d),this.setFont(void 0,"normal"),r=!1}}(qr.API);var xMe={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},SMe=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Uq=wMe(SMe),EMe=[100,200,300,400,500,600,700,800,900],asr=wMe(EMe);function Qq(t){var e=t.family.replace(/"|'/g,"").toLowerCase(),r=function(o){return xMe[o=o||"normal"]?o:"normal"}(t.style),n=function(o){if(!o)return 400;if(typeof o=="number")return o>=100&&o<=900&&o%100==0?o:400;if(/^\d00$/.test(o))return parseInt(o);switch(o){case"bold":return 700;case"normal":default:return 400}}(t.weight),i=function(o){return typeof Uq[o=o||"normal"]=="number"?o:"normal"}(t.stretch);return{family:e,style:r,weight:n,stretch:i,src:t.src||[],ref:t.ref||{name:e,style:[i,r,n].join(" ")}}}function Kve(t,e,r,n){var i;for(i=r;i>=0&&i<e.length;i+=n)if(t[e[i]])return t[e[i]];for(i=r;i>=0&&i<e.length;i-=n)if(t[e[i]])return t[e[i]]}var lsr={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},qve={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Xve(t){return[t.stretch,t.style,t.weight,t.family].join(" ")}function csr(t,e,r){for(var n=(r=r||{}).defaultFontFamily||"times",i=Object.assign({},lsr,r.genericFontFamilies||{}),o=null,s=null,a=0;a<e.length;++a)if(i[(o=Qq(e[a])).family]&&(o.family=i[o.family]),t.hasOwnProperty(o.family)){s=t[o.family];break}if(!(s=s||t[n]))throw new Error("Could not find a font-family for the rule '"+Xve(o)+"' and default family '"+n+"'.");if(s=function(l,c){if(c[l])return c[l];var u=Uq[l],f=u<=Uq.normal?-1:1,d=Kve(c,SMe,u,f);if(!d)throw new Error("Could not find a matching font-stretch value for "+l);return d}(o.stretch,s),s=function(l,c){if(c[l])return c[l];for(var u=xMe[l],f=0;f<u.length;++f)if(c[u[f]])return c[u[f]];throw new Error("Could not find a matching font-style for "+l)}(o.style,s),!(s=function(l,c){if(c[l])return c[l];if(l===400&&c[500])return c[500];if(l===500&&c[400])return c[400];var u=asr[l],f=Kve(c,EMe,u,l<400?-1:1);if(!f)throw new Error("Could not find a matching font-weight for value "+l);return f}(o.weight,s)))throw new Error("Failed to resolve a font for the rule '"+Xve(o)+"'.");return s}function Yve(t){return t.trimLeft()}function usr(t,e){for(var r=0;r<t.length;){if(t.charAt(r)===e)return[t.substring(0,r),t.substring(r+1)];r+=1}return null}function fsr(t){var e=t.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return e===null?null:[e[0],t.substring(e[0].length)]}var OE,Jve,Zve,sQ=["times"];(function(t){var e,r,n,i,o,s,a,l,c,u=function(_){return _=_||{},this.isStrokeTransparent=_.isStrokeTransparent||!1,this.strokeOpacity=_.strokeOpacity||1,this.strokeStyle=_.strokeStyle||"#000000",this.fillStyle=_.fillStyle||"#000000",this.isFillTransparent=_.isFillTransparent||!1,this.fillOpacity=_.fillOpacity||1,this.font=_.font||"10px sans-serif",this.textBaseline=_.textBaseline||"alphabetic",this.textAlign=_.textAlign||"left",this.lineWidth=_.lineWidth||1,this.lineJoin=_.lineJoin||"miter",this.lineCap=_.lineCap||"butt",this.path=_.path||[],this.transform=_.transform!==void 0?_.transform.clone():new l,this.globalCompositeOperation=_.globalCompositeOperation||"normal",this.globalAlpha=_.globalAlpha||1,this.clip_path=_.clip_path||[],this.currentPoint=_.currentPoint||new s,this.miterLimit=_.miterLimit||10,this.lastPoint=_.lastPoint||new s,this.lineDashOffset=_.lineDashOffset||0,this.lineDash=_.lineDash||[],this.margin=_.margin||[0,0,0,0],this.prevPageLastElemOffset=_.prevPageLastElemOffset||0,this.ignoreClearRect=typeof _.ignoreClearRect!="boolean"||_.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new f(this),e=this.internal.f2,r=this.internal.getCoordinateString,n=this.internal.getVerticalCoordinateString,i=this.internal.getHorizontalCoordinate,o=this.internal.getVerticalCoordinate,s=this.internal.Point,a=this.internal.Rectangle,l=this.internal.Matrix,c=new u}]);var f=function(_){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var G=_;Object.defineProperty(this,"pdf",{get:function(){return G}});var W=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return W},set:function(Ae){W=!!Ae}});var J=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return J},set:function(Ae){J=!!Ae}});var ee=0;Object.defineProperty(this,"posX",{get:function(){return ee},set:function(Ae){isNaN(Ae)||(ee=Ae)}});var q=0;Object.defineProperty(this,"posY",{get:function(){return q},set:function(Ae){isNaN(Ae)||(q=Ae)}}),Object.defineProperty(this,"margin",{get:function(){return c.margin},set:function(Ae){var ue;typeof Ae=="number"?ue=[Ae,Ae,Ae,Ae]:((ue=new Array(4))[0]=Ae[0],ue[1]=Ae.length>=2?Ae[1]:ue[0],ue[2]=Ae.length>=3?Ae[2]:ue[0],ue[3]=Ae.length>=4?Ae[3]:ue[1]),c.margin=ue}});var Z=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Z},set:function(Ae){Z=Ae}});var re=0;Object.defineProperty(this,"lastBreak",{get:function(){return re},set:function(Ae){re=Ae}});var fe=[];Object.defineProperty(this,"pageBreaks",{get:function(){return fe},set:function(Ae){fe=Ae}}),Object.defineProperty(this,"ctx",{get:function(){return c},set:function(Ae){Ae instanceof u&&(c=Ae)}}),Object.defineProperty(this,"path",{get:function(){return c.path},set:function(Ae){c.path=Ae}});var de=[];Object.defineProperty(this,"ctxStack",{get:function(){return de},set:function(Ae){de=Ae}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Ae){var ue;ue=d(Ae),this.ctx.fillStyle=ue.style,this.ctx.isFillTransparent=ue.a===0,this.ctx.fillOpacity=ue.a,this.pdf.setFillColor(ue.r,ue.g,ue.b,{a:ue.a}),this.pdf.setTextColor(ue.r,ue.g,ue.b,{a:ue.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Ae){var ue=d(Ae);this.ctx.strokeStyle=ue.style,this.ctx.isStrokeTransparent=ue.a===0,this.ctx.strokeOpacity=ue.a,ue.a===0?this.pdf.setDrawColor(255,255,255):(ue.a,this.pdf.setDrawColor(ue.r,ue.g,ue.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Ae){["butt","round","square"].indexOf(Ae)!==-1&&(this.ctx.lineCap=Ae,this.pdf.setLineCap(Ae))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Ae){isNaN(Ae)||(this.ctx.lineWidth=Ae,this.pdf.setLineWidth(Ae))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Ae){["bevel","round","miter"].indexOf(Ae)!==-1&&(this.ctx.lineJoin=Ae,this.pdf.setLineJoin(Ae))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Ae){isNaN(Ae)||(this.ctx.miterLimit=Ae,this.pdf.setMiterLimit(Ae))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Ae){this.ctx.textBaseline=Ae}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Ae){["right","end","center","left","start"].indexOf(Ae)!==-1&&(this.ctx.textAlign=Ae)}});var ie=null;function le(Ae,ue){if(ie===null){var Ne=function(Te){var Re=[];return Object.keys(Te).forEach(function(je){Te[je].forEach(function(Ve){var ze=null;switch(Ve){case"bold":ze={family:je,weight:"bold"};break;case"italic":ze={family:je,style:"italic"};break;case"bolditalic":ze={family:je,weight:"bold",style:"italic"};break;case"":case"normal":ze={family:je}}ze!==null&&(ze.ref={name:je,style:Ve},Re.push(ze))})}),Re}(Ae.getFontList());ie=function(Te){for(var Re={},je=0;je<Te.length;++je){var Ve=Qq(Te[je]),ze=Ve.family,lt=Ve.stretch,gt=Ve.style,_t=Ve.weight;Re[ze]=Re[ze]||{},Re[ze][lt]=Re[ze][lt]||{},Re[ze][lt][gt]=Re[ze][lt][gt]||{},Re[ze][lt][gt][_t]=Ve}return Re}(Ne.concat(ue))}return ie}var De=null;Object.defineProperty(this,"fontFaces",{get:function(){return De},set:function(Ae){ie=null,De=Ae}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Ae){var ue;if(this.ctx.font=Ae,(ue=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(Ae))!==null){var Ne=ue[1],Te=(ue[2],ue[3]),Re=ue[4],je=(ue[5],ue[6]),Ve=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Re)[2];Re=Math.floor(Ve==="px"?parseFloat(Re)*this.pdf.internal.scaleFactor:Ve==="em"?parseFloat(Re)*this.pdf.getFontSize():parseFloat(Re)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Re);var ze=function(Y){var pe,be,_e=[],he=Y.trim();if(he==="")return sQ;if(he in qve)return[qve[he]];for(;he!=="";){switch(be=null,pe=(he=Yve(he)).charAt(0)){case'"':case"'":be=usr(he.substring(1),pe);break;default:be=fsr(he)}if(be===null||(_e.push(be[0]),(he=Yve(be[1]))!==""&&he.charAt(0)!==","))return sQ;he=he.replace(/^,/,"")}return _e}(je);if(this.fontFaces){var lt=csr(le(this.pdf,this.fontFaces),ze.map(function(Y){return{family:Y,stretch:"normal",weight:Te,style:Ne}}));this.pdf.setFont(lt.ref.name,lt.ref.style)}else{var gt="";(Te==="bold"||parseInt(Te,10)>=700||Ne==="bold")&&(gt="bold"),Ne==="italic"&&(gt+="italic"),gt.length===0&&(gt="normal");for(var _t="",U={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},D=0;D<ze.length;D++){if(this.pdf.internal.getFont(ze[D],gt,{noFallback:!0,disableWarning:!0})!==void 0){_t=ze[D];break}if(gt==="bolditalic"&&this.pdf.internal.getFont(ze[D],"bold",{noFallback:!0,disableWarning:!0})!==void 0)_t=ze[D],gt="bold";else if(this.pdf.internal.getFont(ze[D],"normal",{noFallback:!0,disableWarning:!0})!==void 0){_t=ze[D],gt="normal";break}}if(_t===""){for(var N=0;N<ze.length;N++)if(U[ze[N]]){_t=U[ze[N]];break}}_t=_t===""?"Times":_t,this.pdf.setFont(_t,gt)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(Ae){this.ctx.globalCompositeOperation=Ae}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(Ae){this.ctx.globalAlpha=Ae}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(Ae){this.ctx.lineDashOffset=Ae,X.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(Ae){this.ctx.lineDash=Ae,X.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(Ae){this.ctx.ignoreClearRect=!!Ae}})};f.prototype.setLineDash=function(_){this.lineDash=_},f.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},f.prototype.fill=function(){b.call(this,"fill",!1)},f.prototype.stroke=function(){b.call(this,"stroke",!1)},f.prototype.beginPath=function(){this.path=[{type:"begin"}]},f.prototype.moveTo=function(_,G){if(isNaN(_)||isNaN(G))throw Qi.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var W=this.ctx.transform.applyToPoint(new s(_,G));this.path.push({type:"mt",x:W.x,y:W.y}),this.ctx.lastPoint=new s(_,G)},f.prototype.closePath=function(){var _=new s(0,0),G=0;for(G=this.path.length-1;G!==-1;G--)if(this.path[G].type==="begin"&&Ei(this.path[G+1])==="object"&&typeof this.path[G+1].x=="number"){_=new s(this.path[G+1].x,this.path[G+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new s(_.x,_.y)},f.prototype.lineTo=function(_,G){if(isNaN(_)||isNaN(G))throw Qi.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var W=this.ctx.transform.applyToPoint(new s(_,G));this.path.push({type:"lt",x:W.x,y:W.y}),this.ctx.lastPoint=new s(W.x,W.y)},f.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),b.call(this,null,!0)},f.prototype.quadraticCurveTo=function(_,G,W,J){if(isNaN(W)||isNaN(J)||isNaN(_)||isNaN(G))throw Qi.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var ee=this.ctx.transform.applyToPoint(new s(W,J)),q=this.ctx.transform.applyToPoint(new s(_,G));this.path.push({type:"qct",x1:q.x,y1:q.y,x:ee.x,y:ee.y}),this.ctx.lastPoint=new s(ee.x,ee.y)},f.prototype.bezierCurveTo=function(_,G,W,J,ee,q){if(isNaN(ee)||isNaN(q)||isNaN(_)||isNaN(G)||isNaN(W)||isNaN(J))throw Qi.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var Z=this.ctx.transform.applyToPoint(new s(ee,q)),re=this.ctx.transform.applyToPoint(new s(_,G)),fe=this.ctx.transform.applyToPoint(new s(W,J));this.path.push({type:"bct",x1:re.x,y1:re.y,x2:fe.x,y2:fe.y,x:Z.x,y:Z.y}),this.ctx.lastPoint=new s(Z.x,Z.y)},f.prototype.arc=function(_,G,W,J,ee,q){if(isNaN(_)||isNaN(G)||isNaN(W)||isNaN(J)||isNaN(ee))throw Qi.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(q=!!q,!this.ctx.transform.isIdentity){var Z=this.ctx.transform.applyToPoint(new s(_,G));_=Z.x,G=Z.y;var re=this.ctx.transform.applyToPoint(new s(0,W)),fe=this.ctx.transform.applyToPoint(new s(0,0));W=Math.sqrt(Math.pow(re.x-fe.x,2)+Math.pow(re.y-fe.y,2))}Math.abs(ee-J)>=2*Math.PI&&(J=0,ee=2*Math.PI),this.path.push({type:"arc",x:_,y:G,radius:W,startAngle:J,endAngle:ee,counterclockwise:q})},f.prototype.arcTo=function(_,G,W,J,ee){throw new Error("arcTo not implemented.")},f.prototype.rect=function(_,G,W,J){if(isNaN(_)||isNaN(G)||isNaN(W)||isNaN(J))throw Qi.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(_,G),this.lineTo(_+W,G),this.lineTo(_+W,G+J),this.lineTo(_,G+J),this.lineTo(_,G),this.lineTo(_+W,G),this.lineTo(_,G)},f.prototype.fillRect=function(_,G,W,J){if(isNaN(_)||isNaN(G)||isNaN(W)||isNaN(J))throw Qi.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!p.call(this)){var ee={};this.lineCap!=="butt"&&(ee.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(ee.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(_,G,W,J),this.fill(),ee.hasOwnProperty("lineCap")&&(this.lineCap=ee.lineCap),ee.hasOwnProperty("lineJoin")&&(this.lineJoin=ee.lineJoin)}},f.prototype.strokeRect=function(_,G,W,J){if(isNaN(_)||isNaN(G)||isNaN(W)||isNaN(J))throw Qi.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");h.call(this)||(this.beginPath(),this.rect(_,G,W,J),this.stroke())},f.prototype.clearRect=function(_,G,W,J){if(isNaN(_)||isNaN(G)||isNaN(W)||isNaN(J))throw Qi.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(_,G,W,J))},f.prototype.save=function(_){_=typeof _!="boolean"||_;for(var G=this.pdf.internal.getCurrentPageInfo().pageNumber,W=0;W<this.pdf.internal.getNumberOfPages();W++)this.pdf.setPage(W+1),this.pdf.internal.out("q");if(this.pdf.setPage(G),_){this.ctx.fontSize=this.pdf.internal.getFontSize();var J=new u(this.ctx);this.ctxStack.push(this.ctx),this.ctx=J}},f.prototype.restore=function(_){_=typeof _!="boolean"||_;for(var G=this.pdf.internal.getCurrentPageInfo().pageNumber,W=0;W<this.pdf.internal.getNumberOfPages();W++)this.pdf.setPage(W+1),this.pdf.internal.out("Q");this.pdf.setPage(G),_&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},f.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var d=function(_){var G,W,J,ee;if(_.isCanvasGradient===!0&&(_=_.getColor()),!_)return{r:0,g:0,b:0,a:0,style:_};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(_))G=0,W=0,J=0,ee=0;else{var q=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(_);if(q!==null)G=parseInt(q[1]),W=parseInt(q[2]),J=parseInt(q[3]),ee=1;else if((q=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(_))!==null)G=parseInt(q[1]),W=parseInt(q[2]),J=parseInt(q[3]),ee=parseFloat(q[4]);else{if(ee=1,typeof _=="string"&&_.charAt(0)!=="#"){var Z=new gMe(_);_=Z.ok?Z.toHex():"#000000"}_.length===4?(G=_.substring(1,2),G+=G,W=_.substring(2,3),W+=W,J=_.substring(3,4),J+=J):(G=_.substring(1,3),W=_.substring(3,5),J=_.substring(5,7)),G=parseInt(G,16),W=parseInt(W,16),J=parseInt(J,16)}}return{r:G,g:W,b:J,a:ee,style:_}},p=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},h=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};f.prototype.fillText=function(_,G,W,J){if(isNaN(G)||isNaN(W)||typeof _!="string")throw Qi.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(J=isNaN(J)?void 0:J,!p.call(this)){var ee=R(this.ctx.transform.rotation),q=this.ctx.transform.scaleX;O.call(this,{text:_,x:G,y:W,scale:q,angle:ee,align:this.textAlign,maxWidth:J})}},f.prototype.strokeText=function(_,G,W,J){if(isNaN(G)||isNaN(W)||typeof _!="string")throw Qi.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!h.call(this)){J=isNaN(J)?void 0:J;var ee=R(this.ctx.transform.rotation),q=this.ctx.transform.scaleX;O.call(this,{text:_,x:G,y:W,scale:q,renderingMode:"stroke",angle:ee,align:this.textAlign,maxWidth:J})}},f.prototype.measureText=function(_){if(typeof _!="string")throw Qi.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var G=this.pdf,W=this.pdf.internal.scaleFactor,J=G.internal.getFontSize(),ee=G.getStringUnitWidth(_)*J/G.internal.scaleFactor,q=function(Z){var re=(Z=Z||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return re}}),this};return new q({width:ee*=Math.round(96*W/72*1e4)/1e4})},f.prototype.scale=function(_,G){if(isNaN(_)||isNaN(G))throw Qi.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var W=new l(_,0,0,G,0,0);this.ctx.transform=this.ctx.transform.multiply(W)},f.prototype.rotate=function(_){if(isNaN(_))throw Qi.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var G=new l(Math.cos(_),Math.sin(_),-Math.sin(_),Math.cos(_),0,0);this.ctx.transform=this.ctx.transform.multiply(G)},f.prototype.translate=function(_,G){if(isNaN(_)||isNaN(G))throw Qi.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var W=new l(1,0,0,1,_,G);this.ctx.transform=this.ctx.transform.multiply(W)},f.prototype.transform=function(_,G,W,J,ee,q){if(isNaN(_)||isNaN(G)||isNaN(W)||isNaN(J)||isNaN(ee)||isNaN(q))throw Qi.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var Z=new l(_,G,W,J,ee,q);this.ctx.transform=this.ctx.transform.multiply(Z)},f.prototype.setTransform=function(_,G,W,J,ee,q){_=isNaN(_)?1:_,G=isNaN(G)?0:G,W=isNaN(W)?0:W,J=isNaN(J)?1:J,ee=isNaN(ee)?0:ee,q=isNaN(q)?0:q,this.ctx.transform=new l(_,G,W,J,ee,q)};var A=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};f.prototype.drawImage=function(_,G,W,J,ee,q,Z,re,fe){var de=this.pdf.getImageProperties(_),ie=1,le=1,De=1,Ae=1;J!==void 0&&re!==void 0&&(De=re/J,Ae=fe/ee,ie=de.width/J*re/J,le=de.height/ee*fe/ee),q===void 0&&(q=G,Z=W,G=0,W=0),J!==void 0&&re===void 0&&(re=J,fe=ee),J===void 0&&re===void 0&&(re=de.width,fe=de.height);for(var ue,Ne=this.ctx.transform.decompose(),Te=R(Ne.rotate.shx),Re=new l,je=(Re=(Re=(Re=Re.multiply(Ne.translate)).multiply(Ne.skew)).multiply(Ne.scale)).applyToRectangle(new a(q-G*De,Z-W*Ae,J*ie,ee*le)),Ve=g.call(this,je),ze=[],lt=0;lt<Ve.length;lt+=1)ze.indexOf(Ve[lt])===-1&&ze.push(Ve[lt]);if(y(ze),this.autoPaging)for(var gt=ze[0],_t=ze[ze.length-1],U=gt;U<_t+1;U++){this.pdf.setPage(U);var D=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],N=U===1?this.posY+this.margin[0]:this.margin[0],Y=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],pe=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],be=U===1?0:Y+(U-2)*pe;if(this.ctx.clip_path.length!==0){var _e=this.path;ue=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=v(ue,this.posX+this.margin[3],-be+N+this.ctx.prevPageLastElemOffset),B.call(this,"fill",!0),this.path=_e}var he=JSON.parse(JSON.stringify(je));he=v([he],this.posX+this.margin[3],-be+N+this.ctx.prevPageLastElemOffset)[0];var Ee=(U>gt||U<_t)&&A.call(this);Ee&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],D,pe,null).clip().discardPath()),this.pdf.addImage(_,"JPEG",he.x,he.y,he.w,he.h,null,null,Te),Ee&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(_,"JPEG",je.x,je.y,je.w,je.h,null,null,Te)};var g=function(_,G,W){var J=[];G=G||this.pdf.internal.pageSize.width,W=W||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var ee=this.posY+this.ctx.prevPageLastElemOffset;switch(_.type){default:case"mt":case"lt":J.push(Math.floor((_.y+ee)/W)+1);break;case"arc":J.push(Math.floor((_.y+ee-_.radius)/W)+1),J.push(Math.floor((_.y+ee+_.radius)/W)+1);break;case"qct":var q=Q(this.ctx.lastPoint.x,this.ctx.lastPoint.y,_.x1,_.y1,_.x,_.y);J.push(Math.floor((q.y+ee)/W)+1),J.push(Math.floor((q.y+q.h+ee)/W)+1);break;case"bct":var Z=z(this.ctx.lastPoint.x,this.ctx.lastPoint.y,_.x1,_.y1,_.x2,_.y2,_.x,_.y);J.push(Math.floor((Z.y+ee)/W)+1),J.push(Math.floor((Z.y+Z.h+ee)/W)+1);break;case"rect":J.push(Math.floor((_.y+ee)/W)+1),J.push(Math.floor((_.y+_.h+ee)/W)+1)}for(var re=0;re<J.length;re+=1)for(;this.pdf.internal.getNumberOfPages()<J[re];)m.call(this);return J},m=function(){var _=this.fillStyle,G=this.strokeStyle,W=this.font,J=this.lineCap,ee=this.lineWidth,q=this.lineJoin;this.pdf.addPage(),this.fillStyle=_,this.strokeStyle=G,this.font=W,this.lineCap=J,this.lineWidth=ee,this.lineJoin=q},v=function(_,G,W){for(var J=0;J<_.length;J++)switch(_[J].type){case"bct":_[J].x2+=G,_[J].y2+=W;case"qct":_[J].x1+=G,_[J].y1+=W;case"mt":case"lt":case"arc":default:_[J].x+=G,_[J].y+=W}return _},y=function(_){return _.sort(function(G,W){return G-W})},b=function(_,G){for(var W,J,ee=this.fillStyle,q=this.strokeStyle,Z=this.lineCap,re=this.lineWidth,fe=Math.abs(re*this.ctx.transform.scaleX),de=this.lineJoin,ie=JSON.parse(JSON.stringify(this.path)),le=JSON.parse(JSON.stringify(this.path)),De=[],Ae=0;Ae<le.length;Ae++)if(le[Ae].x!==void 0)for(var ue=g.call(this,le[Ae]),Ne=0;Ne<ue.length;Ne+=1)De.indexOf(ue[Ne])===-1&&De.push(ue[Ne]);for(var Te=0;Te<De.length;Te++)for(;this.pdf.internal.getNumberOfPages()<De[Te];)m.call(this);if(y(De),this.autoPaging)for(var Re=De[0],je=De[De.length-1],Ve=Re;Ve<je+1;Ve++){this.pdf.setPage(Ve),this.fillStyle=ee,this.strokeStyle=q,this.lineCap=Z,this.lineWidth=fe,this.lineJoin=de;var ze=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],lt=Ve===1?this.posY+this.margin[0]:this.margin[0],gt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],_t=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],U=Ve===1?0:gt+(Ve-2)*_t;if(this.ctx.clip_path.length!==0){var D=this.path;W=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=v(W,this.posX+this.margin[3],-U+lt+this.ctx.prevPageLastElemOffset),B.call(this,_,!0),this.path=D}if(J=JSON.parse(JSON.stringify(ie)),this.path=v(J,this.posX+this.margin[3],-U+lt+this.ctx.prevPageLastElemOffset),G===!1||Ve===0){var N=(Ve>Re||Ve<je)&&A.call(this);N&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],ze,_t,null).clip().discardPath()),B.call(this,_,G),N&&this.pdf.restoreGraphicsState()}this.lineWidth=re}else this.lineWidth=fe,B.call(this,_,G),this.lineWidth=re;this.path=ie},B=function(_,G){if((_!=="stroke"||G||!h.call(this))&&(_==="stroke"||G||!p.call(this))){for(var W,J,ee=[],q=this.path,Z=0;Z<q.length;Z++){var re=q[Z];switch(re.type){case"begin":ee.push({begin:!0});break;case"close":ee.push({close:!0});break;case"mt":ee.push({start:re,deltas:[],abs:[]});break;case"lt":var fe=ee.length;if(q[Z-1]&&!isNaN(q[Z-1].x)&&(W=[re.x-q[Z-1].x,re.y-q[Z-1].y],fe>0)){for(;fe>=0;fe--)if(ee[fe-1].close!==!0&&ee[fe-1].begin!==!0){ee[fe-1].deltas.push(W),ee[fe-1].abs.push(re);break}}break;case"bct":W=[re.x1-q[Z-1].x,re.y1-q[Z-1].y,re.x2-q[Z-1].x,re.y2-q[Z-1].y,re.x-q[Z-1].x,re.y-q[Z-1].y],ee[ee.length-1].deltas.push(W);break;case"qct":var de=q[Z-1].x+2/3*(re.x1-q[Z-1].x),ie=q[Z-1].y+2/3*(re.y1-q[Z-1].y),le=re.x+2/3*(re.x1-re.x),De=re.y+2/3*(re.y1-re.y),Ae=re.x,ue=re.y;W=[de-q[Z-1].x,ie-q[Z-1].y,le-q[Z-1].x,De-q[Z-1].y,Ae-q[Z-1].x,ue-q[Z-1].y],ee[ee.length-1].deltas.push(W);break;case"arc":ee.push({deltas:[],abs:[],arc:!0}),Array.isArray(ee[ee.length-1].abs)&&ee[ee.length-1].abs.push(re)}}J=G?null:_==="stroke"?"stroke":"fill";for(var Ne=!1,Te=0;Te<ee.length;Te++)if(ee[Te].arc)for(var Re=ee[Te].abs,je=0;je<Re.length;je++){var Ve=Re[je];Ve.type==="arc"?x.call(this,Ve.x,Ve.y,Ve.radius,Ve.startAngle,Ve.endAngle,Ve.counterclockwise,void 0,G,!Ne):L.call(this,Ve.x,Ve.y),Ne=!0}else if(ee[Te].close===!0)this.pdf.internal.out("h"),Ne=!1;else if(ee[Te].begin!==!0){var ze=ee[Te].start.x,lt=ee[Te].start.y;M.call(this,ee[Te].deltas,ze,lt),Ne=!0}J&&I.call(this,J),G&&F.call(this)}},S=function(_){var G=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,W=G*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return _-W;case"top":return _+G-W;case"hanging":return _+G-2*W;case"middle":return _+G/2-W;case"ideographic":return _;case"alphabetic":default:return _}},w=function(_){return _+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};f.prototype.createLinearGradient=function(){var _=function(){};return _.colorStops=[],_.addColorStop=function(G,W){this.colorStops.push([G,W])},_.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},_.isCanvasGradient=!0,_},f.prototype.createPattern=function(){return this.createLinearGradient()},f.prototype.createRadialGradient=function(){return this.createLinearGradient()};var x=function(_,G,W,J,ee,q,Z,re,fe){for(var de=V.call(this,W,J,ee,q),ie=0;ie<de.length;ie++){var le=de[ie];ie===0&&(fe?k.call(this,le.x1+_,le.y1+G):L.call(this,le.x1+_,le.y1+G)),H.call(this,_,G,le.x2,le.y2,le.x3,le.y3,le.x4,le.y4)}re?F.call(this):I.call(this,Z)},I=function(_){switch(_){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},F=function(){this.pdf.clip(),this.pdf.discardPath()},k=function(_,G){this.pdf.internal.out(r(_)+" "+n(G)+" m")},O=function(_){var G;switch(_.align){case"right":case"end":G="right";break;case"center":G="center";break;case"left":case"start":default:G="left"}var W=this.pdf.getTextDimensions(_.text),J=S.call(this,_.y),ee=w.call(this,J)-W.h,q=this.ctx.transform.applyToPoint(new s(_.x,J)),Z=this.ctx.transform.decompose(),re=new l;re=(re=(re=re.multiply(Z.translate)).multiply(Z.skew)).multiply(Z.scale);for(var fe,de,ie,le=this.ctx.transform.applyToRectangle(new a(_.x,J,W.w,W.h)),De=re.applyToRectangle(new a(_.x,ee,W.w,W.h)),Ae=g.call(this,De),ue=[],Ne=0;Ne<Ae.length;Ne+=1)ue.indexOf(Ae[Ne])===-1&&ue.push(Ae[Ne]);if(y(ue),this.autoPaging)for(var Te=ue[0],Re=ue[ue.length-1],je=Te;je<Re+1;je++){this.pdf.setPage(je);var Ve=je===1?this.posY+this.margin[0]:this.margin[0],ze=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],lt=this.pdf.internal.pageSize.height-this.margin[2],gt=lt-this.margin[0],_t=this.pdf.internal.pageSize.width-this.margin[1],U=_t-this.margin[3],D=je===1?0:ze+(je-2)*gt;if(this.ctx.clip_path.length!==0){var N=this.path;fe=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=v(fe,this.posX+this.margin[3],-1*D+Ve),B.call(this,"fill",!0),this.path=N}var Y=v([JSON.parse(JSON.stringify(De))],this.posX+this.margin[3],-D+Ve+this.ctx.prevPageLastElemOffset)[0];_.scale>=.01&&(de=this.pdf.internal.getFontSize(),this.pdf.setFontSize(de*_.scale),ie=this.lineWidth,this.lineWidth=ie*_.scale);var pe=this.autoPaging!=="text";if(pe||Y.y+Y.h<=lt){if(pe||Y.y>=Ve&&Y.x<=_t){var be=pe?_.text:this.pdf.splitTextToSize(_.text,_.maxWidth||_t-Y.x)[0],_e=v([JSON.parse(JSON.stringify(le))],this.posX+this.margin[3],-D+Ve+this.ctx.prevPageLastElemOffset)[0],he=pe&&(je>Te||je<Re)&&A.call(this);he&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],U,gt,null).clip().discardPath()),this.pdf.text(be,_e.x,_e.y,{angle:_.angle,align:G,renderingMode:_.renderingMode}),he&&this.pdf.restoreGraphicsState()}}else Y.y<lt&&(this.ctx.prevPageLastElemOffset+=lt-Y.y);_.scale>=.01&&(this.pdf.setFontSize(de),this.lineWidth=ie)}else _.scale>=.01&&(de=this.pdf.internal.getFontSize(),this.pdf.setFontSize(de*_.scale),ie=this.lineWidth,this.lineWidth=ie*_.scale),this.pdf.text(_.text,q.x+this.posX,q.y+this.posY,{angle:_.angle,align:G,renderingMode:_.renderingMode,maxWidth:_.maxWidth}),_.scale>=.01&&(this.pdf.setFontSize(de),this.lineWidth=ie)},L=function(_,G,W,J){W=W||0,J=J||0,this.pdf.internal.out(r(_+W)+" "+n(G+J)+" l")},M=function(_,G,W){return this.pdf.lines(_,G,W,null,null)},H=function(_,G,W,J,ee,q,Z,re){this.pdf.internal.out([e(i(W+_)),e(o(J+G)),e(i(ee+_)),e(o(q+G)),e(i(Z+_)),e(o(re+G)),"c"].join(" "))},V=function(_,G,W,J){for(var ee=2*Math.PI,q=Math.PI/2;G>W;)G-=ee;var Z=Math.abs(W-G);Z<ee&&J&&(Z=ee-Z);for(var re=[],fe=J?-1:1,de=G;Z>1e-5;){var ie=de+fe*Math.min(Z,q);re.push(j.call(this,_,de,ie)),Z-=Math.abs(ie-de),de=ie}return re},j=function(_,G,W){var J=(W-G)/2,ee=_*Math.cos(J),q=_*Math.sin(J),Z=ee,re=-q,fe=Z*Z+re*re,de=fe+Z*ee+re*q,ie=4/3*(Math.sqrt(2*fe*de)-de)/(Z*q-re*ee),le=Z-ie*re,De=re+ie*Z,Ae=le,ue=-De,Ne=J+G,Te=Math.cos(Ne),Re=Math.sin(Ne);return{x1:_*Math.cos(G),y1:_*Math.sin(G),x2:le*Te-De*Re,y2:le*Re+De*Te,x3:Ae*Te-ue*Re,y3:Ae*Re+ue*Te,x4:_*Math.cos(W),y4:_*Math.sin(W)}},R=function(_){return 180*_/Math.PI},Q=function(_,G,W,J,ee,q){var Z=_+.5*(W-_),re=G+.5*(J-G),fe=ee+.5*(W-ee),de=q+.5*(J-q),ie=Math.min(_,ee,Z,fe),le=Math.max(_,ee,Z,fe),De=Math.min(G,q,re,de),Ae=Math.max(G,q,re,de);return new a(ie,De,le-ie,Ae-De)},z=function(_,G,W,J,ee,q,Z,re){var fe,de,ie,le,De,Ae,ue,Ne,Te,Re,je,Ve,ze,lt,gt=W-_,_t=J-G,U=ee-W,D=q-J,N=Z-ee,Y=re-q;for(de=0;de<41;de++)Te=(ue=(ie=_+(fe=de/40)*gt)+fe*((De=W+fe*U)-ie))+fe*(De+fe*(ee+fe*N-De)-ue),Re=(Ne=(le=G+fe*_t)+fe*((Ae=J+fe*D)-le))+fe*(Ae+fe*(q+fe*Y-Ae)-Ne),de==0?(je=Te,Ve=Re,ze=Te,lt=Re):(je=Math.min(je,Te),Ve=Math.min(Ve,Re),ze=Math.max(ze,Te),lt=Math.max(lt,Re));return new a(Math.round(je),Math.round(Ve),Math.round(ze-je),Math.round(lt-Ve))},X=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var _,G,W=(_=this.ctx.lineDash,G=this.ctx.lineDashOffset,JSON.stringify({lineDash:_,lineDashOffset:G}));this.prevLineDash!==W&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=W)}}})(qr.API),function(t){var e=function(o){var s,a,l,c,u,f,d,p,h,A;for(a=[],l=0,c=(o+=s="\0\0\0\0".slice(o.length%4||4)).length;c>l;l+=4)(u=(o.charCodeAt(l)<<24)+(o.charCodeAt(l+1)<<16)+(o.charCodeAt(l+2)<<8)+o.charCodeAt(l+3))!==0?(f=(u=((u=((u=((u=(u-(A=u%85))/85)-(h=u%85))/85)-(p=u%85))/85)-(d=u%85))/85)%85,a.push(f+33,d+33,p+33,h+33,A+33)):a.push(122);return function(g,m){for(var v=m;v>0;v--)g.pop()}(a,s.length),String.fromCharCode.apply(String,a)+"~>"},r=function(o){var s,a,l,c,u,f=String,d="length",p=255,h="charCodeAt",A="slice",g="replace";for(o[A](-2),o=o[A](0,-2)[g](/\s/g,"")[g]("z","!!!!!"),l=[],c=0,u=(o+=s="uuuuu"[A](o[d]%5||5))[d];u>c;c+=5)a=52200625*(o[h](c)-33)+614125*(o[h](c+1)-33)+7225*(o[h](c+2)-33)+85*(o[h](c+3)-33)+(o[h](c+4)-33),l.push(p&a>>24,p&a>>16,p&a>>8,p&a);return function(m,v){for(var y=v;y>0;y--)m.pop()}(l,s[d]),f.fromCharCode.apply(f,l)},n=function(o){var s=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((o=o.replace(/\s/g,"")).indexOf(">")!==-1&&(o=o.substr(0,o.indexOf(">"))),o.length%2&&(o+="0"),s.test(o)===!1)return"";for(var a="",l=0;l<o.length;l+=2)a+=String.fromCharCode("0x"+(o[l]+o[l+1]));return a},i=function(o){for(var s=new Uint8Array(o.length),a=o.length;a--;)s[a]=o.charCodeAt(a);return o=(s=Lq(s)).reduce(function(l,c){return l+String.fromCharCode(c)},"")};t.processDataByFilters=function(o,s){var a=0,l=o||"",c=[];for(typeof(s=s||[])=="string"&&(s=[s]),a=0;a<s.length;a+=1)switch(s[a]){case"ASCII85Decode":case"/ASCII85Decode":l=r(l),c.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":l=e(l),c.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":l=n(l),c.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":l=l.split("").map(function(u){return("0"+u.charCodeAt().toString(16)).slice(-2)}).join("")+">",c.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":l=i(l),c.push("/FlateDecode");break;default:throw new Error('The filter: "'+s[a]+'" is not implemented')}return{data:l,reverseChain:c.reverse().join(" ")}}}(qr.API),function(t){t.loadFile=function(e,r,n){return function(i,o,s){o=o!==!1,s=typeof s=="function"?s:function(){};var a=void 0;try{a=function(l,c,u){var f=new XMLHttpRequest,d=0,p=function(h){var A=h.length,g=[],m=String.fromCharCode;for(d=0;d<A;d+=1)g.push(m(255&h.charCodeAt(d)));return g.join("")};if(f.open("GET",l,!c),f.overrideMimeType("text/plain; charset=x-user-defined"),c===!1&&(f.onload=function(){f.status===200?u(p(this.responseText)):u(void 0)}),f.send(null),c&&f.status===200)return p(f.responseText)}(i,o,s)}catch{}return a}(e,r,n)},t.loadImageFile=t.loadFile}(qr.API),function(t){function e(){return(Jr.html2canvas?Promise.resolve(Jr.html2canvas):Pq(()=>Promise.resolve().then(()=>Oor),void 0)).catch(function(s){return Promise.reject(new Error("Could not load html2canvas: "+s))}).then(function(s){return s.default?s.default:s})}function r(){return(Jr.DOMPurify?Promise.resolve(Jr.DOMPurify):Pq(()=>import("./purify.es-2de9db7f.js"),[])).catch(function(s){return Promise.reject(new Error("Could not load dompurify: "+s))}).then(function(s){return s.default?s.default:s})}var n=function(s){var a=Ei(s);return a==="undefined"?"undefined":a==="string"||s instanceof String?"string":a==="number"||s instanceof Number?"number":a==="function"||s instanceof Function?"function":s&&s.constructor===Array?"array":s&&s.nodeType===1?"element":a==="object"?"object":"unknown"},i=function(s,a){var l=document.createElement(s);for(var c in a.className&&(l.className=a.className),a.innerHTML&&a.dompurify&&(l.innerHTML=a.dompurify.sanitize(a.innerHTML)),a.style)l.style[c]=a.style[c];return l},o=function s(a){var l=Object.assign(s.convert(Promise.resolve()),JSON.parse(JSON.stringify(s.template))),c=s.convert(Promise.resolve(),l);return c=(c=c.setProgress(1,s,1,[s])).set(a)};(o.prototype=Object.create(Promise.prototype)).constructor=o,o.convert=function(s,a){return s.__proto__=a||o.prototype,s},o.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},o.prototype.from=function(s,a){return this.then(function(){switch(a=a||function(l){switch(n(l)){case"string":return"string";case"element":return l.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(s)){case"string":return this.then(r).then(function(l){return this.set({src:i("div",{innerHTML:s,dompurify:l})})});case"element":return this.set({src:s});case"canvas":return this.set({canvas:s});case"img":return this.set({img:s});default:return this.error("Unknown source type.")}})},o.prototype.to=function(s){switch(s){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},o.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var s={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},a=function l(c,u){for(var f=c.nodeType===3?document.createTextNode(c.nodeValue):c.cloneNode(!1),d=c.firstChild;d;d=d.nextSibling)u!==!0&&d.nodeType===1&&d.nodeName==="SCRIPT"||f.appendChild(l(d,u));return c.nodeType===1&&(c.nodeName==="CANVAS"?(f.width=c.width,f.height=c.height,f.getContext("2d").drawImage(c,0,0)):c.nodeName!=="TEXTAREA"&&c.nodeName!=="SELECT"||(f.value=c.value),f.addEventListener("load",function(){f.scrollTop=c.scrollTop,f.scrollLeft=c.scrollLeft},!0)),f}(this.prop.src,this.opt.html2canvas.javascriptEnabled);a.tagName==="BODY"&&(s.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=i("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=i("div",{className:"html2pdf__container",style:s}),this.prop.container.appendChild(a),this.prop.container.firstChild.appendChild(i("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},o.prototype.toCanvas=function(){var s=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(s).then(e).then(function(a){var l=Object.assign({},this.opt.html2canvas);return delete l.onrendered,a(this.prop.container,l)}).then(function(a){(this.opt.html2canvas.onrendered||function(){})(a),this.prop.canvas=a,document.body.removeChild(this.prop.overlay)})},o.prototype.toContext2d=function(){var s=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(s).then(e).then(function(a){var l=this.opt.jsPDF,c=this.opt.fontFaces,u=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,f=Object.assign({async:!0,allowTaint:!0,scale:u,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete f.onrendered,l.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,l.context2d.posX=this.opt.x,l.context2d.posY=this.opt.y,l.context2d.margin=this.opt.margin,l.context2d.fontFaces=c,c)for(var d=0;d<c.length;++d){var p=c[d],h=p.src.find(function(A){return A.format==="truetype"});h&&l.addFont(h.url,p.ref.name,p.ref.style)}return f.windowHeight=f.windowHeight||0,f.windowHeight=f.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):f.windowHeight,l.context2d.save(!0),a(this.prop.container,f)}).then(function(a){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(a),this.prop.canvas=a,document.body.removeChild(this.prop.overlay)})},o.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var s=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=s})},o.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},o.prototype.output=function(s,a,l){return(l=l||"pdf").toLowerCase()==="img"||l.toLowerCase()==="image"?this.outputImg(s,a):this.outputPdf(s,a)},o.prototype.outputPdf=function(s,a){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(s,a)})},o.prototype.outputImg=function(s){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(s){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+s+'" is not supported.'}})},o.prototype.save=function(s){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(s?{filename:s}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},o.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},o.prototype.set=function(s){if(n(s)!=="object")return this;var a=Object.keys(s||{}).map(function(l){if(l in o.template.prop)return function(){this.prop[l]=s[l]};switch(l){case"margin":return this.setMargin.bind(this,s.margin);case"jsPDF":return function(){return this.opt.jsPDF=s.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,s.pageSize);default:return function(){this.opt[l]=s[l]}}},this);return this.then(function(){return this.thenList(a)})},o.prototype.get=function(s,a){return this.then(function(){var l=s in o.template.prop?this.prop[s]:this.opt[s];return a?a(l):l})},o.prototype.setMargin=function(s){return this.then(function(){switch(n(s)){case"number":s=[s,s,s,s];case"array":if(s.length===2&&(s=[s[0],s[1],s[0],s[1]]),s.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=s}).then(this.setPageSize)},o.prototype.setPageSize=function(s){function a(l,c){return Math.floor(l*c/72*96)}return this.then(function(){(s=s||qr.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(s.inner={width:s.width-this.opt.margin[1]-this.opt.margin[3],height:s.height-this.opt.margin[0]-this.opt.margin[2]},s.inner.px={width:a(s.inner.width,s.k),height:a(s.inner.height,s.k)},s.inner.ratio=s.inner.height/s.inner.width),this.prop.pageSize=s})},o.prototype.setProgress=function(s,a,l,c){return s!=null&&(this.progress.val=s),a!=null&&(this.progress.state=a),l!=null&&(this.progress.n=l),c!=null&&(this.progress.stack=c),this.progress.ratio=this.progress.val/this.progress.state,this},o.prototype.updateProgress=function(s,a,l,c){return this.setProgress(s?this.progress.val+s:null,a||null,l?this.progress.n+l:null,c?this.progress.stack.concat(c):null)},o.prototype.then=function(s,a){var l=this;return this.thenCore(s,a,function(c,u){return l.updateProgress(null,null,1,[c]),Promise.prototype.then.call(this,function(f){return l.updateProgress(null,c),f}).then(c,u).then(function(f){return l.updateProgress(1),f})})},o.prototype.thenCore=function(s,a,l){l=l||Promise.prototype.then,s&&(s=s.bind(this)),a&&(a=a.bind(this));var c=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?this:o.convert(Object.assign({},this),Promise.prototype),u=l.call(c,s,a);return o.convert(u,this.__proto__)},o.prototype.thenExternal=function(s,a){return Promise.prototype.then.call(this,s,a)},o.prototype.thenList=function(s){var a=this;return s.forEach(function(l){a=a.thenCore(l)}),a},o.prototype.catch=function(s){s&&(s=s.bind(this));var a=Promise.prototype.catch.call(this,s);return o.convert(a,this)},o.prototype.catchExternal=function(s){return Promise.prototype.catch.call(this,s)},o.prototype.error=function(s){return this.then(function(){throw new Error(s)})},o.prototype.using=o.prototype.set,o.prototype.saveAs=o.prototype.save,o.prototype.export=o.prototype.output,o.prototype.run=o.prototype.then,qr.getPageSize=function(s,a,l){if(Ei(s)==="object"){var c=s;s=c.orientation,a=c.unit||a,l=c.format||l}a=a||"mm",l=l||"a4",s=(""+(s||"P")).toLowerCase();var u,f=(""+l).toLowerCase(),d={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(a){case"pt":u=1;break;case"mm":u=72/25.4;break;case"cm":u=72/2.54;break;case"in":u=72;break;case"px":u=.75;break;case"pc":case"em":u=12;break;case"ex":u=6;break;default:throw"Invalid unit: "+a}var p,h=0,A=0;if(d.hasOwnProperty(f))h=d[f][1]/u,A=d[f][0]/u;else try{h=l[1],A=l[0]}catch{throw new Error("Invalid format: "+l)}if(s==="p"||s==="portrait")s="p",A>h&&(p=A,A=h,h=p);else{if(s!=="l"&&s!=="landscape")throw"Invalid orientation: "+s;s="l",h>A&&(p=A,A=h,h=p)}return{width:A,height:h,unit:a,k:u,orientation:s}},t.html=function(s,a){(a=a||{}).callback=a.callback||function(){},a.html2canvas=a.html2canvas||{},a.html2canvas.canvas=a.html2canvas.canvas||this.canvas,a.jsPDF=a.jsPDF||this,a.fontFaces=a.fontFaces?a.fontFaces.map(Qq):null;var l=new o(a);return a.worker?l:l.from(s).doCallback()}}(qr.API),qr.API.addJS=function(t){return Zve=t,this.internal.events.subscribe("postPutResources",function(){OE=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(OE+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Jve=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Zve+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){OE!==void 0&&Jve!==void 0&&this.internal.out("/Names <</JavaScript "+OE+" 0 R>>")}),this},function(t){var e;t.events.push(["postPutResources",function(){var r=this,n=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var i=r.outline.render().split(/\r\n/),o=0;o<i.length;o++){var s=i[o],a=n.exec(s);if(a!=null){var l=a[1];r.internal.newObjectDeferredBegin(l,!1)}r.internal.write(s)}if(this.outline.createNamedDestinations){var c=this.internal.pages.length,u=[];for(o=0;o<c;o++){var f=r.internal.newObject();u.push(f);var d=r.internal.getPageInfo(o+1);r.internal.write("<< /D["+d.objId+" 0 R /XYZ null null null]>> endobj")}var p=r.internal.newObject();for(r.internal.write("<< /Names [ "),o=0;o<u.length;o++)r.internal.write("(page_"+(o+1)+")"+u[o]+" 0 R");r.internal.write(" ] >>","endobj"),e=r.internal.newObject(),r.internal.write("<< /Dests "+p+" 0 R"),r.internal.write(">>","endobj")}}]),t.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+e+" 0 R"))}]),t.events.push(["initialized",function(){var r=this;r.outline={createNamedDestinations:!1,root:{children:[]}},r.outline.add=function(n,i,o){var s={title:i,options:o,children:[]};return n==null&&(n=this.root),n.children.push(s),s},r.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=r,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},r.outline.genIds_r=function(n){n.id=r.internal.newObjectDeferred();for(var i=0;i<n.children.length;i++)this.genIds_r(n.children[i])},r.outline.renderRoot=function(n){this.objStart(n),this.line("/Type /Outlines"),n.children.length>0&&(this.line("/First "+this.makeRef(n.children[0])),this.line("/Last "+this.makeRef(n.children[n.children.length-1]))),this.line("/Count "+this.count_r({count:0},n)),this.objEnd()},r.outline.renderItems=function(n){for(var i=this.ctx.pdf.internal.getVerticalCoordinateString,o=0;o<n.children.length;o++){var s=n.children[o];this.objStart(s),this.line("/Title "+this.makeString(s.title)),this.line("/Parent "+this.makeRef(n)),o>0&&this.line("/Prev "+this.makeRef(n.children[o-1])),o<n.children.length-1&&this.line("/Next "+this.makeRef(n.children[o+1])),s.children.length>0&&(this.line("/First "+this.makeRef(s.children[0])),this.line("/Last "+this.makeRef(s.children[s.children.length-1])));var a=this.count=this.count_r({count:0},s);if(a>0&&this.line("/Count "+a),s.options&&s.options.pageNumber){var l=r.internal.getPageInfo(s.options.pageNumber);this.line("/Dest ["+l.objId+" 0 R /XYZ 0 "+i(0)+" 0]")}this.objEnd()}for(var c=0;c<n.children.length;c++)this.renderItems(n.children[c])},r.outline.line=function(n){this.ctx.val+=n+`\r `},r.outline.makeRef=function(n){return n.id+" 0 R"},r.outline.makeString=function(n){return"("+r.internal.pdfEscape(n)+")"},r.outline.objStart=function(n){this.ctx.val+=`\r `+n.id+` 0 obj\r <<\r `},r.outline.objEnd=function(){this.ctx.val+=`>> \r endobj\r `},r.outline.count_r=function(n,i){for(var o=0;o<i.children.length;o++)n.count++,this.count_r(n,i.children[o]);return n.count}}])}(qr.API),function(t){var e=[192,193,194,195,196,197,198,199];t.processJPEG=function(r,n,i,o,s,a){var l,c=this.decode.DCT_DECODE,u=null;if(typeof r=="string"||this.__addimage__.isArrayBuffer(r)||this.__addimage__.isArrayBufferView(r)){switch(r=s||r,r=this.__addimage__.isArrayBuffer(r)?new Uint8Array(r):r,(l=function(f){for(var d,p=256*f.charCodeAt(4)+f.charCodeAt(5),h=f.length,A={width:0,height:0,numcomponents:1},g=4;g<h;g+=2){if(g+=p,e.indexOf(f.charCodeAt(g+1))!==-1){d=256*f.charCodeAt(g+5)+f.charCodeAt(g+6),A={width:256*f.charCodeAt(g+7)+f.charCodeAt(g+8),height:d,numcomponents:f.charCodeAt(g+9)};break}p=256*f.charCodeAt(g+2)+f.charCodeAt(g+3)}return A}(r=this.__addimage__.isArrayBufferView(r)?this.__addimage__.arrayBufferToBinaryString(r):r)).numcomponents){case 1:a=this.color_spaces.DEVICE_GRAY;break;case 4:a=this.color_spaces.DEVICE_CMYK;break;case 3:a=this.color_spaces.DEVICE_RGB}u={data:r,width:l.width,height:l.height,colorSpace:a,bitsPerComponent:8,filter:c,index:n,alias:i}}return u}}(qr.API);var Ry,PE,eye,tye,rye,dsr=function(){var t,e,r;function n(o){var s,a,l,c,u,f,d,p,h,A,g,m,v,y;for(this.data=o,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},f=null;;){switch(s=this.readUInt32(),h=function(){var b,B;for(B=[],b=0;b<4;++b)B.push(String.fromCharCode(this.data[this.pos++]));return B}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(s);break;case"fcTL":f&&this.animation.frames.push(f),this.pos+=4,f={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},u=this.readUInt16(),c=this.readUInt16()||100,f.delay=1e3*u/c,f.disposeOp=this.data[this.pos++],f.blendOp=this.data[this.pos++],f.data=[];break;case"IDAT":case"fdAT":for(h==="fdAT"&&(this.pos+=4,s-=4),o=f?.data||this.imgData,m=0;0<=s?m<s:m>s;0<=s?++m:--m)o.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(l=this.palette.length/3,this.transparency.indexed=this.read(s),this.transparency.indexed.length>l)throw new Error("More transparent colors than palette size");if((A=l-this.transparency.indexed.length)>0)for(v=0;0<=A?v<A:v>A;0<=A?++v:--v)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(s)[0];break;case 2:this.transparency.rgb=this.read(s)}break;case"tEXt":d=(g=this.read(s)).indexOf(0),p=String.fromCharCode.apply(String,g.slice(0,d)),this.text[p]=String.fromCharCode.apply(String,g.slice(d+1));break;case"IEND":return f&&this.animation.frames.push(f),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(y=this.colorType)===4||y===6,a=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*a,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=s}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}n.prototype.read=function(o){var s,a;for(a=[],s=0;0<=o?s<o:s>o;0<=o?++s:--s)a.push(this.data[this.pos++]);return a},n.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},n.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},n.prototype.decodePixels=function(o){var s=this.pixelBitlength/8,a=new Uint8Array(this.width*this.height*s),l=0,c=this;if(o==null&&(o=this.imgData),o.length===0)return new Uint8Array(0);function u(f,d,p,h){var A,g,m,v,y,b,B,S,w,x,I,F,k,O,L,M,H,V,j,R,Q,z=Math.ceil((c.width-f)/p),X=Math.ceil((c.height-d)/h),_=c.width==z&&c.height==X;for(O=s*z,F=_?a:new Uint8Array(O*X),b=o.length,k=0,g=0;k<X&&l<b;){switch(o[l++]){case 0:for(v=H=0;H<O;v=H+=1)F[g++]=o[l++];break;case 1:for(v=V=0;V<O;v=V+=1)A=o[l++],y=v<s?0:F[g-s],F[g++]=(A+y)%256;break;case 2:for(v=j=0;j<O;v=j+=1)A=o[l++],m=(v-v%s)/s,L=k&&F[(k-1)*O+m*s+v%s],F[g++]=(L+A)%256;break;case 3:for(v=R=0;R<O;v=R+=1)A=o[l++],m=(v-v%s)/s,y=v<s?0:F[g-s],L=k&&F[(k-1)*O+m*s+v%s],F[g++]=(A+Math.floor((y+L)/2))%256;break;case 4:for(v=Q=0;Q<O;v=Q+=1)A=o[l++],m=(v-v%s)/s,y=v<s?0:F[g-s],k===0?L=M=0:(L=F[(k-1)*O+m*s+v%s],M=m&&F[(k-1)*O+(m-1)*s+v%s]),B=y+L-M,S=Math.abs(B-y),x=Math.abs(B-L),I=Math.abs(B-M),w=S<=x&&S<=I?y:x<=I?L:M,F[g++]=(A+w)%256;break;default:throw new Error("Invalid filter algorithm: "+o[l-1])}if(!_){var G=((d+k*h)*c.width+f)*s,W=k*O;for(v=0;v<z;v+=1){for(var J=0;J<s;J+=1)a[G++]=F[W++];G+=(p-1)*s}}k++}}return o=Hor(o),c.interlaceMethod==1?(u(0,0,8,8),u(4,0,8,8),u(0,4,4,8),u(2,0,4,4),u(0,2,2,4),u(1,0,2,2),u(0,1,1,2)):u(0,0,1,1),a},n.prototype.decodePalette=function(){var o,s,a,l,c,u,f,d,p;for(a=this.palette,u=this.transparency.indexed||[],c=new Uint8Array((u.length||0)+a.length),l=0,o=0,s=f=0,d=a.length;f<d;s=f+=3)c[l++]=a[s],c[l++]=a[s+1],c[l++]=a[s+2],c[l++]=(p=u[o++])!=null?p:255;return c},n.prototype.copyToImageData=function(o,s){var a,l,c,u,f,d,p,h,A,g,m;if(l=this.colors,A=null,a=this.hasAlphaChannel,this.palette.length&&(A=(m=this._decodedPalette)!=null?m:this._decodedPalette=this.decodePalette(),l=4,a=!0),h=(c=o.data||o).length,f=A||s,u=d=0,l===1)for(;u<h;)p=A?4*s[u/4]:d,g=f[p++],c[u++]=g,c[u++]=g,c[u++]=g,c[u++]=a?f[p++]:255,d=p;else for(;u<h;)p=A?4*s[u/4]:d,c[u++]=f[p++],c[u++]=f[p++],c[u++]=f[p++],c[u++]=a?f[p++]:255,d=p},n.prototype.decode=function(){var o;return o=new Uint8Array(this.width*this.height*4),this.copyToImageData(o,this.decodePixels()),o};var i=function(){if(Object.prototype.toString.call(Jr)==="[object Window]"){try{e=Jr.document.createElement("canvas"),r=e.getContext("2d")}catch{return!1}return!0}return!1};return i(),t=function(o){var s;if(i()===!0)return r.width=o.width,r.height=o.height,r.clearRect(0,0,o.width,o.height),r.putImageData(o,0,0),(s=new Image).src=e.toDataURL(),s;throw new Error("This method requires a Browser with Canvas-capability.")},n.prototype.decodeFrames=function(o){var s,a,l,c,u,f,d,p;if(this.animation){for(p=[],a=u=0,f=(d=this.animation.frames).length;u<f;a=++u)s=d[a],l=o.createImageData(s.width,s.height),c=this.decodePixels(new Uint8Array(s.data)),this.copyToImageData(l,c),s.imageData=l,p.push(s.image=t(l));return p}},n.prototype.renderFrame=function(o,s){var a,l,c;return a=(l=this.animation.frames)[s],c=l[s-1],s===0&&o.clearRect(0,0,this.width,this.height),c?.disposeOp===1?o.clearRect(c.xOffset,c.yOffset,c.width,c.height):c?.disposeOp===2&&o.putImageData(c.imageData,c.xOffset,c.yOffset),a.blendOp===0&&o.clearRect(a.xOffset,a.yOffset,a.width,a.height),o.drawImage(a.image,a.xOffset,a.yOffset)},n.prototype.animate=function(o){var s,a,l,c,u,f,d=this;return a=0,f=this.animation,c=f.numFrames,l=f.frames,u=f.numPlays,(s=function(){var p,h;if(p=a++%c,h=l[p],d.renderFrame(o,p),c>1&&a/c<u)return d.animation._timeout=setTimeout(s,h.delay)})()},n.prototype.stopAnimation=function(){var o;return clearTimeout((o=this.animation)!=null?o._timeout:void 0)},n.prototype.render=function(o){var s,a;return o._png&&o._png.stopAnimation(),o._png=this,o.width=this.width,o.height=this.height,s=o.getContext("2d"),this.animation?(this.decodeFrames(s),this.animate(s)):(a=s.createImageData(this.width,this.height),this.copyToImageData(a,this.decodePixels()),s.putImageData(a,0,0))},n}();/** * @license * * Copyright (c) 2014 James Robb, https://github.com/jamesbrobb * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, publish, * distribute, sublicense, and/or sell copies of the Software, and to * permit persons to whom the Software is furnished to do so, subject to * the following conditions: * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * ==================================================================== *//** * @license * (c) Dean McNamee <dean@gmail.com>, 2013. * * https://github.com/deanm/omggif * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or * sell copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * IN THE SOFTWARE. * * omggif is a JavaScript implementation of a GIF 89a encoder and decoder, * including animation and compression. It does not rely on any specific * underlying system, so should run in the browser, Node, or Plask. */function psr(t){var e=0;if(t[e++]!==71||t[e++]!==73||t[e++]!==70||t[e++]!==56||(t[e++]+1&253)!=56||t[e++]!==97)throw new Error("Invalid GIF 87a/89a header.");var r=t[e++]|t[e++]<<8,n=t[e++]|t[e++]<<8,i=t[e++],o=i>>7,s=1<<(7&i)+1;t[e++],t[e++];var a=null,l=null;o&&(a=e,l=s,e+=3*s);var c=!0,u=[],f=0,d=null,p=0,h=null;for(this.width=r,this.height=n;c&&e<t.length;)switch(t[e++]){case 33:switch(t[e++]){case 255:if(t[e]!==11||t[e+1]==78&&t[e+2]==69&&t[e+3]==84&&t[e+4]==83&&t[e+5]==67&&t[e+6]==65&&t[e+7]==80&&t[e+8]==69&&t[e+9]==50&&t[e+10]==46&&t[e+11]==48&&t[e+12]==3&&t[e+13]==1&&t[e+16]==0)e+=14,h=t[e++]|t[e++]<<8,e++;else for(e+=12;;){if(!((k=t[e++])>=0))throw Error("Invalid block size");if(k===0)break;e+=k}break;case 249:if(t[e++]!==4||t[e+4]!==0)throw new Error("Invalid graphics extension block.");var A=t[e++];f=t[e++]|t[e++]<<8,d=t[e++],!(1&A)&&(d=null),p=A>>2&7,e++;break;case 254:for(;;){if(!((k=t[e++])>=0))throw Error("Invalid block size");if(k===0)break;e+=k}break;default:throw new Error("Unknown graphic control label: 0x"+t[e-1].toString(16))}break;case 44:var g=t[e++]|t[e++]<<8,m=t[e++]|t[e++]<<8,v=t[e++]|t[e++]<<8,y=t[e++]|t[e++]<<8,b=t[e++],B=b>>6&1,S=1<<(7&b)+1,w=a,x=l,I=!1;b>>7&&(I=!0,w=e,x=S,e+=3*S);var F=e;for(e++;;){var k;if(!((k=t[e++])>=0))throw Error("Invalid block size");if(k===0)break;e+=k}u.push({x:g,y:m,width:v,height:y,has_local_palette:I,palette_offset:w,palette_size:x,data_offset:F,data_length:e-F,transparent_index:d,interlaced:!!B,delay:f,disposal:p});break;case 59:c=!1;break;default:throw new Error("Unknown gif block: 0x"+t[e-1].toString(16))}this.numFrames=function(){return u.length},this.loopCount=function(){return h},this.frameInfo=function(O){if(O<0||O>=u.length)throw new Error("Frame index out of range.");return u[O]},this.decodeAndBlitFrameBGRA=function(O,L){var M=this.frameInfo(O),H=M.width*M.height,V=new Uint8Array(H);nye(t,M.data_offset,V,H);var j=M.palette_offset,R=M.transparent_index;R===null&&(R=256);var Q=M.width,z=r-Q,X=Q,_=4*(M.y*r+M.x),G=4*((M.y+M.height)*r+M.x),W=_,J=4*z;M.interlaced===!0&&(J+=4*r*7);for(var ee=8,q=0,Z=V.length;q<Z;++q){var re=V[q];if(X===0&&(X=Q,(W+=J)>=G&&(J=4*z+4*r*(ee-1),W=_+(Q+z)*(ee<<1),ee>>=1)),re===R)W+=4;else{var fe=t[j+3*re],de=t[j+3*re+1],ie=t[j+3*re+2];L[W++]=ie,L[W++]=de,L[W++]=fe,L[W++]=255}--X}},this.decodeAndBlitFrameRGBA=function(O,L){var M=this.frameInfo(O),H=M.width*M.height,V=new Uint8Array(H);nye(t,M.data_offset,V,H);var j=M.palette_offset,R=M.transparent_index;R===null&&(R=256);var Q=M.width,z=r-Q,X=Q,_=4*(M.y*r+M.x),G=4*((M.y+M.height)*r+M.x),W=_,J=4*z;M.interlaced===!0&&(J+=4*r*7);for(var ee=8,q=0,Z=V.length;q<Z;++q){var re=V[q];if(X===0&&(X=Q,(W+=J)>=G&&(J=4*z+4*r*(ee-1),W=_+(Q+z)*(ee<<1),ee>>=1)),re===R)W+=4;else{var fe=t[j+3*re],de=t[j+3*re+1],ie=t[j+3*re+2];L[W++]=fe,L[W++]=de,L[W++]=ie,L[W++]=255}--X}}}function nye(t,e,r,n){for(var i=t[e++],o=1<<i,s=o+1,a=s+1,l=i+1,c=(1<<l)-1,u=0,f=0,d=0,p=t[e++],h=new Int32Array(4096),A=null;;){for(;u<16&&p!==0;)f|=t[e++]<<u,u+=8,p===1?p=t[e++]:--p;if(u<l)break;var g=f&c;if(f>>=l,u-=l,g!==o){if(g===s)break;for(var m=g<a?g:A,v=0,y=m;y>o;)y=h[y]>>8,++v;var b=y;if(d+v+(m!==g?1:0)>n)return void Qi.log("Warning, gif stream longer than expected.");r[d++]=b;var B=d+=v;for(m!==g&&(r[d++]=b),y=m;v--;)y=h[y],r[--B]=255&y,y>>=8;A!==null&&a<4096&&(h[a++]=A<<8|b,a>=c+1&&l<12&&(++l,c=c<<1|1)),A=g}else a=s+1,c=(1<<(l=i+1))-1,A=null}return d!==n&&Qi.log("Warning, gif stream shorter than expected."),r}/** * @license Copyright (c) 2008, Adobe Systems Incorporated All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Adobe Systems Incorporated nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */function aQ(t){var e,r,n,i,o,s=Math.floor,a=new Array(64),l=new Array(64),c=new Array(64),u=new Array(64),f=new Array(65535),d=new Array(65535),p=new Array(64),h=new Array(64),A=[],g=0,m=7,v=new Array(64),y=new Array(64),b=new Array(64),B=new Array(256),S=new Array(2048),w=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],x=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],I=[0,1,2,3,4,5,6,7,8,9,10,11],F=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],k=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],O=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],L=[0,1,2,3,4,5,6,7,8,9,10,11],M=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],H=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function V(_,G){for(var W=0,J=0,ee=new Array,q=1;q<=16;q++){for(var Z=1;Z<=_[q];Z++)ee[G[J]]=[],ee[G[J]][0]=W,ee[G[J]][1]=q,J++,W++;W*=2}return ee}function j(_){for(var G=_[0],W=_[1]-1;W>=0;)G&1<<W&&(g|=1<<m),W--,--m<0&&(g==255?(R(255),R(0)):R(g),m=7,g=0)}function R(_){A.push(_)}function Q(_){R(_>>8&255),R(255&_)}function z(_,G,W,J,ee){for(var q,Z=ee[0],re=ee[240],fe=function(Re,je){var Ve,ze,lt,gt,_t,U,D,N,Y,pe,be=0;for(Y=0;Y<8;++Y){Ve=Re[be],ze=Re[be+1],lt=Re[be+2],gt=Re[be+3],_t=Re[be+4],U=Re[be+5],D=Re[be+6];var _e=Ve+(N=Re[be+7]),he=Ve-N,Ee=ze+D,ot=ze-D,At=lt+U,Ct=lt-U,pt=gt+_t,Bn=gt-_t,jr=_e+pt,yr=_e-pt,Sr=Ee+At,Jt=Ee-At;Re[be]=jr+Sr,Re[be+4]=jr-Sr;var Dt=.707106781*(Jt+yr);Re[be+2]=yr+Dt,Re[be+6]=yr-Dt;var ir=.382683433*((jr=Bn+Ct)-(Jt=ot+he)),xn=.5411961*jr+ir,Ar=1.306562965*Jt+ir,Yr=.707106781*(Sr=Ct+ot),se=he+Yr,ae=he-Yr;Re[be+5]=ae+xn,Re[be+3]=ae-xn,Re[be+1]=se+Ar,Re[be+7]=se-Ar,be+=8}for(be=0,Y=0;Y<8;++Y){Ve=Re[be],ze=Re[be+8],lt=Re[be+16],gt=Re[be+24],_t=Re[be+32],U=Re[be+40],D=Re[be+48];var Ce=Ve+(N=Re[be+56]),Oe=Ve-N,Ie=ze+D,Le=ze-D,Qe=lt+U,Ge=lt-U,ft=gt+_t,yt=gt-_t,nt=Ce+ft,Ft=Ce-ft,mt=Ie+Qe,dt=Ie-Qe;Re[be]=nt+mt,Re[be+32]=nt-mt;var Lt=.707106781*(dt+Ft);Re[be+16]=Ft+Lt,Re[be+48]=Ft-Lt;var tr=.382683433*((nt=yt+Ge)-(dt=Le+Oe)),ur=.5411961*nt+tr,Kt=1.306562965*dt+tr,In=.707106781*(mt=Ge+Le),on=Oe+In,Ii=Oe-In;Re[be+40]=Ii+ur,Re[be+24]=Ii-ur,Re[be+8]=on+Kt,Re[be+56]=on-Kt,be++}for(Y=0;Y<64;++Y)pe=Re[Y]*je[Y],p[Y]=pe>0?pe+.5|0:pe-.5|0;return p}(_,G),de=0;de<64;++de)h[w[de]]=fe[de];var ie=h[0]-W;W=h[0],ie==0?j(J[0]):(j(J[d[q=32767+ie]]),j(f[q]));for(var le=63;le>0&&h[le]==0;)le--;if(le==0)return j(Z),W;for(var De,Ae=1;Ae<=le;){for(var ue=Ae;h[Ae]==0&&Ae<=le;)++Ae;var Ne=Ae-ue;if(Ne>=16){De=Ne>>4;for(var Te=1;Te<=De;++Te)j(re);Ne&=15}q=32767+h[Ae],j(ee[(Ne<<4)+d[q]]),j(f[q]),Ae++}return le!=63&&j(Z),W}function X(_){_=Math.min(Math.max(_,1),100),o!=_&&(function(G){for(var W=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],J=0;J<64;J++){var ee=s((W[J]*G+50)/100);ee=Math.min(Math.max(ee,1),255),a[w[J]]=ee}for(var q=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Z=0;Z<64;Z++){var re=s((q[Z]*G+50)/100);re=Math.min(Math.max(re,1),255),l[w[Z]]=re}for(var fe=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],de=0,ie=0;ie<8;ie++)for(var le=0;le<8;le++)c[de]=1/(a[w[de]]*fe[ie]*fe[le]*8),u[de]=1/(l[w[de]]*fe[ie]*fe[le]*8),de++}(_<50?Math.floor(5e3/_):Math.floor(200-2*_)),o=_)}this.encode=function(_,G){G&&X(G),A=new Array,g=0,m=7,Q(65496),Q(65504),Q(16),R(74),R(70),R(73),R(70),R(0),R(1),R(1),R(0),Q(1),Q(1),R(0),R(0),function(){Q(65499),Q(132),R(0);for(var ze=0;ze<64;ze++)R(a[ze]);R(1);for(var lt=0;lt<64;lt++)R(l[lt])}(),function(ze,lt){Q(65472),Q(17),R(8),Q(lt),Q(ze),R(3),R(1),R(17),R(0),R(2),R(17),R(1),R(3),R(17),R(1)}(_.width,_.height),function(){Q(65476),Q(418),R(0);for(var ze=0;ze<16;ze++)R(x[ze+1]);for(var lt=0;lt<=11;lt++)R(I[lt]);R(16);for(var gt=0;gt<16;gt++)R(F[gt+1]);for(var _t=0;_t<=161;_t++)R(k[_t]);R(1);for(var U=0;U<16;U++)R(O[U+1]);for(var D=0;D<=11;D++)R(L[D]);R(17);for(var N=0;N<16;N++)R(M[N+1]);for(var Y=0;Y<=161;Y++)R(H[Y])}(),Q(65498),Q(12),R(3),R(1),R(0),R(2),R(17),R(3),R(17),R(0),R(63),R(0);var W=0,J=0,ee=0;g=0,m=7,this.encode.displayName="_encode_";for(var q,Z,re,fe,de,ie,le,De,Ae,ue=_.data,Ne=_.width,Te=_.height,Re=4*Ne,je=0;je<Te;){for(q=0;q<Re;){for(de=Re*je+q,le=-1,De=0,Ae=0;Ae<64;Ae++)ie=de+(De=Ae>>3)*Re+(le=4*(7&Ae)),je+De>=Te&&(ie-=Re*(je+1+De-Te)),q+le>=Re&&(ie-=q+le-Re+4),Z=ue[ie++],re=ue[ie++],fe=ue[ie++],v[Ae]=(S[Z]+S[re+256>>0]+S[fe+512>>0]>>16)-128,y[Ae]=(S[Z+768>>0]+S[re+1024>>0]+S[fe+1280>>0]>>16)-128,b[Ae]=(S[Z+1280>>0]+S[re+1536>>0]+S[fe+1792>>0]>>16)-128;W=z(v,c,W,e,n),J=z(y,u,J,r,i),ee=z(b,u,ee,r,i),q+=32}je+=8}if(m>=0){var Ve=[];Ve[1]=m+1,Ve[0]=(1<<m+1)-1,j(Ve)}return Q(65497),new Uint8Array(A)},t=t||50,function(){for(var _=String.fromCharCode,G=0;G<256;G++)B[G]=_(G)}(),e=V(x,I),r=V(O,L),n=V(F,k),i=V(M,H),function(){for(var _=1,G=2,W=1;W<=15;W++){for(var J=_;J<G;J++)d[32767+J]=W,f[32767+J]=[],f[32767+J][1]=W,f[32767+J][0]=J;for(var ee=-(G-1);ee<=-_;ee++)d[32767+ee]=W,f[32767+ee]=[],f[32767+ee][1]=W,f[32767+ee][0]=G-1+ee;_<<=1,G<<=1}}(),function(){for(var _=0;_<256;_++)S[_]=19595*_,S[_+256>>0]=38470*_,S[_+512>>0]=7471*_+32768,S[_+768>>0]=-11059*_,S[_+1024>>0]=-21709*_,S[_+1280>>0]=32768*_+8421375,S[_+1536>>0]=-27439*_,S[_+1792>>0]=-5329*_}(),X(t)}/** * @license * Copyright (c) 2017 Aras Abbasi * * Licensed under the MIT License. * http://opensource.org/licenses/mit-license */function df(t,e){if(this.pos=0,this.buffer=t,this.datav=new DataView(t.buffer),this.is_with_alpha=!!e,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function iye(t){function e(x){if(!x)throw Error("assert :P")}function r(x,I,F){for(var k=0;4>k;k++)if(x[I+k]!=F.charCodeAt(k))return!0;return!1}function n(x,I,F,k,O){for(var L=0;L<O;L++)x[I+L]=F[k+L]}function i(x,I,F,k){for(var O=0;O<k;O++)x[I+O]=F}function o(x){return new Int32Array(x)}function s(x,I){for(var F=[],k=0;k<x;k++)F.push(new I);return F}function a(x,I){var F=[];return function k(O,L,M){for(var H=M[L],V=0;V<H&&(O.push(M.length>L+1?[]:new I),!(M.length<L+1));V++)k(O[V],L+1,M)}(F,0,x),F}var l=function(){var x=this;function I(P,T){for(var K=1<<T-1>>>0;P&K;)K>>>=1;return K?(P&K-1)+K:P}function F(P,T,K,oe,ge){e(!(oe%K));do P[T+(oe-=K)]=ge;while(0<oe)}function k(P,T,K,oe,ge){if(e(2328>=ge),512>=ge)var xe=o(512);else if((xe=o(ge))==null)return 0;return function(Se,Pe,Fe,Me,Ke,st){var at,Ye,Ot=Pe,vt=1<<Fe,qe=o(16),Xe=o(16);for(e(Ke!=0),e(Me!=null),e(Se!=null),e(0<Fe),Ye=0;Ye<Ke;++Ye){if(15<Me[Ye])return 0;++qe[Me[Ye]]}if(qe[0]==Ke)return 0;for(Xe[1]=0,at=1;15>at;++at){if(qe[at]>1<<at)return 0;Xe[at+1]=Xe[at]+qe[at]}for(Ye=0;Ye<Ke;++Ye)at=Me[Ye],0<Me[Ye]&&(st[Xe[at]++]=Ye);if(Xe[15]==1)return(Me=new O).g=0,Me.value=st[0],F(Se,Ot,1,vt,Me),vt;var Et,Rt=-1,kt=vt-1,gr=0,or=1,Gr=1,fr=1<<Fe;for(Ye=0,at=1,Ke=2;at<=Fe;++at,Ke<<=1){if(or+=Gr<<=1,0>(Gr-=qe[at]))return 0;for(;0<qe[at];--qe[at])(Me=new O).g=at,Me.value=st[Ye++],F(Se,Ot+gr,Ke,fr,Me),gr=I(gr,at)}for(at=Fe+1,Ke=2;15>=at;++at,Ke<<=1){if(or+=Gr<<=1,0>(Gr-=qe[at]))return 0;for(;0<qe[at];--qe[at]){if(Me=new O,(gr&kt)!=Rt){for(Ot+=fr,Et=1<<(Rt=at)-Fe;15>Rt&&!(0>=(Et-=qe[Rt]));)++Rt,Et<<=1;vt+=fr=1<<(Et=Rt-Fe),Se[Pe+(Rt=gr&kt)].g=Et+Fe,Se[Pe+Rt].value=Ot-Pe-Rt}Me.g=at-Fe,Me.value=st[Ye++],F(Se,Ot+(gr>>Fe),Ke,fr,Me),gr=I(gr,at)}}return or!=2*Xe[15]-1?0:vt}(P,T,K,oe,ge,xe)}function O(){this.value=this.g=0}function L(){this.value=this.g=0}function M(){this.G=s(5,O),this.H=o(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=s(aa,L)}function H(P,T,K,oe){e(P!=null),e(T!=null),e(2147483648>oe),P.Ca=254,P.I=0,P.b=-8,P.Ka=0,P.oa=T,P.pa=K,P.Jd=T,P.Yc=K+oe,P.Zc=4<=oe?K+oe-4+1:K,q(P)}function V(P,T){for(var K=0;0<T--;)K|=re(P,128)<<T;return K}function j(P,T){var K=V(P,T);return Z(P)?-K:K}function R(P,T,K,oe){var ge,xe=0;for(e(P!=null),e(T!=null),e(4294967288>oe),P.Sb=oe,P.Ra=0,P.u=0,P.h=0,4<oe&&(oe=4),ge=0;ge<oe;++ge)xe+=T[K+ge]<<8*ge;P.Ra=xe,P.bb=oe,P.oa=T,P.pa=K}function Q(P){for(;8<=P.u&&P.bb<P.Sb;)P.Ra>>>=8,P.Ra+=P.oa[P.pa+P.bb]<<Vv-8>>>0,++P.bb,P.u-=8;W(P)&&(P.h=1,P.u=0)}function z(P,T){if(e(0<=T),!P.h&&T<=Qv){var K=G(P)&Uv[T];return P.u+=T,Q(P),K}return P.h=1,P.u=0}function X(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function _(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function G(P){return P.Ra>>>(P.u&Vv-1)>>>0}function W(P){return e(P.bb<=P.Sb),P.h||P.bb==P.Sb&&P.u>Vv}function J(P,T){P.u=T,P.h=W(P)}function ee(P){P.u>=fb&&(e(P.u>=fb),Q(P))}function q(P){e(P!=null&&P.oa!=null),P.pa<P.Zc?(P.I=(P.oa[P.pa++]|P.I<<8)>>>0,P.b+=8):(e(P!=null&&P.oa!=null),P.pa<P.Yc?(P.b+=8,P.I=P.oa[P.pa++]|P.I<<8):P.Ka?P.b=0:(P.I<<=8,P.b+=8,P.Ka=1))}function Z(P){return V(P,1)}function re(P,T){var K=P.Ca;0>P.b&&q(P);var oe=P.b,ge=K*T>>>8,xe=(P.I>>>oe>ge)+0;for(xe?(K-=ge,P.I-=ge+1<<oe>>>0):K=ge+1,oe=K,ge=0;256<=oe;)ge+=8,oe>>=8;return oe=7^ge+Nl[oe],P.b-=oe,P.Ca=(K<<oe)-1,xe}function fe(P,T,K){P[T+0]=K>>24&255,P[T+1]=K>>16&255,P[T+2]=K>>8&255,P[T+3]=K>>0&255}function de(P,T){return P[T+0]<<0|P[T+1]<<8}function ie(P,T){return de(P,T)|P[T+2]<<16}function le(P,T){return de(P,T)|de(P,T+2)<<16}function De(P,T){var K=1<<T;return e(P!=null),e(0<T),P.X=o(K),P.X==null?0:(P.Mb=32-T,P.Xa=T,1)}function Ae(P,T){e(P!=null),e(T!=null),e(P.Xa==T.Xa),n(T.X,0,P.X,0,1<<T.Xa)}function ue(){this.X=[],this.Xa=this.Mb=0}function Ne(P,T,K,oe){e(K!=null),e(oe!=null);var ge=K[0],xe=oe[0];return ge==0&&(ge=(P*xe+T/2)/T),xe==0&&(xe=(T*ge+P/2)/P),0>=ge||0>=xe?0:(K[0]=ge,oe[0]=xe,1)}function Te(P,T){return P+(1<<T)-1>>>T}function Re(P,T){return((4278255360&P)+(4278255360&T)>>>0&4278255360)+((16711935&P)+(16711935&T)>>>0&16711935)>>>0}function je(P,T){x[T]=function(K,oe,ge,xe,Se,Pe,Fe){var Me;for(Me=0;Me<Se;++Me){var Ke=x[P](Pe[Fe+Me-1],ge,xe+Me);Pe[Fe+Me]=Re(K[oe+Me],Ke)}}}function Ve(){this.ud=this.hd=this.jd=0}function ze(P,T){return((4278124286&(P^T))>>>1)+(P&T)>>>0}function lt(P){return 0<=P&&256>P?P:0>P?0:255<P?255:void 0}function gt(P,T){return lt(P+(P-T+.5>>1))}function _t(P,T,K){return Math.abs(T-K)-Math.abs(P-K)}function U(P,T,K,oe,ge,xe,Se){for(oe=xe[Se-1],K=0;K<ge;++K)xe[Se+K]=oe=Re(P[T+K],oe)}function D(P,T,K,oe,ge){var xe;for(xe=0;xe<K;++xe){var Se=P[T+xe],Pe=Se>>8&255,Fe=16711935&(Fe=(Fe=16711935&Se)+((Pe<<16)+Pe));oe[ge+xe]=(4278255360&Se)+Fe>>>0}}function N(P,T){T.jd=P>>0&255,T.hd=P>>8&255,T.ud=P>>16&255}function Y(P,T,K,oe,ge,xe){var Se;for(Se=0;Se<oe;++Se){var Pe=T[K+Se],Fe=Pe>>>8,Me=Pe,Ke=255&(Ke=(Ke=Pe>>>16)+((P.jd<<24>>24)*(Fe<<24>>24)>>>5));Me=255&(Me=(Me=Me+((P.hd<<24>>24)*(Fe<<24>>24)>>>5))+((P.ud<<24>>24)*(Ke<<24>>24)>>>5)),ge[xe+Se]=(4278255360&Pe)+(Ke<<16)+Me}}function pe(P,T,K,oe,ge){x[T]=function(xe,Se,Pe,Fe,Me,Ke,st,at,Ye){for(Fe=st;Fe<at;++Fe)for(st=0;st<Ye;++st)Me[Ke++]=ge(Pe[oe(xe[Se++])])},x[P]=function(xe,Se,Pe,Fe,Me,Ke,st){var at=8>>xe.b,Ye=xe.Ea,Ot=xe.K[0],vt=xe.w;if(8>at)for(xe=(1<<xe.b)-1,vt=(1<<at)-1;Se<Pe;++Se){var qe,Xe=0;for(qe=0;qe<Ye;++qe)qe&xe||(Xe=oe(Fe[Me++])),Ke[st++]=ge(Ot[Xe&vt]),Xe>>=at}else x["VP8LMapColor"+K](Fe,Me,Ot,vt,Ke,st,Se,Pe,Ye)}}function be(P,T,K,oe,ge){for(K=T+K;T<K;){var xe=P[T++];oe[ge++]=xe>>16&255,oe[ge++]=xe>>8&255,oe[ge++]=xe>>0&255}}function _e(P,T,K,oe,ge){for(K=T+K;T<K;){var xe=P[T++];oe[ge++]=xe>>16&255,oe[ge++]=xe>>8&255,oe[ge++]=xe>>0&255,oe[ge++]=xe>>24&255}}function he(P,T,K,oe,ge){for(K=T+K;T<K;){var xe=(Se=P[T++])>>16&240|Se>>12&15,Se=Se>>0&240|Se>>28&15;oe[ge++]=xe,oe[ge++]=Se}}function Ee(P,T,K,oe,ge){for(K=T+K;T<K;){var xe=(Se=P[T++])>>16&248|Se>>13&7,Se=Se>>5&224|Se>>3&31;oe[ge++]=xe,oe[ge++]=Se}}function ot(P,T,K,oe,ge){for(K=T+K;T<K;){var xe=P[T++];oe[ge++]=xe>>0&255,oe[ge++]=xe>>8&255,oe[ge++]=xe>>16&255}}function At(P,T,K,oe,ge,xe){if(xe==0)for(K=T+K;T<K;)fe(oe,((xe=P[T++])[0]>>24|xe[1]>>8&65280|xe[2]<<8&16711680|xe[3]<<24)>>>0),ge+=32;else n(oe,ge,P,T,K)}function Ct(P,T){x[T][0]=x[P+"0"],x[T][1]=x[P+"1"],x[T][2]=x[P+"2"],x[T][3]=x[P+"3"],x[T][4]=x[P+"4"],x[T][5]=x[P+"5"],x[T][6]=x[P+"6"],x[T][7]=x[P+"7"],x[T][8]=x[P+"8"],x[T][9]=x[P+"9"],x[T][10]=x[P+"10"],x[T][11]=x[P+"11"],x[T][12]=x[P+"12"],x[T][13]=x[P+"13"],x[T][14]=x[P+"0"],x[T][15]=x[P+"0"]}function pt(P){return P==SF||P==EF||P==uS||P==DF}function Bn(){this.eb=[],this.size=this.A=this.fb=0}function jr(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function yr(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Bn,this.f.kb=new jr,this.sd=null}function Sr(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Jt(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Dt(P){return alert("todo:WebPSamplerProcessPlane"),P.T}function ir(P,T){var K=P.T,oe=T.ba.f.RGBA,ge=oe.eb,xe=oe.fb+P.ka*oe.A,Se=su[T.ba.S],Pe=P.y,Fe=P.O,Me=P.f,Ke=P.N,st=P.ea,at=P.W,Ye=T.cc,Ot=T.dc,vt=T.Mc,qe=T.Nc,Xe=P.ka,Et=P.ka+P.T,Rt=P.U,kt=Rt+1>>1;for(Xe==0?Se(Pe,Fe,null,null,Me,Ke,st,at,Me,Ke,st,at,ge,xe,null,null,Rt):(Se(T.ec,T.fc,Pe,Fe,Ye,Ot,vt,qe,Me,Ke,st,at,ge,xe-oe.A,ge,xe,Rt),++K);Xe+2<Et;Xe+=2)Ye=Me,Ot=Ke,vt=st,qe=at,Ke+=P.Rc,at+=P.Rc,xe+=2*oe.A,Se(Pe,(Fe+=2*P.fa)-P.fa,Pe,Fe,Ye,Ot,vt,qe,Me,Ke,st,at,ge,xe-oe.A,ge,xe,Rt);return Fe+=P.fa,P.j+Et<P.o?(n(T.ec,T.fc,Pe,Fe,Rt),n(T.cc,T.dc,Me,Ke,kt),n(T.Mc,T.Nc,st,at,kt),K--):1&Et||Se(Pe,Fe,null,null,Me,Ke,st,at,Me,Ke,st,at,ge,xe+oe.A,null,null,Rt),K}function xn(P,T,K){var oe=P.F,ge=[P.J];if(oe!=null){var xe=P.U,Se=T.ba.S,Pe=Se==cS||Se==uS;T=T.ba.f.RGBA;var Fe=[0],Me=P.ka;Fe[0]=P.T,P.Kb&&(Me==0?--Fe[0]:(--Me,ge[0]-=P.width),P.j+P.ka+P.T==P.o&&(Fe[0]=P.o-P.j-Me));var Ke=T.eb;Me=T.fb+Me*T.A,P=qi(oe,ge[0],P.width,xe,Fe,Ke,Me+(Pe?0:3),T.A),e(K==Fe),P&&pt(Se)&&iu(Ke,Me,Pe,xe,Fe,T.A)}return 0}function Ar(P){var T=P.ma,K=T.ba.S,oe=11>K,ge=K==aS||K==lS||K==cS||K==xF||K==12||pt(K);if(T.memory=null,T.Ib=null,T.Jb=null,T.Nd=null,!cb(T.Oa,P,ge?11:12))return 0;if(ge&&pt(K)&&jt(),P.da)alert("todo:use_scaling");else{if(oe){if(T.Ib=Dt,P.Kb){if(K=P.U+1>>1,T.memory=o(P.U+2*K),T.memory==null)return 0;T.ec=T.memory,T.fc=0,T.cc=T.ec,T.dc=T.fc+P.U,T.Mc=T.cc,T.Nc=T.dc+K,T.Ib=ir,jt()}}else alert("todo:EmitYUV");ge&&(T.Jb=xn,oe&&rt())}if(oe&&!ere){for(P=0;256>P;++P)XMe[P]=89858*(P-128)+dS>>fS,ZMe[P]=-22014*(P-128)+dS,JMe[P]=-45773*(P-128),YMe[P]=113618*(P-128)+dS>>fS;for(P=vb;P<PF;++P)T=76283*(P-16)+dS>>fS,e_e[P-vb]=Ac(T,255),t_e[P-vb]=Ac(T+8>>4,15);ere=1}return 1}function Yr(P){var T=P.ma,K=P.U,oe=P.T;return e(!(1&P.ka)),0>=K||0>=oe?0:(K=T.Ib(P,T),T.Jb!=null&&T.Jb(P,T,K),T.Dc+=K,1)}function se(P){P.ma.memory=null}function ae(P,T,K,oe){return z(P,8)!=47?0:(T[0]=z(P,14)+1,K[0]=z(P,14)+1,oe[0]=z(P,1),z(P,3)!=0?0:!P.h)}function Ce(P,T){if(4>P)return P+1;var K=P-2>>1;return(2+(1&P)<<K)+z(T,K)+1}function Oe(P,T){return 120<T?T-120:1<=(K=((K=RMe[T-1])>>4)*P+(8-(15&K)))?K:1;var K}function Ie(P,T,K){var oe=G(K),ge=P[T+=255&oe].g-8;return 0<ge&&(J(K,K.u+8),oe=G(K),T+=P[T].value,T+=oe&(1<<ge)-1),J(K,K.u+P[T].g),P[T].value}function Le(P,T,K){return K.g+=P.g,K.value+=P.value<<T>>>0,e(8>=K.g),P.g}function Qe(P,T,K){var oe=P.xc;return e((T=oe==0?0:P.vc[P.md*(K>>oe)+(T>>oe)])<P.Wb),P.Ya[T]}function Ge(P,T,K,oe){var ge=P.ab,xe=P.c*T,Se=P.C;T=Se+T;var Pe=K,Fe=oe;for(oe=P.Ta,K=P.Ua;0<ge--;){var Me=P.gc[ge],Ke=Se,st=T,at=Pe,Ye=Fe,Ot=(Fe=oe,Pe=K,Me.Ea);switch(e(Ke<st),e(st<=Me.nc),Me.hc){case 2:eS(at,Ye,(st-Ke)*Ot,Fe,Pe);break;case 0:var vt=Ke,qe=st,Xe=Fe,Et=Pe,Rt=(fr=Me).Ea;vt==0&&(bF(at,Ye,null,null,1,Xe,Et),U(at,Ye+1,0,0,Rt-1,Xe,Et+1),Ye+=Rt,Et+=Rt,++vt);for(var kt=1<<fr.b,gr=kt-1,or=Te(Rt,fr.b),Gr=fr.K,fr=fr.w+(vt>>fr.b)*or;vt<qe;){var ci=Gr,Ci=fr,ti=1;for(db(at,Ye,Xe,Et-Rt,1,Xe,Et);ti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ka=K-xe.j,xe.U=xe.va-xe.v,xe.T=oe-K,K=1),K){if(Pe=Pe[0],11>(K=P.ca).S){var Ke=K.f.RGBA,st=(oe=K.S,ge=xe.U,xe=xe.T,Me=Ke.eb,Ke.A),at=xe;for(Ke=Ke.fb+P.Ma*Ke.A;0<at--;){var Ye=Se,Ot=Pe,vt=ge,qe=Me,Xe=Ke;switch(oe){case sS:Fl(Ye,Ot,vt,qe,Xe);break;case aS:il(Ye,Ot,vt,qe,Xe);break;case SF:il(Ye,Ot,vt,qe,Xe),iu(qe,Xe,0,vt,1,0);break;case Hte:Kp(Ye,Ot,vt,qe,Xe);break;case lS:At(Ye,Ot,vt,qe,Xe,1);break;case EF:At(Ye,Ot,vt,qe,Xe,1),iu(qe,Xe,0,vt,1,0);break;case cS:At(Ye,Ot,vt,qe,Xe,0);break;case uS:At(Ye,Ot,vt,qe,Xe,0),iu(qe,Xe,1,vt,1,0);break;case xF:Fh(Ye,Ot,vt,qe,Xe);break;case DF:Fh(Ye,Ot,vt,qe,Xe),Ki(qe,Xe,vt,1,0);break;case Gte:zp(Ye,Ot,vt,qe,Xe);break;default:e(0)}Pe+=Fe,Ke+=st}P.Ma+=xe}else alert("todo:EmitRescaledRowsYUVA");e(P.Ma<=K.height)}}P.C=T,e(P.C<=P.i)}function yt(P){var T;if(0<P.ua)return 0;for(T=0;T<P.Wb;++T){var K=P.Ya[T].G,oe=P.Ya[T].H;if(0<K[1][oe[1]+0].g||0<K[2][oe[2]+0].g||0<K[3][oe[3]+0].g)return 0}return 1}function nt(P,T,K,oe,ge,xe){if(P.Z!=0){var Se=P.qd,Pe=P.rd;for(e(Mh[P.Z]!=null);T<K;++T)Mh[P.Z](Se,Pe,oe,ge,oe,ge,xe),Se=oe,Pe=ge,ge+=xe;P.qd=Se,P.rd=Pe}}function Ft(P,T){var K=P.l.ma,oe=K.Z==0||K.Z==1?P.l.j:P.C;if(oe=P.C<oe?oe:P.C,e(T<=P.l.o),T>oe){var ge=P.l.width,xe=K.ca,Se=K.tb+ge*oe,Pe=P.V,Fe=P.Ba+P.c*oe,Me=P.gc;e(P.ab==1),e(Me[0].hc==3),tS(Me[0],oe,T,Pe,Fe,xe,Se),nt(K,oe,T,xe,Se,ge)}P.C=P.Ma=T}function mt(P,T,K,oe,ge,xe,Se){var Pe=P.$/oe,Fe=P.$%oe,Me=P.m,Ke=P.s,st=K+P.$,at=st;ge=K+oe*ge;var Ye=K+oe*xe,Ot=280+Ke.ua,vt=P.Pb?Pe:16777216,qe=0<Ke.ua?Ke.Wa:null,Xe=Ke.wc,Et=st<Ye?Qe(Ke,Fe,Pe):null;e(P.C<xe),e(Ye<=ge);var Rt=!1;e:for(;;){for(;Rt||st<Ye;){var kt=0;if(Pe>=vt){var gr=st-K;e((vt=P).Pb),vt.wd=vt.m,vt.xd=gr,0<vt.s.ua&&Ae(vt.s.Wa,vt.s.vb),vt=Pe+_Me}if(Fe&Xe||(Et=Qe(Ke,Fe,Pe)),e(Et!=null),Et.Qb&&(T[st]=Et.qb,Rt=!0),!Rt)if(ee(Me),Et.jc){kt=Me,gr=T;var or=st,Gr=Et.pd[G(kt)&aa-1];e(Et.jc),256>Gr.g?(J(kt,kt.u+Gr.g),gr[or]=Gr.value,kt=0):(J(kt,kt.u+Gr.g-256),e(256<=Gr.value),kt=Gr.value),kt==0&&(Rt=!0)}else kt=Ie(Et.G[0],Et.H[0],Me);if(Me.h)break;if(Rt||256>kt){if(!Rt)if(Et.nd)T[st]=(Et.qb|kt<<8)>>>0;else{if(ee(Me),Rt=Ie(Et.G[1],Et.H[1],Me),ee(Me),gr=Ie(Et.G[2],Et.H[2],Me),or=Ie(Et.G[3],Et.H[3],Me),Me.h)break;T[st]=(or<<24|Rt<<16|kt<<8|gr)>>>0}if(Rt=!1,++st,++Fe>=oe&&(Fe=0,++Pe,Se!=null&&Pe<=xe&&!(Pe%16)&&Se(P,Pe),qe!=null))for(;at<st;)kt=T[at++],qe.X[(506832829*kt&4294967295)>>>qe.Mb]=kt}else if(280>kt){if(kt=Ce(kt-256,Me),gr=Ie(Et.G[4],Et.H[4],Me),ee(Me),gr=Oe(oe,gr=Ce(gr,Me)),Me.h)break;if(st-K<gr||ge-st<kt)break e;for(or=0;or<kt;++or)T[st+or]=T[st+or-gr];for(st+=kt,Fe+=kt;Fe>=oe;)Fe-=oe,++Pe,Se!=null&&Pe<=xe&&!(Pe%16)&&Se(P,Pe);if(e(st<=ge),Fe&Xe&&(Et=Qe(Ke,Fe,Pe)),qe!=null)for(;at<st;)kt=T[at++],qe.X[(506832829*kt&4294967295)>>>qe.Mb]=kt}else{if(!(kt<Ot))break e;for(Rt=kt-280,e(qe!=null);at<st;)kt=T[at++],qe.X[(506832829*kt&4294967295)>>>qe.Mb]=kt;kt=st,e(!(Rt>>>(gr=qe).Xa)),T[kt]=gr.X[Rt],Rt=!0}Rt||e(Me.h==W(Me))}if(P.Pb&&Me.h&&st<ge)e(P.m.h),P.a=5,P.m=P.wd,P.$=P.xd,0<P.s.ua&&Ae(P.s.vb,P.s.Wa);else{if(Me.h)break e;Se?.(P,Pe>xe?xe:Pe),P.a=0,P.$=st-K}return 1}return P.a=3,0}function dt(P){e(P!=null),P.vc=null,P.yc=null,P.Ya=null;var T=P.Wa;T!=null&&(T.X=null),P.vb=null,e(P!=null)}function Lt(){var P=new CF;return P==null?null:(P.a=0,P.xb=Kte,Ct("Predictor","VP8LPredictors"),Ct("Predictor","VP8LPredictors_C"),Ct("PredictorAdd","VP8LPredictorsAdd"),Ct("PredictorAdd","VP8LPredictorsAdd_C"),eS=D,ag=Y,Fl=be,il=_e,Fh=he,zp=Ee,Kp=ot,x.VP8LMapColor32b=$v,x.VP8LMapColor8b=rS,P)}function tr(P,T,K,oe,ge){var xe=1,Se=[P],Pe=[T],Fe=oe.m,Me=oe.s,Ke=null,st=0;e:for(;;){if(K)for(;xe&&z(Fe,1);){var at=Se,Ye=Pe,Ot=oe,vt=1,qe=Ot.m,Xe=Ot.gc[Ot.ab],Et=z(qe,2);if(Ot.Oc&1<<Et)xe=0;else{switch(Ot.Oc|=1<<Et,Xe.hc=Et,Xe.Ea=at[0],Xe.nc=Ye[0],Xe.K=[null],++Ot.ab,e(4>=Ot.ab),Et){case 0:case 1:Xe.b=z(qe,3)+2,vt=tr(Te(Xe.Ea,Xe.b),Te(Xe.nc,Xe.b),0,Ot,Xe.K),Xe.K=Xe.K[0];break;case 3:var Rt,kt=z(qe,8)+1,gr=16<kt?0:4<kt?1:2<kt?2:3;if(at[0]=Te(Xe.Ea,gr),Xe.b=gr,Rt=vt=tr(kt,1,0,Ot,Xe.K)){var or,Gr=kt,fr=Xe,ci=1<<(8>>fr.b),Ci=o(ci);if(Ci==null)Rt=0;else{var ti=fr.K[0],Vn=fr.w;for(Ci[0]=fr.K[0][0],or=1;or<1*Gr;++or)Ci[or]=Re(ti[Vn+or],Ci[or-1]);for(;or<4*ci;++or)Ci[or]=0;fr.K[0]=null,fr.K[0]=Ci,Rt=1}}vt=Rt;break;case 2:break;default:e(0)}xe=vt}}if(Se=Se[0],Pe=Pe[0],xe&&z(Fe,1)&&!(xe=1<=(st=z(Fe,4))&&11>=st)){oe.a=3;break e}var ji;if(ji=xe)t:{var Fi,Cn,fs,Tl=oe,ds=Se,Ll=Pe,bi=st,mc=K,gc=Tl.m,Qs=Tl.s,la=[null],sl=1,au=0,hd=MMe[bi];r:for(;;){if(mc&&z(gc,1)){var Vs=z(gc,3)+2,Jp=Te(ds,Vs),dg=Te(Ll,Vs),Kv=Jp*dg;if(!tr(Jp,dg,0,Tl,la))break r;for(la=la[0],Qs.xc=Vs,Fi=0;Fi<Kv;++Fi){var _h=la[Fi]>>8&65535;la[Fi]=_h,_h>=sl&&(sl=_h+1)}}if(gc.h)break r;for(Cn=0;5>Cn;++Cn){var Mo=Wte[Cn];!Cn&&0<bi&&(Mo+=1<<bi),au<Mo&&(au=Mo)}var IF=s(sl*hd,O),nre=sl,ire=s(nre,M);if(ire==null)var AS=null;else e(65536>=nre),AS=ire;var yb=o(au);if(AS==null||yb==null||IF==null){Tl.a=1;break r}var hS=IF;for(Fi=fs=0;Fi<sl;++Fi){var af=AS[Fi],qv=af.G,Xv=af.H,ore=0,mS=1,sre=0;for(Cn=0;5>Cn;++Cn){Mo=Wte[Cn],qv[Cn]=hS,Xv[Cn]=fs,!Cn&&0<bi&&(Mo+=1<<bi);i:{var gS,NF=Mo,vS=Tl,Bb=yb,i_e=hS,o_e=fs,FF=0,jh=vS.m,s_e=z(jh,1);if(i(Bb,0,0,NF),s_e){var a_e=z(jh,1)+1,l_e=z(jh,1),are=z(jh,l_e==0?1:8);Bb[are]=1,a_e==2&&(Bb[are=z(jh,8)]=1);var yS=1}else{var lre=o(19),cre=z(jh,4)+4;if(19<cre){vS.a=3;var BS=0;break i}for(gS=0;gS<cre;++gS)lre[LMe[gS]]=z(jh,3);var TF=void 0,Cb=void 0,ure=vS,c_e=lre,CS=NF,fre=Bb,LF=0,Uh=ure.m,dre=8,pre=s(128,O);n:for(;k(pre,0,7,c_e,19);){if(z(Uh,1)){var u_e=2+2*z(Uh,3);if((TF=2+z(Uh,u_e))>CS)break n}else TF=CS;for(Cb=0;Cb<CS&&TF--;){ee(Uh);var Are=pre[0+(127&G(Uh))];J(Uh,Uh.u+Are.g);var Yv=Are.value;if(16>Yv)fre[Cb++]=Yv,Yv!=0&&(dre=Yv);else{var f_e=Yv==16,hre=Yv-16,d_e=FMe[hre],mre=z(Uh,NMe[hre])+d_e;if(Cb+mre>CS)break n;for(var p_e=f_e?dre:0;0<mre--;)fre[Cb++]=p_e}}LF=1;break n}LF||(ure.a=3),yS=LF}(yS=yS&&!jh.h)&&(FF=k(i_e,o_e,8,Bb,NF)),yS&&FF!=0?BS=FF:(vS.a=3,BS=0)}if(BS==0)break r;if(mS&&TMe[Cn]==1&&(mS=hS[fs].g==0),ore+=hS[fs].g,fs+=BS,3>=Cn){var bb,RF=yb[0];for(bb=1;bb<Mo;++bb)yb[bb]>RF&&(RF=yb[bb]);sre+=RF}}if(af.nd=mS,af.Qb=0,mS&&(af.qb=(qv[3][Xv[3]+0].value<<24|qv[1][Xv[1]+0].value<<16|qv[2][Xv[2]+0].value)>>>0,ore==0&&256>qv[0][Xv[0]+0].value&&(af.Qb=1,af.qb+=qv[0][Xv[0]+0].value<<8)),af.jc=!af.Qb&&6>sre,af.jc){var bS,Zp=af;for(bS=0;bS<aa;++bS){var Qh=bS,Vh=Zp.pd[Qh],wS=Zp.G[0][Zp.H[0]+Qh];256<=wS.value?(Vh.g=wS.g+256,Vh.value=wS.value):(Vh.g=0,Vh.value=0,Qh>>=Le(wS,8,Vh),Qh>>=Le(Zp.G[1][Zp.H[1]+Qh],16,Vh),Qh>>=Le(Zp.G[2][Zp.H[2]+Qh],0,Vh),Le(Zp.G[3][Zp.H[3]+Qh],24,Vh))}}}Qs.vc=la,Qs.Wb=sl,Qs.Ya=AS,Qs.yc=IF,ji=1;break t}ji=0}if(!(xe=ji)){oe.a=3;break e}if(0<st){if(Me.ua=1<<st,!De(Me.Wa,st)){oe.a=1,xe=0;break e}}else Me.ua=0;var MF=oe,gre=Se,A_e=Pe,_F=MF.s,jF=_F.xc;if(MF.c=gre,MF.i=A_e,_F.md=Te(gre,jF),_F.wc=jF==0?-1:(1<<jF)-1,K){oe.xb=GMe;break e}if((Ke=o(Se*Pe))==null){oe.a=1,xe=0;break e}xe=(xe=mt(oe,Ke,0,Se,Pe,Pe,null))&&!Fe.h;break e}return xe?(ge!=null?ge[0]=Ke:(e(Ke==null),e(K)),oe.$=0,K||dt(Me)):dt(Me),xe}function ur(P,T){var K=P.c*P.i,oe=K+T+16*T;return e(P.c<=T),P.V=o(oe),P.V==null?(P.Ta=null,P.Ua=0,P.a=1,0):(P.Ta=P.V,P.Ua=P.Ba+K+T,1)}function Kt(P,T){var K=P.C,oe=T-K,ge=P.V,xe=P.Ba+P.c*K;for(e(T<=P.l.o);0<oe;){var Se=16<oe?16:oe,Pe=P.l.ma,Fe=P.l.width,Me=Fe*Se,Ke=Pe.ca,st=Pe.tb+Fe*K,at=P.Ta,Ye=P.Ua;Ge(P,Se,ge,xe),qo(at,Ye,Ke,st,Me),nt(Pe,K,K+Se,Ke,st,Fe),oe-=Se,ge+=Se*P.c,K+=Se}e(K==T),P.C=P.Ma=T}function In(){this.ub=this.yd=this.td=this.Rb=0}function on(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Ii(){this.Fb=this.Bb=this.Cb=0,this.Zb=o(4),this.Lb=o(4)}function vo(){this.Yb=function(){var P=[];return function T(K,oe,ge){for(var xe=ge[oe],Se=0;Se<xe&&(K.push(ge.length>oe+1?[]:0),!(ge.length<oe+1));Se++)T(K[Se],oe+1,ge)}(P,0,[3,11]),P}()}function Tr(){this.jb=o(3),this.Wc=a([4,8],vo),this.Xc=a([4,17],vo)}function wt(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new o(4),this.od=new o(4)}function Gt(){this.ld=this.La=this.dd=this.tc=0}function $r(){this.Na=this.la=0}function Hr(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Mr(){this.ad=o(384),this.Za=0,this.Ob=o(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function we(){this.uc=this.M=this.Nb=0,this.wa=Array(new Gt),this.Y=0,this.ya=Array(new Mr),this.aa=0,this.l=new me}function ne(){this.y=o(16),this.f=o(8),this.ea=o(8)}function ce(){this.cb=this.a=0,this.sc="",this.m=new X,this.Od=new In,this.Kc=new on,this.ed=new wt,this.Qa=new Ii,this.Ic=this.$c=this.Aa=0,this.D=new we,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=s(8,X),this.ia=0,this.pb=s(4,Hr),this.Pa=new Tr,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new ne),this.Hd=0,this.rb=Array(new $r),this.sb=0,this.wa=Array(new Gt),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Mr),this.L=this.aa=0,this.gd=a([4,2],Gt),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function me(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function ke(){var P=new ce;return P!=null&&(P.a=0,P.sc="OK",P.cb=0,P.Xb=0,gb||(gb=qt)),P}function He(P,T,K){return P.a==0&&(P.a=T,P.sc=K,P.cb=0),0}function tt(P,T,K){return 3<=K&&P[T+0]==157&&P[T+1]==1&&P[T+2]==42}function St(P,T){if(P==null)return 0;if(P.a=0,P.sc="OK",T==null)return He(P,2,"null VP8Io passed to VP8GetHeaders()");var K=T.data,oe=T.w,ge=T.ha;if(4>ge)return He(P,7,"Truncated header.");var xe=K[oe+0]|K[oe+1]<<8|K[oe+2]<<16,Se=P.Od;if(Se.Rb=!(1&xe),Se.td=xe>>1&7,Se.yd=xe>>4&1,Se.ub=xe>>5,3<Se.td)return He(P,3,"Incorrect keyframe parameters.");if(!Se.yd)return He(P,4,"Frame not displayable.");oe+=3,ge-=3;var Pe=P.Kc;if(Se.Rb){if(7>ge)return He(P,7,"cannot parse picture header");if(!tt(K,oe,ge))return He(P,3,"Bad code word");Pe.c=16383&(K[oe+4]<<8|K[oe+3]),Pe.Td=K[oe+4]>>6,Pe.i=16383&(K[oe+6]<<8|K[oe+5]),Pe.Ud=K[oe+6]>>6,oe+=7,ge-=7,P.za=Pe.c+15>>4,P.Ub=Pe.i+15>>4,T.width=Pe.c,T.height=Pe.i,T.Da=0,T.j=0,T.v=0,T.va=T.width,T.o=T.height,T.da=0,T.ib=T.width,T.hb=T.height,T.U=T.width,T.T=T.height,i((xe=P.Pa).jb,0,255,xe.jb.length),e((xe=P.Qa)!=null),xe.Cb=0,xe.Bb=0,xe.Fb=1,i(xe.Zb,0,0,xe.Zb.length),i(xe.Lb,0,0,xe.Lb)}if(Se.ub>ge)return He(P,7,"bad partition length");H(xe=P.m,K,oe,Se.ub),oe+=Se.ub,ge-=Se.ub,Se.Rb&&(Pe.Ld=Z(xe),Pe.Kd=Z(xe)),Pe=P.Qa;var Fe,Me=P.Pa;if(e(xe!=null),e(Pe!=null),Pe.Cb=Z(xe),Pe.Cb){if(Pe.Bb=Z(xe),Z(xe)){for(Pe.Fb=Z(xe),Fe=0;4>Fe;++Fe)Pe.Zb[Fe]=Z(xe)?j(xe,7):0;for(Fe=0;4>Fe;++Fe)Pe.Lb[Fe]=Z(xe)?j(xe,6):0}if(Pe.Bb)for(Fe=0;3>Fe;++Fe)Me.jb[Fe]=Z(xe)?V(xe,8):255}else Pe.Bb=0;if(xe.Ka)return He(P,3,"cannot parse segment header");if((Pe=P.ed).zd=Z(xe),Pe.Tb=V(xe,6),Pe.wb=V(xe,3),Pe.Pc=Z(xe),Pe.Pc&&Z(xe)){for(Me=0;4>Me;++Me)Z(xe)&&(Pe.vd[Me]=j(xe,6));for(Me=0;4>Me;++Me)Z(xe)&&(Pe.od[Me]=j(xe,6))}if(P.L=Pe.Tb==0?0:Pe.zd?1:2,xe.Ka)return He(P,3,"cannot parse filter header");var Ke=ge;if(ge=Fe=oe,oe=Fe+Ke,Pe=Ke,P.Xb=(1<<V(P.m,2))-1,Ke<3*(Me=P.Xb))K=7;else{for(Fe+=3*Me,Pe-=3*Me,Ke=0;Ke<Me;++Ke){var st=K[ge+0]|K[ge+1]<<8|K[ge+2]<<16;st>Pe&&(st=Pe),H(P.Jc[+Ke],K,Fe,st),Fe+=st,Pe-=st,ge+=3}H(P.Jc[+Me],K,Fe,Pe),K=Fe<oe?0:5}if(K!=0)return He(P,K,"cannot parse partitions");for(K=V(Fe=P.m,7),ge=Z(Fe)?j(Fe,4):0,oe=Z(Fe)?j(Fe,4):0,Pe=Z(Fe)?j(Fe,4):0,Me=Z(Fe)?j(Fe,4):0,Fe=Z(Fe)?j(Fe,4):0,Ke=P.Qa,st=0;4>st;++st){if(Ke.Cb){var at=Ke.Zb[st];Ke.Fb||(at+=K)}else{if(0<st){P.pb[st]=P.pb[0];continue}at=K}var Ye=P.pb[st];Ye.Sc[0]=kF[Ac(at+ge,127)],Ye.Sc[1]=OF[Ac(at+0,127)],Ye.Eb[0]=2*kF[Ac(at+oe,127)],Ye.Eb[1]=101581*OF[Ac(at+Pe,127)]>>16,8>Ye.Eb[1]&&(Ye.Eb[1]=8),Ye.Qc[0]=kF[Ac(at+Me,117)],Ye.Qc[1]=OF[Ac(at+Fe,127)],Ye.lc=at+Fe}if(!Se.Rb)return He(P,4,"Not a key frame.");for(Z(xe),Se=P.Pa,K=0;4>K;++K){for(ge=0;8>ge;++ge)for(oe=0;3>oe;++oe)for(Pe=0;11>Pe;++Pe)Me=re(xe,$Me[K][ge][oe][Pe])?V(xe,8):QMe[K][ge][oe][Pe],Se.Wc[K][ge].Yb[oe][Pe]=Me;for(ge=0;17>ge;++ge)Se.Xc[K][ge]=Se.Wc[K][HMe[ge]]}return P.kc=Z(xe),P.kc&&(P.Bd=V(xe,8)),P.cb=1}function qt(P,T,K,oe,ge,xe,Se){var Pe=T[ge].Yb[K];for(K=0;16>ge;++ge){if(!re(P,Pe[K+0]))return ge;for(;!re(P,Pe[K+1]);)if(Pe=T[++ge].Yb[0],K=0,ge==16)return 16;var Fe=T[ge+1].Yb;if(re(P,Pe[K+2])){var Me=P,Ke=0;if(re(Me,(at=Pe)[(st=K)+3]))if(re(Me,at[st+6])){for(Pe=0,st=2*(Ke=re(Me,at[st+8]))+(at=re(Me,at[st+9+Ke])),Ke=0,at=jMe[st];at[Pe];++Pe)Ke+=Ke+re(Me,at[Pe]);Ke+=3+(8<<st)}else re(Me,at[st+7])?(Ke=7+2*re(Me,165),Ke+=re(Me,145)):Ke=5+re(Me,159);else Ke=re(Me,at[st+4])?3+re(Me,at[st+5]):2;Pe=Fe[2]}else Ke=1,Pe=Fe[1];Fe=Se+UMe[ge],0>(Me=P).b&&q(Me);var st,at=Me.b,Ye=(st=Me.Ca>>1)-(Me.I>>at)>>31;--Me.b,Me.Ca+=Ye,Me.Ca|=1,Me.I-=(st+1&Ye)<<at,xe[Fe]=((Ke^Ye)-Ye)*oe[(0<ge)+0]}return 16}function rr(P){var T=P.rb[P.sb-1];T.la=0,T.Na=0,i(P.zc,0,0,P.zc.length),P.ja=0}function Rr(P,T){if(P==null)return 0;if(T==null)return He(P,2,"NULL VP8Io parameter in VP8Decode().");if(!P.cb&&!St(P,T))return 0;if(e(P.cb),T.ac==null||T.ac(T)){T.ob&&(P.L=0);var K=pS[P.L];if(P.L==2?(P.yb=0,P.zb=0):(P.yb=T.v-K>>4,P.zb=T.j-K>>4,0>P.yb&&(P.yb=0),0>P.zb&&(P.zb=0)),P.Va=T.o+15+K>>4,P.Hb=T.va+15+K>>4,P.Hb>P.za&&(P.Hb=P.za),P.Va>P.Ub&&(P.Va=P.Ub),0<P.L){var oe=P.ed;for(K=0;4>K;++K){var ge;if(P.Qa.Cb){var xe=P.Qa.Lb[K];P.Qa.Fb||(xe+=oe.Tb)}else xe=oe.Tb;for(ge=0;1>=ge;++ge){var Se=P.gd[K][ge],Pe=xe;if(oe.Pc&&(Pe+=oe.vd[0],ge&&(Pe+=oe.od[0])),0<(Pe=0>Pe?0:63<Pe?63:Pe)){var Fe=Pe;0<oe.wb&&(Fe=4<oe.wb?Fe>>2:Fe>>1)>9-oe.wb&&(Fe=9-oe.wb),1>Fe&&(Fe=1),Se.dd=Fe,Se.tc=2*Pe+Fe,Se.ld=40<=Pe?2:15<=Pe?1:0}else Se.tc=0;Se.La=ge}}}K=0}else He(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T.bc(T),K&=1}return K?(P.cb=0,K):0}function Vr(P,T,K,oe,ge){ge=P[T+K+32*oe]+(ge>>3),P[T+K+32*oe]=-256&ge?0>ge?0:255:ge}function si(P,T,K,oe,ge,xe){Vr(P,T,0,K,oe+ge),Vr(P,T,1,K,oe+xe),Vr(P,T,2,K,oe-xe),Vr(P,T,3,K,oe-ge)}function Ni(P){return(20091*P>>16)+P}function No(P,T,K,oe){var ge,xe=0,Se=o(16);for(ge=0;4>ge;++ge){var Pe=P[T+0]+P[T+8],Fe=P[T+0]-P[T+8],Me=(35468*P[T+4]>>16)-Ni(P[T+12]),Ke=Ni(P[T+4])+(35468*P[T+12]>>16);Se[xe+0]=Pe+Ke,Se[xe+1]=Fe+Me,Se[xe+2]=Fe-Me,Se[xe+3]=Pe-Ke,xe+=4,T++}for(ge=xe=0;4>ge;++ge)Pe=(P=Se[xe+0]+4)+Se[xe+8],Fe=P-Se[xe+8],Me=(35468*Se[xe+4]>>16)-Ni(Se[xe+12]),Vr(K,oe,0,0,Pe+(Ke=Ni(Se[xe+4])+(35468*Se[xe+12]>>16))),Vr(K,oe,1,0,Fe+Me),Vr(K,oe,2,0,Fe-Me),Vr(K,oe,3,0,Pe-Ke),xe++,oe+=32}function Oa(P,T,K,oe){var ge=P[T+0]+4,xe=35468*P[T+4]>>16,Se=Ni(P[T+4]),Pe=35468*P[T+1]>>16;si(K,oe,0,ge+Se,P=Ni(P[T+1]),Pe),si(K,oe,1,ge+xe,P,Pe),si(K,oe,2,ge-xe,P,Pe),si(K,oe,3,ge-Se,P,Pe)}function sa(P,T,K,oe,ge){No(P,T,K,oe),ge&&No(P,T+16,K,oe+4)}function ai(P,T,K,oe){qp(P,T+0,K,oe,1),qp(P,T+32,K,oe+128,1)}function Fo(P,T,K,oe){var ge;for(P=P[T+0]+4,ge=0;4>ge;++ge)for(T=0;4>T;++T)Vr(K,oe,T,ge,P)}function To(P,T,K,oe){P[T+0]&&ol(P,T+0,K,oe),P[T+16]&&ol(P,T+16,K,oe+4),P[T+32]&&ol(P,T+32,K,oe+128),P[T+48]&&ol(P,T+48,K,oe+128+4)}function Ol(P,T,K,oe){var ge,xe=o(16);for(ge=0;4>ge;++ge){var Se=P[T+0+ge]+P[T+12+ge],Pe=P[T+4+ge]+P[T+8+ge],Fe=P[T+4+ge]-P[T+8+ge],Me=P[T+0+ge]-P[T+12+ge];xe[0+ge]=Se+Pe,xe[8+ge]=Se-Pe,xe[4+ge]=Me+Fe,xe[12+ge]=Me-Fe}for(ge=0;4>ge;++ge)Se=(P=xe[0+4*ge]+3)+xe[3+4*ge],Pe=xe[1+4*ge]+xe[2+4*ge],Fe=xe[1+4*ge]-xe[2+4*ge],Me=P-xe[3+4*ge],K[oe+0]=Se+Pe>>3,K[oe+16]=Me+Fe>>3,K[oe+32]=Se-Pe>>3,K[oe+48]=Me-Fe>>3,oe+=64}function Pl(P,T,K){var oe,ge=T-32,xe=hc,Se=255-P[ge-1];for(oe=0;oe<K;++oe){var Pe,Fe=xe,Me=Se+P[T-1];for(Pe=0;Pe<K;++Pe)P[T+Pe]=Fe[Me+P[ge+Pe]];T+=32}}function Il(P,T){Pl(P,T,4)}function $p(P,T){Pl(P,T,8)}function Hp(P,T){Pl(P,T,16)}function js(P,T){var K;for(K=0;16>K;++K)n(P,T+32*K,P,T-32,16)}function rf(P,T){var K;for(K=16;0<K;--K)i(P,T,P[T-1],16),T+=32}function Gp(P,T,K){var oe;for(oe=0;16>oe;++oe)i(T,K+32*oe,P,16)}function nl(P,T){var K,oe=16;for(K=0;16>K;++K)oe+=P[T-1+32*K]+P[T+K-32];Gp(oe>>5,P,T)}function Lo(P,T){var K,oe=8;for(K=0;16>K;++K)oe+=P[T-1+32*K];Gp(oe>>4,P,T)}function rg(P,T){var K,oe=8;for(K=0;16>K;++K)oe+=P[T+K-32];Gp(oe>>4,P,T)}function kh(P,T){Gp(128,P,T)}function un(P,T,K){return P+2*T+K+2>>2}function dF(P,T){var K,oe=T-32;for(oe=new Uint8Array([un(P[oe-1],P[oe+0],P[oe+1]),un(P[oe+0],P[oe+1],P[oe+2]),un(P[oe+1],P[oe+2],P[oe+3]),un(P[oe+2],P[oe+3],P[oe+4])]),K=0;4>K;++K)n(P,T+32*K,oe,0,oe.length)}function pF(P,T){var K=P[T-1],oe=P[T-1+32],ge=P[T-1+64],xe=P[T-1+96];fe(P,T+0,16843009*un(P[T-1-32],K,oe)),fe(P,T+32,16843009*un(K,oe,ge)),fe(P,T+64,16843009*un(oe,ge,xe)),fe(P,T+96,16843009*un(ge,xe,xe))}function dd(P,T){var K,oe=4;for(K=0;4>K;++K)oe+=P[T+K-32]+P[T-1+32*K];for(oe>>=3,K=0;4>K;++K)i(P,T+32*K,oe,4)}function Gx(P,T){var K=P[T-1+0],oe=P[T-1+32],ge=P[T-1+64],xe=P[T-1-32],Se=P[T+0-32],Pe=P[T+1-32],Fe=P[T+2-32],Me=P[T+3-32];P[T+0+96]=un(oe,ge,P[T-1+96]),P[T+1+96]=P[T+0+64]=un(K,oe,ge),P[T+2+96]=P[T+1+64]=P[T+0+32]=un(xe,K,oe),P[T+3+96]=P[T+2+64]=P[T+1+32]=P[T+0+0]=un(Se,xe,K),P[T+3+64]=P[T+2+32]=P[T+1+0]=un(Pe,Se,xe),P[T+3+32]=P[T+2+0]=un(Fe,Pe,Se),P[T+3+0]=un(Me,Fe,Pe)}function Wx(P,T){var K=P[T+1-32],oe=P[T+2-32],ge=P[T+3-32],xe=P[T+4-32],Se=P[T+5-32],Pe=P[T+6-32],Fe=P[T+7-32];P[T+0+0]=un(P[T+0-32],K,oe),P[T+1+0]=P[T+0+32]=un(K,oe,ge),P[T+2+0]=P[T+1+32]=P[T+0+64]=un(oe,ge,xe),P[T+3+0]=P[T+2+32]=P[T+1+64]=P[T+0+96]=un(ge,xe,Se),P[T+3+32]=P[T+2+64]=P[T+1+96]=un(xe,Se,Pe),P[T+3+64]=P[T+2+96]=un(Se,Pe,Fe),P[T+3+96]=un(Pe,Fe,Fe)}function Fv(P,T){var K=P[T-1+0],oe=P[T-1+32],ge=P[T-1+64],xe=P[T-1-32],Se=P[T+0-32],Pe=P[T+1-32],Fe=P[T+2-32],Me=P[T+3-32];P[T+0+0]=P[T+1+64]=xe+Se+1>>1,P[T+1+0]=P[T+2+64]=Se+Pe+1>>1,P[T+2+0]=P[T+3+64]=Pe+Fe+1>>1,P[T+3+0]=Fe+Me+1>>1,P[T+0+96]=un(ge,oe,K),P[T+0+64]=un(oe,K,xe),P[T+0+32]=P[T+1+96]=un(K,xe,Se),P[T+1+32]=P[T+2+96]=un(xe,Se,Pe),P[T+2+32]=P[T+3+96]=un(Se,Pe,Fe),P[T+3+32]=un(Pe,Fe,Me)}function YC(P,T){var K=P[T+0-32],oe=P[T+1-32],ge=P[T+2-32],xe=P[T+3-32],Se=P[T+4-32],Pe=P[T+5-32],Fe=P[T+6-32],Me=P[T+7-32];P[T+0+0]=K+oe+1>>1,P[T+1+0]=P[T+0+64]=oe+ge+1>>1,P[T+2+0]=P[T+1+64]=ge+xe+1>>1,P[T+3+0]=P[T+2+64]=xe+Se+1>>1,P[T+0+32]=un(K,oe,ge),P[T+1+32]=P[T+0+96]=un(oe,ge,xe),P[T+2+32]=P[T+1+96]=un(ge,xe,Se),P[T+3+32]=P[T+2+96]=un(xe,Se,Pe),P[T+3+64]=un(Se,Pe,Fe),P[T+3+96]=un(Pe,Fe,Me)}function AF(P,T){var K=P[T-1+0],oe=P[T-1+32],ge=P[T-1+64],xe=P[T-1+96];P[T+0+0]=K+oe+1>>1,P[T+2+0]=P[T+0+32]=oe+ge+1>>1,P[T+2+32]=P[T+0+64]=ge+xe+1>>1,P[T+1+0]=un(K,oe,ge),P[T+3+0]=P[T+1+32]=un(oe,ge,xe),P[T+3+32]=P[T+1+64]=un(ge,xe,xe),P[T+3+64]=P[T+2+64]=P[T+0+96]=P[T+1+96]=P[T+2+96]=P[T+3+96]=xe}function hF(P,T){var K=P[T-1+0],oe=P[T-1+32],ge=P[T-1+64],xe=P[T-1+96],Se=P[T-1-32],Pe=P[T+0-32],Fe=P[T+1-32],Me=P[T+2-32];P[T+0+0]=P[T+2+32]=K+Se+1>>1,P[T+0+32]=P[T+2+64]=oe+K+1>>1,P[T+0+64]=P[T+2+96]=ge+oe+1>>1,P[T+0+96]=xe+ge+1>>1,P[T+3+0]=un(Pe,Fe,Me),P[T+2+0]=un(Se,Pe,Fe),P[T+1+0]=P[T+3+32]=un(K,Se,Pe),P[T+1+32]=P[T+3+64]=un(oe,K,Se),P[T+1+64]=P[T+3+96]=un(ge,oe,K),P[T+1+96]=un(xe,ge,oe)}function mF(P,T){var K;for(K=0;8>K;++K)n(P,T+32*K,P,T-32,8)}function JC(P,T){var K;for(K=0;8>K;++K)i(P,T,P[T-1],8),T+=32}function ng(P,T,K){var oe;for(oe=0;8>oe;++oe)i(T,K+32*oe,P,8)}function Oh(P,T){var K,oe=8;for(K=0;8>K;++K)oe+=P[T+K-32]+P[T-1+32*K];ng(oe>>4,P,T)}function gF(P,T){var K,oe=4;for(K=0;8>K;++K)oe+=P[T+K-32];ng(oe>>3,P,T)}function ig(P,T){var K,oe=4;for(K=0;8>K;++K)oe+=P[T-1+32*K];ng(oe>>3,P,T)}function ZC(P,T){ng(128,P,T)}function Tv(P,T,K){var oe=P[T-K],ge=P[T+0],xe=3*(ge-oe)+wF[1020+P[T-2*K]-P[T+K]],Se=oS[112+(xe+4>>3)];P[T-K]=hc[255+oe+oS[112+(xe+3>>3)]],P[T+0]=hc[255+ge-Se]}function zx(P,T,K,oe){var ge=P[T+0],xe=P[T+K];return ou[255+P[T-2*K]-P[T-K]]>oe||ou[255+xe-ge]>oe}function Kx(P,T,K,oe){return 4*ou[255+P[T-K]-P[T+0]]+ou[255+P[T-2*K]-P[T+K]]<=oe}function qx(P,T,K,oe,ge){var xe=P[T-3*K],Se=P[T-2*K],Pe=P[T-K],Fe=P[T+0],Me=P[T+K],Ke=P[T+2*K],st=P[T+3*K];return 4*ou[255+Pe-Fe]+ou[255+Se-Me]>oe?0:ou[255+P[T-4*K]-xe]<=ge&&ou[255+xe-Se]<=ge&&ou[255+Se-Pe]<=ge&&ou[255+st-Ke]<=ge&&ou[255+Ke-Me]<=ge&&ou[255+Me-Fe]<=ge}function Xx(P,T,K,oe){var ge=2*oe+1;for(oe=0;16>oe;++oe)Kx(P,T+oe,K,ge)&&Tv(P,T+oe,K)}function pd(P,T,K,oe){var ge=2*oe+1;for(oe=0;16>oe;++oe)Kx(P,T+oe*K,1,ge)&&Tv(P,T+oe*K,1)}function Wp(P,T,K,oe){var ge;for(ge=3;0<ge;--ge)Xx(P,T+=4*K,K,oe)}function vF(P,T,K,oe){var ge;for(ge=3;0<ge;--ge)pd(P,T+=4,K,oe)}function Ph(P,T,K,oe,ge,xe,Se,Pe){for(xe=2*xe+1;0<ge--;){if(qx(P,T,K,xe,Se))if(zx(P,T,K,Pe))Tv(P,T,K);else{var Fe=P,Me=T,Ke=K,st=Fe[Me-2*Ke],at=Fe[Me-Ke],Ye=Fe[Me+0],Ot=Fe[Me+Ke],vt=Fe[Me+2*Ke],qe=27*(Et=wF[1020+3*(Ye-at)+wF[1020+st-Ot]])+63>>7,Xe=18*Et+63>>7,Et=9*Et+63>>7;Fe[Me-3*Ke]=hc[255+Fe[Me-3*Ke]+Et],Fe[Me-2*Ke]=hc[255+st+Xe],Fe[Me-Ke]=hc[255+at+qe],Fe[Me+0]=hc[255+Ye-qe],Fe[Me+Ke]=hc[255+Ot-Xe],Fe[Me+2*Ke]=hc[255+vt-Et]}T+=oe}}function nf(P,T,K,oe,ge,xe,Se,Pe){for(xe=2*xe+1;0<ge--;){if(qx(P,T,K,xe,Se))if(zx(P,T,K,Pe))Tv(P,T,K);else{var Fe=P,Me=T,Ke=K,st=Fe[Me-Ke],at=Fe[Me+0],Ye=Fe[Me+Ke],Ot=oS[112+((vt=3*(at-st))+4>>3)],vt=oS[112+(vt+3>>3)],qe=Ot+1>>1;Fe[Me-2*Ke]=hc[255+Fe[Me-2*Ke]+qe],Fe[Me-Ke]=hc[255+st+vt],Fe[Me+0]=hc[255+at-Ot],Fe[Me+Ke]=hc[255+Ye-qe]}T+=oe}}function eb(P,T,K,oe,ge,xe){Ph(P,T,K,1,16,oe,ge,xe)}function og(P,T,K,oe,ge,xe){Ph(P,T,1,K,16,oe,ge,xe)}function yF(P,T,K,oe,ge,xe){var Se;for(Se=3;0<Se;--Se)nf(P,T+=4*K,K,1,16,oe,ge,xe)}function Lv(P,T,K,oe,ge,xe){var Se;for(Se=3;0<Se;--Se)nf(P,T+=4,1,K,16,oe,ge,xe)}function BF(P,T,K,oe,ge,xe,Se,Pe){Ph(P,T,ge,1,8,xe,Se,Pe),Ph(K,oe,ge,1,8,xe,Se,Pe)}function tb(P,T,K,oe,ge,xe,Se,Pe){Ph(P,T,1,ge,8,xe,Se,Pe),Ph(K,oe,1,ge,8,xe,Se,Pe)}function rb(P,T,K,oe,ge,xe,Se,Pe){nf(P,T+4*ge,ge,1,8,xe,Se,Pe),nf(K,oe+4*ge,ge,1,8,xe,Se,Pe)}function Yx(P,T,K,oe,ge,xe,Se,Pe){nf(P,T+4,1,ge,8,xe,Se,Pe),nf(K,oe+4,1,ge,8,xe,Se,Pe)}function Rv(){this.ba=new yr,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new Jt,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function nb(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function ib(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function Jx(){this.ua=0,this.Wa=new ue,this.vb=new ue,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new M,this.yc=new O}function CF(){this.xb=this.a=0,this.l=new me,this.ca=new yr,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new _,this.Pb=0,this.wd=new _,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new Jx,this.ab=0,this.gc=s(4,ib),this.Oc=0}function Mv(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new me,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function sg(P,T,K,oe,ge,xe,Se){for(P=P==null?0:P[T+0],T=0;T<Se;++T)ge[xe+T]=P+K[oe+T]&255,P=ge[xe+T]}function ob(P,T,K,oe,ge,xe,Se){var Pe;if(P==null)sg(null,null,K,oe,ge,xe,Se);else for(Pe=0;Pe<Se;++Pe)ge[xe+Pe]=P[T+Pe]+K[oe+Pe]&255}function Ih(P,T,K,oe,ge,xe,Se){if(P==null)sg(null,null,K,oe,ge,xe,Se);else{var Pe,Fe=P[T+0],Me=Fe,Ke=Fe;for(Pe=0;Pe<Se;++Pe)Me=Ke+(Fe=P[T+Pe])-Me,Ke=K[oe+Pe]+(-256&Me?0>Me?0:255:Me)&255,Me=Fe,ge[xe+Pe]=Ke}}function sb(P,T,K,oe){var ge=T.width,xe=T.o;if(e(P!=null&&T!=null),0>K||0>=oe||K+oe>xe)return null;if(!P.Cc){if(P.ga==null){var Se;if(P.ga=new Mv,(Se=P.ga==null)||(Se=T.width*T.o,e(P.Gb.length==0),P.Gb=o(Se),P.Uc=0,P.Gb==null?Se=0:(P.mb=P.Gb,P.nb=P.Uc,P.rc=null,Se=1),Se=!Se),!Se){Se=P.ga;var Pe=P.Fa,Fe=P.P,Me=P.qc,Ke=P.mb,st=P.nb,at=Fe+1,Ye=Me-1,Ot=Se.l;if(e(Pe!=null&&Ke!=null&&T!=null),Mh[0]=null,Mh[1]=sg,Mh[2]=ob,Mh[3]=Ih,Se.ca=Ke,Se.tb=st,Se.c=T.width,Se.i=T.height,e(0<Se.c&&0<Se.i),1>=Me)T=0;else if(Se.$a=Pe[Fe+0]>>0&3,Se.Z=Pe[Fe+0]>>2&3,Se.Lc=Pe[Fe+0]>>4&3,Fe=Pe[Fe+0]>>6&3,0>Se.$a||1<Se.$a||4<=Se.Z||1<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ye*T,Rt=st.wc,kt=qe<Et?Qe(st,Me,Fe):null;e(qe<=Xe),e(T<=vt),e(yt(st));t:for(;;){for(;!Ke.h&&qe<Et;){if(Me&Rt||(kt=Qe(st,Me,Fe)),e(kt!=null),ee(Ke),256>(vt=Ie(kt.G[0],kt.H[0],Ke)))Pe[at+qe]=vt,++qe,++Me>=Ye&&(Me=0,++Fe<=T&&!(Fe%16)&&Ft(Se,Fe));else{if(!(280>vt)){Ot=0;break t}vt=Ce(vt-256,Ke);var gr,or=Ie(kt.G[4],kt.H[4],Ke);if(ee(Ke),!(qe>=(or=Oe(Ye,or=Ce(or,Ke)))&&Xe-qe>=vt)){Ot=0;break t}for(gr=0;gr<vt;++gr)Pe[at+qe+gr]=Pe[at+qe+gr-or];for(qe+=vt,Me+=vt;Me>=Ye;)Me-=Ye,++Fe<=T&&!(Fe%16)&&Ft(Se,Fe);qe<Et&&Me&Rt&&(kt=Qe(st,Me,Fe))}e(Ke.h==W(Ke))}Ft(Se,Fe>T?T:Fe);break t}!Ot||Ke.h&&qe<Xe?(Ot=0,Se.a=Ke.h?5:3):Se.$=qe,T=Ot}else T=mt(Se,Se.V,Se.Ba,Se.c,Se.i,T,Kt);if(!T){oe=0;break e}}K+oe>=xe&&(P.Cc=1),oe=1}if(!oe)return null;if(P.Cc&&((oe=P.ga)!=null&&(oe.mc=null),P.ga=null,0<P.Ga))return alert("todo:WebPDequantizeLevels"),null}return P.nb+K*ge}function $(P,T,K,oe,ge,xe){for(;0<ge--;){var Se,Pe=P,Fe=T+(K?1:0),Me=P,Ke=T+(K?0:3);for(Se=0;Se<oe;++Se){var st=Me[Ke+4*Se];st!=255&&(st*=32897,Pe[Fe+4*Se+0]=Pe[Fe+4*Se+0]*st>>23,Pe[Fe+4*Se+1]=Pe[Fe+4*Se+1]*st>>23,Pe[Fe+4*Se+2]=Pe[Fe+4*Se+2]*st>>23)}T+=xe}}function ye(P,T,K,oe,ge){for(;0<oe--;){var xe;for(xe=0;xe<K;++xe){var Se=P[T+2*xe+0],Pe=15&(Me=P[T+2*xe+1]),Fe=4369*Pe,Me=(240&Me|Me>>4)*Fe>>16;P[T+2*xe+0]=(240&Se|Se>>4)*Fe>>16&240|(15&Se|Se<<4)*Fe>>16>>4&15,P[T+2*xe+1]=240&Me|Pe}T+=ge}}function Ue(P,T,K,oe,ge,xe,Se,Pe){var Fe,Me,Ke=255;for(Me=0;Me<ge;++Me){for(Fe=0;Fe<oe;++Fe){var st=P[T+Fe];xe[Se+4*Fe]=st,Ke&=st}T+=K,Se+=Pe}return Ke!=255}function We(P,T,K,oe,ge){var xe;for(xe=0;xe<ge;++xe)K[oe+xe]=P[T+xe]>>8}function rt(){iu=$,Ki=ye,qi=Ue,qo=We}function bt(P,T,K){x[P]=function(oe,ge,xe,Se,Pe,Fe,Me,Ke,st,at,Ye,Ot,vt,qe,Xe,Et,Rt){var kt,gr=Rt-1>>1,or=Pe[Fe+0]|Me[Ke+0]<<16,Gr=st[at+0]|Ye[Ot+0]<<16;e(oe!=null);var fr=3*or+Gr+131074>>2;for(T(oe[ge+0],255&fr,fr>>16,vt,qe),xe!=null&&(fr=3*Gr+or+131074>>2,T(xe[Se+0],255&fr,fr>>16,Xe,Et)),kt=1;kt<=gr;++kt){var ci=Pe[Fe+kt]|Me[Ke+kt]<<16,Ci=st[at+kt]|Ye[Ot+kt]<<16,ti=or+ci+Gr+Ci+524296,Vn=ti+2*(ci+Gr)>>3;fr=Vn+or>>1,or=(ti=ti+2*(or+Ci)>>3)+ci>>1,T(oe[ge+2*kt-1],255&fr,fr>>16,vt,qe+(2*kt-1)*K),T(oe[ge+2*kt-0],255&or,or>>16,vt,qe+(2*kt-0)*K),xe!=null&&(fr=ti+Gr>>1,or=Vn+Ci>>1,T(xe[Se+2*kt-1],255&fr,fr>>16,Xe,Et+(2*kt-1)*K),T(xe[Se+2*kt+0],255&or,or>>16,Xe,Et+(2*kt+0)*K)),or=ci,Gr=Ci}1&Rt||(fr=3*or+Gr+131074>>2,T(oe[ge+Rt-1],255&fr,fr>>16,vt,qe+(Rt-1)*K),xe!=null&&(fr=3*Gr+or+131074>>2,T(xe[Se+Rt-1],255&fr,fr>>16,Xe,Et+(Rt-1)*K)))}}function jt(){su[sS]=WMe,su[aS]=qte,su[Hte]=zMe,su[lS]=Xte,su[cS]=Yte,su[xF]=Jte,su[Gte]=KMe,su[SF]=qte,su[EF]=Xte,su[uS]=Yte,su[DF]=Jte}function hr(P){return P&~qMe?0>P?0:255:P>>Zte}function Ur(P,T){return hr((19077*P>>8)+(26149*T>>8)-14234)}function gn(P,T,K){return hr((19077*P>>8)-(6419*T>>8)-(13320*K>>8)+8708)}function An(P,T){return hr((19077*P>>8)+(33050*T>>8)-17685)}function Zn(P,T,K,oe,ge){oe[ge+0]=Ur(P,K),oe[ge+1]=gn(P,T,K),oe[ge+2]=An(P,T)}function xo(P,T,K,oe,ge){oe[ge+0]=An(P,T),oe[ge+1]=gn(P,T,K),oe[ge+2]=Ur(P,K)}function Ro(P,T,K,oe,ge){var xe=gn(P,T,K);T=xe<<3&224|An(P,T)>>3,oe[ge+0]=248&Ur(P,K)|xe>>5,oe[ge+1]=T}function us(P,T,K,oe,ge){var xe=240&An(P,T)|15;oe[ge+0]=240&Ur(P,K)|gn(P,T,K)>>4,oe[ge+1]=xe}function Pa(P,T,K,oe,ge){oe[ge+0]=255,Zn(P,T,K,oe,ge+1)}function Us(P,T,K,oe,ge){xo(P,T,K,oe,ge),oe[ge+3]=255}function of(P,T,K,oe,ge){Zn(P,T,K,oe,ge),oe[ge+3]=255}function Ac(P,T){return 0>P?0:P>T?T:P}function Ad(P,T,K){x[P]=function(oe,ge,xe,Se,Pe,Fe,Me,Ke,st){for(var at=Ke+(-2&st)*K;Ke!=at;)T(oe[ge+0],xe[Se+0],Pe[Fe+0],Me,Ke),T(oe[ge+1],xe[Se+0],Pe[Fe+0],Me,Ke+K),ge+=2,++Se,++Fe,Ke+=2*K;1&st&&T(oe[ge+0],xe[Se+0],Pe[Fe+0],Me,Ke)}}function Zx(P,T,K){return K==0?P==0?T==0?6:5:T==0?4:0:K}function ab(P,T,K,oe,ge){switch(P>>>30){case 3:qp(T,K,oe,ge,0);break;case 2:Ko(T,K,oe,ge);break;case 1:ol(T,K,oe,ge)}}function lb(P,T){var K,oe,ge=T.M,xe=T.Nb,Se=P.oc,Pe=P.pc+40,Fe=P.oc,Me=P.pc+584,Ke=P.oc,st=P.pc+600;for(K=0;16>K;++K)Se[Pe+32*K-1]=129;for(K=0;8>K;++K)Fe[Me+32*K-1]=129,Ke[st+32*K-1]=129;for(0<ge?Se[Pe-1-32]=Fe[Me-1-32]=Ke[st-1-32]=129:(i(Se,Pe-32-1,127,21),i(Fe,Me-32-1,127,9),i(Ke,st-32-1,127,9)),oe=0;oe<P.za;++oe){var at=T.ya[T.aa+oe];if(0<oe){for(K=-1;16>K;++K)n(Se,Pe+32*K-4,Se,Pe+32*K+12,4);for(K=-1;8>K;++K)n(Fe,Me+32*K-4,Fe,Me+32*K+4,4),n(Ke,st+32*K-4,Ke,st+32*K+4,4)}var Ye=P.Gd,Ot=P.Hd+oe,vt=at.ad,qe=at.Hc;if(0<ge&&(n(Se,Pe-32,Ye[Ot].y,0,16),n(Fe,Me-32,Ye[Ot].f,0,8),n(Ke,st-32,Ye[Ot].ea,0,8)),at.Za){var Xe=Se,Et=Pe-32+16;for(0<ge&&(oe>=P.za-1?i(Xe,Et,Ye[Ot].y[15],4):n(Xe,Et,Ye[Ot+1].y,0,4)),K=0;4>K;K++)Xe[Et+128+K]=Xe[Et+256+K]=Xe[Et+384+K]=Xe[Et+0+K];for(K=0;16>K;++K,qe<<=2)Xe=Se,Et=Pe+tre[K],sf[at.Ob[K]](Xe,Et),ab(qe,vt,16*+K,Xe,Et)}else if(Xe=Zx(oe,ge,at.Ob[0]),Rh[Xe](Se,Pe),qe!=0)for(K=0;16>K;++K,qe<<=2)ab(qe,vt,16*+K,Se,Pe+tre[K]);for(K=at.Gc,Xe=Zx(oe,ge,at.Dd),Yp[Xe](Fe,Me),Yp[Xe](Ke,st),qe=vt,Xe=Fe,Et=Me,255&(at=K>>0)&&(170&at?pb(qe,256,Xe,Et):ru(qe,256,Xe,Et)),at=Ke,qe=st,255&(K>>=8)&&(170&K?pb(vt,320,at,qe):ru(vt,320,at,qe)),ge<P.Ub-1&&(n(Ye[Ot].y,0,Se,Pe+480,16),n(Ye[Ot].f,0,Fe,Me+224,8),n(Ye[Ot].ea,0,Ke,st+224,8)),K=8*xe*P.B,Ye=P.sa,Ot=P.ta+16*oe+16*xe*P.R,vt=P.qa,at=P.ra+8*oe+K,qe=P.Ha,Xe=P.Ia+8*oe+K,K=0;16>K;++K)n(Ye,Ot+K*P.R,Se,Pe+32*K,16);for(K=0;8>K;++K)n(vt,at+K*P.B,Fe,Me+32*K,8),n(qe,Xe+K*P.B,Ke,st+32*K,8)}}function _v(P,T,K,oe,ge,xe,Se,Pe,Fe){var Me=[0],Ke=[0],st=0,at=Fe!=null?Fe.kd:0,Ye=Fe??new nb;if(P==null||12>K)return 7;Ye.data=P,Ye.w=T,Ye.ha=K,T=[T],K=[K],Ye.gb=[Ye.gb];e:{var Ot=T,vt=K,qe=Ye.gb;if(e(P!=null),e(vt!=null),e(qe!=null),qe[0]=0,12<=vt[0]&&!r(P,Ot[0],"RIFF")){if(r(P,Ot[0]+8,"WEBP")){qe=3;break e}var Xe=le(P,Ot[0]+4);if(12>Xe||4294967286<Xe){qe=3;break e}if(at&&Xe>vt[0]-8){qe=7;break e}qe[0]=Xe,Ot[0]+=12,vt[0]-=12}qe=0}if(qe!=0)return qe;for(Xe=0<Ye.gb[0],K=K[0];;){e:{var Et=P;vt=T,qe=K;var Rt=Me,kt=Ke,gr=Ot=[0];if((fr=st=[st])[0]=0,8>qe[0])qe=7;else{if(!r(Et,vt[0],"VP8X")){if(le(Et,vt[0]+4)!=10){qe=3;break e}if(18>qe[0]){qe=7;break e}var or=le(Et,vt[0]+8),Gr=1+ie(Et,vt[0]+12);if(2147483648<=Gr*(Et=1+ie(Et,vt[0]+15))){qe=3;break e}gr!=null&&(gr[0]=or),Rt!=null&&(Rt[0]=Gr),kt!=null&&(kt[0]=Et),vt[0]+=18,qe[0]-=18,fr[0]=1}qe=0}}if(st=st[0],Ot=Ot[0],qe!=0)return qe;if(vt=!!(2&Ot),!Xe&&st)return 3;if(xe!=null&&(xe[0]=!!(16&Ot)),Se!=null&&(Se[0]=vt),Pe!=null&&(Pe[0]=0),Se=Me[0],Ot=Ke[0],st&&vt&&Fe==null){qe=0;break}if(4>K){qe=7;break}if(Xe&&st||!Xe&&!st&&!r(P,T[0],"ALPH")){K=[K],Ye.na=[Ye.na],Ye.P=[Ye.P],Ye.Sa=[Ye.Sa];e:{or=P,qe=T,Xe=K;var fr=Ye.gb;Rt=Ye.na,kt=Ye.P,gr=Ye.Sa,Gr=22,e(or!=null),e(Xe!=null),Et=qe[0];var ci=Xe[0];for(e(Rt!=null),e(gr!=null),Rt[0]=null,kt[0]=null,gr[0]=0;;){if(qe[0]=Et,Xe[0]=ci,8>ci){qe=7;break e}var Ci=le(or,Et+4);if(4294967286<Ci){qe=3;break e}var ti=8+Ci+1&-2;if(Gr+=ti,0<fr&&Gr>fr){qe=3;break e}if(!r(or,Et,"VP8 ")||!r(or,Et,"VP8L")){qe=0;break e}if(ci[0]<ti){qe=7;break e}r(or,Et,"ALPH")||(Rt[0]=or,kt[0]=Et+8,gr[0]=Ci),Et+=ti,ci-=ti}}if(K=K[0],Ye.na=Ye.na[0],Ye.P=Ye.P[0],Ye.Sa=Ye.Sa[0],qe!=0)break}K=[K],Ye.Ja=[Ye.Ja],Ye.xa=[Ye.xa];e:if(fr=P,qe=T,Xe=K,Rt=Ye.gb[0],kt=Ye.Ja,gr=Ye.xa,or=qe[0],Et=!r(fr,or,"VP8 "),Gr=!r(fr,or,"VP8L"),e(fr!=null),e(Xe!=null),e(kt!=null),e(gr!=null),8>Xe[0])qe=7;else{if(Et||Gr){if(fr=le(fr,or+4),12<=Rt&&fr>Rt-12){qe=3;break e}if(at&&fr>Xe[0]-8){qe=7;break e}kt[0]=fr,qe[0]+=8,Xe[0]-=8,gr[0]=Gr}else gr[0]=5<=Xe[0]&&fr[or+0]==47&&!(fr[or+4]>>5),kt[0]=Xe[0];qe=0}if(K=K[0],Ye.Ja=Ye.Ja[0],Ye.xa=Ye.xa[0],T=T[0],qe!=0)break;if(4294967286<Ye.Ja)return 3;if(Pe==null||vt||(Pe[0]=Ye.xa?2:1),Se=[Se],Ot=[Ot],Ye.xa){if(5>K){qe=7;break}Pe=Se,at=Ot,vt=xe,P==null||5>K?P=0:5<=K&&P[T+0]==47&&!(P[T+4]>>5)?(Xe=[0],fr=[0],Rt=[0],R(kt=new _,P,T,K),ae(kt,Xe,fr,Rt)?(Pe!=null&&(Pe[0]=Xe[0]),at!=null&&(at[0]=fr[0]),vt!=null&&(vt[0]=Rt[0]),P=1):P=0):P=0}else{if(10>K){qe=7;break}Pe=Ot,P==null||10>K||!tt(P,T+3,K-3)?P=0:(at=P[T+0]|P[T+1]<<8|P[T+2]<<16,vt=16383&(P[T+7]<<8|P[T+6]),P=16383&(P[T+9]<<8|P[T+8]),1&at||3<(at>>1&7)||!(at>>4&1)||at>>5>=Ye.Ja||!vt||!P?P=0:(Se&&(Se[0]=vt),Pe&&(Pe[0]=P),P=1))}if(!P||(Se=Se[0],Ot=Ot[0],st&&(Me[0]!=Se||Ke[0]!=Ot)))return 3;Fe!=null&&(Fe[0]=Ye,Fe.offset=T-Fe.w,e(4294967286>T-Fe.w),e(Fe.offset==Fe.ha-K));break}return qe==0||qe==7&&st&&Fe==null?(xe!=null&&(xe[0]|=Ye.na!=null&&0<Ye.na.length),oe!=null&&(oe[0]=Se),ge!=null&&(ge[0]=Ot),0):qe}function cb(P,T,K){var oe=T.width,ge=T.height,xe=0,Se=0,Pe=oe,Fe=ge;if(T.Da=P!=null&&0<P.Da,T.Da&&(Pe=P.cd,Fe=P.bd,xe=P.v,Se=P.j,11>K||(xe&=-2,Se&=-2),0>xe||0>Se||0>=Pe||0>=Fe||xe+Pe>oe||Se+Fe>ge))return 0;if(T.v=xe,T.j=Se,T.va=xe+Pe,T.o=Se+Fe,T.U=Pe,T.T=Fe,T.da=P!=null&&0<P.da,T.da){if(!Ne(Pe,Fe,K=[P.ib],xe=[P.hb]))return 0;T.ib=K[0],T.hb=xe[0]}return T.ob=P!=null&&P.ob,T.Kb=P==null||!P.Sd,T.da&&(T.ob=T.ib<3*oe/4&&T.hb<3*ge/4,T.Kb=0),1}function ub(P){if(P==null)return 2;if(11>P.S){var T=P.f.RGBA;T.fb+=(P.height-1)*T.A,T.A=-T.A}else T=P.f.kb,P=P.height,T.O+=(P-1)*T.fa,T.fa=-T.fa,T.N+=(P-1>>1)*T.Ab,T.Ab=-T.Ab,T.W+=(P-1>>1)*T.Db,T.Db=-T.Db,T.F!=null&&(T.J+=(P-1)*T.lb,T.lb=-T.lb);return 0}function jv(P,T,K,oe){if(oe==null||0>=P||0>=T)return 2;if(K!=null){if(K.Da){var ge=K.cd,xe=K.bd,Se=-2&K.v,Pe=-2&K.j;if(0>Se||0>Pe||0>=ge||0>=xe||Se+ge>P||Pe+xe>T)return 2;P=ge,T=xe}if(K.da){if(!Ne(P,T,ge=[K.ib],xe=[K.hb]))return 2;P=ge[0],T=xe[0]}}oe.width=P,oe.height=T;e:{var Fe=oe.width,Me=oe.height;if(P=oe.S,0>=Fe||0>=Me||!(P>=sS&&13>P))P=2;else{if(0>=oe.Rd&&oe.sd==null){Se=xe=ge=T=0;var Ke=(Pe=Fe*rre[P])*Me;if(11>P||(xe=(Me+1)/2*(T=(Fe+1)/2),P==12&&(Se=(ge=Fe)*Me)),(Me=o(Ke+2*xe+Se))==null){P=1;break e}oe.sd=Me,11>P?((Fe=oe.f.RGBA).eb=Me,Fe.fb=0,Fe.A=Pe,Fe.size=Ke):((Fe=oe.f.kb).y=Me,Fe.O=0,Fe.fa=Pe,Fe.Fd=Ke,Fe.f=Me,Fe.N=0+Ke,Fe.Ab=T,Fe.Cd=xe,Fe.ea=Me,Fe.W=0+Ke+xe,Fe.Db=T,Fe.Ed=xe,P==12&&(Fe.F=Me,Fe.J=0+Ke+2*xe),Fe.Tc=Se,Fe.lb=ge)}if(T=1,ge=oe.S,xe=oe.width,Se=oe.height,ge>=sS&&13>ge)if(11>ge)P=oe.f.RGBA,T&=(Pe=Math.abs(P.A))*(Se-1)+xe<=P.size,T&=Pe>=xe*rre[ge],T&=P.eb!=null;else{P=oe.f.kb,Pe=(xe+1)/2,Ke=(Se+1)/2,Fe=Math.abs(P.fa),Me=Math.abs(P.Ab);var st=Math.abs(P.Db),at=Math.abs(P.lb),Ye=at*(Se-1)+xe;T&=Fe*(Se-1)+xe<=P.Fd,T&=Me*(Ke-1)+Pe<=P.Cd,T=(T&=st*(Ke-1)+Pe<=P.Ed)&Fe>=xe&Me>=Pe&st>=Pe,T&=P.y!=null,T&=P.f!=null,T&=P.ea!=null,ge==12&&(T&=at>=xe,T&=Ye<=P.Tc,T&=P.F!=null)}else T=0;P=T?0:2}}return P!=0||K!=null&&K.fd&&(P=ub(oe)),P}var aa=64,Uv=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Qv=24,Vv=32,fb=8,Nl=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];je("Predictor0","PredictorAdd0"),x.Predictor0=function(){return 4278190080},x.Predictor1=function(P){return P},x.Predictor2=function(P,T,K){return T[K+0]},x.Predictor3=function(P,T,K){return T[K+1]},x.Predictor4=function(P,T,K){return T[K-1]},x.Predictor5=function(P,T,K){return ze(ze(P,T[K+1]),T[K+0])},x.Predictor6=function(P,T,K){return ze(P,T[K-1])},x.Predictor7=function(P,T,K){return ze(P,T[K+0])},x.Predictor8=function(P,T,K){return ze(T[K-1],T[K+0])},x.Predictor9=function(P,T,K){return ze(T[K+0],T[K+1])},x.Predictor10=function(P,T,K){return ze(ze(P,T[K-1]),ze(T[K+0],T[K+1]))},x.Predictor11=function(P,T,K){var oe=T[K+0];return 0>=_t(oe>>24&255,P>>24&255,(T=T[K-1])>>24&255)+_t(oe>>16&255,P>>16&255,T>>16&255)+_t(oe>>8&255,P>>8&255,T>>8&255)+_t(255&oe,255&P,255&T)?oe:P},x.Predictor12=function(P,T,K){var oe=T[K+0];return(lt((P>>24&255)+(oe>>24&255)-((T=T[K-1])>>24&255))<<24|lt((P>>16&255)+(oe>>16&255)-(T>>16&255))<<16|lt((P>>8&255)+(oe>>8&255)-(T>>8&255))<<8|lt((255&P)+(255&oe)-(255&T)))>>>0},x.Predictor13=function(P,T,K){var oe=T[K-1];return(gt((P=ze(P,T[K+0]))>>24&255,oe>>24&255)<<24|gt(P>>16&255,oe>>16&255)<<16|gt(P>>8&255,oe>>8&255)<<8|gt(P>>0&255,oe>>0&255))>>>0};var bF=x.PredictorAdd0;x.PredictorAdd1=U,je("Predictor2","PredictorAdd2"),je("Predictor3","PredictorAdd3"),je("Predictor4","PredictorAdd4"),je("Predictor5","PredictorAdd5"),je("Predictor6","PredictorAdd6"),je("Predictor7","PredictorAdd7"),je("Predictor8","PredictorAdd8"),je("Predictor9","PredictorAdd9"),je("Predictor10","PredictorAdd10"),je("Predictor11","PredictorAdd11"),je("Predictor12","PredictorAdd12"),je("Predictor13","PredictorAdd13");var db=x.PredictorAdd2;pe("ColorIndexInverseTransform","MapARGB","32b",function(P){return P>>8&255},function(P){return P}),pe("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(P){return P},function(P){return P>>8&255});var eS,tu=x.ColorIndexInverseTransform,$v=x.MapARGB,tS=x.VP8LColorIndexInverseTransformAlpha,rS=x.MapAlpha,Nh=x.VP8LPredictorsAdd=[];Nh.length=16,(x.VP8LPredictors=[]).length=16,(x.VP8LPredictorsAdd_C=[]).length=16,(x.VP8LPredictors_C=[]).length=16;var ag,Fl,il,Fh,zp,Kp,Hv,qp,Ko,pb,ol,ru,Gv,nS,Ab,lg,cg,Th,ug,Wv,fg,Lh,hb,nu,iu,Ki,qi,qo,Ss=o(511),Xp=o(2041),mb=o(225),zv=o(767),iS=0,wF=Xp,oS=mb,hc=zv,ou=Ss,sS=0,aS=1,Hte=2,lS=3,cS=4,xF=5,Gte=6,SF=7,EF=8,uS=9,DF=10,NMe=[2,3,7],FMe=[3,3,11],Wte=[280,256,256,256,40],TMe=[0,1,1,1,0],LMe=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],RMe=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],MMe=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],_Me=8,kF=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],OF=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],gb=null,jMe=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],UMe=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],zte=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],QMe=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],VMe=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],$Me=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],HMe=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Rh=[],sf=[],Yp=[],GMe=1,Kte=2,Mh=[],su=[];bt("UpsampleRgbLinePair",Zn,3),bt("UpsampleBgrLinePair",xo,3),bt("UpsampleRgbaLinePair",of,4),bt("UpsampleBgraLinePair",Us,4),bt("UpsampleArgbLinePair",Pa,4),bt("UpsampleRgba4444LinePair",us,2),bt("UpsampleRgb565LinePair",Ro,2);var WMe=x.UpsampleRgbLinePair,zMe=x.UpsampleBgrLinePair,qte=x.UpsampleRgbaLinePair,Xte=x.UpsampleBgraLinePair,Yte=x.UpsampleArgbLinePair,Jte=x.UpsampleRgba4444LinePair,KMe=x.UpsampleRgb565LinePair,fS=16,dS=1<<fS-1,vb=-227,PF=482,Zte=6,qMe=(256<<Zte)-1,ere=0,XMe=o(256),YMe=o(256),JMe=o(256),ZMe=o(256),e_e=o(PF-vb),t_e=o(PF-vb);Ad("YuvToRgbRow",Zn,3),Ad("YuvToBgrRow",xo,3),Ad("YuvToRgbaRow",of,4),Ad("YuvToBgraRow",Us,4),Ad("YuvToArgbRow",Pa,4),Ad("YuvToRgba4444Row",us,2),Ad("YuvToRgb565Row",Ro,2);var tre=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],pS=[0,2,8],r_e=[8,7,6,4,4,2,2,2,1,1,1,1],n_e=1;this.WebPDecodeRGBA=function(P,T,K,oe,ge){var xe=aS,Se=new Rv,Pe=new yr;Se.ba=Pe,Pe.S=xe,Pe.width=[Pe.width],Pe.height=[Pe.height];var Fe=Pe.width,Me=Pe.height,Ke=new Sr;if(Ke==null||P==null)var st=2;else e(Ke!=null),st=_v(P,T,K,Ke.width,Ke.height,Ke.Pd,Ke.Qd,Ke.format,null);if(st!=0?Fe=0:(Fe!=null&&(Fe[0]=Ke.width[0]),Me!=null&&(Me[0]=Ke.height[0]),Fe=1),Fe){Pe.width=Pe.width[0],Pe.height=Pe.height[0],oe!=null&&(oe[0]=Pe.width),ge!=null&&(ge[0]=Pe.height);e:{if(oe=new me,(ge=new nb).data=P,ge.w=T,ge.ha=K,ge.kd=1,T=[0],e(ge!=null),((P=_v(ge.data,ge.w,ge.ha,null,null,null,T,null,ge))==0||P==7)&&T[0]&&(P=4),(T=P)==0){if(e(Se!=null),oe.data=ge.data,oe.w=ge.w+ge.offset,oe.ha=ge.ha-ge.offset,oe.put=Yr,oe.ac=Ar,oe.bc=se,oe.ma=Se,ge.xa){if((P=Lt())==null){Se=1;break e}if(function(at,Ye){var Ot=[0],vt=[0],qe=[0];t:for(;;){if(at==null)return 0;if(Ye==null)return at.a=2,0;if(at.l=Ye,at.a=0,R(at.m,Ye.data,Ye.w,Ye.ha),!ae(at.m,Ot,vt,qe)){at.a=3;break t}if(at.xb=Kte,Ye.width=Ot[0],Ye.height=vt[0],!tr(Ot[0],vt[0],1,at,null))break t;return 1}return e(at.a!=0),0}(P,oe)){if(oe=(T=jv(oe.width,oe.height,Se.Oa,Se.ba))==0){t:{oe=P;r:for(;;){if(oe==null){oe=0;break t}if(e(oe.s.yc!=null),e(oe.s.Ya!=null),e(0<oe.s.Wb),e((K=oe.l)!=null),e((ge=K.ma)!=null),oe.xb!=0){if(oe.ca=ge.ba,oe.tb=ge.tb,e(oe.ca!=null),!cb(ge.Oa,K,lS)){oe.a=2;break r}if(!ur(oe,K.width)||K.da)break r;if((K.da||pt(oe.ca.S))&&rt(),11>oe.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),oe.ca.f.kb.F!=null&&rt()),oe.Pb&&0<oe.s.ua&&oe.s.vb.X==null&&!De(oe.s.vb,oe.s.Wa.Xa)){oe.a=1;break r}oe.xb=0}if(!mt(oe,oe.V,oe.Ba,oe.c,oe.i,K.o,ft))break r;ge.Dc=oe.Ma,oe=1;break t}e(oe.a!=0),oe=0}oe=!oe}oe&&(T=P.a)}else T=P.a}else{if((P=new ke)==null){Se=1;break e}if(P.Fa=ge.na,P.P=ge.P,P.qc=ge.Sa,St(P,oe)){if((T=jv(oe.width,oe.height,Se.Oa,Se.ba))==0){if(P.Aa=0,K=Se.Oa,e((ge=P)!=null),K!=null){if(0<(Fe=0>(Fe=K.Md)?0:100<Fe?255:255*Fe/100)){for(Me=Ke=0;4>Me;++Me)12>(st=ge.pb[Me]).lc&&(st.ia=Fe*r_e[0>st.lc?0:st.lc]>>3),Ke|=st.ia;Ke&&(alert("todo:VP8InitRandom"),ge.ia=1)}ge.Ga=K.Id,100<ge.Ga?ge.Ga=100:0>ge.Ga&&(ge.Ga=0)}Rr(P,oe)||(T=P.a)}}else T=P.a}T==0&&Se.Oa!=null&&Se.Oa.fd&&(T=ub(Se.ba))}Se=T}xe=Se!=0?null:11>xe?Pe.f.RGBA.eb:Pe.f.kb.y}else xe=null;return xe};var rre=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function c(x,I){for(var F="",k=0;k<4;k++)F+=String.fromCharCode(x[I++]);return F}function u(x,I){return(x[I+0]<<0|x[I+1]<<8|x[I+2]<<16)>>>0}function f(x,I){return(x[I+0]<<0|x[I+1]<<8|x[I+2]<<16|x[I+3]<<24)>>>0}new l;var d=[0],p=[0],h=[],A=new l,g=t,m=function(x,I){var F={},k=0,O=!1,L=0,M=0;if(F.frames=[],!function(G,W,J,ee){for(var q=0;q<ee;q++)if(G[W+q]!=J.charCodeAt(q))return!0;return!1}(x,I,"RIFF",4)){var H,V;for(f(x,I+=4),I+=8;I<x.length;){var j=c(x,I),R=f(x,I+=4);I+=4;var Q=R+(1&R);switch(j){case"VP8 ":case"VP8L":F.frames[k]===void 0&&(F.frames[k]={}),(_=F.frames[k]).src_off=O?M:I-8,_.src_size=L+R+8,k++,O&&(O=!1,L=0,M=0);break;case"VP8X":(_=F.header={}).feature_flags=x[I];var z=I+4;_.canvas_width=1+u(x,z),z+=3,_.canvas_height=1+u(x,z),z+=3;break;case"ALPH":O=!0,L=Q+8,M=I-8;break;case"ANIM":(_=F.header).bgcolor=f(x,I),z=I+4,_.loop_count=(H=x)[(V=z)+0]<<0|H[V+1]<<8,z+=2;break;case"ANMF":var X,_;(_=F.frames[k]={}).offset_x=2*u(x,I),I+=3,_.offset_y=2*u(x,I),I+=3,_.width=1+u(x,I),I+=3,_.height=1+u(x,I),I+=3,_.duration=u(x,I),I+=3,X=x[I++],_.dispose=1&X,_.blend=X>>1&1}j!="ANMF"&&(I+=Q)}return F}}(g,0);m.response=g,m.rgbaoutput=!0,m.dataurl=!1;var v=m.header?m.header:null,y=m.frames?m.frames:null;if(v){v.loop_counter=v.loop_count,d=[v.canvas_height],p=[v.canvas_width];for(var b=0;b<y.length&&y[b].blend!=0;b++);}var B=y[0],S=A.WebPDecodeRGBA(g,B.src_off,B.src_size,p,d);B.rgba=S,B.imgwidth=p[0],B.imgheight=d[0];for(var w=0;w<p[0]*d[0]*4;w++)h[w]=S[w];return this.width=p,this.height=d,this.data=h,this}(function(t){var e=function(){return typeof Lq=="function"},r=function(d,p,h,A){var g=4,m=s;switch(A){case t.image_compression.FAST:g=1,m=o;break;case t.image_compression.MEDIUM:g=6,m=a;break;case t.image_compression.SLOW:g=9,m=l}d=n(d,p,h,m);var v=Lq(d,{level:g});return t.__addimage__.arrayBufferToBinaryString(v)},n=function(d,p,h,A){for(var g,m,v,y=d.length/p,b=new Uint8Array(d.length+y),B=u(),S=0;S<y;S+=1){if(v=S*p,g=d.subarray(v,v+p),A)b.set(A(g,h,m),v+S);else{for(var w,x=B.length,I=[];w<x;w+=1)I[w]=B[w](g,h,m);var F=f(I.concat());b.set(I[F],v+S)}m=g}return b},i=function(d){var p=Array.apply([],d);return p.unshift(0),p},o=function(d,p){var h,A=[],g=d.length;A[0]=1;for(var m=0;m<g;m+=1)h=d[m-p]||0,A[m+1]=d[m]-h+256&255;return A},s=function(d,p,h){var A,g=[],m=d.length;g[0]=2;for(var v=0;v<m;v+=1)A=h&&h[v]||0,g[v+1]=d[v]-A+256&255;return g},a=function(d,p,h){var A,g,m=[],v=d.length;m[0]=3;for(var y=0;y<v;y+=1)A=d[y-p]||0,g=h&&h[y]||0,m[y+1]=d[y]+256-(A+g>>>1)&255;return m},l=function(d,p,h){var A,g,m,v,y=[],b=d.length;y[0]=4;for(var B=0;B<b;B+=1)A=d[B-p]||0,g=h&&h[B]||0,m=h&&h[B-p]||0,v=c(A,g,m),y[B+1]=d[B]-v+256&255;return y},c=function(d,p,h){if(d===p&&p===h)return d;var A=Math.abs(p-h),g=Math.abs(d-h),m=Math.abs(d+p-h-h);return A<=g&&A<=m?d:g<=m?p:h},u=function(){return[i,o,s,a,l]},f=function(d){var p=d.map(function(h){return h.reduce(function(A,g){return A+Math.abs(g)},0)});return p.indexOf(Math.min.apply(null,p))};t.processPNG=function(d,p,h,A){var g,m,v,y,b,B,S,w,x,I,F,k,O,L,M,H=this.decode.FLATE_DECODE,V="";if(this.__addimage__.isArrayBuffer(d)&&(d=new Uint8Array(d)),this.__addimage__.isArrayBufferView(d)){if(d=(v=new dsr(d)).imgData,m=v.bits,g=v.colorSpace,b=v.colors,[4,6].indexOf(v.colorType)!==-1){if(v.bits===8){x=(w=v.pixelBitlength==32?new Uint32Array(v.decodePixels().buffer):v.pixelBitlength==16?new Uint16Array(v.decodePixels().buffer):new Uint8Array(v.decodePixels().buffer)).length,F=new Uint8Array(x*v.colors),I=new Uint8Array(x);var j,R=v.pixelBitlength-v.bits;for(L=0,M=0;L<x;L++){for(O=w[L],j=0;j<R;)F[M++]=O>>>j&255,j+=v.bits;I[L]=O>>>j&255}}if(v.bits===16){x=(w=new Uint32Array(v.decodePixels().buffer)).length,F=new Uint8Array(x*(32/v.pixelBitlength)*v.colors),I=new Uint8Array(x*(32/v.pixelBitlength)),k=v.colors>1,L=0,M=0;for(var Q=0;L<x;)O=w[L++],F[M++]=O>>>0&255,k&&(F[M++]=O>>>16&255,O=w[L++],F[M++]=O>>>0&255),I[Q++]=O>>>16&255;m=8}A!==t.image_compression.NONE&&e()?(d=r(F,v.width*v.colors,v.colors,A),S=r(I,v.width,1,A)):(d=F,S=I,H=void 0)}if(v.colorType===3&&(g=this.color_spaces.INDEXED,B=v.palette,v.transparency.indexed)){var z=v.transparency.indexed,X=0;for(L=0,x=z.length;L<x;++L)X+=z[L];if((X/=255)===x-1&&z.indexOf(0)!==-1)y=[z.indexOf(0)];else if(X!==x){for(w=v.decodePixels(),I=new Uint8Array(w.length),L=0,x=w.length;L<x;L++)I[L]=z[w[L]];S=r(I,v.width,1)}}var _=function(G){var W;switch(G){case t.image_compression.FAST:W=11;break;case t.image_compression.MEDIUM:W=13;break;case t.image_compression.SLOW:W=14;break;default:W=12}return W}(A);return H===this.decode.FLATE_DECODE&&(V="/Predictor "+_+" "),V+="/Colors "+b+" /BitsPerComponent "+m+" /Columns "+v.width,(this.__addimage__.isArrayBuffer(d)||this.__addimage__.isArrayBufferView(d))&&(d=this.__addimage__.arrayBufferToBinaryString(d)),(S&&this.__addimage__.isArrayBuffer(S)||this.__addimage__.isArrayBufferView(S))&&(S=this.__addimage__.arrayBufferToBinaryString(S)),{alias:h,data:d,index:p,filter:H,decodeParameters:V,transparency:y,palette:B,sMask:S,predictor:_,width:v.width,height:v.height,bitsPerComponent:m,colorSpace:g}}}})(qr.API),function(t){t.processGIF89A=function(e,r,n,i){var o=new psr(e),s=o.width,a=o.height,l=[];o.decodeAndBlitFrameRGBA(0,l);var c={data:l,width:s,height:a},u=new aQ(100).encode(c,100);return t.processJPEG.call(this,u,r,n,i)},t.processGIF87A=t.processGIF89A}(qr.API),df.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var t=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(t);for(var e=0;e<t;e++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0);this.palette[e]={red:i,green:n,blue:r,quad:o}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},df.prototype.parseBGR=function(){this.pos=this.offset;try{var t="bit"+this.bitPP,e=this.width*this.height*4;this.data=new Uint8Array(e),this[t]()}catch(r){Qi.log("bit decode error:"+r)}},df.prototype.bit1=function(){var t,e=Math.ceil(this.width/8),r=e%4;for(t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,i=0;i<e;i++)for(var o=this.datav.getUint8(this.pos++,!0),s=n*this.width*4+8*i*4,a=0;a<8&&8*i+a<this.width;a++){var l=this.palette[o>>7-a&1];this.data[s+4*a]=l.blue,this.data[s+4*a+1]=l.green,this.data[s+4*a+2]=l.red,this.data[s+4*a+3]=255}r!==0&&(this.pos+=4-r)}},df.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),e=t%4,r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i<t;i++){var o=this.datav.getUint8(this.pos++,!0),s=n*this.width*4+2*i*4,a=o>>4,l=15&o,c=this.palette[a];if(this.data[s]=c.blue,this.data[s+1]=c.green,this.data[s+2]=c.red,this.data[s+3]=255,2*i+1>=this.width)break;c=this.palette[l],this.data[s+4]=c.blue,this.data[s+4+1]=c.green,this.data[s+4+2]=c.red,this.data[s+4+3]=255}e!==0&&(this.pos+=4-e)}},df.prototype.bit8=function(){for(var t=this.width%4,e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var i=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+4*n;if(i<this.palette.length){var s=this.palette[i];this.data[o]=s.red,this.data[o+1]=s.green,this.data[o+2]=s.blue,this.data[o+3]=255}else this.data[o]=255,this.data[o+1]=255,this.data[o+2]=255,this.data[o+3]=255}t!==0&&(this.pos+=4-t)}},df.prototype.bit15=function(){for(var t=this.width%3,e=parseInt("11111",2),r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i<this.width;i++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(o&e)/e*255|0,a=(o>>5&e)/e*255|0,l=(o>>10&e)/e*255|0,c=o>>15?255:0,u=n*this.width*4+4*i;this.data[u]=l,this.data[u+1]=a,this.data[u+2]=s,this.data[u+3]=c}this.pos+=t}},df.prototype.bit16=function(){for(var t=this.width%3,e=parseInt("11111",2),r=parseInt("111111",2),n=this.height-1;n>=0;n--){for(var i=this.bottom_up?n:this.height-1-n,o=0;o<this.width;o++){var s=this.datav.getUint16(this.pos,!0);this.pos+=2;var a=(s&e)/e*255|0,l=(s>>5&r)/r*255|0,c=(s>>11)/e*255|0,u=i*this.width*4+4*o;this.data[u]=c,this.data[u+1]=l,this.data[u+2]=a,this.data[u+3]=255}this.pos+=t}},df.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var e=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),s=e*this.width*4+4*r;this.data[s]=o,this.data[s+1]=i,this.data[s+2]=n,this.data[s+3]=255}this.pos+=this.width%4}},df.prototype.bit32=function(){for(var t=this.height-1;t>=0;t--)for(var e=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),a=e*this.width*4+4*r;this.data[a]=o,this.data[a+1]=i,this.data[a+2]=n,this.data[a+3]=s}},df.prototype.getData=function(){return this.data},function(t){t.processBMP=function(e,r,n,i){var o=new df(e,!1),s=o.width,a=o.height,l={data:o.getData(),width:s,height:a},c=new aQ(100).encode(l,100);return t.processJPEG.call(this,c,r,n,i)}}(qr.API),iye.prototype.getData=function(){return this.data},function(t){t.processWEBP=function(e,r,n,i){var o=new iye(e),s=o.width,a=o.height,l={data:o.getData(),width:s,height:a},c=new aQ(100).encode(l,100);return t.processJPEG.call(this,c,r,n,i)}}(qr.API),qr.API.processRGBA=function(t,e,r){for(var n=t.data,i=n.length,o=new Uint8Array(i/4*3),s=new Uint8Array(i/4),a=0,l=0,c=0;c<i;c+=4){var u=n[c],f=n[c+1],d=n[c+2],p=n[c+3];o[a++]=u,o[a++]=f,o[a++]=d,s[l++]=p}var h=this.__addimage__.arrayBufferToBinaryString(o);return{alpha:this.__addimage__.arrayBufferToBinaryString(s),data:h,index:e,alias:r,colorSpace:"DeviceRGB",bitsPerComponent:8,width:t.width,height:t.height}},qr.API.setLanguage=function(t){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[t]!==void 0&&(this.internal.languageSettings.languageCode=t,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},Ry=qr.API,PE=Ry.getCharWidthsArray=function(t,e){var r,n,i=(e=e||{}).font||this.internal.getFont(),o=e.fontSize||this.internal.getFontSize(),s=e.charSpace||this.internal.getCharSpace(),a=e.widths?e.widths:i.metadata.Unicode.widths,l=a.fof?a.fof:1,c=e.kerning?e.kerning:i.metadata.Unicode.kerning,u=c.fof?c.fof:1,f=e.doKerning!==!1,d=0,p=t.length,h=0,A=a[0]||l,g=[];for(r=0;r<p;r++)n=t.charCodeAt(r),typeof i.metadata.widthOfString=="function"?g.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(n))+s*(1e3/o)||0)/1e3):(d=f&&Ei(c[n])==="object"&&!isNaN(parseInt(c[n][h],10))?c[n][h]/u:0,g.push((a[n]||A)/l+d)),h=n;return g},eye=Ry.getStringUnitWidth=function(t,e){var r=(e=e||{}).fontSize||this.internal.getFontSize(),n=e.font||this.internal.getFont(),i=e.charSpace||this.internal.getCharSpace();return Ry.processArabic&&(t=Ry.processArabic(t)),typeof n.metadata.widthOfString=="function"?n.metadata.widthOfString(t,r,i)/r:PE.apply(this,arguments).reduce(function(o,s){return o+s},0)},tye=function(t,e,r,n){for(var i=[],o=0,s=t.length,a=0;o!==s&&a+e[o]<r;)a+=e[o],o++;i.push(t.slice(0,o));var l=o;for(a=0;o!==s;)a+e[o]>n&&(i.push(t.slice(l,o)),a=0,l=o),a+=e[o],o++;return l!==o&&i.push(t.slice(l,o)),i},rye=function(t,e,r){r||(r={});var n,i,o,s,a,l,c,u=[],f=[u],d=r.textIndent||0,p=0,h=0,A=t.split(" "),g=PE.apply(this,[" ",r])[0];if(l=r.lineIndent===-1?A[0].length+2:r.lineIndent||0){var m=Array(l).join(" "),v=[];A.map(function(b){(b=b.split(/\s*\n/)).length>1?v=v.concat(b.map(function(B,S){return(S&&B.length?` `:"")+B})):v.push(b[0])}),A=v,l=eye.apply(this,[m,r])}for(o=0,s=A.length;o<s;o++){var y=0;if(n=A[o],l&&n[0]==` `&&(n=n.substr(1),y=1),d+p+(h=(i=PE.apply(this,[n,r])).reduce(function(b,B){return b+B},0))>e||y){if(h>e){for(a=tye.apply(this,[n,i,e-(d+p),e]),u.push(a.shift()),u=[a.pop()];a.length;)f.push([a.shift()]);h=i.slice(n.length-(u[0]?u[0].length:0)).reduce(function(b,B){return b+B},0)}else u=[n];f.push(u),d=h+l,p=g}else u.push(n),d+=p+h,p=g}return c=l?function(b,B){return(B?m:"")+b.join(" ")}:function(b){return b.join(" ")},f.map(c)},Ry.splitTextToSize=function(t,e,r){var n,i=(r=r||{}).fontSize||this.internal.getFontSize(),o=function(u){if(u.widths&&u.kerning)return{widths:u.widths,kerning:u.kerning};var f=this.internal.getFont(u.fontName,u.fontStyle);return f.metadata.Unicode?{widths:f.metadata.Unicode.widths||{0:1},kerning:f.metadata.Unicode.kerning||{}}:{font:f.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,r);n=Array.isArray(t)?t:String(t).split(/\r?\n/);var s=1*this.internal.scaleFactor*e/i;o.textIndent=r.textIndent?1*r.textIndent*this.internal.scaleFactor/i:0,o.lineIndent=r.lineIndent;var a,l,c=[];for(a=0,l=n.length;a<l;a++)c=c.concat(rye.apply(this,[n[a],s,o]));return c},function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var e="klmnopqrstuvwxyz",r={},n={},i=0;i<e.length;i++)r[e[i]]="0123456789abcdef"[i],n["0123456789abcdef"[i]]=e[i];var o=function(f){return"0x"+parseInt(f,10).toString(16)},s=t.__fontmetrics__.compress=function(f){var d,p,h,A,g=["{"];for(var m in f){if(d=f[m],isNaN(parseInt(m,10))?p="'"+m+"'":(m=parseInt(m,10),p=(p=o(m).slice(2)).slice(0,-1)+n[p.slice(-1)]),typeof d=="number")d<0?(h=o(d).slice(3),A="-"):(h=o(d).slice(2),A=""),h=A+h.slice(0,-1)+n[h.slice(-1)];else{if(Ei(d)!=="object")throw new Error("Don't know what to do with value type "+Ei(d)+".");h=s(d)}g.push(p+h)}return g.push("}"),g.join("")},a=t.__fontmetrics__.uncompress=function(f){if(typeof f!="string")throw new Error("Invalid argument passed to uncompress.");for(var d,p,h,A,g={},m=1,v=g,y=[],b="",B="",S=f.length-1,w=1;w<S;w+=1)(A=f[w])=="'"?d?(h=d.join(""),d=void 0):d=[]:d?d.push(A):A=="{"?(y.push([v,h]),v={},h=void 0):A=="}"?((p=y.pop())[0][p[1]]=v,h=void 0,v=p[0]):A=="-"?m=-1:h===void 0?r.hasOwnProperty(A)?(b+=r[A],h=parseInt(b,16)*m,m=1,b=""):b+=A:r.hasOwnProperty(A)?(B+=r[A],v[h]=parseInt(B,16)*m,m=1,h=void 0,B=""):B+=A;return g},l={codePages:["WinAnsiEncoding"],WinAnsiEncoding:a("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},c={Unicode:{Courier:l,"Courier-Bold":l,"Courier-BoldOblique":l,"Courier-Oblique":l,Helvetica:l,"Helvetica-Bold":l,"Helvetica-BoldOblique":l,"Helvetica-Oblique":l,"Times-Roman":l,"Times-Bold":l,"Times-BoldItalic":l,"Times-Italic":l}},u={Unicode:{"Courier-Oblique":a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":a("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":a("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":a("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:a("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:a("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":a("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:a("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":a("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m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ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":a("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":a("{'widths'{k3p2q4mcx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5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};t.events.push(["addFont",function(f){var d=f.font,p=u.Unicode[d.postScriptName];p&&(d.metadata.Unicode={},d.metadata.Unicode.widths=p.widths,d.metadata.Unicode.kerning=p.kerning);var h=c.Unicode[d.postScriptName];h&&(d.metadata.Unicode.encoding=h,d.encoding=h.codePages[0])}])}(qr.API),function(t){var e=function(r){for(var n=r.length,i=new Uint8Array(n),o=0;o<n;o++)i[o]=r.charCodeAt(o);return i};t.API.events.push(["addFont",function(r){var n=void 0,i=r.font,o=r.instance;if(!i.isStandardFont){if(o===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if(typeof(n=o.existsFileInVFS(i.postScriptName)===!1?o.loadFile(i.postScriptName):o.getFileFromVFS(i.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");(function(s,a){a=/^\x00\x01\x00\x00/.test(a)?e(a):e(H5(a)),s.metadata=t.API.TTFFont.open(a),s.metadata.Unicode=s.metadata.Unicode||{encoding:{},kerning:{},widths:[]},s.metadata.glyIdsUsed=[0]})(i,n)}}])}(qr),function(t){function e(){return(Jr.canvg?Promise.resolve(Jr.canvg):Pq(()=>import("./index.es-93fb0dad.js"),[])).catch(function(r){return Promise.reject(new Error("Could not load canvg: "+r))}).then(function(r){return r.default?r.default:r})}qr.API.addSvgAsImage=function(r,n,i,o,s,a,l,c){if(isNaN(n)||isNaN(i))throw Qi.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(o)||isNaN(s))throw Qi.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var u=document.createElement("canvas");u.width=o,u.height=s;var f=u.getContext("2d");f.fillStyle="#fff",f.fillRect(0,0,u.width,u.height);var d={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},p=this;return e().then(function(h){return h.fromString(f,r,d)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(h){return h.render(d)}).then(function(){p.addImage(u.toDataURL("image/jpeg",1),n,i,o,s,l,c)})}}(),qr.API.putTotalPages=function(t){var e,r=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),r=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var i=0;i<this.internal.pages[n].length;i++)this.internal.pages[n][i]=this.internal.pages[n][i].replace(e,r);return this},qr.API.viewerPreferences=function(t,e){var r;t=t||{},e=e||!1;var n,i,o,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},a=Object.keys(s),l=[],c=0,u=0,f=0;function d(h,A){var g,m=!1;for(g=0;g<h.length;g+=1)h[g]===A&&(m=!0);return m}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),r=this.internal.viewerpreferences.configuration,t==="reset"||e===!0){var p=a.length;for(f=0;f<p;f+=1)r[a[f]].value=r[a[f]].defaultValue,r[a[f]].explicitSet=!1}if(Ei(t)==="object"){for(i in t)if(o=t[i],d(a,i)&&o!==void 0){if(r[i].type==="boolean"&&typeof o=="boolean")r[i].value=o;else if(r[i].type==="name"&&d(r[i].valueSet,o))r[i].value=o;else if(r[i].type==="integer"&&Number.isInteger(o))r[i].value=o;else if(r[i].type==="array"){for(c=0;c<o.length;c+=1)if(n=!0,o[c].length===1&&typeof o[c][0]=="number")l.push(String(o[c]-1));else if(o[c].length>1){for(u=0;u<o[c].length;u+=1)typeof o[c][u]!="number"&&(n=!1);n===!0&&l.push([o[c][0]-1,o[c][1]-1].join(" "))}r[i].value="["+l.join(" ")+"]"}else r[i].value=r[i].defaultValue;r[i].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var h,A=[];for(h in r)r[h].explicitSet===!0&&(r[h].type==="name"?A.push("/"+h+" /"+r[h].value):A.push("/"+h+" "+r[h].value));A.length!==0&&this.internal.write(`/ViewerPreferences << `+A.join(` `)+` >>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=r,this},function(t){var e=function(){var n='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',i=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),o=unescape(encodeURIComponent(n)),s=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),a=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),l=unescape(encodeURIComponent("</x:xmpmeta>")),c=o.length+s.length+a.length+i.length+l.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+c+" >>"),this.internal.write("stream"),this.internal.write(i+o+s+a+l),this.internal.write("endstream"),this.internal.write("endobj")},r=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};t.addMetadata=function(n,i){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:n,namespaceuri:i||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",r),this.internal.events.subscribe("postPutResources",e)),this}}(qr.API),function(t){var e=t.API,r=e.pdfEscape16=function(o,s){for(var a,l=s.metadata.Unicode.widths,c=["","0","00","000","0000"],u=[""],f=0,d=o.length;f<d;++f){if(a=s.metadata.characterToGlyph(o.charCodeAt(f)),s.metadata.glyIdsUsed.push(a),s.metadata.toUnicode[a]=o.charCodeAt(f),l.indexOf(a)==-1&&(l.push(a),l.push([parseInt(s.metadata.widthOfGlyph(a),10)])),a=="0")return u.join("");a=a.toString(16),u.push(c[4-a.length],a)}return u.join("")},n=function(o){var s,a,l,c,u,f,d;for(u=`/CIDInit /ProcSet findresource begin 12 dict begin begincmap /CIDSystemInfo << /Registry (Adobe) /Ordering (UCS) /Supplement 0 >> def /CMapName /Adobe-Identity-UCS def /CMapType 2 def 1 begincodespacerange <0000><ffff> endcodespacerange`,l=[],f=0,d=(a=Object.keys(o).sort(function(p,h){return p-h})).length;f<d;f++)s=a[f],l.length>=100&&(u+=` `+l.length+` beginbfchar `+l.join(` `)+` endbfchar`,l=[]),o[s]!==void 0&&o[s]!==null&&typeof o[s].toString=="function"&&(c=("0000"+o[s].toString(16)).slice(-4),s=("0000"+(+s).toString(16)).slice(-4),l.push("<"+s+"><"+c+">"));return l.length&&(u+=` `+l.length+` beginbfchar `+l.join(` `)+` endbfchar `),u+=`endcmap CMapName currentdict /CMap defineresource pop end end`};e.events.push(["putFont",function(o){(function(s){var a=s.font,l=s.out,c=s.newObject,u=s.putStream;if(a.metadata instanceof t.API.TTFFont&&a.encoding==="Identity-H"){for(var f=a.metadata.Unicode.widths,d=a.metadata.subset.encode(a.metadata.glyIdsUsed,1),p="",h=0;h<d.length;h++)p+=String.fromCharCode(d[h]);var A=c();u({data:p,addLength1:!0,objectId:A}),l("endobj");var g=c();u({data:n(a.metadata.toUnicode),addLength1:!0,objectId:g}),l("endobj");var m=c();l("<<"),l("/Type /FontDescriptor"),l("/FontName /"+qy(a.fontName)),l("/FontFile2 "+A+" 0 R"),l("/FontBBox "+t.API.PDFObject.convert(a.metadata.bbox)),l("/Flags "+a.metadata.flags),l("/StemV "+a.metadata.stemV),l("/ItalicAngle "+a.metadata.italicAngle),l("/Ascent "+a.metadata.ascender),l("/Descent "+a.metadata.decender),l("/CapHeight "+a.metadata.capHeight),l(">>"),l("endobj");var v=c();l("<<"),l("/Type /Font"),l("/BaseFont /"+qy(a.fontName)),l("/FontDescriptor "+m+" 0 R"),l("/W "+t.API.PDFObject.convert(f)),l("/CIDToGIDMap /Identity"),l("/DW 1000"),l("/Subtype /CIDFontType2"),l("/CIDSystemInfo"),l("<<"),l("/Supplement 0"),l("/Registry (Adobe)"),l("/Ordering ("+a.encoding+")"),l(">>"),l(">>"),l("endobj"),a.objectNumber=c(),l("<<"),l("/Type /Font"),l("/Subtype /Type0"),l("/ToUnicode "+g+" 0 R"),l("/BaseFont /"+qy(a.fontName)),l("/Encoding /"+a.encoding),l("/DescendantFonts ["+v+" 0 R]"),l(">>"),l("endobj"),a.isAlreadyPutted=!0}})(o)}]),e.events.push(["putFont",function(o){(function(s){var a=s.font,l=s.out,c=s.newObject,u=s.putStream;if(a.metadata instanceof t.API.TTFFont&&a.encoding==="WinAnsiEncoding"){for(var f=a.metadata.rawData,d="",p=0;p<f.length;p++)d+=String.fromCharCode(f[p]);var h=c();u({data:d,addLength1:!0,objectId:h}),l("endobj");var A=c();u({data:n(a.metadata.toUnicode),addLength1:!0,objectId:A}),l("endobj");var g=c();l("<<"),l("/Descent "+a.metadata.decender),l("/CapHeight "+a.metadata.capHeight),l("/StemV "+a.metadata.stemV),l("/Type /FontDescriptor"),l("/FontFile2 "+h+" 0 R"),l("/Flags 96"),l("/FontBBox "+t.API.PDFObject.convert(a.metadata.bbox)),l("/FontName /"+qy(a.fontName)),l("/ItalicAngle "+a.metadata.italicAngle),l("/Ascent "+a.metadata.ascender),l(">>"),l("endobj"),a.objectNumber=c();for(var m=0;m<a.metadata.hmtx.widths.length;m++)a.metadata.hmtx.widths[m]=parseInt(a.metadata.hmtx.widths[m]*(1e3/a.metadata.head.unitsPerEm));l("<</Subtype/TrueType/Type/Font/ToUnicode "+A+" 0 R/BaseFont/"+qy(a.fontName)+"/FontDescriptor "+g+" 0 R/Encoding/"+a.encoding+" /FirstChar 29 /LastChar 255 /Widths "+t.API.PDFObject.convert(a.metadata.hmtx.widths)+">>"),l("endobj"),a.isAlreadyPutted=!0}})(o)}]);var i=function(o){var s,a=o.text||"",l=o.x,c=o.y,u=o.options||{},f=o.mutex||{},d=f.pdfEscape,p=f.activeFontKey,h=f.fonts,A=p,g="",m=0,v="",y=h[A].encoding;if(h[A].encoding!=="Identity-H")return{text:a,x:l,y:c,options:u,mutex:f};for(v=a,A=p,Array.isArray(a)&&(v=a[0]),m=0;m<v.length;m+=1)h[A].metadata.hasOwnProperty("cmap")&&(s=h[A].metadata.cmap.unicode.codeMap[v[m].charCodeAt(0)]),s||v[m].charCodeAt(0)<256&&h[A].metadata.hasOwnProperty("Unicode")?g+=v[m]:g+="";var b="";return parseInt(A.slice(1))<14||y==="WinAnsiEncoding"?b=d(g,A).split("").map(function(B){return B.charCodeAt(0).toString(16)}).join(""):y==="Identity-H"&&(b=r(g,h[A])),f.isHex=!0,{text:b,x:l,y:c,options:u,mutex:f}};e.events.push(["postProcessText",function(o){var s=o.text||"",a=[],l={text:s,x:o.x,y:o.y,options:o.options,mutex:o.mutex};if(Array.isArray(s)){var c=0;for(c=0;c<s.length;c+=1)Array.isArray(s[c])&&s[c].length===3?a.push([i(Object.assign({},l,{text:s[c][0]})).text,s[c][1],s[c][2]]):a.push(i(Object.assign({},l,{text:s[c]})).text);o.text=a}else o.text=i(Object.assign({},l,{text:s})).text}])}(qr),function(t){var e=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};t.existsFileInVFS=function(r){return e.call(this),this.internal.vFS[r]!==void 0},t.addFileToVFS=function(r,n){return e.call(this),this.internal.vFS[r]=n,this},t.getFileFromVFS=function(r){return e.call(this),this.internal.vFS[r]!==void 0?this.internal.vFS[r]:null}}(qr.API),function(t){t.__bidiEngine__=t.prototype.__bidiEngine__=function(n){var i,o,s,a,l,c,u,f=e,d=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],p=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],h={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},A={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},g=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],m=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),v=!1,y=0;this.__bidiEngine__={};var b=function(k){var O=k.charCodeAt(),L=O>>8,M=A[L];return M!==void 0?f[256*M+(255&O)]:L===252||L===253?"AL":m.test(L)?"L":L===8?"R":"N"},B=function(k){for(var O,L=0;L<k.length;L++){if((O=b(k.charAt(L)))==="L")return!1;if(O==="R")return!0}return!1},S=function(k,O,L,M){var H,V,j,R,Q=O[M];switch(Q){case"L":case"R":v=!1;break;case"N":case"AN":break;case"EN":v&&(Q="AN");break;case"AL":v=!0,Q="R";break;case"WS":Q="N";break;case"CS":M<1||M+1>=O.length||(H=L[M-1])!=="EN"&&H!=="AN"||(V=O[M+1])!=="EN"&&V!=="AN"?Q="N":v&&(V="AN"),Q=V===H?V:"N";break;case"ES":Q=(H=M>0?L[M-1]:"B")==="EN"&&M+1<O.length&&O[M+1]==="EN"?"EN":"N";break;case"ET":if(M>0&&L[M-1]==="EN"){Q="EN";break}if(v){Q="N";break}for(j=M+1,R=O.length;j<R&&O[j]==="ET";)j++;Q=j<R&&O[j]==="EN"?"EN":"N";break;case"NSM":if(s&&!a){for(R=O.length,j=M+1;j<R&&O[j]==="NSM";)j++;if(j<R){var z=k[M],X=z>=1425&&z<=2303||z===64286;if(H=O[j],X&&(H==="R"||H==="AL")){Q="R";break}}}Q=M<1||(H=O[M-1])==="B"?"N":L[M-1];break;case"B":v=!1,i=!0,Q=y;break;case"S":o=!0,Q="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":v=!1;break;case"BN":Q="N"}return Q},w=function(k,O,L){var M=k.split("");return L&&x(M,L,{hiLevel:y}),M.reverse(),O&&O.reverse(),M.join("")},x=function(k,O,L){var M,H,V,j,R,Q=-1,z=k.length,X=0,_=[],G=y?p:d,W=[];for(v=!1,i=!1,o=!1,H=0;H<z;H++)W[H]=b(k[H]);for(V=0;V<z;V++){if(R=X,_[V]=S(k,W,_,V),M=240&(X=G[R][h[_[V]]]),X&=15,O[V]=j=G[X][5],M>0)if(M===16){for(H=Q;H<V;H++)O[H]=1;Q=-1}else Q=-1;if(G[X][6])Q===-1&&(Q=V);else if(Q>-1){for(H=Q;H<V;H++)O[H]=j;Q=-1}W[V]==="B"&&(O[V]=0),L.hiLevel|=j}o&&function(J,ee,q){for(var Z=0;Z<q;Z++)if(J[Z]==="S"){ee[Z]=y;for(var re=Z-1;re>=0&&J[re]==="WS";re--)ee[re]=y}}(W,O,z)},I=function(k,O,L,M,H){if(!(H.hiLevel<k)){if(k===1&&y===1&&!i)return O.reverse(),void(L&&L.reverse());for(var V,j,R,Q,z=O.length,X=0;X<z;){if(M[X]>=k){for(R=X+1;R<z&&M[R]>=k;)R++;for(Q=X,j=R-1;Q<j;Q++,j--)V=O[Q],O[Q]=O[j],O[j]=V,L&&(V=L[Q],L[Q]=L[j],L[j]=V);X=R}X++}}},F=function(k,O,L){var M=k.split(""),H={hiLevel:y};return L||(L=[]),x(M,L,H),function(V,j,R){if(R.hiLevel!==0&&u)for(var Q,z=0;z<V.length;z++)j[z]===1&&(Q=g.indexOf(V[z]))>=0&&(V[z]=g[Q+1])}(M,L,H),I(2,M,O,L,H),I(1,M,O,L,H),M.join("")};return this.__bidiEngine__.doBidiReorder=function(k,O,L){if(function(H,V){if(V)for(var j=0;j<H.length;j++)V[j]=j;a===void 0&&(a=B(H)),c===void 0&&(c=B(H))}(k,O),s||!l||c)if(s&&l&&a^c)y=a?1:0,k=w(k,O,L);else if(!s&&l&&c)y=a?1:0,k=F(k,O,L),k=w(k,O);else if(!s||a||l||c){if(s&&!l&&a^c)k=w(k,O),a?(y=0,k=F(k,O,L)):(y=1,k=F(k,O,L),k=w(k,O));else if(s&&a&&!l&&c)y=1,k=F(k,O,L),k=w(k,O);else if(!s&&!l&&a^c){var M=u;a?(y=1,k=F(k,O,L),y=0,u=!1,k=F(k,O,L),u=M):(y=0,k=F(k,O,L),k=w(k,O),y=1,u=!1,k=F(k,O,L),u=M,k=w(k,O))}}else y=0,k=F(k,O,L);else y=a?1:0,k=F(k,O,L);return k},this.__bidiEngine__.setOptions=function(k){k&&(s=k.isInputVisual,l=k.isOutputVisual,a=k.isInputRtl,c=k.isOutputRtl,u=k.isSymmetricSwapping)},this.__bidiEngine__.setOptions(n),this.__bidiEngine__};var e=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],r=new t.__bidiEngine__({isInputVisual:!0});t.API.events.push(["postProcessText",function(n){var i=n.text,o=(n.x,n.y,n.options||{}),s=(n.mutex,o.lang,[]);if(o.isInputVisual=typeof o.isInputVisual!="boolean"||o.isInputVisual,r.setOptions(o),Object.prototype.toString.call(i)==="[object Array]"){var a=0;for(s=[],a=0;a<i.length;a+=1)Object.prototype.toString.call(i[a])==="[object Array]"?s.push([r.doBidiReorder(i[a][0]),i[a][1],i[a][2]]):s.push([r.doBidiReorder(i[a])]);n.text=s}else n.text=r.doBidiReorder(i);r.setOptions({isInputVisual:!0})}])}(qr),qr.API.TTFFont=function(){function t(e){var r;if(this.rawData=e,r=this.contents=new Tm(e),this.contents.pos=4,r.readString(4)==="ttcf")throw new Error("TTCF not supported.");r.pos=0,this.parse(),this.subset=new ksr(this),this.registerTTF()}return t.open=function(e){return new t(e)},t.prototype.parse=function(){return this.directory=new Asr(this.contents),this.head=new msr(this),this.name=new Csr(this),this.cmap=new DMe(this),this.toUnicode={},this.hhea=new gsr(this),this.maxp=new bsr(this),this.hmtx=new wsr(this),this.post=new ysr(this),this.os2=new vsr(this),this.loca=new Dsr(this),this.glyf=new xsr(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},t.prototype.registerTTF=function(){var e,r,n,i,o;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var s,a,l,c;for(c=[],s=0,a=(l=this.bbox).length;s<a;s++)e=l[s],c.push(Math.round(e*this.scaleFactor));return c}.call(this),this.stemV=0,this.post.exists?(n=255&(i=this.post.italic_angle),32768&(r=i>>16)&&(r=-(1+(65535^r))),this.italicAngle=+(r+"."+n)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(o=this.familyClass)===1||o===2||o===3||o===4||o===5||o===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},t.prototype.characterToGlyph=function(e){var r;return((r=this.cmap.unicode)!=null?r.codeMap[e]:void 0)||0},t.prototype.widthOfGlyph=function(e){var r;return r=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*r},t.prototype.widthOfString=function(e,r,n){var i,o,s,a;for(s=0,o=0,a=(e=""+e).length;0<=a?o<a:o>a;o=0<=a?++o:--o)i=e.charCodeAt(o),s+=this.widthOfGlyph(this.characterToGlyph(i))+n*(1e3/r)||0;return s*(r/1e3)},t.prototype.lineHeight=function(e,r){var n;return r==null&&(r=!1),n=r?this.lineGap:0,(this.ascender+n-this.decender)/1e3*e},t}();var fd,Tm=function(){function t(e){this.data=e??[],this.pos=0,this.length=this.data.length}return t.prototype.readByte=function(){return this.data[this.pos++]},t.prototype.writeByte=function(e){return this.data[this.pos++]=e},t.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},t.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},t.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=2147483648?e-4294967296:e},t.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},t.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},t.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},t.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},t.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},t.prototype.readString=function(e){var r,n;for(n=[],r=0;0<=e?r<e:r>e;r=0<=e?++r:--r)n[r]=String.fromCharCode(this.readByte());return n.join("")},t.prototype.writeString=function(e){var r,n,i;for(i=[],r=0,n=e.length;0<=n?r<n:r>n;r=0<=n?++r:--r)i.push(this.writeByte(e.charCodeAt(r)));return i},t.prototype.readShort=function(){return this.readInt16()},t.prototype.writeShort=function(e){return this.writeInt16(e)},t.prototype.readLongLong=function(){var e,r,n,i,o,s,a,l;return e=this.readByte(),r=this.readByte(),n=this.readByte(),i=this.readByte(),o=this.readByte(),s=this.readByte(),a=this.readByte(),l=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^r)+1099511627776*(255^n)+4294967296*(255^i)+16777216*(255^o)+65536*(255^s)+256*(255^a)+(255^l)+1):72057594037927940*e+281474976710656*r+1099511627776*n+4294967296*i+16777216*o+65536*s+256*a+l},t.prototype.writeLongLong=function(e){var r,n;return r=Math.floor(e/4294967296),n=4294967295&e,this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r),this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},t.prototype.readInt=function(){return this.readInt32()},t.prototype.writeInt=function(e){return this.writeInt32(e)},t.prototype.read=function(e){var r,n;for(r=[],n=0;0<=e?n<e:n>e;n=0<=e?++n:--n)r.push(this.readByte());return r},t.prototype.write=function(e){var r,n,i,o;for(o=[],n=0,i=e.length;n<i;n++)r=e[n],o.push(this.writeByte(r));return o},t}(),Asr=function(){var t;function e(r){var n,i,o;for(this.scalarType=r.readInt(),this.tableCount=r.readShort(),this.searchRange=r.readShort(),this.entrySelector=r.readShort(),this.rangeShift=r.readShort(),this.tables={},i=0,o=this.tableCount;0<=o?i<o:i>o;i=0<=o?++i:--i)n={tag:r.readString(4),checksum:r.readInt(),offset:r.readInt(),length:r.readInt()},this.tables[n.tag]=n}return e.prototype.encode=function(r){var n,i,o,s,a,l,c,u,f,d,p,h,A;for(A in p=Object.keys(r).length,l=Math.log(2),f=16*Math.floor(Math.log(p)/l),s=Math.floor(f/l),u=16*p-f,(i=new Tm).writeInt(this.scalarType),i.writeShort(p),i.writeShort(f),i.writeShort(s),i.writeShort(u),o=16*p,c=i.pos+o,a=null,h=[],r)for(d=r[A],i.writeString(A),i.writeInt(t(d)),i.writeInt(c),i.writeInt(d.length),h=h.concat(d),A==="head"&&(a=c),c+=d.length;c%4;)h.push(0),c++;return i.write(h),n=2981146554-t(i.data),i.pos=a+8,i.writeUInt32(n),i.data},t=function(r){var n,i,o,s;for(r=kMe.call(r);r.length%4;)r.push(0);for(o=new Tm(r),i=0,n=0,s=r.length;n<s;n=n+=4)i+=o.readUInt32();return 4294967295&i},e}(),hsr={}.hasOwnProperty,Vp=function(t,e){for(var r in e)hsr.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t};fd=function(){function t(e){var r;this.file=e,r=this.file.directory.tables[this.tag],this.exists=!!r,r&&(this.offset=r.offset,this.length=r.length,this.parse(this.file.contents))}return t.prototype.parse=function(){},t.prototype.encode=function(){},t.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},t}();var msr=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Vp(e,fd),e.prototype.tag="head",e.prototype.parse=function(r){return r.pos=this.offset,this.version=r.readInt(),this.revision=r.readInt(),this.checkSumAdjustment=r.readInt(),this.magicNumber=r.readInt(),this.flags=r.readShort(),this.unitsPerEm=r.readShort(),this.created=r.readLongLong(),this.modified=r.readLongLong(),this.xMin=r.readShort(),this.yMin=r.readShort(),this.xMax=r.readShort(),this.yMax=r.readShort(),this.macStyle=r.readShort(),this.lowestRecPPEM=r.readShort(),this.fontDirectionHint=r.readShort(),this.indexToLocFormat=r.readShort(),this.glyphDataFormat=r.readShort()},e.prototype.encode=function(r){var n;return(n=new Tm).writeInt(this.version),n.writeInt(this.revision),n.writeInt(this.checkSumAdjustment),n.writeInt(this.magicNumber),n.writeShort(this.flags),n.writeShort(this.unitsPerEm),n.writeLongLong(this.created),n.writeLongLong(this.modified),n.writeShort(this.xMin),n.writeShort(this.yMin),n.writeShort(this.xMax),n.writeShort(this.yMax),n.writeShort(this.macStyle),n.writeShort(this.lowestRecPPEM),n.writeShort(this.fontDirectionHint),n.writeShort(r),n.writeShort(this.glyphDataFormat),n.data},e}(),oye=function(){function t(e,r){var n,i,o,s,a,l,c,u,f,d,p,h,A,g,m,v,y;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=r+e.readInt(),f=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(l=0;l<256;++l)this.codeMap[l]=e.readByte();break;case 4:for(p=e.readUInt16(),d=p/2,e.pos+=6,o=function(){var b,B;for(B=[],l=b=0;0<=d?b<d:b>d;l=0<=d?++b:--b)B.push(e.readUInt16());return B}(),e.pos+=2,A=function(){var b,B;for(B=[],l=b=0;0<=d?b<d:b>d;l=0<=d?++b:--b)B.push(e.readUInt16());return B}(),c=function(){var b,B;for(B=[],l=b=0;0<=d?b<d:b>d;l=0<=d?++b:--b)B.push(e.readUInt16());return B}(),u=function(){var b,B;for(B=[],l=b=0;0<=d?b<d:b>d;l=0<=d?++b:--b)B.push(e.readUInt16());return B}(),i=(this.length-e.pos+this.offset)/2,a=function(){var b,B;for(B=[],l=b=0;0<=i?b<i:b>i;l=0<=i?++b:--b)B.push(e.readUInt16());return B}(),l=m=0,y=o.length;m<y;l=++m)for(g=o[l],n=v=h=A[l];h<=g?v<=g:v>=g;n=h<=g?++v:--v)u[l]===0?s=n+c[l]:(s=a[u[l]/2+(n-h)-(d-l)]||0)!==0&&(s+=c[l]),this.codeMap[n]=65535&s}e.pos=f}return t.encode=function(e,r){var n,i,o,s,a,l,c,u,f,d,p,h,A,g,m,v,y,b,B,S,w,x,I,F,k,O,L,M,H,V,j,R,Q,z,X,_,G,W,J,ee,q,Z,re,fe,de,ie;switch(M=new Tm,s=Object.keys(e).sort(function(le,De){return le-De}),r){case"macroman":for(A=0,g=function(){var le=[];for(h=0;h<256;++h)le.push(0);return le}(),v={0:0},o={},H=0,Q=s.length;H<Q;H++)v[re=e[i=s[H]]]==null&&(v[re]=++A),o[i]={old:e[i],new:v[e[i]]},g[i]=v[e[i]];return M.writeUInt16(1),M.writeUInt16(0),M.writeUInt32(12),M.writeUInt16(0),M.writeUInt16(262),M.writeUInt16(0),M.write(g),{charMap:o,subtable:M.data,maxGlyphID:A+1};case"unicode":for(O=[],f=[],y=0,v={},n={},m=c=null,V=0,z=s.length;V<z;V++)v[B=e[i=s[V]]]==null&&(v[B]=++y),n[i]={old:B,new:v[B]},a=v[B]-i,m!=null&&a===c||(m&&f.push(m),O.push(i),c=a),m=i;for(m&&f.push(m),f.push(65535),O.push(65535),F=2*(I=O.length),x=2*Math.pow(Math.log(I)/Math.LN2,2),d=Math.log(x/2)/Math.LN2,w=2*I-x,l=[],S=[],p=[],h=j=0,X=O.length;j<X;h=++j){if(k=O[h],u=f[h],k===65535){l.push(0),S.push(0);break}if(k-(L=n[k].new)>=32768)for(l.push(0),S.push(2*(p.length+I-h)),i=R=k;k<=u?R<=u:R>=u;i=k<=u?++R:--R)p.push(n[i].new);else l.push(L-k),S.push(0)}for(M.writeUInt16(3),M.writeUInt16(1),M.writeUInt32(12),M.writeUInt16(4),M.writeUInt16(16+8*I+2*p.length),M.writeUInt16(0),M.writeUInt16(F),M.writeUInt16(x),M.writeUInt16(d),M.writeUInt16(w),q=0,_=f.length;q<_;q++)i=f[q],M.writeUInt16(i);for(M.writeUInt16(0),Z=0,G=O.length;Z<G;Z++)i=O[Z],M.writeUInt16(i);for(fe=0,W=l.length;fe<W;fe++)a=l[fe],M.writeUInt16(a);for(de=0,J=S.length;de<J;de++)b=S[de],M.writeUInt16(b);for(ie=0,ee=p.length;ie<ee;ie++)A=p[ie],M.writeUInt16(A);return{charMap:n,subtable:M.data,maxGlyphID:y+1}}},t}(),DMe=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Vp(e,fd),e.prototype.tag="cmap",e.prototype.parse=function(r){var n,i,o;for(r.pos=this.offset,this.version=r.readUInt16(),o=r.readUInt16(),this.tables=[],this.unicode=null,i=0;0<=o?i<o:i>o;i=0<=o?++i:--i)n=new oye(r,this.offset),this.tables.push(n),n.isUnicode&&this.unicode==null&&(this.unicode=n);return!0},e.encode=function(r,n){var i,o;return n==null&&(n="macroman"),i=oye.encode(r,n),(o=new Tm).writeUInt16(0),o.writeUInt16(1),i.table=o.data.concat(i.subtable),i},e}(),gsr=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Vp(e,fd),e.prototype.tag="hhea",e.prototype.parse=function(r){return r.pos=this.offset,this.version=r.readInt(),this.ascender=r.readShort(),this.decender=r.readShort(),this.lineGap=r.readShort(),this.advanceWidthMax=r.readShort(),this.minLeftSideBearing=r.readShort(),this.minRightSideBearing=r.readShort(),this.xMaxExtent=r.readShort(),this.caretSlopeRise=r.readShort(),this.caretSlopeRun=r.readShort(),this.caretOffset=r.readShort(),r.pos+=8,this.metricDataFormat=r.readShort(),this.numberOfMetrics=r.readUInt16()},e}(),vsr=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Vp(e,fd),e.prototype.tag="OS/2",e.prototype.parse=function(r){if(r.pos=this.offset,this.version=r.readUInt16(),this.averageCharWidth=r.readShort(),this.weightClass=r.readUInt16(),this.widthClass=r.readUInt16(),this.type=r.readShort(),this.ySubscriptXSize=r.readShort(),this.ySubscriptYSize=r.readShort(),this.ySubscriptXOffset=r.readShort(),this.ySubscriptYOffset=r.readShort(),this.ySuperscriptXSize=r.readShort(),this.ySuperscriptYSize=r.readShort(),this.ySuperscriptXOffset=r.readShort(),this.ySuperscriptYOffset=r.readShort(),this.yStrikeoutSize=r.readShort(),this.yStrikeoutPosition=r.readShort(),this.familyClass=r.readShort(),this.panose=function(){var n,i;for(i=[],n=0;n<10;++n)i.push(r.readByte());return i}(),this.charRange=function(){var n,i;for(i=[],n=0;n<4;++n)i.push(r.readInt());return i}(),this.vendorID=r.readString(4),this.selection=r.readShort(),this.firstCharIndex=r.readShort(),this.lastCharIndex=r.readShort(),this.version>0&&(this.ascent=r.readShort(),this.descent=r.readShort(),this.lineGap=r.readShort(),this.winAscent=r.readShort(),this.winDescent=r.readShort(),this.codePageRange=function(){var n,i;for(i=[],n=0;n<2;n=++n)i.push(r.readInt());return i}(),this.version>1))return this.xHeight=r.readShort(),this.capHeight=r.readShort(),this.defaultChar=r.readShort(),this.breakChar=r.readShort(),this.maxContext=r.readShort()},e}(),ysr=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Vp(e,fd),e.prototype.tag="post",e.prototype.parse=function(r){var n,i,o;switch(r.pos=this.offset,this.format=r.readInt(),this.italicAngle=r.readInt(),this.underlinePosition=r.readShort(),this.underlineThickness=r.readShort(),this.isFixedPitch=r.readInt(),this.minMemType42=r.readInt(),this.maxMemType42=r.readInt(),this.minMemType1=r.readInt(),this.maxMemType1=r.readInt(),this.format){case 65536:break;case 131072:var s;for(i=r.readUInt16(),this.glyphNameIndex=[],s=0;0<=i?s<i:s>i;s=0<=i?++s:--s)this.glyphNameIndex.push(r.readUInt16());for(this.names=[],o=[];r.pos<this.offset+this.length;)n=r.readByte(),o.push(this.names.push(r.readString(n)));return o;case 151552:return i=r.readUInt16(),this.offsets=r.read(i);case 196608:break;case 262144:return this.map=function(){var a,l,c;for(c=[],s=a=0,l=this.file.maxp.numGlyphs;0<=l?a<l:a>l;s=0<=l?++a:--a)c.push(r.readUInt32());return c}.call(this)}},e}(),Bsr=function(t,e){this.raw=t,this.length=t.length,this.platformID=e.platformID,this.encodingID=e.encodingID,this.languageID=e.languageID},Csr=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Vp(e,fd),e.prototype.tag="name",e.prototype.parse=function(r){var n,i,o,s,a,l,c,u,f,d,p;for(r.pos=this.offset,r.readShort(),n=r.readShort(),l=r.readShort(),i=[],s=0;0<=n?s<n:s>n;s=0<=n?++s:--s)i.push({platformID:r.readShort(),encodingID:r.readShort(),languageID:r.readShort(),nameID:r.readShort(),length:r.readShort(),offset:this.offset+l+r.readShort()});for(c={},s=f=0,d=i.length;f<d;s=++f)o=i[s],r.pos=o.offset,u=r.readString(o.length),a=new Bsr(u,o),c[p=o.nameID]==null&&(c[p]=[]),c[o.nameID].push(a);this.strings=c,this.copyright=c[0],this.fontFamily=c[1],this.fontSubfamily=c[2],this.uniqueSubfamily=c[3],this.fontName=c[4],this.version=c[5];try{this.postscriptName=c[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch{this.postscriptName=c[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=c[7],this.manufacturer=c[8],this.designer=c[9],this.description=c[10],this.vendorUrl=c[11],this.designerUrl=c[12],this.license=c[13],this.licenseUrl=c[14],this.preferredFamily=c[15],this.preferredSubfamily=c[17],this.compatibleFull=c[18],this.sampleText=c[19]},e}(),bsr=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Vp(e,fd),e.prototype.tag="maxp",e.prototype.parse=function(r){return r.pos=this.offset,this.version=r.readInt(),this.numGlyphs=r.readUInt16(),this.maxPoints=r.readUInt16(),this.maxContours=r.readUInt16(),this.maxCompositePoints=r.readUInt16(),this.maxComponentContours=r.readUInt16(),this.maxZones=r.readUInt16(),this.maxTwilightPoints=r.readUInt16(),this.maxStorage=r.readUInt16(),this.maxFunctionDefs=r.readUInt16(),this.maxInstructionDefs=r.readUInt16(),this.maxStackElements=r.readUInt16(),this.maxSizeOfInstructions=r.readUInt16(),this.maxComponentElements=r.readUInt16(),this.maxComponentDepth=r.readUInt16()},e}(),wsr=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Vp(e,fd),e.prototype.tag="hmtx",e.prototype.parse=function(r){var n,i,o,s,a,l,c;for(r.pos=this.offset,this.metrics=[],n=0,l=this.file.hhea.numberOfMetrics;0<=l?n<l:n>l;n=0<=l?++n:--n)this.metrics.push({advance:r.readUInt16(),lsb:r.readInt16()});for(o=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var u,f;for(f=[],n=u=0;0<=o?u<o:u>o;n=0<=o?++u:--u)f.push(r.readInt16());return f}(),this.widths=function(){var u,f,d,p;for(p=[],u=0,f=(d=this.metrics).length;u<f;u++)s=d[u],p.push(s.advance);return p}.call(this),i=this.widths[this.widths.length-1],c=[],n=a=0;0<=o?a<o:a>o;n=0<=o?++a:--a)c.push(this.widths.push(i));return c},e.prototype.forGlyph=function(r){return r in this.metrics?this.metrics[r]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[r-this.metrics.length]}},e}(),kMe=[].slice,xsr=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Vp(e,fd),e.prototype.tag="glyf",e.prototype.parse=function(){return this.cache={}},e.prototype.glyphFor=function(r){var n,i,o,s,a,l,c,u,f,d;return r in this.cache?this.cache[r]:(s=this.file.loca,n=this.file.contents,i=s.indexOf(r),(o=s.lengthOf(r))===0?this.cache[r]=null:(n.pos=this.offset+i,a=(l=new Tm(n.read(o))).readShort(),u=l.readShort(),d=l.readShort(),c=l.readShort(),f=l.readShort(),this.cache[r]=a===-1?new Esr(l,u,d,c,f):new Ssr(l,a,u,d,c,f),this.cache[r]))},e.prototype.encode=function(r,n,i){var o,s,a,l,c;for(a=[],s=[],l=0,c=n.length;l<c;l++)o=r[n[l]],s.push(a.length),o&&(a=a.concat(o.encode(i)));return s.push(a.length),{table:a,offsets:s}},e}(),Ssr=function(){function t(e,r,n,i,o,s){this.raw=e,this.numberOfContours=r,this.xMin=n,this.yMin=i,this.xMax=o,this.yMax=s,this.compound=!1}return t.prototype.encode=function(){return this.raw.data},t}(),Esr=function(){function t(e,r,n,i,o){var s,a;for(this.raw=e,this.xMin=r,this.yMin=n,this.xMax=i,this.yMax=o,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],s=this.raw;a=s.readShort(),this.glyphOffsets.push(s.pos),this.glyphIDs.push(s.readUInt16()),32&a;)s.pos+=1&a?4:2,128&a?s.pos+=8:64&a?s.pos+=4:8&a&&(s.pos+=2)}return t.prototype.encode=function(){var e,r,n;for(r=new Tm(kMe.call(this.raw.data)),e=0,n=this.glyphIDs.length;e<n;++e)r.pos=this.glyphOffsets[e];return r.data},t}(),Dsr=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Vp(e,fd),e.prototype.tag="loca",e.prototype.parse=function(r){var n,i;return r.pos=this.offset,n=this.file.head.indexToLocFormat,this.offsets=n===0?function(){var o,s;for(s=[],i=0,o=this.length;i<o;i+=2)s.push(2*r.readUInt16());return s}.call(this):function(){var o,s;for(s=[],i=0,o=this.length;i<o;i+=4)s.push(r.readUInt32());return s}.call(this)},e.prototype.indexOf=function(r){return this.offsets[r]},e.prototype.lengthOf=function(r){return this.offsets[r+1]-this.offsets[r]},e.prototype.encode=function(r,n){for(var i=new Uint32Array(this.offsets.length),o=0,s=0,a=0;a<i.length;++a)if(i[a]=o,s<n.length&&n[s]==a){++s,i[a]=o;var l=this.offsets[a],c=this.offsets[a+1]-l;c>0&&(o+=c)}for(var u=new Array(4*i.length),f=0;f<i.length;++f)u[4*f+3]=255&i[f],u[4*f+2]=(65280&i[f])>>8,u[4*f+1]=(16711680&i[f])>>16,u[4*f]=(4278190080&i[f])>>24;return u},e}(),ksr=function(){function t(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return t.prototype.generateCmap=function(){var e,r,n,i,o;for(r in i=this.font.cmap.tables[0].codeMap,e={},o=this.subset)n=o[r],e[r]=i[n];return e},t.prototype.glyphsFor=function(e){var r,n,i,o,s,a,l;for(i={},s=0,a=e.length;s<a;s++)i[o=e[s]]=this.font.glyf.glyphFor(o);for(o in r=[],i)(n=i[o])!=null&&n.compound&&r.push.apply(r,n.glyphIDs);if(r.length>0)for(o in l=this.glyphsFor(r))n=l[o],i[o]=n;return i},t.prototype.encode=function(e,r){var n,i,o,s,a,l,c,u,f,d,p,h,A,g,m;for(i in n=DMe.encode(this.generateCmap(),"unicode"),s=this.glyphsFor(e),p={0:0},m=n.charMap)p[(l=m[i]).old]=l.new;for(h in d=n.maxGlyphID,s)h in p||(p[h]=d++);return u=function(v){var y,b;for(y in b={},v)b[v[y]]=y;return b}(p),f=Object.keys(u).sort(function(v,y){return v-y}),A=function(){var v,y,b;for(b=[],v=0,y=f.length;v<y;v++)a=f[v],b.push(u[a]);return b}(),o=this.font.glyf.encode(s,A,p),c=this.font.loca.encode(o.offsets,A),g={cmap:this.font.cmap.raw(),glyf:o.table,loca:c,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(r)},this.font.os2.exists&&(g["OS/2"]=this.font.os2.raw()),this.font.directory.encode(g)},t}();qr.API.PDFObject=function(){var t;function e(){}return t=function(r,n){return(Array(n+1).join("0")+r).slice(-n)},e.convert=function(r){var n,i,o,s;if(Array.isArray(r))return"["+function(){var a,l,c;for(c=[],a=0,l=r.length;a<l;a++)n=r[a],c.push(e.convert(n));return c}().join(" ")+"]";if(typeof r=="string")return"/"+r;if(r?.isString)return"("+r+")";if(r instanceof Date)return"(D:"+t(r.getUTCFullYear(),4)+t(r.getUTCMonth(),2)+t(r.getUTCDate(),2)+t(r.getUTCHours(),2)+t(r.getUTCMinutes(),2)+t(r.getUTCSeconds(),2)+"Z)";if({}.toString.call(r)==="[object Object]"){for(i in o=["<<"],r)s=r[i],o.push("/"+i+" "+e.convert(s));return o.push(">>"),o.join(` `)}return""+r},e}();const kd=3.77952755906,IE={method:"save",resolution:3,page:{margin:0,format:"A4",orientation:"portrait"},canvas:{mimeType:"image/jpeg",qualityRatio:1,useCORS:!0,logging:!1},overrides:{}};class Osr{constructor(e,r){Tt(this,"pdf");Tt(this,"canvas");Tt(this,"options");this.canvas=e,this.options=r,this.pdf=new qr({format:this.options.page?.format,orientation:this.options.page?.orientation,...this.options.overrides?.pdf,unit:"mm"})}getMarginTopMM(){const e=typeof this.options.page?.margin=="object"?this.options.page?.margin.top:this.options.page?.margin;return Number(e)}getMarginLeftMM(){const e=typeof this.options.page?.margin=="object"?this.options.page?.margin.left:this.options.page?.margin;return Number(e)}getMarginRightMM(){const e=typeof this.options.page?.margin=="object"?this.options.page?.margin.right:this.options.page?.margin;return Number(e)}getMarginBottomMM(){const e=typeof this.options.page?.margin=="object"?this.options.page?.margin.bottom:this.options.page?.margin;return Number(e)}getMarginTop(){return this.getMarginTopMM()*kd}getMarginBottom(){return this.getMarginBottomMM()*kd}getMarginLeft(){return this.getMarginLeftMM()*kd}getMarginRight(){return this.getMarginRightMM()*kd}getScale(){return this.options.resolution}getPageHeight(){return this.getPageHeightMM()*kd}getPageHeightMM(){return this.pdf.internal.pageSize.height}getPageWidthMM(){return this.pdf.internal.pageSize.width}getPageWidth(){return this.getPageWidthMM()*kd}getOriginalCanvasWidth(){return this.canvas.width/this.getScale()}getOriginalCanvasHeight(){return this.canvas.height/this.getScale()}getCanvasPageAvailableHeight(){return this.getPageAvailableHeight()*this.getScale()*this.getHorizontalFitFactor()}getPageAvailableWidth(){return this.getPageWidth()-(this.getMarginLeft()+this.getMarginRight())}getPageAvailableHeight(){return this.getPageHeight()-(this.getMarginTop()+this.getMarginBottom())}getPageAvailableWidthMM(){return this.getPageAvailableWidth()/kd}getPageAvailableHeightMM(){return this.getPageAvailableHeight()/kd}getNumberPages(){return Math.ceil(this.canvas.height/this.getCanvasPageAvailableHeight())}getHorizontalFitFactor(){return this.getPageAvailableWidth()<this.getOriginalCanvasWidth()?this.getOriginalCanvasWidth()/this.getPageAvailableWidth():1}getCanvasOffsetY(e){return this.getCanvasPageAvailableHeight()*(e-1)}getCanvasHeightLeft(e){return this.canvas.height-this.getCanvasOffsetY(e)}getCanvasPageHeight(e){if(this.canvas.height<this.getCanvasPageAvailableHeight())return this.canvas.height;const r=this.getCanvasHeightLeft(e);return r<this.getCanvasPageAvailableHeight()?r:this.getCanvasPageAvailableHeight()}getCanvasPageWidth(){return this.canvas.width}createCanvasPage(e){const r=this.getCanvasPageWidth(),n=this.getCanvasPageHeight(e),i=document.createElement("canvas");i.setAttribute("width",String(r)),i.setAttribute("height",String(n));const o=i.getContext("2d");if(!o)throw new Error("Canvas 2d context not available");return o.drawImage(this.canvas,0,this.getCanvasOffsetY(e),this.canvas.width,n,0,0,this.canvas.width,n),i}createFullSizedCanvasPage(){const e=document.createElement("canvas");e.setAttribute("width",String(this.canvas.width)),e.setAttribute("height",String(this.canvas.height));const r=e.getContext("2d");if(!r)throw new Error("Canvas 2d context not available");return r.drawImage(this.canvas,0,0),e}convert(){if(this.options.onePage){const i=this.createFullSizedCanvasPage().toDataURL(this.options.canvas?.mimeType,this.options.canvas?.qualityRatio);return this.pdf=new qr({format:[this.getOriginalCanvasWidth(),this.getOriginalCanvasHeight()],orientation:"portrait",...this.options.overrides?.pdf,unit:"mm"}),this.pdf.addImage({imageData:i,width:this.getOriginalCanvasWidth(),height:this.getOriginalCanvasHeight(),x:0,y:0}),this.pdf}let e=1;const r=this.getNumberPages();for(;e<=r;){e>1&&this.pdf.addPage(this.options.page?.format,this.options.page?.orientation);const n=this.createCanvasPage(e),i=n.toDataURL(this.options.canvas?.mimeType,this.options.canvas?.qualityRatio);this.pdf.setPage(e),this.pdf.addImage({imageData:i,width:n.width/(this.getScale()*kd*this.getHorizontalFitFactor()),height:n.height/(this.getScale()*kd*this.getHorizontalFitFactor()),x:this.getMarginLeftMM(),y:this.getMarginTopMM()}),e+=1}return this.pdf}}const Psr=t=>typeof t=="function"?t():t?.current,Isr=t=>{const e=E.useRef(),r=E.useCallback(n=>Tsr(e,t??n),[e,t]);return{targetRef:e,toPDF:r}},Nsr=t=>t?{...IE,...t,canvas:{...IE.canvas,...t.canvas},page:{...IE.page,...t.page}}:IE,Fsr=()=>{const t=[];return document.querySelector("iframe")?.contentDocument?.fonts?.forEach(e=>{t.push(e)}),document.fonts.forEach(e=>{t.push(e)}),t},Tsr=async(t,e)=>{const r=Nsr(e),n=Psr(t);if(!n){console.error("Unable to get the target element.");return}const i=await aMe(n,{useCORS:r.canvas.useCORS,logging:r.canvas.logging,scale:r.resolution,onclone:a=>{Fsr().forEach(l=>{a.fonts.add(l)})},...r.overrides?.canvas}),s=new Osr(i,r).convert();switch(r.method){case"build":return s;case"open":return window.open(s.output("bloburl"),"_blank"),s;case"save":default:{const a=r.filename??`${new Date().getTime()}.pdf`;return await s.save(a,{returnPromise:!0}),s}}},Lsr=_A(` body { padding: 0; margin: 0; } :root { --cfs-title-color: hsl(0, 0%, 0%); --cfs-paragrapgh-color: rgba(23, 29, 52, 0.6); --cfs-background: white; } :root.cf-theme-dark { --cfs-title-color: hsl(0, 0%, 100%); --cfs-paragrapgh-color: rgba(255, 255, 255, 0.6); --cfs-background: hsl(220, 14%, 14%); } .cfs-style-guide-main { margin: 0 auto; } .cfs-page { background-color: var(--cfs-background); } .cfs-header { padding: 40px; } .cfs-section { margin: 20px; padding: 20px; display: flex; flex-direction: column; break-inside: avoid; page-break-before: always; } .cfs-sub-section { margin-top: 20px; margin-bottom: 20px; display: flex; flex-direction: column; break-inside: avoid; break-after: auto; page-break-before: always; } .cfs-title { font-size: 32; text-align: left; color: var(--cfs-title-color); font-weight: bold; } .cfs-sub-title { font-size: 18; text-align: left; color: var(--cfs-title-color); font-weight: bold; } .cfs-p { font-size: 18px; text-align: left; color: var(--cfs-paragrapgh-color); max-width: 450px; margin-top: 8px; } .cfs-var { font-family: monospace; color: var(--cfs-paragrapgh-color); font-size: 14px; } .cfs-image { width: 150px; height: 150px; object-fit: cover; } .cfs-star { width: 12px; height: 12px; margin-right: 8px; } .cfs-section-two-columns { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 5px; width: 100%; margin-top: 20px; margin-bottom: 20px; break-inside: avoid; break-after: auto; page-break-before: always; } .cfs-column-one { flex-grow: 0; max-width: 150px; width: 150px; } .cfs-color { flex-grow: 0; page-break-inside: avoid; } .cfs-column-two { flex-grow: 1; display: flex; } .cfs-column-gap-large { display: flex; flex-direction: column; gap: 40px; } .cfs-column-gap-small { display: flex; flex-direction: column; gap: 20px; } .cfs-color-preview-main { width: 100%; height: 75px; } .cfs-color-preview-value { font-size: 14; text-align: left; color: var(--cfs-paragrapgh-color); } .cfs-color-preview-footer { padding: 8px; border: 1px solid var(--cfs-paragrapgh-color); border-top: none; } .cfs-color-preview-badge { font-size: 14px; border-radius: 4px; width: fit-content; color: var(--cfs-paragrapgh-color); } .cfs-color-preview-value { margin-top: 5px; font-size: 12px; font-weight: light; text-align: left; color: var(--cfs-paragrapgh-color); } .cfs-colors-wrapper { display: grid; page-break-inside: avoid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 5px; } .cfs-badge { margin-bottom: 8px; margin-top: 8px; padding: 5px; font-size: 14px; border-radius: 4px; width: fit-content; color: var(--cfs-paragrapgh-color); } .cfs-flex-wrap-container { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; width: 100%; } .cfs-page-break { page-break-inside: avoid; } .cfs-color-title { margin-bottom: 10px; } .cfs-icon-wrapper { display: grid; grid-template-columns: min-content 1fr; gap: 5px; } .cfs-icon-wrapper > svg { width: 18px; height: 18px; opacity: 0.6; color: var(--cfs-paragrapgh-color); } .cfs-icon-wrapper > div { display: flex; align-items: center; color: var(--cfs-paragrapgh-color); } .cfs-typo-preview-wrapper { display: flex; flex-direction: column; } .cfs-typo-preview-wrapper > span { color: var(--cfs-title-color); font-weight: 400; } .cfs-calculator-row { display: grid; gap: 20px; width: 100%; grid-template-columns: 100px 1fr; align-items: center; border-bottom: 1px solid var(--cfs-paragrapgh-color); padding-bottom: 20px; } .cfs-calculator-row:last-child { border-bottom: 1px solid transparent; } .cfs-calculator-preview { display: grid; gap: 20px; width: 100%; letter-spacing: initial; font-weight: 200; line-height: 1; overflow: hidden; } .cfs-calculator-preview svg { flex: 0 0 16px; width: 16px; height: 16px; opacity: 0.3; } .cfs-calculator-preview .cfs-calculator-preview-single { display: grid; grid-template-columns: 75px 20px 1fr; align-items: center; gap: 20px; } .cfs-calculator-preview .cfs-calculator-preview-single svg { height: 18px; width: 20px; } .cfs-calculator-preview .cfs-calculator-preview-single > p { width: 100%; transition: font-size 0.2s ease-in-out; line-height: 1 !important; white-space: nowrap; } .cfs-calculator-preview .cfs-calculator-preview-single:nth-child(1) p { opacity: 0.5; } .cfs-calculator-preview .cfs-calculator-preview-single:nth-child(1) div { opacity: 0.75; } .cfs-calculator-preview .cfs-calculator-preview-single > span { text-align: right; align-items: center; font-size: 16px; flex: 0 0 4.5rem; } .cfs-calculator-preview .cfs-calculator-preview-single .cfs-spacing-preview { height: 1rem; background: var(--primary); } .cfs-calculator-preview-label { font-size: 12px; color: var(--cfs-paragrapgh-color); } `),lQ=(t,e)=>{if(!t.classList.contains(e))return e&&!/\s/.test(e)?t.classList.add(e):e.split(" ").forEach(r=>{const n=r.trim().replace(/\s/g,"-");n&&t.classList.add(n)}),t},cQ=(t,e)=>{if(t.id!==e)return t.id=e,t},Rsr=({selectors:t,node:e,type:r})=>{if(t?.length)return t=t.map(n=>n.trim()).filter(Boolean),t.forEach(n=>{const i=n.startsWith("."),o=n.startsWith("#");if(n=n.slice(1),r==="radio"){[...e.querySelectorAll("input[type=radio]")].forEach(a=>{i&&n&&lQ(a,n),o&&n&&cQ(a,n)});return}if(r==="checkbox"){[...e.querySelectorAll("input[type=checkbox]")].forEach(a=>{i&&n&&lQ(a,n),o&&n&&cQ(a,n)});return}i&&n&&lQ(e,n),o&&n&&cQ(e,n)}),e},sye=({type:t,selectors:e})=>{let r;switch(t){case"button":r=document.createElement("button"),r.textContent="Hello World";break;case"input":r=document.createElement("input"),r.type="text",r.placeholder="Just tell me...";break;case"select":r=document.createElement("select");const n=document.createElement("option");n.value="1",n.textContent="Select me!",r.appendChild(n);break;case"textarea":r=document.createElement("textarea"),r.placeholder="What a story...";break;case"checkbox":r=document.createElement("fieldset");for(let i=0;i<3;i++){const o=document.createElement("input");o.type="checkbox",o.name=`checkbox-${i}`,o.id=`checkbox-${i}`,r.appendChild(o)}break;case"radio":r=document.createElement("fieldset");for(let i=0;i<3;i++){const o=document.createElement("input");o.type="radio",o.name="radio",o.id=`radio-${i}`,r.appendChild(o)}break;case"img":r=document.createElement("img"),r.src="https://picsum.photos/320/240",r.alt="Preview of image";break;case"icon":r=document.createElementNS("http://www.w3.org/2000/svg","svg"),r.setAttribute("viewBox","0 0 24 24"),r.setAttribute("width","24"),r.setAttribute("height","24"),r.setAttribute("stroke","currentColor"),r.innerHTML=` <path d="M12,10a8.51784,8.51784,0,0,1,9,0" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/><path d="M3,10c0-4.41828,4.02944-8,9-8s9,3.58172,9,8" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/><line x1="12" y1="15" x2="3" y2="10" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/><line x1="21" y1="10" x2="12" y2="15" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/><rect x="7" y="15" width="10" height="7" rx="1.5" stroke-width="1.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" fill="none"/><line x1="12" y1="15" x2="12" y2="10" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/><path d="M10.35,15h3.3a0,0,0,0,1,0,0v2.5a.5.5,0,0,1-.5.5h-2.3a.5.5,0,0,1-.5-.5V15a0,0,0,0,1,0,0Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/> `;break;case"hr":r=document.createElement("hr");break;case"link":r=document.createElement("a"),r.onclick=i=>i.preventDefault(),r.textContent="I will lead a way";break;case"card":r=document.createElement("div"),r.innerHTML=` <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><line x1="16.5" y1="2.99999" x2="16.5" y2="5.99999" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/><line x1="7.5" y1="2.99999" x2="7.5" y2="5.99999" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/><rect x="3" y="4.49999" width="18" height="16.5" rx="3" stroke-width="1.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" fill="none"/><g id="Layer_22" data-name="Layer 22"><circle cx="12" cy="12.99999" r="4" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/><path d="M16,12.9982l-7.99989.00353" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/></g><path d="M24,0H0V24H24Z" fill="none"/></svg> <b>A silly headline, I am</b> <p>Here's something amazing about this card. It may not sound that amazing, but it is.</p>`;break}if(r)return Rsr({selectors:e,node:r,type:t}),r},Msr={format:!0,combineSelectors:!0,propertyValidation:!1,valueValidation:!1,manualDarkMode:!0},_sr=E.forwardRef(({settings:t},e)=>{const r=Xn(E.useCallback(I=>I(T9e),[])),{root_font_size:n,is_rem:i,max_screen_width:o,min_screen_width:s}=tn(xs),a=tn(eu),l=tn(ad),c=tn(ef),u=tn(Zu),f=tn(UC),{getCssVarsObjects:d}=tx(),[p,h]=E.useState(""),[A,g]=E.useState(""),m=E.useMemo(()=>l?.groups?.[0]?.colors?.[0],[l]),v=E.useMemo(()=>c.groups[0],[c]),y=E.useMemo(()=>gC({spacingState:{groups:[v]},root_font_size:n||16,is_rem:!!i,max_screen_width:o||bs,min_screen_width:s||bn}),[v]),b=E.useMemo(()=>u.groups[0],[u]),B=E.useMemo(()=>yC({typographyData:{groups:[b]},root_font_size:n||16,is_rem:!!i,max_screen_width:o||bs,min_screen_width:s||bn}),[b]),S=E.useCallback(async()=>{const I=r(),F=d(),k=[...I,...F],O=await HA({cssObjects:k,options:Msr});h(O);const L=a?.modulesData?.COMPONENTS?.components?.map(M=>UZ(M));L&&g(await Promise.all(L).then(M=>M.join(` `)))},[JSON.stringify(l),JSON.stringify(c),JSON.stringify(u),JSON.stringify(f)]);E.useEffect(()=>{S()},[JSON.stringify(l),JSON.stringify(c),JSON.stringify(u),JSON.stringify(f)]);const w=E.useMemo(()=>f?.components?.map(I=>{const k={components:[{element:sye({type:I.type,selectors:[I.selector]}),name:I.selector,id:"default"}],type:I.type,name:I.selector,id:I.id};for(const{variantSelector:L,id:M}of I.variants??[]){if(!L||L.startsWith(":"))continue;const H=sye({type:I.type,selectors:[I.selector,L??""]});k.components.push({name:L,element:H,id:M})}const O=I.order;if(O&&O?.length>0){const L=k.components.sort((M,H)=>{const V=O?.indexOf(M.id)??0,j=O?.indexOf(H.id)??0;return V-j});return{...k,components:L}}return k}).filter(Boolean),[JSON.stringify(f)]),x=E.useMemo(()=>{const I=Si(m?.value??"#ffffff");return`:root { ${[{name:"main-color-background",value:I.alpha(.025).toHex()},{name:"main-color-secondary-background",value:I.alpha(.05).toHex()},{name:"main-color-accent",value:I.mix("#ffffff",.65).toHex()},{name:"main-color-accent-two",value:I.mix("#ffffff",.95).toHex()}].map(k=>`--${k.name}: ${k.value};`).join(" ")} }`},[JSON.stringify(m)]);return E.useEffect(()=>{const F=document.querySelector("iframe")?.contentDocument?.querySelector("html");F?.classList.remove("cf-theme-dark","cf-theme-light"),F?.classList.add(t.isDarkMode?"cf-theme-dark":"cf-theme-light")},[t.isDarkMode]),C.jsxs("div",{className:"cfs-style-guide-main",children:[[{name:"css-reset",css:I7e},{name:"variables",css:p},{name:"components",css:A},{name:"accent-color",css:x}].map(I=>C.jsx("style",{id:`core-framework-style-guide-${I.name}`,children:_A(I.css)},I.name)),C.jsx("style",{id:"core-framework-style-guide-main",children:Lsr}),C.jsx("style",{children:a?.preferences?.root_font_size?`html { font-size: ${a?.preferences?.root_font_size}px; }`:""}),C.jsxs("div",{ref:e,style:{paddingBottom:400},children:[C.jsx("div",{style:{backgroundColor:"var(--main-color-secondary-background)"},children:C.jsx("div",{className:"cfs-header",children:C.jsxs("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",marginBottom:8},children:[C.jsx("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA9CAYAAADxoArXAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABRwSURBVHgB7VsLlFXVef73ed7nvO4MM8zwUFBkAYo2GKMmrWS12rhMjC/SNI1Rq/VVjTGJj3bFhUmjRrtS47t5tCvWxARNLFqpJrWYIApCFAVEGIFhhgFm5s7jvu89556z+/17nwGT+uDpWknYcLj3nnvuPvt/ff/3//tA9Ec0JJFh0OFxeBweh8fv0RB0kMfSpdKaOIfiOyUlgwI1ZGt+i5WyOyoGTaiH1OrXqSOo0SRpUGfgUaNf8HrDulzv2sbWmGX0ShlumxC3h49so5Hj2qkshJB0EMd+C7y8IqcWsnRqJaQJmGUymdThhZTx6tTq+ZSBYCnfI0eG5IQGOWRJI8TvpNS35Zd6sU5erkwhTobCImm6fIkna9US1atjtun0CEP0W4bojtn0lhmztjs+be9oio19+njKQxkh7ePYL4Ef3SqP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V3d/e3n6g2zerCzswVndY/7c8zz79345k+2fLsLpmkw+PwODwOeEj9HNsfzfg/G4C8yklVDeoAAAAASUVORK5CYII=",style:{width:25,height:25,marginRight:6}}),C.jsx("p",{className:"cfs-title",children:t.title})]})})}),l?.isDisabled?null:C.jsxs("div",{className:"cfs-sub-section",children:[C.jsxs("div",{className:"cfs-section",children:[C.jsxs("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",marginBottom:8},children:[C.jsx("svg",{style:{width:14,height:14,marginRight:4},width:"28",height:"27",viewBox:"0 0 28 27",fill:"none",children:C.jsx("path",{d:"M13.0742 0.767584C13.4128 -0.0617635 14.5872 -0.0617603 14.9258 0.767587L18.1899 8.76229C18.2915 9.01109 18.4889 9.20853 18.7377 9.31011L26.7324 12.5742C27.5618 12.9128 27.5618 14.0872 26.7324 14.4258L18.7377 17.6899C18.4889 17.7915 18.2915 17.9889 18.1899 18.2377L14.9258 26.2324C14.5872 27.0618 13.4128 27.0618 13.0742 26.2324L9.81011 18.2377C9.70853 17.9889 9.51109 17.7915 9.26229 17.6899L1.26758 14.4258C0.438236 14.0872 0.43824 12.9128 1.26759 12.5742L9.26229 9.31011C9.51109 9.20853 9.70853 9.01109 9.81011 8.76229L13.0742 0.767584Z",fill:m?.value??"blue"})}),C.jsx("p",{className:"cfs-sub-title",children:"Colors"})]}),C.jsx("p",{className:"cfs-p",children:"Colors play a pivotal role, conveying emotions, establishing a visual language, and creating a memorable impression."})]}),C.jsx("div",{className:"cfs-section cfs-column-gap-large",children:l?.groups?.map(I=>C.jsxs("div",{children:[C.jsxs("p",{className:"cfs-sub-title",children:[I.name," Colors"]}),C.jsx("div",{className:"cfs-flex-wrap-container cfs-column-gap-large",children:I.colors.map(F=>C.jsxs("div",{className:zr({"cfs-section-two-columns":F.shades?.length||F.tints?.length}),children:[C.jsx("div",{className:"cfs-column-one",children:C.jsxs("div",{className:"cfs-page-break",children:[C.jsx("p",{className:"cfs-p cfs-color-title",children:F.name}),C.jsx("div",{className:"cfs-color-preview-main",style:{backgroundColor:F.value}}),C.jsxs("div",{className:"cfs-color-preview-footer",style:{backgroundColor:Si(F.value).alpha(.1).toHex(),borderColor:Si(F.value).alpha(.1).toHex()},children:[C.jsx("p",{className:"cfs-color-preview-badge cfs-var",children:F.name}),C.jsx("p",{className:"cfs-color-preview-value",children:F.value})]})]})}),F.shades?.length||F.tints?.length?C.jsxs("div",{className:"cfs-column-two",style:{flexDirection:"column",gap:10},children:[F.shades?.length?C.jsxs("div",{children:[C.jsx("p",{className:"cfs-p cfs-color-title",children:"Shades"}),C.jsx("div",{className:"cfs-colors-wrapper",children:F.shades.map(k=>C.jsxs("div",{className:"cfs-color",style:{backgroundColor:Si(F.value).alpha(.1).toHex()},children:[C.jsx("div",{className:"cfs-color-preview-main",style:{backgroundColor:k.value}}),C.jsxs("div",{className:"cfs-color-preview-footer",style:{borderColor:Si(F.value).alpha(.1).toHex()},children:[C.jsx("p",{className:"cfs-color-preview-badge cfs-var",children:k.name}),C.jsx("p",{className:"cfs-color-preview-value",children:k.value})]})]},k.name))})]}):null,F.tints?.length?C.jsxs("div",{style:{marginTop:10},children:[C.jsx("p",{className:"cfs-p cfs-color-title",children:"Tints"}),C.jsx("div",{className:"cfs-colors-wrapper",children:F.tints.map(k=>C.jsxs("div",{style:{backgroundColor:Si(F.value).alpha(.1).toHex()},children:[C.jsx("div",{className:"cfs-color-preview-main",style:{backgroundColor:k.value}}),C.jsxs("div",{className:"cfs-color-preview-footer",style:{borderColor:Si(F.value).alpha(.1).toHex()},children:[C.jsx("p",{className:"cfs-color-preview-badge cfs-var",children:k.name}),C.jsx("p",{className:"cfs-color-preview-value",children:k.value})]})]},k.name))})]}):null]}):null]},F.id))})]},I.id))})]}),b?.isDisabled?null:C.jsxs("div",{children:[C.jsxs("div",{className:"cfs-section",children:[C.jsxs("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",marginBottom:8},children:[C.jsx("svg",{style:{width:14,height:14,marginRight:4},width:"28",height:"27",viewBox:"0 0 28 27",fill:"none",children:C.jsx("path",{d:"M13.0742 0.767584C13.4128 -0.0617635 14.5872 -0.0617603 14.9258 0.767587L18.1899 8.76229C18.2915 9.01109 18.4889 9.20853 18.7377 9.31011L26.7324 12.5742C27.5618 12.9128 27.5618 14.0872 26.7324 14.4258L18.7377 17.6899C18.4889 17.7915 18.2915 17.9889 18.1899 18.2377L14.9258 26.2324C14.5872 27.0618 13.4128 27.0618 13.0742 26.2324L9.81011 18.2377C9.70853 17.9889 9.51109 17.7915 9.26229 17.6899L1.26758 14.4258C0.438236 14.0872 0.43824 12.9128 1.26759 12.5742L9.26229 9.31011C9.51109 9.20853 9.70853 9.01109 9.81011 8.76229L13.0742 0.767584Z",fill:m?.value??"blue"})}),C.jsx("p",{className:"cfs-sub-title",children:"Typography"})]}),C.jsx("p",{className:"cfs-p",children:"Typography is the art and technique of arranging type to make written language legible, readable, and appealing when"})]}),(b?.mode??"fluid")==="fluid"?C.jsx("div",{className:"cfs-section",style:{display:"flex",flexDirection:"column",gap:20},children:B?.typeScales?.map((I,F)=>C.jsxs("div",{className:"cfs-calculator-row",children:[C.jsx("span",{className:"cfs-var",children:(Object.keys(B.declarations[F])??"")[0].replace("--","")}),C.jsxs("div",{className:"cfs-calculator-preview",children:[C.jsxs("div",{className:"cfs-calculator-preview-single",children:[C.jsxs("span",{className:"cfs-calculator-preview-label",children:[B.typeScales[F].min,"px"]}),C.jsx(QB,{}),C.jsx("p",{style:{fontSize:`${B.typeScales[F].min}px`},children:"Minimum"})]}),C.jsxs("div",{className:"cfs-calculator-preview-single",children:[C.jsxs("span",{className:"cfs-calculator-preview-label",children:[Number(B.typeScales[F].max)<Number(B.typeScales[F].min)?B.typeScales[F].min:B.typeScales[F].max,"px"]}),C.jsx(UB,{}),C.jsx("p",{style:{fontSize:`${Number(B.typeScales[F].max)<Number(B.typeScales[F].min)?B.typeScales[F].min:B.typeScales[F].max}px`},children:"Maximum"})]})]})]},`key-${F}`))}):C.jsx("div",{className:"cfs-section",style:{display:"flex",flexDirection:"column",gap:20},children:b?.manualSizes?.map(I=>C.jsxs("div",{className:"cfs-calculator-row",children:[C.jsx("span",{className:"cfs-var",children:I.name.replace("--","")}),C.jsxs("div",{className:"cfs-calculator-preview",children:[C.jsxs("div",{className:"cfs-calculator-preview-single",children:[C.jsxs("span",{className:"cfs-calculator-preview-label",children:[I.min,"px"]}),C.jsx(QB,{}),C.jsx("p",{style:{fontSize:`${I.min}px`},children:"Minimum"})]}),C.jsxs("div",{className:"cfs-calculator-preview-single",children:[C.jsxs("span",{className:"cfs-calculator-preview-label",children:[Number(I.max)<Number(I.min)?I.min:I.max,"px"]}),C.jsx(UB,{}),C.jsx("p",{style:{fontSize:`${Number(I.max)<Number(I.min)?I.min:I.max}px`},children:"Maximum"})]})]})]},`key-${I.id}`))})]}),c?.isDisabled?null:C.jsxs("div",{children:[C.jsxs("div",{className:"cfs-section",children:[C.jsxs("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",marginBottom:8},children:[C.jsx("svg",{style:{width:14,height:14,marginRight:4},width:"28",height:"27",viewBox:"0 0 28 27",fill:"none",children:C.jsx("path",{d:"M13.0742 0.767584C13.4128 -0.0617635 14.5872 -0.0617603 14.9258 0.767587L18.1899 8.76229C18.2915 9.01109 18.4889 9.20853 18.7377 9.31011L26.7324 12.5742C27.5618 12.9128 27.5618 14.0872 26.7324 14.4258L18.7377 17.6899C18.4889 17.7915 18.2915 17.9889 18.1899 18.2377L14.9258 26.2324C14.5872 27.0618 13.4128 27.0618 13.0742 26.2324L9.81011 18.2377C9.70853 17.9889 9.51109 17.7915 9.26229 17.6899L1.26758 14.4258C0.438236 14.0872 0.43824 12.9128 1.26759 12.5742L9.26229 9.31011C9.51109 9.20853 9.70853 9.01109 9.81011 8.76229L13.0742 0.767584Z",fill:m?.value??"blue"})}),C.jsx("p",{className:"cfs-sub-title",children:"Spacing"})]}),C.jsx("p",{className:"cfs-p",children:"Fluid variables are used to create consistent spacing between elements. They are based on a modular scale and are calculated based on the viewport width."})]}),(v?.mode??"fluid")==="fluid"?C.jsx("div",{className:"cfs-section",style:{display:"flex",flexDirection:"column",gap:5},children:y?.typeScales?.map((I,F)=>C.jsxs("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",gap:5},children:[C.jsxs("div",{style:{display:"flex",flexDirection:"row"},children:[C.jsx("div",{style:{width:I.min,height:15,backgroundColor:Si(m?.value??"#ffffff").mix("#ffffff",.65).toHex()}}),C.jsx("div",{style:{width:Number(I.max)-Number(I.min),height:15,backgroundColor:Si(m?.value??"#ffffff").mix("#ffffff",.75).toHex()}})]}),C.jsxs("p",{style:{fontSize:14,textAlign:"left",maxWidth:300,padding:4,marginTop:0},className:"cfs-p",children:[C.jsx("span",{className:"cfs-var",children:(Object.keys(y.declarations[F])??"")[0].replace("--","")})," ",C.jsxs("span",{style:{opacity:.8},children:["(",I.min,"px - ",I.max,"px",")"]})]})]},String(I.min)+F))}):C.jsx("div",{className:"cfs-section",style:{display:"flex",flexDirection:"column",gap:5},children:v?.manualSizes?.map((I,F)=>C.jsxs("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",gap:5},children:[C.jsxs("div",{style:{display:"flex",flexDirection:"row"},children:[C.jsx("div",{style:{width:I.min,height:15,backgroundColor:Si(m?.value??"#ffffff").mix("#ffffff",.65).toHex()}}),C.jsx("div",{style:{width:Number(I.max)-Number(I.min),height:15,backgroundColor:Si(m?.value??"#ffffff").mix("#ffffff",.75).toHex()}})]}),C.jsxs("p",{style:{fontSize:14,textAlign:"left",color:"rgba(23, 29, 52, 0.60)",maxWidth:300,padding:4},children:[I.name.replace("--","")," ","(",I.min,"px - ",I.max,"px",")"]})]},I.id+F))})]}),a?.modulesData?.COMPONENTS?.isDisabled?null:C.jsxs("div",{children:[C.jsxs("div",{className:"cfs-section",children:[C.jsxs("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",marginBottom:8},children:[C.jsx("svg",{style:{width:14,height:14,marginRight:4},width:"28",height:"27",viewBox:"0 0 28 27",fill:"none",children:C.jsx("path",{d:"M13.0742 0.767584C13.4128 -0.0617635 14.5872 -0.0617603 14.9258 0.767587L18.1899 8.76229C18.2915 9.01109 18.4889 9.20853 18.7377 9.31011L26.7324 12.5742C27.5618 12.9128 27.5618 14.0872 26.7324 14.4258L18.7377 17.6899C18.4889 17.7915 18.2915 17.9889 18.1899 18.2377L14.9258 26.2324C14.5872 27.0618 13.4128 27.0618 13.0742 26.2324L9.81011 18.2377C9.70853 17.9889 9.51109 17.7915 9.26229 17.6899L1.26758 14.4258C0.438236 14.0872 0.43824 12.9128 1.26759 12.5742L9.26229 9.31011C9.51109 9.20853 9.70853 9.01109 9.81011 8.76229L13.0742 0.767584Z",fill:m?.value??"blue"})}),C.jsx("p",{className:"cfs-sub-title",children:"Components"})]}),C.jsx("p",{className:"cfs-p",children:"Components are the building blocks of your design system. They are reusable elements that can be combined to create a user interface."})]}),C.jsx("div",{style:{display:"flex",flexDirection:"column",flexWrap:"wrap",gap:25},children:w?.map(I=>C.jsxs("div",{className:"cfs-section",children:[C.jsx("p",{className:"cfs-sub-title",children:d4(I.type)}),C.jsx("div",{style:{gap:10,display:"flex",flexDirection:"row",flexWrap:"wrap",flexGrow:1},children:I.components.map(F=>C.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:10,padding:10,background:"var(--main-color-background)",border:"1px solid var(--main-color-secondary-background)",borderRadius:4},children:[C.jsx("p",{className:"cfs-badge",style:{backgroundColor:"var(--main-color-background)"},children:F.name}),C.jsx("div",{style:{display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",gap:10,padding:10},children:C.jsx("div",{style:{minWidth:50},dangerouslySetInnerHTML:{__html:F.element.outerHTML}})})]},F.id))},I.id)]},I.id))})]})]})]})}),jsr=E.memo(()=>{const[t,e]=E.useState({title:"Style Guide",isDarkMode:!1}),{toPDF:r,targetRef:n}=Isr({filename:"Style Guide.pdf",onePage:!0}),[i,o]=E.useState(null),s=i?.contentWindow?.document?.body,a=E.useCallback(()=>{let l=s?.innerHTML;if(!l)return;const c=["core-framework-style-guide-variables","core-framework-style-guide-components"];for(const u of c){const f=new RegExp(`(<style[^>]*id="${u}"[^>]*>)[\\s\\S]*?(<\\/style>)`,"gi");l=l.replace(f,"")}navigator.clipboard.writeText(l)},[s]);return C.jsxs(C.Fragment,{children:[C.jsxs("header",{className:"top-bar",children:[C.jsx("div",{className:"top-bar-left"}),C.jsxs("div",{className:"row gap-m",children:[C.jsx(Qr,{label:`Enable ${t.isDarkMode?"dark":"light"} mode`,children:C.jsxs("button",{className:t.isDarkMode?"theme-toggle dark-mode":"theme-toggle light-mode",onClick:()=>e(l=>({...l,isDarkMode:!l.isDarkMode})),children:[C.jsx("span",{className:t.isDarkMode?"":"active",children:C.jsx(_Y,{})}),C.jsx("span",{className:t.isDarkMode?"active":"",children:C.jsx(MY,{})})]})}),C.jsx("button",{onClick:a,className:"btn-secondary btn-s",children:"Copy HTML"}),C.jsx("button",{onClick:async()=>{wr("Building PDF..."),e(l=>({...l,isDarkMode:!1})),await new Promise(l=>setTimeout(l,10)),r()},className:"btn-secondary btn-s",children:"Download PDF"})]})]}),C.jsx("div",{className:"style-guide-wrapper",children:C.jsx("main",{className:"style-guide",children:C.jsx("iframe",{style:{width:"100%",height:"100%"},ref:o,frameBorder:"0",children:s&&pl.createPortal(C.jsx(_sr,{settings:t,ref:n}),s)})})})]})}),Usr=({view:t})=>{switch(t){case"PREFERENCES":return C.jsx(E.Suspense,{fallback:C.jsx(bc,{}),children:C.jsx(nRe,{})});case"PREVIEW":return C.jsx(E.Suspense,{fallback:C.jsx(bc,{}),children:C.jsx(ner,{})});case"IMPORT_EXPORT":return C.jsx(E.Suspense,{fallback:C.jsx(bc,{}),children:C.jsx(tRe,{})});case"LOADING":return C.jsx(bc,{});case"ADDONS":return C.jsx(E.Suspense,{fallback:C.jsx(bc,{}),children:C.jsx(zee,{})});case"OXYGEN":return C.jsx(E.Suspense,{fallback:C.jsx(bc,{}),children:C.jsx(rRe,{})});case"BRICKS":return C.jsx(E.Suspense,{fallback:C.jsx(bc,{}),children:C.jsx(HLe,{})});case"GUTENBERG":return C.jsx(E.Suspense,{fallback:C.jsx(bc,{}),children:C.jsx(ZLe,{})});case"FIGMA":return C.jsx(E.Suspense,{fallback:C.jsx(bc,{}),children:C.jsx(JLe,{})});case"STYLE_GUIDE":return C.jsx(E.Suspense,{fallback:C.jsx(bc,{}),children:C.jsx(jsr,{})});default:return C.jsx(E.Suspense,{fallback:C.jsx(bc,{}),children:C.jsx(YLe,{})})}},OMe=E.memo(()=>{const t=tn(Sv),e=tn(q_t),r=tn(VC),n=E.useRef(null);return C.jsxs("div",{ref:n,className:zr("content",r&&"media-query-mode"),children:[C.jsx(Usr,{view:t}),e?pl.createPortal(C.jsx("div",{className:"view-router-overlay"}),n?.current??document.querySelector(".content")??document.body):null]})});OMe.displayName="ViewRouter";const Vq=[":root","cf-theme"],Qsr=[".","--"],aye=(t,e)=>t.map(r=>{const n=Vq.some(o=>r.selector.toLowerCase().includes(o.toLowerCase())),i=r.selector.toLowerCase().includes(e);if(n){const o=r.declarations.filter(s=>s.property.toLowerCase().includes(e));return o.length?{...r,declarations:o}:null}return i?r:null}).filter(Boolean),lye=t=>{const e=[...t].reduce((n,i)=>{if(Vq.some(s=>i.selector.toLowerCase().includes(s.toLowerCase()))){const s=i.declarations.map(a=>({id:a.id,selector:a.property,types:a.types||[],mediaQuery:i.mediaQuery,groupName:a.groupName??i.groupName,declaration:[]}));return[...n,...s]}return n},[]).filter(n=>Qsr.some(i=>n.selector.startsWith(i)));return[...t.filter(n=>!Vq.some(i=>n.selector.toLowerCase().includes(i.toLowerCase()))),...e]};function Vsr(){const t=Xn(E.useCallback(r=>({preset:r(wN),preferences:r(xs),colorStyles:r(ch),typographyStyles:r(uh),spacingStyles:r(fh),layoutsStyles:r(dh),designStyles:r(ph),componentsStyles:r(Ah),otherStyles:r(QC)}),[]));return{search:r=>{const n={colors:[],typography:[],spacing:[],design:[],other:[],components:[],layouts:[]},{preset:i,preferences:o,colorStyles:s,typographyStyles:a,spacingStyles:l,layoutsStyles:c,designStyles:u,componentsStyles:f,otherStyles:d}=t();if(!r||!i)return n;r=r.toLowerCase();const{root_font_size:p=16,min_screen_width:h=bn,max_screen_width:A=bn,is_rem:g=!0,is_add_group_comments:m}=o,{COLOR_SYSTEM:v,FLUID_TYPOGRAPHY:y,FLUID_SPACING:b,COMPONENTS:B}=i.modulesData||{},S={min_screen_width:h,max_screen_width:A,is_rem:g,root_font_size:p,is_add_group_comments:m,includeVariants:!0},w=(I,F)=>{const k=da(I,m,!0);if(k.length){const O=lye(k);F.push(...aye(O,r))}},x=(I,F,k,O)=>{const L=I({...F}),M=lye(L);k.push(...aye(M,O))};return v&&x(J3,{formData:v,manualTheme:!0,classPrefix:"",isAddGroupComments:m,includeVariants:!0},n.colors,r),y&&x(vC,{formData:y,...S},n.typography,r),b&&x(mC,{formData:b,...S},n.spacing,r),w(s,n.colors),w(a,n.typography),w(l,n.spacing),w(f,n.components),w(c,n.layouts),w(u,n.design),w(d,n.other),n}}}const cye={colors:"Colors",typography:"Typography",spacing:"Spacing",layouts:"Layouts",components:"Components",design:"Design",other:"Other"},NE="found-item",uQ=(t,e)=>(t??[]).includes("variable")||e.startsWith("--"),$q=(t,e)=>{const r=e.match(t);return r?r[1]||r[2]:e},$sr=t=>Array.from(document.querySelectorAll(".color-head-row")).find(r=>r.innerHTML.includes(`value="${t}"`)),Hsr=t=>{t?.parentElement&&t.parentElement.querySelector("& > div[aria-hidden=true]")&&(t.querySelector("& > button")?.click(),t.scrollIntoView({behavior:"smooth",block:"center"}))},Ew=(t,e)=>(e?.includes("shade-tint")?t=$q(/^(.*?)-d-|^(.*?)-l-/,t):e?.includes("transparent-class")&&(t=$q(/^(.*?)-\d+$/,t)),t),Gsr=(t,e)=>{const r=e.replace(/\*/g,".*");return new RegExp(`^${r}$`).test(t)},PMe=E.memo(()=>{const[t,e]=Yn(VC),[r,n]=Yn(Sv),[i,o]=Yn(Nte),{search:s}=Vsr(),a=E.useRef(null),[l,c]=E.useState(""),[u,f]=E.useState({listIdx:null,itemIdx:null}),[d,p]=E.useState(null),[h,A]=E.useState({colors:[],typography:[],spacing:[],components:[],layouts:[],design:[],other:[]}),g=Al(l,300),m=E.useCallback((x,I)=>{p(I),n(x),e(I?.mediaQuery??null),o(!1),c("")},[]),v=E.useCallback(()=>{const x=Array.from(document.querySelectorAll(`.${NE}`));x.length&&x.forEach(I=>I.classList.remove(NE))},[]),y=E.useCallback(()=>{v(),o(!1),c("")},[]),b=E.useCallback(x=>{const I=Object.values(h),F=(k,O)=>{let L=k;for(;L>=0&&L<I.length&&I[L].length===0;)L+=O==="down"?1:-1;return L>=0&&L<I.length?L:-1};f(({listIdx:k,itemIdx:O})=>{if(I.length===0)return{listIdx:null,itemIdx:null};if(k===null){const H=I.findIndex(V=>V.length>0);return H===-1?{listIdx:null,itemIdx:null}:{listIdx:H,itemIdx:0}}let L=O??0,M=k;if(x==="down")if(L<I[M]?.length-1)L++;else{if(M=F(M+1,"down"),M===-1)return{listIdx:k,itemIdx:O};L=0}else if(L>0)L--;else{if(M=F(M-1,"up"),M===-1)return{listIdx:k,itemIdx:O};L=I[M].length-1||0}return{listIdx:M,itemIdx:L}})},[h]),B=E.useCallback(()=>{const{listIdx:x,itemIdx:I}=u;if(x===null||I===null)return;const F=Object.values(h)[x][I],k=Object.keys(h).find(M=>h[M].includes(F));if(!k)return;const O=cye[k],L=vO.find(M=>M.name===O);L&&m(L.value,F)},[u,h,m]),S=E.useCallback(x=>{const{key:I}=x;switch(["ArrowDown","ArrowUp","Enter"].includes(I)&&(x.preventDefault(),x.stopPropagation()),I){case"ArrowDown":return b("down");case"ArrowUp":return b("up");case"Enter":return B()}},[b,B]),w=E.useMemo(()=>C.jsx(C.Fragment,{children:Object.values(h).some(x=>x?.length)&&C.jsx("div",{className:"items-wrapper",children:Object.entries(h).map(([x,I],F)=>{if(!I?.length)return null;const k=cye[x],O=vO.find(L=>L.name===k);return O?C.jsx("ul",{children:C.jsxs("li",{children:[C.jsxs("div",{className:"item-header",children:[C.jsx(O.icon,{}),C.jsx("span",{children:O.name})]}),C.jsx("div",{className:"item-body",children:I?.map((L,M)=>C.jsxs("p",{className:zr("item-body-row",{selected:F===u.listIdx&&M===u.itemIdx}),onClick:()=>m(O.value,L),children:[C.jsx("span",{className:"item-selector-name",children:L.selector}),C.jsxs("div",{className:"item-tags",children:[C.jsx("span",{className:"item-tag",children:L.groupName}),C.jsx("span",{className:"item-tag tag-var",children:uQ(L.types,L.selector)?"Variable":"Class"})]})]},M))})]})},F):null})})}),[h,u,m]);return Q7e(a,y),P7([["mod + k",()=>o(!0)],["Escape",y]],[],!0),E.useEffect(()=>{if(!d?.id)return;const{types:x,selector:I,groupName:F,id:k}=d,O=[];let L=null;const M=(R,Q)=>{let z=R,X="";Q?.every(G=>G==="variable")?(z=z.replace("--",""),X=".prefixed-input-container.input-wrapper"):Q?.includes("bg-class")?(z=Ew(z.replace(".bg-",""),Q),X=".color-option-bg div"):Q?.includes("text-class")?(z=Ew(z.replace(".text-",""),Q),X=".color-option-text div"):Q?.includes("border-class")?(z=Ew(z.replace(".border-",""),Q),X=".color-option-border div"):Q?.includes("fill-class")?(z=Ew(z.replace(".fill-",""),Q),X=".color-option-fill div"):Q?.includes("shade-tint")?(z=Ew(z,Q).replace("--",""),X=".color-preview"):Q?.includes("transparent-class")&&(z=$q(/^(.*?)-\d+$/,z).replace("--",""),X=".transparent-vars-row");const _=$sr(z);return Hsr(_),_?.parentElement?.querySelectorAll(X)||null},H=R=>new Promise(Q=>{const z=()=>{R.removeEventListener("click",z),setTimeout(()=>Q(),0)};R.addEventListener("click",z),R.click()}),V=()=>{if(x?.every(R=>R==="class")||!x?.length)L=uQ([],I)?document.querySelectorAll(".variable-declaration"):document.querySelectorAll(".class-row.selectors-layout");else if(r==="COLOR_SYSTEM")L=M(I,x);else if(r==="TYPOGRAPHY"){if(x?.includes("typo-class"))L=document.querySelectorAll(".class-row-generate");else if(x?.includes("typo-variable")){const R=document.querySelectorAll(".tab-name"),Q=Array.from(R).find(z=>z.innerHTML.includes(F??""));Q&&O.push(H(Q).then(()=>{L=k.startsWith("f_m")?document.querySelectorAll(".typo-layout-manual"):document.querySelectorAll(".typo-layout")}))}}else if(r==="SPACING"){if(x?.includes("space-class"))L=document.querySelectorAll(".class-row-generate");else if(x?.includes("space-variable")){const R=document.querySelectorAll(".tab-name"),Q=Array.from(R).find(z=>z.innerHTML.includes(F??""));Q&&O.push(H(Q).then(()=>{L=k.startsWith("f_m")?document.querySelectorAll(".typo-layout-manual"):document.querySelectorAll(".typo-layout")}))}}},j=(R,Q,z)=>{let X=null;if(R.forEach(_=>_.classList.remove(NE)),Q=uQ([],Q)?Q.replace("--",""):Q,z?.includes("bg-class")||z?.includes("text-class")||z?.includes("border-class")||z?.includes("fill-class"))X=R[0];else if(z?.includes("shade-tint")){const _=Number(Q.charAt(Q.length-1))-1,G=Math.ceil(R.length/2);X=(I.includes("-d-")?R.slice(0,G):R.slice(G))[_]}else z?.includes("transparent-class")?X=R[0]:z?.includes("typo-class")||z?.includes("space-class")?X=R.filter(_=>Gsr(Q,_.querySelector(".slight-style").value)).sort((_,G)=>G.querySelector(".slight-style").value.length-_.querySelector(".slight-style").value.length)[0]:z?.includes("typo-variable")||z?.includes("space-variable")?X=R.find(_=>_.innerHTML.includes(Q.replace("--",""))):X=R.find(_=>_.innerHTML.includes(Q));X&&(X.scrollIntoView({behavior:"smooth",block:"center"}),X.classList.add(NE))};V(),Promise.all(O).then(()=>{if(L?.length){const R=Array.from(L);j(R,I,x)}p(null),setTimeout(v,4700)})},[r,d]),E.useEffect(()=>{i&&document.querySelector(".search-wrapper input")?.focus()},[i]),E.useEffect(()=>{u.itemIdx!==null&&document.querySelector(".item-body .selected")?.scrollIntoView({block:"nearest"})},[u.itemIdx]),rh(()=>{f({listIdx:null,itemIdx:null}),A(s(g))},[g]),C.jsx("div",{ref:a,className:"global-search",children:i&&C.jsxs("div",{className:"search-wrapper",children:[C.jsx(qLe,{}),C.jsx("input",{type:"text",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,placeholder:"Search...",value:l,onChange:x=>c(x.target.value),onKeyDown:S}),w]})})});PMe.displayName="GlobalSearch";window.coreframework={nonce:window.wpApiSettings.nonce,rest_url:window.wpApiSettings.root,core_api_url:`${window.wpApiSettings.root}core-framework/v2/`};function Wsr(){const{currentPreset:t,isOnboarding:e,setIsOnboarding:r}=xZt(),n=tn(Nte),i=tn(KLe);return ym(()=>document.title=`Core Framework ${document.title}`),E.useEffect(()=>{if(!e){const o=new CustomEvent("addon-enabled",{detail:{onboardingFinished:!0}});document.dispatchEvent(o)}},[e]),!t&&!e?C.jsx("main",{className:"App",style:{display:"flex",justifyContent:"center",alignItems:"center"},children:C.jsx(bc,{})}):e?C.jsx("main",{className:"App",style:{gridTemplateColumns:"1fr",border:"none",backgroundColor:"transparent"},children:C.jsx(ULe,{setIsOnboarding:r})}):C.jsxs("main",{className:zr("App",{"is-search":n,"fullscreen-mode":i}),children:[C.jsx(PMe,{}),C.jsx(QLe,{}),C.jsx(OMe,{}),C.jsx($Le,{})]})}const IMe=localStorage.getItem("themeMode")||"dark";document.documentElement.dataset.colorMode=IMe;document.documentElement.setAttribute("data-theme",IMe);dQ.createRoot(document.getElementById("core-framework-init")).render(C.jsx(ve.StrictMode,{children:C.jsxs(nCe,{theme:{colorScheme:"dark",colors:{primary:["#e4e7ff","#b4bbff","#838dfb","#5360f9","#2432f6","#0d19dc","#0613ac","#030e7c","#00074d","#00021f"]}},children:[C.jsx(lit,{richColors:!0}),C.jsx(Wsr,{})]})}));export{Ei as _,fQ as c,Io as g};
修改文件时间
将文件时间修改为当前时间的前一年
删除文件