PageSourceSearch

https://pika.style/_next/static/chunks/4650.4927bb89db62f38e.js

js pika.style collected 2026-10-03 21:22:29 UTC 18,042 bytes, 3 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4650],{15376:(e,t,n)=>{n.d(t,{A:()=>o});var i,r,a=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,o=(i=function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)},r=Object.create(null),function(e){return void 0===r[e]&&(r[e]=i(e)),r[e]})},31415:(e,t,n)=>
1{Object.defineProperty(t,"__esModule",{value:!0});var i=n(6702);Object.keys(i).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})})},64039:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});let n=e=>e;t.warning=n,t.invariant=n,t.memo=function(e){let t;return()=>(void 0===t&&(t=e()),t)},t.millisecondsToSeconds=e=>e/1e3,t.noop=n,t.progress=(e,t,n)=>{let i=t-e;return 0===i?1:(n-e)/i},t.secondsToMilliseconds=e=>1e3*e},79491:function(e,t,n){var i,r=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||(i=function(e){return(i=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=i(e),o=0;o<n.length;o++)"default"!==n[o]&&r(t,e,n[o]);return a(t,e),t});Object.defineProperty(t,"__esModule",{value:!0});let s=o(n(76430)),l=n(31415);t.default=({className:e,animateToNumber:t,fontStyle:n,transitions:i,useThousandsSeparator:r=!1,locale:a="en-US"})=>{let o=(0,s.useRef)(null),u=(0,s.useRef)(null),c=(0,l.useInView)(o,{once:!1}),d=(0,l.useAnimation)(),[p,m]=(0,s.useState)(0),[f,h]=(0,s.useState)(0),[y,g]=(0,s.useState)([]),v=r?Math.abs(t).toLocaleString(a):String(Math.abs(t));return(0,s.useEffect)(()=>{g(Array.from(v).map(e=>/\d/.test(e)?Number(e):e).map(e=>"number"==typeof e?((e,t=40)=>[...Array.from({length:t-1},()=>Math.floor(10*Math.random())),e])(e):e))},[v]),(0,s.useEffect)(()=>{if(!u.current)return;let e=new ResizeObserver(e=>{for(let t of e){let{height:e,width:n}=t.contentRect;m(e),h(n)}});return e.observe(u.current),()=>e.disconnect()},[n]),(0,s.useEffect)(()=>{c&&d.start("visible")},[d,c,y]),s.default.createElement("span",{ref:o,style:{position:"relative",display:"inline-block"}},p>0&&s.default.createElement("div",{className:e,style:{display:"flex",overflow:"hidden",flexDirection:"row",position:"relative"}},y.map((e,r)=>{var a;return"string"==typeof e?s.default.createElement("div",{key:`static-${r}`,style:Object.assign(Object.assign({},n),{fontVariantNumeric:"tabular-nums",width:f,textAlign:"center"})},e):s.default.createElement(l.motion.div,{key:`motion-${r}-${t}`,initial:{y:0},animate:{y:-1*p*(e.length-1)},transition:null!=(a=null==i?void 0:i(r))?a:{duration:1.8+.1*r,ease:[.25,.1,.25,1]},style:{height:p,width:f,position:"relative"}},e.map((t,i)=>{let a=i===e.length-1;return s.default.createElement(l.motion.div,{key:`digit-${r}-${i}`,style:Object.assign(Object.assign({},n),{fontVariantNumeric:"tabular-nums",height:p,textAlign:"center",opacity:a?1:.2,scale:a?1:.9}),animate:a?{scale:[1.2,1],opacity:[.6,1]}:{},transition:a?{duration:.4,delay:1.8+.1*r,ease:"easeOut"}:{}},t)}))})),s.default.createElement("div",{ref:u,style:Object.assign(Object.assign({position:"absolute",top:-9999,visibility:"hidden"},n),{fontVariantNumeric:"tabular-nums"})},"0"))}},94691:(e,t,n)=>{let i;Object.defineProperty(t,"__esModule",{value:!0});var r,a=n(64039);let o=a.memo(()=>void 0!==window.ScrollTimeline);class s{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>"finished"in e?e.finished:e))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e,t){let n=this.animations.map(n=>o()&&n.attachTimeline?n.attachTimeline(e):"function"==typeof t?t(n):void 0);return()=>{n.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class l extends s{then(e,t){return Promise.all(this.animations).then(e).catch(t)}}function u(e,t){return e?e[t]||e.default||e:void 0}function c(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function d(e,t=100,n){let i=n({...e,keyframes:[0,t]}),r=Math.min(c(i),2e4);return{type:"keyframes",ease:e=>i.next(r*e).value/t,duration:a.millisecondsToSeconds(r)}}function p(e){return"function"==typeof e}function m(e,t){e.timeline=t,e.onfinish=null}class f{constructor(e){this.animation=e}get duration(){var e,t,n;let i=(null==(t=null==(e=this.animation)?void 0:e.effect)?void 0:t.getComputedTiming().duration)||(null==(n=this.options)?void 0:n.duration)||300;return a.millisecondsToSeconds(Number(i))}get time(){var e;return this.animation?a.millisecondsToSeconds((null==(e=this.animation)?void 0:e.currentTime)||0):0}set time(e){this.animation&&(this.animation.currentTime=a.secondsToMilliseconds(e))}get speed(){return this.animation?this.animation.playbackRate:1}set speed(e){this.animation&&(this.animation.playbackRate=e)}get state(){return this.animation?this.animation.playState:"finished"}get startTime(){return this.animation?this.animation.startTime:null}get finished(){return this.animation?this.animation.finished:Promise.resolve()}play(){this.animation&&this.animation.play()}pause(){this.animation&&this.animation.pause()}
1stop(){this.animation&&"idle"!==this.state&&"finished"!==this.state&&(this.animation.commitStyles&&this.animation.commitStyles(),this.cancel())}flatten(){var e;this.animation&&(null==(e=this.animation.effect)||e.updateTiming({easing:"linear"}))}attachTimeline(e){return this.animation&&m(this.animation,e),a.noop}complete(){this.animation&&this.animation.finish()}cancel(){try{this.animation&&this.animation.cancel()}catch(e){}}}let h=e=>Array.isArray(e)&&"number"==typeof e[0],y={linearEasing:void 0},g=(r=()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},i=a.memo(r),()=>{var e;return null!=(e=y.linearEasing)?e:i()}),v=(e,t,n=10)=>{let i="",r=Math.max(Math.round(t/n),2);for(let t=0;t<r;t++)i+=e(a.progress(0,r-1,t))+", ";return`linear(${i.substring(0,i.length-2)})`},b=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,w={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:b([0,.65,.55,1]),circOut:b([.55,0,1,.45]),backIn:b([.31,.01,.66,-.59]),backOut:b([.33,1.53,.69,.99])};function k(e,t){if(e)return"function"==typeof e&&g()?v(e,t):h(e)?b(e):Array.isArray(e)?e.map(e=>k(e,t)||w.easeOut):w[e]}let T={x:!1,y:!1};function x(){return T.x||T.y}function E(e,t,n){var i;if(e instanceof Element)return[e];if("string"==typeof e){let r=document;t&&(r=t.current);let a=null!=(i=null==n?void 0:n[e])?i:r.querySelectorAll(e);return a?Array.from(a):[]}return Array.from(e)}function A(e,t){let n=E(e),i=new AbortController;return[n,{passive:!0,...t,signal:i.signal},()=>i.abort()]}function O(e){return t=>{"touch"===t.pointerType||x()||e(t)}}let S=(e,t)=>!!t&&(e===t||S(e,t.parentElement)),P=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary,M=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),L=new WeakSet;function C(e){return t=>{"Enter"===t.key&&e(t)}}function R(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}let j="easeOut";function _(e){var t;if(p(e.type)){let t=d(e,100,e.type);e.ease=g()?t.ease:j,e.duration=a.secondsToMilliseconds(t.duration),e.type="keyframes"}else e.duration=a.secondsToMilliseconds(null!=(t=e.duration)?t:.3),e.ease=e.ease||j}class I extends f{constructor(e,t,n,i,r){const o=function(e,t,n){var i;let r={},o={fill:"both",easing:"linear",composite:"replace"};o.delay=a.secondsToMilliseconds(null!=(i=n.delay)?i:0),_(n),o.duration=n.duration;let{ease:s,times:l}=n;l&&(r.offset=l),r[e]=t;let u=k(s,n.duration);return Array.isArray(u)?r.easing=u:o.easing=u,{keyframes:r,options:o}}(n,i,r);super(e.animate(o.keyframes,{pseudoElement:t,...o.options}))}}let N={},D=null,$=(e,t)=>{N[e]=t};function z(e){var t;let{effect:n}=e;return!!n&&n.target===document.documentElement&&(null==(t=n.pseudoElement)?void 0:t.startsWith("::view-transition"))}let B=["layout","enter","exit","new","old"];function U(e,t){var n;return null==(n=null==e?void 0:e[t])?void 0:n.keyframes.opacity}class V{constructor(e,t={}){this.currentTarget="root",this.targets=new Map,this.notifyReady=a.noop,this.readyPromise=new Promise(e=>{this.notifyReady=e}),queueMicrotask(()=>{(function(e,t,n){if(!document.startViewTransition)return new Promise(async t=>{await e(),t(new s([]))});n.has("root")&&Object.keys(n.get("root")).length>0||$(":root",{"view-transition-name":"none"}),$("::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*)",{"animation-timing-function":"linear !important"}),(()=>{D||((D=document.createElement("style")).id="motion-view");let e="";for(let t in N){let n=N[t];for(let[i,r]of(e+=`${t} {
2`,Object.entries(n)))e+=`  ${i}: ${r};
3`;e+="}\n"}D.textContent=e,document.head.appendChild(D),N={}})();let i=document.startViewTransition(async()=>{await e()});return i.finished.finally(()=>{D&&D.parentElement&&D.parentElement.removeChild(D)}),new Promise(e=>{i.ready.then(()=>{var i;let r=document.getAnimations().filter(z),o=[];for(let e of(n.forEach((e,n)=>{for(let i of B){if(!e[i])continue;let{keyframes:r,options:a}=e[i];for(let[e,s]of Object.entries(r)){if(!s)continue;let r={...u(t,e),...u(a,e)},l="layout"===i?"group":"enter"===i||"new"===i?"new":"exit"===i||"old"===i?"old":"group";"opacity"!==e||Array.isArray(s)||(s=[+("new"!==l),s]),"function"==typeof r.delay&&(r.delay=r.delay(0,1));let c=new I(document.documentElement,`::view-transition-${l}(${n})`,e,s,r);o.push(c)}}}),r)){if("finished"===e.playState)continue;let{effect:r}=e;if(!r||!(r instanceof KeyframeEffect))continue;let{pseudoElement:s}=r;if(!s)continue;let l=function(e){let t=e.match(/::view-transition-(old|new|group|image-pair)\((.*?)\)/);return t?{layer:t[2],type:t[1]}:null}(s);if(!l)continue;let c=n.get(l.layer);if(c)U(c,"enter")&&U(c,"exit")&&r.getKeyframes().some(e=>e.mixBlendMode)?o.push(new f(e)):e.cancel();else{let n={...u(t,"group"===l.type?"layout":"")};_(n);let s=k(n.ease,n.duration);r.updateTiming({delay:a.secondsToMilliseconds(null!=(i=n.delay)?i:0),duration:n.duration,easing:s}),o.push(new f(e))}}e(new s(o))})})})(e,t,this.targets).then(e=>this.notifyReady(e))})}get(e){return this.currentTarget=e,this}layout(e,t){return this.updateTarget("layout",e,t),this}new(e,t){return this.updateTarget("new",e,t),this}old(e,t){return this.updateTarget("old",e,t),this}enter(e,t){return this.updateTarget("enter",e,t),this}exit(e,t){return this.updateTarget("exit",e,t),this}crossfade(e){return this.updateTarget("enter",{opacity:1},e),this.updateTarget("exit",{opacity:0}
3,e),this}updateTarget(e,t,n={}){let{currentTarget:i,targets:r}=this;r.has(i)||r.set(i,{}),r.get(i)[e]={keyframes:t,options:n}}then(e,t){return this.readyPromise.then(e,t)}}t.GroupPlaybackControls=l,t.NativeAnimationControls=f,t.ViewTransitionBuilder=V,t.attachTimeline=m,t.calcGeneratorDuration=c,t.createGeneratorEasing=d,t.cubicBezierAsString=b,t.generateLinearEasing=v,t.getValueTransition=u,t.hover=function(e,t,n={}){let[i,r,a]=A(e,n),o=O(e=>{let{target:n}=e,i=t(e);if("function"!=typeof i||!n)return;let a=O(e=>{i(e),n.removeEventListener("pointerleave",a)});n.addEventListener("pointerleave",a,r)});return i.forEach(e=>{e.addEventListener("pointerenter",o,r)}),a},t.isBezierDefinition=h,t.isDragActive=x,t.isDragging=T,t.isGenerator=p,t.isNodeOrChild=S,t.isPrimaryPointer=P,t.isWaapiSupportedEasing=function e(t){return!!("function"==typeof t&&g()||!t||"string"==typeof t&&(t in w||g())||h(t)||Array.isArray(t)&&t.every(e))},t.mapEasingToNativeEasing=k,t.maxGeneratorDuration=2e4,t.press=function(e,t,n={}){let[i,r,a]=A(e,n),o=e=>{let i=e.currentTarget;if(!(P(e)&&!x())||L.has(i))return;L.add(i);let a=t(e),o=(e,t)=>{window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",l),P(e)&&!x()&&L.has(i)&&(L.delete(i),"function"==typeof a&&a(e,{success:t}))},s=e=>{o(e,n.useGlobalTarget||S(i,e.target))},l=e=>{o(e,!1)};window.addEventListener("pointerup",s,r),window.addEventListener("pointercancel",l,r)};return i.forEach(e=>{M.has(e.tagName)||-1!==e.tabIndex||null!==e.getAttribute("tabindex")||(e.tabIndex=0),(n.useGlobalTarget?window:e).addEventListener("pointerdown",o,r),e.addEventListener("focus",e=>((e,t)=>{let n=e.currentTarget;if(!n)return;let i=C(()=>{if(L.has(n))return;R(n,"down");let e=C(()=>{R(n,"up")});n.addEventListener("keyup",e,t),n.addEventListener("blur",()=>R(n,"cancel"),t)});n.addEventListener("keydown",i,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),t)})(e,r),r)}),a},t.resolveElements=E,t.setDragLock=function(e){if("x"===e||"y"===e)if(T[e])return null;else return T[e]=!0,()=>{T[e]=!1};return T.x||T.y?null:(T.x=T.y=!0,()=>{T.x=T.y=!1})},t.supportedWaapiEasing=w,t.supportsFlags=y,t.supportsLinearEasing=g,t.supportsScrollTimeline=o,t.view=function(e,t={}){return new V(e,t)}}}]);

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.