Files
Obsidian/.obsidian/plugins/obsidian-quiet-outline/main.js

1042 lines
612 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
if you want to view the source, please visit the github repository of this plugin
*/
var NC=Object.create;var Vs=Object.defineProperty;var AC=Object.getOwnPropertyDescriptor;var IC=Object.getOwnPropertyNames;var LC=Object.getPrototypeOf,OC=Object.prototype.hasOwnProperty;var Nr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),PC=(e,t)=>{for(var r in t)Vs(e,r,{get:t[r],enumerable:!0})},Dm=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of IC(t))!OC.call(e,n)&&n!==r&&Vs(e,n,{get:()=>t[n],enumerable:!(o=AC(t,n))||o.enumerable});return e};var Nm=(e,t,r)=>(r=e!=null?NC(LC(e)):{},Dm(t||!e||!e.__esModule?Vs(r,"default",{value:e,enumerable:!0}):r,e)),RC=e=>Dm(Vs({},"__esModule",{value:!0}),e);var Ha=Nr((Zz,$a)=>{function F_(e){return e&&e.__esModule?e:{default:e}}$a.exports=F_,$a.exports.__esModule=!0,$a.exports.default=$a.exports});var pv=Nr((Fa,fv)=>{"use strict";Object.defineProperty(Fa,"__esModule",{value:!0});Fa.default=void 0;var z_={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},V_=function(t,r,o){var n,i=z_[t];return typeof i=="string"?n=i:r===1?n=i.one:n=i.other.replace("{{count}}",r.toString()),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?"in "+n:n+" ago":n},j_=V_;Fa.default=j_;fv.exports=Fa.default});var mv=Nr((cu,hv)=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});cu.default=W_;function W_(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth,o=e.formats[r]||e.formats[e.defaultWidth];return o}}hv.exports=cu.default});var bv=Nr((za,gv)=>{"use strict";var q_=Ha().default;Object.defineProperty(za,"__esModule",{value:!0});za.default=void 0;var uf=q_(mv()),U_={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},K_={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},G_={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},X_={date:(0,uf.default)({formats:U_,defaultWidth:"full"}),time:(0,uf.default)({formats:K_,defaultWidth:"full"}),dateTime:(0,uf.default)({formats:G_,defaultWidth:"full"})},Y_=X_;za.default=Y_;gv.exports=za.default});var vv=Nr((Va,xv)=>{"use strict";Object.defineProperty(Va,"__esModule",{value:!0});Va.default=void 0;var Z_={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Q_=function(t,r,o,n){return Z_[t]},J_=Q_;Va.default=J_;xv.exports=Va.default});var wv=Nr((du,yv)=>{"use strict";Object.defineProperty(du,"__esModule",{value:!0});du.default=eT;function eT(e){return function(t,r){var o=r!=null&&r.context?String(r.context):"standalone",n;if(o==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=r!=null&&r.width?String(r.width):i;n=e.formattingValues[a]||e.formattingValues[i]}else{var s=e.defaultWidth,l=r!=null&&r.width?String(r.width):e.defaultWidth;n=e.values[l]||e.values[s]}var u=e.argumentCallback?e.argumentCallback(t):t;return n[u]}}yv.exports=du.default});var kv=Nr((Wa,Cv)=>{"use strict";var tT=Ha().default;Object.defineProperty(Wa,"__esModule",{value:!0});Wa.default=void 0;var ja=tT(wv()),rT={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},oT={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},nT={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},iT={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},aT={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},sT={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},lT=function(t,r){var o=Number(t),n=o%100;if(n>20||n<10)switch(n%10){case 1:return o+"st";case 2:return o+"nd";case 3:return o+"rd"}return o+"th"},uT={ordinalNumber:lT,era:(0,ja.default)({values:rT,defaultWidth:"wide"}),quarter:(0,ja.default)({values:oT,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:(0,ja.default)({values:nT,defaultWidth:"wide"}),day:(0,ja.default)({values:iT,defaultWidth:"wide"}),dayPeriod:(0,ja.default)({values:aT,defaultWidth:"wide",formattingValues:sT,defaultFormattingWidth:"wide"})},cT=uT;Wa.default=cT;Cv.exports=Wa.default});var Ev=Nr((fu,Sv)=>{"use strict";Object.defineProperty(fu,"__esModule",{value:!0});fu.default=dT;function dT(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=r.width,n=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],i=t.match(n);if(!i)return null;var a=i[0],s=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?pT(s,function(d){return d.test(a)}):fT(s,function(d){return d.test(a)}),u;u=e.valueCallback?e.valueCallback(l):l,u=r.valueCallback?r.valueCallback(u):u;var c=t.slice(a.length);return{value:u,rest:c}}}function fT(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function pT(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r}Sv.exports=fu.default});var Tv=Nr((pu,_v)=>{"use strict";Object.defineProperty(pu,"__esModule",{value:!0});pu.default=hT;function hT(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=t.match(e.matchPattern);if(!o)return null;var n=o[0],i=t.match(e.parsePattern);if(!i)return null;var a=e.valueCallback?e.valueCallback(i[0]):i[0];a=r.valueCallback?r.valueCallback(a):a;var s=t.slice(n.length);return{value:a,rest:s}}}_v.exports=pu.default});var Av=Nr((Ua,Nv)=>{"use strict";var Dv=Ha().default;Object.defineProperty(Ua,"__esModule",{value:!0});Ua.default=void 0;var qa=Dv(Ev()),mT=Dv(Tv()),gT=/^(\d+)(th|st|nd|rd)?/i,bT=/\d+/i,xT={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},vT={any:[/^b/i,/^(a|c)/i]},yT={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},wT={any:[/1/i,/2/i,/3/i,/4/i]},CT={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},kT={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},ST={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},ET={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},_T={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},TT={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},DT={ordinalNumber:(0,mT.default)({matchPattern:gT,parsePattern:bT,valueCallback:function(t){return parseInt(t,10)}}),era:(0,qa.default)({matchPatterns:xT,defaultMatchWidth:"wide",parsePatterns:vT,defaultParseWidth:"any"}),quarter:(0,qa.default)({matchPatterns:yT,defaultMatchWidth:"wide",parsePatterns:wT,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:(0,qa.default)({matchPatterns:CT,defaultMatchWidth:"wide",parsePatterns:kT,defaultParseWidth:"any"}),day:(0,qa.default)({matchPatterns:ST,defaultMatchWidth:"wide",parsePatterns:ET,defaultParseWidth:"any"}),dayPeriod:(0,qa.default)({matchPatterns:_T,defaultMatchWidth:"any",parsePatterns:TT,defaultParseWidth:"any"})},NT=DT;Ua.default=NT;Nv.exports=Ua.default});var Lv=Nr((Ga,Iv)=>{"use strict";var Ka=Ha().default;Object.defineProperty(Ga,"__esModule",{value:!0});Ga.default=void 0;var AT=Ka(pv()),IT=Ka(bv()),LT=Ka(vv()),OT=Ka(kv()),PT=Ka(Av()),RT={code:"en-US",formatDistance:AT.default,formatLong:IT.default,formatRelative:LT.default,localize:OT.default,match:PT.default,options:{weekStartsOn:0,firstWeekContainsDate:1}},MT=RT;Ga.default=MT;Iv.exports=Ga.default});var mw=Nr((jfe,hw)=>{"use strict";var AA=function(t){return IA(t)&&!LA(t)};function IA(e){return!!e&&typeof e=="object"}function LA(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||RA(e)}var OA=typeof Symbol=="function"&&Symbol.for,PA=OA?Symbol.for("react.element"):60103;function RA(e){return e.$$typeof===PA}function MA(e){return Array.isArray(e)?[]:{}}function Ps(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Xi(MA(e),e,t):e}function BA(e,t,r){return e.concat(t).map(function(o){return Ps(o,r)})}function $A(e,t){if(!t.customMerge)return Xi;var r=t.customMerge(e);return typeof r=="function"?r:Xi}function HA(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function fw(e){return Object.keys(e).concat(HA(e))}function pw(e,t){try{return t in e}catch{return!1}}function FA(e,t){return pw(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function zA(e,t,r){var o={};return r.isMergeableObject(e)&&fw(e).forEach(function(n){o[n]=Ps(e[n],r)}),fw(t).forEach(function(n){FA(e,n)||(pw(e,n)&&r.isMergeableObject(t[n])?o[n]=$A(n,r)(e[n],t[n],r):o[n]=Ps(t[n],r))}),o}function Xi(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||BA,r.isMergeableObject=r.isMergeableObject||AA,r.cloneUnlessOtherwiseSpecified=Ps;var o=Array.isArray(t),n=Array.isArray(e),i=o===n;return i?o?r.arrayMerge(e,t,r):zA(e,t,r):Ps(t,r)}Xi.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(o,n){return Xi(o,n,r)},{})};var VA=Xi;hw.exports=VA});var gL={};PC(gL,{default:()=>mL});module.exports=RC(gL);var _o=require("obsidian");var Zi=require("obsidian");function ii(e,t){let r=Object.create(null),o=e.split(",");for(let n=0;n<o.length;n++)r[o[n]]=!0;return t?n=>!!r[n.toLowerCase()]:n=>!!r[n]}function No(e){if(We(e)){let t={};for(let r=0;r<e.length;r++){let o=e[r],n=Dt(o)?HC(o):No(o);if(n)for(let i in n)t[i]=n[i]}return t}else{if(Dt(e))return e;if(gt(e))return e}}var MC=/;(?![^(]*\))/g,BC=/:([^]+)/,$C=/\/\*.*?\*\//gs;function HC(e){let t={};return e.replace($C,"").split(MC).forEach(r=>{if(r){let o=r.split(BC);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Dn(e){let t="";if(Dt(e))t=e;else if(We(e))for(let r=0;r<e.length;r++){let o=Dn(e[r]);o&&(t+=o+" ")}else if(gt(e))for(let r in e)e[r]&&(t+=r+" ");return t.trim()}var Im="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Lm=ii(Im),xL=ii(Im+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function Ac(e){return!!e||e===""}var Ic=e=>Dt(e)?e:e==null?"":We(e)||gt(e)&&(e.toString===Rm||!Ue(e.toString))?JSON.stringify(e,Om,2):String(e),Om=(e,t)=>t&&t.__v_isRef?Om(e,t.value):Go(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[o,n])=>(r[`${o} =>`]=n,r),{})}:Ws(t)?{[`Set(${t.size})`]:[...t.values()]}:gt(t)&&!We(t)&&!Pc(t)?String(t):t,mt={},Nn=[],yr=()=>{},Pm=()=>!1,FC=/^on[^a-z]/,ai=e=>FC.test(e),ea=e=>e.startsWith("onUpdate:"),It=Object.assign,js=(e,t)=>{let r=e.indexOf(t);r>-1&&e.splice(r,1)},zC=Object.prototype.hasOwnProperty,tt=(e,t)=>zC.call(e,t),We=Array.isArray,Go=e=>Us(e)==="[object Map]",Ws=e=>Us(e)==="[object Set]";var Ue=e=>typeof e=="function",Dt=e=>typeof e=="string",qs=e=>typeof e=="symbol",gt=e=>e!==null&&typeof e=="object",Lc=e=>gt(e)&&Ue(e.then)&&Ue(e.catch),Rm=Object.prototype.toString,Us=e=>Rm.call(e),Oc=e=>Us(e).slice(8,-1),Pc=e=>Us(e)==="[object Object]",Ks=e=>Dt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ta=ii(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted");var Gs=e=>{let t=Object.create(null);return r=>t[r]||(t[r]=e(r))},VC=/-(\w)/g,ao=Gs(e=>e.replace(VC,(t,r)=>r?r.toUpperCase():"")),jC=/\B([A-Z])/g,Xo=Gs(e=>e.replace(jC,"-$1").toLowerCase()),ra=Gs(e=>e.charAt(0).toUpperCase()+e.slice(1)),oa=Gs(e=>e?`on${ra(e)}`:""),An=(e,t)=>!Object.is(e,t),na=(e,t)=>{for(let r=0;r<e.length;r++)e[r](t)},si=(e,t,r)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},li=e=>{let t=parseFloat(e);return isNaN(t)?e:t},Am,Mm=()=>Am||(Am=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});var so,aa=class{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=so,!t&&so&&(this.index=(so.scopes||(so.scopes=[])).push(this)-1)}run(t){if(this.active){let r=so;try{return so=this,t()}finally{so=r}}}on(){so=this}off(){so=this.parent}stop(t){if(this.active){let r,o;for(r=0,o=this.effects.length;r<o;r++)this.effects[r].stop();for(r=0,o=this.cleanups.length;r<o;r++)this.cleanups[r]();if(this.scopes)for(r=0,o=this.scopes.length;r<o;r++)this.scopes[r].stop(!0);if(!this.detached&&this.parent&&!t){let n=this.parent.scopes.pop();n&&n!==this&&(this.parent.scopes[this.index]=n,n.index=this.index)}this.parent=void 0,this.active=!1}}};function WC(e,t=so){t&&t.active&&t.effects.push(e)}var Vc=e=>{let t=new Set(e);return t.w=0,t.n=0,t},Wm=e=>(e.w&Qo)>0,qm=e=>(e.n&Qo)>0,qC=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Qo},UC=e=>{let{deps:t}=e;if(t.length){let r=0;for(let o=0;o<t.length;o++){let n=t[o];Wm(n)&&!qm(n)?n.delete(e):t[r++]=n,n.w&=~Qo,n.n&=~Qo}t.length=r}},Rc=new WeakMap,ia=0,Qo=1,Mc=30,Ur,In=Symbol(""),Bc=Symbol(""),Ln=class{constructor(t,r=null,o){this.fn=t,this.scheduler=r,this.active=!0,this.deps=[],this.parent=void 0,WC(this,o)}run(){if(!this.active)return this.fn();let t=Ur,r=Zo;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Ur,Ur=this,Zo=!0,Qo=1<<++ia,ia<=Mc?qC(this):Bm(this),this.fn()}finally{ia<=Mc&&UC(this),Qo=1<<--ia,Ur=this.parent,Zo=r,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ur===this?this.deferStop=!0:this.active&&(Bm(this),this.onStop&&this.onStop(),this.active=!1)}};function Bm(e){let{deps:t}=e;if(t.length){for(let r=0;r<t.length;r++)t[r].delete(e);t.length=0}}var Zo=!0,Um=[];function en(){Um.push(Zo),Zo=!1}function tn(){let e=Um.pop();Zo=e===void 0?!0:e}function pr(e,t,r){if(Zo&&Ur){let o=Rc.get(e);o||Rc.set(e,o=new Map);let n=o.get(r);n||o.set(r,n=Vc()),Km(n,void 0)}}function Km(e,t){let r=!1;ia<=Mc?qm(e)||(e.n|=Qo,r=!Wm(e)):r=!e.has(Ur),r&&(e.add(Ur),Ur.deps.push(e))}function lo(e,t,r,o,n,i){let a=Rc.get(e);if(!a)return;let s=[];if(t==="clear")s=[...a.values()];else if(r==="length"&&We(e)){let u=li(o);a.forEach((c,d)=>{(d==="length"||d>=u)&&s.push(c)})}else switch(r!==void 0&&s.push(a.get(r)),t){case"add":We(e)?Ks(r)&&s.push(a.get("length")):(s.push(a.get(In)),Go(e)&&s.push(a.get(Bc)));break;case"delete":We(e)||(s.push(a.get(In)),Go(e)&&s.push(a.get(Bc)));break;case"set":Go(e)&&s.push(a.get(In));break}let l=void 0;if(s.length===1)s[0]&&$c(s[0]);else{let u=[];for(let c of s)c&&u.push(...c);$c(Vc(u))}}function $c(e,t){let r=We(e)?e:[...e];for(let o of r)o.computed&&$m(o,t);for(let o of r)o.computed||$m(o,t)}function $m(e,t){(e!==Ur||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}var KC=ii("__proto__,__v_isRef,__isVue"),Gm=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(qs)),GC=jc(),XC=jc(!1,!0),YC=jc(!0);var Hm=ZC();function ZC(){let e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){let o=Ye(this);for(let i=0,a=this.length;i<a;i++)pr(o,"get",i+"");let n=o[t](...r);return n===-1||n===!1?o[t](...r.map(Ye)):n}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...r){en();let o=Ye(this)[t].apply(this,r);return tn(),o}}),e}function jc(e=!1,t=!1){return function(o,n,i){if(n==="__v_isReactive")return!e;if(n==="__v_isReadonly")return e;if(n==="__v_isShallow")return t;if(n==="__v_raw"&&i===(e?t?pk:Jm:t?Qm:Zm).get(o))return o;let a=We(o);if(!e&&a&&tt(Hm,n))return Reflect.get(Hm,n,i);let s=Reflect.get(o,n,i);return(qs(n)?Gm.has(n):KC(n))||(e||pr(o,"get",n),t)?s:Rt(s)?a&&Ks(n)?s:s.value:gt(s)?e?rn(s):uo(s):s}}var QC=Xm(),JC=Xm(!0);function Xm(e=!1){return function(r,o,n,i){let a=r[o];if(Jo(a)&&Rt(a)&&!Rt(n))return!1;if(!e&&(!ui(n)&&!Jo(n)&&(a=Ye(a),n=Ye(n)),!We(r)&&Rt(a)&&!Rt(n)))return a.value=n,!0;let s=We(r)&&Ks(o)?Number(o)<r.length:tt(r,o),l=Reflect.set(r,o,n,i);return r===Ye(i)&&(s?An(n,a)&&lo(r,"set",o,n,a):lo(r,"add",o,n)),l}}function ek(e,t){let r=tt(e,t),o=e[t],n=Reflect.deleteProperty(e,t);return n&&r&&lo(e,"delete",t,void 0,o),n}function tk(e,t){let r=Reflect.has(e,t);return(!qs(t)||!Gm.has(t))&&pr(e,"has",t),r}function rk(e){return pr(e,"iterate",We(e)?"length":In),Reflect.ownKeys(e)}var Ym={get:GC,set:QC,deleteProperty:ek,has:tk,ownKeys:rk},ok={get:YC,set(e,t){return!0},deleteProperty(e,t){return!0}},nk=It({},Ym,{get:XC,set:JC});var Wc=e=>e,el=e=>Reflect.getPrototypeOf(e);function Xs(e,t,r=!1,o=!1){e=e.__v_raw;let n=Ye(e),i=Ye(t);r||(t!==i&&pr(n,"get",t),pr(n,"get",i));let{has:a}=el(n),s=o?Wc:r?Gc:sa;if(a.call(n,t))return s(e.get(t));if(a.call(n,i))return s(e.get(i));e!==n&&e.get(t)}function Ys(e,t=!1){let r=this.__v_raw,o=Ye(r),n=Ye(e);return t||(e!==n&&pr(o,"has",e),pr(o,"has",n)),e===n?r.has(e):r.has(e)||r.has(n)}function Zs(e,t=!1){return e=e.__v_raw,!t&&pr(Ye(e),"iterate",In),Reflect.get(e,"size",e)}function Fm(e){e=Ye(e);let t=Ye(this);return el(t).has.call(t,e)||(t.add(e),lo(t,"add",e,e)),this}function zm(e,t){t=Ye(t);let r=Ye(this),{has:o,get:n}=el(r),i=o.call(r,e);i||(e=Ye(e),i=o.call(r,e));let a=n.call(r,e);return r.set(e,t),i?An(t,a)&&lo(r,"set",e,t,a):lo(r,"add",e,t),this}function Vm(e){let t=Ye(this),{has:r,get:o}=el(t),n=r.call(t,e);n||(e=Ye(e),n=r.call(t,e));let i=o?o.call(t,e):void 0,a=t.delete(e);return n&&lo(t,"delete",e,void 0,i),a}function jm(){let e=Ye(this),t=e.size!==0,r=void 0,o=e.clear();return t&&lo(e,"clear",void 0,void 0,r),o}function Qs(e,t){return function(o,n){let i=this,a=i.__v_raw,s=Ye(a),l=t?Wc:e?Gc:sa;return!e&&pr(s,"iterate",In),a.forEach((u,c)=>o.call(n,l(u),l(c),i))}}function Js(e,t,r){return function(...o){let n=this.__v_raw,i=Ye(n),a=Go(i),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,u=n[e](...o),c=r?Wc:t?Gc:sa;return!t&&pr(i,"iterate",l?Bc:In),{next(){let{value:d,done:p}=u.next();return p?{value:d,done:p}:{value:s?[c(d[0]),c(d[1])]:c(d),done:p}},[Symbol.iterator](){return this}}}}function Yo(e){return function(...t){return e==="delete"?!1:this}}function ik(){let e={get(i){return Xs(this,i)},get size(){return Zs(this)},has:Ys,add:Fm,set:zm,delete:Vm,clear:jm,forEach:Qs(!1,!1)},t={get(i){return Xs(this,i,!1,!0)},get size(){return Zs(this)},has:Ys,add:Fm,set:zm,delete:Vm,clear:jm,forEach:Qs(!1,!0)},r={get(i){return Xs(this,i,!0)},get size(){return Zs(this,!0)},has(i){return Ys.call(this,i,!0)},add:Yo("add"),set:Yo("set"),delete:Yo("delete"),clear:Yo("clear"),forEach:Qs(!0,!1)},o={get(i){return Xs(this,i,!0,!0)},get size(){return Zs(this,!0)},has(i){return Ys.call(this,i,!0)},add:Yo("add"),set:Yo("set"),delete:Yo("delete"),clear:Yo("clear"),forEach:Qs(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Js(i,!1,!1),r[i]=Js(i,!0,!1),t[i]=Js(i,!1,!0),o[i]=Js(i,!0,!0)}),[e,r,t,o]}var[ak,sk,lk,uk]=ik();function qc(e,t){let r=t?e?uk:lk:e?sk:ak;return(o,n,i)=>n==="__v_isReactive"?!e:n==="__v_isReadonly"?e:n==="__v_raw"?o:Reflect.get(tt(r,n)&&n in o?r:o,n,i)}var ck={get:qc(!1,!1)},dk={get:qc(!1,!0)},fk={get:qc(!0,!1)};var Zm=new WeakMap,Qm=new WeakMap,Jm=new WeakMap,pk=new WeakMap;function hk(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function mk(e){return e.__v_skip||!Object.isExtensible(e)?0:hk(Oc(e))}function uo(e){return Jo(e)?e:Kc(e,!1,Ym,ck,Zm)}function Uc(e){return Kc(e,!1,nk,dk,Qm)}function rn(e){return Kc(e,!0,ok,fk,Jm)}function Kc(e,t,r,o,n){if(!gt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;let i=n.get(e);if(i)return i;let a=mk(e);if(a===0)return e;let s=new Proxy(e,a===2?o:r);return n.set(e,s),s}function on(e){return Jo(e)?on(e.__v_raw):!!(e&&e.__v_isReactive)}function Jo(e){return!!(e&&e.__v_isReadonly)}function ui(e){return!!(e&&e.__v_isShallow)}function tl(e){return on(e)||Jo(e)}function Ye(e){let t=e&&e.__v_raw;return t?Ye(t):e}function On(e){return si(e,"__v_skip",!0),e}var sa=e=>gt(e)?uo(e):e,Gc=e=>gt(e)?rn(e):e;function e0(e){Zo&&Ur&&(e=Ye(e),Km(e.dep||(e.dep=Vc())))}function t0(e,t){e=Ye(e),e.dep&&$c(e.dep)}function Rt(e){return!!(e&&e.__v_isRef===!0)}function G(e){return gk(e,!1)}function gk(e,t){return Rt(e)?e:new Hc(e,t)}var Hc=class{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:Ye(t),this._value=r?t:sa(t)}get value(){return e0(this),this._value}set value(t){let r=this.__v_isShallow||ui(t)||Jo(t);t=r?t:Ye(t),An(t,this._rawValue)&&(this._rawValue=t,this._value=r?t:sa(t),t0(this,t))}};function wr(e){return Rt(e)?e.value:e}var bk={get:(e,t,r)=>wr(Reflect.get(e,t,r)),set:(e,t,r,o)=>{let n=e[t];return Rt(n)&&!Rt(r)?(n.value=r,!0):Reflect.set(e,t,r,o)}};function rl(e){return on(e)?e:new Proxy(e,bk)}var Fc=class{constructor(t,r,o){this._object=t,this._key=r,this._defaultValue=o,this.__v_isRef=!0}get value(){let t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}};function Be(e,t,r){let o=e[t];return Rt(o)?o:new Fc(e,t,r)}var r0,zc=class{constructor(t,r,o,n){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this[r0]=!1,this._dirty=!0,this.effect=new Ln(t,()=>{this._dirty||(this._dirty=!0,t0(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!n,this.__v_isReadonly=o}get value(){let t=Ye(this);return e0(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}};r0="__v_isReadonly";function o0(e,t,r=!1){let o,n,i=Ue(e);return i?(o=e,n=yr):(o=e.get,n=e.set),new zc(o,n,i||!n,r)}var xk;xk="__v_isReadonly";var la=[];function x0(e,...t){}function vk(){let e=la[la.length-1];if(!e)return[];let t=[];for(;e;){let r=t[0];r&&r.vnode===e?r.recurseCount++:t.push({vnode:e,recurseCount:0});let o=e.component&&e.component.parent;e=o&&o.vnode}return t}function yk(e){let t=[];return e.forEach((r,o)=>{t.push(...o===0?[]:[`
`],...wk(r))}),t}function wk({vnode:e,recurseCount:t}){let r=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,n=` at <${q0(e.component,e.type,o)}`,i=">"+r;return e.props?[n,...Ck(e.props),i]:[n+i]}function Ck(e){let t=[],r=Object.keys(e);return r.slice(0,3).forEach(o=>{t.push(...v0(o,e[o]))}),r.length>3&&t.push(" ..."),t}function v0(e,t,r){return Dt(t)?(t=JSON.stringify(t),r?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?r?t:[`${e}=${t}`]:Rt(t)?(t=v0(e,Ye(t.value),!0),r?t:[`${e}=Ref<`,t,">"]):Ue(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Ye(t),r?t:[`${e}=`,t])}function Io(e,t,r,o){let n;try{n=o?e(...o):e()}catch(i){ll(i,t,r)}return n}function Cr(e,t,r,o){if(Ue(e)){let i=Io(e,t,r,o);return i&&Lc(i)&&i.catch(a=>{ll(a,t,r)}),i}let n=[];for(let i=0;i<e.length;i++)n.push(Cr(e[i],t,r,o));return n}function ll(e,t,r,o=!0){let n=t?t.vnode:null;if(t){let i=t.parent,a=t.proxy,s=r;for(;i;){let u=i.ec;if(u){for(let c=0;c<u.length;c++)if(u[c](e,a,s)===!1)return}i=i.parent}let l=t.appContext.config.errorHandler;if(l){Io(l,null,10,[e,a,s]);return}}kk(e,r,n,o)}function kk(e,t,r,o=!0){console.error(e)}var ha=!1,Qc=!1,rr=[],po=0,ci=[],Ao=null,Bn=0,y0=Promise.resolve(),id=null;function Yt(e){let t=id||y0;return e?t.then(this?e.bind(this):e):t}function Sk(e){let t=po+1,r=rr.length;for(;t<r;){let o=t+r>>>1;ma(rr[o])<e?t=o+1:r=o}return t}function ad(e){(!rr.length||!rr.includes(e,ha&&e.allowRecurse?po+1:po))&&(e.id==null?rr.push(e):rr.splice(Sk(e.id),0,e),w0())}function w0(){!ha&&!Qc&&(Qc=!0,id=y0.then(k0))}function Ek(e){let t=rr.indexOf(e);t>po&&rr.splice(t,1)}function _k(e){We(e)?ci.push(...e):(!Ao||!Ao.includes(e,e.allowRecurse?Bn+1:Bn))&&ci.push(e),w0()}function n0(e,t=ha?po+1:0){for(;t<rr.length;t++){let r=rr[t];r&&r.pre&&(rr.splice(t,1),t--,r())}}function C0(e){if(ci.length){let t=[...new Set(ci)];if(ci.length=0,Ao){Ao.push(...t);return}for(Ao=t,Ao.sort((r,o)=>ma(r)-ma(o)),Bn=0;Bn<Ao.length;Bn++)Ao[Bn]();Ao=null,Bn=0}}var ma=e=>e.id==null?1/0:e.id,Tk=(e,t)=>{let r=ma(e)-ma(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function k0(e){Qc=!1,ha=!0,rr.sort(Tk);let t=yr;try{for(po=0;po<rr.length;po++){let r=rr[po];r&&r.active!==!1&&Io(r,null,14)}}finally{po=0,rr.length=0,C0(e),ha=!1,id=null,(rr.length||ci.length)&&k0(e)}}function Dk(e,t,...r){if(e.isUnmounted)return;let o=e.vnode.props||mt,n=r,i=t.startsWith("update:"),a=i&&t.slice(7);if(a&&a in o){let c=`${a==="modelValue"?"model":a}Modifiers`,{number:d,trim:p}=o[c]||mt;p&&(n=r.map(f=>Dt(f)?f.trim():f)),d&&(n=r.map(li))}let s,l=o[s=oa(t)]||o[s=oa(ao(t))];!l&&i&&(l=o[s=oa(Xo(t))]),l&&Cr(l,e,6,n);let u=o[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Cr(u,e,6,n)}}function S0(e,t,r=!1){let o=t.emitsCache,n=o.get(e);if(n!==void 0)return n;let i=e.emits,a={},s=!1;if(!Ue(e)){let l=u=>{let c=S0(u,t,!0);c&&(s=!0,It(a,c))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!s?(gt(e)&&o.set(e,null),null):(We(i)?i.forEach(l=>a[l]=null):It(a,i),gt(e)&&o.set(e,a),a)}function ul(e,t){return!e||!ai(t)?!1:(t=t.slice(2).replace(/Once$/,""),tt(e,t[0].toLowerCase()+t.slice(1))||tt(e,Xo(t))||tt(e,t))}var or=null,E0=null;function al(e){let t=or;return or=e,E0=e&&e.type.__scopeId||null,t}function zn(e,t=or,r){if(!t||e._n)return e;let o=(...n)=>{o._d&&h0(-1);let i=al(t),a;try{a=e(...n)}finally{al(i),o._d&&h0(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function Xc(e){let{type:t,vnode:r,proxy:o,withProxy:n,props:i,propsOptions:[a],slots:s,attrs:l,emit:u,render:c,renderCache:d,data:p,setupState:f,ctx:h,inheritAttrs:g}=e,E,b,I=al(e);try{if(r.shapeFlag&4){let _=n||o;E=fo(c.call(_,_,d,i,f,p,h)),b=l}else{let _=t;E=fo(_.length>1?_(i,{attrs:l,slots:s,emit:u}):_(i,null)),b=t.props?l:Nk(l)}}catch(_){pa.length=0,ll(_,e,1),E=yt(nr)}let P=E,C;if(b&&g!==!1){let _=Object.keys(b),{shapeFlag:M}=P;_.length&&M&7&&(a&&_.some(ea)&&(b=Ak(b,a)),P=an(P,b))}return r.dirs&&(P=an(P),P.dirs=P.dirs?P.dirs.concat(r.dirs):r.dirs),r.transition&&(P.transition=r.transition),E=P,al(I),E}var Nk=e=>{let t;for(let r in e)(r==="class"||r==="style"||ai(r))&&((t||(t={}))[r]=e[r]);return t},Ak=(e,t)=>{let r={};for(let o in e)(!ea(o)||!(o.slice(9)in t))&&(r[o]=e[o]);return r};function Ik(e,t,r){let{props:o,children:n,component:i}=e,{props:a,children:s,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return o?i0(o,a,u):!!a;if(l&8){let c=t.dynamicProps;for(let d=0;d<c.length;d++){let p=c[d];if(a[p]!==o[p]&&!ul(u,p))return!0}}}else return(n||s)&&(!s||!s.$stable)?!0:o===a?!1:o?a?i0(o,a,u):!0:!!a;return!1}function i0(e,t,r){let o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let n=0;n<o.length;n++){let i=o[n];if(t[i]!==e[i]&&!ul(r,i))return!0}return!1}function Lk({vnode:e,parent:t},r){for(;t&&t.subTree===e;)(e=t.vnode).el=r,t=t.parent}var Ok=e=>e.__isSuspense;function Pk(e,t){t&&t.pendingBranch?We(e)?t.effects.push(...e):t.effects.push(e):_k(e)}function Zt(e,t){if(Xt){let r=Xt.provides,o=Xt.parent&&Xt.parent.provides;o===r&&(r=Xt.provides=Object.create(o)),r[e]=t}}function De(e,t,r=!1){let o=Xt||or;if(o){let n=o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(n&&e in n)return n[e];if(arguments.length>1)return r&&Ue(t)?t.call(o.proxy):t}}function Ht(e,t){return cl(e,null,t)}function _0(e,t){return cl(e,null,{flush:"post"})}var ol={};function ct(e,t,r){return cl(e,t,r)}function cl(e,t,{immediate:r,deep:o,flush:n,onTrack:i,onTrigger:a}=mt){let s=C=>{x0("Invalid watch source: ",C,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},l=Xt,u,c=!1,d=!1;if(Rt(e)?(u=()=>e.value,c=ui(e)):on(e)?(u=()=>e,o=!0):We(e)?(d=!0,c=e.some(C=>on(C)||ui(C)),u=()=>e.map(C=>{if(Rt(C))return C.value;if(on(C))return Hn(C);if(Ue(C))return Io(C,l,2)})):Ue(e)?t?u=()=>Io(e,l,2):u=()=>{if(!(l&&l.isUnmounted))return p&&p(),Cr(e,l,3,[f])}:u=yr,t&&o){let C=u;u=()=>Hn(C())}let p,f=C=>{p=I.onStop=()=>{Io(C,l,4)}},h;if(ba)if(f=yr,t?r&&Cr(t,l,3,[u(),d?[]:void 0,f]):u(),n==="sync"){let C=kS();h=C.__watcherHandles||(C.__watcherHandles=[])}else return yr;let g=d?new Array(e.length).fill(ol):ol,E=()=>{if(I.active)if(t){let C=I.run();(o||c||(d?C.some((_,M)=>An(_,g[M])):An(C,g)))&&(p&&p(),Cr(t,l,3,[C,g===ol?void 0:d&&g[0]===ol?[]:g,f]),g=C)}else I.run()};E.allowRecurse=!!t;let b;n==="sync"?b=E:n==="post"?b=()=>hr(E,l&&l.suspense):(E.pre=!0,l&&(E.id=l.uid),b=()=>ad(E));let I=new Ln(u,b);t?r?E():g=I.run():n==="post"?hr(I.run.bind(I),l&&l.suspense):I.run();let P=()=>{I.stop(),l&&l.scope&&js(l.scope.effects,I)};return h&&h.push(P),P}function Rk(e,t,r){let o=this.proxy,n=Dt(e)?e.includes(".")?T0(o,e):()=>o[e]:e.bind(o,o),i;Ue(t)?i=t:(i=t.handler,r=t);let a=Xt;hi(this);let s=cl(n,i.bind(o),r);return a?hi(a):Fn(),s}function T0(e,t){let r=t.split(".");return()=>{let o=e;for(let n=0;n<r.length&&o;n++)o=o[r[n]];return o}}function Hn(e,t){if(!gt(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Rt(e))Hn(e.value,t);else if(We(e))for(let r=0;r<e.length;r++)Hn(e[r],t);else if(Ws(e)||Go(e))e.forEach(r=>{Hn(r,t)});else if(Pc(e))for(let r in e)Hn(e[r],t);return e}function sd(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ut(()=>{e.isMounted=!0}),Ot(()=>{e.isUnmounting=!0}),e}var Ar=[Function,Array],Mk={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ar,onEnter:Ar,onAfterEnter:Ar,onEnterCancelled:Ar,onBeforeLeave:Ar,onLeave:Ar,onAfterLeave:Ar,onLeaveCancelled:Ar,onBeforeAppear:Ar,onAppear:Ar,onAfterAppear:Ar,onAppearCancelled:Ar},setup(e,{slots:t}){let r=Lr(),o=sd(),n;return()=>{let i=t.default&&dl(t.default(),!0);if(!i||!i.length)return;let a=i[0];if(i.length>1){let g=!1;for(let E of i)if(E.type!==nr){a=E,g=!0;break}}let s=Ye(e),{mode:l}=s;if(o.isLeaving)return Yc(a);let u=a0(a);if(!u)return Yc(a);let c=di(u,s,o,r);fi(u,c);let d=r.subTree,p=d&&a0(d),f=!1,{getTransitionKey:h}=u.type;if(h){let g=h();n===void 0?n=g:g!==n&&(n=g,f=!0)}if(p&&p.type!==nr&&(!$n(u,p)||f)){let g=di(p,s,o,r);if(fi(p,g),l==="out-in")return o.isLeaving=!0,g.afterLeave=()=>{o.isLeaving=!1,r.update.active!==!1&&r.update()},Yc(a);l==="in-out"&&u.type!==nr&&(g.delayLeave=(E,b,I)=>{let P=D0(o,p);P[String(p.key)]=p,E._leaveCb=()=>{b(),E._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=I})}return a}}},ld=Mk;function D0(e,t){let{leavingVNodes:r}=e,o=r.get(t.type);return o||(o=Object.create(null),r.set(t.type,o)),o}function di(e,t,r,o){let{appear:n,mode:i,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:d,onLeave:p,onAfterLeave:f,onLeaveCancelled:h,onBeforeAppear:g,onAppear:E,onAfterAppear:b,onAppearCancelled:I}=t,P=String(e.key),C=D0(r,e),_=(T,$)=>{T&&Cr(T,o,9,$)},M=(T,$)=>{let N=$[1];_(T,$),We(T)?T.every(Z=>Z.length<=1)&&N():T.length<=1&&N()},v={mode:i,persisted:a,beforeEnter(T){let $=s;if(!r.isMounted)if(n)$=g||s;else return;T._leaveCb&&T._leaveCb(!0);let N=C[P];N&&$n(e,N)&&N.el._leaveCb&&N.el._leaveCb(),_($,[T])},enter(T){let $=l,N=u,Z=c;if(!r.isMounted)if(n)$=E||l,N=b||u,Z=I||c;else return;let R=!1,z=T._enterCb=re=>{R||(R=!0,re?_(Z,[T]):_(N,[T]),v.delayedLeave&&v.delayedLeave(),T._enterCb=void 0)};$?M($,[T,z]):z()},leave(T,$){let N=String(e.key);if(T._enterCb&&T._enterCb(!0),r.isUnmounting)return $();_(d,[T]);let Z=!1,R=T._leaveCb=z=>{Z||(Z=!0,$(),z?_(h,[T]):_(f,[T]),T._leaveCb=void 0,C[N]===e&&delete C[N])};C[N]=e,p?M(p,[T,R]):R()},clone(T){return di(T,t,r,o)}};return v}function Yc(e){if(fl(e))return e=an(e),e.children=null,e}function a0(e){return fl(e)?e.children?e.children[0]:void 0:e}function fi(e,t){e.shapeFlag&6&&e.component?fi(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function dl(e,t=!1,r){let o=[],n=0;for(let i=0;i<e.length;i++){let a=e[i],s=r==null?a.key:String(r)+String(a.key!=null?a.key:i);a.type===Lt?(a.patchFlag&128&&n++,o=o.concat(dl(a.children,t,s))):(t||a.type!==nr)&&o.push(s!=null?an(a,{key:s}):a)}if(n>1)for(let i=0;i<o.length;i++)o[i].patchFlag=-2;return o}function me(e){return Ue(e)?{setup:e,name:e.name}:e}var ua=e=>!!e.type.__asyncLoader;var fl=e=>e.type.__isKeepAlive;function ud(e,t){N0(e,"a",t)}function cd(e,t){N0(e,"da",t)}function N0(e,t,r=Xt){let o=e.__wdc||(e.__wdc=()=>{let n=r;for(;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(pl(t,o,r),r){let n=r.parent;for(;n&&n.parent;)fl(n.parent.vnode)&&Bk(o,t,r,n),n=n.parent}}function Bk(e,t,r,o){let n=pl(t,e,o,!0);Vn(()=>{js(o[t],n)},r)}function pl(e,t,r=Xt,o=!1){if(r){let n=r[e]||(r[e]=[]),i=t.__weh||(t.__weh=(...a)=>{if(r.isUnmounted)return;en(),hi(r);let s=Cr(t,r,e,a);return Fn(),tn(),s});return o?n.unshift(i):n.push(i),i}}var Lo=e=>(t,r=Xt)=>(!ba||e==="sp")&&pl(e,(...o)=>t(...o),r),Oo=Lo("bm"),ut=Lo("m"),dd=Lo("bu"),fd=Lo("u"),Ot=Lo("bum"),Vn=Lo("um"),$k=Lo("sp"),Hk=Lo("rtg"),Fk=Lo("rtc");function zk(e,t=Xt){pl("ec",e,t)}function hl(e,t){let r=or;if(r===null)return e;let o=xl(r)||r.proxy,n=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[a,s,l,u=mt]=t[i];a&&(Ue(a)&&(a={mounted:a,updated:a}),a.deep&&Hn(s),n.push({dir:a,instance:o,value:s,oldValue:void 0,arg:l,modifiers:u}))}return e}function Pn(e,t,r,o){let n=e.dirs,i=t&&t.dirs;for(let a=0;a<n.length;a++){let s=n[a];i&&(s.oldValue=i[a].value);let l=s.dir[o];l&&(en(),Cr(l,r,8,[e.el,s,e,t]),tn())}}var Vk=Symbol();function mi(e,t,r={},o,n){if(or.isCE||or.parent&&ua(or.parent)&&or.parent.isCE)return t!=="default"&&(r.name=t),yt("slot",r,o&&o());let i=e[t];i&&i._c&&(i._d=!1),ir();let a=i&&A0(i(r)),s=xa(Lt,{key:r.key||a&&a.key||`_${t}`},a||(o?o():[]),a&&e._===1?64:-2);return!n&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function A0(e){return e.some(t=>pi(t)?!(t.type===nr||t.type===Lt&&!A0(t.children)):!0)?e:null}var Jc=e=>e?j0(e)?xl(e)||e.proxy:Jc(e.parent):null,ca=It(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Jc(e.parent),$root:e=>Jc(e.root),$emit:e=>e.emit,$options:e=>pd(e),$forceUpdate:e=>e.f||(e.f=()=>ad(e.update)),$nextTick:e=>e.n||(e.n=Yt.bind(e.proxy)),$watch:e=>Rk.bind(e)});var Zc=(e,t)=>e!==mt&&!e.__isScriptSetup&&tt(e,t),jk={get({_:e},t){let{ctx:r,setupState:o,data:n,props:i,accessCache:a,type:s,appContext:l}=e,u;if(t[0]!=="$"){let f=a[t];if(f!==void 0)switch(f){case 1:return o[t];case 2:return n[t];case 4:return r[t];case 3:return i[t]}else{if(Zc(o,t))return a[t]=1,o[t];if(n!==mt&&tt(n,t))return a[t]=2,n[t];if((u=e.propsOptions[0])&&tt(u,t))return a[t]=3,i[t];if(r!==mt&&tt(r,t))return a[t]=4,r[t];ed&&(a[t]=0)}}let c=ca[t],d,p;if(c)return t==="$attrs"&&pr(e,"get",t),c(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(r!==mt&&tt(r,t))return a[t]=4,r[t];if(p=l.config.globalProperties,tt(p,t))return p[t]},set({_:e},t,r){let{data:o,setupState:n,ctx:i}=e;return Zc(n,t)?(n[t]=r,!0):o!==mt&&tt(o,t)?(o[t]=r,!0):tt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:o,appContext:n,propsOptions:i}},a){let s;return!!r[a]||e!==mt&&tt(e,a)||Zc(t,a)||(s=i[0])&&tt(s,a)||tt(o,a)||tt(ca,a)||tt(n.config.globalProperties,a)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:tt(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};var ed=!0;function Wk(e){let t=pd(e),r=e.proxy,o=e.ctx;ed=!1,t.beforeCreate&&s0(t.beforeCreate,e,"bc");let{data:n,computed:i,methods:a,watch:s,provide:l,inject:u,created:c,beforeMount:d,mounted:p,beforeUpdate:f,updated:h,activated:g,deactivated:E,beforeDestroy:b,beforeUnmount:I,destroyed:P,unmounted:C,render:_,renderTracked:M,renderTriggered:v,errorCaptured:T,serverPrefetch:$,expose:N,inheritAttrs:Z,components:R,directives:z,filters:re}=t;if(u&&qk(u,o,null,e.appContext.config.unwrapInjectedRef),a)for(let le in a){let be=a[le];Ue(be)&&(o[le]=be.bind(r))}if(n){let le=n.call(r,r);gt(le)&&(e.data=uo(le))}if(ed=!0,i)for(let le in i){let be=i[le],Ae=Ue(be)?be.bind(r,r):Ue(be.get)?be.get.bind(r,r):yr,ze=!Ue(be)&&Ue(be.set)?be.set.bind(r):yr,Fe=F({get:Ae,set:ze});Object.defineProperty(o,le,{enumerable:!0,configurable:!0,get:()=>Fe.value,set:at=>Fe.value=at})}if(s)for(let le in s)I0(s[le],o,r,le);if(l){let le=Ue(l)?l.call(r):l;Reflect.ownKeys(le).forEach(be=>{Zt(be,le[be])})}c&&s0(c,e,"c");function ce(le,be){We(be)?be.forEach(Ae=>le(Ae.bind(r))):be&&le(be.bind(r))}if(ce(Oo,d),ce(ut,p),ce(dd,f),ce(fd,h),ce(ud,g),ce(cd,E),ce(zk,T),ce(Fk,M),ce(Hk,v),ce(Ot,I),ce(Vn,C),ce($k,$),We(N))if(N.length){let le=e.exposed||(e.exposed={});N.forEach(be=>{Object.defineProperty(le,be,{get:()=>r[be],set:Ae=>r[be]=Ae})})}else e.exposed||(e.exposed={});_&&e.render===yr&&(e.render=_),Z!=null&&(e.inheritAttrs=Z),R&&(e.components=R),z&&(e.directives=z)}function qk(e,t,r=yr,o=!1){We(e)&&(e=td(e));for(let n in e){let i=e[n],a;gt(i)?"default"in i?a=De(i.from||n,i.default,!0):a=De(i.from||n):a=De(i),Rt(a)&&o?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>a.value,set:s=>a.value=s}):t[n]=a}}function s0(e,t,r){Cr(We(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,r)}function I0(e,t,r,o){let n=o.includes(".")?T0(r,o):()=>r[o];if(Dt(e)){let i=t[e];Ue(i)&&ct(n,i)}else if(Ue(e))ct(n,e.bind(r));else if(gt(e))if(We(e))e.forEach(i=>I0(i,t,r,o));else{let i=Ue(e.handler)?e.handler.bind(r):t[e.handler];Ue(i)&&ct(n,i,e)}}function pd(e){let t=e.type,{mixins:r,extends:o}=t,{mixins:n,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t),l;return s?l=s:!n.length&&!r&&!o?l=t:(l={},n.length&&n.forEach(u=>sl(l,u,a,!0)),sl(l,t,a)),gt(t)&&i.set(t,l),l}function sl(e,t,r,o=!1){let{mixins:n,extends:i}=t;i&&sl(e,i,r,!0),n&&n.forEach(a=>sl(e,a,r,!0));for(let a in t)if(!(o&&a==="expose")){let s=Uk[a]||r&&r[a];e[a]=s?s(e[a],t[a]):t[a]}return e}var Uk={data:l0,props:Mn,emits:Mn,methods:Mn,computed:Mn,beforeCreate:ur,created:ur,beforeMount:ur,mounted:ur,beforeUpdate:ur,updated:ur,beforeDestroy:ur,beforeUnmount:ur,destroyed:ur,unmounted:ur,activated:ur,deactivated:ur,errorCaptured:ur,serverPrefetch:ur,components:Mn,directives:Mn,watch:Gk,provide:l0,inject:Kk};function l0(e,t){return t?e?function(){return It(Ue(e)?e.call(this,this):e,Ue(t)?t.call(this,this):t)}:t:e}function Kk(e,t){return Mn(td(e),td(t))}function td(e){if(We(e)){let t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function ur(e,t){return e?[...new Set([].concat(e,t))]:t}function Mn(e,t){return e?It(It(Object.create(null),e),t):t}function Gk(e,t){if(!e)return t;if(!t)return e;let r=It(Object.create(null),e);for(let o in t)r[o]=ur(e[o],t[o]);return r}function Xk(e,t,r,o=!1){let n={},i={};si(i,gl,1),e.propsDefaults=Object.create(null),L0(e,t,n,i);for(let a in e.propsOptions[0])a in n||(n[a]=void 0);r?e.props=o?n:Uc(n):e.type.props?e.props=n:e.props=i,e.attrs=i}function Yk(e,t,r,o){let{props:n,attrs:i,vnode:{patchFlag:a}}=e,s=Ye(n),[l]=e.propsOptions,u=!1;if((o||a>0)&&!(a&16)){if(a&8){let c=e.vnode.dynamicProps;for(let d=0;d<c.length;d++){let p=c[d];if(ul(e.emitsOptions,p))continue;let f=t[p];if(l)if(tt(i,p))f!==i[p]&&(i[p]=f,u=!0);else{let h=ao(p);n[h]=rd(l,s,h,f,e,!1)}else f!==i[p]&&(i[p]=f,u=!0)}}}else{L0(e,t,n,i)&&(u=!0);let c;for(let d in s)(!t||!tt(t,d)&&((c=Xo(d))===d||!tt(t,c)))&&(l?r&&(r[d]!==void 0||r[c]!==void 0)&&(n[d]=rd(l,s,d,void 0,e,!0)):delete n[d]);if(i!==s)for(let d in i)(!t||!tt(t,d))&&(delete i[d],u=!0)}u&&lo(e,"set","$attrs")}function L0(e,t,r,o){let[n,i]=e.propsOptions,a=!1,s;if(t)for(let l in t){if(ta(l))continue;let u=t[l],c;n&&tt(n,c=ao(l))?!i||!i.includes(c)?r[c]=u:(s||(s={}))[c]=u:ul(e.emitsOptions,l)||(!(l in o)||u!==o[l])&&(o[l]=u,a=!0)}if(i){let l=Ye(r),u=s||mt;for(let c=0;c<i.length;c++){let d=i[c];r[d]=rd(n,l,d,u[d],e,!tt(u,d))}}return a}function rd(e,t,r,o,n,i){let a=e[r];if(a!=null){let s=tt(a,"default");if(s&&o===void 0){let l=a.default;if(a.type!==Function&&Ue(l)){let{propsDefaults:u}=n;r in u?o=u[r]:(hi(n),o=u[r]=l.call(null,t),Fn())}else o=l}a[0]&&(i&&!s?o=!1:a[1]&&(o===""||o===Xo(r))&&(o=!0))}return o}function O0(e,t,r=!1){let o=t.propsCache,n=o.get(e);if(n)return n;let i=e.props,a={},s=[],l=!1;if(!Ue(e)){let c=d=>{l=!0;let[p,f]=O0(d,t,!0);It(a,p),f&&s.push(...f)};!r&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!l)return gt(e)&&o.set(e,Nn),Nn;if(We(i))for(let c=0;c<i.length;c++){let d=ao(i[c]);u0(d)&&(a[d]=mt)}else if(i)for(let c in i){let d=ao(c);if(u0(d)){let p=i[c],f=a[d]=We(p)||Ue(p)?{type:p}:Object.assign({},p);if(f){let h=f0(Boolean,f.type),g=f0(String,f.type);f[0]=h>-1,f[1]=g<0||h<g,(h>-1||tt(f,"default"))&&s.push(d)}}}let u=[a,s];return gt(e)&&o.set(e,u),u}function u0(e){return e[0]!=="$"}function c0(e){let t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function d0(e,t){return c0(e)===c0(t)}function f0(e,t){return We(t)?t.findIndex(r=>d0(r,e)):Ue(t)&&d0(t,e)?0:-1}var P0=e=>e[0]==="_"||e==="$stable",hd=e=>We(e)?e.map(fo):[fo(e)],Zk=(e,t,r)=>{if(t._n)return t;let o=zn((...n)=>hd(t(...n)),r);return o._c=!1,o},R0=(e,t,r)=>{let o=e._ctx;for(let n in e){if(P0(n))continue;let i=e[n];if(Ue(i))t[n]=Zk(n,i,o);else if(i!=null){let a=hd(i);t[n]=()=>a}}},M0=(e,t)=>{let r=hd(t);e.slots.default=()=>r},Qk=(e,t)=>{if(e.vnode.shapeFlag&32){let r=t._;r?(e.slots=Ye(t),si(t,"_",r)):R0(t,e.slots={})}else e.slots={},t&&M0(e,t);si(e.slots,gl,1)},Jk=(e,t,r)=>{let{vnode:o,slots:n}=e,i=!0,a=mt;if(o.shapeFlag&32){let s=t._;s?r&&s===1?i=!1:(It(n,t),!r&&s===1&&delete n._):(i=!t.$stable,R0(t,n)),a=t}else t&&(M0(e,t),a={default:1});if(i)for(let s in n)!P0(s)&&!(s in a)&&delete n[s]};function B0(){return{app:null,config:{isNativeTag:Pm,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}var eS=0;function tS(e,t){return function(o,n=null){Ue(o)||(o=Object.assign({},o)),n!=null&&!gt(n)&&(n=null);let i=B0(),a=new Set,s=!1,l=i.app={_uid:eS++,_component:o,_props:n,_container:null,_context:i,_instance:null,version:SS,get config(){return i.config},set config(u){},use(u,...c){return a.has(u)||(u&&Ue(u.install)?(a.add(u),u.install(l,...c)):Ue(u)&&(a.add(u),u(l,...c))),l},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),l},component(u,c){return c?(i.components[u]=c,l):i.components[u]},directive(u,c){return c?(i.directives[u]=c,l):i.directives[u]},mount(u,c,d){if(!s){let p=yt(o,n);return p.appContext=i,c&&t?t(p,u):e(p,u,d),s=!0,l._container=u,u.__vue_app__=l,xl(p.component)||p.component.proxy}},unmount(){s&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,c){return i.provides[u]=c,l}};return l}}function od(e,t,r,o,n=!1){if(We(e)){e.forEach((p,f)=>od(p,t&&(We(t)?t[f]:t),r,o,n));return}if(ua(o)&&!n)return;let i=o.shapeFlag&4?xl(o.component)||o.component.proxy:o.el,a=n?null:i,{i:s,r:l}=e,u=t&&t.r,c=s.refs===mt?s.refs={}:s.refs,d=s.setupState;if(u!=null&&u!==l&&(Dt(u)?(c[u]=null,tt(d,u)&&(d[u]=null)):Rt(u)&&(u.value=null)),Ue(l))Io(l,s,12,[a,c]);else{let p=Dt(l),f=Rt(l);if(p||f){let h=()=>{if(e.f){let g=p?tt(d,l)?d[l]:c[l]:l.value;n?We(g)&&js(g,i):We(g)?g.includes(i)||g.push(i):p?(c[l]=[i],tt(d,l)&&(d[l]=c[l])):(l.value=[i],e.k&&(c[e.k]=l.value))}else p?(c[l]=a,tt(d,l)&&(d[l]=a)):f&&(l.value=a,e.k&&(c[e.k]=a))};a?(h.id=-1,hr(h,r)):h()}}}function rS(){let e=[]}var hr=Pk;function $0(e){return oS(e)}function oS(e,t){rS();let r=Mm();r.__VUE__=!0;let{insert:o,remove:n,patchProp:i,createElement:a,createText:s,createComment:l,setText:u,setElementText:c,parentNode:d,nextSibling:p,setScopeId:f=yr,insertStaticContent:h}=e,g=(m,w,H,q=null,K=null,ae=null,ne=!1,V=null,J=!!w.dynamicChildren)=>{if(m===w)return;m&&!$n(m,w)&&(q=pt(m),Ke(m,K,ae,!0),m=null),w.patchFlag===-2&&(J=!1,w.dynamicChildren=null);let{type:X,ref:A,shapeFlag:O}=w;switch(X){case ml:E(m,w,H,q);break;case nr:b(m,w,H,q);break;case fa:m==null&&I(w,H,q,ne);break;case Lt:z(m,w,H,q,K,ae,ne,V,J);break;default:O&1?M(m,w,H,q,K,ae,ne,V,J):O&6?re(m,w,H,q,K,ae,ne,V,J):(O&64||O&128)&&X.process(m,w,H,q,K,ae,ne,V,J,ht)}A!=null&&K&&od(A,m&&m.ref,ae,w||m,!w)},E=(m,w,H,q)=>{if(m==null)o(w.el=s(w.children),H,q);else{let K=w.el=m.el;w.children!==m.children&&u(K,w.children)}},b=(m,w,H,q)=>{m==null?o(w.el=l(w.children||""),H,q):w.el=m.el},I=(m,w,H,q)=>{[m.el,m.anchor]=h(m.children,w,H,q,m.el,m.anchor)},P=(m,w,H,q)=>{if(w.children!==m.children){let K=p(m.anchor);_(m),[w.el,w.anchor]=h(w.children,H,K,q)}else w.el=m.el,w.anchor=m.anchor},C=({el:m,anchor:w},H,q)=>{let K;for(;m&&m!==w;)K=p(m),o(m,H,q),m=K;o(w,H,q)},_=({el:m,anchor:w})=>{let H;for(;m&&m!==w;)H=p(m),n(m),m=H;n(w)},M=(m,w,H,q,K,ae,ne,V,J)=>{ne=ne||w.type==="svg",m==null?v(w,H,q,K,ae,ne,V,J):N(m,w,K,ae,ne,V,J)},v=(m,w,H,q,K,ae,ne,V)=>{let J,X,{type:A,props:O,shapeFlag:j,transition:se,dirs:xe}=m;if(J=m.el=a(m.type,ae,O&&O.is,O),j&8?c(J,m.children):j&16&&$(m.children,J,null,q,K,ae&&A!=="foreignObject",ne,V),xe&&Pn(m,null,q,"created"),O){for(let Oe in O)Oe!=="value"&&!ta(Oe)&&i(J,Oe,null,O[Oe],ae,m.children,q,K,Je);"value"in O&&i(J,"value",null,O.value),(X=O.onVnodeBeforeMount)&&co(X,q,m)}T(J,m,m.scopeId,ne,q),xe&&Pn(m,null,q,"beforeMount");let Ie=(!K||K&&!K.pendingBranch)&&se&&!se.persisted;Ie&&se.beforeEnter(J),o(J,w,H),((X=O&&O.onVnodeMounted)||Ie||xe)&&hr(()=>{X&&co(X,q,m),Ie&&se.enter(J),xe&&Pn(m,null,q,"mounted")},K)},T=(m,w,H,q,K)=>{if(H&&f(m,H),q)for(let ae=0;ae<q.length;ae++)f(m,q[ae]);if(K){let ae=K.subTree;if(w===ae){let ne=K.vnode;T(m,ne,ne.scopeId,ne.slotScopeIds,K.parent)}}},$=(m,w,H,q,K,ae,ne,V,J=0)=>{for(let X=J;X<m.length;X++){let A=m[X]=V?nn(m[X]):fo(m[X]);g(null,A,w,H,q,K,ae,ne,V)}},N=(m,w,H,q,K,ae,ne)=>{let V=w.el=m.el,{patchFlag:J,dynamicChildren:X,dirs:A}=w;J|=m.patchFlag&16;let O=m.props||mt,j=w.props||mt,se;H&&Rn(H,!1),(se=j.onVnodeBeforeUpdate)&&co(se,H,w,m),A&&Pn(w,m,H,"beforeUpdate"),H&&Rn(H,!0);let xe=K&&w.type!=="foreignObject";if(X?Z(m.dynamicChildren,X,V,H,q,xe,ae):ne||Ae(m,w,V,null,H,q,xe,ae,!1),J>0){if(J&16)R(V,w,O,j,H,q,K);else if(J&2&&O.class!==j.class&&i(V,"class",null,j.class,K),J&4&&i(V,"style",O.style,j.style,K),J&8){let Ie=w.dynamicProps;for(let Oe=0;Oe<Ie.length;Oe++){let je=Ie[Oe],Y=O[je],de=j[je];(de!==Y||je==="value")&&i(V,je,Y,de,K,m.children,H,q,Je)}}J&1&&m.children!==w.children&&c(V,w.children)}else!ne&&X==null&&R(V,w,O,j,H,q,K);((se=j.onVnodeUpdated)||A)&&hr(()=>{se&&co(se,H,w,m),A&&Pn(w,m,H,"updated")},q)},Z=(m,w,H,q,K,ae,ne)=>{for(let V=0;V<w.length;V++){let J=m[V],X=w[V],A=J.el&&(J.type===Lt||!$n(J,X)||J.shapeFlag&70)?d(J.el):H;g(J,X,A,null,q,K,ae,ne,!0)}},R=(m,w,H,q,K,ae,ne)=>{if(H!==q){if(H!==mt)for(let V in H)!ta(V)&&!(V in q)&&i(m,V,H[V],null,ne,w.children,K,ae,Je);for(let V in q){if(ta(V))continue;let J=q[V],X=H[V];J!==X&&V!=="value"&&i(m,V,X,J,ne,w.children,K,ae,Je)}"value"in q&&i(m,"value",H.value,q.value)}},z=(m,w,H,q,K,ae,ne,V,J)=>{let X=w.el=m?m.el:s(""),A=w.anchor=m?m.anchor:s(""),{patchFlag:O,dynamicChildren:j,slotScopeIds:se}=w;se&&(V=V?V.concat(se):se),m==null?(o(X,H,q),o(A,H,q),$(w.children,H,A,K,ae,ne,V,J)):O>0&&O&64&&j&&m.dynamicChildren?(Z(m.dynamicChildren,j,H,K,ae,ne,V),(w.key!=null||K&&w===K.subTree)&&md(m,w,!0)):Ae(m,w,H,A,K,ae,ne,V,J)},re=(m,w,H,q,K,ae,ne,V,J)=>{w.slotScopeIds=V,m==null?w.shapeFlag&512?K.ctx.activate(w,H,q,ne,J):ve(w,H,q,K,ae,ne,J):ce(m,w,J)},ve=(m,w,H,q,K,ae,ne)=>{let V=m.component=pS(m,q,K);if(fl(m)&&(V.ctx.renderer=ht),hS(V),V.asyncDep){if(K&&K.registerDep(V,le),!m.el){let J=V.subTree=yt(nr);b(null,J,w,H)}return}le(V,m,w,H,K,ae,ne)},ce=(m,w,H)=>{let q=w.component=m.component;if(Ik(m,w,H))if(q.asyncDep&&!q.asyncResolved){be(q,w,H);return}else q.next=w,Ek(q.update),q.update();else w.el=m.el,q.vnode=w},le=(m,w,H,q,K,ae,ne)=>{let V=()=>{if(m.isMounted){let{next:A,bu:O,u:j,parent:se,vnode:xe}=m,Ie=A,Oe;Rn(m,!1),A?(A.el=xe.el,be(m,A,ne)):A=xe,O&&na(O),(Oe=A.props&&A.props.onVnodeBeforeUpdate)&&co(Oe,se,A,xe),Rn(m,!0);let je=Xc(m),Y=m.subTree;m.subTree=je,g(Y,je,d(Y.el),pt(Y),m,K,ae),A.el=je.el,Ie===null&&Lk(m,je.el),j&&hr(j,K),(Oe=A.props&&A.props.onVnodeUpdated)&&hr(()=>co(Oe,se,A,xe),K)}else{let A,{el:O,props:j}=w,{bm:se,m:xe,parent:Ie}=m,Oe=ua(w);if(Rn(m,!1),se&&na(se),!Oe&&(A=j&&j.onVnodeBeforeMount)&&co(A,Ie,w),Rn(m,!0),O&&zt){let je=()=>{m.subTree=Xc(m),zt(O,m.subTree,m,K,null)};Oe?w.type.__asyncLoader().then(()=>!m.isUnmounted&&je()):je()}else{let je=m.subTree=Xc(m);g(null,je,H,q,m,K,ae),w.el=je.el}if(xe&&hr(xe,K),!Oe&&(A=j&&j.onVnodeMounted)){let je=w;hr(()=>co(A,Ie,je),K)}(w.shapeFlag&256||Ie&&ua(Ie.vnode)&&Ie.vnode.shapeFlag&256)&&m.a&&hr(m.a,K),m.isMounted=!0,w=H=q=null}},J=m.effect=new Ln(V,()=>ad(X),m.scope),X=m.update=()=>J.run();X.id=m.uid,Rn(m,!0),X()},be=(m,w,H)=>{w.component=m;let q=m.vnode.props;m.vnode=w,m.next=null,Yk(m,w.props,q,H),Jk(m,w.children,H),en(),n0(),tn()},Ae=(m,w,H,q,K,ae,ne,V,J=!1)=>{let X=m&&m.children,A=m?m.shapeFlag:0,O=w.children,{patchFlag:j,shapeFlag:se}=w;if(j>0){if(j&128){Fe(X,O,H,q,K,ae,ne,V,J);return}else if(j&256){ze(X,O,H,q,K,ae,ne,V,J);return}}se&8?(A&16&&Je(X,K,ae),O!==X&&c(H,O)):A&16?se&16?Fe(X,O,H,q,K,ae,ne,V,J):Je(X,K,ae,!0):(A&8&&c(H,""),se&16&&$(O,H,q,K,ae,ne,V,J))},ze=(m,w,H,q,K,ae,ne,V,J)=>{m=m||Nn,w=w||Nn;let X=m.length,A=w.length,O=Math.min(X,A),j;for(j=0;j<O;j++){let se=w[j]=J?nn(w[j]):fo(w[j]);g(m[j],se,H,null,K,ae,ne,V,J)}X>A?Je(m,K,ae,!0,!1,O):$(w,H,q,K,ae,ne,V,J,O)},Fe=(m,w,H,q,K,ae,ne,V,J)=>{let X=0,A=w.length,O=m.length-1,j=A-1;for(;X<=O&&X<=j;){let se=m[X],xe=w[X]=J?nn(w[X]):fo(w[X]);if($n(se,xe))g(se,xe,H,null,K,ae,ne,V,J);else break;X++}for(;X<=O&&X<=j;){let se=m[O],xe=w[j]=J?nn(w[j]):fo(w[j]);if($n(se,xe))g(se,xe,H,null,K,ae,ne,V,J);else break;O--,j--}if(X>O){if(X<=j){let se=j+1,xe=se<A?w[se].el:q;for(;X<=j;)g(null,w[X]=J?nn(w[X]):fo(w[X]),H,xe,K,ae,ne,V,J),X++}}else if(X>j)for(;X<=O;)Ke(m[X],K,ae,!0),X++;else{let se=X,xe=X,Ie=new Map;for(X=xe;X<=j;X++){let Ze=w[X]=J?nn(w[X]):fo(w[X]);Ze.key!=null&&Ie.set(Ze.key,X)}let Oe,je=0,Y=j-xe+1,de=!1,Ce=0,qe=new Array(Y);for(X=0;X<Y;X++)qe[X]=0;for(X=se;X<=O;X++){let Ze=m[X];if(je>=Y){Ke(Ze,K,ae,!0);continue}let lt;if(Ze.key!=null)lt=Ie.get(Ze.key);else for(Oe=xe;Oe<=j;Oe++)if(qe[Oe-xe]===0&&$n(Ze,w[Oe])){lt=Oe;break}lt===void 0?Ke(Ze,K,ae,!0):(qe[lt-xe]=X+1,lt>=Ce?Ce=lt:de=!0,g(Ze,w[lt],H,null,K,ae,ne,V,J),je++)}let st=de?nS(qe):Nn;for(Oe=st.length-1,X=Y-1;X>=0;X--){let Ze=xe+X,lt=w[Ze],et=Ze+1<A?w[Ze+1].el:q;qe[X]===0?g(null,lt,H,et,K,ae,ne,V,J):de&&(Oe<0||X!==st[Oe]?at(lt,H,et,2):Oe--)}}},at=(m,w,H,q,K=null)=>{let{el:ae,type:ne,transition:V,children:J,shapeFlag:X}=m;if(X&6){at(m.component.subTree,w,H,q);return}if(X&128){m.suspense.move(w,H,q);return}if(X&64){ne.move(m,w,H,ht);return}if(ne===Lt){o(ae,w,H);for(let O=0;O<J.length;O++)at(J[O],w,H,q);o(m.anchor,w,H);return}if(ne===fa){C(m,w,H);return}if(q!==2&&X&1&&V)if(q===0)V.beforeEnter(ae),o(ae,w,H),hr(()=>V.enter(ae),K);else{let{leave:O,delayLeave:j,afterLeave:se}=V,xe=()=>o(ae,w,H),Ie=()=>{O(ae,()=>{xe(),se&&se()})};j?j(ae,xe,Ie):Ie()}else o(ae,w,H)},Ke=(m,w,H,q=!1,K=!1)=>{let{type:ae,props:ne,ref:V,children:J,dynamicChildren:X,shapeFlag:A,patchFlag:O,dirs:j}=m;if(V!=null&&od(V,null,H,m,!0),A&256){w.ctx.deactivate(m);return}let se=A&1&&j,xe=!ua(m),Ie;if(xe&&(Ie=ne&&ne.onVnodeBeforeUnmount)&&co(Ie,w,m),A&6)Ge(m.component,H,q);else{if(A&128){m.suspense.unmount(H,q);return}se&&Pn(m,null,w,"beforeUnmount"),A&64?m.type.remove(m,w,H,K,ht,q):X&&(ae!==Lt||O>0&&O&64)?Je(X,w,H,!1,!0):(ae===Lt&&O&384||!K&&A&16)&&Je(J,w,H),q&&Xe(m)}(xe&&(Ie=ne&&ne.onVnodeUnmounted)||se)&&hr(()=>{Ie&&co(Ie,w,m),se&&Pn(m,null,w,"unmounted")},H)},Xe=m=>{let{type:w,el:H,anchor:q,transition:K}=m;if(w===Lt){ot(H,q);return}if(w===fa){_(m);return}let ae=()=>{n(H),K&&!K.persisted&&K.afterLeave&&K.afterLeave()};if(m.shapeFlag&1&&K&&!K.persisted){let{leave:ne,delayLeave:V}=K,J=()=>ne(H,ae);V?V(m.el,ae,J):J()}else ae()},ot=(m,w)=>{let H;for(;m!==w;)H=p(m),n(m),m=H;n(w)},Ge=(m,w,H)=>{let{bum:q,scope:K,update:ae,subTree:ne,um:V}=m;q&&na(q),K.stop(),ae&&(ae.active=!1,Ke(ne,m,w,H)),V&&hr(V,w),hr(()=>{m.isUnmounted=!0},w),w&&w.pendingBranch&&!w.isUnmounted&&m.asyncDep&&!m.asyncResolved&&m.suspenseId===w.pendingId&&(w.deps--,w.deps===0&&w.resolve())},Je=(m,w,H,q=!1,K=!1,ae=0)=>{for(let ne=ae;ne<m.length;ne++)Ke(m[ne],w,H,q,K)},pt=m=>m.shapeFlag&6?pt(m.component.subTree):m.shapeFlag&128?m.suspense.next():p(m.anchor||m.el),$e=(m,w,H)=>{m==null?w._vnode&&Ke(w._vnode,null,null,!0):g(w._vnode||null,m,w,null,null,null,H),n0(),C0(),w._vnode=m},ht={p:g,um:Ke,m:at,r:Xe,mt:ve,mc:$,pc:Ae,pbc:Z,n:pt,o:e},_t,zt;return t&&([_t,zt]=t(ht)),{render:$e,hydrate:_t,createApp:tS($e,_t)}}function Rn({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function md(e,t,r=!1){let o=e.children,n=t.children;if(We(o)&&We(n))for(let i=0;i<o.length;i++){let a=o[i],s=n[i];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=n[i]=nn(n[i]),s.el=a.el),r||md(a,s)),s.type===ml&&(s.el=a.el)}}function nS(e){let t=e.slice(),r=[0],o,n,i,a,s,l=e.length;for(o=0;o<l;o++){let u=e[o];if(u!==0){if(n=r[r.length-1],e[n]<u){t[o]=n,r.push(o);continue}for(i=0,a=r.length-1;i<a;)s=i+a>>1,e[r[s]]<u?i=s+1:a=s;u<e[r[i]]&&(i>0&&(t[o]=r[i-1]),r[i]=o)}}for(i=r.length,a=r[i-1];i-- >0;)r[i]=a,a=t[a];return r}var iS=e=>e.__isTeleport,da=e=>e&&(e.disabled||e.disabled===""),p0=e=>typeof SVGElement<"u"&&e instanceof SVGElement,nd=(e,t)=>{let r=e&&e.to;if(Dt(r))if(t){let o=t(r);return o}else return null;else return r},aS={__isTeleport:!0,process(e,t,r,o,n,i,a,s,l,u){let{mc:c,pc:d,pbc:p,o:{insert:f,querySelector:h,createText:g,createComment:E}}=u,b=da(t.props),{shapeFlag:I,children:P,dynamicChildren:C}=t;if(e==null){let _=t.el=g(""),M=t.anchor=g("");f(_,r,o),f(M,r,o);let v=t.target=nd(t.props,h),T=t.targetAnchor=g("");v&&(f(T,v),a=a||p0(v));let $=(N,Z)=>{I&16&&c(P,N,Z,n,i,a,s,l)};b?$(r,M):v&&$(v,T)}else{t.el=e.el;let _=t.anchor=e.anchor,M=t.target=e.target,v=t.targetAnchor=e.targetAnchor,T=da(e.props),$=T?r:M,N=T?_:v;if(a=a||p0(M),C?(p(e.dynamicChildren,C,$,n,i,a,s),md(e,t,!0)):l||d(e,t,$,N,n,i,a,s,!1),b)T||nl(t,r,_,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let Z=t.target=nd(t.props,h);Z&&nl(t,Z,null,u,0)}else T&&nl(t,M,v,u,1)}F0(t)},remove(e,t,r,o,{um:n,o:{remove:i}},a){let{shapeFlag:s,children:l,anchor:u,targetAnchor:c,target:d,props:p}=e;if(d&&i(c),(a||!da(p))&&(i(u),s&16))for(let f=0;f<l.length;f++){let h=l[f];n(h,t,r,!0,!!h.dynamicChildren)}},move:nl,hydrate:sS};function nl(e,t,r,{o:{insert:o},m:n},i=2){i===0&&o(e.targetAnchor,t,r);let{el:a,anchor:s,shapeFlag:l,children:u,props:c}=e,d=i===2;if(d&&o(a,t,r),(!d||da(c))&&l&16)for(let p=0;p<u.length;p++)n(u[p],t,r,2);d&&o(s,t,r)}function sS(e,t,r,o,n,i,{o:{nextSibling:a,parentNode:s,querySelector:l}},u){let c=t.target=nd(t.props,l);if(c){let d=c._lpa||c.firstChild;if(t.shapeFlag&16)if(da(t.props))t.anchor=u(a(e),t,s(e),r,o,n,i),t.targetAnchor=d;else{t.anchor=a(e);let p=d;for(;p;)if(p=a(p),p&&p.nodeType===8&&p.data==="teleport anchor"){t.targetAnchor=p,c._lpa=t.targetAnchor&&a(t.targetAnchor);break}u(d,t,c,r,o,n,i)}F0(t)}return t.anchor&&a(t.anchor)}var H0=aS;function F0(e){let t=e.ctx;if(t&&t.ut){let r=e.children[0].el;for(;r!==e.targetAnchor;)r.nodeType===1&&r.setAttribute("data-v-owner",t.uid),r=r.nextSibling;t.ut()}}var Lt=Symbol(void 0),ml=Symbol(void 0),nr=Symbol(void 0),fa=Symbol(void 0),pa=[],Kr=null;function ir(e=!1){pa.push(Kr=e?null:[])}function lS(){pa.pop(),Kr=pa[pa.length-1]||null}var ga=1;function h0(e){ga+=e}function z0(e){return e.dynamicChildren=ga>0?Kr||Nn:null,lS(),ga>0&&Kr&&Kr.push(e),e}function Ir(e,t,r,o,n,i){return z0(sn(e,t,r,o,n,i,!0))}function xa(e,t,r,o,n){return z0(yt(e,t,r,o,n,!0))}function pi(e){return e?e.__v_isVNode===!0:!1}function $n(e,t){return e.type===t.type&&e.key===t.key}var gl="__vInternal",V0=({key:e})=>e??null,il=({ref:e,ref_key:t,ref_for:r})=>e!=null?Dt(e)||Rt(e)||Ue(e)?{i:or,r:e,k:t,f:!!r}:e:null;function sn(e,t=null,r=null,o=0,n=null,i=e===Lt?0:1,a=!1,s=!1){let l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&V0(t),ref:t&&il(t),scopeId:E0,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:n,dynamicChildren:null,appContext:null,ctx:or};return s?(gd(l,r),i&128&&e.normalize(l)):r&&(l.shapeFlag|=Dt(r)?8:16),ga>0&&!a&&Kr&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Kr.push(l),l}var yt=uS;function uS(e,t=null,r=null,o=0,n=null,i=!1){if((!e||e===Vk)&&(e=nr),pi(e)){let s=an(e,t,!0);return r&&gd(s,r),ga>0&&!i&&Kr&&(s.shapeFlag&6?Kr[Kr.indexOf(e)]=s:Kr.push(s)),s.patchFlag|=-2,s}if(wS(e)&&(e=e.__vccOpts),t){t=cS(t);let{class:s,style:l}=t;s&&!Dt(s)&&(t.class=Dn(s)),gt(l)&&(tl(l)&&!We(l)&&(l=It({},l)),t.style=No(l))}let a=Dt(e)?1:Ok(e)?128:iS(e)?64:gt(e)?4:Ue(e)?2:0;return sn(e,t,r,o,n,a,i,!0)}function cS(e){return e?tl(e)||gl in e?It({},e):e:null}function an(e,t,r=!1){let{props:o,ref:n,patchFlag:i,children:a}=e,s=t?va(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&V0(s),ref:t&&t.ref?r&&n?We(n)?n.concat(il(t)):[n,il(t)]:il(t):n,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Lt?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&an(e.ssContent),ssFallback:e.ssFallback&&an(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx}}function gi(e=" ",t=0){return yt(ml,null,e,t)}function bl(e="",t=!1){return t?(ir(),xa(nr,null,e)):yt(nr,null,e)}function fo(e){return e==null||typeof e=="boolean"?yt(nr):We(e)?yt(Lt,null,e.slice()):typeof e=="object"?nn(e):yt(ml,null,String(e))}function nn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:an(e)}function gd(e,t){let r=0,{shapeFlag:o}=e;if(t==null)t=null;else if(We(t))r=16;else if(typeof t=="object")if(o&65){let n=t.default;n&&(n._c&&(n._d=!1),gd(e,n()),n._c&&(n._d=!0));return}else{r=32;let n=t._;!n&&!(gl in t)?t._ctx=or:n===3&&or&&(or.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ue(t)?(t={default:t,_ctx:or},r=32):(t=String(t),o&64?(r=16,t=[gi(t)]):r=8);e.children=t,e.shapeFlag|=r}function va(...e){let t={};for(let r=0;r<e.length;r++){let o=e[r];for(let n in o)if(n==="class")t.class!==o.class&&(t.class=Dn([t.class,o.class]));else if(n==="style")t.style=No([t.style,o.style]);else if(ai(n)){let i=t[n],a=o[n];a&&i!==a&&!(We(i)&&i.includes(a))&&(t[n]=i?[].concat(i,a):a)}else n!==""&&(t[n]=o[n])}return t}function co(e,t,r,o=null){Cr(e,t,7,[r,o])}var dS=B0(),fS=0;function pS(e,t,r){let o=e.type,n=(t?t.appContext:e.appContext)||dS,i={uid:fS++,vnode:e,type:o,parent:t,appContext:n,root:null,next:null,subTree:null,effect:null,update:null,scope:new aa(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(n.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:O0(o,n),emitsOptions:S0(o,n),emit:null,emitted:null,propsDefaults:mt,inheritAttrs:o.inheritAttrs,ctx:mt,data:mt,props:mt,attrs:mt,slots:mt,refs:mt,setupState:mt,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Dk.bind(null,i),e.ce&&e.ce(i),i}var Xt=null,Lr=()=>Xt||or,hi=e=>{Xt=e,e.scope.on()},Fn=()=>{Xt&&Xt.scope.off(),Xt=null};function j0(e){return e.vnode.shapeFlag&4}var ba=!1;function hS(e,t=!1){ba=t;let{props:r,children:o}=e.vnode,n=j0(e);Xk(e,r,n,t),Qk(e,o);let i=n?mS(e,t):void 0;return ba=!1,i}function mS(e,t){var r;let o=e.type;e.accessCache=Object.create(null),e.proxy=On(new Proxy(e.ctx,jk));let{setup:n}=o;if(n){let i=e.setupContext=n.length>1?bS(e):null;hi(e),en();let a=Io(n,e,0,[e.props,i]);if(tn(),Fn(),Lc(a)){if(a.then(Fn,Fn),t)return a.then(s=>{m0(e,s,t)}).catch(s=>{ll(s,e,0)});e.asyncDep=a}else m0(e,a,t)}else W0(e,t)}function m0(e,t,r){Ue(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:gt(t)&&(e.setupState=rl(t)),W0(e,r)}var g0,b0;function W0(e,t,r){let o=e.type;if(!e.render){if(!t&&g0&&!o.render){let n=o.template||pd(e).template;if(n){let{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=o,u=It(It({isCustomElement:i,delimiters:s},a),l);o.render=g0(n,u)}}e.render=o.render||yr,b0&&b0(e)}hi(e),en(),Wk(e),tn(),Fn()}function gS(e){return new Proxy(e.attrs,{get(t,r){return pr(e,"get","$attrs"),t[r]}})}function bS(e){let t=o=>{e.exposed=o||{}},r;return{get attrs(){return r||(r=gS(e))},slots:e.slots,emit:e.emit,expose:t}}function xl(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(rl(On(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in ca)return ca[r](e)},has(t,r){return r in t||r in ca}}))}var xS=/(?:^|[-_])(\w)/g,vS=e=>e.replace(xS,t=>t.toUpperCase()).replace(/[-_]/g,"");function yS(e,t=!0){return Ue(e)?e.displayName||e.name:e.name||t&&e.__name}function q0(e,t,r=!1){let o=yS(t);if(!o&&t.__file){let n=t.__file.match(/([^/\\]+)\.\w+$/);n&&(o=n[1])}if(!o&&e&&e.parent){let n=i=>{for(let a in i)if(i[a]===t)return a};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?vS(o):r?"App":"Anonymous"}function wS(e){return Ue(e)&&"__vccOpts"in e}var F=(e,t)=>o0(e,t,ba);function x(e,t,r){let o=arguments.length;return o===2?gt(t)&&!We(t)?pi(t)?yt(e,null,[t]):yt(e,t):yt(e,null,t):(o>3?r=Array.prototype.slice.call(arguments,2):o===3&&pi(r)&&(r=[r]),yt(e,t,r))}var CS=Symbol(""),kS=()=>{{let e=De(CS);return e}};var SS="3.2.45";var ES="http://www.w3.org/2000/svg",Wn=typeof document<"u"?document:null,U0=Wn&&Wn.createElement("template"),_S={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,o)=>{let n=t?Wn.createElementNS(ES,e):Wn.createElement(e,r?{is:r}:void 0);return e==="select"&&o&&o.multiple!=null&&n.setAttribute("multiple",o.multiple),n},createText:e=>Wn.createTextNode(e),createComment:e=>Wn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Wn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,o,n,i){let a=r?r.previousSibling:t.lastChild;if(n&&(n===i||n.nextSibling))for(;t.insertBefore(n.cloneNode(!0),r),!(n===i||!(n=n.nextSibling)););else{U0.innerHTML=o?`<svg>${e}</svg>`:e;let s=U0.content;if(o){let l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,r)}return[a?a.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function TS(e,t,r){let o=e._vtc;o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}function DS(e,t,r){let o=e.style,n=Dt(r);if(r&&!n){for(let i in r)yd(o,i,r[i]);if(t&&!Dt(t))for(let i in t)r[i]==null&&yd(o,i,"")}else{let i=o.display;n?t!==r&&(o.cssText=r):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=i)}}var K0=/\s*!important$/;function yd(e,t,r){if(We(r))r.forEach(o=>yd(e,t,o));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{let o=NS(e,t);K0.test(r)?e.setProperty(Xo(o),r.replace(K0,""),"important"):e[o]=r}}var G0=["Webkit","Moz","ms"],bd={};function NS(e,t){let r=bd[t];if(r)return r;let o=ao(t);if(o!=="filter"&&o in e)return bd[t]=o;o=ra(o);for(let n=0;n<G0.length;n++){let i=G0[n]+o;if(i in e)return bd[t]=i}return t}var X0="http://www.w3.org/1999/xlink";function AS(e,t,r,o,n){if(o&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(X0,t.slice(6,t.length)):e.setAttributeNS(X0,t,r);else{let i=Lm(t);r==null||i&&!Ac(r)?e.removeAttribute(t):e.setAttribute(t,i?"":r)}}function IS(e,t,r,o,n,i,a){if(t==="innerHTML"||t==="textContent"){o&&a(o,n,i),e[t]=r??"";return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=r;let l=r??"";(e.value!==l||e.tagName==="OPTION")&&(e.value=l),r==null&&e.removeAttribute(t);return}let s=!1;if(r===""||r==null){let l=typeof e[t];l==="boolean"?r=Ac(r):r==null&&l==="string"?(r="",s=!0):l==="number"&&(r=0,s=!0)}try{e[t]=r}catch{}s&&e.removeAttribute(t)}function LS(e,t,r,o){e.addEventListener(t,r,o)}function OS(e,t,r,o){e.removeEventListener(t,r,o)}function PS(e,t,r,o,n=null){let i=e._vei||(e._vei={}),a=i[t];if(o&&a)a.value=o;else{let[s,l]=RS(t);if(o){let u=i[t]=$S(o,n);LS(e,s,u,l)}else a&&(OS(e,s,a,l),i[t]=void 0)}}var Y0=/(?:Once|Passive|Capture)$/;function RS(e){let t;if(Y0.test(e)){t={};let o;for(;o=e.match(Y0);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Xo(e.slice(2)),t]}var xd=0,MS=Promise.resolve(),BS=()=>xd||(MS.then(()=>xd=0),xd=Date.now());function $S(e,t){let r=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=r.attached)return;Cr(HS(o,r.value),t,5,[o])};return r.value=e,r.attached=BS(),r}function HS(e,t){if(We(t)){let r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(o=>n=>!n._stopped&&o&&o(n))}else return t}var Z0=/^on[a-z]/,FS=(e,t,r,o,n=!1,i,a,s,l)=>{t==="class"?TS(e,o,n):t==="style"?DS(e,r,o):ai(t)?ea(t)||PS(e,t,r,o,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):zS(e,t,o,n))?IS(e,t,o,i,a,s,l):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),AS(e,t,o,n))};function zS(e,t,r,o){return o?!!(t==="innerHTML"||t==="textContent"||t in e&&Z0.test(t)&&Ue(r)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Z0.test(t)&&Dt(r)?!1:t in e}function ng(e){let t=Lr();if(!t)return;let r=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>Cd(i,n))},o=()=>{let n=e(t.proxy);wd(t.subTree,n),r(n)};_0(o),ut(()=>{let n=new MutationObserver(o);n.observe(t.subTree.el.parentNode,{childList:!0}),Vn(()=>n.disconnect())})}function wd(e,t){if(e.shapeFlag&128){let r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{wd(r.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Cd(e.el,t);else if(e.type===Lt)e.children.forEach(r=>wd(r,t));else if(e.type===fa){let{el:r,anchor:o}=e;for(;r&&(Cd(r,t),r!==o);)r=r.nextSibling}}function Cd(e,t){if(e.nodeType===1){let r=e.style;for(let o in t)r.setProperty(`--${o}`,t[o])}}var ln="transition",ya="animation",Gr=(e,{slots:t})=>x(ld,ag(e),t);Gr.displayName="Transition";var ig={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},VS=Gr.props=It({},ld.props,ig),jn=(e,t=[])=>{We(e)?e.forEach(r=>r(...t)):e&&e(...t)},Q0=e=>e?We(e)?e.some(t=>t.length>1):e.length>1:!1;function ag(e){let t={};for(let R in e)R in ig||(t[R]=e[R]);if(e.css===!1)return t;let{name:r="v",type:o,duration:n,enterFromClass:i=`${r}-enter-from`,enterActiveClass:a=`${r}-enter-active`,enterToClass:s=`${r}-enter-to`,appearFromClass:l=i,appearActiveClass:u=a,appearToClass:c=s,leaveFromClass:d=`${r}-leave-from`,leaveActiveClass:p=`${r}-leave-active`,leaveToClass:f=`${r}-leave-to`}=e,h=jS(n),g=h&&h[0],E=h&&h[1],{onBeforeEnter:b,onEnter:I,onEnterCancelled:P,onLeave:C,onLeaveCancelled:_,onBeforeAppear:M=b,onAppear:v=I,onAppearCancelled:T=P}=t,$=(R,z,re)=>{un(R,z?c:s),un(R,z?u:a),re&&re()},N=(R,z)=>{R._isLeaving=!1,un(R,d),un(R,f),un(R,p),z&&z()},Z=R=>(z,re)=>{let ve=R?v:I,ce=()=>$(z,R,re);jn(ve,[z,ce]),J0(()=>{un(z,R?l:i),Po(z,R?c:s),Q0(ve)||eg(z,o,g,ce)})};return It(t,{onBeforeEnter(R){jn(b,[R]),Po(R,i),Po(R,a)},onBeforeAppear(R){jn(M,[R]),Po(R,l),Po(R,u)},onEnter:Z(!1),onAppear:Z(!0),onLeave(R,z){R._isLeaving=!0;let re=()=>N(R,z);Po(R,d),lg(),Po(R,p),J0(()=>{R._isLeaving&&(un(R,d),Po(R,f),Q0(C)||eg(R,o,E,re))}),jn(C,[R,re])},onEnterCancelled(R){$(R,!1),jn(P,[R])},onAppearCancelled(R){$(R,!0),jn(T,[R])},onLeaveCancelled(R){N(R),jn(_,[R])}})}function jS(e){if(e==null)return null;if(gt(e))return[vd(e.enter),vd(e.leave)];{let t=vd(e);return[t,t]}}function vd(e){return li(e)}function Po(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e._vtc||(e._vtc=new Set)).add(t)}function un(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));let{_vtc:r}=e;r&&(r.delete(t),r.size||(e._vtc=void 0))}function J0(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}var WS=0;function eg(e,t,r,o){let n=e._endId=++WS,i=()=>{n===e._endId&&o()};if(r)return setTimeout(i,r);let{type:a,timeout:s,propCount:l}=sg(e,t);if(!a)return o();let u=a+"end",c=0,d=()=>{e.removeEventListener(u,p),i()},p=f=>{f.target===e&&++c>=l&&d()};setTimeout(()=>{c<l&&d()},s+1),e.addEventListener(u,p)}function sg(e,t){let r=window.getComputedStyle(e),o=h=>(r[h]||"").split(", "),n=o(`${ln}Delay`),i=o(`${ln}Duration`),a=tg(n,i),s=o(`${ya}Delay`),l=o(`${ya}Duration`),u=tg(s,l),c=null,d=0,p=0;t===ln?a>0&&(c=ln,d=a,p=i.length):t===ya?u>0&&(c=ya,d=u,p=l.length):(d=Math.max(a,u),c=d>0?a>u?ln:ya:null,p=c?c===ln?i.length:l.length:0);let f=c===ln&&/\b(transform|all)(,|$)/.test(o(`${ln}Property`).toString());return{type:c,timeout:d,propCount:p,hasTransform:f}}function tg(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((r,o)=>rg(r)+rg(e[o])))}function rg(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function lg(){return document.body.offsetHeight}var ug=new WeakMap,cg=new WeakMap,qS={name:"TransitionGroup",props:It({},VS,{tag:String,moveClass:String}),setup(e,{slots:t}){let r=Lr(),o=sd(),n,i;return fd(()=>{if(!n.length)return;let a=e.moveClass||`${e.name||"v"}-move`;if(!XS(n[0].el,r.vnode.el,a))return;n.forEach(US),n.forEach(KS);let s=n.filter(GS);lg(),s.forEach(l=>{let u=l.el,c=u.style;Po(u,a),c.transform=c.webkitTransform=c.transitionDuration="";let d=u._moveCb=p=>{p&&p.target!==u||(!p||/transform$/.test(p.propertyName))&&(u.removeEventListener("transitionend",d),u._moveCb=null,un(u,a))};u.addEventListener("transitionend",d)})}),()=>{let a=Ye(e),s=ag(a),l=a.tag||Lt;n=i,i=t.default?dl(t.default()):[];for(let u=0;u<i.length;u++){let c=i[u];c.key!=null&&fi(c,di(c,s,o,r))}if(n)for(let u=0;u<n.length;u++){let c=n[u];fi(c,di(c,s,o,r)),ug.set(c,c.el.getBoundingClientRect())}return yt(l,null,i)}}},dg=qS;function US(e){let t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function KS(e){cg.set(e,e.el.getBoundingClientRect())}function GS(e){let t=ug.get(e),r=cg.get(e),o=t.left-r.left,n=t.top-r.top;if(o||n){let i=e.el.style;return i.transform=i.webkitTransform=`translate(${o}px,${n}px)`,i.transitionDuration="0s",e}}function XS(e,t,r){let o=e.cloneNode();e._vtc&&e._vtc.forEach(a=>{a.split(/\s+/).forEach(s=>s&&o.classList.remove(s))}),r.split(/\s+/).forEach(a=>a&&o.classList.add(a)),o.style.display="none";let n=t.nodeType===1?t:t.parentNode;n.appendChild(o);let{hasTransform:i}=sg(o);return n.removeChild(o),i}var YS=It({patchProp:FS},_S),og;function ZS(){return og||(og=$0(YS))}var fg=(...e)=>{let t=ZS().createApp(...e),{mount:r}=t;return t.mount=o=>{let n=QS(o);if(!n)return;let i=t._component;!Ue(i)&&!i.render&&!i.template&&(i.template=n.innerHTML),n.innerHTML="";let a=r(n,!1,n instanceof SVGElement);return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),a},t};function QS(e){return Dt(e)?document.querySelector(e):e}var vl=[],pg=new WeakMap;function JS(){vl.forEach(e=>e(...pg.get(e))),vl=[]}function wa(e,...t){pg.set(e,t),!vl.includes(e)&&vl.push(e)===1&&requestAnimationFrame(JS)}function yl(e,t){let{target:r}=e;for(;r;){if(r.dataset&&r.dataset[t]!==void 0)return!0;r=r.parentElement}return!1}function wl(e){return typeof e=="string"?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function Ro(e){if(e!=null)return typeof e=="number"?`${e}px`:e.endsWith("px")?e:`${e}px`}function bi(e,t){let r=e.trim().split(/\s+/g),o={top:r[0]};switch(r.length){case 1:o.right=r[0],o.bottom=r[0],o.left=r[0];break;case 2:o.right=r[1],o.left=r[1],o.bottom=r[0];break;case 3:o.right=r[1],o.bottom=r[2],o.left=r[1];break;case 4:o.right=r[1],o.bottom=r[2],o.left=r[3];break;default:throw new Error("[seemly/getMargin]:"+e+" is not a valid value.")}return t===void 0?o:o[t]}var kd={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#0FF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000",blanchedalmond:"#FFEBCD",blue:"#00F",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#0FF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgrey:"#A9A9A9",darkgreen:"#006400",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#F0F",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",grey:"#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",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",lightgreen:"#90EE90",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#0F0",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#F0F",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#F00",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFF",whitesmoke:"#F5F5F5",yellow:"#FF0",yellowgreen:"#9ACD32",transparent:"#0000"};function Sd(e,t,r){t/=100,r/=100;let o=(n,i=(n+e/60)%6)=>r-r*t*Math.max(Math.min(i,4-i,1),0);return[o(5)*255,o(3)*255,o(1)*255]}function Ed(e,t,r){t/=100,r/=100;let o=t*Math.min(r,1-r),n=(i,a=(i+e/30)%12)=>r-o*Math.max(Math.min(a-3,9-a,1),-1);return[n(0)*255,n(8)*255,n(4)*255]}var ho="^\\s*",mo="\\s*$",dn="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))%\\s*",kr="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",qn="([0-9A-Fa-f])",Un="([0-9A-Fa-f]{2})",hg=new RegExp(`${ho}hsl\\s*\\(${kr},${dn},${dn}\\)${mo}`),mg=new RegExp(`${ho}hsv\\s*\\(${kr},${dn},${dn}\\)${mo}`),gg=new RegExp(`${ho}hsla\\s*\\(${kr},${dn},${dn},${kr}\\)${mo}`),bg=new RegExp(`${ho}hsva\\s*\\(${kr},${dn},${dn},${kr}\\)${mo}`),e3=new RegExp(`${ho}rgb\\s*\\(${kr},${kr},${kr}\\)${mo}`),t3=new RegExp(`${ho}rgba\\s*\\(${kr},${kr},${kr},${kr}\\)${mo}`),r3=new RegExp(`${ho}#${qn}${qn}${qn}${mo}`),o3=new RegExp(`${ho}#${Un}${Un}${Un}${mo}`),n3=new RegExp(`${ho}#${qn}${qn}${qn}${qn}${mo}`),i3=new RegExp(`${ho}#${Un}${Un}${Un}${Un}${mo}`);function mr(e){return parseInt(e,16)}function xg(e){try{let t;if(t=gg.exec(e))return[Ca(t[1]),Mo(t[5]),Mo(t[9]),cn(t[13])];if(t=hg.exec(e))return[Ca(t[1]),Mo(t[5]),Mo(t[9]),1];throw new Error(`[seemly/hsla]: Invalid color value ${e}.`)}catch(t){throw t}}function vg(e){try{let t;if(t=bg.exec(e))return[Ca(t[1]),Mo(t[5]),Mo(t[9]),cn(t[13])];if(t=mg.exec(e))return[Ca(t[1]),Mo(t[5]),Mo(t[9]),1];throw new Error(`[seemly/hsva]: Invalid color value ${e}.`)}catch(t){throw t}}function Or(e){try{let t;if(t=o3.exec(e))return[mr(t[1]),mr(t[2]),mr(t[3]),1];if(t=e3.exec(e))return[Qt(t[1]),Qt(t[5]),Qt(t[9]),1];if(t=t3.exec(e))return[Qt(t[1]),Qt(t[5]),Qt(t[9]),cn(t[13])];if(t=r3.exec(e))return[mr(t[1]+t[1]),mr(t[2]+t[2]),mr(t[3]+t[3]),1];if(t=i3.exec(e))return[mr(t[1]),mr(t[2]),mr(t[3]),cn(mr(t[4])/255)];if(t=n3.exec(e))return[mr(t[1]+t[1]),mr(t[2]+t[2]),mr(t[3]+t[3]),cn(mr(t[4]+t[4])/255)];if(e in kd)return Or(kd[e]);if(hg.test(e)||gg.test(e)){let[r,o,n,i]=xg(e);return[...Ed(r,o,n),i]}else if(mg.test(e)||bg.test(e)){let[r,o,n,i]=vg(e);return[...Sd(r,o,n),i]}throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(t){throw t}}function a3(e){return e>1?1:e<0?0:e}function Td(e,t,r,o){return`rgba(${Qt(e)}, ${Qt(t)}, ${Qt(r)}, ${a3(o)})`}function _d(e,t,r,o,n){return Qt((e*t*(1-o)+r*o)/n)}function Se(e,t){Array.isArray(e)||(e=Or(e)),Array.isArray(t)||(t=Or(t));let r=e[3],o=t[3],n=cn(r+o-r*o);return Td(_d(e[0],r,t[0],o,n),_d(e[1],r,t[1],o,n),_d(e[2],r,t[2],o,n),n)}function ie(e,t){let[r,o,n,i=1]=Array.isArray(e)?e:Or(e);return typeof t.alpha=="number"?Td(r,o,n,t.alpha):Td(r,o,n,i)}function Bo(e,t){let[r,o,n,i=1]=Array.isArray(e)?e:Or(e),{lightness:a=1,alpha:s=1}=t;return yg([r*a,o*a,n*a,i*s])}function cn(e){let t=Math.round(Number(e)*100)/100;return t>1?1:t<0?0:t}function Ca(e){let t=Math.round(Number(e));return t>=360||t<0?0:t}function Qt(e){let t=Math.round(Number(e));return t>255?255:t<0?0:t}function Mo(e){let t=Math.round(Number(e));return t>100?100:t<0?0:t}function yg(e){let[t,r,o]=e;return 3 in e?`rgba(${Qt(t)}, ${Qt(r)}, ${Qt(o)}, ${cn(e[3])})`:`rgba(${Qt(t)}, ${Qt(r)}, ${Qt(o)}, 1)`}function Dd(e=8){return Math.random().toString(16).slice(2,2+e)}function Nd(e,t){let r=[];for(let o=0;o<e;++o)r.push(t);return r}function Ne(e,...t){if(Array.isArray(e))e.forEach(r=>Ne(r,...t));else return e(...t)}var xi=(e,...t)=>typeof e=="function"?e(...t):typeof e=="string"?gi(e):typeof e=="number"?gi(String(e)):null;function Cl(e,t){console.error(`[naive/${e}]: ${t}`)}function kl(e,t){throw new Error(`[naive/${e}]: ${t}`)}function vi(e){return typeof e=="string"?`s-${e}`:`n-${e}`}function ka(e){return e.some(t=>pi(t)?!(t.type===nr||t.type===Lt&&!ka(t.children)):!0)?e:null}function go(e,t){return e&&ka(e())||t()}function Sl(e,t,r){return e&&ka(e(t))||r(t)}function bo(e,t){let r=e&&ka(e());return t(r||null)}function El(e){return!(e&&ka(e()))}function Sa(e){return e.replace(/#|\(|\)|,|\s/g,"_")}function l3(e){let t=0;for(let r=0;r<e.length;++r)e[r]==="&"&&++t;return t}var wg=/\s*,(?![^(]*\))\s*/g,u3=/\s+/g;function c3(e,t){let r=[];return t.split(wg).forEach(o=>{let n=l3(o);if(n){if(n===1){e.forEach(a=>{r.push(o.replace("&",a))});return}}else{e.forEach(a=>{r.push((a&&a+" ")+o)});return}let i=[o];for(;n--;){let a=[];i.forEach(s=>{e.forEach(l=>{a.push(s.replace("&",l))})}),i=a}i.forEach(a=>r.push(a))}),r}function d3(e,t){let r=[];return t.split(wg).forEach(o=>{e.forEach(n=>{r.push((n&&n+" ")+o)})}),r}function Cg(e){let t=[""];return e.forEach(r=>{r=r&&r.trim(),r&&(r.includes("&")?t=c3(t,r):t=d3(t,r))}),t.join(", ").replace(u3," ")}function Ad(e){if(!e)return;let t=e.parentElement;t&&t.removeChild(e)}function Kn(e,t){return(t??document.head).querySelector(`style[cssr-id="${e}"]`)}function kg(e){let t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function Ea(e){return e?/^\s*@(s|m)/.test(e):!1}var f3=/[A-Z]/g;function Eg(e){return e.replace(f3,t=>"-"+t.toLowerCase())}function p3(e,t=" "){return typeof e=="object"&&e!==null?` {
`+Object.entries(e).map(r=>t+` ${Eg(r[0])}: ${r[1]};`).join(`
`)+`
`+t+"}":`: ${e};`}function h3(e,t,r){return typeof e=="function"?e({context:t.context,props:r}):e}function Sg(e,t,r,o){if(!t)return"";let n=h3(t,r,o);if(!n)return"";if(typeof n=="string")return`${e} {
${n}
}`;let i=Object.keys(n);if(i.length===0)return r.config.keepEmptyBlock?e+` {
}`:"";let a=e?[e+" {"]:[];return i.forEach(s=>{let l=n[s];if(s==="raw"){a.push(`
`+l+`
`);return}s=Eg(s),l!=null&&a.push(` ${s}${p3(l)}`)}),e&&a.push("}"),a.join(`
`)}function Id(e,t,r){e&&e.forEach(o=>{if(Array.isArray(o))Id(o,t,r);else if(typeof o=="function"){let n=o(t);Array.isArray(n)?Id(n,t,r):n&&r(n)}else o&&r(o)})}function _g(e,t,r,o,n){let i=e.$,a="";if(!i||typeof i=="string")Ea(i)?a=i:t.push(i);else if(typeof i=="function"){let u=i({context:o.context,props:n});Ea(u)?a=u:t.push(u)}else if(i.before&&i.before(o.context),!i.$||typeof i.$=="string")Ea(i.$)?a=i.$:t.push(i.$);else if(i.$){let u=i.$({context:o.context,props:n});Ea(u)?a=u:t.push(u)}let s=Cg(t),l=Sg(s,e.props,o,n);a?r.push(`${a} {`):l.length&&r.push(l),e.children&&Id(e.children,{context:o.context,props:n},u=>{if(typeof u=="string"){let c=Sg(s,{raw:u},o,n);r.push(c)}else _g(u,t,r,o,n)}),t.pop(),a&&r.push("}"),i&&i.after&&i.after(o.context)}function Tg(e,t,r){let o=[];return _g(e,[],o,t,r),o.join(`
`)}function m3(e){for(var t=0,r,o=0,n=e.length;n>=4;++o,n-=4)r=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Sr=m3;typeof window<"u"&&(window.__cssrContext={});function Ng(e,t,r,o){let{els:n}=t;if(r===void 0)n.forEach(Ad),t.els=[];else{let i=Kn(r,o);i&&n.includes(i)&&(Ad(i),t.els=n.filter(a=>a!==i))}}function Dg(e,t){e.push(t)}function Ag(e,t,r,o,n,i,a,s,l){let u;if(r===void 0&&(u=t.render(o),r=Sr(u)),l){l.adapter(r,u??t.render(o));return}s===void 0&&(s=document.head);let c=Kn(r,s);if(c!==null&&!i)return c;let d=c??kg(r);if(u===void 0&&(u=t.render(o)),d.textContent=u,c!==null)return c;if(a){let p=s.querySelector(`meta[name="${a}"]`);if(p)return s.insertBefore(d,p),Dg(t.els,d),d}return n?s.insertBefore(d,s.querySelector("style, link")):s.appendChild(d),Dg(t.els,d),d}function g3(e){return Tg(this,this.instance,e)}function b3(e={}){let{id:t,ssr:r,props:o,head:n=!1,force:i=!1,anchorMetaName:a,parent:s}=e;return Ag(this.instance,this,t,o,n,i,a,s,r)}function x3(e={}){let{id:t,parent:r}=e;Ng(this.instance,this,t,r)}var _l=function(e,t,r,o){return{instance:e,$:t,props:r,children:o,els:[],render:g3,mount:b3,unmount:x3}},Ig=function(e,t,r,o){return Array.isArray(t)?_l(e,{$:null},null,t):Array.isArray(r)?_l(e,t,null,r):Array.isArray(o)?_l(e,t,r,o):_l(e,t,r,null)};function Tl(e={}){let t={c:(...r)=>Ig(t,...r),use:(r,...o)=>r.install(t,...o),find:Kn,context:{},config:e};return t}function Ld(e,t){if(e===void 0)return!1;if(t){let{context:{ids:r}}=t;return r.has(e)}return Kn(e)!==null}var Lg=Tl;function v3(e){let t=".",r="__",o="--",n;if(e){let h=e.blockPrefix;h&&(t=h),h=e.elementPrefix,h&&(r=h),h=e.modifierPrefix,h&&(o=h)}let i={install(h){n=h.c;let g=h.context;g.bem={},g.bem.b=null,g.bem.els=null}};function a(h){let g,E;return{before(b){g=b.bem.b,E=b.bem.els,b.bem.els=null},after(b){b.bem.b=g,b.bem.els=E},$({context:b,props:I}){return h=typeof h=="string"?h:h({context:b,props:I}),b.bem.b=h,`${I?.bPrefix||t}${b.bem.b}`}}}function s(h){let g;return{before(E){g=E.bem.els},after(E){E.bem.els=g},$({context:E,props:b}){return h=typeof h=="string"?h:h({context:E,props:b}),E.bem.els=h.split(",").map(I=>I.trim()),E.bem.els.map(I=>`${b?.bPrefix||t}${E.bem.b}${r}${I}`).join(", ")}}}function l(h){return{$({context:g,props:E}){h=typeof h=="string"?h:h({context:g,props:E});let b=h.split(",").map(C=>C.trim());function I(C){return b.map(_=>`&${E?.bPrefix||t}${g.bem.b}${C!==void 0?`${r}${C}`:""}${o}${_}`).join(", ")}let P=g.bem.els;return P!==null?I(P[0]):I()}}}function u(h){return{$({context:g,props:E}){h=typeof h=="string"?h:h({context:g,props:E});let b=g.bem.els;return`&:not(${E?.bPrefix||t}${g.bem.b}${b!==null&&b.length>0?`${r}${b[0]}`:""}${o}${h})`}}}return Object.assign(i,{cB:(...h)=>n(a(h[0]),h[1],h[2]),cE:(...h)=>n(s(h[0]),h[1],h[2]),cM:(...h)=>n(l(h[0]),h[1],h[2]),cNotM:(...h)=>n(u(h[0]),h[1],h[2])}),i}var Og=v3;function He(e,t){return e+(t==="default"?"":t.replace(/^[a-z]/,r=>r.toUpperCase()))}He("abc","def");var y3="n",_a=`.${y3}-`,w3="__",C3="--",Pg=Lg(),Rg=Og({blockPrefix:_a,elementPrefix:w3,modifierPrefix:C3});Pg.use(Rg);var{c:ee,find:EP}=Pg,{cB:U,cE:te,cM:Te,cNotM:gr}=Rg;function Dl(e){return ee(({props:{bPrefix:t}})=>`${t||_a}modal, ${t||_a}drawer`,[e])}function Nl(e){return ee(({props:{bPrefix:t}})=>`${t||_a}popover:not(${t||_a}tooltip)`,[e])}function Al(e){let t=G(!!e.value);if(t.value)return rn(t);let r=ct(e,o=>{o&&(t.value=!0,r())});return rn(t)}function k3(e){let t=F(e),r=G(t.value);return ct(t,o=>{r.value=o}),typeof e=="function"?r:{__v_isRef:!0,get value(){return r.value},set value(o){e.set(o)}}}var nt=k3;var Mg=typeof window<"u";var yi,Ta,S3=()=>{var e,t;yi=Mg?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,Ta=!1,yi!==void 0?yi.then(()=>{Ta=!0}):Ta=!0};S3();function Il(e){if(Ta)return;let t=!1;ut(()=>{Ta||yi?.then(()=>{t||e()})}),Ot(()=>{t=!0})}function wi(e){return e.composedPath()[0]}var E3={mousemoveoutside:new WeakMap,clickoutside:new WeakMap};function _3(e,t,r){if(e==="mousemoveoutside"){let o=n=>{t.contains(wi(n))||r(n)};return{mousemove:o,touchstart:o}}else if(e==="clickoutside"){let o=!1,n=a=>{o=!t.contains(wi(a))},i=a=>{o&&(t.contains(wi(a))||r(a))};return{mousedown:n,mouseup:i,touchstart:n,touchend:i}}return console.error(`[evtd/create-trap-handler]: name \`${e}\` is invalid. This could be a bug of evtd.`),{}}function Bg(e,t,r){let o=E3[e],n=o.get(t);n===void 0&&o.set(t,n=new WeakMap);let i=n.get(r);return i===void 0&&n.set(r,i=_3(e,t,r)),i}function $g(e,t,r,o){if(e==="mousemoveoutside"||e==="clickoutside"){let n=Bg(e,t,r);return Object.keys(n).forEach(i=>{St(i,document,n[i],o)}),!0}return!1}function Hg(e,t,r,o){if(e==="mousemoveoutside"||e==="clickoutside"){let n=Bg(e,t,r);return Object.keys(n).forEach(i=>{kt(i,document,n[i],o)}),!0}return!1}function T3(){if(typeof window>"u")return{on:()=>{},off:()=>{}};let e=new WeakMap,t=new WeakMap;function r(){e.set(this,!0)}function o(){e.set(this,!0),t.set(this,!0)}function n(v,T,$){let N=v[T];return v[T]=function(){return $.apply(v,arguments),N.apply(v,arguments)},v}function i(v,T){v[T]=Event.prototype[T]}let a=new WeakMap,s=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function l(){var v;return(v=a.get(this))!==null&&v!==void 0?v:null}function u(v,T){s!==void 0&&Object.defineProperty(v,"currentTarget",{configurable:!0,enumerable:!0,get:T??s.get})}let c={bubble:{},capture:{}},d={};function p(){let v=function(T){let{type:$,eventPhase:N,bubbles:Z}=T,R=wi(T);if(N===2)return;let z=N===1?"capture":"bubble",re=R,ve=[];for(;re===null&&(re=window),ve.push(re),re!==window;)re=re.parentNode||null;let ce=c.capture[$],le=c.bubble[$];if(n(T,"stopPropagation",r),n(T,"stopImmediatePropagation",o),u(T,l),z==="capture"){if(ce===void 0)return;for(let be=ve.length-1;be>=0&&!e.has(T);--be){let Ae=ve[be],ze=ce.get(Ae);if(ze!==void 0){a.set(T,Ae);for(let Fe of ze){if(t.has(T))break;Fe(T)}}if(be===0&&!Z&&le!==void 0){let Fe=le.get(Ae);if(Fe!==void 0)for(let at of Fe){if(t.has(T))break;at(T)}}}}else if(z==="bubble"){if(le===void 0)return;for(let be=0;be<ve.length&&!e.has(T);++be){let Ae=ve[be],ze=le.get(Ae);if(ze!==void 0){a.set(T,Ae);for(let Fe of ze){if(t.has(T))break;Fe(T)}}}}i(T,"stopPropagation"),i(T,"stopImmediatePropagation"),u(T)};return v.displayName="evtdUnifiedHandler",v}function f(){let v=function(T){let{type:$,eventPhase:N}=T;if(N!==2)return;let Z=d[$];Z!==void 0&&Z.forEach(R=>R(T))};return v.displayName="evtdUnifiedWindowEventHandler",v}let h=p(),g=f();function E(v,T){let $=c[v];return $[T]===void 0&&($[T]=new Map,window.addEventListener(T,h,v==="capture")),$[T]}function b(v){return d[v]===void 0&&(d[v]=new Set,window.addEventListener(v,g)),d[v]}function I(v,T){let $=v.get(T);return $===void 0&&v.set(T,$=new Set),$}function P(v,T,$,N){let Z=c[T][$];if(Z!==void 0){let R=Z.get(v);if(R!==void 0&&R.has(N))return!0}return!1}function C(v,T){let $=d[v];return!!($!==void 0&&$.has(T))}function _(v,T,$,N){let Z;if(typeof N=="object"&&N.once===!0?Z=ce=>{M(v,T,Z,N),$(ce)}:Z=$,$g(v,T,Z,N))return;let z=N===!0||typeof N=="object"&&N.capture===!0?"capture":"bubble",re=E(z,v),ve=I(re,T);if(ve.has(Z)||ve.add(Z),T===window){let ce=b(v);ce.has(Z)||ce.add(Z)}}function M(v,T,$,N){if(Hg(v,T,$,N))return;let R=N===!0||typeof N=="object"&&N.capture===!0,z=R?"capture":"bubble",re=E(z,v),ve=I(re,T);if(T===window&&!P(T,R?"bubble":"capture",v,$)&&C(v,$)){let le=d[v];le.delete($),le.size===0&&(window.removeEventListener(v,g),d[v]=void 0)}ve.has($)&&ve.delete($),ve.size===0&&re.delete(T),re.size===0&&(window.removeEventListener(v,h,z==="capture"),c[z][v]=void 0)}return{on:_,off:M}}var{on:St,off:kt}=T3();function cr(e,t){return ct(e,r=>{r!==void 0&&(t.value=r)}),F(()=>e.value===void 0?t.value:e.value)}function fn(){let e=G(!1);return ut(()=>{e.value=!0}),rn(e)}var D3=(typeof window>"u"?!1:/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!window.MSStream;function Ll(){return D3}var nR="n-internal-select-menu",Fg="n-internal-select-menu-body";var zg="n-modal-body",aR="n-modal";var Vg="n-drawer-body",lR="n-drawer";var jg="n-popover-body";var Wg="__disabled__";function Gn(e){let t=De(zg,null),r=De(Vg,null),o=De(jg,null),n=De(Fg,null),i=G();if(typeof document<"u"){i.value=document.fullscreenElement;let a=()=>{i.value=document.fullscreenElement};ut(()=>{St("fullscreenchange",document,a)}),Ot(()=>{kt("fullscreenchange",document,a)})}return nt(()=>{var a;let{to:s}=e;return s!==void 0?s===!1?Wg:s===!0?i.value||"body":s:t?.value?(a=t.value.$el)!==null&&a!==void 0?a:t.value:r?.value?r.value:o?.value?o.value:n?.value?n.value:s??(i.value||"body")})}Gn.tdkey=Wg;Gn.propTo={type:[String,Object,Boolean],default:void 0};function Da(e,t,r="default"){let o=t[r];if(o===void 0)throw new Error(`[vueuc/${e}]: slot[${r}] is empty.`);return o()}function Od(e,t=!0,r=[]){return e.forEach(o=>{if(o!==null){if(typeof o!="object"){(typeof o=="string"||typeof o=="number")&&r.push(gi(String(o)));return}if(Array.isArray(o)){Od(o,t,r);return}if(o.type===Lt){if(o.children===null)return;Array.isArray(o.children)&&Od(o.children,t,r)}else o.type!==nr&&r.push(o)}}),r}function Pd(e,t,r="default"){let o=t[r];if(o===void 0)throw new Error(`[vueuc/${e}]: slot[${r}] is empty.`);let n=Od(o());if(n.length===1)return n[0];throw new Error(`[vueuc/${e}]: slot[${r}] should have exactly one child.`)}var pn=null;function qg(){if(pn===null&&(pn=document.getElementById("v-binder-view-measurer"),pn===null)){pn=document.createElement("div"),pn.id="v-binder-view-measurer";let{style:e}=pn;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(pn)}return pn.getBoundingClientRect()}function Ug(e,t){let r=qg();return{top:t,left:e,height:0,width:0,right:r.width-e,bottom:r.height-t}}function Ol(e){let t=e.getBoundingClientRect(),r=qg();return{left:t.left-r.left,top:t.top-r.top,bottom:r.height+r.top-t.bottom,right:r.width+r.left-t.right,width:t.width,height:t.height}}function N3(e){return e.nodeType===9?null:e.parentNode}function Rd(e){if(e===null)return null;let t=N3(e);if(t===null)return null;if(t.nodeType===9)return document;if(t.nodeType===1){let{overflow:r,overflowX:o,overflowY:n}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(r+n+o))return t}return Rd(t)}var A3=me({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;Zt("VBinder",(t=Lr())===null||t===void 0?void 0:t.proxy);let r=De("VBinder",null),o=G(null),n=b=>{o.value=b,r&&e.syncTargetWithParent&&r.setTargetRef(b)},i=[],a=()=>{let b=o.value;for(;b=Rd(b),b!==null;)i.push(b);for(let I of i)St("scroll",I,d,!0)},s=()=>{for(let b of i)kt("scroll",b,d,!0);i=[]},l=new Set,u=b=>{l.size===0&&a(),l.has(b)||l.add(b)},c=b=>{l.has(b)&&l.delete(b),l.size===0&&s()},d=()=>{wa(p)},p=()=>{l.forEach(b=>b())},f=new Set,h=b=>{f.size===0&&St("resize",window,E),f.has(b)||f.add(b)},g=b=>{f.has(b)&&f.delete(b),f.size===0&&kt("resize",window,E)},E=()=>{f.forEach(b=>b())};return Ot(()=>{kt("resize",window,E),s()}),{targetRef:o,setTargetRef:n,addScrollListener:u,removeScrollListener:c,addResizeListener:h,removeResizeListener:g}},render(){return Da("binder",this.$slots)}}),Pl=A3;var Rl=me({name:"Target",setup(){let{setTargetRef:e,syncTarget:t}=De("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){let{syncTarget:e,setTargetDirective:t}=this;return e?hl(Pd("follower",this.$slots),[[t]]):Pd("follower",this.$slots)}});function Kg(e,t){console.error(`[vdirs/${e}]: ${t}`)}var Md=class{constructor(){this.elementZIndex=new Map,this.nextZIndex=2e3}get elementCount(){return this.elementZIndex.size}ensureZIndex(t,r){let{elementZIndex:o}=this;if(r!==void 0){t.style.zIndex=`${r}`,o.delete(t);return}let{nextZIndex:n}=this;o.has(t)&&o.get(t)+1===this.nextZIndex||(t.style.zIndex=`${n}`,o.set(t,n),this.nextZIndex=n+1,this.squashState())}unregister(t,r){let{elementZIndex:o}=this;o.has(t)?o.delete(t):r===void 0&&Kg("z-index-manager/unregister-element","Element not found when unregistering."),this.squashState()}squashState(){let{elementCount:t}=this;t||(this.nextZIndex=2e3),this.nextZIndex-t>2500&&this.rearrange()}rearrange(){let t=Array.from(this.elementZIndex.entries());t.sort((r,o)=>r[1]-o[1]),this.nextZIndex=2e3,t.forEach(r=>{let o=r[0],n=this.nextZIndex++;`${n}`!==o.style.zIndex&&(o.style.zIndex=`${n}`)})}},Ml=new Md;var Ci="@@ziContext",I3={mounted(e,t){let{value:r={}}=t,{zIndex:o,enabled:n}=r;e[Ci]={enabled:!!n,initialized:!1},n&&(Ml.ensureZIndex(e,o),e[Ci].initialized=!0)},updated(e,t){let{value:r={}}=t,{zIndex:o,enabled:n}=r,i=e[Ci].enabled;n&&!i&&(Ml.ensureZIndex(e,o),e[Ci].initialized=!0),e[Ci].enabled=!!n},unmounted(e,t){if(!e[Ci].initialized)return;let{value:r={}}=t,{zIndex:o}=r;Ml.unregister(e,o)}},Bd=I3;var L3="@css-render/vue3-ssr";function O3(e,t){return`<style cssr-id="${e}">
${t}
</style>`}function P3(e,t,r){let{styles:o,ids:n}=r;n.has(e)||o!==null&&(n.add(e),o.push(O3(e,t)))}var R3=typeof document<"u";function Pr(){if(R3)return;let e=De(L3,null);if(e!==null)return{adapter:(t,r)=>P3(t,r,e),context:e}}function Bl(e,t){console.error(`[vueuc/${e}]: ${t}`)}var{c:xo}=Tl();var Na="vueuc-style";function Gg(e){return e&-e}var Xn=class{constructor(t,r){this.l=t,this.min=r;let o=new Array(t+1);for(let n=0;n<t+1;++n)o[n]=0;this.ft=o}add(t,r){if(r===0)return;let{l:o,ft:n}=this;for(t+=1;t<=o;)n[t]+=r,t+=Gg(t)}get(t){return this.sum(t+1)-this.sum(t)}sum(t){if(t===void 0&&(t=this.l),t<=0)return 0;let{ft:r,min:o,l:n}=this;if(t>n)throw new Error("[FinweckTree.sum]: `i` is larger than length.");let i=t*o;for(;t>0;)i+=r[t],t-=Gg(t);return i}getBound(t){let r=0,o=this.l;for(;o>r;){let n=Math.floor((r+o)/2),i=this.sum(n);if(i>t){o=n;continue}else if(i<t){if(r===n)return this.sum(r+1)<=t?r+1:n;r=n}else return n}return r}};var Xg=me({name:"LazyTeleport",props:{to:{type:[String,Object],default:void 0},disabled:Boolean,show:{type:Boolean,required:!0}},setup(e){return{showTeleport:Al(Be(e,"show")),mergedTo:F(()=>{let{to:t}=e;return t??"body"})}},render(){return this.showTeleport?this.disabled?Da("lazy-teleport",this.$slots):x(H0,{disabled:this.disabled,to:this.mergedTo},Da("lazy-teleport",this.$slots)):null}});var $l={top:"bottom",bottom:"top",left:"right",right:"left"},Yg={start:"end",center:"center",end:"start"},$d={top:"height",bottom:"height",left:"width",right:"width"},M3={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},B3={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},$3={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},Zg={top:!0,bottom:!1,left:!0,right:!1},Qg={top:"end",bottom:"start",left:"end",right:"start"};function Jg(e,t,r,o,n,i){if(!n||i)return{placement:e,top:0,left:0};let[a,s]=e.split("-"),l=s??"center",u={top:0,left:0},c=(f,h,g)=>{let E=0,b=0,I=r[f]-t[h]-t[f];return I>0&&o&&(g?b=Zg[h]?I:-I:E=Zg[h]?I:-I),{left:E,top:b}},d=a==="left"||a==="right";if(l!=="center"){let f=$3[e],h=$l[f],g=$d[f];if(r[g]>t[g]){if(t[f]+t[g]<r[g]){let E=(r[g]-t[g])/2;t[f]<E||t[h]<E?t[f]<t[h]?(l=Yg[s],u=c(g,h,d)):u=c(g,f,d):l="center"}}else r[g]<t[g]&&t[h]<0&&t[f]>t[h]&&(l=Yg[s])}else{let f=a==="bottom"||a==="top"?"left":"top",h=$l[f],g=$d[f],E=(r[g]-t[g])/2;(t[f]<E||t[h]<E)&&(t[f]>t[h]?(l=Qg[f],u=c(g,f,d)):(l=Qg[h],u=c(g,h,d)))}let p=a;return t[a]<r[$d[a]]&&t[a]<t[$l[a]]&&(p=$l[a]),{placement:l!=="center"?`${p}-${l}`:p,left:u.left,top:u.top}}function eb(e,t){return t?B3[e]:M3[e]}function tb(e,t,r,o,n,i){if(i)switch(e){case"bottom-start":return{top:`${Math.round(r.top-t.top+r.height)}px`,left:`${Math.round(r.left-t.left)}px`,transform:"translateY(-100%)"};case"bottom-end":return{top:`${Math.round(r.top-t.top+r.height)}px`,left:`${Math.round(r.left-t.left+r.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top-start":return{top:`${Math.round(r.top-t.top)}px`,left:`${Math.round(r.left-t.left)}px`,transform:""};case"top-end":return{top:`${Math.round(r.top-t.top)}px`,left:`${Math.round(r.left-t.left+r.width)}px`,transform:"translateX(-100%)"};case"right-start":return{top:`${Math.round(r.top-t.top)}px`,left:`${Math.round(r.left-t.left+r.width)}px`,transform:"translateX(-100%)"};case"right-end":return{top:`${Math.round(r.top-t.top+r.height)}px`,left:`${Math.round(r.left-t.left+r.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"left-start":return{top:`${Math.round(r.top-t.top)}px`,left:`${Math.round(r.left-t.left)}px`,transform:""};case"left-end":return{top:`${Math.round(r.top-t.top+r.height)}px`,left:`${Math.round(r.left-t.left)}px`,transform:"translateY(-100%)"};case"top":return{top:`${Math.round(r.top-t.top)}px`,left:`${Math.round(r.left-t.left+r.width/2)}px`,transform:"translateX(-50%)"};case"right":return{top:`${Math.round(r.top-t.top+r.height/2)}px`,left:`${Math.round(r.left-t.left+r.width)}px`,transform:"translateX(-100%) translateY(-50%)"};case"left":return{top:`${Math.round(r.top-t.top+r.height/2)}px`,left:`${Math.round(r.left-t.left)}px`,transform:"translateY(-50%)"};case"bottom":default:return{top:`${Math.round(r.top-t.top+r.height)}px`,left:`${Math.round(r.left-t.left+r.width/2)}px`,transform:"translateX(-50%) translateY(-100%)"}}switch(e){case"bottom-start":return{top:`${Math.round(r.top-t.top+r.height+o)}px`,left:`${Math.round(r.left-t.left+n)}px`,transform:""};case"bottom-end":return{top:`${Math.round(r.top-t.top+r.height+o)}px`,left:`${Math.round(r.left-t.left+r.width+n)}px`,transform:"translateX(-100%)"};case"top-start":return{top:`${Math.round(r.top-t.top+o)}px`,left:`${Math.round(r.left-t.left+n)}px`,transform:"translateY(-100%)"};case"top-end":return{top:`${Math.round(r.top-t.top+o)}px`,left:`${Math.round(r.left-t.left+r.width+n)}px`,transform:"translateX(-100%) translateY(-100%)"};case"right-start":return{top:`${Math.round(r.top-t.top+o)}px`,left:`${Math.round(r.left-t.left+r.width+n)}px`,transform:""};case"right-end":return{top:`${Math.round(r.top-t.top+r.height+o)}px`,left:`${Math.round(r.left-t.left+r.width+n)}px`,transform:"translateY(-100%)"};case"left-start":return{top:`${Math.round(r.top-t.top+o)}px`,left:`${Math.round(r.left-t.left+n)}px`,transform:"translateX(-100%)"};case"left-end":return{top:`${Math.round(r.top-t.top+r.height+o)}px`,left:`${Math.round(r.left-t.left+n)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top":return{top:`${Math.round(r.top-t.top+o)}px`,left:`${Math.round(r.left-t.left+r.width/2+n)}px`,transform:"translateY(-100%) translateX(-50%)"};case"right":return{top:`${Math.round(r.top-t.top+r.height/2+o)}px`,left:`${Math.round(r.left-t.left+r.width+n)}px`,transform:"translateY(-50%)"};case"left":return{top:`${Math.round(r.top-t.top+r.height/2+o)}px`,left:`${Math.round(r.left-t.left+n)}px`,transform:"translateY(-50%) translateX(-100%)"};case"bottom":default:return{top:`${Math.round(r.top-t.top+r.height+o)}px`,left:`${Math.round(r.left-t.left+r.width/2+n)}px`,transform:"translateX(-50%)"}}}var H3=xo([xo(".v-binder-follower-container",{position:"absolute",left:"0",right:"0",top:"0",height:"0",pointerEvents:"none",zIndex:"auto"}),xo(".v-binder-follower-content",{position:"absolute",zIndex:"auto"},[xo("> *",{pointerEvents:"all"})])]),Hl=me({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(e){let t=De("VBinder"),r=nt(()=>e.enabled!==void 0?e.enabled:e.show),o=G(null),n=G(null),i=()=>{let{syncTrigger:p}=e;p.includes("scroll")&&t.addScrollListener(l),p.includes("resize")&&t.addResizeListener(l)},a=()=>{t.removeScrollListener(l),t.removeResizeListener(l)};ut(()=>{r.value&&(l(),i())});let s=Pr();H3.mount({id:"vueuc/binder",head:!0,anchorMetaName:Na,ssr:s}),Ot(()=>{a()}),Il(()=>{r.value&&l()});let l=()=>{if(!r.value)return;let p=o.value;if(p===null)return;let f=t.targetRef,{x:h,y:g,overlap:E}=e,b=h!==void 0&&g!==void 0?Ug(h,g):Ol(f);p.style.setProperty("--v-target-width",`${Math.round(b.width)}px`),p.style.setProperty("--v-target-height",`${Math.round(b.height)}px`);let{width:I,minWidth:P,placement:C,internalShift:_,flip:M}=e;p.setAttribute("v-placement",C),E?p.setAttribute("v-overlap",""):p.removeAttribute("v-overlap");let{style:v}=p;I==="target"?v.width=`${b.width}px`:I!==void 0?v.width=I:v.width="",P==="target"?v.minWidth=`${b.width}px`:P!==void 0?v.minWidth=P:v.minWidth="";let T=Ol(p),$=Ol(n.value),{left:N,top:Z,placement:R}=Jg(C,b,T,_,M,E),z=eb(R,E),{left:re,top:ve,transform:ce}=tb(R,$,b,Z,N,E);p.setAttribute("v-placement",R),p.style.setProperty("--v-offset-left",`${Math.round(N)}px`),p.style.setProperty("--v-offset-top",`${Math.round(Z)}px`),p.style.transform=`translateX(${re}) translateY(${ve}) ${ce}`,p.style.setProperty("--v-transform-origin",z),p.style.transformOrigin=z};ct(r,p=>{p?(i(),u()):a()});let u=()=>{Yt().then(l).catch(p=>console.error(p))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(p=>{ct(Be(e,p),l)}),["teleportDisabled"].forEach(p=>{ct(Be(e,p),u)}),ct(Be(e,"syncTrigger"),p=>{p.includes("resize")?t.addResizeListener(l):t.removeResizeListener(l),p.includes("scroll")?t.addScrollListener(l):t.removeScrollListener(l)});let c=fn(),d=nt(()=>{let{to:p}=e;if(p!==void 0)return p;c.value});return{VBinder:t,mergedEnabled:r,offsetContainerRef:n,followerRef:o,mergedTo:d,syncPosition:l}},render(){return x(Xg,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;let r=x("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[x("div",{class:"v-binder-follower-content",ref:"followerRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))]);return this.zindexable?hl(r,[[Bd,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):r}})}});var Rr=[];var rb=function(){return Rr.some(function(e){return e.activeTargets.length>0})};var ob=function(){return Rr.some(function(e){return e.skippedTargets.length>0})};var nb="ResizeObserver loop completed with undelivered notifications.",ib=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:nb}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=nb),window.dispatchEvent(e)};var Yn;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Yn||(Yn={}));var Xr=function(e){return Object.freeze(e)};var Hd=function(){function e(t,r){this.inlineSize=t,this.blockSize=r,Xr(this)}return e}();var Fd=function(){function e(t,r,o,n){return this.x=t,this.y=r,this.width=o,this.height=n,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Xr(this)}return e.prototype.toJSON=function(){var t=this,r=t.x,o=t.y,n=t.top,i=t.right,a=t.bottom,s=t.left,l=t.width,u=t.height;return{x:r,y:o,top:n,right:i,bottom:a,left:s,width:l,height:u}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}();var Aa=function(e){return e instanceof SVGElement&&"getBBox"in e},Fl=function(e){if(Aa(e)){var t=e.getBBox(),r=t.width,o=t.height;return!r&&!o}var n=e,i=n.offsetWidth,a=n.offsetHeight;return!(i||a||e.getClientRects().length)},zd=function(e){var t;if(e instanceof Element)return!0;var r=(t=e?.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(r&&e instanceof r.Element)},ab=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1};var Zn=typeof window<"u"?window:{};var zl=new WeakMap,sb=/auto|scroll/,F3=/^tb|vertical/,z3=/msie|trident/i.test(Zn.navigator&&Zn.navigator.userAgent),vo=function(e){return parseFloat(e||"0")},ki=function(e,t,r){return e===void 0&&(e=0),t===void 0&&(t=0),r===void 0&&(r=!1),new Hd((r?t:e)||0,(r?e:t)||0)},lb=Xr({devicePixelContentBoxSize:ki(),borderBoxSize:ki(),contentBoxSize:ki(),contentRect:new Fd(0,0,0,0)}),Vd=function(e,t){if(t===void 0&&(t=!1),zl.has(e)&&!t)return zl.get(e);if(Fl(e))return zl.set(e,lb),lb;var r=getComputedStyle(e),o=Aa(e)&&e.ownerSVGElement&&e.getBBox(),n=!z3&&r.boxSizing==="border-box",i=F3.test(r.writingMode||""),a=!o&&sb.test(r.overflowY||""),s=!o&&sb.test(r.overflowX||""),l=o?0:vo(r.paddingTop),u=o?0:vo(r.paddingRight),c=o?0:vo(r.paddingBottom),d=o?0:vo(r.paddingLeft),p=o?0:vo(r.borderTopWidth),f=o?0:vo(r.borderRightWidth),h=o?0:vo(r.borderBottomWidth),g=o?0:vo(r.borderLeftWidth),E=d+u,b=l+c,I=g+f,P=p+h,C=s?e.offsetHeight-P-e.clientHeight:0,_=a?e.offsetWidth-I-e.clientWidth:0,M=n?E+I:0,v=n?b+P:0,T=o?o.width:vo(r.width)-M-_,$=o?o.height:vo(r.height)-v-C,N=T+E+_+I,Z=$+b+C+P,R=Xr({devicePixelContentBoxSize:ki(Math.round(T*devicePixelRatio),Math.round($*devicePixelRatio),i),borderBoxSize:ki(N,Z,i),contentBoxSize:ki(T,$,i),contentRect:new Fd(d,l,T,$)});return zl.set(e,R),R},Vl=function(e,t,r){var o=Vd(e,r),n=o.borderBoxSize,i=o.contentBoxSize,a=o.devicePixelContentBoxSize;switch(t){case Yn.DEVICE_PIXEL_CONTENT_BOX:return a;case Yn.BORDER_BOX:return n;default:return i}};var jd=function(){function e(t){var r=Vd(t);this.target=t,this.contentRect=r.contentRect,this.borderBoxSize=Xr([r.borderBoxSize]),this.contentBoxSize=Xr([r.contentBoxSize]),this.devicePixelContentBoxSize=Xr([r.devicePixelContentBoxSize])}return e}();var jl=function(e){if(Fl(e))return 1/0;for(var t=0,r=e.parentNode;r;)t+=1,r=r.parentNode;return t};var ub=function(){var e=1/0,t=[];Rr.forEach(function(a){if(a.activeTargets.length!==0){var s=[];a.activeTargets.forEach(function(u){var c=new jd(u.target),d=jl(u.target);s.push(c),u.lastReportedSize=Vl(u.target,u.observedBox),d<e&&(e=d)}),t.push(function(){a.callback.call(a.observer,s,a.observer)}),a.activeTargets.splice(0,a.activeTargets.length)}});for(var r=0,o=t;r<o.length;r++){var n=o[r];n()}return e};var Wd=function(e){Rr.forEach(function(r){r.activeTargets.splice(0,r.activeTargets.length),r.skippedTargets.splice(0,r.skippedTargets.length),r.observationTargets.forEach(function(n){n.isActive()&&(jl(n.target)>e?r.activeTargets.push(n):r.skippedTargets.push(n))})})};var cb=function(){var e=0;for(Wd(e);rb();)e=ub(),Wd(e);return ob()&&ib(),e>0};var qd,db=[],V3=function(){return db.splice(0).forEach(function(e){return e()})},fb=function(e){if(!qd){var t=0,r=document.createTextNode(""),o={characterData:!0};new MutationObserver(function(){return V3()}).observe(r,o),qd=function(){r.textContent="".concat(t?t--:t++)}}db.push(e),qd()};var pb=function(e){fb(function(){requestAnimationFrame(e)})};var Wl=0,j3=function(){return!!Wl},W3=250,q3={attributes:!0,characterData:!0,childList:!0,subtree:!0},hb=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],mb=function(e){return e===void 0&&(e=0),Date.now()+e},Ud=!1,U3=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var r=this;if(t===void 0&&(t=W3),!Ud){Ud=!0;var o=mb(t);pb(function(){var n=!1;try{n=cb()}finally{if(Ud=!1,t=o-mb(),!j3())return;n?r.run(1e3):t>0?r.run(t):r.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,r=function(){return t.observer&&t.observer.observe(document.body,q3)};document.body?r():Zn.addEventListener("DOMContentLoaded",r)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),hb.forEach(function(r){return Zn.addEventListener(r,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),hb.forEach(function(r){return Zn.removeEventListener(r,t.listener,!0)}),this.stopped=!0)},e}(),ql=new U3,Kd=function(e){!Wl&&e>0&&ql.start(),Wl+=e,!Wl&&ql.stop()};var K3=function(e){return!Aa(e)&&!ab(e)&&getComputedStyle(e).display==="inline"},gb=function(){function e(t,r){this.target=t,this.observedBox=r||Yn.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Vl(this.target,this.observedBox,!0);return K3(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}();var bb=function(){function e(t,r){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=r}return e}();var Ul=new WeakMap,xb=function(e,t){for(var r=0;r<e.length;r+=1)if(e[r].target===t)return r;return-1},Ia=function(){function e(){}return e.connect=function(t,r){var o=new bb(t,r);Ul.set(t,o)},e.observe=function(t,r,o){var n=Ul.get(t),i=n.observationTargets.length===0;xb(n.observationTargets,r)<0&&(i&&Rr.push(n),n.observationTargets.push(new gb(r,o&&o.box)),Kd(1),ql.schedule())},e.unobserve=function(t,r){var o=Ul.get(t),n=xb(o.observationTargets,r),i=o.observationTargets.length===1;n>=0&&(i&&Rr.splice(Rr.indexOf(o),1),o.observationTargets.splice(n,1),Kd(-1))},e.disconnect=function(t){var r=this,o=Ul.get(t);o.observationTargets.slice().forEach(function(n){return r.unobserve(t,n.target)}),o.activeTargets.splice(0,o.activeTargets.length)},e}();var Gd=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Ia.connect(this,t)}return e.prototype.observe=function(t,r){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!zd(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ia.observe(this,t,r)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!zd(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ia.unobserve(this,t)},e.prototype.disconnect=function(){Ia.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();var Xd=class{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window<"u"&&window.ResizeObserver||Gd)(this.handleResize),this.elHandlersMap=new Map}handleResize(t){for(let r of t){let o=this.elHandlersMap.get(r.target);o!==void 0&&o(r)}}registerHandler(t,r){this.elHandlersMap.set(t,r),this.observer.observe(t)}unregisterHandler(t){this.elHandlersMap.has(t)&&(this.elHandlersMap.delete(t),this.observer.unobserve(t))}},Kl=new Xd;var Yr=me({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1,r=Lr().proxy;function o(n){let{onResize:i}=e;i!==void 0&&i(n)}ut(()=>{let n=r.$el;if(n===void 0){Bl("resize-observer","$el does not exist.");return}if(n.nextElementSibling!==n.nextSibling&&n.nodeType===3&&n.nodeValue!==""){Bl("resize-observer","$el can not be observed (it may be a text node).");return}n.nextElementSibling!==null&&(Kl.registerHandler(n.nextElementSibling,o),t=!0)}),Ot(()=>{t&&Kl.unregisterHandler(r.$el.nextElementSibling)})},render(){return mi(this.$slots,"default")}});var Gl;function vb(){return typeof document>"u"?!1:(Gl===void 0&&("matchMedia"in window?Gl=window.matchMedia("(pointer:coarse)").matches:Gl=!1),Gl)}var Yd;function Zd(){return typeof document>"u"?1:(Yd===void 0&&(Yd="chrome"in window?window.devicePixelRatio:1),Yd)}var Xl="VVirtualListXScroll";function yb({columnsRef:e,renderColRef:t,renderItemWithColsRef:r}){let o=G(0),n=G(0),i=F(()=>{let u=e.value;if(u.length===0)return null;let c=new Xn(u.length,0);return u.forEach((d,p)=>{c.add(p,d.width)}),c}),a=nt(()=>{let u=i.value;return u!==null?Math.max(u.getBound(n.value)-1,0):0}),s=u=>{let c=i.value;return c!==null?c.sum(u):0},l=nt(()=>{let u=i.value;return u!==null?Math.min(u.getBound(n.value+o.value)+1,e.value.length-1):0});return Zt(Xl,{startIndexRef:a,endIndexRef:l,columnsRef:e,renderColRef:t,renderItemWithColsRef:r,getLeft:s}),{listWidthRef:o,scrollLeftRef:n}}var Qd=me({name:"VirtualListRow",props:{index:{type:Number,required:!0},item:{type:Object,required:!0}},setup(){let{startIndexRef:e,endIndexRef:t,columnsRef:r,getLeft:o,renderColRef:n,renderItemWithColsRef:i}=De(Xl);return{startIndex:e,endIndex:t,columns:r,renderCol:n,renderItemWithCols:i,getLeft:o}},render(){let{startIndex:e,endIndex:t,columns:r,renderCol:o,renderItemWithCols:n,getLeft:i,item:a}=this;if(n!=null)return n({itemIndex:this.index,startColIndex:e,endColIndex:t,allColumns:r,item:a,getLeft:i});if(o!=null){let s=[];for(let l=e;l<=t;++l){let u=r[l];s.push(o({column:u,left:i(l),item:a}))}return s}return null}});var G3=xo(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[xo("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[xo("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),La=me({name:"VirtualList",inheritAttrs:!1,props:{showScrollbar:{type:Boolean,default:!0},columns:{type:Array,default:()=>[]},renderCol:Function,renderItemWithCols:Function,items:{type:Array,default:()=>[]},itemSize:{type:Number,required:!0},itemResizable:Boolean,itemsStyle:[String,Object],visibleItemsTag:{type:[String,Object],default:"div"},visibleItemsProps:Object,ignoreItemResize:Boolean,onScroll:Function,onWheel:Function,onResize:Function,defaultScrollKey:[Number,String],defaultScrollIndex:Number,keyField:{type:String,default:"key"},paddingTop:{type:[Number,String],default:0},paddingBottom:{type:[Number,String],default:0}},setup(e){let t=Pr();G3.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:Na,ssr:t}),ut(()=>{let{defaultScrollIndex:z,defaultScrollKey:re}=e;z!=null?E({index:z}):re!=null&&E({key:re})});let r=!1,o=!1;ud(()=>{if(r=!1,!o){o=!0;return}E({top:f.value,left:a.value})}),cd(()=>{r=!0,o||(o=!0)});let n=nt(()=>{if(e.renderCol==null&&e.renderItemWithCols==null||e.columns.length===0)return;let z=0;return e.columns.forEach(re=>{z+=re.width}),z}),i=F(()=>{let z=new Map,{keyField:re}=e;return e.items.forEach((ve,ce)=>{z.set(ve[re],ce)}),z}),{scrollLeftRef:a,listWidthRef:s}=yb({columnsRef:Be(e,"columns"),renderColRef:Be(e,"renderCol"),renderItemWithColsRef:Be(e,"renderItemWithCols")}),l=G(null),u=G(void 0),c=new Map,d=F(()=>{let{items:z,itemSize:re,keyField:ve}=e,ce=new Xn(z.length,re);return z.forEach((le,be)=>{let Ae=le[ve],ze=c.get(Ae);ze!==void 0&&ce.add(be,ze)}),ce}),p=G(0),f=G(0),h=nt(()=>Math.max(d.value.getBound(f.value-wl(e.paddingTop))-1,0)),g=F(()=>{let{value:z}=u;if(z===void 0)return[];let{items:re,itemSize:ve}=e,ce=h.value,le=Math.min(ce+Math.ceil(z/ve+1),re.length-1),be=[];for(let Ae=ce;Ae<=le;++Ae)be.push(re[Ae]);return be}),E=(z,re)=>{if(typeof z=="number"){C(z,re,"auto");return}let{left:ve,top:ce,index:le,key:be,position:Ae,behavior:ze,debounce:Fe=!0}=z;if(ve!==void 0||ce!==void 0)C(ve,ce,ze);else if(le!==void 0)P(le,ze,Fe);else if(be!==void 0){let at=i.value.get(be);at!==void 0&&P(at,ze,Fe)}else Ae==="bottom"?C(0,Number.MAX_SAFE_INTEGER,ze):Ae==="top"&&C(0,0,ze)},b,I=null;function P(z,re,ve){let{value:ce}=d,le=ce.sum(z)+wl(e.paddingTop);if(!ve)l.value.scrollTo({left:0,top:le,behavior:re});else{b=z,I!==null&&window.clearTimeout(I),I=window.setTimeout(()=>{b=void 0,I=null},16);let{scrollTop:be,offsetHeight:Ae}=l.value;if(le>be){let ze=ce.get(z);le+ze<=be+Ae||l.value.scrollTo({left:0,top:le+ze-Ae,behavior:re})}else l.value.scrollTo({left:0,top:le,behavior:re})}}function C(z,re,ve){l.value.scrollTo({left:z,top:re,behavior:ve})}function _(z,re){var ve,ce,le;if(r||e.ignoreItemResize||R(re.target))return;let{value:be}=d,Ae=i.value.get(z),ze=be.get(Ae),Fe=(le=(ce=(ve=re.borderBoxSize)===null||ve===void 0?void 0:ve[0])===null||ce===void 0?void 0:ce.blockSize)!==null&&le!==void 0?le:re.contentRect.height;if(Fe===ze)return;Fe-e.itemSize===0?c.delete(z):c.set(z,Fe-e.itemSize);let Ke=Fe-ze;if(Ke===0)return;be.add(Ae,Ke);let Xe=l.value;if(Xe!=null){if(b===void 0){let ot=be.sum(Ae);Xe.scrollTop>ot&&Xe.scrollBy(0,Ke)}else if(Ae<b)Xe.scrollBy(0,Ke);else if(Ae===b){let ot=be.sum(Ae);Fe+ot>Xe.scrollTop+Xe.offsetHeight&&Xe.scrollBy(0,Ke)}Z()}p.value++}let M=!vb(),v=!1;function T(z){var re;(re=e.onScroll)===null||re===void 0||re.call(e,z),(!M||!v)&&Z()}function $(z){var re;if((re=e.onWheel)===null||re===void 0||re.call(e,z),M){let ve=l.value;if(ve!=null){if(z.deltaX===0&&(ve.scrollTop===0&&z.deltaY<=0||ve.scrollTop+ve.offsetHeight>=ve.scrollHeight&&z.deltaY>=0))return;z.preventDefault(),ve.scrollTop+=z.deltaY/Zd(),ve.scrollLeft+=z.deltaX/Zd(),Z(),v=!0,wa(()=>{v=!1})}}}function N(z){if(r||R(z.target))return;if(e.renderCol==null&&e.renderItemWithCols==null){if(z.contentRect.height===u.value)return}else if(z.contentRect.height===u.value&&z.contentRect.width===s.value)return;u.value=z.contentRect.height,s.value=z.contentRect.width;let{onResize:re}=e;re!==void 0&&re(z)}function Z(){let{value:z}=l;z!=null&&(f.value=z.scrollTop,a.value=z.scrollLeft)}function R(z){let re=z;for(;re!==null;){if(re.style.display==="none")return!0;re=re.parentElement}return!1}return{listHeight:u,listStyle:{overflow:"auto"},keyToIndex:i,itemsStyle:F(()=>{let{itemResizable:z}=e,re=Ro(d.value.sum());return p.value,[e.itemsStyle,{boxSizing:"content-box",width:Ro(n.value),height:z?"":re,minHeight:z?re:"",paddingTop:Ro(e.paddingTop),paddingBottom:Ro(e.paddingBottom)}]}),visibleItemsStyle:F(()=>(p.value,{transform:`translateY(${Ro(d.value.sum(h.value))})`})),viewportItems:g,listElRef:l,itemsElRef:G(null),scrollTo:E,handleListResize:N,handleListScroll:T,handleListWheel:$,handleItemResize:_}},render(){let{itemResizable:e,keyField:t,keyToIndex:r,visibleItemsTag:o}=this;return x(Yr,{onResize:this.handleListResize},{default:()=>{var n,i;return x("div",va(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[this.items.length!==0?x("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[x(o,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>{let{renderCol:a,renderItemWithCols:s}=this;return this.viewportItems.map(l=>{let u=l[t],c=r.get(u),d=a!=null?x(Qd,{index:c,item:l}):void 0,p=s!=null?x(Qd,{index:c,item:l}):void 0,f=this.$slots.default({item:l,renderedCols:d,renderedItemWithCols:p,index:c})[0];return e?x(Yr,{key:u,onResize:h=>this.handleItemResize(u,h)},{default:()=>f}):(f.key=u,f)})}})]):(i=(n=this.$slots).empty)===null||i===void 0?void 0:i.call(n)])}})}});var wb="n-form-item";function Mr(e,{defaultSize:t="medium",mergedSize:r,mergedDisabled:o}={}){let n=De(wb,null);Zt(wb,null);let i=F(r?()=>r(n):()=>{let{size:l}=e;if(l)return l;if(n){let{mergedSize:u}=n;if(u.value!==void 0)return u.value}return t}),a=F(o?()=>o(n):()=>{let{disabled:l}=e;return l!==void 0?l:n?n.disabled.value:!1}),s=F(()=>{let{status:l}=e;return l||n?.mergedValidationStatus.value});return Ot(()=>{n&&n.restoreValidation()}),{mergedSizeRef:i,mergedDisabledRef:a,mergedStatusRef:s,nTriggerFormBlur(){n&&n.handleContentBlur()},nTriggerFormChange(){n&&n.handleContentChange()},nTriggerFormFocus(){n&&n.handleContentFocus()},nTriggerFormInput(){n&&n.handleContentInput()}}}var Y3=typeof global=="object"&&global&&global.Object===Object&&global,Yl=Y3;var Z3=typeof self=="object"&&self&&self.Object===Object&&self,Q3=Yl||Z3||Function("return this")(),Br=Q3;var J3=Br.Symbol,$o=J3;var Cb=Object.prototype,e6=Cb.hasOwnProperty,t6=Cb.toString,Oa=$o?$o.toStringTag:void 0;function r6(e){var t=e6.call(e,Oa),r=e[Oa];try{e[Oa]=void 0;var o=!0}catch{}var n=t6.call(e);return o&&(t?e[Oa]=r:delete e[Oa]),n}var kb=r6;var o6=Object.prototype,n6=o6.toString;function i6(e){return n6.call(e)}var Sb=i6;var a6="[object Null]",s6="[object Undefined]",Eb=$o?$o.toStringTag:void 0;function l6(e){return e==null?e===void 0?s6:a6:Eb&&Eb in Object(e)?kb(e):Sb(e)}var yo=l6;function u6(e){return e!=null&&typeof e=="object"}var $r=u6;var c6="[object Symbol]";function d6(e){return typeof e=="symbol"||$r(e)&&yo(e)==c6}var _b=d6;function f6(e,t){for(var r=-1,o=e==null?0:e.length,n=Array(o);++r<o;)n[r]=t(e[r],r,e);return n}var Tb=f6;var p6=Array.isArray,Qn=p6;var h6=1/0,Db=$o?$o.prototype:void 0,Nb=Db?Db.toString:void 0;function Ab(e){if(typeof e=="string")return e;if(Qn(e))return Tb(e,Ab)+"";if(_b(e))return Nb?Nb.call(e):"";var t=e+"";return t=="0"&&1/e==-h6?"-0":t}var Ib=Ab;function m6(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var br=m6;function g6(e){return e}var Zl=g6;var b6="[object AsyncFunction]",x6="[object Function]",v6="[object GeneratorFunction]",y6="[object Proxy]";function w6(e){if(!br(e))return!1;var t=yo(e);return t==x6||t==v6||t==b6||t==y6}var Si=w6;var C6=Br["__core-js_shared__"],Ql=C6;var Lb=function(){var e=/[^.]+$/.exec(Ql&&Ql.keys&&Ql.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function k6(e){return!!Lb&&Lb in e}var Ob=k6;var S6=Function.prototype,E6=S6.toString;function _6(e){if(e!=null){try{return E6.call(e)}catch{}try{return e+""}catch{}}return""}var Pb=_6;var T6=/[\\^$.*+?()[\]{}|]/g,D6=/^\[object .+?Constructor\]$/,N6=Function.prototype,A6=Object.prototype,I6=N6.toString,L6=A6.hasOwnProperty,O6=RegExp("^"+I6.call(L6).replace(T6,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function P6(e){if(!br(e)||Ob(e))return!1;var t=Si(e)?O6:D6;return t.test(Pb(e))}var Rb=P6;function R6(e,t){return e?.[t]}var Mb=R6;function M6(e,t){var r=Mb(e,t);return Rb(r)?r:void 0}var Ei=M6;var Bb=Object.create,B6=function(){function e(){}return function(t){if(!br(t))return{};if(Bb)return Bb(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),$b=B6;function $6(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var Hb=$6;function H6(e,t){var r=-1,o=e.length;for(t||(t=Array(o));++r<o;)t[r]=e[r];return t}var Fb=H6;var F6=800,z6=16,V6=Date.now;function j6(e){var t=0,r=0;return function(){var o=V6(),n=z6-(o-r);if(r=o,n>0){if(++t>=F6)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var zb=j6;function W6(e){return function(){return e}}var Vb=W6;var q6=function(){try{var e=Ei(Object,"defineProperty");return e({},"",{}),e}catch{}}(),_i=q6;var U6=_i?function(e,t){return _i(e,"toString",{configurable:!0,enumerable:!1,value:Vb(t),writable:!0})}:Zl,jb=U6;var K6=zb(jb),Wb=K6;var G6=9007199254740991,X6=/^(?:0|[1-9]\d*)$/;function Y6(e,t){var r=typeof e;return t=t??G6,!!t&&(r=="number"||r!="symbol"&&X6.test(e))&&e>-1&&e%1==0&&e<t}var Jl=Y6;function Z6(e,t,r){t=="__proto__"&&_i?_i(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var Ti=Z6;function Q6(e,t){return e===t||e!==e&&t!==t}var hn=Q6;var J6=Object.prototype,eE=J6.hasOwnProperty;function tE(e,t,r){var o=e[t];(!(eE.call(e,t)&&hn(o,r))||r===void 0&&!(t in e))&&Ti(e,t,r)}var qb=tE;function rE(e,t,r,o){var n=!r;r||(r={});for(var i=-1,a=t.length;++i<a;){var s=t[i],l=o?o(r[s],e[s],s,r,e):void 0;l===void 0&&(l=e[s]),n?Ti(r,s,l):qb(r,s,l)}return r}var Ub=rE;var Kb=Math.max;function oE(e,t,r){return t=Kb(t===void 0?e.length-1:t,0),function(){for(var o=arguments,n=-1,i=Kb(o.length-t,0),a=Array(i);++n<i;)a[n]=o[t+n];n=-1;for(var s=Array(t+1);++n<t;)s[n]=o[n];return s[t]=r(a),Hb(e,this,s)}}var Gb=oE;function nE(e,t){return Wb(Gb(e,t,Zl),e+"")}var Xb=nE;var iE=9007199254740991;function aE(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=iE}var eu=aE;function sE(e){return e!=null&&eu(e.length)&&!Si(e)}var Di=sE;function lE(e,t,r){if(!br(r))return!1;var o=typeof t;return(o=="number"?Di(r)&&Jl(t,r.length):o=="string"&&t in r)?hn(r[t],e):!1}var Yb=lE;function uE(e){return Xb(function(t,r){var o=-1,n=r.length,i=n>1?r[n-1]:void 0,a=n>2?r[2]:void 0;for(i=e.length>3&&typeof i=="function"?(n--,i):void 0,a&&Yb(r[0],r[1],a)&&(i=n<3?void 0:i,n=1),t=Object(t);++o<n;){var s=r[o];s&&e(t,s,o,i)}return t})}var Zb=uE;var cE=Object.prototype;function dE(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||cE;return e===r}var tu=dE;function fE(e,t){for(var r=-1,o=Array(e);++r<e;)o[r]=t(r);return o}var Qb=fE;var pE="[object Arguments]";function hE(e){return $r(e)&&yo(e)==pE}var Jd=hE;var Jb=Object.prototype,mE=Jb.hasOwnProperty,gE=Jb.propertyIsEnumerable,bE=Jd(function(){return arguments}())?Jd:function(e){return $r(e)&&mE.call(e,"callee")&&!gE.call(e,"callee")},Pa=bE;function xE(){return!1}var ex=xE;var ox=typeof exports=="object"&&exports&&!exports.nodeType&&exports,tx=ox&&typeof module=="object"&&module&&!module.nodeType&&module,vE=tx&&tx.exports===ox,rx=vE?Br.Buffer:void 0,yE=rx?rx.isBuffer:void 0,wE=yE||ex,ru=wE;var CE="[object Arguments]",kE="[object Array]",SE="[object Boolean]",EE="[object Date]",_E="[object Error]",TE="[object Function]",DE="[object Map]",NE="[object Number]",AE="[object Object]",IE="[object RegExp]",LE="[object Set]",OE="[object String]",PE="[object WeakMap]",RE="[object ArrayBuffer]",ME="[object DataView]",BE="[object Float32Array]",$E="[object Float64Array]",HE="[object Int8Array]",FE="[object Int16Array]",zE="[object Int32Array]",VE="[object Uint8Array]",jE="[object Uint8ClampedArray]",WE="[object Uint16Array]",qE="[object Uint32Array]",wt={};wt[BE]=wt[$E]=wt[HE]=wt[FE]=wt[zE]=wt[VE]=wt[jE]=wt[WE]=wt[qE]=!0;wt[CE]=wt[kE]=wt[RE]=wt[SE]=wt[ME]=wt[EE]=wt[_E]=wt[TE]=wt[DE]=wt[NE]=wt[AE]=wt[IE]=wt[LE]=wt[OE]=wt[PE]=!1;function UE(e){return $r(e)&&eu(e.length)&&!!wt[yo(e)]}var nx=UE;function KE(e){return function(t){return e(t)}}var ix=KE;var ax=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ra=ax&&typeof module=="object"&&module&&!module.nodeType&&module,GE=Ra&&Ra.exports===ax,ef=GE&&Yl.process,XE=function(){try{var e=Ra&&Ra.require&&Ra.require("util").types;return e||ef&&ef.binding&&ef.binding("util")}catch{}}(),tf=XE;var sx=tf&&tf.isTypedArray,YE=sx?ix(sx):nx,ou=YE;var ZE=Object.prototype,QE=ZE.hasOwnProperty;function JE(e,t){var r=Qn(e),o=!r&&Pa(e),n=!r&&!o&&ru(e),i=!r&&!o&&!n&&ou(e),a=r||o||n||i,s=a?Qb(e.length,String):[],l=s.length;for(var u in e)(t||QE.call(e,u))&&!(a&&(u=="length"||n&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||Jl(u,l)))&&s.push(u);return s}var lx=JE;function e4(e,t){return function(r){return e(t(r))}}var ux=e4;function t4(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var cx=t4;var r4=Object.prototype,o4=r4.hasOwnProperty;function n4(e){if(!br(e))return cx(e);var t=tu(e),r=[];for(var o in e)o=="constructor"&&(t||!o4.call(e,o))||r.push(o);return r}var dx=n4;function i4(e){return Di(e)?lx(e,!0):dx(e)}var nu=i4;var a4=Ei(Object,"create"),Ho=a4;function s4(){this.__data__=Ho?Ho(null):{},this.size=0}var fx=s4;function l4(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var px=l4;var u4="__lodash_hash_undefined__",c4=Object.prototype,d4=c4.hasOwnProperty;function f4(e){var t=this.__data__;if(Ho){var r=t[e];return r===u4?void 0:r}return d4.call(t,e)?t[e]:void 0}var hx=f4;var p4=Object.prototype,h4=p4.hasOwnProperty;function m4(e){var t=this.__data__;return Ho?t[e]!==void 0:h4.call(t,e)}var mx=m4;var g4="__lodash_hash_undefined__";function b4(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ho&&t===void 0?g4:t,this}var gx=b4;function Ni(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Ni.prototype.clear=fx;Ni.prototype.delete=px;Ni.prototype.get=hx;Ni.prototype.has=mx;Ni.prototype.set=gx;var rf=Ni;function x4(){this.__data__=[],this.size=0}var bx=x4;function v4(e,t){for(var r=e.length;r--;)if(hn(e[r][0],t))return r;return-1}var mn=v4;var y4=Array.prototype,w4=y4.splice;function C4(e){var t=this.__data__,r=mn(t,e);if(r<0)return!1;var o=t.length-1;return r==o?t.pop():w4.call(t,r,1),--this.size,!0}var xx=C4;function k4(e){var t=this.__data__,r=mn(t,e);return r<0?void 0:t[r][1]}var vx=k4;function S4(e){return mn(this.__data__,e)>-1}var yx=S4;function E4(e,t){var r=this.__data__,o=mn(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}var wx=E4;function Ai(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Ai.prototype.clear=bx;Ai.prototype.delete=xx;Ai.prototype.get=vx;Ai.prototype.has=yx;Ai.prototype.set=wx;var gn=Ai;var _4=Ei(Br,"Map"),iu=_4;function T4(){this.size=0,this.__data__={hash:new rf,map:new(iu||gn),string:new rf}}var Cx=T4;function D4(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var kx=D4;function N4(e,t){var r=e.__data__;return kx(t)?r[typeof t=="string"?"string":"hash"]:r.map}var bn=N4;function A4(e){var t=bn(this,e).delete(e);return this.size-=t?1:0,t}var Sx=A4;function I4(e){return bn(this,e).get(e)}var Ex=I4;function L4(e){return bn(this,e).has(e)}var _x=L4;function O4(e,t){var r=bn(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}var Tx=O4;function Ii(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Ii.prototype.clear=Cx;Ii.prototype.delete=Sx;Ii.prototype.get=Ex;Ii.prototype.has=_x;Ii.prototype.set=Tx;var Dx=Ii;function P4(e){return e==null?"":Ib(e)}var Nx=P4;var R4=ux(Object.getPrototypeOf,Object),au=R4;var M4="[object Object]",B4=Function.prototype,$4=Object.prototype,Ax=B4.toString,H4=$4.hasOwnProperty,F4=Ax.call(Object);function z4(e){if(!$r(e)||yo(e)!=M4)return!1;var t=au(e);if(t===null)return!0;var r=H4.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Ax.call(r)==F4}var Ix=z4;function V4(e,t,r){var o=-1,n=e.length;t<0&&(t=-t>n?0:n+t),r=r>n?n:r,r<0&&(r+=n),n=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(n);++o<n;)i[o]=e[o+t];return i}var Lx=V4;function j4(e,t,r){var o=e.length;return r=r===void 0?o:r,!t&&r>=o?e:Lx(e,t,r)}var Ox=j4;var W4="\\ud800-\\udfff",q4="\\u0300-\\u036f",U4="\\ufe20-\\ufe2f",K4="\\u20d0-\\u20ff",G4=q4+U4+K4,X4="\\ufe0e\\ufe0f",Y4="\\u200d",Z4=RegExp("["+Y4+W4+G4+X4+"]");function Q4(e){return Z4.test(e)}var su=Q4;function J4(e){return e.split("")}var Px=J4;var Rx="\\ud800-\\udfff",e_="\\u0300-\\u036f",t_="\\ufe20-\\ufe2f",r_="\\u20d0-\\u20ff",o_=e_+t_+r_,n_="\\ufe0e\\ufe0f",i_="["+Rx+"]",of="["+o_+"]",nf="\\ud83c[\\udffb-\\udfff]",a_="(?:"+of+"|"+nf+")",Mx="[^"+Rx+"]",Bx="(?:\\ud83c[\\udde6-\\uddff]){2}",$x="[\\ud800-\\udbff][\\udc00-\\udfff]",s_="\\u200d",Hx=a_+"?",Fx="["+n_+"]?",l_="(?:"+s_+"(?:"+[Mx,Bx,$x].join("|")+")"+Fx+Hx+")*",u_=Fx+Hx+l_,c_="(?:"+[Mx+of+"?",of,Bx,$x,i_].join("|")+")",d_=RegExp(nf+"(?="+nf+")|"+c_+u_,"g");function f_(e){return e.match(d_)||[]}var zx=f_;function p_(e){return su(e)?zx(e):Px(e)}var Vx=p_;function h_(e){return function(t){t=Nx(t);var r=su(t)?Vx(t):void 0,o=r?r[0]:t.charAt(0),n=r?Ox(r,1).join(""):t.slice(1);return o[e]()+n}}var jx=h_;var m_=jx("toUpperCase"),af=m_;function g_(){this.__data__=new gn,this.size=0}var Wx=g_;function b_(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var qx=b_;function x_(e){return this.__data__.get(e)}var Ux=x_;function v_(e){return this.__data__.has(e)}var Kx=v_;var y_=200;function w_(e,t){var r=this.__data__;if(r instanceof gn){var o=r.__data__;if(!iu||o.length<y_-1)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new Dx(o)}return r.set(e,t),this.size=r.size,this}var Gx=w_;function Li(e){var t=this.__data__=new gn(e);this.size=t.size}Li.prototype.clear=Wx;Li.prototype.delete=qx;Li.prototype.get=Ux;Li.prototype.has=Kx;Li.prototype.set=Gx;var Xx=Li;var Jx=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Yx=Jx&&typeof module=="object"&&module&&!module.nodeType&&module,C_=Yx&&Yx.exports===Jx,Zx=C_?Br.Buffer:void 0,Qx=Zx?Zx.allocUnsafe:void 0;function k_(e,t){if(t)return e.slice();var r=e.length,o=Qx?Qx(r):new e.constructor(r);return e.copy(o),o}var ev=k_;var S_=Br.Uint8Array,sf=S_;function E_(e){var t=new e.constructor(e.byteLength);return new sf(t).set(new sf(e)),t}var tv=E_;function __(e,t){var r=t?tv(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var rv=__;function T_(e){return typeof e.constructor=="function"&&!tu(e)?$b(au(e)):{}}var ov=T_;function D_(e){return function(t,r,o){for(var n=-1,i=Object(t),a=o(t),s=a.length;s--;){var l=a[e?s:++n];if(r(i[l],l,i)===!1)break}return t}}var nv=D_;var N_=nv(),iv=N_;function A_(e,t,r){(r!==void 0&&!hn(e[t],r)||r===void 0&&!(t in e))&&Ti(e,t,r)}var Ma=A_;function I_(e){return $r(e)&&Di(e)}var av=I_;function L_(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var Ba=L_;function O_(e){return Ub(e,nu(e))}var sv=O_;function P_(e,t,r,o,n,i,a){var s=Ba(e,r),l=Ba(t,r),u=a.get(l);if(u){Ma(e,r,u);return}var c=i?i(s,l,r+"",e,t,a):void 0,d=c===void 0;if(d){var p=Qn(l),f=!p&&ru(l),h=!p&&!f&&ou(l);c=l,p||f||h?Qn(s)?c=s:av(s)?c=Fb(s):f?(d=!1,c=ev(l,!0)):h?(d=!1,c=rv(l,!0)):c=[]:Ix(l)||Pa(l)?(c=s,Pa(s)?c=sv(s):(!br(s)||Si(s))&&(c=ov(l))):d=!1}d&&(a.set(l,c),n(c,l,o,i,a),a.delete(l)),Ma(e,r,c)}var lv=P_;function uv(e,t,r,o,n){e!==t&&iv(t,function(i,a){if(n||(n=new Xx),br(i))lv(e,t,a,r,uv,o,n);else{var s=o?o(Ba(e,a),i,a+"",e,t,n):void 0;s===void 0&&(s=i),Ma(e,a,s)}},nu)}var cv=uv;var R_=Zb(function(e,t,r){cv(e,t,r)}),xn=R_;var ar={fontFamily:'v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',fontFamilyMono:"v-mono, SFMono-Regular, Menlo, Consolas, Courier, monospace",fontWeight:"400",fontWeightStrong:"500",cubicBezierEaseInOut:"cubic-bezier(.4, 0, .2, 1)",cubicBezierEaseOut:"cubic-bezier(0, 0, .2, 1)",cubicBezierEaseIn:"cubic-bezier(.4, 0, 1, 1)",borderRadius:"3px",borderRadiusSmall:"2px",fontSize:"14px",fontSizeTiny:"12px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",lineHeight:"1.6",heightTiny:"22px",heightSmall:"28px",heightMedium:"34px",heightLarge:"40px",heightHuge:"46px"};var{fontSize:M_,fontFamily:B_,lineHeight:$_}=ar,lu=ee("body",`
margin: 0;
font-size: ${M_};
font-family: ${B_};
line-height: ${$_};
-webkit-text-size-adjust: 100%;
-webkit-tap-highlight-color: transparent;
`,[ee("input",`
font-family: inherit;
font-size: inherit;
`)]);var dr="n-config-provider";var vn="naive-ui-style";function dv(e,t,r,o,n,i){let a=Pr();if(r){let u=()=>{let c=i?.value;r.mount({id:c===void 0?t:c+t,head:!0,props:{bPrefix:c?`.${c}-`:void 0},anchorMetaName:vn,ssr:a}),lu.mount({id:"n-global",head:!0,anchorMetaName:vn,ssr:a})};a?u():Oo(u)}let s=De(dr,null);return F(()=>{var u;let{theme:{common:c,self:d,peers:p={}}={},themeOverrides:f={},builtinThemeOverrides:h={}}=n,{common:g,peers:E}=f,{common:b=void 0,[e]:{common:I=void 0,self:P=void 0,peers:C={}}={}}=s?.mergedThemeRef.value||{},{common:_=void 0,[e]:M={}}=s?.mergedThemeOverridesRef.value||{},{common:v,peers:T={}}=M,$=xn({},c||I||b||o.common,_,v,g),N=xn((u=d||P||o.self)===null||u===void 0?void 0:u($),h,M,f);return{common:$,self:N,peers:xn({},o.peers,C,p),peerOverrides:xn({},T,E)}})}dv.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};var Nt=dv;var uu="n";function Wt(e={},t={defaultBordered:!0}){let r=De(dr,null);return{inlineThemeDisabled:r?.inlineThemeDisabled,mergedRtlRef:r?.mergedRtlRef,mergedComponentPropsRef:r?.mergedComponentPropsRef,mergedBreakpointsRef:r?.mergedBreakpointsRef,mergedBorderedRef:F(()=>{var o,n;let{bordered:i}=e;return i!==void 0?i:(n=(o=r?.mergedBorderedRef.value)!==null&&o!==void 0?o:t.defaultBordered)!==null&&n!==void 0?n:!0}),mergedClsPrefixRef:F(()=>r?.mergedClsPrefixRef.value||uu),namespaceRef:F(()=>r?.mergedNamespaceRef.value)}}var H_={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},Transfer:{sourceTitle:"Source",targetTitle:"Target"},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (\u2190)",tipNext:"Next picture (\u2192)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipClose:"Close (Esc)"}},lf=H_;var Ov=Nm(Lv()),BT={name:"en-US",locale:Ov.default},cf=BT;function Oi(e){let{mergedLocaleRef:t,mergedDateLocaleRef:r}=De(dr,null)||{},o=F(()=>{var i,a;return(a=(i=t?.value)===null||i===void 0?void 0:i[e])!==null&&a!==void 0?a:lf[e]});return{dateLocaleRef:F(()=>{var i;return(i=r?.value)!==null&&i!==void 0?i:cf}),localeRef:o}}function wo(e,t,r){if(!t)return;let o=Pr(),n=()=>{let i=r?.value;t.mount({id:i===void 0?e:i+e,head:!0,anchorMetaName:vn,props:{bPrefix:i?`.${i}-`:void 0},ssr:o}),lu.mount({id:"n-global",head:!0,anchorMetaName:vn,ssr:o})};o?n():Oo(n)}function sr(e,t,r,o){var n;r||kl("useThemeClass","cssVarsRef is not passed");let i=(n=De(dr,null))===null||n===void 0?void 0:n.mergedThemeHashRef,a=G(""),s=Pr(),l,u=`__${e}`,c=()=>{let d=u,p=t?t.value:void 0,f=i?.value;f&&(d+="-"+f),p&&(d+="-"+p);let{themeOverrides:h,builtinThemeOverrides:g}=o;h&&(d+="-"+Sr(JSON.stringify(h))),g&&(d+="-"+Sr(JSON.stringify(g))),a.value=d,l=()=>{let E=r.value,b="";for(let I in E)b+=`${I}: ${E[I]};`;ee(`.${d}`,b).mount({id:d,ssr:s}),l=void 0}};return Ht(()=>{c()}),{themeClass:a,onRender:()=>{l?.()}}}function Pv(e,t){return me({name:af(e),setup(){var r;let o=(r=De(dr,null))===null||r===void 0?void 0:r.mergedIconsRef;return()=>{var n;let i=(n=o?.value)===null||n===void 0?void 0:n[e];return i?i():t}}})}var df=me({name:"Eye",render(){return x("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},x("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}),x("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}});var ff=me({name:"EyeOff",render(){return x("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},x("path",{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z",fill:"currentColor"}),x("path",{d:"M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z",fill:"currentColor"}),x("path",{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z",fill:"currentColor"}),x("path",{d:"M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z",fill:"currentColor"}),x("path",{d:"M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z",fill:"currentColor"}))}});var pf=me({name:"Empty",render(){return x("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},x("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),x("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"}))}});var hf=me({name:"Switcher",render(){return x("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},x("path",{d:"M12 8l10 8l-10 8z"}))}});var mf=me({name:"ChevronDown",render(){return x("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},x("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"currentColor"}))}});var gf=Pv("clear",x("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},x("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},x("g",{fill:"currentColor","fill-rule":"nonzero"},x("path",{d:"M8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 Z M6.5343055,5.83859116 C6.33943736,5.70359511 6.07001296,5.72288026 5.89644661,5.89644661 L5.89644661,5.89644661 L5.83859116,5.9656945 C5.70359511,6.16056264 5.72288026,6.42998704 5.89644661,6.60355339 L5.89644661,6.60355339 L7.293,8 L5.89644661,9.39644661 L5.83859116,9.4656945 C5.70359511,9.66056264 5.72288026,9.92998704 5.89644661,10.1035534 L5.89644661,10.1035534 L5.9656945,10.1614088 C6.16056264,10.2964049 6.42998704,10.2771197 6.60355339,10.1035534 L6.60355339,10.1035534 L8,8.707 L9.39644661,10.1035534 L9.4656945,10.1614088 C9.66056264,10.2964049 9.92998704,10.2771197 10.1035534,10.1035534 L10.1035534,10.1035534 L10.1614088,10.0343055 C10.2964049,9.83943736 10.2771197,9.57001296 10.1035534,9.39644661 L10.1035534,9.39644661 L8.707,8 L10.1035534,6.60355339 L10.1614088,6.5343055 C10.2964049,6.33943736 10.2771197,6.07001296 10.1035534,5.89644661 L10.1035534,5.89644661 L10.0343055,5.83859116 C9.83943736,5.70359511 9.57001296,5.72288026 9.39644661,5.89644661 L9.39644661,5.89644661 L8,7.293 L6.60355339,5.89644661 Z"})))));var Hr=me({name:"BaseIconSwitchTransition",setup(e,{slots:t}){let r=fn();return()=>x(Gr,{name:"icon-switch-transition",appear:r.value},t)}});var Pi=me({name:"FadeInExpandTransition",props:{appear:Boolean,group:Boolean,mode:String,onLeave:Function,onAfterLeave:Function,onAfterEnter:Function,width:Boolean,reverse:Boolean},setup(e,{slots:t}){function r(s){e.width?s.style.maxWidth=`${s.offsetWidth}px`:s.style.maxHeight=`${s.offsetHeight}px`,s.offsetWidth}function o(s){e.width?s.style.maxWidth="0":s.style.maxHeight="0",s.offsetWidth;let{onLeave:l}=e;l&&l()}function n(s){e.width?s.style.maxWidth="":s.style.maxHeight="";let{onAfterLeave:l}=e;l&&l()}function i(s){if(s.style.transition="none",e.width){let l=s.offsetWidth;s.style.maxWidth="0",s.offsetWidth,s.style.transition="",s.style.maxWidth=`${l}px`}else if(e.reverse)s.style.maxHeight=`${s.offsetHeight}px`,s.offsetHeight,s.style.transition="",s.style.maxHeight="0";else{let l=s.offsetHeight;s.style.maxHeight="0",s.offsetWidth,s.style.transition="",s.style.maxHeight=`${l}px`}s.offsetWidth}function a(s){var l;e.width?s.style.maxWidth="":e.reverse||(s.style.maxHeight=""),(l=e.onAfterEnter)===null||l===void 0||l.call(e)}return()=>{let s=e.group?dg:Gr;return x(s,{name:e.width?"fade-in-width-expand-transition":"fade-in-height-expand-transition",mode:e.mode,appear:e.appear,onEnter:i,onAfterEnter:a,onBeforeLeave:r,onLeave:o,onAfterLeave:n},t)}}});var Rv=U("base-icon",`
height: 1em;
width: 1em;
line-height: 1em;
text-align: center;
display: inline-block;
position: relative;
fill: currentColor;
transform: translateZ(0);
`,[ee("svg",{height:"1em",width:"1em"})]);var Fr=me({name:"BaseIcon",props:{role:String,ariaLabel:String,ariaDisabled:{type:Boolean,default:void 0},ariaHidden:{type:Boolean,default:void 0},clsPrefix:{type:String,required:!0},onClick:Function,onMousedown:Function,onMouseup:Function},setup(e){wo("-base-icon",Rv,Be(e,"clsPrefix"))},render(){return x("i",{class:`${this.clsPrefix}-base-icon`,onClick:this.onClick,onMousedown:this.onMousedown,onMouseup:this.onMouseup,role:this.role,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,"aria-disabled":this.ariaDisabled},this.$slots)}});var{cubicBezierEaseInOut:$T}=ar;function Er({originalTransform:e="",left:t=0,top:r=0,transition:o=`all .3s ${$T} !important`}={}){return[ee("&.icon-switch-transition-enter-from, &.icon-switch-transition-leave-to",{transform:e+" scale(0.75)",left:t,top:r,opacity:0}),ee("&.icon-switch-transition-enter-to, &.icon-switch-transition-leave-from",{transform:`scale(1) ${e}`,left:t,top:r,opacity:1}),ee("&.icon-switch-transition-enter-active, &.icon-switch-transition-leave-active",{transformOrigin:"center",position:"absolute",left:t,top:r,transition:o})]}var Mv=ee([ee("@keyframes loading-container-rotate",`
to {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
`),ee("@keyframes loading-layer-rotate",`
12.5% {
-webkit-transform: rotate(135deg);
transform: rotate(135deg);
}
25% {
-webkit-transform: rotate(270deg);
transform: rotate(270deg);
}
37.5% {
-webkit-transform: rotate(405deg);
transform: rotate(405deg);
}
50% {
-webkit-transform: rotate(540deg);
transform: rotate(540deg);
}
62.5% {
-webkit-transform: rotate(675deg);
transform: rotate(675deg);
}
75% {
-webkit-transform: rotate(810deg);
transform: rotate(810deg);
}
87.5% {
-webkit-transform: rotate(945deg);
transform: rotate(945deg);
}
100% {
-webkit-transform: rotate(1080deg);
transform: rotate(1080deg);
}
`),ee("@keyframes loading-left-spin",`
from {
-webkit-transform: rotate(265deg);
transform: rotate(265deg);
}
50% {
-webkit-transform: rotate(130deg);
transform: rotate(130deg);
}
to {
-webkit-transform: rotate(265deg);
transform: rotate(265deg);
}
`),ee("@keyframes loading-right-spin",`
from {
-webkit-transform: rotate(-265deg);
transform: rotate(-265deg);
}
50% {
-webkit-transform: rotate(-130deg);
transform: rotate(-130deg);
}
to {
-webkit-transform: rotate(-265deg);
transform: rotate(-265deg);
}
`),U("base-loading",`
position: relative;
line-height: 0;
width: 1em;
height: 1em;
`,[te("transition-wrapper",`
position: absolute;
width: 100%;
height: 100%;
`,[Er()]),te("container",`
display: inline-flex;
position: relative;
direction: ltr;
line-height: 0;
animation: loading-container-rotate 1568.2352941176ms linear infinite;
font-size: 0;
letter-spacing: 0;
white-space: nowrap;
opacity: 1;
width: 100%;
height: 100%;
`,[te("svg",`
stroke: var(--n-text-color);
fill: transparent;
position: absolute;
height: 100%;
overflow: hidden;
`),te("container-layer",`
position: absolute;
width: 100%;
height: 100%;
animation: loading-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
`,[te("container-layer-left",`
display: inline-flex;
position: relative;
width: 50%;
height: 100%;
overflow: hidden;
`,[te("svg",`
animation: loading-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
width: 200%;
`)]),te("container-layer-patch",`
position: absolute;
top: 0;
left: 47.5%;
box-sizing: border-box;
width: 5%;
height: 100%;
overflow: hidden;
`,[te("svg",`
left: -900%;
width: 2000%;
transform: rotate(180deg);
`)]),te("container-layer-right",`
display: inline-flex;
position: relative;
width: 50%;
height: 100%;
overflow: hidden;
`,[te("svg",`
animation: loading-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
left: -100%;
width: 200%;
`)])])]),te("placeholder",`
position: absolute;
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
`,[Er({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})])])]);var yn=me({name:"BaseLoading",props:{clsPrefix:{type:String,required:!0},scale:{type:Number,default:1},radius:{type:Number,default:100},strokeWidth:{type:Number,default:28},stroke:{type:String,default:void 0},show:{type:Boolean,default:!0}},setup(e){wo("-base-loading",Mv,Be(e,"clsPrefix"))},render(){let{clsPrefix:e,radius:t,strokeWidth:r,stroke:o,scale:n}=this,i=t/n;return x("div",{class:`${e}-base-loading`,role:"img","aria-label":"loading"},x(Hr,null,{default:()=>this.show?x("div",{key:"icon",class:`${e}-base-loading__transition-wrapper`},x("div",{class:`${e}-base-loading__container`},x("div",{class:`${e}-base-loading__container-layer`},x("div",{class:`${e}-base-loading__container-layer-left`},x("svg",{class:`${e}-base-loading__svg`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},x("circle",{fill:"none",stroke:"currentColor","stroke-width":r,"stroke-linecap":"round",cx:i,cy:i,r:t-r/2,"stroke-dasharray":4.91*t,"stroke-dashoffset":2.46*t}))),x("div",{class:`${e}-base-loading__container-layer-patch`},x("svg",{class:`${e}-base-loading__svg`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},x("circle",{fill:"none",stroke:"currentColor","stroke-width":r,"stroke-linecap":"round",cx:i,cy:i,r:t-r/2,"stroke-dasharray":4.91*t,"stroke-dashoffset":2.46*t}))),x("div",{class:`${e}-base-loading__container-layer-right`},x("svg",{class:`${e}-base-loading__svg`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},x("circle",{fill:"none",stroke:"currentColor","stroke-width":r,"stroke-linecap":"round",cx:i,cy:i,r:t-r/2,"stroke-dasharray":4.91*t,"stroke-dashoffset":2.46*t})))))):x("div",{key:"placeholder",class:`${e}-base-loading__placeholder`},this.$slots)}))}});function bf(e){return Array.isArray(e)?e:[e]}var hu={STOP:"STOP"};function xf(e,t){let r=t(e);e.children!==void 0&&r!==hu.STOP&&e.children.forEach(o=>xf(o,t))}function Bv(e,t={}){let{preserveGroup:r=!1}=t,o=[],n=r?a=>{a.isLeaf||(o.push(a.key),i(a.children))}:a=>{a.isLeaf||(a.isGroup||o.push(a.key),i(a.children))};function i(a){a.forEach(n)}return i(e),o}function $v(e,t){let{isLeaf:r}=e;return r!==void 0?r:!t(e)}function Hv(e){return e.children}function Fv(e){return e.key}function zv(){return!1}function Vv(e,t){let{isLeaf:r}=e;return!(r===!1&&!Array.isArray(t(e)))}function jv(e){return e.disabled===!0}function Wv(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function mu(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function gu(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function qv(e,t){let r=new Set(e);return t.forEach(o=>{r.has(o)||r.add(o)}),Array.from(r)}function Uv(e,t){let r=new Set(e);return t.forEach(o=>{r.has(o)&&r.delete(o)}),Array.from(r)}function Kv(e){return e?.type==="group"}function vf(e){let t=new Map;return e.forEach((r,o)=>{t.set(r.key,o)}),r=>{var o;return(o=t.get(r))!==null&&o!==void 0?o:null}}var yf=class extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}};function HT(e,t,r,o){return bu(t.concat(e),r,o,!1)}function FT(e,t){let r=new Set;return e.forEach(o=>{let n=t.treeNodeMap.get(o);if(n!==void 0){let i=n.parent;for(;i!==null&&!(i.disabled||r.has(i.key));)r.add(i.key),i=i.parent}}),r}function zT(e,t,r,o){let n=bu(t,r,o,!1),i=bu(e,r,o,!0),a=FT(e,r),s=[];return n.forEach(l=>{(i.has(l)||a.has(l))&&s.push(l)}),s.forEach(l=>n.delete(l)),n}function xu(e,t){let{checkedKeys:r,keysToCheck:o,keysToUncheck:n,indeterminateKeys:i,cascade:a,leafOnly:s,checkStrategy:l,allowNotLoaded:u}=e;if(!a)return o!==void 0?{checkedKeys:qv(r,o),indeterminateKeys:Array.from(i)}:n!==void 0?{checkedKeys:Uv(r,n),indeterminateKeys:Array.from(i)}:{checkedKeys:Array.from(r),indeterminateKeys:Array.from(i)};let{levelTreeNodeMap:c}=t,d;n!==void 0?d=zT(n,r,t,u):o!==void 0?d=HT(o,r,t,u):d=bu(r,t,u,!1);let p=l==="parent",f=l==="child"||s,h=d,g=new Set,E=Math.max.apply(null,Array.from(c.keys()));for(let b=E;b>=0;b-=1){let I=b===0,P=c.get(b);for(let C of P){if(C.isLeaf)continue;let{key:_,shallowLoaded:M}=C;if(f&&M&&C.children.forEach(N=>{!N.disabled&&!N.isLeaf&&N.shallowLoaded&&h.has(N.key)&&h.delete(N.key)}),C.disabled||!M)continue;let v=!0,T=!1,$=!0;for(let N of C.children){let Z=N.key;if(!N.disabled){if($&&($=!1),h.has(Z))T=!0;else if(g.has(Z)){T=!0,v=!1;break}else if(v=!1,T)break}}v&&!$?(p&&C.children.forEach(N=>{!N.disabled&&h.has(N.key)&&h.delete(N.key)}),h.add(_)):T&&g.add(_),I&&f&&h.has(_)&&h.delete(_)}}return{checkedKeys:Array.from(h),indeterminateKeys:Array.from(g)}}function bu(e,t,r,o){let{treeNodeMap:n,getChildren:i}=t,a=new Set,s=new Set(e);return e.forEach(l=>{let u=n.get(l);u!==void 0&&xf(u,c=>{if(c.disabled)return hu.STOP;let{key:d}=c;if(!a.has(d)&&(a.add(d),s.add(d),Wv(c.rawNode,i))){if(o)return hu.STOP;if(!r)throw new yf}})}),s}function Gv(e,{includeGroup:t=!1,includeSelf:r=!0},o){var n;let i=o.treeNodeMap,a=e==null?null:(n=i.get(e))!==null&&n!==void 0?n:null,s={keyPath:[],treeNodePath:[],treeNode:a};if(a?.ignored)return s.treeNode=null,s;for(;a;)!a.ignored&&(t||!a.isGroup)&&s.treeNodePath.push(a),a=a.parent;return s.treeNodePath.reverse(),r||s.treeNodePath.pop(),s.keyPath=s.treeNodePath.map(l=>l.key),s}function Yv(e){if(e.length===0)return null;let t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function VT(e,t){let r=e.siblings,o=r.length,{index:n}=e;return t?r[(n+1)%o]:n===r.length-1?null:r[n+1]}function Xv(e,t,{loop:r=!1,includeDisabled:o=!1}={}){let n=t==="prev"?jT:VT,i={reverse:t==="prev"},a=!1,s=null;function l(u){if(u!==null){if(u===e){if(!a)a=!0;else if(!e.disabled&&!e.isGroup){s=e;return}}else if((!u.disabled||o)&&!u.ignored&&!u.isGroup){s=u;return}if(u.isGroup){let c=wf(u,i);c!==null?s=c:l(n(u,r))}else{let c=n(u,!1);if(c!==null)l(c);else{let d=WT(u);d?.isGroup?l(n(d,r)):r&&l(n(u,!0))}}}}return l(e),s}function jT(e,t){let r=e.siblings,o=r.length,{index:n}=e;return t?r[(n-1+o)%o]:n===0?null:r[n-1]}function WT(e){return e.parent}function wf(e,t={}){let{reverse:r=!1}=t,{children:o}=e;if(o){let{length:n}=o,i=r?n-1:0,a=r?-1:n,s=r?-1:1;for(let l=i;l!==a;l+=s){let u=o[l];if(!u.disabled&&!u.ignored)if(u.isGroup){let c=wf(u,t);if(c!==null)return c}else return u}}return null}var Zv={getChild(){return this.ignored?null:wf(this)},getParent(){let{parent:e}=this;return e?.isGroup?e.getParent():e},getNext(e={}){return Xv(this,"next",e)},getPrev(e={}){return Xv(this,"prev",e)}};function Ri(e,t){let r=t?new Set(t):void 0,o=[];function n(i){i.forEach(a=>{o.push(a),!(a.isLeaf||!a.children||a.ignored)&&(a.isGroup||r===void 0||r.has(a.key))&&n(a.children)})}return n(e),o}function Qv(e,t){let r=e.key;for(;t;){if(t.key===r)return!0;t=t.parent}return!1}function Jv(e,t,r,o,n,i=null,a=0){let s=[];return e.forEach((l,u)=>{var c;let d=Object.create(o);if(d.rawNode=l,d.siblings=s,d.level=a,d.index=u,d.isFirstChild=u===0,d.isLastChild=u+1===e.length,d.parent=i,!d.ignored){let p=n(l);Array.isArray(p)&&(d.children=Jv(p,t,r,o,n,d,a+1))}s.push(d),t.set(d.key,d),r.has(a)||r.set(a,[]),(c=r.get(a))===null||c===void 0||c.push(d)}),s}function Cf(e,t={}){var r;let o=new Map,n=new Map,{getDisabled:i=jv,getIgnored:a=zv,getIsGroup:s=Kv,getKey:l=Fv}=t,u=(r=t.getChildren)!==null&&r!==void 0?r:Hv,c=t.ignoreEmptyChildren?C=>{let _=u(C);return Array.isArray(_)?_.length?_:null:_}:u,d=Object.assign({get key(){return l(this.rawNode)},get disabled(){return i(this.rawNode)},get isGroup(){return s(this.rawNode)},get isLeaf(){return $v(this.rawNode,c)},get shallowLoaded(){return Vv(this.rawNode,c)},get ignored(){return a(this.rawNode)},contains(C){return Qv(this,C)}},Zv),p=Jv(e,o,n,d,c);function f(C){if(C==null)return null;let _=o.get(C);return _&&!_.isGroup&&!_.ignored?_:null}function h(C){if(C==null)return null;let _=o.get(C);return _&&!_.ignored?_:null}function g(C,_){let M=h(C);return M?M.getPrev(_):null}function E(C,_){let M=h(C);return M?M.getNext(_):null}function b(C){let _=h(C);return _?_.getParent():null}function I(C){let _=h(C);return _?_.getChild():null}let P={treeNodes:p,treeNodeMap:o,levelTreeNodeMap:n,maxLevel:Math.max(...n.keys()),getChildren:c,getFlattenedNodes(C){return Ri(p,C)},getNode:f,getPrev:g,getNext:E,getParent:b,getChild:I,getFirstAvailableNode(){return Yv(p)},getPath(C,_={}){return Gv(C,_,P)},getCheckedKeys(C,_={}){let{cascade:M=!0,leafOnly:v=!1,checkStrategy:T="all",allowNotLoaded:$=!1}=_;return xu({checkedKeys:mu(C),indeterminateKeys:gu(C),cascade:M,leafOnly:v,checkStrategy:T,allowNotLoaded:$},P)},check(C,_,M={}){let{cascade:v=!0,leafOnly:T=!1,checkStrategy:$="all",allowNotLoaded:N=!1}=M;return xu({checkedKeys:mu(_),indeterminateKeys:gu(_),keysToCheck:C==null?[]:bf(C),cascade:v,leafOnly:T,checkStrategy:$,allowNotLoaded:N},P)},uncheck(C,_,M={}){let{cascade:v=!0,leafOnly:T=!1,checkStrategy:$="all",allowNotLoaded:N=!1}=M;return xu({checkedKeys:mu(_),indeterminateKeys:gu(_),keysToUncheck:C==null?[]:bf(C),cascade:v,leafOnly:T,checkStrategy:$,allowNotLoaded:N},P)},getNonLeafKeys(C={}){return Bv(p,C)}};return P}var we={neutralBase:"#000",neutralInvertBase:"#fff",neutralTextBase:"#fff",neutralPopover:"rgb(72, 72, 78)",neutralCard:"rgb(24, 24, 28)",neutralModal:"rgb(44, 44, 50)",neutralBody:"rgb(16, 16, 20)",alpha1:"0.9",alpha2:"0.82",alpha3:"0.52",alpha4:"0.38",alpha5:"0.28",alphaClose:"0.52",alphaDisabled:"0.38",alphaDisabledInput:"0.06",alphaPending:"0.09",alphaTablePending:"0.06",alphaTableStriped:"0.05",alphaPressed:"0.05",alphaAvatar:"0.18",alphaRail:"0.2",alphaProgressRail:"0.12",alphaBorder:"0.24",alphaDivider:"0.09",alphaInput:"0.1",alphaAction:"0.06",alphaTab:"0.04",alphaScrollbar:"0.2",alphaScrollbarHover:"0.3",alphaCode:"0.12",alphaTag:"0",primaryHover:"#7fe7c4",primaryDefault:"#63e2b7",primaryActive:"#5acea7",primarySuppl:"rgb(42, 148, 125)",infoHover:"#8acbec",infoDefault:"#70c0e8",infoActive:"#66afd3",infoSuppl:"rgb(56, 137, 197)",errorHover:"#e98b8b",errorDefault:"#e88080",errorActive:"#e57272",errorSuppl:"rgb(208, 58, 82)",warningHover:"#f5d599",warningDefault:"#f2c97d",warningActive:"#e6c260",warningSuppl:"rgb(240, 138, 0)",successHover:"#7fe7c4",successDefault:"#63e2b7",successActive:"#5acea7",successSuppl:"rgb(42, 148, 125)"},qT=Or(we.neutralBase),e1=Or(we.neutralInvertBase),UT="rgba("+e1.slice(0,3).join(", ")+", ";function rt(e){return UT+String(e)+")"}function KT(e){let t=Array.from(e1);return t[3]=Number(e),Se(qT,t)}var GT=Object.assign(Object.assign({name:"common"},ar),{baseColor:we.neutralBase,primaryColor:we.primaryDefault,primaryColorHover:we.primaryHover,primaryColorPressed:we.primaryActive,primaryColorSuppl:we.primarySuppl,infoColor:we.infoDefault,infoColorHover:we.infoHover,infoColorPressed:we.infoActive,infoColorSuppl:we.infoSuppl,successColor:we.successDefault,successColorHover:we.successHover,successColorPressed:we.successActive,successColorSuppl:we.successSuppl,warningColor:we.warningDefault,warningColorHover:we.warningHover,warningColorPressed:we.warningActive,warningColorSuppl:we.warningSuppl,errorColor:we.errorDefault,errorColorHover:we.errorHover,errorColorPressed:we.errorActive,errorColorSuppl:we.errorSuppl,textColorBase:we.neutralTextBase,textColor1:rt(we.alpha1),textColor2:rt(we.alpha2),textColor3:rt(we.alpha3),textColorDisabled:rt(we.alpha4),placeholderColor:rt(we.alpha4),placeholderColorDisabled:rt(we.alpha5),iconColor:rt(we.alpha4),iconColorDisabled:rt(we.alpha5),iconColorHover:rt(Number(we.alpha4)*1.25),iconColorPressed:rt(Number(we.alpha4)*.8),opacity1:we.alpha1,opacity2:we.alpha2,opacity3:we.alpha3,opacity4:we.alpha4,opacity5:we.alpha5,dividerColor:rt(we.alphaDivider),borderColor:rt(we.alphaBorder),closeColorHover:rt(Number(we.alphaClose)*1.25),closeColor:rt(Number(we.alphaClose)),closeColorPressed:rt(Number(we.alphaClose)*.8),closeColorDisabled:rt(we.alpha4),clearColor:rt(we.alpha4),clearColorHover:Bo(rt(we.alpha4),{alpha:1.25}),clearColorPressed:Bo(rt(we.alpha4),{alpha:.8}),scrollbarColor:rt(we.alphaScrollbar),scrollbarColorHover:rt(we.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:rt(we.alphaProgressRail),railColor:rt(we.alphaRail),popoverColor:we.neutralPopover,tableColor:we.neutralCard,cardColor:we.neutralCard,modalColor:we.neutralModal,bodyColor:we.neutralBody,tagColor:KT(we.alphaTag),avatarColor:rt(we.alphaAvatar),invertedColor:we.neutralBase,inputColor:rt(we.alphaInput),codeColor:rt(we.alphaCode),tabColor:rt(we.alphaTab),actionColor:rt(we.alphaAction),tableHeaderColor:rt(we.alphaAction),hoverColor:rt(we.alphaPending),tableColorHover:rt(we.alphaTablePending),tableColorStriped:rt(we.alphaTableStriped),pressedColor:rt(we.alphaPressed),opacityDisabled:we.alphaDisabled,inputColorDisabled:rt(we.alphaDisabledInput),buttonColor2:"rgba(255, 255, 255, .06)",buttonColor2Hover:"rgba(255, 255, 255, .09)",buttonColor2Pressed:"rgba(255, 255, 255, .05)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .24), 0 3px 6px 0 rgba(0, 0, 0, .18), 0 5px 12px 4px rgba(0, 0, 0, .12)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .24), 0 6px 12px 0 rgba(0, 0, 0, .16), 0 9px 18px 8px rgba(0, 0, 0, .10)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),L=GT;var Le={neutralBase:"#FFF",neutralInvertBase:"#000",neutralTextBase:"#000",neutralPopover:"#fff",neutralCard:"#fff",neutralModal:"#fff",neutralBody:"#fff",alpha1:"0.82",alpha2:"0.72",alpha3:"0.38",alpha4:"0.24",alpha5:"0.18",alphaClose:"0.52",alphaDisabled:"0.5",alphaDisabledInput:"0.02",alphaPending:"0.05",alphaTablePending:"0.02",alphaPressed:"0.07",alphaAvatar:"0.2",alphaRail:"0.14",alphaProgressRail:".08",alphaBorder:"0.12",alphaDivider:"0.06",alphaInput:"0",alphaAction:"0.02",alphaTab:"0.04",alphaScrollbar:"0.25",alphaScrollbarHover:"0.4",alphaCode:"0.05",alphaTag:"0.02",primaryHover:"#36ad6a",primaryDefault:"#18a058",primaryActive:"#0c7a43",primarySuppl:"#36ad6a",infoHover:"#4098fc",infoDefault:"#2080f0",infoActive:"#1060c9",infoSuppl:"#4098fc",errorHover:"#de576d",errorDefault:"#d03050",errorActive:"#ab1f3f",errorSuppl:"#de576d",warningHover:"#fcb040",warningDefault:"#f0a020",warningActive:"#c97c10",warningSuppl:"#fcb040",successHover:"#36ad6a",successDefault:"#18a058",successActive:"#0c7a43",successSuppl:"#36ad6a"},XT=Or(Le.neutralBase),r1=Or(Le.neutralInvertBase),YT="rgba("+r1.slice(0,3).join(", ")+", ";function t1(e){return YT+String(e)+")"}function Jt(e){let t=Array.from(r1);return t[3]=Number(e),Se(XT,t)}var ZT=Object.assign(Object.assign({name:"common"},ar),{baseColor:Le.neutralBase,primaryColor:Le.primaryDefault,primaryColorHover:Le.primaryHover,primaryColorPressed:Le.primaryActive,primaryColorSuppl:Le.primarySuppl,infoColor:Le.infoDefault,infoColorHover:Le.infoHover,infoColorPressed:Le.infoActive,infoColorSuppl:Le.infoSuppl,successColor:Le.successDefault,successColorHover:Le.successHover,successColorPressed:Le.successActive,successColorSuppl:Le.successSuppl,warningColor:Le.warningDefault,warningColorHover:Le.warningHover,warningColorPressed:Le.warningActive,warningColorSuppl:Le.warningSuppl,errorColor:Le.errorDefault,errorColorHover:Le.errorHover,errorColorPressed:Le.errorActive,errorColorSuppl:Le.errorSuppl,textColorBase:Le.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:Jt(Le.alpha4),placeholderColor:Jt(Le.alpha4),placeholderColorDisabled:Jt(Le.alpha5),iconColor:Jt(Le.alpha4),iconColorHover:Bo(Jt(Le.alpha4),{lightness:.75}),iconColorPressed:Bo(Jt(Le.alpha4),{lightness:.9}),iconColorDisabled:Jt(Le.alpha5),opacity1:Le.alpha1,opacity2:Le.alpha2,opacity3:Le.alpha3,opacity4:Le.alpha4,opacity5:Le.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeColor:Jt(Number(Le.alphaClose)),closeColorHover:Jt(Number(Le.alphaClose)*1.25),closeColorPressed:Jt(Number(Le.alphaClose)*.8),closeColorDisabled:Jt(Le.alpha4),clearColor:Jt(Le.alpha4),clearColorHover:Bo(Jt(Le.alpha4),{lightness:.75}),clearColorPressed:Bo(Jt(Le.alpha4),{lightness:.9}),scrollbarColor:t1(Le.alphaScrollbar),scrollbarColorHover:t1(Le.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Jt(Le.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:Le.neutralPopover,tableColor:Le.neutralCard,cardColor:Le.neutralCard,modalColor:Le.neutralModal,bodyColor:Le.neutralBody,tagColor:"rgb(250, 250, 252)",avatarColor:Jt(Le.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:Jt(Le.alphaInput),codeColor:"rgb(244, 244, 248)",tabColor:"rgb(247, 247, 250)",actionColor:"rgb(250, 250, 252)",tableHeaderColor:"rgb(250, 250, 252)",hoverColor:"rgb(243, 243, 245)",tableColorHover:"rgba(0, 0, 100, 0.03)",tableColorStriped:"rgba(0, 0, 100, 0.02)",pressedColor:"rgb(237, 237, 239)",opacityDisabled:Le.alphaDisabled,inputColorDisabled:"rgb(250, 250, 252)",buttonColor2:"rgba(46, 51, 56, .05)",buttonColor2Hover:"rgba(46, 51, 56, .09)",buttonColor2Pressed:"rgba(46, 51, 56, .13)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),ke=ZT;var o1={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"};var kf=e=>{let{textColorDisabled:t,iconColor:r,textColor2:o,fontSizeSmall:n,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s}=e;return Object.assign(Object.assign({},o1),{fontSizeSmall:n,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s,textColor:t,iconColor:r,extraTextColor:o})},QT={name:"Empty",common:ke,self:kf},_r=QT;var JT={name:"Empty",common:L,self:kf},Tr=JT;var n1=U("empty",`
display: flex;
flex-direction: column;
align-items: center;
font-size: var(--n-font-size);
`,[te("icon",`
width: var(--n-icon-size);
height: var(--n-icon-size);
font-size: var(--n-icon-size);
line-height: var(--n-icon-size);
color: var(--n-icon-color);
transition:
color .3s var(--n-bezier);
`,[ee("+",[te("description",`
margin-top: 8px;
`)])]),te("description",`
transition: color .3s var(--n-bezier);
color: var(--n-text-color);
`),te("extra",`
text-align: center;
transition: color .3s var(--n-bezier);
margin-top: 12px;
color: var(--n-extra-text-color);
`)]);var e5=Object.assign(Object.assign({},Nt.props),{description:String,showDescription:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},size:{type:String,default:"medium"},renderIcon:Function}),Sf=me({name:"Empty",props:e5,setup(e){let{mergedClsPrefixRef:t,inlineThemeDisabled:r}=Wt(e),o=Nt("Empty","-empty",n1,_r,e,t),{localeRef:n}=Oi("Empty"),i=De(dr,null),a=F(()=>{var c,d,p;return(c=e.description)!==null&&c!==void 0?c:(p=(d=i?.mergedComponentPropsRef.value)===null||d===void 0?void 0:d.Empty)===null||p===void 0?void 0:p.description}),s=F(()=>{var c,d;return((d=(c=i?.mergedComponentPropsRef.value)===null||c===void 0?void 0:c.Empty)===null||d===void 0?void 0:d.renderIcon)||(()=>x(pf,null))}),l=F(()=>{let{size:c}=e,{common:{cubicBezierEaseInOut:d},self:{[He("iconSize",c)]:p,[He("fontSize",c)]:f,textColor:h,iconColor:g,extraTextColor:E}}=o.value;return{"--n-icon-size":p,"--n-font-size":f,"--n-bezier":d,"--n-text-color":h,"--n-icon-color":g,"--n-extra-text-color":E}}),u=r?sr("empty",F(()=>{let c="",{size:d}=e;return c+=d[0],c}),l,e):void 0;return{mergedClsPrefix:t,mergedRenderIcon:s,localizedDescription:F(()=>a.value||n.value.description),cssVars:r?void 0:l,themeClass:u?.themeClass,onRender:u?.onRender}},render(){let{$slots:e,mergedClsPrefix:t,onRender:r}=this;return r?.(),x("div",{class:[`${t}-empty`,this.themeClass],style:this.cssVars},this.showIcon?x("div",{class:`${t}-empty__icon`},e.icon?e.icon():x(Fr,{clsPrefix:t},{default:this.mergedRenderIcon})):null,this.showDescription?x("div",{class:`${t}-empty__description`},e.default?e.default():this.localizedDescription):null,e.extra?x("div",{class:`${t}-empty__extra`},e.extra()):null)}});var Ef=e=>{let{scrollbarColor:t,scrollbarColorHover:r}=e;return{color:t,colorHover:r}},t5={name:"Scrollbar",common:ke,self:Ef},Pt=t5;var r5={name:"Scrollbar",common:L,self:Ef},bt=r5;var{cubicBezierEaseInOut:i1}=ar;function a1({name:e="fade-in",enterDuration:t="0.2s",leaveDuration:r="0.2s",enterCubicBezier:o=i1,leaveCubicBezier:n=i1}={}){return[ee(`&.${e}-transition-enter-active`,{transition:`all ${t} ${o}!important`}),ee(`&.${e}-transition-leave-active`,{transition:`all ${r} ${n}!important`}),ee(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0}),ee(`&.${e}-transition-leave-from, &.${e}-transition-enter-to`,{opacity:1})]}var s1=U("scrollbar",`
overflow: hidden;
position: relative;
z-index: auto;
height: 100%;
width: 100%;
`,[ee(">",[U("scrollbar-container",`
width: 100%;
overflow: scroll;
height: 100%;
max-height: inherit;
scrollbar-width: none;
`,[ee("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",`
width: 0;
height: 0;
display: none;
`),ee(">",[U("scrollbar-content",`
box-sizing: border-box;
min-width: 100%;
`)])]),U("scrollbar-rail",`
position: absolute;
pointer-events: none;
user-select: none;
`,[Te("horizontal",`
left: 2px;
right: 2px;
bottom: 4px;
height: var(--n-scrollbar-height);
`,[ee(">",[te("scrollbar",`
height: var(--n-scrollbar-height);
border-radius: var(--n-scrollbar-border-radius);
right: 0;
`)])]),Te("vertical",`
right: 4px;
top: 2px;
bottom: 2px;
width: var(--n-scrollbar-width);
`,[ee(">",[te("scrollbar",`
width: var(--n-scrollbar-width);
border-radius: var(--n-scrollbar-border-radius);
bottom: 0;
`)])]),Te("disabled",[ee(">",[te("scrollbar",{pointerEvents:"none"})])]),ee(">",[te("scrollbar",`
position: absolute;
cursor: pointer;
pointer-events: all;
background-color: var(--n-scrollbar-color);
transition: background-color .2s var(--n-scrollbar-bezier);
`,[a1(),ee("&:hover",{backgroundColor:"var(--n-scrollbar-color-hover)"})])])])])]);var o5=Object.assign(Object.assign({},Nt.props),{size:{type:Number,default:5},duration:{type:Number,default:0},scrollable:{type:Boolean,default:!0},xScrollable:Boolean,useUnifiedContainer:Boolean,triggerDisplayManually:Boolean,container:Function,content:Function,containerClass:String,containerStyle:[String,Object],contentClass:String,contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function}),l1=me({name:"Scrollbar",props:o5,inheritAttrs:!1,setup(e){let{mergedClsPrefixRef:t,inlineThemeDisabled:r}=Wt(e),o=G(null),n=G(null),i=G(null),a=G(null),s=G(null),l=G(null),u=G(null),c=G(null),d=G(null),p=G(null),f=G(null),h=G(0),g=G(0),E=G(!1),b=G(!1),I=!1,P=!1,C,_,M=0,v=0,T=0,$=0,N=Ll(),Z=F(()=>{let{value:Y}=c,{value:de}=l,{value:Ce}=p;return Y===null||de===null||Ce===null?0:Math.min(Y,Ce*Y/de+e.size*1.5)}),R=F(()=>`${Z.value}px`),z=F(()=>{let{value:Y}=d,{value:de}=u,{value:Ce}=f;return Y===null||de===null||Ce===null?0:Ce*Y/de+e.size*1.5}),re=F(()=>`${z.value}px`),ve=F(()=>{let{value:Y}=c,{value:de}=h,{value:Ce}=l,{value:qe}=p;if(Y===null||Ce===null||qe===null)return 0;{let st=Ce-Y;return st?de/st*(qe-Z.value):0}}),ce=F(()=>`${ve.value}px`),le=F(()=>{let{value:Y}=d,{value:de}=g,{value:Ce}=u,{value:qe}=f;if(Y===null||Ce===null||qe===null)return 0;{let st=Ce-Y;return st?de/st*(qe-z.value):0}}),be=F(()=>`${le.value}px`),Ae=F(()=>{let{value:Y}=c,{value:de}=l;return Y!==null&&de!==null&&de>Y}),ze=F(()=>{let{value:Y}=d,{value:de}=u;return Y!==null&&de!==null&&de>Y}),Fe=F(()=>{let{container:Y}=e;return Y?Y():n.value}),at=F(()=>{let{content:Y}=e;return Y?Y():i.value}),Ke=ne,Xe=Y=>{let{onResize:de}=e;de&&de(Y),ne()},ot=(Y,de)=>{if(!e.scrollable)return;if(typeof Y=="number"){Je(Y,de??0,0,!1,"auto");return}let{left:Ce,top:qe,index:st,elSize:Ze,position:lt,behavior:et,el:Vt,debounce:Bt=!0}=Y;(Ce!==void 0||qe!==void 0)&&Je(Ce??0,qe??0,0,!1,et),Vt!==void 0?Je(0,Vt.offsetTop,Vt.offsetHeight,Bt,et):st!==void 0&&Ze!==void 0?Je(0,st*Ze,Ze,Bt,et):lt==="bottom"?Je(0,Number.MAX_SAFE_INTEGER,0,!1,et):lt==="top"&&Je(0,0,0,!1,et)},Ge=(Y,de)=>{if(!e.scrollable)return;let{value:Ce}=Fe;Ce&&(typeof Y=="object"?Ce.scrollBy(Y):Ce.scrollBy(Y,de||0))};function Je(Y,de,Ce,qe,st){let{value:Ze}=Fe;if(Ze){if(qe){let{scrollTop:lt,offsetHeight:et}=Ze;if(de>lt){de+Ce<=lt+et||Ze.scrollTo({left:Y,top:de+Ce-et,behavior:st});return}}Ze.scrollTo({left:Y,top:de,behavior:st})}}function pt(){m(),w(),ne()}function $e(){ht()}function ht(){_t(),zt()}function _t(){_!==void 0&&window.clearTimeout(_),_=window.setTimeout(()=>{b.value=!1},e.duration)}function zt(){C!==void 0&&window.clearTimeout(C),C=window.setTimeout(()=>{E.value=!1},e.duration)}function m(){C!==void 0&&window.clearTimeout(C),E.value=!0}function w(){_!==void 0&&window.clearTimeout(_),b.value=!0}function H(Y){let{onScroll:de}=e;de&&de(Y),q()}function q(){let{value:Y}=Fe;Y&&(h.value=Y.scrollTop,g.value=Y.scrollLeft)}function K(){let{value:Y}=at;Y&&(l.value=Y.offsetHeight,u.value=Y.offsetWidth);let{value:de}=Fe;de&&(c.value=de.offsetHeight,d.value=de.offsetWidth);let{value:Ce}=s,{value:qe}=a;Ce&&(f.value=Ce.offsetWidth),qe&&(p.value=qe.offsetHeight)}function ae(){let{value:Y}=Fe;Y&&(h.value=Y.scrollTop,g.value=Y.scrollLeft,c.value=Y.offsetHeight,d.value=Y.offsetWidth,l.value=Y.scrollHeight,u.value=Y.scrollWidth);let{value:de}=s,{value:Ce}=a;de&&(f.value=de.offsetWidth),Ce&&(p.value=Ce.offsetHeight)}function ne(){e.scrollable&&(e.useUnifiedContainer?ae():(K(),q()))}function V(Y){var de;return!(!((de=o.value)===null||de===void 0)&&de.contains(Y.target))}function J(Y){Y.preventDefault(),Y.stopPropagation(),P=!0,St("mousemove",window,X,!0),St("mouseup",window,A,!0),v=g.value,T=Y.clientX}function X(Y){if(!P)return;C!==void 0&&window.clearTimeout(C),_!==void 0&&window.clearTimeout(_);let{value:de}=d,{value:Ce}=u,{value:qe}=z;if(de===null||Ce===null)return;let Ze=(Y.clientX-T)*(Ce-de)/(de-qe),lt=Ce-de,et=v+Ze;et=Math.min(lt,et),et=Math.max(et,0);let{value:Vt}=Fe;if(Vt){Vt.scrollLeft=et;let{internalOnUpdateScrollLeft:Bt}=e;Bt&&Bt(et)}}function A(Y){Y.preventDefault(),Y.stopPropagation(),kt("mousemove",window,X,!0),kt("mouseup",window,A,!0),P=!1,ne(),V(Y)&&ht()}function O(Y){Y.preventDefault(),Y.stopPropagation(),I=!0,St("mousemove",window,j,!0),St("mouseup",window,se,!0),M=h.value,$=Y.clientY}function j(Y){if(!I)return;C!==void 0&&window.clearTimeout(C),_!==void 0&&window.clearTimeout(_);let{value:de}=c,{value:Ce}=l,{value:qe}=Z;if(de===null||Ce===null)return;let Ze=(Y.clientY-$)*(Ce-de)/(de-qe),lt=Ce-de,et=M+Ze;et=Math.min(lt,et),et=Math.max(et,0);let{value:Vt}=Fe;Vt&&(Vt.scrollTop=et)}function se(Y){Y.preventDefault(),Y.stopPropagation(),kt("mousemove",window,j,!0),kt("mouseup",window,se,!0),I=!1,ne(),V(Y)&&ht()}Ht(()=>{let{value:Y}=ze,{value:de}=Ae,{value:Ce}=t,{value:qe}=s,{value:st}=a;qe&&(Y?qe.classList.remove(`${Ce}-scrollbar-rail--disabled`):qe.classList.add(`${Ce}-scrollbar-rail--disabled`)),st&&(de?st.classList.remove(`${Ce}-scrollbar-rail--disabled`):st.classList.add(`${Ce}-scrollbar-rail--disabled`))}),ut(()=>{e.container||ne()}),Ot(()=>{C!==void 0&&window.clearTimeout(C),_!==void 0&&window.clearTimeout(_),kt("mousemove",window,j,!0),kt("mouseup",window,se,!0)});let xe=Nt("Scrollbar","-scrollbar",s1,Pt,e,t),Ie=F(()=>{let{common:{cubicBezierEaseInOut:Y,scrollbarBorderRadius:de,scrollbarHeight:Ce,scrollbarWidth:qe},self:{color:st,colorHover:Ze}}=xe.value;return{"--n-scrollbar-bezier":Y,"--n-scrollbar-color":st,"--n-scrollbar-color-hover":Ze,"--n-scrollbar-border-radius":de,"--n-scrollbar-width":qe,"--n-scrollbar-height":Ce}}),Oe=r?sr("scrollbar",void 0,Ie,e):void 0;return Object.assign(Object.assign({},{scrollTo:ot,scrollBy:Ge,sync:ne,syncUnifiedContainer:ae,handleMouseEnterWrapper:pt,handleMouseLeaveWrapper:$e}),{mergedClsPrefix:t,containerScrollTop:h,wrapperRef:o,containerRef:n,contentRef:i,yRailRef:a,xRailRef:s,needYBar:Ae,needXBar:ze,yBarSizePx:R,xBarSizePx:re,yBarTopPx:ce,xBarLeftPx:be,isShowXBar:E,isShowYBar:b,isIos:N,handleScroll:H,handleContentResize:Ke,handleContainerResize:Xe,handleYScrollMouseDown:O,handleXScrollMouseDown:J,cssVars:r?void 0:Ie,themeClass:Oe?.themeClass,onRender:Oe?.onRender})},render(){var e;let{$slots:t,mergedClsPrefix:r,triggerDisplayManually:o}=this;if(!this.scrollable)return(e=t.default)===null||e===void 0?void 0:e.call(t);let n=()=>{var i,a;return(i=this.onRender)===null||i===void 0||i.call(this),x("div",va(this.$attrs,{role:"none",ref:"wrapperRef",class:[`${r}-scrollbar`,this.themeClass],style:this.cssVars,onMouseenter:o?void 0:this.handleMouseEnterWrapper,onMouseleave:o?void 0:this.handleMouseLeaveWrapper}),[this.container?(a=t.default)===null||a===void 0?void 0:a.call(t):x("div",{role:"none",ref:"containerRef",class:[`${r}-scrollbar-container`,this.containerClass],style:this.containerStyle,onScroll:this.handleScroll,onWheel:this.onWheel},x(Yr,{onResize:this.handleContentResize},{default:()=>x("div",{ref:"contentRef",role:"none",style:[{width:this.xScrollable?"fit-content":null},this.contentStyle],class:[`${r}-scrollbar-content`,this.contentClass]},t)})),x("div",{ref:"yRailRef",class:`${r}-scrollbar-rail ${r}-scrollbar-rail--vertical`,style:this.horizontalRailStyle,"aria-hidden":!0},x(Gr,{name:"fade-in-transition"},{default:()=>this.needYBar&&this.isShowYBar&&!this.isIos?x("div",{class:`${r}-scrollbar-rail__scrollbar`,style:{height:this.yBarSizePx,top:this.yBarTopPx},onMousedown:this.handleYScrollMouseDown}):null})),x("div",{ref:"xRailRef",class:`${r}-scrollbar-rail ${r}-scrollbar-rail--horizontal`,style:this.verticalRailStyle,"aria-hidden":!0},x(Gr,{name:"fade-in-transition"},{default:()=>this.needXBar&&this.isShowXBar&&!this.isIos?x("div",{class:`${r}-scrollbar-rail__scrollbar`,style:{width:this.xBarSizePx,left:this.xBarLeftPx},onMousedown:this.handleXScrollMouseDown}):null}))])};return this.container?n():x(Yr,{onResize:this.handleContainerResize},{default:n})}}),vu=l1,Xa=l1;var u1={height:"calc(var(--n-option-height) * 7.6)",paddingSmall:"4px 0",paddingMedium:"4px 0",paddingLarge:"4px 0",paddingHuge:"4px 0",optionPaddingSmall:"0 12px",optionPaddingMedium:"0 12px",optionPaddingLarge:"0 12px",optionPaddingHuge:"0 12px",loadingSize:"18px"};var _f=e=>{let{borderRadius:t,popoverColor:r,textColor3:o,dividerColor:n,textColor2:i,primaryColorPressed:a,textColorDisabled:s,primaryColor:l,opacityDisabled:u,hoverColor:c,fontSizeSmall:d,fontSizeMedium:p,fontSizeLarge:f,fontSizeHuge:h,heightSmall:g,heightMedium:E,heightLarge:b,heightHuge:I}=e;return Object.assign(Object.assign({},u1),{optionFontSizeSmall:d,optionFontSizeMedium:p,optionFontSizeLarge:f,optionFontSizeHuge:h,optionHeightSmall:g,optionHeightMedium:E,optionHeightLarge:b,optionHeightHuge:I,borderRadius:t,color:r,groupHeaderTextColor:o,actionDividerColor:n,optionTextColor:i,optionTextColorPressed:a,optionTextColorDisabled:s,optionTextColorActive:l,optionOpacityDisabled:u,optionCheckColor:l,optionColorPending:c,optionColorActive:c,actionTextColor:i,loadingColor:l})},n5={name:"InternalSelectMenu",common:ke,peers:{Scrollbar:Pt,Empty:_r},self:_f},Jn=n5;var i5={name:"InternalSelectMenu",common:L,peers:{Scrollbar:bt,Empty:Tr},self:_f},Zr=i5;var{cubicBezierEaseIn:c1,cubicBezierEaseOut:d1}=ar;function Tf({transformOrigin:e="inherit",duration:t=".2s",enterScale:r=".9",originalTransform:o="",originalTransition:n=""}={}){return[ee("&.fade-in-scale-up-transition-leave-active",{transformOrigin:e,transition:`opacity ${t} ${c1}, transform ${t} ${c1} ${n&&","+n}`}),ee("&.fade-in-scale-up-transition-enter-active",{transformOrigin:e,transition:`opacity ${t} ${d1}, transform ${t} ${d1} ${n&&","+n}`}),ee("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:`${o} scale(${r})`}),ee("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:`${o} scale(1)`})]}var f1=U("base-wave",`
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
border-radius: inherit;
`);var yu=me({name:"BaseWave",props:{clsPrefix:{type:String,required:!0}},setup(e){wo("-base-wave",f1,Be(e,"clsPrefix"));let t=G(null),r=G(!1),o=null;return Ot(()=>{o!==null&&window.clearTimeout(o)}),{active:r,selfRef:t,play(){o!==null&&(window.clearTimeout(o),r.value=!1,o=null),Yt(()=>{var n;(n=t.value)===null||n===void 0||n.offsetHeight,r.value=!0,o=window.setTimeout(()=>{r.value=!1,o=null},1e3)})}}},render(){let{clsPrefix:e}=this;return x("div",{ref:"selfRef","aria-hidden":!0,class:[`${e}-base-wave`,this.active&&`${e}-base-wave--active`]})}});var p1={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"};var Df=e=>{let{boxShadow2:t,popoverColor:r,textColor2:o,borderRadius:n,fontSize:i,dividerColor:a}=e;return Object.assign(Object.assign({},p1),{fontSize:i,borderRadius:n,color:r,dividerColor:a,textColor:o,boxShadow:t})},a5={name:"Popover",common:ke,self:Df},Qr=a5;var s5={name:"Popover",common:L,self:Df},fr=s5;var h1={closeSizeSmall:"14px",closeSizeMedium:"14px",closeSizeLarge:"14px",padding:"0 7px",closeMargin:"0 0 0 3px",closeMarginRtl:"0 3px 0 0"};var l5={name:"Tag",common:L,self(e){let{textColor2:t,primaryColorHover:r,primaryColorPressed:o,primaryColor:n,infoColor:i,successColor:a,warningColor:s,errorColor:l,baseColor:u,borderColor:c,opacityDisabled:d,closeColor:p,closeColorHover:f,closeColorPressed:h,borderRadiusSmall:g,fontSizeTiny:E,fontSizeSmall:b,fontSizeMedium:I,heightTiny:P,heightSmall:C,heightMedium:_}=e;return Object.assign(Object.assign({},h1),{heightSmall:P,heightMedium:C,heightLarge:_,borderRadius:g,opacityDisabled:d,fontSizeSmall:E,fontSizeMedium:b,fontSizeLarge:I,textColorCheckable:t,textColorHoverCheckable:r,textColorPressedCheckable:o,textColorChecked:u,colorCheckable:"#0000",colorHoverCheckable:"#0000",colorPressedCheckable:"#0000",colorChecked:n,colorCheckedHover:r,colorCheckedPressed:o,border:`1px solid ${c}`,textColor:t,color:"#0000",closeColor:p,closeColorHover:f,closeColorPressed:h,borderPrimary:`1px solid ${ie(n,{alpha:.3})}`,textColorPrimary:n,colorPrimary:"#0000",closeColorPrimary:ie(n,{alpha:.7}),closeColorHoverPrimary:ie(n,{alpha:.85}),closeColorPressedPrimary:ie(n,{alpha:.57}),borderInfo:`1px solid ${ie(i,{alpha:.3})}`,textColorInfo:i,colorInfo:"#0000",closeColorInfo:ie(i,{alpha:.7}),closeColorHoverInfo:ie(i,{alpha:.85}),closeColorPressedInfo:ie(i,{alpha:.57}),borderSuccess:`1px solid ${ie(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:"#0000",closeColorSuccess:ie(a,{alpha:.7}),closeColorHoverSuccess:ie(a,{alpha:.85}),closeColorPressedSuccess:ie(a,{alpha:.57}),borderWarning:`1px solid ${ie(s,{alpha:.3})}`,textColorWarning:s,colorWarning:"#0000",closeColorWarning:ie(s,{alpha:.7}),closeColorHoverWarning:ie(s,{alpha:.85}),closeColorPressedWarning:ie(s,{alpha:.57}),borderError:`1px solid ${ie(l,{alpha:.3})}`,textColorError:l,colorError:"#0000",closeColorError:ie(l,{alpha:.7}),closeColorHoverError:ie(l,{alpha:.85}),closeColorPressedError:ie(l,{alpha:.57})})}},Ya=l5;function ei(e,t,r){if(!t)return;let o=Pr(),n=F(()=>{let{value:a}=t;if(!a)return;let s=a[e];if(s)return s}),i=()=>{Ht(()=>{let{value:a}=r,s=`${a}${e}Rtl`;if(Ld(s,o))return;let{value:l}=n;l&&l.style.mount({id:s,head:!0,anchorMetaName:vn,props:{bPrefix:a?`.${a}-`:void 0},ssr:o})})};return o?i():Oo(i),n}var m1=U("base-clear",`
flex-shrink: 0;
height: 1em;
width: 1em;
position: relative;
`,[ee(">",[te("clear",`
font-size: var(--n-clear-size);
cursor: pointer;
color: var(--n-clear-color);
transition: color .3s var(--n-bezier);
`,[ee("&:hover",`
color: var(--n-clear-color-hover)!important;
`),ee("&:active",`
color: var(--n-clear-color-pressed)!important;
`)]),te("placeholder",`
display: flex;
`),te("clear, placeholder",`
position: absolute;
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
`,[Er({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]);var ti=me({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup(e){return wo("-base-clear",m1,Be(e,"clsPrefix")),{handleMouseDown(t){t.preventDefault()}}},render(){let{clsPrefix:e}=this;return x("div",{class:`${e}-base-clear`},x(Hr,null,{default:()=>{var t,r;return this.show?x(Fr,{clsPrefix:e,key:"dismiss",class:`${e}-base-clear__clear`,onClick:this.onClear,onMousedown:this.handleMouseDown,"data-clear":!0},{default:()=>x(gf,null)}):x("div",{key:"icon",class:`${e}-base-clear__placeholder`},(r=(t=this.$slots).default)===null||r===void 0?void 0:r.call(t))}}))}});var wu=me({name:"InternalSelectionSuffix",props:{clsPrefix:{type:String,required:!0},showArrow:{type:Boolean,default:void 0},showClear:{type:Boolean,default:void 0},loading:{type:Boolean,default:!1},onClear:Function},setup(e,{slots:t}){return()=>{let{clsPrefix:r}=e;return x(yn,{clsPrefix:r,class:`${r}-base-suffix`,strokeWidth:24,scale:.85,show:e.loading},{default:()=>e.showArrow?x(ti,{clsPrefix:r,show:e.showClear,onClear:e.onClear},{default:()=>x(Fr,{clsPrefix:r,class:`${r}-base-suffix__arrow`},{default:()=>go(t.default,()=>[x(mf,null)])})}):null})}}});var Cu={paddingSingle:"0 26px 0 12px",paddingMultiple:"3px 26px 0 12px",clearSize:"16px",arrowSize:"16px"};var u5=e=>{let{borderRadius:t,textColor2:r,textColorDisabled:o,inputColor:n,inputColorDisabled:i,primaryColor:a,primaryColorHover:s,warningColor:l,warningColorHover:u,errorColor:c,errorColorHover:d,borderColor:p,iconColor:f,iconColorDisabled:h,clearColor:g,clearColorHover:E,clearColorPressed:b,placeholderColor:I,placeholderColorDisabled:P,fontSizeTiny:C,fontSizeSmall:_,fontSizeMedium:M,fontSizeLarge:v,heightTiny:T,heightSmall:$,heightMedium:N,heightLarge:Z}=e;return Object.assign(Object.assign({},Cu),{fontSizeTiny:C,fontSizeSmall:_,fontSizeMedium:M,fontSizeLarge:v,heightTiny:T,heightSmall:$,heightMedium:N,heightLarge:Z,borderRadius:t,textColor:r,textColorDisabled:o,placeholderColor:I,placeholderColorDisabled:P,color:n,colorDisabled:i,colorActive:n,border:`1px solid ${p}`,borderHover:`1px solid ${s}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${s}`,boxShadowHover:"none",boxShadowActive:`0 0 0 2px ${ie(a,{alpha:.2})}`,boxShadowFocus:`0 0 0 2px ${ie(a,{alpha:.2})}`,caretColor:a,arrowColor:f,arrowColorDisabled:h,loadingColor:a,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${u}`,borderActiveWarning:`1px solid ${l}`,borderFocusWarning:`1px solid ${u}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 0 2px ${ie(l,{alpha:.2})}`,boxShadowFocusWarning:`0 0 0 2px ${ie(l,{alpha:.2})}`,colorActiveWarning:n,caretColorWarning:l,borderError:`1px solid ${c}`,borderHoverError:`1px solid ${d}`,borderActiveError:`1px solid ${c}`,borderFocusError:`1px solid ${d}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 0 2px ${ie(c,{alpha:.2})}`,boxShadowFocusError:`0 0 0 2px ${ie(c,{alpha:.2})}`,colorActiveError:n,caretColorError:c,clearColor:g,clearColorHover:E,clearColorPressed:b})},c5={name:"InternalSelection",common:ke,peers:{Popover:Qr},self:u5},Za=c5;var d5={name:"InternalSelection",common:L,peers:{Popover:fr},self(e){let{borderRadius:t,textColor2:r,textColorDisabled:o,inputColor:n,inputColorDisabled:i,primaryColor:a,primaryColorHover:s,warningColor:l,warningColorHover:u,errorColor:c,errorColorHover:d,iconColor:p,iconColorDisabled:f,clearColor:h,clearColorHover:g,clearColorPressed:E,placeholderColor:b,placeholderColorDisabled:I,fontSizeTiny:P,fontSizeSmall:C,fontSizeMedium:_,fontSizeLarge:M,heightTiny:v,heightSmall:T,heightMedium:$,heightLarge:N}=e;return Object.assign(Object.assign({},Cu),{fontSizeTiny:P,fontSizeSmall:C,fontSizeMedium:_,fontSizeLarge:M,heightTiny:v,heightSmall:T,heightMedium:$,heightLarge:N,borderRadius:t,textColor:r,textColorDisabled:o,placeholderColor:b,placeholderColorDisabled:I,color:n,colorDisabled:i,colorActive:ie(a,{alpha:.1}),border:"1px solid #0000",borderHover:`1px solid ${s}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${s}`,boxShadowHover:"none",boxShadowActive:`0 0 8px 0 ${ie(a,{alpha:.4})}`,boxShadowFocus:`0 0 8px 0 ${ie(a,{alpha:.4})}`,caretColor:a,arrowColor:p,arrowColorDisabled:f,loadingColor:a,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${u}`,borderActiveWarning:`1px solid ${l}`,borderFocusWarning:`1px solid ${u}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 8px 0 ${ie(l,{alpha:.4})}`,boxShadowFocusWarning:`0 0 8px 0 ${ie(l,{alpha:.4})}`,colorActiveWarning:ie(l,{alpha:.1}),caretColorWarning:l,borderError:`1px solid ${c}`,borderHoverError:`1px solid ${d}`,borderActiveError:`1px solid ${c}`,borderFocusError:`1px solid ${d}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 8px 0 ${ie(c,{alpha:.4})}`,boxShadowFocusError:`0 0 8px 0 ${ie(c,{alpha:.4})}`,colorActiveError:ie(c,{alpha:.1}),caretColorError:c,clearColor:h,clearColorHover:g,clearColorPressed:E})}},ri=d5;var{cubicBezierEaseInOut:wn}=ar;function g1({duration:e=".2s",delay:t=".1s"}={}){return[ee("&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to",{opacity:1}),ee("&.fade-in-width-expand-transition-leave-to, &.fade-in-width-expand-transition-enter-from",`
opacity: 0!important;
margin-left: 0!important;
margin-right: 0!important;
`),ee("&.fade-in-width-expand-transition-leave-active",`
overflow: hidden;
transition:
opacity ${e} ${wn},
max-width ${e} ${wn} ${t},
margin-left ${e} ${wn} ${t},
margin-right ${e} ${wn} ${t};
`),ee("&.fade-in-width-expand-transition-enter-active",`
overflow: hidden;
transition:
opacity ${e} ${wn} ${t},
max-width ${e} ${wn},
margin-left ${e} ${wn},
margin-right ${e} ${wn};
`)]}var b1={iconMargin:"12px 8px 0 12px",iconMarginRtl:"12px 12px 0 8px",iconSize:"26px",closeSize:"16px",closeMargin:"14px 16px 0 0",closeMarginRtl:"14px 0 0 16px",padding:"15px"};var f5={name:"Alert",common:L,self(e){let{lineHeight:t,borderRadius:r,fontWeightStrong:o,dividerColor:n,inputColor:i,textColor1:a,textColor2:s,closeColor:l,closeColorHover:u,closeColorPressed:c,infoColorSuppl:d,successColorSuppl:p,warningColorSuppl:f,errorColorSuppl:h,fontSize:g}=e;return Object.assign(Object.assign({},b1),{fontSize:g,lineHeight:t,titleFontWeight:o,borderRadius:r,border:`1px solid ${n}`,color:i,titleTextColor:a,iconColor:s,contentTextColor:s,closeColor:l,closeColorHover:u,closeColorPressed:c,borderInfo:`1px solid ${ie(d,{alpha:.35})}`,colorInfo:ie(d,{alpha:.25}),titleTextColorInfo:a,iconColorInfo:d,contentTextColorInfo:s,closeColorInfo:l,closeColorHoverInfo:u,closeColorPressedInfo:c,borderSuccess:`1px solid ${ie(p,{alpha:.35})}`,colorSuccess:ie(p,{alpha:.25}),titleTextColorSuccess:a,iconColorSuccess:p,contentTextColorSuccess:s,closeColorSuccess:l,closeColorHoverSuccess:u,closeColorPressedSuccess:c,borderWarning:`1px solid ${ie(f,{alpha:.35})}`,colorWarning:ie(f,{alpha:.25}),titleTextColorWarning:a,iconColorWarning:f,contentTextColorWarning:s,closeColorWarning:l,closeColorHoverWarning:u,closeColorPressedWarning:c,borderError:`1px solid ${ie(h,{alpha:.35})}`,colorError:ie(h,{alpha:.25}),titleTextColorError:a,iconColorError:h,contentTextColorError:s,closeColorError:l,closeColorHoverError:u,closeColorPressedError:c})}},Nf=f5;var{cubicBezierEaseInOut:Co,cubicBezierEaseOut:p5,cubicBezierEaseIn:h5}=ar;function Af({overflow:e="hidden",duration:t=".3s",originalTransition:r="",leavingDelay:o="0s",foldPadding:n=!1,enterToProps:i=void 0,leaveToProps:a=void 0,reverse:s=!1}={}){let l=s?"leave":"enter",u=s?"enter":"leave";return[ee(`&.fade-in-height-expand-transition-${u}-from,
&.fade-in-height-expand-transition-${l}-to`,Object.assign(Object.assign({},i),{opacity:1})),ee(`&.fade-in-height-expand-transition-${u}-to,
&.fade-in-height-expand-transition-${l}-from`,Object.assign(Object.assign({},a),{opacity:0,marginTop:"0 !important",marginBottom:"0 !important",paddingTop:n?"0 !important":void 0,paddingBottom:n?"0 !important":void 0})),ee(`&.fade-in-height-expand-transition-${u}-active`,`
overflow: ${e};
transition:
max-height ${t} ${Co} ${o},
opacity ${t} ${p5} ${o},
margin-top ${t} ${Co} ${o},
margin-bottom ${t} ${Co} ${o},
padding-top ${t} ${Co} ${o},
padding-bottom ${t} ${Co} ${o}
${r?","+r:""}
`),ee(`&.fade-in-height-expand-transition-${l}-active`,`
overflow: ${e};
transition:
max-height ${t} ${Co},
opacity ${t} ${h5},
margin-top ${t} ${Co},
margin-bottom ${t} ${Co},
padding-top ${t} ${Co},
padding-bottom ${t} ${Co}
${r?","+r:""}
`)]}var x1={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"};var v1=e=>{let{borderRadius:t,railColor:r,primaryColor:o,primaryColorHover:n,primaryColorPressed:i,textColor2:a}=e;return Object.assign(Object.assign({},x1),{borderRadius:t,railColor:r,railColorActive:o,linkColor:ie(o,{alpha:.15}),linkTextColor:a,linkTextColorHover:n,linkTextColorPressed:i,linkTextColorActive:o})};var m5={name:"Anchor",common:L,self:v1},If=m5;var ku={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"};var g5={name:"Input",common:L,self(e){let{textColor2:t,textColor3:r,textColorDisabled:o,primaryColor:n,primaryColorHover:i,inputColor:a,inputColorDisabled:s,warningColor:l,warningColorHover:u,errorColor:c,errorColorHover:d,borderRadius:p,lineHeight:f,fontSizeTiny:h,fontSizeSmall:g,fontSizeMedium:E,fontSizeLarge:b,heightTiny:I,heightSmall:P,heightMedium:C,heightLarge:_,clearColor:M,clearColorHover:v,clearColorPressed:T,placeholderColor:$,placeholderColorDisabled:N,iconColor:Z,iconColorDisabled:R,iconColorHover:z,iconColorPressed:re}=e;return Object.assign(Object.assign({},ku),{countTextColor:r,heightTiny:I,heightSmall:P,heightMedium:C,heightLarge:_,fontSizeTiny:h,fontSizeSmall:g,fontSizeMedium:E,fontSizeLarge:b,lineHeight:f,lineHeightTextarea:f,borderRadius:p,iconSize:"16px",groupLabelColor:a,textColor:t,textColorDisabled:o,textDecorationColor:t,groupLabelTextColor:t,caretColor:n,placeholderColor:$,placeholderColorDisabled:N,color:a,colorDisabled:s,colorFocus:ie(n,{alpha:.1}),groupLabelBorder:"1px solid #0000",border:"1px solid #0000",borderHover:`1px solid ${i}`,borderDisabled:"1px solid #0000",borderFocus:`1px solid ${i}`,boxShadowFocus:`0 0 8px 0 ${ie(n,{alpha:.3})}`,loadingColor:n,loadingColorWarning:l,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${u}`,colorFocusWarning:ie(l,{alpha:.1}),borderFocusWarning:`1px solid ${u}`,boxShadowFocusWarning:`0 0 8px 0 ${ie(l,{alpha:.3})}`,caretColorWarning:l,loadingColorError:c,borderError:`1px solid ${c}`,borderHoverError:`1px solid ${d}`,colorFocusError:ie(c,{alpha:.1}),borderFocusError:`1px solid ${d}`,boxShadowFocusError:`0 0 8px 0 ${ie(c,{alpha:.3})}`,caretColorError:c,clearColor:M,clearColorHover:v,clearColorPressed:T,iconColor:Z,iconColorDisabled:R,iconColorHover:z,iconColorPressed:re,suffixTextColor:t})}},Et=g5;var b5=e=>{let{textColor2:t,textColor3:r,textColorDisabled:o,primaryColor:n,primaryColorHover:i,inputColor:a,inputColorDisabled:s,borderColor:l,warningColor:u,warningColorHover:c,errorColor:d,errorColorHover:p,borderRadius:f,lineHeight:h,fontSizeTiny:g,fontSizeSmall:E,fontSizeMedium:b,fontSizeLarge:I,heightTiny:P,heightSmall:C,heightMedium:_,heightLarge:M,actionColor:v,clearColor:T,clearColorHover:$,clearColorPressed:N,placeholderColor:Z,placeholderColorDisabled:R,iconColor:z,iconColorDisabled:re,iconColorHover:ve,iconColorPressed:ce}=e;return Object.assign(Object.assign({},ku),{countTextColor:r,heightTiny:P,heightSmall:C,heightMedium:_,heightLarge:M,fontSizeTiny:g,fontSizeSmall:E,fontSizeMedium:b,fontSizeLarge:I,lineHeight:h,lineHeightTextarea:h,borderRadius:f,iconSize:"16px",groupLabelColor:v,groupLabelTextColor:t,textColor:t,textColorDisabled:o,textDecorationColor:t,caretColor:n,placeholderColor:Z,placeholderColorDisabled:R,color:a,colorDisabled:s,colorFocus:a,groupLabelBorder:`1px solid ${l}`,border:`1px solid ${l}`,borderHover:`1px solid ${i}`,borderDisabled:`1px solid ${l}`,borderFocus:`1px solid ${i}`,boxShadowFocus:`0 0 0 2px ${ie(n,{alpha:.2})}`,loadingColor:n,loadingColorWarning:u,borderWarning:`1px solid ${u}`,borderHoverWarning:`1px solid ${c}`,colorFocusWarning:a,borderFocusWarning:`1px solid ${c}`,boxShadowFocusWarning:`0 0 0 2px ${ie(u,{alpha:.2})}`,caretColorWarning:u,loadingColorError:d,borderError:`1px solid ${d}`,borderHoverError:`1px solid ${p}`,colorFocusError:a,borderFocusError:`1px solid ${p}`,boxShadowFocusError:`0 0 0 2px ${ie(d,{alpha:.2})}`,caretColorError:d,clearColor:T,clearColorHover:$,clearColorPressed:N,iconColor:z,iconColorDisabled:re,iconColorHover:ve,iconColorPressed:ce,suffixTextColor:t})},x5={name:"Input",common:ke,self:b5},Dr=x5;var Su="n-input";function y1(e){let t=0;for(let r of e)t++;return t}function Qa(e){return["",void 0,null].includes(e)}var Lf=me({name:"InputWordCount",setup(e,{slots:t}){let{mergedValueRef:r,maxlengthRef:o,mergedClsPrefixRef:n}=De(Su),i=F(()=>{let{value:a}=r;return a===null||Array.isArray(a)?0:y1(a)});return()=>{let{value:a}=o,{value:s}=r;return x("span",{class:`${n.value}-input-word-count`},Sl(t.default,{value:s===null||Array.isArray(s)?"":s},()=>[a===void 0?i.value:`${i.value} / ${a}`]))}}});var w1=U("input",`
max-width: 100%;
cursor: text;
line-height: 1.5;
z-index: auto;
outline: none;
box-sizing: border-box;
position: relative;
display: inline-flex;
border-radius: var(--n-border-radius);
background-color: var(--n-color);
transition: background-color .3s var(--n-bezier);
font-size: var(--n-font-size);
--n-padding-vertical: calc((var(--n-height) - 1.5 * var(--n-font-size)) / 2);
`,[te("input, textarea",`
overflow: hidden;
flex-grow: 1;
position: relative;
`),te("input-el, textarea-el, input-mirror, textarea-mirror, separator, placeholder",`
box-sizing: border-box;
font-size: inherit;
line-height: 1.5;
font-family: inherit;
border: none;
outline: none;
background-color: #0000;
text-align: inherit;
transition:
caret-color .3s var(--n-bezier),
color .3s var(--n-bezier),
text-decoration-color .3s var(--n-bezier);
`),te("input-el, textarea-el",`
-webkit-appearance: none;
scrollbar-width: none;
width: 100%;
min-width: 0;
text-decoration-color: var(--n-text-decoration-color);
color: var(--n-text-color);
caret-color: var(--n-caret-color);
background-color: transparent;
`,[ee("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",`
width: 0;
height: 0;
display: none;
`),ee("&::placeholder","color: #0000;"),ee("&:-webkit-autofill ~",[te("placeholder","display: none;")])]),Te("round",[gr("textarea","border-radius: calc(var(--n-height) / 2);")]),te("placeholder",`
pointer-events: none;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
overflow: hidden;
color: var(--n-placeholder-color);
`,[ee("span",`
width: 100%;
display: inline-block;
`)]),Te("textarea",[te("placeholder","overflow: visible;")]),gr("autosize","width: 100%;"),Te("autosize",[te("textarea-el, input-el",`
position: absolute;
top: 0;
left: 0;
height: 100%;
`)]),U("input-wrapper",`
overflow: hidden;
display: inline-flex;
flex-grow: 1;
position: relative;
padding-left: var(--n-padding-left);
padding-right: var(--n-padding-right);
`),te("input-mirror",`
padding: 0;
height: var(--n-height);
overflow: hidden;
visibility: hidden;
position: static;
white-space: nowrap;
pointer-events: none;
`),te("input-el",`
padding: 0;
height: var(--n-height);
line-height: var(--n-height);
`,[ee("+",[te("placeholder",`
display: flex;
align-items: center;
`)])]),gr("textarea",[te("placeholder","white-space: nowrap;")]),te("eye",`
transition: color .3s var(--n-bezier);
`),Te("textarea","width: 100%;",[U("input-word-count",`
position: absolute;
right: var(--n-padding-right);
bottom: var(--n-padding-vertical);
`),Te("resizable",[U("input-wrapper",`
resize: vertical;
min-height: var(--n-height);
`)]),te("textarea",`
position: static;
`),te("textarea-el, textarea-mirror, placeholder",`
height: 100%;
left: var(--n-padding-left);
right: var(--n-padding-right);
padding-left: 0;
padding-right: 0;
padding-top: var(--n-padding-vertical);
padding-bottom: var(--n-padding-vertical);
word-break: break-word;
display: inline-block;
vertical-align: bottom;
box-sizing: border-box;
line-height: var(--n-line-height-textarea);
margin: 0;
resize: none;
white-space: pre-wrap;
`),te("textarea-mirror",`
width: 100%;
pointer-events: none;
overflow: hidden;
visibility: hidden;
position: static;
white-space: pre-wrap;
overflow-wrap: break-word;
`)]),Te("pair",[te("input-el, placeholder","text-align: center;"),te("separator",`
display: flex;
align-items: center;
transition: color .3s var(--n-bezier);
color: var(--n-text-color);
`,[U("icon",`
color: var(--n-icon-color);
`),U("base-icon",`
color: var(--n-icon-color);
`)])]),Te("disabled",`
cursor: not-allowed;
background-color: var(--n-color-disabled);
`,[te("border","border: var(--n-border-disabled);"),te("input-el, textarea-el",`
cursor: not-allowed;
color: var(--n-text-color-disabled);
text-decoration-color: var(--n-text-color-disabled);
`),te("placeholder","color: var(--n-placeholder-color-disabled);"),te("separator","color: var(--n-text-color-disabled);",[U("icon",`
color: var(--n-icon-color-disabled);
`),U("base-icon",`
color: var(--n-icon-color-disabled);
`)]),te("suffix, prefix","color: var(--n-text-color-disabled);",[U("icon",`
color: var(--n-icon-color-disabled);
`),U("internal-icon",`
color: var(--n-icon-color-disabled);
`)])]),gr("disabled",[te("eye",`
display: flex;
align-items: center;
justify-content: center;
color: var(--n-icon-color);
cursor: pointer;
`,[ee("&:hover",`
color: var(--n-icon-color-hover);
`),ee("&:active",`
color: var(--n-icon-color-pressed);
`),U("icon",[ee("&:hover",`
color: var(--n-icon-color-hover);
`),ee("&:active",`
color: var(--n-icon-color-pressed);
`)])]),ee("&:hover",[te("state-border","border: var(--n-border-hover);")]),Te("focus","background-color: var(--n-color-focus);",[te("state-border",`
border: var(--n-border-focus);
box-shadow: var(--n-box-shadow-focus);
`)])]),te("border, state-border",`
box-sizing: border-box;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
pointer-events: none;
border-radius: inherit;
border: var(--n-border);
transition:
box-shadow .3s var(--n-bezier),
border-color .3s var(--n-bezier);
`),te("state-border",`
border-color: #0000;
z-index: 1;
`),te("prefix","margin-right: 4px;"),te("suffix",`
margin-left: 4px;
`),te("suffix, prefix",`
transition: color .3s var(--n-bezier);
flex-wrap: nowrap;
flex-shrink: 0;
line-height: var(--n-height);
white-space: nowrap;
display: inline-flex;
align-items: center;
justify-content: center;
color: var(--n-suffix-text-color);
`,[U("base-loading",`
font-size: var(--n-icon-size);
margin: 0 2px;
color: var(--n-loading-color);
`),U("base-clear",`
font-size: var(--n-icon-size);
`,[te("placeholder",[U("base-icon",`
transition: color .3s var(--n-bezier);
color: var(--n-icon-color);
font-size: var(--n-icon-size);
`)])]),ee(">",[U("icon",`
transition: color .3s var(--n-bezier);
color: var(--n-icon-color);
font-size: var(--n-icon-size);
`)]),U("base-icon",`
font-size: var(--n-icon-size);
`)]),U("input-word-count",`
pointer-events: none;
line-height: 1.5;
font-size: .85em;
color: var(--n-count-text-color);
transition: color .3s var(--n-bezier);
margin-left: 4px;
font-variant: tabular-nums;
`),["warning","error"].map(e=>Te(`${e}-status`,[gr("disabled",[U("base-loading",`
color: var(--n-loading-color-${e})
`),te("input-el, textarea-el",`
caret-color: var(--n-caret-color-${e});
`),te("state-border",`
border: var(--n-border-${e});
`),ee("&:hover",[te("state-border",`
border: var(--n-border-hover-${e});
`)]),ee("&:focus",`
background-color: var(--n-color-focus-${e});
`,[te("state-border",`
box-shadow: var(--n-box-shadow-focus-${e});
border: var(--n-border-focus-${e});
`)]),Te("focus",`
background-color: var(--n-color-focus-${e});
`,[te("state-border",`
box-shadow: var(--n-box-shadow-focus-${e});
border: var(--n-border-focus-${e});
`)])])]))]);var v5=Object.assign(Object.assign({},Nt.props),{bordered:{type:Boolean,default:void 0},type:{type:String,default:"text"},placeholder:[Array,String],defaultValue:{type:[String,Array],default:null},value:[String,Array],disabled:{type:Boolean,default:void 0},size:String,rows:{type:[Number,String],default:3},round:Boolean,minlength:[String,Number],maxlength:[String,Number],clearable:Boolean,autosize:{type:[Boolean,Object],default:!1},pair:Boolean,separator:String,readonly:{type:[String,Boolean],default:!1},passivelyActivated:Boolean,showPasswordOn:String,stateful:{type:Boolean,default:!0},autofocus:Boolean,inputProps:Object,resizable:{type:Boolean,default:!0},showCount:Boolean,loading:{type:Boolean,default:void 0},onMousedown:Function,onKeydown:Function,onKeyup:Function,onInput:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClick:[Function,Array],onChange:[Function,Array],onClear:[Function,Array],status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],textDecoration:[String,Array],attrSize:{type:Number,default:20},onInputBlur:[Function,Array],onInputFocus:[Function,Array],onDeactivate:[Function,Array],onActivate:[Function,Array],onWrapperFocus:[Function,Array],onWrapperBlur:[Function,Array],internalDeactivateOnEnter:Boolean,internalForceFocus:Boolean,internalLoadingBeforeSuffix:Boolean,showPasswordToggle:Boolean}),Eu=me({name:"Input",props:v5,setup(e){let{mergedClsPrefixRef:t,mergedBorderedRef:r,inlineThemeDisabled:o,mergedRtlRef:n}=Wt(e),i=Nt("Input","-input",w1,Dr,e,t),a=G(null),s=G(null),l=G(null),u=G(null),c=G(null),d=G(null),p=G(null),{localeRef:f}=Oi("Input"),h=G(e.defaultValue),g=Be(e,"value"),E=cr(g,h),b=Mr(e),{mergedSizeRef:I,mergedDisabledRef:P,mergedStatusRef:C}=b,_=G(!1),M=G(!1),v=G(!1),T=G(!1),$=null,N=F(()=>{let{placeholder:k,pair:W}=e;return W?Array.isArray(k)?k:k===void 0?["",""]:[k,k]:k===void 0?[f.value.placeholder]:[k]}),Z=F(()=>{let{value:k}=v,{value:W}=E,{value:ye}=N;return!k&&(Qa(W)||Array.isArray(W)&&Qa(W[0]))&&ye[0]}),R=F(()=>{let{value:k}=v,{value:W}=E,{value:ye}=N;return!k&&ye[1]&&(Qa(W)||Array.isArray(W)&&Qa(W[1]))}),z=nt(()=>e.internalForceFocus||_.value),re=nt(()=>{if(P.value||e.readonly||!e.clearable||!z.value&&!M.value)return!1;let{value:k}=E,{value:W}=z;return e.pair?!!(Array.isArray(k)&&(k[0]||k[1]))&&(M.value||W):!!k&&(M.value||W)}),ve=F(()=>{let{showPasswordOn:k}=e;if(k)return k;if(e.showPasswordToggle)return"click"}),ce=G(!1),le=F(()=>{let{textDecoration:k}=e;return k?Array.isArray(k)?k.map(W=>({textDecoration:W})):[{textDecoration:k}]:["",""]}),be=G(void 0),Ae=()=>{var k,W;if(e.type==="textarea"){let{autosize:ye}=e;if(ye&&(be.value=(W=(k=p.value)===null||k===void 0?void 0:k.$el)===null||W===void 0?void 0:W.offsetWidth),!s.value||typeof ye=="boolean")return;let{paddingTop:Ve,paddingBottom:D,lineHeight:B}=window.getComputedStyle(s.value),pe=Number(Ve.slice(0,-2)),ge=Number(D.slice(0,-2)),Pe=Number(B.slice(0,-2)),{value:Gt}=l;if(!Gt)return;if(ye.minRows){let Tt=Math.max(ye.minRows,1),To=`${pe+ge+Pe*Tt}px`;Gt.style.minHeight=To}if(ye.maxRows){let Tt=`${pe+ge+Pe*ye.maxRows}px`;Gt.style.maxHeight=Tt}}},ze=F(()=>{let{maxlength:k}=e;return k===void 0?void 0:Number(k)});ut(()=>{let{value:k}=E;Array.isArray(k)||et(k)});let Fe=Lr().proxy;function at(k){let{onUpdateValue:W,"onUpdate:value":ye,onInput:Ve}=e,{nTriggerFormInput:D}=b;W&&Ne(W,k),ye&&Ne(ye,k),Ve&&Ne(Ve,k),h.value=k,D()}function Ke(k){let{onChange:W}=e,{nTriggerFormChange:ye}=b;W&&Ne(W,k),h.value=k,ye()}function Xe(k){let{onBlur:W}=e,{nTriggerFormBlur:ye}=b;W&&Ne(W,k),ye()}function ot(k){let{onFocus:W}=e,{nTriggerFormFocus:ye}=b;W&&Ne(W,k),ye()}function Ge(k){let{onClear:W}=e;W&&Ne(W,k)}function Je(k){let{onInputBlur:W}=e;W&&Ne(W,k)}function pt(k){let{onInputFocus:W}=e;W&&Ne(W,k)}function $e(){let{onDeactivate:k}=e;k&&Ne(k)}function ht(){let{onActivate:k}=e;k&&Ne(k)}function _t(k){let{onClick:W}=e;W&&Ne(W,k)}function zt(k){let{onWrapperFocus:W}=e;W&&Ne(W,k)}function m(k){let{onWrapperBlur:W}=e;W&&Ne(W,k)}function w(){v.value=!0}function H(k){v.value=!1,k.target===d.value?q(k,1):q(k,0)}function q(k,W=0,ye="input"){let Ve=k.target.value;if(et(Ve),e.type==="textarea"){let{value:B}=p;B&&B.syncUnifiedContainer()}if($=Ve,v.value)return;let D=Ve;if(!e.pair)ye==="input"?at(D):Ke(D);else{let{value:B}=E;Array.isArray(B)?B=[...B]:B=["",""],B[W]=D,ye==="input"?at(B):Ke(B)}Fe.$forceUpdate()}function K(k){Je(k),k.relatedTarget===a.value&&$e(),k.relatedTarget!==null&&(k.relatedTarget===c.value||k.relatedTarget===d.value||k.relatedTarget===s.value)||(T.value=!1),J(k,"blur")}function ae(k){pt(k),_.value=!0,T.value=!0,ht(),J(k,"focus")}function ne(k){e.passivelyActivated&&(m(k),J(k,"blur"))}function V(k){e.passivelyActivated&&(_.value=!0,zt(k),J(k,"focus"))}function J(k,W){k.relatedTarget!==null&&(k.relatedTarget===c.value||k.relatedTarget===d.value||k.relatedTarget===s.value||k.relatedTarget===a.value)||(W==="focus"?(ot(k),_.value=!0):W==="blur"&&(Xe(k),_.value=!1))}function X(k,W){q(k,W,"change")}function A(k){_t(k)}function O(k){Ge(k),e.pair?(at(["",""]),Ke(["",""])):(at(""),Ke(""))}function j(k){let{onMousedown:W}=e;W&&W(k);let{tagName:ye}=k.target;if(ye!=="INPUT"&&ye!=="TEXTAREA"){if(e.resizable){let{value:Ve}=a;if(Ve){let{left:D,top:B,width:pe,height:ge}=Ve.getBoundingClientRect(),Pe=14;if(D+pe-Pe<k.clientX&&k.clientY<D+pe&&B+ge-Pe<k.clientY&&k.clientY<B+ge)return}}k.preventDefault(),_.value||Ce()}}function se(){var k;M.value=!0,e.type==="textarea"&&((k=p.value)===null||k===void 0||k.handleMouseEnterWrapper())}function xe(){var k;M.value=!1,e.type==="textarea"&&((k=p.value)===null||k===void 0||k.handleMouseLeaveWrapper())}function Ie(){P.value||ve.value==="click"&&(ce.value=!ce.value)}function Oe(k){if(P.value)return;k.preventDefault();let W=Ve=>{Ve.preventDefault(),kt("mouseup",document,W)};if(St("mouseup",document,W),ve.value!=="mousedown")return;ce.value=!0;let ye=()=>{ce.value=!1,kt("mouseup",document,ye)};St("mouseup",document,ye)}function je(k){var W;switch((W=e.onKeydown)===null||W===void 0||W.call(e,k),k.code){case"Escape":de();break;case"Enter":case"NumpadEnter":Y(k);break}}function Y(k){var W,ye;if(e.passivelyActivated){let{value:Ve}=T;if(Ve){e.internalDeactivateOnEnter&&de();return}k.preventDefault(),e.type==="textarea"?(W=s.value)===null||W===void 0||W.focus():(ye=c.value)===null||ye===void 0||ye.focus()}}function de(){e.passivelyActivated&&(T.value=!1,Yt(()=>{var k;(k=a.value)===null||k===void 0||k.focus()}))}function Ce(){var k,W,ye;P.value||(e.passivelyActivated?(k=a.value)===null||k===void 0||k.focus():((W=s.value)===null||W===void 0||W.focus(),(ye=c.value)===null||ye===void 0||ye.focus()))}function qe(){var k;!((k=a.value)===null||k===void 0)&&k.contains(document.activeElement)&&document.activeElement.blur()}function st(){var k,W;(k=s.value)===null||k===void 0||k.select(),(W=c.value)===null||W===void 0||W.select()}function Ze(){P.value||(s.value?s.value.focus():c.value&&c.value.focus())}function lt(){let{value:k}=a;k?.contains(document.activeElement)&&k!==document.activeElement&&de()}function et(k){let{type:W,pair:ye,autosize:Ve}=e;if(!ye&&Ve)if(W==="textarea"){let{value:D}=l;D&&(D.textContent=(k??"")+`\r
`)}else{let{value:D}=u;D&&(k?D.textContent=k:D.innerHTML="&nbsp;")}}function Vt(){Ae()}let Bt=G({top:"0"});function Ko(k){var W;let{scrollTop:ye}=k.target;Bt.value.top=`${-ye}px`,(W=p.value)===null||W===void 0||W.syncUnifiedContainer()}let Wr=null;Ht(()=>{let{autosize:k,type:W}=e;k&&W==="textarea"?Wr=ct(E,ye=>{!Array.isArray(ye)&&ye!==$&&et(ye)}):Wr?.()});let qr=null;Ht(()=>{e.type==="textarea"?qr=ct(E,k=>{var W;!Array.isArray(k)&&k!==$&&((W=p.value)===null||W===void 0||W.syncUnifiedContainer())}):qr?.()}),Zt(Su,{mergedValueRef:E,maxlengthRef:ze,mergedClsPrefixRef:t});let y={wrapperElRef:a,inputElRef:c,textareaElRef:s,isCompositing:v,focus:Ce,blur:qe,select:st,deactivate:lt,activate:Ze},oe=ei("Input",n,t),ue=F(()=>{let{value:k}=I,{common:{cubicBezierEaseInOut:W},self:{color:ye,borderRadius:Ve,textColor:D,caretColor:B,caretColorError:pe,caretColorWarning:ge,textDecorationColor:Pe,border:Gt,borderDisabled:Tt,borderHover:To,borderFocus:Do,placeholderColor:$t,placeholderColorDisabled:jt,lineHeightTextarea:vr,colorDisabled:Tm,colorFocus:Nc,textColorDisabled:dt,boxShadowFocus:tr,iconSize:Qi,colorFocusWarning:Hs,boxShadowFocusWarning:Fs,borderWarning:zs,borderFocusWarning:Ji,borderHoverWarning:iC,colorFocusError:aC,boxShadowFocusError:sC,borderError:lC,borderFocusError:uC,borderHoverError:cC,clearSize:dC,clearColor:fC,clearColorHover:pC,clearColorPressed:hC,iconColor:mC,iconColorDisabled:gC,suffixTextColor:bC,countTextColor:xC,iconColorHover:vC,iconColorPressed:yC,loadingColor:wC,loadingColorError:CC,loadingColorWarning:kC,[He("padding",k)]:SC,[He("fontSize",k)]:EC,[He("height",k)]:_C}}=i.value,{left:TC,right:DC}=bi(SC);return{"--n-bezier":W,"--n-count-text-color":xC,"--n-color":ye,"--n-font-size":EC,"--n-border-radius":Ve,"--n-height":_C,"--n-padding-left":TC,"--n-padding-right":DC,"--n-text-color":D,"--n-caret-color":B,"--n-text-decoration-color":Pe,"--n-border":Gt,"--n-border-disabled":Tt,"--n-border-hover":To,"--n-border-focus":Do,"--n-placeholder-color":$t,"--n-placeholder-color-disabled":jt,"--n-icon-size":Qi,"--n-line-height-textarea":vr,"--n-color-disabled":Tm,"--n-color-focus":Nc,"--n-text-color-disabled":dt,"--n-box-shadow-focus":tr,"--n-loading-color":wC,"--n-caret-color-warning":ge,"--n-color-focus-warning":Hs,"--n-box-shadow-focus-warning":Fs,"--n-border-warning":zs,"--n-border-focus-warning":Ji,"--n-border-hover-warning":iC,"--n-loading-color-warning":kC,"--n-caret-color-error":pe,"--n-color-focus-error":aC,"--n-box-shadow-focus-error":sC,"--n-border-error":lC,"--n-border-focus-error":uC,"--n-border-hover-error":cC,"--n-loading-color-error":CC,"--n-clear-color":fC,"--n-clear-size":dC,"--n-clear-color-hover":pC,"--n-clear-color-pressed":hC,"--n-icon-color":mC,"--n-icon-color-hover":vC,"--n-icon-color-pressed":yC,"--n-icon-color-disabled":gC,"--n-suffix-text-color":bC}}),he=o?sr("input",F(()=>{let{value:k}=I;return k[0]}),ue,e):void 0;return Object.assign(Object.assign({},y),{wrapperElRef:a,inputElRef:c,inputMirrorElRef:u,inputEl2Ref:d,textareaElRef:s,textareaMirrorElRef:l,textareaScrollbarInstRef:p,rtlEnabled:oe,uncontrolledValue:h,mergedValue:E,passwordVisible:ce,mergedPlaceholder:N,showPlaceholder1:Z,showPlaceholder2:R,mergedFocus:z,isComposing:v,activated:T,showClearButton:re,mergedSize:I,mergedDisabled:P,textDecorationStyle:le,mergedClsPrefix:t,mergedBordered:r,mergedShowPasswordOn:ve,placeholderStyle:Bt,mergedStatus:C,textAreaScrollContainerWidth:be,handleTextAreaScroll:Ko,handleCompositionStart:w,handleCompositionEnd:H,handleInput:q,handleInputBlur:K,handleInputFocus:ae,handleWrapperBlur:ne,handleWrapperFocus:V,handleMouseEnter:se,handleMouseLeave:xe,handleMouseDown:j,handleChange:X,handleClick:A,handleClear:O,handlePasswordToggleClick:Ie,handlePasswordToggleMousedown:Oe,handleWrapperKeyDown:je,handleTextAreaMirrorResize:Vt,getTextareaScrollContainer:()=>s.value,mergedTheme:i,cssVars:o?void 0:ue,themeClass:he?.themeClass,onRender:he?.onRender})},render(){let{mergedClsPrefix:e,mergedStatus:t,themeClass:r,onRender:o,$slots:n}=this;return o?.(),x("div",{ref:"wrapperElRef",class:[`${e}-input`,r,t&&`${e}-input--${t}-status`,{[`${e}-input--rtl`]:this.rtlEnabled,[`${e}-input--disabled`]:this.mergedDisabled,[`${e}-input--textarea`]:this.type==="textarea",[`${e}-input--resizable`]:this.resizable&&!this.autosize,[`${e}-input--autosize`]:this.autosize,[`${e}-input--round`]:this.round&&this.type!=="textarea",[`${e}-input--pair`]:this.pair,[`${e}-input--focus`]:this.mergedFocus,[`${e}-input--stateful`]:this.stateful}],style:this.cssVars,tabindex:!this.mergedDisabled&&this.passivelyActivated&&!this.activated?0:void 0,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperBlur,onClick:this.handleClick,onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd,onKeyup:this.onKeyup,onKeydown:this.handleWrapperKeyDown},x("div",{class:`${e}-input-wrapper`},bo(n.prefix,i=>i&&x("div",{class:`${e}-input__prefix`},i)),this.type==="textarea"?x(vu,{ref:"textareaScrollbarInstRef",class:`${e}-input__textarea`,container:this.getTextareaScrollContainer,triggerDisplayManually:!0,useUnifiedContainer:!0},{default:()=>{let{textAreaScrollContainerWidth:i}=this,a={width:this.autosize&&i&&`${i}px`};return x(Lt,null,x("textarea",Object.assign({},this.inputProps,{ref:"textareaElRef",class:`${e}-input__textarea-el`,autofocus:this.autofocus,rows:Number(this.rows),placeholder:this.placeholder,value:this.mergedValue,disabled:this.mergedDisabled,maxlength:this.maxlength,minlength:this.minlength,readonly:this.readonly,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,style:[this.textDecorationStyle[0],a],onBlur:this.handleInputBlur,onFocus:this.handleInputFocus,onInput:this.handleInput,onChange:this.handleChange,onScroll:this.handleTextAreaScroll})),this.showPlaceholder1?x("div",{class:`${e}-input__placeholder`,style:[this.placeholderStyle,a],key:"placeholder"},this.mergedPlaceholder[0]):null,this.autosize?x(Yr,{onResize:this.handleTextAreaMirrorResize},{default:()=>x("div",{ref:"textareaMirrorElRef",class:`${e}-input__textarea-mirror`,key:"mirror"})}):null)}}):x("div",{class:`${e}-input__input`},x("input",Object.assign({type:this.type==="password"&&this.mergedShowPasswordOn&&this.passwordVisible?"text":this.type},this.inputProps,{ref:"inputElRef",class:`${e}-input__input-el`,style:this.textDecorationStyle[0],tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[0],disabled:this.mergedDisabled,maxlength:this.maxlength,minlength:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[0]:this.mergedValue,readonly:this.readonly,autofocus:this.autofocus,size:this.attrSize,onBlur:this.handleInputBlur,onFocus:this.handleInputFocus,onInput:i=>this.handleInput(i,0),onChange:i=>this.handleChange(i,0)})),this.showPlaceholder1?x("div",{class:`${e}-input__placeholder`},x("span",null,this.mergedPlaceholder[0])):null,this.autosize?x("div",{class:`${e}-input__input-mirror`,key:"mirror",ref:"inputMirrorElRef"},"\xA0"):null),!this.pair&&bo(n.suffix,i=>i||this.clearable||this.showCount||this.mergedShowPasswordOn||this.loading!==void 0?x("div",{class:`${e}-input__suffix`},[bo(n.clear,a=>(this.clearable||a)&&x(ti,{clsPrefix:e,show:this.showClearButton,onClear:this.handleClear},{default:()=>a})),this.internalLoadingBeforeSuffix?null:i,this.loading!==void 0?x(wu,{clsPrefix:e,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?i:null,this.showCount&&this.type!=="textarea"?x(Lf,null,{default:a=>{var s;return(s=n.count)===null||s===void 0?void 0:s.call(n,a)}}):null,this.mergedShowPasswordOn&&this.type==="password"?x(Fr,{clsPrefix:e,class:`${e}-input__eye`,onMousedown:this.handlePasswordToggleMousedown,onClick:this.handlePasswordToggleClick},{default:()=>this.passwordVisible?go(n["password-visible-icon"],()=>[x(df,null)]):go(n["password-invisible-icon"],()=>[x(ff,null)])}):null]):null)),this.pair?x("span",{class:`${e}-input__separator`},go(n.separator,()=>[this.separator])):null,this.pair?x("div",{class:`${e}-input-wrapper`},x("div",{class:`${e}-input__input`},x("input",{ref:"inputEl2Ref",type:this.type,class:`${e}-input__input-el`,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[1],disabled:this.mergedDisabled,maxlength:this.maxlength,minlength:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[1]:void 0,readonly:this.readonly,style:this.textDecorationStyle[1],onBlur:this.handleInputBlur,onFocus:this.handleInputFocus,onInput:i=>this.handleInput(i,1),onChange:i=>this.handleChange(i,1)}),this.showPlaceholder2?x("div",{class:`${e}-input__placeholder`},x("span",null,this.mergedPlaceholder[1])):null),bo(n.suffix,i=>(this.clearable||i)&&x("div",{class:`${e}-input__suffix`},[this.clearable&&x(ti,{clsPrefix:e,show:this.showClearButton,onClear:this.handleClear},{default:()=>{var a;return(a=n.clear)===null||a===void 0?void 0:a.call(n)}}),i]))):null,this.mergedBordered?x("div",{class:`${e}-input__border`}):null,this.mergedBordered?x("div",{class:`${e}-input__state-border`}):null,this.showCount&&this.type==="textarea"?x(Lf,null,{default:i=>{var a;return(a=n.count)===null||a===void 0?void 0:a.call(n,i)}}):null)}});function Of(e){let{boxShadow2:t}=e;return{menuBoxShadow:t}}var zK={name:"AutoComplete",common:ke,peers:{InternalSelectMenu:Jn,Input:Dr},self:Of};var y5={name:"AutoComplete",common:L,peers:{InternalSelectMenu:Zr,Input:Et},self:Of},Pf=y5;var C1=e=>{let{borderRadius:t,avatarColor:r,cardColor:o,fontSize:n,heightTiny:i,heightSmall:a,heightMedium:s,heightLarge:l,heightHuge:u,modalColor:c,popoverColor:d}=e;return{borderRadius:t,fontSize:n,border:`2px solid ${o}`,heightTiny:i,heightSmall:a,heightMedium:s,heightLarge:l,heightHuge:u,color:Se(o,r),colorModal:Se(c,r),colorPopover:Se(d,r)}};var w5={name:"Avatar",common:L,self:C1},Ja=w5;var C5={name:"AvatarGroup",common:L,peers:{Avatar:Ja}},Rf=C5;var k1={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"};var k5={name:"BackTop",common:L,self(e){let{popoverColor:t,textColor2:r,primaryColorHover:o,primaryColorPressed:n}=e;return Object.assign(Object.assign({},k1),{color:t,textColor:r,iconColor:r,iconColorHover:o,iconColorPressed:n,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})}},Mf=k5;var S5={name:"Badge",common:L,self(e){let{errorColorSuppl:t,infoColorSuppl:r,successColorSuppl:o,warningColorSuppl:n,fontFamily:i}=e;return{color:t,colorInfo:r,colorSuccess:o,colorError:t,colorWarning:n,fontSize:"12px",fontFamily:i}}},Bf=S5;var S1={fontWeightActive:"400"};var E1=e=>{let{fontSize:t,textColor3:r,primaryColorHover:o,primaryColorPressed:n,textColor2:i}=e;return Object.assign(Object.assign({},S1),{fontSize:t,itemTextColor:r,itemTextColorHover:o,itemTextColorPressed:n,itemTextColorActive:i,separatorColor:r})};var E5={name:"Breadcrumb",common:L,self:E1},$f=E5;function Cn(e){return Se(e,[255,255,255,.16])}function es(e){return Se(e,[0,0,0,.12])}var _1={paddingTiny:"0 6px",paddingSmall:"0 10px",paddingMedium:"0 14px",paddingLarge:"0 18px",paddingRoundTiny:"0 10px",paddingRoundSmall:"0 14px",paddingRoundMedium:"0 18px",paddingRoundLarge:"0 22px",iconMarginTiny:"6px",iconMarginSmall:"6px",iconMarginMedium:"6px",iconMarginLarge:"6px",iconSizeTiny:"14px",iconSizeSmall:"18px",iconSizeMedium:"18px",iconSizeLarge:"20px",rippleDuration:".6s"};var Hf=e=>{let{heightTiny:t,heightSmall:r,heightMedium:o,heightLarge:n,borderRadius:i,fontSizeTiny:a,fontSizeSmall:s,fontSizeMedium:l,fontSizeLarge:u,opacityDisabled:c,textColor2:d,textColor3:p,primaryColorHover:f,primaryColorPressed:h,borderColor:g,primaryColor:E,baseColor:b,infoColor:I,infoColorHover:P,infoColorPressed:C,successColor:_,successColorHover:M,successColorPressed:v,warningColor:T,warningColorHover:$,warningColorPressed:N,errorColor:Z,errorColorHover:R,errorColorPressed:z,fontWeight:re,buttonColor2:ve,buttonColor2Hover:ce,buttonColor2Pressed:le,fontWeightStrong:be}=e;return Object.assign(Object.assign({},_1),{heightTiny:t,heightSmall:r,heightMedium:o,heightLarge:n,borderRadiusTiny:i,borderRadiusSmall:i,borderRadiusMedium:i,borderRadiusLarge:i,fontSizeTiny:a,fontSizeSmall:s,fontSizeMedium:l,fontSizeLarge:u,opacityDisabled:c,colorOpacitySecondary:"0.16",colorOpacitySecondaryHover:"0.22",colorOpacitySecondaryPressed:"0.28",colorSecondary:ve,colorSecondaryHover:ce,colorSecondaryPressed:le,colorTertiary:ve,colorTertiaryHover:ce,colorTertiaryPressed:le,colorQuaternary:"#0000",colorQuaternaryHover:ce,colorQuaternaryPressed:le,color:"#0000",colorHover:"#0000",colorPressed:"#0000",colorFocus:"#0000",colorDisabled:"#0000",textColor:d,textColorTertiary:p,textColorHover:f,textColorPressed:h,textColorFocus:f,textColorDisabled:d,textColorText:d,textColorTextHover:f,textColorTextPressed:h,textColorTextFocus:f,textColorTextDisabled:d,textColorGhost:d,textColorGhostHover:f,textColorGhostPressed:h,textColorGhostFocus:f,textColorGhostDisabled:d,border:`1px solid ${g}`,borderHover:`1px solid ${f}`,borderPressed:`1px solid ${h}`,borderFocus:`1px solid ${f}`,borderDisabled:`1px solid ${g}`,rippleColor:E,colorPrimary:E,colorHoverPrimary:f,colorPressedPrimary:h,colorFocusPrimary:f,colorDisabledPrimary:E,textColorPrimary:b,textColorHoverPrimary:b,textColorPressedPrimary:b,textColorFocusPrimary:b,textColorDisabledPrimary:b,textColorTextPrimary:E,textColorTextHoverPrimary:f,textColorTextPressedPrimary:h,textColorTextFocusPrimary:f,textColorTextDisabledPrimary:d,textColorGhostPrimary:E,textColorGhostHoverPrimary:f,textColorGhostPressedPrimary:h,textColorGhostFocusPrimary:f,textColorGhostDisabledPrimary:E,borderPrimary:`1px solid ${E}`,borderHoverPrimary:`1px solid ${f}`,borderPressedPrimary:`1px solid ${h}`,borderFocusPrimary:`1px solid ${f}`,borderDisabledPrimary:`1px solid ${E}`,rippleColorPrimary:E,colorInfo:I,colorHoverInfo:P,colorPressedInfo:C,colorFocusInfo:P,colorDisabledInfo:I,textColorInfo:b,textColorHoverInfo:b,textColorPressedInfo:b,textColorFocusInfo:b,textColorDisabledInfo:b,textColorTextInfo:I,textColorTextHoverInfo:P,textColorTextPressedInfo:C,textColorTextFocusInfo:P,textColorTextDisabledInfo:d,textColorGhostInfo:I,textColorGhostHoverInfo:P,textColorGhostPressedInfo:C,textColorGhostFocusInfo:P,textColorGhostDisabledInfo:I,borderInfo:`1px solid ${I}`,borderHoverInfo:`1px solid ${P}`,borderPressedInfo:`1px solid ${C}`,borderFocusInfo:`1px solid ${P}`,borderDisabledInfo:`1px solid ${I}`,rippleColorInfo:I,colorSuccess:_,colorHoverSuccess:M,colorPressedSuccess:v,colorFocusSuccess:M,colorDisabledSuccess:_,textColorSuccess:b,textColorHoverSuccess:b,textColorPressedSuccess:b,textColorFocusSuccess:b,textColorDisabledSuccess:b,textColorTextSuccess:_,textColorTextHoverSuccess:M,textColorTextPressedSuccess:v,textColorTextFocusSuccess:M,textColorTextDisabledSuccess:d,textColorGhostSuccess:_,textColorGhostHoverSuccess:M,textColorGhostPressedSuccess:v,textColorGhostFocusSuccess:M,textColorGhostDisabledSuccess:_,borderSuccess:`1px solid ${_}`,borderHoverSuccess:`1px solid ${M}`,borderPressedSuccess:`1px solid ${v}`,borderFocusSuccess:`1px solid ${M}`,borderDisabledSuccess:`1px solid ${_}`,rippleColorSuccess:_,colorWarning:T,colorHoverWarning:$,colorPressedWarning:N,colorFocusWarning:$,colorDisabledWarning:T,textColorWarning:b,textColorHoverWarning:b,textColorPressedWarning:b,textColorFocusWarning:b,textColorDisabledWarning:b,textColorTextWarning:T,textColorTextHoverWarning:$,textColorTextPressedWarning:N,textColorTextFocusWarning:$,textColorTextDisabledWarning:d,textColorGhostWarning:T,textColorGhostHoverWarning:$,textColorGhostPressedWarning:N,textColorGhostFocusWarning:$,textColorGhostDisabledWarning:T,borderWarning:`1px solid ${T}`,borderHoverWarning:`1px solid ${$}`,borderPressedWarning:`1px solid ${N}`,borderFocusWarning:`1px solid ${$}`,borderDisabledWarning:`1px solid ${T}`,rippleColorWarning:T,colorError:Z,colorHoverError:R,colorPressedError:z,colorFocusError:R,colorDisabledError:Z,textColorError:b,textColorHoverError:b,textColorPressedError:b,textColorFocusError:b,textColorDisabledError:b,textColorTextError:Z,textColorTextHoverError:R,textColorTextPressedError:z,textColorTextFocusError:R,textColorTextDisabledError:d,textColorGhostError:Z,textColorGhostHoverError:R,textColorGhostPressedError:z,textColorGhostFocusError:R,textColorGhostDisabledError:Z,borderError:`1px solid ${Z}`,borderHoverError:`1px solid ${R}`,borderPressedError:`1px solid ${z}`,borderFocusError:`1px solid ${R}`,borderDisabledError:`1px solid ${Z}`,rippleColorError:Z,waveOpacity:"0.6",fontWeight:re,fontWeightStrong:be})},_5={name:"Button",common:ke,self:Hf},Ft=_5;var T5={name:"Button",common:L,self(e){let t=Hf(e);return t.waveOpacity="0.8",t.colorOpacitySecondary="0.16",t.colorOpacitySecondaryHover="0.2",t.colorOpacitySecondaryPressed="0.12",t}},xt=T5;var T1="n-button-group";var D1=ee([U("button",`
margin: 0;
font-weight: var(--n-font-weight);
line-height: 1;
font-family: inherit;
padding: var(--n-padding);
height: var(--n-height);
font-size: var(--n-font-size);
border-radius: var(--n-border-radius);
color: var(--n-text-color);
background-color: var(--n-color);
width: var(--n-width);
white-space: nowrap;
outline: none;
position: relative;
z-index: auto;
border: none;
display: inline-flex;
flex-wrap: nowrap;
flex-shrink: 0;
align-items: center;
justify-content: center;
user-select: none;
text-align: center;
cursor: pointer;
text-decoration: none;
transition:
color .3s var(--n-bezier),
background-color .3s var(--n-bezier),
opacity .3s var(--n-bezier),
border-color .3s var(--n-bezier);
`,[Te("color",[te("border",{borderColor:"var(--n-border-color)"}),Te("disabled",[te("border",{borderColor:"var(--n-border-color-disabled)"})]),gr("disabled",[ee("&:focus",[te("state-border",{borderColor:"var(--n-border-color-focus)"})]),ee("&:hover",[te("state-border",{borderColor:"var(--n-border-color-hover)"})]),ee("&:active",[te("state-border",{borderColor:"var(--n-border-color-pressed)"})]),Te("pressed",[te("state-border",{borderColor:"var(--n-border-color-pressed)"})])])]),Te("disabled",{backgroundColor:"var(--n-color-disabled)",color:"var(--n-text-color-disabled)"},[te("border",{border:"var(--n-border-disabled)"})]),gr("disabled",[ee("&:focus",{backgroundColor:"var(--n-color-focus)",color:"var(--n-text-color-focus)"},[te("state-border",{border:"var(--n-border-focus)"})]),ee("&:hover",{backgroundColor:"var(--n-color-hover)",color:"var(--n-text-color-hover)"},[te("state-border",{border:"var(--n-border-hover)"})]),ee("&:active",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[te("state-border",{border:"var(--n-border-pressed)"})]),Te("pressed",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[te("state-border",{border:"var(--n-border-pressed)"})])]),Te("loading",{"pointer-events":"none"}),U("base-wave",`
pointer-events: none;
top: 0;
right: 0;
bottom: 0;
left: 0;
animation-iteration-count: 1;
animation-duration: var(--n-ripple-duration);
animation-timing-function: var(--n-bezier-ease-out), var(--n-bezier-ease-out);
`,[Te("active",{zIndex:1,animationName:"button-wave-spread, button-wave-opacity"})]),typeof window<"u"&&"MozBoxSizing"in document.createElement("div").style?ee("&::moz-focus-inner",{border:0}):null,te("border, state-border",`
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
border-radius: inherit;
transition: border-color .3s var(--n-bezier);
pointer-events: none;
`),te("border",{border:"var(--n-border)"}),te("state-border",{border:"var(--n-border)",borderColor:"#0000",zIndex:1}),te("icon",`
margin: var(--n-icon-margin);
margin-left: 0;
height: var(--n-icon-size);
width: var(--n-icon-size);
max-width: var(--n-icon-size);
font-size: var(--n-icon-size);
position: relative;
flex-shrink: 0;
`,[U("icon-slot",`
height: var(--n-icon-size);
width: var(--n-icon-size);
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
display: flex;
`,[Er({top:"50%",originalTransform:"translateY(-50%)"})]),g1()]),te("content",`
display: flex;
align-items: center;
flex-wrap: nowrap;
`,[ee("~",[te("icon",{margin:"var(--n-icon-margin)",marginRight:0})])]),Te("block",`
display: flex;
width: 100%;
`),Te("dashed",[te("border, state-border",{borderStyle:"dashed !important"})]),Te("disabled",{cursor:"not-allowed",opacity:"var(--n-opacity-disabled)"})]),ee("@keyframes button-wave-spread",{from:{boxShadow:"0 0 0.5px 0 var(--n-ripple-color)"},to:{boxShadow:"0 0 0.5px 4.5px var(--n-ripple-color)"}}),ee("@keyframes button-wave-opacity",{from:{opacity:"var(--n-wave-opacity)"},to:{opacity:0}})]);var D5=Object.assign(Object.assign({},Nt.props),{color:String,textColor:String,text:Boolean,block:Boolean,loading:Boolean,disabled:Boolean,circle:Boolean,size:String,ghost:Boolean,round:Boolean,secondary:Boolean,tertiary:Boolean,quaternary:Boolean,strong:Boolean,focusable:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},tag:{type:String,default:"button"},type:{type:String,default:"default"},dashed:Boolean,iconPlacement:{type:String,default:"left"},attrType:{type:String,default:"button"},bordered:{type:Boolean,default:!0},onClick:[Function,Array],internalAutoFocus:Boolean}),N5=me({name:"Button",props:D5,setup(e){let t=G(null),r=G(null),o=G(!1);ut(()=>{let{value:C}=t;C&&!e.disabled&&e.focusable&&e.internalAutoFocus&&C.focus({preventScroll:!0})});let n=nt(()=>!e.quaternary&&!e.tertiary&&!e.secondary&&!e.text&&(!e.color||e.ghost||e.dashed)&&e.bordered),i=De(T1,{}),{mergedSizeRef:a}=Mr({},{defaultSize:"medium",mergedSize:C=>{let{size:_}=e;if(_)return _;let{size:M}=i;if(M)return M;let{mergedSize:v}=C||{};return v?v.value:"medium"}}),s=F(()=>e.focusable&&!e.disabled),l=C=>{var _;C.preventDefault(),!e.disabled&&s.value&&((_=t.value)===null||_===void 0||_.focus({preventScroll:!0}))},u=C=>{var _;if(!e.disabled&&!e.loading){let{onClick:M}=e;M&&Ne(M,C),e.text||(_=r.value)===null||_===void 0||_.play()}},c=C=>{switch(C.code){case"Enter":case"NumpadEnter":if(!e.keyboard)return;o.value=!1}},d=C=>{switch(C.code){case"Enter":case"NumpadEnter":if(!e.keyboard||e.loading){C.preventDefault();return}o.value=!0}},p=()=>{o.value=!1},{inlineThemeDisabled:f,mergedClsPrefixRef:h,mergedRtlRef:g}=Wt(e),E=Nt("Button","-button",D1,Ft,e,h),b=ei("Button",g,h),I=F(()=>{let C=E.value,{common:{cubicBezierEaseInOut:_,cubicBezierEaseOut:M},self:v}=C,{rippleDuration:T,opacityDisabled:$,fontWeight:N,fontWeightStrong:Z}=v,R=a.value,{dashed:z,type:re,ghost:ve,text:ce,color:le,round:be,circle:Ae,textColor:ze,secondary:Fe,tertiary:at,quaternary:Ke,strong:Xe}=e,ot={"font-weight":Xe?Z:N},Ge={"--n-color":"initial","--n-color-hover":"initial","--n-color-pressed":"initial","--n-color-focus":"initial","--n-color-disabled":"initial","--n-ripple-color":"initial","--n-text-color":"initial","--n-text-color-hover":"initial","--n-text-color-pressed":"initial","--n-text-color-focus":"initial","--n-text-color-disabled":"initial"},Je=re==="tertiary",pt=re==="default",$e=Je?"default":re;if(ce){let V=ze||le;Ge={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":"#0000","--n-text-color":V||v[He("textColorText",$e)],"--n-text-color-hover":V?Cn(V):v[He("textColorTextHover",$e)],"--n-text-color-pressed":V?es(V):v[He("textColorTextPressed",$e)],"--n-text-color-focus":V?Cn(V):v[He("textColorTextHover",$e)],"--n-text-color-disabled":V||v[He("textColorTextDisabled",$e)]}}else if(ve||z){let V=ze||le;Ge={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":le||v[He("rippleColor",$e)],"--n-text-color":V||v[He("textColorGhost",$e)],"--n-text-color-hover":V?Cn(V):v[He("textColorGhostHover",$e)],"--n-text-color-pressed":V?es(V):v[He("textColorGhostPressed",$e)],"--n-text-color-focus":V?Cn(V):v[He("textColorGhostHover",$e)],"--n-text-color-disabled":V||v[He("textColorGhostDisabled",$e)]}}else if(Fe){let V=pt?v.textColor:Je?v.textColorTertiary:v[He("color",$e)],J=le||V,X=re!=="default"&&re!=="tertiary";Ge={"--n-color":X?ie(J,{alpha:Number(v.colorOpacitySecondary)}):v.colorSecondary,"--n-color-hover":X?ie(J,{alpha:Number(v.colorOpacitySecondaryHover)}):v.colorSecondaryHover,"--n-color-pressed":X?ie(J,{alpha:Number(v.colorOpacitySecondaryPressed)}):v.colorSecondaryPressed,"--n-color-focus":X?ie(J,{alpha:Number(v.colorOpacitySecondaryHover)}):v.colorSecondaryHover,"--n-color-disabled":v.colorSecondary,"--n-ripple-color":"#0000","--n-text-color":J,"--n-text-color-hover":J,"--n-text-color-pressed":J,"--n-text-color-focus":J,"--n-text-color-disabled":J}}else if(at||Ke){let V=pt?v.textColor:Je?v.textColorTertiary:v[He("color",$e)],J=le||V;at?(Ge["--n-color"]=v.colorTertiary,Ge["--n-color-hover"]=v.colorTertiaryHover,Ge["--n-color-pressed"]=v.colorTertiaryPressed,Ge["--n-color-focus"]=v.colorSecondaryHover,Ge["--n-color-disabled"]=v.colorTertiary):(Ge["--n-color"]=v.colorQuaternary,Ge["--n-color-hover"]=v.colorQuaternaryHover,Ge["--n-color-pressed"]=v.colorQuaternaryPressed,Ge["--n-color-focus"]=v.colorQuaternaryHover,Ge["--n-color-disabled"]=v.colorQuaternary),Ge["--n-ripple-color"]="#0000",Ge["--n-text-color"]=J,Ge["--n-text-color-hover"]=J,Ge["--n-text-color-pressed"]=J,Ge["--n-text-color-focus"]=J,Ge["--n-text-color-disabled"]=J}else Ge={"--n-color":le||v[He("color",$e)],"--n-color-hover":le?Cn(le):v[He("colorHover",$e)],"--n-color-pressed":le?es(le):v[He("colorPressed",$e)],"--n-color-focus":le?Cn(le):v[He("colorFocus",$e)],"--n-color-disabled":le||v[He("colorDisabled",$e)],"--n-ripple-color":le||v[He("rippleColor",$e)],"--n-text-color":ze||(le?v.textColorPrimary:Je?v.textColorTertiary:v[He("textColor",$e)]),"--n-text-color-hover":ze||(le?v.textColorHoverPrimary:v[He("textColorHover",$e)]),"--n-text-color-pressed":ze||(le?v.textColorPressedPrimary:v[He("textColorPressed",$e)]),"--n-text-color-focus":ze||(le?v.textColorFocusPrimary:v[He("textColorFocus",$e)]),"--n-text-color-disabled":ze||(le?v.textColorDisabledPrimary:v[He("textColorDisabled",$e)])};let ht={"--n-border":"initial","--n-border-hover":"initial","--n-border-pressed":"initial","--n-border-focus":"initial","--n-border-disabled":"initial"};ce?ht={"--n-border":"none","--n-border-hover":"none","--n-border-pressed":"none","--n-border-focus":"none","--n-border-disabled":"none"}:ht={"--n-border":v[He("border",$e)],"--n-border-hover":v[He("borderHover",$e)],"--n-border-pressed":v[He("borderPressed",$e)],"--n-border-focus":v[He("borderFocus",$e)],"--n-border-disabled":v[He("borderDisabled",$e)]};let{[He("height",R)]:_t,[He("fontSize",R)]:zt,[He("padding",R)]:m,[He("paddingRound",R)]:w,[He("iconSize",R)]:H,[He("borderRadius",R)]:q,[He("iconMargin",R)]:K,waveOpacity:ae}=v,ne={"--n-width":Ae&&!ce?_t:"initial","--n-height":ce?"initial":_t,"--n-font-size":zt,"--n-padding":Ae||ce?"initial":be?w:m,"--n-icon-size":H,"--n-icon-margin":K,"--n-border-radius":ce?"initial":Ae||be?_t:q};return Object.assign(Object.assign(Object.assign(Object.assign({"--n-bezier":_,"--n-bezier-ease-out":M,"--n-ripple-duration":T,"--n-opacity-disabled":$,"--n-wave-opacity":ae},ot),Ge),ht),ne)}),P=f?sr("button",F(()=>{let C="",{dashed:_,type:M,ghost:v,text:T,color:$,round:N,circle:Z,textColor:R,secondary:z,tertiary:re,quaternary:ve,strong:ce}=e;_&&(C+="a"),v&&(C+="b"),T&&(C+="c"),N&&(C+="d"),Z&&(C+="e"),z&&(C+="f"),re&&(C+="g"),ve&&(C+="h"),ce&&(C+="i"),$&&(C+="j"+Sa($)),R&&(C+="k"+Sa(R));let{value:le}=a;return C+="l"+le[0],C+="m"+M[0],C}),I,e):void 0;return{selfElRef:t,waveElRef:r,mergedClsPrefix:h,mergedFocusable:s,mergedSize:a,showBorder:n,enterPressed:o,rtlEnabled:b,handleMousedown:l,handleKeydown:d,handleBlur:p,handleKeyup:c,handleClick:u,customColorCssVars:F(()=>{let{color:C}=e;if(!C)return null;let _=Cn(C);return{"--n-border-color":C,"--n-border-color-hover":_,"--n-border-color-pressed":es(C),"--n-border-color-focus":_,"--n-border-color-disabled":C}}),cssVars:f?void 0:I,themeClass:P?.themeClass,onRender:P?.onRender}},render(){let{mergedClsPrefix:e,tag:t,onRender:r}=this;r?.();let o=bo(this.$slots.default,n=>n&&x("span",{class:`${e}-button__content`},n));return x(t,{ref:"selfElRef",class:[this.themeClass,`${e}-button`,`${e}-button--${this.type}-type`,`${e}-button--${this.mergedSize}-type`,this.rtlEnabled&&`${e}-button--rtl`,this.disabled&&`${e}-button--disabled`,this.block&&`${e}-button--block`,this.enterPressed&&`${e}-button--pressed`,!this.text&&this.dashed&&`${e}-button--dashed`,this.color&&`${e}-button--color`,this.secondary&&`${e}-button--secondary`,this.loading&&`${e}-button--loading`,this.ghost&&`${e}-button--ghost`],tabindex:this.mergedFocusable?0:-1,type:this.attrType,style:this.cssVars,disabled:this.disabled,onClick:this.handleClick,onBlur:this.handleBlur,onMousedown:this.handleMousedown,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},this.iconPlacement==="right"&&o,x(Pi,{width:!0},{default:()=>bo(this.$slots.icon,n=>(this.loading||n)&&x("span",{class:`${e}-button__icon`,style:{margin:El(this.$slots.default)?"0":""}},x(Hr,null,{default:()=>this.loading?x(yn,{clsPrefix:e,key:"loading",class:`${e}-icon-slot`,strokeWidth:20}):x("div",{key:"icon",class:`${e}-icon-slot`,role:"none"},n)})))}),this.iconPlacement==="left"&&o,this.text?null:x(yu,{ref:"waveElRef",clsPrefix:e}),this.showBorder?x("div",{"aria-hidden":!0,class:`${e}-button__border`,style:this.customColorCssVars}):null,this.showBorder?x("div",{"aria-hidden":!0,class:`${e}-button__state-border`,style:this.customColorCssVars}):null)}}),Ff=N5;var N1={titleFontSize:"22px"};var zf=e=>{let{borderRadius:t,fontSize:r,lineHeight:o,textColor2:n,textColor1:i,textColorDisabled:a,dividerColor:s,fontWeightStrong:l,primaryColor:u,baseColor:c,hoverColor:d,cardColor:p,modalColor:f,popoverColor:h}=e;return Object.assign(Object.assign({},N1),{borderRadius:t,borderColor:Se(p,s),borderColorModal:Se(f,s),borderColorPopover:Se(h,s),textColor:n,titleFontWeight:l,titleTextColor:i,dayTextColor:a,fontSize:r,lineHeight:o,dateColorCurrent:u,dateTextColorCurrent:c,cellColorHover:Se(p,d),cellColorHoverModal:Se(f,d),cellColorHoverPopover:Se(h,d),cellColor:p,cellColorModal:f,cellColorPopover:h,barColor:u})},dX={name:"Calendar",common:ke,peers:{Button:Ft},self:zf};var A5={name:"Calendar",common:L,peers:{Button:xt},self:zf},Vf=A5;var jf=e=>{let{fontSize:t,boxShadow2:r,popoverColor:o,textColor2:n,borderRadius:i,borderColor:a,heightSmall:s,heightMedium:l,heightLarge:u,fontSizeSmall:c,fontSizeMedium:d,fontSizeLarge:p,dividerColor:f}=e;return{panelFontSize:t,boxShadow:r,color:o,textColor:n,borderRadius:i,border:`1px solid ${a}`,heightSmall:s,heightMedium:l,heightLarge:u,fontSizeSmall:c,fontSizeMedium:d,fontSizeLarge:p,dividerColor:f}},CX={name:"ColorPicker",common:ke,peers:{Input:Dr,Button:Ft},self:jf};var I5={name:"ColorPicker",common:L,peers:{Input:Et,Button:xt},self:jf},Wf=I5;var A1={paddingSmall:"12px 16px 12px",paddingMedium:"19px 24px 20px",paddingLarge:"23px 32px 24px",paddingHuge:"27px 40px 28px",titleFontSizeSmall:"16px",titleFontSizeMedium:"18px",titleFontSizeLarge:"18px",titleFontSizeHuge:"18px",closeSize:"18px"};var qf=e=>{let{primaryColor:t,borderRadius:r,lineHeight:o,fontSize:n,cardColor:i,textColor2:a,textColor1:s,dividerColor:l,fontWeightStrong:u,closeColor:c,closeColorHover:d,closeColorPressed:p,modalColor:f,boxShadow1:h,popoverColor:g,actionColor:E}=e;return Object.assign(Object.assign({},A1),{lineHeight:o,color:i,colorModal:f,colorPopover:g,colorTarget:t,colorEmbedded:E,textColor:a,titleTextColor:s,borderColor:l,actionColor:E,titleFontWeight:u,closeColor:c,closeColorHover:d,closeColorPressed:p,fontSizeSmall:n,fontSizeMedium:n,fontSizeLarge:n,fontSizeHuge:n,boxShadow:h,borderRadius:r})},L5={name:"Card",common:ke,self:qf},Uf=L5;var O5={name:"Card",common:L,self(e){let t=qf(e),{cardColor:r}=e;return t.colorEmbedded=r,t}},ts=O5;var I1=e=>({dotSize:"8px",dotColor:"rgba(255, 255, 255, .3)",dotColorActive:"rgba(255, 255, 255, 1)",dotColorFocus:"rgba(255, 255, 255, .5)",dotLineWidth:"16px",dotLineWidthActive:"24px",arrowColor:"#eee"});var P5={name:"Carousel",common:L,self:I1},Kf=P5;var L1={sizeSmall:"14px",sizeMedium:"16px",sizeLarge:"18px",labelPadding:"0 8px"};var Gf=e=>{let{baseColor:t,inputColorDisabled:r,cardColor:o,modalColor:n,popoverColor:i,textColorDisabled:a,borderColor:s,primaryColor:l,textColor2:u,fontSizeSmall:c,fontSizeMedium:d,fontSizeLarge:p,borderRadiusSmall:f,lineHeight:h}=e;return Object.assign(Object.assign({},L1),{labelLineHeight:h,fontSizeSmall:c,fontSizeMedium:d,fontSizeLarge:p,borderRadius:f,color:t,colorChecked:l,colorDisabled:r,colorDisabledChecked:r,colorTableHeader:o,colorTableHeaderModal:n,colorTableHeaderPopover:i,checkMarkColor:t,checkMarkColorDisabled:a,checkMarkColorDisabledChecked:a,border:`1px solid ${s}`,borderDisabled:`1px solid ${s}`,borderDisabledChecked:`1px solid ${s}`,borderChecked:`1px solid ${l}`,borderFocus:`1px solid ${l}`,boxShadowFocus:`0 0 0 2px ${ie(l,{alpha:.3})}`,textColor:u,textColorDisabled:a})},R5={name:"Checkbox",common:ke,self:Gf},Fo=R5;var M5={name:"Checkbox",common:L,self(e){let{cardColor:t}=e,r=Gf(e);return r.color="#0000",r.checkMarkColor=t,r}},Jr=M5;var Xf=e=>{let{borderRadius:t,boxShadow2:r,popoverColor:o,textColor2:n,textColor3:i,primaryColor:a,textColorDisabled:s,dividerColor:l,hoverColor:u,fontSizeMedium:c,heightMedium:d}=e;return{menuBorderRadius:t,menuColor:o,menuBoxShadow:r,menuDividerColor:l,menuHeight:"calc(var(--n-option-height) * 6.6)",optionArrowColor:i,optionHeight:d,optionFontSize:c,optionColorHover:u,optionTextColor:n,optionTextColorActive:a,optionTextColorDisabled:s,optionCheckMarkColor:a,loadingColor:a,columnWidth:"180px"}},cY={name:"Cascader",common:ke,peers:{InternalSelectMenu:Jn,InternalSelection:Za,Scrollbar:Pt,Checkbox:Fo,Empty:_r},self:Xf};var B5={name:"Cascader",common:L,peers:{InternalSelectMenu:Zr,InternalSelection:ri,Scrollbar:bt,Checkbox:Jr,Empty:_r},self:Xf},Yf=B5;var O1=x("svg",{viewBox:"0 0 64 64",class:"check-icon"},x("path",{d:"M50.42,16.76L22.34,39.45l-8.1-11.46c-1.12-1.58-3.3-1.96-4.88-0.84c-1.58,1.12-1.95,3.3-0.84,4.88l10.26,14.51 c0.56,0.79,1.42,1.31,2.38,1.45c0.16,0.02,0.32,0.03,0.48,0.03c0.8,0,1.57-0.27,2.2-0.78l30.99-25.03c1.5-1.21,1.74-3.42,0.52-4.92 C54.13,15.78,51.93,15.55,50.42,16.76z"}));var P1=x("svg",{viewBox:"0 0 100 100",class:"line-icon"},x("path",{d:"M80.2,55.5H21.4c-2.8,0-5.1-2.5-5.1-5.5l0,0c0-3,2.3-5.5,5.1-5.5h58.7c2.8,0,5.1,2.5,5.1,5.5l0,0C85.2,53.1,82.9,55.5,80.2,55.5z"}));var Zf="n-checkbox-group",$5={min:Number,max:Number,size:String,value:Array,defaultValue:{type:Array,default:null},disabled:{type:Boolean,default:void 0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onChange:{type:[Function,Array],validator:()=>!0,default:void 0}},IY=me({name:"CheckboxGroup",props:$5,setup(e){let{mergedClsPrefixRef:t}=Wt(e),r=Mr(e),{mergedSizeRef:o,mergedDisabledRef:n}=r,i=G(e.defaultValue),a=F(()=>e.value),s=cr(a,i),l=F(()=>{var d;return((d=s.value)===null||d===void 0?void 0:d.length)||0}),u=F(()=>Array.isArray(s.value)?new Set(s.value):new Set);function c(d,p){let{nTriggerFormInput:f,nTriggerFormChange:h}=r,{onChange:g,"onUpdate:value":E,onUpdateValue:b}=e;if(Array.isArray(s.value)){let I=Array.from(s.value),P=I.findIndex(C=>C===p);d?~P||(I.push(p),b&&Ne(b,I),E&&Ne(E,I),f(),h(),i.value=I,g&&Ne(g,I)):~P&&(I.splice(P,1),b&&Ne(b,I),E&&Ne(E,I),g&&Ne(g,I),i.value=I,f(),h())}else d?(b&&Ne(b,[p]),E&&Ne(E,[p]),g&&Ne(g,[p]),i.value=[p],f(),h()):(b&&Ne(b,[]),E&&Ne(E,[]),g&&Ne(g,[]),i.value=[],f(),h())}return Zt(Zf,{checkedCountRef:l,maxRef:Be(e,"max"),minRef:Be(e,"min"),valueSetRef:u,disabledRef:n,mergedSizeRef:o,toggleCheckbox:c}),{mergedClsPrefix:t}},render(){return x("div",{class:`${this.mergedClsPrefix}-checkbox-group`,role:"group"},this.$slots)}});var R1=ee([U("checkbox",`
line-height: var(--n-label-line-height);
font-size: var(--n-font-size);
outline: none;
cursor: pointer;
display: inline-flex;
flex-wrap: nowrap;
align-items: flex-start;
word-break: break-word;
--n-merged-color-table: var(--n-color-table);
`,[ee("&:hover",[U("checkbox-box",[te("border",{border:"var(--n-border-checked)"})])]),ee("&:focus:not(:active)",[U("checkbox-box",[te("border",`
border: var(--n-border-focus);
box-shadow: var(--n-box-shadow-focus);
`)])]),Te("inside-table",[U("checkbox-box",`
background-color: var(--n-merged-color-table);
`)]),Te("checked",[U("checkbox-box",`
background-color: var(--n-color-checked);
`,[U("checkbox-icon",[ee(".check-icon",`
opacity: 1;
transform: scale(1);
`)])])]),Te("indeterminate",[U("checkbox-box",[U("checkbox-icon",[ee(".check-icon",`
opacity: 0;
transform: scale(.5);
`),ee(".line-icon",`
opacity: 1;
transform: scale(1);
`)])])]),Te("checked, indeterminate",[ee("&:focus:not(:active)",[U("checkbox-box",[te("border",`
border: var(--n-border-checked);
box-shadow: var(--n-box-shadow-focus);
`)])]),U("checkbox-box",`
background-color: var(--n-color-checked);
border-left: 0;
border-top: 0;
`,[te("border",{border:"var(--n-border-checked)"})])]),Te("disabled",{cursor:"not-allowed"},[Te("checked",[U("checkbox-box",`
background-color: var(--n-color-disabled-checked);
`,[te("border",{border:"var(--n-border-disabled-checked)"}),U("checkbox-icon",[ee(".check-icon, .line-icon",{fill:"var(--n-check-mark-color-disabled-checked)"})])])]),U("checkbox-box",`
background-color: var(--n-color-disabled);
`,[te("border",{border:"var(--n-border-disabled)"}),U("checkbox-icon",[ee(".check-icon, .line-icon",{fill:"var(--n-check-mark-color-disabled)"})])]),te("label",{color:"var(--n-text-color-disabled)"})]),U("checkbox-box-wrapper",`
position: relative;
width: var(--n-size);
flex-shrink: 0;
flex-grow: 0;
`),U("checkbox-box",`
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
height: var(--n-size);
width: var(--n-size);
display: inline-block;
box-sizing: border-box;
border-radius: var(--n-border-radius);
background-color: var(--n-color);
transition: background-color 0.3s var(--n-bezier);
`,[te("border",`
transition:
border-color .3s var(--n-bezier),
box-shadow .3s var(--n-bezier);
border-radius: inherit;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
border: var(--n-border);
`),U("checkbox-icon",`
display: flex;
align-items: center;
justify-content: center;
position: absolute;
left: 1px;
right: 1px;
top: 1px;
bottom: 1px;
`,[ee(".check-icon, .line-icon",`
width: 100%;
fill: var(--n-check-mark-color);
opacity: 0;
transform: scale(0.5);
transform-origin: center;
transition:
fill 0.3s var(--n-bezier),
transform 0.3s var(--n-bezier),
opacity 0.3s var(--n-bezier),
border-color 0.3s var(--n-bezier);
`),Er({left:"1px",top:"1px"})])]),te("label",`
color: var(--n-text-color);
transition: color .3s var(--n-bezier);
user-select: none;
padding: var(--n-label-padding);
`,[ee("&:empty",{display:"none"})])]),Dl(U("checkbox",`
--n-merged-color-table: var(--n-color-table-modal);
`)),Nl(U("checkbox",`
--n-merged-color-table: var(--n-color-table-popover);
`))]);var H5=Object.assign(Object.assign({},Nt.props),{size:String,checked:{type:[Boolean,String,Number],default:void 0},defaultChecked:{type:[Boolean,String,Number],default:!1},value:[String,Number],disabled:{type:Boolean,default:void 0},indeterminate:Boolean,label:String,focusable:{type:Boolean,default:!0},checkedValue:{type:[Boolean,String,Number],default:!0},uncheckedValue:{type:[Boolean,String,Number],default:!1},"onUpdate:checked":[Function,Array],onUpdateChecked:[Function,Array],privateInsideTable:Boolean,onChange:[Function,Array]}),Qf=me({name:"Checkbox",props:H5,setup(e){let t=G(null),{mergedClsPrefixRef:r,inlineThemeDisabled:o,mergedRtlRef:n}=Wt(e),i=Mr(e,{mergedSize(M){let{size:v}=e;if(v!==void 0)return v;if(l){let{value:T}=l.mergedSizeRef;if(T!==void 0)return T}if(M){let{mergedSize:T}=M;if(T!==void 0)return T.value}return"medium"},mergedDisabled(M){let{disabled:v}=e;if(v!==void 0)return v;if(l){if(l.disabledRef.value)return!0;let{maxRef:{value:T},checkedCountRef:$}=l;if(T!==void 0&&$.value>=T&&!p.value)return!0;let{minRef:{value:N}}=l;if(N!==void 0&&$.value<=N&&p.value)return!0}return M?M.disabled.value:!1}}),{mergedDisabledRef:a,mergedSizeRef:s}=i,l=De(Zf,null),u=G(e.defaultChecked),c=Be(e,"checked"),d=cr(c,u),p=nt(()=>{if(l){let M=l.valueSetRef.value;return M&&e.value!==void 0?M.has(e.value):!1}else return d.value===e.checkedValue}),f=Nt("Checkbox","-checkbox",R1,Fo,e,r);function h(M){if(l&&e.value!==void 0)l.toggleCheckbox(!p.value,e.value);else{let{onChange:v,"onUpdate:checked":T,onUpdateChecked:$}=e,{nTriggerFormInput:N,nTriggerFormChange:Z}=i,R=p.value?e.uncheckedValue:e.checkedValue;T&&Ne(T,R,M),$&&Ne($,R,M),v&&Ne(v,R,M),N(),Z(),u.value=R}}function g(M){a.value||h(M)}function E(M){if(!a.value)switch(M.code){case"Space":case"Enter":case"NumpadEnter":h(M)}}function b(M){switch(M.code){case"Space":M.preventDefault()}}let I={focus:()=>{var M;(M=t.value)===null||M===void 0||M.focus()},blur:()=>{var M;(M=t.value)===null||M===void 0||M.blur()}},P=ei("Checkbox",n,r),C=F(()=>{let{value:M}=s,{common:{cubicBezierEaseInOut:v},self:{borderRadius:T,color:$,colorChecked:N,colorDisabled:Z,colorTableHeader:R,colorTableHeaderModal:z,colorTableHeaderPopover:re,checkMarkColor:ve,checkMarkColorDisabled:ce,border:le,borderFocus:be,borderDisabled:Ae,borderChecked:ze,boxShadowFocus:Fe,textColor:at,textColorDisabled:Ke,checkMarkColorDisabledChecked:Xe,colorDisabledChecked:ot,borderDisabledChecked:Ge,labelPadding:Je,labelLineHeight:pt,[He("fontSize",M)]:$e,[He("size",M)]:ht}}=f.value;return{"--n-label-line-height":pt,"--n-size":ht,"--n-bezier":v,"--n-border-radius":T,"--n-border":le,"--n-border-checked":ze,"--n-border-focus":be,"--n-border-disabled":Ae,"--n-border-disabled-checked":Ge,"--n-box-shadow-focus":Fe,"--n-color":$,"--n-color-checked":N,"--n-color-table":R,"--n-color-table-modal":z,"--n-color-table-popover":re,"--n-color-disabled":Z,"--n-color-disabled-checked":ot,"--n-text-color":at,"--n-text-color-disabled":Ke,"--n-check-mark-color":ve,"--n-check-mark-color-disabled":ce,"--n-check-mark-color-disabled-checked":Xe,"--n-font-size":$e,"--n-label-padding":Je}}),_=o?sr("checkbox",F(()=>s.value[0]),C,e):void 0;return Object.assign(i,I,{rtlEnabled:P,selfRef:t,mergedClsPrefix:r,mergedDisabled:a,renderedChecked:p,mergedTheme:f,labelId:Dd(),handleClick:g,handleKeyUp:E,handleKeyDown:b,cssVars:o?void 0:C,themeClass:_?.themeClass,onRender:_?.onRender})},render(){var e;let{$slots:t,renderedChecked:r,mergedDisabled:o,indeterminate:n,privateInsideTable:i,cssVars:a,labelId:s,label:l,mergedClsPrefix:u,focusable:c,handleKeyUp:d,handleKeyDown:p,handleClick:f}=this;return(e=this.onRender)===null||e===void 0||e.call(this),x("div",{ref:"selfRef",class:[`${u}-checkbox`,this.themeClass,this.rtlEnabled&&`${u}-checkbox--rtl`,r&&`${u}-checkbox--checked`,o&&`${u}-checkbox--disabled`,n&&`${u}-checkbox--indeterminate`,i&&`${u}-checkbox--inside-table`],tabindex:o||!c?void 0:0,role:"checkbox","aria-checked":n?"mixed":r,"aria-labelledby":s,style:a,onKeyup:d,onKeydown:p,onClick:f,onMousedown:()=>{St("selectstart",window,h=>{h.preventDefault()},{once:!0})}},x("div",{class:`${u}-checkbox-box-wrapper`},"\xA0",x("div",{class:`${u}-checkbox-box`},x(Hr,null,{default:()=>this.indeterminate?x("div",{key:"indeterminate",class:`${u}-checkbox-icon`},P1):x("div",{key:"check",class:`${u}-checkbox-icon`},O1)}),x("div",{class:`${u}-checkbox-box__border`}))),l!==null||t.default?x("span",{class:`${u}-checkbox__label`,id:s},t.default?t.default():l):null)}});var F5={name:"Code",common:L,self(e){let{textColor2:t,fontSize:r,fontWeightStrong:o}=e;return{textColor:t,fontSize:r,fontWeightStrong:o,"mono-3":"#5c6370","hue-1":"#56b6c2","hue-2":"#61aeee","hue-3":"#c678dd","hue-4":"#98c379","hue-5":"#e06c75","hue-5-2":"#be5046","hue-6":"#d19a66","hue-6-2":"#e6c07b"}}},rs=F5;var M1=e=>{let{fontWeight:t,textColor1:r,textColor2:o,dividerColor:n,fontSize:i}=e;return{titleFontSize:i,titleFontWeight:t,dividerColor:n,titleTextColor:r,fontSize:i,textColor:o,arrowColor:o}};var z5={name:"Collapse",common:L,self:M1},Jf=z5;var B1=e=>{let{cubicBezierEaseInOut:t}=e;return{bezier:t}};var V5={name:"CollapseTransition",common:L,self:B1},ep=V5;var $1={abstract:Boolean,bordered:{type:Boolean,default:void 0},clsPrefix:String,locale:Object,dateLocale:Object,namespace:String,rtl:Array,tag:{type:String,default:"div"},hljs:Object,theme:Object,themeOverrides:Object,componentOptions:Object,icons:Object,breakpoints:Object,inlineThemeDisabled:{type:Boolean,default:void 0},as:{type:String,validator:()=>(Cl("config-provider","`as` is deprecated, please use `tag` instead."),!0),default:void 0}},tp=me({name:"ConfigProvider",alias:["App"],props:$1,setup(e){let t=De(dr,null),r=F(()=>{let{theme:f}=e;if(f===null)return;let h=t?.mergedThemeRef.value;return f===void 0?h:h===void 0?f:Object.assign({},h,f)}),o=F(()=>{let{themeOverrides:f}=e;if(f!==null){if(f===void 0)return t?.mergedThemeOverridesRef.value;{let h=t?.mergedThemeOverridesRef.value;return h===void 0?f:xn({},h,f)}}}),n=nt(()=>{let{namespace:f}=e;return f===void 0?t?.mergedNamespaceRef.value:f}),i=nt(()=>{let{bordered:f}=e;return f===void 0?t?.mergedBorderedRef.value:f}),a=F(()=>{let{icons:f}=e;return f===void 0?t?.mergedIconsRef.value:f}),s=F(()=>{let{componentOptions:f}=e;return f!==void 0?f:t?.mergedComponentPropsRef.value}),l=F(()=>{let{clsPrefix:f}=e;return f!==void 0?f:t?.mergedClsPrefixRef.value}),u=F(()=>{var f;let{rtl:h}=e;if(h===void 0)return t?.mergedRtlRef.value;let g={};for(let E of h)g[E.name]=On(E),(f=E.peers)===null||f===void 0||f.forEach(b=>{b.name in g||(g[b.name]=On(b))});return g}),c=F(()=>e.breakpoints||t?.mergedBreakpointsRef.value),d=e.inlineThemeDisabled||t?.inlineThemeDisabled,p=F(()=>{let{value:f}=r,{value:h}=o,g=h&&Object.keys(h).length!==0,E=f?.name;return E?g?`${E}-${Sr(JSON.stringify(o.value))}`:E:g?Sr(JSON.stringify(o.value)):""});return Zt(dr,{mergedThemeHashRef:p,mergedBreakpointsRef:c,mergedRtlRef:u,mergedIconsRef:a,mergedComponentPropsRef:s,mergedBorderedRef:i,mergedNamespaceRef:n,mergedClsPrefixRef:l,mergedLocaleRef:F(()=>{let{locale:f}=e;if(f!==null)return f===void 0?t?.mergedLocaleRef.value:f}),mergedDateLocaleRef:F(()=>{let{dateLocale:f}=e;if(f!==null)return f===void 0?t?.mergedDateLocaleRef.value:f}),mergedHljsRef:F(()=>{let{hljs:f}=e;return f===void 0?t?.mergedHljsRef.value:f}),mergedThemeRef:r,mergedThemeOverridesRef:o,inlineThemeDisabled:d||!1}),{mergedClsPrefix:l,mergedBordered:i,mergedNamespace:n,mergedTheme:r,mergedThemeOverrides:o}},render(){var e,t,r,o;return this.abstract?(o=(r=this.$slots).default)===null||o===void 0?void 0:o.call(r):x(this.as||this.tag,{class:`${this.mergedClsPrefix||uu}-config-provider`},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}});function rp(e){let{boxShadow2:t}=e;return{menuBoxShadow:t}}var j5={name:"Select",common:ke,peers:{InternalSelection:Za,InternalSelectMenu:Jn},self:rp},op=j5;var W5={name:"Select",common:L,peers:{InternalSelection:ri,InternalSelectMenu:Zr},self:rp},os=W5;var H1={itemSize:"28px",itemPadding:"0 4px",itemMargin:"0 0 0 8px",itemMarginRtl:"0 8px 0 0",buttonIconSize:"16px",inputWidth:"60px",selectWidth:"unset",inputMargin:"0 0 0 8px",inputMarginRtl:"0 8px 0 0",selectMargin:"0 0 0 8px",prefixMargin:"0 8px 0 0",suffixMargin:"0 0 0 8px",jumperFontSize:"14px"};var np=e=>{let{textColor2:t,primaryColor:r,primaryColorHover:o,primaryColorPressed:n,inputColorDisabled:i,textColorDisabled:a,borderColor:s,borderRadius:l,fontSize:u}=e;return Object.assign(Object.assign({},H1),{buttonColor:"#0000",buttonColorHover:"#0000",buttonColorPressed:"#0000",buttonBorder:`1px solid ${s}`,buttonBorderHover:`1px solid ${s}`,buttonBorderPressed:`1px solid ${s}`,buttonIconColor:t,buttonIconColorHover:t,buttonIconColorPressed:t,itemTextColor:t,itemTextColorHover:o,itemTextColorPressed:n,itemTextColorActive:r,itemTextColorDisabled:a,itemColor:"#0000",itemColorHover:"#0000",itemColorPressed:"#0000",itemColorActive:"#0000",itemColorActiveHover:"#0000",itemColorDisabled:i,itemBorder:"1px solid #0000",itemBorderHover:"1px solid #0000",itemBorderPressed:"1px solid #0000",itemBorderActive:`1px solid ${r}`,itemBorderDisabled:`1px solid ${s}`,itemBorderRadius:l,itemFontSize:u,jumperTextColor:t,jumperTextColorDisabled:a})},q5={name:"Pagination",common:ke,peers:{Select:op,Input:Dr},self:np},ip=q5;var U5={name:"Pagination",common:L,peers:{Select:os,Input:Et},self(e){let{primaryColor:t,opacity3:r}=e,o=ie(t,{alpha:Number(r)}),n=np(e);return n.itemBorderActive=`1px solid ${o}`,n.itemBorderDisabled="1px solid #0000",n}},ns=U5;var _u={padding:"8px 14px"};var K5={name:"Tooltip",common:L,peers:{Popover:fr},self(e){let{borderRadius:t,boxShadow2:r,popoverColor:o,textColor2:n}=e;return Object.assign(Object.assign({},_u),{borderRadius:t,boxShadow:r,color:o,textColor:n})}},ko=K5;var G5=e=>{let{borderRadius:t,boxShadow2:r,baseColor:o}=e;return Object.assign(Object.assign({},_u),{borderRadius:t,boxShadow:r,color:Se(o,"rgba(0, 0, 0, .85)"),textColor:o})},X5={name:"Tooltip",common:ke,peers:{Popover:Qr},self:G5},is=X5;var Y5={name:"Ellipsis",common:L,peers:{Tooltip:ko}},as=Y5;var Z5={name:"Ellipsis",common:ke,peers:{Tooltip:is}},ap=Z5;var Tu={radioSizeSmall:"14px",radioSizeMedium:"16px",radioSizeLarge:"18px",labelPadding:"0 8px"};var Q5={name:"Radio",common:L,self(e){let{borderColor:t,primaryColor:r,baseColor:o,textColorDisabled:n,inputColorDisabled:i,textColor2:a,opacityDisabled:s,borderRadius:l,fontSizeSmall:u,fontSizeMedium:c,fontSizeLarge:d,heightSmall:p,heightMedium:f,heightLarge:h,lineHeight:g}=e;return Object.assign(Object.assign({},Tu),{labelLineHeight:g,buttonHeightSmall:p,buttonHeightMedium:f,buttonHeightLarge:h,fontSizeSmall:u,fontSizeMedium:c,fontSizeLarge:d,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${r}`,boxShadowFocus:`inset 0 0 0 1px ${r}, 0 0 0 2px ${ie(r,{alpha:.3})}`,boxShadowHover:`inset 0 0 0 1px ${r}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:"#0000",colorDisabled:i,textColor:a,textColorDisabled:n,dotColorActive:r,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:r,buttonBorderColorHover:r,buttonColor:"#0000",buttonColorActive:r,buttonTextColor:a,buttonTextColorActive:o,buttonTextColorHover:r,opacityDisabled:s,buttonBoxShadowFocus:`inset 0 0 0 1px ${r}, 0 0 0 2px ${ie(r,{alpha:.3})}`,buttonBoxShadowHover:`inset 0 0 0 1px ${r}`,buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})}},ss=Q5;var J5=e=>{let{borderColor:t,primaryColor:r,baseColor:o,textColorDisabled:n,inputColorDisabled:i,textColor2:a,opacityDisabled:s,borderRadius:l,fontSizeSmall:u,fontSizeMedium:c,fontSizeLarge:d,heightSmall:p,heightMedium:f,heightLarge:h,lineHeight:g}=e;return Object.assign(Object.assign({},Tu),{labelLineHeight:g,buttonHeightSmall:p,buttonHeightMedium:f,buttonHeightLarge:h,fontSizeSmall:u,fontSizeMedium:c,fontSizeLarge:d,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${r}`,boxShadowFocus:`inset 0 0 0 1px ${r}, 0 0 0 2px ${ie(r,{alpha:.2})}`,boxShadowHover:`inset 0 0 0 1px ${r}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:o,colorDisabled:i,textColor:a,textColorDisabled:n,dotColorActive:r,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:r,buttonBorderColorHover:t,buttonColor:o,buttonColorActive:o,buttonTextColor:a,buttonTextColorActive:r,buttonTextColorHover:r,opacityDisabled:s,buttonBoxShadowFocus:`inset 0 0 0 1px ${r}, 0 0 0 2px ${ie(r,{alpha:.3})}`,buttonBoxShadowHover:"inset 0 0 0 1px #0000",buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})},e8={name:"Radio",common:ke,self:J5},sp=e8;var F1={thPaddingSmall:"8px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"8px",tdPaddingMedium:"12px",tdPaddingLarge:"12px",sorterSize:"15px",filterSize:"15px",paginationMargin:"12px 0 0 0",emptyPadding:"48px 0",actionPadding:"8px 12px",actionButtonMargin:"0 8px 0 0"};var lp=e=>{let{cardColor:t,modalColor:r,popoverColor:o,textColor2:n,textColor1:i,tableHeaderColor:a,tableColorHover:s,iconColor:l,primaryColor:u,fontWeightStrong:c,borderRadius:d,lineHeight:p,fontSizeSmall:f,fontSizeMedium:h,fontSizeLarge:g,dividerColor:E,heightSmall:b,opacityDisabled:I,tableColorStriped:P}=e;return Object.assign(Object.assign({},F1),{actionDividerColor:E,lineHeight:p,borderRadius:d,fontSizeSmall:f,fontSizeMedium:h,fontSizeLarge:g,borderColor:Se(t,E),tdColorHover:Se(t,s),tdColorStriped:Se(t,P),thColor:Se(t,a),thColorHover:Se(Se(t,a),s),tdColor:t,tdTextColor:n,thTextColor:i,thFontWeight:c,thButtonColorHover:s,thIconColor:l,thIconColorActive:u,borderColorModal:Se(r,E),tdColorHoverModal:Se(r,s),tdColorStripedModal:Se(r,P),thColorModal:Se(r,a),thColorHoverModal:Se(Se(r,a),s),tdColorModal:r,borderColorPopover:Se(o,E),tdColorHoverPopover:Se(o,s),tdColorStripedPopover:Se(o,P),thColorPopover:Se(o,a),thColorHoverPopover:Se(Se(o,a),s),tdColorPopover:o,boxShadowBefore:"inset -12px 0 8px -12px rgba(0, 0, 0, .18)",boxShadowAfter:"inset 12px 0 8px -12px rgba(0, 0, 0, .18)",loadingColor:u,loadingSize:b,opacityLoading:I})},UQ={name:"DataTable",common:ke,peers:{Button:Ft,Checkbox:Fo,Radio:sp,Pagination:ip,Scrollbar:Pt,Empty:_r,Popover:Qr,Ellipsis:ap},self:lp};var t8={name:"DataTable",common:L,peers:{Button:xt,Checkbox:Jr,Radio:ss,Pagination:ns,Scrollbar:bt,Empty:Tr,Popover:fr,Ellipsis:as},self(e){let t=lp(e);return t.boxShadowAfter="inset 12px 0 8px -12px rgba(0, 0, 0, .36)",t.boxShadowBefore="inset -12px 0 8px -12px rgba(0, 0, 0, .36)",t}},up=t8;var z1={padding:"4px 0",optionIconSizeSmall:"14px",optionIconSizeMedium:"16px",optionIconSizeLarge:"16px",optionIconSizeHuge:"18px",optionSuffixWidthSmall:"14px",optionSuffixWidthMedium:"14px",optionSuffixWidthLarge:"16px",optionSuffixWidthHuge:"16px",optionIconSuffixWidthSmall:"32px",optionIconSuffixWidthMedium:"32px",optionIconSuffixWidthLarge:"36px",optionIconSuffixWidthHuge:"36px",optionPrefixWidthSmall:"14px",optionPrefixWidthMedium:"14px",optionPrefixWidthLarge:"16px",optionPrefixWidthHuge:"16px",optionIconPrefixWidthSmall:"36px",optionIconPrefixWidthMedium:"36px",optionIconPrefixWidthLarge:"40px",optionIconPrefixWidthHuge:"40px"};var cp=e=>{let{primaryColor:t,textColor2:r,dividerColor:o,hoverColor:n,popoverColor:i,invertedColor:a,borderRadius:s,fontSizeSmall:l,fontSizeMedium:u,fontSizeLarge:c,fontSizeHuge:d,heightSmall:p,heightMedium:f,heightLarge:h,heightHuge:g,textColor3:E,opacityDisabled:b}=e;return Object.assign(Object.assign({},z1),{optionHeightSmall:p,optionHeightMedium:f,optionHeightLarge:h,optionHeightHuge:g,borderRadius:s,fontSizeSmall:l,fontSizeMedium:u,fontSizeLarge:c,fontSizeHuge:d,optionTextColor:r,optionTextColorHover:r,optionTextColorActive:t,optionTextColorChildActive:t,color:i,dividerColor:o,suffixColor:r,prefixColor:r,optionColorHover:n,optionColorActive:ie(t,{alpha:.1}),groupHeaderTextColor:E,optionTextColorInverted:"#BBB",optionTextColorHoverInverted:"#FFF",optionTextColorActiveInverted:"#FFF",optionTextColorChildActiveInverted:"#FFF",colorInverted:a,dividerColorInverted:"#BBB",suffixColorInverted:"#BBB",prefixColorInverted:"#BBB",optionColorHoverInverted:t,optionColorActiveInverted:t,groupHeaderTextColorInverted:"#AAA",optionOpacityDisabled:b})},r8={name:"Dropdown",common:ke,peers:{Popover:Qr},self:cp},dp=r8;var o8={name:"Dropdown",common:L,peers:{Popover:fr},self(e){let{primaryColorSuppl:t,primaryColor:r,popoverColor:o}=e,n=cp(e);return n.colorInverted=o,n.optionColorActive=ie(r,{alpha:.15}),n.optionColorActiveInverted=t,n.optionColorHoverInverted=t,n}},ls=o8;var V1=e=>{let{textColorBase:t,opacity1:r,opacity2:o,opacity3:n,opacity4:i,opacity5:a}=e;return{color:t,opacity1Depth:r,opacity2Depth:o,opacity3Depth:n,opacity4Depth:i,opacity5Depth:a}};var n8={name:"Icon",common:L,self:V1},fp=n8;var j1={itemFontSize:"12px",itemHeight:"36px",itemWidth:"52px",panelActionPadding:"8px 0"};var pp=e=>{let{popoverColor:t,textColor2:r,primaryColor:o,hoverColor:n,dividerColor:i,opacityDisabled:a,boxShadow2:s,borderRadius:l,iconColor:u,iconColorDisabled:c}=e;return Object.assign(Object.assign({},j1),{panelColor:t,panelBoxShadow:s,panelDividerColor:i,itemTextColor:r,itemTextColorActive:o,itemColorHover:n,itemOpacityDisabled:a,itemBorderRadius:l,borderRadius:l,iconColor:u,iconColorDisabled:c})},i8={name:"TimePicker",common:ke,peers:{Scrollbar:Pt,Button:Ft,Input:Dr},self:pp},hp=i8;var a8={name:"TimePicker",common:L,peers:{Scrollbar:bt,Button:xt,Input:Et},self:pp},us=a8;var W1={itemSize:"24px",itemCellWidth:"38px",itemCellHeight:"32px",scrollItemWidth:"80px",scrollItemHeight:"40px",panelExtraFooterPadding:"8px 12px",panelActionPadding:"8px 12px",calendarTitlePadding:"0",calendarTitleHeight:"28px",arrowSize:"14px",panelHeaderPadding:"8px 12px",calendarDaysHeight:"32px",calendarTitleGridTempateColumns:"28px 28px 1fr 28px 28px",calendarLeftPaddingDate:"6px 12px 4px 12px",calendarLeftPaddingDatetime:"4px 12px",calendarLeftPaddingDaterange:"6px 12px 4px 12px",calendarLeftPaddingDatetimerange:"4px 12px",calendarLeftPaddingMonth:"0",calendarLeftPaddingYear:"0",calendarLeftPaddingQuarter:"0",calendarRightPaddingDate:"6px 12px 4px 12px",calendarRightPaddingDatetime:"4px 12px",calendarRightPaddingDaterange:"6px 12px 4px 12px",calendarRightPaddingDatetimerange:"4px 12px",calendarRightPaddingMonth:"0",calendarRightPaddingYear:"0",calendarRightPaddingQuarter:"0"};var mp=e=>{let{hoverColor:t,fontSize:r,textColor2:o,textColorDisabled:n,popoverColor:i,primaryColor:a,borderRadiusSmall:s,iconColor:l,iconColorDisabled:u,textColor1:c,dividerColor:d,boxShadow2:p,borderRadius:f,fontWeightStrong:h}=e;return Object.assign(Object.assign({},W1),{itemFontSize:r,calendarDaysFontSize:r,calendarTitleFontSize:r,itemTextColor:o,itemTextColorDisabled:n,itemTextColorActive:i,itemTextColorCurrent:a,itemColorIncluded:ie(a,{alpha:.1}),itemColorHover:t,itemColorDisabled:t,itemColorActive:a,itemBorderRadius:s,panelColor:i,panelTextColor:o,arrowColor:l,calendarTitleTextColor:c,calendarTitleColorHover:t,calendarDaysTextColor:o,panelHeaderDividerColor:d,calendarDaysDividerColor:d,calendarDividerColor:d,panelActionDividerColor:d,panelBoxShadow:p,panelBorderRadius:f,calendarTitleFontWeight:h,scrollItemBorderRadius:f,iconColor:l,iconColorDisabled:u})},ZJ={name:"DatePicker",common:ke,peers:{Input:Dr,Button:Ft,TimePicker:hp,Scrollbar:Pt},self:mp};var s8={name:"DatePicker",common:L,peers:{Input:Et,Button:xt,TimePicker:us,Scrollbar:bt},self(e){let{popoverColor:t,hoverColor:r,primaryColor:o}=e,n=mp(e);return n.itemColorDisabled=Se(t,r),n.itemColorIncluded=ie(o,{alpha:.15}),n.itemColorHover=Se(t,r),n}},gp=s8;var q1={thPaddingBorderedSmall:"8px 12px",thPaddingBorderedMedium:"12px 16px",thPaddingBorderedLarge:"16px 24px",thPaddingSmall:"0",thPaddingMedium:"0",thPaddingLarge:"0",tdPaddingBorderedSmall:"8px 12px",tdPaddingBorderedMedium:"12px 16px",tdPaddingBorderedLarge:"16px 24px",tdPaddingSmall:"0 0 8px 0",tdPaddingMedium:"0 0 12px 0",tdPaddingLarge:"0 0 16px 0"};var U1=e=>{let{tableHeaderColor:t,textColor2:r,textColor1:o,cardColor:n,modalColor:i,popoverColor:a,dividerColor:s,borderRadius:l,fontWeightStrong:u,lineHeight:c,fontSizeSmall:d,fontSizeMedium:p,fontSizeLarge:f}=e;return Object.assign(Object.assign({},q1),{lineHeight:c,fontSizeSmall:d,fontSizeMedium:p,fontSizeLarge:f,titleTextColor:o,thColor:Se(n,t),thColorModal:Se(i,t),thColorPopover:Se(a,t),thTextColor:o,thFontWeight:u,tdTextColor:r,tdColor:n,tdColorModal:i,tdColorPopover:a,borderColor:Se(n,s),borderColorModal:Se(i,s),borderColorPopover:Se(a,s),borderRadius:l})};var l8={name:"Descriptions",common:L,self:U1},bp=l8;var K1={titleFontSize:"18px",padding:"16px 28px 20px 28px",iconSize:"28px",actionSpace:"12px",contentMargin:"8px 0 16px 0",iconMargin:"0 4px 0 0",iconMarginIconTop:"4px 0 8px 0",closeSize:"18px",closeMargin:"22px 28px 0 0",closeMarginIconTop:"12px 18px 0 0"};var xp=e=>{let{textColor1:t,textColor2:r,modalColor:o,closeColor:n,closeColorHover:i,closeColorPressed:a,infoColor:s,successColor:l,warningColor:u,errorColor:c,primaryColor:d,dividerColor:p,borderRadius:f,fontWeightStrong:h,lineHeight:g,fontSize:E}=e;return Object.assign(Object.assign({},K1),{fontSize:E,lineHeight:g,border:`1px solid ${p}`,titleTextColor:t,textColor:r,color:o,closeColor:n,closeColorHover:i,closeColorPressed:a,iconColor:d,iconColorInfo:s,iconColorSuccess:l,iconColorWarning:u,iconColorError:c,borderRadius:f,titleFontWeight:h})},u8={name:"Dialog",common:ke,peers:{Button:Ft},self:xp},vp=u8;var c8={name:"Dialog",common:L,peers:{Button:xt},self:xp},cs=c8;var yp=e=>{let{modalColor:t,textColor2:r,boxShadow3:o}=e;return{color:t,textColor:r,boxShadow:o}},Pee={name:"Modal",common:ke,peers:{Scrollbar:Pt,Dialog:vp,Card:Uf},self:yp};var d8={name:"Modal",common:L,peers:{Scrollbar:bt,Dialog:cs,Card:ts},self:yp},wp=d8;var G1=e=>{let{textColor1:t,dividerColor:r,fontWeightStrong:o}=e;return{textColor:t,color:r,fontWeight:o}};var f8={name:"Divider",common:L,self:G1},Cp=f8;var kp=e=>{let{modalColor:t,textColor1:r,textColor2:o,boxShadow3:n,lineHeight:i,fontWeightStrong:a,dividerColor:s,closeColor:l,closeColorHover:u,closeColorPressed:c}=e;return{bodyPadding:"16px 24px",headerPadding:"16px 24px",footerPadding:"16px 24px",color:t,textColor:o,titleTextColor:r,titleFontSize:"18px",titleFontWeight:a,boxShadow:n,lineHeight:i,headerBorderBottom:`1px solid ${s}`,footerBorderTop:`1px solid ${s}`,closeColor:l,closeColorHover:u,closeColorPressed:c,closeSize:"18px"}},Qee={name:"Drawer",common:ke,peers:{Scrollbar:Pt},self:kp};var p8={name:"Drawer",common:L,peers:{Scrollbar:bt},self:kp},Sp=p8;var X1={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"};var h8={name:"DynamicInput",common:L,peers:{Input:Et,Button:xt},self(){return X1}},Ep=h8;var Y1={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"};var m8={name:"Space",self(){return Y1}},ds=m8;var g8={name:"DynamicTags",common:L,peers:{Input:Et,Button:xt,Tag:Ya,Space:ds},self(){return{inputWidth:"64px"}}},_p=g8;var b8={name:"Element",common:L},Tp=b8;var Z1={feedbackPadding:"4px 0 0 2px",feedbackHeightSmall:"24px",feedbackHeightMedium:"24px",feedbackHeightLarge:"26px",feedbackFontSizeSmall:"13px",feedbackFontSizeMedium:"14px",feedbackFontSizeLarge:"14px",labelFontSizeLeftSmall:"14px",labelFontSizeLeftMedium:"14px",labelFontSizeLeftLarge:"15px",labelFontSizeTopSmall:"13px",labelFontSizeTopMedium:"14px",labelFontSizeTopLarge:"14px",labelHeightSmall:"24px",labelHeightMedium:"26px",labelHeightLarge:"28px",labelPaddingVertical:"0 0 8px 2px",labelPaddingHorizontal:"0 12px 0 0",labelTextAlignVertical:"left",labelTextAlignHorizontal:"right"};var Q1=e=>{let{heightSmall:t,heightMedium:r,heightLarge:o,textColor1:n,errorColor:i,warningColor:a,lineHeight:s,textColor3:l}=e;return Object.assign(Object.assign({},Z1),{blankHeightSmall:t,blankHeightMedium:r,blankHeightLarge:o,lineHeight:s,labelTextColor:n,asteriskColor:i,feedbackTextColorError:i,feedbackTextColorWarning:a,feedbackTextColor:l})};var x8={name:"Form",common:L,self:Q1},Dp=x8;var v8={name:"GradientText",common:L,self(e){let{primaryColor:t,successColor:r,warningColor:o,errorColor:n,infoColor:i,primaryColorSuppl:a,successColorSuppl:s,warningColorSuppl:l,errorColorSuppl:u,infoColorSuppl:c,fontWeightStrong:d}=e;return{fontWeight:d,rotate:"252deg",colorStartPrimary:t,colorEndPrimary:a,colorStartInfo:i,colorEndInfo:c,colorStartWarning:o,colorEndWarning:l,colorStartError:n,colorEndError:u,colorStartSuccess:r,colorEndSuccess:s}}},Np=v8;var J1=e=>{let{primaryColor:t,baseColor:r}=e;return{color:t,iconColor:r}};var y8={name:"IconWrapper",common:L,self:J1},Ap=y8;var w8={name:"ButtonGroup",common:L},Ip=w8;var C8={name:"InputNumber",common:L,peers:{Button:xt,Input:Et},self(e){let{textColorDisabled:t}=e;return{iconColorDisabled:t}}},Lp=C8;var k8={name:"Layout",common:L,peers:{Scrollbar:bt},self(e){let{textColor2:t,bodyColor:r,popoverColor:o,cardColor:n,dividerColor:i,scrollbarColor:a,scrollbarColorHover:s}=e;return{textColor:t,textColorInverted:t,color:r,colorEmbedded:r,headerColor:n,headerColorInverted:n,footerColor:n,footerColorInverted:n,headerBorderColor:i,headerBorderColorInverted:i,footerBorderColor:i,footerBorderColorInverted:i,siderBorderColor:i,siderBorderColorInverted:i,siderColor:n,siderColorInverted:n,siderToggleButtonBorder:"1px solid transparent",siderToggleButtonColor:o,siderToggleButtonIconColor:t,siderToggleButtonIconColorInverted:t,siderToggleBarColor:Se(r,a),siderToggleBarColorHover:Se(r,s),__invertScrollbar:"false"}}},Op=k8;var ey=e=>{let{textColor2:t,cardColor:r,modalColor:o,popoverColor:n,dividerColor:i,borderRadius:a,fontSize:s}=e;return{textColor:t,color:r,colorModal:o,colorPopover:n,borderColor:i,borderColorModal:Se(o,i),borderColorPopover:Se(n,i),borderRadius:a,fontSize:s}};var S8={name:"List",common:L,self:ey},Pp=S8;var E8={name:"LoadingBar",common:L,self(e){let{primaryColor:t}=e;return{colorError:"red",colorLoading:t,height:"2px"}}},Rp=E8;var _8={name:"Log",common:L,peers:{Scrollbar:bt,Code:rs},self(e){let{textColor2:t,inputColor:r,fontSize:o,primaryColor:n}=e;return{loaderFontSize:o,loaderTextColor:t,loaderColor:r,loaderBorder:"1px solid #0000",loadingColor:n}}},Mp=_8;var T8={name:"Mention",common:L,peers:{InternalSelectMenu:Zr,Input:Et},self(e){let{boxShadow2:t}=e;return{menuBoxShadow:t}}},Bp=T8;function D8(e,t,r,o){return{itemColorHoverInverted:"#0000",itemColorActiveInverted:t,itemColorActiveHoverInverted:t,itemColorActiveCollapsedInverted:t,itemTextColorInverted:e,itemTextColorHoverInverted:r,itemTextColorChildActiveInverted:r,itemTextColorActiveInverted:r,itemTextColorActiveHoverInverted:r,itemTextColorHorizontalInverted:e,itemTextColorHoverHorizontalInverted:r,itemTextColorChildActiveHorizontalInverted:r,itemTextColorActiveHorizontalInverted:r,itemTextColorActiveHoverHorizontalInverted:r,itemIconColorInverted:e,itemIconColorHoverInverted:r,itemIconColorActiveInverted:r,itemIconColorActiveHoverInverted:r,itemIconColorChildActiveInverted:r,itemIconColorCollapsedInverted:e,itemIconColorHorizontalInverted:e,itemIconColorHoverHorizontalInverted:r,itemIconColorActiveHorizontalInverted:r,itemIconColorActiveHoverHorizontalInverted:r,itemIconColorChildActiveHorizontalInverted:r,arrowColorInverted:e,arrowColorHoverInverted:r,arrowColorActiveInverted:r,arrowColorActiveHoverInverted:r,arrowColorChildActiveInverted:r,groupTextColorInverted:o}}var $p=e=>{let{borderRadius:t,textColor3:r,primaryColor:o,textColor2:n,textColor1:i,fontSize:a,dividerColor:s,hoverColor:l,primaryColorHover:u}=e;return Object.assign({borderRadius:t,color:"#0000",groupTextColor:r,itemColorHover:l,itemColorActive:ie(o,{alpha:.1}),itemColorActiveHover:ie(o,{alpha:.1}),itemColorActiveCollapsed:ie(o,{alpha:.1}),itemTextColor:n,itemTextColorHover:n,itemTextColorActive:o,itemTextColorActiveHover:o,itemTextColorChildActive:o,itemTextColorHorizontal:n,itemTextColorHoverHorizontal:u,itemTextColorActiveHorizontal:o,itemTextColorActiveHoverHorizontal:o,itemTextColorChildActiveHorizontal:o,itemIconColor:i,itemIconColorHover:i,itemIconColorActive:o,itemIconColorActiveHover:o,itemIconColorChildActive:o,itemIconColorCollapsed:i,itemIconColorHorizontal:i,itemIconColorHoverHorizontal:u,itemIconColorActiveHorizontal:o,itemIconColorActiveHoverHorizontal:o,itemIconColorChildActiveHorizontal:o,itemHeight:"42px",arrowColor:n,arrowColorHover:n,arrowColorActive:o,arrowColorActiveHover:o,arrowColorChildActive:o,colorInverted:"#0000",borderColorHorizontal:"#0000",fontSize:a,dividerColor:s},D8("#BBB",o,"#FFF","#AAA"))},$re={name:"Menu",common:ke,peers:{Tooltip:is,Dropdown:dp},self:$p};var N8={name:"Menu",common:L,peers:{Tooltip:ko,Dropdown:ls},self(e){let{primaryColor:t,primaryColorSuppl:r}=e,o=$p(e);return o.itemColorActive=ie(t,{alpha:.15}),o.itemColorActiveHover=ie(t,{alpha:.15}),o.itemColorActiveCollapsed=ie(t,{alpha:.15}),o.itemColorActiveInverted=r,o.itemColorActiveHoverInverted=r,o.itemColorActiveCollapsedInverted=r,o}},Hp=N8;var ty={margin:"0 0 8px 0",padding:"10px 20px",maxWidth:"720px",minWidth:"420px",iconMargin:"0 10px 0 0",closeMargin:"0 0 0 12px",closeSize:"16px",iconSize:"20px",fontSize:"14px"};var ry=e=>{let{textColor2:t,closeColor:r,closeColorHover:o,closeColorPressed:n,infoColor:i,successColor:a,errorColor:s,warningColor:l,popoverColor:u,boxShadow2:c,primaryColor:d,lineHeight:p,borderRadius:f}=e;return Object.assign(Object.assign({},ty),{textColor:t,textColorInfo:t,textColorSuccess:t,textColorError:t,textColorWarning:t,textColorLoading:t,color:u,colorInfo:u,colorSuccess:u,colorError:u,colorWarning:u,colorLoading:u,boxShadow:c,boxShadowInfo:c,boxShadowSuccess:c,boxShadowError:c,boxShadowWarning:c,boxShadowLoading:c,iconColor:t,iconColorInfo:i,iconColorSuccess:a,iconColorWarning:l,iconColorError:s,iconColorLoading:d,closeColor:r,closeColorHover:o,closeColorPressed:n,closeColorInfo:r,closeColorHoverInfo:o,closeColorPressedInfo:n,closeColorSuccess:r,closeColorHoverSuccess:o,closeColorPressedSuccess:n,closeColorError:r,closeColorHoverError:o,closeColorPressedError:n,closeColorWarning:r,closeColorHoverWarning:o,closeColorPressedWarning:n,closeColorLoading:r,closeColorHoverLoading:o,closeColorPressedLoading:n,loadingColor:d,lineHeight:p,borderRadius:f})};var A8={name:"Message",common:L,self:ry},Fp=A8;var oy={closeMargin:"18px 14px",closeSize:"16px",width:"365px",padding:"16px"};var zp=e=>{let{textColor2:t,successColor:r,infoColor:o,warningColor:n,errorColor:i,popoverColor:a,closeColor:s,closeColorHover:l,textColor1:u,textColor3:c,borderRadius:d,fontWeightStrong:p,boxShadow2:f,lineHeight:h,fontSize:g}=e;return Object.assign(Object.assign({},oy),{borderRadius:d,lineHeight:h,fontSize:g,headerFontWeight:p,iconColor:t,iconColorSuccess:r,iconColorInfo:o,iconColorWarning:n,iconColorError:i,color:a,textColor:t,closeColor:s,closeColorHover:l,closeColorPressed:s,headerTextColor:u,descriptionTextColor:c,actionTextColor:t,boxShadow:f})},aoe={name:"Notification",common:ke,peers:{Scrollbar:Pt},self:zp};var I8={name:"Notification",common:L,peers:{Scrollbar:bt},self:zp},Vp=I8;var ny={titleFontSize:"18px",backSize:"22px"};function jp(e){let{textColor1:t,textColor2:r,textColor3:o,fontSize:n,fontWeightStrong:i,primaryColorHover:a,primaryColorPressed:s}=e;return Object.assign(Object.assign({},ny),{titleFontWeight:i,fontSize:n,titleTextColor:t,backColor:r,backColorHover:a,backColorPressed:s,subtitleTextColor:o})}var boe={name:"PageHeader",common:ke,self:jp};var Wp={name:"PageHeader",common:L,self:jp};var iy={iconSize:"22px"};var qp=e=>{let{fontSize:t,warningColor:r}=e;return Object.assign(Object.assign({},iy),{fontSize:t,iconColor:r})},Noe={name:"Popconfirm",common:ke,peers:{Button:Ft,Popover:Qr},self:qp};var L8={name:"Popconfirm",common:L,peers:{Button:xt,Popover:fr},self:qp},Up=L8;var O8={name:"Popselect",common:L,peers:{Popover:fr,InternalSelectMenu:Zr}},Kp=O8;var Gp=e=>{let{infoColor:t,successColor:r,warningColor:o,errorColor:n,textColor2:i,progressRailColor:a,fontSize:s,fontWeight:l}=e;return{fontSize:s,fontSizeCircle:"28px",fontWeightCircle:l,railColor:a,railHeight:"8px",iconSizeCircle:"36px",iconSizeLine:"18px",iconColor:t,iconColorInfo:t,iconColorSuccess:r,iconColorWarning:o,iconColorError:n,textColorCircle:i,textColorLineInner:"rgb(255, 255, 255)",textColorLineOuter:i,fillColor:t,fillColorInfo:t,fillColorSuccess:r,fillColorWarning:o,fillColorError:n,lineBgProcessing:"linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)"}},P8={name:"Progress",common:ke,self:Gp},Xp=P8;var R8={name:"Progress",common:L,self(e){let t=Gp(e);return t.textColorLineInner="rgb(0, 0, 0)",t.lineBgProcessing="linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)",t}},fs=R8;var M8={name:"Rate",common:L,self(e){let{railColor:t}=e;return{itemColor:t,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},Yp=M8;var ay={titleFontSizeSmall:"26px",titleFontSizeMedium:"32px",titleFontSizeLarge:"40px",titleFontSizeHuge:"48px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",iconSizeSmall:"64px",iconSizeMedium:"80px",iconSizeLarge:"100px",iconSizeHuge:"125px",iconColor418:void 0,iconColor404:void 0,iconColor403:void 0,iconColor500:void 0};var sy=e=>{let{textColor2:t,textColor1:r,errorColor:o,successColor:n,infoColor:i,warningColor:a,lineHeight:s,fontWeightStrong:l}=e;return Object.assign(Object.assign({},ay),{lineHeight:s,titleFontWeight:l,titleTextColor:r,textColor:t,iconColorError:o,iconColorSuccess:n,iconColorInfo:i,iconColorWarning:a})};var B8={name:"Result",common:L,self:sy},Zp=B8;var Du={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"};var $8={name:"Slider",common:L,self(e){let t="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:r,modalColor:o,primaryColorSuppl:n,popoverColor:i,textColor2:a,cardColor:s,borderRadius:l,fontSize:u,opacityDisabled:c}=e;return Object.assign(Object.assign({},Du),{fontSize:u,railColor:r,railColorHover:r,fillColor:n,fillColorHover:n,opacityDisabled:c,handleColor:"#FFF",dotColor:s,dotColorModal:o,dotColorPopover:i,handleBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowHover:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowActive:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowFocus:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",indicatorColor:i,indicatorBoxShadow:t,indicatorTextColor:a,indicatorBorderRadius:l,dotBorder:`2px solid ${r}`,dotBorderActive:`2px solid ${n}`,dotBoxShadow:""})}},Qp=$8;var H8=e=>{let t="rgba(0, 0, 0, .85)",r="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:o,primaryColor:n,baseColor:i,cardColor:a,modalColor:s,popoverColor:l,borderRadius:u,fontSize:c,opacityDisabled:d}=e;return Object.assign(Object.assign({},Du),{fontSize:c,railColor:o,railColorHover:o,fillColor:n,fillColorHover:n,opacityDisabled:d,handleColor:"#FFF",dotColor:a,dotColorModal:s,dotColorPopover:l,handleBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowHover:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowActive:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowFocus:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",indicatorColor:t,indicatorBoxShadow:r,indicatorTextColor:i,indicatorBorderRadius:u,dotBorder:`2px solid ${o}`,dotBorderActive:`2px solid ${n}`,dotBoxShadow:""})},F8={name:"Slider",common:ke,self:H8},Jp=F8;var ly=e=>{let{opacityDisabled:t,heightTiny:r,heightSmall:o,heightMedium:n,heightLarge:i,heightHuge:a,primaryColor:s,fontSize:l}=e;return{fontSize:l,textColor:s,sizeTiny:r,sizeSmall:o,sizeMedium:n,sizeLarge:i,sizeHuge:a,color:s,opacitySpinning:t}};var z8={name:"Spin",common:L,self:ly},eh=z8;var uy=e=>{let{textColor2:t,textColor3:r,fontSize:o,fontWeight:n}=e;return{labelFontSize:o,labelFontWeight:n,valueFontWeight:n,labelTextColor:r,valuePrefixTextColor:t,valueSuffixTextColor:t,valueTextColor:t}};var V8={name:"Statistic",common:L,self:uy},th=V8;var cy={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"};var dy=e=>{let{fontWeightStrong:t,baseColor:r,textColorDisabled:o,primaryColor:n,errorColor:i,textColor1:a,textColor2:s}=e;return Object.assign(Object.assign({},cy),{stepHeaderFontWeight:t,indicatorTextColorProcess:r,indicatorTextColorWait:o,indicatorTextColorFinish:n,indicatorTextColorError:i,indicatorBorderColorProcess:n,indicatorBorderColorWait:o,indicatorBorderColorFinish:n,indicatorBorderColorError:i,indicatorColorProcess:n,indicatorColorWait:"#0000",indicatorColorFinish:"#0000",indicatorColorError:"#0000",splitorColorProcess:o,splitorColorWait:o,splitorColorFinish:n,splitorColorError:o,headerTextColorProcess:a,headerTextColorWait:o,headerTextColorFinish:o,headerTextColorError:i,descriptionTextColorProcess:s,descriptionTextColorWait:o,descriptionTextColorFinish:o,descriptionTextColorError:i})};var j8={name:"Steps",common:L,self:dy},rh=j8;var fy={buttonHeightSmall:"14px",buttonHeightMedium:"18px",buttonHeightLarge:"22px",buttonWidthSmall:"14px",buttonWidthMedium:"18px",buttonWidthLarge:"22px",buttonWidthPressedSmall:"20px",buttonWidthPressedMedium:"24px",buttonWidthPressedLarge:"28px",railHeightSmall:"18px",railHeightMedium:"22px",railHeightLarge:"26px",railWidthSmall:"32px",railWidthMedium:"40px",railWidthLarge:"48px"};var W8={name:"Switch",common:L,self(e){let{primaryColorSuppl:t,opacityDisabled:r,borderRadius:o,primaryColor:n,textColor2:i,baseColor:a}=e,s="rgba(255, 255, 255, .20)";return Object.assign(Object.assign({},fy),{iconColor:a,textColor:i,loadingColor:t,opacityDisabled:r,railColor:s,railColorActive:t,buttonBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 8px 0 ${ie(n,{alpha:.3})}`})}},oh=W8;var py={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"};var hy=e=>{let{dividerColor:t,cardColor:r,modalColor:o,popoverColor:n,tableHeaderColor:i,tableColorStriped:a,textColor1:s,textColor2:l,borderRadius:u,fontWeightStrong:c,lineHeight:d,fontSizeSmall:p,fontSizeMedium:f,fontSizeLarge:h}=e;return Object.assign(Object.assign({},py),{fontSizeSmall:p,fontSizeMedium:f,fontSizeLarge:h,lineHeight:d,borderRadius:u,borderColor:Se(r,t),borderColorModal:Se(o,t),borderColorPopover:Se(n,t),tdColor:r,tdColorModal:o,tdColorPopover:n,tdColorStriped:Se(r,a),tdColorStripedModal:Se(o,a),tdColorStripedPopover:Se(n,a),thColor:Se(r,i),thColorModal:Se(o,i),thColorPopover:Se(n,i),thTextColor:s,tdTextColor:l,thFontWeight:c})};var q8={name:"Table",common:L,self:hy},nh=q8;var my={tabFontSizeSmall:"14px",tabFontSizeMedium:"14px",tabFontSizeLarge:"16px",tabGapSmallLine:"36px",tabGapMediumLine:"36px",tabGapLargeLine:"36px",tabPaddingSmallLine:"6px 0",tabPaddingMediumLine:"10px 0",tabPaddingLargeLine:"14px 0",tabGapSmallBar:"36px",tabGapMediumBar:"36px",tabGapLargeBar:"36px",tabPaddingSmallBar:"4px 0",tabPaddingMediumBar:"6px 0",tabPaddingLargeBar:"10px 0",tabGapSmallCard:"4px",tabGapMediumCard:"4px",tabGapLargeCard:"4px",tabPaddingSmallCard:"6px 10px",tabPaddingMediumCard:"8px 12px",tabPaddingLargeCard:"8px 16px",tabPaddingSmallSegment:"4px 0",tabPaddingMediumSegment:"6px 0",tabPaddingLargeSegment:"8px 0",tabGapSmallSegment:"0",tabGapMediumSegment:"0",tabGapLargeSegment:"0",panePaddingSmall:"8px 0 0 0",panePaddingMedium:"12px 0 0 0",panePaddingLarge:"16px 0 0 0"};var gy=e=>{let{textColor2:t,primaryColor:r,textColorDisabled:o,closeColor:n,closeColorHover:i,closeColorPressed:a,tabColor:s,baseColor:l,dividerColor:u,fontWeight:c,textColor1:d,borderRadius:p,fontSize:f,fontWeightStrong:h}=e;return Object.assign(Object.assign({},my),{colorSegment:s,tabFontSizeCard:f,tabTextColorLine:d,tabTextColorActiveLine:r,tabTextColorHoverLine:r,tabTextColorDisabledLine:o,tabTextColorSegment:d,tabTextColorActiveSegment:t,tabTextColorHoverSegment:t,tabTextColorDisabledSegment:o,tabTextColorBar:d,tabTextColorActiveBar:r,tabTextColorHoverBar:r,tabTextColorDisabledBar:o,tabTextColorCard:d,tabTextColorHoverCard:d,tabTextColorActiveCard:r,tabTextColorDisabledCard:o,barColor:r,closeColor:n,closeColorHover:i,closeColorPressed:a,tabColor:s,tabColorSegment:l,tabBorderColor:u,tabFontWeightActive:c,tabFontWeight:c,tabBorderRadius:p,paneTextColor:t,fontWeightStrong:h})};var U8={name:"Tabs",common:L,self(e){let t=gy(e),{inputColor:r}=e;return t.colorSegment=r,t.tabColorSegment=r,t}},ih=U8;var by=e=>{let{textColor1:t,textColor2:r,fontWeightStrong:o,fontSize:n}=e;return{fontSize:n,titleTextColor:t,textColor:r,titleFontWeight:o}};var K8={name:"Thing",common:L,self:by},ah=K8;var xy={titleMarginMedium:"0",titleMarginLarge:"-2px 0 0 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"};var G8={name:"Timeline",common:L,self(e){let{textColor3:t,infoColorSuppl:r,errorColorSuppl:o,successColorSuppl:n,warningColorSuppl:i,textColor1:a,textColor2:s,railColor:l,fontWeightStrong:u,fontSize:c}=e;return Object.assign(Object.assign({},xy),{contentFontSize:c,titleFontWeight:u,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${r}`,circleBorderError:`2px solid ${o}`,circleBorderSuccess:`2px solid ${n}`,circleBorderWarning:`2px solid ${i}`,iconColor:t,iconColorInfo:r,iconColorError:o,iconColorSuccess:n,iconColorWarning:i,titleTextColor:a,contentTextColor:s,metaTextColor:t,lineColor:l})}},sh=G8;var vy={extraFontSize:"12px",width:"440px"};var X8={name:"Transfer",common:L,peers:{Checkbox:Jr,Scrollbar:bt,Input:Et,Empty:Tr,Button:xt},self(e){let{iconColorDisabled:t,iconColor:r,fontWeight:o,fontSizeLarge:n,fontSizeMedium:i,fontSizeSmall:a,heightLarge:s,heightMedium:l,heightSmall:u,borderRadius:c,inputColor:d,tableHeaderColor:p,textColor1:f,textColorDisabled:h,textColor2:g,hoverColor:E}=e;return Object.assign(Object.assign({},vy),{itemHeightSmall:u,itemHeightMedium:l,itemHeightLarge:s,fontSizeSmall:a,fontSizeMedium:i,fontSizeLarge:n,borderRadius:c,borderColor:"#0000",listColor:d,headerColor:p,titleTextColor:f,titleTextColorDisabled:h,extraTextColor:g,filterDividerColor:"#0000",itemTextColor:g,itemTextColorDisabled:h,itemColorPending:E,titleFontWeight:o,iconColor:r,iconColorDisabled:t})}},lh=X8;var uh=e=>{let{borderRadiusSmall:t,hoverColor:r,pressedColor:o,primaryColor:n,textColor3:i,textColor2:a,textColorDisabled:s,fontSize:l}=e;return{fontSize:l,nodeBorderRadius:t,nodeColorHover:r,nodeColorPressed:o,nodeColorActive:ie(n,{alpha:.1}),arrowColor:i,nodeTextColor:a,nodeTextColorDisabled:s,loadingColor:n,dropMarkColor:n}},Y8={name:"Tree",common:ke,peers:{Checkbox:Fo,Scrollbar:Pt,Empty:_r},self:uh},ch=Y8;var Z8={name:"Tree",common:L,peers:{Checkbox:Jr,Scrollbar:bt,Empty:Tr},self(e){let{primaryColor:t}=e,r=uh(e);return r.nodeColorActive=ie(t,{alpha:.15}),r}},ps=Z8;var Q8={name:"TreeSelect",common:L,peers:{Tree:ps,Empty:Tr,InternalSelection:ri}},dh=Q8;var yy={headerFontSize1:"30px",headerFontSize2:"22px",headerFontSize3:"18px",headerFontSize4:"16px",headerFontSize5:"16px",headerFontSize6:"16px",headerMargin1:"28px 0 20px 0",headerMargin2:"28px 0 20px 0",headerMargin3:"28px 0 20px 0",headerMargin4:"28px 0 18px 0",headerMargin5:"28px 0 18px 0",headerMargin6:"28px 0 18px 0",headerPrefixWidth1:"16px",headerPrefixWidth2:"16px",headerPrefixWidth3:"12px",headerPrefixWidth4:"12px",headerPrefixWidth5:"12px",headerPrefixWidth6:"12px",headerBarWidth1:"4px",headerBarWidth2:"4px",headerBarWidth3:"3px",headerBarWidth4:"3px",headerBarWidth5:"3px",headerBarWidth6:"3px",pMargin:"16px 0 16px 0",liMargin:".25em 0 0 0",olPadding:"0 0 0 2em",ulPadding:"0 0 0 2em"};var wy=e=>{let{primaryColor:t,textColor2:r,borderColor:o,lineHeight:n,fontSize:i,borderRadiusSmall:a,dividerColor:s,fontWeightStrong:l,textColor1:u,textColor3:c,infoColor:d,warningColor:p,errorColor:f,successColor:h,codeColor:g}=e;return Object.assign(Object.assign({},yy),{aTextColor:t,blockquoteTextColor:r,blockquotePrefixColor:o,blockquoteLineHeight:n,blockquoteFontSize:i,codeBorderRadius:a,liTextColor:r,liLineHeight:n,liFontSize:i,hrColor:s,headerFontWeight:l,headerTextColor:u,pTextColor:r,pTextColor1Depth:u,pTextColor2Depth:r,pTextColor3Depth:c,pLineHeight:n,pFontSize:i,headerBarColor:t,headerBarColorPrimary:t,headerBarColorInfo:d,headerBarColorError:f,headerBarColorWarning:p,headerBarColorSuccess:h,textColor:r,textColor1Depth:u,textColor2Depth:r,textColor3Depth:c,textColorPrimary:t,textColorInfo:d,textColorSuccess:h,textColorWarning:p,textColorError:f,codeTextColor:r,codeColor:g,codeBorder:"1px solid #0000"})};var J8={name:"Typography",common:L,self:wy},fh=J8;var ph=e=>{let{iconColor:t,primaryColor:r,errorColor:o,textColor2:n,successColor:i,opacityDisabled:a,actionColor:s,borderColor:l,hoverColor:u,lineHeight:c,borderRadius:d,fontSize:p}=e;return{fontSize:p,lineHeight:c,borderRadius:d,draggerColor:s,draggerBorder:`1px dashed ${l}`,draggerBorderHover:`1px dashed ${r}`,itemColorHover:u,itemColorHoverError:ie(o,{alpha:.06}),itemTextColor:n,itemTextColorError:o,itemTextColorSuccess:i,itemIconColor:t,itemDisabledOpacity:a,itemBorderImageCardError:`1px solid ${o}`,itemBorderImageCard:`1px solid ${l}`}},hae={name:"Upload",common:ke,peers:{Button:Ft,Progress:Xp},self:ph};var eD={name:"Upload",common:L,peers:{Button:xt,Progress:fs},self(e){let{errorColor:t}=e,r=ph(e);return r.itemColorHoverError=ie(t,{alpha:.09}),r}},hh=eD;var tD={name:"Watermark",common:L,self(e){let{fontFamily:t}=e;return{fontFamily:t}}},mh=tD;var gh={name:"Image",common:L,peers:{Tooltip:ko},self:e=>{let{textColor2:t}=e;return{toolbarIconColor:t,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}};var bh={name:"Skeleton",common:L,self(e){let{heightSmall:t,heightMedium:r,heightLarge:o,borderRadius:n}=e;return{color:"rgba(255, 255, 255, 0.12)",colorEnd:"rgba(255, 255, 255, 0.18)",borderRadius:n,heightSmall:t,heightMedium:r,heightLarge:o}}};function xh(e){return window.TouchEvent&&e instanceof window.TouchEvent}function vh(){let e=G(new Map),t=r=>o=>{e.value.set(r,o)};return dd(()=>e.value.clear()),[e,t]}var Cy=ee([U("slider",`
display: block;
padding: calc((var(--n-handle-size) - var(--n-rail-height)) / 2) 0;
position: relative;
z-index: 0;
width: 100%;
cursor: pointer;
user-select: none;
`,[Te("reverse",[U("slider-handles",[U("slider-handle",`
transform: translate(50%, -50%);
`)]),U("slider-dots",[U("slider-dot",`
transform: translateX(50%, -50%);
`)]),Te("vertical",[U("slider-handles",[U("slider-handle",`
transform: translate(-50%, -50%);
`)]),U("slider-marks",[U("slider-mark",`
transform: translateY(calc(-50% + var(--n-dot-height) / 2));
`)]),U("slider-dots",[U("slider-dot",`
transform: translateX(-50%) translateY(0);
`)])])]),Te("vertical",`
padding: 0 calc((var(--n-handle-size) - var(--n-rail-height)) / 2);
width: var(--n-rail-width-vertical);
height: 100%;
`,[U("slider-handles",`
top: calc(var(--n-handle-size) / 2);
right: 0;
bottom: calc(var(--n-handle-size) / 2);
left: 0;
`,[U("slider-handle",`
top: unset;
left: 50%;
transform: translate(-50%, 50%);
`)]),U("slider-rail",`
height: 100%;
`,[te("fill",`
top: unset;
right: 0;
bottom: unset;
left: 0;
`)]),Te("with-mark",`
width: var(--n-rail-width-vertical);
margin: 0 32px 0 8px;
`),U("slider-marks",`
top: calc(var(--n-handle-size) / 2);
right: unset;
bottom: calc(var(--n-handle-size) / 2);
left: 22px;
`,[U("slider-mark",`
transform: translateY(50%);
white-space: nowrap;
`)]),U("slider-dots",`
top: calc(var(--n-handle-size) / 2);
right: unset;
bottom: calc(var(--n-handle-size) / 2);
left: 50%;
`,[U("slider-dot",`
transform: translateX(-50%) translateY(50%);
`)])]),Te("disabled",`
cursor: not-allowed;
opacity: var(--n-opacity-disabled);
`,[U("slider-handle",`
cursor: not-allowed;
`)]),Te("with-mark",`
width: 100%;
margin: 8px 0 32px 0;
`),ee("&:hover",[U("slider-rail",{backgroundColor:"var(--n-rail-color-hover)"},[te("fill",{backgroundColor:"var(--n-fill-color-hover)"})]),U("slider-handle",{boxShadow:"var(--n-handle-box-shadow-hover)"})]),Te("active",[U("slider-rail",{backgroundColor:"var(--n-rail-color-hover)"},[te("fill",{backgroundColor:"var(--n-fill-color-hover)"})]),U("slider-handle",{boxShadow:"var(--n-handle-box-shadow-hover)"})]),U("slider-marks",`
position: absolute;
top: 18px;
left: calc(var(--n-handle-size) / 2);
right: calc(var(--n-handle-size) / 2);
`,[U("slider-mark",{position:"absolute",transform:"translateX(-50%)"})]),U("slider-rail",`
width: 100%;
position: relative;
height: var(--n-rail-height);
background-color: var(--n-rail-color);
transition: background-color .3s var(--n-bezier);
border-radius: calc(var(--n-rail-height) / 2);
`,[te("fill",`
position: absolute;
top: 0;
bottom: 0;
border-radius: calc(var(--n-rail-height) / 2);
transition: background-color .3s var(--n-bezier);
background-color: var(--n-fill-color);
`)]),U("slider-handles",`
position: absolute;
top: 0;
right: calc(var(--n-handle-size) / 2);
bottom: 0;
left: calc(var(--n-handle-size) / 2);
`,[U("slider-handle",`
outline: none;
height: var(--n-handle-size);
width: var(--n-handle-size);
border-radius: 50%;
transition: box-shadow .2s var(--n-bezier), background-color .3s var(--n-bezier);
position: absolute;
top: 50%;
transform: translate(-50%, -50%);
overflow: hidden;
cursor: pointer;
background-color: var(--n-handle-color);
box-shadow: var(--n-handle-box-shadow);
`,[ee("&:hover",{boxShadow:"var(--n-handle-box-shadow-hover)"}),ee("&:hover:focus",{boxShadow:"var(--n-handle-box-shadow-active)"}),ee("&:focus",{boxShadow:"var(--n-handle-box-shadow-focus)"})])]),U("slider-dots",`
position: absolute;
top: 50%;
left: calc(var(--n-handle-size) / 2);
right: calc(var(--n-handle-size) / 2);
`,[Te("transition-disabled",[U("slider-dot",{transition:"none"})]),U("slider-dot",`
transition:
border-color .3s var(--n-bezier),
box-shadow .3s var(--n-bezier),
background-color .3s var(--n-bezier);
position: absolute;
transform: translate(-50%, -50%);
height: var(--n-dot-height);
width: var(--n-dot-width);
border-radius: var(--n-dot-border-radius);
overflow: hidden;
box-sizing: border-box;
border: var(--n-dot-border);
background-color: var(--n-dot-color);
`,[Te("active",{border:"var(--n-dot-border-active)"})])])]),U("slider-handle-indicator",`
font-size: var(--n-font-size);
padding: 6px 10px;
border-radius: var(--n-indicator-border-radius);
color: var(--n-indicator-text-color);
background-color: var(--n-indicator-color);
box-shadow: var(--n-indicator-box-shadow);
`,[Tf()]),U("slider-handle-indicator",`
font-size: var(--n-font-size);
padding: 6px 10px;
border-radius: var(--n-indicator-border-radius);
color: var(--n-indicator-text-color);
background-color: var(--n-indicator-color);
box-shadow: var(--n-indicator-box-shadow);
`,[Te("top",`
margin-bottom: 12px;
`),Te("right",`
margin-left: 12px;
`),Te("bottom",`
margin-top: 12px;
`),Te("left",`
margin-right: 12px;
`),Tf()]),Dl(U("slider",[U("slider-dot",{backgroundColor:"var(--n-dot-color-modal)"})])),Nl(U("slider",[U("slider-dot",{backgroundColor:"var(--n-dot-color-popover)"})]))]);var rD=0,oD=Object.assign(Object.assign({},Nt.props),{to:Gn.propTo,defaultValue:{type:[Number,Array],default:0},marks:Object,disabled:{type:Boolean,default:void 0},formatTooltip:Function,min:{type:Number,default:0},max:{type:Number,default:100},step:{type:[Number,String],default:1},range:Boolean,value:[Number,Array],placement:String,showTooltip:{type:Boolean,default:void 0},tooltip:{type:Boolean,default:!0},vertical:Boolean,reverse:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array]}),yh=me({name:"Slider",props:oD,setup(e){let{mergedClsPrefixRef:t,namespaceRef:r,inlineThemeDisabled:o}=Wt(e),n=Nt("Slider","-slider",Cy,Jp,e,t),i=G(null),[a,s]=vh(),[l,u]=vh(),c=G(new Set),d=Mr(e),{mergedDisabledRef:p}=d,f=F(()=>{let{step:A}=e;if(A<=0||A==="mark")return 0;let O=A.toString(),j=0;return O.includes(".")&&(j=O.length-O.indexOf(".")-1),j}),h=G(e.defaultValue),g=Be(e,"value"),E=cr(g,h),b=F(()=>{let{value:A}=E;return(e.range?A:[A]).map(at)}),I=F(()=>b.value.length>2),P=F(()=>e.placement===void 0?e.vertical?"right":"top":e.placement),C=F(()=>{let{marks:A}=e;return A?Object.keys(A).map(parseFloat):null}),_=G(-1),M=G(-1),v=G(-1),T=G(!1),$=G(!1),N=F(()=>{let{vertical:A,reverse:O}=e;return A?O?"top":"bottom":O?"right":"left"}),Z=F(()=>{if(I.value)return;let A=b.value,O=Ke(e.range?Math.min(...A):e.min),j=Ke(e.range?Math.max(...A):A[0]),{value:se}=N;return e.vertical?{[se]:`${O}%`,height:`${j-O}%`}:{[se]:`${O}%`,width:`${j-O}%`}}),R=F(()=>{let A=[],{marks:O}=e;if(O){let j=b.value.slice();j.sort((je,Y)=>je-Y);let{value:se}=N,{value:xe}=I,{range:Ie}=e,Oe=xe?()=>!1:je=>Ie?je>=j[0]&&je<=j[j.length-1]:je<=j[0];for(let je of Object.keys(O)){let Y=Number(je);A.push({active:Oe(Y),label:O[je],style:{[se]:`${Ke(Y)}%`}})}}return A});function z(A,O){let j=Ke(A),{value:se}=N;return{[se]:`${j}%`,zIndex:O===_.value?1:0}}function re(A){return e.showTooltip||v.value===A||_.value===A&&T.value}function ve(A){return!(_.value===A&&M.value===A)}function ce(A){var O;~A&&(_.value=A,(O=a.value.get(A))===null||O===void 0||O.focus())}function le(){l.value.forEach((A,O)=>{re(O)&&A.syncPosition()})}function be(A){let{"onUpdate:value":O,onUpdateValue:j}=e,{nTriggerFormInput:se,nTriggerFormChange:xe}=d;j&&Ne(j,A),O&&Ne(O,A),h.value=A,se(),xe()}function Ae(A){let{range:O}=e;if(O){if(Array.isArray(A)){let{value:j}=b;A.join()!==j.join()&&be(A)}}else Array.isArray(A)||b.value[0]!==A&&be(A)}function ze(A,O){if(e.range){let j=b.value.slice();j.splice(O,1,A),Ae(j)}else Ae(A)}function Fe(A,O,j){let se=j!==void 0;j||(j=A-O>0?1:-1);let xe=C.value||[],{step:Ie}=e;if(Ie==="mark"){let Y=Ge(A,xe.concat(O),se?j:void 0);return Y?Y.value:O}if(Ie<=0)return O;let{value:Oe}=f,je;if(se){let Y=Number((O/Ie).toFixed(Oe)),de=Math.floor(Y),Ce=Y>de?de:de-1,qe=Y<de?de:de+1;je=Ge(O,[Number((Ce*Ie).toFixed(Oe)),Number((qe*Ie).toFixed(Oe)),...xe],j)}else{let Y=ot(A);je=Ge(A,[...xe,Y])}return je?at(je.value):O}function at(A){return Math.min(e.max,Math.max(e.min,A))}function Ke(A){let{max:O,min:j}=e;return(A-j)/(O-j)*100}function Xe(A){let{max:O,min:j}=e;return j+(O-j)*A}function ot(A){let{step:O,min:j}=e;if(O<=0||O==="mark")return A;let se=Math.round((A-j)/O)*O+j;return Number(se.toFixed(f.value))}function Ge(A,O=C.value,j){if(!O||!O.length)return null;let se=null,xe=-1;for(;++xe<O.length;){let Ie=O[xe]-A,Oe=Math.abs(Ie);(j===void 0||Ie*j>0)&&(se===null||Oe<se.distance)&&(se={index:xe,distance:Oe,value:O[xe]})}return se}function Je(A){let O=i.value;if(!O)return;let j=xh(A)?A.touches[0]:A,se=O.getBoundingClientRect(),xe;return e.vertical?xe=(se.bottom-j.clientY)/se.height:xe=(j.clientX-se.left)/se.width,e.reverse&&(xe=1-xe),Xe(xe)}function pt(A){if(p.value)return;let{vertical:O,reverse:j}=e;switch(A.code){case"ArrowUp":A.preventDefault(),$e(O&&j?-1:1);break;case"ArrowRight":A.preventDefault(),$e(!O&&j?-1:1);break;case"ArrowDown":A.preventDefault(),$e(O&&j?1:-1);break;case"ArrowLeft":A.preventDefault(),$e(!O&&j?1:-1);break}}function $e(A){let O=_.value;if(O===-1)return;let{step:j}=e,se=b.value[O],xe=j<=0||j==="mark"?se:se+j*A;ze(Fe(xe,se,A>0?1:-1),O)}function ht(A){var O,j;if(p.value||!xh(A)&&A.button!==rD)return;let se=Je(A);if(se===void 0)return;let xe=b.value.slice(),Ie=e.range?(j=(O=Ge(se,xe))===null||O===void 0?void 0:O.index)!==null&&j!==void 0?j:-1:0;Ie!==-1&&(A.preventDefault(),ce(Ie),_t(),ze(Fe(se,b.value[Ie]),Ie))}function _t(){T.value||(T.value=!0,St("touchend",document,w),St("mouseup",document,w),St("touchmove",document,m),St("mousemove",document,m))}function zt(){T.value&&(T.value=!1,kt("touchend",document,w),kt("mouseup",document,w),kt("touchmove",document,m),kt("mousemove",document,m))}function m(A){let{value:O}=_;if(!T.value||O===-1){zt();return}let j=Je(A);ze(Fe(j,b.value[O]),O)}function w(){zt()}function H(A){_.value=A,p.value||(v.value=A)}function q(A){_.value===A&&(_.value=-1,zt()),v.value===A&&(v.value=-1)}function K(A){v.value=A}function ae(A){v.value===A&&(v.value=-1)}ct(_,(A,O)=>void Yt(()=>M.value=O)),ct(E,()=>{if(e.marks){if($.value)return;$.value=!0,Yt(()=>{$.value=!1})}Yt(le)});let ne=F(()=>{let{self:{railColor:A,railColorHover:O,fillColor:j,fillColorHover:se,handleColor:xe,opacityDisabled:Ie,dotColor:Oe,dotColorModal:je,handleBoxShadow:Y,handleBoxShadowHover:de,handleBoxShadowActive:Ce,handleBoxShadowFocus:qe,dotBorder:st,dotBoxShadow:Ze,railHeight:lt,railWidthVertical:et,handleSize:Vt,dotHeight:Bt,dotWidth:Ko,dotBorderRadius:Wr,fontSize:qr,dotBorderActive:y,dotColorPopover:oe},common:{cubicBezierEaseInOut:ue}}=n.value;return{"--n-bezier":ue,"--n-dot-border":st,"--n-dot-border-active":y,"--n-dot-border-radius":Wr,"--n-dot-box-shadow":Ze,"--n-dot-color":Oe,"--n-dot-color-modal":je,"--n-dot-color-popover":oe,"--n-dot-height":Bt,"--n-dot-width":Ko,"--n-fill-color":j,"--n-fill-color-hover":se,"--n-font-size":qr,"--n-handle-box-shadow":Y,"--n-handle-box-shadow-active":Ce,"--n-handle-box-shadow-focus":qe,"--n-handle-box-shadow-hover":de,"--n-handle-color":xe,"--n-handle-size":Vt,"--n-opacity-disabled":Ie,"--n-rail-color":A,"--n-rail-color-hover":O,"--n-rail-height":lt,"--n-rail-width-vertical":et}}),V=o?sr("slider",void 0,ne,e):void 0,J=F(()=>{let{self:{fontSize:A,indicatorColor:O,indicatorBoxShadow:j,indicatorTextColor:se,indicatorBorderRadius:xe}}=n.value;return{"--n-font-size":A,"--n-indicator-border-radius":xe,"--n-indicator-box-shadow":j,"--n-indicator-color":O,"--n-indicator-text-color":se}}),X=o?sr("slider-indicator",void 0,J,e):void 0;return{mergedClsPrefix:t,namespace:r,uncontrolledValue:h,mergedValue:E,mergedDisabled:p,mergedPlacement:P,isMounted:fn(),adjustedTo:Gn(e),dotTransitionDisabled:$,markInfos:R,isShowTooltip:re,isSkipCSSDetection:ve,handleRailRef:i,setHandleRefs:s,setFollowerRefs:u,fillStyle:Z,getHandleStyle:z,activeIndex:_,arrifiedValues:b,followerEnabledIndexSet:c,handleRailMouseDown:ht,handleHandleFocus:H,handleHandleBlur:q,handleHandleMouseEnter:K,handleHandleMouseLeave:ae,handleRailKeyDown:pt,indicatorCssVars:o?void 0:J,indicatorThemeClass:X?.themeClass,indicatorOnRender:X?.onRender,cssVars:o?void 0:ne,themeClass:V?.themeClass,onRender:V?.onRender}},render(){var e;let{mergedClsPrefix:t,themeClass:r,formatTooltip:o}=this;return(e=this.onRender)===null||e===void 0||e.call(this),x("div",{class:[`${t}-slider`,r,{[`${t}-slider--disabled`]:this.mergedDisabled,[`${t}-slider--active`]:this.activeIndex!==-1,[`${t}-slider--with-mark`]:this.marks,[`${t}-slider--vertical`]:this.vertical,[`${t}-slider--reverse`]:this.reverse}],style:this.cssVars,onKeydown:this.handleRailKeyDown,onMousedown:this.handleRailMouseDown,onTouchstart:this.handleRailMouseDown},x("div",{class:`${t}-slider-rail`},x("div",{class:`${t}-slider-rail__fill`,style:this.fillStyle}),this.marks?x("div",{class:[`${t}-slider-dots`,this.dotTransitionDisabled&&`${t}-slider-dots--transition-disabled`]},this.markInfos.map(n=>x("div",{key:n.label,class:[`${t}-slider-dot`,{[`${t}-slider-dot--active`]:n.active}],style:n.style}))):null,x("div",{ref:"handleRailRef",class:`${t}-slider-handles`},this.arrifiedValues.map((n,i)=>{let a=this.isShowTooltip(i);return x(Pl,null,{default:()=>[x(Rl,null,{default:()=>x("div",{ref:this.setHandleRefs(i),class:`${t}-slider-handle`,tabindex:this.mergedDisabled?-1:0,style:this.getHandleStyle(n,i),onFocus:()=>this.handleHandleFocus(i),onBlur:()=>this.handleHandleBlur(i),onMouseenter:()=>this.handleHandleMouseEnter(i),onMouseleave:()=>this.handleHandleMouseLeave(i)})}),this.tooltip&&x(Hl,{ref:this.setFollowerRefs(i),show:a,to:this.adjustedTo,enabled:this.showTooltip&&!this.range||this.followerEnabledIndexSet.has(i),teleportDisabled:this.adjustedTo===Gn.tdkey,placement:this.mergedPlacement,containerClass:this.namespace},{default:()=>x(Gr,{name:"fade-in-scale-up-transition",appear:this.isMounted,css:this.isSkipCSSDetection(i),onEnter:()=>this.followerEnabledIndexSet.add(i),onAfterLeave:()=>this.followerEnabledIndexSet.delete(i)},{default:()=>{var s;return a?((s=this.indicatorOnRender)===null||s===void 0||s.call(this),x("div",{class:[`${t}-slider-handle-indicator`,this.indicatorThemeClass,`${t}-slider-handle-indicator--${this.mergedPlacement}`],style:this.indicatorCssVars},typeof o=="function"?o(n):n)):null}})})]})})),this.marks?x("div",{class:`${t}-slider-marks`},this.markInfos.map(n=>x("div",{key:n.label,class:`${t}-slider-mark`,style:n.style},n.label))):null))}});var Nu="n-tree-select";var So="n-tree";var ky=me({name:"NTreeSwitcher",props:{clsPrefix:{type:String,required:!0},expanded:Boolean,hide:Boolean,loading:Boolean,onClick:Function},setup(e){let{renderSwitcherIconRef:t}=De(So,null);return()=>{let{clsPrefix:r}=e;return x("span",{"data-switcher":!0,class:[`${r}-tree-node-switcher`,{[`${r}-tree-node-switcher--expanded`]:e.expanded,[`${r}-tree-node-switcher--hide`]:e.hide}],onClick:e.onClick},x("div",{class:`${r}-tree-node-switcher__icon`},x(Hr,null,{default:()=>{if(e.loading)return x(yn,{clsPrefix:r,key:"loading",radius:85,strokeWidth:20});let{value:o}=t;return o?o():x(Fr,{clsPrefix:r,key:"switcher"},{default:()=>x(hf,null)})}})))}}});var Sy=me({name:"NTreeNodeCheckbox",props:{clsPrefix:{type:String,required:!0},focusable:Boolean,disabled:Boolean,checked:Boolean,indeterminate:Boolean,onCheck:Function},setup(e){let t=De(So);function r(n){let{onCheck:i}=e;if(i)return i(n)}function o(n){e.indeterminate?r(!1):r(n)}return{handleUpdateValue:o,mergedTheme:t.mergedThemeRef}},render(){let{clsPrefix:e,mergedTheme:t,checked:r,indeterminate:o,disabled:n,focusable:i,handleUpdateValue:a}=this;return x("span",{class:`${e}-tree-node-checkbox`,"data-checkbox":!0},x(Qf,{focusable:i,disabled:n,theme:t.peers.Checkbox,themeOverrides:t.peerOverrides.Checkbox,checked:r,indeterminate:o,onUpdateChecked:a}))}});var Ey=me({name:"TreeNodeContent",props:{clsPrefix:{type:String,required:!0},disabled:Boolean,checked:Boolean,selected:Boolean,onClick:Function,onDragstart:Function,tmNode:{type:Object,required:!0},nodeProps:Object},setup(e){let{renderLabelRef:t,renderPrefixRef:r,renderSuffixRef:o,labelFieldRef:n}=De(So),i=G(null);function a(l){let{onClick:u}=e;u&&u(l)}function s(l){a(l)}return{selfRef:i,renderLabel:t,renderPrefix:r,renderSuffix:o,labelField:n,handleClick:s}},render(){let{clsPrefix:e,labelField:t,nodeProps:r,checked:o=!1,selected:n=!1,renderLabel:i,renderPrefix:a,renderSuffix:s,handleClick:l,onDragstart:u,tmNode:{rawNode:c,rawNode:{prefix:d,suffix:p,[t]:f}}}=this;return x("span",Object.assign({},r,{ref:"selfRef",class:[`${e}-tree-node-content`,r?.class],onClick:l,draggable:u===void 0?void 0:!0,onDragstart:u}),a||d?x("div",{class:`${e}-tree-node-content__prefix`},a?a({option:c,selected:n,checked:o}):xi(d)):null,x("div",{class:`${e}-tree-node-content__text`},i?i({option:c,selected:n,checked:o}):xi(f)),s||p?x("div",{class:`${e}-tree-node-content__suffix`},s?s({option:c,selected:n,checked:o}):xi(p)):null)}});function wh({position:e,offsetLevel:t,indent:r,el:o}){let n={position:"absolute",boxSizing:"border-box",right:0};if(e==="inside")n.left=0,n.top=0,n.bottom=0,n.borderRadius="inherit",n.boxShadow="inset 0 0 0 2px var(--n-drop-mark-color)";else{let i=e==="before"?"top":"bottom";n[i]=0,n.left=`${o.offsetLeft+6-t*r}px`,n.height="2px",n.backgroundColor="var(--n-drop-mark-color)",n.transformOrigin=i,n.borderRadius="1px",n.transform=e==="before"?"translateY(-4px)":"translateY(4px)"}return x("div",{style:n})}function _y({dropPosition:e,node:t}){return t.isLeaf===!1||t.children?!0:e!=="inside"}var nD=me({name:"TreeNode",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(e){let t=De(So),{droppingNodeParentRef:r,droppingMouseNodeRef:o,draggingNodeRef:n,droppingPositionRef:i,droppingOffsetLevelRef:a,nodePropsRef:s,indentRef:l,blockLineRef:u}=t,c=F(()=>t.disabledRef.value||e.tmNode.disabled),d=F(()=>{let{value:N}=s;if(N)return N({option:e.tmNode.rawNode})}),p=G(null),f={value:null};ut(()=>{f.value=p.value.$el});function h(){let{tmNode:N}=e;if(!N.isLeaf&&!N.shallowLoaded){t.loadingKeysRef.value.has(N.key)||t.loadingKeysRef.value.add(N.key);let{onLoadRef:{value:Z}}=t;Z&&Z(N.rawNode).then(()=>{t.handleSwitcherClick(N)}).finally(()=>{t.loadingKeysRef.value.delete(N.key)})}else t.handleSwitcherClick(N)}let g=nt(()=>!e.tmNode.disabled&&t.selectableRef.value&&(t.internalTreeSelect?t.mergedCheckStrategyRef.value!=="child"||t.multipleRef.value&&t.cascadeRef.value||e.tmNode.isLeaf:!0));function E(N){g.value&&(yl(N,"checkbox")||yl(N,"switcher")||t.handleSelect(e.tmNode))}function b(N){var Z,R;u.value||(c.value||E(N),(R=(Z=d.value)===null||Z===void 0?void 0:Z.onClick)===null||R===void 0||R.call(Z,N))}function I(N){var Z,R;u.value&&(c.value||E(N),(R=(Z=d.value)===null||Z===void 0?void 0:Z.onClick)===null||R===void 0||R.call(Z,N))}function P(N){t.handleCheck(e.tmNode,N)}function C(N){t.handleDragStart({event:N,node:e.tmNode})}function _(N){N.currentTarget===N.target&&t.handleDragEnter({event:N,node:e.tmNode})}function M(N){N.preventDefault(),t.handleDragOver({event:N,node:e.tmNode})}function v(N){t.handleDragEnd({event:N,node:e.tmNode})}function T(N){N.currentTarget===N.target&&t.handleDragLeave({event:N,node:e.tmNode})}function $(N){N.preventDefault(),i.value!==null&&t.handleDrop({event:N,node:e.tmNode,dropPosition:i.value})}return{showDropMark:nt(()=>{let{value:N}=n;if(!N)return;let{value:Z}=i;if(!Z)return;let{value:R}=o;if(!R)return;let{tmNode:z}=e;return z.key===R.key}),showDropMarkAsParent:nt(()=>{let{value:N}=r;if(!N)return!1;let{tmNode:Z}=e,{value:R}=i;return R==="before"||R==="after"?N.key===Z.key:!1}),pending:nt(()=>t.pendingNodeKeyRef.value===e.tmNode.key),loading:nt(()=>t.loadingKeysRef.value.has(e.tmNode.key)),highlight:nt(()=>{var N;return(N=t.highlightKeySetRef.value)===null||N===void 0?void 0:N.has(e.tmNode.key)}),checked:nt(()=>t.displayedCheckedKeysRef.value.includes(e.tmNode.key)),indeterminate:nt(()=>t.displayedIndeterminateKeysRef.value.includes(e.tmNode.key)),selected:nt(()=>t.mergedSelectedKeysRef.value.includes(e.tmNode.key)),expanded:nt(()=>t.mergedExpandedKeysRef.value.includes(e.tmNode.key)),disabled:c,checkable:F(()=>t.checkableRef.value&&(t.cascadeRef.value||t.mergedCheckStrategyRef.value!=="child"||e.tmNode.isLeaf)),checkboxDisabled:F(()=>!!e.tmNode.rawNode.checkboxDisabled),selectable:g,internalScrollable:t.internalScrollableRef,draggable:t.draggableRef,blockLine:u,nodeProps:d,checkboxFocusable:t.internalCheckboxFocusableRef,droppingPosition:i,droppingOffsetLevel:a,indent:l,contentInstRef:p,contentElRef:f,handleCheck:P,handleDrop:$,handleDragStart:C,handleDragEnter:_,handleDragOver:M,handleDragEnd:v,handleDragLeave:T,handleLineClick:I,handleContentClick:b,handleSwitcherClick:h}},render(){let{tmNode:e,clsPrefix:t,checkable:r,selectable:o,selected:n,checked:i,highlight:a,draggable:s,blockLine:l,indent:u,disabled:c,pending:d,internalScrollable:p,nodeProps:f}=this,h=s&&!c?{onDragenter:this.handleDragEnter,onDragleave:this.handleDragLeave,onDragend:this.handleDragEnd,onDrop:this.handleDrop,onDragover:this.handleDragOver}:void 0,g=p?vi(e.key):void 0;return x("div",Object.assign({class:`${t}-tree-node-wrapper`},h),x("div",Object.assign({},l?f:void 0,{class:[`${t}-tree-node`,{[`${t}-tree-node--selected`]:n,[`${t}-tree-node--checkable`]:r,[`${t}-tree-node--highlight`]:a,[`${t}-tree-node--pending`]:d,[`${t}-tree-node--disabled`]:c,[`${t}-tree-node--selectable`]:o},f?.class],"data-key":g,draggable:s&&l,onClick:this.handleLineClick,onDragstart:s&&l&&!c?this.handleDragStart:void 0}),Nd(e.level,x("div",{class:`${t}-tree-node-indent`,style:{flex:`0 0 ${u}px`}})),x(ky,{clsPrefix:t,expanded:this.expanded,loading:this.loading,hide:e.isLeaf,onClick:this.handleSwitcherClick}),r?x(Sy,{focusable:this.checkboxFocusable,disabled:c||this.checkboxDisabled,clsPrefix:t,checked:this.checked,indeterminate:this.indeterminate,onCheck:this.handleCheck}):null,x(Ey,{ref:"contentInstRef",clsPrefix:t,checked:i,selected:n,onClick:this.handleContentClick,nodeProps:l?void 0:f,onDragstart:s&&!l&&!c?this.handleDragStart:void 0,tmNode:e}),s?this.showDropMark?wh({el:this.contentElRef.value,position:this.droppingPosition,offsetLevel:this.droppingOffsetLevel,indent:u}):this.showDropMarkAsParent?wh({el:this.contentElRef.value,position:"inside",offsetLevel:this.droppingOffsetLevel,indent:u}):null:null))}}),Au=nD;function Ty(e,t,r,o){e?.forEach(n=>{r(n),Ty(n[t],t,r,o),o(n)})}function Dy(e,t,r,o,n){let i=new Set,a=new Set,s=[];return Ty(e,o,l=>{if(s.push(l),n(t,l)){a.add(l[r]);for(let u=s.length-2;u>=0;--u)if(!i.has(s[u][r]))i.add(s[u][r]);else return}},()=>{s.pop()}),{expandedKeys:Array.from(i),highlightKeySet:a}}var Ch=null;if(typeof window<"u"&&Image){let e=new Image;e.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}function Ny(e,t,r,o,n){let i=new Set,a=new Set,s=new Set,l=[],u=[],c=[];function d(f){f.forEach(h=>{if(c.push(h),t(r,h)){i.add(h[o]),s.add(h[o]);for(let E=c.length-2;E>=0;--E){let b=c[E][o];if(!a.has(b))a.add(b),i.has(b)&&i.delete(b);else break}}let g=h[n];g&&d(g),c.pop()})}d(e);function p(f,h){f.forEach(g=>{let E=g[o],b=i.has(E),I=a.has(E);if(!b&&!I)return;let P=g[n];if(P)if(b)h.push(g);else{l.push(E);let C=Object.assign(Object.assign({},g),{[n]:[]});h.push(C),p(P,C[n])}else h.push(g)})}return p(e,u),{filteredTree:u,highlightKeySet:s,expandedKeys:l}}function Ay({fNodesRef:e,mergedExpandedKeysRef:t,mergedSelectedKeysRef:r,handleSelect:o,handleSwitcherClick:n}){let{value:i}=r,a=De(Nu,null),s=a?a.pendingNodeKeyRef:G(i.length?i[i.length-1]:null);function l(c){let{value:d}=s;if(d===null){if(["ArrowDown","ArrowUp","ArrowLeft","ArrowRight"].includes(c.code)&&d===null){let{value:p}=e,f=0;for(;f<p.length;){if(!p[f].disabled){s.value=p[f].key;break}f+=1}}}else{let{value:p}=e,f=p.findIndex(h=>h.key===d);if(!~f)return;if(c.code==="Enter"||c.code==="NumpadEnter")o(p[f]);else if(c.code==="ArrowDown")for(f+=1;f<p.length;){if(!p[f].disabled){s.value=p[f].key;break}f+=1}else if(c.code==="ArrowUp")for(f-=1;f>=0;){if(!p[f].disabled){s.value=p[f].key;break}f-=1}else if(c.code==="ArrowLeft"){let h=p[f];if(h.isLeaf||!t.value.includes(d)){let g=h.getParent();g&&(s.value=g.key)}else n(h)}else if(c.code==="ArrowRight"){let h=p[f];if(h.isLeaf)return;if(!t.value.includes(d))n(h);else for(f+=1;f<p.length;){if(!p[f].disabled){s.value=p[f].key;break}f+=1}}}}function u(c){switch(c.code){case"ArrowUp":case"ArrowDown":c.preventDefault()}}return{pendingNodeKeyRef:s,handleKeyup:l,handleKeydown:u}}var Iy=me({name:"TreeMotionWrapper",props:{clsPrefix:{type:String,required:!0},height:Number,nodes:{type:Array,required:!0},mode:{type:String,required:!0},onAfterEnter:{type:Function,required:!0}},render(){let{clsPrefix:e}=this;return x(Pi,{onAfterEnter:this.onAfterEnter,appear:!0,reverse:this.mode==="collapse"},{default:()=>x("div",{class:[`${e}-tree-motion-wrapper`,`${e}-tree-motion-wrapper--${this.mode}`],style:{height:Ro(this.height)}},this.nodes.map(t=>x(Au,{clsPrefix:e,tmNode:t})))})}});var Ly=U("tree",`
font-size: var(--n-font-size);
outline: none;
`,[ee("ul, li",`
margin: 0;
padding: 0;
list-style: none;
`),ee(">",[U("tree-node",[ee("&:first-child",{marginTop:0})])]),U("tree-node-indent",`
height: 0;
`),U("tree-motion-wrapper",[Te("expand",[Af({duration:"0.2s"})]),Te("collapse",[Af({duration:"0.2s",reverse:!0})])]),U("tree-node-wrapper",`
box-sizing: border-box;
padding: 3px 0;
`),U("tree-node",`
position: relative;
display: flex;
border-radius: var(--n-node-border-radius);
transition: background-color .3s var(--n-bezier);
`,[Te("highlight",[U("tree-node-content",[te("text",{borderBottomColor:"var(--n-node-text-color-disabled)"})])]),Te("disabled",[U("tree-node-content",`
color: var(--n-node-text-color-disabled);
cursor: not-allowed;
`)]),gr("disabled",[Te("selectable",[U("tree-node-content",`
cursor: pointer;
`)])])]),Te("block-node",[U("tree-node-content",`
width: 100%;
`)]),gr("block-line",[U("tree-node",[gr("disabled",[U("tree-node-content",[ee("&:hover",{backgroundColor:"var(--n-node-color-hover)"})]),Te("selectable",[U("tree-node-content",[ee("&:active",{backgroundColor:"var(--n-node-color-pressed)"})])]),Te("pending",[U("tree-node-content",`
background-color: var(--n-node-color-hover);
`)]),Te("selected",[U("tree-node-content",{backgroundColor:"var(--n-node-color-active)"})])])])]),Te("block-line",[U("tree-node",[gr("disabled",[ee("&:hover",{backgroundColor:"var(--n-node-color-hover)"}),Te("selectable",[ee("&:active",{backgroundColor:"var(--n-node-color-pressed)"})]),Te("pending",`
background-color: var(--n-node-color-hover);
`),Te("selected",{backgroundColor:"var(--n-node-color-active)"})]),Te("disabled",`
cursor: not-allowed;
`)])]),U("tree-node-switcher",`
cursor: pointer;
display: inline-flex;
flex-shrink: 0;
height: 24px;
width: 24px;
align-items: center;
justify-content: center;
transition: transform .15s var(--n-bezier);
vertical-align: bottom;
`,[te("icon",`
position: relative;
height: 14px;
width: 14px;
display: flex;
color: var(--n-arrow-color);
transition: color .3s var(--n-bezier);
font-size: 14px;
`,[U("icon",[Er()]),U("base-loading",`
color: var(--n-loading-color);
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
`,[Er()]),U("base-icon",[Er()])]),Te("hide",{visibility:"hidden"}),Te("expanded",{transform:"rotate(90deg)"})]),U("tree-node-checkbox",`
display: inline-flex;
height: 24px;
width: 16px;
vertical-align: bottom;
align-items: center;
justify-content: center;
margin-right: 4px;
`),Te("checkable",[U("tree-node-content",`
padding: 0 6px;
`)]),U("tree-node-content",`
position: relative;
display: inline-flex;
align-items: center;
min-height: 24px;
box-sizing: border-box;
line-height: 1.5;
vertical-align: bottom;
padding: 0 6px 0 4px;
cursor: default;
border-radius: var(--n-node-border-radius);
text-decoration-color: #0000;
text-decoration-line: underline;
color: var(--n-node-text-color);
transition:
color .3s var(--n-bezier),
text-decoration-color .3s var(--n-bezier),
background-color .3s var(--n-bezier),
border-color .3s var(--n-bezier);
`,[ee("&:last-child",{marginBottom:0}),te("prefix",`
display: inline-flex;
margin-right: 8px;
`),te("text",`
border-bottom: 1px solid #0000;
transition: border-color .3s var(--n-bezier);
flex-grow:1;
`),te("suffix",`
display: inline-flex;
`)]),te("empty","margin: auto;")]);var iD=function(e,t,r,o){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function s(c){try{u(o.next(c))}catch(d){a(d)}}function l(c){try{u(o.throw(c))}catch(d){a(d)}}function u(c){c.done?i(c.value):n(c.value).then(s,l)}u((o=o.apply(e,t||[])).next())})},Iu=30;function aD(e,t){return{getKey(r){return r[e]},getChildren(r){return r[t]},getDisabled(r){return!!(r.disabled||r.checkboxDisabled)}}}var sD={allowCheckingNotLoaded:Boolean,filter:Function,defaultExpandAll:Boolean,expandedKeys:Array,keyField:{type:String,default:"key"},labelField:{type:String,default:"label"},childrenField:{type:String,default:"children"},defaultExpandedKeys:{type:Array,default:()=>[]},indeterminateKeys:Array,onUpdateIndeterminateKeys:[Function,Array],"onUpdate:indeterminateKeys":[Function,Array],onUpdateExpandedKeys:[Function,Array],"onUpdate:expandedKeys":[Function,Array]},lD=Object.assign(Object.assign(Object.assign(Object.assign({},Nt.props),{showIrrelevantNodes:{type:Boolean,default:!0},data:{type:Array,default:()=>[]},expandOnDragenter:{type:Boolean,default:!0},cancelable:{type:Boolean,default:!0},checkable:Boolean,draggable:Boolean,blockNode:Boolean,blockLine:Boolean,disabled:Boolean,checkedKeys:Array,defaultCheckedKeys:{type:Array,default:()=>[]},selectedKeys:Array,defaultSelectedKeys:{type:Array,default:()=>[]},multiple:Boolean,pattern:{type:String,default:""},onLoad:Function,cascade:Boolean,selectable:{type:Boolean,default:!0},indent:{type:Number,default:16},allowDrop:{type:Function,default:_y},animated:{type:Boolean,default:!0},virtualScroll:Boolean,watchProps:Array,renderLabel:Function,renderPrefix:Function,renderSuffix:Function,renderSwitcherIcon:Function,nodeProps:Function,onDragenter:[Function,Array],onDragleave:[Function,Array],onDragend:[Function,Array],onDragstart:[Function,Array],onDragover:[Function,Array],onDrop:[Function,Array],onUpdateCheckedKeys:[Function,Array],"onUpdate:checkedKeys":[Function,Array],onUpdateSelectedKeys:[Function,Array],"onUpdate:selectedKeys":[Function,Array]}),sD),{internalTreeSelect:Boolean,internalScrollable:Boolean,internalScrollablePadding:String,internalRenderEmpty:Function,internalHighlightKeySet:Object,internalUnifySelectCheck:Boolean,internalCheckboxFocusable:{type:Boolean,default:!0},internalFocusable:{type:Boolean,default:!0},checkStrategy:{type:String,default:"all"},leafOnly:Boolean}),kh=me({name:"Tree",props:lD,setup(e){let{mergedClsPrefixRef:t,inlineThemeDisabled:r}=Wt(e),o=Nt("Tree","-tree",Ly,ch,e,t),n=G(null),i=G(null),a=G(null);function s(){var D;return(D=a.value)===null||D===void 0?void 0:D.listElRef}function l(){var D;return(D=a.value)===null||D===void 0?void 0:D.itemsElRef}let u=F(()=>{let{pattern:D}=e;return D?!D.length||!ht.value?{filteredTree:e.data,highlightKeySet:null,expandedKeys:void 0}:Ny(e.data,ht.value,D,e.keyField,e.childrenField):{filteredTree:e.data,highlightKeySet:null,expandedKeys:void 0}}),c=F(()=>Cf(e.showIrrelevantNodes?e.data:u.value.filteredTree,aD(e.keyField,e.childrenField))),d=De(Nu,null),p=e.internalTreeSelect?d.dataTreeMate:c,{watchProps:f}=e,h=G([]);f?.includes("defaultCheckedKeys")?Ht(()=>{h.value=e.defaultCheckedKeys}):h.value=e.defaultCheckedKeys;let g=Be(e,"checkedKeys"),E=cr(g,h),b=F(()=>p.value.getCheckedKeys(E.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded})),I=F(()=>e.leafOnly?"child":e.checkStrategy),P=F(()=>b.value.checkedKeys),C=F(()=>{let{indeterminateKeys:D}=e;return D!==void 0?D:b.value.indeterminateKeys}),_=G([]);f?.includes("defaultSelectedKeys")?Ht(()=>{_.value=e.defaultSelectedKeys}):_.value=e.defaultSelectedKeys;let M=Be(e,"selectedKeys"),v=cr(M,_),T=G([]),$=D=>{T.value=e.defaultExpandAll?p.value.getNonLeafKeys():D===void 0?e.defaultExpandedKeys:D};f?.includes("defaultExpandedKeys")?Ht(()=>$(void 0)):Ht(()=>$(e.defaultExpandedKeys));let N=Be(e,"expandedKeys"),Z=cr(N,T),R=F(()=>c.value.getFlattenedNodes(Z.value)),{pendingNodeKeyRef:z,handleKeyup:re,handleKeydown:ve}=Ay({mergedSelectedKeysRef:v,fNodesRef:R,mergedExpandedKeysRef:Z,handleSelect:lt,handleSwitcherClick:Ze}),ce=null,le=null,be=G(new Set),Ae=F(()=>e.internalHighlightKeySet||u.value.highlightKeySet),ze=cr(Ae,be),Fe=G(new Set),at=F(()=>Z.value.filter(D=>!Fe.value.has(D))),Ke=0,Xe=G(null),ot=G(null),Ge=G(null),Je=G(null),pt=G(0),$e=F(()=>{let{value:D}=ot;return D?D.parent:null}),ht=F(()=>{let{filter:D}=e;if(D)return D;let{labelField:B}=e;return(pe,ge)=>pe.length?ge[B].toLowerCase().includes(pe.toLowerCase()):!0});ct(Be(e,"data"),()=>{Fe.value.clear(),z.value=null,je()},{deep:!1});let _t;ct(Be(e,"pattern"),(D,B)=>{if(e.showIrrelevantNodes)if(_t=void 0,D){let{expandedKeys:pe,highlightKeySet:ge}=Dy(e.data,e.pattern,e.keyField,e.childrenField,ht.value);be.value=ge,V(pe,ne(pe))}else be.value=new Set;else if(!D.length)_t!==void 0&&V(_t,ne(_t));else{B.length||(_t=Z.value);let{expandedKeys:pe}=u.value;pe!==void 0&&V(pe,ne(pe))}});function zt(D){return iD(this,void 0,void 0,function*(){let{onLoad:B}=e;if(!B)return yield Promise.resolve();let{value:pe}=Fe;return yield new Promise(ge=>{pe.has(D.key)||(pe.add(D.key),B(D.rawNode).then(()=>{pe.delete(D.key),ge()}).catch(Pe=>{console.error(Pe),Ce()}))})})}Ht(()=>{var D;let{value:B}=c;if(!B)return;let{getNode:pe}=B;(D=Z.value)===null||D===void 0||D.forEach(ge=>{let Pe=pe(ge);Pe&&!Pe.shallowLoaded&&zt(Pe)})});let m=G(!1),w=G([]);ct(at,(D,B)=>{if(!e.animated){Yt(K);return}let pe=new Set(B),ge=null,Pe=null;for(let $t of D)if(!pe.has($t)){if(ge!==null)return;ge=$t}let Gt=new Set(D);for(let $t of B)if(!Gt.has($t)){if(Pe!==null)return;Pe=$t}if(ge!==null&&Pe!==null||ge===null&&Pe===null)return;let{virtualScroll:Tt}=e,To=(Tt?a.value.listElRef:n.value).offsetHeight,Do=Math.ceil(To/Iu)+1;if(ge!==null){m.value=!0,w.value=c.value.getFlattenedNodes(B);let $t=w.value.findIndex(jt=>jt.key===ge);if(~$t){let jt=Ri(w.value[$t].children,D);w.value.splice($t+1,0,{__motion:!0,mode:"expand",height:Tt?jt.length*Iu:void 0,nodes:Tt?jt.slice(0,Do):jt})}}if(Pe!==null){w.value=c.value.getFlattenedNodes(D);let $t=w.value.findIndex(jt=>jt.key===Pe);if(~$t){let jt=w.value[$t].children;if(!jt)return;m.value=!0;let vr=Ri(jt,D);w.value.splice($t+1,0,{__motion:!0,mode:"collapse",height:Tt?vr.length*Iu:void 0,nodes:Tt?vr.slice(0,Do):vr})}}});let H=F(()=>vf(R.value)),q=F(()=>m.value?w.value:R.value);function K(){let{value:D}=i;D&&D.sync()}function ae(){m.value=!1,e.virtualScroll&&Yt(K)}function ne(D){let{getNode:B}=p.value;return D.map(pe=>{var ge;return((ge=B(pe))===null||ge===void 0?void 0:ge.rawNode)||null})}function V(D,B){let{"onUpdate:expandedKeys":pe,onUpdateExpandedKeys:ge}=e;T.value=D,pe&&Ne(pe,D,B),ge&&Ne(ge,D,B)}function J(D,B){let{"onUpdate:checkedKeys":pe,onUpdateCheckedKeys:ge}=e;h.value=D,ge&&Ne(ge,D,B),pe&&Ne(pe,D,B)}function X(D,B){let{"onUpdate:indeterminateKeys":pe,onUpdateIndeterminateKeys:ge}=e;pe&&Ne(pe,D,B),ge&&Ne(ge,D,B)}function A(D,B){let{"onUpdate:selectedKeys":pe,onUpdateSelectedKeys:ge}=e;_.value=D,ge&&Ne(ge,D,B),pe&&Ne(pe,D,B)}function O(D){let{onDragenter:B}=e;B&&Ne(B,D)}function j(D){let{onDragleave:B}=e;B&&Ne(B,D)}function se(D){let{onDragend:B}=e;B&&Ne(B,D)}function xe(D){let{onDragstart:B}=e;B&&Ne(B,D)}function Ie(D){let{onDragover:B}=e;B&&Ne(B,D)}function Oe(D){let{onDrop:B}=e;B&&Ne(B,D)}function je(){Y(),de()}function Y(){Xe.value=null}function de(){pt.value=0,ot.value=null,Ge.value=null,Je.value=null,Ce()}function Ce(){ce&&(window.clearTimeout(ce),ce=null),le=null}function qe(D,B){if(e.disabled||D.disabled)return;if(e.internalUnifySelectCheck&&!e.multiple){lt(D);return}let{checkedKeys:pe,indeterminateKeys:ge}=p.value[B?"check":"uncheck"](D.key,P.value,{cascade:e.cascade,checkStrategy:I.value,allowNotLoaded:e.allowCheckingNotLoaded});J(pe,ne(pe)),X(ge,ne(ge))}function st(D){if(e.disabled)return;let{value:B}=Z,pe=B.findIndex(ge=>ge===D);if(~pe){let ge=Array.from(B);ge.splice(pe,1),V(ge,ne(ge))}else{let ge=c.value.getNode(D);if(!ge||ge.isLeaf)return;let Pe=B.concat(D);V(Pe,ne(Pe))}}function Ze(D){e.disabled||m.value||st(D.key)}function lt(D){if(!(e.disabled||!e.selectable)){if(z.value=D.key,e.internalUnifySelectCheck){let{value:{checkedKeys:B,indeterminateKeys:pe}}=b;e.multiple?qe(D,!(B.includes(D.key)||pe.includes(D.key))):J([D.key],ne([D.key]))}if(e.multiple){let B=Array.from(v.value),pe=B.findIndex(ge=>ge===D.key);~pe?e.cancelable&&B.splice(pe,1):~pe||B.push(D.key),A(B,ne(B))}else v.value.includes(D.key)?e.cancelable&&A([],[]):A([D.key],ne([D.key]))}}function et(D){if(ce&&(window.clearTimeout(ce),ce=null),D.isLeaf)return;le=D.key;let B=()=>{if(le!==D.key)return;let{value:pe}=Ge;if(pe&&pe.key===D.key&&!Z.value.includes(D.key)){let ge=Z.value.concat(D.key);V(ge,ne(ge))}ce=null,le=null};D.shallowLoaded?ce=window.setTimeout(()=>{B()},1e3):ce=window.setTimeout(()=>{zt(D).then(()=>{B()})},1e3)}function Vt({event:D,node:B}){!e.draggable||e.disabled||B.disabled||(y({event:D,node:B},!1),O({event:D,node:B.rawNode}))}function Bt({event:D,node:B}){!e.draggable||e.disabled||B.disabled||j({event:D,node:B.rawNode})}function Ko(D){D.target===D.currentTarget&&de()}function Wr({event:D,node:B}){je(),!(!e.draggable||e.disabled||B.disabled)&&se({event:D,node:B.rawNode})}function qr({event:D,node:B}){var pe;!e.draggable||e.disabled||B.disabled||(Ch&&((pe=D.dataTransfer)===null||pe===void 0||pe.setDragImage(Ch,0,0)),Ke=D.clientX,Xe.value=B,xe({event:D,node:B.rawNode}))}function y({event:D,node:B},pe=!0){var ge;if(!e.draggable||e.disabled||B.disabled)return;let{value:Pe}=Xe;if(!Pe)return;let{allowDrop:Gt,indent:Tt}=e;pe&&Ie({event:D,node:B.rawNode});let To=D.currentTarget,{height:Do,top:$t}=To.getBoundingClientRect(),jt=D.clientY-$t,vr;Gt({node:B.rawNode,dropPosition:"inside",phase:"drag"})?jt<=8?vr="before":jt>=Do-8?vr="after":vr="inside":jt<=Do/2?vr="before":vr="after";let{value:Nc}=H,dt,tr,Qi=Nc(B.key);if(Qi===null){de();return}let Hs=!1;vr==="inside"?(dt=B,tr="inside"):vr==="before"?B.isFirstChild?(dt=B,tr="before"):(dt=R.value[Qi-1],tr="after"):(dt=B,tr="after"),!dt.isLeaf&&Z.value.includes(dt.key)&&(Hs=!0,tr==="after"&&(dt=R.value[Qi+1],dt?tr="before":(dt=B,tr="inside")));let Fs=dt;if(Ge.value=Fs,!Hs&&Pe.isLastChild&&Pe.key===dt.key&&(tr="after"),tr==="after"){let zs=Ke-D.clientX,Ji=0;for(;zs>=Tt/2&&dt.parent!==null&&dt.isLastChild&&Ji<1;)zs-=Tt,Ji+=1,dt=dt.parent;pt.value=Ji}else pt.value=0;if((Pe.contains(dt)||tr==="inside"&&((ge=Pe.parent)===null||ge===void 0?void 0:ge.key)===dt.key)&&!(Pe.key===Fs.key&&Pe.key===dt.key)){de();return}if(!Gt({node:dt.rawNode,dropPosition:tr,phase:"drag"})){de();return}if(Pe.key===dt.key)Ce();else if(le!==dt.key)if(tr==="inside"){if(e.expandOnDragenter){if(et(dt),!dt.shallowLoaded&&le!==dt.key){je();return}}else if(!dt.shallowLoaded){je();return}}else Ce();else tr!=="inside"&&Ce();Je.value=tr,ot.value=dt}function oe({event:D,node:B,dropPosition:pe}){if(!e.draggable||e.disabled||B.disabled)return;let{value:ge}=Xe,{value:Pe}=ot,{value:Gt}=Je;if(!(!ge||!Pe||!Gt)&&e.allowDrop({node:Pe.rawNode,dropPosition:Gt,phase:"drag"})&&ge.key!==Pe.key){if(Gt==="before"){let Tt=ge.getNext({includeDisabled:!0});if(Tt&&Tt.key===Pe.key){de();return}}if(Gt==="after"){let Tt=ge.getPrev({includeDisabled:!0});if(Tt&&Tt.key===Pe.key){de();return}}Oe({event:D,node:Pe.rawNode,dragNode:ge.rawNode,dropPosition:pe}),je()}}function ue(){K()}function he(){K()}function k(D){var B;if(e.virtualScroll||e.internalScrollable){let{value:pe}=i;if(!((B=pe?.containerRef)===null||B===void 0)&&B.contains(D.relatedTarget))return;z.value=null}else{let{value:pe}=n;if(pe?.contains(D.relatedTarget))return;z.value=null}}ct(z,D=>{var B,pe;if(D!==null){if(e.virtualScroll)(B=a.value)===null||B===void 0||B.scrollTo({key:D});else if(e.internalScrollable){let{value:ge}=i;if(ge===null)return;let Pe=(pe=ge.contentRef)===null||pe===void 0?void 0:pe.querySelector(`[data-key="${vi(D)}"]`);if(!Pe)return;ge.scrollTo({el:Pe})}}}),Zt(So,{loadingKeysRef:Fe,highlightKeySetRef:ze,displayedCheckedKeysRef:P,displayedIndeterminateKeysRef:C,mergedSelectedKeysRef:v,mergedExpandedKeysRef:Z,mergedThemeRef:o,mergedCheckStrategyRef:I,nodePropsRef:Be(e,"nodeProps"),disabledRef:Be(e,"disabled"),checkableRef:Be(e,"checkable"),selectableRef:Be(e,"selectable"),onLoadRef:Be(e,"onLoad"),draggableRef:Be(e,"draggable"),blockLineRef:Be(e,"blockLine"),indentRef:Be(e,"indent"),cascadeRef:Be(e,"cascade"),droppingMouseNodeRef:Ge,droppingNodeParentRef:$e,draggingNodeRef:Xe,droppingPositionRef:Je,droppingOffsetLevelRef:pt,fNodesRef:R,pendingNodeKeyRef:z,internalScrollableRef:Be(e,"internalScrollable"),internalCheckboxFocusableRef:Be(e,"internalCheckboxFocusable"),internalTreeSelect:e.internalTreeSelect,renderLabelRef:Be(e,"renderLabel"),renderPrefixRef:Be(e,"renderPrefix"),renderSuffixRef:Be(e,"renderSuffix"),renderSwitcherIconRef:Be(e,"renderSwitcherIcon"),labelFieldRef:Be(e,"labelField"),multipleRef:Be(e,"multiple"),handleSwitcherClick:Ze,handleDragEnd:Wr,handleDragEnter:Vt,handleDragLeave:Bt,handleDragStart:qr,handleDrop:oe,handleDragOver:y,handleSelect:lt,handleCheck:qe});let W={handleKeydown:ve,handleKeyup:re},ye=F(()=>{let{common:{cubicBezierEaseInOut:D},self:{fontSize:B,nodeBorderRadius:pe,nodeColorHover:ge,nodeColorPressed:Pe,nodeColorActive:Gt,arrowColor:Tt,loadingColor:To,nodeTextColor:Do,nodeTextColorDisabled:$t,dropMarkColor:jt}}=o.value;return{"--n-arrow-color":Tt,"--n-loading-color":To,"--n-bezier":D,"--n-font-size":B,"--n-node-border-radius":pe,"--n-node-color-active":Gt,"--n-node-color-hover":ge,"--n-node-color-pressed":Pe,"--n-node-text-color":Do,"--n-node-text-color-disabled":$t,"--n-drop-mark-color":jt}}),Ve=r?sr("tree",void 0,ye,e):void 0;return{mergedClsPrefix:t,mergedTheme:o,fNodes:q,aip:m,selfElRef:n,virtualListInstRef:a,scrollbarInstRef:i,handleFocusout:k,handleDragLeaveTree:Ko,handleScroll:ue,getScrollContainer:s,getScrollContent:l,handleAfterEnter:ae,handleResize:he,handleKeydown:W.handleKeydown,handleKeyup:W.handleKeyup,cssVars:r?void 0:ye,themeClass:Ve?.themeClass,onRender:Ve?.onRender}},render(){var e;let{fNodes:t,internalRenderEmpty:r}=this;if(!t.length&&r)return r();let{mergedClsPrefix:o,blockNode:n,blockLine:i,draggable:a,disabled:s,internalFocusable:l,checkable:u,handleKeyup:c,handleKeydown:d,handleFocusout:p}=this,f=l&&!s,h=f?"0":void 0,g=[`${o}-tree`,u&&`${o}-tree--checkable`,(i||n)&&`${o}-tree--block-node`,i&&`${o}-tree--block-line`],E=I=>"__motion"in I?x(Iy,{height:I.height,nodes:I.nodes,clsPrefix:o,mode:I.mode,onAfterEnter:this.handleAfterEnter}):x(Au,{key:I.key,tmNode:I,clsPrefix:o});if(this.virtualScroll){let{mergedTheme:I,internalScrollablePadding:P}=this,C=bi(P||"0");return x(Xa,{ref:"scrollbarInstRef",onDragleave:a?this.handleDragLeaveTree:void 0,container:this.getScrollContainer,content:this.getScrollContent,class:g,theme:I.peers.Scrollbar,themeOverrides:I.peerOverrides.Scrollbar,tabindex:h,onKeyup:f?c:void 0,onKeydown:f?d:void 0,onFocusout:f?p:void 0},{default:()=>{var _;return(_=this.onRender)===null||_===void 0||_.call(this),x(La,{ref:"virtualListInstRef",items:this.fNodes,itemSize:Iu,ignoreItemResize:this.aip,paddingTop:C.top,paddingBottom:C.bottom,class:this.themeClass,style:[this.cssVars,{paddingLeft:C.left,paddingRight:C.right}],onScroll:this.handleScroll,onResize:this.handleResize,showScrollbar:!1,itemResizable:!0},{default:({item:M})=>E(M)})}})}let{internalScrollable:b}=this;return g.push(this.themeClass),(e=this.onRender)===null||e===void 0||e.call(this),b?x(Xa,{class:g,tabindex:h,onKeyup:f?c:void 0,onKeydown:f?d:void 0,onFocusout:f?p:void 0,style:this.cssVars,contentStyle:{padding:this.internalScrollablePadding}},{default:()=>x("div",{onDragleave:a?this.handleDragLeaveTree:void 0,ref:"selfElRef"},this.fNodes.map(E))}):x("div",{class:g,tabindex:h,ref:"selfElRef",style:this.cssVars,onKeyup:f?c:void 0,onKeydown:f?d:void 0,onFocusout:f?p:void 0,onDragleave:a?this.handleDragLeaveTree:void 0},t.length?t.map(E):go(this.$slots.empty,()=>{var I,P,C,_;return[x(Sf,{class:`${o}-tree__empty`,theme:(P=(I=this.theme)===null||I===void 0?void 0:I.peers)===null||P===void 0?void 0:P.Empty,themeOverrides:(_=(C=this.themeOverrides)===null||C===void 0?void 0:C.peers)===null||_===void 0?void 0:_.Empty})]}))}});var Lu={name:"dark",common:L,Alert:Nf,Anchor:If,AutoComplete:Pf,Avatar:Ja,AvatarGroup:Rf,BackTop:Mf,Badge:Bf,Breadcrumb:$f,Button:xt,ButtonGroup:Ip,Calendar:Vf,Card:ts,Carousel:Kf,Cascader:Yf,Checkbox:Jr,Code:rs,Collapse:Jf,CollapseTransition:ep,ColorPicker:Wf,DataTable:up,DatePicker:gp,Descriptions:bp,Dialog:cs,Divider:Cp,Drawer:Sp,Dropdown:ls,DynamicInput:Ep,DynamicTags:_p,Element:Tp,Empty:Tr,Ellipsis:as,Form:Dp,GradientText:Np,Icon:fp,IconWrapper:Ap,Image:gh,Input:Et,InputNumber:Lp,Layout:Op,List:Pp,LoadingBar:Rp,Log:Mp,Menu:Hp,Mention:Bp,Message:Fp,Modal:wp,Notification:Vp,PageHeader:Wp,Pagination:ns,Popconfirm:Up,Popover:fr,Popselect:Kp,Progress:fs,Radio:ss,Rate:Yp,Result:Zp,Scrollbar:bt,Select:os,Skeleton:bh,Slider:Qp,Space:ds,Spin:eh,Statistic:th,Steps:rh,Switch:oh,Table:nh,Tabs:ih,Tag:Ya,Thing:ah,TimePicker:us,Timeline:sh,Tooltip:ko,Transfer:lh,Tree:ps,TreeSelect:dh,Typography:fh,Upload:hh,Watermark:mh};var uD={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},cD=sn("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8s-8-3.59-8-8s3.59-8 8-8m0-2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm1 10V9c0-.55-.45-1-1-1s-1 .45-1 1v3H9.21c-.45 0-.67.54-.35.85l2.79 2.79c.2.2.51.2.71 0l2.79-2.79a.5.5 0 0 0-.35-.85H13z",fill:"currentColor"},null,-1),dD=[cD];function Oy(e,t){return ir(),Ir("svg",uD,dD)}var Sh={};Sh.render=Oy;Sh.__file="src/ui/icons/ArrowCircleDownRound.vue";var Eh=Sh;var fD={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},pD=sn("path",{d:"M11.77 3c-2.65.07-5 1.28-6.6 3.16L3.85 4.85a.5.5 0 0 0-.85.36V9.5c0 .28.22.5.5.5h4.29c.45 0 .67-.54.35-.85L6.59 7.59C7.88 6.02 9.82 5 12 5c4.32 0 7.74 3.94 6.86 8.41c-.54 2.77-2.81 4.98-5.58 5.47c-3.8.68-7.18-1.74-8.05-5.16c-.12-.42-.52-.72-.96-.72c-.65 0-1.14.61-.98 1.23C4.28 18.12 7.8 21 12 21c5.06 0 9.14-4.17 9-9.26c-.14-4.88-4.35-8.86-9.23-8.74zM14 12c0-1.1-.9-2-2-2s-2 .9-2 2s.9 2 2 2s2-.9 2-2z",fill:"currentColor"},null,-1),hD=[pD];function Py(e,t){return ir(),Ir("svg",fD,hD)}var _h={};_h.render=Py;_h.__file="src/ui/icons/SettingsBackupRestoreRound.vue";var Th=_h;var mD={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},gD=sn("path",{d:"M7.38 21.01c.49.49 1.28.49 1.77 0l8.31-8.31a.996.996 0 0 0 0-1.41L9.15 2.98c-.49-.49-1.28-.49-1.77 0s-.49 1.28 0 1.77L14.62 12l-7.25 7.25c-.48.48-.48 1.28.01 1.76z",fill:"currentColor"},null,-1),bD=[gD];function Ry(e,t){return ir(),Ir("svg",mD,bD)}var Dh={};Dh.render=Ry;Dh.__file="src/ui/icons/ArrowForwardIosRound.vue";var Nh=Dh;var Ah=require("obsidian"),Ou=me({__name:"LocalIcon",props:{id:{type:String,default:"ghost"}},setup(e,{expose:t}){t();let r=e,o=(0,Ah.getIcon)(r.id)?.outerHTML||(0,Ah.getIcon)("ghost")?.outerHTML,n={props:r,html:o};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}});var xD=["innerHTML"];function My(e,t,r,o,n,i){return ir(),Ir("div",{innerHTML:o.html},null,8,xD)}Ou.render=My;Ou.__file="src/ui/icons/LocalIcon.vue";var Ih=Ou;function vD(e){let t=0;for(let r=0;r<e.length;++r)e[r]==="&"&&++t;return t}var By=/\s*,(?![^(]*\))\s*/g,yD=/\s+/g;function wD(e,t){let r=[];return t.split(By).forEach(o=>{let n=vD(o);if(n){if(n===1){e.forEach(a=>{r.push(o.replace("&",a))});return}}else{e.forEach(a=>{r.push((a&&a+" ")+o)});return}let i=[o];for(;n--;){let a=[];i.forEach(s=>{e.forEach(l=>{a.push(s.replace("&",l))})}),i=a}i.forEach(a=>r.push(a))}),r}function CD(e,t){let r=[];return t.split(By).forEach(o=>{e.forEach(n=>{r.push((n&&n+" ")+o)})}),r}function $y(e){let t=[""];return e.forEach(r=>{r=r&&r.trim(),r&&(r.includes("&")?t=wD(t,r):t=CD(t,r))}),t.join(", ").replace(yD," ")}var kD=/[A-Z]/g;function Fy(e){return e.replace(kD,t=>"-"+t.toLowerCase())}function SD(e,t=" "){return typeof e=="object"&&e!==null?` {
`+Object.entries(e).map(r=>t+` ${Fy(r[0])}: ${r[1]};`).join(`
`)+`
`+t+"}":`: ${e};`}function ED(e,t,r){return typeof e=="function"?e({context:t.context,props:r}):e}function Hy(e,t,r,o){if(!t)return"";let n=ED(t,r,o);if(!n)return"";if(typeof n=="string")return`${e} {
${n}
}`;let i=Object.keys(n);if(i.length===0)return r.config.keepEmptyBlock?e+` {
}`:"";let a=e?[e+" {"]:[];return i.forEach(s=>{let l=n[s];if(s==="raw"){a.push(`
`+l+`
`);return}s=Fy(s),l!=null&&a.push(` ${s}${SD(l)}`)}),e&&a.push("}"),a.join(`
`)}function Lh(e,t,r){e&&e.forEach(o=>{if(Array.isArray(o))Lh(o,t,r);else if(typeof o=="function"){let n=o(t);Array.isArray(n)?Lh(n,t,r):n&&r(n)}else o&&r(o)})}function zy(e,t,r,o,n,i){let a=e.$;!a||typeof a=="string"?t.push(a):typeof a=="function"?t.push(a({context:o.context,props:n})):(a.before&&a.before(o.context),!a.$||typeof a.$=="string"?t.push(a.$):a.$&&t.push(a.$({context:o.context,props:n})));let s=$y(t),l=Hy(s,e.props,o,n);i&&l&&i.insertRule(l),!i&&l.length&&r.push(l),e.children&&Lh(e.children,{context:o.context,props:n},u=>{if(typeof u=="string"){let c=Hy(s,{raw:u},o,n);i?i.insertRule(c):r.push(c)}else zy(u,t,r,o,n,i)}),t.pop(),a&&a.after&&a.after(o.context)}function Pu(e,t,r,o=!1){let n=[];return zy(e,[],n,t,r,o?e.instance.__styleSheet:void 0),o?"":n.join(`
`)}function Ru(e){if(!e)return;let t=e.parentElement;t&&t.removeChild(e)}function hs(e){return document.querySelector(`style[cssr-id="${e}"]`)}function Vy(e){let t=document.createElement("style");return t.setAttribute("cssr-id",e),t}window&&(window.__cssrContext={});function jy(e){let t=e.getAttribute("mount-count");return t===null?null:Number(t)}function Oh(e,t){e.setAttribute("mount-count",String(t))}function Ph(e,t,r,o){let{els:n}=t;if(r===void 0)n.forEach(Ru),t.els=[];else{let i=hs(r);if(i&&n.includes(i)){let a=jy(i);o?a===null?console.error(`[css-render/unmount]: The style with target='${r}' is mounted in count mode.`):a<=1?(Ru(i),t.els=n.filter(s=>s!==i)):Oh(i,a-1):a!==null?console.error(`[css-render/unmount]: The style with target='${r}' is mounted in no-count mode.`):(Ru(i),t.els=n.filter(s=>s!==i))}}}function _D(e,t){e.push(t)}function Wy(e,t,r,o,n,i,a,s,l){if(a&&!l){if(r===void 0){console.error("[css-render/mount]: `id` is required in `boost` mode.");return}let f=window.__cssrContext;f[r]||(f[r]=!0,Pu(t,e,o,a));return}let u,{els:c}=t,d;if(r===void 0&&(d=t.render(o),r=Sr(d)),l){l(r,d??t.render(o));return}let p=hs(r);if(s||p===null){if(u=p===null?Vy(r):p,d===void 0&&(d=t.render(o)),u.textContent=d,p!==null)return;if(n){let f=document.head.getElementsByTagName("style")[0]||null;document.head.insertBefore(u,f)}else document.head.appendChild(u);i&&Oh(u,1),_D(c,u)}else{let f=jy(p);i?f===null?console.error(`[css-render/mount]: The style with id='${r}' has been mounted in no-count mode.`):Oh(p,f+1):f!==null&&console.error(`[css-render/mount]: The style with id='${r}' has been mounted in count mode.`)}return p??u}function TD(e){return Pu(this,this.instance,e)}function DD(e={}){let{target:t,id:r,ssr:o,props:n,count:i=!1,head:a=!1,boost:s=!1,force:l=!1}=e;return Wy(this.instance,this,r??t,n,a,i,s,l,o)}function ND(e={}){let{id:t,target:r,delay:o=0,count:n=!1}=e;o===0?Ph(this.instance,this,t??r,n):setTimeout(()=>Ph(this.instance,this,t??r,n),o)}var Mu=function(e,t,r,o){return{instance:e,$:t,props:r,children:o,els:[],render:TD,mount:DD,unmount:ND}},qy=function(e,t,r,o){return Array.isArray(t)?Mu(e,{$:null},null,t):Array.isArray(r)?Mu(e,t,null,r):Array.isArray(o)?Mu(e,t,r,o):Mu(e,t,r,null)};function Rh(e={}){let t=null,r={c:(...o)=>qy(r,...o),use:(o,...n)=>o.install(r,...n),find:hs,context:{},config:e,get __styleSheet(){if(!t){let o=document.createElement("style");return document.head.appendChild(o),t=document.styleSheets[document.styleSheets.length-1],t}return t}};return r}var{c:Mh}=Rh(),AD=Mh(".xicon",{width:"1em",height:"1em",display:"inline-flex"},[Mh("svg",{width:"1em",height:"1em"}),Mh("svg:not([fill])",{fill:"currentColor"})]),Bh=()=>{AD.mount({id:"xicons-icon"})};var $h={size:[String,Number],color:String,tag:String},Hh=Symbol("IconConfigInjection"),ID=me({name:"IconConfigProvider",props:$h,setup(e,{slots:t}){return Zt(Hh,e),()=>mi(t,"default")}});var Uy="span";var ms=me({name:"Icon",props:$h,setup(e,{slots:t}){let r=De(Hh,null),o=F(()=>{var a;let s=(a=e.size)!==null&&a!==void 0?a:r?.size;if(s!==void 0)return typeof s=="number"||/^\d+$/.test(s)?`${s}px`:s}),n=F(()=>{let{color:a}=e;return a===void 0?r?r.color:void 0:a}),i=F(()=>{var a;let{tag:s}=e;return s===void 0?(a=r?.tag)!==null&&a!==void 0?a:Uy:s});return Oo(()=>{Bh()}),()=>x(i.value,{class:"xicon",style:{color:n.value,fontSize:o.value}},[mi(t,"default")])}});function Jy(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}var Mi=Jy();function LD(e){Mi=e}var OD=/[&<>"']/,PD=/[&<>"']/g,RD=/[<>"']|&(?!#?\w+;)/,MD=/[<>"']|&(?!#?\w+;)/g,BD={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Ky=e=>BD[e];function qt(e,t){if(t){if(OD.test(e))return e.replace(PD,Ky)}else if(RD.test(e))return e.replace(MD,Ky);return e}var $D=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function e2(e){return e.replace($D,(t,r)=>(r=r.toLowerCase(),r==="colon"?":":r.charAt(0)==="#"?r.charAt(1)==="x"?String.fromCharCode(parseInt(r.substring(2),16)):String.fromCharCode(+r.substring(1)):""))}var HD=/(^|[^\[])\^/g;function vt(e,t){e=e.source||e,t=t||"";let r={replace:(o,n)=>(n=n.source||n,n=n.replace(HD,"$1"),e=e.replace(o,n),r),getRegex:()=>new RegExp(e,t)};return r}var FD=/[^\w:]/g,zD=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Gy(e,t,r){if(e){let o;try{o=decodeURIComponent(e2(r)).replace(FD,"").toLowerCase()}catch{return null}if(o.indexOf("javascript:")===0||o.indexOf("vbscript:")===0||o.indexOf("data:")===0)return null}t&&!zD.test(r)&&(r=qD(t,r));try{r=encodeURI(r).replace(/%25/g,"%")}catch{return null}return r}var Bu={},VD=/^[^:]+:\/*[^/]*$/,jD=/^([^:]+:)[\s\S]*$/,WD=/^([^:]+:\/*[^/]*)[\s\S]*$/;function qD(e,t){Bu[" "+e]||(VD.test(e)?Bu[" "+e]=e+"/":Bu[" "+e]=$u(e,"/",!0)),e=Bu[" "+e];let r=e.indexOf(":")===-1;return t.substring(0,2)==="//"?r?t:e.replace(jD,"$1")+t:t.charAt(0)==="/"?r?t:e.replace(WD,"$1")+t:e+t}var Hu={exec:function(){}};function ro(e){let t=1,r,o;for(;t<arguments.length;t++){r=arguments[t];for(o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}function Xy(e,t){let r=e.replace(/\|/g,(i,a,s)=>{let l=!1,u=a;for(;--u>=0&&s[u]==="\\";)l=!l;return l?"|":" |"}),o=r.split(/ \|/),n=0;if(o[0].trim()||o.shift(),o.length>0&&!o[o.length-1].trim()&&o.pop(),o.length>t)o.splice(t);else for(;o.length<t;)o.push("");for(;n<o.length;n++)o[n]=o[n].trim().replace(/\\\|/g,"|");return o}function $u(e,t,r){let o=e.length;if(o===0)return"";let n=0;for(;n<o;){let i=e.charAt(o-n-1);if(i===t&&!r)n++;else if(i!==t&&r)n++;else break}return e.substr(0,o-n)}function UD(e,t){if(e.indexOf(t[1])===-1)return-1;let r=e.length,o=0,n=0;for(;n<r;n++)if(e[n]==="\\")n++;else if(e[n]===t[0])o++;else if(e[n]===t[1]&&(o--,o<0))return n;return-1}function t2(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function Yy(e,t){if(t<1)return"";let r="";for(;t>1;)t&1&&(r+=e),t>>=1,e+=e;return r+e}function Zy(e,t,r,o){let n=t.href,i=t.title?qt(t.title):null,a=e[1].replace(/\\([\[\]])/g,"$1");if(e[0].charAt(0)!=="!"){o.state.inLink=!0;let s={type:"link",raw:r,href:n,title:i,text:a,tokens:o.inlineTokens(a,[])};return o.state.inLink=!1,s}else return{type:"image",raw:r,href:n,title:i,text:qt(a)}}function KD(e,t){let r=e.match(/^(\s+)(?:```)/);if(r===null)return t;let o=r[1];return t.split(`
`).map(n=>{let i=n.match(/^\s+/);if(i===null)return n;let[a]=i;return a.length>=o.length?n.slice(o.length):n}).join(`
`)}var gs=class{constructor(t){this.options=t||Mi}space(t){let r=this.rules.block.newline.exec(t);if(r&&r[0].length>0)return{type:"space",raw:r[0]}}code(t){let r=this.rules.block.code.exec(t);if(r){let o=r[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:r[0],codeBlockStyle:"indented",text:this.options.pedantic?o:$u(o,`
`)}}}fences(t){let r=this.rules.block.fences.exec(t);if(r){let o=r[0],n=KD(o,r[3]||"");return{type:"code",raw:o,lang:r[2]?r[2].trim():r[2],text:n}}}heading(t){let r=this.rules.block.heading.exec(t);if(r){let o=r[2].trim();if(/#$/.test(o)){let i=$u(o,"#");(this.options.pedantic||!i||/ $/.test(i))&&(o=i.trim())}let n={type:"heading",raw:r[0],depth:r[1].length,text:o,tokens:[]};return this.lexer.inline(n.text,n.tokens),n}}hr(t){let r=this.rules.block.hr.exec(t);if(r)return{type:"hr",raw:r[0]}}blockquote(t){let r=this.rules.block.blockquote.exec(t);if(r){let o=r[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:r[0],tokens:this.lexer.blockTokens(o,[]),text:o}}}list(t){let r=this.rules.block.list.exec(t);if(r){let o,n,i,a,s,l,u,c,d,p,f,h,g=r[1].trim(),E=g.length>1,b={type:"list",raw:"",ordered:E,start:E?+g.slice(0,-1):"",loose:!1,items:[]};g=E?`\\d{1,9}\\${g.slice(-1)}`:`\\${g}`,this.options.pedantic&&(g=E?g:"[*+-]");let I=new RegExp(`^( {0,3}${g})((?: [^\\n]*)?(?:\\n|$))`);for(;t&&(h=!1,!(!(r=I.exec(t))||this.rules.block.hr.test(t)));){if(o=r[0],t=t.substring(o.length),c=r[2].split(`
`,1)[0],d=t.split(`
`,1)[0],this.options.pedantic?(a=2,f=c.trimLeft()):(a=r[2].search(/[^ ]/),a=a>4?1:a,f=c.slice(a),a+=r[1].length),l=!1,!c&&/^ *$/.test(d)&&(o+=d+`
`,t=t.substring(d.length+1),h=!0),!h){let C=new RegExp(`^ {0,${Math.min(3,a-1)}}(?:[*+-]|\\d{1,9}[.)])`);for(;t&&(p=t.split(`
`,1)[0],c=p,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!C.test(c));){if(c.search(/[^ ]/)>=a||!c.trim())f+=`
`+c.slice(a);else if(!l)f+=`
`+c;else break;!l&&!c.trim()&&(l=!0),o+=p+`
`,t=t.substring(p.length+1)}}b.loose||(u?b.loose=!0:/\n *\n *$/.test(o)&&(u=!0)),this.options.gfm&&(n=/^\[[ xX]\] /.exec(f),n&&(i=n[0]!=="[ ] ",f=f.replace(/^\[[ xX]\] +/,""))),b.items.push({type:"list_item",raw:o,task:!!n,checked:i,loose:!1,text:f}),b.raw+=o}b.items[b.items.length-1].raw=o.trimRight(),b.items[b.items.length-1].text=f.trimRight(),b.raw=b.raw.trimRight();let P=b.items.length;for(s=0;s<P;s++){this.lexer.state.top=!1,b.items[s].tokens=this.lexer.blockTokens(b.items[s].text,[]);let C=b.items[s].tokens.filter(M=>M.type==="space"),_=C.every(M=>{let v=M.raw.split(""),T=0;for(let $ of v)if($===`
`&&(T+=1),T>1)return!0;return!1});!b.loose&&C.length&&_&&(b.loose=!0,b.items[s].loose=!0)}return b}}html(t){let r=this.rules.block.html.exec(t);if(r){let o={type:"html",raw:r[0],pre:!this.options.sanitizer&&(r[1]==="pre"||r[1]==="script"||r[1]==="style"),text:r[0]};return this.options.sanitize&&(o.type="paragraph",o.text=this.options.sanitizer?this.options.sanitizer(r[0]):qt(r[0]),o.tokens=[],this.lexer.inline(o.text,o.tokens)),o}}def(t){let r=this.rules.block.def.exec(t);if(r)return r[3]&&(r[3]=r[3].substring(1,r[3].length-1)),{type:"def",tag:r[1].toLowerCase().replace(/\s+/g," "),raw:r[0],href:r[2],title:r[3]}}table(t){let r=this.rules.block.table.exec(t);if(r){let o={type:"table",header:Xy(r[1]).map(n=>({text:n})),align:r[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:r[3]&&r[3].trim()?r[3].replace(/\n[ \t]*$/,"").split(`
`):[]};if(o.header.length===o.align.length){o.raw=r[0];let n=o.align.length,i,a,s,l;for(i=0;i<n;i++)/^ *-+: *$/.test(o.align[i])?o.align[i]="right":/^ *:-+: *$/.test(o.align[i])?o.align[i]="center":/^ *:-+ *$/.test(o.align[i])?o.align[i]="left":o.align[i]=null;for(n=o.rows.length,i=0;i<n;i++)o.rows[i]=Xy(o.rows[i],o.header.length).map(u=>({text:u}));for(n=o.header.length,a=0;a<n;a++)o.header[a].tokens=[],this.lexer.inlineTokens(o.header[a].text,o.header[a].tokens);for(n=o.rows.length,a=0;a<n;a++)for(l=o.rows[a],s=0;s<l.length;s++)l[s].tokens=[],this.lexer.inlineTokens(l[s].text,l[s].tokens);return o}}}lheading(t){let r=this.rules.block.lheading.exec(t);if(r){let o={type:"heading",raw:r[0],depth:r[2].charAt(0)==="="?1:2,text:r[1],tokens:[]};return this.lexer.inline(o.text,o.tokens),o}}paragraph(t){let r=this.rules.block.paragraph.exec(t);if(r){let o={type:"paragraph",raw:r[0],text:r[1].charAt(r[1].length-1)===`
`?r[1].slice(0,-1):r[1],tokens:[]};return this.lexer.inline(o.text,o.tokens),o}}text(t){let r=this.rules.block.text.exec(t);if(r){let o={type:"text",raw:r[0],text:r[0],tokens:[]};return this.lexer.inline(o.text,o.tokens),o}}escape(t){let r=this.rules.inline.escape.exec(t);if(r)return{type:"escape",raw:r[0],text:qt(r[1])}}tag(t){let r=this.rules.inline.tag.exec(t);if(r)return!this.lexer.state.inLink&&/^<a /i.test(r[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(r[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:r[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):qt(r[0]):r[0]}}link(t){let r=this.rules.inline.link.exec(t);if(r){let o=r[2].trim();if(!this.options.pedantic&&/^</.test(o)){if(!/>$/.test(o))return;let a=$u(o.slice(0,-1),"\\");if((o.length-a.length)%2===0)return}else{let a=UD(r[2],"()");if(a>-1){let l=(r[0].indexOf("!")===0?5:4)+r[1].length+a;r[2]=r[2].substring(0,a),r[0]=r[0].substring(0,l).trim(),r[3]=""}}let n=r[2],i="";if(this.options.pedantic){let a=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);a&&(n=a[1],i=a[3])}else i=r[3]?r[3].slice(1,-1):"";return n=n.trim(),/^</.test(n)&&(this.options.pedantic&&!/>$/.test(o)?n=n.slice(1):n=n.slice(1,-1)),Zy(r,{href:n&&n.replace(this.rules.inline._escapes,"$1"),title:i&&i.replace(this.rules.inline._escapes,"$1")},r[0],this.lexer)}}reflink(t,r){let o;if((o=this.rules.inline.reflink.exec(t))||(o=this.rules.inline.nolink.exec(t))){let n=(o[2]||o[1]).replace(/\s+/g," ");if(n=r[n.toLowerCase()],!n||!n.href){let i=o[0].charAt(0);return{type:"text",raw:i,text:i}}return Zy(o,n,o[0],this.lexer)}}emStrong(t,r,o=""){let n=this.rules.inline.emStrong.lDelim.exec(t);if(!n||n[3]&&o.match(/[\p{L}\p{N}]/u))return;let i=n[1]||n[2]||"";if(!i||i&&(o===""||this.rules.inline.punctuation.exec(o))){let a=n[0].length-1,s,l,u=a,c=0,d=n[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(d.lastIndex=0,r=r.slice(-1*t.length+a);(n=d.exec(r))!=null;){if(s=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!s)continue;if(l=s.length,n[3]||n[4]){u+=l;continue}else if((n[5]||n[6])&&a%3&&!((a+l)%3)){c+=l;continue}if(u-=l,u>0)continue;if(l=Math.min(l,l+u+c),Math.min(a,l)%2){let f=t.slice(1,a+n.index+l);return{type:"em",raw:t.slice(0,a+n.index+l+1),text:f,tokens:this.lexer.inlineTokens(f,[])}}let p=t.slice(2,a+n.index+l-1);return{type:"strong",raw:t.slice(0,a+n.index+l+1),text:p,tokens:this.lexer.inlineTokens(p,[])}}}}codespan(t){let r=this.rules.inline.code.exec(t);if(r){let o=r[2].replace(/\n/g," "),n=/[^ ]/.test(o),i=/^ /.test(o)&&/ $/.test(o);return n&&i&&(o=o.substring(1,o.length-1)),o=qt(o,!0),{type:"codespan",raw:r[0],text:o}}}br(t){let r=this.rules.inline.br.exec(t);if(r)return{type:"br",raw:r[0]}}del(t){let r=this.rules.inline.del.exec(t);if(r)return{type:"del",raw:r[0],text:r[2],tokens:this.lexer.inlineTokens(r[2],[])}}autolink(t,r){let o=this.rules.inline.autolink.exec(t);if(o){let n,i;return o[2]==="@"?(n=qt(this.options.mangle?r(o[1]):o[1]),i="mailto:"+n):(n=qt(o[1]),i=n),{type:"link",raw:o[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}}}url(t,r){let o;if(o=this.rules.inline.url.exec(t)){let n,i;if(o[2]==="@")n=qt(this.options.mangle?r(o[0]):o[0]),i="mailto:"+n;else{let a;do a=o[0],o[0]=this.rules.inline._backpedal.exec(o[0])[0];while(a!==o[0]);n=qt(o[0]),o[1]==="www."?i="http://"+n:i=n}return{type:"link",raw:o[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}}}inlineText(t,r){let o=this.rules.inline.text.exec(t);if(o){let n;return this.lexer.state.inRawBlock?n=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):qt(o[0]):o[0]:n=qt(this.options.smartypants?r(o[0]):o[0]),{type:"text",raw:o[0],text:n}}}},Me={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:Hu,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};Me._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;Me._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;Me.def=vt(Me.def).replace("label",Me._label).replace("title",Me._title).getRegex();Me.bullet=/(?:[*+-]|\d{1,9}[.)])/;Me.listItemStart=vt(/^( *)(bull) */).replace("bull",Me.bullet).getRegex();Me.list=vt(Me.list).replace(/bull/g,Me.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Me.def.source+")").getRegex();Me._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";Me._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/;Me.html=vt(Me.html,"i").replace("comment",Me._comment).replace("tag",Me._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();Me.paragraph=vt(Me._paragraph).replace("hr",Me.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Me._tag).getRegex();Me.blockquote=vt(Me.blockquote).replace("paragraph",Me.paragraph).getRegex();Me.normal=ro({},Me);Me.gfm=ro({},Me.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"});Me.gfm.table=vt(Me.gfm.table).replace("hr",Me.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Me._tag).getRegex();Me.gfm.paragraph=vt(Me._paragraph).replace("hr",Me.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",Me.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Me._tag).getRegex();Me.pedantic=ro({},Me.normal,{html:vt(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Me._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Hu,paragraph:vt(Me.normal._paragraph).replace("hr",Me.hr).replace("heading",` *#{1,6} *[^
]`).replace("lheading",Me.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Ee={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Hu,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Hu,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};Ee._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~";Ee.punctuation=vt(Ee.punctuation).replace(/punctuation/g,Ee._punctuation).getRegex();Ee.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;Ee.escapedEmSt=/\\\*|\\_/g;Ee._comment=vt(Me._comment).replace("(?:-->|$)","-->").getRegex();Ee.emStrong.lDelim=vt(Ee.emStrong.lDelim).replace(/punct/g,Ee._punctuation).getRegex();Ee.emStrong.rDelimAst=vt(Ee.emStrong.rDelimAst,"g").replace(/punct/g,Ee._punctuation).getRegex();Ee.emStrong.rDelimUnd=vt(Ee.emStrong.rDelimUnd,"g").replace(/punct/g,Ee._punctuation).getRegex();Ee._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;Ee._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;Ee._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;Ee.autolink=vt(Ee.autolink).replace("scheme",Ee._scheme).replace("email",Ee._email).getRegex();Ee._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;Ee.tag=vt(Ee.tag).replace("comment",Ee._comment).replace("attribute",Ee._attribute).getRegex();Ee._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;Ee._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;Ee._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;Ee.link=vt(Ee.link).replace("label",Ee._label).replace("href",Ee._href).replace("title",Ee._title).getRegex();Ee.reflink=vt(Ee.reflink).replace("label",Ee._label).replace("ref",Me._label).getRegex();Ee.nolink=vt(Ee.nolink).replace("ref",Me._label).getRegex();Ee.reflinkSearch=vt(Ee.reflinkSearch,"g").replace("reflink",Ee.reflink).replace("nolink",Ee.nolink).getRegex();Ee.normal=ro({},Ee);Ee.pedantic=ro({},Ee.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:vt(/^!?\[(label)\]\((.*?)\)/).replace("label",Ee._label).getRegex(),reflink:vt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ee._label).getRegex()});Ee.gfm=ro({},Ee.normal,{escape:vt(Ee.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/});Ee.gfm.url=vt(Ee.gfm.url,"i").replace("email",Ee.gfm._extended_email).getRegex();Ee.breaks=ro({},Ee.gfm,{br:vt(Ee.br).replace("{2,}","*").getRegex(),text:vt(Ee.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});function GD(e){return e.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function Qy(e){let t="",r,o,n=e.length;for(r=0;r<n;r++)o=e.charCodeAt(r),Math.random()>.5&&(o="x"+o.toString(16)),t+="&#"+o+";";return t}var eo=class{constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Mi,this.options.tokenizer=this.options.tokenizer||new gs,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let r={block:Me.normal,inline:Ee.normal};this.options.pedantic?(r.block=Me.pedantic,r.inline=Ee.pedantic):this.options.gfm&&(r.block=Me.gfm,this.options.breaks?r.inline=Ee.breaks:r.inline=Ee.gfm),this.tokenizer.rules=r}static get rules(){return{block:Me,inline:Ee}}static lex(t,r){return new eo(r).lex(t)}static lexInline(t,r){return new eo(r).inlineTokens(t)}lex(t){t=t.replace(/\r\n|\r/g,`
`).replace(/\t/g," "),this.blockTokens(t,this.tokens);let r;for(;r=this.inlineQueue.shift();)this.inlineTokens(r.src,r.tokens);return this.tokens}blockTokens(t,r=[]){this.options.pedantic&&(t=t.replace(/^ +$/gm,""));let o,n,i,a;for(;t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(s=>(o=s.call({lexer:this},t,r))?(t=t.substring(o.raw.length),r.push(o),!0):!1))){if(o=this.tokenizer.space(t)){t=t.substring(o.raw.length),o.raw.length===1&&r.length>0?r[r.length-1].raw+=`
`:r.push(o);continue}if(o=this.tokenizer.code(t)){t=t.substring(o.raw.length),n=r[r.length-1],n&&(n.type==="paragraph"||n.type==="text")?(n.raw+=`
`+o.raw,n.text+=`
`+o.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text):r.push(o);continue}if(o=this.tokenizer.fences(t)){t=t.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.heading(t)){t=t.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.hr(t)){t=t.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.blockquote(t)){t=t.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.list(t)){t=t.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.html(t)){t=t.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.def(t)){t=t.substring(o.raw.length),n=r[r.length-1],n&&(n.type==="paragraph"||n.type==="text")?(n.raw+=`
`+o.raw,n.text+=`
`+o.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text):this.tokens.links[o.tag]||(this.tokens.links[o.tag]={href:o.href,title:o.title});continue}if(o=this.tokenizer.table(t)){t=t.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.lheading(t)){t=t.substring(o.raw.length),r.push(o);continue}if(i=t,this.options.extensions&&this.options.extensions.startBlock){let s=1/0,l=t.slice(1),u;this.options.extensions.startBlock.forEach(function(c){u=c.call({lexer:this},l),typeof u=="number"&&u>=0&&(s=Math.min(s,u))}),s<1/0&&s>=0&&(i=t.substring(0,s+1))}if(this.state.top&&(o=this.tokenizer.paragraph(i))){n=r[r.length-1],a&&n.type==="paragraph"?(n.raw+=`
`+o.raw,n.text+=`
`+o.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):r.push(o),a=i.length!==t.length,t=t.substring(o.raw.length);continue}if(o=this.tokenizer.text(t)){t=t.substring(o.raw.length),n=r[r.length-1],n&&n.type==="text"?(n.raw+=`
`+o.raw,n.text+=`
`+o.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):r.push(o);continue}if(t){let s="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(s);break}else throw new Error(s)}}return this.state.top=!0,r}inline(t,r){this.inlineQueue.push({src:t,tokens:r})}inlineTokens(t,r=[]){let o,n,i,a=t,s,l,u;if(this.tokens.links){let c=Object.keys(this.tokens.links);if(c.length>0)for(;(s=this.tokenizer.rules.inline.reflinkSearch.exec(a))!=null;)c.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(a=a.slice(0,s.index)+"["+Yy("a",s[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(s=this.tokenizer.rules.inline.blockSkip.exec(a))!=null;)a=a.slice(0,s.index)+"["+Yy("a",s[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(s=this.tokenizer.rules.inline.escapedEmSt.exec(a))!=null;)a=a.slice(0,s.index)+"++"+a.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;t;)if(l||(u=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(c=>(o=c.call({lexer:this},t,r))?(t=t.substring(o.raw.length),r.push(o),!0):!1))){if(o=this.tokenizer.escape(t)){t=t.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.tag(t)){t=t.substring(o.raw.length),n=r[r.length-1],n&&o.type==="text"&&n.type==="text"?(n.raw+=o.raw,n.text+=o.text):r.push(o);continue}if(o=this.tokenizer.link(t)){t=t.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(o.raw.length),n=r[r.length-1],n&&o.type==="text"&&n.type==="text"?(n.raw+=o.raw,n.text+=o.text):r.push(o);continue}if(o=this.tokenizer.emStrong(t,a,u)){t=t.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.codespan(t)){t=t.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.br(t)){t=t.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.del(t)){t=t.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.autolink(t,Qy)){t=t.substring(o.raw.length),r.push(o);continue}if(!this.state.inLink&&(o=this.tokenizer.url(t,Qy))){t=t.substring(o.raw.length),r.push(o);continue}if(i=t,this.options.extensions&&this.options.extensions.startInline){let c=1/0,d=t.slice(1),p;this.options.extensions.startInline.forEach(function(f){p=f.call({lexer:this},d),typeof p=="number"&&p>=0&&(c=Math.min(c,p))}),c<1/0&&c>=0&&(i=t.substring(0,c+1))}if(o=this.tokenizer.inlineText(i,GD)){t=t.substring(o.raw.length),o.raw.slice(-1)!=="_"&&(u=o.raw.slice(-1)),l=!0,n=r[r.length-1],n&&n.type==="text"?(n.raw+=o.raw,n.text+=o.text):r.push(o);continue}if(t){let c="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return r}},bs=class{constructor(t){this.options=t||Mi}code(t,r,o){let n=(r||"").match(/\S*/)[0];if(this.options.highlight){let i=this.options.highlight(t,n);i!=null&&i!==t&&(o=!0,t=i)}return t=t.replace(/\n$/,"")+`
`,n?'<pre><code class="'+this.options.langPrefix+qt(n,!0)+'">'+(o?t:qt(t,!0))+`</code></pre>
`:"<pre><code>"+(o?t:qt(t,!0))+`</code></pre>
`}blockquote(t){return`<blockquote>
`+t+`</blockquote>
`}html(t){return t}heading(t,r,o,n){return this.options.headerIds?"<h"+r+' id="'+this.options.headerPrefix+n.slug(o)+'">'+t+"</h"+r+`>
`:"<h"+r+">"+t+"</h"+r+`>
`}hr(){return this.options.xhtml?`<hr/>
`:`<hr>
`}list(t,r,o){let n=r?"ol":"ul",i=r&&o!==1?' start="'+o+'"':"";return"<"+n+i+`>
`+t+"</"+n+`>
`}listitem(t){return"<li>"+t+`</li>
`}checkbox(t){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(t){return"<p>"+t+`</p>
`}table(t,r){return r&&(r="<tbody>"+r+"</tbody>"),`<table>
<thead>
`+t+`</thead>
`+r+`</table>
`}tablerow(t){return`<tr>
`+t+`</tr>
`}tablecell(t,r){let o=r.header?"th":"td";return(r.align?"<"+o+' align="'+r.align+'">':"<"+o+">")+t+"</"+o+`>
`}strong(t){return"<strong>"+t+"</strong>"}em(t){return"<em>"+t+"</em>"}codespan(t){return"<code>"+t+"</code>"}br(){return this.options.xhtml?"<br/>":"<br>"}del(t){return"<del>"+t+"</del>"}link(t,r,o){if(t=Gy(this.options.sanitize,this.options.baseUrl,t),t===null)return o;let n='<a href="'+qt(t)+'"';return r&&(n+=' title="'+r+'"'),n+=">"+o+"</a>",n}image(t,r,o){if(t=Gy(this.options.sanitize,this.options.baseUrl,t),t===null)return o;let n='<img src="'+t+'" alt="'+o+'"';return r&&(n+=' title="'+r+'"'),n+=this.options.xhtml?"/>":">",n}text(t){return t}},Fu=class{strong(t){return t}em(t){return t}codespan(t){return t}del(t){return t}html(t){return t}text(t){return t}link(t,r,o){return""+o}image(t,r,o){return""+o}br(){return""}},zu=class{constructor(){this.seen={}}serialize(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(t,r){let o=t,n=0;if(this.seen.hasOwnProperty(o)){n=this.seen[t];do n++,o=t+"-"+n;while(this.seen.hasOwnProperty(o))}return r||(this.seen[t]=n,this.seen[o]=0),o}slug(t,r={}){let o=this.serialize(t);return this.getNextSafeSlug(o,r.dryrun)}},to=class{constructor(t){this.options=t||Mi,this.options.renderer=this.options.renderer||new bs,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Fu,this.slugger=new zu}static parse(t,r){return new to(r).parse(t)}static parseInline(t,r){return new to(r).parseInline(t)}parse(t,r=!0){let o="",n,i,a,s,l,u,c,d,p,f,h,g,E,b,I,P,C,_,M,v=t.length;for(n=0;n<v;n++){if(f=t[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[f.type]&&(M=this.options.extensions.renderers[f.type].call({parser:this},f),M!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(f.type))){o+=M||"";continue}switch(f.type){case"space":continue;case"hr":{o+=this.renderer.hr();continue}case"heading":{o+=this.renderer.heading(this.parseInline(f.tokens),f.depth,e2(this.parseInline(f.tokens,this.textRenderer)),this.slugger);continue}case"code":{o+=this.renderer.code(f.text,f.lang,f.escaped);continue}case"table":{for(d="",c="",s=f.header.length,i=0;i<s;i++)c+=this.renderer.tablecell(this.parseInline(f.header[i].tokens),{header:!0,align:f.align[i]});for(d+=this.renderer.tablerow(c),p="",s=f.rows.length,i=0;i<s;i++){for(u=f.rows[i],c="",l=u.length,a=0;a<l;a++)c+=this.renderer.tablecell(this.parseInline(u[a].tokens),{header:!1,align:f.align[a]});p+=this.renderer.tablerow(c)}o+=this.renderer.table(d,p);continue}case"blockquote":{p=this.parse(f.tokens),o+=this.renderer.blockquote(p);continue}case"list":{for(h=f.ordered,g=f.start,E=f.loose,s=f.items.length,p="",i=0;i<s;i++)I=f.items[i],P=I.checked,C=I.task,b="",I.task&&(_=this.renderer.checkbox(P),E?I.tokens.length>0&&I.tokens[0].type==="paragraph"?(I.tokens[0].text=_+" "+I.tokens[0].text,I.tokens[0].tokens&&I.tokens[0].tokens.length>0&&I.tokens[0].tokens[0].type==="text"&&(I.tokens[0].tokens[0].text=_+" "+I.tokens[0].tokens[0].text)):I.tokens.unshift({type:"text",text:_}):b+=_),b+=this.parse(I.tokens,E),p+=this.renderer.listitem(b,C,P);o+=this.renderer.list(p,h,g);continue}case"html":{o+=this.renderer.html(f.text);continue}case"paragraph":{o+=this.renderer.paragraph(this.parseInline(f.tokens));continue}case"text":{for(p=f.tokens?this.parseInline(f.tokens):f.text;n+1<v&&t[n+1].type==="text";)f=t[++n],p+=`
`+(f.tokens?this.parseInline(f.tokens):f.text);o+=r?this.renderer.paragraph(p):p;continue}default:{let T='Token with "'+f.type+'" type was not found.';if(this.options.silent){console.error(T);return}else throw new Error(T)}}}return o}parseInline(t,r){r=r||this.renderer;let o="",n,i,a,s=t.length;for(n=0;n<s;n++){if(i=t[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]&&(a=this.options.extensions.renderers[i.type].call({parser:this},i),a!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type))){o+=a||"";continue}switch(i.type){case"escape":{o+=r.text(i.text);break}case"html":{o+=r.html(i.text);break}case"link":{o+=r.link(i.href,i.title,this.parseInline(i.tokens,r));break}case"image":{o+=r.image(i.href,i.title,i.text);break}case"strong":{o+=r.strong(this.parseInline(i.tokens,r));break}case"em":{o+=r.em(this.parseInline(i.tokens,r));break}case"codespan":{o+=r.codespan(i.text);break}case"br":{o+=r.br();break}case"del":{o+=r.del(this.parseInline(i.tokens,r));break}case"text":{o+=r.text(i.text);break}default:{let l='Token with "'+i.type+'" type was not found.';if(this.options.silent){console.error(l);return}else throw new Error(l)}}}return o}};function Re(e,t,r){if(typeof e>"u"||e===null)throw new Error("marked(): input parameter is undefined or null");if(typeof e!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(typeof t=="function"&&(r=t,t=null),t=ro({},Re.defaults,t||{}),t2(t),r){let o=t.highlight,n;try{n=eo.lex(e,t)}catch(s){return r(s)}let i=function(s){let l;if(!s)try{t.walkTokens&&Re.walkTokens(n,t.walkTokens),l=to.parse(n,t)}catch(u){s=u}return t.highlight=o,s?r(s):r(null,l)};if(!o||o.length<3||(delete t.highlight,!n.length))return i();let a=0;Re.walkTokens(n,function(s){s.type==="code"&&(a++,setTimeout(()=>{o(s.text,s.lang,function(l,u){if(l)return i(l);u!=null&&u!==s.text&&(s.text=u,s.escaped=!0),a--,a===0&&i()})},0))}),a===0&&i();return}try{let o=eo.lex(e,t);return t.walkTokens&&Re.walkTokens(o,t.walkTokens),to.parse(o,t)}catch(o){if(o.message+=`
Please report this to https://github.com/markedjs/marked.`,t.silent)return"<p>An error occurred:</p><pre>"+qt(o.message+"",!0)+"</pre>";throw o}}Re.options=Re.setOptions=function(e){return ro(Re.defaults,e),LD(Re.defaults),Re};Re.getDefaults=Jy;Re.defaults=Mi;Re.use=function(...e){let t=ro({},...e),r=Re.defaults.extensions||{renderers:{},childTokens:{}},o;e.forEach(n=>{if(n.extensions&&(o=!0,n.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if(i.renderer){let a=r.renderers?r.renderers[i.name]:null;a?r.renderers[i.name]=function(...s){let l=i.renderer.apply(this,s);return l===!1&&(l=a.apply(this,s)),l}:r.renderers[i.name]=i.renderer}if(i.tokenizer){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");r[i.level]?r[i.level].unshift(i.tokenizer):r[i.level]=[i.tokenizer],i.start&&(i.level==="block"?r.startBlock?r.startBlock.push(i.start):r.startBlock=[i.start]:i.level==="inline"&&(r.startInline?r.startInline.push(i.start):r.startInline=[i.start]))}i.childTokens&&(r.childTokens[i.name]=i.childTokens)})),n.renderer){let i=Re.defaults.renderer||new bs;for(let a in n.renderer){let s=i[a];i[a]=(...l)=>{let u=n.renderer[a].apply(i,l);return u===!1&&(u=s.apply(i,l)),u}}t.renderer=i}if(n.tokenizer){let i=Re.defaults.tokenizer||new gs;for(let a in n.tokenizer){let s=i[a];i[a]=(...l)=>{let u=n.tokenizer[a].apply(i,l);return u===!1&&(u=s.apply(i,l)),u}}t.tokenizer=i}if(n.walkTokens){let i=Re.defaults.walkTokens;t.walkTokens=function(a){n.walkTokens.call(this,a),i&&i.call(this,a)}}o&&(t.extensions=r),Re.setOptions(t)})};Re.walkTokens=function(e,t){for(let r of e)switch(t.call(Re,r),r.type){case"table":{for(let o of r.header)Re.walkTokens(o.tokens,t);for(let o of r.rows)for(let n of o)Re.walkTokens(n.tokens,t);break}case"list":{Re.walkTokens(r.items,t);break}default:Re.defaults.extensions&&Re.defaults.extensions.childTokens&&Re.defaults.extensions.childTokens[r.type]?Re.defaults.extensions.childTokens[r.type].forEach(function(o){Re.walkTokens(r[o],t)}):r.tokens&&Re.walkTokens(r.tokens,t)}};Re.parseInline=function(e,t){if(typeof e>"u"||e===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof e!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");t=ro({},Re.defaults,t||{}),t2(t);try{let r=eo.lexInline(e,t);return t.walkTokens&&Re.walkTokens(r,t.walkTokens),to.parseInline(r,t)}catch(r){if(r.message+=`
Please report this to https://github.com/markedjs/marked.`,t.silent)return"<p>An error occurred:</p><pre>"+qt(r.message+"",!0)+"</pre>";throw r}};Re.Parser=to;Re.parser=to.parse;Re.Renderer=bs;Re.TextRenderer=Fu;Re.Lexer=eo;Re.lexer=eo.lex;Re.Tokenizer=gs;Re.Slugger=zu;Re.parse=Re;var Zce=Re.options,Qce=Re.setOptions,Jce=Re.use,ede=Re.walkTokens,tde=Re.parseInline;var rde=to.parse,ode=eo.lex;var hc=require("obsidian");var Bi=require("obsidian");function XD(e,t){for(let r=e;r>=0;r--)if(t[r].level<t[e].level)return r;return-1}function YD(e,t){if(e===-1)return new Set(t.map((o,n)=>n));let r=[];for(let o=e+1;o<t.length&&!(t[o].level<=t[e].level);o++)r.push(o);return new Set(r)}function r2(e,t){let r=XD(e,t),n=[...YD(r,t)].filter(i=>t[i].level===t[e].level);return new Set(n)}var S=uo({activeView(){this.plugin.activateView(),this.refreshTree()},headers:[],onPosChange:e=>{},dark:!0,cssChange:!1,markdown:!0,ellipsis:!1,labelDirection:"left",leafChange:!1,searchSupport:!0,levelSwitch:!0,hideUnsearched:!0,regexSearch:!1,currentEditingKey:"",modifyKeys:{},dragModify:!1,textDirectionDecideBy:"system",refreshTree(){this.leafChange=!this.leafChange},patchColor:!1,primaryColorLight:"",primaryColorDark:"",rainbowLine:!1,rainbowColor1:"",rainbowColor2:"",rainbowColor3:"",rainbowColor4:"",rainbowColor5:"",fontSize:"",fontFamily:"",fontWeight:"",lineHeight:"",lineGap:"",customFontColor:!1,h1Color:"",h2Color:"",h3Color:"",h4Color:"",h5Color:"",h6Color:""});var o2={name:"formula",level:"inline",start(e){return e.match(/\$/)?.index||-1},tokenizer(e,t){let o=/^\$([^\$]+)\$/.exec(e);if(o)return{type:"formula",raw:o[0],formula:o[1].trim()}},renderer(e){try{let t=(0,Bi.renderMath)(e.formula,!1);return t.setAttr("origin",e.formula),(0,Bi.finishRenderMath)(),t.outerHTML}catch{return(0,Bi.loadMathJax)().then(()=>{S.refreshTree()}),!1}}},n2={name:"internal",level:"inline",start(e){let t=e.match(/!?\[\[/);return t?t.index:-1},tokenizer(e,t){let o=/^!?\[\[([^\[\]]+?)\]\]/.exec(e);if(o){let n=/.*\|(.*)/.exec(o[1]);return{type:"internal",raw:o[0],internal:n?n[1]:o[1]}}},renderer(e){return`<span class="internal-link">${e.internal}</span>`}},i2={name:"ref",level:"inline",start(e){let t=e.match(/\^|\[/);return t?t.index:-1},tokenizer(e,t){let o=/^(\^[A-Za-z0-9\-]+)|^(\^\[[^\]]*\])|^(\[\^[^\]]*\])/.exec(e);if(o)return{type:"ref",raw:o[0],ref:(o[1]||o[2]||o[3]).trim()}},renderer(e){return""}},a2={name:"highlight",level:"inline",start(e){let t=e.match(/==/);return t?t.index:-1},tokenizer(e,t){let o=/^==([^=]+)==/.exec(e);if(o)return{type:"highlight",raw:o[0],internal:o[1]}},renderer(e){return`<mark>${e.internal}</mark>`}},s2={name:"tag",level:"inline",start(e){let t=e.match(/^#|(?<=\s)#/);return t?t.index:-1},tokenizer(e,t){let o=/^#([^\[\]{}:;'"`~,.<>?|\\!@#$%^&*()=+\d\s][^\[\]{}:;'"`~,.<>?|\\!@#$%^&*()=+\s]*)/.exec(e);if(o)return{type:"tag",raw:o[0],internal:o[1]}},renderer(e){return`<a href="" class="tag" target="_blank" rel="noopener">#${e.internal}</a>`}},l2=e=>{e.type==="link"&&(e.href="javascript:void(0);")},u2={list(e){}};function c2(e,t,r){ut(()=>{wr(e).addEventListener(t,r)}),Ot(()=>{wr(e).removeEventListener(t,r)})}var it;(function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"})(it||(it={}));function d2(e){return e.type===it.Tag||e.type===it.Script||e.type===it.Style}var f2=it.Root,p2=it.Text,h2=it.Directive,m2=it.Comment,g2=it.Script,b2=it.Style,x2=it.Tag,v2=it.CDATA,y2=it.Doctype;var Vu=class{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(t){this.parent=t}get previousSibling(){return this.prev}set previousSibling(t){this.prev=t}get nextSibling(){return this.next}set nextSibling(t){this.next=t}cloneNode(t=!1){return k2(this,t)}},xs=class extends Vu{constructor(t){super(),this.data=t}get nodeValue(){return this.data}set nodeValue(t){this.data=t}},$i=class extends xs{constructor(){super(...arguments),this.type=it.Text}get nodeType(){return 3}},vs=class extends xs{constructor(){super(...arguments),this.type=it.Comment}get nodeType(){return 8}},ys=class extends xs{constructor(t,r){super(r),this.name=t,this.type=it.Directive}get nodeType(){return 1}},ws=class extends Vu{constructor(t){super(),this.children=t}get firstChild(){var t;return(t=this.children[0])!==null&&t!==void 0?t:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(t){this.children=t}},Cs=class extends ws{constructor(){super(...arguments),this.type=it.CDATA}get nodeType(){return 4}},Hi=class extends ws{constructor(){super(...arguments),this.type=it.Root}get nodeType(){return 9}},ks=class extends ws{constructor(t,r,o=[],n=t==="script"?it.Script:t==="style"?it.Style:it.Tag){super(o),this.name=t,this.attribs=r,this.type=n}get nodeType(){return 1}get tagName(){return this.name}set tagName(t){this.name=t}get attributes(){return Object.keys(this.attribs).map(t=>{var r,o;return{name:t,value:this.attribs[t],namespace:(r=this["x-attribsNamespace"])===null||r===void 0?void 0:r[t],prefix:(o=this["x-attribsPrefix"])===null||o===void 0?void 0:o[t]}})}};function zo(e){return d2(e)}function zh(e){return e.type===it.CDATA}function ju(e){return e.type===it.Text}function Vh(e){return e.type===it.Comment}function ZD(e){return e.type===it.Directive}function C2(e){return e.type===it.Root}function k2(e,t=!1){let r;if(ju(e))r=new $i(e.data);else if(Vh(e))r=new vs(e.data);else if(zo(e)){let o=t?Fh(e.children):[],n=new ks(e.name,{...e.attribs},o);o.forEach(i=>i.parent=n),e.namespace!=null&&(n.namespace=e.namespace),e["x-attribsNamespace"]&&(n["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(n["x-attribsPrefix"]={...e["x-attribsPrefix"]}),r=n}else if(zh(e)){let o=t?Fh(e.children):[],n=new Cs(o);o.forEach(i=>i.parent=n),r=n}else if(C2(e)){let o=t?Fh(e.children):[],n=new Hi(o);o.forEach(i=>i.parent=n),e["x-mode"]&&(n["x-mode"]=e["x-mode"]),r=n}else if(ZD(e)){let o=new ys(e.name,e.data);e["x-name"]!=null&&(o["x-name"]=e["x-name"],o["x-publicId"]=e["x-publicId"],o["x-systemId"]=e["x-systemId"]),r=o}else throw new Error(`Not implemented yet: ${e.type}`);return r.startIndex=e.startIndex,r.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function Fh(e){let t=e.map(r=>k2(r,!0));for(let r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}var S2={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},Fi=class{constructor(t,r,o){this.dom=[],this.root=new Hi(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof r=="function"&&(o=r,r=S2),typeof t=="object"&&(r=t,t=void 0),this.callback=t??null,this.options=r??S2,this.elementCB=o??null}onparserinit(t){this.parser=t}onreset(){this.dom=[],this.root=new Hi(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(t){this.handleCallback(t)}onclosetag(){this.lastNode=null;let t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)}onopentag(t,r){let o=this.options.xmlMode?it.Tag:void 0,n=new ks(t,r,void 0,o);this.addNode(n),this.tagStack.push(n)}ontext(t){let{lastNode:r}=this;if(r&&r.type===it.Text)r.data+=t,this.options.withEndIndices&&(r.endIndex=this.parser.endIndex);else{let o=new $i(t);this.addNode(o),this.lastNode=o}}oncomment(t){if(this.lastNode&&this.lastNode.type===it.Comment){this.lastNode.data+=t;return}let r=new vs(t);this.addNode(r),this.lastNode=r}oncommentend(){this.lastNode=null}oncdatastart(){let t=new $i(""),r=new Cs([t]);this.addNode(r),t.parent=r,this.lastNode=t}oncdataend(){this.lastNode=null}onprocessinginstruction(t,r){let o=new ys(t,r);this.addNode(o)}handleCallback(t){if(typeof this.callback=="function")this.callback(t,this.dom);else if(t)throw t}addNode(t){let r=this.tagStack[this.tagStack.length-1],o=r.children[r.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),r.children.push(t),o&&(t.prev=o,o.next=t),t.parent=r,this.lastNode=null}};var QD=/\n/g;function JD(e){let t=[...e.matchAll(QD)].map(o=>o.index||0);t.unshift(-1);let r=jh(t,0,t.length);return o=>_2(r,o)}function jh(e,t,r){if(r-t==1)return{offset:e[t],index:t+1};let o=Math.ceil((t+r)/2),n=jh(e,t,o),i=jh(e,o,r);return{offset:n.offset,low:n,high:i}}function _2(e,t){return function(r){return Object.prototype.hasOwnProperty.call(r,"index")}(e)?{line:e.index,column:t-e.offset}:_2(e.high.offset<t?e.high:e.low,t)}function Wh(e,t="",r={}){let o=typeof t!="string"?t:r,n=typeof t=="string"?t:"",i=e.map(eN),a=!!o.lineNumbers;return function(s,l=0){let u=a?JD(s):()=>({line:0,column:0}),c=l,d=[];e:for(;c<s.length;){let p=!1;for(let f of i){f.regex.lastIndex=c;let h=f.regex.exec(s);if(h&&h[0].length>0){if(!f.discard){let g=u(c),E=typeof f.replace=="string"?h[0].replace(new RegExp(f.regex.source,f.regex.flags),f.replace):h[0];d.push({state:n,name:f.name,text:E,offset:c,len:h[0].length,line:g.line,column:g.column})}if(c=f.regex.lastIndex,p=!0,f.push){let g=f.push(s,c);d.push(...g.tokens),c=g.offset}if(f.pop)break e;break}}if(!p)break}return{tokens:d,offset:c,complete:s.length<=c}}}function eN(e,t){return{...e,regex:tN(e,t)}}function tN(e,t){if(e.name.length===0)throw new Error(`Rule #${t} has empty name, which is not allowed.`);if(function(r){return Object.prototype.hasOwnProperty.call(r,"regex")}(e))return function(r){if(r.global)throw new Error(`Regular expression /${r.source}/${r.flags} contains the global flag, which is not allowed.`);return r.sticky?r:new RegExp(r.source,r.flags+"y")}(e.regex);if(function(r){return Object.prototype.hasOwnProperty.call(r,"str")}(e)){if(e.str.length===0)throw new Error(`Rule #${t} ("${e.name}") has empty "str" property, which is not allowed.`);return new RegExp(E2(e.str),"y")}return new RegExp(E2(e.name),"y")}function E2(e){return e.replace(/[-[\]{}()*+!<=:?./\\^$|#\s,]/g,"\\$&")}function Eo(e,t){return(r,o)=>{let n=o,i;return o<r.tokens.length?(i=e(r.tokens[o],r,o),i!==void 0&&n++):t?.(r,o),i===void 0?{matched:!1}:{matched:!0,position:n,value:i}}}function qh(e,t){return e.matched?{matched:!0,position:e.position,value:t(e.value,e.position)}:e}function Wu(e,t){return e.matched?t(e):e}function er(e,t){return(r,o)=>qh(e(r,o),(n,i)=>t(n,r,o,i))}function Ss(e,t){return(r,o)=>{let n=e(r,o);return n.matched?n:{matched:!0,position:o,value:t}}}function zi(...e){return(t,r)=>{for(let o of e){let n=o(t,r);if(n.matched)return n}return{matched:!1}}}function kn(e,t){return(r,o)=>{let n=e(r,o);return n.matched?n:t(r,o)}}function rN(e,t){return(r,o)=>{let n=[],i=!0;do{let a=e(r,o);a.matched&&t(a.value,n.length+1,r,o,a.position)?(n.push(a.value),o=a.position):i=!1}while(i);return{matched:!0,position:o,value:n}}}function qu(e){return rN(e,()=>!0)}function T2(e){return lr(e,qu(e),(t,r)=>[t,...r])}function lr(e,t,r){return(o,n)=>Wu(e(o,n),i=>qh(t(o,i.position),(a,s)=>r(i.value,a,o,n,s)))}function D2(e,t){return lr(e,t,r=>r)}function Uh(e,t){return lr(e,t,(r,o)=>o)}function Uu(e,t,r,o){return(n,i)=>Wu(e(n,i),a=>Wu(t(n,a.position),s=>qh(r(n,s.position),(l,u)=>o(a.value,s.value,l,n,i,u))))}function Kh(e,t,r){return Uu(e,t,r,(o,n)=>n)}function oN(...e){return(t,r)=>{let o=[],n=r;for(let i of e){let a=i(t,n);if(a.matched)o.push(a.value),n=a.position;else return{matched:!1}}return{matched:!0,position:n,value:o}}}function N2(...e){return nN(oN(...e))}function nN(e){return er(e,t=>t.flatMap(r=>r))}function iN(e,t){return(r,o)=>{let n=!0,i=e,a=o;do{let s=t(i,r,a)(r,a);s.matched?(i=s.value,a=s.position):n=!1}while(n);return{matched:!0,position:a,value:i}}}function aN(e,t,r){return iN(e,o=>er(t,(n,i,a,s)=>r(o,n,i,a,s)))}function Gh(e,t,r){return sN(e,o=>aN(o,lr(t,r,(n,i)=>[n,i]),(n,[i,a])=>i(n,a)))}function sN(e,t){return(r,o)=>Wu(e(r,o),n=>t(n.value,r,o,n.position)(r,n.position))}var uN="(?:[ \\t\\r\\n\\f]*)",R2="(?:\\n|\\r\\n|\\r|\\f)",Xu="[^\\x00-\\x7F]",Ts="(?:\\\\[0-9a-f]{1,6}(?:\\r\\n|[ \\n\\r\\t\\f])?)",Ds="(?:\\\\[^\\n\\r\\f0-9a-f])",cN=`(?:[_a-z]|${Xu}|${Ts}|${Ds})`,M2=`(?:[_a-z0-9-]|${Xu}|${Ts}|${Ds})`,dN=`(?:${M2}+)`,fN=`(?:[-]?${cN}${M2}*)`,pN=`'([^\\n\\r\\f\\\\']|\\\\${R2}|${Xu}|${Ts}|${Ds})*'`,hN=`"([^\\n\\r\\f\\\\"]|\\\\${R2}|${Xu}|${Ts}|${Ds})*"`,mN=Wh([{name:"ws",regex:new RegExp(uN)},{name:"hash",regex:new RegExp(`#${dN}`,"i")},{name:"ident",regex:new RegExp(fN,"i")},{name:"str1",regex:new RegExp(pN,"i")},{name:"str2",regex:new RegExp(hN,"i")},{name:"*"},{name:"."},{name:","},{name:"["},{name:"]"},{name:"="},{name:">"},{name:"|"},{name:"+"},{name:"~"},{name:"^"},{name:"$"}]),gN=Wh([{name:"unicode",regex:new RegExp(Ts,"i")},{name:"escape",regex:new RegExp(Ds,"i")},{name:"any",regex:new RegExp("[\\s\\S]","i")}]);function B2([e,t,r],[o,n,i]){return[e+o,t+n,r+i]}function bN(e){return e.reduce(B2,[0,0,0])}var xN=Eo(e=>e.name==="unicode"?String.fromCodePoint(parseInt(e.text.slice(1),16)):void 0),vN=Eo(e=>e.name==="escape"?e.text.slice(1):void 0),yN=Eo(e=>e.name==="any"?e.text:void 0),wN=er(qu(zi(xN,vN,yN)),e=>e.join(""));function Zh(e){let t=gN(e);return wN({tokens:t.tokens,options:void 0},0).value}function Ct(e){return Eo(t=>t.name===e?!0:void 0)}var Qh=Eo(e=>e.name==="ws"?null:void 0),Xh=Ss(Qh,null);function ji(e){return Kh(Xh,e,Xh)}var _s=Eo(e=>e.name==="ident"?Zh(e.text):void 0),CN=Eo(e=>e.name==="hash"?Zh(e.text.slice(1)):void 0),kN=Eo(e=>e.name.startsWith("str")?Zh(e.text.slice(1,-1)):void 0),$2=D2(Ss(_s,""),Ct("|")),Jh=kn(lr($2,_s,(e,t)=>({name:t,namespace:e})),er(_s,e=>({name:e,namespace:null}))),SN=kn(lr($2,Ct("*"),e=>({type:"universal",namespace:e,specificity:[0,0,0]})),er(Ct("*"),()=>({type:"universal",namespace:null,specificity:[0,0,0]}))),EN=er(Jh,({name:e,namespace:t})=>({type:"tag",name:e,namespace:t,specificity:[0,0,1]})),_N=lr(Ct("."),_s,(e,t)=>({type:"class",name:t,specificity:[0,1,0]})),TN=er(CN,e=>({type:"id",name:e,specificity:[1,0,0]})),A2=Eo(e=>{if(e.name==="ident"){if(e.text==="i"||e.text==="I")return"i";if(e.text==="s"||e.text==="S")return"s"}}),DN=kn(lr(kN,Ss(Uh(Xh,A2),null),(e,t)=>({value:e,modifier:t})),lr(_s,Ss(Uh(Qh,A2),null),(e,t)=>({value:e,modifier:t}))),NN=zi(er(Ct("="),()=>"="),lr(Ct("~"),Ct("="),()=>"~="),lr(Ct("|"),Ct("="),()=>"|="),lr(Ct("^"),Ct("="),()=>"^="),lr(Ct("$"),Ct("="),()=>"$="),lr(Ct("*"),Ct("="),()=>"*=")),AN=Uu(Ct("["),ji(Jh),Ct("]"),(e,{name:t,namespace:r})=>({type:"attrPresence",name:t,namespace:r,specificity:[0,1,0]})),IN=Kh(Ct("["),Uu(ji(Jh),NN,ji(DN),({name:e,namespace:t},r,{value:o,modifier:n})=>({type:"attrValue",name:e,namespace:t,matcher:r,value:o,modifier:n,specificity:[0,1,0]})),Ct("]")),LN=kn(AN,IN),ON=kn(SN,EN),I2=zi(TN,_N,LN),L2=er(kn(N2(ON,qu(I2)),T2(I2)),e=>({type:"compound",list:e,specificity:bN(e.map(t=>t.specificity))})),PN=zi(er(Ct(">"),()=>">"),er(Ct("+"),()=>"+"),er(Ct("~"),()=>"~"),lr(Ct("|"),Ct("|"),()=>"||")),RN=kn(ji(PN),er(Qh,()=>" ")),Yh=Gh(L2,er(RN,e=>(t,r)=>({type:"compound",list:[...r.list,{type:"combinator",combinator:e,left:t,specificity:t.specificity}],specificity:B2(t.specificity,r.specificity)})),L2),vde=Gh(er(Yh,e=>({type:"list",list:[e]})),er(ji(Ct(",")),()=>(e,t)=>({type:"list",list:[...e.list,t]})),Yh);function MN(e,t){if(!(typeof t=="string"||t instanceof String))throw new Error("Expected a selector string. Actual input is not a string!");let r=mN(t);if(!r.complete)throw new Error(`The input "${t}" was only partially tokenized, stopped at offset ${r.offset}!
`+O2(t,r.offset));let o=ji(e)({tokens:r.tokens,options:void 0},0);if(!o.matched)throw new Error(`No match for "${t}" input!`);if(o.position<r.tokens.length){let n=r.tokens[o.position];throw new Error(`The input "${t}" was only partially parsed, stopped at offset ${n.offset}!
`+O2(t,n.offset,n.len))}return o.value}function O2(e,t,r=1){return`${e.replace(/(\t)|(\r)|(\n)/g,(o,n,i)=>n?"\u2409":i?"\u240D":"\u240A")}
${"".padEnd(t)}${"^".repeat(r)}`}function H2(e){return MN(Yh,e)}function oo(e){if(!e.type)throw new Error("This is not an AST node.");switch(e.type){case"universal":return Ku(e.namespace)+"*";case"tag":return Ku(e.namespace)+Vi(e.name);case"class":return"."+Vi(e.name);case"id":return"#"+Vi(e.name);case"attrPresence":return`[${Ku(e.namespace)}${Vi(e.name)}]`;case"attrValue":return`[${Ku(e.namespace)}${Vi(e.name)}${e.matcher}"${BN(e.value)}"${e.modifier?e.modifier:""}]`;case"combinator":return oo(e.left)+e.combinator;case"compound":return e.list.reduce((t,r)=>r.type==="combinator"?oo(r)+t:t+oo(r),"");case"list":return e.list.map(oo).join(",")}}function Ku(e){return e||e===""?Vi(e)+"|":""}function Gu(e){return`\\${e.codePointAt(0).toString(16)} `}function Vi(e){return e.replace(/(^[0-9])|(^-[0-9])|(^-$)|([-0-9a-zA-Z_]|[^\x00-\x7F])|(\x00)|([\x01-\x1f]|\x7f)|([\s\S])/g,(t,r,o,n,i,a,s,l)=>r?Gu(r):o?"-"+Gu(o.slice(1)):n?"\\-":i||(a?"\uFFFD":s?Gu(s):"\\"+l))}function BN(e){return e.replace(/(")|(\\)|(\x00)|([\x01-\x1f]|\x7f)/g,(t,r,o,n,i)=>r?'\\"':o?"\\\\":n?"\uFFFD":Gu(i))}function Es(e){if(!e.type)throw new Error("This is not an AST node.");switch(e.type){case"compound":{e.list.forEach(Es),e.list.sort((t,r)=>F2(P2(t),P2(r)));break}case"combinator":{Es(e.left);break}case"list":{e.list.forEach(Es),e.list.sort((t,r)=>oo(t)<oo(r)?-1:1);break}}return e}function P2(e){switch(e.type){case"universal":return[1];case"tag":return[1];case"id":return[2];case"class":return[3,e.name];case"attrPresence":return[4,oo(e)];case"attrValue":return[5,oo(e)];case"combinator":return[15,oo(e)]}}function em(e,t){return F2(e,t)}function F2(e,t){if(!Array.isArray(e)||!Array.isArray(t))throw new Error("Arguments must be arrays.");let r=e.length<t.length?e.length:t.length;for(let o=0;o<r;o++)if(e[o]!==t[o])return e[o]<t[o]?-1:1;return e.length-t.length}var Ns=class{constructor(t){this.branches=Wi(HN(t))}build(t){return t(this.branches)}};function HN(e){let t=e.length,r=new Array(t);for(let o=0;o<t;o++){let[n,i]=e[o],a=FN(H2(n));r[o]={ast:a,terminal:{type:"terminal",valueContainer:{index:o,value:i,specificity:a.specificity}}}}return r}function FN(e){return V2(e),Es(e),e}function V2(e){let t=[];e.list.forEach(r=>{switch(r.type){case"class":t.push({matcher:"~=",modifier:null,name:"class",namespace:null,specificity:r.specificity,type:"attrValue",value:r.name});break;case"id":t.push({matcher:"=",modifier:null,name:"id",namespace:null,specificity:r.specificity,type:"attrValue",value:r.name});break;case"combinator":V2(r.left),t.push(r);break;case"universal":break;default:t.push(r);break}}),e.list=t}function Wi(e){let t=[];for(;e.length;){let r=q2(e,a=>!0,j2),{matches:o,nonmatches:n,empty:i}=VN(e,r);e=n,o.length&&t.push(jN(r,o)),i.length&&t.push(...zN(i))}return t}function zN(e){let t=[];for(let r of e){let o=r.terminal;if(o.type==="terminal")t.push(o);else{let{matches:n,rest:i}=GN(o.cont,a=>a.type==="terminal");n.forEach(a=>t.push(a)),i.length&&(o.cont=i,t.push(o))}}return t}function VN(e,t){let r=[],o=[],n=[];for(let i of e){let a=i.ast.list;a.length?(a.some(l=>j2(l)===t)?r:o).push(i):n.push(i)}return{matches:r,nonmatches:o,empty:n}}function j2(e){switch(e.type){case"attrPresence":return`attrPresence ${e.name}`;case"attrValue":return`attrValue ${e.name}`;case"combinator":return`combinator ${e.combinator}`;default:return e.type}}function jN(e,t){if(e==="tag")return WN(t);if(e.startsWith("attrValue "))return UN(e.substring(10),t);if(e.startsWith("attrPresence "))return qN(e.substring(13),t);if(e==="combinator >")return z2(">",t);if(e==="combinator +")return z2("+",t);throw new Error(`Unsupported selector kind: ${e}`)}function WN(e){let t=tm(e,o=>o.type==="tag",o=>o.name);return{type:"tagName",variants:Object.entries(t).map(([o,n])=>({type:"variant",value:o,cont:Wi(n.items)}))}}function qN(e,t){for(let r of t)W2(r,o=>o.type==="attrPresence"&&o.name===e);return{type:"attrPresence",name:e,cont:Wi(t)}}function UN(e,t){let r=tm(t,n=>n.type==="attrValue"&&n.name===e,n=>`${n.matcher} ${n.modifier||""} ${n.value}`),o=[];for(let n of Object.values(r)){let i=n.oneSimpleSelector,a=KN(i),s=Wi(n.items);o.push({type:"matcher",matcher:i.matcher,modifier:i.modifier,value:i.value,predicate:a,cont:s})}return{type:"attrValue",name:e,matchers:o}}function KN(e){if(e.modifier==="i"){let t=e.value.toLowerCase();switch(e.matcher){case"=":return r=>t===r.toLowerCase();case"~=":return r=>r.toLowerCase().split(/[ \t]+/).includes(t);case"^=":return r=>r.toLowerCase().startsWith(t);case"$=":return r=>r.toLowerCase().endsWith(t);case"*=":return r=>r.toLowerCase().includes(t);case"|=":return r=>{let o=r.toLowerCase();return t===o||o.startsWith(t)&&o[t.length]==="-"}}}else{let t=e.value;switch(e.matcher){case"=":return r=>t===r;case"~=":return r=>r.split(/[ \t]+/).includes(t);case"^=":return r=>r.startsWith(t);case"$=":return r=>r.endsWith(t);case"*=":return r=>r.includes(t);case"|=":return r=>t===r||r.startsWith(t)&&r[t.length]==="-"}}}function z2(e,t){let r=tm(t,n=>n.type==="combinator"&&n.combinator===e,n=>oo(n.left)),o=[];for(let n of Object.values(r)){let i=Wi(n.items),a=n.oneSimpleSelector.left;o.push({ast:a,terminal:{type:"popElement",cont:i}})}return{type:"pushElement",combinator:e,cont:Wi(o)}}function tm(e,t,r){let o={};for(;e.length;){let n=q2(e,t,r),i=c=>t(c)&&r(c)===n,a=c=>c.ast.list.some(i),{matches:s,rest:l}=XN(e,a),u=null;for(let c of s){let d=W2(c,i);u||(u=d)}if(u==null)throw new Error("No simple selector is found.");o[n]={oneSimpleSelector:u,items:s},e=l}return o}function W2(e,t){let r=e.ast.list,o=new Array(r.length),n=-1;for(let a=r.length;a-- >0;)t(r[a])&&(o[a]=!0,n=a);if(n==-1)throw new Error("Couldn't find the required simple selector.");let i=r[n];return e.ast.list=r.filter((a,s)=>!o[s]),i}function q2(e,t,r){let o={};for(let a of e){let s={};for(let l of a.ast.list.filter(t))s[r(l)]=!0;for(let l of Object.keys(s))o[l]?o[l]++:o[l]=1}let n="",i=0;for(let a of Object.entries(o))a[1]>i&&(n=a[0],i=a[1]);return n}function GN(e,t){let r=[],o=[];for(let n of e)t(n)?r.push(n):o.push(n);return{matches:r,rest:o}}function XN(e,t){let r=[],o=[];for(let n of e)t(n)?r.push(n):o.push(n);return{matches:r,rest:o}}var Yu=class{constructor(t){this.f=t}pickAll(t){return this.f(t)}pick1(t,r=!1){let o=this.f(t),n=o.length;if(n===0)return null;if(n===1)return o[0].value;let i=r?YN:ZN,a=o[0];for(let s=1;s<n;s++){let l=o[s];i(a,l)&&(a=l)}return a.value}};function YN(e,t){let r=em(t.specificity,e.specificity);return r>0||r===0&&t.index<e.index}function ZN(e,t){let r=em(t.specificity,e.specificity);return r>0||r===0&&t.index>e.index}function rm(e){return new Yu(qi(e))}function qi(e){let t=e.map(QN);return(r,...o)=>t.flatMap(n=>n(r,...o))}function QN(e){switch(e.type){case"terminal":{let t=[e.valueContainer];return(r,...o)=>t}case"tagName":return JN(e);case"attrValue":return tA(e);case"attrPresence":return eA(e);case"pushElement":return rA(e);case"popElement":return nA(e)}}function JN(e){let t={};for(let r of e.variants)t[r.value]=qi(r.cont);return(r,...o)=>{let n=t[r.name];return n?n(r,...o):[]}}function eA(e){let t=e.name,r=qi(e.cont);return(o,...n)=>Object.prototype.hasOwnProperty.call(o.attribs,t)?r(o,...n):[]}function tA(e){let t=[];for(let o of e.matchers){let n=o.predicate,i=qi(o.cont);t.push((a,s,...l)=>n(a)?i(s,...l):[])}let r=e.name;return(o,...n)=>{let i=o.attribs[r];return i||i===""?t.flatMap(a=>a(i,o,...n)):[]}}function rA(e){let t=qi(e.cont),r=e.combinator==="+"?U2:oA;return(o,...n)=>{let i=r(o);return i===null?[]:t(i,o,...n)}}var U2=e=>{let t=e.prev;return t===null?null:zo(t)?t:U2(t)},oA=e=>{let t=e.parent;return t&&zo(t)?t:null};function nA(e){let t=qi(e.cont);return(r,o,...n)=>t(o,...n)}var Zu=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(e=>e.charCodeAt(0)));var Qu=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(e=>e.charCodeAt(0)));var om,iA=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Ui=(om=String.fromCodePoint)!==null&&om!==void 0?om:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function As(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=iA.get(e))!==null&&t!==void 0?t:e}var Kt;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Kt||(Kt={}));var aA=32,zr;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(zr||(zr={}));function nm(e){return e>=Kt.ZERO&&e<=Kt.NINE}function sA(e){return e>=Kt.UPPER_A&&e<=Kt.UPPER_F||e>=Kt.LOWER_A&&e<=Kt.LOWER_F}function lA(e){return e>=Kt.UPPER_A&&e<=Kt.UPPER_Z||e>=Kt.LOWER_A&&e<=Kt.LOWER_Z||nm(e)}function uA(e){return e===Kt.EQUALS||lA(e)}var Ut;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Ut||(Ut={}));var Vo;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Vo||(Vo={}));var Ju=class{constructor(t,r,o){this.decodeTree=t,this.emitCodePoint=r,this.errors=o,this.state=Ut.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Vo.Strict}startEntity(t){this.decodeMode=t,this.state=Ut.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case Ut.EntityStart:return t.charCodeAt(r)===Kt.NUM?(this.state=Ut.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=Ut.NamedEntity,this.stateNamedEntity(t,r));case Ut.NumericStart:return this.stateNumericStart(t,r);case Ut.NumericDecimal:return this.stateNumericDecimal(t,r);case Ut.NumericHex:return this.stateNumericHex(t,r);case Ut.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|aA)===Kt.LOWER_X?(this.state=Ut.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=Ut.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,o,n){if(r!==o){let i=o-r;this.result=this.result*Math.pow(n,i)+parseInt(t.substr(r,i),n),this.consumed+=i}}stateNumericHex(t,r){let o=r;for(;r<t.length;){let n=t.charCodeAt(r);if(nm(n)||sA(n))r+=1;else return this.addToNumericResult(t,o,r,16),this.emitNumericEntity(n,3)}return this.addToNumericResult(t,o,r,16),-1}stateNumericDecimal(t,r){let o=r;for(;r<t.length;){let n=t.charCodeAt(r);if(nm(n))r+=1;else return this.addToNumericResult(t,o,r,10),this.emitNumericEntity(n,2)}return this.addToNumericResult(t,o,r,10),-1}emitNumericEntity(t,r){var o;if(this.consumed<=r)return(o=this.errors)===null||o===void 0||o.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Kt.SEMI)this.consumed+=1;else if(this.decodeMode===Vo.Strict)return 0;return this.emitCodePoint(As(this.result),this.consumed),this.errors&&(t!==Kt.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,r){let{decodeTree:o}=this,n=o[this.treeIndex],i=(n&zr.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){let a=t.charCodeAt(r);if(this.treeIndex=im(o,n,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===Vo.Attribute&&(i===0||uA(a))?0:this.emitNotTerminatedNamedEntity();if(n=o[this.treeIndex],i=(n&zr.VALUE_LENGTH)>>14,i!==0){if(a===Kt.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Vo.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;let{result:r,decodeTree:o}=this,n=(o[r]&zr.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,n,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,r,o){let{decodeTree:n}=this;return this.emitCodePoint(r===1?n[t]&~zr.VALUE_LENGTH:n[t+1],o),r===3&&this.emitCodePoint(n[t+2],o),o}end(){var t;switch(this.state){case Ut.NamedEntity:return this.result!==0&&(this.decodeMode!==Vo.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Ut.NumericDecimal:return this.emitNumericEntity(0,2);case Ut.NumericHex:return this.emitNumericEntity(0,3);case Ut.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Ut.EntityStart:return 0}}};function K2(e){let t="",r=new Ju(e,o=>t+=Ui(o));return function(n,i){let a=0,s=0;for(;(s=n.indexOf("&",s))>=0;){t+=n.slice(a,s),r.startEntity(i);let u=r.write(n,s+1);if(u<0){a=s+r.end();break}a=s+u,s=u===0?a+1:a}let l=t+n.slice(a);return t="",l}}function im(e,t,r,o){let n=(t&zr.BRANCH_LENGTH)>>7,i=t&zr.JUMP_TABLE;if(n===0)return i!==0&&o===i?r:-1;if(i){let l=o-i;return l<0||l>=n?-1:e[r+l]-1}let a=r,s=a+n-1;for(;a<=s;){let l=a+s>>>1,u=e[l];if(u<o)a=l+1;else if(u>o)s=l-1;else return e[l+n]}return-1}var Lde=K2(Zu),Ode=K2(Qu);var _e;(function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"})(_e||(_e={}));var Q;(function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.SpecialStartSequence=23]="SpecialStartSequence",e[e.InSpecialTag=24]="InSpecialTag",e[e.BeforeEntity=25]="BeforeEntity",e[e.BeforeNumericEntity=26]="BeforeNumericEntity",e[e.InNamedEntity=27]="InNamedEntity",e[e.InNumericEntity=28]="InNumericEntity",e[e.InHexEntity=29]="InHexEntity"})(Q||(Q={}));function jo(e){return e===_e.Space||e===_e.NewLine||e===_e.Tab||e===_e.FormFeed||e===_e.CarriageReturn}function ec(e){return e===_e.Slash||e===_e.Gt||jo(e)}function G2(e){return e>=_e.Zero&&e<=_e.Nine}function cA(e){return e>=_e.LowerA&&e<=_e.LowerZ||e>=_e.UpperA&&e<=_e.UpperZ}function dA(e){return e>=_e.UpperA&&e<=_e.UpperF||e>=_e.LowerA&&e<=_e.LowerF}var no;(function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"})(no||(no={}));var xr={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},Ki=class{constructor({xmlMode:t=!1,decodeEntities:r=!0},o){this.cbs=o,this.state=Q.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=Q.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=t,this.decodeEntities=r,this.entityTrie=t?Qu:Zu}reset(){this.state=Q.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=Q.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(t){this.offset+=this.buffer.length,this.buffer=t,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}getIndex(){return this.index}getSectionStart(){return this.sectionStart}stateText(t){t===_e.Lt||!this.decodeEntities&&this.fastForwardTo(_e.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=Q.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&t===_e.Amp&&(this.state=Q.BeforeEntity)}stateSpecialStartSequence(t){let r=this.sequenceIndex===this.currentSequence.length;if(!(r?ec(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!r){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=Q.InTagName,this.stateInTagName(t)}stateInSpecialTag(t){if(this.sequenceIndex===this.currentSequence.length){if(t===_e.Gt||jo(t)){let r=this.index-this.currentSequence.length;if(this.sectionStart<r){let o=this.index;this.index=r,this.cbs.ontext(this.sectionStart,r),this.index=o}this.isSpecial=!1,this.sectionStart=r+2,this.stateInClosingTagName(t);return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===xr.TitleEnd?this.decodeEntities&&t===_e.Amp&&(this.state=Q.BeforeEntity):this.fastForwardTo(_e.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===_e.Lt)}stateCDATASequence(t){t===xr.Cdata[this.sequenceIndex]?++this.sequenceIndex===xr.Cdata.length&&(this.state=Q.InCommentLike,this.currentSequence=xr.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=Q.InDeclaration,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===t)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===xr.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=Q.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(t){return this.xmlMode?!ec(t):cA(t)}startSpecial(t,r){this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=r,this.state=Q.SpecialStartSequence}stateBeforeTagName(t){if(t===_e.ExclamationMark)this.state=Q.BeforeDeclaration,this.sectionStart=this.index+1;else if(t===_e.Questionmark)this.state=Q.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(t)){let r=t|32;this.sectionStart=this.index,!this.xmlMode&&r===xr.TitleEnd[2]?this.startSpecial(xr.TitleEnd,3):this.state=!this.xmlMode&&r===xr.ScriptEnd[2]?Q.BeforeSpecialS:Q.InTagName}else t===_e.Slash?this.state=Q.BeforeClosingTagName:(this.state=Q.Text,this.stateText(t))}stateInTagName(t){ec(t)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=Q.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateBeforeClosingTagName(t){jo(t)||(t===_e.Gt?this.state=Q.Text:(this.state=this.isTagStartChar(t)?Q.InClosingTagName:Q.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(t){(t===_e.Gt||jo(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=Q.AfterClosingTagName,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){(t===_e.Gt||this.fastForwardTo(_e.Gt))&&(this.state=Q.Text,this.baseState=Q.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(t){t===_e.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=Q.InSpecialTag,this.sequenceIndex=0):this.state=Q.Text,this.baseState=this.state,this.sectionStart=this.index+1):t===_e.Slash?this.state=Q.InSelfClosingTag:jo(t)||(this.state=Q.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===_e.Gt?(this.cbs.onselfclosingtag(this.index),this.state=Q.Text,this.baseState=Q.Text,this.sectionStart=this.index+1,this.isSpecial=!1):jo(t)||(this.state=Q.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateInAttributeName(t){(t===_e.Eq||ec(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=Q.AfterAttributeName,this.stateAfterAttributeName(t))}stateAfterAttributeName(t){t===_e.Eq?this.state=Q.BeforeAttributeValue:t===_e.Slash||t===_e.Gt?(this.cbs.onattribend(no.NoValue,this.index),this.state=Q.BeforeAttributeName,this.stateBeforeAttributeName(t)):jo(t)||(this.cbs.onattribend(no.NoValue,this.index),this.state=Q.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(t){t===_e.DoubleQuote?(this.state=Q.InAttributeValueDq,this.sectionStart=this.index+1):t===_e.SingleQuote?(this.state=Q.InAttributeValueSq,this.sectionStart=this.index+1):jo(t)||(this.sectionStart=this.index,this.state=Q.InAttributeValueNq,this.stateInAttributeValueNoQuotes(t))}handleInAttributeValue(t,r){t===r||!this.decodeEntities&&this.fastForwardTo(r)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(r===_e.DoubleQuote?no.Double:no.Single,this.index),this.state=Q.BeforeAttributeName):this.decodeEntities&&t===_e.Amp&&(this.baseState=this.state,this.state=Q.BeforeEntity)}stateInAttributeValueDoubleQuotes(t){this.handleInAttributeValue(t,_e.DoubleQuote)}stateInAttributeValueSingleQuotes(t){this.handleInAttributeValue(t,_e.SingleQuote)}stateInAttributeValueNoQuotes(t){jo(t)||t===_e.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(no.Unquoted,this.index),this.state=Q.BeforeAttributeName,this.stateBeforeAttributeName(t)):this.decodeEntities&&t===_e.Amp&&(this.baseState=this.state,this.state=Q.BeforeEntity)}stateBeforeDeclaration(t){t===_e.OpeningSquareBracket?(this.state=Q.CDATASequence,this.sequenceIndex=0):this.state=t===_e.Dash?Q.BeforeComment:Q.InDeclaration}stateInDeclaration(t){(t===_e.Gt||this.fastForwardTo(_e.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=Q.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===_e.Gt||this.fastForwardTo(_e.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=Q.Text,this.sectionStart=this.index+1)}stateBeforeComment(t){t===_e.Dash?(this.state=Q.InCommentLike,this.currentSequence=xr.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=Q.InDeclaration}stateInSpecialComment(t){(t===_e.Gt||this.fastForwardTo(_e.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=Q.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){let r=t|32;r===xr.ScriptEnd[3]?this.startSpecial(xr.ScriptEnd,4):r===xr.StyleEnd[3]?this.startSpecial(xr.StyleEnd,4):(this.state=Q.InTagName,this.stateInTagName(t))}stateBeforeEntity(t){this.entityExcess=1,this.entityResult=0,t===_e.Number?this.state=Q.BeforeNumericEntity:t===_e.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=Q.InNamedEntity,this.stateInNamedEntity(t))}stateInNamedEntity(t){if(this.entityExcess+=1,this.trieIndex=im(this.entityTrie,this.trieCurrent,this.trieIndex+1,t),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];let r=this.trieCurrent&zr.VALUE_LENGTH;if(r){let o=(r>>14)-1;if(!this.allowLegacyEntity()&&t!==_e.Semi)this.trieIndex+=o;else{let n=this.index-this.entityExcess+1;n>this.sectionStart&&this.emitPartial(this.sectionStart,n),this.entityResult=this.trieIndex,this.trieIndex+=o,this.entityExcess=0,this.sectionStart=this.index+1,o===0&&this.emitNamedEntity()}}}emitNamedEntity(){if(this.state=this.baseState,this.entityResult===0)return;switch((this.entityTrie[this.entityResult]&zr.VALUE_LENGTH)>>14){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~zr.VALUE_LENGTH);break}case 2:{this.emitCodePoint(this.entityTrie[this.entityResult+1]);break}case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}stateBeforeNumericEntity(t){(t|32)===_e.LowerX?(this.entityExcess++,this.state=Q.InHexEntity):(this.state=Q.InNumericEntity,this.stateInNumericEntity(t))}emitNumericEntity(t){let r=this.index-this.entityExcess-1;r+2+ +(this.state===Q.InHexEntity)!==this.index&&(r>this.sectionStart&&this.emitPartial(this.sectionStart,r),this.sectionStart=this.index+Number(t),this.emitCodePoint(As(this.entityResult))),this.state=this.baseState}stateInNumericEntity(t){t===_e.Semi?this.emitNumericEntity(!0):G2(t)?(this.entityResult=this.entityResult*10+(t-_e.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)}stateInHexEntity(t){t===_e.Semi?this.emitNumericEntity(!0):G2(t)?(this.entityResult=this.entityResult*16+(t-_e.Zero),this.entityExcess++):dA(t)?(this.entityResult=this.entityResult*16+((t|32)-_e.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)}allowLegacyEntity(){return!this.xmlMode&&(this.baseState===Q.Text||this.baseState===Q.InSpecialTag)}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===Q.Text||this.state===Q.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===Q.InAttributeValueDq||this.state===Q.InAttributeValueSq||this.state===Q.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){let t=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case Q.Text:{this.stateText(t);break}case Q.SpecialStartSequence:{this.stateSpecialStartSequence(t);break}case Q.InSpecialTag:{this.stateInSpecialTag(t);break}case Q.CDATASequence:{this.stateCDATASequence(t);break}case Q.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(t);break}case Q.InAttributeName:{this.stateInAttributeName(t);break}case Q.InCommentLike:{this.stateInCommentLike(t);break}case Q.InSpecialComment:{this.stateInSpecialComment(t);break}case Q.BeforeAttributeName:{this.stateBeforeAttributeName(t);break}case Q.InTagName:{this.stateInTagName(t);break}case Q.InClosingTagName:{this.stateInClosingTagName(t);break}case Q.BeforeTagName:{this.stateBeforeTagName(t);break}case Q.AfterAttributeName:{this.stateAfterAttributeName(t);break}case Q.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(t);break}case Q.BeforeAttributeValue:{this.stateBeforeAttributeValue(t);break}case Q.BeforeClosingTagName:{this.stateBeforeClosingTagName(t);break}case Q.AfterClosingTagName:{this.stateAfterClosingTagName(t);break}case Q.BeforeSpecialS:{this.stateBeforeSpecialS(t);break}case Q.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(t);break}case Q.InSelfClosingTag:{this.stateInSelfClosingTag(t);break}case Q.InDeclaration:{this.stateInDeclaration(t);break}case Q.BeforeDeclaration:{this.stateBeforeDeclaration(t);break}case Q.BeforeComment:{this.stateBeforeComment(t);break}case Q.InProcessingInstruction:{this.stateInProcessingInstruction(t);break}case Q.InNamedEntity:{this.stateInNamedEntity(t);break}case Q.BeforeEntity:{this.stateBeforeEntity(t);break}case Q.InHexEntity:{this.stateInHexEntity(t);break}case Q.InNumericEntity:{this.stateInNumericEntity(t);break}default:this.stateBeforeNumericEntity(t)}this.index++}this.cleanup()}finish(){this.state===Q.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){let t=this.buffer.length+this.offset;this.state===Q.InCommentLike?this.currentSequence===xr.CdataEnd?this.cbs.oncdata(this.sectionStart,t,0):this.cbs.oncomment(this.sectionStart,t,0):this.state===Q.InNumericEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===Q.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===Q.InTagName||this.state===Q.BeforeAttributeName||this.state===Q.BeforeAttributeValue||this.state===Q.AfterAttributeName||this.state===Q.InAttributeName||this.state===Q.InAttributeValueSq||this.state===Q.InAttributeValueDq||this.state===Q.InAttributeValueNq||this.state===Q.InClosingTagName||this.cbs.ontext(this.sectionStart,t)}emitPartial(t,r){this.baseState!==Q.Text&&this.baseState!==Q.InSpecialTag?this.cbs.onattribdata(t,r):this.cbs.ontext(t,r)}emitCodePoint(t){this.baseState!==Q.Text&&this.baseState!==Q.InSpecialTag?this.cbs.onattribentity(t):this.cbs.ontextentity(t)}};var Gi=new Set(["input","option","optgroup","select","button","datalist","textarea"]),ft=new Set(["p"]),X2=new Set(["thead","tbody"]),Y2=new Set(["dd","dt"]),Z2=new Set(["rt","rp"]),fA=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",ft],["h1",ft],["h2",ft],["h3",ft],["h4",ft],["h5",ft],["h6",ft],["select",Gi],["input",Gi],["output",Gi],["button",Gi],["datalist",Gi],["textarea",Gi],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",Y2],["dt",Y2],["address",ft],["article",ft],["aside",ft],["blockquote",ft],["details",ft],["div",ft],["dl",ft],["fieldset",ft],["figcaption",ft],["figure",ft],["footer",ft],["form",ft],["header",ft],["hr",ft],["main",ft],["nav",ft],["ol",ft],["pre",ft],["section",ft],["table",ft],["ul",ft],["rt",Z2],["rp",Z2],["tbody",X2],["tfoot",X2]]),pA=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),Q2=new Set(["math","svg"]),J2=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),hA=/\s|\//,Is=class{constructor(t,r={}){var o,n,i,a,s;this.options=r,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=t??{},this.lowerCaseTagNames=(o=r.lowerCaseTags)!==null&&o!==void 0?o:!r.xmlMode,this.lowerCaseAttributeNames=(n=r.lowerCaseAttributeNames)!==null&&n!==void 0?n:!r.xmlMode,this.tokenizer=new((i=r.Tokenizer)!==null&&i!==void 0?i:Ki)(this.options,this),(s=(a=this.cbs).onparserinit)===null||s===void 0||s.call(a,this)}ontext(t,r){var o,n;let i=this.getSlice(t,r);this.endIndex=r-1,(n=(o=this.cbs).ontext)===null||n===void 0||n.call(o,i),this.startIndex=r}ontextentity(t){var r,o;let n=this.tokenizer.getSectionStart();this.endIndex=n-1,(o=(r=this.cbs).ontext)===null||o===void 0||o.call(r,Ui(t)),this.startIndex=n}isVoidElement(t){return!this.options.xmlMode&&pA.has(t)}onopentagname(t,r){this.endIndex=r;let o=this.getSlice(t,r);this.lowerCaseTagNames&&(o=o.toLowerCase()),this.emitOpenTag(o)}emitOpenTag(t){var r,o,n,i;this.openTagStart=this.startIndex,this.tagname=t;let a=!this.options.xmlMode&&fA.get(t);if(a)for(;this.stack.length>0&&a.has(this.stack[this.stack.length-1]);){let s=this.stack.pop();(o=(r=this.cbs).onclosetag)===null||o===void 0||o.call(r,s,!0)}this.isVoidElement(t)||(this.stack.push(t),Q2.has(t)?this.foreignContext.push(!0):J2.has(t)&&this.foreignContext.push(!1)),(i=(n=this.cbs).onopentagname)===null||i===void 0||i.call(n,t),this.cbs.onopentag&&(this.attribs={})}endOpenTag(t){var r,o;this.startIndex=this.openTagStart,this.attribs&&((o=(r=this.cbs).onopentag)===null||o===void 0||o.call(r,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(t){this.endIndex=t,this.endOpenTag(!1),this.startIndex=t+1}onclosetag(t,r){var o,n,i,a,s,l;this.endIndex=r;let u=this.getSlice(t,r);if(this.lowerCaseTagNames&&(u=u.toLowerCase()),(Q2.has(u)||J2.has(u))&&this.foreignContext.pop(),this.isVoidElement(u))!this.options.xmlMode&&u==="br"&&((n=(o=this.cbs).onopentagname)===null||n===void 0||n.call(o,"br"),(a=(i=this.cbs).onopentag)===null||a===void 0||a.call(i,"br",{},!0),(l=(s=this.cbs).onclosetag)===null||l===void 0||l.call(s,"br",!1));else{let c=this.stack.lastIndexOf(u);if(c!==-1)if(this.cbs.onclosetag){let d=this.stack.length-c;for(;d--;)this.cbs.onclosetag(this.stack.pop(),d!==0)}else this.stack.length=c;else!this.options.xmlMode&&u==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=r+1}onselfclosingtag(t){this.endIndex=t,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=t+1):this.onopentagend(t)}closeCurrentTag(t){var r,o;let n=this.tagname;this.endOpenTag(t),this.stack[this.stack.length-1]===n&&((o=(r=this.cbs).onclosetag)===null||o===void 0||o.call(r,n,!t),this.stack.pop())}onattribname(t,r){this.startIndex=t;let o=this.getSlice(t,r);this.attribname=this.lowerCaseAttributeNames?o.toLowerCase():o}onattribdata(t,r){this.attribvalue+=this.getSlice(t,r)}onattribentity(t){this.attribvalue+=Ui(t)}onattribend(t,r){var o,n;this.endIndex=r,(n=(o=this.cbs).onattribute)===null||n===void 0||n.call(o,this.attribname,this.attribvalue,t===no.Double?'"':t===no.Single?"'":t===no.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(t){let r=t.search(hA),o=r<0?t:t.substr(0,r);return this.lowerCaseTagNames&&(o=o.toLowerCase()),o}ondeclaration(t,r){this.endIndex=r;let o=this.getSlice(t,r);if(this.cbs.onprocessinginstruction){let n=this.getInstructionName(o);this.cbs.onprocessinginstruction(`!${n}`,`!${o}`)}this.startIndex=r+1}onprocessinginstruction(t,r){this.endIndex=r;let o=this.getSlice(t,r);if(this.cbs.onprocessinginstruction){let n=this.getInstructionName(o);this.cbs.onprocessinginstruction(`?${n}`,`?${o}`)}this.startIndex=r+1}oncomment(t,r,o){var n,i,a,s;this.endIndex=r,(i=(n=this.cbs).oncomment)===null||i===void 0||i.call(n,this.getSlice(t,r-o)),(s=(a=this.cbs).oncommentend)===null||s===void 0||s.call(a),this.startIndex=r+1}oncdata(t,r,o){var n,i,a,s,l,u,c,d,p,f;this.endIndex=r;let h=this.getSlice(t,r-o);this.options.xmlMode||this.options.recognizeCDATA?((i=(n=this.cbs).oncdatastart)===null||i===void 0||i.call(n),(s=(a=this.cbs).ontext)===null||s===void 0||s.call(a,h),(u=(l=this.cbs).oncdataend)===null||u===void 0||u.call(l)):((d=(c=this.cbs).oncomment)===null||d===void 0||d.call(c,`[CDATA[${h}]]`),(f=(p=this.cbs).oncommentend)===null||f===void 0||f.call(p)),this.startIndex=r+1}onend(){var t,r;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let o=this.stack.length;o>0;this.cbs.onclosetag(this.stack[--o],!0));}(r=(t=this.cbs).onend)===null||r===void 0||r.call(t)}reset(){var t,r,o,n;(r=(t=this.cbs).onreset)===null||r===void 0||r.call(t),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(n=(o=this.cbs).onparserinit)===null||n===void 0||n.call(o,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(t){this.reset(),this.end(t)}getSlice(t,r){for(;t-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let o=this.buffers[0].slice(t-this.bufferOffset,r-this.bufferOffset);for(;r-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),o+=this.buffers[0].slice(0,r-this.bufferOffset);return o}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(t){var r,o;if(this.ended){(o=(r=this.cbs).onerror)===null||o===void 0||o.call(r,new Error(".write() after done!"));return}this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++)}end(t){var r,o;if(this.ended){(o=(r=this.cbs).onerror)===null||o===void 0||o.call(r,new Error(".end() after done!"));return}t&&this.write(t),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(t){this.write(t)}done(t){this.end(t)}};function tc(e){for(let t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}var mA=new Map(tc([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(tc([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(tc([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(tc([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]));var am=/["&'<>$\x80-\uFFFF]/g,ew=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),tw=String.prototype.codePointAt!=null?(e,t)=>e.codePointAt(t):(e,t)=>(e.charCodeAt(t)&64512)===55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t);function Ls(e){let t="",r=0,o;for(;(o=am.exec(e))!==null;){let n=o.index,i=e.charCodeAt(n),a=ew.get(i);a!==void 0?(t+=e.substring(r,n)+a,r=n+1):(t+=`${e.substring(r,n)}&#x${tw(e,n).toString(16)};`,r=am.lastIndex+=+((i&64512)===55296))}return t+e.substr(r)}function sm(e,t){return function(o){let n,i=0,a="";for(;n=e.exec(o);)i!==n.index&&(a+=o.substring(i,n.index)),a+=t.get(n[0].charCodeAt(0)),i=n.index+1;return a+o.substring(i)}}var rw=sm(/[&<>'"]/g,ew),rc=sm(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),oc=sm(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]));var ow;(function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"})(ow||(ow={}));var nw;(function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"})(nw||(nw={}));var sw=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),lw=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e]));var bA=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function xA(e){return e.replace(/"/g,"&quot;")}function vA(e,t){var r;if(!e)return;let o=((r=t.encodeEntities)!==null&&r!==void 0?r:t.decodeEntities)===!1?xA:t.xmlMode||t.encodeEntities!=="utf8"?Ls:rc;return Object.keys(e).map(n=>{var i,a;let s=(i=e[n])!==null&&i!==void 0?i:"";return t.xmlMode==="foreign"&&(n=(a=lw.get(n))!==null&&a!==void 0?a:n),!t.emptyAttrs&&!t.xmlMode&&s===""?n:`${n}="${o(s)}"`}).join(" ")}var uw=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function Os(e,t={}){let r="length"in e?e:[e],o="";for(let n=0;n<r.length;n++)o+=yA(r[n],t);return o}function yA(e,t){switch(e.type){case f2:return Os(e.children,t);case y2:case h2:return SA(e);case m2:return TA(e);case v2:return _A(e);case g2:case b2:case x2:return kA(e,t);case p2:return EA(e,t)}}var wA=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),CA=new Set(["svg","math"]);function kA(e,t){var r;t.xmlMode==="foreign"&&(e.name=(r=sw.get(e.name))!==null&&r!==void 0?r:e.name,e.parent&&wA.has(e.parent.name)&&(t={...t,xmlMode:!1})),!t.xmlMode&&CA.has(e.name)&&(t={...t,xmlMode:"foreign"});let o=`<${e.name}`,n=vA(e.attribs,t);return n&&(o+=` ${n}`),e.children.length===0&&(t.xmlMode?t.selfClosingTags!==!1:t.selfClosingTags&&uw.has(e.name))?(t.xmlMode||(o+=" "),o+="/>"):(o+=">",e.children.length>0&&(o+=Os(e.children,t)),(t.xmlMode||!uw.has(e.name))&&(o+=`</${e.name}>`)),o}function SA(e){return`<${e.data}>`}function EA(e,t){var r;let o=e.data||"";return((r=t.encodeEntities)!==null&&r!==void 0?r:t.decodeEntities)!==!1&&!(!t.xmlMode&&e.parent&&bA.has(e.parent.name))&&(o=t.xmlMode||t.encodeEntities!=="utf8"?Ls(o):oc(o)),o}function _A(e){return`<![CDATA[${e.children[0].data}]]>`}function TA(e){return`<!--${e.data}-->`}var cw;(function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"})(cw||(cw={}));function dw(e,t){let r=new Fi(void 0,t);return new Is(r,t).end(e),r.root}var gm=Nm(mw(),1);function bm(e,t,r=()=>{}){if(e===void 0){let o=function(...n){return t(o,...n)};return o}return e>=0?function(...o){return t(bm(e-1,t,r),...o)}:r}function yw(e,t){let r=0,o=e.length;for(;r<o&&e[r]===t;)++r;for(;o>r&&e[o-1]===t;)--o;return r>0||o<e.length?e.substring(r,o):e}function jA(e,t){let r=e.length;for(;r>0&&e[r-1]===t;)--r;return r<e.length?e.substring(0,r):e}function WA(e){return e.replace(/[\s\S]/g,t=>"\\u"+t.charCodeAt().toString(16).padStart(4,"0"))}function ww(e,t){let r=new Map;for(let o=e.length;o-- >0;){let n=e[o],i=t(n);r.set(i,r.has(i)?(0,gm.default)(n,r.get(i),{arrayMerge:qA}):n)}return[...r.values()].reverse()}var qA=(e,t,r)=>[...t];function Yi(e,t){for(let r of t){if(!e)return;e=e[r]}return e}function gw(e,t="a",r=26){let o=[];do e-=1,o.push(e%r),e=e/r>>0;while(e>0);let n=t.charCodeAt(0);return o.reverse().map(i=>String.fromCharCode(n+i)).join("")}var cm=["I","X","C","M"],bw=["V","L","D"];function xw(e){return[...e+""].map(t=>+t).reverse().map((t,r)=>t%5<4?(t<5?"":bw[r])+cm[r].repeat(t%5):cm[r]+(t<5?bw[r]:cm[r+1])).reverse().join("")}var ac=class{constructor(t,r=void 0){this.lines=[],this.nextLineWords=[],this.maxLineLength=r||t.wordwrap||Number.MAX_VALUE,this.nextLineAvailableChars=this.maxLineLength,this.wrapCharacters=Yi(t,["longWordSplit","wrapCharacters"])||[],this.forceWrapOnLimit=Yi(t,["longWordSplit","forceWrapOnLimit"])||!1,this.stashedSpace=!1,this.wordBreakOpportunity=!1}pushWord(t,r=!1){this.nextLineAvailableChars<=0&&!r&&this.startNewLine();let o=this.nextLineWords.length===0,n=t.length+(o?0:1);if(n<=this.nextLineAvailableChars||r)this.nextLineWords.push(t),this.nextLineAvailableChars-=n;else{let[i,...a]=this.splitLongWord(t);o||this.startNewLine(),this.nextLineWords.push(i),this.nextLineAvailableChars-=i.length;for(let s of a)this.startNewLine(),this.nextLineWords.push(s),this.nextLineAvailableChars-=s.length}}popWord(){let t=this.nextLineWords.pop();if(t!==void 0){let r=this.nextLineWords.length===0,o=t.length+(r?0:1);this.nextLineAvailableChars+=o}return t}concatWord(t,r=!1){if(this.wordBreakOpportunity&&t.length>this.nextLineAvailableChars)this.pushWord(t,r),this.wordBreakOpportunity=!1;else{let o=this.popWord();this.pushWord(o?o.concat(t):t,r)}}startNewLine(t=1){this.lines.push(this.nextLineWords),t>1&&this.lines.push(...Array.from({length:t-1},()=>[])),this.nextLineWords=[],this.nextLineAvailableChars=this.maxLineLength}isEmpty(){return this.lines.length===0&&this.nextLineWords.length===0}clear(){this.lines.length=0,this.nextLineWords.length=0,this.nextLineAvailableChars=this.maxLineLength}toString(){return[...this.lines,this.nextLineWords].map(t=>t.join(" ")).join(`
`)}splitLongWord(t){let r=[],o=0;for(;t.length>this.maxLineLength;){let n=t.substring(0,this.maxLineLength),i=t.substring(this.maxLineLength),a=n.lastIndexOf(this.wrapCharacters[o]);if(a>-1)t=n.substring(a+1)+i,r.push(n.substring(0,a+1));else if(o++,o<this.wrapCharacters.length)t=n+i;else{if(this.forceWrapOnLimit){if(r.push(n),t=i,t.length>this.maxLineLength)continue}else t=n+i;break}}return r.push(t),r}},ni=class{constructor(t=null){this.next=t}getRoot(){return this.next?this.next:this}},Vr=class extends ni{constructor(t,r=null,o=1,n=void 0){super(r),this.leadingLineBreaks=o,this.inlineTextBuilder=new ac(t,n),this.rawText="",this.stashedLineBreaks=0,this.isPre=r&&r.isPre,this.isNoWrap=r&&r.isNoWrap}},sc=class extends Vr{constructor(t,r=null,{interRowLineBreaks:o=1,leadingLineBreaks:n=2,maxLineLength:i=void 0,maxPrefixLength:a=0,prefixAlign:s="left"}={}){super(t,r,n,i),this.maxPrefixLength=a,this.prefixAlign=s,this.interRowLineBreaks=o}},Wo=class extends Vr{constructor(t,r=null,{leadingLineBreaks:o=1,maxLineLength:n=void 0,prefix:i=""}={}){super(t,r,o,n),this.prefix=i}},lc=class extends ni{constructor(t=null){super(t),this.rows=[],this.isPre=t&&t.isPre,this.isNoWrap=t&&t.isNoWrap}},uc=class extends ni{constructor(t=null){super(t),this.cells=[],this.isPre=t&&t.isPre,this.isNoWrap=t&&t.isNoWrap}},qo=class extends ni{constructor(t,r=null,o=void 0){super(r),this.inlineTextBuilder=new ac(t,o),this.rawText="",this.stashedLineBreaks=0,this.isPre=r&&r.isPre,this.isNoWrap=r&&r.isNoWrap}},dm=class extends ni{constructor(t=null,r){super(t),this.transform=r}};function UA(e){return[...e].map(t=>"\\u"+t.charCodeAt(0).toString(16).padStart(4,"0")).join("")}var fm=class{constructor(t){this.whitespaceChars=t.preserveNewlines?t.whitespaceCharacters.replace(/\n/g,""):t.whitespaceCharacters;let r=UA(this.whitespaceChars);if(this.leadingWhitespaceRe=new RegExp(`^[${r}]`),this.trailingWhitespaceRe=new RegExp(`[${r}]$`),this.allWhitespaceOrEmptyRe=new RegExp(`^[${r}]*$`),this.newlineOrNonWhitespaceRe=new RegExp(`(\\n|[^\\n${r}])`,"g"),this.newlineOrNonNewlineStringRe=new RegExp("(\\n|[^\\n]+)","g"),t.preserveNewlines){let o=new RegExp(`\\n|[^\\n${r}]+`,"gm");this.shrinkWrapAdd=function(n,i,a=l=>l,s=!1){if(!n)return;let l=i.stashedSpace,u=!1,c=o.exec(n);if(c)for(u=!0,c[0]===`
`?i.startNewLine():l||this.testLeadingWhitespace(n)?i.pushWord(a(c[0]),s):i.concatWord(a(c[0]),s);(c=o.exec(n))!==null;)c[0]===`
`?i.startNewLine():i.pushWord(a(c[0]),s);i.stashedSpace=l&&!u||this.testTrailingWhitespace(n)}}else{let o=new RegExp(`[^${r}]+`,"g");this.shrinkWrapAdd=function(n,i,a=l=>l,s=!1){if(!n)return;let l=i.stashedSpace,u=!1,c=o.exec(n);if(c)for(u=!0,l||this.testLeadingWhitespace(n)?i.pushWord(a(c[0]),s):i.concatWord(a(c[0]),s);(c=o.exec(n))!==null;)i.pushWord(a(c[0]),s);i.stashedSpace=l&&!u||this.testTrailingWhitespace(n)}}}addLiteral(t,r,o=!0){if(!t)return;let n=r.stashedSpace,i=!1,a=this.newlineOrNonNewlineStringRe.exec(t);if(a)for(i=!0,a[0]===`
`?r.startNewLine():n?r.pushWord(a[0],o):r.concatWord(a[0],o);(a=this.newlineOrNonNewlineStringRe.exec(t))!==null;)a[0]===`
`?r.startNewLine():r.pushWord(a[0],o);r.stashedSpace=n&&!i}testLeadingWhitespace(t){return this.leadingWhitespaceRe.test(t)}testTrailingWhitespace(t){return this.trailingWhitespaceRe.test(t)}testContainsWords(t){return!this.allWhitespaceOrEmptyRe.test(t)}countNewlinesNoWords(t){this.newlineOrNonWhitespaceRe.lastIndex=0;let r=0,o;for(;(o=this.newlineOrNonWhitespaceRe.exec(t))!==null;)if(o[0]===`
`)r++;else return 0;return r}},pm=class{constructor(t,r,o=void 0){this.options=t,this.picker=r,this.metadata=o,this.whitespaceProcessor=new fm(t),this._stackItem=new Vr(t),this._wordTransformer=void 0}pushWordTransform(t){this._wordTransformer=new dm(this._wordTransformer,t)}popWordTransform(){if(!this._wordTransformer)return;let t=this._wordTransformer.transform;return this._wordTransformer=this._wordTransformer.next,t}startNoWrap(){this._stackItem.isNoWrap=!0}stopNoWrap(){this._stackItem.isNoWrap=!1}_getCombinedWordTransformer(){let t=this._wordTransformer?o=>Cw(o,this._wordTransformer):void 0,r=this.options.encodeCharacters;return t?r?o=>r(t(o)):t:r}_popStackItem(){let t=this._stackItem;return this._stackItem=t.next,t}addLineBreak(){(this._stackItem instanceof Vr||this._stackItem instanceof Wo||this._stackItem instanceof qo)&&(this._stackItem.isPre?this._stackItem.rawText+=`
`:this._stackItem.inlineTextBuilder.startNewLine())}addWordBreakOpportunity(){(this._stackItem instanceof Vr||this._stackItem instanceof Wo||this._stackItem instanceof qo)&&(this._stackItem.inlineTextBuilder.wordBreakOpportunity=!0)}addInline(t,{noWordTransform:r=!1}={}){if(this._stackItem instanceof Vr||this._stackItem instanceof Wo||this._stackItem instanceof qo){if(this._stackItem.isPre){this._stackItem.rawText+=t;return}if(!(t.length===0||this._stackItem.stashedLineBreaks&&!this.whitespaceProcessor.testContainsWords(t))){if(this.options.preserveNewlines){let o=this.whitespaceProcessor.countNewlinesNoWords(t);if(o>0){this._stackItem.inlineTextBuilder.startNewLine(o);return}}this._stackItem.stashedLineBreaks&&this._stackItem.inlineTextBuilder.startNewLine(this._stackItem.stashedLineBreaks),this.whitespaceProcessor.shrinkWrapAdd(t,this._stackItem.inlineTextBuilder,r?void 0:this._getCombinedWordTransformer(),this._stackItem.isNoWrap),this._stackItem.stashedLineBreaks=0}}}addLiteral(t){if((this._stackItem instanceof Vr||this._stackItem instanceof Wo||this._stackItem instanceof qo)&&t.length!==0){if(this._stackItem.isPre){this._stackItem.rawText+=t;return}this._stackItem.stashedLineBreaks&&this._stackItem.inlineTextBuilder.startNewLine(this._stackItem.stashedLineBreaks),this.whitespaceProcessor.addLiteral(t,this._stackItem.inlineTextBuilder,this._stackItem.isNoWrap),this._stackItem.stashedLineBreaks=0}}openBlock({leadingLineBreaks:t=1,reservedLineLength:r=0,isPre:o=!1}={}){let n=Math.max(20,this._stackItem.inlineTextBuilder.maxLineLength-r);this._stackItem=new Vr(this.options,this._stackItem,t,n),o&&(this._stackItem.isPre=!0)}closeBlock({trailingLineBreaks:t=1,blockTransform:r=void 0}={}){let o=this._popStackItem(),n=r?r(oi(o)):oi(o);ic(this._stackItem,n,o.leadingLineBreaks,Math.max(o.stashedLineBreaks,t))}openList({maxPrefixLength:t=0,prefixAlign:r="left",interRowLineBreaks:o=1,leadingLineBreaks:n=2}={}){this._stackItem=new sc(this.options,this._stackItem,{interRowLineBreaks:o,leadingLineBreaks:n,maxLineLength:this._stackItem.inlineTextBuilder.maxLineLength,maxPrefixLength:t,prefixAlign:r})}openListItem({prefix:t=""}={}){if(!(this._stackItem instanceof sc))throw new Error("Can't add a list item to something that is not a list! Check the formatter.");let r=this._stackItem,o=Math.max(t.length,r.maxPrefixLength),n=Math.max(20,r.inlineTextBuilder.maxLineLength-o);this._stackItem=new Wo(this.options,r,{prefix:t,maxLineLength:n,leadingLineBreaks:r.interRowLineBreaks})}closeListItem(){let t=this._popStackItem(),r=t.next,o=Math.max(t.prefix.length,r.maxPrefixLength),n=`
`+" ".repeat(o),a=(r.prefixAlign==="right"?t.prefix.padStart(o):t.prefix.padEnd(o))+oi(t).replace(/\n/g,n);ic(r,a,t.leadingLineBreaks,Math.max(t.stashedLineBreaks,r.interRowLineBreaks))}closeList({trailingLineBreaks:t=2}={}){let r=this._popStackItem(),o=oi(r);o&&ic(this._stackItem,o,r.leadingLineBreaks,t)}openTable(){this._stackItem=new lc(this._stackItem)}openTableRow(){if(!(this._stackItem instanceof lc))throw new Error("Can't add a table row to something that is not a table! Check the formatter.");this._stackItem=new uc(this._stackItem)}openTableCell({maxColumnWidth:t=void 0}={}){if(!(this._stackItem instanceof uc))throw new Error("Can't add a table cell to something that is not a table row! Check the formatter.");this._stackItem=new qo(this.options,this._stackItem,t)}closeTableCell({colspan:t=1,rowspan:r=1}={}){let o=this._popStackItem(),n=yw(oi(o),`
`);o.next.cells.push({colspan:t,rowspan:r,text:n})}closeTableRow(){let t=this._popStackItem();t.next.rows.push(t.cells)}closeTable({tableToString:t,leadingLineBreaks:r=2,trailingLineBreaks:o=2}){let n=this._popStackItem(),i=t(n.rows);i&&ic(this._stackItem,i,r,o)}toString(){return oi(this._stackItem.getRoot())}};function oi(e){if(!(e instanceof Vr||e instanceof Wo||e instanceof qo))throw new Error("Only blocks, list items and table cells can be requested for text contents.");return e.inlineTextBuilder.isEmpty()?e.rawText:e.rawText+e.inlineTextBuilder.toString()}function ic(e,t,r,o){if(!(e instanceof Vr||e instanceof Wo||e instanceof qo))throw new Error("Only blocks, list items and table cells can contain text.");let n=oi(e),i=Math.max(e.stashedLineBreaks,r);e.inlineTextBuilder.clear(),n?e.rawText=n+`
`.repeat(i)+t:(e.rawText=t,e.leadingLineBreaks=i),e.stashedLineBreaks=o}function Cw(e,t){return t?Cw(t.transform(e),t.next):e}function KA(e={}){let t=e.selectors.filter(a=>!a.format);if(t.length)throw new Error("Following selectors have no specified format: "+t.map(a=>`\`${a.selector}\``).join(", "));let r=new Ns(e.selectors.map(a=>[a.selector,a])).build(rm);typeof e.encodeCharacters!="function"&&(e.encodeCharacters=ZA(e.encodeCharacters));let o=new Ns(e.baseElements.selectors.map((a,s)=>[a,s+1])).build(rm);function n(a){return XA(a,e,o)}let i=bm(e.limits.maxDepth,YA,function(a,s){s.addInline(e.limits.ellipsis||"")});return function(a,s=void 0){return GA(a,s,e,r,n,i)}}function GA(e,t,r,o,n,i){let a=r.limits.maxInputLength;a&&e&&e.length>a&&(console.warn(`Input length ${e.length} is above allowed limit of ${a}. Truncating without ellipsis.`),e=e.substring(0,a));let s=dw(e,{decodeEntities:r.decodeEntities}),l=n(s.children),u=new pm(r,o,t);return i(l,u),u.toString()}function XA(e,t,r){let o=[];function n(a,s){s=s.slice(0,t.limits.maxChildNodes);for(let l of s){if(l.type!=="tag")continue;let u=r.pick1(l);if(u>0?o.push({selectorIndex:u,element:l}):l.children&&a(l.children),o.length>=t.limits.maxBaseElements)return}}return bm(t.limits.maxDepth,n)(e),t.baseElements.orderBy!=="occurrence"&&o.sort((a,s)=>a.selectorIndex-s.selectorIndex),t.baseElements.returnDomByDefault&&o.length===0?e:o.map(a=>a.element)}function YA(e,t,r){if(!t)return;let o=r.options;t.length>o.limits.maxChildNodes&&(t=t.slice(0,o.limits.maxChildNodes),t.push({data:o.limits.ellipsis,type:"text"}));for(let i of t)switch(i.type){case"text":{r.addInline(i.data);break}case"tag":{let a=r.picker.pick1(i),s=o.formatters[a.format];s(i,e,r,a.options||{});break}}}function ZA(e){if(!e||Object.keys(e).length===0)return;let t=Object.entries(e).filter(([,i])=>i!==!1),r=new RegExp(t.map(([i])=>`(${WA([...i][0])})`).join("|"),"g"),o=t.map(([,i])=>i),n=(i,...a)=>o[a.findIndex(s=>s)];return i=>i.replace(r,n)}function QA(e,t,r,o){}function JA(e,t,r,o){r.addLiteral(o.string||"")}function eI(e,t,r,o){r.openBlock({leadingLineBreaks:o.leadingLineBreaks||2}),r.addLiteral(o.string||""),r.closeBlock({trailingLineBreaks:o.trailingLineBreaks||2})}function tI(e,t,r,o){t(e.children,r)}function rI(e,t,r,o){r.openBlock({leadingLineBreaks:o.leadingLineBreaks||2}),t(e.children,r),r.closeBlock({trailingLineBreaks:o.trailingLineBreaks||2})}function kw(e){let t=e.attribs&&e.attribs.length?" "+Object.entries(e.attribs).map(([r,o])=>o===""?r:`${r}=${o.replace(/"/g,"&quot;")}`).join(" "):"";return`<${e.name}${t}>`}function Sw(e){return`</${e.name}>`}function oI(e,t,r,o){r.startNoWrap(),r.addLiteral(kw(e)),r.stopNoWrap(),t(e.children,r),r.startNoWrap(),r.addLiteral(Sw(e)),r.stopNoWrap()}function nI(e,t,r,o){r.openBlock({leadingLineBreaks:o.leadingLineBreaks||2}),r.startNoWrap(),r.addLiteral(kw(e)),r.stopNoWrap(),t(e.children,r),r.startNoWrap(),r.addLiteral(Sw(e)),r.stopNoWrap(),r.closeBlock({trailingLineBreaks:o.trailingLineBreaks||2})}function iI(e,t,r,o){r.startNoWrap(),r.addLiteral(Os(e,{decodeEntities:r.options.decodeEntities})),r.stopNoWrap()}function aI(e,t,r,o){r.openBlock({leadingLineBreaks:o.leadingLineBreaks||2}),r.startNoWrap(),r.addLiteral(Os(e,{decodeEntities:r.options.decodeEntities})),r.stopNoWrap(),r.closeBlock({trailingLineBreaks:o.trailingLineBreaks||2})}function sI(e,t,r,o){r.addLiteral(o.prefix||""),t(e.children,r),r.addLiteral(o.suffix||"")}var lI=Object.freeze({__proto__:null,block:rI,blockHtml:aI,blockString:eI,blockTag:nI,inline:tI,inlineHtml:iI,inlineString:JA,inlineSurround:sI,inlineTag:oI,skip:QA});function cc(e,t){return e[t]||(e[t]=[]),e[t]}function uI(e,t=0){for(;e[t];)t++;return t}function cI(e,t){for(let r=0;r<t;r++){let o=cc(e,r);for(let n=0;n<r;n++){let i=cc(e,n);if(o[n]||i[r]){let a=o[n];o[n]=i[r],i[r]=a}}}}function dI(e,t,r,o){for(let n=0;n<e.rowspan;n++){let i=cc(t,r+n);for(let a=0;a<e.colspan;a++)i[o+a]=e}}function hm(e,t){return e[t]===void 0&&(e[t]=t===0?0:1+hm(e,t-1)),e[t]}function vw(e,t,r,o){e[t+r]=Math.max(hm(e,t+r),hm(e,t)+o)}function fI(e,t,r){let o=[],n=0,i=e.length,a=[0];for(let u=0;u<i;u++){let c=cc(o,u),d=e[u],p=0;for(let f=0;f<d.length;f++){let h=d[f];p=uI(c,p),dI(h,o,u,p),p+=h.colspan,h.lines=h.text.split(`
`);let g=h.lines.length;vw(a,u,h.rowspan,g+t)}n=c.length>n?c.length:n}cI(o,i>n?i:n);let s=[],l=[0];for(let u=0;u<n;u++){let c=0,d,p=Math.min(i,o[u].length);for(;c<p;)if(d=o[u][c],d){if(!d.rendered){let f=0;for(let h=0;h<d.lines.length;h++){let g=d.lines[h],E=a[c]+h;s[E]=(s[E]||"").padEnd(l[u])+g,f=g.length>f?g.length:f}vw(l,u,d.colspan,f+r),d.rendered=!0}c+=d.rowspan}else{let f=a[c];s[f]=s[f]||"",c++}}return s.join(`
`)}function pI(e,t,r,o){r.addLineBreak()}function hI(e,t,r,o){r.addWordBreakOpportunity()}function mI(e,t,r,o){r.openBlock({leadingLineBreaks:o.leadingLineBreaks||2}),r.addInline("-".repeat(o.length||r.options.wordwrap||40)),r.closeBlock({trailingLineBreaks:o.trailingLineBreaks||2})}function gI(e,t,r,o){r.openBlock({leadingLineBreaks:o.leadingLineBreaks||2}),t(e.children,r),r.closeBlock({trailingLineBreaks:o.trailingLineBreaks||2})}function bI(e,t,r,o){r.openBlock({isPre:!0,leadingLineBreaks:o.leadingLineBreaks||2}),t(e.children,r),r.closeBlock({trailingLineBreaks:o.trailingLineBreaks||2})}function xI(e,t,r,o){r.openBlock({leadingLineBreaks:o.leadingLineBreaks||2}),o.uppercase!==!1?(r.pushWordTransform(n=>n.toUpperCase()),t(e.children,r),r.popWordTransform()):t(e.children,r),r.closeBlock({trailingLineBreaks:o.trailingLineBreaks||2})}function vI(e,t,r,o){r.openBlock({leadingLineBreaks:o.leadingLineBreaks||2,reservedLineLength:2}),t(e.children,r),r.closeBlock({trailingLineBreaks:o.trailingLineBreaks||2,blockTransform:n=>(o.trimEmptyLines!==!1?yw(n,`
`):n).split(`
`).map(i=>"> "+i).join(`
`)})}function mm(e,t){if(!t)return e;let r=typeof t[0]=="string"?t[0]:"[",o=typeof t[1]=="string"?t[1]:"]";return r+e+o}function Ew(e,t,r,o,n){let i=typeof t=="function"?t(e,o,n):e;return i[0]==="/"&&r?jA(r,"/")+i:i}function yI(e,t,r,o){let n=e.attribs||{},i=n.alt?n.alt:"",a=n.src?Ew(n.src,o.pathRewrite,o.baseUrl,r.metadata,e):"",s=a?i?i+" "+mm(a,o.linkBrackets):mm(a,o.linkBrackets):i;r.addInline(s,{noWordTransform:!0})}function wI(e,t,r,o){function n(){if(o.ignoreHref||!e.attribs||!e.attribs.href)return"";let a=e.attribs.href.replace(/^mailto:/,"");return o.noAnchorUrl&&a[0]==="#"?"":(a=Ew(a,o.pathRewrite,o.baseUrl,r.metadata,e),a)}let i=n();if(!i)t(e.children,r);else{let a="";r.pushWordTransform(l=>(l&&(a+=l),l)),t(e.children,r),r.popWordTransform(),o.hideLinkHrefIfSameAsText&&i===a||r.addInline(a?" "+mm(i,o.linkBrackets):i,{noWordTransform:!0})}}function _w(e,t,r,o,n){let i=Yi(e,["parent","name"])==="li",a=0,s=(e.children||[]).filter(l=>l.type!=="text"||!/^\s*$/.test(l.data)).map(function(l){if(l.name!=="li")return{node:l,prefix:""};let u=i?n().trimStart():n();return u.length>a&&(a=u.length),{node:l,prefix:u}});if(s.length){r.openList({interRowLineBreaks:1,leadingLineBreaks:i?1:o.leadingLineBreaks||2,maxPrefixLength:a,prefixAlign:"left"});for(let{node:l,prefix:u}of s)r.openListItem({prefix:u}),t([l],r),r.closeListItem();r.closeList({trailingLineBreaks:i?1:o.trailingLineBreaks||2})}}function CI(e,t,r,o){let n=o.itemPrefix||" * ";return _w(e,t,r,o,()=>n)}function kI(e,t,r,o){let n=Number(e.attribs.start||"1"),i=SI(e.attribs.type);return _w(e,t,r,o,()=>" "+i(n++)+". ")}function SI(e="1"){switch(e){case"a":return t=>gw(t,"a");case"A":return t=>gw(t,"A");case"i":return t=>xw(t).toLowerCase();case"I":return t=>xw(t);case"1":default:return t=>t.toString()}}function EI(e){let t=[],r=[];for(let o of e)o.startsWith(".")?t.push(o.substring(1)):o.startsWith("#")&&r.push(o.substring(1));return{classes:t,ids:r}}function _I(e,t){if(t===!0)return!0;if(!e)return!1;let{classes:r,ids:o}=EI(t),n=(e.class||"").split(" "),i=(e.id||"").split(" ");return n.some(a=>r.includes(a))||i.some(a=>o.includes(a))}function TI(e,t,r,o){return _I(e.attribs,r.options.tables)?Tw(e,t,r,o):DI(e,t,r,o)}function DI(e,t,r,o){r.openBlock({leadingLineBreaks:o.leadingLineBreaks}),t(e.children,r),r.closeBlock({trailingLineBreaks:o.trailingLineBreaks})}function Tw(e,t,r,o){r.openTable(),e.children.forEach(i),r.closeTable({tableToString:a=>fI(a,o.rowSpacing??0,o.colSpacing??3),leadingLineBreaks:o.leadingLineBreaks,trailingLineBreaks:o.trailingLineBreaks});function n(a){let s=+Yi(a,["attribs","colspan"])||1,l=+Yi(a,["attribs","rowspan"])||1;r.openTableCell({maxColumnWidth:o.maxColumnWidth}),t(a.children,r),r.closeTableCell({colspan:s,rowspan:l})}function i(a){if(a.type!=="tag")return;let s=o.uppercaseHeaderCells!==!1?l=>{r.pushWordTransform(u=>u.toUpperCase()),n(l),r.popWordTransform()}:n;switch(a.name){case"thead":case"tbody":case"tfoot":case"center":a.children.forEach(i);return;case"tr":{r.openTableRow();for(let l of a.children)if(l.type==="tag")switch(l.name){case"th":{s(l);break}case"td":{n(l);break}}r.closeTableRow();break}}}}var NI=Object.freeze({__proto__:null,anchor:wI,blockquote:vI,dataTable:Tw,heading:xI,horizontalLine:mI,image:yI,lineBreak:pI,orderedList:kI,paragraph:gI,pre:bI,table:TI,unorderedList:CI,wbr:hI}),AI={baseElements:{selectors:["body"],orderBy:"selectors",returnDomByDefault:!0},decodeEntities:!0,encodeCharacters:{},formatters:{},limits:{ellipsis:"...",maxBaseElements:void 0,maxChildNodes:void 0,maxDepth:void 0,maxInputLength:1<<24},longWordSplit:{forceWrapOnLimit:!1,wrapCharacters:[]},preserveNewlines:!1,selectors:[{selector:"*",format:"inline"},{selector:"a",format:"anchor",options:{baseUrl:null,hideLinkHrefIfSameAsText:!1,ignoreHref:!1,linkBrackets:["[","]"],noAnchorUrl:!0}},{selector:"article",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"aside",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"blockquote",format:"blockquote",options:{leadingLineBreaks:2,trailingLineBreaks:2,trimEmptyLines:!0}},{selector:"br",format:"lineBreak"},{selector:"div",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"footer",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"form",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"h1",format:"heading",options:{leadingLineBreaks:3,trailingLineBreaks:2,uppercase:!0}},{selector:"h2",format:"heading",options:{leadingLineBreaks:3,trailingLineBreaks:2,uppercase:!0}},{selector:"h3",format:"heading",options:{leadingLineBreaks:3,trailingLineBreaks:2,uppercase:!0}},{selector:"h4",format:"heading",options:{leadingLineBreaks:2,trailingLineBreaks:2,uppercase:!0}},{selector:"h5",format:"heading",options:{leadingLineBreaks:2,trailingLineBreaks:2,uppercase:!0}},{selector:"h6",format:"heading",options:{leadingLineBreaks:2,trailingLineBreaks:2,uppercase:!0}},{selector:"header",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"hr",format:"horizontalLine",options:{leadingLineBreaks:2,length:void 0,trailingLineBreaks:2}},{selector:"img",format:"image",options:{baseUrl:null,linkBrackets:["[","]"]}},{selector:"main",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"nav",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"ol",format:"orderedList",options:{leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"p",format:"paragraph",options:{leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"pre",format:"pre",options:{leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"section",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"table",format:"table",options:{colSpacing:3,leadingLineBreaks:2,maxColumnWidth:60,rowSpacing:0,trailingLineBreaks:2,uppercaseHeaderCells:!0}},{selector:"ul",format:"unorderedList",options:{itemPrefix:" * ",leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"wbr",format:"wbr"}],tables:[],whitespaceCharacters:` \r
\f\u200B`,wordwrap:80},II=(e,t,r)=>[...e,...t],Dw=(e,t,r)=>[...t],LI=(e,t,r)=>e.some(o=>typeof o=="object")?II(e,t):Dw(e,t);function xm(e={}){return e=(0,gm.default)(AI,e,{arrayMerge:Dw,customMerge:t=>t==="selectors"?LI:void 0}),e.formatters=Object.assign({},lI,NI,e.formatters),e.selectors=ww(e.selectors,t=>t.selector),OI(e),KA(e)}function OI(e){if(e.tags){let r=Object.entries(e.tags).map(([o,n])=>({...n,selector:o||"*"}));e.selectors.push(...r),e.selectors=ww(e.selectors,o=>o.selector)}function t(r,o,n){let i=o.pop();for(let a of o){let s=r[a];s||(s={},r[a]=s),r=s}r[i]=n}if(e.baseElement){let r=e.baseElement;t(e,["baseElements","selectors"],Array.isArray(r)?r:[r])}e.returnDomByDefault!==void 0&&t(e,["baseElements","returnDomByDefault"],e.returnDomByDefault);for(let r of e.selectors)r.format==="anchor"&&Yi(r,["options","noLinkBrackets"])&&t(r,["options","linkBrackets"],!1)}function Nw(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}var Aw=xm({wordwrap:!1}),Iw=xm({selectors:[{selector:"mjx-container",format:"origin"}],formatters:{origin:(e,t,r,o)=>{r.openBlock(),r.addInline(e.attribs.origin),r.closeBlock()}}});function Rs(e,t){function r(o,n){switch(n.type){case"normal":o.addItem(i=>i.setTitle(n.title).onClick(n.fn));break;case"parent":o.addItem(i=>{i.setTitle(n.title);let a=i.setSubmenu().setNoIcon();Rs(a,n.subMenu)});break;case"separator":o.addSeparator();break}}t.forEach(o=>{r(e,o)})}function jr(e,t){return{type:"normal",title:e,fn:t}}function Lw(e,t){return{type:"parent",title:e,subMenu:t}}function Ow(){return{type:"separator"}}var Kw=require("obsidian");var Pw=require("@codemirror/view"),vm=class{constructor(t){}update(t){t.selectionSet&&document.dispatchEvent(new CustomEvent("quiet-outline-cursorchange",{detail:{docChanged:t.docChanged}}))}destroy(){}},Rw=Pw.ViewPlugin.fromClass(vm);var Mw=require("obsidian");var io=class extends Mw.Component{_loaded=!1;canDrop=!1;plugin;view;constructor(t,r){super(),this.plugin=t,this.view=r}async load(){this._loaded||(this._loaded=!0,this.constructor._installed||(await this.install(),this.constructor._installed=!0),await this.onload(),this.view?.addChild(this))}async unload(){if(this._loaded){for(this._loaded=!1;this._events.length>0;)this._events.pop()();await this.onunload(),this.view?.removeChild(this),this.plugin.navigator=new Ms(this.plugin,null)}}getDefaultLevel(){return parseInt(this.plugin.settings.expand_level)}getPath(){return""}async install(){}async onload(){}async onunload(){}async handleDrop(t,r,o){}onRightClick(t,r,o,n){}toBottom(){}onExpandKeysChange(t,r){}changeContent(t,r){}async jumpWithoutFocus(t){this.jump(t)}async jumpWhenClick(t){this.jumpWithoutFocus(t)}},Ms=class extends io{getId(){return"dummy"}async jump(t){}async getHeaders(){return[]}async setHeaders(){S.headers=[]}async updateHeaders(){}};function PI(e,t){let r=0,o=0,n=[];for(;r<e.length&&o<t.length;){if(e[r].heading===t[o].heading&&e[r].level===t[o].level){r++,o++;continue}let i=RI(e,t,r,o);if(i.type=="modify"){let a=e[r].level<e[r+1].level?t[o].level<t[o+1].level?"parent2parent":"parent2child":t[o].level<t[o+1].level?"child2parent":"child2child";n.push({type:i.type,begin:r,length:i.length,levelChange:e[r].level!==t[o].level,levelChangeType:a})}else n.push({type:i.type,begin:r,length:i.length});i.type==="add"?o+=i.length:i.type==="remove"?r+=i.length:(r+=i.length,o+=i.length)}return r===e.length&&o!==t.length&&n.push({type:"add",begin:r,length:t.length-o}),r!==e.length&&o===t.length&&n.push({type:"remove",begin:r,length:e.length-r}),n}function RI(e,t,r,o){let n=Bw(e[r],t,o),i=Bw(t[o],e,r),a=MI(e,t,r,o),s=[{type:"add",length:n},{type:"remove",length:i},{type:"modify",length:a}];return s.sort((l,u)=>l.length-u.length),s[0].type=="add"&&s[1].type=="remove"&&s[0].length===s[1].length?s[1]:s[0]}function Bw(e,t,r){let o=t.slice(r),n=o.findIndex(i=>i.heading===e.heading&&i.level===e.level);return n=n<0?o.length:n,n}function MI(e,t,r,o){let n=Math.min(e.length-r-1,t.length-o-1,5);for(let i=1;n>0&&i<=n;i++)if(e[r+i].heading===t[o+i].heading&&e[r+i].level===t[o+i].level)return i;return Number.MAX_VALUE}function Bs(e,t){let r=PI(e,t),o={offsetModifies:[],removes:[],adds:[],modifies:[]},n=0;return r.forEach(i=>{switch(i.type){case"add":{o.adds.push({begin:n+i.begin}),n+=i.length,o.offsetModifies.push({begin:i.begin,offset:n});break}case"remove":{n-=i.length,o.offsetModifies.push({begin:i.begin+i.length,offset:n}),o.removes.push({begin:i.begin,length:i.length});break}case"modify":{if(!i.levelChange||i.levelChangeType==="child2child")break;o.modifies.push({oldBegin:i.begin,newBegin:i.begin+n,levelChangeType:i.levelChangeType});break}}}),o}async function ym(e,t){return await e.metadataCache.computeMetadataAsync(new TextEncoder().encode(t).buffer)}async function Hw(e,t){let r=await ym(t,e),o=r.headings||[],n=r.sections||[],a=[{heading:"",headingLevel:0,headingExpaned:!1,id:-1,content:{preContent:"",children:[]},type:"section"}],s=0,l=0,u=0;for(let d of n)if(d.type==="heading"){for(l=Math.max(d.position.start.offset,0),a.last().content.preContent=e.slice(s,l);o[u].level<=a.last().headingLevel;)a.pop();let p={heading:o[u].heading,headingLevel:o[u].level,headingExpaned:!1,id:u,content:{preContent:"",children:[]},type:"section"};a.last().content.children.push(p),a.push(p),s=o[u].position.end.offset+1,u++}let c=e.slice(s);return a.length>1&&!c.endsWith(`
`)&&(c+=`
`),a.last().content.preContent=c,a[0]}function Fw(e,t,r,o){let[n,i]=$w(e,t),[a,s]=$w(e,r),l=structuredClone(i);switch(o){case"before":a.content.children.splice(a.content.children.indexOf(s),0,l),dc(l,s.headingLevel-i.headingLevel);break;case"after":a.content.children.splice(a.content.children.indexOf(s)+1,0,l),dc(l,s.headingLevel-i.headingLevel);break;case"inside":s.content.children.push(l),dc(l,s.headingLevel-i.headingLevel+1);break}n.content.children.splice(n.content.children.indexOf(i),1)}function $w(e,t){let r=zw(e,e,t);if(!r)throw new Error(`section ${t} not found`);return r}function zw(e,t,r){if(e.id===r)return[t,e];for(let o of e.content.children){let n=zw(o,e,r);if(n)return n}}function BI(e){return e.preContent+e.children.map(wm).join("")}function wm(e){let t="#".repeat(e.headingLevel)+" "+e.heading,r=BI(e.content);return e.id<0?r:`${t}
${r}`}function dc(e,t){e.headingLevel+=t,e.content.children.forEach(r=>{dc(r,t)})}var Vw={"Settings for Quiet Outline.":"Quiet Outline \u7684\u8BBE\u7F6E\u9875\u9762","Set Primary Color":"\u8BBE\u7F6E\u4E3B\u989C\u8272 \u660E/\u6697","Patch default color":"\u7528\u8BBE\u7F6E\u8986\u76D6\u9ED8\u8BA4\u4E3B\u989C\u8272","Set Rainbow Line Color":"\u8BBE\u7F6E\u5F69\u8679\u5927\u7EB2\u7EBF\u989C\u8272","Render Markdown":"\u6E32\u67D3markdown\u5143\u7D20","Render heading string as markdown format.":"\u4EE5markdown\u683C\u5F0F\u6E32\u67D3\u6807\u9898\u6587\u672C","Search Support":"\u5F00\u542F\u641C\u7D22","Add a searching area on the top":"\u5728\u9876\u90E8\u6DFB\u52A0\u4E00\u4E2A\u641C\u7D22\u6846","Level Switch":"\u5C42\u7EA7\u5207\u6362\u5668","Expand headings to certain level.":"\u5C55\u5F00\u6807\u9898\u5230\u7279\u5B9A\u5C42\u7EA7","Default Level":"\u9ED8\u8BA4\u5C42\u7EA7","Default expand level when opening a new note.":"\u6253\u5F00\u65B0\u7B14\u8BB0\u65F6\uFF0C\u6807\u9898\u5C55\u5F00\u5230\u7684\u9ED8\u8BA4\u5C42\u7EA7","No expand":"\u4E0D\u5C55\u5F00","Hide Unsearched":"\u8FC7\u6EE4\u672A\u641C\u7D22\u7684\u6807\u9898","Hide irrelevant headings when searching":"\u641C\u7D22\u65F6\uFF0C\u9690\u85CF\u672A\u547D\u4E2D\u7684\u6807\u9898","Regex Search":"\u6B63\u5219\u641C\u7D22","Search headings using regular expression":"\u652F\u6301\u4F7F\u7528\u6B63\u5219\u8868\u8FBE\u5F0F\u6765\u641C\u7D22","Auto Expand":"\u81EA\u52A8\u5C55\u5F00","Auto expand and collapse headings when scrolling and cursor position change":"\u5F53\u6EDA\u52A8\u9875\u9762\u65F6\uFF0C\u81EA\u52A8\u8DDF\u8E2A\u5F53\u524D\u6240\u5728\u6807\u9898\u5E76\u5C55\u5F00","Auto Scroll Into View":"\u81EA\u52A8\u6EDA\u52A8\u5230\u5B9A\u4F4D\u7684\u6807\u9898","Auto scroll located heading into view":"\u5F53\u6EDA\u52A8\u6216\u8005\u5149\u6807\u4F4D\u7F6E\u53D8\u5316\u65F6\uFF0C\u5927\u7EB2\u81EA\u52A8\u6EDA\u52A8\u5230\u76F8\u5E94\u6807\u9898","Only Expand":"\u4EC5\u5C55\u5F00\u5F53\u524D\u6807\u9898","Expand and Collapse Rest":"\u5C55\u5F00\u540C\u65F6\u6298\u53E0\u5269\u4F59\u6807\u9898","Expand and Collapse Rest to Default":"\u5C55\u5F00\u540C\u65F6\u6298\u53E0\u5269\u4F59\u6807\u9898\u81F3\u9ED8\u8BA4\u5C42\u7EA7","Expand and Collapse Rest to Setting Level (Level Switch)":"\u5C55\u5F00\u540C\u65F6\u6298\u53E0\u5269\u4F59\u6807\u9898\u81F3\u8BBE\u7F6E\u5C42\u7EA7(\u5C42\u7EA7\u5207\u6362\u5668)",Disabled:"\u5173\u95ED\u81EA\u52A8\u5C55\u5F00","Locate By Cursor":"\u5B9A\u4F4D\u5230\u5149\u6807\u5904","Highlight and Auto expand postion will be determined by cursor position":"\u9AD8\u4EAE\u548C\u81EA\u52A8\u5C55\u5F00\u4F4D\u7F6E\u5C06\u7531\u5149\u6807\u4F4D\u7F6E\u51B3\u5B9A","Show Popover on hover":"\u9F20\u6807\u60AC\u505C\u5728\u6807\u9898\u65F6\u663E\u793A\u7B14\u8BB0\u5185\u5BB9","Press functional key and move cursor to heading":"\u6309\u4F4F\u529F\u80FD\u952E\uFF0C\u79FB\u52A8\u5149\u6807\u5230\u6807\u9898\u5904",Disable:"\u5173\u95ED",Ellipsis:"\u7701\u7565\u957F\u6807\u9898","Tooltip direction":"\u5B8C\u6574\u6807\u9898\u663E\u793A\u65B9\u5411","Keep one line per heading":"\u4FDD\u6301\u6807\u9898\u53EA\u6709\u4E00\u884C,\u7701\u7565\u591A\u4F59\u90E8\u5206","Persist Markdown States":"\u8BB0\u5F55 markdown \u72B6\u6001","Save and restore cursor, scroll state of markdown note, as well as expanded/collapsed state of headings":"\u4FDD\u5B58\u548C\u6062\u590D markdown \u7B14\u8BB0\u7684\u5149\u6807\u3001\u6EDA\u52A8\u72B6\u6001\u4EE5\u53CA\u6807\u9898\u7684\u5C55\u5F00/\u6298\u53E0\u72B6\u6001","Keep Search Input":"\u4FDD\u7559\u641C\u7D22\u8F93\u5165","Keep search input when switching between notes":"\u5207\u6362\u7B14\u8BB0\u65F6\u4FDD\u7559\u641C\u7D22\u8F93\u5165","Drag headings to modify note":"\u542F\u7528\u62D6\u62FD\u6807\u9898\u6765\u8C03\u6574\u6587\u6863\u7ED3\u679C","\u2757 This will modify note content, be careful.":"\u2757 \u62D6\u62FD\u64CD\u4F5C\u4F1A\u6539\u53D8\u6587\u6863\u5185\u5BB9\uFF0C\u5C0F\u5FC3\u4F7F\u7528","Text Direction":"\u6587\u672C\u65B9\u5411","is decided by":"\u7531\u4EC0\u4E48\u51B3\u5B9A","Export Format":"\u6807\u9898\u8F93\u51FA\u683C\u5F0F","Canvas Sort Order":"\u767D\u677F\u5927\u7EB2\u6392\u5E8F","Sort method for canvas nodes":"\u767D\u677F\u5361\u7247\u7684\u6392\u5E8F\u903B\u8F91","Sort by Area":"\u6309\u9762\u79EF (\u5927 -> \u5C0F)","Sort by Name (A -> Z)":"\u6309\u540D\u79F0 (A -> Z)","Sort by Name (Z -> A)":"\u6309\u540D\u79F0 (Z -> A)",Copy:"\u590D\u5236",Heading:"\u6807\u9898","Heading and children headings":"\u6807\u9898\u548C\u5B50\u6807\u9898","Heading and Content":"\u8BE5\u6BB5\u5185\u5BB9","Heading and siblings headings":"\u6807\u9898\u548C\u5144\u5F1F\u6807\u9898","Rename heading":"\u91CD\u547D\u540D\u6807\u9898","Link of heading":"\u6807\u9898\u94FE\u63A5","Collapse Recursively":"\u9012\u5F52\u6298\u53E0","Expand Recursively":"\u9012\u5F52\u5C55\u5F00","Collapse Sibling":"\u6298\u53E0\u540C\u7EA7\u6807\u9898","Expand Sibling":"\u5C55\u5F00\u540C\u7EA7\u6807\u9898","Vimlize Canvas":"Vim Canvas","Add vim-like keymap for canvas":"\u7ED9 Canvas \u6DFB\u52A0 Vim \u98CE\u683C\u7684\u5FEB\u6377\u952E",General:"\u5E38\u89C4\u8BBE\u7F6E",Styles:"\u6837\u5F0F\u8BBE\u7F6E","Font Size":"\u5B57\u4F53\u5927\u5C0F","Custom font size for outline text (e.g., 14px, 1rem)":"\u5927\u7EB2\u6587\u672C\u7684\u81EA\u5B9A\u4E49\u5B57\u4F53\u5927\u5C0F\uFF08\u4F8B\u5982\uFF1A14px, 1rem\uFF09","Font Family":"\u5B57\u4F53\u5BB6\u65CF","Custom font family for outline text":"\u5927\u7EB2\u6587\u672C\u7684\u81EA\u5B9A\u4E49\u5B57\u4F53\u5BB6\u65CF","Font Weight":"\u5B57\u4F53\u7C97\u7EC6","Custom font weight for outline text (e.g., normal, bold, 400, 700)":"\u5927\u7EB2\u6587\u672C\u7684\u81EA\u5B9A\u4E49\u5B57\u4F53\u7C97\u7EC6\uFF08\u4F8B\u5982\uFF1Anormal, bold, 400, 700\uFF09","Line Height":"\u884C\u9AD8","Custom line height for outline text (e.g., 1.5, 2)":"\u5927\u7EB2\u6587\u672C\u7684\u81EA\u5B9A\u4E49\u884C\u9AD8\uFF08\u4F8B\u5982\uFF1A1.5, 2\uFF09","Line Gap":"\u884C\u95F4\u8DDD","Custom gap between lines (e.g., 4px, 0.5rem)":"\u884C\u4E4B\u95F4\u7684\u81EA\u5B9A\u4E49\u95F4\u8DDD\uFF08\u4F8B\u5982\uFF1A4px, 0.5rem\uFF09","Custom Font Color":"\u81EA\u5B9A\u4E49\u5B57\u4F53\u989C\u8272","Enable custom font colors for different heading levels":"\u4E3A\u4E0D\u540C\u7EA7\u522B\u7684\u6807\u9898\u542F\u7528\u81EA\u5B9A\u4E49\u5B57\u4F53\u989C\u8272","H1 Color":"H1 \u989C\u8272","H2 Color":"H2 \u989C\u8272","H3 Color":"H3 \u989C\u8272","H4 Color":"H4 \u989C\u8272","H5 Color":"H5 \u989C\u8272","H6 Color":"H6 \u989C\u8272"};var Cm={"Settings for Quiet Outline.":"Settings for Quiet Outline.","Set Primary Color":"Set Primary Color Light/Dark","Patch default color":"Patch default color","Set Rainbow Line Color":"Set Rainbow Line Color","Render Markdown":"Render Markdown","Render heading string as markdown format.":"Render heading string as markdown format","Search Support":"Search Support","Add a searching area on the top":"Add a search area on the top","Level Switch":"Level Switch","Expand headings to certain level.":"Expand headings to certain level","Default Level":"Default Level","Default expand level when opening a new note.":"Default expand level","No expand":"No expand","Hide Unsearched":"Hide Unsearched","Hide irrelevant headings when searching":"Hide irrelevant headings when searching","Regex Search":"Regex Search","Search headings using regular expression":"Search headings using regular expression","Auto Expand":"Auto Expand","Auto expand and collapse headings when scrolling and cursor position change":"Auto expand and collapse headings when scrolling and cursor position change","Auto Scroll Into View":"Auto Scroll Into View","Auto scroll located heading into view":"Auto scroll located heading into view","Only Expand":"Only Expand","Expand and Collapse Rest":"Expand and Collapse Rest","Expand and Collapse Rest to Default":"Expand and Collapse Rest to Default","Expand and Collapse Rest to Setting Level (Level Switch)":"Expand and Collapse Rest to Setting Level (Level Switch)",Disabled:"Disabled","Locate By Cursor":"Locate By Cursor","Show Popover on hover":"Show Popover on hover","Press functional key and move cursor to heading":"Press functional key and move cursor to heading",Disable:"Disable","Highlight and Auto expand postion will be determined by cursor position":"Highlight and Auto expand postion will be determined by cursor position",Ellipsis:"Ellipsis","Tooltip direction":"Tooltip direction","Keep one line per heading":"Keep one line per heading","Persist Markdown States":"Persist Markdown States","Save and restore cursor, scroll state of markdown note, as well as expanded/collapsed state of headings":"Save and restore cursor, scroll state of markdown note, as well as expanded/collapsed state of headings","Keep Search Input":"Keep Search Input","Keep search input when switching between notes":"Keep search input when switching between notes","Drag headings to modify note":"Drag headings to modify note","\u2757 This will modify note content, be careful.":"\u2757 This will modify note content, be careful","Text Direction":"Text Direction","is decided by":"is decided by","Export Format":"Export Format","Canvas Sort Order":"Canvas Sort Order","Sort method for canvas nodes":"Sort method for canvas nodes","Sort by Area":"Sort by Area (Big -> Small)","Sort by Name (A -> Z)":"Sort by Name (A -> Z)","Sort by Name (Z -> A)":"Sort by Name (Z -> A)",Copy:"Copy",Heading:"Heading","Heading and children headings":"Heading and children headings","Heading and Content":"Heading and Content","Heading and siblings headings":"Heading and siblings headings","Rename heading":"Rename","Link of heading":"Link of heading","Collapse Recursively":"Collapse Recursively","Expand Recursively":"Expand Recursively","Collapse Sibling":"Collapse Sibling","Expand Sibling":"Expand Sibling","Vimlize Canvas":"Vimlize Canvas","Add vim-like keymap for canvas":"Add vim-like keymap for canvas",General:"General",Styles:"Styles","Font Size":"Font Size","Custom font size for outline text (e.g., 14px, 1rem)":"Custom font size for outline text (e.g., 14px, 1rem)","Font Family":"Font Family","Custom font family for outline text":"Custom font family for outline text","Font Weight":"Font Weight","Custom font weight for outline text (e.g., normal, bold, 400, 700)":"Custom font weight for outline text (e.g., normal, bold, 400, 700)","Line Height":"Line Height","Custom line height for outline text (e.g., 1.5, 2)":"Custom line height for outline text (e.g., 1.5, 2)","Line Gap":"Line Gap","Custom gap between lines (e.g., 4px, 0.5rem)":"Custom gap between lines (e.g., 4px, 0.5rem)","Custom Font Color":"Custom Font Color","Enable custom font colors for different heading levels":"Enable custom font colors for different heading levels","H1 Color":"H1 Color","H2 Color":"H2 Color","H3 Color":"H3 Color","H4 Color":"H4 Color","H5 Color":"H5 Color","H6 Color":"H6 Color"};var jw={"Settings for Quiet Outline.":"Quiet Outline \u7684\u8A2D\u5B9A\u9801\u9762","Set Primary Color":"\u8A2D\u5B9A\u4E3B\u8981\u984F\u8272 \u660E/\u6697","Patch default color":"\u4F7F\u7528\u8A2D\u5B9A\u8986\u84CB\u9810\u8A2D\u4E3B\u8981\u984F\u8272","Set Rainbow Line Color":"\u8A2D\u5B9A\u5F69\u8679\u5927\u7DB1\u7DDA\u984F\u8272","Render Markdown":"\u6E32\u67D3 markdown \u5143\u7D20","Render heading string as markdown format.":"\u4EE5 markdown \u683C\u5F0F\u6E32\u67D3\u6A19\u984C\u6587\u5B57","Search Support":"\u958B\u555F\u641C\u5C0B","Add a searching area on the top":"\u5728\u9802\u90E8\u65B0\u589E\u4E00\u500B\u641C\u5C0B\u6846","Level Switch":"\u5C64\u7D1A\u5207\u63DB\u5668","Expand headings to certain level.":"\u5C55\u958B\u6A19\u984C\u5230\u7279\u5B9A\u5C64\u7D1A","Default Level":"\u9810\u8A2D\u5C64\u7D1A","Default expand level when opening a new note.":"\u958B\u555F\u65B0\u7B46\u8A18\u6642\uFF0C\u6A19\u984C\u5C55\u958B\u5230\u7684\u9810\u8A2D\u5C64\u7D1A","No expand":"\u4E0D\u5C55\u958B","Hide Unsearched":"\u904E\u6FFE\u672A\u641C\u5C0B\u7684\u6A19\u984C","Hide irrelevant headings when searching":"\u641C\u5C0B\u6642\uFF0C\u96B1\u85CF\u672A\u547D\u4E2D\u7684\u6A19\u984C","Regex Search":"\u6B63\u5247\u641C\u5C0B","Search headings using regular expression":"\u652F\u63F4\u4F7F\u7528\u6B63\u5247\u904B\u7B97\u5F0F\u4F86\u641C\u5C0B","Auto Expand":"\u81EA\u52D5\u5C55\u958B","Auto expand and collapse headings when scrolling and cursor position change":"\u7576\u6372\u52D5\u9801\u9762\u6216\u6E38\u6A19\u6539\u8B8A\u6642\uFF0C\u81EA\u52D5\u8DDF\u96A8\u76EE\u524D\u6240\u5728\u6A19\u984C\u4E26\u5C55\u958B","Auto Scroll Into View":"\u81EA\u52D5\u6372\u52D5\u5230\u5B9A\u4F4D\u7684\u6A19\u984C","Auto scroll located heading into view":"\u7576\u6372\u52D5\u6216\u6E38\u6A19\u4F4D\u7F6E\u8B8A\u5316\u6642\uFF0C\u5927\u7DB1\u81EA\u52D5\u6372\u52D5\u5230\u76F8\u61C9\u6A19\u984C","Only Expand":"\u50C5\u5C55\u958B\u76EE\u524D\u6A19\u984C","Expand and Collapse Rest":"\u5C55\u958B\u540C\u6642\u647A\u758A\u5269\u9918\u6A19\u984C","Expand and Collapse Rest to Default":"\u5C55\u958B\u540C\u6642\u647A\u758A\u5269\u9918\u6A19\u984C\u81F3\u9810\u8A2D\u5C64\u7D1A","Expand and Collapse Rest to Setting Level (Level Switch)":"\u5C55\u958B\u540C\u6642\u647A\u758A\u5269\u9918\u6A19\u984C\u81F3\u8A2D\u5B9A\u5C64\u7D1A\uFF08\u5C64\u7D1A\u5207\u63DB\u5668\uFF09",Disabled:"\u95DC\u9589\u81EA\u52D5\u5C55\u958B","Locate By Cursor":"\u5B9A\u4F4D\u5230\u6E38\u6A19\u8655","Highlight and Auto expand postion will be determined by cursor position":"\u9AD8\u4EAE\u548C\u81EA\u52D5\u5C55\u958B\u4F4D\u7F6E\u5C07\u7531\u6E38\u6A19\u4F4D\u7F6E\u6C7A\u5B9A","Show Popover on hover":"\u6ED1\u9F20\u61F8\u505C\u5728\u6A19\u984C\u6642\u986F\u793A\u7B46\u8A18\u5167\u5BB9","Press functional key and move cursor to heading":"\u6309\u4F4F\u529F\u80FD\u9375\uFF0C\u79FB\u52D5\u6E38\u6A19\u5230\u6A19\u984C\u8655",Disable:"\u95DC\u9589",Ellipsis:"\u7701\u7565\u9577\u6A19\u984C","Tooltip direction":"\u5B8C\u6574\u6A19\u984C\u986F\u793A\u65B9\u5411","Keep one line per heading":"\u4FDD\u6301\u6A19\u984C\u53EA\u6709\u4E00\u884C\uFF0C\u7701\u7565\u591A\u9918\u90E8\u5206","Persist Markdown States":"\u6301\u7E8C\u4FDD\u5B58 Markdown \u72C0\u614B","Save and restore cursor, scroll state of markdown note, as well as expanded/collapsed state of headings":"\u5132\u5B58\u4E26\u6062\u5FA9 Markdown \u7B46\u8A18\u7684\u6E38\u6A19\u3001\u6372\u52D5\u72C0\u614B\uFF0C\u4EE5\u53CA\u6A19\u984C\u7684\u5C55\u958B/\u647A\u758A\u72C0\u614B","Keep Search Input":"\u4FDD\u7559\u641C\u5C0B\u8F38\u5165","Keep search input when switching between notes":"\u5207\u63DB\u7B46\u8A18\u6642\u4FDD\u7559\u641C\u5C0B\u8F38\u5165","Drag headings to modify note":"\u555F\u7528\u62D6\u66F3\u6A19\u984C\u4F86\u8ABF\u6574\u6587\u4EF6\u7D50\u69CB","\u2757 This will modify note content, be careful.":"\u2757 \u62D6\u66F3\u64CD\u4F5C\u6703\u6539\u8B8A\u6587\u4EF6\u5167\u5BB9\uFF0C\u8ACB\u5C0F\u5FC3\u4F7F\u7528","Text Direction":"\u6587\u5B57\u65B9\u5411","is decided by":"\u7531\u4EC0\u9EBC\u6C7A\u5B9A","Export Format":"\u6A19\u984C\u8F38\u51FA\u683C\u5F0F","Canvas Sort Order":"\u767D\u677F\u5927\u7DB1\u6392\u5E8F","Sort method for canvas nodes":"\u767D\u677F\u5361\u7247\u7684\u6392\u5E8F\u908F\u8F2F","Sort by Area":"\u6309\u9762\u7A4D (\u5927 -> \u5C0F)","Sort by Name (A -> Z)":"\u6309\u540D\u7A31 (A -> Z)","Sort by Name (Z -> A)":"\u6309\u540D\u7A31 (Z -> A)",Copy:"\u8907\u88FD",Heading:"\u6A19\u984C","Heading and children headings":"\u6A19\u984C\u548C\u5B50\u6A19\u984C","Heading and Content":"\u8A72\u6BB5\u5167\u5BB9","Heading and siblings headings":"\u6A19\u984C\u548C\u5144\u5F1F\u6A19\u984C","Rename heading":"\u91CD\u547D\u540D\u6A19\u984C","Link of heading":"\u6A19\u984C\u9023\u7D50","Collapse Recursively":"\u905E\u8FF4\u647A\u758A","Expand Recursively":"\u905E\u8FF4\u5C55\u958B","Collapse Sibling":"\u647A\u758A\u540C\u7D1A\u6A19\u984C","Expand Sibling":"\u5C55\u958B\u540C\u7D1A\u6A19\u984C","Vimlize Canvas":"Vim Canvas","Add vim-like keymap for canvas":"\u7D66 Canvas \u65B0\u589E Vim \u98A8\u683C\u7684\u5FEB\u6377\u9375",General:"\u4E00\u822C\u8A2D\u5B9A",Styles:"\u6A23\u5F0F\u8A2D\u5B9A","Font Size":"\u5B57\u578B\u5927\u5C0F","Custom font size for outline text (e.g., 14px, 1rem)":"\u5927\u7DB1\u6587\u5B57\u7684\u81EA\u8A02\u5B57\u578B\u5927\u5C0F\uFF08\u4F8B\u5982\uFF1A14px, 1rem\uFF09","Font Family":"\u5B57\u578B\u5BB6\u65CF","Custom font family for outline text":"\u5927\u7DB1\u6587\u5B57\u7684\u81EA\u8A02\u5B57\u578B\u5BB6\u65CF","Font Weight":"\u5B57\u578B\u7C97\u7D30","Custom font weight for outline text (e.g., normal, bold, 400, 700)":"\u5927\u7DB1\u6587\u5B57\u7684\u81EA\u8A02\u5B57\u578B\u7C97\u7D30\uFF08\u4F8B\u5982\uFF1Anormal, bold, 400, 700\uFF09","Line Height":"\u884C\u9AD8","Custom line height for outline text (e.g., 1.5, 2)":"\u5927\u7DB1\u6587\u5B57\u7684\u81EA\u8A02\u884C\u9AD8\uFF08\u4F8B\u5982\uFF1A1.5, 2\uFF09","Line Gap":"\u884C\u9593\u8DDD","Custom gap between lines (e.g., 4px, 0.5rem)":"\u884C\u4E4B\u9593\u7684\u81EA\u8A02\u9593\u8DDD\uFF08\u4F8B\u5982\uFF1A4px, 0.5rem\uFF09","Custom Font Color":"\u81EA\u8A02\u5B57\u578B\u984F\u8272","Enable custom font colors for different heading levels":"\u70BA\u4E0D\u540C\u7D1A\u5225\u7684\u6A19\u984C\u555F\u7528\u81EA\u8A02\u5B57\u578B\u984F\u8272","H1 Color":"H1 \u984F\u8272","H2 Color":"H2 \u984F\u8272","H3 Color":"H3 \u984F\u8272","H4 Color":"H4 \u984F\u8272","H5 Color":"H5 \u984F\u8272","H6 Color":"H6 \u984F\u8272"};var $I={en:Cm,zh:Vw,"zh-TW":jw},HI=window.localStorage.getItem("language"),Ww=$I[HI||"en"];function fe(e){return Ww&&Ww[e]||Cm[e]}var At=require("obsidian"),km=class{data=new Map;count(){let t=0;for(let r of this.data.values())t+=r.length;return t}clear(t){this.data.delete(t)}add(t,r){this.data.has(t)||this.data.set(t,[]),this.data.get(t).push(r)}get(t){return this.data.get(t)}keys(){return Array.from(this.data.keys())}},pc=class{constructor(t,r,o,n,i){this.app=t;this.file=r;this.editor=o;this.tokenRange=n;this.oldHeading=i}async updateHeadingLinks(t){if(!t)return!1;let r=this.getChanges(t),o=r.data.size,n=r.count();if(n!==0){let l=r.get(this.file.path);if(l&&l.length>0){r.clear(this.file.path);let u=this.replaceInFile(t),c={link:"",original:"",position:{start:{line:0,col:0,offset:u.start},end:{line:0,col:0,offset:u.end}}};l.push({sourcePath:this.file.path,change:u.text,reference:c}),await this.app.vault.process(this.file,d=>jI(d,l))}else this.replaceInEditor(t)}await this.app.fileManager.updateInternalLinks(r);let i=i18next.t("nouns.link-with-count",{count:n}),a=i18next.t("nouns.file-with-count",{count:o}),s=i18next.t("dialogue.msg-updated-links",{links:i,files:a});new At.Notice(s)}getChanges(t){let r=this.app.metadataCache,o=new km,n=(0,At.stripHeading)(this.oldHeading).toLowerCase(),i=(0,At.stripHeadingForLink)(t);return this.app.fileManager.iterateAllRefs((a,s)=>{let l=(0,At.parseLinktext)(s.link),u=l.path,c=l.subpath;c&&(0,At.stripHeading)(c.substring(1)).toLowerCase()===n&&r.getFirstLinkpathDest(u,a)===this.file&&o.add(a,{sourcePath:a,reference:s,change:UI(s,u+"#"+i)})}),o}replaceInEditor(t){let r=this.tokenRange,o=this.editor,n=o.offsetToPos(r.start),i=o.getLine(n.line),a=this.replaceHeadingText(i,t);o.setLine(n.line,a)}replaceInFile(t){let r=this.tokenRange,o=this.editor,n=o.offsetToPos(r.start),i=o.getLine(n.line),a=this.replaceHeadingText(i,t);return{...r,text:a}}replaceHeadingText(t,r){return t.replace(/^(#{1,6} ).*/m,(o,n)=>n+r)}getCustomReplacements(t){return{oldSubpath:(0,At.stripHeading)(this.oldHeading).toLowerCase(),newSubpath:(0,At.stripHeadingForLink)(t)}}};function FI(e){return e.hasOwnProperty("position")}function zI(e){return e.hasOwnProperty("key")}function VI(e,t,r){for(;e&&t.length;){let o=t.shift();if(Array.isArray(e)){let n=parseInt(o);if(isNaN(n)||n<0||n>=e.length)return;if(!(t.length>0)){e[n]=r;return}e=e[n]}else{if(typeof e!="object")return;if(!(t.length>0)){e[o]=r;return}e[o]=e[o]||{},e=e[o]}}}function jI(e,t){let r=[],o=[];for(let s of t)if(FI(s.reference)){let l=s.reference.position;r.push({start:l.start.offset,end:l.end.offset,text:s.change})}else zI(s.reference)&&o.push({key:s.reference.key,value:s.change});if(r.length>0){r.sort((s,l)=>l.start-s.start);for(let s of r)e=e.substring(0,s.start)+s.text+e.substring(s.end)}if(o.length===0)return e;let n=(0,At.getFrontMatterInfo)(e);if(!n.exists)return e;let i;try{i=(0,At.parseYaml)(n.frontmatter)}catch{return e}for(let s of o)VI(i,s.key.split("."),s.value);let a=(0,At.stringifyYaml)(i);return e.slice(0,n.from)+a+e.slice(n.to)}var WI=/^(!?\[\[)(.*?)(\|(.*))?(]])$/,qI=/^(!?\[)(.*?)(]\(\s*)((<[^>]*?>|[^ "]+?)(\s+([^ ]+|"[^"]+"|'[^']+'|\([^']+\)))?)?(\s*\))$/;function UI(e,t,r){let o,n=e.original,i=e.link,a=n.match(WI);if(a){let s=a[1],l=a[2],u=a[4],c=u===void 0?"":u,d=a[5];if(c){let p=/\\\|/.test(n)?"\\|":"|",f=c.trim(),h=fc(l)===f,g=r?.contains(f);h&&!g&&(c=fc((0,At.getLinkpath)(t))),o=`${s}${t}${p}${c}${d}`}else o=s+t+d}else{let s=n.match(qI),l=!s||!s[5].startsWith("<")?KI(t):`<${t}>`;if(s){let u=s[1],c=s[2],d=s[3],p=s[6]??"",f=s[8],h=ZI(c).trim(),g=(0,At.getLinkpath)(i);h===fc(g)?c=fc((0,At.getLinkpath)(t)):h.includes("/")&&h===qw(g)&&(c=qw((0,At.getLinkpath)(t))),o=u+c+d+l+p+f}else o=`[](${l})`,n.startsWith("!")&&(o="!"+o)}return o}function KI(e){return e.replace(/[\\\x00\x08\x0B\x0C\x0E-\x1F ]/g,encodeURIComponent)}function Sm(e){let t=e.lastIndexOf("/");return t===-1?e:e.slice(t+1)}function GI(e){e=Sm(e);let t=e.lastIndexOf(".");return t===-1||t===e.length-1||t===0?e:e.substring(0,t)}function Uw(e){let t=e.lastIndexOf(".");return t===-1||t===e.length-1||t===0?"":e.substring(t+1).toLowerCase()}function XI(e){let t=e.lastIndexOf(".");return t===-1||t===e.length-1||t===0?e:e.substring(0,t)}function fc(e){let t=Sm(e);return Uw(t)==="md"?GI(t):t}function qw(e){let t=Sm(e);return Uw(t)==="md"?XI(e):e}var YI=/\u00A0|\u202F/g;function ZI(e){return e.replace(YI," ")}var Mt,Sn="markdown-states.json",En=class extends io{canDrop=!0;expandedKeys;constructor(t,r){super(t,r),Mt=t}getId(){return"markdown"}async getHeaders(){return this.plugin.app.metadataCache.getFileCache(this.view.file)?.headings||[]}async setHeaders(){let t=await this.getHeaders();S.headers=t}async updateHeaders(){let t=await this.getHeaders();S.modifyKeys=Bs(S.headers,t),S.headers=t}async jump(t){let r=S.headers[t].position.start.line,n={line:r,cursor:{from:{line:r,ch:0},to:{line:r,ch:0}}};this.plugin.jumping=!0,S.onPosChange(t),setTimeout(()=>{this.view.setEphemeralState(n)})}async jumpWhenClick(t){this.jump(t)}async jumpWithoutFocus(t){let o={line:S.headers[t].position.start.line};this.plugin.jumping=!0,S.onPosChange(t),setTimeout(()=>{this.view.setEphemeralState(o)})}async install(){this.plugin.registerEditorExtension([Rw])}async onload(){this.registerDomEvent(document,"quiet-outline-cursorchange",QI),this.registerDomEvent(this.view.contentEl,"scroll",rL,!0)}async onunload(){}toBottom(){let t=this.view.data.split(`
`),r=()=>{this.view.setEphemeralState({line:t.length-5})};r(),setTimeout(r,100)}getDefaultLevel(){let t;return t=this.plugin.app.metadataCache.getFileCache(this.view.file)?.frontmatter?.["qo-default-level"],typeof t=="string"&&(t=parseInt(t)),t||parseInt(Mt.settings.expand_level)}getPath(){return this.view.file.path}onExpandKeysChange(t,r){t===this.view.file?.path&&(this.expandedKeys=r,this.storeMarkdownState())}changeContent(t,r){if(!r)return;new pc(this.view.app,this.view.file,this.view.editor,{start:S.headers[t].position.start.offset,end:S.headers[t].position.end.offset},S.headers[t].heading).updateHeadingLinks(r)}async handleDrop(t,r,o){let n=await Hw(this.view.data,this.view.app);Fw(n,t,r,o),await Mt.app.vault.modify(this.view.file,wm(n))}onRightClick(t,r,o,n){Rs(o,[Lw(fe("Copy"),[jr(fe("Heading"),async()=>{await navigator.clipboard.writeText(r.raw)}),jr(fe("Heading and siblings headings"),async()=>{let{no:i}=r,a=this.plugin.stringifyHeaders().map(u=>u.slice(S.headers[i].level-1)),s=r2(i,S.headers),l=a.filter((u,c)=>s.has(c));await navigator.clipboard.writeText(l.join(`
`))}),jr(fe("Heading and children headings"),async()=>{let{no:i,level:a}=r,s=this.plugin.stringifyHeaders();s=s.map((u,c)=>u.slice(S.headers[i].level-1));let l=[s[i]];for(let u=i+1;u<S.headers.length&&!(S.headers[u].level<=a);u++)l.push(s[u]);await navigator.clipboard.writeText(l.join(`
`))}),jr(fe("Link of heading"),async()=>{let i=this.plugin.app.fileManager.generateMarkdownLink(this.view.file,"","#"+r.raw);await navigator.clipboard.writeText(i)}),jr(fe("Heading and Content"),async()=>{S.headers[0].position.start.line;let{no:i,level:a}=r,s=i+1;for(;s<S.headers.length&&!(S.headers[s].level<=a);s++);let l=this.view.data.slice(S.headers[i].position.start.offset,S.headers[s]?.position.start.offset||this.view.data.length);await navigator.clipboard.writeText(l)})]),jr(fe("Rename heading"),async()=>{S.currentEditingKey=r.node.key})]),o.onHide(n||(()=>{})),o.showAtMouseEvent(t)}async loadMarkdownState(){return Mt.data_manager.loadFileData(Sn,{})}storeMarkdownState(){let t=this.view;if(!t.file?.path)return;let r=Mt.data_manager.getData(Sn)||{},o=r[t.file.path]||{},n=this.expandedKeys||r[t.file.path]?.expandedKeys||[],i=Object.assign({},JI,o,{expandedKeys:n,...t.getEphemeralState()});r[t.file.path]=i,Mt.data_manager.saveFileData(Sn,r)}};function QI(e){if(Mt.settings.persist_md_states&&Mt.navigator.storeMarkdownState(),!(!Mt.allow_cursor_change||Mt.jumping||e?.detail.docChanged)&&Mt.settings.locate_by_cursor){Mt.block_scroll();let t=Gw(!1,!0),r=Xw(t);if(r===void 0)return;S.onPosChange(r)}}var JI=Object.freeze({scroll:0,cursor:{from:{line:0,ch:0},to:{line:0,ch:0}},expandedKeys:[]});function Gw(e,t){let o=Mt.navigator.view;return Mt.settings.locate_by_cursor&&!e?t?o.editor.getCursor("from").line:Math.ceil(o.previewMode.getScroll()):t?eL(o.editor.cm):tL(o)}function eL(e){let{y:t,height:r}=e.dom.getBoundingClientRect(),o=t+r/2,n=e.viewportLineBlocks,i=0;return n.forEach(a=>{let s=e.domAtPos(a.from).node,u=(s.nodeName=="#text"?s.parentNode:s).getBoundingClientRect();u.y+u.height/2<=o&&(i=e.state.doc.lineAt(a.from).number)}),Math.max(i-2,0)}function tL(e){let t=e.previewMode.renderer,r=t.previewEl,o=r.getBoundingClientRect(),n=o.y+o.height/2,i=r.querySelectorAll(".markdown-preview-sizer>div[class|=el]"),a=0;return i.forEach(s=>{let{y:l}=s.getBoundingClientRect();if(l<=n){let u=t.getSectionForElement(s);a=u.lineStart||u.start.line}}),a}function Xw(e){let t=null,r=S.headers.length;for(;--r>=0;)if(S.headers[r].position.start.line<=e){t=S.headers[r];break}if(t)return r}var rL=(0,Kw.debounce)(oL,200,!0);function oL(e){if(Mt.settings.persist_md_states&&Mt.navigator.storeMarkdownState(),!Mt.allow_scroll)return;if(Mt.jumping){Mt.jumping=!1;return}let t=e.target;if(!t.classList.contains("markdown-preview-view")&&!t.classList.contains("cm-scroller")&&!t.classList.contains("outliner-plugin-list-lines-scroller"))return;let r=Mt.navigator.view.getMode()==="source",o=Gw(!0,r),n=Xw(o);n!==void 0&&S.onPosChange(n)}var mc=me({__name:"Outline",setup(e,{expose:t}){ng(y=>({"61117f8c-biDi":wr(h),"61117f8c-rainbowColor1":wr(l),"61117f8c-rainbowColor2":wr(u),"61117f8c-rainbowColor3":wr(c),"61117f8c-rainbowColor4":wr(d),"61117f8c-rainbowColor5":wr(p),"61117f8c-locatedColor":wr(s)}));let r=uo({common:{primaryColor:"",primaryColorHover:""},Slider:{handleSize:"10px",fillColor:"",fillColorHover:"",dotBorderActive:""},Tree:{nodeTextColor:"var(--nav-item-color)"}}),o=uo({common:{primaryColor:"",primaryColorHover:""},Slider:{handleSize:"10px",fillColor:"",fillColorHover:"",dotBorderActive:""},Tree:{nodeTextColor:"var(--nav-item-color)"}}),n=F(()=>S.dark?Lu:null),i=F(()=>S.dark?{color:"var(--icon-color)"}:{color:"var(--icon-color)"});function a(){let y=document.body.createEl("button",{cls:"mod-cta",attr:{style:"width: 0px; height: 0px;"}}),oe=getComputedStyle(y,null).getPropertyValue("background-color");return y.remove(),oe}let s=G(a());Ht(()=>{if(S.patchColor){r.common.primaryColor=r.common.primaryColorHover=r.Slider.fillColor=r.Slider.fillColorHover=S.primaryColorLight,r.Slider.dotBorderActive=`2px solid ${S.primaryColorLight}`,o.common.primaryColor=o.common.primaryColorHover=o.Slider.fillColor=o.Slider.fillColorHover=S.primaryColorDark,o.Slider.dotBorderActive=`2px solid ${S.primaryColorDark}`;return}if(S.cssChange===S.cssChange){let y=a();r.common.primaryColor=r.common.primaryColorHover=r.Slider.fillColor=r.Slider.fillColorHover=o.common.primaryColor=o.common.primaryColorHover=o.Slider.fillColor=o.Slider.fillColorHover=y,r.Slider.dotBorderActive=o.Slider.dotBorderActive=`2px solid ${y}`,s.value=y}});let l=G(""),u=G(""),c=G(""),d=G(""),p=G("");function f(y){return`${parseInt(y.slice(1,3),16)},${parseInt(y.slice(3,5),16)},${parseInt(y.slice(5,7),16)}`}Ht(()=>{if(S.rainbowLine){l.value=`rgba(${f(S.rainbowColor1)}, 0.6)`,u.value=`rgba(${f(S.rainbowColor2)}, 0.6)`,c.value=`rgba(${f(S.rainbowColor3)}, 0.6)`,d.value=`rgba(${f(S.rainbowColor4)}, 0.6)`,p.value=`rgba(${f(S.rainbowColor5)}, 0.6)`;return}S.cssChange===S.cssChange&&(l.value=u.value=c.value=d.value=p.value="var(--nav-indentation-guide-color)")});let h=G("");Ht(()=>{h.value=S.textDirectionDecideBy==="text"?"plaintext":"isolate"});let g=F(()=>{let y={};return S.fontSize&&(y["--custom-font-size"]=S.fontSize),S.fontFamily&&(y["--custom-font-family"]=S.fontFamily),S.fontWeight&&(y["--custom-font-weight"]=S.fontWeight),S.lineHeight&&(y["--custom-line-height"]=S.lineHeight),S.lineGap&&(y["--custom-line-gap"]=S.lineGap),S.customFontColor&&(S.h1Color&&(y["--h1-color"]=S.h1Color),S.h2Color&&(y["--h2-color"]=S.h2Color),S.h3Color&&(y["--h3-color"]=S.h3Color),S.h4Color&&(y["--h4-color"]=S.h4Color),S.h5Color&&(y["--h5-color"]=S.h5Color),S.h6Color&&(y["--h6-color"]=S.h6Color)),y});function E(){return x(ms,{size:"12px"},{default:()=>x(Nh)})}function b({option:y}){if(!y.icon)return null;let oe=null;switch(y.icon){default:oe=x(Ih,{id:y.icon})}return x(ms,{size:"1.2em"},{default:()=>oe})}let I=()=>{R.value=[]};ut(()=>{addEventListener("quiet-outline-reset",Y),addEventListener("click",I)}),Vn(()=>{removeEventListener("quiet-outline-reset",Y),removeEventListener("click",I)});let P=De("plugin"),C=De("container"),_=(y,oe)=>"item-"+y.level+"-"+oe,M=y=>parseInt(y.split("-")[2]);function v(y){$(y),Z(y)}S.onPosChange=v;function T(){return P.navigator.getDefaultLevel()}function $(y){if(P.settings.auto_expand_ext!=="disable"){let oe=S.headers[y],ue=y<S.headers.length-1&&S.headers[y].level<S.headers[y+1].level?[_(oe,y)]:[],he=oe.level,k=y;for(;k-- >0&&(S.headers[k].level<he&&(ue.push(_(S.headers[k],k)),he=S.headers[k].level),he!==1););if(P.settings.auto_expand_ext==="expand-and-collapse-rest-to-setting")Xe.value=$e(Ke.value);else if(P.settings.auto_expand_ext==="expand-and-collapse-rest-to-default"){let W=T();Xe.value=$e(W)}ot(ue,"add")}}let N=G(0);function Z(y){let oe=se(y),ue=oe.find(he=>!Xe.value.contains(_(S.headers[he],he)));ue=ue===void 0?oe[oe.length-1]:ue,N.value=ue,setTimeout(()=>{if(!P.settings.auto_scroll_into_view)return;let he=C.querySelector(`#no-${ue}`);he&&he.scrollIntoView({block:"center",behavior:"smooth"})},100)}let R=G([]),z=F(()=>y=>{let oe=parseInt(y.option.key.split("-")[1]),ue=parseInt(y.option.key.split("-")[2]),he=y.option.label||"",k=N.value===ue?"located":"";return{class:`level-${oe} ${k}`,id:`no-${ue}`,"aria-label":S.ellipsis?y.option.label:"","data-tooltip-position":S.labelDirection,raw:he,onClick:W=>{W.target.matchParent(".n-tree-node-content")&&J(y.option)},onContextmenu(W){R.value=[y.option.key];let{self:ye,siblings:Ve,descendants:D}=j(M(y.option.key)),B=new hc.Menu().setNoIcon(),pe=[ye,...D].filter(Pe=>Pe.children).map(Pe=>Pe.key),ge=Ve.filter(Pe=>Pe.children).map(Pe=>Pe.key);Rs(B,[Xe.value.includes(y.option.key)?jr(fe("Collapse Recursively"),()=>ot(pe,"remove")):jr(fe("Expand Recursively"),()=>ot(pe,"add")),jr(fe("Collapse Sibling"),()=>ot(ge,"remove")),jr(fe("Expand Sibling"),()=>ot(ge,"add")),Ow()]),P.navigator.onRightClick(W,{node:y.option,no:ue,level:oe,raw:he},B,()=>{R.value=[]})}}}),re,ve,ce="";function le(y){let ue=y.target.closest(".n-tree-node");ue&&(re=ue,ve=y,addEventListener("keydown",Fe))}function be(y){removeEventListener("keydown",Fe)}let Ae=y=>P.settings.show_popover_key==="ctrlKey"&&y.ctrlKey||P.settings.show_popover_key==="altKey"&&y.altKey||P.settings.show_popover_key==="metaKey"&&y.metaKey;function ze(y){Ae(y)&&P.app.workspace.trigger("hover-link",{event:ve,source:"preview",targetEl:re,hoverParent:{hoverPopover:null},linktext:"#"+re?.getAttribute("raw"),sourcePath:P.navigator.getPath()})}let Fe=at(ze,100);function at(y,oe){let ue=!0,he;return function(...k){let W=this,ye=re?.getAttribute("raw")||"";if(ye!==ce||ue){y.apply(W,k),ue=!1,ce=ye;return}he&&clearTimeout(he),he=setTimeout(()=>{ue=!0},oe)}}ut(()=>{C.addEventListener("mouseover",le),C.addEventListener("mouseout",be)}),Vn(()=>{C.removeEventListener("mouseover",le),C.removeEventListener("mouseout",be),removeEventListener("keydown",Fe)});let Ke=G(T()),Xe=G([]);function ot(y,oe="replace"){if(oe==="replace")Xe.value=y;else if(oe==="remove")Xe.value=Xe.value.filter(ue=>!y.includes(ue));else{let ue=new Set([...Xe.value,...y]);Xe.value=[...ue]}Ge()}function Ge(){let y=P.navigator.getPath();if(!y)return;let oe=Ye(Xe.value);P.navigator.onExpandKeysChange(y,oe),P.heading_states[y]=oe}function Je(y,oe){ot(y)}function pt(y){Ke.value=y;let oe=$e(y);ot(oe)}c2(window,"quiet-outline-levelchange",y=>{typeof y.detail.level=="number"?pt(y.detail.level):y.detail.level==="inc"?pt(Math.clamp(Ke.value+1,0,5)):y.detail.level==="dec"&&pt(Math.clamp(Ke.value-1,0,5))});function $e(y){return S.headers.map((ue,he)=>({level:ue.level,no:he})).filter((ue,he,k)=>he===k.length-1||k[he].level>=k[he+1].level?!1:k[he].level<=y).map(ue=>"item-"+ue.level+"-"+ue.no)}function ht(y,oe){let ue=y.split("-");return`item-${ue[1]}-${parseInt(ue[2])+oe}`}ct(()=>Ye(S.modifyKeys),({offsetModifies:y,removes:oe,adds:ue,modifies:he})=>{let k=Xe.value.filter(W=>{let ye=M(W),Ve=!oe.some(B=>B.begin<=ye&&ye<B.begin+B.length),D=!he.some(B=>B.oldBegin===ye&&B.levelChangeType==="parent2child");return Ve&&D}).map(W=>{let ye=M(W),Ve=he.find(ge=>ge.oldBegin===ye),D=y.findLastIndex(ge=>ge.begin<=ye),B=D===-1?W:ht(W,y[D].offset),pe=M(B);return Ve?`item-${S.headers[Ve.newBegin].level}-${pe}`:B});he.filter(W=>W.levelChangeType==="child2parent").forEach(W=>{k.push(`item-${S.headers[W.newBegin].level}-${W.newBegin}`)}),ue.forEach(W=>{let ye=se(W.begin);(W.begin>=S.headers.length-1||S.headers[W.begin].level>=S.headers[W.begin+1].level)&&ye.pop(),ye.forEach(Ve=>{k.push(`item-${S.headers[Ve].level}-${Ve}`)})}),ot([...new Set(k)])});let _t=G(0),zt={0:"",1:"",2:"",3:"",4:"",5:""};function m(y){let oe=S.headers.filter(ue=>ue.level===y).length;return y>0?`H${y}: ${oe}`:"No expand"}let w=G(),H=F(()=>{let y=S.markdown?Oe:({option:ue})=>x("div",ue.label);return({option:ue})=>ue.key!==S.currentEditingKey?y({option:ue}):(w.value===void 0&&(w.value=ue.label),x(Eu,{value:w.value,onUpdateValue:he=>{w.value=he},onClick(he){he.stopPropagation()},onKeydown(he){he.key==="Enter"?(P.navigator.changeContent(ue.no,w.value||""),S.currentEditingKey="",w.value=void 0):he.key==="Escape"&&(S.currentEditingKey="",w.value=void 0)}}))}),q=G("");ct(()=>S.leafChange,()=>{let y=q.value;q.value="",Ke.value=T();let oe=P.data_manager.getData(Sn),ue=P.navigator.getId()==="markdown"?oe?.[P.navigator.getPath()]?.expandedKeys:null;P.settings.persist_md_states&&ue?ot(ue):pt(Ke.value),P.settings.keep_search_input&&Yt(()=>{q.value=y})},{immediate:!0});function K(y,oe){let ue=/.*/;try{ue=RegExp(y,"i")}catch{}finally{return ue.test(xe(oe.label))}}function ae(y,oe){return xe(oe.label).toLowerCase().contains(y.toLowerCase())}let ne=F(()=>S.regexSearch?K:ae),V=F(()=>S.headers.filter(y=>{let oe={label:y.heading};return ne.value(q.value,oe)}).length);async function J(y){let oe=y.key.split("-"),ue=parseInt(oe[2]);P.navigator.jumpWhenClick(ue)}let X=F(()=>A(S.headers));function A(y){return O(y)}function O(y){let oe={children:[]},ue=[{node:oe,level:-1}];return y.forEach((he,k)=>{let W={label:he.heading,key:"item-"+he.level+"-"+k,line:he.position.start.line,icon:he.icon,no:k};for(;he.level<=ue.last().level;)ue.pop();let ye=ue.last().node;ye.children===void 0&&(ye.children=[]),W.parent=ye,ye.children.push(W),ue.push({node:W,level:he.level})}),oe.children?.forEach(he=>he.parent=void 0),oe.children}function j(y){let oe=[];function ue(Ve){if(!Ve||Ve.length===0)return;let D=0;for(let B=Ve.length-1;B>=0;B--)if(M(Ve[B].key)<=y){oe.push(Ve[B]),D=B;break}ue(Ve[D].children)}ue(X.value);let he=oe[oe.length-1],k=oe[oe.length-2]?oe[oe.length-2].children||[]:X.value,W=[];function ye(Ve){if(!(!Ve||Ve.length===0))for(let D=0;D<Ve.length;D++){let B=Ve[D];W.push(B),ye(B.children)}}return ye(he.children),{self:he,path:oe,siblings:k,descendants:W}}function se(y){let oe=[],ue=S.headers[y].level+1;for(let he=y;he>=0;he--)S.headers[he].level<ue&&(oe.push(he),ue--);return oe.reverse()}Re.use({extensions:[o2,n2,a2,s2,i2]}),Re.use({walkTokens:l2}),Re.use({tokenizer:u2});function xe(y,oe=!1){let ue=Re.parse(y||"").trim(),he=0,k=ue.match(/<mjx-container.*?>.*?<\/mjx-container>/g)||[];return k=k.map(W=>Nw(Iw(W))),ue=ue.replace(/<mjx-container.*?>.*?<\/mjx-container>/g,()=>"<math></math>"),ue=ue.replace(/<math.*?>.*?<\/math>/g,()=>k[he++]),Aw(ue)}function Ie(y){let oe=Re.parse(y||"").trim(),ue=0,he=oe.match(/<mjx-container.*?>.*?<\/mjx-container>/g)||[];return oe=oe.replace(/<mjx-container.*?>.*?<\/mjx-container>/g,()=>"<math></math>"),oe=(0,hc.sanitizeHTMLToDom)(`<div>${oe}</div>`).children[0].innerHTML,oe=oe.replace(/<math.*?>.*?<\/math>/g,()=>he[ue++]),oe}function Oe({option:y}){let oe=Ie(y.label);return x("div",{innerHTML:oe})}async function je(){P.navigator.toBottom()}function Y(){q.value="",Ke.value=T(),pt(Ke.value)}ut(()=>{C.addEventListener("dragstart",y=>{if(!P.navigator.canDrop)return;let oe=y.target;if(!oe||!oe.hasClass("n-tree-node"))return;let ue=parseInt(oe.id.slice(3)),he=S.headers[ue];y.dataTransfer?.setData("text/plain",he.heading),P.app.dragManager.onDragStart(y,{source:"outline",type:"heading",icon:"heading-glyph",title:he.heading,heading:he,file:P.navigator.view.file})})});async function de({node:y,dragNode:oe,dropPosition:ue}){if(!P.navigator.canDrop)return;let he=Ce(oe),k=Ce(y);await P.navigator.handleDrop(he,k,ue)}function Ce(y){return typeof y!="string"&&(y=y.key),parseInt(y.split("-")[2])}function qe(y){return _(S.headers[y],y)}function st(y){return y===S.headers.length-1||S.headers[y+1].level<=S.headers[y].level}function Ze(){let y=se(N.value),oe=y.findIndex(he=>!Xe.value.contains(qe(he))),ue=oe===-1?N.value:y[oe];R.value=[qe(ue)]}function lt(y){let oe=R.value[0];!oe||st(Ce(oe))||(y?ot([oe],"add"):ot([oe],"remove"))}function et(){let y=R.value[0];if(!y)return;let oe=Ce(y);C.querySelector(`.n-tree .n-tree-node-wrapper:has(#no-${oe})`)?.scrollIntoView({behavior:"smooth",block:"center"})}function Vt(y){let oe=R.value[0];if(!oe)return;let ue=Ce(oe),he=C.querySelector(`.n-tree .n-tree-node-wrapper:has(#no-${ue})`);if(!he){let k=C.querySelector(".n-tree .n-tree-node-wrapper")?.firstElementChild;if(!k)return;Bt(k);return}if(y==="up"){let k=he.previousSibling?.firstChild;k&&Bt(k)}else if(y==="down"){let k=he.nextSibling?.firstChild;k&&Bt(k)}else if(y==="bottom"){let k=he.parentElement?.lastElementChild?.firstElementChild;k&&Bt(k)}else if(y==="top"){let k=he.parentElement?.firstElementChild?.firstElementChild;k&&Bt(k)}}function Bt(y){let oe=y.id.match(/no-(\d+)/);if(!oe)return;let ue=parseInt(oe[1]);R.value=[qe(ue)],y.scrollIntoView({behavior:"smooth",block:"nearest"})}function Ko(){q.value=""}function Wr(){let y=R.value[0];if(y)return Ce(y)}t({setExpand:lt,center:et,move:Vt,selectVisible:Ze,resetPattern:Ko,currentSelected:Wr});let qr={lightThemeConfig:r,darkThemeConfig:o,get theme(){return n},set theme(y){n=y},get iconColor(){return i},set iconColor(y){i=y},getDefaultColor:a,get locatedColor(){return s},set locatedColor(y){s=y},get rainbowColor1(){return l},set rainbowColor1(y){l=y},get rainbowColor2(){return u},set rainbowColor2(y){u=y},get rainbowColor3(){return c},set rainbowColor3(y){c=y},get rainbowColor4(){return d},set rainbowColor4(y){d=y},get rainbowColor5(){return p},set rainbowColor5(y){p=y},hexToRGB:f,get biDi(){return h},set biDi(y){h=y},get containerStyle(){return g},set containerStyle(y){g=y},renderSwitcherIcon:E,renderPrefix:b,resetSelected:I,plugin:P,container:C,get toKey(){return _},set toKey(y){_=y},get fromKey(){return M},set fromKey(y){M=y},onPosChange:v,getDefaultLevel:T,autoExpand:$,get locateIdx(){return N},set locateIdx(y){N=y},resetLocated:Z,get selectedKeys(){return R},set selectedKeys(y){R=y},nodeProps:z,get triggerNode(){return re},set triggerNode(y){re=y},get mouseEvent(){return ve},set mouseEvent(y){ve=y},get prevShowed(){return ce},set prevShowed(y){ce=y},onMouseEnter:le,onMouseLeave:be,funcKeyPressed:Ae,_openPopover:ze,openPopover:Fe,customDebounce:at,get level(){return Ke},set level(y){Ke=y},get expanded(){return Xe},set expanded(y){Xe=y},modifyExpandKeys:ot,syncExpandKeys:Ge,expand:Je,switchLevel:pt,filterKeysLessThanEqual:$e,offset:ht,get update_tree(){return _t},set update_tree(y){_t=y},marks:zt,formatTooltip:m,get editingHeadingText(){return w},set editingHeadingText(y){w=y},get renderMethod(){return H},set renderMethod(y){H=y},get pattern(){return q},set pattern(y){q=y},regexFilter:K,simpleFilter:ae,get filter(){return ne},set filter(y){ne=y},get matchCount(){return V},set matchCount(y){V=y},jump:J,get data2(){return X},set data2(y){X=y},makeTree:A,arrToTree:O,getNode:j,getPathFromArr:se,mdToHtmlTextContent:xe,mdToHtml:Ie,renderLabel:Oe,toBottom:je,reset:Y,onDrop:de,getNo:Ce,idxToKey:qe,isLeaf:st,selectVisible:Ze,setExpand:lt,center:et,move:Vt,moveToHeadingEl:Bt,resetPattern:Ko,currentSelected:Wr,get NTree(){return kh},get NButton(){return Ff},get NInput(){return Eu},get NSlider(){return yh},get NConfigProvider(){return tp},get SettingsBackupRestoreRound(){return Th},get ArrowCircleDownRound(){return Eh},get Icon(){return ms},get store(){return S}};return Object.defineProperty(qr,"__isScriptSetup",{enumerable:!1,value:!0}),qr}});var nL={key:0,class:"function-bar"},iL={key:2};function Yw(e,t,r,o,n,i){return ir(),Ir("div",{id:"container",style:No(o.containerStyle)},[yt(o.NConfigProvider,{theme:o.theme,"theme-overrides":o.theme===null?o.lightThemeConfig:o.darkThemeConfig},{default:zn(()=>[o.store.searchSupport?(ir(),Ir("div",nL,[yt(o.NButton,{size:"small",circle:"",onClick:o.toBottom,"aria-label":"To Bottom"},{icon:zn(()=>[yt(o.Icon,null,{default:zn(()=>[yt(o.ArrowCircleDownRound,{style:No(o.iconColor)},null,8,["style"])]),_:1})]),_:1}),yt(o.NButton,{size:"small",circle:"",onClick:o.reset,"aria-label":"Reset"},{icon:zn(()=>[yt(o.Icon,null,{default:zn(()=>[yt(o.SettingsBackupRestoreRound,{style:No(o.iconColor)},null,8,["style"])]),_:1})]),_:1}),yt(o.NInput,{value:o.pattern,"onUpdate:value":t[0]||(t[0]=a=>o.pattern=a),placeholder:"Input to search",size:"small",clearable:""},null,8,["value"])])):bl("v-if",!0),o.store.levelSwitch?(ir(),xa(o.NSlider,{key:1,value:o.level,"on-update:value":o.switchLevel,marks:o.marks,step:"mark",min:0,max:5,style:{margin:"4px 0"},"format-tooltip":o.formatTooltip},null,8,["value"])):bl("v-if",!0),o.pattern?(ir(),Ir("code",iL,Ic(o.matchCount)+" result(s): ",1)):bl("v-if",!0),(ir(),xa(o.NTree,{"block-line":"",pattern:o.pattern,data:o.data2,"selected-keys":o.selectedKeys,"render-label":o.renderMethod,"render-prefix":o.renderPrefix,"node-props":o.nodeProps,keyboard:!1,"expanded-keys":o.expanded,"render-switcher-icon":o.renderSwitcherIcon,"on-update:expanded-keys":o.expand,key:o.update_tree,filter:o.filter,"show-irrelevant-nodes":!o.store.hideUnsearched,class:Dn({ellipsis:o.store.ellipsis}),draggable:o.store.dragModify&&!o.editingHeadingText,onDrop:o.onDrop,"allow-drop":()=>o.plugin.navigator.canDrop},null,8,["pattern","data","selected-keys","render-label","node-props","expanded-keys","filter","show-irrelevant-nodes","class","draggable","allow-drop"]))]),_:1},8,["theme","theme-overrides"])],4)}mc.render=Yw;mc.__file="src/ui/Outline.vue";var Zw=mc;var Uo="quiet-outline",gc=class extends Zi.ItemView{vueApp;vueInstance;plugin;scopes;pendingKey;constructor(t,r){super(t),this.plugin=r,this.setupScopes()}getViewType(){return Uo}getDisplayText(){return"Quiet Outline"}getIcon(){return"lines-of-text"}async onOpen(){let t=this.containerEl.children[1];t.empty();let r=t.createEl("div",{cls:"quiet-outline"});this.vueApp=fg(Zw),this.vueApp.provide("plugin",this.plugin),this.vueApp.provide("container",r),this.vueInstance=this.vueApp.mount(r)}setupScopes(){let t=new Zi.Scope(this.app.scope);t.register([],"H",()=>this.vueInstance.setExpand(!1)),t.register([],"J",()=>this.vueInstance.move("down")),t.register([],"K",()=>this.vueInstance.move("up")),t.register([],"L",()=>this.vueInstance.setExpand(!0)),t.register([],"G",()=>{if(this.pendingKey==="G"){this.vueInstance.move("top"),this.pendingKey=void 0;return}this.pendingKey="G",setTimeout(()=>this.pendingKey=void 0,500)}),t.register([],"Z",()=>{if(this.pendingKey==="Z"){this.vueInstance.center(),this.pendingKey=void 0;return}this.pendingKey="Z",setTimeout(()=>this.pendingKey=void 0,500)}),t.register(["Shift"],"G",()=>this.vueInstance.move("bottom")),t.register([],"ArrowLeft",()=>this.vueInstance.setExpand(!1)),t.register([],"ArrowDown",()=>this.vueInstance.move("down")),t.register([],"ArrowUp",()=>this.vueInstance.move("up")),t.register([],"ArrowRight",()=>this.vueInstance.setExpand(!0)),t.register([],"/",n=>{n.preventDefault(),this.focusOn("search")}),t.register([]," ",n=>{n.preventDefault();let i=this.vueInstance.currentSelected();i!==void 0&&this.plugin.navigator.jumpWithoutFocus(i)}),t.register([],"Enter",()=>{let n=this.vueInstance.currentSelected();n!==void 0&&(this.plugin.navigator.jump(n),this.vueInstance.resetPattern())}),t.register(null,null,n=>{n.key==="Escape"&&setTimeout(()=>{this.plugin.app.workspace.activeLeaf?.setEphemeralState({focus:!0})})});let r=new Zi.Scope(this.app.scope);r.register([],"Escape",()=>this.vueInstance.resetPattern()),r.register([],"Enter",()=>this.focusOn("tree"));let o=new Zi.Scope(this.app.scope);this.scopes={tree:t,search:r,switcher:o}}focusOn(t){switch(t){case"tree":this.contentEl.querySelector(".n-tree").focus(),this.scope=this.scopes.tree,this.vueInstance.selectVisible();break;case"search":this.contentEl.querySelector(".n-input__input-el").focus(),this.scope=this.scopes.search;break}}async onClose(){}onunload(){this.vueApp.unmount()}};var eC=require("obsidian");function bc(e,t){let r=Object.keys(t).map(o=>aL(e,o,t[o]));return r.length===1?r[0]:function(){r.forEach(o=>o())}}function aL(e,t,r){let o=e[t],n=e.hasOwnProperty(t),i=n?o:function(){return Object.getPrototypeOf(e)[t].apply(this,arguments)},a=r(i);return o&&Object.setPrototypeOf(a,o),Object.setPrototypeOf(s,a),e[t]=s,l;function s(...u){return a===i&&e[t]===s&&l(),a.apply(this,u)}function l(){e[t]===s&&(n?e[t]=i:delete e[t]),a!==i&&(a=i,Object.setPrototypeOf(s,o||Function))}}var yc=class extends io{constructor(t,r){super(t,r)}async onload(){this.plugin.settings.vimlize_canvas&&dL(this.view)}async install(){let t=this.plugin;t.klasses.canvas||(this.patchCanvas(this.view.canvas),t.klasses.canvas=this.view.constructor),t.registerEvent(t.app.workspace.on("quiet-outline:canvas-change",()=>{t.refresh()})),t.registerEvent(t.app.workspace.on("quiet-outline:canvas-selection-change",async r=>{if(r.size===0||r.size>1){let i=t.app.workspace.getActiveFileView();if(!i)return;await t.updateNav(i.getViewType(),i),await t.refresh_outline(),S.refreshTree();return}let o=[...r][0];if(!o.hasOwnProperty("nodeEl"))return;let n=o;if(n.filePath?.endsWith(".md")){let i=n.child;await t.updateNav("embed-markdown-file",i),await t.refresh_outline(),S.refreshTree();return}if(n.unknownData.type==="text"||n.text){let i=n.child;await t.updateNav("embed-markdown-text",i),await t.refresh_outline(),S.refreshTree();return}await t.updateNav("dummy",null),await t.refresh_outline(),S.refreshTree()}))}async jump(t){let o=this.view.canvas.nodes.get(S.headers[t].id);if(o!==void 0){let n=o;this.view.canvas.zoomToBbox(n.bbox),this.view.canvas.selectOnly(n),this.view.setEphemeralState({focus:!0})}}async jumpWithoutFocus(t){let o=this.view.canvas.nodes.get(S.headers[t].id);o!==void 0&&this.view.canvas.zoomToBbox(o.bbox)}async setHeaders(){S.headers=await this.getHeaders()}async getHeaders(){let t=this.view.canvas.data.nodes;return t?sL(t,this.plugin.settings.canvas_sort_by):[]}async updateHeaders(){await this.setHeaders()}getPath(){return this.view.file.path}getId(){return"canvas"}patchCanvas(t){let r=this.plugin;r.register(bc(t.constructor.prototype,{requestSave(o){return function(...n){return r.app.workspace.trigger("quiet-outline:canvas-change"),o.apply(this,n)}},updateSelection(o){return function(...n){o.apply(this,n),r.app.workspace.trigger("quiet-outline:canvas-selection-change",this.selection)}}}))}};function sL(e,t="area"){let r=e.slice().sort((i,a)=>t==="name_asc"?$s(i).localeCompare($s(a),void 0,{numeric:!0}):t==="name_desc"?$s(a).localeCompare($s(i),void 0,{numeric:!0}):-uL(i,a)),o=[];for(let i=0;i<r.length;i++)rC(o,r[i]);let n=[];return tC(o,1,(i,a)=>{n.push({level:a,heading:$s(i),id:i.id,icon:lL(i),position:{start:{line:0,col:0,offset:0},end:{line:0,col:0,offset:0}}})}),n}function lL(e){if(e.type==="group")return"create-group";if(e.type==="text")return"lucide-sticky-note";if(e.type==="link")return"lucide-globe-2";if(e.type==="file"){if(e.file.endsWith(".md"))return"lucide-file-text";if(e.file.endsWith(".mp3"))return"lucide-music-2";if(e.file.endsWith(".mp4"))return"lucide-youtube";if(e.file.endsWith(".png")||e.file.endsWith(".jpg"))return"lucide-file-image"}return"lucide-link"}var Qw=e=>e.height*e.width;function uL(e,t){return Qw(e)-Qw(t)}var Em={};function $s(e){let t;switch(e.type){case"text":{t=e.text.split(`
`)[0],t=t.slice(t.search(/[^#\s].*/)),t.length>20&&(t=t.substring(0,20)+"...");break}case"file":{t=e.file.split("/").slice(-1)[0];break}case"link":{Em[e.url]?t=Em[e.url]:(t=e.url,(0,eC.request)(e.url).then(r=>{Em[e.url]=/<title>(.*)<\/title>/.exec(r)?.[1]||""}).catch(()=>{}));break}case"group":{t=e.label||"Unnamed Group";break}}return t}function tC(e,t,r){for(let o=0;o<e.length;o++)r(e[o].node,t),tC(e[o].children,t+1,r)}function rC(e,t){let r=!1;for(let o=0;o<e.length;o++)e[o].node.type==="group"&&cL(t,e[o].node)&&(r=!0,rC(e[o].children,t));r||e.push({node:t,children:[]})}function cL(e,t){return e.x>=t.x&&e.y>=t.y&&e.x+e.width<=t.x+t.width&&e.y+e.height<=t.y+t.height}function dL(e){if(e.__vimed)return;e.scope?.register([],"Escape",r=>{_n(r)||(r.preventDefault(),e.canvas.deselectAll())}),e.scope?.register([],"J",r=>{_n(r)||(r.preventDefault(),xc(e.canvas,"down"))}),e.scope?.register([],"K",r=>{_n(r)||(r.preventDefault(),xc(e.canvas,"up"))}),e.scope?.register([],"H",r=>{_n(r)||(r.preventDefault(),xc(e.canvas,"left"))}),e.scope?.register([],"L",r=>{_n(r)||(r.preventDefault(),xc(e.canvas,"right"))}),e.scope?.register([],"I",r=>{if(_n(r))return;let o=Jw(e.canvas);o&&(r.preventDefault(),o.startEditing())});let t=null;e.scope?.register([],"Z",r=>{if(!_n(r)){if(r.preventDefault(),t==="Z"){let o=Jw(e.canvas);if(!o)return;t=null,e.canvas.zoomToBbox(o.bbox);return}t="Z",setTimeout(()=>{t=null},300)}}),e.scope?.register([],"A",r=>{if(!_n(r)&&(r.preventDefault(),t==="Z")){t=null,e.canvas.zoomToFit();return}}),e.__vimed=!0}function _n(e){let t=e.targetNode;return t?.instanceOf(HTMLElement)&&t.contentEditable==="true"}function Jw(e){let t=[...e.selection];return t.length!==1||e.edges.has(t[0].id)?null:t[0]}function xc(e,t){if(e.selection.size>1)return;if(e.selection.size===0){let s=e.getContainingNodes(e.getViewportBBox());s.length>0&&e.selectOnly(s[0]);return}let r=[...e.selection.values()][0];if(e.edges.has(r.id))return;let o=r,n=o.bbox,i=[...e.nodes.values()].filter(s=>s!==o&&s.unknownData.type!=="group");switch(t){case"up":{let s=i.filter(u=>u.bbox.maxY<n.minY),l=s.filter(u=>vc(u.bbox,n,"x"));i=l.length>0?l.sort((u,c)=>c.bbox.maxY-u.bbox.maxY):s.sort((u,c)=>Tn(u.bbox,n)-Tn(c.bbox,n));break}case"down":{let s=i.filter(u=>u.bbox.minY>n.maxY),l=s.filter(u=>vc(u.bbox,n,"x"));i=l.length>0?l.sort((u,c)=>u.bbox.minY-c.bbox.minY):s.sort((u,c)=>Tn(u.bbox,n)-Tn(c.bbox,n));break}case"left":{let s=i.filter(u=>u.bbox.maxX<n.minX),l=s.filter(u=>vc(u.bbox,n,"y"));i=l.length>0?l.sort((u,c)=>c.bbox.maxX-u.bbox.maxX):s.sort((u,c)=>Tn(u.bbox,n)-Tn(c.bbox,n));break}case"right":{let s=i.filter(u=>u.bbox.minX>n.maxX),l=s.filter(u=>vc(u.bbox,n,"y"));i=l.length>0?l.sort((u,c)=>u.bbox.minX-c.bbox.minX):s.sort((u,c)=>Tn(u.bbox,n)-Tn(c.bbox,n));break}}let a=i[0];a&&(e.selectOnly(a),e.panIntoView(a.bbox))}function vc(e,t,r){return r==="x"?e.minX<t.maxX&&e.maxX>t.minX:e.minY<t.maxY&&e.maxY>t.minY}function Tn(e,t){let r={x:e.minX+(e.maxX-e.minX)/2,y:e.minY+(e.maxY-e.minY)/2},o={x:t.minX+(t.maxX-t.minX)/2,y:t.minY+(t.maxY-t.minY)/2};return Math.sqrt(Math.pow(r.x-o.x,2)+Math.pow(r.y-o.y,2))}var wc=class extends En{getId(){return"kanban"}canDrop=!1;async install(){En._installed||(await super.install(),En._installed=!0)}async jump(t){document.querySelectorAll('.workspace-leaf[style=""] .kanban-plugin__lane-wrapper')[t]?.scrollIntoView({block:"center",inline:"center",behavior:"smooth"})}};var Cc=class extends io{constructor(t,r){super(t,r)}getId(){return"embed-markdown-file"}async jump(t){let r=S.headers[t].position.start.line;this.plugin.jumping=!0,S.onPosChange(t),setTimeout(()=>{Sc(this.view,{line:r,focus:!0})})}async jumpWithoutFocus(t){let r=S.headers[t].position.start.line;this.plugin.jumping=!0,S.onPosChange(t),setTimeout(()=>{Sc(this.view,{line:r})})}async getHeaders(){return this.plugin.app.metadataCache.getFileCache(this.view.file)?.headings||[]}async setHeaders(){let t=await this.getHeaders();S.headers=t}async updateHeaders(){let t=await this.getHeaders();S.modifyKeys=Bs(S.headers,t),S.headers=t}},kc=class extends io{constructor(t,r){super(t,r)}getId(){return"embed-markdown-text"}async jump(t){let r=S.headers[t].position.start.line;Sc(this.view,{line:r,focus:!0})}async jumpWithoutFocus(t){let r=S.headers[t].position.start.line;Sc(this.view,{line:r})}async getHeaders(){let{headings:t}=await ym(this.plugin.app,this.view.text);return t||[]}async setHeaders(){S.headers=await this.getHeaders()}async updateHeaders(){let t=await this.getHeaders();S.modifyKeys=Bs(S.headers,t),S.headers=t}};function Sc(e,t){e.getMode()==="source"?(fL(e.editMode.editor,t.line),t.focus&&e.editMode.editor.focus()):(pL(e.previewMode.renderer,t.line),e.previewMode.containerEl.tabIndex=-1,t.focus&&e.previewMode.containerEl.focus())}function fL(e,t){let r={from:{line:t,ch:0},to:{line:t,ch:e.getLine(t).length}};e.addHighlights([r],"is-flashing",!0,!0),e.setCursor(r.from),e.scrollIntoView(r,!0)}function pL(e,t){e.applyScroll(t,{highlight:!0,center:!0})}var Ec={dummy:Ms,markdown:En,kanban:wc,canvas:yc,"embed-markdown-file":Cc,"embed-markdown-text":kc};function _m(e,t,r){let o=-1;return()=>{e(),window.clearTimeout(o),o=window.setTimeout(r,t)}}var Qe=require("obsidian");var oC={search_support:!0,level_switch:!0,markdown:!0,expand_level:"0",hide_unsearched:!0,auto_expand_ext:"only-expand",regex_search:!1,ellipsis:!1,label_direction:"left",drag_modify:!1,locate_by_cursor:!1,show_popover_key:"ctrlKey",persist_md_states:!0,keep_search_input:!1,export_format:"{title}",lang_direction_decide_by:"system",auto_scroll_into_view:!0,vimlize_canvas:!0,canvas_sort_by:"area",patch_color:!0,primary_color_light:"#18a058",primary_color_dark:"#63e2b7",rainbow_line:!1,rainbow_color_1:"#FD8B1F",rainbow_color_2:"#FFDF00",rainbow_color_3:"#07EB23",rainbow_color_4:"#2D8FF0",rainbow_color_5:"#BC01E2",font_size:"",font_family:"",font_weight:"",line_height:"",line_gap:"",custom_font_color:!1,h1_color:"#000000",h2_color:"#000000",h3_color:"#000000",h4_color:"#000000",h5_color:"#000000",h6_color:"#000000"},_c=class extends Qe.PluginSettingTab{plugin;activeTab="general";constructor(t,r){super(t,r),this.plugin=r}display(){let{containerEl:t}=this;t.empty(),t.createEl("h2",{text:fe("Settings for Quiet Outline.")});let r=t.createDiv({cls:"quiet-outline-tabs"}),o=r.createEl("button",{text:fe("General"),cls:this.activeTab==="general"?"active":""}),n=r.createEl("button",{text:fe("Styles"),cls:this.activeTab==="styles"?"active":""});o.addEventListener("click",()=>{this.activeTab="general",this.display()}),n.addEventListener("click",()=>{this.activeTab="styles",this.display()});let i=t.createDiv({cls:"quiet-outline-tab-content"});this.activeTab==="general"?this.renderGeneralSettings(i):this.renderStyleSettings(i)}renderGeneralSettings(t){t.empty(),new Qe.Setting(t).setName(fe("Search Support")).setDesc(fe("Add a searching area on the top")).addToggle(r=>r.setValue(this.plugin.settings.search_support).onChange(async o=>{this.plugin.settings.search_support=o,S.searchSupport=o,await this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("Level Switch")).setDesc(fe("Expand headings to certain level.")).addToggle(r=>r.setValue(this.plugin.settings.level_switch).onChange(async o=>{this.plugin.settings.level_switch=o,S.levelSwitch=o,await this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("Render Markdown")).setDesc(fe("Render heading string as markdown format.")).addToggle(r=>r.setValue(this.plugin.settings.markdown).onChange(async o=>{this.plugin.settings.markdown=o,S.markdown=o,await this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("Default Level")).setDesc(fe("Default expand level when opening a new note.")).addDropdown(r=>r.addOption("0",fe("No expand")).addOption("1","H1").addOption("2","H2").addOption("3","H3").addOption("4","H4").addOption("5","H5").setValue(this.plugin.settings.expand_level).onChange(async o=>{this.plugin.settings.expand_level=o,await this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("Hide Unsearched")).setDesc(fe("Hide irrelevant headings when searching")).addToggle(r=>r.setValue(this.plugin.settings.hide_unsearched).onChange(async o=>{this.plugin.settings.hide_unsearched=o,S.hideUnsearched=o,await this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("Regex Search")).setDesc(fe("Search headings using regular expression")).addToggle(r=>r.setValue(this.plugin.settings.regex_search).onChange(async o=>{this.plugin.settings.regex_search=o,S.regexSearch=o,await this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("Auto Expand")).setDesc(fe("Auto expand and collapse headings when scrolling and cursor position change")).addDropdown(r=>r.addOption("only-expand",fe("Only Expand")).addOption("expand-and-collapse-rest-to-default",fe("Expand and Collapse Rest to Default")).addOption("expand-and-collapse-rest-to-setting",fe("Expand and Collapse Rest to Setting Level (Level Switch)")).addOption("disable",fe("Disabled")).setValue(this.plugin.settings.auto_expand_ext).onChange(async o=>{this.plugin.settings.auto_expand_ext=o,await this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("Auto Scroll Into View")).setDesc(fe("Auto scroll located heading into view")).addToggle(r=>r.setValue(this.plugin.settings.auto_scroll_into_view).onChange(async o=>{this.plugin.settings.auto_scroll_into_view=o,await this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("Locate By Cursor")).setDesc(fe("Highlight and Auto expand postion will be determined by cursor position")).addToggle(r=>r.setValue(this.plugin.settings.locate_by_cursor).onChange(async o=>{this.plugin.settings.locate_by_cursor=o,await this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("Show Popover on hover")).setDesc(fe("Press functional key and move cursor to heading")).addDropdown(r=>r.addOption("ctrlKey","Ctrl").addOption("altKey","Alt").addOption("metaKey","Meta").addOption("disable",fe("Disable")).setValue(this.plugin.settings.show_popover_key).onChange(async o=>{this.plugin.settings.show_popover_key=o,await this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("Persist Markdown States")).setDesc(fe("Save and restore cursor, scroll state of markdown note, as well as expanded/collapsed state of headings")).addToggle(r=>r.setValue(this.plugin.settings.persist_md_states).onChange(async o=>{this.plugin.settings.persist_md_states=o,await this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("Keep Search Input")).setDesc(fe("Keep search input when switching between notes")).addToggle(r=>r.setValue(this.plugin.settings.keep_search_input).onChange(async o=>{this.plugin.settings.keep_search_input=o,await this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("Vimlize Canvas")).setDesc(fe("Add vim-like keymap for canvas")).addToggle(r=>r.setValue(this.plugin.settings.vimlize_canvas).onChange(async o=>{this.plugin.settings.vimlize_canvas=o,await this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("Canvas Sort Order")).setDesc(fe("Sort method for canvas nodes")).addDropdown(r=>r.addOption("area",fe("Sort by Area")).addOption("name_asc",fe("Sort by Name (A -> Z)")).addOption("name_desc",fe("Sort by Name (Z -> A)")).setValue(this.plugin.settings.canvas_sort_by).onChange(async o=>{this.plugin.settings.canvas_sort_by=o,await this.plugin.saveSettings(),this.plugin.refresh()})),new Qe.Setting(t).setName(fe("Drag headings to modify note")).setDesc(fe("\u2757 This will modify note content, be careful.")).addToggle(r=>r.setValue(this.plugin.settings.drag_modify).onChange(async o=>{this.plugin.settings.drag_modify=o,S.dragModify=o,await this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("Ellipsis")).setDesc(fe("Keep one line per heading")).addToggle(r=>r.setValue(this.plugin.settings.ellipsis).onChange(async o=>{this.plugin.settings.ellipsis=o,S.ellipsis=o,await this.plugin.saveSettings(),S.refreshTree(),this.display()})),this.plugin.settings.ellipsis&&new Qe.Setting(t).setName(fe("Tooltip direction")).addDropdown(r=>r.addOption("left","Left").addOption("right","Right").addOption("top","Top").addOption("bottom","Bottom").setValue(this.plugin.settings.label_direction).onChange(async o=>{this.plugin.settings.label_direction=o,S.labelDirection=o,await this.plugin.saveSettings(),S.refreshTree()})),new Qe.Setting(t).setName(fe("Text Direction")).setDesc(fe("is decided by")).addDropdown(r=>r.addOption("system","Obsidian Language").addOption("text","Specific text of heading").setValue(this.plugin.settings.lang_direction_decide_by).onChange(async o=>{this.plugin.settings.lang_direction_decide_by=o,S.textDirectionDecideBy=o,await this.plugin.saveSettings(),S.refreshTree()})),new Qe.Setting(t).setName(fe("Export Format")).addText(r=>r.setValue(this.plugin.settings.export_format).onChange(async o=>{this.plugin.settings.export_format=o,await this.plugin.saveSettings()}).inputEl.setAttribute("style","width: 100%;")).addExtraButton(r=>r.setIcon("help").setTooltip("release doc 0.3.32").onClick(()=>window.open("https://github.com/guopenghui/obsidian-quiet-outline/releases/tag/0.3.32")))}renderStyleSettings(t){t.empty(),new Qe.Setting(t).setName(fe("Set Primary Color")).addToggle(r=>r.setTooltip(fe("Patch default color")).setValue(this.plugin.settings.patch_color).onChange(async o=>{this.plugin.settings.patch_color=o,S.patchColor=o,this.plugin.saveSettings()})).addColorPicker(r=>r.setValue(this.plugin.settings.primary_color_light).onChange(async o=>{this.plugin.settings.primary_color_light=o,S.primaryColorLight=o,this.plugin.saveSettings()})).addColorPicker(r=>r.setValue(this.plugin.settings.primary_color_dark).onChange(async o=>{this.plugin.settings.primary_color_dark=o,S.primaryColorDark=o,this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("Set Rainbow Line Color")).addToggle(r=>r.setTooltip(fe("Patch default color")).setValue(this.plugin.settings.rainbow_line).onChange(async o=>{this.plugin.settings.rainbow_line=o,S.rainbowLine=o,this.plugin.saveSettings()})).addColorPicker(r=>r.setValue(this.plugin.settings.rainbow_color_1).onChange(async o=>{this.plugin.settings.rainbow_color_1=o,S.rainbowColor1=o,this.plugin.saveSettings()})).addColorPicker(r=>r.setValue(this.plugin.settings.rainbow_color_2).onChange(async o=>{this.plugin.settings.rainbow_color_2=o,S.rainbowColor2=o,this.plugin.saveSettings()})).addColorPicker(r=>r.setValue(this.plugin.settings.rainbow_color_3).onChange(async o=>{this.plugin.settings.rainbow_color_3=o,S.rainbowColor3=o,this.plugin.saveSettings()})).addColorPicker(r=>r.setValue(this.plugin.settings.rainbow_color_4).onChange(async o=>{this.plugin.settings.rainbow_color_4=o,S.rainbowColor4=o,this.plugin.saveSettings()})).addColorPicker(r=>r.setValue(this.plugin.settings.rainbow_color_5).onChange(async o=>{this.plugin.settings.rainbow_color_5=o,S.rainbowColor5=o,this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("Font Size")).setDesc(fe("Custom font size for outline text (e.g., 14px, 1rem)")).addText(r=>r.setPlaceholder("inherit").setValue(this.plugin.settings.font_size).onChange(async o=>{this.plugin.settings.font_size=o,S.fontSize=o,await this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("Font Family")).setDesc(fe("Custom font family for outline text")).addText(r=>r.setPlaceholder("inherit").setValue(this.plugin.settings.font_family).onChange(async o=>{this.plugin.settings.font_family=o,S.fontFamily=o,await this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("Font Weight")).setDesc(fe("Custom font weight for outline text (e.g., normal, bold, 400, 700)")).addText(r=>r.setPlaceholder("inherit").setValue(this.plugin.settings.font_weight).onChange(async o=>{this.plugin.settings.font_weight=o,S.fontWeight=o,await this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("Line Height")).setDesc(fe("Custom line height for outline text (e.g., 1.5, 2)")).addText(r=>r.setPlaceholder("inherit").setValue(this.plugin.settings.line_height).onChange(async o=>{this.plugin.settings.line_height=o,S.lineHeight=o,await this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("Line Gap")).setDesc(fe("Custom gap between lines (e.g., 4px, 0.5rem)")).addText(r=>r.setPlaceholder("inherit").setValue(this.plugin.settings.line_gap).onChange(async o=>{this.plugin.settings.line_gap=o,S.lineGap=o,await this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("Custom Font Color")).setDesc(fe("Enable custom font colors for different heading levels")).addToggle(r=>r.setValue(this.plugin.settings.custom_font_color).onChange(async o=>{this.plugin.settings.custom_font_color=o,S.customFontColor=o,await this.plugin.saveSettings(),this.display()})),this.plugin.settings.custom_font_color&&(new Qe.Setting(t).setName(fe("H1 Color")).addColorPicker(r=>r.setValue(this.plugin.settings.h1_color).onChange(async o=>{this.plugin.settings.h1_color=o,S.h1Color=o,await this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("H2 Color")).addColorPicker(r=>r.setValue(this.plugin.settings.h2_color).onChange(async o=>{this.plugin.settings.h2_color=o,S.h2Color=o,await this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("H3 Color")).addColorPicker(r=>r.setValue(this.plugin.settings.h3_color).onChange(async o=>{this.plugin.settings.h3_color=o,S.h3Color=o,await this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("H4 Color")).addColorPicker(r=>r.setValue(this.plugin.settings.h4_color).onChange(async o=>{this.plugin.settings.h4_color=o,S.h4Color=o,await this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("H5 Color")).addColorPicker(r=>r.setValue(this.plugin.settings.h5_color).onChange(async o=>{this.plugin.settings.h5_color=o,S.h5Color=o,await this.plugin.saveSettings()})),new Qe.Setting(t).setName(fe("H6 Color")).addColorPicker(r=>r.setValue(this.plugin.settings.h6_color).onChange(async o=>{this.plugin.settings.h6_color=o,S.h6Color=o,await this.plugin.saveSettings()})))}};var nC=require("obsidian"),Tc=class{constructor(t,r){this.app=t;this.pluginPath=r}cache={};async checkPath(t){let r=t.split("/").slice(0,-1).join("/");await this.app.vault.adapter.exists(r)||await this.app.vault.createFolder(r)}async writeFileDirectly(t,r){await this.checkPath(t),await this.app.vault.adapter.write(t,r)}getData(t){if(this.cache[t])return this.cache[t]}async loadFileData(t,r){let o=[this.pluginPath,t].join("/");if(!await this.app.vault.adapter.exists(o))return await this.writeFileDirectly(o,JSON.stringify(r,null,2)),this.cache[t]=r,r;let i=await this.app.vault.adapter.read(o);return this.cache[t]=JSON.parse(i),this.cache[t]}saveFileData=(0,nC.debounce)(this._saveFileData.bind(this),200,!0);async _saveFileData(t,r){this.cache[t]=r;let o=[this.pluginPath,t].join("/");await this.app.vault.adapter.write(o,JSON.stringify(r,null,2))}};var hL=["markdown","canvas","kanban"],Dc=class extends _o.Plugin{settings;navigator=new Ec.dummy(this,null);jumping;heading_states={};klasses={};data_manager;allow_scroll=!0;block_scroll;allow_cursor_change=!0;block_cursor_change;prevActiveFile=null;prevActiveFileView=null;prevView=null;async onload(){await this.loadSettings(),this.data_manager=new Tc(this.app,this.getPluginPath()),await this.data_manager.loadFileData(Sn,{}),this.initStore(),this.registerView(Uo,t=>new gc(t,this)),this.registerListener(),this.registerCommand(),this.addSettingTab(new _c(this.app,this)),await this.firstTimeInstall()&&(this.activateView(),await this.saveSettings()),this.block_scroll=_m(()=>{this.allow_scroll=!1},300,()=>{this.allow_scroll=!0}),this.block_cursor_change=_m(()=>{this.allow_cursor_change=!1},300,()=>{this.allow_cursor_change=!0}),this.setupVimMode()}async setupVimMode(){this.addCommand({id:"focus-heading-tree",name:"Focus Heading Tree",callback:async()=>{let t=this.app.workspace.getLeavesOfType(Uo)[0];if(!t)return;let r=t.view;await this.app.workspace.revealLeaf(t),r.focusOn("tree")}})}async firstTimeInstall(){return!await this.app.vault.adapter.exists(this.manifest.dir+"/data.json")}initStore(){S.headers=[],S.dark=document.body.hasClass("theme-dark"),S.markdown=this.settings.markdown,S.ellipsis=this.settings.ellipsis,S.labelDirection=this.settings.label_direction,S.leafChange=!1,S.searchSupport=this.settings.search_support,S.levelSwitch=this.settings.level_switch,S.hideUnsearched=this.settings.hide_unsearched,S.regexSearch=this.settings.regex_search,S.dragModify=this.settings.drag_modify,S.textDirectionDecideBy=this.settings.lang_direction_decide_by,S.patchColor=this.settings.patch_color,S.primaryColorLight=this.settings.primary_color_light,S.primaryColorDark=this.settings.primary_color_dark,S.rainbowLine=this.settings.rainbow_line,S.rainbowColor1=this.settings.rainbow_color_1,S.rainbowColor2=this.settings.rainbow_color_2,S.rainbowColor3=this.settings.rainbow_color_3,S.rainbowColor4=this.settings.rainbow_color_4,S.rainbowColor5=this.settings.rainbow_color_5,S.fontSize=this.settings.font_size,S.fontFamily=this.settings.font_family,S.fontWeight=this.settings.font_weight,S.lineHeight=this.settings.line_height,S.lineGap=this.settings.line_gap,S.customFontColor=this.settings.custom_font_color,S.h1Color=this.settings.h1_color,S.h2Color=this.settings.h2_color,S.h3Color=this.settings.h3_color,S.h4Color=this.settings.h4_color,S.h5Color=this.settings.h5_color,S.h6Color=this.settings.h6_color}registerListener(){this.registerEvent(this.app.workspace.on("css-change",()=>{S.dark=document.body.hasClass("theme-dark"),S.cssChange=!S.cssChange})),this.registerEvent(this.app.workspace.on("layout-change",()=>{let r=this.app.workspace.getLeavesOfType("markdown"),o={};r.forEach(n=>{if(n.view.file===void 0)return;let i=n.view.file.path;this.heading_states[i]&&(o[i]=this.heading_states[i])}),this.heading_states=o})),this.registerEvent(this.app.metadataCache.on("changed",(r,o,n)=>{this.refresh("file-modify")})),this.registerEvent(this.app.workspace.on("active-leaf-change",async r=>{let o=this.prevView;if(this.prevView=r?.view||null,!r)return;if(!this.app.workspace.getActiveFileView()){this.prevActiveFileView=null,this.prevActiveFile=null,this.app.workspace.trigger("quiet-outline:active-fileview-change",null);return}if(r.view instanceof _o.FileView&&hL.contains(r.view.getViewType())&&r.view.file){let i=r.view.getViewType()==="canvas"&&this.prevActiveFileView===r.view&&r.view===o;(r.view!==this.prevActiveFileView||r.view.file!==this.prevActiveFile||i)&&(this.prevActiveFileView=r.view,this.prevActiveFile=r.view.file,this.app.workspace.trigger("quiet-outline:active-fileview-change",r.view))}})),this.registerEvent(this.app.workspace.on("quiet-outline:active-fileview-change",async r=>{if(!this.app.workspace.getLeavesOfType(Uo)[0]?.group){if(!r){await this.updateNav("dummy",null),await this.refresh_outline(),S.refreshTree();return}this.block_cursor_change(),await this.updateNav(r.getViewType(),r),await this.refresh_outline(),S.refreshTree()}}));let t=this;this.register(bc(_o.WorkspaceLeaf.prototype,{setViewState(r){return async function(o,n){if(o.type!=="markdown")return r.apply(this,[o,n]);if(t.settings.persist_md_states){let a=t.data_manager.getData(Sn)[o.state?.file??""];a&&(n=n||{},n.scroll=a.scroll,n.cursor=a.cursor)}return r.apply(this,[o,n])}}}))}refresh_outline=async t=>{t==="file-modify"?await this.navigator.updateHeaders():await this.navigator.setHeaders()};refresh=(0,_o.debounce)(this.refresh_outline,300,!0);async onunload(){await this.navigator.unload()}async updateNav(t,r){await this.navigator.unload();let o=Ec[t]||Ec.dummy;this.navigator=new o(this,r),await this.navigator.load()}stringifyHeaders(){function t(s,l){return Array(s.length+l.length).fill("").map((u,c)=>c%2===0?s[c/2]:l[(c-1)/2])}let r=this.settings.export_format.split(/\{.*?\}/),o=this.settings.export_format.match(/(?<={)(.*?)(?=})/g)||[];function n(s){let l=i[s.level-1],u=o.map(c=>{switch(c){case"title":return s.heading;case"path":return"#"+s.heading.replace(/ /g,"%20");case"bullet":return"-";case"num":return l.toString();case"num-nest":return l.toString()}let d=c.match(/num-nest\[(.*?)\]/);if(d){let p=d[1];return i.slice(0,s.level).join(p)}return""});return t(r,u).join("")}let i=[0,0,0,0,0,0],a=[];return S.headers.forEach(s=>{i.forEach((u,c)=>{c>s.level-1&&(i[c]=0)}),i[s.level-1]++;let l=" ".repeat(s.level-1)+n(s);a.push(l)}),a}async loadSettings(){this.settings=Object.assign({},oC,await this.loadData())}async saveSettings(){await this.saveData(this.settings)}getPluginPath(){return this.manifest.dir}async activateView(){this.app.workspace.rightSplit!==null&&(this.app.workspace.getLeavesOfType(Uo).length===0&&await this.app.workspace.getRightLeaf(!1)?.setViewState({type:Uo,active:!0}),this.app.workspace.revealLeaf(this.app.workspace.getLeavesOfType(Uo)[0]))}registerCommand(){this.addCommand({id:"quiet-outline",name:"Quiet Outline",callback:()=>{this.activateView()}}),this.addCommand({id:"quiet-outline-reset",name:"Reset expanding level",callback:()=>{dispatchEvent(new CustomEvent("quiet-outline-reset"))}}),this.addCommand({id:"quiet-outline-focus-input",name:"Focus on input",callback:async()=>{let t=this.app.workspace.getLeavesOfType(Uo)[0];if(!t)return;let r=t.view;await this.app.workspace.revealLeaf(t),r.focusOn("search")}}),this.addCommand({id:"quiet-outline-copy-as-text",name:"Copy Current Headings As Text",callback:async()=>{let t=this.stringifyHeaders();await navigator.clipboard.writeText(t.join(`
`)),new _o.Notice("Headings copied")}}),this.addCommand({id:"inc-level",name:"Increase Level",callback:()=>{dispatchEvent(new CustomEvent("quiet-outline-levelchange",{detail:{level:"inc"}}))}}),this.addCommand({id:"dec-level",name:"Decrease Level",callback:()=>{dispatchEvent(new CustomEvent("quiet-outline-levelchange",{detail:{level:"dec"}}))}}),this.addCommand({id:"prev-heading",name:"To previous heading",editorCallback:t=>{let r=t.getCursor().line,o=S.headers.findLastIndex(n=>n.position.start.line<r);o!=-1&&this.navigator.jump(o)}}),this.addCommand({id:"next-heading",name:"To next heading",editorCallback:t=>{let r=t.getCursor().line,o=S.headers.findIndex(n=>n.position.start.line>r);o!=-1&&this.navigator.jump(o)}})}};var mL=Dc;
/*! Bundled license information:
lodash-es/lodash.js:
(**
* @license
* Lodash (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="es" -o ./`
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*)
*/
/* nosourcemap */