PageSourceSearch

https://centraldle.es/_next/static/chunks/5623-d1bb804bb74dcee8.js

js centraldle.es collected 2026-10-09 05:16:15 UTC 18,541 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5623],{40625:(t,e,i)=>{i.d(e,{Wx:()=>l});var s=i(14232),o=Object.defineProperty,r=(t,e,i)=>e in t?o(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,n=new Map,h=new WeakMap,a=0,p=void 0;function l({threshold:t,delay:e,trackVisibility:i,rootMargin:o,root:r,triggerOnce:u,skip:d,initialInView:c,fallbackInView:f,onChange:g}={}){var w;let[v,b]=s.useState(null),z=s.useRef(),[m,y]=s.useState({inView:!!c,entry:void 0});z.current=g,s.useEffect(()=>{let s;if(!d&&v)return s=function(t,e,i={},s=p){if(void 0===window.IntersectionObserver&&void 0!==s){let o=t.getBoundingClientRect();return e(s,{isIntersecting:s,target:t,intersectionRatio:"number"==typeof i.threshold?i.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),()=>{}}let{id:o,observer:r,elements:l}=function(t){let e=Object.keys(t).sort().filter(e=>void 0!==t[e]).map(e=>{var i;return`${e}_${"root"===e?!(i=t.root)?"0":(h.has(i)||(a+=1,h.set(i,a.toString())),h.get(i)):t[e]}`}).toString(),i=n.get(e);if(!i){let s,o=new Map,r=new IntersectionObserver(e=>{e.forEach(e=>{var i;let r=e.isIntersecting&&s.some(t=>e.intersectionRatio>=t);t.trackVisibility&&void 0===e.isVisible&&(e.isVisible=r),null==(i=o.get(e.target))||i.forEach(t=>{t(r,e)})})},t);s=r.thresholds||(Array.isArray(t.threshold)?t.threshold:[t.threshold||0]),i={id:e,observer:r,elements:o},n.set(e,i)}return i}(i),u=l.get(t)||[];return l.has(t)||l.set(t,u),u.push(e),r.observe(t),function(){u.splice(u.indexOf(e),1),0===u.length&&(l.delete(t),r.unobserve(t)),0===l.size&&(r.disconnect(),n.delete(o))}}(v,(t,e)=>{y({inView:t,entry:e}),z.current&&z.current(t,e),e.isIntersecting&&u&&s&&(s(),s=void 0)},{root:r,rootMargin:o,threshold:t,trackVisibility:i,delay:e},f),()=>{s&&s()}},[Array.isArray(t)?t.toString():t,v,r,o,u,d,i,f,e]);let x=null==(w=m.entry)?void 0:w.target,S=s.useRef();v||!x||u||d||S.current===x||(S.current=x,y({inView:!!c,entry:void 0}));let R=[b,m.inView,m.entry];return R.ref=R[0],R.inView=R[1],R.entry=R[2],R}s.Component},54655:(t,e,i)=>{i.d(e,{c:()=>R});var s=i(14232),o=i(98477),r=function(){var t=function(e,i){return(t=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(e,i)};return function(e,i){function s(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(s.prototype=i.prototype,new s)}}(),n=function(){return(n=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},h={width:"100%",height:"10px",top:"0px",left:"0px",cursor:"row-resize"},a={width:"10px",height:"100%",top:"0px",left:"0px",cursor:"col-resize"},p={width:"20px",height:"20px",position:"absolute"},l={top:n(n({},h),{top:"-5px"}),right:n(n({},a),{left:void 0,right:"-5px"}),bottom:n(n({},h),{top:void 0,bottom:"-5px"}),left:n(n({},a),{left:"-5px"}),topRight:n(n({},p),{right:"-10px",top:"-10px",cursor:"ne-resize"}),bottomRight:n(n({},p),{right:"-10px",bottom:"-10px",cursor:"se-resize"}),bottomLeft:n(n({},p),{left:"-10px",bottom:"-10px",cursor:"sw-resize"}),topLeft:n(n({},p),{left:"-10px",top:"-10px",cursor:"nw-resize"})},u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.onMouseDown=function(t){e.props.onResizeStart(t,e.props.direction)},e.onTouchStart=function(t){e.props.onResizeStart(t,e.props.direction)},e}return r(e,t),e.prototype.render=function(){return s.createElement("div",{className:this.props.className||"",style:n(n({position:"absolute",userSelect:"none"},l[this.props.direction]),this.props.replaceStyles||{}),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart},this.props.children)},e}(s.PureComponent),d=function(){var t=function(e,i){return(t=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(e,i)};return function(e,i){function s(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(s.prototype=i.prototype,new s)}}(),c=function(){return(c=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},f={width:"auto",height:"auto"}
1,g=function(t,e,i){return Math.max(Math.min(t,i),e)},w=function(t,e){return Math.round(t/e)*e},v=function(t,e){return RegExp(t,"i").test(e)},b=function(t){return!!(t.touches&&t.touches.length)},z=function(t,e,i){void 0===i&&(i=0);var s=e.reduce(function(i,s,o){return Math.abs(s-t)<Math.abs(e[i]-t)?o:i},0),o=Math.abs(e[s]-t);return 0===i||o<i?e[s]:t},m=function(t){return"auto"===(t=t.toString())||t.endsWith("px")||t.endsWith("%")||t.endsWith("vh")||t.endsWith("vw")||t.endsWith("vmax")||t.endsWith("vmin")?t:t+"px"},y=function(t,e,i,s){if(t&&"string"==typeof t){if(t.endsWith("px"))return Number(t.replace("px",""));if(t.endsWith("%")){var o=Number(t.replace("%",""))/100;return e*o}if(t.endsWith("vw")){var o=Number(t.replace("vw",""))/100;return i*o}if(t.endsWith("vh")){var o=Number(t.replace("vh",""))/100;return s*o}}return t},x=["as","ref","style","className","grid","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],S="__resizable_base__",R=function(t){function e(e){var i,s,o,r,n=t.call(this,e)||this;return n.ratio=1,n.resizable=null,n.parentLeft=0,n.parentTop=0,n.resizableLeft=0,n.resizableRight=0,n.resizableTop=0,n.resizableBottom=0,n.targetLeft=0,n.targetTop=0,n.appendBase=function(){if(!n.resizable||!n.window)return null;var t=n.parentNode;if(!t)return null;var e=n.window.document.createElement("div");return e.style.width="100%",e.style.height="100%",e.style.position="absolute",e.style.transform="scale(0, 0)",e.style.left="0",e.style.flex="0 0 100%",e.classList?e.classList.add(S):e.className+=S,t.appendChild(e),e},n.removeBase=function(t){var e=n.parentNode;e&&e.removeChild(t)},n.state={isResizing:!1,width:null!=(s=null==(i=n.propsSize)?void 0:i.width)?s:"auto",height:null!=(r=null==(o=n.propsSize)?void 0:o.height)?r:"auto",direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},n.onResizeStart=n.onResizeStart.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.onMouseUp=n.onMouseUp.bind(n),n}return d(e,t),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"window",{get:function(){return this.resizable&&this.resizable.ownerDocument?this.resizable.ownerDocument.defaultView:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||f},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){var t=0,e=0;if(this.resizable&&this.window){var i=this.resizable.offsetWidth,s=this.resizable.offsetHeight,o=this.resizable.style.position;"relative"!==o&&(this.resizable.style.position="relative"),t="auto"!==this.resizable.style.width?this.resizable.offsetWidth:i,e="auto"!==this.resizable.style.height?this.resizable.offsetHeight:s,this.resizable.style.position=o}return{width:t,height:e}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"sizeStyle",{get:function(){var t=this,e=this.props.size,i=function(e){var i;if(void 0===t.state[e]||"auto"===t.state[e])return"auto";if(t.propsSize&&t.propsSize[e]&&(null==(i=t.propsSize[e])?void 0:i.toString().endsWith("%"))){if(t.state[e].toString().endsWith("%"))return t.state[e].toString();var s=t.getParentSize();return Number(t.state[e].toString().replace("px",""))/s[e]*100+"%"}return m(t.state[e])};return{width:e&&void 0!==e.width&&!this.state.isResizing?m(e.width):i("width"),height:e&&void 0!==e.height&&!this.state.isResizing?m(e.height):i("height")}},enumerable:!1,configurable:!0}),e.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var t=this.appendBase();if(!t)return{width:0,height:0};var e=!1,i=this.parentNode.style.flexWrap;"wrap"!==i&&(e=!0,this.parentNode.style.flexWrap="wrap"),t.style.position="relative",t.style.minWidth="100%",t.style.minHeight="100%";var s={width:t.offsetWidth,height:t.offsetHeight};return e&&(this.parentNode.style.flexWrap=i),this.removeBase(t),s},e.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},e.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},e.prototype.componentDidMount=function(){if(this.resizable&&this.window){var t=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:"auto"!==t.flexBasis?t.flexBasis:void 0})}},e.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},e.prototype.createSizeForCssProperty=function(t,e){var i=this.propsSize&&this.propsSize[e];return"auto"===this.state[e]&&this.state.original[e]===t&&(void 0===i||"auto"===i)?"auto":t},e.prototype.calculateNewMaxFromBoundary=function(t,e){var i,s,o=this.props.boundsByDirection,r=this.state.direction,n=o&&v("left",r),h=o&&v("top",r);
1if("parent"===this.props.bounds){var a=this.parentNode;a&&(i=n?this.resizableRight-this.parentLeft:a.offsetWidth+(this.parentLeft-this.resizableLeft),s=h?this.resizableBottom-this.parentTop:a.offsetHeight+(this.parentTop-this.resizableTop))}else"window"===this.props.bounds?this.window&&(i=n?this.resizableRight:this.window.innerWidth-this.resizableLeft,s=h?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(i=n?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),s=h?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return i&&Number.isFinite(i)&&(t=t&&t<i?t:i),s&&Number.isFinite(s)&&(e=e&&e<s?e:s),{maxWidth:t,maxHeight:e}},e.prototype.calculateNewSizeFromDirection=function(t,e){var i,s=this.props.scale||1,o=Array.isArray(i=this.props.resizeRatio||1)?i:[i,i],r=o[0],n=o[1],h=this.state,a=h.direction,p=h.original,l=this.props,u=l.lockAspectRatio,d=l.lockAspectRatioExtraHeight,c=l.lockAspectRatioExtraWidth,f=p.width,g=p.height,w=d||0,b=c||0;return v("right",a)&&(f=p.width+(t-p.x)*r/s,u&&(g=(f-b)/this.ratio+w)),v("left",a)&&(f=p.width-(t-p.x)*r/s,u&&(g=(f-b)/this.ratio+w)),v("bottom",a)&&(g=p.height+(e-p.y)*n/s,u&&(f=(g-w)*this.ratio+b)),v("top",a)&&(g=p.height-(e-p.y)*n/s,u&&(f=(g-w)*this.ratio+b)),{newWidth:f,newHeight:g}},e.prototype.calculateNewSizeFromAspectRatio=function(t,e,i,s){var o=this.props,r=o.lockAspectRatio,n=o.lockAspectRatioExtraHeight,h=o.lockAspectRatioExtraWidth,a=void 0===s.width?10:s.width,p=void 0===i.width||i.width<0?t:i.width,l=void 0===s.height?10:s.height,u=void 0===i.height||i.height<0?e:i.height,d=n||0,c=h||0;if(r){var f=(l-d)*this.ratio+c,w=(u-d)*this.ratio+c,v=(a-c)/this.ratio+d,b=(p-c)/this.ratio+d,z=Math.max(l,v),m=Math.min(u,b);t=g(t,Math.max(a,f),Math.min(p,w)),e=g(e,z,m)}else t=g(t,a,p),e=g(e,l,u);return{newWidth:t,newHeight:e}},e.prototype.setBoundingClientRect=function(){if("parent"===this.props.bounds){var t=this.parentNode;if(t){var e=t.getBoundingClientRect();this.parentLeft=e.left,this.parentTop=e.top}}if(this.props.bounds&&"string"!=typeof this.props.bounds){var i=this.props.bounds.getBoundingClientRect();this.targetLeft=i.left,this.targetTop=i.top}if(this.resizable){var s=this.resizable.getBoundingClientRect(),o=s.left,r=s.top,n=s.right,h=s.bottom;this.resizableLeft=o,this.resizableRight=n,this.resizableTop=r,this.resizableBottom=h}},e.prototype.onResizeStart=function(t,e){if(this.resizable&&this.window){var i,s,o=0,r=0;if(t.nativeEvent&&((i=t.nativeEvent).clientX||0===i.clientX)&&(i.clientY||0===i.clientY)?(o=t.nativeEvent.clientX,r=t.nativeEvent.clientY):t.nativeEvent&&b(t.nativeEvent)&&(o=t.nativeEvent.touches[0].clientX,r=t.nativeEvent.touches[0].clientY),!this.props.onResizeStart||!this.resizable||!1!==this.props.onResizeStart(t,e,this.resizable)){this.props.size&&(void 0!==this.props.size.height&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),void 0!==this.props.size.width&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio="number"==typeof this.props.lockAspectRatio?this.props.lockAspectRatio:this.size.width/this.size.height;var n=this.window.getComputedStyle(this.resizable);if("auto"!==n.flexBasis){var h=this.parentNode;if(h){var a=this.window.getComputedStyle(h).flexDirection;this.flexDir=a.startsWith("row")?"row":"column",s=n.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var p={original:{x:o,y:r,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:c(c({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(t.target).cursor||"auto"}),direction:e,flexBasis:s};this.setState(p)}}},e.prototype.onMouseMove=function(t){var e=this;if(this.state.isResizing&&this.resizable&&this.window){if(this.window.TouchEvent&&b(t))try{t.preventDefault(),t.stopPropagation()}catch(t){}var i,s,r,n,h,a,p=this.props,l=p.maxWidth,u=p.maxHeight,d=p.minWidth,c=p.minHeight,f=b(t)?t.touches[0].clientX:t.clientX,g=b(t)?t.touches[0].clientY:t.clientY,v=this.state,m=v.direction,x=v.original,S=v.width,R=v.height,W=this.getParentSize(),E=(i=this.window.innerWidth,s=this.window.innerHeight,r=l,n=u,h=d,a=c,r=y(r,W.width,i,s),n=y(n,W.height,i,s),h=y(h,W.width,i,s),a=y(a,W.height,i,s),{maxWidth:void 0===r?void 0:Number(r),maxHeight:void 0===n?void 0:Number(n),minWidth:void 0===h?void 0:Number(h),minHeight:void 0===a?void 0:Number(a)});l=E.maxWidth,u=E.maxHeight,d=E.minWidth,c=E.minHeight;var M=this.calculateNewSizeFromDirection(f,g),N=M.newHeight,B=M.newWidth,H=this.calculateNewMaxFromBoundary(l,u);this.props.snap&&this.props.snap.x&&(B=z(B,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(N=z(N,this.props.snap.y,this.props.snapGap));var k=this.calculateNewSizeFromAspectRatio(B,N,{width:H.maxWidth,height:H.maxHeight},{width:d,height:c});if(B=k.newWidth,N=k.newHeight,this.props.grid){var L=w(B,this.props.grid[0]),O=w(N,this.props.grid[1]),C=this.props.snapGap||0,_=0===C||Math.abs(L-B)<=C?L:B,A=0===C||Math.abs(O-N)<=C?O:N;B=_,N=A}var P={width:B-x.width,height:N-x.height};if(S&&"string"==typeof S){if(S.endsWith("%")){var j=B/W.width*100;B=j+"%"}else if(S.endsWith("vw")){var T=B/this.window.innerWidth*100;B=T+"vw"}else if(S.endsWith("vh")){var D=B/this.window.innerHeight*100;B=D+"vh"}}if(R&&"string"==typeof R){if(R.endsWith("%")){var j=N/W.height*100;N=j+"%"}else if(R.endsWith("vw")){var T=N/this.window.innerWidth*100;N=T+"vw"}else if(R.endsWith("vh")){var D=N/this.window.innerHeight*100;N=D+"vh"}}var F={width:this.createSizeForCssProperty(B,"width"),height:this.createSizeForCssProperty(N,"height")};"row"===this.flexDir?F.flexBasis=F.width:"column"===this.flexDir&&(F.flexBasis=F.height);var U=this.state.width!==F.width,V=this.state.height!==F.height,I=this.state.flexBasis!==F.flexBasis,X=U||V||I;X&&(0,o.flushSync)(function(){e.setState(F)}),this.props.onResize&&X&&this.props.onResize(t,m,this.resizable,P)}},e.prototype.onMouseUp=function(t){var e,i,s=this.state,o=s.isResizing,r=s.direction,n=s.original;if(o&&this.resizable){var h={width:this.size.width-n.width,height:this.size.height-n.height};this.props.onResizeStop&&this.props.onResizeStop(t,r,this.resizable,h),this.props.size&&this.setState({width:null!=(e=this.props.size.width)?e:"auto",height:null!=(i=this.props.size.height)?i:"auto"}),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:c(c({},this.state.backgroundStyle),{cursor:"auto"})})}},e.prototype.updateSize=function(t){var e,i;this.setState({width:null!=(e=t.width)?e:"auto",height:null!=(i=t.height)?i:"auto"})},e.prototype.renderResizer=function(){var t=this,e=this.props,i=e.enable,o=e.handleStyles,r=e.handleClasses,n=e.handleWrapperStyle,h=e.handleWrapperClass,a=e.handleComponent;if(!i)return null;var p=Object.keys(i).map(function(e){return!1!==i[e]?s.createElement(u,{key:e,direction:e,onResizeStart:t.onResizeStart,replaceStyles:o&&o[e],className:r&&r[e]},a&&a[e]?a[e]:null):null});return s.createElement("div",{className:h,style:n},p)},e.prototype.render=function(){var t=this,e=Object.keys(this.props).reduce(function(e,i){return -1!==x.indexOf(i)||(e[i]=t.props[i]),e},{}),i=c(c(c({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(i.flexBasis=this.state.flexBasis);var o=this.props.as||"div";return s.createElement(o,c({style:i,className:this.props.className},e,{ref:function(e){e&&(t.resizable=e)}}),this.state.isResizing&&s.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},e.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{}
1,grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},e}(s.PureComponent)}}]);

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.