@vtj/pro 0.9.0-alpha.9 → 0.9.1
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/dist/@vtj/materials/assets/antdv/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/charts/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/element/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/ui/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/vant/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/charts/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/icons/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/ui/index.umd.js +10 -10
- package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +3 -3
- package/dist/@vtj/materials/deps/element-plus/index.css +1 -1
- package/dist/@vtj/materials/deps/element-plus/index.full.min.js +18 -18
- package/dist/@vtj/materials/deps/element-plus/zh-cn.js +1 -1
- package/dist/@vtj/materials/deps/vant/vant.min.js +3 -3
- package/dist/@vtj/materials/deps/vue-router/vue-router.global.js +29 -7
- package/dist/@vtj/materials/deps/vue-router/vue-router.global.prod.js +2 -2
- package/dist/assets/{@element-plus-icons-vue-Crkbd7Hx.js → @element-plus-icons-vue-BAbt3LbA.js} +1 -1
- package/dist/assets/{@vueuse-BzvDXRHg.js → @vueuse-Cpn_N91X.js} +1 -1
- package/dist/assets/Editor-C1dy1R3N-BvdgNwPW.js +1 -0
- package/dist/assets/auth-BhvfOEC4.js +1 -0
- package/dist/assets/auth-Cx6hwQ0X.css +1 -0
- package/dist/assets/{dayjs-rQ6ln_M2.js → dayjs-DpOeJKaG.js} +1 -1
- package/dist/assets/element-plus-BbdgoGGn.css +1 -0
- package/dist/assets/element-plus-CfygosTj.js +21 -0
- package/dist/assets/{extension-CbFKcVtn.css → extension-BDteyEK_.css} +1 -1
- package/dist/assets/extension-Dgtw6cSf.js +148 -0
- package/dist/assets/index-D6_QJydn.js +145 -0
- package/dist/assets/index-DmXmiv30.css +1 -0
- package/dist/assets/index-wxL8RGHQ.js +1 -0
- package/dist/assets/{lodash-es-D4Nl9glD.js → lodash-es-Cmvm8wvQ.js} +1 -1
- package/dist/assets/{mockjs-D2iesvZ4.js → mockjs-C1Gq5sDs.js} +3 -3
- package/dist/assets/page-DWv9R3T3.js +2 -0
- package/dist/assets/preview-DEx2pHKv.js +2 -0
- package/dist/assets/shared-WQ2u-3_G.js +25 -0
- package/dist/assets/{vue-DI4W0LUF.js → vue-BCaExZnh.js} +1 -1
- package/dist/assets/vue-router-DB3on22t.js +5 -0
- package/dist/assets/{vxe-BEssLdlR.js → vxe-BJf2YWDp.js} +1 -1
- package/dist/index.html +12 -12
- package/package.json +14 -13
- package/src/extension.ts +5 -3
- package/dist/assets/Editor-C1dy1R3N-DGMNIj4L.js +0 -1
- package/dist/assets/auth-S7Humfmf.js +0 -1
- package/dist/assets/auth-uyRSZatW.css +0 -1
- package/dist/assets/element-plus-Bf9SNXNL.js +0 -21
- package/dist/assets/element-plus-scCP8u-T.css +0 -1
- package/dist/assets/extension-CFzA3Ybb.js +0 -147
- package/dist/assets/index-5Ec-5ScM.css +0 -1
- package/dist/assets/index-Bc9Su2NM.js +0 -1
- package/dist/assets/index-BrYtpIkK.js +0 -145
- package/dist/assets/preview-CJr_tgPw.js +0 -2
- package/dist/assets/shared-BYVUls-N.js +0 -25
- package/dist/assets/vue-router-C-68InZW.js +0 -5
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
var Qr=Object.defineProperty,ti=Object.defineProperties;var ei=Object.getOwnPropertyDescriptors;var ie=Object.getOwnPropertySymbols;var Pn=Object.prototype.hasOwnProperty,Tn=Object.prototype.propertyIsEnumerable;var Mn=(e,t,n)=>t in e?Qr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,I=(e,t)=>{for(var n in t||(t={}))Pn.call(t,n)&&Mn(e,n,t[n]);if(ie)for(var n of ie(t))Tn.call(t,n)&&Mn(e,n,t[n]);return e},ut=(e,t)=>ti(e,ei(t));var Me=(e,t)=>{var n={};for(var r in e)Pn.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ie)for(var r of ie(e))t.indexOf(r)<0&&Tn.call(e,r)&&(n[r]=e[r]);return n};var st=(e,t,n)=>new Promise((r,i)=>{var o=f=>{try{s(n.next(f))}catch(c){i(c)}},a=f=>{try{s(n.throw(f))}catch(c){i(c)}},s=f=>f.done?r(f.value):Promise.resolve(f.value).then(o,a);s((n=n.apply(e,t)).next())});var B="top",G="bottom",Z="right",W="left",Qe="auto",Zt=[B,G,Z,W],Tt="start",Ut="end",ni="clippingParents",ar="viewport",Wt="popper",ri="reference",Dn=Zt.reduce(function(e,t){return e.concat([t+"-"+Tt,t+"-"+Ut])},[]),sr=[].concat(Zt,[Qe]).reduce(function(e,t){return e.concat([t,t+"-"+Tt,t+"-"+Ut])},[]),ii="beforeRead",oi="read",ai="afterRead",si="beforeMain",fi="main",ci="afterMain",ui="beforeWrite",li="write",di="afterWrite",pi=[ii,oi,ai,si,fi,ci,ui,li,di];function rt(e){return e?(e.nodeName||"").toLowerCase():null}function tt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Dt(e){var t=tt(e).Element;return e instanceof t||e instanceof Element}function Y(e){var t=tt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function tn(e){if(typeof ShadowRoot=="undefined")return!1;var t=tt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function hi(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!Y(o)||!rt(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function gi(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(f,c){return f[c]="",f},{});!Y(i)||!rt(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(f){i.removeAttribute(f)}))})}}var fr={name:"applyStyles",enabled:!0,phase:"write",fn:hi,effect:gi,requires:["computeStyles"]};function et(e){return e.split("-")[0]}var Ot=Math.max,me=Math.min,qt=Math.round;function Nt(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),r=1,i=1;if(Y(e)&&t){var o=e.offsetHeight,a=e.offsetWidth;a>0&&(r=qt(n.width)/a||1),o>0&&(i=qt(n.height)/o||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function en(e){var t=Nt(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function cr(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&tn(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ct(e){return tt(e).getComputedStyle(e)}function mi(e){return["table","td","th"].indexOf(rt(e))>=0}function ht(e){return((Dt(e)?e.ownerDocument:e.document)||window.document).documentElement}function xe(e){return rt(e)==="html"?e:e.assignedSlot||e.parentNode||(tn(e)?e.host:null)||ht(e)}function qn(e){return!Y(e)||ct(e).position==="fixed"?null:e.offsetParent}function vi(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&Y(e)){var r=ct(e);if(r.position==="fixed")return null}var i=xe(e);for(tn(i)&&(i=i.host);Y(i)&&["html","body"].indexOf(rt(i))<0;){var o=ct(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function Kt(e){for(var t=tt(e),n=qn(e);n&&mi(n)&&ct(n).position==="static";)n=qn(n);return n&&(rt(n)==="html"||rt(n)==="body"&&ct(n).position==="static")?t:n||vi(e)||t}function nn(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function _t(e,t,n){return Ot(e,me(t,n))}function yi(e,t,n){var r=_t(e,t,n);return r>n?n:r}function ur(){return{top:0,right:0,bottom:0,left:0}}function lr(e){return Object.assign({},ur(),e)}function dr(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var bi=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,lr(typeof e!="number"?e:dr(e,Zt))};function xi(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=et(n.placement),f=nn(s),c=[W,Z].indexOf(s)>=0,d=c?"height":"width";if(!(!o||!a)){var p=bi(i.padding,n),m=en(o),h=f==="y"?B:W,v=f==="y"?G:Z,u=n.rects.reference[d]+n.rects.reference[f]-a[f]-n.rects.popper[d],y=a[f]-n.rects.reference[f],l=Kt(o),w=l?f==="y"?l.clientHeight||0:l.clientWidth||0:0,g=u/2-y/2,b=p[h],x=w-m[d]-p[v],O=w/2-m[d]/2+g,A=_t(b,O,x),E=f;n.modifiersData[r]=(t={},t[E]=A,t.centerOffset=A-O,t)}}function wi(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||!cr(t.elements.popper,i)||(t.elements.arrow=i))}var Oi={name:"arrow",enabled:!0,phase:"main",fn:xi,effect:wi,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function kt(e){return e.split("-")[1]}var Ai={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ei(e){var t=e.x,n=e.y,r=window,i=r.devicePixelRatio||1;return{x:qt(t*i)/i||0,y:qt(n*i)/i||0}}function Nn(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,f=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,p=e.isFixed,m=a.x,h=m===void 0?0:m,v=a.y,u=v===void 0?0:v,y=typeof d=="function"?d({x:h,y:u}):{x:h,y:u};h=y.x,u=y.y;var l=a.hasOwnProperty("x"),w=a.hasOwnProperty("y"),g=W,b=B,x=window;if(c){var O=Kt(n),A="clientHeight",E="clientWidth";if(O===tt(n)&&(O=ht(n),ct(O).position!=="static"&&s==="absolute"&&(A="scrollHeight",E="scrollWidth")),O=O,i===B||(i===W||i===Z)&&o===Ut){b=G;var P=p&&O===x&&x.visualViewport?x.visualViewport.height:O[A];u-=P-r.height,u*=f?1:-1}if(i===W||(i===B||i===G)&&o===Ut){g=Z;var T=p&&O===x&&x.visualViewport?x.visualViewport.width:O[E];h-=T-r.width,h*=f?1:-1}}var F=Object.assign({position:s},c&&Ai),M=d===!0?Ei({x:h,y:u}):{x:h,y:u};if(h=M.x,u=M.y,f){var S;return Object.assign({},F,(S={},S[b]=w?"0":"",S[g]=l?"0":"",S.transform=(x.devicePixelRatio||1)<=1?"translate("+h+"px, "+u+"px)":"translate3d("+h+"px, "+u+"px, 0)",S))}return Object.assign({},F,(t={},t[b]=w?u+"px":"",t[g]=l?h+"px":"",t.transform="",t))}function Ri(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,f=s===void 0?!0:s,c={placement:et(t.placement),variation:kt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Nn(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Nn(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var pr={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ri,data:{}},oe={passive:!0};function Si(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,f=tt(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(d){d.addEventListener("scroll",n.update,oe)}),s&&f.addEventListener("resize",n.update,oe),function(){o&&c.forEach(function(d){d.removeEventListener("scroll",n.update,oe)}),s&&f.removeEventListener("resize",n.update,oe)}}var hr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Si,data:{}},Fi={left:"right",right:"left",bottom:"top",top:"bottom"};function le(e){return e.replace(/left|right|bottom|top/g,function(t){return Fi[t]})}var Mi={start:"end",end:"start"};function kn(e){return e.replace(/start|end/g,function(t){return Mi[t]})}function rn(e){var t=tt(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function on(e){return Nt(ht(e)).left+rn(e).scrollLeft}function Pi(e){var t=tt(e),n=ht(e),r=t.visualViewport,i=n.clientWidth,o=n.clientHeight,a=0,s=0;return r&&(i=r.width,o=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:i,height:o,x:a+on(e),y:s}}function Ti(e){var t,n=ht(e),r=rn(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Ot(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Ot(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+on(e),f=-r.scrollTop;return ct(i||n).direction==="rtl"&&(s+=Ot(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:f}}function an(e){var t=ct(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function gr(e){return["html","body","#document"].indexOf(rt(e))>=0?e.ownerDocument.body:Y(e)&&an(e)?e:gr(xe(e))}function It(e,t){var n;t===void 0&&(t=[]);var r=gr(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=tt(r),a=i?[o].concat(o.visualViewport||[],an(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(It(xe(a)))}function je(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Di(e){var t=Nt(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function jn(e,t){return t===ar?je(Pi(e)):Dt(t)?Di(t):je(Ti(ht(e)))}function qi(e){var t=It(xe(e)),n=["absolute","fixed"].indexOf(ct(e).position)>=0,r=n&&Y(e)?Kt(e):e;return Dt(r)?t.filter(function(i){return Dt(i)&&cr(i,r)&&rt(i)!=="body"}):[]}function Ni(e,t,n){var r=t==="clippingParents"?qi(e):[].concat(t),i=[].concat(r,[n]),o=i[0],a=i.reduce(function(s,f){var c=jn(e,f);return s.top=Ot(c.top,s.top),s.right=me(c.right,s.right),s.bottom=me(c.bottom,s.bottom),s.left=Ot(c.left,s.left),s},jn(e,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function mr(e){var t=e.reference,n=e.element,r=e.placement,i=r?et(r):null,o=r?kt(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,f;switch(i){case B:f={x:a,y:t.y-n.height};break;case G:f={x:a,y:t.y+t.height};break;case Z:f={x:t.x+t.width,y:s};break;case W:f={x:t.x-n.width,y:s};break;default:f={x:t.x,y:t.y}}var c=i?nn(i):null;if(c!=null){var d=c==="y"?"height":"width";switch(o){case Tt:f[c]=f[c]-(t[d]/2-n[d]/2);break;case Ut:f[c]=f[c]+(t[d]/2-n[d]/2);break}}return f}function zt(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.boundary,a=o===void 0?ni:o,s=n.rootBoundary,f=s===void 0?ar:s,c=n.elementContext,d=c===void 0?Wt:c,p=n.altBoundary,m=p===void 0?!1:p,h=n.padding,v=h===void 0?0:h,u=lr(typeof v!="number"?v:dr(v,Zt)),y=d===Wt?ri:Wt,l=e.rects.popper,w=e.elements[m?y:d],g=Ni(Dt(w)?w:w.contextElement||ht(e.elements.popper),a,f),b=Nt(e.elements.reference),x=mr({reference:b,element:l,strategy:"absolute",placement:i}),O=je(Object.assign({},l,x)),A=d===Wt?O:b,E={top:g.top-A.top+u.top,bottom:A.bottom-g.bottom+u.bottom,left:g.left-A.left+u.left,right:A.right-g.right+u.right},P=e.modifiersData.offset;if(d===Wt&&P){var T=P[i];Object.keys(E).forEach(function(F){var M=[Z,G].indexOf(F)>=0?1:-1,S=[B,G].indexOf(F)>=0?"y":"x";E[F]+=T[S]*M})}return E}function ki(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,f=n.allowedAutoPlacements,c=f===void 0?sr:f,d=kt(r),p=d?s?Dn:Dn.filter(function(v){return kt(v)===d}):Zt,m=p.filter(function(v){return c.indexOf(v)>=0});m.length===0&&(m=p);var h=m.reduce(function(v,u){return v[u]=zt(e,{placement:u,boundary:i,rootBoundary:o,padding:a})[et(u)],v},{});return Object.keys(h).sort(function(v,u){return h[v]-h[u]})}function ji(e){if(et(e)===Qe)return[];var t=le(e);return[kn(e),t,kn(t)]}function Hi(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,f=n.fallbackPlacements,c=n.padding,d=n.boundary,p=n.rootBoundary,m=n.altBoundary,h=n.flipVariations,v=h===void 0?!0:h,u=n.allowedAutoPlacements,y=t.options.placement,l=et(y),w=l===y,g=f||(w||!v?[le(y)]:ji(y)),b=[y].concat(g).reduce(function(mt,at){return mt.concat(et(at)===Qe?ki(t,{placement:at,boundary:d,rootBoundary:p,padding:c,flipVariations:v,allowedAutoPlacements:u}):at)},[]),x=t.rects.reference,O=t.rects.popper,A=new Map,E=!0,P=b[0],T=0;T<b.length;T++){var F=b[T],M=et(F),S=kt(F)===Tt,V=[B,G].indexOf(M)>=0,j=V?"width":"height",D=zt(t,{placement:F,boundary:d,rootBoundary:p,altBoundary:m,padding:c}),N=V?S?Z:W:S?G:B;x[j]>O[j]&&(N=le(N));var H=le(N),L=[];if(o&&L.push(D[M]<=0),s&&L.push(D[N]<=0,D[H]<=0),L.every(function(mt){return mt})){P=F,E=!1;break}A.set(F,L)}if(E)for(var _=v?3:1,X=function(mt){var at=b.find(function(ne){var Bt=A.get(ne);if(Bt)return Bt.slice(0,mt).every(function(St){return St})});if(at)return P=at,"break"},gt=_;gt>0;gt--){var ee=X(gt);if(ee==="break")break}t.placement!==P&&(t.modifiersData[r]._skip=!0,t.placement=P,t.reset=!0)}}var Li={name:"flip",enabled:!0,phase:"main",fn:Hi,requiresIfExists:["offset"],data:{_skip:!1}};function Hn(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Ln(e){return[B,Z,G,W].some(function(t){return e[t]>=0})}function Ci(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=zt(t,{elementContext:"reference"}),s=zt(t,{altBoundary:!0}),f=Hn(a,r),c=Hn(s,i,o),d=Ln(f),p=Ln(c);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":p})}var Bi={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ci};function Wi(e,t,n){var r=et(e),i=[W,B].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[W,Z].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function Vi(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=sr.reduce(function(d,p){return d[p]=Wi(p,t.rects,o),d},{}),s=a[t.placement],f=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}var _i={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Vi};function Ii(e){var t=e.state,n=e.name;t.modifiersData[n]=mr({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var vr={name:"popperOffsets",enabled:!0,phase:"read",fn:Ii,data:{}};function $i(e){return e==="x"?"y":"x"}function Ui(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,f=n.boundary,c=n.rootBoundary,d=n.altBoundary,p=n.padding,m=n.tether,h=m===void 0?!0:m,v=n.tetherOffset,u=v===void 0?0:v,y=zt(t,{boundary:f,rootBoundary:c,padding:p,altBoundary:d}),l=et(t.placement),w=kt(t.placement),g=!w,b=nn(l),x=$i(b),O=t.modifiersData.popperOffsets,A=t.rects.reference,E=t.rects.popper,P=typeof u=="function"?u(Object.assign({},t.rects,{placement:t.placement})):u,T=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),F=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(O){if(o){var S,V=b==="y"?B:W,j=b==="y"?G:Z,D=b==="y"?"height":"width",N=O[b],H=N+y[V],L=N-y[j],_=h?-E[D]/2:0,X=w===Tt?A[D]:E[D],gt=w===Tt?-E[D]:-A[D],ee=t.elements.arrow,mt=h&&ee?en(ee):{width:0,height:0},at=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ur(),ne=at[V],Bt=at[j],St=_t(0,A[D],mt[D]),zr=g?A[D]/2-_-St-ne-T.mainAxis:X-St-ne-T.mainAxis,Xr=g?-A[D]/2+_+St+Bt+T.mainAxis:gt+St+Bt+T.mainAxis,Se=t.elements.arrow&&Kt(t.elements.arrow),Yr=Se?b==="y"?Se.clientTop||0:Se.clientLeft||0:0,bn=(S=F==null?void 0:F[b])!=null?S:0,Gr=N+zr-bn-Yr,Zr=N+Xr-bn,xn=_t(h?me(H,Gr):H,N,h?Ot(L,Zr):L);O[b]=xn,M[b]=xn-N}if(s){var wn,Kr=b==="x"?B:W,Jr=b==="x"?G:Z,vt=O[x],re=x==="y"?"height":"width",On=vt+y[Kr],An=vt-y[Jr],Fe=[B,W].indexOf(l)!==-1,En=(wn=F==null?void 0:F[x])!=null?wn:0,Rn=Fe?On:vt-A[re]-E[re]-En+T.altAxis,Sn=Fe?vt+A[re]+E[re]-En-T.altAxis:An,Fn=h&&Fe?yi(Rn,vt,Sn):_t(h?Rn:On,vt,h?Sn:An);O[x]=Fn,M[x]=Fn-vt}t.modifiersData[r]=M}}var zi={name:"preventOverflow",enabled:!0,phase:"main",fn:Ui,requiresIfExists:["offset"]};function Xi(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Yi(e){return e===tt(e)||!Y(e)?rn(e):Xi(e)}function Gi(e){var t=e.getBoundingClientRect(),n=qt(t.width)/e.offsetWidth||1,r=qt(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Zi(e,t,n){n===void 0&&(n=!1);var r=Y(t),i=Y(t)&&Gi(t),o=ht(t),a=Nt(e,i),s={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(r||!r&&!n)&&((rt(t)!=="body"||an(o))&&(s=Yi(t)),Y(t)?(f=Nt(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):o&&(f.x=on(o))),{x:a.left+s.scrollLeft-f.x,y:a.top+s.scrollTop-f.y,width:a.width,height:a.height}}function Ki(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var f=t.get(s);f&&i(f)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function Ji(e){var t=Ki(e);return pi.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function Qi(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function to(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Cn={placement:"bottom",modifiers:[],strategy:"absolute"};function Bn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function sn(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,o=i===void 0?Cn:i;return function(a,s,f){f===void 0&&(f=o);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},Cn,o),modifiersData:{},elements:{reference:a,popper:s},attributes:{},styles:{}},d=[],p=!1,m={state:c,setOptions:function(u){var y=typeof u=="function"?u(c.options):u;v(),c.options=Object.assign({},o,c.options,y),c.scrollParents={reference:Dt(a)?It(a):a.contextElement?It(a.contextElement):[],popper:It(s)};var l=Ji(to([].concat(r,c.options.modifiers)));return c.orderedModifiers=l.filter(function(w){return w.enabled}),h(),m.update()},forceUpdate:function(){if(!p){var u=c.elements,y=u.reference,l=u.popper;if(Bn(y,l)){c.rects={reference:Zi(y,Kt(l),c.options.strategy==="fixed"),popper:en(l)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(E){return c.modifiersData[E.name]=Object.assign({},E.data)});for(var w=0;w<c.orderedModifiers.length;w++){if(c.reset===!0){c.reset=!1,w=-1;continue}var g=c.orderedModifiers[w],b=g.fn,x=g.options,O=x===void 0?{}:x,A=g.name;typeof b=="function"&&(c=b({state:c,options:O,name:A,instance:m})||c)}}}},update:Qi(function(){return new Promise(function(u){m.forceUpdate(),u(c)})}),destroy:function(){v(),p=!0}};if(!Bn(a,s))return m;m.setOptions(f).then(function(u){!p&&f.onFirstUpdate&&f.onFirstUpdate(u)});function h(){c.orderedModifiers.forEach(function(u){var y=u.name,l=u.options,w=l===void 0?{}:l,g=u.effect;if(typeof g=="function"){var b=g({state:c,name:y,instance:m,options:w}),x=function(){};d.push(b||x)}})}function v(){d.forEach(function(u){return u()}),d=[]}return m}}sn();var eo=[hr,vr,pr,fr];sn({defaultModifiers:eo});var no=[hr,vr,pr,fr,_i,Li,zi,Oi,Bi],Na=sn({defaultModifiers:no});function k(e,t){ro(e)&&(e="100%");var n=io(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function ae(e){return Math.min(1,Math.max(0,e))}function ro(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function io(e){return typeof e=="string"&&e.indexOf("%")!==-1}function yr(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function se(e){return e<=1?"".concat(Number(e)*100,"%"):e}function xt(e){return e.length===1?"0"+e:String(e)}function oo(e,t,n){return{r:k(e,255)*255,g:k(t,255)*255,b:k(n,255)*255}}function Wn(e,t,n){e=k(e,255),t=k(t,255),n=k(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=0,s=(r+i)/2;if(r===i)a=0,o=0;else{var f=r-i;switch(a=s>.5?f/(2-r-i):f/(r+i),r){case e:o=(t-n)/f+(t<n?6:0);break;case t:o=(n-e)/f+2;break;case n:o=(e-t)/f+4;break}o/=6}return{h:o,s:a,l:s}}function Pe(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ao(e,t,n){var r,i,o;if(e=k(e,360),t=k(t,100),n=k(n,100),t===0)i=n,o=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,s=2*n-a;r=Pe(s,a,e+1/3),i=Pe(s,a,e),o=Pe(s,a,e-1/3)}return{r:r*255,g:i*255,b:o*255}}function Vn(e,t,n){e=k(e,255),t=k(t,255),n=k(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),o=0,a=r,s=r-i,f=r===0?0:s/r;if(r===i)o=0;else{switch(r){case e:o=(t-n)/s+(t<n?6:0);break;case t:o=(n-e)/s+2;break;case n:o=(e-t)/s+4;break}o/=6}return{h:o,s:f,v:a}}function so(e,t,n){e=k(e,360)*6,t=k(t,100),n=k(n,100);var r=Math.floor(e),i=e-r,o=n*(1-t),a=n*(1-i*t),s=n*(1-(1-i)*t),f=r%6,c=[n,a,o,o,s,n][f],d=[s,n,n,a,o,o][f],p=[o,o,s,n,n,a][f];return{r:c*255,g:d*255,b:p*255}}function _n(e,t,n,r){var i=[xt(Math.round(e).toString(16)),xt(Math.round(t).toString(16)),xt(Math.round(n).toString(16))];return r&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function fo(e,t,n,r,i){var o=[xt(Math.round(e).toString(16)),xt(Math.round(t).toString(16)),xt(Math.round(n).toString(16)),xt(co(r))];return i&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function co(e){return Math.round(parseFloat(e)*255).toString(16)}function In(e){return $(e)/255}function $(e){return parseInt(e,16)}function uo(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var He={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function lo(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,o=null,a=!1,s=!1;return typeof e=="string"&&(e=go(e)),typeof e=="object"&&(ft(e.r)&&ft(e.g)&&ft(e.b)?(t=oo(e.r,e.g,e.b),a=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):ft(e.h)&&ft(e.s)&&ft(e.v)?(r=se(e.s),i=se(e.v),t=so(e.h,r,i),a=!0,s="hsv"):ft(e.h)&&ft(e.s)&&ft(e.l)&&(r=se(e.s),o=se(e.l),t=ao(e.h,r,o),a=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=yr(n),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var po="[-\\+]?\\d+%?",ho="[-\\+]?\\d*\\.\\d+%?",dt="(?:".concat(ho,")|(?:").concat(po,")"),Te="[\\s|\\(]+(".concat(dt,")[,|\\s]+(").concat(dt,")[,|\\s]+(").concat(dt,")\\s*\\)?"),De="[\\s|\\(]+(".concat(dt,")[,|\\s]+(").concat(dt,")[,|\\s]+(").concat(dt,")[,|\\s]+(").concat(dt,")\\s*\\)?"),K={CSS_UNIT:new RegExp(dt),rgb:new RegExp("rgb"+Te),rgba:new RegExp("rgba"+De),hsl:new RegExp("hsl"+Te),hsla:new RegExp("hsla"+De),hsv:new RegExp("hsv"+Te),hsva:new RegExp("hsva"+De),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function go(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(He[e])e=He[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=K.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=K.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=K.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=K.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=K.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=K.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=K.hex8.exec(e),n?{r:$(n[1]),g:$(n[2]),b:$(n[3]),a:In(n[4]),format:t?"name":"hex8"}:(n=K.hex6.exec(e),n?{r:$(n[1]),g:$(n[2]),b:$(n[3]),format:t?"name":"hex"}:(n=K.hex4.exec(e),n?{r:$(n[1]+n[1]),g:$(n[2]+n[2]),b:$(n[3]+n[3]),a:In(n[4]+n[4]),format:t?"name":"hex8"}:(n=K.hex3.exec(e),n?{r:$(n[1]+n[1]),g:$(n[2]+n[2]),b:$(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function ft(e){return!!K.CSS_UNIT.exec(String(e))}var ka=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=uo(t)),this.originalInput=t;var i=lo(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:i.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,i,o=t.r/255,a=t.g/255,s=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),s<=.03928?i=s/12.92:i=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*r+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=yr(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=Vn(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=Vn(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=Wn(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=Wn(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),_n(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),fo(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(k(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(k(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+_n(this.r,this.g,this.b,!1),n=0,r=Object.entries(He);n<r.length;n++){var i=r[n],o=i[0],a=i[1];if(t===a)return o}return!1},e.prototype.toString=function(t){var n=!!t;t=t!=null?t:this.format;var r=!1,i=this.a<1&&this.a>=0,o=!n&&i&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=ae(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=ae(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=ae(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=ae(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),o=n/100,a={r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a};return new e(a)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),i=360/n,o=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(new e(r));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/t;t--;)a.push(new e({h:r,s:i,v:o})),o=(o+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),i=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/i,g:(n.g*n.a+r.g*r.a*(1-n.a))/i,b:(n.b*n.a+r.b*r.a*(1-n.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],o=360/t,a=1;a<t;a++)i.push(new e({h:(r+a*o)%360,s:n.s,l:n.l}));return i},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function wt(){return wt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wt.apply(this,arguments)}function mo(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Xt(e,t)}function Le(e){return Le=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Le(e)}function Xt(e,t){return Xt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Xt(e,t)}function vo(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function de(e,t,n){return vo()?de=Reflect.construct.bind():de=function(i,o,a){var s=[null];s.push.apply(s,o);var f=Function.bind.apply(i,s),c=new f;return a&&Xt(c,a.prototype),c},de.apply(null,arguments)}function yo(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Ce(e){var t=typeof Map=="function"?new Map:void 0;return Ce=function(r){if(r===null||!yo(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return de(r,arguments,Le(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Xt(i,r)},Ce(e)}var bo=/%[sdj%]/g,xo=function(){};function Be(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function U(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0,o=n.length;if(typeof e=="function")return e.apply(null,n);if(typeof e=="string"){var a=e.replace(bo,function(s){if(s==="%%")return"%";if(i>=o)return s;switch(s){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch(f){return"[Circular]"}break;default:return s}});return a}return e}function wo(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function q(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||wo(t)&&typeof e=="string"&&!e)}function Oo(e,t,n){var r=[],i=0,o=e.length;function a(s){r.push.apply(r,s||[]),i++,i===o&&n(r)}e.forEach(function(s){t(s,a)})}function $n(e,t,n){var r=0,i=e.length;function o(a){if(a&&a.length){n(a);return}var s=r;r=r+1,s<i?t(e[s],o):n([])}o([])}function Ao(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n]||[])}),t}var Un=function(e){mo(t,e);function t(n,r){var i;return i=e.call(this,"Async Validation Error")||this,i.errors=n,i.fields=r,i}return t}(Ce(Error));function Eo(e,t,n,r,i){if(t.first){var o=new Promise(function(m,h){var v=function(l){return r(l),l.length?h(new Un(l,Be(l))):m(i)},u=Ao(e);$n(u,n,v)});return o.catch(function(m){return m}),o}var a=t.firstFields===!0?Object.keys(e):t.firstFields||[],s=Object.keys(e),f=s.length,c=0,d=[],p=new Promise(function(m,h){var v=function(y){if(d.push.apply(d,y),c++,c===f)return r(d),d.length?h(new Un(d,Be(d))):m(i)};s.length||(r(d),m(i)),s.forEach(function(u){var y=e[u];a.indexOf(u)!==-1?$n(y,n,v):Oo(y,n,v)})});return p.catch(function(m){return m}),p}function Ro(e){return!!(e&&e.message!==void 0)}function So(e,t){for(var n=e,r=0;r<t.length;r++){if(n==null)return n;n=n[t[r]]}return n}function zn(e,t){return function(n){var r;return e.fullFields?r=So(t,e.fullFields):r=t[n.field||e.fullField],Ro(n)?(n.field=n.field||e.fullField,n.fieldValue=r,n):{message:typeof n=="function"?n():n,fieldValue:r,field:n.field||e.fullField}}}function Xn(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];typeof r=="object"&&typeof e[n]=="object"?e[n]=wt({},e[n],r):e[n]=r}}return e}var br=function(t,n,r,i,o,a){t.required&&(!r.hasOwnProperty(t.field)||q(n,a||t.type))&&i.push(U(o.messages.required,t.fullField))},Fo=function(t,n,r,i,o){(/^\s+$/.test(n)||n==="")&&i.push(U(o.messages.whitespace,t.fullField))},fe,Mo=function(){if(fe)return fe;var e="[a-fA-F\\d:]",t=function(b){return b&&b.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",i=(`
|
|
2
|
+
(?:
|
|
3
|
+
(?:`+r+":){7}(?:"+r+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
|
4
|
+
(?:`+r+":){6}(?:"+n+"|:"+r+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
|
|
5
|
+
(?:`+r+":){5}(?::"+n+"|(?::"+r+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
|
|
6
|
+
(?:`+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
|
|
7
|
+
(?:`+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
|
|
8
|
+
(?:`+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
|
9
|
+
(?:`+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
|
10
|
+
(?::(?:(?::`+r+"){0,5}:"+n+"|(?::"+r+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
|
|
11
|
+
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
|
|
12
|
+
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),o=new RegExp("(?:^"+n+"$)|(?:^"+i+"$)"),a=new RegExp("^"+n+"$"),s=new RegExp("^"+i+"$"),f=function(b){return b&&b.exact?o:new RegExp("(?:"+t(b)+n+t(b)+")|(?:"+t(b)+i+t(b)+")","g")};f.v4=function(g){return g&&g.exact?a:new RegExp(""+t(g)+n+t(g),"g")},f.v6=function(g){return g&&g.exact?s:new RegExp(""+t(g)+i+t(g),"g")};var c="(?:(?:[a-z]+:)?//)",d="(?:\\S+(?::\\S*)?@)?",p=f.v4().source,m=f.v6().source,h="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",v="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",u="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",y="(?::\\d{2,5})?",l='(?:[/?#][^\\s"]*)?',w="(?:"+c+"|www\\.)"+d+"(?:localhost|"+p+"|"+m+"|"+h+v+u+")"+y+l;return fe=new RegExp("(?:^"+w+"$)","i"),fe},Yn={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Vt={integer:function(t){return Vt.number(t)&&parseInt(t,10)===t},float:function(t){return Vt.number(t)&&!Vt.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Vt.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(Yn.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(Mo())},hex:function(t){return typeof t=="string"&&!!t.match(Yn.hex)}},Po=function(t,n,r,i,o){if(t.required&&n===void 0){br(t,n,r,i,o);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;a.indexOf(s)>-1?Vt[s](n)||i.push(U(o.messages.types[s],t.fullField,t.type)):s&&typeof n!==t.type&&i.push(U(o.messages.types[s],t.fullField,t.type))},To=function(t,n,r,i,o){var a=typeof t.len=="number",s=typeof t.min=="number",f=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=n,p=null,m=typeof n=="number",h=typeof n=="string",v=Array.isArray(n);if(m?p="number":h?p="string":v&&(p="array"),!p)return!1;v&&(d=n.length),h&&(d=n.replace(c,"_").length),a?d!==t.len&&i.push(U(o.messages[p].len,t.fullField,t.len)):s&&!f&&d<t.min?i.push(U(o.messages[p].min,t.fullField,t.min)):f&&!s&&d>t.max?i.push(U(o.messages[p].max,t.fullField,t.max)):s&&f&&(d<t.min||d>t.max)&&i.push(U(o.messages[p].range,t.fullField,t.min,t.max))},Ft="enum",Do=function(t,n,r,i,o){t[Ft]=Array.isArray(t[Ft])?t[Ft]:[],t[Ft].indexOf(n)===-1&&i.push(U(o.messages[Ft],t.fullField,t[Ft].join(", ")))},qo=function(t,n,r,i,o){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||i.push(U(o.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(n)||i.push(U(o.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},R={required:br,whitespace:Fo,type:Po,range:To,enum:Do,pattern:qo},No=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(q(n,"string")&&!t.required)return r();R.required(t,n,i,a,o,"string"),q(n,"string")||(R.type(t,n,i,a,o),R.range(t,n,i,a,o),R.pattern(t,n,i,a,o),t.whitespace===!0&&R.whitespace(t,n,i,a,o))}r(a)},ko=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(q(n)&&!t.required)return r();R.required(t,n,i,a,o),n!==void 0&&R.type(t,n,i,a,o)}r(a)},jo=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),q(n)&&!t.required)return r();R.required(t,n,i,a,o),n!==void 0&&(R.type(t,n,i,a,o),R.range(t,n,i,a,o))}r(a)},Ho=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(q(n)&&!t.required)return r();R.required(t,n,i,a,o),n!==void 0&&R.type(t,n,i,a,o)}r(a)},Lo=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(q(n)&&!t.required)return r();R.required(t,n,i,a,o),q(n)||R.type(t,n,i,a,o)}r(a)},Co=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(q(n)&&!t.required)return r();R.required(t,n,i,a,o),n!==void 0&&(R.type(t,n,i,a,o),R.range(t,n,i,a,o))}r(a)},Bo=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(q(n)&&!t.required)return r();R.required(t,n,i,a,o),n!==void 0&&(R.type(t,n,i,a,o),R.range(t,n,i,a,o))}r(a)},Wo=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return r();R.required(t,n,i,a,o,"array"),n!=null&&(R.type(t,n,i,a,o),R.range(t,n,i,a,o))}r(a)},Vo=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(q(n)&&!t.required)return r();R.required(t,n,i,a,o),n!==void 0&&R.type(t,n,i,a,o)}r(a)},_o="enum",Io=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(q(n)&&!t.required)return r();R.required(t,n,i,a,o),n!==void 0&&R[_o](t,n,i,a,o)}r(a)},$o=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(q(n,"string")&&!t.required)return r();R.required(t,n,i,a,o),q(n,"string")||R.pattern(t,n,i,a,o)}r(a)},Uo=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(q(n,"date")&&!t.required)return r();if(R.required(t,n,i,a,o),!q(n,"date")){var f;n instanceof Date?f=n:f=new Date(n),R.type(t,f,i,a,o),f&&R.range(t,f.getTime(),i,a,o)}}r(a)},zo=function(t,n,r,i,o){var a=[],s=Array.isArray(n)?"array":typeof n;R.required(t,n,i,a,o,s),r(a)},qe=function(t,n,r,i,o){var a=t.type,s=[],f=t.required||!t.required&&i.hasOwnProperty(t.field);if(f){if(q(n,a)&&!t.required)return r();R.required(t,n,i,s,o,a),q(n,a)||R.type(t,n,i,s,o)}r(s)},Xo=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(q(n)&&!t.required)return r();R.required(t,n,i,a,o)}r(a)},$t={string:No,method:ko,number:jo,boolean:Ho,regexp:Lo,integer:Co,float:Bo,array:Wo,object:Vo,enum:Io,pattern:$o,date:Uo,url:qe,hex:qe,email:qe,required:zo,any:Xo};function We(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var Ve=We(),we=function(){function e(n){this.rules=null,this._messages=Ve,this.define(n)}var t=e.prototype;return t.define=function(r){var i=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(o){var a=r[o];i.rules[o]=Array.isArray(a)?a:[a]})},t.messages=function(r){return r&&(this._messages=Xn(We(),r)),this._messages},t.validate=function(r,i,o){var a=this;i===void 0&&(i={}),o===void 0&&(o=function(){});var s=r,f=i,c=o;if(typeof f=="function"&&(c=f,f={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(null,s),Promise.resolve(s);function d(u){var y=[],l={};function w(b){if(Array.isArray(b)){var x;y=(x=y).concat.apply(x,b)}else y.push(b)}for(var g=0;g<u.length;g++)w(u[g]);y.length?(l=Be(y),c(y,l)):c(null,s)}if(f.messages){var p=this.messages();p===Ve&&(p=We()),Xn(p,f.messages),f.messages=p}else f.messages=this.messages();var m={},h=f.keys||Object.keys(this.rules);h.forEach(function(u){var y=a.rules[u],l=s[u];y.forEach(function(w){var g=w;typeof g.transform=="function"&&(s===r&&(s=wt({},s)),l=s[u]=g.transform(l)),typeof g=="function"?g={validator:g}:g=wt({},g),g.validator=a.getValidationMethod(g),g.validator&&(g.field=u,g.fullField=g.fullField||u,g.type=a.getType(g),m[u]=m[u]||[],m[u].push({rule:g,value:l,source:s,field:u}))})});var v={};return Eo(m,f,function(u,y){var l=u.rule,w=(l.type==="object"||l.type==="array")&&(typeof l.fields=="object"||typeof l.defaultField=="object");w=w&&(l.required||!l.required&&u.value),l.field=u.field;function g(O,A){return wt({},A,{fullField:l.fullField+"."+O,fullFields:l.fullFields?[].concat(l.fullFields,[O]):[O]})}function b(O){O===void 0&&(O=[]);var A=Array.isArray(O)?O:[O];!f.suppressWarning&&A.length&&e.warning("async-validator:",A),A.length&&l.message!==void 0&&(A=[].concat(l.message));var E=A.map(zn(l,s));if(f.first&&E.length)return v[l.field]=1,y(E);if(!w)y(E);else{if(l.required&&!u.value)return l.message!==void 0?E=[].concat(l.message).map(zn(l,s)):f.error&&(E=[f.error(l,U(f.messages.required,l.field))]),y(E);var P={};l.defaultField&&Object.keys(u.value).map(function(M){P[M]=l.defaultField}),P=wt({},P,u.rule.fields);var T={};Object.keys(P).forEach(function(M){var S=P[M],V=Array.isArray(S)?S:[S];T[M]=V.map(g.bind(null,M))});var F=new e(T);F.messages(f.messages),u.rule.options&&(u.rule.options.messages=f.messages,u.rule.options.error=f.error),F.validate(u.value,u.rule.options||f,function(M){var S=[];E&&E.length&&S.push.apply(S,E),M&&M.length&&S.push.apply(S,M),y(S.length?S:null)})}}var x;if(l.asyncValidator)x=l.asyncValidator(l,u.value,b,u.source,f);else if(l.validator){try{x=l.validator(l,u.value,b,u.source,f)}catch(O){console.error==null||console.error(O),f.suppressValidatorError||setTimeout(function(){throw O},0),b(O.message)}x===!0?b():x===!1?b(typeof l.message=="function"?l.message(l.fullField||l.field):l.message||(l.fullField||l.field)+" fails"):x instanceof Array?b(x):x instanceof Error&&b(x.message)}x&&x.then&&x.then(function(){return b()},function(O){return b(O)})},function(u){d(u)},s)},t.getType=function(r){if(r.type===void 0&&r.pattern instanceof RegExp&&(r.type="pattern"),typeof r.validator!="function"&&r.type&&!$t.hasOwnProperty(r.type))throw new Error(U("Unknown rule type %s",r.type));return r.type||"string"},t.getValidationMethod=function(r){if(typeof r.validator=="function")return r.validator;var i=Object.keys(r),o=i.indexOf("message");return o!==-1&&i.splice(o,1),i.length===1&&i[0]==="required"?$t.required:$t[this.getType(r)]||void 0},e}();we.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");$t[t]=n};we.warning=xo;we.messages=Ve;we.validators=$t;var Gn=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Yo(e,t){return!!(e===t||Gn(e)&&Gn(t))}function Go(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Yo(e[n],t[n]))return!1;return!0}function ja(e,t){t===void 0&&(t=Go);var n=null;function r(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var a=e.apply(this,i);return n={lastResult:a,lastArgs:i,lastThis:this},a}return r.clear=function(){n=null},r}var Zn=!1,bt,_e,Ie,pe,he,xr,ge,$e,Ue,ze,wr,Xe,Ye,Or,Ar;function C(){if(!Zn){Zn=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(Xe=/\b(iPhone|iP[ao]d)/.exec(e),Ye=/\b(iP[ao]d)/.exec(e),ze=/Android/i.exec(e),Or=/FBAN\/\w+;/i.exec(e),Ar=/Mobile/i.exec(e),wr=!!/Win64/.exec(e),t){bt=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,bt&&document&&document.documentMode&&(bt=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(e);xr=r?parseFloat(r[1])+4:bt,_e=t[2]?parseFloat(t[2]):NaN,Ie=t[3]?parseFloat(t[3]):NaN,pe=t[4]?parseFloat(t[4]):NaN,pe?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),he=t&&t[1]?parseFloat(t[1]):NaN):he=NaN}else bt=_e=Ie=he=pe=NaN;if(n){if(n[1]){var i=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);ge=i?parseFloat(i[1].replace("_",".")):!0}else ge=!1;$e=!!n[2],Ue=!!n[3]}else ge=$e=Ue=!1}}var Ge={ie:function(){return C()||bt},ieCompatibilityMode:function(){return C()||xr>bt},ie64:function(){return Ge.ie()&&wr},firefox:function(){return C()||_e},opera:function(){return C()||Ie},webkit:function(){return C()||pe},safari:function(){return Ge.webkit()},chrome:function(){return C()||he},windows:function(){return C()||$e},osx:function(){return C()||ge},linux:function(){return C()||Ue},iphone:function(){return C()||Xe},mobile:function(){return C()||Xe||Ye||ze||Ar},nativeApp:function(){return C()||Or},android:function(){return C()||ze},ipad:function(){return C()||Ye}},Zo=Ge,ce=!!(typeof window<"u"&&window.document&&window.document.createElement),Ko={canUseDOM:ce,canUseWorkers:typeof Worker<"u",canUseEventListeners:ce&&!!(window.addEventListener||window.attachEvent),canUseViewport:ce&&!!window.screen,isInWorker:!ce},Er=Ko,Rr;Er.canUseDOM&&(Rr=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function Jo(e,t){if(!Er.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var i=document.createElement("div");i.setAttribute(n,"return;"),r=typeof i[n]=="function"}return!r&&Rr&&e==="wheel"&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var Qo=Jo,Kn=10,Jn=40,Qn=800;function Sr(e){var t=0,n=0,r=0,i=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=t*Kn,i=n*Kn,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||i)&&e.deltaMode&&(e.deltaMode==1?(r*=Jn,i*=Jn):(r*=Qn,i*=Qn)),r&&!t&&(t=r<1?-1:1),i&&!n&&(n=i<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:i}}Sr.getEventType=function(){return Zo.firefox()?"DOMMouseScroll":Qo("wheel")?"wheel":"mousewheel"};var Ha=Sr;/**
|
|
13
|
+
* Checks if an event is supported in the current execution environment.
|
|
14
|
+
*
|
|
15
|
+
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
16
|
+
* `reset`, `load`, `error`, and `select`.
|
|
17
|
+
*
|
|
18
|
+
* Borrows from Modernizr.
|
|
19
|
+
*
|
|
20
|
+
* @param {string} eventNameSuffix Event name, e.g. "click".
|
|
21
|
+
* @param {?boolean} capture Check if the capture phase is supported.
|
|
22
|
+
* @return {boolean} True if the event is supported.
|
|
23
|
+
* @internal
|
|
24
|
+
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
25
|
+
*/const jt=Math.min,At=Math.max,ve=Math.round,ue=Math.floor,nt=e=>({x:e,y:e}),ta={left:"right",right:"left",bottom:"top",top:"bottom"},ea={start:"end",end:"start"};function Ze(e,t,n){return At(e,jt(t,n))}function Jt(e,t){return typeof e=="function"?e(t):e}function Et(e){return e.split("-")[0]}function Qt(e){return e.split("-")[1]}function Fr(e){return e==="x"?"y":"x"}function fn(e){return e==="y"?"height":"width"}function Ht(e){return["top","bottom"].includes(Et(e))?"y":"x"}function cn(e){return Fr(Ht(e))}function na(e,t,n){n===void 0&&(n=!1);const r=Qt(e),i=cn(e),o=fn(i);let a=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=ye(a)),[a,ye(a)]}function ra(e){const t=ye(e);return[Ke(e),t,Ke(t)]}function Ke(e){return e.replace(/start|end/g,t=>ea[t])}function ia(e,t,n){const r=["left","right"],i=["right","left"],o=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?o:a;default:return[]}}function oa(e,t,n,r){const i=Qt(e);let o=ia(Et(e),n==="start",r);return i&&(o=o.map(a=>a+"-"+i),t&&(o=o.concat(o.map(Ke)))),o}function ye(e){return e.replace(/left|right|bottom|top/g,t=>ta[t])}function aa(e){return I({top:0,right:0,bottom:0,left:0},e)}function Mr(e){return typeof e!="number"?aa(e):{top:e,right:e,bottom:e,left:e}}function be(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function tr(e,t,n){let{reference:r,floating:i}=e;const o=Ht(t),a=cn(t),s=fn(a),f=Et(t),c=o==="y",d=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,m=r[s]/2-i[s]/2;let h;switch(f){case"top":h={x:d,y:r.y-i.height};break;case"bottom":h={x:d,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:p};break;case"left":h={x:r.x-i.width,y:p};break;default:h={x:r.x,y:r.y}}switch(Qt(t)){case"start":h[a]-=m*(n&&c?-1:1);break;case"end":h[a]+=m*(n&&c?-1:1);break}return h}const sa=(e,t,n)=>st(void 0,null,function*(){const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=o.filter(Boolean),f=yield a.isRTL==null?void 0:a.isRTL(t);let c=yield a.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:p}=tr(c,r,f),m=r,h={},v=0;for(let u=0;u<s.length;u++){const{name:y,fn:l}=s[u],{x:w,y:g,data:b,reset:x}=yield l({x:d,y:p,initialPlacement:r,placement:m,strategy:i,middlewareData:h,rects:c,platform:a,elements:{reference:e,floating:t}});d=w!=null?w:d,p=g!=null?g:p,h=ut(I({},h),{[y]:I(I({},h[y]),b)}),x&&v<=50&&(v++,typeof x=="object"&&(x.placement&&(m=x.placement),x.rects&&(c=x.rects===!0?yield a.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:d,y:p}=tr(c,m,f)),u=-1)}return{x:d,y:p,placement:m,strategy:i,middlewareData:h}});function un(e,t){return st(this,null,function*(){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:a,elements:s,strategy:f}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:p="floating",altBoundary:m=!1,padding:h=0}=Jt(t,e),v=Mr(h),y=s[m?p==="floating"?"reference":"floating":p],l=be(yield o.getClippingRect({element:(n=yield o.isElement==null?void 0:o.isElement(y))==null||n?y:y.contextElement||(yield o.getDocumentElement==null?void 0:o.getDocumentElement(s.floating)),boundary:c,rootBoundary:d,strategy:f})),w=p==="floating"?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,g=yield o.getOffsetParent==null?void 0:o.getOffsetParent(s.floating),b=(yield o.isElement==null?void 0:o.isElement(g))?(yield o.getScale==null?void 0:o.getScale(g))||{x:1,y:1}:{x:1,y:1},x=be(o.convertOffsetParentRelativeRectToViewportRelativeRect?yield o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:w,offsetParent:g,strategy:f}):w);return{top:(l.top-x.top+v.top)/b.y,bottom:(x.bottom-l.bottom+v.bottom)/b.y,left:(l.left-x.left+v.left)/b.x,right:(x.right-l.right+v.right)/b.x}})}const fa=e=>({name:"arrow",options:e,fn(n){return st(this,null,function*(){const{x:r,y:i,placement:o,rects:a,platform:s,elements:f,middlewareData:c}=n,{element:d,padding:p=0}=Jt(e,n)||{};if(d==null)return{};const m=Mr(p),h={x:r,y:i},v=cn(o),u=fn(v),y=yield s.getDimensions(d),l=v==="y",w=l?"top":"left",g=l?"bottom":"right",b=l?"clientHeight":"clientWidth",x=a.reference[u]+a.reference[v]-h[v]-a.floating[u],O=h[v]-a.reference[v],A=yield s.getOffsetParent==null?void 0:s.getOffsetParent(d);let E=A?A[b]:0;(!E||!(yield s.isElement==null?void 0:s.isElement(A)))&&(E=f.floating[b]||a.floating[u]);const P=x/2-O/2,T=E/2-y[u]/2-1,F=jt(m[w],T),M=jt(m[g],T),S=F,V=E-y[u]-M,j=E/2-y[u]/2+P,D=Ze(S,j,V),N=!c.arrow&&Qt(o)!=null&&j!==D&&a.reference[u]/2-(j<S?F:M)-y[u]/2<0,H=N?j<S?j-S:j-V:0;return{[v]:h[v]+H,data:I({[v]:D,centerOffset:j-D-H},N&&{alignmentOffset:H}),reset:N}})}}),ca=function(e){return e===void 0&&(e={}),{name:"flip",options:e,fn(n){return st(this,null,function*(){var r,i;const{placement:o,middlewareData:a,rects:s,initialPlacement:f,platform:c,elements:d}=n,j=Jt(e,n),{mainAxis:p=!0,crossAxis:m=!0,fallbackPlacements:h,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:u="none",flipAlignment:y=!0}=j,l=Me(j,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((r=a.arrow)!=null&&r.alignmentOffset)return{};const w=Et(o),g=Ht(f),b=Et(f)===f,x=yield c.isRTL==null?void 0:c.isRTL(d.floating),O=h||(b||!y?[ye(f)]:ra(f)),A=u!=="none";!h&&A&&O.push(...oa(f,y,u,x));const E=[f,...O],P=yield un(n,l),T=[];let F=((i=a.flip)==null?void 0:i.overflows)||[];if(p&&T.push(P[w]),m){const D=na(o,s,x);T.push(P[D[0]],P[D[1]])}if(F=[...F,{placement:o,overflows:T}],!T.every(D=>D<=0)){var M,S;const D=(((M=a.flip)==null?void 0:M.index)||0)+1,N=E[D];if(N)return{data:{index:D,overflows:F},reset:{placement:N}};let H=(S=F.filter(L=>L.overflows[0]<=0).sort((L,_)=>L.overflows[1]-_.overflows[1])[0])==null?void 0:S.placement;if(!H)switch(v){case"bestFit":{var V;const L=(V=F.filter(_=>{if(A){const X=Ht(_.placement);return X===g||X==="y"}return!0}).map(_=>[_.placement,_.overflows.filter(X=>X>0).reduce((X,gt)=>X+gt,0)]).sort((_,X)=>_[1]-X[1])[0])==null?void 0:V[0];L&&(H=L);break}case"initialPlacement":H=f;break}if(o!==H)return{reset:{placement:H}}}return{}})}}};function ua(e,t){return st(this,null,function*(){const{placement:n,platform:r,elements:i}=e,o=yield r.isRTL==null?void 0:r.isRTL(i.floating),a=Et(n),s=Qt(n),f=Ht(n)==="y",c=["left","top"].includes(a)?-1:1,d=o&&f?-1:1,p=Jt(t,e);let{mainAxis:m,crossAxis:h,alignmentAxis:v}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return s&&typeof v=="number"&&(h=s==="end"?v*-1:v),f?{x:h*d,y:m*c}:{x:m*c,y:h*d}})}const la=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn(n){return st(this,null,function*(){var r,i;const{x:o,y:a,placement:s,middlewareData:f}=n,c=yield ua(n,e);return s===((r=f.offset)==null?void 0:r.placement)&&(i=f.arrow)!=null&&i.alignmentOffset?{}:{x:o+c.x,y:a+c.y,data:ut(I({},c),{placement:s})}})}}},da=function(e){return e===void 0&&(e={}),{name:"shift",options:e,fn(n){return st(this,null,function*(){const{x:r,y:i,placement:o}=n,l=Jt(e,n),{mainAxis:a=!0,crossAxis:s=!1,limiter:f={fn:w=>{let{x:g,y:b}=w;return{x:g,y:b}}}}=l,c=Me(l,["mainAxis","crossAxis","limiter"]),d={x:r,y:i},p=yield un(n,c),m=Ht(Et(o)),h=Fr(m);let v=d[h],u=d[m];if(a){const w=h==="y"?"top":"left",g=h==="y"?"bottom":"right",b=v+p[w],x=v-p[g];v=Ze(b,v,x)}if(s){const w=m==="y"?"top":"left",g=m==="y"?"bottom":"right",b=u+p[w],x=u-p[g];u=Ze(b,u,x)}const y=f.fn(ut(I({},n),{[h]:v,[m]:u}));return ut(I({},y),{data:{x:y.x-r,y:y.y-i,enabled:{[h]:a,[m]:s}}})})}}};function Oe(){return typeof window!="undefined"}function Ct(e){return Pr(e)?(e.nodeName||"").toLowerCase():"#document"}function z(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ot(e){var t;return(t=(Pr(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Pr(e){return Oe()?e instanceof Node||e instanceof z(e).Node:!1}function J(e){return Oe()?e instanceof Element||e instanceof z(e).Element:!1}function it(e){return Oe()?e instanceof HTMLElement||e instanceof z(e).HTMLElement:!1}function er(e){return!Oe()||typeof ShadowRoot=="undefined"?!1:e instanceof ShadowRoot||e instanceof z(e).ShadowRoot}function te(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Q(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function pa(e){return["table","td","th"].includes(Ct(e))}function Ae(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(n){return!1}})}function ln(e){const t=dn(),n=J(e)?Q(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function ha(e){let t=pt(e);for(;it(t)&&!Lt(t);){if(ln(t))return t;if(Ae(t))return null;t=pt(t)}return null}function dn(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Lt(e){return["html","body","#document"].includes(Ct(e))}function Q(e){return z(e).getComputedStyle(e)}function Ee(e){return J(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function pt(e){if(Ct(e)==="html")return e;const t=e.assignedSlot||e.parentNode||er(e)&&e.host||ot(e);return er(t)?t.host:t}function Tr(e){const t=pt(e);return Lt(t)?e.ownerDocument?e.ownerDocument.body:e.body:it(t)&&te(t)?t:Tr(t)}function Yt(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Tr(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),a=z(i);if(o){const s=Je(a);return t.concat(a,a.visualViewport||[],te(i)?i:[],s&&n?Yt(s):[])}return t.concat(i,Yt(i,[],n))}function Je(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Dr(e){const t=Q(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=it(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=ve(n)!==o||ve(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function pn(e){return J(e)?e:e.contextElement}function Mt(e){const t=pn(e);if(!it(t))return nt(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=Dr(t);let a=(o?ve(n.width):n.width)/r,s=(o?ve(n.height):n.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const ga=nt(0);function qr(e){const t=z(e);return!dn()||!t.visualViewport?ga:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ma(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==z(e)?!1:t}function Rt(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),o=pn(e);let a=nt(1);t&&(r?J(r)&&(a=Mt(r)):a=Mt(e));const s=ma(o,n,r)?qr(o):nt(0);let f=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,d=i.width/a.x,p=i.height/a.y;if(o){const m=z(o),h=r&&J(r)?z(r):r;let v=m,u=Je(v);for(;u&&r&&h!==v;){const y=Mt(u),l=u.getBoundingClientRect(),w=Q(u),g=l.left+(u.clientLeft+parseFloat(w.paddingLeft))*y.x,b=l.top+(u.clientTop+parseFloat(w.paddingTop))*y.y;f*=y.x,c*=y.y,d*=y.x,p*=y.y,f+=g,c+=b,v=z(u),u=Je(v)}}return be({width:d,height:p,x:f,y:c})}function hn(e,t){const n=Ee(e).scrollLeft;return t?t.left+n:Rt(ot(e)).left+n}function Nr(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-(n?0:hn(e,r)),o=r.top+t.scrollTop;return{x:i,y:o}}function va(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o=i==="fixed",a=ot(r),s=t?Ae(t.floating):!1;if(r===a||s&&o)return n;let f={scrollLeft:0,scrollTop:0},c=nt(1);const d=nt(0),p=it(r);if((p||!p&&!o)&&((Ct(r)!=="body"||te(a))&&(f=Ee(r)),it(r))){const h=Rt(r);c=Mt(r),d.x=h.x+r.clientLeft,d.y=h.y+r.clientTop}const m=a&&!p&&!o?Nr(a,f,!0):nt(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-f.scrollLeft*c.x+d.x+m.x,y:n.y*c.y-f.scrollTop*c.y+d.y+m.y}}function ya(e){return Array.from(e.getClientRects())}function ba(e){const t=ot(e),n=Ee(e),r=e.ownerDocument.body,i=At(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=At(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+hn(e);const s=-n.scrollTop;return Q(r).direction==="rtl"&&(a+=At(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:s}}function xa(e,t){const n=z(e),r=ot(e),i=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,s=0,f=0;if(i){o=i.width,a=i.height;const c=dn();(!c||c&&t==="fixed")&&(s=i.offsetLeft,f=i.offsetTop)}return{width:o,height:a,x:s,y:f}}function wa(e,t){const n=Rt(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=it(e)?Mt(e):nt(1),a=e.clientWidth*o.x,s=e.clientHeight*o.y,f=i*o.x,c=r*o.y;return{width:a,height:s,x:f,y:c}}function nr(e,t,n){let r;if(t==="viewport")r=xa(e,n);else if(t==="document")r=ba(ot(e));else if(J(t))r=wa(t,n);else{const i=qr(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return be(r)}function kr(e,t){const n=pt(e);return n===t||!J(n)||Lt(n)?!1:Q(n).position==="fixed"||kr(n,t)}function Oa(e,t){const n=t.get(e);if(n)return n;let r=Yt(e,[],!1).filter(s=>J(s)&&Ct(s)!=="body"),i=null;const o=Q(e).position==="fixed";let a=o?pt(e):e;for(;J(a)&&!Lt(a);){const s=Q(a),f=ln(a);!f&&s.position==="fixed"&&(i=null),(o?!f&&!i:!f&&s.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||te(a)&&!f&&kr(e,a))?r=r.filter(d=>d!==a):i=s,a=pt(a)}return t.set(e,r),r}function Aa(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const a=[...n==="clippingAncestors"?Ae(t)?[]:Oa(t,this._c):[].concat(n),r],s=a[0],f=a.reduce((c,d)=>{const p=nr(t,d,i);return c.top=At(p.top,c.top),c.right=jt(p.right,c.right),c.bottom=jt(p.bottom,c.bottom),c.left=At(p.left,c.left),c},nr(t,s,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function Ea(e){const{width:t,height:n}=Dr(e);return{width:t,height:n}}function Ra(e,t,n){const r=it(t),i=ot(t),o=n==="fixed",a=Rt(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const f=nt(0);if(r||!r&&!o)if((Ct(t)!=="body"||te(i))&&(s=Ee(t)),r){const m=Rt(t,!0,o,t);f.x=m.x+t.clientLeft,f.y=m.y+t.clientTop}else i&&(f.x=hn(i));const c=i&&!r&&!o?Nr(i,s):nt(0),d=a.left+s.scrollLeft-f.x-c.x,p=a.top+s.scrollTop-f.y-c.y;return{x:d,y:p,width:a.width,height:a.height}}function Ne(e){return Q(e).position==="static"}function rr(e,t){if(!it(e)||Q(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ot(e)===n&&(n=n.ownerDocument.body),n}function jr(e,t){const n=z(e);if(Ae(e))return n;if(!it(e)){let i=pt(e);for(;i&&!Lt(i);){if(J(i)&&!Ne(i))return i;i=pt(i)}return n}let r=rr(e,t);for(;r&&pa(r)&&Ne(r);)r=rr(r,t);return r&&Lt(r)&&Ne(r)&&!ln(r)?n:r||ha(e)||n}const Sa=function(e){return st(this,null,function*(){const t=this.getOffsetParent||jr,n=this.getDimensions,r=yield n(e.floating);return{reference:Ra(e.reference,yield t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}})};function Fa(e){return Q(e).direction==="rtl"}const Ma={convertOffsetParentRelativeRectToViewportRelativeRect:va,getDocumentElement:ot,getClippingRect:Aa,getOffsetParent:jr,getElementRects:Sa,getClientRects:ya,getDimensions:Ea,getScale:Mt,isElement:J,isRTL:Fa};function Pa(e,t){let n=null,r;const i=ot(e);function o(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function a(s,f){s===void 0&&(s=!1),f===void 0&&(f=1),o();const{left:c,top:d,width:p,height:m}=e.getBoundingClientRect();if(s||t(),!p||!m)return;const h=ue(d),v=ue(i.clientWidth-(c+p)),u=ue(i.clientHeight-(d+m)),y=ue(c),w={rootMargin:-h+"px "+-v+"px "+-u+"px "+-y+"px",threshold:At(0,jt(1,f))||1};let g=!0;function b(x){const O=x[0].intersectionRatio;if(O!==f){if(!g)return a();O?a(!1,O):r=setTimeout(()=>{a(!1,1e-7)},1e3)}g=!1}try{n=new IntersectionObserver(b,ut(I({},w),{root:i.ownerDocument}))}catch(x){n=new IntersectionObserver(b,w)}n.observe(e)}return a(!0),o}function La(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:f=!1}=r,c=pn(e),d=i||o?[...c?Yt(c):[],...Yt(t)]:[];d.forEach(l=>{i&&l.addEventListener("scroll",n,{passive:!0}),o&&l.addEventListener("resize",n)});const p=c&&s?Pa(c,n):null;let m=-1,h=null;a&&(h=new ResizeObserver(l=>{let[w]=l;w&&w.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var g;(g=h)==null||g.observe(t)})),n()}),c&&!f&&h.observe(c),h.observe(t));let v,u=f?Rt(e):null;f&&y();function y(){const l=Rt(e);u&&(l.x!==u.x||l.y!==u.y||l.width!==u.width||l.height!==u.height)&&n(),u=l,v=requestAnimationFrame(y)}return n(),()=>{var l;d.forEach(w=>{i&&w.removeEventListener("scroll",n),o&&w.removeEventListener("resize",n)}),p==null||p(),(l=h)==null||l.disconnect(),h=null,f&&cancelAnimationFrame(v)}}const Ca=un,Ba=la,Wa=da,Va=ca,_a=fa,Ia=(e,t,n)=>{const r=new Map,i=I({platform:Ma},n),o=ut(I({},i.platform),{_c:r});return sa(e,t,ut(I({},i),{platform:o}))};var Pt=null,ke=null,lt=null,ir="z-index-manage",yt=null,or="z-index-style",Hr="m",Lr="s",Gt={m:1e3,s:1e3};function gn(){return Pt||typeof document!="undefined"&&(Pt=document),Pt}function Cr(){return Pt&&!ke&&(ke=Pt.body||Pt.getElementsByTagName("body")[0]),ke}function Ta(){var e=0,t=gn();if(t){var n=Cr();if(n)for(var r=n.getElementsByTagName("*"),i=0;i<r.length;i++){var o=r[i];if(o&&o.style&&o.nodeType===1){var a=o.style.zIndex;a&&/^\d+$/.test(a)&&(e=Math.max(e,Number(a)))}}}return e}function Da(){if(!yt){var e=gn();e&&(yt=e.getElementById(or),yt||(yt=e.createElement("style"),yt.id=or,e.getElementsByTagName("head")[0].appendChild(yt)))}return yt}function Br(){var e=Da();if(e){var t="--dom-",n="-z-index";e.innerHTML=":root{"+t+"main"+n+":"+Re()+";"+t+"sub"+n+":"+yn()+"}"}}function Wr(){if(!lt){var e=gn();if(e&&(lt=e.getElementById(ir),!lt)){var t=Cr();t&&(lt=e.createElement("div"),lt.id=ir,lt.style.display="none",t.appendChild(lt),mn(Gt.m),vn(Gt.s))}}return lt}function Vr(e){return function(t){if(t){t=Number(t),Gt[e]=t;var n=Wr();n&&(n.dataset?n.dataset[e]=t+"":n.setAttribute("data-"+e,t+""))}return Br(),Gt[e]}}var mn=Vr(Hr);function _r(e,t){return function(r){var i,o=Wr();if(o){var a=o.dataset?o.dataset[e]:o.getAttribute("data-"+e);a&&(i=Number(a))}return i||(i=Gt[e]),r?Number(r)<i?t():r:i}}var Re=_r(Hr,Ir);function Ir(){return mn(Re()+1)}var vn=Vr(Lr),$r=_r(Lr,Ur);function yn(){return Re()+$r()}function Ur(){return vn($r()+1),yn()}var $a={setCurrent:mn,getCurrent:Re,getNext:Ir,setSubCurrent:vn,getSubCurrent:yn,getSubNext:Ur,getMax:Ta};Br();export{$a as D,sr as E,we as S,ka as T,Ha as Y,_a as a,La as b,Ia as c,Ca as d,Va as f,ja as m,Ba as o,Wa as s,Na as y};
|
|
@@ -31,4 +31,4 @@
|
|
|
31
31
|
* @vue/shared v3.4.21
|
|
32
32
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
33
33
|
* @license MIT
|
|
34
|
-
**/const xh=()=>{},yh=Object.prototype.hasOwnProperty,Sh=(e,t)=>yh.call(e,t),wh=Array.isArray,Ah=e=>Xl(e)==="[object Date]",qs=e=>typeof e=="function",Oh=e=>typeof e=="string",bh=e=>e!==null&&typeof e=="object",Rh=e=>(bh(e)||qs(e))&&qs(e.then)&&qs(e.catch),vh=Object.prototype.toString,Xl=e=>vh.call(e),Ph=e=>Xl(e)==="[object Object]",Yr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ch=/-(\w)/g,Nh=Yr(e=>e.replace(Ch,(t,n)=>n?n.toUpperCase():"")),Th=/\B([A-Z])/g,Mh=Yr(e=>e.replace(Th,"-$1").toLowerCase()),Ih=Yr(e=>e.charAt(0).toUpperCase()+e.slice(1));export{
|
|
34
|
+
**/const xh=()=>{},yh=Object.prototype.hasOwnProperty,Sh=(e,t)=>yh.call(e,t),wh=Array.isArray,Ah=e=>Xl(e)==="[object Date]",qs=e=>typeof e=="function",Oh=e=>typeof e=="string",bh=e=>e!==null&&typeof e=="object",Rh=e=>(bh(e)||qs(e))&&qs(e.then)&&qs(e.catch),vh=Object.prototype.toString,Xl=e=>vh.call(e),Ph=e=>Xl(e)==="[object Object]",Yr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ch=/-(\w)/g,Nh=Yr(e=>e.replace(Ch,(t,n)=>n?n.toUpperCase():"")),Th=/\B([A-Z])/g,Mh=Yr(e=>e.replace(Th,"-$1").toLowerCase()),Ih=Yr(e=>e.charAt(0).toUpperCase()+e.slice(1));export{Ue as $,qs as A,Bo as B,Nh as C,zf as D,En as E,Tn as F,gl as G,fu as H,es as I,Rr as J,Sf as K,Jf as L,Zu as M,xh as N,Br as O,go as P,he as Q,re as R,Fl as S,Ia as T,ws as U,uu as V,hh as W,Ss as X,as as Y,Po as Z,xs as _,kr as a,ft as a0,ie as a1,Af as a2,Io as a3,No as a4,Xf as a5,ph as a6,Qf as a7,Ah as a8,pf as a9,Wf as aA,Dc as aB,hu as aC,Iu as aD,Lc as aE,pl as aa,Xe as ab,Z as ac,Gr as ad,qr as ae,Tl as af,Yf as ag,Ih as ah,Fr as ai,Rh as aj,os as ak,eu as al,sh as am,so as an,ac as ao,Ph as ap,Zf as aq,nn as ar,ql as as,yr as at,Mh as au,no as av,Uf as aw,Eh as ax,ju as ay,pu as az,hc as b,Gu as c,Mr as d,tn as e,$t as f,ji as g,Ie as h,Sn as i,oo as j,Cl as k,ue as l,Uc as m,vs as n,vn as o,ln as p,Oh as q,xr as r,ro as s,jc as t,ps as u,wh as v,Pu as w,bh as x,Sh as y,oa as z};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{s as ut,u as Y,av as ft,p as $,k as I,n as ht,U as pt,a4 as dt,Z as mt,d as Ve,Y as gt,af as Ue,B as le,e as vt,f as yt}from"./vue-BCaExZnh.js";/*!
|
|
2
|
+
* vue-router v4.5.0
|
|
3
|
+
* (c) 2024 Eduardo San Martin Morote
|
|
4
|
+
* @license MIT
|
|
5
|
+
*/const V=typeof document!="undefined";function Ke(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function De(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Ke(e.default)}const P=Object.assign;function ue(e,t){const n={};for(const r in t){const o=t[r];n[r]=T(o)?o.map(e):e(o)}return n}const X=()=>{},T=Array.isArray,We=/#/g,Rt=/&/g,Et=/\//g,wt=/=/g,Pt=/\?/g,Qe=/\+/g,St=/%5B/g,Ct=/%5D/g,Fe=/%5E/g,kt=/%60/g,Ye=/%7B/g,bt=/%7C/g,Xe=/%7D/g,At=/%20/g;function ve(e){return encodeURI(""+e).replace(bt,"|").replace(St,"[").replace(Ct,"]")}function Ot(e){return ve(e).replace(Ye,"{").replace(Xe,"}").replace(Fe,"^")}function de(e){return ve(e).replace(Qe,"%2B").replace(At,"+").replace(We,"%23").replace(Rt,"%26").replace(kt,"`").replace(Ye,"{").replace(Xe,"}").replace(Fe,"^")}function _t(e){return de(e).replace(wt,"%3D")}function xt(e){return ve(e).replace(We,"%23").replace(Pt,"%3F")}function Mt(e){return e==null?"":xt(e).replace(Et,"%2F")}function Z(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Lt=/\/$/,Tt=e=>e.replace(Lt,"");function fe(e,t,n="/"){let r,o={},a="",p="";const d=t.indexOf("#");let i=t.indexOf("?");return d<i&&d>=0&&(i=-1),i>-1&&(r=t.slice(0,i),a=t.slice(i+1,d>-1?d:t.length),o=e(a)),d>-1&&(r=r||t.slice(0,d),p=t.slice(d,t.length)),r=jt(r!=null?r:t,n),{fullPath:r+(a&&"?")+a+p,path:r,query:o,hash:Z(p)}}function It(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function be(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Nt(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&U(t.matched[r],n.matched[o])&&Ze(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function U(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ze(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!$t(e[n],t[n]))return!1;return!0}function $t(e,t){return T(e)?Ae(e,t):T(t)?Ae(t,e):e===t}function Ae(e,t){return T(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function jt(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let a=n.length-1,p,d;for(p=0;p<r.length;p++)if(d=r[p],d!==".")if(d==="..")a>1&&a--;else break;return n.slice(0,a).join("/")+"/"+r.slice(p).join("/")}const H={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var K;(function(e){e.pop="pop",e.push="push"})(K||(K={}));var q;(function(e){e.back="back",e.forward="forward",e.unknown=""})(q||(q={}));const he="";function Je(e){if(!e)if(V){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Tt(e)}const Ht=/^[^#]+#/;function et(e,t){return e.replace(Ht,"#")+t}function Bt(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const te=()=>({left:window.scrollX,top:window.scrollY});function Gt(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Bt(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Oe(e,t){return(history.state?history.state.position-t:-1)+e}const me=new Map;function qt(e,t){me.set(e,t)}function zt(e){const t=me.get(e);return me.delete(e),t}let Vt=()=>location.protocol+"//"+location.host;function tt(e,t){const{pathname:n,search:r,hash:o}=t,a=e.indexOf("#");if(a>-1){let d=o.includes(e.slice(a))?e.slice(a).length:1,i=o.slice(d);return i[0]!=="/"&&(i="/"+i),be(i,"")}return be(n,e)+r+o}function Ut(e,t,n,r){let o=[],a=[],p=null;const d=({state:u})=>{const f=tt(e,location),w=n.value,S=t.value;let b=0;if(u){if(n.value=f,t.value=u,p&&p===w){p=null;return}b=S?u.position-S.position:0}else r(f);o.forEach(A=>{A(n.value,w,{delta:b,type:K.pop,direction:b?b>0?q.forward:q.back:q.unknown})})};function i(){p=n.value}function l(u){o.push(u);const f=()=>{const w=o.indexOf(u);w>-1&&o.splice(w,1)};return a.push(f),f}function h(){const{history:u}=window;u.state&&u.replaceState(P({},u.state,{scroll:te()}),"")}function c(){for(const u of a)u();a=[],window.removeEventListener("popstate",d),window.removeEventListener("beforeunload",h)}return window.addEventListener("popstate",d),window.addEventListener("beforeunload",h,{passive:!0}),{pauseListeners:i,listen:l,destroy:c}}function _e(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?te():null}}function Kt(e){const{history:t,location:n}=window,r={value:tt(e,n)},o={value:t.state};o.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(i,l,h){const c=e.indexOf("#"),u=c>-1?(n.host&&document.querySelector("base")?e:e.slice(c))+i:Vt()+e+i;try{t[h?"replaceState":"pushState"](l,"",u),o.value=l}catch(f){console.error(f),n[h?"replace":"assign"](u)}}function p(i,l){const h=P({},t.state,_e(o.value.back,i,o.value.forward,!0),l,{position:o.value.position});a(i,h,!0),r.value=i}function d(i,l){const h=P({},o.value,t.state,{forward:i,scroll:te()});a(h.current,h,!0);const c=P({},_e(r.value,i,null),{position:h.position+1},l);a(i,c,!1),r.value=i}return{location:r,state:o,push:d,replace:p}}function Dt(e){e=Je(e);const t=Kt(e),n=Ut(e,t.state,t.location,t.replace);function r(a,p=!0){p||n.pauseListeners(),history.go(a)}const o=P({location:"",base:e,go:r,createHref:et.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Rn(e=""){let t=[],n=[he],r=0;e=Je(e);function o(d){r++,r!==n.length&&n.splice(r),n.push(d)}function a(d,i,{direction:l,delta:h}){const c={direction:l,delta:h,type:K.pop};for(const u of t)u(d,i,c)}const p={location:he,state:{},base:e,createHref:et.bind(null,e),replace(d){n.splice(r--,1),o(d)},push(d,i){o(d)},listen(d){return t.push(d),()=>{const i=t.indexOf(d);i>-1&&t.splice(i,1)}},destroy(){t=[],n=[he],r=0},go(d,i=!0){const l=this.location,h=d<0?q.back:q.forward;r=Math.max(0,Math.min(r+d,n.length-1)),i&&a(this.location,l,{direction:h,delta:d})}};return Object.defineProperty(p,"location",{enumerable:!0,get:()=>n[r]}),p}function En(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Dt(e)}function Wt(e){return typeof e=="string"||e&&typeof e=="object"}function nt(e){return typeof e=="string"||typeof e=="symbol"}const rt=Symbol("");var xe;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(xe||(xe={}));function D(e,t){return P(new Error,{type:e,[rt]:!0},t)}function N(e,t){return e instanceof Error&&rt in e&&(t==null||!!(e.type&t))}const Me="[^/]+?",Qt={sensitive:!1,strict:!1,start:!0,end:!0},Ft=/[.+*?^${}()[\]/\\]/g;function Yt(e,t){const n=P({},Qt,t),r=[];let o=n.start?"^":"";const a=[];for(const l of e){const h=l.length?[]:[90];n.strict&&!l.length&&(o+="/");for(let c=0;c<l.length;c++){const u=l[c];let f=40+(n.sensitive?.25:0);if(u.type===0)c||(o+="/"),o+=u.value.replace(Ft,"\\$&"),f+=40;else if(u.type===1){const{value:w,repeatable:S,optional:b,regexp:A}=u;a.push({name:w,repeatable:S,optional:b});const E=A||Me;if(E!==Me){f+=10;try{new RegExp(`(${E})`)}catch(L){throw new Error(`Invalid custom RegExp for param "${w}" (${E}): `+L.message)}}let C=S?`((?:${E})(?:/(?:${E}))*)`:`(${E})`;c||(C=b&&l.length<2?`(?:/${C})`:"/"+C),b&&(C+="?"),o+=C,f+=20,b&&(f+=-8),S&&(f+=-20),E===".*"&&(f+=-50)}h.push(f)}r.push(h)}if(n.strict&&n.end){const l=r.length-1;r[l][r[l].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const p=new RegExp(o,n.sensitive?"":"i");function d(l){const h=l.match(p),c={};if(!h)return null;for(let u=1;u<h.length;u++){const f=h[u]||"",w=a[u-1];c[w.name]=f&&w.repeatable?f.split("/"):f}return c}function i(l){let h="",c=!1;for(const u of e){(!c||!h.endsWith("/"))&&(h+="/"),c=!1;for(const f of u)if(f.type===0)h+=f.value;else if(f.type===1){const{value:w,repeatable:S,optional:b}=f,A=w in l?l[w]:"";if(T(A)&&!S)throw new Error(`Provided param "${w}" is an array but it is not repeatable (* or + modifiers)`);const E=T(A)?A.join("/"):A;if(!E)if(b)u.length<2&&(h.endsWith("/")?h=h.slice(0,-1):c=!0);else throw new Error(`Missing required param "${w}"`);h+=E}}return h||"/"}return{re:p,score:r,keys:a,parse:d,stringify:i}}function Xt(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function ot(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const a=Xt(r[n],o[n]);if(a)return a;n++}if(Math.abs(o.length-r.length)===1){if(Le(r))return 1;if(Le(o))return-1}return o.length-r.length}function Le(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Zt={type:0,value:""},Jt=/[a-zA-Z0-9_]/;function en(e){if(!e)return[[]];if(e==="/")return[[Zt]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(f){throw new Error(`ERR (${n})/"${l}": ${f}`)}let n=0,r=n;const o=[];let a;function p(){a&&o.push(a),a=[]}let d=0,i,l="",h="";function c(){l&&(n===0?a.push({type:0,value:l}):n===1||n===2||n===3?(a.length>1&&(i==="*"||i==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:l,regexp:h,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):t("Invalid state to consume buffer"),l="")}function u(){l+=i}for(;d<e.length;){if(i=e[d++],i==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:i==="/"?(l&&c(),p()):i===":"?(c(),n=1):u();break;case 4:u(),n=r;break;case 1:i==="("?n=2:Jt.test(i)?u():(c(),n=0,i!=="*"&&i!=="?"&&i!=="+"&&d--);break;case 2:i===")"?h[h.length-1]=="\\"?h=h.slice(0,-1)+i:n=3:h+=i;break;case 3:c(),n=0,i!=="*"&&i!=="?"&&i!=="+"&&d--,h="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),c(),p(),o}function tn(e,t,n){const r=Yt(en(e.path),n),o=P(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function nn(e,t){const n=[],r=new Map;t=$e({strict:!1,end:!0,sensitive:!1},t);function o(c){return r.get(c)}function a(c,u,f){const w=!f,S=Ie(c);S.aliasOf=f&&f.record;const b=$e(t,c),A=[S];if("alias"in c){const L=typeof c.alias=="string"?[c.alias]:c.alias;for(const G of L)A.push(Ie(P({},S,{components:f?f.record.components:S.components,path:G,aliasOf:f?f.record:S})))}let E,C;for(const L of A){const{path:G}=L;if(u&&G[0]!=="/"){const j=u.record.path,M=j[j.length-1]==="/"?"":"/";L.path=u.record.path+(G&&M+G)}if(E=tn(L,u,b),f?f.alias.push(E):(C=C||E,C!==E&&C.alias.push(E),w&&c.name&&!Ne(E)&&p(c.name)),st(E)&&i(E),S.children){const j=S.children;for(let M=0;M<j.length;M++)a(j[M],E,f&&f.children[M])}f=f||E}return C?()=>{p(C)}:X}function p(c){if(nt(c)){const u=r.get(c);u&&(r.delete(c),n.splice(n.indexOf(u),1),u.children.forEach(p),u.alias.forEach(p))}else{const u=n.indexOf(c);u>-1&&(n.splice(u,1),c.record.name&&r.delete(c.record.name),c.children.forEach(p),c.alias.forEach(p))}}function d(){return n}function i(c){const u=sn(c,n);n.splice(u,0,c),c.record.name&&!Ne(c)&&r.set(c.record.name,c)}function l(c,u){let f,w={},S,b;if("name"in c&&c.name){if(f=r.get(c.name),!f)throw D(1,{location:c});b=f.record.name,w=P(Te(u.params,f.keys.filter(C=>!C.optional).concat(f.parent?f.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),c.params&&Te(c.params,f.keys.map(C=>C.name))),S=f.stringify(w)}else if(c.path!=null)S=c.path,f=n.find(C=>C.re.test(S)),f&&(w=f.parse(S),b=f.record.name);else{if(f=u.name?r.get(u.name):n.find(C=>C.re.test(u.path)),!f)throw D(1,{location:c,currentLocation:u});b=f.record.name,w=P({},u.params,c.params),S=f.stringify(w)}const A=[];let E=f;for(;E;)A.unshift(E.record),E=E.parent;return{name:b,path:S,params:w,matched:A,meta:on(A)}}e.forEach(c=>a(c));function h(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:p,clearRoutes:h,getRoutes:d,getRecordMatcher:o}}function Te(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ie(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:rn(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function rn(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Ne(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function on(e){return e.reduce((t,n)=>P(t,n.meta),{})}function $e(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function sn(e,t){let n=0,r=t.length;for(;n!==r;){const a=n+r>>1;ot(e,t[a])<0?r=a:n=a+1}const o=cn(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function cn(e){let t=e;for(;t=t.parent;)if(st(t)&&ot(e,t)===0)return t}function st({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function an(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const a=r[o].replace(Qe," "),p=a.indexOf("="),d=Z(p<0?a:a.slice(0,p)),i=p<0?null:Z(a.slice(p+1));if(d in t){let l=t[d];T(l)||(l=t[d]=[l]),l.push(i)}else t[d]=i}return t}function je(e){let t="";for(let n in e){const r=e[n];if(n=_t(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(T(r)?r.map(a=>a&&de(a)):[r&&de(r)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+n,a!=null&&(t+="="+a))})}return t}function ln(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=T(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const ye=Symbol(""),He=Symbol(""),ne=Symbol(""),Re=Symbol(""),ge=Symbol("");function F(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function it(e,t,n){const r=()=>{e[t].delete(n)};pt(r),dt(r),mt(()=>{e[t].add(n)}),e[t].add(n)}function wn(e){const t=$(ye,{}).value;t&&it(t,"leaveGuards",e)}function Pn(e){const t=$(ye,{}).value;t&&it(t,"updateGuards",e)}function B(e,t,n,r,o,a=p=>p()){const p=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((d,i)=>{const l=u=>{u===!1?i(D(4,{from:n,to:t})):u instanceof Error?i(u):Wt(u)?i(D(2,{from:t,to:u})):(p&&r.enterCallbacks[o]===p&&typeof u=="function"&&p.push(u),d())},h=a(()=>e.call(r&&r.instances[o],t,n,l));let c=Promise.resolve(h);e.length<3&&(c=c.then(l)),c.catch(u=>i(u))})}function pe(e,t,n,r,o=a=>a()){const a=[];for(const p of e)for(const d in p.components){let i=p.components[d];if(!(t!=="beforeRouteEnter"&&!p.instances[d]))if(Ke(i)){const h=(i.__vccOpts||i)[t];h&&a.push(B(h,n,r,p,d,o))}else{let l=i();a.push(()=>l.then(h=>{if(!h)throw new Error(`Couldn't resolve component "${d}" at "${p.path}"`);const c=De(h)?h.default:h;p.mods[d]=h,p.components[d]=c;const f=(c.__vccOpts||c)[t];return f&&B(f,n,r,p,d,o)()}))}}return a}function Sn(e){return e.matched.every(t=>t.redirect)?Promise.reject(new Error("Cannot load a route that redirects.")):Promise.all(e.matched.map(t=>t.components&&Promise.all(Object.keys(t.components).reduce((n,r)=>{const o=t.components[r];return typeof o=="function"&&!("displayName"in o)&&n.push(o().then(a=>{if(!a)return Promise.reject(new Error(`Couldn't resolve component "${r}" at "${t.path}". Ensure you passed a function that returns a promise.`));const p=De(a)?a.default:a;t.mods[r]=a,t.components[r]=p})),n},[])))).then(()=>e)}function Be(e){const t=$(ne),n=$(Re),r=I(()=>{const i=Y(e.to);return t.resolve(i)}),o=I(()=>{const{matched:i}=r.value,{length:l}=i,h=i[l-1],c=n.matched;if(!h||!c.length)return-1;const u=c.findIndex(U.bind(null,h));if(u>-1)return u;const f=Ge(i[l-2]);return l>1&&Ge(h)===f&&c[c.length-1].path!==f?c.findIndex(U.bind(null,i[l-2])):u}),a=I(()=>o.value>-1&&dn(n.params,r.value.params)),p=I(()=>o.value>-1&&o.value===n.matched.length-1&&Ze(n.params,r.value.params));function d(i={}){if(pn(i)){const l=t[Y(e.replace)?"replace":"push"](Y(e.to)).catch(X);return e.viewTransition&&typeof document!="undefined"&&"startViewTransition"in document&&document.startViewTransition(()=>l),l}return Promise.resolve()}return{route:r,href:I(()=>r.value.href),isActive:a,isExactActive:p,navigate:d}}function un(e){return e.length===1?e[0]:e}const fn=Ve({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Be,setup(e,{slots:t}){const n=gt(Be(e)),{options:r}=$(ne),o=I(()=>({[qe(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[qe(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&un(t.default(n));return e.custom?a:Ue("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},a)}}}),hn=fn;function pn(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function dn(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!T(o)||o.length!==r.length||r.some((a,p)=>a!==o[p]))return!1}return!0}function Ge(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const qe=(e,t,n)=>e!=null?e:t!=null?t:n,mn=Ve({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=$(ge),o=I(()=>e.route||r.value),a=$(He,0),p=I(()=>{let l=Y(a);const{matched:h}=o.value;let c;for(;(c=h[l])&&!c.components;)l++;return l}),d=I(()=>o.value.matched[p.value]);le(He,I(()=>p.value+1)),le(ye,d),le(ge,o);const i=vt();return yt(()=>[i.value,d.value,e.name],([l,h,c],[u,f,w])=>{h&&(h.instances[c]=l,f&&f!==h&&l&&l===u&&(h.leaveGuards.size||(h.leaveGuards=f.leaveGuards),h.updateGuards.size||(h.updateGuards=f.updateGuards))),l&&h&&(!f||!U(h,f)||!u)&&(h.enterCallbacks[c]||[]).forEach(S=>S(l))},{flush:"post"}),()=>{const l=o.value,h=e.name,c=d.value,u=c&&c.components[h];if(!u)return ze(n.default,{Component:u,route:l});const f=c.props[h],w=f?f===!0?l.params:typeof f=="function"?f(l):f:null,b=Ue(u,P({},w,t,{onVnodeUnmounted:A=>{A.component.isUnmounted&&(c.instances[h]=null)},ref:i}));return ze(n.default,{Component:b,route:l})||b}}});function ze(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const gn=mn;function Cn(e){const t=nn(e.routes,e),n=e.parseQuery||an,r=e.stringifyQuery||je,o=e.history,a=F(),p=F(),d=F(),i=ut(H);let l=H;V&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const h=ue.bind(null,s=>""+s),c=ue.bind(null,Mt),u=ue.bind(null,Z);function f(s,g){let m,v;return nt(s)?(m=t.getRecordMatcher(s),v=g):v=s,t.addRoute(v,m)}function w(s){const g=t.getRecordMatcher(s);g&&t.removeRoute(g)}function S(){return t.getRoutes().map(s=>s.record)}function b(s){return!!t.getRecordMatcher(s)}function A(s,g){if(g=P({},g||i.value),typeof s=="string"){const y=fe(n,s,g.path),_=t.resolve({path:y.path},g),Q=o.createHref(y.fullPath);return P(y,_,{params:u(_.params),hash:Z(y.hash),redirectedFrom:void 0,href:Q})}let m;if(s.path!=null)m=P({},s,{path:fe(n,s.path,g.path).path});else{const y=P({},s.params);for(const _ in y)y[_]==null&&delete y[_];m=P({},s,{params:c(y)}),g.params=c(g.params)}const v=t.resolve(m,g),k=s.hash||"";v.params=h(u(v.params));const O=It(r,P({},s,{hash:Ot(k),path:v.path})),R=o.createHref(O);return P({fullPath:O,hash:k,query:r===je?ln(s.query):s.query||{}},v,{redirectedFrom:void 0,href:R})}function E(s){return typeof s=="string"?fe(n,s,i.value.path):P({},s)}function C(s,g){if(l!==s)return D(8,{from:g,to:s})}function L(s){return M(s)}function G(s){return L(P(E(s),{replace:!0}))}function j(s){const g=s.matched[s.matched.length-1];if(g&&g.redirect){const{redirect:m}=g;let v=typeof m=="function"?m(s):m;return typeof v=="string"&&(v=v.includes("?")||v.includes("#")?v=E(v):{path:v},v.params={}),P({query:s.query,hash:s.hash,params:v.path!=null?{}:s.params},v)}}function M(s,g){const m=l=A(s),v=i.value,k=s.state,O=s.force,R=s.replace===!0,y=j(m);if(y)return M(P(E(y),{state:typeof y=="object"?P({},k,y.state):k,force:O,replace:R}),g||m);const _=m;_.redirectedFrom=g;let Q;return!O&&Nt(r,v,m)&&(Q=D(16,{to:_,from:v}),Ce(v,v,!0,!1)),(Q?Promise.resolve(Q):Ee(_,v)).catch(x=>N(x)?N(x,2)?x:ie(x):se(x,_,v)).then(x=>{if(x){if(N(x,2))return M(P({replace:R},E(x.to),{state:typeof x.to=="object"?P({},k,x.to.state):k,force:O}),g||_)}else x=Pe(_,v,!0,R,k);return we(_,v,x),x})}function ct(s,g){const m=C(s,g);return m?Promise.reject(m):Promise.resolve()}function re(s){const g=ee.values().next().value;return g&&typeof g.runWithContext=="function"?g.runWithContext(s):s()}function Ee(s,g){let m;const[v,k,O]=vn(s,g);m=pe(v.reverse(),"beforeRouteLeave",s,g);for(const y of v)y.leaveGuards.forEach(_=>{m.push(B(_,s,g))});const R=ct.bind(null,s,g);return m.push(R),z(m).then(()=>{m=[];for(const y of a.list())m.push(B(y,s,g));return m.push(R),z(m)}).then(()=>{m=pe(k,"beforeRouteUpdate",s,g);for(const y of k)y.updateGuards.forEach(_=>{m.push(B(_,s,g))});return m.push(R),z(m)}).then(()=>{m=[];for(const y of O)if(y.beforeEnter)if(T(y.beforeEnter))for(const _ of y.beforeEnter)m.push(B(_,s,g));else m.push(B(y.beforeEnter,s,g));return m.push(R),z(m)}).then(()=>(s.matched.forEach(y=>y.enterCallbacks={}),m=pe(O,"beforeRouteEnter",s,g,re),m.push(R),z(m))).then(()=>{m=[];for(const y of p.list())m.push(B(y,s,g));return m.push(R),z(m)}).catch(y=>N(y,8)?y:Promise.reject(y))}function we(s,g,m){d.list().forEach(v=>re(()=>v(s,g,m)))}function Pe(s,g,m,v,k){const O=C(s,g);if(O)return O;const R=g===H,y=V?history.state:{};m&&(v||R?o.replace(s.fullPath,P({scroll:R&&y&&y.scroll},k)):o.push(s.fullPath,k)),i.value=s,Ce(s,g,m,R),ie()}let W;function at(){W||(W=o.listen((s,g,m)=>{if(!ke.listening)return;const v=A(s),k=j(v);if(k){M(P(k,{replace:!0,force:!0}),v).catch(X);return}l=v;const O=i.value;V&&qt(Oe(O.fullPath,m.delta),te()),Ee(v,O).catch(R=>N(R,12)?R:N(R,2)?(M(P(E(R.to),{force:!0}),v).then(y=>{N(y,20)&&!m.delta&&m.type===K.pop&&o.go(-1,!1)}).catch(X),Promise.reject()):(m.delta&&o.go(-m.delta,!1),se(R,v,O))).then(R=>{R=R||Pe(v,O,!1),R&&(m.delta&&!N(R,8)?o.go(-m.delta,!1):m.type===K.pop&&N(R,20)&&o.go(-1,!1)),we(v,O,R)}).catch(X)}))}let oe=F(),Se=F(),J;function se(s,g,m){ie(s);const v=Se.list();return v.length?v.forEach(k=>k(s,g,m)):console.error(s),Promise.reject(s)}function lt(){return J&&i.value!==H?Promise.resolve():new Promise((s,g)=>{oe.add([s,g])})}function ie(s){return J||(J=!s,at(),oe.list().forEach(([g,m])=>s?m(s):g()),oe.reset()),s}function Ce(s,g,m,v){const{scrollBehavior:k}=e;if(!V||!k)return Promise.resolve();const O=!m&&zt(Oe(s.fullPath,0))||(v||!m)&&history.state&&history.state.scroll||null;return ht().then(()=>k(s,g,O)).then(R=>R&&Gt(R)).catch(R=>se(R,s,g))}const ce=s=>o.go(s);let ae;const ee=new Set,ke={currentRoute:i,listening:!0,addRoute:f,removeRoute:w,clearRoutes:t.clearRoutes,hasRoute:b,getRoutes:S,resolve:A,options:e,push:L,replace:G,go:ce,back:()=>ce(-1),forward:()=>ce(1),beforeEach:a.add,beforeResolve:p.add,afterEach:d.add,onError:Se.add,isReady:lt,install(s){const g=this;s.component("RouterLink",hn),s.component("RouterView",gn),s.config.globalProperties.$router=g,Object.defineProperty(s.config.globalProperties,"$route",{enumerable:!0,get:()=>Y(i)}),V&&!ae&&i.value===H&&(ae=!0,L(o.location).catch(k=>{}));const m={};for(const k in H)Object.defineProperty(m,k,{get:()=>i.value[k],enumerable:!0});s.provide(ne,g),s.provide(Re,ft(m)),s.provide(ge,i);const v=s.unmount;ee.add(s),s.unmount=function(){ee.delete(s),ee.size<1&&(l=H,W&&W(),W=null,i.value=H,ae=!1,J=!1),v()}}};function z(s){return s.reduce((g,m)=>g.then(()=>re(m)),Promise.resolve())}return ke}function vn(e,t){const n=[],r=[],o=[],a=Math.max(t.matched.length,e.matched.length);for(let p=0;p<a;p++){const d=t.matched[p];d&&(e.matched.find(l=>U(l,d))?r.push(d):n.push(d));const i=e.matched[p];i&&(t.matched.find(l=>U(l,i))||o.push(i))}return[n,r,o]}function kn(){return $(ne)}function bn(e){return $(Re)}export{xe as NavigationFailureType,hn as RouterLink,gn as RouterView,H as START_LOCATION,Rn as createMemoryHistory,Cn as createRouter,nn as createRouterMatcher,En as createWebHashHistory,Dt as createWebHistory,N as isNavigationFailure,Sn as loadRouteLocation,ye as matchedRouteKey,wn as onBeforeRouteLeave,Pn as onBeforeRouteUpdate,an as parseQuery,Re as routeLocationKey,ne as routerKey,ge as routerViewLocationKey,je as stringifyQuery,Be as useLink,bn as useRoute,kn as useRouter,He as viewDepthKey};
|