@king-one/antdv 1.0.15 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/cdn/index.cdn.js +7 -7
- package/dist/cdn/index.cdn.js.map +1 -1
- package/dist/cdn/index.cdn.mjs +4 -4
- package/dist/cdn/index.cdn.mjs.map +1 -1
- package/dist/es/components/collapse-transtion/index.d.ts +1 -0
- package/dist/es/components/collapse-transtion/index.mjs +1 -0
- package/dist/es/components/collapse-transtion/index.mjs.map +1 -1
- package/dist/es/components/collapse-transtion/src/collapse-transtion.vue2.mjs.map +1 -1
- package/dist/lib/components/collapse-transtion/index.d.ts +1 -0
- package/dist/lib/components/collapse-transtion/index.js +1 -0
- package/dist/lib/components/collapse-transtion/index.js.map +1 -1
- package/dist/lib/components/collapse-transtion/src/collapse-transtion.vue2.js.map +1 -1
- package/package.json +1 -1
package/dist/cdn/index.cdn.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{createElementVNode as ll,defineComponent as be,openBlock as zr,createElementBlock as cl,renderSlot as lt,createTextVNode as dl,Fragment as Ro,Comment as hl,provide as Oo,getCurrentInstance as Bt,inject as Gn,ref as B,onBeforeUnmount as He,withDirectives as So,readonly as Be,watch as en,computed as ne,onMounted as dn,onBeforeMount as Wt,reactive as pl,toRef as Tn,h as de,Teleport as vl,nextTick as Io,onActivated as gl,onDeactivated as ml,mergeProps as Dr,unref as Un,isVNode as _l,createVNode as hn,toRaw as bl,createBlock as Mo,withCtx as Hr,Transition as xl,toHandlers as yl}from"vue";import"@king-one/antdv/dist/theme-chalk/base.css";import"@king-one/antdv/dist/theme-chalk/scroll-bar.css";const wl="K";function Nt(e){return e.install=n=>{const t=e;n.component(wl+t.name,t)},e}function oE(e,n){return{install:t=>{t.directive(n,e)},directive:e}}const Co={model:{type:Object},rules:{type:Object}},$l={class:"king-form"},Al=ll("div",null,"\u4F1F\u5927\u7684\u597D\u6B4C",-1);var El=be({__name:"form",props:Co,setup(e){return(n,t)=>(zr(),cl("form",$l,[Al,lt(n.$slots,"default")]))}});const Lo=Nt(El);let zt=[];const Po=new WeakMap;function Tl(){zt.forEach(e=>e(...Po.get(e))),zt=[]}function Fo(e,...n){Po.set(e,n),!zt.includes(e)&&zt.push(e)===1&&requestAnimationFrame(Tl)}let Gr=[],Ur=[];function Rl(){Gr.forEach((e,n)=>e(...Ur[n])),Gr=[],Ur=[]}function uE(e,...n){Gr.push(e)===1&&requestAnimationFrame(Rl),Ur.push(n)}function Ol(e){return e.nodeType===9?null:e.parentNode}function Sl(e){if(e===null)return null;const n=Ol(e);if(n===null)return null;if(n.nodeType===9)return document.documentElement;if(n.nodeType===1){const{overflow:t,overflowX:r,overflowY:i}=getComputedStyle(n);if(/(auto|scroll|overlay)/.test(t+i+r))return n}return Sl(n)}function aE(e){return typeof e=="string"?document.querySelector(e):typeof e=="function"?e():e}function sE(e,n){let{target:t}=e;for(;t;){if(t.dataset&&t.dataset[n]!==void 0)return!0;t=t.parentElement}return!1}function Il(e){return e.composedPath()[0]||null}function Ml(e){if(typeof e=="number")return{"":e.toString()};const n={};return e.split(/ +/).forEach(t=>{if(t==="")return;const[r,i]=t.split(":");i===void 0?n[""]=r:n[r]=i}),n}function fE(e,n){var t;if(e==null)return;const r=Ml(e);if(n===void 0)return r[""];if(typeof n=="string")return(t=r[n])!==null&&t!==void 0?t:r[""];if(Array.isArray(n)){for(let i=n.length-1;i>=0;--i){const o=n[i];if(o in r)return r[o]}return r[""]}else{let i,o=-1;return Object.keys(r).forEach(u=>{const s=Number(u);!Number.isNaN(s)&&n>=s&&s>=o&&(o=s,i=r[u])}),i}}function Bo(e){return typeof e=="string"?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function ct(e){if(e!=null)return typeof e=="number"?`${e}px`:e.endsWith("px")?e:`${e}px`}function lE(e,n){const t=e.trim().split(/\s+/g),r={top:t[0]};switch(t.length){case 1:r.right=t[0],r.bottom=t[0],r.left=t[0];break;case 2:r.right=t[1],r.left=t[1],r.bottom=t[0];break;case 3:r.right=t[1],r.bottom=t[2],r.left=t[1];break;case 4:r.right=t[1],r.bottom=t[2],r.left=t[3];break;default:throw new Error("[seemly/getMargin]:"+e+" is not a valid value.")}return n===void 0?r:r[n]}function cE(e,n){const[t,r]=e.split(" ");return n?n==="row"?t:r:{row:t,col:r||t}}var Wo={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"};function dE(e,n,t){n/=100,t/=100;const r=n*Math.min(t,1-t)+t;return[e,r?(2-2*t/r)*100:0,r*100]}function hE(e,n,t){n/=100,t/=100;const r=t-t*n/2,i=Math.min(r,1-r);return[e,i?(t-r)/i*100:0,r*100]}function pE(e,n,t){n/=100,t/=100;let r=(i,o=(i+e/60)%6)=>t-t*n*Math.max(Math.min(o,4-o,1),0);return[r(5)*255,r(3)*255,r(1)*255]}function vE(e,n,t){e/=255,n/=255,t/=255;let r=Math.max(e,n,t),i=r-Math.min(e,n,t),o=i&&(r==e?(n-t)/i:r==n?2+(t-e)/i:4+(e-n)/i);return[60*(o<0?o+6:o),r&&i/r*100,r*100]}function gE(e,n,t){e/=255,n/=255,t/=255;let r=Math.max(e,n,t),i=r-Math.min(e,n,t),o=1-Math.abs(r+r-i-1),u=i&&(r==e?(n-t)/i:r==n?2+(t-e)/i:4+(e-n)/i);return[60*(u<0?u+6:u),o?i/o*100:0,(r+r-i)*50]}function mE(e,n,t){n/=100,t/=100;let r=n*Math.min(t,1-t),i=(o,u=(o+e/30)%12)=>t-r*Math.max(Math.min(u-3,9-u,1),-1);return[i(0)*255,i(8)*255,i(4)*255]}const Ge="^\\s*",Ue="\\s*$",pn="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))%\\s*",Ae="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",Rn="([0-9A-Fa-f])",On="([0-9A-Fa-f]{2})",Cl=new RegExp(`${Ge}hsl\\s*\\(${Ae},${pn},${pn}\\)${Ue}`),Ll=new RegExp(`${Ge}hsv\\s*\\(${Ae},${pn},${pn}\\)${Ue}`),Pl=new RegExp(`${Ge}hsla\\s*\\(${Ae},${pn},${pn},${Ae}\\)${Ue}`),Fl=new RegExp(`${Ge}hsva\\s*\\(${Ae},${pn},${pn},${Ae}\\)${Ue}`),Bl=new RegExp(`${Ge}rgb\\s*\\(${Ae},${Ae},${Ae}\\)${Ue}`),Wl=new RegExp(`${Ge}rgba\\s*\\(${Ae},${Ae},${Ae},${Ae}\\)${Ue}`),kr=new RegExp(`${Ge}#${Rn}${Rn}${Rn}${Ue}`),jr=new RegExp(`${Ge}#${On}${On}${On}${Ue}`),Yr=new RegExp(`${Ge}#${Rn}${Rn}${Rn}${Rn}${Ue}`),qr=new RegExp(`${Ge}#${On}${On}${On}${On}${Ue}`);function xe(e){return parseInt(e,16)}function _E(e){try{let n;if(n=Pl.exec(e))return[ke(n[1]),ae(n[5]),ae(n[9]),nn(n[13])];if(n=Cl.exec(e))return[ke(n[1]),ae(n[5]),ae(n[9]),1];throw new Error(`[seemly/hsla]: Invalid color value ${e}.`)}catch(n){throw n}}function bE(e){try{let n;if(n=Fl.exec(e))return[ke(n[1]),ae(n[5]),ae(n[9]),nn(n[13])];if(n=Ll.exec(e))return[ke(n[1]),ae(n[5]),ae(n[9]),1];throw new Error(`[seemly/hsva]: Invalid color value ${e}.`)}catch(n){throw n}}function Sn(e){try{let n;if(n=jr.exec(e))return[xe(n[1]),xe(n[2]),xe(n[3]),1];if(n=Bl.exec(e))return[te(n[1]),te(n[5]),te(n[9]),1];if(n=Wl.exec(e))return[te(n[1]),te(n[5]),te(n[9]),nn(n[13])];if(n=kr.exec(e))return[xe(n[1]+n[1]),xe(n[2]+n[2]),xe(n[3]+n[3]),1];if(n=qr.exec(e))return[xe(n[1]),xe(n[2]),xe(n[3]),nn(xe(n[4])/255)];if(n=Yr.exec(e))return[xe(n[1]+n[1]),xe(n[2]+n[2]),xe(n[3]+n[3]),nn(xe(n[4]+n[4])/255)];if(e in Wo)return Sn(Wo[e]);throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(n){throw n}}function Nl(e){return e>1?1:e<0?0:e}function zl(e,n,t){return`rgb(${te(e)}, ${te(n)}, ${te(t)})`}function Xr(e,n,t,r){return`rgba(${te(e)}, ${te(n)}, ${te(t)}, ${Nl(r)})`}function Kr(e,n,t,r,i){return te((e*n*(1-r)+t*r)/i)}function xE(e,n){Array.isArray(e)||(e=Sn(e)),Array.isArray(n)||(n=Sn(n));const t=e[3],r=n[3],i=nn(t+r-t*r);return Xr(Kr(e[0],t,n[0],r,i),Kr(e[1],t,n[1],r,i),Kr(e[2],t,n[2],r,i),i)}function yE(e,n){const[t,r,i,o=1]=Array.isArray(e)?e:Sn(e);return n.alpha?Xr(t,r,i,n.alpha):Xr(t,r,i,o)}function wE(e,n){const[t,r,i,o=1]=Array.isArray(e)?e:Sn(e),{lightness:u=1,alpha:s=1}=n;return Hl([t*u,r*u,i*u,o*s])}function Dl(e){var n;return(n=(Array.isArray(e)?e:Sn(e))[3])!==null&&n!==void 0?n:1}function $E(e){return`${Dl(e)}`}function nn(e){const n=Math.round(Number(e)*100)/100;return n>1?1:n<0?0:n}function ke(e){const n=Math.round(Number(e));return n>=360||n<0?0:n}function te(e){const n=Math.round(Number(e));return n>255?255:n<0?0:n}function ae(e){const n=Math.round(Number(e));return n>100?100:n<0?0:n}function AE(e){const[n,t,r]=Array.isArray(e)?e:Sn(e);return zl(n,t,r)}function Hl(e){const[n,t,r]=e;return 3 in e?`rgba(${te(n)}, ${te(t)}, ${te(r)}, ${nn(e[3])})`:`rgba(${te(n)}, ${te(t)}, ${te(r)}, 1)`}function EE(e){return`hsv(${ke(e[0])}, ${ae(e[1])}%, ${ae(e[2])}%)`}function TE(e){const[n,t,r]=e;return 3 in e?`hsva(${ke(n)}, ${ae(t)}%, ${ae(r)}%, ${nn(e[3])})`:`hsva(${ke(n)}, ${ae(t)}%, ${ae(r)}%, 1)`}function RE(e){return`hsl(${ke(e[0])}, ${ae(e[1])}%, ${ae(e[2])}%)`}function OE(e){const[n,t,r]=e;return 3 in e?`hsla(${ke(n)}, ${ae(t)}%, ${ae(r)}%, ${nn(e[3])})`:`hsla(${ke(n)}, ${ae(t)}%, ${ae(r)}%, 1)`}function SE(e){if(typeof e=="string"){let r;if(r=jr.exec(e))return`${r[0]}FF`;if(r=qr.exec(e))return r[0];if(r=kr.exec(e))return`#${r[1]}${r[1]}${r[2]}${r[2]}${r[3]}${r[3]}FF`;if(r=Yr.exec(e))return`#${r[1]}${r[1]}${r[2]}${r[2]}${r[3]}${r[3]}${r[4]}${r[4]}`;throw new Error(`[seemly/toHexString]: Invalid hex value ${e}.`)}const n=`#${e.slice(0,3).map(r=>te(r).toString(16).toUpperCase().padStart(2,"0")).join("")}`,t=e.length===3?"FF":te(e[3]*255).toString(16).padStart(2,"0").toUpperCase();return n+t}function IE(e){if(typeof e=="string"){let n;if(n=jr.exec(e))return n[0];if(n=qr.exec(e))return n[0].slice(0,7);if(n=kr.exec(e)||Yr.exec(e))return`#${n[1]}${n[1]}${n[2]}${n[2]}${n[3]}${n[3]}`;throw new Error(`[seemly/toHexString]: Invalid hex value ${e}.`)}return`#${e.slice(0,3).map(n=>te(n).toString(16).toUpperCase().padStart(2,"0")).join("")}`}function Gl(e=8){return Math.random().toString(16).slice(2,2+e)}function ME(e,n){const t=[];for(let r=0;r<e;++r)t.push(n);return t}function CE(e,n){const t=[];if(!n){for(let r=0;r<e;++r)t.push(r);return t}for(let r=0;r<e;++r)t.push(n(r));return t}async function LE(e){return new Promise(n=>{setTimeout(n,e)})}function Dt(e){return e.composedPath()[0]}const Ul={mousemoveoutside:new WeakMap,clickoutside:new WeakMap};function kl(e,n,t){if(e==="mousemoveoutside"){const r=i=>{n.contains(Dt(i))||t(i)};return{mousemove:r,touchstart:r}}else if(e==="clickoutside"){let r=!1;const i=u=>{r=!n.contains(Dt(u))},o=u=>{r&&(n.contains(Dt(u))||t(u))};return{mousedown:i,mouseup:o,touchstart:i,touchend:o}}return console.error(`[evtd/create-trap-handler]: name \`${e}\` is invalid. This could be a bug of evtd.`),{}}function No(e,n,t){const r=Ul[e];let i=r.get(n);i===void 0&&r.set(n,i=new WeakMap);let o=i.get(t);return o===void 0&&i.set(t,o=kl(e,n,t)),o}function jl(e,n,t,r){if(e==="mousemoveoutside"||e==="clickoutside"){const i=No(e,n,t);return Object.keys(i).forEach(o=>{se(o,document,i[o],r)}),!0}return!1}function Yl(e,n,t,r){if(e==="mousemoveoutside"||e==="clickoutside"){const i=No(e,n,t);return Object.keys(i).forEach(o=>{oe(o,document,i[o],r)}),!0}return!1}function ql(){if(typeof window=="undefined")return{on:()=>{},off:()=>{}};const e=new WeakMap,n=new WeakMap;function t(){e.set(this,!0)}function r(){e.set(this,!0),n.set(this,!0)}function i(b,x,R){const z=b[x];return b[x]=function(){return R.apply(b,arguments),z.apply(b,arguments)},b}function o(b,x){b[x]=Event.prototype[x]}const u=new WeakMap,s=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function f(){var b;return(b=u.get(this))!==null&&b!==void 0?b:null}function l(b,x){s!==void 0&&Object.defineProperty(b,"currentTarget",{configurable:!0,enumerable:!0,get:x!=null?x:s.get})}const c={bubble:{},capture:{}},d={};function h(){const b=function(x){const{type:R,eventPhase:z,bubbles:Y}=x,ee=Dt(x);if(z===2)return;const w=z===1?"capture":"bubble";let _=ee;const E=[];for(;_===null&&(_=window),E.push(_),_!==window;)_=_.parentNode||null;const L=c.capture[R],U=c.bubble[R];if(i(x,"stopPropagation",t),i(x,"stopImmediatePropagation",r),l(x,f),w==="capture"){if(L===void 0)return;for(let k=E.length-1;k>=0&&!e.has(x);--k){const X=E[k],K=L.get(X);if(K!==void 0){u.set(x,X);for(const le of K){if(n.has(x))break;le(x)}}if(k===0&&!Y&&U!==void 0){const le=U.get(X);if(le!==void 0)for(const st of le){if(n.has(x))break;st(x)}}}}else if(w==="bubble"){if(U===void 0)return;for(let k=0;k<E.length&&!e.has(x);++k){const X=E[k],K=U.get(X);if(K!==void 0){u.set(x,X);for(const le of K){if(n.has(x))break;le(x)}}}}o(x,"stopPropagation"),o(x,"stopImmediatePropagation"),l(x)};return b.displayName="evtdUnifiedHandler",b}function p(){const b=function(x){const{type:R,eventPhase:z}=x;if(z!==2)return;const Y=d[R];Y!==void 0&&Y.forEach(ee=>ee(x))};return b.displayName="evtdUnifiedWindowEventHandler",b}const m=h(),y=p();function g(b,x){const R=c[b];return R[x]===void 0&&(R[x]=new Map,window.addEventListener(x,m,b==="capture")),R[x]}function v(b){return d[b]===void 0&&(d[b]=new Set,window.addEventListener(b,y)),d[b]}function $(b,x){let R=b.get(x);return R===void 0&&b.set(x,R=new Set),R}function S(b,x,R,z){const Y=c[x][R];if(Y!==void 0){const ee=Y.get(b);if(ee!==void 0&&ee.has(z))return!0}return!1}function P(b,x){const R=d[b];return!!(R!==void 0&&R.has(x))}function j(b,x,R,z){let Y;if(typeof z=="object"&&z.once===!0?Y=L=>{W(b,x,Y,z),R(L)}:Y=R,jl(b,x,Y,z))return;const w=z===!0||typeof z=="object"&&z.capture===!0?"capture":"bubble",_=g(w,b),E=$(_,x);if(E.has(Y)||E.add(Y),x===window){const L=v(b);L.has(Y)||L.add(Y)}}function W(b,x,R,z){if(Yl(b,x,R,z))return;const ee=z===!0||typeof z=="object"&&z.capture===!0,w=ee?"capture":"bubble",_=g(w,b),E=$(_,x);if(x===window&&!S(x,ee?"bubble":"capture",b,R)&&P(b,R)){const U=d[b];U.delete(R),U.size===0&&(window.removeEventListener(b,y),d[b]=void 0)}E.has(R)&&E.delete(R),E.size===0&&_.delete(x),_.size===0&&(window.removeEventListener(b,m,w==="capture"),c[w][b]=void 0)}return{on:j,off:W}}const{on:se,off:oe}=ql();function Zr(e,n,t="default"){const r=n[t];if(r===void 0)throw new Error(`[vueuc/${e}]: slot[${t}] is empty.`);return r()}function Vr(e,n=!0,t=[]){return e.forEach(r=>{if(r!==null){if(typeof r!="object"){(typeof r=="string"||typeof r=="number")&&t.push(dl(String(r)));return}if(Array.isArray(r)){Vr(r,n,t);return}if(r.type===Ro){if(r.children===null)return;Array.isArray(r.children)&&Vr(r.children,n,t)}else r.type!==hl&&t.push(r)}}),t}function zo(e,n,t="default"){const r=n[t];if(r===void 0)throw new Error(`[vueuc/${e}]: slot[${t}] is empty.`);const i=Vr(r());if(i.length===1)return i[0];throw new Error(`[vueuc/${e}]: slot[${t}] should have exactly one child.`)}let vn=null;function Do(){if(vn===null&&(vn=document.getElementById("v-binder-view-measurer"),vn===null)){vn=document.createElement("div"),vn.id="v-binder-view-measurer";const{style:e}=vn;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(vn)}return vn.getBoundingClientRect()}function Xl(e,n){const t=Do();return{top:n,left:e,height:0,width:0,right:t.width-e,bottom:t.height-n}}function Jr(e){const n=e.getBoundingClientRect(),t=Do();return{left:n.left-t.left,top:n.top-t.top,bottom:t.height+t.top-n.bottom,right:t.width+t.left-n.right,width:n.width,height:n.height}}function Kl(e){return e.nodeType===9?null:e.parentNode}function Ho(e){if(e===null)return null;const n=Kl(e);if(n===null)return null;if(n.nodeType===9)return document;if(n.nodeType===1){const{overflow:t,overflowX:r,overflowY:i}=getComputedStyle(n);if(/(auto|scroll|overlay)/.test(t+i+r))return n}return Ho(n)}const PE=be({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var n;Oo("VBinder",(n=Bt())===null||n===void 0?void 0:n.proxy);const t=Gn("VBinder",null),r=B(null),i=v=>{r.value=v,t&&e.syncTargetWithParent&&t.setTargetRef(v)};let o=[];const u=()=>{let v=r.value;for(;v=Ho(v),v!==null;)o.push(v);for(const $ of o)se("scroll",$,d,!0)},s=()=>{for(const v of o)oe("scroll",v,d,!0);o=[]},f=new Set,l=v=>{f.size===0&&u(),f.has(v)||f.add(v)},c=v=>{f.has(v)&&f.delete(v),f.size===0&&s()},d=()=>{Fo(h)},h=()=>{f.forEach(v=>v())},p=new Set,m=v=>{p.size===0&&se("resize",window,g),p.has(v)||p.add(v)},y=v=>{p.has(v)&&p.delete(v),p.size===0&&oe("resize",window,g)},g=()=>{p.forEach(v=>v())};return He(()=>{oe("resize",window,g),s()}),{targetRef:r,setTargetRef:i,addScrollListener:l,removeScrollListener:c,addResizeListener:m,removeResizeListener:y}},render(){return Zr("binder",this.$slots)}});var FE=be({name:"Target",setup(){const{setTargetRef:e,syncTarget:n}=Gn("VBinder");return{syncTarget:n,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:n}=this;return e?So(zo("follower",this.$slots),[[n]]):zo("follower",this.$slots)}});const kn="@@mmoContext",BE={mounted(e,{value:n}){e[kn]={handler:void 0},typeof n=="function"&&(e[kn].handler=n,se("mousemoveoutside",e,n))},updated(e,{value:n}){const t=e[kn];typeof n=="function"?t.handler?t.handler!==n&&(oe("mousemoveoutside",e,t.handler),t.handler=n,se("mousemoveoutside",e,n)):(e[kn].handler=n,se("mousemoveoutside",e,n)):t.handler&&(oe("mousemoveoutside",e,t.handler),t.handler=void 0)},unmounted(e){const{handler:n}=e[kn];n&&oe("mousemoveoutside",e,n),e[kn].handler=void 0}},jn="@@coContext",WE={mounted(e,{value:n,modifiers:t}){e[jn]={handler:void 0},typeof n=="function"&&(e[jn].handler=n,se("clickoutside",e,n,{capture:t.capture}))},updated(e,{value:n,modifiers:t}){const r=e[jn];typeof n=="function"?r.handler?r.handler!==n&&(oe("clickoutside",e,r.handler,{capture:t.capture}),r.handler=n,se("clickoutside",e,n,{capture:t.capture})):(e[jn].handler=n,se("clickoutside",e,n,{capture:t.capture})):r.handler&&(oe("clickoutside",e,r.handler,{capture:t.capture}),r.handler=void 0)},unmounted(e,{modifiers:n}){const{handler:t}=e[jn];t&&oe("clickoutside",e,t,{capture:n.capture}),e[jn].handler=void 0}},Go=new Set;function NE(e,n){const t=`[vdirs/${e}]: ${n}`;Go.has(t)||Go.add(t)}function Zl(e,n){console.error(`[vdirs/${e}]: ${n}`)}class Vl{constructor(){this.elementZIndex=new Map,this.nextZIndex=2e3}get elementCount(){return this.elementZIndex.size}ensureZIndex(n,t){const{elementZIndex:r}=this;if(t!==void 0){n.style.zIndex=`${t}`,r.delete(n);return}const{nextZIndex:i}=this;r.has(n)&&r.get(n)+1===this.nextZIndex||(n.style.zIndex=`${i}`,r.set(n,i),this.nextZIndex=i+1,this.squashState())}unregister(n,t){const{elementZIndex:r}=this;r.has(n)?r.delete(n):t===void 0&&Zl("z-index-manager/unregister-element","Element not found when unregistering."),this.squashState()}squashState(){const{elementCount:n}=this;n||(this.nextZIndex=2e3),this.nextZIndex-n>2500&&this.rearrange()}rearrange(){const n=Array.from(this.elementZIndex.entries());n.sort((t,r)=>t[1]-r[1]),this.nextZIndex=2e3,n.forEach(t=>{const r=t[0],i=this.nextZIndex++;`${i}`!==r.style.zIndex&&(r.style.zIndex=`${i}`)})}}var Qr=new Vl;const Yn="@@ziContext",Jl={mounted(e,n){const{value:t={}}=n,{zIndex:r,enabled:i}=t;e[Yn]={enabled:!!i,initialized:!1},i&&(Qr.ensureZIndex(e,r),e[Yn].initialized=!0)},updated(e,n){const{value:t={}}=n,{zIndex:r,enabled:i}=t,o=e[Yn].enabled;i&&!o&&(Qr.ensureZIndex(e,r),e[Yn].initialized=!0),e[Yn].enabled=!!i},unmounted(e,n){if(!e[Yn].initialized)return;const{value:t={}}=n,{zIndex:r}=t;Qr.unregister(e,r)}};function Ql(e){const n=B(!!e.value);if(n.value)return Be(n);const t=en(e,r=>{r&&(n.value=!0,t())});return Be(n)}function qn(e){const n=ne(e),t=B(n.value);return en(n,r=>{t.value=r}),typeof e=="function"?t:{__v_isRef:!0,get value(){return t.value},set value(r){e.set(r)}}}function Ht(){return Bt()!==null}const dt=typeof window!="undefined";let Xn,ht;const ec=()=>{var e,n;Xn=dt?(n=(e=document)===null||e===void 0?void 0:e.fonts)===null||n===void 0?void 0:n.ready:void 0,ht=!1,Xn!==void 0?Xn.then(()=>{ht=!0}):ht=!0};ec();function nc(e){if(ht)return;let n=!1;dn(()=>{ht||Xn==null||Xn.then(()=>{n||e()})}),He(()=>{n=!0})}const pt=B(null);function Uo(e){if(e.clientX>0||e.clientY>0)pt.value={x:e.clientX,y:e.clientY};else{const{target:n}=e;if(n instanceof Element){const{left:t,top:r,width:i,height:o}=n.getBoundingClientRect();t>0||r>0?pt.value={x:t+i/2,y:r+o/2}:pt.value={x:0,y:0}}else pt.value=null}}let Gt=0,ko=!0;function zE(){if(!dt)return Be(B(null));Gt===0&&se("click",document,Uo,!0);const e=()=>{Gt+=1};return ko&&(ko=Ht())?(Wt(e),He(()=>{Gt-=1,Gt===0&&oe("click",document,Uo,!0)})):e(),Be(pt)}const tc=B(void 0);let Ut=0;function jo(){tc.value=Date.now()}let Yo=!0;function DE(e){if(!dt)return Be(B(!1));const n=B(!1);let t=null;function r(){t!==null&&window.clearTimeout(t)}function i(){r(),n.value=!0,t=window.setTimeout(()=>{n.value=!1},e)}Ut===0&&se("click",window,jo,!0);const o=()=>{Ut+=1,se("click",window,i,!0)};return Yo&&(Yo=Ht())?(Wt(o),He(()=>{Ut-=1,Ut===0&&oe("click",window,jo,!0),oe("click",window,i,!0),r()})):o(),Be(n)}let kt=0;const rc=typeof window!="undefined"&&window.matchMedia!==void 0,gn=B(null);let We,In;function jt(e){e.matches&&(gn.value="dark")}function Yt(e){e.matches&&(gn.value="light")}function ic(){We=window.matchMedia("(prefers-color-scheme: dark)"),In=window.matchMedia("(prefers-color-scheme: light)"),We.matches?gn.value="dark":In.matches?gn.value="light":gn.value=null,We.addEventListener?(We.addEventListener("change",jt),In.addEventListener("change",Yt)):We.addListener&&(We.addListener(jt),In.addListener(Yt))}function oc(){"removeEventListener"in We?(We.removeEventListener("change",jt),In.removeEventListener("change",Yt)):"removeListener"in We&&(We.removeListener(jt),In.removeListener(Yt)),We=void 0,In=void 0}let qo=!0;function HE(){return process.env.NODE_ENV!=="test"&&!rc?Be(gn):process.env.NODE_ENV==="test"&&window.matchMedia===void 0?Be(gn):(kt===0&&ic(),qo&&(qo=Ht())&&(Wt(()=>{kt+=1}),He(()=>{kt-=1,kt===0&&oc()})),Be(gn))}function GE(e,n){return en(e,t=>{t!==void 0&&(n.value=t)}),ne(()=>e.value===void 0?n.value:e.value)}function uc(){const e=B(!1);return dn(()=>{e.value=!0}),Be(e)}function UE(e,n){return ne(()=>{for(const t of n)if(e[t]!==void 0)return e[t];return e[n[n.length-1]]})}const Xo=(typeof window=="undefined"?!1:/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!window.MSStream;function kE(){return Xo}const ac={xs:0,s:640,m:1024,l:1280,xl:1536,"2xl":1920};function sc(e){return`(min-width: ${e}px)`}const vt={};function Ko(e=ac){if(!dt)return ne(()=>[]);if(typeof window.matchMedia!="function")return ne(()=>[]);const n=B({}),t=Object.keys(e),r=(i,o)=>{i.matches?n.value[o]=!0:n.value[o]=!1};return t.forEach(i=>{const o=e[i];let u,s;vt[o]===void 0?(u=window.matchMedia(sc(o)),u.addEventListener?u.addEventListener("change",f=>{s.forEach(l=>{l(f,i)})}):u.addListener&&u.addListener(f=>{s.forEach(l=>{l(f,i)})}),s=new Set,vt[o]={mql:u,cbs:s}):(u=vt[o].mql,s=vt[o].cbs),s.add(r),u.matches&&s.forEach(f=>{f(u,i)})}),He(()=>{t.forEach(i=>{const{cbs:o}=vt[e[i]];o.has(r)&&o.delete(r)})}),ne(()=>{const{value:i}=n;return t.filter(o=>i[o])})}function jE(e){if(!dt)return ne(()=>{});const n=e!==void 0?Ko(e):Ko();return ne(()=>{const{value:t}=n;if(t.length!==0)return t[t.length-1]})}function YE(e={},n){const t=pl({ctrl:!1,command:!1,win:!1,shift:!1,tab:!1}),{keydown:r,keyup:i}=e,o=f=>{switch(f.key){case"Control":t.ctrl=!0;break;case"Meta":t.command=!0,t.win=!0;break;case"Shift":t.shift=!0;break;case"Tab":t.tab=!0;break}r!==void 0&&Object.keys(r).forEach(l=>{if(l!==f.key)return;const c=r[l];if(typeof c=="function")c(f);else{const{stop:d=!1,prevent:h=!1}=c;d&&f.stopPropagation(),h&&f.preventDefault(),c.handler(f)}})},u=f=>{switch(f.key){case"Control":t.ctrl=!1;break;case"Meta":t.command=!1,t.win=!1;break;case"Shift":t.shift=!1;break;case"Tab":t.tab=!1;break}i!==void 0&&Object.keys(i).forEach(l=>{if(l!==f.key)return;const c=i[l];if(typeof c=="function")c(f);else{const{stop:d=!1,prevent:h=!1}=c;d&&f.stopPropagation(),h&&f.preventDefault(),c.handler(f)}})},s=()=>{(n===void 0||n.value)&&(se("keydown",document,o),se("keyup",document,u)),n!==void 0&&en(n,f=>{f?(se("keydown",document,o),se("keyup",document,u)):(oe("keydown",document,o),oe("keyup",document,u))})};return Ht()?(Wt(s),He(()=>{(n===void 0||n.value)&&(oe("keydown",document,o),oe("keyup",document,u))})):s(),Be(t)}const fc=typeof window=="undefined"?!1:Xo||window.safari!==void 0;function qE(){return fc}const Zo="@css-render/vue3-ssr";function lc(e,n){return`<style cssr-id="${e}">
|
|
1
|
+
import{createElementVNode as ll,defineComponent as be,openBlock as zr,createElementBlock as cl,renderSlot as lt,createTextVNode as dl,Fragment as Ro,Comment as hl,provide as Oo,getCurrentInstance as Bt,inject as Gn,ref as B,onBeforeUnmount as He,withDirectives as So,readonly as Be,watch as en,computed as ne,onMounted as dn,onBeforeMount as Wt,reactive as pl,toRef as Tn,h as de,Teleport as vl,nextTick as Io,onActivated as gl,onDeactivated as ml,mergeProps as Dr,unref as Un,isVNode as _l,createVNode as hn,toRaw as bl,createBlock as Mo,withCtx as Hr,Transition as xl,toHandlers as yl}from"vue";import"@king-one/antdv/dist/theme-chalk/base.css";import"@king-one/antdv/dist/theme-chalk/scroll-bar.css";import"@king-one/antdv/dist/theme-chalk/collapse-transtion.css";const wl="K";function Nt(e){return e.install=n=>{const t=e;n.component(wl+t.name,t)},e}function uE(e,n){return{install:t=>{t.directive(n,e)},directive:e}}const Co={model:{type:Object},rules:{type:Object}},$l={class:"king-form"},Al=ll("div",null,"\u4F1F\u5927\u7684\u597D\u6B4C",-1);var El=be({__name:"form",props:Co,setup(e){return(n,t)=>(zr(),cl("form",$l,[Al,lt(n.$slots,"default")]))}});const Lo=Nt(El);let zt=[];const Po=new WeakMap;function Tl(){zt.forEach(e=>e(...Po.get(e))),zt=[]}function Fo(e,...n){Po.set(e,n),!zt.includes(e)&&zt.push(e)===1&&requestAnimationFrame(Tl)}let Gr=[],Ur=[];function Rl(){Gr.forEach((e,n)=>e(...Ur[n])),Gr=[],Ur=[]}function aE(e,...n){Gr.push(e)===1&&requestAnimationFrame(Rl),Ur.push(n)}function Ol(e){return e.nodeType===9?null:e.parentNode}function Sl(e){if(e===null)return null;const n=Ol(e);if(n===null)return null;if(n.nodeType===9)return document.documentElement;if(n.nodeType===1){const{overflow:t,overflowX:r,overflowY:i}=getComputedStyle(n);if(/(auto|scroll|overlay)/.test(t+i+r))return n}return Sl(n)}function sE(e){return typeof e=="string"?document.querySelector(e):typeof e=="function"?e():e}function fE(e,n){let{target:t}=e;for(;t;){if(t.dataset&&t.dataset[n]!==void 0)return!0;t=t.parentElement}return!1}function Il(e){return e.composedPath()[0]||null}function Ml(e){if(typeof e=="number")return{"":e.toString()};const n={};return e.split(/ +/).forEach(t=>{if(t==="")return;const[r,i]=t.split(":");i===void 0?n[""]=r:n[r]=i}),n}function lE(e,n){var t;if(e==null)return;const r=Ml(e);if(n===void 0)return r[""];if(typeof n=="string")return(t=r[n])!==null&&t!==void 0?t:r[""];if(Array.isArray(n)){for(let i=n.length-1;i>=0;--i){const o=n[i];if(o in r)return r[o]}return r[""]}else{let i,o=-1;return Object.keys(r).forEach(u=>{const s=Number(u);!Number.isNaN(s)&&n>=s&&s>=o&&(o=s,i=r[u])}),i}}function Bo(e){return typeof e=="string"?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function ct(e){if(e!=null)return typeof e=="number"?`${e}px`:e.endsWith("px")?e:`${e}px`}function cE(e,n){const t=e.trim().split(/\s+/g),r={top:t[0]};switch(t.length){case 1:r.right=t[0],r.bottom=t[0],r.left=t[0];break;case 2:r.right=t[1],r.left=t[1],r.bottom=t[0];break;case 3:r.right=t[1],r.bottom=t[2],r.left=t[1];break;case 4:r.right=t[1],r.bottom=t[2],r.left=t[3];break;default:throw new Error("[seemly/getMargin]:"+e+" is not a valid value.")}return n===void 0?r:r[n]}function dE(e,n){const[t,r]=e.split(" ");return n?n==="row"?t:r:{row:t,col:r||t}}var Wo={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"};function hE(e,n,t){n/=100,t/=100;const r=n*Math.min(t,1-t)+t;return[e,r?(2-2*t/r)*100:0,r*100]}function pE(e,n,t){n/=100,t/=100;const r=t-t*n/2,i=Math.min(r,1-r);return[e,i?(t-r)/i*100:0,r*100]}function vE(e,n,t){n/=100,t/=100;let r=(i,o=(i+e/60)%6)=>t-t*n*Math.max(Math.min(o,4-o,1),0);return[r(5)*255,r(3)*255,r(1)*255]}function gE(e,n,t){e/=255,n/=255,t/=255;let r=Math.max(e,n,t),i=r-Math.min(e,n,t),o=i&&(r==e?(n-t)/i:r==n?2+(t-e)/i:4+(e-n)/i);return[60*(o<0?o+6:o),r&&i/r*100,r*100]}function mE(e,n,t){e/=255,n/=255,t/=255;let r=Math.max(e,n,t),i=r-Math.min(e,n,t),o=1-Math.abs(r+r-i-1),u=i&&(r==e?(n-t)/i:r==n?2+(t-e)/i:4+(e-n)/i);return[60*(u<0?u+6:u),o?i/o*100:0,(r+r-i)*50]}function _E(e,n,t){n/=100,t/=100;let r=n*Math.min(t,1-t),i=(o,u=(o+e/30)%12)=>t-r*Math.max(Math.min(u-3,9-u,1),-1);return[i(0)*255,i(8)*255,i(4)*255]}const Ge="^\\s*",Ue="\\s*$",pn="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))%\\s*",Ae="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",Rn="([0-9A-Fa-f])",On="([0-9A-Fa-f]{2})",Cl=new RegExp(`${Ge}hsl\\s*\\(${Ae},${pn},${pn}\\)${Ue}`),Ll=new RegExp(`${Ge}hsv\\s*\\(${Ae},${pn},${pn}\\)${Ue}`),Pl=new RegExp(`${Ge}hsla\\s*\\(${Ae},${pn},${pn},${Ae}\\)${Ue}`),Fl=new RegExp(`${Ge}hsva\\s*\\(${Ae},${pn},${pn},${Ae}\\)${Ue}`),Bl=new RegExp(`${Ge}rgb\\s*\\(${Ae},${Ae},${Ae}\\)${Ue}`),Wl=new RegExp(`${Ge}rgba\\s*\\(${Ae},${Ae},${Ae},${Ae}\\)${Ue}`),kr=new RegExp(`${Ge}#${Rn}${Rn}${Rn}${Ue}`),jr=new RegExp(`${Ge}#${On}${On}${On}${Ue}`),Yr=new RegExp(`${Ge}#${Rn}${Rn}${Rn}${Rn}${Ue}`),qr=new RegExp(`${Ge}#${On}${On}${On}${On}${Ue}`);function xe(e){return parseInt(e,16)}function bE(e){try{let n;if(n=Pl.exec(e))return[ke(n[1]),ae(n[5]),ae(n[9]),nn(n[13])];if(n=Cl.exec(e))return[ke(n[1]),ae(n[5]),ae(n[9]),1];throw new Error(`[seemly/hsla]: Invalid color value ${e}.`)}catch(n){throw n}}function xE(e){try{let n;if(n=Fl.exec(e))return[ke(n[1]),ae(n[5]),ae(n[9]),nn(n[13])];if(n=Ll.exec(e))return[ke(n[1]),ae(n[5]),ae(n[9]),1];throw new Error(`[seemly/hsva]: Invalid color value ${e}.`)}catch(n){throw n}}function Sn(e){try{let n;if(n=jr.exec(e))return[xe(n[1]),xe(n[2]),xe(n[3]),1];if(n=Bl.exec(e))return[te(n[1]),te(n[5]),te(n[9]),1];if(n=Wl.exec(e))return[te(n[1]),te(n[5]),te(n[9]),nn(n[13])];if(n=kr.exec(e))return[xe(n[1]+n[1]),xe(n[2]+n[2]),xe(n[3]+n[3]),1];if(n=qr.exec(e))return[xe(n[1]),xe(n[2]),xe(n[3]),nn(xe(n[4])/255)];if(n=Yr.exec(e))return[xe(n[1]+n[1]),xe(n[2]+n[2]),xe(n[3]+n[3]),nn(xe(n[4]+n[4])/255)];if(e in Wo)return Sn(Wo[e]);throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(n){throw n}}function Nl(e){return e>1?1:e<0?0:e}function zl(e,n,t){return`rgb(${te(e)}, ${te(n)}, ${te(t)})`}function Xr(e,n,t,r){return`rgba(${te(e)}, ${te(n)}, ${te(t)}, ${Nl(r)})`}function Kr(e,n,t,r,i){return te((e*n*(1-r)+t*r)/i)}function yE(e,n){Array.isArray(e)||(e=Sn(e)),Array.isArray(n)||(n=Sn(n));const t=e[3],r=n[3],i=nn(t+r-t*r);return Xr(Kr(e[0],t,n[0],r,i),Kr(e[1],t,n[1],r,i),Kr(e[2],t,n[2],r,i),i)}function wE(e,n){const[t,r,i,o=1]=Array.isArray(e)?e:Sn(e);return n.alpha?Xr(t,r,i,n.alpha):Xr(t,r,i,o)}function $E(e,n){const[t,r,i,o=1]=Array.isArray(e)?e:Sn(e),{lightness:u=1,alpha:s=1}=n;return Hl([t*u,r*u,i*u,o*s])}function Dl(e){var n;return(n=(Array.isArray(e)?e:Sn(e))[3])!==null&&n!==void 0?n:1}function AE(e){return`${Dl(e)}`}function nn(e){const n=Math.round(Number(e)*100)/100;return n>1?1:n<0?0:n}function ke(e){const n=Math.round(Number(e));return n>=360||n<0?0:n}function te(e){const n=Math.round(Number(e));return n>255?255:n<0?0:n}function ae(e){const n=Math.round(Number(e));return n>100?100:n<0?0:n}function EE(e){const[n,t,r]=Array.isArray(e)?e:Sn(e);return zl(n,t,r)}function Hl(e){const[n,t,r]=e;return 3 in e?`rgba(${te(n)}, ${te(t)}, ${te(r)}, ${nn(e[3])})`:`rgba(${te(n)}, ${te(t)}, ${te(r)}, 1)`}function TE(e){return`hsv(${ke(e[0])}, ${ae(e[1])}%, ${ae(e[2])}%)`}function RE(e){const[n,t,r]=e;return 3 in e?`hsva(${ke(n)}, ${ae(t)}%, ${ae(r)}%, ${nn(e[3])})`:`hsva(${ke(n)}, ${ae(t)}%, ${ae(r)}%, 1)`}function OE(e){return`hsl(${ke(e[0])}, ${ae(e[1])}%, ${ae(e[2])}%)`}function SE(e){const[n,t,r]=e;return 3 in e?`hsla(${ke(n)}, ${ae(t)}%, ${ae(r)}%, ${nn(e[3])})`:`hsla(${ke(n)}, ${ae(t)}%, ${ae(r)}%, 1)`}function IE(e){if(typeof e=="string"){let r;if(r=jr.exec(e))return`${r[0]}FF`;if(r=qr.exec(e))return r[0];if(r=kr.exec(e))return`#${r[1]}${r[1]}${r[2]}${r[2]}${r[3]}${r[3]}FF`;if(r=Yr.exec(e))return`#${r[1]}${r[1]}${r[2]}${r[2]}${r[3]}${r[3]}${r[4]}${r[4]}`;throw new Error(`[seemly/toHexString]: Invalid hex value ${e}.`)}const n=`#${e.slice(0,3).map(r=>te(r).toString(16).toUpperCase().padStart(2,"0")).join("")}`,t=e.length===3?"FF":te(e[3]*255).toString(16).padStart(2,"0").toUpperCase();return n+t}function ME(e){if(typeof e=="string"){let n;if(n=jr.exec(e))return n[0];if(n=qr.exec(e))return n[0].slice(0,7);if(n=kr.exec(e)||Yr.exec(e))return`#${n[1]}${n[1]}${n[2]}${n[2]}${n[3]}${n[3]}`;throw new Error(`[seemly/toHexString]: Invalid hex value ${e}.`)}return`#${e.slice(0,3).map(n=>te(n).toString(16).toUpperCase().padStart(2,"0")).join("")}`}function Gl(e=8){return Math.random().toString(16).slice(2,2+e)}function CE(e,n){const t=[];for(let r=0;r<e;++r)t.push(n);return t}function LE(e,n){const t=[];if(!n){for(let r=0;r<e;++r)t.push(r);return t}for(let r=0;r<e;++r)t.push(n(r));return t}async function PE(e){return new Promise(n=>{setTimeout(n,e)})}function Dt(e){return e.composedPath()[0]}const Ul={mousemoveoutside:new WeakMap,clickoutside:new WeakMap};function kl(e,n,t){if(e==="mousemoveoutside"){const r=i=>{n.contains(Dt(i))||t(i)};return{mousemove:r,touchstart:r}}else if(e==="clickoutside"){let r=!1;const i=u=>{r=!n.contains(Dt(u))},o=u=>{r&&(n.contains(Dt(u))||t(u))};return{mousedown:i,mouseup:o,touchstart:i,touchend:o}}return console.error(`[evtd/create-trap-handler]: name \`${e}\` is invalid. This could be a bug of evtd.`),{}}function No(e,n,t){const r=Ul[e];let i=r.get(n);i===void 0&&r.set(n,i=new WeakMap);let o=i.get(t);return o===void 0&&i.set(t,o=kl(e,n,t)),o}function jl(e,n,t,r){if(e==="mousemoveoutside"||e==="clickoutside"){const i=No(e,n,t);return Object.keys(i).forEach(o=>{se(o,document,i[o],r)}),!0}return!1}function Yl(e,n,t,r){if(e==="mousemoveoutside"||e==="clickoutside"){const i=No(e,n,t);return Object.keys(i).forEach(o=>{oe(o,document,i[o],r)}),!0}return!1}function ql(){if(typeof window=="undefined")return{on:()=>{},off:()=>{}};const e=new WeakMap,n=new WeakMap;function t(){e.set(this,!0)}function r(){e.set(this,!0),n.set(this,!0)}function i(b,x,R){const z=b[x];return b[x]=function(){return R.apply(b,arguments),z.apply(b,arguments)},b}function o(b,x){b[x]=Event.prototype[x]}const u=new WeakMap,s=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function f(){var b;return(b=u.get(this))!==null&&b!==void 0?b:null}function l(b,x){s!==void 0&&Object.defineProperty(b,"currentTarget",{configurable:!0,enumerable:!0,get:x!=null?x:s.get})}const c={bubble:{},capture:{}},d={};function h(){const b=function(x){const{type:R,eventPhase:z,bubbles:Y}=x,ee=Dt(x);if(z===2)return;const w=z===1?"capture":"bubble";let _=ee;const E=[];for(;_===null&&(_=window),E.push(_),_!==window;)_=_.parentNode||null;const L=c.capture[R],U=c.bubble[R];if(i(x,"stopPropagation",t),i(x,"stopImmediatePropagation",r),l(x,f),w==="capture"){if(L===void 0)return;for(let k=E.length-1;k>=0&&!e.has(x);--k){const X=E[k],K=L.get(X);if(K!==void 0){u.set(x,X);for(const le of K){if(n.has(x))break;le(x)}}if(k===0&&!Y&&U!==void 0){const le=U.get(X);if(le!==void 0)for(const st of le){if(n.has(x))break;st(x)}}}}else if(w==="bubble"){if(U===void 0)return;for(let k=0;k<E.length&&!e.has(x);++k){const X=E[k],K=U.get(X);if(K!==void 0){u.set(x,X);for(const le of K){if(n.has(x))break;le(x)}}}}o(x,"stopPropagation"),o(x,"stopImmediatePropagation"),l(x)};return b.displayName="evtdUnifiedHandler",b}function p(){const b=function(x){const{type:R,eventPhase:z}=x;if(z!==2)return;const Y=d[R];Y!==void 0&&Y.forEach(ee=>ee(x))};return b.displayName="evtdUnifiedWindowEventHandler",b}const m=h(),y=p();function g(b,x){const R=c[b];return R[x]===void 0&&(R[x]=new Map,window.addEventListener(x,m,b==="capture")),R[x]}function v(b){return d[b]===void 0&&(d[b]=new Set,window.addEventListener(b,y)),d[b]}function $(b,x){let R=b.get(x);return R===void 0&&b.set(x,R=new Set),R}function S(b,x,R,z){const Y=c[x][R];if(Y!==void 0){const ee=Y.get(b);if(ee!==void 0&&ee.has(z))return!0}return!1}function P(b,x){const R=d[b];return!!(R!==void 0&&R.has(x))}function j(b,x,R,z){let Y;if(typeof z=="object"&&z.once===!0?Y=L=>{W(b,x,Y,z),R(L)}:Y=R,jl(b,x,Y,z))return;const w=z===!0||typeof z=="object"&&z.capture===!0?"capture":"bubble",_=g(w,b),E=$(_,x);if(E.has(Y)||E.add(Y),x===window){const L=v(b);L.has(Y)||L.add(Y)}}function W(b,x,R,z){if(Yl(b,x,R,z))return;const ee=z===!0||typeof z=="object"&&z.capture===!0,w=ee?"capture":"bubble",_=g(w,b),E=$(_,x);if(x===window&&!S(x,ee?"bubble":"capture",b,R)&&P(b,R)){const U=d[b];U.delete(R),U.size===0&&(window.removeEventListener(b,y),d[b]=void 0)}E.has(R)&&E.delete(R),E.size===0&&_.delete(x),_.size===0&&(window.removeEventListener(b,m,w==="capture"),c[w][b]=void 0)}return{on:j,off:W}}const{on:se,off:oe}=ql();function Zr(e,n,t="default"){const r=n[t];if(r===void 0)throw new Error(`[vueuc/${e}]: slot[${t}] is empty.`);return r()}function Vr(e,n=!0,t=[]){return e.forEach(r=>{if(r!==null){if(typeof r!="object"){(typeof r=="string"||typeof r=="number")&&t.push(dl(String(r)));return}if(Array.isArray(r)){Vr(r,n,t);return}if(r.type===Ro){if(r.children===null)return;Array.isArray(r.children)&&Vr(r.children,n,t)}else r.type!==hl&&t.push(r)}}),t}function zo(e,n,t="default"){const r=n[t];if(r===void 0)throw new Error(`[vueuc/${e}]: slot[${t}] is empty.`);const i=Vr(r());if(i.length===1)return i[0];throw new Error(`[vueuc/${e}]: slot[${t}] should have exactly one child.`)}let vn=null;function Do(){if(vn===null&&(vn=document.getElementById("v-binder-view-measurer"),vn===null)){vn=document.createElement("div"),vn.id="v-binder-view-measurer";const{style:e}=vn;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(vn)}return vn.getBoundingClientRect()}function Xl(e,n){const t=Do();return{top:n,left:e,height:0,width:0,right:t.width-e,bottom:t.height-n}}function Jr(e){const n=e.getBoundingClientRect(),t=Do();return{left:n.left-t.left,top:n.top-t.top,bottom:t.height+t.top-n.bottom,right:t.width+t.left-n.right,width:n.width,height:n.height}}function Kl(e){return e.nodeType===9?null:e.parentNode}function Ho(e){if(e===null)return null;const n=Kl(e);if(n===null)return null;if(n.nodeType===9)return document;if(n.nodeType===1){const{overflow:t,overflowX:r,overflowY:i}=getComputedStyle(n);if(/(auto|scroll|overlay)/.test(t+i+r))return n}return Ho(n)}const FE=be({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var n;Oo("VBinder",(n=Bt())===null||n===void 0?void 0:n.proxy);const t=Gn("VBinder",null),r=B(null),i=v=>{r.value=v,t&&e.syncTargetWithParent&&t.setTargetRef(v)};let o=[];const u=()=>{let v=r.value;for(;v=Ho(v),v!==null;)o.push(v);for(const $ of o)se("scroll",$,d,!0)},s=()=>{for(const v of o)oe("scroll",v,d,!0);o=[]},f=new Set,l=v=>{f.size===0&&u(),f.has(v)||f.add(v)},c=v=>{f.has(v)&&f.delete(v),f.size===0&&s()},d=()=>{Fo(h)},h=()=>{f.forEach(v=>v())},p=new Set,m=v=>{p.size===0&&se("resize",window,g),p.has(v)||p.add(v)},y=v=>{p.has(v)&&p.delete(v),p.size===0&&oe("resize",window,g)},g=()=>{p.forEach(v=>v())};return He(()=>{oe("resize",window,g),s()}),{targetRef:r,setTargetRef:i,addScrollListener:l,removeScrollListener:c,addResizeListener:m,removeResizeListener:y}},render(){return Zr("binder",this.$slots)}});var BE=be({name:"Target",setup(){const{setTargetRef:e,syncTarget:n}=Gn("VBinder");return{syncTarget:n,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:n}=this;return e?So(zo("follower",this.$slots),[[n]]):zo("follower",this.$slots)}});const kn="@@mmoContext",WE={mounted(e,{value:n}){e[kn]={handler:void 0},typeof n=="function"&&(e[kn].handler=n,se("mousemoveoutside",e,n))},updated(e,{value:n}){const t=e[kn];typeof n=="function"?t.handler?t.handler!==n&&(oe("mousemoveoutside",e,t.handler),t.handler=n,se("mousemoveoutside",e,n)):(e[kn].handler=n,se("mousemoveoutside",e,n)):t.handler&&(oe("mousemoveoutside",e,t.handler),t.handler=void 0)},unmounted(e){const{handler:n}=e[kn];n&&oe("mousemoveoutside",e,n),e[kn].handler=void 0}},jn="@@coContext",NE={mounted(e,{value:n,modifiers:t}){e[jn]={handler:void 0},typeof n=="function"&&(e[jn].handler=n,se("clickoutside",e,n,{capture:t.capture}))},updated(e,{value:n,modifiers:t}){const r=e[jn];typeof n=="function"?r.handler?r.handler!==n&&(oe("clickoutside",e,r.handler,{capture:t.capture}),r.handler=n,se("clickoutside",e,n,{capture:t.capture})):(e[jn].handler=n,se("clickoutside",e,n,{capture:t.capture})):r.handler&&(oe("clickoutside",e,r.handler,{capture:t.capture}),r.handler=void 0)},unmounted(e,{modifiers:n}){const{handler:t}=e[jn];t&&oe("clickoutside",e,t,{capture:n.capture}),e[jn].handler=void 0}},Go=new Set;function zE(e,n){const t=`[vdirs/${e}]: ${n}`;Go.has(t)||Go.add(t)}function Zl(e,n){console.error(`[vdirs/${e}]: ${n}`)}class Vl{constructor(){this.elementZIndex=new Map,this.nextZIndex=2e3}get elementCount(){return this.elementZIndex.size}ensureZIndex(n,t){const{elementZIndex:r}=this;if(t!==void 0){n.style.zIndex=`${t}`,r.delete(n);return}const{nextZIndex:i}=this;r.has(n)&&r.get(n)+1===this.nextZIndex||(n.style.zIndex=`${i}`,r.set(n,i),this.nextZIndex=i+1,this.squashState())}unregister(n,t){const{elementZIndex:r}=this;r.has(n)?r.delete(n):t===void 0&&Zl("z-index-manager/unregister-element","Element not found when unregistering."),this.squashState()}squashState(){const{elementCount:n}=this;n||(this.nextZIndex=2e3),this.nextZIndex-n>2500&&this.rearrange()}rearrange(){const n=Array.from(this.elementZIndex.entries());n.sort((t,r)=>t[1]-r[1]),this.nextZIndex=2e3,n.forEach(t=>{const r=t[0],i=this.nextZIndex++;`${i}`!==r.style.zIndex&&(r.style.zIndex=`${i}`)})}}var Qr=new Vl;const Yn="@@ziContext",Jl={mounted(e,n){const{value:t={}}=n,{zIndex:r,enabled:i}=t;e[Yn]={enabled:!!i,initialized:!1},i&&(Qr.ensureZIndex(e,r),e[Yn].initialized=!0)},updated(e,n){const{value:t={}}=n,{zIndex:r,enabled:i}=t,o=e[Yn].enabled;i&&!o&&(Qr.ensureZIndex(e,r),e[Yn].initialized=!0),e[Yn].enabled=!!i},unmounted(e,n){if(!e[Yn].initialized)return;const{value:t={}}=n,{zIndex:r}=t;Qr.unregister(e,r)}};function Ql(e){const n=B(!!e.value);if(n.value)return Be(n);const t=en(e,r=>{r&&(n.value=!0,t())});return Be(n)}function qn(e){const n=ne(e),t=B(n.value);return en(n,r=>{t.value=r}),typeof e=="function"?t:{__v_isRef:!0,get value(){return t.value},set value(r){e.set(r)}}}function Ht(){return Bt()!==null}const dt=typeof window!="undefined";let Xn,ht;const ec=()=>{var e,n;Xn=dt?(n=(e=document)===null||e===void 0?void 0:e.fonts)===null||n===void 0?void 0:n.ready:void 0,ht=!1,Xn!==void 0?Xn.then(()=>{ht=!0}):ht=!0};ec();function nc(e){if(ht)return;let n=!1;dn(()=>{ht||Xn==null||Xn.then(()=>{n||e()})}),He(()=>{n=!0})}const pt=B(null);function Uo(e){if(e.clientX>0||e.clientY>0)pt.value={x:e.clientX,y:e.clientY};else{const{target:n}=e;if(n instanceof Element){const{left:t,top:r,width:i,height:o}=n.getBoundingClientRect();t>0||r>0?pt.value={x:t+i/2,y:r+o/2}:pt.value={x:0,y:0}}else pt.value=null}}let Gt=0,ko=!0;function DE(){if(!dt)return Be(B(null));Gt===0&&se("click",document,Uo,!0);const e=()=>{Gt+=1};return ko&&(ko=Ht())?(Wt(e),He(()=>{Gt-=1,Gt===0&&oe("click",document,Uo,!0)})):e(),Be(pt)}const tc=B(void 0);let Ut=0;function jo(){tc.value=Date.now()}let Yo=!0;function HE(e){if(!dt)return Be(B(!1));const n=B(!1);let t=null;function r(){t!==null&&window.clearTimeout(t)}function i(){r(),n.value=!0,t=window.setTimeout(()=>{n.value=!1},e)}Ut===0&&se("click",window,jo,!0);const o=()=>{Ut+=1,se("click",window,i,!0)};return Yo&&(Yo=Ht())?(Wt(o),He(()=>{Ut-=1,Ut===0&&oe("click",window,jo,!0),oe("click",window,i,!0),r()})):o(),Be(n)}let kt=0;const rc=typeof window!="undefined"&&window.matchMedia!==void 0,gn=B(null);let We,In;function jt(e){e.matches&&(gn.value="dark")}function Yt(e){e.matches&&(gn.value="light")}function ic(){We=window.matchMedia("(prefers-color-scheme: dark)"),In=window.matchMedia("(prefers-color-scheme: light)"),We.matches?gn.value="dark":In.matches?gn.value="light":gn.value=null,We.addEventListener?(We.addEventListener("change",jt),In.addEventListener("change",Yt)):We.addListener&&(We.addListener(jt),In.addListener(Yt))}function oc(){"removeEventListener"in We?(We.removeEventListener("change",jt),In.removeEventListener("change",Yt)):"removeListener"in We&&(We.removeListener(jt),In.removeListener(Yt)),We=void 0,In=void 0}let qo=!0;function GE(){return process.env.NODE_ENV!=="test"&&!rc?Be(gn):process.env.NODE_ENV==="test"&&window.matchMedia===void 0?Be(gn):(kt===0&&ic(),qo&&(qo=Ht())&&(Wt(()=>{kt+=1}),He(()=>{kt-=1,kt===0&&oc()})),Be(gn))}function UE(e,n){return en(e,t=>{t!==void 0&&(n.value=t)}),ne(()=>e.value===void 0?n.value:e.value)}function uc(){const e=B(!1);return dn(()=>{e.value=!0}),Be(e)}function kE(e,n){return ne(()=>{for(const t of n)if(e[t]!==void 0)return e[t];return e[n[n.length-1]]})}const Xo=(typeof window=="undefined"?!1:/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!window.MSStream;function jE(){return Xo}const ac={xs:0,s:640,m:1024,l:1280,xl:1536,"2xl":1920};function sc(e){return`(min-width: ${e}px)`}const vt={};function Ko(e=ac){if(!dt)return ne(()=>[]);if(typeof window.matchMedia!="function")return ne(()=>[]);const n=B({}),t=Object.keys(e),r=(i,o)=>{i.matches?n.value[o]=!0:n.value[o]=!1};return t.forEach(i=>{const o=e[i];let u,s;vt[o]===void 0?(u=window.matchMedia(sc(o)),u.addEventListener?u.addEventListener("change",f=>{s.forEach(l=>{l(f,i)})}):u.addListener&&u.addListener(f=>{s.forEach(l=>{l(f,i)})}),s=new Set,vt[o]={mql:u,cbs:s}):(u=vt[o].mql,s=vt[o].cbs),s.add(r),u.matches&&s.forEach(f=>{f(u,i)})}),He(()=>{t.forEach(i=>{const{cbs:o}=vt[e[i]];o.has(r)&&o.delete(r)})}),ne(()=>{const{value:i}=n;return t.filter(o=>i[o])})}function YE(e){if(!dt)return ne(()=>{});const n=e!==void 0?Ko(e):Ko();return ne(()=>{const{value:t}=n;if(t.length!==0)return t[t.length-1]})}function qE(e={},n){const t=pl({ctrl:!1,command:!1,win:!1,shift:!1,tab:!1}),{keydown:r,keyup:i}=e,o=f=>{switch(f.key){case"Control":t.ctrl=!0;break;case"Meta":t.command=!0,t.win=!0;break;case"Shift":t.shift=!0;break;case"Tab":t.tab=!0;break}r!==void 0&&Object.keys(r).forEach(l=>{if(l!==f.key)return;const c=r[l];if(typeof c=="function")c(f);else{const{stop:d=!1,prevent:h=!1}=c;d&&f.stopPropagation(),h&&f.preventDefault(),c.handler(f)}})},u=f=>{switch(f.key){case"Control":t.ctrl=!1;break;case"Meta":t.command=!1,t.win=!1;break;case"Shift":t.shift=!1;break;case"Tab":t.tab=!1;break}i!==void 0&&Object.keys(i).forEach(l=>{if(l!==f.key)return;const c=i[l];if(typeof c=="function")c(f);else{const{stop:d=!1,prevent:h=!1}=c;d&&f.stopPropagation(),h&&f.preventDefault(),c.handler(f)}})},s=()=>{(n===void 0||n.value)&&(se("keydown",document,o),se("keyup",document,u)),n!==void 0&&en(n,f=>{f?(se("keydown",document,o),se("keyup",document,u)):(oe("keydown",document,o),oe("keyup",document,u))})};return Ht()?(Wt(s),He(()=>{(n===void 0||n.value)&&(oe("keydown",document,o),oe("keyup",document,u))})):s(),Be(t)}const fc=typeof window=="undefined"?!1:Xo||window.safari!==void 0;function XE(){return fc}const Zo="@css-render/vue3-ssr";function lc(e,n){return`<style cssr-id="${e}">
|
|
2
2
|
${n}
|
|
3
|
-
</style>`}function cc(e,n,t){const{styles:r,ids:i}=t;i.has(e)||r!==null&&(i.add(e),r.push(lc(e,n)))}const dc=typeof document!="undefined";function qt(){if(dc)return;const e=Gn(Zo,null);if(e!==null)return{adapter:(n,t)=>cc(n,t,e),context:e}}function
|
|
3
|
+
</style>`}function cc(e,n,t){const{styles:r,ids:i}=t;i.has(e)||r!==null&&(i.add(e),r.push(lc(e,n)))}const dc=typeof document!="undefined";function qt(){if(dc)return;const e=Gn(Zo,null);if(e!==null)return{adapter:(n,t)=>cc(n,t,e),context:e}}function KE(e){const n=[],t={styles:n,ids:new Set};return e.provide(Zo,t),{collect(){const r=n.join(`
|
|
4
4
|
`);return n.length=0,r}}}function Vo(e,n){console.error(`[vueuc/${e}]: ${n}`)}function hc(e){let n=0;for(let t=0;t<e.length;++t)e[t]==="&"&&++n;return n}const Jo=/\s*,(?![^(]*\))\s*/g,pc=/\s+/g;function vc(e,n){const t=[];return n.split(Jo).forEach(r=>{let i=hc(r);if(i){if(i===1){e.forEach(u=>{t.push(r.replace("&",u))});return}}else{e.forEach(u=>{t.push((u&&u+" ")+r)});return}let o=[r];for(;i--;){const u=[];o.forEach(s=>{e.forEach(f=>{u.push(s.replace("&",f))})}),o=u}o.forEach(u=>t.push(u))}),t}function gc(e,n){const t=[];return n.split(Jo).forEach(r=>{e.forEach(i=>{t.push((i&&i+" ")+r)})}),t}function mc(e){let n=[""];return e.forEach(t=>{t=t&&t.trim(),t&&(t.includes("&")?n=vc(n,t):n=gc(n,t))}),n.join(", ").replace(pc," ")}function Qo(e){if(!e)return;const n=e.parentElement;n&&n.removeChild(e)}function Xt(e,n){return(n!=null?n:document.head).querySelector(`style[cssr-id="${e}"]`)}function _c(e){const n=document.createElement("style");return n.setAttribute("cssr-id",e),n}function Kt(e){return e?/^\s*@(s|m)/.test(e):!1}const bc=/[A-Z]/g;function eu(e){return e.replace(bc,n=>"-"+n.toLowerCase())}function xc(e,n=" "){return typeof e=="object"&&e!==null?` {
|
|
5
5
|
`+Object.entries(e).map(t=>n+` ${eu(t[0])}: ${t[1]};`).join(`
|
|
6
6
|
`)+`
|
|
@@ -12,7 +12,7 @@ ${i}
|
|
|
12
12
|
`);return}s=eu(s),f!=null&&u.push(` ${s}${xc(f)}`)}),e&&u.push("}"),u.join(`
|
|
13
13
|
`)}function ei(e,n,t){e&&e.forEach(r=>{if(Array.isArray(r))ei(r,n,t);else if(typeof r=="function"){const i=r(n);Array.isArray(i)?ei(i,n,t):i&&t(i)}else r&&t(r)})}function tu(e,n,t,r,i){const o=e.$;let u="";if(!o||typeof o=="string")Kt(o)?u=o:n.push(o);else if(typeof o=="function"){const l=o({context:r.context,props:i});Kt(l)?u=l:n.push(l)}else if(o.before&&o.before(r.context),!o.$||typeof o.$=="string")Kt(o.$)?u=o.$:n.push(o.$);else if(o.$){const l=o.$({context:r.context,props:i});Kt(l)?u=l:n.push(l)}const s=mc(n),f=nu(s,e.props,r,i);u?t.push(`${u} {`):f.length&&t.push(f),e.children&&ei(e.children,{context:r.context,props:i},l=>{if(typeof l=="string"){const c=nu(s,{raw:l},r,i);t.push(c)}else tu(l,n,t,r,i)}),n.pop(),u&&t.push("}"),o&&o.after&&o.after(r.context)}function wc(e,n,t){const r=[];return tu(e,[],r,n,t),r.join(`
|
|
14
14
|
|
|
15
|
-
`)}function $c(e){for(var n=0,t,r=0,i=e.length;i>=4;++r,i-=4)t=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,n=(t&65535)*1540483477+((t>>>16)*59797<<16)^(n&65535)*1540483477+((n>>>16)*59797<<16);switch(i){case 3:n^=(e.charCodeAt(r+2)&255)<<16;case 2:n^=(e.charCodeAt(r+1)&255)<<8;case 1:n^=e.charCodeAt(r)&255,n=(n&65535)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,n=(n&65535)*1540483477+((n>>>16)*59797<<16),((n^n>>>15)>>>0).toString(36)}typeof window!="undefined"&&(window.__cssrContext={});function Ac(e,n,t,r){const{els:i}=n;if(t===void 0)i.forEach(Qo),n.els=[];else{const o=Xt(t,r);o&&i.includes(o)&&(Qo(o),n.els=i.filter(u=>u!==o))}}function ru(e,n){e.push(n)}function Ec(e,n,t,r,i,o,u,s,f){let l;if(t===void 0&&(l=n.render(r),t=$c(l)),f){f.adapter(t,l!=null?l:n.render(r));return}s===void 0&&(s=document.head);const c=Xt(t,s);if(c!==null&&!o)return c;const d=c!=null?c:_c(t);if(l===void 0&&(l=n.render(r)),d.textContent=l,c!==null)return c;if(u){const h=s.querySelector(`meta[name="${u}"]`);if(h)return s.insertBefore(d,h),ru(n.els,d),d}return i?s.insertBefore(d,s.querySelector("style, link")):s.appendChild(d),ru(n.els,d),d}function Tc(e){return wc(this,this.instance,e)}function Rc(e={}){const{id:n,ssr:t,props:r,head:i=!1,force:o=!1,anchorMetaName:u,parent:s}=e;return Ec(this.instance,this,n,r,i,o,u,s,t)}function Oc(e={}){const{id:n,parent:t}=e;Ac(this.instance,this,n,t)}const Zt=function(e,n,t,r){return{instance:e,$:n,props:t,children:r,els:[],render:Tc,mount:Rc,unmount:Oc}},Sc=function(e,n,t,r){return Array.isArray(n)?Zt(e,{$:null},null,n):Array.isArray(t)?Zt(e,n,null,t):Array.isArray(r)?Zt(e,n,t,r):Zt(e,n,t,null)};function Ic(e={}){const n={c:(...t)=>Sc(n,...t),use:(t,...r)=>t.install(n,...r),find:Xt,context:{},config:e};return n}function KE(e,n){if(e===void 0)return!1;if(n){const{context:{ids:t}}=n;return t.has(e)}return Xt(e)!==null}const{c:je}=Ic(),Vt="vueuc-style";function iu(e){return e&-e}class ou{constructor(n,t){this.l=n,this.min=t;const r=new Array(n+1);for(let i=0;i<n+1;++i)r[i]=0;this.ft=r}add(n,t){if(t===0)return;const{l:r,ft:i}=this;for(n+=1;n<=r;)i[n]+=t,n+=iu(n)}get(n){return this.sum(n+1)-this.sum(n)}sum(n){if(n===void 0&&(n=this.l),n<=0)return 0;const{ft:t,min:r,l:i}=this;if(n>i)throw new Error("[FinweckTree.sum]: `i` is larger than length.");let o=n*r;for(;n>0;)o+=t[n],n-=iu(n);return o}getBound(n){let t=0,r=this.l;for(;r>t;){const i=Math.floor((t+r)/2),o=this.sum(i);if(o>n){r=i;continue}else if(o<n){if(t===i)return this.sum(t+1)<=n?t+1:i;t=i}else return i}return t}}function uu(e){return typeof e=="string"?document.querySelector(e):e()}var Mc=be({name:"LazyTeleport",props:{to:{type:[String,Object],default:void 0},disabled:Boolean,show:{type:Boolean,required:!0}},setup(e){return{showTeleport:Ql(Tn(e,"show")),mergedTo:ne(()=>{const{to:n}=e;return n!=null?n:"body"})}},render(){return this.showTeleport?this.disabled?Zr("lazy-teleport",this.$slots):de(vl,{disabled:this.disabled,to:this.mergedTo},Zr("lazy-teleport",this.$slots)):null}});const Jt={top:"bottom",bottom:"top",left:"right",right:"left"},au={start:"end",center:"center",end:"start"},ni={top:"height",bottom:"height",left:"width",right:"width"},Cc={"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"},Lc={"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"},Pc={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},su={top:!0,bottom:!1,left:!0,right:!1},fu={top:"end",bottom:"start",left:"end",right:"start"};function Fc(e,n,t,r,i,o){if(!i||o)return{placement:e,top:0,left:0};const[u,s]=e.split("-");let f=s!=null?s:"center",l={top:0,left:0};const c=(p,m,y)=>{let g=0,v=0;const $=t[p]-n[m]-n[p];return $>0&&r&&(y?v=su[m]?$:-$:g=su[m]?$:-$),{left:g,top:v}},d=u==="left"||u==="right";if(f!=="center"){const p=Pc[e],m=Jt[p],y=ni[p];if(t[y]>n[y]){if(n[p]+n[y]<t[y]){const g=(t[y]-n[y])/2;n[p]<g||n[m]<g?n[p]<n[m]?(f=au[s],l=c(y,m,d)):l=c(y,p,d):f="center"}}else t[y]<n[y]&&n[m]<0&&n[p]>n[m]&&(f=au[s])}else{const p=u==="bottom"||u==="top"?"left":"top",m=Jt[p],y=ni[p],g=(t[y]-n[y])/2;(n[p]<g||n[m]<g)&&(n[p]>n[m]?(f=fu[p],l=c(y,p,d)):(f=fu[m],l=c(y,m,d)))}let h=u;return n[u]<t[ni[u]]&&n[u]<n[Jt[u]]&&(h=Jt[u]),{placement:f!=="center"?`${h}-${f}`:h,left:l.left,top:l.top}}function Bc(e,n){return n?Lc[e]:Cc[e]}function Wc(e,n,t,r,i,o){if(o)switch(e){case"bottom-start":return{top:`${Math.round(t.top-n.top+t.height)}px`,left:`${Math.round(t.left-n.left)}px`,transform:"translateY(-100%)"};case"bottom-end":return{top:`${Math.round(t.top-n.top+t.height)}px`,left:`${Math.round(t.left-n.left+t.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top-start":return{top:`${Math.round(t.top-n.top)}px`,left:`${Math.round(t.left-n.left)}px`,transform:""};case"top-end":return{top:`${Math.round(t.top-n.top)}px`,left:`${Math.round(t.left-n.left+t.width)}px`,transform:"translateX(-100%)"};case"right-start":return{top:`${Math.round(t.top-n.top)}px`,left:`${Math.round(t.left-n.left+t.width)}px`,transform:"translateX(-100%)"};case"right-end":return{top:`${Math.round(t.top-n.top+t.height)}px`,left:`${Math.round(t.left-n.left+t.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"left-start":return{top:`${Math.round(t.top-n.top)}px`,left:`${Math.round(t.left-n.left)}px`,transform:""};case"left-end":return{top:`${Math.round(t.top-n.top+t.height)}px`,left:`${Math.round(t.left-n.left)}px`,transform:"translateY(-100%)"};case"top":return{top:`${Math.round(t.top-n.top)}px`,left:`${Math.round(t.left-n.left+t.width/2)}px`,transform:"translateX(-50%)"};case"right":return{top:`${Math.round(t.top-n.top+t.height/2)}px`,left:`${Math.round(t.left-n.left+t.width)}px`,transform:"translateX(-100%) translateY(-50%)"};case"left":return{top:`${Math.round(t.top-n.top+t.height/2)}px`,left:`${Math.round(t.left-n.left)}px`,transform:"translateY(-50%)"};case"bottom":default:return{top:`${Math.round(t.top-n.top+t.height)}px`,left:`${Math.round(t.left-n.left+t.width/2)}px`,transform:"translateX(-50%) translateY(-100%)"}}switch(e){case"bottom-start":return{top:`${Math.round(t.top-n.top+t.height+r)}px`,left:`${Math.round(t.left-n.left+i)}px`,transform:""};case"bottom-end":return{top:`${Math.round(t.top-n.top+t.height+r)}px`,left:`${Math.round(t.left-n.left+t.width+i)}px`,transform:"translateX(-100%)"};case"top-start":return{top:`${Math.round(t.top-n.top+r)}px`,left:`${Math.round(t.left-n.left+i)}px`,transform:"translateY(-100%)"};case"top-end":return{top:`${Math.round(t.top-n.top+r)}px`,left:`${Math.round(t.left-n.left+t.width+i)}px`,transform:"translateX(-100%) translateY(-100%)"};case"right-start":return{top:`${Math.round(t.top-n.top+r)}px`,left:`${Math.round(t.left-n.left+t.width+i)}px`,transform:""};case"right-end":return{top:`${Math.round(t.top-n.top+t.height+r)}px`,left:`${Math.round(t.left-n.left+t.width+i)}px`,transform:"translateY(-100%)"};case"left-start":return{top:`${Math.round(t.top-n.top+r)}px`,left:`${Math.round(t.left-n.left+i)}px`,transform:"translateX(-100%)"};case"left-end":return{top:`${Math.round(t.top-n.top+t.height+r)}px`,left:`${Math.round(t.left-n.left+i)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top":return{top:`${Math.round(t.top-n.top+r)}px`,left:`${Math.round(t.left-n.left+t.width/2+i)}px`,transform:"translateY(-100%) translateX(-50%)"};case"right":return{top:`${Math.round(t.top-n.top+t.height/2+r)}px`,left:`${Math.round(t.left-n.left+t.width+i)}px`,transform:"translateY(-50%)"};case"left":return{top:`${Math.round(t.top-n.top+t.height/2+r)}px`,left:`${Math.round(t.left-n.left+i)}px`,transform:"translateY(-50%) translateX(-100%)"};case"bottom":default:return{top:`${Math.round(t.top-n.top+t.height+r)}px`,left:`${Math.round(t.left-n.left+t.width/2+i)}px`,transform:"translateX(-50%)"}}}const Nc=je([je(".v-binder-follower-container",{position:"absolute",left:"0",right:"0",top:"0",height:"0",pointerEvents:"none",zIndex:"auto"}),je(".v-binder-follower-content",{position:"absolute",zIndex:"auto"},[je("> *",{pointerEvents:"all"})])]);var ZE=be({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){const n=Gn("VBinder"),t=qn(()=>e.enabled!==void 0?e.enabled:e.show),r=B(null),i=B(null),o=()=>{const{syncTrigger:h}=e;h.includes("scroll")&&n.addScrollListener(f),h.includes("resize")&&n.addResizeListener(f)},u=()=>{n.removeScrollListener(f),n.removeResizeListener(f)};dn(()=>{t.value&&(f(),o())});const s=qt();Nc.mount({id:"vueuc/binder",head:!0,anchorMetaName:Vt,ssr:s}),He(()=>{u()}),nc(()=>{t.value&&f()});const f=()=>{if(!t.value)return;const h=r.value;if(h===null)return;const p=n.targetRef,{x:m,y,overlap:g}=e,v=m!==void 0&&y!==void 0?Xl(m,y):Jr(p);h.style.setProperty("--v-target-width",`${Math.round(v.width)}px`),h.style.setProperty("--v-target-height",`${Math.round(v.height)}px`);const{width:$,minWidth:S,placement:P,internalShift:j,flip:W}=e;h.setAttribute("v-placement",P),g?h.setAttribute("v-overlap",""):h.removeAttribute("v-overlap");const{style:b}=h;$==="target"?b.width=`${v.width}px`:$!==void 0?b.width=$:b.width="",S==="target"?b.minWidth=`${v.width}px`:S!==void 0?b.minWidth=S:b.minWidth="";const x=Jr(h),R=Jr(i.value),{left:z,top:Y,placement:ee}=Fc(P,v,x,j,W,g),w=Bc(ee,g),{left:_,top:E,transform:L}=Wc(ee,R,v,Y,z,g);h.setAttribute("v-placement",ee),h.style.setProperty("--v-offset-left",`${Math.round(z)}px`),h.style.setProperty("--v-offset-top",`${Math.round(Y)}px`),h.style.transform=`translateX(${_}) translateY(${E}) ${L}`,h.style.setProperty("--v-transform-origin",w),h.style.transformOrigin=w};en(t,h=>{h?(o(),l()):u()});const l=()=>{Io().then(f).catch(h=>console.error(h))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(h=>{en(Tn(e,h),f)}),["teleportDisabled"].forEach(h=>{en(Tn(e,h),l)}),en(Tn(e,"syncTrigger"),h=>{h.includes("resize")?n.addResizeListener(f):n.removeResizeListener(f),h.includes("scroll")?n.addScrollListener(f):n.removeScrollListener(f)});const c=uc(),d=qn(()=>{const{to:h}=e;if(h!==void 0)return h;c.value});return{VBinder:n,mergedEnabled:t,offsetContainerRef:i,followerRef:r,mergedTo:d,syncPosition:f}},render(){return de(Mc,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,n;const t=de("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[de("div",{class:"v-binder-follower-content",ref:"followerRef"},(n=(e=this.$slots).default)===null||n===void 0?void 0:n.call(e))]);return this.zindexable?So(t,[[Jl,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):t}})}}),Mn=[],zc=function(){return Mn.some(function(e){return e.activeTargets.length>0})},Dc=function(){return Mn.some(function(e){return e.skippedTargets.length>0})},lu="ResizeObserver loop completed with undelivered notifications.",Hc=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:lu}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=lu),window.dispatchEvent(e)},gt;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(gt||(gt={}));var Cn=function(e){return Object.freeze(e)},Gc=function(){function e(n,t){this.inlineSize=n,this.blockSize=t,Cn(this)}return e}(),cu=function(){function e(n,t,r,i){return this.x=n,this.y=t,this.width=r,this.height=i,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Cn(this)}return e.prototype.toJSON=function(){var n=this,t=n.x,r=n.y,i=n.top,o=n.right,u=n.bottom,s=n.left,f=n.width,l=n.height;return{x:t,y:r,top:i,right:o,bottom:u,left:s,width:f,height:l}},e.fromRect=function(n){return new e(n.x,n.y,n.width,n.height)},e}(),ti=function(e){return e instanceof SVGElement&&"getBBox"in e},du=function(e){if(ti(e)){var n=e.getBBox(),t=n.width,r=n.height;return!t&&!r}var i=e,o=i.offsetWidth,u=i.offsetHeight;return!(o||u||e.getClientRects().length)},hu=function(e){var n;if(e instanceof Element)return!0;var t=(n=e==null?void 0:e.ownerDocument)===null||n===void 0?void 0:n.defaultView;return!!(t&&e instanceof t.Element)},Uc=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},mt=typeof window!="undefined"?window:{},Qt=new WeakMap,pu=/auto|scroll/,kc=/^tb|vertical/,jc=/msie|trident/i.test(mt.navigator&&mt.navigator.userAgent),Ye=function(e){return parseFloat(e||"0")},Kn=function(e,n,t){return e===void 0&&(e=0),n===void 0&&(n=0),t===void 0&&(t=!1),new Gc((t?n:e)||0,(t?e:n)||0)},vu=Cn({devicePixelContentBoxSize:Kn(),borderBoxSize:Kn(),contentBoxSize:Kn(),contentRect:new cu(0,0,0,0)}),gu=function(e,n){if(n===void 0&&(n=!1),Qt.has(e)&&!n)return Qt.get(e);if(du(e))return Qt.set(e,vu),vu;var t=getComputedStyle(e),r=ti(e)&&e.ownerSVGElement&&e.getBBox(),i=!jc&&t.boxSizing==="border-box",o=kc.test(t.writingMode||""),u=!r&&pu.test(t.overflowY||""),s=!r&&pu.test(t.overflowX||""),f=r?0:Ye(t.paddingTop),l=r?0:Ye(t.paddingRight),c=r?0:Ye(t.paddingBottom),d=r?0:Ye(t.paddingLeft),h=r?0:Ye(t.borderTopWidth),p=r?0:Ye(t.borderRightWidth),m=r?0:Ye(t.borderBottomWidth),y=r?0:Ye(t.borderLeftWidth),g=d+l,v=f+c,$=y+p,S=h+m,P=s?e.offsetHeight-S-e.clientHeight:0,j=u?e.offsetWidth-$-e.clientWidth:0,W=i?g+$:0,b=i?v+S:0,x=r?r.width:Ye(t.width)-W-j,R=r?r.height:Ye(t.height)-b-P,z=x+g+j+$,Y=R+v+P+S,ee=Cn({devicePixelContentBoxSize:Kn(Math.round(x*devicePixelRatio),Math.round(R*devicePixelRatio),o),borderBoxSize:Kn(z,Y,o),contentBoxSize:Kn(x,R,o),contentRect:new cu(d,f,x,R)});return Qt.set(e,ee),ee},mu=function(e,n,t){var r=gu(e,t),i=r.borderBoxSize,o=r.contentBoxSize,u=r.devicePixelContentBoxSize;switch(n){case gt.DEVICE_PIXEL_CONTENT_BOX:return u;case gt.BORDER_BOX:return i;default:return o}},Yc=function(){function e(n){var t=gu(n);this.target=n,this.contentRect=t.contentRect,this.borderBoxSize=Cn([t.borderBoxSize]),this.contentBoxSize=Cn([t.contentBoxSize]),this.devicePixelContentBoxSize=Cn([t.devicePixelContentBoxSize])}return e}(),_u=function(e){if(du(e))return 1/0;for(var n=0,t=e.parentNode;t;)n+=1,t=t.parentNode;return n},qc=function(){var e=1/0,n=[];Mn.forEach(function(u){if(u.activeTargets.length!==0){var s=[];u.activeTargets.forEach(function(l){var c=new Yc(l.target),d=_u(l.target);s.push(c),l.lastReportedSize=mu(l.target,l.observedBox),d<e&&(e=d)}),n.push(function(){u.callback.call(u.observer,s,u.observer)}),u.activeTargets.splice(0,u.activeTargets.length)}});for(var t=0,r=n;t<r.length;t++){var i=r[t];i()}return e},bu=function(e){Mn.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(i){i.isActive()&&(_u(i.target)>e?t.activeTargets.push(i):t.skippedTargets.push(i))})})},Xc=function(){var e=0;for(bu(e);zc();)e=qc(),bu(e);return Dc()&&Hc(),e>0},ri,xu=[],Kc=function(){return xu.splice(0).forEach(function(e){return e()})},Zc=function(e){if(!ri){var n=0,t=document.createTextNode(""),r={characterData:!0};new MutationObserver(function(){return Kc()}).observe(t,r),ri=function(){t.textContent="".concat(n?n--:n++)}}xu.push(e),ri()},Vc=function(e){Zc(function(){requestAnimationFrame(e)})},er=0,Jc=function(){return!!er},Qc=250,ed={attributes:!0,characterData:!0,childList:!0,subtree:!0},yu=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],wu=function(e){return e===void 0&&(e=0),Date.now()+e},ii=!1,nd=function(){function e(){var n=this;this.stopped=!0,this.listener=function(){return n.schedule()}}return e.prototype.run=function(n){var t=this;if(n===void 0&&(n=Qc),!ii){ii=!0;var r=wu(n);Vc(function(){var i=!1;try{i=Xc()}finally{if(ii=!1,n=r-wu(),!Jc())return;i?t.run(1e3):n>0?t.run(n):t.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var n=this,t=function(){return n.observer&&n.observer.observe(document.body,ed)};document.body?t():mt.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var n=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),yu.forEach(function(t){return mt.addEventListener(t,n.listener,!0)}))},e.prototype.stop=function(){var n=this;this.stopped||(this.observer&&this.observer.disconnect(),yu.forEach(function(t){return mt.removeEventListener(t,n.listener,!0)}),this.stopped=!0)},e}(),oi=new nd,$u=function(e){!er&&e>0&&oi.start(),er+=e,!er&&oi.stop()},td=function(e){return!ti(e)&&!Uc(e)&&getComputedStyle(e).display==="inline"},rd=function(){function e(n,t){this.target=n,this.observedBox=t||gt.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var n=mu(this.target,this.observedBox,!0);return td(this.target)&&(this.lastReportedSize=n),this.lastReportedSize.inlineSize!==n.inlineSize||this.lastReportedSize.blockSize!==n.blockSize},e}(),id=function(){function e(n,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=n,this.callback=t}return e}(),nr=new WeakMap,Au=function(e,n){for(var t=0;t<e.length;t+=1)if(e[t].target===n)return t;return-1},tr=function(){function e(){}return e.connect=function(n,t){var r=new id(n,t);nr.set(n,r)},e.observe=function(n,t,r){var i=nr.get(n),o=i.observationTargets.length===0;Au(i.observationTargets,t)<0&&(o&&Mn.push(i),i.observationTargets.push(new rd(t,r&&r.box)),$u(1),oi.schedule())},e.unobserve=function(n,t){var r=nr.get(n),i=Au(r.observationTargets,t),o=r.observationTargets.length===1;i>=0&&(o&&Mn.splice(Mn.indexOf(r),1),r.observationTargets.splice(i,1),$u(-1))},e.disconnect=function(n){var t=this,r=nr.get(n);r.observationTargets.slice().forEach(function(i){return t.unobserve(n,i.target)}),r.activeTargets.splice(0,r.activeTargets.length)},e}(),od=function(){function e(n){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof n!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");tr.connect(this,n)}return e.prototype.observe=function(n,t){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!hu(n))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");tr.observe(this,n,t)},e.prototype.unobserve=function(n){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!hu(n))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");tr.unobserve(this,n)},e.prototype.disconnect=function(){tr.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class ud{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window!="undefined"&&window.ResizeObserver||od)(this.handleResize),this.elHandlersMap=new Map}handleResize(n){for(const t of n){const r=this.elHandlersMap.get(t.target);r!==void 0&&r(t)}}registerHandler(n,t){this.elHandlersMap.set(n,t),this.observer.observe(n)}unregisterHandler(n){this.elHandlersMap.has(n)&&(this.elHandlersMap.delete(n),this.observer.unobserve(n))}}var Eu=new ud,rr=be({name:"ResizeObserver",props:{onResize:Function},setup(e){let n=!1;const t=Bt().proxy;function r(i){const{onResize:o}=e;o!==void 0&&o(i)}dn(()=>{const i=t.$el;if(i===void 0){Vo("resize-observer","$el does not exist.");return}if(i.nextElementSibling!==i.nextSibling&&i.nodeType===3&&i.nodeValue!==""){Vo("resize-observer","$el can not be observed (it may be a text node).");return}i.nextElementSibling!==null&&(Eu.registerHandler(i.nextElementSibling,r),n=!0)}),He(()=>{n&&Eu.unregisterHandler(t.$el.nextElementSibling)})},render(){return lt(this.$slots,"default")}});let ir;function ad(){return typeof document=="undefined"?!1:(ir===void 0&&("matchMedia"in window?ir=window.matchMedia("(pointer:coarse)").matches:ir=!1),ir)}let ui;function Tu(){return typeof document=="undefined"?1:(ui===void 0&&(ui="chrome"in window?window.devicePixelRatio:1),ui)}const Ru="VVirtualListXScroll";function sd({columnsRef:e,renderColRef:n,renderItemWithColsRef:t}){const r=B(0),i=B(0),o=ne(()=>{const l=e.value;if(l.length===0)return null;const c=new ou(l.length,0);return l.forEach((d,h)=>{c.add(h,d.width)}),c}),u=qn(()=>{const l=o.value;return l!==null?Math.max(l.getBound(i.value)-1,0):0}),s=l=>{const c=o.value;return c!==null?c.sum(l):0},f=qn(()=>{const l=o.value;return l!==null?Math.min(l.getBound(i.value+r.value)+1,e.value.length-1):0});return Oo(Ru,{startIndexRef:u,endIndexRef:f,columnsRef:e,renderColRef:n,renderItemWithColsRef:t,getLeft:s}),{listWidthRef:r,scrollLeftRef:i}}const Ou=be({name:"VirtualListRow",props:{index:{type:Number,required:!0},item:{type:Object,required:!0}},setup(){const{startIndexRef:e,endIndexRef:n,columnsRef:t,getLeft:r,renderColRef:i,renderItemWithColsRef:o}=Gn(Ru);return{startIndex:e,endIndex:n,columns:t,renderCol:i,renderItemWithCols:o,getLeft:r}},render(){const{startIndex:e,endIndex:n,columns:t,renderCol:r,renderItemWithCols:i,getLeft:o,item:u}=this;if(i!=null)return i({itemIndex:this.index,startColIndex:e,endColIndex:n,allColumns:t,item:u,getLeft:o});if(r!=null){const s=[];for(let f=e;f<=n;++f){const l=t[f];s.push(r({column:l,left:o(f),item:u}))}return s}return null}}),fd=je(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[je("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[je("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]);var ld=be({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){const n=qt();fd.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:Vt,ssr:n}),dn(()=>{const{defaultScrollIndex:w,defaultScrollKey:_}=e;w!=null?g({index:w}):_!=null&&g({key:_})});let t=!1,r=!1;gl(()=>{if(t=!1,!r){r=!0;return}g({top:p.value,left:u.value})}),ml(()=>{t=!0,r||(r=!0)});const i=qn(()=>{if(e.renderCol==null&&e.renderItemWithCols==null||e.columns.length===0)return;let w=0;return e.columns.forEach(_=>{w+=_.width}),w}),o=ne(()=>{const w=new Map,{keyField:_}=e;return e.items.forEach((E,L)=>{w.set(E[_],L)}),w}),{scrollLeftRef:u,listWidthRef:s}=sd({columnsRef:Tn(e,"columns"),renderColRef:Tn(e,"renderCol"),renderItemWithColsRef:Tn(e,"renderItemWithCols")}),f=B(null),l=B(void 0),c=new Map,d=ne(()=>{const{items:w,itemSize:_,keyField:E}=e,L=new ou(w.length,_);return w.forEach((U,k)=>{const X=U[E],K=c.get(X);K!==void 0&&L.add(k,K)}),L}),h=B(0),p=B(0),m=qn(()=>Math.max(d.value.getBound(p.value-Bo(e.paddingTop))-1,0)),y=ne(()=>{const{value:w}=l;if(w===void 0)return[];const{items:_,itemSize:E}=e,L=m.value,U=Math.min(L+Math.ceil(w/E+1),_.length-1),k=[];for(let X=L;X<=U;++X)k.push(_[X]);return k}),g=(w,_)=>{if(typeof w=="number"){P(w,_,"auto");return}const{left:E,top:L,index:U,key:k,position:X,behavior:K,debounce:le=!0}=w;if(E!==void 0||L!==void 0)P(E,L,K);else if(U!==void 0)S(U,K,le);else if(k!==void 0){const st=o.value.get(k);st!==void 0&&S(st,K,le)}else X==="bottom"?P(0,Number.MAX_SAFE_INTEGER,K):X==="top"&&P(0,0,K)};let v,$=null;function S(w,_,E){const{value:L}=d,U=L.sum(w)+Bo(e.paddingTop);if(!E)f.value.scrollTo({left:0,top:U,behavior:_});else{v=w,$!==null&&window.clearTimeout($),$=window.setTimeout(()=>{v=void 0,$=null},16);const{scrollTop:k,offsetHeight:X}=f.value;if(U>k){const K=L.get(w);U+K<=k+X||f.value.scrollTo({left:0,top:U+K-X,behavior:_})}else f.value.scrollTo({left:0,top:U,behavior:_})}}function P(w,_,E){f.value.scrollTo({left:w,top:_,behavior:E})}function j(w,_){var E,L,U;if(t||e.ignoreItemResize||ee(_.target))return;const{value:k}=d,X=o.value.get(w),K=k.get(X),le=(U=(L=(E=_.borderBoxSize)===null||E===void 0?void 0:E[0])===null||L===void 0?void 0:L.blockSize)!==null&&U!==void 0?U:_.contentRect.height;if(le===K)return;le-e.itemSize===0?c.delete(w):c.set(w,le-e.itemSize);const ft=le-K;if(ft===0)return;k.add(X,ft);const En=f.value;if(En!=null){if(v===void 0){const Nr=k.sum(X);En.scrollTop>Nr&&En.scrollBy(0,ft)}else if(X<v)En.scrollBy(0,ft);else if(X===v){const Nr=k.sum(X);le+Nr>En.scrollTop+En.offsetHeight&&En.scrollBy(0,ft)}Y()}h.value++}const W=!ad();let b=!1;function x(w){var _;(_=e.onScroll)===null||_===void 0||_.call(e,w),(!W||!b)&&Y()}function R(w){var _;if((_=e.onWheel)===null||_===void 0||_.call(e,w),W){const E=f.value;if(E!=null){if(w.deltaX===0&&(E.scrollTop===0&&w.deltaY<=0||E.scrollTop+E.offsetHeight>=E.scrollHeight&&w.deltaY>=0))return;w.preventDefault(),E.scrollTop+=w.deltaY/Tu(),E.scrollLeft+=w.deltaX/Tu(),Y(),b=!0,Fo(()=>{b=!1})}}}function z(w){if(t||ee(w.target))return;if(e.renderCol==null&&e.renderItemWithCols==null){if(w.contentRect.height===l.value)return}else if(w.contentRect.height===l.value&&w.contentRect.width===s.value)return;l.value=w.contentRect.height,s.value=w.contentRect.width;const{onResize:_}=e;_!==void 0&&_(w)}function Y(){const{value:w}=f;w!=null&&(p.value=w.scrollTop,u.value=w.scrollLeft)}function ee(w){let _=w;for(;_!==null;){if(_.style.display==="none")return!0;_=_.parentElement}return!1}return{listHeight:l,listStyle:{overflow:"auto"},keyToIndex:o,itemsStyle:ne(()=>{const{itemResizable:w}=e,_=ct(d.value.sum());return h.value,[e.itemsStyle,{boxSizing:"content-box",width:ct(i.value),height:w?"":_,minHeight:w?_:"",paddingTop:ct(e.paddingTop),paddingBottom:ct(e.paddingBottom)}]}),visibleItemsStyle:ne(()=>(h.value,{transform:`translateY(${ct(d.value.sum(m.value))})`})),viewportItems:y,listElRef:f,itemsElRef:B(null),scrollTo:g,handleListResize:z,handleListScroll:x,handleListWheel:R,handleItemResize:j}},render(){const{itemResizable:e,keyField:n,keyToIndex:t,visibleItemsTag:r}=this;return de(rr,{onResize:this.handleListResize},{default:()=>{var i,o;return de("div",Dr(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[this.items.length!==0?de("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[de(r,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>{const{renderCol:u,renderItemWithCols:s}=this;return this.viewportItems.map(f=>{const l=f[n],c=t.get(l),d=u!=null?de(Ou,{index:c,item:f}):void 0,h=s!=null?de(Ou,{index:c,item:f}):void 0,p=this.$slots.default({item:f,renderedCols:d,renderedItemWithCols:h,index:c})[0];return e?de(rr,{key:l,onResize:m=>this.handleItemResize(l,m)},{default:()=>p}):(p.key=l,p)})}})]):(o=(i=this.$slots).empty)===null||o===void 0?void 0:o.call(i)])}})}});const cd=je(".v-x-scroll",{overflow:"auto",scrollbarWidth:"none"},[je("&::-webkit-scrollbar",{width:0,height:0})]);var VE=be({name:"XScroll",props:{disabled:Boolean,onScroll:Function},setup(){const e=B(null);function n(i){!(i.currentTarget.offsetWidth<i.currentTarget.scrollWidth)||i.deltaY===0||(i.currentTarget.scrollLeft+=i.deltaY+i.deltaX,i.preventDefault())}const t=qt();return cd.mount({id:"vueuc/x-scroll",head:!0,anchorMetaName:Vt,ssr:t}),Object.assign({selfRef:e,handleWheel:n},{scrollTo(...i){var o;(o=e.value)===null||o===void 0||o.scrollTo(...i)}})},render(){return de("div",{ref:"selfRef",onScroll:this.onScroll,onWheel:this.disabled?void 0:this.handleWheel,class:"v-x-scroll"},this.$slots)}});const tn="v-hidden",dd=je("[v-hidden]",{display:"none!important"});var JE=be({name:"Overflow",props:{getCounter:Function,getTail:Function,updateCounter:Function,onUpdateCount:Function,onUpdateOverflow:Function},setup(e,{slots:n}){const t=B(null),r=B(null);function i(u){const{value:s}=t,{getCounter:f,getTail:l}=e;let c;if(f!==void 0?c=f():c=r.value,!s||!c)return;c.hasAttribute(tn)&&c.removeAttribute(tn);const{children:d}=s;if(u.showAllItemsBeforeCalculate)for(const S of d)S.hasAttribute(tn)&&S.removeAttribute(tn);const h=s.offsetWidth,p=[],m=n.tail?l==null?void 0:l():null;let y=m?m.offsetWidth:0,g=!1;const v=s.children.length-(n.tail?1:0);for(let S=0;S<v-1;++S){if(S<0)continue;const P=d[S];if(g){P.hasAttribute(tn)||P.setAttribute(tn,"");continue}else P.hasAttribute(tn)&&P.removeAttribute(tn);const j=P.offsetWidth;if(y+=j,p[S]=j,y>h){const{updateCounter:W}=e;for(let b=S;b>=0;--b){const x=v-1-b;W!==void 0?W(x):c.textContent=`${x}`;const R=c.offsetWidth;if(y-=p[b],y+R<=h||b===0){g=!0,S=b-1,m&&(S===-1?(m.style.maxWidth=`${h-R}px`,m.style.boxSizing="border-box"):m.style.maxWidth="");const{onUpdateCount:z}=e;z&&z(x);break}}}}const{onUpdateOverflow:$}=e;g?$!==void 0&&$(!0):($!==void 0&&$(!1),c.setAttribute(tn,""))}const o=qt();return dd.mount({id:"vueuc/overflow",head:!0,anchorMetaName:Vt,ssr:o}),dn(()=>i({showAllItemsBeforeCalculate:!1})),{selfRef:t,counterRef:r,sync:i}},render(){const{$slots:e}=this;return Io(()=>this.sync({showAllItemsBeforeCalculate:!1})),de("div",{class:"v-overflow",ref:"selfRef"},[lt(e,"default"),e.counter?e.counter():de("span",{style:{display:"inline-block"},ref:"counterRef"}),e.tail?e.tail():null])}});function Su(e){return e instanceof HTMLElement}function Iu(e){for(let n=0;n<e.childNodes.length;n++){const t=e.childNodes[n];if(Su(t)&&(Cu(t)||Iu(t)))return!0}return!1}function Mu(e){for(let n=e.childNodes.length-1;n>=0;n--){const t=e.childNodes[n];if(Su(t)&&(Cu(t)||Mu(t)))return!0}return!1}function Cu(e){if(!hd(e))return!1;try{e.focus({preventScroll:!0})}catch{}return document.activeElement===e}function hd(e){if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.getAttribute("disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return e.type!=="hidden"&&e.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}let _t=[];const QE=be({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(e){const n=Gl(),t=B(null),r=B(null);let i=!1,o=!1;const u=typeof document=="undefined"?null:document.activeElement;function s(){return _t[_t.length-1]===n}function f(g){var v;g.code==="Escape"&&s()&&((v=e.onEsc)===null||v===void 0||v.call(e,g))}dn(()=>{en(()=>e.active,g=>{g?(d(),se("keydown",document,f)):(oe("keydown",document,f),i&&h())},{immediate:!0})}),He(()=>{oe("keydown",document,f),i&&h()});function l(g){if(!o&&s()){const v=c();if(v===null||v.contains(Il(g)))return;p("first")}}function c(){const g=t.value;if(g===null)return null;let v=g;for(;v=v.nextSibling,!(v===null||v instanceof Element&&v.tagName==="DIV"););return v}function d(){var g;if(!e.disabled){if(_t.push(n),e.autoFocus){const{initialFocusTo:v}=e;v===void 0?p("first"):(g=uu(v))===null||g===void 0||g.focus({preventScroll:!0})}i=!0,document.addEventListener("focus",l,!0)}}function h(){var g;if(e.disabled||(document.removeEventListener("focus",l,!0),_t=_t.filter($=>$!==n),s()))return;const{finalFocusTo:v}=e;v!==void 0?(g=uu(v))===null||g===void 0||g.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&u instanceof HTMLElement&&(o=!0,u.focus({preventScroll:!0}),o=!1)}function p(g){if(s()&&e.active){const v=t.value,$=r.value;if(v!==null&&$!==null){const S=c();if(S==null||S===$){o=!0,v.focus({preventScroll:!0}),o=!1;return}o=!0;const P=g==="first"?Iu(S):Mu(S);o=!1,P||(o=!0,v.focus({preventScroll:!0}),o=!1)}}}function m(g){if(o)return;const v=c();v!==null&&(g.relatedTarget!==null&&v.contains(g.relatedTarget)?p("last"):p("first"))}function y(g){o||(g.relatedTarget!==null&&g.relatedTarget===t.value?p("last"):p("first"))}return{focusableStartRef:t,focusableEndRef:r,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:m,handleEndFocus:y}},render(){const{default:e}=this.$slots;if(e===void 0)return null;if(this.disabled)return e();const{active:n,focusableStyle:t}=this;return de(Ro,null,[de("div",{"aria-hidden":"true",tabindex:n?"0":"-1",ref:"focusableStartRef",style:t,onFocus:this.handleStartFocus}),e(),de("div",{"aria-hidden":"true",style:t,ref:"focusableEndRef",tabindex:n?"0":"-1",onFocus:this.handleEndFocus})])}});var Lu=typeof global=="object"&&global&&global.Object===Object&&global,pd=typeof self=="object"&&self&&self.Object===Object&&self,ce=Lu||pd||Function("return this")(),pe=ce.Symbol,Pu=Object.prototype,vd=Pu.hasOwnProperty,gd=Pu.toString,bt=pe?pe.toStringTag:void 0;function md(e){var n=vd.call(e,bt),t=e[bt];try{e[bt]=void 0;var r=!0}catch{}var i=gd.call(e);return r&&(n?e[bt]=t:delete e[bt]),i}var _d=Object.prototype,bd=_d.toString;function xd(e){return bd.call(e)}var yd="[object Null]",wd="[object Undefined]",Fu=pe?pe.toStringTag:void 0;function ve(e){return e==null?e===void 0?wd:yd:Fu&&Fu in Object(e)?md(e):xd(e)}function re(e){return e!=null&&typeof e=="object"}var $d="[object Symbol]";function Ee(e){return typeof e=="symbol"||re(e)&&ve(e)==$d}var Ad=NaN;function Bu(e){return typeof e=="number"?e:Ee(e)?Ad:+e}function J(e,n){for(var t=-1,r=e==null?0:e.length,i=Array(r);++t<r;)i[t]=n(e[t],t,e);return i}var M=Array.isArray,Ed=1/0,Wu=pe?pe.prototype:void 0,Nu=Wu?Wu.toString:void 0;function Te(e){if(typeof e=="string")return e;if(M(e))return J(e,Te)+"";if(Ee(e))return Nu?Nu.call(e):"";var n=e+"";return n=="0"&&1/e==-Ed?"-0":n}function or(e,n){return function(t,r){var i;if(t===void 0&&r===void 0)return n;if(t!==void 0&&(i=t),r!==void 0){if(i===void 0)return r;typeof t=="string"||typeof r=="string"?(t=Te(t),r=Te(r)):(t=Bu(t),r=Bu(r)),i=e(t,r)}return i}}var Td=or(function(e,n){return e+n},0),Rd=/\s/;function zu(e){for(var n=e.length;n--&&Rd.test(e.charAt(n)););return n}var Od=/^\s+/;function Du(e){return e&&e.slice(0,zu(e)+1).replace(Od,"")}function Q(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}var Hu=NaN,Sd=/^[-+]0x[0-9a-f]+$/i,Id=/^0b[01]+$/i,Md=/^0o[0-7]+$/i,Cd=parseInt;function Ie(e){if(typeof e=="number")return e;if(Ee(e))return Hu;if(Q(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=Q(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=Du(e);var t=Id.test(e);return t||Md.test(e)?Cd(e.slice(2),t?2:8):Sd.test(e)?Hu:+e}var Gu=1/0,Ld=17976931348623157e292;function rn(e){if(!e)return e===0?e:0;if(e=Ie(e),e===Gu||e===-Gu){var n=e<0?-1:1;return n*Ld}return e===e?e:0}function C(e){var n=rn(e),t=n%1;return n===n?t?n-t:n:0}var Pd="Expected a function";function Fd(e,n){if(typeof n!="function")throw new TypeError(Pd);return e=C(e),function(){if(--e<1)return n.apply(this,arguments)}}function ge(e){return e}var Bd="[object AsyncFunction]",Wd="[object Function]",Nd="[object GeneratorFunction]",zd="[object Proxy]";function on(e){if(!Q(e))return!1;var n=ve(e);return n==Wd||n==Nd||n==Bd||n==zd}var ur=ce["__core-js_shared__"],Uu=function(){var e=/[^.]+$/.exec(ur&&ur.keys&&ur.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Dd(e){return!!Uu&&Uu in e}var Hd=Function.prototype,Gd=Hd.toString;function Ln(e){if(e!=null){try{return Gd.call(e)}catch{}try{return e+""}catch{}}return""}var Ud=/[\\^$.*+?()[\]{}|]/g,kd=/^\[object .+?Constructor\]$/,jd=Function.prototype,Yd=Object.prototype,qd=jd.toString,Xd=Yd.hasOwnProperty,Kd=RegExp("^"+qd.call(Xd).replace(Ud,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ku(e){if(!Q(e)||Dd(e))return!1;var n=on(e)?Kd:kd;return n.test(Ln(e))}function Zd(e,n){return e==null?void 0:e[n]}function Pn(e,n){var t=Zd(e,n);return ku(t)?t:void 0}var xt=Pn(ce,"WeakMap"),ar=xt&&new xt,ju=ar?function(e,n){return ar.set(e,n),e}:ge,Yu=Object.create,Zn=function(){function e(){}return function(n){if(!Q(n))return{};if(Yu)return Yu(n);e.prototype=n;var t=new e;return e.prototype=void 0,t}}();function yt(e){return function(){var n=arguments;switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3]);case 5:return new e(n[0],n[1],n[2],n[3],n[4]);case 6:return new e(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new e(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var t=Zn(e.prototype),r=e.apply(t,n);return Q(r)?r:t}}var Vd=1;function Jd(e,n,t){var r=n&Vd,i=yt(e);function o(){var u=this&&this!==ce&&this instanceof o?i:e;return u.apply(r?t:this,arguments)}return o}function Re(e,n,t){switch(t.length){case 0:return e.call(n);case 1:return e.call(n,t[0]);case 2:return e.call(n,t[0],t[1]);case 3:return e.call(n,t[0],t[1],t[2])}return e.apply(n,t)}var Qd=Math.max;function qu(e,n,t,r){for(var i=-1,o=e.length,u=t.length,s=-1,f=n.length,l=Qd(o-u,0),c=Array(f+l),d=!r;++s<f;)c[s]=n[s];for(;++i<u;)(d||i<o)&&(c[t[i]]=e[i]);for(;l--;)c[s++]=e[i++];return c}var eh=Math.max;function Xu(e,n,t,r){for(var i=-1,o=e.length,u=-1,s=t.length,f=-1,l=n.length,c=eh(o-s,0),d=Array(c+l),h=!r;++i<c;)d[i]=e[i];for(var p=i;++f<l;)d[p+f]=n[f];for(;++u<s;)(h||i<o)&&(d[p+t[u]]=e[i++]);return d}function nh(e,n){for(var t=e.length,r=0;t--;)e[t]===n&&++r;return r}function sr(){}var th=4294967295;function N(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=th,this.__views__=[]}N.prototype=Zn(sr.prototype),N.prototype.constructor=N;function ai(){}var si=ar?function(e){return ar.get(e)}:ai,Vn={},rh=Object.prototype,ih=rh.hasOwnProperty;function fr(e){for(var n=e.name+"",t=Vn[n],r=ih.call(Vn,n)?t.length:0;r--;){var i=t[r],o=i.func;if(o==null||o==e)return i.name}return n}function Me(e,n){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=void 0}Me.prototype=Zn(sr.prototype),Me.prototype.constructor=Me;function ye(e,n){var t=-1,r=e.length;for(n||(n=Array(r));++t<r;)n[t]=e[t];return n}function Ku(e){if(e instanceof N)return e.clone();var n=new Me(e.__wrapped__,e.__chain__);return n.__actions__=ye(e.__actions__),n.__index__=e.__index__,n.__values__=e.__values__,n}var oh=Object.prototype,uh=oh.hasOwnProperty;function a(e){if(re(e)&&!M(e)&&!(e instanceof N)){if(e instanceof Me)return e;if(uh.call(e,"__wrapped__"))return Ku(e)}return new Me(e)}a.prototype=sr.prototype,a.prototype.constructor=a;function fi(e){var n=fr(e),t=a[n];if(typeof t!="function"||!(n in N.prototype))return!1;if(e===t)return!0;var r=si(t);return!!r&&e===r[0]}var ah=800,sh=16,fh=Date.now;function Zu(e){var n=0,t=0;return function(){var r=fh(),i=sh-(r-t);if(t=r,i>0){if(++n>=ah)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}var Vu=Zu(ju),lh=/\{\n\/\* \[wrapped with (.+)\] \*/,ch=/,? & /;function dh(e){var n=e.match(lh);return n?n[1].split(ch):[]}var hh=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function ph(e,n){var t=n.length;if(!t)return e;var r=t-1;return n[r]=(t>1?"& ":"")+n[r],n=n.join(t>2?", ":" "),e.replace(hh,`{
|
|
15
|
+
`)}function $c(e){for(var n=0,t,r=0,i=e.length;i>=4;++r,i-=4)t=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,n=(t&65535)*1540483477+((t>>>16)*59797<<16)^(n&65535)*1540483477+((n>>>16)*59797<<16);switch(i){case 3:n^=(e.charCodeAt(r+2)&255)<<16;case 2:n^=(e.charCodeAt(r+1)&255)<<8;case 1:n^=e.charCodeAt(r)&255,n=(n&65535)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,n=(n&65535)*1540483477+((n>>>16)*59797<<16),((n^n>>>15)>>>0).toString(36)}typeof window!="undefined"&&(window.__cssrContext={});function Ac(e,n,t,r){const{els:i}=n;if(t===void 0)i.forEach(Qo),n.els=[];else{const o=Xt(t,r);o&&i.includes(o)&&(Qo(o),n.els=i.filter(u=>u!==o))}}function ru(e,n){e.push(n)}function Ec(e,n,t,r,i,o,u,s,f){let l;if(t===void 0&&(l=n.render(r),t=$c(l)),f){f.adapter(t,l!=null?l:n.render(r));return}s===void 0&&(s=document.head);const c=Xt(t,s);if(c!==null&&!o)return c;const d=c!=null?c:_c(t);if(l===void 0&&(l=n.render(r)),d.textContent=l,c!==null)return c;if(u){const h=s.querySelector(`meta[name="${u}"]`);if(h)return s.insertBefore(d,h),ru(n.els,d),d}return i?s.insertBefore(d,s.querySelector("style, link")):s.appendChild(d),ru(n.els,d),d}function Tc(e){return wc(this,this.instance,e)}function Rc(e={}){const{id:n,ssr:t,props:r,head:i=!1,force:o=!1,anchorMetaName:u,parent:s}=e;return Ec(this.instance,this,n,r,i,o,u,s,t)}function Oc(e={}){const{id:n,parent:t}=e;Ac(this.instance,this,n,t)}const Zt=function(e,n,t,r){return{instance:e,$:n,props:t,children:r,els:[],render:Tc,mount:Rc,unmount:Oc}},Sc=function(e,n,t,r){return Array.isArray(n)?Zt(e,{$:null},null,n):Array.isArray(t)?Zt(e,n,null,t):Array.isArray(r)?Zt(e,n,t,r):Zt(e,n,t,null)};function Ic(e={}){const n={c:(...t)=>Sc(n,...t),use:(t,...r)=>t.install(n,...r),find:Xt,context:{},config:e};return n}function ZE(e,n){if(e===void 0)return!1;if(n){const{context:{ids:t}}=n;return t.has(e)}return Xt(e)!==null}const{c:je}=Ic(),Vt="vueuc-style";function iu(e){return e&-e}class ou{constructor(n,t){this.l=n,this.min=t;const r=new Array(n+1);for(let i=0;i<n+1;++i)r[i]=0;this.ft=r}add(n,t){if(t===0)return;const{l:r,ft:i}=this;for(n+=1;n<=r;)i[n]+=t,n+=iu(n)}get(n){return this.sum(n+1)-this.sum(n)}sum(n){if(n===void 0&&(n=this.l),n<=0)return 0;const{ft:t,min:r,l:i}=this;if(n>i)throw new Error("[FinweckTree.sum]: `i` is larger than length.");let o=n*r;for(;n>0;)o+=t[n],n-=iu(n);return o}getBound(n){let t=0,r=this.l;for(;r>t;){const i=Math.floor((t+r)/2),o=this.sum(i);if(o>n){r=i;continue}else if(o<n){if(t===i)return this.sum(t+1)<=n?t+1:i;t=i}else return i}return t}}function uu(e){return typeof e=="string"?document.querySelector(e):e()}var Mc=be({name:"LazyTeleport",props:{to:{type:[String,Object],default:void 0},disabled:Boolean,show:{type:Boolean,required:!0}},setup(e){return{showTeleport:Ql(Tn(e,"show")),mergedTo:ne(()=>{const{to:n}=e;return n!=null?n:"body"})}},render(){return this.showTeleport?this.disabled?Zr("lazy-teleport",this.$slots):de(vl,{disabled:this.disabled,to:this.mergedTo},Zr("lazy-teleport",this.$slots)):null}});const Jt={top:"bottom",bottom:"top",left:"right",right:"left"},au={start:"end",center:"center",end:"start"},ni={top:"height",bottom:"height",left:"width",right:"width"},Cc={"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"},Lc={"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"},Pc={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},su={top:!0,bottom:!1,left:!0,right:!1},fu={top:"end",bottom:"start",left:"end",right:"start"};function Fc(e,n,t,r,i,o){if(!i||o)return{placement:e,top:0,left:0};const[u,s]=e.split("-");let f=s!=null?s:"center",l={top:0,left:0};const c=(p,m,y)=>{let g=0,v=0;const $=t[p]-n[m]-n[p];return $>0&&r&&(y?v=su[m]?$:-$:g=su[m]?$:-$),{left:g,top:v}},d=u==="left"||u==="right";if(f!=="center"){const p=Pc[e],m=Jt[p],y=ni[p];if(t[y]>n[y]){if(n[p]+n[y]<t[y]){const g=(t[y]-n[y])/2;n[p]<g||n[m]<g?n[p]<n[m]?(f=au[s],l=c(y,m,d)):l=c(y,p,d):f="center"}}else t[y]<n[y]&&n[m]<0&&n[p]>n[m]&&(f=au[s])}else{const p=u==="bottom"||u==="top"?"left":"top",m=Jt[p],y=ni[p],g=(t[y]-n[y])/2;(n[p]<g||n[m]<g)&&(n[p]>n[m]?(f=fu[p],l=c(y,p,d)):(f=fu[m],l=c(y,m,d)))}let h=u;return n[u]<t[ni[u]]&&n[u]<n[Jt[u]]&&(h=Jt[u]),{placement:f!=="center"?`${h}-${f}`:h,left:l.left,top:l.top}}function Bc(e,n){return n?Lc[e]:Cc[e]}function Wc(e,n,t,r,i,o){if(o)switch(e){case"bottom-start":return{top:`${Math.round(t.top-n.top+t.height)}px`,left:`${Math.round(t.left-n.left)}px`,transform:"translateY(-100%)"};case"bottom-end":return{top:`${Math.round(t.top-n.top+t.height)}px`,left:`${Math.round(t.left-n.left+t.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top-start":return{top:`${Math.round(t.top-n.top)}px`,left:`${Math.round(t.left-n.left)}px`,transform:""};case"top-end":return{top:`${Math.round(t.top-n.top)}px`,left:`${Math.round(t.left-n.left+t.width)}px`,transform:"translateX(-100%)"};case"right-start":return{top:`${Math.round(t.top-n.top)}px`,left:`${Math.round(t.left-n.left+t.width)}px`,transform:"translateX(-100%)"};case"right-end":return{top:`${Math.round(t.top-n.top+t.height)}px`,left:`${Math.round(t.left-n.left+t.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"left-start":return{top:`${Math.round(t.top-n.top)}px`,left:`${Math.round(t.left-n.left)}px`,transform:""};case"left-end":return{top:`${Math.round(t.top-n.top+t.height)}px`,left:`${Math.round(t.left-n.left)}px`,transform:"translateY(-100%)"};case"top":return{top:`${Math.round(t.top-n.top)}px`,left:`${Math.round(t.left-n.left+t.width/2)}px`,transform:"translateX(-50%)"};case"right":return{top:`${Math.round(t.top-n.top+t.height/2)}px`,left:`${Math.round(t.left-n.left+t.width)}px`,transform:"translateX(-100%) translateY(-50%)"};case"left":return{top:`${Math.round(t.top-n.top+t.height/2)}px`,left:`${Math.round(t.left-n.left)}px`,transform:"translateY(-50%)"};case"bottom":default:return{top:`${Math.round(t.top-n.top+t.height)}px`,left:`${Math.round(t.left-n.left+t.width/2)}px`,transform:"translateX(-50%) translateY(-100%)"}}switch(e){case"bottom-start":return{top:`${Math.round(t.top-n.top+t.height+r)}px`,left:`${Math.round(t.left-n.left+i)}px`,transform:""};case"bottom-end":return{top:`${Math.round(t.top-n.top+t.height+r)}px`,left:`${Math.round(t.left-n.left+t.width+i)}px`,transform:"translateX(-100%)"};case"top-start":return{top:`${Math.round(t.top-n.top+r)}px`,left:`${Math.round(t.left-n.left+i)}px`,transform:"translateY(-100%)"};case"top-end":return{top:`${Math.round(t.top-n.top+r)}px`,left:`${Math.round(t.left-n.left+t.width+i)}px`,transform:"translateX(-100%) translateY(-100%)"};case"right-start":return{top:`${Math.round(t.top-n.top+r)}px`,left:`${Math.round(t.left-n.left+t.width+i)}px`,transform:""};case"right-end":return{top:`${Math.round(t.top-n.top+t.height+r)}px`,left:`${Math.round(t.left-n.left+t.width+i)}px`,transform:"translateY(-100%)"};case"left-start":return{top:`${Math.round(t.top-n.top+r)}px`,left:`${Math.round(t.left-n.left+i)}px`,transform:"translateX(-100%)"};case"left-end":return{top:`${Math.round(t.top-n.top+t.height+r)}px`,left:`${Math.round(t.left-n.left+i)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top":return{top:`${Math.round(t.top-n.top+r)}px`,left:`${Math.round(t.left-n.left+t.width/2+i)}px`,transform:"translateY(-100%) translateX(-50%)"};case"right":return{top:`${Math.round(t.top-n.top+t.height/2+r)}px`,left:`${Math.round(t.left-n.left+t.width+i)}px`,transform:"translateY(-50%)"};case"left":return{top:`${Math.round(t.top-n.top+t.height/2+r)}px`,left:`${Math.round(t.left-n.left+i)}px`,transform:"translateY(-50%) translateX(-100%)"};case"bottom":default:return{top:`${Math.round(t.top-n.top+t.height+r)}px`,left:`${Math.round(t.left-n.left+t.width/2+i)}px`,transform:"translateX(-50%)"}}}const Nc=je([je(".v-binder-follower-container",{position:"absolute",left:"0",right:"0",top:"0",height:"0",pointerEvents:"none",zIndex:"auto"}),je(".v-binder-follower-content",{position:"absolute",zIndex:"auto"},[je("> *",{pointerEvents:"all"})])]);var VE=be({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){const n=Gn("VBinder"),t=qn(()=>e.enabled!==void 0?e.enabled:e.show),r=B(null),i=B(null),o=()=>{const{syncTrigger:h}=e;h.includes("scroll")&&n.addScrollListener(f),h.includes("resize")&&n.addResizeListener(f)},u=()=>{n.removeScrollListener(f),n.removeResizeListener(f)};dn(()=>{t.value&&(f(),o())});const s=qt();Nc.mount({id:"vueuc/binder",head:!0,anchorMetaName:Vt,ssr:s}),He(()=>{u()}),nc(()=>{t.value&&f()});const f=()=>{if(!t.value)return;const h=r.value;if(h===null)return;const p=n.targetRef,{x:m,y,overlap:g}=e,v=m!==void 0&&y!==void 0?Xl(m,y):Jr(p);h.style.setProperty("--v-target-width",`${Math.round(v.width)}px`),h.style.setProperty("--v-target-height",`${Math.round(v.height)}px`);const{width:$,minWidth:S,placement:P,internalShift:j,flip:W}=e;h.setAttribute("v-placement",P),g?h.setAttribute("v-overlap",""):h.removeAttribute("v-overlap");const{style:b}=h;$==="target"?b.width=`${v.width}px`:$!==void 0?b.width=$:b.width="",S==="target"?b.minWidth=`${v.width}px`:S!==void 0?b.minWidth=S:b.minWidth="";const x=Jr(h),R=Jr(i.value),{left:z,top:Y,placement:ee}=Fc(P,v,x,j,W,g),w=Bc(ee,g),{left:_,top:E,transform:L}=Wc(ee,R,v,Y,z,g);h.setAttribute("v-placement",ee),h.style.setProperty("--v-offset-left",`${Math.round(z)}px`),h.style.setProperty("--v-offset-top",`${Math.round(Y)}px`),h.style.transform=`translateX(${_}) translateY(${E}) ${L}`,h.style.setProperty("--v-transform-origin",w),h.style.transformOrigin=w};en(t,h=>{h?(o(),l()):u()});const l=()=>{Io().then(f).catch(h=>console.error(h))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(h=>{en(Tn(e,h),f)}),["teleportDisabled"].forEach(h=>{en(Tn(e,h),l)}),en(Tn(e,"syncTrigger"),h=>{h.includes("resize")?n.addResizeListener(f):n.removeResizeListener(f),h.includes("scroll")?n.addScrollListener(f):n.removeScrollListener(f)});const c=uc(),d=qn(()=>{const{to:h}=e;if(h!==void 0)return h;c.value});return{VBinder:n,mergedEnabled:t,offsetContainerRef:i,followerRef:r,mergedTo:d,syncPosition:f}},render(){return de(Mc,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,n;const t=de("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[de("div",{class:"v-binder-follower-content",ref:"followerRef"},(n=(e=this.$slots).default)===null||n===void 0?void 0:n.call(e))]);return this.zindexable?So(t,[[Jl,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):t}})}}),Mn=[],zc=function(){return Mn.some(function(e){return e.activeTargets.length>0})},Dc=function(){return Mn.some(function(e){return e.skippedTargets.length>0})},lu="ResizeObserver loop completed with undelivered notifications.",Hc=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:lu}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=lu),window.dispatchEvent(e)},gt;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(gt||(gt={}));var Cn=function(e){return Object.freeze(e)},Gc=function(){function e(n,t){this.inlineSize=n,this.blockSize=t,Cn(this)}return e}(),cu=function(){function e(n,t,r,i){return this.x=n,this.y=t,this.width=r,this.height=i,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Cn(this)}return e.prototype.toJSON=function(){var n=this,t=n.x,r=n.y,i=n.top,o=n.right,u=n.bottom,s=n.left,f=n.width,l=n.height;return{x:t,y:r,top:i,right:o,bottom:u,left:s,width:f,height:l}},e.fromRect=function(n){return new e(n.x,n.y,n.width,n.height)},e}(),ti=function(e){return e instanceof SVGElement&&"getBBox"in e},du=function(e){if(ti(e)){var n=e.getBBox(),t=n.width,r=n.height;return!t&&!r}var i=e,o=i.offsetWidth,u=i.offsetHeight;return!(o||u||e.getClientRects().length)},hu=function(e){var n;if(e instanceof Element)return!0;var t=(n=e==null?void 0:e.ownerDocument)===null||n===void 0?void 0:n.defaultView;return!!(t&&e instanceof t.Element)},Uc=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},mt=typeof window!="undefined"?window:{},Qt=new WeakMap,pu=/auto|scroll/,kc=/^tb|vertical/,jc=/msie|trident/i.test(mt.navigator&&mt.navigator.userAgent),Ye=function(e){return parseFloat(e||"0")},Kn=function(e,n,t){return e===void 0&&(e=0),n===void 0&&(n=0),t===void 0&&(t=!1),new Gc((t?n:e)||0,(t?e:n)||0)},vu=Cn({devicePixelContentBoxSize:Kn(),borderBoxSize:Kn(),contentBoxSize:Kn(),contentRect:new cu(0,0,0,0)}),gu=function(e,n){if(n===void 0&&(n=!1),Qt.has(e)&&!n)return Qt.get(e);if(du(e))return Qt.set(e,vu),vu;var t=getComputedStyle(e),r=ti(e)&&e.ownerSVGElement&&e.getBBox(),i=!jc&&t.boxSizing==="border-box",o=kc.test(t.writingMode||""),u=!r&&pu.test(t.overflowY||""),s=!r&&pu.test(t.overflowX||""),f=r?0:Ye(t.paddingTop),l=r?0:Ye(t.paddingRight),c=r?0:Ye(t.paddingBottom),d=r?0:Ye(t.paddingLeft),h=r?0:Ye(t.borderTopWidth),p=r?0:Ye(t.borderRightWidth),m=r?0:Ye(t.borderBottomWidth),y=r?0:Ye(t.borderLeftWidth),g=d+l,v=f+c,$=y+p,S=h+m,P=s?e.offsetHeight-S-e.clientHeight:0,j=u?e.offsetWidth-$-e.clientWidth:0,W=i?g+$:0,b=i?v+S:0,x=r?r.width:Ye(t.width)-W-j,R=r?r.height:Ye(t.height)-b-P,z=x+g+j+$,Y=R+v+P+S,ee=Cn({devicePixelContentBoxSize:Kn(Math.round(x*devicePixelRatio),Math.round(R*devicePixelRatio),o),borderBoxSize:Kn(z,Y,o),contentBoxSize:Kn(x,R,o),contentRect:new cu(d,f,x,R)});return Qt.set(e,ee),ee},mu=function(e,n,t){var r=gu(e,t),i=r.borderBoxSize,o=r.contentBoxSize,u=r.devicePixelContentBoxSize;switch(n){case gt.DEVICE_PIXEL_CONTENT_BOX:return u;case gt.BORDER_BOX:return i;default:return o}},Yc=function(){function e(n){var t=gu(n);this.target=n,this.contentRect=t.contentRect,this.borderBoxSize=Cn([t.borderBoxSize]),this.contentBoxSize=Cn([t.contentBoxSize]),this.devicePixelContentBoxSize=Cn([t.devicePixelContentBoxSize])}return e}(),_u=function(e){if(du(e))return 1/0;for(var n=0,t=e.parentNode;t;)n+=1,t=t.parentNode;return n},qc=function(){var e=1/0,n=[];Mn.forEach(function(u){if(u.activeTargets.length!==0){var s=[];u.activeTargets.forEach(function(l){var c=new Yc(l.target),d=_u(l.target);s.push(c),l.lastReportedSize=mu(l.target,l.observedBox),d<e&&(e=d)}),n.push(function(){u.callback.call(u.observer,s,u.observer)}),u.activeTargets.splice(0,u.activeTargets.length)}});for(var t=0,r=n;t<r.length;t++){var i=r[t];i()}return e},bu=function(e){Mn.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(i){i.isActive()&&(_u(i.target)>e?t.activeTargets.push(i):t.skippedTargets.push(i))})})},Xc=function(){var e=0;for(bu(e);zc();)e=qc(),bu(e);return Dc()&&Hc(),e>0},ri,xu=[],Kc=function(){return xu.splice(0).forEach(function(e){return e()})},Zc=function(e){if(!ri){var n=0,t=document.createTextNode(""),r={characterData:!0};new MutationObserver(function(){return Kc()}).observe(t,r),ri=function(){t.textContent="".concat(n?n--:n++)}}xu.push(e),ri()},Vc=function(e){Zc(function(){requestAnimationFrame(e)})},er=0,Jc=function(){return!!er},Qc=250,ed={attributes:!0,characterData:!0,childList:!0,subtree:!0},yu=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],wu=function(e){return e===void 0&&(e=0),Date.now()+e},ii=!1,nd=function(){function e(){var n=this;this.stopped=!0,this.listener=function(){return n.schedule()}}return e.prototype.run=function(n){var t=this;if(n===void 0&&(n=Qc),!ii){ii=!0;var r=wu(n);Vc(function(){var i=!1;try{i=Xc()}finally{if(ii=!1,n=r-wu(),!Jc())return;i?t.run(1e3):n>0?t.run(n):t.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var n=this,t=function(){return n.observer&&n.observer.observe(document.body,ed)};document.body?t():mt.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var n=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),yu.forEach(function(t){return mt.addEventListener(t,n.listener,!0)}))},e.prototype.stop=function(){var n=this;this.stopped||(this.observer&&this.observer.disconnect(),yu.forEach(function(t){return mt.removeEventListener(t,n.listener,!0)}),this.stopped=!0)},e}(),oi=new nd,$u=function(e){!er&&e>0&&oi.start(),er+=e,!er&&oi.stop()},td=function(e){return!ti(e)&&!Uc(e)&&getComputedStyle(e).display==="inline"},rd=function(){function e(n,t){this.target=n,this.observedBox=t||gt.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var n=mu(this.target,this.observedBox,!0);return td(this.target)&&(this.lastReportedSize=n),this.lastReportedSize.inlineSize!==n.inlineSize||this.lastReportedSize.blockSize!==n.blockSize},e}(),id=function(){function e(n,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=n,this.callback=t}return e}(),nr=new WeakMap,Au=function(e,n){for(var t=0;t<e.length;t+=1)if(e[t].target===n)return t;return-1},tr=function(){function e(){}return e.connect=function(n,t){var r=new id(n,t);nr.set(n,r)},e.observe=function(n,t,r){var i=nr.get(n),o=i.observationTargets.length===0;Au(i.observationTargets,t)<0&&(o&&Mn.push(i),i.observationTargets.push(new rd(t,r&&r.box)),$u(1),oi.schedule())},e.unobserve=function(n,t){var r=nr.get(n),i=Au(r.observationTargets,t),o=r.observationTargets.length===1;i>=0&&(o&&Mn.splice(Mn.indexOf(r),1),r.observationTargets.splice(i,1),$u(-1))},e.disconnect=function(n){var t=this,r=nr.get(n);r.observationTargets.slice().forEach(function(i){return t.unobserve(n,i.target)}),r.activeTargets.splice(0,r.activeTargets.length)},e}(),od=function(){function e(n){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof n!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");tr.connect(this,n)}return e.prototype.observe=function(n,t){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!hu(n))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");tr.observe(this,n,t)},e.prototype.unobserve=function(n){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!hu(n))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");tr.unobserve(this,n)},e.prototype.disconnect=function(){tr.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class ud{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window!="undefined"&&window.ResizeObserver||od)(this.handleResize),this.elHandlersMap=new Map}handleResize(n){for(const t of n){const r=this.elHandlersMap.get(t.target);r!==void 0&&r(t)}}registerHandler(n,t){this.elHandlersMap.set(n,t),this.observer.observe(n)}unregisterHandler(n){this.elHandlersMap.has(n)&&(this.elHandlersMap.delete(n),this.observer.unobserve(n))}}var Eu=new ud,rr=be({name:"ResizeObserver",props:{onResize:Function},setup(e){let n=!1;const t=Bt().proxy;function r(i){const{onResize:o}=e;o!==void 0&&o(i)}dn(()=>{const i=t.$el;if(i===void 0){Vo("resize-observer","$el does not exist.");return}if(i.nextElementSibling!==i.nextSibling&&i.nodeType===3&&i.nodeValue!==""){Vo("resize-observer","$el can not be observed (it may be a text node).");return}i.nextElementSibling!==null&&(Eu.registerHandler(i.nextElementSibling,r),n=!0)}),He(()=>{n&&Eu.unregisterHandler(t.$el.nextElementSibling)})},render(){return lt(this.$slots,"default")}});let ir;function ad(){return typeof document=="undefined"?!1:(ir===void 0&&("matchMedia"in window?ir=window.matchMedia("(pointer:coarse)").matches:ir=!1),ir)}let ui;function Tu(){return typeof document=="undefined"?1:(ui===void 0&&(ui="chrome"in window?window.devicePixelRatio:1),ui)}const Ru="VVirtualListXScroll";function sd({columnsRef:e,renderColRef:n,renderItemWithColsRef:t}){const r=B(0),i=B(0),o=ne(()=>{const l=e.value;if(l.length===0)return null;const c=new ou(l.length,0);return l.forEach((d,h)=>{c.add(h,d.width)}),c}),u=qn(()=>{const l=o.value;return l!==null?Math.max(l.getBound(i.value)-1,0):0}),s=l=>{const c=o.value;return c!==null?c.sum(l):0},f=qn(()=>{const l=o.value;return l!==null?Math.min(l.getBound(i.value+r.value)+1,e.value.length-1):0});return Oo(Ru,{startIndexRef:u,endIndexRef:f,columnsRef:e,renderColRef:n,renderItemWithColsRef:t,getLeft:s}),{listWidthRef:r,scrollLeftRef:i}}const Ou=be({name:"VirtualListRow",props:{index:{type:Number,required:!0},item:{type:Object,required:!0}},setup(){const{startIndexRef:e,endIndexRef:n,columnsRef:t,getLeft:r,renderColRef:i,renderItemWithColsRef:o}=Gn(Ru);return{startIndex:e,endIndex:n,columns:t,renderCol:i,renderItemWithCols:o,getLeft:r}},render(){const{startIndex:e,endIndex:n,columns:t,renderCol:r,renderItemWithCols:i,getLeft:o,item:u}=this;if(i!=null)return i({itemIndex:this.index,startColIndex:e,endColIndex:n,allColumns:t,item:u,getLeft:o});if(r!=null){const s=[];for(let f=e;f<=n;++f){const l=t[f];s.push(r({column:l,left:o(f),item:u}))}return s}return null}}),fd=je(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[je("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[je("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]);var ld=be({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){const n=qt();fd.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:Vt,ssr:n}),dn(()=>{const{defaultScrollIndex:w,defaultScrollKey:_}=e;w!=null?g({index:w}):_!=null&&g({key:_})});let t=!1,r=!1;gl(()=>{if(t=!1,!r){r=!0;return}g({top:p.value,left:u.value})}),ml(()=>{t=!0,r||(r=!0)});const i=qn(()=>{if(e.renderCol==null&&e.renderItemWithCols==null||e.columns.length===0)return;let w=0;return e.columns.forEach(_=>{w+=_.width}),w}),o=ne(()=>{const w=new Map,{keyField:_}=e;return e.items.forEach((E,L)=>{w.set(E[_],L)}),w}),{scrollLeftRef:u,listWidthRef:s}=sd({columnsRef:Tn(e,"columns"),renderColRef:Tn(e,"renderCol"),renderItemWithColsRef:Tn(e,"renderItemWithCols")}),f=B(null),l=B(void 0),c=new Map,d=ne(()=>{const{items:w,itemSize:_,keyField:E}=e,L=new ou(w.length,_);return w.forEach((U,k)=>{const X=U[E],K=c.get(X);K!==void 0&&L.add(k,K)}),L}),h=B(0),p=B(0),m=qn(()=>Math.max(d.value.getBound(p.value-Bo(e.paddingTop))-1,0)),y=ne(()=>{const{value:w}=l;if(w===void 0)return[];const{items:_,itemSize:E}=e,L=m.value,U=Math.min(L+Math.ceil(w/E+1),_.length-1),k=[];for(let X=L;X<=U;++X)k.push(_[X]);return k}),g=(w,_)=>{if(typeof w=="number"){P(w,_,"auto");return}const{left:E,top:L,index:U,key:k,position:X,behavior:K,debounce:le=!0}=w;if(E!==void 0||L!==void 0)P(E,L,K);else if(U!==void 0)S(U,K,le);else if(k!==void 0){const st=o.value.get(k);st!==void 0&&S(st,K,le)}else X==="bottom"?P(0,Number.MAX_SAFE_INTEGER,K):X==="top"&&P(0,0,K)};let v,$=null;function S(w,_,E){const{value:L}=d,U=L.sum(w)+Bo(e.paddingTop);if(!E)f.value.scrollTo({left:0,top:U,behavior:_});else{v=w,$!==null&&window.clearTimeout($),$=window.setTimeout(()=>{v=void 0,$=null},16);const{scrollTop:k,offsetHeight:X}=f.value;if(U>k){const K=L.get(w);U+K<=k+X||f.value.scrollTo({left:0,top:U+K-X,behavior:_})}else f.value.scrollTo({left:0,top:U,behavior:_})}}function P(w,_,E){f.value.scrollTo({left:w,top:_,behavior:E})}function j(w,_){var E,L,U;if(t||e.ignoreItemResize||ee(_.target))return;const{value:k}=d,X=o.value.get(w),K=k.get(X),le=(U=(L=(E=_.borderBoxSize)===null||E===void 0?void 0:E[0])===null||L===void 0?void 0:L.blockSize)!==null&&U!==void 0?U:_.contentRect.height;if(le===K)return;le-e.itemSize===0?c.delete(w):c.set(w,le-e.itemSize);const ft=le-K;if(ft===0)return;k.add(X,ft);const En=f.value;if(En!=null){if(v===void 0){const Nr=k.sum(X);En.scrollTop>Nr&&En.scrollBy(0,ft)}else if(X<v)En.scrollBy(0,ft);else if(X===v){const Nr=k.sum(X);le+Nr>En.scrollTop+En.offsetHeight&&En.scrollBy(0,ft)}Y()}h.value++}const W=!ad();let b=!1;function x(w){var _;(_=e.onScroll)===null||_===void 0||_.call(e,w),(!W||!b)&&Y()}function R(w){var _;if((_=e.onWheel)===null||_===void 0||_.call(e,w),W){const E=f.value;if(E!=null){if(w.deltaX===0&&(E.scrollTop===0&&w.deltaY<=0||E.scrollTop+E.offsetHeight>=E.scrollHeight&&w.deltaY>=0))return;w.preventDefault(),E.scrollTop+=w.deltaY/Tu(),E.scrollLeft+=w.deltaX/Tu(),Y(),b=!0,Fo(()=>{b=!1})}}}function z(w){if(t||ee(w.target))return;if(e.renderCol==null&&e.renderItemWithCols==null){if(w.contentRect.height===l.value)return}else if(w.contentRect.height===l.value&&w.contentRect.width===s.value)return;l.value=w.contentRect.height,s.value=w.contentRect.width;const{onResize:_}=e;_!==void 0&&_(w)}function Y(){const{value:w}=f;w!=null&&(p.value=w.scrollTop,u.value=w.scrollLeft)}function ee(w){let _=w;for(;_!==null;){if(_.style.display==="none")return!0;_=_.parentElement}return!1}return{listHeight:l,listStyle:{overflow:"auto"},keyToIndex:o,itemsStyle:ne(()=>{const{itemResizable:w}=e,_=ct(d.value.sum());return h.value,[e.itemsStyle,{boxSizing:"content-box",width:ct(i.value),height:w?"":_,minHeight:w?_:"",paddingTop:ct(e.paddingTop),paddingBottom:ct(e.paddingBottom)}]}),visibleItemsStyle:ne(()=>(h.value,{transform:`translateY(${ct(d.value.sum(m.value))})`})),viewportItems:y,listElRef:f,itemsElRef:B(null),scrollTo:g,handleListResize:z,handleListScroll:x,handleListWheel:R,handleItemResize:j}},render(){const{itemResizable:e,keyField:n,keyToIndex:t,visibleItemsTag:r}=this;return de(rr,{onResize:this.handleListResize},{default:()=>{var i,o;return de("div",Dr(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[this.items.length!==0?de("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[de(r,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>{const{renderCol:u,renderItemWithCols:s}=this;return this.viewportItems.map(f=>{const l=f[n],c=t.get(l),d=u!=null?de(Ou,{index:c,item:f}):void 0,h=s!=null?de(Ou,{index:c,item:f}):void 0,p=this.$slots.default({item:f,renderedCols:d,renderedItemWithCols:h,index:c})[0];return e?de(rr,{key:l,onResize:m=>this.handleItemResize(l,m)},{default:()=>p}):(p.key=l,p)})}})]):(o=(i=this.$slots).empty)===null||o===void 0?void 0:o.call(i)])}})}});const cd=je(".v-x-scroll",{overflow:"auto",scrollbarWidth:"none"},[je("&::-webkit-scrollbar",{width:0,height:0})]);var JE=be({name:"XScroll",props:{disabled:Boolean,onScroll:Function},setup(){const e=B(null);function n(i){!(i.currentTarget.offsetWidth<i.currentTarget.scrollWidth)||i.deltaY===0||(i.currentTarget.scrollLeft+=i.deltaY+i.deltaX,i.preventDefault())}const t=qt();return cd.mount({id:"vueuc/x-scroll",head:!0,anchorMetaName:Vt,ssr:t}),Object.assign({selfRef:e,handleWheel:n},{scrollTo(...i){var o;(o=e.value)===null||o===void 0||o.scrollTo(...i)}})},render(){return de("div",{ref:"selfRef",onScroll:this.onScroll,onWheel:this.disabled?void 0:this.handleWheel,class:"v-x-scroll"},this.$slots)}});const tn="v-hidden",dd=je("[v-hidden]",{display:"none!important"});var QE=be({name:"Overflow",props:{getCounter:Function,getTail:Function,updateCounter:Function,onUpdateCount:Function,onUpdateOverflow:Function},setup(e,{slots:n}){const t=B(null),r=B(null);function i(u){const{value:s}=t,{getCounter:f,getTail:l}=e;let c;if(f!==void 0?c=f():c=r.value,!s||!c)return;c.hasAttribute(tn)&&c.removeAttribute(tn);const{children:d}=s;if(u.showAllItemsBeforeCalculate)for(const S of d)S.hasAttribute(tn)&&S.removeAttribute(tn);const h=s.offsetWidth,p=[],m=n.tail?l==null?void 0:l():null;let y=m?m.offsetWidth:0,g=!1;const v=s.children.length-(n.tail?1:0);for(let S=0;S<v-1;++S){if(S<0)continue;const P=d[S];if(g){P.hasAttribute(tn)||P.setAttribute(tn,"");continue}else P.hasAttribute(tn)&&P.removeAttribute(tn);const j=P.offsetWidth;if(y+=j,p[S]=j,y>h){const{updateCounter:W}=e;for(let b=S;b>=0;--b){const x=v-1-b;W!==void 0?W(x):c.textContent=`${x}`;const R=c.offsetWidth;if(y-=p[b],y+R<=h||b===0){g=!0,S=b-1,m&&(S===-1?(m.style.maxWidth=`${h-R}px`,m.style.boxSizing="border-box"):m.style.maxWidth="");const{onUpdateCount:z}=e;z&&z(x);break}}}}const{onUpdateOverflow:$}=e;g?$!==void 0&&$(!0):($!==void 0&&$(!1),c.setAttribute(tn,""))}const o=qt();return dd.mount({id:"vueuc/overflow",head:!0,anchorMetaName:Vt,ssr:o}),dn(()=>i({showAllItemsBeforeCalculate:!1})),{selfRef:t,counterRef:r,sync:i}},render(){const{$slots:e}=this;return Io(()=>this.sync({showAllItemsBeforeCalculate:!1})),de("div",{class:"v-overflow",ref:"selfRef"},[lt(e,"default"),e.counter?e.counter():de("span",{style:{display:"inline-block"},ref:"counterRef"}),e.tail?e.tail():null])}});function Su(e){return e instanceof HTMLElement}function Iu(e){for(let n=0;n<e.childNodes.length;n++){const t=e.childNodes[n];if(Su(t)&&(Cu(t)||Iu(t)))return!0}return!1}function Mu(e){for(let n=e.childNodes.length-1;n>=0;n--){const t=e.childNodes[n];if(Su(t)&&(Cu(t)||Mu(t)))return!0}return!1}function Cu(e){if(!hd(e))return!1;try{e.focus({preventScroll:!0})}catch{}return document.activeElement===e}function hd(e){if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.getAttribute("disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return e.type!=="hidden"&&e.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}let _t=[];const eT=be({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(e){const n=Gl(),t=B(null),r=B(null);let i=!1,o=!1;const u=typeof document=="undefined"?null:document.activeElement;function s(){return _t[_t.length-1]===n}function f(g){var v;g.code==="Escape"&&s()&&((v=e.onEsc)===null||v===void 0||v.call(e,g))}dn(()=>{en(()=>e.active,g=>{g?(d(),se("keydown",document,f)):(oe("keydown",document,f),i&&h())},{immediate:!0})}),He(()=>{oe("keydown",document,f),i&&h()});function l(g){if(!o&&s()){const v=c();if(v===null||v.contains(Il(g)))return;p("first")}}function c(){const g=t.value;if(g===null)return null;let v=g;for(;v=v.nextSibling,!(v===null||v instanceof Element&&v.tagName==="DIV"););return v}function d(){var g;if(!e.disabled){if(_t.push(n),e.autoFocus){const{initialFocusTo:v}=e;v===void 0?p("first"):(g=uu(v))===null||g===void 0||g.focus({preventScroll:!0})}i=!0,document.addEventListener("focus",l,!0)}}function h(){var g;if(e.disabled||(document.removeEventListener("focus",l,!0),_t=_t.filter($=>$!==n),s()))return;const{finalFocusTo:v}=e;v!==void 0?(g=uu(v))===null||g===void 0||g.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&u instanceof HTMLElement&&(o=!0,u.focus({preventScroll:!0}),o=!1)}function p(g){if(s()&&e.active){const v=t.value,$=r.value;if(v!==null&&$!==null){const S=c();if(S==null||S===$){o=!0,v.focus({preventScroll:!0}),o=!1;return}o=!0;const P=g==="first"?Iu(S):Mu(S);o=!1,P||(o=!0,v.focus({preventScroll:!0}),o=!1)}}}function m(g){if(o)return;const v=c();v!==null&&(g.relatedTarget!==null&&v.contains(g.relatedTarget)?p("last"):p("first"))}function y(g){o||(g.relatedTarget!==null&&g.relatedTarget===t.value?p("last"):p("first"))}return{focusableStartRef:t,focusableEndRef:r,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:m,handleEndFocus:y}},render(){const{default:e}=this.$slots;if(e===void 0)return null;if(this.disabled)return e();const{active:n,focusableStyle:t}=this;return de(Ro,null,[de("div",{"aria-hidden":"true",tabindex:n?"0":"-1",ref:"focusableStartRef",style:t,onFocus:this.handleStartFocus}),e(),de("div",{"aria-hidden":"true",style:t,ref:"focusableEndRef",tabindex:n?"0":"-1",onFocus:this.handleEndFocus})])}});var Lu=typeof global=="object"&&global&&global.Object===Object&&global,pd=typeof self=="object"&&self&&self.Object===Object&&self,ce=Lu||pd||Function("return this")(),pe=ce.Symbol,Pu=Object.prototype,vd=Pu.hasOwnProperty,gd=Pu.toString,bt=pe?pe.toStringTag:void 0;function md(e){var n=vd.call(e,bt),t=e[bt];try{e[bt]=void 0;var r=!0}catch{}var i=gd.call(e);return r&&(n?e[bt]=t:delete e[bt]),i}var _d=Object.prototype,bd=_d.toString;function xd(e){return bd.call(e)}var yd="[object Null]",wd="[object Undefined]",Fu=pe?pe.toStringTag:void 0;function ve(e){return e==null?e===void 0?wd:yd:Fu&&Fu in Object(e)?md(e):xd(e)}function re(e){return e!=null&&typeof e=="object"}var $d="[object Symbol]";function Ee(e){return typeof e=="symbol"||re(e)&&ve(e)==$d}var Ad=NaN;function Bu(e){return typeof e=="number"?e:Ee(e)?Ad:+e}function J(e,n){for(var t=-1,r=e==null?0:e.length,i=Array(r);++t<r;)i[t]=n(e[t],t,e);return i}var M=Array.isArray,Ed=1/0,Wu=pe?pe.prototype:void 0,Nu=Wu?Wu.toString:void 0;function Te(e){if(typeof e=="string")return e;if(M(e))return J(e,Te)+"";if(Ee(e))return Nu?Nu.call(e):"";var n=e+"";return n=="0"&&1/e==-Ed?"-0":n}function or(e,n){return function(t,r){var i;if(t===void 0&&r===void 0)return n;if(t!==void 0&&(i=t),r!==void 0){if(i===void 0)return r;typeof t=="string"||typeof r=="string"?(t=Te(t),r=Te(r)):(t=Bu(t),r=Bu(r)),i=e(t,r)}return i}}var Td=or(function(e,n){return e+n},0),Rd=/\s/;function zu(e){for(var n=e.length;n--&&Rd.test(e.charAt(n)););return n}var Od=/^\s+/;function Du(e){return e&&e.slice(0,zu(e)+1).replace(Od,"")}function Q(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}var Hu=NaN,Sd=/^[-+]0x[0-9a-f]+$/i,Id=/^0b[01]+$/i,Md=/^0o[0-7]+$/i,Cd=parseInt;function Ie(e){if(typeof e=="number")return e;if(Ee(e))return Hu;if(Q(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=Q(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=Du(e);var t=Id.test(e);return t||Md.test(e)?Cd(e.slice(2),t?2:8):Sd.test(e)?Hu:+e}var Gu=1/0,Ld=17976931348623157e292;function rn(e){if(!e)return e===0?e:0;if(e=Ie(e),e===Gu||e===-Gu){var n=e<0?-1:1;return n*Ld}return e===e?e:0}function C(e){var n=rn(e),t=n%1;return n===n?t?n-t:n:0}var Pd="Expected a function";function Fd(e,n){if(typeof n!="function")throw new TypeError(Pd);return e=C(e),function(){if(--e<1)return n.apply(this,arguments)}}function ge(e){return e}var Bd="[object AsyncFunction]",Wd="[object Function]",Nd="[object GeneratorFunction]",zd="[object Proxy]";function on(e){if(!Q(e))return!1;var n=ve(e);return n==Wd||n==Nd||n==Bd||n==zd}var ur=ce["__core-js_shared__"],Uu=function(){var e=/[^.]+$/.exec(ur&&ur.keys&&ur.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Dd(e){return!!Uu&&Uu in e}var Hd=Function.prototype,Gd=Hd.toString;function Ln(e){if(e!=null){try{return Gd.call(e)}catch{}try{return e+""}catch{}}return""}var Ud=/[\\^$.*+?()[\]{}|]/g,kd=/^\[object .+?Constructor\]$/,jd=Function.prototype,Yd=Object.prototype,qd=jd.toString,Xd=Yd.hasOwnProperty,Kd=RegExp("^"+qd.call(Xd).replace(Ud,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ku(e){if(!Q(e)||Dd(e))return!1;var n=on(e)?Kd:kd;return n.test(Ln(e))}function Zd(e,n){return e==null?void 0:e[n]}function Pn(e,n){var t=Zd(e,n);return ku(t)?t:void 0}var xt=Pn(ce,"WeakMap"),ar=xt&&new xt,ju=ar?function(e,n){return ar.set(e,n),e}:ge,Yu=Object.create,Zn=function(){function e(){}return function(n){if(!Q(n))return{};if(Yu)return Yu(n);e.prototype=n;var t=new e;return e.prototype=void 0,t}}();function yt(e){return function(){var n=arguments;switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3]);case 5:return new e(n[0],n[1],n[2],n[3],n[4]);case 6:return new e(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new e(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var t=Zn(e.prototype),r=e.apply(t,n);return Q(r)?r:t}}var Vd=1;function Jd(e,n,t){var r=n&Vd,i=yt(e);function o(){var u=this&&this!==ce&&this instanceof o?i:e;return u.apply(r?t:this,arguments)}return o}function Re(e,n,t){switch(t.length){case 0:return e.call(n);case 1:return e.call(n,t[0]);case 2:return e.call(n,t[0],t[1]);case 3:return e.call(n,t[0],t[1],t[2])}return e.apply(n,t)}var Qd=Math.max;function qu(e,n,t,r){for(var i=-1,o=e.length,u=t.length,s=-1,f=n.length,l=Qd(o-u,0),c=Array(f+l),d=!r;++s<f;)c[s]=n[s];for(;++i<u;)(d||i<o)&&(c[t[i]]=e[i]);for(;l--;)c[s++]=e[i++];return c}var eh=Math.max;function Xu(e,n,t,r){for(var i=-1,o=e.length,u=-1,s=t.length,f=-1,l=n.length,c=eh(o-s,0),d=Array(c+l),h=!r;++i<c;)d[i]=e[i];for(var p=i;++f<l;)d[p+f]=n[f];for(;++u<s;)(h||i<o)&&(d[p+t[u]]=e[i++]);return d}function nh(e,n){for(var t=e.length,r=0;t--;)e[t]===n&&++r;return r}function sr(){}var th=4294967295;function N(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=th,this.__views__=[]}N.prototype=Zn(sr.prototype),N.prototype.constructor=N;function ai(){}var si=ar?function(e){return ar.get(e)}:ai,Vn={},rh=Object.prototype,ih=rh.hasOwnProperty;function fr(e){for(var n=e.name+"",t=Vn[n],r=ih.call(Vn,n)?t.length:0;r--;){var i=t[r],o=i.func;if(o==null||o==e)return i.name}return n}function Me(e,n){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=void 0}Me.prototype=Zn(sr.prototype),Me.prototype.constructor=Me;function ye(e,n){var t=-1,r=e.length;for(n||(n=Array(r));++t<r;)n[t]=e[t];return n}function Ku(e){if(e instanceof N)return e.clone();var n=new Me(e.__wrapped__,e.__chain__);return n.__actions__=ye(e.__actions__),n.__index__=e.__index__,n.__values__=e.__values__,n}var oh=Object.prototype,uh=oh.hasOwnProperty;function a(e){if(re(e)&&!M(e)&&!(e instanceof N)){if(e instanceof Me)return e;if(uh.call(e,"__wrapped__"))return Ku(e)}return new Me(e)}a.prototype=sr.prototype,a.prototype.constructor=a;function fi(e){var n=fr(e),t=a[n];if(typeof t!="function"||!(n in N.prototype))return!1;if(e===t)return!0;var r=si(t);return!!r&&e===r[0]}var ah=800,sh=16,fh=Date.now;function Zu(e){var n=0,t=0;return function(){var r=fh(),i=sh-(r-t);if(t=r,i>0){if(++n>=ah)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}var Vu=Zu(ju),lh=/\{\n\/\* \[wrapped with (.+)\] \*/,ch=/,? & /;function dh(e){var n=e.match(lh);return n?n[1].split(ch):[]}var hh=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function ph(e,n){var t=n.length;if(!t)return e;var r=t-1;return n[r]=(t>1?"& ":"")+n[r],n=n.join(t>2?", ":" "),e.replace(hh,`{
|
|
16
16
|
/* [wrapped with `+n+`] */
|
|
17
17
|
`)}function li(e){return function(){return e}}var lr=function(){try{var e=Pn(Object,"defineProperty");return e({},"",{}),e}catch{}}(),vh=lr?function(e,n){return lr(e,"toString",{configurable:!0,enumerable:!1,value:li(n),writable:!0})}:ge,ci=Zu(vh);function Ce(e,n){for(var t=-1,r=e==null?0:e.length;++t<r&&n(e[t],t,e)!==!1;);return e}function cr(e,n,t,r){for(var i=e.length,o=t+(r?1:-1);r?o--:++o<i;)if(n(e[o],o,e))return o;return-1}function Ju(e){return e!==e}function gh(e,n,t){for(var r=t-1,i=e.length;++r<i;)if(e[r]===n)return r;return-1}function Jn(e,n,t){return n===n?gh(e,n,t):cr(e,Ju,t)}function dr(e,n){var t=e==null?0:e.length;return!!t&&Jn(e,n,0)>-1}var mh=1,_h=2,bh=8,xh=16,yh=32,wh=64,$h=128,Ah=256,Eh=512,Th=[["ary",$h],["bind",mh],["bindKey",_h],["curry",bh],["curryRight",xh],["flip",Eh],["partial",yh],["partialRight",wh],["rearg",Ah]];function Rh(e,n){return Ce(Th,function(t){var r="_."+t[0];n&t[1]&&!dr(e,r)&&e.push(r)}),e.sort()}function Qu(e,n,t){var r=n+"";return ci(e,ph(r,Rh(dh(r),t)))}var Oh=1,Sh=2,Ih=4,Mh=8,ea=32,na=64;function ta(e,n,t,r,i,o,u,s,f,l){var c=n&Mh,d=c?u:void 0,h=c?void 0:u,p=c?o:void 0,m=c?void 0:o;n|=c?ea:na,n&=~(c?na:ea),n&Ih||(n&=~(Oh|Sh));var y=[e,n,i,p,d,m,h,s,f,l],g=t.apply(void 0,y);return fi(e)&&Vu(g,y),g.placeholder=r,Qu(g,e,n)}function Qn(e){var n=e;return n.placeholder}var Ch=9007199254740991,Lh=/^(?:0|[1-9]\d*)$/;function un(e,n){var t=typeof e;return n=n==null?Ch:n,!!n&&(t=="number"||t!="symbol"&&Lh.test(e))&&e>-1&&e%1==0&&e<n}var Ph=Math.min;function Fh(e,n){for(var t=e.length,r=Ph(n.length,t),i=ye(e);r--;){var o=n[r];e[r]=un(o,t)?i[o]:void 0}return e}var ra="__lodash_placeholder__";function mn(e,n){for(var t=-1,r=e.length,i=0,o=[];++t<r;){var u=e[t];(u===n||u===ra)&&(e[t]=ra,o[i++]=t)}return o}var Bh=1,Wh=2,Nh=8,zh=16,Dh=128,Hh=512;function hr(e,n,t,r,i,o,u,s,f,l){var c=n&Dh,d=n&Bh,h=n&Wh,p=n&(Nh|zh),m=n&Hh,y=h?void 0:yt(e);function g(){for(var v=arguments.length,$=Array(v),S=v;S--;)$[S]=arguments[S];if(p)var P=Qn(g),j=nh($,P);if(r&&($=qu($,r,i,p)),o&&($=Xu($,o,u,p)),v-=j,p&&v<l){var W=mn($,P);return ta(e,n,hr,g.placeholder,t,$,W,s,f,l-v)}var b=d?t:this,x=h?b[e]:e;return v=$.length,s?$=Fh($,s):m&&v>1&&$.reverse(),c&&f<v&&($.length=f),this&&this!==ce&&this instanceof g&&(x=y||yt(x)),x.apply(b,$)}return g}function Gh(e,n,t){var r=yt(e);function i(){for(var o=arguments.length,u=Array(o),s=o,f=Qn(i);s--;)u[s]=arguments[s];var l=o<3&&u[0]!==f&&u[o-1]!==f?[]:mn(u,f);if(o-=l.length,o<t)return ta(e,n,hr,i.placeholder,void 0,u,l,void 0,void 0,t-o);var c=this&&this!==ce&&this instanceof i?r:e;return Re(c,this,u)}return i}var Uh=1;function kh(e,n,t,r){var i=n&Uh,o=yt(e);function u(){for(var s=-1,f=arguments.length,l=-1,c=r.length,d=Array(c+f),h=this&&this!==ce&&this instanceof u?o:e;++l<c;)d[l]=r[l];for(;f--;)d[l++]=arguments[++s];return Re(h,i?t:this,d)}return u}var ia="__lodash_placeholder__",di=1,jh=2,Yh=4,oa=8,wt=128,ua=256,qh=Math.min;function Xh(e,n){var t=e[1],r=n[1],i=t|r,o=i<(di|jh|wt),u=r==wt&&t==oa||r==wt&&t==ua&&e[7].length<=n[8]||r==(wt|ua)&&n[7].length<=n[8]&&t==oa;if(!(o||u))return e;r&di&&(e[2]=n[2],i|=t&di?0:Yh);var s=n[3];if(s){var f=e[3];e[3]=f?qu(f,s,n[4]):s,e[4]=f?mn(e[3],ia):n[4]}return s=n[5],s&&(f=e[5],e[5]=f?Xu(f,s,n[6]):s,e[6]=f?mn(e[5],ia):n[6]),s=n[7],s&&(e[7]=s),r&wt&&(e[8]=e[8]==null?n[8]:qh(e[8],n[8])),e[9]==null&&(e[9]=n[9]),e[0]=n[0],e[1]=i,e}var Kh="Expected a function",aa=1,Zh=2,hi=8,pi=16,vi=32,sa=64,fa=Math.max;function an(e,n,t,r,i,o,u,s){var f=n&Zh;if(!f&&typeof e!="function")throw new TypeError(Kh);var l=r?r.length:0;if(l||(n&=~(vi|sa),r=i=void 0),u=u===void 0?u:fa(C(u),0),s=s===void 0?s:C(s),l-=i?i.length:0,n&sa){var c=r,d=i;r=i=void 0}var h=f?void 0:si(e),p=[e,n,t,r,i,c,d,o,u,s];if(h&&Xh(p,h),e=p[0],n=p[1],t=p[2],r=p[3],i=p[4],s=p[9]=p[9]===void 0?f?0:e.length:fa(p[9]-l,0),!s&&n&(hi|pi)&&(n&=~(hi|pi)),!n||n==aa)var m=Jd(e,n,t);else n==hi||n==pi?m=Gh(e,n,s):(n==vi||n==(aa|vi))&&!i.length?m=kh(e,n,t,r):m=hr.apply(void 0,p);var y=h?ju:Vu;return Qu(y(m,p),e,n)}var Vh=128;function la(e,n,t){return n=t?void 0:n,n=e&&n==null?e.length:n,an(e,Vh,void 0,void 0,void 0,void 0,n)}function sn(e,n,t){n=="__proto__"&&lr?lr(e,n,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[n]=t}function Ne(e,n){return e===n||e!==e&&n!==n}var Jh=Object.prototype,Qh=Jh.hasOwnProperty;function $t(e,n,t){var r=e[n];(!(Qh.call(e,n)&&Ne(r,t))||t===void 0&&!(n in e))&&sn(e,n,t)}function qe(e,n,t,r){var i=!t;t||(t={});for(var o=-1,u=n.length;++o<u;){var s=n[o],f=r?r(t[s],e[s],s,t,e):void 0;f===void 0&&(f=e[s]),i?sn(t,s,f):$t(t,s,f)}return t}var ca=Math.max;function da(e,n,t){return n=ca(n===void 0?e.length-1:n,0),function(){for(var r=arguments,i=-1,o=ca(r.length-n,0),u=Array(o);++i<o;)u[i]=r[n+i];i=-1;for(var s=Array(n+1);++i<n;)s[i]=r[i];return s[n]=t(u),Re(e,this,s)}}function F(e,n){return ci(da(e,n,ge),e+"")}var ep=9007199254740991;function pr(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ep}function we(e){return e!=null&&pr(e.length)&&!on(e)}function me(e,n,t){if(!Q(t))return!1;var r=typeof n;return(r=="number"?we(t)&&un(n,t.length):r=="string"&&n in t)?Ne(t[n],e):!1}function et(e){return F(function(n,t){var r=-1,i=t.length,o=i>1?t[i-1]:void 0,u=i>2?t[2]:void 0;for(o=e.length>3&&typeof o=="function"?(i--,o):void 0,u&&me(t[0],t[1],u)&&(o=i<3?void 0:o,i=1),n=Object(n);++r<i;){var s=t[r];s&&e(n,s,r,o)}return n})}var np=Object.prototype;function At(e){var n=e&&e.constructor,t=typeof n=="function"&&n.prototype||np;return e===t}function gi(e,n){for(var t=-1,r=Array(e);++t<e;)r[t]=n(t);return r}var tp="[object Arguments]";function ha(e){return re(e)&&ve(e)==tp}var pa=Object.prototype,rp=pa.hasOwnProperty,ip=pa.propertyIsEnumerable,Fn=ha(function(){return arguments}())?ha:function(e){return re(e)&&rp.call(e,"callee")&&!ip.call(e,"callee")};function mi(){return!1}var va=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ga=va&&typeof module=="object"&&module&&!module.nodeType&&module,op=ga&&ga.exports===va,ma=op?ce.Buffer:void 0,up=ma?ma.isBuffer:void 0,_n=up||mi,ap="[object Arguments]",sp="[object Array]",fp="[object Boolean]",lp="[object Date]",cp="[object Error]",dp="[object Function]",hp="[object Map]",pp="[object Number]",vp="[object Object]",gp="[object RegExp]",mp="[object Set]",_p="[object String]",bp="[object WeakMap]",xp="[object ArrayBuffer]",yp="[object DataView]",wp="[object Float32Array]",$p="[object Float64Array]",Ap="[object Int8Array]",Ep="[object Int16Array]",Tp="[object Int32Array]",Rp="[object Uint8Array]",Op="[object Uint8ClampedArray]",Sp="[object Uint16Array]",Ip="[object Uint32Array]",V={};V[wp]=V[$p]=V[Ap]=V[Ep]=V[Tp]=V[Rp]=V[Op]=V[Sp]=V[Ip]=!0,V[ap]=V[sp]=V[xp]=V[fp]=V[yp]=V[lp]=V[cp]=V[dp]=V[hp]=V[pp]=V[vp]=V[gp]=V[mp]=V[_p]=V[bp]=!1;function Mp(e){return re(e)&&pr(e.length)&&!!V[ve(e)]}function Oe(e){return function(n){return e(n)}}var _a=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Et=_a&&typeof module=="object"&&module&&!module.nodeType&&module,Cp=Et&&Et.exports===_a,_i=Cp&&Lu.process,Le=function(){try{var e=Et&&Et.require&&Et.require("util").types;return e||_i&&_i.binding&&_i.binding("util")}catch{}}(),ba=Le&&Le.isTypedArray,nt=ba?Oe(ba):Mp,Lp=Object.prototype,Pp=Lp.hasOwnProperty;function xa(e,n){var t=M(e),r=!t&&Fn(e),i=!t&&!r&&_n(e),o=!t&&!r&&!i&&nt(e),u=t||r||i||o,s=u?gi(e.length,String):[],f=s.length;for(var l in e)(n||Pp.call(e,l))&&!(u&&(l=="length"||i&&(l=="offset"||l=="parent")||o&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||un(l,f)))&&s.push(l);return s}function ya(e,n){return function(t){return e(n(t))}}var Fp=ya(Object.keys,Object),Bp=Object.prototype,Wp=Bp.hasOwnProperty;function bi(e){if(!At(e))return Fp(e);var n=[];for(var t in Object(e))Wp.call(e,t)&&t!="constructor"&&n.push(t);return n}function fe(e){return we(e)?xa(e):bi(e)}var Np=Object.prototype,zp=Np.hasOwnProperty,Dp=et(function(e,n){if(At(n)||we(n)){qe(n,fe(n),e);return}for(var t in n)zp.call(n,t)&&$t(e,t,n[t])});function Hp(e){var n=[];if(e!=null)for(var t in Object(e))n.push(t);return n}var Gp=Object.prototype,Up=Gp.hasOwnProperty;function kp(e){if(!Q(e))return Hp(e);var n=At(e),t=[];for(var r in e)r=="constructor"&&(n||!Up.call(e,r))||t.push(r);return t}function $e(e){return we(e)?xa(e,!0):kp(e)}var wa=et(function(e,n){qe(n,$e(n),e)}),vr=et(function(e,n,t,r){qe(n,$e(n),e,r)}),jp=et(function(e,n,t,r){qe(n,fe(n),e,r)}),Yp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,qp=/^\w*$/;function xi(e,n){if(M(e))return!1;var t=typeof e;return t=="number"||t=="symbol"||t=="boolean"||e==null||Ee(e)?!0:qp.test(e)||!Yp.test(e)||n!=null&&e in Object(n)}var Tt=Pn(Object,"create");function Xp(){this.__data__=Tt?Tt(null):{},this.size=0}function Kp(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n}var Zp="__lodash_hash_undefined__",Vp=Object.prototype,Jp=Vp.hasOwnProperty;function Qp(e){var n=this.__data__;if(Tt){var t=n[e];return t===Zp?void 0:t}return Jp.call(n,e)?n[e]:void 0}var ev=Object.prototype,nv=ev.hasOwnProperty;function tv(e){var n=this.__data__;return Tt?n[e]!==void 0:nv.call(n,e)}var rv="__lodash_hash_undefined__";function iv(e,n){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=Tt&&n===void 0?rv:n,this}function Bn(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n<t;){var r=e[n];this.set(r[0],r[1])}}Bn.prototype.clear=Xp,Bn.prototype.delete=Kp,Bn.prototype.get=Qp,Bn.prototype.has=tv,Bn.prototype.set=iv;function ov(){this.__data__=[],this.size=0}function gr(e,n){for(var t=e.length;t--;)if(Ne(e[t][0],n))return t;return-1}var uv=Array.prototype,av=uv.splice;function sv(e){var n=this.__data__,t=gr(n,e);if(t<0)return!1;var r=n.length-1;return t==r?n.pop():av.call(n,t,1),--this.size,!0}function fv(e){var n=this.__data__,t=gr(n,e);return t<0?void 0:n[t][1]}function lv(e){return gr(this.__data__,e)>-1}function cv(e,n){var t=this.__data__,r=gr(t,e);return r<0?(++this.size,t.push([e,n])):t[r][1]=n,this}function fn(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n<t;){var r=e[n];this.set(r[0],r[1])}}fn.prototype.clear=ov,fn.prototype.delete=sv,fn.prototype.get=fv,fn.prototype.has=lv,fn.prototype.set=cv;var Rt=Pn(ce,"Map");function dv(){this.size=0,this.__data__={hash:new Bn,map:new(Rt||fn),string:new Bn}}function hv(e){var n=typeof e;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?e!=="__proto__":e===null}function mr(e,n){var t=e.__data__;return hv(n)?t[typeof n=="string"?"string":"hash"]:t.map}function pv(e){var n=mr(this,e).delete(e);return this.size-=n?1:0,n}function vv(e){return mr(this,e).get(e)}function gv(e){return mr(this,e).has(e)}function mv(e,n){var t=mr(this,e),r=t.size;return t.set(e,n),this.size+=t.size==r?0:1,this}function ln(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n<t;){var r=e[n];this.set(r[0],r[1])}}ln.prototype.clear=dv,ln.prototype.delete=pv,ln.prototype.get=vv,ln.prototype.has=gv,ln.prototype.set=mv;var _v="Expected a function";function _r(e,n){if(typeof e!="function"||n!=null&&typeof n!="function")throw new TypeError(_v);var t=function(){var r=arguments,i=n?n.apply(this,r):r[0],o=t.cache;if(o.has(i))return o.get(i);var u=e.apply(this,r);return t.cache=o.set(i,u)||o,u};return t.cache=new(_r.Cache||ln),t}_r.Cache=ln;var bv=500;function xv(e){var n=_r(e,function(r){return t.size===bv&&t.clear(),r}),t=n.cache;return n}var yv=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,wv=/\\(\\)?/g,$a=xv(function(e){var n=[];return e.charCodeAt(0)===46&&n.push(""),e.replace(yv,function(t,r,i,o){n.push(i?o.replace(wv,"$1"):r||t)}),n});function H(e){return e==null?"":Te(e)}function bn(e,n){return M(e)?e:xi(e,n)?[e]:$a(H(e))}var $v=1/0;function Xe(e){if(typeof e=="string"||Ee(e))return e;var n=e+"";return n=="0"&&1/e==-$v?"-0":n}function Wn(e,n){n=bn(n,e);for(var t=0,r=n.length;e!=null&&t<r;)e=e[Xe(n[t++])];return t&&t==r?e:void 0}function yi(e,n,t){var r=e==null?void 0:Wn(e,n);return r===void 0?t:r}function wi(e,n){for(var t=-1,r=n.length,i=Array(r),o=e==null;++t<r;)i[t]=o?void 0:yi(e,n[t]);return i}function xn(e,n){for(var t=-1,r=n.length,i=e.length;++t<r;)e[i+t]=n[t];return e}var Aa=pe?pe.isConcatSpreadable:void 0;function Av(e){return M(e)||Fn(e)||!!(Aa&&e&&e[Aa])}function he(e,n,t,r,i){var o=-1,u=e.length;for(t||(t=Av),i||(i=[]);++o<u;){var s=e[o];n>0&&t(s)?n>1?he(s,n-1,t,r,i):xn(i,s):r||(i[i.length]=s)}return i}function Ea(e){var n=e==null?0:e.length;return n?he(e,1):[]}function cn(e){return ci(da(e,void 0,Ea),e+"")}var Ev=cn(wi),br=ya(Object.getPrototypeOf,Object),Tv="[object Object]",Rv=Function.prototype,Ov=Object.prototype,Ta=Rv.toString,Sv=Ov.hasOwnProperty,Iv=Ta.call(Object);function Ot(e){if(!re(e)||ve(e)!=Tv)return!1;var n=br(e);if(n===null)return!0;var t=Sv.call(n,"constructor")&&n.constructor;return typeof t=="function"&&t instanceof t&&Ta.call(t)==Iv}var Mv="[object DOMException]",Cv="[object Error]";function $i(e){if(!re(e))return!1;var n=ve(e);return n==Cv||n==Mv||typeof e.message=="string"&&typeof e.name=="string"&&!Ot(e)}var Ra=F(function(e,n){try{return Re(e,void 0,n)}catch(t){return $i(t)?t:new Error(t)}}),Lv="Expected a function";function Oa(e,n){var t;if(typeof n!="function")throw new TypeError(Lv);return e=C(e),function(){return--e>0&&(t=n.apply(this,arguments)),e<=1&&(n=void 0),t}}var Pv=1,Fv=32,xr=F(function(e,n,t){var r=Pv;if(t.length){var i=mn(t,Qn(xr));r|=Fv}return an(e,r,n,t,i)});xr.placeholder={};var Bv=cn(function(e,n){return Ce(n,function(t){t=Xe(t),sn(e,t,xr(e[t],e))}),e}),Wv=1,Nv=2,zv=32,Ai=F(function(e,n,t){var r=Wv|Nv;if(t.length){var i=mn(t,Qn(Ai));r|=zv}return an(n,r,e,t,i)});Ai.placeholder={};function Pe(e,n,t){var r=-1,i=e.length;n<0&&(n=-n>i?0:i+n),t=t>i?i:t,t<0&&(t+=i),i=n>t?0:t-n>>>0,n>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+n];return o}function yn(e,n,t){var r=e.length;return t=t===void 0?r:t,!n&&t>=r?e:Pe(e,n,t)}var Dv="\\ud800-\\udfff",Hv="\\u0300-\\u036f",Gv="\\ufe20-\\ufe2f",Uv="\\u20d0-\\u20ff",kv=Hv+Gv+Uv,jv="\\ufe0e\\ufe0f",Yv="\\u200d",qv=RegExp("["+Yv+Dv+kv+jv+"]");function tt(e){return qv.test(e)}function Xv(e){return e.split("")}var Sa="\\ud800-\\udfff",Kv="\\u0300-\\u036f",Zv="\\ufe20-\\ufe2f",Vv="\\u20d0-\\u20ff",Jv=Kv+Zv+Vv,Qv="\\ufe0e\\ufe0f",eg="["+Sa+"]",Ei="["+Jv+"]",Ti="\\ud83c[\\udffb-\\udfff]",ng="(?:"+Ei+"|"+Ti+")",Ia="[^"+Sa+"]",Ma="(?:\\ud83c[\\udde6-\\uddff]){2}",Ca="[\\ud800-\\udbff][\\udc00-\\udfff]",tg="\\u200d",La=ng+"?",Pa="["+Qv+"]?",rg="(?:"+tg+"(?:"+[Ia,Ma,Ca].join("|")+")"+Pa+La+")*",ig=Pa+La+rg,og="(?:"+[Ia+Ei+"?",Ei,Ma,Ca,eg].join("|")+")",ug=RegExp(Ti+"(?="+Ti+")|"+og+ig,"g");function ag(e){return e.match(ug)||[]}function ze(e){return tt(e)?ag(e):Xv(e)}function Fa(e){return function(n){n=H(n);var t=tt(n)?ze(n):void 0,r=t?t[0]:n.charAt(0),i=t?yn(t,1).join(""):n.slice(1);return r[e]()+i}}var Ri=Fa("toUpperCase");function Ba(e){return Ri(H(e).toLowerCase())}function Oi(e,n,t,r){var i=-1,o=e==null?0:e.length;for(r&&o&&(t=e[++i]);++i<o;)t=n(t,e[i],i,e);return t}function Si(e){return function(n){return e==null?void 0:e[n]}}var sg={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},fg=Si(sg),lg=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,cg="\\u0300-\\u036f",dg="\\ufe20-\\ufe2f",hg="\\u20d0-\\u20ff",pg=cg+dg+hg,vg="["+pg+"]",gg=RegExp(vg,"g");function Wa(e){return e=H(e),e&&e.replace(lg,fg).replace(gg,"")}var mg=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function _g(e){return e.match(mg)||[]}var bg=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function xg(e){return bg.test(e)}var Na="\\ud800-\\udfff",yg="\\u0300-\\u036f",wg="\\ufe20-\\ufe2f",$g="\\u20d0-\\u20ff",Ag=yg+wg+$g,za="\\u2700-\\u27bf",Da="a-z\\xdf-\\xf6\\xf8-\\xff",Eg="\\xac\\xb1\\xd7\\xf7",Tg="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Rg="\\u2000-\\u206f",Og=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ha="A-Z\\xc0-\\xd6\\xd8-\\xde",Sg="\\ufe0e\\ufe0f",Ga=Eg+Tg+Rg+Og,Ua="['\u2019]",ka="["+Ga+"]",Ig="["+Ag+"]",ja="\\d+",Mg="["+za+"]",Ya="["+Da+"]",qa="[^"+Na+Ga+ja+za+Da+Ha+"]",Cg="\\ud83c[\\udffb-\\udfff]",Lg="(?:"+Ig+"|"+Cg+")",Pg="[^"+Na+"]",Xa="(?:\\ud83c[\\udde6-\\uddff]){2}",Ka="[\\ud800-\\udbff][\\udc00-\\udfff]",rt="["+Ha+"]",Fg="\\u200d",Za="(?:"+Ya+"|"+qa+")",Bg="(?:"+rt+"|"+qa+")",Va="(?:"+Ua+"(?:d|ll|m|re|s|t|ve))?",Ja="(?:"+Ua+"(?:D|LL|M|RE|S|T|VE))?",Qa=Lg+"?",es="["+Sg+"]?",Wg="(?:"+Fg+"(?:"+[Pg,Xa,Ka].join("|")+")"+es+Qa+")*",Ng="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",zg="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Dg=es+Qa+Wg,Hg="(?:"+[Mg,Xa,Ka].join("|")+")"+Dg,Gg=RegExp([rt+"?"+Ya+"+"+Va+"(?="+[ka,rt,"$"].join("|")+")",Bg+"+"+Ja+"(?="+[ka,rt+Za,"$"].join("|")+")",rt+"?"+Za+"+"+Va,rt+"+"+Ja,zg,Ng,ja,Hg].join("|"),"g");function Ug(e){return e.match(Gg)||[]}function ns(e,n,t){return e=H(e),n=t?void 0:n,n===void 0?xg(e)?Ug(e):_g(e):e.match(n)||[]}var kg="['\u2019]",jg=RegExp(kg,"g");function it(e){return function(n){return Oi(ns(Wa(n).replace(jg,"")),e,"")}}var Yg=it(function(e,n,t){return n=n.toLowerCase(),e+(t?Ba(n):n)});function qg(){if(!arguments.length)return[];var e=arguments[0];return M(e)?e:[e]}var Xg=ce.isFinite,Kg=Math.min;function Ii(e){var n=Math[e];return function(t,r){if(t=Ie(t),r=r==null?0:Kg(C(r),292),r&&Xg(t)){var i=(H(t)+"e").split("e"),o=n(i[0]+"e"+(+i[1]+r));return i=(H(o)+"e").split("e"),+(i[0]+"e"+(+i[1]-r))}return n(t)}}var Zg=Ii("ceil");function ts(e){var n=a(e);return n.__chain__=!0,n}var Vg=Math.ceil,Jg=Math.max;function Qg(e,n,t){(t?me(e,n,t):n===void 0)?n=1:n=Jg(C(n),0);var r=e==null?0:e.length;if(!r||n<1)return[];for(var i=0,o=0,u=Array(Vg(r/n));i<r;)u[o++]=Pe(e,i,i+=n);return u}function Nn(e,n,t){return e===e&&(t!==void 0&&(e=e<=t?e:t),n!==void 0&&(e=e>=n?e:n)),e}function e0(e,n,t){return t===void 0&&(t=n,n=void 0),t!==void 0&&(t=Ie(t),t=t===t?t:0),n!==void 0&&(n=Ie(n),n=n===n?n:0),Nn(Ie(e),n,t)}function n0(){this.__data__=new fn,this.size=0}function t0(e){var n=this.__data__,t=n.delete(e);return this.size=n.size,t}function r0(e){return this.__data__.get(e)}function i0(e){return this.__data__.has(e)}var o0=200;function u0(e,n){var t=this.__data__;if(t instanceof fn){var r=t.__data__;if(!Rt||r.length<o0-1)return r.push([e,n]),this.size=++t.size,this;t=this.__data__=new ln(r)}return t.set(e,n),this.size=t.size,this}function De(e){var n=this.__data__=new fn(e);this.size=n.size}De.prototype.clear=n0,De.prototype.delete=t0,De.prototype.get=r0,De.prototype.has=i0,De.prototype.set=u0;function rs(e,n){return e&&qe(n,fe(n),e)}function a0(e,n){return e&&qe(n,$e(n),e)}var is=typeof exports=="object"&&exports&&!exports.nodeType&&exports,os=is&&typeof module=="object"&&module&&!module.nodeType&&module,s0=os&&os.exports===is,us=s0?ce.Buffer:void 0,as=us?us.allocUnsafe:void 0;function ss(e,n){if(n)return e.slice();var t=e.length,r=as?as(t):new e.constructor(t);return e.copy(r),r}function wn(e,n){for(var t=-1,r=e==null?0:e.length,i=0,o=[];++t<r;){var u=e[t];n(u,t,e)&&(o[i++]=u)}return o}function Mi(){return[]}var f0=Object.prototype,l0=f0.propertyIsEnumerable,fs=Object.getOwnPropertySymbols,Ci=fs?function(e){return e==null?[]:(e=Object(e),wn(fs(e),function(n){return l0.call(e,n)}))}:Mi;function c0(e,n){return qe(e,Ci(e),n)}var d0=Object.getOwnPropertySymbols,ls=d0?function(e){for(var n=[];e;)xn(n,Ci(e)),e=br(e);return n}:Mi;function h0(e,n){return qe(e,ls(e),n)}function cs(e,n,t){var r=n(e);return M(e)?r:xn(r,t(e))}function Li(e){return cs(e,fe,Ci)}function Pi(e){return cs(e,$e,ls)}var Fi=Pn(ce,"DataView"),Bi=Pn(ce,"Promise"),ot=Pn(ce,"Set"),ds="[object Map]",p0="[object Object]",hs="[object Promise]",ps="[object Set]",vs="[object WeakMap]",gs="[object DataView]",v0=Ln(Fi),g0=Ln(Rt),m0=Ln(Bi),_0=Ln(ot),b0=Ln(xt),zn=ve;(Fi&&zn(new Fi(new ArrayBuffer(1)))!=gs||Rt&&zn(new Rt)!=ds||Bi&&zn(Bi.resolve())!=hs||ot&&zn(new ot)!=ps||xt&&zn(new xt)!=vs)&&(zn=function(e){var n=ve(e),t=n==p0?e.constructor:void 0,r=t?Ln(t):"";if(r)switch(r){case v0:return gs;case g0:return ds;case m0:return hs;case _0:return ps;case b0:return vs}return n});var Ke=zn,x0=Object.prototype,y0=x0.hasOwnProperty;function w0(e){var n=e.length,t=new e.constructor(n);return n&&typeof e[0]=="string"&&y0.call(e,"index")&&(t.index=e.index,t.input=e.input),t}var yr=ce.Uint8Array;function Wi(e){var n=new e.constructor(e.byteLength);return new yr(n).set(new yr(e)),n}function $0(e,n){var t=n?Wi(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.byteLength)}var A0=/\w*$/;function E0(e){var n=new e.constructor(e.source,A0.exec(e));return n.lastIndex=e.lastIndex,n}var ms=pe?pe.prototype:void 0,_s=ms?ms.valueOf:void 0;function T0(e){return _s?Object(_s.call(e)):{}}function bs(e,n){var t=n?Wi(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}var R0="[object Boolean]",O0="[object Date]",S0="[object Map]",I0="[object Number]",M0="[object RegExp]",C0="[object Set]",L0="[object String]",P0="[object Symbol]",F0="[object ArrayBuffer]",B0="[object DataView]",W0="[object Float32Array]",N0="[object Float64Array]",z0="[object Int8Array]",D0="[object Int16Array]",H0="[object Int32Array]",G0="[object Uint8Array]",U0="[object Uint8ClampedArray]",k0="[object Uint16Array]",j0="[object Uint32Array]";function Y0(e,n,t){var r=e.constructor;switch(n){case F0:return Wi(e);case R0:case O0:return new r(+e);case B0:return $0(e,t);case W0:case N0:case z0:case D0:case H0:case G0:case U0:case k0:case j0:return bs(e,t);case S0:return new r;case I0:case L0:return new r(e);case M0:return E0(e);case C0:return new r;case P0:return T0(e)}}function xs(e){return typeof e.constructor=="function"&&!At(e)?Zn(br(e)):{}}var q0="[object Map]";function X0(e){return re(e)&&Ke(e)==q0}var ys=Le&&Le.isMap,ws=ys?Oe(ys):X0,K0="[object Set]";function Z0(e){return re(e)&&Ke(e)==K0}var $s=Le&&Le.isSet,As=$s?Oe($s):Z0,V0=1,J0=2,Q0=4,Es="[object Arguments]",em="[object Array]",nm="[object Boolean]",tm="[object Date]",rm="[object Error]",Ts="[object Function]",im="[object GeneratorFunction]",om="[object Map]",um="[object Number]",Rs="[object Object]",am="[object RegExp]",sm="[object Set]",fm="[object String]",lm="[object Symbol]",cm="[object WeakMap]",dm="[object ArrayBuffer]",hm="[object DataView]",pm="[object Float32Array]",vm="[object Float64Array]",gm="[object Int8Array]",mm="[object Int16Array]",_m="[object Int32Array]",bm="[object Uint8Array]",xm="[object Uint8ClampedArray]",ym="[object Uint16Array]",wm="[object Uint32Array]",Z={};Z[Es]=Z[em]=Z[dm]=Z[hm]=Z[nm]=Z[tm]=Z[pm]=Z[vm]=Z[gm]=Z[mm]=Z[_m]=Z[om]=Z[um]=Z[Rs]=Z[am]=Z[sm]=Z[fm]=Z[lm]=Z[bm]=Z[xm]=Z[ym]=Z[wm]=!0,Z[rm]=Z[Ts]=Z[cm]=!1;function Fe(e,n,t,r,i,o){var u,s=n&V0,f=n&J0,l=n&Q0;if(t&&(u=i?t(e,r,i,o):t(e)),u!==void 0)return u;if(!Q(e))return e;var c=M(e);if(c){if(u=w0(e),!s)return ye(e,u)}else{var d=Ke(e),h=d==Ts||d==im;if(_n(e))return ss(e,s);if(d==Rs||d==Es||h&&!i){if(u=f||h?{}:xs(e),!s)return f?h0(e,a0(u,e)):c0(e,rs(u,e))}else{if(!Z[d])return i?e:{};u=Y0(e,d,s)}}o||(o=new De);var p=o.get(e);if(p)return p;o.set(e,u),As(e)?e.forEach(function(g){u.add(Fe(g,n,t,g,e,o))}):ws(e)&&e.forEach(function(g,v){u.set(v,Fe(g,n,t,v,e,o))});var m=l?f?Pi:Li:f?$e:fe,y=c?void 0:m(e);return Ce(y||e,function(g,v){y&&(v=g,g=e[v]),$t(u,v,Fe(g,n,t,v,e,o))}),u}var $m=4;function Am(e){return Fe(e,$m)}var Em=1,Tm=4;function Rm(e){return Fe(e,Em|Tm)}var Om=1,Sm=4;function Im(e,n){return n=typeof n=="function"?n:void 0,Fe(e,Om|Sm,n)}var Mm=4;function Cm(e,n){return n=typeof n=="function"?n:void 0,Fe(e,Mm,n)}function Lm(){return new Me(this.value(),this.__chain__)}function Pm(e){for(var n=-1,t=e==null?0:e.length,r=0,i=[];++n<t;){var o=e[n];o&&(i[r++]=o)}return i}function Fm(){var e=arguments.length;if(!e)return[];for(var n=Array(e-1),t=arguments[0],r=e;r--;)n[r-1]=arguments[r];return xn(M(t)?ye(t):[t],he(n,1))}var Bm="__lodash_hash_undefined__";function Wm(e){return this.__data__.set(e,Bm),this}function Nm(e){return this.__data__.has(e)}function Dn(e){var n=-1,t=e==null?0:e.length;for(this.__data__=new ln;++n<t;)this.add(e[n])}Dn.prototype.add=Dn.prototype.push=Wm,Dn.prototype.has=Nm;function Ni(e,n){for(var t=-1,r=e==null?0:e.length;++t<r;)if(n(e[t],t,e))return!0;return!1}function St(e,n){return e.has(n)}var zm=1,Dm=2;function Os(e,n,t,r,i,o){var u=t&zm,s=e.length,f=n.length;if(s!=f&&!(u&&f>s))return!1;var l=o.get(e),c=o.get(n);if(l&&c)return l==n&&c==e;var d=-1,h=!0,p=t&Dm?new Dn:void 0;for(o.set(e,n),o.set(n,e);++d<s;){var m=e[d],y=n[d];if(r)var g=u?r(y,m,d,n,e,o):r(m,y,d,e,n,o);if(g!==void 0){if(g)continue;h=!1;break}if(p){if(!Ni(n,function(v,$){if(!St(p,$)&&(m===v||i(m,v,t,r,o)))return p.push($)})){h=!1;break}}else if(!(m===y||i(m,y,t,r,o))){h=!1;break}}return o.delete(e),o.delete(n),h}function zi(e){var n=-1,t=Array(e.size);return e.forEach(function(r,i){t[++n]=[i,r]}),t}function wr(e){var n=-1,t=Array(e.size);return e.forEach(function(r){t[++n]=r}),t}var Hm=1,Gm=2,Um="[object Boolean]",km="[object Date]",jm="[object Error]",Ym="[object Map]",qm="[object Number]",Xm="[object RegExp]",Km="[object Set]",Zm="[object String]",Vm="[object Symbol]",Jm="[object ArrayBuffer]",Qm="[object DataView]",Ss=pe?pe.prototype:void 0,Di=Ss?Ss.valueOf:void 0;function e_(e,n,t,r,i,o,u){switch(t){case Qm:if(e.byteLength!=n.byteLength||e.byteOffset!=n.byteOffset)return!1;e=e.buffer,n=n.buffer;case Jm:return!(e.byteLength!=n.byteLength||!o(new yr(e),new yr(n)));case Um:case km:case qm:return Ne(+e,+n);case jm:return e.name==n.name&&e.message==n.message;case Xm:case Zm:return e==n+"";case Ym:var s=zi;case Km:var f=r&Hm;if(s||(s=wr),e.size!=n.size&&!f)return!1;var l=u.get(e);if(l)return l==n;r|=Gm,u.set(e,n);var c=Os(s(e),s(n),r,i,o,u);return u.delete(e),c;case Vm:if(Di)return Di.call(e)==Di.call(n)}return!1}var n_=1,t_=Object.prototype,r_=t_.hasOwnProperty;function i_(e,n,t,r,i,o){var u=t&n_,s=Li(e),f=s.length,l=Li(n),c=l.length;if(f!=c&&!u)return!1;for(var d=f;d--;){var h=s[d];if(!(u?h in n:r_.call(n,h)))return!1}var p=o.get(e),m=o.get(n);if(p&&m)return p==n&&m==e;var y=!0;o.set(e,n),o.set(n,e);for(var g=u;++d<f;){h=s[d];var v=e[h],$=n[h];if(r)var S=u?r($,v,h,n,e,o):r(v,$,h,e,n,o);if(!(S===void 0?v===$||i(v,$,t,r,o):S)){y=!1;break}g||(g=h=="constructor")}if(y&&!g){var P=e.constructor,j=n.constructor;P!=j&&"constructor"in e&&"constructor"in n&&!(typeof P=="function"&&P instanceof P&&typeof j=="function"&&j instanceof j)&&(y=!1)}return o.delete(e),o.delete(n),y}var o_=1,Is="[object Arguments]",Ms="[object Array]",$r="[object Object]",u_=Object.prototype,Cs=u_.hasOwnProperty;function a_(e,n,t,r,i,o){var u=M(e),s=M(n),f=u?Ms:Ke(e),l=s?Ms:Ke(n);f=f==Is?$r:f,l=l==Is?$r:l;var c=f==$r,d=l==$r,h=f==l;if(h&&_n(e)){if(!_n(n))return!1;u=!0,c=!1}if(h&&!c)return o||(o=new De),u||nt(e)?Os(e,n,t,r,i,o):e_(e,n,f,t,r,i,o);if(!(t&o_)){var p=c&&Cs.call(e,"__wrapped__"),m=d&&Cs.call(n,"__wrapped__");if(p||m){var y=p?e.value():e,g=m?n.value():n;return o||(o=new De),i(y,g,t,r,o)}}return h?(o||(o=new De),i_(e,n,t,r,i,o)):!1}function It(e,n,t,r,i){return e===n?!0:e==null||n==null||!re(e)&&!re(n)?e!==e&&n!==n:a_(e,n,t,r,It,i)}var s_=1,f_=2;function Hi(e,n,t,r){var i=t.length,o=i,u=!r;if(e==null)return!o;for(e=Object(e);i--;){var s=t[i];if(u&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){s=t[i];var f=s[0],l=e[f],c=s[1];if(u&&s[2]){if(l===void 0&&!(f in e))return!1}else{var d=new De;if(r)var h=r(l,c,f,e,n,d);if(!(h===void 0?It(c,l,s_|f_,r,d):h))return!1}}return!0}function Ls(e){return e===e&&!Q(e)}function Gi(e){for(var n=fe(e),t=n.length;t--;){var r=n[t],i=e[r];n[t]=[r,i,Ls(i)]}return n}function Ps(e,n){return function(t){return t==null?!1:t[e]===n&&(n!==void 0||e in Object(t))}}function Fs(e){var n=Gi(e);return n.length==1&&n[0][2]?Ps(n[0][0],n[0][1]):function(t){return t===e||Hi(t,e,n)}}function l_(e,n){return e!=null&&n in Object(e)}function Bs(e,n,t){n=bn(n,e);for(var r=-1,i=n.length,o=!1;++r<i;){var u=Xe(n[r]);if(!(o=e!=null&&t(e,u)))break;e=e[u]}return o||++r!=i?o:(i=e==null?0:e.length,!!i&&pr(i)&&un(u,i)&&(M(e)||Fn(e)))}function Ui(e,n){return e!=null&&Bs(e,n,l_)}var c_=1,d_=2;function Ws(e,n){return xi(e)&&Ls(n)?Ps(Xe(e),n):function(t){var r=yi(t,e);return r===void 0&&r===n?Ui(t,e):It(n,r,c_|d_)}}function ki(e){return function(n){return n==null?void 0:n[e]}}function h_(e){return function(n){return Wn(n,e)}}function Ns(e){return xi(e)?ki(Xe(e)):h_(e)}function I(e){return typeof e=="function"?e:e==null?ge:typeof e=="object"?M(e)?Ws(e[0],e[1]):Fs(e):Ns(e)}var p_="Expected a function";function v_(e){var n=e==null?0:e.length,t=I;return e=n?J(e,function(r){if(typeof r[1]!="function")throw new TypeError(p_);return[t(r[0]),r[1]]}):[],F(function(r){for(var i=-1;++i<n;){var o=e[i];if(Re(o[0],this,r))return Re(o[1],this,r)}})}function zs(e,n,t){var r=t.length;if(e==null)return!r;for(e=Object(e);r--;){var i=t[r],o=n[i],u=e[i];if(u===void 0&&!(i in e)||!o(u))return!1}return!0}function g_(e){var n=fe(e);return function(t){return zs(t,e,n)}}var m_=1;function __(e){return g_(Fe(e,m_))}function b_(e,n){return n==null||zs(e,n,fe(n))}function x_(e,n,t,r){for(var i=-1,o=e==null?0:e.length;++i<o;){var u=e[i];n(r,u,t(u),e)}return r}function Ds(e){return function(n,t,r){for(var i=-1,o=Object(n),u=r(n),s=u.length;s--;){var f=u[e?s:++i];if(t(o[f],f,o)===!1)break}return n}}var ji=Ds();function Ze(e,n){return e&&ji(e,n,fe)}function Hs(e,n){return function(t,r){if(t==null)return t;if(!we(t))return e(t,r);for(var i=t.length,o=n?i:-1,u=Object(t);(n?o--:++o<i)&&r(u[o],o,u)!==!1;);return t}}var $n=Hs(Ze);function y_(e,n,t,r){return $n(e,function(i,o,u){n(r,i,t(i),u)}),r}function Ar(e,n){return function(t,r){var i=M(t)?x_:y_,o=n?n():{};return i(t,e,I(r,2),o)}}var w_=Object.prototype,$_=w_.hasOwnProperty,A_=Ar(function(e,n,t){$_.call(e,t)?++e[t]:sn(e,t,1)});function E_(e,n){var t=Zn(e);return n==null?t:rs(t,n)}var T_=8;function Yi(e,n,t){n=t?void 0:n;var r=an(e,T_,void 0,void 0,void 0,void 0,void 0,n);return r.placeholder=Yi.placeholder,r}Yi.placeholder={};var R_=16;function qi(e,n,t){n=t?void 0:n;var r=an(e,R_,void 0,void 0,void 0,void 0,void 0,n);return r.placeholder=qi.placeholder,r}qi.placeholder={};var Er=function(){return ce.Date.now()},O_="Expected a function",S_=Math.max,I_=Math.min;function Xi(e,n,t){var r,i,o,u,s,f,l=0,c=!1,d=!1,h=!0;if(typeof e!="function")throw new TypeError(O_);n=Ie(n)||0,Q(t)&&(c=!!t.leading,d="maxWait"in t,o=d?S_(Ie(t.maxWait)||0,n):o,h="trailing"in t?!!t.trailing:h);function p(W){var b=r,x=i;return r=i=void 0,l=W,u=e.apply(x,b),u}function m(W){return l=W,s=setTimeout(v,n),c?p(W):u}function y(W){var b=W-f,x=W-l,R=n-b;return d?I_(R,o-x):R}function g(W){var b=W-f,x=W-l;return f===void 0||b>=n||b<0||d&&x>=o}function v(){var W=Er();if(g(W))return $(W);s=setTimeout(v,y(W))}function $(W){return s=void 0,h&&r?p(W):(r=i=void 0,u)}function S(){s!==void 0&&clearTimeout(s),l=0,r=f=i=s=void 0}function P(){return s===void 0?u:$(Er())}function j(){var W=Er(),b=g(W);if(r=arguments,i=this,f=W,b){if(s===void 0)return m(f);if(d)return clearTimeout(s),s=setTimeout(v,n),p(f)}return s===void 0&&(s=setTimeout(v,n)),u}return j.cancel=S,j.flush=P,j}function M_(e,n){return e==null||e!==e?n:e}var Gs=Object.prototype,C_=Gs.hasOwnProperty,L_=F(function(e,n){e=Object(e);var t=-1,r=n.length,i=r>2?n[2]:void 0;for(i&&me(n[0],n[1],i)&&(r=1);++t<r;)for(var o=n[t],u=$e(o),s=-1,f=u.length;++s<f;){var l=u[s],c=e[l];(c===void 0||Ne(c,Gs[l])&&!C_.call(e,l))&&(e[l]=o[l])}return e});function Ki(e,n,t){(t!==void 0&&!Ne(e[n],t)||t===void 0&&!(n in e))&&sn(e,n,t)}function ue(e){return re(e)&&we(e)}function Zi(e,n){if(!(n==="constructor"&&typeof e[n]=="function")&&n!="__proto__")return e[n]}function Us(e){return qe(e,$e(e))}function P_(e,n,t,r,i,o,u){var s=Zi(e,t),f=Zi(n,t),l=u.get(f);if(l){Ki(e,t,l);return}var c=o?o(s,f,t+"",e,n,u):void 0,d=c===void 0;if(d){var h=M(f),p=!h&&_n(f),m=!h&&!p&&nt(f);c=f,h||p||m?M(s)?c=s:ue(s)?c=ye(s):p?(d=!1,c=ss(f,!0)):m?(d=!1,c=bs(f,!0)):c=[]:Ot(f)||Fn(f)?(c=s,Fn(s)?c=Us(s):(!Q(s)||on(s))&&(c=xs(f))):d=!1}d&&(u.set(f,c),i(c,f,r,o,u),u.delete(f)),Ki(e,t,c)}function Tr(e,n,t,r,i){e!==n&&ji(n,function(o,u){if(i||(i=new De),Q(o))P_(e,n,u,t,Tr,r,i);else{var s=r?r(Zi(e,u),o,u+"",e,n,i):void 0;s===void 0&&(s=o),Ki(e,u,s)}},$e)}function ks(e,n,t,r,i,o){return Q(e)&&Q(n)&&(o.set(n,e),Tr(e,n,void 0,ks,o),o.delete(n)),e}var js=et(function(e,n,t,r){Tr(e,n,t,r)}),F_=F(function(e){return e.push(void 0,ks),Re(js,void 0,e)}),B_="Expected a function";function Ys(e,n,t){if(typeof e!="function")throw new TypeError(B_);return setTimeout(function(){e.apply(void 0,t)},n)}var W_=F(function(e,n){return Ys(e,1,n)}),N_=F(function(e,n,t){return Ys(e,Ie(n)||0,t)});function Vi(e,n,t){for(var r=-1,i=e==null?0:e.length;++r<i;)if(t(n,e[r]))return!0;return!1}var z_=200;function Mt(e,n,t,r){var i=-1,o=dr,u=!0,s=e.length,f=[],l=n.length;if(!s)return f;t&&(n=J(n,Oe(t))),r?(o=Vi,u=!1):n.length>=z_&&(o=St,u=!1,n=new Dn(n));e:for(;++i<s;){var c=e[i],d=t==null?c:t(c);if(c=r||c!==0?c:0,u&&d===d){for(var h=l;h--;)if(n[h]===d)continue e;f.push(c)}else o(n,d,r)||f.push(c)}return f}var D_=F(function(e,n){return ue(e)?Mt(e,he(n,1,ue,!0)):[]});function Se(e){var n=e==null?0:e.length;return n?e[n-1]:void 0}var H_=F(function(e,n){var t=Se(n);return ue(t)&&(t=void 0),ue(e)?Mt(e,he(n,1,ue,!0),I(t,2)):[]}),G_=F(function(e,n){var t=Se(n);return ue(t)&&(t=void 0),ue(e)?Mt(e,he(n,1,ue,!0),void 0,t):[]}),U_=or(function(e,n){return e/n},1);function k_(e,n,t){var r=e==null?0:e.length;return r?(n=t||n===void 0?1:C(n),Pe(e,n<0?0:n,r)):[]}function j_(e,n,t){var r=e==null?0:e.length;return r?(n=t||n===void 0?1:C(n),n=r-n,Pe(e,0,n<0?0:n)):[]}function Rr(e,n,t,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&n(e[o],o,e););return t?Pe(e,r?0:o,r?o+1:i):Pe(e,r?o+1:0,r?i:o)}function Y_(e,n){return e&&e.length?Rr(e,I(n,3),!0,!0):[]}function q_(e,n){return e&&e.length?Rr(e,I(n,3),!0):[]}function Ve(e){return typeof e=="function"?e:ge}function qs(e,n){var t=M(e)?Ce:$n;return t(e,Ve(n))}function X_(e,n){for(var t=e==null?0:e.length;t--&&n(e[t],t,e)!==!1;);return e}var Xs=Ds(!0);function Ji(e,n){return e&&Xs(e,n,fe)}var Ks=Hs(Ji,!0);function Zs(e,n){var t=M(e)?X_:Ks;return t(e,Ve(n))}function K_(e,n,t){e=H(e),n=Te(n);var r=e.length;t=t===void 0?r:Nn(C(t),0,r);var i=t;return t-=n.length,t>=0&&e.slice(t,i)==n}function Z_(e,n){return J(n,function(t){return[t,e[t]]})}function V_(e){var n=-1,t=Array(e.size);return e.forEach(function(r){t[++n]=[r,r]}),t}var J_="[object Map]",Q_="[object Set]";function Vs(e){return function(n){var t=Ke(n);return t==J_?zi(n):t==Q_?V_(n):Z_(n,e(n))}}var Js=Vs(fe),Qs=Vs($e),e1={"&":"&","<":"<",">":">",'"':""","'":"'"},n1=Si(e1),ef=/[&<>"']/g,t1=RegExp(ef.source);function nf(e){return e=H(e),e&&t1.test(e)?e.replace(ef,n1):e}var tf=/[\\^$.*+?()[\]{}|]/g,r1=RegExp(tf.source);function i1(e){return e=H(e),e&&r1.test(e)?e.replace(tf,"\\$&"):e}function rf(e,n){for(var t=-1,r=e==null?0:e.length;++t<r;)if(!n(e[t],t,e))return!1;return!0}function o1(e,n){var t=!0;return $n(e,function(r,i,o){return t=!!n(r,i,o),t}),t}function u1(e,n,t){var r=M(e)?rf:o1;return t&&me(e,n,t)&&(n=void 0),r(e,I(n,3))}var a1=4294967295;function of(e){return e?Nn(C(e),0,a1):0}function s1(e,n,t,r){var i=e.length;for(t=C(t),t<0&&(t=-t>i?0:i+t),r=r===void 0||r>i?i:C(r),r<0&&(r+=i),r=t>r?0:of(r);t<r;)e[t++]=n;return e}function f1(e,n,t,r){var i=e==null?0:e.length;return i?(t&&typeof t!="number"&&me(e,n,t)&&(t=0,r=i),s1(e,n,t,r)):[]}function uf(e,n){var t=[];return $n(e,function(r,i,o){n(r,i,o)&&t.push(r)}),t}function l1(e,n){var t=M(e)?wn:uf;return t(e,I(n,3))}function af(e){return function(n,t,r){var i=Object(n);if(!we(n)){var o=I(t,3);n=fe(n),t=function(s){return o(i[s],s,i)}}var u=e(n,t,r);return u>-1?i[o?n[u]:u]:void 0}}var c1=Math.max;function sf(e,n,t){var r=e==null?0:e.length;if(!r)return-1;var i=t==null?0:C(t);return i<0&&(i=c1(r+i,0)),cr(e,I(n,3),i)}var d1=af(sf);function ff(e,n,t){var r;return t(e,function(i,o,u){if(n(i,o,u))return r=o,!1}),r}function h1(e,n){return ff(e,I(n,3),Ze)}var p1=Math.max,v1=Math.min;function lf(e,n,t){var r=e==null?0:e.length;if(!r)return-1;var i=r-1;return t!==void 0&&(i=C(t),i=t<0?p1(r+i,0):v1(i,r-1)),cr(e,I(n,3),i,!0)}var g1=af(lf);function m1(e,n){return ff(e,I(n,3),Ji)}function cf(e){return e&&e.length?e[0]:void 0}function df(e,n){var t=-1,r=we(e)?Array(e.length):[];return $n(e,function(i,o,u){r[++t]=n(i,o,u)}),r}function Or(e,n){var t=M(e)?J:df;return t(e,I(n,3))}function _1(e,n){return he(Or(e,n),1)}var b1=1/0;function x1(e,n){return he(Or(e,n),b1)}function y1(e,n,t){return t=t===void 0?1:C(t),he(Or(e,n),t)}var w1=1/0;function $1(e){var n=e==null?0:e.length;return n?he(e,w1):[]}function A1(e,n){var t=e==null?0:e.length;return t?(n=n===void 0?1:C(n),he(e,n)):[]}var E1=512;function T1(e){return an(e,E1)}var R1=Ii("floor"),O1="Expected a function",S1=8,I1=32,M1=128,C1=256;function hf(e){return cn(function(n){var t=n.length,r=t,i=Me.prototype.thru;for(e&&n.reverse();r--;){var o=n[r];if(typeof o!="function")throw new TypeError(O1);if(i&&!u&&fr(o)=="wrapper")var u=new Me([],!0)}for(r=u?r:t;++r<t;){o=n[r];var s=fr(o),f=s=="wrapper"?si(o):void 0;f&&fi(f[0])&&f[1]==(M1|S1|I1|C1)&&!f[4].length&&f[9]==1?u=u[fr(f[0])].apply(u,f[3]):u=o.length==1&&fi(o)?u[s]():u.thru(o)}return function(){var l=arguments,c=l[0];if(u&&l.length==1&&M(c))return u.plant(c).value();for(var d=0,h=t?n[d].apply(this,l):c;++d<t;)h=n[d].call(this,h);return h}})}var L1=hf(),P1=hf(!0);function F1(e,n){return e==null?e:ji(e,Ve(n),$e)}function B1(e,n){return e==null?e:Xs(e,Ve(n),$e)}function W1(e,n){return e&&Ze(e,Ve(n))}function N1(e,n){return e&&Ji(e,Ve(n))}function z1(e){for(var n=-1,t=e==null?0:e.length,r={};++n<t;){var i=e[n];r[i[0]]=i[1]}return r}function Sr(e,n){return wn(n,function(t){return on(e[t])})}function D1(e){return e==null?[]:Sr(e,fe(e))}function H1(e){return e==null?[]:Sr(e,$e(e))}var G1=Object.prototype,U1=G1.hasOwnProperty,k1=Ar(function(e,n,t){U1.call(e,t)?e[t].push(n):sn(e,t,[n])});function Qi(e,n){return e>n}function Ir(e){return function(n,t){return typeof n=="string"&&typeof t=="string"||(n=Ie(n),t=Ie(t)),e(n,t)}}var j1=Ir(Qi),Y1=Ir(function(e,n){return e>=n}),q1=Object.prototype,X1=q1.hasOwnProperty;function K1(e,n){return e!=null&&X1.call(e,n)}function Z1(e,n){return e!=null&&Bs(e,n,K1)}var V1=Math.max,J1=Math.min;function Q1(e,n,t){return e>=J1(n,t)&&e<V1(n,t)}function eb(e,n,t){return n=rn(n),t===void 0?(t=n,n=0):t=rn(t),e=Ie(e),Q1(e,n,t)}var nb="[object String]";function Mr(e){return typeof e=="string"||!M(e)&&re(e)&&ve(e)==nb}function eo(e,n){return J(n,function(t){return e[t]})}function ut(e){return e==null?[]:eo(e,fe(e))}var tb=Math.max;function rb(e,n,t,r){e=we(e)?e:ut(e),t=t&&!r?C(t):0;var i=e.length;return t<0&&(t=tb(i+t,0)),Mr(e)?t<=i&&e.indexOf(n,t)>-1:!!i&&Jn(e,n,t)>-1}var ib=Math.max;function ob(e,n,t){var r=e==null?0:e.length;if(!r)return-1;var i=t==null?0:C(t);return i<0&&(i=ib(r+i,0)),Jn(e,n,i)}function ub(e){var n=e==null?0:e.length;return n?Pe(e,0,-1):[]}var ab=Math.min;function no(e,n,t){for(var r=t?Vi:dr,i=e[0].length,o=e.length,u=o,s=Array(o),f=1/0,l=[];u--;){var c=e[u];u&&n&&(c=J(c,Oe(n))),f=ab(c.length,f),s[u]=!t&&(n||i>=120&&c.length>=120)?new Dn(u&&c):void 0}c=e[0];var d=-1,h=s[0];e:for(;++d<i&&l.length<f;){var p=c[d],m=n?n(p):p;if(p=t||p!==0?p:0,!(h?St(h,m):r(l,m,t))){for(u=o;--u;){var y=s[u];if(!(y?St(y,m):r(e[u],m,t)))continue e}h&&h.push(m),l.push(p)}}return l}function to(e){return ue(e)?e:[]}var sb=F(function(e){var n=J(e,to);return n.length&&n[0]===e[0]?no(n):[]}),fb=F(function(e){var n=Se(e),t=J(e,to);return n===Se(t)?n=void 0:t.pop(),t.length&&t[0]===e[0]?no(t,I(n,2)):[]}),lb=F(function(e){var n=Se(e),t=J(e,to);return n=typeof n=="function"?n:void 0,n&&t.pop(),t.length&&t[0]===e[0]?no(t,void 0,n):[]});function cb(e,n,t,r){return Ze(e,function(i,o,u){n(r,t(i),o,u)}),r}function pf(e,n){return function(t,r){return cb(t,e,n(r),{})}}var db=Object.prototype,hb=db.toString,pb=pf(function(e,n,t){n!=null&&typeof n.toString!="function"&&(n=hb.call(n)),e[n]=t},li(ge)),vf=Object.prototype,vb=vf.hasOwnProperty,gb=vf.toString,mb=pf(function(e,n,t){n!=null&&typeof n.toString!="function"&&(n=gb.call(n)),vb.call(e,n)?e[n].push(t):e[n]=[t]},I);function gf(e,n){return n.length<2?e:Wn(e,Pe(n,0,-1))}function Ct(e,n,t){n=bn(n,e),e=gf(e,n);var r=e==null?e:e[Xe(Se(n))];return r==null?void 0:Re(r,e,t)}var _b=F(Ct),bb=F(function(e,n,t){var r=-1,i=typeof n=="function",o=we(e)?Array(e.length):[];return $n(e,function(u){o[++r]=i?Re(n,u,t):Ct(u,n,t)}),o}),xb="[object ArrayBuffer]";function yb(e){return re(e)&&ve(e)==xb}var mf=Le&&Le.isArrayBuffer,wb=mf?Oe(mf):yb,$b="[object Boolean]";function Ab(e){return e===!0||e===!1||re(e)&&ve(e)==$b}var Eb="[object Date]";function Tb(e){return re(e)&&ve(e)==Eb}var _f=Le&&Le.isDate,Rb=_f?Oe(_f):Tb;function Ob(e){return re(e)&&e.nodeType===1&&!Ot(e)}var Sb="[object Map]",Ib="[object Set]",Mb=Object.prototype,Cb=Mb.hasOwnProperty;function Lb(e){if(e==null)return!0;if(we(e)&&(M(e)||typeof e=="string"||typeof e.splice=="function"||_n(e)||nt(e)||Fn(e)))return!e.length;var n=Ke(e);if(n==Sb||n==Ib)return!e.size;if(At(e))return!bi(e).length;for(var t in e)if(Cb.call(e,t))return!1;return!0}function Pb(e,n){return It(e,n)}function Fb(e,n,t){t=typeof t=="function"?t:void 0;var r=t?t(e,n):void 0;return r===void 0?It(e,n,void 0,t):!!r}var Bb=ce.isFinite;function Wb(e){return typeof e=="number"&&Bb(e)}function bf(e){return typeof e=="number"&&e==C(e)}function Nb(e,n){return e===n||Hi(e,n,Gi(n))}function zb(e,n,t){return t=typeof t=="function"?t:void 0,Hi(e,n,Gi(n),t)}var Db="[object Number]";function xf(e){return typeof e=="number"||re(e)&&ve(e)==Db}function Hb(e){return xf(e)&&e!=+e}var Gb=ur?on:mi,Ub="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.";function kb(e){if(Gb(e))throw new Error(Ub);return ku(e)}function jb(e){return e==null}function Yb(e){return e===null}var qb="[object RegExp]";function Xb(e){return re(e)&&ve(e)==qb}var yf=Le&&Le.isRegExp,ro=yf?Oe(yf):Xb,wf=9007199254740991;function Kb(e){return bf(e)&&e>=-wf&&e<=wf}function Zb(e){return e===void 0}var Vb="[object WeakMap]";function Jb(e){return re(e)&&Ke(e)==Vb}var Qb="[object WeakSet]";function ex(e){return re(e)&&ve(e)==Qb}var nx=1;function tx(e){return I(typeof e=="function"?e:Fe(e,nx))}var rx=Array.prototype,ix=rx.join;function ox(e,n){return e==null?"":ix.call(e,n)}var ux=it(function(e,n,t){return e+(t?"-":"")+n.toLowerCase()}),ax=Ar(function(e,n,t){sn(e,t,n)});function sx(e,n,t){for(var r=t+1;r--;)if(e[r]===n)return r;return r}var fx=Math.max,lx=Math.min;function cx(e,n,t){var r=e==null?0:e.length;if(!r)return-1;var i=r;return t!==void 0&&(i=C(t),i=i<0?fx(r+i,0):lx(i,r-1)),n===n?sx(e,n,i):cr(e,Ju,i,!0)}var dx=it(function(e,n,t){return e+(t?" ":"")+n.toLowerCase()}),hx=Fa("toLowerCase");function io(e,n){return e<n}var px=Ir(io),vx=Ir(function(e,n){return e<=n});function gx(e,n){var t={};return n=I(n,3),Ze(e,function(r,i,o){sn(t,n(r,i,o),r)}),t}function mx(e,n){var t={};return n=I(n,3),Ze(e,function(r,i,o){sn(t,i,n(r,i,o))}),t}var _x=1;function bx(e){return Fs(Fe(e,_x))}var xx=1;function yx(e,n){return Ws(e,Fe(n,xx))}function Cr(e,n,t){for(var r=-1,i=e.length;++r<i;){var o=e[r],u=n(o);if(u!=null&&(s===void 0?u===u&&!Ee(u):t(u,s)))var s=u,f=o}return f}function wx(e){return e&&e.length?Cr(e,ge,Qi):void 0}function $x(e,n){return e&&e.length?Cr(e,I(n,2),Qi):void 0}function oo(e,n){for(var t,r=-1,i=e.length;++r<i;){var o=n(e[r]);o!==void 0&&(t=t===void 0?o:t+o)}return t}var Ax=NaN;function $f(e,n){var t=e==null?0:e.length;return t?oo(e,n)/t:Ax}function Ex(e){return $f(e,ge)}function Tx(e,n){return $f(e,I(n,2))}var Rx=et(function(e,n,t){Tr(e,n,t)}),Ox=F(function(e,n){return function(t){return Ct(t,e,n)}}),Sx=F(function(e,n){return function(t){return Ct(e,t,n)}});function Ix(e){return e&&e.length?Cr(e,ge,io):void 0}function Mx(e,n){return e&&e.length?Cr(e,I(n,2),io):void 0}function Af(e,n,t){var r=fe(n),i=Sr(n,r),o=!(Q(t)&&"chain"in t)||!!t.chain,u=on(e);return Ce(i,function(s){var f=n[s];e[s]=f,u&&(e.prototype[s]=function(){var l=this.__chain__;if(o||l){var c=e(this.__wrapped__),d=c.__actions__=ye(this.__actions__);return d.push({func:f,args:arguments,thisArg:e}),c.__chain__=l,c}return f.apply(e,xn([this.value()],arguments))})}),e}var Cx=or(function(e,n){return e*n},1),Lx="Expected a function";function Lt(e){if(typeof e!="function")throw new TypeError(Lx);return function(){var n=arguments;switch(n.length){case 0:return!e.call(this);case 1:return!e.call(this,n[0]);case 2:return!e.call(this,n[0],n[1]);case 3:return!e.call(this,n[0],n[1],n[2])}return!e.apply(this,n)}}function Px(e){for(var n,t=[];!(n=e.next()).done;)t.push(n.value);return t}var Fx="[object Map]",Bx="[object Set]",uo=pe?pe.iterator:void 0;function Ef(e){if(!e)return[];if(we(e))return Mr(e)?ze(e):ye(e);if(uo&&e[uo])return Px(e[uo]());var n=Ke(e),t=n==Fx?zi:n==Bx?wr:ut;return t(e)}function Wx(){this.__values__===void 0&&(this.__values__=Ef(this.value()));var e=this.__index__>=this.__values__.length,n=e?void 0:this.__values__[this.__index__++];return{done:e,value:n}}function Tf(e,n){var t=e.length;if(t)return n+=n<0?t:0,un(n,t)?e[n]:void 0}function Nx(e,n){return e&&e.length?Tf(e,C(n)):void 0}function zx(e){return e=C(e),F(function(n){return Tf(n,e)})}function ao(e,n){return n=bn(n,e),e=gf(e,n),e==null||delete e[Xe(Se(n))]}function Dx(e){return Ot(e)?void 0:e}var Hx=1,Gx=2,Ux=4,kx=cn(function(e,n){var t={};if(e==null)return t;var r=!1;n=J(n,function(o){return o=bn(o,e),r||(r=o.length>1),o}),qe(e,Pi(e),t),r&&(t=Fe(t,Hx|Gx|Ux,Dx));for(var i=n.length;i--;)ao(t,n[i]);return t});function Pt(e,n,t,r){if(!Q(e))return e;n=bn(n,e);for(var i=-1,o=n.length,u=o-1,s=e;s!=null&&++i<o;){var f=Xe(n[i]),l=t;if(f==="__proto__"||f==="constructor"||f==="prototype")return e;if(i!=u){var c=s[f];l=r?r(c,f,s):void 0,l===void 0&&(l=Q(c)?c:un(n[i+1])?[]:{})}$t(s,f,l),s=s[f]}return e}function Rf(e,n,t){for(var r=-1,i=n.length,o={};++r<i;){var u=n[r],s=Wn(e,u);t(s,u)&&Pt(o,bn(u,e),s)}return o}function Of(e,n){if(e==null)return{};var t=J(Pi(e),function(r){return[r]});return n=I(n),Rf(e,t,function(r,i){return n(r,i[0])})}function jx(e,n){return Of(e,Lt(I(n)))}function Yx(e){return Oa(2,e)}function qx(e,n){var t=e.length;for(e.sort(n);t--;)e[t]=e[t].value;return e}function Sf(e,n){if(e!==n){var t=e!==void 0,r=e===null,i=e===e,o=Ee(e),u=n!==void 0,s=n===null,f=n===n,l=Ee(n);if(!s&&!l&&!o&&e>n||o&&u&&f&&!s&&!l||r&&u&&f||!t&&f||!i)return 1;if(!r&&!o&&!l&&e<n||l&&t&&i&&!r&&!o||s&&t&&i||!u&&i||!f)return-1}return 0}function Xx(e,n,t){for(var r=-1,i=e.criteria,o=n.criteria,u=i.length,s=t.length;++r<u;){var f=Sf(i[r],o[r]);if(f){if(r>=s)return f;var l=t[r];return f*(l=="desc"?-1:1)}}return e.index-n.index}function If(e,n,t){n.length?n=J(n,function(o){return M(o)?function(u){return Wn(u,o.length===1?o[0]:o)}:o}):n=[ge];var r=-1;n=J(n,Oe(I));var i=df(e,function(o,u,s){var f=J(n,function(l){return l(o)});return{criteria:f,index:++r,value:o}});return qx(i,function(o,u){return Xx(o,u,t)})}function Kx(e,n,t,r){return e==null?[]:(M(n)||(n=n==null?[]:[n]),t=r?void 0:t,M(t)||(t=t==null?[]:[t]),If(e,n,t))}function so(e){return cn(function(n){return n=J(n,Oe(I)),F(function(t){var r=this;return e(n,function(i){return Re(i,r,t)})})})}var Zx=so(J),Vx=F,Jx=Math.min,Qx=Vx(function(e,n){n=n.length==1&&M(n[0])?J(n[0],Oe(I)):J(he(n,1),Oe(I));var t=n.length;return F(function(r){for(var i=-1,o=Jx(r.length,t);++i<o;)r[i]=n[i].call(this,r[i]);return Re(e,this,r)})}),ey=so(rf),ny=so(Ni),ty=9007199254740991,ry=Math.floor;function fo(e,n){var t="";if(!e||n<1||n>ty)return t;do n%2&&(t+=e),n=ry(n/2),n&&(e+=e);while(n);return t}var iy=ki("length"),Mf="\\ud800-\\udfff",oy="\\u0300-\\u036f",uy="\\ufe20-\\ufe2f",ay="\\u20d0-\\u20ff",sy=oy+uy+ay,fy="\\ufe0e\\ufe0f",ly="["+Mf+"]",lo="["+sy+"]",co="\\ud83c[\\udffb-\\udfff]",cy="(?:"+lo+"|"+co+")",Cf="[^"+Mf+"]",Lf="(?:\\ud83c[\\udde6-\\uddff]){2}",Pf="[\\ud800-\\udbff][\\udc00-\\udfff]",dy="\\u200d",Ff=cy+"?",Bf="["+fy+"]?",hy="(?:"+dy+"(?:"+[Cf,Lf,Pf].join("|")+")"+Bf+Ff+")*",py=Bf+Ff+hy,vy="(?:"+[Cf+lo+"?",lo,Lf,Pf,ly].join("|")+")",Wf=RegExp(co+"(?="+co+")|"+vy+py,"g");function gy(e){for(var n=Wf.lastIndex=0;Wf.test(e);)++n;return n}function at(e){return tt(e)?gy(e):iy(e)}var my=Math.ceil;function Lr(e,n){n=n===void 0?" ":Te(n);var t=n.length;if(t<2)return t?fo(n,e):n;var r=fo(n,my(e/at(n)));return tt(n)?yn(ze(r),0,e).join(""):r.slice(0,e)}var _y=Math.ceil,by=Math.floor;function xy(e,n,t){e=H(e),n=C(n);var r=n?at(e):0;if(!n||r>=n)return e;var i=(n-r)/2;return Lr(by(i),t)+e+Lr(_y(i),t)}function yy(e,n,t){e=H(e),n=C(n);var r=n?at(e):0;return n&&r<n?e+Lr(n-r,t):e}function wy(e,n,t){e=H(e),n=C(n);var r=n?at(e):0;return n&&r<n?Lr(n-r,t)+e:e}var $y=/^\s+/,Ay=ce.parseInt;function Ey(e,n,t){return t||n==null?n=0:n&&(n=+n),Ay(H(e).replace($y,""),n||0)}var Ty=32,Pr=F(function(e,n){var t=mn(n,Qn(Pr));return an(e,Ty,void 0,n,t)});Pr.placeholder={};var Ry=64,ho=F(function(e,n){var t=mn(n,Qn(ho));return an(e,Ry,void 0,n,t)});ho.placeholder={};var Oy=Ar(function(e,n,t){e[t?0:1].push(n)},function(){return[[],[]]});function Sy(e,n){return Rf(e,n,function(t,r){return Ui(e,r)})}var Iy=cn(function(e,n){return e==null?{}:Sy(e,n)});function My(e){for(var n,t=this;t instanceof sr;){var r=Ku(t);r.__index__=0,r.__values__=void 0,n?i.__wrapped__=r:n=r;var i=r;t=t.__wrapped__}return i.__wrapped__=e,n}function Cy(e){return function(n){return e==null?void 0:Wn(e,n)}}function Ly(e,n,t,r){for(var i=t-1,o=e.length;++i<o;)if(r(e[i],n))return i;return-1}var Py=Array.prototype,Nf=Py.splice;function po(e,n,t,r){var i=r?Ly:Jn,o=-1,u=n.length,s=e;for(e===n&&(n=ye(n)),t&&(s=J(e,Oe(t)));++o<u;)for(var f=0,l=n[o],c=t?t(l):l;(f=i(s,c,f,r))>-1;)s!==e&&Nf.call(s,f,1),Nf.call(e,f,1);return e}function zf(e,n){return e&&e.length&&n&&n.length?po(e,n):e}var Fy=F(zf);function By(e,n,t){return e&&e.length&&n&&n.length?po(e,n,I(t,2)):e}function Wy(e,n,t){return e&&e.length&&n&&n.length?po(e,n,void 0,t):e}var Ny=Array.prototype,zy=Ny.splice;function Df(e,n){for(var t=e?n.length:0,r=t-1;t--;){var i=n[t];if(t==r||i!==o){var o=i;un(i)?zy.call(e,i,1):ao(e,i)}}return e}var Dy=cn(function(e,n){var t=e==null?0:e.length,r=wi(e,n);return Df(e,J(n,function(i){return un(i,t)?+i:i}).sort(Sf)),r}),Hy=Math.floor,Gy=Math.random;function vo(e,n){return e+Hy(Gy()*(n-e+1))}var Uy=parseFloat,ky=Math.min,jy=Math.random;function Yy(e,n,t){if(t&&typeof t!="boolean"&&me(e,n,t)&&(n=t=void 0),t===void 0&&(typeof n=="boolean"?(t=n,n=void 0):typeof e=="boolean"&&(t=e,e=void 0)),e===void 0&&n===void 0?(e=0,n=1):(e=rn(e),n===void 0?(n=e,e=0):n=rn(n)),e>n){var r=e;e=n,n=r}if(t||e%1||n%1){var i=jy();return ky(e+i*(n-e+Uy("1e-"+((i+"").length-1))),n)}return vo(e,n)}var qy=Math.ceil,Xy=Math.max;function Ky(e,n,t,r){for(var i=-1,o=Xy(qy((n-e)/(t||1)),0),u=Array(o);o--;)u[r?o:++i]=e,e+=t;return u}function Hf(e){return function(n,t,r){return r&&typeof r!="number"&&me(n,t,r)&&(t=r=void 0),n=rn(n),t===void 0?(t=n,n=0):t=rn(t),r=r===void 0?n<t?1:-1:rn(r),Ky(n,t,r,e)}}var Zy=Hf(),Vy=Hf(!0),Jy=256,Qy=cn(function(e,n){return an(e,Jy,void 0,void 0,void 0,n)});function Gf(e,n,t,r,i){return i(e,function(o,u,s){t=r?(r=!1,o):n(t,o,u,s)}),t}function ew(e,n,t){var r=M(e)?Oi:Gf,i=arguments.length<3;return r(e,I(n,4),t,i,$n)}function nw(e,n,t,r){var i=e==null?0:e.length;for(r&&i&&(t=e[--i]);i--;)t=n(t,e[i],i,e);return t}function tw(e,n,t){var r=M(e)?nw:Gf,i=arguments.length<3;return r(e,I(n,4),t,i,Ks)}function rw(e,n){var t=M(e)?wn:uf;return t(e,Lt(I(n,3)))}function iw(e,n){var t=[];if(!(e&&e.length))return t;var r=-1,i=[],o=e.length;for(n=I(n,3);++r<o;){var u=e[r];n(u,r,e)&&(t.push(u),i.push(r))}return Df(e,i),t}function ow(e,n,t){return(t?me(e,n,t):n===void 0)?n=1:n=C(n),fo(H(e),n)}function uw(){var e=arguments,n=H(e[0]);return e.length<3?n:n.replace(e[1],e[2])}var aw="Expected a function";function sw(e,n){if(typeof e!="function")throw new TypeError(aw);return n=n===void 0?n:C(n),F(e,n)}function fw(e,n,t){n=bn(n,e);var r=-1,i=n.length;for(i||(i=1,e=void 0);++r<i;){var o=e==null?void 0:e[Xe(n[r])];o===void 0&&(r=i,o=t),e=on(o)?o.call(e):o}return e}var lw=Array.prototype,cw=lw.reverse;function go(e){return e==null?e:cw.call(e)}var dw=Ii("round");function Uf(e){var n=e.length;return n?e[vo(0,n-1)]:void 0}function hw(e){return Uf(ut(e))}function pw(e){var n=M(e)?Uf:hw;return n(e)}function Fr(e,n){var t=-1,r=e.length,i=r-1;for(n=n===void 0?r:n;++t<n;){var o=vo(t,i),u=e[o];e[o]=e[t],e[t]=u}return e.length=n,e}function vw(e,n){return Fr(ye(e),Nn(n,0,e.length))}function gw(e,n){var t=ut(e);return Fr(t,Nn(n,0,t.length))}function mw(e,n,t){(t?me(e,n,t):n===void 0)?n=1:n=C(n);var r=M(e)?vw:gw;return r(e,n)}function _w(e,n,t){return e==null?e:Pt(e,n,t)}function bw(e,n,t,r){return r=typeof r=="function"?r:void 0,e==null?e:Pt(e,n,t,r)}function xw(e){return Fr(ye(e))}function yw(e){return Fr(ut(e))}function ww(e){var n=M(e)?xw:yw;return n(e)}var $w="[object Map]",Aw="[object Set]";function Ew(e){if(e==null)return 0;if(we(e))return Mr(e)?at(e):e.length;var n=Ke(e);return n==$w||n==Aw?e.size:bi(e).length}function Tw(e,n,t){var r=e==null?0:e.length;return r?(t&&typeof t!="number"&&me(e,n,t)?(n=0,t=r):(n=n==null?0:C(n),t=t===void 0?r:C(t)),Pe(e,n,t)):[]}var Rw=it(function(e,n,t){return e+(t?"_":"")+n.toLowerCase()});function Ow(e,n){var t;return $n(e,function(r,i,o){return t=n(r,i,o),!t}),!!t}function Sw(e,n,t){var r=M(e)?Ni:Ow;return t&&me(e,n,t)&&(n=void 0),r(e,I(n,3))}var Iw=F(function(e,n){if(e==null)return[];var t=n.length;return t>1&&me(e,n[0],n[1])?n=[]:t>2&&me(n[0],n[1],n[2])&&(n=[n[0]]),If(e,he(n,1),[])}),Mw=4294967295,Cw=Mw-1,Lw=Math.floor,Pw=Math.min;function mo(e,n,t,r){var i=0,o=e==null?0:e.length;if(o===0)return 0;n=t(n);for(var u=n!==n,s=n===null,f=Ee(n),l=n===void 0;i<o;){var c=Lw((i+o)/2),d=t(e[c]),h=d!==void 0,p=d===null,m=d===d,y=Ee(d);if(u)var g=r||m;else l?g=m&&(r||h):s?g=m&&h&&(r||!p):f?g=m&&h&&!p&&(r||!y):p||y?g=!1:g=r?d<=n:d<n;g?i=c+1:o=c}return Pw(o,Cw)}var Fw=4294967295,Bw=Fw>>>1;function Br(e,n,t){var r=0,i=e==null?r:e.length;if(typeof n=="number"&&n===n&&i<=Bw){for(;r<i;){var o=r+i>>>1,u=e[o];u!==null&&!Ee(u)&&(t?u<=n:u<n)?r=o+1:i=o}return i}return mo(e,n,ge,t)}function Ww(e,n){return Br(e,n)}function Nw(e,n,t){return mo(e,n,I(t,2))}function zw(e,n){var t=e==null?0:e.length;if(t){var r=Br(e,n);if(r<t&&Ne(e[r],n))return r}return-1}function Dw(e,n){return Br(e,n,!0)}function Hw(e,n,t){return mo(e,n,I(t,2),!0)}function Gw(e,n){var t=e==null?0:e.length;if(t){var r=Br(e,n,!0)-1;if(Ne(e[r],n))return r}return-1}function kf(e,n){for(var t=-1,r=e.length,i=0,o=[];++t<r;){var u=e[t],s=n?n(u):u;if(!t||!Ne(s,f)){var f=s;o[i++]=u===0?0:u}}return o}function Uw(e){return e&&e.length?kf(e):[]}function kw(e,n){return e&&e.length?kf(e,I(n,2)):[]}var jw=4294967295;function Yw(e,n,t){return t&&typeof t!="number"&&me(e,n,t)&&(n=t=void 0),t=t===void 0?jw:t>>>0,t?(e=H(e),e&&(typeof n=="string"||n!=null&&!ro(n))&&(n=Te(n),!n&&tt(e))?yn(ze(e),0,t):e.split(n,t)):[]}var qw="Expected a function",Xw=Math.max;function Kw(e,n){if(typeof e!="function")throw new TypeError(qw);return n=n==null?0:Xw(C(n),0),F(function(t){var r=t[n],i=yn(t,0,n);return r&&xn(i,r),Re(e,this,i)})}var Zw=it(function(e,n,t){return e+(t?" ":"")+Ri(n)});function Vw(e,n,t){return e=H(e),t=t==null?0:Nn(C(t),0,e.length),n=Te(n),e.slice(t,t+n.length)==n}function Jw(){return{}}function Qw(){return""}function e$(){return!0}var n$=or(function(e,n){return e-n},0);function t$(e){return e&&e.length?oo(e,ge):0}function r$(e,n){return e&&e.length?oo(e,I(n,2)):0}function i$(e){var n=e==null?0:e.length;return n?Pe(e,1,n):[]}function o$(e,n,t){return e&&e.length?(n=t||n===void 0?1:C(n),Pe(e,0,n<0?0:n)):[]}function u$(e,n,t){var r=e==null?0:e.length;return r?(n=t||n===void 0?1:C(n),n=r-n,Pe(e,n<0?0:n,r)):[]}function a$(e,n){return e&&e.length?Rr(e,I(n,3),!1,!0):[]}function s$(e,n){return e&&e.length?Rr(e,I(n,3)):[]}function f$(e,n){return n(e),e}var jf=Object.prototype,l$=jf.hasOwnProperty;function Yf(e,n,t,r){return e===void 0||Ne(e,jf[t])&&!l$.call(r,t)?n:e}var c$={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function d$(e){return"\\"+c$[e]}var qf=/<%=([\s\S]+?)%>/g,h$=/<%-([\s\S]+?)%>/g,p$=/<%([\s\S]+?)%>/g,_o={escape:h$,evaluate:p$,interpolate:qf,variable:"",imports:{_:{escape:nf}}},v$="Invalid `variable` option passed into `_.template`",g$=/\b__p \+= '';/g,m$=/\b(__p \+=) '' \+/g,_$=/(__e\(.*?\)|\b__t\)) \+\n'';/g,b$=/[()=,{}\[\]\/\s]/,x$=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Wr=/($^)/,y$=/['\n\r\u2028\u2029\\]/g,w$=Object.prototype,Xf=w$.hasOwnProperty;function $$(e,n,t){var r=_o.imports._.templateSettings||_o;t&&me(e,n,t)&&(n=void 0),e=H(e),n=vr({},n,r,Yf);var i=vr({},n.imports,r.imports,Yf),o=fe(i),u=eo(i,o),s,f,l=0,c=n.interpolate||Wr,d="__p += '",h=RegExp((n.escape||Wr).source+"|"+c.source+"|"+(c===qf?x$:Wr).source+"|"+(n.evaluate||Wr).source+"|$","g"),p=Xf.call(n,"sourceURL")?"//# sourceURL="+(n.sourceURL+"").replace(/\s/g," ")+`
|
|
18
18
|
`:"";e.replace(h,function(g,v,$,S,P,j){return $||($=S),d+=e.slice(l,j).replace(y$,d$),v&&(s=!0,d+=`' +
|
|
@@ -47,5 +47,5 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
47
47
|
* Released under MIT license <https://lodash.com/license>
|
|
48
48
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
49
49
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
50
|
-
*/const Qe="king",DA="is-";function Hn(e,n,t,r,i){let o=`${e}-${n}`;return t&&(o+=`-${t}`),r&&(o+=`__${r}`),i&&(o+=`--${i}`),o}const HA=Symbol("namespaceContextKey");function GA(e){const n=e||(Bt()?Gn(HA,B(Qe)):B(Qe));return ne(()=>Un(n)||Qe)}function
|
|
50
|
+
*/const Qe="king",DA="is-";function Hn(e,n,t,r,i){let o=`${e}-${n}`;return t&&(o+=`-${t}`),r&&(o+=`__${r}`),i&&(o+=`--${i}`),o}const HA=Symbol("namespaceContextKey");function GA(e){const n=e||(Bt()?Gn(HA,B(Qe)):B(Qe));return ne(()=>Un(n)||Qe)}function nT(e,n){const t=GA(n);return{namespace:t,b:(r="")=>Hn(t.value,e,r,"",""),e:r=>r?Hn(t.value,e,"",r,""):"",m:r=>r?Hn(t.value,e,"","",r):"",be:(r,i)=>r&&i?Hn(t.value,e,r,i,""):"",em:(r,i)=>r&&i?Hn(t.value,e,"",r,i):"",bm:(r,i)=>r&&i?Hn(t.value,e,r,"",i):"",bem:(r,i,o)=>r&&i&&o?Hn(t.value,e,r,i,o):"",is:(r,...i)=>{const o=i.length>=1?i[0]:!0;return r&&o?`${DA}${r}`:""},cssVar:r=>{const i={};for(const o in r)r[o]&&(i[`--${t.value}-${o}`]=r[o]);return i},cssVarName:r=>`--${t.value}-${r}`,cssVarBlock:r=>{const i={};for(const o in r)r[o]&&(i[`--${t.value}-${e}-${o}`]=r[o]);return i},cssVarBlockName:r=>`--${t.value}-${e}-${r}`}}const UA={container:Function,content:Function,onScroll:Function};function kA(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!_l(e)}var jA=be({name:"KScrollbar",props:UA,inheritAttrs:!1,setup(e){dn(()=>{e.container||w()});const n=()=>{w()},t=()=>{w()},r=B(null),i=B(null),o=B(null),u=B(null),s=B(null),f=B(null),l=B(null),c=B(null),d=ne(()=>{var _;return((_=e.content)==null?void 0:_.call(e))||r.value}),h=ne(()=>{var _;return((_=e.container)==null?void 0:_.call(e))||i.value}),p=B(0),m=ne(()=>{const{value:_}=f,{value:E}=u,{value:L}=c;return _===null||E===null||L===null?0:Math.min(_,L*_/E+5*1.5)}),y=ne(()=>{const{value:_}=f,{value:E}=p,{value:L}=u,{value:U}=c;if(_===null||L===null||U===null)return 0;{const k=L-_;return k?E/k*(U-m.value):0}}),g=ne(()=>`${y.value}px`),v=ne(()=>{const{value:_}=f,{value:E}=u;return _!==null&&E!==null&&E>_}),$=ne(()=>`${m.value}px`),S=()=>{const{value:_}=d;_&&(u.value=_.offsetHeight,s.value=_.offsetWidth);const{value:E}=h;E&&(f.value=E.offsetHeight,l.value=E.offsetWidth);const{value:L}=o;L&&(c.value=L.offsetHeight)};let P=!1,j=0,W=0,b;const x=_=>{if(!P)return;b!==void 0&&window.clearTimeout(b);const{value:E}=f,{value:L}=u,{value:U}=m;if(E===null||L===null)return;const k=(_.clientY-W)*(L-E)/(E-U),X=L-E;let K=j+k;K=Math.min(X,K),K=Math.max(K,0);const{value:le}=h;le&&(le.scrollTop=K)},R=_=>{_.preventDefault(),_.stopPropagation(),oe("mousemove",window,x,!0),oe("mouseup",window,R,!0),P=!1,w()},z=_=>{_.preventDefault(),_.stopPropagation(),se("mousemove",window,x,!0),se("mouseup",window,R,!0),j=p.value,W=_.clientY,P=!0};function Y(_){const{onScroll:E}=e;E&&E(_),ee()}function ee(){const{value:_}=h;_&&(p.value=_.scrollTop)}function w(){S(),ee()}return{sync:w,handleContentResize:n,handleContainerResize:t,contentRef:r,yRailRef:o,containerRef:i,contentHeightRef:u,containerHeightRef:f,needYBarRef:v,yBarSizePxRef:$,handleYScrollMouseDown:z,yBarTopPxRef:g,handleScroll:Y}},render(){let e;const{$slots:n}=this,t=()=>hn("div",{class:`${Qe}-scrollbar-rail`,ref:"yRailRef"},[this.needYBarRef&&hn("div",{class:`${Qe}-scrollbar-rail__scrollbar`,style:{height:this.yBarSizePxRef,top:this.yBarTopPxRef},onMousedown:this.handleYScrollMouseDown},null)]),r=()=>{var i;return hn("div",Dr({class:`${Qe}-scrollbar`},this.$attrs),[this.container?(i=n.default)==null?void 0:i.call(n):hn("div",{class:`${Qe}-scrollbar-container`,onScroll:this.handleScroll,ref:"containerRef"},[hn(rr,{onResize:this.handleContentResize},{default:()=>{var o;return[hn("div",{ref:"contentRef",class:`${Qe}-scrollbar-content`},[(o=n.default)==null?void 0:o.call(n)])]}})]),t()])};return this.container?r():hn(rr,{onResize:this.handleContainerResize},kA(e=r())?e:{default:()=>[e]})}});const YA=Nt(jA),al={items:{type:Array,default:()=>[]},itemSize:{type:Number,required:!0},itemResizable:Boolean,paddingTop:{type:[Number,String],default:0},paddingBottom:{type:[Number,String],default:0},keyField:{type:String,default:"key"},onScroll:Function,onWheel:Function,onResize:Function};var qA=be({__name:"virtual-list",props:al,setup(e){const n=e,t=B(null),r=B(null);function i(){var c;return(c=t.value)==null?void 0:c.listElRef}function o(){var c;return(c=t.value)==null?void 0:c.itemsElRef}const u=()=>{var c;return(c=r.value)==null?void 0:c.sync()},s=Xi(()=>{var c;if(t.value){const d=t.value.listElRef.scrollTop,h=t.value.viewportItems.map(p=>bl(p));(c=n.onScroll)==null||c.call(n,{viewportItems:h,scrollTop:d})}},100);function f(){s(),u()}function l(){u()}return(c,d)=>(zr(),Mo(Un(YA),{ref_key:"scrollbarInstRef",ref:r,style:{"max-height":"300px"},container:i,content:o},{default:Hr(()=>[hn(Un(ld),{ref_key:"virtualListInstRef",ref:t,items:c.items,style:{height:"100%"},"item-size":c.itemSize,"item-resizable":c.itemResizable,"show-scrollbar":!1,"padding-bottom":c.paddingBottom,"padding-top":c.paddingTop,"on-scroll":f,"on-resize":l},{default:Hr(({item:h,index:p})=>[lt(c.$slots,"default",{item:h,index:p})]),_:3},8,["items","item-size","item-resizable","padding-bottom","padding-top"])]),_:3},512))}});const sl=Nt(qA);function Eo(e){e.style.maxHeight="",e.style.overflow=e.dataset.oldOverflow,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom}function To(e){e.style.maxWidth="",e.style.overflow=e.dataset.oldOverflow,e.style.paddingLeft=e.dataset.oldPaddingLeft,e.style.paddingRight=e.dataset.oldPaddingRight}const XA={beforeEnter(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.style.height&&(e.dataset.elExistsHeight=e.style.height),e.style.maxHeight=0,e.style.paddingTop=0,e.style.paddingBottom=0},enter(e){requestAnimationFrame(()=>{e.dataset.oldOverflow=e.style.overflow,e.dataset.elExistsHeight?e.style.maxHeight=e.dataset.elExistsHeight:e.scrollHeight!==0?e.style.maxHeight=`${e.scrollHeight}px`:e.style.maxHeight=0,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom,e.style.overflow="hidden"})},afterEnter(e){e.style.maxHeight="",e.style.overflow=e.dataset.oldOverflow},enterCancelled(e){Eo(e)},beforeLeave(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.dataset.oldOverflow=e.style.overflow,e.style.maxHeight=`${e.scrollHeight}px`,e.style.overflow="hidden"},leave(e){e.scrollHeight!==0&&(e.style.maxHeight=0,e.style.paddingTop=0,e.style.paddingBottom=0)},afterLeave(e){Eo(e)},leaveCancelled(e){Eo(e)}},KA={beforeEnter(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingLeft=e.style.paddingLeft,e.dataset.oldPaddingRight=e.style.paddingRight,e.style.width&&(e.dataset.elExistsWidth=e.style.width),e.style.maxWidth=0,e.style.paddingLeft=0,e.style.paddingRight=0},enter(e){requestAnimationFrame(()=>{e.dataset.oldOverflow=e.style.overflow,e.dataset.elExistsWidth?e.style.maxWidth=e.dataset.elExistsWidth:e.scrollWidth!==0?e.style.maxWidth=`${e.scrollWidth}px`:e.style.maxWidth=0,e.style.paddingLeft=e.dataset.oldPaddingLeft,e.style.paddingRight=e.dataset.oldPaddingRight,e.style.overflow="hidden"})},afterEnter(e){e.style.maxWidth="",e.style.overflow=e.dataset.oldOverflow},enterCancelled(e){To(e)},beforeLeave(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingRight=e.style.paddingRight,e.dataset.oldOverflow=e.style.overflow,e.style.maxWidth=`${e.scrollWidth}px`,e.style.overflow="hidden"},leave(e){e.scrollWidth!==0&&(e.style.maxWidth=0,e.style.paddingTop=0,e.style.paddingRight=0)},afterLeave(e){To(e)},leaveCancelled(e){To(e)}};function ZA(e){return e.mode==="vertical"?XA:KA}const fl={mode:{type:String,required:!0}};var VA=be({name:"CollapseTransition",__name:"collapse-transtion",props:fl,setup(e){const n=ZA(e);return(t,r)=>(zr(),Mo(xl,Dr({name:t.mode==="horizontal"?`${Un(Qe)}-horizontal-transition`:`${Un(Qe)}-vertical-transition`},yl(Un(n))),{default:Hr(()=>[lt(t.$slots,"default")]),_:3},16,["name"]))}});const JA=Nt(VA),QA=[Lo,sl];function eE(e){QA.forEach(n=>e.use(n))}const nE={install:eE};export{JA as KCollapseTranstion,Lo as KForm,sl as KVirtualList,fl as collapseProps,nE as default,Co as formType,al as virtualListProps};
|
|
51
51
|
//# sourceMappingURL=index.cdn.mjs.map
|