PageSourceSearch

https://www.sea.museum/_next/static/chunks/pages/proto/title-wipe-d80c79f41c089b51.js

js sea.museum collected 2026-10-02 05:14:18 UTC 6,188 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[30],{86135:function(n,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/proto/title-wipe",function(){return t(37923)}])},93205:function(n,r,t){"use strict";t.d(r,{Z:function(){return s}});var e=t(24246),c=t(90005),o=t.n(c),a=t(27378),i=t(52264),u=t(97865),s=n=>{let{className:r,textClass:t,translationTextClass:c,wordstring:s,separator:l=",",startBlank:g=!1,hasTitleOutline:d,msPerIteration:h=26,wipeStartAngle:f=270,wipeAngleRange:m=0}=n,p=[],I=[],x=["run","pause"],[v,w]=(0,a.useState)({currentWords:["","",""],currentIds:[0,0,0],currentTrans:["","",""],incomingWord:"",incomingId:0,incomingTrans:"",counter:100,changePerIteration:1,changingSlot:1,phase:"pause",phaseFunction:null}),b=(0,a.useRef)(v);b.current=v;let S=()=>{let{words:n,translations:r}=(0,u.q)(s,l,"(",")",5);p=n,I=r;let t=g?999:(0,i.ne)(p.length,[]),e=g?998:(0,i.ne)(p.length,[t]),c=g?997:(0,i.ne)(p.length,[t,e]),o=(0,i.ne)(p.length,[t,e,c]),a=y[b.current.phase].function,d=y[b.current.phase].duration;w({...b.current,currentWords:[p[t],p[e],p[c]],currentIds:[t,e,c],currentTrans:[I[t],I[e],I[c]],incomingWord:p[o],incomingId:o,incomingTrans:I[o],phaseFunction:a,changePerIteration:100/d})},y={run:{duration:100,function:()=>{let n=b.current.counter-b.current.changePerIteration;if(n<=0){let r=(0,i.VA)(x,b.current.phase),t=y[r].duration,e=y[r].function;n=100;let c=[0===b.current.changingSlot?b.current.incomingWord:b.current.currentWords[0],1===b.current.changingSlot?b.current.incomingWord:b.current.currentWords[1],2===b.current.changingSlot?b.current.incomingWord:b.current.currentWords[2]],o=[0===b.current.changingSlot?b.current.incomingId:b.current.currentIds[0],1===b.current.changingSlot?b.current.incomingId:b.current.currentIds[1],2===b.current.changingSlot?b.current.incomingId:b.current.currentIds[2]],a=[I[o[0]],I[o[1]],I[o[2]]],u=(0,i.t4)(b.current.changingSlot,3),s=(0,i.ne)(p.length,[...b.current.currentIds,b.current.incomingId]),l=p[s],g=I[s];w({...b.current,phase:r,counter:n,changingSlot:u,incomingWord:l,incomingId:s,incomingTrans:g,currentWords:c,currentIds:o,currentTrans:a,changePerIteration:100/t,phaseFunction:e})}else w({...b.current,counter:n})}},pause:{duration:40,function:()=>{let n=b.current.counter-b.current.changePerIteration;if(n<=0){let r=(0,i.VA)(x,b.current.phase),t=y[r].duration,e=y[r].function;n=100,w({...b.current,phase:r,counter:n,changePerIteration:100/t,phaseFunction:e})}else w({...b.current,counter:n})}}};(0,a.useEffect)(()=>{S();let n=setInterval(()=>{null!==b.current.phaseFunction&&b.current.phaseFunction.call()},h);return()=>clearInterval(n)},[]);let W=f+m*(100-v.counter)/100,N=o()("relative flex ",t),j=o()(c),k="leading-none absolute text-ellipsis whitespace-nowrap overflow-hidden w-full left-0 top-0",_=[],M=[];for(let n=0;n<3;n+=1)M[n]="run"===v.phase&&n===v.changingSlot?{maskImage:"linear-gradient(".concat(W,"deg, rgb(28, 25, 23) ").concat(v.counter,"%, rgba(0, 0, 0, 0) ").concat(v.counter,"%)"),WebkitMaskImage:"linear-gradient(".concat(W,"deg, rgb(28, 25, 23) ").concat(v.counter,"%, rgba(0, 0, 0, 0) ").concat(v.counter,"%)")}:{},_[n]="run"===v.phase&&n===v.changingSlot?{maskImage:"linear-gradient(".concat(W,"deg, rgba(0, 0, 0, 0) ").concat(v.counter,"%, rgb(28, 25, 23) ").concat(v.counter,"%)"),WebkitMaskImage:"linear-gradient(".concat(W,"deg, rgba(0, 0, 0, 0) ").concat(v.counter,"%, rgb(28, 25, 23) ").concat(v.counter,"%)")}:{display:"none"};return(0,e.jsxs)("div",{className:r,children:[!1,v.currentWords.map((n,r)=>(0,e.jsxs)("div",{className:N,children:[(0,e.jsxs)("div",{className:o()(k,"z-20"),style:M[r],children:[(0,e.jsx)("span",{className:d?"text-fill-transparent text-stroke-2":"",children:n}),(0,e.jsx)("div",{className:j,children:v.currentTrans[r]})]}),r===v.changingSlot&&(0,e.jsxs)("div",{className:o()(k,"z-10"),style:_[r],children:[(0,e.jsx)("span",{className:d?"text-fill-transparent text-stroke-2":"",children:v.incomingWord}),(0,e.jsx)("div",{className:j,children:v.incomingTrans})]})]},r))]})}},52264:function(n,r,t){"use strict";t.d(r,{VA:function(){return e},ne:function(){return o},t4:function(){return c}});let e=(n,r)=>{let t=n.indexOf(r);return n.length===t+1?n[0]:n[t+1]},c=(n,r)=>{let t=Math.floor(Math.random()*r);for(;n===t;)t=Math.floor(Math.random()*r);return t},o=(n,r)=>{let t=Math.floor(Math.random()*n);for(;r.includes(t);)t=Math.floor(Math.random()*n);return t}},97865:function(n,r,t){"use strict";t.d(r,{q:function(){return c}});let e=(n,r,t)=>{let e=new RegExp("(.+)\\".concat(r,"(.+?)\\").concat(t)),c=n.match(e);return c?{word:c[1],translation:c[2]}:{word:n,translation:void 0}},c=(n,r,t,c,o)=>{let a=[],i=[],u=n.split(r),s=new Set(u);
1if(u.length>s.size&&(u=Array.from(s)),o&&u.length<o)for(;u.length<o;)u.push(Array(u.length+2).join("."));return t&&c&&u.forEach((n,r)=>{let{word:o,translation:u}=e(n,t,c);a[r]=o.trim(),i[r]=null==u?void 0:u.trim()}),{words:a,translations:i}}},37923:function(n,r,t){"use strict";t.r(r),t.d(r,{default:function(){return o}});var e=t(24246),c=t(93205);function o(){return(0,e.jsx)("div",{className:"flex h-[100vh] w-auto min-w-full max-w-none bg-brand-black text-stone-200",children:(0,e.jsx)(c.Z,{wordstring:"Hope (test 1), Identity (test 2), Home (test333), Resilience(etc), Diversity(hnnng), Belonging(yahh), Family, Free (wheee), Community (commmooo)",className:"m-auto w-2/3 ",textClass:"text-9xl h-[20vh] font-bold uppercase m-8",wipeStartAngle:200,wipeAngleRange:120,msPerIteration:30})})}},90005:function(n,r){var t;!function(){"use strict";var e={}.hasOwnProperty;function c(){for(var n="",r=0;r<arguments.length;r++){var t=arguments[r];t&&(n=o(n,function(n){if("string"==typeof n||"number"==typeof n)return n;if("object"!=typeof n)return"";if(Array.isArray(n))return c.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]"))return n.toString();var r="";for(var t in n)e.call(n,t)&&n[t]&&(r=o(r,t));return r}(t)))}return n}function o(n,r){return r?n?n+" "+r:n+r:n}n.exports?(c.default=c,n.exports=c):void 0!==(t=(function(){return c}).apply(r,[]))&&(n.exports=t)}()}},function(n){n.O(0,[2888,9774,179],function(){return n(n.s=86135)}),_N_E=n.O()}]);

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.