PageSourceSearch

https://zmantov.co.il/_next/static/chunks/7386-9f75b4c318b94a09500a.js

js zmantov.co.il collected 2026-09-24 14:03:12 UTC 15,950 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7386],{14637:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(45697),i=n.n(r),o=n(67294),s="undefined"!==typeof document,c=[{hidden:"hidden",event:"visibilitychange",state:"visibilityState"},{hidden:"webkitHidden",event:"webkitvisibilitychange",state:"webkitVisibilityState"},{hidden:"mozHidden",event:"mozvisibilitychange",state:"mozVisibilityState"},{hidden:"msHidden",event:"msvisibilitychange",state:"msVisibilityState"},{hidden:"oHidden",event:"ovisibilitychange",state:"oVisibilityState"}],a=s&&Boolean(document.addEventListener),f=function(){if(!a)return null;var t=!0,e=!1,n=void 0;try{for(var r,i=c[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){var o=r.value;if(o.hidden in document)return o}}catch(s){e=!0,n=s}finally{try{!t&&i.return&&i.return()}finally{if(e)throw n}}return null}(),u=function(){if(!f)return[!0,"visible"];var t=f.hidden,e=f.state;return[!document[t],document[e]]},d=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function p(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var h=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.state={isSupported:a&&f},n}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),d(e,[{key:"componentDidMount",value:function(){this.state.isSupported&&(this.handleVisibilityChange=this.handleVisibilityChange.bind(this),document.addEventListener(f.event,this.handleVisibilityChange))}},{key:"componentWillUnmount",value:function(){this.state.isSupported&&document.removeEventListener(f.event,this.handleVisibilityChange)}},{key:"handleVisibilityChange",value:function(){var t;"function"===typeof this.props.onChange&&(t=this.props).onChange.apply(t,p(u()));"function"===typeof this.props.children&&this.forceUpdate()}},{key:"render",value:function(){return this.props.children?"function"===typeof this.props.children?this.state.isSupported?(t=this.props).children.apply(t,p(u())):this.props.children():o.Children.only(this.props.children):null;var t}}]),e}(o.Component);h.displayName="PageVisibility",h.propTypes={onChange:i().func,children:i().oneOfType([i().node,i().func])};var l=h},62093:function(t,e,n){"use strict";var r=n(67294),i=n(45697),o=function(t,e){var n=void 0;return function(){var r=this,i=arguments,o=function(){return t.apply(r,i)};clearTimeout(n),n=setTimeout(o,e)}},s=function(){var t=function(){return(65536*(1+Math.random())|0).toString(16).substring(1)};
1return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()};function c(t){var e=0;return t.forEach((function(t){t.rect&&t.rect.height>e&&(e=t.rect.height)})),e}function a(t){var e=t.rect,n=t.mode,r=(t.prevOffset,t.position),i=t.direction,o=t.width;if("chain"!==n)return!1;switch(i){case"toRight":return r.from>0;case"toLeft":default:return e.width+r.from<=o}}function f(t){var e=t.mode,n=t.from,r=t.direction,i=t.rect,o=t.width,s=n||0;switch(e){case"await":switch(r){case"toRight":return o;case"toLeft":default:return-i.width}case"smooth":switch(r){case"toRight":return i.width>o?0:o-i.width;case"toLeft":default:return i.width>o?o-i.width:0}case"chain":default:switch(r){case"toRight":return 0;case"toLeft":default:return i.width+s>o?o-i.width:o-i.left-i.width}}}var u=function(t){var e=t.mode,n=t.index,r=t.rect,i=t.offset,o=t.width,s=t.direction,c=function(t){var e=t.index,n=t.rect,r=t.offset,i=t.width,o=t.direction;if(0===e)return r;if("number"===typeof r)return function(t){var e=t.rect,n=t.offset;switch(t.direction){case"toRight":return n-e.width;case"toLeft":default:return n}}({rect:n,offset:r,direction:o});switch(o){case"toRight":return-n.width;case"toLeft":default:return i}}({index:n,rect:r,offset:i,width:o,direction:s});return{from:c,to:function(t){var e=t.rect,n=t.width;switch(t.direction){case"toRight":return n;case"toLeft":default:return-e.width}}({rect:r,width:o,direction:s}),next:f({mode:e,from:c,direction:s,rect:r,width:o})}};function d(t){var e=t.from,n=t.rect;switch(t.direction){case"toRight":return e;case"toLeft":default:return e+n.width}}function p(t){var e=t.offset,n=t.rect,r=t.direction,i=t.width;if("run-in"===e)switch(r){case"toRight":return-n.width;case"toLeft":default:return i}if("string"===typeof e){var o=Number(e.replace("%",""));if(o)return i/100*o}return e}var h=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),v=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},m=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},y=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e},g=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)},b=function(t){function e(){var t,n,i;h(this,e);for(var o=arguments.length,s=Array(o),c=0;c<o;c++)s[c]=arguments[c];return n=i=y(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(s))),i.state={children:i.props.children({index:i.props.index}),move:i.props.move,position:{from:void 0,to:void 0,next:void 0},offset:i.props.offset,rect:null},i.x=0,i.isMoving=!1,i.nextTriggered=!1,i.elementRef=r.createRef(),i.raf=null,i.componentDidMount=function(){i.setPosition(!0),i.observer=new MutationObserver(i.onMutation),i.observer.observe(i.elementRef.current,{characterData:!0,childList:!0,subtree:!0})},i.componentWillUnmount=function(){i.observer.disconnect()},i.onMutation=function(){i.setPosition()},i.componentDidUpdate=function(t,e){i.x||e.position.from===i.state.position.from||(i.x=i.state.position.from,i.elementRef.current.style.transform="translate3d("+i.x+"px, 0, 0)"),i.x!==i.state.position.from&&t.prevRect&&i.props.prevRect&&t.prevRect.width!==i.props.prevRect.width&&(i.props.offset?i.x=i.x+(i.props.offset-t.offset):i.x=i.x+(i.props.prevRect.width-t.prevRect.width),i.elementRef.current.style.transform="translate3d("+i.x+"px, 0, 0)"),i.props.move&&!t.start&&i.props.start&&i.animate(),i.props.start&&!t.move&&i.props.move&&i.animate(),t.move&&!i.props.move&&(i.isMoving=!1,window.cancelAnimationFrame(i.raf))},i.setPosition=function(t){var e=i.props,n=e.mode,r=e.width,o=e.id,s=e.onNext,c=e.direction,f=e.index,h=e.setRect,l=i.elementRef.current.getBoundingClientRect();if(0!==l.width){var v=0===i.props.index?p({offset:i.props.offset,rect:l,direction:c,width:r}):i.props.offset,m=u({mode:n,rect:l,index:f,offset:v,width:r,direction:c});if(h({index:i.props.index,rect:l,offset:v,nextOffset:d({from:m.from,rect:l,direction:c})}),t){var y=a({mode:n,rect:l,position:m,offset:v,direction:c,width:r});y&&s({id:o,index:f,rect:l,nextOffset:d({from:m.from,rect:l,direction:c})}),y||!v&&0!==f||s({id:o,index:f,rect:l}),i.nextTriggered=y}
1i.setState({rect:l,offset:v,position:m})}},i.shouldTriggerNext=function(){return!i.nextTriggered&&("toLeft"===i.props.direction?i.x<=i.state.position.next:i.x>=i.state.position.next)},i.triggerNext=function(){i.shouldTriggerNext()&&(i.nextTriggered=!0,i.props.onNext({id:i.props.id,index:i.props.index,rect:i.state.rect}))},i.shouldFinish=function(){switch(i.props.direction){case"toRight":return i.x>=i.state.position.to;case"toLeft":default:return i.x<=i.state.position.to}},i.animate=function(){if(!i.isMoving){i.isMoving=!0;var t=null;i.raf=window.requestAnimationFrame((function e(n){if(i.isMoving&&i.elementRef.current){var r=t?n-t:0;i.x="toLeft"===i.props.direction?i.x-r/100*i.props.speed:i.x+r/100*i.props.speed,i.elementRef.current.style.transform="translate3d("+i.x+"px, 0, 0)",i.triggerNext(),i.shouldFinish()?(i.isMoving=!1,t=null,i.props.onFinish(i.props.id)):(t=n,i.raf=window.requestAnimationFrame(e))}}))}},i.render=function(){return r.createElement("div",{className:"ticker__element",style:{willChange:"transform",position:"absolute",left:0,top:0,transform:"translate3d("+i.x+"px, 0, 0)"},ref:i.elementRef},i.state.children)},y(i,n)}return m(e,t),e}(r.Component);b.propTypes={children:(0,i.oneOfType)([i.node,i.func]).isRequired,direction:i.string.isRequired,speed:i.number.isRequired,id:i.string.isRequired,index:i.number.isRequired,mode:i.string.isRequired,move:i.bool.isRequired,onNext:i.func.isRequired,onFinish:i.func.isRequired,setRect:i.func.isRequired,start:i.bool.isRequired,offset:(0,i.oneOfType)([i.number,i.string]),prevRect:i.object,width:i.number},b.defaultProps={offset:void 0,width:void 0,prevRect:null};var w=function(t,e){return{elements:[{id:s(),index:0,height:0,start:!1,offset:t,rect:null,prevRect:null}],width:e,height:0}},x=function(t){function e(){var t,n,i;h(this,e);for(var a=arguments.length,f=Array(a),u=0;u<a;u++)f[u]=arguments[u];return n=i=y(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(f))),i.next=null,i.state=w(i.props.offset),i.tickerRef=r.createRef(),i.dOnResize=o((function(){return i.onResize()}),150),i.componentDidMount=function(){i.setState({width:i.tickerRef.current.offsetWidth,height:i.props.height}),window.addEventListener("resize",i.dOnResize)},i.componentWillUnmount=function(){window.removeEventListener("resize",i.dOnResize)},i.setRect=function(t){var e=t.index,n=t.rect,r=(t.offset,t.nextOffset);i.setState((function(t){var o=t.elements.map((function(t){var i=t;return t.index===e&&(i.rect=n),t.index===e+1&&(i.prevRect=n,i.offset&&(i.offset=r)),i}));return{elements:o,height:i.props.height?t.height:c(o)}}))},i.onResize=function(){i.tickerRef.current&&i.tickerRef.current.offsetWidth!==i.state.width&&i.setState(v({},w(i.props.offset,i.tickerRef.current.offsetWidth),{height:i.props.height}))},i.onFinish=function(t){i.props.onFinish(),i.setState((function(e){return{elements:e.elements.filter((function(e){return e.id!==t}))}}))},i.onNext=function(t){t.id;var e=t.index,n=t.rect,r=t.nextOffset;i.props.onNext(e),i.setState((function(t){return{elements:[].concat(g(t.elements.map((function(t){var r=t;return t.index===e&&(r.rect=n),(0===t.index||t.offset||r.index===e+1)&&(r.start=!0),r}))),[{id:s(),index:t.elements[t.elements.length-1].index+1,height:0,start:!1,offset:r,rect:null,prevRect:n}])}}))},y(i,n)}return m(e,t),l(e,[{key:"render",value:function(){var t=this;return r.createElement("div",{className:"ticker",ref:this.tickerRef,style:{position:"relative",overflow:"hidden",height:this.state.height&&this.state.height+"px"}},this.state.width&&this.state.elements.map((function(e){return r.createElement(b,{key:e.id,id:e.id,index:e.index,start:e.start,offset:e.offset,prevRect:e.prevRect,direction:t.props.direction,mode:t.props.mode,move:t.props.move,speed:t.props.speed,onFinish:t.onFinish,onNext:t.onNext,setRect:t.setRect,width:t.state.width},t.props.children)})))}}]),e}(r.Component);x.propTypes={children:(0,i.oneOfType)([i.node,i.func]).isRequired,direction:i.string,mode:i.string,move:i.bool,offset:(0,i.oneOfType)([i.number,i.string]),speed:i.number,height:(0,i.oneOfType)([i.number,i.string]),onNext:i.func,onFinish:i.func},x.defaultProps={offset:0,speed:5,direction:"toLeft",mode:"chain",move:!0,height:void 0,onNext:function(){},onFinish:function(){}},e.Z=x},99191:function(t){t.exports=function(){"use strict";function t(t,e){return r(t)||o(t,e)||s(t,e)||f()}function e(t){return n(t)||i(t)||s(t)||a()}function n(t){if(Array.isArray(t))return c(t)}function r(t){if(Array.isArray(t))return t}function i(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function o(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var s,c=t[Symbol.iterator]();!(r=(s=c.next()).done)&&(n.push(s.value),!e||n.length!==e);r=!0);}catch(a){i=!0,o=a}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}}function s(t,e){if(t){if("string"===typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void 0}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}
1function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=[0,100],d=[0,100],p=function(t){return"".concat(1===t.length?"0":"").concat(t)},h=function(t,e,n){return Math.max(Math.min(t,n),e)},l=function(t,e){return Math.floor(Math.random()*(e-t+1))+t},v=function(t){for(var e=t.length,n=0,r=0;r<e;r++)n=(n<<5)-n+t.charCodeAt(r),n&=n;return n},m=function(t,e){return"number"===typeof e?e:t%Math.abs(e[1]-e[0])+e[0]},y=function(t,n){return"number"===typeof t?h.apply(void 0,[Math.abs(t)].concat(e(n))):1===t.length||t[0]===t[1]?h.apply(void 0,[Math.abs(t[0])].concat(e(n))):[Math.abs(h.apply(void 0,[t[0]].concat(e(n)))),h.apply(void 0,[Math.abs(t[1])].concat(e(n)))]},g=function(t,e,n){return n<0?n+=1:n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t},b=function(t,e,n){var r,i,o;if(t/=360,n/=100,0===(e/=100))r=i=o=n;else{var s=n<.5?n*(1+e):n+e-n*e,c=2*n-s;r=g(c,s,t+1/3),i=g(c,s,t),o=g(c,s,t-1/3)}return[Math.round(255*r),Math.round(255*i),Math.round(255*o)]},w=function(t,e,n,r){return(299*t+587*e+114*n)/1e3>=r},x=function(t,e,n){return"hsl(".concat(t,", ").concat(e,"%, ").concat(n,"%)")},R=function(t,e,n,r){switch(r){case"rgb":return"rgb(".concat(t,", ").concat(e,", ").concat(n,")");case"hex":default:return"#".concat(p(t.toString(16))).concat(p(e.toString(16))).concat(p(n.toString(16)))}},O=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.format,i=void 0===r?"hex":r,o=n.saturation,s=void 0===o?[50,55]:o,c=n.lightness,a=void 0===c?[50,60]:c,f=n.differencePoint,p=void 0===f?130:f,h=Math.abs(v(String(e))),l=m(h,[0,360]),g=m(h,y(s,u)),O=m(h,y(a,d)),S=t(b(l,g,O),3),M=S[0],_=S[1],k=S[2];return{color:"hsl"===i?x(l,g,O):R(M,_,k,i),isLight:w(M,_,k,p)}};return O.random=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.format,i=void 0===r?"hex":r,o=n.saturation,s=void 0===o?[50,55]:o,c=n.lightness,a=void 0===c?[50,60]:c,f=n.differencePoint,p=void 0===f?130:f;s=y(s,u),a=y(a,d);var h=l(0,360),v="number"===typeof s?s:l.apply(void 0,e(s)),m="number"===typeof a?a:l.apply(void 0,e(a)),g=t(b(h,v,m),3),O=g[0],S=g[1],M=g[2];return{color:"hsl"===i?x(h,v,m):R(O,S,M,i),isLight:w(O,S,M,p)}},O}()}}]);
2//# sourceMappingURL=7386-9f75b4c318b94a09500a.js.map

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.