PageSourceSearch

https://educ-ethic-animal.org/build/assets/Presence-Y-d2rawA.js

js educ-ethic-animal.org collected 2026-10-05 06:29:39 UTC 9,194 bytes, 7 lines download raw bytes

1import{a7 as V,a8 as F,V as B,a9 as _,aa as H,ab as L,ac as z,F as K,ad as q,ae as G,af as W,ag as J,T as Q,ah as Y,ai as X,R as Z,aj as ee,ak as ae,al as te,am as se,an as ne,ao as oe,ap as T,aq as re,ar as ie,as as ce,c as S,at as ue,h as le,j as de,a as me,e as fe,au as pe,av as ve,aw as be,ax as he,ay as ye,m as ge,f as Se,b as Ee,az as Ce,aA as Te,d as M,aB as Ae,aC as we,aD as Me,aE as Pe,aF as Re,aG as Ie,aH as Oe,aI as Ne,aJ as xe,aK as ke,aL as De,aM as E,_ as Ue,aN as $e,aO as je,K as Ve,a6 as P,aP as Fe,aQ as Be,aR as _e,aS as He,aT as Le,aU as ze,aV as Ke,aW as qe,aX as Ge,a4 as R,aY as We,aZ as Je,a_ as Qe,a$ as Ye,N as Xe,b0 as Ze,b1 as ea,b2 as aa,a5 as ta,a1 as sa,A as na,G as oa,I,n as ra,J as ia,L as ca,b3 as ua,b4 as la,P as da,b5 as ma,b6 as fa,b7 as pa,D as va,b8 as ba,b9 as ha,$ as ya,ba as ga,O,bb as Sa,bc as Ea,o as Ca,bd as Ta,a3 as N,be as Aa,bf as wa,bg as Ma,s as Pa,bh as Ra,i as v,bi as Ia,bj as Oa,r as Na,E as xa,bk as ka,bl as Da,l as Ua,bm as $a,bn as ja,bo as Va,bp as Fa,bq as Ba,br as _a,a0 as Ha,Z as La,bs as za,bt as Ka,bu as qa,t as Ga,bv as x,X as Wa,bw as Ja,bx as k,C as D,a2 as Qa,by as Ya,bz as Xa,u as Za,bA as et,bB as at,bC as tt,bD as st,bE as U,B as nt,bF as ot,bG as rt,U as it,bH as ct,bI as ut,bJ as lt,bK as dt,bL as mt,bM as ft,M as pt,v as vt,bN as bt,bO as ht,y as g,p as yt,Y as gt,bP as St,bQ as Et,w as Ct,bR as Tt,q as At,H as wt,bS as Mt,k as Pt,bT as Rt}from"./app-D_mTJ8hk.js";import{r as It}from"./index-BPJYhAFT.js";import{g as Ot,b as Nt}from"./useForwardExpose-RubRM0rZ.js";import{i as xt}from"./index-BgL-G3RI.js";/**
2* vue v3.5.16
3* (c) 2018-present Yuxi (Evan) You and Vue contributors
4* @license MIT
5**/const kt=()=>{},Dt=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:V,BaseTransitionPropsValidators:F,Comment:B,DeprecationTypes:_,EffectScope:H,ErrorCodes:L,ErrorTypeStrings:z,Fragment:K,KeepAlive:q,ReactiveEffect:G,Static:W,Suspense:J,Teleport:Q,Text:Y,TrackOpTypes:X,Transition:Z,TransitionGroup:ee,TriggerOpTypes:ae,VueElement:te,assertNumber:se,callWithAsyncErrorHandling:ne,callWithErrorHandling:oe,camelize:T,capitalize:re,cloneVNode:ie,compatUtils:ce,compile:kt,computed:S,createApp:ue,createBlock:le,createCommentVNode:de,createElementBlock:me,createElementVNode:fe,createHydrationRenderer:pe,createPropsRestProxy:ve,createRenderer:be,createSSRApp:he,createSlots:ye,createStaticVNode:ge,createTextVNode:Se,createVNode:Ee,customRef:Ce,defineAsyncComponent:Te,defineComponent:M,defineCustomElement:Ae,defineEmits:we,defineExpose:Me,defineModel:Pe,defineOptions:Re,defineProps:Ie,defineSSRCustomElement:Oe,defineSlots:Ne,devtools:xe,effect:ke,effectScope:De,getCurrentInstance:E,getCurrentScope:Ue,getCurrentWatcher:$e,getTransitionRawChildren:je,guardReactiveProps:Ve,h:P,handleError:Fe,hasInjectionContext:Be,hydrate:_e,hydrateOnIdle:He,hydrateOnInteraction:Le,hydrateOnMediaQuery:ze,hydrateOnVisible:Ke,initCustomFormatter:qe,initDirectivesForSSR:Ge,inject:R,isMemoSame:We,isProxy:Je,isReactive:Qe,isReadonly:Ye,isRef:Xe,isRuntimeOnly:Ze,isShallow:ea,isVNode:aa,markRaw:ta,mergeDefaults:sa,mergeModels:na,mergeProps:oa,nextTick:I,normalizeClass:ra,normalizeProps:ia,normalizeStyle:ca,onActivated:ua,onBeforeMount:la,onBeforeUnmount:da,onBeforeUpdate:ma,onDeactivated:fa,onErrorCaptured:pa,onMounted:va,onRenderTracked:ba,onRenderTriggered:ha,onScopeDispose:ya,onServerPrefetch:ga,onUnmounted:O,onUpdated:Sa,onWatcherCleanup:Ea,openBlock:Ca,popScopeId:Ta,provide:N,proxyRefs:Aa,pushScopeId:wa,queuePostFlushCb:Ma,reactive:Pa,readonly:Ra,ref:v,registerRuntimeCompiler:Ia,render:Oa,renderList:Na,renderSlot:xa,resolveComponent:ka,resolveDirective:Da,resolveDynamicComponent:Ua,resolveFilter:$a,resolveTransitionHooks:ja,setBlockTracking:Va,setDevtoolsHook:Fa,setTransitionHooks:Ba,shallowReactive:_a,shallowReadonly:Ha,shallowRef:La,ssrContextKey:za,ssrUtils:Ka,stop:qa,toDisplayString:Ga,toHandlerKey:x,toHandlers:Wa,toRaw:Ja,toRef:k,toRefs:D,toValue:Qa,transformVNodeArgs:Ya,triggerRef:Xa,unref:Za,useAttrs:et,useCssModule:at,useCssVars:tt,useHost:st,useId:U,useModel:nt,useSSRContext:ot,useShadowRoot:rt,useSlots:it,useTemplateRef:ct,useTransitionState:ut,vModelCheckbox:lt,vModelDynamic:dt,vModelRadio:mt,vModelSelect:ft,vModelText:pt,vShow:vt,version:bt,warn:ht,watch:g,watchEffect:yt,watchPostEffect:gt,watchSyncEffect:St,withAsyncContext:Et,withCtx:Ct,withDefaults:Tt,withDirectives:At,withKeys:wt,withMemo:Mt,withModifiers:Pt,withScopeId:Rt},Symbol.toStringTag,{value:"Module"}));function Ut(a,e){const t=typeof a=="string"&&!e?`${a}Context`:e,s=Symbol(t);return[n=>{const o=R(s,n);if(o||o===null)return o;throw new Error(`Injection \`${s.toString()}\` not found. Component must be used within ${Array.isArray(a)?`one of the following components: ${a.join(", ")}`:`\`${a}\``}`)},n=>(N(s,n),n)]}function Wt(){let a=document.activeElement;if(a==null)return null;for(;a!=null&&a.shadowRoot!=null&&a.shadowRoot.activeElement!=null;)a=a.shadowRoot.activeElement;return a}const[$t,Jt]=Ut("ConfigProvider");function jt(a){const e=E(),t=e==null?void 0:e.type.emits,s={};return t!=null&&t.length||console.warn(`No emitted event found. Please check component: ${e==null?void 0:e.type.__name}`),t==null||t.forEach(l=>{s[x(T(l))]=(...r)=>a(l,...r)}),s}function Vt(a){const e=E(),t=Object.keys((e==null?void 0:e.type.props)??{}).reduce((l,r)=>{const n=(e==null?void 0:e.type.props[r]).default;return n!==void 0&&(l[r]=n),l},{}),s=k(a);return S(()=>{const l={},r=(e==null?void 0:e.vnode.props)??{};return Object.keys(r).forEach(n=>{l[T(n)]=r[n]}),Object.keys({...t,...l}).reduce((n,o)=>(s.value[o]!==void 0&&(n[o]=s.value[o]),n),{})})}function Qt(a,e){const t=Vt(a),s=e?jt(e):{};return S(()=>({...t.value,...s}))}let Ft=0;function Yt(a,e="reka"){var s;if(a)return a;if("useId"in Dt)return`${e}-${(s=U)==null?void 0:s()}`;const t=$t({useId:void 0});return t.useId?`${e}-${t.useId()}`:`${e}-${++Ft}`}function Bt(a,e){const t=v(a);function s(r){return e[t.value][r]??t.value}return{state:t,dispatch:r=>{t.value=s(r)}}}function _t(a,e){var w;const t=v({}),s=v("none"),l=v(a),r=a.value?"mounted":"unmounted";let n;const o=((w=e.value)==null?void 0:w.ownerDocument.defaultView)??Ot,{state:f,dispatch:m}=Bt(r,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),d=i=>{var c;if(xt){const b=new CustomEvent(i,{bubbles:!1,cancelable:!1});(c=e.value)==null||c.dispatchEvent(b)}};g(a,async(i,c)=>{var h;const b=c!==i;if(await I(),b){const C=s.value,p=y(e.value);i?(m("MOUNT"),d("enter"),p==="none"&&d("after-enter")):p==="none"||p==="undefined"||((h=t.value)==null?void 0:h.display)==="none"?(m("UNMOUNT"),d("leave"),d("after-leave")):c&&C!==
5p?(m("ANIMATION_OUT"),d("leave")):(m("UNMOUNT"),d("after-leave"))}},{immediate:!0});const u=i=>{const c=y(e.value),b=c.includes(i.animationName),h=f.value==="mounted"?"enter":"leave";if(i.target===e.value&&b&&(d(`after-${h}`),m("ANIMATION_END"),!l.value)){const C=e.value.style.animationFillMode;e.value.style.animationFillMode="forwards",n=o==null?void 0:o.setTimeout(()=>{var p;((p=e.value)==null?void 0:p.style.animationFillMode)==="forwards"&&(e.value.style.animationFillMode=C)})}i.target===e.value&&c==="none"&&m("ANIMATION_END")},A=i=>{i.target===e.value&&(s.value=y(e.value))},$=g(e,(i,c)=>{i?(t.value=getComputedStyle(i),i.addEventListener("animationstart",A),i.addEventListener("animationcancel",u),i.addEventListener("animationend",u)):(m("ANIMATION_END"),n!==void 0&&(o==null||o.clearTimeout(n)),c==null||c.removeEventListener("animationstart",A),c==null||c.removeEventListener("animationcancel",u),c==null||c.removeEventListener("animationend",u))},{immediate:!0}),j=g(f,()=>{const i=y(e.value);s.value=f.value==="mounted"?i:"none"});return O(()=>{$(),j()}),{isPresent:S(()=>["mounted","unmountSuspended"].includes(f.value))}}function y(a){return a&&getComputedStyle(a).animationName||"none"}var Xt=M({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(a,{slots:e,expose:t}){var m;const{present:s,forceMount:l}=D(a),r=v(),{isPresent:n}=_t(s,r);t({present:n});let o=e.default({present:n.value});o=It(o||[]);const f=E();if(o&&(o==null?void 0:o.length)>1){const d=(m=f==null?void 0:f.parent)!=null&&m.type.name?`<${f.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${d}\` for  \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(u=>`  - ${u}`).join(`
6`)].join(`
7`))}return()=>l.value||s.value||n.value?P(e.default({present:n.value})[0],{ref:d=>{const u=Nt(d);return typeof(u==null?void 0:u.hasAttribute)>"u"||(u!=null&&u.hasAttribute("data-reka-popper-content-wrapper")?r.value=u.firstElementChild:r.value=u),u}}):null}});export{Xt as P,Qt as a,Yt as b,Ut as c,jt as d,Wt as g,$t as i,Vt 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.