@vtj/pro 0.13.34 → 0.13.35

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.
Files changed (71) hide show
  1. package/dist/@vtj/materials/assets/antdv/index.umd.js +2 -2
  2. package/dist/@vtj/materials/assets/charts/index.umd.js +2 -2
  3. package/dist/@vtj/materials/assets/element/index.umd.js +2 -2
  4. package/dist/@vtj/materials/assets/icons/index.umd.js +2 -2
  5. package/dist/@vtj/materials/assets/ui/index.umd.js +2 -2
  6. package/dist/@vtj/materials/assets/uni-h5/index.umd.js +2 -2
  7. package/dist/@vtj/materials/assets/uni-ui/index.umd.js +2 -2
  8. package/dist/@vtj/materials/assets/vant/index.umd.js +2 -2
  9. package/dist/@vtj/materials/deps/@vtj/charts/index.umd.js +2 -2
  10. package/dist/@vtj/materials/deps/@vtj/icons/index.umd.js +2 -2
  11. package/dist/@vtj/materials/deps/@vtj/ui/index.umd.js +2 -2
  12. package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +16 -16
  13. package/dist/@vtj/materials/deps/@vueuse/core/index.iife.min.js +1 -1
  14. package/dist/@vtj/materials/deps/element-plus/index.css +1 -1
  15. package/dist/@vtj/materials/deps/element-plus/index.full.min.js +17 -24
  16. package/dist/@vtj/materials/deps/element-plus/zh-cn.js +1 -1
  17. package/dist/@vtj/materials/deps/vue/vue.global.js +2470 -2428
  18. package/dist/@vtj/materials/deps/vue/vue.global.prod.js +9 -9
  19. package/dist/@vtj/materials/deps/vue-i18n/vue-i18n.global.js +73 -50
  20. package/dist/@vtj/materials/deps/vue-i18n/vue-i18n.global.prod.js +2 -2
  21. package/dist/@vtj/materials/deps/vue-router/vue-router.global.js +3005 -3926
  22. package/dist/@vtj/materials/deps/vue-router/vue-router.global.prod.js +5 -5
  23. package/dist/__devtools__/assets/{IconTitle.vue_vue_type_script_setup_true_lang-Enp_Ksfn.js → IconTitle.vue_vue_type_script_setup_true_lang-CZMqpyXE.js} +1 -1
  24. package/dist/__devtools__/assets/{SectionBlock-BTPkVZM2.js → SectionBlock-BSuGDm7s.js} +1 -1
  25. package/dist/__devtools__/assets/{assets-D3XLNB-6.js → assets-BoMHV8O-.js} +1 -1
  26. package/dist/__devtools__/assets/{components-Dza6_XRl.js → components-7VuIBWJA.js} +1 -1
  27. package/dist/__devtools__/assets/{custom-inspector-tab-view-_L81oF56.js → custom-inspector-tab-view-B5LB_kcZ.js} +1 -1
  28. package/dist/__devtools__/assets/{custom-tab-view-CmLn18C4.js → custom-tab-view-BZBfeauf.js} +1 -1
  29. package/dist/__devtools__/assets/{graph-fTuEulvH.js → graph-CyWkycf4.js} +2 -2
  30. package/dist/__devtools__/assets/index-C5qqC9jB.css +1 -0
  31. package/dist/__devtools__/assets/{index-DH8HZ7DP.js → index-C8hFs1GM.js} +3 -3
  32. package/dist/__devtools__/assets/{overview-DFLns6CN.js → overview-UGcO1fsl.js} +1 -1
  33. package/dist/__devtools__/assets/{pages-yIVwEfZL.js → pages-CDARBtn3.js} +1 -1
  34. package/dist/__devtools__/assets/{pinia-Cq2YPuZV.js → pinia-0IbFM1TZ.js} +1 -1
  35. package/dist/__devtools__/assets/{router-Drkf543k.js → router-BkwlZeKx.js} +1 -1
  36. package/dist/__devtools__/assets/{settings-DyJW_A0F.js → settings-CljpRPty.js} +1 -1
  37. package/dist/__devtools__/assets/{timeline-R3j-Lp7H.js → timeline-l7ZovCcC.js} +1 -1
  38. package/dist/__devtools__/index.html +2 -2
  39. package/dist/assets/{@element-plus-icons-vue-CKd904ON.js → @element-plus-icons-vue-BKci8WR4.js} +1 -1
  40. package/dist/assets/@vueuse-CFu7Lllw.js +1 -0
  41. package/dist/assets/{Editor-DoqFIqOf-DiNYaRxo.js → Editor-s4O3HVWM-DYKyA19e.js} +123 -123
  42. package/dist/assets/{auth-BV8TXi4D.js → auth-BXO_wENu.js} +1 -1
  43. package/dist/assets/element-plus-CXrize55.css +1 -0
  44. package/dist/assets/element-plus-D5HcOZ0Y.js +12 -0
  45. package/dist/assets/{index-B8SwXmce.js → index-BdGdRoBR.js} +2 -2
  46. package/dist/assets/index-D4kOm-tE.js +1 -0
  47. package/dist/assets/{mockjs-D0SPmEx8.js → mockjs-D1skojwT.js} +1 -1
  48. package/dist/assets/{page-oejxnkbe.js → page-BO8FzBlK.js} +2 -2
  49. package/dist/assets/{preview-DoFDYFiX.js → preview-C0XjFOP5.js} +2 -2
  50. package/dist/assets/{uni-page-CN_KQGX3.js → uni-page-BA3KNMq4.js} +1 -1
  51. package/dist/assets/utils-Cg-oX5qd.js +1 -0
  52. package/dist/assets/vue-CAMRmZ-8.js +35 -0
  53. package/dist/assets/vue-router-CwSAuTE4.js +9 -0
  54. package/dist/assets/{vxe-yh3jV1_V.js → vxe-Cx_7PEYn.js} +1 -1
  55. package/dist/index.html +9 -9
  56. package/dist/uni/assets/{@dcloudio-uni-h5-vue-BtM9Eyib.js → @dcloudio-uni-h5-vue-8GkSpuEV.js} +1 -1
  57. package/dist/uni/assets/index-CRYWUl-q.js +74 -0
  58. package/dist/uni/assets/vue-router-eQVOEjEf.js +9 -0
  59. package/dist/uni/index.html +3 -3
  60. package/package.json +13 -13
  61. package/dist/__devtools__/assets/index-DVOrYgP_.css +0 -1
  62. package/dist/assets/@vueuse-DtTb23_4.js +0 -1
  63. package/dist/assets/element-plus-CDp6lqni.js +0 -19
  64. package/dist/assets/element-plus-CIHaA-Vw.css +0 -1
  65. package/dist/assets/index-DD1XM0NE.js +0 -1
  66. package/dist/assets/utils-itkxsukj.js +0 -1
  67. package/dist/assets/vue-Bzk1dLH9.js +0 -35
  68. package/dist/assets/vue-router-Bj6KLPos.js +0 -5
  69. package/dist/uni/assets/index-Ct-q2iWi.js +0 -74
  70. package/dist/uni/assets/vue-router-CbZ0Q__O.js +0 -5
  71. /package/dist/assets/{Editor-DoqFIqOf-CIjQSqmy.css → Editor-s4O3HVWM-CIjQSqmy.css} +0 -0
