PageSourceSearch

https://naemo.ai/_next/static/chunks/2825-3e7a650be6afadfe.js

js naemo.ai collected 2026-09-24 14:29:51 UTC 6,671 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2825],{22825:function(t,e,n){n.d(e,{j:function(){return X}});class r{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 l(this.animations,"duration")}get iterationDuration(){return l(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 l(t,e){let n=0;for(let r=0;r<t.length;r++){let l=t[r][e];null!==l&&l>n&&(n=l)}return n}class i extends r{then(t,e){return this.finished.finally(t).then(()=>{})}}var s=n(98425),a=n(94357),o=n(58485),u=n(25921),h=n(50721),f=n(64587),p=n(14534),c=n(87493),g=n(29711),m=n(62035);let d=(t,e,n)=>{let r=e-t;return((n-t)%r+r)%r+t};var y=n(15331);function A(t,e){return(0,y.N)(t)?t[d(0,t.length,e)]:t}var v=n(81645),b=n(59960);function w(t){return"object"==typeof t&&!Array.isArray(t)}function k(t,e,n,r){return null==t?[]:"string"==typeof t&&w(e)?(0,b.I)(t,n,r):t instanceof NodeList?Array.from(t):Array.isArray(t)?t.filter(t=>null!=t):[t]}function x(t,e,n,r){var l;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))):null!==(l=r.get(e))&&void 0!==l?l:t}var M=n(33811);function E(t,e){return t.at!==e.at?t.at-e.at:null===t.value?1:null===e.value?-1:0}function O(t,e){return e.has(t)||e.set(t,{}),e.get(t)}function S(t,e){return e[t]||(e[t]=[]),e[t]}let I=t=>"number"==typeof t,N=t=>t.every(I);var R=n(19716),j=n(59738),F=n(64472),T=n(51413),V=n(89582),B=n(56584),C=n(128),W=n(85923),_=n(500);class D extends _.l9{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,W.dO)()}build(t,e){Object.assign(t.output,e)}renderInstance(t,{output:e}){Object.assign(t,e)}sortInstanceNodePosition(){return 0}}function P(t){let e={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=(0,T.v)(t)&&!(0,V.r)(t)?new B.e(e):new C.W(e);n.mount(t),j.R.set(t,n)}function Y(t){let e=new D({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});e.mount(t),j.R.set(t,e)}function L(t,e,n,r){let l=[];if((0,c.i)(t)||"number"==typeof t||"string"==typeof t&&!w(e))l.push((0,R.D)(t,w(e)&&e.default||e,n&&n.default||n));else{if(null==t)return l;let i=k(t,e,r),s=i.length;(0,m.k)(!!s,"No valid elements provided.","no-valid-elements");for(let t=0;t<s;t++){let r=i[t],a=r instanceof Element?P:Y;j.R.has(r)||a(r);let o=j.R.get(r),u={...n};"delay"in u&&"function"==typeof u.delay&&(u.delay=u.delay(t,s)),l.push(...(0,F.w)(o,{...e,transition:u},{}))}}return l}let X=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{scope:e,reduceMotion:n}=t;return function(t,r,l){let d,y=[];if(Array.isArray(t)&&t.some(Array.isArray))y=function(t,e,n){let r=[];return(function(t){let{defaultTransition:e={},...n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,l=arguments.length>3?arguments[3]:void 0,i=e.duration||.3,a=new Map,o=new Map,d={},y=new Map,b=0,w=0,I=0;for(let n=0;n<t.length;n++){let a=t[n];if("string"==typeof a){y.set(a,w);continue}if(!Array.isArray(a)){y.set(a.name,x(w,a.at,b,y));continue}let[v,E,R={}]=a;void 0!==R.at&&(w=x(w,R.at,b,y));let j=0,F=function(t,n,r){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,c=Array.isArray(t)?t:[t],{delay:d=0,times:y=(0,u.Y)(c),type:v=e.type||"ke
1yframes",repeat:b,repeatType:k,repeatDelay:x=0,...E}=n,{ease:O=e.ease||"easeOut",duration:S}=n,R="function"==typeof d?d(a,o):d,F=c.length,T=(0,h.x)(v)?v:null==l?void 0:l[v||"keyframes"];if(F<=2&&T){let t=100;2===F&&N(c)&&(t=Math.abs(c[1]-c[0]));let n={...e,...E};void 0!==S&&(n.duration=(0,g.w)(S));let r=(0,f.S)(n,t,T);O=r.ease,S=r.duration}null!=S||(S=i);let V=w+R;1===y.length&&0===y[0]&&(y[1]=1);let B=y.length-c.length;if(B>0&&(0,p.c)(y,B),1===c.length&&c.unshift(null),b){(0,m.k)(b<20,"Repeat count too high, must be less than 20","repeat-count-high"),S*=b+1;let t=[...c],e=[...y],n=[...O=Array.isArray(O)?[...O]:[O]];for(let r=0;r<b;r++){c.push(...t);for(let l=0;l<t.length;l++)y.push(e[l]+(r+1)),O.push(0===l?"linear":A(n,l-1))}!function(t,e){for(let n=0;n<t.length;n++)t[n]=t[n]/(e+1)}(y,b)}let C=V+S;(function(t,e,n,r,l,i){!function(t,e,n){for(let r=0;r<t.length;r++){let l=t[r];l.at>e&&l.at<n&&((0,s.cl)(t,l),r--)}}(t,l,i);for(let s=0;s<e.length;s++)t.push({value:e[s],at:(0,M.t)(l,i,r[s]),easing:A(n,s)})})(r,c,O,y,V,C),j=Math.max(R+S,j),I=Math.max(C,I)};if((0,c.i)(v))F(E,R,S("default",O(v,o)));else{let t=k(v,E,r,d),e=t.length;for(let n=0;n<e;n++){let r=O(t[n],o);for(let t in E)F(E[t],R&&R[t]?{...R,...R[t]}:{...R},S(t,r),n,e)}}b=w,w+=j}return o.forEach((t,r)=>{for(let l in t){let i=t[l];i.sort(E);let s=[],o=[],u=[];for(let t=0;t<i.length;t++){let{at:e,value:n,easing:r}=i[t];s.push(n),o.push((0,v.Y)(0,I,e)),u.push(r||"easeOut")}0!==o[0]&&(o.unshift(0),s.unshift(s[0]),u.unshift("easeInOut")),1!==o[o.length-1]&&(o.push(1),s.push(null)),a.has(r)||a.set(r,{keyframes:{},transition:{}});let h=a.get(r);h.keyframes[l]=s;let{type:f,...p}=e;h.transition[l]={...p,duration:I,ease:u,times:o,...n}}}),a})(t.map(t=>{if(Array.isArray(t)&&"function"==typeof t[0]){let e=t[0],n=(0,a.BX)(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}),e,n,{spring:o.S}).forEach((t,e)=>{let{keyframes:n,transition:l}=t;r.push(...L(e,n,l))}),r}(t,void 0!==n?{reduceMotion:n,...r}:r,e);else{let{onComplete:i,...s}=l||{};"function"==typeof i&&(d=i),y=L(t,r,void 0!==n?{reduceMotion:n,...s}:s,e)}let b=new i(y);return d&&b.finished.then(d),e&&(e.animations.push(b),b.finished.then(()=>{(0,s.cl)(e.animations,b)})),b}}()}}]);

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.