vendor: 3,892 bytes, lines 1-5
1import{r as M,m as V,j as q,k as T,l as tt,n as et,p,q as W,s as z,v as st,x as nt,y as ot,z as ct,t as rt,A as D,B as ut}from"./index.CcCOGZoz.js";/*! 2 * pinia v2.3.1 3 * (c) 2025 Eduardo San Martin Morote 4 * @license MIT 5 */let J;const E=t=>J=t,K=Symbol();function L(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var R;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(R||(R={}));function St(){const t=q(!0),o=t.run(()=>M({}));let s=[],e=[];const r=V({install(u){E(r),r._a=u,u.provide(K,r),u.config.globalProperties.$pinia=r,e.forEach(a=>s.push(a)),e=[]},use(u){return this._a?s.push(u):e.push(u),this},_p:s,_a:null,_e:t,_s:new Map,state:o});return r}const Q=()=>{};function B(t,o,s,e=Q){t.push(o);const r=()=>{const u=t.indexOf(o);u>-1&&(t.splice(u,1),e())};return!s&&nt()&&ot(r),r}function P(t,...o){t.slice().forEach(s=>{s(...o)})}const ft=t=>t(),H=Symbol(),I=Symbol();function O(t,o){t instanceof Map&&o instanceof Map?o.forEach((s,e)=>t.set(e,s)):t instanceof Set&&o instanceof Set&&o.forEach(t.add,t);for(const s in o){if(!o.hasOwnProperty(s))continue;const e=o[s],r=t[s];L(r)&&L(e)&&t.hasOwnProperty(s)&&!p(e)&&!W(e)?t[s]=O(r,e):t[s]=e}return t}const at=Symbol();function lt(t){return!L(t)||!t.hasOwnProperty(at)}const{assign:y}=Object;function it(t){return!!(p(t)&&t.effect)}function ht(t,o,s,e){const{state:r,actions:u,getters:a}=o,f=s.state.value[t];let g;function b(){f||(s.state.value[t]=r?r():{});const S=rt(s.state.value[t]);return y(S,u,Object.keys(a||{}).reduce((v,m)=>(v[m]=V(D(()=>{E(s);const _=s._s.get(t);return a[m].call(_,_)})),v),{}))}return g=U(t,b,o,s,e,!0),g}function U(t,o,s={},e,r,u){let a;const f=y({actions:{}},s),g={deep:!0};let b,S,v=[],m=[],_;const d=e.state.value[t];!u&&!d&&(e.state.value[t]={}),M({});let N;function A(c){let n;b=S=!1,typeof c=="function"?(c(e.state.value[t]),n={type:R.patchFunction,storeId:t,events:_}):(O(e.state.value[t],c),n={type:R.patchObject,payload:c,storeId:t,events:_});const l=N=Symbol();ct().then(()=>{N===l&&(b=!0)}),S=!0,P(v,n,e.state.value[t])}const X=u?function(){const{state:n}=s,l=n?n():{};this.$patch(j=>{y(j,l)})}:Q;function Y(){a.stop(),v=[],m=[],e._s.delete(t)}const F=(c,n="")=>{if(H in c)return c[I]=n,c;const l=function(){E(e);const j=Array.from(arguments),w=[],k=[];function G(i){w.push(i)}function $(i){k.push(i)}P(m,{args:j,name:l[I],store:h,after:G,onError:$});let x;try{x=c.apply(this&&this.$id===t?this:h,j)}catch(i){throw P(k,i),i}return x instanceof Promise?x.then(i=>(P(w,i),i)).catch(i=>(P(k,i),Promise.reject(i))):(P(w,x),x)};return l[H]=!0,l[I]=n,l},Z={_p:e,$id:t,$onAction:B.bind(null,m),$patch:A,$reset:X,$subscribe(c,n={}){const l=B(v,c,n.detached,()=>j()),j=a.run(()=>tt(()=>e.state.value[t],w=>{(n.flush==="sync"?S:b)&&c({storeId:t,type:R.direct,events:_},w)},y({},g,n)));return l},$dispose:Y},h=et(Z);e._s.set(t,h);const C=(e._a&&e._a.runWithContext||ft)(()=>e._e.run(()=>(a=q()).run(()=>o({action:F}))));for(const c in C){const n=C[c];if(p(n)&&!it(n)||W(n))u||(d&<(n)&&(p(n)?n.value=d[c]:O(n,d[c])),e.state.value[t][c]=n);else if(typeof n=="function"){const l=F(n,c);C[c]=l,f.actions[c]=n}}return y(h,C),y(z(h),C),Object.defineProperty(h,"$state",{get:()=>e.state.value[t],set:c=>{A(n=>{y(n,c)})}}),e._p.forEach(c=>{y(h,a.run(()=>c({store:h,app:e._a,pinia:e,options:f})))}),d&&u&&s.hydrate&&s.hydrate(h.$state,d),b=!0,S=!0,h}/*! #__NO_SIDE_EFFECTS__ */function vt(t,o,s){let e,r;const u=typeof o=="function";typeof t=="string"?(e=t,r=u?s:o):(r=t,e=t.id);function a(f,g){const b=st();return f=f||(b?T(K,null):null),f&&E(f),f=J,f._s.has(e)||(u?U(e,o,r,f):ht(e,r,f)),f._s.get(e)}return a.$id=e,a}function mt(t){{const o=z(t),s={};for(const e in o){const r=o[e];r.effect?s[e]=D({get:()=>t[e],set(u){t[e]=u}}):(p(r)||W(r))&&(s[e]=ut(t,e))}return s}}export{St as c,vt as d,mt as s};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.