vendor: 3,554 bytes, lines 1-7
1import{k as t,r as e,m as n,l as s,p as o,w as c,q as a,i as r,s as i,t as u,g as f,d as p,n as l,v as h,e as d}from"../@vue/@vue.6d8ed41d.js"; 2/*! 3 * pinia v2.1.7 4 * (c) 2023 Eduardo San Martin Morote 5 * @license MIT 6 */ 7let y;const v=t=>y=t,b=Symbol();function _(t){return t&&"object"==typeof t&&"[object Object]"===Object.prototype.toString.call(t)&&"function"!=typeof t.toJSON}var j,O;function $(){const s=t(!0),o=s.run((()=>e({})));let c=[],a=[];const r=n({install(t){v(r),r._a=t,t.provide(b,r),t.config.globalProperties.$pinia=r,a.forEach((t=>c.push(t))),a=[]},use(t){return this._a?c.push(t):a.push(t),this},_p:c,_a:null,_e:s,_s:new Map,state:o});return r}(O=j||(j={})).direct="direct",O.patchObject="patch object",O.patchFunction="patch function";const g=()=>{};function m(t,e,n,s=g){t.push(e);const o=()=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),s())};return!n&&f()&&p(o),o}function P(t,...e){t.slice().forEach((t=>{t(...e)}))}const S=t=>t();function w(t,e){t instanceof Map&&e instanceof Map&&e.forEach(((e,n)=>t.set(n,e))),t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const s=e[n],o=t[n];_(o)&&_(s)&&t.hasOwnProperty(n)&&!r(s)&&!i(s)?t[n]=w(o,s):t[n]=s}return t}const E=Symbol();const{assign:x}=Object;function I(n,s,o={},f,p,h){let d;const y=x({actions:{}},o),b={deep:!0};let O,$,I,M=[],k=[];const A=f.state.value[n];let F;function q(t){let e;O=$=!1,"function"==typeof t?(t(f.state.value[n]),e={type:j.patchFunction,storeId:n,events:I}):(w(f.state.value[n],t),e={type:j.patchObject,payload:t,storeId:n,events:I});const s=F=Symbol();l().then((()=>{F===s&&(O=!0)})),$=!0,P(M,e,f.state.value[n])}h||A||(f.state.value[n]={}),e({});const C=h?function(){const{state:t}=o,e=t?t():{};this.$patch((t=>{x(t,e)}))}:g;function J(t,e){return function(){v(f);const s=Array.from(arguments),o=[],c=[];let a;P(k,{args:s,name:t,store:W,after:function(t){o.push(t)},onError:function(t){c.push(t)}});try{a=e.apply(this&&this.$id===n?this:W,s)}catch(r){throw P(c,r),r}return a instanceof Promise?a.then((t=>(P(o,t),t))).catch((t=>(P(c,t),Promise.reject(t)))):(P(o,a),a)}}const N={_p:f,$id:n,$onAction:m.bind(null,k),$patch:q,$reset:C,$subscribe(t,e={}){const s=m(M,t,e.detached,(()=>o())),o=d.run((()=>c((()=>f.state.value[n]),(s=>{("sync"===e.flush?$:O)&&t({storeId:n,type:j.direct,events:I},s)}),x({},b,e))));return s},$dispose:function(){d.stop(),M=[],k=[],f._s.delete(n)}},W=a(N);f._s.set(n,W);const z=(f._a&&f._a.runWithContext||S)((()=>f._e.run((()=>(d=t()).run(s)))));for(const t in z){const e=z[t];if(r(e)&&(!r(D=e)||!D.effect)||i(e))h||(!A||_(B=e)&&B.hasOwnProperty(E)||(r(e)?e.value=A[t]:w(e,A[t])),f.state.value[n][t]=e);else if("function"==typeof e){const n=J(t,e);z[t]=n,y.actions[t]=e}}var B,D;return x(W,z),x(u(W),z),Object.defineProperty(W,"$state",{get:()=>f.state.value[n],set:t=>{q((e=>{x(e,t)}))}}),f._p.forEach((t=>{x(W,d.run((()=>t({store:W,app:f._a,pinia:f,options:y}))))})),A&&h&&o.hydrate&&o.hydrate(W.$state,A),O=!0,$=!0,W}function M(t,e,c){let a,r;const i="function"==typeof e;function u(t,c){const u=s();(t=t||(u?o(b,null):null))&&v(t),(t=y)._s.has(a)||(i?I(a,e,r,t):function(t,e,s,o){const{state:c,actions:a,getters:r}=e,i=s.state.value[t];let u;u=I(t,(function(){i||(s.state.value[t]=c?c():{});const e=h(s.state.value[t]);return x(e,a,Object.keys(r||{}).reduce(((e,o)=>(e[o]=n(d((()=>{v(s);const e=s._s.get(t);return r[o].call(e,e)}))),e)),{}))}),e,s,0,!0)}(a,r,t));return t._s.get(a)}return"string"==typeof t?(a=t,r=i?c:e):(r=t,a=t.id),u.$id=a,u}export{$ as c,M as d};
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.