PageSourceSearch

https://hermeneus.eu/build/assets/pinia-C77mTVcJ.js

js hermeneus.eu collected 2026-10-07 00:28:38 UTC 4,817 bytes, 6 lines download raw bytes

1import{as as D,b8 as H,aM as J,aD as tt,ax as et,b6 as st,aI as E,aG as N,r as K,at as nt,a_ as ot,L as ct,n as rt,bs as it,a9 as q,br as at}from"./_plugin-vue_export-helper-CcwJHmZ5.js";function ut(t){return{all:t=t||new Map,on:function(n,s){var e=t.get(n);e?e.push(s):t.set(n,[s])},off:function(n,s){var e=t.get(n);e&&(s?e.splice(e.indexOf(s)>>>0,1):t.set(n,[]))},emit:function(n,s){var e=t.get(n);e&&e.slice().map(function(o){o(s)}),(e=t.get("*"))&&e.slice().map(function(o){o(n,s)})}}}const R=ut(),St={$on:(...t)=>R.on(...t),$off:(...t)=>R.off(...t),$all:(...t)=>R.all,$emit:(...t)=>R.emit(...t)};/*!
2 * pinia v2.3.1
3 * (c) 2025 Eduardo San Martin Morote
4 * @license MIT
5 */let z;const I=t=>z=t,W=Symbol();function k(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var x;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(x||(x={}));const ft=typeof window<"u";function mt(){const t=D(!0),n=t.run(()=>H({}));let s=[],e=[];const o=J({install(i){I(o),o._a=i,i.provide(W,o),i.config.globalProperties.$pinia=o,e.forEach(u=>s.push(u)),e=[]},use(i){return this._a?s.push(i):e.push(i),this},_p:s,_a:null,_e:t,_s:new Map,state:n});return o}const G=()=>{};function A(t,n,s,e=G){t.push(n);const o=()=>{const i=t.indexOf(n);i>-1&&(t.splice(i,1),e())};return!s&&nt()&&ot(o),o}function g(t,...n){t.slice().forEach(s=>{s(...n)})}const lt=t=>t(),B=Symbol(),O=Symbol();function L(t,n){t instanceof Map&&n instanceof Map?n.forEach((s,e)=>t.set(e,s)):t instanceof Set&&n instanceof Set&&n.forEach(t.add,t);for(const s in n){if(!n.hasOwnProperty(s))continue;const e=n[s],o=t[s];k(o)&&k(e)&&t.hasOwnProperty(s)&&!E(e)&&!N(e)?t[s]=L(o,e):t[s]=e}return t}const ht=Symbol();function bt(t){return!k(t)||!t.hasOwnProperty(ht)}const{assign:p}=Object;function pt(t){return!!(E(t)&&t.effect)}function vt(t,n,s,e){const{state:o,actions:i,getters:u}=n,a=s.state.value[t];let P;function b(){a||(s.state.value[t]=o?o():{});const v=it(s.state.value[t]);return p(v,i,Object.keys(u||{}).reduce((d,y)=>(d[y]=J(q(()=>{I(s);const S=s._s.get(t);return u[y].call(S,S)})),d),{}))}return P=Q(t,b,n,s,e,!0),P}function Q(t,n,s={},e,o,i){let u;const a=p({actions:{}},s),P={deep:!0};let b,v,d=[],y=[],S;const m=e.state.value[t];!i&&!m&&(e.state.value[t]={}),H({});let M;function F(r){let c;b=v=!1,typeof r=="function"?(r(e.state.value[t]),c={type:x.patchFunction,storeId:t,events:S}):(L(e.state.value[t],r),c={type:x.patchObject,payload:r,storeId:t,events:S});const f=M=Symbol();rt().then(()=>{M===f&&(b=!0)}),v=!0,g(d,c,e.state.value[t])}const U=i?function(){const{state:c}=s,f=c?c():{};this.$patch(_=>{p(_,f)})}:G;function X(){u.stop(),d=[],y=[],e._s.delete(t)}const V=(r,c="")=>{if(B in r)return r[O]=c,r;const f=function(){I(e);const _=Array.from(arguments),C=[],$=[];function Z(l){C.push(l)}function T(l){$.push(l)}g(y,{args:_,name:f[O],store:h,after:Z,onError:T});let w;try{w=r.apply(this&&this.$id===t?this:h,_)}catch(l){throw g($,l),l}return w instanceof Promise?w.then(l=>(g(C,l),l)).catch(l=>(g($,l),Promise.reject(l))):(g(C,w),w)};return f[B]=!0,f[O]=c,f},Y={_p:e,$id:t,$onAction:A.bind(null,y),$patch:F,$reset:U,$subscribe(r,c={}){const f=A(d,r,c.detached,()=>_()),_=u.run(()=>ct(()=>e.state.value[t],C=>{(c.flush==="sync"?v:b)&&r({storeId:t,type:x.direct,events:S},C)},p({},P,c)));return f},$dispose:X},h=st(Y);e._s.set(t,h);const j=(e._a&&e._a.runWithContext||lt)(()=>e._e.run(()=>(u=D()).run(()=>n({action:V}))));for(const r in j){const c=j[r];if(E(c)&&!pt(c)||N(c))i||(m&&bt(c)&&(E(c)?c.value=m[r]:L(c,m[r])),e.state.value[t][r]=c);else if(typeof c=="function"){const f=V(c,r);j[r]=f,a.actions[r]=c}}return p(h,j),p(K(h),j),Object.defineProperty(h,"$state",{get:()=>e.state.value[t],set:r=>{F(c=>{p(c,r)})}}),e._p.forEach(r=>{p(h,u.run(()=>r({store:h,app:e._a,pinia:e,options:a})))}),m&&i&&s.hydrate&&s.hydrate(h.$state,m),b=!0,v=!0,h}/*! #__NO_SIDE_EFFECTS__ */function _t(t,n,s){let e,o;const i=typeof n=="function";typeof t=="string"?(e=t,o=i?s:n):(o=t,e=t.id);function u(a,P){const b=et();return a=a||(b?tt(W,null):null),a&&I(a),a=z,a._s.has(e)||(i?Q(e,n,o,a):vt(e,o,a)),a._s.get(e)}return u.$id=e,u}function gt(t){{const n=K(t),s={};for(const e in n){const o=n[e];o.effect?s[e]=q({get:()=>t[e],set(i){t[e]=i}}):(E(o)||N(o))&&(s[e]=at(t,e))}return s}}const Pt=function(t){t.mixin({beforeCreate(){const n=this.$options;if(n.pinia){const s=n.pinia;if(!this._provided){const e={};Object.defineProperty(this,"_provided",{get:()=>e,set:o=>Object.assign(e,o)})}this._provided[W]=s,this.$pinia||(this.$pinia=s),s._a=this,ft&&I(s)}else!this.$pinia&&n.parent&&n.parent.$pinia&&(this.$pinia=n.parent.$pinia)},destroyed(){delete this._pStores}})};export{St as E,Pt as P,mt as c,_t as d,gt as s};
6//# sourceMappingURL=pinia-C77mTVcJ.js.map

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.