PageSourceSearch

https://www.sharely.ch/_nuxt/5bba2ea.js

js sharely.ch collected 2026-10-04 13:31:44 UTC 62,111 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{1174:function(t,e,o){"use strict";o(563)},1175:function(t,e,o){var n=o(20)(!1);n.push([t.i,".page-view{position:relative;overscroll-behavior:contain;scroll-behavior:smooth}",""]),t.exports=n},1267:function(t,e,o){"use strict";o(586)},1268:function(t,e,o){var n=o(20)(!1);n.push([t.i,".page-view{position:relative;overscroll-behavior:contain;scroll-behavior:smooth}",""]),t.exports=n},1271:function(t,e,o){"use strict";o(589)},1272:function(t,e,o){var n=o(20)(!1);n.push([t.i,"main[data-v-59fb00d7]{padding:40px 0 0!important}@media screen and (max-width:1281px){main[data-v-59fb00d7]{padding-bottom:50px!important}}",""]),t.exports=n},1273:function(t,e,o){"use strict";o(590)},1274:function(t,e,o){var n=o(20)(!1);n.push([t.i,"@media screen and (max-width:768px){.logo-transition-enter[data-v-79d49a08],.logo-transition-leave-to[data-v-79d49a08]{opacity:0;transform:translateY(-20px);transition:all}.logo-transition-enter-active[data-v-79d49a08],.logo-transition-leave-active[data-v-79d49a08]{transition:transform .8s,opacity .3s}.input-transition-enter[data-v-79d49a08],.input-transition-leave-to[data-v-79d49a08]{opacity:0;transform:translateX(-20px)}.input-transition-leave-to[data-v-79d49a08]{transition:opacity .5s,transform .3s}.input-transition-enter-active[data-v-79d49a08],.input-transition-leave-active[data-v-79d49a08]{transition:opacity .3s,transform .5s}.v-enter[data-v-79d49a08],.v-leave-to[data-v-79d49a08]{opacity:0;transform:translateX(20px)}.v-enter-active[data-v-79d49a08],.v-leave-to[data-v-79d49a08]{transition:opacity .3s,transform .5s}}@media screen and (min-screen:769px){.logo-transition-enter[data-v-79d49a08],.logo-transition-leave-to[data-v-79d49a08]{opacity:1;transform:translateY(0);transition:all}.logo-transition-enter-active[data-v-79d49a08],.logo-transition-leave-active[data-v-79d49a08]{transition:transform .8s,opacity .3s}.input-transition-enter[data-v-79d49a08],.input-transition-leave-to[data-v-79d49a08]{opacity:1;transform:translateX(0)}.input-transition-leave-to[data-v-79d49a08]{transition:opacity .5s,transform .3s}.input-transition-enter-active[data-v-79d49a08],.input-transition-leave-active[data-v-79d49a08]{transition:opacity .3s,transform .5s}}@media screen and (min-width:768px)and (max-width:1281px){.container[data-v-79d49a08]{width:100%;max-width:991px}}",""]),t.exports=n},1275:function(t,e,o){"use strict";o(591)},1276:function(t,e,o){var n=o(20)(!1);n.push([t.i,"main[data-v-256f2e4e]{padding:0!important}",""]),t.exports=n},1277:function(t,e,o){"use strict";o(592)},1278:function(t,e,o){var n=o(20)(!1);n.push([t.i,"@media screen and (min-width:768px)and (max-width:1281px){.container[data-v-4b953648]{width:100%;max-width:991px}}",""]),t.exports=n},1279:function(t,e,o){"use strict";o(593)},128:function(t,e,o){"use strict";var n={name:"error-page",layout:"error_layout",props:{error:{type:Object,default:null}},head:function(){return{title:this.$t("pages.homepage.SEOTitle")}},computed:{is404:function(){return this.error&&404===this.error.statusCode},imgAlt:function(){return this.is404?"404 Content/Page not found":"Error"}}},r=o(0),component=Object(r.a)(n,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"error"},[e("div",{staticClass:"error-illustration"},[e("img",{attrs:{id:"wrap",src:t.$root.desktopView?o(518):o(519),alt:t.imgAlt}})]),t._v(" "),e("div",{staticClass:"flex align-items--center",attrs:{id:"error-content"}},[e("div",{staticClass:"text-content"},[e("h1",{attrs:{id:"content-one"}},[t._v("\n\t\t\t\t"+t._s(t.$t("pages.error.oh"))+"\n\t\t\t")]),t._v(" "),e("p",{attrs:{id:"content-two"}},[t._v("\n\t\t\t\t"+t._s(t.is404?t.$t("pages.error.not-found"):t.$t("pages.error.sry"))+"\n\t\t\t")]),t._v(" "),t.is404?e("p",{staticClass:"mt-25",attrs:{id:"content-three"}},[t._v("\n\t\t\t\t"+t._s(t.$t("pages.error.sry"))+"\n\t\t\t")]):t._e()]),t._v(" "),e("button",{staticClass:"btn btn--md btn--primary mt-35",on:{click:function(e){t.$router.push(t.localePath({path:"/"}))}}},[t._v("\n\t\t\t"+t._s(t.$t("pages.error.back"))+"\n\t\t")])])])}),[],!1,null,null,null);e.a=component.exports},1280:function(t,e,o){var n=o(20)(!1);n.push([t.i,".page-view[data-v-23484195]{position:relative;overscroll-behavior:contain}",""]),t.exports=n},1283:function(t,e,o){"use strict";o(595)},1284:function(t,e,o){var n=o(20)(!1);n.push([t.i,".page-view[data-v-534545fe]{position:relative;overscroll-behavior:contain}",""]),t.exports=n},262:function(t,e,o){"use strict";var n={name:"auth-links"},r=o(0),component=Object(r.a)(n,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"header__addon"},[t.$auth.loggedIn?[e("NuxtLink",{staticClass:"btn",attrs:{to:t.localePath("dashboard")}},[e("div",{staticClass:"avatar-placeholder"},[e("div",{staticClass:"avatar avatar--sm"},[e("img",{attrs:{src:"https://randomuser.me/api/portraits/men/97.jpg",alt:"Profile picture"}})])])])]:[e("nuxt-link",{staticClass:"header__addon-cta",attrs:{to:t.localePath("registration")}},[t._v(t._s(t.$t("vocabulary.sign_up")))]),t._v(" "),e("nuxt-link",{staticClass:"btn--primary header__addon-cta",attrs:{to:t.localePath("login")}},[t._v(t._s(t.$t("vocabulary.login")))])]],2)}
1),[],!1,null,null,null);e.a=component.exports},263:function(t,e,o){"use strict";var n={name:"hamburger",data:function(){return{isMenuOpen:!1}},methods:{toggleMenu:function(){this.isMenuOpen=!this.isMenuOpen}}},r=o(0),component=Object(r.a)(n,(function(){var t=this,e=t._self._c;return e("button",{staticClass:"btn__sandwich",class:{"btn__sandwich__is-open":t.isMenuOpen},on:{click:t.toggleMenu}},[e("span"),t._v(" "),e("span"),t._v(" "),e("span")])}),[],!1,null,null,null);e.a=component.exports},264:function(t,e,o){"use strict";var n={name:"nav-links"},r=o(0),component=Object(r.a)(n,(function(){var t=this,e=t._self._c;return e("nav",{staticClass:"nav"},[e("ul",[e("li",[e("NuxtLink",{attrs:{to:t.localePath("become-a-lender")}},[t._v("\n\t\t\t\t"+t._s(t.$t("header.nav.becomeALender"))+"\n\t\t\t")])],1),t._v(" "),e("li",[e("NuxtLink",{attrs:{to:t.localePath("how-it-works")}},[t._v(t._s(t.$t("header.nav.how_it_works")))])],1),t._v(" "),t.$auth.loggedIn?e("li",[e("NuxtLink",{attrs:{to:t.localePath({name:"product-upload"})}},[t._v(t._s(t.$t("header.nav.list_an_item")))])],1):t._e(),t._v(" "),e("li",[e("NuxtLink",{attrs:{to:t.localePath("search")}},[t._v(t._s(t.$t("header.nav.searchProducts")))])],1)])])}),[],!1,null,null,null);e.a=component.exports},265:function(t,e,o){"use strict";o(123),o(22),o(10),o(23),o(19),o(24),o(29),o(26),o(30);var n=o(3),r=o(9),l=(o(12),o(4),o(13),o(11),o(53),o(28),o(107),o(35),o(37),o(42),o(33),o(1)),c=o.n(l),d=o(97),h=o(5);function m(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function v(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?m(Object(o),!0).forEach((function(e){Object(r.a)(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):m(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var f={name:"mocksearch-header",components:{Container:function(){return Promise.resolve().then(o.bind(null,18))},Logo:function(){return Promise.resolve().then(o.bind(null,117))},Nav:function(){return Promise.resolve().then(o.bind(null,837))},SearchSuggestionsMockup:function(){return Promise.all([o.e(5),o.e(15),o.e(2),o.e(21),o.e(13),o.e(7),o.e(25),o.e(19),o.e(14),o.e(8),o.e(4),o.e(31),o.e(16),o.e(32),o.e(18),o.e(9),o.e(23),o.e(28),o.e(0),o.e(11),o.e(26),o.e(10),o.e(20),o.e(6),o.e(30),o.e(1),o.e(22),o.e(29),o.e(27),o.e(24),o.e(17),o.e(12),o.e(3)]).then(o.bind(null,1735))},LanguageMenu:function(){return Promise.all([o.e(5),o.e(15),o.e(2),o.e(21),o.e(13),o.e(7),o.e(25),o.e(19),o.e(14),o.e(8),o.e(4),o.e(31),o.e(16),o.e(32),o.e(18),o.e(9),o.e(23),o.e(28),o.e(0),o.e(11),o.e(26),o.e(10),o.e(20),o.e(6),o.e(30),o.e(1),o.e(22),o.e(29),o.e(27),o.e(24),o.e(17),o.e(12),o.e(3),o.e(43)]).then(o.bind(null,1733))}},mixins:[d.a],data:function(){return{hideSuggestions:!0,isOpen:!1,isOpenLocale:!1,headerDropdownOpen:!1,isProfileSubmenuOpen:!1,autocompleteOptions:{fields:["formatted_address","geometry","types"],componentRestrictions:{country:["ch"]}},userHasUnreadMessages:!1,userHasOpenLentRequests:!1}},computed:{uuid:function(){return this.$auth.user.uuid},isAuthenticated:function(){return this.$auth.loggedIn},userProfileDynamicRoute:function(){var t="";if("en"===this.$i18n.localeProperties.code)t="user-profile";else t="profil";return t},userAvatarSrc:{get:function(){var t,e;return null!==(t=null===(e=this.$auth.user)||void 0===e||null===(e=e.avatar)||void 0===e||null===(e=e.images)||void 0===e?void 0:e.small)&&void 0!==t?t:o(47)}},headerMenuIcon:{get:function(){return this.headerDropdownOpen?"close-menu-main":"hamburger-main"}},searchTermTest:{get:function(){var t;return null===(t=this.$store.getters["search/getQueryFilter"])||void 0===t?void 0:t.search},set:function(t){var e=this.$store.getters["search/getQueryFilter"];this.$store.dispatch("search/saveSearchFilters",v(v({},e),{},{search:t}))}},place:function(){return this.$store.getters["search/getPlace"]}},watch:{"$route.query":{handler:function(t){c.a.includes(this.$route.path,"/mocksearch-test")||c.a.includes(this.$route.name,"productDetail-slug")||(this.searchTermTest=t.search||"")},deep:!0,immediate:!0},$route:{handler:function(t,e){!c.a.isEqual(t,e)&&this.$auth.loggedIn&&(t.name.includes("login")||t.name.includes("registration")||this.checkUnreadMessages())}},isAuthenticated:{handler:function(t,e){this.$route.matched&&!c.a.isEmpty(this.$route.matched)&&t&&c.a.isNil(e)&&"undefined"!=typeof gtag&&gtag("set",{user_id:this.uuid})},immediate:!0}},mounted:function(){var t=this;document.addEventListener("click",(function(e){t.handleNavbar(e)})),this.$auth.loggedIn&&this.$i18n.locale!==this.$auth.$state.user.language&&(this.$i18n.setLocaleCookie(this.$auth.$state.user.language),this.$router.replace(this.switchLocalePath(this.$auth.$state.user.language))),!this.$auth.loggedIn||"active"!==this.$auth.user.status||c.a.includes(this.$route.name,"login")||c.a.includes(this.$route.name,"registration")||this.checkUnreadMessages()},destroyed:function(){var t=this;document.removeEventListener("click",(function(e){t.handleNavbar(e)}))},methods:{goToProfile:function(){this.$router.push(this.localePath({path:"/".concat(this.userProfileDynamicRoute,"/").concat(this.uuid)}))},openDropdown:function(){!this.isOpen&&this.isOpenLocale&&(this.isOpenLocale=!1),this.isOpen=!this.isOpen},logout:function(){this.$auth.logout(),window.localStorage.removeItem("accessToken"),window.localStorage.removeItem("auth._token.local"),window.localStorage.removeItem("auth._refresh_token_expiration.local"),window.localStorage.removeItem("auth._refresh_token.local"),window.localStorage.removeItem("auth._token_expiration.local"),this.headerDropdownOpen=!1,window.localStorage.removeItem("accessToken"),"undefined"!=typeof gtag&&gtag("set",{user_id:void 0}),this.$router.push(this.localePath("login"))},goToLogin:function(){this.headerDropdownOpen=!1,this.$router.push(this.localePath({name:"login"}))},openMobileHeader:function(){this.headerDropdownOpen=!this.headerDropdownOpen},handleNavbar:function(t){"header-mobile-icon"!==t.target.id&&"avatar avatar--xs"!==t.target.className&&((this.$root.desktopView||!t.target._prevClass||!t.target._prevClass.includes("nuxt-link")&&"nuxt-link-exact-active nuxt-link-active"!==t.target.className)&&(this.$root.desktopView||this.$el.contains(t.target))&&"IMG"!==t.target.tagName||(this.headerDropdownOpen=!1),this.$root.desktopView||this.$el.contains(t.target)||"profile-submenu-parent"===t.target.className||(this.headerDropdownOpen=!1))},openForm:function(){window.open("https://docs.google.com/forms/d/e/1FAIpQLSen_bk--Ybt0DjdYeQHYKFFlYDaNBVRaHgq1v_fcee5_ULICg/viewform?usp=sf_link","_blank")},openProfileSubmenu:function(){this.isProfileSubmenuOpen=!this.isProfileSubmenuOpen},goToSearch:function(){var t,e,o,n=v(v(v({search:this.$refs.searchTermTest.value||"",sort:"closest"},!c.a.isNil(null==this||null===(t=this.place)||void 0===t?void 0:t.lat)&&{lat:this.place.lat()}),!c.a.isNil(null==this||null===(e=this.place)||void 0===e?void 0:e.lng)&&{long:this.place.lng()}),!c.a.isNil(null==this||null===(o=this.place)||void 0===o?void 0:o.formatted_address)&&{place:this.place.formatted_address});this.$router.push(this.localePath({path:"/mocksearch-test",query:n})),this.$refs.searchTermTest.blur()},placeChanged:function(t){var e=this;return Object(n.a)(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,e.$store.dispatch("search/savePlace",t);case 2:e.goToSearch();case 3:case"end":return o.stop()}}),o)})))()},checkPlaceEmpty:function(t){(c.a.isEmpty(t.data)||c.a.isNil(t.data))&&this.$store.dispatch("search/resetPlace")},checkUnreadMessages:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h.a.messagesApi.getUnreadMessagesBadge();case 2:o=e.sent,t.userHasUnreadMessages=o.messagesCount>0,t.userHasOpenLentRequests=o.openRentingRequestCount>0;case 5:case"end":return e.stop()}}),e)})))()},toggleSuggestions:function(){var t=this;setTimeout((function(){t.hideSuggestions=!0}),250)}}},_=(o(1277),o(0)),component=Object(_.a)(f,(function(){var t=this,e=t._self._c;return e("header",{staticClass:"header"},[e("client-only",[null!==t.$root.desktopView?e("Container",[e("Logo",{staticClass:"logo",attrs:{width:t.$root.desktopView?90:134,height:t.$root.desktopView?24:31}}),t._v(" "),e("form",{on:{submit:function(e){return e.preventDefault(),t.goToSearch.apply(null,arguments)},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.goToSearch.apply(null,arguments)}}},[e("div",{staticClass:"form__row form__row--md position--relative"},[e("div",{staticClass:"form__col form__col--full-width"},[e("div",{staticClass:"form__input-placeholder"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.searchTermTest,expression:"searchTermTest"}],ref:"searchTermTest",staticClass:"form__input form__input--has-icon",attrs:{type:"text",placeholder:t.$t("vocabulary.searchProductPlaceholder")},domProps:{value:t.searchTermTest}
1,on:{blur:t.toggleSuggestions,focus:function(e){t.hideSuggestions=!1},input:function(e){e.target.composing||(t.searchTermTest=e.target.value)}}})])]),t._v(" "),t.hideSuggestions?t._e():e("SearchSuggestionsMockup",{staticStyle:{"z-index":"8"},attrs:{"suggestion-text":t.$refs.searchTermTest.value}}),t._v(" "),t.$root.desktopView||t.$root.tabletView?e("div",{staticClass:"form__col form__col--places"},[e("div",{staticClass:"form__input-placeholder"},[e("gmap-autocomplete",{staticClass:"form__input form__input--has-icon",attrs:{value:t.place.formatted_address,options:t.autocompleteOptions,placeholder:t.userHasAddress},on:{place_changed:t.placeChanged},nativeOn:{input:function(e){return t.checkPlaceEmpty.apply(null,arguments)}}})],1)]):t._e(),t._v(" "),e("div",{staticClass:"form__input-icon",on:{click:t.goToSearch}},[e("Icon",{attrs:{"icon-name":"search-header"},on:{click:t.goToSearch}})],1)],1)]),t._v(" "),t.$root.desktopView&&!t.$root.tabletView?e("Nav"):t._e(),t._v(" "),e("div",{staticClass:"header__addon",class:{"position--relative":!t.$root.desktopView}},[t.$auth.loggedIn&&t.$auth.user&&"active"==t.$auth.user.status&&t.$root.desktopView&&!t.$root.tabletView?[t.$root.desktopView&&!t.$root.tabletView?e("div",{staticClass:"user-menu cursor--pointer position--relative",on:{click:function(e){return e.stopPropagation(),t.openDropdown.apply(null,arguments)}}},[e("div",{staticClass:"hamburger-menu"},[e("Icon",{attrs:{"icon-name":"hamburger-menu"}})],1),t._v(" "),e("div",{staticClass:"avatar-placeholder position--relative"},[e("div",{staticClass:"avatar avatar--xs"},[e("img",{attrs:{src:t.userAvatarSrc,alt:"Profile picture"}})]),t._v(" "),t.userHasUnreadMessages||t.userHasOpenLentRequests?e("div",{staticClass:"notification-alert"}):t._e()]),t._v(" "),t.isOpen?e("div",{staticClass:"user-menu-dropdown",attrs:{id:"dropdown"}},[e("ul",[t._l(t.$t("header.userMenu.items"),(function(o,n){return e("li",{key:n},[e("nuxt-link",{attrs:{to:o.link.query?t.localePath("/".concat(o.link.name,"?").concat(o.link.query)):t.localePath(o.link)}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(o.name)+"\n\t\t\t\t\t\t\t\t\t\t"),"messages"===n&&t.userHasUnreadMessages||"myLendedItems"===n&&t.userHasOpenLentRequests?e("div",{staticClass:"notification-alert",class:{messages:"messages"===n,requests:"myLendedItems"===n}}):t._e()])],1)})),t._v(" "),e("li",[e("nuxt-link",{attrs:{to:t.localePath({path:"/".concat(t.userProfileDynamicRoute,"/").concat(t.uuid)})}}
1,[t._v(t._s(t.$t("header.userMenu.profile")))])],1),t._v(" "),e("li",{on:{click:t.logout}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("header.userMenu.logout"))+"\n\t\t\t\t\t\t\t\t")])],2)]):t._e()]):t._e(),t._v(" "),t.$root.desktopView&&!t.$root.tabletView?e("LanguageMenu",{attrs:{"is-open":t.isOpenLocale},on:{mouseenter:function(e){t.isOpenLocale=!0},mouseleave:function(e){t.isOpenLocale=!1}}}):t._e()]:t.$auth.loggedIn||!t.$root.desktopView||t.$root.tabletView?t._e():[e("nuxt-link",{staticClass:"btn--primary header__addon-cta",attrs:{to:t.localePath("login")}},[t._v(t._s(t.$t("buttons.loginButton")))]),t._v(" "),t.$root.desktopView&&!t.$root.tabletView?e("LanguageMenu"):t._e()],t._v(" "),t.$root.desktopView&&!t.$root.tabletView||t.headerDropdownOpen||t.$auth.loggedIn?t._e():e("Icon",{attrs:{id:"header-mobile-icon","icon-name":"hamburger-main"},nativeOn:{click:function(e){return t.openMobileHeader.apply(null,arguments)}}}),t._v(" "),t.$root.desktopView&&!t.$root.tabletView||!t.headerDropdownOpen||t.$auth.loggedIn?t._e():e("Icon",{attrs:{"icon-name":"close-menu-main"},nativeOn:{click:function(e){return t.openMobileHeader.apply(null,arguments)}}}),t._v(" "),t.$root.desktopView&&!t.$root.tabletView||!t.$auth.loggedIn?t._e():e("div",{staticClass:"avatar-placeholder--sm cursor--pointer",on:{click:t.openMobileHeader}},[e("img",{staticClass:"avatar avatar--xs",attrs:{src:"".concat(t.userAvatarSrc),alt:"User Profile Image"}}),t._v(" "),(t.userHasUnreadMessages||t.userHasOpenLentRequests)&&t.$auth.loggedIn?e("div",{staticClass:"notification-alert"}):t._e()]),t._v(" "),t.$root.desktopView&&!t.$root.tabletView||!t.headerDropdownOpen?t._e():e("div",{staticClass:"mobile-dropdown flex flex--direction-column align-items--start",class:{container:!t.$root.desktopView&&t.$root.tabletView},attrs:{id:"mobmenu"}},[t.$auth.loggedIn&&t.$auth.user&&"active"==t.$auth.user.status?[e("Icon",{staticClass:"position--absolute",attrs:{"icon-name":"close-menu-main"},nativeOn:{click:function(e){return t.openMobileHeader.apply(null,arguments)}}}),t._v(" "),e("div",{staticClass:"user-menu"},[e("ul",t._l(t.$t("header.userMenuMobile.profile.items"),(function(o,n){return e("li",{key:n},[e("nuxt-link",{attrs:{to:o.link.query?t.localePath("/".concat(o.link.name,"?").concat(o.link.query)):t.localePath(o.link)}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(o.name)+"\n\t\t\t\t\t\t\t\t\t\t"),"messages"===n&&t.userHasUnreadMessages||"myLendedItems"===n&&t.userHasOpenLentRequests?e("div",{staticClass:"notification-alert",class:{messages:"messages"===n,requests:"myLendedItems"===n}}):t._e()])],1)})),0)]),t._v(" "),e("div",{staticClass:"main-menu"},[t.$auth.loggedIn?e("nav",{staticClass:"nav full-width"},[e("ul",[e("li",[e("nuxt-link",{attrs:{to:t.localePath({path:"/mocksearch-test"})}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("header.nav.searchProducts"))+"\n\t\t\t\t\t\t\t\t\t\t")])],1),t._v(" "),e("li",[e("nuxt-link",{attrs:{to:t.localePath("product-upload")}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("header.nav.list_an_item"))+"\n\t\t\t\t\t\t\t\t\t\t")])],1),t._v(" "),e("li",[e("nuxt-link",{attrs:{to:t.localePath("favorites")}}
1,[t._v(t._s(t.$t("header.userMenu.items.favorites.name")))])],1),t._v(" "),e("li",[e("NuxtLink",{attrs:{to:t.localePath("how-it-works")}},[t._v(t._s(t.$t("header.nav.how_it_works")))])],1)])]):e("Nav",{on:{click:t.openMobileHeader}})],1),t._v(" "),e("LanguageMenu"),t._v(" "),e("p",{on:{click:t.logout}},[t._v(t._s(t.$t("header.userMenu.logout")))])]:[e("div",{staticClass:"avatar-placeholder--sm left mb-30"},[e("img",{staticClass:"avatar avatar--xs",attrs:{src:o(47),alt:"User Profile Image"}})]),t._v(" "),e("div",{staticClass:"main-menu"},[e("Nav"),t._v(" "),e("LanguageMenu"),t._v(" "),e("div",{staticClass:"cta-header"},[e("button",{staticClass:"btn btn--primary btn--left btn--fit",on:{click:t.goToLogin}},[t._v(t._s(t.$t("buttons.loginButton")))])])],1)]],2)],2)],1):t._e()],1)],1)}),[],!1,null,"4b953648",null);e.a=component.exports;installComponents(component,{Logo:o(117).default,Icon:o(17).default,Container:o(18).default})},563:function(t,e,o){var content=o(1175);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(21).default)("3fbfa0e4",content,!0,{sourceMap:!1})},586:function(t,e,o){var content=o(1268);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(21).default)("7cfb8840",content,!0,{sourceMap:!1})},589:function(t,e,o){var content=o(1272);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(21).default)("ba814d66",content,!0,{sourceMap:!1})},590:function(t,e,o){var content=o(1274);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(21).default)("7f2e8e94",content,!0,{sourceMap:!1})},591:function(t,e,o){var content=o(1276);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(21).default)("4a745b7b",content,!0,{sourceMap:!1})},592:function(t,e,o){var content=o(1278);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(21).default)("731ead75",content,!0,{sourceMap:!1})},593:function(t,e,o){var content=o(1280);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(21).default)("37d61c94",content,!0,{sourceMap:!1})},595:function(t,e,o){var content=o(1284);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(21).default)("2be0c57a",content,!0,{sourceMap:!1})},828:function(t,e,o){"use strict";o(10),o(4),o(13),o(11),o(33);var n={name:"article-details",components:{MainHeader:function(){return Promise.resolve().then(o.bind(null,267))},MainFooter:function(){return Promise.resolve().then(o.bind(null,841))},VerificationModal:function(){return Promise.resolve().then(o.bind(null,129))},SharelyCookie:function(){return Promise.resolve().then(o.bind(null,266))},CampaignPopup:function(){return Promise.resolve().then(o.bind(null,843))},ChangePhoneNumberModal:function(){return Promise.resolve().then(o.bind(null,156))}},scrollToTop:!0,watch:{$route:{handler:function(t,e){t!==e&&setTimeout((function(){document.body.scrollTop=0}),150)},deep:!0,immediate:!0}},methods:{onCodeConfirmed:function(){this.$modal.hide("verification-modal-global")}}},r=(o(1174),o(0)),component=Object(r.a)(n,(function(){var t=this,e=t._self._c;return null!==t.$root.desktopView?e("div",{staticClass:"page-view"},[null!==t.$root.desktopView?e("MainHeader",{staticClass:"header__shadow"}):t._e(),t._v(" "),e("main",{class:["".concat(t.$route.meta.name,"-main")]},[null!==t.$root.desktopView?e("SharelyCookie"):t._e(),t._v(" "),null!==t.$root.desktopView?e("CampaignPopup"):t._e(),t._v(" "),e("nuxt")],1),t._v(" "),e("verification-modal",{attrs:{size:"sm","is-global":!0},on:{codeSentGlobal:t.onCodeConfirmed,"change-number":function(e){return t.$modal.show("change-phone-number-modal")}}}),t._v(" "),e("change-phone-number-modal",{attrs:{size:"sm"}}),t._v(" "),null!==t.$root.desktopView?e("main-footer"):t._e()],1):t._e()}),[],!1,null,null,null);e.a=component.exports},829:function(t,e,o){"use strict";var n=o(129),r=o(156),l={name:"dashboard-layout",components:{VerificationModal:n.default,ChangePhoneNumberModal:r.default},head:function(){return{title:this.$t("pages.homepage.SEOTitle")}},methods:{onCodeConfirmed:function(){this.$modal.hide("verification-modal-global")}}},c=o(0),component=Object(c.a)(l,(function(){var t=this,e=t._self._c;return null!==t.$root.desktopView?e("div",{staticClass:"page-view"},[e("main",{staticClass:"pt-0 pb-0"},[e("nuxt")],1),t._v(" "),e("verification-modal",{attrs:{size:"sm","is-global":!0},on:{codeSentGlobal:t.onCodeConfirmed,"change-number":function(e){return t.$modal.show("change-phone-number-modal")}}}),t._v(" "),e("change-phone-number-modal",{attrs:{size:"sm"}})],1):t._e()}),[],!1,null,null,null);e.a=component.exports},830:function(t,e,o){"use strict";o(35),o(37),o(10),o(4),o(13),o(11),o(33);var n=o(1),r=o.n(n),l={name:"layout",components:{MainHeader:function(){return Promise.resolve().then(o.bind(null,267))},MainFooter:function(){return Promise.resolve().then(o.bind(null,841))},VerificationModal:function(){return Promise.resolve().then(o.bind(null,129))},SharelyCookie:function(){return Promise.resolve().then(o.bind(null,266))},CampaignPopup:function(){return Promise.resolve().then(o.bind(null,843))},ChangePhoneNumberModal:function(){return Promise.resolve().then(o.bind(null,156))}},scrollToTop:!0,head:function(){return{title:this.$t("pages.homepage.SEOTitle"),meta:[{itemprop:"title",property:"title",content:this.$t("pages.homepage.SEOTitle")},{hid:"description",name:"description",content:this.$t("seoMeta.homepage.description")},{hid:"og-title",property:"og:title",content:this.$t("seoMeta.homepage.title")},{hid:"og-description",property:"og:description",content:this.$t("seoMeta.homepage.description")},{hid:"twitter-description",name:"twitter:description",content:this.$t("seoMeta.homepage.description")},{property:"og:image",hid:"og-image",content:"/sharely_seo.png"},{property:"og:image:width",content:"1280"},{property:"og:image:height",content:"960"},{property:"og:image:alt",content:"Sharely"},{hid:"og-url",property:"og:url",content:"sharely.ch"}]}},computed:{routeName:function(){return this.$route&&this.$route.name?String(this.$route.name):""},noPaddingPages:function(){var t=this.routeName.toLowerCase();return["login"].some((function(e){return t.includes(String(e).toLowerCase())}))},isDashboard:function(){return this.routeName.includes("dashboard-redesign")},isDashboardMessages:function(){return!(!this.isDashboard||r.a.isNil(this.$route.query)||r.a.isEmpty(this.$route.query)||r.a.isNil(this.$route.query.section))&&String(this.$route.query.section).includes("Messages")}},watch:{$route:{handler:function(t,e){t!==e&&setTimeout((function(){document.body.scrollTop=0}),150)},deep:!0,immediate:!0}},methods:{onCodeConfirmed:function(){this.$modal.hide("verification-modal-global")}}},c=(o(1267),o(0)),component=Object(c.a)(l,(function(){var t=this,e=t._self._c;return null!==t.$root.desktopView?e("div",{staticClass:"page-view"},[null!==t.$root.desktopView?e("MainHeader",{staticClass:"header__shadow"}):t._e(),t._v(" "),e("main",{class:[{"pt-0 pb-0":t.noPaddingPages,"pt-35":t.routeName.includes("index"),"pb-0":t.isDashboardMessages},t.$route&&t.$route.meta&&t.$route.meta.name?"".concat(t.$route.meta.name,"-main"):""]},[null!==t.$root.desktopView?e("SharelyCookie"):t._e(),t._v(" "),null!==t.$root.desktopView?e("CampaignPopup"):t._e(),t._v(" "),e("nuxt")],1),t._v(" "),e("verification-modal",{attrs:{size:"sm","is-global":!0},on:{codeSentGlobal:t.onCodeConfirmed,"change-number":function(e){return t.$modal.show("change-phone-number-modal")}}}),t._v(" "),e("change-phone-number-modal",{attrs:{size:"sm"}}),t._v(" "),null===t.$root.desktopView||t.isDashboardMessages||t.$isNative?t._e():e("main-footer")],1):t._e()}),[],!1,null,null,null);e.a=component.exports},831:function(t,e,o){"use strict";
1var n=o(267),r=o(841),l=o(129),c={name:"error-layout",components:{MainHeader:n.default,MainFooter:r.default,VerificationModal:l.default},head:function(){return{title:this.$t("pages.homepage.SEOTitle")}},methods:{onCodeConfirmed:function(){this.$modal.hide("verification-modal-global")}}},d=(o(1271),o(0)),component=Object(d.a)(c,(function(){var t=this,e=t._self._c;return e("div",[e("MainHeader",{staticClass:"header__shadow"}),t._v(" "),e("main",{staticClass:"error_main"},[e("nuxt")],1),t._v(" "),e("verification-modal",{attrs:{size:"sm","is-global":!0},on:{codeSentGlobal:t.onCodeConfirmed}}),t._v(" "),e("main-footer")],1)}),[],!1,null,"59fb00d7",null);e.a=component.exports},832:function(t,e,o){"use strict";o(10);var n=o(3),r=(o(12),o(4),o(13),o(11),o(33),o(64),o(31),o(146)),l=o.n(r),c=o(147),d=o.n(c),h=o(5),m={name:"main-footer",components:{Logo:function(){return Promise.resolve().then(o.bind(null,117))},Icon:function(){return Promise.resolve().then(o.bind(null,17))},Container:function(){return Promise.resolve().then(o.bind(null,18))},LoaderSubmitButton:function(){return Promise.resolve().then(o.bind(null,34))}},data:function(){return{email:"",isBusy:!1,isShowingSuccess:!1}},validations:{email:{required:d.a,email:l.a}},methods:{subscribe:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;
1)switch(e.prev=e.next){case 0:if(t.$v.$touch(),t.$v.$invalid){e.next=19;break}return t.isBusy=!0,e.prev=3,n=t.$auth.loggedIn?t.$auth.user.name:"Subscriber",e.next=7,h.a.userApi.subscribeToNewsletter({email:t.email,name:n});case 7:t.isShowingSuccess=!0,setTimeout((function(){t.isShowingSuccess=!1}),2e3),t.email="",t.isBusy=!1,e.next=18;break;case 13:e.prev=13,e.t0=e.catch(3),r=(r=e.t0.response.data.message).split(":").slice(1).join(),t.$swal({title:r,imageUrl:o(32),imageWidth:151,background:"#FFFFFF",border:"1px solid #E5E5E5",boxShadow:"0px 15px 50px rgba(0, 0, 0, 0.3)",color:"#1E2833",fontWeight:"bold",fontSize:24,lineHeight:29,borderRadius:"8px",imageHeight:85,imageAlt:"Custom image",customClass:{confirmButton:"btn btn--primary mr "},buttonsStyling:!1,titleStyling:!1});case 18:t.isBusy=!1;case 19:case"end":return e.stop()}}),e,null,[[3,13]])})))()},checkInvalid:function(){this.$v.$touch();var input=document.getElementById("subscribe");this.$v.$invalid?(input.setCustomValidity(this.$t("footer.subscribeError")),input.reportValidity()):input.setCustomValidity("")}}},v=o(0),component=Object(v.a)(m,(function(){var t=this,e=t._self._c;return e("footer",{staticClass:"footer"},[e("client-only",[e("Container",[t.$root.desktopView?e("div",{staticClass:"footer__top"},[e("Logo",{attrs:{"logo-footer":!0}}),t._v(" "),e("div",{staticClass:"social-links-container pull--right"},[e("a",{attrs:{href:"https://www.facebook.com/sharely.ch/",target:"_blank"}},[e("Icon",{attrs:{"icon-name":"facebook"}})],1),t._v(" "),e("a",{attrs:{href:"https://www.instagram.com/sharely.ch/?hl=en",target:"_blank"}},[e("Icon",{attrs:{"icon-name":"instagram"}})],1),t._v(" "),e("a",{attrs:{href:"https://www.linkedin.com/company/sharely-ch/",target:"_blank"}},[e("Icon",{attrs:{"icon-name":"linkedin"}})],1)])],1):t._e(),t._v(" "),e("div",{staticClass:"footer__bottom",on:{submit:function(e){return e.preventDefault(),t.subscribe.apply(null,arguments)}}},[e("div",{staticClass:"subscribe-widget"},[e("h5",[t._v(t._s(t.$t("footer.subscribeTitle")))]),t._v(" "),e("form",{staticClass:"form",attrs:{action:"#"}},[e("input",{directives:[{name:"model",rawName:"v-model.lazy",value:t.email,expression:"email",modifiers:{lazy:!0}}],staticClass:"input",attrs:{id:"subscribe",type:"email",name:"subscribe",placeholder:t.$t("vocabulary.subscribeEmailPlaceholder")},domProps:{value:t.email},on:{change:[function(e){t.email=e.target.value},t.checkInvalid]}}),t._v(" "),t.$root.desktopView?e("button",{staticClass:"btn btn--primary btn--right flex--shrink-0",attrs:{type:"submit"}},[e("Icon",{attrs:{"icon-name":"angle-arrow"}})],1):t._e(),t._v(" "),t.$root.desktopView?t._e():e("LoaderSubmitButton",{class:{"btn-mob":t.$root.mobileView},attrs:{"is-busy":t.isBusy,"css-class":"btn btn--primary btn--right",size:"btn--fit","button-title":t.$t("footer.subscribeButton")}})],1),t._v(" "),e("div",{staticClass:"newsletter-success",class:{active:t.isShowingSuccess,"mb-25":!t.$root.desktopView}},[e("Icon",{attrs:{"icon-name":"newsletter"}}),t._v(" "),e("div",{staticClass:"footer-content-text"},[e("p",[t._v(t._s(t.$t("footer.newsletter.success.congratulations")))]),t._v(" "),e("p",[t._v(t._s(t.$t("footer.newsletter.success.joined")))])])],1)]),t._v(" "),t.$root.desktopView?e("nav",{staticClass:"footer__nav mr-80"},[e("div",{staticClass:"footer__nav-list"},[e("h6",[t._v(t._s(t.$t("footer.menu1.title")))]),t._v(" "),e("ul",t._l(t.$t("footer.menu1.items"),(function(o,n){return e("li",{key:n},[e("NuxtLink",{attrs:{to:t.localePath({path:o.path})}},[t._v(t._s(o.name))])],1)})),0)]),t._v(" "),e("div",{staticClass:"footer__nav-list"},[e("h6",[t._v(t._s(t.$t("footer.menu2.title")))]),t._v(" "),e("ul",t._l(t.$t("footer.menu2.items"),(function(o,n){return e("li",{key:n},[e("NuxtLink",{attrs:{to:t.localePath({path:o.path})}},[t._v(t._s(o.name))])],1)})),0)]),t._v(" "),e("div",{staticClass:"footer__nav-list"},[e("h6",[t._v(t._s(t.$t("footer.menu3.title")))]),t._v(" "),e("ul",t._l(t.$t("footer.menu3.items"),(function(o,n){return e("li",{key:n},[e("NuxtLink",{attrs:{to:t.localePath({path:o.path})}},[t._v(t._s(o.name))])],1)})),0)])]):e("nav",{staticClass:"footer__nav-mob"},[e("ul",{staticClass:"top-level-footer-nav"},[e("li",{staticClass:"top-level-footer-li"},[e("h3",[t._v(t._s(t.$t("footer.menu1.title")))]),t._v(" "),e("ul",{staticClass:"inner-footer-nav"},t._l(t.$t("footer.menu1.items"),(function(o,n){return e("li",{key:n},[e("NuxtLink",{attrs:{to:t.localePath({path:o.path})}},[t._v(t._s(o.name))])],1)})),0)]),t._v(" "),e("li",{staticClass:"top-level-footer-li"},[e("h3",[t._v(t._s(t.$t("footer.menu2.title")))]),t._v(" "),e("ul",{staticClass:"inner-footer-nav"},t._l(t.$t("footer.menu2.items"),(function(o,n){return e("li",{key:n},[e("NuxtLink",{attrs:{to:t.localePath({path:o.path})}},[t._v(t._s(o.name))])],1)})),0)]),t._v(" "),e("li",{staticClass:"top-level-footer-li"},[e("h3",[t._v(t._s(t.$t("footer.menu3.title")))]),t._v(" "),e("ul",{staticClass:"inner-footer-nav"},t._l(t.$t("footer.menu3.items"),(function(o,n){return e("li",{key:n},[e("NuxtLink",{attrs:{to:t.localePath({path:o.path})}},[t._v(t._s(o.name))])],1)})),0)])]),t._v(" "),e("div",{staticClass:"social-links-mob"},[e("a",{attrs:{href:"https://www.instagram.com/sharely.ch/?hl=en",target:"_blank"}},[e("Icon",{attrs:{"icon-name":"instagram"}})],1),t._v(" "),e("a",{attrs:{href:"https://www.facebook.com/sharely.ch/",target:"_blank"}},[e("Icon",{attrs:{"icon-name":"facebook"}})],1),t._v(" "),e("a",{attrs:{href:"https://www.linkedin.com/company/sharely-ch/",target:"_blank"}},[e("Icon",{attrs:{"icon-name":"linkedin"}})],1)]),t._v(" "),e("Logo",{staticClass:"flex justify-content--center align-items--center mt-35",attrs:{"logo-footer":!0}}
1)],1)])])],1)],1)}),[],!1,null,null,null);e.a=component.exports;installComponents(component,{Logo:o(117).default,Icon:o(17).default,Container:o(18).default})},833:function(t,e,o){"use strict";o(123),o(22),o(10);var n=o(3),r=(o(12),o(4),o(13),o(11),o(53),o(35),o(37),o(28),o(107),o(42),o(33),o(1)),l=o.n(r),c=o(127),d=o(97),h=o(27),m={name:"old-header",components:{Container:function(){return Promise.resolve().then(o.bind(null,18))},Logo:function(){return Promise.resolve().then(o.bind(null,117))},Nav:function(){return Promise.resolve().then(o.bind(null,837))},SearchSuggestions:function(){return Promise.all([o.e(5),o.e(15),o.e(2),o.e(21),o.e(13),o.e(7),o.e(25),o.e(19),o.e(14),o.e(8),o.e(4),o.e(31),o.e(16),o.e(32),o.e(18),o.e(9),o.e(23),o.e(28),o.e(0),o.e(11),o.e(26),o.e(10),o.e(20),o.e(6),o.e(30),o.e(1),o.e(22),o.e(29),o.e(27),o.e(24),o.e(17),o.e(12),o.e(3),o.e(46)]).then(o.bind(null,857))},LanguageMenu:function(){return Promise.all([o.e(5),o.e(15),o.e(2),o.e(21),o.e(13),o.e(7),o.e(25),o.e(19),o.e(14),o.e(8),o.e(4),o.e(31),o.e(16),o.e(32),o.e(18),o.e(9),o.e(23),o.e(28),o.e(0),o.e(11),o.e(26),o.e(10),o.e(20),o.e(6),o.e(30),o.e(1),o.e(22),o.e(29),o.e(27),o.e(24),o.e(17),o.e(12),o.e(3),o.e(43)]).then(o.bind(null,1733))},HamburgerSvg:function(){return Promise.all([o.e(5),o.e(15),o.e(2),o.e(21),o.e(13),o.e(7),o.e(25),o.e(19),o.e(14),o.e(8),o.e(4),o.e(31),o.e(16),o.e(32),o.e(18),o.e(9),o.e(23),o.e(28),o.e(0),o.e(11),o.e(26),o.e(10),o.e(20),o.e(6),o.e(30),o.e(1),o.e(22),o.e(29),o.e(27),o.e(24),o.e(17),o.e(12),o.e(3)]).then(o.bind(null,1734))}},mixins:[d.a,c.a],data:function(){return{hideSuggestions:!0,isOpen:!1,isOpenLocale:!1,headerDropdownOpen:!1,isProfileSubmenuOpen:!1,autocompleteOptions:{fields:["formatted_address","geometry","types"],componentRestrictions:{country:["ch"]}},locationFieldEmpty:!1,searchFieldShowing:!1,isLogoShowing:!0}},computed:{uuid:function(){return this.$auth.user.uuid},userProfileDynamicRoute:function(){var t="";if("en"===this.$i18n.localeProperties.code)t="user-profile";else t="profil";return t},userAvatarSrc:{get:function(){var t,e;return null!==(t=null===(e=this.$auth.user)||void 0===e||null===(e=e.avatar)||void 0===e||null===(e=e.images)||void 0===e?void 0:e.small)&&void 0!==t?t:o(47)}},headerMenuIcon:{get:function(){return this.headerDropdownOpen?"close-menu-main":"hamburger-main"}},placePlaceholder:function(){return this.$t("vocabulary.searchPlaceProductPlaceholder")},userHasUnreadMessages:function(){return Boolean(this.$store.getters["dashboard/getUnreadMessages"])},userHasOpenLentRequests:function(){return Boolean(this.$store.getters["dashboard/getOpenLentRequests"])},userHasOpenRentalRatings:function(){return Boolean(this.$store.getters["dashboard/getOpenRentalRatings"])}},watch:{"$route.query":{handler:function(t){l.a.includes(this.$route.name,"search")||l.a.includes(this.$route.name,"productDetail-slug")||(this.searchTerm=t.search||"")},deep:!0,immediate:!0},$route:{handler:function(t,e){var o,n;this.headerDropdownOpen=!1,!l.a.isEqual(t,e)&&this.$auth.loggedIn&&(null!==(o=t.name)&&void 0!==o&&o.includes("login")||null!==(n=t.name)&&void 0!==n&&n.includes("registration")||this.checkUnreadMessages()),this.isOpen=!1,l.a.isEqual(this.searchTerm,"")||(this.isLogoShowing=!1,this.searchFieldShowing=!0),this.toggleSuggestions()},immediate:!0},isAuthenticated:{handler:function(t,e){this.$route.matched&&!l.a.isEmpty(this.$route.matched)&&t&&l.a.isNil(e)&&"undefined"!=typeof gtag&&gtag("set",{user_id:this.uuid})},immediate:!0}},mounted:function(){var t=this;l.a.isEmpty(this.place)&&(l.a.includes(this.$route.name,"search")||l.a.includes(this.$route.name,"productDetail-slug"))&&this.setCurrentLocation(),document.addEventListener("click",(function(e){t.handleMenuDropdown(e)})),this.$auth.loggedIn&&this.$i18n.locale!==this.$auth.$state.user.language&&(this.$i18n.setLocaleCookie(this.$auth.$state.user.language),this.$router.replace(this.switchLocalePath(this.$auth.$state.user.language))),!this.$auth.loggedIn||"active"!==this.$auth.user.status||l.a.includes(this.$route.name,"login")||l.a.includes(this.$route.name,"registration")||this.checkUnreadMessages()},destroyed:function(){var t=this;document.removeEventListener("click",(function(e){t.handleMenuDropdown(e)}))},methods:{hasUnreadNotifications:function(t){return"messages"===t&&this.userHasUnreadMessages||"myLendedItems"===t&&this.userHasOpenLentRequests||"reviews"===t&&this.userHasOpenRentalRatings},goToProfile:function(){this.$router.push(this.localePath({path:"/".concat(this.userProfileDynamicRoute,"/").concat(this.uuid)}))},toggleDropdown:function(){this.isOpen=!this.isOpen},closeDropdown:function(t){t.preventDefault(),this.isOpen=!1},logout:function(){this.$auth.logout(),window.localStorage.removeItem("accessToken"),window.localStorage.removeItem("auth._token.local"),window.localStorage.removeItem("auth._refresh_token_expiration.local"),window.localStorage.removeItem("auth._refresh_token.local"),window.localStorage.removeItem("auth._token_expiration.local"),this.headerDropdownOpen=!1,this.$store.dispatch("dashboard/resetUnreadNotifications"),window.localStorage.removeItem("accessToken"),"undefined"!=typeof gtag&&gtag("set",{user_id:void 0}),this.$router.push(this.localePath("login"))},goToLogin:function(){this.headerDropdownOpen=!1,this.$router.push(this.localePath({name:"login"}))},toggleMobileHeader:function(){this.headerDropdownOpen=!this.headerDropdownOpen},handleMenuDropdown:function(t){var e=this.$refs.userMenuEl;this.$el.contains(e)?this.isOpen=!0:this.isOpen=!1},goToSearch:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var o,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.locationFieldEmpty&&(t.$store.dispatch("search/resetPlace"),t.setCurrentLocation()),!l.a.isEmpty(t.searchTerm)&&!l.a.isEqual(t.searchTerm,"")){e.next=4;break}return e.next=4,t.$store.dispatch("search/resetSearchTerm");case 4:if(l.a.isNil(null==t||null===(o=t.place)||void 0===o||null===(o=o.geometry)||void 0===o||null===(o=o.location)||void 0===o?void 0:o.lat())||l.a.isNil(null==t||null===(n=t.place)||void 0===n||null===(n=n.geometry)||void 0===n||null===(n=n.location)||void 0===n?void 0:n.lng())||t.locationFieldEmpty){e.next=13;break}return e.next=7,t.$store.dispatch("search/savePlace",t.place);case 7:return e.next=9,t.$store.dispatch("search/saveLocationFilter",t.place.formatted_address);case 9:return e.next=11,t.$store.dispatch("search/saveLocationCoordinates",{lat:t.place.geometry.location.lat(),lng:t.place.geometry.location.lng()});case 11:e.next=20;break;case 13:if(l.a.some(["Map area","Zone géographique de la carte","Kartenbereich"],(function(e){var o;return l.a.includes(null===(o=t.place)||void 0===o?void 0:o.formatted_address,e)}))){e.next=20;break}return e.next=16,t.$store.dispatch("search/savePlace",{formatted_address:t.userHasAddress,geometry:{location:{lat:function(){return t.hasAnAddress?parseFloat(t.$auth.$state.user.latitude):h.a},lng:function(){return t.hasAnAddress?parseFloat(t.$auth.$state.user.longitude):h.b}}}});
1case 16:return e.next=18,t.$store.dispatch("search/saveLocationFilter",t.userHasAddress);case 18:return e.next=20,t.$store.dispatch("search/saveLocationCoordinates",{lat:t.hasAnAddress?parseFloat(t.$auth.$state.user.latitude):h.a,lng:t.hasAnAddress?parseFloat(t.$auth.$state.user.longitude):h.b});case 20:t.locationFieldEmpty=!1,t.$router.push(t.localePath({name:"search"})),t.$refs.searchTerm.blur();case 23:case"end":return e.stop()}}),e)})))()},placeChanged:function(t){var e=this;return Object(n.a)(regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(null==t||!t.formatted_address){o.next=4;break}return o.next=3,e.$store.dispatch("search/savePlace",t);case 3:e.goToSearch();case 4:case"end":return o.stop()}}),o)})))()},checkPlaceEmpty:function(t){l.a.isEmpty(t.target.value)||l.a.isNil(t.target.value)?(this.locationFieldEmpty=!0,l.a.includes(this.$route.name,"search")||l.a.includes(this.$route.name,"productDetail-slug")||this.$store.dispatch("search/resetPlace")):this.locationFieldEmpty=!1},checkUnreadMessages:function(){this.$store.dispatch("dashboard/getUnreadNotifications")},toggleSuggestions:function(){var t=this;setTimeout((function(){t.hideSuggestions=!0,(l.a.includes(t.$route.name,"search")||l.a.includes(t.$route.name,"productDetail-slug"))&&(l.a.isNil(t.$refs.searchTerm)||t.hideSuggestions||t.goToSearch())}),250)},toggleSearchField:function(){var t=this;this.searchFieldShowing?(this.searchFieldShowing=!1,setTimeout((function(){t.isLogoShowing=!0}),500)):(this.isLogoShowing=!1,setTimeout((function(){t.searchFieldShowing=!0}),500),this.$refs.searchTerm.focus())},removeSearchTerm:function(){this.$refs.searchTerm.value="",this.$store.dispatch("search/resetSearchTerm"),this.toggleSearchField(),this.$route.name.includes("search")&&this.goToSearch()}}},v=(o(1273),o(0)),component=Object(v.a)(m,(function(){var t=this,e=t._self._c;return e("header",{staticClass:"header"},[e("client-only",[null!==t.$root.desktopView?e("Container",[e("transition",[t.$root.desktopView||t.$root.tabletView||!t.isLogoShowing||t.searchFieldShowing&&""!=t.searchTerm?t.$root.desktopView||t.$root.tabletView||t.isLogoShowing||!t.searchFieldShowing&&""==t.searchTerm?t._e():e("div",{staticClass:"touch-target"},[e("img",{attrs:{src:o(532),alt:"Sharely logomark",format:"svg",height:"34",width:"27",quality:"100"},on:{click:function(e){e.stopPropagation(),t.$router.push(t.localePath("/"))}}})]):e("div",{staticClass:"touch-target"},[e("img",{attrs:{src:o(531),alt:"Search button icon",format:"svg",height:"27",width:"27",quality:"100"},on:{click:function(e){return e.stopPropagation(),t.toggleSearchField.apply(null,arguments)}}})])]),t._v(" "),e("transition",{attrs:{name:"logo-transition",appear:"",mode:"out-in"}},[e("Logo",{directives:[{name:"show",rawName:"v-show",value:t.$root.desktopView||t.$root.tabletView||!t.$root.desktopView&&t.isLogoShowing&&(!t.searchFieldShowing||""==t.searchTerm),expression:"$root.desktopView || $root.tabletView || (!$root.desktopView && isLogoShowing && (!searchFieldShowing || searchTerm == ''))"}],staticClass:"logo",attrs:{width:t.$root.desktopView?90:134,height:t.$root.desktopView?24:31}})],1),t._v(" "),e("transition",{attrs:{name:"input-transition",mode:"out-in"}},[e("form",{directives:[{name:"show",rawName:"v-show",value:t.$root.desktopView||t.$root.tabletView||!t.$root.desktopView&&(t.searchFieldShowing||""!==t.searchTerm)&&!t.isLogoShowing,expression:"$root.desktopView || $root.tabletView || (!$root.desktopView && (searchFieldShowing || searchTerm !== '') && !isLogoShowing)"}],style:t.searchFieldShowing?"transition-delay: 0.2s;":"",on:{submit:function(e){return e.preventDefault(),t.goToSearch.apply(null,arguments)},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.goToSearch.apply(null,arguments)}}},[e("div",{staticClass:"form__row form__row--md position--relative search-field"},[e("div",{staticClass:"form__col form__col--full-width"},[e("div",{staticClass:"form__input-placeholder"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.searchTerm,expression:"searchTerm"}],ref:"searchTerm",staticClass:"form__input form__input--has-icon",attrs:{type:"text",placeholder:t.$t("vocabulary.searchProductPlaceholder")},domProps:{value:t.searchTerm},on:{blur:function(e){(t.$root.desktopView||t.$root.tabletView)&&t.toggleSuggestions()}
1,focus:function(e){t.hideSuggestions=!1},input:function(e){e.target.composing||(t.searchTerm=e.target.value)}}})])]),t._v(" "),t.hideSuggestions||!t.$root.desktopView&&!t.$root.tabletView?t._e():e("SearchSuggestions",{staticStyle:{"z-index":"8"},attrs:{"suggestion-text":t.$refs.searchTerm.value,"is-showing":!t.hideSuggestions}}),t._v(" "),t.$root.desktopView||t.$root.tabletView?e("div",{staticClass:"form__col form__col--places"},[e("div",{staticClass:"form__input-placeholder"},[e("gmap-autocomplete",{staticClass:"form__input form__input--has-icon",attrs:{value:t.place.formatted_address,options:t.autocompleteOptions,placeholder:t.placePlaceholder,"select-first-on-enter":!0},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.stopPropagation(),t.placeChanged.apply(null,arguments))},place_changed:t.placeChanged},nativeOn:{input:function(e){return t.checkPlaceEmpty.apply(null,arguments)}}})],1)]):t._e(),t._v(" "),t.$root.desktopView||t.$root.tabletView?t._e():e("div",{staticClass:"form__input-icon",attrs:{id:"delete-term-icon"},on:{click:t.removeSearchTerm}},[e("div",{staticClass:"icn-delete-term"},[e("img",{attrs:{src:o(533),format:"svg",height:"12",width:"12",quality:"100",alt:"Delete search term button icon"}})])]),t._v(" "),e("div",{staticClass:"form__input-icon",attrs:{id:"search-icon"}},[e("Icon",{attrs:{"icon-name":"search-header",preload:""},nativeOn:{click:function(e){return t.goToSearch.apply(null,arguments)}}})],1)],1)])]),t._v(" "),t.hideSuggestions||t.$root.desktopView||t.$root.tabletView?t._e():e("SearchSuggestions",{staticStyle:{"z-index":"8"},attrs:{"suggestion-text":t.$refs.searchTerm.value,"is-showing":!t.hideSuggestions}}),t._v(" "),t.$root.desktopView&&!t.$root.tabletView?e("Nav"):t._e(),t._v(" "),e("div",{staticClass:"header__addon",class:{"position--relative":!t.$root.desktopView}},[t.$auth.loggedIn&&t.$auth.user&&"active"==t.$auth.user.status&&t.$root.desktopView&&!t.$root.tabletView?[t.$root.desktopView&&!t.$root.tabletView?e("div",{ref:"userMenu",staticClass:"user-menu cursor--pointer position--relative",on:{click:function(e){e.stopPropagation(),t.isOpen?t.closeDropdown(e):t.toggleDropdown()}}},[e("div",{staticClass:"hamburger-menu"},[e("HamburgerSvg",{attrs:{"is-open":t.isOpen}})],1),t._v(" "),e("div",{staticClass:"avatar-placeholder position--relative"},[e("div",{staticClass:"avatar avatar--xs"},[e("img",{attrs:{src:t.userAvatarSrc,alt:"Profile picture",draggable:"false"}})]),t._v(" "),t.userHasUnreadMessages||t.userHasOpenLentRequests||t.userHasOpenRentalRatings?e("div",{staticClass:"notification-alert",class:{messages:t.userHasUnreadMessages,requests:t.userHasOpenLentRequests,reviews:t.userHasOpenRentalRatings}}):t._e()]),t._v(" "),t.isOpen?e("div",{ref:"dropdown",staticClass:"user-menu-dropdown",attrs:{id:"dropdown"}},[e("ul",[t._l(t.$t("header.userMenu.items"),(function(n,r){return e("li",{key:r,on:{click:function(e){e.stopPropagation(),t.isOpen=!1}}},[e("nuxt-link",{attrs:{to:n.link.query?t.localePath("/".concat(n.link.name,"?").concat(n.link.query)):t.localePath(n.link)}},[e("div",{staticClass:"menu-icon-container position--relative"},[e("img",{staticClass:"menu-icon menu-icon--black transition",attrs:{src:o(247)("./".concat(n.icon,".svg")),alt:"".concat(n.name," icon"),draggable:"false"}}),t._v(" "),e("img",{staticClass:"menu-icon menu-icon--green transition",attrs:{src:o(587)("./".concat(n.icon,"_hover.svg")),alt:"".concat(n.name," icon"),draggable:"false"}})]),t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(n.name)+"\n\t\t\t\t\t\t\t\t\t\t"),t.hasUnreadNotifications(r)?e("div",{staticClass:"notification-alert",class:{messages:"messages"===r,requests:"myLendedItems"===r,reviews:"reviews"===r}}):t._e()])],1)})),t._v(" "),e("li",{on:{click:function(e){e.stopPropagation(),t.isOpen=!1}}},[e("nuxt-link",{attrs:{to:t.localePath({path:"/".concat(t.userProfileDynamicRoute,"/").concat(t.uuid)})}},[e("div",{staticClass:"menu-icon-container position--relative"},[e("img",{staticClass:"menu-icon menu-icon--black transition",attrs:{src:o(192),alt:"Profie icon",draggable:"false"}}),t._v(" "),e("img",{staticClass:"menu-icon menu-icon--green transition",attrs:{src:o(232),alt:"Profie icon",draggable:"false"}})]),t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("header.userMenu.profile"))+"\n\t\t\t\t\t\t\t\t\t")])],1),t._v(" "),e("li",{on:{click:function(e){t.logout(),t.isOpen=!1}}},[e("a",[e("div",{staticClass:"menu-icon-container position--relative"},[e("img",{staticClass:"menu-icon menu-icon--black transition",attrs:{src:o(191),alt:"Logout icon",draggable:"false"}}),t._v(" "),e("img",{staticClass:"menu-icon menu-icon--green transition",attrs:{src:o(231),alt:"Logout icon",draggable:"false"}})]),t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("header.userMenu.logout"))+"\n\t\t\t\t\t\t\t\t\t")])])],2)]):t._e()]):t._e(),t._v(" "),t.$root.desktopView&&!t.$root.tabletView?e("LanguageMenu",{attrs:{"is-open":t.isOpenLocale},on:{mouseenter:function(e){t.isOpenLocale=!0},mouseleave:function(e){t.isOpenLocale=!1}}}):t._e()]:t.$auth.loggedIn||!t.$root.desktopView||t.$root.tabletView?t._e():[e("nuxt-link",{staticClass:"btn--primary header__addon-cta",attrs:{to:t.localePath("login")}},[t._v(t._s(t.$t("buttons.loginButton")))]),t._v(" "),t.$root.desktopView&&!t.$root.tabletView?e("LanguageMenu"):t._e()],t._v(" "),!t.$root.desktopView||t.$root.tabletView?e("div",{staticClass:"touch-target position--relative",on:{click:t.toggleMobileHeader}},[e("HamburgerSvg",{attrs:{width:t.$root.desktopView||t.$root.tabletView?35:30,height:t.$root.desktopView||t.$root.tabletView?35:30,"stroke-width":.6,"is-open":t.headerDropdownOpen}}),t._v(" "),(t.userHasUnreadMessages||t.userHasOpenLentRequests||t.userHasOpenRentalRatings)&&t.$auth.loggedIn?e("div",{staticClass:"notification-alert",class:{messages:t.userHasUnreadMessages,requests:t.userHasOpenLentRequests,reviews:t.userHasOpenRentalRatings}}):t._e()],1):t._e(),t._v(" "),t.$root.desktopView&&!t.$root.tabletView||!t.headerDropdownOpen?t._e():e("div",{staticClass:"mobile-dropdown flex flex--direction-column align-items--start",class:{container:!t.$root.desktopView&&t.$root.tabletView},attrs:{id:"mobmenu"}},[t.$auth.loggedIn&&t.$auth.user&&"active"==t.$auth.user.status?[e("div",{staticClass:"user-menu"},[e("ul",t._l(t.$t("header.userMenuMobile.profile.items"),(function(n,r){return e("li",{key:r},[e("nuxt-link",{attrs:{to:n.link.query?t.localePath("/".concat(n.link.name,"?").concat(n.link.query)):t.localePath(n.link)}},[e("img",{attrs:{src:o(247)("./".concat(n.icon,".svg")),alt:"".concat(n.name," icon"),draggable:"false"}}),t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(n.name)+"\n\t\t\t\t\t\t\t\t\t\t"),t.hasUnreadNotifications(r)?e("div",{staticClass:"notification-alert",class:{messages:"messages"===r,requests:"myLendedItems"===r,reviews:"reviews"===r}}):t._e()])],1)})),0)]),t._v(" "),e("div",{staticClass:"main-menu"},[t.$auth.loggedIn?e("nav",{staticClass:"nav full-width"},[e("ul",[e("li",[e("nuxt-link",{attrs:{to:t.localePath("search")}},[e("img",{attrs:{src:o(233),alt:"Search icon",draggable:"false"}}
1),t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("header.nav.searchProducts"))+"\n\t\t\t\t\t\t\t\t\t\t")])],1),t._v(" "),e("li",[e("nuxt-link",{attrs:{to:t.localePath("product-upload")}},[e("img",{attrs:{src:o(234),alt:"Upload icon",draggable:"false"}}),t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("header.nav.list_an_item"))+"\n\t\t\t\t\t\t\t\t\t\t")])],1),t._v(" "),e("li",[e("nuxt-link",{attrs:{to:t.localePath("favorites")}},[e("img",{attrs:{src:o(342),alt:"Favorites icon",draggable:"false"}}),t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("header.userMenu.items.favorites.name"))+"\n\t\t\t\t\t\t\t\t\t\t")])],1),t._v(" "),e("li",[e("nuxt-link",{attrs:{to:t.localePath({path:"/".concat(t.userProfileDynamicRoute,"/").concat(t.uuid)})}},[e("img",{attrs:{src:o(192),alt:"Public profile icon",draggable:"false"}}),t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("header.userMenu.profile"))+"\n\t\t\t\t\t\t\t\t\t\t")])],1),t._v(" "),e("li",[e("nuxt-link",{attrs:{to:t.localePath("how-it-works")}},[e("img",{attrs:{src:o(230),alt:"Question mark icon",draggable:"false"}}),t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("header.nav.how_it_works"))+"\n\t\t\t\t\t\t\t\t\t\t")])],1)])]):e("Nav",{on:{click:t.toggleMobileHeader}})],1),t._v(" "),e("LanguageMenu"),t._v(" "),e("p",{on:{click:t.logout}},[e("img",{staticClass:"mr-5",attrs:{src:o(191),alt:"Logout icon",draggable:"false"}}),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("header.userMenu.logout"))+"\n\t\t\t\t\t\t")])]:[e("div",{staticClass:"avatar-placeholder--sm left mb-30"},[e("img",{staticClass:"avatar avatar--xs",attrs:{src:o(47),alt:"User Profile Image",draggable:"false"}})]),t._v(" "),e("div",{staticClass:"main-menu"},[e("Nav"),t._v(" "),e("LanguageMenu"),t._v(" "),e("div",{staticClass:"cta-header"},[e("button",{staticClass:"btn btn--primary btn--left btn--fit",on:{click:t.goToLogin}},[t._v(t._s(t.$t("buttons.loginButton")))])])],1)]],2)],2)],1):t._e()],1)],1)}),[],!1,null,"79d49a08",null);e.a=component.exports;installComponents(component,{Logo:o(117).default,Icon:o(17).default,Container:o(18).default})},834:function(t,e,o){"use strict";var n=o(264),r=o(263),l=o(262),c=o(18),d=o(117),h={name:"navbar",components:{Hamburger:r.a,NavLinks:n.a,AuthLinks:l.a,Container:c.default,Logo:d.default}},m=o(0),component=Object(m.a)(h,(function(){var t=this,e=t._self._c;return e("nav",{staticClass:"header"},[e("Container",[e("div",{staticClass:"navbar-wrapper"},[e("Logo"),t._v(" "),t.$auth.user&&"active"==t.$auth.user.status?e("NavLinks"):t._e(),t._v(" "),e("AuthLinks")],1),t._v(" "),e("Hamburger")],1)],1)}),[],!1,null,null,null);e.a=component.exports;installComponents(component,{Logo:o(117).default,Container:o(18).default})},835:function(t,e,o){"use strict";var n={name:"maintenance-layout",head:function(){return{title:this.$t("pages.homepage.SEOTitle")}}},r=(o(1275),o(0)),component=Object(r.a)(n,(function(){var t=this._self._c;return t("div",[t("main",{staticClass:"maintenance-main"},[t("nuxt")],1)])}),[],!1,null,"256f2e4e",null);e.a=component.exports},836:function(t,e,o){"use strict";var n=o(265),r=o(129),l=o(156),c=o(266),d={name:"mocksearch-test-layout",components:{MocksearchHeader:n.a,VerificationModal:r.default,SharelyCookie:c.default,ChangePhoneNumberModal:l.default},methods:{onCodeConfirmed:function(){this.$modal.hide("verification-modal-global")}}},h=(o(1279),o(0)),component=Object(h.a)(d,(function(){var t=this,e=t._self._c;return null!==t.$root.desktopView?e("div",{staticClass:"page-view"},[null!==t.$root.desktopView?e("MocksearchHeader"):t._e(),t._v(" "),e("main",{class:{"pt-0":t.$root.desktopView,"pb-0 pt-10":!t.$root.desktopView}},[null!==t.$root.desktopView?e("SharelyCookie"):t._e(),t._v(" "),e("Nuxt")],1),t._v(" "),e("VerificationModal",{attrs:{size:"sm","is-global":!0},on:{codeSentGlobal:t.onCodeConfirmed,"change-number":function(e){return t.$modal.show("change-phone-number-modal")}}}),t._v(" "),e("ChangePhoneNumberModal",{attrs:{size:"sm"}})],1):t._e()}),[],!1,null,"23484195",null);e.a=component.exports},837:function(t,e,o){"use strict";o.r(e);var n={name:"main-nav",data:function(){return{isOpen:!1}},computed:{frenchLocale:function(){return"fr"===this.$i18n.locale}}},r=o(0),component=Object(r.a)(n,(function(){var t=this,e=t._self._c;return e("nav",{staticClass:"nav"},[e("ul",{staticClass:"main-navigation",attrs:{"aria-label":"Primary navigation"}},[t.$root.desktopView||t.$auth.loggedIn?t._e():e("li",[e("NuxtLink",{attrs:{to:t.localePath("become-a-lender")}},[t.$root.desktopView?t._e():e("img",{attrs:{src:o(534),alt:"Power Lender icon",draggable:"false"}}
1),t._v("\n\t\t\t\t"+t._s(t.$t("header.nav.becomeALender"))+"\n\t\t\t")])],1),t._v(" "),t.$root.desktopView||t.$auth.loggedIn?t._e():e("li",[e("NuxtLink",{attrs:{to:t.localePath("how-it-works")}},[t.$root.desktopView?t._e():e("img",{attrs:{src:o(230),alt:"Question mark icon",draggable:"false"}}),t._v("\n\t\t\t\t"+t._s(t.$t("header.nav.how_it_works"))+"\n\t\t\t")])],1),t._v(" "),t.$auth.loggedIn?e("li",{staticClass:"list-an-article",class:{"mr-0":t.frenchLocale}},[t.$root.desktopView?t._e():e("img",{attrs:{src:o(234),alt:"Upload item icon",draggable:"false"}}),t._v(" "),e("NuxtLink",{attrs:{to:t.localePath("product-upload")}},[t._v("\n\t\t\t\t"+t._s(t.$t("header.nav.list_an_item"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.$root.desktopView||t.$auth.loggedIn?t._e():e("li",[e("NuxtLink",{attrs:{to:t.localePath("search")}},[t.$root.desktopView?t._e():e("img",{attrs:{src:o(233),alt:"Search icon",draggable:"false"}}),t._v("\n\t\t\t\t"+t._s(t.$t("header.nav.searchProducts"))+"\n\t\t\t")])],1),t._v(" "),t.$root.desktopView?e("li",{staticClass:"learn-more",on:{mouseenter:function(e){t.isOpen=!0},mouseleave:function(e){t.isOpen=!1}}},[e("span",{staticClass:"learn-more__label",class:{"mr-0":t.frenchLocale}},[t._v("\n\t\t\t\t"+t._s(t.$t("header.nav.learnMore"))+"\n\t\t\t\t"),e("Icon",{attrs:{"icon-name":t.isOpen?"lang-arrow-up":"lang-arrow-down"}})],1),t._v(" "),t.isOpen?e("div",{staticClass:"learn-more__dropdown"},[e("ul",{staticClass:"secondary-navigation",attrs:{"aria-label":"Secondary navigation"}},[e("li",[e("NuxtLink",{attrs:{to:t.localePath("how-it-works")}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("header.nav.how_it_works"))+"\n\t\t\t\t\t\t")])],1),t._v(" "),e("li",[e("NuxtLink",{attrs:{to:t.localePath("become-a-lender")}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("header.nav.becomeALender"))+"\n\t\t\t\t\t\t")])],1),t._v(" "),e("li",[e("NuxtLink",{attrs:{to:t.localePath("insurance")}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("header.nav.insurance"))+"\n\t\t\t\t\t\t")])],1),t._v(" "),e("li",[e("NuxtLink",{attrs:{to:t.localePath("sustainability")}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("header.nav.sustainability"))+"\n\t\t\t\t\t\t")])],1)])]):t._e()]):t._e()])])}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{Icon:o(17).default})},838:function(t,e,o){"use strict";var n=o(267),r=o(129),l=o(156),c=o(266),d=o(843),h={name:"search-layout",components:{MainHeader:n.default,VerificationModal:r.default,SharelyCookie:c.default,ChangePhoneNumberModal:l.default,CampaignPopup:d.default},head:function(){return{title:this.$t("pages.homepage.SEOTitle")}},methods:{onCodeConfirmed:function(){this.$modal.hide("verification-modal-global")}}},m=(o(1283),o(0)),component=Object(m.a)(h,(function(){var t=this,e=t._self._c;return null!==t.$root.desktopView?e("div",{staticClass:"page-view"},[null!==t.$root.desktopView?e("MainHeader"):t._e(),t._v(" "),e("main",{staticClass:"search",class:{"pt-0 pb-0":t.$root.desktopView,"pb-0 pt-10":!t.$root.desktopView}},[null!==t.$root.desktopView?e("SharelyCookie"):t._e(),t._v(" "),null!==t.$root.desktopView?e("CampaignPopup"):t._e(),t._v(" "),e("Nuxt")],1),t._v(" "),e("VerificationModal",{attrs:{size:"sm","is-global":!0},on:{codeSentGlobal:t.onCodeConfirmed,"change-number":function(e){return t.$modal.show("change-phone-number-modal")}}}),t._v(" "),e("ChangePhoneNumberModal",{attrs:{size:"sm"}})],1):t._e()}),[],!1,null,"534545fe",null);e.a=component.exports}}]);

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.