1042 lines
590 KiB
JavaScript
1042 lines
590 KiB
JavaScript
/*
|
|
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
|
|
if you want to view the source, please visit the github repository of this plugin
|
|
*/
|
|
|
|
var bC=Object.create;var $s=Object.defineProperty;var xC=Object.getOwnPropertyDescriptor;var vC=Object.getOwnPropertyNames;var yC=Object.getPrototypeOf,wC=Object.prototype.hasOwnProperty;var Ar=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),CC=(e,t)=>{for(var r in t)$s(e,r,{get:t[r],enumerable:!0})},vh=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of vC(t))!wC.call(e,n)&&n!==r&&$s(e,n,{get:()=>t[n],enumerable:!(o=xC(t,n))||o.enumerable});return e};var yh=(e,t,r)=>(r=e!=null?bC(yC(e)):{},vh(t||!e||!e.__esModule?$s(r,"default",{value:e,enumerable:!0}):r,e)),kC=e=>vh($s({},"__esModule",{value:!0}),e);var Ba=Ar((DF,Ra)=>{function D_(e){return e&&e.__esModule?e:{default:e}}Ra.exports=D_,Ra.exports.__esModule=!0,Ra.exports.default=Ra.exports});var nv=Ar((Ma,ov)=>{"use strict";Object.defineProperty(Ma,"__esModule",{value:!0});Ma.default=void 0;var N_={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"}},A_=function(t,r,o){var n,i=N_[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},I_=A_;Ma.default=I_;ov.exports=Ma.default});var av=Ar((au,iv)=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});au.default=L_;function L_(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}}iv.exports=au.default});var lv=Ar(($a,sv)=>{"use strict";var O_=Ba().default;Object.defineProperty($a,"__esModule",{value:!0});$a.default=void 0;var Jd=O_(av()),P_={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},R_={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},B_={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},M_={date:(0,Jd.default)({formats:P_,defaultWidth:"full"}),time:(0,Jd.default)({formats:R_,defaultWidth:"full"}),dateTime:(0,Jd.default)({formats:B_,defaultWidth:"full"})},$_=M_;$a.default=$_;sv.exports=$a.default});var cv=Ar((Ha,uv)=>{"use strict";Object.defineProperty(Ha,"__esModule",{value:!0});Ha.default=void 0;var H_={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},z_=function(t,r,o,n){return H_[t]},F_=z_;Ha.default=F_;uv.exports=Ha.default});var fv=Ar((su,dv)=>{"use strict";Object.defineProperty(su,"__esModule",{value:!0});su.default=V_;function V_(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]}}dv.exports=su.default});var mv=Ar((Fa,pv)=>{"use strict";var j_=Ba().default;Object.defineProperty(Fa,"__esModule",{value:!0});Fa.default=void 0;var za=j_(fv()),W_={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},q_={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},U_={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"]},K_={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"]},G_={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"}},X_={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"}},Y_=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"},Z_={ordinalNumber:Y_,era:(0,za.default)({values:W_,defaultWidth:"wide"}),quarter:(0,za.default)({values:q_,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:(0,za.default)({values:U_,defaultWidth:"wide"}),day:(0,za.default)({values:K_,defaultWidth:"wide"}),dayPeriod:(0,za.default)({values:G_,defaultWidth:"wide",formattingValues:X_,defaultFormattingWidth:"wide"})},Q_=Z_;Fa.default=Q_;pv.exports=Fa.default});var gv=Ar((lu,hv)=>{"use strict";Object.defineProperty(lu,"__esModule",{value:!0});lu.default=J_;function J_(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)?t5(s,function(d){return d.test(a)}):e5(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 e5(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function t5(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r}hv.exports=lu.default});var xv=Ar((uu,bv)=>{"use strict";Object.defineProperty(uu,"__esModule",{value:!0});uu.default=r5;function r5(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}}}bv.exports=uu.default});var wv=Ar((ja,yv)=>{"use strict";var vv=Ba().default;Object.defineProperty(ja,"__esModule",{value:!0});ja.default=void 0;var Va=vv(gv()),o5=vv(xv()),n5=/^(\d+)(th|st|nd|rd)?/i,i5=/\d+/i,a5={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},s5={any:[/^b/i,/^(a|c)/i]},l5={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},u5={any:[/1/i,/2/i,/3/i,/4/i]},c5={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},d5={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]},f5={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},p5={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]},m5={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},h5={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}},g5={ordinalNumber:(0,o5.default)({matchPattern:n5,parsePattern:i5,valueCallback:function(t){return parseInt(t,10)}}),era:(0,Va.default)({matchPatterns:a5,defaultMatchWidth:"wide",parsePatterns:s5,defaultParseWidth:"any"}),quarter:(0,Va.default)({matchPatterns:l5,defaultMatchWidth:"wide",parsePatterns:u5,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:(0,Va.default)({matchPatterns:c5,defaultMatchWidth:"wide",parsePatterns:d5,defaultParseWidth:"any"}),day:(0,Va.default)({matchPatterns:f5,defaultMatchWidth:"wide",parsePatterns:p5,defaultParseWidth:"any"}),dayPeriod:(0,Va.default)({matchPatterns:m5,defaultMatchWidth:"any",parsePatterns:h5,defaultParseWidth:"any"})},b5=g5;ja.default=b5;yv.exports=ja.default});var kv=Ar((qa,Cv)=>{"use strict";var Wa=Ba().default;Object.defineProperty(qa,"__esModule",{value:!0});qa.default=void 0;var x5=Wa(nv()),v5=Wa(lv()),y5=Wa(cv()),w5=Wa(mv()),C5=Wa(wv()),k5={code:"en-US",formatDistance:x5.default,formatLong:v5.default,formatRelative:y5.default,localize:w5.default,match:C5.default,options:{weekStartsOn:0,firstWeekContainsDate:1}},S5=k5;qa.default=S5;Cv.exports=qa.default});var aw=Ar((yfe,iw)=>{"use strict";var xA=function(t){return vA(t)&&!yA(t)};function vA(e){return!!e&&typeof e=="object"}function yA(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||kA(e)}var wA=typeof Symbol=="function"&&Symbol.for,CA=wA?Symbol.for("react.element"):60103;function kA(e){return e.$$typeof===CA}function SA(e){return Array.isArray(e)?[]:{}}function Is(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ui(SA(e),e,t):e}function EA(e,t,r){return e.concat(t).map(function(o){return Is(o,r)})}function _A(e,t){if(!t.customMerge)return Ui;var r=t.customMerge(e);return typeof r=="function"?r:Ui}function TA(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function ow(e){return Object.keys(e).concat(TA(e))}function nw(e,t){try{return t in e}catch{return!1}}function DA(e,t){return nw(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function NA(e,t,r){var o={};return r.isMergeableObject(e)&&ow(e).forEach(function(n){o[n]=Is(e[n],r)}),ow(t).forEach(function(n){DA(e,n)||(nw(e,n)&&r.isMergeableObject(t[n])?o[n]=_A(n,r)(e[n],t[n],r):o[n]=Is(t[n],r))}),o}function Ui(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||EA,r.isMergeableObject=r.isMergeableObject||xA,r.cloneUnlessOtherwiseSpecified=Is;var o=Array.isArray(t),n=Array.isArray(e),i=o===n;return i?o?r.arrayMerge(e,t,r):NA(e,t,r):Is(t,r)}Ui.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(o,n){return Ui(o,n,r)},{})};var AA=Ui;iw.exports=AA});var KI={};CC(KI,{default:()=>UI});module.exports=kC(KI);var Sn=require("obsidian");var Gi=require("obsidian");function ri(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 jo(e){if(We(e)){let t={};for(let r=0;r<e.length;r++){let o=e[r],n=Nt(o)?TC(o):jo(o);if(n)for(let i in n)t[i]=n[i]}return t}else{if(Nt(e))return e;if(ht(e))return e}}var SC=/;(?![^(]*\))/g,EC=/:([^]+)/,_C=/\/\*.*?\*\//gs;function TC(e){let t={};return e.replace(_C,"").split(SC).forEach(r=>{if(r){let o=r.split(EC);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function En(e){let t="";if(Nt(e))t=e;else if(We(e))for(let r=0;r<e.length;r++){let o=En(e[r]);o&&(t+=o+" ")}else if(ht(e))for(let r in e)e[r]&&(t+=r+" ");return t.trim()}var Ch="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",kh=ri(Ch),XI=ri(Ch+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function wc(e){return!!e||e===""}var Cc=e=>Nt(e)?e:e==null?"":We(e)||ht(e)&&(e.toString===_h||!qe(e.toString))?JSON.stringify(e,Sh,2):String(e),Sh=(e,t)=>t&&t.__v_isRef?Sh(e,t.value):Wo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[o,n])=>(r[`${o} =>`]=n,r),{})}:zs(t)?{[`Set(${t.size})`]:[...t.values()]}:ht(t)&&!We(t)&&!Ec(t)?String(t):t,mt={},_n=[],yr=()=>{},Eh=()=>!1,DC=/^on[^a-z]/,oi=e=>DC.test(e),Zi=e=>e.startsWith("onUpdate:"),Lt=Object.assign,Hs=(e,t)=>{let r=e.indexOf(t);r>-1&&e.splice(r,1)},NC=Object.prototype.hasOwnProperty,ot=(e,t)=>NC.call(e,t),We=Array.isArray,Wo=e=>Vs(e)==="[object Map]",zs=e=>Vs(e)==="[object Set]";var qe=e=>typeof e=="function",Nt=e=>typeof e=="string",Fs=e=>typeof e=="symbol",ht=e=>e!==null&&typeof e=="object",kc=e=>ht(e)&&qe(e.then)&&qe(e.catch),_h=Object.prototype.toString,Vs=e=>_h.call(e),Sc=e=>Vs(e).slice(8,-1),Ec=e=>Vs(e)==="[object Object]",js=e=>Nt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Qi=ri(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted");var Ws=e=>{let t=Object.create(null);return r=>t[r]||(t[r]=e(r))},AC=/-(\w)/g,no=Ws(e=>e.replace(AC,(t,r)=>r?r.toUpperCase():"")),IC=/\B([A-Z])/g,qo=Ws(e=>e.replace(IC,"-$1").toLowerCase()),Ji=Ws(e=>e.charAt(0).toUpperCase()+e.slice(1)),ea=Ws(e=>e?`on${Ji(e)}`:""),Tn=(e,t)=>!Object.is(e,t),ta=(e,t)=>{for(let r=0;r<e.length;r++)e[r](t)},ni=(e,t,r)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},ii=e=>{let t=parseFloat(e);return isNaN(t)?e:t},wh,Th=()=>wh||(wh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});var io,oa=class{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=io,!t&&io&&(this.index=(io.scopes||(io.scopes=[])).push(this)-1)}run(t){if(this.active){let r=io;try{return io=this,t()}finally{io=r}}}on(){io=this}off(){io=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 LC(e,t=io){t&&t.active&&t.effects.push(e)}var Oc=e=>{let t=new Set(e);return t.w=0,t.n=0,t},Rh=e=>(e.w&Go)>0,Bh=e=>(e.n&Go)>0,OC=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Go},PC=e=>{let{deps:t}=e;if(t.length){let r=0;for(let o=0;o<t.length;o++){let n=t[o];Rh(n)&&!Bh(n)?n.delete(e):t[r++]=n,n.w&=~Go,n.n&=~Go}t.length=r}},_c=new WeakMap,ra=0,Go=1,Tc=30,Wr,Dn=Symbol(""),Dc=Symbol(""),Nn=class{constructor(t,r=null,o){this.fn=t,this.scheduler=r,this.active=!0,this.deps=[],this.parent=void 0,LC(this,o)}run(){if(!this.active)return this.fn();let t=Wr,r=Ko;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Wr,Wr=this,Ko=!0,Go=1<<++ra,ra<=Tc?OC(this):Dh(this),this.fn()}finally{ra<=Tc&&PC(this),Go=1<<--ra,Wr=this.parent,Ko=r,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Wr===this?this.deferStop=!0:this.active&&(Dh(this),this.onStop&&this.onStop(),this.active=!1)}};function Dh(e){let{deps:t}=e;if(t.length){for(let r=0;r<t.length;r++)t[r].delete(e);t.length=0}}var Ko=!0,Mh=[];function Yo(){Mh.push(Ko),Ko=!1}function Zo(){let e=Mh.pop();Ko=e===void 0?!0:e}function pr(e,t,r){if(Ko&&Wr){let o=_c.get(e);o||_c.set(e,o=new Map);let n=o.get(r);n||o.set(r,n=Oc()),$h(n,void 0)}}function $h(e,t){let r=!1;ra<=Tc?Bh(e)||(e.n|=Go,r=!Rh(e)):r=!e.has(Wr),r&&(e.add(Wr),Wr.deps.push(e))}function ao(e,t,r,o,n,i){let a=_c.get(e);if(!a)return;let s=[];if(t==="clear")s=[...a.values()];else if(r==="length"&&We(e)){let u=ii(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)?js(r)&&s.push(a.get("length")):(s.push(a.get(Dn)),Wo(e)&&s.push(a.get(Dc)));break;case"delete":We(e)||(s.push(a.get(Dn)),Wo(e)&&s.push(a.get(Dc)));break;case"set":Wo(e)&&s.push(a.get(Dn));break}let l=void 0;if(s.length===1)s[0]&&Nc(s[0]);else{let u=[];for(let c of s)c&&u.push(...c);Nc(Oc(u))}}function Nc(e,t){let r=We(e)?e:[...e];for(let o of r)o.computed&&Nh(o,t);for(let o of r)o.computed||Nh(o,t)}function Nh(e,t){(e!==Wr||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}var RC=ri("__proto__,__v_isRef,__isVue"),Hh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Fs)),BC=Pc(),MC=Pc(!1,!0),$C=Pc(!0);var Ah=HC();function HC(){let e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){let o=Qe(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(Qe)):n}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...r){Yo();let o=Qe(this)[t].apply(this,r);return Zo(),o}}),e}function Pc(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?tk:Wh:t?jh:Vh).get(o))return o;let a=We(o);if(!e&&a&&ot(Ah,n))return Reflect.get(Ah,n,i);let s=Reflect.get(o,n,i);return(Fs(n)?Hh.has(n):RC(n))||(e||pr(o,"get",n),t)?s:Bt(s)?a&&js(n)?s:s.value:ht(s)?e?Qo(s):so(s):s}}var zC=zh(),FC=zh(!0);function zh(e=!1){return function(r,o,n,i){let a=r[o];if(Xo(a)&&Bt(a)&&!Bt(n))return!1;if(!e&&(!ai(n)&&!Xo(n)&&(a=Qe(a),n=Qe(n)),!We(r)&&Bt(a)&&!Bt(n)))return a.value=n,!0;let s=We(r)&&js(o)?Number(o)<r.length:ot(r,o),l=Reflect.set(r,o,n,i);return r===Qe(i)&&(s?Tn(n,a)&&ao(r,"set",o,n,a):ao(r,"add",o,n)),l}}function VC(e,t){let r=ot(e,t),o=e[t],n=Reflect.deleteProperty(e,t);return n&&r&&ao(e,"delete",t,void 0,o),n}function jC(e,t){let r=Reflect.has(e,t);return(!Fs(t)||!Hh.has(t))&&pr(e,"has",t),r}function WC(e){return pr(e,"iterate",We(e)?"length":Dn),Reflect.ownKeys(e)}var Fh={get:BC,set:zC,deleteProperty:VC,has:jC,ownKeys:WC},qC={get:$C,set(e,t){return!0},deleteProperty(e,t){return!0}},UC=Lt({},Fh,{get:MC,set:FC});var Rc=e=>e,Ys=e=>Reflect.getPrototypeOf(e);function qs(e,t,r=!1,o=!1){e=e.__v_raw;let n=Qe(e),i=Qe(t);r||(t!==i&&pr(n,"get",t),pr(n,"get",i));let{has:a}=Ys(n),s=o?Rc:r?Hc:na;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 Us(e,t=!1){let r=this.__v_raw,o=Qe(r),n=Qe(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 Ks(e,t=!1){return e=e.__v_raw,!t&&pr(Qe(e),"iterate",Dn),Reflect.get(e,"size",e)}function Ih(e){e=Qe(e);let t=Qe(this);return Ys(t).has.call(t,e)||(t.add(e),ao(t,"add",e,e)),this}function Lh(e,t){t=Qe(t);let r=Qe(this),{has:o,get:n}=Ys(r),i=o.call(r,e);i||(e=Qe(e),i=o.call(r,e));let a=n.call(r,e);return r.set(e,t),i?Tn(t,a)&&ao(r,"set",e,t,a):ao(r,"add",e,t),this}function Oh(e){let t=Qe(this),{has:r,get:o}=Ys(t),n=r.call(t,e);n||(e=Qe(e),n=r.call(t,e));let i=o?o.call(t,e):void 0,a=t.delete(e);return n&&ao(t,"delete",e,void 0,i),a}function Ph(){let e=Qe(this),t=e.size!==0,r=void 0,o=e.clear();return t&&ao(e,"clear",void 0,void 0,r),o}function Gs(e,t){return function(o,n){let i=this,a=i.__v_raw,s=Qe(a),l=t?Rc:e?Hc:na;return!e&&pr(s,"iterate",Dn),a.forEach((u,c)=>o.call(n,l(u),l(c),i))}}function Xs(e,t,r){return function(...o){let n=this.__v_raw,i=Qe(n),a=Wo(i),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,u=n[e](...o),c=r?Rc:t?Hc:na;return!t&&pr(i,"iterate",l?Dc:Dn),{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 Uo(e){return function(...t){return e==="delete"?!1:this}}function KC(){let e={get(i){return qs(this,i)},get size(){return Ks(this)},has:Us,add:Ih,set:Lh,delete:Oh,clear:Ph,forEach:Gs(!1,!1)},t={get(i){return qs(this,i,!1,!0)},get size(){return Ks(this)},has:Us,add:Ih,set:Lh,delete:Oh,clear:Ph,forEach:Gs(!1,!0)},r={get(i){return qs(this,i,!0)},get size(){return Ks(this,!0)},has(i){return Us.call(this,i,!0)},add:Uo("add"),set:Uo("set"),delete:Uo("delete"),clear:Uo("clear"),forEach:Gs(!0,!1)},o={get(i){return qs(this,i,!0,!0)},get size(){return Ks(this,!0)},has(i){return Us.call(this,i,!0)},add:Uo("add"),set:Uo("set"),delete:Uo("delete"),clear:Uo("clear"),forEach:Gs(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Xs(i,!1,!1),r[i]=Xs(i,!0,!1),t[i]=Xs(i,!1,!0),o[i]=Xs(i,!0,!0)}),[e,r,t,o]}var[GC,XC,YC,ZC]=KC();function Bc(e,t){let r=t?e?ZC:YC:e?XC:GC;return(o,n,i)=>n==="__v_isReactive"?!e:n==="__v_isReadonly"?e:n==="__v_raw"?o:Reflect.get(ot(r,n)&&n in o?r:o,n,i)}var QC={get:Bc(!1,!1)},JC={get:Bc(!1,!0)},ek={get:Bc(!0,!1)};var Vh=new WeakMap,jh=new WeakMap,Wh=new WeakMap,tk=new WeakMap;function rk(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ok(e){return e.__v_skip||!Object.isExtensible(e)?0:rk(Sc(e))}function so(e){return Xo(e)?e:$c(e,!1,Fh,QC,Vh)}function Mc(e){return $c(e,!1,UC,JC,jh)}function Qo(e){return $c(e,!0,qC,ek,Wh)}function $c(e,t,r,o,n){if(!ht(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;let i=n.get(e);if(i)return i;let a=ok(e);if(a===0)return e;let s=new Proxy(e,a===2?o:r);return n.set(e,s),s}function Jo(e){return Xo(e)?Jo(e.__v_raw):!!(e&&e.__v_isReactive)}function Xo(e){return!!(e&&e.__v_isReadonly)}function ai(e){return!!(e&&e.__v_isShallow)}function Zs(e){return Jo(e)||Xo(e)}function Qe(e){let t=e&&e.__v_raw;return t?Qe(t):e}function An(e){return ni(e,"__v_skip",!0),e}var na=e=>ht(e)?so(e):e,Hc=e=>ht(e)?Qo(e):e;function qh(e){Ko&&Wr&&(e=Qe(e),$h(e.dep||(e.dep=Oc())))}function Uh(e,t){e=Qe(e),e.dep&&Nc(e.dep)}function Bt(e){return!!(e&&e.__v_isRef===!0)}function X(e){return nk(e,!1)}function nk(e,t){return Bt(e)?e:new Ac(e,t)}var Ac=class{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:Qe(t),this._value=r?t:na(t)}get value(){return qh(this),this._value}set value(t){let r=this.__v_isShallow||ai(t)||Xo(t);t=r?t:Qe(t),Tn(t,this._rawValue)&&(this._rawValue=t,this._value=r?t:na(t),Uh(this,t))}};function wr(e){return Bt(e)?e.value:e}var ik={get:(e,t,r)=>wr(Reflect.get(e,t,r)),set:(e,t,r,o)=>{let n=e[t];return Bt(n)&&!Bt(r)?(n.value=r,!0):Reflect.set(e,t,r,o)}};function Qs(e){return Jo(e)?e:new Proxy(e,ik)}var Ic=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 Me(e,t,r){let o=e[t];return Bt(o)?o:new Ic(e,t,r)}var Kh,Lc=class{constructor(t,r,o,n){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this[Kh]=!1,this._dirty=!0,this.effect=new Nn(t,()=>{this._dirty||(this._dirty=!0,Uh(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!n,this.__v_isReadonly=o}get value(){let t=Qe(this);return qh(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}};Kh="__v_isReadonly";function Gh(e,t,r=!1){let o,n,i=qe(e);return i?(o=e,n=yr):(o=e.get,n=e.set),new Lc(o,n,i||!n,r)}var ak;ak="__v_isReadonly";var ia=[];function u0(e,...t){}function sk(){let e=ia[ia.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 lk(e){let t=[];return e.forEach((r,o)=>{t.push(...o===0?[]:[`
|
|
`],...uk(r))}),t}function uk({vnode:e,recurseCount:t}){let r=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,n=` at <${B0(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(...c0(o,e[o]))}),r.length>3&&t.push(" ..."),t}function c0(e,t,r){return Nt(t)?(t=JSON.stringify(t),r?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?r?t:[`${e}=${t}`]:Bt(t)?(t=c0(e,Qe(t.value),!0),r?t:[`${e}=Ref<`,t,">"]):qe(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Qe(t),r?t:[`${e}=`,t])}function To(e,t,r,o){let n;try{n=o?e(...o):e()}catch(i){nl(i,t,r)}return n}function Cr(e,t,r,o){if(qe(e)){let i=To(e,t,r,o);return i&&kc(i)&&i.catch(a=>{nl(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 nl(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){To(l,null,10,[e,a,s]);return}}dk(e,r,n,o)}function dk(e,t,r,o=!0){console.error(e)}var da=!1,jc=!1,tr=[],co=0,si=[],_o=null,Pn=0,d0=Promise.resolve(),Yc=null;function Xt(e){let t=Yc||d0;return e?t.then(this?e.bind(this):e):t}function fk(e){let t=co+1,r=tr.length;for(;t<r;){let o=t+r>>>1;fa(tr[o])<e?t=o+1:r=o}return t}function Zc(e){(!tr.length||!tr.includes(e,da&&e.allowRecurse?co+1:co))&&(e.id==null?tr.push(e):tr.splice(fk(e.id),0,e),f0())}function f0(){!da&&!jc&&(jc=!0,Yc=d0.then(m0))}function pk(e){let t=tr.indexOf(e);t>co&&tr.splice(t,1)}function mk(e){We(e)?si.push(...e):(!_o||!_o.includes(e,e.allowRecurse?Pn+1:Pn))&&si.push(e),f0()}function Xh(e,t=da?co+1:0){for(;t<tr.length;t++){let r=tr[t];r&&r.pre&&(tr.splice(t,1),t--,r())}}function p0(e){if(si.length){let t=[...new Set(si)];if(si.length=0,_o){_o.push(...t);return}for(_o=t,_o.sort((r,o)=>fa(r)-fa(o)),Pn=0;Pn<_o.length;Pn++)_o[Pn]();_o=null,Pn=0}}var fa=e=>e.id==null?1/0:e.id,hk=(e,t)=>{let r=fa(e)-fa(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function m0(e){jc=!1,da=!0,tr.sort(hk);let t=yr;try{for(co=0;co<tr.length;co++){let r=tr[co];r&&r.active!==!1&&To(r,null,14)}}finally{co=0,tr.length=0,p0(e),da=!1,Yc=null,(tr.length||si.length)&&m0(e)}}function gk(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=>Nt(f)?f.trim():f)),d&&(n=r.map(ii))}let s,l=o[s=ea(t)]||o[s=ea(no(t))];!l&&i&&(l=o[s=ea(qo(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 h0(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(!qe(e)){let l=u=>{let c=h0(u,t,!0);c&&(s=!0,Lt(a,c))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!s?(ht(e)&&o.set(e,null),null):(We(i)?i.forEach(l=>a[l]=null):Lt(a,i),ht(e)&&o.set(e,a),a)}function il(e,t){return!e||!oi(t)?!1:(t=t.slice(2).replace(/Once$/,""),ot(e,t[0].toLowerCase()+t.slice(1))||ot(e,qo(t))||ot(e,t))}var rr=null,g0=null;function rl(e){let t=rr;return rr=e,g0=e&&e.type.__scopeId||null,t}function $n(e,t=rr,r){if(!t||e._n)return e;let o=(...n)=>{o._d&&i0(-1);let i=rl(t),a;try{a=e(...n)}finally{rl(i),o._d&&i0(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function zc(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:m,inheritAttrs:b}=e,C,g,T=rl(e);try{if(r.shapeFlag&4){let S=n||o;C=uo(c.call(S,S,d,i,f,p,m)),g=l}else{let S=t;C=uo(S.length>1?S(i,{attrs:l,slots:s,emit:u}):S(i,null)),g=t.props?l:bk(l)}}catch(S){ca.length=0,nl(S,e,1),C=yt(or)}let H=C,w;if(g&&b!==!1){let S=Object.keys(g),{shapeFlag:M}=H;S.length&&M&7&&(a&&S.some(Zi)&&(g=xk(g,a)),H=tn(H,g))}return r.dirs&&(H=tn(H),H.dirs=H.dirs?H.dirs.concat(r.dirs):r.dirs),r.transition&&(H.transition=r.transition),C=H,rl(T),C}var bk=e=>{let t;for(let r in e)(r==="class"||r==="style"||oi(r))&&((t||(t={}))[r]=e[r]);return t},xk=(e,t)=>{let r={};for(let o in e)(!Zi(o)||!(o.slice(9)in t))&&(r[o]=e[o]);return r};function vk(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?Yh(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]&&!il(u,p))return!0}}}else return(n||s)&&(!s||!s.$stable)?!0:o===a?!1:o?a?Yh(o,a,u):!0:!!a;return!1}function Yh(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]&&!il(r,i))return!0}return!1}function yk({vnode:e,parent:t},r){for(;t&&t.subTree===e;)(e=t.vnode).el=r,t=t.parent}var wk=e=>e.__isSuspense;function Ck(e,t){t&&t.pendingBranch?We(e)?t.effects.push(...e):t.effects.push(e):mk(e)}function Yt(e,t){if(Gt){let r=Gt.provides,o=Gt.parent&&Gt.parent.provides;o===r&&(r=Gt.provides=Object.create(o)),r[e]=t}}function _e(e,t,r=!1){let o=Gt||rr;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&&qe(t)?t.call(o.proxy):t}}function $t(e,t){return al(e,null,t)}function b0(e,t){return al(e,null,{flush:"post"})}var Js={};function ct(e,t,r){return al(e,t,r)}function al(e,t,{immediate:r,deep:o,flush:n,onTrack:i,onTrigger:a}=mt){let s=w=>{u0("Invalid watch source: ",w,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},l=Gt,u,c=!1,d=!1;if(Bt(e)?(u=()=>e.value,c=ai(e)):Jo(e)?(u=()=>e,o=!0):We(e)?(d=!0,c=e.some(w=>Jo(w)||ai(w)),u=()=>e.map(w=>{if(Bt(w))return w.value;if(Jo(w))return Bn(w);if(qe(w))return To(w,l,2)})):qe(e)?t?u=()=>To(e,l,2):u=()=>{if(!(l&&l.isUnmounted))return p&&p(),Cr(e,l,3,[f])}:u=yr,t&&o){let w=u;u=()=>Bn(w())}let p,f=w=>{p=T.onStop=()=>{To(w,l,4)}},m;if(ma)if(f=yr,t?r&&Cr(t,l,3,[u(),d?[]:void 0,f]):u(),n==="sync"){let w=d3();m=w.__watcherHandles||(w.__watcherHandles=[])}else return yr;let b=d?new Array(e.length).fill(Js):Js,C=()=>{if(T.active)if(t){let w=T.run();(o||c||(d?w.some((S,M)=>Tn(S,b[M])):Tn(w,b)))&&(p&&p(),Cr(t,l,3,[w,b===Js?void 0:d&&b[0]===Js?[]:b,f]),b=w)}else T.run()};C.allowRecurse=!!t;let g;n==="sync"?g=C:n==="post"?g=()=>mr(C,l&&l.suspense):(C.pre=!0,l&&(C.id=l.uid),g=()=>Zc(C));let T=new Nn(u,g);t?r?C():b=T.run():n==="post"?mr(T.run.bind(T),l&&l.suspense):T.run();let H=()=>{T.stop(),l&&l.scope&&Hs(l.scope.effects,T)};return m&&m.push(H),H}function kk(e,t,r){let o=this.proxy,n=Nt(e)?e.includes(".")?x0(o,e):()=>o[e]:e.bind(o,o),i;qe(t)?i=t:(i=t.handler,r=t);let a=Gt;di(this);let s=al(n,i.bind(o),r);return a?di(a):Mn(),s}function x0(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 Bn(e,t){if(!ht(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Bt(e))Bn(e.value,t);else if(We(e))for(let r=0;r<e.length;r++)Bn(e[r],t);else if(zs(e)||Wo(e))e.forEach(r=>{Bn(r,t)});else if(Ec(e))for(let r in e)Bn(e[r],t);return e}function Qc(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ut(()=>{e.isMounted=!0}),Pt(()=>{e.isUnmounting=!0}),e}var Ir=[Function,Array],Sk={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ir,onEnter:Ir,onAfterEnter:Ir,onEnterCancelled:Ir,onBeforeLeave:Ir,onLeave:Ir,onAfterLeave:Ir,onLeaveCancelled:Ir,onBeforeAppear:Ir,onAppear:Ir,onAfterAppear:Ir,onAppearCancelled:Ir},setup(e,{slots:t}){let r=Or(),o=Qc(),n;return()=>{let i=t.default&&sl(t.default(),!0);if(!i||!i.length)return;let a=i[0];if(i.length>1){let b=!1;for(let C of i)if(C.type!==or){a=C,b=!0;break}}let s=Qe(e),{mode:l}=s;if(o.isLeaving)return Fc(a);let u=Zh(a);if(!u)return Fc(a);let c=li(u,s,o,r);ui(u,c);let d=r.subTree,p=d&&Zh(d),f=!1,{getTransitionKey:m}=u.type;if(m){let b=m();n===void 0?n=b:b!==n&&(n=b,f=!0)}if(p&&p.type!==or&&(!Rn(u,p)||f)){let b=li(p,s,o,r);if(ui(p,b),l==="out-in")return o.isLeaving=!0,b.afterLeave=()=>{o.isLeaving=!1,r.update.active!==!1&&r.update()},Fc(a);l==="in-out"&&u.type!==or&&(b.delayLeave=(C,g,T)=>{let H=v0(o,p);H[String(p.key)]=p,C._leaveCb=()=>{g(),C._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=T})}return a}}},Jc=Sk;function v0(e,t){let{leavingVNodes:r}=e,o=r.get(t.type);return o||(o=Object.create(null),r.set(t.type,o)),o}function li(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:m,onBeforeAppear:b,onAppear:C,onAfterAppear:g,onAppearCancelled:T}=t,H=String(e.key),w=v0(r,e),S=(E,P)=>{E&&Cr(E,o,9,P)},M=(E,P)=>{let N=P[1];S(E,P),We(E)?E.every(j=>j.length<=1)&&N():E.length<=1&&N()},x={mode:i,persisted:a,beforeEnter(E){let P=s;if(!r.isMounted)if(n)P=b||s;else return;E._leaveCb&&E._leaveCb(!0);let N=w[H];N&&Rn(e,N)&&N.el._leaveCb&&N.el._leaveCb(),S(P,[E])},enter(E){let P=l,N=u,j=c;if(!r.isMounted)if(n)P=C||l,N=g||u,j=T||c;else return;let R=!1,$=E._enterCb=oe=>{R||(R=!0,oe?S(j,[E]):S(N,[E]),x.delayedLeave&&x.delayedLeave(),E._enterCb=void 0)};P?M(P,[E,$]):$()},leave(E,P){let N=String(e.key);if(E._enterCb&&E._enterCb(!0),r.isUnmounting)return P();S(d,[E]);let j=!1,R=E._leaveCb=$=>{j||(j=!0,P(),$?S(m,[E]):S(f,[E]),E._leaveCb=void 0,w[N]===e&&delete w[N])};w[N]=e,p?M(p,[E,R]):R()},clone(E){return li(E,t,r,o)}};return x}function Fc(e){if(ll(e))return e=tn(e),e.children=null,e}function Zh(e){return ll(e)?e.children?e.children[0]:void 0:e}function ui(e,t){e.shapeFlag&6&&e.component?ui(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 sl(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===Ot?(a.patchFlag&128&&n++,o=o.concat(sl(a.children,t,s))):(t||a.type!==or)&&o.push(s!=null?tn(a,{key:s}):a)}if(n>1)for(let i=0;i<o.length;i++)o[i].patchFlag=-2;return o}function fe(e){return qe(e)?{setup:e,name:e.name}:e}var aa=e=>!!e.type.__asyncLoader;var ll=e=>e.type.__isKeepAlive;function ed(e,t){y0(e,"a",t)}function td(e,t){y0(e,"da",t)}function y0(e,t,r=Gt){let o=e.__wdc||(e.__wdc=()=>{let n=r;for(;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(ul(t,o,r),r){let n=r.parent;for(;n&&n.parent;)ll(n.parent.vnode)&&Ek(o,t,r,n),n=n.parent}}function Ek(e,t,r,o){let n=ul(t,e,o,!0);Hn(()=>{Hs(o[t],n)},r)}function ul(e,t,r=Gt,o=!1){if(r){let n=r[e]||(r[e]=[]),i=t.__weh||(t.__weh=(...a)=>{if(r.isUnmounted)return;Yo(),di(r);let s=Cr(t,r,e,a);return Mn(),Zo(),s});return o?n.unshift(i):n.push(i),i}}var Do=e=>(t,r=Gt)=>(!ma||e==="sp")&&ul(e,(...o)=>t(...o),r),No=Do("bm"),ut=Do("m"),rd=Do("bu"),od=Do("u"),Pt=Do("bum"),Hn=Do("um"),_k=Do("sp"),Tk=Do("rtg"),Dk=Do("rtc");function Nk(e,t=Gt){ul("ec",e,t)}function cl(e,t){let r=rr;if(r===null)return e;let o=ml(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&&(qe(a)&&(a={mounted:a,updated:a}),a.deep&&Bn(s),n.push({dir:a,instance:o,value:s,oldValue:void 0,arg:l,modifiers:u}))}return e}function In(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&&(Yo(),Cr(l,r,8,[e.el,s,e,t]),Zo())}}var Ak=Symbol();function fi(e,t,r={},o,n){if(rr.isCE||rr.parent&&aa(rr.parent)&&rr.parent.isCE)return t!=="default"&&(r.name=t),yt("slot",r,o&&o());let i=e[t];i&&i._c&&(i._d=!1),nr();let a=i&&w0(i(r)),s=ha(Ot,{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 w0(e){return e.some(t=>ci(t)?!(t.type===or||t.type===Ot&&!w0(t.children)):!0)?e:null}var Wc=e=>e?P0(e)?ml(e)||e.proxy:Wc(e.parent):null,sa=Lt(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=>Wc(e.parent),$root:e=>Wc(e.root),$emit:e=>e.emit,$options:e=>nd(e),$forceUpdate:e=>e.f||(e.f=()=>Zc(e.update)),$nextTick:e=>e.n||(e.n=Xt.bind(e.proxy)),$watch:e=>kk.bind(e)});var Vc=(e,t)=>e!==mt&&!e.__isScriptSetup&&ot(e,t),Ik={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(Vc(o,t))return a[t]=1,o[t];if(n!==mt&&ot(n,t))return a[t]=2,n[t];if((u=e.propsOptions[0])&&ot(u,t))return a[t]=3,i[t];if(r!==mt&&ot(r,t))return a[t]=4,r[t];qc&&(a[t]=0)}}let c=sa[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&&ot(r,t))return a[t]=4,r[t];if(p=l.config.globalProperties,ot(p,t))return p[t]},set({_:e},t,r){let{data:o,setupState:n,ctx:i}=e;return Vc(n,t)?(n[t]=r,!0):o!==mt&&ot(o,t)?(o[t]=r,!0):ot(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&&ot(e,a)||Vc(t,a)||(s=i[0])&&ot(s,a)||ot(o,a)||ot(sa,a)||ot(n.config.globalProperties,a)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:ot(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};var qc=!0;function Lk(e){let t=nd(e),r=e.proxy,o=e.ctx;qc=!1,t.beforeCreate&&Qh(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:m,activated:b,deactivated:C,beforeDestroy:g,beforeUnmount:T,destroyed:H,unmounted:w,render:S,renderTracked:M,renderTriggered:x,errorCaptured:E,serverPrefetch:P,expose:N,inheritAttrs:j,components:R,directives:$,filters:oe}=t;if(u&&Ok(u,o,null,e.appContext.config.unwrapInjectedRef),a)for(let se in a){let me=a[se];qe(me)&&(o[se]=me.bind(r))}if(n){let se=n.call(r,r);ht(se)&&(e.data=so(se))}if(qc=!0,i)for(let se in i){let me=i[se],De=qe(me)?me.bind(r,r):qe(me.get)?me.get.bind(r,r):yr,$e=!qe(me)&&qe(me.set)?me.set.bind(r):yr,Fe=V({get:De,set:$e});Object.defineProperty(o,se,{enumerable:!0,configurable:!0,get:()=>Fe.value,set:Xe=>Fe.value=Xe})}if(s)for(let se in s)C0(s[se],o,r,se);if(l){let se=qe(l)?l.call(r):l;Reflect.ownKeys(se).forEach(me=>{Yt(me,se[me])})}c&&Qh(c,e,"c");function ce(se,me){We(me)?me.forEach(De=>se(De.bind(r))):me&&se(me.bind(r))}if(ce(No,d),ce(ut,p),ce(rd,f),ce(od,m),ce(ed,b),ce(td,C),ce(Nk,E),ce(Dk,M),ce(Tk,x),ce(Pt,T),ce(Hn,w),ce(_k,P),We(N))if(N.length){let se=e.exposed||(e.exposed={});N.forEach(me=>{Object.defineProperty(se,me,{get:()=>r[me],set:De=>r[me]=De})})}else e.exposed||(e.exposed={});S&&e.render===yr&&(e.render=S),j!=null&&(e.inheritAttrs=j),R&&(e.components=R),$&&(e.directives=$)}function Ok(e,t,r=yr,o=!1){We(e)&&(e=Uc(e));for(let n in e){let i=e[n],a;ht(i)?"default"in i?a=_e(i.from||n,i.default,!0):a=_e(i.from||n):a=_e(i),Bt(a)&&o?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>a.value,set:s=>a.value=s}):t[n]=a}}function Qh(e,t,r){Cr(We(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,r)}function C0(e,t,r,o){let n=o.includes(".")?x0(r,o):()=>r[o];if(Nt(e)){let i=t[e];qe(i)&&ct(n,i)}else if(qe(e))ct(n,e.bind(r));else if(ht(e))if(We(e))e.forEach(i=>C0(i,t,r,o));else{let i=qe(e.handler)?e.handler.bind(r):t[e.handler];qe(i)&&ct(n,i,e)}}function nd(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=>ol(l,u,a,!0)),ol(l,t,a)),ht(t)&&i.set(t,l),l}function ol(e,t,r,o=!1){let{mixins:n,extends:i}=t;i&&ol(e,i,r,!0),n&&n.forEach(a=>ol(e,a,r,!0));for(let a in t)if(!(o&&a==="expose")){let s=Pk[a]||r&&r[a];e[a]=s?s(e[a],t[a]):t[a]}return e}var Pk={data:Jh,props:On,emits:On,methods:On,computed:On,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:On,directives:On,watch:Bk,provide:Jh,inject:Rk};function Jh(e,t){return t?e?function(){return Lt(qe(e)?e.call(this,this):e,qe(t)?t.call(this,this):t)}:t:e}function Rk(e,t){return On(Uc(e),Uc(t))}function Uc(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 On(e,t){return e?Lt(Lt(Object.create(null),e),t):t}function Bk(e,t){if(!e)return t;if(!t)return e;let r=Lt(Object.create(null),e);for(let o in t)r[o]=ur(e[o],t[o]);return r}function Mk(e,t,r,o=!1){let n={},i={};ni(i,fl,1),e.propsDefaults=Object.create(null),k0(e,t,n,i);for(let a in e.propsOptions[0])a in n||(n[a]=void 0);r?e.props=o?n:Mc(n):e.type.props?e.props=n:e.props=i,e.attrs=i}function $k(e,t,r,o){let{props:n,attrs:i,vnode:{patchFlag:a}}=e,s=Qe(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(il(e.emitsOptions,p))continue;let f=t[p];if(l)if(ot(i,p))f!==i[p]&&(i[p]=f,u=!0);else{let m=no(p);n[m]=Kc(l,s,m,f,e,!1)}else f!==i[p]&&(i[p]=f,u=!0)}}}else{k0(e,t,n,i)&&(u=!0);let c;for(let d in s)(!t||!ot(t,d)&&((c=qo(d))===d||!ot(t,c)))&&(l?r&&(r[d]!==void 0||r[c]!==void 0)&&(n[d]=Kc(l,s,d,void 0,e,!0)):delete n[d]);if(i!==s)for(let d in i)(!t||!ot(t,d))&&(delete i[d],u=!0)}u&&ao(e,"set","$attrs")}function k0(e,t,r,o){let[n,i]=e.propsOptions,a=!1,s;if(t)for(let l in t){if(Qi(l))continue;let u=t[l],c;n&&ot(n,c=no(l))?!i||!i.includes(c)?r[c]=u:(s||(s={}))[c]=u:il(e.emitsOptions,l)||(!(l in o)||u!==o[l])&&(o[l]=u,a=!0)}if(i){let l=Qe(r),u=s||mt;for(let c=0;c<i.length;c++){let d=i[c];r[d]=Kc(n,l,d,u[d],e,!ot(u,d))}}return a}function Kc(e,t,r,o,n,i){let a=e[r];if(a!=null){let s=ot(a,"default");if(s&&o===void 0){let l=a.default;if(a.type!==Function&&qe(l)){let{propsDefaults:u}=n;r in u?o=u[r]:(di(n),o=u[r]=l.call(null,t),Mn())}else o=l}a[0]&&(i&&!s?o=!1:a[1]&&(o===""||o===qo(r))&&(o=!0))}return o}function S0(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(!qe(e)){let c=d=>{l=!0;let[p,f]=S0(d,t,!0);Lt(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 ht(e)&&o.set(e,_n),_n;if(We(i))for(let c=0;c<i.length;c++){let d=no(i[c]);e0(d)&&(a[d]=mt)}else if(i)for(let c in i){let d=no(c);if(e0(d)){let p=i[c],f=a[d]=We(p)||qe(p)?{type:p}:Object.assign({},p);if(f){let m=o0(Boolean,f.type),b=o0(String,f.type);f[0]=m>-1,f[1]=b<0||m<b,(m>-1||ot(f,"default"))&&s.push(d)}}}let u=[a,s];return ht(e)&&o.set(e,u),u}function e0(e){return e[0]!=="$"}function t0(e){let t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function r0(e,t){return t0(e)===t0(t)}function o0(e,t){return We(t)?t.findIndex(r=>r0(r,e)):qe(t)&&r0(t,e)?0:-1}var E0=e=>e[0]==="_"||e==="$stable",id=e=>We(e)?e.map(uo):[uo(e)],Hk=(e,t,r)=>{if(t._n)return t;let o=$n((...n)=>id(t(...n)),r);return o._c=!1,o},_0=(e,t,r)=>{let o=e._ctx;for(let n in e){if(E0(n))continue;let i=e[n];if(qe(i))t[n]=Hk(n,i,o);else if(i!=null){let a=id(i);t[n]=()=>a}}},T0=(e,t)=>{let r=id(t);e.slots.default=()=>r},zk=(e,t)=>{if(e.vnode.shapeFlag&32){let r=t._;r?(e.slots=Qe(t),ni(t,"_",r)):_0(t,e.slots={})}else e.slots={},t&&T0(e,t);ni(e.slots,fl,1)},Fk=(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:(Lt(n,t),!r&&s===1&&delete n._):(i=!t.$stable,_0(t,n)),a=t}else t&&(T0(e,t),a={default:1});if(i)for(let s in n)!E0(s)&&!(s in a)&&delete n[s]};function D0(){return{app:null,config:{isNativeTag:Eh,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 Vk=0;function jk(e,t){return function(o,n=null){qe(o)||(o=Object.assign({},o)),n!=null&&!ht(n)&&(n=null);let i=D0(),a=new Set,s=!1,l=i.app={_uid:Vk++,_component:o,_props:n,_container:null,_context:i,_instance:null,version:f3,get config(){return i.config},set config(u){},use(u,...c){return a.has(u)||(u&&qe(u.install)?(a.add(u),u.install(l,...c)):qe(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,ml(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 Gc(e,t,r,o,n=!1){if(We(e)){e.forEach((p,f)=>Gc(p,t&&(We(t)?t[f]:t),r,o,n));return}if(aa(o)&&!n)return;let i=o.shapeFlag&4?ml(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&&(Nt(u)?(c[u]=null,ot(d,u)&&(d[u]=null)):Bt(u)&&(u.value=null)),qe(l))To(l,s,12,[a,c]);else{let p=Nt(l),f=Bt(l);if(p||f){let m=()=>{if(e.f){let b=p?ot(d,l)?d[l]:c[l]:l.value;n?We(b)&&Hs(b,i):We(b)?b.includes(i)||b.push(i):p?(c[l]=[i],ot(d,l)&&(d[l]=c[l])):(l.value=[i],e.k&&(c[e.k]=l.value))}else p?(c[l]=a,ot(d,l)&&(d[l]=a)):f&&(l.value=a,e.k&&(c[e.k]=a))};a?(m.id=-1,mr(m,r)):m()}}}function Wk(){let e=[]}var mr=Ck;function N0(e){return qk(e)}function qk(e,t){Wk();let r=Th();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:m}=e,b=(h,y,B,G=null,U=null,ae=null,ne=!1,z=null,Q=!!y.dynamicChildren)=>{if(h===y)return;h&&!Rn(h,y)&&(G=vt(h),Ve(h,U,ae,!0),h=null),y.patchFlag===-2&&(Q=!1,y.dynamicChildren=null);let{type:Y,ref:D,shapeFlag:O}=y;switch(Y){case dl:C(h,y,B,G);break;case or:g(h,y,B,G);break;case ua:h==null&&T(y,B,G,ne);break;case Ot:$(h,y,B,G,U,ae,ne,z,Q);break;default:O&1?M(h,y,B,G,U,ae,ne,z,Q):O&6?oe(h,y,B,G,U,ae,ne,z,Q):(O&64||O&128)&&Y.process(h,y,B,G,U,ae,ne,z,Q,pt)}D!=null&&U&&Gc(D,h&&h.ref,ae,y||h,!y)},C=(h,y,B,G)=>{if(h==null)o(y.el=s(y.children),B,G);else{let U=y.el=h.el;y.children!==h.children&&u(U,y.children)}},g=(h,y,B,G)=>{h==null?o(y.el=l(y.children||""),B,G):y.el=h.el},T=(h,y,B,G)=>{[h.el,h.anchor]=m(h.children,y,B,G,h.el,h.anchor)},H=(h,y,B,G)=>{if(y.children!==h.children){let U=p(h.anchor);S(h),[y.el,y.anchor]=m(y.children,B,U,G)}else y.el=h.el,y.anchor=h.anchor},w=({el:h,anchor:y},B,G)=>{let U;for(;h&&h!==y;)U=p(h),o(h,B,G),h=U;o(y,B,G)},S=({el:h,anchor:y})=>{let B;for(;h&&h!==y;)B=p(h),n(h),h=B;n(y)},M=(h,y,B,G,U,ae,ne,z,Q)=>{ne=ne||y.type==="svg",h==null?x(y,B,G,U,ae,ne,z,Q):N(h,y,U,ae,ne,z,Q)},x=(h,y,B,G,U,ae,ne,z)=>{let Q,Y,{type:D,props:O,shapeFlag:F,transition:le,dirs:ge}=h;if(Q=h.el=a(h.type,ae,O&&O.is,O),F&8?c(Q,h.children):F&16&&P(h.children,Q,null,G,U,ae&&D!=="foreignObject",ne,z),ge&&In(h,null,G,"created"),O){for(let Ne in O)Ne!=="value"&&!Qi(Ne)&&i(Q,Ne,null,O[Ne],ae,h.children,G,U,Ze);"value"in O&&i(Q,"value",null,O.value),(Y=O.onVnodeBeforeMount)&&lo(Y,G,h)}E(Q,h,h.scopeId,ne,G),ge&&In(h,null,G,"beforeMount");let Le=(!U||U&&!U.pendingBranch)&&le&&!le.persisted;Le&&le.beforeEnter(Q),o(Q,y,B),((Y=O&&O.onVnodeMounted)||Le||ge)&&mr(()=>{Y&&lo(Y,G,h),Le&&le.enter(Q),ge&&In(h,null,G,"mounted")},U)},E=(h,y,B,G,U)=>{if(B&&f(h,B),G)for(let ae=0;ae<G.length;ae++)f(h,G[ae]);if(U){let ae=U.subTree;if(y===ae){let ne=U.vnode;E(h,ne,ne.scopeId,ne.slotScopeIds,U.parent)}}},P=(h,y,B,G,U,ae,ne,z,Q=0)=>{for(let Y=Q;Y<h.length;Y++){let D=h[Y]=z?en(h[Y]):uo(h[Y]);b(null,D,y,B,G,U,ae,ne,z)}},N=(h,y,B,G,U,ae,ne)=>{let z=y.el=h.el,{patchFlag:Q,dynamicChildren:Y,dirs:D}=y;Q|=h.patchFlag&16;let O=h.props||mt,F=y.props||mt,le;B&&Ln(B,!1),(le=F.onVnodeBeforeUpdate)&&lo(le,B,y,h),D&&In(y,h,B,"beforeUpdate"),B&&Ln(B,!0);let ge=U&&y.type!=="foreignObject";if(Y?j(h.dynamicChildren,Y,z,B,G,ge,ae):ne||De(h,y,z,null,B,G,ge,ae,!1),Q>0){if(Q&16)R(z,y,O,F,B,G,U);else if(Q&2&&O.class!==F.class&&i(z,"class",null,F.class,U),Q&4&&i(z,"style",O.style,F.style,U),Q&8){let Le=y.dynamicProps;for(let Ne=0;Ne<Le.length;Ne++){let je=Le[Ne],W=O[je],ue=F[je];(ue!==W||je==="value")&&i(z,je,W,ue,U,h.children,B,G,Ze)}}Q&1&&h.children!==y.children&&c(z,y.children)}else!ne&&Y==null&&R(z,y,O,F,B,G,U);((le=F.onVnodeUpdated)||D)&&mr(()=>{le&&lo(le,B,y,h),D&&In(y,h,B,"updated")},G)},j=(h,y,B,G,U,ae,ne)=>{for(let z=0;z<y.length;z++){let Q=h[z],Y=y[z],D=Q.el&&(Q.type===Ot||!Rn(Q,Y)||Q.shapeFlag&70)?d(Q.el):B;b(Q,Y,D,null,G,U,ae,ne,!0)}},R=(h,y,B,G,U,ae,ne)=>{if(B!==G){if(B!==mt)for(let z in B)!Qi(z)&&!(z in G)&&i(h,z,B[z],null,ne,y.children,U,ae,Ze);for(let z in G){if(Qi(z))continue;let Q=G[z],Y=B[z];Q!==Y&&z!=="value"&&i(h,z,Y,Q,ne,y.children,U,ae,Ze)}"value"in G&&i(h,"value",B.value,G.value)}},$=(h,y,B,G,U,ae,ne,z,Q)=>{let Y=y.el=h?h.el:s(""),D=y.anchor=h?h.anchor:s(""),{patchFlag:O,dynamicChildren:F,slotScopeIds:le}=y;le&&(z=z?z.concat(le):le),h==null?(o(Y,B,G),o(D,B,G),P(y.children,B,D,U,ae,ne,z,Q)):O>0&&O&64&&F&&h.dynamicChildren?(j(h.dynamicChildren,F,B,U,ae,ne,z),(y.key!=null||U&&y===U.subTree)&&ad(h,y,!0)):De(h,y,B,D,U,ae,ne,z,Q)},oe=(h,y,B,G,U,ae,ne,z,Q)=>{y.slotScopeIds=z,h==null?y.shapeFlag&512?U.ctx.activate(y,B,G,ne,Q):he(y,B,G,U,ae,ne,Q):ce(h,y,Q)},he=(h,y,B,G,U,ae,ne)=>{let z=h.component=t3(h,G,U);if(ll(h)&&(z.ctx.renderer=pt),r3(z),z.asyncDep){if(U&&U.registerDep(z,se),!h.el){let Q=z.subTree=yt(or);g(null,Q,y,B)}return}se(z,h,y,B,U,ae,ne)},ce=(h,y,B)=>{let G=y.component=h.component;if(vk(h,y,B))if(G.asyncDep&&!G.asyncResolved){me(G,y,B);return}else G.next=y,pk(G.update),G.update();else y.el=h.el,G.vnode=y},se=(h,y,B,G,U,ae,ne)=>{let z=()=>{if(h.isMounted){let{next:D,bu:O,u:F,parent:le,vnode:ge}=h,Le=D,Ne;Ln(h,!1),D?(D.el=ge.el,me(h,D,ne)):D=ge,O&&ta(O),(Ne=D.props&&D.props.onVnodeBeforeUpdate)&&lo(Ne,le,D,ge),Ln(h,!0);let je=zc(h),W=h.subTree;h.subTree=je,b(W,je,d(W.el),vt(W),h,U,ae),D.el=je.el,Le===null&&yk(h,je.el),F&&mr(F,U),(Ne=D.props&&D.props.onVnodeUpdated)&&mr(()=>lo(Ne,le,D,ge),U)}else{let D,{el:O,props:F}=y,{bm:le,m:ge,parent:Le}=h,Ne=aa(y);if(Ln(h,!1),le&&ta(le),!Ne&&(D=F&&F.onVnodeBeforeMount)&&lo(D,Le,y),Ln(h,!0),O&&zt){let je=()=>{h.subTree=zc(h),zt(O,h.subTree,h,U,null)};Ne?y.type.__asyncLoader().then(()=>!h.isUnmounted&&je()):je()}else{let je=h.subTree=zc(h);b(null,je,B,G,h,U,ae),y.el=je.el}if(ge&&mr(ge,U),!Ne&&(D=F&&F.onVnodeMounted)){let je=y;mr(()=>lo(D,Le,je),U)}(y.shapeFlag&256||Le&&aa(Le.vnode)&&Le.vnode.shapeFlag&256)&&h.a&&mr(h.a,U),h.isMounted=!0,y=B=G=null}},Q=h.effect=new Nn(z,()=>Zc(Y),h.scope),Y=h.update=()=>Q.run();Y.id=h.uid,Ln(h,!0),Y()},me=(h,y,B)=>{y.component=h;let G=h.vnode.props;h.vnode=y,h.next=null,$k(h,y.props,G,B),Fk(h,y.children,B),Yo(),Xh(),Zo()},De=(h,y,B,G,U,ae,ne,z,Q=!1)=>{let Y=h&&h.children,D=h?h.shapeFlag:0,O=y.children,{patchFlag:F,shapeFlag:le}=y;if(F>0){if(F&128){Fe(Y,O,B,G,U,ae,ne,z,Q);return}else if(F&256){$e(Y,O,B,G,U,ae,ne,z,Q);return}}le&8?(D&16&&Ze(Y,U,ae),O!==Y&&c(B,O)):D&16?le&16?Fe(Y,O,B,G,U,ae,ne,z,Q):Ze(Y,U,ae,!0):(D&8&&c(B,""),le&16&&P(O,B,G,U,ae,ne,z,Q))},$e=(h,y,B,G,U,ae,ne,z,Q)=>{h=h||_n,y=y||_n;let Y=h.length,D=y.length,O=Math.min(Y,D),F;for(F=0;F<O;F++){let le=y[F]=Q?en(y[F]):uo(y[F]);b(h[F],le,B,null,U,ae,ne,z,Q)}Y>D?Ze(h,U,ae,!0,!1,O):P(y,B,G,U,ae,ne,z,Q,O)},Fe=(h,y,B,G,U,ae,ne,z,Q)=>{let Y=0,D=y.length,O=h.length-1,F=D-1;for(;Y<=O&&Y<=F;){let le=h[Y],ge=y[Y]=Q?en(y[Y]):uo(y[Y]);if(Rn(le,ge))b(le,ge,B,null,U,ae,ne,z,Q);else break;Y++}for(;Y<=O&&Y<=F;){let le=h[O],ge=y[F]=Q?en(y[F]):uo(y[F]);if(Rn(le,ge))b(le,ge,B,null,U,ae,ne,z,Q);else break;O--,F--}if(Y>O){if(Y<=F){let le=F+1,ge=le<D?y[le].el:G;for(;Y<=F;)b(null,y[Y]=Q?en(y[Y]):uo(y[Y]),B,ge,U,ae,ne,z,Q),Y++}}else if(Y>F)for(;Y<=O;)Ve(h[Y],U,ae,!0),Y++;else{let le=Y,ge=Y,Le=new Map;for(Y=ge;Y<=F;Y++){let et=y[Y]=Q?en(y[Y]):uo(y[Y]);et.key!=null&&Le.set(et.key,Y)}let Ne,je=0,W=F-ge+1,ue=!1,Ee=0,Ke=new Array(W);for(Y=0;Y<W;Y++)Ke[Y]=0;for(Y=le;Y<=O;Y++){let et=h[Y];if(je>=W){Ve(et,U,ae,!0);continue}let lt;if(et.key!=null)lt=Le.get(et.key);else for(Ne=ge;Ne<=F;Ne++)if(Ke[Ne-ge]===0&&Rn(et,y[Ne])){lt=Ne;break}lt===void 0?Ve(et,U,ae,!0):(Ke[lt-ge]=Y+1,lt>=Ee?Ee=lt:ue=!0,b(et,y[lt],B,null,U,ae,ne,z,Q),je++)}let st=ue?Uk(Ke):_n;for(Ne=st.length-1,Y=W-1;Y>=0;Y--){let et=ge+Y,lt=y[et],Je=et+1<D?y[et+1].el:G;Ke[Y]===0?b(null,lt,B,Je,U,ae,ne,z,Q):ue&&(Ne<0||Y!==st[Ne]?Xe(lt,B,Je,2):Ne--)}}},Xe=(h,y,B,G,U=null)=>{let{el:ae,type:ne,transition:z,children:Q,shapeFlag:Y}=h;if(Y&6){Xe(h.component.subTree,y,B,G);return}if(Y&128){h.suspense.move(y,B,G);return}if(Y&64){ne.move(h,y,B,pt);return}if(ne===Ot){o(ae,y,B);for(let O=0;O<Q.length;O++)Xe(Q[O],y,B,G);o(h.anchor,y,B);return}if(ne===ua){w(h,y,B);return}if(G!==2&&Y&1&&z)if(G===0)z.beforeEnter(ae),o(ae,y,B),mr(()=>z.enter(ae),U);else{let{leave:O,delayLeave:F,afterLeave:le}=z,ge=()=>o(ae,y,B),Le=()=>{O(ae,()=>{ge(),le&&le()})};F?F(ae,ge,Le):Le()}else o(ae,y,B)},Ve=(h,y,B,G=!1,U=!1)=>{let{type:ae,props:ne,ref:z,children:Q,dynamicChildren:Y,shapeFlag:D,patchFlag:O,dirs:F}=h;if(z!=null&&Gc(z,null,B,h,!0),D&256){y.ctx.deactivate(h);return}let le=D&1&&F,ge=!aa(h),Le;if(ge&&(Le=ne&&ne.onVnodeBeforeUnmount)&&lo(Le,y,h),D&6)Ye(h.component,B,G);else{if(D&128){h.suspense.unmount(B,G);return}le&&In(h,null,y,"beforeUnmount"),D&64?h.type.remove(h,y,B,U,pt,G):Y&&(ae!==Ot||O>0&&O&64)?Ze(Y,y,B,!1,!0):(ae===Ot&&O&384||!U&&D&16)&&Ze(Q,y,B),G&&rt(h)}(ge&&(Le=ne&&ne.onVnodeUnmounted)||le)&&mr(()=>{Le&&lo(Le,y,h),le&&In(h,null,y,"unmounted")},B)},rt=h=>{let{type:y,el:B,anchor:G,transition:U}=h;if(y===Ot){St(B,G);return}if(y===ua){S(h);return}let ae=()=>{n(B),U&&!U.persisted&&U.afterLeave&&U.afterLeave()};if(h.shapeFlag&1&&U&&!U.persisted){let{leave:ne,delayLeave:z}=U,Q=()=>ne(B,ae);z?z(h.el,ae,Q):Q()}else ae()},St=(h,y)=>{let B;for(;h!==y;)B=p(h),n(h),h=B;n(y)},Ye=(h,y,B)=>{let{bum:G,scope:U,update:ae,subTree:ne,um:z}=h;G&&ta(G),U.stop(),ae&&(ae.active=!1,Ve(ne,h,y,B)),z&&mr(z,y),mr(()=>{h.isUnmounted=!0},y),y&&y.pendingBranch&&!y.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===y.pendingId&&(y.deps--,y.deps===0&&y.resolve())},Ze=(h,y,B,G=!1,U=!1,ae=0)=>{for(let ne=ae;ne<h.length;ne++)Ve(h[ne],y,B,G,U)},vt=h=>h.shapeFlag&6?vt(h.component.subTree):h.shapeFlag&128?h.suspense.next():p(h.anchor||h.el),ze=(h,y,B)=>{h==null?y._vnode&&Ve(y._vnode,null,null,!0):b(y._vnode||null,h,y,null,null,null,B),Xh(),p0(),y._vnode=h},pt={p:b,um:Ve,m:Xe,r:rt,mt:he,mc:P,pc:De,pbc:j,n:vt,o:e},It,zt;return t&&([It,zt]=t(pt)),{render:ze,hydrate:It,createApp:jk(ze,It)}}function Ln({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function ad(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]=en(n[i]),s.el=a.el),r||ad(a,s)),s.type===dl&&(s.el=a.el)}}function Uk(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 Kk=e=>e.__isTeleport,la=e=>e&&(e.disabled||e.disabled===""),n0=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Xc=(e,t)=>{let r=e&&e.to;if(Nt(r))if(t){let o=t(r);return o}else return null;else return r},Gk={__isTeleport:!0,process(e,t,r,o,n,i,a,s,l,u){let{mc:c,pc:d,pbc:p,o:{insert:f,querySelector:m,createText:b,createComment:C}}=u,g=la(t.props),{shapeFlag:T,children:H,dynamicChildren:w}=t;if(e==null){let S=t.el=b(""),M=t.anchor=b("");f(S,r,o),f(M,r,o);let x=t.target=Xc(t.props,m),E=t.targetAnchor=b("");x&&(f(E,x),a=a||n0(x));let P=(N,j)=>{T&16&&c(H,N,j,n,i,a,s,l)};g?P(r,M):x&&P(x,E)}else{t.el=e.el;let S=t.anchor=e.anchor,M=t.target=e.target,x=t.targetAnchor=e.targetAnchor,E=la(e.props),P=E?r:M,N=E?S:x;if(a=a||n0(M),w?(p(e.dynamicChildren,w,P,n,i,a,s),ad(e,t,!0)):l||d(e,t,P,N,n,i,a,s,!1),g)E||el(t,r,S,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let j=t.target=Xc(t.props,m);j&&el(t,j,null,u,0)}else E&&el(t,M,x,u,1)}I0(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||!la(p))&&(i(u),s&16))for(let f=0;f<l.length;f++){let m=l[f];n(m,t,r,!0,!!m.dynamicChildren)}},move:el,hydrate:Xk};function el(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||la(c))&&l&16)for(let p=0;p<u.length;p++)n(u[p],t,r,2);d&&o(s,t,r)}function Xk(e,t,r,o,n,i,{o:{nextSibling:a,parentNode:s,querySelector:l}},u){let c=t.target=Xc(t.props,l);if(c){let d=c._lpa||c.firstChild;if(t.shapeFlag&16)if(la(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)}I0(t)}return t.anchor&&a(t.anchor)}var A0=Gk;function I0(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 Ot=Symbol(void 0),dl=Symbol(void 0),or=Symbol(void 0),ua=Symbol(void 0),ca=[],qr=null;function nr(e=!1){ca.push(qr=e?null:[])}function Yk(){ca.pop(),qr=ca[ca.length-1]||null}var pa=1;function i0(e){pa+=e}function L0(e){return e.dynamicChildren=pa>0?qr||_n:null,Yk(),pa>0&&qr&&qr.push(e),e}function Lr(e,t,r,o,n,i){return L0(rn(e,t,r,o,n,i,!0))}function ha(e,t,r,o,n){return L0(yt(e,t,r,o,n,!0))}function ci(e){return e?e.__v_isVNode===!0:!1}function Rn(e,t){return e.type===t.type&&e.key===t.key}var fl="__vInternal",O0=({key:e})=>e??null,tl=({ref:e,ref_key:t,ref_for:r})=>e!=null?Nt(e)||Bt(e)||qe(e)?{i:rr,r:e,k:t,f:!!r}:e:null;function rn(e,t=null,r=null,o=0,n=null,i=e===Ot?0:1,a=!1,s=!1){let l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&O0(t),ref:t&&tl(t),scopeId:g0,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:rr};return s?(sd(l,r),i&128&&e.normalize(l)):r&&(l.shapeFlag|=Nt(r)?8:16),pa>0&&!a&&qr&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&qr.push(l),l}var yt=Zk;function Zk(e,t=null,r=null,o=0,n=null,i=!1){if((!e||e===Ak)&&(e=or),ci(e)){let s=tn(e,t,!0);return r&&sd(s,r),pa>0&&!i&&qr&&(s.shapeFlag&6?qr[qr.indexOf(e)]=s:qr.push(s)),s.patchFlag|=-2,s}if(u3(e)&&(e=e.__vccOpts),t){t=Qk(t);let{class:s,style:l}=t;s&&!Nt(s)&&(t.class=En(s)),ht(l)&&(Zs(l)&&!We(l)&&(l=Lt({},l)),t.style=jo(l))}let a=Nt(e)?1:wk(e)?128:Kk(e)?64:ht(e)?4:qe(e)?2:0;return rn(e,t,r,o,n,a,i,!0)}function Qk(e){return e?Zs(e)||fl in e?Lt({},e):e:null}function tn(e,t,r=!1){let{props:o,ref:n,patchFlag:i,children:a}=e,s=t?ga(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&O0(s),ref:t&&t.ref?r&&n?We(n)?n.concat(tl(t)):[n,tl(t)]:tl(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!==Ot?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&&tn(e.ssContent),ssFallback:e.ssFallback&&tn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx}}function pi(e=" ",t=0){return yt(dl,null,e,t)}function pl(e="",t=!1){return t?(nr(),ha(or,null,e)):yt(or,null,e)}function uo(e){return e==null||typeof e=="boolean"?yt(or):We(e)?yt(Ot,null,e.slice()):typeof e=="object"?en(e):yt(dl,null,String(e))}function en(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:tn(e)}function sd(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),sd(e,n()),n._c&&(n._d=!0));return}else{r=32;let n=t._;!n&&!(fl in t)?t._ctx=rr:n===3&&rr&&(rr.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else qe(t)?(t={default:t,_ctx:rr},r=32):(t=String(t),o&64?(r=16,t=[pi(t)]):r=8);e.children=t,e.shapeFlag|=r}function ga(...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=En([t.class,o.class]));else if(n==="style")t.style=jo([t.style,o.style]);else if(oi(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 lo(e,t,r,o=null){Cr(e,t,7,[r,o])}var Jk=D0(),e3=0;function t3(e,t,r){let o=e.type,n=(t?t.appContext:e.appContext)||Jk,i={uid:e3++,vnode:e,type:o,parent:t,appContext:n,root:null,next:null,subTree:null,effect:null,update:null,scope:new oa(!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:S0(o,n),emitsOptions:h0(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=gk.bind(null,i),e.ce&&e.ce(i),i}var Gt=null,Or=()=>Gt||rr,di=e=>{Gt=e,e.scope.on()},Mn=()=>{Gt&&Gt.scope.off(),Gt=null};function P0(e){return e.vnode.shapeFlag&4}var ma=!1;function r3(e,t=!1){ma=t;let{props:r,children:o}=e.vnode,n=P0(e);Mk(e,r,n,t),zk(e,o);let i=n?o3(e,t):void 0;return ma=!1,i}function o3(e,t){var r;let o=e.type;e.accessCache=Object.create(null),e.proxy=An(new Proxy(e.ctx,Ik));let{setup:n}=o;if(n){let i=e.setupContext=n.length>1?i3(e):null;di(e),Yo();let a=To(n,e,0,[e.props,i]);if(Zo(),Mn(),kc(a)){if(a.then(Mn,Mn),t)return a.then(s=>{a0(e,s,t)}).catch(s=>{nl(s,e,0)});e.asyncDep=a}else a0(e,a,t)}else R0(e,t)}function a0(e,t,r){qe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ht(t)&&(e.setupState=Qs(t)),R0(e,r)}var s0,l0;function R0(e,t,r){let o=e.type;if(!e.render){if(!t&&s0&&!o.render){let n=o.template||nd(e).template;if(n){let{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=o,u=Lt(Lt({isCustomElement:i,delimiters:s},a),l);o.render=s0(n,u)}}e.render=o.render||yr,l0&&l0(e)}di(e),Yo(),Lk(e),Zo(),Mn()}function n3(e){return new Proxy(e.attrs,{get(t,r){return pr(e,"get","$attrs"),t[r]}})}function i3(e){let t=o=>{e.exposed=o||{}},r;return{get attrs(){return r||(r=n3(e))},slots:e.slots,emit:e.emit,expose:t}}function ml(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Qs(An(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in sa)return sa[r](e)},has(t,r){return r in t||r in sa}}))}var a3=/(?:^|[-_])(\w)/g,s3=e=>e.replace(a3,t=>t.toUpperCase()).replace(/[-_]/g,"");function l3(e,t=!0){return qe(e)?e.displayName||e.name:e.name||t&&e.__name}function B0(e,t,r=!1){let o=l3(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?s3(o):r?"App":"Anonymous"}function u3(e){return qe(e)&&"__vccOpts"in e}var V=(e,t)=>Gh(e,t,ma);function v(e,t,r){let o=arguments.length;return o===2?ht(t)&&!We(t)?ci(t)?yt(e,null,[t]):yt(e,t):yt(e,null,t):(o>3?r=Array.prototype.slice.call(arguments,2):o===3&&ci(r)&&(r=[r]),yt(e,t,r))}var c3=Symbol(""),d3=()=>{{let e=_e(c3);return e}};var f3="3.2.45";var p3="http://www.w3.org/2000/svg",Fn=typeof document<"u"?document:null,M0=Fn&&Fn.createElement("template"),m3={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?Fn.createElementNS(p3,e):Fn.createElement(e,r?{is:r}:void 0);return e==="select"&&o&&o.multiple!=null&&n.setAttribute("multiple",o.multiple),n},createText:e=>Fn.createTextNode(e),createComment:e=>Fn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Fn.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{M0.innerHTML=o?`<svg>${e}</svg>`:e;let s=M0.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 h3(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 g3(e,t,r){let o=e.style,n=Nt(r);if(r&&!n){for(let i in r)dd(o,i,r[i]);if(t&&!Nt(t))for(let i in t)r[i]==null&&dd(o,i,"")}else{let i=o.display;n?t!==r&&(o.cssText=r):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=i)}}var $0=/\s*!important$/;function dd(e,t,r){if(We(r))r.forEach(o=>dd(e,t,o));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{let o=b3(e,t);$0.test(r)?e.setProperty(qo(o),r.replace($0,""),"important"):e[o]=r}}var H0=["Webkit","Moz","ms"],ld={};function b3(e,t){let r=ld[t];if(r)return r;let o=no(t);if(o!=="filter"&&o in e)return ld[t]=o;o=Ji(o);for(let n=0;n<H0.length;n++){let i=H0[n]+o;if(i in e)return ld[t]=i}return t}var z0="http://www.w3.org/1999/xlink";function x3(e,t,r,o,n){if(o&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(z0,t.slice(6,t.length)):e.setAttributeNS(z0,t,r);else{let i=kh(t);r==null||i&&!wc(r)?e.removeAttribute(t):e.setAttribute(t,i?"":r)}}function v3(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=wc(r):r==null&&l==="string"?(r="",s=!0):l==="number"&&(r=0,s=!0)}try{e[t]=r}catch{}s&&e.removeAttribute(t)}function y3(e,t,r,o){e.addEventListener(t,r,o)}function w3(e,t,r,o){e.removeEventListener(t,r,o)}function C3(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]=k3(t);if(o){let u=i[t]=_3(o,n);y3(e,s,u,l)}else a&&(w3(e,s,a,l),i[t]=void 0)}}var F0=/(?:Once|Passive|Capture)$/;function k3(e){let t;if(F0.test(e)){t={};let o;for(;o=e.match(F0);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):qo(e.slice(2)),t]}var ud=0,S3=Promise.resolve(),E3=()=>ud||(S3.then(()=>ud=0),ud=Date.now());function _3(e,t){let r=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=r.attached)return;Cr(T3(o,r.value),t,5,[o])};return r.value=e,r.attached=E3(),r}function T3(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 V0=/^on[a-z]/,D3=(e,t,r,o,n=!1,i,a,s,l)=>{t==="class"?h3(e,o,n):t==="style"?g3(e,r,o):oi(t)?Zi(t)||C3(e,t,r,o,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):N3(e,t,o,n))?v3(e,t,o,i,a,s,l):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),x3(e,t,o,n))};function N3(e,t,r,o){return o?!!(t==="innerHTML"||t==="textContent"||t in e&&V0.test(t)&&qe(r)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||V0.test(t)&&Nt(r)?!1:t in e}function X0(e){let t=Or();if(!t)return;let r=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>pd(i,n))},o=()=>{let n=e(t.proxy);fd(t.subTree,n),r(n)};b0(o),ut(()=>{let n=new MutationObserver(o);n.observe(t.subTree.el.parentNode,{childList:!0}),Hn(()=>n.disconnect())})}function fd(e,t){if(e.shapeFlag&128){let r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{fd(r.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)pd(e.el,t);else if(e.type===Ot)e.children.forEach(r=>fd(r,t));else if(e.type===ua){let{el:r,anchor:o}=e;for(;r&&(pd(r,t),r!==o);)r=r.nextSibling}}function pd(e,t){if(e.nodeType===1){let r=e.style;for(let o in t)r.setProperty(`--${o}`,t[o])}}var on="transition",ba="animation",Ur=(e,{slots:t})=>v(Jc,Z0(e),t);Ur.displayName="Transition";var Y0={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},A3=Ur.props=Lt({},Jc.props,Y0),zn=(e,t=[])=>{We(e)?e.forEach(r=>r(...t)):e&&e(...t)},j0=e=>e?We(e)?e.some(t=>t.length>1):e.length>1:!1;function Z0(e){let t={};for(let R in e)R in Y0||(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,m=I3(n),b=m&&m[0],C=m&&m[1],{onBeforeEnter:g,onEnter:T,onEnterCancelled:H,onLeave:w,onLeaveCancelled:S,onBeforeAppear:M=g,onAppear:x=T,onAppearCancelled:E=H}=t,P=(R,$,oe)=>{nn(R,$?c:s),nn(R,$?u:a),oe&&oe()},N=(R,$)=>{R._isLeaving=!1,nn(R,d),nn(R,f),nn(R,p),$&&$()},j=R=>($,oe)=>{let he=R?x:T,ce=()=>P($,R,oe);zn(he,[$,ce]),W0(()=>{nn($,R?l:i),Ao($,R?c:s),j0(he)||q0($,o,b,ce)})};return Lt(t,{onBeforeEnter(R){zn(g,[R]),Ao(R,i),Ao(R,a)},onBeforeAppear(R){zn(M,[R]),Ao(R,l),Ao(R,u)},onEnter:j(!1),onAppear:j(!0),onLeave(R,$){R._isLeaving=!0;let oe=()=>N(R,$);Ao(R,d),J0(),Ao(R,p),W0(()=>{R._isLeaving&&(nn(R,d),Ao(R,f),j0(w)||q0(R,o,C,oe))}),zn(w,[R,oe])},onEnterCancelled(R){P(R,!1),zn(H,[R])},onAppearCancelled(R){P(R,!0),zn(E,[R])},onLeaveCancelled(R){N(R),zn(S,[R])}})}function I3(e){if(e==null)return null;if(ht(e))return[cd(e.enter),cd(e.leave)];{let t=cd(e);return[t,t]}}function cd(e){return ii(e)}function Ao(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e._vtc||(e._vtc=new Set)).add(t)}function nn(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 W0(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}var L3=0;function q0(e,t,r,o){let n=e._endId=++L3,i=()=>{n===e._endId&&o()};if(r)return setTimeout(i,r);let{type:a,timeout:s,propCount:l}=Q0(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 Q0(e,t){let r=window.getComputedStyle(e),o=m=>(r[m]||"").split(", "),n=o(`${on}Delay`),i=o(`${on}Duration`),a=U0(n,i),s=o(`${ba}Delay`),l=o(`${ba}Duration`),u=U0(s,l),c=null,d=0,p=0;t===on?a>0&&(c=on,d=a,p=i.length):t===ba?u>0&&(c=ba,d=u,p=l.length):(d=Math.max(a,u),c=d>0?a>u?on:ba:null,p=c?c===on?i.length:l.length:0);let f=c===on&&/\b(transform|all)(,|$)/.test(o(`${on}Property`).toString());return{type:c,timeout:d,propCount:p,hasTransform:f}}function U0(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((r,o)=>K0(r)+K0(e[o])))}function K0(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function J0(){return document.body.offsetHeight}var eg=new WeakMap,tg=new WeakMap,O3={name:"TransitionGroup",props:Lt({},A3,{tag:String,moveClass:String}),setup(e,{slots:t}){let r=Or(),o=Qc(),n,i;return od(()=>{if(!n.length)return;let a=e.moveClass||`${e.name||"v"}-move`;if(!M3(n[0].el,r.vnode.el,a))return;n.forEach(P3),n.forEach(R3);let s=n.filter(B3);J0(),s.forEach(l=>{let u=l.el,c=u.style;Ao(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,nn(u,a))};u.addEventListener("transitionend",d)})}),()=>{let a=Qe(e),s=Z0(a),l=a.tag||Ot;n=i,i=t.default?sl(t.default()):[];for(let u=0;u<i.length;u++){let c=i[u];c.key!=null&&ui(c,li(c,s,o,r))}if(n)for(let u=0;u<n.length;u++){let c=n[u];ui(c,li(c,s,o,r)),eg.set(c,c.el.getBoundingClientRect())}return yt(l,null,i)}}},rg=O3;function P3(e){let t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function R3(e){tg.set(e,e.el.getBoundingClientRect())}function B3(e){let t=eg.get(e),r=tg.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 M3(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}=Q0(o);return n.removeChild(o),i}var $3=Lt({patchProp:D3},m3),G0;function H3(){return G0||(G0=N0($3))}var og=(...e)=>{let t=H3().createApp(...e),{mount:r}=t;return t.mount=o=>{let n=z3(o);if(!n)return;let i=t._component;!qe(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 z3(e){return Nt(e)?document.querySelector(e):e}var hl=[],ng=new WeakMap;function F3(){hl.forEach(e=>e(...ng.get(e))),hl=[]}function xa(e,...t){ng.set(e,t),!hl.includes(e)&&hl.push(e)===1&&requestAnimationFrame(F3)}function gl(e,t){let{target:r}=e;for(;r;){if(r.dataset&&r.dataset[t]!==void 0)return!0;r=r.parentElement}return!1}function bl(e){return typeof e=="string"?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function Io(e){if(e!=null)return typeof e=="number"?`${e}px`:e.endsWith("px")?e:`${e}px`}function mi(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 md={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 hd(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 gd(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 fo="^\\s*",po="\\s*$",sn="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))%\\s*",kr="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",Vn="([0-9A-Fa-f])",jn="([0-9A-Fa-f]{2})",ig=new RegExp(`${fo}hsl\\s*\\(${kr},${sn},${sn}\\)${po}`),ag=new RegExp(`${fo}hsv\\s*\\(${kr},${sn},${sn}\\)${po}`),sg=new RegExp(`${fo}hsla\\s*\\(${kr},${sn},${sn},${kr}\\)${po}`),lg=new RegExp(`${fo}hsva\\s*\\(${kr},${sn},${sn},${kr}\\)${po}`),V3=new RegExp(`${fo}rgb\\s*\\(${kr},${kr},${kr}\\)${po}`),j3=new RegExp(`${fo}rgba\\s*\\(${kr},${kr},${kr},${kr}\\)${po}`),W3=new RegExp(`${fo}#${Vn}${Vn}${Vn}${po}`),q3=new RegExp(`${fo}#${jn}${jn}${jn}${po}`),U3=new RegExp(`${fo}#${Vn}${Vn}${Vn}${Vn}${po}`),K3=new RegExp(`${fo}#${jn}${jn}${jn}${jn}${po}`);function hr(e){return parseInt(e,16)}function ug(e){try{let t;if(t=sg.exec(e))return[va(t[1]),Lo(t[5]),Lo(t[9]),an(t[13])];if(t=ig.exec(e))return[va(t[1]),Lo(t[5]),Lo(t[9]),1];throw new Error(`[seemly/hsla]: Invalid color value ${e}.`)}catch(t){throw t}}function cg(e){try{let t;if(t=lg.exec(e))return[va(t[1]),Lo(t[5]),Lo(t[9]),an(t[13])];if(t=ag.exec(e))return[va(t[1]),Lo(t[5]),Lo(t[9]),1];throw new Error(`[seemly/hsva]: Invalid color value ${e}.`)}catch(t){throw t}}function Pr(e){try{let t;if(t=q3.exec(e))return[hr(t[1]),hr(t[2]),hr(t[3]),1];if(t=V3.exec(e))return[Zt(t[1]),Zt(t[5]),Zt(t[9]),1];if(t=j3.exec(e))return[Zt(t[1]),Zt(t[5]),Zt(t[9]),an(t[13])];if(t=W3.exec(e))return[hr(t[1]+t[1]),hr(t[2]+t[2]),hr(t[3]+t[3]),1];if(t=K3.exec(e))return[hr(t[1]),hr(t[2]),hr(t[3]),an(hr(t[4])/255)];if(t=U3.exec(e))return[hr(t[1]+t[1]),hr(t[2]+t[2]),hr(t[3]+t[3]),an(hr(t[4]+t[4])/255)];if(e in md)return Pr(md[e]);if(ig.test(e)||sg.test(e)){let[r,o,n,i]=ug(e);return[...gd(r,o,n),i]}else if(ag.test(e)||lg.test(e)){let[r,o,n,i]=cg(e);return[...hd(r,o,n),i]}throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(t){throw t}}function G3(e){return e>1?1:e<0?0:e}function xd(e,t,r,o){return`rgba(${Zt(e)}, ${Zt(t)}, ${Zt(r)}, ${G3(o)})`}function bd(e,t,r,o,n){return Zt((e*t*(1-o)+r*o)/n)}function we(e,t){Array.isArray(e)||(e=Pr(e)),Array.isArray(t)||(t=Pr(t));let r=e[3],o=t[3],n=an(r+o-r*o);return xd(bd(e[0],r,t[0],o,n),bd(e[1],r,t[1],o,n),bd(e[2],r,t[2],o,n),n)}function re(e,t){let[r,o,n,i=1]=Array.isArray(e)?e:Pr(e);return typeof t.alpha=="number"?xd(r,o,n,t.alpha):xd(r,o,n,i)}function Oo(e,t){let[r,o,n,i=1]=Array.isArray(e)?e:Pr(e),{lightness:a=1,alpha:s=1}=t;return dg([r*a,o*a,n*a,i*s])}function an(e){let t=Math.round(Number(e)*100)/100;return t>1?1:t<0?0:t}function va(e){let t=Math.round(Number(e));return t>=360||t<0?0:t}function Zt(e){let t=Math.round(Number(e));return t>255?255:t<0?0:t}function Lo(e){let t=Math.round(Number(e));return t>100?100:t<0?0:t}function dg(e){let[t,r,o]=e;return 3 in e?`rgba(${Zt(t)}, ${Zt(r)}, ${Zt(o)}, ${an(e[3])})`:`rgba(${Zt(t)}, ${Zt(r)}, ${Zt(o)}, 1)`}function vd(e=8){return Math.random().toString(16).slice(2,2+e)}function yd(e,t){let r=[];for(let o=0;o<e;++o)r.push(t);return r}function Te(e,...t){if(Array.isArray(e))e.forEach(r=>Te(r,...t));else return e(...t)}var hi=(e,...t)=>typeof e=="function"?e(...t):typeof e=="string"?pi(e):typeof e=="number"?pi(String(e)):null;function xl(e,t){console.error(`[naive/${e}]: ${t}`)}function vl(e,t){throw new Error(`[naive/${e}]: ${t}`)}function gi(e){return typeof e=="string"?`s-${e}`:`n-${e}`}function ya(e){return e.some(t=>ci(t)?!(t.type===or||t.type===Ot&&!ya(t.children)):!0)?e:null}function mo(e,t){return e&&ya(e())||t()}function yl(e,t,r){return e&&ya(e(t))||r(t)}function ho(e,t){let r=e&&ya(e());return t(r||null)}function wl(e){return!(e&&ya(e()))}function wa(e){return e.replace(/#|\(|\)|,|\s/g,"_")}function Y3(e){let t=0;for(let r=0;r<e.length;++r)e[r]==="&"&&++t;return t}var fg=/\s*,(?![^(]*\))\s*/g,Z3=/\s+/g;function Q3(e,t){let r=[];return t.split(fg).forEach(o=>{let n=Y3(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 J3(e,t){let r=[];return t.split(fg).forEach(o=>{e.forEach(n=>{r.push((n&&n+" ")+o)})}),r}function pg(e){let t=[""];return e.forEach(r=>{r=r&&r.trim(),r&&(r.includes("&")?t=Q3(t,r):t=J3(t,r))}),t.join(", ").replace(Z3," ")}function wd(e){if(!e)return;let t=e.parentElement;t&&t.removeChild(e)}function Wn(e,t){return(t??document.head).querySelector(`style[cssr-id="${e}"]`)}function mg(e){let t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function Ca(e){return e?/^\s*@(s|m)/.test(e):!1}var eS=/[A-Z]/g;function gg(e){return e.replace(eS,t=>"-"+t.toLowerCase())}function tS(e,t=" "){return typeof e=="object"&&e!==null?` {
|
|
`+Object.entries(e).map(r=>t+` ${gg(r[0])}: ${r[1]};`).join(`
|
|
`)+`
|
|
`+t+"}":`: ${e};`}function rS(e,t,r){return typeof e=="function"?e({context:t.context,props:r}):e}function hg(e,t,r,o){if(!t)return"";let n=rS(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=gg(s),l!=null&&a.push(` ${s}${tS(l)}`)}),e&&a.push("}"),a.join(`
|
|
`)}function Cd(e,t,r){e&&e.forEach(o=>{if(Array.isArray(o))Cd(o,t,r);else if(typeof o=="function"){let n=o(t);Array.isArray(n)?Cd(n,t,r):n&&r(n)}else o&&r(o)})}function bg(e,t,r,o,n){let i=e.$,a="";if(!i||typeof i=="string")Ca(i)?a=i:t.push(i);else if(typeof i=="function"){let u=i({context:o.context,props:n});Ca(u)?a=u:t.push(u)}else if(i.before&&i.before(o.context),!i.$||typeof i.$=="string")Ca(i.$)?a=i.$:t.push(i.$);else if(i.$){let u=i.$({context:o.context,props:n});Ca(u)?a=u:t.push(u)}let s=pg(t),l=hg(s,e.props,o,n);a?r.push(`${a} {`):l.length&&r.push(l),e.children&&Cd(e.children,{context:o.context,props:n},u=>{if(typeof u=="string"){let c=hg(s,{raw:u},o,n);r.push(c)}else bg(u,t,r,o,n)}),t.pop(),a&&r.push("}"),i&&i.after&&i.after(o.context)}function xg(e,t,r){let o=[];return bg(e,[],o,t,r),o.join(`
|
|
|
|
`)}function oS(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=oS;typeof window<"u"&&(window.__cssrContext={});function yg(e,t,r,o){let{els:n}=t;if(r===void 0)n.forEach(wd),t.els=[];else{let i=Wn(r,o);i&&n.includes(i)&&(wd(i),t.els=n.filter(a=>a!==i))}}function vg(e,t){e.push(t)}function wg(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=Wn(r,s);if(c!==null&&!i)return c;let d=c??mg(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),vg(t.els,d),d}return n?s.insertBefore(d,s.querySelector("style, link")):s.appendChild(d),vg(t.els,d),d}function nS(e){return xg(this,this.instance,e)}function iS(e={}){let{id:t,ssr:r,props:o,head:n=!1,force:i=!1,anchorMetaName:a,parent:s}=e;return wg(this.instance,this,t,o,n,i,a,s,r)}function aS(e={}){let{id:t,parent:r}=e;yg(this.instance,this,t,r)}var Cl=function(e,t,r,o){return{instance:e,$:t,props:r,children:o,els:[],render:nS,mount:iS,unmount:aS}},Cg=function(e,t,r,o){return Array.isArray(t)?Cl(e,{$:null},null,t):Array.isArray(r)?Cl(e,t,null,r):Array.isArray(o)?Cl(e,t,r,o):Cl(e,t,r,null)};function kl(e={}){let t={c:(...r)=>Cg(t,...r),use:(r,...o)=>r.install(t,...o),find:Wn,context:{},config:e};return t}function kd(e,t){if(e===void 0)return!1;if(t){let{context:{ids:r}}=t;return r.has(e)}return Wn(e)!==null}var kg=kl;function sS(e){let t=".",r="__",o="--",n;if(e){let m=e.blockPrefix;m&&(t=m),m=e.elementPrefix,m&&(r=m),m=e.modifierPrefix,m&&(o=m)}let i={install(m){n=m.c;let b=m.context;b.bem={},b.bem.b=null,b.bem.els=null}};function a(m){let b,C;return{before(g){b=g.bem.b,C=g.bem.els,g.bem.els=null},after(g){g.bem.b=b,g.bem.els=C},$({context:g,props:T}){return m=typeof m=="string"?m:m({context:g,props:T}),g.bem.b=m,`${T?.bPrefix||t}${g.bem.b}`}}}function s(m){let b;return{before(C){b=C.bem.els},after(C){C.bem.els=b},$({context:C,props:g}){return m=typeof m=="string"?m:m({context:C,props:g}),C.bem.els=m.split(",").map(T=>T.trim()),C.bem.els.map(T=>`${g?.bPrefix||t}${C.bem.b}${r}${T}`).join(", ")}}}function l(m){return{$({context:b,props:C}){m=typeof m=="string"?m:m({context:b,props:C});let g=m.split(",").map(w=>w.trim());function T(w){return g.map(S=>`&${C?.bPrefix||t}${b.bem.b}${w!==void 0?`${r}${w}`:""}${o}${S}`).join(", ")}let H=b.bem.els;return H!==null?T(H[0]):T()}}}function u(m){return{$({context:b,props:C}){m=typeof m=="string"?m:m({context:b,props:C});let g=b.bem.els;return`&:not(${C?.bPrefix||t}${b.bem.b}${g!==null&&g.length>0?`${r}${g[0]}`:""}${o}${m})`}}}return Object.assign(i,{cB:(...m)=>n(a(m[0]),m[1],m[2]),cE:(...m)=>n(s(m[0]),m[1],m[2]),cM:(...m)=>n(l(m[0]),m[1],m[2]),cNotM:(...m)=>n(u(m[0]),m[1],m[2])}),i}var Sg=sS;function He(e,t){return e+(t==="default"?"":t.replace(/^[a-z]/,r=>r.toUpperCase()))}He("abc","def");var lS="n",ka=`.${lS}-`,uS="__",cS="--",Eg=kg(),_g=Sg({blockPrefix:ka,elementPrefix:uS,modifierPrefix:cS});Eg.use(_g);var{c:J,find:rP}=Eg,{cB:K,cE:ee,cM:Se,cNotM:gr}=_g;function Sl(e){return J(({props:{bPrefix:t}})=>`${t||ka}modal, ${t||ka}drawer`,[e])}function El(e){return J(({props:{bPrefix:t}})=>`${t||ka}popover:not(${t||ka}tooltip)`,[e])}function _l(e){let t=X(!!e.value);if(t.value)return Qo(t);let r=ct(e,o=>{o&&(t.value=!0,r())});return Qo(t)}function dS(e){let t=V(e),r=X(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 it=dS;var Tg=typeof window<"u";var bi,Sa,fS=()=>{var e,t;bi=Tg?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,Sa=!1,bi!==void 0?bi.then(()=>{Sa=!0}):Sa=!0};fS();function Tl(e){if(Sa)return;let t=!1;ut(()=>{Sa||bi?.then(()=>{t||e()})}),Pt(()=>{t=!0})}function xi(e){return e.composedPath()[0]}var pS={mousemoveoutside:new WeakMap,clickoutside:new WeakMap};function mS(e,t,r){if(e==="mousemoveoutside"){let o=n=>{t.contains(xi(n))||r(n)};return{mousemove:o,touchstart:o}}else if(e==="clickoutside"){let o=!1,n=a=>{o=!t.contains(xi(a))},i=a=>{o&&(t.contains(xi(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 Dg(e,t,r){let o=pS[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=mS(e,t,r)),i}function Ng(e,t,r,o){if(e==="mousemoveoutside"||e==="clickoutside"){let n=Dg(e,t,r);return Object.keys(n).forEach(i=>{Et(i,document,n[i],o)}),!0}return!1}function Ag(e,t,r,o){if(e==="mousemoveoutside"||e==="clickoutside"){let n=Dg(e,t,r);return Object.keys(n).forEach(i=>{kt(i,document,n[i],o)}),!0}return!1}function hS(){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(x,E,P){let N=x[E];return x[E]=function(){return P.apply(x,arguments),N.apply(x,arguments)},x}function i(x,E){x[E]=Event.prototype[E]}let a=new WeakMap,s=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function l(){var x;return(x=a.get(this))!==null&&x!==void 0?x:null}function u(x,E){s!==void 0&&Object.defineProperty(x,"currentTarget",{configurable:!0,enumerable:!0,get:E??s.get})}let c={bubble:{},capture:{}},d={};function p(){let x=function(E){let{type:P,eventPhase:N,bubbles:j}=E,R=xi(E);if(N===2)return;let $=N===1?"capture":"bubble",oe=R,he=[];for(;oe===null&&(oe=window),he.push(oe),oe!==window;)oe=oe.parentNode||null;let ce=c.capture[P],se=c.bubble[P];if(n(E,"stopPropagation",r),n(E,"stopImmediatePropagation",o),u(E,l),$==="capture"){if(ce===void 0)return;for(let me=he.length-1;me>=0&&!e.has(E);--me){let De=he[me],$e=ce.get(De);if($e!==void 0){a.set(E,De);for(let Fe of $e){if(t.has(E))break;Fe(E)}}if(me===0&&!j&&se!==void 0){let Fe=se.get(De);if(Fe!==void 0)for(let Xe of Fe){if(t.has(E))break;Xe(E)}}}}else if($==="bubble"){if(se===void 0)return;for(let me=0;me<he.length&&!e.has(E);++me){let De=he[me],$e=se.get(De);if($e!==void 0){a.set(E,De);for(let Fe of $e){if(t.has(E))break;Fe(E)}}}}i(E,"stopPropagation"),i(E,"stopImmediatePropagation"),u(E)};return x.displayName="evtdUnifiedHandler",x}function f(){let x=function(E){let{type:P,eventPhase:N}=E;if(N!==2)return;let j=d[P];j!==void 0&&j.forEach(R=>R(E))};return x.displayName="evtdUnifiedWindowEventHandler",x}let m=p(),b=f();function C(x,E){let P=c[x];return P[E]===void 0&&(P[E]=new Map,window.addEventListener(E,m,x==="capture")),P[E]}function g(x){return d[x]===void 0&&(d[x]=new Set,window.addEventListener(x,b)),d[x]}function T(x,E){let P=x.get(E);return P===void 0&&x.set(E,P=new Set),P}function H(x,E,P,N){let j=c[E][P];if(j!==void 0){let R=j.get(x);if(R!==void 0&&R.has(N))return!0}return!1}function w(x,E){let P=d[x];return!!(P!==void 0&&P.has(E))}function S(x,E,P,N){let j;if(typeof N=="object"&&N.once===!0?j=ce=>{M(x,E,j,N),P(ce)}:j=P,Ng(x,E,j,N))return;let $=N===!0||typeof N=="object"&&N.capture===!0?"capture":"bubble",oe=C($,x),he=T(oe,E);if(he.has(j)||he.add(j),E===window){let ce=g(x);ce.has(j)||ce.add(j)}}function M(x,E,P,N){if(Ag(x,E,P,N))return;let R=N===!0||typeof N=="object"&&N.capture===!0,$=R?"capture":"bubble",oe=C($,x),he=T(oe,E);if(E===window&&!H(E,R?"bubble":"capture",x,P)&&w(x,P)){let se=d[x];se.delete(P),se.size===0&&(window.removeEventListener(x,b),d[x]=void 0)}he.has(P)&&he.delete(P),he.size===0&&oe.delete(E),oe.size===0&&(window.removeEventListener(x,m,$==="capture"),c[$][x]=void 0)}return{on:S,off:M}}var{on:Et,off:kt}=hS();function cr(e,t){return ct(e,r=>{r!==void 0&&(t.value=r)}),V(()=>e.value===void 0?t.value:e.value)}function ln(){let e=X(!1);return ut(()=>{e.value=!0}),Qo(e)}var gS=(typeof window>"u"?!1:/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!window.MSStream;function Dl(){return gS}var RP="n-internal-select-menu",Ig="n-internal-select-menu-body";var Lg="n-modal-body",MP="n-modal";var Og="n-drawer-body",HP="n-drawer";var Pg="n-popover-body";var Rg="__disabled__";function qn(e){let t=_e(Lg,null),r=_e(Og,null),o=_e(Pg,null),n=_e(Ig,null),i=X();if(typeof document<"u"){i.value=document.fullscreenElement;let a=()=>{i.value=document.fullscreenElement};ut(()=>{Et("fullscreenchange",document,a)}),Pt(()=>{kt("fullscreenchange",document,a)})}return it(()=>{var a;let{to:s}=e;return s!==void 0?s===!1?Rg: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")})}qn.tdkey=Rg;qn.propTo={type:[String,Object,Boolean],default:void 0};function Ea(e,t,r="default"){let o=t[r];if(o===void 0)throw new Error(`[vueuc/${e}]: slot[${r}] is empty.`);return o()}function Sd(e,t=!0,r=[]){return e.forEach(o=>{if(o!==null){if(typeof o!="object"){(typeof o=="string"||typeof o=="number")&&r.push(pi(String(o)));return}if(Array.isArray(o)){Sd(o,t,r);return}if(o.type===Ot){if(o.children===null)return;Array.isArray(o.children)&&Sd(o.children,t,r)}else o.type!==or&&r.push(o)}}),r}function Ed(e,t,r="default"){let o=t[r];if(o===void 0)throw new Error(`[vueuc/${e}]: slot[${r}] is empty.`);let n=Sd(o());if(n.length===1)return n[0];throw new Error(`[vueuc/${e}]: slot[${r}] should have exactly one child.`)}var un=null;function Bg(){if(un===null&&(un=document.getElementById("v-binder-view-measurer"),un===null)){un=document.createElement("div"),un.id="v-binder-view-measurer";let{style:e}=un;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(un)}return un.getBoundingClientRect()}function Mg(e,t){let r=Bg();return{top:t,left:e,height:0,width:0,right:r.width-e,bottom:r.height-t}}function Nl(e){let t=e.getBoundingClientRect(),r=Bg();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 bS(e){return e.nodeType===9?null:e.parentNode}function _d(e){if(e===null)return null;let t=bS(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 _d(t)}var xS=fe({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;Yt("VBinder",(t=Or())===null||t===void 0?void 0:t.proxy);let r=_e("VBinder",null),o=X(null),n=g=>{o.value=g,r&&e.syncTargetWithParent&&r.setTargetRef(g)},i=[],a=()=>{let g=o.value;for(;g=_d(g),g!==null;)i.push(g);for(let T of i)Et("scroll",T,d,!0)},s=()=>{for(let g of i)kt("scroll",g,d,!0);i=[]},l=new Set,u=g=>{l.size===0&&a(),l.has(g)||l.add(g)},c=g=>{l.has(g)&&l.delete(g),l.size===0&&s()},d=()=>{xa(p)},p=()=>{l.forEach(g=>g())},f=new Set,m=g=>{f.size===0&&Et("resize",window,C),f.has(g)||f.add(g)},b=g=>{f.has(g)&&f.delete(g),f.size===0&&kt("resize",window,C)},C=()=>{f.forEach(g=>g())};return Pt(()=>{kt("resize",window,C),s()}),{targetRef:o,setTargetRef:n,addScrollListener:u,removeScrollListener:c,addResizeListener:m,removeResizeListener:b}},render(){return Ea("binder",this.$slots)}}),Al=xS;var Il=fe({name:"Target",setup(){let{setTargetRef:e,syncTarget:t}=_e("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){let{syncTarget:e,setTargetDirective:t}=this;return e?cl(Ed("follower",this.$slots),[[t]]):Ed("follower",this.$slots)}});function $g(e,t){console.error(`[vdirs/${e}]: ${t}`)}var Td=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&&$g("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}`)})}},Ll=new Td;var vi="@@ziContext",vS={mounted(e,t){let{value:r={}}=t,{zIndex:o,enabled:n}=r;e[vi]={enabled:!!n,initialized:!1},n&&(Ll.ensureZIndex(e,o),e[vi].initialized=!0)},updated(e,t){let{value:r={}}=t,{zIndex:o,enabled:n}=r,i=e[vi].enabled;n&&!i&&(Ll.ensureZIndex(e,o),e[vi].initialized=!0),e[vi].enabled=!!n},unmounted(e,t){if(!e[vi].initialized)return;let{value:r={}}=t,{zIndex:o}=r;Ll.unregister(e,o)}},Dd=vS;var yS="@css-render/vue3-ssr";function wS(e,t){return`<style cssr-id="${e}">
|
|
${t}
|
|
</style>`}function CS(e,t,r){let{styles:o,ids:n}=r;n.has(e)||o!==null&&(n.add(e),o.push(wS(e,t)))}var kS=typeof document<"u";function Rr(){if(kS)return;let e=_e(yS,null);if(e!==null)return{adapter:(t,r)=>CS(t,r,e),context:e}}function Ol(e,t){console.error(`[vueuc/${e}]: ${t}`)}var{c:go}=kl();var _a="vueuc-style";function Hg(e){return e&-e}var Un=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+=Hg(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-=Hg(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 zg=fe({name:"LazyTeleport",props:{to:{type:[String,Object],default:void 0},disabled:Boolean,show:{type:Boolean,required:!0}},setup(e){return{showTeleport:_l(Me(e,"show")),mergedTo:V(()=>{let{to:t}=e;return t??"body"})}},render(){return this.showTeleport?this.disabled?Ea("lazy-teleport",this.$slots):v(A0,{disabled:this.disabled,to:this.mergedTo},Ea("lazy-teleport",this.$slots)):null}});var Pl={top:"bottom",bottom:"top",left:"right",right:"left"},Fg={start:"end",center:"center",end:"start"},Nd={top:"height",bottom:"height",left:"width",right:"width"},SS={"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"},ES={"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"},_S={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},Vg={top:!0,bottom:!1,left:!0,right:!1},jg={top:"end",bottom:"start",left:"end",right:"start"};function Wg(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,m,b)=>{let C=0,g=0,T=r[f]-t[m]-t[f];return T>0&&o&&(b?g=Vg[m]?T:-T:C=Vg[m]?T:-T),{left:C,top:g}},d=a==="left"||a==="right";if(l!=="center"){let f=_S[e],m=Pl[f],b=Nd[f];if(r[b]>t[b]){if(t[f]+t[b]<r[b]){let C=(r[b]-t[b])/2;t[f]<C||t[m]<C?t[f]<t[m]?(l=Fg[s],u=c(b,m,d)):u=c(b,f,d):l="center"}}else r[b]<t[b]&&t[m]<0&&t[f]>t[m]&&(l=Fg[s])}else{let f=a==="bottom"||a==="top"?"left":"top",m=Pl[f],b=Nd[f],C=(r[b]-t[b])/2;(t[f]<C||t[m]<C)&&(t[f]>t[m]?(l=jg[f],u=c(b,f,d)):(l=jg[m],u=c(b,m,d)))}let p=a;return t[a]<r[Nd[a]]&&t[a]<t[Pl[a]]&&(p=Pl[a]),{placement:l!=="center"?`${p}-${l}`:p,left:u.left,top:u.top}}function qg(e,t){return t?ES[e]:SS[e]}function Ug(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 TS=go([go(".v-binder-follower-container",{position:"absolute",left:"0",right:"0",top:"0",height:"0",pointerEvents:"none",zIndex:"auto"}),go(".v-binder-follower-content",{position:"absolute",zIndex:"auto"},[go("> *",{pointerEvents:"all"})])]),Rl=fe({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=_e("VBinder"),r=it(()=>e.enabled!==void 0?e.enabled:e.show),o=X(null),n=X(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=Rr();TS.mount({id:"vueuc/binder",head:!0,anchorMetaName:_a,ssr:s}),Pt(()=>{a()}),Tl(()=>{r.value&&l()});let l=()=>{if(!r.value)return;let p=o.value;if(p===null)return;let f=t.targetRef,{x:m,y:b,overlap:C}=e,g=m!==void 0&&b!==void 0?Mg(m,b):Nl(f);p.style.setProperty("--v-target-width",`${Math.round(g.width)}px`),p.style.setProperty("--v-target-height",`${Math.round(g.height)}px`);let{width:T,minWidth:H,placement:w,internalShift:S,flip:M}=e;p.setAttribute("v-placement",w),C?p.setAttribute("v-overlap",""):p.removeAttribute("v-overlap");let{style:x}=p;T==="target"?x.width=`${g.width}px`:T!==void 0?x.width=T:x.width="",H==="target"?x.minWidth=`${g.width}px`:H!==void 0?x.minWidth=H:x.minWidth="";let E=Nl(p),P=Nl(n.value),{left:N,top:j,placement:R}=Wg(w,g,E,S,M,C),$=qg(R,C),{left:oe,top:he,transform:ce}=Ug(R,P,g,j,N,C);p.setAttribute("v-placement",R),p.style.setProperty("--v-offset-left",`${Math.round(N)}px`),p.style.setProperty("--v-offset-top",`${Math.round(j)}px`),p.style.transform=`translateX(${oe}) translateY(${he}) ${ce}`,p.style.setProperty("--v-transform-origin",$),p.style.transformOrigin=$};ct(r,p=>{p?(i(),u()):a()});let u=()=>{Xt().then(l).catch(p=>console.error(p))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(p=>{ct(Me(e,p),l)}),["teleportDisabled"].forEach(p=>{ct(Me(e,p),u)}),ct(Me(e,"syncTrigger"),p=>{p.includes("resize")?t.addResizeListener(l):t.removeResizeListener(l),p.includes("scroll")?t.addScrollListener(l):t.removeScrollListener(l)});let c=ln(),d=it(()=>{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 v(zg,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;let r=v("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[v("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?cl(r,[[Dd,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):r}})}});var Br=[];var Kg=function(){return Br.some(function(e){return e.activeTargets.length>0})};var Gg=function(){return Br.some(function(e){return e.skippedTargets.length>0})};var Xg="ResizeObserver loop completed with undelivered notifications.",Yg=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Xg}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Xg),window.dispatchEvent(e)};var Kn;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Kn||(Kn={}));var Kr=function(e){return Object.freeze(e)};var Ad=function(){function e(t,r){this.inlineSize=t,this.blockSize=r,Kr(this)}return e}();var Id=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,Kr(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 Ta=function(e){return e instanceof SVGElement&&"getBBox"in e},Bl=function(e){if(Ta(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)},Ld=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)},Zg=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 Gn=typeof window<"u"?window:{};var Ml=new WeakMap,Qg=/auto|scroll/,DS=/^tb|vertical/,NS=/msie|trident/i.test(Gn.navigator&&Gn.navigator.userAgent),bo=function(e){return parseFloat(e||"0")},yi=function(e,t,r){return e===void 0&&(e=0),t===void 0&&(t=0),r===void 0&&(r=!1),new Ad((r?t:e)||0,(r?e:t)||0)},Jg=Kr({devicePixelContentBoxSize:yi(),borderBoxSize:yi(),contentBoxSize:yi(),contentRect:new Id(0,0,0,0)}),Od=function(e,t){if(t===void 0&&(t=!1),Ml.has(e)&&!t)return Ml.get(e);if(Bl(e))return Ml.set(e,Jg),Jg;var r=getComputedStyle(e),o=Ta(e)&&e.ownerSVGElement&&e.getBBox(),n=!NS&&r.boxSizing==="border-box",i=DS.test(r.writingMode||""),a=!o&&Qg.test(r.overflowY||""),s=!o&&Qg.test(r.overflowX||""),l=o?0:bo(r.paddingTop),u=o?0:bo(r.paddingRight),c=o?0:bo(r.paddingBottom),d=o?0:bo(r.paddingLeft),p=o?0:bo(r.borderTopWidth),f=o?0:bo(r.borderRightWidth),m=o?0:bo(r.borderBottomWidth),b=o?0:bo(r.borderLeftWidth),C=d+u,g=l+c,T=b+f,H=p+m,w=s?e.offsetHeight-H-e.clientHeight:0,S=a?e.offsetWidth-T-e.clientWidth:0,M=n?C+T:0,x=n?g+H:0,E=o?o.width:bo(r.width)-M-S,P=o?o.height:bo(r.height)-x-w,N=E+C+S+T,j=P+g+w+H,R=Kr({devicePixelContentBoxSize:yi(Math.round(E*devicePixelRatio),Math.round(P*devicePixelRatio),i),borderBoxSize:yi(N,j,i),contentBoxSize:yi(E,P,i),contentRect:new Id(d,l,E,P)});return Ml.set(e,R),R},$l=function(e,t,r){var o=Od(e,r),n=o.borderBoxSize,i=o.contentBoxSize,a=o.devicePixelContentBoxSize;switch(t){case Kn.DEVICE_PIXEL_CONTENT_BOX:return a;case Kn.BORDER_BOX:return n;default:return i}};var Pd=function(){function e(t){var r=Od(t);this.target=t,this.contentRect=r.contentRect,this.borderBoxSize=Kr([r.borderBoxSize]),this.contentBoxSize=Kr([r.contentBoxSize]),this.devicePixelContentBoxSize=Kr([r.devicePixelContentBoxSize])}return e}();var Hl=function(e){if(Bl(e))return 1/0;for(var t=0,r=e.parentNode;r;)t+=1,r=r.parentNode;return t};var eb=function(){var e=1/0,t=[];Br.forEach(function(a){if(a.activeTargets.length!==0){var s=[];a.activeTargets.forEach(function(u){var c=new Pd(u.target),d=Hl(u.target);s.push(c),u.lastReportedSize=$l(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 Rd=function(e){Br.forEach(function(r){r.activeTargets.splice(0,r.activeTargets.length),r.skippedTargets.splice(0,r.skippedTargets.length),r.observationTargets.forEach(function(n){n.isActive()&&(Hl(n.target)>e?r.activeTargets.push(n):r.skippedTargets.push(n))})})};var tb=function(){var e=0;for(Rd(e);Kg();)e=eb(),Rd(e);return Gg()&&Yg(),e>0};var Bd,rb=[],AS=function(){return rb.splice(0).forEach(function(e){return e()})},ob=function(e){if(!Bd){var t=0,r=document.createTextNode(""),o={characterData:!0};new MutationObserver(function(){return AS()}).observe(r,o),Bd=function(){r.textContent="".concat(t?t--:t++)}}rb.push(e),Bd()};var nb=function(e){ob(function(){requestAnimationFrame(e)})};var zl=0,IS=function(){return!!zl},LS=250,OS={attributes:!0,characterData:!0,childList:!0,subtree:!0},ib=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],ab=function(e){return e===void 0&&(e=0),Date.now()+e},Md=!1,PS=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=LS),!Md){Md=!0;var o=ab(t);nb(function(){var n=!1;try{n=tb()}finally{if(Md=!1,t=o-ab(),!IS())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,OS)};document.body?r():Gn.addEventListener("DOMContentLoaded",r)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),ib.forEach(function(r){return Gn.addEventListener(r,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),ib.forEach(function(r){return Gn.removeEventListener(r,t.listener,!0)}),this.stopped=!0)},e}(),Fl=new PS,$d=function(e){!zl&&e>0&&Fl.start(),zl+=e,!zl&&Fl.stop()};var RS=function(e){return!Ta(e)&&!Zg(e)&&getComputedStyle(e).display==="inline"},sb=function(){function e(t,r){this.target=t,this.observedBox=r||Kn.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=$l(this.target,this.observedBox,!0);return RS(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}();var lb=function(){function e(t,r){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=r}return e}();var Vl=new WeakMap,ub=function(e,t){for(var r=0;r<e.length;r+=1)if(e[r].target===t)return r;return-1},Da=function(){function e(){}return e.connect=function(t,r){var o=new lb(t,r);Vl.set(t,o)},e.observe=function(t,r,o){var n=Vl.get(t),i=n.observationTargets.length===0;ub(n.observationTargets,r)<0&&(i&&Br.push(n),n.observationTargets.push(new sb(r,o&&o.box)),$d(1),Fl.schedule())},e.unobserve=function(t,r){var o=Vl.get(t),n=ub(o.observationTargets,r),i=o.observationTargets.length===1;n>=0&&(i&&Br.splice(Br.indexOf(o),1),o.observationTargets.splice(n,1),$d(-1))},e.disconnect=function(t){var r=this,o=Vl.get(t);o.observationTargets.slice().forEach(function(n){return r.unobserve(t,n.target)}),o.activeTargets.splice(0,o.activeTargets.length)},e}();var Hd=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.");Da.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(!Ld(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Da.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(!Ld(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Da.unobserve(this,t)},e.prototype.disconnect=function(){Da.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();var zd=class{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window<"u"&&window.ResizeObserver||Hd)(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))}},jl=new zd;var Gr=fe({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1,r=Or().proxy;function o(n){let{onResize:i}=e;i!==void 0&&i(n)}ut(()=>{let n=r.$el;if(n===void 0){Ol("resize-observer","$el does not exist.");return}if(n.nextElementSibling!==n.nextSibling&&n.nodeType===3&&n.nodeValue!==""){Ol("resize-observer","$el can not be observed (it may be a text node).");return}n.nextElementSibling!==null&&(jl.registerHandler(n.nextElementSibling,o),t=!0)}),Pt(()=>{t&&jl.unregisterHandler(r.$el.nextElementSibling)})},render(){return fi(this.$slots,"default")}});var Wl;function cb(){return typeof document>"u"?!1:(Wl===void 0&&("matchMedia"in window?Wl=window.matchMedia("(pointer:coarse)").matches:Wl=!1),Wl)}var Fd;function Vd(){return typeof document>"u"?1:(Fd===void 0&&(Fd="chrome"in window?window.devicePixelRatio:1),Fd)}var ql="VVirtualListXScroll";function db({columnsRef:e,renderColRef:t,renderItemWithColsRef:r}){let o=X(0),n=X(0),i=V(()=>{let u=e.value;if(u.length===0)return null;let c=new Un(u.length,0);return u.forEach((d,p)=>{c.add(p,d.width)}),c}),a=it(()=>{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=it(()=>{let u=i.value;return u!==null?Math.min(u.getBound(n.value+o.value)+1,e.value.length-1):0});return Yt(ql,{startIndexRef:a,endIndexRef:l,columnsRef:e,renderColRef:t,renderItemWithColsRef:r,getLeft:s}),{listWidthRef:o,scrollLeftRef:n}}var jd=fe({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}=_e(ql);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 BS=go(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[go("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[go("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),Na=fe({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=Rr();BS.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:_a,ssr:t}),ut(()=>{let{defaultScrollIndex:$,defaultScrollKey:oe}=e;$!=null?C({index:$}):oe!=null&&C({key:oe})});let r=!1,o=!1;ed(()=>{if(r=!1,!o){o=!0;return}C({top:f.value,left:a.value})}),td(()=>{r=!0,o||(o=!0)});let n=it(()=>{if(e.renderCol==null&&e.renderItemWithCols==null||e.columns.length===0)return;let $=0;return e.columns.forEach(oe=>{$+=oe.width}),$}),i=V(()=>{let $=new Map,{keyField:oe}=e;return e.items.forEach((he,ce)=>{$.set(he[oe],ce)}),$}),{scrollLeftRef:a,listWidthRef:s}=db({columnsRef:Me(e,"columns"),renderColRef:Me(e,"renderCol"),renderItemWithColsRef:Me(e,"renderItemWithCols")}),l=X(null),u=X(void 0),c=new Map,d=V(()=>{let{items:$,itemSize:oe,keyField:he}=e,ce=new Un($.length,oe);return $.forEach((se,me)=>{let De=se[he],$e=c.get(De);$e!==void 0&&ce.add(me,$e)}),ce}),p=X(0),f=X(0),m=it(()=>Math.max(d.value.getBound(f.value-bl(e.paddingTop))-1,0)),b=V(()=>{let{value:$}=u;if($===void 0)return[];let{items:oe,itemSize:he}=e,ce=m.value,se=Math.min(ce+Math.ceil($/he+1),oe.length-1),me=[];for(let De=ce;De<=se;++De)me.push(oe[De]);return me}),C=($,oe)=>{if(typeof $=="number"){w($,oe,"auto");return}let{left:he,top:ce,index:se,key:me,position:De,behavior:$e,debounce:Fe=!0}=$;if(he!==void 0||ce!==void 0)w(he,ce,$e);else if(se!==void 0)H(se,$e,Fe);else if(me!==void 0){let Xe=i.value.get(me);Xe!==void 0&&H(Xe,$e,Fe)}else De==="bottom"?w(0,Number.MAX_SAFE_INTEGER,$e):De==="top"&&w(0,0,$e)},g,T=null;function H($,oe,he){let{value:ce}=d,se=ce.sum($)+bl(e.paddingTop);if(!he)l.value.scrollTo({left:0,top:se,behavior:oe});else{g=$,T!==null&&window.clearTimeout(T),T=window.setTimeout(()=>{g=void 0,T=null},16);let{scrollTop:me,offsetHeight:De}=l.value;if(se>me){let $e=ce.get($);se+$e<=me+De||l.value.scrollTo({left:0,top:se+$e-De,behavior:oe})}else l.value.scrollTo({left:0,top:se,behavior:oe})}}function w($,oe,he){l.value.scrollTo({left:$,top:oe,behavior:he})}function S($,oe){var he,ce,se;if(r||e.ignoreItemResize||R(oe.target))return;let{value:me}=d,De=i.value.get($),$e=me.get(De),Fe=(se=(ce=(he=oe.borderBoxSize)===null||he===void 0?void 0:he[0])===null||ce===void 0?void 0:ce.blockSize)!==null&&se!==void 0?se:oe.contentRect.height;if(Fe===$e)return;Fe-e.itemSize===0?c.delete($):c.set($,Fe-e.itemSize);let Ve=Fe-$e;if(Ve===0)return;me.add(De,Ve);let rt=l.value;if(rt!=null){if(g===void 0){let St=me.sum(De);rt.scrollTop>St&&rt.scrollBy(0,Ve)}else if(De<g)rt.scrollBy(0,Ve);else if(De===g){let St=me.sum(De);Fe+St>rt.scrollTop+rt.offsetHeight&&rt.scrollBy(0,Ve)}j()}p.value++}let M=!cb(),x=!1;function E($){var oe;(oe=e.onScroll)===null||oe===void 0||oe.call(e,$),(!M||!x)&&j()}function P($){var oe;if((oe=e.onWheel)===null||oe===void 0||oe.call(e,$),M){let he=l.value;if(he!=null){if($.deltaX===0&&(he.scrollTop===0&&$.deltaY<=0||he.scrollTop+he.offsetHeight>=he.scrollHeight&&$.deltaY>=0))return;$.preventDefault(),he.scrollTop+=$.deltaY/Vd(),he.scrollLeft+=$.deltaX/Vd(),j(),x=!0,xa(()=>{x=!1})}}}function N($){if(r||R($.target))return;if(e.renderCol==null&&e.renderItemWithCols==null){if($.contentRect.height===u.value)return}else if($.contentRect.height===u.value&&$.contentRect.width===s.value)return;u.value=$.contentRect.height,s.value=$.contentRect.width;let{onResize:oe}=e;oe!==void 0&&oe($)}function j(){let{value:$}=l;$!=null&&(f.value=$.scrollTop,a.value=$.scrollLeft)}function R($){let oe=$;for(;oe!==null;){if(oe.style.display==="none")return!0;oe=oe.parentElement}return!1}return{listHeight:u,listStyle:{overflow:"auto"},keyToIndex:i,itemsStyle:V(()=>{let{itemResizable:$}=e,oe=Io(d.value.sum());return p.value,[e.itemsStyle,{boxSizing:"content-box",width:Io(n.value),height:$?"":oe,minHeight:$?oe:"",paddingTop:Io(e.paddingTop),paddingBottom:Io(e.paddingBottom)}]}),visibleItemsStyle:V(()=>(p.value,{transform:`translateY(${Io(d.value.sum(m.value))})`})),viewportItems:b,listElRef:l,itemsElRef:X(null),scrollTo:C,handleListResize:N,handleListScroll:E,handleListWheel:P,handleItemResize:S}},render(){let{itemResizable:e,keyField:t,keyToIndex:r,visibleItemsTag:o}=this;return v(Gr,{onResize:this.handleListResize},{default:()=>{var n,i;return v("div",ga(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[this.items.length!==0?v("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[v(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?v(jd,{index:c,item:l}):void 0,p=s!=null?v(jd,{index:c,item:l}):void 0,f=this.$slots.default({item:l,renderedCols:d,renderedItemWithCols:p,index:c})[0];return e?v(Gr,{key:u,onResize:m=>this.handleItemResize(u,m)},{default:()=>f}):(f.key=u,f)})}})]):(i=(n=this.$slots).empty)===null||i===void 0?void 0:i.call(n)])}})}});var fb="n-form-item";function Mr(e,{defaultSize:t="medium",mergedSize:r,mergedDisabled:o}={}){let n=_e(fb,null);Yt(fb,null);let i=V(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=V(o?()=>o(n):()=>{let{disabled:l}=e;return l!==void 0?l:n?n.disabled.value:!1}),s=V(()=>{let{status:l}=e;return l||n?.mergedValidationStatus.value});return Pt(()=>{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 $S=typeof global=="object"&&global&&global.Object===Object&&global,Ul=$S;var HS=typeof self=="object"&&self&&self.Object===Object&&self,zS=Ul||HS||Function("return this")(),$r=zS;var FS=$r.Symbol,Po=FS;var pb=Object.prototype,VS=pb.hasOwnProperty,jS=pb.toString,Aa=Po?Po.toStringTag:void 0;function WS(e){var t=VS.call(e,Aa),r=e[Aa];try{e[Aa]=void 0;var o=!0}catch{}var n=jS.call(e);return o&&(t?e[Aa]=r:delete e[Aa]),n}var mb=WS;var qS=Object.prototype,US=qS.toString;function KS(e){return US.call(e)}var hb=KS;var GS="[object Null]",XS="[object Undefined]",gb=Po?Po.toStringTag:void 0;function YS(e){return e==null?e===void 0?XS:GS:gb&&gb in Object(e)?mb(e):hb(e)}var xo=YS;function ZS(e){return e!=null&&typeof e=="object"}var Hr=ZS;var QS="[object Symbol]";function JS(e){return typeof e=="symbol"||Hr(e)&&xo(e)==QS}var bb=JS;function e6(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 xb=e6;var t6=Array.isArray,Xn=t6;var r6=1/0,vb=Po?Po.prototype:void 0,yb=vb?vb.toString:void 0;function wb(e){if(typeof e=="string")return e;if(Xn(e))return xb(e,wb)+"";if(bb(e))return yb?yb.call(e):"";var t=e+"";return t=="0"&&1/e==-r6?"-0":t}var Cb=wb;function o6(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var br=o6;function n6(e){return e}var Kl=n6;var i6="[object AsyncFunction]",a6="[object Function]",s6="[object GeneratorFunction]",l6="[object Proxy]";function u6(e){if(!br(e))return!1;var t=xo(e);return t==a6||t==s6||t==i6||t==l6}var wi=u6;var c6=$r["__core-js_shared__"],Gl=c6;var kb=function(){var e=/[^.]+$/.exec(Gl&&Gl.keys&&Gl.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function d6(e){return!!kb&&kb in e}var Sb=d6;var f6=Function.prototype,p6=f6.toString;function m6(e){if(e!=null){try{return p6.call(e)}catch{}try{return e+""}catch{}}return""}var Eb=m6;var h6=/[\\^$.*+?()[\]{}|]/g,g6=/^\[object .+?Constructor\]$/,b6=Function.prototype,x6=Object.prototype,v6=b6.toString,y6=x6.hasOwnProperty,w6=RegExp("^"+v6.call(y6).replace(h6,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function C6(e){if(!br(e)||Sb(e))return!1;var t=wi(e)?w6:g6;return t.test(Eb(e))}var _b=C6;function k6(e,t){return e?.[t]}var Tb=k6;function S6(e,t){var r=Tb(e,t);return _b(r)?r:void 0}var Ci=S6;var Db=Object.create,E6=function(){function e(){}return function(t){if(!br(t))return{};if(Db)return Db(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),Nb=E6;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 Ab=_6;function T6(e,t){var r=-1,o=e.length;for(t||(t=Array(o));++r<o;)t[r]=e[r];return t}var Ib=T6;var D6=800,N6=16,A6=Date.now;function I6(e){var t=0,r=0;return function(){var o=A6(),n=N6-(o-r);if(r=o,n>0){if(++t>=D6)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Lb=I6;function L6(e){return function(){return e}}var Ob=L6;var O6=function(){try{var e=Ci(Object,"defineProperty");return e({},"",{}),e}catch{}}(),ki=O6;var P6=ki?function(e,t){return ki(e,"toString",{configurable:!0,enumerable:!1,value:Ob(t),writable:!0})}:Kl,Pb=P6;var R6=Lb(Pb),Rb=R6;var B6=9007199254740991,M6=/^(?:0|[1-9]\d*)$/;function $6(e,t){var r=typeof e;return t=t??B6,!!t&&(r=="number"||r!="symbol"&&M6.test(e))&&e>-1&&e%1==0&&e<t}var Xl=$6;function H6(e,t,r){t=="__proto__"&&ki?ki(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var Si=H6;function z6(e,t){return e===t||e!==e&&t!==t}var cn=z6;var F6=Object.prototype,V6=F6.hasOwnProperty;function j6(e,t,r){var o=e[t];(!(V6.call(e,t)&&cn(o,r))||r===void 0&&!(t in e))&&Si(e,t,r)}var Bb=j6;function W6(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?Si(r,s,l):Bb(r,s,l)}return r}var Mb=W6;var $b=Math.max;function q6(e,t,r){return t=$b(t===void 0?e.length-1:t,0),function(){for(var o=arguments,n=-1,i=$b(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),Ab(e,this,s)}}var Hb=q6;function U6(e,t){return Rb(Hb(e,t,Kl),e+"")}var zb=U6;var K6=9007199254740991;function G6(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=K6}var Yl=G6;function X6(e){return e!=null&&Yl(e.length)&&!wi(e)}var Ei=X6;function Y6(e,t,r){if(!br(r))return!1;var o=typeof t;return(o=="number"?Ei(r)&&Xl(t,r.length):o=="string"&&t in r)?cn(r[t],e):!1}var Fb=Y6;function Z6(e){return zb(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&&Fb(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 Vb=Z6;var Q6=Object.prototype;function J6(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Q6;return e===r}var Zl=J6;function eE(e,t){for(var r=-1,o=Array(e);++r<e;)o[r]=t(r);return o}var jb=eE;var tE="[object Arguments]";function rE(e){return Hr(e)&&xo(e)==tE}var Wd=rE;var Wb=Object.prototype,oE=Wb.hasOwnProperty,nE=Wb.propertyIsEnumerable,iE=Wd(function(){return arguments}())?Wd:function(e){return Hr(e)&&oE.call(e,"callee")&&!nE.call(e,"callee")},Ia=iE;function aE(){return!1}var qb=aE;var Gb=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ub=Gb&&typeof module=="object"&&module&&!module.nodeType&&module,sE=Ub&&Ub.exports===Gb,Kb=sE?$r.Buffer:void 0,lE=Kb?Kb.isBuffer:void 0,uE=lE||qb,Ql=uE;var cE="[object Arguments]",dE="[object Array]",fE="[object Boolean]",pE="[object Date]",mE="[object Error]",hE="[object Function]",gE="[object Map]",bE="[object Number]",xE="[object Object]",vE="[object RegExp]",yE="[object Set]",wE="[object String]",CE="[object WeakMap]",kE="[object ArrayBuffer]",SE="[object DataView]",EE="[object Float32Array]",_E="[object Float64Array]",TE="[object Int8Array]",DE="[object Int16Array]",NE="[object Int32Array]",AE="[object Uint8Array]",IE="[object Uint8ClampedArray]",LE="[object Uint16Array]",OE="[object Uint32Array]",wt={};wt[EE]=wt[_E]=wt[TE]=wt[DE]=wt[NE]=wt[AE]=wt[IE]=wt[LE]=wt[OE]=!0;wt[cE]=wt[dE]=wt[kE]=wt[fE]=wt[SE]=wt[pE]=wt[mE]=wt[hE]=wt[gE]=wt[bE]=wt[xE]=wt[vE]=wt[yE]=wt[wE]=wt[CE]=!1;function PE(e){return Hr(e)&&Yl(e.length)&&!!wt[xo(e)]}var Xb=PE;function RE(e){return function(t){return e(t)}}var Yb=RE;var Zb=typeof exports=="object"&&exports&&!exports.nodeType&&exports,La=Zb&&typeof module=="object"&&module&&!module.nodeType&&module,BE=La&&La.exports===Zb,qd=BE&&Ul.process,ME=function(){try{var e=La&&La.require&&La.require("util").types;return e||qd&&qd.binding&&qd.binding("util")}catch{}}(),Ud=ME;var Qb=Ud&&Ud.isTypedArray,$E=Qb?Yb(Qb):Xb,Jl=$E;var HE=Object.prototype,zE=HE.hasOwnProperty;function FE(e,t){var r=Xn(e),o=!r&&Ia(e),n=!r&&!o&&Ql(e),i=!r&&!o&&!n&&Jl(e),a=r||o||n||i,s=a?jb(e.length,String):[],l=s.length;for(var u in e)(t||zE.call(e,u))&&!(a&&(u=="length"||n&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||Xl(u,l)))&&s.push(u);return s}var Jb=FE;function VE(e,t){return function(r){return e(t(r))}}var ex=VE;function jE(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var tx=jE;var WE=Object.prototype,qE=WE.hasOwnProperty;function UE(e){if(!br(e))return tx(e);var t=Zl(e),r=[];for(var o in e)o=="constructor"&&(t||!qE.call(e,o))||r.push(o);return r}var rx=UE;function KE(e){return Ei(e)?Jb(e,!0):rx(e)}var eu=KE;var GE=Ci(Object,"create"),Ro=GE;function XE(){this.__data__=Ro?Ro(null):{},this.size=0}var ox=XE;function YE(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var nx=YE;var ZE="__lodash_hash_undefined__",QE=Object.prototype,JE=QE.hasOwnProperty;function e4(e){var t=this.__data__;if(Ro){var r=t[e];return r===ZE?void 0:r}return JE.call(t,e)?t[e]:void 0}var ix=e4;var t4=Object.prototype,r4=t4.hasOwnProperty;function o4(e){var t=this.__data__;return Ro?t[e]!==void 0:r4.call(t,e)}var ax=o4;var n4="__lodash_hash_undefined__";function i4(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ro&&t===void 0?n4:t,this}var sx=i4;function _i(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])}}_i.prototype.clear=ox;_i.prototype.delete=nx;_i.prototype.get=ix;_i.prototype.has=ax;_i.prototype.set=sx;var Kd=_i;function a4(){this.__data__=[],this.size=0}var lx=a4;function s4(e,t){for(var r=e.length;r--;)if(cn(e[r][0],t))return r;return-1}var dn=s4;var l4=Array.prototype,u4=l4.splice;function c4(e){var t=this.__data__,r=dn(t,e);if(r<0)return!1;var o=t.length-1;return r==o?t.pop():u4.call(t,r,1),--this.size,!0}var ux=c4;function d4(e){var t=this.__data__,r=dn(t,e);return r<0?void 0:t[r][1]}var cx=d4;function f4(e){return dn(this.__data__,e)>-1}var dx=f4;function p4(e,t){var r=this.__data__,o=dn(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}var fx=p4;function Ti(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])}}Ti.prototype.clear=lx;Ti.prototype.delete=ux;Ti.prototype.get=cx;Ti.prototype.has=dx;Ti.prototype.set=fx;var fn=Ti;var m4=Ci($r,"Map"),tu=m4;function h4(){this.size=0,this.__data__={hash:new Kd,map:new(tu||fn),string:new Kd}}var px=h4;function g4(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var mx=g4;function b4(e,t){var r=e.__data__;return mx(t)?r[typeof t=="string"?"string":"hash"]:r.map}var pn=b4;function x4(e){var t=pn(this,e).delete(e);return this.size-=t?1:0,t}var hx=x4;function v4(e){return pn(this,e).get(e)}var gx=v4;function y4(e){return pn(this,e).has(e)}var bx=y4;function w4(e,t){var r=pn(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}var xx=w4;function Di(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])}}Di.prototype.clear=px;Di.prototype.delete=hx;Di.prototype.get=gx;Di.prototype.has=bx;Di.prototype.set=xx;var vx=Di;function C4(e){return e==null?"":Cb(e)}var yx=C4;var k4=ex(Object.getPrototypeOf,Object),ru=k4;var S4="[object Object]",E4=Function.prototype,_4=Object.prototype,wx=E4.toString,T4=_4.hasOwnProperty,D4=wx.call(Object);function N4(e){if(!Hr(e)||xo(e)!=S4)return!1;var t=ru(e);if(t===null)return!0;var r=T4.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&wx.call(r)==D4}var Cx=N4;function A4(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 kx=A4;function I4(e,t,r){var o=e.length;return r=r===void 0?o:r,!t&&r>=o?e:kx(e,t,r)}var Sx=I4;var L4="\\ud800-\\udfff",O4="\\u0300-\\u036f",P4="\\ufe20-\\ufe2f",R4="\\u20d0-\\u20ff",B4=O4+P4+R4,M4="\\ufe0e\\ufe0f",$4="\\u200d",H4=RegExp("["+$4+L4+B4+M4+"]");function z4(e){return H4.test(e)}var ou=z4;function F4(e){return e.split("")}var Ex=F4;var _x="\\ud800-\\udfff",V4="\\u0300-\\u036f",j4="\\ufe20-\\ufe2f",W4="\\u20d0-\\u20ff",q4=V4+j4+W4,U4="\\ufe0e\\ufe0f",K4="["+_x+"]",Gd="["+q4+"]",Xd="\\ud83c[\\udffb-\\udfff]",G4="(?:"+Gd+"|"+Xd+")",Tx="[^"+_x+"]",Dx="(?:\\ud83c[\\udde6-\\uddff]){2}",Nx="[\\ud800-\\udbff][\\udc00-\\udfff]",X4="\\u200d",Ax=G4+"?",Ix="["+U4+"]?",Y4="(?:"+X4+"(?:"+[Tx,Dx,Nx].join("|")+")"+Ix+Ax+")*",Z4=Ix+Ax+Y4,Q4="(?:"+[Tx+Gd+"?",Gd,Dx,Nx,K4].join("|")+")",J4=RegExp(Xd+"(?="+Xd+")|"+Q4+Z4,"g");function e_(e){return e.match(J4)||[]}var Lx=e_;function t_(e){return ou(e)?Lx(e):Ex(e)}var Ox=t_;function r_(e){return function(t){t=yx(t);var r=ou(t)?Ox(t):void 0,o=r?r[0]:t.charAt(0),n=r?Sx(r,1).join(""):t.slice(1);return o[e]()+n}}var Px=r_;var o_=Px("toUpperCase"),Yd=o_;function n_(){this.__data__=new fn,this.size=0}var Rx=n_;function i_(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var Bx=i_;function a_(e){return this.__data__.get(e)}var Mx=a_;function s_(e){return this.__data__.has(e)}var $x=s_;var l_=200;function u_(e,t){var r=this.__data__;if(r instanceof fn){var o=r.__data__;if(!tu||o.length<l_-1)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new vx(o)}return r.set(e,t),this.size=r.size,this}var Hx=u_;function Ni(e){var t=this.__data__=new fn(e);this.size=t.size}Ni.prototype.clear=Rx;Ni.prototype.delete=Bx;Ni.prototype.get=Mx;Ni.prototype.has=$x;Ni.prototype.set=Hx;var zx=Ni;var Wx=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Fx=Wx&&typeof module=="object"&&module&&!module.nodeType&&module,c_=Fx&&Fx.exports===Wx,Vx=c_?$r.Buffer:void 0,jx=Vx?Vx.allocUnsafe:void 0;function d_(e,t){if(t)return e.slice();var r=e.length,o=jx?jx(r):new e.constructor(r);return e.copy(o),o}var qx=d_;var f_=$r.Uint8Array,Zd=f_;function p_(e){var t=new e.constructor(e.byteLength);return new Zd(t).set(new Zd(e)),t}var Ux=p_;function m_(e,t){var r=t?Ux(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var Kx=m_;function h_(e){return typeof e.constructor=="function"&&!Zl(e)?Nb(ru(e)):{}}var Gx=h_;function g_(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 Xx=g_;var b_=Xx(),Yx=b_;function x_(e,t,r){(r!==void 0&&!cn(e[t],r)||r===void 0&&!(t in e))&&Si(e,t,r)}var Oa=x_;function v_(e){return Hr(e)&&Ei(e)}var Zx=v_;function y_(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var Pa=y_;function w_(e){return Mb(e,eu(e))}var Qx=w_;function C_(e,t,r,o,n,i,a){var s=Pa(e,r),l=Pa(t,r),u=a.get(l);if(u){Oa(e,r,u);return}var c=i?i(s,l,r+"",e,t,a):void 0,d=c===void 0;if(d){var p=Xn(l),f=!p&&Ql(l),m=!p&&!f&&Jl(l);c=l,p||f||m?Xn(s)?c=s:Zx(s)?c=Ib(s):f?(d=!1,c=qx(l,!0)):m?(d=!1,c=Kx(l,!0)):c=[]:Cx(l)||Ia(l)?(c=s,Ia(s)?c=Qx(s):(!br(s)||wi(s))&&(c=Gx(l))):d=!1}d&&(a.set(l,c),n(c,l,o,i,a),a.delete(l)),Oa(e,r,c)}var Jx=C_;function ev(e,t,r,o,n){e!==t&&Yx(t,function(i,a){if(n||(n=new zx),br(i))Jx(e,t,a,r,ev,o,n);else{var s=o?o(Pa(e,a),i,a+"",e,t,n):void 0;s===void 0&&(s=i),Oa(e,a,s)}},eu)}var tv=ev;var k_=Vb(function(e,t,r){tv(e,t,r)}),mn=k_;var ir={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:S_,fontFamily:E_,lineHeight:__}=ir,nu=J("body",`
|
|
margin: 0;
|
|
font-size: ${S_};
|
|
font-family: ${E_};
|
|
line-height: ${__};
|
|
-webkit-text-size-adjust: 100%;
|
|
-webkit-tap-highlight-color: transparent;
|
|
`,[J("input",`
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
`)]);var dr="n-config-provider";var hn="naive-ui-style";function rv(e,t,r,o,n,i){let a=Rr();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:hn,ssr:a}),nu.mount({id:"n-global",head:!0,anchorMetaName:hn,ssr:a})};a?u():No(u)}let s=_e(dr,null);return V(()=>{var u;let{theme:{common:c,self:d,peers:p={}}={},themeOverrides:f={},builtinThemeOverrides:m={}}=n,{common:b,peers:C}=f,{common:g=void 0,[e]:{common:T=void 0,self:H=void 0,peers:w={}}={}}=s?.mergedThemeRef.value||{},{common:S=void 0,[e]:M={}}=s?.mergedThemeOverridesRef.value||{},{common:x,peers:E={}}=M,P=mn({},c||T||g||o.common,S,x,b),N=mn((u=d||H||o.self)===null||u===void 0?void 0:u(P),m,M,f);return{common:P,self:N,peers:mn({},o.peers,w,p),peerOverrides:mn({},E,C)}})}rv.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};var At=rv;var iu="n";function jt(e={},t={defaultBordered:!0}){let r=_e(dr,null);return{inlineThemeDisabled:r?.inlineThemeDisabled,mergedRtlRef:r?.mergedRtlRef,mergedComponentPropsRef:r?.mergedComponentPropsRef,mergedBreakpointsRef:r?.mergedBreakpointsRef,mergedBorderedRef:V(()=>{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:V(()=>r?.mergedClsPrefixRef.value||iu),namespaceRef:V(()=>r?.mergedNamespaceRef.value)}}var T_={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)"}},Qd=T_;var Sv=yh(kv()),E5={name:"en-US",locale:Sv.default},ef=E5;function Ai(e){let{mergedLocaleRef:t,mergedDateLocaleRef:r}=_e(dr,null)||{},o=V(()=>{var i,a;return(a=(i=t?.value)===null||i===void 0?void 0:i[e])!==null&&a!==void 0?a:Qd[e]});return{dateLocaleRef:V(()=>{var i;return(i=r?.value)!==null&&i!==void 0?i:ef}),localeRef:o}}function vo(e,t,r){if(!t)return;let o=Rr(),n=()=>{let i=r?.value;t.mount({id:i===void 0?e:i+e,head:!0,anchorMetaName:hn,props:{bPrefix:i?`.${i}-`:void 0},ssr:o}),nu.mount({id:"n-global",head:!0,anchorMetaName:hn,ssr:o})};o?n():No(n)}function ar(e,t,r,o){var n;r||vl("useThemeClass","cssVarsRef is not passed");let i=(n=_e(dr,null))===null||n===void 0?void 0:n.mergedThemeHashRef,a=X(""),s=Rr(),l,u=`__${e}`,c=()=>{let d=u,p=t?t.value:void 0,f=i?.value;f&&(d+="-"+f),p&&(d+="-"+p);let{themeOverrides:m,builtinThemeOverrides:b}=o;m&&(d+="-"+Sr(JSON.stringify(m))),b&&(d+="-"+Sr(JSON.stringify(b))),a.value=d,l=()=>{let C=r.value,g="";for(let T in C)g+=`${T}: ${C[T]};`;J(`.${d}`,g).mount({id:d,ssr:s}),l=void 0}};return $t(()=>{c()}),{themeClass:a,onRender:()=>{l?.()}}}function Ev(e,t){return fe({name:Yd(e),setup(){var r;let o=(r=_e(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 tf=fe({name:"Eye",render(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},v("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"}),v("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}});var rf=fe({name:"EyeOff",render(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},v("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"}),v("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"}),v("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"}),v("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"}),v("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 of=fe({name:"Empty",render(){return v("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("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"}),v("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 nf=fe({name:"Switcher",render(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},v("path",{d:"M12 8l10 8l-10 8z"}))}});var af=fe({name:"ChevronDown",render(){return v("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("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 sf=Ev("clear",v("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("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 zr=fe({name:"BaseIconSwitchTransition",setup(e,{slots:t}){let r=ln();return()=>v(Ur,{name:"icon-switch-transition",appear:r.value},t)}});var Ii=fe({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?rg:Ur;return v(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 _v=K("base-icon",`
|
|
height: 1em;
|
|
width: 1em;
|
|
line-height: 1em;
|
|
text-align: center;
|
|
display: inline-block;
|
|
position: relative;
|
|
fill: currentColor;
|
|
transform: translateZ(0);
|
|
`,[J("svg",{height:"1em",width:"1em"})]);var Fr=fe({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){vo("-base-icon",_v,Me(e,"clsPrefix"))},render(){return v("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:_5}=ir;function Er({originalTransform:e="",left:t=0,top:r=0,transition:o=`all .3s ${_5} !important`}={}){return[J("&.icon-switch-transition-enter-from, &.icon-switch-transition-leave-to",{transform:e+" scale(0.75)",left:t,top:r,opacity:0}),J("&.icon-switch-transition-enter-to, &.icon-switch-transition-leave-from",{transform:`scale(1) ${e}`,left:t,top:r,opacity:1}),J("&.icon-switch-transition-enter-active, &.icon-switch-transition-leave-active",{transformOrigin:"center",position:"absolute",left:t,top:r,transition:o})]}var Tv=J([J("@keyframes loading-container-rotate",`
|
|
to {
|
|
-webkit-transform: rotate(360deg);
|
|
transform: rotate(360deg);
|
|
}
|
|
`),J("@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);
|
|
}
|
|
`),J("@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);
|
|
}
|
|
`),J("@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);
|
|
}
|
|
`),K("base-loading",`
|
|
position: relative;
|
|
line-height: 0;
|
|
width: 1em;
|
|
height: 1em;
|
|
`,[ee("transition-wrapper",`
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
`,[Er()]),ee("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%;
|
|
`,[ee("svg",`
|
|
stroke: var(--n-text-color);
|
|
fill: transparent;
|
|
position: absolute;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
`),ee("container-layer",`
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
animation: loading-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
|
|
`,[ee("container-layer-left",`
|
|
display: inline-flex;
|
|
position: relative;
|
|
width: 50%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
`,[ee("svg",`
|
|
animation: loading-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
|
|
width: 200%;
|
|
`)]),ee("container-layer-patch",`
|
|
position: absolute;
|
|
top: 0;
|
|
left: 47.5%;
|
|
box-sizing: border-box;
|
|
width: 5%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
`,[ee("svg",`
|
|
left: -900%;
|
|
width: 2000%;
|
|
transform: rotate(180deg);
|
|
`)]),ee("container-layer-right",`
|
|
display: inline-flex;
|
|
position: relative;
|
|
width: 50%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
`,[ee("svg",`
|
|
animation: loading-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
|
|
left: -100%;
|
|
width: 200%;
|
|
`)])])]),ee("placeholder",`
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translateX(-50%) translateY(-50%);
|
|
`,[Er({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})])])]);var gn=fe({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){vo("-base-loading",Tv,Me(e,"clsPrefix"))},render(){let{clsPrefix:e,radius:t,strokeWidth:r,stroke:o,scale:n}=this,i=t/n;return v("div",{class:`${e}-base-loading`,role:"img","aria-label":"loading"},v(zr,null,{default:()=>this.show?v("div",{key:"icon",class:`${e}-base-loading__transition-wrapper`},v("div",{class:`${e}-base-loading__container`},v("div",{class:`${e}-base-loading__container-layer`},v("div",{class:`${e}-base-loading__container-layer-left`},v("svg",{class:`${e}-base-loading__svg`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},v("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}))),v("div",{class:`${e}-base-loading__container-layer-patch`},v("svg",{class:`${e}-base-loading__svg`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},v("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}))),v("div",{class:`${e}-base-loading__container-layer-right`},v("svg",{class:`${e}-base-loading__svg`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},v("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})))))):v("div",{key:"placeholder",class:`${e}-base-loading__placeholder`},this.$slots)}))}});function lf(e){return Array.isArray(e)?e:[e]}var cu={STOP:"STOP"};function uf(e,t){let r=t(e);e.children!==void 0&&r!==cu.STOP&&e.children.forEach(o=>uf(o,t))}function Dv(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 Nv(e,t){let{isLeaf:r}=e;return r!==void 0?r:!t(e)}function Av(e){return e.children}function Iv(e){return e.key}function Lv(){return!1}function Ov(e,t){let{isLeaf:r}=e;return!(r===!1&&!Array.isArray(t(e)))}function Pv(e){return e.disabled===!0}function Rv(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function du(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function fu(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function Bv(e,t){let r=new Set(e);return t.forEach(o=>{r.has(o)||r.add(o)}),Array.from(r)}function Mv(e,t){let r=new Set(e);return t.forEach(o=>{r.has(o)&&r.delete(o)}),Array.from(r)}function $v(e){return e?.type==="group"}function cf(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 df=class extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}};function T5(e,t,r,o){return pu(t.concat(e),r,o,!1)}function D5(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 N5(e,t,r,o){let n=pu(t,r,o,!1),i=pu(e,r,o,!0),a=D5(e,r),s=[];return n.forEach(l=>{(i.has(l)||a.has(l))&&s.push(l)}),s.forEach(l=>n.delete(l)),n}function mu(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:Bv(r,o),indeterminateKeys:Array.from(i)}:n!==void 0?{checkedKeys:Mv(r,n),indeterminateKeys:Array.from(i)}:{checkedKeys:Array.from(r),indeterminateKeys:Array.from(i)};let{levelTreeNodeMap:c}=t,d;n!==void 0?d=N5(n,r,t,u):o!==void 0?d=T5(o,r,t,u):d=pu(r,t,u,!1);let p=l==="parent",f=l==="child"||s,m=d,b=new Set,C=Math.max.apply(null,Array.from(c.keys()));for(let g=C;g>=0;g-=1){let T=g===0,H=c.get(g);for(let w of H){if(w.isLeaf)continue;let{key:S,shallowLoaded:M}=w;if(f&&M&&w.children.forEach(N=>{!N.disabled&&!N.isLeaf&&N.shallowLoaded&&m.has(N.key)&&m.delete(N.key)}),w.disabled||!M)continue;let x=!0,E=!1,P=!0;for(let N of w.children){let j=N.key;if(!N.disabled){if(P&&(P=!1),m.has(j))E=!0;else if(b.has(j)){E=!0,x=!1;break}else if(x=!1,E)break}}x&&!P?(p&&w.children.forEach(N=>{!N.disabled&&m.has(N.key)&&m.delete(N.key)}),m.add(S)):E&&b.add(S),T&&f&&m.has(S)&&m.delete(S)}}return{checkedKeys:Array.from(m),indeterminateKeys:Array.from(b)}}function pu(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&&uf(u,c=>{if(c.disabled)return cu.STOP;let{key:d}=c;if(!a.has(d)&&(a.add(d),s.add(d),Rv(c.rawNode,i))){if(o)return cu.STOP;if(!r)throw new df}})}),s}function Hv(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 Fv(e){if(e.length===0)return null;let t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function A5(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 zv(e,t,{loop:r=!1,includeDisabled:o=!1}={}){let n=t==="prev"?I5:A5,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=ff(u,i);c!==null?s=c:l(n(u,r))}else{let c=n(u,!1);if(c!==null)l(c);else{let d=L5(u);d?.isGroup?l(n(d,r)):r&&l(n(u,!0))}}}}return l(e),s}function I5(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 L5(e){return e.parent}function ff(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=ff(u,t);if(c!==null)return c}else return u}}return null}var Vv={getChild(){return this.ignored?null:ff(this)},getParent(){let{parent:e}=this;return e?.isGroup?e.getParent():e},getNext(e={}){return zv(this,"next",e)},getPrev(e={}){return zv(this,"prev",e)}};function Li(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 jv(e,t){let r=e.key;for(;t;){if(t.key===r)return!0;t=t.parent}return!1}function Wv(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=Wv(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 pf(e,t={}){var r;let o=new Map,n=new Map,{getDisabled:i=Pv,getIgnored:a=Lv,getIsGroup:s=$v,getKey:l=Iv}=t,u=(r=t.getChildren)!==null&&r!==void 0?r:Av,c=t.ignoreEmptyChildren?w=>{let S=u(w);return Array.isArray(S)?S.length?S:null:S}: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 Nv(this.rawNode,c)},get shallowLoaded(){return Ov(this.rawNode,c)},get ignored(){return a(this.rawNode)},contains(w){return jv(this,w)}},Vv),p=Wv(e,o,n,d,c);function f(w){if(w==null)return null;let S=o.get(w);return S&&!S.isGroup&&!S.ignored?S:null}function m(w){if(w==null)return null;let S=o.get(w);return S&&!S.ignored?S:null}function b(w,S){let M=m(w);return M?M.getPrev(S):null}function C(w,S){let M=m(w);return M?M.getNext(S):null}function g(w){let S=m(w);return S?S.getParent():null}function T(w){let S=m(w);return S?S.getChild():null}let H={treeNodes:p,treeNodeMap:o,levelTreeNodeMap:n,maxLevel:Math.max(...n.keys()),getChildren:c,getFlattenedNodes(w){return Li(p,w)},getNode:f,getPrev:b,getNext:C,getParent:g,getChild:T,getFirstAvailableNode(){return Fv(p)},getPath(w,S={}){return Hv(w,S,H)},getCheckedKeys(w,S={}){let{cascade:M=!0,leafOnly:x=!1,checkStrategy:E="all",allowNotLoaded:P=!1}=S;return mu({checkedKeys:du(w),indeterminateKeys:fu(w),cascade:M,leafOnly:x,checkStrategy:E,allowNotLoaded:P},H)},check(w,S,M={}){let{cascade:x=!0,leafOnly:E=!1,checkStrategy:P="all",allowNotLoaded:N=!1}=M;return mu({checkedKeys:du(S),indeterminateKeys:fu(S),keysToCheck:w==null?[]:lf(w),cascade:x,leafOnly:E,checkStrategy:P,allowNotLoaded:N},H)},uncheck(w,S,M={}){let{cascade:x=!0,leafOnly:E=!1,checkStrategy:P="all",allowNotLoaded:N=!1}=M;return mu({checkedKeys:du(S),indeterminateKeys:fu(S),keysToUncheck:w==null?[]:lf(w),cascade:x,leafOnly:E,checkStrategy:P,allowNotLoaded:N},H)},getNonLeafKeys(w={}){return Dv(p,w)}};return H}var ve={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)"},O5=Pr(ve.neutralBase),qv=Pr(ve.neutralInvertBase),P5="rgba("+qv.slice(0,3).join(", ")+", ";function nt(e){return P5+String(e)+")"}function R5(e){let t=Array.from(qv);return t[3]=Number(e),we(O5,t)}var B5=Object.assign(Object.assign({name:"common"},ir),{baseColor:ve.neutralBase,primaryColor:ve.primaryDefault,primaryColorHover:ve.primaryHover,primaryColorPressed:ve.primaryActive,primaryColorSuppl:ve.primarySuppl,infoColor:ve.infoDefault,infoColorHover:ve.infoHover,infoColorPressed:ve.infoActive,infoColorSuppl:ve.infoSuppl,successColor:ve.successDefault,successColorHover:ve.successHover,successColorPressed:ve.successActive,successColorSuppl:ve.successSuppl,warningColor:ve.warningDefault,warningColorHover:ve.warningHover,warningColorPressed:ve.warningActive,warningColorSuppl:ve.warningSuppl,errorColor:ve.errorDefault,errorColorHover:ve.errorHover,errorColorPressed:ve.errorActive,errorColorSuppl:ve.errorSuppl,textColorBase:ve.neutralTextBase,textColor1:nt(ve.alpha1),textColor2:nt(ve.alpha2),textColor3:nt(ve.alpha3),textColorDisabled:nt(ve.alpha4),placeholderColor:nt(ve.alpha4),placeholderColorDisabled:nt(ve.alpha5),iconColor:nt(ve.alpha4),iconColorDisabled:nt(ve.alpha5),iconColorHover:nt(Number(ve.alpha4)*1.25),iconColorPressed:nt(Number(ve.alpha4)*.8),opacity1:ve.alpha1,opacity2:ve.alpha2,opacity3:ve.alpha3,opacity4:ve.alpha4,opacity5:ve.alpha5,dividerColor:nt(ve.alphaDivider),borderColor:nt(ve.alphaBorder),closeColorHover:nt(Number(ve.alphaClose)*1.25),closeColor:nt(Number(ve.alphaClose)),closeColorPressed:nt(Number(ve.alphaClose)*.8),closeColorDisabled:nt(ve.alpha4),clearColor:nt(ve.alpha4),clearColorHover:Oo(nt(ve.alpha4),{alpha:1.25}),clearColorPressed:Oo(nt(ve.alpha4),{alpha:.8}),scrollbarColor:nt(ve.alphaScrollbar),scrollbarColorHover:nt(ve.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:nt(ve.alphaProgressRail),railColor:nt(ve.alphaRail),popoverColor:ve.neutralPopover,tableColor:ve.neutralCard,cardColor:ve.neutralCard,modalColor:ve.neutralModal,bodyColor:ve.neutralBody,tagColor:R5(ve.alphaTag),avatarColor:nt(ve.alphaAvatar),invertedColor:ve.neutralBase,inputColor:nt(ve.alphaInput),codeColor:nt(ve.alphaCode),tabColor:nt(ve.alphaTab),actionColor:nt(ve.alphaAction),tableHeaderColor:nt(ve.alphaAction),hoverColor:nt(ve.alphaPending),tableColorHover:nt(ve.alphaTablePending),tableColorStriped:nt(ve.alphaTableStriped),pressedColor:nt(ve.alphaPressed),opacityDisabled:ve.alphaDisabled,inputColorDisabled:nt(ve.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)"}),A=B5;var Ie={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"},M5=Pr(Ie.neutralBase),Kv=Pr(Ie.neutralInvertBase),$5="rgba("+Kv.slice(0,3).join(", ")+", ";function Uv(e){return $5+String(e)+")"}function Qt(e){let t=Array.from(Kv);return t[3]=Number(e),we(M5,t)}var H5=Object.assign(Object.assign({name:"common"},ir),{baseColor:Ie.neutralBase,primaryColor:Ie.primaryDefault,primaryColorHover:Ie.primaryHover,primaryColorPressed:Ie.primaryActive,primaryColorSuppl:Ie.primarySuppl,infoColor:Ie.infoDefault,infoColorHover:Ie.infoHover,infoColorPressed:Ie.infoActive,infoColorSuppl:Ie.infoSuppl,successColor:Ie.successDefault,successColorHover:Ie.successHover,successColorPressed:Ie.successActive,successColorSuppl:Ie.successSuppl,warningColor:Ie.warningDefault,warningColorHover:Ie.warningHover,warningColorPressed:Ie.warningActive,warningColorSuppl:Ie.warningSuppl,errorColor:Ie.errorDefault,errorColorHover:Ie.errorHover,errorColorPressed:Ie.errorActive,errorColorSuppl:Ie.errorSuppl,textColorBase:Ie.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:Qt(Ie.alpha4),placeholderColor:Qt(Ie.alpha4),placeholderColorDisabled:Qt(Ie.alpha5),iconColor:Qt(Ie.alpha4),iconColorHover:Oo(Qt(Ie.alpha4),{lightness:.75}),iconColorPressed:Oo(Qt(Ie.alpha4),{lightness:.9}),iconColorDisabled:Qt(Ie.alpha5),opacity1:Ie.alpha1,opacity2:Ie.alpha2,opacity3:Ie.alpha3,opacity4:Ie.alpha4,opacity5:Ie.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeColor:Qt(Number(Ie.alphaClose)),closeColorHover:Qt(Number(Ie.alphaClose)*1.25),closeColorPressed:Qt(Number(Ie.alphaClose)*.8),closeColorDisabled:Qt(Ie.alpha4),clearColor:Qt(Ie.alpha4),clearColorHover:Oo(Qt(Ie.alpha4),{lightness:.75}),clearColorPressed:Oo(Qt(Ie.alpha4),{lightness:.9}),scrollbarColor:Uv(Ie.alphaScrollbar),scrollbarColorHover:Uv(Ie.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Qt(Ie.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:Ie.neutralPopover,tableColor:Ie.neutralCard,cardColor:Ie.neutralCard,modalColor:Ie.neutralModal,bodyColor:Ie.neutralBody,tagColor:"rgb(250, 250, 252)",avatarColor:Qt(Ie.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:Qt(Ie.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:Ie.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)"}),ye=H5;var Gv={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"};var mf=e=>{let{textColorDisabled:t,iconColor:r,textColor2:o,fontSizeSmall:n,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s}=e;return Object.assign(Object.assign({},Gv),{fontSizeSmall:n,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s,textColor:t,iconColor:r,extraTextColor:o})},z5={name:"Empty",common:ye,self:mf},_r=z5;var F5={name:"Empty",common:A,self:mf},Tr=F5;var Xv=K("empty",`
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
font-size: var(--n-font-size);
|
|
`,[ee("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);
|
|
`,[J("+",[ee("description",`
|
|
margin-top: 8px;
|
|
`)])]),ee("description",`
|
|
transition: color .3s var(--n-bezier);
|
|
color: var(--n-text-color);
|
|
`),ee("extra",`
|
|
text-align: center;
|
|
transition: color .3s var(--n-bezier);
|
|
margin-top: 12px;
|
|
color: var(--n-extra-text-color);
|
|
`)]);var V5=Object.assign(Object.assign({},At.props),{description:String,showDescription:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},size:{type:String,default:"medium"},renderIcon:Function}),hf=fe({name:"Empty",props:V5,setup(e){let{mergedClsPrefixRef:t,inlineThemeDisabled:r}=jt(e),o=At("Empty","-empty",Xv,_r,e,t),{localeRef:n}=Ai("Empty"),i=_e(dr,null),a=V(()=>{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=V(()=>{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)||(()=>v(of,null))}),l=V(()=>{let{size:c}=e,{common:{cubicBezierEaseInOut:d},self:{[He("iconSize",c)]:p,[He("fontSize",c)]:f,textColor:m,iconColor:b,extraTextColor:C}}=o.value;return{"--n-icon-size":p,"--n-font-size":f,"--n-bezier":d,"--n-text-color":m,"--n-icon-color":b,"--n-extra-text-color":C}}),u=r?ar("empty",V(()=>{let c="",{size:d}=e;return c+=d[0],c}),l,e):void 0;return{mergedClsPrefix:t,mergedRenderIcon:s,localizedDescription:V(()=>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?.(),v("div",{class:[`${t}-empty`,this.themeClass],style:this.cssVars},this.showIcon?v("div",{class:`${t}-empty__icon`},e.icon?e.icon():v(Fr,{clsPrefix:t},{default:this.mergedRenderIcon})):null,this.showDescription?v("div",{class:`${t}-empty__description`},e.default?e.default():this.localizedDescription):null,e.extra?v("div",{class:`${t}-empty__extra`},e.extra()):null)}});var gf=e=>{let{scrollbarColor:t,scrollbarColorHover:r}=e;return{color:t,colorHover:r}},j5={name:"Scrollbar",common:ye,self:gf},Rt=j5;var W5={name:"Scrollbar",common:A,self:gf},gt=W5;var{cubicBezierEaseInOut:Yv}=ir;function Zv({name:e="fade-in",enterDuration:t="0.2s",leaveDuration:r="0.2s",enterCubicBezier:o=Yv,leaveCubicBezier:n=Yv}={}){return[J(`&.${e}-transition-enter-active`,{transition:`all ${t} ${o}!important`}),J(`&.${e}-transition-leave-active`,{transition:`all ${r} ${n}!important`}),J(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0}),J(`&.${e}-transition-leave-from, &.${e}-transition-enter-to`,{opacity:1})]}var Qv=K("scrollbar",`
|
|
overflow: hidden;
|
|
position: relative;
|
|
z-index: auto;
|
|
height: 100%;
|
|
width: 100%;
|
|
`,[J(">",[K("scrollbar-container",`
|
|
width: 100%;
|
|
overflow: scroll;
|
|
height: 100%;
|
|
max-height: inherit;
|
|
scrollbar-width: none;
|
|
`,[J("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",`
|
|
width: 0;
|
|
height: 0;
|
|
display: none;
|
|
`),J(">",[K("scrollbar-content",`
|
|
box-sizing: border-box;
|
|
min-width: 100%;
|
|
`)])]),K("scrollbar-rail",`
|
|
position: absolute;
|
|
pointer-events: none;
|
|
user-select: none;
|
|
`,[Se("horizontal",`
|
|
left: 2px;
|
|
right: 2px;
|
|
bottom: 4px;
|
|
height: var(--n-scrollbar-height);
|
|
`,[J(">",[ee("scrollbar",`
|
|
height: var(--n-scrollbar-height);
|
|
border-radius: var(--n-scrollbar-border-radius);
|
|
right: 0;
|
|
`)])]),Se("vertical",`
|
|
right: 4px;
|
|
top: 2px;
|
|
bottom: 2px;
|
|
width: var(--n-scrollbar-width);
|
|
`,[J(">",[ee("scrollbar",`
|
|
width: var(--n-scrollbar-width);
|
|
border-radius: var(--n-scrollbar-border-radius);
|
|
bottom: 0;
|
|
`)])]),Se("disabled",[J(">",[ee("scrollbar",{pointerEvents:"none"})])]),J(">",[ee("scrollbar",`
|
|
position: absolute;
|
|
cursor: pointer;
|
|
pointer-events: all;
|
|
background-color: var(--n-scrollbar-color);
|
|
transition: background-color .2s var(--n-scrollbar-bezier);
|
|
`,[Zv(),J("&:hover",{backgroundColor:"var(--n-scrollbar-color-hover)"})])])])])]);var q5=Object.assign(Object.assign({},At.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}),Jv=fe({name:"Scrollbar",props:q5,inheritAttrs:!1,setup(e){let{mergedClsPrefixRef:t,inlineThemeDisabled:r}=jt(e),o=X(null),n=X(null),i=X(null),a=X(null),s=X(null),l=X(null),u=X(null),c=X(null),d=X(null),p=X(null),f=X(null),m=X(0),b=X(0),C=X(!1),g=X(!1),T=!1,H=!1,w,S,M=0,x=0,E=0,P=0,N=Dl(),j=V(()=>{let{value:W}=c,{value:ue}=l,{value:Ee}=p;return W===null||ue===null||Ee===null?0:Math.min(W,Ee*W/ue+e.size*1.5)}),R=V(()=>`${j.value}px`),$=V(()=>{let{value:W}=d,{value:ue}=u,{value:Ee}=f;return W===null||ue===null||Ee===null?0:Ee*W/ue+e.size*1.5}),oe=V(()=>`${$.value}px`),he=V(()=>{let{value:W}=c,{value:ue}=m,{value:Ee}=l,{value:Ke}=p;if(W===null||Ee===null||Ke===null)return 0;{let st=Ee-W;return st?ue/st*(Ke-j.value):0}}),ce=V(()=>`${he.value}px`),se=V(()=>{let{value:W}=d,{value:ue}=b,{value:Ee}=u,{value:Ke}=f;if(W===null||Ee===null||Ke===null)return 0;{let st=Ee-W;return st?ue/st*(Ke-$.value):0}}),me=V(()=>`${se.value}px`),De=V(()=>{let{value:W}=c,{value:ue}=l;return W!==null&&ue!==null&&ue>W}),$e=V(()=>{let{value:W}=d,{value:ue}=u;return W!==null&&ue!==null&&ue>W}),Fe=V(()=>{let{container:W}=e;return W?W():n.value}),Xe=V(()=>{let{content:W}=e;return W?W():i.value}),Ve=ne,rt=W=>{let{onResize:ue}=e;ue&&ue(W),ne()},St=(W,ue)=>{if(!e.scrollable)return;if(typeof W=="number"){Ze(W,ue??0,0,!1,"auto");return}let{left:Ee,top:Ke,index:st,elSize:et,position:lt,behavior:Je,el:Ft,debounce:lr=!0}=W;(Ee!==void 0||Ke!==void 0)&&Ze(Ee??0,Ke??0,0,!1,Je),Ft!==void 0?Ze(0,Ft.offsetTop,Ft.offsetHeight,lr,Je):st!==void 0&&et!==void 0?Ze(0,st*et,et,lr,Je):lt==="bottom"?Ze(0,Number.MAX_SAFE_INTEGER,0,!1,Je):lt==="top"&&Ze(0,0,0,!1,Je)},Ye=(W,ue)=>{if(!e.scrollable)return;let{value:Ee}=Fe;Ee&&(typeof W=="object"?Ee.scrollBy(W):Ee.scrollBy(W,ue||0))};function Ze(W,ue,Ee,Ke,st){let{value:et}=Fe;if(et){if(Ke){let{scrollTop:lt,offsetHeight:Je}=et;if(ue>lt){ue+Ee<=lt+Je||et.scrollTo({left:W,top:ue+Ee-Je,behavior:st});return}}et.scrollTo({left:W,top:ue,behavior:st})}}function vt(){h(),y(),ne()}function ze(){pt()}function pt(){It(),zt()}function It(){S!==void 0&&window.clearTimeout(S),S=window.setTimeout(()=>{g.value=!1},e.duration)}function zt(){w!==void 0&&window.clearTimeout(w),w=window.setTimeout(()=>{C.value=!1},e.duration)}function h(){w!==void 0&&window.clearTimeout(w),C.value=!0}function y(){S!==void 0&&window.clearTimeout(S),g.value=!0}function B(W){let{onScroll:ue}=e;ue&&ue(W),G()}function G(){let{value:W}=Fe;W&&(m.value=W.scrollTop,b.value=W.scrollLeft)}function U(){let{value:W}=Xe;W&&(l.value=W.offsetHeight,u.value=W.offsetWidth);let{value:ue}=Fe;ue&&(c.value=ue.offsetHeight,d.value=ue.offsetWidth);let{value:Ee}=s,{value:Ke}=a;Ee&&(f.value=Ee.offsetWidth),Ke&&(p.value=Ke.offsetHeight)}function ae(){let{value:W}=Fe;W&&(m.value=W.scrollTop,b.value=W.scrollLeft,c.value=W.offsetHeight,d.value=W.offsetWidth,l.value=W.scrollHeight,u.value=W.scrollWidth);let{value:ue}=s,{value:Ee}=a;ue&&(f.value=ue.offsetWidth),Ee&&(p.value=Ee.offsetHeight)}function ne(){e.scrollable&&(e.useUnifiedContainer?ae():(U(),G()))}function z(W){var ue;return!(!((ue=o.value)===null||ue===void 0)&&ue.contains(W.target))}function Q(W){W.preventDefault(),W.stopPropagation(),H=!0,Et("mousemove",window,Y,!0),Et("mouseup",window,D,!0),x=b.value,E=W.clientX}function Y(W){if(!H)return;w!==void 0&&window.clearTimeout(w),S!==void 0&&window.clearTimeout(S);let{value:ue}=d,{value:Ee}=u,{value:Ke}=$;if(ue===null||Ee===null)return;let et=(W.clientX-E)*(Ee-ue)/(ue-Ke),lt=Ee-ue,Je=x+et;Je=Math.min(lt,Je),Je=Math.max(Je,0);let{value:Ft}=Fe;if(Ft){Ft.scrollLeft=Je;let{internalOnUpdateScrollLeft:lr}=e;lr&&lr(Je)}}function D(W){W.preventDefault(),W.stopPropagation(),kt("mousemove",window,Y,!0),kt("mouseup",window,D,!0),H=!1,ne(),z(W)&&pt()}function O(W){W.preventDefault(),W.stopPropagation(),T=!0,Et("mousemove",window,F,!0),Et("mouseup",window,le,!0),M=m.value,P=W.clientY}function F(W){if(!T)return;w!==void 0&&window.clearTimeout(w),S!==void 0&&window.clearTimeout(S);let{value:ue}=c,{value:Ee}=l,{value:Ke}=j;if(ue===null||Ee===null)return;let et=(W.clientY-P)*(Ee-ue)/(ue-Ke),lt=Ee-ue,Je=M+et;Je=Math.min(lt,Je),Je=Math.max(Je,0);let{value:Ft}=Fe;Ft&&(Ft.scrollTop=Je)}function le(W){W.preventDefault(),W.stopPropagation(),kt("mousemove",window,F,!0),kt("mouseup",window,le,!0),T=!1,ne(),z(W)&&pt()}$t(()=>{let{value:W}=$e,{value:ue}=De,{value:Ee}=t,{value:Ke}=s,{value:st}=a;Ke&&(W?Ke.classList.remove(`${Ee}-scrollbar-rail--disabled`):Ke.classList.add(`${Ee}-scrollbar-rail--disabled`)),st&&(ue?st.classList.remove(`${Ee}-scrollbar-rail--disabled`):st.classList.add(`${Ee}-scrollbar-rail--disabled`))}),ut(()=>{e.container||ne()}),Pt(()=>{w!==void 0&&window.clearTimeout(w),S!==void 0&&window.clearTimeout(S),kt("mousemove",window,F,!0),kt("mouseup",window,le,!0)});let ge=At("Scrollbar","-scrollbar",Qv,Rt,e,t),Le=V(()=>{let{common:{cubicBezierEaseInOut:W,scrollbarBorderRadius:ue,scrollbarHeight:Ee,scrollbarWidth:Ke},self:{color:st,colorHover:et}}=ge.value;return{"--n-scrollbar-bezier":W,"--n-scrollbar-color":st,"--n-scrollbar-color-hover":et,"--n-scrollbar-border-radius":ue,"--n-scrollbar-width":Ke,"--n-scrollbar-height":Ee}}),Ne=r?ar("scrollbar",void 0,Le,e):void 0;return Object.assign(Object.assign({},{scrollTo:St,scrollBy:Ye,sync:ne,syncUnifiedContainer:ae,handleMouseEnterWrapper:vt,handleMouseLeaveWrapper:ze}),{mergedClsPrefix:t,containerScrollTop:m,wrapperRef:o,containerRef:n,contentRef:i,yRailRef:a,xRailRef:s,needYBar:De,needXBar:$e,yBarSizePx:R,xBarSizePx:oe,yBarTopPx:ce,xBarLeftPx:me,isShowXBar:C,isShowYBar:g,isIos:N,handleScroll:B,handleContentResize:Ve,handleContainerResize:rt,handleYScrollMouseDown:O,handleXScrollMouseDown:Q,cssVars:r?void 0:Le,themeClass:Ne?.themeClass,onRender:Ne?.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),v("div",ga(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):v("div",{role:"none",ref:"containerRef",class:[`${r}-scrollbar-container`,this.containerClass],style:this.containerStyle,onScroll:this.handleScroll,onWheel:this.onWheel},v(Gr,{onResize:this.handleContentResize},{default:()=>v("div",{ref:"contentRef",role:"none",style:[{width:this.xScrollable?"fit-content":null},this.contentStyle],class:[`${r}-scrollbar-content`,this.contentClass]},t)})),v("div",{ref:"yRailRef",class:`${r}-scrollbar-rail ${r}-scrollbar-rail--vertical`,style:this.horizontalRailStyle,"aria-hidden":!0},v(Ur,{name:"fade-in-transition"},{default:()=>this.needYBar&&this.isShowYBar&&!this.isIos?v("div",{class:`${r}-scrollbar-rail__scrollbar`,style:{height:this.yBarSizePx,top:this.yBarTopPx},onMousedown:this.handleYScrollMouseDown}):null})),v("div",{ref:"xRailRef",class:`${r}-scrollbar-rail ${r}-scrollbar-rail--horizontal`,style:this.verticalRailStyle,"aria-hidden":!0},v(Ur,{name:"fade-in-transition"},{default:()=>this.needXBar&&this.isShowXBar&&!this.isIos?v("div",{class:`${r}-scrollbar-rail__scrollbar`,style:{width:this.xBarSizePx,left:this.xBarLeftPx},onMousedown:this.handleXScrollMouseDown}):null}))])};return this.container?n():v(Gr,{onResize:this.handleContainerResize},{default:n})}}),hu=Jv,Ua=Jv;var e1={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 bf=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:m,heightSmall:b,heightMedium:C,heightLarge:g,heightHuge:T}=e;return Object.assign(Object.assign({},e1),{optionFontSizeSmall:d,optionFontSizeMedium:p,optionFontSizeLarge:f,optionFontSizeHuge:m,optionHeightSmall:b,optionHeightMedium:C,optionHeightLarge:g,optionHeightHuge:T,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})},U5={name:"InternalSelectMenu",common:ye,peers:{Scrollbar:Rt,Empty:_r},self:bf},Yn=U5;var K5={name:"InternalSelectMenu",common:A,peers:{Scrollbar:gt,Empty:Tr},self:bf},Xr=K5;var{cubicBezierEaseIn:t1,cubicBezierEaseOut:r1}=ir;function xf({transformOrigin:e="inherit",duration:t=".2s",enterScale:r=".9",originalTransform:o="",originalTransition:n=""}={}){return[J("&.fade-in-scale-up-transition-leave-active",{transformOrigin:e,transition:`opacity ${t} ${t1}, transform ${t} ${t1} ${n&&","+n}`}),J("&.fade-in-scale-up-transition-enter-active",{transformOrigin:e,transition:`opacity ${t} ${r1}, transform ${t} ${r1} ${n&&","+n}`}),J("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:`${o} scale(${r})`}),J("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:`${o} scale(1)`})]}var o1=K("base-wave",`
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
border-radius: inherit;
|
|
`);var gu=fe({name:"BaseWave",props:{clsPrefix:{type:String,required:!0}},setup(e){vo("-base-wave",o1,Me(e,"clsPrefix"));let t=X(null),r=X(!1),o=null;return Pt(()=>{o!==null&&window.clearTimeout(o)}),{active:r,selfRef:t,play(){o!==null&&(window.clearTimeout(o),r.value=!1,o=null),Xt(()=>{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 v("div",{ref:"selfRef","aria-hidden":!0,class:[`${e}-base-wave`,this.active&&`${e}-base-wave--active`]})}});var n1={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"};var vf=e=>{let{boxShadow2:t,popoverColor:r,textColor2:o,borderRadius:n,fontSize:i,dividerColor:a}=e;return Object.assign(Object.assign({},n1),{fontSize:i,borderRadius:n,color:r,dividerColor:a,textColor:o,boxShadow:t})},G5={name:"Popover",common:ye,self:vf},Yr=G5;var X5={name:"Popover",common:A,self:vf},fr=X5;var i1={closeSizeSmall:"14px",closeSizeMedium:"14px",closeSizeLarge:"14px",padding:"0 7px",closeMargin:"0 0 0 3px",closeMarginRtl:"0 3px 0 0"};var Y5={name:"Tag",common:A,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:m,borderRadiusSmall:b,fontSizeTiny:C,fontSizeSmall:g,fontSizeMedium:T,heightTiny:H,heightSmall:w,heightMedium:S}=e;return Object.assign(Object.assign({},i1),{heightSmall:H,heightMedium:w,heightLarge:S,borderRadius:b,opacityDisabled:d,fontSizeSmall:C,fontSizeMedium:g,fontSizeLarge:T,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:m,borderPrimary:`1px solid ${re(n,{alpha:.3})}`,textColorPrimary:n,colorPrimary:"#0000",closeColorPrimary:re(n,{alpha:.7}),closeColorHoverPrimary:re(n,{alpha:.85}),closeColorPressedPrimary:re(n,{alpha:.57}),borderInfo:`1px solid ${re(i,{alpha:.3})}`,textColorInfo:i,colorInfo:"#0000",closeColorInfo:re(i,{alpha:.7}),closeColorHoverInfo:re(i,{alpha:.85}),closeColorPressedInfo:re(i,{alpha:.57}),borderSuccess:`1px solid ${re(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:"#0000",closeColorSuccess:re(a,{alpha:.7}),closeColorHoverSuccess:re(a,{alpha:.85}),closeColorPressedSuccess:re(a,{alpha:.57}),borderWarning:`1px solid ${re(s,{alpha:.3})}`,textColorWarning:s,colorWarning:"#0000",closeColorWarning:re(s,{alpha:.7}),closeColorHoverWarning:re(s,{alpha:.85}),closeColorPressedWarning:re(s,{alpha:.57}),borderError:`1px solid ${re(l,{alpha:.3})}`,textColorError:l,colorError:"#0000",closeColorError:re(l,{alpha:.7}),closeColorHoverError:re(l,{alpha:.85}),closeColorPressedError:re(l,{alpha:.57})})}},Ka=Y5;function Zn(e,t,r){if(!t)return;let o=Rr(),n=V(()=>{let{value:a}=t;if(!a)return;let s=a[e];if(s)return s}),i=()=>{$t(()=>{let{value:a}=r,s=`${a}${e}Rtl`;if(kd(s,o))return;let{value:l}=n;l&&l.style.mount({id:s,head:!0,anchorMetaName:hn,props:{bPrefix:a?`.${a}-`:void 0},ssr:o})})};return o?i():No(i),n}var a1=K("base-clear",`
|
|
flex-shrink: 0;
|
|
height: 1em;
|
|
width: 1em;
|
|
position: relative;
|
|
`,[J(">",[ee("clear",`
|
|
font-size: var(--n-clear-size);
|
|
cursor: pointer;
|
|
color: var(--n-clear-color);
|
|
transition: color .3s var(--n-bezier);
|
|
`,[J("&:hover",`
|
|
color: var(--n-clear-color-hover)!important;
|
|
`),J("&:active",`
|
|
color: var(--n-clear-color-pressed)!important;
|
|
`)]),ee("placeholder",`
|
|
display: flex;
|
|
`),ee("clear, placeholder",`
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translateX(-50%) translateY(-50%);
|
|
`,[Er({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]);var Qn=fe({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup(e){return vo("-base-clear",a1,Me(e,"clsPrefix")),{handleMouseDown(t){t.preventDefault()}}},render(){let{clsPrefix:e}=this;return v("div",{class:`${e}-base-clear`},v(zr,null,{default:()=>{var t,r;return this.show?v(Fr,{clsPrefix:e,key:"dismiss",class:`${e}-base-clear__clear`,onClick:this.onClear,onMousedown:this.handleMouseDown,"data-clear":!0},{default:()=>v(sf,null)}):v("div",{key:"icon",class:`${e}-base-clear__placeholder`},(r=(t=this.$slots).default)===null||r===void 0?void 0:r.call(t))}}))}});var bu=fe({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 v(gn,{clsPrefix:r,class:`${r}-base-suffix`,strokeWidth:24,scale:.85,show:e.loading},{default:()=>e.showArrow?v(Qn,{clsPrefix:r,show:e.showClear,onClear:e.onClear},{default:()=>v(Fr,{clsPrefix:r,class:`${r}-base-suffix__arrow`},{default:()=>mo(t.default,()=>[v(af,null)])})}):null})}}});var xu={paddingSingle:"0 26px 0 12px",paddingMultiple:"3px 26px 0 12px",clearSize:"16px",arrowSize:"16px"};var Z5=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:m,clearColor:b,clearColorHover:C,clearColorPressed:g,placeholderColor:T,placeholderColorDisabled:H,fontSizeTiny:w,fontSizeSmall:S,fontSizeMedium:M,fontSizeLarge:x,heightTiny:E,heightSmall:P,heightMedium:N,heightLarge:j}=e;return Object.assign(Object.assign({},xu),{fontSizeTiny:w,fontSizeSmall:S,fontSizeMedium:M,fontSizeLarge:x,heightTiny:E,heightSmall:P,heightMedium:N,heightLarge:j,borderRadius:t,textColor:r,textColorDisabled:o,placeholderColor:T,placeholderColorDisabled:H,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 ${re(a,{alpha:.2})}`,boxShadowFocus:`0 0 0 2px ${re(a,{alpha:.2})}`,caretColor:a,arrowColor:f,arrowColorDisabled:m,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 ${re(l,{alpha:.2})}`,boxShadowFocusWarning:`0 0 0 2px ${re(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 ${re(c,{alpha:.2})}`,boxShadowFocusError:`0 0 0 2px ${re(c,{alpha:.2})}`,colorActiveError:n,caretColorError:c,clearColor:b,clearColorHover:C,clearColorPressed:g})},Q5={name:"InternalSelection",common:ye,peers:{Popover:Yr},self:Z5},Ga=Q5;var J5={name:"InternalSelection",common:A,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:m,clearColorHover:b,clearColorPressed:C,placeholderColor:g,placeholderColorDisabled:T,fontSizeTiny:H,fontSizeSmall:w,fontSizeMedium:S,fontSizeLarge:M,heightTiny:x,heightSmall:E,heightMedium:P,heightLarge:N}=e;return Object.assign(Object.assign({},xu),{fontSizeTiny:H,fontSizeSmall:w,fontSizeMedium:S,fontSizeLarge:M,heightTiny:x,heightSmall:E,heightMedium:P,heightLarge:N,borderRadius:t,textColor:r,textColorDisabled:o,placeholderColor:g,placeholderColorDisabled:T,color:n,colorDisabled:i,colorActive:re(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 ${re(a,{alpha:.4})}`,boxShadowFocus:`0 0 8px 0 ${re(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 ${re(l,{alpha:.4})}`,boxShadowFocusWarning:`0 0 8px 0 ${re(l,{alpha:.4})}`,colorActiveWarning:re(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 ${re(c,{alpha:.4})}`,boxShadowFocusError:`0 0 8px 0 ${re(c,{alpha:.4})}`,colorActiveError:re(c,{alpha:.1}),caretColorError:c,clearColor:m,clearColorHover:b,clearColorPressed:C})}},Jn=J5;var{cubicBezierEaseInOut:bn}=ir;function s1({duration:e=".2s",delay:t=".1s"}={}){return[J("&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to",{opacity:1}),J("&.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;
|
|
`),J("&.fade-in-width-expand-transition-leave-active",`
|
|
overflow: hidden;
|
|
transition:
|
|
opacity ${e} ${bn},
|
|
max-width ${e} ${bn} ${t},
|
|
margin-left ${e} ${bn} ${t},
|
|
margin-right ${e} ${bn} ${t};
|
|
`),J("&.fade-in-width-expand-transition-enter-active",`
|
|
overflow: hidden;
|
|
transition:
|
|
opacity ${e} ${bn} ${t},
|
|
max-width ${e} ${bn},
|
|
margin-left ${e} ${bn},
|
|
margin-right ${e} ${bn};
|
|
`)]}var l1={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 eT={name:"Alert",common:A,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:m,fontSize:b}=e;return Object.assign(Object.assign({},l1),{fontSize:b,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 ${re(d,{alpha:.35})}`,colorInfo:re(d,{alpha:.25}),titleTextColorInfo:a,iconColorInfo:d,contentTextColorInfo:s,closeColorInfo:l,closeColorHoverInfo:u,closeColorPressedInfo:c,borderSuccess:`1px solid ${re(p,{alpha:.35})}`,colorSuccess:re(p,{alpha:.25}),titleTextColorSuccess:a,iconColorSuccess:p,contentTextColorSuccess:s,closeColorSuccess:l,closeColorHoverSuccess:u,closeColorPressedSuccess:c,borderWarning:`1px solid ${re(f,{alpha:.35})}`,colorWarning:re(f,{alpha:.25}),titleTextColorWarning:a,iconColorWarning:f,contentTextColorWarning:s,closeColorWarning:l,closeColorHoverWarning:u,closeColorPressedWarning:c,borderError:`1px solid ${re(m,{alpha:.35})}`,colorError:re(m,{alpha:.25}),titleTextColorError:a,iconColorError:m,contentTextColorError:s,closeColorError:l,closeColorHoverError:u,closeColorPressedError:c})}},yf=eT;var{cubicBezierEaseInOut:yo,cubicBezierEaseOut:tT,cubicBezierEaseIn:rT}=ir;function wf({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[J(`&.fade-in-height-expand-transition-${u}-from,
|
|
&.fade-in-height-expand-transition-${l}-to`,Object.assign(Object.assign({},i),{opacity:1})),J(`&.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})),J(`&.fade-in-height-expand-transition-${u}-active`,`
|
|
overflow: ${e};
|
|
transition:
|
|
max-height ${t} ${yo} ${o},
|
|
opacity ${t} ${tT} ${o},
|
|
margin-top ${t} ${yo} ${o},
|
|
margin-bottom ${t} ${yo} ${o},
|
|
padding-top ${t} ${yo} ${o},
|
|
padding-bottom ${t} ${yo} ${o}
|
|
${r?","+r:""}
|
|
`),J(`&.fade-in-height-expand-transition-${l}-active`,`
|
|
overflow: ${e};
|
|
transition:
|
|
max-height ${t} ${yo},
|
|
opacity ${t} ${rT},
|
|
margin-top ${t} ${yo},
|
|
margin-bottom ${t} ${yo},
|
|
padding-top ${t} ${yo},
|
|
padding-bottom ${t} ${yo}
|
|
${r?","+r:""}
|
|
`)]}var u1={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"};var c1=e=>{let{borderRadius:t,railColor:r,primaryColor:o,primaryColorHover:n,primaryColorPressed:i,textColor2:a}=e;return Object.assign(Object.assign({},u1),{borderRadius:t,railColor:r,railColorActive:o,linkColor:re(o,{alpha:.15}),linkTextColor:a,linkTextColorHover:n,linkTextColorPressed:i,linkTextColorActive:o})};var oT={name:"Anchor",common:A,self:c1},Cf=oT;var vu={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"};var nT={name:"Input",common:A,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:m,fontSizeSmall:b,fontSizeMedium:C,fontSizeLarge:g,heightTiny:T,heightSmall:H,heightMedium:w,heightLarge:S,clearColor:M,clearColorHover:x,clearColorPressed:E,placeholderColor:P,placeholderColorDisabled:N,iconColor:j,iconColorDisabled:R,iconColorHover:$,iconColorPressed:oe}=e;return Object.assign(Object.assign({},vu),{countTextColor:r,heightTiny:T,heightSmall:H,heightMedium:w,heightLarge:S,fontSizeTiny:m,fontSizeSmall:b,fontSizeMedium:C,fontSizeLarge:g,lineHeight:f,lineHeightTextarea:f,borderRadius:p,iconSize:"16px",groupLabelColor:a,textColor:t,textColorDisabled:o,textDecorationColor:t,groupLabelTextColor:t,caretColor:n,placeholderColor:P,placeholderColorDisabled:N,color:a,colorDisabled:s,colorFocus:re(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 ${re(n,{alpha:.3})}`,loadingColor:n,loadingColorWarning:l,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${u}`,colorFocusWarning:re(l,{alpha:.1}),borderFocusWarning:`1px solid ${u}`,boxShadowFocusWarning:`0 0 8px 0 ${re(l,{alpha:.3})}`,caretColorWarning:l,loadingColorError:c,borderError:`1px solid ${c}`,borderHoverError:`1px solid ${d}`,colorFocusError:re(c,{alpha:.1}),borderFocusError:`1px solid ${d}`,boxShadowFocusError:`0 0 8px 0 ${re(c,{alpha:.3})}`,caretColorError:c,clearColor:M,clearColorHover:x,clearColorPressed:E,iconColor:j,iconColorDisabled:R,iconColorHover:$,iconColorPressed:oe,suffixTextColor:t})}},_t=nT;var iT=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:m,fontSizeTiny:b,fontSizeSmall:C,fontSizeMedium:g,fontSizeLarge:T,heightTiny:H,heightSmall:w,heightMedium:S,heightLarge:M,actionColor:x,clearColor:E,clearColorHover:P,clearColorPressed:N,placeholderColor:j,placeholderColorDisabled:R,iconColor:$,iconColorDisabled:oe,iconColorHover:he,iconColorPressed:ce}=e;return Object.assign(Object.assign({},vu),{countTextColor:r,heightTiny:H,heightSmall:w,heightMedium:S,heightLarge:M,fontSizeTiny:b,fontSizeSmall:C,fontSizeMedium:g,fontSizeLarge:T,lineHeight:m,lineHeightTextarea:m,borderRadius:f,iconSize:"16px",groupLabelColor:x,groupLabelTextColor:t,textColor:t,textColorDisabled:o,textDecorationColor:t,caretColor:n,placeholderColor:j,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 ${re(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 ${re(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 ${re(d,{alpha:.2})}`,caretColorError:d,clearColor:E,clearColorHover:P,clearColorPressed:N,iconColor:$,iconColorDisabled:oe,iconColorHover:he,iconColorPressed:ce,suffixTextColor:t})},aT={name:"Input",common:ye,self:iT},Dr=aT;var yu="n-input";function d1(e){let t=0;for(let r of e)t++;return t}function Xa(e){return["",void 0,null].includes(e)}var kf=fe({name:"InputWordCount",setup(e,{slots:t}){let{mergedValueRef:r,maxlengthRef:o,mergedClsPrefixRef:n}=_e(yu),i=V(()=>{let{value:a}=r;return a===null||Array.isArray(a)?0:d1(a)});return()=>{let{value:a}=o,{value:s}=r;return v("span",{class:`${n.value}-input-word-count`},yl(t.default,{value:s===null||Array.isArray(s)?"":s},()=>[a===void 0?i.value:`${i.value} / ${a}`]))}}});var f1=K("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);
|
|
`,[ee("input, textarea",`
|
|
overflow: hidden;
|
|
flex-grow: 1;
|
|
position: relative;
|
|
`),ee("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);
|
|
`),ee("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;
|
|
`,[J("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",`
|
|
width: 0;
|
|
height: 0;
|
|
display: none;
|
|
`),J("&::placeholder","color: #0000;"),J("&:-webkit-autofill ~",[ee("placeholder","display: none;")])]),Se("round",[gr("textarea","border-radius: calc(var(--n-height) / 2);")]),ee("placeholder",`
|
|
pointer-events: none;
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
overflow: hidden;
|
|
color: var(--n-placeholder-color);
|
|
`,[J("span",`
|
|
width: 100%;
|
|
display: inline-block;
|
|
`)]),Se("textarea",[ee("placeholder","overflow: visible;")]),gr("autosize","width: 100%;"),Se("autosize",[ee("textarea-el, input-el",`
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100%;
|
|
`)]),K("input-wrapper",`
|
|
overflow: hidden;
|
|
display: inline-flex;
|
|
flex-grow: 1;
|
|
position: relative;
|
|
padding-left: var(--n-padding-left);
|
|
padding-right: var(--n-padding-right);
|
|
`),ee("input-mirror",`
|
|
padding: 0;
|
|
height: var(--n-height);
|
|
overflow: hidden;
|
|
visibility: hidden;
|
|
position: static;
|
|
white-space: nowrap;
|
|
pointer-events: none;
|
|
`),ee("input-el",`
|
|
padding: 0;
|
|
height: var(--n-height);
|
|
line-height: var(--n-height);
|
|
`,[J("+",[ee("placeholder",`
|
|
display: flex;
|
|
align-items: center;
|
|
`)])]),gr("textarea",[ee("placeholder","white-space: nowrap;")]),ee("eye",`
|
|
transition: color .3s var(--n-bezier);
|
|
`),Se("textarea","width: 100%;",[K("input-word-count",`
|
|
position: absolute;
|
|
right: var(--n-padding-right);
|
|
bottom: var(--n-padding-vertical);
|
|
`),Se("resizable",[K("input-wrapper",`
|
|
resize: vertical;
|
|
min-height: var(--n-height);
|
|
`)]),ee("textarea",`
|
|
position: static;
|
|
`),ee("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;
|
|
`),ee("textarea-mirror",`
|
|
width: 100%;
|
|
pointer-events: none;
|
|
overflow: hidden;
|
|
visibility: hidden;
|
|
position: static;
|
|
white-space: pre-wrap;
|
|
overflow-wrap: break-word;
|
|
`)]),Se("pair",[ee("input-el, placeholder","text-align: center;"),ee("separator",`
|
|
display: flex;
|
|
align-items: center;
|
|
transition: color .3s var(--n-bezier);
|
|
color: var(--n-text-color);
|
|
`,[K("icon",`
|
|
color: var(--n-icon-color);
|
|
`),K("base-icon",`
|
|
color: var(--n-icon-color);
|
|
`)])]),Se("disabled",`
|
|
cursor: not-allowed;
|
|
background-color: var(--n-color-disabled);
|
|
`,[ee("border","border: var(--n-border-disabled);"),ee("input-el, textarea-el",`
|
|
cursor: not-allowed;
|
|
color: var(--n-text-color-disabled);
|
|
text-decoration-color: var(--n-text-color-disabled);
|
|
`),ee("placeholder","color: var(--n-placeholder-color-disabled);"),ee("separator","color: var(--n-text-color-disabled);",[K("icon",`
|
|
color: var(--n-icon-color-disabled);
|
|
`),K("base-icon",`
|
|
color: var(--n-icon-color-disabled);
|
|
`)]),ee("suffix, prefix","color: var(--n-text-color-disabled);",[K("icon",`
|
|
color: var(--n-icon-color-disabled);
|
|
`),K("internal-icon",`
|
|
color: var(--n-icon-color-disabled);
|
|
`)])]),gr("disabled",[ee("eye",`
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--n-icon-color);
|
|
cursor: pointer;
|
|
`,[J("&:hover",`
|
|
color: var(--n-icon-color-hover);
|
|
`),J("&:active",`
|
|
color: var(--n-icon-color-pressed);
|
|
`),K("icon",[J("&:hover",`
|
|
color: var(--n-icon-color-hover);
|
|
`),J("&:active",`
|
|
color: var(--n-icon-color-pressed);
|
|
`)])]),J("&:hover",[ee("state-border","border: var(--n-border-hover);")]),Se("focus","background-color: var(--n-color-focus);",[ee("state-border",`
|
|
border: var(--n-border-focus);
|
|
box-shadow: var(--n-box-shadow-focus);
|
|
`)])]),ee("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);
|
|
`),ee("state-border",`
|
|
border-color: #0000;
|
|
z-index: 1;
|
|
`),ee("prefix","margin-right: 4px;"),ee("suffix",`
|
|
margin-left: 4px;
|
|
`),ee("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);
|
|
`,[K("base-loading",`
|
|
font-size: var(--n-icon-size);
|
|
margin: 0 2px;
|
|
color: var(--n-loading-color);
|
|
`),K("base-clear",`
|
|
font-size: var(--n-icon-size);
|
|
`,[ee("placeholder",[K("base-icon",`
|
|
transition: color .3s var(--n-bezier);
|
|
color: var(--n-icon-color);
|
|
font-size: var(--n-icon-size);
|
|
`)])]),J(">",[K("icon",`
|
|
transition: color .3s var(--n-bezier);
|
|
color: var(--n-icon-color);
|
|
font-size: var(--n-icon-size);
|
|
`)]),K("base-icon",`
|
|
font-size: var(--n-icon-size);
|
|
`)]),K("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=>Se(`${e}-status`,[gr("disabled",[K("base-loading",`
|
|
color: var(--n-loading-color-${e})
|
|
`),ee("input-el, textarea-el",`
|
|
caret-color: var(--n-caret-color-${e});
|
|
`),ee("state-border",`
|
|
border: var(--n-border-${e});
|
|
`),J("&:hover",[ee("state-border",`
|
|
border: var(--n-border-hover-${e});
|
|
`)]),J("&:focus",`
|
|
background-color: var(--n-color-focus-${e});
|
|
`,[ee("state-border",`
|
|
box-shadow: var(--n-box-shadow-focus-${e});
|
|
border: var(--n-border-focus-${e});
|
|
`)]),Se("focus",`
|
|
background-color: var(--n-color-focus-${e});
|
|
`,[ee("state-border",`
|
|
box-shadow: var(--n-box-shadow-focus-${e});
|
|
border: var(--n-border-focus-${e});
|
|
`)])])]))]);var sT=Object.assign(Object.assign({},At.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}),Sf=fe({name:"Input",props:sT,setup(e){let{mergedClsPrefixRef:t,mergedBorderedRef:r,inlineThemeDisabled:o,mergedRtlRef:n}=jt(e),i=At("Input","-input",f1,Dr,e,t),a=X(null),s=X(null),l=X(null),u=X(null),c=X(null),d=X(null),p=X(null),{localeRef:f}=Ai("Input"),m=X(e.defaultValue),b=Me(e,"value"),C=cr(b,m),g=Mr(e),{mergedSizeRef:T,mergedDisabledRef:H,mergedStatusRef:w}=g,S=X(!1),M=X(!1),x=X(!1),E=X(!1),P=null,N=V(()=>{let{placeholder:_,pair:te}=e;return te?Array.isArray(_)?_:_===void 0?["",""]:[_,_]:_===void 0?[f.value.placeholder]:[_]}),j=V(()=>{let{value:_}=x,{value:te}=C,{value:Ae}=N;return!_&&(Xa(te)||Array.isArray(te)&&Xa(te[0]))&&Ae[0]}),R=V(()=>{let{value:_}=x,{value:te}=C,{value:Ae}=N;return!_&&Ae[1]&&(Xa(te)||Array.isArray(te)&&Xa(te[1]))}),$=it(()=>e.internalForceFocus||S.value),oe=it(()=>{if(H.value||e.readonly||!e.clearable||!$.value&&!M.value)return!1;let{value:_}=C,{value:te}=$;return e.pair?!!(Array.isArray(_)&&(_[0]||_[1]))&&(M.value||te):!!_&&(M.value||te)}),he=V(()=>{let{showPasswordOn:_}=e;if(_)return _;if(e.showPasswordToggle)return"click"}),ce=X(!1),se=V(()=>{let{textDecoration:_}=e;return _?Array.isArray(_)?_.map(te=>({textDecoration:te})):[{textDecoration:_}]:["",""]}),me=X(void 0),De=()=>{var _,te;if(e.type==="textarea"){let{autosize:Ae}=e;if(Ae&&(me.value=(te=(_=p.value)===null||_===void 0?void 0:_.$el)===null||te===void 0?void 0:te.offsetWidth),!s.value||typeof Ae=="boolean")return;let{paddingTop:tt,paddingBottom:I,lineHeight:q}=window.getComputedStyle(s.value),pe=Number(tt.slice(0,-2)),xe=Number(I.slice(0,-2)),Ue=Number(q.slice(0,-2)),{value:Kt}=l;if(!Kt)return;if(Ae.minRows){let Dt=Math.max(Ae.minRows,1),So=`${pe+xe+Ue*Dt}px`;Kt.style.minHeight=So}if(Ae.maxRows){let Dt=`${pe+xe+Ue*Ae.maxRows}px`;Kt.style.maxHeight=Dt}}},$e=V(()=>{let{maxlength:_}=e;return _===void 0?void 0:Number(_)});ut(()=>{let{value:_}=C;Array.isArray(_)||Je(_)});let Fe=Or().proxy;function Xe(_){let{onUpdateValue:te,"onUpdate:value":Ae,onInput:tt}=e,{nTriggerFormInput:I}=g;te&&Te(te,_),Ae&&Te(Ae,_),tt&&Te(tt,_),m.value=_,I()}function Ve(_){let{onChange:te}=e,{nTriggerFormChange:Ae}=g;te&&Te(te,_),m.value=_,Ae()}function rt(_){let{onBlur:te}=e,{nTriggerFormBlur:Ae}=g;te&&Te(te,_),Ae()}function St(_){let{onFocus:te}=e,{nTriggerFormFocus:Ae}=g;te&&Te(te,_),Ae()}function Ye(_){let{onClear:te}=e;te&&Te(te,_)}function Ze(_){let{onInputBlur:te}=e;te&&Te(te,_)}function vt(_){let{onInputFocus:te}=e;te&&Te(te,_)}function ze(){let{onDeactivate:_}=e;_&&Te(_)}function pt(){let{onActivate:_}=e;_&&Te(_)}function It(_){let{onClick:te}=e;te&&Te(te,_)}function zt(_){let{onWrapperFocus:te}=e;te&&Te(te,_)}function h(_){let{onWrapperBlur:te}=e;te&&Te(te,_)}function y(){x.value=!0}function B(_){x.value=!1,_.target===d.value?G(_,1):G(_,0)}function G(_,te=0,Ae="input"){let tt=_.target.value;if(Je(tt),e.type==="textarea"){let{value:q}=p;q&&q.syncUnifiedContainer()}if(P=tt,x.value)return;let I=tt;if(!e.pair)Ae==="input"?Xe(I):Ve(I);else{let{value:q}=C;Array.isArray(q)?q=[...q]:q=["",""],q[te]=I,Ae==="input"?Xe(q):Ve(q)}Fe.$forceUpdate()}function U(_){Ze(_),_.relatedTarget===a.value&&ze(),_.relatedTarget!==null&&(_.relatedTarget===c.value||_.relatedTarget===d.value||_.relatedTarget===s.value)||(E.value=!1),Q(_,"blur")}function ae(_){vt(_),S.value=!0,E.value=!0,pt(),Q(_,"focus")}function ne(_){e.passivelyActivated&&(h(_),Q(_,"blur"))}function z(_){e.passivelyActivated&&(S.value=!0,zt(_),Q(_,"focus"))}function Q(_,te){_.relatedTarget!==null&&(_.relatedTarget===c.value||_.relatedTarget===d.value||_.relatedTarget===s.value||_.relatedTarget===a.value)||(te==="focus"?(St(_),S.value=!0):te==="blur"&&(rt(_),S.value=!1))}function Y(_,te){G(_,te,"change")}function D(_){It(_)}function O(_){Ye(_),e.pair?(Xe(["",""]),Ve(["",""])):(Xe(""),Ve(""))}function F(_){let{onMousedown:te}=e;te&&te(_);let{tagName:Ae}=_.target;if(Ae!=="INPUT"&&Ae!=="TEXTAREA"){if(e.resizable){let{value:tt}=a;if(tt){let{left:I,top:q,width:pe,height:xe}=tt.getBoundingClientRect(),Ue=14;if(I+pe-Ue<_.clientX&&_.clientY<I+pe&&q+xe-Ue<_.clientY&&_.clientY<q+xe)return}}_.preventDefault(),S.value||Ee()}}function le(){var _;M.value=!0,e.type==="textarea"&&((_=p.value)===null||_===void 0||_.handleMouseEnterWrapper())}function ge(){var _;M.value=!1,e.type==="textarea"&&((_=p.value)===null||_===void 0||_.handleMouseLeaveWrapper())}function Le(){H.value||he.value==="click"&&(ce.value=!ce.value)}function Ne(_){if(H.value)return;_.preventDefault();let te=tt=>{tt.preventDefault(),kt("mouseup",document,te)};if(Et("mouseup",document,te),he.value!=="mousedown")return;ce.value=!0;let Ae=()=>{ce.value=!1,kt("mouseup",document,Ae)};Et("mouseup",document,Ae)}function je(_){var te;switch((te=e.onKeydown)===null||te===void 0||te.call(e,_),_.code){case"Escape":ue();break;case"Enter":case"NumpadEnter":W(_);break}}function W(_){var te,Ae;if(e.passivelyActivated){let{value:tt}=E;if(tt){e.internalDeactivateOnEnter&&ue();return}_.preventDefault(),e.type==="textarea"?(te=s.value)===null||te===void 0||te.focus():(Ae=c.value)===null||Ae===void 0||Ae.focus()}}function ue(){e.passivelyActivated&&(E.value=!1,Xt(()=>{var _;(_=a.value)===null||_===void 0||_.focus()}))}function Ee(){var _,te,Ae;H.value||(e.passivelyActivated?(_=a.value)===null||_===void 0||_.focus():((te=s.value)===null||te===void 0||te.focus(),(Ae=c.value)===null||Ae===void 0||Ae.focus()))}function Ke(){var _;!((_=a.value)===null||_===void 0)&&_.contains(document.activeElement)&&document.activeElement.blur()}function st(){var _,te;(_=s.value)===null||_===void 0||_.select(),(te=c.value)===null||te===void 0||te.select()}function et(){H.value||(s.value?s.value.focus():c.value&&c.value.focus())}function lt(){let{value:_}=a;_?.contains(document.activeElement)&&_!==document.activeElement&&ue()}function Je(_){let{type:te,pair:Ae,autosize:tt}=e;if(!Ae&&tt)if(te==="textarea"){let{value:I}=l;I&&(I.textContent=(_??"")+`\r
|
|
`)}else{let{value:I}=u;I&&(_?I.textContent=_:I.innerHTML=" ")}}function Ft(){De()}let lr=X({top:"0"});function Vo(_){var te;let{scrollTop:Ae}=_.target;lr.value.top=`${-Ae}px`,(te=p.value)===null||te===void 0||te.syncUnifiedContainer()}let k=null;$t(()=>{let{autosize:_,type:te}=e;_&&te==="textarea"?k=ct(C,Ae=>{!Array.isArray(Ae)&&Ae!==P&&Je(Ae)}):k?.()});let ie=null;$t(()=>{e.type==="textarea"?ie=ct(C,_=>{var te;!Array.isArray(_)&&_!==P&&((te=p.value)===null||te===void 0||te.syncUnifiedContainer())}):ie?.()}),Yt(yu,{mergedValueRef:C,maxlengthRef:$e,mergedClsPrefixRef:t});let de={wrapperElRef:a,inputElRef:c,textareaElRef:s,isCompositing:x,focus:Ee,blur:Ke,select:st,deactivate:lt,activate:et},be=Zn("Input",n,t),Oe=V(()=>{let{value:_}=T,{common:{cubicBezierEaseInOut:te},self:{color:Ae,borderRadius:tt,textColor:I,caretColor:q,caretColorError:pe,caretColorWarning:xe,textDecorationColor:Ue,border:Kt,borderDisabled:Dt,borderHover:So,borderFocus:Eo,placeholderColor:Mt,placeholderColorDisabled:Vt,lineHeightTextarea:vr,colorDisabled:xh,colorFocus:yc,textColorDisabled:dt,boxShadowFocus:er,iconSize:Xi,colorFocusWarning:Rs,boxShadowFocusWarning:Bs,borderWarning:Ms,borderFocusWarning:Yi,borderHoverWarning:Kw,colorFocusError:Gw,boxShadowFocusError:Xw,borderError:Yw,borderFocusError:Zw,borderHoverError:Qw,clearSize:Jw,clearColor:eC,clearColorHover:tC,clearColorPressed:rC,iconColor:oC,iconColorDisabled:nC,suffixTextColor:iC,countTextColor:aC,iconColorHover:sC,iconColorPressed:lC,loadingColor:uC,loadingColorError:cC,loadingColorWarning:dC,[He("padding",_)]:fC,[He("fontSize",_)]:pC,[He("height",_)]:mC}}=i.value,{left:hC,right:gC}=mi(fC);return{"--n-bezier":te,"--n-count-text-color":aC,"--n-color":Ae,"--n-font-size":pC,"--n-border-radius":tt,"--n-height":mC,"--n-padding-left":hC,"--n-padding-right":gC,"--n-text-color":I,"--n-caret-color":q,"--n-text-decoration-color":Ue,"--n-border":Kt,"--n-border-disabled":Dt,"--n-border-hover":So,"--n-border-focus":Eo,"--n-placeholder-color":Mt,"--n-placeholder-color-disabled":Vt,"--n-icon-size":Xi,"--n-line-height-textarea":vr,"--n-color-disabled":xh,"--n-color-focus":yc,"--n-text-color-disabled":dt,"--n-box-shadow-focus":er,"--n-loading-color":uC,"--n-caret-color-warning":xe,"--n-color-focus-warning":Rs,"--n-box-shadow-focus-warning":Bs,"--n-border-warning":Ms,"--n-border-focus-warning":Yi,"--n-border-hover-warning":Kw,"--n-loading-color-warning":dC,"--n-caret-color-error":pe,"--n-color-focus-error":Gw,"--n-box-shadow-focus-error":Xw,"--n-border-error":Yw,"--n-border-focus-error":Zw,"--n-border-hover-error":Qw,"--n-loading-color-error":cC,"--n-clear-color":eC,"--n-clear-size":Jw,"--n-clear-color-hover":tC,"--n-clear-color-pressed":rC,"--n-icon-color":oC,"--n-icon-color-hover":sC,"--n-icon-color-pressed":lC,"--n-icon-color-disabled":nC,"--n-suffix-text-color":iC}}),Ge=o?ar("input",V(()=>{let{value:_}=T;return _[0]}),Oe,e):void 0;return Object.assign(Object.assign({},de),{wrapperElRef:a,inputElRef:c,inputMirrorElRef:u,inputEl2Ref:d,textareaElRef:s,textareaMirrorElRef:l,textareaScrollbarInstRef:p,rtlEnabled:be,uncontrolledValue:m,mergedValue:C,passwordVisible:ce,mergedPlaceholder:N,showPlaceholder1:j,showPlaceholder2:R,mergedFocus:$,isComposing:x,activated:E,showClearButton:oe,mergedSize:T,mergedDisabled:H,textDecorationStyle:se,mergedClsPrefix:t,mergedBordered:r,mergedShowPasswordOn:he,placeholderStyle:lr,mergedStatus:w,textAreaScrollContainerWidth:me,handleTextAreaScroll:Vo,handleCompositionStart:y,handleCompositionEnd:B,handleInput:G,handleInputBlur:U,handleInputFocus:ae,handleWrapperBlur:ne,handleWrapperFocus:z,handleMouseEnter:le,handleMouseLeave:ge,handleMouseDown:F,handleChange:Y,handleClick:D,handleClear:O,handlePasswordToggleClick:Le,handlePasswordToggleMousedown:Ne,handleWrapperKeyDown:je,handleTextAreaMirrorResize:Ft,getTextareaScrollContainer:()=>s.value,mergedTheme:i,cssVars:o?void 0:Oe,themeClass:Ge?.themeClass,onRender:Ge?.onRender})},render(){let{mergedClsPrefix:e,mergedStatus:t,themeClass:r,onRender:o,$slots:n}=this;return o?.(),v("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},v("div",{class:`${e}-input-wrapper`},ho(n.prefix,i=>i&&v("div",{class:`${e}-input__prefix`},i)),this.type==="textarea"?v(hu,{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 v(Ot,null,v("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?v("div",{class:`${e}-input__placeholder`,style:[this.placeholderStyle,a],key:"placeholder"},this.mergedPlaceholder[0]):null,this.autosize?v(Gr,{onResize:this.handleTextAreaMirrorResize},{default:()=>v("div",{ref:"textareaMirrorElRef",class:`${e}-input__textarea-mirror`,key:"mirror"})}):null)}}):v("div",{class:`${e}-input__input`},v("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?v("div",{class:`${e}-input__placeholder`},v("span",null,this.mergedPlaceholder[0])):null,this.autosize?v("div",{class:`${e}-input__input-mirror`,key:"mirror",ref:"inputMirrorElRef"},"\xA0"):null),!this.pair&&ho(n.suffix,i=>i||this.clearable||this.showCount||this.mergedShowPasswordOn||this.loading!==void 0?v("div",{class:`${e}-input__suffix`},[ho(n.clear,a=>(this.clearable||a)&&v(Qn,{clsPrefix:e,show:this.showClearButton,onClear:this.handleClear},{default:()=>a})),this.internalLoadingBeforeSuffix?null:i,this.loading!==void 0?v(bu,{clsPrefix:e,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?i:null,this.showCount&&this.type!=="textarea"?v(kf,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"?v(Fr,{clsPrefix:e,class:`${e}-input__eye`,onMousedown:this.handlePasswordToggleMousedown,onClick:this.handlePasswordToggleClick},{default:()=>this.passwordVisible?mo(n["password-visible-icon"],()=>[v(tf,null)]):mo(n["password-invisible-icon"],()=>[v(rf,null)])}):null]):null)),this.pair?v("span",{class:`${e}-input__separator`},mo(n.separator,()=>[this.separator])):null,this.pair?v("div",{class:`${e}-input-wrapper`},v("div",{class:`${e}-input__input`},v("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?v("div",{class:`${e}-input__placeholder`},v("span",null,this.mergedPlaceholder[1])):null),ho(n.suffix,i=>(this.clearable||i)&&v("div",{class:`${e}-input__suffix`},[this.clearable&&v(Qn,{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?v("div",{class:`${e}-input__border`}):null,this.mergedBordered?v("div",{class:`${e}-input__state-border`}):null,this.showCount&&this.type==="textarea"?v(kf,null,{default:i=>{var a;return(a=n.count)===null||a===void 0?void 0:a.call(n,i)}}):null)}});function Ef(e){let{boxShadow2:t}=e;return{menuBoxShadow:t}}var xK={name:"AutoComplete",common:ye,peers:{InternalSelectMenu:Yn,Input:Dr},self:Ef};var lT={name:"AutoComplete",common:A,peers:{InternalSelectMenu:Xr,Input:_t},self:Ef},_f=lT;var p1=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:we(o,r),colorModal:we(c,r),colorPopover:we(d,r)}};var uT={name:"Avatar",common:A,self:p1},Ya=uT;var cT={name:"AvatarGroup",common:A,peers:{Avatar:Ya}},Tf=cT;var m1={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"};var dT={name:"BackTop",common:A,self(e){let{popoverColor:t,textColor2:r,primaryColorHover:o,primaryColorPressed:n}=e;return Object.assign(Object.assign({},m1),{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)"})}},Df=dT;var fT={name:"Badge",common:A,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}}},Nf=fT;var h1={fontWeightActive:"400"};var g1=e=>{let{fontSize:t,textColor3:r,primaryColorHover:o,primaryColorPressed:n,textColor2:i}=e;return Object.assign(Object.assign({},h1),{fontSize:t,itemTextColor:r,itemTextColorHover:o,itemTextColorPressed:n,itemTextColorActive:i,separatorColor:r})};var pT={name:"Breadcrumb",common:A,self:g1},Af=pT;function xn(e){return we(e,[255,255,255,.16])}function Za(e){return we(e,[0,0,0,.12])}var b1={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 If=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:m,borderColor:b,primaryColor:C,baseColor:g,infoColor:T,infoColorHover:H,infoColorPressed:w,successColor:S,successColorHover:M,successColorPressed:x,warningColor:E,warningColorHover:P,warningColorPressed:N,errorColor:j,errorColorHover:R,errorColorPressed:$,fontWeight:oe,buttonColor2:he,buttonColor2Hover:ce,buttonColor2Pressed:se,fontWeightStrong:me}=e;return Object.assign(Object.assign({},b1),{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:he,colorSecondaryHover:ce,colorSecondaryPressed:se,colorTertiary:he,colorTertiaryHover:ce,colorTertiaryPressed:se,colorQuaternary:"#0000",colorQuaternaryHover:ce,colorQuaternaryPressed:se,color:"#0000",colorHover:"#0000",colorPressed:"#0000",colorFocus:"#0000",colorDisabled:"#0000",textColor:d,textColorTertiary:p,textColorHover:f,textColorPressed:m,textColorFocus:f,textColorDisabled:d,textColorText:d,textColorTextHover:f,textColorTextPressed:m,textColorTextFocus:f,textColorTextDisabled:d,textColorGhost:d,textColorGhostHover:f,textColorGhostPressed:m,textColorGhostFocus:f,textColorGhostDisabled:d,border:`1px solid ${b}`,borderHover:`1px solid ${f}`,borderPressed:`1px solid ${m}`,borderFocus:`1px solid ${f}`,borderDisabled:`1px solid ${b}`,rippleColor:C,colorPrimary:C,colorHoverPrimary:f,colorPressedPrimary:m,colorFocusPrimary:f,colorDisabledPrimary:C,textColorPrimary:g,textColorHoverPrimary:g,textColorPressedPrimary:g,textColorFocusPrimary:g,textColorDisabledPrimary:g,textColorTextPrimary:C,textColorTextHoverPrimary:f,textColorTextPressedPrimary:m,textColorTextFocusPrimary:f,textColorTextDisabledPrimary:d,textColorGhostPrimary:C,textColorGhostHoverPrimary:f,textColorGhostPressedPrimary:m,textColorGhostFocusPrimary:f,textColorGhostDisabledPrimary:C,borderPrimary:`1px solid ${C}`,borderHoverPrimary:`1px solid ${f}`,borderPressedPrimary:`1px solid ${m}`,borderFocusPrimary:`1px solid ${f}`,borderDisabledPrimary:`1px solid ${C}`,rippleColorPrimary:C,colorInfo:T,colorHoverInfo:H,colorPressedInfo:w,colorFocusInfo:H,colorDisabledInfo:T,textColorInfo:g,textColorHoverInfo:g,textColorPressedInfo:g,textColorFocusInfo:g,textColorDisabledInfo:g,textColorTextInfo:T,textColorTextHoverInfo:H,textColorTextPressedInfo:w,textColorTextFocusInfo:H,textColorTextDisabledInfo:d,textColorGhostInfo:T,textColorGhostHoverInfo:H,textColorGhostPressedInfo:w,textColorGhostFocusInfo:H,textColorGhostDisabledInfo:T,borderInfo:`1px solid ${T}`,borderHoverInfo:`1px solid ${H}`,borderPressedInfo:`1px solid ${w}`,borderFocusInfo:`1px solid ${H}`,borderDisabledInfo:`1px solid ${T}`,rippleColorInfo:T,colorSuccess:S,colorHoverSuccess:M,colorPressedSuccess:x,colorFocusSuccess:M,colorDisabledSuccess:S,textColorSuccess:g,textColorHoverSuccess:g,textColorPressedSuccess:g,textColorFocusSuccess:g,textColorDisabledSuccess:g,textColorTextSuccess:S,textColorTextHoverSuccess:M,textColorTextPressedSuccess:x,textColorTextFocusSuccess:M,textColorTextDisabledSuccess:d,textColorGhostSuccess:S,textColorGhostHoverSuccess:M,textColorGhostPressedSuccess:x,textColorGhostFocusSuccess:M,textColorGhostDisabledSuccess:S,borderSuccess:`1px solid ${S}`,borderHoverSuccess:`1px solid ${M}`,borderPressedSuccess:`1px solid ${x}`,borderFocusSuccess:`1px solid ${M}`,borderDisabledSuccess:`1px solid ${S}`,rippleColorSuccess:S,colorWarning:E,colorHoverWarning:P,colorPressedWarning:N,colorFocusWarning:P,colorDisabledWarning:E,textColorWarning:g,textColorHoverWarning:g,textColorPressedWarning:g,textColorFocusWarning:g,textColorDisabledWarning:g,textColorTextWarning:E,textColorTextHoverWarning:P,textColorTextPressedWarning:N,textColorTextFocusWarning:P,textColorTextDisabledWarning:d,textColorGhostWarning:E,textColorGhostHoverWarning:P,textColorGhostPressedWarning:N,textColorGhostFocusWarning:P,textColorGhostDisabledWarning:E,borderWarning:`1px solid ${E}`,borderHoverWarning:`1px solid ${P}`,borderPressedWarning:`1px solid ${N}`,borderFocusWarning:`1px solid ${P}`,borderDisabledWarning:`1px solid ${E}`,rippleColorWarning:E,colorError:j,colorHoverError:R,colorPressedError:$,colorFocusError:R,colorDisabledError:j,textColorError:g,textColorHoverError:g,textColorPressedError:g,textColorFocusError:g,textColorDisabledError:g,textColorTextError:j,textColorTextHoverError:R,textColorTextPressedError:$,textColorTextFocusError:R,textColorTextDisabledError:d,textColorGhostError:j,textColorGhostHoverError:R,textColorGhostPressedError:$,textColorGhostFocusError:R,textColorGhostDisabledError:j,borderError:`1px solid ${j}`,borderHoverError:`1px solid ${R}`,borderPressedError:`1px solid ${$}`,borderFocusError:`1px solid ${R}`,borderDisabledError:`1px solid ${j}`,rippleColorError:j,waveOpacity:"0.6",fontWeight:oe,fontWeightStrong:me})},mT={name:"Button",common:ye,self:If},Ht=mT;var hT={name:"Button",common:A,self(e){let t=If(e);return t.waveOpacity="0.8",t.colorOpacitySecondary="0.16",t.colorOpacitySecondaryHover="0.2",t.colorOpacitySecondaryPressed="0.12",t}},bt=hT;var x1="n-button-group";var v1=J([K("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);
|
|
`,[Se("color",[ee("border",{borderColor:"var(--n-border-color)"}),Se("disabled",[ee("border",{borderColor:"var(--n-border-color-disabled)"})]),gr("disabled",[J("&:focus",[ee("state-border",{borderColor:"var(--n-border-color-focus)"})]),J("&:hover",[ee("state-border",{borderColor:"var(--n-border-color-hover)"})]),J("&:active",[ee("state-border",{borderColor:"var(--n-border-color-pressed)"})]),Se("pressed",[ee("state-border",{borderColor:"var(--n-border-color-pressed)"})])])]),Se("disabled",{backgroundColor:"var(--n-color-disabled)",color:"var(--n-text-color-disabled)"},[ee("border",{border:"var(--n-border-disabled)"})]),gr("disabled",[J("&:focus",{backgroundColor:"var(--n-color-focus)",color:"var(--n-text-color-focus)"},[ee("state-border",{border:"var(--n-border-focus)"})]),J("&:hover",{backgroundColor:"var(--n-color-hover)",color:"var(--n-text-color-hover)"},[ee("state-border",{border:"var(--n-border-hover)"})]),J("&:active",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[ee("state-border",{border:"var(--n-border-pressed)"})]),Se("pressed",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[ee("state-border",{border:"var(--n-border-pressed)"})])]),Se("loading",{"pointer-events":"none"}),K("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);
|
|
`,[Se("active",{zIndex:1,animationName:"button-wave-spread, button-wave-opacity"})]),typeof window<"u"&&"MozBoxSizing"in document.createElement("div").style?J("&::moz-focus-inner",{border:0}):null,ee("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;
|
|
`),ee("border",{border:"var(--n-border)"}),ee("state-border",{border:"var(--n-border)",borderColor:"#0000",zIndex:1}),ee("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;
|
|
`,[K("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%)"})]),s1()]),ee("content",`
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: nowrap;
|
|
`,[J("~",[ee("icon",{margin:"var(--n-icon-margin)",marginRight:0})])]),Se("block",`
|
|
display: flex;
|
|
width: 100%;
|
|
`),Se("dashed",[ee("border, state-border",{borderStyle:"dashed !important"})]),Se("disabled",{cursor:"not-allowed",opacity:"var(--n-opacity-disabled)"})]),J("@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)"}}),J("@keyframes button-wave-opacity",{from:{opacity:"var(--n-wave-opacity)"},to:{opacity:0}})]);var gT=Object.assign(Object.assign({},At.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}),bT=fe({name:"Button",props:gT,setup(e){let t=X(null),r=X(null),o=X(!1);ut(()=>{let{value:w}=t;w&&!e.disabled&&e.focusable&&e.internalAutoFocus&&w.focus({preventScroll:!0})});let n=it(()=>!e.quaternary&&!e.tertiary&&!e.secondary&&!e.text&&(!e.color||e.ghost||e.dashed)&&e.bordered),i=_e(x1,{}),{mergedSizeRef:a}=Mr({},{defaultSize:"medium",mergedSize:w=>{let{size:S}=e;if(S)return S;let{size:M}=i;if(M)return M;let{mergedSize:x}=w||{};return x?x.value:"medium"}}),s=V(()=>e.focusable&&!e.disabled),l=w=>{var S;w.preventDefault(),!e.disabled&&s.value&&((S=t.value)===null||S===void 0||S.focus({preventScroll:!0}))},u=w=>{var S;if(!e.disabled&&!e.loading){let{onClick:M}=e;M&&Te(M,w),e.text||(S=r.value)===null||S===void 0||S.play()}},c=w=>{switch(w.code){case"Enter":case"NumpadEnter":if(!e.keyboard)return;o.value=!1}},d=w=>{switch(w.code){case"Enter":case"NumpadEnter":if(!e.keyboard||e.loading){w.preventDefault();return}o.value=!0}},p=()=>{o.value=!1},{inlineThemeDisabled:f,mergedClsPrefixRef:m,mergedRtlRef:b}=jt(e),C=At("Button","-button",v1,Ht,e,m),g=Zn("Button",b,m),T=V(()=>{let w=C.value,{common:{cubicBezierEaseInOut:S,cubicBezierEaseOut:M},self:x}=w,{rippleDuration:E,opacityDisabled:P,fontWeight:N,fontWeightStrong:j}=x,R=a.value,{dashed:$,type:oe,ghost:he,text:ce,color:se,round:me,circle:De,textColor:$e,secondary:Fe,tertiary:Xe,quaternary:Ve,strong:rt}=e,St={"font-weight":rt?j:N},Ye={"--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"},Ze=oe==="tertiary",vt=oe==="default",ze=Ze?"default":oe;if(ce){let z=$e||se;Ye={"--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":z||x[He("textColorText",ze)],"--n-text-color-hover":z?xn(z):x[He("textColorTextHover",ze)],"--n-text-color-pressed":z?Za(z):x[He("textColorTextPressed",ze)],"--n-text-color-focus":z?xn(z):x[He("textColorTextHover",ze)],"--n-text-color-disabled":z||x[He("textColorTextDisabled",ze)]}}else if(he||$){let z=$e||se;Ye={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":se||x[He("rippleColor",ze)],"--n-text-color":z||x[He("textColorGhost",ze)],"--n-text-color-hover":z?xn(z):x[He("textColorGhostHover",ze)],"--n-text-color-pressed":z?Za(z):x[He("textColorGhostPressed",ze)],"--n-text-color-focus":z?xn(z):x[He("textColorGhostHover",ze)],"--n-text-color-disabled":z||x[He("textColorGhostDisabled",ze)]}}else if(Fe){let z=vt?x.textColor:Ze?x.textColorTertiary:x[He("color",ze)],Q=se||z,Y=oe!=="default"&&oe!=="tertiary";Ye={"--n-color":Y?re(Q,{alpha:Number(x.colorOpacitySecondary)}):x.colorSecondary,"--n-color-hover":Y?re(Q,{alpha:Number(x.colorOpacitySecondaryHover)}):x.colorSecondaryHover,"--n-color-pressed":Y?re(Q,{alpha:Number(x.colorOpacitySecondaryPressed)}):x.colorSecondaryPressed,"--n-color-focus":Y?re(Q,{alpha:Number(x.colorOpacitySecondaryHover)}):x.colorSecondaryHover,"--n-color-disabled":x.colorSecondary,"--n-ripple-color":"#0000","--n-text-color":Q,"--n-text-color-hover":Q,"--n-text-color-pressed":Q,"--n-text-color-focus":Q,"--n-text-color-disabled":Q}}else if(Xe||Ve){let z=vt?x.textColor:Ze?x.textColorTertiary:x[He("color",ze)],Q=se||z;Xe?(Ye["--n-color"]=x.colorTertiary,Ye["--n-color-hover"]=x.colorTertiaryHover,Ye["--n-color-pressed"]=x.colorTertiaryPressed,Ye["--n-color-focus"]=x.colorSecondaryHover,Ye["--n-color-disabled"]=x.colorTertiary):(Ye["--n-color"]=x.colorQuaternary,Ye["--n-color-hover"]=x.colorQuaternaryHover,Ye["--n-color-pressed"]=x.colorQuaternaryPressed,Ye["--n-color-focus"]=x.colorQuaternaryHover,Ye["--n-color-disabled"]=x.colorQuaternary),Ye["--n-ripple-color"]="#0000",Ye["--n-text-color"]=Q,Ye["--n-text-color-hover"]=Q,Ye["--n-text-color-pressed"]=Q,Ye["--n-text-color-focus"]=Q,Ye["--n-text-color-disabled"]=Q}else Ye={"--n-color":se||x[He("color",ze)],"--n-color-hover":se?xn(se):x[He("colorHover",ze)],"--n-color-pressed":se?Za(se):x[He("colorPressed",ze)],"--n-color-focus":se?xn(se):x[He("colorFocus",ze)],"--n-color-disabled":se||x[He("colorDisabled",ze)],"--n-ripple-color":se||x[He("rippleColor",ze)],"--n-text-color":$e||(se?x.textColorPrimary:Ze?x.textColorTertiary:x[He("textColor",ze)]),"--n-text-color-hover":$e||(se?x.textColorHoverPrimary:x[He("textColorHover",ze)]),"--n-text-color-pressed":$e||(se?x.textColorPressedPrimary:x[He("textColorPressed",ze)]),"--n-text-color-focus":$e||(se?x.textColorFocusPrimary:x[He("textColorFocus",ze)]),"--n-text-color-disabled":$e||(se?x.textColorDisabledPrimary:x[He("textColorDisabled",ze)])};let pt={"--n-border":"initial","--n-border-hover":"initial","--n-border-pressed":"initial","--n-border-focus":"initial","--n-border-disabled":"initial"};ce?pt={"--n-border":"none","--n-border-hover":"none","--n-border-pressed":"none","--n-border-focus":"none","--n-border-disabled":"none"}:pt={"--n-border":x[He("border",ze)],"--n-border-hover":x[He("borderHover",ze)],"--n-border-pressed":x[He("borderPressed",ze)],"--n-border-focus":x[He("borderFocus",ze)],"--n-border-disabled":x[He("borderDisabled",ze)]};let{[He("height",R)]:It,[He("fontSize",R)]:zt,[He("padding",R)]:h,[He("paddingRound",R)]:y,[He("iconSize",R)]:B,[He("borderRadius",R)]:G,[He("iconMargin",R)]:U,waveOpacity:ae}=x,ne={"--n-width":De&&!ce?It:"initial","--n-height":ce?"initial":It,"--n-font-size":zt,"--n-padding":De||ce?"initial":me?y:h,"--n-icon-size":B,"--n-icon-margin":U,"--n-border-radius":ce?"initial":De||me?It:G};return Object.assign(Object.assign(Object.assign(Object.assign({"--n-bezier":S,"--n-bezier-ease-out":M,"--n-ripple-duration":E,"--n-opacity-disabled":P,"--n-wave-opacity":ae},St),Ye),pt),ne)}),H=f?ar("button",V(()=>{let w="",{dashed:S,type:M,ghost:x,text:E,color:P,round:N,circle:j,textColor:R,secondary:$,tertiary:oe,quaternary:he,strong:ce}=e;S&&(w+="a"),x&&(w+="b"),E&&(w+="c"),N&&(w+="d"),j&&(w+="e"),$&&(w+="f"),oe&&(w+="g"),he&&(w+="h"),ce&&(w+="i"),P&&(w+="j"+wa(P)),R&&(w+="k"+wa(R));let{value:se}=a;return w+="l"+se[0],w+="m"+M[0],w}),T,e):void 0;return{selfElRef:t,waveElRef:r,mergedClsPrefix:m,mergedFocusable:s,mergedSize:a,showBorder:n,enterPressed:o,rtlEnabled:g,handleMousedown:l,handleKeydown:d,handleBlur:p,handleKeyup:c,handleClick:u,customColorCssVars:V(()=>{let{color:w}=e;if(!w)return null;let S=xn(w);return{"--n-border-color":w,"--n-border-color-hover":S,"--n-border-color-pressed":Za(w),"--n-border-color-focus":S,"--n-border-color-disabled":w}}),cssVars:f?void 0:T,themeClass:H?.themeClass,onRender:H?.onRender}},render(){let{mergedClsPrefix:e,tag:t,onRender:r}=this;r?.();let o=ho(this.$slots.default,n=>n&&v("span",{class:`${e}-button__content`},n));return v(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,v(Ii,{width:!0},{default:()=>ho(this.$slots.icon,n=>(this.loading||n)&&v("span",{class:`${e}-button__icon`,style:{margin:wl(this.$slots.default)?"0":""}},v(zr,null,{default:()=>this.loading?v(gn,{clsPrefix:e,key:"loading",class:`${e}-icon-slot`,strokeWidth:20}):v("div",{key:"icon",class:`${e}-icon-slot`,role:"none"},n)})))}),this.iconPlacement==="left"&&o,this.text?null:v(gu,{ref:"waveElRef",clsPrefix:e}),this.showBorder?v("div",{"aria-hidden":!0,class:`${e}-button__border`,style:this.customColorCssVars}):null,this.showBorder?v("div",{"aria-hidden":!0,class:`${e}-button__state-border`,style:this.customColorCssVars}):null)}}),Lf=bT;var y1={titleFontSize:"22px"};var Of=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:m}=e;return Object.assign(Object.assign({},y1),{borderRadius:t,borderColor:we(p,s),borderColorModal:we(f,s),borderColorPopover:we(m,s),textColor:n,titleFontWeight:l,titleTextColor:i,dayTextColor:a,fontSize:r,lineHeight:o,dateColorCurrent:u,dateTextColorCurrent:c,cellColorHover:we(p,d),cellColorHoverModal:we(f,d),cellColorHoverPopover:we(m,d),cellColor:p,cellColorModal:f,cellColorPopover:m,barColor:u})},VG={name:"Calendar",common:ye,peers:{Button:Ht},self:Of};var xT={name:"Calendar",common:A,peers:{Button:bt},self:Of},Pf=xT;var Rf=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}},JG={name:"ColorPicker",common:ye,peers:{Input:Dr,Button:Ht},self:Rf};var vT={name:"ColorPicker",common:A,peers:{Input:_t,Button:bt},self:Rf},Bf=vT;var w1={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 Mf=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:m,popoverColor:b,actionColor:C}=e;return Object.assign(Object.assign({},w1),{lineHeight:o,color:i,colorModal:f,colorPopover:b,colorTarget:t,colorEmbedded:C,textColor:a,titleTextColor:s,borderColor:l,actionColor:C,titleFontWeight:u,closeColor:c,closeColorHover:d,closeColorPressed:p,fontSizeSmall:n,fontSizeMedium:n,fontSizeLarge:n,fontSizeHuge:n,boxShadow:m,borderRadius:r})},yT={name:"Card",common:ye,self:Mf},$f=yT;var wT={name:"Card",common:A,self(e){let t=Mf(e),{cardColor:r}=e;return t.colorEmbedded=r,t}},Qa=wT;var C1=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 CT={name:"Carousel",common:A,self:C1},Hf=CT;var k1={sizeSmall:"14px",sizeMedium:"16px",sizeLarge:"18px",labelPadding:"0 8px"};var zf=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:m}=e;return Object.assign(Object.assign({},k1),{labelLineHeight:m,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 ${re(l,{alpha:.3})}`,textColor:u,textColorDisabled:a})},kT={name:"Checkbox",common:ye,self:zf},Bo=kT;var ST={name:"Checkbox",common:A,self(e){let{cardColor:t}=e,r=zf(e);return r.color="#0000",r.checkMarkColor=t,r}},Zr=ST;var Ff=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"}},FX={name:"Cascader",common:ye,peers:{InternalSelectMenu:Yn,InternalSelection:Ga,Scrollbar:Rt,Checkbox:Bo,Empty:_r},self:Ff};var ET={name:"Cascader",common:A,peers:{InternalSelectMenu:Xr,InternalSelection:Jn,Scrollbar:gt,Checkbox:Zr,Empty:_r},self:Ff},Vf=ET;var S1=v("svg",{viewBox:"0 0 64 64",class:"check-icon"},v("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 E1=v("svg",{viewBox:"0 0 100 100",class:"line-icon"},v("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 jf="n-checkbox-group",_T={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}},lY=fe({name:"CheckboxGroup",props:_T,setup(e){let{mergedClsPrefixRef:t}=jt(e),r=Mr(e),{mergedSizeRef:o,mergedDisabledRef:n}=r,i=X(e.defaultValue),a=V(()=>e.value),s=cr(a,i),l=V(()=>{var d;return((d=s.value)===null||d===void 0?void 0:d.length)||0}),u=V(()=>Array.isArray(s.value)?new Set(s.value):new Set);function c(d,p){let{nTriggerFormInput:f,nTriggerFormChange:m}=r,{onChange:b,"onUpdate:value":C,onUpdateValue:g}=e;if(Array.isArray(s.value)){let T=Array.from(s.value),H=T.findIndex(w=>w===p);d?~H||(T.push(p),g&&Te(g,T),C&&Te(C,T),f(),m(),i.value=T,b&&Te(b,T)):~H&&(T.splice(H,1),g&&Te(g,T),C&&Te(C,T),b&&Te(b,T),i.value=T,f(),m())}else d?(g&&Te(g,[p]),C&&Te(C,[p]),b&&Te(b,[p]),i.value=[p],f(),m()):(g&&Te(g,[]),C&&Te(C,[]),b&&Te(b,[]),i.value=[],f(),m())}return Yt(jf,{checkedCountRef:l,maxRef:Me(e,"max"),minRef:Me(e,"min"),valueSetRef:u,disabledRef:n,mergedSizeRef:o,toggleCheckbox:c}),{mergedClsPrefix:t}},render(){return v("div",{class:`${this.mergedClsPrefix}-checkbox-group`,role:"group"},this.$slots)}});var _1=J([K("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);
|
|
`,[J("&:hover",[K("checkbox-box",[ee("border",{border:"var(--n-border-checked)"})])]),J("&:focus:not(:active)",[K("checkbox-box",[ee("border",`
|
|
border: var(--n-border-focus);
|
|
box-shadow: var(--n-box-shadow-focus);
|
|
`)])]),Se("inside-table",[K("checkbox-box",`
|
|
background-color: var(--n-merged-color-table);
|
|
`)]),Se("checked",[K("checkbox-box",`
|
|
background-color: var(--n-color-checked);
|
|
`,[K("checkbox-icon",[J(".check-icon",`
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
`)])])]),Se("indeterminate",[K("checkbox-box",[K("checkbox-icon",[J(".check-icon",`
|
|
opacity: 0;
|
|
transform: scale(.5);
|
|
`),J(".line-icon",`
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
`)])])]),Se("checked, indeterminate",[J("&:focus:not(:active)",[K("checkbox-box",[ee("border",`
|
|
border: var(--n-border-checked);
|
|
box-shadow: var(--n-box-shadow-focus);
|
|
`)])]),K("checkbox-box",`
|
|
background-color: var(--n-color-checked);
|
|
border-left: 0;
|
|
border-top: 0;
|
|
`,[ee("border",{border:"var(--n-border-checked)"})])]),Se("disabled",{cursor:"not-allowed"},[Se("checked",[K("checkbox-box",`
|
|
background-color: var(--n-color-disabled-checked);
|
|
`,[ee("border",{border:"var(--n-border-disabled-checked)"}),K("checkbox-icon",[J(".check-icon, .line-icon",{fill:"var(--n-check-mark-color-disabled-checked)"})])])]),K("checkbox-box",`
|
|
background-color: var(--n-color-disabled);
|
|
`,[ee("border",{border:"var(--n-border-disabled)"}),K("checkbox-icon",[J(".check-icon, .line-icon",{fill:"var(--n-check-mark-color-disabled)"})])]),ee("label",{color:"var(--n-text-color-disabled)"})]),K("checkbox-box-wrapper",`
|
|
position: relative;
|
|
width: var(--n-size);
|
|
flex-shrink: 0;
|
|
flex-grow: 0;
|
|
`),K("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);
|
|
`,[ee("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);
|
|
`),K("checkbox-icon",`
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: absolute;
|
|
left: 1px;
|
|
right: 1px;
|
|
top: 1px;
|
|
bottom: 1px;
|
|
`,[J(".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"})])]),ee("label",`
|
|
color: var(--n-text-color);
|
|
transition: color .3s var(--n-bezier);
|
|
user-select: none;
|
|
padding: var(--n-label-padding);
|
|
`,[J("&:empty",{display:"none"})])]),Sl(K("checkbox",`
|
|
--n-merged-color-table: var(--n-color-table-modal);
|
|
`)),El(K("checkbox",`
|
|
--n-merged-color-table: var(--n-color-table-popover);
|
|
`))]);var TT=Object.assign(Object.assign({},At.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]}),Wf=fe({name:"Checkbox",props:TT,setup(e){let t=X(null),{mergedClsPrefixRef:r,inlineThemeDisabled:o,mergedRtlRef:n}=jt(e),i=Mr(e,{mergedSize(M){let{size:x}=e;if(x!==void 0)return x;if(l){let{value:E}=l.mergedSizeRef;if(E!==void 0)return E}if(M){let{mergedSize:E}=M;if(E!==void 0)return E.value}return"medium"},mergedDisabled(M){let{disabled:x}=e;if(x!==void 0)return x;if(l){if(l.disabledRef.value)return!0;let{maxRef:{value:E},checkedCountRef:P}=l;if(E!==void 0&&P.value>=E&&!p.value)return!0;let{minRef:{value:N}}=l;if(N!==void 0&&P.value<=N&&p.value)return!0}return M?M.disabled.value:!1}}),{mergedDisabledRef:a,mergedSizeRef:s}=i,l=_e(jf,null),u=X(e.defaultChecked),c=Me(e,"checked"),d=cr(c,u),p=it(()=>{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=At("Checkbox","-checkbox",_1,Bo,e,r);function m(M){if(l&&e.value!==void 0)l.toggleCheckbox(!p.value,e.value);else{let{onChange:x,"onUpdate:checked":E,onUpdateChecked:P}=e,{nTriggerFormInput:N,nTriggerFormChange:j}=i,R=p.value?e.uncheckedValue:e.checkedValue;E&&Te(E,R,M),P&&Te(P,R,M),x&&Te(x,R,M),N(),j(),u.value=R}}function b(M){a.value||m(M)}function C(M){if(!a.value)switch(M.code){case"Space":case"Enter":case"NumpadEnter":m(M)}}function g(M){switch(M.code){case"Space":M.preventDefault()}}let T={focus:()=>{var M;(M=t.value)===null||M===void 0||M.focus()},blur:()=>{var M;(M=t.value)===null||M===void 0||M.blur()}},H=Zn("Checkbox",n,r),w=V(()=>{let{value:M}=s,{common:{cubicBezierEaseInOut:x},self:{borderRadius:E,color:P,colorChecked:N,colorDisabled:j,colorTableHeader:R,colorTableHeaderModal:$,colorTableHeaderPopover:oe,checkMarkColor:he,checkMarkColorDisabled:ce,border:se,borderFocus:me,borderDisabled:De,borderChecked:$e,boxShadowFocus:Fe,textColor:Xe,textColorDisabled:Ve,checkMarkColorDisabledChecked:rt,colorDisabledChecked:St,borderDisabledChecked:Ye,labelPadding:Ze,labelLineHeight:vt,[He("fontSize",M)]:ze,[He("size",M)]:pt}}=f.value;return{"--n-label-line-height":vt,"--n-size":pt,"--n-bezier":x,"--n-border-radius":E,"--n-border":se,"--n-border-checked":$e,"--n-border-focus":me,"--n-border-disabled":De,"--n-border-disabled-checked":Ye,"--n-box-shadow-focus":Fe,"--n-color":P,"--n-color-checked":N,"--n-color-table":R,"--n-color-table-modal":$,"--n-color-table-popover":oe,"--n-color-disabled":j,"--n-color-disabled-checked":St,"--n-text-color":Xe,"--n-text-color-disabled":Ve,"--n-check-mark-color":he,"--n-check-mark-color-disabled":ce,"--n-check-mark-color-disabled-checked":rt,"--n-font-size":ze,"--n-label-padding":Ze}}),S=o?ar("checkbox",V(()=>s.value[0]),w,e):void 0;return Object.assign(i,T,{rtlEnabled:H,selfRef:t,mergedClsPrefix:r,mergedDisabled:a,renderedChecked:p,mergedTheme:f,labelId:vd(),handleClick:b,handleKeyUp:C,handleKeyDown:g,cssVars:o?void 0:w,themeClass:S?.themeClass,onRender:S?.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),v("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:()=>{Et("selectstart",window,m=>{m.preventDefault()},{once:!0})}},v("div",{class:`${u}-checkbox-box-wrapper`},"\xA0",v("div",{class:`${u}-checkbox-box`},v(zr,null,{default:()=>this.indeterminate?v("div",{key:"indeterminate",class:`${u}-checkbox-icon`},E1):v("div",{key:"check",class:`${u}-checkbox-icon`},S1)}),v("div",{class:`${u}-checkbox-box__border`}))),l!==null||t.default?v("span",{class:`${u}-checkbox__label`,id:s},t.default?t.default():l):null)}});var DT={name:"Code",common:A,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"}}},Ja=DT;var T1=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 NT={name:"Collapse",common:A,self:T1},qf=NT;var D1=e=>{let{cubicBezierEaseInOut:t}=e;return{bezier:t}};var AT={name:"CollapseTransition",common:A,self:D1},Uf=AT;var N1={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:()=>(xl("config-provider","`as` is deprecated, please use `tag` instead."),!0),default:void 0}},Kf=fe({name:"ConfigProvider",alias:["App"],props:N1,setup(e){let t=_e(dr,null),r=V(()=>{let{theme:f}=e;if(f===null)return;let m=t?.mergedThemeRef.value;return f===void 0?m:m===void 0?f:Object.assign({},m,f)}),o=V(()=>{let{themeOverrides:f}=e;if(f!==null){if(f===void 0)return t?.mergedThemeOverridesRef.value;{let m=t?.mergedThemeOverridesRef.value;return m===void 0?f:mn({},m,f)}}}),n=it(()=>{let{namespace:f}=e;return f===void 0?t?.mergedNamespaceRef.value:f}),i=it(()=>{let{bordered:f}=e;return f===void 0?t?.mergedBorderedRef.value:f}),a=V(()=>{let{icons:f}=e;return f===void 0?t?.mergedIconsRef.value:f}),s=V(()=>{let{componentOptions:f}=e;return f!==void 0?f:t?.mergedComponentPropsRef.value}),l=V(()=>{let{clsPrefix:f}=e;return f!==void 0?f:t?.mergedClsPrefixRef.value}),u=V(()=>{var f;let{rtl:m}=e;if(m===void 0)return t?.mergedRtlRef.value;let b={};for(let C of m)b[C.name]=An(C),(f=C.peers)===null||f===void 0||f.forEach(g=>{g.name in b||(b[g.name]=An(g))});return b}),c=V(()=>e.breakpoints||t?.mergedBreakpointsRef.value),d=e.inlineThemeDisabled||t?.inlineThemeDisabled,p=V(()=>{let{value:f}=r,{value:m}=o,b=m&&Object.keys(m).length!==0,C=f?.name;return C?b?`${C}-${Sr(JSON.stringify(o.value))}`:C:b?Sr(JSON.stringify(o.value)):""});return Yt(dr,{mergedThemeHashRef:p,mergedBreakpointsRef:c,mergedRtlRef:u,mergedIconsRef:a,mergedComponentPropsRef:s,mergedBorderedRef:i,mergedNamespaceRef:n,mergedClsPrefixRef:l,mergedLocaleRef:V(()=>{let{locale:f}=e;if(f!==null)return f===void 0?t?.mergedLocaleRef.value:f}),mergedDateLocaleRef:V(()=>{let{dateLocale:f}=e;if(f!==null)return f===void 0?t?.mergedDateLocaleRef.value:f}),mergedHljsRef:V(()=>{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):v(this.as||this.tag,{class:`${this.mergedClsPrefix||iu}-config-provider`},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}});function Gf(e){let{boxShadow2:t}=e;return{menuBoxShadow:t}}var IT={name:"Select",common:ye,peers:{InternalSelection:Ga,InternalSelectMenu:Yn},self:Gf},Xf=IT;var LT={name:"Select",common:A,peers:{InternalSelection:Jn,InternalSelectMenu:Xr},self:Gf},es=LT;var A1={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 Yf=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({},A1),{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})},OT={name:"Pagination",common:ye,peers:{Select:Xf,Input:Dr},self:Yf},Zf=OT;var PT={name:"Pagination",common:A,peers:{Select:es,Input:_t},self(e){let{primaryColor:t,opacity3:r}=e,o=re(t,{alpha:Number(r)}),n=Yf(e);return n.itemBorderActive=`1px solid ${o}`,n.itemBorderDisabled="1px solid #0000",n}},ts=PT;var wu={padding:"8px 14px"};var RT={name:"Tooltip",common:A,peers:{Popover:fr},self(e){let{borderRadius:t,boxShadow2:r,popoverColor:o,textColor2:n}=e;return Object.assign(Object.assign({},wu),{borderRadius:t,boxShadow:r,color:o,textColor:n})}},wo=RT;var BT=e=>{let{borderRadius:t,boxShadow2:r,baseColor:o}=e;return Object.assign(Object.assign({},wu),{borderRadius:t,boxShadow:r,color:we(o,"rgba(0, 0, 0, .85)"),textColor:o})},MT={name:"Tooltip",common:ye,peers:{Popover:Yr},self:BT},rs=MT;var $T={name:"Ellipsis",common:A,peers:{Tooltip:wo}},os=$T;var HT={name:"Ellipsis",common:ye,peers:{Tooltip:rs}},Qf=HT;var Cu={radioSizeSmall:"14px",radioSizeMedium:"16px",radioSizeLarge:"18px",labelPadding:"0 8px"};var zT={name:"Radio",common:A,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:m,lineHeight:b}=e;return Object.assign(Object.assign({},Cu),{labelLineHeight:b,buttonHeightSmall:p,buttonHeightMedium:f,buttonHeightLarge:m,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 ${re(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 ${re(r,{alpha:.3})}`,buttonBoxShadowHover:`inset 0 0 0 1px ${r}`,buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})}},ns=zT;var FT=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:m,lineHeight:b}=e;return Object.assign(Object.assign({},Cu),{labelLineHeight:b,buttonHeightSmall:p,buttonHeightMedium:f,buttonHeightLarge:m,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 ${re(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 ${re(r,{alpha:.3})}`,buttonBoxShadowHover:"inset 0 0 0 1px #0000",buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})},VT={name:"Radio",common:ye,self:FT},Jf=VT;var I1={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 ep=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:m,fontSizeLarge:b,dividerColor:C,heightSmall:g,opacityDisabled:T,tableColorStriped:H}=e;return Object.assign(Object.assign({},I1),{actionDividerColor:C,lineHeight:p,borderRadius:d,fontSizeSmall:f,fontSizeMedium:m,fontSizeLarge:b,borderColor:we(t,C),tdColorHover:we(t,s),tdColorStriped:we(t,H),thColor:we(t,a),thColorHover:we(we(t,a),s),tdColor:t,tdTextColor:n,thTextColor:i,thFontWeight:c,thButtonColorHover:s,thIconColor:l,thIconColorActive:u,borderColorModal:we(r,C),tdColorHoverModal:we(r,s),tdColorStripedModal:we(r,H),thColorModal:we(r,a),thColorHoverModal:we(we(r,a),s),tdColorModal:r,borderColorPopover:we(o,C),tdColorHoverPopover:we(o,s),tdColorStripedPopover:we(o,H),thColorPopover:we(o,a),thColorHoverPopover:we(we(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:g,opacityLoading:T})},kQ={name:"DataTable",common:ye,peers:{Button:Ht,Checkbox:Bo,Radio:Jf,Pagination:Zf,Scrollbar:Rt,Empty:_r,Popover:Yr,Ellipsis:Qf},self:ep};var jT={name:"DataTable",common:A,peers:{Button:bt,Checkbox:Zr,Radio:ns,Pagination:ts,Scrollbar:gt,Empty:Tr,Popover:fr,Ellipsis:os},self(e){let t=ep(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}},tp=jT;var L1={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 rp=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:m,heightHuge:b,textColor3:C,opacityDisabled:g}=e;return Object.assign(Object.assign({},L1),{optionHeightSmall:p,optionHeightMedium:f,optionHeightLarge:m,optionHeightHuge:b,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:re(t,{alpha:.1}),groupHeaderTextColor:C,optionTextColorInverted:"#BBB",optionTextColorHoverInverted:"#FFF",optionTextColorActiveInverted:"#FFF",optionTextColorChildActiveInverted:"#FFF",colorInverted:a,dividerColorInverted:"#BBB",suffixColorInverted:"#BBB",prefixColorInverted:"#BBB",optionColorHoverInverted:t,optionColorActiveInverted:t,groupHeaderTextColorInverted:"#AAA",optionOpacityDisabled:g})},WT={name:"Dropdown",common:ye,peers:{Popover:Yr},self:rp},op=WT;var qT={name:"Dropdown",common:A,peers:{Popover:fr},self(e){let{primaryColorSuppl:t,primaryColor:r,popoverColor:o}=e,n=rp(e);return n.colorInverted=o,n.optionColorActive=re(r,{alpha:.15}),n.optionColorActiveInverted=t,n.optionColorHoverInverted=t,n}},is=qT;var O1=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 UT={name:"Icon",common:A,self:O1},np=UT;var P1={itemFontSize:"12px",itemHeight:"36px",itemWidth:"52px",panelActionPadding:"8px 0"};var ip=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({},P1),{panelColor:t,panelBoxShadow:s,panelDividerColor:i,itemTextColor:r,itemTextColorActive:o,itemColorHover:n,itemOpacityDisabled:a,itemBorderRadius:l,borderRadius:l,iconColor:u,iconColorDisabled:c})},KT={name:"TimePicker",common:ye,peers:{Scrollbar:Rt,Button:Ht,Input:Dr},self:ip},ap=KT;var GT={name:"TimePicker",common:A,peers:{Scrollbar:gt,Button:bt,Input:_t},self:ip},as=GT;var R1={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 sp=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:m}=e;return Object.assign(Object.assign({},R1),{itemFontSize:r,calendarDaysFontSize:r,calendarTitleFontSize:r,itemTextColor:o,itemTextColorDisabled:n,itemTextColorActive:i,itemTextColorCurrent:a,itemColorIncluded:re(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:m,scrollItemBorderRadius:f,iconColor:l,iconColorDisabled:u})},DJ={name:"DatePicker",common:ye,peers:{Input:Dr,Button:Ht,TimePicker:ap,Scrollbar:Rt},self:sp};var XT={name:"DatePicker",common:A,peers:{Input:_t,Button:bt,TimePicker:as,Scrollbar:gt},self(e){let{popoverColor:t,hoverColor:r,primaryColor:o}=e,n=sp(e);return n.itemColorDisabled=we(t,r),n.itemColorIncluded=re(o,{alpha:.15}),n.itemColorHover=we(t,r),n}},lp=XT;var B1={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 M1=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({},B1),{lineHeight:c,fontSizeSmall:d,fontSizeMedium:p,fontSizeLarge:f,titleTextColor:o,thColor:we(n,t),thColorModal:we(i,t),thColorPopover:we(a,t),thTextColor:o,thFontWeight:u,tdTextColor:r,tdColor:n,tdColorModal:i,tdColorPopover:a,borderColor:we(n,s),borderColorModal:we(i,s),borderColorPopover:we(a,s),borderRadius:l})};var YT={name:"Descriptions",common:A,self:M1},up=YT;var $1={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 cp=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:m,lineHeight:b,fontSize:C}=e;return Object.assign(Object.assign({},$1),{fontSize:C,lineHeight:b,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:m})},ZT={name:"Dialog",common:ye,peers:{Button:Ht},self:cp},dp=ZT;var QT={name:"Dialog",common:A,peers:{Button:bt},self:cp},ss=QT;var fp=e=>{let{modalColor:t,textColor2:r,boxShadow3:o}=e;return{color:t,textColor:r,boxShadow:o}},dee={name:"Modal",common:ye,peers:{Scrollbar:Rt,Dialog:dp,Card:$f},self:fp};var JT={name:"Modal",common:A,peers:{Scrollbar:gt,Dialog:ss,Card:Qa},self:fp},pp=JT;var H1=e=>{let{textColor1:t,dividerColor:r,fontWeightStrong:o}=e;return{textColor:t,color:r,fontWeight:o}};var e8={name:"Divider",common:A,self:H1},mp=e8;var hp=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"}},Nee={name:"Drawer",common:ye,peers:{Scrollbar:Rt},self:hp};var t8={name:"Drawer",common:A,peers:{Scrollbar:gt},self:hp},gp=t8;var z1={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"};var r8={name:"DynamicInput",common:A,peers:{Input:_t,Button:bt},self(){return z1}},bp=r8;var F1={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"};var o8={name:"Space",self(){return F1}},ls=o8;var n8={name:"DynamicTags",common:A,peers:{Input:_t,Button:bt,Tag:Ka,Space:ls},self(){return{inputWidth:"64px"}}},xp=n8;var i8={name:"Element",common:A},vp=i8;var V1={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 j1=e=>{let{heightSmall:t,heightMedium:r,heightLarge:o,textColor1:n,errorColor:i,warningColor:a,lineHeight:s,textColor3:l}=e;return Object.assign(Object.assign({},V1),{blankHeightSmall:t,blankHeightMedium:r,blankHeightLarge:o,lineHeight:s,labelTextColor:n,asteriskColor:i,feedbackTextColorError:i,feedbackTextColorWarning:a,feedbackTextColor:l})};var a8={name:"Form",common:A,self:j1},yp=a8;var s8={name:"GradientText",common:A,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}}},wp=s8;var W1=e=>{let{primaryColor:t,baseColor:r}=e;return{color:t,iconColor:r}};var l8={name:"IconWrapper",common:A,self:W1},Cp=l8;var u8={name:"ButtonGroup",common:A},kp=u8;var c8={name:"InputNumber",common:A,peers:{Button:bt,Input:_t},self(e){let{textColorDisabled:t}=e;return{iconColorDisabled:t}}},Sp=c8;var d8={name:"Layout",common:A,peers:{Scrollbar:gt},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:we(r,a),siderToggleBarColorHover:we(r,s),__invertScrollbar:"false"}}},Ep=d8;var q1=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:we(o,i),borderColorPopover:we(n,i),borderRadius:a,fontSize:s}};var f8={name:"List",common:A,self:q1},_p=f8;var p8={name:"LoadingBar",common:A,self(e){let{primaryColor:t}=e;return{colorError:"red",colorLoading:t,height:"2px"}}},Tp=p8;var m8={name:"Log",common:A,peers:{Scrollbar:gt,Code:Ja},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}}},Dp=m8;var h8={name:"Mention",common:A,peers:{InternalSelectMenu:Xr,Input:_t},self(e){let{boxShadow2:t}=e;return{menuBoxShadow:t}}},Np=h8;function g8(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 Ap=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:re(o,{alpha:.1}),itemColorActiveHover:re(o,{alpha:.1}),itemColorActiveCollapsed:re(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},g8("#BBB",o,"#FFF","#AAA"))},hre={name:"Menu",common:ye,peers:{Tooltip:rs,Dropdown:op},self:Ap};var b8={name:"Menu",common:A,peers:{Tooltip:wo,Dropdown:is},self(e){let{primaryColor:t,primaryColorSuppl:r}=e,o=Ap(e);return o.itemColorActive=re(t,{alpha:.15}),o.itemColorActiveHover=re(t,{alpha:.15}),o.itemColorActiveCollapsed=re(t,{alpha:.15}),o.itemColorActiveInverted=r,o.itemColorActiveHoverInverted=r,o.itemColorActiveCollapsedInverted=r,o}},Ip=b8;var U1={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 K1=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({},U1),{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 x8={name:"Message",common:A,self:K1},Lp=x8;var G1={closeMargin:"18px 14px",closeSize:"16px",width:"365px",padding:"16px"};var Op=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:m,fontSize:b}=e;return Object.assign(Object.assign({},G1),{borderRadius:d,lineHeight:m,fontSize:b,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})},Mre={name:"Notification",common:ye,peers:{Scrollbar:Rt},self:Op};var v8={name:"Notification",common:A,peers:{Scrollbar:gt},self:Op},Pp=v8;var X1={titleFontSize:"18px",backSize:"22px"};function Rp(e){let{textColor1:t,textColor2:r,textColor3:o,fontSize:n,fontWeightStrong:i,primaryColorHover:a,primaryColorPressed:s}=e;return Object.assign(Object.assign({},X1),{titleFontWeight:i,fontSize:n,titleTextColor:t,backColor:r,backColorHover:a,backColorPressed:s,subtitleTextColor:o})}var Gre={name:"PageHeader",common:ye,self:Rp};var Bp={name:"PageHeader",common:A,self:Rp};var Y1={iconSize:"22px"};var Mp=e=>{let{fontSize:t,warningColor:r}=e;return Object.assign(Object.assign({},Y1),{fontSize:t,iconColor:r})},aoe={name:"Popconfirm",common:ye,peers:{Button:Ht,Popover:Yr},self:Mp};var y8={name:"Popconfirm",common:A,peers:{Button:bt,Popover:fr},self:Mp},$p=y8;var w8={name:"Popselect",common:A,peers:{Popover:fr,InternalSelectMenu:Xr}},Hp=w8;var zp=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%)"}},C8={name:"Progress",common:ye,self:zp},Fp=C8;var k8={name:"Progress",common:A,self(e){let t=zp(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}},us=k8;var S8={name:"Rate",common:A,self(e){let{railColor:t}=e;return{itemColor:t,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},Vp=S8;var Z1={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 Q1=e=>{let{textColor2:t,textColor1:r,errorColor:o,successColor:n,infoColor:i,warningColor:a,lineHeight:s,fontWeightStrong:l}=e;return Object.assign(Object.assign({},Z1),{lineHeight:s,titleFontWeight:l,titleTextColor:r,textColor:t,iconColorError:o,iconColorSuccess:n,iconColorInfo:i,iconColorWarning:a})};var E8={name:"Result",common:A,self:Q1},jp=E8;var ku={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"};var _8={name:"Slider",common:A,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({},ku),{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:""})}},Wp=_8;var T8=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({},ku),{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:""})},D8={name:"Slider",common:ye,self:T8},qp=D8;var J1=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 N8={name:"Spin",common:A,self:J1},Up=N8;var ey=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 A8={name:"Statistic",common:A,self:ey},Kp=A8;var ty={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"};var ry=e=>{let{fontWeightStrong:t,baseColor:r,textColorDisabled:o,primaryColor:n,errorColor:i,textColor1:a,textColor2:s}=e;return Object.assign(Object.assign({},ty),{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 I8={name:"Steps",common:A,self:ry},Gp=I8;var oy={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 L8={name:"Switch",common:A,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({},oy),{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 ${re(n,{alpha:.3})}`})}},Xp=L8;var ny={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"};var iy=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:m}=e;return Object.assign(Object.assign({},ny),{fontSizeSmall:p,fontSizeMedium:f,fontSizeLarge:m,lineHeight:d,borderRadius:u,borderColor:we(r,t),borderColorModal:we(o,t),borderColorPopover:we(n,t),tdColor:r,tdColorModal:o,tdColorPopover:n,tdColorStriped:we(r,a),tdColorStripedModal:we(o,a),tdColorStripedPopover:we(n,a),thColor:we(r,i),thColorModal:we(o,i),thColorPopover:we(n,i),thTextColor:s,tdTextColor:l,thFontWeight:c})};var O8={name:"Table",common:A,self:iy},Yp=O8;var ay={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 sy=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:m}=e;return Object.assign(Object.assign({},ay),{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:m})};var P8={name:"Tabs",common:A,self(e){let t=sy(e),{inputColor:r}=e;return t.colorSegment=r,t.tabColorSegment=r,t}},Zp=P8;var ly=e=>{let{textColor1:t,textColor2:r,fontWeightStrong:o,fontSize:n}=e;return{fontSize:n,titleTextColor:t,textColor:r,titleFontWeight:o}};var R8={name:"Thing",common:A,self:ly},Qp=R8;var uy={titleMarginMedium:"0",titleMarginLarge:"-2px 0 0 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"};var B8={name:"Timeline",common:A,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({},uy),{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})}},Jp=B8;var cy={extraFontSize:"12px",width:"440px"};var M8={name:"Transfer",common:A,peers:{Checkbox:Zr,Scrollbar:gt,Input:_t,Empty:Tr,Button:bt},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:m,textColor2:b,hoverColor:C}=e;return Object.assign(Object.assign({},cy),{itemHeightSmall:u,itemHeightMedium:l,itemHeightLarge:s,fontSizeSmall:a,fontSizeMedium:i,fontSizeLarge:n,borderRadius:c,borderColor:"#0000",listColor:d,headerColor:p,titleTextColor:f,titleTextColorDisabled:m,extraTextColor:b,filterDividerColor:"#0000",itemTextColor:b,itemTextColorDisabled:m,itemColorPending:C,titleFontWeight:o,iconColor:r,iconColorDisabled:t})}},em=M8;var tm=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:re(n,{alpha:.1}),arrowColor:i,nodeTextColor:a,nodeTextColorDisabled:s,loadingColor:n,dropMarkColor:n}},$8={name:"Tree",common:ye,peers:{Checkbox:Bo,Scrollbar:Rt,Empty:_r},self:tm},rm=$8;var H8={name:"Tree",common:A,peers:{Checkbox:Zr,Scrollbar:gt,Empty:Tr},self(e){let{primaryColor:t}=e,r=tm(e);return r.nodeColorActive=re(t,{alpha:.15}),r}},cs=H8;var z8={name:"TreeSelect",common:A,peers:{Tree:cs,Empty:Tr,InternalSelection:Jn}},om=z8;var dy={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 fy=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:m,codeColor:b}=e;return Object.assign(Object.assign({},dy),{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:m,textColor:r,textColor1Depth:u,textColor2Depth:r,textColor3Depth:c,textColorPrimary:t,textColorInfo:d,textColorSuccess:m,textColorWarning:p,textColorError:f,codeTextColor:r,codeColor:b,codeBorder:"1px solid #0000"})};var F8={name:"Typography",common:A,self:fy},nm=F8;var im=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:re(o,{alpha:.06}),itemTextColor:n,itemTextColorError:o,itemTextColorSuccess:i,itemIconColor:t,itemDisabledOpacity:a,itemBorderImageCardError:`1px solid ${o}`,itemBorderImageCard:`1px solid ${l}`}},qie={name:"Upload",common:ye,peers:{Button:Ht,Progress:Fp},self:im};var V8={name:"Upload",common:A,peers:{Button:bt,Progress:us},self(e){let{errorColor:t}=e,r=im(e);return r.itemColorHoverError=re(t,{alpha:.09}),r}},am=V8;var j8={name:"Watermark",common:A,self(e){let{fontFamily:t}=e;return{fontFamily:t}}},sm=j8;var lm={name:"Image",common:A,peers:{Tooltip:wo},self:e=>{let{textColor2:t}=e;return{toolbarIconColor:t,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}};var um={name:"Skeleton",common:A,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 cm(e){return window.TouchEvent&&e instanceof window.TouchEvent}function dm(){let e=X(new Map),t=r=>o=>{e.value.set(r,o)};return rd(()=>e.value.clear()),[e,t]}var py=J([K("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;
|
|
`,[Se("reverse",[K("slider-handles",[K("slider-handle",`
|
|
transform: translate(50%, -50%);
|
|
`)]),K("slider-dots",[K("slider-dot",`
|
|
transform: translateX(50%, -50%);
|
|
`)]),Se("vertical",[K("slider-handles",[K("slider-handle",`
|
|
transform: translate(-50%, -50%);
|
|
`)]),K("slider-marks",[K("slider-mark",`
|
|
transform: translateY(calc(-50% + var(--n-dot-height) / 2));
|
|
`)]),K("slider-dots",[K("slider-dot",`
|
|
transform: translateX(-50%) translateY(0);
|
|
`)])])]),Se("vertical",`
|
|
padding: 0 calc((var(--n-handle-size) - var(--n-rail-height)) / 2);
|
|
width: var(--n-rail-width-vertical);
|
|
height: 100%;
|
|
`,[K("slider-handles",`
|
|
top: calc(var(--n-handle-size) / 2);
|
|
right: 0;
|
|
bottom: calc(var(--n-handle-size) / 2);
|
|
left: 0;
|
|
`,[K("slider-handle",`
|
|
top: unset;
|
|
left: 50%;
|
|
transform: translate(-50%, 50%);
|
|
`)]),K("slider-rail",`
|
|
height: 100%;
|
|
`,[ee("fill",`
|
|
top: unset;
|
|
right: 0;
|
|
bottom: unset;
|
|
left: 0;
|
|
`)]),Se("with-mark",`
|
|
width: var(--n-rail-width-vertical);
|
|
margin: 0 32px 0 8px;
|
|
`),K("slider-marks",`
|
|
top: calc(var(--n-handle-size) / 2);
|
|
right: unset;
|
|
bottom: calc(var(--n-handle-size) / 2);
|
|
left: 22px;
|
|
`,[K("slider-mark",`
|
|
transform: translateY(50%);
|
|
white-space: nowrap;
|
|
`)]),K("slider-dots",`
|
|
top: calc(var(--n-handle-size) / 2);
|
|
right: unset;
|
|
bottom: calc(var(--n-handle-size) / 2);
|
|
left: 50%;
|
|
`,[K("slider-dot",`
|
|
transform: translateX(-50%) translateY(50%);
|
|
`)])]),Se("disabled",`
|
|
cursor: not-allowed;
|
|
opacity: var(--n-opacity-disabled);
|
|
`,[K("slider-handle",`
|
|
cursor: not-allowed;
|
|
`)]),Se("with-mark",`
|
|
width: 100%;
|
|
margin: 8px 0 32px 0;
|
|
`),J("&:hover",[K("slider-rail",{backgroundColor:"var(--n-rail-color-hover)"},[ee("fill",{backgroundColor:"var(--n-fill-color-hover)"})]),K("slider-handle",{boxShadow:"var(--n-handle-box-shadow-hover)"})]),Se("active",[K("slider-rail",{backgroundColor:"var(--n-rail-color-hover)"},[ee("fill",{backgroundColor:"var(--n-fill-color-hover)"})]),K("slider-handle",{boxShadow:"var(--n-handle-box-shadow-hover)"})]),K("slider-marks",`
|
|
position: absolute;
|
|
top: 18px;
|
|
left: calc(var(--n-handle-size) / 2);
|
|
right: calc(var(--n-handle-size) / 2);
|
|
`,[K("slider-mark",{position:"absolute",transform:"translateX(-50%)"})]),K("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);
|
|
`,[ee("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);
|
|
`)]),K("slider-handles",`
|
|
position: absolute;
|
|
top: 0;
|
|
right: calc(var(--n-handle-size) / 2);
|
|
bottom: 0;
|
|
left: calc(var(--n-handle-size) / 2);
|
|
`,[K("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);
|
|
`,[J("&:hover",{boxShadow:"var(--n-handle-box-shadow-hover)"}),J("&:hover:focus",{boxShadow:"var(--n-handle-box-shadow-active)"}),J("&:focus",{boxShadow:"var(--n-handle-box-shadow-focus)"})])]),K("slider-dots",`
|
|
position: absolute;
|
|
top: 50%;
|
|
left: calc(var(--n-handle-size) / 2);
|
|
right: calc(var(--n-handle-size) / 2);
|
|
`,[Se("transition-disabled",[K("slider-dot",{transition:"none"})]),K("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);
|
|
`,[Se("active",{border:"var(--n-dot-border-active)"})])])]),K("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);
|
|
`,[xf()]),K("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);
|
|
`,[Se("top",`
|
|
margin-bottom: 12px;
|
|
`),Se("right",`
|
|
margin-left: 12px;
|
|
`),Se("bottom",`
|
|
margin-top: 12px;
|
|
`),Se("left",`
|
|
margin-right: 12px;
|
|
`),xf()]),Sl(K("slider",[K("slider-dot",{backgroundColor:"var(--n-dot-color-modal)"})])),El(K("slider",[K("slider-dot",{backgroundColor:"var(--n-dot-color-popover)"})]))]);var W8=0,q8=Object.assign(Object.assign({},At.props),{to:qn.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]}),fm=fe({name:"Slider",props:q8,setup(e){let{mergedClsPrefixRef:t,namespaceRef:r,inlineThemeDisabled:o}=jt(e),n=At("Slider","-slider",py,qp,e,t),i=X(null),[a,s]=dm(),[l,u]=dm(),c=X(new Set),d=Mr(e),{mergedDisabledRef:p}=d,f=V(()=>{let{step:D}=e;if(D<=0||D==="mark")return 0;let O=D.toString(),F=0;return O.includes(".")&&(F=O.length-O.indexOf(".")-1),F}),m=X(e.defaultValue),b=Me(e,"value"),C=cr(b,m),g=V(()=>{let{value:D}=C;return(e.range?D:[D]).map(Xe)}),T=V(()=>g.value.length>2),H=V(()=>e.placement===void 0?e.vertical?"right":"top":e.placement),w=V(()=>{let{marks:D}=e;return D?Object.keys(D).map(parseFloat):null}),S=X(-1),M=X(-1),x=X(-1),E=X(!1),P=X(!1),N=V(()=>{let{vertical:D,reverse:O}=e;return D?O?"top":"bottom":O?"right":"left"}),j=V(()=>{if(T.value)return;let D=g.value,O=Ve(e.range?Math.min(...D):e.min),F=Ve(e.range?Math.max(...D):D[0]),{value:le}=N;return e.vertical?{[le]:`${O}%`,height:`${F-O}%`}:{[le]:`${O}%`,width:`${F-O}%`}}),R=V(()=>{let D=[],{marks:O}=e;if(O){let F=g.value.slice();F.sort((je,W)=>je-W);let{value:le}=N,{value:ge}=T,{range:Le}=e,Ne=ge?()=>!1:je=>Le?je>=F[0]&&je<=F[F.length-1]:je<=F[0];for(let je of Object.keys(O)){let W=Number(je);D.push({active:Ne(W),label:O[je],style:{[le]:`${Ve(W)}%`}})}}return D});function $(D,O){let F=Ve(D),{value:le}=N;return{[le]:`${F}%`,zIndex:O===S.value?1:0}}function oe(D){return e.showTooltip||x.value===D||S.value===D&&E.value}function he(D){return!(S.value===D&&M.value===D)}function ce(D){var O;~D&&(S.value=D,(O=a.value.get(D))===null||O===void 0||O.focus())}function se(){l.value.forEach((D,O)=>{oe(O)&&D.syncPosition()})}function me(D){let{"onUpdate:value":O,onUpdateValue:F}=e,{nTriggerFormInput:le,nTriggerFormChange:ge}=d;F&&Te(F,D),O&&Te(O,D),m.value=D,le(),ge()}function De(D){let{range:O}=e;if(O){if(Array.isArray(D)){let{value:F}=g;D.join()!==F.join()&&me(D)}}else Array.isArray(D)||g.value[0]!==D&&me(D)}function $e(D,O){if(e.range){let F=g.value.slice();F.splice(O,1,D),De(F)}else De(D)}function Fe(D,O,F){let le=F!==void 0;F||(F=D-O>0?1:-1);let ge=w.value||[],{step:Le}=e;if(Le==="mark"){let W=Ye(D,ge.concat(O),le?F:void 0);return W?W.value:O}if(Le<=0)return O;let{value:Ne}=f,je;if(le){let W=Number((O/Le).toFixed(Ne)),ue=Math.floor(W),Ee=W>ue?ue:ue-1,Ke=W<ue?ue:ue+1;je=Ye(O,[Number((Ee*Le).toFixed(Ne)),Number((Ke*Le).toFixed(Ne)),...ge],F)}else{let W=St(D);je=Ye(D,[...ge,W])}return je?Xe(je.value):O}function Xe(D){return Math.min(e.max,Math.max(e.min,D))}function Ve(D){let{max:O,min:F}=e;return(D-F)/(O-F)*100}function rt(D){let{max:O,min:F}=e;return F+(O-F)*D}function St(D){let{step:O,min:F}=e;if(O<=0||O==="mark")return D;let le=Math.round((D-F)/O)*O+F;return Number(le.toFixed(f.value))}function Ye(D,O=w.value,F){if(!O||!O.length)return null;let le=null,ge=-1;for(;++ge<O.length;){let Le=O[ge]-D,Ne=Math.abs(Le);(F===void 0||Le*F>0)&&(le===null||Ne<le.distance)&&(le={index:ge,distance:Ne,value:O[ge]})}return le}function Ze(D){let O=i.value;if(!O)return;let F=cm(D)?D.touches[0]:D,le=O.getBoundingClientRect(),ge;return e.vertical?ge=(le.bottom-F.clientY)/le.height:ge=(F.clientX-le.left)/le.width,e.reverse&&(ge=1-ge),rt(ge)}function vt(D){if(p.value)return;let{vertical:O,reverse:F}=e;switch(D.code){case"ArrowUp":D.preventDefault(),ze(O&&F?-1:1);break;case"ArrowRight":D.preventDefault(),ze(!O&&F?-1:1);break;case"ArrowDown":D.preventDefault(),ze(O&&F?1:-1);break;case"ArrowLeft":D.preventDefault(),ze(!O&&F?1:-1);break}}function ze(D){let O=S.value;if(O===-1)return;let{step:F}=e,le=g.value[O],ge=F<=0||F==="mark"?le:le+F*D;$e(Fe(ge,le,D>0?1:-1),O)}function pt(D){var O,F;if(p.value||!cm(D)&&D.button!==W8)return;let le=Ze(D);if(le===void 0)return;let ge=g.value.slice(),Le=e.range?(F=(O=Ye(le,ge))===null||O===void 0?void 0:O.index)!==null&&F!==void 0?F:-1:0;Le!==-1&&(D.preventDefault(),ce(Le),It(),$e(Fe(le,g.value[Le]),Le))}function It(){E.value||(E.value=!0,Et("touchend",document,y),Et("mouseup",document,y),Et("touchmove",document,h),Et("mousemove",document,h))}function zt(){E.value&&(E.value=!1,kt("touchend",document,y),kt("mouseup",document,y),kt("touchmove",document,h),kt("mousemove",document,h))}function h(D){let{value:O}=S;if(!E.value||O===-1){zt();return}let F=Ze(D);$e(Fe(F,g.value[O]),O)}function y(){zt()}function B(D){S.value=D,p.value||(x.value=D)}function G(D){S.value===D&&(S.value=-1,zt()),x.value===D&&(x.value=-1)}function U(D){x.value=D}function ae(D){x.value===D&&(x.value=-1)}ct(S,(D,O)=>void Xt(()=>M.value=O)),ct(C,()=>{if(e.marks){if(P.value)return;P.value=!0,Xt(()=>{P.value=!1})}Xt(se)});let ne=V(()=>{let{self:{railColor:D,railColorHover:O,fillColor:F,fillColorHover:le,handleColor:ge,opacityDisabled:Le,dotColor:Ne,dotColorModal:je,handleBoxShadow:W,handleBoxShadowHover:ue,handleBoxShadowActive:Ee,handleBoxShadowFocus:Ke,dotBorder:st,dotBoxShadow:et,railHeight:lt,railWidthVertical:Je,handleSize:Ft,dotHeight:lr,dotWidth:Vo,dotBorderRadius:k,fontSize:ie,dotBorderActive:de,dotColorPopover:be},common:{cubicBezierEaseInOut:Oe}}=n.value;return{"--n-bezier":Oe,"--n-dot-border":st,"--n-dot-border-active":de,"--n-dot-border-radius":k,"--n-dot-box-shadow":et,"--n-dot-color":Ne,"--n-dot-color-modal":je,"--n-dot-color-popover":be,"--n-dot-height":lr,"--n-dot-width":Vo,"--n-fill-color":F,"--n-fill-color-hover":le,"--n-font-size":ie,"--n-handle-box-shadow":W,"--n-handle-box-shadow-active":Ee,"--n-handle-box-shadow-focus":Ke,"--n-handle-box-shadow-hover":ue,"--n-handle-color":ge,"--n-handle-size":Ft,"--n-opacity-disabled":Le,"--n-rail-color":D,"--n-rail-color-hover":O,"--n-rail-height":lt,"--n-rail-width-vertical":Je}}),z=o?ar("slider",void 0,ne,e):void 0,Q=V(()=>{let{self:{fontSize:D,indicatorColor:O,indicatorBoxShadow:F,indicatorTextColor:le,indicatorBorderRadius:ge}}=n.value;return{"--n-font-size":D,"--n-indicator-border-radius":ge,"--n-indicator-box-shadow":F,"--n-indicator-color":O,"--n-indicator-text-color":le}}),Y=o?ar("slider-indicator",void 0,Q,e):void 0;return{mergedClsPrefix:t,namespace:r,uncontrolledValue:m,mergedValue:C,mergedDisabled:p,mergedPlacement:H,isMounted:ln(),adjustedTo:qn(e),dotTransitionDisabled:P,markInfos:R,isShowTooltip:oe,isSkipCSSDetection:he,handleRailRef:i,setHandleRefs:s,setFollowerRefs:u,fillStyle:j,getHandleStyle:$,activeIndex:S,arrifiedValues:g,followerEnabledIndexSet:c,handleRailMouseDown:pt,handleHandleFocus:B,handleHandleBlur:G,handleHandleMouseEnter:U,handleHandleMouseLeave:ae,handleRailKeyDown:vt,indicatorCssVars:o?void 0:Q,indicatorThemeClass:Y?.themeClass,indicatorOnRender:Y?.onRender,cssVars:o?void 0:ne,themeClass:z?.themeClass,onRender:z?.onRender}},render(){var e;let{mergedClsPrefix:t,themeClass:r,formatTooltip:o}=this;return(e=this.onRender)===null||e===void 0||e.call(this),v("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},v("div",{class:`${t}-slider-rail`},v("div",{class:`${t}-slider-rail__fill`,style:this.fillStyle}),this.marks?v("div",{class:[`${t}-slider-dots`,this.dotTransitionDisabled&&`${t}-slider-dots--transition-disabled`]},this.markInfos.map(n=>v("div",{key:n.label,class:[`${t}-slider-dot`,{[`${t}-slider-dot--active`]:n.active}],style:n.style}))):null,v("div",{ref:"handleRailRef",class:`${t}-slider-handles`},this.arrifiedValues.map((n,i)=>{let a=this.isShowTooltip(i);return v(Al,null,{default:()=>[v(Il,null,{default:()=>v("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&&v(Rl,{ref:this.setFollowerRefs(i),show:a,to:this.adjustedTo,enabled:this.showTooltip&&!this.range||this.followerEnabledIndexSet.has(i),teleportDisabled:this.adjustedTo===qn.tdkey,placement:this.mergedPlacement,containerClass:this.namespace},{default:()=>v(Ur,{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),v("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?v("div",{class:`${t}-slider-marks`},this.markInfos.map(n=>v("div",{key:n.label,class:`${t}-slider-mark`,style:n.style},n.label))):null))}});var Su="n-tree-select";var Co="n-tree";var my=fe({name:"NTreeSwitcher",props:{clsPrefix:{type:String,required:!0},expanded:Boolean,hide:Boolean,loading:Boolean,onClick:Function},setup(e){let{renderSwitcherIconRef:t}=_e(Co,null);return()=>{let{clsPrefix:r}=e;return v("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},v("div",{class:`${r}-tree-node-switcher__icon`},v(zr,null,{default:()=>{if(e.loading)return v(gn,{clsPrefix:r,key:"loading",radius:85,strokeWidth:20});let{value:o}=t;return o?o():v(Fr,{clsPrefix:r,key:"switcher"},{default:()=>v(nf,null)})}})))}}});var hy=fe({name:"NTreeNodeCheckbox",props:{clsPrefix:{type:String,required:!0},focusable:Boolean,disabled:Boolean,checked:Boolean,indeterminate:Boolean,onCheck:Function},setup(e){let t=_e(Co);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 v("span",{class:`${e}-tree-node-checkbox`,"data-checkbox":!0},v(Wf,{focusable:i,disabled:n,theme:t.peers.Checkbox,themeOverrides:t.peerOverrides.Checkbox,checked:r,indeterminate:o,onUpdateChecked:a}))}});var gy=fe({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}=_e(Co),i=X(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 v("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?v("div",{class:`${e}-tree-node-content__prefix`},a?a({option:c,selected:n,checked:o}):hi(d)):null,v("div",{class:`${e}-tree-node-content__text`},i?i({option:c,selected:n,checked:o}):hi(f)),s||p?v("div",{class:`${e}-tree-node-content__suffix`},s?s({option:c,selected:n,checked:o}):hi(p)):null)}});function pm({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 v("div",{style:n})}function by({dropPosition:e,node:t}){return t.isLeaf===!1||t.children?!0:e!=="inside"}var U8=fe({name:"TreeNode",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(e){let t=_e(Co),{droppingNodeParentRef:r,droppingMouseNodeRef:o,draggingNodeRef:n,droppingPositionRef:i,droppingOffsetLevelRef:a,nodePropsRef:s,indentRef:l,blockLineRef:u}=t,c=V(()=>t.disabledRef.value||e.tmNode.disabled),d=V(()=>{let{value:N}=s;if(N)return N({option:e.tmNode.rawNode})}),p=X(null),f={value:null};ut(()=>{f.value=p.value.$el});function m(){let{tmNode:N}=e;if(!N.isLeaf&&!N.shallowLoaded){t.loadingKeysRef.value.has(N.key)||t.loadingKeysRef.value.add(N.key);let{onLoadRef:{value:j}}=t;j&&j(N.rawNode).then(()=>{t.handleSwitcherClick(N)}).finally(()=>{t.loadingKeysRef.value.delete(N.key)})}else t.handleSwitcherClick(N)}let b=it(()=>!e.tmNode.disabled&&t.selectableRef.value&&(t.internalTreeSelect?t.mergedCheckStrategyRef.value!=="child"||t.multipleRef.value&&t.cascadeRef.value||e.tmNode.isLeaf:!0));function C(N){b.value&&(gl(N,"checkbox")||gl(N,"switcher")||t.handleSelect(e.tmNode))}function g(N){var j,R;u.value||(c.value||C(N),(R=(j=d.value)===null||j===void 0?void 0:j.onClick)===null||R===void 0||R.call(j,N))}function T(N){var j,R;u.value&&(c.value||C(N),(R=(j=d.value)===null||j===void 0?void 0:j.onClick)===null||R===void 0||R.call(j,N))}function H(N){t.handleCheck(e.tmNode,N)}function w(N){t.handleDragStart({event:N,node:e.tmNode})}function S(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 x(N){t.handleDragEnd({event:N,node:e.tmNode})}function E(N){N.currentTarget===N.target&&t.handleDragLeave({event:N,node:e.tmNode})}function P(N){N.preventDefault(),i.value!==null&&t.handleDrop({event:N,node:e.tmNode,dropPosition:i.value})}return{showDropMark:it(()=>{let{value:N}=n;if(!N)return;let{value:j}=i;if(!j)return;let{value:R}=o;if(!R)return;let{tmNode:$}=e;return $.key===R.key}),showDropMarkAsParent:it(()=>{let{value:N}=r;if(!N)return!1;let{tmNode:j}=e,{value:R}=i;return R==="before"||R==="after"?N.key===j.key:!1}),pending:it(()=>t.pendingNodeKeyRef.value===e.tmNode.key),loading:it(()=>t.loadingKeysRef.value.has(e.tmNode.key)),highlight:it(()=>{var N;return(N=t.highlightKeySetRef.value)===null||N===void 0?void 0:N.has(e.tmNode.key)}),checked:it(()=>t.displayedCheckedKeysRef.value.includes(e.tmNode.key)),indeterminate:it(()=>t.displayedIndeterminateKeysRef.value.includes(e.tmNode.key)),selected:it(()=>t.mergedSelectedKeysRef.value.includes(e.tmNode.key)),expanded:it(()=>t.mergedExpandedKeysRef.value.includes(e.tmNode.key)),disabled:c,checkable:V(()=>t.checkableRef.value&&(t.cascadeRef.value||t.mergedCheckStrategyRef.value!=="child"||e.tmNode.isLeaf)),checkboxDisabled:V(()=>!!e.tmNode.rawNode.checkboxDisabled),selectable:b,internalScrollable:t.internalScrollableRef,draggable:t.draggableRef,blockLine:u,nodeProps:d,checkboxFocusable:t.internalCheckboxFocusableRef,droppingPosition:i,droppingOffsetLevel:a,indent:l,contentInstRef:p,contentElRef:f,handleCheck:H,handleDrop:P,handleDragStart:w,handleDragEnter:S,handleDragOver:M,handleDragEnd:x,handleDragLeave:E,handleLineClick:T,handleContentClick:g,handleSwitcherClick:m}},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,m=s&&!c?{onDragenter:this.handleDragEnter,onDragleave:this.handleDragLeave,onDragend:this.handleDragEnd,onDrop:this.handleDrop,onDragover:this.handleDragOver}:void 0,b=p?gi(e.key):void 0;return v("div",Object.assign({class:`${t}-tree-node-wrapper`},m),v("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":b,draggable:s&&l,onClick:this.handleLineClick,onDragstart:s&&l&&!c?this.handleDragStart:void 0}),yd(e.level,v("div",{class:`${t}-tree-node-indent`,style:{flex:`0 0 ${u}px`}})),v(my,{clsPrefix:t,expanded:this.expanded,loading:this.loading,hide:e.isLeaf,onClick:this.handleSwitcherClick}),r?v(hy,{focusable:this.checkboxFocusable,disabled:c||this.checkboxDisabled,clsPrefix:t,checked:this.checked,indeterminate:this.indeterminate,onCheck:this.handleCheck}):null,v(gy,{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?pm({el:this.contentElRef.value,position:this.droppingPosition,offsetLevel:this.droppingOffsetLevel,indent:u}):this.showDropMarkAsParent?pm({el:this.contentElRef.value,position:"inside",offsetLevel:this.droppingOffsetLevel,indent:u}):null:null))}}),Eu=U8;function xy(e,t,r,o){e?.forEach(n=>{r(n),xy(n[t],t,r,o),o(n)})}function vy(e,t,r,o,n){let i=new Set,a=new Set,s=[];return xy(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 mm=null;if(typeof window<"u"&&Image){let e=new Image;e.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}function yy(e,t,r,o,n){let i=new Set,a=new Set,s=new Set,l=[],u=[],c=[];function d(f){f.forEach(m=>{if(c.push(m),t(r,m)){i.add(m[o]),s.add(m[o]);for(let C=c.length-2;C>=0;--C){let g=c[C][o];if(!a.has(g))a.add(g),i.has(g)&&i.delete(g);else break}}let b=m[n];b&&d(b),c.pop()})}d(e);function p(f,m){f.forEach(b=>{let C=b[o],g=i.has(C),T=a.has(C);if(!g&&!T)return;let H=b[n];if(H)if(g)m.push(b);else{l.push(C);let w=Object.assign(Object.assign({},b),{[n]:[]});m.push(w),p(H,w[n])}else m.push(b)})}return p(e,u),{filteredTree:u,highlightKeySet:s,expandedKeys:l}}function wy({fNodesRef:e,mergedExpandedKeysRef:t,mergedSelectedKeysRef:r,handleSelect:o,handleSwitcherClick:n}){let{value:i}=r,a=_e(Su,null),s=a?a.pendingNodeKeyRef:X(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(m=>m.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 m=p[f];if(m.isLeaf||!t.value.includes(d)){let b=m.getParent();b&&(s.value=b.key)}else n(m)}else if(c.code==="ArrowRight"){let m=p[f];if(m.isLeaf)return;if(!t.value.includes(d))n(m);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 Cy=fe({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 v(Ii,{onAfterEnter:this.onAfterEnter,appear:!0,reverse:this.mode==="collapse"},{default:()=>v("div",{class:[`${e}-tree-motion-wrapper`,`${e}-tree-motion-wrapper--${this.mode}`],style:{height:Io(this.height)}},this.nodes.map(t=>v(Eu,{clsPrefix:e,tmNode:t})))})}});var ky=K("tree",`
|
|
font-size: var(--n-font-size);
|
|
outline: none;
|
|
`,[J("ul, li",`
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
`),J(">",[K("tree-node",[J("&:first-child",{marginTop:0})])]),K("tree-node-indent",`
|
|
height: 0;
|
|
`),K("tree-motion-wrapper",[Se("expand",[wf({duration:"0.2s"})]),Se("collapse",[wf({duration:"0.2s",reverse:!0})])]),K("tree-node-wrapper",`
|
|
box-sizing: border-box;
|
|
padding: 3px 0;
|
|
`),K("tree-node",`
|
|
position: relative;
|
|
display: flex;
|
|
border-radius: var(--n-node-border-radius);
|
|
transition: background-color .3s var(--n-bezier);
|
|
`,[Se("highlight",[K("tree-node-content",[ee("text",{borderBottomColor:"var(--n-node-text-color-disabled)"})])]),Se("disabled",[K("tree-node-content",`
|
|
color: var(--n-node-text-color-disabled);
|
|
cursor: not-allowed;
|
|
`)]),gr("disabled",[Se("selectable",[K("tree-node-content",`
|
|
cursor: pointer;
|
|
`)])])]),Se("block-node",[K("tree-node-content",`
|
|
width: 100%;
|
|
`)]),gr("block-line",[K("tree-node",[gr("disabled",[K("tree-node-content",[J("&:hover",{backgroundColor:"var(--n-node-color-hover)"})]),Se("selectable",[K("tree-node-content",[J("&:active",{backgroundColor:"var(--n-node-color-pressed)"})])]),Se("pending",[K("tree-node-content",`
|
|
background-color: var(--n-node-color-hover);
|
|
`)]),Se("selected",[K("tree-node-content",{backgroundColor:"var(--n-node-color-active)"})])])])]),Se("block-line",[K("tree-node",[gr("disabled",[J("&:hover",{backgroundColor:"var(--n-node-color-hover)"}),Se("selectable",[J("&:active",{backgroundColor:"var(--n-node-color-pressed)"})]),Se("pending",`
|
|
background-color: var(--n-node-color-hover);
|
|
`),Se("selected",{backgroundColor:"var(--n-node-color-active)"})]),Se("disabled",`
|
|
cursor: not-allowed;
|
|
`)])]),K("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;
|
|
`,[ee("icon",`
|
|
position: relative;
|
|
height: 14px;
|
|
width: 14px;
|
|
display: flex;
|
|
color: var(--n-arrow-color);
|
|
transition: color .3s var(--n-bezier);
|
|
font-size: 14px;
|
|
`,[K("icon",[Er()]),K("base-loading",`
|
|
color: var(--n-loading-color);
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
`,[Er()]),K("base-icon",[Er()])]),Se("hide",{visibility:"hidden"}),Se("expanded",{transform:"rotate(90deg)"})]),K("tree-node-checkbox",`
|
|
display: inline-flex;
|
|
height: 24px;
|
|
width: 16px;
|
|
vertical-align: bottom;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-right: 4px;
|
|
`),Se("checkable",[K("tree-node-content",`
|
|
padding: 0 6px;
|
|
`)]),K("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);
|
|
`,[J("&:last-child",{marginBottom:0}),ee("prefix",`
|
|
display: inline-flex;
|
|
margin-right: 8px;
|
|
`),ee("text",`
|
|
border-bottom: 1px solid #0000;
|
|
transition: border-color .3s var(--n-bezier);
|
|
flex-grow:1;
|
|
`),ee("suffix",`
|
|
display: inline-flex;
|
|
`)]),ee("empty","margin: auto;")]);var K8=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())})},_u=30;function G8(e,t){return{getKey(r){return r[e]},getChildren(r){return r[t]},getDisabled(r){return!!(r.disabled||r.checkboxDisabled)}}}var X8={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]},Y8=Object.assign(Object.assign(Object.assign(Object.assign({},At.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:by},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]}),X8),{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}),hm=fe({name:"Tree",props:Y8,setup(e){let{mergedClsPrefixRef:t,inlineThemeDisabled:r}=jt(e),o=At("Tree","-tree",ky,rm,e,t),n=X(null),i=X(null),a=X(null);function s(){var I;return(I=a.value)===null||I===void 0?void 0:I.listElRef}function l(){var I;return(I=a.value)===null||I===void 0?void 0:I.itemsElRef}let u=V(()=>{let{pattern:I}=e;return I?!I.length||!pt.value?{filteredTree:e.data,highlightKeySet:null,expandedKeys:void 0}:yy(e.data,pt.value,I,e.keyField,e.childrenField):{filteredTree:e.data,highlightKeySet:null,expandedKeys:void 0}}),c=V(()=>pf(e.showIrrelevantNodes?e.data:u.value.filteredTree,G8(e.keyField,e.childrenField))),d=_e(Su,null),p=e.internalTreeSelect?d.dataTreeMate:c,{watchProps:f}=e,m=X([]);f?.includes("defaultCheckedKeys")?$t(()=>{m.value=e.defaultCheckedKeys}):m.value=e.defaultCheckedKeys;let b=Me(e,"checkedKeys"),C=cr(b,m),g=V(()=>p.value.getCheckedKeys(C.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded})),T=V(()=>e.leafOnly?"child":e.checkStrategy),H=V(()=>g.value.checkedKeys),w=V(()=>{let{indeterminateKeys:I}=e;return I!==void 0?I:g.value.indeterminateKeys}),S=X([]);f?.includes("defaultSelectedKeys")?$t(()=>{S.value=e.defaultSelectedKeys}):S.value=e.defaultSelectedKeys;let M=Me(e,"selectedKeys"),x=cr(M,S),E=X([]),P=I=>{E.value=e.defaultExpandAll?p.value.getNonLeafKeys():I===void 0?e.defaultExpandedKeys:I};f?.includes("defaultExpandedKeys")?$t(()=>P(void 0)):$t(()=>P(e.defaultExpandedKeys));let N=Me(e,"expandedKeys"),j=cr(N,E),R=V(()=>c.value.getFlattenedNodes(j.value)),{pendingNodeKeyRef:$,handleKeyup:oe,handleKeydown:he}=wy({mergedSelectedKeysRef:x,fNodesRef:R,mergedExpandedKeysRef:j,handleSelect:lt,handleSwitcherClick:et}),ce=null,se=null,me=X(new Set),De=V(()=>e.internalHighlightKeySet||u.value.highlightKeySet),$e=cr(De,me),Fe=X(new Set),Xe=V(()=>j.value.filter(I=>!Fe.value.has(I))),Ve=0,rt=X(null),St=X(null),Ye=X(null),Ze=X(null),vt=X(0),ze=V(()=>{let{value:I}=St;return I?I.parent:null}),pt=V(()=>{let{filter:I}=e;if(I)return I;let{labelField:q}=e;return(pe,xe)=>pe.length?xe[q].toLowerCase().includes(pe.toLowerCase()):!0});ct(Me(e,"data"),()=>{Fe.value.clear(),$.value=null,je()},{deep:!1});let It;ct(Me(e,"pattern"),(I,q)=>{if(e.showIrrelevantNodes)if(It=void 0,I){let{expandedKeys:pe,highlightKeySet:xe}=vy(e.data,e.pattern,e.keyField,e.childrenField,pt.value);me.value=xe,z(pe,ne(pe))}else me.value=new Set;else if(!I.length)It!==void 0&&z(It,ne(It));else{q.length||(It=j.value);let{expandedKeys:pe}=u.value;pe!==void 0&&z(pe,ne(pe))}});function zt(I){return K8(this,void 0,void 0,function*(){let{onLoad:q}=e;if(!q)return yield Promise.resolve();let{value:pe}=Fe;return yield new Promise(xe=>{pe.has(I.key)||(pe.add(I.key),q(I.rawNode).then(()=>{pe.delete(I.key),xe()}).catch(Ue=>{console.error(Ue),Ee()}))})})}$t(()=>{var I;let{value:q}=c;if(!q)return;let{getNode:pe}=q;(I=j.value)===null||I===void 0||I.forEach(xe=>{let Ue=pe(xe);Ue&&!Ue.shallowLoaded&&zt(Ue)})});let h=X(!1),y=X([]);ct(Xe,(I,q)=>{if(!e.animated){Xt(U);return}let pe=new Set(q),xe=null,Ue=null;for(let Mt of I)if(!pe.has(Mt)){if(xe!==null)return;xe=Mt}let Kt=new Set(I);for(let Mt of q)if(!Kt.has(Mt)){if(Ue!==null)return;Ue=Mt}if(xe!==null&&Ue!==null||xe===null&&Ue===null)return;let{virtualScroll:Dt}=e,So=(Dt?a.value.listElRef:n.value).offsetHeight,Eo=Math.ceil(So/_u)+1;if(xe!==null){h.value=!0,y.value=c.value.getFlattenedNodes(q);let Mt=y.value.findIndex(Vt=>Vt.key===xe);if(~Mt){let Vt=Li(y.value[Mt].children,I);y.value.splice(Mt+1,0,{__motion:!0,mode:"expand",height:Dt?Vt.length*_u:void 0,nodes:Dt?Vt.slice(0,Eo):Vt})}}if(Ue!==null){y.value=c.value.getFlattenedNodes(I);let Mt=y.value.findIndex(Vt=>Vt.key===Ue);if(~Mt){let Vt=y.value[Mt].children;if(!Vt)return;h.value=!0;let vr=Li(Vt,I);y.value.splice(Mt+1,0,{__motion:!0,mode:"collapse",height:Dt?vr.length*_u:void 0,nodes:Dt?vr.slice(0,Eo):vr})}}});let B=V(()=>cf(R.value)),G=V(()=>h.value?y.value:R.value);function U(){let{value:I}=i;I&&I.sync()}function ae(){h.value=!1,e.virtualScroll&&Xt(U)}function ne(I){let{getNode:q}=p.value;return I.map(pe=>{var xe;return((xe=q(pe))===null||xe===void 0?void 0:xe.rawNode)||null})}function z(I,q){let{"onUpdate:expandedKeys":pe,onUpdateExpandedKeys:xe}=e;E.value=I,pe&&Te(pe,I,q),xe&&Te(xe,I,q)}function Q(I,q){let{"onUpdate:checkedKeys":pe,onUpdateCheckedKeys:xe}=e;m.value=I,xe&&Te(xe,I,q),pe&&Te(pe,I,q)}function Y(I,q){let{"onUpdate:indeterminateKeys":pe,onUpdateIndeterminateKeys:xe}=e;pe&&Te(pe,I,q),xe&&Te(xe,I,q)}function D(I,q){let{"onUpdate:selectedKeys":pe,onUpdateSelectedKeys:xe}=e;S.value=I,xe&&Te(xe,I,q),pe&&Te(pe,I,q)}function O(I){let{onDragenter:q}=e;q&&Te(q,I)}function F(I){let{onDragleave:q}=e;q&&Te(q,I)}function le(I){let{onDragend:q}=e;q&&Te(q,I)}function ge(I){let{onDragstart:q}=e;q&&Te(q,I)}function Le(I){let{onDragover:q}=e;q&&Te(q,I)}function Ne(I){let{onDrop:q}=e;q&&Te(q,I)}function je(){W(),ue()}function W(){rt.value=null}function ue(){vt.value=0,St.value=null,Ye.value=null,Ze.value=null,Ee()}function Ee(){ce&&(window.clearTimeout(ce),ce=null),se=null}function Ke(I,q){if(e.disabled||I.disabled)return;if(e.internalUnifySelectCheck&&!e.multiple){lt(I);return}let{checkedKeys:pe,indeterminateKeys:xe}=p.value[q?"check":"uncheck"](I.key,H.value,{cascade:e.cascade,checkStrategy:T.value,allowNotLoaded:e.allowCheckingNotLoaded});Q(pe,ne(pe)),Y(xe,ne(xe))}function st(I){if(e.disabled)return;let{value:q}=j,pe=q.findIndex(xe=>xe===I);if(~pe){let xe=Array.from(q);xe.splice(pe,1),z(xe,ne(xe))}else{let xe=c.value.getNode(I);if(!xe||xe.isLeaf)return;let Ue=q.concat(I);z(Ue,ne(Ue))}}function et(I){e.disabled||h.value||st(I.key)}function lt(I){if(!(e.disabled||!e.selectable)){if($.value=I.key,e.internalUnifySelectCheck){let{value:{checkedKeys:q,indeterminateKeys:pe}}=g;e.multiple?Ke(I,!(q.includes(I.key)||pe.includes(I.key))):Q([I.key],ne([I.key]))}if(e.multiple){let q=Array.from(x.value),pe=q.findIndex(xe=>xe===I.key);~pe?e.cancelable&&q.splice(pe,1):~pe||q.push(I.key),D(q,ne(q))}else x.value.includes(I.key)?e.cancelable&&D([],[]):D([I.key],ne([I.key]))}}function Je(I){if(ce&&(window.clearTimeout(ce),ce=null),I.isLeaf)return;se=I.key;let q=()=>{if(se!==I.key)return;let{value:pe}=Ye;if(pe&&pe.key===I.key&&!j.value.includes(I.key)){let xe=j.value.concat(I.key);z(xe,ne(xe))}ce=null,se=null};I.shallowLoaded?ce=window.setTimeout(()=>{q()},1e3):ce=window.setTimeout(()=>{zt(I).then(()=>{q()})},1e3)}function Ft({event:I,node:q}){!e.draggable||e.disabled||q.disabled||(de({event:I,node:q},!1),O({event:I,node:q.rawNode}))}function lr({event:I,node:q}){!e.draggable||e.disabled||q.disabled||F({event:I,node:q.rawNode})}function Vo(I){I.target===I.currentTarget&&ue()}function k({event:I,node:q}){je(),!(!e.draggable||e.disabled||q.disabled)&&le({event:I,node:q.rawNode})}function ie({event:I,node:q}){var pe;!e.draggable||e.disabled||q.disabled||(mm&&((pe=I.dataTransfer)===null||pe===void 0||pe.setDragImage(mm,0,0)),Ve=I.clientX,rt.value=q,ge({event:I,node:q.rawNode}))}function de({event:I,node:q},pe=!0){var xe;if(!e.draggable||e.disabled||q.disabled)return;let{value:Ue}=rt;if(!Ue)return;let{allowDrop:Kt,indent:Dt}=e;pe&&Le({event:I,node:q.rawNode});let So=I.currentTarget,{height:Eo,top:Mt}=So.getBoundingClientRect(),Vt=I.clientY-Mt,vr;Kt({node:q.rawNode,dropPosition:"inside",phase:"drag"})?Vt<=8?vr="before":Vt>=Eo-8?vr="after":vr="inside":Vt<=Eo/2?vr="before":vr="after";let{value:yc}=B,dt,er,Xi=yc(q.key);if(Xi===null){ue();return}let Rs=!1;vr==="inside"?(dt=q,er="inside"):vr==="before"?q.isFirstChild?(dt=q,er="before"):(dt=R.value[Xi-1],er="after"):(dt=q,er="after"),!dt.isLeaf&&j.value.includes(dt.key)&&(Rs=!0,er==="after"&&(dt=R.value[Xi+1],dt?er="before":(dt=q,er="inside")));let Bs=dt;if(Ye.value=Bs,!Rs&&Ue.isLastChild&&Ue.key===dt.key&&(er="after"),er==="after"){let Ms=Ve-I.clientX,Yi=0;for(;Ms>=Dt/2&&dt.parent!==null&&dt.isLastChild&&Yi<1;)Ms-=Dt,Yi+=1,dt=dt.parent;vt.value=Yi}else vt.value=0;if((Ue.contains(dt)||er==="inside"&&((xe=Ue.parent)===null||xe===void 0?void 0:xe.key)===dt.key)&&!(Ue.key===Bs.key&&Ue.key===dt.key)){ue();return}if(!Kt({node:dt.rawNode,dropPosition:er,phase:"drag"})){ue();return}if(Ue.key===dt.key)Ee();else if(se!==dt.key)if(er==="inside"){if(e.expandOnDragenter){if(Je(dt),!dt.shallowLoaded&&se!==dt.key){je();return}}else if(!dt.shallowLoaded){je();return}}else Ee();else er!=="inside"&&Ee();Ze.value=er,St.value=dt}function be({event:I,node:q,dropPosition:pe}){if(!e.draggable||e.disabled||q.disabled)return;let{value:xe}=rt,{value:Ue}=St,{value:Kt}=Ze;if(!(!xe||!Ue||!Kt)&&e.allowDrop({node:Ue.rawNode,dropPosition:Kt,phase:"drag"})&&xe.key!==Ue.key){if(Kt==="before"){let Dt=xe.getNext({includeDisabled:!0});if(Dt&&Dt.key===Ue.key){ue();return}}if(Kt==="after"){let Dt=xe.getPrev({includeDisabled:!0});if(Dt&&Dt.key===Ue.key){ue();return}}Ne({event:I,node:Ue.rawNode,dragNode:xe.rawNode,dropPosition:pe}),je()}}function Oe(){U()}function Ge(){U()}function _(I){var q;if(e.virtualScroll||e.internalScrollable){let{value:pe}=i;if(!((q=pe?.containerRef)===null||q===void 0)&&q.contains(I.relatedTarget))return;$.value=null}else{let{value:pe}=n;if(pe?.contains(I.relatedTarget))return;$.value=null}}ct($,I=>{var q,pe;if(I!==null){if(e.virtualScroll)(q=a.value)===null||q===void 0||q.scrollTo({key:I});else if(e.internalScrollable){let{value:xe}=i;if(xe===null)return;let Ue=(pe=xe.contentRef)===null||pe===void 0?void 0:pe.querySelector(`[data-key="${gi(I)}"]`);if(!Ue)return;xe.scrollTo({el:Ue})}}}),Yt(Co,{loadingKeysRef:Fe,highlightKeySetRef:$e,displayedCheckedKeysRef:H,displayedIndeterminateKeysRef:w,mergedSelectedKeysRef:x,mergedExpandedKeysRef:j,mergedThemeRef:o,mergedCheckStrategyRef:T,nodePropsRef:Me(e,"nodeProps"),disabledRef:Me(e,"disabled"),checkableRef:Me(e,"checkable"),selectableRef:Me(e,"selectable"),onLoadRef:Me(e,"onLoad"),draggableRef:Me(e,"draggable"),blockLineRef:Me(e,"blockLine"),indentRef:Me(e,"indent"),cascadeRef:Me(e,"cascade"),droppingMouseNodeRef:Ye,droppingNodeParentRef:ze,draggingNodeRef:rt,droppingPositionRef:Ze,droppingOffsetLevelRef:vt,fNodesRef:R,pendingNodeKeyRef:$,internalScrollableRef:Me(e,"internalScrollable"),internalCheckboxFocusableRef:Me(e,"internalCheckboxFocusable"),internalTreeSelect:e.internalTreeSelect,renderLabelRef:Me(e,"renderLabel"),renderPrefixRef:Me(e,"renderPrefix"),renderSuffixRef:Me(e,"renderSuffix"),renderSwitcherIconRef:Me(e,"renderSwitcherIcon"),labelFieldRef:Me(e,"labelField"),multipleRef:Me(e,"multiple"),handleSwitcherClick:et,handleDragEnd:k,handleDragEnter:Ft,handleDragLeave:lr,handleDragStart:ie,handleDrop:be,handleDragOver:de,handleSelect:lt,handleCheck:Ke});let te={handleKeydown:he,handleKeyup:oe},Ae=V(()=>{let{common:{cubicBezierEaseInOut:I},self:{fontSize:q,nodeBorderRadius:pe,nodeColorHover:xe,nodeColorPressed:Ue,nodeColorActive:Kt,arrowColor:Dt,loadingColor:So,nodeTextColor:Eo,nodeTextColorDisabled:Mt,dropMarkColor:Vt}}=o.value;return{"--n-arrow-color":Dt,"--n-loading-color":So,"--n-bezier":I,"--n-font-size":q,"--n-node-border-radius":pe,"--n-node-color-active":Kt,"--n-node-color-hover":xe,"--n-node-color-pressed":Ue,"--n-node-text-color":Eo,"--n-node-text-color-disabled":Mt,"--n-drop-mark-color":Vt}}),tt=r?ar("tree",void 0,Ae,e):void 0;return{mergedClsPrefix:t,mergedTheme:o,fNodes:G,aip:h,selfElRef:n,virtualListInstRef:a,scrollbarInstRef:i,handleFocusout:_,handleDragLeaveTree:Vo,handleScroll:Oe,getScrollContainer:s,getScrollContent:l,handleAfterEnter:ae,handleResize:Ge,handleKeydown:te.handleKeydown,handleKeyup:te.handleKeyup,cssVars:r?void 0:Ae,themeClass:tt?.themeClass,onRender:tt?.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,m=f?"0":void 0,b=[`${o}-tree`,u&&`${o}-tree--checkable`,(i||n)&&`${o}-tree--block-node`,i&&`${o}-tree--block-line`],C=T=>"__motion"in T?v(Cy,{height:T.height,nodes:T.nodes,clsPrefix:o,mode:T.mode,onAfterEnter:this.handleAfterEnter}):v(Eu,{key:T.key,tmNode:T,clsPrefix:o});if(this.virtualScroll){let{mergedTheme:T,internalScrollablePadding:H}=this,w=mi(H||"0");return v(Ua,{ref:"scrollbarInstRef",onDragleave:a?this.handleDragLeaveTree:void 0,container:this.getScrollContainer,content:this.getScrollContent,class:b,theme:T.peers.Scrollbar,themeOverrides:T.peerOverrides.Scrollbar,tabindex:m,onKeyup:f?c:void 0,onKeydown:f?d:void 0,onFocusout:f?p:void 0},{default:()=>{var S;return(S=this.onRender)===null||S===void 0||S.call(this),v(Na,{ref:"virtualListInstRef",items:this.fNodes,itemSize:_u,ignoreItemResize:this.aip,paddingTop:w.top,paddingBottom:w.bottom,class:this.themeClass,style:[this.cssVars,{paddingLeft:w.left,paddingRight:w.right}],onScroll:this.handleScroll,onResize:this.handleResize,showScrollbar:!1,itemResizable:!0},{default:({item:M})=>C(M)})}})}let{internalScrollable:g}=this;return b.push(this.themeClass),(e=this.onRender)===null||e===void 0||e.call(this),g?v(Ua,{class:b,tabindex:m,onKeyup:f?c:void 0,onKeydown:f?d:void 0,onFocusout:f?p:void 0,style:this.cssVars,contentStyle:{padding:this.internalScrollablePadding}},{default:()=>v("div",{onDragleave:a?this.handleDragLeaveTree:void 0,ref:"selfElRef"},this.fNodes.map(C))}):v("div",{class:b,tabindex:m,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(C):mo(this.$slots.empty,()=>{var T,H,w,S;return[v(hf,{class:`${o}-tree__empty`,theme:(H=(T=this.theme)===null||T===void 0?void 0:T.peers)===null||H===void 0?void 0:H.Empty,themeOverrides:(S=(w=this.themeOverrides)===null||w===void 0?void 0:w.peers)===null||S===void 0?void 0:S.Empty})]}))}});var Tu={name:"dark",common:A,Alert:yf,Anchor:Cf,AutoComplete:_f,Avatar:Ya,AvatarGroup:Tf,BackTop:Df,Badge:Nf,Breadcrumb:Af,Button:bt,ButtonGroup:kp,Calendar:Pf,Card:Qa,Carousel:Hf,Cascader:Vf,Checkbox:Zr,Code:Ja,Collapse:qf,CollapseTransition:Uf,ColorPicker:Bf,DataTable:tp,DatePicker:lp,Descriptions:up,Dialog:ss,Divider:mp,Drawer:gp,Dropdown:is,DynamicInput:bp,DynamicTags:xp,Element:vp,Empty:Tr,Ellipsis:os,Form:yp,GradientText:wp,Icon:np,IconWrapper:Cp,Image:lm,Input:_t,InputNumber:Sp,Layout:Ep,List:_p,LoadingBar:Tp,Log:Dp,Menu:Ip,Mention:Np,Message:Lp,Modal:pp,Notification:Pp,PageHeader:Bp,Pagination:ts,Popconfirm:$p,Popover:fr,Popselect:Hp,Progress:us,Radio:ns,Rate:Vp,Result:jp,Scrollbar:gt,Select:es,Skeleton:um,Slider:Wp,Space:ls,Spin:Up,Statistic:Kp,Steps:Gp,Switch:Xp,Table:Yp,Tabs:Zp,Tag:Ka,Thing:Qp,TimePicker:as,Timeline:Jp,Tooltip:wo,Transfer:em,Tree:cs,TreeSelect:om,Typography:nm,Upload:am,Watermark:sm};var Z8={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},Q8=rn("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),J8=[Q8];function Sy(e,t){return nr(),Lr("svg",Z8,J8)}var gm={};gm.render=Sy;gm.__file="src/ui/icons/ArrowCircleDownRound.vue";var bm=gm;var eD={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},tD=rn("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),rD=[tD];function Ey(e,t){return nr(),Lr("svg",eD,rD)}var xm={};xm.render=Ey;xm.__file="src/ui/icons/SettingsBackupRestoreRound.vue";var vm=xm;var oD={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},nD=rn("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),iD=[nD];function _y(e,t){return nr(),Lr("svg",oD,iD)}var ym={};ym.render=_y;ym.__file="src/ui/icons/ArrowForwardIosRound.vue";var wm=ym;var Cm=require("obsidian"),Du=fe({__name:"LocalIcon",props:{id:{type:String,default:"ghost"}},setup(e,{expose:t}){t();let r=e,o=(0,Cm.getIcon)(r.id)?.outerHTML||(0,Cm.getIcon)("ghost")?.outerHTML,n={props:r,html:o};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}});var aD=["innerHTML"];function Ty(e,t,r,o,n,i){return nr(),Lr("div",{innerHTML:o.html},null,8,aD)}Du.render=Ty;Du.__file="src/ui/icons/LocalIcon.vue";var km=Du;function sD(e){let t=0;for(let r=0;r<e.length;++r)e[r]==="&"&&++t;return t}var Dy=/\s*,(?![^(]*\))\s*/g,lD=/\s+/g;function uD(e,t){let r=[];return t.split(Dy).forEach(o=>{let n=sD(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(Dy).forEach(o=>{e.forEach(n=>{r.push((n&&n+" ")+o)})}),r}function Ny(e){let t=[""];return e.forEach(r=>{r=r&&r.trim(),r&&(r.includes("&")?t=uD(t,r):t=cD(t,r))}),t.join(", ").replace(lD," ")}var dD=/[A-Z]/g;function Iy(e){return e.replace(dD,t=>"-"+t.toLowerCase())}function fD(e,t=" "){return typeof e=="object"&&e!==null?` {
|
|
`+Object.entries(e).map(r=>t+` ${Iy(r[0])}: ${r[1]};`).join(`
|
|
`)+`
|
|
`+t+"}":`: ${e};`}function pD(e,t,r){return typeof e=="function"?e({context:t.context,props:r}):e}function Ay(e,t,r,o){if(!t)return"";let n=pD(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=Iy(s),l!=null&&a.push(` ${s}${fD(l)}`)}),e&&a.push("}"),a.join(`
|
|
`)}function Sm(e,t,r){e&&e.forEach(o=>{if(Array.isArray(o))Sm(o,t,r);else if(typeof o=="function"){let n=o(t);Array.isArray(n)?Sm(n,t,r):n&&r(n)}else o&&r(o)})}function Ly(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=Ny(t),l=Ay(s,e.props,o,n);i&&l&&i.insertRule(l),!i&&l.length&&r.push(l),e.children&&Sm(e.children,{context:o.context,props:n},u=>{if(typeof u=="string"){let c=Ay(s,{raw:u},o,n);i?i.insertRule(c):r.push(c)}else Ly(u,t,r,o,n,i)}),t.pop(),a&&a.after&&a.after(o.context)}function Nu(e,t,r,o=!1){let n=[];return Ly(e,[],n,t,r,o?e.instance.__styleSheet:void 0),o?"":n.join(`
|
|
|
|
`)}function Au(e){if(!e)return;let t=e.parentElement;t&&t.removeChild(e)}function ds(e){return document.querySelector(`style[cssr-id="${e}"]`)}function Oy(e){let t=document.createElement("style");return t.setAttribute("cssr-id",e),t}window&&(window.__cssrContext={});function Py(e){let t=e.getAttribute("mount-count");return t===null?null:Number(t)}function Em(e,t){e.setAttribute("mount-count",String(t))}function _m(e,t,r,o){let{els:n}=t;if(r===void 0)n.forEach(Au),t.els=[];else{let i=ds(r);if(i&&n.includes(i)){let a=Py(i);o?a===null?console.error(`[css-render/unmount]: The style with target='${r}' is mounted in count mode.`):a<=1?(Au(i),t.els=n.filter(s=>s!==i)):Em(i,a-1):a!==null?console.error(`[css-render/unmount]: The style with target='${r}' is mounted in no-count mode.`):(Au(i),t.els=n.filter(s=>s!==i))}}}function mD(e,t){e.push(t)}function Ry(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,Nu(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=ds(r);if(s||p===null){if(u=p===null?Oy(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&&Em(u,1),mD(c,u)}else{let f=Py(p);i?f===null?console.error(`[css-render/mount]: The style with id='${r}' has been mounted in no-count mode.`):Em(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 hD(e){return Nu(this,this.instance,e)}function gD(e={}){let{target:t,id:r,ssr:o,props:n,count:i=!1,head:a=!1,boost:s=!1,force:l=!1}=e;return Ry(this.instance,this,r??t,n,a,i,s,l,o)}function bD(e={}){let{id:t,target:r,delay:o=0,count:n=!1}=e;o===0?_m(this.instance,this,t??r,n):setTimeout(()=>_m(this.instance,this,t??r,n),o)}var Iu=function(e,t,r,o){return{instance:e,$:t,props:r,children:o,els:[],render:hD,mount:gD,unmount:bD}},By=function(e,t,r,o){return Array.isArray(t)?Iu(e,{$:null},null,t):Array.isArray(r)?Iu(e,t,null,r):Array.isArray(o)?Iu(e,t,r,o):Iu(e,t,r,null)};function Tm(e={}){let t=null,r={c:(...o)=>By(r,...o),use:(o,...n)=>o.install(r,...n),find:ds,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:Dm}=Tm(),xD=Dm(".xicon",{width:"1em",height:"1em",display:"inline-flex"},[Dm("svg",{width:"1em",height:"1em"}),Dm("svg:not([fill])",{fill:"currentColor"})]),Nm=()=>{xD.mount({id:"xicons-icon"})};var Am={size:[String,Number],color:String,tag:String},Im=Symbol("IconConfigInjection"),vD=fe({name:"IconConfigProvider",props:Am,setup(e,{slots:t}){return Yt(Im,e),()=>fi(t,"default")}});var My="span";var fs=fe({name:"Icon",props:Am,setup(e,{slots:t}){let r=_e(Im,null),o=V(()=>{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=V(()=>{let{color:a}=e;return a===void 0?r?r.color:void 0:a}),i=V(()=>{var a;let{tag:s}=e;return s===void 0?(a=r?.tag)!==null&&a!==void 0?a:My:s});return No(()=>{Nm()}),()=>v(i.value,{class:"xicon",style:{color:n.value,fontSize:o.value}},[fi(t,"default")])}});function Wy(){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 Oi=Wy();function yD(e){Oi=e}var wD=/[&<>"']/,CD=/[&<>"']/g,kD=/[<>"']|&(?!#?\w+;)/,SD=/[<>"']|&(?!#?\w+;)/g,ED={"&":"&","<":"<",">":">",'"':""","'":"'"},$y=e=>ED[e];function Wt(e,t){if(t){if(wD.test(e))return e.replace(CD,$y)}else if(kD.test(e))return e.replace(SD,$y);return e}var _D=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function qy(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 TD=/(^|[^\[])\^/g;function xt(e,t){e=e.source||e,t=t||"";let r={replace:(o,n)=>(n=n.source||n,n=n.replace(TD,"$1"),e=e.replace(o,n),r),getRegex:()=>new RegExp(e,t)};return r}var DD=/[^\w:]/g,ND=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Hy(e,t,r){if(e){let o;try{o=decodeURIComponent(qy(r)).replace(DD,"").toLowerCase()}catch{return null}if(o.indexOf("javascript:")===0||o.indexOf("vbscript:")===0||o.indexOf("data:")===0)return null}t&&!ND.test(r)&&(r=OD(t,r));try{r=encodeURI(r).replace(/%25/g,"%")}catch{return null}return r}var Lu={},AD=/^[^:]+:\/*[^/]*$/,ID=/^([^:]+:)[\s\S]*$/,LD=/^([^:]+:\/*[^/]*)[\s\S]*$/;function OD(e,t){Lu[" "+e]||(AD.test(e)?Lu[" "+e]=e+"/":Lu[" "+e]=Ou(e,"/",!0)),e=Lu[" "+e];let r=e.indexOf(":")===-1;return t.substring(0,2)==="//"?r?t:e.replace(ID,"$1")+t:t.charAt(0)==="/"?r?t:e.replace(LD,"$1")+t:e+t}var Pu={exec:function(){}};function eo(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 zy(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 Ou(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 PD(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 Uy(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 Fy(e,t){if(t<1)return"";let r="";for(;t>1;)t&1&&(r+=e),t>>=1,e+=e;return r+e}function Vy(e,t,r,o){let n=t.href,i=t.title?Wt(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:Wt(a)}}function RD(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 ps=class{constructor(t){this.options=t||Oi}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:Ou(o,`
|
|
`)}}}fences(t){let r=this.rules.block.fences.exec(t);if(r){let o=r[0],n=RD(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=Ou(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,m,b=r[1].trim(),C=b.length>1,g={type:"list",raw:"",ordered:C,start:C?+b.slice(0,-1):"",loose:!1,items:[]};b=C?`\\d{1,9}\\${b.slice(-1)}`:`\\${b}`,this.options.pedantic&&(b=C?b:"[*+-]");let T=new RegExp(`^( {0,3}${b})((?: [^\\n]*)?(?:\\n|$))`);for(;t&&(m=!1,!(!(r=T.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),m=!0),!m){let w=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," ")),!w.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)}}g.loose||(u?g.loose=!0:/\n *\n *$/.test(o)&&(u=!0)),this.options.gfm&&(n=/^\[[ xX]\] /.exec(f),n&&(i=n[0]!=="[ ] ",f=f.replace(/^\[[ xX]\] +/,""))),g.items.push({type:"list_item",raw:o,task:!!n,checked:i,loose:!1,text:f}),g.raw+=o}g.items[g.items.length-1].raw=o.trimRight(),g.items[g.items.length-1].text=f.trimRight(),g.raw=g.raw.trimRight();let H=g.items.length;for(s=0;s<H;s++){this.lexer.state.top=!1,g.items[s].tokens=this.lexer.blockTokens(g.items[s].text,[]);let w=g.items[s].tokens.filter(M=>M.type==="space"),S=w.every(M=>{let x=M.raw.split(""),E=0;for(let P of x)if(P===`
|
|
`&&(E+=1),E>1)return!0;return!1});!g.loose&&w.length&&S&&(g.loose=!0,g.items[s].loose=!0)}return g}}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]):Wt(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:zy(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]=zy(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:Wt(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]):Wt(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=Ou(o.slice(0,-1),"\\");if((o.length-a.length)%2===0)return}else{let a=PD(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)),Vy(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 Vy(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=Wt(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=Wt(this.options.mangle?r(o[1]):o[1]),i="mailto:"+n):(n=Wt(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=Wt(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=Wt(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]):Wt(o[0]):o[0]:n=Wt(this.options.smartypants?r(o[0]):o[0]),{type:"text",raw:o[0],text:n}}}},Re={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:Pu,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};Re._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;Re._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;Re.def=xt(Re.def).replace("label",Re._label).replace("title",Re._title).getRegex();Re.bullet=/(?:[*+-]|\d{1,9}[.)])/;Re.listItemStart=xt(/^( *)(bull) */).replace("bull",Re.bullet).getRegex();Re.list=xt(Re.list).replace(/bull/g,Re.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Re.def.source+")").getRegex();Re._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";Re._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/;Re.html=xt(Re.html,"i").replace("comment",Re._comment).replace("tag",Re._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();Re.paragraph=xt(Re._paragraph).replace("hr",Re.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",Re._tag).getRegex();Re.blockquote=xt(Re.blockquote).replace("paragraph",Re.paragraph).getRegex();Re.normal=eo({},Re);Re.gfm=eo({},Re.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"});Re.gfm.table=xt(Re.gfm.table).replace("hr",Re.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",Re._tag).getRegex();Re.gfm.paragraph=xt(Re._paragraph).replace("hr",Re.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",Re.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",Re._tag).getRegex();Re.pedantic=eo({},Re.normal,{html:xt(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Re._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:Pu,paragraph:xt(Re.normal._paragraph).replace("hr",Re.hr).replace("heading",` *#{1,6} *[^
|
|
]`).replace("lheading",Re.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Ce={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Pu,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:Pu,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};Ce._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~";Ce.punctuation=xt(Ce.punctuation).replace(/punctuation/g,Ce._punctuation).getRegex();Ce.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;Ce.escapedEmSt=/\\\*|\\_/g;Ce._comment=xt(Re._comment).replace("(?:-->|$)","-->").getRegex();Ce.emStrong.lDelim=xt(Ce.emStrong.lDelim).replace(/punct/g,Ce._punctuation).getRegex();Ce.emStrong.rDelimAst=xt(Ce.emStrong.rDelimAst,"g").replace(/punct/g,Ce._punctuation).getRegex();Ce.emStrong.rDelimUnd=xt(Ce.emStrong.rDelimUnd,"g").replace(/punct/g,Ce._punctuation).getRegex();Ce._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;Ce._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;Ce._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])?)+(?![-_])/;Ce.autolink=xt(Ce.autolink).replace("scheme",Ce._scheme).replace("email",Ce._email).getRegex();Ce._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;Ce.tag=xt(Ce.tag).replace("comment",Ce._comment).replace("attribute",Ce._attribute).getRegex();Ce._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;Ce._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;Ce._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;Ce.link=xt(Ce.link).replace("label",Ce._label).replace("href",Ce._href).replace("title",Ce._title).getRegex();Ce.reflink=xt(Ce.reflink).replace("label",Ce._label).replace("ref",Re._label).getRegex();Ce.nolink=xt(Ce.nolink).replace("ref",Re._label).getRegex();Ce.reflinkSearch=xt(Ce.reflinkSearch,"g").replace("reflink",Ce.reflink).replace("nolink",Ce.nolink).getRegex();Ce.normal=eo({},Ce);Ce.pedantic=eo({},Ce.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:xt(/^!?\[(label)\]\((.*?)\)/).replace("label",Ce._label).getRegex(),reflink:xt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ce._label).getRegex()});Ce.gfm=eo({},Ce.normal,{escape:xt(Ce.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.!#$%&'*+\/=?_`{\|}~-]+@)))/});Ce.gfm.url=xt(Ce.gfm.url,"i").replace("email",Ce.gfm._extended_email).getRegex();Ce.breaks=eo({},Ce.gfm,{br:xt(Ce.br).replace("{2,}","*").getRegex(),text:xt(Ce.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});function BD(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 jy(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 Qr=class{constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Oi,this.options.tokenizer=this.options.tokenizer||new ps,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:Re.normal,inline:Ce.normal};this.options.pedantic?(r.block=Re.pedantic,r.inline=Ce.pedantic):this.options.gfm&&(r.block=Re.gfm,this.options.breaks?r.inline=Ce.breaks:r.inline=Ce.gfm),this.tokenizer.rules=r}static get rules(){return{block:Re,inline:Ce}}static lex(t,r){return new Qr(r).lex(t)}static lexInline(t,r){return new Qr(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)+"["+Fy("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)+"["+Fy("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,jy)){t=t.substring(o.raw.length),r.push(o);continue}if(!this.state.inLink&&(o=this.tokenizer.url(t,jy))){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,BD)){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}},ms=class{constructor(t){this.options=t||Oi}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+Wt(n,!0)+'">'+(o?t:Wt(t,!0))+`</code></pre>
|
|
`:"<pre><code>"+(o?t:Wt(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=Hy(this.options.sanitize,this.options.baseUrl,t),t===null)return o;let n='<a href="'+Wt(t)+'"';return r&&(n+=' title="'+r+'"'),n+=">"+o+"</a>",n}image(t,r,o){if(t=Hy(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}},Ru=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""}},Bu=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)}},Jr=class{constructor(t){this.options=t||Oi,this.options.renderer=this.options.renderer||new ms,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Ru,this.slugger=new Bu}static parse(t,r){return new Jr(r).parse(t)}static parseInline(t,r){return new Jr(r).parseInline(t)}parse(t,r=!0){let o="",n,i,a,s,l,u,c,d,p,f,m,b,C,g,T,H,w,S,M,x=t.length;for(n=0;n<x;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,qy(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(m=f.ordered,b=f.start,C=f.loose,s=f.items.length,p="",i=0;i<s;i++)T=f.items[i],H=T.checked,w=T.task,g="",T.task&&(S=this.renderer.checkbox(H),C?T.tokens.length>0&&T.tokens[0].type==="paragraph"?(T.tokens[0].text=S+" "+T.tokens[0].text,T.tokens[0].tokens&&T.tokens[0].tokens.length>0&&T.tokens[0].tokens[0].type==="text"&&(T.tokens[0].tokens[0].text=S+" "+T.tokens[0].tokens[0].text)):T.tokens.unshift({type:"text",text:S}):g+=S),g+=this.parse(T.tokens,C),p+=this.renderer.listitem(g,w,H);o+=this.renderer.list(p,m,b);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<x&&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 E='Token with "'+f.type+'" type was not found.';if(this.options.silent){console.error(E);return}else throw new Error(E)}}}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 Pe(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=eo({},Pe.defaults,t||{}),Uy(t),r){let o=t.highlight,n;try{n=Qr.lex(e,t)}catch(s){return r(s)}let i=function(s){let l;if(!s)try{t.walkTokens&&Pe.walkTokens(n,t.walkTokens),l=Jr.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;Pe.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=Qr.lex(e,t);return t.walkTokens&&Pe.walkTokens(o,t.walkTokens),Jr.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>"+Wt(o.message+"",!0)+"</pre>";throw o}}Pe.options=Pe.setOptions=function(e){return eo(Pe.defaults,e),yD(Pe.defaults),Pe};Pe.getDefaults=Wy;Pe.defaults=Oi;Pe.use=function(...e){let t=eo({},...e),r=Pe.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=Pe.defaults.renderer||new ms;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=Pe.defaults.tokenizer||new ps;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=Pe.defaults.walkTokens;t.walkTokens=function(a){n.walkTokens.call(this,a),i&&i.call(this,a)}}o&&(t.extensions=r),Pe.setOptions(t)})};Pe.walkTokens=function(e,t){for(let r of e)switch(t.call(Pe,r),r.type){case"table":{for(let o of r.header)Pe.walkTokens(o.tokens,t);for(let o of r.rows)for(let n of o)Pe.walkTokens(n.tokens,t);break}case"list":{Pe.walkTokens(r.items,t);break}default:Pe.defaults.extensions&&Pe.defaults.extensions.childTokens&&Pe.defaults.extensions.childTokens[r.type]?Pe.defaults.extensions.childTokens[r.type].forEach(function(o){Pe.walkTokens(r[o],t)}):r.tokens&&Pe.walkTokens(r.tokens,t)}};Pe.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=eo({},Pe.defaults,t||{}),Uy(t);try{let r=Qr.lexInline(e,t);return t.walkTokens&&Pe.walkTokens(r,t.walkTokens),Jr.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>"+Wt(r.message+"",!0)+"</pre>";throw r}};Pe.Parser=Jr;Pe.parser=Jr.parse;Pe.Renderer=ms;Pe.TextRenderer=Ru;Pe.Lexer=Qr;Pe.lexer=Qr.lex;Pe.Tokenizer=ps;Pe.Slugger=Bu;Pe.parse=Pe;var Dce=Pe.options,Nce=Pe.setOptions,Ace=Pe.use,Ice=Pe.walkTokens,Lce=Pe.parseInline;var Oce=Jr.parse,Pce=Qr.lex;var kw=require("obsidian");var Pi=require("obsidian");function MD(e,t){for(let r=e;r>=0;r--)if(t[r].level<t[e].level)return r;return-1}function $D(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 Ky(e,t){let r=MD(e,t),n=[...$D(r,t)].filter(i=>t[i].level===t[e].level);return new Set(n)}var L=so({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,modifyKeys:{},dragModify:!1,textDirectionDecideBy:"system",refreshTree(){this.leafChange=!this.leafChange},patchColor:!1,primaryColorLight:"",primaryColorDark:"",rainbowLine:!1,rainbowColor1:"",rainbowColor2:"",rainbowColor3:"",rainbowColor4:"",rainbowColor5:""});var Gy={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,Pi.renderMath)(e.formula,!1);return t.setAttr("origin",e.formula),(0,Pi.finishRenderMath)(),t.outerHTML}catch{return(0,Pi.loadMathJax)().then(()=>{L.refreshTree()}),!1}}},Xy={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>`}},Yy={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""}},Zy={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>`}},Qy={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>`}},Jy=e=>{e.type==="link"&&(e.href="javascript:void(0);")},e2={list(e){}};function t2(e,t,r){ut(()=>{wr(e).addEventListener(t,r)}),Pt(()=>{wr(e).removeEventListener(t,r)})}var at;(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"})(at||(at={}));function r2(e){return e.type===at.Tag||e.type===at.Script||e.type===at.Style}var o2=at.Root,n2=at.Text,i2=at.Directive,a2=at.Comment,s2=at.Script,l2=at.Style,u2=at.Tag,c2=at.CDATA,d2=at.Doctype;var Mu=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 m2(this,t)}},hs=class extends Mu{constructor(t){super(),this.data=t}get nodeValue(){return this.data}set nodeValue(t){this.data=t}},Ri=class extends hs{constructor(){super(...arguments),this.type=at.Text}get nodeType(){return 3}},gs=class extends hs{constructor(){super(...arguments),this.type=at.Comment}get nodeType(){return 8}},bs=class extends hs{constructor(t,r){super(r),this.name=t,this.type=at.Directive}get nodeType(){return 1}},xs=class extends Mu{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}},vs=class extends xs{constructor(){super(...arguments),this.type=at.CDATA}get nodeType(){return 4}},Bi=class extends xs{constructor(){super(...arguments),this.type=at.Root}get nodeType(){return 9}},ys=class extends xs{constructor(t,r,o=[],n=t==="script"?at.Script:t==="style"?at.Style:at.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 Mo(e){return r2(e)}function Om(e){return e.type===at.CDATA}function $u(e){return e.type===at.Text}function Pm(e){return e.type===at.Comment}function HD(e){return e.type===at.Directive}function p2(e){return e.type===at.Root}function m2(e,t=!1){let r;if($u(e))r=new Ri(e.data);else if(Pm(e))r=new gs(e.data);else if(Mo(e)){let o=t?Lm(e.children):[],n=new ys(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(Om(e)){let o=t?Lm(e.children):[],n=new vs(o);o.forEach(i=>i.parent=n),r=n}else if(p2(e)){let o=t?Lm(e.children):[],n=new Bi(o);o.forEach(i=>i.parent=n),e["x-mode"]&&(n["x-mode"]=e["x-mode"]),r=n}else if(HD(e)){let o=new bs(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 Lm(e){let t=e.map(r=>m2(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 h2={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},Mi=class{constructor(t,r,o){this.dom=[],this.root=new Bi(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof r=="function"&&(o=r,r=h2),typeof t=="object"&&(r=t,t=void 0),this.callback=t??null,this.options=r??h2,this.elementCB=o??null}onparserinit(t){this.parser=t}onreset(){this.dom=[],this.root=new Bi(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?at.Tag:void 0,n=new ys(t,r,void 0,o);this.addNode(n),this.tagStack.push(n)}ontext(t){let{lastNode:r}=this;if(r&&r.type===at.Text)r.data+=t,this.options.withEndIndices&&(r.endIndex=this.parser.endIndex);else{let o=new Ri(t);this.addNode(o),this.lastNode=o}}oncomment(t){if(this.lastNode&&this.lastNode.type===at.Comment){this.lastNode.data+=t;return}let r=new gs(t);this.addNode(r),this.lastNode=r}oncommentend(){this.lastNode=null}oncdatastart(){let t=new Ri(""),r=new vs([t]);this.addNode(r),t.parent=r,this.lastNode=t}oncdataend(){this.lastNode=null}onprocessinginstruction(t,r){let o=new bs(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 zD=/\n/g;function FD(e){let t=[...e.matchAll(zD)].map(o=>o.index||0);t.unshift(-1);let r=Rm(t,0,t.length);return o=>b2(r,o)}function Rm(e,t,r){if(r-t==1)return{offset:e[t],index:t+1};let o=Math.ceil((t+r)/2),n=Rm(e,t,o),i=Rm(e,o,r);return{offset:n.offset,low:n,high:i}}function b2(e,t){return function(r){return Object.prototype.hasOwnProperty.call(r,"index")}(e)?{line:e.index,column:t-e.offset}:b2(e.high.offset<t?e.high:e.low,t)}function Bm(e,t="",r={}){let o=typeof t!="string"?t:r,n=typeof t=="string"?t:"",i=e.map(VD),a=!!o.lineNumbers;return function(s,l=0){let u=a?FD(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 m=f.regex.exec(s);if(m&&m[0].length>0){if(!f.discard){let b=u(c),C=typeof f.replace=="string"?m[0].replace(new RegExp(f.regex.source,f.regex.flags),f.replace):m[0];d.push({state:n,name:f.name,text:C,offset:c,len:m[0].length,line:b.line,column:b.column})}if(c=f.regex.lastIndex,p=!0,f.push){let b=f.push(s,c);d.push(...b.tokens),c=b.offset}if(f.pop)break e;break}}if(!p)break}return{tokens:d,offset:c,complete:s.length<=c}}}function VD(e,t){return{...e,regex:jD(e,t)}}function jD(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(g2(e.str),"y")}return new RegExp(g2(e.name),"y")}function g2(e){return e.replace(/[-[\]{}()*+!<=:?./\\^$|#\s,]/g,"\\$&")}function ko(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 Mm(e,t){return e.matched?{matched:!0,position:e.position,value:t(e.value,e.position)}:e}function Hu(e,t){return e.matched?t(e):e}function Jt(e,t){return(r,o)=>Mm(e(r,o),(n,i)=>t(n,r,o,i))}function ws(e,t){return(r,o)=>{let n=e(r,o);return n.matched?n:{matched:!0,position:o,value:t}}}function $i(...e){return(t,r)=>{for(let o of e){let n=o(t,r);if(n.matched)return n}return{matched:!1}}}function vn(e,t){return(r,o)=>{let n=e(r,o);return n.matched?n:t(r,o)}}function WD(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 zu(e){return WD(e,()=>!0)}function x2(e){return sr(e,zu(e),(t,r)=>[t,...r])}function sr(e,t,r){return(o,n)=>Hu(e(o,n),i=>Mm(t(o,i.position),(a,s)=>r(i.value,a,o,n,s)))}function v2(e,t){return sr(e,t,r=>r)}function $m(e,t){return sr(e,t,(r,o)=>o)}function Fu(e,t,r,o){return(n,i)=>Hu(e(n,i),a=>Hu(t(n,a.position),s=>Mm(r(n,s.position),(l,u)=>o(a.value,s.value,l,n,i,u))))}function Hm(e,t,r){return Fu(e,t,r,(o,n)=>n)}function qD(...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 y2(...e){return UD(qD(...e))}function UD(e){return Jt(e,t=>t.flatMap(r=>r))}function KD(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 GD(e,t,r){return KD(e,o=>Jt(t,(n,i,a,s)=>r(o,n,i,a,s)))}function zm(e,t,r){return XD(e,o=>GD(o,sr(t,r,(n,i)=>[n,i]),(n,[i,a])=>i(n,a)))}function XD(e,t){return(r,o)=>Hu(e(r,o),n=>t(n.value,r,o,n.position)(r,n.position))}var ZD="(?:[ \\t\\r\\n\\f]*)",_2="(?:\\n|\\r\\n|\\r|\\f)",Wu="[^\\x00-\\x7F]",Ss="(?:\\\\[0-9a-f]{1,6}(?:\\r\\n|[ \\n\\r\\t\\f])?)",Es="(?:\\\\[^\\n\\r\\f0-9a-f])",QD=`(?:[_a-z]|${Wu}|${Ss}|${Es})`,T2=`(?:[_a-z0-9-]|${Wu}|${Ss}|${Es})`,JD=`(?:${T2}+)`,eN=`(?:[-]?${QD}${T2}*)`,tN=`'([^\\n\\r\\f\\\\']|\\\\${_2}|${Wu}|${Ss}|${Es})*'`,rN=`"([^\\n\\r\\f\\\\"]|\\\\${_2}|${Wu}|${Ss}|${Es})*"`,oN=Bm([{name:"ws",regex:new RegExp(ZD)},{name:"hash",regex:new RegExp(`#${JD}`,"i")},{name:"ident",regex:new RegExp(eN,"i")},{name:"str1",regex:new RegExp(tN,"i")},{name:"str2",regex:new RegExp(rN,"i")},{name:"*"},{name:"."},{name:","},{name:"["},{name:"]"},{name:"="},{name:">"},{name:"|"},{name:"+"},{name:"~"},{name:"^"},{name:"$"}]),nN=Bm([{name:"unicode",regex:new RegExp(Ss,"i")},{name:"escape",regex:new RegExp(Es,"i")},{name:"any",regex:new RegExp("[\\s\\S]","i")}]);function D2([e,t,r],[o,n,i]){return[e+o,t+n,r+i]}function iN(e){return e.reduce(D2,[0,0,0])}var aN=ko(e=>e.name==="unicode"?String.fromCodePoint(parseInt(e.text.slice(1),16)):void 0),sN=ko(e=>e.name==="escape"?e.text.slice(1):void 0),lN=ko(e=>e.name==="any"?e.text:void 0),uN=Jt(zu($i(aN,sN,lN)),e=>e.join(""));function jm(e){let t=nN(e);return uN({tokens:t.tokens,options:void 0},0).value}function Ct(e){return ko(t=>t.name===e?!0:void 0)}var Wm=ko(e=>e.name==="ws"?null:void 0),Fm=ws(Wm,null);function zi(e){return Hm(Fm,e,Fm)}var ks=ko(e=>e.name==="ident"?jm(e.text):void 0),cN=ko(e=>e.name==="hash"?jm(e.text.slice(1)):void 0),dN=ko(e=>e.name.startsWith("str")?jm(e.text.slice(1,-1)):void 0),N2=v2(ws(ks,""),Ct("|")),qm=vn(sr(N2,ks,(e,t)=>({name:t,namespace:e})),Jt(ks,e=>({name:e,namespace:null}))),fN=vn(sr(N2,Ct("*"),e=>({type:"universal",namespace:e,specificity:[0,0,0]})),Jt(Ct("*"),()=>({type:"universal",namespace:null,specificity:[0,0,0]}))),pN=Jt(qm,({name:e,namespace:t})=>({type:"tag",name:e,namespace:t,specificity:[0,0,1]})),mN=sr(Ct("."),ks,(e,t)=>({type:"class",name:t,specificity:[0,1,0]})),hN=Jt(cN,e=>({type:"id",name:e,specificity:[1,0,0]})),w2=ko(e=>{if(e.name==="ident"){if(e.text==="i"||e.text==="I")return"i";if(e.text==="s"||e.text==="S")return"s"}}),gN=vn(sr(dN,ws($m(Fm,w2),null),(e,t)=>({value:e,modifier:t})),sr(ks,ws($m(Wm,w2),null),(e,t)=>({value:e,modifier:t}))),bN=$i(Jt(Ct("="),()=>"="),sr(Ct("~"),Ct("="),()=>"~="),sr(Ct("|"),Ct("="),()=>"|="),sr(Ct("^"),Ct("="),()=>"^="),sr(Ct("$"),Ct("="),()=>"$="),sr(Ct("*"),Ct("="),()=>"*=")),xN=Fu(Ct("["),zi(qm),Ct("]"),(e,{name:t,namespace:r})=>({type:"attrPresence",name:t,namespace:r,specificity:[0,1,0]})),vN=Hm(Ct("["),Fu(zi(qm),bN,zi(gN),({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("]")),yN=vn(xN,vN),wN=vn(fN,pN),C2=$i(hN,mN,yN),k2=Jt(vn(y2(wN,zu(C2)),x2(C2)),e=>({type:"compound",list:e,specificity:iN(e.map(t=>t.specificity))})),CN=$i(Jt(Ct(">"),()=>">"),Jt(Ct("+"),()=>"+"),Jt(Ct("~"),()=>"~"),sr(Ct("|"),Ct("|"),()=>"||")),kN=vn(zi(CN),Jt(Wm,()=>" ")),Vm=zm(k2,Jt(kN,e=>(t,r)=>({type:"compound",list:[...r.list,{type:"combinator",combinator:e,left:t,specificity:t.specificity}],specificity:D2(t.specificity,r.specificity)})),k2),Yce=zm(Jt(Vm,e=>({type:"list",list:[e]})),Jt(zi(Ct(",")),()=>(e,t)=>({type:"list",list:[...e.list,t]})),Vm);function SN(e,t){if(!(typeof t=="string"||t instanceof String))throw new Error("Expected a selector string. Actual input is not a string!");let r=oN(t);if(!r.complete)throw new Error(`The input "${t}" was only partially tokenized, stopped at offset ${r.offset}!
|
|
`+S2(t,r.offset));let o=zi(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}!
|
|
`+S2(t,n.offset,n.len))}return o.value}function S2(e,t,r=1){return`${e.replace(/(\t)|(\r)|(\n)/g,(o,n,i)=>n?"\u2409":i?"\u240D":"\u240A")}
|
|
${"".padEnd(t)}${"^".repeat(r)}`}function A2(e){return SN(Vm,e)}function to(e){if(!e.type)throw new Error("This is not an AST node.");switch(e.type){case"universal":return Vu(e.namespace)+"*";case"tag":return Vu(e.namespace)+Hi(e.name);case"class":return"."+Hi(e.name);case"id":return"#"+Hi(e.name);case"attrPresence":return`[${Vu(e.namespace)}${Hi(e.name)}]`;case"attrValue":return`[${Vu(e.namespace)}${Hi(e.name)}${e.matcher}"${EN(e.value)}"${e.modifier?e.modifier:""}]`;case"combinator":return to(e.left)+e.combinator;case"compound":return e.list.reduce((t,r)=>r.type==="combinator"?to(r)+t:t+to(r),"");case"list":return e.list.map(to).join(",")}}function Vu(e){return e||e===""?Hi(e)+"|":""}function ju(e){return`\\${e.codePointAt(0).toString(16)} `}function Hi(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?ju(r):o?"-"+ju(o.slice(1)):n?"\\-":i||(a?"\uFFFD":s?ju(s):"\\"+l))}function EN(e){return e.replace(/(")|(\\)|(\x00)|([\x01-\x1f]|\x7f)/g,(t,r,o,n,i)=>r?'\\"':o?"\\\\":n?"\uFFFD":ju(i))}function Cs(e){if(!e.type)throw new Error("This is not an AST node.");switch(e.type){case"compound":{e.list.forEach(Cs),e.list.sort((t,r)=>I2(E2(t),E2(r)));break}case"combinator":{Cs(e.left);break}case"list":{e.list.forEach(Cs),e.list.sort((t,r)=>to(t)<to(r)?-1:1);break}}return e}function E2(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,to(e)];case"attrValue":return[5,to(e)];case"combinator":return[15,to(e)]}}function Um(e,t){return I2(e,t)}function I2(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 _s=class{constructor(t){this.branches=Fi(TN(t))}build(t){return t(this.branches)}};function TN(e){let t=e.length,r=new Array(t);for(let o=0;o<t;o++){let[n,i]=e[o],a=DN(A2(n));r[o]={ast:a,terminal:{type:"terminal",valueContainer:{index:o,value:i,specificity:a.specificity}}}}return r}function DN(e){return O2(e),Cs(e),e}function O2(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":O2(r.left),t.push(r);break;case"universal":break;default:t.push(r);break}}),e.list=t}function Fi(e){let t=[];for(;e.length;){let r=B2(e,a=>!0,P2),{matches:o,nonmatches:n,empty:i}=AN(e,r);e=n,o.length&&t.push(IN(r,o)),i.length&&t.push(...NN(i))}return t}function NN(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}=BN(o.cont,a=>a.type==="terminal");n.forEach(a=>t.push(a)),i.length&&(o.cont=i,t.push(o))}}return t}function AN(e,t){let r=[],o=[],n=[];for(let i of e){let a=i.ast.list;a.length?(a.some(l=>P2(l)===t)?r:o).push(i):n.push(i)}return{matches:r,nonmatches:o,empty:n}}function P2(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 IN(e,t){if(e==="tag")return LN(t);if(e.startsWith("attrValue "))return PN(e.substring(10),t);if(e.startsWith("attrPresence "))return ON(e.substring(13),t);if(e==="combinator >")return L2(">",t);if(e==="combinator +")return L2("+",t);throw new Error(`Unsupported selector kind: ${e}`)}function LN(e){let t=Km(e,o=>o.type==="tag",o=>o.name);return{type:"tagName",variants:Object.entries(t).map(([o,n])=>({type:"variant",value:o,cont:Fi(n.items)}))}}function ON(e,t){for(let r of t)R2(r,o=>o.type==="attrPresence"&&o.name===e);return{type:"attrPresence",name:e,cont:Fi(t)}}function PN(e,t){let r=Km(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=RN(i),s=Fi(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 RN(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 L2(e,t){let r=Km(t,n=>n.type==="combinator"&&n.combinator===e,n=>to(n.left)),o=[];for(let n of Object.values(r)){let i=Fi(n.items),a=n.oneSimpleSelector.left;o.push({ast:a,terminal:{type:"popElement",cont:i}})}return{type:"pushElement",combinator:e,cont:Fi(o)}}function Km(e,t,r){let o={};for(;e.length;){let n=B2(e,t,r),i=c=>t(c)&&r(c)===n,a=c=>c.ast.list.some(i),{matches:s,rest:l}=MN(e,a),u=null;for(let c of s){let d=R2(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 R2(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 B2(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 BN(e,t){let r=[],o=[];for(let n of e)t(n)?r.push(n):o.push(n);return{matches:r,rest:o}}function MN(e,t){let r=[],o=[];for(let n of e)t(n)?r.push(n):o.push(n);return{matches:r,rest:o}}var qu=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?$N:HN,a=o[0];for(let s=1;s<n;s++){let l=o[s];i(a,l)&&(a=l)}return a.value}};function $N(e,t){let r=Um(t.specificity,e.specificity);return r>0||r===0&&t.index<e.index}function HN(e,t){let r=Um(t.specificity,e.specificity);return r>0||r===0&&t.index>e.index}function Gm(e){return new qu(Vi(e))}function Vi(e){let t=e.map(zN);return(r,...o)=>t.flatMap(n=>n(r,...o))}function zN(e){switch(e.type){case"terminal":{let t=[e.valueContainer];return(r,...o)=>t}case"tagName":return FN(e);case"attrValue":return jN(e);case"attrPresence":return VN(e);case"pushElement":return WN(e);case"popElement":return UN(e)}}function FN(e){let t={};for(let r of e.variants)t[r.value]=Vi(r.cont);return(r,...o)=>{let n=t[r.name];return n?n(r,...o):[]}}function VN(e){let t=e.name,r=Vi(e.cont);return(o,...n)=>Object.prototype.hasOwnProperty.call(o.attribs,t)?r(o,...n):[]}function jN(e){let t=[];for(let o of e.matchers){let n=o.predicate,i=Vi(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 WN(e){let t=Vi(e.cont),r=e.combinator==="+"?M2:qN;return(o,...n)=>{let i=r(o);return i===null?[]:t(i,o,...n)}}var M2=e=>{let t=e.prev;return t===null?null:Mo(t)?t:M2(t)},qN=e=>{let t=e.parent;return t&&Mo(t)?t:null};function UN(e){let t=Vi(e.cont);return(r,o,...n)=>t(o,...n)}var Uu=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 Ku=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(e=>e.charCodeAt(0)));var Xm,KN=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]]),ji=(Xm=String.fromCodePoint)!==null&&Xm!==void 0?Xm: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 Ts(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=KN.get(e))!==null&&t!==void 0?t:e}var Ut;(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"})(Ut||(Ut={}));var GN=32,Vr;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Vr||(Vr={}));function Ym(e){return e>=Ut.ZERO&&e<=Ut.NINE}function XN(e){return e>=Ut.UPPER_A&&e<=Ut.UPPER_F||e>=Ut.LOWER_A&&e<=Ut.LOWER_F}function YN(e){return e>=Ut.UPPER_A&&e<=Ut.UPPER_Z||e>=Ut.LOWER_A&&e<=Ut.LOWER_Z||Ym(e)}function ZN(e){return e===Ut.EQUALS||YN(e)}var qt;(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"})(qt||(qt={}));var $o;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})($o||($o={}));var Gu=class{constructor(t,r,o){this.decodeTree=t,this.emitCodePoint=r,this.errors=o,this.state=qt.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=$o.Strict}startEntity(t){this.decodeMode=t,this.state=qt.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case qt.EntityStart:return t.charCodeAt(r)===Ut.NUM?(this.state=qt.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=qt.NamedEntity,this.stateNamedEntity(t,r));case qt.NumericStart:return this.stateNumericStart(t,r);case qt.NumericDecimal:return this.stateNumericDecimal(t,r);case qt.NumericHex:return this.stateNumericHex(t,r);case qt.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|GN)===Ut.LOWER_X?(this.state=qt.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=qt.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(Ym(n)||XN(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(Ym(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===Ut.SEMI)this.consumed+=1;else if(this.decodeMode===$o.Strict)return 0;return this.emitCodePoint(Ts(this.result),this.consumed),this.errors&&(t!==Ut.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,r){let{decodeTree:o}=this,n=o[this.treeIndex],i=(n&Vr.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){let a=t.charCodeAt(r);if(this.treeIndex=Zm(o,n,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===$o.Attribute&&(i===0||ZN(a))?0:this.emitNotTerminatedNamedEntity();if(n=o[this.treeIndex],i=(n&Vr.VALUE_LENGTH)>>14,i!==0){if(a===Ut.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==$o.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]&Vr.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]&~Vr.VALUE_LENGTH:n[t+1],o),r===3&&this.emitCodePoint(n[t+2],o),o}end(){var t;switch(this.state){case qt.NamedEntity:return this.result!==0&&(this.decodeMode!==$o.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case qt.NumericDecimal:return this.emitNumericEntity(0,2);case qt.NumericHex:return this.emitNumericEntity(0,3);case qt.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case qt.EntityStart:return 0}}};function $2(e){let t="",r=new Gu(e,o=>t+=ji(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 Zm(e,t,r,o){let n=(t&Vr.BRANCH_LENGTH)>>7,i=t&Vr.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 ude=$2(Uu),cde=$2(Ku);var ke;(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"})(ke||(ke={}));var Z;(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"})(Z||(Z={}));function Ho(e){return e===ke.Space||e===ke.NewLine||e===ke.Tab||e===ke.FormFeed||e===ke.CarriageReturn}function Xu(e){return e===ke.Slash||e===ke.Gt||Ho(e)}function H2(e){return e>=ke.Zero&&e<=ke.Nine}function QN(e){return e>=ke.LowerA&&e<=ke.LowerZ||e>=ke.UpperA&&e<=ke.UpperZ}function JN(e){return e>=ke.UpperA&&e<=ke.UpperF||e>=ke.LowerA&&e<=ke.LowerF}var ro;(function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"})(ro||(ro={}));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])},Wi=class{constructor({xmlMode:t=!1,decodeEntities:r=!0},o){this.cbs=o,this.state=Z.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=Z.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?Ku:Uu}reset(){this.state=Z.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=Z.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===ke.Lt||!this.decodeEntities&&this.fastForwardTo(ke.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=Z.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&t===ke.Amp&&(this.state=Z.BeforeEntity)}stateSpecialStartSequence(t){let r=this.sequenceIndex===this.currentSequence.length;if(!(r?Xu(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!r){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=Z.InTagName,this.stateInTagName(t)}stateInSpecialTag(t){if(this.sequenceIndex===this.currentSequence.length){if(t===ke.Gt||Ho(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===ke.Amp&&(this.state=Z.BeforeEntity):this.fastForwardTo(ke.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===ke.Lt)}stateCDATASequence(t){t===xr.Cdata[this.sequenceIndex]?++this.sequenceIndex===xr.Cdata.length&&(this.state=Z.InCommentLike,this.currentSequence=xr.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=Z.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=Z.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?!Xu(t):QN(t)}startSpecial(t,r){this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=r,this.state=Z.SpecialStartSequence}stateBeforeTagName(t){if(t===ke.ExclamationMark)this.state=Z.BeforeDeclaration,this.sectionStart=this.index+1;else if(t===ke.Questionmark)this.state=Z.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]?Z.BeforeSpecialS:Z.InTagName}else t===ke.Slash?this.state=Z.BeforeClosingTagName:(this.state=Z.Text,this.stateText(t))}stateInTagName(t){Xu(t)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=Z.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateBeforeClosingTagName(t){Ho(t)||(t===ke.Gt?this.state=Z.Text:(this.state=this.isTagStartChar(t)?Z.InClosingTagName:Z.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(t){(t===ke.Gt||Ho(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=Z.AfterClosingTagName,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){(t===ke.Gt||this.fastForwardTo(ke.Gt))&&(this.state=Z.Text,this.baseState=Z.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(t){t===ke.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=Z.InSpecialTag,this.sequenceIndex=0):this.state=Z.Text,this.baseState=this.state,this.sectionStart=this.index+1):t===ke.Slash?this.state=Z.InSelfClosingTag:Ho(t)||(this.state=Z.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===ke.Gt?(this.cbs.onselfclosingtag(this.index),this.state=Z.Text,this.baseState=Z.Text,this.sectionStart=this.index+1,this.isSpecial=!1):Ho(t)||(this.state=Z.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateInAttributeName(t){(t===ke.Eq||Xu(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=Z.AfterAttributeName,this.stateAfterAttributeName(t))}stateAfterAttributeName(t){t===ke.Eq?this.state=Z.BeforeAttributeValue:t===ke.Slash||t===ke.Gt?(this.cbs.onattribend(ro.NoValue,this.index),this.state=Z.BeforeAttributeName,this.stateBeforeAttributeName(t)):Ho(t)||(this.cbs.onattribend(ro.NoValue,this.index),this.state=Z.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(t){t===ke.DoubleQuote?(this.state=Z.InAttributeValueDq,this.sectionStart=this.index+1):t===ke.SingleQuote?(this.state=Z.InAttributeValueSq,this.sectionStart=this.index+1):Ho(t)||(this.sectionStart=this.index,this.state=Z.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===ke.DoubleQuote?ro.Double:ro.Single,this.index),this.state=Z.BeforeAttributeName):this.decodeEntities&&t===ke.Amp&&(this.baseState=this.state,this.state=Z.BeforeEntity)}stateInAttributeValueDoubleQuotes(t){this.handleInAttributeValue(t,ke.DoubleQuote)}stateInAttributeValueSingleQuotes(t){this.handleInAttributeValue(t,ke.SingleQuote)}stateInAttributeValueNoQuotes(t){Ho(t)||t===ke.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(ro.Unquoted,this.index),this.state=Z.BeforeAttributeName,this.stateBeforeAttributeName(t)):this.decodeEntities&&t===ke.Amp&&(this.baseState=this.state,this.state=Z.BeforeEntity)}stateBeforeDeclaration(t){t===ke.OpeningSquareBracket?(this.state=Z.CDATASequence,this.sequenceIndex=0):this.state=t===ke.Dash?Z.BeforeComment:Z.InDeclaration}stateInDeclaration(t){(t===ke.Gt||this.fastForwardTo(ke.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=Z.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===ke.Gt||this.fastForwardTo(ke.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=Z.Text,this.sectionStart=this.index+1)}stateBeforeComment(t){t===ke.Dash?(this.state=Z.InCommentLike,this.currentSequence=xr.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=Z.InDeclaration}stateInSpecialComment(t){(t===ke.Gt||this.fastForwardTo(ke.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=Z.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=Z.InTagName,this.stateInTagName(t))}stateBeforeEntity(t){this.entityExcess=1,this.entityResult=0,t===ke.Number?this.state=Z.BeforeNumericEntity:t===ke.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=Z.InNamedEntity,this.stateInNamedEntity(t))}stateInNamedEntity(t){if(this.entityExcess+=1,this.trieIndex=Zm(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&Vr.VALUE_LENGTH;if(r){let o=(r>>14)-1;if(!this.allowLegacyEntity()&&t!==ke.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]&Vr.VALUE_LENGTH)>>14){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~Vr.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)===ke.LowerX?(this.entityExcess++,this.state=Z.InHexEntity):(this.state=Z.InNumericEntity,this.stateInNumericEntity(t))}emitNumericEntity(t){let r=this.index-this.entityExcess-1;r+2+ +(this.state===Z.InHexEntity)!==this.index&&(r>this.sectionStart&&this.emitPartial(this.sectionStart,r),this.sectionStart=this.index+Number(t),this.emitCodePoint(Ts(this.entityResult))),this.state=this.baseState}stateInNumericEntity(t){t===ke.Semi?this.emitNumericEntity(!0):H2(t)?(this.entityResult=this.entityResult*10+(t-ke.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)}stateInHexEntity(t){t===ke.Semi?this.emitNumericEntity(!0):H2(t)?(this.entityResult=this.entityResult*16+(t-ke.Zero),this.entityExcess++):JN(t)?(this.entityResult=this.entityResult*16+((t|32)-ke.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)}allowLegacyEntity(){return!this.xmlMode&&(this.baseState===Z.Text||this.baseState===Z.InSpecialTag)}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===Z.Text||this.state===Z.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===Z.InAttributeValueDq||this.state===Z.InAttributeValueSq||this.state===Z.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 Z.Text:{this.stateText(t);break}case Z.SpecialStartSequence:{this.stateSpecialStartSequence(t);break}case Z.InSpecialTag:{this.stateInSpecialTag(t);break}case Z.CDATASequence:{this.stateCDATASequence(t);break}case Z.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(t);break}case Z.InAttributeName:{this.stateInAttributeName(t);break}case Z.InCommentLike:{this.stateInCommentLike(t);break}case Z.InSpecialComment:{this.stateInSpecialComment(t);break}case Z.BeforeAttributeName:{this.stateBeforeAttributeName(t);break}case Z.InTagName:{this.stateInTagName(t);break}case Z.InClosingTagName:{this.stateInClosingTagName(t);break}case Z.BeforeTagName:{this.stateBeforeTagName(t);break}case Z.AfterAttributeName:{this.stateAfterAttributeName(t);break}case Z.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(t);break}case Z.BeforeAttributeValue:{this.stateBeforeAttributeValue(t);break}case Z.BeforeClosingTagName:{this.stateBeforeClosingTagName(t);break}case Z.AfterClosingTagName:{this.stateAfterClosingTagName(t);break}case Z.BeforeSpecialS:{this.stateBeforeSpecialS(t);break}case Z.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(t);break}case Z.InSelfClosingTag:{this.stateInSelfClosingTag(t);break}case Z.InDeclaration:{this.stateInDeclaration(t);break}case Z.BeforeDeclaration:{this.stateBeforeDeclaration(t);break}case Z.BeforeComment:{this.stateBeforeComment(t);break}case Z.InProcessingInstruction:{this.stateInProcessingInstruction(t);break}case Z.InNamedEntity:{this.stateInNamedEntity(t);break}case Z.BeforeEntity:{this.stateBeforeEntity(t);break}case Z.InHexEntity:{this.stateInHexEntity(t);break}case Z.InNumericEntity:{this.stateInNumericEntity(t);break}default:this.stateBeforeNumericEntity(t)}this.index++}this.cleanup()}finish(){this.state===Z.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){let t=this.buffer.length+this.offset;this.state===Z.InCommentLike?this.currentSequence===xr.CdataEnd?this.cbs.oncdata(this.sectionStart,t,0):this.cbs.oncomment(this.sectionStart,t,0):this.state===Z.InNumericEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===Z.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===Z.InTagName||this.state===Z.BeforeAttributeName||this.state===Z.BeforeAttributeValue||this.state===Z.AfterAttributeName||this.state===Z.InAttributeName||this.state===Z.InAttributeValueSq||this.state===Z.InAttributeValueDq||this.state===Z.InAttributeValueNq||this.state===Z.InClosingTagName||this.cbs.ontext(this.sectionStart,t)}emitPartial(t,r){this.baseState!==Z.Text&&this.baseState!==Z.InSpecialTag?this.cbs.onattribdata(t,r):this.cbs.ontext(t,r)}emitCodePoint(t){this.baseState!==Z.Text&&this.baseState!==Z.InSpecialTag?this.cbs.onattribentity(t):this.cbs.ontextentity(t)}};var qi=new Set(["input","option","optgroup","select","button","datalist","textarea"]),ft=new Set(["p"]),z2=new Set(["thead","tbody"]),F2=new Set(["dd","dt"]),V2=new Set(["rt","rp"]),eA=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",qi],["input",qi],["output",qi],["button",qi],["datalist",qi],["textarea",qi],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",F2],["dt",F2],["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",V2],["rp",V2],["tbody",z2],["tfoot",z2]]),tA=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),j2=new Set(["math","svg"]),W2=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),rA=/\s|\//,Ds=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:Wi)(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,ji(t)),this.startIndex=n}isVoidElement(t){return!this.options.xmlMode&&tA.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&&eA.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),j2.has(t)?this.foreignContext.push(!0):W2.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()),(j2.has(u)||W2.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+=ji(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===ro.Double?'"':t===ro.Single?"'":t===ro.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(rA),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 m=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,m),(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[${m}]]`),(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 Yu(e){for(let t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}var oA=new Map(Yu([[9,"	"],[0,"
"],[22,"!"],[0,"""],[0,"#"],[0,"$"],[0,"%"],[0,"&"],[0,"'"],[0,"("],[0,")"],[0,"*"],[0,"+"],[0,","],[1,"."],[0,"/"],[10,":"],[0,";"],[0,{v:"<",n:8402,o:"<⃒"}],[0,{v:"=",n:8421,o:"=⃥"}],[0,{v:">",n:8402,o:">⃒"}],[0,"?"],[0,"@"],[26,"["],[0,"\"],[0,"]"],[0,"^"],[0,"_"],[0,"`"],[5,{n:106,o:"fj"}],[20,"{"],[0,"|"],[0,"}"],[34," "],[0,"¡"],[0,"¢"],[0,"£"],[0,"¤"],[0,"¥"],[0,"¦"],[0,"§"],[0,"¨"],[0,"©"],[0,"ª"],[0,"«"],[0,"¬"],[0,"­"],[0,"®"],[0,"¯"],[0,"°"],[0,"±"],[0,"²"],[0,"³"],[0,"´"],[0,"µ"],[0,"¶"],[0,"·"],[0,"¸"],[0,"¹"],[0,"º"],[0,"»"],[0,"¼"],[0,"½"],[0,"¾"],[0,"¿"],[0,"À"],[0,"Á"],[0,"Â"],[0,"Ã"],[0,"Ä"],[0,"Å"],[0,"Æ"],[0,"Ç"],[0,"È"],[0,"É"],[0,"Ê"],[0,"Ë"],[0,"Ì"],[0,"Í"],[0,"Î"],[0,"Ï"],[0,"Ð"],[0,"Ñ"],[0,"Ò"],[0,"Ó"],[0,"Ô"],[0,"Õ"],[0,"Ö"],[0,"×"],[0,"Ø"],[0,"Ù"],[0,"Ú"],[0,"Û"],[0,"Ü"],[0,"Ý"],[0,"Þ"],[0,"ß"],[0,"à"],[0,"á"],[0,"â"],[0,"ã"],[0,"ä"],[0,"å"],[0,"æ"],[0,"ç"],[0,"è"],[0,"é"],[0,"ê"],[0,"ë"],[0,"ì"],[0,"í"],[0,"î"],[0,"ï"],[0,"ð"],[0,"ñ"],[0,"ò"],[0,"ó"],[0,"ô"],[0,"õ"],[0,"ö"],[0,"÷"],[0,"ø"],[0,"ù"],[0,"ú"],[0,"û"],[0,"ü"],[0,"ý"],[0,"þ"],[0,"ÿ"],[0,"Ā"],[0,"ā"],[0,"Ă"],[0,"ă"],[0,"Ą"],[0,"ą"],[0,"Ć"],[0,"ć"],[0,"Ĉ"],[0,"ĉ"],[0,"Ċ"],[0,"ċ"],[0,"Č"],[0,"č"],[0,"Ď"],[0,"ď"],[0,"Đ"],[0,"đ"],[0,"Ē"],[0,"ē"],[2,"Ė"],[0,"ė"],[0,"Ę"],[0,"ę"],[0,"Ě"],[0,"ě"],[0,"Ĝ"],[0,"ĝ"],[0,"Ğ"],[0,"ğ"],[0,"Ġ"],[0,"ġ"],[0,"Ģ"],[1,"Ĥ"],[0,"ĥ"],[0,"Ħ"],[0,"ħ"],[0,"Ĩ"],[0,"ĩ"],[0,"Ī"],[0,"ī"],[2,"Į"],[0,"į"],[0,"İ"],[0,"ı"],[0,"IJ"],[0,"ij"],[0,"Ĵ"],[0,"ĵ"],[0,"Ķ"],[0,"ķ"],[0,"ĸ"],[0,"Ĺ"],[0,"ĺ"],[0,"Ļ"],[0,"ļ"],[0,"Ľ"],[0,"ľ"],[0,"Ŀ"],[0,"ŀ"],[0,"Ł"],[0,"ł"],[0,"Ń"],[0,"ń"],[0,"Ņ"],[0,"ņ"],[0,"Ň"],[0,"ň"],[0,"ʼn"],[0,"Ŋ"],[0,"ŋ"],[0,"Ō"],[0,"ō"],[2,"Ő"],[0,"ő"],[0,"Œ"],[0,"œ"],[0,"Ŕ"],[0,"ŕ"],[0,"Ŗ"],[0,"ŗ"],[0,"Ř"],[0,"ř"],[0,"Ś"],[0,"ś"],[0,"Ŝ"],[0,"ŝ"],[0,"Ş"],[0,"ş"],[0,"Š"],[0,"š"],[0,"Ţ"],[0,"ţ"],[0,"Ť"],[0,"ť"],[0,"Ŧ"],[0,"ŧ"],[0,"Ũ"],[0,"ũ"],[0,"Ū"],[0,"ū"],[0,"Ŭ"],[0,"ŭ"],[0,"Ů"],[0,"ů"],[0,"Ű"],[0,"ű"],[0,"Ų"],[0,"ų"],[0,"Ŵ"],[0,"ŵ"],[0,"Ŷ"],[0,"ŷ"],[0,"Ÿ"],[0,"Ź"],[0,"ź"],[0,"Ż"],[0,"ż"],[0,"Ž"],[0,"ž"],[19,"ƒ"],[34,"Ƶ"],[63,"ǵ"],[65,"ȷ"],[142,"ˆ"],[0,"ˇ"],[16,"˘"],[0,"˙"],[0,"˚"],[0,"˛"],[0,"˜"],[0,"˝"],[51,"̑"],[127,"Α"],[0,"Β"],[0,"Γ"],[0,"Δ"],[0,"Ε"],[0,"Ζ"],[0,"Η"],[0,"Θ"],[0,"Ι"],[0,"Κ"],[0,"Λ"],[0,"Μ"],[0,"Ν"],[0,"Ξ"],[0,"Ο"],[0,"Π"],[0,"Ρ"],[1,"Σ"],[0,"Τ"],[0,"Υ"],[0,"Φ"],[0,"Χ"],[0,"Ψ"],[0,"Ω"],[7,"α"],[0,"β"],[0,"γ"],[0,"δ"],[0,"ε"],[0,"ζ"],[0,"η"],[0,"θ"],[0,"ι"],[0,"κ"],[0,"λ"],[0,"μ"],[0,"ν"],[0,"ξ"],[0,"ο"],[0,"π"],[0,"ρ"],[0,"ς"],[0,"σ"],[0,"τ"],[0,"υ"],[0,"φ"],[0,"χ"],[0,"ψ"],[0,"ω"],[7,"ϑ"],[0,"ϒ"],[2,"ϕ"],[0,"ϖ"],[5,"Ϝ"],[0,"ϝ"],[18,"ϰ"],[0,"ϱ"],[3,"ϵ"],[0,"϶"],[10,"Ё"],[0,"Ђ"],[0,"Ѓ"],[0,"Є"],[0,"Ѕ"],[0,"І"],[0,"Ї"],[0,"Ј"],[0,"Љ"],[0,"Њ"],[0,"Ћ"],[0,"Ќ"],[1,"Ў"],[0,"Џ"],[0,"А"],[0,"Б"],[0,"В"],[0,"Г"],[0,"Д"],[0,"Е"],[0,"Ж"],[0,"З"],[0,"И"],[0,"Й"],[0,"К"],[0,"Л"],[0,"М"],[0,"Н"],[0,"О"],[0,"П"],[0,"Р"],[0,"С"],[0,"Т"],[0,"У"],[0,"Ф"],[0,"Х"],[0,"Ц"],[0,"Ч"],[0,"Ш"],[0,"Щ"],[0,"Ъ"],[0,"Ы"],[0,"Ь"],[0,"Э"],[0,"Ю"],[0,"Я"],[0,"а"],[0,"б"],[0,"в"],[0,"г"],[0,"д"],[0,"е"],[0,"ж"],[0,"з"],[0,"и"],[0,"й"],[0,"к"],[0,"л"],[0,"м"],[0,"н"],[0,"о"],[0,"п"],[0,"р"],[0,"с"],[0,"т"],[0,"у"],[0,"ф"],[0,"х"],[0,"ц"],[0,"ч"],[0,"ш"],[0,"щ"],[0,"ъ"],[0,"ы"],[0,"ь"],[0,"э"],[0,"ю"],[0,"я"],[1,"ё"],[0,"ђ"],[0,"ѓ"],[0,"є"],[0,"ѕ"],[0,"і"],[0,"ї"],[0,"ј"],[0,"љ"],[0,"њ"],[0,"ћ"],[0,"ќ"],[1,"ў"],[0,"џ"],[7074," "],[0," "],[0," "],[0," "],[1," "],[0," "],[0," "],[0," "],[0,"​"],[0,"‌"],[0,"‍"],[0,"‎"],[0,"‏"],[0,"‐"],[2,"–"],[0,"—"],[0,"―"],[0,"‖"],[1,"‘"],[0,"’"],[0,"‚"],[1,"“"],[0,"”"],[0,"„"],[1,"†"],[0,"‡"],[0,"•"],[2,"‥"],[0,"…"],[9,"‰"],[0,"‱"],[0,"′"],[0,"″"],[0,"‴"],[0,"‵"],[3,"‹"],[0,"›"],[3,"‾"],[2,"⁁"],[1,"⁃"],[0,"⁄"],[10,"⁏"],[7,"⁗"],[7,{v:" ",n:8202,o:"  "}],[0,"⁠"],[0,"⁡"],[0,"⁢"],[0,"⁣"],[72,"€"],[46,"⃛"],[0,"⃜"],[37,"ℂ"],[2,"℅"],[4,"ℊ"],[0,"ℋ"],[0,"ℌ"],[0,"ℍ"],[0,"ℎ"],[0,"ℏ"],[0,"ℐ"],[0,"ℑ"],[0,"ℒ"],[0,"ℓ"],[1,"ℕ"],[0,"№"],[0,"℗"],[0,"℘"],[0,"ℙ"],[0,"ℚ"],[0,"ℛ"],[0,"ℜ"],[0,"ℝ"],[0,"℞"],[3,"™"],[1,"ℤ"],[2,"℧"],[0,"ℨ"],[0,"℩"],[2,"ℬ"],[0,"ℭ"],[1,"ℯ"],[0,"ℰ"],[0,"ℱ"],[1,"ℳ"],[0,"ℴ"],[0,"ℵ"],[0,"ℶ"],[0,"ℷ"],[0,"ℸ"],[12,"ⅅ"],[0,"ⅆ"],[0,"ⅇ"],[0,"ⅈ"],[10,"⅓"],[0,"⅔"],[0,"⅕"],[0,"⅖"],[0,"⅗"],[0,"⅘"],[0,"⅙"],[0,"⅚"],[0,"⅛"],[0,"⅜"],[0,"⅝"],[0,"⅞"],[49,"←"],[0,"↑"],[0,"→"],[0,"↓"],[0,"↔"],[0,"↕"],[0,"↖"],[0,"↗"],[0,"↘"],[0,"↙"],[0,"↚"],[0,"↛"],[1,{v:"↝",n:824,o:"↝̸"}],[0,"↞"],[0,"↟"],[0,"↠"],[0,"↡"],[0,"↢"],[0,"↣"],[0,"↤"],[0,"↥"],[0,"↦"],[0,"↧"],[1,"↩"],[0,"↪"],[0,"↫"],[0,"↬"],[0,"↭"],[0,"↮"],[1,"↰"],[0,"↱"],[0,"↲"],[0,"↳"],[1,"↵"],[0,"↶"],[0,"↷"],[2,"↺"],[0,"↻"],[0,"↼"],[0,"↽"],[0,"↾"],[0,"↿"],[0,"⇀"],[0,"⇁"],[0,"⇂"],[0,"⇃"],[0,"⇄"],[0,"⇅"],[0,"⇆"],[0,"⇇"],[0,"⇈"],[0,"⇉"],[0,"⇊"],[0,"⇋"],[0,"⇌"],[0,"⇍"],[0,"⇎"],[0,"⇏"],[0,"⇐"],[0,"⇑"],[0,"⇒"],[0,"⇓"],[0,"⇔"],[0,"⇕"],[0,"⇖"],[0,"⇗"],[0,"⇘"],[0,"⇙"],[0,"⇚"],[0,"⇛"],[1,"⇝"],[6,"⇤"],[0,"⇥"],[15,"⇵"],[7,"⇽"],[0,"⇾"],[0,"⇿"],[0,"∀"],[0,"∁"],[0,{v:"∂",n:824,o:"∂̸"}],[0,"∃"],[0,"∄"],[0,"∅"],[1,"∇"],[0,"∈"],[0,"∉"],[1,"∋"],[0,"∌"],[2,"∏"],[0,"∐"],[0,"∑"],[0,"−"],[0,"∓"],[0,"∔"],[1,"∖"],[0,"∗"],[0,"∘"],[1,"√"],[2,"∝"],[0,"∞"],[0,"∟"],[0,{v:"∠",n:8402,o:"∠⃒"}],[0,"∡"],[0,"∢"],[0,"∣"],[0,"∤"],[0,"∥"],[0,"∦"],[0,"∧"],[0,"∨"],[0,{v:"∩",n:65024,o:"∩︀"}],[0,{v:"∪",n:65024,o:"∪︀"}],[0,"∫"],[0,"∬"],[0,"∭"],[0,"∮"],[0,"∯"],[0,"∰"],[0,"∱"],[0,"∲"],[0,"∳"],[0,"∴"],[0,"∵"],[0,"∶"],[0,"∷"],[0,"∸"],[1,"∺"],[0,"∻"],[0,{v:"∼",n:8402,o:"∼⃒"}],[0,{v:"∽",n:817,o:"∽̱"}],[0,{v:"∾",n:819,o:"∾̳"}],[0,"∿"],[0,"≀"],[0,"≁"],[0,{v:"≂",n:824,o:"≂̸"}],[0,"≃"],[0,"≄"],[0,"≅"],[0,"≆"],[0,"≇"],[0,"≈"],[0,"≉"],[0,"≊"],[0,{v:"≋",n:824,o:"≋̸"}],[0,"≌"],[0,{v:"≍",n:8402,o:"≍⃒"}],[0,{v:"≎",n:824,o:"≎̸"}],[0,{v:"≏",n:824,o:"≏̸"}],[0,{v:"≐",n:824,o:"≐̸"}],[0,"≑"],[0,"≒"],[0,"≓"],[0,"≔"],[0,"≕"],[0,"≖"],[0,"≗"],[1,"≙"],[0,"≚"],[1,"≜"],[2,"≟"],[0,"≠"],[0,{v:"≡",n:8421,o:"≡⃥"}],[0,"≢"],[1,{v:"≤",n:8402,o:"≤⃒"}],[0,{v:"≥",n:8402,o:"≥⃒"}],[0,{v:"≦",n:824,o:"≦̸"}],[0,{v:"≧",n:824,o:"≧̸"}],[0,{v:"≨",n:65024,o:"≨︀"}],[0,{v:"≩",n:65024,o:"≩︀"}],[0,{v:"≪",n:new Map(Yu([[824,"≪̸"],[7577,"≪⃒"]]))}],[0,{v:"≫",n:new Map(Yu([[824,"≫̸"],[7577,"≫⃒"]]))}],[0,"≬"],[0,"≭"],[0,"≮"],[0,"≯"],[0,"≰"],[0,"≱"],[0,"≲"],[0,"≳"],[0,"≴"],[0,"≵"],[0,"≶"],[0,"≷"],[0,"≸"],[0,"≹"],[0,"≺"],[0,"≻"],[0,"≼"],[0,"≽"],[0,"≾"],[0,{v:"≿",n:824,o:"≿̸"}],[0,"⊀"],[0,"⊁"],[0,{v:"⊂",n:8402,o:"⊂⃒"}],[0,{v:"⊃",n:8402,o:"⊃⃒"}],[0,"⊄"],[0,"⊅"],[0,"⊆"],[0,"⊇"],[0,"⊈"],[0,"⊉"],[0,{v:"⊊",n:65024,o:"⊊︀"}],[0,{v:"⊋",n:65024,o:"⊋︀"}],[1,"⊍"],[0,"⊎"],[0,{v:"⊏",n:824,o:"⊏̸"}],[0,{v:"⊐",n:824,o:"⊐̸"}],[0,"⊑"],[0,"⊒"],[0,{v:"⊓",n:65024,o:"⊓︀"}],[0,{v:"⊔",n:65024,o:"⊔︀"}],[0,"⊕"],[0,"⊖"],[0,"⊗"],[0,"⊘"],[0,"⊙"],[0,"⊚"],[0,"⊛"],[1,"⊝"],[0,"⊞"],[0,"⊟"],[0,"⊠"],[0,"⊡"],[0,"⊢"],[0,"⊣"],[0,"⊤"],[0,"⊥"],[1,"⊧"],[0,"⊨"],[0,"⊩"],[0,"⊪"],[0,"⊫"],[0,"⊬"],[0,"⊭"],[0,"⊮"],[0,"⊯"],[0,"⊰"],[1,"⊲"],[0,"⊳"],[0,{v:"⊴",n:8402,o:"⊴⃒"}],[0,{v:"⊵",n:8402,o:"⊵⃒"}],[0,"⊶"],[0,"⊷"],[0,"⊸"],[0,"⊹"],[0,"⊺"],[0,"⊻"],[1,"⊽"],[0,"⊾"],[0,"⊿"],[0,"⋀"],[0,"⋁"],[0,"⋂"],[0,"⋃"],[0,"⋄"],[0,"⋅"],[0,"⋆"],[0,"⋇"],[0,"⋈"],[0,"⋉"],[0,"⋊"],[0,"⋋"],[0,"⋌"],[0,"⋍"],[0,"⋎"],[0,"⋏"],[0,"⋐"],[0,"⋑"],[0,"⋒"],[0,"⋓"],[0,"⋔"],[0,"⋕"],[0,"⋖"],[0,"⋗"],[0,{v:"⋘",n:824,o:"⋘̸"}],[0,{v:"⋙",n:824,o:"⋙̸"}],[0,{v:"⋚",n:65024,o:"⋚︀"}],[0,{v:"⋛",n:65024,o:"⋛︀"}],[2,"⋞"],[0,"⋟"],[0,"⋠"],[0,"⋡"],[0,"⋢"],[0,"⋣"],[2,"⋦"],[0,"⋧"],[0,"⋨"],[0,"⋩"],[0,"⋪"],[0,"⋫"],[0,"⋬"],[0,"⋭"],[0,"⋮"],[0,"⋯"],[0,"⋰"],[0,"⋱"],[0,"⋲"],[0,"⋳"],[0,"⋴"],[0,{v:"⋵",n:824,o:"⋵̸"}],[0,"⋶"],[0,"⋷"],[1,{v:"⋹",n:824,o:"⋹̸"}],[0,"⋺"],[0,"⋻"],[0,"⋼"],[0,"⋽"],[0,"⋾"],[6,"⌅"],[0,"⌆"],[1,"⌈"],[0,"⌉"],[0,"⌊"],[0,"⌋"],[0,"⌌"],[0,"⌍"],[0,"⌎"],[0,"⌏"],[0,"⌐"],[1,"⌒"],[0,"⌓"],[1,"⌕"],[0,"⌖"],[5,"⌜"],[0,"⌝"],[0,"⌞"],[0,"⌟"],[2,"⌢"],[0,"⌣"],[9,"⌭"],[0,"⌮"],[7,"⌶"],[6,"⌽"],[1,"⌿"],[60,"⍼"],[51,"⎰"],[0,"⎱"],[2,"⎴"],[0,"⎵"],[0,"⎶"],[37,"⏜"],[0,"⏝"],[0,"⏞"],[0,"⏟"],[2,"⏢"],[4,"⏧"],[59,"␣"],[164,"Ⓢ"],[55,"─"],[1,"│"],[9,"┌"],[3,"┐"],[3,"└"],[3,"┘"],[3,"├"],[7,"┤"],[7,"┬"],[7,"┴"],[7,"┼"],[19,"═"],[0,"║"],[0,"╒"],[0,"╓"],[0,"╔"],[0,"╕"],[0,"╖"],[0,"╗"],[0,"╘"],[0,"╙"],[0,"╚"],[0,"╛"],[0,"╜"],[0,"╝"],[0,"╞"],[0,"╟"],[0,"╠"],[0,"╡"],[0,"╢"],[0,"╣"],[0,"╤"],[0,"╥"],[0,"╦"],[0,"╧"],[0,"╨"],[0,"╩"],[0,"╪"],[0,"╫"],[0,"╬"],[19,"▀"],[3,"▄"],[3,"█"],[8,"░"],[0,"▒"],[0,"▓"],[13,"□"],[8,"▪"],[0,"▫"],[1,"▭"],[0,"▮"],[2,"▱"],[1,"△"],[0,"▴"],[0,"▵"],[2,"▸"],[0,"▹"],[3,"▽"],[0,"▾"],[0,"▿"],[2,"◂"],[0,"◃"],[6,"◊"],[0,"○"],[32,"◬"],[2,"◯"],[8,"◸"],[0,"◹"],[0,"◺"],[0,"◻"],[0,"◼"],[8,"★"],[0,"☆"],[7,"☎"],[49,"♀"],[1,"♂"],[29,"♠"],[2,"♣"],[1,"♥"],[0,"♦"],[3,"♪"],[2,"♭"],[0,"♮"],[0,"♯"],[163,"✓"],[3,"✗"],[8,"✠"],[21,"✶"],[33,"❘"],[25,"❲"],[0,"❳"],[84,"⟈"],[0,"⟉"],[28,"⟦"],[0,"⟧"],[0,"⟨"],[0,"⟩"],[0,"⟪"],[0,"⟫"],[0,"⟬"],[0,"⟭"],[7,"⟵"],[0,"⟶"],[0,"⟷"],[0,"⟸"],[0,"⟹"],[0,"⟺"],[1,"⟼"],[2,"⟿"],[258,"⤂"],[0,"⤃"],[0,"⤄"],[0,"⤅"],[6,"⤌"],[0,"⤍"],[0,"⤎"],[0,"⤏"],[0,"⤐"],[0,"⤑"],[0,"⤒"],[0,"⤓"],[2,"⤖"],[2,"⤙"],[0,"⤚"],[0,"⤛"],[0,"⤜"],[0,"⤝"],[0,"⤞"],[0,"⤟"],[0,"⤠"],[2,"⤣"],[0,"⤤"],[0,"⤥"],[0,"⤦"],[0,"⤧"],[0,"⤨"],[0,"⤩"],[0,"⤪"],[8,{v:"⤳",n:824,o:"⤳̸"}],[1,"⤵"],[0,"⤶"],[0,"⤷"],[0,"⤸"],[0,"⤹"],[2,"⤼"],[0,"⤽"],[7,"⥅"],[2,"⥈"],[0,"⥉"],[0,"⥊"],[0,"⥋"],[2,"⥎"],[0,"⥏"],[0,"⥐"],[0,"⥑"],[0,"⥒"],[0,"⥓"],[0,"⥔"],[0,"⥕"],[0,"⥖"],[0,"⥗"],[0,"⥘"],[0,"⥙"],[0,"⥚"],[0,"⥛"],[0,"⥜"],[0,"⥝"],[0,"⥞"],[0,"⥟"],[0,"⥠"],[0,"⥡"],[0,"⥢"],[0,"⥣"],[0,"⥤"],[0,"⥥"],[0,"⥦"],[0,"⥧"],[0,"⥨"],[0,"⥩"],[0,"⥪"],[0,"⥫"],[0,"⥬"],[0,"⥭"],[0,"⥮"],[0,"⥯"],[0,"⥰"],[0,"⥱"],[0,"⥲"],[0,"⥳"],[0,"⥴"],[0,"⥵"],[0,"⥶"],[1,"⥸"],[0,"⥹"],[1,"⥻"],[0,"⥼"],[0,"⥽"],[0,"⥾"],[0,"⥿"],[5,"⦅"],[0,"⦆"],[4,"⦋"],[0,"⦌"],[0,"⦍"],[0,"⦎"],[0,"⦏"],[0,"⦐"],[0,"⦑"],[0,"⦒"],[0,"⦓"],[0,"⦔"],[0,"⦕"],[0,"⦖"],[3,"⦚"],[1,"⦜"],[0,"⦝"],[6,"⦤"],[0,"⦥"],[0,"⦦"],[0,"⦧"],[0,"⦨"],[0,"⦩"],[0,"⦪"],[0,"⦫"],[0,"⦬"],[0,"⦭"],[0,"⦮"],[0,"⦯"],[0,"⦰"],[0,"⦱"],[0,"⦲"],[0,"⦳"],[0,"⦴"],[0,"⦵"],[0,"⦶"],[0,"⦷"],[1,"⦹"],[1,"⦻"],[0,"⦼"],[1,"⦾"],[0,"⦿"],[0,"⧀"],[0,"⧁"],[0,"⧂"],[0,"⧃"],[0,"⧄"],[0,"⧅"],[3,"⧉"],[3,"⧍"],[0,"⧎"],[0,{v:"⧏",n:824,o:"⧏̸"}],[0,{v:"⧐",n:824,o:"⧐̸"}],[11,"⧜"],[0,"⧝"],[0,"⧞"],[4,"⧣"],[0,"⧤"],[0,"⧥"],[5,"⧫"],[8,"⧴"],[1,"⧶"],[9,"⨀"],[0,"⨁"],[0,"⨂"],[1,"⨄"],[1,"⨆"],[5,"⨌"],[0,"⨍"],[2,"⨐"],[0,"⨑"],[0,"⨒"],[0,"⨓"],[0,"⨔"],[0,"⨕"],[0,"⨖"],[0,"⨗"],[10,"⨢"],[0,"⨣"],[0,"⨤"],[0,"⨥"],[0,"⨦"],[0,"⨧"],[1,"⨩"],[0,"⨪"],[2,"⨭"],[0,"⨮"],[0,"⨯"],[0,"⨰"],[0,"⨱"],[1,"⨳"],[0,"⨴"],[0,"⨵"],[0,"⨶"],[0,"⨷"],[0,"⨸"],[0,"⨹"],[0,"⨺"],[0,"⨻"],[0,"⨼"],[2,"⨿"],[0,"⩀"],[1,"⩂"],[0,"⩃"],[0,"⩄"],[0,"⩅"],[0,"⩆"],[0,"⩇"],[0,"⩈"],[0,"⩉"],[0,"⩊"],[0,"⩋"],[0,"⩌"],[0,"⩍"],[2,"⩐"],[2,"⩓"],[0,"⩔"],[0,"⩕"],[0,"⩖"],[0,"⩗"],[0,"⩘"],[1,"⩚"],[0,"⩛"],[0,"⩜"],[0,"⩝"],[1,"⩟"],[6,"⩦"],[3,"⩪"],[2,{v:"⩭",n:824,o:"⩭̸"}],[0,"⩮"],[0,"⩯"],[0,{v:"⩰",n:824,o:"⩰̸"}],[0,"⩱"],[0,"⩲"],[0,"⩳"],[0,"⩴"],[0,"⩵"],[1,"⩷"],[0,"⩸"],[0,"⩹"],[0,"⩺"],[0,"⩻"],[0,"⩼"],[0,{v:"⩽",n:824,o:"⩽̸"}],[0,{v:"⩾",n:824,o:"⩾̸"}],[0,"⩿"],[0,"⪀"],[0,"⪁"],[0,"⪂"],[0,"⪃"],[0,"⪄"],[0,"⪅"],[0,"⪆"],[0,"⪇"],[0,"⪈"],[0,"⪉"],[0,"⪊"],[0,"⪋"],[0,"⪌"],[0,"⪍"],[0,"⪎"],[0,"⪏"],[0,"⪐"],[0,"⪑"],[0,"⪒"],[0,"⪓"],[0,"⪔"],[0,"⪕"],[0,"⪖"],[0,"⪗"],[0,"⪘"],[0,"⪙"],[0,"⪚"],[2,"⪝"],[0,"⪞"],[0,"⪟"],[0,"⪠"],[0,{v:"⪡",n:824,o:"⪡̸"}],[0,{v:"⪢",n:824,o:"⪢̸"}],[1,"⪤"],[0,"⪥"],[0,"⪦"],[0,"⪧"],[0,"⪨"],[0,"⪩"],[0,"⪪"],[0,"⪫"],[0,{v:"⪬",n:65024,o:"⪬︀"}],[0,{v:"⪭",n:65024,o:"⪭︀"}],[0,"⪮"],[0,{v:"⪯",n:824,o:"⪯̸"}],[0,{v:"⪰",n:824,o:"⪰̸"}],[2,"⪳"],[0,"⪴"],[0,"⪵"],[0,"⪶"],[0,"⪷"],[0,"⪸"],[0,"⪹"],[0,"⪺"],[0,"⪻"],[0,"⪼"],[0,"⪽"],[0,"⪾"],[0,"⪿"],[0,"⫀"],[0,"⫁"],[0,"⫂"],[0,"⫃"],[0,"⫄"],[0,{v:"⫅",n:824,o:"⫅̸"}],[0,{v:"⫆",n:824,o:"⫆̸"}],[0,"⫇"],[0,"⫈"],[2,{v:"⫋",n:65024,o:"⫋︀"}],[0,{v:"⫌",n:65024,o:"⫌︀"}],[2,"⫏"],[0,"⫐"],[0,"⫑"],[0,"⫒"],[0,"⫓"],[0,"⫔"],[0,"⫕"],[0,"⫖"],[0,"⫗"],[0,"⫘"],[0,"⫙"],[0,"⫚"],[0,"⫛"],[8,"⫤"],[1,"⫦"],[0,"⫧"],[0,"⫨"],[0,"⫩"],[1,"⫫"],[0,"⫬"],[0,"⫭"],[0,"⫮"],[0,"⫯"],[0,"⫰"],[0,"⫱"],[0,"⫲"],[0,"⫳"],[9,{v:"⫽",n:8421,o:"⫽⃥"}],[44343,{n:new Map(Yu([[56476,"𝒜"],[1,"𝒞"],[0,"𝒟"],[2,"𝒢"],[2,"𝒥"],[0,"𝒦"],[2,"𝒩"],[0,"𝒪"],[0,"𝒫"],[0,"𝒬"],[1,"𝒮"],[0,"𝒯"],[0,"𝒰"],[0,"𝒱"],[0,"𝒲"],[0,"𝒳"],[0,"𝒴"],[0,"𝒵"],[0,"𝒶"],[0,"𝒷"],[0,"𝒸"],[0,"𝒹"],[1,"𝒻"],[1,"𝒽"],[0,"𝒾"],[0,"𝒿"],[0,"𝓀"],[0,"𝓁"],[0,"𝓂"],[0,"𝓃"],[1,"𝓅"],[0,"𝓆"],[0,"𝓇"],[0,"𝓈"],[0,"𝓉"],[0,"𝓊"],[0,"𝓋"],[0,"𝓌"],[0,"𝓍"],[0,"𝓎"],[0,"𝓏"],[52,"𝔄"],[0,"𝔅"],[1,"𝔇"],[0,"𝔈"],[0,"𝔉"],[0,"𝔊"],[2,"𝔍"],[0,"𝔎"],[0,"𝔏"],[0,"𝔐"],[0,"𝔑"],[0,"𝔒"],[0,"𝔓"],[0,"𝔔"],[1,"𝔖"],[0,"𝔗"],[0,"𝔘"],[0,"𝔙"],[0,"𝔚"],[0,"𝔛"],[0,"𝔜"],[1,"𝔞"],[0,"𝔟"],[0,"𝔠"],[0,"𝔡"],[0,"𝔢"],[0,"𝔣"],[0,"𝔤"],[0,"𝔥"],[0,"𝔦"],[0,"𝔧"],[0,"𝔨"],[0,"𝔩"],[0,"𝔪"],[0,"𝔫"],[0,"𝔬"],[0,"𝔭"],[0,"𝔮"],[0,"𝔯"],[0,"𝔰"],[0,"𝔱"],[0,"𝔲"],[0,"𝔳"],[0,"𝔴"],[0,"𝔵"],[0,"𝔶"],[0,"𝔷"],[0,"𝔸"],[0,"𝔹"],[1,"𝔻"],[0,"𝔼"],[0,"𝔽"],[0,"𝔾"],[1,"𝕀"],[0,"𝕁"],[0,"𝕂"],[0,"𝕃"],[0,"𝕄"],[1,"𝕆"],[3,"𝕊"],[0,"𝕋"],[0,"𝕌"],[0,"𝕍"],[0,"𝕎"],[0,"𝕏"],[0,"𝕐"],[1,"𝕒"],[0,"𝕓"],[0,"𝕔"],[0,"𝕕"],[0,"𝕖"],[0,"𝕗"],[0,"𝕘"],[0,"𝕙"],[0,"𝕚"],[0,"𝕛"],[0,"𝕜"],[0,"𝕝"],[0,"𝕞"],[0,"𝕟"],[0,"𝕠"],[0,"𝕡"],[0,"𝕢"],[0,"𝕣"],[0,"𝕤"],[0,"𝕥"],[0,"𝕦"],[0,"𝕧"],[0,"𝕨"],[0,"𝕩"],[0,"𝕪"],[0,"𝕫"]]))}],[8906,"ff"],[0,"fi"],[0,"fl"],[0,"ffi"],[0,"ffl"]]));var Qm=/["&'<>$\x80-\uFFFF]/g,q2=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),U2=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 Ns(e){let t="",r=0,o;for(;(o=Qm.exec(e))!==null;){let n=o.index,i=e.charCodeAt(n),a=q2.get(i);a!==void 0?(t+=e.substring(r,n)+a,r=n+1):(t+=`${e.substring(r,n)}&#x${U2(e,n).toString(16)};`,r=Qm.lastIndex+=+((i&64512)===55296))}return t+e.substr(r)}function Jm(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 K2=Jm(/[&<>'"]/g,q2),Zu=Jm(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),Qu=Jm(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));var G2;(function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"})(G2||(G2={}));var X2;(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"})(X2||(X2={}));var Q2=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])),J2=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 iA=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function aA(e){return e.replace(/"/g,""")}function sA(e,t){var r;if(!e)return;let o=((r=t.encodeEntities)!==null&&r!==void 0?r:t.decodeEntities)===!1?aA:t.xmlMode||t.encodeEntities!=="utf8"?Ns:Zu;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=J2.get(n))!==null&&a!==void 0?a:n),!t.emptyAttrs&&!t.xmlMode&&s===""?n:`${n}="${o(s)}"`}).join(" ")}var ew=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function As(e,t={}){let r="length"in e?e:[e],o="";for(let n=0;n<r.length;n++)o+=lA(r[n],t);return o}function lA(e,t){switch(e.type){case o2:return As(e.children,t);case d2:case i2:return fA(e);case a2:return hA(e);case c2:return mA(e);case s2:case l2:case u2:return dA(e,t);case n2:return pA(e,t)}}var uA=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),cA=new Set(["svg","math"]);function dA(e,t){var r;t.xmlMode==="foreign"&&(e.name=(r=Q2.get(e.name))!==null&&r!==void 0?r:e.name,e.parent&&uA.has(e.parent.name)&&(t={...t,xmlMode:!1})),!t.xmlMode&&cA.has(e.name)&&(t={...t,xmlMode:"foreign"});let o=`<${e.name}`,n=sA(e.attribs,t);return n&&(o+=` ${n}`),e.children.length===0&&(t.xmlMode?t.selfClosingTags!==!1:t.selfClosingTags&&ew.has(e.name))?(t.xmlMode||(o+=" "),o+="/>"):(o+=">",e.children.length>0&&(o+=As(e.children,t)),(t.xmlMode||!ew.has(e.name))&&(o+=`</${e.name}>`)),o}function fA(e){return`<${e.data}>`}function pA(e,t){var r;let o=e.data||"";return((r=t.encodeEntities)!==null&&r!==void 0?r:t.decodeEntities)!==!1&&!(!t.xmlMode&&e.parent&&iA.has(e.parent.name))&&(o=t.xmlMode||t.encodeEntities!=="utf8"?Ns(o):Qu(o)),o}function mA(e){return`<![CDATA[${e.children[0].data}]]>`}function hA(e){return`<!--${e.data}-->`}var tw;(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"})(tw||(tw={}));function rw(e,t){let r=new Mi(void 0,t);return new Ds(r,t).end(e),r.root}var lh=yh(aw(),1);function uh(e,t,r=()=>{}){if(e===void 0){let o=function(...n){return t(o,...n)};return o}return e>=0?function(...o){return t(uh(e-1,t,r),...o)}:r}function dw(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 IA(e,t){let r=e.length;for(;r>0&&e[r-1]===t;)--r;return r<e.length?e.substring(0,r):e}function LA(e){return e.replace(/[\s\S]/g,t=>"\\u"+t.charCodeAt().toString(16).padStart(4,"0"))}function fw(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,lh.default)(n,r.get(i),{arrayMerge:OA}):n)}return[...r.values()].reverse()}var OA=(e,t,r)=>[...t];function Ki(e,t){for(let r of t){if(!e)return;e=e[r]}return e}function sw(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 rh=["I","X","C","M"],lw=["V","L","D"];function uw(e){return[...e+""].map(t=>+t).reverse().map((t,r)=>t%5<4?(t<5?"":lw[r])+rh[r].repeat(t%5):rh[r]+(t<5?lw[r]:rh[r+1])).reverse().join("")}var tc=class{constructor(t,r=void 0){this.lines=[],this.nextLineWords=[],this.maxLineLength=r||t.wordwrap||Number.MAX_VALUE,this.nextLineAvailableChars=this.maxLineLength,this.wrapCharacters=Ki(t,["longWordSplit","wrapCharacters"])||[],this.forceWrapOnLimit=Ki(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}},ti=class{constructor(t=null){this.next=t}getRoot(){return this.next?this.next:this}},jr=class extends ti{constructor(t,r=null,o=1,n=void 0){super(r),this.leadingLineBreaks=o,this.inlineTextBuilder=new tc(t,n),this.rawText="",this.stashedLineBreaks=0,this.isPre=r&&r.isPre,this.isNoWrap=r&&r.isNoWrap}},rc=class extends jr{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}},zo=class extends jr{constructor(t,r=null,{leadingLineBreaks:o=1,maxLineLength:n=void 0,prefix:i=""}={}){super(t,r,o,n),this.prefix=i}},oc=class extends ti{constructor(t=null){super(t),this.rows=[],this.isPre=t&&t.isPre,this.isNoWrap=t&&t.isNoWrap}},nc=class extends ti{constructor(t=null){super(t),this.cells=[],this.isPre=t&&t.isPre,this.isNoWrap=t&&t.isNoWrap}},Fo=class extends ti{constructor(t,r=null,o=void 0){super(r),this.inlineTextBuilder=new tc(t,o),this.rawText="",this.stashedLineBreaks=0,this.isPre=r&&r.isPre,this.isNoWrap=r&&r.isNoWrap}},oh=class extends ti{constructor(t=null,r){super(t),this.transform=r}};function PA(e){return[...e].map(t=>"\\u"+t.charCodeAt(0).toString(16).padStart(4,"0")).join("")}var nh=class{constructor(t){this.whitespaceChars=t.preserveNewlines?t.whitespaceCharacters.replace(/\n/g,""):t.whitespaceCharacters;let r=PA(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}},ih=class{constructor(t,r,o=void 0){this.options=t,this.picker=r,this.metadata=o,this.whitespaceProcessor=new nh(t),this._stackItem=new jr(t),this._wordTransformer=void 0}pushWordTransform(t){this._wordTransformer=new oh(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=>pw(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 jr||this._stackItem instanceof zo||this._stackItem instanceof Fo)&&(this._stackItem.isPre?this._stackItem.rawText+=`
|
|
`:this._stackItem.inlineTextBuilder.startNewLine())}addWordBreakOpportunity(){(this._stackItem instanceof jr||this._stackItem instanceof zo||this._stackItem instanceof Fo)&&(this._stackItem.inlineTextBuilder.wordBreakOpportunity=!0)}addInline(t,{noWordTransform:r=!1}={}){if(this._stackItem instanceof jr||this._stackItem instanceof zo||this._stackItem instanceof Fo){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 jr||this._stackItem instanceof zo||this._stackItem instanceof Fo)&&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 jr(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(ei(o)):ei(o);ec(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 rc(this.options,this._stackItem,{interRowLineBreaks:o,leadingLineBreaks:n,maxLineLength:this._stackItem.inlineTextBuilder.maxLineLength,maxPrefixLength:t,prefixAlign:r})}openListItem({prefix:t=""}={}){if(!(this._stackItem instanceof rc))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 zo(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))+ei(t).replace(/\n/g,n);ec(r,a,t.leadingLineBreaks,Math.max(t.stashedLineBreaks,r.interRowLineBreaks))}closeList({trailingLineBreaks:t=2}={}){let r=this._popStackItem(),o=ei(r);o&&ec(this._stackItem,o,r.leadingLineBreaks,t)}openTable(){this._stackItem=new oc(this._stackItem)}openTableRow(){if(!(this._stackItem instanceof oc))throw new Error("Can't add a table row to something that is not a table! Check the formatter.");this._stackItem=new nc(this._stackItem)}openTableCell({maxColumnWidth:t=void 0}={}){if(!(this._stackItem instanceof nc))throw new Error("Can't add a table cell to something that is not a table row! Check the formatter.");this._stackItem=new Fo(this.options,this._stackItem,t)}closeTableCell({colspan:t=1,rowspan:r=1}={}){let o=this._popStackItem(),n=dw(ei(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&&ec(this._stackItem,i,r,o)}toString(){return ei(this._stackItem.getRoot())}};function ei(e){if(!(e instanceof jr||e instanceof zo||e instanceof Fo))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 ec(e,t,r,o){if(!(e instanceof jr||e instanceof zo||e instanceof Fo))throw new Error("Only blocks, list items and table cells can contain text.");let n=ei(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 pw(e,t){return t?pw(t.transform(e),t.next):e}function RA(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 _s(e.selectors.map(a=>[a.selector,a])).build(Gm);typeof e.encodeCharacters!="function"&&(e.encodeCharacters=HA(e.encodeCharacters));let o=new _s(e.baseElements.selectors.map((a,s)=>[a,s+1])).build(Gm);function n(a){return MA(a,e,o)}let i=uh(e.limits.maxDepth,$A,function(a,s){s.addInline(e.limits.ellipsis||"")});return function(a,s=void 0){return BA(a,s,e,r,n,i)}}function BA(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=rw(e,{decodeEntities:r.decodeEntities}),l=n(s.children),u=new ih(r,o,t);return i(l,u),u.toString()}function MA(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 uh(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 $A(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 HA(e){if(!e||Object.keys(e).length===0)return;let t=Object.entries(e).filter(([,i])=>i!==!1),r=new RegExp(t.map(([i])=>`(${LA([...i][0])})`).join("|"),"g"),o=t.map(([,i])=>i),n=(i,...a)=>o[a.findIndex(s=>s)];return i=>i.replace(r,n)}function zA(e,t,r,o){}function FA(e,t,r,o){r.addLiteral(o.string||"")}function VA(e,t,r,o){r.openBlock({leadingLineBreaks:o.leadingLineBreaks||2}),r.addLiteral(o.string||""),r.closeBlock({trailingLineBreaks:o.trailingLineBreaks||2})}function jA(e,t,r,o){t(e.children,r)}function WA(e,t,r,o){r.openBlock({leadingLineBreaks:o.leadingLineBreaks||2}),t(e.children,r),r.closeBlock({trailingLineBreaks:o.trailingLineBreaks||2})}function mw(e){let t=e.attribs&&e.attribs.length?" "+Object.entries(e.attribs).map(([r,o])=>o===""?r:`${r}=${o.replace(/"/g,""")}`).join(" "):"";return`<${e.name}${t}>`}function hw(e){return`</${e.name}>`}function qA(e,t,r,o){r.startNoWrap(),r.addLiteral(mw(e)),r.stopNoWrap(),t(e.children,r),r.startNoWrap(),r.addLiteral(hw(e)),r.stopNoWrap()}function UA(e,t,r,o){r.openBlock({leadingLineBreaks:o.leadingLineBreaks||2}),r.startNoWrap(),r.addLiteral(mw(e)),r.stopNoWrap(),t(e.children,r),r.startNoWrap(),r.addLiteral(hw(e)),r.stopNoWrap(),r.closeBlock({trailingLineBreaks:o.trailingLineBreaks||2})}function KA(e,t,r,o){r.startNoWrap(),r.addLiteral(As(e,{decodeEntities:r.options.decodeEntities})),r.stopNoWrap()}function GA(e,t,r,o){r.openBlock({leadingLineBreaks:o.leadingLineBreaks||2}),r.startNoWrap(),r.addLiteral(As(e,{decodeEntities:r.options.decodeEntities})),r.stopNoWrap(),r.closeBlock({trailingLineBreaks:o.trailingLineBreaks||2})}function XA(e,t,r,o){r.addLiteral(o.prefix||""),t(e.children,r),r.addLiteral(o.suffix||"")}var YA=Object.freeze({__proto__:null,block:WA,blockHtml:GA,blockString:VA,blockTag:UA,inline:jA,inlineHtml:KA,inlineString:FA,inlineSurround:XA,inlineTag:qA,skip:zA});function ic(e,t){return e[t]||(e[t]=[]),e[t]}function ZA(e,t=0){for(;e[t];)t++;return t}function QA(e,t){for(let r=0;r<t;r++){let o=ic(e,r);for(let n=0;n<r;n++){let i=ic(e,n);if(o[n]||i[r]){let a=o[n];o[n]=i[r],i[r]=a}}}}function JA(e,t,r,o){for(let n=0;n<e.rowspan;n++){let i=ic(t,r+n);for(let a=0;a<e.colspan;a++)i[o+a]=e}}function ah(e,t){return e[t]===void 0&&(e[t]=t===0?0:1+ah(e,t-1)),e[t]}function cw(e,t,r,o){e[t+r]=Math.max(ah(e,t+r),ah(e,t)+o)}function eI(e,t,r){let o=[],n=0,i=e.length,a=[0];for(let u=0;u<i;u++){let c=ic(o,u),d=e[u],p=0;for(let f=0;f<d.length;f++){let m=d[f];p=ZA(c,p),JA(m,o,u,p),p+=m.colspan,m.lines=m.text.split(`
|
|
`);let b=m.lines.length;cw(a,u,m.rowspan,b+t)}n=c.length>n?c.length:n}QA(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 m=0;m<d.lines.length;m++){let b=d.lines[m],C=a[c]+m;s[C]=(s[C]||"").padEnd(l[u])+b,f=b.length>f?b.length:f}cw(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 tI(e,t,r,o){r.addLineBreak()}function rI(e,t,r,o){r.addWordBreakOpportunity()}function oI(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 nI(e,t,r,o){r.openBlock({leadingLineBreaks:o.leadingLineBreaks||2}),t(e.children,r),r.closeBlock({trailingLineBreaks:o.trailingLineBreaks||2})}function iI(e,t,r,o){r.openBlock({isPre:!0,leadingLineBreaks:o.leadingLineBreaks||2}),t(e.children,r),r.closeBlock({trailingLineBreaks:o.trailingLineBreaks||2})}function aI(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 sI(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?dw(n,`
|
|
`):n).split(`
|
|
`).map(i=>"> "+i).join(`
|
|
`)})}function sh(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 gw(e,t,r,o,n){let i=typeof t=="function"?t(e,o,n):e;return i[0]==="/"&&r?IA(r,"/")+i:i}function lI(e,t,r,o){let n=e.attribs||{},i=n.alt?n.alt:"",a=n.src?gw(n.src,o.pathRewrite,o.baseUrl,r.metadata,e):"",s=a?i?i+" "+sh(a,o.linkBrackets):sh(a,o.linkBrackets):i;r.addInline(s,{noWordTransform:!0})}function uI(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=gw(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?" "+sh(i,o.linkBrackets):i,{noWordTransform:!0})}}function bw(e,t,r,o,n){let i=Ki(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 bw(e,t,r,o,()=>n)}function dI(e,t,r,o){let n=Number(e.attribs.start||"1"),i=fI(e.attribs.type);return bw(e,t,r,o,()=>" "+i(n++)+". ")}function fI(e="1"){switch(e){case"a":return t=>sw(t,"a");case"A":return t=>sw(t,"A");case"i":return t=>uw(t).toLowerCase();case"I":return t=>uw(t);case"1":default:return t=>t.toString()}}function pI(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 mI(e,t){if(t===!0)return!0;if(!e)return!1;let{classes:r,ids:o}=pI(t),n=(e.class||"").split(" "),i=(e.id||"").split(" ");return n.some(a=>r.includes(a))||i.some(a=>o.includes(a))}function hI(e,t,r,o){return mI(e.attribs,r.options.tables)?xw(e,t,r,o):gI(e,t,r,o)}function gI(e,t,r,o){r.openBlock({leadingLineBreaks:o.leadingLineBreaks}),t(e.children,r),r.closeBlock({trailingLineBreaks:o.trailingLineBreaks})}function xw(e,t,r,o){r.openTable(),e.children.forEach(i),r.closeTable({tableToString:a=>eI(a,o.rowSpacing??0,o.colSpacing??3),leadingLineBreaks:o.leadingLineBreaks,trailingLineBreaks:o.trailingLineBreaks});function n(a){let s=+Ki(a,["attribs","colspan"])||1,l=+Ki(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 bI=Object.freeze({__proto__:null,anchor:uI,blockquote:sI,dataTable:xw,heading:aI,horizontalLine:oI,image:lI,lineBreak:tI,orderedList:dI,paragraph:nI,pre:iI,table:hI,unorderedList:cI,wbr:rI}),xI={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},vI=(e,t,r)=>[...e,...t],vw=(e,t,r)=>[...t],yI=(e,t,r)=>e.some(o=>typeof o=="object")?vI(e,t):vw(e,t);function ch(e={}){return e=(0,lh.default)(xI,e,{arrayMerge:vw,customMerge:t=>t==="selectors"?yI:void 0}),e.formatters=Object.assign({},YA,bI,e.formatters),e.selectors=fw(e.selectors,t=>t.selector),wI(e),RA(e)}function wI(e){if(e.tags){let r=Object.entries(e.tags).map(([o,n])=>({...n,selector:o||"*"}));e.selectors.push(...r),e.selectors=fw(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"&&Ki(r,["options","noLinkBrackets"])&&t(r,["options","linkBrackets"],!1)}function yw(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}var ww=ch({wordwrap:!1}),Cw=ch({selectors:[{selector:"mjx-container",format:"origin"}],formatters:{origin:(e,t,r,o)=>{r.openBlock(),r.addInline(e.attribs.origin),r.closeBlock()}}});var ac=fe({__name:"Outline",setup(e,{expose:t}){X0(k=>({"61117f8c-biDi":wr(m),"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=so({common:{primaryColor:"",primaryColorHover:""},Slider:{handleSize:"10px",fillColor:"",fillColorHover:"",dotBorderActive:""},Tree:{nodeTextColor:"var(--nav-item-color)"}}),o=so({common:{primaryColor:"",primaryColorHover:""},Slider:{handleSize:"10px",fillColor:"",fillColorHover:"",dotBorderActive:""},Tree:{nodeTextColor:"var(--nav-item-color)"}}),n=V(()=>L.dark?Tu:null),i=V(()=>L.dark?{color:"var(--icon-color)"}:{color:"var(--icon-color)"});function a(){let k=document.body.createEl("button",{cls:"mod-cta",attr:{style:"width: 0px; height: 0px;"}}),ie=getComputedStyle(k,null).getPropertyValue("background-color");return k.remove(),ie}let s=X(a());$t(()=>{if(L.patchColor){r.common.primaryColor=r.common.primaryColorHover=r.Slider.fillColor=r.Slider.fillColorHover=L.primaryColorLight,r.Slider.dotBorderActive=`2px solid ${L.primaryColorLight}`,o.common.primaryColor=o.common.primaryColorHover=o.Slider.fillColor=o.Slider.fillColorHover=L.primaryColorDark,o.Slider.dotBorderActive=`2px solid ${L.primaryColorDark}`;return}if(L.cssChange===L.cssChange){let k=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=k,r.Slider.dotBorderActive=o.Slider.dotBorderActive=`2px solid ${k}`,s.value=k}});let l=X(""),u=X(""),c=X(""),d=X(""),p=X("");function f(k){return`${parseInt(k.slice(1,3),16)},${parseInt(k.slice(3,5),16)},${parseInt(k.slice(5,7),16)}`}$t(()=>{if(L.rainbowLine){l.value=`rgba(${f(L.rainbowColor1)}, 0.6)`,u.value=`rgba(${f(L.rainbowColor2)}, 0.6)`,c.value=`rgba(${f(L.rainbowColor3)}, 0.6)`,d.value=`rgba(${f(L.rainbowColor4)}, 0.6)`,p.value=`rgba(${f(L.rainbowColor5)}, 0.6)`;return}L.cssChange===L.cssChange&&(l.value=u.value=c.value=d.value=p.value="var(--nav-indentation-guide-color)")});let m=X("");$t(()=>{m.value=L.textDirectionDecideBy==="text"?"plaintext":"isolate"});function b(){return v(fs,{size:"12px"},{default:()=>v(wm)})}function C({option:k}){if(!k.icon)return null;let ie=null;switch(k.icon){default:ie=v(km,{id:k.icon})}return v(fs,{size:"1.2em"},{default:()=>ie})}let g=()=>{j.value=[]};ut(()=>{addEventListener("quiet-outline-reset",Ne),addEventListener("click",g)}),Hn(()=>{removeEventListener("quiet-outline-reset",Ne),removeEventListener("click",g)});let T=_e("plugin"),H=_e("container"),w=(k,ie)=>"item-"+k.level+"-"+ie,S=k=>parseInt(k.split("-")[2]);function M(k){E(k),N(k)}L.onPosChange=M;function x(){return T.navigator.getDefaultLevel()}function E(k){if(T.settings.auto_expand_ext!=="disable"){let ie=L.headers[k],de=k<L.headers.length-1&&L.headers[k].level<L.headers[k+1].level?[w(ie,k)]:[],be=ie.level,Oe=k;for(;Oe-- >0&&(L.headers[Oe].level<be&&(de.push(w(L.headers[Oe],Oe)),be=L.headers[Oe].level),be!==1););if(T.settings.auto_expand_ext==="expand-and-collapse-rest-to-setting")Ve.value=vt(Xe.value);else if(T.settings.auto_expand_ext==="expand-and-collapse-rest-to-default"){let Ge=x();Ve.value=vt(Ge)}rt(de,"add")}}let P=X(0);function N(k){let ie=D(k),de=ie.find(be=>!Ve.value.contains(w(L.headers[be],be)));de=de===void 0?ie[ie.length-1]:de,P.value=de,setTimeout(()=>{if(!T.settings.auto_scroll_into_view)return;let be=H.querySelector(`#no-${de}`);be&&be.scrollIntoView({block:"center",behavior:"smooth"})},100)}let j=X([]),R=V(()=>k=>{let ie=parseInt(k.option.key.split("-")[1]),de=parseInt(k.option.key.split("-")[2]),be=k.option.label||"",Oe=P.value===de?"located":"";return{class:`level-${ie} ${Oe}`,id:`no-${de}`,"aria-label":L.ellipsis?k.option.label:"","data-tooltip-position":L.labelDirection,raw:be,onClick:Ge=>{Ge.target.matchParent(".n-tree-node-content")&&ne(k.option)},onContextmenu(Ge){j.value=[k.option.key],T.navigator.onRightClick(Ge,{node:k.option,no:de,level:ie,raw:be},()=>{j.value=[]})}}}),$,oe,he="";function ce(k){let de=k.target.closest(".n-tree-node");de&&($=de,oe=k,addEventListener("keydown",$e))}function se(k){removeEventListener("keydown",$e)}let me=k=>T.settings.show_popover_key==="ctrlKey"&&k.ctrlKey||T.settings.show_popover_key==="altKey"&&k.altKey||T.settings.show_popover_key==="metaKey"&&k.metaKey;function De(k){me(k)&&T.app.workspace.trigger("hover-link",{event:oe,source:"preview",targetEl:$,hoverParent:{hoverPopover:null},linktext:"#"+$?.getAttribute("raw"),sourcePath:T.navigator.getPath()})}let $e=Fe(De,100);function Fe(k,ie){let de=!0,be;return function(...Oe){let Ge=this,_=$?.getAttribute("raw")||"";if(_!==he||de){k.apply(Ge,Oe),de=!1,he=_;return}be&&clearTimeout(be),be=setTimeout(()=>{de=!0},ie)}}ut(()=>{H.addEventListener("mouseover",ce),H.addEventListener("mouseout",se)}),Hn(()=>{H.removeEventListener("mouseover",ce),H.removeEventListener("mouseout",se),removeEventListener("keydown",$e)});let Xe=X(x()),Ve=X([]);Ze(Xe.value);function rt(k,ie="replace"){if(ie==="replace")Ve.value=k;else if(ie==="remove")Ve.value=Ve.value.filter(de=>!k.includes(de));else{let de=new Set([...Ve.value,...k]);Ve.value=[...de]}St()}function St(){let k=T.navigator.getPath();k&&(T.heading_states[k]=Qe(Ve.value))}function Ye(k,ie){rt(k)}function Ze(k){Xe.value=k;let ie=vt(k);rt(ie)}t2(window,"quiet-outline-levelchange",k=>{typeof k.detail.level=="number"?Ze(k.detail.level):k.detail.level==="inc"?Ze(Math.clamp(Xe.value+1,0,5)):k.detail.level==="dec"&&Ze(Math.clamp(Xe.value-1,0,5))});function vt(k){return L.headers.map((de,be)=>({level:de.level,no:be})).filter((de,be,Oe)=>be===Oe.length-1||Oe[be].level>=Oe[be+1].level?!1:Oe[be].level<=k).map(de=>"item-"+de.level+"-"+de.no)}function ze(k,ie){let de=k.split("-");return`item-${de[1]}-${parseInt(de[2])+ie}`}ct(()=>Qe(L.modifyKeys),({offsetModifies:k,removes:ie,adds:de,modifies:be})=>{let Oe=Ve.value.filter(Ge=>{let _=S(Ge),te=!ie.some(tt=>tt.begin<=_&&_<tt.begin+tt.length),Ae=!be.some(tt=>tt.oldBegin===_&&tt.levelChangeType==="parent2child");return te&&Ae}).map(Ge=>{let _=S(Ge),te=be.find(q=>q.oldBegin===_),Ae=k.findLastIndex(q=>q.begin<=_),tt=Ae===-1?Ge:ze(Ge,k[Ae].offset),I=S(tt);return te?`item-${L.headers[te.newBegin].level}-${I}`:tt});be.filter(Ge=>Ge.levelChangeType==="child2parent").forEach(Ge=>{Oe.push(`item-${L.headers[Ge.newBegin].level}-${Ge.newBegin}`)}),de.forEach(Ge=>{let _=O(Ge.begin);(Ge.begin>=L.headers.length-1||L.headers[Ge.begin].level>=L.headers[Ge.begin+1].level)&&_.pop(),_.forEach(te=>{Oe.push(`item-${L.headers[te].level}-${te}`)})}),rt([...new Set(Oe)])});let pt=X(0);ct(()=>L.leafChange,()=>{let k=y.value;y.value="",Xe.value=x();let ie=T.heading_states[T.navigator.getPath()];T.settings.remember_state&&ie?rt(ie):Ze(Xe.value),T.settings.keep_search_input&&Xt(()=>{y.value=k})});let It={0:"",1:"",2:"",3:"",4:"",5:""};function zt(k){let ie=L.headers.filter(de=>de.level===k).length;return k>0?`H${k}: ${ie}`:"No expand"}let h=V(()=>{if(L.markdown)return ge}),y=X("");function B(k,ie){let de=/.*/;try{de=RegExp(k,"i")}catch{}finally{return de.test(F(ie.label))}}function G(k,ie){return F(ie.label).toLowerCase().contains(k.toLowerCase())}let U=V(()=>L.regexSearch?B:G),ae=V(()=>L.headers.filter(k=>{let ie={label:k.heading};return U.value(y.value,ie)}).length);async function ne(k){let ie=k.key.split("-"),de=parseInt(ie[2]);T.navigator.jumpWithoutFocus(de)}let z=V(()=>Q(L.headers));function Q(k){return Y(k)}function Y(k){let ie={children:[]},de=[{node:ie,level:-1}];return k.forEach((be,Oe)=>{let Ge={label:be.heading,key:"item-"+be.level+"-"+Oe,line:be.position.start.line,icon:be.icon,no:Oe};for(;be.level<=de.last().level;)de.pop();let _=de.last().node;_.children===void 0&&(_.children=[]),Ge.parent=_,_.children.push(Ge),de.push({node:Ge,level:be.level})}),ie.children?.forEach(be=>be.parent=void 0),ie.children}function D(k){let ie=[];function de(be){if(!be||be.length===0)return;let Oe=0;for(let Ge=be.length-1;Ge>=0;Ge--){let _=S(be[Ge].key);if(_<=k){ie.push(_),Oe=Ge;break}}de(be[Oe].children)}return de(z.value),ie}function O(k){let ie=[],de=L.headers[k].level+1;for(let be=k;be>=0;be--)L.headers[be].level<de&&(ie.push(be),de--);return ie.reverse()}Pe.use({extensions:[Gy,Xy,Zy,Qy,Yy]}),Pe.use({walkTokens:Jy}),Pe.use({tokenizer:e2});function F(k,ie=!1){let de=Pe.parse(k||"").trim(),be=0,Oe=de.match(/<mjx-container.*?>.*?<\/mjx-container>/g)||[];return Oe=Oe.map(Ge=>yw(Cw(Ge))),de=de.replace(/<mjx-container.*?>.*?<\/mjx-container>/g,()=>"<math></math>"),de=de.replace(/<math.*?>.*?<\/math>/g,()=>Oe[be++]),ww(de)}function le(k){let ie=Pe.parse(k||"").trim(),de=0,be=ie.match(/<mjx-container.*?>.*?<\/mjx-container>/g)||[];return ie=ie.replace(/<mjx-container.*?>.*?<\/mjx-container>/g,()=>"<math></math>"),ie=(0,kw.sanitizeHTMLToDom)(`<div>${ie}</div>`).children[0].innerHTML,ie=ie.replace(/<math.*?>.*?<\/math>/g,()=>be[de++]),ie}function ge({option:k}){let ie=le(k.label);return v("div",{innerHTML:ie})}async function Le(){T.navigator.toBottom()}function Ne(){y.value="",Xe.value=x(),Ze(Xe.value)}ut(()=>{H.addEventListener("dragstart",k=>{if(!T.navigator.canDrop)return;let ie=k.target;if(!ie||!ie.hasClass("n-tree-node"))return;let de=parseInt(ie.id.slice(3)),be=L.headers[de];k.dataTransfer?.setData("text/plain",be.heading),T.app.dragManager.onDragStart(k,{source:"outline",type:"heading",icon:"heading-glyph",title:be.heading,heading:be,file:T.navigator.view.file})})});async function je({node:k,dragNode:ie,dropPosition:de}){if(!T.navigator.canDrop)return;let be=W(ie),Oe=W(k);await T.navigator.handleDrop(be,Oe,de)}function W(k){return typeof k!="string"&&(k=k.key),parseInt(k.split("-")[2])}function ue(k){return w(L.headers[k],k)}function Ee(k){return k===L.headers.length-1||L.headers[k+1].level<=L.headers[k].level}function Ke(){let k=D(P.value),ie=k.findIndex(be=>!Ve.value.contains(ue(be))),de=ie===-1?P.value:k[ie];j.value=[ue(de)]}function st(k){let ie=j.value[0];!ie||Ee(W(ie))||(k?rt([ie],"add"):rt([ie],"remove"))}function et(){let k=j.value[0];if(!k)return;let ie=W(k);H.querySelector(`.n-tree .n-tree-node-wrapper:has(#no-${ie})`)?.scrollIntoView({behavior:"smooth",block:"center"})}function lt(k){let ie=j.value[0];if(!ie)return;let de=W(ie),be=H.querySelector(`.n-tree .n-tree-node-wrapper:has(#no-${de})`);if(!be){let Oe=H.querySelector(".n-tree .n-tree-node-wrapper")?.firstElementChild;if(!Oe)return;Je(Oe);return}if(k==="up"){let Oe=be.previousSibling?.firstChild;Oe&&Je(Oe)}else if(k==="down"){let Oe=be.nextSibling?.firstChild;Oe&&Je(Oe)}else if(k==="bottom"){let Oe=be.parentElement?.lastElementChild?.firstElementChild;Oe&&Je(Oe)}else if(k==="top"){let Oe=be.parentElement?.firstElementChild?.firstElementChild;Oe&&Je(Oe)}}function Je(k){let ie=k.id.match(/no-(\d+)/);if(!ie)return;let de=parseInt(ie[1]);j.value=[ue(de)],k.scrollIntoView({behavior:"smooth",block:"nearest"})}function Ft(){y.value=""}function lr(){let k=j.value[0];if(k)return W(k)}t({setExpand:st,center:et,move:lt,selectVisible:Ke,resetPattern:Ft,currentSelected:lr});let Vo={lightThemeConfig:r,darkThemeConfig:o,get theme(){return n},set theme(k){n=k},get iconColor(){return i},set iconColor(k){i=k},getDefaultColor:a,get locatedColor(){return s},set locatedColor(k){s=k},get rainbowColor1(){return l},set rainbowColor1(k){l=k},get rainbowColor2(){return u},set rainbowColor2(k){u=k},get rainbowColor3(){return c},set rainbowColor3(k){c=k},get rainbowColor4(){return d},set rainbowColor4(k){d=k},get rainbowColor5(){return p},set rainbowColor5(k){p=k},hexToRGB:f,get biDi(){return m},set biDi(k){m=k},renderSwitcherIcon:b,renderPrefix:C,resetSelected:g,plugin:T,container:H,get toKey(){return w},set toKey(k){w=k},get fromKey(){return S},set fromKey(k){S=k},onPosChange:M,getDefaultLevel:x,autoExpand:E,get locateIdx(){return P},set locateIdx(k){P=k},resetLocated:N,get selectedKeys(){return j},set selectedKeys(k){j=k},nodeProps:R,get triggerNode(){return $},set triggerNode(k){$=k},get mouseEvent(){return oe},set mouseEvent(k){oe=k},get prevShowed(){return he},set prevShowed(k){he=k},onMouseEnter:ce,onMouseLeave:se,funcKeyPressed:me,_openPopover:De,openPopover:$e,customDebounce:Fe,get level(){return Xe},set level(k){Xe=k},get expanded(){return Ve},set expanded(k){Ve=k},modifyExpandKeys:rt,syncExpandKeys:St,expand:Ye,switchLevel:Ze,filterKeysLessThanEqual:vt,offset:ze,get update_tree(){return pt},set update_tree(k){pt=k},marks:It,formatTooltip:zt,get renderMethod(){return h},set renderMethod(k){h=k},get pattern(){return y},set pattern(k){y=k},regexFilter:B,simpleFilter:G,get filter(){return U},set filter(k){U=k},get matchCount(){return ae},set matchCount(k){ae=k},jump:ne,get data2(){return z},set data2(k){z=k},makeTree:Q,arrToTree:Y,getPath:D,getPathFromArr:O,mdToHtmlTextContent:F,mdToHtml:le,renderLabel:ge,toBottom:Le,reset:Ne,onDrop:je,getNo:W,idxToKey:ue,isLeaf:Ee,selectVisible:Ke,setExpand:st,center:et,move:lt,moveToHeadingEl:Je,resetPattern:Ft,currentSelected:lr,get NTree(){return hm},get NButton(){return Lf},get NInput(){return Sf},get NSlider(){return fm},get NConfigProvider(){return Kf},get SettingsBackupRestoreRound(){return vm},get ArrowCircleDownRound(){return bm},get Icon(){return fs},get store(){return L}};return Object.defineProperty(Vo,"__isScriptSetup",{enumerable:!1,value:!0}),Vo}});var CI={id:"container"},kI={key:0,class:"function-bar"},SI={key:2};function Sw(e,t,r,o,n,i){return nr(),Lr("div",CI,[yt(o.NConfigProvider,{theme:o.theme,"theme-overrides":o.theme===null?o.lightThemeConfig:o.darkThemeConfig},{default:$n(()=>[o.store.searchSupport?(nr(),Lr("div",kI,[yt(o.NButton,{size:"small",circle:"",onClick:o.toBottom,"aria-label":"To Bottom"},{icon:$n(()=>[yt(o.Icon,null,{default:$n(()=>[yt(o.ArrowCircleDownRound,{style:jo(o.iconColor)},null,8,["style"])]),_:1})]),_:1}),yt(o.NButton,{size:"small",circle:"",onClick:o.reset,"aria-label":"Reset"},{icon:$n(()=>[yt(o.Icon,null,{default:$n(()=>[yt(o.SettingsBackupRestoreRound,{style:jo(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"])])):pl("v-if",!0),o.store.levelSwitch?(nr(),ha(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"])):pl("v-if",!0),o.pattern?(nr(),Lr("code",SI,Cc(o.matchCount)+" result(s): ",1)):pl("v-if",!0),(nr(),ha(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:En({ellipsis:o.store.ellipsis}),draggable:o.store.dragModify,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"])])}ac.render=Sw;ac.__file="src/ui/Outline.vue";var Ew=ac;var yn="quiet-outline",sc=class extends Gi.ItemView{vueApp;vueInstance;plugin;scopes;pendingKey;constructor(t,r){super(t),this.plugin=r,this.setupScopes()}getViewType(){return yn}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=og(Ew),this.vueApp.provide("plugin",this.plugin),this.vueApp.provide("container",r),this.vueInstance=this.vueApp.mount(r)}setupScopes(){let t=new Gi.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 Gi.Scope(this.app.scope);r.register([],"Escape",()=>this.vueInstance.resetPattern()),r.register([],"Enter",()=>this.focusOn("tree"));let o=new Gi.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 _w=require("obsidian");var oo=class extends _w.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 Ls(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){}toBottom(){}async jumpWithoutFocus(t){this.jump(t)}},Ls=class extends oo{getId(){return"dummy"}async jump(t){}async getHeaders(){return[]}async setHeaders(){L.headers=[]}async updateHeaders(){}};var uc=require("obsidian");var Tw=require("@codemirror/view"),dh=class{constructor(t){}update(t){t.selectionSet&&document.dispatchEvent(new CustomEvent("quiet-outline-cursorchange",{detail:{docChanged:t.docChanged}}))}destroy(){}},Dw=Tw.ViewPlugin.fromClass(dh);function EI(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=_I(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 _I(e,t,r,o){let n=Nw(e[r],t,o),i=Nw(t[o],e,r),a=TI(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 Nw(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 TI(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 Os(e,t){let r=EI(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 fh(e,t){return await e.metadataCache.computeMetadataAsync(new TextEncoder().encode(t).buffer)}async function Iw(e,t){let r=await fh(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 Lw(e,t,r,o){let[n,i]=Aw(e,t),[a,s]=Aw(e,r),l=structuredClone(i);switch(o){case"before":a.content.children.splice(a.content.children.indexOf(s),0,l),lc(l,s.headingLevel-i.headingLevel);break;case"after":a.content.children.splice(a.content.children.indexOf(s)+1,0,l),lc(l,s.headingLevel-i.headingLevel);break;case"inside":s.content.children.push(l),lc(l,s.headingLevel-i.headingLevel+1);break}n.content.children.splice(n.content.children.indexOf(i),1)}function Aw(e,t){let r=Ow(e,e,t);if(!r)throw new Error(`section ${t} not found`);return r}function Ow(e,t,r){if(e.id===r)return[t,e];for(let o of e.content.children){let n=Ow(o,e,r);if(n)return n}}function DI(e){return e.preContent+e.children.map(ph).join("")}function ph(e){let t="#".repeat(e.headingLevel)+" "+e.heading,r=DI(e.content);return e.id<0?r:`${t}
|
|
${r}`}function lc(e,t){e.headingLevel+=t,e.content.children.forEach(r=>{lc(r,t)})}function mh(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();mh(a,n.subMenu)});break;case"separator":o.addSeparator();break}}t.forEach(o=>{r(e,o)})}function Ps(e,t){return{type:"normal",title:e,fn:t}}function Pw(e,t){return{type:"parent",title:e,subMenu:t}}var Rw={"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","Remember States":"\u8BB0\u5FC6\u5C55\u5F00\u72B6\u6001","Remember expanded/collapsed state of headings of opened notes":"\u8BB0\u5FC6\u5DF2\u6253\u5F00\u7B14\u8BB0\u7684\u6807\u9898\u5C55\u5F00\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",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","Vimlize Canvas":"Vim Canvas","Add vim-like keymap for canvas":"\u7ED9 Canvas \u6DFB\u52A0 Vim \u98CE\u683C\u7684\u5FEB\u6377\u952E"};var hh={"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","Remember States":"Remember States","Remember expanded/collapsed state of headings of opened notes":"Remember expanded/collapsed state of headings of opened notes","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",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","Vimlize Canvas":"Vimlize Canvas","Add vim-like keymap for canvas":"Add vim-like keymap for canvas"};var Bw={"Settings for Quiet Outline.":"Quiet Outline \u7684\u8A2D\u5B9A\u9801\u9762","Render Markdown":"\u6E32\u67D3markdown\u5143\u7D20","Render heading string as markdown format.":"\u4EE5markdown\u683C\u5F0F\u6E32\u67D3\u6A19\u984C\u6587\u5B57","Search Support":"\u958B\u555F\u641C\u7D22","Add a searching area on the top":"\u5728\u9802\u90E8\u65B0\u589E\u4E00\u500B\u641C\u7D22\u6846","Level Switch":"\u5C64\u7D1A\u5207\u63DB","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.":"\u6253\u958B\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\u7D22\u7684\u6A19\u984C","Hide irrelevant headings when searching":"\u641C\u7D22\u6642\uFF0C\u96B1\u85CF\u672A\u547D\u4E2D\u7684\u6A19\u984C","Regex Search":"\u6B63\u5247\u641C\u7D22","Search headings using regular expression":"\u652F\u63F4\u4F7F\u7528\u6B63\u5247\u904B\u7B97\u5F0F\u4F86\u641C\u7D22","Auto Expand":"\u81EA\u52D5\u5C55\u958B","Auto expand and collapse headings when scrolling and cursor position change":"\u7576\u6372\u52D5\u9801\u9762\u6216\u5149\u6A19\u6539\u8B8A\u6642\uFF0C\u81EA\u52D5\u8DDF\u96A8\u76EE\u524D\u6240\u5728\u6A19\u984C\u4E26\u5C55\u958B",Ellipsis:"\u7701\u7565\u9577\u6A19\u984C","Keep one line per heading":"\u4FDD\u6301\u6A19\u984C\u53EA\u6709\u4E00\u884C\uFF0C\u7701\u7565\u591A\u9918\u90E8\u5206"};var NI={en:hh,zh:Rw,"zh-TW":Bw},AI=window.localStorage.getItem("language"),Mw=NI[AI||"en"];function Be(e){return Mw&&Mw[e]||hh[e]}var Nr,wn=class extends oo{canDrop=!0;constructor(t,r){super(t,r),Nr=t}getId(){return"markdown"}async getHeaders(){return this.plugin.app.metadataCache.getFileCache(this.view.file)?.headings||[]}async setHeaders(){let t=await this.getHeaders();L.headers=t}async updateHeaders(){let t=await this.getHeaders();L.modifyKeys=Os(L.headers,t),L.headers=t}async jump(t){let r=L.headers[t].position.start.line,n={line:r,cursor:{from:{line:r,ch:0},to:{line:r,ch:0}}};this.plugin.jumping=!0,L.onPosChange(t),setTimeout(()=>{this.view.setEphemeralState(n)})}async jumpWithoutFocus(t){let o={line:L.headers[t].position.start.line};this.plugin.jumping=!0,L.onPosChange(t),setTimeout(()=>{this.view.setEphemeralState(o)})}async install(){this.plugin.registerEditorExtension([Dw])}async onload(){this.registerDomEvent(document,"quiet-outline-cursorchange",II),this.registerDomEvent(this.view.contentEl,"scroll",PI,!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(Nr.settings.expand_level)}getPath(){return this.view.file.path}async handleDrop(t,r,o){let n=await Iw(this.view.data,this.view.app);Lw(n,t,r,o),await Nr.app.vault.modify(this.view.file,ph(n))}onRightClick(t,r,o){let n=new uc.Menu().setNoIcon();mh(n,[Pw(Be("Copy"),[Ps(Be("Heading"),async()=>{await navigator.clipboard.writeText(r.raw)}),Ps(Be("Heading and siblings headings"),async()=>{let{no:i}=r,a=this.plugin.stringifyHeaders().map(u=>u.slice(L.headers[i].level-1)),s=Ky(i,L.headers),l=a.filter((u,c)=>s.has(c));await navigator.clipboard.writeText(l.join(`
|
|
`))}),Ps(Be("Heading and children headings"),async()=>{let{no:i,level:a}=r,s=this.plugin.stringifyHeaders();s=s.map((u,c)=>u.slice(L.headers[i].level-1));let l=[s[i]];for(let u=i+1;u<L.headers.length&&!(L.headers[u].level<=a);u++)l.push(s[u]);await navigator.clipboard.writeText(l.join(`
|
|
`))}),Ps(Be("Heading and Content"),async()=>{L.headers[0].position.start.line;let{no:i,level:a}=r,s=i+1;for(;s<L.headers.length&&!(L.headers[s].level<=a);s++);let l=this.view.data.slice(L.headers[i].position.start.offset,L.headers[s]?.position.start.offset||this.view.data.length);await navigator.clipboard.writeText(l)})])]),n.onHide(o||(()=>{})),n.showAtMouseEvent(t)}};function II(e){if(!(!Nr.allow_cursor_change||Nr.jumping||e?.detail.docChanged)&&Nr.settings.locate_by_cursor){Nr.block_scroll();let t=$w(!1,!0),r=Hw(t);if(r===void 0)return;L.onPosChange(r)}}function $w(e,t){let o=Nr.navigator.view;return Nr.settings.locate_by_cursor&&!e?t?o.editor.getCursor("from").line:Math.ceil(o.previewMode.getScroll()):t?LI(o.editor.cm):OI(o)}function LI(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 OI(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 Hw(e){let t=null,r=L.headers.length;for(;--r>=0;)if(L.headers[r].position.start.line<=e){t=L.headers[r];break}if(t)return r}var PI=(0,uc.debounce)(RI,200,!0);function RI(e){if(!Nr.allow_scroll)return;if(Nr.jumping){Nr.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=Nr.navigator.view.getMode()==="source",o=$w(!0,r),n=Hw(o);n!==void 0&&L.onPosChange(n)}var jw=require("obsidian");function zw(e,t){let r=Object.keys(t).map(o=>BI(e,o,t[o]));return r.length===1?r[0]:function(){r.forEach(o=>o())}}function BI(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 fc=class extends oo{constructor(t,r){super(t,r)}async onload(){this.plugin.settings.vimlize_canvas&&VI(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(),L.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(),L.refreshTree();return}if(n.unknownData.type==="text"||n.text){let i=n.child;await t.updateNav("embed-markdown-text",i),await t.refresh_outline(),L.refreshTree();return}await t.updateNav("dummy",null),await t.refresh_outline(),L.refreshTree()}))}async jump(t){let o=this.view.canvas.nodes.get(L.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(L.headers[t].id);o!==void 0&&this.view.canvas.zoomToBbox(o.bbox)}async setHeaders(){L.headers=await this.getHeaders()}async getHeaders(){let t=this.view.canvas.data.nodes;return t?MI(t):[]}async updateHeaders(){await this.setHeaders()}getPath(){return this.view.file.path}getId(){return"canvas"}patchCanvas(t){let r=this.plugin;r.register(zw(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 MI(e){let t=e.slice().sort((n,i)=>-HI(n,i)),r=[];for(let n=0;n<t.length;n++)qw(r,t[n]);let o=[];return Ww(r,1,(n,i)=>{o.push({level:i,heading:zI(n),id:n.id,icon:$I(n),position:{start:{line:0,col:0,offset:0},end:{line:0,col:0,offset:0}}})}),o}function $I(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 Fw=e=>e.height*e.width;function HI(e,t){return Fw(e)-Fw(t)}var gh={};function zI(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":{gh[e.url]?t=gh[e.url]:(t=e.url,(0,jw.request)(e.url).then(r=>{gh[e.url]=/<title>(.*)<\/title>/.exec(r)?.[1]||""}).catch(()=>{}));break}case"group":{t=e.label||"Unnamed Group";break}}return t}function Ww(e,t,r){for(let o=0;o<e.length;o++)r(e[o].node,t),Ww(e[o].children,t+1,r)}function qw(e,t){let r=!1;for(let o=0;o<e.length;o++)e[o].node.type==="group"&&FI(t,e[o].node)&&(r=!0,qw(e[o].children,t));r||e.push({node:t,children:[]})}function FI(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 VI(e){if(e.__vimed)return;e.scope?.register([],"Escape",r=>{Cn(r)||(r.preventDefault(),e.canvas.deselectAll())}),e.scope?.register([],"J",r=>{Cn(r)||(r.preventDefault(),cc(e.canvas,"down"))}),e.scope?.register([],"K",r=>{Cn(r)||(r.preventDefault(),cc(e.canvas,"up"))}),e.scope?.register([],"H",r=>{Cn(r)||(r.preventDefault(),cc(e.canvas,"left"))}),e.scope?.register([],"L",r=>{Cn(r)||(r.preventDefault(),cc(e.canvas,"right"))}),e.scope?.register([],"I",r=>{if(Cn(r))return;let o=Vw(e.canvas);o&&(r.preventDefault(),o.startEditing())});let t=null;e.scope?.register([],"Z",r=>{if(!Cn(r)){if(r.preventDefault(),t==="Z"){let o=Vw(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(!Cn(r)&&(r.preventDefault(),t==="Z")){t=null,e.canvas.zoomToFit();return}}),e.__vimed=!0}function Cn(e){let t=e.targetNode;return t?.instanceOf(HTMLElement)&&t.contentEditable==="true"}function Vw(e){let t=[...e.selection];return t.length!==1||e.edges.has(t[0].id)?null:t[0]}function cc(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=>dc(u.bbox,n,"x"));i=l.length>0?l.sort((u,c)=>c.bbox.maxY-u.bbox.maxY):s.sort((u,c)=>kn(u.bbox,n)-kn(c.bbox,n));break}case"down":{let s=i.filter(u=>u.bbox.minY>n.maxY),l=s.filter(u=>dc(u.bbox,n,"x"));i=l.length>0?l.sort((u,c)=>u.bbox.minY-c.bbox.minY):s.sort((u,c)=>kn(u.bbox,n)-kn(c.bbox,n));break}case"left":{let s=i.filter(u=>u.bbox.maxX<n.minX),l=s.filter(u=>dc(u.bbox,n,"y"));i=l.length>0?l.sort((u,c)=>c.bbox.maxX-u.bbox.maxX):s.sort((u,c)=>kn(u.bbox,n)-kn(c.bbox,n));break}case"right":{let s=i.filter(u=>u.bbox.minX>n.maxX),l=s.filter(u=>dc(u.bbox,n,"y"));i=l.length>0?l.sort((u,c)=>u.bbox.minX-c.bbox.minX):s.sort((u,c)=>kn(u.bbox,n)-kn(c.bbox,n));break}}let a=i[0];a&&(e.selectOnly(a),e.panIntoView(a.bbox))}function dc(e,t,r){return r==="x"?e.minX<t.maxX&&e.maxX>t.minX:e.minY<t.maxY&&e.maxY>t.minY}function kn(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 pc=class extends wn{getId(){return"kanban"}canDrop=!1;async install(){wn._installed||(await super.install(),wn._installed=!0)}async jump(t){document.querySelectorAll('.workspace-leaf[style=""] .kanban-plugin__lane-wrapper')[t]?.scrollIntoView({block:"center",inline:"center",behavior:"smooth"})}};var mc=class extends oo{constructor(t,r){super(t,r)}getId(){return"embed-markdown-file"}async jump(t){let r=L.headers[t].position.start.line;this.plugin.jumping=!0,L.onPosChange(t),setTimeout(()=>{gc(this.view,{line:r,focus:!0})})}async jumpWithoutFocus(t){let r=L.headers[t].position.start.line;this.plugin.jumping=!0,L.onPosChange(t),setTimeout(()=>{gc(this.view,{line:r})})}async getHeaders(){return this.plugin.app.metadataCache.getFileCache(this.view.file)?.headings||[]}async setHeaders(){let t=await this.getHeaders();L.headers=t}async updateHeaders(){let t=await this.getHeaders();L.modifyKeys=Os(L.headers,t),L.headers=t}},hc=class extends oo{constructor(t,r){super(t,r)}getId(){return"embed-markdown-text"}async jump(t){let r=L.headers[t].position.start.line;gc(this.view,{line:r,focus:!0})}async jumpWithoutFocus(t){let r=L.headers[t].position.start.line;gc(this.view,{line:r})}async getHeaders(){let{headings:t}=await fh(this.plugin.app,this.view.text);return t||[]}async setHeaders(){L.headers=await this.getHeaders()}async updateHeaders(){let t=await this.getHeaders();L.modifyKeys=Os(L.headers,t),L.headers=t}};function gc(e,t){e.getMode()==="source"?(jI(e.editMode.editor,t.line),t.focus&&e.editMode.editor.focus()):(WI(e.previewMode.renderer,t.line),e.previewMode.containerEl.tabIndex=-1,t.focus&&e.previewMode.containerEl.focus())}function jI(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 WI(e,t){e.applyScroll(t,{highlight:!0,center:!0})}var bc={dummy:Ls,markdown:wn,kanban:pc,canvas:fc,"embed-markdown-file":mc,"embed-markdown-text":hc};function bh(e,t,r){let o=-1;return()=>{e(),window.clearTimeout(o),o=window.setTimeout(r,t)}}var Tt=require("obsidian");var Uw={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",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",remember_state:!0,keep_search_input:!1,export_format:"{title}",lang_direction_decide_by:"system",auto_scroll_into_view:!0,vimlize_canvas:!0},xc=class extends Tt.PluginSettingTab{plugin;constructor(t,r){super(t,r),this.plugin=r}display(){let{containerEl:t}=this;t.empty(),t.createEl("h2",{text:Be("Settings for Quiet Outline.")}),new Tt.Setting(t).setName(Be("Set Primary Color")).addToggle(r=>r.setTooltip(Be("Patch default color")).setValue(this.plugin.settings.patch_color).onChange(async o=>{this.plugin.settings.patch_color=o,L.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,L.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,L.primaryColorDark=o,this.plugin.saveSettings()})),new Tt.Setting(t).setName(Be("Set Rainbow Line Color")).addToggle(r=>r.setTooltip(Be("Patch default color")).setValue(this.plugin.settings.rainbow_line).onChange(async o=>{this.plugin.settings.rainbow_line=o,L.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,L.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,L.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,L.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,L.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,L.rainbowColor5=o,this.plugin.saveSettings()})),new Tt.Setting(t).setName(Be("Render Markdown")).setDesc(Be("Render heading string as markdown format.")).addToggle(r=>r.setValue(this.plugin.settings.markdown).onChange(async o=>{this.plugin.settings.markdown=o,L.markdown=o,await this.plugin.saveSettings()})),new Tt.Setting(t).setName(Be("Ellipsis")).setDesc(Be("Keep one line per heading")).addToggle(r=>r.setValue(this.plugin.settings.ellipsis).onChange(async o=>{this.plugin.settings.ellipsis=o,L.ellipsis=o,await this.plugin.saveSettings(),L.refreshTree(),this.display()})),this.plugin.settings.ellipsis&&new Tt.Setting(t).setName(Be("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,L.labelDirection=o,await this.plugin.saveSettings(),L.refreshTree()})),new Tt.Setting(t).setName(Be("Search Support")).setDesc(Be("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,L.searchSupport=o,await this.plugin.saveSettings()})),new Tt.Setting(t).setName(Be("Level Switch")).setDesc(Be("Expand headings to certain level.")).addToggle(r=>r.setValue(this.plugin.settings.level_switch).onChange(async o=>{this.plugin.settings.level_switch=o,L.levelSwitch=o,await this.plugin.saveSettings()})),new Tt.Setting(t).setName(Be("Default Level")).setDesc(Be("Default expand level when opening a new note.")).addDropdown(r=>r.addOption("0",Be("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 Tt.Setting(t).setName(Be("Hide Unsearched")).setDesc(Be("Hide irrelevant headings when searching")).addToggle(r=>r.setValue(this.plugin.settings.hide_unsearched).onChange(async o=>{this.plugin.settings.hide_unsearched=o,L.hideUnsearched=o,await this.plugin.saveSettings()})),new Tt.Setting(t).setName(Be("Regex Search")).setDesc(Be("Search headings using regular expression")).addToggle(r=>r.setValue(this.plugin.settings.regex_search).onChange(async o=>{this.plugin.settings.regex_search=o,L.regexSearch=o,await this.plugin.saveSettings()})),new Tt.Setting(t).setName(Be("Auto Expand")).setDesc(Be("Auto expand and collapse headings when scrolling and cursor position change")).addDropdown(r=>r.addOption("only-expand",Be("Only Expand")).addOption("expand-and-collapse-rest-to-default",Be("Expand and Collapse Rest to Default")).addOption("expand-and-collapse-rest-to-setting",Be("Expand and Collapse Rest to Setting Level (Level Switch)")).addOption("disable",Be("Disabled")).setValue(this.plugin.settings.auto_expand_ext).onChange(async o=>{this.plugin.settings.auto_expand_ext=o,await this.plugin.saveSettings()})),new Tt.Setting(t).setName(Be("Auto Scroll Into View")).setDesc(Be("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 Tt.Setting(t).setName(Be("Locate By Cursor")).setDesc(Be("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 Tt.Setting(t).setName(Be("Show Popover on hover")).setDesc(Be("Press functional key and move cursor to heading")).addDropdown(r=>r.addOption("ctrlKey","Ctrl").addOption("altKey","Alt").addOption("metaKey","Meta").addOption("disable",Be("Disable")).setValue(this.plugin.settings.show_popover_key).onChange(async o=>{this.plugin.settings.show_popover_key=o,await this.plugin.saveSettings()})),new Tt.Setting(t).setName(Be("Remember States")).setDesc(Be("Remember expanded/collapsed state of headings of opened notes")).addToggle(r=>r.setValue(this.plugin.settings.remember_state).onChange(async o=>{this.plugin.settings.remember_state=o,await this.plugin.saveSettings()})),new Tt.Setting(t).setName(Be("Keep Search Input")).setDesc(Be("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 Tt.Setting(t).setName(Be("Vimlize Canvas")).setDesc(Be("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 Tt.Setting(t).setName(Be("Drag headings to modify note")).setDesc(Be("\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,L.dragModify=o,await this.plugin.saveSettings()})),new Tt.Setting(t).setName(Be("Text Direction")).setDesc(Be("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,L.textDirectionDecideBy=o,await this.plugin.saveSettings(),L.refreshTree()})),new Tt.Setting(t).setName(Be("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")))}};var qI=["markdown","canvas","kanban"],vc=class extends Sn.Plugin{settings;navigator=new bc.dummy(this,null);jumping;heading_states={};klasses={};allow_scroll=!0;block_scroll;allow_cursor_change=!0;block_cursor_change;prevActiveFile=null;prevActiveFileView=null;prevView=null;async onload(){await this.loadSettings(),this.initStore(),this.registerView(yn,t=>new sc(t,this)),this.registerListener(),this.registerCommand(),this.addSettingTab(new xc(this.app,this)),await this.firstTimeInstall()&&(this.activateView(),await this.saveSettings()),this.block_scroll=bh(()=>{this.allow_scroll=!1},300,()=>{this.allow_scroll=!0}),this.block_cursor_change=bh(()=>{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(yn)[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(){L.headers=[],L.dark=document.body.hasClass("theme-dark"),L.markdown=this.settings.markdown,L.ellipsis=this.settings.ellipsis,L.labelDirection=this.settings.label_direction,L.leafChange=!1,L.searchSupport=this.settings.search_support,L.levelSwitch=this.settings.level_switch,L.hideUnsearched=this.settings.hide_unsearched,L.regexSearch=this.settings.regex_search,L.dragModify=this.settings.drag_modify,L.textDirectionDecideBy=this.settings.lang_direction_decide_by,L.patchColor=this.settings.patch_color,L.primaryColorLight=this.settings.primary_color_light,L.primaryColorDark=this.settings.primary_color_dark,L.rainbowLine=this.settings.rainbow_line,L.rainbowColor1=this.settings.rainbow_color_1,L.rainbowColor2=this.settings.rainbow_color_2,L.rainbowColor3=this.settings.rainbow_color_3,L.rainbowColor4=this.settings.rainbow_color_4,L.rainbowColor5=this.settings.rainbow_color_5}registerListener(){this.registerEvent(this.app.workspace.on("css-change",()=>{L.dark=document.body.hasClass("theme-dark"),L.cssChange=!L.cssChange})),this.registerEvent(this.app.workspace.on("layout-change",()=>{let t=this.app.workspace.getLeavesOfType("markdown"),r={};t.forEach(o=>{if(o.view.file===void 0)return;let n=o.view.file.path;this.heading_states[n]&&(r[n]=this.heading_states[n])}),this.heading_states=r})),this.registerEvent(this.app.metadataCache.on("changed",(t,r,o)=>{this.refresh("file-modify")})),this.registerEvent(this.app.workspace.on("active-leaf-change",async t=>{let r=this.prevView;if(this.prevView=t?.view||null,!t)return;if(!this.app.workspace.getActiveFileView()){this.prevActiveFileView=null,this.prevActiveFile=null,this.app.workspace.trigger("quiet-outline:active-fileview-change",null);return}if(t.view instanceof Sn.FileView&&qI.contains(t.view.getViewType())&&t.view.file){let n=t.view.getViewType()==="canvas"&&this.prevActiveFileView===t.view&&t.view===r;(t.view!==this.prevActiveFileView||t.view.file!==this.prevActiveFile||n)&&(this.prevActiveFileView=t.view,this.prevActiveFile=t.view.file,this.app.workspace.trigger("quiet-outline:active-fileview-change",t.view))}})),this.registerEvent(this.app.workspace.on("quiet-outline:active-fileview-change",async t=>{if(!t){await this.updateNav("dummy",null),await this.refresh_outline(),L.refreshTree();return}this.block_cursor_change(),await this.updateNav(t.getViewType(),t),await this.refresh_outline(),L.refreshTree()}))}refresh_outline=async t=>{t==="file-modify"?await this.navigator.updateHeaders():await this.navigator.setHeaders()};refresh=(0,Sn.debounce)(this.refresh_outline,300,!0);async onunload(){await this.navigator.unload()}async updateNav(t,r){await this.navigator.unload();let o=bc[t]||bc.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 L.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({},Uw,await this.loadData())}async saveSettings(){await this.saveData(this.settings)}async activateView(){this.app.workspace.rightSplit!==null&&(this.app.workspace.getLeavesOfType(yn).length===0&&await this.app.workspace.getRightLeaf(!1)?.setViewState({type:yn,active:!0}),this.app.workspace.revealLeaf(this.app.workspace.getLeavesOfType(yn)[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(yn)[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 Sn.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=L.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=L.headers.findIndex(n=>n.position.start.line>r);o!=-1&&this.navigator.jump(o)}})}};var UI=vc;
|
|
/*! 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 */ |