1!function(e){function t(t){for(var n,a,r=t[0],l=t[1],c=t[2],u=0,h=[];u<r.length;u++)a=r[u],Object.prototype.hasOwnProperty.call(i,a)&&i[a]&&h.push(i[a][0]),i[a]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n]);for(d&&d(t);h.length;)h.shift()();return o.push.apply(o,c||[]),s()}function s(){for(var e,t=0;t<o.length;t++){for(var s=o[t],n=!0,a=1;a<s.length;a++){var l=s[a];0!==i[l]&&(n=!1)}n&&(o.splice(t--,1),e=r(r.s=s[0]))}return e}var n={},a={38:0},i={38:0},o=[];function r(t){if(n[t])return n[t].exports;var s=n[t]={i:t,l:!1,exports:{}};return e[t].call(s.exports,s,s.exports,r),s.l=!0,s.exports}r.e=function(e){var t=[];a[e]?t.push(a[e]):0!==a[e]&&{11:1,30:1,33:1,46:1}[e]&&t.push(a[e]=new Promise((function(t,s){for(var n="styles."+{0:"7a8de4530fac04fb891f",1:"498a3dd20a0b8dea04b8",2:"f3c4c382d40fe707adbd",3:"66444f02ffdc071cecd0",4:"dc9e72052df46c492dec",5:"7c48d31c7400b99c0662",6:"f342702ea2c1b216f248",7:"0e78a7abb84b5f2c3de2",8:"4f82bc70c8378e223b9f",9:"3d90be1e16c5f5513090",10:"4153d4ac1fd078090bf4",11:"379cfd67b68ac126fed9",12:"cceb8432d68c36066f1e",13:"8c2fc2c28da23f704b0e",14:"afcb1fb4d5321f904fc7",15:"c8c5cd33b4d984db3bd6",16:"1df2bf19f64b8754fc7b",17:"1b1513fbcdf4123f619a",18:"9148f69f59cfebb37341",19:"60713a236db6c100fe3a",20:"d4edf346e40ca9a69016",21:"32db9fcf58029f4d4364",22:"703b65ad5fa39ff956b1",23:"c5e255ad6a5098b13645",24:"98b444463fb21cd21b07",25:"94b5002133778967b9e8",26:"3ae62f56dceaf50c5d17",27:"203c9d5bda3afbeb0896",28:"2afc09dc470abaff5835",29:"db03daacfa997c1b4c1a",30:"e4faa6dde825da3164aa",31:"8485e7107fb3913a83d9",32:"c02a16439f6f1e24af9f",33:"2081e9747d0bac012fc1",34:"a456de8a67ac3a817be8",35:"304e4f65dac0606c1634",36:"c7a7bf90503df79372c4",37:"217b3488e12b334b1add",39:"a69d036d6bb3f53d89a4",40:"c660e42983278592e4b7",41:"cbb26fdc549d6150aaa5",42:"bbf2e4fa15d9d35c3b32",43:"9d5ebeb93b49a7a06cfc",44:"ba8850a2347eb20bf105",45:"388b013d0b3ae245452e",46:"1cc9493121a1cca553d4",48:"578a816806eabc8b35bf",49:"b7b41d21e706faf02f29"}[e]+".css",i=r.p+n,o=document.getElementsByTagName("link"),l=0;l<o.length;l++){var c=(d=o[l]).getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(c===n||c===i))return t()}var u=document.getElementsByTagName("style");for(l=0;l<u.length;l++){var d;if((c=(d=u[l]).getAttribute("data-href"))===n||c===i)return t()}var h=document.createElement("link");h.rel="stylesheet",h.type="text/css",h.onload=t,h.onerror=function(t){var n=t&&t.target&&t.target.src||i,o=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");o.code="CSS_CHUNK_LOAD_FAILED",o.request=n,delete a[e],h.parentNode.removeChild(h),s(o)},h.href=i,document.getElementsByTagName("head")[0].appendChild(h)})).then((function(){a[e]=0})));var s=i[e];if(0!==s)if(s)t.push(s[2]);else{var n=new Promise((function(t,n){s=i[e]=[t,n]}));t.push(s[2]=n);var o,l=document.createElement("script");l.charset="utf-8",l.timeout=120,r.nc&&l.setAttribute("nonce",r.nc),l.src=function(e){return r.p+""+({0:"vendors~collapsedBox~customerGalleryLogic~dashboardScript~openCustomerBookPopup~popupBookLogic~subje~c5a76712",1:"vendors~customerServiceDatePicker~dashboardScript~deliveriesDatepickerLogic~quotationDatepicker",2:"CouponsFormLogic",3:"bannerCarouel",4:"booksFormatLogic",5:"booksPricelistLogic",6:"boutiqFiltersLogic",7:"calendarsFormatLogic",8:"calendarsPricelistLogic",9:"collapsedBox",10:"coversTableLogic",11:"customerGalleryLogic",12:"customerServiceDatePicker",13:"dashboardScript",14:"deliveriesDatepickerLogic",15:"deliveriesLogic",16:"eventArchiveLogic",17:"expresstrackPopupTrigger",18:"faqAccordion",19:"filterPosts",20:"formSubmition",21:"googleMapLogic",22:"heart",23:"licenseLogic",24:"liveEventFormLogic",25:"loadMoreBooksLogic",26:"modularForm",27:"mosaicsFormatLogic",28:"mosaicsPricelistLogic",29:"openBoutiqBookPopup",30:"openCustomerBookPopup",31:"orderTrackingLogic",32:"platformPopupTrigger",33:"popupBookLogic",34:"position",35:"postImgFix",36:"primaryBusinessForm",37:"quotationDatepicker",39:"secondaryBusinessFormLogic",40:"subjectProductCarousel",41:"thanksLettersLogic",42:"tilesFormatLogic",43:"tilesPricelistLogic",44:"transcribedVideo",45:"vendors~bannerCarouel",46:"vendors~dashboardScript",48:"verticalScrollCarousel",49:"videoLogic"}[e]||e)+"."+{0:"7a8de4530fac04fb891f",1:"498a3dd20a0b8dea04b8",2:"f3c4c382d40fe707adbd",3:"66444f02ffdc071cecd0",4:"dc9e72052df46c492dec",5:"7c48d31c7400b99c0662",6:"f342702ea2c1b216f248",7:"0e78a7abb84b5f2c3de2",8:"4f82bc70c8378e223b9f",9:"3d90be1e16c5f5513090",10:"4153d4ac1fd078090bf4",11:"379cfd67b68ac126fed9",12:"cceb8432d68c36066f1e",13:"8c2fc2c28da23f704b0e",14:"afcb1fb4d5321f904fc7",15:"c8c5cd33b4d984db3bd6",16:"1df2bf19f64b8754fc7b",17:"1b1513fbcdf4123f619a",18:"9148f69f59cfebb37341",19:"60713a236db6c100fe3a",20:"d4edf346e40ca9a69016",21:"32db9fcf58029f4d4364",22:"703b65ad5fa39ff956b1",23:"c5e255ad6a5098b13645",24:"98b444463fb21cd21b07",25:"94b5002133778967b9e8",26:"3ae62f56dceaf50c5
1d17",27:"203c9d5bda3afbeb0896",28:"2afc09dc470abaff5835",29:"db03daacfa997c1b4c1a",30:"e4faa6dde825da3164aa",31:"8485e7107fb3913a83d9",32:"c02a16439f6f1e24af9f",33:"2081e9747d0bac012fc1",34:"a456de8a67ac3a817be8",35:"304e4f65dac0606c1634",36:"c7a7bf90503df79372c4",37:"217b3488e12b334b1add",39:"a69d036d6bb3f53d89a4",40:"c660e42983278592e4b7",41:"cbb26fdc549d6150aaa5",42:"bbf2e4fa15d9d35c3b32",43:"9d5ebeb93b49a7a06cfc",44:"ba8850a2347eb20bf105",45:"388b013d0b3ae245452e",46:"1cc9493121a1cca553d4",48:"578a816806eabc8b35bf",49:"b7b41d21e706faf02f29"}[e]+".js"}(e);var c=new Error;o=function(t){l.onerror=l.onload=null,clearTimeout(u);var s=i[e];if(0!==s){if(s){var n=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+a+")",c.name="ChunkLoadError",c.type=n,c.request=a,s[1](c)}i[e]=void 0}};var u=setTimeout((function(){o({type:"timeout",target:l})}),12e4);l.onerror=l.onload=o,document.head.appendChild(l)}return Promise.all(t)},r.m=e,r.c=n,r.d=function(e,t,s){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:s})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var s=Object.create(null);if(r.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(s,n,function(t){return e[t]}.bind(null,n));return s},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/wp-content/themes/lupa-theme/bundled-assets/",r.oe=function(e){throw console.error(e),e};var l=window.webpackJsonp=window.webpackJsonp||[],c=l.push.bind(l);l.push=t,l=l.slice();for(var u=0;u<l.length;u++)t(l[u]);var d=c;o.push([21,47]),s()}([,function(e,t,s){"use strict";s.d(t,"b",(function(){return i})),s.d(t,"a",(function(){return o})),s.d(t,"f",(function(){return r})),s.d(t,"d",(function(){return l})),s.d(t,"e",(function(){return c})),s.d(t,"c",(function(){return u}));var n=s(0),a=s.n(n);const i="××××× ×©×× ××× ××ר ×× ××ת ×צ×× ×!",o="ת×××! - ××¢×ש×× × ××× ×קשר ×× ×ש×× ××¢××× ×¢× ×× ×× ×©××¢× ××× ×××פ×";function r(e,t,s=!1){let n=function(e){let t="";switch(e){case"phone":t="××ספר תק×× ×ש ×§××××ת + 7 ספר×ת";break;case"order-id":t="×ספר ×××× × ×סר";break;case"lupa-response-phone":t="××ספר ××× × ×§××× ××ער×ת";break;case"lupa-response-order-id":t="×ספר ××××× × ××× × ×ª×§××";break;case"email":t="×ת××ת ××××× ××× × ×××§×ת";break;case"private-name":case"family-name":t="×©× ×××× ×פ××ת 2 ××ת××ת";break;case"privacy-checkbox":t="××× ××תק×× × ×©×× ××§×× ××× ××ש×ר";case"software-privacy-checkbox":t="××× ×©× ×§×× ×ת ××ס××× ×©×× ××ª×§× ××, ×× × ××× ××תק××."}return t}(e);const i=s?'<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-exclamation-triangle" viewBox="0 0 16 16">\n <path d="M7.938 2.016A.13.13 0 0 1 8.002 2a.13.13 0 0 1 .063.016.146.146 0 0 1 .054.057l6.857 11.667c.036.06.035.124.002.183a.163.163 0 0 1-.054.06.116.116 0 0 1-.066.017H1.146a.115.115 0 0 1-.066-.017.163.163 0 0 1-.054-.06.176.176 0 0 1 .002-.183L7.884 2.073a.147.147 0 0 1 .054-.057zm1.044-.45a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566z"/>\n <path d="M7.002 12a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 5.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995z"/>\n</svg>':"";t.append(`<div class="lupa-error-message ${s?"lupa-error-message--white":""}">\n ${i}\n <span\n class="lupa-error-message__${e}" \n role="alert" \n >${n}\n </span>\n\n </div>`),a()(".lupa-error-message").fadeIn(),t.find("input").addClass("lupa-input-error-border"),t.find("input").attr("aria-invalid","true")}function l(e,t){let s=t.find(".lupa-error-message");s.fadeOut(),s.remove(),e.removeClass("lupa-input-error-border"),t.find("input").attr("aria-invalid","false")}function c(e){return e.val().length>=2}function u(e){return/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(e.val())}},function(e,t,s){"use strict";s.r(t),s.d(t,"FORMATS_ROUTE",(function(){return n})),s.d(t,"BOUTIQ_FILTER_ROUTE",(function(){return a})),s.d(t,"DELIVERIES_FILTER_ROUTE",(function(){return i})),s.d(t,"THANKS_LETTERS_ROUTE",(function(){return o}
1)),s.d(t,"EVENTS_ROUTE",(function(){return r})),s.d(t,"PAGEFLIP_FILTER_ROUTE",(function(){return l})),s.d(t,"SINLGE_BOOK_FORMAT_LINKS_ROUTE",(function(){return c})),s.d(t,"SCHEDULED_POPUP_ROUTE",(function(){return u})),s.d(t,"POSTS_ROUTE",(function(){return d})),s.d(t,"CATEGORY_POSTS_ROUTE",(function(){return h})),s.d(t,"LUPA_API_URL",(function(){return p})),s.d(t,"LUPA_API_URL_COUPON_FORM",(function(){return g})),s.d(t,"LUPA_API_URL_CALENDARS",(function(){return m})),s.d(t,"LUPA_B2B_CLIENT_API_URL",(function(){return f})),s.d(t,"LUPA_CUSTOMERS_GALLERY_URL",(function(){return b})),s.d(t,"PRICE_LIST_METHOD",(function(){return _})),s.d(t,"GENETAL_DELIVERY_METHOD",(function(){return v})),s.d(t,"MIN_PRICE_METHOD",(function(){return w})),s.d(t,"LICENSE_METHOD",(function(){return C})),s.d(t,"SEND_APP_SMS_METHOD",(function(){return E})),s.d(t,"DOWNLOAD_DESKTOP_METHOD",(function(){return S})),s.d(t,"CHECK_EMAIL",(function(){return A})),s.d(t,"GET_ORDER_INFO_METHOD",(function(){return k})),s.d(t,"GET_CUSTOMER_GALLERY",(function(){return I})),s.d(t,"CHECK_EMAIL_METHOD",(function(){return y})),s.d(t,"SET_NEWSLETTER",(function(){return R})),s.d(t,"GET_SETTINGS",(function(){return T})),s.d(t,"CREATE_B2B_CLIENT",(function(){return L})),s.d(t,"GET_HAGADOT",(function(){return P})),s.d(t,"MASTER_ID",(function(){return D})),s.d(t,"SORT_TYPE_ALL",(function(){return N})),s.d(t,"SORT_TYPE_NEW",(function(){return O})),s.d(t,"SORT_TYPE_POPULAR",(function(){return M})),s.d(t,"LICENSE_TYPE",(function(){return x})),s.d(t,"DESKTOP_PLATFORM",(function(){return U})),s.d(t,"MOBILE_PLATFORM",(function(){return B})),s.d(t,"SHIPMENT_PLATFORM",(function(){return W})),s.d(t,"WEB_PLATFORM",(function(){return F})),s.d(t,"QUANTITY",(function(){return H})),s.d(t,"HARD_COVER_ID",(function(){return K})),s.d(t,"SOFT_COVER_ID",(function(){return G})),s.d(t,"FLAT_COVER_ID",(function(){return q})),s.d(t,"CLASSIC_ID",(function(){return V})),s.d(t,"SMALL_PANORAMIC_ID",(function(){return j})),s.d(t,"CLASSIC_PLUS_ID",(function(){return Y})),s.d(t,"LARGE_PANORAMIC_ID",(function(){return X})),s.d(t,"SMALL_SQUARE_ID",(function(){return $})),s.d(t,"BIG_SQUARE_ID",(function(){return J})),s.d(t,"MINI_LUPA_ID",(function(){return Q})),s.d(t,"STUDIO_ID",(function(){return z})),s.d(t,"HAGADA_SMALL_SQUARE_ID",(function(){return Z})),s.d(t,"HAGADA_BIG_SQUARE_ID",(function(){return ee})),s.d(t,"HAGADA_F50_ID",(function(){return te})),s.d(t,"SMALL_TILES_ID",(function(){return se})),s.d(t,"LARGE_TILES_ID",(function(){return ne})),s.d(t,"GALLERY_SMALL_TILES_ID",(function(){return ae})),s.d(t,"GALLERY_LARGE_TILES_ID",(function(){return ie})),s.d(t,"KAPPA_TILES_ID",(function(){return oe})),s.d(t,"FRAME_TILES_ID",(function(){return re})),s.d(t,"SMALL_KAPPA_ID",(function(){return le})),s.d(t,"LARGE_KAPPA_ID",(function(){return ce})),s.d(t,"SMALL_FRAME_ID",(function(){return ue})),s.d(t,"LARGE_FRAME_ID",(function(){return de})),s.d(t,"GALLERY_SMALL_KAPPA_ID",(function(){return he})),s.d(t,"GALLERY_LARGE_KAPPA_ID",(function(){return pe})),s.d(t,"GALLERY_SMALL_FRAME_ID",(function(){return ge})),s.d(t,"GALLERY_LARGE_FRAME_ID",(function(){return me})),s.d(t,"TWO_TWO_ID",(function(){return fe})),s.d(t,"TWO_THREE_ID",(function(){return be})),s.d(t,"THREE_THREE_ID",(function(){return _e})),s.d(t,"THREE_FOWR_ID",(function(){return ve})),s.d(t,"FOWR_FOWR_ID",(function(){return we})),s.d(t,"FOWR_FIVE_ID",(function(){return Ce})),s.d(t,"FOWR_SIX_ID",(function(){return Ee})),s.d(t,"FIVE_FIVE_ID",(function(){return Se})),s.d(t,"FIVE_SIX_ID",(function(){return Ae})),s.d(t,"SIX_SIX_ID",(function(){return ke})),s.d(t,"A3_LANDSCAPE",(function(){return Ie})),s.d(t,"A4_MEMORIAL",(function(){return ye})),s.d(t,"A3_MEMORIAL",(function(){return Re})),s.d(t,"A4_PANORAMIC",(function(){return Te})),s.d(t,"DESKTOP_BOARD",(function(){return Le})),s.d(t,"A4_CLASSIC",(function(){return Pe})),s.d(t,"A3_CLASSIC",(function(){return De})),s.d(t,"A3_PANORAMIC",(function(){return Ne})),s.d(t,"A5_DESKTOP_BOARD",(function(){return Oe})),s.d(t,"MIN_PAGES",(function(){return Me})),s.d(t,"MAX_PAGES",(function(){return xe})),s.d(t,"HAGADA_MIN_PAGES",(function(){return Ue})),s.d(t,"HAGADA_MAX_PAGES",(function(){return Be})),s.d(t,"NOT_AVAILABLE_IN_SOFT_COVER",(function(){return We})),s.d(t,"NOT_AVAILABLE_IN_FLAT_COVER",(function(){return Fe})),s.d(t,"SALE_IS_OVER",(function(){return He})),s.d(t,"FROM_32_PAGES",(function(){return Ke})),s.d(t,"FROM_40_PAGES",(function(){return Ge})),s.d(t,"UNTIL_80_PAGES",(function(){return qe})),s.d(t,"UNTIL_100_PAGES",(function(){return Ve})),s.d(t,"UNTIL_104_PAGES",(function(){return je})),s.d(t,"HAGADA_32_PAGES",(function(){return Ye})),s.d(t,"HAGADA_36_PAGES",(function(){return Xe})),s.d(t,"ERROR_DOWNLOAD_DESKTOP_EMAIL_NOT_EXIST",(function(){return $e})),s.d(t,"ERROR_DOWNLOAD_DESKTOP_NO_NEWSLETTER",(function(){return Je})),s.d(t,"ERROR_GET_ORDER_INFO_PHONE_NUMBER_NOT_FOUND",(function(){return Qe})),s.d(t,"NO_ERROR",(function(){return ze})),s.d(t,"ERROR_CHECK_EMAIL_NO_NEWSLETTER",(function(){return Ze})),s.d(t,"ERROR_CHECK_EMAIL_EMAIL_NOT_EXIST",(function(){return et})),s.d(t,"ERROR_USER_ALREADY_HAVE_COUPON",(function(){return tt})),s.d(t,"ERROR_USER_NO_NEED_TO_GET_COUPON",(function(){return st})),s.d(t,"ERROR_USER_COUPON_EXPIRE",(function(){return nt})),s.d(t,"ERROR_USER_COUPON_ALREADY_BEEN_USED",(function(){return at})),s.d(t,"ERROR_USER_WRONG_EMAIL",(function(){return it})),s.d(t,"ERROR_USER_WRONG_CAMPAING",(function(){return ot})),s.d(t,"EMAIL_IS_EXIST_AND_HAVE_NEWSLETTER",(function(){return rt})),s.d(t,"AVAILABLE_IN_APP_ROW_BOOKS",(function(){return lt})),s.d(t,"AVAILABLE_IN_APP_ROW_CALENDARS",(function(){return ct})),s.d(t,"AVAILABLE_IN_APP_ROW_TILES",(function(){return ut})),s.d(t,"MAX_NUM_OF_BOOKS_IN_BOUTIQ",(function(){return dt})),s.d(t,"COUPON_POPUP_ID",(function(){return ht})),s.d(t,"PROMOTION_POPUP_ID",(function(){return pt})),s.d(t,"EMAIL_POPUP_ID",(function(){return gt})),s.d(t,"QUOTATION_POPUP_ID",(function(){return mt})),s.d(t,"IS_MOBILE",(function(){return _t})),s.d(t,"DOWNLOAD_MOBILE_APP_LINK",(function(){return vt})),s.d(t,"DASHBOARD_API_URL",(function(){return wt}));const n="/wp-json/lupa/v1/formats?type=",a="/wp-json/lupa/v1/boutiqFilter?",i="/wp-json/lupa/v1/deliveriesFilter?",o="/wp-json/lupa/v1/thanksLetters?",r="/wp-json/lupa/v1/events?",l="/wp-json/lupa/v1/pageflipFilter?",c="/wp-json/lupa/v1/singleBookFormatsLinks?",u="/wp-json/lupa/v1/scheduled-popup",d="/wp-json/lupa/v1/posts?",h="/wp-json/lupa/v1/category-posts",p="https://account.lupa.co.il/api/api.aspx?",g="https://account.lupa.co.il/api/api.aspx?",m=lupaData.root_url.includes("lupa.co.il")?"https://account.lupa.co.il/api/api.aspx?":"https://account-v3-san.lupa.co/api.aspx?",f=lupaData.root_url.includes("lupa.co.il")?"https://connect.lupa.co.il/v2/api/entry.aspx?":"http://connect.lupa.co
1/v2/api/entry.aspx?",b="https://account.lupa.co.il/api/Pages/customers-gallery/snapshot.aspx?",_="price_list",v="get_general_delivery_time",w="get_starting_from",C="license",E="send_application_sms",S="download_desktop",A="check_email",k="get_order_info",I="customer_gallery",y="check_email",R="set_newsletter",T="get_settings",L="create2b2client",P="get_starting_from_hagadot",D="217050109093031017014135251248179115056244071231",N="ALL",O="NEW",M="POPULAR",x="term_of_use",U="desktop",B="mobile",W="shipment",F="web",H=1,K=0,G=1,q=5,V=0,j=2,Y=6,X=26,$=27,J=35,Q=38,z=41,Z=52,ee=51,te=50,se=20,ne=21,ae=200,ie=210,oe=1,re=2,le=10,ce=11,ue=20,de=21,he=100,pe=110,ge=200,me=210,fe=1,be=2,_e=3,ve=4,we=5,Ce=6,Ee=7,Se=8,Ae=9,ke=10,Ie=39,ye=240,Re=260,Te=24,Le=91,Pe=26,De=29,Ne=30,Oe=92,Me=24,xe=144,Ue=32,Be=36,We="×× ×§××× ××ר××× ×¨××",Fe="×× ×§××× ×ספר ×××× ××",He="×××צע ×סת×××",Ke="× - 32 ×¢×××××",Ge="× - 40 ×¢×××××",qe="×¢× 80 ×¢×××××",Ve="×¢× 100 ×¢×××××",je="×¢× 104 ×¢×××××",Ye="××××× 32 ×¢×××××",Xe="××××× 36 ×¢×××××",$e=-38,Je=-39,Qe=-33,ze=0,Ze=-49,et=-50,tt=-401,st=-402,nt=-403,at=-404,it=-405,ot=-406,rt="EMAIL_IS_EXIST_AND_HAVE_NEWSLETTER",lt=3,ct=1,ut=1,dt=12,ht=6651,pt=861,gt=427,mt=425,ft=window.navigator.platform,bt=-1!==["Win32","Win64","Windows","WinCE"].indexOf(ft),_t=window.matchMedia("(max-width: 1200px)").matches&&!bt,vt="https://lupa.onelink.me/Lo3k/NewSitePopup",wt=function(e){let t="https://account-v3-san.lupa.co/V2/api.aspx";"lupa-dev.evhost.co.il"===e&&(t="https://account-v3-san.lupa.co/V2/api.aspx");"lupa-test-api.evhost.co.il"===e&&(t="https://account-v3-lupa.lupa.co/V2/api.aspx");"www.lupa.co.il"!==e&&"lupa.co.il"!==e||(t="https://account-v3.lupa.co.il/V2/api.aspx");return t}(window.location.hostname)},function(e,t,s){"use strict";var n=s(0),a=s.n(n),i=s(2),o=s(1);t.a=class{constructor(e){this.marketingType=null,this.emailRegistrationContainer=null,this.privateName=null,this.privateNameContainer=null,this.familyName=null,this.familyNameContainer=null,this.email=null,this.emailContainer=null,this.registerEmailBtn=null,this.newsletterRegistrationContainer=null,this.newsletterCheckbox=null,this.registerNewsletterBtn=null,this.preloaderContainer=null,this.responseMessageContainer=null,this.isRegisterToNewsletter=!1,this.userRegisterWithNewsletter=!1,this.userRegisterWithoutNewsletter=!1,this.emailDoesNotExist=!1,this.getIP()}initProperties(e){let t=a()(e);this.marketingType=t.closest("[data-marketing-mail-type]"),this.emailRegistrationContainer=t.find(".email-registration-container"),this.privateName=t.find(".private-name-container input"),this.privateNameContainer=t.find(".private-name-container"),this.familyName=t.find(".family-name-container input"),this.familyNameContainer=t.find(".family-name-container"),this.email=t.find(".email-container input"),this.emailContainer=t.find(".email-container"),this.registerEmailBtn=t.find(".register-email-btn a"),this.newsletterRegistrationContainer=t.find(".newsletter-registration-container"),this.newsletterCheckbox=t.find(".lupa-custom-checkbox input"),this.registerNewsletterBtn=t.find(".register-newsletter-btn a"),this.preloaderContainer=t.find(".lupa-popup-preloader"),this.responseMessageContainer=t.find(".response-message-container")}handleEmailRegistration(){o.c(this.email)&&o.e(this.privateName)&&o.e(this.familyName)?this.registerEmailRequest():this.showErrorMessages()}showErrorMessages(){if(!o.c(this.email)||!o.e(this.privateName)||!o.e(this.familyName)){let e=this.emailContainer.find(".lupa-error-message").length,t=this.privateNameContainer.find(".lupa-error-message").length,s=this.familyNameContainer.find(".lupa-error-message").length;o.c(this.email)||e||o.f("email",this.emailContainer),o.e(this.privateName)||t||o.f("private-name",this.privateNameContainer),o.e(this.familyName)||s||o.f("family-name",this.familyNameContainer)}o.c(this.email)&&this.emailContainer.find(".lupa-error-message")&&o.d(this.email,this.emailContainer),o.e(this.privateName)&&this.privateNameContainer.find(".lupa-error-message")&&o.d(this.privateName,this.privateNameContainer),o.e(this.familyName)&&this.familyNameContainer.find(".lupa-error-message")&&o.d(this.familyName,this.familyNameContainer)}
1registerNewsletterRequest(){const e=this.newsletterCheckbox.prop("checked")?1:0;let t=this.newsletterRegistrationContainer.find(".lupa-error-message").length;if(!e)return void(t||o.f("privacy-checkbox",this.newsletterRegistrationContainer));this.newsletterRegistrationContainer.addClass("hide"),this.preloaderContainer.removeClass("hide");const s=this.getRegisterEmailUrl(e);"dataLayer"in window&&this.updateDataLayer("consent-sent",[]),this.registerNewsletter(s)}getRegisterEmailUrl(e){return i.LUPA_API_URL_COUPON_FORM+"method="+i.SET_NEWSLETTER+"&email="+this.email.val()+"&name="+this.privateName.val()+"&last_name="+this.familyName.val()+"&ip="+sessionStorage.getItem("IP")+"&email_status="+e+"&placement=marketing-mail-"+this.marketingType.data("marketing-mail-type")}registerNewsletter(e){a.a.ajax({url:e,type:"GET",success:e=>{this.handleNewsletterRegistrationResponse(JSON.parse(e))},error:e=>{"dataLayer"in window&&this.updateDataLayer("details-failed",[]),console.log(e)}})}getDetailsSuccessResponse(){return[{name:"email",value:this.email.val()},{name:"first-name",value:this.privateName.val()},{name:"last-name",value:this.familyName.val()},{name:"ip",value:sessionStorage.getItem("IP")},{name:"email-status",value:1}]}updateDataLayer(e,t){dataLayer.push({event:"form_tracking",eventAction:e,formName:"marketing-mail-"+this.marketingType.data("marketing-mail-type"),response:t})}handleNewsletterRegistrationResponse(e){setTimeout(()=>{this.preloaderContainer.addClass("hide"),this.showResponseContainer(e)},2e3)}async registerEmailRequest(){this.emailRegistrationContainer.addClass("hide"),this.preloaderContainer.removeClass("hide");const e=i.LUPA_API_URL_COUPON_FORM,t={method:i.CHECK_EMAIL,email:this.email.val()};try{let s=await a.a.ajax({url:e,method:"POST",dataType:"json",data:t});"dataLayer"in window&&this.updateDataLayer("details-sent",this.getDetailsSuccessResponse()),this.handleEmailRegistrationResponse(s)}catch(e){console.log(e)}}handleEmailRegistrationResponse(e){setTimeout(()=>{this.userRegisterWithNewsletter=e.payload===i.EMAIL_IS_EXIST_AND_HAVE_NEWSLETTER,this.userRegisterWithoutNewsletter=e.errorCode===i.ERROR_CHECK_EMAIL_NO_NEWSLETTER,this.emailDoesNotExist=e.errorCode===i.ERROR_CHECK_EMAIL_EMAIL_NOT_EXIST,this.preloaderContainer.addClass("hide"),this.userRegisterWithNewsletter?(this.isRegisterToNewsletter=!0,this.showResponseContainer(e)):this.showNewsletterContainer()},2500)}showResponseContainer(e){this.responseMessageContainer.append(this.getResponseMessage(e)),setTimeout(()=>this.responseMessageContainer.removeClass("hide"),500)}showNewsletterContainer(){this.newsletterRegistrationContainer.removeClass("hide")}getResponseMessage(e){return""}async getIP(){if(!sessionStorage.getItem("IP"))try{let e=await a.a.getJSON("https://api.ipify.org?format=json");sessionStorage.setItem("IP",e.ip)}catch(e){console.log(e),sessionStorage.setItem("IP","0.0.0.0")}}}},,,function(e,t,s){"use strict";var n=s(0),a=s.n(n);t.a=class{constructor(){this.body=a()("body"),""!=window.location.hash&&this.openPopup()}openPopup(){}}},,,,function(e,t,s){const n=document.currentScript,a=document.getElementsByTagName("script");let i=n&&n.src?n.src:"";if(!i)for(let e=a.length-1;e>=0;e-=1){const t=a[e].src||"";if(t.includes("/bundled-assets/scripts")){i=t;break}}i&&(s.p=i.slice(0,i.lastIndexOf("/")+1))},function(e,t,s){},,,,,,,,,,function(e,t,s){"use strict";s.r(t);s(10),s(11);var n=s(0),a=s.n(n);var i=class{constructor(){this.body=a()("body"),this.menuTabs=a()("button.menu-tab"),this.tabsContent=a()(".tabs-content"),this.tabsLogoDiscountWrapper=a()(".tabs-logo-discount-wrapper"),this.prevSelectedMenuID=-1,this.events(),this.updateCurrentPage()}events(){this.body.on("click",e=>this.handleBodyClick(e)),this.menuTabs.on("click",e=>this.handleTabClick(e))}handleBodyClick(e){const t=this.tabsContent.hasClass("tabs-content--visible");!a()(e.target).closest(".desktop-menu").length&&t&&a()(".menu-tab--active").trigger("click")}handleTabClick(e){const t=a()(e.target),s=t.data("tab-title-id"),n=a()(`[data-tab-content-id=${s}]`),i=this.tabsContent.hasClass("tabs-content--visible");window.location.href;s!==this.prevSelectedMenuID&&(a()(".menu-list--active").removeClass("menu-list--active"),a()(".menu-tab--active").removeClass("menu-tab--active"),n.addClass("menu-list--active"),t.addClass("menu-tab--active")),i?s===this.prevSelectedMenuID&&(this.tabsContent.removeClass("tabs-content--visible"),this.tabsLogoDiscountWrapper.removeClass("tabs-logo-discount-wrapper--hide-shadow"),t.removeClass("menu-tab--active")):(this.tabsContent.addClass("tabs-content--visible"),this.tabsLogoDiscountWrapper.addClass("tabs-logo-discount-wrapper--hide-shadow"),t.addClass("menu-tab--active")),this.prevSelectedMenuID=s,this.updateCurrentPage()}updateCurrentPage(){const e=window.location.href,t=window.location.pathname;a()("a").removeClass("current-page"),a()("a").each((s,n)=>{const i=a()(n),o=i.attr("href");if(o===e||o===t){i.addClass("current-page");const e=i.closest(".menu-list");if(e.length){const t=e.prev("button.menu-tab");t.length&&t.addClass("current-page")}}}),this.menuTabs.each((s,n)=>{const i=a()(n);i.data("tab-title-id");i.attr("href")!==e&&i.attr("href")!==t||i.addClass("current-page")}),this.menuTabs.each((e,t)=>{const s=a()(t),n=s.data("tab-title-id");a()(`[data-tab-content-id=${n}]`).find("a.current-page").length>0&&s.addClass("current-page")})}},o=s(5),r=s.n(o);var l=class{constructor(){this.buttonTextElContainer=document.querySelector(".top-nav-item__link.dashboard"),this.buttonTextEl=this.buttonTextElContainer.querySelector(".top-nav-item__text"),this.imgDefaultEl=this.buttonTextElContainer.querySelector("svg.top-nav-item__icon"),this.imgUserEl=this.buttonTextElContainer.querySelector("img.top-nav-item__icon.avatar-img"),this.buttonTextElContainerMob=document.querySelector(".more-links__link.dashboard"),this.buttonTextElMob=this.buttonTextElContainerMob.querySelector(".more-links__text"),this.imgDefaultElMob=this.buttonTextElContainerMob.querySelector("svg.more-links__icon"),this.imgUserElMob=this.buttonTextElContainerMob.querySelector("img.more-links__icon.avatar-img"),this.buttonTextDefault=this.buttonTextEl.textContent,this.userToken=sessionStorage.getItem("userToken"),this.personalDetails=JSON.parse(sessionStorage.getItem("personalDetails")),this.USER_IS_AUTORISED=!1,this.buttonTextController(),this.avatarImgControler(),this.buttonTextControllerMobile(),this.avatarImgControlerMobile(),this.addListener()}addListener(){document.addEventListener("sessionStorageKeyUpdated",e=>
1{"personalDetails"===e.detail.key&&(this.buttonTextController(),this.avatarImgControler(),this.buttonTextControllerMobile(),this.avatarImgControlerMobile())})}checkAutorisation(){this.USER_IS_AUTORISED=this.checkUserToken()&&this.checkUserName()}checkUserToken(){return null!=sessionStorage.getItem("userToken")}checkUserName(){return this.personalDetails=JSON.parse(sessionStorage.getItem("personalDetails")),null!=this.personalDetails&&null!=this.personalDetails.firstName}checkUserImgUrl(){return this.personalDetails=JSON.parse(sessionStorage.getItem("personalDetails")),null!=this.personalDetails&&""!=this.personalDetails&&null!=this.personalDetails.avatarImgUrl}buttonTextController(){this.checkAutorisation(),this.USER_IS_AUTORISED&&this.buttonTextEl?this.buttonTextEl.innerHTML="×××, "+this.personalDetails.firstName:this.buttonTextEl.textContent=this.buttonTextDefault}buttonTextControllerMobile(){this.checkAutorisation(),this.USER_IS_AUTORISED&&this.buttonTextElMob?this.buttonTextElMob.innerHTML="×××, "+this.personalDetails.firstName:this.buttonTextElMob.textContent=this.buttonTextDefault}setAvatarUrl(){this.checkUserImgUrl()&&this.imgUserEl&&(this.personalDetails=JSON.parse(sessionStorage.getItem("personalDetails")),this.imgUserEl.src=this.personalDetails.avatarImgUrl)}setAvatarUrlMobile(){this.checkUserImgUrl()&&this.imgUserElMob&&(this.personalDetails=JSON.parse(sessionStorage.getItem("personalDetails")),this.imgUserElMob.src=this.personalDetails.avatarImgUrl)}avatarImgControler(){this.setAvatarUrl(),this.checkAutorisation(),this.USER_IS_AUTORISED&&this.checkUserImgUrl()&&this.imgUserEl&&this.imgDefaultEl?(this.imgDefaultEl.style.display="none",this.imgUserEl.style.display="block"):(this.imgDefaultEl.style.display="block",this.imgUserEl.style.display="none")}avatarImgControlerMobile(){this.setAvatarUrlMobile(),this.checkAutorisation(),this.USER_IS_AUTORISED&&this.checkUserImgUrl()&&this.imgUserElMob&&this.imgDefaultElMob?(this.imgDefaultElMob.style.display="none",this.imgUserElMob.style.display="inline-block"):(this.imgDefaultElMob.style.display="inline-block",this.imgUserElMob.style.display="none")}};var c=class{constructor(){this.window=a()(window),this.navItems=a()(".collapse .nav-link"),this.lupaMainNav=a()(".lupa-main-nav"),this.hamburger=a()("#hamburger"),this.hamburgerDesktop=a()("#hamburger-desktop"),this.closehamburgerDesktopBtn,a()("#close-btn"),this.dropdownArrows=a()(".lupa-main-nav .down_arrow"),this.giftIcon=a()(".gift-icon__fill"),this.headerDropdown=a()(".header_dropdown"),this.mobileHeaderDropdown=a()(".header-dropdown-mobile"),this.desktopHeaderDropdown=a()(".header-dropdown-desktop"),this.desktopMenuTitles=a()(".menu-item-has-children"),this.dropdown=a()(".lupa-main-nav .dropdown"),this.body=a()("body"),this.headerDropdownMenu=a()(".header_dropdown .menu"),this.headerDropdownSubMenu=a()(".header_dropdown .menu > li > ul"),this.headerDropdownSubSubMenu=a()(".header_dropdown .menu > li > ul > li > ul"),this.headerDropdownListItems=a()(".header_dropdown .menu li"),this.OS="",this.downloadButtonSwitcher(),this.setHeaderDropMenuClasses(),this.addArrowsToMobileDropMenu(),this.changeMainNavigationStyle(),this.userProfileNavigation=new l,this.events()}events(){this.desktopHeaderDropdown.css("display","block"),this.window.scroll(r()(()=>this.changeMainNavigationStyle(),300)),this.hamburger.on("click",this.changeHamburgerAnimation.bind(this)),this.hamburgerDesktop.on("click",this.toggleDesktopHeaderDropdown.bind(this)),this.hamburger.on("keydown",e=>{13==e.keyCode&&(e.preventDefault(),this.changeHamburgerAnimation(e))}),this.mobileHeaderDropdown.on("click",".menu > li",e=>{let t=a()(e.target).is("li")?a()(e.target):a()(e.target).closest("li"),s=t.find(".sub-menu")[0],n=t.children(".lupa-custom-select__arrow");a()(n).toggleClass("rotate-arrow"),a()(s).slideToggle()}),this.desktopHeaderDropdown.on("click",".menu > li",e=>{let t=a()(e.target).is("li")?a()(e.target):a()(e.target).closest("li"),s=t.find(".sub-menu")[0],n=t.children(".lupa-custom-select__arrow");a()(n).toggleClass("rotate-arrow"),a()(s).slideToggle()}),this.dropdown.focusin(e=>{this.dropdown.addClass("open")}),this.dropdown.focusout(e=>{this.dropdown.removeClass("open")}),this.headerDropdownListItems.first().focusin(e=>a()(e.target).addClass("active")),this.headerDropdownListItems.key
1down(e=>{e.stopPropagation();let t=a()(e.target);switch(e.keyCode){case 38:this.moveUp(t,null);break;case 40:this.moveDown(t,null);break;case 37:this.moveLeft(t,null);break;case 39:this.moveRight(t,null);break;case 13:this.enter(t);break;case 27:this.exitDropdownMenu()}})}exitDropdownMenu(){let e=this.headerDropdownMenu.find(".active"),t=this.headerDropdown.find(".open");e.removeClass("active"),t.removeClass("open"),this.hamburger[0].click(),this.hamburger.focus()}moveUp(e,t){0!==e.siblings().length&&(t=0!=e.prev().length?e.prev():e.siblings(":last"),e.removeClass("active"),t.addClass("active"),t.focus(),0!=e.find("ul.open").length&&t.closest("ul").addClass("open"))}moveDown(e,t){0!==e.siblings().length&&(t=0!=e.next().length?e.next():e.siblings(":first"),e.removeClass("active"),t.addClass("active"),t.focus(),0!=e.find("ul.open").length&&t.closest("ul").addClass("open"))}moveLeft(e,t){e.hasClass("menu-item-has-children")&&((t=e.find("li").first()).addClass("active"),t.focus(),t.closest("ul").addClass("open"))}moveRight(e,t){e.closest("ul").is(".open")&&(e.closest("ul").parent().focus(),e.removeClass("active"),e.closest("ul").removeClass("open"))}enter(e){e.is(".menu-item-has-children")||e.find("a")[0].click()}setHeaderDropMenuClasses(){this.headerDropdownMenu.addClass("header-dropdown__main-nav"),this.headerDropdownSubMenu.addClass("header-dropdown__sub-nav"),this.headerDropdownSubSubMenu.addClass("header-dropdown__sub-sub-nav"),this.headerDropdownListItems.attr("tabindex","0")}addArrowsToMobileDropMenu(){this.mobileHeaderDropdown.find(".menu-item-has-children").append('<svg class="lupa-custom-select__arrow" width="0.65em" height="0.55em" viewBox="0 0 16 10" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>icon arrow lupa website</title>\n <g id="desktop" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g class="down_arrow" transform="translate(-1201.000000, -795.000000)" fill="#303030">\n <g id="PopUp-Copy-5" transform="translate(1114.000000, 614.000000)">\n <g id="Group-15" transform="translate(70.000000, 168.000000)">\n <g id="Tel-#">\n <path d="M22.3874449,25.6714953 C21.9555117,26.1095016 21.2556742,26.1095016 20.823741,25.6714953 C20.3920863,25.2340534 20.3920863,24.524551 20.823741,24.0871091 L26.8307032,17.9996119 L20.8240195,11.9126792 C20.3923648,11.4749551 20.3923648,10.7657349 20.8240195,10.3282931 C21.2556742,9.89056898 21.9557902,9.89056898 22.3877234,10.3282931 L29.1763982,17.2079833 C29.3919471,17.4267042 29.5,17.7131581 29.5,17.9996119 C29.5,18.2866302 29.3919471,18.5733663 29.1761197,18.7920872 L22.3874449,25.6714953 Z" id="icon-arrow-lupa-website" transform="translate(25.
1000000, 18.000000) scale(-1, 1) rotate(-270.000000) translate(-25.000000, -18.000000) "></path>\n </g>\n </g>\n </g>\n </g>\n </g>\n </svg>')}changeMainNavigationStyle(){this.window.scrollTop()>=50?this.addMainNavigationStyle():this.removeMainNavigationStyle(),location.pathname.includes("dashboard")&&this.addMainNavigationStyle()}addMainNavigationStyle(){this.lupaMainNav.addClass("lightHeader"),this.navItems.addClass("blackColor"),this.dropdownArrows.addClass("fillBlack"),this.giftIcon.addClass("fillBlack"),this.hamburger.addClass("dark-hamburger")}removeMainNavigationStyle(){this.lupaMainNav.removeClass("lightHeader"),this.navItems.removeClass("blackColor"),this.dropdownArrows.removeClass("fillBlack"),this.giftIcon.removeClass("fillBlack"),this.hamburger.removeClass("dark-hamburger")}changeHamburgerAnimation(){this.hamburger.hasClass("lupa_hamburger_sprite")?this.changeAnimationFromBookToCancel():this.hamburger.hasClass("lupa_book_sprite")&&this.changeAnimationFromCancelToBook(),this.toggleheaderDropdown()}changeAnimationFromBookToCancel(){this.window.scrollTop()>=50&&this.hamburger.removeClass("dark-hamburger"),this.hamburger.removeClass("lupa_hamburger_sprite"),this.hamburger.addClass("lupa_book_sprite"),a()(".lupa-discount-strip").css({"z-index":"2"}),setTimeout(()=>this.hamburger.addClass("lupa_book_sprite_is_active"),.1)}changeAnimationFromCancelToBook(){this.window.scrollTop()>=50&&this.hamburger.addClass("dark-hamburger"),this.hamburger.removeClass("lupa_book_sprite"),this.hamburger.removeClass("lupa_book_sprite_is_active"),this.hamburger.addClass("lupa_cancel_sprite"),setTimeout(()=>{this.hamburger.addClass("lupa_cancel_sprite_is_active"),setTimeout(()=>{this.hamburger.removeClass("lupa_cancel_sprite"),this.hamburger.removeClass("lupa_cancel_sprite_is_active"),this.hamburger.addClass("lupa_hamburger_sprite"),a()(".lupa-discount-strip").css({"z-index":"3"})},.9)},.1)}toggleheaderDropdown(){this.headerDropdown.toggleClass("translateY_header_dropdown"),this.mobileHeaderDropdown.toggleClass("translateX-header-dropdown"),this.body.toggleClass("hide_body_overflow"),this.lupaMainNav.toggleClass("hide_main_nav")}toggleDesktopHeaderDropdown(){null==this.closehamburgerDesktopBtn&&(this.closehamburgerDesktopBtn=a()("#close-btn"),this.closehamburgerDesktopBtn.on("click",this.toggleDesktopHeaderDropdown.bind(this)),this.closehamburgerDesktopBtn.css("cursor","pointer")),this.desktopMenuTitles.length>0&&(this.desktopMenuTitles=a()(".menu-item-has-children"),this.desktopMenuTitles.click((function(){a()(".menu-item-has-children").removeClass("active"),a()(this).addClass("active")}))),this.headerDropdown.toggleClass("translateY_header_dropdown"),this.desktopHeaderDropdown.toggleClass("translateX-header-dropdown"),this.body.toggleClass("hide_body_overflow"),this.lupaMainNav.toggleClass("hide_main_nav")}markActiveMenuItem(){}detectOS(){let e=navigator.userAgent||navigator.vendor||window.opera;return/iPad|iPhone|iPod/.test(e)&&!window.MSStream?"iOS":/android/i.test(e)?"Android":"Other"}downloadButtonSwitcher(){this.OS=this.detectOS(),"iOS"===this.OS?document.getElementById("google-btn").style.display="none":"Android"===this.OS&&(document.getElementById("apple-btn").style.display="none")}},u=s(2),d=s(1);var h=class{constructor(){this.triggerPopupBtn=a()(".download-app-popup-trigger, .lity_book_btn a"),this.body=a()("body"),this.isThereErrorMessage=!1,this.linkBtn=null,this.triggerBtnWasClicked=!1,this.events()}events(){this.body.on("click",".download-app-popup-trigger, .lity_book_btn a",e=>{if(a()(e.target).is(".download-app-popup-trigger")){const t=a()(e.target).is("a")?a()(e.target):a()(e.target).closest("a");t.parent().hasClass("lity_book_btn")?this.changePopupTitles("book"):this.changePopupTitles("header"),u.IS_MOBILE?(t.attr("href",u.DOWNLOAD_MOBILE_APP_LINK),t.attr("target","_blank")):(e.preventDefault(),this.initProperties())}})}popupEvents(){this.linkBtn.on("click",e=>{e.preventDefault();let t=a()(".poplication_phone .lupa-custom-select__triger-text"),s=a()("#poplication_your_phone"),n=a()(".poplication .success-response"),i=a()(".poplication .poplication_phone");this.sendRequest(t,s,a()(e.target),i,n)})}changePopupTitles(e){let t=a()(".poplication_title"),s=a()(".poplication_subtitle");switch(e){case"book":t.html("\n <h3>××××¨× ××¢××× ××× ××××?</h3>\n "),s.html("\n <h4>×ש ×× ×ת ××פ××קצ××? ×× ×ר××¢ ××¢××ר ×××× ×××צ×× ×ת ××¢×צ×× ×©××רת ××× ×©×× ××¢×צ××××.</h4>\n <br>\n <h4>××× ×× ×פ××קצ××? ×× ×ר××¢ ×תת ×ספר ××פ×× ×× ×©×× ×××× ×§×ש×ר ×××ר××. ××××ר, ××¢×צ×× ×××× ×× ×©×</h4>\n ");break;case"header":t.html("\n <h3>××פ××קצ××!</h3>\n "),s.html("\n <h4>××××× ×ספר ×ש××× ×ת ××§×ש×ר ×××ר×ת ××פ××קצ××?</h4>\n ")}}initProperties(){a()(".success-response__img").attr("src",lupaData.theme_file_uri+"/assets/img/icon_send1.svg"),this.linkBtn=a()(".poplication .lupa_btn a"),setTimeout(()=>a()("#poplication_your_phone").focus(),300),this.popupEvents()}async sendRequest(e,t,s,n,i){if(""!=e.text()&&7===t.val().length&&this.containsOnlyDigits(t.val())){this.isThereErrorMessage&&(a()(".lupa-error-message").fadeOut(),t.removeClass("lupa-input-error-border"));let n=e.text()+t.val();s.fadeOut(500);let o=u.LUPA_API_URL+"method="+u.SEND_APP_SMS_METHOD+"&phone="+n;
1try{(await a.a.getJSON(o)).isValid?(i.fadeIn(1200).delay(1e3),"dataLayer"in window&&dataLayer.push({event:"form_tracking",eventAction:"details-sent",formName:"poplication",response:[{name:"phone",value:n}]})):console.log("there is a problem")}catch(e){"dataLayer"in window&&dataLayer.push({event:"form_tracking",eventAction:"details-failed",formName:"poplication"}),console.log(e.statusText)}}else this.isThereErrorMessage||(this.isThereErrorMessage=!0,d.f("phone",n))}containsOnlyDigits(e){return e.match(/^[0-9]+$/)}};var p=class{constructor(){this.hoverSelect=a()(".hover-select"),this.clickSelect=a()(".click-select"),this.body=a()("body"),this.addTransformEffect(this.hoverSelect),this.addTransformEffect(this.clickSelect),this.customSelectDropdown=a()(".custom-select-dropdown"),this.events()}events(){this.hoverSelect.hover(e=>{a()(e.target).closest(".lupa-custom-select").toggleClass("open")}),this.body.on("mouseenter",".hover-select",e=>{a()(e.target).closest(".lupa-custom-select").addClass("open")}),this.body.on("mouseleave",".hover-select",e=>{a()(e.target).closest(".lupa-custom-select").removeClass("open")}),this.body.on("click",".click-select",e=>{if(!a()(e.target).is(".custom-select-dropdown")&&!a()(e.target).is(".custom-select-dropdown__text")){const t=a()(e.target).closest(".click-select");t.toggleClass("expand");let s=a()(e.target).closest(".lupa-custom-select");s.length||(s=t.find(".lupa-custom-select").first()),s.toggleClass("open"),this.updateAriaExpanded(t,s.hasClass("open"))}}),this.body.on("click",".custom-option",this.updateCustomSelect.bind(this)),this.body.on("keydown",".lupa-custom-select-wrapper",e=>this.handleKeyPress(e)),this.customSelectDropdown.on("click",e=>{let t=a()(e.target);t.is(".custom-select-dropdown__text")&&(t=t.closest(".custom-select-dropdown"));let s=t.find(".custom-select-dropdown__custom-options");t.toggleClass("open"),s.slideToggle()}),window.addEventListener("click",(function(e){for(const t of document.querySelectorAll(".click-select .lupa-custom-select"))if(!t.contains(e.target)){t.classList.remove("open");const e=t.closest(".click-select");e&&(e.classList.remove("expand"),e.setAttribute("aria-expanded","false"))}})),this.body.on("click",".spu-box",e=>{for(const t of document.querySelectorAll(".click-select .lupa-custom-select"))if(!t.contains(e.target)){t.classList.remove("open");const e=t.closest(".click-select");e&&(e.classList.remove("expand"),e.setAttribute("aria-expanded","false"))}})}handleKeyPress(e){const t=a()(e.target).closest(".lupa-custom-select-wrapper");let s=a()(e.target).is(".custom-option")?a()(e.target).closest(".lupa-custom-select"):t.find(".lupa-custom-select").first(),n=null,i=null;switch(a()(e.target).is(".custom-option")&&(n=a()(e.target)),e.keyCode){case 32:e.preventDefault(),s.toggleClass("open"),t.toggleClass("expand",s.hasClass("open")),this.updateAriaExpanded(t,s.hasClass("open"));break;case 38:e.preventDefault(),n?(i=0!=n.prev().length?n.prev():n.siblings().last(),i.focus()):(n=s.find(".custom-option").last(),n.focus());break;case 40:e.preventDefault(),n?(i=0!=n.next().length?n.next():n.siblings().first(),i.focus()):(n=s.find(".custom-option").first(),n.focus());break;case 13:if(e.preventDefault(),a()(e.target).is(".custom-option")){this.updateCustomSelect(e),s.removeClass("open"),t.removeClass("expand"),this.updateAriaExpanded(t,!1),t.focus();break}if(!s.hasClass("open")){s.addClass("open"),t.addClass("expand"),this.updateAriaExpanded(t,!0);(s.find(".selected").length?s.find(".selected").first():s.find(".custom-option").first()).trigger("focus");break}const o=s.find(".hover-option").length?s.find(".hover-option").first():s.find(".selected").first();o.length&&o.trigger("click"),s.removeClass("open"),t.removeClass("expand"),this.updateAriaExpanded(t,!1),t.focus();break;case 27:s.removeClass("open"),t.removeClass("expand"),this.updateAriaExpanded(t,!1),t.focus()}}updateAriaExpanded(e,t){e&&0!==e.length&&e.attr("aria-expanded",t?"true":"false")}addTransformEffect(e){for(let t=0;t<e.length;t++){let s=a()(e[t]).find(".custom-option, .custom-select-dropdown"),n=0;for(let e=0;e<s.length;e++){a()(s[e]).css("transform","translateY("+n.toString()+"px)"),n-=20}}}static addTransform(e){for(let t=0;t<e.length;t++){let s=a()(e[t]).find(".custom-option, .custom-select-dropdown"),n=0;for(let e=0;e<s.length;e++){a()(s[e]).css("transform","translateY("+n.toString()+"px)"),n-=20}}}updateCustomSelect(e){let t=null;if(t=a()(e.target).is(".lupa-custom-select-wrapper")?a()(e.target).find(".hover-option"):a()(e.target).is(".custom-option")?a()(e.target):a()(e.target).closest(".custom-option"),!t.hasClass("selected")){if(t.closest(".lupa-custom-select").find(".selected").removeClass("selected"),t.addClass("selected"),t.closest(".lupa-custom-select-wrapper").is("#format-books")){let e=t.find(".custom-option__format-name");t.closest(".lupa-custom-select").find(".lupa-custom-select__triger-text").text(e.text().trim())}else t.closest(".lupa-custom-select-wrapper").is("#formats-dropdown")||t.closest(".lupa-custom-select").find(".lupa-custom-select__triger-text").text(t.text().trim());let e=t.closest(".lupa-custom-select-wrapper").find(".custom-select-input");0!=e.length&&e.val(t.text())}}};var g=class{constructor(){this.body=a()("body"),this.inputAndTextArea=null,this.selectedPopupLink=null,this.selectedPopupContainer=null,this.selectedPopupBackgroun
1d=null,this.linkWasClicked=!1,this.events()}events(){this.body.on("click",".popup-trigger",this.initProperties.bind(this))}popupEvents(){this.inputAndTextArea.focus(e=>{a()(e.target).closest(".form-group").find(".relative_label").addClass("active")}),this.inputAndTextArea.focusout(e=>{a()(e.target).val()||a()(e.target).closest(".form-group").find(".relative_label").removeClass("active")}),this.selectedPopupContainer.keydown(e=>{27==e.keyCode&&(this.selectedPopupLink.focus(),history.pushState("",document.title,window.location.pathname+window.location.search))}),jQuery(document).on("spu.box_close",(e,t)=>{history.pushState("",document.title,window.location.pathname+window.location.search)})}initProperties(e){this.selectedPopupLink=a()(e.target).is("a")?a()(e.target):a()(e.target).closest("a"),this.selectedPopupContainer=a()(".spu-box"),this.selectedPopupBackground=a()(".spu-bg"),location.hash=this.selectedPopupLink.attr("href"),this.linkWasClicked||(a()(".spu-content .card_arrow").attr("src",lupaData.theme_file_uri+"/assets/img/black arrow.svg"),this.inputAndTextArea=a()("input, textarea"),p.addTransform(a()(".spu-box .click-select")),this.linkWasClicked=!0),this.popupEvents()}};var m=class{constructor(){this.checked=!1,this.body=a()("body"),this.events()}events(){this.body.on("click",'[name="is-the-same-copies[]"]',e=>{a()(e.target).closest(".switch_container").find(".switch").toggleClass("checked")}),this.body.on("click",".switch",e=>{let t=a()(e.target);this.checked=!this.checked,t.toggleClass("checked");let s=t.closest(".switch_container").find(".checkbox input");s.prop("checked",this.checked);let n=this.checked?"××":"××";s.attr("value",n)})}},f=s(3);class b extends f.a{constructor(e){super(e),this.body=a()("body"),this.triggerBtnWasClicked=!1,this.registerToNewsLetter=!1,this.events(e)}events(e){this.body.on("click",".download-software-popup-trigger",t=>{if(u.IS_MOBILE){const e=a()(".download-software-popup"),t=e.find(".email-registration-container"),s=e.find(".mobile-message-container");t.empty(),t.addClass("hide"),s.removeClass("hide")}else t.preventDefault(),this.handlePopupTriggering(e)})}popupEvents(){this.registerEmailBtn.on("click",e=>{e.preventDefault(),this.handleEmailRegistration()}),this.registerNewsletterBtn.on("click",e=>{e.preventDefault(),this.registerNewsletterRequest()})}handlePopupTriggering(e){setTimeout(()=>this.privateName.focus(),300),this.triggerBtnWasClicked||(this.triggerBtnWasClicked=!0,a()(".lupa-privacy-link").attr("href",lupaData.root_url+"/license"),this.initProperties(e),this.popupEvents())}downloadSoftwareRequest(){let e=-1;if(this.isRegisterToNewsletter)e=1;else{e=a()(this.newsletterCheckbox[0]).prop("checked")?1:0}const t=u.LUPA_API_URL+"method="+u.DOWNLOAD_DESKTOP_METHOD+"&email="+this.email.val()+"&newsletter="+e;this.downloadSoftware(t)}async downloadSoftware(e){try{let t=await a.a.getJSON(e);setTimeout(()=>{t.isValid&&(a()("#software-download-link").attr("href",t.payload),document.getElementById("software-download-link").click())},1e3)}catch(e){console.log(e)}}handleEmailRegistrationResponse(e){setTimeout(()=>{this.userRegisterWithNewsletter=e.payload===u.EMAIL_IS_EXIST_AND_HAVE_NEWSLETTER,this.userRegisterWithoutNewsletter=e.errorCode===u.ERROR_CHECK_EMAIL_NO_NEWSLETTER,this.emailDoesNotExist=e.errorCode===u.ERROR_CHECK_EMAIL_EMAIL_NOT_EXIST,this.preloaderContainer.addClass("hide"),this.userRegisterWithNewsletter?(this.isRegisterToNewsletter=!0,this.showNewsletterContainer()):this.showNewsletterContainer()},2500)}showNewsletterContainer(){if(this.newsletterRegistrationContainer.removeClass("hide"),this.userRegisterWithNewsletter){const e=a()(this.newsletterCheckbox[0]);e.prop("checked",!0),e.parent().hide()}}showResponseContainer(){this.responseMessageContainer.append(this.getResponseMessage()),this.responseMessageContainer.removeClass("hide"),this.downloadSoftwareRequest()}getResponseMessage(){return`\n <h3 class="download-software-message">×ת××× × ××ר×ת ×¢×ש××\n <img class="download-software-message__img" src="${lupaData.theme_file_uri}/assets/img/download.png" alt="download software icon">\n </h3>\n `}
1registerNewsletterRequest(){const e=a()(this.newsletterCheckbox[1]).prop("checked")?1:0,t=a()(this.newsletterCheckbox[0]).prop("checked")?1:0;let s=this.newsletterRegistrationContainer.find(".lupa-error-message").length;if(!e){if(!s){d.f("software-privacy-checkbox",this.newsletterRegistrationContainer);this.newsletterRegistrationContainer.find(".lupa-privacy-link").addClass("lupa-privacy-link--error")}return}this.newsletterRegistrationContainer.addClass("hide"),this.preloaderContainer.removeClass("hide");const n=this.getRegisterEmailUrl(t);"dataLayer"in window&&this.updateDataLayer("consent-sent",[]),this.registerNewsletter(n)}getDetailsSuccessResponse(){const e=a()(this.newsletterCheckbox[0]).prop("checked")?1:0;return[{name:"email",value:this.email.val()},{name:"first-name",value:this.privateName.val()},{name:"last-name",value:this.familyName.val()},{name:"ip",value:sessionStorage.getItem("IP")},{name:"privacy-status",value:1},{name:"email-status",value:e}]}}var _=b;class v extends f.a{constructor(e){super(e),this.promutionPopupLink=a()(".promotions-popup-link"),this.triggerPopupBtn=a()(".promotions-popup-trigger"),this.popupLinkWasClicked=!1,".sale_popup_service"!==e&&this.events(e)}events(e){this.triggerPopupBtn.on("click",()=>this.handlePopupTriggering(e))}popupEvents(){this.registerEmailBtn.on("click",e=>{e.preventDefault(),this.handleEmailRegistration(e)}),this.registerNewsletterBtn.on("click",e=>{e.preventDefault(),this.registerNewsletterRequest()})}handlePopupTriggering(e){setTimeout(()=>this.privateName.focus(),300),this.popupLinkWasClicked||(this.popupLinkWasClicked=!0,a()(".lupa-privacy-link").attr("href",lupaData.root_url+"/license"),this.initProperties(e),this.popupEvents())}getResponseMessage(e){let t="";return t=this.userRegisterWithNewsletter||this.userRegisterWithoutNewsletter?d.b:d.a,`<h3 class="download-software-message">${t}</h3>`}handleEmailRegistration(e){d.c(this.email)&&d.e(this.privateName)&&d.e(this.familyName)?(this.promutionPopupLink.data("is-scheduled")&&(localStorage.setItem("counter",5),sessionStorage.setItem("scheduledPopupCounter",5),sessionStorage.removeItem("scheduledPopupNextDueAt")),this.registerEmailRequest()):this.showErrorMessages()}}var w=v,C=s(6);class E extends C.a{constructor(){super()}openPopup(){if(location.hash.includes("spu")){let e=window.location.hash,t=a()(`[href="${e}"]`);setTimeout(()=>t[0].click(),1500)}}}var S=E;var A=class extends w{constructor(e){super(e),this.promotionPopupLinks=a()(`[href="#spu-${u.PROMOTION_POPUP_ID}"]`),this.wrongCampainBtn=null,this.wrongCampainBtnWasClicked=!1,"true"==sessionStorage.getItem("IS_SALE")?this.setCouponPopupLink():null==sessionStorage.getItem("IS_SALE")&&this.getSettings()}getRegisterEmailUrl(e){if("true"==sessionStorage.getItem("IS_SALE")){return u.LUPA_API_URL+"method="+u.SET_NEWSLETTER+"&email="+this.email.val()+"&name="+this.privateName.val()+"&last_name="+this.familyName.val()+"&ip="+sessionStorage.getItem("IP")+"&email_status="+e+"&placement="+location.href+"&newsletter_campaign_name="+sessionStorage.getItem("CAMPAIGN_NAME")+"&placement=marketing-mail-"+this.marketingType.data("marketing-mail-type")}}getDetailsSuccessResponse(){return[{name:"email",value:this.email.val()},{name:"first-name",value:this.privateName.val()},{name:"last-name",value:this.familyName.val()},{name:"ip",value:sessionStorage.getItem("IP")},{name:"email-status",value:1},{name:"placement",value:location.href},{name:"newsletter-campaign-name",value:sessionStorage.getItem("CAMPAIGN_NAME")},{name:"email-status",value:1}]}async getSettings(){const e=`${u.LUPA_API_URL}method=${u.GET_SETTINGS}`;try{const t=await a.a.getJSON(e);this.handleSettingsResponse(t)}catch(e){console.log(e)}}handleSettingsResponse(e){const t=e.payload.split(",");sessionStorage.setItem("IS_SALE","True"!=t[0].split("=")[1]),sessionStorage.setItem("CAMPAIGN_NAME",t[1].split("=")[1]),"true"==sessionStorage.getItem("IS_SALE")&&this.setCouponPopupLink()}setCouponPopupLink(){this.promotionPopupLinks.attr("href","#spu-"+u.COUPON_POPUP_ID),this.couponEvents()}couponEvents(){a()("body").on("click",".wrong-campaing-btn",e=>this.handleWrongCampainBtnClick(e))}showResponseContainer(e){let t=-1;if(this.userRegisterWithNewsletter||this.userRegisterWithoutNewsletter)t=u.ERROR_USER_NO_NEED_TO_GET_COUPON;else switch(e.errorCode){case u.ERROR_USER_WRONG_EMAIL:case u.ERROR_USER_WRONG_CAMPAING:t=u.ERROR_USER_WRONG_EMAIL;break;default:t=e.errorCode}let s=a()(`[data-message-key=${t.toString()}]`);setTimeout(()=>s.removeClass("hide"),500)}handleWrongCampainBtnClick(e){e.preventDefault(),a()(e.target).closest(".response-message-container").addClass("hide"),this.emailRegistrationContainer.removeClass("hide")}showErrorMessages(){if(!d.c(this.email)||!d.e(this.privateName)||!d.e(this.familyName)){let e=this.emailContainer.find(".lupa-error-message").length,t=this.privateNameContainer.find(".lupa-error-message").length,s=this.familyNameContainer.find(".lupa-error-message").length;d.c(this.email)||e||d.f("email",this.emailContainer,!0),d.e(this.privateName)||t||d.f("private-name",this.privateNameContainer,!0),d.e(this.familyName)||s||d.f("family-name",this.familyNameContainer,!0)}d.c(this.email)&&this.emailContainer.find(".lupa-error-message")&&d.d(this.email,this.emailContainer),d.e(this.privateName)&&this.privateNameContainer.find(".lupa-error-message")&&d.d(this.privateName,this.privateNameContainer),d.e(this.familyName)&&this.familyNameContainer.find(".lupa-error-message")&&d.d(this.familyName,this.familyNameContainer)}};var k=class{constructor(){this.debugVersion="scheduled-popup-v2",this.scheduledPopupLink=a()(".promotions-popup-link"),this.counterKey="scheduledPopupCounter",this.nextDueAtKey="scheduledPopupNextDueAt",this.openCounterKey="scheduledPopupOpenCounter",this.legacyCounterKey="counter",this.legacySessionTimeKey="sessionTime",this.legacyNewsletterKey="userWasRegisterToNewsleeter",this.scheduledPopupLink.data("is-scheduled")?(this.intervals=[],this.counter=0,this.timerId=null,this.popupIsOpen=!1,this.closeWasRequested=!1,this.handleCloseIntent=this.handleCloseIntent.bind(this),this.handleEscapeIntent=this.handleEscapeIntent.bind(this),this.getPopupData()):sessionStorage.getItem(this.counterKey)&&this.clearSchedule()}async getPopupData(){let e=lupaData.root_url+u.SCHEDULED_POPUP_ROUTE;try{let t=await a.a.getJSON(e);this.intervals=[this.parseToMillisec(t.first_interval),this.parseToMillisec(t.second_interval),this.parseToMillisec(t.third_interval),this.parseToMillisec(t.fourth_interval)],this.excludedIds=t.excluded_i
1ds||[],this.clearLegacyProgress(),this.counter=this.getCounter();const s=parseInt(lupaData.current_page_id);if(this.counter>=this.intervals.length)return;this.excludedIds.includes(s)?console.log("Page is excluded. Popup will not be triggered."):(console.log("[ScheduledPopupLogic]",this.debugVersion,{message:"Page is not excluded. Triggering popup...",intervals:this.intervals,counter:this.counter,nextDueAtBefore:sessionStorage.getItem(this.nextDueAtKey)}),this.events(),this.ensureNextDueAt(),console.log("[ScheduledPopupLogic]",this.debugVersion,{message:"Next popup due time was stored.",nextDueAtAfter:sessionStorage.getItem(this.nextDueAtKey),nextDueAtReadable:new Date(this.getNextDueAt()).toLocaleTimeString()}),this.triggerPopupTimer())}catch(e){console.error("Error fetching popup data:",e)}}triggerPopupTimer(){if(this.counter>=this.intervals.length)return;this.timerId&&clearTimeout(this.timerId);const e=Math.max(this.getNextDueAt()-Date.now(),0);this.timerId=setTimeout(()=>this.openPopup(),e)}events(){document.removeEventListener("click",this.handleCloseIntent,!0),document.removeEventListener("keydown",this.handleEscapeIntent,!0),document.addEventListener("click",this.handleCloseIntent,!0),document.addEventListener("keydown",this.handleEscapeIntent,!0),a()(document).off("spu.box_open.scheduledPopupLogic").on("spu.box_open.scheduledPopupLogic",(e,t)=>{this.isScheduledPopup(t)&&(this.popupIsOpen=!0,this.closeWasRequested=!1,sessionStorage.setItem(this.openCounterKey,this.counter.toString()))}).off("spu.box_close.scheduledPopupLogic").on("spu.box_close.scheduledPopupLogic",(e,t)=>{this.isScheduledPopup(t)&&this.wasScheduledPopupOpened()&&this.completePopupClose()})}advanceSchedule(){this.timerId&&(clearTimeout(this.timerId),this.timerId=null),this.counter=this.getCounter()+1,sessionStorage.setItem(this.counterKey,this.counter.toString()),this.counter>=this.intervals.length?sessionStorage.removeItem(this.nextDueAtKey):(this.setNextDueAt(Date.now()+this.intervals[this.counter]),this.triggerPopupTimer())}parseToMillisec(e){if(!e)return 0;let t=Number(e.time);if(!Number.isFinite(t)||t<0)return 0;switch(e.time_unit){case"×©× ××ת":t*=1e3;break;case"××§×ת":t*=6e4;break;case"שע×ת":t*=36e5;break;case"××××":t*=864e5}return t}getCounter(){const e=Number(localStorage.getItem(this.legacyCounterKey));return e>=this.intervals.length?e:Number(sessionStorage.getItem(this.counterKey))||0}clearLegacyProgress(){Number(localStorage.getItem(this.legacyCounterKey))>=this.intervals.length||(localStorage.removeItem(this.legacyCounterKey),localStorage.removeItem(this.legacySessionTimeKey),localStorage.removeItem(this.legacyNewsletterKey))}ensureNextDueAt(){sessionStorage.getItem(this.nextDueAtKey)||this.setNextDueAt(Date.now()+this.intervals[this.counter])}getNextDueAt(){return Number(sessionStorage.getItem(this.nextDueAtKey))||Date.now()}setNextDueAt(e){sessionStorage.setItem(this.nextDueAtKey,e.toString())}isScheduledPopup(e){const t=this.normalizePopupId(e);return t===u.COUPON_POPUP_ID||t===u.PROMOTION_POPUP_ID}normalizePopupId(e){if("number"==typeof e)return e;const t=String(e).match(/\d+/);return t?Number(t[0]):NaN}handleCloseIntent(e){this.popupIsOpen&&e.target.closest(".spu-close, .spu-bg")&&(this.closeWasRequested=!0,setTimeout(()=>this.completePopupClose(),100))}handleEscapeIntent(e){this.popupIsOpen&&"Escape"===e.key&&(this.closeWasRequested=!0,setTimeout(()=>this.completePopupClose(),100))}wasScheduledPopupOpened(){const e=sessionStorage.getItem(this.openCounterKey);return this.popupIsOpen&&e===this.counter.toString()}completePopupClose(){this.wasScheduledPopupOpened()&&(this.popupIsOpen=!1,this.closeWasRequested=!1,sessionStorage.removeItem(this.openCounterKey),this.advanceSchedule())}clearSchedule(){sessionStorage.removeItem(this.counterKey),sessionStorage.removeItem(this.nextDueAtKey),sessionStorage.removeItem(this.openCounterKey),localStorage.removeItem(this.legacyCounterKey),localStorage.removeItem(this.legacySessionTimeKey),localStorage.removeItem(this.legacyNewsletterKey)}openPopup(){const e=parseInt(lupaData.current_page_id);this.counter>=this.intervals.length||this.excludedIds.includes(e)||this.popupIsOpen||(this.popupIsOpen=!0,this.closeWasRequested=!1,sessionStorage.setItem(this.openCounterKey,this.counter.toString()),this.scheduledPopupLink[0].click())}};var I=class{constructor(){this.servicesWidget=a()(".services-widget"),this.servicesWidgetBtn=a()(".services-widget button"),this.events()}events(){this.servicesWidgetBtn.on("click",()=>this.handleClick())}handleClick(){this.servicesWidget.toggleClass("services-widget--open")}};class y{constructor(){this.closeSelector=".spu-close, .dropdown-close-btn, .lity-close, [data-popup-close]",this.triggerSelector=".popup-trigger, .promotions-popup-trigger, .spu-open, [data-popup-open]",this.popupSelector=".spu-box, .lity-wrap, .header_dropdown, .header-dropdown-mobile, .header-dropdown-desktop",this.focusableSelector=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not
1([tabindex="-1"])'].join(", "),this.lastTrigger=null,this.activePopup=null,this.bindEvents(),this.observePopups()}bindEvents(){document.addEventListener("click",e=>{const t=e.target.closest(this.triggerSelector);t&&(this.lastTrigger=t)},!0),document.addEventListener("click",e=>{e.target.closest(this.closeSelector)&&this.returnFocusSoon()}),document.addEventListener("keydown",e=>{const t=e.target.closest(this.closeSelector),s="Enter"===e.key||13===e.keyCode,n=" "===e.key||"Spacebar"===e.key||32===e.keyCode;if(t&&(s||n))return e.preventDefault(),void t.click()}),document.addEventListener("keydown",e=>{"Escape"===e.key&&this.returnFocusSoon()}),document.addEventListener("keydown",e=>{"Tab"===e.key&&this.activePopup&&this.isVisible(this.activePopup)&&this.trapTabKey(e,this.activePopup)})}observePopups(){new MutationObserver(()=>{this.handleVisiblePopups()}).observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}),this.handleVisiblePopups()}handleVisiblePopups(){const e=Array.from(document.querySelectorAll(this.popupSelector)),t=e.filter(e=>this.isVisible(e));if(e.forEach(e=>{this.isVisible(e)||delete e.dataset.focusHandled}),0===t.length)return void(this.activePopup=null);const s=t[t.length-1];if(this.activePopup=s,"1"===s.dataset.focusHandled)return;const n=s.querySelector(this.closeSelector);if(n)return n.setAttribute("tabindex","0"),n.hasAttribute("aria-label")||n.setAttribute("aria-label","ס××ר ×××× ×ת"),n.focus({preventScroll:!0}),s.dataset.focusHandled="1",void console.log("[AccessibilityFocusPopups] Focus moved to close button:",n);const a=this.getFocusableElements(s)[0];a&&(a.focus({preventScroll:!0}),s.dataset.focusHandled="1",console.log("[AccessibilityFocusPopups] Focus moved to first focusable element:",a))}returnFocusSoon(){setTimeout(()=>{this.activePopup&&this.isVisible(this.activePopup)||(this.lastTrigger&&"function"==typeof this.lastTrigger.focus&&(this.lastTrigger.focus({preventScroll:!0}),console.log("[AccessibilityFocusPopups] Focus returned to trigger:",this.lastTrigger)),this.lastTrigger=null)},0)}trapTabKey(e,t){const s=this.getFocusableElements(t);if(0===s.length)return void e.preventDefault();const n=s[0],a=s[s.length-1],i=document.activeElement;e.shiftKey?i!==n&&t.contains(i)||(e.preventDefault(),a.focus()):i!==a&&t.contains(i)||(e.preventDefault(),n.focus())}getFocusableElements(e){return Array.from(e.querySelectorAll(this.focusableSelector)).filter(e=>!e.hasAttribute("disabled")&&("true"!==e.getAttribute("aria-hidden")&&(null!==e.offsetParent||"fixed"===window.getComputedStyle(e).position)))}isVisible(e){if(!e)return!1;const t=window.getComputedStyle(e);if("none"===t.display||"hidden"===t.visibility||"0"===t.opacity)return!1;const s=e.getBoundingClientRect();return 0!==s.width&&0!==s.height&&(s.bottom>0&&s.right>0&&s.top<window.innerHeight&&s.left<window.innerWidth)}}var R=class{constructor(){this.apply(document),this.observeDomChanges()}apply(e){e&&e.querySelectorAll&&e.querySelectorAll('a[target="_blank"]').forEach(e=>{this.decorateLink(e)})}decorateLink(e){if(!(e instanceof HTMLElement))return;const t=(e.getAttribute("aria-label")||"").trim(),s=this.getTextLabel(e);t?t.includes(" (× ×¤×ª× ××××× ××ש)")||e.setAttribute("aria-label",t+" (× ×¤×ª× ××××× ××ש)"):s?e.setAttribute("aria-label",s+" (× ×¤×ª× ××××× ××ש)"):e.setAttribute("aria-label","×§×ש×ר (× ×¤×ª× ××××× ××ש)"),this.ensureSafeRel(e)}getTextLabel(e){const t=(e.textContent||"").replace(/\s+/g," ").trim();if(t)return t;const s=(e.getAttribute("title")||"").trim();if(s)return s;const n=e.querySelector("img[alt]");if(n){const e=(n.getAttribute("alt")||"").trim();if(e)return e}return""}ensureSafeRel(e){const t=(e.getAttribute("rel")||"").trim(),s=t?t.split(/\s+/):[];s.includes("noopener")||s.push("noopener"),s.includes("noreferrer")||s.push("noreferrer");const n=s.join(" ").trim();n!==t&&e.setAttribute("rel",n)}observeDomChanges(){new MutationObserver(e=>{e.forEach(e=>{e.addedNodes.forEach(e=>{e instanceof HTMLElement&&(e.matches&&e.matches('a[target="_blank"]')&&this.decorateLink(e),this.apply(e))}),"attributes"===e.type&&e.target instanceof HTMLElement&&e.target.matches('a[target="_blank"]')&&this.decorateLink(e.target)})}).observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["target"]})}};jQuery(document).ready(()=>{new i,new c,new h,new p,new g,new m,new _(".download-software-popup"),new w(".promotion_service"),new A(".coupon_popup_service"),new k,new S,new I,new y,new R;const e=a()("body"),t=e.hasClass("home"),n=e.hasClass("single-subject"),o=e.hasClass("single-product"),r=e.hasClass("post-type-archive-boutiq"),l=e.hasClass("single-sale_page"),u=e.hasClass("page-id-934"),d=e.hasClass("page-id-445"),f=e.hasClass("page-id-285");console.log("isHomePage:",t);const b=e.hasClass("single-event")&&0!==e.find(".event-place").length,v=e.hasClass("single-event")&&0!==e.find(".live-event-registration").length,C=e.hasClass("post-type-archive-event"),E=e.hasClass("single-tariff"),T=a()(".deliveris-wrapper").length>0,L=e.hasClass("page-id-920"),P=e.hasClass("page-id-515"),D=e.hasClass("page-id-413"),N=e.hasClass("single-business"),O=e.hasClass("single-lupa-squared"),M=e.hasClass("single-lupalab"),x=e.hasClass("single-lupa-archive"),U=e.hasClass("single-general"),B=e.hasClass("single-platform"),W=e.hasClass("single-post"),F=e.hasClass("page-template-single-no-wonder"),H=e.hasClass("single-subject")&&e.hasClass("postid-26090"),K=e.hasClass("page-id-8046")||e.hasClass("page-id-8006")||e.hasClass("page-id-10006"),G=e.hasClass("single-ab-test"),q=e.hasClass("post-type-archive-subject"),V=e.hasClass("post-type-archive-lupa-squared"),j=e.hasClass("post-type-archive-lupalab"),Y=e.hasClass("post-type-archive-calendars"),X=e.hasClass("page-template-tmp-calendar-archive-page"),$=e.hasClass("single-calendars"),J=e.hasClass("page-template-page-cupons");if(K&&s.e(19).then(s.bind(null,136)).then(e=>
1new e.default).catch(e=>console.log(e)),W&&s.e(35).then(s.bind(null,96)).then(e=>e.postImgFix()).catch(e=>console.log(e)),(q||V||j)&&s.e(18).then(s.bind(null,97)).then(e=>new e.default).catch(e=>console.log(e)),(O||M||x||q||V||j||Y||$||X)&&(Promise.all([s.e(0),s.e(40)]).then(s.bind(null,98)).then(e=>new e.default).catch(e=>console.log(e)),s.e(44).then(s.bind(null,99)).then(e=>new e.default).catch(e=>console.log(e)),Promise.all([s.e(45),s.e(3)]).then(s.bind(null,100)).then(e=>new e.default).catch(e=>console.log(e))),(F||H)&&(Promise.all([s.e(0),s.e(40)]).then(s.bind(null,98)).then(e=>new e.default).catch(e=>console.log(e)),s.e(44).then(s.bind(null,99)).then(e=>new e.default).catch(e=>console.log(e)),Promise.all([s.e(45),s.e(3)]).then(s.bind(null,100)).then(e=>new e.default).catch(e=>console.log(e)),s.e(17).then(s.bind(null,101)).then(e=>new e.default).catch(e=>console.log(e))),U&&(Promise.all([s.e(0),s.e(40)]).then(s.bind(null,98)).then(e=>new e.default).catch(e=>console.log(e)),s.e(44).then(s.bind(null,99)).then(e=>new e.default).catch(e=>console.log(e)),Promise.all([s.e(45),s.e(3)]).then(s.bind(null,100)).then(e=>new e.default).catch(e=>console.log(e)),s.e(32).then(s.bind(null,102)).then(e=>new e.default).catch(e=>console.log(e))),B&&s.e(32).then(s.bind(null,102)).then(e=>new e.default).catch(e=>console.log(e)),(N||O||M||G||n||q||V||j||Y||$||X)&&(Promise.all([s.e(0),s.e(40)]).then(s.bind(null,98)).then(e=>new e.default).catch(e=>console.log(e)),s.e(26).then(s.bind(null,103)).then(e=>{new e.default("#modular_business_service_form")}).catch(e=>console.log(e)),s.e(36).then(s.bind(null,104)).then(e=>{new e.default}).catch(e=>console.log(e)),s.e(39).then(s.bind(null,105)).then(e=>{new e.default(".business-form")}).catch(e=>console.log(e)),Promise.all([s.e(0),s.e(9)]).then(s.bind(null,106)).then(e=>{new e.default}).catch(e=>console.log(e)),s.e(44).then(s.bind(null,99)).then(e=>new e.default).catch(e=>console.log(e)),s.e(49).then(s.bind(null,107)).then(e=>new e.default).catch(e=>console.log(e))),(t||n||o||r||l||G||q||V||j||Y||$||X)&&(s.e(29).then(s.bind(null,108)).then(e=>new e.default).catch(e=>console.log(e)),Promise.all([s.e(0),s.e(33)]).then(s.bind(null,137)).then(e=>new e.default).catch(e=>console.log(e)),s.e(6).then(s.bind(null,109)).then(e=>new e.default).catch(e=>console.log(e)),s.e(22).then(s.bind(null,110)).then(e=>new e.default(a()("#number_of_likes"),"likeBoutiqBooks")).catch(e=>console.log(e))),(t||o||l)&&s.e(49).then(s.bind(null,107)).then(e=>new e.default).catch(e=>console.log(e)),u&&(Promise.all([s.e(0),s.e(30)]).then(s.bind(null,111)).then(e=>new e.default).catch(e=>console.log(e)),s.e(22).then(s.bind(null,110)).then(e=>new e.default(a()("#number_of_likes_customer_books"),"likeCustomerBooks")).catch(e=>console.log(e)),Promise.all([s.e(0),s.e(11)]).then(s.bind(null,138)).then(e=>new e.default).catch(e=>console.log(e))),d&&s.e(48).then(s.bind(null,112)).then(e=>new e.default).catch(e=>console.log(e)),f&&s.e(34).then(s.bind(null,113)).then(e=>new e.default).catch(e=>console.log(e)),n||o||l||O||M||x||U||G||q||V||j||Y||$||X){const e=a()(".lupa-formats__format-container");switch(a()(e[0]).data("format-type")){case"ספר":s.e(4).then(s.bind(null,114)).then(e=>new e.default).catch(e=>console.log(e)),s.e(10).then(s.bind(null,115)).then(e=>new e.default).catch(e=>console.log(e));break;case"××× ×©× ×":s.e(7).then(s.bind(null,116)).then(e=>new e.default).catch(e=>console.log(e));break;case"×ר××":s.e(42).then(s.bind(null,117)).then(e=>new e.default).catch(e=>console.log(e));break;case"פס×פס":s.e(27).then(s.bind(null,118)).then(e=>new e.default).catch(e=>console.log(e))}Promise.all([s.e(0),s.e(40)]).then(s.bind(null,98)).then(e=>new e.default).catch(e=>console.log(e))}if(b&&s.e(21).then(s.bind(null,119)).then(e=>new e.default).catch(e=>console.log(e)),v&&s.e(24).then(s.bind(null,120)).then(e=>new e.default(".live-event-form")).catch(e=>console.log(e)),J&&s.e(2).then(s.bind(null,121)).then(e=>new e.default(".live-event-form")).catch(e=>console.log(e)),C&&s.e(16).then(s.bind(null,122)).then(e=>new e.default).catch(e=>console.log(e)),r&&s.e(25).then(s.bind(null,123)).then(e=>
1new e.default).catch(e=>console.log(e)),E||l){switch(a()(".price_list_table").data("product-type")){case"book":s.e(5).then(s.bind(null,124)).then(e=>new e.default).catch(e=>console.log(e));break;case"calendar":s.e(8).then(s.bind(null,125)).then(e=>new e.default).catch(e=>console.log(e));break;case"tiles":s.e(43).then(s.bind(null,126)).then(e=>new e.default).catch(e=>console.log(e));break;case"mosaic":s.e(28).then(s.bind(null,127)).then(e=>new e.default).catch(e=>console.log(e))}}(E||T)&&(s.e(15).then(s.bind(null,128)).then(e=>new e.default(T)).catch(e=>console.log(e)),Promise.all([s.e(1),s.e(14)]).then(s.bind(null,129)).then(e=>new e.default(".lupa-delivery-datepicker",T)).catch(e=>console.log(e))),L&&s.e(23).then(s.bind(null,130)).then(e=>new e.default).catch(e=>console.log(e)),P&&s.e(41).then(s.bind(null,131)).then(e=>new e.default).catch(e=>console.log(e)),D&&(s.e(31).then(s.bind(null,132)).then(e=>new e.default).catch(e=>console.log(e)),s.e(26).then(s.bind(null,103)).then(e=>{new e.default("#modular_email_service_form"),new e.default("#modular_quotation_service_form")}).catch(e=>console.log(e)),Promise.all([s.e(1),s.e(12)]).then(s.bind(null,133)).then(e=>new e.default(".arrival-datepicker",T)).catch(e=>console.log(e)),Promise.all([s.e(1),s.e(37)]).then(s.bind(null,35)).then(e=>new e.default(".lupa-quotation-datepicker")).catch(e=>console.log(e)),s.e(20).then(s.bind(null,134)).then(e=>new e.default).catch(e=>console.log(e))),window.location.href.includes("dashboard")&&Promise.all([s.e(0),s.e(1),s.e(46),s.e(13)]).then(s.bind(null,135)).catch(e=>console.log(e)),(e.hasClass("page-template-dashboard-my-orders")||e.hasClass("page-template-dashboard-my-orders-inner"))&&Promise.all([s.e(1),s.e(37)]).then(s.bind(null,35)).then(e=>{new e.default(".dashboard-datapicker-my-orders-for"),new e.default(".dashboard-datapicker-my-orders-to")}).catch(e=>console.log(e))})}]);
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.