PageSourceSearch

https://aie.ac/_next/static/chunks/2168-ecc8d6e21a3efa3b.js

js aie.ac collected 2026-10-08 07:28:13 UTC 7,170 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2168],{12168:(t,e,n)=>{n.d(e,{l:()=>R});var r=n(12115),a=n(28819),s=n(24866),i=n(18310);class l{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,e){for(let n=0;n<this.animations.length;n++)this.animations[n][t]=e}attachTimeline(t){let e=this.animations.map(e=>e.attachTimeline(t));return()=>{e.forEach((t,e)=>{t&&t(),this.animations[e].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(){return o(this.animations,"duration")}get iterationDuration(){return o(this.animations,"iterationDuration")}runAll(t){this.animations.forEach(e=>e[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function o(t,e){let n=0;for(let r=0;r<t.length;r++){let a=t[r][e];null!==a&&a>n&&(n=a)}return n}class u extends l{then(t,e){return this.finished.finally(t).then(()=>{})}}var h=n(78170),f=n(6900),p=n(13031),c=n(59337),m=n(70954),g=n(26262),y=n(17611),d=n(51469),A=n(38621),v=n(5556),b=n(12266),w=n(85843);function x(t,e){var n;let r;return(0,w.h)(t)?t[n=t.length,((e-0)%(r=n-0)+r)%r+0]:t}var M=n(18844),k=n(58392);function C(t){return"object"==typeof t&&!Array.isArray(t)}function E(t,e,n,r){return null==t?[]:"string"==typeof t&&C(e)?(0,k.K)(t,n,r):t instanceof NodeList?Array.from(t):Array.isArray(t)?t.filter(t=>null!=t):[t]}function S(t,e,n,r){return"number"==typeof e?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):"<"===e?n:e.startsWith("<")?Math.max(0,n+parseFloat(e.slice(1))):r.get(e)??t}var O=n(56260);function I(t,e){return t.at!==e.at?t.at-e.at:null===t.value?1:null===e.value?-1:0}function V(t,e){return e.has(t)||e.set(t,{}),e.get(t)}function F(t,e){return e[t]||(e[t]=[]),e[t]}let N=t=>"number"==typeof t,T=t=>t.every(N);var j=n(72721),B=n(51654),W=n(34514),_=n(69028),q=n(84681),P=n(35152),Q=n(42038),$=n(4287),D=n(74666);class X extends D.BX{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,e){if(e in t){let n=t[e];if("string"==typeof n||"number"==typeof n)return n}}getBaseTargetFromProps(){}removeValueFromRenderState(t,e){delete e.output[t]}measureInstanceViewportBox(){return(0,$.ge)()}build(t,e){Object.assign(t.output,e)}renderInstance(t,{output:e}){Object.assign(t,e)}sortInstanceNodePosition(){return 0}}function z(t){let e={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=(0,_.x)(t)&&!(0,q.h)(t)?new P.l(e):new Q.M(e);n.mount(t),B.C.set(t,n)}function G(t){let e=new X({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});e.mount(t),B.C.set(t,e)}function K(t,e,n,r){let a=[];if((0,d.S)(t)||"number"==typeof t||"string"==typeof t&&!C(e))a.push((0,j.z)(t,C(e)&&e.default||e,n&&n.default||n));else{if(null==t)return a;let s=E(t,e,r),i=s.length;(0,v.V)(!!i,"No valid elements provided.","no-valid-elements");for(let t=0;t<i;t++){let r=s[t],l=r instanceof Element?z:G;B.C.has(r)||l(r);let o=B.C.get(r),u={...n};"delay"in u&&"function"==typeof u.delay&&(u.delay=u.delay(t,i)),a.push(...(0,W.$)(o,{...e,transition:u},{}))}}return a}function L(t={}){let{scope:e,reduceMotion:n,skipAnimations:r}=t;return function(t,a,s){var i;let l,o=[],w={};if(void 0!==n&&(w.reduceMotion=n),void 0!==r&&(w.skipAnimations=r),Array.isArray(t)&&t.some(Array.isArray)){let n,{onComplete:r,...s}=a||{};"function"==typeof r&&(l=r),i={...w,...s},n=[],(function(t,{defaultTransition:e={},...n}={},r,a){let s=e.duration||.3,i=new Map,l=new Map,o={},u=new Map,f=0,p=0,w=0;for(let n=0;n<t.length;n++){let i=t[n];if("string"==typeof i){u.set(i,p);continue}if(!Array.isArray(i)){u.set(i.name,S(p,i.at,f,u));continue}let[M,I,N={}]=i;void 0!==N.at&&(p=S(p,N.at,f,u));let j=0,B=(t,n,r,i=0,l=0)=>{var o;let u=Array.isArray(o=t)?o:[o],{delay:f=0,times:d=(0,c.Z)(u),type:M=e.type||"ke
1yframes",repeat:k,repeatType:C,repeatDelay:E=0,...S}=n,{ease:I=e.ease||"easeOut",duration:V}=n,F="function"==typeof f?f(i,l):f,N=u.length,B=(0,m.W)(M)?M:a?.[M||"keyframes"];if(N<=2&&B){let t=100;2===N&&T(u)&&(t=Math.abs(u[1]-u[0]));let n={...e,...S};void 0!==V&&(n.duration=(0,A.f)(V));let r=(0,g.X)(n,t,B);I=r.ease,V=r.duration}V??(V=s);let W=p+F;1===d.length&&0===d[0]&&(d[1]=1);let _=d.length-u.length;if(_>0&&(0,y.f)(d,_),1===u.length&&u.unshift(null),k&&(0,v.$)(k<20,`Sequence segments can't repeat ${k} times — ignoring repeat option. Use a value below 20 or apply repeat at the sequence level instead.`),k&&k<20){let t=V>0?E/V:0;V=V*(k+1)+E*k;let e=[...u],n=[...d],r=[...I=Array.isArray(I)?[...I]:[I]],a="reverse"===C||"mirror"===C,s=e,i=r;a&&(s=[...e].reverse(),"reverse"===C&&(i=[...r].reverse().map(t=>"function"==typeof t?(0,b.G)(t):t)));for(let l=0;l<k;l++){let o=a&&l%2==0,h=o?s:e,f=o?i:r,p=(l+1)*(1+t);t>0&&(u.push(u[u.length-1]),d.push(p),I.push("linear")),u.push(...h);for(let t=0;t<h.length;t++)d.push(n[t]+p),I.push(0===t?"linear":x(f,t-1))}!function(t,e,n=0){let r=e+1+e*n;for(let e=0;e<t.length;e++)t[e]=t[e]/r}(d,k,t)}let q=W+V;!function(t,e,n,r,a,s){for(let e=0;e<t.length;e++){let n=t[e];n.at>a&&n.at<s&&((0,h.Ai)(t,n),e--)}for(let i=0;i<e.length;i++)t.push({value:e[i],at:(0,O.k)(a,s,r[i]),easing:x(n,i)})}(r,u,I,d,W,q),j=Math.max(F+V,j),w=Math.max(q,w)};if((0,d.S)(M))B(I,N,F("default",V(M,l)));else{let t=E(M,I,r,o),e=t.length;for(let n=0;n<e;n++){let r=V(t[n],l);for(let t in I){var k,C;B(I[t],(k=N,C=t,k&&k[C]?{...k,...k[C]}:{...k}),F(t,r),n,e)}}}f=p,p+=j}return l.forEach((t,r)=>{for(let a in t){let s=t[a];s.sort(I);let l=[],o=[],u=[];for(let t=0;t<s.length;t++){let{at:e,value:n,easing:r}=s[t];l.push(n),o.push((0,M.q)(0,w,e)),u.push(r||"easeOut")}0!==o[0]&&(o.unshift(0),l.unshift(l[0]),u.unshift("easeInOut")),1!==o[o.length-1]&&(o.push(1),l.push(null)),i.has(r)||i.set(r,{keyframes:{},transition:{}});let h=i.get(r);h.keyframes[a]=l;let{type:f,...p}=e;h.transition[a]={...p,duration:w,ease:u,times:o,...n}}}),i})(t.map(t=>{if(Array.isArray(t)&&"function"==typeof t[0]){let e=t[0],n=(0,f.OQ)(0);return(n.on("change",e),1===t.length)?[n,[0,1]]:2===t.length?[n,[0,1],t[1]]:[n,t[1],t[2]]}return t}),i,e,{spring:p.o}).forEach(({keyframes:t,transition:e},r)=>{n.push(...K(r,t,e))}),o=n}else{let{onComplete:n,...r}=s||{};"function"==typeof n&&(l=n),o=K(t,a,{...w,...r},e)}let k=new u(o);return l&&k.finished.then(l),e&&(e.animations.push(k),k.finished.then(()=>{(0,h.Ai)(e.animations,k)})),k}}function R(){var t;let e=(0,a.M)(()=>({current:null,animations:[]})),n=function(){let t=(0,i.I)(),{reducedMotion:e}=(0,r.useContext)(s.Q);return"never"!==e&&("always"===e||t)}()??void 0,{skipAnimations:l}=(0,r.useContext)(s.Q),o=(0,r.useMemo)(()=>L({scope:e,reduceMotion:n,skipAnimations:l}),[e,n,l]);return t=()=>{e.animations.forEach(t=>t.stop()),e.animations.length=0},(0,r.useEffect)(()=>()=>t(),[]),[e,o]}L()}}]);

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.