@vitejs/devtools-rolldown 0.1.19 → 0.1.20
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/index.mjs +14 -0
- package/dist/nitro.json +1 -1
- package/dist/public/200.html +1 -1
- package/dist/public/404.html +1 -1
- package/dist/public/_nuxt/20hUiP46.js +1 -0
- package/dist/public/_nuxt/{D8Se1EWj.js → B8fJ7G-T.js} +1 -1
- package/dist/public/_nuxt/BAyxWnhM2.js +1 -0
- package/dist/public/_nuxt/BOT9W_ZD.js +1 -0
- package/dist/public/_nuxt/BP8IEXpL.js +1 -0
- package/dist/public/_nuxt/{DCPELPdh.js → BQIt7f6-2.js} +1 -1
- package/dist/public/_nuxt/BTfiKBAm.js +1 -0
- package/dist/public/_nuxt/BTkQJesx.js +1 -0
- package/dist/public/_nuxt/BWeJkag7.js +1 -0
- package/dist/public/_nuxt/BYiuS205.js +4 -0
- package/dist/public/_nuxt/{COiP6LWy.js → BdFYEjeH.js} +1 -1
- package/dist/public/_nuxt/BdMtzkAy2.js +1 -0
- package/dist/public/_nuxt/{CnkQlf-T.js → BqiFImA_.js} +1 -1
- package/dist/public/_nuxt/{D-KdwVBL.js → C5iGLYf8.js} +1 -1
- package/dist/public/_nuxt/CBfhMqaX.js +1 -0
- package/dist/public/_nuxt/CHmEnixh2.js +1 -0
- package/dist/public/_nuxt/CJdYjM__.js +1 -0
- package/dist/public/_nuxt/CK6Xn-O82.js +1 -0
- package/dist/public/_nuxt/{BhOKQpS-.js → CKlr0Tan.js} +1 -1
- package/dist/public/_nuxt/CUBdwZVs.js +3 -0
- package/dist/public/_nuxt/CWusIlaG.js +1 -0
- package/dist/public/_nuxt/CavyT85L2.js +1 -0
- package/dist/public/_nuxt/CbQbsbZd.js +1 -0
- package/dist/public/_nuxt/CcXFxXMQ.js +2 -0
- package/dist/public/_nuxt/CgIVM_ZA.js +1 -0
- package/dist/public/_nuxt/{BQl8ArzK.js → CvnFxGBE.js} +1 -1
- package/dist/public/_nuxt/CxYeQaBW.js +1 -0
- package/dist/public/_nuxt/Cz_QngRP.js +1 -0
- package/dist/public/_nuxt/{D_zbH50i.js → D00v5GDJ.js} +1 -1
- package/dist/public/_nuxt/D8ugdtv-.js +1 -0
- package/dist/public/_nuxt/DEiLiWhM2.js +1 -0
- package/dist/public/_nuxt/DKJ20h2B.js +12 -0
- package/dist/public/_nuxt/{DeejVvnS.js → DU7iNs37.js} +1 -1
- package/dist/public/_nuxt/{XfS7e3PM.js → ENNcF9U5.js} +1 -1
- package/dist/public/_nuxt/{3TymDptH.js → P_nXTQEe.js} +1 -1
- package/dist/public/_nuxt/{erfZtSN7.js → bqLEejUC.js} +1 -1
- package/dist/public/_nuxt/builds/latest.json +1 -1
- package/dist/public/_nuxt/builds/meta/6ec89d4d-a88a-4396-9292-3f2655baa827.json +1 -0
- package/dist/public/_nuxt/{entry.Cv7n_Dtt.css → entry.DguO3VpB.css} +1 -1
- package/dist/public/_nuxt/error-404.D0uDCatO.css +1 -0
- package/dist/public/_nuxt/error-500.DSBLz6Ry.css +1 -0
- package/dist/public/_nuxt/qpeZMqnF.js +1 -0
- package/dist/public/_nuxt/{D2AP-caS.js → x1vnwfQM.js} +1 -1
- package/dist/public/_nuxt/zt8ARaaw.js +1 -0
- package/dist/public/index.html +1 -1
- package/package.json +11 -11
- package/dist/public/_nuxt/-w-An_zz.js +0 -1
- package/dist/public/_nuxt/8kHoufi2.js +0 -1
- package/dist/public/_nuxt/A14j6IXQ.js +0 -12
- package/dist/public/_nuxt/B2NMBmj_.js +0 -1
- package/dist/public/_nuxt/BE1TLHgg.js +0 -1
- package/dist/public/_nuxt/BSjCyhkj2.js +0 -1
- package/dist/public/_nuxt/BYXvfkhc.js +0 -1
- package/dist/public/_nuxt/Bc5RWlzj.js +0 -1
- package/dist/public/_nuxt/BtpeuWVj2.js +0 -1
- package/dist/public/_nuxt/C--RKQDq.js +0 -3
- package/dist/public/_nuxt/C8iXMxN52.js +0 -1
- package/dist/public/_nuxt/CA0N7And.js +0 -1
- package/dist/public/_nuxt/CAonW3eZ.js +0 -1
- package/dist/public/_nuxt/CFOnv7GG2.js +0 -1
- package/dist/public/_nuxt/CXhLP-Vi2.js +0 -1
- package/dist/public/_nuxt/Cdb7S98v.js +0 -1
- package/dist/public/_nuxt/DCcvbzkD.js +0 -1
- package/dist/public/_nuxt/DGOkTiBT.js +0 -1
- package/dist/public/_nuxt/D_gteVIt.js +0 -1
- package/dist/public/_nuxt/Dg9zMuGl2.js +0 -1
- package/dist/public/_nuxt/Dlysmnsb.js +0 -1
- package/dist/public/_nuxt/DpW0qpWn.js +0 -4
- package/dist/public/_nuxt/DvZ2T9qR.js +0 -1
- package/dist/public/_nuxt/builds/meta/23b753f3-3d2f-4f20-bace-288653dc24a7.json +0 -1
- package/dist/public/_nuxt/dmap9D-O.js +0 -2
- package/dist/public/_nuxt/error-404.DkiWPM7Q.css +0 -1
- package/dist/public/_nuxt/error-500.Wfu13SYC.css +0 -1
- package/dist/public/_nuxt/jJY8e3xp.js +0 -1
- /package/dist/public/_nuxt/{qIAw3Eg02.js → D1iwru-F2.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{B as e,Ct as t,Dt as n,Et as r,G as i,K as a,N as o,Tt as s,b as c,bt as l,ft as u,gt as d,kt as f,mt as p,ot as m,pt as h,st as g,vt as _,wt as v,xt as y,yt as b}from"./CUBdwZVs.js";function x(e,t,n={}){let r,i,a,o=!0,s=()=>{o=!0,a()};m(e,s,{flush:`sync`,...n});let c=typeof t==`function`?t:t.get,l=typeof t==`function`?void 0:t.set,d=u((e,t)=>(i=e,a=t,{get(){return o&&=(r=c(r),!1),i(),r},set(e){l?.(e)}}));return d.trigger=s,d}function S(e={}){function t(e){return typeof e==`function`}let n=t(e)?{mounted:e,updated:e}:e,{mounted:r,unmounted:i}=n;if(!t(r))return e;let a=new WeakMap;return{...n,mounted(e,t,n,i){let o=a.get(e)??h();a.set(e,o),o.run(()=>{r?.(e,t,n,i)})},unmounted(e,n,r,o){var s;(s=a.get(e))==null||s.stop(),a.delete(e),t(i)&&i(e,n,r,o)}}}function C(e,t){return p()?(_(e,t),!0):!1}var w=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var T=e=>e!==void 0,E=e=>e!=null,D=Object.prototype.toString,O=e=>D.call(e)===`[object Object]`,k=()=>{},A=j();function j(){var e,t;return w&&!!(!((e=window)==null||(e=e.navigator)==null)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)==null||(t=t.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function M(...e){if(e.length!==1)return s(...e);let t=e[0];return typeof t==`function`?l(u(()=>({get:t,set:k}))):y(t)}function N(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}var ee=e=>e();function P(e,t={}){let r,i,a=k,o=e=>{clearTimeout(e),a(),a=k},s;return c=>{let l=n(e),u=n(t.maxWait);return r&&o(r),l<=0||u!==void 0&&u<=0?(i&&=(o(i),void 0),Promise.resolve(c())):new Promise((e,n)=>{a=t.rejectOnCancel?n:e,s=c,u&&!i&&(i=setTimeout(()=>{r&&o(r),i=void 0,e(s())},u)),r=setTimeout(()=>{i&&o(i),i=void 0,e(c())},l)})}}function te(...e){let t=0,r,i=!0,a=k,o,s,c,l,u;!d(e[0])&&typeof e[0]==`object`?{delay:s,trailing:c=!0,leading:l=!0,rejectOnCancel:u=!1}=e[0]:[s,c=!0,l=!0,u=!1]=e;let f=()=>{r&&(clearTimeout(r),r=void 0,a(),a=k)};return e=>{let d=n(s),p=Date.now()-t,m=()=>o=e();return f(),d<=0?(t=Date.now(),m()):(p>d?(t=Date.now(),(l||!i)&&m()):c&&(o=new Promise((e,n)=>{a=u?n:e,r=setTimeout(()=>{t=Date.now(),i=!0,e(m()),f()},Math.max(0,d-p))})),!l&&!r&&(r=setTimeout(()=>i=!0,d)),i=!1,o)}}function ne(e=ee,n={}){let{initialState:r=`active`}=n,i=M(r===`active`);function a(){i.value=!1}function o(){i.value=!0}return{isActive:t(i),pause:a,resume:o,eventFilter:(...t)=>{i.value&&e(...t)}}}function F(e,t=!1,n=`Timeout`){return new Promise((r,i)=>{t?setTimeout(i,e,n):setTimeout(r,e)})}function I(e){return Array.isArray(e)?e:[e]}function L(e){return e||o()}function re(e){return d(e)?b(new Proxy({},{get(t,n,r){return f(Reflect.get(e.value,n,r))},set(t,n,r){return d(e.value[n])&&!d(r)?e.value[n].value=r:e.value[n]=r,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):b(e)}function ie(e){return re(c(e))}function ae(e,...t){let i=t.flat(),a=i[0];return ie(()=>Object.fromEntries(typeof a==`function`?Object.entries(r(e)).filter(([e,t])=>!a(n(t),e)):Object.entries(r(e)).filter(e=>!i.includes(e[0]))))}function oe(e,t=200,n={}){return N(P(t,n),e)}function se(e,t=200,n=!1,r=!0,i=!1){return N(te(t,n,r,i),e)}function ce(e,t,n={}){let{eventFilter:r=ee,...i}=n;return m(e,N(r,t),i)}function le(e,t,n={}){let{eventFilter:r,initialState:i=`active`,...a}=n,{eventFilter:o,pause:s,resume:c,isActive:l}=ne(r,{initialState:i});return{stop:ce(e,t,{...a,eventFilter:o}),pause:s,resume:c,isActive:l}}function R(t,n=!0,r){L(r)?i(t,r):n?t():e(t)}function ue(e,t){L(t)&&a(e,t)}function z(t,r=!1){function i(i,{flush:a=`sync`,deep:o=!1,timeout:s,throwOnTimeout:c}={}){let l=null,u=[new Promise(n=>{l=m(t,t=>{i(t)!==r&&(l?l():e(()=>l?.()),n(t))},{flush:a,deep:o,immediate:!0})})];return s!=null&&u.push(F(s,c).then(()=>n(t)).finally(()=>l?.())),Promise.race(u)}function a(a,o){if(!d(a))return i(e=>e===a,o);let{flush:s=`sync`,deep:c=!1,timeout:l,throwOnTimeout:u}=o??{},f=null,p=[new Promise(n=>{f=m([t,a],([t,i])=>{r!==(t===i)&&(f?f():e(()=>f?.()),n(t))},{flush:s,deep:c,immediate:!0})})];return l!=null&&p.push(F(l,u).then(()=>n(t)).finally(()=>(f?.(),n(t)))),Promise.race(p)}function o(e){return i(e=>!!e,e)}function s(e){return a(null,e)}function c(e){return a(void 0,e)}function l(e){return i(Number.isNaN,e)}function u(e,t){return i(t=>{let r=Array.from(t);return r.includes(e)||r.includes(n(e))},t)}function f(e){return p(1,e)}function p(e=1,t){let n=-1;return i(()=>(n+=1,n>=e),t)}return Array.isArray(n(t))?{toMatch:i,toContains:u,changed:f,changedTimes:p,get not(){return z(t,!r)}}:{toMatch:i,toBe:a,toBeTruthy:o,toBeNull:s,toBeNaN:l,toBeUndefined:c,changed:f,changedTimes:p,get not(){return z(t,!r)}}}function de(e){return z(e)}function fe(e=!1,t={}){let{truthyValue:r=!0,falsyValue:i=!1}=t,a=d(e),o=v(e);function s(e){if(arguments.length)return o.value=e,o.value;{let e=n(r);return o.value=o.value===e?n(i):e,o.value}}return a?s:[o,s]}function pe(e,t,n={}){let{debounce:r=0,maxWait:i=void 0,...a}=n;return ce(e,t,{...a,eventFilter:P(r,{maxWait:i})})}function me(e,t,n){return m(e,t,{...n,immediate:!0})}function he(e,t,n){return m(e,t,{...n,once:!0})}function ge(e,t,n){let r;r=d(n)?{evaluating:n}:n||{};let{lazy:i=!1,flush:a=`sync`,evaluating:o=void 0,shallow:s=!0,onError:l=globalThis.reportError??k}=r,u=v(!i),f=s?v(t):y(t),p=0;return g(async t=>{if(!u.value)return;p++;let n=p,r=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{let i=await e(e=>{t(()=>{o&&(o.value=!1),r||e()})});n===p&&(f.value=i)}catch(e){l(e)}finally{o&&n===p&&(o.value=!1),r=!0}},{flush:a}),i?c(()=>(u.value=!0,f.value)):f}var B=w?window:void 0;w&&window.document,w&&window.navigator,w&&window.location;function V(e){let t=n(e);return t?.$el??t}function H(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),r=c(()=>{let t=I(n(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return me(()=>[r.value?.map(e=>V(e))??[B].filter(e=>e!=null),I(n(r.value?e[1]:e[0])),I(f(r.value?e[2]:e[1])),n(r.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=O(i)?{...i}:i,c=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}var _e=!1;function ve(e,t,r={}){let{window:i=B,ignore:a=[],capture:o=!0,detectIframe:s=!1,controls:c=!1}=r;if(!i)return c?{stop:k,cancel:k,trigger:k}:k;if(A&&!_e){_e=!0;let e={passive:!0};Array.from(i.document.body.children).forEach(t=>t.addEventListener(`click`,k,e)),i.document.documentElement.addEventListener(`click`,k,e)}let l=!0,u=e=>n(a).some(t=>{if(typeof t==`string`)return Array.from(i.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let n=V(t);return n&&(e.target===n||e.composedPath().includes(n))}});function d(e){let t=n(e);return t&&t.$.subTree.shapeFlag===16}function f(e,t){let r=n(e),i=r.$.subTree&&r.$.subTree.children;return i==null||!Array.isArray(i)?!1:i.some(e=>e.el===t.target||t.composedPath().includes(e.el))}let p=n=>{let r=V(e);if(n.target!=null&&!(!(r instanceof Element)&&d(e)&&f(e,n))&&!(!r||r===n.target||n.composedPath().includes(r))){if(`detail`in n&&n.detail===0&&(l=!u(n)),!l){l=!0;return}t(n)}},m=!1,h=[H(i,`click`,e=>{m||(m=!0,setTimeout(()=>{m=!1},0),p(e))},{passive:!0,capture:o}),H(i,`pointerdown`,t=>{let n=V(e);l=!u(t)&&!!(n&&!t.composedPath().includes(n))},{passive:!0}),s&&H(i,`blur`,n=>{setTimeout(()=>{let r=V(e),a=i.document.activeElement;for(;a?.shadowRoot;)a=a.shadowRoot.activeElement;a?.tagName===`IFRAME`&&!r?.contains(i.document.activeElement)&&t(n)},0)},{passive:!0})].filter(Boolean),g=()=>h.forEach(e=>e());return c?{stop:g,cancel:()=>{l=!1},trigger:e=>{l=!0,p(e),l=!1}}:g}function ye(){let e=v(!1),t=o();return t&&i(()=>{e.value=!0},t),e}function U(e){let t=ye();return c(()=>(t.value,!!e()))}function W(e,t,r={}){let{window:i=B,...a}=r,o,s=U(()=>i&&`MutationObserver`in i),l=()=>{o&&=(o.disconnect(),void 0)},u=m(c(()=>{let t=I(n(e)).map(V).filter(E);return new Set(t)}),e=>{l(),s.value&&e.size&&(o=new MutationObserver(t),e.forEach(e=>o.observe(e,a)))},{immediate:!0,flush:`post`}),d=()=>o?.takeRecords(),f=()=>{u(),l()};return C(f),{isSupported:s,stop:f,takeRecords:d}}function be(e,t,n={}){let{window:r=B,document:i=r?.document,flush:a=`sync`}=n;if(!r||!i)return k;let o,s=e=>{o?.(),o=e},c=g(()=>{let n=V(e);if(n){let{stop:e}=W(i,e=>{e.map(e=>[...e.removedNodes]).flat().some(e=>e===n||e.contains(n))&&t(e)},{window:r,childList:!0,subtree:!0});s(e)}},{flush:a}),l=()=>{c(),s()};return C(l),l}function xe(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function G(...e){let t,r,i={};e.length===3?(t=e[0],r=e[1],i=e[2]):e.length===2?typeof e[1]==`object`?(t=!0,r=e[0],i=e[1]):(t=e[0],r=e[1]):(t=!0,r=e[0]);let{target:a=B,eventName:o=`keydown`,passive:s=!1,dedupe:c=!1}=i,l=xe(t);return H(a,o,e=>{e.repeat&&n(c)||l(e)&&r(e)},s)}function Se(e,t,n={}){return G(e,t,{...n,eventName:`keydown`})}function Ce(e,t,n={}){return G(e,t,{...n,eventName:`keypress`})}var we=500,Te=10;function Ee(e,t,n){var r,i;let a=c(()=>V(e)),o,s,l,u=!1;function d(){o&&=(clearTimeout(o),void 0),s=void 0,l=void 0,u=!1}function f(e){let t=n?.delay;return typeof t==`function`?t(e):t??we}function p(e){var t,r,i;let[o,c,f]=[l,s,u];if(d(),!n?.onMouseUp||!c||!o||!(n==null||(t=n.modifiers)==null)&&t.self&&e.target!==a.value)return;!(n==null||(r=n.modifiers)==null)&&r.prevent&&e.preventDefault(),!(n==null||(i=n.modifiers)==null)&&i.stop&&e.stopPropagation();let p=e.x-c.x,m=e.y-c.y,h=Math.sqrt(p*p+m*m);n.onMouseUp(e.timeStamp-o,h,f,e)}function m(e){var r,i,c;!(n==null||(r=n.modifiers)==null)&&r.self&&e.target!==a.value||(d(),!(n==null||(i=n.modifiers)==null)&&i.prevent&&e.preventDefault(),!(n==null||(c=n.modifiers)==null)&&c.stop&&e.stopPropagation(),s={x:e.x,y:e.y},l=e.timeStamp,o=setTimeout(()=>{u=!0,t(e)},f(e)))}function h(e){var t,r,i;if(!(n==null||(t=n.modifiers)==null)&&t.self&&e.target!==a.value||!s||n?.distanceThreshold===!1)return;!(n==null||(r=n.modifiers)==null)&&r.prevent&&e.preventDefault(),!(n==null||(i=n.modifiers)==null)&&i.stop&&e.stopPropagation();let o=e.x-s.x,c=e.y-s.y;Math.sqrt(o*o+c*c)>=(n?.distanceThreshold??Te)&&d()}let g={capture:n==null||(r=n.modifiers)==null?void 0:r.capture,once:n==null||(i=n.modifiers)==null?void 0:i.once},_=[H(a,`pointerdown`,m,g),H(a,`pointermove`,h,g),H(a,[`pointerup`,`pointerleave`],p,g)];return()=>_.forEach(e=>e())}function De(e,t,r){let{immediate:i=!0,delay:a=0,onError:o=globalThis.reportError??k,onSuccess:s=k,resetOnExecute:c=!0,shallow:l=!0,throwError:u}=r??{},d=l?v(t):y(t),f=v(!1),p=v(!1),m=v(void 0),h=0;async function g(r=0,...i){let a=h+=1;c&&(d.value=n(t)),m.value=void 0,f.value=!1,p.value=!0,r>0&&await F(r);let l=typeof e==`function`?e(...i):e;try{let e=await l;return a===h&&(d.value=e,f.value=!0),s(e),e}catch(e){if(a===h&&(m.value=e),o(e),u)throw e}finally{a===h&&(p.value=!1)}}i&&g(a);let _={state:d,isReady:f,isLoading:p,error:m,execute:g,executeImmediate:(...e)=>g(0,...e)};function b(){return new Promise((e,t)=>{de(p).toBe(!1).then(()=>e(_)).catch(t)})}return{..._,then(e,t){return b().then(e,t)}}}function Oe(e){return JSON.parse(JSON.stringify(e))}var K=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},q=`__vueuse_ssr_handlers__`,ke=Ae();function Ae(){return q in K||(K[q]=K[q]||{}),K[q]}function je(e,t){return ke[e]||t}function Me(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`}var Ne={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()}},J=`vueuse-storage`;function Pe(t,r,i,a={}){let{flush:o=`pre`,deep:s=!0,listenToStorageChanges:l=!0,writeDefaults:u=!0,mergeDefaults:d=!1,shallow:f,window:p=B,eventFilter:h,onError:g=e=>{console.error(e)},initOnMounted:_}=a,b=(f?v:y)(typeof r==`function`?r():r),x=c(()=>n(t));if(!i)try{i=je(`getDefaultStorage`,()=>B?.localStorage)()}catch(e){g(e)}if(!i)return b;let S=n(r),C=Me(S),w=a.serializer??Ne[C],{pause:T,resume:E}=le(b,e=>k(e),{flush:o,deep:s,eventFilter:h});m(x,()=>j(),{flush:o});let D=!1;p&&l&&(i instanceof Storage?H(p,`storage`,e=>{_&&!D||j(e)},{passive:!0}):H(p,J,e=>{_&&!D||M(e)})),_?R(()=>{D=!0,j()}):j();function O(e,t){if(p){let n={key:x.value,oldValue:e,newValue:t,storageArea:i};p.dispatchEvent(i instanceof Storage?new StorageEvent(`storage`,n):new CustomEvent(J,{detail:n}))}}function k(e){try{let t=i.getItem(x.value);if(e==null)O(t,null),i.removeItem(x.value);else{let n=w.write(e);t!==n&&(i.setItem(x.value,n),O(t,n))}}catch(e){g(e)}}function A(e){let t=e?e.newValue:i.getItem(x.value);if(t==null)return u&&S!=null&&i.setItem(x.value,w.write(S)),S;if(!e&&d){let e=w.read(t);return typeof d==`function`?d(e,S):C===`object`&&!Array.isArray(e)?{...S,...e}:e}else if(typeof t!=`string`)return t;else return w.read(t)}function j(t){if(!(t&&t.storageArea!==i)){if(t&&t.key==null){b.value=S;return}if(!(t&&t.key!==x.value)){T();try{let e=w.write(b.value);(t===void 0||t?.newValue!==e)&&(b.value=A(t))}catch(e){g(e)}finally{t?e(E):E()}}}}function M(e){j(e.detail)}return b}function Fe(e,t){let r=v(d()),i=M(e),a=c({get(){let e=i.value,n=t?.getIndexOf?t.getIndexOf(r.value,e):e.indexOf(r.value);return n<0&&(n=t?.fallbackIndex??0),n},set(e){o(e)}});function o(e){let t=i.value,n=t.length,a=t[(e%n+n)%n];return r.value=a,a}function s(e=1){return o(a.value+e)}function l(e=1){return s(e)}function u(e=1){return s(-e)}function d(){return n(t?.initialValue??n(e)[0])??void 0}return m(i,()=>o(a.value)),{state:r,index:a,next:l,prev:u,go:o}}function Y(e,t,r={}){let{window:i=B,...a}=r,o,s=U(()=>i&&`ResizeObserver`in i),l=()=>{o&&=(o.disconnect(),void 0)},u=m(c(()=>{let t=n(e);return Array.isArray(t)?t.map(e=>V(e)):[V(t)]}),e=>{if(l(),s.value&&i){o=new ResizeObserver(t);for(let t of e)t&&o.observe(t,a)}},{immediate:!0,flush:`post`}),d=()=>{l(),u()};return C(d),{isSupported:s,stop:d}}function Ie(e,t={}){let{reset:n=!0,windowResize:r=!0,windowScroll:i=!0,immediate:a=!0,updateTiming:o=`sync`}=t,s=v(0),c=v(0),l=v(0),u=v(0),d=v(0),f=v(0),p=v(0),h=v(0);function g(){let t=V(e);if(!t){n&&(s.value=0,c.value=0,l.value=0,u.value=0,d.value=0,f.value=0,p.value=0,h.value=0);return}let r=t.getBoundingClientRect();s.value=r.height,c.value=r.bottom,l.value=r.left,u.value=r.right,d.value=r.top,f.value=r.width,p.value=r.x,h.value=r.y}function _(){o===`sync`?g():o===`next-frame`&&requestAnimationFrame(()=>g())}return Y(e,_),m(()=>V(e),e=>!e&&_()),W(e,_,{attributeFilter:[`style`,`class`]}),i&&H(`scroll`,_,{capture:!0,passive:!0}),r&&H(`resize`,_,{passive:!0}),R(()=>{a&&_()}),{height:s,bottom:c,left:l,right:u,top:d,width:f,x:p,y:h,update:_}}function Le(e,t={}){let{delayEnter:n=0,delayLeave:r=0,triggerOnRemoval:i=!1,window:a=B}=t,o=v(!1),s,l=e=>{let t=e?n:r;s&&=(clearTimeout(s),void 0),t?s=setTimeout(()=>o.value=e,t):o.value=e};return a?(H(e,`mouseenter`,()=>l(!0),{passive:!0}),H(e,`mouseleave`,()=>l(!1),{passive:!0}),i&&be(c(()=>V(e)),()=>l(!1)),o):o}function Re(e,t={width:0,height:0},n={}){let{window:r=B,box:i=`content-box`}=n,a=c(()=>{var t;return(t=V(e))==null||(t=t.namespaceURI)==null?void 0:t.includes(`svg`)}),o=v(t.width),s=v(t.height),{stop:l}=Y(e,([t])=>{let n=i===`border-box`?t.borderBoxSize:i===`content-box`?t.contentBoxSize:t.devicePixelContentBoxSize;if(r&&a.value){let t=V(e);if(t){let e=t.getBoundingClientRect();o.value=e.width,s.value=e.height}}else if(n){let e=I(n);o.value=e.reduce((e,{inlineSize:t})=>e+t,0),s.value=e.reduce((e,{blockSize:t})=>e+t,0)}else o.value=t.contentRect.width,s.value=t.contentRect.height},n);R(()=>{let n=V(e);n&&(o.value=`offsetWidth`in n?n.offsetWidth:t.width,s.value=`offsetHeight`in n?n.offsetHeight:t.height)});let u=m(()=>V(e),e=>{o.value=e?t.width:0,s.value=e?t.height:0});function d(){l(),u()}return{width:o,height:s,stop:d}}function X(e,t,r={}){let{root:i,rootMargin:a,threshold:o=0,window:s=B,immediate:l=!0}=r,u=U(()=>s&&`IntersectionObserver`in s),d=c(()=>I(n(e)).map(V).filter(E)),f=k,p=v(l),h=u.value?m(()=>[d.value,V(i),n(a),p.value],([e,n,r])=>{if(f(),!p.value||!e.length)return;let i=new IntersectionObserver(t,{root:V(n),rootMargin:r,threshold:o});e.forEach(e=>e&&i.observe(e)),f=()=>{i.disconnect(),f=k}},{immediate:l,flush:`post`}):k,g=()=>{f(),h(),p.value=!1};return C(g),{isSupported:u,isActive:p,pause(){f(),p.value=!1},resume(){p.value=!0},stop:g}}function Z(e,t={}){let{window:n=B,scrollTarget:r,threshold:i=0,rootMargin:a,once:o=!1,initialValue:s=!1}=t,c=v(s),l=X(e,e=>{let t=c.value,n=0;for(let r of e)r.time>=n&&(n=r.time,t=r.isIntersecting);c.value=t,o&&he(c,()=>{l.stop()})},{root:r,window:n,threshold:i,rootMargin:a});return t.controls?{...l,isVisible:c}:c}function Q(e){return typeof Window<`u`&&e instanceof Window?e.document.documentElement:typeof Document<`u`&&e instanceof Document?e.documentElement:e}var ze=1;function Be(e,t={}){let{throttle:r=0,idle:i=200,onStop:a=k,onScroll:o=k,offset:s={left:0,right:0,top:0,bottom:0},observe:l={mutation:!1},eventListenerOptions:u={capture:!1,passive:!0},behavior:d=`auto`,window:f=B,onError:p=e=>{console.error(e)}}=t,m=typeof l==`boolean`?{mutation:l}:l,h=v(0),g=v(0),_=c({get(){return h.value},set(e){x(e,void 0)}}),y=c({get(){return g.value},set(e){x(void 0,e)}});function x(t,r){var i,a;if(!f)return;let o=n(e);if(!o)return;(i=o instanceof Document?f.document.body:o)==null||i.scrollTo({top:n(r)??y.value,left:n(t)??_.value,behavior:n(d)});let s=(o==null||(a=o.document)==null?void 0:a.documentElement)||o?.documentElement||o;_!=null&&(h.value=s.scrollLeft),y!=null&&(g.value=s.scrollTop)}let S=v(!1),C=b({left:!0,right:!1,top:!0,bottom:!1}),w=b({left:!1,right:!1,top:!1,bottom:!1}),T=e=>{S.value&&(S.value=!1,w.left=!1,w.right=!1,w.top=!1,w.bottom=!1,a(e))},E=oe(T,r+i),D=e=>{var t;if(!f)return;let n=(e==null||(t=e.document)==null?void 0:t.documentElement)||e?.documentElement||V(e),{display:r,flexDirection:i,direction:a}=f.getComputedStyle(n),o=a===`rtl`?-1:1,c=n.scrollLeft;w.left=c<h.value,w.right=c>h.value;let l=Math.abs(c*o)<=(s.left||0),u=Math.abs(c*o)+n.clientWidth>=n.scrollWidth-(s.right||0)-ze;r===`flex`&&i===`row-reverse`?(C.left=u,C.right=l):(C.left=l,C.right=u),h.value=c;let d=n.scrollTop;e===f.document&&!d&&(d=f.document.body.scrollTop),w.top=d<g.value,w.bottom=d>g.value;let p=Math.abs(d)<=(s.top||0),m=Math.abs(d)+n.clientHeight>=n.scrollHeight-(s.bottom||0)-ze;r===`flex`&&i===`column-reverse`?(C.top=m,C.bottom=p):(C.top=p,C.bottom=m),g.value=d},O=e=>{f&&(D(e.target.documentElement??e.target),S.value=!0,E(e),o(e))};return H(e,`scroll`,r?se(O,r,!0,!1):O,u),R(()=>{try{let t=n(e);if(!t)return;D(t)}catch(e){p(e)}}),m?.mutation&&e!=null&&e!==f&&e!==document&&W(e,()=>{let t=n(e);t&&D(t)},{attributes:!0,childList:!0,subtree:!0}),H(e,`scrollend`,T,u),{x:_,y,isScrolling:S,arrivedState:C,directions:w,measure(){let t=n(e);f&&t&&D(t)}}}function Ve(t,r,i={}){let{direction:a=`bottom`,interval:o=100,canLoadMore:s=()=>!0}=i,l=b(Be(t,{...i,offset:{[a]:i.distance??0,...i.offset}})),u=v(),d=c(()=>!!u.value),f=c(()=>Q(n(t))),p=Z(f),h=c(()=>f.value?s(f.value):!1);function g(){if(l.measure(),!f.value||!p.value||!h.value||u.value)return;let{scrollHeight:t,clientHeight:n,scrollWidth:i,clientWidth:s}=f.value,c=a===`bottom`||a===`top`?t<=n:i<=s;(l.arrivedState[a]||c)&&(u.value=Promise.all([r(l),new Promise(e=>setTimeout(e,o))]).finally(()=>{u.value=null,e(()=>g())}))}return ue(m(()=>[l.arrivedState[a],p.value,h.value],g,{immediate:!0,flush:`post`})),{isLoading:d,reset(){e(()=>g())}}}function He(e,t,n={}){let{window:r=B}=n;return Pe(e,t,r?.localStorage,n)}var Ue={ctrl:`control`,command:`meta`,cmd:`meta`,option:`alt`,up:`arrowup`,down:`arrowdown`,left:`arrowleft`,right:`arrowright`};function We(e={}){let{reactive:t=!1,target:r=B,aliasMap:i=Ue,passive:a=!0,onEventFired:o=k}=e,s=b(new Set),l={toJSON(){return{}},current:s},u=t?b(l):l,d=new Set,f=new Map([[`Meta`,d],[`Shift`,new Set],[`Alt`,new Set]]),p=new Set;function m(e,n){e in u&&(t?u[e]=n:u[e].value=n)}function h(){s.clear();for(let e of p)m(e,!1)}function g(e,t,n){if(!(!e||typeof t.getModifierState!=`function`)){for(let[e,r]of f)if(t.getModifierState(e)){n.forEach(e=>r.add(e));break}}}function _(e,t){if(e)return;let n=`${t[0].toUpperCase()}${t.slice(1)}`,r=f.get(n);if(![`shift`,`alt`].includes(t)||!r)return;let i=Array.from(r),a=i.indexOf(t);i.forEach((e,t)=>{t>=a&&(s.delete(e),m(e,!1))}),r.clear()}function y(e,t){let n=e.key?.toLowerCase(),r=[e.code?.toLowerCase(),n].filter(Boolean);if(n){n&&(t?s.add(n):s.delete(n));for(let e of r)p.add(e),m(e,t);g(t,e,[...s,...r]),_(t,n),n===`meta`&&!t&&(d.forEach(e=>{s.delete(e),m(e,!1)}),d.clear())}}H(r,`keydown`,e=>(y(e,!0),o(e)),{passive:a}),H(r,`keyup`,e=>(y(e,!1),o(e)),{passive:a}),H(`blur`,h,{passive:a}),H(`focus`,h,{passive:a});let x=new Proxy(u,{get(e,r,a){if(typeof r!=`string`)return Reflect.get(e,r,a);if(r=r.toLowerCase(),r in i&&(r=i[r]),!(r in u))if(/[+_-]/.test(r)){let e=r.split(/[+_-]/g).map(e=>e.trim());u[r]=c(()=>e.map(e=>n(x[e])).every(Boolean))}else u[r]=v(!1);let o=Reflect.get(e,r,a);return t?n(o):o}});return x}var Ge={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 Ke(e={}){let{type:t=`page`,touch:n=!0,resetOnTouchEnds:r=!1,initialValue:i={x:0,y:0},window:a=B,target:o=a,scroll:s=!0,eventFilter:c}=e,l=null,u=0,d=0,f=v(i.x),p=v(i.y),m=v(null),h=typeof t==`function`?t:Ge[t],g=e=>{let t=h(e);l=e,t&&([f.value,p.value]=t,m.value=`mouse`),a&&(u=a.scrollX,d=a.scrollY)},_=e=>{if(e.touches.length>0){let t=h(e.touches[0]);t&&([f.value,p.value]=t,m.value=`touch`)}},y=()=>{if(!l||!a)return;let e=h(l);l instanceof MouseEvent&&e&&(f.value=e[0]+a.scrollX-u,p.value=e[1]+a.scrollY-d)},b=()=>{f.value=i.x,p.value=i.y},x=c?e=>c(()=>g(e),{}):e=>g(e),S=c?e=>c(()=>_(e),{}):e=>_(e),C=c?()=>c(()=>y(),{}):()=>y();if(o){let e={passive:!0};H(o,[`mousemove`,`dragover`],x,e),n&&t!==`movement`&&(H(o,[`touchstart`,`touchmove`],S,e),r&&H(o,`touchend`,b,e)),s&&t===`page`&&H(a,`scroll`,C,e)}return{x:f,y:p,sourceType:m}}function qe(e,t={}){let{windowResize:n=!0,windowScroll:r=!0,handleOutside:i=!0,window:a=B}=t,o=t.type||`page`,{x:s,y:c,sourceType:l}=Ke(t),u=v(e??a?.document.body),d=v(0),f=v(0),p=v(0),h=v(0),g=v(0),_=v(0),y=v(!0);function b(){if(!a)return;let e=V(u);if(!(!e||!(e instanceof Element)))for(let t of e.getClientRects()){let{left:e,top:n,width:r,height:l}=t;p.value=e+(o===`page`?a.pageXOffset:0),h.value=n+(o===`page`?a.pageYOffset:0),g.value=l,_.value=r;let u=s.value-p.value,m=c.value-h.value;if(y.value=r===0||l===0||u<0||m<0||u>r||m>l,(i||!y.value)&&(d.value=u,f.value=m),!y.value)break}}let x=[];function S(){x.forEach(e=>e()),x.length=0}if(R(()=>{b()}),a){let{stop:e}=Y(u,b),{stop:t}=W(u,b,{attributeFilter:[`style`,`class`]}),i=m([u,s,c],b);x.push(e,t,i),H(document,`mouseleave`,()=>y.value=!0,{passive:!0}),r&&x.push(H(`scroll`,b,{capture:!0,passive:!0})),n&&x.push(H(`resize`,b,{passive:!0}))}return{x:s,y:c,sourceType:l,elementX:d,elementY:f,elementPositionX:p,elementPositionY:h,elementHeight:g,elementWidth:_,isOutside:y,stop:S}}function Je(e){let t=window.getComputedStyle(e);if(t.overflowX===`scroll`||t.overflowY===`scroll`||t.overflowX===`auto`&&e.clientWidth<e.scrollWidth||t.overflowY===`auto`&&e.clientHeight<e.scrollHeight)return!0;{let t=e.parentNode;return!t||t.tagName===`BODY`?!1:Je(t)}}function Ye(e){let t=e||window.event,n=t.target;return Je(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}var $=new WeakMap;function Xe(e,t=!1){let r=v(t),i=null,a=``;m(M(e),e=>{let t=Q(n(e));if(t){let e=t;if($.get(e)||$.set(e,e.style.overflow),e.style.overflow!==`hidden`&&(a=e.style.overflow),e.style.overflow===`hidden`)return r.value=!0;if(r.value)return e.style.overflow=`hidden`}},{immediate:!0});let o=()=>{let t=Q(n(e));!t||r.value||(A&&(i=H(t,`touchmove`,e=>{Ye(e)},{passive:!1})),t.style.overflow=`hidden`,r.value=!0)},s=()=>{let t=Q(n(e));!t||!r.value||(A&&i?.(),t.style.overflow=a,$.delete(t),r.value=!1)};return C(s),c({get(){return r.value},set(e){e?o():s()}})}function Ze(t,n,r,i={}){var a,s;let{clone:l=!1,passive:u=!1,eventName:d,deep:f=!1,defaultValue:p,shouldEmit:h}=i,g=o(),_=r||g?.emit||(g==null||(a=g.$emit)==null?void 0:a.bind(g))||(g==null||(s=g.proxy)==null||(s=s.$emit)==null?void 0:s.bind(g?.proxy)),v=d;n||=`modelValue`,v||=`update:${n.toString()}`;let b=e=>l?typeof l==`function`?l(e):Oe(e):e,x=()=>T(t[n])?b(t[n]):p,S=e=>{h?h(e)&&_(v,e):_(v,e)};if(u){let r=y(x()),i=!1;return m(()=>t[n],t=>{i||(i=!0,r.value=b(t),e(()=>i=!1))}),m(r,e=>{!i&&(e!==t[n]||f)&&S(e)},{deep:f}),r}else return c({get(){return x()},set(e){S(e)}})}export{Ze as C,fe as D,ae as E,pe as O,Xe as S,S as T,We as _,G as a,Y as b,Fe as c,Re as d,Z as f,He as g,X as h,Ce as i,Ie as l,Ve as m,ve as n,Ee as o,H as p,Se as r,De as s,ge as t,Le as u,Ke as v,x as w,Be as x,qe as y};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"./BYiuS205.js";import{A as t,C as n,Jt as r,M as i,S as a,Z as o,h as s,kt as c,lt as l,q as u,w as d,x as f}from"./CUBdwZVs.js";import{C as p}from"./BTfiKBAm.js";import{n as m,o as h}from"#entry";import{r as g,t as _}from"./C5iGLYf8.js";import{t as v}from"./BTkQJesx.js";import{s as y}from"./D8ugdtv-.js";import{t as b}from"./bqLEejUC.js";var x={key:0},S={key:2},C={op50:``},w={key:3},T=[`textContent`],E=[`textContent`],D=Object.assign(i({__name:`RawEventsTable`,props:{events:{},fields:{default:()=>[`event_id`,`action`,`module_id`,`plugin_name`,`timestamp`,`content`,`*`]},session:{}},setup(e){let i=e;function p(e,t){let n=new Set(t);return n.has(`content`)&&n.add(`content`),n.has(`plugin_name`)&&n.add(`plugin_index`),Object.fromEntries(Object.entries(e).filter(([e])=>!n.has(e)))}function m(e){return e.action===`HookLoadCallEnd`||e.action===`HookTransformCallStart`||e.action===`HookTransformCallEnd`?e.content:null}return(y,D)=>{let O=_,k=b;return u(),d(s,null,[e.events.length?n(``,!0):(u(),d(`div`,x,[...D[0]||=[f(`div`,{p5:``,italic:``},` No events found `,-1)]])),f(`table`,null,[f(`tbody`,null,[(u(!0),d(s,null,o(i.events,_=>(u(),d(`tr`,{key:_.event_id},[(u(!0),d(s,null,o(i.fields,i=>(u(),d(`td`,{key:i,px2:``},[i===`module_id`?(u(),a(O,{key:0,id:`module_id`in _?_.module_id:``,session:e.session},null,8,[`id`,`session`])):i===`action`?(u(),a(g,{key:1,text:_.action},null,8,[`text`])):i===`plugin_name`&&`plugin_name`in _?(u(),d(`div`,S,[t(k,{"font-mono":``,name:_.plugin_name},null,8,[`name`]),f(`code`,C,`#`+r(_.plugin_id),1)])):i===`event_id`?(u(),d(`div`,w,r(_.event_id),1)):i===`content`&&m(_)?(u(),a(c(h),{key:4},{popper:l(()=>[f(`pre`,{p1:``,"text-sm":``,textContent:r(m(_))},null,8,T)]),default:l(()=>[D[1]||=f(`div`,{"i-ph-code":``},null,-1)]),_:2},1024)):i===`timestamp`&&`timestamp`in _?(u(),a(v,{key:5,"text-sm":``,timestamp:_.timestamp},null,8,[`timestamp`])):i===`*`?(u(),d(`pre`,{key:6,"text-sm":``,textContent:r(p(_,e.fields))},null,8,E)):n(``,!0)]))),128))]))),128))])])],64)}}}),{__name:`DataRawEventsTable`}),O={key:1},k=i({__name:`raw`,props:{session:{}},setup(r){let i=r,o=e(),l=p().query,h=y(async()=>await o.value.call(`vite:rolldown:get-module-raw-events`,{session:i.session.id,module:l.module}),{events:[]});return(e,i)=>{let o=m,l=D;return u(),d(s,null,[c(h).isLoading?(u(),a(o,{key:0})):n(``,!0),f(`div`,null,[c(h).isReady?(u(),a(l,{key:0,events:c(h).state.value.events,session:r.session},null,8,[`events`,`session`])):(u(),d(`div`,O,[t(o)]))])],64)}}});export{k as default};
|