PageSourceSearch

https://blog.everlane.com/_next/static/chunks/698.6a465dde541c6a23.js

js everlane.com collected 2026-09-24 17:13:27 UTC 11,312 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[698],{10698:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return F}});var o=n(59499),r=n(67294),i=n(93967),s=n.n(i),a=n(5152),l=n.n(a),c=n(11163),u=n(92375),d=n(49111),f=n(38512),_=n(81938),p=n(1580),m=n(43294),h=n(84405),v=n(41664),w=n.n(v),k=n(87383),b=n(42726),g=n.n(b),y=n(85893),x=[{href:"/privacy",label:"Privacy Policy"},{href:"/terms",label:"Terms of Service"},{href:null,onClick:function(){var e,t,o;return null===(e=n.g)||void 0===e?void 0:null===(t=e.window)||void 0===t?void 0:null===(o=t.OneTrust)||void 0===o?void 0:o.ToggleInfoDisplay()},label:"Do Not Sell or Share My Personal Information"},{href:"/supply-chain",label:"CA Supply Chain Transparency"},{href:"/vendor-code",label:"Vendor Code of Conduct"},{href:"/sitemap",label:"Sitemap Pages"},{href:"/sitemap/products",label:"Sitemap Products"}],j=function(e){var t=e.currentYear;return(0,y.jsxs)("li",{className:s()(g()["sitemap-links__link"],g()["sitemap-links__link--not-clickable"]),children:["\xa9 ",t," All Rights Reserved"]},"alright-copy-that")},C=function(){var e=(0,k.Z)().data,t=(0,r.useContext)(p.Z).setIsRegionDropdownOpen,n=new Date().getFullYear();return(0,y.jsxs)("div",{className:g()["sitemap-links"],children:[(null==e?void 0:e.countryCode)&&(0,y.jsx)("button",{type:"button",className:g()["sitemap-links__country"],onClick:function(){return t(!0)},children:"".concat(e.countryCode,"/").concat(e.currency)}),(0,y.jsxs)("ul",{className:g()["sitemap-links__links-container"],children:[(0,y.jsx)(h.pU,{lessThan:"large",children:(0,y.jsx)(j,{currentYear:n})}),(0,y.jsx)(h.pU,{greaterThanOrEqual:"xxlarge",children:(0,y.jsx)(j,{currentYear:n})}),x.map(function(e){return e.href?(0,y.jsx)("li",{children:(0,y.jsx)(w(),{href:e.href,prefetch:!1,className:g()["sitemap-links__link"],children:e.label},e.href)},e.href):(0,y.jsx)("li",{children:(0,y.jsx)("button",{type:"button",className:g()["sitemap-links__link"],onClick:e.onClick,children:e.label},e.label)})})]}),(0,y.jsx)(h.pU,{greaterThan:"medium",children:(0,y.jsx)(h.pU,{lessThan:"xxlarge",children:(0,y.jsxs)("div",{className:s()(g()["sitemap-links__link"],g()["sitemap-links__link--not-clickable"],g()["sitemap-links__link--left"]),children:["\xa9 ",n," All Rights Reserved"]})})})]})},O=n(77705),I=n.n(O),S=l()(function(){return Promise.all([n.e(7749),n.e(6174),n.e(8202),n.e(1277),n.e(8843),n.e(5076)]).then(n.bind(n,28843))},{ssr:!1,loadableGenerated:{webpack:function(){return[28843]}}}),E=function(e){var t=e.height;return(0,y.jsx)("div",{className:I()["footer__editorial-builder-block"],style:{height:void 0===t?"auto":t},children:(0,y.jsx)(S,{model:"footer-editorial-block"})})},P=n(27327),N=n(10069),R=n(30318),T=n(56689),Z=n(41082),K=n.n(Z),U=(0,P.Z)(P.J.ARROW),A=(0,P.Z)(P.J.MESSAGE_SQUARE),L=function(){var e=(0,N.ZP)({assistantId:"66fea3decbf7a46ec9753712",chatIcon:!1}),t=e.handleStartKustomer;return e.isChatAvailable?(0,y.jsxs)("div",{className:K()["kustomer-footer"],children:[(0,y.jsx)(A,{width:"16",height:"16"}),(0,y.jsx)("p",{children:"Need help?"}),(0,y.jsx)(U,{className:K()["kustomer-footer__arrow"]}),(0,y.jsx)("button",{type:"button",id:"liveChat-footerBanner-toggle",onClick:function(){(0,R.s0)(T.ZP.Navigation.FOOTER_LIVE_CHAT_CLICK),t({chatIcon:!0,chatWindow:!0})},children:"Chat with us"})]}):null},D=l()(function(){return Promise.all([n.e(1742),n.e(5542)]).then(n.bind(n,65542))},{ssr:!1,loadableGenerated:{webpack:function(){return[65542]}}}),G=l()(function(){return Promise.all([n.e(1742),n.e(6609)]).then(n.bind(n,86609))},{ssr:!1,loadableGenerated:{webpack:function(){return[86609]}}}),W=l()(function(){return Promise.all([n.e(1742),n.e(5939)]).then(n.bind(n,85939))},{ssr:!1,loadableGenerated:{webpack:function(){return[85939]}}}),M=l()(function(){return Promise.all([n.e(1742),n.e(8979)]).then(n.bind(n,88979))},{ssr:!1,loadableGenerated:{webpack:function(){return[88979]}}}),J=l()(function(){return Promise.all([n.e(7886),n.e(1397),n.e(5675),n.e(1416)]).then(n.bind(n,51416))},{ssr:!1,loadableGenerated:{webpack:function(){return[51416]}}}),q=l()(function(){return Promise.all([n.e(4206),n.e(1174)]).then(n.bind(n,71174))},{ssr:!1,loadableGenerated:{webpack:function(){return[71174]}}}),F=function(){var e,t=(0,c.useRouter)(),n=(0,r.useContext)(p.Z),i=n.isRegionDropdownOpen,a=n.setIsRegionDropdownOpen,l=(0,d.Z)().data,v=(0,_.Z)().data,w=(0,f.Z)(),k=(0,r.useState)(!1),b=k[0],g=k[1],x=(0,r.useState)(!1),j=x[0],O=x[1],S=(0,r.useState)(!1),P=S[0],N=S[1],R=(0,r.useState)(null),T=R[0],Z=R[1],K=(0,r.useState)(null),U=K[0],A=K[1],F=function(e){A(!0),Z(e)},V=(null!=l?l:{}).user,Y=(null!=V?V:{}).id;return(0,r.useEffect)(function(){b&&!j&&O(!0)},[b,j]),(0,r.useEffect)(function(){i&&!P&&N(!0)},[i,P]),(0,y.jsxs)("div",{className:s()(I().footer,(e={},(0,o.Z)(e,I()["footer__product-page"],(null==t?void 0:t.pathname)==="/products/[permalink]"),(0,o.Z)(e,I()["footer__c
1ollection-page"],null==t?void 0:t.pathname.includes("/collections/")),e)),children:[(0,y.jsx)(E,{}),(0,y.jsxs)("div",{children:[(0,y.jsxs)(h.pU,{lessThan:"large",children:[(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(L,{}),(0,y.jsx)(D,{openAuthModal:function(e){var t=e.isNewUser;g(!0),A(t)}}),V&&(null==v?void 0:v.referralPromoEnabled)&&(0,y.jsx)(M,{})]}),!Y&&!w&&(0,y.jsx)(W,{onSubmit:F})]}),(0,y.jsx)(h.pU,{greaterThanOrEqual:"large",children:(0,y.jsx)(G,{openAuthModal:function(e){var t=e.isNewUser;g(!0),A(t)},setUserForEmailForm:F})}),(0,y.jsx)(C,{})]}),(b||j)&&(0,y.jsx)(J,{isOpen:b,closeModal:function(){g(!1)},newUserEmail:T,modalState:U?m.w.SIGN_UP:m.w.LOG_IN}),(i||P)&&(0,y.jsx)(q,{isOpen:i,closeRegionDropdown:function(){(0,u.Vw)(),a(!1)}})]})}},43294:function(e,t,n){"use strict";n.d(t,{G:function(){return r},w:function(){return o}});var o={SIGN_UP:"signUp",LOG_IN:"logIn"},r={EMAIL:"email",LOGIN:"login",SIGN_UP:"signup",NEW_USER_PROMO:"newUserPromo",PASSWORD_RESET:"password",PASSWORD_RESET_COMPLETED:"passwordResetCompleted"}},8243:function(e,t,n){"use strict";var o=(0,n(67294).createContext)({});t.Z=o},38512:function(e,t,n){"use strict";var o=n(67294);t.Z=function(){var e,t=null===(e=n.g.window)||void 0===e?void 0:e.matchMedia("(min-width: 992px)"),r=(0,o.useState)((null==t?void 0:t.matches)||!1),i=r[0],s=r[1],a=function(e){s(e.matches||!1)};return(0,o.useEffect)(function(){return null!=t&&t.addEventListener&&t.addEventListener("change",a),function(){null!=t&&t.removeEventListener&&t.removeEventListener("change",a)}},[]),i}},10069:function(e,t,n){"use strict";n.d(t,{ms:function(){return v},ve:function(){return h},wA:function(){return m}});var o=n(50029),r=n(64687),i=n.n(r),s=n(11752),a=n.n(s),l=n(11163),c=n(67294),u=n(49111),d=n(91896),f=n(30318),_=n(8243),p=n(56689);function m(e){return["/products/"].includes(e)?"66b24980d1e407885dfdf626":""}function h(){var e;return null===(e=JSON.parse(window.localStorage.getItem("kustomerState")))||void 0===e?void 0:e.wasWidgetOpen}function v(e){return["/account/info","/account/orders"].includes(e)}t.ZP=function(e){var t,n=e.assistantId,r=e.chatIcon,s=void 0!==r&&r,m=e.chatWindow,v=void 0!==m&&m,w=e.persist,k=void 0===w||w,b=(0,l.useRouter)().asPath,g=(0,c.useContext)(_.Z).product,y=(0,c.useState)(!0),x=y[0],j=y[1],C=(0,u.Z)().data,O=(null!=C?C:{}).user,I=(a()()||{}).publicRuntimeConfig.KUSTOMER_TRACKING_BRAND_ID,S=function(){window.Kustomer.getOpenConversations(function(e,t){t&&(0,d.Z)(t,{metadata:t,metadataName:"Kustomer Chat Closed with Errors"}),0===e.length&&setTimeout(function(){window.Kustomer.stop()},0)})},E=(0,c.useCallback)(function(e){var t=e.chatIcon,o=e.chatWindow,r=e.user,i=null!=r?r:O;window&&window.Kustomer&&window.Kustomer.start({brandId:I,assistantId:n,zIndex:12,hideChatIcon:!t,chatIconPosition:{alignment:"left",verticalPadding:60,width:0}},function(){null!=i&&i.kustomerJwtToken&&window.Kustomer.login({jwtToken:i.kustomerJwtToken}),window.Kustomer.addListener("onConversationCreate",function(e){window.Kustomer.describeConversation({conversationId:e.conversationId,customAttributes:{chatLocationUrlStr:b,product:null==g?void 0:g.displayName}}),(0,f.s0)(p.ZP.Kustomer.LIVE_CHAT_INITIATED)}),window.Kustomer.addListener("onClose",S),j("online"===window.Kustomer.isChatAvailable().availability),o&&x&&window.Kustomer.open()})},[b,n,I,x,null==g?void 0:g.displayName,O]),P=(0,c.useCallback)((t=(0,o.Z)(i().mark(function e(t){var n,o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:null!==(n=window)&&void 0!==n&&null!==(o=n.Kustomer)&&void 0!==o&&o.stop&&window.Kustomer.stop(),E(null!=t?t:{chatIcon:s,chatWindow:v});case 2:case"end":return e.stop()}},e)})),function(e){return t.apply(this,arguments)}),[E,s,v]);return(0,c.useEffect)(function(){var e=function(){P({chatIcon:s,chatWindow:v})};!window.Kustomer&&s&&window.addEventListener("kustomerLoaded",e);var t=h();return t&&P({chatIcon:s,chatWindow:!!t||v}),function(){if(!k){var t,n;null!==(t=window)&&void 0!==t&&null!==(n=t.Kustomer)&&void 0!==n&&n.stop&&window.Kustomer.stop(),window.removeEventListener("kustomerLoaded",e)}}},[P,s,v,k]),{isChatAvailable:x,handleStartKustomer:P,chatWindow:v,chatIcon:s}}},87383:function(e,t,n){"use strict";var o,r,i=n(59499),s=n(4730),a=n(8100),l=n(49111),c=n(96639),u=["data"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?d(Object(n),!0).forEach(function(t){(0,i.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var _=new URLSearchParams(null===(o=n.g)||void 0===o?void 0:null===(r=o.window)||void 0===r?void 0:r.location.search).get("locale");t.Z=function(){var e=(0,l.Z)().data,t=(0,a.ZP)(e?"/api/v2/visitors/geolocate":null,function(e){return(0,c.U2)(e,_?{localeOverride:_}:{})},{revalidateOnFocus:!1}),n=t.data;return f(f({},(0,s.Z)(t,u)),{},{data:n})}},41082:function(e){e.exports={"kustomer-footer":"styles_kustomer-footer__UoCJj","kustomer-footer__arrow":"styles_kustomer-footer__arrow__XInmq"}},42726:function(e){e.exports={"sitemap-links":"styles_sitemap-links___J_a4","sitemap-links__links-container":"styles_sitemap-links__links-container__AKSGS","sitemap-links__link":"styles_sitemap-links__link__Sb8q7","sitemap-links__link--left":"styles_sitemap-links__link--left__J_T93","sitemap-links__link--not-clickable":"styles_sitemap-links__link--not-clickable__RUfDq","sitemap-links__li--right":"styles_sitemap-links__li--right__t1gWv","sitemap-links__country":"styles_sitemap-links__country__x5m6V"}},77705:function(e){e.exports={footer:"styles_footer__7CUcv","footer__product-page":"styles_footer__product-page__K2NLt","footer__collection-page":"styles_footer__collection-page__EdyQz","footer__editorial-builder-block":"styles_footer__editorial-builder-block__zp99m","stores-footer":"styles_stores-footer__Eq5v4","stores-footer__link":"styles_stores-footer__link__fGA4q","stores-footer--bold":"styles_stores-footer--bold__L_NgI","kustomer-footer-link":"styles_kustomer-footer-link__Iiwel"}}}]);
2//# sourceMappingURL=698.6a465dde541c6a23.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.