PageSourceSearch

https://electric.pl/_next/static/chunks/vendor-dfc0d3ba-4bd75a60322fe2b7.js

js electric.pl collected 2026-10-04 22:30:40 UTC 22,994 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2229],{10903:(t,e,n)=>{n.d(e,{z:()=>r});var i=n(9356),s=n(39421),o=n(12574);function r(t,e,n){let r=(0,i.S)(t)?t:(0,s.OQ)(t);return r.start((0,o.f)("",r,e,n)),r.animation}},12574:(t,e,n)=>{n.d(e,{f:()=>g});var i=n(65812),s=n(92051),o=n(23932),r=n(31604),a=n(97702),l=n(40300),u=n(14148);let h=t=>null!==t;var c=n(84473);let d={type:"spring",stiffness:500,damping:25,restSpeed:10},m=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),p={type:"keyframes",duration:.8},f={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},v=(t,{keyframes:e})=>e.length>2?p:c.f.has(t)?t.startsWith("scale")?m(e[1]):d:f,g=(t,e,n,c={},d,m)=>p=>{let f=(0,i.r)(c,t)||{},g=f.delay||c.delay||0,{elapsed:y=0}=c;y-=(0,l.f)(g);let x={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...f,delay:-y,onUpdate:t=>{e.set(t),f.onUpdate&&f.onUpdate(t)},onComplete:()=>{p(),f.onComplete&&f.onComplete()},name:t,motionValue:e,element:m?void 0:d};!function({when:t,delay:e,delayChildren:n,staggerChildren:i,staggerDirection:s,repeat:o,repeatType:r,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(f)&&Object.assign(x,v(t,x)),x.duration&&(x.duration=(0,l.f)(x.duration)),x.repeatDelay&&(x.repeatDelay=(0,l.f)(x.repeatDelay)),void 0!==x.from&&(x.keyframes[0]=x.from);let P=!1;if(!1!==x.type&&(0!==x.duration||x.repeatDelay)||((0,s._)(x),0!==x.delay||(P=!0)),(u.W.instantAnimations||u.W.skipAnimations)&&(P=!0,(0,s._)(x),x.delay=0),x.allowFlatten=!f.type&&!f.ease,P&&!m&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:n="loop"},i){let s=t.filter(h),o=e&&"loop"!==n&&e%2==1?0:s.length-1;return s[o]}(x.keyframes,f);if(void 0!==t){o.Gt.update(()=>{x.onUpdate(t),x.onComplete()});return}}return f.isSync?new r.s(x):new a.A(x)}},39811:(t,e,n)=>{n.d(e,{_:()=>p});var i=n(95134),s=n(65812),o=n(23932),r=n(58280),a=n(40425),l=n(86901),u=n(32389),h=n(12574);function c(t,e,{delay:n=0,transitionOverride:i,type:d}={}){let{transition:m=t.getDefaultTransition(),transitionEnd:p,...f}=e;i&&(m=i);let v=[],g=d&&t.animationState&&t.animationState.getState()[d];for(let e in f){let i=t.getValue(e,t.latestValues[e]??null),a=f[e];if(void 0===a||g&&function({protectedKeys:t,needsAnimating:e},n){let i=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,i}(g,e))continue;let c={delay:n,...(0,s.r)(m||{},e)},d=i.get();if(void 0!==d&&!i.isAnimating&&!Array.isArray(a)&&a===d&&!c.velocity)continue;let p=!1;if(window.MotionHandoffAnimation){let n=(0,u.P)(t);if(n){let t=window.MotionHandoffAnimation(n,e,o.Gt);null!==t&&(c.startTime=t,p=!0)}}(0,l.g)(t,e),i.start((0,h.f)(e,i,a,t.shouldReduceMotion&&r.$.has(e)?{type:!1}:c,t,p));let y=i.animation;y&&v.push(y)}return p&&Promise.all(v).then(()=>{o.Gt.update(()=>{p&&(0,a.U)(t,p)})}),v}var d=n(73609);function m(t,e,n={}){let s=(0,i.K)(t,e,"exit"===n.type?t.presenceContext?.custom:void 0),{transition:o=t.getDefaultTransition()||{}}=s||{};n.transitionOverride&&(o=n.transitionOverride);let r=s?()=>Promise.all(c(t,s,n)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(i=0)=>{let{delayChildren:s=0,staggerChildren:r,staggerDirection:a}=o;return function(t,e,n=0,i=0,s=0,o=1,r){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(m(l,e,{...r,delay:n+("function"==typeof i?0:i)+(0,d.L)(t.variantChildren,l,i,s,o)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,i,s,r,a,n)}:()=>Promise.resolve(),{when:l}=o;if(!l)return Promise.all([r(),a(n.delay)]);{let[t,e]="beforeChildren"===l?[r,a]:[a,r];return t().then(()=>e())}}function p(t,e,n={}){let s;if(t.notify("AnimationStart",e),Array.isArray(e))s=Promise.all(e.map(e=>m(t,e,n)));else if("string"==typeof e)s=m(t,e,n);else{let o="function"==typeof e?(0,i.K)(t,e,n.custom):e;s=Promise.all(c(t,o,n))}return s.then(()=>{t.notify("AnimationComplete",e)})}},17539:(t,e,n)=>{n.d(e,{n:()=>i});let i="data-"+(0,n(42717).I)("framerAppearId")},32389:(t,e,n)=>{n.d(e,{P:()=>s});var i=n(17539);function s(t){return t.props[i.n]}},73609:(t,e,n)=>{n.d(e,{L:()=>i});function i(t,e,n,s=0,o=1){let r=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),a=t.size,l=(a-1)*s;return"function"==typeof n?n(r,a):1===o?r*s:l-r*s}},5385:(t,e,n)=>{n.d(e,{N:()=>i});function i(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}},82043:(t,e,n)=>{n.d(e,{p:()=>i});let i=t=>Array.isArray(t)},25683:(t,e,n)=>{n.d(e,{N:()=>y});var i=n(95155),s=n(12115),o=n(64710),r=n(99234),a=n(35403),l=n(39656),u=n(92804),h=n(27249);class c extends s.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){let t=e.offsetParent,n=(0,u.s)(t)&&t.offsetWidth||0,i=this.props.sizeRef.current;i.height=e.offsetHeight||0,i.width=e.offsetWidth||0,i.top=e.offsetTop,i.left=e.offsetLeft,i.right=n-i.width-i.left}return null}componentDidUpdate(){}render(){return this.props.children}}function d(t){let{children:e,isPresent:n,anchorX:o,root:r}=t,a=(0,s.useId)(),l=(0,s.useRef)(null),u=(0,s.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=(0,s.useContext)(h.Q);return(0,s.useInsertionEffect)(()=>{let{width:t,height:e,top:i,left:s,right:h}=u.current;if(n||!l.current||!t||!e)return;l.current.dataset.motionPopId=a;let c=document.createElement("style");d&&(c.nonce=d);let m=null!=r?r:document.head;return m.appendChild(c),c.sheet&&c.sheet.insertRule('\n          [data-motion-pop-id="'.concat(a,'"] {\n            position: absolute !important;\n            width: ').concat(t,"px !important;\n            height: ").concat(e,"px !important;\n            ").concat("left"===o?"left: ".concat(s):"right: ".concat(h),"px !important;\n            top: ").concat(i,"px !important;\n          }\n        ")),()=>{m.contains(c)&&m.removeChild(c)}},[n]),(0,i.jsx)(c,{isPresent:n,childRef:l,sizeRef:u,children:s.cloneElement(e,{ref:l})})}let m=t=>{let{children:e,initial:n,isPresent:o,onExitComplete:a,custom:u,presenceAffectsLayout:h,mode:c,anch
1orX:m,root:f}=t,v=(0,r.M)(p),g=(0,s.useId)(),y=!0,x=(0,s.useMemo)(()=>(y=!1,{id:g,initial:n,isPresent:o,custom:u,onExitComplete:t=>{for(let e of(v.set(t,!0),v.values()))if(!e)return;a&&a()},register:t=>(v.set(t,!1),()=>v.delete(t))}),[o,v,a]);return h&&y&&(x={...x}),(0,s.useMemo)(()=>{v.forEach((t,e)=>v.set(e,!1))},[o]),s.useEffect(()=>{o||v.size||!a||a()},[o]),"popLayout"===c&&(e=(0,i.jsx)(d,{isPresent:o,anchorX:m,root:f,children:e})),(0,i.jsx)(l.t.Provider,{value:x,children:e})};function p(){return new Map}var f=n(85087);let v=t=>t.key||"";function g(t){let e=[];return s.Children.forEach(t,t=>{(0,s.isValidElement)(t)&&e.push(t)}),e}let y=t=>{let{children:e,custom:n,initial:l=!0,onExitComplete:u,presenceAffectsLayout:h=!0,mode:c="sync",propagate:d=!1,anchorX:p="left",root:y}=t,[x,P]=(0,f.xQ)(d),E=(0,s.useMemo)(()=>g(e),[e]),A=d&&!x?[]:E.map(v),w=(0,s.useRef)(!0),C=(0,s.useRef)(E),M=(0,r.M)(()=>new Map),[S,D]=(0,s.useState)(E),[L,k]=(0,s.useState)(E);(0,a.E)(()=>{w.current=!1,C.current=E;for(let t=0;t<L.length;t++){let e=v(L[t]);A.includes(e)?M.delete(e):!0!==M.get(e)&&M.set(e,!1)}},[L,A.length,A.join("-")]);let X=[];if(E!==S){let t=[...E];for(let e=0;e<L.length;e++){let n=L[e],i=v(n);A.includes(i)||(t.splice(e,0,n),X.push(n))}return"wait"===c&&X.length&&(t=X),k(g(t)),D(E),null}let{forceRender:b}=(0,s.useContext)(o.L);return(0,i.jsx)(i.Fragment,{children:L.map(t=>{let e=v(t),s=(!d||!!x)&&(E===L||A.includes(e));return(0,i.jsx)(m,{isPresent:s,initial:(!w.current||!!l)&&void 0,custom:n,presenceAffectsLayout:h,mode:c,root:y,onExitComplete:s?void 0:()=>{if(!M.has(e))return;M.set(e,!0);let t=!0;M.forEach(e=>{e||(t=!1)}),t&&(null==b||b(),k(C.current),d&&(null==P||P()),u&&u())},anchorX:p,children:t},e)})})}},85087:(t,e,n)=>{n.d(e,{xQ:()=>o});var i=n(12115),s=n(39656);function o(t=!0){let e=(0,i.useContext)(s.t);if(null===e)return[!0,null];let{isPresent:n,onExitComplete:r,register:a}=e,l=(0,i.useId)();(0,i.useEffect)(()=>{if(t)return a(l)},[t]);let u=(0,i.useCallback)(()=>t&&r&&r(l),[l,r,t]);return!n&&r?[!1,u]:[!0]}},64710:(t,e,n)=>{n.d(e,{L:()=>i});let i=(0,n(12115).createContext)({})},75815:(t,e,n)=>{n.d(e,{Y:()=>i});let i=(0,n(12115).createContext)({strict:!1})},27249:(t,e,n)=>{n.d(e,{Q:()=>i});let i=(0,n(12115).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},13189:(t,e,n)=>{n.d(e,{z:()=>a});var i=n(12115),s=n(34358),o=n(99038),r=n(62896);function a(t){let{initial:e,animate:n}=function(t,e){if((0,o.e)(t)){let{initial:e,animate:n}=t;return{initial:!1===e||(0,r.w)(e)?e:void 0,animate:(0,r.w)(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,i.useContext)(s.A));return(0,i.useMemo)(()=>({initial:e,animate:n}),[l(e),l(n)])}function l(t){return Array.isArray(t)?t.join(" "):t}},34358:(t,e,n)=>{n.d(e,{A:()=>i});let i=(0,n(12115).createContext)({})},39656:(t,e,n)=>{n.d(e,{t:()=>i});let i=(0,n(12115).createContext)(null)},15750:(t,e,n)=>{n.d(e,{N:()=>i});let i=(0,n(12115).createContext)({})},85677:(t,e,n)=>{n.d(e,{k:()=>i});function i(t,e,n,s={passive:!0}){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n)}},21594:(t,e,n)=>{n.d(e,{h:()=>o});var i=n(85677),s=n(66203);function o(t,e,n,o){return(0,i.k)(t,e,(0,s.F)(n),o)}},66203:(t,e,n)=>{n.d(e,{F:()=>o,e:()=>s});var i=n(84555);function s(t){return{point:{x:t.pageX,y:t.pageY}}}let o=t=>e=>(0,i.M)(e)&&t(e,s(e))},9872:(t,e,n)=>{n.d(e,{w:()=>V});var i=n(35971),s=n(26054),o=n(48618),r=n(63137),a=n(23932),l=n(21607),u=n(45107),h=n(12574),c=n(85677),d=n(21594),m=n(66203),p=n(65599),f=n(36764),v=n(27865),g=n(90465),y=n(77106),x=n(58831),P=n(78674),E=n(86901),A=n(18116),w=n(19615),C=n(85821);function M(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function S(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,i]=[i,n]),{min:n,max:i}}function D(t,e,n){return{min:L(t,e),max:L(t,n)}}function L(t,e){return"number"==typeof t?t:t[e]||0}let k=new WeakMap;class X{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,v.ge)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:n}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let{dragSnapToOrigin:s}=this.getProps();this.panSession=new A.Q(t,{onSessionStart:t=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor((0,m.e)(t).point)},onStart:(t,e)=>{let{drag:n,dragPropagation:i,onDragStart:s}=this.getProps();if(n&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,o.W)(n),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,g.X)(t=>{let e=this.getAxisMotionValue(t).get()||0;if(r.KN.test(e)){let{projection:n}=this.visualElement;if(n&&n.layout){let i=n.layout.layoutBox[t];i&&(e=(0,f.CQ)(i)*(parseFloat(e)/100))}}this.originPoint[t]=e}),s&&a.Gt.postRender(()=>s(t,e)),(0,E.g)(this.visualElement,"transform");let{animationState:l}=this.visualElement;l&&l.setActive("whileDrag",!0)},onMove:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:n,dragDirectionLock:i,onDirectionLock:s,onDrag:o}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:r}=e;if(i&&null===this.currentDirection){this.currentDirection=function(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}(r),null!==this.currentDirection&&s&&s(this.currentDirection);return}this.updateAxis("x",e.point,r),this.updateAxis("y",e.point,r),this.visualElement.render(),o&&o(t,e)},onSessionEnd:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>(0,g.X)(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play())},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:s,distanceThreshold:n,contextWindow:(0,x.s)(this.visualElement)})}stop(t,e){let n=t||this.latestPointerEvent,i=e||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!i||!n)return;let{velocity:o}=i;this.startAnimation(o);let{onDragEnd:r}=this.getProps();r&&a.Gt.postRender(()=>r(n,i))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,n){let{drag:i}=this.getProps();if(!n||!b(t,i,this.currentDirection))return;let s=this.getAxisMotionValue(t),o=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:n},i){return void 0!==e&&t<e?t=i?(0,l.k)(e,t,i.min):Math.max(t,e):void 0!==n&&t>n&&(t=i?(0,l.k)(n,t,i.max):Math.min(t,n)),t}(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;t&&(0,P.X)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=function(t,{top:e,left:n,bottom:i,right:s}){return{x:M(t.x,n,s),y:M(t.y,e,i)}}(n.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:D(t,"left","right"),y:D(t,"top","bottom")}}(e),i!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&(0,g.X)(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!(0,P.X)(e))return!1;let i=e.current;(0,u.V)(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:s}=this.visualElement;if(!s||!s.layout)return!1;let o=(0,y.L)(i,s.root,this.visualElement.getTransformPagePoint()),r={x:S((t=s.layout.layoutBox).x,o.x),y:S(t.y,o.y)};if(n){let t=n((0,p.pA)(r));this.hasMutatedConstraints=!!t,t&&(r=(0,p.FY)(t))}return r}startAnimation(t){let{drag:e,dragMomentum:n,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:r}=this.getProps(),a=this.constraints||{};return Promise.all((0,g.X)(r=>{if(!b(r,e,this.currentDirection))return;let l=a&&a[r]||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:n?t[r]:0,bounceStiffness:i?200:1e6,bounceDamping:i?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...s,...l};return this.startAxisValueAnimation(r,u)})).then(r)}startAxisValueAnimation(t,e){let n=this.getAxisMotionValue(t);return(0,E.g)(this.visualElement,t),n.start((0,h.f)(t,n,0,e,this.visualElement,!1))}stopAnimation(){(0,g.X)(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){(0,g.X)(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps();return n[e]||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){(0,g.X)(e=>{let{drag:n}=this.getProps();if(!b(e,n,this.currentDirection))return;let{projection:i}=this.visualElement,s=this.getAxisMotionValue(e);if(i&&i.layout){let{min:n,max:o}=i.layout.layoutBox[e];s.set(t[e]-(0,l.k)(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!(0,P.X)(e)||!n||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};(0,g.X)(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let n=e.get();i[t]=function(t,e){let n=.5,i=(0,f.CQ)(t),s=(0,f.CQ)(e);return s>i?n=(0,w.q)(e.min,e.max-i,t.min):i>s&&(n=(0,w.q)(t.min,t.max-s,e.min)),(0,C.q)(0,1,n)}({min:n,max:n},this.constraints[t])}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),(0,g.X)(e=>{if(!b(e,t,null))return;let n=this.getAxisMotionValue(e),{min:s,max:o}=this.constraints[e];n.set((0,l.k)(s,o,i[e]))})}addListeners(){if(!this.visualElement.current)return;k.set(this.visualElement,this);let t=this.visualElement.current,e=(0,d.h)(t,"pointerdown",t=>{let{drag:e,dragListener:n=!0}
1=this.getProps();e&&n&&this.start(t)}),n=()=>{let{dragConstraints:t}=this.getProps();(0,P.X)(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",n);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),a.Gt.read(n);let o=(0,c.k)(window,"resize",()=>this.scalePositionWithinConstraints()),r=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&((0,g.X)(e=>{let n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))}),this.visualElement.render())});return()=>{o(),e(),s(),r&&r()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=.35,dragMomentum:r=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:r}}}function b(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}class V extends i.X{constructor(t){super(t),this.removeGroupControls=s.l,this.removeListeners=s.l,this.controls=new X(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||s.l}unmount(){this.removeGroupControls(),this.removeListeners()}}},91071:(t,e,n)=>{n.d(e,{c:()=>r});var i=n(91046),s=n(85677),o=n(35971);class r extends o.X{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,i.F)((0,s.k)(this.node.current,"focus",()=>this.onFocus()),(0,s.k)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},38601:(t,e,n)=>{n.d(e,{e:()=>l});var i=n(23932),s=n(62336),o=n(66203),r=n(35971);function a(t,e,n){let{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover","Start"===n);let r=s["onHover"+n];r&&i.Gt.postRender(()=>r(e,(0,o.e)(e)))}class l extends r.X{mount(){let{current:t}=this.node;t&&(this.unmount=(0,s.P)(t,(t,e)=>(a(this.node,e,"Start"),t=>a(this.node,t,"End"))))}unmount(){}}},18116:(t,e,n)=>{n.d(e,{Q:()=>h});var i=n(23932),s=n(84555),o=n(91046),r=n(40300),a=n(21594),l=n(66203),u=n(53241);class h{constructor(t,e,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:h=!1,distanceThreshold:d=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=m(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=(0,u.w)(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!n)return;let{point:s}=t,{timestamp:o}=i.uv;this.history.push({...s,timestamp:o});let{onStart:r,onMove:a}=this.handlers;e||(r&&r(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=c(e,this.transformPagePoint),i.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:n,onSessionEnd:i,resumeAnimation:s}=this.handlers;if(this.dragSnapToOrigin&&s&&s(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=m("pointercancel"===t.type?this.lastMoveEventInfo:c(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,o),i&&i(t,o)},!(0,s.M)(t))return;this.dragSnapToOrigin=h,this.handlers=e,this.transformPagePoint=n,this.distanceThreshold=d,this.contextWindow=r||window;let p=c((0,l.e)(t),this.transformPagePoint),{point:f}=p,{timestamp:v}=i.uv;this.history=[{...f,timestamp:v}];let{onSessionStart:g}=e;g&&g(t,m(p,this.history)),this.removeListeners=(0,o.F)((0,a.h)(this.contextWindow,"pointermove",this.handlePointerMove),(0,a.h)(this.contextWindow,"pointerup",this.handlePointerUp),(0,a.h)(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,i.WG)(this.updatePoint)}}function c(t,e){return e?{point:e(t.point)}:t}function d(t,e){return{x:t.x-e.x,y:t.y-e.y}}function m({point:t},e){return{point:t,delta:d(t,p(e)),offset:d(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null,s=p(t);for(;n>=0&&(i=t[n],!(s.timestamp-i.timestamp>(0,r.f)(.1)));)n--;if(!i)return{x:0,y:0};let o=(0,r.X)(s.timestamp-i.timestamp);if(0===o)return{x:0,y:0};let a={x:(s.x-i.x)/o,y:(s.y-i.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(e,0)}}function p(t){return t[t.length-1]}},62563:(t,e,n)=>{n.d(e,{f:()=>h});var i=n(23932),s=n(26054),o=n(21594),r=n(35971),a=n(58831),l=n(18116);let u=t=>
1(e,n)=>{t&&i.Gt.postRender(()=>t(e,n))};class h extends r.X{constructor(){super(...arguments),this.removePointerDownListener=s.l}onPointerDown(t){this.session=new l.Q(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:(0,a.s)(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:s}=this.node.getProps();return{onSessionStart:u(t),onStart:u(e),onMove:n,onEnd:(t,e)=>{delete this.session,s&&i.Gt.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=(0,o.h)(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},99370:(t,e,n)=>{n.d(e,{H:()=>l});var i=n(23932),s=n(95456),o=n(66203),r=n(35971);function a(t,e,n){let{props:s}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap","Start"===n);let r=s["onTap"+("End"===n?"":n)];r&&i.Gt.postRender(()=>r(e,(0,o.e)(e)))}class l extends r.X{mount(){let{current:t}=this.node;t&&(this.unmount=(0,s.c)(t,(t,e)=>(a(this.node,e,"Start"),(t,{success:e})=>a(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}}}]);

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.