PageSourceSearch

https://www.compie.co.il/_next/static/chunks/pages/[lang]/blog/[slug]-71de94dbed9b57a90df4.js

js compie.co.il collected 2026-10-01 11:31:25 UTC 13,468 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[887],{6651:function(e,t,r){"use strict";var n=r(1393),i=r.n(n),a=r(1261),s=r(1664),o=r(7294),l=r(5893);t.Z=function(e){e.title;var t=e.posts,r=e.bgColor,n=e.transform,c=e.theme,d={buttonText:"\u05e7\u05e8\u05d0 \u05e2\u05d5\u05d3",findOutMore:"\u05de\u05d9\u05d3\u05e2 \u05e0\u05d5\u05e1\u05e3"},u={buttonText:"Read More",findOutMore:"Find Out More"},h=(0,o.useState)(u),f=h[0],p=h[1];return(0,o.useEffect)((function(){"ltr"===a.Z.dir()?p(u):p(d)}),[a.Z.dir()]),(0,l.jsx)("div",{className:i().findMoreMain,style:{background:"white"===c?"#fff":"#f5f5f5",transform:n},children:(0,l.jsx)("div",{className:"container",children:(0,l.jsxs)("div",{dir:a.Z.dir(),className:i().findMore,children:[(0,l.jsx)("h3",{children:f.findOutMore}),(0,l.jsx)("div",{className:i().sectionArticles,children:t&&t.map((function(e,t){return e?(0,l.jsx)(s.default,{href:e.url,children:(0,l.jsx)("a",{children:(0,l.jsxs)("div",{className:"\n                           ".concat(i().additionalArticle,"\n                              ").concat("white"===r?i().additionalArticleBgWhite:i().additionalArticleBgGrey,"\n                                 "),children:[(0,l.jsx)("h6",{children:null===e||void 0===e?void 0:e.title}),(0,l.jsx)("button",{className:i().button,children:f.buttonText})]},t)})},t):(0,l.jsx)(l.Fragment,{})}))})]})})})}},2167:function(e,t,r){"use strict";var n=r(3848);t.default=void 0;var i,a=(i=r(7294))&&i.__esModule?i:{default:i},s=r(1063),o=r(4651),l=r(7426);var c={};function d(e,t,r,n){if(e&&s.isLocalURL(t)){e.prefetch(t,r,n).catch((function(e){0}));var i=n&&"undefined"!==typeof n.locale?n.locale:e&&e.locale;c[t+"%"+r+(i?"%"+i:"")]=!0}}var u=function(e){var t,r=!1!==e.prefetch,i=o.useRouter(),u=a.default.useMemo((function(){var t=s.resolveHref(i,e.href,!0),r=n(t,2),a=r[0],o=r[1];return{href:a,as:e.as?s.resolveHref(i,e.as):o||a}}),[i,e.href,e.as]),h=u.href,f=u.as,p=e.children,v=e.replace,m=e.shallow,_=e.scroll,x=e.locale;"string"===typeof p&&(p=a.default.createElement("a",null,p));var g=(t=a.default.Children.only(p))&&"object"===typeof t&&t.ref,j=l.useIntersection({rootMargin:"200px"}),w=n(j,2),b=w[0],N=w[1],y=a.default.useCallback((function(e){b(e),g&&("function"===typeof g?g(e):"object"===typeof g&&(g.current=e))}),[g,b]);a.default.useEffect((function(){var e=N&&r&&s.isLocalURL(h),t="undefined"!==typeof x?x:i&&i.locale,n=c[h+"%"+f+(t?"%"+t:"")];e&&!n&&d(i,h,f,{locale:t})}),[f,h,N,x,r,i]);var k={ref:y,onClick:function(e){t.props&&"function"===typeof t.props.onClick&&t.props.onClick(e),e.defaultPrevented||function(e,t,r,n,i,a,o,l){("A"!==e.currentTarget.nodeName||!function(e){var t=e.currentTarget.target;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&s.isLocalURL(r))&&(e.preventDefault(),null==o&&n.indexOf("#")>=0&&(o=!1),t[i?"replace":"push"](r,n,{shallow:a,locale:l,scroll:o}))}(e,i,h,f,v,m,_,x)},onMouseEnter:function(e){s.isLocalURL(h)&&(t.props&&"function"===typeof t.props.onMouseEnter&&t.props.onMouseEnter(e),d(i,h,f,{priority:!0}))}};if(e.passHref||"a"===t.type&&!("href"in t.props)){var M="undefined"!==typeof x?x:i&&i.locale,Z=i&&i.isLocaleDomain&&s.getDomainLocale(f,M,i&&i.locales,i&&i.domainLocales);k.href=Z||s.addBasePath(s.addLocale(f,M,i&&i.defaultLocale))}return a.default.cloneElement(t,k)};t.default=u},7426:function(e,t,r){"use strict";var n=r(3848);Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){var t=e.rootMargin,r=e.disabled||!s,l=i.useRef(),c=i.useState(!1),d=n(c,2),u=d[0],h=d[1],f=i.useCallback((function(e){l.current&&(l.current(),l.current=void 0),r||u||e&&e.tagName&&(l.current=function(e,t,r){var n=function(e){var t=e.rootMargin||"",r=o.get(t);if(r)return r;var n=new Map,i=new IntersectionObserver((function(e){e.forEach((function(e){var t=n.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)}))}),e);return o.set(t,r={id:t,observer:i,elements:n}),r}(r),i=n.id,a=n.observer,s=n.elements;return s.set(e,t),a.observe(e),function(){s.delete(e),a.unobserve(e),0===s.size&&(a.disconnect(),o.delete(i))}}(e,(function(e){return e&&h(e)}),{rootMargin:t}))}),[r,t,u]);return i.useEffect((function(){if(!s&&!u){var e=a.requestIdleCallback((function(){return h(!0)}));return function(){return a.cancelIdleCallback(e)}}}),[u]),[f,u]};var i=r(7294),a=r(3447),s="undefined"!==typeof IntersectionObserver;var o=new Map},3319:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return m},default:function(){return _}});var n=r(5988),i=r(1261),a=r(8551),s=r.n(a),o=r(1664),l=r(1163),c=r(7294),d=r(6651),u=r(7247),h=r(9008),f=r(2962),p=r(5893);var v=function(e){var t,r,n,a,v,m,_,x=e.post,g=e.postNext,j=e.postPrev,w={share:"\u05e9\u05d9\u05ea\u05d5\u05e3",nextPost:"\u05dc\u05e4\u05d5\u05e1\u05d8 \u05d4\u05d1\u05d0",prevPost:"\u05dc\u05e4\u05d5\u05e1\u05d8 \u05d4\u05e7\u05d5\u05d3\u05dd",crumbs:["\u05e2\u05de\u05d5\u05d3 \u05d4\u05d1\u05d9\u05ea","\u05d1\u05dc\u05d5\u05d2 \u05e7\u05d5\u05de\u05e4\u05d0\u05d9"],findOutMore:"\u05de\u05d9\u05d3\u05e2 \u05e0\u05d5\u05e1\u05e3"},b={share:"Share",nextPost:"Next Post",prevPost:"Previous Post",crumbs:["Home","Compie Blog"],findOutMore:"Find Out More"},N=(0,c.useState)(0),y=N[0],k=N[1],M=(0,c.useState)("ltr");M[0],M[1],(0,c.useEffect)((function(){k(window.innerWidth),H(window.location.href)}),[]);var Z=(0,c.useState)(b.crumbs),T=Z[0],P=Z[1];(0,c.useEffect)((function(){"ltr"===i.Z.dir()?P(b.crumbs):P(w.crumbs)}),[i.Z.dir()]);
1var C=(0,l.useRouter)().query.lang,I=(0,c.useState)(!1),O=I[0],S=I[1],E=(0,c.useState)(""),B=E[0],H=E[1],L=(0,c.useState)({}),A=L[0],R=L[1],F=function(e){var t,r,n="facebook"===e?"https://www.facebook.com/sharer/sharer.php?u=".concat(B):"linkedin"===e?"https://www.linkedin.com/sharing/share-offsite/?url=".concat(B):"https://api.whatsapp.com/send?text=".concat(B);navigator.share({url:B,title:null===x||void 0===x?void 0:x.headerTitle,text:null===x||void 0===x||null===(t=x.Content[0])||void 0===t||null===(r=t.content)||void 0===r?void 0:r.toString().slice(0,35)}),window.open(n,"mywin","left=20,top=20,width=500,height=600,toolbar=1,resizable=0")};return(0,c.useEffect)((function(){"ltr"===i.Z.dir()?R(b):R(w)}),[i.Z.dir()]),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(f.PB,{title:null===x||void 0===x?void 0:x.headerTitle,description:null===x||void 0===x||null===(t=x.Content[0])||void 0===t||null===(r=t.content)||void 0===r?void 0:r.toString().slice(0,100)}),(0,p.jsxs)(h.default,{children:[(0,p.jsx)("meta",{name:"description",content:null===x||void 0===x||null===(n=x.Content[0])||void 0===n||null===(a=n.content)||void 0===a?void 0:a.toString().slice(0,100)}),(0,p.jsx)("meta",{property:"og:title",content:null===x||void 0===x?void 0:x.headerTitle}),(0,p.jsx)("meta",{property:"og:description",content:null===x||void 0===x||null===(v=x.Content[0])||void 0===v||null===(m=v.content)||void 0===m?void 0:m.toString().slice(0,100)}),(0,p.jsx)("meta",{property:"og:image",content:null===x||void 0===x||null===(_=x.avatarImage)||void 0===_?void 0:_.url})]}),(0,p.jsx)("div",{className:s().header,children:x.imageHeroBackground&&(0,p.jsx)("img",{src:"".concat(x.imageHeroBackground.url),alt:"Header background"})}),(0,p.jsxs)("div",{dir:i.Z.dir(),className:"container",children:[(0,p.jsxs)("div",{dir:i.Z.dir(),className:s().path,children:[(0,p.jsxs)("span",{className:s().dots,onClick:function(e){S(!0)},style:O?{display:"none"}:{display:"flex"},children:[(0,p.jsx)("span",{className:s().dot}),(0,p.jsx)("span",{className:s().dot}),(0,p.jsx)("span",{className:s().dot})]}),(0,p.jsx)("span",{className:s().dots,onClick:function(){S(!1)},style:O?{display:"flex"}:{display:"none"},children:"\u2039"}),(0,p.jsxs)("div",{className:s().mobileView,style:O&&y<768?{display:"flex"}:null,children:[(0,p.jsx)("small",{children:(0,p.jsx)(o.default,{href:"/".concat(C),children:T[0]})}),(0,p.jsx)("small",{children:(0,p.jsx)(o.default,{href:"/".concat(C,"/blog"),children:T[1]})})]}),(0,p.jsx)("small",{children:null===x||void 0===x?void 0:x.headerTitle})]}),(0,p.jsxs)("div",{dir:i.Z.dir(),className:s().content,children:[(0,p.jsx)("div",{className:s().type,children:(0,p.jsx)("span",{children:x.tag})}),(0,p.jsxs)("div",{className:s().headerTop,children:[(0,p.jsxs)("div",{className:s().titleWrapper,children:[(0,p.jsx)("h3",{dir:i.Z.dir(),className:s().title,children:null===x||void 0===x?void 0:x.headerTitle}),(0,p.jsxs)("div",{className:s().author,children:[(0,p.jsx)("img",{src:"".concat(x.avatarImage.url),alt:"Author img"}),(0,p.jsxs)("div",{dir:i.Z.dir(),children:[(0,p.jsx)("span",{dir:i.Z.dir(),className:s().authorTitle,children:x.avatarName}),(0,p.jsx)("span",{dir:i.Z.dir(),className:s().authorTime,children:x.avatarPostedTime})]})]})]}),(0,p.jsxs)("div",{className:s().social,children:[(0,p.jsx)("p",{children:A.share}),(0,p.jsx)("a",{href:"https://www.linkedin.com/sharing/share-offsite/?url=".concat(B),target:"_blank",rel:"noreferrer",onClick:function(){return F("linkedin")},children:(0,p.jsx)("span",{children:(0,p.jsx)("img",{src:"/linkedin-green.svg",alt:"Social"})})}),(0,p.jsx)("a",{href:"https://www.facebook.com/sharer/sharer.php?u=".concat(B),target:"_blank",rel:"noreferrer",onClick:function(){return F("facebook")},children:(0,p.jsx)("span",{children:(0,p.jsx)("img",{className:s().facebookIcon,src:"/facebook-green.svg",alt:"Social"})})}),(0,p.jsx)("a",{href:"https://api.whatsapp.com/send?text=".concat(B),target:"_blank",rel:"noreferrer",onClick:function(){return F("whatsapp")},children:(0,p.jsx)("span",{children:(0,p.jsx)("img",{className:s().whatsappIcon,src:"/whatsapp-green.svg",alt:"Social"})})})]})]}),(0,p.jsx)("div",{dir:i.Z.dir(),className:s().text,children:(0,p.jsx)("section",{className:" container ".concat(s().section),children:x.Content.map((function(e,t){return(0,p.jsxs)("div",{className:"".concat(s().richText),dir:i.Z.dir(),children:[e.title&&(0,p.jsxs)("h3",{children:[" ",e.title]}),(0,p.jsx)("div",{children:(0,p.jsx)(u.D,{children:e.content})})]},t)}))})})]})]}),(0,p.jsx)("div",{className:s().articles,children:(0,p.jsxs)("div",{className:"container",children:[(0,p.jsxs)("div",{className:s().articlesSlider,dir:i.Z.dir(),children:[(0,p.jsx)(o.default,{href:"/".concat(i.Z.language,"/blog/").concat(j),children:(0,p.jsxs)("a",{className:s().next,children:[(0,p.jsxs)("div",{className:s().article,children:[(0,p.jsx)("span",{dir:i.Z.dir(),className:s().arrowIcon,children:(0,p.jsx)("img",{dir:i.Z.dir(),src:"/arrow-left-white.svg",alt:"Icon"})}),(0,p.jsxs)("span",{children:[" ","ltr"===i.Z.dir()?b.prevPost:w.prevPost]})]}),(0,p.jsx)("div",{className:s().overlay})]})}),(0,p.jsx)(o.default,{href:"/".concat(i.Z.language,"/blog/").concat(g),children:(0,p.jsxs)("a",{className:s().prev,children:[(0,p.jsxs)("div",{className:s().article,children:[(0,p.jsxs)("span",{children:[" ","ltr"===i.Z.dir()?b.nextPost:w.nextPost]}),(0,p.jsx)("span",{dir:i.Z.dir(),className:s().arrowIcon,children:(0,p.jsx)("img",{dir:i.Z.dir(),src:"/arrow-right-white.svg",alt:"Icon"})})]}),(0,p.jsx)("div",{className:s().overlay})]})})]}),(0,p.jsx)(d.Z,{title:"ltr"===i.Z.dir()?b.findOutMore:w.findOutMore,posts:x.findOutMore[0].static_links,bgColor:"white",transform:""})]})})]})};var m=!0,_=function(e){var t=e.nextPost,r=e.currentPost,i=e.prevPost;return(0,l.useRouter)(),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(f.PB,{title:r.metaTitle,de
1scription:r.metaDescription,openGraph:{url:r.imageHeader.url,title:r.headerTitle,image:r.imageHeader.url,imageWidth:r.imageHeader.width,imageHeight:r.imageHeroBackground.height,site_name:r.headerTitle,images:[{url:r.imageHeader.url,width:r.imageHeader.width,height:r.imageHeader.height,alt:r.headerTitle}]}}),(0,p.jsx)("div",{className:"jsx-2356297992 main",children:(0,p.jsx)(v,{post:r,postNext:null===t||void 0===t?void 0:t.slug,postPrev:null===i||void 0===i?void 0:i.slug},r.id)}),(0,p.jsx)(n.default,{id:"2356297992",children:[".main.jsx-2356297992{width:100%;height:100%;}"]})]})}},6761:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[lang]/blog/[slug]",function(){return r(3319)}])},8551:function(e){e.exports={header:"post_header__1yk5P",path:"post_path__163d_",mobileView:"post_mobileView__gfT_v",content:"post_content__1bgaf",type:"post_type__1mE8F",title:"post_title__3ouOd",headerTop:"post_headerTop___8p7Z",titleWrapper:"post_titleWrapper__1dBHk",social:"post_social__LFZ0O",whatsappIcon:"post_whatsappIcon__3mKFs",facebookIcon:"post_facebookIcon__1mv4D",author:"post_author__2KQOR",authorTitle:"post_authorTitle__1hY8M",authorTime:"post_authorTime__RiuVX",text:"post_text__cfOsY",articles:"post_articles__3iF9Q",articlesSlider:"post_articlesSlider__jowv5",overlay:"post_overlay__3V91u",article:"post_article__3wDC3",next:"post_next__3O81I",prev:"post_prev__PPdpL",container:"post_container__2P-HB",dots:"post_dots__2x_9s",dot:"post_dot__1VQCM",richText:"post_richText__12LSA",arrowIcon:"post_arrowIcon__2M42u"}},1393:function(e){e.exports={findMoreMain:"findmore_findMoreMain__3YfpW",findMore:"findmore_findMore__1g5ed",sectionArticles:"findmore_sectionArticles__10ulX",additionalArticleBgWhite:"findmore_additionalArticleBgWhite__3BOqV",additionalArticleBgGrey:"findmore_additionalArticleBgGrey__1lchZ",additionalArticle:"findmore_additionalArticle__3sMLB",button:"findmore_button__ruUFy"}},1664:function(e,t,r){e.exports=r(2167)},1163:function(e,t,r){e.exports=r(4651)}},function(e){e.O(0,[774,988,247,888,179],(function(){return t=6761,e(e.s=t);var t}));var t=e.O();_N_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.