PageSourceSearch

https://speetar.com/_next/static/chunks/4118-d59c965b00d6b7dbefe9.js

js speetar.com collected 2026-09-28 11:12:12 UTC 11,305 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4118],{34118:function(e,t,i){i.d(t,{Z:function(){return M}});var n=i(87462),o=i(67294),s=i(94184),r=i.n(s),a=i(97326),l=i(94578),h=i(45697),p=i.n(h),d=i(63366),u=i(4942),c=i(73935),f=i(77420),m=i(23663),g=i(69638),v=["cssModule","children","isOpen","flip","target","offset","fallbackPlacement","placementPrefix","arrowClassName","hideArrow","popperClassName","tag","container","modifiers","positionFixed","boundariesElement","onClosed","fade","transition","placement"];function T(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function O(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?T(Object(i),!0).forEach((function(t){(0,u.Z)(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):T(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}var b={children:p().oneOfType([p().node,p().func]).isRequired,popperClassName:p().string,placement:p().string,placementPrefix:p().string,arrowClassName:p().string,hideArrow:p().bool,tag:m.iC,isOpen:p().bool.isRequired,cssModule:p().object,offset:p().oneOfType([p().string,p().number]),fallbackPlacement:p().oneOfType([p().string,p().array]),flip:p().bool,container:m.qW,target:m.qW.isRequired,modifiers:p().object,positionFixed:p().bool,boundariesElement:p().oneOfType([p().string,m.n5]),onClosed:p().func,fade:p().bool,transition:p().shape(g.Z.propTypes)},y={boundariesElement:"scrollParent",placement:"auto",hideArrow:!1,isOpen:!1,offset:0,fallbackPlacement:"flip",flip:!0,container:"body",modifiers:{},onClosed:function(){},fade:!0,transition:O({},g.Z.defaultProps)},E=function(e){function t(t){var i;return(i=e.call(this,t)||this).setTargetNode=i.setTargetNode.bind((0,a.Z)(i)),i.getTargetNode=i.getTargetNode.bind((0,a.Z)(i)),i.getRef=i.getRef.bind((0,a.Z)(i)),i.onClosed=i.onClosed.bind((0,a.Z)(i)),i.state={isOpen:t.isOpen},i}(0,l.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.isOpen&&!t.isOpen?{isOpen:e.isOpen}:null};var i=t.prototype;return i.componentDidUpdate=function(){this._element&&this._element.childNodes&&this._element.childNodes[0]&&this._element.childNodes[0].focus&&this._element.childNodes[0].focus()},i.setTargetNode=function(e){this.targetNode="string"===typeof e?(0,m.U9)(e):e},i.getTargetNode=function(){return this.targetNode},i.getContainerNode=function(){return(0,m.U9)(this.props.container)},i.getRef=function(e){this._element=e},i.onClosed=function(){this.props.onClosed(),this.setState({isOpen:!1})},i.renderChildren=function(){var e=this.props,t=e.cssModule,i=e.children,s=e.isOpen,a=e.flip,l=(e.target,e.offset),h=e.fallbackPlacement,p=e.placementPrefix,u=e.arrowClassName,c=e.hideArrow,T=e.popperClassName,b=e.tag,y=(e.container,e.modifiers),E=e.positionFixed,w=e.boundariesElement,C=(e.onClosed,e.fade),N=e.transition,_=e.placement,D=(0,d.Z)(e,v),P=(0,m.mx)(r
1()("arrow",u),t),x=(0,m.mx)(r()(T,p?p+"-auto":""),this.props.cssModule),Z=O({offset:{offset:l},flip:{enabled:a,behavior:h},preventOverflow:{boundariesElement:w}},y),k=O(O(O({},g.Z.defaultProps),N),{},{baseClass:C?N.baseClass:"",timeout:C?N.timeout:0});return o.createElement(g.Z,(0,n.Z)({},k,D,{in:s,onExited:this.onClosed,tag:b}),o.createElement(f.ZP,{referenceElement:this.targetNode,modifiers:Z,placement:_,positionFixed:E},(function(e){var t=e.ref,n=e.style,s=e.placement,r=e.outOfBoundaries,a=e.arrowProps,l=e.scheduleUpdate;return o.createElement("div",{ref:t,style:n,className:x,"x-placement":s,"x-out-of-boundaries":r?"true":void 0},"function"===typeof i?i({scheduleUpdate:l}):i,!c&&o.createElement("span",{ref:a.ref,className:P,style:a.style}))})))},i.render=function(){return this.setTargetNode(this.props.target),this.state.isOpen?"inline"===this.props.container?this.renderChildren():c.createPortal(o.createElement("div",{ref:this.getRef},this.renderChildren()),this.getContainerNode()):null},t}(o.Component);E.propTypes=b,E.defaultProps=y;var w=E,C={children:p().oneOfType([p().node,p().func]),placement:p().oneOf(m.JL),target:m.qW.isRequired,container:m.qW,isOpen:p().bool,disabled:p().bool,hideArrow:p().bool,boundariesElement:p().oneOfType([p().string,m.n5]),className:p().string,innerClassName:p().string,arrowClassName:p().string,popperClassName:p().string,cssModule:p().object,toggle:p().func,autohide:p().bool,placementPrefix:p().string,delay:p().oneOfType([p().shape({show:p().number,hide:p().number}),p().number]),modifiers:p().object,positionFixed:p().bool,offset:p().oneOfType([p().string,p().number]),innerRef:p().oneOfType([p().func,p().string,p().object]),trigger:p().string,fade:p().bool,flip:p().bool},N={show:0,hide:50},_={isOpen:!1,hideArrow:!1,autohide:!1,delay:N,toggle:function(){},trigger:"click",fade:!0};function D(e,t){return t&&(e===t||t.contains(e))}function P(e,t){return void 0===t&&(t=[]),t&&t.length&&t.filter((function(t){return D(e,t)}))[0]}var x=function(e){function t(t){var i;return(i=e.call(this,t)||this)._targets=[],i.currentTargetElement=null,i.addTargetEvents=i.addTargetEvents.bind((0,a.Z)(i)),i.handleDocumentClick=i.handleDocumentClick.bind((0,a.Z)(i)),i.removeTargetEvents=i.removeTargetEvents.bind((0,a.Z)(i)),i.toggle=i.toggle.bind((0,a.Z)(i)),i.showWithDelay=i.showWithDelay.bind((0,a.Z)(i)),i.hideWithDelay=i.hideWithDelay.bind((0,a.Z)(i)),i.onMouseOverTooltipContent=i.onMouseOverTooltipContent.bind((0,a.Z)(i)),i.onMouseLeaveTooltipContent=i.onMouseLeaveTooltipContent.bind((0,a.Z)(i)),i.show=i.show.bind((0,a.Z)(i)),i.hide=i.hide.bind((0,a.Z)(i)),i.onEscKeyDown=i.onEscKeyDown.bind((0,a.Z)(i)),i.getRef=i.getRef.bind((0,a.Z)(i)),i.state={isOpen:t.isOpen},i._isMounted=!1,i}(0,l.Z)(t,e);var i=t.prototype;return i.componentDidMount=function(){this._isMounted=!0,this.updateTarget()},i.componentWillUnmount=function(){this._isMounted=!1,this.removeTargetEvents(),this._targets=null,this.clearShowTimeout(),this.clearHideTimeout()},t.getDerivedStateFromProps=function(e,t){return e.isOpen&&!t.isOpen?{isOpen:e.isOpen}:null},i.onMouseOverTooltipContent=function(){this.props.trigger.indexOf("hover")>-1&&!this.props.autohide&&(this._hideTimeout&&this.clearHideTimeout(),this.state.isOpen&&!this.props.isOpen&&this.toggle())},i.onMouseLeaveTooltipContent=function(e){this.props.trigger.indexOf("hover")>-1&&!this.props.autohide&&(this._showTimeout&&this.clearShowTimeout(),e.persist(),this._hideTimeout=setTimeout(this.hide.bind(this,e),this.getDelay("hide")))},i.onEscKeyDown=function(e){"Escape"===e.key&&this.hide(e)},i.getRef=function(e){var t=this.props.innerRef;t&&("function"===typeof t?t(e):"object"===typeof t&&(t.current=e)),this._popover=e},i.getDelay=function(e){var t=this.props.delay;return"object"===typeof t?isNaN(t[e])?N[e]:t[e]:t},i.getCurrentTarget=function(e){if(!e)return null;var t=this._targets.indexOf(e);return t>=0?this._targets[t]:this.getCurrentTarget(e.parentElement)},i.show=function(e){if(!this.props.isOpen){if(this.clearShowTimeout(),this.currentTargetElement=e?e.currentTarget||this.getCurrentTarget(e.target):null,e&&e.composedPath&&"function"===typeof e.composedPath){var t=e.composedPath();this.currentTargetElement=t&&t[0]||this.currentTargetElement}this.toggle(e)}},i.showWithDelay=function(e){this._hideTimeout&&this.clearHideTimeout(),this._showTimeout=setTimeout(this.show.bind(this,e),this.getDelay("show"))},i.hide=function(e){this.props.isOpen&&(this.clearHideTimeout(),this.currentTargetElement=null,this.toggle(e))},i.hideWithDelay=function(e){this._showTimeout&&this.clearShowTimeout(),this._hideTimeout=setTimeout(this.hide.bind(this,e),this.getDelay("hide"))},i.clearShowTimeout=function(){clearTimeout(this._showTimeout),this._showTimeout=void 0},i.clearHideTimeout=function(){clearTimeout(this._hideTimeout),this._hideTimeout=void 0},i.handleDocumentClick=function(e){var t=this.props.trigger.split(" ");t.indexOf("legacy")>-1&&(this.props.isOpen||P(e.target,this._targets))?(this._hideTimeout&&this.clearHideTimeout(),this.props.isOpen&&!D(e.target,this._popover)?this.hideWithDelay(e):this.props.isOpen||this.showWithDelay(e)):t.indexOf("click")>-1&&P(e.target,this._targets)&&(this._hideTimeout&&this.clearHideTimeout(),this.props.isOpen?this.hideWithDelay(e):this.showWithDelay(e))}
1,i.addEventOnTargets=function(e,t,i){this._targets.forEach((function(n){n.addEventListener(e,t,i)}))},i.removeEventOnTargets=function(e,t,i){this._targets.forEach((function(n){n.removeEventListener(e,t,i)}))},i.addTargetEvents=function(){if(this.props.trigger){var e=this.props.trigger.split(" ");-1===e.indexOf("manual")&&((e.indexOf("click")>-1||e.indexOf("legacy")>-1)&&document.addEventListener("click",this.handleDocumentClick,!0),this._targets&&this._targets.length&&(e.indexOf("hover")>-1&&(this.addEventOnTargets("mouseover",this.showWithDelay,!0),this.addEventOnTargets("mouseout",this.hideWithDelay,!0)),e.indexOf("focus")>-1&&(this.addEventOnTargets("focusin",this.show,!0),this.addEventOnTargets("focusout",this.hide,!0)),this.addEventOnTargets("keydown",this.onEscKeyDown,!0)))}},i.removeTargetEvents=function(){this._targets&&(this.removeEventOnTargets("mouseover",this.showWithDelay,!0),this.removeEventOnTargets("mouseout",this.hideWithDelay,!0),this.removeEventOnTargets("keydown",this.onEscKeyDown,!0),this.removeEventOnTargets("focusin",this.show,!0),this.removeEventOnTargets("focusout",this.hide,!0)),document.removeEventListener("click",this.handleDocumentClick,!0)},i.updateTarget=function(){var e=(0,m.U9)(this.props.target,!0);e!==this._targets&&(this.removeTargetEvents(),this._targets=e?Array.from(e):[],this.currentTargetElement=this.currentTargetElement||this._targets[0],this.addTargetEvents())},i.toggle=function(e){return this.props.disabled||!this._isMounted?e&&e.preventDefault():this.props.toggle(e)},i.render=function(){var e=this;this.props.isOpen&&this.updateTarget();var t=this.currentTargetElement||this._targets[0];if(!t)return null;var i=this.props,s=i.className,r=i.cssModule,a=i.innerClassName,l=i.isOpen,h=i.hideArrow,p=i.boundariesElement,d=i.placement,u=i.placementPrefix,c=i.arrowClassName,f=i.popperClassName,g=i.container,v=i.modifiers,T=i.positionFixed,O=i.offset,b=i.fade,y=i.flip,E=i.children,N=(0,m.CE)(this.props,Object.keys(C)),_=(0,m.mx)(f,r),D=(0,m.mx)(a,r);return o.createElement(w,{className:s,target:t,isOpen:l,hideArrow:h,boundariesElement:p,placement:d,placementPrefix:u,arrowClassName:c,popperClassName:_,container:g,modifiers:v,positionFixed:T,offset:O,cssModule:r,fade:b,flip:y},(function(t){var i=t.scheduleUpdate;return o.createElement("div",(0,n.Z)({},N,{ref:e.getRef,className:D,role:"tooltip",onMouseOver:e.onMouseOverTooltipContent,onMouseLeave:e.onMouseLeaveTooltipContent,onKeyDown:e.onEscKeyDown}),"function"===typeof E?E({scheduleUpdate:i}):E)}))},t}(o.Component);x.propTypes=C,x.defaultProps=_;var Z=x,k=function(e){var t=r()("tooltip","show",e.popperClassName),i=r()("tooltip-inner",e.innerClassName);return o.createElement(Z,(0,n.Z)({},e,{popperClassName:t,innerClassName:i}))};k.propTypes=C,k.defaultProps={placement:"top",autohide:!0,placementPrefix:"bs-tooltip",trigger:"hover focus"};var M=k}}]);

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.