1import{aC as L,c as T,aD as p,X as N,aE as C,aF as $,aG as H,ad as G,aH as W,aI as J,z as j,aJ as X,aK as Y,B as Q,az as S,aL as Z,I as x,N as K,i as A,aM as k,Y as V,aN as ee,aO as ae}from"#entry";const te=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],se=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],ne="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",P=[];class ie{_data=new E;_hash=new E([...te]);_nDataBytes=0;_minBufferSize=0;finalize(e){e&&this._append(e);const s=this._nDataBytes*8,a=this._data.sigBytes*8;return this._data.words[a>>>5]|=128<<24-a%32,this._data.words[(a+64>>>9<<4)+14]=Math.floor(s/4294967296),this._data.words[(a+64>>>9<<4)+15]=s,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(e,s){const a=this._hash.words;let n=a[0],o=a[1],r=a[2],i=a[3],f=a[4],m=a[5],c=a[6],l=a[7];for(let u=0;u<64;u++){if(u<16)P[u]=e[s+u]|0;else{const w=P[u-15],d=(w<<25|w>>>7)^(w<<14|w>>>18)^w>>>3,y=P[u-2],b=(y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10;P[u]=d+P[u-7]+b+P[u-16]}const g=f&m^~f&c,_=n&o^n&r^o&r,h=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),D=(f<<26|f>>>6)^(f<<21|f>>>11)^(f<<7|f>>>25),v=l+D+g+se[u]+P[u],B=h+_;l=c,c=m,m=f,f=i+v|0,i=r,r=o,o=n,n=v+B|0}a[0]=a[0]+n|0,a[1]=a[1]+o|0,a[2]=a[2]+r|0,a[3]=a[3]+i|0,a[4]=a[4]+f|0,a[5]=a[5]+m|0,a[6]=a[6]+c|0,a[7]=a[7]+l|0}_append(e){typeof e=="string"&&(e=E.fromUtf8(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes}_process(e){let s,a=this._data.sigBytes/64;e?a=Math.ceil(a):a=Math.max((a|0)-this._minBufferSize,0);const n=a*16,o=Math.min(n*4,this._data.sigBytes);if(n){for(let r=0;r<n;r+=16)this._doProcessBlock(this._data.words,r);s=this._data.words.splice(0,n),this._data.sigBytes-=o}return new E(s,o)}}class E{words;sigBytes;constructor(e,s){e=this.words=e||[],this.sigBytes=s===void 0?e.length*4:s}static fromUtf8(e){const s=unescape(encodeURIComponent(e)),a=s.length,n=[];for(let o=0;o<a;o++)n[o>>>2]|=(s.charCodeAt(o)&255)<<24-o%4*8;return new E(n,a)}toBase64(){const e=[];for(let s=0;s<this.sigBytes;s+=3){const a=this.words[s>>>2]>>>24-s%4*8&255,n=this.words[s+1>>>2]>>>24-(s+1)%4*8&255,o=this.words[s+2>>>2]>>>24-(s+2)%4*8&255,r=a<<16|n<<8|o;for(let i=0;i<4&&s*8+i*6<this.sigBytes*8;i++)e.push(ne.charAt(r>>>6*(3-i)&63))}return e.join("")}concat(e){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let s=0;s<e.sigBytes;s++){const a=e.words[s>>>2]>>>24-s%4*8&255;this.words[this.sigBytes+s>>>2]|=a<<24-(this.sigBytes+s)%4*8}else for(let s=0;s<e.sigBytes;s+=4)this.words[this.sigBytes+s>>>2]=e.words[s>>>2];this.sigBytes+=e.sigBytes}}function re(t){return new ie().finalize(t).toBase64()}function O(t){return re(L(t))}const oe={trailing:!0};function ce(t,e=25,s={}){if(s={...oe,...s},!Number.isFinite(e))throw new TypeError("Expected `wait` to be a finite number");let a,n,o=[],r,i;const f=(l,u)=>(r=ue(t,l,u),r.finally(()=>{if(r=null,s.trailing&&i&&!n){const g=f(l,i);return i=null,g}}),r),m=function(...l){return s.trailing&&(i=l),r||new Promise(u=>{const g=!n&&s.leading;clearTimeout(n),n=setTimeout(()=>{n=null;const _=s.leading?a:f(this,l);i=null;for(const h of o)h(_);o=[]},e),g?(a=f(this,l),u(a)):o.push(u)})},c=l=>{l&&(clearTimeout(l),n=null)};return m.isPending=()=>!!n,m.cancel=()=>{c(n),o=[],i=null},m.flush=()=>
1{if(c(n),!i||r)return;const l=i;return i=null,f(this,l)},m}async function ue(t,e,s){return await t.apply(e,s)}const le=t=>t==="defer"||t===!1;function fe(...t){const e=typeof t[t.length-1]=="string"?t.pop():void 0;de(t[0],t[1])&&t.unshift(e);let[s,a,n={}]=t,o=!1;const r=T(()=>p(s));if(typeof r.value!="string")throw new TypeError("[nuxt] [useAsyncData] key must be a string.");if(typeof a!="function")throw new TypeError("[nuxt] [useAsyncData] handler must be a function.");const i=N();n.server??=!0,n.default??=_e,n.getCachedData??=I,n.lazy??=!1,n.immediate??=!0,n.deep??=C.deep,n.dedupe??="cancel",n._functionName,i._asyncData[r.value];function f(){const _={cause:"initial",dedupe:n.dedupe};return i._asyncData[r.value]?._init||(_.cachedData=n.getCachedData(r.value,i,{cause:"initial"}),i._asyncData[r.value]=U(i,r.value,a,n,_.cachedData)),()=>i._asyncData[r.value].execute(_)}const m=f(),c=i._asyncData[r.value];c._deps++;const l=n.server!==!1&&i.payload.serverRendered;{let _=function(d){const y=i._asyncData[d];y?._deps&&(y._deps--,y._deps===0&&y?._off())};const h=$();if(h&&l&&n.immediate&&!h.sp&&(h.sp=[]),h&&!h._nuxtOnBeforeMountCbs){h._nuxtOnBeforeMountCbs=[];const d=h._nuxtOnBeforeMountCbs;H(()=>{d.forEach(y=>{y()}),d.splice(0,d.length)}),G(()=>d.splice(0,d.length))}const D=h&&(h._nuxtClientOnly||W(J,!1));l&&i.isHydrating&&(c.error.value||c.data.value!=null)?(c.pending.value=!1,c.status.value=c.error.value?"error":"success"):h&&(!D&&i.payload.serverRendered&&i.isHydrating||n.lazy)&&n.immediate?h._nuxtOnBeforeMountCbs.push(m):n.immediate&&m();const v=Y(),B=j(r,(d,y)=>{if((d||y)&&d!==y){o=!0;const b=i._asyncData[y]?.data.value!==C.value,F=i._asyncDataPromises[y]!==void 0,z={cause:"initial",dedupe:n.dedupe};if(!i._asyncData[d]?._init){let R;y&&b?R=i._asyncData[y].data.value:(R=n.getCachedData(d,i,{cause:"initial"}),z.cachedData=R),i._asyncData[d]=U(i,d,a,n,R)}i._asyncData[d]._deps++,y&&_(y),(n.immediate||b||F)&&i._asyncData[d].execute(z),k(()=>{o=!1})}},{flush:"sync"}),w=n.watch?j(n.watch,()=>{o||c._execute({cause:"watch",dedupe:n.dedupe})}):()=>{};v&&X(()=>{B(),w(),_(r.value)})}const u={data:M(()=>i._asyncData[r.value]?.data),pending:M(()=>i._asyncData[r.value]?.pending),status:M(()=>i._asyncData[r.value]?.status),error:M(()=>i._asyncData[r.value]?.error),refresh:(..._)=>i._asyncData[r.value]?._init?i._asyncData[r.value].execute(..._):f()(),execute:(..._)=>u.refresh(..._),clear:()=>q(i,r.value)},g=Promise.resolve(i._asyncDataPromises[r.value]).then(()=>u);return Object.assign(g,u),g}function M(t){return T({get(){return t()?.value},set(e){const s=t();s&&(s.value=e)}})}function de(t,e){return!(typeof t=="string"||typeof t=="object"&&t!==null||typeof t=="function"&&typeof e=="function")}function q(t,e){e in t.payload.data&&(t.payload.data[e]=void 0),e in t.payload._errors&&(t.payload._errors[e]=C.errorValue),t._asyncData[e]&&(t._asyncData[e].data.value=void 0,t._asyncData[e].error.value=C.errorValue,t._asyncData[e].pending.value=!1,t._asyncData[e].status.value="idle"),e in t._asyncDataPromises&&(t._asyncDataPromises[e]&&(t._asyncDataPromises[e].cancelled=!0),t._asyncDataPromises[e]=void 0)}function he(t,e){const s={};for(const a of e)s[a]=t[a];return s}function U(t,e,s,a,n){t.payload._errors[e]??=C.errorValue;const o=a.getCachedData!==I,r=s,i=a.deep?Q:S,f=n!=null,m=t.hook("app:data:refresh",async l=>{(!l||l.includes(e))&&await c.execute({cause:"refresh:hook"})}),c={data:i(f?n:a.default()),pending:S(!f),error:Z(t.payload._errors,e),status:S("idle"),execute:(...l)=>{const[u,g=void 0]=l,_=u&&g===void 0&&typeof u=="object"?u:{};if(t._asyncDataPromises[e]){if(le(_.dedupe??a.dedupe))return t._asyncDataPromises[e];t._asyncDataPromises[e].cancelled=!0}if(_.cause==="initial"||t.isHydrating){const D="cachedData"in _?_.cachedData:a.getCachedData(e,t,{cause:_.cause??"refresh:manual"});if(D!=null)return t.payload.data[e]=c.data.value=D,c.error.value=C.errorValue,c.status.value="success",Promise.resolve(D)}c.pending.value=!0,c.status.value="pending";const h=new Promise((D,v)=>{try{D(r(t))}catch(B){v(B)}}).then(async D=>{if(h.cancelled)return t._asyncDataPromises[e];let v=D;a.transform&&(v=await a.transform(D)),a.pick&&(v=he(v,a.pick)),t.payload.data[e]=v,c.data.value=v,c.error.value=C.errorValue,c.status.value="success"}).catch(D=>
1{if(h.cancelled)return t._asyncDataPromises[e];c.error.value=K(D),c.data.value=A(a.default()),c.status.value="error"}).finally(()=>{h.cancelled||(c.pending.value=!1,delete t._asyncDataPromises[e])});return t._asyncDataPromises[e]=h,t._asyncDataPromises[e]},_execute:ce((...l)=>c.execute(...l),0,{leading:!0}),_default:a.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{m(),t._asyncData[e]?._init&&(t._asyncData[e]._init=!1),o||x(()=>{t._asyncData[e]?._init||(q(t,e),c.execute=()=>Promise.resolve(),c.data.value=C.value)})}};return c}const _e=()=>C.value,I=(t,e,s)=>{if(e.isHydrating)return e.payload.data[t];if(s.cause!=="refresh:manual"&&s.cause!=="refresh:hook")return e.static.data[t]};function ye(t,e,s){const[a={},n]=typeof e=="string"?[{},e]:[e,s],o=T(()=>p(t)),r=T(()=>p(a.key)||"$f"+O([n,typeof o.value=="string"?o.value:"",...me(a)]));if(!a.baseURL&&typeof o.value=="string"&&o.value[0]==="/"&&o.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:i,lazy:f,default:m,transform:c,pick:l,watch:u,immediate:g,getCachedData:_,deep:h,dedupe:D,...v}=a,B=V({...ee,...v,cache:typeof a.cache=="boolean"?void 0:a.cache}),w={server:i,lazy:f,default:m,transform:c,pick:l,immediate:g,getCachedData:_,deep:h,dedupe:D,watch:u===!1?[]:[...u||[],B]};if(!g){let b=function(){w.immediate=!0};j(r,b,{flush:"sync",once:!0}),j([...u||[],B],b,{flush:"sync",once:!0})}let d;return fe(u===!1?r.value:r,()=>{d?.abort?.(new DOMException("Request aborted as another request to the same endpoint was initiated.","AbortError")),d=typeof AbortController<"u"?new AbortController:{};const b=p(a.timeout);let F;return b&&(F=setTimeout(()=>d.abort(new DOMException("Request aborted due to timeout.","AbortError")),b),d.signal.onabort=()=>clearTimeout(F)),(a.$fetch||globalThis.$fetch)(o.value,{signal:d.signal,...B}).finally(()=>{clearTimeout(F)})},w)}function me(t){const e=[p(t.method)?.toUpperCase()||"GET",p(t.baseURL)];for(const s of[t.params||t.query]){const a=p(s);if(!a)continue;const n={};for(const[o,r]of Object.entries(a))n[p(o)]=p(r);e.push(n)}if(t.body){const s=p(t.body);if(!s)e.push(O(s));else if(s instanceof ArrayBuffer)e.push(O(Object.fromEntries([...new Uint8Array(s).entries()].map(([a,n])=>[a,n.toString()]))));else if(s instanceof FormData){const a={};for(const n of s.entries()){const[o,r]=n;a[o]=r instanceof File?r.name:r}e.push(O(a))}else if(ae(s))e.push(O(V(s)));else try{e.push(O(s))}catch{console.warn("[useFetch] Failed to hash body",s)}}return e}function ve(t,e){return ye(t,{...e,$fetch:N().$apiFetch},"$fmuzugenG7")}export{fe as a,ve as u};
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.