@@ -0,0 +1 @@
1
+ var He=Object.defineProperty,je=Object.defineProperties;var Xe=Object.getOwnPropertyDescriptors;var q=Object.getOwnPropertySymbols;var ye=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable;var ge=(e,t,n)=>t in e?He(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,B=(e,t)=>{for(var n in t||(t={}))ye.call(t,n)&&ge(e,n,t[n]);if(q)for(var n of q(t))we.call(t,n)&&ge(e,n,t[n]);return e},Q=(e,t)=>je(e,Xe(t));var J=(e,t)=>{var n={};for(var o in e)ye.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&q)for(var o of q(e))t.indexOf(o)<0&&we.call(e,o)&&(n[o]=e[o]);return n};import{s as T,w as De,r as ne,b as W,e as $,f as I,g as ue,h as Fe,i as te,j as be,u as le,k as G,l as ae,n as ce,m as de,t as Ye,p as Qe,q as O,v as Re,x as Je}from"./vue-CAMRmZ-8.js";var Ue=Object.defineProperty,Ge=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Se=(e,t,n)=>t in e?Ue(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,et=(e,t)=>{for(var n in t||(t={}))qe.call(t,n)&&Se(e,n,t[n]);if(Oe)for(var n of Oe(t))Ze.call(t,n)&&Se(e,n,t[n]);return e},tt=(e,t)=>Ge(e,Ke(t));function tn(e,t){var n;const o=T();return De(()=>{o.value=e()},tt(et({},t),{flush:(n=void 0)!=null?n:"sync"})),ne(o)}var _e;const oe=typeof window!="undefined",nt=e=>typeof e!="undefined",se=e=>typeof e=="function",ot=e=>typeof e=="string",nn=(e,t,n)=>Math.min(n,Math.max(t,e)),j=()=>{},rt=oe&&((_e=window==null?void 0:window.navigator)==null?void 0:_e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function X(e){return typeof e=="function"?e():le(e)}function ke(e,t){function n(...o){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(r).catch(i)})}return n}function it(e,t={}){let n,o,r=j;const i=l=>{clearTimeout(l),r(),r=j};return l=>{const c=X(e),d=X(t.maxWait);return n&&i(n),c<=0||d!==void 0&&d<=0?(o&&(i(o),o=null),Promise.resolve(l())):new Promise((f,u)=>{r=t.rejectOnCancel?u:f,d&&!o&&(o=setTimeout(()=>{n&&i(n),o=null,f(l())},d)),n=setTimeout(()=>{o&&i(o),o=null,f(l())},c)})}}function st(e,t=!0,n=!0,o=!1){let r=0,i,s=!0,l=j,c;const d=()=>{i&&(clearTimeout(i),i=void 0,l(),l=j)};return u=>{const a=X(e),v=Date.now()-r,m=()=>c=u();return d(),a<=0?(r=Date.now(),m()):(v>a&&(n||!s)?(r=Date.now(),m()):t&&(c=new Promise((y,w)=>{l=o?w:y,i=setTimeout(()=>{r=Date.now(),s=!0,y(m()),d()},Math.max(0,a-v))})),!n&&!i&&(i=setTimeout(()=>s=!0,a)),s=!1,c)}}function ut(e){return e}function lt(e,t){let n,o,r;const i=W(!0),s=()=>{i.value=!0,r()};$(e,s,{flush:"sync"});const l=se(t)?t:t.get,c=se(t)?void 0:t.set,d=de((f,u)=>(o=f,r=u,{get(){return i.value&&(n=l(),i.value=!1),o(),n},set(a){c==null||c(a)}}));return Object.isExtensible(d)&&(d.trigger=s),d}function K(e){return ue()?(Fe(e),!0):!1}function at(e){if(!te(e))return be(e);const t=new Proxy({},{get(n,o,r){return le(Reflect.get(e.value,o,r))},set(n,o,r){return te(e.value[o])&&!te(r)?e.value[o].value=r:e.value[o]=r,!0},deleteProperty(n,o){return Reflect.deleteProperty(e.value,o)},has(n,o){return Reflect.has(e.value,o)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return be(t)}function on(e){return at(I(e))}function ct(e,t=200,n={}){return ke(it(t,n),e)}function rn(e,t=200,n={}){const o=W(e.value),r=ct(()=>{o.value=e.value},t,n);return $(e,()=>r()),o}function sn(e,t=200,n=!1,o=!0,r=!1){return ke(st(t,n,o,r),e)}function ze(e,t=!0){G()?ae(e):t?e():ce(e)}function un(e,t,n={}){const{immediate:o=!0}=n,r=W(!1);let i=null;function s(){i&&(clearTimeout(i),i=null)}function l(){r.value=!1,s()}function c(...d){s(),r.value=!0,i=setTimeout(()=>{r.value=!1,i=null,e(...d)},X(t))}return o&&(r.value=!0,oe&&c()),K(l),{isPending:ne(r),start:c,stop:l}}function R(e){var t;const n=X(e);return(t=n==null?void 0:n.$el)!=null?t:n}const H=oe?window:void 0,dt=oe?window.document:void 0;function V(...e){let t,n,o,r;if(ot(e[0])||Array.isArray(e[0])?([n,o,r]=e,t=H):[t,n,o,r]=e,!t)return j;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const i=[],s=()=>{i.forEach(f=>f()),i.length=0},l=(f,u,a,v)=>(f.addEventListener(u,a,v),()=>f.removeEventListener(u,a,v)),c=$(()=>[R(t),X(r)],([f,u])=>{s(),f&&i.push(...n.flatMap(a=>o.map(v=>l(f,a,v,u))))},{immediate:!0,flush:"post"}),d=()=>{c(),s()};return K(d),d}let Ee=!1;function ln(e,t,n={}){const{window:o=H,ignore:r=[],capture:i=!0,detectIframe:s=!1}=n;if(!o)return;rt&&!Ee&&(Ee=!0,Array.from(o.document.body.children).forEach(a=>a.addEventListener("click",j)));let l=!0;const c=a=>r.some(v=>{if(typeof v=="string")return Array.from(o.document.querySelectorAll(v)).some(m=>m===a.target||a.composedPath().includes(m));{const m=R(v);return m&&(a.target===m||a.composedPath().includes(m))}}),f=[V(o,"click",a=>{const v=R(e);if(!(!v||v===a.target||a.composedPath().includes(v))){if(a.detail===0&&(l=!c(a)),!l){l=!0;return}t(a)}},{passive:!0,capture:i}),V(o,"pointerdown",a=>{const v=R(e);v&&(l=!a.composedPath().includes(v)&&!c(a))},{passive:!0}),s&&V(o,"blur",a=>{var v;const m=R(e);((v=o.document.activeElement)==null?void 0:v.tagName)==="IFRAME"&&!(m!=null&&m.contains(o.document.activeElement))&&t(a)})].filter(Boolean);return()=>f.forEach(a=>a())}function an(e={}){var t;const{window:n=H}=e,o=(t=e.document)!=null?t:n==null?void 0:n.document,r=lt(()=>null,()=>o==null?void 0:o.activeElement);return n&&(V(n,"blur",i=>{i.relatedTarget===null&&r.trigger()},!0),V(n,"focus",r.trigger,!0)),r}function fe(e,t=!1){const n=W(),o=()=>n.value=!!e();return o(),ze(o,t),n}function ft(e){return JSON.parse(JSON.stringify(e))}const xe=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Pe="__vueuse_ssr_handlers__";xe[Pe]=xe[Pe]||{};function cn(e,t,{window:n=H,initialValue:o=""}={}){const r=W(o),i=I(()=>{var s;return R(t)||((s=n==null?void 0:n.document)==null?void 0:s.documentElement)});return $([i,()=>X(e)],([s,l])=>{var c;if(s&&n){const d=(c=n.getComputedStyle(s).getPropertyValue(l))==null?void 0:c.trim();r.value=d||o}},{immediate:!0}),$(r,s=>{var l;(l=i.value)!=null&&l.style&&i.value.style.setProperty(X(e),s)}),r}function dn({document:e=dt}={}){if(!e)return W("visible");const t=W(e.visibilityState);return V(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var $e=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,mt=(e,t)=>{var n={};for(var o in e)vt.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&$e)for(var o of $e(e))t.indexOf(o)<0&&pt.call(e,o)&&(n[o]=e[o]);return n};function ht(e,t,n={}){const o=n,{window:r=H}=o,i=mt(o,["window"]);let s;const l=fe(()=>r&&"ResizeObserver"in r),c=()=>{s&&(s.disconnect(),s=void 0)},d=$(()=>R(e),u=>{c(),l.value&&r&&u&&(s=new ResizeObserver(t),s.observe(u,i))},{immediate:!0,flush:"post"}),f=()=>{c(),d()};return K(f),{isSupported:l,stop:f}}function fn(e,t={width:0,height:0},n={}){const{window:o=H,box:r="content-box"}=n,i=I(()=>{var c,d;return(d=(c=R(e))==null?void 0:c.namespaceURI)==null?void 0:d.includes("svg")}),s=W(t.width),l=W(t.height);return ht(e,([c])=>{const d=r==="border-box"?c.borderBoxSize:r==="content-box"?c.contentBoxSize:c.devicePixelContentBoxSize;if(o&&i.value){const f=R(e);if(f){const u=o.getComputedStyle(f);s.value=parseFloat(u.width),l.value=parseFloat(u.height)}}else if(d){const f=Array.isArray(d)?d:[d];s.value=f.reduce((u,{inlineSize:a})=>u+a,0),l.value=f.reduce((u,{blockSize:a})=>u+a,0)}else s.value=c.contentRect.width,l.value=c.contentRect.height},n),$(()=>R(e),c=>{s.value=c?t.width:0,l.value=c?t.height:0}),{width:s,height:l}}function vn(e,t,n={}){const{root:o,rootMargin:r="0px",threshold:i=.1,window:s=H}=n,l=fe(()=>s&&"IntersectionObserver"in s);let c=j;const d=l.value?$(()=>({el:R(e),root:R(o)}),({el:u,root:a})=>{if(c(),!u)return;const v=new IntersectionObserver(t,{root:a,rootMargin:r,threshold:i});v.observe(u),c=()=>{v.disconnect(),c=j}},{immediate:!0,flush:"post"}):j,f=()=>{c(),d()};return K(f),{isSupported:l,stop:f}}var Ce=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,yt=Object.prototype.propertyIsEnumerable,wt=(e,t)=>{var n={};for(var o in e)gt.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&Ce)for(var o of Ce(e))t.indexOf(o)<0&&yt.call(e,o)&&(n[o]=e[o]);return n};function pn(e,t,n={}){const o=n,{window:r=H}=o,i=wt(o,["window"]);let s;const l=fe(()=>r&&"MutationObserver"in r),c=()=>{s&&(s.disconnect(),s=void 0)},d=$(()=>R(e),u=>{c(),l.value&&r&&u&&(s=new MutationObserver(t),s.observe(u,i))},{immediate:!0}),f=()=>{c(),d()};return K(f),{isSupported:l,stop:f}}var Me;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Me||(Me={}));var bt=Object.defineProperty,Te=Object.getOwnPropertySymbols,Ot=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,Ae=(e,t,n)=>t in e?bt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_t=(e,t)=>{for(var n in t||(t={}))Ot.call(t,n)&&Ae(e,n,t[n]);if(Te)for(var n of Te(t))St.call(t,n)&&Ae(e,n,t[n]);return e};const Et={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};_t({linear:ut},Et);function mn(e,t,n,o={}){var r,i,s;const{clone:l=!1,passive:c=!1,eventName:d,deep:f=!1,defaultValue:u}=o,a=G(),v=n||(a==null?void 0:a.emit)||((r=a==null?void 0:a.$emit)==null?void 0:r.bind(a))||((s=(i=a==null?void 0:a.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(a==null?void 0:a.proxy));let m=d;t||(t="modelValue"),m=d||m||`update:${t.toString()}`;const y=h=>l?se(l)?l(h):ft(h):h,w=()=>nt(e[t])?y(e[t]):u;if(c){const h=w(),_=W(h);return $(()=>e[t],S=>_.value=y(S)),$(_,S=>{(S!==e[t]||f)&&v(m,S)},{deep:f}),_}else return I({get(){return w()},set(h){v(m,h)}})}function hn({window:e=H}={}){if(!e)return W(!1);const t=W(e.document.hasFocus());return V(e,"blur",()=>{t.value=!1}),V(e,"focus",()=>{t.value=!0}),t}function gn(e={}){const{window:t=H,initialWidth:n=1/0,initialHeight:o=1/0,listenOrientation:r=!0,includeScrollbar:i=!0}=e,s=W(n),l=W(o),c=()=>{t&&(i?(s.value=t.innerWidth,l.value=t.innerHeight):(s.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};return c(),ze(c),V("resize",c,{passive:!0}),r&&V("orientationchange",c,{passive:!0}),{width:s,height:l}}function ve(e,t){return ue()?(Fe(e,t),!0):!1}const ie=new WeakMap,xt=(...e)=>{var t;const n=e[0],o=(t=G())===null||t===void 0?void 0:t.proxy,r=o!=null?o:ue();if(r==null&&!Re())throw new Error("injectLocal must be called in setup");return r&&ie.has(r)&&n in ie.get(r)?ie.get(r)[n]:Je(...e)},pe=typeof window!="undefined"&&typeof document!="undefined";typeof WorkerGlobalScope!="undefined"&&globalThis instanceof WorkerGlobalScope;const Pt=e=>e!=null,$t=Object.prototype.toString,Ct=e=>$t.call(e)==="[object Object]",Mt=()=>{};function me(...e){if(e.length!==1)return Ye(...e);const t=e[0];return typeof t=="function"?ne(de(()=>({get:t,set:Mt}))):W(t)}function Tt(e,t){function n(...o){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(r).catch(i)})}return n}const Ne=e=>e();function At(e=Ne,t={}){const{initialState:n="active"}=t,o=me(n==="active");function r(){o.value=!1}function i(){o.value=!0}const s=(...l)=>{o.value&&e(...l)};return{isActive:ne(o),pause:r,resume:i,eventFilter:s}}function Ie(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function U(e){return Array.isArray(e)?e:[e]}function It(e){return G()}function Wt(e,t,n={}){const i=n,{eventFilter:o=Ne}=i,r=J(i,["eventFilter"]);return $(e,Tt(o,t),r)}function Dt(e,t,n={}){const f=n,{eventFilter:o,initialState:r="active"}=f,i=J(f,["eventFilter","initialState"]),{eventFilter:s,pause:l,resume:c,isActive:d}=At(o,{initialState:r});return{stop:Wt(e,t,Q(B({},i),{eventFilter:s})),pause:l,resume:c,isActive:d}}const Ft=Dt;function Rt(e,t={}){if(!te(e))return Qe(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const o in e.value)n[o]=de(()=>({get(){return e.value[o]},set(r){var i;if(!((i=O(t.replaceRef))!==null&&i!==void 0)||i)if(Array.isArray(e.value)){const s=[...e.value];s[o]=r,e.value=s}else{const s=Q(B({},e.value),{[o]:r});Object.setPrototypeOf(s,Object.getPrototypeOf(e.value)),e.value=s}else e.value[o]=r}}));return n}function re(e,t=!0,n){It()?ae(e,n):t?e():ce(e)}function kt(e,t,n){return $(e,t,Q(B({},n),{immediate:!0}))}const k=pe?window:void 0,zt=pe?window.document:void 0;function L(e){var t;const n=O(e);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function z(...e){const t=(o,r,i,s)=>(o.addEventListener(r,i,s),()=>o.removeEventListener(r,i,s)),n=I(()=>{const o=U(O(e[0])).filter(r=>r!=null);return o.every(r=>typeof r!="string")?o:void 0});return kt(()=>{var o,r;return[(o=(r=n.value)===null||r===void 0?void 0:r.map(i=>L(i)))!==null&&o!==void 0?o:[k].filter(i=>i!=null),U(O(n.value?e[1]:e[0])),U(le(n.value?e[2]:e[1])),O(n.value?e[3]:e[2])]},([o,r,i,s],l,c)=>{if(!(o!=null&&o.length)||!(r!=null&&r.length)||!(i!=null&&i.length))return;const d=Ct(s)?B({},s):s,f=o.flatMap(u=>r.flatMap(a=>i.map(v=>t(u,a,v,d))));c(()=>{f.forEach(u=>u())})},{flush:"post"})}function Nt(){const e=T(!1),t=G();return t&&ae(()=>{e.value=!0},t),e}function he(e){const t=Nt();return I(()=>(t.value,!!e()))}function Be(e,t,n={}){const u=n,{window:o=k}=u,r=J(u,["window"]);let i;const s=he(()=>o&&"MutationObserver"in o),l=()=>{i&&(i.disconnect(),i=void 0)},c=$(I(()=>{const a=U(O(e)).map(L).filter(Pt);return new Set(a)}),a=>{l(),s.value&&a.size&&(i=new MutationObserver(t),a.forEach(v=>i.observe(v,r)))},{immediate:!0,flush:"post"}),d=()=>i==null?void 0:i.takeRecords(),f=()=>{c(),l()};return ve(f),{isSupported:s,stop:f,takeRecords:d}}const Bt=Symbol("vueuse-ssr-width");function Lt(){const e=Re()?xt(Bt,null):null;return typeof e=="number"?e:void 0}function Vt(e,t={}){const{window:n=k,ssrWidth:o=Lt()}=t,r=he(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=T(typeof o=="number"),s=T(),l=T(!1),c=d=>{l.value=d.matches};return De(()=>{if(i.value){i.value=!r.value,l.value=O(e).split(",").some(d=>{const f=d.includes("not all"),u=d.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),a=d.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let v=!!(u||a);return u&&v&&(v=o>=Ie(u[1])),a&&v&&(v=o<=Ie(a[1])),f?!v:v});return}r.value&&(s.value=n.matchMedia(O(e)),l.value=s.value.matches)}),z(s,"change",c,{passive:!0}),I(()=>l.value)}const Z=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ee="__vueuse_ssr_handlers__",Ht=jt();function jt(){return ee in Z||(Z[ee]=Z[ee]||{}),Z[ee]}function Le(e,t){return Ht[e]||t}function Xt(e){return Vt("(prefers-color-scheme: dark)",e)}function Yt(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Qt={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},We="vueuse-storage";function Jt(e,t,n,o={}){var r;const{flush:i="pre",deep:s=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:d=!1,shallow:f,window:u=k,eventFilter:a,onError:v=g=>{console.error(g)},initOnMounted:m}=o,y=(f?T:W)(typeof t=="function"?t():t),w=I(()=>O(e));if(!n)try{n=Le("getDefaultStorage",()=>k==null?void 0:k.localStorage)()}catch(g){v(g)}if(!n)return y;const h=O(t),_=Yt(h),S=(r=o.serializer)!==null&&r!==void 0?r:Qt[_],{pause:C,resume:x}=Ft(y,g=>M(g),{flush:i,deep:s,eventFilter:a});$(w,()=>A(),{flush:i});let F=!1;const p=g=>{m&&!F||A(g)},b=g=>{m&&!F||Y(g)};u&&l&&(n instanceof Storage?z(u,"storage",p,{passive:!0}):z(u,We,b)),m?re(()=>{F=!0,A()}):A();function E(g,D){if(u){const N={key:w.value,oldValue:g,newValue:D,storageArea:n};u.dispatchEvent(n instanceof Storage?new StorageEvent("storage",N):new CustomEvent(We,{detail:N}))}}function M(g){try{const D=n.getItem(w.value);if(g==null)E(D,null),n.removeItem(w.value);else{const N=S.write(g);D!==N&&(n.setItem(w.value,N),E(D,N))}}catch(D){v(D)}}function P(g){const D=g?g.newValue:n.getItem(w.value);if(D==null)return c&&h!=null&&n.setItem(w.value,S.write(h)),h;if(!g&&d){const N=S.read(D);return typeof d=="function"?d(N,h):_==="object"&&!Array.isArray(N)?B(B({},h),N):N}else return typeof D!="string"?D:S.read(D)}function A(g){if(!(g&&g.storageArea!==n)){if(g&&g.key==null){y.value=h;return}if(!(g&&g.key!==w.value)){C();try{const D=S.write(y.value);(g===void 0||(g==null?void 0:g.newValue)!==D)&&(y.value=P(g))}catch(D){v(D)}finally{g?ce(x):x()}}}}function Y(g){A(g.detail)}return y}const Ut="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Gt(e={}){const{selector:t="html",attribute:n="class",initialValue:o="auto",window:r=k,storage:i,storageKey:s="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:d,disableTransition:f=!0}=e,u=B({auto:"",light:"light",dark:"dark"},e.modes||{}),a=Xt({window:r}),v=I(()=>a.value?"dark":"light"),m=c||(s==null?me(o):Jt(s,o,i,{window:r,listenToStorageChanges:l})),y=I(()=>m.value==="auto"?v.value:m.value),w=Le("updateHTMLAttrs",(C,x,F)=>{const p=typeof C=="string"?r==null?void 0:r.document.querySelector(C):L(C);if(!p)return;const b=new Set,E=new Set;let M=null;if(x==="class"){const A=F.split(/\s/g);Object.values(u).flatMap(Y=>(Y||"").split(/\s/g)).filter(Boolean).forEach(Y=>{A.includes(Y)?b.add(Y):E.add(Y)})}else M={key:x,value:F};if(b.size===0&&E.size===0&&M===null)return;let P;f&&(P=r.document.createElement("style"),P.appendChild(document.createTextNode(Ut)),r.document.head.appendChild(P));for(const A of b)p.classList.add(A);for(const A of E)p.classList.remove(A);M&&p.setAttribute(M.key,M.value),f&&(r.getComputedStyle(P).opacity,document.head.removeChild(P))});function h(C){var x;w(t,n,(x=u[C])!==null&&x!==void 0?x:C)}function _(C){e.onChanged?e.onChanged(C,h):h(C)}$(y,_,{flush:"post",immediate:!0}),re(()=>_(y.value));const S=I({get(){return d?m.value:y.value},set(C){m.value=C}});return Object.assign(S,{store:m,system:v,state:y})}function yn(e={}){const{valueDark:t="dark",valueLight:n=""}=e,o=Gt(Q(B({},e),{onChanged:(i,s)=>{var l;e.onChanged?(l=e.onChanged)===null||l===void 0||l.call(e,i==="dark",s,i):s(i)},modes:{dark:t,light:n}})),r=I(()=>o.system.value);return I({get(){return o.value==="dark"},set(i){const s=i?"dark":"light";r.value===s?o.value="auto":o.value=s}})}function wn(e,t={}){var n;const{pointerTypes:o,preventDefault:r,stopPropagation:i,exact:s,onMove:l,onEnd:c,onStart:d,initialValue:f,axis:u="both",draggingElement:a=k,containerElement:v,handle:m=e,buttons:y=[0]}=t,w=W((n=O(f))!==null&&n!==void 0?n:{x:0,y:0}),h=W(),_=p=>o?o.includes(p.pointerType):!0,S=p=>{O(r)&&p.preventDefault(),O(i)&&p.stopPropagation()},C=p=>{var b;if(!O(y).includes(p.button)||O(t.disabled)||!_(p)||O(s)&&p.target!==O(e))return;const E=O(v),M=E==null||(b=E.getBoundingClientRect)===null||b===void 0?void 0:b.call(E),P=O(e).getBoundingClientRect(),A={x:p.clientX-(E?P.left-M.left+E.scrollLeft:P.left),y:p.clientY-(E?P.top-M.top+E.scrollTop:P.top)};(d==null?void 0:d(A,p))!==!1&&(h.value=A,S(p))},x=p=>{if(O(t.disabled)||!_(p)||!h.value)return;const b=O(v),E=O(e).getBoundingClientRect();let{x:M,y:P}=w.value;(u==="x"||u==="both")&&(M=p.clientX-h.value.x,b&&(M=Math.min(Math.max(0,M),b.scrollWidth-E.width))),(u==="y"||u==="both")&&(P=p.clientY-h.value.y,b&&(P=Math.min(Math.max(0,P),b.scrollHeight-E.height))),w.value={x:M,y:P},l==null||l(w.value,p),S(p)},F=p=>{O(t.disabled)||!_(p)||h.value&&(h.value=void 0,c==null||c(w.value,p),S(p))};if(pe){const p=()=>{var b;return{capture:(b=t.capture)!==null&&b!==void 0?b:!0,passive:!O(r)}};z(m,"pointerdown",C,p),z(a,"pointermove",x,p),z(a,"pointerup",F,p)}return Q(B({},Rt(w)),{position:w,isDragging:I(()=>!!h.value),style:I(()=>`left:${w.value.x}px;top:${w.value.y}px;`)})}function Ve(e,t,n={}){const f=n,{window:o=k}=f,r=J(f,["window"]);let i;const s=he(()=>o&&"ResizeObserver"in o),l=()=>{i&&(i.disconnect(),i=void 0)},c=$(I(()=>{const u=O(e);return Array.isArray(u)?u.map(a=>L(a)):[L(u)]}),u=>{if(l(),s.value&&o){i=new ResizeObserver(t);for(const a of u)a&&i.observe(a,r)}},{immediate:!0,flush:"post"}),d=()=>{l(),c()};return ve(d),{isSupported:s,stop:d}}function bn(e,t={width:0,height:0},n={}){const{window:o=k,box:r="content-box"}=n,i=I(()=>{var u;return(u=L(e))===null||u===void 0||(u=u.namespaceURI)===null||u===void 0?void 0:u.includes("svg")}),s=T(t.width),l=T(t.height),{stop:c}=Ve(e,([u])=>{const a=r==="border-box"?u.borderBoxSize:r==="content-box"?u.contentBoxSize:u.devicePixelContentBoxSize;if(o&&i.value){const v=L(e);if(v){const m=v.getBoundingClientRect();s.value=m.width,l.value=m.height}}else if(a){const v=U(a);s.value=v.reduce((m,{inlineSize:y})=>m+y,0),l.value=v.reduce((m,{blockSize:y})=>m+y,0)}else s.value=u.contentRect.width,l.value=u.contentRect.height},n);re(()=>{const u=L(e);u&&(s.value="offsetWidth"in u?u.offsetWidth:t.width,l.value="offsetHeight"in u?u.offsetHeight:t.height)});const d=$(()=>L(e),u=>{s.value=u?t.width:0,l.value=u?t.height:0});function f(){c(),d()}return{width:s,height:l,stop:f}}const Kt={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof MouseEvent?[e.movementX,e.movementY]:null};function qt(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:o=!1,initialValue:r={x:0,y:0},window:i=k,target:s=i,scroll:l=!0,eventFilter:c}=e;let d=null,f=0,u=0;const a=T(r.x),v=T(r.y),m=T(null),y=typeof t=="function"?t:Kt[t],w=p=>{const b=y(p);d=p,b&&([a.value,v.value]=b,m.value="mouse"),i&&(f=i.scrollX,u=i.scrollY)},h=p=>{if(p.touches.length>0){const b=y(p.touches[0]);b&&([a.value,v.value]=b,m.value="touch")}},_=()=>{if(!d||!i)return;const p=y(d);d instanceof MouseEvent&&p&&(a.value=p[0]+i.scrollX-f,v.value=p[1]+i.scrollY-u)},S=()=>{a.value=r.x,v.value=r.y},C=c?p=>c(()=>w(p),{}):p=>w(p),x=c?p=>c(()=>h(p),{}):p=>h(p),F=c?()=>c(()=>_(),{}):()=>_();if(s){const p={passive:!0};z(s,["mousemove","dragover"],C,p),n&&t!=="movement"&&(z(s,["touchstart","touchmove"],x,p),o&&z(s,"touchend",S,p)),l&&t==="page"&&z(i,"scroll",F,p)}return{x:a,y:v,sourceType:m}}function On(e,t={}){const{windowResize:n=!0,windowScroll:o=!0,handleOutside:r=!0,window:i=k}=t,s=t.type||"page",{x:l,y:c,sourceType:d}=qt(t),f=T(e!=null?e:i==null?void 0:i.document.body),u=T(0),a=T(0),v=T(0),m=T(0),y=T(0),w=T(0),h=T(!0);function _(){if(!i)return;const x=L(f);if(!(!x||!(x instanceof Element)))for(const F of x.getClientRects()){const{left:p,top:b,width:E,height:M}=F;v.value=p+(s==="page"?i.pageXOffset:0),m.value=b+(s==="page"?i.pageYOffset:0),y.value=M,w.value=E;const P=l.value-v.value,A=c.value-m.value;if(h.value=E===0||M===0||P<0||A<0||P>E||A>M,(r||!h.value)&&(u.value=P,a.value=A),!h.value)break}}const S=[];function C(){S.forEach(x=>x()),S.length=0}if(re(()=>{_()}),i){const{stop:x}=Ve(f,_),{stop:F}=Be(f,_,{attributeFilter:["style","class"]}),p=$([f,l,c],_);S.push(x,F,p),z(document,"mouseleave",()=>h.value=!0,{passive:!0}),o&&S.push(z("scroll",_,{capture:!0,passive:!0})),n&&S.push(z("resize",_,{passive:!0}))}return{x:l,y:c,sourceType:d,elementX:u,elementY:a,elementPositionX:v,elementPositionY:m,elementHeight:y,elementWidth:w,isOutside:h,stop:C}}function Sn(e=null,t={}){var n,o;const{document:r=zt,restoreOnUnmount:i=u=>u}=t,s=(n=r==null?void 0:r.title)!==null&&n!==void 0?n:"",l=me((o=e!=null?e:r==null?void 0:r.title)!==null&&o!==void 0?o:null),c=!!(e&&typeof e=="function");function d(u){if(!("titleTemplate"in t))return u;const a=t.titleTemplate||"%s";return typeof a=="function"?a(u):O(a).replace(/%s/g,u)}if($(l,(u,a)=>{u!==a&&r&&(r.title=d(u!=null?u:""))},{immediate:!0}),t.observe&&!t.titleTemplate&&r&&!c){var f;Be((f=r.head)===null||f===void 0?void 0:f.querySelector("title"),()=>{r&&r.title!==l.value&&(l.value=d(r.title))},{childList:!0})}return ve(()=>{if(i){const u=i(s,l.value||"");u!=null&&r&&(r.title=u)}}),l}export{On as A,z as B,yn as C,ht as a,R as b,tn as c,ct as d,cn as e,un as f,gn as g,nn as h,oe as i,rn as j,vn as k,sn as l,rt as m,pn as n,ln as o,dn as p,hn as q,on as r,fn as s,K as t,V as u,mn as v,an as w,Sn as x,bn as y,wn as z};