PageSourceSearch

https://farmstore.com/_nuxt/C2DDhTq9.js

js farmstore.com collected 2026-09-25 14:50:27 UTC 10,993 bytes, 1 lines download raw bytes

1var H=Object.defineProperty;var c=(e,r)=>H(e,"name",{value:r,configurable:!0});import{S as W,f as L}from"./a0qZg49g.js";import{a4 as q,V as B,a5 as D,a6 as K,o as A}from"./suji6ons.js";import{a as I,D as C,f as U,w as O,o as P,b as k,r as z,n as F,g as G,x as M,d as T,l as _,z as Y,q as J,Y as $,S as N,a2 as Q,ap as X}from"./GdOyMrFG.js";function Z(e={}){const r=[];let s=-1;const t=c((n=!1)=>({get(l,f,u){if(!n){const i=Reflect.get(l,f,u);if(typeof i<"u")return i;s++,r[s]=[]}return r[s].push({type:"get",key:f}),new Proxy(()=>{},t(!0))},apply(l,f,u){r[s].push({type:"apply",key:"",args:u})}}),"handler");return{proxy:new Proxy(e||{},t()),stack:r}}c(Z,"createNoopedRecordingProxy");function ee(e){const r={get(s,t,n){const l=Reflect.get(s,t,n);return typeof l=="object"?new Proxy(l,r):l},apply(s,t,n){Reflect.apply(s,t,n)}};return new Proxy(e,r)}c(ee,"createForwardingProxy");function te(e,r){r.forEach(s=>{let t=e,n=e;s.forEach(({type:l,key:f,args:u})=>{l==="get"?(n=t,t=t[f]):l==="apply"&&(t=t.call(n,...u))})})}c(te,"replayProxyRecordings");function re(e){return e.key||e.src||(typeof e.innerHTML=="string"?e.innerHTML:"")}c(re,"resolveScriptKey$1");const ne=["preconnect","dns-prefetch"];function oe(e,r,s){const t=typeof r=="string"?{src:r}:r,n=s||{},l=re(t),f=e._scripts?.[l];if(f)return f.setupTriggerHandler(n.trigger),f;n.beforeInit?.();const u=c(o=>{a.status=o,e.hooks.callHook("script:updated",h)},"syncStatus");W.forEach(o=>{const p=o,g=typeof t[p]=="function"?t[p].bind(n.eventContext):null;t[p]=m=>{u(o==="onload"?"loaded":o==="onerror"?"error":"loading"),g?.(m)}});const i={loaded:[],error:[]},d=new Set,y=c((o,p,g)=>{if(!e.ssr){if(g?.key){const m=`${g?.key}:${g.key}`;if(d.has(m))return;d.add(m)}if(i[o]){const m=i[o].push(p);return()=>i[o]?.splice(m-1,1)}return p(a.instance),()=>{}}},"_registerCb"),v=new Promise(o=>{if(e.ssr)return;const p=c(m=>requestAnimationFrame(()=>o(m)),"emit"),g=e.hooks.hook("script:updated",({script:m})=>{const b=m.status;if(m.id===l&&(b==="loaded"||b==="error")){if(b==="loaded")if(typeof n.use=="function"){const x=n.use();x&&p(x)}else p({});else b==="error"&&o(!1);g()}})}),a={_loadPromise:v,instance:!e.ssr&&n?.use?.()||null,proxy:null,id:l,status:"awaitingLoad",remove(){return a._triggerAbortController?.abort(),a._triggerPromises=[],a._warmupEl?.dispose(),a.entry?(a.entry.dispose(),a.entry=void 0,u("removed"),delete e._scripts?.[l],!0):!1},warmup(o){const{src:p}=t,g=!p.startsWith("/")||p.startsWith("//"),m=o&&ne.includes(o);let b=p;if(!o||m&&!g)return;if(m){const j=new URL(p);b=`${j.protocol}//${j.host}`}const x={href:b,rel:o,crossorigin:typeof t.crossorigin<"u"?t.crossorigin:g?"anonymous":void 0,referrerpolicy:typeof t.referrerpolicy<"u"?t.referrerpolicy:g?"no-referrer":void 0,fetchpriority:typeof t.fetchpriority<"u"?t.fetchpriority:"low",integrity:t.integrity,as:o==="preload"?"script":void 0};return a._warmupEl=e.push({link:[x]},{head:e,tagPriority:"high"}),a._warmupEl},load(o){if(a._triggerAbortController?.abort(),a._triggerPromises=[],!a.entry){u("loading");const p={defer:!0,fetchpriority:"low"};t.src&&(t.src.startsWith("http")||t.src.startsWith("//"))&&(p.crossorigin="anonymous",p.referrerpolicy="no-referrer"),a.entry=e.push({script:[{...p,...t}]},n)}return o&&y("loaded",o),v},onLoaded(o,p){return y("loaded",o,p)},onError(o,p){return y("error",o,p)},setupTriggerHandler(o){if(a.status==="awaitingLoad")if((typeof o>"u"||o==="client")&&!e.ssr||o==="server")a.load();else if(o instanceof Promise){if(e.ssr)return;a._triggerAbortController||(a._triggerAbortController=new AbortController,a._triggerAbortPromise=new Promise(g=>{a._triggerAbortController.signal.addEventListener("abort",()=>{a._triggerAbortController=null,g()})})),a._triggerPromises=a._triggerPromises||[];const p=a._triggerPromises.push(Promise.race([o.then(g=>typeof g>"u"||g?a.load:void 0),a._triggerAbortPromise]).catch(()=>{}).then(g=>{g?.()}).finally(()=>{a._triggerPromises?.splice(p,1)}))}else typeof o=="function"&&o(a.load)},_cbs:i};v.then(o=>{o!==!1?(a.instance=o,i.loaded?.forEach(p=>p(o)),i.loaded=null):(i.error?.forEach(p=>p()),i.error=null)});const h={script:a};if(a.setupTriggerHandler(n.trigger),n.use){const{proxy:o,stack:p}=Z(e.ssr?{}:n.use()||{});a.proxy=o,a.onLoaded(g=>{te(g,p),a.proxy=ee(g)})}return!n.warmupStrategy&&(typeof n.trigger>"u"||n.trigger==="client")&&(n.warmupStrategy="preload"),n.warmupStrategy&&a.warmup(n.warmupStrategy),e._scripts=Object.assign(e._scripts||{},{[l]:a}),a}c(oe,"useScript$2");function se(e,r){if(!r)return;const s=c((t,n)=>{if(!e._cbs[t])return n(e.instance),()=>{};let l=e._cbs[t].push(n);const f=c(()=>{l&&(e._cbs[t]?.splice(l-1,1),l=null)},"destroy");return P(f),f},"_registerCb");e.onLoaded=t=>s("loaded",t),e.onError=t=>s("error",t),P(()=>{e._triggerAbortController?.abort()})}c(se,"registerVueScopeHandlers");function ie(e,r){const s=typeof e=="string"?{src:e}:e,t=r||{},n=t?.head||q();t.head=n;const l=I();if(t.eventContext=l,l&&typeof t.trigger>"u")t.trigger=C;else if(U(t.trigger)){const u=t.trigger;let i;t.trigger=new Promise(d=>{i=O(u,y=>{y&&d(!0)},{immediate:!0}),P(()=>d(!1),!0)}).then(d=>(i?.(),d))}n._scriptStatusWatcher=n._scriptStatusWatcher||n.hooks.hook("script:updated",({script:u})=>{u._statusRef.value=u.status});const f=oe(n,s,t);return f._statusRef=f._statusRef||k(f.status),se(f,l),new Proxy(f,{get(u,i,d){return Reflect.get(u,i==="status"?"_statusRef":i,d)}})}c(ie,"useScript$1");function ce(){return A().public["nuxt-scripts"]}c(ce,"useNuxtScriptRuntimeConfig");function ue(e){return e.key||e.src||(typeof e.innerHTML=="string"?e.innerHTML:"")}c(ue,"resolveScriptKey");function ae(e,r){e=typeof e=="string"?{src:e}:e,r=L(r,ce()?.defaultScriptOptions);const s=String(ue(e)),t=B();if(r.head=r.head||D(),!r.head)throw new Error("useScript() has been called without Nuxt context.");t.$scripts=t.$scripts||z({}),t.$scripts?.[s],(r.trigger==="onNuxtReady"||r.trigger==="client")&&(r.warmupStrategy||(r.warmupStrategy="preload"),r.trigger==="onNuxtReady"&&(r.trigger=K));const n=ie(e,r),l=n.remove;return n.remove=()=>(t.$scripts[s]=void 0,l()),t.$scripts[s]=n,n}c(ae,"useScript");Object.freeze(Object.assign(()=>{},{__mock__:!0}));function le(e){return(A().public.scripts||{})[e]}c(le,"scriptRuntimeConfig");function fe(e,r,s){const t=le(e),n=Object.assign(s||{},typeof t=="object"?t:{}),l=r(n),f=L(n.scriptInput,l.scriptInput,{key:e}),u=Object.assign(n?.scriptOptions||{},l.scriptOptions||{}),i=u.beforeInit;return u.beforeInit=()=>{i?.(),l.clientInit?.()},ae(f,u)}c(fe,"useRegistryScript");function pe(e){return fe("cloudflareTurnstile",()=>({scriptInput:{src:"https://challenges.cloudflare.com/turnstile/v0/api.js"},scriptOptions:{use:c(()=>window.turnstile,"use")}}),e)}c(pe,"useScriptCloudflareTurnstile");function E(e){return G()?(P(e),!0):!1}c(E,"tryOnScopeDispose");const de=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ge=c(e=>e!=null,"notNullish"),ye=Object.prototype.toString,me=c(e=>ye.call(e)==="[object Object]","isObject"),R=c(()=>{},"noop");function w(e){return Array.isArray(e)?e:[e]}c(w,"toArray");function ve(e){return I()}c(ve,"getLifeCycleTarget");function he(e,r=!0,s){ve()?C(e,s):r?e():F(e)}c(he,"tryOnMounted");function be(e,r,s){return O(e,r,{...s,immediate:!0})}c(be,"watchImmediate");const V=de?window:void 0;function S(e){var r;const s=_(e);return(r=s?.$el)!=null?r:s}c(S,"unrefElement");function _e(...e){const r=[],s=c(()=>{r.forEach(u=>u()),r.length=0},"cleanup"),t=c((u,i,d,y)=>(u.addEventListener(i,d,y),()=>u.removeEventListener(i,d,y)),"register"),n=T(()=>{const u=w(_(e[0])).filter(i=>i!=null);return u.every(i=>
1typeof i!="string")?u:void 0}),l=be(()=>{var u,i;return[(i=(u=n.value)==null?void 0:u.map(d=>S(d)))!=null?i:[V].filter(d=>d!=null),w(_(n.value?e[1]:e[0])),w(Y(n.value?e[2]:e[1])),_(n.value?e[3]:e[2])]},([u,i,d,y])=>{if(s(),!u?.length||!i?.length||!d?.length)return;const v=me(y)?{...y}:y;r.push(...u.flatMap(a=>i.flatMap(h=>d.map(o=>t(a,h,o,v)))))},{flush:"post"}),f=c(()=>{l(),s()},"stop");return E(s),f}c(_e,"useEventListener");function xe(){const e=M(!1),r=I();return r&&C(()=>{e.value=!0},r),e}c(xe,"useMounted");function we(e){const r=xe();return T(()=>(r.value,!!e()))}c(we,"useSupported");function Se(e,r,s={}){const{root:t,rootMargin:n="0px",threshold:l=0,window:f=V,immediate:u=!0}=s,i=we(()=>f&&"IntersectionObserver"in f),d=T(()=>{const o=_(e);return w(o).map(S).filter(ge)});let y=R;const v=M(u),a=i.value?O(()=>[d.value,S(t),v.value],([o,p])=>{if(y(),!v.value||!o.length)return;const g=new IntersectionObserver(r,{root:S(p),rootMargin:n,threshold:l});o.forEach(m=>m&&g.observe(m)),y=c(()=>{g.disconnect(),y=R},"cleanup")},{immediate:u,flush:"post"}):R,h=c(()=>{y(),a(),v.value=!1},"stop");return E(h),{isSupported:i,isActive:v,pause(){y(),v.value=!1},resume(){v.value=!0},stop:h}}c(Se,"useIntersectionObserver");function Pe(e){let r;return new Promise(s=>{r=Se(e,t=>{for(const n of t)n.isIntersecting&&s(!0)},{rootMargin:"30px 0px 0px 0px",threshold:0}),E(()=>s(!1))}).finally(()=>{r.stop()})}c(Pe,"useElementVisibilityPromise");function ke(e){const{el:r,trigger:s}=e,t=(Array.isArray(e.trigger)?e.trigger:[e.trigger]).filter(Boolean);if(!s||t.includes("immediate")||t.includes("onNuxtReady"))return"onNuxtReady";if(t.some(f=>["visibility","visible"].includes(f)))return r?Pe(r):new Promise(()=>{});const n={},l=new Promise(f=>{const u=typeof r<"u"?r:document.body,i=_e(u,t,()=>{i(),f(!0)},{once:!0,passive:!0});he(()=>{O(u,d=>{d&&t.forEach(y=>{d.dataset[`script_${y}`]&&(i(),f(!0))})},{immediate:!0})}),E(()=>f(!1))});return Object.assign(l,{ssrAttrs:n})}c(ke,"useScriptTriggerElement");const Ce={__name:"NuxtTurnstile",props:{modelValue:{type:String,required:!1},trigger:{type:[String,Array,Boolean],required:!1},element:{type:String,required:!1,default:"div"},siteKey:{type:String,required:!1},options:{type:Object,required:!1,default:c(()=>({}),"default")},resetInterval:{type:Number,required:!1,default:1e3*250}},emits:["update:modelValue"],setup(e,{expose:r,emit:s}){const t=e,n=s,l=A().public.turnstile,f=k(),u=k(!1);let i,d;const{onLoaded:y}=pe({scriptOptions:{trigger:ke({trigger:t.trigger,el:f})}});let v,a;const h=c(()=>{i&&v(i)},"reset"),o=c(()=>{u.value=!0,clearInterval(d),i&&a(i)},"unmount");return C(()=>{y(async({render:p,reset:g,remove:m})=>{v=g,a=m,i=await p(f.value,{sitekey:t.siteKey||l.siteKey,callback:c(b=>n("update:modelValue",b),"callback"),...t.options}),d=setInterval(h,t.resetInterval),u.value&&o()})}),J(o),r({reset:h}),(p,g)=>(N(),$(Q(e.element),{ref_key:"el",ref:f},null,512))}},Ie={__name:"Captcha",props:{modelValue:{default:""},modelModifiers:{}},emits:["update:modelValue"],setup(e){const r=k(),s=X(e,"modelValue");return(t,n)=>{const l=Ce;return N(),$(l,{ref_key:"turnstile",ref:r,modelValue:s.value,"onUpdate:modelValue":n[0]||(n[0]=f=>s.value=f),style:{width:"100%",height:"80px",display:"flex",justifyContent:"center",alignItems:"center",marginTop:"8px"}},null,8,["modelValue"])}}};export{Ie as _};

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.