PageSourceSearch

https://babki.app/build/assets/useForwardExpose-CA5ZRFK5.js

js babki.app collected 2026-10-02 00:26:11 UTC 5,030 bytes, 1 lines download raw bytes

1import{w as S,a9 as K,a0 as C,Q as h,Z as R,X as U,M as w,a4 as T,k as M,aa as V,ab as _,ac as G,$ as N,s as O,T as A,L as f,v as I,N as J,y as W,ad as B,ae as z}from"./index-D9grhoKh.js";function ie(e,t){var n;const o=N();return V(()=>{o.value=e()},{...t,flush:(n=t?.flush)!==null&&n!==void 0?n:"sync"}),_(o)}function L(e,t){return R()?(U(e,t),!0):!1}function ue(e){let t=!1,n;const o=C(!0);return((...r)=>(t||(n=o.run(()=>e(...r)),t=!0),n))}const x=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Q=e=>typeof e<"u",X=Object.prototype.toString,Z=e=>X.call(e)==="[object Object]",le=q();function q(){var e,t,n;return x&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function E(e){return Array.isArray(e)?e:[e]}function H(e){return h()}function se(e){if(!x)return e;let t=0,n,o;const r=()=>{t-=1,o&&t<=0&&(o.stop(),n=void 0,o=void 0)};return((...i)=>(t+=1,o||(o=C(!0),n=o.run(()=>e(...i))),L(r),n))}function Y(e){return w(e)?T(new Proxy({},{get(t,n,o){return M(Reflect.get(e.value,n,o))},set(t,n,o){return w(e.value[n])&&!w(o)?e.value[n].value=o:e.value[n]=o,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):T(e)}function F(e){return Y(O(e))}function ae(e,...t){const n=t.flat(),o=n[0];return F(()=>Object.fromEntries(typeof o=="function"?Object.entries(A(e)).filter(([r,i])=>!o(f(i),r)):Object.entries(A(e)).filter(r=>!n.includes(r[0]))))}function ce(e,t=1e4){return G((n,o)=>{let r=f(e),i;const l=()=>setTimeout(()=>{r=f(e),o()},f(t));return L(()=>{clearTimeout(i)}),{get(){return n(),r},set(u){r=u,o(),clearTimeout(i),i=l()}}})}function fe(e,t){H()&&K(e,t)}function ee(e,t,n){return S(e,t,{...n,immediate:!0})}const k=x?window:void 0;function D(e){var t;const n=f(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function te(...e){const t=(o,r,i,l)=>(o.addEventListener(r,i,l),()=>o.removeEventListener(r,i,l)),n=O(()=>{const o=E(f(e[0])).filter(r=>r!=null);return o.every(r=>typeof r!="string")?o:void 0});return ee(()=>{var o,r;return[(o=(r=n.value)===null||r===void 0?void 0:r.map(i=>D(i)))!==null&&o!==void 0?o:[k].filter(i=>i!=null),E(f(n.value?e[1]:e[0])),E(M(n.value?e[2]:e[1])),f(n.value?e[3]:e[2])]},([o,r,i,l],u,d)=>{if(!o?.length||!r?.length||!i?.length)return;const v=Z(l)?{...l}:l,c=o.flatMap(p=>r.flatMap(s=>i.map(m=>t(p,s,m,v))));d(()=>{c.forEach(p=>p())})},{flush:"post"})}function de(){const e=N(!1),t=h();return t&&W(()=>{e.value=!0},t),e}function ne(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function ve(...e){let t,n,o={};e.length===3?(t=e[0],n=e[1],o=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],o=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=k,eventName:i="keydown",passive:l=!1,dedupe:u=!1}=o,d=ne(t);return te(r,i,c=>{c.repeat&&f(u)||d(c)&&n(c)},l)}function oe(e){return JSON.parse(JSON.stringify(e))}function pe(e,t,n,o={}){var r,i;const{clone:l=!1,passive:u=!1,eventName:d,deep:v=!1,defaultValue:c,shouldEmit:p}=o,s=h(),m=n||s?.emit||(s==null||(r=s.$emit)===null||r===void 0?void 0:r.bind(s))||(s==null||(i=s.proxy)===null||i===void 0||(i=i.$emit)===null||i===void 0?void 0:i.bind(s?.proxy));let y=d;t||(t="modelValue"),y=y||`update:${t.toString()}`;const P=a=>l?typeof l=="function"?l(a):oe(a):a,$=()=>Q(e[t])?P(e[t]):c,j=a=>{p?p(a)&&m(y,a):m(y,a)};if(u){const a=I($());let g=!1;return S(()=>e[t],b=>{g||(g=!0,a.value=P(b),J(()=>g=!1))}),S(a,b=>{!g&&(b!==e[t]||v)&&j(b)},{deep:v}),a}else return O({get(){return $()},set(a){j(a)}})}function me(){const e=h(),t=I(),n=O(()=>o());B(()=>{n.value!==o()&&z(t)});function o(){return t.value&&"$el"in t.value&&["#text","#comment"].includes(t.value.$el.nodeName)?t.value.$el.nextElementSibling:D(t)}const r=Object.assign({},e.exposed),i={};for(const u in e.props)Object.defineProperty(i,u,{enumerable:!0,configurable:!0,get:()=>e.props[u]});if(Object.keys(r).length>0)for(const u in r)Object.defineProperty(i,u,{enumerable:!0,configurable:!0,get:()=>r[u]});Object.defineProperty(i,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=i;function l(u){if(t.value=u,!!u&&(Object.defineProperty(i,"$el",{enumerable:!0,configurable:!0,get:()=>u instanceof Element?u:u.$el}),!(u instanceof Element)&&!Object.prototype.hasOwnProperty.call(u,"$el"))){const d=u.$.exposed,v=Object.assign({},i);for(const c in d)Object.defineProperty(v,c,{enumerable:!0,configurable:!0,get:()=>d[c]});e.exposed=v}}return{forwardRef:l,currentRef:t,currentElement:n}}export{pe as a,ce as b,se as c,te as d,D as e,le as f,k as g,ue as h,x as i,de as j,ie as k,ve as o,ae as r,fe as t,me 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.