PageSourceSearch

https://appmaker.xyz/assets/index-BKOWsDql.js

js appmaker.xyz collected 2026-10-02 03:09:02 UTC 5,636 bytes, 1 lines download raw bytes

1import{l as k,r as tt,n as et,o as nt,g as U,q as st,s as at,t as it,v as rt,w as ot,x as lt,V as ut,y as ct,z as ft,A as mt,S as ht,H as pt,B,C as gt,D as dt,E as yt}from"./proxy-DMwDdoCg.js";const At=(e,t,n)=>{const s=t-e;return((n-e)%s+s)%s+e};function X(e,t){return k(e)?e[At(0,e.length,t)]:e}class St{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let s=0;s<this.animations.length;s++)this.animations[s][t]=n}attachTimeline(t){const n=this.animations.map(s=>s.attachTimeline(t));return()=>{n.forEach((s,a)=>{s&&s(),this.animations[a].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;n<this.animations.length;n++)t=Math.max(t,this.animations[n].duration);return t}runAll(t){this.animations.forEach(n=>n[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class Et extends St{then(t,n){return this.finished.finally(t).then(()=>{})}}function C(e){return typeof e=="object"&&!Array.isArray(e)}function Y(e,t,n,s){return typeof e=="string"&&C(t)?tt(e,n,s):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}function Vt(e,t,n){return e*(t+1)}function q(e,t,n,s){return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?n:t.startsWith("<")?Math.max(0,n+parseFloat(t.slice(1))):s.get(t)??e}function vt(e,t,n){for(let s=0;s<e.length;s++){const a=e[s];a.at>t&&a.at<n&&(nt(e,a),s--)}}function Tt(e,t,n,s,a,o){vt(e,a,o);for(let i=0;i<t.length;i++)e.push({value:t[i],at:et(a,o,s[i]),easing:X(n,i)})}function bt(e,t){for(let n=0;n<e.length;n++)e[n]=e[n]/(t+1)}function Dt(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}const Mt="easeInOut";function xt(e,{defaultTransition:t={},...n}={},s,a){const o=t.duration||.3,i=new Map,f=new Map,V={},v=new Map;let D=0,l=0,I=0;for(let T=0;T<e.length;T++){const m=e[T];if(typeof m=="string"){v.set(m,l);continue}else if(!Array.isArray(m)){v.set(m.name,q(l,m.at,D,v));continue}let[E,h,u={}]=m;u.at!==void 0&&(l=q(l,u.at,D,v));let c=0;const b=(p,g,A,M=0,x=0)=>
vendor: 2,944 bytes, line 1
1{const r=Ot(p),{delay:N=0,times:d=st(r),type:L="keyframes",repeat:F,repeatType:zt,repeatDelay:Pt=0,...$}=g;let{ease:S=t.ease||"easeOut",duration:y}=g;const W=typeof N=="function"?N(M,x):N,z=r.length,P=rt(L)?L:a==null?void 0:a[L||"keyframes"];if(z<=2&&P){let O=100;if(z===2&&It(r)){const w=r[1]-r[0];O=Math.abs(w)}const K={...$};y!==void 0&&(K.duration=ot(y));const j=at(K,O,P);S=j.ease,y=j.duration}y??(y=o);const R=l+W;d.length===1&&d[0]===0&&(d[1]=1);const H=d.length-r.length;if(H>0&&it(d,H),r.length===1&&r.unshift(null),F){y=Vt(y,F);const O=[...r],K=[...d];S=Array.isArray(S)?[...S]:[S];const j=[...S];for(let w=0;w<F;w++){r.push(...O);for(let G=0;G<O.length;G++)d.push(K[G]+(w+1)),S.push(G===0?"linear":X(j,G-1))}bt(d,F)}const _=R+y;Tt(A,r,S,d,R,_),c=Math.max(W+y,c),I=Math.max(_,I)};if(U(E)){const p=J(E,f);b(h,u,Q("default",p))}else{const p=Y(E,h,s,V),g=p.length;for(let A=0;A<g;A++){h=h,u=u;const M=p[A],x=J(M,f);for(const r in h)b(h[r],wt(u,r),Q(r,x),A,g)}}D=l,l+=c}return f.forEach((T,m)=>{for(const E in T){const h=T[E];h.sort(Dt);const u=[],c=[],b=[];for(let g=0;g<h.length;g++){const{at:A,value:M,easing:x}=h[g];u.push(M),c.push(lt(0,I,A)),b.push(x||"easeOut")}c[0]!==0&&(c.unshift(0),u.unshift(u[0]),b.unshift(Mt)),c[c.length-1]!==1&&(c.push(1),u.push(null)),i.has(m)||i.set(m,{keyframes:{},transition:{}});const p=i.get(m);p.keyframes[E]=u,p.transition[E]={...t,duration:I,ease:b,times:c,...n}}}),i}function J(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function Q(e,t){return t[e]||(t[e]=[]),t[e]}function Ot(e){return Array.isArray(e)?e:[e]}function wt(e,t){return e&&e[t]?{...e,...e[t]}:{...e}}const Gt=e=>typeof e=="number",It=e=>e.every(Gt);function Ft(e,t){return e in t}class Kt extends ut{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,n){if(Ft(n,t)){const s=t[n];if(typeof s=="string"||typeof s=="number")return s}}getBaseTargetFromProps(){}removeValueFromRenderState(t,n){delete n.output[t]}measureInstanceViewportBox(){return ct()}build(t,n){Object.assign(t.output,n)}renderInstance(t,{output:n}){Object.assign(t,n)}sortInstanceNodePosition(){return 0}}function jt(e){const t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=ft(e)&&!mt(e)?new ht(t):new pt(t);n.mount(e),B.set(e,n)}function Bt(e){const t={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},n=new Kt(t);n.mount(e),B.set(e,n)}function Nt(e,t){return U(e)||typeof e=="number"||typeof e=="string"&&!C(t)}function Z(e,t,n,s){const a=[];if(Nt(e,t))a.push(gt(e,C(t)&&t.default||t,n&&(n.default||n)));else{const o=Y(e,t,s),i=o.length;for(let f=0;f<i;f++){const V=o[f],v=V instanceof Element?jt:Bt;B.has(V)||v(V);const D=B.get(V),l={...n};"delay"in l&&typeof l.delay=="function"&&(l.delay=l.delay(f,i)),a.push(...dt(D,{...t,transition:l},{}))}}return a}function Lt(e,t,n){const s=[];return xt(e,t,n,{spring:yt}
1).forEach(({keyframes:o,transition:i},f)=>{s.push(...Z(f,o,i))}),s}function Ct(e){return Array.isArray(e)&&e.some(Array.isArray)}function Wt(e){function t(n,s,a){let o=[];return Ct(n)?o=Lt(n,s,e):o=Z(n,s,a,e),new Et(o)}return t}const Ht=Wt();export{Ht as a};

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.